diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..53f7ec9 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +Page Not Found | Permitting Interoperability Exchange Specification
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.bc2a602b.css b/assets/css/styles.bc2a602b.css new file mode 100644 index 0000000..5184fbe --- /dev/null +++ b/assets/css/styles.bc2a602b.css @@ -0,0 +1 @@ +: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-500:var(--ifm-color-gray-500);--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:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--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:.2s;--ifm-transition-slow:.4s;--ifm-transition-timing-default:cubic-bezier(.08,.52,.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--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:.1rem;--ifm-code-padding-vertical:.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:.875rem;--ifm-h6-font-size:.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:.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--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)*.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:.8rem;--ifm-breadcrumb-padding-vertical:.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url("data:image/svg+xml;utf8,");--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:.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-color:var(--ifm-font-color-base-inverse);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:.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:.5rem;--ifm-toc-padding-horizontal:.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:.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:.75rem;--ifm-menu-link-padding-vertical:.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:.75rem;--ifm-navbar-item-padding-vertical:.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-hover-color:var(--ifm-color-primary);--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)*.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:.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*.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:.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}*{box-sizing:border-box}html{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);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{word-wrap:break-word;margin:0}iframe{color-scheme:normal;border:0}.container{max-width:var(--ifm-container-width);padding:0 var(--ifm-spacing-horizontal);width:100%;margin:0 auto}.container--fluid{max-width:inherit}.row{margin:0 calc(var(--ifm-spacing-horizontal)*-1);flex-wrap:wrap;display:flex}.row--no-gutters{margin-left:0;margin-right:0}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;max-width:var(--ifm-col-width);padding:0 var(--ifm-spacing-horizontal);flex:1 0;width:100%;margin-left:0}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:calc(1/12*100%)}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:calc(2/12*100%)}.col--offset-2{margin-left:16.6667%}.col--3{--ifm-col-width:calc(3/12*100%)}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:calc(4/12*100%)}.col--offset-4{margin-left:33.3333%}.col--5{--ifm-col-width:calc(5/12*100%)}.col--offset-5{margin-left:41.6667%}.col--6{--ifm-col-width:calc(6/12*100%)}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:calc(7/12*100%)}.col--offset-7{margin-left:58.3333%}.col--8{--ifm-col-width:calc(8/12*100%)}.col--offset-8{margin-left:66.6667%}.col--9{--ifm-col-width:calc(9/12*100%)}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:calc(10/12*100%)}.col--offset-10{margin-left:83.3333%}.col--11{--ifm-col-width:calc(11/12*100%)}.col--offset-11{margin-left:91.6667%}.col--12{--ifm-col-width:calc(12/12*100%)}.col--offset-12{margin-left:100%}.margin--none{margin:0!important}.margin-top--none{margin-top:0!important}.margin-left--none{margin-left:0!important}.margin-bottom--none{margin-bottom:0!important}.margin-right--none{margin-right:0!important}.margin-vert--none{margin-top:0!important;margin-bottom:0!important}.margin-horiz--none{margin-left:0!important;margin-right:0!important}.margin--xs{margin:.25rem!important}.margin-top--xs{margin-top:.25rem!important}.margin-left--xs{margin-left:.25rem!important}.margin-bottom--xs{margin-bottom:.25rem!important}.margin-right--xs{margin-right:.25rem!important}.margin-vert--xs{margin-top:.25rem!important;margin-bottom:.25rem!important}.margin-horiz--xs{margin-left:.25rem!important;margin-right:.25rem!important}.margin--sm{margin:.5rem!important}.margin-top--sm{margin-top:.5rem!important}.margin-left--sm{margin-left:.5rem!important}.margin-bottom--sm{margin-bottom:.5rem!important}.margin-right--sm{margin-right:.5rem!important}.margin-vert--sm{margin-top:.5rem!important;margin-bottom:.5rem!important}.margin-horiz--sm{margin-left:.5rem!important;margin-right:.5rem!important}.margin--md{margin:1rem!important}.margin-top--md{margin-top:1rem!important}.margin-left--md{margin-left:1rem!important}.margin-bottom--md{margin-bottom:1rem!important}.margin-right--md{margin-right:1rem!important}.margin-vert--md{margin-top:1rem!important;margin-bottom:1rem!important}.margin-horiz--md{margin-left:1rem!important;margin-right:1rem!important}.margin--lg{margin:2rem!important}.margin-top--lg{margin-top:2rem!important}.margin-left--lg{margin-left:2rem!important}.margin-bottom--lg{margin-bottom:2rem!important}.margin-right--lg{margin-right:2rem!important}.margin-vert--lg{margin-top:2rem!important;margin-bottom:2rem!important}.margin-horiz--lg{margin-left:2rem!important;margin-right:2rem!important}.margin--xl{margin:5rem!important}.margin-top--xl{margin-top:5rem!important}.margin-left--xl{margin-left:5rem!important}.margin-bottom--xl{margin-bottom:5rem!important}.margin-right--xl{margin-right:5rem!important}.margin-vert--xl{margin-top:5rem!important;margin-bottom:5rem!important}.margin-horiz--xl{margin-left:5rem!important;margin-right:5rem!important}.padding--none{padding:0!important}.padding-top--none{padding-top:0!important}.padding-left--none{padding-left:0!important}.padding-bottom--none{padding-bottom:0!important}.padding-right--none{padding-right:0!important}.padding-vert--none{padding-top:0!important;padding-bottom:0!important}.padding-horiz--none{padding-left:0!important;padding-right:0!important}.padding--xs{padding:.25rem!important}.padding-top--xs{padding-top:.25rem!important}.padding-left--xs{padding-left:.25rem!important}.padding-bottom--xs{padding-bottom:.25rem!important}.padding-right--xs{padding-right:.25rem!important}.padding-vert--xs{padding-top:.25rem!important;padding-bottom:.25rem!important}.padding-horiz--xs{padding-left:.25rem!important;padding-right:.25rem!important}.padding--sm{padding:.5rem!important}.padding-top--sm{padding-top:.5rem!important}.padding-left--sm{padding-left:.5rem!important}.padding-bottom--sm{padding-bottom:.5rem!important}.padding-right--sm{padding-right:.5rem!important}.padding-vert--sm{padding-top:.5rem!important;padding-bottom:.5rem!important}.padding-horiz--sm{padding-left:.5rem!important;padding-right:.5rem!important}.padding--md{padding:1rem!important}.padding-top--md{padding-top:1rem!important}.padding-left--md{padding-left:1rem!important}.padding-bottom--md{padding-bottom:1rem!important}.padding-right--md{padding-right:1rem!important}.padding-vert--md{padding-top:1rem!important;padding-bottom:1rem!important}.padding-horiz--md{padding-left:1rem!important;padding-right:1rem!important}.padding--lg{padding:2rem!important}.padding-top--lg{padding-top:2rem!important}.padding-left--lg{padding-left:2rem!important}.padding-bottom--lg{padding-bottom:2rem!important}.padding-right--lg{padding-right:2rem!important}.padding-vert--lg{padding-top:2rem!important;padding-bottom:2rem!important}.padding-horiz--lg{padding-left:2rem!important;padding-right:2rem!important}.padding--xl{padding:5rem!important}.padding-top--xl{padding-top:5rem!important}.padding-left--xl{padding-left:5rem!important}.padding-bottom--xl{padding-bottom:5rem!important}.padding-right--xl{padding-right:5rem!important}.padding-vert--xl{padding-top:5rem!important;padding-bottom:5rem!important}.padding-horiz--xl{padding-left:5rem!important;padding-right:5rem!important}code{background-color:var(--ifm-code-background);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);vertical-align:middle;border:.1rem solid rgba(0,0,0,.1)}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);margin:0 0 var(--ifm-spacing-vertical);padding:var(--ifm-pre-padding);overflow:auto}pre code{font-size:100%;line-height:inherit;background-color:transparent;border:none;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);border-radius:.2rem;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)}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:before{content:"";display:table}.markdown:after{clear:both;content:"";display:table}.markdown>:last-child{margin-bottom:0!important}.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-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>pre,.markdown>ul,.markdown>p{margin-bottom:var(--ifm-leading)}.markdown li{word-wrap:break-word}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ul,ol{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ul ul,ul ol,ol ol,ol ul{margin:0}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type:lower-alpha}table{border-collapse:collapse;margin-bottom:var(--ifm-spacing-vertical);display:block;overflow:auto}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead{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 tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table th,table td{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);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default)}a:hover{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}a:not([href]){-webkit-text-decoration:none;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);margin:0 0 var(--ifm-spacing-vertical);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);height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical)0;border: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{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}.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{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text--break{word-wrap:break-word!important;word-break:break-word!important}.text--no-decoration,.text--no-decoration:hover{-webkit-text-decoration:none;text-decoration:none}.clean-btn{color:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit}.clean-list{padding-left:0;list-style:none}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--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:rgba(235,237,240,.15);--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:rgba(0,164,0,.15);--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:rgba(84,199,236,.15);--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:rgba(255,186,0,.15);--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:rgba(250,56,62,.15);--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);color:var(--ifm-alert-foreground-color);padding:var(--ifm-alert-padding-vertical)var(--ifm-alert-padding-horizontal)}.alert__heading{font:bold var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase;align-items:center;margin-bottom:.5rem;display:flex}.alert__icon{margin-right:.4em;display:inline-flex}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{color:var(--ifm-alert-foreground-color);margin:calc(var(--ifm-alert-padding-vertical)*-1)calc(var(--ifm-alert-padding-horizontal)*-1)0 0;opacity:.75}.alert .close:hover,.alert .close:focus{opacity:1}.alert a{-webkit-text-decoration-color:var(--ifm-alert-border-color);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{height:var(--ifm-avatar-photo-size);width:var(--ifm-avatar-photo-size);border-radius:50%;display:block;overflow:hidden}.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{text-align:var(--ifm-avatar-intro-alignment);flex-direction:column;flex:1;justify-content:center;display:flex}.avatar__name{font:bold 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:.5rem;flex-direction:column;align-items:center}.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);padding:var(--ifm-badge-padding-vertical)var(--ifm-badge-padding-horizontal);line-height:1;display:inline-block}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);--ifm-badge-border-color:var(--ifm-badge-background-color);color:var(--ifm-color-black)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger);--ifm-badge-border-color:var(--ifm-badge-background-color)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item{display:inline-block}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator)center;content:" ";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));display:inline-block}.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);color:var(--ifm-font-color-base);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-property:background,color;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);display:inline-block}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:.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);color:var(--ifm-button-color);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);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;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;transition-property:color,background,border-color;transition-duration:var(--ifm-button-transition-duration);transition-timing-function:var(--ifm-transition-timing-default);line-height:1.5;display:inline-block}.button:hover{color:var(--ifm-button-color);-webkit-text-decoration:none;text-decoration:none}.button--outline{--ifm-button-background-color:transparent;--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--outline:hover,.button--outline:active,.button--outline.button--active{--ifm-button-color:var(--ifm-font-color-base-inverse)}.button--link{--ifm-button-background-color:transparent;--ifm-button-border-color:transparent;color:var(--ifm-link-color);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration)}.button--link:hover,.button--link:active,.button--link.button--active{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{width:100%;display:block}.button.button--secondary{color:var(--ifm-color-gray-900)}.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}: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:active,.button--primary.button--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:active,.button--secondary.button--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:active,.button--success.button--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:active,.button--info.button--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:active,.button--warning.button--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:active,.button--danger.button--active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{gap:var(--ifm-button-group-spacing);display:inline-flex}.button-group>.button:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.button-group>.button:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.button-group--block{justify-content:stretch;display:flex}.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);flex-direction:column;display:flex;overflow:hidden}.card--full-height{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__header,.card__body,.card__footer{padding:var(--ifm-card-vertical-spacing)var(--ifm-card-horizontal-spacing)}.card__header:not(:last-child),.card__body:not(:last-child),.card__footer:not(:last-child){padding-bottom:0}.card__header>:last-child,.card__body>:last-child,.card__footer>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{padding:var(--ifm-toc-padding-vertical)0;margin-bottom:0;font-size:.8rem}.table-of-contents,.table-of-contents ul{padding-left:var(--ifm-toc-padding-horizontal);list-style:none}.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:hover,.table-of-contents__link:hover code,.table-of-contents__link--active,.table-of-contents__link--active code{color:var(--ifm-color-primary);-webkit-text-decoration:none;text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default);padding:1rem;line-height:1}.close:hover{opacity:.7}.close:focus{opacity:.8}.dropdown{font-weight:var(--ifm-dropdown-font-weight);vertical-align:top;display:inline-flex;position:relative}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;visibility:visible;transform:translateY(-1px)}.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);opacity:0;pointer-events:none;min-width:10rem;max-height:80vh;left:0;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);visibility:hidden;z-index:var(--ifm-z-index-dropdown);transition-property:opacity,transform,visibility;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);padding:.5rem;list-style:none;position:absolute;overflow-y:auto;transform:translateY(-.625rem)}.dropdown__link{color:var(--ifm-dropdown-link-color);white-space:nowrap;border-radius:.25rem;margin-top:.2rem;padding:.25rem .5rem;font-size:.875rem;display:block}.dropdown__link:hover,.dropdown__link--active{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);-webkit-text-decoration:none;text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{content:"";border:.4em solid transparent;border-top-color:currentColor;border-bottom:0 solid;margin-left:.3em;display:inline-block;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{max-width:var(--ifm-footer-logo-max-width);margin-top:1rem}.footer__title{color:var(--ifm-footer-title-color);font:bold var(--ifm-h4-font-size)/var(--ifm-heading-line-height)var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.footer__item{margin-top:0}.footer__items{margin-bottom:0}[type=checkbox]{padding:0}.hero{background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);align-items:center;padding:4rem 2rem;display:flex}.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{font-weight:var(--ifm-font-weight-semibold);overflow-x:hidden}.menu__list{margin:0;padding-left:0;list-style:none}.menu__list .menu__list{padding-left:var(--ifm-menu-link-padding-horizontal);flex:0 0 100%;margin-top:.25rem}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.menu__list-item--collapsed .menu__link--sublist:after,.menu__list-item--collapsed .menu__caret:before{transform:rotate(90deg)}.menu__list-item-collapsible{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;flex-wrap:wrap;display:flex;position:relative}.menu__list-item-collapsible:hover,.menu__list-item-collapsible--active{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link:hover,.menu__list-item-collapsible .menu__link--active{background:0 0!important}.menu__link,.menu__caret{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;align-items:center;display:flex}.menu__link:hover,.menu__caret:hover{background:var(--ifm-menu-color-background-hover)}.menu__link{color:var(--ifm-menu-color);padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default);-webkit-text-decoration:none;text-decoration:none}.menu__link--sublist-caret:after{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;min-width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast)linear;margin-left:auto;transform:rotate(180deg)}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret{padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal)}.menu__caret:before{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast)linear;transform:rotate(180deg)}html[data-theme=dark],.navbar--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);display:flex}.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{z-index:var(--ifm-z-index-fixed);position:sticky;top:0}.navbar__inner{flex-wrap:wrap;justify-content:space-between;width:100%;display:flex}.navbar__brand{color:var(--ifm-navbar-link-color);align-items:center;min-width:0;margin-right:1rem;display:flex}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);-webkit-text-decoration:none;text-decoration:none}.navbar__title{flex:auto}.navbar__toggle{margin-right:.5rem;display:none}.navbar__logo{flex:none;height:2rem;margin-right:.5rem}.navbar__logo img{height:100%}.navbar__items{flex:1;align-items:center;min-width:0;display:flex}.navbar__items--center{flex:none}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:none;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{padding:var(--ifm-navbar-item-padding-vertical)var(--ifm-navbar-item-padding-horizontal);display:inline-block}.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link{color:var(--ifm-navbar-link-color);font-weight:var(--ifm-font-weight-semibold)}.navbar__link:hover,.navbar__link--active{color:var(--ifm-navbar-link-hover-color);-webkit-text-decoration:none;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:rgba(255,255,255,.1);--ifm-navbar-search-input-placeholder-color:rgba(255,255,255,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-navbar-link-hover-color:var(--ifm-color-primary);--ifm-menu-color-background-active:rgba(255,255,255,.05);--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;color:var(--ifm-navbar-search-input-color);cursor:text;border:none;border-radius:2rem;width:12.5rem;height:2rem;padding:0 .5rem 0 2.25rem;font-size:1rem;display:inline-block}.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);opacity:0;visibility:hidden;width:var(--ifm-navbar-sidebar-width);transition-property:opacity,visibility,transform;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;position:fixed;top:0;bottom:0;left:0;overflow-x:hidden;transform:translate(-100%)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{transform:translate(0,0)}.navbar-sidebar__backdrop{opacity:0;visibility:hidden;transition-property:opacity,visibility;transition-duration:var(--ifm-transition-fast);background-color:rgba(0,0,0,.6);transition-timing-function:ease-in-out;position:fixed;inset:0}.navbar-sidebar__brand{box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical)var(--ifm-navbar-padding-horizontal);flex:1;align-items:center;display:flex}.navbar-sidebar__items{height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast)ease-in-out;display:flex;transform:translateZ(0)}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{width:calc(var(--ifm-navbar-sidebar-width));flex-shrink:0;padding:.5rem}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);text-align:left;width:calc(100% + 1rem);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;top:-.5rem}.navbar-sidebar__close{margin-left:auto;display:flex}.pagination{column-gap:var(--ifm-pagination-page-spacing);font-size:var(--ifm-pagination-font-size);padding-left:0;display:flex}.pagination--sm{--ifm-pagination-font-size:.8rem;--ifm-pagination-padding-horizontal:.8rem;--ifm-pagination-padding-vertical:.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{background:var(--ifm-pagination-item-active-background);color:var(--ifm-pagination-color-active)}.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);padding:var(--ifm-pagination-padding-vertical)var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);display:inline-block}.pagination__link:hover{-webkit-text-decoration:none;text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr);display:grid}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);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);display:block}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);-webkit-text-decoration:none;text-decoration:none}.pagination-nav__link--next{text-align:right;grid-column:2/3}.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{gap:var(--ifm-pills-spacing);padding-left:0;display:flex}.pills__item{cursor:pointer;font-weight:var(--ifm-font-weight-bold);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.5rem;padding:.25rem 1rem;display:inline-block}.pills__item--active{background:var(--ifm-pills-color-background-active);color:var(--ifm-pills-color-active)}.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{text-align:center;flex-grow:1}.tabs{color:var(--ifm-tabs-color);font-weight:var(--ifm-font-weight-bold);margin-bottom:0;padding-left:0;display:flex;overflow-x:auto}.tabs__item{border-radius:var(--ifm-global-radius);cursor:pointer;padding:var(--ifm-tabs-padding-vertical)var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-bottom:3px solid transparent;display:inline-flex}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);color:var(--ifm-tabs-color-active);border-bottom-right-radius:0;border-bottom-left-radius:0}.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-500:var(--ifm-color-gray-500);--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:rgba(255,255,255,.05);--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:rgba(255,255,255,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:rgba(255,255,255,.07);--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}@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}.footer__link-separator{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{width:max-content;display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__item{display:none}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}}@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 (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 (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0s;--ifm-transition-slow:0s}}@media print{.table-of-contents,.footer,.menu,.navbar,.pagination-nav{display:none}.tabs{page-break-inside:avoid}}:root{--docusaurus-progress-bar-color:var(--ifm-color-primary)}#nprogress{pointer-events:none}#nprogress .bar{background:var(--docusaurus-progress-bar-color);z-index:1031;width:100%;height:2px;position:fixed;top:0;left:0}#nprogress .peg{width:100px;height:100%;box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);opacity:1;position:absolute;right:0;transform:rotate(3deg)translateY(-4px)}:root{--bc-blue-10:#f1f8fe;--bc-blue-20:#d8eafd;--bc-blue-30:#c1ddfc;--bc-blue-40:#a8d0fb;--bc-blue-50:#91c4fa;--bc-blue-60:#7ab8f9;--bc-blue-70:#5595d9;--bc-blue-80:#3470b1;--bc-blue-90:#1e5189;--bc-blue-100:#013366;--bc-gold-10:#fef8e8;--bc-gold-20:#fef0d8;--bc-gold-30:#fde9c4;--bc-gold-40:#fce2b0;--bc-gold-50:#fbda9d;--bc-gold-60:#fbd389;--bc-gold-70:#facc75;--bc-gold-80:#f9c462;--bc-gold-90:#f8ba47;--bc-gold-100:#fcba19;--bc-gray-10:#faf9f8;--bc-gray-20:#f3f2f1;--bc-gray-30:#eceae8;--bc-gray-40:#e0dedc;--bc-gray-50:#d1cfcd;--bc-gray-60:#c6c5c3;--bc-gray-70:#9f9d9c;--bc-gray-80:#605e5c;--bc-gray-90:#3d3c3b;--bc-gray-100:#353433;--bc-gray-110:#252423;--bc-gray-white:#fff;--bc-primary-blue:var(--bc-blue-100);--bc-primary-gold:var(--bc-gold-100);--bc-primary-invert:var(--bc-gray-white);--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.1);--ifm-code-font-size:95%;--ifm-color-primary-dark:var(--bc-blue-80);--ifm-color-primary-darker:var(--bc-blue-90);--ifm-color-primary-darkest:var(--bc-blue-100);--ifm-color-primary-light:var(--bc-blue-60);--ifm-color-primary-lighter:var(--bc-blue-50);--ifm-color-primary-lightest:var(--bc-blue-40);--ifm-color-primary:var(--bc-blue-70);--ifm-font-family-base:BC Sans,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-footer-background-color:var(--bc-primary-invert);--ifm-footer-padding-vertical:1rem;--ifm-line-height-base:1.5;--ifm-table-cell-padding:.6rem}a:has(.footer-logo-license){opacity:.9}footer{border-top:.063rem solid var(--bc-gray-50)}.header-github-logo:hover{opacity:.6}.header-github-logo:before{content:"";background:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat;width:1.5rem;height:1.5rem;display:flex}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary-darkest)}:root[data-theme=dark]{--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.3);--ifm-breadcrumb-color-active:var(--bc-gold-40);--ifm-color-primary-dark:var(--bc-blue-50);--ifm-color-primary-darker:var(--bc-blue-60);--ifm-color-primary-darkest:var(--bc-blue-70);--ifm-color-primary-light:var(--bc-blue-30);--ifm-color-primary-lighter:var(--bc-blue-20);--ifm-color-primary-lightest:var(--bc-blue-10);--ifm-color-primary:var(--bc-blue-40);--ifm-footer-background-color:var(--bc-primary-blue);--ifm-link-color:var(--bc-gold-40);--ifm-menu-color-active:var(--bc-gold-40);--ifm-navbar-background-color:var(--bc-primary-blue);--ifm-navbar-link-hover-color:var(--bc-gold-40)}[data-theme=dark] footer{border-top:.063rem solid var(--bc-primary-gold)}[data-theme=dark] .header-github-logo:before{background:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat}[data-theme=dark] .navbar{border-bottom:.063rem solid var(--bc-primary-gold)}[data-theme=dark] .table-of-contents__link:hover,[data-theme=dark] .table-of-contents__link--active{color:var(--bc-gold-40)}body:not(.navigation-with-keyboard) :not(input):focus{outline:none}#__docusaurus-base-url-issue-banner-container{display:none}.skipToContent_fXgn{z-index:calc(var(--ifm-z-index-fixed) + 1);padding:calc(var(--ifm-global-spacing)/2)var(--ifm-global-spacing);color:var(--ifm-color-emphasis-900);background-color:var(--ifm-background-surface-color);position:fixed;top:1rem;left:100%}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{padding:0;line-height:0}.content_knG7{text-align:center;padding:5px 0;font-size:85%}.content_knG7 a{color:inherit;-webkit-text-decoration:underline;text-decoration:underline}:root{--docusaurus-announcement-bar-height:auto}.announcementBar_mb4j{height:var(--docusaurus-announcement-bar-height);background-color:var(--ifm-color-white);color:var(--ifm-color-black);border-bottom:1px solid var(--ifm-color-emphasis-100);align-items:center;display:flex}html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{flex:0 0 30px;align-self:stretch}.announcementBarContent_xLdY{flex:auto}@media print{.announcementBar_mb4j{display:none}}@media (min-width:997px){:root{--docusaurus-announcement-bar-height:30px}.announcementBarPlaceholder_vyr4,.announcementBarClose_gvF7{flex-basis:50px}}.toggle_vylO{width:2rem;height:2rem}.toggleButton_gllP{-webkit-tap-highlight-color:transparent;width:100%;height:100%;transition:background var(--ifm-transition-fast);border-radius:50%;justify-content:center;align-items:center;display:flex}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}[data-theme=light] .darkToggleIcon_wfgR,[data-theme=dark] .lightToggleIcon_pyhR{display:none}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}.themedComponent_mlkZ{display:none}[data-theme=light] .themedComponent--light_NVdE,[data-theme=dark] .themedComponent--dark_xIcU,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.dropdownNavbarItemMobile_S0Fm{cursor:pointer}.iconLanguage_nlXk{vertical-align:text-bottom;margin-right:5px}.navbarSearchContainer_Bca1:empty{display:none}@media (max-width:996px){.navbarSearchContainer_Bca1{right:var(--ifm-navbar-padding-horizontal);position:absolute}}@media (min-width:997px){.navbarSearchContainer_Bca1{padding:var(--ifm-navbar-item-padding-vertical)var(--ifm-navbar-item-padding-horizontal)}}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast)ease}.navbarHidden_jGov{transform:translateY(calc(-100% - 2px))}@media (max-width:996px){.colorModeToggle_DEke{display:none}}.errorBoundaryError_a6uf{white-space:pre-wrap;color:red}.errorBoundaryFallback_VBag{color:red;padding:.55rem}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover{opacity:1}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none;padding-left:.5rem}.hash-link:before{content:"#"}.hash-link:focus,:hover>.hash-link{opacity:1}html,body{height:100%}.mainWrapper_z2l0{flex-direction:column;flex:1 0 auto;display:flex}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{flex-direction:column;min-height:100%;display:flex}.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);transition:all var(--ifm-transition-fast)ease;transition-property:border,box-shadow;box-shadow:0 1.5px 3px rgba(0,0,0,.15)}.cardContainer_fWXF:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px rgba(0,0,0,.2)}.cardContainer_fWXF :last-child{margin-bottom:0}.cardTitle_rnsV{font-size:1.2rem}.cardDescription_PWke{font-size:.8rem}:root{--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.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);-webkit-text-decoration:none;text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);padding:.2rem .5rem .3rem;font-size:90%}.tagWithCount_h2kH{border-left:0;align-items:center;padding:0 .5rem 0 1rem;display:flex;position:relative}.tagWithCount_h2kH:before,.tagWithCount_h2kH:after{content:"";border:1px solid var(--docusaurus-tag-list-border);transition:inherit;position:absolute;top:50%}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;width:1.18rem;height:1.18rem;right:100%;transform:translate(50%,-50%)rotate(-45deg)}.tagWithCount_h2kH:after{border-radius:50%;width:.5rem;height:.5rem;left:0;transform:translateY(-50%)}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);color:var(--ifm-color-black);border-radius:var(--ifm-global-radius);margin-left:.3rem;padding:.1rem .4rem;font-size:.7rem;line-height:1.2}.tags_jXut{display:inline}.tag_QGVx{margin:0 .4rem .5rem 0;display:inline-block}.features_t9lD{align-items:center;width:100%;padding:2rem 0;display:flex}.featureSvg_GfXr{width:8.5rem;height:8.5rem;margin:2rem}.heroBanner_qdFl{text-align:center;padding:4rem 0;position:relative;overflow:hidden}@media screen and (max-width:996px){.heroBanner_qdFl{padding:2rem}}.buttons_AeoN{justify-content:center;align-items:center;display:flex}.tag_Nnez{margin:.5rem .5rem 0 1rem;display:inline-block}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);width:3rem;height:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1);box-shadow:var(--ifm-global-shadow-lw);transition:all var(--ifm-transition-fast)var(--ifm-transition-timing-default);opacity:0;visibility:hidden;border-radius:50%;position:fixed;bottom:1.3rem;right:1.3rem;transform:scale(0)}.backToTopButton_sjWU:after{content:" ";-webkit-mask:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem no-repeat;-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;background-color:var(--ifm-color-emphasis-1000);width:100%;height:100%;display:inline-block}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}.backToTopButtonShow_xfvO{opacity:1;visibility:visible;transform:scale(1)}:root{--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1)}[data-theme=dark]:root{--docusaurus-collapse-button-bg:rgba(255,255,255,.05);--docusaurus-collapse-button-bg-hover:rgba(255,255,255,.1)}@media (min-width:997px){.collapseSidebarButton_PEFL{background-color:var(--docusaurus-collapse-button-bg);border:1px solid var(--ifm-toc-border-color);border-radius:0;height:40px;position:sticky;bottom:0;display:block!important}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:hover,.collapseSidebarButton_PEFL:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}}.collapseSidebarButton_PEFL{margin:0;display:none}.menuExternalLink_NmtK{align-items:center}@media (min-width:997px){.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{scrollbar-gutter:stable;padding:.5rem 0 .5rem .5rem}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width);flex-direction:column;display:flex}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{margin:0 var(--ifm-navbar-padding-horizontal);min-height:var(--ifm-navbar-height);max-height:var(--ifm-navbar-height);align-items:center;color:inherit!important;-webkit-text-decoration:none!important;text-decoration:none!important;display:flex!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}}.sidebarLogo_isFc{display:none}@media (min-width:997px){.expandButton_TmdG{width:100%;height:100%;transition:background-color var(--ifm-transition-fast)ease;background-color:var(--docusaurus-collapse-button-bg);justify-content:center;align-items:center;display:flex;position:absolute;top:0;right:0}.expandButton_TmdG:hover,.expandButton_TmdG:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}.expandButtonIcon_i1dp{transform:rotate(0)}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}}:root{--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.docSidebarContainer_YfHR{display:none}@media (min-width:997px){.docSidebarContainer_YfHR{width:var(--doc-sidebar-width);margin-top:calc(-1*var(--ifm-navbar-height));border-right:1px solid var(--ifm-toc-border-color);will-change:width;transition:width var(--ifm-transition-fast)ease;clip-path:inset(0);display:block}.docSidebarContainerHidden_DPk8{width:var(--doc-sidebar-hidden-width);cursor:pointer}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}}.docMainContainer_TBSr{width:100%;display:flex}@media (min-width:997px){.docMainContainer_TBSr{max-width:calc(100% - var(--doc-sidebar-width));flex-grow:1}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}.docRoot_UBD9{width:100%;display:flex}.docsWrapper_hBAB{flex:1 0 auto;display:flex}.algolia-docsearch-suggestion{border-bottom-color:#3a3dd1}.algolia-docsearch-suggestion--category-header{background-color:#4b54de}.algolia-docsearch-suggestion--highlight{color:#3a33d1}.algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight{background-color:#4d47d5}.aa-cursor .algolia-docsearch-suggestion--content{color:#272296}.aa-cursor .algolia-docsearch-suggestion{background:#ebebfb}@media (min-width:768px){.algolia-docsearch-suggestion{border-bottom-color:#7671df}.algolia-docsearch-suggestion--subcategory-column{color:#4e4726;border-right-color:#7671df}}.searchbox{white-space:nowrap;box-sizing:border-box;width:200px;display:inline-block;position:relative;visibility:visible!important;height:32px!important}.searchbox .algolia-autocomplete{width:100%;height:100%;display:block}.searchbox__wrapper{z-index:999;width:100%;height:100%;position:relative}.searchbox__input{box-sizing:border-box;vertical-align:middle;white-space:normal;appearance:none;border:0;border-radius:16px;width:100%;height:100%;padding:0 26px 0 32px;font-size:12px;transition:box-shadow .4s,background .4s;display:inline-block;box-shadow:inset 0 0 0 1px #ccc;background:#fff!important}.searchbox__input::-webkit-search-decoration{display:none}.searchbox__input::-webkit-search-cancel-button{display:none}.searchbox__input::-webkit-search-results-button{display:none}.searchbox__input::-webkit-search-results-decoration{display:none}.searchbox__input:hover{box-shadow:inset 0 0 0 1px #b3b3b3}.searchbox__input:focus,.searchbox__input:active{background:#fff;outline:0;box-shadow:inset 0 0 0 1px #aaa}.searchbox__input::placeholder{color:#aaa}.searchbox__submit{vertical-align:middle;text-align:center;width:32px;height:100%;font-size:inherit;-webkit-user-select:none;user-select:none;top:0;right:inherit;background-color:rgba(69,142,225,0);border:0;border-radius:16px 0 0 16px;margin:0;padding:0;position:absolute;left:0}.searchbox__submit:before{vertical-align:middle;content:"";height:100%;margin-right:-4px;display:inline-block}.searchbox__submit:hover,.searchbox__submit:active{cursor:pointer}.searchbox__submit:focus{outline:0}.searchbox__submit svg{vertical-align:middle;fill:#6d7e96;width:14px;height:14px}.searchbox__reset{cursor:pointer;font-size:inherit;-webkit-user-select:none;user-select:none;fill:rgba(0,0,0,.5);background:0 0;border:0;margin:0;padding:0;display:block;position:absolute;top:8px;right:8px}.searchbox__reset.hide{display:none}.searchbox__reset:focus{outline:0}.searchbox__reset svg{width:8px;height:8px;margin:4px;display:block}.searchbox__input:valid~.searchbox__reset{animation-name:sbx-reset-in;animation-duration:.15s;display:block}@keyframes sbx-reset-in{0%{opacity:0;transform:translate(-20%)}to{opacity:1;transform:none}}.algolia-autocomplete .ds-dropdown-menu:before{content:"";z-index:1000;background:#373940;border-top:1px solid #373940;border-right:1px solid #373940;border-radius:2px;width:14px;height:14px;display:block;position:absolute;top:-7px;transform:rotate(-45deg)}.algolia-autocomplete .ds-dropdown-menu{box-shadow:0 1px rgba(0,0,0,.2),0 2px 3px rgba(0,0,0,.1)}@media (min-width:601px){.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu{right:0!important;left:inherit!important}.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu:before{right:48px}.algolia-autocomplete .ds-dropdown-menu{text-align:left;z-index:999;background:0 0;border:none;border-radius:4px;min-width:500px;max-width:600px;height:auto;margin:6px 0 0;padding:0;position:relative;top:-6px}}@media (max-width:600px){.algolia-autocomplete .ds-dropdown-menu{z-index:100;width:600px;max-width:calc(100% - 2rem);max-height:calc(100% - 5rem);display:block;position:fixed!important;top:50px!important;left:auto!important;right:1rem!important}.algolia-autocomplete .ds-dropdown-menu:before{right:6rem}}.algolia-autocomplete .ds-dropdown-menu .ds-suggestions{z-index:1000;position:relative}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion{cursor:pointer}.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-]{background:#fff;border-radius:4px;padding:0;position:relative;overflow:auto}.algolia-autocomplete .ds-dropdown-menu *{box-sizing:border-box}.algolia-autocomplete .algolia-docsearch-suggestion{padding:0;-webkit-text-decoration:none;text-decoration:none;display:block;position:relative;overflow:hidden}.algolia-autocomplete .ds-cursor .algolia-docsearch-suggestion--wrapper{background:#f1f1f1;box-shadow:inset -2px 0 #61dafb}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{background:#ffe564;padding:.1em .05em}.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl0 .algolia-docsearch-suggestion--highlight,.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl1 .algolia-docsearch-suggestion--highlight{color:inherit;background:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{background:inherit;color:inherit;padding:0 0 1px;box-shadow:inset 0 -2px rgba(69,142,225,.8)}.algolia-autocomplete .algolia-docsearch-suggestion--content{float:right;cursor:pointer;width:70%;padding:5.33333px 0 5.33333px 10.6667px;display:block;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion--content:before{content:"";background:#ececec;width:1px;height:100%;display:block;position:absolute;top:0;left:-1px}.algolia-autocomplete .algolia-docsearch-suggestion--category-header{letter-spacing:.08em;text-transform:uppercase;color:#fff;background-color:#373940;margin:0;padding:5px 8px;font-size:14px;font-weight:700;display:none;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion--wrapper{float:left;background-color:#fff;width:100%;padding:8px 0 0}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{float:left;text-align:right;color:#777;word-wrap:break-word;width:30%;padding:5.33333px 10.6667px;font-size:.9em;display:none;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column:before{content:"";background:#ececec;width:1px;height:100%;display:block;position:absolute;top:0;right:0}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header,.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary{display:block}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight{background-color:inherit;color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--title{color:#02060c;margin-bottom:4px;font-size:.9em;font-weight:700}.algolia-autocomplete .algolia-docsearch-suggestion--text{color:#63676d;padding-right:2px;font-size:.85em;line-height:1.2em;display:block}.algolia-autocomplete .algolia-docsearch-suggestion--version{color:#a6aab1;padding-top:2px;padding-right:2px;font-size:.65em;display:block}.algolia-autocomplete .algolia-docsearch-suggestion--no-results{text-align:center;background-color:#373940;width:100%;margin-top:-8px;padding:8px 0;font-size:1.2em}.algolia-autocomplete .algolia-docsearch-suggestion--no-results .algolia-docsearch-suggestion--text{color:#fff;margin-top:4px}.algolia-autocomplete .algolia-docsearch-suggestion--no-results:before{display:none}.algolia-autocomplete .algolia-docsearch-suggestion code{color:#222;background-color:#ebebeb;border:none;border-radius:3px;padding:1px 5px;font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:90%}.algolia-autocomplete .algolia-docsearch-suggestion code .algolia-docsearch-suggestion--highlight{background:0 0}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header{color:#fff;display:block}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--subcategory-column{display:block}.algolia-autocomplete .algolia-docsearch-footer{z-index:2000;float:right;background-color:#fff;width:100%;height:30px;font-size:0;line-height:0}.algolia-autocomplete .algolia-docsearch-footer--logo{text-indent:-9000px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 18'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='-36.87%25' x2='129.43%25' y1='134.94%25' y2='-27.7%25'%3E%3Cstop stop-color='%252300AEFF' offset='0%25'/%3E%3Cstop stop-color='%25233369E7' offset='100%25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='url(%2523a)' d='M59.4.02h13.3a2.37 2.37 0 0 1 2.38 2.37V15.6a2.37 2.37 0 0 1-2.38 2.36H59.4a2.37 2.37 0 0 1-2.38-2.36V2.38A2.37 2.37 0 0 1 59.4.02z'/%3E%3Cpath fill='%2523FFF' d='M66.26 4.56c-2.82 0-5.1 2.27-5.1 5.08 0 2.8 2.28 5.07 5.1 5.07 2.8 0 5.1-2.26 5.1-5.07 0-2.8-2.28-5.07-5.1-5.07zm0 8.65c-2 0-3.6-1.6-3.6-3.56 0-1.97 1.6-3.58 3.6-3.58 1.98 0 3.6 1.6 3.6 3.58a3.58 3.58 0 0 1-3.6 3.57zm0-6.4v2.66c0 .07.08.13.15.1l2.4-1.24c.04-.02.06-.1.03-.14a2.96 2.96 0 0 0-2.46-1.5c-.06 0-.1.05-.1.1zm-3.33-1.96l-.3-.3a.78.78 0 0 0-1.12 0l-.36.36a.77.77 0 0 0 0 1.1l.3.3c.05.05.13.04.17 0 .2-.25.4-.5.6-.7.23-.23.46-.43.7-.6.07-.04.07-.1.03-.16zm5-.8V3.4a.78.78 0 0 0-.78-.78h-1.83a.78.78 0 0 0-.78.78v.63c0 .07.06.12.14.1a5.74 5.74 0 0 1 1.58-.22c.52 0 1.04.07 1.54.2a.1.1 0 0 0 .13-.1z'/%3E%3Cpath fill='%2523182359' d='M102.16 13.76c0 1.46-.37 2.52-1.12 3.2-.75.67-1.9 1-3.44 1-.56 0-1.74-.1-2.67-.3l.34-1.7c.78.17 1.82.2 2.36.2.86 0 1.48-.16 1.84-.5.37-.36.55-.88.55-1.57v-.35a6.37 6.37 0 0 1-.84.3 4.15 4.15 0 0 1-1.2.17 4.5 4.5 0 0 1-1.6-.28 3.38 3.38 0 0 1-1.26-.82 3.74 3.74 0 0 1-.8-1.35c-.2-.54-.3-1.5-.3-2.2 0-.67.1-1.5.3-2.06a3.92 3.92 0 0 1 .9-1.43 4.12 4.12 0 0 1 1.45-.92 5.3 5.3 0 0 1 1.94-.37c.7 0 1.35.1 1.97.2a15.86 15.86 0 0 1 1.6.33v8.46zm-5.95-4.2c0 .9.2 1.88.6 2.3.4.4.9.62 1.53.62.34 0 .66-.05.96-.15a2.75 2.75 0 0 0 .73-.33V6.7a8.53 8.53 0 0 0-1.42-.17c-.76-.02-1.36.3-1.77.8-.4.5-.62 1.4-.62 2.23zm16.13 0c0 .72-.1 1.26-.32 1.85a4.4 4.4 0 0 1-.9 1.53c-.38.42-.85.75-1.4.98-.54.24-1.4.37-1.8.37-.43 0-1.27-.13-1.8-.36a4.1 4.1 0 0 1-1.4-.97 4.5 4.5 0 0 1-.92-1.52 5.04 5.04 0 0 1-.33-1.84c0-.72.1-1.4.32-2 .22-.6.53-1.1.92-1.5.4-.43.86-.75 1.4-.98a4.55 4.55 0 0 1 1.78-.34 4.7 4.7 0 0 1 1.8.34c.54.23 1 .55 1.4.97.38.42.68.92.9 1.5.23.6.35 1.3.35 2zm-2.2 0c0-.92-.2-1.7-.6-2.22-.38-.54-.94-.8-1.64-.8-.72 0-1.27.26-1.67.8-.4.54-.58 1.3-.58 2.22 0 .93.2 1.56.6 2.1.38.54.94.8 1.64.8s1.25-.26 1.65-.8c.4-.55.6-1.17.6-2.1zm6.97 4.7c-3.5.02-3.5-2.8-3.5-3.27L113.57.92l2.15-.34v10c0 .25 0 1.87 1.37 1.88v1.8zm3.77 0h-2.15v-9.2l2.15-.33v9.54zM119.8 3.74c.7 0 1.3-.58 1.3-1.3 0-.7-.58-1.3-1.3-1.3-.73 0-1.3.6-1.3 1.3 0 .72.58 1.3 1.3 1.3zm6.43 1c.7 0 1.3.1 1.78.27.5.18.88.42 1.17.73.28.3.5.74.6 1.18.13.46.2.95.2 1.5v5.47a25.24 25.24 0 0 1-1.5.25c-.67.1-1.42.15-2.25.15a6.83 6.83 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.37-.27-.9-.27-1.44 0-.52.1-.85.3-1.2.2-.37.48-.67.83-.9a3.6 3.6 0 0 1 1.23-.5 7.07 7.07 0 0 1 2.2-.1l.83.16v-.35c0-.25-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.18-.34-.3-.58-.4a2.54 2.54 0 0 0-.92-.17c-.5 0-.94.06-1.35.13-.4.08-.75.16-1 .25l-.27-1.74c.27-.1.67-.18 1.2-.28a9.34 9.34 0 0 1 1.65-.14zm.18 7.74c.66 0 1.15-.04 1.5-.1V10.2a5.1 5.1 0 0 0-2-.1c-.23.03-.45.1-.64.2a1.17 1.17 0 0 0-.47.38c-.13.17-.18.26-.18.52 0 .5.17.8.5.98.32.2.74.3 1.3.3zM84.1 4.8c.72 0 1.3.08 1.8.26.48.17.87.42 1.15.73.3.3.5.72.6 1.17.14.45.2.94.2 1.47v5.48a25.24 25.24 0 0 1-1.5.26c-.67.1-1.42.14-2.25.14a6.83 6.83 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.38-.27-.9-.27-1.44 0-.53.1-.86.3-1.22.2-.36.5-.65.84-.88a3.6 3.6 0 0 1 1.24-.5 7.07 7.07 0 0 1 2.2-.1c.26.03.54.08.84.15v-.35c0-.24-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.17-.34-.3-.58-.4a2.54 2.54 0 0 0-.9-.15c-.5 0-.96.05-1.37.12-.4.07-.75.15-1 .24l-.26-1.75c.27-.08.67-.17 1.18-.26a8.9 8.9 0 0 1 1.66-.15zm.2 7.73c.65 0 1.14-.04 1.48-.1v-2.17a5.1 5.1 0 0 0-1.98-.1c-.24.03-.46.1-.65.18a1.17 1.17 0 0 0-.47.4c-.12.17-.17.26-.17.52 0 .5.18.8.5.98.32.2.75.3 1.3.3zm8.68 1.74c-3.5 0-3.5-2.82-3.5-3.28L89.45.92 91.6.6v10c0 .25 0 1.87 1.38 1.88v1.8z'/%3E%3Cpath fill='%25231D3657' d='M5.03 11.03c0 .7-.26 1.24-.76 1.64-.5.4-1.2.6-2.1.6-.88 0-1.6-.14-2.17-.42v-1.2c.36.16.74.3 1.14.38.4.1.78.15 1.13.15.5 0 .88-.1 1.12-.3a.94.94 0 0 0 .35-.77.98.98 0 0 0-.33-.74c-.22-.2-.68-.44-1.37-.72-.72-.3-1.22-.62-1.52-1C.23 8.27.1 7.82.1 7.3c0-.65.22-1.17.7-1.55.46-.37 1.08-.56 1.86-.56.76 0 1.5.16 2.25.48l-.4 1.05c-.7-.3-1.32-.44-1.87-.44-.4 0-.73.08-.94.26a.9.9 0 0 0-.33.72c0 .2.04.38.12.52.08.15.22.3.42.4.2.14.55.3 1.06.52.58.24 1 .47 1.27.67.27.2.47.44.6.7.12.26.18.57.18.92zM9 13.27c-.92 0-1.64-.27-2.16-.8-.52-.55-.78-1.3-.78-2.24 0-.97.24-1.73.72-2.3.5-.54 1.15-.82 2-.82.78 0 1.4.25 1.85.72.46.48.7 1.14.7 1.97v.67H7.35c0 .58.17 1.02.46 1.33.3.3.7.47 1.24.47.36 0 .68-.04.98-.1a5.1 5.1 0 0 0 .98-.33v1.02a3.87 3.87 0 0 1-.94.32 5.72 5.72 0 0 1-1.08.1zm-.22-5.2c-.4 0-.73.12-.97.38s-.37.62-.42 1.1h2.7c0-.48-.13-.85-.36-1.1-.23-.26-.54-.38-.94-.38zm7.7 5.1l-.26-.84h-.05c-.28.36-.57.6-.86.74-.28.13-.65.2-1.1.2-.6 0-1.05-.16-1.38-.48-.32-.32-.5-.77-.5-1.34 0-.62.24-1.08.7-1.4.45-.3 1.14-.47 2.07-.5l1.02-.03V9.2c0-.37-.1-.65-.27-.84-.17-.2-.45-.28-.82-.28-.3 0-.6.04-.88.13a6.68 6.68 0 0 0-.8.33l-.4-.9a4.4 4.4 0 0 1 1.05-.4 4.86 4.86 0 0 1 1.08-.12c.76 0 1.33.18 1.7.5.4.33.6.85.6 1.56v4h-.9zm-1.9-.87c.47 0 .83-.13 1.1-.38.3-.26.43-.62.43-1.08v-.52l-.76.03c-.6.03-1.02.13-1.3.3s-.4.45-.4.82c0 .26.08.47.24.6.16.16.4.23.7.23zm7.57-5.2c.25 0 .46.03.62.06l-.12 1.18a2.38 2.38 0 0 0-.56-.06c-.5 0-.92.16-1.24.5-.3.32-.47.75-.47 1.27v3.1h-1.27V7.23h1l.16 1.05h.05c.2-.36.45-.64.77-.85a1.83 1.83 0 0 1 1.02-.3zm4.12 6.17c-.9 0-1.58-.27-2.05-.8-.47-.52-.7-1.27-.7-2.25 0-1 .24-1.77.73-2.3.5-.54 1.2-.8 2.12-.8.63 0 1.2.1 1.7.34l-.4 1c-.52-.2-.96-.3-1.3-.3-1.04 0-1.55.68-1.55 2.05 0 .67.13 1.17.38 1.5.26.34.64.5 1.13.5a3.23 3.23 0 0 0 1.6-.4v1.1a2.53 2.53 0 0 1-.73.28 4.36 4.36 0 0 1-.93.08zm8.28-.1h-1.27V9.5c0-.45-.1-.8-.28-1.02-.18-.23-.47-.34-.88-.34-.53 0-.9.16-1.16.48-.25.3-.38.85-.38 1.6v2.94h-1.26V4.8h1.26v2.12c0 .34-.02.7-.06 1.1h.08a1.76 1.76 0 0 1 .72-.67c.3-.16.66-.24 1.07-.24 1.43 0 2.15.74 2.15 2.2v3.86zM42.2 7.1c.74 0 1.32.28 1.73.82.4.53.62 1.3.62 2.26 0 .97-.2 1.73-.63 2.27-.42.54-1 .82-1.75.82s-1.33-.27-1.75-.8h-.08l-.23.7h-.94V4.8h1.26v2l-.02.64-.03.56h.05c.4-.6 1-.9 1.78-.9zm-.33 1.04c-.5 0-.88.15-1.1.45-.22.3-.34.8-.35 1.5v.08c0 .72.12 1.24.35 1.57.23.32.6.48 1.12.48.44 0 .78-.17 1-.53.24-.35.36-.87.36-1.53 0-1.35-.47-2.03-1.4-2.03zm3.24-.92h1.4l1.2 3.37c.18.47.3.92.36 1.34h.04l.18-.72 1.37-4H51l-2.53 6.73c-.46 1.23-1.23 1.85-2.3 1.85-.3 0-.56-.03-.83-.1v-1c.2.05.4.08.65.08.6 0 1.03-.36 1.28-1.06l.22-.56-2.4-5.94z'/%3E%3C/g%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100%;width:110px;height:100%;margin-left:auto;margin-right:5px;display:block;overflow:hidden}html[data-theme=dark] .algolia-docsearch-suggestion--category-header,html[data-theme=dark] .algolia-docsearch-suggestion--wrapper,html[data-theme=dark] .algolia-docsearch-footer{background:var(--ifm-background-color)!important;color:var(--ifm-font-color-base)!important}html[data-theme=dark] .algolia-docsearch-suggestion--title{color:var(--ifm-font-color-base)!important}html[data-theme=dark] .ds-cursor .algolia-docsearch-suggestion--wrapper{background:var(--ifm-background-surface-color)!important}mark{background-color:#add8e6}.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color);margin-bottom:var(--ifm-leading);box-shadow:var(--ifm-global-shadow-lw);border-radius:var(--ifm-code-border-radius)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);font-size:var(--ifm-code-font-size);padding:.75rem var(--ifm-pre-padding);border-top-left-radius:inherit;border-top-right-radius:inherit;font-weight:500}.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}.codeBlockStandalone_MEMb{padding:0}.codeBlockLines_e6Vv{font:inherit;float:left;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{padding:var(--ifm-pre-padding)0;display:table}@media print{.codeBlockLines_e6Vv{white-space:pre-wrap}}.buttonGroup__atx{right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2);column-gap:.2rem;display:flex;position:absolute}.buttonGroup__atx button{background:var(--prism-background-color);color:var(--prism-color);border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);transition:opacity var(--ifm-transition-fast)ease-in-out;opacity:0;align-items:center;padding:.4rem;line-height:0;display:flex}.buttonGroup__atx button:hover{opacity:1!important}.buttonGroup__atx button:focus-visible{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);margin:0 calc(-1*var(--ifm-pre-padding));padding:0 var(--ifm-pre-padding);display:block}.codeLine_lJS_{counter-increment:line-count;display:table-row}.codeLineNumber_Tfdd{text-align:right;width:1%;padding:0 var(--ifm-pre-padding);background:var(--ifm-pre-background);overflow-wrap:normal;display:table-cell;position:sticky;left:0}.codeLineNumber_Tfdd:before{content:counter(line-count);opacity:.4}.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{width:1.125rem;height:1.125rem;position:relative}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;opacity:inherit;width:inherit;height:inherit;transition:all var(--ifm-transition-fast)ease;position:absolute;top:0;left:0}.copyButtonSuccessIcon_LjdS{opacity:0;color:#00d600;top:50%;left:50%;transform:translate(-50%,-50%)scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transition-delay:75ms;transform:translate(-50%,-50%)scale(1)}.wordWrapButtonIcon_Bwma{width:1.2rem;height:1.2rem}.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.details_lb9f{--docusaurus-details-summary-arrow-size:.38rem;--docusaurus-details-transition:transform .2s ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;list-style:none;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{content:"";border-width:var(--docusaurus-details-summary-arrow-size);border-style:solid;border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);transition:var(--docusaurus-details-transition);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2)50%;position:absolute;top:.45rem;left:0;transform:rotate(0)}.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before{transform:rotate(90deg)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child{margin-bottom:0}.iconEdit_Z9Sw{vertical-align:sub;margin-right:.3em}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast)ease;margin:0 0 var(--ifm-spacing-vertical);border:1px solid var(--ifm-alert-border-color)}.tabItem_Ymn6>:last-child{margin-bottom:0}.tabList__CuJ{margin-bottom:var(--ifm-leading)}.tabItem_LNqP{margin-top:0!important}.required_k7Xu{font-size:var(--ifm-code-font-size);color:var(--ifm-color-danger)}.deprecated_iwIh{font-size:var(--ifm-code-font-size);color:var(--ifm-color-warning)}.readOnly_RjRF{font-size:var(--ifm-code-font-size);color:var(--ifm-color-info-darker)}.writeOnly_QX6I{font-size:var(--ifm-code-font-size);color:var(--ifm-color-primary-darker)}.constant_erHY{font-size:var(--ifm-code-font-size);color:var(--ifm-color-secondary-darkest)}.schemaItem_buZn{padding:5px 0 5px 1rem;list-style:none;position:relative;border-left:thin solid var(--ifm-color-gray-500)!important;margin:0!important}.schemaItem_buZn:hover,.schemaItem_buZn:focus{background-color:var(--ifm-menu-color-background-active)}[class^=schemaItem]:before{border-bottom:thin solid var(--ifm-color-gray-500);content:"";vertical-align:top;width:.7rem;height:.5rem;display:inline-block;position:absolute;top:10px;left:0}.schemaName_Rg3q{opacity:.6}.strikethrough_g4yO{-webkit-text-decoration:line-through;text-decoration:line-through}.lastUpdated_JAkA{margin-top:.2rem;font-size:smaller;font-style:italic}@media (min-width:997px){.lastUpdated_JAkA{text-align:right}}.tocCollapsibleButton_TO0P{font-size:inherit;justify-content:space-between;align-items:center;width:100%;padding:.4rem .8rem;display:flex}.tocCollapsibleButton_TO0P:after{content:"";background:var(--ifm-menu-link-sublist-icon)50% 50%/2rem 2rem no-repeat;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast);transform:rotate(180deg)}.tocCollapsibleButtonExpanded_MG3E:after{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);padding:.2rem 0;font-size:15px}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tocCollapsibleExpanded_sAul{transform:none}@media (min-width:997px){.tocMobile_ITEo{display:none}}@media print{.tocMobile_ITEo{display:none}}.containsTaskList_mC6p{list-style:none}:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.img_ev3q{height:auto}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight)var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{vertical-align:middle;margin-right:.4em;display:inline-block}.admonitionIcon_Rf37 svg{width:1.6em;height:1.6em;fill:var(--ifm-alert-foreground-color);display:inline-block}.admonitionContent_BuS1>:last-child{margin-bottom:0}.tableOfContents_bqdL{max-height:calc(100vh - (var(--ifm-navbar-height) + 2rem));top:calc(var(--ifm-navbar-height) + 1rem);position:sticky;overflow-y:auto}@media (max-width:996px){.tableOfContents_bqdL{display:none}.docItemContainer_F8PC{padding:0 .3rem}}.container_lyt7,.container_lyt7>svg{max-width:100%}.breadcrumbHomeIcon_YNFT{vertical-align:top;width:1.1rem;height:1.1rem;position:relative;top:1px}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:.8;margin-bottom:.8rem}@media (min-width:997px){.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(1.25*var(--ifm-leading))}.list_eTzJ article:last-child{margin-bottom:0!important}.docItemContainer_Djhp header+*,.docItemContainer_Djhp article>:first-child{margin-top:0}@media (min-width:997px){.docItemCol_VOVn{max-width:75%!important}}.mdxPageWrapper_j9I6{justify-content:center} \ No newline at end of file diff --git a/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png b/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png new file mode 100644 index 0000000..97e4164 Binary files /dev/null and b/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png differ diff --git a/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png b/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png new file mode 100644 index 0000000..e257edc Binary files /dev/null and b/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png differ diff --git a/assets/js/1351.470ec6ae.js b/assets/js/1351.470ec6ae.js new file mode 100644 index 0000000..97348f3 --- /dev/null +++ b/assets/js/1351.470ec6ae.js @@ -0,0 +1,29 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1351"],{18010:function(e,t,i){function a(e,t){e.accDescr&&t.setAccDescription?.(e.accDescr),e.accTitle&&t.setAccTitle?.(e.accTitle),e.title&&t.setDiagramTitle?.(e.title)}i.d(t,{A:function(){return a}}),(0,i(74146).eW)(a,"populateCommonDb")},79198:function(e,t,i){i.d(t,{diagram:function(){return k}});var a=i(18010),l=i(68394),r=i(89356),n=i(74146),s=i(3194),c=i(27818),o=n.vZ.pie,p={sections:new Map,showData:!1,config:o},d=p.sections,u=p.showData,g=structuredClone(o),f=(0,n.eW)(()=>structuredClone(g),"getConfig"),h=(0,n.eW)(()=>{d=new Map,u=p.showData,(0,n.ZH)()},"clear"),x=(0,n.eW)(({label:e,value:t})=>{!d.has(e)&&(d.set(e,t),n.cM.debug(`added new section: ${e}, with value: ${t}`))},"addSection"),m=(0,n.eW)(()=>d,"getSections"),w=(0,n.eW)(e=>{u=e},"setShowData"),S=(0,n.eW)(()=>u,"getShowData"),T={getConfig:f,clear:h,setDiagramTitle:n.g2,getDiagramTitle:n.Kr,setAccTitle:n.GN,getAccTitle:n.eu,setAccDescription:n.U$,getAccDescription:n.Mx,addSection:x,getSections:m,setShowData:w,getShowData:S},$=(0,n.eW)((e,t)=>{(0,a.A)(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},"populateDb"),y={parse:(0,n.eW)(async e=>{let t=await (0,s.Qc)("pie",e);n.cM.debug(t),$(t,T)},"parse")},D=(0,n.eW)(e=>` + .pieCircle{ + stroke: ${e.pieStrokeColor}; + stroke-width : ${e.pieStrokeWidth}; + opacity : ${e.pieOpacity}; + } + .pieOuterCircle{ + stroke: ${e.pieOuterStrokeColor}; + stroke-width: ${e.pieOuterStrokeWidth}; + fill: none; + } + .pieTitleText { + text-anchor: middle; + font-size: ${e.pieTitleTextSize}; + fill: ${e.pieTitleTextColor}; + font-family: ${e.fontFamily}; + } + .slice { + font-family: ${e.fontFamily}; + fill: ${e.pieSectionTextColor}; + font-size:${e.pieSectionTextSize}; + // fill: white; + } + .legend text { + fill: ${e.pieLegendTextColor}; + font-family: ${e.fontFamily}; + font-size: ${e.pieLegendTextSize}; + } +`,"getStyles"),C=(0,n.eW)(e=>{let t=[...e.entries()].map(e=>({label:e[0],value:e[1]})).sort((e,t)=>t.value-e.value);return(0,c.ve8)().value(e=>e.value)(t)},"createPieArcs"),W=(0,n.eW)((e,t,i,a)=>{n.cM.debug("rendering pie chart\n"+e);let s=a.db,o=(0,n.nV)(),p=(0,l.Rb)(s.getConfig(),o.pie),d=(0,r.P)(t),u=d.append("g");u.attr("transform","translate(225,225)");let{themeVariables:g}=o,[f]=(0,l.VG)(g.pieOuterStrokeWidth);f??=2;let h=p.textPosition,x=185,m=(0,c.Nb1)().innerRadius(0).outerRadius(x),w=(0,c.Nb1)().innerRadius(x*h).outerRadius(x*h);u.append("circle").attr("cx",0).attr("cy",0).attr("r",x+f/2).attr("class","pieOuterCircle");let S=s.getSections(),T=C(S),$=[g.pie1,g.pie2,g.pie3,g.pie4,g.pie5,g.pie6,g.pie7,g.pie8,g.pie9,g.pie10,g.pie11,g.pie12],y=(0,c.PKp)($);u.selectAll("mySlices").data(T).enter().append("path").attr("d",m).attr("fill",e=>y(e.data.label)).attr("class","pieCircle");let D=0;S.forEach(e=>{D+=e}),u.selectAll("mySlices").data(T).enter().append("text").text(e=>(e.data.value/D*100).toFixed(0)+"%").attr("transform",e=>"translate("+w.centroid(e)+")").style("text-anchor","middle").attr("class","slice"),u.append("text").text(s.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");let W=u.selectAll(".legend").data(y.domain()).enter().append("g").attr("class","legend").attr("transform",(e,t)=>{let i=22,a=22*y.domain().length/2;return"translate(216,"+(t*i-a)+")"});W.append("rect").attr("width",18).attr("height",18).style("fill",y).style("stroke",y),W.data(T).append("text").attr("x",22).attr("y",14).text(e=>{let{label:t,value:i}=e.data;return s.getShowData()?`${t} [${i}]`:t});let k=512+Math.max(...W.selectAll("text").nodes().map(e=>e?.getBoundingClientRect().width??0));d.attr("viewBox",`0 0 ${k} 450`),(0,n.v2)(d,450,k,p.useMaxWidth)},"draw"),k={parser:y,db:T,renderer:{draw:W},styles:D}}}]); \ No newline at end of file diff --git a/assets/js/14622022.dc830d6d.js b/assets/js/14622022.dc830d6d.js new file mode 100644 index 0000000..2516657 --- /dev/null +++ b/assets/js/14622022.dc830d6d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2751"],{12777:function(e,n,s){s.r(n),s.d(n,{Highlight:()=>c,metadata:()=>r,contentTitle:()=>o,default:()=>h,assets:()=>d,toc:()=>l,frontMatter:()=>i});var r=JSON.parse('{"id":"docusaurus/tutorial_basics/markdown_features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional","source":"@site/docs/docusaurus/tutorial_basics/markdown_features.mdx","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/markdown_features","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/markdown_features.mdx","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732742508000,"sidebarPosition":4,"frontMatter":{"sidebar_position":4},"sidebar":"tutorialSidebar","previous":{"title":"Create a Blog Post","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post"},"next":{"title":"Deploy your site","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site"}}'),a=s("85893"),t=s("50065");let i={sidebar_position:4},o="Markdown Features",d={},c=({children:e,color:n})=>(0,a.jsx)("span",{style:{backgroundColor:n,borderRadius:"20px",color:"#fff",padding:"10px",cursor:"pointer"},onClick:()=>{alert(`You clicked the color ${n} with label ${e}`)},children:e}),l=[{value:"Front Matter",id:"front-matter",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code Blocks",id:"code-blocks",level:2},{value:"Admonitions",id:"admonitions",level:2},{value:"Mermaid Graphs",id:"mermaid-graphs",level:2},{value:"State Machine",id:"state-machine",level:3},{value:"Flowchart",id:"flowchart",level:3},{value:"MDX and React Components",id:"mdx-and-react-components",level:2}];function u(e){let n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",mermaid:"mermaid",p:"p",pre:"pre",strong:"strong",...(0,t.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"markdown-features",children:"Markdown Features"})}),"\n",(0,a.jsxs)(n.p,{children:["Docusaurus supports ",(0,a.jsx)(n.strong,{children:(0,a.jsx)(n.a,{href:"https://daringfireball.net/projects/markdown/syntax",children:"Markdown"})})," and a few ",(0,a.jsx)(n.strong,{children:"additional\nfeatures"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"front-matter",children:"Front Matter"}),"\n",(0,a.jsxs)(n.p,{children:["Markdown documents have metadata at the top called ",(0,a.jsx)(n.a,{href:"https://jekyllrb.com/docs/front-matter/",children:"Front Matter"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",metastring:'title="my-doc.md"',children:"// highlight-start\n---\nid: my_doc_id\ntitle: My document title\ndescription: My document description\nslug: /my-custom-url\ntags:\n - developer\n---\n// highlight-end\n\n## Markdown heading\n\nMarkdown text with [links](./hello.md)\n"})}),"\n",(0,a.jsxs)(n.p,{children:["We recommend that all markdown pages should have at minimum a ",(0,a.jsx)(n.code,{children:"title"}),", ",(0,a.jsx)(n.code,{children:"description"})," and ",(0,a.jsx)(n.code,{children:"tags"})," array defined. An ",(0,a.jsx)(n.code,{children:"id"}),"\nmay be specified, but can be derived off of the filename when omitted."]}),"\n",(0,a.jsx)(n.admonition,{type:"info",children:(0,a.jsxs)(n.p,{children:["A complete listing of Docusaurus supported front matter fields can be found ",(0,a.jsx)(n.a,{href:"https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs#markdown-front-matter",children:"here"}),"."]})}),"\n",(0,a.jsx)(n.h2,{id:"links",children:"Links"}),"\n",(0,a.jsx)(n.p,{children:"Regular Markdown links are supported, using url paths or relative file paths."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](/create_a_page).\n"})}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](./create_a_page.md).\n"})}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Result:"})," Let's see how to ",(0,a.jsx)(n.a,{href:"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page",children:"Create a page"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"images",children:"Images"}),"\n",(0,a.jsx)(n.p,{children:"Regular Markdown images are supported."}),"\n",(0,a.jsxs)(n.p,{children:["You can use absolute paths to reference images in the static directory (",(0,a.jsx)(n.code,{children:"static/img/docusaurus.png"}),"):"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](/img/docusaurus.png)\n"})}),"\n",(0,a.jsx)(n.p,{children:(0,a.jsx)(n.img,{alt:"Docusaurus logo",src:s(93641).Z+"",width:"200",height:"200"})}),"\n",(0,a.jsx)(n.p,{children:"You can reference images relative to the current file as well. This is particularly useful to colocate images close to\nthe Markdown files using them:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](./img/docusaurus.png)\n"})}),"\n",(0,a.jsx)(n.h2,{id:"code-blocks",children:"Code Blocks"}),"\n",(0,a.jsx)(n.p,{children:"Markdown code blocks are supported with Syntax highlighting."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:'```jsx title="src/components/HelloDocusaurus.js"\nfunction HelloDocusaurus() {\n return

Hello, Docusaurus!

;\n}\n```\n'})}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return

Hello, Docusaurus!

;\n}\n"})}),"\n",(0,a.jsx)(n.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,a.jsx)(n.p,{children:"Docusaurus has a special syntax to create admonitions and callouts:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:":::tip[My tip]\n\nUse this awesome feature option\n\n:::\n\n:::danger[Take care]\n\nThis action is dangerous\n\n:::\n"})}),"\n",(0,a.jsx)(n.admonition,{title:"My tip",type:"tip",children:(0,a.jsx)(n.p,{children:"Use this awesome feature option"})}),"\n",(0,a.jsx)(n.admonition,{title:"Take care",type:"danger",children:(0,a.jsx)(n.p,{children:"This action is dangerous"})}),"\n",(0,a.jsx)(n.h2,{id:"mermaid-graphs",children:"Mermaid Graphs"}),"\n",(0,a.jsxs)(n.p,{children:["Our Docusaurus instance supports ",(0,a.jsx)(n.strong,{children:"diagramming and charting"})," through ",(0,a.jsx)(n.a,{href:"https://mermaid.js.org",children:"Mermaid"}),". The following\nare some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported,\nvisit their ",(0,a.jsx)(n.a,{href:"https://mermaid.js.org/intro/",children:"documentation"})," for more details under the ",(0,a.jsx)(n.strong,{children:"Diagram Syntax"})," section on the\nsidebar."]}),"\n",(0,a.jsx)(n.h3,{id:"state-machine",children:"State Machine"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",children:"```mermaid\ngraph TD\n A--\x3eB\n A--\x3eC\n B--\x3eD\n C--\x3eD\n```\n"})}),"\n",(0,a.jsx)(n.mermaid,{value:"graph TD\n A--\x3eB\n A--\x3eC\n B--\x3eD\n C--\x3eD"}),"\n",(0,a.jsx)(n.h3,{id:"flowchart",children:"Flowchart"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",children:"```mermaid\ngraph LR\n A[PIES] --\x3e|Get spec| B(Stakeholder approval)\n B --\x3e C{Purpose}\n B --\x3e G[/Further Analysis/]\n C ==>|One| D[Document Exchange]\n C --\x3e|Two| E[Event Alerts]\n C --\x3e|Three| F[Aggregation]\n subgraph identification\n A\n B\n end\n subgraph execution\n C\n D\n E\n F\n G\n end\n```\n"})}),"\n",(0,a.jsx)(n.mermaid,{value:"graph LR\n A[PIES] --\x3e|Get spec| B(Stakeholder approval)\n B --\x3e C{Purpose}\n B --\x3e G[/Further Analysis/]\n C ==>|One| D[Document Exchange]\n C --\x3e|Two| E[Event Alerts]\n C --\x3e|Three| F[Aggregation]\n subgraph identification\n A\n B\n end\n subgraph execution\n C\n D\n E\n F\n G\n end"}),"\n",(0,a.jsx)(n.h2,{id:"mdx-and-react-components",children:"MDX and React Components"}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.a,{href:"https://mdxjs.com/",children:"MDX"})," can make your documentation more ",(0,a.jsx)(n.strong,{children:"interactive"})," and allows using any ",(0,a.jsx)(n.strong,{children:"React components\ninside Markdown"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",children:"export const Highlight = ({children, color}) => (\n {\n alert(`You clicked the color ${color} with label ${children}`)\n }}>\n {children}\n \n);\n\nThis is Docusaurus green !\n\nThis is Facebook blue !\n"})}),"\n","\n",(0,a.jsxs)(n.p,{children:["This is ",(0,a.jsx)(c,{color:"#25c2a0",children:"Docusaurus green"})," !"]}),"\n",(0,a.jsxs)(n.p,{children:["This is ",(0,a.jsx)(c,{color:"#1877F2",children:"Facebook blue"})," !"]})]})}function h(e={}){let{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},93641:function(e,n,s){s.d(n,{Z:function(){return r}});let r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAT3UlEQVR42u1dCVQVV5pWXNt2N0czykl33KImZ7IgKgqIghq3KCDK+qowCek2c2K0Mx3idBxakzYxJnZiq3Gf6Bg7UdN2R51MxnTSia3gew9Rwccm7oqiiIK4sPxTt1hEHo9XvPVW1fed852Dr+67UNb/1f3/+9/731atAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO8i2CxGjDUJXzMGmcSZnmoHAF7B6GMJvYPNwq5gk1AmMS/YJMbaahtkNsRLbeghmoU4d7cDAO+NCEbhQCMjrZbe5q81bhdyVOwuXbtqZdDSZ+yau9oBgNcgGeIvmzDQJkUy1ix8ZKMtsWvuagcAXsNYs/iyLSNlIgk2GebLQjKJQ6R/32+mbcWYI8KTrm6HJwR4170yCV80Y6T1I4kklH122lFNG9e2wxMC3Ao/U1KnQLPgF2SK/xeri5TiIxlikX1DBXVANpoXSy/DzGCjYfdYs2FRiFkcxWxEu/GF0RAm3fT1Bv8JJyV+LLlV08ccnNuFCQeGAdrheWkkXxaSGueruZFDurlrzfn4QSbDGRgAqJD3JK4NMcU8oo3RIz1hOB4q6AZeCzKK0aoXCIs58DBBt9Esfip5Ke3UPkN1Eg8TdB8N+5grr+JRxPAJHiLoTgaZhf97MiuqvVqTgNPxEEEPcK0qBTIyNa6rnWw1CLooJjHMUZc6KMWnNs9xDg8Q9ACLQtMMvbhfeFi7tuoLZMhBz1NczaUw2H4OFizhAYFe5l0uM+61m53wgMAWM+C7aBr425Ey2c8umPpdxmO+oxQPWz8cvnOmTGf7Gf1DDHXs25lYxMrIfmafOdnvOe4WONZsk4XhaD7nkJpAPQN96w2a/cw+c7S/QYsC6vuq46D/CHD+7zQaRvDmYsXVbG6CEWmZQ5YGWRk0+8zR/phb1bg/9pkLgvVk/twso+EViETbfPw1PyuDHrDQ36n4o6GL1eHRn7skDhlrEnZyuvbKMN/TIglKM9AzmyfLbzL2sBjZz89sniJfg2G7Nvbwad+m3qB9OrQh/z0RTschzK1yXZAu8zi/CxQ9NJL4fT6d+kwdQG27drB6q9WxXbcO1GfaAPL78wswcBfx6Y2T6ZHxv5DJfuY1acj5Kl55JHHPtOCBaOozZQC18mltUxhWlNoyobjwDQVyng/hVhyBaYbBrEKhW0aNL2Y85LO2lB37daHhX86AAemAPC4z6R5sEt9j6nWXONr8vJ3D4qhj287tIRIIxMP7PmrKd151p1vV3MjRtmt7eiT0F+QbN4z6xQ6T/eO2XdrbbP8z3y5wtyAQT+VAxAh336wcczQVhPfsKM+ANJWsYp+xRFS7Hh2b/C6LSWBIEIgnsuh73T1b1VRA3ql/dxq5d5bd74/4OlJu21TgjtktCMT9uwbdFJDXjx5TBzQ5cigRR71I/hZJ7bpbTwf3mT4QxgSBuHtbrSHcnUlAlstwxXqdgcmjmsyTIJkIgag2SGcZ8qYCckcWyAUdTpBnsBr398yWKTAoCESd07xD3rFeHMdmqxztj81uNe5v6B+CYVAQiAeD9qPiIOkP/NIVN9l//nArg/ZNeNLh/nzjn7Tqr//rw2FQEIg6M+lN7RcY/LvR3PQHupdh6S9R+LH5ZMh8i17NfoeS81bSO6fX0cfn/ps2X/wL7bzyv/TNtYP0z5KjdLw0hwrKL1DR/Rt0r+q+Plys0d/HyMtDGib4nNlx5ur+QPcZuLPQTSa9bjk0oyuM2dX9adm4Zx57jeIzk+lXliX0Ru4KSjm1hlac/S/69MKXtP3yXvrr1b/Td8WplHbzOGWV5dPZO5fo+v0Slxi4ZgTiiUw66BoD/32BPQO/zI2Ba0cgbs6kg9aMPfFbWn5mM/258H80a+CaEYi7M+ngA7JR4ERpHgFqEogbM+lgDSelv0LfFx+B1SNIBxtzWsarlH27ABavZoF4YsOUHhliEuX4AlCOwsJC2rVrF7+JwjHGuU8Em4X9MHDn+afzOzRtzGVlZbR69WqKjY2lqKgoev/996m4uNihvqqrqyklJYU6dKhf3Kq/Pel6izuKK246bYQXLlygvXv30ldffUWZmZlO9cX6CAwMpI4dO1Lbtm3pueeeo61btzrUV1ZWFj3++ONWKxseffRRMpvNLe7vzTffrClF5ONDEydOhIuldb53ZqNTxpyfn08RERFWBsiM2mQytbi/+fPn29zCnJSU1KK+ioqKyNe3poTpU089RRs3bqTt27dTQEBAvUiuXr2quL8ff/xRFgYT7e7duxGk64E/FBsdFsfhw4epR48eNTsvO3WioKAgmjRpEvXu3Vv+rHPnzvTTTz8p7u/dd9+tqXwouS/Lly+nS5cuUUlJCa1fv17ui11j7pFSTJs2Tf4O+7tu3bpV//ndu3fr3v40Y8YMRX1VVFTQkCFD5O8sW7YMmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GRkZil2nrl27Um5ubpOTBuwaa/PNN9/Y7a/u97MRgsUmjcE+Y8JgbbZs2YJMut6oZGnJ6NGjHz5bQzKYggLlWXf2BmbxA/suC+LZbNKOHTsoLi6OWrduLXPz5s2K+2P5DNYXC5rz8h6sGbt8+bI8qrFrrI3S4JuNNOw7ycnJVtfffvvtZkcjTPNqnMtOb7BrRGPGjJFnlpiRfPDBB826VbbABNGrVy/rii/t2tGqVata7OY9++yz8ve7dOkiC41NAdfNng0dOlR2x5TCaDTKfwf77tKlS2UhsJiEuXFs0oCJ+9ChQ+pYauKOPel65sT0JJckCpXmJVhgzLLZM2fOpEWLFj00ArR0oqCp/AuLj9hI0lIwkbKRrG7mqy42YVyyZIl61mJhqYnruercdtUuI2HTzZs2baK1a9fSkSPOrURm8U1droOxb9++tGHDBixWxGJFkVJLjmEFYoMcCYuxmpsBQ5Cuu+Xu8+hk2SmoQ63L3ZFJ90w8cuD6YVi9KgWCTLrHuDB3uVwep5qqoQC1CASZdM8z+sQb9P6ZTbSjcD+KNnAvEGTSUfYHAkGQDoGhcBymeUGUHkUmHdS6wG5VlmFPOgjq/gAdEMQRbCCoZYEgkw5CIMikgxAIMukgBIJMOgiBIEgHIRBM84KgegSCTDoIgSCTzvcWXbNAv7bE0/oL0fSPG1F0+k4k3aoMp4rqmUSkL8LFAus563gCbb88h4ruR+hOCKoQCIJ07/CFDAP9rWg23a+GILgVCDLp3uGSghi6WREOMXAvEGTSPcrxUpzxtTRqQAQqEQgCck9WNzFQasksCEBVAkEm3WMjB8SBIB20QbhVmOYFbXBpQazLDYjlR25XhetGIJOyXuw5JntuF2TSNVd61EAlLpytqpa4sjCWJmSLMtdcidG2QKhV67CcxHVh2WJVLVcik65zjmVZ9QyRxmcKFHpSJMkoaGqOSHGnDPTGuXj53w1pLIvSnECk+yoPzRZPh2Un/r3x/YZZEifBxdLrcpOMB6JQyt3Fc7QokOb4OoJ0vdEs0LgTLRNGHQ/cnE07JZEcLo2SXTCtC2RCdmJ8aI64MNSSOI25YMik64COiqMxPy6M0cMI0oDCGmTSdeBWuUIcYbWBe6kGZrdacM/VIafF7sikazggb2nMYU8gJZURehJIVUhO0iPIpGt29HCdOBj/qDMXS3ohfIogXctLUDJd516xaeCvb8yhMv24WGekQP2VsFNJ3TDNq1G60r2qY4IkFLWLpIX3fMojIkEm3QsV0LMFlwuEcfS/P0N+ft29ypdf/qWnBEJhFiEJmXQIRDH7RQ2uP5fcW+zbt6PHBDIhJ/EluFhwsRRxzsl4OmgeTyZTiFdZXDzVUwLJd6uLhSBdO0H63huzdRWkM9fKreJAJl07SULGjy7H6iuTbhHXI5Ou8URhGBKFHCcKEZB7fxQ5iqUm/C41QSadk8WKrhHJJ4X6crFCLeKfkEnXiavl7HL31LJZutgPUrfcPSxXmIoNU3rcMGURsGGKpw1TyKTzKZTxmWJtnkT6OSOBxhyYRX6fPW9lML0C+3k9KdgUR47s4dSWW4kF3Gy5RSbdtXTUMEaM6NG84bVuRUNSAiThSCNNlkCDk/25FAfjqFE9XVO0IVtcW1uwoTLMInyEsj86FohSllaGU7mOyv5MPR7bIyRrXmcUjoNAQFR3h0BAVHeHQEBUdwchEFR3ByEQVHdHkA6BQCCY5oVAIBBk0tUrEH//Htwm/jyZSedWIMikc55JVxFdkkmHiwWBgAjSIRAQmXQQAkEmHYRAkEkHeRDIP0ujaOG5eJqWK8j8jfQzOyQHAkEmXfcC2XA12uaOuk1F0RAIgnRtC4Qd4XyifBZZ7kRaHefMRg5722wbjySsD9YX61MLx0OH5cwNnJwX1xXTvDoTyF3JeD8pjKHncx4Y+xTp51VXYuRrrM3CJk6ybUx22u2D/mLlPuquTc4RavqrVv2e9LthOcKqgPNRP0MmXQcCqZAMdsFZ28b/unTNf1QvGpceZ1cg48xx5NPOh4Z/PsVmG79tz1Prtj5q3ZPekD/4mZLaIZOu9dpXx+1XKBl3XFlFk9BMAw1+a4Tddo8Zhqkyk95EQbz5cLG0Xsk9S3TLUQfN8ddnErRS9seMIF3rZ4FYPC+QF3IFrQjkFjLpOAvE5UwsMGhFIBZk0rV+FsgJweMC+Vilp95a34uwBpl0rdffNXtWIKzS+9Hbs2hlYSwZThnkqWA2onx+LZr7KeDGFdxDsw3jwnIS18mnSWWLd9iIEmpJfMvtU8DIpHtwBMny/Ahii/8mBe88JxRb8BJIc3tCEUG6Nt0re/zgcozqBVLrfm3GNK+aC1Ef408cjBM5Po2qhfdS6dZTppBJd2/cEWoRuRQIY8/RfdWQSbfP3LlhSoPuxSGpcb7IpMO1UsIe/n1UkUm3OxrmCsF2jTs09aU+0kO5zQwcLhYHTBe5Fgdb1HirMlwLLtbdSVkv9lSS01ha93CCzMpP4UGQzve5g+7iHzk+z7CF97JWadIvr8EDqmJZcmTSvUSzd5aWKOX8swn1y+tVLpCD001JnezHHkdE/yYe1B17IkEm3U3BeTq/o8faK9Hy0nvVn3JrET5SvAxeeii/sfGwqqSY5DVk0j3sXh3jd/Rgm7V43+Ou8F7uSyyT+P1EizjdnkC+sDPk7x+TPrcvMukemr3K5DtA532PuyP3EZojvtvc9G6mggd3LcgoLAg49PD6FQTp7li5K6hGIE3tcVejQGSRWBKn2RpBLrXgAbK2vws0zu2PaV7t7P1whnV73NUuEHZstC2B3HFwtuVIkEn8cKxRiJFGkn8NyZgbGGw07IaROzmCZKtLIGyPu6oz6fY2VkkP5R4MEwJxlCGmOG4y6ferw525l5u2BHIdhsmRQOBiOUy2gNLhGCRb/M6ZIB3U8PZaZ5haNosbgRTcjXT8XnKFqbZGkK9gmDxtjlKPOLZwNs37j1uzHbwXYWlzOwMXwTCRKFSaKJyeK8huFU8jh5K6xNaJQqGUuVU2R476aVqzOAqGiaUmSnjmXiTXy0xePZOgLN7ISxymfL06pfhID+YcjJMTgXAah7xymu9CclfuR8jFJhTcy1EHSvgYlsE41VVq1NPccX0O1wJhFVcU3UuOmNzyfeWpcb7Ih/C1YYqnfAirsnijkt8l7iz/EZ1vUJQMnJif0NvRQnBrYZw8bZriRyDbrvE9euwpnqOs1E+OsNjhogsBh17sKT2YIhgnLxunRC7WZc3OF6ic4w1SN6WRLTJP0ehxOSRrXmfn6lwZxWgYJ8r+NKywmMbhdG5DLrkYp+ReqsbnGCa7qij1pzBOVDdh3HqN7zMN/3pjttLA/D9dVt8q6suoNmNNwl9gnPreRPV76c1czbE4WKJyUo6il8euFErxcWkROD9TUqdgk2EfjJOf3IgnRfLepViqrOY37mCbtKbmKhLH1pDvU9q6pVIi29SOmS19zWxNqC3MUM25W6Vg5KhmhRlaUavWHjgoxzAHs1scBe4ZclUOl4sjJt9AxrIoboVRUhmuNCA/F2ZJnOTRs0BC0wy9gk3iamyr5ad2lquCd1alZM2VGG6PNGBJQJbnCM+ze7+sSslKr56RPj7D0K92WQrWbnEiFLYsxZG1W2zEYMszeC0herUiQv77FGTIz7EDcRSVEPUYKMUnyGgYIY0qyVIAuVN6WMdrdyZiuYqXgvixRwX5KOjxmTWLHdnORLZchfnrEdLb9+XTCZKLEiv78GfvRXA0QsykmxXhlF8eST8UR9G6i9H0q7x4Cm10H2HZQoUkhmsSj0/IFnZOyBFeDctNGNoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsI3/BxVeQNnL1kBuAAAAAElFTkSuQmCC"},50065:function(e,n,s){s.d(n,{Z:function(){return o},a:function(){return i}});var r=s(67294);let a={},t=r.createContext(a);function i(e){let n=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.9c7921b4.js b/assets/js/14eb3368.9c7921b4.js new file mode 100644 index 0000000..dd492d0 --- /dev/null +++ b/assets/js/14eb3368.9c7921b4.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1983"],{52520:function(e,t,n){n.d(t,{Z:()=>f});var r=n("85893");n("67294");var s=n("67026"),i=n("84681"),a=n("69369"),l=n("79246"),o=n("83012"),c=n("96025"),d=n("4757");function u(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,r.jsx)("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"})})}let m="breadcrumbHomeIcon_YNFT";function h(){let e=(0,d.ZP)("/");return(0,r.jsx)("li",{className:"breadcrumbs__item",children:(0,r.jsx)(o.Z,{"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,r.jsx)(u,{className:m})})})}let p="breadcrumbsContainer_Z_bl";function b(e){let{children:t,href:n,isLast:s}=e,i="breadcrumbs__link";return s?(0,r.jsx)("span",{className:i,itemProp:"name",children:t}):n?(0,r.jsx)(o.Z,{className:i,href:n,itemProp:"item",children:(0,r.jsx)("span",{itemProp:"name",children:t})}):(0,r.jsx)("span",{className:i,children:t})}function x(e){let{children:t,active:n,index:i,addMicrodata:a}=e;return(0,r.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,s.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,r.jsx)("meta",{itemProp:"position",content:String(i+1)})]})}function f(){let e=(0,a.s1)(),t=(0,l.Ns)();return e?(0,r.jsx)("nav",{className:(0,s.Z)(i.k.docs.docBreadcrumbs,p),"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,r.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,r.jsx)(h,{}),e.map((t,n)=>{let s=n===e.length-1,i="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,r.jsx)(x,{active:s,index:n,addMicrodata:!!i,children:(0,r.jsx)(b,{href:i,isLast:s,children:t.label})},n)})]})}):null}},39140:function(e,t,n){n.r(t),n.d(t,{default:()=>D});var r=n("85893");n("67294");var s=n("14713"),i=n("69369"),a=n("4757"),l=n("67026"),o=n("83012"),c=n("43115"),d=n("63150"),u=n("96025"),m=n("34403");let h={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};function p(e){let{href:t,children:n}=e;return(0,r.jsx)(o.Z,{href:t,className:(0,l.Z)("card padding--lg",h.cardContainer),children:n})}function b(e){let{href:t,icon:n,title:s,description:i}=e;return(0,r.jsxs)(p,{href:t,children:[(0,r.jsxs)(m.Z,{as:"h2",className:(0,l.Z)("text--truncate",h.cardTitle),title:s,children:[n," ",s]}),i&&(0,r.jsx)("p",{className:(0,l.Z)("text--truncate",h.cardDescription),title:i,children:i})]})}function x(e){let{item:t}=e,n=(0,i.LM)(t),s=function(){let{selectMessage:e}=(0,c.c)();return t=>e(t,(0,u.translate)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,r.jsx)(b,{href:n,icon:"\uD83D\uDDC3\uFE0F",title:t.label,description:t.description??s(t.items.length)}):null}function f(e){let{item:t}=e,n=(0,d.Z)(t.href)?"\uD83D\uDCC4\uFE0F":"\uD83D\uDD17",s=(0,i.xz)(t.docId??void 0);return(0,r.jsx)(b,{href:t.href,icon:n,title:t.label,description:t.description??s?.description})}function v(e){let{item:t}=e;switch(t.type){case"link":return(0,r.jsx)(f,{item:t});case"category":return(0,r.jsx)(x,{item:t});default:throw Error(`unknown item type ${JSON.stringify(t)}`)}}function g(e){let{className:t}=e,n=(0,i.jA)();return(0,r.jsx)(j,{items:n.items,className:t})}function j(e){let{items:t,className:n}=e;if(!t)return(0,r.jsx)(g,{...e});let s=(0,i.MN)(t);return(0,r.jsx)("section",{className:(0,l.Z)("row",n),children:s.map((e,t)=>(0,r.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,r.jsx)(v,{item:e})},t))})}var N=n("23944"),_=n("59580"),Z=n("46035"),k=n("52520");let L="generatedIndexPage_vN6x",T="list_eTzJ",w="title_kItE";function y(e){let{categoryGeneratedIndex:t}=e;return(0,r.jsx)(s.d,{title:t.title,description:t.description,keywords:t.keywords,image:(0,a.ZP)(t.image)})}function C(e){let{categoryGeneratedIndex:t}=e,n=(0,i.jA)();return(0,r.jsxs)("div",{className:L,children:[(0,r.jsx)(_.Z,{}),(0,r.jsx)(k.Z,{}),(0,r.jsx)(Z.Z,{}),(0,r.jsxs)("header",{children:[(0,r.jsx)(m.Z,{as:"h1",className:w,children:t.title}),t.description&&(0,r.jsx)("p",{children:t.description})]}),(0,r.jsx)("article",{className:"margin-top--lg",children:(0,r.jsx)(j,{items:n.items,className:T})}),(0,r.jsx)("footer",{className:"margin-top--lg",children:(0,r.jsx)(N.Z,{previous:t.navigation.previous,next:t.navigation.next})})]})}function D(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{...e}),(0,r.jsx)(C,{...e})]})}},23944:function(e,t,n){n.d(t,{Z:()=>o});var r=n("85893");n("67294");var s=n("96025"),i=n("67026"),a=n("83012");function l(e){let{permalink:t,title:n,subLabel:s,isNext:l}=e;return(0,r.jsxs)(a.Z,{className:(0,i.Z)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,r.jsx)("div",{className:"pagination-nav__label",children:n})]})}function o(e){let{previous:t,next:n}=e;return(0,r.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.translate)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,r.jsx)(l,{...t,subLabel:(0,r.jsx)(s.default,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,r.jsx)(l,{...n,subLabel:(0,r.jsx)(s.default,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},46035:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(85893);n(67294);var s=n(67026),i=n(96025),a=n(84681),l=n(68529);function o(e){let{className:t}=e,n=(0,l.E)();return n.badge?(0,r.jsx)("span",{className:(0,s.Z)(t,a.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,r.jsx)(i.default,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},59580:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(85893);n(67294);var s=n(67026),i=n(2933),a=n(83012),l=n(96025),o=n(81723),c=n(84681),d=n(93896),u=n(68529);let m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,r.jsx)(l.default,{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:(0,r.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,r.jsx)(l.default,{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:(0,r.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){let t=m[e.versionMetadata.banner];return(0,r.jsx)(t,{...e})}function p(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,r.jsx)(l.default,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,r.jsx)("b",{children:(0,r.jsx)(a.Z,{to:n,onClick:s,children:(0,r.jsx)(l.default,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function b(e){let t,{className:n,versionMetadata:a}=e,{siteConfig:{title:l}}=(0,i.Z)(),{pluginId:u}=(0,o.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(u),{latestDocSuggestion:b,latestVersionSuggestion:x}=(0,o.Jo)(u);let f=b??(t=x).docs.find(e=>e.id===t.mainDocId);return(0,r.jsxs)("div",{className:(0,s.Z)(n,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,r.jsx)("div",{children:(0,r.jsx)(h,{siteTitle:l,versionMetadata:a})}),(0,r.jsx)("div",{className:"margin-top--md",children:(0,r.jsx)(p,{versionLabel:x.label,to:f.path,onClick:()=>m(x.name)})})]})}function x(e){let{className:t}=e,n=(0,u.E)();return n.banner?(0,r.jsx)(b,{className:t,versionMetadata:n}):null}},43115:function(e,t,n){n.d(t,{c:function(){return o}});var r=n(67294),s=n(2933);let i=["zero","one","two","few","many","other"];function a(e){return i.filter(t=>e.includes(t))}let l={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function o(){let e=function(){let{i18n:{currentLocale:e}}=(0,s.Z)();return(0,r.useMemo)(()=>{try{return function(e){let t=new Intl.PluralRules(e);return{locale:e,pluralForms:a(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}". +Docusaurus will fallback to the default (English) implementation. +Error: ${t.message} +`),l}},[e])}();return{selectMessage:(t,n)=>(function(e,t,n){let r=e.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}: ${e}`);let s=n.select(t);return r[Math.min(n.pluralForms.indexOf(s),r.length-1)]})(n,t,e)}}}}]); \ No newline at end of file diff --git a/assets/js/161.d05026b2.js b/assets/js/161.d05026b2.js new file mode 100644 index 0000000..f974940 --- /dev/null +++ b/assets/js/161.d05026b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["161"],{55845:function(e,r,c){c.d(r,{createArchitectureServices:function(){return n.i}});var n=c(94413);c(95318)}}]); \ No newline at end of file diff --git a/assets/js/1780.173e8733.js b/assets/js/1780.173e8733.js new file mode 100644 index 0000000..84229c1 --- /dev/null +++ b/assets/js/1780.173e8733.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1780"],{65521:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(16124);let i=function(e){return(0,r.Z)(e,4)}},77656:function(e,t,n){n.r(t),n.d(t,{render:()=>D});var r=n("29660"),i=n("37971");n("9833"),n("30594");var a=n("82612");n("41200"),n("68394");var d=n("74146"),c=n("49235"),o=n("61925"),s=n("65521"),l=n("97345");function g(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:function(e){return l.Z(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return!o.Z(n)&&(i.value=n),!o.Z(r)&&(i.parent=r),i})}(e),edges:function(e){return l.Z(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return!o.Z(t.name)&&(r.name=t.name),!o.Z(n)&&(r.value=n),r})}(e)};return!o.Z(e.graph())&&(t.value=s.Z(e.graph())),t}n("61135");var f=n("50043"),h=new Map,u=new Map,p=new Map,w=(0,d.eW)(()=>{u.clear(),p.clear(),h.clear()},"clear"),M=(0,d.eW)((e,t)=>{let n=u.get(t)||[];return d.cM.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),v=(0,d.eW)((e,t)=>{let n=u.get(t)||[];return d.cM.info("Descendants of ",t," is ",n),d.cM.info("Edge is ",e),e.v!==t&&e.w!==t&&(n?n.includes(e.v)||M(e.v,t)||M(e.w,t)||n.includes(e.w):(d.cM.debug("Tilt, ",t,",not in descendants"),!1))},"edgeInCluster"),y=(0,d.eW)((e,t,n,r)=>{d.cM.warn("Copying children of ",e,"root",r,"data",t.node(e),r);let i=t.children(e)||[];e!==r&&i.push(e),d.cM.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(i=>{if(t.children(i).length>0)y(i,t,n,r);else{let a=t.node(i);d.cM.info("cp ",i," to ",r," with parent ",e),n.setNode(i,a),r!==t.parent(i)&&(d.cM.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(d.cM.debug("Setting parent",i,e),n.setParent(i,e)):(d.cM.info("In copy ",e,"root",r,"data",t.node(e),r),d.cM.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));let c=t.edges(i);d.cM.debug("Copying Edges",c),c.forEach(i=>{d.cM.info("Edge",i);let a=t.edge(i.v,i.w,i.name);d.cM.info("Edge data",a,r);try{v(i,r)?(d.cM.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),d.cM.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):d.cM.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(e){d.cM.error(e)}})}d.cM.debug("Removing node",i),t.removeNode(i)})},"copy"),X=(0,d.eW)((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)p.set(i,e),r=[...r,...X(i,t)];return r},"extractDescendants"),m=(0,d.eW)((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),d=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>d.some(t=>e.v===t.v&&e.w===t.w))},"findCommonEdges"),b=(0,d.eW)((e,t,n)=>{let r;let i=t.children(e);if(d.cM.trace("Searching children of id ",e,i),i.length<1)return e;for(let e of i){let i=b(e,t,n),a=m(t,n,i);if(i){if(!(a.length>0))return i;r=i}}return r},"findNonClusterChild"),E=(0,d.eW)(e=>h.has(e)&&h.get(e).externalConnections?h.has(e)?h.get(e).id:e:e,"getAnchorId"),N=(0,d.eW)((e,t)=>{if(!e||t>10){d.cM.debug("Opting out, no graph ");return}d.cM.debug("Opting in, graph ");for(let t of(e.nodes().forEach(function(t){e.children(t).length>0&&(d.cM.warn("Cluster identified",t," Replacement id in edges: ",b(t,e,t)),u.set(t,X(t,e)),h.set(t,{id:b(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){let n=e.children(t),r=e.edges();n.length>0?(d.cM.debug("Cluster identified",t,u),r.forEach(e=>{let n=M(e.v,t);n^M(e.w,t)&&(d.cM.warn("Edge: ",e," leaves cluster ",t),d.cM.warn("Descendants of XXX ",t,": ",u.get(t)),h.get(t).externalConnections=!0)})):d.cM.debug("Not a cluster ",t,u)}),h.keys())){let n=h.get(t).id,r=e.parent(n);r!==t&&h.has(r)&&!h.get(r).externalConnections&&(h.get(t).id=r)}e.edges().forEach(function(t){let n=e.edge(t);d.cM.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),d.cM.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(d.cM.warn("Fix XXX",h,"ids:",t.v,t.w,"Translating: ",h.get(t.v)," --- ",h.get(t.w)),h.get(t.v)||h.get(t.w)){if(d.cM.warn("Fixing and trying - removing XXX",t.v,t.w,t.name),r=E(t.v),i=E(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v){let i=e.parent(r);h.get(i).externalConnections=!0,n.fromCluster=t.v}if(i!==t.w){let r=e.parent(i);h.get(r).externalConnections=!0,n.toCluster=t.w}d.cM.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name)}}),d.cM.warn("Adjusted Graph",g(e)),C(e,0),d.cM.trace(h)},"adjustClustersAndEdges"),C=(0,d.eW)((e,t)=>{if(d.cM.warn("extractor - ",t,g(e),e.children("D")),t>10){d.cM.error("Bailing out");return}let n=e.nodes(),r=!1;for(let t of n){let n=e.children(t);r=r||n.length>0}if(!r){d.cM.debug("Done, no node has children",e.nodes());return}for(let r of(d.cM.debug("Nodes = ",n,t),n))if(d.cM.debug("Extracting node",r,h,h.has(r)&&!h.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),h.has(r)){if(!h.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){d.cM.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";h.get(r)?.clusterData?.dir&&(n=h.get(r).clusterData.dir,d.cM.warn("Fixing dir",h.get(r).clusterData.dir,n));let i=new f.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});d.cM.warn("Old graph before copy",g(e)),y(r,e,i,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:h.get(r).clusterData,label:h.get(r).label,graph:i}),d.cM.warn("New graph after copy node: (",r,")",g(i)),d.cM.debug("Old graph after copy",g(e))}else d.cM.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!h.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),d.cM.debug(h)}else d.cM.debug("Not a cluster",r,t);for(let r of(n=e.nodes(),d.cM.warn("New list of nodes",n),n)){let n=e.node(r);d.cM.warn(" Now next level",r,n),n?.clusterNode&&C(n.graph,t+1)}},"extractor"),x=(0,d.eW)((e,t)=>{if(0===t.length)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=e.children(t),i=x(e,r);n=[...n,...i]}),n},"sorter"),S=(0,d.eW)(e=>x(e,e.children()),"sortNodesByHierarchy"),I=(0,d.eW)(async(e,t,n,o,s,l)=>{d.cM.warn("Graph in recursive render:XAX",g(t),s);let f=t.graph().rankdir;d.cM.trace("Dir in recursive render - dir:",f);let u=e.insert("g").attr("class","root");t.nodes()?d.cM.info("Recursive render XXX",t.nodes()):d.cM.info("No nodes found for",t),t.edges().length>0&&d.cM.info("Recursive edges",t.edge(t.edges()[0]));let p=u.insert("g").attr("class","clusters"),w=u.insert("g").attr("class","edgePaths"),M=u.insert("g").attr("class","edgeLabels"),v=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(e){let r=t.node(e);if(void 0!==s){let n=JSON.parse(JSON.stringify(s.clusterData));d.cM.trace("Setting data for parent cluster XXX\n Node.id = ",e,"\n data=",n.height,"\nParent cluster",s.height),t.setNode(s.id,n),!t.parent(e)&&(d.cM.trace("Setting parent",e,s.id),t.setParent(e,s.id,n))}if(d.cM.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r?.clusterNode){d.cM.info("Cluster identified XBX",e,r.width,t.node(e));let{ranksep:a,nodesep:c}=t.graph();r.graph.setGraph({...r.graph.graph(),ranksep:a+25,nodesep:c});let s=await I(v,r.graph,n,o,t.node(e),l),g=s.elem;(0,i.jr)(r,g),r.diff=s.diff||0,d.cM.info("New compound node after recursive render XAX",e,"width",r.width,"height",r.height),(0,i.Yn)(g,r)}else t.children(e).length>0?(d.cM.trace("Cluster - the non recursive path XBX",e,r.id,r,r.width,"Graph:",t),d.cM.trace(b(r.id,t)),h.set(r.id,{id:b(r.id,t),node:r})):(d.cM.trace("Node - the non recursive path XAX",e,v,t.node(e),f),await (0,i.Lf)(v,t.node(e),{config:l,dir:f}))}));let y=(0,d.eW)(async()=>{let e=t.edges().map(async function(e){let n=t.edge(e.v,e.w,e.name);d.cM.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),d.cM.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),d.cM.info("Fix",h,"ids:",e.v,e.w,"Translating: ",h.get(e.v),h.get(e.w)),await (0,r.I_)(M,n)});await Promise.all(e)},"processEdges");await y(),d.cM.info("Graph before layout:",JSON.stringify(g(t))),d.cM.info("############################################# XXX"),d.cM.info("### Layout ### XXX"),d.cM.info("############################################# XXX"),(0,c.bK)(t),d.cM.info("Graph after layout:",JSON.stringify(g(t)));let X=0,{subGraphTitleTotalMargin:m}=(0,a.L)(l);return await Promise.all(S(t).map(async function(e){let n=t.node(e);if(d.cM.info("Position XBX => "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n?.clusterNode)n.y+=m,d.cM.info("A tainted cluster node XBX1",e,n.id,n.width,n.height,n.x,n.y,t.parent(e)),h.get(n.id).node=n,(0,i.aH)(n);else if(t.children(e).length>0){d.cM.info("A pure cluster node XBX1",e,n.id,n.x,n.y,n.width,n.height,t.parent(e)),n.height+=m,t.node(n.parentId);let r=n?.padding/2||0,a=n?.labelBBox?.height||0;d.cM.debug("OffsetY",a-r||0,"labelHeight",a,"halfPadding",r),await (0,i.us)(p,n),h.get(n.id).node=n}else{let e=t.node(n.parentId);n.y+=m/2,d.cM.info("A regular node XBX1 - using the padding",n.id,"parent",n.parentId,n.width,n.height,n.x,n.y,"offsetY",n.offsetY,"parent",e,e?.offsetY,n),(0,i.aH)(n)}})),t.edges().forEach(function(e){let i=t.edge(e);d.cM.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(i),i),i.points.forEach(e=>e.y+=m/2);let a=t.node(e.v);var c=t.node(e.w);let s=(0,r.QP)(w,i,h,n,a,c,o);(0,r.Jj)(i,s)}),t.nodes().forEach(function(e){let n=t.node(e);d.cM.info(e,n.type,n.diff),n.isGroup&&(X=n.diff)}),d.cM.warn("Returning from recursive render XAX",u,X),{elem:u,diff:X}},"recursiveRender"),D=(0,d.eW)(async(e,t)=>{let n=new f.k({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.config?.flowchart?.nodeSpacing||e.nodeSpacing,ranksep:e.config?.rankSpacing||e.config?.flowchart?.rankSpacing||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),a=t.select("g");(0,r.DQ)(a,e.markers,e.type,e.diagramId),(0,i.gU)(),(0,r.ZH)(),(0,i.ZH)(),w(),e.nodes.forEach(e=>{n.setNode(e.id,{...e}),e.parentId&&n.setParent(e.id,e.parentId)}),d.cM.debug("Edges:",e.edges),e.edges.forEach(e=>{if(e.start===e.end){let t=e.start,r=t+"---"+t+"---1",i=t+"---"+t+"---2",a=n.node(t);n.setNode(r,{domId:r,id:r,parentId:a.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),n.setParent(r,a.parentId),n.setNode(i,{domId:i,id:i,parentId:a.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),n.setParent(i,a.parentId);let d=structuredClone(e),c=structuredClone(e),o=structuredClone(e);d.label="",d.arrowTypeEnd="none",d.id=t+"-cyclic-special-1",c.arrowTypeEnd="none",c.id=t+"-cyclic-special-mid",o.label="",a.isGroup&&(d.fromCluster=t,o.toCluster=t),o.id=t+"-cyclic-special-2",n.setEdge(t,r,d,t+"-cyclic-special-0"),n.setEdge(r,i,c,t+"-cyclic-special-1"),n.setEdge(i,t,o,t+"-cycp});var s=n("85893");n("67294");var a=n("67026"),l=n("84681"),i=n("69369"),o=n("79246"),r=n("83012"),c=n("96025"),d=n("4757");function u(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("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"})})}let m="breadcrumbHomeIcon_YNFT";function h(){let e=(0,d.ZP)("/");return(0,s.jsx)("li",{className:"breadcrumbs__item",children:(0,s.jsx)(r.Z,{"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,s.jsx)(u,{className:m})})})}let b="breadcrumbsContainer_Z_bl";function x(e){let{children:t,href:n,isLast:a}=e,l="breadcrumbs__link";return a?(0,s.jsx)("span",{className:l,itemProp:"name",children:t}):n?(0,s.jsx)(r.Z,{className:l,href:n,itemProp:"item",children:(0,s.jsx)("span",{itemProp:"name",children:t})}):(0,s.jsx)("span",{className:l,children:t})}function v(e){let{children:t,active:n,index:l,addMicrodata:i}=e;return(0,s.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,a.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,s.jsx)("meta",{itemProp:"position",content:String(l+1)})]})}function p(){let e=(0,i.s1)(),t=(0,o.Ns)();return e?(0,s.jsx)("nav",{className:(0,a.Z)(l.k.docs.docBreadcrumbs,b),"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,s.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,s.jsx)(h,{}),e.map((t,n)=>{let a=n===e.length-1,l="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,s.jsx)(v,{active:a,index:n,addMicrodata:!!l,children:(0,s.jsx)(x,{href:l,isLast:a,children:t.label})},n)})]})}):null}},25628:function(e,t,n){n.r(t),n.d(t,{default:()=>S});var s=n("85893"),a=n("67294"),l=n("14713"),i=n("85346");let o=a.createContext(null);function r(e){var t;let{children:n,content:l}=e;let i=(t=l,(0,a.useMemo)(()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,contentTitle:t.contentTitle,toc:t.toc}),[t]));return(0,s.jsx)(o.Provider,{value:i,children:n})}function c(){let e=(0,a.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){let{metadata:e,frontMatter:t,assets:n}=c();return(0,s.jsx)(l.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n("67026"),m=n("54704"),h=n("23944");function b(){let{metadata:e}=c();return(0,s.jsx)(h.Z,{previous:e.previous,next:e.next})}var x=n("59580"),v=n("46035"),p=n("84681"),j=n("96025"),g=n("48627");let f="tags_jXut",_="tag_QGVx";function C(e){let{tags:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("b",{children:(0,s.jsx)(j.default,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,s.jsx)("ul",{className:(0,u.Z)(f,"padding--none","margin-left--sm"),children:t.map(e=>(0,s.jsx)("li",{className:_,children:(0,s.jsx)(g.Z,{...e})},e.permalink))})]})}var N=n("86594");function k(){let{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,tags:l}=e,i=l.length>0,o=!!(t||n||a);return i||o?(0,s.jsxs)("footer",{className:(0,u.Z)(p.k.docs.docFooter,"docusaurus-mt-lg"),children:[i&&(0,s.jsx)("div",{className:(0,u.Z)("row margin-top--sm",p.k.docs.docFooterTagsRow),children:(0,s.jsx)("div",{className:"col",children:(0,s.jsx)(C,{tags:l})})}),o&&(0,s.jsx)(N.Z,{className:(0,u.Z)("margin-top--sm",p.k.docs.docFooterEditMetaRow),editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a})]}):null}var Z=n("57455"),L=n("76365");let T={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function w(e){let{collapsed:t,...n}=e;return(0,s.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",T.tocCollapsibleButton,!t&&T.tocCollapsibleButtonExpanded,n.className),children:(0,s.jsx)(j.default,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}let B={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function E(e){let{toc:t,className:n,minHeadingLevel:a,maxHeadingLevel:l}=e,{collapsed:i,toggleCollapsed:o}=(0,Z.u)({initialState:!0});return(0,s.jsxs)("div",{className:(0,u.Z)(B.tocCollapsible,!i&&B.tocCollapsibleExpanded,n),children:[(0,s.jsx)(w,{collapsed:i,onClick:o}),(0,s.jsx)(Z.z,{lazy:!0,className:B.tocCollapsibleContent,collapsed:i,children:(0,s.jsx)(L.Z,{toc:t,minHeadingLevel:a,maxHeadingLevel:l})})]})}let I="tocMobile_ITEo";function M(){let{toc:e,frontMatter:t}=c();return(0,s.jsx)(E,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(p.k.docs.docTocMobile,I)})}var V=n("1397");function y(){let{toc:e,frontMatter:t}=c();return(0,s.jsx)(V.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:p.k.docs.docTocDesktop})}var A=n("34403"),H=n("2584");function P(e){let{children:t}=e,n=function(){let{metadata:e,frontMatter:t,contentTitle:n}=c();return!t.hide_title&&void 0===n?e.title:null}();return(0,s.jsxs)("div",{className:(0,u.Z)(p.k.docs.docMarkdown,"markdown"),children:[n&&(0,s.jsx)("header",{children:(0,s.jsx)(A.Z,{as:"h1",children:n})}),(0,s.jsx)(H.Z,{children:t})]})}var F=n("52520"),R=n("38813");let D={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function O(e){let{children:t}=e,n=function(){let{frontMatter:e,toc:t}=c(),n=(0,m.i)(),a=e.hide_table_of_contents,l=!a&&t.length>0,i=l?(0,s.jsx)(M,{}):void 0;return{hidden:a,mobile:i,desktop:l&&("desktop"===n||"ssr"===n)?(0,s.jsx)(y,{}):void 0}}(),{metadata:a}=c();return(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&D.docItemCol),children:[(0,s.jsx)(R.Z,{metadata:a}),(0,s.jsx)(x.Z,{}),(0,s.jsxs)("div",{className:D.docItemContainer,children:[(0,s.jsxs)("article",{children:[(0,s.jsx)(F.Z,{}),(0,s.jsx)(v.Z,{}),n.mobile,(0,s.jsx)(P,{children:t}),(0,s.jsx)(k,{})]}),(0,s.jsx)(b,{})]})]}),n.desktop&&(0,s.jsx)("div",{className:"col col--3",children:n.desktop})]})}function S(e){let t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,s.jsx)(r,{content:e.content,children:(0,s.jsxs)(l.FG,{className:t,children:[(0,s.jsx)(d,{}),(0,s.jsx)(O,{children:(0,s.jsx)(n,{})})]})})}},23944:function(e,t,n){n.d(t,{Z:()=>r});var s=n("85893");n("67294");var a=n("96025"),l=n("67026"),i=n("83012");function o(e){let{permalink:t,title:n,subLabel:a,isNext:o}=e;return(0,s.jsxs)(i.Z,{className:(0,l.Z)("pagination-nav__link",o?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[a&&(0,s.jsx)("div",{className:"pagination-nav__sublabel",children:a}),(0,s.jsx)("div",{className:"pagination-nav__label",children:n})]})}function r(e){let{previous:t,next:n}=e;return(0,s.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,a.translate)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,s.jsx)(o,{...t,subLabel:(0,s.jsx)(a.default,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,s.jsx)(o,{...n,subLabel:(0,s.jsx)(a.default,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},46035:function(e,t,n){n.d(t,{Z:function(){return r}});var s=n(85893);n(67294);var a=n(67026),l=n(96025),i=n(84681),o=n(68529);function r(e){let{className:t}=e,n=(0,o.E)();return n.badge?(0,s.jsx)("span",{className:(0,a.Z)(t,i.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,s.jsx)(l.default,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},59580:function(e,t,n){n.d(t,{Z:function(){return v}});var s=n(85893);n(67294);var a=n(67026),l=n(2933),i=n(83012),o=n(96025),r=n(81723),c=n(84681),d=n(93896),u=n(68529);let m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,s.jsx)(o.default,{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:(0,s.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,s.jsx)(o.default,{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:(0,s.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){let t=m[e.versionMetadata.banner];return(0,s.jsx)(t,{...e})}function b(e){let{versionLabel:t,to:n,onClick:a}=e;return(0,s.jsx)(o.default,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,s.jsx)("b",{children:(0,s.jsx)(i.Z,{to:n,onClick:a,children:(0,s.jsx)(o.default,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function x(e){let t,{className:n,versionMetadata:i}=e,{siteConfig:{title:o}}=(0,l.Z)(),{pluginId:u}=(0,r.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(u),{latestDocSuggestion:x,latestVersionSuggestion:v}=(0,r.Jo)(u);let p=x??(t=v).docs.find(e=>e.id===t.mainDocId);return(0,s.jsxs)("div",{className:(0,a.Z)(n,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,s.jsx)("div",{children:(0,s.jsx)(h,{siteTitle:o,versionMetadata:i})}),(0,s.jsx)("div",{className:"margin-top--md",children:(0,s.jsx)(b,{versionLabel:v.label,to:p.path,onClick:()=>m(v.name)})})]})}function v(e){let{className:t}=e,n=(0,u.E)();return n.banner?(0,s.jsx)(x,{className:t,versionMetadata:n}):null}},48627:function(e,t,n){n.d(t,{Z:()=>o});var s=n("85893");n("67294");var a=n("67026"),l=n("83012");let i={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function o(e){let{permalink:t,label:n,count:o,description:r}=e;return(0,s.jsxs)(l.Z,{href:t,title:r,className:(0,a.Z)(i.tag,o?i.tagWithCount:i.tagRegular),children:[n,o&&(0,s.jsx)("span",{children:o})]})}}}]); \ No newline at end of file diff --git a/assets/js/1824.d9e8ca59.js b/assets/js/1824.d9e8ca59.js new file mode 100644 index 0000000..fb40cf2 --- /dev/null +++ b/assets/js/1824.d9e8ca59.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1824"],{31764:function(e,n,r){r.d(n,{createPieServices:function(){return s.l}});var s=r(75243);r(95318)}}]); \ No newline at end of file diff --git a/assets/js/1996.9a0f09ed.js b/assets/js/1996.9a0f09ed.js new file mode 100644 index 0000000..77d9429 --- /dev/null +++ b/assets/js/1996.9a0f09ed.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1996"],{89455:function(e,n,c){c.d(n,{createPacketServices:function(){return r.g}});var r=c(16100);c(95318)}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.3f55898d.js b/assets/js/1df93b7f.3f55898d.js new file mode 100644 index 0000000..9b6bcd9 --- /dev/null +++ b/assets/js/1df93b7f.3f55898d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8706"],{31:function(e,t,n){n.d(t,{Z:function(){return s}});var l,r,a,c=n(67294);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...s}=e;return c.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:142,height:149,fill:"none",viewBox:"0 0 142 149","aria-labelledby":n},s),t?c.createElement("title",{id:n},t):null,l||(l=c.createElement("path",{fill:"#D8EAFD",d:"M38.775 31.73a9.533 9.533 0 0 1 6.743-11.68 9.533 9.533 0 0 1 11.679 6.744l9.144 34.127a11.4 11.4 0 0 1 6.617-4.784c4.743-1.27 9.598.637 12.287 4.408 1.453-2.684 3.944-4.808 7.122-5.66a11.446 11.446 0 0 1 13.764 7.246 11.36 11.36 0 0 1 6.633-4.813c6.102-1.635 12.38 1.99 14.015 8.092l2.962 11.053.987 3.685L133.69 91.2c4.362 16.281-5.297 33.011-21.578 37.374l-3.684.987-14.738 3.949-.023.006-1.198.321a24 24 0 0 1-3.447.677 47.76 47.76 0 0 1-37.113-9.554l-22.504-17.664c-4.155-3.255-4.868-9.234-1.613-13.39 3.255-4.154 9.235-4.868 13.39-1.612l17.504 13.746zm42.08 53.883a3.826 3.826 0 0 0-4.671-2.697 3.826 3.826 0 0 0-2.697 4.671l5.923 22.107a3.825 3.825 0 0 0 4.672 2.697 3.825 3.825 0 0 0 2.697-4.671zm10.067-6.646a3.826 3.826 0 0 0-2.697 4.671l5.923 22.107a3.825 3.825 0 0 0 4.672 2.697 3.825 3.825 0 0 0 2.697-4.671l-5.924-22.107a3.826 3.826 0 0 0-4.671-2.697m19.409-1.252a3.825 3.825 0 0 0-4.671-2.697 3.826 3.826 0 0 0-2.698 4.671l5.924 22.107a3.825 3.825 0 0 0 4.671 2.697 3.825 3.825 0 0 0 2.698-4.671z"})),r||(r=c.createElement("path",{stroke:"#5595D9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:5,d:"M31.706 85.405 46.5 96.5 29.088 31.559c-.713-2.661-.875-5.538.3-8.03 3.23-6.85 8.546-5.75 12.512-3.12 2.215 1.467 3.471 3.932 4.18 6.493L54 55.5c7.2-8.4 14.667-3.5 17.5 0 7.6-10 15.833-3.167 19 1.5 9.6-8.8 16.333-2 18.5 2.5l6.157 23.747c.56 2.163.945 4.382.842 6.614-.732 15.829-11.728 24.299-17.5 26.639l-24 6.5c-14 3.2-26.5-3-31-6.5L21.93 98.813c-2.244-1.84-4.165-4.235-4.478-7.12-.629-5.804 2.882-8.308 7.052-8.792 2.614-.303 5.097.925 7.202 2.504"})),a||(a=c.createElement("path",{stroke:"#5595D9",strokeLinecap:"round",strokeWidth:5,d:"M2.824 30.274c3.5-15.167 19.6-40.2 56-19"})))}},3797:function(e,t,n){n.d(t,{Z:function(){return i}});var l,r,a=n(67294);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...i}=e;return a.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:130,height:134,fill:"none",viewBox:"0 0 130 134","aria-labelledby":n},i),t?a.createElement("title",{id:n},t):null,l||(l=a.createElement("path",{fill:"#D8EAFD",d:"M114.343 43.4C123.315 41.277 130 33.166 130 23.47 130 12.159 120.901 3 109.667 3c-11.031 0-20.003 8.827-20.334 19.83L42.618 41.66c-3.686-3.658-8.718-5.91-14.285-5.91C17.1 35.75 8 44.91 8 56.219s9.1 20.469 20.333 20.469c3.101 0 6.05-.691 8.667-1.945l37.007 32.596a20.8 20.8 0 0 0-.94 6.192C73.067 124.84 82.166 134 93.4 134s20.333-9.16 20.333-20.469c0-7.087-3.558-13.33-8.997-16.989zM47.726 62.41c.56-1.765.89-3.633.94-5.552l46.717-18.805c.915.895 1.88 1.714 2.948 2.43L88.723 93.6a19.7 19.7 0 0 0-4.016 1.407z"})),r||(r=a.createElement("path",{stroke:"#5595D9",strokeWidth:5,d:"m97.924 34.883-1.594.376-.292 1.611-8.898 49.086-.292 1.61 1.359.912a16.34 16.34 0 0 1 7.226 13.616c0 9.074-7.317 16.406-16.333 16.406s-16.333-7.332-16.333-16.406c0-1.73.267-3.415.755-4.97l.49-1.553-1.224-1.075L28.51 64.388 27.27 63.3l-1.487.71a16.1 16.1 0 0 1-6.95 1.552C9.817 65.563 2.5 58.23 2.5 49.157S9.818 32.75 18.833 32.75c4.467 0 8.504 1.798 11.472 4.736l1.167 1.155 1.524-.612 43.27-17.394 1.517-.61.05-1.634C78.097 9.568 85.312 2.5 94.166 2.5c9.015 0 16.333 7.332 16.333 16.406 0 7.778-5.375 14.277-12.576 15.977ZM34.413 54.12l-.494 1.556 1.226 1.078 34.253 30.108 1.244 1.094 1.492-.72c.995-.479 2.07-.848 3.212-1.119l1.59-.377.292-1.609 8.899-49.062.292-1.612-1.361-.912a16.7 16.7 0 0 1-2.376-1.956l-1.165-1.138-1.512.607-43.27 17.37-1.524.612-.044 1.642a16 16 0 0 1-.754 4.438Z"})))}},20281:function(e,t,n){n.d(t,{Z:function(){return s}});var l,r,a,c=n(67294);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...s}=e;return c.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:142,height:142,fill:"none",viewBox:"0 0 142 142","aria-labelledby":n},s),t?c.createElement("title",{id:n},t):null,l||(l=c.createElement("path",{fill:"#D8EAFD",fillRule:"evenodd",d:"M99.66 137.553c24.751-9.546 42.312-33.562 42.312-61.68 0-36.497-29.587-66.084-66.084-66.084S9.803 39.376 9.803 75.873c0 28.118 17.56 52.135 42.313 61.68l16.418-42.599c-7.657-2.953-13.09-10.382-13.09-19.08 0-11.291 9.153-20.444 20.443-20.444s20.444 9.153 20.444 20.443c0 8.698-5.433 16.128-13.09 19.081zm-22.067 4.383q-.85.022-1.705.022c-6.223 0-12.905-1.049-18.464-2.614a66.1 66.1 0 0 0 20.17 2.592",clipRule:"evenodd"})),r||(r=c.createElement("mask",{id:"a",width:131,height:127,x:.972,y:0,fill:"#000",maskUnits:"userSpaceOnUse"},c.createElement("path",{fill:"#fff",d:"M.972 0h131v127h-131z"}),c.createElement("path",{fillRule:"evenodd",d:"M87.9 121.491c22.568-8.703 38.579-30.6 38.579-56.237C126.479 31.976 99.503 5 66.226 5S5.972 31.976 5.972 65.254c0 25.637 16.011 47.534 38.58 56.238l14.97-38.841c-6.983-2.692-11.936-9.466-11.936-17.397 0-10.295 8.345-18.64 18.64-18.64s18.64 8.345 18.64 18.64c0 7.93-4.954 14.704-11.935 17.397z",clipRule:"evenodd"}))),a||(a=c.createElement("path",{fill:"#5595D9",d:"m87.9 121.491-4.666 1.798a5 5 0 0 0 6.465 2.867zm-43.348.001-1.8 4.665a5 5 0 0 0 6.465-2.867zm14.97-38.841 4.665 1.798a5 5 0 0 0-2.867-6.463zm13.409 0-1.8-4.665a5 5 0 0 0-2.866 6.463zm48.548-17.397c0 23.501-14.675 43.588-35.378 51.572l3.598 9.33c24.433-9.422 41.78-33.13 41.78-60.902zM66.226 10c30.515 0 55.253 24.738 55.253 55.254h10C131.479 29.215 102.264 0 66.226 0zM10.972 65.254C10.972 34.738 35.71 10 66.226 10V0C30.187 0 .972 29.215.972 65.254zm35.379 51.572c-20.704-7.984-35.379-28.07-35.379-51.572h-10c0 27.772 17.348 51.48 41.78 60.903zm8.505-35.973-14.97 38.84 9.331 3.597 14.97-38.84zm-12.27-15.6c0 10.067 6.29 18.652 15.136 22.063l3.598-9.33c-5.117-1.974-8.734-6.937-8.734-12.733zm23.64-23.639c-13.056 0-23.64 10.584-23.64 23.64h10c0-7.533 6.107-13.64 13.64-13.64zm23.64 23.64c0-13.056-10.585-23.64-23.64-23.64v10c7.532 0 13.64 6.107 13.64 13.64zM74.73 87.316c8.846-3.412 15.135-11.996 15.135-22.062h-10c0 5.795-3.616 10.758-8.733 12.732zm17.835 32.377-14.969-38.84-9.33 3.596 14.968 38.84z",mask:"url(#a)"})))}},12408:function(e,t,n){n.r(t),n.d(t,{default:()=>v});var l=n("85893"),r=n("67026"),a=n("83012"),c=n("2933"),i=n("37647"),s=n("34403");let o="features_t9lD",d="featureSvg_GfXr",h=[{title:"Easy to Use",Svg:n(31).Z,description:(0,l.jsx)(l.Fragment,{children:"PIES was designed from the ground up to be easily understood and installed in your application quickly."})},{title:"Interoperable",Svg:n(3797).Z,description:(0,l.jsx)(l.Fragment,{children:"PIES lets you focus on your data. Let your systems communicate to each other with ease."})},{title:"Open Source",Svg:n(20281).Z,description:(0,l.jsxs)(l.Fragment,{children:["Want to improve PIES? We welcome your"," ",(0,l.jsx)("a",{href:"https://github.com/bcgov/nr-permit-interoperability-exchange-specification",children:"contributions"}),"!"]})}];function u(e){let{title:t,Svg:n,description:a}=e;return(0,l.jsxs)("div",{className:(0,r.Z)("col col--4"),children:[(0,l.jsx)("div",{className:"text--center",children:(0,l.jsx)(n,{className:d,role:"img"})}),(0,l.jsxs)("div",{className:"text--center padding-horiz--md",children:[(0,l.jsx)(s.Z,{as:"h3",children:t}),(0,l.jsx)("p",{children:a})]})]})}function m(){return(0,l.jsx)("section",{className:o,children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:h.map((e,t)=>(0,l.jsx)(u,{...e},t))})})})}let p="heroBanner_qdFl",f="buttons_AeoN";function g(){let{siteConfig:e}=(0,c.Z)();return(0,l.jsx)("header",{className:(0,r.Z)("hero hero--primary",p),children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)(s.Z,{as:"h1",className:"hero__title",children:e.title}),(0,l.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,l.jsx)("div",{className:f,children:(0,l.jsx)(a.Z,{className:"button button--secondary button--lg",to:"/docs/intro/getting_started",children:"Get Started - 5min \u23F1\uFE0F"})})]})})}function v(){let{siteConfig:e}=(0,c.Z)();return(0,l.jsxs)(i.Z,{title:`Welcome to ${e.title}`,description:e.tagline,children:[(0,l.jsx)(g,{}),(0,l.jsx)("main",{children:(0,l.jsx)(m,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/1f02d974.b3007a0b.js b/assets/js/1f02d974.b3007a0b.js new file mode 100644 index 0000000..6a0f4f7 --- /dev/null +++ b/assets/js/1f02d974.b3007a0b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1509"],{10806:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Data Types","description":"Data Types","slug":"/category/data-types","permalink":"/nr-pies/docs/category/data-types","sidebar":"docSidebar","navigation":{"previous":{"title":"Process Tracking","permalink":"/nr-pies/docs/spec/concept/process_tracking"},"next":{"title":"Code","permalink":"/nr-pies/docs/spec/data/code"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/1f391b9e.046a0919.js b/assets/js/1f391b9e.046a0919.js new file mode 100644 index 0000000..70745ca --- /dev/null +++ b/assets/js/1f391b9e.046a0919.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2493"],{8402:function(e,a,s){s.r(a),s.d(a,{default:()=>g});var i=s("85893");s("67294");var l=s("67026"),t=s("14713"),n=s("84681"),c=s("37647"),d=s("2584"),r=s("1397"),o=s("38813"),m=s("86594");let x="mdxPageWrapper_j9I6";function g(e){let{content:a}=e,{metadata:s,assets:g}=a,{title:p,editUrl:h,description:j,frontMatter:_,lastUpdatedBy:v,lastUpdatedAt:u}=s,{keywords:Z,wrapperClassName:k,hide_table_of_contents:f}=_,w=g.image??_.image,N=!!(h||u||v);return(0,i.jsx)(t.FG,{className:(0,l.Z)(k??n.k.wrapper.mdxPages,n.k.page.mdxPage),children:(0,i.jsxs)(c.Z,{children:[(0,i.jsx)(t.d,{title:p,description:j,keywords:Z,image:w}),(0,i.jsx)("main",{className:"container container--fluid margin-vert--lg",children:(0,i.jsxs)("div",{className:(0,l.Z)("row",x),children:[(0,i.jsxs)("div",{className:(0,l.Z)("col",!f&&"col--8"),children:[(0,i.jsx)(o.Z,{metadata:s}),(0,i.jsx)("article",{children:(0,i.jsx)(d.Z,{children:(0,i.jsx)(a,{})})}),N&&(0,i.jsx)(m.Z,{className:(0,l.Z)("margin-top--sm",n.k.pages.pageFooterEditMetaRow),editUrl:h,lastUpdatedAt:u,lastUpdatedBy:v})]}),!f&&a.toc.length>0&&(0,i.jsx)("div",{className:"col col--2",children:(0,i.jsx)(r.Z,{toc:a.toc,minHeadingLevel:_.toc_min_heading_level,maxHeadingLevel:_.toc_max_heading_level})})]})})]})})}}}]); \ No newline at end of file diff --git a/assets/js/2061.4824b421.js b/assets/js/2061.4824b421.js new file mode 100644 index 0000000..73dcaff --- /dev/null +++ b/assets/js/2061.4824b421.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2061"],{68544:function(e,s,n){n.r(s)}}]); \ No newline at end of file diff --git a/assets/js/21038ea1.4aa5f762.js b/assets/js/21038ea1.4aa5f762.js new file mode 100644 index 0000000..b0ff21b --- /dev/null +++ b/assets/js/21038ea1.4aa5f762.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9597"],{11958:function(e,t,n){n.r(t),n.d(t,{metadata:()=>r,contentTitle:()=>i,default:()=>u,assets:()=>l,toc:()=>d,frontMatter:()=>a});var r=JSON.parse('{"id":"docusaurus/intro","title":"Tutorial Intro","description":"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get","source":"@site/docs/docusaurus/intro.md","sourceDirName":"docusaurus","slug":"/docusaurus/intro","permalink":"/nr-pies/docs/docusaurus/intro","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/intro.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","next":{"title":"Tutorial - Basics","permalink":"/nr-pies/docs/category/tutorial---basics"}}'),s=n("85893"),o=n("50065");let a={sidebar_position:1},i="Tutorial Intro",l={},d=[{value:"Getting Started",id:"getting-started",level:2},{value:"What you'll need",id:"what-youll-need",level:3},{value:"Generate a new site",id:"generate-a-new-site",level:2},{value:"Start your site",id:"start-your-site",level:2}];function c(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"tutorial-intro",children:"Tutorial Intro"})}),"\n",(0,s.jsx)(t.p,{children:"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get\nstarted, please review the following:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./tutorial_basics/create_a_page",children:"Create a Page"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features",children:"Markdown Features"})}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Everything else below this line includes the original tutorial documentation for setting up and using Docusaurus."}),"\n",(0,s.jsx)(t.hr,{}),"\n",(0,s.jsxs)(t.p,{children:["Let's discover ",(0,s.jsx)(t.strong,{children:"Docusaurus in less than 5 minutes"}),"."]}),"\n",(0,s.jsx)(t.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,s.jsxs)(t.p,{children:["Get started by ",(0,s.jsx)(t.strong,{children:"creating a new site"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Or ",(0,s.jsx)(t.strong,{children:"try Docusaurus immediately"})," with ",(0,s.jsx)(t.strong,{children:(0,s.jsx)(t.a,{href:"https://docusaurus.new",children:"docusaurus.new"})}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"what-youll-need",children:"What you'll need"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.a,{href:"https://nodejs.org/en/download/",children:"Node.js"})," version 18.0 or above:","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"When installing Node.js, you are recommended to check all checkboxes related to dependencies."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"generate-a-new-site",children:"Generate a new site"}),"\n",(0,s.jsxs)(t.p,{children:["Generate a new Docusaurus site using the ",(0,s.jsx)(t.strong,{children:"classic template"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"The classic template will automatically be added to your project after you run the command:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"npm init docusaurus@latest my-website classic\n"})}),"\n",(0,s.jsx)(t.p,{children:"You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor."}),"\n",(0,s.jsx)(t.p,{children:"The command also installs all necessary dependencies you need to run Docusaurus."}),"\n",(0,s.jsx)(t.h2,{id:"start-your-site",children:"Start your site"}),"\n",(0,s.jsx)(t.p,{children:"Run the development server:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"cd my-website\nnpm run start\n"})}),"\n",(0,s.jsxs)(t.p,{children:["The ",(0,s.jsx)(t.code,{children:"cd"})," command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there."]}),"\n",(0,s.jsxs)(t.p,{children:["The ",(0,s.jsx)(t.code,{children:"npm run start"})," command builds your website locally and serves it through a development server, ready for you to view at ",(0,s.jsx)(t.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Open ",(0,s.jsx)(t.code,{children:"docs/intro.md"})," (this page) and edit some lines: the site ",(0,s.jsx)(t.strong,{children:"reloads automatically"})," and displays your changes."]})]})}function u(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},50065:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return a}});var r=n(67294);let s={},o=r.createContext(s);function a(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/21cb2624.a563dadb.js b/assets/js/21cb2624.a563dadb.js new file mode 100644 index 0000000..b586939 --- /dev/null +++ b/assets/js/21cb2624.a563dadb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["287"],{35244:function(e,t,n){n.r(t),n.d(t,{metadata:()=>i,contentTitle:()=>o,default:()=>h,assets:()=>l,toc:()=>c,frontMatter:()=>r});var i=JSON.parse('{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","source":"@site/docs/intro/getting_started.md","sourceDirName":"intro","slug":"/intro/getting_started","permalink":"/nr-pies/docs/intro/getting_started","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/intro/getting_started.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Executive","permalink":"/nr-pies/docs/tags/executive","description":"Content related to policies and strategic alignment"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732324298000,"sidebarPosition":1,"frontMatter":{"id":"getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","sidebar_position":1,"tags":["business","executive"]},"sidebar":"docSidebar","next":{"title":"Terminology","permalink":"/nr-pies/docs/intro/terminology"}}'),s=n("85893"),a=n("50065");let r={id:"getting_started",title:"Getting Started",description:"Introduction to the Natural Resource Sector PIES",sidebar_position:1,tags:["business","executive"]},o=void 0,l={},c=[{value:"Purpose",id:"purpose",level:2},{value:"Objectives",id:"objectives",level:2},{value:"Getting Everyone on the Same Page",id:"getting-everyone-on-the-same-page",level:3},{value:"Documentation",id:"documentation",level:3},{value:"Goals",id:"goals",level:2},{value:"Schemas",id:"schemas",level:2}];function d(e){let t={h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Welcome! This site repository contains common schemas related to permitting in the Natural Resources Sector for the\nProvince of British Columbia. The intent of these are to standardize the way permitting in the Natural Resource Sector\nis described as data to enable quality and interoperability."}),"\n",(0,s.jsx)(t.p,{children:"Hosting this specification in the open will encourage collaboration, adoption and enable versioning."}),"\n",(0,s.jsx)(t.p,{children:"These will be reviewed and updated with relevant partners, data custodians, stewards and sector permitting teams."}),"\n",(0,s.jsx)(t.h2,{id:"purpose",children:"Purpose"}),"\n",(0,s.jsx)(t.p,{children:"Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as\nmany ways to collect, process and store information from intake to decision. Analytics and reporting and permitting\nreform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems\ncan't integrate without a common language."}),"\n",(0,s.jsx)(t.p,{children:"This standard specifies the foundational set of core descriptive data types and elements required to enable the\ncompatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the\npurpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for\npolicy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on\npermitting."}),"\n",(0,s.jsx)(t.h2,{id:"objectives",children:"Objectives"}),"\n",(0,s.jsx)(t.p,{children:"The main objective of PIES is to deliver a published specification to enable better data quality and system\ninteroperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or\nusable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes\nacross the sector."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["Make it easier to connect and work with the information in different permitting systems.","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Reduce the effort and cost of systems integrations and automation."}),"\n",(0,s.jsx)(t.li,{children:"Unlock the ability to provide consistent progress tracking to proponents."}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.li,{children:"Create technical guidelines that help various systems communicate smoothly and consistently."}),"\n",(0,s.jsx)(t.li,{children:"Support different ways for systems to communicate with each other."}),"\n",(0,s.jsx)(t.li,{children:"Unlock potential for evidence-based policy and transformative potential of AI."}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"getting-everyone-on-the-same-page",children:"Getting Everyone on the Same Page"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Set up a working group for people interested to contribute and adopt PIES. See MS Teams."}),"\n",(0,s.jsx)(t.li,{children:"Create clear rules for data governance."}),"\n",(0,s.jsx)(t.li,{children:"Develop a common language so everyone understands the same terms."}),"\n",(0,s.jsx)(t.li,{children:"Gather feedback to ensure data is represented accurately and clearly."}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"documentation",children:"Documentation"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Share best practices for documenting government data standards."}),"\n",(0,s.jsx)(t.li,{children:"Identify and list common permitting concepts and data types."}),"\n",(0,s.jsx)(t.li,{children:"Create a plan for implementing solutions using transformations and microservices."}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"And of course, PIES are delicious! \uD83D\uDE04"}),"\n",(0,s.jsx)(t.h2,{id:"goals",children:"Goals"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["Enable a cross sector view","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Through appropriate data access"}),"\n",(0,s.jsx)(t.li,{children:"Creates a single point of validated reporting"}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Data quality"}),"\n",(0,s.jsx)(t.li,{children:"Data and information consistency"}),"\n",(0,s.jsx)(t.li,{children:"Identify processing times"}),"\n",(0,s.jsx)(t.li,{children:"Data harmonization cross sector level reporting"}),"\n",(0,s.jsx)(t.li,{children:"Activity bundling and linking"}),"\n",(0,s.jsx)(t.li,{children:"Coordinated First Nations Consultation"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to\nachieve interoperability (the ability for the systems to understand the key elements of information they need to share\nand talk to each other in a common language)."}),"\n",(0,s.jsx)(t.p,{children:"An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will\nfocus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems\ninto the data standards."}),"\n",(0,s.jsx)(t.h2,{id:"schemas",children:"Schemas"}),"\n",(0,s.jsx)(t.p,{children:"TBD"})]})}function h(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},50065:function(e,t,n){n.d(t,{Z:function(){return o},a:function(){return r}});var i=n(67294);let s={},a=i.createContext(s);function r(e){let t=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2247.b77acacf.js b/assets/js/2247.b77acacf.js new file mode 100644 index 0000000..fa5674f --- /dev/null +++ b/assets/js/2247.b77acacf.js @@ -0,0 +1,85 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2247"],{22851:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|:)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},17967:function(t,e,r){"use strict";e.sanitizeUrl=void 0;var i=r(22851);function n(t){try{return decodeURIComponent(t)}catch(e){return t}}e.sanitizeUrl=function(t){if(!t)return i.BLANK_URL;var e,r=n(t.trim());do e=(r=n(r=r.replace(i.ctrlCharactersRegex,"").replace(i.htmlEntitiesRegex,function(t,e){return String.fromCharCode(e)}).replace(i.htmlCtrlEntityRegex,"").replace(i.ctrlCharactersRegex,"").replace(i.whitespaceEscapeCharsRegex,"").trim())).match(i.ctrlCharactersRegex)||r.match(i.htmlEntitiesRegex)||r.match(i.htmlCtrlEntityRegex)||r.match(i.whitespaceEscapeCharsRegex);while(e&&e.length>0);var a=r;if(!a)return i.BLANK_URL;if(c=a,i.relativeFirstCharacters.indexOf(c[0])>-1)return a;var o=a.trimStart(),s=o.match(i.urlSchemeRegex);if(!s)return a;var l=s[0].toLowerCase().trim();if(i.invalidProtocolRegex.test(l))return i.BLANK_URL;var h=o.replace(/\\/g,"/");if("mailto:"===l||l.includes("://"))return h;if("http:"===l||"https:"===l){if(u=h,!URL.canParse(u))return i.BLANK_URL;var c,u,d=new URL(h);return d.protocol=d.protocol.toLowerCase(),d.hostname=d.hostname.toLowerCase(),d.toString()}return h}},27484:function(t){var e,r;e=0,r=function(){"use strict";var t="millisecond",e="second",r="minute",i="hour",n="week",a="month",o="quarter",s="year",l="date",h="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|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,d=function(t,e,r){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(r)+t},f="en",p={};p[f]={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"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||"th")+"]"}};var g="$isDayjsObject",y=function(t){return t instanceof k||!(!t||!t[g])},m=function t(e,r,i){var n;if(!e)return f;if("string"==typeof e){var a=e.toLowerCase();p[a]&&(n=a),r&&(p[a]=r,n=a);var o=e.split("-");if(!n&&o.length>1)return t(o[0])}else{var s=e.name;p[s]=e,n=s}return!i&&n&&(f=n),n||!i&&f},x=function(t,e){if(y(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new k(r)},b={s:d,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(r/60),2,"0")+":"+d(r%60,2,"0")},m:function t(e,r){if(e.date()=1&&((null===(r=e.randomizer)||void 0===r?void 0:r.next())||Math.random())>.7&&(o=a),function(t,e,r,n=1){let a=Math.max(e,.1),o=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,s=[0,0];if(r)for(let t of o)i(t,s,r);let l=function(t,e,r){let i=[];for(let e of t){var n,a;let t=[...e];n=t[0],a=t[t.length-1],n[0]===a[0]&&n[1]===a[1]||t.push([t[0][0],t[0][1]]),t.length>2&&i.push(t)}let o=[];e=Math.max(e,.1);let s=[];for(let t of i)for(let e=0;et.ymine.ymin?1:t.xe.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax)),!s.length)return o;let l=[],h=s[0].ymin,c=0;for(;l.length||s.length;){if(s.length){let t=-1;for(let e=0;eh);e++)t=e;s.splice(0,t+1).forEach(t=>{l.push({s:h,edge:t})})}if((l=l.filter(t=>!(t.edge.ymax<=h))).sort((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x)),(1!==r||c%e==0)&&l.length>1)for(let t=0;t=l.length)break;let r=l[t].edge,i=l[e].edge;o.push([[Math.round(r.x),h],[Math.round(i.x),h]])}h+=r,l.forEach(t=>{t.edge.x=t.edge.x+r*t.edge.islope}),c++}return o}(o,a,n);if(r){for(let t of o)i(t,s,-r);!function(t,e,r){let n=[];t.forEach(t=>n.push(...t)),i(n,e,r)}(l,s,-r)}return l}(t,a,n,o||1)}class a{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){let r=n(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){let r=[];for(let i of t)r.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],e));return r}}function o(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class s extends a{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth);let i=n(t,Object.assign({},e,{hachureGap:r=Math.max(r,.1)})),a=Math.PI/180*e.hachureAngle,s=[],l=.5*r*Math.cos(a),h=.5*r*Math.sin(a);for(let[t,e]of i)o([t,e])&&s.push([[t[0]-l,t[1]+h],[...e]],[[t[0]+l,t[1]-h],[...e]]);return{type:"fillSketch",ops:this.renderLines(s,e)}}}class l extends a{fillPolygons(t,e){let r=this._fillPolygons(t,e),i=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),n=this._fillPolygons(t,i);return r.ops=r.ops.concat(n.ops),r}}class h{constructor(t){this.helper=t}fillPolygons(t,e){let r=n(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){let r=[],i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.max(i,.1);let n=e.fillWeight;n<0&&(n=e.strokeWidth/2);let a=i/4;for(let s of t){let t=o(s),l=Math.ceil(t/i)-1,h=t-l*i,c=(s[0][0]+s[1][0])/2-i/4,u=Math.min(s[0][1],s[1][1]);for(let t=0;t{let a=o(t),s=Math.floor(a/(r+i)),l=(a+i-s*(r+i))/2,h=t[0],c=t[1];h[0]>c[0]&&(h=t[1],c=t[0]);let u=Math.atan((c[1]-h[1])/(c[0]-h[0]));for(let t=0;t{let n=Math.round(o(t)/(2*e)),a=t[0],s=t[1];a[0]>s[0]&&(a=t[1],s=t[0]);let l=Math.atan((s[1]-a[1])/(s[0]-a[0]));for(let t=0;ti%2?t+r:t+e);a.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":a.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{let t=s.map((t,i)=>i%2?t+r:t+e);a.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":a.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],a.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":a.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],a.push({key:"V",data:[r]});break;case"S":a.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{let t=s.map((t,i)=>i%2?t+r:t+e);a.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":a.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],a.push({key:"T",data:[e,r]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=i,r=n}return a}function x(t){let e=[],r="",i=0,n=0,a=0,o=0,s=0,l=0;for(let{key:h,data:c}of t){switch(h){case"M":e.push({key:"M",data:[...c]}),[i,n]=c,[a,o]=c;break;case"C":e.push({key:"C",data:[...c]}),i=c[4],n=c[5],s=c[2],l=c[3];break;case"L":e.push({key:"L",data:[...c]}),[i,n]=c;break;case"H":i=c[0],e.push({key:"L",data:[i,n]});break;case"V":n=c[0],e.push({key:"L",data:[i,n]});break;case"S":{let t=0,a=0;"C"===r||"S"===r?(t=i+(i-s),a=n+(n-l)):(t=i,a=n),e.push({key:"C",data:[t,a,...c]}),s=c[0],l=c[1],i=c[2],n=c[3];break}case"T":{let[t,a]=c,o=0,h=0;"Q"===r||"T"===r?(o=i+(i-s),h=n+(n-l)):(o=i,h=n);let u=i+2*(o-i)/3,d=n+2*(h-n)/3,f=t+2*(o-t)/3,p=a+2*(h-a)/3;e.push({key:"C",data:[u,d,f,p,t,a]}),s=o,l=h,i=t,n=a;break}case"Q":{let[t,r,a,o]=c,h=i+2*(t-i)/3,u=n+2*(r-n)/3,d=a+2*(t-a)/3,f=o+2*(r-o)/3;e.push({key:"C",data:[h,u,d,f,a,o]}),s=t,l=r,i=a,n=o;break}case"A":{let t=Math.abs(c[0]),r=Math.abs(c[1]),a=c[2],o=c[3],s=c[4],l=c[5],h=c[6];0===t||0===r?(e.push({key:"C",data:[i,n,l,h,l,h]}),i=l,n=h):(i!==l||n!==h)&&((function t(e,r,i,n,a,o,s,l,h,c){let u=Math.PI*s/180,d=[],f=0,p=0,g=0,y=0;if(c)[f,p,g,y]=c;else{[e,r]=b(e,r,-u),[i,n]=b(i,n,-u);let t=(e-i)/2,s=(r-n)/2,c=t*t/(a*a)+s*s/(o*o);c>1&&(a*=c=Math.sqrt(c),o*=c);let d=a*a,m=o*o,x=(l===h?-1:1)*Math.sqrt(Math.abs((d*m-d*s*s-m*t*t)/(d*s*s+m*t*t)));g=x*a*s/o+(e+i)/2,y=-(x*o)*t/a+(r+n)/2,f=Math.asin(parseFloat(((r-y)/o).toFixed(9))),p=Math.asin(parseFloat(((n-y)/o).toFixed(9))),ep&&(f-=2*Math.PI),!h&&p>f&&(p-=2*Math.PI)}let m=p-f;if(Math.abs(m)>120*Math.PI/180){let e=p,r=i,l=n;d=t(i=g+a*Math.cos(p=h&&p>f?f+120*Math.PI/180*1:f+-(120*Math.PI/180*1)),n=y+o*Math.sin(p),r,l,a,o,s,0,h,[p,e,g,y])}m=p-f;let x=Math.cos(f),k=Math.cos(p),C=Math.tan(m/4),w=4/3*a*C,_=4/3*o*C,v=[e,r],T=[e+w*Math.sin(f),r-_*x],S=[i+w*Math.sin(p),n-_*k],M=[i,n];if(T[0]=2*v[0]-T[0],T[1]=2*v[1]-T[1],c)return[T,S,M].concat(d);{d=[T,S,M].concat(d);let t=[];for(let e=0;e2){let n=[];for(let e=0;e2*Math.PI&&(u=0,d=2*Math.PI);let f=Math.min(2*Math.PI/l.curveStepCount/2,(d-u)/2),p=I(f,t,e,h,c,u,d,1,l);if(!l.disableMultiStroke){let r=I(f,t,e,h,c,u,d,1.5,l);p.push(...r)}return o&&(s?p.push(...E(t,e,t+h*Math.cos(u),e+c*Math.sin(u),l),...E(t,e,t+h*Math.cos(d),e+c*Math.sin(d),l)):p.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+h*Math.cos(u),e+c*Math.sin(u)]})),{type:"path",ops:p}}function M(t,e){let r=x(m(y(t))),i=[],n=[0,0],a=[0,0];for(let{key:t,data:o}of r)switch(t){case"M":a=[o[0],o[1]],n=[o[0],o[1]];break;case"L":i.push(...E(a[0],a[1],o[0],o[1],e)),a=[o[0],o[1]];break;case"C":{let[t,r,n,s,l,h]=o;i.push(...function(t,e,r,i,n,a,o,s){let l=[],h=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],c=[0,0],u=s.disableMultiStroke?1:2,d=s.preserveVertices;for(let f=0;f2){r.push({op:"move",data:[i[0][0]+W(t,e),i[0][1]+W(t,e)]});for(let a=1;a500?.4:-.0016668*l+1.233334;let c=n.maxRandomnessOffset||0;c*c*100>s&&(c=l/10);let u=c/2,d=.2+.2*F(n),f=n.bowing*n.maxRandomnessOffset*(i-e)/200,p=n.bowing*n.maxRandomnessOffset*(t-r)/200;f=W(f,n,h),p=W(p,n,h);let g=[],y=()=>W(u,n,h),m=()=>W(c,n,h),x=n.preserveVertices;return a&&(o?g.push({op:"move",data:[t+(x?0:y()),e+(x?0:y())]}):g.push({op:"move",data:[t+(x?0:W(c,n,h)),e+(x?0:W(c,n,h))]})),o?g.push({op:"bcurveTo",data:[f+t+(r-t)*d+y(),p+e+(i-e)*d+y(),f+t+2*(r-t)*d+y(),p+e+2*(i-e)*d+y(),r+(x?0:y()),i+(x?0:y())]}):g.push({op:"bcurveTo",data:[f+t+(r-t)*d+m(),p+e+(i-e)*d+m(),f+t+2*(r-t)*d+m(),p+e+2*(i-e)*d+m(),r+(x?0:m()),i+(x?0:m())]}),g}function O(t,e,r){if(!t.length)return[];let i=[];i.push([t[0][0]+W(e,r),t[0][1]+W(e,r)]),i.push([t[0][0]+W(e,r),t[0][1]+W(e,r)]);for(let n=1;n3){let a=[],o=1-r.curveTightness;n.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2l&&(l=e,h=i)}return Math.sqrt(l)>i?(q(t,e,h+1,i,a),q(t,h,r,i,a)):(a.length||a.push(o),a.push(s)),a}function H(t,e=.15,r){let i=[],n=(t.length-1)/3;for(let r=0;r1&&a.push(t):a.push(t),a.push(e[r+3])}else{let n=e[r+0],o=e[r+1],s=e[r+2],l=e[r+3],h=P(n,o,.5),c=P(o,s,.5),u=P(s,l,.5),d=P(h,c,.5),f=P(c,u,.5),p=P(d,f,.5);t([n,h,d,p],0,i,a),t([p,f,u,l],0,i,a)}return a}(t,3*r,e,i);return r&&r>0?q(i,0,i.length,r):i}let U="none";class Y{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(0x80000000*Math.random())}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,i,n){let a=this._o(n);return this._d("line",[C(t,e,r,i,a)],a)}rectangle(t,e,r,i,n){let a=this._o(n),o=[],s=function(t,e,r,i,n){return w([[t,e],[t+r,e],[t+r,e+i],[t,e+i]],!0,n)}(t,e,r,i,a);if(a.fill){let n=[[t,e],[t+r,e],[t+r,e+i],[t,e+i]];"solid"===a.fillStyle?o.push(B([n],a)):o.push(L([n],a))}return a.stroke!==U&&o.push(s),this._d("rectangle",o,a)}ellipse(t,e,r,i,n){let a=this._o(n),o=[],s=v(r,i,a),l=T(t,e,a,s);if(a.fill){if("solid"===a.fillStyle){let r=T(t,e,a,s).opset;r.type="fillPath",o.push(r)}else o.push(L([l.estimatedPoints],a))}return a.stroke!==U&&o.push(l.opset),this._d("ellipse",o,a)}circle(t,e,r,i){let n=this.ellipse(t,e,r,r,i);return n.shape="circle",n}linearPath(t,e){let r=this._o(e);return this._d("linearPath",[w(t,!1,r)],r)}arc(t,e,r,i,n,a,o=!1,s){let l=this._o(s),h=[],c=S(t,e,r,i,n,a,o,!0,l);if(o&&l.fill){if("solid"===l.fillStyle){let o=Object.assign({},l);o.disableMultiStroke=!0;let s=S(t,e,r,i,n,a,!0,!1,o);s.type="fillPath",h.push(s)}else h.push(function(t,e,r,i,n,a,o){let s=Math.abs(r/2),l=Math.abs(i/2);s+=W(.01*s,o),l+=W(.01*l,o);let h=n,c=a;for(;h<0;)h+=2*Math.PI,c+=2*Math.PI;c-h>2*Math.PI&&(h=0,c=2*Math.PI);let u=(c-h)/o.curveStepCount,d=[];for(let r=h;r<=c;r+=u)d.push([t+s*Math.cos(r),e+l*Math.sin(r)]);return d.push([t+s*Math.cos(c),e+l*Math.sin(c)]),d.push([t,e]),L([d],o)}(t,e,r,i,n,a,l))}return l.stroke!==U&&h.push(c),this._d("arc",h,l)}curve(t,e){let r=this._o(e),i=[],n=_(t,r);if(r.fill&&r.fill!==U){if("solid"===r.fillStyle){let e=_(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{let e=[];if(t.length)for(let i of"number"==typeof t[0][0]?[t]:t)i.length<3?e.push(...i):3===i.length?e.push(...H(j([i[0],i[0],i[1],i[2]]),10,(1+r.roughness)/2)):e.push(...H(j(i),10,(1+r.roughness)/2));e.length&&i.push(L([e],r))}}return r.stroke!==U&&i.push(n),this._d("curve",i,r)}polygon(t,e){let r=this._o(e),i=[],n=w(t,!0,r);return r.fill&&("solid"===r.fillStyle?i.push(B([t],r)):i.push(L([t],r))),r.stroke!==U&&i.push(n),this._d("polygon",i,r)}path(t,e){let r=this._o(e),i=[];if(!t)return this._d("path",i,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let n=r.fill&&"transparent"!==r.fill&&r.fill!==U,a=r.stroke!==U,o=!!(r.simplification&&r.simplification<1),s=function(t,e,r){let i=x(m(y(t))),n=[],a=[],o=[0,0],s=[],l=()=>{s.length>=4&&a.push(...H(s,1)),s=[]},h=()=>{l(),a.length&&(n.push(a),a=[])};for(let{key:t,data:e}of i)switch(t){case"M":h(),o=[e[0],e[1]],a.push(o);break;case"L":l(),a.push([e[0],e[1]]);break;case"C":if(!s.length){let t=a.length?a[a.length-1]:o;s.push([t[0],t[1]])}s.push([e[0],e[1]]),s.push([e[2],e[3]]),s.push([e[4],e[5]]);break;case"Z":l(),a.push([o[0],o[1]])}if(h(),!r)return n;let c=[];for(let t of n){var u,d;let e=(u=t,d=r,q(u,0,u.length,d));e.length&&c.push(e)}return c}(t,1,o?4-4*(r.simplification||1):(1+r.roughness)/2),l=M(t,r);if(n){if("solid"===r.fillStyle){if(1===s.length){let e=M(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else i.push(B(s,r))}else i.push(L(s,r))}return a&&(o?s.forEach(t=>{i.push(w(t,!1,r))}):i.push(l)),this._d("path",i,r)}opsToPath(t,e){let r="";for(let i of t.ops){let t="number"==typeof e&&e>=0?i.data.map(t=>+t.toFixed(e)):i.data;switch(i.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){let e=t.sets||[],r=t.options||this.defaultOptions,i=[];for(let t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:U};break;case"fillPath":e={d:this.opsToPath(t),stroke:U,strokeWidth:0,fill:r.fill||U};break;case"fillSketch":e=this.fillSketch(t,r)}e&&i.push(e)}return i}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||U,strokeWidth:r,fill:U}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class V{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new Y(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.ctx,n=t.options.fixedDecimalPlaceDigits;for(let a of e)switch(a.type){case"path":i.save(),i.strokeStyle="none"===r.stroke?"transparent":r.stroke,i.lineWidth=r.strokeWidth,r.strokeLineDash&&i.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(i.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(i,a,n),i.restore();break;case"fillPath":{i.save(),i.fillStyle=r.fill||"";let e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(i,a,n,e),i.restore();break}case"fillSketch":this.fillSketch(i,a,r)}}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=i,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,i="nonzero"){for(let i of(t.beginPath(),e.ops)){let e="number"==typeof r&&r>=0?i.data.map(t=>+t.toFixed(r)):i.data;switch(i.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(i):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,i,n){let a=this.gen.line(t,e,r,i,n);return this.draw(a),a}rectangle(t,e,r,i,n){let a=this.gen.rectangle(t,e,r,i,n);return this.draw(a),a}ellipse(t,e,r,i,n){let a=this.gen.ellipse(t,e,r,i,n);return this.draw(a),a}circle(t,e,r,i){let n=this.gen.circle(t,e,r,i);return this.draw(n),n}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,i,n,a,o=!1,s){let l=this.gen.arc(t,e,r,i,n,a,o,s);return this.draw(l),l}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){let r=this.gen.path(t,e);return this.draw(r),r}}let G="http://www.w3.org/2000/svg";class X{constructor(t,e){this.svg=t,this.gen=new Y(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,n=i.createElementNS(G,"g"),a=t.options.fixedDecimalPlaceDigits;for(let o of e){let e=null;switch(o.type){case"path":(e=i.createElementNS(G,"path")).setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":(e=i.createElementNS(G,"path")).setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(i,o,r)}e&&n.appendChild(e)}return n}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2);let n=t.createElementNS(G,"path");return n.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),n.setAttribute("stroke",r.fill||""),n.setAttribute("stroke-width",i+""),n.setAttribute("fill","none"),r.fillLineDash&&n.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&n.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),n}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,i,n){let a=this.gen.line(t,e,r,i,n);return this.draw(a)}rectangle(t,e,r,i,n){let a=this.gen.rectangle(t,e,r,i,n);return this.draw(a)}ellipse(t,e,r,i,n){let a=this.gen.ellipse(t,e,r,i,n);return this.draw(a)}circle(t,e,r,i){let n=this.gen.circle(t,e,r,i);return this.draw(n)}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,i,n,a,o=!1,s){let l=this.gen.arc(t,e,r,i,n,a,o,s);return this.draw(l)}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r)}path(t,e){let r=this.gen.path(t,e);return this.draw(r)}}var Q={canvas:(t,e)=>new V(t,e),svg:(t,e)=>new X(t,e),generator:t=>new Y(t),newSeed:()=>Y.newSeed()}},18464:function(t,e,r){"use strict";function i(t){for(var e=[],r=1;rv});var i=r("85893"),n=r("67294"),a=r("67026"),o=r("96025"),s=r("84681");let l={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function h(t){let{type:e,className:r,children:n}=t;return(0,i.jsx)("div",{className:(0,a.Z)(s.k.common.admonition,s.k.common.admonitionType(e),l.admonition,r),children:n})}function c(t){let{icon:e,title:r}=t;return(0,i.jsxs)("div",{className:l.admonitionHeading,children:[(0,i.jsx)("span",{className:l.admonitionIcon,children:e}),r]})}function u(t){let{children:e}=t;return e?(0,i.jsx)("div",{className:l.admonitionContent,children:e}):null}function d(t){let{type:e,icon:r,title:n,children:a,className:o}=t;return(0,i.jsxs)(h,{type:e,className:o,children:[n||r?(0,i.jsx)(c,{title:n,icon:r}):null,(0,i.jsx)(u,{children:a})]})}let f={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function p(t){return(0,i.jsx)(d,{...f,...t,className:(0,a.Z)("alert alert--secondary",t.className),children:t.children})}let g={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function y(t){return(0,i.jsx)(d,{...g,...t,className:(0,a.Z)("alert alert--success",t.className),children:t.children})}let m={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function x(t){return(0,i.jsx)(d,{...m,...t,className:(0,a.Z)("alert alert--info",t.className),children:t.children})}function b(t){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...t,children:(0,i.jsx)("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"})})}let k={icon:(0,i.jsx)(b,{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})},C={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})},w={icon:(0,i.jsx)(b,{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})},_={note:p,tip:y,info:x,warning:function(t){return(0,i.jsx)(d,{...k,...t,className:(0,a.Z)("alert alert--warning",t.className),children:t.children})},danger:function(t){return(0,i.jsx)(d,{...C,...t,className:(0,a.Z)("alert alert--danger",t.className),children:t.children})},secondary:t=>(0,i.jsx)(p,{title:"secondary",...t}),important:t=>(0,i.jsx)(x,{title:"important",...t}),success:t=>(0,i.jsx)(y,{title:"success",...t}),caution:function(t){return(0,i.jsx)(d,{...w,...t,className:(0,a.Z)("alert alert--warning",t.className),children:t.children})}};function v(t){let e=function(t){let{mdxAdmonitionTitle:e,rest:r}=function(t){let e=n.Children.toArray(t),r=e.find(t=>n.isValidElement(t)&&"mdxAdmonitionTitle"===t.type),a=e.filter(t=>t!==r);return{mdxAdmonitionTitle:r?.props.children,rest:a.length>0?(0,i.jsx)(i.Fragment,{children:a}):null}}(t.children),a=t.title??e;return{...t,...a&&{title:a},children:r}}(t),r=function(t){let e=_[t];return e?e:(console.warn(`No admonition component found for admonition type "${t}". Using Info as fallback.`),_.info)}(e.type);return(0,i.jsx)(r,{...e})}},15133:function(t,e,r){"use strict";r.d(e,{Z:function(){return h}});var i=r(85893);r(67294);var n=r(67026),a=r(30202),o=r(84681),s=r(75094);function l(t){let{className:e}=t;return(0,i.jsx)(s.Z,{type:"caution",title:(0,i.jsx)(a.cI,{}),className:(0,n.Z)(e,o.k.common.unlistedBanner),children:(0,i.jsx)(a.eU,{})})}function h(t){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.T$,{}),(0,i.jsx)(l,{...t})]})}},38813:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("85893");r("67294");var n=r("67026"),a=r("30202"),o=r("84681"),s=r("75094");function l(t){let{className:e}=t;return(0,i.jsx)(s.Z,{type:"caution",title:(0,i.jsx)(a.ht,{}),className:(0,n.Z)(e,o.k.common.draftBanner),children:(0,i.jsx)(a.xo,{})})}var h=r("15133");function c(t){let{metadata:e}=t,{unlisted:r,frontMatter:n}=e;return(0,i.jsxs)(i.Fragment,{children:[(r||n.unlisted)&&(0,i.jsx)(h.Z,{}),n.draft&&(0,i.jsx)(l,{})]})}},86594:function(t,e,r){"use strict";r.d(e,{Z:()=>y});var i=r("85893");r("67294");var n=r("67026"),a=r("96025"),o=r("84681"),s=r("83012");let l="iconEdit_Z9Sw";function h(t){let{className:e,...r}=t;return(0,i.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,n.Z)(l,e),"aria-hidden":"true",...r,children:(0,i.jsx)("g",{children:(0,i.jsx)("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 c(t){let{editUrl:e}=t;return(0,i.jsxs)(s.Z,{to:e,className:o.k.common.editThisPage,children:[(0,i.jsx)(h,{}),(0,i.jsx)(a.default,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}var u=r("2933");function d(t){let{lastUpdatedAt:e}=t,r=new Date(e),n=(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{i18n:{currentLocale:e}}=(0,u.Z)(),r=function(){let{i18n:{currentLocale:t,localeConfigs:e}}=(0,u.Z)();return e[t].calendar}();return new Intl.DateTimeFormat(e,{calendar:r,...t})})({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(r);return(0,i.jsx)(a.default,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,i.jsx)("b",{children:(0,i.jsx)("time",{dateTime:r.toISOString(),itemProp:"dateModified",children:n})})},children:" on {date}"})}function f(t){let{lastUpdatedBy:e}=t;return(0,i.jsx)(a.default,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,i.jsx)("b",{children:e})},children:" by {user}"})}function p(t){let{lastUpdatedAt:e,lastUpdatedBy:r}=t;return(0,i.jsxs)("span",{className:o.k.common.lastUpdated,children:[(0,i.jsx)(a.default,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:e?(0,i.jsx)(d,{lastUpdatedAt:e}):"",byUser:r?(0,i.jsx)(f,{lastUpdatedBy:r}):""},children:"Last updated{atDate}{byUser}"}),!1]})}let g="lastUpdated_JAkA";function y(t){let{className:e,editUrl:r,lastUpdatedAt:a,lastUpdatedBy:o}=t;return(0,i.jsxs)("div",{className:(0,n.Z)("row",e),children:[(0,i.jsx)("div",{className:"col",children:r&&(0,i.jsx)(c,{editUrl:r})}),(0,i.jsx)("div",{className:(0,n.Z)("col",g),children:(a||o)&&(0,i.jsx)(p,{lastUpdatedAt:a,lastUpdatedBy:o})})]})}},2584:function(t,e,r){"use strict";r.d(e,{Z:()=>rB});var i=r("85893"),n=r("67294"),a=r("50065"),o=r("94819"),s=r("45056");function l(t){return(0,i.jsx)("code",{...t})}var h=r("83012"),c=r("63922");function u(t){let e=n.Children.toArray(t.children),r=e.find(t=>n.isValidElement(t)&&"summary"===t.type),a=(0,i.jsx)(i.Fragment,{children:e.filter(t=>t!==r)});return(0,i.jsx)(c.default,{...t,summary:r,children:a})}var d=r("34403");function f(t){return(0,i.jsx)(d.Z,{...t})}var p=r("67026");let g={containsTaskList:"containsTaskList_mC6p"};var y=r("41065");let m="img_ev3q";var x=r("75094"),b=r("16893"),k=r("78720"),C=r("30140"),w=r("84239"),_=r("80397"),v=r("290");r("29660"),r("37971");var T=r("9833");r("30594"),r("82612"),r("41200");var S=r("68394"),M=r("36534"),B=r("89356"),L=r("74146"),A=r("18464"),F=r("27818"),$="comm",W="rule",E="decl",D=Math.abs,O=String.fromCharCode;function Z(t){return t.trim()}function N(t,e,r){return t.replace(e,r)}function I(t,e){return 0|t.charCodeAt(e)}function z(t,e,r){return t.slice(e,r)}function j(t){return t.length}function R(t,e){return e.push(t),t}function P(t,e){for(var r="",i=0;i0?f[x]+" "+b:N(b,/&\f/g,f[x])).trim())l[m++]=k;return Q(t,e,r,0===n?W:s,l,h,c,u)}function ta(t,e,r,i,n){return Q(t,e,r,E,z(t,0,i),z(t,i+1,-1),i,n)}var to=r("75373"),ts=r("73217"),tl=(0,L.eW)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),th=(0,L.eW)(async()=>{let{diagram:t}=await r.e("2646").then(r.bind(r,89808));return{id:"c4",diagram:t}},"loader"),tc={id:"c4",detector:tl,loader:th},tu="flowchart",td=(0,L.eW)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),tf=(0,L.eW)(async()=>{let{diagram:t}=await r.e("6659").then(r.bind(r,88373));return{id:tu,diagram:t}},"loader"),tp={id:tu,detector:td,loader:tf},tg="flowchart-v2",ty=(0,L.eW)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-d3"&&(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(t)),"detector"),tm=(0,L.eW)(async()=>{let{diagram:t}=await r.e("6659").then(r.bind(r,88373));return{id:tg,diagram:t}},"loader"),tx={id:tg,detector:ty,loader:tm},tb=(0,L.eW)(t=>/^\s*erDiagram/.test(t),"detector"),tk=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("9974")]).then(r.bind(r,6576));return{id:"er",diagram:t}},"loader"),tC={id:"er",detector:tb,loader:tk},tw="gitGraph",t_=(0,L.eW)(t=>/^\s*gitGraph/.test(t),"detector"),tv=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("3315")]).then(r.bind(r,17321));return{id:tw,diagram:t}},"loader"),tT={id:tw,detector:t_,loader:tv},tS="gantt",tM=(0,L.eW)(t=>/^\s*gantt/.test(t),"detector"),tB=(0,L.eW)(async()=>{let{diagram:t}=await r.e("8963").then(r.bind(r,98951));return{id:tS,diagram:t}},"loader"),tL={id:tS,detector:tM,loader:tB},tA="info",tF=(0,L.eW)(t=>/^\s*info/.test(t),"detector"),t$=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("9790")]).then(r.bind(r,63994));return{id:tA,diagram:t}},"loader"),tW={id:tA,detector:tF,loader:t$},tE={id:"pie",detector:(0,L.eW)(t=>/^\s*pie/.test(t),"detector"),loader:(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("1351")]).then(r.bind(r,79198));return{id:"pie",diagram:t}},"loader")},tD="quadrantChart",tO=(0,L.eW)(t=>/^\s*quadrantChart/.test(t),"detector"),tZ=(0,L.eW)(async()=>{let{diagram:t}=await r.e("736").then(r.bind(r,22019));return{id:tD,diagram:t}},"loader"),tN={id:tD,detector:tO,loader:tZ},tI="xychart",tz=(0,L.eW)(t=>/^\s*xychart-beta/.test(t),"detector"),tj=(0,L.eW)(async()=>{let{diagram:t}=await r.e("488").then(r.bind(r,62350));return{id:tI,diagram:t}},"loader"),tR={id:tI,detector:tz,loader:tj},tP="requirement",tq=(0,L.eW)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),tH=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("9083")]).then(r.bind(r,29763));return{id:tP,diagram:t}},"loader"),tU={id:tP,detector:tq,loader:tH},tY="sequence",tV=(0,L.eW)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tG=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4960").then(r.bind(r,19343));return{id:tY,diagram:t}},"loader"),tX={id:tY,detector:tV,loader:tG},tQ="class",tK=(0,L.eW)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),tJ=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("8164"),r.e("3754")]).then(r.bind(r,84768));return{id:tQ,diagram:t}},"loader"),t0={id:tQ,detector:tK,loader:tJ},t1="classDiagram",t2=(0,L.eW)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),t3=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("8164"),r.e("4343")]).then(r.bind(r,92399));return{id:t1,diagram:t}},"loader"),t5={id:t1,detector:t2,loader:t3},t4="state",t6=(0,L.eW)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),t8=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("2425"),r.e("7469")]).then(r.bind(r,47358));return{id:t4,diagram:t}},"loader"),t9={id:t4,detector:t6,loader:t8},t7="stateDiagram",et=(0,L.eW)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper")||!1,"detector"),ee=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("2425"),r.e("2401")]).then(r.bind(r,44909));return{id:t7,diagram:t}},"loader"),er={id:t7,detector:et,loader:ee},ei="journey",en=(0,L.eW)(t=>/^\s*journey/.test(t),"detector"),ea=(0,L.eW)(async()=>{let{diagram:t}=await r.e("9589").then(r.bind(r,97329));return{id:ei,diagram:t}},"loader"),eo={id:ei,detector:en,loader:ea},es={draw:(0,L.eW)((t,e,r)=>{L.cM.debug("rendering svg for syntax error\n");let i=(0,B.P)(e),n=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,L.v2)(i,100,512,!0),n.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"),n.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"),n.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"),n.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"),n.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"),n.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"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw")},el={db:{},renderer:es,parser:{parse:(0,L.eW)(()=>{},"parse")}},eh="flowchart-elk",ec=(0,L.eW)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),eu=(0,L.eW)(async()=>{let{diagram:t}=await r.e("6659").then(r.bind(r,88373));return{id:eh,diagram:t}},"loader"),ed={id:eh,detector:ec,loader:eu},ef="timeline",ep=(0,L.eW)(t=>/^\s*timeline/.test(t),"detector"),eg=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4600").then(r.bind(r,58314));return{id:ef,diagram:t}},"loader"),ey={id:ef,detector:ep,loader:eg},em="mindmap",ex=(0,L.eW)(t=>/^\s*mindmap/.test(t),"detector"),eb=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("6211"),r.e("8733")]).then(r.bind(r,69972));return{id:em,diagram:t}},"loader"),ek={id:em,detector:ex,loader:eb},eC="kanban",ew=(0,L.eW)(t=>/^\s*kanban/.test(t),"detector"),e_=(0,L.eW)(async()=>{let{diagram:t}=await r.e("3544").then(r.bind(r,57275));return{id:eC,diagram:t}},"loader"),ev={id:eC,detector:ew,loader:e_},eT="sankey",eS=(0,L.eW)(t=>/^\s*sankey-beta/.test(t),"detector"),eM=(0,L.eW)(async()=>{let{diagram:t}=await r.e("2594").then(r.bind(r,96607));return{id:eT,diagram:t}},"loader"),eB={id:eT,detector:eS,loader:eM},eL="packet",eA=(0,L.eW)(t=>/^\s*packet-beta/.test(t),"detector"),eF=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("2578")]).then(r.bind(r,78088));return{id:eL,diagram:t}},"loader"),e$={id:eL,detector:eA,loader:eF},eW="block",eE=(0,L.eW)(t=>/^\s*block-beta/.test(t),"detector"),eD=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3337")]).then(r.bind(r,34370));return{id:eW,diagram:t}},"loader"),eO={id:eW,detector:eE,loader:eD},eZ="architecture",eN=(0,L.eW)(t=>/^\s*architecture/.test(t),"detector"),eI=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("6211"),r.e("362")]).then(r.bind(r,14804));return{id:eZ,diagram:t}},"loader"),ez={id:eZ,detector:eN,loader:eI},ej=!1,eR=(0,L.eW)(()=>{if(!ej)ej=!0,(0,L.Cq)("error",el,t=>"error"===t.toLowerCase().trim()),(0,L.Cq)("---",{db:{clear:(0,L.eW)(()=>{},"clear")},styles:{},renderer:{draw:(0,L.eW)(()=>{},"draw")},parser:{parse:(0,L.eW)(()=>{throw 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 un-indented `---` blocks")},"parse")},init:(0,L.eW)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,L.KO)(tc,ev,t5,t0,tC,tL,tW,tE,tU,tX,ed,tx,tp,ek,ey,tT,er,t9,eo,tN,eB,e$,tR,eO,ez)},"addDiagrams"),eP=(0,L.eW)(async()=>{L.cM.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(L.Bf).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,L._7)(t)}catch{try{let{diagram:t,id:i}=await r();(0,L.Cq)(i,t,e)}catch(e){throw L.cM.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete L.Bf[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(L.cM.error(`Failed to load ${t.length} external diagrams`),t))L.cM.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams");function eq(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function eH(t,e,r,i){if(void 0!==t.insert){if(r){let e=`chart-desc-${i}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r=`chart-title-${i}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,L.eW)(eq,"setA11yDiagramInfo"),(0,L.eW)(eH,"addSVGa11yTitleDescription");var eU=class t{constructor(t,e,r,i,n){this.type=t,this.text=e,this.db=r,this.parser=i,this.renderer=n}static{(0,L.eW)(this,"Diagram")}static async fromText(e,r={}){let i=(0,L.iE)(),n=(0,L.Vg)(e,i);e=(0,S.Vy)(e)+"\n";try{(0,L._7)(n)}catch{let t=(0,L.cq)(n);if(!t)throw new L.cj(`Diagram ${n} not found.`);let{id:e,diagram:r}=await t();(0,L.Cq)(e,r)}let{db:a,parser:o,renderer:s,init:l}=(0,L._7)(n);return o.parser&&(o.parser.yy=a),a.clear?.(),l?.(i),r.title&&a.setDiagramTitle?.(r.title),await o.parse(e),new t(n,e,a,o,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},eY=[],eV=(0,L.eW)(()=>{eY.forEach(t=>{t()}),eY=[]},"attachFunctions"),eG=(0,L.eW)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function eX(t){let e=t.match(L.M6);if(!e)return{text:t,metadata:{}};let r=(0,_.z)(e[1],{schema:_.A})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:t.slice(e[0].length),metadata:i}}(0,L.eW)(eX,"extractFrontMatter");var eQ=(0,L.eW)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),eK=(0,L.eW)(t=>{let{text:e,metadata:r}=eX(t),{displayMode:i,title:n,config:a={}}=r;return i&&(!a.gantt&&(a.gantt={}),a.gantt.displayMode=i),{title:n,config:a,text:e}},"processFrontmatter"),eJ=(0,L.eW)(t=>{let e=S.w8.detectInit(t)??{},r=S.w8.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,S.tf)(t),directive:e}},"processDirectives");function e0(t){let e=eK(eQ(t)),r=eJ(e.text),i=(0,S.Rb)(e.config,r.directive);return{code:t=eG(r.text),title:e.title,config:i}}function e1(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,L.eW)(e0,"preprocessDiagram"),(0,L.eW)(e1,"toBase64");var e2=["foreignobject"],e3=["dominant-baseline"];function e5(t){let e=e0(t);return(0,L.mc)(),(0,L.XV)(e.config??{}),e}async function e4(t,e){eR();try{let{code:e,config:r}=e5(t);return{diagramType:(await ro(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,L.eW)(e5,"processAndSetConfigs"),(0,L.eW)(e4,"parse");var e6=(0,L.eW)((t,e,r=[])=>` +.${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),e8=(0,L.eW)((t,e=new Map)=>{let r="";if(void 0!==t.themeCSS&&(r+=` +${t.themeCSS}`),void 0!==t.fontFamily&&(r+=` +:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=` +:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let i=t.htmlLabels??t.flowchart?.htmlLabels,n=i?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{!(0,ts.Z)(t.styles)&&n.forEach(e=>{r+=e6(t.id,e,t.styles)}),!(0,ts.Z)(t.textStyles)&&(r+=e6(t.id,"tspan",(t?.textStyles||[]).map(t=>t.replace("color","fill"))))})}return r},"createCssStyles"),e9=(0,L.eW)((t,e,r,i)=>{var n,a,o;let s=e8(t,r),l=(0,L.Ee)(e,s,t.themeVariables);return P((o=function t(e,r,i,n,a,o,s,l,h){for(var c,u,d,f=0,p=0,g=s,y=0,m=0,x=0,b=1,k=1,C=1,w=0,_="",v=a,T=o,S=n,M=_;k;)switch(x=w,w=K()){case 40:if(108!=x&&58==I(M,g-1)){;if(-1!=(c=M+=N(ti(w),"&","&\f"),u="&\f",d=D(f?l[f-1]:0),c.indexOf("&\f",d)))C=-1;break}case 34:case 39:case 91:M+=ti(w);break;case 9:case 10:case 13:case 32:M+=function(t){for(;G=J();)if(G<33)K();else break;return tr(t)>2||tr(G)>3?"":" "}(x);break;case 92:M+=function(t,e){for(var r,i;--e&&K()&&!(G<48)&&!(G>102)&&(!(G>57)||!(G<65))&&(!(G>70)||!(G<97)););return r=t,i=V+(e<6&&32==J()&&32==K()),z(X,r,i)}(V-1,7);continue;case 47:switch(J()){case 42:case 47:R(function(t,e,r,i){return Q(t,e,r,$,O(G),z(t,2,-2),0,i)}(function(t,e){for(;K();)if(t+G===57)break;else if(t+G===84&&47===J())break;return"/*"+z(X,e,V-1)+"*"+O(47===t?t:K())}(K(),V),r,i,h),h),(5==tr(x||1)||5==tr(J()||1))&&j(M)&&" "!==z(M,-1,void 0)&&(M+=" ");break;default:M+="/"}break;case 123*b:l[f++]=j(M)*C;case 125*b:case 59:case 0:switch(w){case 0:case 125:k=0;case 59+p:-1==C&&(M=N(M,/\f/g,"")),m>0&&(j(M)-g||0===b&&47===x)&&R(m>32?ta(M+";",n,i,g-1,h):ta(N(M," ","")+";",n,i,g-2,h),h);break;case 59:M+=";";default:if(R(S=tn(M,r,i,f,p,a,l,_,v=[],T=[],g,o),o),123===w){if(0===p)t(M,r,S,S,v,o,g,l,T);else switch(99===y&&110===I(M,3)?100:y){case 100:case 108:case 109:case 115:t(e,S,S,n&&R(tn(e,S,S,0,0,a,l,_,a,v=[],g,T),T),a,T,g,l,n?v:T);break;default:t(M,S,S,S,[""],T,0,l,T)}}}f=p=m=0,b=C=1,_=M="",g=s;break;case 58:g=1+j(M),m=x;default:if(b<1){if(123==w)--b;else if(125==w&&0==b++&&125==(G=V>0?I(X,--V):0,U--,10===G&&(U=1,H--),G))continue}switch(M+=O(w),w*b){case 38:C=p>0?1:(M+="\f",-1);break;case 44:l[f++]=(j(M)-1)*C,C=1;break;case 64:45===J()&&(M+=ti(K())),y=J(),p=g=j(_=M+=function(t){for(;!tr(J());)K();return z(X,t,V)}(V)),w++;break;case 45:45===x&&2==j(M)&&(b=0)}}return o}("",null,null,null,[""],(a=n=`${i}{${l}}`,H=U=1,Y=j(X=a),V=0,n=[]),0,[0],n),X="",o),q)},"createUserStyles"),e7=(0,L.eW)((t="",e,r)=>{let i=t;return!r&&!e&&(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=(i=(0,S.SH)(i)).replace(/
/g,"
")},"cleanUpSvgCode"),rt=(0,L.eW)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",i=e1(`${t}`);return``},"putIntoIFrame"),re=(0,L.eW)((t,e,r,i,n)=>{let a=t.append("div");a.attr("id",r),i&&a.attr("style",i);let o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return n&&o.attr("xmlns:xlink",n),o.append("g"),t},"appendDivSvgG");function rr(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,L.eW)(rr,"sandboxedIframe");var ri=(0,L.eW)((t,e,r,i)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(i)?.remove()},"removeExistingElements"),rn=(0,L.eW)(async function(t,e,r){let i,n;eR();let a=e5(e);e=a.code;let o=(0,L.iE)();L.cM.debug(o),e.length>(o?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let s="#"+t,l="i"+t,h="#"+l,c="d"+t,u="#"+c,d=(0,L.eW)(()=>{let t=p?h:u,e=(0,F.Ys)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),f=(0,F.Ys)("body"),p="sandbox"===o.securityLevel,g="loose"===o.securityLevel,y=o.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),p){let t=rr((0,F.Ys)(r),l);(f=(0,F.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else f=(0,F.Ys)(r);re(f,t,c,`font-family: ${y}`,"http://www.w3.org/1999/xlink")}else{if(ri(document,t,c,l),p){let t=rr((0,F.Ys)("body"),l);(f=(0,F.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else f=(0,F.Ys)("body");re(f,t,c)}try{i=await eU.fromText(e,{title:a.title})}catch(t){if(o.suppressErrorRendering)throw d(),t;i=await eU.fromText("error"),n=t}let m=f.select(u).node(),x=i.type,b=m.firstChild,k=b.firstChild,C=e9(o,x,i.renderer.getClasses?.(e,i),s),w=document.createElement("style");w.innerHTML=C,b.insertBefore(w,k);try{await i.renderer.draw(e,t,M.i,i)}catch(r){throw o.suppressErrorRendering?d():es.draw(e,t,M.i),r}let _=f.select(`${u} svg`),v=i.db.getAccTitle?.();rs(x,_,v,i.db.getAccDescription?.()),f.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let T=f.select(u).node().innerHTML;if(L.cM.debug("config.arrowMarkerAbsolute",o.arrowMarkerAbsolute),T=e7(T,p,(0,L.ku)(o.arrowMarkerAbsolute)),p?T=rt(T,f.select(u+" svg").node()):!g&&(T=to.Z.sanitize(T,{ADD_TAGS:e2,ADD_ATTR:e3,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),eV(),n)throw n;return d(),{diagramType:x,svg:T,bindFunctions:i.db.bindFunctions}},"render");function ra(t={}){let e=(0,L.Yc)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(!e.themeVariables&&(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,L.dY)(e),e?.theme&&e.theme in L._j?e.themeVariables=L._j[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=L._j.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,L.Yn)(e):(0,L.ZD)();(0,L.Ub)(r.logLevel),eR()}(0,L.eW)(ra,"initialize");var ro=(0,L.eW)((t,e={})=>{let{code:r}=e0(t);return eU.fromText(r,e)},"getDiagramFromText");function rs(t,e,r,i){eq(e,t),eH(e,r,i,e.attr("id"))}(0,L.eW)(rs,"addA11yInfo");var rl=Object.freeze({render:rn,parse:e4,getDiagramFromText:ro,initialize:ra,getConfig:L.iE,setConfig:L.v6,getSiteConfig:L.ZD,updateSiteConfig:L.Tb,reset:(0,L.eW)(()=>{(0,L.mc)()},"reset"),globalReset:(0,L.eW)(()=>{(0,L.mc)(L.u_)},"globalReset"),defaultConfig:L.u_});(0,L.Ub)((0,L.iE)().logLevel),(0,L.mc)((0,L.iE)());var rh=(0,L.eW)((t,e,r)=>{L.cM.warn(t),(0,S.bZ)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),rc=(0,L.eW)(async function(t={querySelector:".mermaid"}){try{await ru(t)}catch(e){if((0,S.bZ)(e)&&L.cM.error(e.str),rw.parseError&&rw.parseError(e),!t.suppressErrors)throw L.cM.error("Use the suppressErrors option to suppress these errors"),e}},"run"),ru=(0,L.eW)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let i,n;let a=rl.getConfig();if(L.cM.debug(`${t?"":"No "}Callback function found`),r)i=r;else if(e)i=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");L.cM.debug(`Found ${i.length} diagrams`),a?.startOnLoad!==void 0&&(L.cM.debug("Start On Load: "+a?.startOnLoad),rl.updateSiteConfig({startOnLoad:a?.startOnLoad}));let o=new S.w8.InitIDGenerator(a.deterministicIds,a.deterministicIDSeed),s=[];for(let e of Array.from(i)){if(L.cM.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${o.next()}`;n=e.innerHTML,n=(0,A.Z)(S.w8.entityDecode(n)).trim().replace(//gi,"
");let i=S.w8.detectInit(n);i&&L.cM.debug("Detected early reinit: ",i);try{let{svg:i,bindFunctions:a}=await rC(r,n,e);e.innerHTML=i,t&&await t(r),a&&a(e)}catch(t){rh(t,s,rw.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),rd=(0,L.eW)(function(t){rl.initialize(t)},"initialize"),rf=(0,L.eW)(async function(t,e,r){L.cM.warn("mermaid.init is deprecated. Please use run instead."),t&&rd(t);let i={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await rc(i)},"init"),rp=(0,L.eW)(async(t,{lazyLoad:e=!0}={})=>{eR(),(0,L.KO)(...t),!1===e&&await eP()},"registerExternalDiagrams"),rg=(0,L.eW)(function(){if(rw.startOnLoad){let{startOnLoad:t}=rl.getConfig();t&&rw.run().catch(t=>L.cM.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",rg,!1);var ry=(0,L.eW)(function(t){rw.parseError=t},"setParseErrorHandler"),rm=[],rx=!1,rb=(0,L.eW)(async()=>{if(!rx){for(rx=!0;rm.length>0;){let t=rm.shift();if(t)try{await t()}catch(t){L.cM.error("Error executing queue",t)}}rx=!1}},"executeQueue"),rk=(0,L.eW)(async(t,e)=>new Promise((r,i)=>{let n=(0,L.eW)(()=>new Promise((n,a)=>{rl.parse(t,e).then(t=>{n(t),r(t)},t=>{L.cM.error("Error parsing",t),rw.parseError?.(t),a(t),i(t)})}),"performCall");rm.push(n),rb().catch(i)}),"parse"),rC=(0,L.eW)((t,e,r)=>new Promise((i,n)=>{let a=(0,L.eW)(()=>new Promise((a,o)=>{rl.render(t,e,r).then(t=>{a(t),i(t)},t=>{L.cM.error("Error parsing",t),rw.parseError?.(t),o(t),n(t)})}),"performCall");rm.push(a),rb().catch(n)}),"render"),rw={startOnLoad:!0,mermaidAPI:rl,parse:rk,render:rC,init:rf,run:rc,registerExternalDiagrams:rp,registerLayoutLoaders:v.jM,initialize:rd,parseError:void 0,contentLoaded:rg,setParseErrorHandler:ry,detectType:L.Vg,registerIconPacks:T.ef};async function r_(t){let{id:e,text:r,config:i}=t;rw.mermaidAPI.initialize(i);try{return await rw.render(e,r)}catch(t){throw document.querySelector(`#d${e}`)?.remove(),t}}let rv="container_lyt7";function rT(t){let{renderResult:e}=t,r=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let t=r.current;e.bindFunctions?.(t)},[e]),(0,i.jsx)("div",{ref:r,className:`docusaurus-mermaid-container ${rv}`,dangerouslySetInnerHTML:{__html:e.svg}})}function rS(t){let{value:e}=t,r=function(t){let{text:e,config:r}=t,[i,a]=(0,n.useState)(null),o=(0,n.useRef)(`mermaid-svg-${Math.round(1e7*Math.random())}`).current,s=function(){let{colorMode:t}=(0,w.I)(),e=(0,C.L)().mermaid,r=e.theme[t],{options:i}=e;return(0,n.useMemo)(()=>({startOnLoad:!1,...i,theme:r}),[r,i])}(),l=r??s;return(0,n.useEffect)(()=>{r_({id:o,text:e,config:l}).then(a).catch(t=>{a(()=>{throw t})})},[o,e,l]),i}({text:e});return null===r?null:(0,i.jsx)(rT,{renderResult:r})}let rM={Head:o.Z,details:u,Details:u,code:function(t){var e;return void 0!==(e=t).children&&n.Children.toArray(e.children).every(t=>"string"==typeof t&&!t.includes("\n"))?(0,i.jsx)(l,{...t}):(0,i.jsx)(s.default,{...t})},a:function(t){return(0,i.jsx)(h.Z,{...t})},pre:function(t){return(0,i.jsx)(i.Fragment,{children:t.children})},ul:function(t){return(0,i.jsx)("ul",{...t,className:function(t){if(void 0!==t)return(0,p.Z)(t,t?.includes("contains-task-list")&&g.containsTaskList)}(t.className)})},li:function(t){return(0,y.Z)().collectAnchor(t.id),(0,i.jsx)("li",{...t})},img:function(t){var e;return(0,i.jsx)("img",{decoding:"async",loading:"lazy",...t,className:(e=t.className,(0,p.Z)(e,m))})},h1:t=>(0,i.jsx)(f,{as:"h1",...t}),h2:t=>(0,i.jsx)(f,{as:"h2",...t}),h3:t=>(0,i.jsx)(f,{as:"h3",...t}),h4:t=>(0,i.jsx)(f,{as:"h4",...t}),h5:t=>(0,i.jsx)(f,{as:"h5",...t}),h6:t=>(0,i.jsx)(f,{as:"h6",...t}),admonition:x.Z,mermaid:function(t){return(0,i.jsx)(b.Z,{fallback:t=>(0,i.jsx)(k.Ac,{...t}),children:(0,i.jsx)(rS,{...t})})}};function rB(t){let{children:e}=t;return(0,i.jsx)(a.Z,{components:rM,children:e})}},1397:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("85893");r("67294");var n=r("67026"),a=r("76365");let o="tableOfContents_bqdL";function s(t){let{className:e,...r}=t;return(0,i.jsx)("div",{className:(0,n.Z)(o,"thin-scrollbar",e),children:(0,i.jsx)(a.Z,{...r,linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})})}},76365:function(t,e,r){"use strict";r.d(e,{Z:()=>h});var i=r("85893"),n=r("67294"),a=r("30140");function o(t){let e=t.getBoundingClientRect();return e.top===e.bottom?o(t.parentNode):e}var s=r("83012");let l=n.memo(function t(e){let{toc:r,className:n,linkClassName:a,isChild:o}=e;return r.length?(0,i.jsx)("ul",{className:o?void 0:n,children:r.map(e=>(0,i.jsxs)("li",{children:[(0,i.jsx)(s.Z,{to:`#${e.id}`,className:a??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,i.jsx)(t,{isChild:!0,toc:e.children,className:n,linkClassName:a})]},e.id))}):null});function h(t){let{toc:e,className:r="table-of-contents table-of-contents__left-border",linkClassName:s="table-of-contents__link",linkActiveClassName:h,minHeadingLevel:c,maxHeadingLevel:u,...d}=t,f=(0,a.L)(),p=c??f.tableOfContents.minHeadingLevel,g=u??f.tableOfContents.maxHeadingLevel,y=function(t){let{toc:e,minHeadingLevel:r,maxHeadingLevel:i}=t;return(0,n.useMemo)(()=>(function t(e){let{toc:r,minHeadingLevel:i,maxHeadingLevel:n}=e;return r.flatMap(e=>{var r;let a=t({toc:e.children,minHeadingLevel:i,maxHeadingLevel:n});return(r=e).level>=i&&r.level<=n?[{...e,children:a}]:a})})({toc:function(t){let e=t.map(t=>({...t,parentIndex:-1,children:[]})),r=Array(7).fill(-1);e.forEach((t,e)=>{let i=r.slice(2,t.level);t.parentIndex=Math.max(...i),r[t.level]=e});let i=[];return e.forEach(t=>{let{parentIndex:r,...n}=t;r>=0?e[r].children.push(n):i.push(n)}),i}(e),minHeadingLevel:r,maxHeadingLevel:i}),[e,r,i])}({toc:e,minHeadingLevel:p,maxHeadingLevel:g});return!function(t){let e=(0,n.useRef)(void 0),r=function(){let t=(0,n.useRef)(0),{navbar:{hideOnScroll:e}}=(0,a.L)();return(0,n.useEffect)(()=>{t.current=e?0:document.querySelector(".navbar").clientHeight},[e]),t}();(0,n.useEffect)(()=>{if(!t)return()=>{};let{linkClassName:i,linkActiveClassName:n,minHeadingLevel:a,maxHeadingLevel:s}=t;function l(){var t;let l=(t=i,Array.from(document.getElementsByClassName(t))),h=function(t,e){let{anchorTopOffset:r}=e,i=t.find(t=>o(t).top>=r);if(i){var n;return(n=o(i)).top>0&&n.bottom{var e;return h&&h.id===decodeURIComponent((e=t).href.substring(e.href.indexOf("#")+1))});l.forEach(t=>{var r;r=t,t===c?(e.current&&e.current!==r&&e.current.classList.remove(n),r.classList.add(n),e.current=r):r.classList.remove(n)})}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}},[t,r])}((0,n.useMemo)(()=>{if(s&&h)return{linkClassName:s,linkActiveClassName:h,minHeadingLevel:p,maxHeadingLevel:g}},[s,h,p,g])),(0,i.jsx)(l,{toc:y,className:r,linkClassName:s,...d})}},30202:function(t,e,r){"use strict";r.d(e,{T$:function(){return l},cI:function(){return o},eU:function(){return s},ht:function(){return h},xo:function(){return c}});var i=r(85893);r(67294);var n=r(96025),a=r(94819);function o(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function s(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function l(){return(0,i.jsx)(a.Z,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function h(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function c(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}},27818:function(t,e,r){"use strict";function i(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r=e)&&(r=e);else{let i=-1;for(let n of t)null!=(n=e(n,++i,t))&&(r=n)&&(r=n)}return r}function n(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let i=-1;for(let n of t)null!=(n=e(n,++i,t))&&(r>n||void 0===r&&n>=n)&&(r=n)}return r}function a(t){return t}function o(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}r.d(e,{S1K:()=>rN,Zyz:()=>rY,Igq:()=>rQ,YDX:()=>rG,EFj:()=>rX,ve8:()=>n3,dCK:()=>af,zgE:()=>ay,fGX:()=>ax,$0Z:()=>n8,Dts:()=>n7,WQY:()=>ae,qpX:()=>ai,Nb1:()=>nV,LLu:()=>u,F5q:()=>c,u93:()=>an,tFB:()=>ao,YY7:()=>ah,OvA:()=>au,$m7:()=>ak,c_6:()=>nQ,fxm:()=>aw,FdL:()=>aA,ak_:()=>aF,SxZ:()=>aE,eA_:()=>aO,jsv:()=>aN,JHv:()=>eJ,jvg:()=>n0,Fp7:()=>i,VV$:()=>n,tiA:()=>function t(){var e,r,i=e4().unknown(void 0),n=i.domain,a=i.range,o=0,s=1,l=!1,h=0,c=0,u=.5;function d(){var t=n().length,i=sfunction t(){var e,r,i=rm();return i.copy=function(){return ry(i,t())},e0.apply(i,arguments),r=(e=i).domain,e.ticks=function(t){var e=r();return function(t,e,r){if(e=+e,t=+t,!((r=+r)>0))return[];if(t===e)return[t];let i=e=n))return[];let s=a-n+1,l=Array(s);if(i){if(o<0)for(let t=0;t0;){if((n=rt(l,h,t))===i)return a[o]=l,a[s]=h,r(a);if(n>0)l=Math.floor(l/n)*n,h=Math.ceil(h/n)*n;else if(n<0)l=Math.ceil(l*n)/n,h=Math.floor(h*n)/n;else break;i=n}return e},e},PKp:()=>e4,K2I:()=>nw,rr1:()=>rP,iJ:()=>aZ,Xf:()=>nC,Ys:()=>n_,i$Z:()=>th,y2j:()=>rK,WQD:()=>rj,U8T:()=>rZ,Z_i:()=>rI,Ox9:()=>rV,F0B:()=>r9,LqH:()=>rJ});function l(){return!this.__axis}function h(t,e){var r=[],i=null,n=null,h=6,c=6,u=3,d="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,f=1===t||4===t?-1:1,p=4===t||2===t?"x":"y",g=1===t||3===t?o:s;function y(o){var s=null==i?e.ticks?e.ticks.apply(e,r):e.domain():i,y=null==n?e.tickFormat?e.tickFormat.apply(e,r):a:n,m=Math.max(h,0)+u,x=e.range(),b=+x[0]+d,k=+x[x.length-1]+d,C=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}:function(t){return e=>+t(e)})(e.copy(),d),w=o.selection?o.selection():o,_=w.selectAll(".domain").data([null]),v=w.selectAll(".tick").data(s,e).order(),T=v.exit(),S=v.enter().append("g").attr("class","tick"),M=v.select("line"),B=v.select("text");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),v=v.merge(S),M=M.merge(S.append("line").attr("stroke","currentColor").attr(p+"2",f*h)),B=B.merge(S.append("text").attr("fill","currentColor").attr(p,f*m).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),o!==w&&(_=_.transition(o),v=v.transition(o),M=M.transition(o),B=B.transition(o),T=T.transition(o).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=C(t))?g(t+d):this.getAttribute("transform")}),S.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:C(t))+d)})),T.remove(),_.attr("d",4===t||2===t?c?"M"+f*c+","+b+"H"+d+"V"+k+"H"+f*c:"M"+d+","+b+"V"+k:c?"M"+b+","+f*c+"V"+d+"H"+k+"V"+f*c:"M"+b+","+d+"H"+k),v.attr("opacity",1).attr("transform",function(t){return g(C(t)+d)}),M.attr(p+"2",f*h),B.attr(p,f*m).text(y),w.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=C})}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return r=Array.from(arguments),y},y.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),y):r.slice()},y.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),y):i&&i.slice()},y.tickFormat=function(t){return arguments.length?(n=t,y):n},y.tickSize=function(t){return arguments.length?(h=c=+t,y):h},y.tickSizeInner=function(t){return arguments.length?(h=+t,y):h},y.tickSizeOuter=function(t){return arguments.length?(c=+t,y):c},y.tickPadding=function(t){return arguments.length?(u=+t,y):u},y.offset=function(t){return arguments.length?(d=+t,y):d},y}function c(t){return h(1,t)}function u(t){return h(3,t)}function d(){}function f(t){return null==t?d:function(){return this.querySelector(t)}}function p(){return[]}function g(t){return null==t?p:function(){return this.querySelectorAll(t)}}function y(t){return function(){return this.matches(t)}}function m(t){return function(e){return e.matches(t)}}var x=Array.prototype.find;function b(){return this.firstElementChild}var k=Array.prototype.filter;function C(){return Array.from(this.children)}function w(t){return Array(t.length)}function _(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}_.prototype={constructor:_,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)}};function v(t,e,r,i,n,a){for(var o,s=0,l=e.length,h=a.length;se?1:t>=e?0:NaN}var B="http://www.w3.org/1999/xhtml";let L={svg:"http://www.w3.org/2000/svg",xhtml:B,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function A(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),L.hasOwnProperty(e)?{space:L[e],local:t}:t}function F(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function $(t,e){return t.style.getPropertyValue(e)||F(t).getComputedStyle(t,null).getPropertyValue(e)}function W(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new D(t)}function D(t){this._node=t,this._names=W(t.getAttribute("class")||"")}function O(t,e){for(var r=E(t),i=-1,n=e.length;++ithis._names.indexOf(t)&&(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}};function N(){this.textContent=""}function I(){this.innerHTML=""}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function j(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function R(t){var e=A(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===B&&e.documentElement.namespaceURI===B?e.createElement(t):e.createElementNS(r,t)}})(e)}function P(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function H(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function U(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Y(t){return function(){var e=this.__on;if(e){for(var r,i=0,n=-1,a=e.length;i=C&&(C=k+1);!(b=y[C])&&++C=0;)(i=n[a])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}!t&&(t=M);for(var r=this._groups,i=r.length,n=Array(i),a=0;a1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,r){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,r)}}:function(t,e,r){return function(){this.style.setProperty(t,e,r)}})(t,e,null==r?"":r)):$(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var r=W(t+"");if(arguments.length<2){for(var i=E(this.node()),n=-1,a=r.length;++n=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}),o=a.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var l,h=0,c=s.length;h{}};function tt(){for(var t,e=0,r=arguments.length,i={};e=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!i.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}})),s=-1,l=o.length;if(arguments.length<2){for(;++s0)for(var r,i,n=Array(r),a=0;a=0&&e._call.call(void 0,t),e=e._next;--tg}()}finally{tg=0,function(){for(var t,e,r=tf,i=1/0;r;)r._call?(i>r._time&&(i=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:tf=e);tp=t,tL(i)}(),tb=0}}function tB(){var t=tC.now(),e=t-tx;e>1e3&&(tk-=e,tx=t)}function tL(t){!tg&&(ty&&(ty=clearTimeout(ty)),t-tb>24?(t<1/0&&(ty=setTimeout(tM,t-tC.now()-tk)),tm&&(tm=clearInterval(tm))):(!tm&&(tx=tC.now(),tm=setInterval(tB,1e3)),tg=1,tw(tM)))}function tA(t,e,r){var i=new tT;return e=null==e?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,r),i}var tF=tt("start","end","cancel","interrupt"),t$=[];function tW(t,e,r,i,n,a){var o=t.__transition;if(o){if(r in o)return}else t.__transition={};(function(t,e,r){var i,n=t.__transition;n[e]=r,r.timer=tS(function(t){r.state=1,r.timer.restart(a,r.delay,r.time),r.delay<=t&&a(t-r.delay)},0,r.time);function a(l){var h,c,u,d;if(1!==r.state)return s();for(h in n)if((d=n[h]).name===r.name){if(3===d.state)return tA(a);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete n[h]):+h0)throw Error("too late; already scheduled");return r}function tD(t,e){var r=tO(t,e);if(r.state>3)throw Error("too late; already running");return r}function tO(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw Error("transition not found");return r}function tZ(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var tN=180/Math.PI,tI={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tz(t,e,r,i,n,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*r+e*i)&&(r-=t*l,i-=e*l),(s=Math.sqrt(r*r+i*i))&&(r/=s,i/=s,l/=s),t*i180?l+=360:l-s>180&&(s+=360),c.push({i:h.push(n(h)+"rotate(",null,i)-2,x:tZ(s,l)})):l&&h.push(n(h)+"rotate("+l+i),u=a.skewX,d=o.skewX,f=g,p=y,u!==d?p.push({i:f.push(n(f)+"skewX(",null,i)-2,x:tZ(u,d)}):d&&f.push(n(f)+"skewX("+d+i),!function(t,e,r,i,a,o){if(t!==r||e!==i){var s=a.push(n(a)+"scale(",null,",",null,")");o.push({i:s-4,x:tZ(t,r)},{i:s-2,x:tZ(e,i)})}else(1!==r||1!==i)&&a.push(n(a)+"scale("+r+","+i+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,g,y),a=o=null,function(t){for(var e,r=-1,i=y.length;++r>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?et(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?et(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=tJ.exec(t))?new ei(e[1],e[2],e[3],1):(e=t0.exec(t))?new ei(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=t1.exec(t))?et(e[1],e[2],e[3],e[4]):(e=t2.exec(t))?et(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=t3.exec(t))?eh(e[1],e[2]/100,e[3]/100,1):(e=t5.exec(t))?eh(e[1],e[2]/100,e[3]/100,e[4]):t4.hasOwnProperty(t)?t7(t4[t]):"transparent"===t?new ei(NaN,NaN,NaN,0):null}function t7(t){return new ei(t>>16&255,t>>8&255,255&t,1)}function et(t,e,r,i){return i<=0&&(t=e=r=NaN),new ei(t,e,r,i)}function ee(t){return(!(t instanceof tY)&&(t=t9(t)),t)?new ei((t=t.rgb()).r,t.g,t.b,t.opacity):new ei}function er(t,e,r,i){return 1==arguments.length?ee(t):new ei(t,e,r,null==i?1:i)}function ei(t,e,r,i){this.r=+t,this.g=+e,this.b=+r,this.opacity=+i}function en(){return`#${el(this.r)}${el(this.g)}${el(this.b)}`}tH(ei,er,tU(tY,{brighter(t){return t=null==t?tV:Math.pow(tV,t),new ei(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new ei(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ei(es(this.r),es(this.g),es(this.b),eo(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:en,formatHex:en,formatHex8:function(){return`#${el(this.r)}${el(this.g)}${el(this.b)}${el((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:ea,toString:ea}));function ea(){let t=eo(this.opacity);return`${1===t?"rgb(":"rgba("}${es(this.r)}, ${es(this.g)}, ${es(this.b)}${1===t?")":`, ${t})`}`}function eo(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function es(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function el(t){return((t=es(t))<16?"0":"")+t.toString(16)}function eh(t,e,r,i){return i<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new eu(t,e,r,i)}function ec(t){if(t instanceof eu)return new eu(t.h,t.s,t.l,t.opacity);if(!(t instanceof tY)&&(t=t9(t)),!t)return new eu;if(t instanceof eu)return t;var e=(t=t.rgb()).r/255,r=t.g/255,i=t.b/255,n=Math.min(e,r,i),a=Math.max(e,r,i),o=NaN,s=a-n,l=(a+n)/2;return s?(o=e===a?(r-i)/s+(r0&&l<1?0:o,new eu(o,s,l,t.opacity)}function eu(t,e,r,i){this.h=+t,this.s=+e,this.l=+r,this.opacity=+i}function ed(t){return(t=(t||0)%360)<0?t+360:t}function ef(t){return Math.max(0,Math.min(1,t||0))}function ep(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function eg(t,e,r,i,n){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*r+(1+3*t+3*a-3*o)*i+o*n)/6}tH(eu,function(t,e,r,i){return 1==arguments.length?ec(t):new eu(t,e,r,null==i?1:i)},tU(tY,{brighter(t){return t=null==t?tV:Math.pow(tV,t),new eu(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new eu(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,i=r+(r<.5?r:1-r)*e,n=2*r-i;return new ei(ep(t>=240?t-240:t+120,n,i),ep(t,n,i),ep(t<120?t+240:t-120,n,i),this.opacity)},clamp(){return new eu(ed(this.h),ef(this.s),ef(this.l),eo(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(){let t=eo(this.opacity);return`${1===t?"hsl(":"hsla("}${ed(this.h)}, ${100*ef(this.s)}%, ${100*ef(this.l)}%${1===t?")":`, ${t})`}`}}));let ey=t=>()=>t;function em(t,e){return function(r){return t+r*e}}function ex(t,e){var r=e-t;return r?em(t,r):ey(isNaN(t)?e:t)}let eb=function t(e){var r,i=1==(r=+(r=e))?ex:function(t,e){var i,n,a;return e-t?(i=t,n=e,i=Math.pow(i,a=r),n=Math.pow(n,a)-i,a=1/a,function(t){return Math.pow(i+t*n,a)}):ey(isNaN(t)?e:t)};function n(t,e){var r=i((t=er(t)).r,(e=er(e)).r),n=i(t.g,e.g),a=i(t.b,e.b),o=ex(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=n(e),t.b=a(e),t.opacity=o(e),t+""}}return n.gamma=t,n}(1);function ek(t){return function(e){var r,i,n=e.length,a=Array(n),o=Array(n),s=Array(n);for(r=0;r=1?(r=1,e-1):Math.floor(r*e),n=t[i],a=t[i+1],o=i>0?t[i-1]:2*n-a,s=is&&(o=e.slice(s,o),h[l]?h[l]+=o:h[++l]=o),(n=n[0])===(a=a[0])?h[l]?h[l]+=a:h[++l]=a:(h[++l]=null,c.push({i:l,x:tZ(n,a)})),s=ew.lastIndex;return s=0&&(t=t.slice(0,e)),!t||"start"===t})?tE:tD;return function(){var o=a(this,t),s=o.on;s!==i&&(n=(i=s).copy()).on(e,r),o.on=n}}(r,t,e))},attr:function(t,e){var r=A(t),i="transform"===r?tP:ev;return this.attrTween(t,"function"==typeof e?(r.local?function(t,e,r){var i,n,a;return function(){var o,s,l=r(this);return null==l?void this.removeAttributeNS(t.space,t.local):(o=this.getAttributeNS(t.space,t.local),o===(s=l+"")?null:o===i&&s===n?a:(n=s,a=e(i=o,l)))}}:function(t,e,r){var i,n,a;return function(){var o,s,l=r(this);return null==l?void this.removeAttribute(t):(o=this.getAttribute(t),o===(s=l+"")?null:o===i&&s===n?a:(n=s,a=e(i=o,l)))}})(r,i,tq(this,"attr."+t,e)):null==e?(r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(r):(r.local?function(t,e,r){var i,n,a=r+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===i?n:n=e(i=o,r)}}:function(t,e,r){var i,n,a=r+"";return function(){var o=this.getAttribute(t);return o===a?null:o===i?n:n=e(i=o,r)}})(r,i,e))},attrTween:function(t,e){var r="attr."+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 Error();var i=A(t);return this.tween(r,(i.local?function(t,e){var r,i;function n(){var n,a,o=e.apply(this,arguments);if(o!==i){;r=(i=o)&&(n=t,a=o,function(t){this.setAttributeNS(n.space,n.local,a.call(this,t))})}return r}return n._value=e,n}:function(t,e){var r,i;function n(){var n,a,o=e.apply(this,arguments);if(o!==i){;r=(i=o)&&(n=t,a=o,function(t){this.setAttribute(n,a.call(this,t))})}return r}return n._value=e,n})(i,e))},style:function(t,e,r){var i,n,a,o,s,l,h,c,u,d,f,p,g,y,m,x,b,k,C,w,_,v,T,S,M,B="transform"==(t+="")?tR:ev;return null==e?this.styleTween(t,(i=t,n=B,function(){var t=$(this,i),e=(this.style.removeProperty(i),$(this,i));return t===e?null:t===a&&e===o?s:s=n(a=t,o=e)})).on("end.style."+t,eS(t)):"function"==typeof e?this.styleTween(t,(l=t,h=B,c=tq(this,"style."+t,e),function(){var t=$(this,l),e=c(this),r=e+"";return null==e&&(this.style.removeProperty(l),r=e=$(this,l)),t===r?null:t===u&&r===d?f:(d=r,f=h(u=t,e))})).each((p=this._id,C="end."+(k="style."+(g=t)),function(){var t=tD(this,p),e=t.on,r=null==t.value[k]?b||(b=eS(g)):void 0;(e!==y||x!==r)&&(m=(y=e).copy()).on(C,x=r),t.on=m})):this.styleTween(t,(w=t,_=B,M=(v=e)+"",function(){var t=$(this,w);return t===M?null:t===T?S:S=_(T=t,v)}),r).on("end.style."+t,null)},styleTween:function(t,e,r){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 Error();return this.tween(i,function(t,e,r){var i,n;function a(){var a,o,s,l=e.apply(this,arguments);if(l!==n){;i=(n=l)&&(a=t,o=l,s=r,function(t){this.style.setProperty(a,o.call(this,t),s)})}return i}return a._value=e,a}(t,e,null==r?"":r))},text:function(t){var e,r;return this.tween("text","function"==typeof t?(e=tq(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(r=null==t?"":t+"",function(){this.textContent=r}))},textTween:function(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 Error();return this.tween(e,function(t){var e,r;function i(){var i,n=t.apply(this,arguments);if(n!==r){;e=(r=n)&&(i=n,function(t){this.textContent=i.call(this,t)})}return e}return i._value=t,i}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var i,n=tO(this.node(),r).tween,a=0,o=n.length;a2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete a[n]}o&&delete t.__transition}}(this,t)})},K.prototype.transition=function(t){var e,r;t instanceof eB?(e=t._id,t=t._name):(e=++eM,(r=eF).time=t_(),t=null==t?null:t+"");for(var i=this._groups,n=i.length,a=0;aeR?Math.pow(t,1/3):t/ej+eI}function eU(t){return t>ez?t*t*t:ej*(t-eI)}function eY(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eV(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}tH(eq,function(t,e,r,i){return 1==arguments.length?eP(t):new eq(t,e,r,null==i?1:i)},tU(tY,{brighter(t){return new eq(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new eq(this.l-18*(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,r=isNaN(this.b)?t:t-this.b/200;return e=.96422*eU(e),t=1*eU(t),new ei(eY(3.1338561*e-1.6168667*t-.4906146*(r=.82521*eU(r))),eY(-.9787684*e+1.9161415*t+.033454*r),eY(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));function eG(t,e,r,i){return 1==arguments.length?function(t){if(t instanceof eX)return new eX(t.h,t.c,t.l,t.opacity);if(!(t instanceof eq)&&(t=eP(t)),0===t.a&&0===t.b)return new eX(NaN,0180||r<-180?r-360*Math.round(r/360):r):ey(isNaN(t)?e:t)});eK(ex);function e0(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}class e1 extends Map{constructor(t,e=e3){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(e2(this,t))}has(t){return super.has(e2(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):(t.set(i,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let i=e(r);return t.has(i)&&(r=t.get(i),t.delete(i)),r}(this,t))}}function e2({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):r}function e3(t){return null!==t&&"object"==typeof t?t.valueOf():t}let e5=Symbol("implicit");function e4(){var t=new e1,e=[],r=[],i=e5;function n(n){let a=t.get(n);if(void 0===a){if(i!==e5)return i;t.set(n,a=e.push(n)-1)}return r[a%r.length]}return n.domain=function(r){if(!arguments.length)return e.slice();for(let i of(e=[],t=new e1,r))!t.has(i)&&t.set(i,e.push(i)-1);return n},n.range=function(t){return arguments.length?(r=Array.from(t),n):r.slice()},n.unknown=function(t){return arguments.length?(i=t,n):i},n.copy=function(){return e4(e,r).unknown(i)},e0.apply(n,arguments),n}let e6=Math.sqrt(50),e8=Math.sqrt(10),e9=Math.sqrt(2);function e7(t,e,r){let i,n,a;let o=(e-t)/Math.max(0,r),s=Math.floor(Math.log10(o)),l=o/Math.pow(10,s),h=l>=e6?10:l>=e8?5:l>=e9?2:1;return(s<0?(i=Math.round(t*(a=Math.pow(10,-s)/h)),n=Math.round(e*a),i/ae&&--n,a=-a):(i=Math.round(t/(a=Math.pow(10,s)*h)),n=Math.round(e/a),i*ae&&--n),ne?1:t>=e?0:NaN}function ri(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function rn(t){let e,r,i;function n(t,i,a=0,o=t.length){if(a>>1;0>r(t[e],i)?a=e+1:o=e}while(arr(t(e),r),i=(e,r)=>t(e)-r):(e=t===rr||t===ri?t:ra,r=t,i=t),{left:n,center:function(t,e,r=0,a=t.length){let o=n(t,e,r,a-1);return o>r&&i(t[o-1],e)>-i(t[o],e)?o-1:o},right:function(t,i,n=0,a=t.length){if(n>>1;0>=r(t[e],i)?n=e+1:a=e}while(ne&&(r=t,t=e,e=r),h=function(r){return Math.max(t,Math.min(e,r))}}return i=l>2?rg:rp,n=a=null,u}function u(e){return null==e||isNaN(e=+e)?r:(n||(n=i(o.map(t),s,l)))(t(h(e)))}return u.invert=function(r){return h(e((a||(a=i(s,o.map(t),tZ)))(r)))},u.domain=function(t){return arguments.length?(o=Array.from(t,rc),c()):o.slice()},u.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},u.rangeRound=function(t){return s=Array.from(t),l=rh,c()},u.clamp=function(t){return arguments.length?(h=!!t||rd,c()):h!==rd},u.interpolate=function(t){return arguments.length?(l=t,c()):l},u.unknown=function(t){return arguments.length?(r=t,u):r},function(r,i){return t=r,e=i,c()}})()(rd,rd)}var rx=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function rb(t){var e;if(!(e=rx.exec(t)))throw Error("invalid format: "+t);return new rk({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 rk(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+""}rb.prototype=rk.prototype,rk.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};function rC(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,i=t.slice(0,r);return[i.length>1?i[0]+i.slice(2):i,+t.slice(r+1)]}function rw(t){return(t=rC(Math.abs(t)))?t[1]:NaN}function r_(t,e){var r=rC(t,e);if(!r)return t+"";var i=r[0],n=r[1];return n<0?"0."+Array(-n).join("0")+i:i.length>n+1?i.slice(0,n+1)+"."+i.slice(n+1):i+Array(n-i.length+2).join("0")}let rv={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},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)=>r_(100*t,e),r:r_,s:function(t,e){var r=rC(t,e);if(!r)return t+"";var i=r[0],n=r[1],a=n-(tn=3*Math.max(-8,Math.min(8,Math.floor(n/3))))+1,o=i.length;return a===o?i:a>o?i+Array(a-o+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+rC(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function rT(t){return t}var rS=Array.prototype.map,rM=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];(function(t){to=(ta=function(t){var e,r,i,n=void 0===t.grouping||void 0===t.thousands?rT:(e=rS.call(t.grouping,Number),r=t.thousands+"",function(t,i){for(var n=t.length,a=[],o=0,s=e[0],l=0;n>0&&s>0&&(l+s+1>i&&(s=Math.max(1,i-l)),a.push(t.substring(n-=s,n+s)),!((l+=s+1)>i));){;s=e[o=(o+1)%e.length]}return a.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?rT:(i=rS.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),h=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function d(t){var e=(t=rb(t)).fill,r=t.align,i=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.trim,x=t.type;"n"===x?(g=!0,x="g"):!rv[x]&&(void 0===y&&(y=12),m=!0,x="g"),(f||"0"===e&&"="===r)&&(f=!0,e="0",r="=");var b="$"===d?a:"#"===d&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",k="$"===d?o:/[%p]/.test(x)?h:"",C=rv[x],w=/[defgprs%]/.test(x);function _(t){var a,o,h,d=b,_=k;if("c"===x)_=C(t)+_,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:C(Math.abs(t),y),m&&(t=function(t){t:for(var e,r=t.length,i=1,n=-1;i0&&(n=0)}return n>0?t.slice(0,n)+t.slice(e+1):t}(t)),v&&0==+t&&"+"!==i&&(v=!1),d=(v?"("===i?i:c:"-"===i||"("===i?"":i)+d,_=("s"===x?rM[8+tn/3]:"")+_+(v&&"("===i?")":""),w){for(a=-1,o=t.length;++a(h=t.charCodeAt(a))||h>57){_=(46===h?s+t.slice(a+1):t.slice(a))+_,t=t.slice(0,a);break}}}g&&!f&&(t=n(t,1/0));var T=d.length+t.length+_.length,S=T>1)+d+t+_+S.slice(T);break;default:t=S+d+t+_}return l(t)}return y=void 0===y?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),_.toString=function(){return t+""},_}return{format:d,formatPrefix:function(t,e){var r=d(((t=rb(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(rw(e)/3))),n=Math.pow(10,-i),a=rM[8+i/3];return function(t){return r(n*t)+a}}}}(t)).format,ts=ta.formatPrefix})({thousands:",",grouping:[3],currency:["$",""]});let rB=6e4,rL=36e5,rA=864e5,rF=6048e5,r$=2592e6,rW=31536e6,rE=new Date,rD=new Date;function rO(t,e,r,i){function n(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return n.floor=e=>(t(e=new Date(+e)),e),n.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),n.round=t=>{let e=n(t),r=n.ceil(t);return t-e(e(t=new Date(+t),null==r?1:Math.floor(r)),t),n.range=(r,i,a)=>{let o;let s=[];if(r=n.ceil(r),a=null==a?1:Math.floor(a),!(r0))return s;do s.push(o=new Date(+r)),e(r,a),t(r);while(orO(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,i)=>{if(t>=t){if(i<0)for(;++i<=0;)for(;e(t,-1),!r(t););else for(;--i>=0;)for(;e(t,1),!r(t););}}),r&&(n.count=(e,i)=>(rE.setTime(+e),rD.setTime(+i),t(rE),t(rD),Math.floor(r(rE,rD))),n.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?n.filter(i?e=>i(e)%t==0:e=>n.count(0,e)%t==0):n:null),n}let rZ=rO(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);rZ.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?rO(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):rZ:null,rZ.range;let rN=rO(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());rN.range;let rI=rO(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+e*rB)},(t,e)=>(e-t)/rB,t=>t.getMinutes());rI.range;let rz=rO(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*rB)},(t,e)=>(e-t)/rB,t=>t.getUTCMinutes());rz.range;let rj=rO(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*rB)},(t,e)=>{t.setTime(+t+e*rL)},(t,e)=>(e-t)/rL,t=>t.getHours());rj.range;let rR=rO(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*rL)},(t,e)=>(e-t)/rL,t=>t.getUTCHours());rR.range;let rP=rO(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rB)/rA,t=>t.getDate()-1);rP.range;let rq=rO(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/rA,t=>t.getUTCDate()-1);rq.range;let rH=rO(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/rA,t=>Math.floor(t/rA));function rU(t){return rO(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rB)/rF)}rH.range;let rY=rU(0),rV=rU(1),rG=rU(2),rX=rU(3),rQ=rU(4),rK=rU(5),rJ=rU(6);function r0(t){return rO(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/rF)}rY.range,rV.range,rG.range,rX.range,rQ.range,rK.range,rJ.range;let r1=r0(0),r2=r0(1),r3=r0(2),r5=r0(3),r4=r0(4),r6=r0(5),r8=r0(6);r1.range,r2.range,r3.range,r5.range,r4.range,r6.range,r8.range;let r9=rO(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());r9.range;let r7=rO(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());r7.range;let it=rO(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());it.every=t=>isFinite(t=Math.floor(t))&&t>0?rO(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,it.range;let ie=rO(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function ir(t,e,r,i,n,a){let o=[[rN,1,1e3],[rN,5,5e3],[rN,15,15e3],[rN,30,3e4],[a,1,rB],[a,5,5*rB],[a,15,15*rB],[a,30,30*rB],[n,1,rL],[n,3,3*rL],[n,6,6*rL],[n,12,12*rL],[i,1,rA],[i,2,2*rA],[r,1,rF],[e,1,r$],[e,3,3*r$],[t,1,rW]];function s(e,r,i){let n=Math.abs(r-e)/i,a=rn(([,,t])=>t).right(o,n);if(a===o.length)return t.every(re(e/rW,r/rW,i));if(0===a)return rZ.every(Math.max(re(e,r,i),1));let[s,l]=o[n/o[a-1][2]isFinite(t=Math.floor(t))&&t>0?rO(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,ie.range;let[ii,ia]=ir(ie,r7,r1,rH,rR,rz),[io,is]=ir(it,r9,rY,rP,rj,rI);function il(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 ih(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 ic(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var iu={"-":"",_:" ",0:"0"},id=/^\s*\d+/,ip=/^%/,ig=/[\\^$*+?|[\]().{}]/g;function iy(t,e,r){var i=t<0?"-":"",n=(i?-t:t)+"",a=n.length;return i+(a[t.toLowerCase(),e]))}function ik(t,e,r){var i=id.exec(e.slice(r,r+1));return i?(t.w=+i[0],r+i[0].length):-1}function iC(t,e,r){var i=id.exec(e.slice(r,r+1));return i?(t.u=+i[0],r+i[0].length):-1}function iw(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.U=+i[0],r+i[0].length):-1}function i_(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.V=+i[0],r+i[0].length):-1}function iv(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.W=+i[0],r+i[0].length):-1}function iT(t,e,r){var i=id.exec(e.slice(r,r+4));return i?(t.y=+i[0],r+i[0].length):-1}function iS(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),r+i[0].length):-1}function iM(t,e,r){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),r+i[0].length):-1}function iB(t,e,r){var i=id.exec(e.slice(r,r+1));return i?(t.q=3*i[0]-3,r+i[0].length):-1}function iL(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.m=i[0]-1,r+i[0].length):-1}function iA(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.d=+i[0],r+i[0].length):-1}function iF(t,e,r){var i=id.exec(e.slice(r,r+3));return i?(t.m=0,t.d=+i[0],r+i[0].length):-1}function i$(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.H=+i[0],r+i[0].length):-1}function iW(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.M=+i[0],r+i[0].length):-1}function iE(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.S=+i[0],r+i[0].length):-1}function iD(t,e,r){var i=id.exec(e.slice(r,r+3));return i?(t.L=+i[0],r+i[0].length):-1}function iO(t,e,r){var i=id.exec(e.slice(r,r+6));return i?(t.L=Math.floor(i[0]/1e3),r+i[0].length):-1}function iZ(t,e,r){var i=ip.exec(e.slice(r,r+1));return i?r+i[0].length:-1}function iN(t,e,r){var i=id.exec(e.slice(r));return i?(t.Q=+i[0],r+i[0].length):-1}function iI(t,e,r){var i=id.exec(e.slice(r));return i?(t.s=+i[0],r+i[0].length):-1}function iz(t,e){return iy(t.getDate(),e,2)}function ij(t,e){return iy(t.getHours(),e,2)}function iR(t,e){return iy(t.getHours()%12||12,e,2)}function iP(t,e){return iy(1+rP.count(it(t),t),e,3)}function iq(t,e){return iy(t.getMilliseconds(),e,3)}function iH(t,e){return iq(t,e)+"000"}function iU(t,e){return iy(t.getMonth()+1,e,2)}function iY(t,e){return iy(t.getMinutes(),e,2)}function iV(t,e){return iy(t.getSeconds(),e,2)}function iG(t){var e=t.getDay();return 0===e?7:e}function iX(t,e){return iy(rY.count(it(t)-1,t),e,2)}function iQ(t){var e=t.getDay();return e>=4||0===e?rQ(t):rQ.ceil(t)}function iK(t,e){return t=iQ(t),iy(rQ.count(it(t),t)+(4===it(t).getDay()),e,2)}function iJ(t){return t.getDay()}function i0(t,e){return iy(rV.count(it(t)-1,t),e,2)}function i1(t,e){return iy(t.getFullYear()%100,e,2)}function i2(t,e){return iy((t=iQ(t)).getFullYear()%100,e,2)}function i3(t,e){return iy(t.getFullYear()%1e4,e,4)}function i5(t,e){var r=t.getDay();return iy((t=r>=4||0===r?rQ(t):rQ.ceil(t)).getFullYear()%1e4,e,4)}function i4(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+iy(e/60|0,"0",2)+iy(e%60,"0",2)}function i6(t,e){return iy(t.getUTCDate(),e,2)}function i8(t,e){return iy(t.getUTCHours(),e,2)}function i9(t,e){return iy(t.getUTCHours()%12||12,e,2)}function i7(t,e){return iy(1+rq.count(ie(t),t),e,3)}function nt(t,e){return iy(t.getUTCMilliseconds(),e,3)}function ne(t,e){return nt(t,e)+"000"}function nr(t,e){return iy(t.getUTCMonth()+1,e,2)}function ni(t,e){return iy(t.getUTCMinutes(),e,2)}function nn(t,e){return iy(t.getUTCSeconds(),e,2)}function na(t){var e=t.getUTCDay();return 0===e?7:e}function no(t,e){return iy(r1.count(ie(t)-1,t),e,2)}function ns(t){var e=t.getUTCDay();return e>=4||0===e?r4(t):r4.ceil(t)}function nl(t,e){return t=ns(t),iy(r4.count(ie(t),t)+(4===ie(t).getUTCDay()),e,2)}function nh(t){return t.getUTCDay()}function nc(t,e){return iy(r2.count(ie(t)-1,t),e,2)}function nu(t,e){return iy(t.getUTCFullYear()%100,e,2)}function nd(t,e){return iy((t=ns(t)).getUTCFullYear()%100,e,2)}function nf(t,e){return iy(t.getUTCFullYear()%1e4,e,4)}function np(t,e){var r=t.getUTCDay();return iy((t=r>=4||0===r?r4(t):r4.ceil(t)).getUTCFullYear()%1e4,e,4)}function ng(){return"+0000"}function ny(){return"%"}function nm(t){return+t}function nx(t){return Math.floor(+t/1e3)}(function(t){th=(tl=function(t){var e=t.dateTime,r=t.date,i=t.time,n=t.periods,a=t.days,o=t.shortDays,s=t.months,l=t.shortMonths,h=ix(n),c=ib(n),u=ix(a),d=ib(a),f=ix(o),p=ib(o),g=ix(s),y=ib(s),m=ix(l),x=ib(l),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:iz,e:iz,f:iH,g:i2,G:i5,H:ij,I:iR,j:iP,L:iq,m:iU,M:iY,p:function(t){return n[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:nm,s:nx,S:iV,u:iG,U:iX,V:iK,w:iJ,W:i0,x:null,X:null,y:i1,Y:i3,Z:i4,"%":ny},k={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:i6,e:i6,f:ne,g:nd,G:np,H:i8,I:i9,j:i7,L:nt,m:nr,M:ni,p:function(t){return n[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:nm,s:nx,S:nn,u:na,U:no,V:nl,w:nh,W:nc,x:null,X:null,y:nu,Y:nf,Z:ng,"%":ny},C={a:function(t,e,r){var i=f.exec(e.slice(r));return i?(t.w=p.get(i[0].toLowerCase()),r+i[0].length):-1},A:function(t,e,r){var i=u.exec(e.slice(r));return i?(t.w=d.get(i[0].toLowerCase()),r+i[0].length):-1},b:function(t,e,r){var i=m.exec(e.slice(r));return i?(t.m=x.get(i[0].toLowerCase()),r+i[0].length):-1},B:function(t,e,r){var i=g.exec(e.slice(r));return i?(t.m=y.get(i[0].toLowerCase()),r+i[0].length):-1},c:function(t,r,i){return v(t,e,r,i)},d:iA,e:iA,f:iO,g:iS,G:iT,H:i$,I:i$,j:iF,L:iD,m:iL,M:iW,p:function(t,e,r){var i=h.exec(e.slice(r));return i?(t.p=c.get(i[0].toLowerCase()),r+i[0].length):-1},q:iB,Q:iN,s:iI,S:iE,u:iC,U:iw,V:i_,w:ik,W:iv,x:function(t,e,i){return v(t,r,e,i)},X:function(t,e,r){return v(t,i,e,r)},y:iS,Y:iT,Z:iM,"%":iZ};function w(t,e){return function(r){var i,n,a,o=[],s=-1,l=0,h=t.length;for(!(r instanceof Date)&&(r=new Date(+r));++s53)return null;!("w"in a)&&(a.w=1),"Z"in a?(i=(n=(i=ih(ic(a.y,0,1))).getUTCDay())>4||0===n?r2.ceil(i):r2(i),i=rq.offset(i,(a.V-1)*7),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=(n=(i=il(ic(a.y,0,1))).getDay())>4||0===n?rV.ceil(i):rV(i),i=rP.offset(i,(a.V-1)*7),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),n="Z"in a?ih(ic(a.y,0,1)).getUTCDay():il(ic(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(n+5)%7:a.w+7*a.U-(n+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,ih(a)):il(a)}}function v(t,e,r,i){for(var n,a,o=0,s=e.length,l=r.length;o=l)return -1;if(37===(n=e.charCodeAt(o++))){if(!(a=C[(n=e.charAt(o++))in iu?e.charAt(o++):n])||(i=a(t,r,i))<0)return -1}else if(n!=r.charCodeAt(i++))return -1}return i}return b.x=w(r,b),b.X=w(i,b),b.c=w(e,b),k.x=w(r,k),k.X=w(i,k),k.c=w(e,k),{format:function(t){var e=w(t+="",b);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=w(t+="",k);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t+="",!0);return e.toString=function(){return t},e}}}(t)).format,tl.parse,tl.utcFormat,tl.utcParse})({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"]});function nb(t){return new Date(t)}function nk(t){return t instanceof Date?+t:+new Date(+t)}function nC(){return e0.apply((function t(e,r,i,n,a,o,s,l,h,c){var u=rm(),d=u.invert,f=u.domain,p=c(".%L"),g=c(":%S"),y=c("%I:%M"),m=c("%I %p"),x=c("%a %d"),b=c("%b %d"),k=c("%B"),C=c("%Y");function w(t){return(h(t)=1?nW:t<=-1?-nW:Math.asin(t)}let nO=Math.PI,nZ=2*nO,nN=nZ-1e-6;function nI(t){this._+=t[0];for(let e=1,r=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return nI;let r=10**e;return function(t){this._+=t[0];for(let e=1,i=t.length;e1e-6){if(Math.abs(c*s-l*h)>1e-6&&n){let d=r-a,f=i-o,p=s*s+l*l,g=Math.sqrt(p),y=Math.sqrt(u),m=n*Math.tan((nO-Math.acos((p+u-(d*d+f*f))/(2*g*y)))/2),x=m/y,b=m/g;Math.abs(x-1)>1e-6&&this._append`L${t+x*h},${e+x*c}`,this._append`A${n},${n},0,0,${+(c*d>h*f)},${this._x1=t+b*s},${this._y1=e+b*l}`}else this._append`L${this._x1=t},${this._y1=e}`}else;}arc(t,e,r,i,n,a){if(t=+t,e=+e,r=+r,a=!!a,r<0)throw Error(`negative radius: ${r}`);let o=r*Math.cos(i),s=r*Math.sin(i),l=t+o,h=e+s,c=1^a,u=a?i-n:n-i;null===this._x1?this._append`M${l},${h}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&this._append`L${l},${h}`,r&&(u<0&&(u=u%nZ+nZ),u>nN?this._append`A${r},${r},0,1,${c},${t-o},${e-s}A${r},${r},0,1,${c},${this._x1=l},${this._y1=h}`:u>1e-6&&this._append`A${r},${r},0,${+(u>=nO)},${c},${this._x1=t+r*Math.cos(n)},${this._y1=e+r*Math.sin(n)}`)}rect(t,e,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function nj(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new nz(e)}function nR(t){return t.innerRadius}function nP(t){return t.outerRadius}function nq(t){return t.startAngle}function nH(t){return t.endAngle}function nU(t){return t&&t.padAngle}nz.prototype;function nY(t,e,r,i,n,a,o){var s=t-r,l=e-i,h=(o?a:-a)/nF(s*s+l*l),c=h*l,u=-h*s,d=t+c,f=e+u,p=r+c,g=i+u,y=(d+p)/2,m=(f+g)/2,x=p-d,b=g-f,k=x*x+b*b,C=n-a,w=d*g-p*f,_=(b<0?-1:1)*nF(nB(0,C*C*k-w*w)),v=(w*b-x*_)/k,T=(-w*x-b*_)/k,S=(w*b+x*_)/k,M=(-w*x+b*_)/k,B=v-y,L=T-m,A=S-y,F=M-m;return B*B+L*L>A*A+F*F&&(v=S,T=M),{cx:v,cy:T,x01:-c,y01:-u,x11:v*(n/C-1),y11:T*(n/C-1)}}function nV(){var t=nR,e=nP,r=nv(0),i=null,n=nq,a=nH,o=nU,s=null,l=nj(h);function h(){var h,c,u=+t.apply(this,arguments),d=+e.apply(this,arguments),f=n.apply(this,arguments)-nW,p=a.apply(this,arguments)-nW,g=nT(p-f),y=p>f;if(!s&&(s=h=l()),d1e-12){if(g>nE-1e-12)s.moveTo(d*nM(f),d*nA(f)),s.arc(0,0,d,f,p,!y),u>1e-12&&(s.moveTo(u*nM(p),u*nA(p)),s.arc(0,0,u,p,f,y));else{var m,x,b=f,k=p,C=f,w=p,_=g,v=g,T=o.apply(this,arguments)/2,S=T>1e-12&&(i?+i.apply(this,arguments):nF(u*u+d*d)),M=nL(nT(d-u)/2,+r.apply(this,arguments)),B=M,L=M;if(S>1e-12){var A=nD(S/u*nA(T)),F=nD(S/d*nA(T));(_-=2*A)>1e-12?(A*=y?1:-1,C+=A,w-=A):(_=0,C=w=(f+p)/2),(v-=2*F)>1e-12?(F*=y?1:-1,b+=F,k-=F):(v=0,b=k=(f+p)/2)}var $=d*nM(b),W=d*nA(b),E=u*nM(w),D=u*nA(w);if(M>1e-12){var O,Z=d*nM(k),N=d*nA(k),I=u*nM(C),z=u*nA(C);if(g1?0:j<-1?n$:Math.acos(j))/2),Y=nF(O[0]*O[0]+O[1]*O[1]);B=nL(M,(u-Y)/(U-1)),L=nL(M,(d-Y)/(U+1))}else B=L=0}}v>1e-12?L>1e-12?(m=nY(I,z,$,W,d,L,y),x=nY(Z,N,E,D,d,L,y),s.moveTo(m.cx+m.x01,m.cy+m.y01),L1e-12&&_>1e-12?B>1e-12?(m=nY(E,D,Z,N,u,-B,y),x=nY($,W,I,z,u,-B,y),s.lineTo(m.cx+m.x01,m.cy+m.y01),Bt?1:e>=t?0:NaN}function n2(t){return t}function n3(){var t=n2,e=n1,r=null,i=nv(0),n=nv(nE),a=nv(0);function o(o){var s,l,h,c,u,d=(o=nG(o)).length,f=0,p=Array(d),g=Array(d),y=+i.apply(this,arguments),m=Math.min(nE,Math.max(-nE,n.apply(this,arguments)-y)),x=Math.min(Math.abs(m)/d,a.apply(this,arguments)),b=x*(m<0?-1:1);for(s=0;s0&&(f+=u);for(null!=e?p.sort(function(t,r){return e(g[t],g[r])}):null!=r&&p.sort(function(t,e){return r(o[t],o[e])}),s=0,h=f?(m-d*b)/f:0;s0?u*h:0)+b,g[l]={data:o[l],index:s,value:u,startAngle:y,endAngle:c,padAngle:x};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:nv(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,r=null,o):e},o.sort=function(t){return arguments.length?(r=t,e=null,o):r},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:nv(+t),o):i},o.endAngle=function(t){return arguments.length?(n="function"==typeof t?t:nv(+t),o):n},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:nv(+t),o):a},o}function n5(){}function n4(t,e,r){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+r)/6)}function n6(t){this._context=t}function n8(t){return new n6(t)}function n9(t){this._context=t}function n7(t){return new n9(t)}function at(t){this._context=t}function ae(t){return new at(t)}Array.prototype.slice,nX.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)}}},n6.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:n4(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:n4(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},n9.prototype={areaStart:n5,areaEnd:n5,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:n4(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},at.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 r=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:n4(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class ar{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 ai(t){return new ar(t,!0)}function an(t){return new ar(t,!1)}function aa(t,e){this._basis=new n6(t),this._beta=e}aa.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0){for(var i,n=t[0],a=e[0],o=t[r]-n,s=e[r]-a,l=-1;++l<=r;)i=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+i*o),this._beta*e[l]+(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)}};let ao=function t(e){function r(t){return 1===e?new n6(t):new aa(t,e)}return r.beta=function(e){return t(+e)},r}(.85);function as(t,e,r){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-r),t._x2,t._y2)}function al(t,e){this._context=t,this._k=(1-e)/6}al.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:as(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:as(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}};let ah=function t(e){function r(t){return new al(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ac(t,e){this._context=t,this._k=(1-e)/6}ac.prototype={areaStart:n5,areaEnd:n5,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:as(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}};let au=function t(e){function r(t){return new ac(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ad(t,e){this._context=t,this._k=(1-e)/6}ad.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:as(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}};let af=function t(e){function r(t){return new ad(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ap(t,e,r){var i=t._x1,n=t._y1,a=t._x2,o=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>1e-12){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*h+t._x1*t._l23_2a-e*t._l12_2a)/c,o=(o*h+t._y1*t._l23_2a-r*t._l12_2a)/c}t._context.bezierCurveTo(i,n,a,o,t._x2,t._y2)}function ag(t,e){this._context=t,this._alpha=e}ag.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 r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:ap(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}};let ay=function t(e){function r(t){return e?new ag(t,e):new al(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function am(t,e){this._context=t,this._alpha=e}am.prototype={areaStart:n5,areaEnd:n5,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 r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:ap(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}};let ax=function t(e){function r(t){return e?new am(t,e):new ac(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function ab(t,e){this._context=t,this._alpha=e}ab.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 r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:ap(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}};let ak=function t(e){function r(t){return e?new ab(t,e):new ad(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function aC(t){this._context=t}function aw(t){return new aC(t)}function a_(t){return t<0?-1:1}function av(t,e,r){var i=t._x1-t._x0,n=e-t._x1,a=(t._y1-t._y0)/(i||n<0&&-0),o=(r-t._y1)/(n||i<0&&-0),s=(a*n+o*i)/(i+n);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function aT(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function aS(t,e,r){var i=t._x0,n=t._y0,a=t._x1,o=t._y1,s=(a-i)/3;t._context.bezierCurveTo(i+s,n+s*e,a-s,o-s*r,a,o)}function aM(t){this._context=t}function aB(t){this._context=new aL(t)}function aL(t){this._context=t}function aA(t){return new aM(t)}function aF(t){return new aB(t)}function a$(t){this._context=t}function aW(t){var e,r,i=t.length-1,n=Array(i),a=Array(i),o=Array(i);for(n[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e=0;--e)n[e]=(o[e]-n[e+1])/a[e];for(e=0,a[i-1]=(t[i]+n[i-1])/2;e=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 r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},aI.prototype={constructor:aI,scale:function(t){return 1===t?this:new aI(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new aI(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+")"}};var az=new aI(1,0,0);(function(t){for(;!t.__zoom;)if(!(t=t.parentNode))return az;return t.__zoom}).prototype=aI.prototype},75373:function(t,e,r){"use strict";r.d(e,{Z:function(){return J}});let{entries:i,setPrototypeOf:n,isFrozen:a,getPrototypeOf:o,getOwnPropertyDescriptor:s}=Object,{freeze:l,seal:h,create:c}=Object,{apply:u,construct:d}="undefined"!=typeof Reflect&&Reflect;!l&&(l=function(t){return t}),!h&&(h=function(t){return t}),!u&&(u=function(t,e,r){return t.apply(e,r)}),!d&&(d=function(t,e){return new t(...e)});let f=T(Array.prototype.forEach),p=T(Array.prototype.pop),g=T(Array.prototype.push),y=T(String.prototype.toLowerCase),m=T(String.prototype.toString),x=T(String.prototype.match),b=T(String.prototype.replace),k=T(String.prototype.indexOf),C=T(String.prototype.trim),w=T(Object.prototype.hasOwnProperty),_=T(RegExp.prototype.test),v=function(t){return function(){for(var e=arguments.length,r=Array(e),i=0;i1?r-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:y;n&&n(t,null);let i=e.length;for(;i--;){let n=e[i];if("string"==typeof n){let t=r(n);t!==n&&(!a(e)&&(e[i]=t),n=t)}t[n]=!0}return t}function M(t){let e=c(null);for(let[r,n]of i(t))w(t,r)&&(Array.isArray(n)?e[r]=function(t){for(let e=0;e/gm),R=h(/\${[\w\W]*}/gm),P=h(/^data-[\-\w.\u00B7-\uFFFF]/),q=h(/^aria-[\-\w]+$/),H=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=h(/^(?:\w+script|data):/i),Y=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=h(/^html$/i);var G=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:Y,CUSTOM_ELEMENT:h(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:P,DOCTYPE_NAME:V,ERB_EXPR:j,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:U,MUSTACHE_EXPR:z,TMPLIT_EXPR:R});let X={element:1,text:3,progressingInstruction:7,comment:8,document:9},Q=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(r=e.getAttribute(i));let n="dompurify"+(r?"#"+r:"");try{return t.createPolicy(n,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}},K=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var J=function t(){let e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=e=>t(e);if(n.version="3.2.2",n.removed=[],!r||!r.document||r.document.nodeType!==X.document)return n.isSupported=!1,n;let{document:a}=r,o=a,s=o.currentScript,{DocumentFragment:h,HTMLTemplateElement:u,Node:d,Element:T,NodeFilter:z,NamedNodeMap:j=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:R,DOMParser:P,trustedTypes:q}=r,U=T.prototype,Y=B(U,"cloneNode"),J=B(U,"remove"),tt=B(U,"nextSibling"),te=B(U,"childNodes"),tr=B(U,"parentNode");if("function"==typeof u){let t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let ti="",{implementation:tn,createNodeIterator:ta,createDocumentFragment:to,getElementsByTagName:ts}=a,{importNode:tl}=o,th=K();n.isSupported="function"==typeof i&&"function"==typeof tr&&tn&&void 0!==tn.createHTMLDocument;let{MUSTACHE_EXPR:tc,ERB_EXPR:tu,TMPLIT_EXPR:td,DATA_ATTR:tf,ARIA_ATTR:tp,IS_SCRIPT_OR_DATA:tg,ATTR_WHITESPACE:ty,CUSTOM_ELEMENT:tm}=G,{IS_ALLOWED_URI:tx}=G,tb=null,tk=S({},[...L,...A,...F,...W,...D]),tC=null,tw=S({},[...O,...Z,...N,...I]),t_=Object.seal(c(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}})),tv=null,tT=null,tS=!0,tM=!0,tB=!1,tL=!0,tA=!1,tF=!0,t$=!1,tW=!1,tE=!1,tD=!1,tO=!1,tZ=!1,tN=!0,tI=!1,tz=!0,tj=!1,tR={},tP=null,tq=S({},["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"]),tH=null,tU=S({},["audio","video","img","source","image","track"]),tY=null,tV=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tG="http://www.w3.org/1998/Math/MathML",tX="http://www.w3.org/2000/svg",tQ="http://www.w3.org/1999/xhtml",tK=tQ,tJ=!1,t0=null,t1=S({},[tG,tX,tQ],m),t2=S({},["mi","mo","mn","ms","mtext"]),t3=S({},["annotation-xml"]),t5=S({},["title","style","font","a","script"]),t4=null,t6=["application/xhtml+xml","text/html"],t8=null,t9=null,t7=a.createElement("form"),et=function(t){return t instanceof RegExp||t instanceof Function},ee=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t9||t9!==t){if((!t||"object"!=typeof t)&&(t={}),t=M(t),t8="application/xhtml+xml"===(t4=-1===t6.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?m:y,tb=w(t,"ALLOWED_TAGS")?S({},t.ALLOWED_TAGS,t8):tk,tC=w(t,"ALLOWED_ATTR")?S({},t.ALLOWED_ATTR,t8):tw,t0=w(t,"ALLOWED_NAMESPACES")?S({},t.ALLOWED_NAMESPACES,m):t1,tY=w(t,"ADD_URI_SAFE_ATTR")?S(M(tV),t.ADD_URI_SAFE_ATTR,t8):tV,tH=w(t,"ADD_DATA_URI_TAGS")?S(M(tU),t.ADD_DATA_URI_TAGS,t8):tU,tP=w(t,"FORBID_CONTENTS")?S({},t.FORBID_CONTENTS,t8):tq,tv=w(t,"FORBID_TAGS")?S({},t.FORBID_TAGS,t8):{},tT=w(t,"FORBID_ATTR")?S({},t.FORBID_ATTR,t8):{},tR=!!w(t,"USE_PROFILES")&&t.USE_PROFILES,tS=!1!==t.ALLOW_ARIA_ATTR,tM=!1!==t.ALLOW_DATA_ATTR,tB=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tL=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tA=t.SAFE_FOR_TEMPLATES||!1,tF=!1!==t.SAFE_FOR_XML,t$=t.WHOLE_DOCUMENT||!1,tD=t.RETURN_DOM||!1,tO=t.RETURN_DOM_FRAGMENT||!1,tZ=t.RETURN_TRUSTED_TYPE||!1,tE=t.FORCE_BODY||!1,tN=!1!==t.SANITIZE_DOM,tI=t.SANITIZE_NAMED_PROPS||!1,tz=!1!==t.KEEP_CONTENT,tj=t.IN_PLACE||!1,tx=t.ALLOWED_URI_REGEXP||H,tK=t.NAMESPACE||tQ,t2=t.MATHML_TEXT_INTEGRATION_POINTS||t2,t3=t.HTML_INTEGRATION_POINTS||t3,t_=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&et(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(t_.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&et(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(t_.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(t_.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tA&&(tM=!1),tO&&(tD=!0),tR&&(tb=S({},D),tC=[],!0===tR.html&&(S(tb,L),S(tC,O)),!0===tR.svg&&(S(tb,A),S(tC,Z),S(tC,I)),!0===tR.svgFilters&&(S(tb,F),S(tC,Z),S(tC,I)),!0===tR.mathMl&&(S(tb,W),S(tC,N),S(tC,I))),t.ADD_TAGS&&(tb===tk&&(tb=M(tb)),S(tb,t.ADD_TAGS,t8)),t.ADD_ATTR&&(tC===tw&&(tC=M(tC)),S(tC,t.ADD_ATTR,t8)),t.ADD_URI_SAFE_ATTR&&S(tY,t.ADD_URI_SAFE_ATTR,t8),t.FORBID_CONTENTS&&(tP===tq&&(tP=M(tP)),S(tP,t.FORBID_CONTENTS,t8)),tz&&(tb["#text"]=!0),t$&&S(tb,["html","head","body"]),tb.table&&(S(tb,["tbody"]),delete tv.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ti=(e=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===e&&(e=Q(q,s)),null!==e&&"string"==typeof ti&&(ti=e.createHTML(""));l&&l(t),t9=t}},er=S({},[...A,...F,...$]),ei=S({},[...W,...E]),en=function(t){let e=tr(t);(!e||!e.tagName)&&(e={namespaceURI:tK,tagName:"template"});let r=y(t.tagName),i=y(e.tagName);if(!t0[t.namespaceURI])return!1;if(t.namespaceURI===tX)return e.namespaceURI===tQ?"svg"===r:e.namespaceURI===tG?"svg"===r&&("annotation-xml"===i||t2[i]):!!er[r];if(t.namespaceURI===tG)return e.namespaceURI===tQ?"math"===r:e.namespaceURI===tX?"math"===r&&t3[i]:!!ei[r];if(t.namespaceURI===tQ)return(e.namespaceURI!==tX||!!t3[i])&&(e.namespaceURI!==tG||!!t2[i])&&!ei[r]&&(t5[r]||!er[r]);return"application/xhtml+xml"===t4&&!!t0[t.namespaceURI]||!1},ea=function(t){g(n.removed,{element:t});try{tr(t).removeChild(t)}catch(e){J(t)}},eo=function(t,e){try{g(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){g(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t){if(tD||tO)try{ea(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},es=function(t){let r=null,i=null;if(tE)t=""+t;else{let e=x(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===t4&&tK===tQ&&(t=''+t+"");let n=e?e.createHTML(t):t;if(tK===tQ)try{r=new P().parseFromString(n,t4)}catch(t){}if(!r||!r.documentElement){r=tn.createDocument(tK,"template",null);try{r.documentElement.innerHTML=tJ?ti:n}catch(t){}}let o=r.body||r.documentElement;return(t&&i&&o.insertBefore(a.createTextNode(i),o.childNodes[0]||null),tK===tQ)?ts.call(r,t$?"html":"body")[0]:t$?r.documentElement:o},el=function(t){return ta.call(t.ownerDocument||t,t,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},eh=function(t){return t instanceof R&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ec=function(t){return"function"==typeof d&&t instanceof d};function eu(t,e,r){f(t,t=>{t.call(n,e,r,t9)})}let ed=function(t){let e=null;if(eu(th.beforeSanitizeElements,t,null),eh(t))return ea(t),!0;let r=t8(t.nodeName);if(eu(th.uponSanitizeElement,t,{tagName:r,allowedTags:tb}),t.hasChildNodes()&&!ec(t.firstElementChild)&&_(/<[/\w]/g,t.innerHTML)&&_(/<[/\w]/g,t.textContent)||t.nodeType===X.progressingInstruction||tF&&t.nodeType===X.comment&&_(/<[/\w]/g,t.data))return ea(t),!0;if(!tb[r]||tv[r]){if(!tv[r]&&ep(r)&&(t_.tagNameCheck instanceof RegExp&&_(t_.tagNameCheck,r)||t_.tagNameCheck instanceof Function&&t_.tagNameCheck(r)))return!1;if(tz&&!tP[r]){let e=tr(t)||t.parentNode,r=te(t)||t.childNodes;if(r&&e){let i=r.length;for(let n=i-1;n>=0;--n){let i=Y(r[n],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,tt(t))}}}return ea(t),!0}return t instanceof T&&!en(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&_(/<\/no(script|embed|frames)/i,t.innerHTML)?(ea(t),!0):(tA&&t.nodeType===X.text&&(e=t.textContent,f([tc,tu,td],t=>{e=b(e,t," ")}),t.textContent!==e&&(g(n.removed,{element:t.cloneNode()}),t.textContent=e)),eu(th.afterSanitizeElements,t,null),!1)},ef=function(t,e,r){if(tN&&("id"===e||"name"===e)&&(r in a||r in t7))return!1;if(tM&&!tT[e]&&_(tf,e));else if(tS&&_(tp,e));else if(!tC[e]||tT[e]){if(!(ep(t)&&(t_.tagNameCheck instanceof RegExp&&_(t_.tagNameCheck,t)||t_.tagNameCheck instanceof Function&&t_.tagNameCheck(t))&&(t_.attributeNameCheck instanceof RegExp&&_(t_.attributeNameCheck,e)||t_.attributeNameCheck instanceof Function&&t_.attributeNameCheck(e))||"is"===e&&t_.allowCustomizedBuiltInElements&&(t_.tagNameCheck instanceof RegExp&&_(t_.tagNameCheck,r)||t_.tagNameCheck instanceof Function&&t_.tagNameCheck(r))))return!1}else if(tY[e]);else if(_(tx,b(r,ty,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===k(r,"data:")&&tH[t]);else if(tB&&!_(tg,b(r,ty,"")));else if(r)return!1;return!0},ep=function(t){return"annotation-xml"!==t&&x(t,tm)},eg=function(t){eu(th.beforeSanitizeAttributes,t,null);let{attributes:r}=t;if(!r)return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tC,forceKeepAttr:void 0},a=r.length;for(;a--;){let{name:o,namespaceURI:s,value:l}=r[a],h=t8(o),c="value"===o?l:C(l);if(i.attrName=h,i.attrValue=c,i.keepAttr=!0,i.forceKeepAttr=void 0,eu(th.uponSanitizeAttribute,t,i),c=i.attrValue,tI&&("id"===h||"name"===h)&&(eo(o,t),c="user-content-"+c),tF&&_(/((--!?|])>)|<\/(style|title)/i,c)){eo(o,t);continue}if(i.forceKeepAttr)continue;if(eo(o,t),!i.keepAttr)continue;if(!tL&&_(/\/>/i,c)){eo(o,t);continue}tA&&f([tc,tu,td],t=>{c=b(c,t," ")});let u=t8(t.nodeName);if(!!ef(u,h,c)){if(e&&"object"==typeof q&&"function"==typeof q.getAttributeType){if(s);else switch(q.getAttributeType(u,h)){case"TrustedHTML":c=e.createHTML(c);break;case"TrustedScriptURL":c=e.createScriptURL(c)}}try{s?t.setAttributeNS(s,o,c):t.setAttribute(o,c),eh(t)?ea(t):p(n.removed)}catch(t){}}}eu(th.afterSanitizeAttributes,t,null)},ey=function t(e){let r=null,i=el(e);for(eu(th.beforeSanitizeShadowDOM,e,null);r=i.nextNode();){if(eu(th.uponSanitizeShadowNode,r,null),!ed(r))r.content instanceof h&&t(r.content),eg(r)}eu(th.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,a=null,s=null,l=null;if((tJ=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ec(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw v("dirty is not a string, aborting")}else throw v("toString is not a function")}if(!n.isSupported)return t;if(!tW&&ee(r),n.removed=[],"string"==typeof t&&(tj=!1),tj){if(t.nodeName){let e=t8(t.nodeName);if(!tb[e]||tv[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof d)(a=(i=es("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType===X.element&&"BODY"===a.nodeName?i=a:"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!tD&&!tA&&!t$&&-1===t.indexOf("<"))return e&&tZ?e.createHTML(t):t;if(!(i=es(t)))return tD?null:tZ?ti:""}i&&tE&&ea(i.firstChild);let c=el(tj?t:i);for(;s=c.nextNode();){if(!ed(s))s.content instanceof h&&ey(s.content),eg(s)}if(tj)return t;if(tD){if(tO)for(l=to.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(tC.shadowroot||tC.shadowrootmode)&&(l=tl.call(o,l,!0)),l}let u=t$?i.outerHTML:i.innerHTML;return t$&&tb["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&_(V,i.ownerDocument.doctype.name)&&(u="\n"+u),tA&&f([tc,tu,td],t=>{u=b(u,t," ")}),e&&tZ?e.createHTML(u):u},n.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ee(t),tW=!0},n.clearConfig=function(){t9=null,tW=!1},n.isValidAttribute=function(t,e,r){!t9&&ee({});let i=t8(t);return ef(i,t8(e),r)},n.addHook=function(t,e){if("function"==typeof e)g(th[t],e)},n.removeHook=function(t){return p(th[t])},n.removeHooks=function(t){th[t]=[]},n.removeAllHooks=function(){th=K()},n}()},90930:function(t,e,r){"use strict";r.d(e,{Z:()=>o});var i=r("53763"),n=r("75036");let a=class t{constructor(){this.type=n.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=n.w.ALL}is(t){return this.type===t}},o=new class t{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new a}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=n.w.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:n}=t;void 0===e&&(t.h=i.Z.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=i.Z.channel.rgb2hsl(t,"s")),void 0===n&&(t.l=i.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:n}=t;void 0===e&&(t.r=i.Z.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=i.Z.channel.hsl2rgb(t,"g")),void 0===n&&(t.b=i.Z.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(n.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(n.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(n.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(n.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(n.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(n.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},26652:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("90930"),n=r("75036");let a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(a.re);if(!e)return;let r=e[1],n=parseInt(r,16),o=r.length,s=o%4==0,l=o>4,h=l?1:17,c=l?8:4,u=s?0:-1,d=l?255:15;return i.Z.set({r:(n>>c*(u+3)&d)*h,g:(n>>c*(u+2)&d)*h,b:(n>>c*(u+1)&d)*h,a:s?(n&d)*h/255:1},t)},stringify:t=>{let{r:e,g:r,b:i,a}=t;return a<1?`#${n.Q[Math.round(e)]}${n.Q[Math.round(r)]}${n.Q[Math.round(i)]}${n.Q[Math.round(255*a)]}`:`#${n.Q[Math.round(e)]}${n.Q[Math.round(r)]}${n.Q[Math.round(i)]}`}};var o=r("53763");let s={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=>{let e=t.match(s.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return o.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return o.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return o.Z.channel.clamp.h(360*parseFloat(t))}}return o.Z.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(s.re);if(!r)return;let[,n,a,l,h,c]=r;return i.Z.set({h:s._hue2deg(n),s:o.Z.channel.clamp.s(parseFloat(a)),l:o.Z.channel.clamp.l(parseFloat(l)),a:h?o.Z.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{let{h:e,s:r,l:i,a:n}=t;return n<1?`hsla(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}%, ${o.Z.lang.round(i)}%, ${n})`:`hsl(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}%, ${o.Z.lang.round(i)}%)`}},l={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();let e=l.colors[t];if(e)return a.parse(e)},stringify:t=>{let e=a.stringify(t);for(let t in l.colors)if(l.colors[t]===e)return t}},h={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=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let r=t.match(h.re);if(!r)return;let[,n,a,s,l,c,u,d,f]=r;return i.Z.set({r:o.Z.channel.clamp.r(a?2.55*parseFloat(n):parseFloat(n)),g:o.Z.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:o.Z.channel.clamp.b(u?2.55*parseFloat(c):parseFloat(c)),a:d?o.Z.channel.clamp.a(f?parseFloat(d)/100:parseFloat(d)):1},t)},stringify:t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`rgba(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}, ${o.Z.lang.round(i)}, ${o.Z.lang.round(n)})`:`rgb(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}, ${o.Z.lang.round(i)})`}},c={format:{keyword:l,hex:a,rgb:h,rgba:h,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=a.parse(t)||h.parse(t)||s.parse(t)||l.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(n.w.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?a.stringify(t):h.stringify(t)}},75036:function(t,e,r){"use strict";r.d(e,{Q:function(){return n},w:function(){return a}});var i=r(53763);let n={};for(let t=0;t<=255;t++)n[t]=i.Z.unit.dec2hex(t);let a={ALL:0,RGB:1,HSL:2}},46859:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(53763),n=r(26652);let a=(t,e,r)=>{let a=n.Z.parse(t),o=a[e],s=i.Z.channel.clamp[e](o+r);return o!==s&&(a[e]=s),n.Z.stringify(a)}},17826:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(53763),n=r(26652);let a=(t,e)=>{let r=n.Z.parse(t);for(let t in e)r[t]=i.Z.channel.clamp[t](e[t]);return n.Z.stringify(r)}},35035:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(46859);let n=(t,e)=>(0,i.Z)(t,"l",-e)},77845:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("53763"),n=r("26652");let a=t=>{let{r:e,g:r,b:a}=n.Z.parse(t),o=.2126*i.Z.channel.toLinear(e)+.7152*i.Z.channel.toLinear(r)+.0722*i.Z.channel.toLinear(a);return i.Z.lang.round(o)},o=t=>a(t)>=.5,s=t=>!o(t)},86750:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(46859);let n=(t,e)=>(0,i.Z)(t,"l",e)},13328:function(t,e,r){"use strict";r.d(e,{Z:function(){return s}});var i=r(53763),n=r(90930),a=r(26652),o=r(17826);let s=(t,e,r=0,s=1)=>{if("number"!=typeof t)return(0,o.Z)(t,{a:e});let l=n.Z.set({r:i.Z.channel.clamp.r(t),g:i.Z.channel.clamp.g(e),b:i.Z.channel.clamp.b(r),a:i.Z.channel.clamp.a(s)});return a.Z.stringify(l)}},53763:function(t,e,r){"use strict";r.d(e,{Z:()=>n});let i={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=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t,hsl2rgb:({h:t,s:e,l:r},n)=>{if(!e)return 2.55*r;t/=360,e/=100;let a=(r/=100)<.5?r*(1+e):r+e-r*e,o=2*r-a;switch(n){case"r":return 255*i.hue2rgb(o,a,t+1/3);case"g":return 255*i.hue2rgb(o,a,t);case"b":return 255*i.hue2rgb(o,a,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},i)=>{let n=Math.max(t/=255,e/=255,r/=255),a=Math.min(t,e,r),o=(n+a)/2;if("l"===i)return 100*o;if(n===a)return 0;let s=n-a;if("s"===i)return 100*(o>.5?s/(2-n-a):s/(n+a));switch(n){case t:return((e-r)/s+(ee>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},87390:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("38487");let n=function(t,e){for(var r=t.length;r--;)if((0,i.Z)(t[r][0],e))return r;return -1};var a=Array.prototype.splice;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1},o.prototype.set=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};let s=o},2321:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(16161),n=r(52434);let a=(0,i.Z)(n.Z,"Map")},79401:function(t,e,r){"use strict";r.d(e,{Z:()=>d});var i=(0,r("16161").Z)(Object,"create"),n=Object.prototype.hasOwnProperty,a=Object.prototype.hasOwnProperty;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++es});var i=r("87390"),n=r("2321"),a=r("79401");function o(t){var e=this.__data__=new i.Z(t);this.size=e.size}o.prototype.clear=function(){this.__data__=new i.Z,this.size=0},o.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},o.prototype.get=function(t){return this.__data__.get(t)},o.prototype.has=function(t){return this.__data__.has(t)},o.prototype.set=function(t,e){var r=this.__data__;if(r instanceof i.Z){var o=r.__data__;if(!n.Z||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new a.Z(o)}return r.set(t,e),this.size=r.size,this};let s=o},3958:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=r(52434).Z.Symbol},8530:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=r(52434).Z.Uint8Array},12895:function(t,e,r){"use strict";r.d(e,{Z:()=>c});let i=function(t,e){for(var r=-1,i=Array(t);++rn});let n=function(t,e,r){for(var i=-1,n=Object(t),a=r(t),o=a.length;o--;){var s=a[++i];if(!1===e(n[s],s,n))break}return t}},65182:function(t,e,r){"use strict";r.d(e,{Z:()=>u});var i=r("3958"),n=Object.prototype,a=n.hasOwnProperty,o=n.toString,s=i.Z?i.Z.toStringTag:void 0;let l=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var i=!0}catch(t){}var n=o.call(t);return i&&(e?t[s]=r:delete t[s]),n};var h=Object.prototype.toString,c=i.Z?i.Z.toStringTag:void 0;let u=function(t){var e;if(null==t)return void 0===t?"[object Undefined]":"[object Null]";return c&&c in Object(t)?l(t):(e=t,h.call(e))}},22769:function(t,e,r){"use strict";r.d(e,{Z:()=>o});var i=r("84342"),n=(0,r("14965").Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty;let o=function(t){if(!(0,i.Z)(t))return n(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},53148:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var i=r(94675),n=r(89647),a=r(89186);let o=function(t,e){return(0,a.Z)((0,n.Z)(t,e,i.Z),t+"")}},44026:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return function(e){return t(e)}}},21914:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(8530);let n=function(t){var e=new t.constructor(t.byteLength);return new i.Z(e).set(new i.Z(t)),e}},49307:function(t,e,r){"use strict";r.d(e,{Z:function(){return l}});var i=r(52434),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===n?i.Z.Buffer:void 0,s=o?o.allocUnsafe:void 0;let l=function(t,e){if(e)return t.slice();var r=t.length,i=s?s(r):new t.constructor(r);return t.copy(i),i}},32025:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(21914);let n=function(t,e){var r=e?(0,i.Z)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},76177:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t,e){var r=-1,i=t.length;for(e||(e=Array(i));++r1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,s&&(0,n.Z)(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),e=Object(e);++ig});var i,n=r("18782"),a=r("52434").Z["__core-js_shared__"];var o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",s=r("58641"),l=r("71842"),h=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let p=function(t){var e;return!!(0,s.Z)(t)&&(e=t,!o||!(o in e))&&((0,n.Z)(t)?f:h).test((0,l.Z)(t))},g=function(t,e){var r,i,n=(r=t,i=e,null==r?void 0:r[i]);return p(n)?n:void 0}},53754:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=(0,r(14965).Z)(Object.getPrototypeOf,Object)},23302:function(t,e,r){"use strict";r.d(e,{Z:()=>_});var i=r("16161"),n=r("52434"),a=(0,i.Z)(n.Z,"DataView"),o=r("2321"),s=(0,i.Z)(n.Z,"Promise"),l=r("88521"),h=(0,i.Z)(n.Z,"WeakMap"),c=r("65182"),u=r("71842"),d="[object Map]",f="[object Promise]",p="[object Set]",g="[object WeakMap]",y="[object DataView]",m=(0,u.Z)(a),x=(0,u.Z)(o.Z),b=(0,u.Z)(s),k=(0,u.Z)(l.Z),C=(0,u.Z)(h),w=c.Z;(a&&w(new a(new ArrayBuffer(1)))!=y||o.Z&&w(new o.Z)!=d||s&&w(s.resolve())!=f||l.Z&&w(new l.Z)!=p||h&&w(new h)!=g)&&(w=function(t){var e=(0,c.Z)(t),r="[object Object]"==e?t.constructor:void 0,i=r?(0,u.Z)(r):"";if(i)switch(i){case m:return y;case x:return d;case b:return f;case k:return p;case C:return g}return e});let _=w},62799:function(t,e,r){"use strict";r.d(e,{Z:()=>l});var i=r("58641"),n=Object.create,a=function(){function t(){}return function(e){if(!(0,i.Z)(e))return{};if(n)return n(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),o=r("53754"),s=r("84342");let l=function(t){return"function"!=typeof t.constructor||(0,s.Z)(t)?{}:a((0,o.Z)(t))}},92383:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=/^(?:0|[1-9]\d*)$/;let n=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&i.test(t))&&t>-1&&t%1==0&&ta});let i=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var n=Math.max;let a=function(t,e,r){return e=n(void 0===e?t.length-1:e,0),function(){for(var a=arguments,o=-1,s=n(a.length-e,0),l=Array(s);++ou});var i,n,a,o=r("96498"),s=r("33722"),l=r("94675"),h=s.Z?function(t,e){return(0,s.Z)(t,"toString",{configurable:!0,enumerable:!1,value:(0,o.Z)(e),writable:!0})}:l.Z,c=Date.now;let u=(i=h,n=0,a=0,function(){var t=c(),e=16-(t-a);if(a=t,e>0){if(++n>=800)return arguments[0]}else n=0;return i.apply(void 0,arguments)})},71842:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=Function.prototype.toString;let n=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},96498:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return function(){return t}}},38487:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t,e){return t===e||t!=t&&e!=e}},94675:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return t}},45988:function(t,e,r){"use strict";r.d(e,{Z:()=>h});var i=r("65182"),n=r("75887");let a=function(t){return(0,n.Z)(t)&&"[object Arguments]"==(0,i.Z)(t)};var o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable;let h=a(function(){return arguments}())?a:function(t){return(0,n.Z)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},31739:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=Array.isArray},71581:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(18782),n=r(49666);let a=function(t){return null!=t&&(0,n.Z)(t.length)&&!(0,i.Z)(t)}},61322:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(71581),n=r(75887);let a=function(t){return(0,n.Z)(t)&&(0,i.Z)(t)}},25162:function(t,e,r){"use strict";r.d(e,{Z:()=>l});var i=r("52434"),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===n?i.Z.Buffer:void 0,s=o?o.isBuffer:void 0;let l=s||function(){return!1}},73217:function(t,e,r){"use strict";r.d(e,{Z:function(){return d}});var i=r(22769),n=r(23302),a=r(45988),o=r(31739),s=r(71581),l=r(25162),h=r(84342),c=r(48366),u=Object.prototype.hasOwnProperty;let d=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,o.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.Z)(t)||(0,c.Z)(t)||(0,a.Z)(t)))return!t.length;var e=(0,n.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.Z)(t))return!(0,i.Z)(t).length;for(var r in t)if(u.call(t,r))return!1;return!0}},18782:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(65182),n=r(58641);let a=function(t){if(!(0,n.Z)(t))return!1;var e=(0,i.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},49666:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},58641:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},75887:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return null!=t&&"object"==typeof t}},48366:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("65182"),n=r("49666"),a=r("75887"),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=r("44026"),l=r("74413"),h=l.Z&&l.Z.isTypedArray;let c=h?(0,s.Z)(h):function(t){return(0,a.Z)(t)&&(0,n.Z)(t.length)&&!!o[(0,i.Z)(t)]}},40038:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("12895"),n=r("58641"),a=r("84342");let o=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;let l=function(t){if(!(0,n.Z)(t))return o(t);var e=(0,a.Z)(t),r=[];for(var i in t)!("constructor"==i&&(e||!s.call(t,i)))&&r.push(i);return r};var h=r("71581");let c=function(t){return(0,h.Z)(t)?(0,i.Z)(t,!0):l(t)}},65269:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(79401);function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],a=r.cache;if(a.has(n))return a.get(n);var o=t.apply(this,i);return r.cache=a.set(n,o)||a,o};return r.cache=new(n.Cache||i.Z),r}n.Cache=i.Z;let a=n},41777:function(t,e,r){"use strict";r.d(e,{Z:()=>$});var i=r("11395"),n=r("49790"),a=r("38487");let o=function(t,e,r){(void 0!==r&&!(0,a.Z)(t[e],r)||void 0===r&&!(e in t))&&(0,n.Z)(t,e,r)};var s=r("45467"),l=r("49307"),h=r("32025"),c=r("76177"),u=r("62799"),d=r("45988"),f=r("31739"),p=r("61322"),g=r("25162"),y=r("18782"),m=r("58641"),x=r("65182"),b=r("53754"),k=r("75887"),C=Object.prototype,w=Function.prototype.toString,_=C.hasOwnProperty,v=w.call(Object);let T=function(t){if(!(0,k.Z)(t)||"[object Object]"!=(0,x.Z)(t))return!1;var e=(0,b.Z)(t);if(null===e)return!0;var r=_.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&w.call(r)==v};var S=r("48366");let M=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var B=r("29919"),L=r("40038");let A=function(t,e,r,i,n,a,s){var x=M(t,r),b=M(e,r),k=s.get(b);if(k){o(t,r,k);return}var C=a?a(x,b,r+"",t,e,s):void 0,w=void 0===C;if(w){var _,v=(0,f.Z)(b),A=!v&&(0,g.Z)(b),F=!v&&!A&&(0,S.Z)(b);if(C=b,v||A||F)(0,f.Z)(x)?C=x:(0,p.Z)(x)?C=(0,c.Z)(x):A?(w=!1,C=(0,l.Z)(b,!0)):F?(w=!1,C=(0,h.Z)(b,!0)):C=[];else if(T(b)||(0,d.Z)(b)){if(C=x,(0,d.Z)(x)){;_=x,C=(0,B.Z)(_,(0,L.Z)(_))}else(!(0,m.Z)(x)||(0,y.Z)(x))&&(C=(0,u.Z)(b))}else w=!1}w&&(s.set(b,C),n(C,b,i,a,s),s.delete(b)),o(t,r,C)},F=function t(e,r,n,a,l){if(e!==r)(0,s.Z)(r,function(s,h){if(l||(l=new i.Z),(0,m.Z)(s))A(e,r,h,n,t,a,l);else{var c=a?a(M(e,h),s,h+"",e,r,l):void 0;void 0===c&&(c=s),o(e,h,c)}},L.Z)},$=(0,r("92807").Z)(function(t,e,r){F(t,e,r)})},30594:function(t,e,r){"use strict";r.d(e,{o:function(){return s}});var i=r(74146),n={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function a(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=o(t),e=o(e);let[r,i]=[t.x,t.y],[n,a]=[e.x,e.y],s=n-r,l=a-i;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}(0,i.eW)(a,"calculateDeltaAndAngle");var o=(0,i.eW)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),s=(0,i.eW)(t=>({x:(0,i.eW)(function(e,r,i){let s=0,l=o(i[0]).x=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaX:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let h=Math.abs(o(e).x-o(i[i.length-1]).x),c=Math.abs(o(e).y-o(i[i.length-1]).y),u=Math.abs(o(e).x-o(i[0]).x),d=Math.abs(o(e).y-o(i[0]).y),f=n[t.arrowTypeStart],p=n[t.arrowTypeEnd];if(h0&&c0&&d=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaY:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let h=Math.abs(o(e).y-o(i[i.length-1]).y),c=Math.abs(o(e).x-o(i[i.length-1]).x),u=Math.abs(o(e).y-o(i[0]).y),d=Math.abs(o(e).x-o(i[0]).x),f=n[t.arrowTypeStart],p=n[t.arrowTypeEnd];if(h0&&c0&&d{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins")},29660:function(t,e,r){"use strict";r.d(e,{DQ:function(){return N},I_:function(){return x},Jj:function(){return k},QP:function(){return M},ZH:function(){return y}});var i=r(37971),n=r(30594),a=r(82612),o=r(41200),s=r(68394),l=r(74146),h=r(27818),c=r(74247),u=(0,l.eW)((t,e,r,i,n)=>{e.arrowTypeStart&&f(t,"start",e.arrowTypeStart,r,i,n),e.arrowTypeEnd&&f(t,"end",e.arrowTypeEnd,r,i,n)},"addEdgeMarkers"),d={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},f=(0,l.eW)((t,e,r,i,n,a)=>{let o=d[r];if(!o){l.cM.warn(`Unknown arrow type: ${r}`);return}t.attr(`marker-${e}`,`url(${i}#${n}_${a}-${o}${"start"===e?"Start":"End"})`)},"addEdgeMarker"),p=new Map,g=new Map,y=(0,l.eW)(()=>{p.clear(),g.clear()},"clear"),m=(0,l.eW)(t=>t?t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),x=(0,l.eW)(async(t,e)=>{let r,n=(0,l.ku)((0,l.nV)().flowchart.htmlLabels),a=await (0,o.rw)(t,e.label,{style:m(e.labelStyle),useHtmlLabels:n,addSvgBackground:!0,isNode:!1});l.cM.info("abc82",e,e.labelType);let s=t.insert("g").attr("class","edgeLabel"),c=s.insert("g").attr("class","label");c.node().appendChild(a);let u=a.getBBox();if(n){let t=a.children[0],e=(0,h.Ys)(a);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}if(c.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"),p.set(e.id,s),e.width=u.width,e.height=u.height,e.startLabelLeft){let n=await (0,i.XO)(e.startLabelLeft,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).startLeft=a,b(r,e.startLabelLeft)}if(e.startLabelRight){let n=await (0,i.XO)(e.startLabelRight,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=a.node().appendChild(n),o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).startRight=a,b(r,e.startLabelRight)}if(e.endLabelLeft){let n=await (0,i.XO)(e.endLabelLeft,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),a.node().appendChild(n),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).endLeft=a,b(r,e.endLabelLeft)}if(e.endLabelRight){let n=await (0,i.XO)(e.endLabelRight,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),a.node().appendChild(n),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).endRight=a,b(r,e.endLabelRight)}return a},"insertEdgeLabel");function b(t,e){(0,l.nV)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,l.eW)(b,"setTerminalWidth");var k=(0,l.eW)((t,e)=>{l.cM.debug("Moving label abc88 ",t.id,t.label,p.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=(0,l.nV)(),{subGraphTitleTotalMargin:n}=(0,a.L)(i);if(t.label){let i=p.get(t.id),a=t.x,o=t.y;if(r){let i=s.w8.calcLabelPosition(r);l.cM.debug("Moving label "+t.label+" from (",a,",",o,") to (",i.x,",",i.y,") abc88"),e.updatedPath&&(a=i.x,o=i.y)}i.attr("transform",`translate(${a}, ${o+n/2})`)}if(t.startLabelLeft){let e=g.get(t.id).startLeft,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.startLabelRight){let e=g.get(t.id).startRight,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelLeft){let e=g.get(t.id).endLeft,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelRight){let e=g.get(t.id).endRight,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}},"positionEdgeLabel"),C=(0,l.eW)((t,e)=>{let r=t.x,i=t.y,n=Math.abs(e.x-r),a=Math.abs(e.y-i),o=t.width/2,s=t.height/2;return n>=o||a>=s},"outsideNode"),w=(0,l.eW)((t,e,r)=>{l.cM.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(e)} + insidePoint : ${JSON.stringify(r)} + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,n=t.y,a=Math.abs(i-r.x),o=t.width/2,s=r.xMath.abs(i-e.x)*h){let t=r.y{l.cM.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],n=!1;return t.forEach(t=>{if(l.cM.info("abc88 checking point",t,e),C(e,t)||n)l.cM.warn("abc88 outside",t,i),i=t,!n&&r.push(t);else{let a=w(e,i,t);l.cM.debug("abc88 inside",t,i,a),l.cM.debug("abc88 intersection",a,e);let o=!1;r.forEach(t=>{o=o||t.x===a.x&&t.y===a.y}),r.some(t=>t.x===a.x&&t.y===a.y)?l.cM.warn("abc88 no intersect",a,r):r.push(a),n=!0}}),l.cM.debug("returning points",r),r},"cutPathAtIntersect");function v(t){let e=[],r=[];for(let i=1;i5&&Math.abs(a.y-n.y)>5?(e.push(a),r.push(i)):n.y===a.y&&a.x===o.x&&Math.abs(a.x-n.x)>5&&Math.abs(a.y-o.y)>5&&(e.push(a),r.push(i))}return{cornerPoints:e,cornerPointPositions:r}}(0,l.eW)(v,"extractCornerPoints");var T=(0,l.eW)(function(t,e,r){let i=e.x-t.x,n=e.y-t.y,a=r/Math.sqrt(i*i+n*n);return{x:e.x-a*i,y:e.y-a*n}},"findAdjacentPoint"),S=(0,l.eW)(function(t){let{cornerPointPositions:e}=v(t),r=[];for(let i=0;i10&&Math.abs(n.y-e.y)>=10){l.cM.debug("Corner point fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y));d=a.x===o.x?{x:h<0?o.x-5+u:o.x+5-u,y:c<0?o.y-u:o.y+u}:{x:h<0?o.x-u:o.x+u,y:c<0?o.y-5+u:o.y+5-u}}else l.cM.debug("Corner point skipping fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y));r.push(d,s)}else r.push(t[i]);return r},"fixCorners"),M=(0,l.eW)(function(t,e,r,i,a,o,s){let d,f;let{handDrawnSeed:p}=(0,l.nV)(),g=e.points,y=!1;o.intersect&&a.intersect&&((g=g.slice(1,e.points.length-1)).unshift(a.intersect(g[0])),l.cM.debug("Last point APA12",e.start,"--\x3e",e.end,g[g.length-1],o,o.intersect(g[g.length-1])),g.push(o.intersect(g[g.length-1]))),e.toCluster&&(l.cM.info("to cluster abc88",r.get(e.toCluster)),g=_(e.points,r.get(e.toCluster).node),y=!0),e.fromCluster&&(l.cM.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(g,null,2)),g=_(g.reverse(),r.get(e.fromCluster).node).reverse(),y=!0);let m=g.filter(t=>!Number.isNaN(t.y));m=S(m);let x=h.$0Z;e.curve&&(x=e.curve);let{x:b,y:k}=(0,n.o)(e),C=(0,h.jvg)().x(b).y(k).curve(x);switch(e.thickness){case"normal":default:d="edge-thickness-normal";break;case"thick":d="edge-thickness-thick";break;case"invisible":d="edge-thickness-invisible"}switch(e.pattern){case"solid":default:d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}let w=C(m),v=Array.isArray(e.style)?e.style:[e.style];if("handDrawn"===e.look){let r=c.Z.svg(t);Object.assign([],m);let i=r.path(w,{roughness:.3,seed:p});d+=" transition";let n=(f=(0,h.Ys)(i).select("path").attr("id",e.id).attr("class"," "+d+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((t,e)=>t+";"+e,""):"")).attr("d");f.attr("d",n),t.node().appendChild(f.node())}else f=t.append("path").attr("d",w).attr("id",e.id).attr("class"," "+d+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((t,e)=>t+";"+e,""):"");let T="";((0,l.nV)().flowchart.arrowMarkerAbsolute||(0,l.nV)().state.arrowMarkerAbsolute)&&(T=(T=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),l.cM.info("arrowTypeStart",e.arrowTypeStart),l.cM.info("arrowTypeEnd",e.arrowTypeEnd),u(f,e,T,s,i);let M={};return y&&(M.updatedPath=g),M.originalPath=e.points,M},"insertEdge"),B=(0,l.eW)((t,e,r,i)=>{e.forEach(e=>{Z[e](t,r,i)})},"insertMarkers"),L=(0,l.eW)((t,e,r)=>{l.cM.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).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",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),A=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).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",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).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")},"composition"),F=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).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",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).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"),$=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).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",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).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")},"dependency"),W=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),E=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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")},"point"),D=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"circle"),O=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"cross"),Z={extension:L,composition:A,aggregation:F,dependency:$,lollipop:W,point:E,circle:D,cross:O,barb:(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb")},N=B},74146:function(t,e,r){"use strict";let i;r.d(e,{_7:()=>el,cq:()=>F,Kr:()=>t7,ZD:()=>tl,xN:()=>R,l0:()=>tz,Fy:()=>er,vZ:()=>Q,Vg:()=>B,XV:()=>td,Yc:()=>W,nH:()=>tj,ZH:()=>t3,cj:()=>S,r2:()=>x,eW:()=>m,LJ:()=>tK,Vw:()=>tx,cM:()=>k,UO:()=>tE,Cq:()=>es,Ee:()=>tQ,_j:()=>U,Tb:()=>ts,KO:()=>L,uT:()=>tR,mc:()=>tf,NM:()=>K,oO:()=>tv,uX:()=>ei,dY:()=>to,U$:()=>t6,GN:()=>t5,v6:()=>th,Y4:()=>ee,g2:()=>t9,Ub:()=>C,Yn:()=>ta,j7:()=>tY,Rw:()=>en,SY:()=>tP,v2:()=>tU,u_:()=>tt,Bf:()=>M,Zn:()=>v,ku:()=>tF,M6:()=>_,Mx:()=>t8,eu:()=>t4,iE:()=>tc,nV:()=>et});var n,a=r("27484"),o=r("26652"),s=r("17826");let l=(t,e)=>{let r=o.Z.parse(t),i={};for(let t in e)e[t]&&(i[t]=r[t]+e[t]);return(0,s.Z)(t,i)};var h=r("13328");let c=(t,e,r=50)=>{let{r:i,g:n,b:a,a:s}=o.Z.parse(t),{r:l,g:c,b:u,a:d}=o.Z.parse(e),f=r/100,p=2*f-1,g=s-d,y=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,m=1-y;return(0,h.Z)(i*y+l*m,n*y+c*m,a*y+u*m,s*f+d*(1-f))},u=(t,e=100)=>{let r=o.Z.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,c(r,t,e)};var d=r("35035"),f=r("86750"),p=r("77845"),g=r("75373"),y=Object.defineProperty,m=(t,e)=>y(t,"name",{value:e,configurable:!0}),x=(t,e)=>{for(var r in e)y(t,r,{get:e[r],enumerable:!0})},b={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},k={trace:m((...t)=>{},"trace"),debug:m((...t)=>{},"debug"),info:m((...t)=>{},"info"),warn:m((...t)=>{},"warn"),error:m((...t)=>{},"error"),fatal:m((...t)=>{},"fatal")},C=m(function(t="fatal"){let e=b.fatal;"string"==typeof t?t.toLowerCase()in b&&(e=b[t]):"number"==typeof t&&(e=t),k.trace=()=>{},k.debug=()=>{},k.info=()=>{},k.warn=()=>{},k.error=()=>{},k.fatal=()=>{},e<=b.fatal&&(k.fatal=console.error?console.error.bind(console,w("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",w("FATAL"))),e<=b.error&&(k.error=console.error?console.error.bind(console,w("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",w("ERROR"))),e<=b.warn&&(k.warn=console.warn?console.warn.bind(console,w("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,w("WARN"))),e<=b.info&&(k.info=console.info?console.info.bind(console,w("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",w("INFO"))),e<=b.debug&&(k.debug=console.debug?console.debug.bind(console,w("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",w("DEBUG"))),e<=b.trace&&(k.trace=console.debug?console.debug.bind(console,w("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",w("TRACE")))},"setLogLevel"),w=m(t=>{let e=a().format("ss.SSS");return`%c${e} : ${t} : `},"format"),_=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,v=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,T=/\s*%%.*\n/gm,S=class extends Error{static{m(this,"UnknownDiagramError")}constructor(t){super(t),this.name="UnknownDiagramError"}},M={},B=m(function(t,e){for(let[r,{detector:i}]of(t=t.replace(_,"").replace(v,"").replace(T,"\n"),Object.entries(M)))if(i(t,e))return r;throw new S(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),L=m((...t)=>{for(let{id:e,detector:r,loader:i}of t)A(e,r,i)},"registerLazyLoadedDiagrams"),A=m((t,e,r)=>{M[t]&&k.warn(`Detector with key ${t} already exists. Overwriting.`),M[t]={detector:e,loader:r},k.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),F=m(t=>M[t].loader,"getDiagramLoader"),$=m((t,e,{depth:r=2,clobber:i=!1}={})=>{let n={depth:r,clobber:i};if(Array.isArray(e)&&!Array.isArray(t))return e.forEach(e=>$(t,e,n)),t;if(Array.isArray(e)&&Array.isArray(t))return e.forEach(e=>{!t.includes(e)&&t.push(e)}),t;if(void 0===t||r<=0)return null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e;return 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])?(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=$(t[n],e[n],{depth:r-1,clobber:i})):(i||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n])}),t},"assignWithDepth"),W=$,E="#ffffff",D="#f2f2f2",O=m((t,e)=>e?l(t,{s:-40,l:10}):l(t,{s:-40,l:-10}),"mkBorder"),Z=class{static{m(this,"Theme")}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||l(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||l(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||O(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||O(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||O(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||u(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||u(this.tertiaryColor),this.lineColor=this.lineColor||u(this.background),this.arrowheadColor=this.arrowheadColor||u(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,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?(0,d.Z)(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||this.actorBorder,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||(0,d.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||u(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||(0,f.Z)(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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},N=m(t=>{let e=new Z;return e.calculate(t),e},"getThemeVariables"),I=class{static{m(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,f.Z)(this.primaryColor,16),this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=u(this.background),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,f.Z)(u("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=(0,h.Z)(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=(0,d.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,d.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,h.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,h.Z)(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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,f.Z)(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=(0,f.Z)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,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=(0,f.Z)(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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,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=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330});for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},z=m(t=>{let e=new I;return e.calculate(t),e},"getThemeVariables"),j=class{static{m(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=l(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(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="rgba(232,232,232, 0.8)",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="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="#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=(0,h.Z)(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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},R=m(t=>{let e=new j;return e.calculate(t),e},"getThemeVariables"),P=class{static{m(this,"Theme")}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=(0,f.Z)("#cde498",10),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.primaryColor),this.lineColor=u(this.background),this.textColor=u(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="calculated",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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,d.Z)(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.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},q=m(t=>{let e=new P;return e.calculate(t),e},"getThemeVariables"),H=class{static{m(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,f.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(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=this.actorBorder,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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,f.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,f.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,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.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[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},U={base:{getThemeVariables:N},dark:{getThemeVariables:z},default:{getThemeVariables:R},forest:{getThemeVariables:q},neutral:{getThemeVariables:m(t=>{let e=new H;return e.calculate(t),e},"getThemeVariables")}},Y={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,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,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},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,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:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,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,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{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},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,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},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,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,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"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},V={...Y,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:U.default.getThemeVariables(),sequence:{...Y.sequence,messageFont:m(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:m(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:m(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...Y.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Y.c4,useWidth:void 0,personFont:m(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:m(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:m(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:m(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:m(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:m(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:m(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:m(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:m(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:m(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:m(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:m(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:m(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:m(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:m(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:m(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:m(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:m(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:m(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:m(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:m(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:m(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...Y.pie,useWidth:984},xyChart:{...Y.xyChart,useWidth:void 0},requirement:{...Y.requirement,useWidth:void 0},packet:{...Y.packet}},G=m((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:"object"==typeof t[i]&&null!==t[i]?[...r,e+i,...G(t[i],"")]:[...r,e+i],[]),"keyify"),X=new Set(G(V,"")),Q=V,K=m(t=>{if(k.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t)){t.forEach(t=>K(t));return}for(let e of Object.keys(t)){if(k.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!X.has(e)||null==t[e]){k.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){k.debug("sanitizing object",e),K(t[e]);continue}for(let r of["themeCSS","fontFamily","altFontFamily"])e.includes(r)&&(k.debug("sanitizing css option",e),t[e]=J(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}k.debug("After sanitization",t)}},"sanitizeDirective"),J=m(t=>{let e=0,r=0;for(let i of t){if(e{let r=W({},t),i={};for(let t of e)tu(t),i=W(i,t);if(r=W(r,i),i.theme&&i.theme in U){let t=W({},n),e=W(t.themeVariables||{},i.themeVariables);r.theme&&r.theme in U&&(r.themeVariables=U[r.theme].getThemeVariables(e))}return tm(ti=r),ti},"updateCurrentConfig"),ta=m(t=>(te=W({},tt),te=W(te,t),t.theme&&U[t.theme]&&(te.themeVariables=U[t.theme].getThemeVariables(t.themeVariables)),tn(te,tr),te),"setSiteConfig"),to=m(t=>{n=W({},t)},"saveConfigFromInitialize"),ts=m(t=>(te=W(te,t),tn(te,tr),te),"updateSiteConfig"),tl=m(()=>W({},te),"getSiteConfig"),th=m(t=>(tm(t),W(ti,t),tc()),"setConfig"),tc=m(()=>W({},ti),"getConfig"),tu=m(t=>{if(!!t)["secure",...te.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(k.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&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]&&tu(t[e])})},"sanitize"),td=m(t=>{K(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),tr.push(t),tn(te,tr)},"addDirective"),tf=m((t=te)=>{tn(t,tr=[])},"reset"),tp={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},tg={},ty=m(t=>{if(!tg[t])k.warn(tp[t]),tg[t]=!0},"issueWarning"),tm=m(t=>{if(!!t)(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&ty("LAZY_LOAD_DEPRECATED")},"checkConfig"),tx=//gi,tb=m(t=>t?tL(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows");var tk=(i=!1,()=>{!i&&(tC(),i=!0)});function tC(){let t="data-temp-href-target";g.Z.addHook("beforeSanitizeAttributes",e=>{e instanceof Element&&"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),g.Z.addHook("afterSanitizeAttributes",e=>{e instanceof Element&&"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))})}m(tC,"setupDompurifyHooks");var tw=m(t=>(tk(),g.Z.sanitize(t)),"removeScript"),t_=m((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;"antiscript"===r||"strict"===r?t=tw(t):"loose"!==r&&(t=tB(t=(t=(t=tL(t)).replace(//g,">")).replace(/=/g,"=")))}return t},"sanitizeMore"),tv=m((t,e)=>t?t=e.dompurifyConfig?g.Z.sanitize(t_(t,e),e.dompurifyConfig).toString():g.Z.sanitize(t_(t,e),{FORBID_TAGS:["style"]}).toString():t,"sanitizeText"),tT=m((t,e)=>"string"==typeof t?tv(t,e):t.flat().map(t=>tv(t,e)),"sanitizeTextOrArray"),tS=m(t=>tx.test(t),"hasBreaks"),tM=m(t=>t.split(tx),"splitBreaks"),tB=m(t=>t.replace(/#br#/g,"
"),"placeholderToBreak"),tL=m(t=>t.replace(tx,"#br#"),"breakToPlaceholder"),tA=m(t=>{let e="";return t&&(e=(e=(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replaceAll(/\(/g,"\\(")).replaceAll(/\)/g,"\\)")),e},"getUrl"),tF=m(t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),t$=m(function(...t){return Math.max(...t.filter(t=>!isNaN(t)))},"getMax"),tW=m(function(...t){return Math.min(...t.filter(t=>!isNaN(t)))},"getMin"),tE=m(function(t){let e=t.split(/(,)/),r=[];for(let t=0;t0&&t+1Math.max(0,t.split(e).length-1),"countOccurrence"),tO=m((t,e)=>{let r=tD(t,"~"),i=tD(e,"~");return 1===r&&1===i},"shouldCombineSets"),tZ=m(t=>{let e=tD(t,"~"),r=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let i=[...t],n=i.indexOf("~"),a=i.lastIndexOf("~");for(;-1!==n&&-1!==a&&n!==a;)i[n]="<",i[a]=">",n=i.indexOf("~"),a=i.lastIndexOf("~");return r&&i.unshift("~"),i.join("")},"processSet"),tN=m(()=>void 0!==window.MathMLElement,"isMathMLSupported"),tI=/\$\$(.*)\$\$/g,tz=m(t=>(t.match(tI)?.length??0)>0,"hasKatex"),tj=m(async(t,e)=>{t=await tR(t,e);let r=document.createElement("div");r.innerHTML=t,r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";let i=document.querySelector("body");i?.insertAdjacentElement("beforeend",r);let n={width:r.clientWidth,height:r.clientHeight};return r.remove(),n},"calculateMathMLDimensions"),tR=m(async(t,e)=>{if(!tz(t))return t;if(!(tN()||e.legacyMathML||e.forceLegacyMathML))return t.replace(tI,"MathML is unsupported in this environment.");let{default:i}=await r.e("5146").then(r.bind(r,63898)),n=e.forceLegacyMathML||!tN()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(tx).map(t=>tz(t)?`
${t}
`:`
${t}
`).join("").replace(tI,(t,e)=>i.renderToString(e,{throwOnError:!0,displayMode:!0,output:n}).replace(/\n/g," ").replace(//g,""))},"renderKatex"),tP={getRows:tb,sanitizeText:tv,sanitizeTextOrArray:tT,hasBreaks:tS,splitBreaks:tM,lineBreakRegex:tx,removeScript:tw,getUrl:tA,evaluate:tF,getMax:t$,getMin:tW},tq=m(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),tH=m(function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},"calculateSvgSizeAttrs"),tU=m(function(t,e,r,i){tq(t,tH(e,r,i))},"configureSvgSize"),tY=m(function(t,e,r,i){let n=e.node().getBBox(),a=n.width,o=n.height;k.info(`SVG bounds: ${a}x${o}`,n);let s=0,l=0;k.info(`Graph bounds: ${s}x${l}`,t),s=a+2*r,l=o+2*r,k.info(`Calculated bounds: ${s}x${l}`),tU(e,l,s,i);let h=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",h)},"setupGraphViewbox"),tV={},tG=m((t,e,r)=>{let i="";return t in tV&&tV[t]?i=tV[t](r):k.warn(`No theme found for ${t}`),` & { + font-family: ${r.fontFamily}; + font-size: ${r.fontSize}; + fill: ${r.textColor} + } + + /* Classes common for multiple diagrams */ + + & .error-icon { + fill: ${r.errorBkgColor}; + } + & .error-text { + fill: ${r.errorTextColor}; + stroke: ${r.errorTextColor}; + } + + & .edge-thickness-normal { + stroke-width: 1px; + } + & .edge-thickness-thick { + stroke-width: 3.5px + } + & .edge-pattern-solid { + stroke-dasharray: 0; + } + & .edge-thickness-invisible { + stroke-width: 0; + fill: none; + } + & .edge-pattern-dashed{ + stroke-dasharray: 3; + } + .edge-pattern-dotted { + stroke-dasharray: 2; + } + + & .marker { + fill: ${r.lineColor}; + stroke: ${r.lineColor}; + } + & .marker.cross { + stroke: ${r.lineColor}; + } + + & svg { + font-family: ${r.fontFamily}; + font-size: ${r.fontSize}; + } + & p { + margin: 0 + } + + ${i} + + ${e} +`},"getStyles"),tX=m((t,e)=>{void 0!==e&&(tV[t]=e)},"addStylesForDiagram"),tQ=tG,tK={};x(tK,{clear:()=>t3,getAccDescription:()=>t8,getAccTitle:()=>t4,getDiagramTitle:()=>t7,setAccDescription:()=>t6,setAccTitle:()=>t5,setDiagramTitle:()=>t9});var tJ="",t0="",t1="",t2=m(t=>tv(t,tc()),"sanitizeText"),t3=m(()=>{tJ="",t1="",t0=""},"clear"),t5=m(t=>{tJ=t2(t).replace(/^\s+/g,"")},"setAccTitle"),t4=m(()=>tJ,"getAccTitle"),t6=m(t=>{t1=t2(t).replace(/\n\s+/g,"\n")},"setAccDescription"),t8=m(()=>t1,"getAccDescription"),t9=m(t=>{t0=t2(t)},"setDiagramTitle"),t7=m(()=>t0,"getDiagramTitle"),et=tc,ee=th,er=tt,ei=m(t=>tv(t,et()),"sanitizeText"),en=tY,ea=m(()=>tK,"getCommonDb"),eo={},es=m((t,e,r)=>{eo[t]&&k.warn(`Diagram with id ${t} already registered. Overwriting.`),eo[t]=e,r&&A(t,r),tX(t,e.styles),e.injectUtils?.(k,C,et,ei,en,ea(),()=>{})},"registerDiagram"),el=m(t=>{if(t in eo)return eo[t];throw new eh(t)},"getDiagram"),eh=class extends Error{static{m(this,"DiagramNotFoundError")}constructor(t){super(`Diagram ${t} not found.`)}}},41200:function(t,e,r){"use strict";r.d(e,{QA:()=>tL,rw:()=>tW,EY:()=>t$});var i=r("68394"),n=r("74146"),a=r("27818");function o(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let s=o();function l(t){s=t}let h=/[&<>"']/,c=RegExp(h.source,"g"),u=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,d=RegExp(u.source,"g"),f={"&":"&","<":"<",">":">",'"':""","'":"'"},p=t=>f[t];function g(t,e){if(e){if(h.test(t))return t.replace(c,p)}else if(u.test(t))return t.replace(d,p);return t}let y=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,m=/(^|[^\[])\^/g;function x(t,e){let r="string"==typeof t?t:t.source;e=e||"";let i={replace:(t,e)=>{let n="string"==typeof e?e:e.source;return n=n.replace(m,"$1"),r=r.replace(t,n),i},getRegex:()=>new RegExp(r,e)};return i}function b(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}let k={exec:()=>null};function C(t,e){let r=t.replace(/\|/g,(t,e,r)=>{let i=!1,n=e;for(;--n>=0&&"\\"===r[n];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(!r[0].trim()&&r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),e){if(r.length>e)r.splice(e);else for(;r.length0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:w(t,"\n")}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],r=function(t,e){let r=t.match(/^(\s+)(?:```)/);if(null===r)return e;let i=r[1];return e.split("\n").map(t=>{let e=t.match(/^\s+/);if(null===e)return t;let[r]=e;return r.length>=i.length?t.slice(i.length):t}).join("\n")}(t,e[3]||"");return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(/#$/.test(t)){let e=w(t,"#");this.options.pedantic?t=e.trim():(!e||/ $/.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:w(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=w(e[0],"\n").split("\n"),r="",i="",n=[];for(;t.length>0;){let e,a=!1,o=[];for(e=0;e/.test(t[e]))o.push(t[e]),a=!0;else if(a)break;else o.push(t[e]);t=t.slice(e);let s=o.join("\n"),l=s.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");r=r?`${r} +${s}`:s,i=i?`${i} +${l}`:l;let h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,n,!0),this.lexer.state.top=h,0===t.length)break;let c=n[n.length-1];if(c?.type==="code")break;if(c?.type==="blockquote"){let e=c.raw+"\n"+t.join("\n"),a=this.blockquote(e);n[n.length-1]=a,r=r.substring(0,r.length-c.raw.length)+a.raw,i=i.substring(0,i.length-c.text.length)+a.text;break}else if(c?.type==="list"){let e=c.raw+"\n"+t.join("\n"),a=this.list(e);n[n.length-1]=a,r=r.substring(0,r.length-c.raw.length)+a.raw,i=i.substring(0,i.length-c.raw.length)+a.raw,t=e.substring(n[n.length-1].raw.length).split("\n");continue}}return{type:"blockquote",raw:r,tokens:n,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r=e[1].trim(),i=r.length>1,n={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");let a=RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),o=!1;for(;t;){let r,i=!1,s="",l="";if(!(e=a.exec(t))||this.rules.block.hr.test(t))break;s=e[0],t=t.substring(s.length);let h=e[2].split("\n",1)[0].replace(/^\t+/,t=>" ".repeat(3*t.length)),c=t.split("\n",1)[0],u=!h.trim(),d=0;if(this.options.pedantic?(d=2,l=h.trimStart()):u?d=e[1].length+1:(d=(d=e[2].search(/[^ ]/))>4?1:d,l=h.slice(d),d+=e[1].length),u&&/^ *$/.test(c)&&(s+=c+"\n",t=t.substring(c.length+1),i=!0),!i){let e=RegExp(`^ {0,${Math.min(3,d-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,d-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=RegExp(`^ {0,${Math.min(3,d-1)}}(?:\`\`\`|~~~)`),n=RegExp(`^ {0,${Math.min(3,d-1)}}#`);for(;t;){let a=t.split("\n",1)[0];if(c=a,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),i.test(c)||n.test(c)||e.test(c)||r.test(t))break;if(c.search(/[^ ]/)>=d||!c.trim())l+="\n"+c.slice(d);else{if(u||h.search(/[^ ]/)>=4||i.test(h)||n.test(h)||r.test(h))break;l+="\n"+c}!u&&!c.trim()&&(u=!0),s+=a+"\n",t=t.substring(a.length+1),h=c.slice(d)}}!n.loose&&(o?n.loose=!0:/\n *\n *$/.test(s)&&(o=!0));let f=null;this.options.gfm&&(f=/^\[[ xX]\] /.exec(l))&&(r="[ ] "!==f[0],l=l.replace(/^\[[ xX]\] +/,"")),n.items.push({type:"list_item",raw:s,task:!!f,checked:r,loose:!1,text:l,tokens:[]}),n.raw+=s}n.items[n.items.length-1].raw=n.items[n.items.length-1].raw.trimEnd(),n.items[n.items.length-1].text=n.items[n.items.length-1].text.trimEnd(),n.raw=n.raw.trimEnd();for(let t=0;t"space"===t.type),r=e.length>0&&e.some(t=>/\n.*\n/.test(t.raw));n.loose=r}if(n.loose)for(let t=0;t$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:r,title:i}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!/[:|]/.test(e[2]))return;let r=C(e[1]),i=e[2].replace(/^\||\| *$/g,"").split("|"),n=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[],a={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===i.length){for(let t of i)/^ *-+: *$/.test(t)?a.align.push("right"):/^ *:-+: *$/.test(t)?a.align.push("center"):/^ *:-+ *$/.test(t)?a.align.push("left"):a.align.push(null);for(let t=0;t({text:t,tokens:this.lexer.inline(t),header:!1,align:a.align[e]})));return a}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:g(e[1])}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;let e=w(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t,e){if(-1===t.indexOf(")"))return -1;let r=0;for(let i=0;i-1){let r=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,r).trim(),e[3]=""}}let r=e[2],i="";if(this.options.pedantic){let t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);t&&(r=t[1],i=t[3])}else i=e[3]?e[3].slice(1,-1):"";return r=r.trim(),/^$/.test(t)?r.slice(1):r.slice(1,-1)),_(e,{href:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},e[0],this.lexer)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let t=e[(r[2]||r[1]).replace(/\s+/g," ").toLowerCase()];if(!t){let t=r[0].charAt(0);return{type:"text",raw:t,text:t}}return _(r,t,r[0],this.lexer)}}emStrong(t,e,r=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))){if(!(i[1]||i[2])||!r||this.rules.inline.punctuation.exec(r)){let r=[...i[0]].length-1,n,a,o=r,s=0,l="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+r);null!=(i=l.exec(e));){if(!(n=i[1]||i[2]||i[3]||i[4]||i[5]||i[6]))continue;if(a=[...n].length,i[3]||i[4]){o+=a;continue}if((i[5]||i[6])&&r%3&&!((r+a)%3)){s+=a;continue}if((o-=a)>0)continue;a=Math.min(a,a+o+s);let e=[...i[0]][0].length,l=t.slice(0,r+i.index+e+a);if(Math.min(r,a)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let h=l.slice(2,-2);return{type:"strong",raw:l,text:h,tokens:this.lexer.inlineTokens(h)}}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(/\n/g," "),r=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return r&&i&&(t=t.substring(1,t.length-1)),t=g(t,!0),{type:"codespan",raw:e[0],text:t}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let t,r;return r="@"===e[2]?"mailto:"+(t=g(e[1])):t=g(e[1]),{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,r;if("@"===e[2])r="mailto:"+(t=g(e[0]));else{let i;do i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(i!==e[0]);t=g(e[0]),r="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let t;return t=this.lexer.state.inRawBlock?e[0]:g(e[0]),{type:"text",raw:e[0],text:t}}}}let T=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S=/(?:[*+-]|\d{1,9}[.)])/,M=x(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,S).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),B=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,L=/(?!\s*\])(?:\\.|[^\[\]\\])+/,A=x(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",L).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),F=x(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,S).getRegex(),$="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",W=/|$))/,E=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",W).replace("tag",$).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),D=x(B).replace("hr",T).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),O={blockquote:x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",D).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:A,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:T,html:E,lheading:M,list:F,newline:/^(?: *(?:\n|$))+/,paragraph:D,table:k,text:/^[^\n]+/},Z=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",T).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),N={...O,table:Z,paragraph:x(B).replace("hr",T).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Z).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex()},I={...O,html:x("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",W).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(B).replace("hr",T).replace("heading"," *#{1,6} *[^\n]").replace("lheading",M).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},z=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,j=/^( {2,}|\\)\n(?!\s*$)/,R="\\p{P}\\p{S}",P=x(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,R).getRegex(),q=x(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,R).getRegex(),H=x("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,R).getRegex(),U=x("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,R).getRegex(),Y=x(/\\([punct])/,"gu").replace(/punct/g,R).getRegex(),V=x(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),G=x(W).replace("(?:--\x3e|$)","--\x3e").getRegex(),X=x("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",G).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Q=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,K=x(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Q).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),J=x(/^!?\[(label)\]\[(ref)\]/).replace("label",Q).replace("ref",L).getRegex(),tt=x(/^!?\[(ref)\](?:\[\])?/).replace("ref",L).getRegex(),te=x("reflink|nolink(?!\\()","g").replace("reflink",J).replace("nolink",tt).getRegex(),tr={_backpedal:k,anyPunctuation:Y,autolink:V,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:k,emStrongLDelim:q,emStrongRDelimAst:H,emStrongRDelimUnd:U,escape:z,link:K,nolink:tt,punctuation:P,reflink:J,reflinkSearch:te,tag:X,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\e+" ".repeat(r.length));t;){if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>!!(i=r.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),1===i.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),(n=e[e.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(i);continue}if((i=this.tokenizer.fences(t))||(i=this.tokenizer.heading(t))||(i=this.tokenizer.hr(t))||(i=this.tokenizer.blockquote(t))||(i=this.tokenizer.list(t))||(i=this.tokenizer.html(t))){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),(n=e[e.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):!this.tokens.links[i.tag]&&(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if((i=this.tokenizer.table(t))||(i=this.tokenizer.lheading(t))){t=t.substring(i.raw.length),e.push(i);continue}if(a=t,this.options.extensions&&this.options.extensions.startBlock){let e,r=1/0,i=t.slice(1);this.options.extensions.startBlock.forEach(t=>{"number"==typeof(e=t.call({lexer:this},i))&&e>=0&&(r=Math.min(r,e))}),r<1/0&&r>=0&&(a=t.substring(0,r+1))}if(this.state.top&&(i=this.tokenizer.paragraph(a))){n=e[e.length-1],r&&n?.type==="paragraph"?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(i),r=a.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),(n=e[e.length-1])&&"text"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(i);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let r,i,n,a,o,s;let l=t;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(l));)t.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,a.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;){if(!o&&(s=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(i=>!!(r=i.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),(i=e[e.length-1])&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),(i=e[e.length-1])&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if((r=this.tokenizer.emStrong(t,l,s))||(r=this.tokenizer.codespan(t))||(r=this.tokenizer.br(t))||(r=this.tokenizer.del(t))||(r=this.tokenizer.autolink(t))||!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),e.push(r);continue}if(n=t,this.options.extensions&&this.options.extensions.startInline){let e,r=1/0,i=t.slice(1);this.options.extensions.startInline.forEach(t=>{"number"==typeof(e=t.call({lexer:this},i))&&e>=0&&(r=Math.min(r,e))}),r<1/0&&r>=0&&(n=t.substring(0,r+1))}if(r=this.tokenizer.inlineText(n)){t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(s=r.raw.slice(-1)),o=!0,(i=e[e.length-1])&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}}return e}}class th{options;parser;constructor(t){this.options=t||s}space(t){return""}code({text:t,lang:e,escaped:r}){let i=(e||"").match(/^\S*/)?.[0],n=t.replace(/\n$/,"")+"\n";return i?'
'+(r?n:g(n,!0))+"
\n":"
"+(r?n:g(n,!0))+"
\n"}blockquote({tokens:t}){let e=this.parser.parse(t);return`
+${e}
+`}html({text:t}){return t}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)} +`}hr(t){return"
\n"}list(t){let e=t.ordered,r=t.start,i="";for(let e=0;e\n"+i+"\n"}listitem(t){let e="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=r+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" "}):e+=r+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • +`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    +`}table(t){let e="",r="";for(let e=0;e${i}`),"\n\n"+e+"\n"+i+"
    \n"}tablerow({text:t}){return` +${t} +`}tablecell(t){let e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+` +`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${t}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:r}){let i=this.parser.parseInline(r),n=b(t);if(null===n)return i;let a='
    "}image({href:t,title:e,text:r}){let i=b(t);if(null===i)return r;t=i;let n=`${r}{let n=t[i].flat(1/0);r=r.concat(this.walkTokens(n,e))}):t.tokens&&(r=r.concat(this.walkTokens(t.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let r=e.renderers[t.name];r?e.renderers[t.name]=function(...e){let i=t.renderer.apply(this,e);return!1===i&&(i=r.apply(this,e)),i}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let r=e[t.level];r?r.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),r.extensions=e),t.renderer){let e=this.defaults.renderer||new th(this.defaults);for(let r in t.renderer){if(!(r in e))throw Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let i=t.renderer[r];!t.useNewRenderer&&(i=this.#e(i,r,e));let n=e[r];e[r]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=n.apply(e,t)),r||""}}r.renderer=e}if(t.tokenizer){let e=this.defaults.tokenizer||new v(this.defaults);for(let r in t.tokenizer){if(!(r in e))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let i=t.tokenizer[r],n=e[r];e[r]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=n.apply(e,t)),r}}r.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new td;for(let r in t.hooks){if(!(r in e))throw Error(`hook '${r}' does not exist`);if("options"===r)continue;let i=t.hooks[r],n=e[r];td.passThroughHooks.has(r)?e[r]=t=>{if(this.defaults.async)return Promise.resolve(i.call(e,t)).then(t=>n.call(e,t));let r=i.call(e,t);return n.call(e,r)}:e[r]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=n.apply(e,t)),r}}r.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,i=t.walkTokens;r.walkTokens=function(t){let r=[];return r.push(i.call(this,t)),e&&(r=r.concat(e.call(this,t))),r}}this.defaults={...this.defaults,...r}}),this}#e(t,e,r){switch(e){case"heading":return function(i){if(!i.type||i.type!==e)return t.apply(this,arguments);return t.call(this,r.parser.parseInline(i.tokens),i.depth,r.parser.parseInline(i.tokens,r.parser.textRenderer).replace(y,(t,e)=>"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))};case"code":return function(r){return r.type&&r.type===e?t.call(this,r.text,r.lang,!!r.escaped):t.apply(this,arguments)};case"table":return function(r){if(!r.type||r.type!==e)return t.apply(this,arguments);let i="",n="";for(let t=0;t0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=t+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=t+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",text:t+" "}):s+=t+" "}s+=this.parser.parse(e.tokens,a),o+=this.listitem({type:"list_item",raw:s,text:s,task:n,checked:!!i,loose:a,tokens:e.tokens})}return t.call(this,o,i,n)};case"html":return function(r){return r.type&&r.type===e?t.call(this,r.text,r.block):t.apply(this,arguments)};case"paragraph":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"escape":case"text":return function(r){return r.type&&r.type===e?t.call(this,r.text):t.apply(this,arguments)};case"link":return function(r){return r.type&&r.type===e?t.call(this,r.href,r.title,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"image":return function(r){return r.type&&r.type===e?t.call(this,r.href,r.title,r.text):t.apply(this,arguments)};case"strong":case"del":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"em":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"codespan":return function(r){return r.type&&r.type===e?t.call(this,r.text):t.apply(this,arguments)}}return t}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return tl.lex(t,e??this.defaults)}parser(t,e){return tu.parse(t,e??this.defaults)}#t(t,e){return(r,i)=>{let n={...i},a={...this.defaults,...n};!0===this.defaults.async&&!1===n.async&&(!a.silent&&console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),a.async=!0);let o=this.#r(!!a.silent,!!a.async);if(null==r)return o(Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return o(Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(a.hooks&&(a.hooks.options=a),a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(r):r).then(e=>t(e,a)).then(t=>a.hooks?a.hooks.processAllTokens(t):t).then(t=>a.walkTokens?Promise.all(this.walkTokens(t,a.walkTokens)).then(()=>t):t).then(t=>e(t,a)).then(t=>a.hooks?a.hooks.postprocess(t):t).catch(o);try{a.hooks&&(r=a.hooks.preprocess(r));let i=t(r,a);a.hooks&&(i=a.hooks.processAllTokens(i)),a.walkTokens&&this.walkTokens(i,a.walkTokens);let n=e(i,a);return a.hooks&&(n=a.hooks.postprocess(n)),n}catch(t){return o(t)}}}#r(t,e){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",t){let t="

    An error occurred:

    "+g(r.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}}let tp=new tf;function tg(t,e){return tp.parse(t,e)}tg.options=tg.setOptions=function(t){return tp.setOptions(t),tg.defaults=tp.defaults,s=tg.defaults,tg},tg.getDefaults=o,tg.defaults=s,tg.use=function(...t){return tp.use(...t),tg.defaults=tp.defaults,s=tg.defaults,tg},tg.walkTokens=function(t,e){return tp.walkTokens(t,e)},tg.parseInline=tp.parseInline,tg.Parser=tu,tg.parser=tu.parse,tg.Renderer=th,tg.TextRenderer=tc,tg.Lexer=tl,tg.lexer=tl.lex,tg.Tokenizer=v,tg.Hooks=td,tg.parse=tg,tg.options,tg.setOptions,tg.use,tg.walkTokens,tg.parseInline,tu.parse,tl.lex;var ty=r("18464");function tm(t,{markdownAutoWrap:e}){let r=t.replace(//g,"\n").replace(/\n{2,}/g,"\n"),i=(0,ty.Z)(r);return!1===e?i.replace(/ /g," "):i}function tx(t,e={}){let r=tm(t,e),i=tg.lexer(r),a=[[]],o=0;function s(t,e="normal"){"text"===t.type?t.text.split("\n").forEach((t,r)=>{0!==r&&(o++,a.push([])),t.split(" ").forEach(t=>{(t=t.replace(/'/g,"'"))&&a[o].push({content:t,type:e})})}):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{s(e,t.type)}):"html"===t.type&&a[o].push({content:t.text,type:"normal"})}return(0,n.eW)(s,"processNode"),i.forEach(t=>{"paragraph"===t.type?t.tokens?.forEach(t=>{s(t)}):"html"===t.type&&a[o].push({content:t.text,type:"normal"})}),a}function tb(t,{markdownAutoWrap:e}={}){let r=tg.lexer(t);function i(t){if("text"===t.type)return!1===e?t.text.replace(/\n */g,"
    ").replace(/ /g," "):t.text.replace(/\n */g,"
    ");if("strong"===t.type)return`${t.tokens?.map(i).join("")}`;if("em"===t.type)return`${t.tokens?.map(i).join("")}`;else if("paragraph"===t.type)return`

    ${t.tokens?.map(i).join("")}

    `;else if("space"===t.type)return"";else if("html"===t.type)return`${t.text}`;else if("escape"===t.type)return t.text;return`Unsupported markdown: ${t.type}`}return(0,n.eW)(i,"output"),r.map(i).join("")}function tk(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function tC(t,e){return tw(t,[],tk(e.content),e.type)}function tw(t,e,r,i){if(0===r.length)return[{content:e.join(""),type:i},{content:"",type:i}];let[n,...a]=r,o=[...e,n];return t([{content:o.join(""),type:i}])?tw(t,o,a,i):(0===e.length&&n&&(e.push(n),r.shift()),[{content:e.join(""),type:i},{content:r.join(""),type:i}])}function t_(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return tv(t,e)}function tv(t,e,r=[],i=[]){if(0===t.length)return i.length>0&&r.push(i),r.length>0?r:[];let n="";" "===t[0].content&&(n=" ",t.shift());let a=t.shift()??{content:" ",type:"normal"},o=[...i];if(""!==n&&o.push({content:n,type:"normal"}),o.push(a),e(o))return tv(t,e,r,o);if(i.length>0)r.push(i),t.unshift(a);else if(a.content){let[i,n]=tC(e,a);r.push([i]),n.content&&t.unshift(n)}return tv(t,e,r)}function tT(t,e){e&&t.attr("style",e)}async function tS(t,e,r,i,a=!1){let o=t.append("foreignObject");o.attr("width",`${10*r}px`),o.attr("height",`${10*r}px`);let s=o.append("xhtml:div"),l=e.label;e.label&&(0,n.l0)(e.label)&&(l=await (0,n.uT)(e.label.replace(n.SY.lineBreakRegex,"\n"),(0,n.nV)()));let h=e.isNode?"nodeLabel":"edgeLabel",c=s.append("span");c.html(l),tT(c,e.labelStyle),c.attr("class",`${h} ${i}`),tT(s,e.labelStyle),s.style("display","table-cell"),s.style("white-space","nowrap"),s.style("line-height","1.5"),s.style("max-width",r+"px"),s.style("text-align","center"),s.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&s.attr("class","labelBkg");let u=s.node().getBoundingClientRect();return u.width===r&&(s.style("display","table"),s.style("white-space","break-spaces"),s.style("width",r+"px"),u=s.node().getBoundingClientRect()),o.node()}function tM(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function tB(t,e,r){let i=t.append("text"),n=tM(i,1,e);tF(n,r);let a=n.node().getComputedTextLength();return i.remove(),a}function tL(t,e,r){let i=t.append("text"),n=tM(i,1,e);tF(n,[{content:r,type:"normal"}]);let a=n.node()?.getBoundingClientRect();return a&&i.remove(),a}function tA(t,e,r,i=!1){let a=e.append("g"),o=a.insert("rect").attr("class","background").attr("style","stroke: none"),s=a.append("text").attr("y","-10.1"),l=0;for(let e of r){let r=(0,n.eW)(e=>tB(a,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:t_(e,r))tF(tM(s,l,1.1),t),l++}if(!i)return s.node();{let t=s.node().getBBox();return o.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),a.node()}}function tF(t,e){t.text(""),e.forEach((e,r)=>{let i=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?i.text(e.content):i.text(" "+e.content)})}function t$(t){return t.replace(/fa[bklrs]?:fa-[\w-]+/g,t=>``)}(0,n.eW)(tm,"preprocessMarkdown"),(0,n.eW)(tx,"markdownToLines"),(0,n.eW)(tb,"markdownToHTML"),(0,n.eW)(tk,"splitTextToChars"),(0,n.eW)(tC,"splitWordToFitWidth"),(0,n.eW)(tw,"splitWordToFitWidthRecursion"),(0,n.eW)(t_,"splitLineToFitWidth"),(0,n.eW)(tv,"splitLineToFitWidthRecursion"),(0,n.eW)(tT,"applyStyle"),(0,n.eW)(tS,"addHtmlSpan"),(0,n.eW)(tM,"createTspan"),(0,n.eW)(tB,"computeWidthOfText"),(0,n.eW)(tL,"computeDimensionOfText"),(0,n.eW)(tA,"createFormattedText"),(0,n.eW)(tF,"updateTextContentAndStyles"),(0,n.eW)(t$,"replaceIconSubstring");var tW=(0,n.eW)(async(t,e="",{style:r="",isTitle:o=!1,classes:s="",useHtmlLabels:l=!0,isNode:h=!0,width:c=200,addSvgBackground:u=!1}={},d)=>{if(n.cM.debug("XYZ createText",e,r,o,s,l,h,"addSvgBackground: ",u),l){let a=tb(e,d),o=t$((0,i.SH)(a)),l=e.replace(/\\\\/g,"\\"),f={isNode:h,label:(0,n.l0)(e)?l:o,labelStyle:r.replace("fill:","color:")};return await tS(t,f,c,s,u)}{let i=tA(c,t,tx(e.replace(//g,"
    ").replace("
    ","
    "),d),!!e&&u);if(h){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ys)(i).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,a.Ys)(i).select("rect").attr("style",t.replace(/background:/g,"fill:"));let e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ys)(i).select("text").attr("style",e)}return i}},"createText")},68394:function(t,e,r){"use strict";r.d(e,{$m:function(){return h},Cq:function(){return O},Ln:function(){return Y},MX:function(){return A},Ox:function(){return B},R7:function(){return V},Rb:function(){return P},SH:function(){return U},VG:function(){return R},Vy:function(){return H},X4:function(){return W},XD:function(){return D},bZ:function(){return z},be:function(){return S},le:function(){return y},tf:function(){return p},w8:function(){return q}});var i,n=r(74146),a=r(17967),o=r(27818),s=r(65269),l=r(41777),h="\u200B",c={curveBasis:o.$0Z,curveBasisClosed:o.Dts,curveBasisOpen:o.WQY,curveBumpX:o.qpX,curveBumpY:o.u93,curveBundle:o.tFB,curveCardinalClosed:o.OvA,curveCardinalOpen:o.dCK,curveCardinal:o.YY7,curveCatmullRomClosed:o.fGX,curveCatmullRomOpen:o.$m7,curveCatmullRom:o.zgE,curveLinear:o.c_6,curveLinearClosed:o.fxm,curveMonotoneX:o.FdL,curveMonotoneY:o.ak_,curveNatural:o.SxZ,curveStep:o.eA_,curveStepAfter:o.jsv,curveStepBefore:o.iJ},u=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,d=(0,n.eW)(function(t,e){let r=f(t,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,n.NM)(t),i=(0,n.Yc)(i,[...t])}else i=r.args;if(!i)return;let a=(0,n.Vg)(t,e),o="config";return void 0!==i[o]&&("flowchart-v2"===a&&(a="flowchart"),i[a]=i[o],delete i[o]),i},"detectInit"),f=(0,n.eW)(function(t,e=null){try{let r;let i=RegExp(`[%]{2}(?![{]${u.source})(?=[}][%]{2}).* +`,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),n.cM.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let a=[];for(;null!==(r=n.Zn.exec(t));)if(r.index===n.Zn.lastIndex&&n.Zn.lastIndex++,r&&!e||e&&r[1]?.match(e)||e&&r[2]?.match(e)){let t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;a.push({type:t,args:e})}if(0===a.length)return{type:t,args:null};return 1===a.length?a[0]:a}catch(r){return n.cM.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),p=(0,n.eW)(function(t){return t.replace(n.Zn,"")},"removeDirectives"),g=(0,n.eW)(function(t,e){for(let[r,i]of e.entries())if(i.match(t))return r;return -1},"isSubstringInArray");function y(t,e){return t?c[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function m(t,e){let r=t.trim();return r?"loose"!==e.securityLevel?(0,a.sanitizeUrl)(r):r:void 0}(0,n.eW)(y,"interpolateToCurve"),(0,n.eW)(m,"formatUrl");var x=(0,n.eW)((t,...e)=>{let r=t.split("."),i=r.length-1,a=r[i],o=window;for(let e=0;e{r+=b(t,e),e=t}),_(t,r/2)}function C(t){return 1===t.length?t[0]:k(t)}(0,n.eW)(b,"distance"),(0,n.eW)(k,"traverseEdge"),(0,n.eW)(C,"calcLabelPosition");var w=(0,n.eW)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),_=(0,n.eW)((t,e)=>{let r;let i=e;for(let e of t){if(r){let t=b(e,r);if(t=1)return{x:e.x,y:e.y};if(n>0&&n<1)return{x:w((1-n)*r.x+n*e.x,5),y:w((1-n)*r.y+n*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),v=(0,n.eW)((t,e,r)=>{n.cM.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let i=_(e,25),a=t?10:5,o=Math.atan2(e[0].y-i.y,e[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(o)*a+(e[0].x+i.x)/2,s.y=-Math.cos(o)*a+(e[0].y+i.y)/2,s},"calcCardinalityPosition");function T(t,e,r){let i=structuredClone(r);n.cM.info("our points",i),"start_left"!==e&&"start_right"!==e&&i.reverse();let a=_(i,25+t),o=10+.5*t,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(s+Math.PI)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s+Math.PI)*o+(i[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s-Math.PI)*o+(i[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2-5):(l.x=Math.sin(s)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2),l}function S(t){let e="",r="";for(let i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?r=r+i+";":e=e+i+";");return{style:e,labelStyle:r}}(0,n.eW)(T,"calcTerminalLabelPosition"),(0,n.eW)(S,"getStylesFromArray");var M=0,B=(0,n.eW)(()=>(M++,"id-"+Math.random().toString(36).substr(2,12)+"-"+M),"generateId");function L(t){let e="",r="0123456789abcdef",i=r.length;for(let n=0;nL(t.length),"random"),F=(0,n.eW)(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,text:""}},"getTextObj"),$=(0,n.eW)(function(t,e){let r=e.text.replace(n.SY.lineBreakRegex," "),[,i]=R(e.fontSize),a=t.append("text");a.attr("x",e.x),a.attr("y",e.y),a.style("text-anchor",e.anchor),a.style("font-family",e.fontFamily),a.style("font-size",i),a.style("font-weight",e.fontWeight),a.attr("fill",e.fill),void 0!==e.class&&a.attr("class",e.class);let o=a.append("tspan");return o.attr("x",e.x+2*e.textMargin),o.attr("fill",e.fill),o.text(r),a},"drawSimpleText"),W=(0,s.Z)((t,e,r)=>{if(!t)return t;if(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
    "},r),n.SY.lineBreakRegex.test(t))return t;let i=t.split(" ").filter(Boolean),a=[],o="";return i.forEach((t,n)=>{let s=O(`${t} `,r),l=O(o,r);if(s>e){let{hyphenatedStrings:i,remainingWord:n}=E(t,e,"-",r);a.push(o,...i),o=n}else l+s>=e?(a.push(o),o=t):o=[o,t].filter(Boolean).join(" ");n+1===i.length&&a.push(o)}),a.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),E=(0,s.Z)((t,e,r="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);let n=[...t],a=[],o="";return n.forEach((t,s)=>{let l=`${o}${t}`;if(O(l,i)>=e){let t=n.length===s+1,e=`${l}${r}`;a.push(t?l:e),o=""}else o=l}),{hyphenatedStrings:a,remainingWord:o}},(t,e,r="-",i)=>`${t}${e}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);function D(t,e){return Z(t,e).height}function O(t,e){return Z(t,e).width}(0,n.eW)(D,"calculateTextHeight"),(0,n.eW)(O,"calculateTextWidth");var Z=(0,s.Z)((t,e)=>{let{fontSize:r=12,fontFamily:i="Arial",fontWeight:a=400}=e;if(!t)return{width:0,height:0};let[,s]=R(r),l=t.split(n.SY.lineBreakRegex),c=[],u=(0,o.Ys)("body");if(!u.remove)return{width:0,height:0,lineHeight:0};let d=u.append("svg");for(let t of["sans-serif",i]){let e=0,r={width:0,height:0,lineHeight:0};for(let i of l){let n=F();n.text=i||h;let o=$(d,n).style("font-size",s).style("font-weight",a).style("font-family",t),l=(o._groups||o)[0][0].getBBox();if(0===l.width&&0===l.height)throw Error("svg element not in render tree");r.width=Math.round(Math.max(r.width,l.width)),e=Math.round(l.height),r.height+=e,r.lineHeight=Math.round(Math.max(r.lineHeight,e))}c.push(r)}d.remove();let f=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;return c[f]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),N=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,n.eW)(this,"InitIDGenerator")}},I=(0,n.eW)(function(t){return i=i||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),i.innerHTML=t,unescape(i.textContent)},"entityDecode");function z(t){return"str"in t}(0,n.eW)(z,"isDetailedError");var j=(0,n.eW)((t,e,r,i)=>{if(!i)return;let n=t.node()?.getBBox();if(!!n)t.append("text").text(i).attr("text-anchor","middle").attr("x",n.x+n.width/2).attr("y",-r).attr("class",e)},"insertTitle"),R=(0,n.eW)(t=>{if("number"==typeof t)return[t,t+"px"];let e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function P(t,e){return(0,l.Z)({},t,e)}(0,n.eW)(P,"cleanAndMerge");var q={assignWithDepth:n.Yc,wrapLabel:W,calculateTextHeight:D,calculateTextWidth:O,calculateTextDimensions:Z,cleanAndMerge:P,detectInit:d,detectDirective:f,isSubstringInArray:g,interpolateToCurve:y,calcLabelPosition:C,calcCardinalityPosition:v,calcTerminalLabelPosition:T,formatUrl:m,getStylesFromArray:S,generateId:B,random:A,runFunc:x,entityDecode:I,insertTitle:j,parseFontSize:R,InitIDGenerator:N},H=(0,n.eW)(function(t){let e=t;return e=(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\uFB02\xb0\xb0"+e+"\xb6\xdf":"\uFB02\xb0"+e+"\xb6\xdf"})},"encodeEntities"),U=(0,n.eW)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Y=(0,n.eW)((t,e,{counter:r=0,prefix:i,suffix:n})=>`${i?`${i}_`:""}${t}_${e}_${r}${n?`_${n}`:""}`,"getEdgeId");function V(t){return t??null}(0,n.eW)(V,"handleUndefinedAttr")},37971:function(t,e,r){"use strict";r.d(e,{C1:function(){return c},Lf:function(){return el},XO:function(){return k},Yn:function(){return eh},ZH:function(){return D},aH:function(){return eu},dW:function(){return eo},gU:function(){return ec},jr:function(){return d},us:function(){return E}});var i=r(9833),n=r(82612),a=r(41200),o=r(68394),s=r(74146),l=r(27818),h=r(74247),c=(0,s.eW)(async(t,e,r)=>{let i,n;let h=e.useHtmlLabels||(0,s.ku)(s.nV()?.htmlLabels);i=r?r:"node default";let c=t.insert("g").attr("class",i).attr("id",e.domId||e.id),u=c.insert("g").attr("class","label").attr("style",(0,o.R7)(e.labelStyle));n=void 0===e.label?"":"string"==typeof e.label?e.label:e.label[0];let d=await (0,a.rw)(u,(0,s.oO)((0,o.SH)(n),(0,s.nV)()),{useHtmlLabels:h,width:e.width||s.nV().flowchart?.wrappingWidth,cssClasses:"markdown-node-label",style:e.labelStyle,addSvgBackground:!!e.icon||!!e.img}),f=d.getBBox(),p=(e?.padding??0)/2;if(h){let t=d.children[0],e=(0,l.Ys)(d),r=t.getElementsByTagName("img");if(r){let t=""===n.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=(0,s.nV)().fontSize?(0,s.nV)().fontSize:window.getComputedStyle(document.body).fontSize,[r=s.vZ.fontSize]=(0,o.VG)(t),i=5*r+"px";e.style.minWidth=i,e.style.maxWidth=i}else e.style.width="100%";r(e)}(0,s.eW)(i,"setupImage"),setTimeout(()=>{e.complete&&i()}),e.addEventListener("error",i),e.addEventListener("load",i)})))}f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}return h?u.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):u.attr("transform","translate(0, "+-f.height/2+")"),e.centerLabel&&u.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),u.insert("rect",":first-child"),{shapeSvg:c,bbox:f,halfPadding:p,label:u}},"labelHelper"),u=(0,s.eW)(async(t,e,r)=>{let i=r.useHtmlLabels||(0,s.ku)(s.nV()?.flowchart?.htmlLabels),n=t.insert("g").attr("class","label").attr("style",r.labelStyle||""),h=await (0,a.rw)(n,(0,s.oO)((0,o.SH)(e),(0,s.nV)()),{useHtmlLabels:i,width:r.width||s.nV()?.flowchart?.wrappingWidth,style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img}),c=h.getBBox(),u=r.padding/2;if((0,s.ku)(s.nV()?.flowchart?.htmlLabels)){let t=h.children[0],e=(0,l.Ys)(h);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}return i?n.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"):n.attr("transform","translate(0, "+-c.height/2+")"),r.centerLabel&&n.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:t,bbox:c,halfPadding:u,label:n}},"insertLabel"),d=(0,s.eW)((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds"),f=(0,s.eW)((t,e)=>("handDrawn"===t.look?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");function p(t){let e=t.map((t,e)=>`${0===e?"M":"L"}${t.x},${t.y}`);return e.push("Z"),e.join(" ")}function g(t,e,r,i,n,a){let o=[],s=r-t,l=2*Math.PI/(s/a),h=e+(i-e)/2;for(let e=0;e<=50;e++){let r=t+e/50*s,i=h+n*Math.sin(l*(r-t));o.push({x:r,y:i})}return o}function y(t,e,r,i,n,a){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;n{var r,i,n=t.x,a=t.y,o=e.x-n,s=e.y-a,l=t.width/2,h=t.height/2;return Math.abs(s)*l>Math.abs(o)*h?(s<0&&(h=-h),r=0===s?0:h*o/s,i=h):(o<0&&(l=-l),r=l,i=0===o?0:l*s/o),{x:n+r,y:a+i}},"intersectRect");function x(t,e){e&&t.attr("style",e)}async function b(t){let e=(0,l.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),i=t.label;t.label&&(0,s.l0)(t.label)&&(i=await (0,s.uT)(t.label.replace(s.SY.lineBreakRegex,"\n"),(0,s.nV)()));let n=t.isNode?"nodeLabel":"edgeLabel";return r.html('"+i+""),x(r,t.labelStyle),r.style("display","inline-block"),r.style("padding-right","1px"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}(0,s.eW)(x,"applyStyle"),(0,s.eW)(b,"addHtmlLabel");var k=(0,s.eW)(async(t,e,r,i)=>{let n=t||"";if("object"==typeof n&&(n=n[0]),(0,s.ku)((0,s.nV)().flowchart.htmlLabels)){n=n.replace(/\\n|\n/g,"
    "),s.cM.info("vertexText"+n);let t={isNode:i,label:(0,o.SH)(n).replace(/fa[blrs]?:fa-[\w-]+/g,t=>``),labelStyle:e?e.replace("fill:","color:"):e};return await b(t)}{let t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let i=[];for(let e of i="string"==typeof n?n.split(/\\n|\n|/gi):Array.isArray(n)?n:[]){let 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"),r?i.setAttribute("class","title-row"):i.setAttribute("class","row"),i.textContent=e.trim(),t.appendChild(i)}return t}},"createLabel"),C=(0,s.eW)((t,e,r,i,n)=>["M",t+n,e,"H",t+r-n,"A",n,n,0,0,1,t+r,e+n,"V",e+i-n,"A",n,n,0,0,1,t+r-n,e+i,"H",t+n,"A",n,n,0,0,1,t,e+i-n,"V",e+n,"A",n,n,0,0,1,t+n,e,"Z"].join(" "),"createRoundedRectPathD"),w=(0,s.eW)(t=>{let{handDrawnSeed:e}=(0,s.nV)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),_=(0,s.eW)(t=>{let e=v([...t.cssCompiledStyles||[],...t.cssStyles||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),v=(0,s.eW)(t=>{let e=new Map;return t.forEach(t=>{let[r,i]=t.split(":");e.set(r.trim(),i?.trim())}),e},"styles2Map"),T=(0,s.eW)(t=>{let{stylesArray:e}=_(t),r=[],i=[],n=[],a=[];return e.forEach(t=>{let e=t[0];"color"===e||"font-size"===e||"font-family"===e||"font-weight"===e||"font-style"===e||"text-decoration"===e||"text-align"===e||"text-transform"===e||"line-height"===e||"letter-spacing"===e||"word-spacing"===e||"text-shadow"===e||"text-overflow"===e||"white-space"===e||"word-wrap"===e||"word-break"===e||"overflow-wrap"===e||"hyphens"===e?r.push(t.join(":")+" !important"):(i.push(t.join(":")+" !important"),e.includes("stroke")&&n.push(t.join(":")+" !important"),"fill"===e&&a.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:i.join(";"),stylesArray:e,borderStyles:n,backgroundStyles:a}},"styles2String"),S=(0,s.eW)((t,e)=>{let{themeVariables:r,handDrawnSeed:i}=(0,s.nV)(),{nodeBorder:n,mainBkg:a}=r,{stylesMap:o}=_(t);return Object.assign({roughness:.7,fill:o.get("fill")||a,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:o.get("stroke")||n,seed:i,strokeWidth:o.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0]},e)},"userNodeOverrides"),M=(0,s.eW)(async(t,e)=>{let r;s.cM.info("Creating subgraph rect for ",e.id,e);let i=(0,s.nV)(),{themeVariables:o,handDrawnSeed:c}=i,{clusterBkg:u,clusterBorder:d}=o,{labelStyles:f,nodeStyles:p,borderStyles:g,backgroundStyles:y}=T(e),x=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),b=(0,s.ku)(i.flowchart.htmlLabels),k=x.insert("g").attr("class","cluster-label "),w=await (0,a.rw)(k,e.label,{style:e.labelStyle,useHtmlLabels:b,isNode:!0}),_=w.getBBox();if((0,s.ku)(i.flowchart.htmlLabels)){let t=w.children[0],e=(0,l.Ys)(w);_=t.getBoundingClientRect(),e.attr("width",_.width),e.attr("height",_.height)}let v=e.width<=_.width+e.padding?_.width+e.padding:e.width;e.width<=_.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let M=e.height,B=e.x-v/2,L=e.y-M/2;if(s.cM.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.Z.svg(x),i=S(e,{roughness:.7,fill:u,stroke:d,fillWeight:3,seed:c}),n=t.path(C(B,L,v,M,0),i);(r=x.insert(()=>(s.cM.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",g.join(";")),r.select("path").attr("style",y.join(";").replace("fill","stroke"))}else(r=x.insert("rect",":first-child")).attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",B).attr("y",L).attr("width",v).attr("height",M);let{subGraphTitleTopMargin:A}=(0,n.L)(i);if(k.attr("transform",`translate(${e.x-_.width/2}, ${e.y-e.height/2+A})`),f){let t=k.select("span");t&&t.attr("style",f)}let F=r.node().getBBox();return e.offsetX=0,e.width=F.width,e.height=F.height,e.offsetY=_.height-e.padding/2,e.intersect=function(t){return m(e,t)},{cluster:x,labelBBox:_}},"rect"),B=(0,s.eW)((t,e)=>{let r=t.insert("g").attr("class","note-cluster").attr("id",e.id),i=r.insert("rect",":first-child"),n=0*e.padding,a=n/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+n).attr("height",e.height+n).attr("fill","none");let o=i.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return m(e,t)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),L=(0,s.eW)(async(t,e)=>{let r;let i=(0,s.nV)(),{themeVariables:n,handDrawnSeed:a}=i,{altBackground:o,compositeBackground:c,compositeTitleBackground:u,nodeBorder:d}=n,f=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-id",e.id).attr("data-look",e.look),p=f.insert("g",":first-child"),g=f.insert("g").attr("class","cluster-label"),y=f.append("rect"),x=g.node().appendChild(await k(e.label,e.labelStyle,void 0,!0)),b=x.getBBox();if((0,s.ku)(i.flowchart.htmlLabels)){let t=x.children[0],e=(0,l.Ys)(x);b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}let w=0*e.padding,_=(e.width<=b.width+e.padding?b.width+e.padding:e.width)+w;e.width<=b.width+e.padding?e.diff=(_-e.width)/2-e.padding:e.diff=-e.padding;let v=e.height+w,T=e.height+w-b.height-6,S=e.x-_/2,M=e.y-v/2;e.width=_;let B=e.y-e.height/2-w/2+b.height+2;if("handDrawn"===e.look){let t=e.cssClasses.includes("statediagram-cluster-alt"),i=h.Z.svg(f),n=e.rx||e.ry?i.path(C(S,M,_,v,10),{roughness:.7,fill:u,fillStyle:"solid",stroke:d,seed:a}):i.rectangle(S,M,_,v,{seed:a});r=f.insert(()=>n,":first-child");let s=i.rectangle(S,B,_,T,{fill:t?o:c,fillStyle:t?"hachure":"solid",stroke:d,seed:a});r=f.insert(()=>n,":first-child"),y=f.insert(()=>s)}else{r=p.insert("rect",":first-child");r.attr("class","outer").attr("x",S).attr("y",M).attr("width",_).attr("height",v).attr("data-look",e.look),y.attr("class","inner").attr("x",S).attr("y",B).attr("width",_).attr("height",T)}g.attr("transform",`translate(${e.x-b.width/2}, ${M+1-((0,s.ku)(i.flowchart.htmlLabels)?0:3)})`);let L=r.node().getBBox();return e.height=L.height,e.offsetX=0,e.offsetY=b.height-e.padding/2,e.labelBBox=b,e.intersect=function(t){return m(e,t)},{cluster:f,labelBBox:b}},"roundedWithTitle"),A=(0,s.eW)(async(t,e)=>{let r;s.cM.info("Creating subgraph rect for ",e.id,e);let i=(0,s.nV)(),{themeVariables:o,handDrawnSeed:c}=i,{clusterBkg:u,clusterBorder:d}=o,{labelStyles:f,nodeStyles:p,borderStyles:g,backgroundStyles:y}=T(e),x=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),b=(0,s.ku)(i.flowchart.htmlLabels),k=x.insert("g").attr("class","cluster-label "),w=await (0,a.rw)(k,e.label,{style:e.labelStyle,useHtmlLabels:b,isNode:!0,width:e.width}),_=w.getBBox();if((0,s.ku)(i.flowchart.htmlLabels)){let t=w.children[0],e=(0,l.Ys)(w);_=t.getBoundingClientRect(),e.attr("width",_.width),e.attr("height",_.height)}let v=e.width<=_.width+e.padding?_.width+e.padding:e.width;e.width<=_.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let M=e.height,B=e.x-v/2,L=e.y-M/2;if(s.cM.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.Z.svg(x),i=S(e,{roughness:.7,fill:u,stroke:d,fillWeight:4,seed:c}),n=t.path(C(B,L,v,M,e.rx),i);(r=x.insert(()=>(s.cM.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",g.join(";")),r.select("path").attr("style",y.join(";").replace("fill","stroke"))}else(r=x.insert("rect",":first-child")).attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",B).attr("y",L).attr("width",v).attr("height",M);let{subGraphTitleTopMargin:A}=(0,n.L)(i);if(k.attr("transform",`translate(${e.x-_.width/2}, ${e.y-e.height/2+A})`),f){let t=k.select("span");t&&t.attr("style",f)}let F=r.node().getBBox();return e.offsetX=0,e.width=F.width,e.height=F.height,e.offsetY=_.height-e.padding/2,e.intersect=function(t){return m(e,t)},{cluster:x,labelBBox:_}},"kanbanSection"),F=(0,s.eW)((t,e)=>{let r;let{themeVariables:i,handDrawnSeed:n}=(0,s.nV)(),{nodeBorder:a}=i,o=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-look",e.look),l=o.insert("g",":first-child"),c=0*e.padding,u=e.width+c;e.diff=-e.padding;let d=e.height+c,f=e.x-u/2,p=e.y-d/2;if(e.width=u,"handDrawn"===e.look){let t=h.Z.svg(o).rectangle(f,p,u,d,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:a,seed:n});r=o.insert(()=>t,":first-child")}else{r=l.insert("rect",":first-child");r.attr("class","divider").attr("x",f).attr("y",p).attr("width",u).attr("height",d).attr("data-look",e.look)}let g=r.node().getBBox();return e.height=g.height,e.offsetX=0,e.offsetY=0,e.intersect=function(t){return m(e,t)},{cluster:o,labelBBox:{}}},"divider"),$={rect:M,squareRect:M,roundedWithTitle:L,noteGroup:B,divider:F,kanbanSection:A},W=new Map,E=(0,s.eW)(async(t,e)=>{let r=e.shape||"rect",i=await $[r](t,e);return W.set(e.id,i),i},"insertCluster"),D=(0,s.eW)(()=>{W=new Map},"clear");function O(t,e){return t.intersect(e)}(0,s.eW)(O,"intersectNode");function Z(t,e,r,i){var n=t.x,a=t.y,o=n-i.x,s=a-i.y,l=Math.sqrt(e*e*s*s+r*r*o*o),h=Math.abs(e*r*o/l);i.x0}(0,s.eW)(I,"intersectLine"),(0,s.eW)(z,"sameSign");function j(t,e,r){let i=t.x,n=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));let l=i-t.width/2-o,h=n-t.height/2-s;for(let i=0;i1&&a.sort(function(t,e){let i=t.x-r.x,n=t.y-r.y,a=Math.sqrt(i*i+n*n),o=e.x-r.x,s=e.y-r.y,l=Math.sqrt(o*o+s*s);return ap,":first-child");return g.attr("class","anchor").attr("style",(0,o.R7)(l)),d(e,g),e.intersect=function(t){return s.cM.info("Circle intersect",e,1,t),R.circle(e,1,t)},a}function q(t,e,r,i,n,a,o){let s=Math.atan2(i-e,r-t),l=Math.sqrt(((r-t)/2/n)**2+((i-e)/2/a)**2);if(l>1)throw Error("The given radii are too small to create an arc between the points.");let h=Math.sqrt(1-l**2),c=(t+r)/2+h*a*Math.sin(s)*(o?-1:1),u=(e+i)/2-h*n*Math.cos(s)*(o?-1:1),d=Math.atan2((e-u)/a,(t-c)/n),f=Math.atan2((i-u)/a,(r-c)/n)-d;o&&f<0&&(f+=2*Math.PI),!o&&f>0&&(f-=2*Math.PI);let p=[];for(let t=0;t<20;t++){let e=d+t/19*f,r=c+n*Math.cos(e),i=u+a*Math.sin(e);p.push({x:r,y:i})}return p}async function H(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=a.width+e.padding+20,s=a.height+e.padding,l=s/2,u=l/(2.5+s/50),{cssStyles:g}=e,y=[{x:o/2,y:-s/2},{x:-o/2,y:-s/2},...q(-o/2,-s/2,-o/2,s/2,u,l,!1),{x:o/2,y:s/2},...q(o/2,s/2,o/2,-s/2,u,l,!0)],m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=p(y),k=m.path(b,x),C=n.insert(()=>k,":first-child");return C.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),C.attr("transform",`translate(${u/2}, 0)`),d(e,C),e.intersect=function(t){return R.polygon(e,y,t)},n}function U(t,e,r,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+","+r/2+")")}async function Y(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=o.height+e.padding,l=o.width+e.padding+12,u=-s,g=[{x:12,y:u},{x:l,y:u},{x:l,y:0},{x:0,y:0},{x:0,y:u+12},{x:12,y:u}],{cssStyles:y}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(g),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-l/2}, ${s/2})`),y&&r.attr("style",y)}else r=U(a,l,s,g);return n&&r.attr("style",n),d(e,r),e.intersect=function(t){return R.polygon(e,g,t)},a}function V(t,e){let{nodeStyles:r}=T(e);e.label="";let i=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:n}=e,a=Math.max(28,e.width??0),o=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],s=h.Z.svg(i),l=S(e,{});"handDrawn"!==e.look&&(l.roughness=0,l.fillStyle="solid");let c=p(o),u=s.path(c,l),d=i.insert(()=>u,":first-child");return n&&"handDrawn"!==e.look&&d.selectAll("path").attr("style",n),r&&"handDrawn"!==e.look&&d.selectAll("path").attr("style",r),e.width=28,e.height=28,e.intersect=function(t){return R.polygon(e,o,t)},i}async function G(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:l,halfPadding:u}=await c(t,e,f(e)),p=l.width/2+u,{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=t.circle(0,0,2*p,i);(r=a.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,o.R7)(g))}else r=a.insert("circle",":first-child").attr("class","basic label-container").attr("style",n).attr("r",p).attr("cx",0).attr("cy",0);return d(e,r),e.intersect=function(t){return s.cM.info("Circle intersect",e,p,t),R.circle(e,p,t)},a}function X(t){let e=Math.cos(Math.PI/4),r=Math.sin(Math.PI/4),i=2*t,n={x:i/2*e,y:i/2*r},a={x:-(i/2)*e,y:i/2*r},o={x:-(i/2)*e,y:-(i/2)*r},s={x:i/2*e,y:-(i/2)*r};return`M ${a.x},${a.y} L ${s.x},${s.y} + M ${n.x},${n.y} L ${o.x},${o.y}`}function Q(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r,e.label="";let n=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),a=Math.max(30,e?.width??0),{cssStyles:o}=e,l=h.Z.svg(n),c=S(e,{});"handDrawn"!==e.look&&(c.roughness=0,c.fillStyle="solid");let u=l.circle(0,0,2*a,c),p=X(a),g=l.path(p,c),y=n.insert(()=>u,":first-child");return y.insert(()=>g),o&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",o),i&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",i),d(e,y),e.intersect=function(t){return s.cM.info("crossedCircle intersect",e,{radius:a,point:t}),R.circle(e,a,t)},n}function K(t,e,r,i=100,n=0,a=180){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;n_,":first-child").attr("stroke-opacity",0),v.insert(()=>C,":first-child"),v.attr("class","text"),g&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(${u}, 0)`),o.attr("transform",`translate(${-s/2+u-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return R.polygon(e,m,t)},n}function tt(t,e,r,i=100,n=0,a=180){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;n_,":first-child").attr("stroke-opacity",0),v.insert(()=>C,":first-child"),v.attr("class","text"),g&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(${-u}, 0)`),o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return R.polygon(e,m,t)},n}function tr(t,e,r,i=100,n=0,a=180){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;nB,":first-child").attr("stroke-opacity",0),L.insert(()=>w,":first-child"),L.insert(()=>v,":first-child"),L.attr("class","text"),g&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",i),L.attr("transform",`translate(${u-u/4}, 0)`),o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,L),e.intersect=function(t){return R.polygon(e,x,t)},n}async function tn(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(80,(a.width+(e.padding??0)*2)*1.25,e?.width??0),s=Math.max(20,a.height+(e.padding??0)*2,e?.height??0),l=s/2,{cssStyles:u}=e,g=h.Z.svg(n),m=S(e,{});"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");let x=o-l,b=s/4,k=[{x:x,y:0},{x:b,y:0},{x:0,y:s/2},{x:b,y:s},{x:x,y:s},...y(-x,-s/2,l,50,270,90)],C=p(k),w=g.path(C,m),_=n.insert(()=>w,":first-child");return _.attr("class","basic label-container"),u&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",u),i&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",i),_.attr("transform",`translate(${-o/2}, ${-s/2})`),d(e,_),e.intersect=function(t){return R.polygon(e,k,t)},n}(0,s.eW)(P,"anchor"),(0,s.eW)(q,"generateArcPoints"),(0,s.eW)(H,"bowTieRect"),(0,s.eW)(U,"insertPolygonShape"),(0,s.eW)(Y,"card"),(0,s.eW)(V,"choice"),(0,s.eW)(G,"circle"),(0,s.eW)(X,"createLine"),(0,s.eW)(Q,"crossedCircle"),(0,s.eW)(K,"generateCirclePoints"),(0,s.eW)(J,"curlyBraceLeft"),(0,s.eW)(tt,"generateCirclePoints"),(0,s.eW)(te,"curlyBraceRight"),(0,s.eW)(tr,"generateCirclePoints"),(0,s.eW)(ti,"curlyBraces"),(0,s.eW)(tn,"curvedTrapezoid");var ta=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e+a} a${n},${a} 0,0,0 ${r},0 a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i}`,"createCylinderPathD"),to=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e+a} M${t+r},${e+a} a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i}`,"createOuterCylinderPathD"),ts=(0,s.eW)((t,e,r,i,n,a)=>`M${t-r/2},${-i/2} a${n},${a} 0,0,0 ${r},0`,"createInnerCylinderPathD");async function tl(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s,label:l}=await c(t,e,f(e)),u=Math.max(s.width+e.padding,e.width??0),p=u/2,g=p/(2.5+u/50),y=Math.max(s.height+g+e.padding,e.height??0),{cssStyles:m}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=to(0,0,u,y,p,g),n=ts(0,g,u,y,p,g),o=t.path(i,S(e,{})),s=t.path(n,S(e,{fill:"none"}));r=a.insert(()=>s,":first-child"),(r=a.insert(()=>o,":first-child")).attr("class","basic label-container"),m&&r.attr("style",m)}else{let t=ta(0,0,u,y,p,g);r=a.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.R7)(m)).attr("style",n)}return r.attr("label-offset-y",g),r.attr("transform",`translate(${-u/2}, ${-(y/2+g)})`),d(e,r),l.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${-(s.height/2)+(e.padding??0)/1.5-(s.y-(s.top??0))})`),e.intersect=function(t){let r=R.rect(e,t),i=r.x-(e.x??0);if(0!=p&&(Math.abs(i)<(e.width??0)/2||Math.abs(i)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-g)){let n=g*g*(1-i*i/(p*p));n>0&&(n=Math.sqrt(n)),n=g-n,t.y-(e.y??0)>0&&(n=-n),r.y+=n}return r},a}async function th(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=a.width+e.padding,l=a.height+e.padding,u=.2*l,p=-s/2,g=-l/2-u/2,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=m.polygon([{x:p,y:g+u},{x:-p,y:g+u},{x:-p,y:-g},{x:p,y:-g},{x:p,y:g},{x:-p,y:g},{x:-p,y:g+u}].map(t=>[t.x,t.y]),x),k=n.insert(()=>b,":first-child");return k.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",i),o.attr("transform",`translate(${p+(e.padding??0)/2-(a.x-(a.left??0))}, ${g+u+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,k),e.intersect=function(t){return R.rect(e,t)},n}async function tc(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:l,halfPadding:u}=await c(t,e,f(e)),p=l.width/2+u+5,g=l.width/2+u,{cssStyles:y}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{roughness:.2,strokeWidth:2.5}),n=S(e,{roughness:.2,strokeWidth:1.5}),s=t.circle(0,0,2*p,i),l=t.circle(0,0,2*g,n);(r=a.insert("g",":first-child")).attr("class",(0,o.R7)(e.cssClasses)).attr("style",(0,o.R7)(y)),r.node()?.appendChild(s),r.node()?.appendChild(l)}else{let t=(r=a.insert("g",":first-child")).insert("circle",":first-child"),e=r.insert("circle");r.attr("class","basic label-container").attr("style",n),t.attr("class","outer-circle").attr("style",n).attr("r",p).attr("cx",0).attr("cy",0),e.attr("class","inner-circle").attr("style",n).attr("r",g).attr("cx",0).attr("cy",0)}return d(e,r),e.intersect=function(t){return s.cM.info("DoubleCircle intersect",e,p,t),R.circle(e,p,t)},a}function tu(t,e,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:n}=T(e);e.label="",e.labelStyle=i;let a=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:o}=e,l=h.Z.svg(a),{nodeBorder:c}=r,u=S(e,{fillStyle:"solid"});"handDrawn"!==e.look&&(u.roughness=0);let p=l.circle(0,0,14,u),g=a.insert(()=>p,":first-child");return g.selectAll("path").attr("style",`fill: ${c} !important;`),o&&o.length>0&&"handDrawn"!==e.look&&g.selectAll("path").attr("style",o),n&&"handDrawn"!==e.look&&g.selectAll("path").attr("style",n),d(e,g),e.intersect=function(t){return s.cM.info("filledCircle intersect",e,{radius:7,point:t}),R.circle(e,7,t)},a}async function td(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),l=a.width+(e.padding??0),u=l+a.height,g=l+a.height,y=[{x:0,y:-u},{x:g,y:-u},{x:g/2,y:0}],{cssStyles:m}=e,x=h.Z.svg(n),b=S(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=p(y),C=x.path(k,b),w=n.insert(()=>C,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`);return m&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",m),i&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",i),e.width=l,e.height=u,d(e,w),o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-u/2+(e.padding??0)/2+(a.y-(a.top??0))})`),e.intersect=function(t){return s.cM.info("Triangle intersect",e,y,t),R.polygon(e,y,t)},n}function tf(t,e,{dir:r,config:{state:i,themeVariables:n}}){let{nodeStyles:a}=T(e);e.label="";let o=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:s}=e,l=Math.max(70,e?.width??0),c=Math.max(10,e?.height??0);"LR"===r&&(l=Math.max(10,e?.width??0),c=Math.max(70,e?.height??0));let u=-1*l/2,p=-1*c/2,g=h.Z.svg(o),y=S(e,{stroke:n.lineColor,fill:n.lineColor});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let m=g.rectangle(u,p,l,c,y),x=o.insert(()=>m,":first-child");s&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",s),a&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",a),d(e,x);let b=i?.padding??0;return e.width&&e.height&&(e.width+=b/2||0,e.height+=b/2||0),e.intersect=function(t){return R.rect(e,t)},o}async function tp(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(80,a.width+(e.padding??0)*2,e?.width??0),l=Math.max(50,a.height+(e.padding??0)*2,e?.height??0),u=l/2,{cssStyles:g}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:-o/2,y:-l/2},{x:o/2-u,y:-l/2},...y(-o/2+u,0,u,50,90,270),{x:o/2-u,y:l/2},{x:-o/2,y:l/2}],k=p(b),C=m.path(k,x),w=n.insert(()=>C,":first-child");return w.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",g),i&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",i),d(e,w),e.intersect=function(t){return s.cM.info("Pill intersect",e,{radius:u,point:t}),R.polygon(e,b,t)},n}(0,s.eW)(tl,"cylinder"),(0,s.eW)(th,"dividedRectangle"),(0,s.eW)(tc,"doublecircle"),(0,s.eW)(tu,"filledCircle"),(0,s.eW)(td,"flippedTriangle"),(0,s.eW)(tf,"forkJoin"),(0,s.eW)(tp,"halfRoundedRectangle");var tg=(0,s.eW)((t,e,r,i,n)=>`M${t+n},${e} L${t+r-n},${e} L${t+r},${e-i/2} L${t+r-n},${e-i} L${t+n},${e-i} L${t},${e-i/2} Z`,"createHexagonPathD");async function ty(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=o.height+e.padding,l=s/4,u=o.width+2*l+e.padding,p=[{x:l,y:0},{x:u-l,y:0},{x:u,y:-s/2},{x:u-l,y:-s},{x:l,y:-s},{x:0,y:-s/2}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=tg(0,0,u,s,l),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-u/2}, ${s/2})`),g&&r.attr("style",g)}else r=U(a,u,s,p);return n&&r.attr("style",n),e.width=u,e.height=s,d(e,r),e.intersect=function(t){return R.polygon(e,p,t)},a}async function tm(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.label="",e.labelStyle=r;let{shapeSvg:n}=await c(t,e,f(e)),a=Math.max(30,e?.width??0),o=Math.max(30,e?.height??0),{cssStyles:l}=e,u=h.Z.svg(n),g=S(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");let y=[{x:0,y:0},{x:a,y:0},{x:0,y:o},{x:a,y:o}],m=p(y),x=u.path(m,g),b=n.insert(()=>x,":first-child");return b.attr("class","basic label-container"),l&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",l),i&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",i),b.attr("transform",`translate(${-a/2}, ${-o/2})`),d(e,b),e.intersect=function(t){return s.cM.info("Pill intersect",e,{points:y}),R.polygon(e,y,t)},n}async function tx(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,label:g}=await c(t,e,"icon-shape default"),y="t"===e.pos,{nodeBorder:m}=r,{stylesMap:x}=_(e),b=-l/2,k=-l/2,C=e.label?8:0,w=h.Z.svg(f),v=S(e,{stroke:"none",fill:"none"});"handDrawn"!==e.look&&(v.roughness=0,v.fillStyle="solid");let M=w.rectangle(b,k,l,l,v),B=Math.max(l,p.width),L=l+p.height+C,A=w.rectangle(-B/2,-L/2,B,L,{...v,fill:"transparent",stroke:"none"}),F=f.insert(()=>M,":first-child"),$=f.insert(()=>A);if(e.icon){let t=f.append("g");t.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let r=t.node().getBBox(),n=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-n/2-o},${y?p.height/2+C/2-a/2-s:-p.height/2-C/2-a/2-s})`),t.attr("style",`color: ${x.get("stroke")??m};`)}return g.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${y?-L/2:L/2-p.height})`),F.attr("transform",`translate(0,${y?p.height/2+C/2:-p.height/2-C/2})`),d(e,$),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=y?[{x:r-p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2+p.height+C},{x:r+l/2,y:i-n/2+p.height+C},{x:r+l/2,y:i+n/2},{x:r-l/2,y:i+n/2},{x:r-l/2,y:i-n/2+p.height+C},{x:r-p.width/2,y:i-n/2+p.height+C}]:[{x:r-l/2,y:i-n/2},{x:r+l/2,y:i-n/2},{x:r+l/2,y:i-n/2+l},{x:r+p.width/2,y:i-n/2+l},{x:r+p.width/2/2,y:i+n/2},{x:r-p.width/2,y:i+n/2},{x:r-p.width/2,y:i-n/2+l},{x:r-l/2,y:i-n/2+l}],R.polygon(e,a,t)},f}async function tb(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,label:g}=await c(t,e,"icon-shape default"),y=e.label?8:0,m="t"===e.pos,{nodeBorder:x,mainBkg:b}=r,{stylesMap:k}=_(e),C=h.Z.svg(f),w=S(e,{});"handDrawn"!==e.look&&(w.roughness=0,w.fillStyle="solid");let v=k.get("fill");w.stroke=v??b;let M=f.append("g");e.icon&&M.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let B=M.node().getBBox(),L=B.width,A=B.height,F=B.x,$=B.y,W=Math.max(L,A)*Math.SQRT2+40,E=C.circle(0,0,W,w),D=Math.max(W,p.width),O=W+p.height+y,Z=C.rectangle(-D/2,-O/2,D,O,{...w,fill:"transparent",stroke:"none"}),N=f.insert(()=>E,":first-child"),I=f.insert(()=>Z);return M.attr("transform",`translate(${-L/2-F},${m?p.height/2+y/2-A/2-$:-p.height/2-y/2-A/2-$})`),M.attr("style",`color: ${k.get("stroke")??x};`),g.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-O/2:O/2-p.height})`),N.attr("transform",`translate(0,${m?p.height/2+y/2:-p.height/2-y/2})`),d(e,I),e.intersect=function(t){return s.cM.info("iconSquare intersect",e,t),R.rect(e,t)},f}async function tk(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,halfPadding:g,label:y}=await c(t,e,"icon-shape default"),m="t"===e.pos,x=l+2*g,b=l+2*g,{nodeBorder:k,mainBkg:w}=r,{stylesMap:v}=_(e),M=-b/2,B=e.label?8:0,L=h.Z.svg(f),A=S(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");let F=v.get("fill");A.stroke=F??w;let $=L.path(C(M,-x/2,b,x,5),A),W=Math.max(b,p.width),E=x+p.height+B,D=L.rectangle(-W/2,-E/2,W,E,{...A,fill:"transparent",stroke:"none"}),O=f.insert(()=>$,":first-child").attr("class","icon-shape2"),Z=f.insert(()=>D);if(e.icon){let t=f.append("g");t.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let r=t.node().getBBox(),n=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-n/2-o},${m?p.height/2+B/2-a/2-s:-p.height/2-B/2-a/2-s})`),t.attr("style",`color: ${v.get("stroke")??k};`)}return y.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-E/2:E/2-p.height})`),O.attr("transform",`translate(0,${m?p.height/2+B/2:-p.height/2-B/2})`),d(e,Z),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=m?[{x:r-p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2+p.height+B},{x:r+b/2,y:i-n/2+p.height+B},{x:r+b/2,y:i+n/2},{x:r-b/2,y:i+n/2},{x:r-b/2,y:i-n/2+p.height+B},{x:r-p.width/2,y:i-n/2+p.height+B}]:[{x:r-b/2,y:i-n/2},{x:r+b/2,y:i-n/2},{x:r+b/2,y:i-n/2+x},{x:r+p.width/2,y:i-n/2+x},{x:r+p.width/2/2,y:i+n/2},{x:r-p.width/2,y:i+n/2},{x:r-p.width/2,y:i-n/2+x},{x:r-b/2,y:i-n/2+x}],R.polygon(e,a,t)},f}async function tC(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,halfPadding:g,label:y}=await c(t,e,"icon-shape default"),m="t"===e.pos,x=l+2*g,b=l+2*g,{nodeBorder:k,mainBkg:w}=r,{stylesMap:v}=_(e),M=-b/2,B=e.label?8:0,L=h.Z.svg(f),A=S(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");let F=v.get("fill");A.stroke=F??w;let $=L.path(C(M,-x/2,b,x,.1),A),W=Math.max(b,p.width),E=x+p.height+B,D=L.rectangle(-W/2,-E/2,W,E,{...A,fill:"transparent",stroke:"none"}),O=f.insert(()=>$,":first-child"),Z=f.insert(()=>D);if(e.icon){let t=f.append("g");t.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let r=t.node().getBBox(),n=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-n/2-o},${m?p.height/2+B/2-a/2-s:-p.height/2-B/2-a/2-s})`),t.attr("style",`color: ${v.get("stroke")??k};`)}return y.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-E/2:E/2-p.height})`),O.attr("transform",`translate(0,${m?p.height/2+B/2:-p.height/2-B/2})`),d(e,Z),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=m?[{x:r-p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2+p.height+B},{x:r+b/2,y:i-n/2+p.height+B},{x:r+b/2,y:i+n/2},{x:r-b/2,y:i+n/2},{x:r-b/2,y:i-n/2+p.height+B},{x:r-p.width/2,y:i-n/2+p.height+B}]:[{x:r-b/2,y:i-n/2},{x:r+b/2,y:i-n/2},{x:r+b/2,y:i-n/2+x},{x:r+p.width/2,y:i-n/2+x},{x:r+p.width/2/2,y:i+n/2},{x:r-p.width/2,y:i+n/2},{x:r-p.width/2,y:i-n/2+x},{x:r-b/2,y:i-n/2+x}],R.polygon(e,a,t)},f}async function tw(t,e,{config:{flowchart:r}}){let i=new Image;i.src=e?.img??"",await i.decode();let n=Number(i.naturalWidth.toString().replace("px","")),a=Number(i.naturalHeight.toString().replace("px",""));e.imageAspectRatio=n/a;let{labelStyles:o}=T(e);e.labelStyle=o;let l=r?.wrappingWidth;e.defaultWidth=r?.wrappingWidth;let u=Math.max(e.label?l??0:0,e?.assetWidth??n),f="on"===e.constraint&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:u,p="on"===e.constraint?f/e.imageAspectRatio:e?.assetHeight??a;e.width=Math.max(f,l??0);let{shapeSvg:g,bbox:y,label:m}=await c(t,e,"image-shape default"),x="t"===e.pos,b=-f/2,k=e.label?8:0,C=h.Z.svg(g),w=S(e,{});"handDrawn"!==e.look&&(w.roughness=0,w.fillStyle="solid");let _=C.rectangle(b,-p/2,f,p,w),v=Math.max(f,y.width),M=p+y.height+k,B=C.rectangle(-v/2,-M/2,v,M,{...w,fill:"none",stroke:"none"}),L=g.insert(()=>_,":first-child"),A=g.insert(()=>B);if(e.img){let t=g.append("image");t.attr("href",e.img),t.attr("width",f),t.attr("height",p),t.attr("preserveAspectRatio","none"),t.attr("transform",`translate(${-f/2},${x?M/2-p:-M/2})`)}return m.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))},${x?-p/2-y.height/2-k/2:p/2-y.height/2+k/2})`),L.attr("transform",`translate(0,${x?y.height/2+k/2:-y.height/2-k/2})`),d(e,A),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=x?[{x:r-y.width/2,y:i-n/2},{x:r+y.width/2,y:i-n/2},{x:r+y.width/2,y:i-n/2+y.height+k},{x:r+f/2,y:i-n/2+y.height+k},{x:r+f/2,y:i+n/2},{x:r-f/2,y:i+n/2},{x:r-f/2,y:i-n/2+y.height+k},{x:r-y.width/2,y:i-n/2+y.height+k}]:[{x:r-f/2,y:i-n/2},{x:r+f/2,y:i-n/2},{x:r+f/2,y:i-n/2+p},{x:r+y.width/2,y:i-n/2+p},{x:r+y.width/2/2,y:i+n/2},{x:r-y.width/2,y:i+n/2},{x:r-y.width/2,y:i-n/2+p},{x:r-f/2,y:i-n/2+p}],R.polygon(e,a,t)},g}async function t_(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=Math.max(o.width+(e.padding??0)*2,e?.width??0),l=Math.max(o.height+(e.padding??0)*2,e?.height??0),u=[{x:0,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:-3*l/6,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}async function tv(t,e,r){let i;let{labelStyles:n,nodeStyles:a}=T(e);e.labelStyle=n;let{shapeSvg:s,bbox:l}=await c(t,e,f(e)),u=Math.max(l.width+2*r.labelPaddingX,e?.width||0),p=Math.max(l.height+2*r.labelPaddingY,e?.height||0),g=-u/2,y=-p/2,{rx:m,ry:x}=e,{cssStyles:b}=e;if(r?.rx&&r.ry&&(m=r.rx,x=r.ry),"handDrawn"===e.look){let t=h.Z.svg(s),r=S(e,{}),n=m||x?t.path(C(g,y,u,p,m||0),r):t.rectangle(g,y,u,p,r);(i=s.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,o.R7)(b))}else(i=s.insert("rect",":first-child")).attr("class","basic label-container").attr("style",a).attr("rx",(0,o.R7)(m)).attr("ry",(0,o.R7)(x)).attr("x",g).attr("y",y).attr("width",u).attr("height",p);return d(e,i),e.intersect=function(t){return R.rect(e,t)},s}async function tT(t,e){let{shapeSvg:r,bbox:i,label:n}=await c(t,e,"label"),a=r.insert("rect",":first-child");return a.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),n.attr("transform",`translate(${-(i.width/2)-(i.x-(i.left??0))}, ${-(i.height/2)-(i.y-(i.top??0))})`),d(e,a),e.intersect=function(t){return R.rect(e,t)},r}async function tS(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=Math.max(o.width+(e.padding??0),e?.width??0),l=Math.max(o.height+(e.padding??0),e?.height??0),u=[{x:0,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:-(3*l)/6,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}async function tM(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=Math.max(o.width+(e.padding??0),e?.width??0),l=Math.max(o.height+(e.padding??0),e?.height??0),u=[{x:-3*l/6,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:0,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}function tB(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.label="",e.labelStyle=r;let n=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:a}=e,o=Math.max(35,e?.width??0),l=Math.max(35,e?.height??0),c=[{x:o,y:0},{x:0,y:l+3.5},{x:o-14,y:l+3.5},{x:0,y:2*l},{x:o,y:l-3.5},{x:14,y:l-3.5}],u=h.Z.svg(n),g=S(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");let y=p(c),m=u.path(y,g),x=n.insert(()=>m,":first-child");return a&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",a),i&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",i),x.attr("transform",`translate(-${o/2},${-l})`),d(e,x),e.intersect=function(t){return s.cM.info("lightningBolt intersect",e,t),R.polygon(e,c,t)},n}(0,s.eW)(ty,"hexagon"),(0,s.eW)(tm,"hourglass"),(0,s.eW)(tx,"icon"),(0,s.eW)(tb,"iconCircle"),(0,s.eW)(tk,"iconRounded"),(0,s.eW)(tC,"iconSquare"),(0,s.eW)(tw,"imageSquare"),(0,s.eW)(t_,"inv_trapezoid"),(0,s.eW)(tv,"drawRect"),(0,s.eW)(tT,"labelRect"),(0,s.eW)(tS,"lean_left"),(0,s.eW)(tM,"lean_right"),(0,s.eW)(tB,"lightningBolt");var tL=(0,s.eW)((t,e,r,i,n,a,o)=>`M${t},${e+a} a${n},${a} 0,0,0 ${r},0 a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i} M${t},${e+a+o} a${n},${a} 0,0,0 ${r},0`,"createCylinderPathD"),tA=(0,s.eW)((t,e,r,i,n,a,o)=>`M${t},${e+a} M${t+r},${e+a} a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i} M${t},${e+a+o} a${n},${a} 0,0,0 ${r},0`,"createOuterCylinderPathD"),tF=(0,s.eW)((t,e,r,i,n,a)=>`M${t-r/2},${-i/2} a${n},${a} 0,0,0 ${r},0`,"createInnerCylinderPathD");async function t$(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s,label:l}=await c(t,e,f(e)),u=Math.max(s.width+(e.padding??0),e.width??0),p=u/2,g=p/(2.5+u/50),y=Math.max(s.height+g+(e.padding??0),e.height??0),m=.1*y,{cssStyles:x}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=tA(0,0,u,y,p,g,m),n=tF(0,g,u,y,p,g),o=S(e,{}),s=t.path(i,o),l=t.path(n,o);a.insert(()=>l,":first-child").attr("class","line"),(r=a.insert(()=>s,":first-child")).attr("class","basic label-container"),x&&r.attr("style",x)}else{let t=tL(0,0,u,y,p,g,m);r=a.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.R7)(x)).attr("style",n)}return r.attr("label-offset-y",g),r.attr("transform",`translate(${-u/2}, ${-(y/2+g)})`),d(e,r),l.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${-(s.height/2)+g-(s.y-(s.top??0))})`),e.intersect=function(t){let r=R.rect(e,t),i=r.x-(e.x??0);if(0!=p&&(Math.abs(i)<(e.width??0)/2||Math.abs(i)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-g)){let n=g*g*(1-i*i/(p*p));n>0&&(n=Math.sqrt(n)),n=g-n,t.y-(e.y??0)>0&&(n=-n),r.y+=n}return r},a}async function tW(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/4,p=l+u,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:-s/2-s/2*.1,y:-p/2},{x:-s/2-s/2*.1,y:p/2},...g(-s/2-s/2*.1,p/2,s/2+s/2*.1,p/2,u,.8),{x:s/2+s/2*.1,y:-p/2},{x:-s/2-s/2*.1,y:-p/2},{x:-s/2,y:-p/2},{x:-s/2,y:p/2*1.1},{x:-s/2,y:-p/2}],k=m.polygon(b.map(t=>[t.x,t.y]),x),C=n.insert(()=>k,":first-child");return C.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),C.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)+s/2*.1/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u/2-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tE(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,g=-l/2,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{}),b=[{x:u-5,y:g+5},{x:u-5,y:g+l+5},{x:u+s-5,y:g+l+5},{x:u+s-5,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g+l-5},{x:u+s+5,y:g+l-5},{x:u+s+5,y:g-5},{x:u+5,y:g-5},{x:u+5,y:g},{x:u,y:g},{x:u,y:g+5}];"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let k=p(b),C=m.path(k,x),w=p([{x:u,y:g+5},{x:u+s-5,y:g+5},{x:u+s-5,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g},{x:u,y:g}]),_=m.path(w,{...x,fill:"none"}),v=n.insert(()=>_,":first-child");return v.insert(()=>C,":first-child"),v.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),o.attr("transform",`translate(${-(a.width/2)-5-(a.x-(a.left??0))}, ${-(a.height/2)+5-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tD(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/4,y=l+u,m=-s/2,x=-y/2,{cssStyles:b}=e,k=g(m-5,x+y+5,m+s-5,x+y+5,u,.8),C=k?.[k.length-1],w=[{x:m-5,y:x+5},{x:m-5,y:x+y+5},...k,{x:m+s-5,y:C.y-5},{x:m+s,y:C.y-5},{x:m+s,y:C.y-10},{x:m+s+5,y:C.y-10},{x:m+s+5,y:x-5},{x:m+5,y:x-5},{x:m+5,y:x},{x:m,y:x},{x:m,y:x+5}],_=[{x:m,y:x+5},{x:m+s-5,y:x+5},{x:m+s-5,y:C.y-5},{x:m+s,y:C.y-5},{x:m+s,y:x},{x:m,y:x}],v=h.Z.svg(n),M=S(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let B=p(w),L=v.path(B,M),A=p(_),F=v.path(A,M),$=n.insert(()=>L,":first-child");return $.insert(()=>F),$.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",i),$.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-(a.width/2)-5-(a.x-(a.left??0))}, ${-(a.height/2)+5-u/2-(a.y-(a.top??0))})`),d(e,$),e.intersect=function(t){return R.polygon(e,w,t)},n}async function tO(t,e,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i,!(e.useHtmlLabels||s.iE().flowchart?.htmlLabels!==!1)&&(e.centerLabel=!0);let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),l=Math.max(o.width+(e.padding??0)*2,e?.width??0),u=Math.max(o.height+(e.padding??0)*2,e?.height??0),{cssStyles:p}=e,g=h.Z.svg(a),y=S(e,{fill:r.noteBkgColor,stroke:r.noteBorderColor});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let m=g.rectangle(-l/2,-u/2,l,u,y),x=a.insert(()=>m,":first-child");return x.attr("class","basic label-container"),p&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",p),n&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",n),d(e,x),e.intersect=function(t){return R.rect(e,t)},a}(0,s.eW)(t$,"linedCylinder"),(0,s.eW)(tW,"linedWaveEdgedRect"),(0,s.eW)(tE,"multiRect"),(0,s.eW)(tD,"multiWaveEdgedRectangle"),(0,s.eW)(tO,"note");var tZ=(0,s.eW)((t,e,r)=>`M${t+r/2},${e} L${t+r},${e-r/2} L${t+r/2},${e-r} L${t},${e-r/2} Z`,"createDecisionBoxPathD");async function tN(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),l=o.width+e.padding,u=l+(o.height+e.padding),p=[{x:u/2,y:0},{x:u,y:-u/2},{x:u/2,y:-u},{x:0,y:-u/2}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=tZ(0,0,u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`),g&&r.attr("style",g)}else r=U(a,u,u,p);return n&&r.attr("style",n),d(e,r),e.intersect=function(t){return s.cM.debug("APA12 Intersect called SPLIT\npoint:",t,"\nnode:\n",e,"\nres:",R.polygon(e,p,t)),R.polygon(e,p,t)},a}async function tI(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0),e?.width??0),l=Math.max(a.height+(e.padding??0),e?.height??0),u=-s/2,g=-l/2,y=g/2,m=[{x:u+y,y:g},{x:u,y:0},{x:u+y,y:-g},{x:-u,y:-g},{x:-u,y:g}],{cssStyles:x}=e,b=h.Z.svg(n),k=S(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let C=p(m),w=b.path(C,k),_=n.insert(()=>w,":first-child");return _.attr("class","basic label-container"),x&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",x),i&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",i),_.attr("transform",`translate(${-y/2},0)`),o.attr("transform",`translate(${-y/2-a.width/2-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`),d(e,_),e.intersect=function(t){return R.polygon(e,m,t)},n}async function tz(t,e){let r,i,n;let{labelStyles:a,nodeStyles:o}=T(e);e.labelStyle=a,r=e.cssClasses?"node "+e.cssClasses:"node default";let c=t.insert("g").attr("class",r).attr("id",e.domId||e.id),u=c.insert("g"),f=c.insert("g").attr("class","label").attr("style",o),p=e.description,g=e.label,y=f.node().appendChild(await k(g,e.labelStyle,!0,!0)),m={width:0,height:0};if((0,s.ku)(s.nV()?.flowchart?.htmlLabels)){let t=y.children[0],e=(0,l.Ys)(y);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}s.cM.info("Text 2",p);let x=p||[],b=y.getBBox(),w=f.node().appendChild(await k(x.join?x.join("
    "):x,e.labelStyle,!0,!0)),_=w.children[0],v=(0,l.Ys)(w);m=_.getBoundingClientRect(),v.attr("width",m.width),v.attr("height",m.height);let M=(e.padding||0)/2;(0,l.Ys)(w).attr("transform","translate( "+(m.width>b.width?0:(b.width-m.width)/2)+", "+(b.height+M+5)+")"),(0,l.Ys)(y).attr("transform","translate( "+(m.width(s.cM.debug("Rough node insert CXC",a),o),":first-child"),i=c.insert(()=>(s.cM.debug("Rough node insert CXC",a),a),":first-child")}else i=u.insert("rect",":first-child"),n=u.insert("line"),i.attr("class","outer title-state").attr("style",o).attr("x",-m.width/2-M).attr("y",-m.height/2-M).attr("width",m.width+(e.padding||0)).attr("height",m.height+(e.padding||0)),n.attr("class","divider").attr("x1",-m.width/2-M).attr("x2",m.width/2+M).attr("y1",-m.height/2-M+b.height+M).attr("y2",-m.height/2-M+b.height+M);return d(e,i),e.intersect=function(t){return R.rect(e,t)},c}async function tj(t,e){let r={rx:5,ry:5,classes:"",labelPaddingX:1*(e?.padding||0),labelPaddingY:1*(e?.padding||0)};return tv(t,e,r)}async function tR(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:s}=await c(t,e,f(e)),l=e?.padding??0,u=Math.max(a.width+(e.padding??0)*2,e?.width??0),p=Math.max(a.height+(e.padding??0)*2,e?.height??0),g=-a.width/2-l,y=-a.height/2-l,{cssStyles:m}=e,x=h.Z.svg(n),b=S(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=x.polygon([{x:g,y},{x:g+u+8,y},{x:g+u+8,y:y+p},{x:g-8,y:y+p},{x:g-8,y},{x:g,y},{x:g,y:y+p}].map(t=>[t.x,t.y]),b),C=n.insert(()=>k,":first-child");return C.attr("class","basic label-container").attr("style",(0,o.R7)(m)),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),m&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),s.attr("transform",`translate(${-u/2+4+(e.padding??0)-(a.x-(a.left??0))},${-p/2+(e.padding??0)-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return R.rect(e,t)},n}async function tP(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,g=-l/2,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:u,y:g},{x:u,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g-l/2}],k=p(b),C=m.path(k,x),w=n.insert(()=>C,":first-child");return w.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",y),i&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",i),w.attr("transform",`translate(0, ${l/4})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))}, ${-l/4+(e.padding??0)-(a.y-(a.top??0))})`),d(e,w),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tq(t,e){let r={rx:0,ry:0,classes:"",labelPaddingX:2*(e?.padding||0),labelPaddingY:1*(e?.padding||0)};return tv(t,e,r)}async function tH(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s}=await c(t,e,f(e)),l=s.height+e.padding,u=s.width+l/4+e.padding,{cssStyles:p}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=C(-u/2,-l/2,u,l,l/2),s=t.path(n,i);(r=a.insert(()=>s,":first-child")).attr("class","basic label-container").attr("style",(0,o.R7)(p))}else(r=a.insert("rect",":first-child")).attr("class","basic label-container").attr("style",n).attr("rx",l/2).attr("ry",l/2).attr("x",-u/2).attr("y",-l/2).attr("width",u).attr("height",l);return d(e,r),e.intersect=function(t){return R.rect(e,t)},a}async function tU(t,e){return tv(t,e,{rx:5,ry:5,classes:"flowchart-node"})}function tY(t,e,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{cssStyles:a}=e,{lineColor:o,stateBorder:s,nodeBorder:l}=r,c=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),u=h.Z.svg(c),f=S(e,{});"handDrawn"!==e.look&&(f.roughness=0,f.fillStyle="solid");let p=u.circle(0,0,14,{...f,stroke:o,strokeWidth:2}),g=s??l,y=u.circle(0,0,5,{...f,fill:g,stroke:g,strokeWidth:2,fillStyle:"solid"}),m=c.insert(()=>p,":first-child");return m.insert(()=>y),a&&m.selectAll("path").attr("style",a),n&&m.selectAll("path").attr("style",n),d(e,m),e.intersect=function(t){return R.circle(e,7,t)},c}function tV(t,e,{config:{themeVariables:r}}){let i;let{lineColor:n}=r,a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);if("handDrawn"===e.look){let t=h.Z.svg(a).circle(0,0,14,w(n));(i=a.insert(()=>t)).attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else(i=a.insert("circle",":first-child")).attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return d(e,i),e.intersect=function(t){return R.circle(e,7,t)},a}async function tG(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),s=(e?.padding||0)/2,l=a.width+e.padding,u=a.height+e.padding,p=-a.width/2-s,g=-a.height/2-s,y=[{x:0,y:0},{x:l,y:0},{x:l,y:-u},{x:0,y:-u},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-u},{x:-8,y:-u},{x:-8,y:0}];if("handDrawn"===e.look){let t=h.Z.svg(n),r=S(e,{}),i=t.rectangle(p-8,g,l+16,u,r),a=t.line(p,g,p,g+u,r),s=t.line(p+l,g,p+l,g+u,r);n.insert(()=>a,":first-child"),n.insert(()=>s,":first-child");let c=n.insert(()=>i,":first-child"),{cssStyles:f}=e;c.attr("class","basic label-container").attr("style",(0,o.R7)(f)),d(e,c)}else{let t=U(n,l,u,y);i&&t.attr("style",i),d(e,t)}return e.intersect=function(t){return R.polygon(e,y,t)},n}async function tX(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(a.width+(e.padding??0)*2,e?.width??0),s=Math.max(a.height+(e.padding??0)*2,e?.height??0),l=-o/2,u=-s/2,g=.2*s,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{}),b=[{x:l-g/2,y:u},{x:l+o+g/2,y:u},{x:l+o+g/2,y:u+s},{x:l-g/2,y:u+s}];"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let k=p(b),C=m.path(k,x),w=p([{x:l+o-g/2,y:u+s},{x:l+o+g/2,y:u+s},{x:l+o+g/2,y:u+s-.2*s}]),_=m.path(w,{...x,fillStyle:"solid"}),v=n.insert(()=>_,":first-child");return v.insert(()=>C,":first-child"),v.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),d(e,v),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tQ(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/4,y=.2*s,m=.2*l,x=l+u,{cssStyles:b}=e,k=h.Z.svg(n),C=S(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let w=[{x:-s/2-s/2*.1,y:x/2},...g(-s/2-s/2*.1,x/2,s/2+s/2*.1,x/2,u,.8),{x:s/2+s/2*.1,y:-x/2},{x:-s/2-s/2*.1,y:-x/2}],_=-s/2+s/2*.1,v=-x/2-.4*m,M=[{x:_+s-y,y:(v+l)*1.4},{x:_+s,y:v+l-m},{x:_+s,y:(v+l)*.9},...g(_+s,(v+l)*1.3,_+s-y,(v+l)*1.5,-(.03*l),.5)],B=p(w),L=k.path(B,C),A=p(M),F=k.path(A,{...C,fillStyle:"solid"}),$=n.insert(()=>F,":first-child");return $.insert(()=>L,":first-child"),$.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",i),$.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u/2-(a.y-(a.top??0))})`),d(e,$),e.intersect=function(t){return R.polygon(e,w,t)},n}async function tK(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(a.width+e.padding,e?.width||0),s=Math.max(a.height+e.padding,e?.height||0),l=n.insert("rect",":first-child");return l.attr("class","text").attr("style",i).attr("rx",0).attr("ry",0).attr("x",-o/2).attr("y",-s/2).attr("width",o).attr("height",s),d(e,l),e.intersect=function(t){return R.rect(e,t)},n}(0,s.eW)(tN,"question"),(0,s.eW)(tI,"rect_left_inv_arrow"),(0,s.eW)(tz,"rectWithTitle"),(0,s.eW)(tj,"roundedRect"),(0,s.eW)(tR,"shadedProcess"),(0,s.eW)(tP,"slopedRect"),(0,s.eW)(tq,"squareRect"),(0,s.eW)(tH,"stadium"),(0,s.eW)(tU,"state"),(0,s.eW)(tY,"stateEnd"),(0,s.eW)(tV,"stateStart"),(0,s.eW)(tG,"subroutine"),(0,s.eW)(tX,"taggedRect"),(0,s.eW)(tQ,"taggedWaveEdgedRectangle"),(0,s.eW)(tK,"text");var tJ=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e} + a${n},${a} 0,0,1 0,${-i} + l${r},0 + a${n},${a} 0,0,1 0,${i} + M${r},${-i} + a${n},${a} 0,0,0 0,${i} + l${-r},0`,"createCylinderPathD"),t0=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e} M${t+r},${e} a${n},${a} 0,0,0 0,${-i} l${-r},0 a${n},${a} 0,0,0 0,${i} l${r},0`,"createOuterCylinderPathD"),t1=(0,s.eW)((t,e,r,i,n,a)=>`M${t+r/2},${-i/2} a${n},${a} 0,0,0 0,${i}`,"createInnerCylinderPathD");async function t2(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s,label:l,halfPadding:u}=await c(t,e,f(e)),p="neo"===e.look?2*u:u,g=s.height+p,y=g/2,m=y/(2.5+g/50),x=s.width+m+p,{cssStyles:b}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=t0(0,0,x,g,m,y),n=t1(0,0,x,g,m,y),o=t.path(i,S(e,{})),s=t.path(n,S(e,{fill:"none"}));r=a.insert(()=>s,":first-child"),(r=a.insert(()=>o,":first-child")).attr("class","basic label-container"),b&&r.attr("style",b)}else{let t=tJ(0,0,x,g,m,y);(r=a.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.R7)(b)).attr("style",n)).attr("class","basic label-container"),b&&r.selectAll("path").attr("style",b),n&&r.selectAll("path").attr("style",n)}return r.attr("label-offset-x",m),r.attr("transform",`translate(${-x/2}, ${g/2} )`),l.attr("transform",`translate(${-(s.width/2)-m-(s.x-(s.left??0))}, ${-(s.height/2)-(s.y-(s.top??0))})`),d(e,r),e.intersect=function(t){let r=R.rect(e,t),i=r.y-(e.y??0);if(0!=y&&(Math.abs(i)<(e.height??0)/2||Math.abs(i)==(e.height??0)/2&&Math.abs(r.x-(e.x??0))>(e.width??0)/2-m)){let n=m*m*(1-i*i/(y*y));0!=n&&(n=Math.sqrt(Math.abs(n))),n=m-n,t.x-(e.x??0)>0&&(n=-n),r.x+=n}return r},a}async function t3(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=o.width+e.padding,l=o.height+e.padding,u=[{x:-3*l/6,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:0,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}async function t5(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(60,a.width+(e.padding??0)*2,e?.width??0),s=Math.max(20,a.height+(e.padding??0)*2,e?.height??0),{cssStyles:l}=e,u=h.Z.svg(n),g=S(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");let y=[{x:-o/2*.8,y:-s/2},{x:o/2*.8,y:-s/2},{x:o/2,y:-s/2*.6},{x:o/2,y:s/2},{x:-o/2,y:s/2},{x:-o/2,y:-s/2*.6}],m=p(y),x=u.path(m,g),b=n.insert(()=>x,":first-child");return b.attr("class","basic label-container"),l&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",l),i&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",i),d(e,b),e.intersect=function(t){return R.polygon(e,y,t)},n}async function t4(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),l=(0,s.ku)(s.nV().flowchart?.htmlLabels),u=a.width+(e.padding??0),g=u+a.height,y=u+a.height,m=[{x:0,y:0},{x:y,y:0},{x:y/2,y:-g}],{cssStyles:x}=e,b=h.Z.svg(n),k=S(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let C=p(m),w=b.path(C,k),_=n.insert(()=>w,":first-child").attr("transform",`translate(${-g/2}, ${g/2})`);return x&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",x),i&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",i),e.width=u,e.height=g,d(e,_),o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${g/2-(a.height+(e.padding??0)/(l?2:1)-(a.y-(a.top??0)))})`),e.intersect=function(t){return s.cM.info("Triangle intersect",e,m,t),R.polygon(e,m,t)},n}async function t6(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/8,y=l+u,{cssStyles:m}=e,x=70-s,b=x>0?x/2:0,k=h.Z.svg(n),C=S(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let w=[{x:-s/2-b,y:y/2},...g(-s/2-b,y/2,s/2+b,y/2,u,.8),{x:s/2+b,y:-y/2},{x:-s/2-b,y:-y/2}],_=p(w),v=k.path(_,C),M=n.insert(()=>v,":first-child");return M.attr("class","basic label-container"),m&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",m),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),M.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u-(a.y-(a.top??0))})`),d(e,M),e.intersect=function(t){return R.polygon(e,w,t)},n}async function t8(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(a.width+(e.padding??0)*2,e?.width??0),s=Math.max(a.height+(e.padding??0)*2,e?.height??0),l=o/s,u=o,y=s;u>y*l?y=u/l:u=y*l,u=Math.max(u,100);let m=Math.min(.2*(y=Math.max(y,50)),y/4),x=y+2*m,{cssStyles:b}=e,k=h.Z.svg(n),C=S(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let w=[{x:-u/2,y:x/2},...g(-u/2,x/2,u/2,x/2,m,1),{x:u/2,y:-x/2},...g(u/2,-x/2,-u/2,-x/2,m,-1)],_=p(w),v=k.path(_,C),M=n.insert(()=>v,":first-child");return M.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),d(e,M),e.intersect=function(t){return R.polygon(e,w,t)},n}async function t9(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,p=-l/2,{cssStyles:g}=e,y=h.Z.svg(n),m=S(e,{}),x=[{x:u-5,y:p-5},{x:u-5,y:p+l},{x:u+s,y:p+l},{x:u+s,y:p-5}],b=`M${u-5},${p-5} L${u+s},${p-5} L${u+s},${p+l} L${u-5},${p+l} L${u-5},${p-5} + M${u-5},${p} L${u+s},${p} + M${u},${p-5} L${u},${p+l}`;"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");let k=y.path(b,m),C=n.insert(()=>k,":first-child");return C.attr("transform",`translate(${2.5}, ${2.5})`),C.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),o.attr("transform",`translate(${-(a.width/2)+2.5-(a.x-(a.left??0))}, ${-(a.height/2)+2.5-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return R.polygon(e,x,t)},n}async function t7(t,e,r,i,n=r.class.padding??12){let a=i?0:3,o=t.insert("g").attr("class",f(e)).attr("id",e.domId||e.id),s=null,l=null,h=null,c=null,u=0,d=0,p=0;if(s=o.insert("g").attr("class","annotation-group text"),e.annotations.length>0){let t=e.annotations[0];await et(s,{text:`\xab${t}\xbb`},0),u=s.node().getBBox().height}l=o.insert("g").attr("class","label-group text"),await et(l,e,0,["font-weight: bolder"]);let g=l.node().getBBox();d=g.height,h=o.insert("g").attr("class","members-group text");let y=0;for(let t of e.members){let e=await et(h,t,y,[t.parseClassifier()]);y+=e+a}(p=h.node().getBBox().height)<=0&&(p=n/2),c=o.insert("g").attr("class","methods-group text");let m=0;for(let t of e.methods){let e=await et(c,t,m,[t.parseClassifier()]);m+=e+a}let x=o.node().getBBox();if(null!==s){let t=s.node().getBBox();s.attr("transform",`translate(${-t.width/2})`)}return l.attr("transform",`translate(${-g.width/2}, ${u})`),x=o.node().getBBox(),h.attr("transform",`translate(0, ${u+d+2*n})`),x=o.node().getBBox(),c.attr("transform",`translate(0, ${u+d+(p?p+4*n:2*n)})`),x=o.node().getBBox(),{shapeSvg:o,bbox:x}}async function et(t,e,r,i=[]){let n;let h=t.insert("g").attr("class","label").attr("style",i.join("; ")),c=(0,s.iE)(),u="useHtmlLabels"in e?e.useHtmlLabels:(0,s.ku)(c.htmlLabels)??!0,d="";d="text"in e?e.text:e.label,!u&&d.startsWith("\\")&&(d=d.substring(1)),(0,s.l0)(d)&&(u=!0);let f=await (0,a.rw)(h,(0,s.uX)((0,o.SH)(d)),{width:(0,o.Cq)(d,c)+50,classes:"markdown-node-label",useHtmlLabels:u},c),p=1;if(u){let t=f.children[0],e=(0,l.Ys)(f);p=t.innerHTML.split("
    ").length,t.innerHTML.includes("")&&(p+=t.innerHTML.split("").length-1);let r=t.getElementsByTagName("img");if(r){let t=""===d.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=c.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,r=5*parseInt(t,10)+"px";e.style.minWidth=r,e.style.maxWidth=r}else e.style.width="100%";r(e)}(0,s.eW)(i,"setupImage"),setTimeout(()=>{e.complete&&i()}),e.addEventListener("error",i),e.addEventListener("load",i)})))}n=t.getBoundingClientRect(),e.attr("width",n.width),e.attr("height",n.height)}else{i.includes("font-weight: bolder")&&(0,l.Ys)(f).selectAll("tspan").attr("font-weight",""),p=f.children.length;let t=f.children[0];(""===f.textContent||f.textContent.includes(">"))&&(t.textContent=d[0]+d.substring(1).replaceAll(">",">").replaceAll("<","<").trim()," "===d[1]&&(t.textContent=t.textContent[0]+" "+t.textContent.substring(1))),"undefined"===t.textContent&&(t.textContent=""),n=f.getBBox()}return h.attr("transform","translate(0,"+(-n.height/(2*p)+r)+")"),n.height}async function ee(t,e){let r=(0,s.nV)(),i=r.class.padding??12,n=e.useHtmlLabels??(0,s.ku)(r.htmlLabels)??!0;e.annotations=e.annotations??[],e.members=e.members??[],e.methods=e.methods??[];let{shapeSvg:a,bbox:o}=await t7(t,e,r,n,i),{labelStyles:c,nodeStyles:u}=T(e);e.labelStyle=c,e.cssStyles=e.styles||"";let f=e.styles?.join(";")||u||"";!e.cssStyles&&(e.cssStyles=f.replaceAll("!important","").split(";"));let p=0===e.members.length&&0===e.methods.length&&!r.class?.hideEmptyMembersBox,g=h.Z.svg(a),y=S(e,{});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let m=o.width,x=o.height;0===e.members.length&&0===e.methods.length?x+=i:e.members.length>0&&0===e.methods.length&&(x+=2*i);let b=-m/2,k=-x/2,C=g.rectangle(b-i,k-i-(p?i:0===e.members.length&&0===e.methods.length?-i/2:0),m+2*i,x+2*i+(p?2*i:0===e.members.length&&0===e.methods.length?-i:0),y),w=a.insert(()=>C,":first-child");w.attr("class","basic label-container");let _=w.node().getBBox();a.selectAll(".text").each((t,r,o)=>{let s=(0,l.Ys)(o[r]),h=s.attr("transform"),c=0;if(h){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(h);t&&(c=parseFloat(t[2]))}let u=c+k+i-(p?i:0===e.members.length&&0===e.methods.length?-i/2:0);!n&&(u-=4);let d=b;(s.attr("class").includes("label-group")||s.attr("class").includes("annotation-group"))&&(d=-s.node()?.getBBox().width/2||0,a.selectAll("text").each(function(t,e,r){"middle"===window.getComputedStyle(r[e]).textAnchor&&(d=0)})),s.attr("transform",`translate(${d}, ${u})`)});let v=a.select(".annotation-group").node().getBBox().height-(p?i/2:0)||0,M=a.select(".label-group").node().getBBox().height-(p?i/2:0)||0,B=a.select(".members-group").node().getBBox().height-(p?i/2:0)||0;if(e.members.length>0||e.methods.length>0||p){let t=g.line(_.x,v+M+k+i,_.x+_.width,v+M+k+i,y);a.insert(()=>t).attr("class","divider").attr("style",f)}if(p||e.members.length>0||e.methods.length>0){let t=g.line(_.x,v+M+B+k+2*i+i,_.x+_.width,v+M+B+k+i+2*i,y);a.insert(()=>t).attr("class","divider").attr("style",f)}if("handDrawn"!==e.look&&a.selectAll("path").attr("style",f),w.select(":nth-child(2)").attr("style",f),a.selectAll(".divider").select("path").attr("style",f),e.labelStyle?a.selectAll("span").attr("style",e.labelStyle):a.selectAll("span").attr("style",f),!n){let t=RegExp(/color\s*:\s*([^;]*)/),e=t.exec(f);if(e){let t=e[0].replace("color","fill");a.selectAll("tspan").attr("style",t)}else if(c){let e=t.exec(c);if(e){let t=e[0].replace("color","fill");a.selectAll("tspan").attr("style",t)}}}return d(e,w),e.intersect=function(t){return R.rect(e,t)},a}(0,s.eW)(t2,"tiltedCylinder"),(0,s.eW)(t3,"trapezoid"),(0,s.eW)(t5,"trapezoidalPentagon"),(0,s.eW)(t4,"triangle"),(0,s.eW)(t6,"waveEdgedRectangle"),(0,s.eW)(t8,"waveRectangle"),(0,s.eW)(t9,"windowPane"),(0,s.eW)(t7,"textHelper"),(0,s.eW)(et,"addText"),(0,s.eW)(ee,"classBox");var er=(0,s.eW)(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function ei(t,e,{config:r}){let i,n,a,o;let{labelStyles:s,nodeStyles:l}=T(e);e.labelStyle=s||"";let p=e.width;e.width=(e.width??200)-10;let{shapeSvg:g,bbox:y,label:m}=await c(t,e,f(e)),x=e.padding||10,b="";"ticket"in e&&e.ticket&&r?.kanban?.ticketBaseUrl&&(b=r?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),i=g.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",b).attr("target","_blank"));let k={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1};i?{label:n,bbox:a}=await u(i,"ticket"in e&&e.ticket||"",k):{label:n,bbox:a}=await u(g,"ticket"in e&&e.ticket||"",k);let{label:w,bbox:_}=await u(g,"assigned"in e&&e.assigned||"",k);e.width=p;let v=e?.width||0,M=Math.max(a.height,_.height)/2,B=Math.max(y.height+20,e?.height||0)+M,L=-v/2,A=-B/2;m.attr("transform","translate("+(x-v/2)+", "+(-M-y.height/2)+")"),n.attr("transform","translate("+(x-v/2)+", "+(-M+y.height/2)+")"),w.attr("transform","translate("+(x+v/2-_.width-20)+", "+(-M+y.height/2)+")");let{rx:F,ry:$}=e,{cssStyles:W}=e;if("handDrawn"===e.look){let t=h.Z.svg(g),r=S(e,{}),i=F||$?t.path(C(L,A,v,B,F||0),r):t.rectangle(L,A,v,B,r);(o=g.insert(()=>i,":first-child")).attr("class","basic label-container").attr("style",W||null)}else{(o=g.insert("rect",":first-child")).attr("class","basic label-container __APA__").attr("style",l).attr("rx",F??5).attr("ry",$??5).attr("x",L).attr("y",A).attr("width",v).attr("height",B);let t="priority"in e&&e.priority;if(t){let e=g.append("line"),r=L+2,i=A+Math.floor((F??0)/2),n=A+B-Math.floor((F??0)/2);e.attr("x1",r).attr("y1",i).attr("x2",r).attr("y2",n).attr("stroke-width","4").attr("stroke",er(t))}}return d(e,o),e.height=B,e.intersect=function(t){return R.rect(e,t)},g}(0,s.eW)(ei,"kanbanItem");var en=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:tq},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:tj},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:tH},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:tG},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:tl},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:G},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:tN},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:ty},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:tM},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:tS},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:t3},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:t_},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:tc},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:tK},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:Y},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:tR},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:tV},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:tY},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:tf},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:tm},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:J},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:te},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:ti},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:tB},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:t6},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:tp},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:t2},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:t$},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:tn},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:th},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:t4},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:t9},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:tu},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:t5},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:td},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:tP},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:tD},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:tE},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:H},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:Q},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:tQ},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:tX},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:t8},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:tI},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:tW}],ea=(0,s.eW)(()=>Object.fromEntries([...Object.entries({state:tU,choice:V,note:tO,rectWithTitle:tz,labelRect:tT,iconSquare:tC,iconCircle:tb,icon:tx,iconRounded:tk,imageSquare:tw,anchor:P,kanbanItem:ei,classBox:ee}),...en.flatMap(t=>[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]].map(e=>[e,t.handler]))]),"generateShapeMap")();function eo(t){return t in ea}(0,s.eW)(eo,"isValidShape");var es=new Map;async function el(t,e,r){let i,n;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let a=e.shape?ea[e.shape]:void 0;if(!a)throw Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let o;"sandbox"===r.config.securityLevel?o="_top":e.linkTarget&&(o=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",o??null),n=await a(i,e,r)}else i=n=await a(t,e,r);return e.tooltip&&n.attr("title",e.tooltip),es.set(e.id,i),e.haveCallback&&i.attr("class",i.attr("class")+" clickable"),i}(0,s.eW)(el,"insertNode");var eh=(0,s.eW)((t,e)=>{es.set(e.id,t)},"setNodeElem"),ec=(0,s.eW)(()=>{es.clear()},"clear"),eu=(0,s.eW)(t=>{let e=es.get(t.id);s.cM.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode")},290:function(t,e,r){"use strict";r.d(e,{_b:function(){return u},jM:function(){return h},sY:function(){return c}});var i=r(29660),n=r(37971),a=r(68394),o=r(74146),s={common:o.SY,getConfig:o.iE,insertCluster:n.us,insertEdge:i.QP,insertEdgeLabel:i.I_,insertMarkers:i.DQ,insertNode:n.Lf,interpolateToCurve:a.le,labelHelper:n.C1,log:o.cM,positionEdgeLabel:i.Jj},l={},h=(0,o.eW)(t=>{for(let e of t)l[e.name]=e},"registerLayoutLoaders");(0,o.eW)(()=>{h([{name:"dagre",loader:(0,o.eW)(async()=>await Promise.all([r.e("5823"),r.e("3389"),r.e("1780")]).then(r.bind(r,77656)),"loader")}])},"registerDefaultLayoutLoaders")();var c=(0,o.eW)(async(t,e)=>{if(!(t.layoutAlgorithm in l))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=l[t.layoutAlgorithm];return(await r.loader()).render(t,e,s,{algorithm:r.algorithm})},"render"),u=(0,o.eW)((t="",{fallback:e="dagre"}={})=>{if(t in l)return t;if(e in l)return o.cM.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")},89356:function(t,e,r){"use strict";r.d(e,{P:function(){return a}});var i=r(74146),n=r(27818),a=(0,i.eW)(t=>{let{securityLevel:e}=(0,i.nV)(),r=(0,n.Ys)("body");if("sandbox"===e){let e=(0,n.Ys)(`#i${t}`),i=e.node()?.contentDocument??document;r=(0,n.Ys)(i.body)}return r.select(`#${t}`)},"selectSvgElement")},36534:function(t,e,r){"use strict";r.d(e,{i:function(){return i}});var i="11.4.1"},9833:function(t,e,r){"use strict";r.d(e,{s4:()=>S,ef:()=>v,cN:()=>C});var i=r("74146");let n=/^[a-z0-9]+(-[a-z0-9]+)*$/,a=(t,e,r,i="")=>{let n=t.split(":");if("@"===t.slice(0,1)){if(n.length<2||n.length>3)return null;i=n.shift().slice(1)}if(n.length>3||!n.length)return null;if(n.length>1){let t=n.pop(),r=n.pop(),a={provider:n.length>0?n[0]:i,prefix:r,name:t};return e&&!o(a)?null:a}let a=n[0],s=a.split("-");if(s.length>1){let t={provider:i,prefix:s.shift(),name:s.join("-")};return e&&!o(t)?null:t}if(r&&""===i){let t={provider:i,prefix:"",name:a};return e&&!o(t,r)?null:t}return null},o=(t,e)=>!!t&&!!((""===t.provider||t.provider.match(n))&&(e&&""===t.prefix||t.prefix.match(n))&&t.name.match(n)),s=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),h=Object.freeze({...s,...l}),c=Object.freeze({...h,body:"",hidden:!1});function u(t,e){let r=function(t,e){let r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);let i=((t.rotate||0)+(e.rotate||0))%4;return i&&(r.rotate=i),r}(t,e);for(let i in c)i in l?i in t&&!(i in r)&&(r[i]=l[i]):i in e?r[i]=e[i]:i in t&&(r[i]=t[i]);return r}function d(t,e,r){let i=t.icons,n=t.aliases||Object.create(null),a={};function o(t){a=u(i[t]||n[t],a)}return o(e),r.forEach(o),u(t,a)}let f=Object.freeze({...Object.freeze({width:null,height:null}),...l}),p=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function y(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;let i=t.split(p);if(null===i||!i.length)return t;let n=[],a=i.shift(),o=g.test(a);for(;;){if(o){let t=parseFloat(a);isNaN(t)?n.push(a):n.push(Math.ceil(t*e*r)/r)}else n.push(a);if(void 0===(a=i.shift()))return n.join("");o=!o}}let m=t=>"unset"===t||"undefined"===t||"none"===t,x=/\sid="(\S+)"/g,b="IconifyId"+Date.now().toString(16)+(0x1000000*Math.random()|0).toString(16),k=0;var C={body:'?',height:80,width:80},w=new Map,_=new Map,v=(0,i.eW)(t=>{for(let e of t){if(!e.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(i.cM.debug("Registering icon pack:",e.name),"loader"in e)_.set(e.name,e.loader);else if("icons"in e)w.set(e.name,e.icons);else throw i.cM.error("Invalid icon loader:",e),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),T=(0,i.eW)(async(t,e)=>{let r=a(t,!0,void 0!==e);if(!r)throw Error(`Invalid icon name: ${t}`);let n=r.prefix||e;if(!n)throw Error(`Icon name must contain a prefix: ${t}`);let o=w.get(n);if(!o){let t=_.get(n);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{o={...await t(),prefix:n},w.set(n,o)}catch(t){throw i.cM.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let s=function(t,e){if(t.icons[e])return d(t,e,[]);let r=function(t,e){let r=t.icons,i=t.aliases||Object.create(null),n=Object.create(null);return(e||Object.keys(r).concat(Object.keys(i))).forEach(function t(e){if(r[e])return n[e]=[];if(!(e in n)){n[e]=null;let r=i[e]&&i[e].parent,a=r&&t(r);a&&(n[e]=[r].concat(a))}return n[e]}),n}(t,[e])[e];return r?d(t,e,r):null}(o,r.name);if(!s)throw Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),S=(0,i.eW)(async(t,e)=>{let r;try{r=await T(t,e?.fallbackPrefix)}catch(t){i.cM.error(t),r=C}let n=function(t,e){let r,i;let n={...h,...t},a={...f,...e},o={left:n.left,top:n.top,width:n.width,height:n.height},s=n.body;[n,a].forEach(t=>{let e;let r=[],i=t.hFlip,n=t.vFlip,a=t.rotate;switch(i?n?a+=2:(r.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),r.push("scale(-1 1)"),o.top=o.left=0):n&&(r.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),r.push("scale(1 -1)"),o.top=o.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4){case 1:e=o.height/2+o.top,r.unshift("rotate(90 "+e.toString()+" "+e.toString()+")");break;case 2:r.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:e=o.width/2+o.left,r.unshift("rotate(-90 "+e.toString()+" "+e.toString()+")")}a%2==1&&(o.left!==o.top&&(e=o.left,o.left=o.top,o.top=e),o.width!==o.height&&(e=o.width,o.width=o.height,o.height=e)),r.length&&(s=function(t,e,r){var i,n;let a=function(t,e="defs"){let r="",i=t.indexOf("<"+e);for(;i>=0;){let n=t.indexOf(">",i),a=t.indexOf("",a);if(-1===o)break;r+=t.slice(n+1,a).trim(),t=t.slice(0,i).trim()+t.slice(o+1)}return{defs:r,content:t}}(t);return i=a.defs,n=e+a.content+r,i?""+i+""+n:n}(s,'',""))});let l=a.width,c=a.height,u=o.width,d=o.height;null===l?r=y(i=null===c?"1em":"auto"===c?d:c,u/d):(r="auto"===l?u:l,i=null===c?y(r,d/u):"auto"===c?d:c);let p={},g=(t,e)=>{!m(e)&&(p[t]=e.toString())};g("width",r),g("height",i);let x=[o.left,o.top,u,d];return p.viewBox=x.join(" "),{attributes:p,viewBox:x,body:s}}(r,e);return function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in e)r+=" "+t+'="'+e[t]+'"';return'"+t+""}(function(t,e=b){let r;let i=[];for(;r=x.exec(t);)i.push(r[1]);if(!i.length)return t;let n="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return i.forEach(r=>{let i="function"==typeof e?e(r):e+(k++).toString(),a=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+n+"$3")}),t=t.replace(RegExp(n,"g"),"")}(n.body),n.attributes)},"getIconSVG")},80397:function(t,e,r){"use strict";r.d(e,{A:function(){return ej},z:function(){return eR}});var i,n=r(74146);function a(t){return null==t}function o(t){return"object"==typeof t&&null!==t}function s(t){return Array.isArray(t)?t:a(t)?[]:[t]}function l(t,e){var r,i,n,a;if(e)for(r=0,i=(a=Object.keys(e)).length;rs&&(e=i-s+(a=" ... ").length),r-i>s&&(r=i+s-(o=" ...").length),{str:a+t.slice(e,r).replace(/\t/g,"\u2192")+o,pos:i-e+a.length}}function g(t,e){return u.repeat(" ",e-t.length)+t}function y(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 r=/\r?\n|\r|\0/g,i=[0],n=[],a=-1;o=r.exec(t.buffer);)n.push(o.index),i.push(o.index+o[0].length),t.position<=o.index&&a<0&&(a=i.length-2);a<0&&(a=i.length-1);var o,s,l,h="",c=Math.min(t.line+e.linesAfter,n.length).toString().length,d=e.maxLength-(e.indent+c+3);for(s=1;s<=e.linesBefore&&!(a-s<0);s++)l=p(t.buffer,i[a-s],n[a-s],t.position-(i[a]-i[a-s]),d),h=u.repeat(" ",e.indent)+g((t.line-s+1).toString(),c)+" | "+l.str+"\n"+h;for(l=p(t.buffer,i[a],n[a],t.position,d),h+=u.repeat(" ",e.indent)+g((t.line+1).toString(),c)+" | "+l.str+"\n"+(u.repeat("-",e.indent+c+3+l.pos)+"^\n"),s=1;s<=e.linesAfter&&!(a+s>=n.length);s++)l=p(t.buffer,i[a+s],n[a+s],t.position-(i[a]-i[a+s]),d),h+=u.repeat(" ",e.indent)+g((t.line+s+1).toString(),c)+" | "+l.str+"\n";return h.replace(/\n$/,"")}(0,n.eW)(p,"getLine"),(0,n.eW)(g,"padStart"),(0,n.eW)(y,"makeSnippet");var m=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],x=["scalar","sequence","mapping"];function b(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function k(t,e){if(Object.keys(e=e||{}).forEach(function(e){if(-1===m.indexOf(e))throw new f('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=b(e.styleAliases||null),-1===x.indexOf(this.kind))throw new f('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}(0,n.eW)(b,"compileStyleAliases"),(0,n.eW)(k,"Type$1");function C(t,e){var r=[];return t[e].forEach(function(t){var e=r.length;r.forEach(function(r,i){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=i)}),r[e]=t}),r}function w(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,n.eW)(i,"collectType"),t=0,e=arguments.length;t=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,n.eW)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:(0,n.eW)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,n.eW)(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),z=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function j(t){return!!(null!==t&&z.test(t)&&"_"!==t[t.length-1])||!1}function R(t){var e,r;return(r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:r*parseFloat(e,10)}(0,n.eW)(j,"resolveYamlFloat"),(0,n.eW)(R,"constructYamlFloat");var P=/^[-+]?[0-9]+e/;function q(t,e){var r;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(u.isNegativeZero(t))return"-0.0";return r=t.toString(10),P.test(r)?r.replace("e",".e"):r}function H(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||u.isNegativeZero(t))}(0,n.eW)(q,"representYamlFloat"),(0,n.eW)(H,"isFloat");var U=new k("tag:yaml.org,2002:float",{kind:"scalar",resolve:j,construct:R,predicate:H,represent:q,defaultStyle:"lowercase"}),Y=v.extend({implicit:[B,$,I,U]}),V=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),G=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 X(t){return null!==t&&(null!==V.exec(t)||null!==G.exec(t)||!1)}function Q(t){var e,r,i,n,a,o,s,l,h,c=0,u=null;if(null===(e=V.exec(t))&&(e=G.exec(t)),null===e)throw Error("Date resolve error");if(r=+e[1],i=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(r,i,n));if(a=+e[4],o=+e[5],s=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c=+c}return e[9]&&(l=+e[10],u=(60*l+ +(e[11]||0))*6e4,"-"===e[9]&&(u=-u)),h=new Date(Date.UTC(r,i,n,a,o,s,c)),u&&h.setTime(h.getTime()-u),h}function K(t){return t.toISOString()}(0,n.eW)(X,"resolveYamlTimestamp"),(0,n.eW)(Q,"constructYamlTimestamp"),(0,n.eW)(K,"representYamlTimestamp");var J=new k("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:X,construct:Q,instanceOf:Date,represent:K});function tt(t){return"<<"===t||null===t}(0,n.eW)(tt,"resolveYamlMerge");var te=new k("tag:yaml.org,2002:merge",{kind:"scalar",resolve:tt}),tr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function ti(t){if(null===t)return!1;var e,r,i=0,n=t.length;for(r=0;r64)){if(e<0)return!1;i+=6}return i%8==0}function tn(t){var e,r,i=t.replace(/[\r\n=]/g,""),n=i.length,a=0,o=[];for(e=0;e>16&255),o.push(a>>8&255),o.push(255&a)),a=a<<6|tr.indexOf(i.charAt(e));return 0==(r=n%4*6)?(o.push(a>>16&255),o.push(a>>8&255),o.push(255&a)):18===r?(o.push(a>>10&255),o.push(a>>2&255)):12===r&&o.push(a>>4&255),new Uint8Array(o)}function ta(t){var e,r,i="",n=0,a=t.length;for(e=0;e>18&63],i+=tr[n>>12&63],i+=tr[n>>6&63],i+=tr[63&n]),n=(n<<8)+t[e];return 0==(r=a%3)?(i+=tr[n>>18&63],i+=tr[n>>12&63],i+=tr[n>>6&63],i+=tr[63&n]):2===r?(i+=tr[n>>10&63],i+=tr[n>>4&63],i+=tr[n<<2&63],i+=tr[64]):1===r&&(i+=tr[n>>2&63],i+=tr[n<<4&63],i+=tr[64],i+=tr[64]),i}function to(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,n.eW)(ti,"resolveYamlBinary"),(0,n.eW)(tn,"constructYamlBinary"),(0,n.eW)(ta,"representYamlBinary"),(0,n.eW)(to,"isBinary");var ts=new k("tag:yaml.org,2002:binary",{kind:"scalar",resolve:ti,construct:tn,predicate:to,represent:ta}),tl=Object.prototype.hasOwnProperty,th=Object.prototype.toString;function tc(t){if(null===t)return!0;var e,r,i,n,a,o=[];for(e=0,r=t.length;e>10)+55296,(t-65536&1023)+56320)}(0,n.eW)(tB,"_class"),(0,n.eW)(tL,"is_EOL"),(0,n.eW)(tA,"is_WHITE_SPACE"),(0,n.eW)(tF,"is_WS_OR_EOL"),(0,n.eW)(t$,"is_FLOW_INDICATOR"),(0,n.eW)(tW,"fromHexCode"),(0,n.eW)(tE,"escapedHexLen"),(0,n.eW)(tD,"fromDecimalCode"),(0,n.eW)(tO,"simpleEscapeSequence"),(0,n.eW)(tZ,"charFromCodepoint");var tN=Array(256),tI=Array(256);for(i=0;i<256;i++)tN[i]=tO(i)?1:0,tI[i]=tO(i);function tz(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||tC,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 tj(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=y(r),new f(e,r)}function tR(t,e){throw tj(t,e)}function tP(t,e){t.onWarning&&t.onWarning.call(null,tj(t,e))}(0,n.eW)(tz,"State$1"),(0,n.eW)(tj,"generateError"),(0,n.eW)(tR,"throwError"),(0,n.eW)(tP,"throwWarning");var tq={YAML:(0,n.eW)(function(t,e,r){var i,n,a;null!==t.version&&tR(t,"duplication of %YAML directive"),1!==r.length&&tR(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tR(t,"ill-formed argument of the YAML directive"),n=parseInt(i[1],10),a=parseInt(i[2],10),1!==n&&tR(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&tP(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,n.eW)(function(t,e,r){var i,n;2!==r.length&&tR(t,"TAG directive accepts exactly two arguments"),i=r[0],n=r[1],!tS.test(i)&&tR(t,"ill-formed tag handle (first argument) of the TAG directive"),tw.call(t.tagMap,i)&&tR(t,'there is a previously declared suffix for "'+i+'" tag handle'),!tM.test(n)&&tR(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){tR(t,"tag prefix is malformed: "+n)}t.tagMap[i]=n},"handleTagDirective")};function tH(t,e,r,i){var n,a,o,s;if(e1&&(t.result+=u.repeat("\n",e-1))}function tK(t,e,r){var i,n,a,o,s,l,h,c,u=t.kind,d=t.result;if(tF(c=t.input.charCodeAt(t.position))||t$(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(tF(i=t.input.charCodeAt(t.position+1))||r&&t$(i)))return!1;for(t.kind="scalar",t.result="",n=a=t.position,o=!1;0!==c;){if(58===c){if(tF(i=t.input.charCodeAt(t.position+1))||r&&t$(i))break}else if(35===c){if(tF(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&tX(t)||r&&t$(c))break;else if(tL(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,tG(t,!1,-1),t.lineIndent>=e){o=!0,c=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=l,t.lineIndent=h;break}o&&(tH(t,n,a,!1),tQ(t,t.line-s),n=a=t.position,o=!1),!tA(c)&&(a=t.position+1),c=t.input.charCodeAt(++t.position)}return tH(t,n,a,!1),!!t.result||(t.kind=u,t.result=d,!1)}function tJ(t,e){var r,i,n;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,i=n=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(tH(t,i,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;i=t.position,t.position++,n=t.position}else tL(r)?(tH(t,i,n,!0),tQ(t,tG(t,!1,e)),i=n=t.position):t.position===t.lineStart&&tX(t)?tR(t,"unexpected end of the document within a single quoted scalar"):(t.position++,n=t.position);tR(t,"unexpected end of the stream within a single quoted scalar")}function t0(t,e){var r,i,n,a,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return tH(t,r,t.position,!0),t.position++,!0;if(92===s){if(tH(t,r,t.position,!0),tL(s=t.input.charCodeAt(++t.position)))tG(t,!1,e);else if(s<256&&tN[s])t.result+=tI[s],t.position++;else if((o=tE(s))>0){for(n=o,a=0;n>0;n--)(o=tW(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:tR(t,"expected hexadecimal character");t.result+=tZ(a),t.position++}else tR(t,"unknown escape sequence");r=i=t.position}else tL(s)?(tH(t,r,i,!0),tQ(t,tG(t,!1,e)),r=i=t.position):t.position===t.lineStart&&tX(t)?tR(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}tR(t,"unexpected end of the stream within a double quoted scalar")}function t1(t,e){var r,i,n,a,o,s,l,h,c,u,d,f,p=!0,g=t.tag,y=t.anchor,m=Object.create(null);if(91===(f=t.input.charCodeAt(t.position)))o=93,h=!1,a=[];else{if(123!==f)return!1;o=125,h=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),f=t.input.charCodeAt(++t.position);0!==f;){if(tG(t,!0,e),(f=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=g,t.anchor=y,t.kind=h?"mapping":"sequence",t.result=a,!0;p?44===f&&tR(t,"expected the node content, but found ','"):tR(t,"missed comma between flow collection entries");u=c=d=null,s=l=!1,63===f&&tF(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,tG(t,!0,e)),r=t.line,i=t.lineStart,n=t.position,t9(t,e,1,!1,!0),u=t.tag,c=t.result,tG(t,!0,e),f=t.input.charCodeAt(t.position),(l||t.line===r)&&58===f&&(s=!0,f=t.input.charCodeAt(++t.position),tG(t,!0,e),t9(t,e,1,!1,!0),d=t.result),h?tY(t,a,m,u,c,d,r,i,n):s?a.push(tY(t,null,m,u,c,d,r,i,n)):a.push(c),tG(t,!0,e),44===(f=t.input.charCodeAt(t.position))?(p=!0,f=t.input.charCodeAt(++t.position)):p=!1}tR(t,"unexpected end of the stream within a flow collection")}function t2(t,e){var r,i,n,a,o=1,s=!1,l=!1,h=e,c=0,d=!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)1===o?o=43===a?3:2:tR(t,"repeat of a chomping mode identifier");else if((n=tD(a))>=0)0===n?tR(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?tR(t,"repeat of an indentation width identifier"):(h=e+n-1,l=!0);else break;if(tA(a)){do a=t.input.charCodeAt(++t.position);while(tA(a));if(35===a)do a=t.input.charCodeAt(++t.position);while(!tL(a)&&0!==a)}for(;0!==a;){for(tV(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!l||t.lineIndenth&&(h=t.lineIndent),tL(a)){c++;continue}if(t.lineIndente)&&0!==i)tR(t,"bad indentation of a sequence entry");else if(t.lineIndente)&&(m&&(o=t.line,s=t.lineStart,l=t.position),t9(t,e,4,!0,n)&&(m?g=t.result:y=t.result),!m&&(tY(t,d,f,p,g,y,o,s,l),p=g=y=null),tG(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==h)tR(t,"bad indentation of a mapping entry");else if(t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndent tag; it should be "scalar", not "'+t.kind+'"'),l=0,h=t.implicitTypes.length;l"),null!==t.result&&u.kind!==t.kind&&tR(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)):tR(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 t7(t){var e,r,i,n,a=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(n=t.input.charCodeAt(t.position))&&(tG(t,!0,-1),n=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===n);){;for(o=!0,n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!tF(n);)n=t.input.charCodeAt(++t.position);for(r=t.input.slice(e,t.position),i=[],r.length<1&&tR(t,"directive name must not be less than one character in length");0!==n;){for(;tA(n);)n=t.input.charCodeAt(++t.position);if(35===n){do n=t.input.charCodeAt(++t.position);while(0!==n&&!tL(n));break}if(tL(n))break;for(e=t.position;0!==n&&!tF(n);)n=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==n&&tV(t),tw.call(tq,r)?tq[r](t,r,i):tP(t,'unknown document directive "'+r+'"')}if(tG(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,tG(t,!0,-1)):o&&tR(t,"directives end mark is expected"),t9(t,t.lineIndent-1,4,!1,!0),tG(t,!0,-1),t.checkLineBreaks&&tv.test(t.input.slice(a,t.position))&&tP(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&tX(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,tG(t,!0,-1));return}if(!!(t.position=55296&&i<=56319&&e+1=56320&&r<=57343?(i-55296)*1024+r-56320+65536:i}function e_(t){return/^\n* /.test(t)}(0,n.eW)(ed,"State"),(0,n.eW)(ef,"indentString"),(0,n.eW)(ep,"generateNextLine"),(0,n.eW)(eg,"testImplicitResolving"),(0,n.eW)(ey,"isWhitespace"),(0,n.eW)(em,"isPrintable"),(0,n.eW)(ex,"isNsCharOrWhitespace"),(0,n.eW)(eb,"isPlainSafe"),(0,n.eW)(ek,"isPlainSafeFirst"),(0,n.eW)(eC,"isPlainSafeLast"),(0,n.eW)(ew,"codePointAt"),(0,n.eW)(e_,"needIndentIndicator");function ev(t,e,r,i,n,a,o,s){var l,h=0,c=null,u=!1,d=!1,f=-1!==i,p=-1,g=ek(ew(t,0))&&eC(ew(t,t.length-1));if(e||o)for(l=0;l=65536?l+=2:l++){if(!em(h=ew(t,l)))return 5;g=g&&eb(h,c,s),c=h}else{for(l=0;l=65536?l+=2:l++){if(10===(h=ew(t,l)))u=!0,f&&(d=d||l-p-1>i&&" "!==t[p+1],p=l);else if(!em(h))return 5;g=g&&eb(h,c,s),c=h}d=d||f&&l-p-1>i&&" "!==t[p+1]}if(!u&&!d)return!g||o||n(t)?2===a?5:2:1;return r>9&&e_(t)?5:o?2===a?5:2:d?4:3}function eT(t,e,r,i,a){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==el.indexOf(e)||eh.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),l=i||t.flowLevel>-1&&r>=t.flowLevel;function h(e){return eg(t,e)}switch((0,n.eW)(h,"testAmbiguity"),ev(e,l,t.indent,s,h,t.quotingType,t.forceQuotes&&!i,a)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+eS(e,t.indent)+eM(ef(e,o));case 4:return">"+eS(e,t.indent)+eM(ef(eB(e,s),o));case 5:return'"'+eA(e)+'"';default:throw new f("impossible error: invalid scalar style")}}()}function eS(t,e){var r=e_(t)?String(e):"",i="\n"===t[t.length-1],n=i&&("\n"===t[t.length-2]||"\n"===t);return r+(n?"+":i?"":"-")+"\n"}function eM(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function eB(t,e){var r,i,n,a=/(\n+)([^\n]*)/g;for(var o=(r=-1!==(r=t.indexOf("\n"))?r:t.length,a.lastIndex=r,eL(t.slice(0,r),e)),s="\n"===t[0]||" "===t[0];n=a.exec(t);){var l=n[1],h=n[2];i=" "===h[0],o+=l+(s||i||""===h?"":"\n")+eL(h,e),s=i}return o}function eL(t,e){if(""===t||" "===t[0])return t;for(var r=/ [^ ]/g,i,n,a=0,o=0,s=0,l="";i=r.exec(t);)(s=i.index)-a>e&&(n=o>a?o:s,l+="\n"+t.slice(a,n),a=n+1),o=s;return l+="\n",t.length-a>e&&o>a?l+=t.slice(a,o)+"\n"+t.slice(o+1):l+=t.slice(a),l.slice(1)}function eA(t){for(var e,r="",i=0,n=0;n=65536?n+=2:n++)!(e=es[i=ew(t,n)])&&em(i)?(r+=t[n],i>=65536&&(r+=t[n+1])):r+=e||eu(i);return r}function eF(t,e,r){var i,n,a,o="",s=t.tag;for(i=0,n=r.length;i1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),!!eO(t,e,o,!1,!1))s+=t.dump,l+=s}t.tag=h,t.dump="{"+l+"}"}function eE(t,e,r,i){var n,a,o,s,l,h,c="",u=t.tag,d=Object.keys(r);if(!0===t.sortKeys)d.sort();else if("function"==typeof t.sortKeys)d.sort(t.sortKeys);else if(t.sortKeys)throw new f("sortKeys must be a boolean or a function");for(n=0,a=d.length;n1024)&&(t.dump&&10===t.dump.charCodeAt(0)?h+="?":h+="? "),h+=t.dump,l&&(h+=ep(t,e)),!!eO(t,e+1,s,!0,l))t.dump&&10===t.dump.charCodeAt(0)?h+=":":h+=": ",h+=t.dump,c+=h}t.tag=u,t.dump=c||"{}"}function eD(t,e,r){var i,n,a,o,s,l;for(a=0,o=(n=r?t.explicitTypes:t.implicitTypes).length;a tag resolver accepts not "'+l+'" style');t.dump=i}return!0}return!1}function eO(t,e,r,i,n,a,o){t.tag=null,t.dump=r,!eD(t,r,!1)&&eD(t,r,!0);var s=ea.call(t.dump),l=i;i&&(i=t.flowLevel<0||t.flowLevel>e);var h,c,u,d="[object Object]"===s||"[object Array]"===s;if(d&&(u=-1!==(c=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||u||2!==t.indent&&e>0)&&(n=!1),u&&t.usedDuplicates[c])t.dump="*ref_"+c;else{if(d&&u&&!t.usedDuplicates[c]&&(t.usedDuplicates[c]=!0),"[object Object]"===s)i&&0!==Object.keys(t.dump).length?(eE(t,e,t.dump,n),u&&(t.dump="&ref_"+c+t.dump)):(eW(t,e,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object Array]"===s)i&&0!==t.dump.length?(t.noArrayIndent&&!o&&e>0?e$(t,e-1,t.dump,n):e$(t,e,t.dump,n),u&&(t.dump="&ref_"+c+t.dump)):(eF(t,e,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object String]"===s)"?"!==t.tag&&eT(t,t.dump,e,a,l);else{if("[object Undefined]"===s)return!1;if(t.skipInvalid)return!1;throw new f("unacceptable kind of an object to dump "+s)}null!==t.tag&&"?"!==t.tag&&(h=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),h="!"===t.tag[0]?"!"+h:"tag:yaml.org,2002:"===h.slice(0,18)?"!!"+h.slice(18):"!<"+h+">",t.dump=h+" "+t.dump)}return!0}function eZ(t,e){var r,i,n=[],a=[];for(eN(t,n,a),r=0,i=a.length;r{!e.state&&(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,a.bH.clear()},"init")}}}]); \ No newline at end of file diff --git a/assets/js/2425.880b3fa6.js b/assets/js/2425.880b3fa6.js new file mode 100644 index 0000000..baf6a76 --- /dev/null +++ b/assets/js/2425.880b3fa6.js @@ -0,0 +1,215 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2425"],{57169:function(t,e,s){s.d(e,{j:function(){return a},q:function(){return n}});var i=s(74146),r=s(27818),n=(0,i.eW)((t,e)=>{let s;return"sandbox"===e&&(s=(0,r.Ys)("#i"+t)),("sandbox"===e?(0,r.Ys)(s.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select(`[id="${t}"]`)},"getDiagramElement"),a=(0,i.eW)((t,e,s,r)=>{t.attr("class",s);let{width:n,height:a,x:c,y:h}=o(t,e);(0,i.v2)(t,a,n,r);let u=l(c,h,n,a,e);t.attr("viewBox",u),i.cM.debug(`viewBox configured: ${u} with padding: ${e}`)},"setupViewPortForSVG"),o=(0,i.eW)((t,e)=>{let s=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*e,height:s.height+2*e,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),l=(0,i.eW)((t,e,s,i,r)=>`${t-r} ${e-r} ${s} ${i}`,"createViewBox")},14050:function(t,e,s){s.d(e,{Ee:function(){return tY},J8:function(){return l},_$:function(){return R},bH:function(){return tB}});var i=s(57169),r=s(290),n=s(68394),a=s(74146),o=function(){var t=(0,a.eW)(function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},"o"),e=[1,2],s=[1,3],i=[1,4],r=[2,4],n=[1,9],o=[1,11],l=[1,16],c=[1,17],h=[1,18],u=[1,19],d=[1,32],p=[1,20],y=[1,21],f=[1,22],g=[1,23],S=[1,24],m=[1,26],_=[1,27],b=[1,28],T=[1,29],k=[1,30],E=[1,31],x=[1,34],$=[1,35],C=[1,36],D=[1,37],v=[1,33],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],A=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],I=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],W={trace:(0,a.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement: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,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"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:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:(0,a.eW)(function(t,e,s,i,r,n,a){var o=n.length-1;switch(r){case 3:return i.setRootDoc(n[o]),n[o];case 4:this.$=[];break;case 5:"nl"!=n[o]&&(n[o-1].push(n[o]),this.$=n[o-1]);break;case 6:case 7:case 12:this.$=n[o];break;case 8:this.$="nl";break;case 13:let l=n[o-1];l.description=i.trimColon(n[o]),this.$=l;break;case 14:this.$={stmt:"relation",state1:n[o-2],state2:n[o]};break;case 15:let c=i.trimColon(n[o]);this.$={stmt:"relation",state1:n[o-3],state2:n[o-1],description:c};break;case 19:this.$={stmt:"state",id:n[o-3],type:"default",description:"",doc:n[o-1]};break;case 20:var h=n[o],u=n[o-2].trim();if(n[o].match(":")){var d=n[o].split(":");h=d[0],u=[u,d[1]]}this.$={stmt:"state",id:h,type:"default",description:u};break;case 21:this.$={stmt:"state",id:n[o-3],type:"default",description:n[o-5],doc:n[o-1]};break;case 22:this.$={stmt:"state",id:n[o],type:"fork"};break;case 23:this.$={stmt:"state",id:n[o],type:"join"};break;case 24:this.$={stmt:"state",id:n[o],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:n[o-1].trim(),note:{position:n[o-2].trim(),text:n[o].trim()}};break;case 29:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 30:case 31:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:n[o-1].trim(),classes:n[o].trim()};break;case 34:this.$={stmt:"style",id:n[o-1].trim(),styleClass:n[o].trim()};break;case 35:this.$={stmt:"applyClass",id:n[o-1].trim(),styleClass:n[o].trim()};break;case 36:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:n[o].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:n[o-2].trim(),classes:[n[o].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:n[o-2].trim(),classes:[n[o].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:e,5:s,6:i},{1:[3]},{3:5,4:e,5:s,6:i},{3:6,4:e,5:s,6:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:l,17:c,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,7]),t(L,[2,8]),t(L,[2,9]),t(L,[2,10]),t(L,[2,11]),t(L,[2,12],{14:[1,39],15:[1,40]}),t(L,[2,16]),{18:[1,41]},t(L,[2,18],{20:[1,42]}),{23:[1,43]},t(L,[2,22]),t(L,[2,23]),t(L,[2,24]),t(L,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(L,[2,28]),{34:[1,48]},{36:[1,49]},t(L,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(A,[2,42],{55:[1,54]}),t(A,[2,43],{55:[1,55]}),t(L,[2,36]),t(L,[2,37]),t(L,[2,38]),t(L,[2,39]),t(L,[2,6]),t(L,[2,13]),{13:56,24:d,54:v},t(L,[2,17]),t(I,r,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(L,[2,29]),t(L,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(L,[2,14],{14:[1,67]}),{4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,21:[1,68],22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(L,[2,32]),t(L,[2,33]),t(L,[2,34]),t(L,[2,35]),t(A,[2,44]),t(A,[2,45]),t(L,[2,15]),t(L,[2,19]),t(I,r,{7:72}),t(L,[2,26]),t(L,[2,27]),{4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,21:[1,73],22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:(0,a.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var s=Error(t);throw s.hash=e,s}},"parseError"),parse:(0,a.eW)(function(t){var e=this,s=[0],i=[],r=[null],n=[],o=this.table,l="",c=0,h=0,u=0,d=n.slice.call(arguments,1),p=Object.create(this.lexer),y={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(y.yy[f]=this.yy[f]);p.setInput(t,y.yy),y.yy.lexer=p,y.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;n.push(g);var S=p.options&&p.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function m(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}(0,a.eW)(function(t){s.length=s.length-2*t,r.length=r.length-t,n.length=n.length-t},"popStack"),(0,a.eW)(m,"lex");for(var _,b,T,k,E,x,$,C,D,v={};;){if(T=s[s.length-1],this.defaultActions[T]?k=this.defaultActions[T]:(null==_&&(_=m()),k=o[T]&&o[T][_]),void 0===k||!k.length||!k[0]){var L="";for(x in D=[],o[T])this.terminals_[x]&&x>2&&D.push("'"+this.terminals_[x]+"'");L=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(L,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:g,expected:D})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+T+", token: "+_);switch(k[0]){case 1:s.push(_),r.push(p.yytext),n.push(p.yylloc),s.push(k[1]),_=null,b?(_=b,b=null):(h=p.yyleng,l=p.yytext,c=p.yylineno,g=p.yylloc,u>0&&u--);break;case 2:if($=this.productions_[k[1]][1],v.$=r[r.length-$],v._$={first_line:n[n.length-($||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-($||1)].first_column,last_column:n[n.length-1].last_column},S&&(v._$.range=[n[n.length-($||1)].range[0],n[n.length-1].range[1]]),void 0!==(E=this.performAction.apply(v,[l,h,c,y.yy,k[1],r,n].concat(d))))return E;$&&(s=s.slice(0,-1*$*2),r=r.slice(0,-1*$),n=n.slice(0,-1*$)),s.push(this.productions_[k[1]][0]),r.push(v.$),n.push(v._$),C=o[s[s.length-2]][s[s.length-1]],s.push(C);break;case 3:return!0}}return!0},"parse")},w={EOF:1,parseError:(0,a.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.eW)(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},"setInput"),input:(0,a.eW)(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},"input"),unput:(0,a.eW)(function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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),s.length-1&&(this.yylineno-=s.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:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[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},"unput"),more:(0,a.eW)(function(){return this._more=!0,this},"more"),reject:(0,a.eW)(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})},"reject"),less:(0,a.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.eW)(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,"")},"upcomingInput"),showPosition:(0,a.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.eW)(function(t,e){var s,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],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var n in r)this[n]=r[n];return!1},"test_match"),next:(0,a.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,s,i,r=this._currentRules(),n=0;ne[0].length)){if(e=s,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,r[n])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[i]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,a.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,a.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,a.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.eW)(function(t,e,s,i){switch(s){case 0:return 41;case 1:case 42:return 48;case 2:case 43:return 49;case 3:case 44:return 50;case 4:case 45:return 51;case 5:case 6:case 8:case 9:case 10:case 11:case 54:case 56:case 62:break;case 7:case 77:return 5;case 12:case 32:return this.pushState("SCALE"),17;case 13:case 33:return 18;case 14:case 20:case 34:case 49:case 52:this.popState();break;case 15:return this.begin("acc_title"),33;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),35;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),38;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),39;case 25:return this.popState(),40;case 26:return this.pushState("CLASS"),45;case 27:return this.popState(),this.pushState("CLASS_STYLE"),46;case 28:return this.popState(),47;case 29:return this.pushState("STYLE"),42;case 30:return this.popState(),this.pushState("STYLEDEF_STYLES"),43;case 31:return this.popState(),44;case 35:this.pushState("STATE");break;case 36:case 39:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 37:case 40:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 46:this.pushState("STATE_STRING");break;case 47:return this.pushState("STATE_ID"),"AS";case 48:case 64:return this.popState(),"ID";case 50:return"STATE_DESCR";case 51:return 19;case 53:return this.popState(),this.pushState("struct"),20;case 55:return this.popState(),21;case 57:return this.begin("NOTE"),29;case 58:return this.popState(),this.pushState("NOTE_ID"),56;case 59:return this.popState(),this.pushState("NOTE_ID"),57;case 60:this.popState(),this.pushState("FLOATING_NOTE");break;case 61:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 63:return"NOTE_TEXT";case 65:return this.popState(),this.pushState("NOTE_TEXT"),24;case 66:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 67:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 68:case 69:return 6;case 70:return 16;case 71:return 54;case 72:return 24;case 73:return e.yytext=e.yytext.trim(),14;case 74:return 15;case 75:return 28;case 76:return 55;case 78:return"INVALID"}},"anonymous"),rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\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,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,29,35,42,43,44,45,54,55,56,57,71,72,73,74,75],inclusive:!1},FLOATING_NOTE_ID:{rules:[64],inclusive:!1},FLOATING_NOTE:{rules:[61,62,63],inclusive:!1},NOTE_TEXT:{rules:[66,67],inclusive:!1},NOTE_ID:{rules:[65],inclusive:!1},NOTE:{rules:[58,59,60],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[31],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[30],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,33,34],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[48],inclusive:!1},STATE_STRING:{rules:[49,50],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,36,37,38,39,40,41,46,47,51,52,53],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,35,53,57,68,69,70,71,72,73,74,76,77,78],inclusive:!0}}};function O(){this.yy={}}return W.lexer=w,(0,a.eW)(O,"Parser"),O.prototype=W,W.Parser=O,new O}();o.parser=o;var l=o,c="TB",h="state",u="relation",d="default",p="divider",y="fill:none",f="fill: #333",g="text",S="normal",m="rect",_="rectWithTitle",b="divider",T="roundedWithTitle",k="statediagram",E=`${k}-state`,x="transition",$=`${x} note-edge`,C=`${k}-note`,D=`${k}-cluster`,v=`${k}-cluster-alt`,L="parent",A="note",I="----",W=`${I}${A}`,w=`${I}${L}`,O=(0,a.eW)((t,e=c)=>{if(!t.doc)return e;let s=e;for(let e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir"),N=(0,a.eW)(function(t,e){return e.db.extract(e.db.getRootDocV2()),e.db.getClasses()},"getClasses"),R={getClasses:N,draw:(0,a.eW)(async function(t,e,s,o){a.cM.info("REF0:"),a.cM.info("Drawing state diagram (v2)",e);let{securityLevel:l,state:c,layout:h}=(0,a.nV)();o.db.extract(o.db.getRootDocV2());let u=o.db.getData(),d=(0,i.q)(e,l);u.type=o.type,u.layoutAlgorithm=h,u.nodeSpacing=c?.nodeSpacing||50,u.rankSpacing=c?.rankSpacing||50,u.markers=["barb"],u.diagramId=e,await (0,r.sY)(u,d);n.w8.insertTitle(d,"statediagramTitleText",c?.titleTopMargin??25,o.db.getDiagramTitle()),(0,i.j)(d,8,k,c?.useMaxWidth??!0)},"draw"),getDir:O},B=new Map,Y=0;function F(t="",e=0,s="",i=I){let r=null!==s&&s.length>0?`${i}${s}`:"";return`state-${t}${r}-${e}`}(0,a.eW)(F,"stateDomId");var P=(0,a.eW)((t,e,s,i,r,n,o,l)=>{a.cM.trace("items",e),e.forEach(e=>{switch(e.stmt){case h:case d:z(t,e,s,i,r,n,o,l);break;case u:{z(t,e.state1,s,i,r,n,o,l),z(t,e.state2,s,i,r,n,o,l);let c={id:"edge"+Y,start:e.state1.id,end:e.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:y,labelStyle:"",label:a.SY.sanitizeText(e.description,(0,a.nV)()),arrowheadStyle:f,labelpos:"c",labelType:g,thickness:S,classes:x,look:o};r.push(c),Y++}}})},"setupDoc"),M=(0,a.eW)((t,e=c)=>{let s=e;if(t.doc)for(let e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir");function G(t,e,s){if(!e.id||""===e.id||""===e.id)return;e.cssClasses&&(!Array.isArray(e.cssCompiledStyles)&&(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(t=>{if(s.get(t)){let i=s.get(t);e.cssCompiledStyles=[...e.cssCompiledStyles,...i.styles]}}));let i=t.find(t=>t.id===e.id);i?Object.assign(i,e):t.push(e)}function j(t){return t?.classes?.join(" ")??""}function V(t){return t?.styles??[]}(0,a.eW)(G,"insertOrUpdateNode"),(0,a.eW)(j,"getClassesFromDbInfo"),(0,a.eW)(V,"getStylesFromDbInfo");var z=(0,a.eW)((t,e,s,i,r,n,o,l)=>{let c=e.id,h=s.get(c),u=j(h),k=V(h);if(a.cM.info("dataFetcher parsedItem",e,h,k),"root"!==c){let s=m;!0===e.start?s="stateStart":!1===e.start&&(s="stateEnd"),e.type!==d&&(s=e.type),!B.get(c)&&B.set(c,{id:c,shape:s,description:a.SY.sanitizeText(c,(0,a.nV)()),cssClasses:`${u} ${E}`,cssStyles:k});let h=B.get(c);e.description&&(Array.isArray(h.description)?(h.shape=_,h.description.push(e.description)):h.description?.length>0?(h.shape=_,h.description===c?h.description=[e.description]:h.description=[h.description,e.description]):(h.shape=m,h.description=e.description),h.description=a.SY.sanitizeTextOrArray(h.description,(0,a.nV)())),h.description?.length===1&&h.shape===_&&("group"===h.type?h.shape=T:h.shape=m),!h.type&&e.doc&&(a.cM.info("Setting cluster for XCX",c,M(e)),h.type="group",h.isGroup=!0,h.dir=M(e),h.shape=e.type===p?b:T,h.cssClasses=`${h.cssClasses} ${D} ${n?v:""}`);let x={labelStyle:"",shape:h.shape,label:h.description,cssClasses:h.cssClasses,cssCompiledStyles:[],cssStyles:h.cssStyles,id:c,dir:h.dir,domId:F(c,Y),type:h.type,isGroup:"group"===h.type,padding:8,rx:10,ry:10,look:o};if(x.shape===b&&(x.label=""),t&&"root"!==t.id&&(a.cM.trace("Setting node ",c," to be child of its parent ",t.id),x.parentId=t.id),x.centerLabel=!0,e.note){let t={labelStyle:"",shape:"note",label:e.note.text,cssClasses:C,cssStyles:[],cssCompilesStyles:[],id:c+W+"-"+Y,domId:F(c,Y,A),type:h.type,isGroup:"group"===h.type,padding:(0,a.nV)().flowchart.padding,look:o,position:e.note.position},s=c+w,n={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:h.cssClasses,cssStyles:[],id:c+w,domId:F(c,Y,L),type:"group",isGroup:!0,padding:16,look:o,position:e.note.position};Y++,n.id=s,t.parentId=s,G(i,n,l),G(i,t,l),G(i,x,l);let u=c,d=t.id;"left of"===e.note.position&&(u=t.id,d=c),r.push({id:u+"-"+d,start:u,end:d,arrowhead:"none",arrowTypeEnd:"",style:y,labelStyle:"",classes:$,arrowheadStyle:f,labelpos:"c",labelType:g,thickness:S,look:o})}else G(i,x,l)}e.doc&&(a.cM.trace("Adding nodes children "),P(e,e.doc,s,i,r,!n,o,l))},"dataFetcher"),U=(0,a.eW)(()=>{B.clear(),Y=0},"reset"),H="start",X="color",J="fill";function K(){return new Map}(0,a.eW)(K,"newClassesList");var q=[],Z=[],Q="LR",tt=[],te=K(),ts=(0,a.eW)(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),ti={root:ts()},tr=ti.root,tn=0,ta=0,to=(0,a.eW)(t=>JSON.parse(JSON.stringify(t)),"clone"),tl=(0,a.eW)(t=>{a.cM.info("Setting root doc",t),tt=t},"setRootDoc"),tc=(0,a.eW)(()=>tt,"getRootDoc"),th=(0,a.eW)((t,e,s)=>{if(e.stmt===u)th(t,e.state1,!0),th(t,e.state2,!1);else if(e.stmt===h&&("[*]"===e.id?(e.id=s?t.id+"_start":t.id+"_end",e.start=s):e.id=e.id.trim()),e.doc){let t;let s=[],i=[];for(t=0;t0&&i.length>0){let t={stmt:h,id:(0,n.Ox)(),type:"divider",doc:to(i)};s.push(to(t)),e.doc=s}e.doc.forEach(t=>th(e,t,!0))}},"docTranslator"),tu=(0,a.eW)(()=>(th({id:"root"},{id:"root",doc:tt},!0),{id:"root",doc:tt}),"getRootDocV2"),td=(0,a.eW)(t=>{let e;e=t.doc?t.doc:t,a.cM.info(e),ty(!0),a.cM.info("Extract initial document:",e),e.forEach(t=>{switch(a.cM.warn("Statement",t.stmt),t.stmt){case h:tp(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case u:tx(t.state1,t.state2,t.description);break;case"classDef":tv(t.id.trim(),t.classes);break;case"style":{let e=t.id.trim().split(","),s=t.styleClass.split(",");e.forEach(t=>{let e=tf(t);if(void 0===e){let s=t.trim();tp(s),e=tf(s)}e.styles=s.map(t=>t.replace(/;/g,"")?.trim())})}break;case"applyClass":tA(t.id.trim(),t.styleClass)}});let s=tg(),i=(0,a.nV)().look;U(),z(void 0,tu(),s,q,Z,!0,i,te),q.forEach(t=>{if(Array.isArray(t.label)){if(t.description=t.label.slice(1),t.isGroup&&t.description.length>0)throw Error("Group nodes can only have label. Remove the additional description for node ["+t.id+"]");t.label=t.label[0]}})},"extract"),tp=(0,a.eW)(function(t,e=d,s=null,i=null,r=null,n=null,o=null,l=null){let c=t?.trim();if(tr.states.has(c)?(!tr.states.get(c).doc&&(tr.states.get(c).doc=s),!tr.states.get(c).type&&(tr.states.get(c).type=e)):(a.cM.info("Adding state ",c,i),tr.states.set(c,{id:c,descriptions:[],type:e,doc:s,note:r,classes:[],styles:[],textStyles:[]})),i&&(a.cM.info("Setting state description",c,i),"string"==typeof i&&t$(c,i.trim()),"object"==typeof i&&i.forEach(t=>t$(c,t.trim()))),r){let t=tr.states.get(c);t.note=r,t.note.text=a.SY.sanitizeText(t.note.text,(0,a.nV)())}if(n&&(a.cM.info("Setting state classes",c,n),("string"==typeof n?[n]:n).forEach(t=>tA(c,t.trim()))),o&&(a.cM.info("Setting state styles",c,o),("string"==typeof o?[o]:o).forEach(t=>tI(c,t.trim()))),l){a.cM.info("Setting state styles",c,o);("string"==typeof l?[l]:l).forEach(t=>tW(c,t.trim()))}},"addState"),ty=(0,a.eW)(function(t){q=[],Z=[],tr=(ti={root:ts()}).root,tn=0,te=K(),!t&&(0,a.ZH)()},"clear"),tf=(0,a.eW)(function(t){return tr.states.get(t)},"getState"),tg=(0,a.eW)(function(){return tr.states},"getStates"),tS=(0,a.eW)(function(){a.cM.info("Documents = ",ti)},"logDocuments"),tm=(0,a.eW)(function(){return tr.relations},"getRelations");function t_(t=""){let e=t;return"[*]"===t&&(tn++,e=`${H}${tn}`),e}function tb(t="",e=d){return"[*]"===t?H:e}function tT(t=""){let e=t;return"[*]"===t&&(tn++,e=`end${tn}`),e}function tk(t="",e=d){return"[*]"===t?"end":e}function tE(t,e,s){let i=t_(t.id.trim()),r=tb(t.id.trim(),t.type),n=t_(e.id.trim()),o=tb(e.id.trim(),e.type);tp(i,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),tp(n,o,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),tr.relations.push({id1:i,id2:n,relationTitle:a.SY.sanitizeText(s,(0,a.nV)())})}(0,a.eW)(t_,"startIdIfNeeded"),(0,a.eW)(tb,"startTypeIfNeeded"),(0,a.eW)(tT,"endIdIfNeeded"),(0,a.eW)(tk,"endTypeIfNeeded"),(0,a.eW)(tE,"addRelationObjs");var tx=(0,a.eW)(function(t,e,s){if("object"==typeof t)tE(t,e,s);else{let i=t_(t.trim()),r=tb(t),n=tT(e.trim()),o=tk(e);tp(i,r),tp(n,o),tr.relations.push({id1:i,id2:n,title:a.SY.sanitizeText(s,(0,a.nV)())})}},"addRelation"),t$=(0,a.eW)(function(t,e){let s=tr.states.get(t),i=e.startsWith(":")?e.replace(":","").trim():e;s.descriptions.push(a.SY.sanitizeText(i,(0,a.nV)()))},"addDescription"),tC=(0,a.eW)(function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},"cleanupLabel"),tD=(0,a.eW)(()=>"divider-id-"+ ++ta,"getDividerId"),tv=(0,a.eW)(function(t,e=""){!te.has(t)&&te.set(t,{id:t,styles:[],textStyles:[]});let s=te.get(t);null!=e&&e.split(",").forEach(t=>{let e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(X).exec(t)){let t=e.replace(J,"bgFill").replace(X,J);s.textStyles.push(t)}s.styles.push(e)})},"addStyleClass"),tL=(0,a.eW)(function(){return te},"getClasses"),tA=(0,a.eW)(function(t,e){t.split(",").forEach(function(t){let s=tf(t);if(void 0===s){let e=t.trim();tp(e),s=tf(e)}s.classes.push(e)})},"setCssClass"),tI=(0,a.eW)(function(t,e){let s=tf(t);void 0!==s&&s.styles.push(e)},"setStyle"),tW=(0,a.eW)(function(t,e){let s=tf(t);void 0!==s&&s.textStyles.push(e)},"setTextStyle"),tw=(0,a.eW)(()=>Q,"getDirection"),tO=(0,a.eW)(t=>{Q=t},"setDirection"),tN=(0,a.eW)(t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),"trimColon"),tR=(0,a.eW)(()=>{let t=(0,a.nV)();return{nodes:q,edges:Z,other:{},config:t,direction:O(tu())}},"getData"),tB={getConfig:(0,a.eW)(()=>(0,a.nV)().state,"getConfig"),getData:tR,addState:tp,clear:ty,getState:tf,getStates:tg,getRelations:tm,getClasses:tL,getDirection:tw,addRelation:tx,getDividerId:tD,setDirection:tO,cleanupLabel:tC,lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:tS,getRootDoc:tc,setRootDoc:tl,getRootDocV2:tu,extract:td,trimColon:tN,getAccTitle:a.eu,setAccTitle:a.GN,getAccDescription:a.Mx,setAccDescription:a.U$,addStyleClass:tv,setCssClass:tA,addDescription:t$,setDiagramTitle:a.g2,getDiagramTitle:a.Kr},tY=(0,a.eW)(t=>` +defs #statediagram-barbEnd { + fill: ${t.transitionColor}; + stroke: ${t.transitionColor}; + } +g.stateGroup text { + fill: ${t.nodeBorder}; + stroke: none; + font-size: 10px; +} +g.stateGroup text { + fill: ${t.textColor}; + stroke: none; + font-size: 10px; + +} +g.stateGroup .state-title { + font-weight: bolder; + fill: ${t.stateLabelColor}; +} + +g.stateGroup rect { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; +} + +g.stateGroup line { + stroke: ${t.lineColor}; + stroke-width: 1; +} + +.transition { + stroke: ${t.transitionColor}; + stroke-width: 1; + fill: none; +} + +.stateGroup .composit { + fill: ${t.background}; + border-bottom: 1px +} + +.stateGroup .alt-composit { + fill: #e0e0e0; + border-bottom: 1px +} + +.state-note { + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; + + text { + fill: ${t.noteTextColor}; + stroke: none; + font-size: 10px; + } +} + +.stateLabel .box { + stroke: none; + stroke-width: 0; + fill: ${t.mainBkg}; + opacity: 0.5; +} + +.edgeLabel .label rect { + fill: ${t.labelBackgroundColor}; + opacity: 0.5; +} +.edgeLabel { + background-color: ${t.edgeLabelBackground}; + p { + background-color: ${t.edgeLabelBackground}; + } + rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; +} +.edgeLabel .label text { + fill: ${t.transitionLabelColor||t.tertiaryTextColor}; +} +.label div .edgeLabel { + color: ${t.transitionLabelColor||t.tertiaryTextColor}; +} + +.stateLabel text { + fill: ${t.stateLabelColor}; + font-size: 10px; + font-weight: bold; +} + +.node circle.state-start { + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; +} + +.node .fork-join { + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; +} + +.node circle.state-end { + fill: ${t.innerEndBackground}; + stroke: ${t.background}; + stroke-width: 1.5 +} +.end-state-inner { + fill: ${t.compositeBackground||t.background}; + // stroke: ${t.background}; + stroke-width: 1.5 +} + +.node rect { + fill: ${t.stateBkg||t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: 1px; +} +.node polygon { + fill: ${t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder};; + stroke-width: 1px; +} +#statediagram-barbEnd { + fill: ${t.lineColor}; +} + +.statediagram-cluster rect { + fill: ${t.compositeTitleBackground}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: 1px; +} + +.cluster-label, .nodeLabel { + color: ${t.stateLabelColor}; + // line-height: 1; +} + +.statediagram-cluster rect.outer { + rx: 5px; + ry: 5px; +} +.statediagram-state .divider { + stroke: ${t.stateBorder||t.nodeBorder}; +} + +.statediagram-state .title-state { + rx: 5px; + ry: 5px; +} +.statediagram-cluster.statediagram-cluster .inner { + fill: ${t.compositeBackground||t.background}; +} +.statediagram-cluster.statediagram-cluster-alt .inner { + fill: ${t.altBackground?t.altBackground:"#efefef"}; +} + +.statediagram-cluster .inner { + rx:0; + ry:0; +} + +.statediagram-state rect.basic { + rx: 5px; + ry: 5px; +} +.statediagram-state rect.divider { + stroke-dasharray: 10,10; + fill: ${t.altBackground?t.altBackground:"#efefef"}; +} + +.note-edge { + stroke-dasharray: 5; +} + +.statediagram-note rect { + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; + stroke-width: 1px; + rx: 0; + ry: 0; +} +.statediagram-note rect { + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; + stroke-width: 1px; + rx: 0; + ry: 0; +} + +.statediagram-note text { + fill: ${t.noteTextColor}; +} + +.statediagram-note .nodeLabel { + color: ${t.noteTextColor}; +} +.statediagram .edgeLabel { + color: red; // ${t.noteTextColor}; +} + +#dependencyStart, #dependencyEnd { + fill: ${t.lineColor}; + stroke: ${t.lineColor}; + stroke-width: 1; +} + +.statediagramTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; +} +`,"getStyles")}}]); \ No newline at end of file diff --git a/assets/js/2578.8352a344.js b/assets/js/2578.8352a344.js new file mode 100644 index 0000000..7aaddbf --- /dev/null +++ b/assets/js/2578.8352a344.js @@ -0,0 +1,24 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2578"],{18010:function(t,e,a){function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}a.d(e,{A:function(){return r}}),(0,a(74146).eW)(r,"populateCommonDb")},78088:function(t,e,a){a.d(e,{diagram:function(){return C}});var r=a(18010),l=a(68394),o=a(89356),i=a(74146),c=a(3194),n={packet:[]},s=structuredClone(n),d=i.vZ.packet,k=(0,i.eW)(()=>{let t=(0,l.Rb)({...d,...(0,i.iE)().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),p=(0,i.eW)(()=>s.packet,"getPacket"),b={pushWord:(0,i.eW)(t=>{t.length>0&&s.packet.push(t)},"pushWord"),getPacket:p,getConfig:k,clear:(0,i.eW)(()=>{(0,i.ZH)(),s=structuredClone(n)},"clear"),setAccTitle:i.GN,getAccTitle:i.eu,setDiagramTitle:i.g2,getDiagramTitle:i.Kr,getAccDescription:i.Mx,setAccDescription:i.U$},u=(0,i.eW)(t=>{(0,r.A)(t,b);let e=-1,a=[],l=1,{bitsPerRow:o}=b.getConfig();for(let{start:r,end:c,label:n}of t.blocks){if(c&&c{if(void 0===t.end&&(t.end=t.start),t.start>t.end)throw Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*a?[t,void 0]:[{start:t.start,end:e*a-1,label:t.label},{start:e*a,end:t.end,label:t.label}]},"getNextFittingBlock"),g={parse:(0,i.eW)(async t=>{let e=await (0,c.Qc)("packet",t);i.cM.debug(e),u(e)},"parse")},h=(0,i.eW)((t,e,a,r)=>{let l=r.db,c=l.getConfig(),{rowHeight:n,paddingY:s,bitWidth:d,bitsPerRow:k}=c,p=l.getPacket(),b=l.getDiagramTitle(),u=n+s,f=u*(p.length+1)-(b?0:n),g=d*k+2,h=(0,o.P)(e);for(let[t,e]of(h.attr("viewbox",`0 0 ${g} ${f}`),(0,i.v2)(h,f,g,c.useMaxWidth),p.entries()))x(h,e,t,c);h.append("text").text(b).attr("x",g/2).attr("y",f-u/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),x=(0,i.eW)((t,e,a,{rowHeight:r,paddingX:l,paddingY:o,bitWidth:i,bitsPerRow:c,showBits:n})=>{let s=t.append("g"),d=a*(r+o)+o;for(let t of e){let e=t.start%c*i+1,a=(t.end-t.start+1)*i-l;if(s.append("rect").attr("x",e).attr("y",d).attr("width",a).attr("height",r).attr("class","packetBlock"),s.append("text").attr("x",e+a/2).attr("y",d+r/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(t.label),!n)continue;let o=t.end===t.start,k=d-2;s.append("text").attr("x",e+(o?a/2:0)).attr("y",k).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",o?"middle":"start").text(t.start),!o&&s.append("text").attr("x",e+a).attr("y",k).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(t.end)}},"drawWord"),$={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},C={parser:g,db:b,renderer:{draw:h},styles:(0,i.eW)(({packet:t}={})=>{let e=(0,l.Rb)($,t);return` + .packetByte { + font-size: ${e.byteFontSize}; + } + .packetByte.start { + fill: ${e.startByteColor}; + } + .packetByte.end { + fill: ${e.endByteColor}; + } + .packetLabel { + fill: ${e.labelColor}; + font-size: ${e.labelFontSize}; + } + .packetTitle { + fill: ${e.titleColor}; + font-size: ${e.titleFontSize}; + } + .packetBlock { + stroke: ${e.blockStrokeColor}; + stroke-width: ${e.blockStrokeWidth}; + fill: ${e.blockFillColor}; + } + `},"styles")}}}]); \ No newline at end of file diff --git a/assets/js/2594.2c07c797.js b/assets/js/2594.2c07c797.js new file mode 100644 index 0000000..be5df1e --- /dev/null +++ b/assets/js/2594.2c07c797.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2594"],{96607:function(t,e,n){n.d(e,{diagram:()=>H});var i=n("74146"),r=n("27818");function s(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}function o(t){return t.target.depth}function l(t,e){return t.sourceLinks.length?t.depth:e-1}function h(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let i=-1;for(let r of t)(r=+e(r,++i,t))&&(n+=r)}return n}function a(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n=r)&&(n=r)}return n}function c(t){return function(){return t}}function u(t,e){return y(t.source,e.source)||t.index-e.index}function f(t,e){return y(t.target,e.target)||t.index-e.index}function y(t,e){return t.y0-e.y0}function p(t){return t.value}function d(t){return t.index}function g(t){return t.nodes}function _(t){return t.links}function x(t,e){let n=t.get(e);if(!n)throw Error("missing: "+e);return n}function m({nodes:t}){for(let e of t){let t=e.y0,n=t;for(let n of e.sourceLinks)n.y0=t+n.width/2,t+=n.width;for(let t of e.targetLinks)t.y1=n+t.width/2,n+=t.width}}var k=Math.PI,v=2*k,b=v-1e-6;function S(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function w(){return new S}S.prototype=w.prototype={constructor:S,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,s){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+s)},arcTo:function(t,e,n,i,r){t=+t,e=+e,n=+n,i=+i,r=+r;var s=this._x1,o=this._y1,l=n-t,h=i-e,a=s-t,c=o-e,u=a*a+c*c;if(r<0)throw Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(u>1e-6){if(Math.abs(c*l-h*a)>1e-6&&r){var f=n-s,y=i-o,p=l*l+h*h,d=Math.sqrt(p),g=Math.sqrt(u),_=r*Math.tan((k-Math.acos((p+u-(f*f+y*y))/(2*d*g)))/2),x=_/g,m=_/d;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*a)+","+(e+x*c)),this._+="A"+r+","+r+",0,0,"+ +(c*f>a*y)+","+(this._x1=t+m*l)+","+(this._y1=e+m*h)}else this._+="L"+(this._x1=t)+","+(this._y1=e)}else;},arc:function(t,e,n,i,r,s){t=+t,e=+e,n=+n,s=!!s;var o=n*Math.cos(i),l=n*Math.sin(i),h=t+o,a=e+l,c=1^s,u=s?i-r:r-i;if(n<0)throw Error("negative radius: "+n);null===this._x1?this._+="M"+h+","+a:(Math.abs(this._x1-h)>1e-6||Math.abs(this._y1-a)>1e-6)&&(this._+="L"+h+","+a),n&&(u<0&&(u=u%v+v),u>b?this._+="A"+n+","+n+",0,1,"+c+","+(t-o)+","+(e-l)+"A"+n+","+n+",0,1,"+c+","+(this._x1=h)+","+(this._y1=a):u>1e-6&&(this._+="A"+n+","+n+",0,"+ +(u>=k)+","+c+","+(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 E=Array.prototype.slice;function W(t){return function(){return t}}function A(t){return t[0]}function L(t){return t[1]}function M(t){return t.source}function I(t){return t.target}function T(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e=(e+i)/2,n,e,r,i,r)}function P(t){return[t.source.x1,t.y0]}function C(t){return[t.target.x0,t.y1]}var N=function(){var t=(0,i.eW)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[1,9],n=[1,10],r=[1,5,10,12],s={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:(0,i.eW)(function(t,e,n,i,r,s,o){var l=s.length-1;switch(r){case 7:let h=i.findOrCreateNode(s[l-4].trim().replaceAll('""','"')),a=i.findOrCreateNode(s[l-2].trim().replaceAll('""','"')),c=parseFloat(s[l].trim());i.addLink(h,a,c);break;case 8:case 9:case 11:this.$=s[l];break;case 10:this.$=s[l-1]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:n},{1:[2,6],7:11,10:[1,12]},t(n,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(r,[2,8]),t(r,[2,9]),{19:[1,16]},t(r,[2,11]),{1:[2,1]},{1:[2,5]},t(n,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:n},{15:18,16:7,17:8,18:e,20:n},{18:[1,19]},t(n,[2,3]),{12:[1,20]},t(r,[2,10]),{15:21,16:7,17:8,18:e,20:n},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:(0,i.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,i.eW)(function(t){var e=this,n=[0],r=[],s=[null],o=[],l=this.table,h="",a=0,c=0,u=0,f=o.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(p.yy[d]=this.yy[d]);y.setInput(t,p.yy),p.yy.lexer=y,p.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;o.push(g);var _=y.options&&y.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(){var t;return"number"!=typeof(t=r.pop()||y.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,i.eW)(function(t){n.length=n.length-2*t,s.length=s.length-t,o.length=o.length-t},"popStack"),(0,i.eW)(x,"lex");for(var m,k,v,b,S,w,E,W,A,L={};;){if(v=n[n.length-1],this.defaultActions[v]?b=this.defaultActions[v]:(null==m&&(m=x()),b=l[v]&&l[v][m]),void 0===b||!b.length||!b[0]){var M="";for(w in A=[],l[v])this.terminals_[w]&&w>2&&A.push("'"+this.terminals_[w]+"'");M=y.showPosition?"Parse error on line "+(a+1)+":\n"+y.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(M,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:g,expected:A})}if(b[0]instanceof Array&&b.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(b[0]){case 1:n.push(m),s.push(y.yytext),o.push(y.yylloc),n.push(b[1]),m=null,k?(m=k,k=null):(c=y.yyleng,h=y.yytext,a=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(E=this.productions_[b[1]][1],L.$=s[s.length-E],L._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},_&&(L._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),void 0!==(S=this.performAction.apply(L,[h,c,a,p.yy,b[1],s,o].concat(f))))return S;E&&(n=n.slice(0,-1*E*2),s=s.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[b[1]][0]),s.push(L.$),o.push(L._$),W=l[n[n.length-2]][n[n.length-1]],n.push(W);break;case 3:return!0}}return!0},"parse")},o={EOF:1,parseError:(0,i.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,i.eW)(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},"setInput"),input:(0,i.eW)(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},"input"),unput:(0,i.eW)(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},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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})},"reject"),less:(0,i.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,i.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.eW)(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,"")},"upcomingInput"),showPosition:(0,i.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,i.eW)(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 s in r)this[s]=r[s];return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,n,i,r=this._currentRules(),s=0;se[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[i]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,i.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,i.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(t,e,n,i){switch(n){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};function l(){this.yy={}}return s.lexer=o,(0,i.eW)(l,"Parser"),l.prototype=s,s.Parser=l,new l}();N.parser=N;var O=[],$=[],D=new Map,j=(0,i.eW)(()=>{O=[],$=[],D=new Map,(0,i.ZH)()},"clear"),z=class{constructor(t,e,n=0){this.source=t,this.target=e,this.value=n}static{(0,i.eW)(this,"SankeyLink")}},F=(0,i.eW)((t,e,n)=>{O.push(new z(t,e,n))},"addLink"),U=class{constructor(t){this.ID=t}static{(0,i.eW)(this,"SankeyNode")}},Y=(0,i.eW)(t=>{t=i.SY.sanitizeText(t,(0,i.nV)());let e=D.get(t);return void 0===e&&(e=new U(t),D.set(t,e),$.push(e)),e},"findOrCreateNode"),V=(0,i.eW)(()=>$,"getNodes"),G=(0,i.eW)(()=>O,"getLinks"),K=(0,i.eW)(()=>({nodes:$.map(t=>({id:t.ID})),links:O.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),X={nodesMap:D,getConfig:(0,i.eW)(()=>(0,i.nV)().sankey,"getConfig"),getNodes:V,getLinks:G,getGraph:K,addLink:F,findOrCreateNode:Y,getAccTitle:i.eu,setAccTitle:i.GN,getAccDescription:i.Mx,setAccDescription:i.U$,getDiagramTitle:i.Kr,setDiagramTitle:i.g2,clear:j},q=class t{static{(0,i.eW)(this,"Uid")}static{this.count=0}static next(e){return new t(e+ ++t.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}},Q={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?s(t.sourceLinks,o)-1:0},justify:l},R=(0,i.eW)(function(t,e,n,o){let k,v;let{securityLevel:b,sankey:S}=(0,i.nV)(),N=i.Fy.sankey;"sandbox"===b&&(k=(0,r.Ys)("#i"+e));let O="sandbox"===b?(0,r.Ys)(k.nodes()[0].contentDocument.body):(0,r.Ys)("body"),$="sandbox"===b?O.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`),D=S?.width??N.width,j=S?.height??N.width,z=S?.useMaxWidth??N.useMaxWidth,F=S?.nodeAlignment??N.nodeAlignment,U=S?.prefix??N.prefix,Y=S?.suffix??N.suffix,V=S?.showValues??N.showValues,G=o.db.getGraph(),K=Q[F];(function(){let t,e,n=0,i=0,r=1,o=1,k=24,v=8,b,S=d,w=l,E=g,W=_,A=6;function L(){let l={nodes:E.apply(null,arguments),links:W.apply(null,arguments)};return function({nodes:t,links:n}){for(let[e,n]of t.entries())n.index=e,n.sourceLinks=[],n.targetLinks=[];let i=new Map(t.map((e,n)=>[S(e,n,t),e]));for(let[t,e]of n.entries()){e.index=t;let{source:n,target:r}=e;"object"!=typeof n&&(n=e.source=x(i,n)),"object"!=typeof r&&(r=e.target=x(i,r)),n.sourceLinks.push(e),r.targetLinks.push(e)}if(null!=e)for(let{sourceLinks:n,targetLinks:i}of t)n.sort(e),i.sort(e)}(l),function({nodes:t}){for(let e of t)e.value=void 0===e.fixedValue?Math.max(h(e.sourceLinks,p),h(e.targetLinks,p)):e.fixedValue}(l),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{target:e}of(t.depth=r,t.sourceLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(l),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{source:e}of(t.height=r,t.targetLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(l),function(l){let c=function({nodes:e}){let i=a(e,t=>t.depth)+1,s=(r-n-k)/(i-1),o=Array(i);for(let t of e){let e=Math.max(0,Math.min(i-1,Math.floor(w.call(null,t,i))));t.layer=e,t.x0=n+e*s,t.x1=t.x0+k,o[e]?o[e].push(t):o[e]=[t]}if(t)for(let e of o)e.sort(t);return o}(l);b=Math.min(v,(o-i)/(a(c,t=>t.length)-1)),!function(t){let n=s(t,t=>(o-i-(t.length-1)*b)/h(t,p));for(let r of t){let t=i;for(let e of r)for(let i of(e.y0=t,e.y1=t+e.value*n,t=e.y1+b,e.sourceLinks))i.width=i.value*n;t=(o-t+b)/(r.length+1);for(let e=0;e=0;--s){let r=e[s];for(let t of r){let e=0,i=0;for(let{target:n,value:r}of t.sourceLinks){let s=r*(n.layer-t.layer);e+=function(t,e){let n=e.y0-(e.targetLinks.length-1)*b/2;for(let{source:i,width:r}of e.targetLinks){if(i===t)break;n+=r+b}for(let{target:i,width:r}of t.sourceLinks){if(i===e)break;n-=r}return n}(t,n)*s,i+=s}if(!(i>0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,P(t)}void 0===t&&r.sort(y),M(r,i)}})(c,n,i),function(e,n,i){for(let r=1,s=e.length;r0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,P(t)}void 0===t&&s.sort(y),M(s,i)}}(c,n,i)}}(l),m(l),l}L.update=function(t){return m(t),t},L.nodeId=function(t){return arguments.length?(S="function"==typeof t?t:c(t),L):S},L.nodeAlign=function(t){return arguments.length?(w="function"==typeof t?t:c(t),L):w},L.nodeSort=function(e){return arguments.length?(t=e,L):t},L.nodeWidth=function(t){return arguments.length?(k=+t,L):k},L.nodePadding=function(t){return arguments.length?(v=b=+t,L):v},L.nodes=function(t){return arguments.length?(E="function"==typeof t?t:c(t),L):E},L.links=function(t){return arguments.length?(W="function"==typeof t?t:c(t),L):W},L.linkSort=function(t){return arguments.length?(e=t,L):e},L.size=function(t){return arguments.length?(n=i=0,r=+t[0],o=+t[1],L):[r-n,o-i]},L.extent=function(t){return arguments.length?(n=+t[0][0],r=+t[1][0],i=+t[0][1],o=+t[1][1],L):[[n,i],[r,o]]},L.iterations=function(t){return arguments.length?(A=+t,L):A};function M(t,e){let n=t.length>>1,r=t[n];T(t,r.y0-b,n-1,e),I(t,r.y1+b,n+1,e),T(t,o,t.length-1,e),I(t,i,0,e)}function I(t,e,n,i){for(;n1e-6&&(r.y0+=s,r.y1+=s),e=r.y1+b}}function T(t,e,n,i){for(;n>=0;--n){let r=t[n],s=(r.y1-e)*i;s>1e-6&&(r.y0-=s,r.y1-=s),e=r.y0-b}}function P({sourceLinks:t,targetLinks:n}){if(void 0===e){for(let{source:{sourceLinks:t}}of n)t.sort(f);for(let{target:{targetLinks:e}}of t)e.sort(u)}}return L})().nodeId(t=>t.id).nodeWidth(10).nodePadding(10+(V?15:0)).nodeAlign(K).extent([[0,0],[D,j]])(G);let X=(0,r.PKp)(r.K2I);$.append("g").attr("class","nodes").selectAll(".node").data(G.nodes).join("g").attr("class","node").attr("id",t=>(t.uid=q.next("node-")).id).attr("transform",function(t){return"translate("+t.x0+","+t.y0+")"}).attr("x",t=>t.x0).attr("y",t=>t.y0).append("rect").attr("height",t=>t.y1-t.y0).attr("width",t=>t.x1-t.x0).attr("fill",t=>X(t.id));let R=(0,i.eW)(({id:t,value:e})=>V?`${t} +${U}${Math.round(100*e)/100}${Y}`:t,"getText");$.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(G.nodes).join("text").attr("x",t=>t.x0(t.y1+t.y0)/2).attr("dy",`${V?"0":"0.35"}em`).attr("text-anchor",t=>t.x0(t.uid=q.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",t=>t.source.x1).attr("x2",t=>t.target.x0);t.append("stop").attr("offset","0%").attr("stop-color",t=>X(t.source.id)),t.append("stop").attr("offset","100%").attr("stop-color",t=>X(t.target.id))}switch(B){case"gradient":v=(0,i.eW)(t=>t.uid,"coloring");break;case"source":v=(0,i.eW)(t=>X(t.source.id),"coloring");break;case"target":v=(0,i.eW)(t=>X(t.target.id),"coloring");break;default:v=B}Z.append("path").attr("d",(function(t){var e=M,n=I,i=A,r=L,s=null;function o(){var o,l=E.call(arguments),h=e.apply(this,l),a=n.apply(this,l);if(!s&&(s=o=w()),t(s,+i.apply(this,(l[0]=h,l)),+r.apply(this,l),+i.apply(this,(l[0]=a,l)),+r.apply(this,l)),o)return s=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(i="function"==typeof t?t:W(+t),o):i},o.y=function(t){return arguments.length?(r="function"==typeof t?t:W(+t),o):r},o.context=function(t){return arguments.length?(s=null==t?null:t,o):s},o})(T).source(P).target(C)).attr("stroke",v).attr("stroke-width",t=>Math.max(1,t.width)),(0,i.j7)(void 0,$,0,z)},"draw"),Z=(0,i.eW)(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim(),"prepareTextForParsing"),B=N.parse.bind(N);N.parse=t=>B(Z(t));var H={parser:N,db:X,renderer:{draw:R}}}}]); \ No newline at end of file diff --git a/assets/js/2646.a8fa2c54.js b/assets/js/2646.a8fa2c54.js new file mode 100644 index 0000000..6059dd5 --- /dev/null +++ b/assets/js/2646.a8fa2c54.js @@ -0,0 +1,5 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2646"],{89808:function(t,e,a){a.d(e,{diagram:function(){return tD}});var n,i=a(92076),r=a(68394),s=a(74146),l=a(27818),o=a(17967),h=function(){var t=(0,s.eW)(function(t,e,a,n){for(a=a||{},n=t.length;n--;a[t[n]]=e);return a},"o"),e=[1,24],a=[1,25],n=[1,26],i=[1,27],r=[1,28],l=[1,63],o=[1,64],h=[1,65],d=[1,66],u=[1,67],p=[1,68],y=[1,69],f=[1,29],b=[1,30],g=[1,31],x=[1,32],_=[1,33],m=[1,34],E=[1,35],A=[1,36],S=[1,37],C=[1,38],k=[1,39],O=[1,40],w=[1,41],T=[1,42],v=[1,43],R=[1,44],D=[1,45],W=[1,46],N=[1,47],P=[1,48],M=[1,50],B=[1,51],Y=[1,52],j=[1,53],I=[1,54],L=[1,55],U=[1,56],F=[1,57],X=[1,58],z=[1,59],Q=[1,60],$=[14,42],q=[14,34,36,37,38,39,40,41,42,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,70,71,72,73,74],V=[12,14,34,36,37,38,39,40,41,42,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,70,71,72,73,74],H=[1,82],G=[1,83],K=[1,84],J=[1,85],Z=[12,14,42],tt=[12,14,33,42],te=[12,14,33,42,76,77,79,80],ta=[12,33],tn=[34,36,37,38,39,40,41,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,70,71,72,73,74],ti={trace:(0,s.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:(0,s.eW)(function(t,e,a,n,i,r,s){var l=r.length-1;switch(i){case 3:n.setDirection("TB");break;case 4:n.setDirection("BT");break;case 5:n.setDirection("RL");break;case 6:n.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:n.setC4Type(r[l-3]);break;case 19:n.setTitle(r[l].substring(6)),this.$=r[l].substring(6);break;case 20:n.setAccDescription(r[l].substring(15)),this.$=r[l].substring(15);break;case 21:this.$=r[l].trim(),n.setTitle(this.$);break;case 22:case 23:this.$=r[l].trim(),n.setAccDescription(this.$);break;case 28:r[l].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 29:r[l].splice(2,0,"SYSTEM"),n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 30:n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 31:r[l].splice(2,0,"CONTAINER"),n.addContainerBoundary(...r[l]),this.$=r[l];break;case 32:n.addDeploymentNode("node",...r[l]),this.$=r[l];break;case 33:n.addDeploymentNode("nodeL",...r[l]),this.$=r[l];break;case 34:n.addDeploymentNode("nodeR",...r[l]),this.$=r[l];break;case 35:n.popBoundaryParseStack();break;case 39:n.addPersonOrSystem("person",...r[l]),this.$=r[l];break;case 40:n.addPersonOrSystem("external_person",...r[l]),this.$=r[l];break;case 41:n.addPersonOrSystem("system",...r[l]),this.$=r[l];break;case 42:n.addPersonOrSystem("system_db",...r[l]),this.$=r[l];break;case 43:n.addPersonOrSystem("system_queue",...r[l]),this.$=r[l];break;case 44:n.addPersonOrSystem("external_system",...r[l]),this.$=r[l];break;case 45:n.addPersonOrSystem("external_system_db",...r[l]),this.$=r[l];break;case 46:n.addPersonOrSystem("external_system_queue",...r[l]),this.$=r[l];break;case 47:n.addContainer("container",...r[l]),this.$=r[l];break;case 48:n.addContainer("container_db",...r[l]),this.$=r[l];break;case 49:n.addContainer("container_queue",...r[l]),this.$=r[l];break;case 50:n.addContainer("external_container",...r[l]),this.$=r[l];break;case 51:n.addContainer("external_container_db",...r[l]),this.$=r[l];break;case 52:n.addContainer("external_container_queue",...r[l]),this.$=r[l];break;case 53:n.addComponent("component",...r[l]),this.$=r[l];break;case 54:n.addComponent("component_db",...r[l]),this.$=r[l];break;case 55:n.addComponent("component_queue",...r[l]),this.$=r[l];break;case 56:n.addComponent("external_component",...r[l]),this.$=r[l];break;case 57:n.addComponent("external_component_db",...r[l]),this.$=r[l];break;case 58:n.addComponent("external_component_queue",...r[l]),this.$=r[l];break;case 60:n.addRel("rel",...r[l]),this.$=r[l];break;case 61:n.addRel("birel",...r[l]),this.$=r[l];break;case 62:n.addRel("rel_u",...r[l]),this.$=r[l];break;case 63:n.addRel("rel_d",...r[l]),this.$=r[l];break;case 64:n.addRel("rel_l",...r[l]),this.$=r[l];break;case 65:n.addRel("rel_r",...r[l]),this.$=r[l];break;case 66:n.addRel("rel_b",...r[l]),this.$=r[l];break;case 67:r[l].splice(0,1),n.addRel("rel",...r[l]),this.$=r[l];break;case 68:n.updateElStyle("update_el_style",...r[l]),this.$=r[l];break;case 69:n.updateRelStyle("update_rel_style",...r[l]),this.$=r[l];break;case 70:n.updateLayoutConfig("update_layout_config",...r[l]),this.$=r[l];break;case 71:this.$=[r[l]];break;case 72:r[l].unshift(r[l-1]),this.$=r[l];break;case 73:case 75:this.$=r[l].trim();break;case 74:let o={};o[r[l-1].trim()]=r[l].trim(),this.$=o;break;case 76:this.$=""}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:70,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:71,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:72,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:73,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{14:[1,74]},t($,[2,13],{43:23,29:49,30:61,32:62,20:75,34:l,36:o,37:h,38:d,39:u,40:p,41:y,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q}),t($,[2,14]),t(q,[2,16],{12:[1,76]}),t($,[2,36],{12:[1,77]}),t(V,[2,19]),t(V,[2,20]),{25:[1,78]},{27:[1,79]},t(V,[2,23]),{35:80,75:81,76:H,77:G,79:K,80:J},{35:86,75:81,76:H,77:G,79:K,80:J},{35:87,75:81,76:H,77:G,79:K,80:J},{35:88,75:81,76:H,77:G,79:K,80:J},{35:89,75:81,76:H,77:G,79:K,80:J},{35:90,75:81,76:H,77:G,79:K,80:J},{35:91,75:81,76:H,77:G,79:K,80:J},{35:92,75:81,76:H,77:G,79:K,80:J},{35:93,75:81,76:H,77:G,79:K,80:J},{35:94,75:81,76:H,77:G,79:K,80:J},{35:95,75:81,76:H,77:G,79:K,80:J},{35:96,75:81,76:H,77:G,79:K,80:J},{35:97,75:81,76:H,77:G,79:K,80:J},{35:98,75:81,76:H,77:G,79:K,80:J},{35:99,75:81,76:H,77:G,79:K,80:J},{35:100,75:81,76:H,77:G,79:K,80:J},{35:101,75:81,76:H,77:G,79:K,80:J},{35:102,75:81,76:H,77:G,79:K,80:J},{35:103,75:81,76:H,77:G,79:K,80:J},{35:104,75:81,76:H,77:G,79:K,80:J},t(Z,[2,59]),{35:105,75:81,76:H,77:G,79:K,80:J},{35:106,75:81,76:H,77:G,79:K,80:J},{35:107,75:81,76:H,77:G,79:K,80:J},{35:108,75:81,76:H,77:G,79:K,80:J},{35:109,75:81,76:H,77:G,79:K,80:J},{35:110,75:81,76:H,77:G,79:K,80:J},{35:111,75:81,76:H,77:G,79:K,80:J},{35:112,75:81,76:H,77:G,79:K,80:J},{35:113,75:81,76:H,77:G,79:K,80:J},{35:114,75:81,76:H,77:G,79:K,80:J},{35:115,75:81,76:H,77:G,79:K,80:J},{20:116,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{12:[1,118],33:[1,117]},{35:119,75:81,76:H,77:G,79:K,80:J},{35:120,75:81,76:H,77:G,79:K,80:J},{35:121,75:81,76:H,77:G,79:K,80:J},{35:122,75:81,76:H,77:G,79:K,80:J},{35:123,75:81,76:H,77:G,79:K,80:J},{35:124,75:81,76:H,77:G,79:K,80:J},{35:125,75:81,76:H,77:G,79:K,80:J},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t($,[2,15]),t(q,[2,17],{21:22,19:130,22:e,23:a,24:n,26:i,28:r}),t($,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:n,26:i,28:r,34:l,36:o,37:h,38:d,39:u,40:p,41:y,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q}),t(V,[2,21]),t(V,[2,22]),t(Z,[2,39]),t(tt,[2,71],{75:81,35:132,76:H,77:G,79:K,80:J}),t(te,[2,73]),{78:[1,133]},t(te,[2,75]),t(te,[2,76]),t(Z,[2,40]),t(Z,[2,41]),t(Z,[2,42]),t(Z,[2,43]),t(Z,[2,44]),t(Z,[2,45]),t(Z,[2,46]),t(Z,[2,47]),t(Z,[2,48]),t(Z,[2,49]),t(Z,[2,50]),t(Z,[2,51]),t(Z,[2,52]),t(Z,[2,53]),t(Z,[2,54]),t(Z,[2,55]),t(Z,[2,56]),t(Z,[2,57]),t(Z,[2,58]),t(Z,[2,60]),t(Z,[2,61]),t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,64]),t(Z,[2,65]),t(Z,[2,66]),t(Z,[2,67]),t(Z,[2,68]),t(Z,[2,69]),t(Z,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(ta,[2,28]),t(ta,[2,29]),t(ta,[2,30]),t(ta,[2,31]),t(ta,[2,32]),t(ta,[2,33]),t(ta,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(q,[2,18]),t($,[2,38]),t(tt,[2,72]),t(te,[2,74]),t(Z,[2,24]),t(Z,[2,35]),t(tn,[2,25]),t(tn,[2,26],{12:[1,138]}),t(tn,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:(0,s.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},"parseError"),parse:(0,s.eW)(function(t){var e=this,a=[0],n=[],i=[null],r=[],l=this.table,o="",h=0,d=0,u=0,p=r.slice.call(arguments,1),y=Object.create(this.lexer),f={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(f.yy[b]=this.yy[b]);y.setInput(t,f.yy),f.yy.lexer=y,f.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;r.push(g);var x=y.options&&y.options.ranges;"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _(){var t;return"number"!=typeof(t=n.pop()||y.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}(0,s.eW)(function(t){a.length=a.length-2*t,i.length=i.length-t,r.length=r.length-t},"popStack"),(0,s.eW)(_,"lex");for(var m,E,A,S,C,k,O,w,T,v={};;){if(A=a[a.length-1],this.defaultActions[A]?S=this.defaultActions[A]:(null==m&&(m=_()),S=l[A]&&l[A][m]),void 0===S||!S.length||!S[0]){var R="";for(k in T=[],l[A])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");R=y.showPosition?"Parse error on line "+(h+1)+":\n"+y.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(R,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:g,expected:T})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+A+", token: "+m);switch(S[0]){case 1:a.push(m),i.push(y.yytext),r.push(y.yylloc),a.push(S[1]),m=null,E?(m=E,E=null):(d=y.yyleng,o=y.yytext,h=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(O=this.productions_[S[1]][1],v.$=i[i.length-O],v._$={first_line:r[r.length-(O||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(O||1)].first_column,last_column:r[r.length-1].last_column},x&&(v._$.range=[r[r.length-(O||1)].range[0],r[r.length-1].range[1]]),void 0!==(C=this.performAction.apply(v,[o,d,h,f.yy,S[1],i,r].concat(p))))return C;O&&(a=a.slice(0,-1*O*2),i=i.slice(0,-1*O),r=r.slice(0,-1*O)),a.push(this.productions_[S[1]][0]),i.push(v.$),r.push(v._$),w=l[a[a.length-2]][a[a.length-1]],a.push(w);break;case 3:return!0}}return!0},"parse")},tr={EOF:1,parseError:(0,s.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,s.eW)(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},"setInput"),input:(0,s.eW)(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},"input"),unput:(0,s.eW)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.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:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[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},"unput"),more:(0,s.eW)(function(){return this._more=!0,this},"more"),reject:(0,s.eW)(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})},"reject"),less:(0,s.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s.eW)(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,"")},"upcomingInput"),showPosition:(0,s.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s.eW)(function(t,e){var a,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var r in i)this[r]=i[r];return!1},"test_match"),next:(0,s.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,a,n,i=this._currentRules(),r=0;re[0].length)){if(e=a,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[r])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,s.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,s.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,s.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,s.eW)(function(t,e,a,n){switch(a){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\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:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,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,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};function ts(){this.yy={}}return ti.lexer=tr,(0,s.eW)(ts,"Parser"),ts.prototype=ti,ti.Parser=ts,new ts}();h.parser=h;var d=[],u=[""],p="global",y="",f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],b=[],g="",x=!1,_=4,m=2,E=(0,s.eW)(function(){return n},"getC4Type"),A=(0,s.eW)(function(t){n=(0,s.oO)(t,(0,s.nV)())},"setC4Type"),S=(0,s.eW)(function(t,e,a,n,i,r,s,l,o){if(null==t||null==e||null==a||null==n)return;let h={},d=b.find(t=>t.from===e&&t.to===a);if(d?h=d:b.push(h),h.type=t,h.from=e,h.to=a,h.label={text:n},null==i)h.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];h[t]={text:e}}else h.techn={text:i};if(null==r)h.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];h[t]={text:e}}else h.descr={text:r};if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]=e}else h.sprite=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];h[t]=e}else h.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];h[t]=e}else h.link=o;h.wrap=Q()},"addRel"),C=(0,s.eW)(function(t,e,a,n,i,r,s){if(null===e||null===a)return;let l={},o=d.find(t=>t.alias===e);if(o&&e===o.alias?l=o:(l.alias=e,d.push(l)),null==a?l.label={text:""}:l.label={text:a},null==n)l.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.descr={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.sprite=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.tags=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.link=s;l.typeC4Shape={text:t},l.parentBoundary=p,l.wrap=Q()},"addPersonOrSystem"),k=(0,s.eW)(function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=d.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,d.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=Q(),o.typeC4Shape={text:t},o.parentBoundary=p},"addContainer"),O=(0,s.eW)(function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=d.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,d.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=Q(),o.typeC4Shape={text:t},o.parentBoundary=p},"addComponent"),w=(0,s.eW)(function(t,e,a,n,i){if(null===t||null===e)return;let r={},s=f.find(e=>e.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,f.push(r)),null==e?r.label={text:""}:r.label={text:e},null==a)r.type={text:"system"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=p,r.wrap=Q(),y=p,p=t,u.push(y)},"addPersonOrSystemBoundary"),T=(0,s.eW)(function(t,e,a,n,i){if(null===t||null===e)return;let r={},s=f.find(e=>e.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,f.push(r)),null==e?r.label={text:""}:r.label={text:e},null==a)r.type={text:"container"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=p,r.wrap=Q(),y=p,p=t,u.push(y)},"addContainerBoundary"),v=(0,s.eW)(function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=f.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,f.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.type={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=p,o.wrap=Q(),y=p,p=e,u.push(y)},"addDeploymentNode"),R=(0,s.eW)(function(){p=y,u.pop(),y=u.pop(),u.push(y)},"popBoundaryParseStack"),D=(0,s.eW)(function(t,e,a,n,i,r,s,l,o,h,u){let p=d.find(t=>t.alias===e);if(void 0!==p||void 0!==(p=f.find(t=>t.alias===e))){if(null!=a){if("object"==typeof a){let[t,e]=Object.entries(a)[0];p[t]=e}else p.bgColor=a}if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];p[t]=e}else p.fontColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];p[t]=e}else p.borderColor=i}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];p[t]=e}else p.shadowing=r}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];p[t]=e}else p.shape=s}if(null!=l){if("object"==typeof l){let[t,e]=Object.entries(l)[0];p[t]=e}else p.sprite=l}if(null!=o){if("object"==typeof o){let[t,e]=Object.entries(o)[0];p[t]=e}else p.techn=o}if(null!=h){if("object"==typeof h){let[t,e]=Object.entries(h)[0];p[t]=e}else p.legendText=h}if(null!=u){if("object"==typeof u){let[t,e]=Object.entries(u)[0];p[t]=e}else p.legendSprite=u}}},"updateElStyle"),W=(0,s.eW)(function(t,e,a,n,i,r,s){let l=b.find(t=>t.from===e&&t.to===a);if(void 0!==l){if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]=e}else l.textColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.lineColor=i}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(r)}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(s)}}},"updateRelStyle"),N=(0,s.eW)(function(t,e,a){let n=_,i=m;n="object"==typeof e?parseInt(Object.values(e)[0]):parseInt(e),i="object"==typeof a?parseInt(Object.values(a)[0]):parseInt(a),n>=1&&(_=n),i>=1&&(m=i)},"updateLayoutConfig"),P=(0,s.eW)(function(){return _},"getC4ShapeInRow"),M=(0,s.eW)(function(){return m},"getC4BoundaryInRow"),B=(0,s.eW)(function(){return p},"getCurrentBoundaryParse"),Y=(0,s.eW)(function(){return y},"getParentBoundaryParse"),j=(0,s.eW)(function(t){return null==t?d:d.filter(e=>e.parentBoundary===t)},"getC4ShapeArray"),I=(0,s.eW)(function(t){return d.find(e=>e.alias===t)},"getC4Shape"),L=(0,s.eW)(function(t){return Object.keys(j(t))},"getC4ShapeKeys"),U=(0,s.eW)(function(t){return null==t?f:f.filter(e=>e.parentBoundary===t)},"getBoundaries"),F=(0,s.eW)(function(){return b},"getRels"),X=(0,s.eW)(function(){return g},"getTitle"),z=(0,s.eW)(function(t){x=t},"setWrap"),Q=(0,s.eW)(function(){return x},"autoWrap"),$=(0,s.eW)(function(){d=[],f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],y="",p="global",u=[""],b=[],u=[""],g="",x=!1,_=4,m=2},"clear"),q=(0,s.eW)(function(t){g=(0,s.oO)(t,(0,s.nV)())},"setTitle"),V={addPersonOrSystem:C,addPersonOrSystemBoundary:w,addContainer:k,addContainerBoundary:T,addComponent:O,addDeploymentNode:v,popBoundaryParseStack:R,addRel:S,updateElStyle:D,updateRelStyle:W,updateLayoutConfig:N,autoWrap:Q,setWrap:z,getC4ShapeArray:j,getC4Shape:I,getC4ShapeKeys:L,getBoundaries:U,getBoundarys:U,getCurrentBoundaryParse:B,getParentBoundaryParse:Y,getRels:F,getTitle:X,getC4Type:E,getC4ShapeInRow:P,getC4BoundaryInRow:M,setAccTitle:s.GN,getAccTitle:s.eu,getAccDescription:s.Mx,setAccDescription:s.U$,getConfig:(0,s.eW)(()=>(0,s.nV)().c4,"getConfig"),clear:$,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:q,setC4Type:A},H=(0,s.eW)(function(t,e){return(0,i.Mu)(t,e)},"drawRect"),G=(0,s.eW)(function(t,e,a,n,i,r){let s=t.append("image");s.attr("width",e),s.attr("height",a),s.attr("x",n),s.attr("y",i);let l=r.startsWith("data:image/png;base64")?r:(0,o.sanitizeUrl)(r);s.attr("xlink:href",l)},"drawImage"),K=(0,s.eW)((t,e,a)=>{let n=t.append("g"),i=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",r=t.lineColor?t.lineColor:"#444444",s=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0;if(0===i){let e=n.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",r),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)"),i=-1}else{let e=n.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)")}let o=a.messageFont();tc(a)(t.label.text,n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+s,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},o),t.techn&&""!==t.techn.text&&(o=a.messageFont(),tc(a)("["+t.techn.text+"]",n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+s,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+a.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},o))}},"drawRels"),J=(0,s.eW)(function(t,e,a){let n=t.append("g"),i=e.bgColor?e.bgColor:"none",r=e.borderColor?e.borderColor:"#444444",s=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1}),H(n,{x:e.x,y:e.y,fill:i,stroke:r,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l});let o=a.boundaryFont();o.fontWeight="bold",o.fontSize=o.fontSize+2,o.fontColor=s,tc(a)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},o),e.type&&""!==e.type.text&&((o=a.boundaryFont()).fontColor=s,tc(a)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},o)),e.descr&&""!==e.descr.text&&((o=a.boundaryFont()).fontSize=o.fontSize-2,o.fontColor=s,tc(a)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},o))},"drawBoundary"),Z=(0,s.eW)(function(t,e,a){let n=e.bgColor?e.bgColor:a[e.typeC4Shape.text+"_bg_color"],r=e.borderColor?e.borderColor:a[e.typeC4Shape.text+"_border_color"],s=e.fontColor?e.fontColor:"#FFFFFF",l="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":l="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":l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}let o=t.append("g");o.attr("class","person-man");let h=(0,i.kc)();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":h.x=e.x,h.y=e.y,h.fill=n,h.width=e.width,h.height=e.height,h.stroke=r,h.rx=2.5,h.ry=2.5,h.attrs={"stroke-width":.5},H(o,h);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",n).attr("stroke-width","0.5").attr("stroke",r).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",r).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",n).attr("stroke-width","0.5").attr("stroke",r).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",r).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 d=to(a,e.typeC4Shape.text);switch(o.append("text").attr("fill",s).attr("font-family",d.fontFamily).attr("font-size",d.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":G(o,48,48,e.x+e.width/2-24,e.y+e.image.Y,l)}let u=a[e.typeC4Shape.text+"Font"]();return u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=s,tc(a)(e.label.text,o,e.x,e.y+e.label.Y,e.width,e.height,{fill:s},u),(u=a[e.typeC4Shape.text+"Font"]()).fontColor=s,e.techn&&e.techn?.text!==""?tc(a)(e.techn.text,o,e.x,e.y+e.techn.Y,e.width,e.height,{fill:s,"font-style":"italic"},u):e.type&&""!==e.type.text&&tc(a)(e.type.text,o,e.x,e.y+e.type.Y,e.width,e.height,{fill:s,"font-style":"italic"},u),e.descr&&""!==e.descr.text&&((u=a.personFont()).fontColor=s,tc(a)(e.descr.text,o,e.x,e.y+e.descr.Y,e.width,e.height,{fill:s},u)),e.height},"drawC4Shape"),tt=(0,s.eW)(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")},"insertDatabaseIcon"),te=(0,s.eW)(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")},"insertComputerIcon"),ta=(0,s.eW)(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")},"insertClockIcon"),tn=(0,s.eW)(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")},"insertArrowHead"),ti=(0,s.eW)(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")},"insertArrowEnd"),tr=(0,s.eW)(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")},"insertArrowFilledHead"),ts=(0,s.eW)(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)},"insertDynamicNumber"),tl=(0,s.eW)(function(t){let 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")},"insertArrowCrossHead"),to=(0,s.eW)((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"getC4ShapeFont"),tc=function(){function t(t,e,a,i,r,s,l){n(e.append("text").attr("x",a+r/2).attr("y",i+s/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,a,i,r,l,o,h){let{fontSize:d,fontFamily:u,fontWeight:p}=h,y=t.split(s.SY.lineBreakRegex);for(let t=0;t=this.data.widthLimit||a>=this.data.widthLimit||this.nextData.cnt>tp)&&(e=this.nextData.startx+t.margin+tf.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=a=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",a,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},tg(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}},tg=(0,s.eW)(function(t){(0,s.Yc)(tf,t),t.fontFamily&&(tf.personFontFamily=tf.systemFontFamily=tf.messageFontFamily=t.fontFamily),t.fontSize&&(tf.personFontSize=tf.systemFontSize=tf.messageFontSize=t.fontSize),t.fontWeight&&(tf.personFontWeight=tf.systemFontWeight=tf.messageFontWeight=t.fontWeight)},"setConf"),tx=(0,s.eW)((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"c4ShapeFont"),t_=(0,s.eW)(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),tm=(0,s.eW)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");function tE(t,e,a,n,i){if(!e[t].width){if(a)e[t].text=(0,r.X4)(e[t].text,i,n),e[t].textLines=e[t].text.split(s.SY.lineBreakRegex).length,e[t].width=i,e[t].height=(0,r.XD)(e[t].text,n);else{let a=e[t].text.split(s.SY.lineBreakRegex);e[t].textLines=a.length;let i=0;for(let s of(e[t].height=0,e[t].width=0,a))e[t].width=Math.max((0,r.Cq)(s,n),e[t].width),i=(0,r.XD)(s,n),e[t].height=e[t].height+i}}}(0,s.eW)(tE,"calcC4ShapeTextWH");var tA=(0,s.eW)(function(t,e,a){e.x=a.data.startx,e.y=a.data.starty,e.width=a.data.stopx-a.data.startx,e.height=a.data.stopy-a.data.starty,e.label.y=tf.c4ShapeMargin-35;let n=e.wrap&&tf.wrap,i=t_(tf);i.fontSize=i.fontSize+2,i.fontWeight="bold";let s=(0,r.Cq)(e.label.text,i);tE("label",e,n,i,s),th.drawBoundary(t,e,tf)},"drawBoundary"),tS=(0,s.eW)(function(t,e,a,n){let i=0;for(let s of n){i=0;let n=a[s],l=tx(tf,n.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,n.typeC4Shape.width=(0,r.Cq)("\xab"+n.typeC4Shape.text+"\xbb",l),n.typeC4Shape.height=l.fontSize+2,n.typeC4Shape.Y=tf.c4ShapePadding,i=n.typeC4Shape.Y+n.typeC4Shape.height-4,n.image={width:0,height:0,Y:0},n.typeC4Shape.text){case"person":case"external_person":n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height}n.sprite&&(n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height);let o=n.wrap&&tf.wrap,h=tf.width-2*tf.c4ShapePadding,d=tx(tf,n.typeC4Shape.text);if(d.fontSize=d.fontSize+2,d.fontWeight="bold",tE("label",n,o,d,h),n.label.Y=i+8,i=n.label.Y+n.label.height,n.type&&""!==n.type.text){n.type.text="["+n.type.text+"]";let t=tx(tf,n.typeC4Shape.text);tE("type",n,o,t,h),n.type.Y=i+5,i=n.type.Y+n.type.height}else if(n.techn&&""!==n.techn.text){n.techn.text="["+n.techn.text+"]";let t=tx(tf,n.techn.text);tE("techn",n,o,t,h),n.techn.Y=i+5,i=n.techn.Y+n.techn.height}let u=i,p=n.label.width;if(n.descr&&""!==n.descr.text){let t=tx(tf,n.typeC4Shape.text);tE("descr",n,o,t,h),n.descr.Y=i+20,i=n.descr.Y+n.descr.height,p=Math.max(n.label.width,n.descr.width),u=i-5*n.descr.textLines}p+=tf.c4ShapePadding,n.width=Math.max(n.width||tf.width,p,tf.width),n.height=Math.max(n.height||tf.height,u,tf.height),n.margin=n.margin||tf.c4ShapeMargin,t.insert(n),th.drawC4Shape(e,n,tf)}t.bumpLastMargin(tf.c4ShapeMargin)},"drawC4ShapeArray"),tC=class{static{(0,s.eW)(this,"Point")}constructor(t,e){this.x=t,this.y=e}},tk=(0,s.eW)(function(t,e){let a=t.x,n=t.y,i=e.x,r=e.y,s=a+t.width/2,l=n+t.height/2,o=Math.abs(a-i),h=Math.abs(n-r),d=h/o,u=t.height/t.width,p=null;return n==r&&ai?p=new tC(a,l):a==i&&nr&&(p=new tC(s,n)),a>i&&n=d?new tC(a,l+d*t.width/2):new tC(s-o/h*t.height/2,n+t.height):a=d?new tC(a+t.width,l+d*t.width/2):new tC(s+o/h*t.height/2,n+t.height):ar?p=u>=d?new tC(a+t.width,l-d*t.width/2):new tC(s+t.height/2*o/h,n):a>i&&n>r&&(p=u>=d?new tC(a,l-t.width/2*d):new tC(s-t.height/2*o/h,n)),p},"getIntersectPoint"),tO=(0,s.eW)(function(t,e){let a={x:0,y:0};a.x=e.x+e.width/2,a.y=e.y+e.height/2;let n=tk(t,a);return a.x=t.x+t.width/2,a.y=t.y+t.height/2,{startPoint:n,endPoint:tk(e,a)}},"getIntersectPoints"),tw=(0,s.eW)(function(t,e,a,n){let i=0;for(let t of e){i+=1;let e=t.wrap&&tf.wrap,s=tm(tf);"C4Dynamic"===n.db.getC4Type()&&(t.label.text=i+": "+t.label.text);let l=(0,r.Cq)(t.label.text,s);tE("label",t,e,s,l),t.techn&&""!==t.techn.text&&(l=(0,r.Cq)(t.techn.text,s),tE("techn",t,e,s,l)),t.descr&&""!==t.descr.text&&(l=(0,r.Cq)(t.descr.text,s),tE("descr",t,e,s,l));let o=tO(a(t.from),a(t.to));t.startPoint=o.startPoint,t.endPoint=o.endPoint}th.drawRels(t,e,tf)},"drawRels");function tT(t,e,a,n,i){let r=new tb(i);for(let[s,l]of(r.data.widthLimit=a.data.widthLimit/Math.min(ty,n.length),n.entries())){let n=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=n,n=l.image.Y+l.image.height);let o=l.wrap&&tf.wrap,h=t_(tf);if(h.fontSize=h.fontSize+2,h.fontWeight="bold",tE("label",l,o,h,r.data.widthLimit),l.label.Y=n+8,n=l.label.Y+l.label.height,l.type&&""!==l.type.text&&(l.type.text="["+l.type.text+"]",tE("type",l,o,t_(tf),r.data.widthLimit),l.type.Y=n+5,n=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=t_(tf);t.fontSize=t.fontSize-2,tE("descr",l,o,t,r.data.widthLimit),l.descr.Y=n+20,n=l.descr.Y+l.descr.height}if(0==s||s%ty==0){let t=a.data.startx+tf.diagramMarginX,e=a.data.stopy+tf.diagramMarginY+n;r.setData(t,t,e,e)}else{let t=r.data.stopx!==r.data.startx?r.data.stopx+tf.diagramMarginX:r.data.startx,e=r.data.starty;r.setData(t,t,e,e)}r.name=l.alias;let d=i.db.getC4ShapeArray(l.alias),u=i.db.getC4ShapeKeys(l.alias);u.length>0&&tS(r,t,d,u),e=l.alias;let p=i.db.getBoundarys(e);p.length>0&&tT(t,e,r,p,i),"global"!==l.alias&&tA(t,l,r),a.data.stopy=Math.max(r.data.stopy+tf.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(r.data.stopx+tf.c4ShapeMargin,a.data.stopx),td=Math.max(td,a.data.stopx),tu=Math.max(tu,a.data.stopy)}}(0,s.eW)(tT,"drawInsideBoundary");var tv={drawPersonOrSystemArray:tS,drawBoundary:tA,setConf:tg,draw:(0,s.eW)(function(t,e,a,n){let i;tf=(0,s.nV)().c4;let r=(0,s.nV)().securityLevel;"sandbox"===r&&(i=(0,l.Ys)("#i"+e));let o="sandbox"===r?(0,l.Ys)(i.nodes()[0].contentDocument.body):(0,l.Ys)("body"),h=n.db;n.db.setWrap(tf.wrap),tp=h.getC4ShapeInRow(),ty=h.getC4BoundaryInRow(),s.cM.debug(`C:${JSON.stringify(tf,null,2)}`);let d="sandbox"===r?o.select(`[id="${e}"]`):(0,l.Ys)(`[id="${e}"]`);th.insertComputerIcon(d),th.insertDatabaseIcon(d),th.insertClockIcon(d);let u=new tb(n);u.setData(tf.diagramMarginX,tf.diagramMarginX,tf.diagramMarginY,tf.diagramMarginY),u.data.widthLimit=screen.availWidth,td=tf.diagramMarginX,tu=tf.diagramMarginY;let p=n.db.getTitle();tT(d,"",u,n.db.getBoundarys(""),n),th.insertArrowHead(d),th.insertArrowEnd(d),th.insertArrowCrossHead(d),th.insertArrowFilledHead(d),tw(d,n.db.getRels(),n.db.getC4Shape,n),u.data.stopx=td,u.data.stopy=tu;let y=u.data,f=y.stopy-y.starty+2*tf.diagramMarginY,b=y.stopx-y.startx+2*tf.diagramMarginX;p&&d.append("text").text(p).attr("x",(y.stopx-y.startx)/2-4*tf.diagramMarginX).attr("y",y.starty+tf.diagramMarginY),(0,s.v2)(d,f,b,tf.useMaxWidth);let g=p?60:0;d.attr("viewBox",y.startx-tf.diagramMarginX+" -"+(tf.diagramMarginY+g)+" "+b+" "+(f+g)),s.cM.debug("models:",y)},"draw")},tR=(0,s.eW)(t=>`.person { + stroke: ${t.personBorder}; + fill: ${t.personBkg}; + } +`,"getStyles"),tD={parser:h,db:V,renderer:tv,styles:tR,init:(0,s.eW)(({c4:t,wrap:e})=>{tv.setConf(t),V.setWrap(e)},"init")}},92076:function(t,e,a){a.d(e,{AD:function(){return u},AE:function(){return o},Mu:function(){return r},O:function(){return s},kc:function(){return d},rB:function(){return h},yU:function(){return l}});var n=a(74146),i=a(17967),r=(0,n.eW)((t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),s=(0,n.eW)((t,e)=>{r(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),l=(0,n.eW)((t,e)=>{let a=e.text.replace(n.Vw," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),e.class&&i.attr("class",e.class);let r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(a),i},"drawText"),o=(0,n.eW)((t,e,a,n)=>{let r=t.append("image");r.attr("x",e),r.attr("y",a);let s=(0,i.sanitizeUrl)(n);r.attr("xlink:href",s)},"drawImage"),h=(0,n.eW)((t,e,a,n)=>{let r=t.append("use");r.attr("x",e),r.attr("y",a);let s=(0,i.sanitizeUrl)(n);r.attr("xlink:href",`#${s}`)},"drawEmbeddedImage"),d=(0,n.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),u=(0,n.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")}}]); \ No newline at end of file diff --git a/assets/js/2dcf1f5a.76ba9983.js b/assets/js/2dcf1f5a.76ba9983.js new file mode 100644 index 0000000..e403442 --- /dev/null +++ b/assets/js/2dcf1f5a.76ba9983.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["128"],{82323:function(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docSidebar":[{"type":"category","label":"Introduction","collapsed":false,"items":[{"type":"link","label":"Getting Started","href":"/nr-pies/docs/intro/getting_started","docId":"intro/getting_started","unlisted":false},{"type":"link","label":"Terminology","href":"/nr-pies/docs/intro/terminology","docId":"intro/terminology","unlisted":false}],"collapsible":true},{"type":"category","label":"Specification","collapsed":false,"items":[{"type":"link","label":"Formatting","href":"/nr-pies/docs/spec/formatting","docId":"spec/formatting","unlisted":false},{"type":"category","label":"Concept Maps","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Process Tracking","href":"/nr-pies/docs/spec/concept/process_tracking","docId":"spec/concept/process_tracking","unlisted":false}],"href":"/nr-pies/docs/category/concept-maps"},{"type":"category","label":"Data Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Code","href":"/nr-pies/docs/spec/data/code","docId":"spec/data/code","unlisted":false},{"type":"link","label":"Event","href":"/nr-pies/docs/spec/data/event","docId":"spec/data/event","unlisted":false},{"type":"link","label":"Parcel Identifier","href":"/nr-pies/docs/spec/data/parcel_id","docId":"spec/data/parcel_id","unlisted":false},{"type":"link","label":"Process","href":"/nr-pies/docs/spec/data/process","docId":"spec/data/process","unlisted":false},{"type":"link","label":"Project Bundle","href":"/nr-pies/docs/spec/data/project_bundle","docId":"spec/data/project_bundle","unlisted":false}],"href":"/nr-pies/docs/category/data-types"},{"type":"link","label":"Primitive Types","href":"/nr-pies/docs/spec/primitive_types","docId":"spec/primitive_types","unlisted":false},{"type":"category","label":"Resource Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Process Event","href":"/nr-pies/docs/spec/resource/process_event","docId":"spec/resource/process_event","unlisted":false}],"href":"/nr-pies/docs/category/resource-types"}],"collapsible":true}],"tutorialSidebar":[{"type":"category","label":"Docusaurus Tutorial","items":[{"type":"link","label":"Tutorial Intro","href":"/nr-pies/docs/docusaurus/intro","docId":"docusaurus/intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page","docId":"docusaurus/tutorial_basics/create_a_page","unlisted":false},{"type":"link","label":"Create a Document","href":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document","docId":"docusaurus/tutorial_basics/create_a_document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post","docId":"docusaurus/tutorial_basics/create_a_blog_post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features","docId":"docusaurus/tutorial_basics/markdown_features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site","docId":"docusaurus/tutorial_basics/deploy_your_site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/nr-pies/docs/docusaurus/tutorial_basics/congratulations","docId":"docusaurus/tutorial_basics/congratulations","unlisted":false}],"href":"/nr-pies/docs/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions","docId":"docusaurus/tutorial_extras/manage_docs_versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site","docId":"docusaurus/tutorial_extras/translate_your_site","unlisted":false}],"href":"/nr-pies/docs/category/tutorial---extras"}],"collapsed":true,"collapsible":true}]},"docs":{"docusaurus/intro":{"id":"docusaurus/intro","title":"Tutorial Intro","description":"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/congratulations":{"id":"docusaurus/tutorial_basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_blog_post":{"id":"docusaurus/tutorial_basics/create_a_blog_post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_document":{"id":"docusaurus/tutorial_basics/create_a_document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_page":{"id":"docusaurus/tutorial_basics/create_a_page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/deploy_your_site":{"id":"docusaurus/tutorial_basics/deploy_your_site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/markdown_features":{"id":"docusaurus/tutorial_basics/markdown_features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional","sidebar":"tutorialSidebar"},"docusaurus/tutorial_extras/manage_docs_versions":{"id":"docusaurus/tutorial_extras/manage_docs_versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"tutorialSidebar"},"docusaurus/tutorial_extras/translate_your_site":{"id":"docusaurus/tutorial_extras/translate_your_site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"tutorialSidebar"},"intro/getting_started":{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","sidebar":"docSidebar"},"intro/terminology":{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","sidebar":"docSidebar"},"spec/concept/process_tracking":{"id":"spec/concept/process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","sidebar":"docSidebar"},"spec/data/code":{"id":"spec/data/code","title":"Code","description":"A code type","sidebar":"docSidebar"},"spec/data/event":{"id":"spec/data/event","title":"Event","description":"Represents an event concept.","sidebar":"docSidebar"},"spec/data/parcel_id":{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","sidebar":"docSidebar"},"spec/data/process":{"id":"spec/data/process","title":"Process","description":"Represents a process concept.","sidebar":"docSidebar"},"spec/data/project_bundle":{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","sidebar":"docSidebar"},"spec/formatting":{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","sidebar":"docSidebar"},"spec/primitive_types":{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","sidebar":"docSidebar"},"spec/resource/process_event":{"id":"spec/resource/process_event","title":"Process Event","description":"Represents a process concept at a specific moment in time.","sidebar":"docSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/3085.8f380f56.js b/assets/js/3085.8f380f56.js new file mode 100644 index 0000000..e01fd98 --- /dev/null +++ b/assets/js/3085.8f380f56.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3085"],{15970:function(e,n,r){r.d(n,{createInfoServices:function(){return s.M}});var s=r(52730);r(95318)}}]); \ No newline at end of file diff --git a/assets/js/3315.ea44509c.js b/assets/js/3315.ea44509c.js new file mode 100644 index 0000000..4a4543e --- /dev/null +++ b/assets/js/3315.ea44509c.js @@ -0,0 +1,63 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3315"],{79068:function(t,e,r){r.d(e,{A:function(){return o}});var a=r(74146),o=class{constructor(t){this.init=t,this.records=this.init()}static{(0,a.eW)(this,"ImperativeState")}reset(){this.records=this.init()}}},18010:function(t,e,r){function a(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}r.d(e,{A:function(){return a}}),(0,r(74146).eW)(a,"populateCommonDb")},17321:function(t,e,r){r.d(e,{diagram:function(){return tb}});var a=r(18010),o=r(79068),i=r(68394),c=r(74146),n=r(3194),s=r(27818),h={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},d=c.vZ.gitGraph,l=(0,c.eW)(()=>(0,i.Rb)({...d,...(0,c.iE)().gitGraph}),"getConfig"),$=new o.A(()=>{let t=l(),e=t.mainBranchName,r=t.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:r}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function m(){return(0,i.MX)({length:7})}function g(t,e){let r=Object.create(null);return t.reduce((t,a)=>{let o=e(a);return!r[o]&&(r[o]=!0,t.push(a)),t},[])}(0,c.eW)(m,"getID"),(0,c.eW)(g,"uniqBy");var y=(0,c.eW)(function(t){$.records.direction=t},"setDirection"),p=(0,c.eW)(function(t){c.cM.debug("options str",t),t=(t=t?.trim())||"{}";try{$.records.options=JSON.parse(t)}catch(t){c.cM.error("error while parsing gitGraph options",t.message)}},"setOptions"),f=(0,c.eW)(function(){return $.records.options},"getOptions"),x=(0,c.eW)(function(t){let e=t.msg,r=t.id,a=t.type,o=t.tags;c.cM.info("commit",e,r,a,o),c.cM.debug("Entering commit:",e,r,a,o);let i=l();r=c.SY.sanitizeText(r,i),e=c.SY.sanitizeText(e,i),o=o?.map(t=>c.SY.sanitizeText(t,i));let n={id:r||$.records.seq+"-"+m(),message:e,seq:$.records.seq++,type:a??h.NORMAL,tags:o??[],parents:null==$.records.head?[]:[$.records.head.id],branch:$.records.currBranch};$.records.head=n,c.cM.info("main branch",i.mainBranchName),$.records.commits.set(n.id,n),$.records.branches.set($.records.currBranch,n.id),c.cM.debug("in pushCommit "+n.id)},"commit"),u=(0,c.eW)(function(t){let e=t.name,r=t.order;if(e=c.SY.sanitizeText(e,l()),$.records.branches.has(e))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);$.records.branches.set(e,null!=$.records.head?$.records.head.id:null),$.records.branchConfig.set(e,{name:e,order:r}),B(e),c.cM.debug("in createBranch")},"branch"),b=(0,c.eW)(t=>{let e=t.branch,r=t.id,a=t.type,o=t.tags,i=l();e=c.SY.sanitizeText(e,i),r&&(r=c.SY.sanitizeText(r,i));let n=$.records.branches.get($.records.currBranch),s=$.records.branches.get(e),d=n?$.records.commits.get(n):void 0,g=s?$.records.commits.get(s):void 0;if(d&&g&&d.branch===e)throw Error(`Cannot merge branch '${e}' into itself.`);if($.records.currBranch===e){let t=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(void 0===d||!d){let t=Error(`Incorrect usage of "merge". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},t}if(!$.records.branches.has(e)){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},t}if(void 0===g||!g){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},t}if(d===g){let t=Error('Incorrect usage of "merge". Both branches have same head');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(r&&$.records.commits.has(r)){let t=Error('Incorrect usage of "merge". Commit with id:'+r+" already exists, use different custom Id");throw t.hash={text:`merge ${e} ${r} ${a} ${o?.join(" ")}`,token:`merge ${e} ${r} ${a} ${o?.join(" ")}`,expected:[`merge ${e} ${r}_UNIQUE ${a} ${o?.join(" ")}`]},t}let y={id:r||`${$.records.seq}-${m()}`,message:`merged branch ${e} into ${$.records.currBranch}`,seq:$.records.seq++,parents:null==$.records.head?[]:[$.records.head.id,s||""],branch:$.records.currBranch,type:h.MERGE,customType:a,customId:!!r,tags:o??[]};$.records.head=y,$.records.commits.set(y.id,y),$.records.branches.set($.records.currBranch,y.id),c.cM.debug($.records.branches),c.cM.debug("in mergeBranch")},"merge"),w=(0,c.eW)(function(t){let e=t.id,r=t.targetId,a=t.tags,o=t.parent;c.cM.debug("Entering cherryPick:",e,r,a);let i=l();if(e=c.SY.sanitizeText(e,i),r=c.SY.sanitizeText(r,i),a=a?.map(t=>c.SY.sanitizeText(t,i)),o=c.SY.sanitizeText(o,i),!e||!$.records.commits.has(e)){let t=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let n=$.records.commits.get(e);if(void 0===n||!n)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let s=n.branch;if(n.type===h.MERGE&&!o)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!r||!$.records.commits.has(r)){if(s===$.records.currBranch){let t=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let t=$.records.branches.get($.records.currBranch);if(void 0===t||!t){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let i=$.records.commits.get(t);if(void 0===i||!i){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let d={id:$.records.seq+"-"+m(),message:`cherry-picked ${n?.message} into ${$.records.currBranch}`,seq:$.records.seq++,parents:null==$.records.head?[]:[$.records.head.id,n.id],branch:$.records.currBranch,type:h.CHERRY_PICK,tags:a?a.filter(Boolean):[`cherry-pick:${n.id}${n.type===h.MERGE?`|parent:${o}`:""}`]};$.records.head=d,$.records.commits.set(d.id,d),$.records.branches.set($.records.currBranch,d.id),c.cM.debug($.records.branches),c.cM.debug("in cherryPick")}},"cherryPick"),B=(0,c.eW)(function(t){if(t=c.SY.sanitizeText(t,l()),$.records.branches.has(t)){$.records.currBranch=t;let e=$.records.branches.get($.records.currBranch);void 0!==e&&e?$.records.head=$.records.commits.get(e)??null:$.records.head=null}else{let e=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw e.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},e}},"checkout");function E(t,e,r){let a=t.indexOf(e);-1===a?t.push(r):t.splice(a,1,r)}function k(t){let e=t.reduce((t,e)=>t.seq>e.seq?t:e,t[0]),r="";t.forEach(function(t){t===e?r+=" *":r+=" |"});let a=[r,e.id,e.seq];for(let t in $.records.branches)$.records.branches.get(t)===e.id&&a.push(t);if(c.cM.debug(a.join(" ")),e.parents&&2==e.parents.length&&e.parents[0]&&e.parents[1]){let r=$.records.commits.get(e.parents[0]);E(t,e,r),e.parents[1]&&t.push($.records.commits.get(e.parents[1]))}else if(0==e.parents.length)return;else if(e.parents[0]){let r=$.records.commits.get(e.parents[0]);E(t,e,r)}k(t=g(t,t=>t.id))}(0,c.eW)(E,"upsert"),(0,c.eW)(k,"prettyPrintCommitHistory");var M=(0,c.eW)(function(){c.cM.debug($.records.commits),k([v()[0]])},"prettyPrint"),C=(0,c.eW)(function(){$.reset(),(0,c.ZH)()},"clear"),L=(0,c.eW)(function(){return[...$.records.branchConfig.values()].map((t,e)=>null!==t.order&&void 0!==t.order?t:{...t,order:parseFloat(`0.${e}`)}).sort((t,e)=>(t.order??0)-(e.order??0)).map(({name:t})=>({name:t}))},"getBranchesAsObjArray"),T=(0,c.eW)(function(){return $.records.branches},"getBranches"),W=(0,c.eW)(function(){return $.records.commits},"getCommits"),v=(0,c.eW)(function(){let t=[...$.records.commits.values()];return t.forEach(function(t){c.cM.debug(t.id)}),t.sort((t,e)=>t.seq-e.seq),t},"getCommitsArray"),R=(0,c.eW)(function(){return $.records.currBranch},"getCurrentBranch"),P=(0,c.eW)(function(){return $.records.direction},"getDirection"),A={commitType:h,getConfig:l,setDirection:y,setOptions:p,getOptions:f,commit:x,branch:u,merge:b,cherryPick:w,checkout:B,prettyPrint:M,clear:C,getBranchesAsObjArray:L,getBranches:T,getCommits:W,getCommitsArray:v,getCurrentBranch:R,getDirection:P,getHead:(0,c.eW)(function(){return $.records.head},"getHead"),setAccTitle:c.GN,getAccTitle:c.eu,getAccDescription:c.Mx,setAccDescription:c.U$,setDiagramTitle:c.g2,getDiagramTitle:c.Kr},I=(0,c.eW)((t,e)=>{for(let r of((0,a.A)(t,e),t.dir&&e.setDirection(t.dir),t.statements))G(r,e)},"populate"),G=(0,c.eW)((t,e)=>{let r={Commit:(0,c.eW)(t=>e.commit(S(t)),"Commit"),Branch:(0,c.eW)(t=>e.branch(O(t)),"Branch"),Merge:(0,c.eW)(t=>e.merge(q(t)),"Merge"),Checkout:(0,c.eW)(t=>e.checkout(H(t)),"Checkout"),CherryPicking:(0,c.eW)(t=>e.cherryPick(z(t)),"CherryPicking")}[t.$type];r?r(t):c.cM.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),S=(0,c.eW)(t=>({id:t.id,msg:t.message??"",type:void 0!==t.type?h[t.type]:h.NORMAL,tags:t.tags??void 0}),"parseCommit"),O=(0,c.eW)(t=>({name:t.name,order:t.order??0}),"parseBranch"),q=(0,c.eW)(t=>({branch:t.branch,id:t.id??"",type:void 0!==t.type?h[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),H=(0,c.eW)(t=>t.branch,"parseCheckout"),z=(0,c.eW)(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),Y={parse:(0,c.eW)(async t=>{let e=await (0,n.Qc)("gitGraph",t);c.cM.debug(e),I(e,A)},"parse")},D=(0,c.nV)(),N=D?.gitGraph,j=new Map,_=new Map,K=new Map,F=[],U=0,V="LR",Q=(0,c.eW)(()=>{j.clear(),_.clear(),K.clear(),U=0,F=[],V="LR"},"clear"),X=(0,c.eW)(t=>{let e=document.createElementNS("http://www.w3.org/2000/svg","text");return("string"==typeof t?t.split(/\\n|\n|/gi):t).forEach(t=>{let r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),r.setAttribute("class","row"),r.textContent=t.trim(),e.appendChild(r)}),e},"drawText"),Z=(0,c.eW)(t=>{let e,r,a;return"BT"===V?(r=(0,c.eW)((t,e)=>t<=e,"comparisonFunc"),a=1/0):(r=(0,c.eW)((t,e)=>t>=e,"comparisonFunc"),a=0),t.forEach(t=>{let o="TB"===V||"BT"==V?_.get(t)?.y:_.get(t)?.x;void 0!==o&&r(o,a)&&(e=t,a=o)}),e},"findClosestParent"),J=(0,c.eW)(t=>{let e="",r=1/0;return t.forEach(t=>{let a=_.get(t).y;a<=r&&(e=t,r=a)}),e||void 0},"findClosestParentBT"),tt=(0,c.eW)((t,e,r)=>{let a=r,o=r,i=[];t.forEach(t=>{let r=e.get(t);if(!r)throw Error(`Commit not found for key ${t}`);r.parents.length?o=Math.max(a=tr(r),o):i.push(r),ta(r,a)}),a=o,i.forEach(t=>{to(t,a,r)}),t.forEach(t=>{let r=e.get(t);if(r?.parents.length){let t=J(r.parents);(a=_.get(t).y-40)<=o&&(o=a);let e=j.get(r.branch).pos,i=a-10;_.set(r.id,{x:e,y:i})}})},"setParallelBTPos"),te=(0,c.eW)(t=>{let e=Z(t.parents.filter(t=>null!==t));if(!e)throw Error(`Closest parent not found for commit ${t.id}`);let r=_.get(e)?.y;if(void 0===r)throw Error(`Closest parent position not found for commit ${t.id}`);return r},"findClosestParentPos"),tr=(0,c.eW)(t=>te(t)+40,"calculateCommitPosition"),ta=(0,c.eW)((t,e)=>{let r=j.get(t.branch);if(!r)throw Error(`Branch not found for commit ${t.id}`);let a=r.pos,o=e+10;return _.set(t.id,{x:a,y:o}),{x:a,y:o}},"setCommitPosition"),to=(0,c.eW)((t,e,r)=>{let a=j.get(t.branch);if(!a)throw Error(`Branch not found for commit ${t.id}`);let o=a.pos;_.set(t.id,{x:o,y:e+r})},"setRootPosition"),ti=(0,c.eW)((t,e,r,a,o,i)=>{if(i===h.HIGHLIGHT)t.append("rect").attr("x",r.x-10).attr("y",r.y-10).attr("width",20).attr("height",20).attr("class",`commit ${e.id} commit-highlight${o%8} ${a}-outer`),t.append("rect").attr("x",r.x-6).attr("y",r.y-6).attr("width",12).attr("height",12).attr("class",`commit ${e.id} commit${o%8} ${a}-inner`);else if(i===h.CHERRY_PICK)t.append("circle").attr("cx",r.x).attr("cy",r.y).attr("r",10).attr("class",`commit ${e.id} ${a}`),t.append("circle").attr("cx",r.x-3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${a}`),t.append("circle").attr("cx",r.x+3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${a}`),t.append("line").attr("x1",r.x+3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${a}`),t.append("line").attr("x1",r.x-3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${a}`);else{let c=t.append("circle");if(c.attr("cx",r.x),c.attr("cy",r.y),c.attr("r",e.type===h.MERGE?9:10),c.attr("class",`commit ${e.id} commit${o%8}`),i===h.MERGE){let i=t.append("circle");i.attr("cx",r.x),i.attr("cy",r.y),i.attr("r",6),i.attr("class",`commit ${a} ${e.id} commit${o%8}`)}i===h.REVERSE&&t.append("path").attr("d",`M ${r.x-5},${r.y-5}L${r.x+5},${r.y+5}M${r.x-5},${r.y+5}L${r.x+5},${r.y-5}`).attr("class",`commit ${a} ${e.id} commit${o%8}`)}},"drawCommitBullet"),tc=(0,c.eW)((t,e,r,a)=>{if(e.type!==h.CHERRY_PICK&&(e.customId&&e.type===h.MERGE||e.type!==h.MERGE)&&N?.showCommitLabel){let o=t.append("g"),i=o.insert("rect").attr("class","commit-label-bkg"),c=o.append("text").attr("x",a).attr("y",r.y+25).attr("class","commit-label").text(e.id),n=c.node()?.getBBox();if(n&&(i.attr("x",r.posWithOffset-n.width/2-2).attr("y",r.y+13.5).attr("width",n.width+4).attr("height",n.height+4),"TB"===V||"BT"===V?(i.attr("x",r.x-(n.width+16+5)).attr("y",r.y-12),c.attr("x",r.x-(n.width+16)).attr("y",r.y+n.height-12)):c.attr("x",r.posWithOffset-n.width/2),N.rotateCommitLabel)){if("TB"===V||"BT"===V)c.attr("transform","rotate(-45, "+r.x+", "+r.y+")"),i.attr("transform","rotate(-45, "+r.x+", "+r.y+")");else{let t=-7.5-(n.width+10)/25*9.5,e=10+n.width/25*8.5;o.attr("transform","translate("+t+", "+e+") rotate(-45, "+a+", "+r.y+")")}}}},"drawCommitLabel"),tn=(0,c.eW)((t,e,r,a)=>{if(e.tags.length>0){let o=0,i=0,c=0,n=[];for(let a of e.tags.reverse()){let e=t.insert("polygon"),s=t.append("circle"),h=t.append("text").attr("y",r.y-16-o).attr("class","tag-label").text(a),d=h.node()?.getBBox();if(!d)throw Error("Tag bbox not found");i=Math.max(i,d.width),c=Math.max(c,d.height),h.attr("x",r.posWithOffset-d.width/2),n.push({tag:h,hole:s,rect:e,yOffset:o}),o+=20}for(let{tag:t,hole:e,rect:o,yOffset:s}of n){let n=c/2,h=r.y-19.2-s;if(o.attr("class","tag-label-bkg").attr("points",` + ${a-i/2-2},${h+2} + ${a-i/2-2},${h-2} + ${r.posWithOffset-i/2-4},${h-n-2} + ${r.posWithOffset+i/2+4},${h-n-2} + ${r.posWithOffset+i/2+4},${h+n+2} + ${r.posWithOffset-i/2-4},${h+n+2}`),e.attr("cy",h).attr("cx",a-i/2+2).attr("r",1.5).attr("class","tag-hole"),"TB"===V||"BT"===V){let c=a+s;o.attr("class","tag-label-bkg").attr("points",` + ${r.x},${c+2} + ${r.x},${c-2} + ${r.x+10},${c-n-2} + ${r.x+10+i+4},${c-n-2} + ${r.x+10+i+4},${c+n+2} + ${r.x+10},${c+n+2}`).attr("transform","translate(12,12) rotate(45, "+r.x+","+a+")"),e.attr("cx",r.x+2).attr("cy",c).attr("transform","translate(12,12) rotate(45, "+r.x+","+a+")"),t.attr("x",r.x+5).attr("y",c+3).attr("transform","translate(14,14) rotate(45, "+r.x+","+a+")")}}}},"drawCommitTags"),ts=(0,c.eW)(t=>{switch(t.customType??t.type){case h.NORMAL:return"commit-normal";case h.REVERSE:return"commit-reverse";case h.HIGHLIGHT:return"commit-highlight";case h.MERGE:return"commit-merge";case h.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),th=(0,c.eW)((t,e,r,a)=>{let o={x:0,y:0};if(t.parents.length>0){let r=Z(t.parents);if(r){let i=a.get(r)??o;return"TB"===e?i.y+40:"BT"===e?(a.get(t.id)??o).y-40:i.x+40}}else{if("TB"===e)return 30;if("BT"===e)return(a.get(t.id)??o).y-40}return 0},"calculatePosition"),td=(0,c.eW)((t,e,r)=>{let a="BT"===V&&r?e:e+10,o="TB"===V||"BT"===V?a:j.get(t.branch)?.pos,i="TB"===V||"BT"===V?j.get(t.branch)?.pos:a;if(void 0===i||void 0===o)throw Error(`Position were undefined for commit ${t.id}`);return{x:i,y:o,posWithOffset:a}},"getCommitPosition"),tl=(0,c.eW)((t,e,r)=>{if(!N)throw Error("GitGraph config not found");let a=t.append("g").attr("class","commit-bullets"),o=t.append("g").attr("class","commit-labels"),i="TB"===V||"BT"===V?30:0,n=[...e.keys()],s=N?.parallelCommits??!1,h=n.sort((0,c.eW)((t,r)=>{let a=e.get(t)?.seq,o=e.get(r)?.seq;return void 0!==a&&void 0!==o?a-o:0},"sortKeys"));"BT"===V&&(s&&tt(h,e,i),h=h.reverse()),h.forEach(t=>{let c=e.get(t);if(!c)throw Error(`Commit not found for key ${t}`);s&&(i=th(c,V,i,_));let n=td(c,i,s);if(r){let t=ts(c),e=c.customType??c.type,r=j.get(c.branch)?.index??0;ti(a,c,n,t,r,e),tc(o,c,n,i),tn(o,c,n,i)}"TB"===V||"BT"===V?_.set(c.id,{x:n.x,y:n.posWithOffset}):_.set(c.id,{x:n.posWithOffset,y:n.y}),(i="BT"===V&&s?i+40:i+40+10)>U&&(U=i)})},"drawCommits"),t$=(0,c.eW)((t,e,r,a,o)=>{let i=("TB"===V||"BT"===V?r.xt.branch===i,"isOnBranchToGetCurve"),s=(0,c.eW)(r=>r.seq>t.seq&&r.seqs(t)&&n(t))},"shouldRerouteArrow"),tm=(0,c.eW)((t,e,r=0)=>{let a=t+Math.abs(t-e)/2;if(r>5)return a;if(F.every(t=>Math.abs(t-a)>=10))return F.push(a),a;let o=Math.abs(t-e);return tm(t,e-o/5,r+1)},"findLane"),tg=(0,c.eW)((t,e,r,a)=>{let o;let i=_.get(e.id),c=_.get(r.id);if(void 0===i||void 0===c)throw Error(`Commit positions not found for commits ${e.id} and ${r.id}`);let n=t$(e,r,i,c,a),s="",d="",l=0,$=0,m=j.get(r.branch)?.index;if(r.type===h.MERGE&&e.id!==r.parents[0]&&(m=j.get(e.branch)?.index),n){s="A 10 10, 0, 0, 0,",d="A 10 10, 0, 0, 1,",l=10,$=10;let t=i.yc.x&&(s="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",l=20,$=20,o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y-l} ${d} ${i.x-$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x+l} ${i.y} ${s} ${c.x} ${i.y+$} L ${c.x} ${c.y}`),i.x===c.x&&(o=`M ${i.x} ${i.y} L ${c.x} ${c.y}`)):"BT"===V?(i.xc.x&&(s="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",l=20,$=20,o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y+l} ${s} ${i.x-$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${s} ${c.x} ${i.y-$} L ${c.x} ${c.y}`),i.x===c.x&&(o=`M ${i.x} ${i.y} L ${c.x} ${c.y}`)):(i.yc.y&&(o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${s} ${c.x} ${i.y-$} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${i.x} ${c.y+l} ${d} ${i.x+$} ${c.y} L ${c.x} ${c.y}`),i.y===c.y&&(o=`M ${i.x} ${i.y} L ${c.x} ${c.y}`));if(void 0===o)throw Error("Line definition not found");t.append("path").attr("d",o).attr("class","arrow arrow"+m%8)},"drawArrow"),ty=(0,c.eW)((t,e)=>{let r=t.append("g").attr("class","commit-arrows");[...e.keys()].forEach(t=>{let a=e.get(t);a.parents&&a.parents.length>0&&a.parents.forEach(t=>{tg(r,e.get(t),a,e)})})},"drawArrows"),tp=(0,c.eW)((t,e)=>{let r=t.append("g");e.forEach((t,e)=>{let a=e%8,o=j.get(t.name)?.pos;if(void 0===o)throw Error(`Position not found for branch ${t.name}`);let i=r.append("line");i.attr("x1",0),i.attr("y1",o),i.attr("x2",U),i.attr("y2",o),i.attr("class","branch branch"+a),"TB"===V?(i.attr("y1",30),i.attr("x1",o),i.attr("y2",U),i.attr("x2",o)):"BT"===V&&(i.attr("y1",U),i.attr("x1",o),i.attr("y2",30),i.attr("x2",o)),F.push(o);let c=X(t.name),n=r.insert("rect"),s=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+a);s.node().appendChild(c);let h=c.getBBox();n.attr("class","branchLabelBkg label"+a).attr("rx",4).attr("ry",4).attr("x",-h.width-4-(N?.rotateCommitLabel===!0?30:0)).attr("y",-h.height/2+8).attr("width",h.width+18).attr("height",h.height+4),s.attr("transform","translate("+(-h.width-14-(N?.rotateCommitLabel===!0?30:0))+", "+(o-h.height/2-1)+")"),"TB"===V?(n.attr("x",o-h.width/2-10).attr("y",0),s.attr("transform","translate("+(o-h.width/2-5)+", 0)")):"BT"===V?(n.attr("x",o-h.width/2-10).attr("y",U),s.attr("transform","translate("+(o-h.width/2-5)+", "+U+")")):n.attr("transform","translate(-19, "+(o-h.height/2)+")")})},"drawBranches"),tf=(0,c.eW)(function(t,e,r,a,o){return j.set(t,{pos:e,index:r}),e+=50+(o?40:0)+("TB"===V||"BT"===V?a.width/2:0)},"setBranchPosition"),tx=(0,c.eW)(function(t,e,r,a){if(Q(),c.cM.debug("in gitgraph renderer",t+"\n","id:",e,r),!N)throw Error("GitGraph config not found");let o=N.rotateCommitLabel??!1,n=a.db;K=n.getCommits();let h=n.getBranchesAsObjArray();V=n.getDirection();let d=(0,s.Ys)(`[id="${e}"]`),l=0;h.forEach((t,e)=>{let r=X(t.name),a=d.append("g"),i=a.insert("g").attr("class","branchLabel"),c=i.insert("g").attr("class","label branch-label");c.node()?.appendChild(r);let n=r.getBBox();l=tf(t.name,l,e,n,o),c.remove(),i.remove(),a.remove()}),tl(d,K,!1),N.showBranches&&tp(d,h),ty(d,K),tl(d,K,!0),i.w8.insertTitle(d,"gitTitleText",N.titleTopMargin??0,n.getDiagramTitle()),(0,c.Rw)(void 0,d,N.diagramPadding,N.useMaxWidth)},"draw"),tu=(0,c.eW)(t=>` + .commit-id, + .commit-msg, + .branch-label { + fill: lightgrey; + color: lightgrey; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + } + ${[0,1,2,3,4,5,6,7].map(e=>` + .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; } + .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; } + .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; } + .label${e} { fill: ${t["git"+e]}; } + .arrow${e} { stroke: ${t["git"+e]}; } + `).join("\n")} + + .branch { + stroke-width: 1; + stroke: ${t.lineColor}; + stroke-dasharray: 2; + } + .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};} + .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; } + .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};} + .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; } + .tag-hole { fill: ${t.textColor}; } + + .commit-merge { + stroke: ${t.primaryColor}; + fill: ${t.primaryColor}; + } + .commit-reverse { + stroke: ${t.primaryColor}; + fill: ${t.primaryColor}; + stroke-width: 3; + } + .commit-highlight-outer { + } + .commit-highlight-inner { + stroke: ${t.primaryColor}; + fill: ${t.primaryColor}; + } + + .arrow { stroke-width: 8; stroke-linecap: round; fill: none} + .gitTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } +`,"getStyles"),tb={parser:Y,db:A,renderer:{draw:tx},styles:tu}}}]); \ No newline at end of file diff --git a/assets/js/3337.7daaba4b.js b/assets/js/3337.7daaba4b.js new file mode 100644 index 0000000..a6009e9 --- /dev/null +++ b/assets/js/3337.7daaba4b.js @@ -0,0 +1,116 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3337"],{61135:function(t,e,r){r.d(e,{k:()=>f});var a=r("96498"),i=r("18782"),s=r("87074"),n=r("37627"),l=r("73217"),o=r("82633"),d=r("61925"),c=r("39446"),h=r("53148"),g=r("38610"),u=r("61322"),p=(0,h.Z)(function(t){return(0,g.Z)((0,c.Z)(t,1,u.Z,!0))}),y=r("96433"),b=r("81748");class f{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=a.Z(void 0),this._defaultEdgeLabelFn=a.Z(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),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!i.Z(t)&&(t=a.Z(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return s.Z(this._nodes)}sources(){var t=this;return n.Z(this.nodes(),function(e){return l.Z(t._in[e])})}sinks(){var t=this;return n.Z(this.nodes(),function(e){return l.Z(t._out[e])})}setNodes(t,e){var r=arguments,a=this;return o.Z(t,function(t){r.length>1?a.setNode(t,e):a.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(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]="\0",this._children[t]={},this._children["\0"][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 Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],o.Z(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),o.Z(s.Z(this._in[t]),e),delete this._in[t],delete this._preds[t],o.Z(s.Z(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(d.Z(e))e="\0";else{e+="";for(var r=e;!d.Z(r);r=this.parent(r))if(r===t)throw 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("\0"!==e)return e}}children(t){if(d.Z(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return s.Z(e)}else if("\0"===t)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return s.Z(e)}successors(t){var e=this._sucs[t];if(e)return s.Z(e)}neighbors(t){var e=this.predecessors(t);if(e)return p(e,this.successors(t))}isLeaf(t){var e;return 0===(e=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 r=this;o.Z(this._nodes,function(r,a){t(a)&&e.setNode(a,r)}),o.Z(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var a={};return this._isCompound&&o.Z(e.nodes(),function(t){e.setParent(t,function t(i){var s=r.parent(i);return void 0===s||e.hasNode(s)?(a[i]=s,s):s in a?a[s]:t(s)}(t))}),e}setDefaultEdgeLabel(t){return!i.Z(t)&&(t=a.Z(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return y.Z(this._edgeObjs)}setPath(t,e){var r=this,a=arguments;return b.Z(t,function(t,i){return a.length>1?r.setEdge(t,i,e):r.setEdge(t,i),i}),this}setEdge(){var t,e,r,a,i=!1,s=arguments[0];"object"==typeof s&&null!==s&&"v"in s?(t=s.v,e=s.w,r=s.name,2==arguments.length&&(a=arguments[1],i=!0)):(t=s,e=arguments[1],r=arguments[3],arguments.length>2&&(a=arguments[2],i=!0)),t=""+t,e=""+e,!d.Z(r)&&(r=""+r);var n=w(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,n))return i&&(this._edgeLabels[n]=a),this;if(!d.Z(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[n]=i?a:this._defaultEdgeLabelFn(t,e,r);var l=function(t,e,r,a){var i=""+e,s=""+r;if(!t&&i>s){var n=i;i=s,s=n}var l={v:i,w:s};return a&&(l.name=a),l}(this._isDirected,t,e,r);return t=l.v,e=l.w,Object.freeze(l),this._edgeObjs[n]=l,x(this._preds[e],t),x(this._sucs[t],e),this._in[e][n]=l,this._out[t][n]=l,this._edgeCount++,this}edge(t,e,r){var a=1==arguments.length?_(this._isDirected,arguments[0]):w(this._isDirected,t,e,r);return this._edgeLabels[a]}hasEdge(t,e,r){var a=1==arguments.length?_(this._isDirected,arguments[0]):w(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,a)}removeEdge(t,e,r){var a=1==arguments.length?_(this._isDirected,arguments[0]):w(this._isDirected,t,e,r),i=this._edgeObjs[a];return i&&(t=i.v,e=i.w,delete this._edgeLabels[a],delete this._edgeObjs[a],m(this._preds[e],t),m(this._sucs[t],e),delete this._in[e][a],delete this._out[t][a],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var a=y.Z(r);return e?n.Z(a,function(t){return t.v===e}):a}}outEdges(t,e){var r=this._out[t];if(r){var a=y.Z(r);return e?n.Z(a,function(t){return t.w===e}):a}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function x(t,e){t[e]?t[e]++:t[e]=1}function m(t,e){!--t[e]&&delete t[e]}function w(t,e,r,a){var i=""+e,s=""+r;if(!t&&i>s){var n=i;i=s,s=n}return i+"\x01"+s+"\x01"+(d.Z(a)?"\0":a)}f.prototype._nodeCount=0,f.prototype._edgeCount=0;function _(t,e){return w(t,e.v,e.w,e.name)}},50043:function(t,e,r){r.d(e,{k:function(){return a.k}});var a=r(61135)},73265:function(t,e,r){r.d(e,{Z:function(){return s}});var a=r(53763),i=r(26652);let s=(t,e)=>a.Z.lang.round(i.Z.parse(t)[e])},65521:function(t,e,r){r.d(e,{Z:function(){return i}});var a=r(16124);let i=function(t){return(0,a.Z)(t,4)}},34370:function(t,e,r){r.d(e,{diagram:function(){return ep}});var a=r(30594),i=r(82612),s=r(41200),n=r(68394),l=r(74146),o=r(65521),d=r(73265),c=r(13328),h=r(27818),g=r(50043),u=function(){var t=(0,l.eW)(function(t,e,r,a){for(r=r||{},a=t.length;a--;r[t[a]]=e);return r},"o"),e=[1,7],r=[1,13],a=[1,14],i=[1,15],s=[1,19],n=[1,16],o=[1,17],d=[1,18],c=[8,30],h=[8,21,28,29,30,31,32,40,44,47],g=[1,23],u=[1,24],p=[8,15,16,21,28,29,30,31,32,40,44,47],y=[8,15,16,21,27,28,29,30,31,32,40,44,47],b=[1,49],f={trace:(0,l.eW)(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:(0,l.eW)(function(t,e,r,a,i,s,n){var l=s.length-1;switch(i){case 4:a.getLogger().debug("Rule: separator (NL) ");break;case 5:a.getLogger().debug("Rule: separator (Space) ");break;case 6:a.getLogger().debug("Rule: separator (EOF) ");break;case 7:a.getLogger().debug("Rule: hierarchy: ",s[l-1]),a.setHierarchy(s[l-1]);break;case 8:a.getLogger().debug("Stop NL ");break;case 9:a.getLogger().debug("Stop EOF ");break;case 10:a.getLogger().debug("Stop NL2 ");break;case 11:a.getLogger().debug("Stop EOF2 ");break;case 12:a.getLogger().debug("Rule: statement: ",s[l]),"number"==typeof s[l].length?this.$=s[l]:this.$=[s[l]];break;case 13:a.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:a.getLogger().debug("Rule: link: ",s[l],t),this.$={edgeTypeStr:s[l],label:""};break;case 15:a.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let o=parseInt(s[l]),d=a.generateId();this.$={id:d,type:"space",label:"",width:o,children:[]};break;case 23:a.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let c=a.edgeStrToEdgeData(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",directions:s[l].directions,arrowTypeEnd:c,arrowTypeStart:"arrow_open"},{id:s[l].id,label:s[l].label,type:a.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:a.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:a.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:a.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:a.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:a.getLogger().debug("APA123",this?this:"na"),a.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:"auto"===s[l]?-1:parseInt(s[l])};break;case 27:a.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]),a.generateId(),this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:a.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let h=a.generateId();this.$={id:h,type:"composite",label:"",children:s[l-1]};break;case 29:a.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:a.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:a.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:a.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:a.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:a.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()}}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:a,31:i,32:s,40:n,44:o,47:d},{8:[1,20]},t(c,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:e,28:r,29:a,31:i,32:s,40:n,44:o,47:d}),t(h,[2,16],{14:22,15:g,16:u}),t(h,[2,17]),t(h,[2,18]),t(h,[2,19]),t(h,[2,20]),t(h,[2,21]),t(h,[2,22]),t(p,[2,25],{27:[1,25]}),t(h,[2,26]),{19:26,26:12,32:s},{11:27,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:a,31:i,32:s,40:n,44:o,47:d},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},t(y,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},t(c,[2,13]),{26:35,32:s},{32:[2,14]},{17:[1,36]},t(p,[2,24]),{11:37,13:4,14:22,15:g,16:u,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:a,31:i,32:s,40:n,44:o,47:d},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},t(y,[2,30]),{18:[1,43]},{18:[1,44]},t(p,[2,23]),{18:[1,45]},{30:[1,46]},t(h,[2,28]),t(h,[2,35]),t(h,[2,36]),t(h,[2,37]),t(h,[2,38]),{37:[1,47]},{34:48,35:b},{15:[1,50]},t(h,[2,27]),t(y,[2,33]),{39:[1,51]},{34:52,35:b,39:[2,31]},{32:[2,15]},t(y,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:(0,l.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var r=Error(t);throw r.hash=e,r}},"parseError"),parse:(0,l.eW)(function(t){var e=this,r=[0],a=[],i=[null],s=[],n=this.table,o="",d=0,c=0,h=0,g=s.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(t,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var b=u.yylloc;s.push(b);var f=u.options&&u.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(){var t;return"number"!=typeof(t=a.pop()||u.lex()||1)&&(t instanceof Array&&(t=(a=t).pop()),t=e.symbols_[t]||t),t}(0,l.eW)(function(t){r.length=r.length-2*t,i.length=i.length-t,s.length=s.length-t},"popStack"),(0,l.eW)(x,"lex");for(var m,w,_,k,L,S,E,v,W,D={};;){if(_=r[r.length-1],this.defaultActions[_]?k=this.defaultActions[_]:(null==m&&(m=x()),k=n[_]&&n[_][m]),void 0===k||!k.length||!k[0]){var C="";for(S in W=[],n[_])this.terminals_[S]&&S>2&&W.push("'"+this.terminals_[S]+"'");C=u.showPosition?"Parse error on line "+(d+1)+":\n"+u.showPosition()+"\nExpecting "+W.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(d+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(C,{text:u.match,token:this.terminals_[m]||m,line:u.yylineno,loc:b,expected:W})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+m);switch(k[0]){case 1:r.push(m),i.push(u.yytext),s.push(u.yylloc),r.push(k[1]),m=null,w?(m=w,w=null):(c=u.yyleng,o=u.yytext,d=u.yylineno,b=u.yylloc,h>0&&h--);break;case 2:if(E=this.productions_[k[1]][1],D.$=i[i.length-E],D._$={first_line:s[s.length-(E||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(E||1)].first_column,last_column:s[s.length-1].last_column},f&&(D._$.range=[s[s.length-(E||1)].range[0],s[s.length-1].range[1]]),void 0!==(L=this.performAction.apply(D,[o,c,d,p.yy,k[1],i,s].concat(g))))return L;E&&(r=r.slice(0,-1*E*2),i=i.slice(0,-1*E),s=s.slice(0,-1*E)),r.push(this.productions_[k[1]][0]),i.push(D.$),s.push(D._$),v=n[r[r.length-2]][r[r.length-1]],r.push(v);break;case 3:return!0}}return!0},"parse")},x={EOF:1,parseError:(0,l.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,l.eW)(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},"setInput"),input:(0,l.eW)(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},"input"),unput:(0,l.eW)(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[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},"unput"),more:(0,l.eW)(function(){return this._more=!0,this},"more"),reject:(0,l.eW)(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})},"reject"),less:(0,l.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.eW)(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,"")},"upcomingInput"),showPosition:(0,l.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.eW)(function(t,e){var r,a,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))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var s in i)this[s]=i[s];return!1},"test_match"),next:(0,l.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,r,a,i=this._currentRules(),s=0;se[0].length)){if(e=r,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,i[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[a]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,l.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,l.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,l.eW)(function(t,e,r,a){switch(r){case 0:return 10;case 1:return t.getLogger().debug("Found space-block"),31;case 2:return t.getLogger().debug("Found nl-block"),31;case 3:return t.getLogger().debug("Found space-block"),29;case 4:t.getLogger().debug(".",e.yytext);break;case 5:t.getLogger().debug("_",e.yytext);break;case 6:return 5;case 7:return e.yytext=-1,28;case 8:return e.yytext=e.yytext.replace(/columns\s+/,""),t.getLogger().debug("COLUMNS (LEX)",e.yytext),28;case 9:case 77:case 78:case 100:this.pushState("md_string");break;case 10:return"MD_STR";case 11:case 35:case 80:this.popState();break;case 12:this.pushState("string");break;case 13:t.getLogger().debug("LEX: POPPING STR:",e.yytext),this.popState();break;case 14:return t.getLogger().debug("LEX: STR end:",e.yytext),"STR";case 15:return e.yytext=e.yytext.replace(/space\:/,""),t.getLogger().debug("SPACE NUM (LEX)",e.yytext),21;case 16:return e.yytext="1",t.getLogger().debug("COLUMNS (LEX)",e.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:case 39:case 41:case 42:case 45:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),t.getLogger().debug("Lex: ))"),"NODE_DEND";case 43:return this.popState(),t.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),t.getLogger().debug("Lex: -)"),"NODE_DEND";case 46:return this.popState(),t.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),t.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),t.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:case 50:return this.popState(),t.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),t.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),t.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),t.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),t.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return t.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return t.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return t.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:case 60:case 61:case 62:case 65:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return t.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 63:return t.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return t.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 66:case 67:case 68:case 69:case 70:case 71:case 72:return this.pushState("NODE"),36;case 73:return t.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),t.getLogger().debug("LEX ARR START"),38;case 75:return t.getLogger().debug("Lex: NODE_ID",e.yytext),32;case 76:return t.getLogger().debug("Lex: EOF",e.yytext),8;case 79:return"NODE_DESCR";case 81:t.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:t.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return t.getLogger().debug("LEX: NODE_DESCR:",e.yytext),"NODE_DESCR";case 84:t.getLogger().debug("LEX POPPING"),this.popState();break;case 85:t.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (right): dir:",e.yytext),"DIR";case 87:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (left):",e.yytext),"DIR";case 88:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (x):",e.yytext),"DIR";case 89:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (y):",e.yytext),"DIR";case 90:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (up):",e.yytext),"DIR";case 91:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (down):",e.yytext),"DIR";case 92:return e.yytext="]>",t.getLogger().debug("Lex (ARROW_DIR end):",e.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 94:case 95:case 96:return t.getLogger().debug("Lex: LINK",e.yytext),15;case 97:case 98:case 99:return t.getLogger().debug("Lex: START_LINK",e.yytext),this.pushState("LLABEL"),16;case 101:return t.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 103:case 104:return this.popState(),t.getLogger().debug("Lex: LINK",e.yytext),15;case 105:return t.getLogger().debug("Lex: COLON",e.yytext),e.yytext=e.yytext.slice(1),27}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}};function m(){this.yy={}}return f.lexer=x,(0,l.eW)(m,"Parser"),m.prototype=f,f.Parser=m,new m}();u.parser=u;var p=new Map,y=[],b=new Map,f="color",x="fill",m=(0,l.nV)(),w=new Map,_=(0,l.eW)(t=>l.SY.sanitizeText(t,m),"sanitizeText"),k=(0,l.eW)(function(t,e=""){let r=w.get(t);!r&&(r={id:t,styles:[],textStyles:[]},w.set(t,r)),null!=e&&e.split(",").forEach(t=>{let e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(f).exec(t)){let t=e.replace(x,"bgFill").replace(f,x);r.textStyles.push(t)}r.styles.push(e)})},"addStyleClass"),L=(0,l.eW)(function(t,e=""){let r=p.get(t);null!=e&&(r.styles=e.split(","))},"addStyle2Node"),S=(0,l.eW)(function(t,e){t.split(",").forEach(function(t){let r=p.get(t);if(void 0===r){let e=t.trim();r={id:e,type:"na",children:[]},p.set(e,r)}!r.classes&&(r.classes=[]),r.classes.push(e)})},"setCssClass"),E=(0,l.eW)((t,e)=>{let r=t.flat(),a=[];for(let t of r){if(t.label&&(t.label=_(t.label)),"classDef"===t.type){k(t.id,t.css);continue}if("applyClass"===t.type){S(t.id,t?.styleClass??"");continue}if("applyStyles"===t.type){t?.stylesStr&&L(t.id,t?.stylesStr);continue}if("column-setting"===t.type)e.columns=t.columns??-1;else if("edge"===t.type){let e=(b.get(t.id)??0)+1;b.set(t.id,e),t.id=e+"-"+t.id,y.push(t)}else{!t.label&&("composite"===t.type?t.label="":t.label=t.id);let e=p.get(t.id);if(void 0===e?p.set(t.id,t):("na"!==t.type&&(e.type=t.type),t.label!==t.id&&(e.label=t.label)),t.children&&E(t.children,t),"space"===t.type){let e=t.width??1;for(let r=0;r{l.cM.debug("Clear called"),(0,l.ZH)(),p=new Map([["root",W={id:"root",type:"composite",children:[],columns:-1}]]),v=[],w=new Map,y=[],b=new Map},"clear");function C(t){switch(l.cM.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return l.cM.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function N(t){if(l.cM.debug("typeStr2Type",t),"=="===t)return"thick";return"normal"}function $(t){switch(t.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}}(0,l.eW)(C,"typeStr2Type"),(0,l.eW)(N,"edgeTypeStr2Type"),(0,l.eW)($,"edgeStrToEdgeData");var M=0,T=(0,l.eW)(()=>(M++,"id-"+Math.random().toString(36).substr(2,12)+"-"+M),"generateId"),O=(0,l.eW)(t=>{W.children=t,E(t,W),v=W.children},"setHierarchy"),I=(0,l.eW)(t=>{let e=p.get(t);return e?e.columns?e.columns:e.children?e.children.length:-1:-1},"getColumns"),B=(0,l.eW)(()=>[...p.values()],"getBlocksFlat"),z=(0,l.eW)(()=>v||[],"getBlocks"),R=(0,l.eW)(()=>y,"getEdges"),A=(0,l.eW)(t=>p.get(t),"getBlock"),P=(0,l.eW)(t=>{p.set(t.id,t)},"setBlock"),Y=(0,l.eW)(()=>console,"getLogger"),Z=(0,l.eW)(function(){return w},"getClasses"),F={getConfig:(0,l.eW)(()=>(0,l.iE)().block,"getConfig"),typeStr2Type:C,edgeTypeStr2Type:N,edgeStrToEdgeData:$,getLogger:Y,getBlocksFlat:B,getBlocks:z,getEdges:R,setHierarchy:O,getBlock:A,setBlock:P,getColumns:I,getClasses:Z,clear:D,generateId:T},j=(0,l.eW)((t,e)=>{let r=d.Z,a=r(t,"r"),i=r(t,"g"),s=r(t,"b");return c.Z(a,i,s,e)},"fade"),X=(0,l.eW)(t=>`.label { + font-family: ${t.fontFamily}; + color: ${t.nodeTextColor||t.textColor}; + } + .cluster-label text { + fill: ${t.titleColor}; + } + .cluster-label span,p { + color: ${t.titleColor}; + } + + + + .label text,span,p { + fill: ${t.nodeTextColor||t.textColor}; + color: ${t.nodeTextColor||t.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: 1px; + } + .flowchart-label text { + text-anchor: middle; + } + // .flowchart-label .text-outer-tspan { + // text-anchor: middle; + // } + // .flowchart-label .text-inner-tspan { + // text-anchor: start; + // } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${t.arrowheadColor}; + } + + .edgePath .path { + stroke: ${t.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${t.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${t.edgeLabelBackground}; + rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; + } + + /* For html labels only */ + .labelBkg { + background-color: ${j(t.edgeLabelBackground,.5)}; + // background-color: + } + + .node .cluster { + // fill: ${j(t.mainBkg,.5)}; + fill: ${j(t.clusterBkg,.5)}; + stroke: ${j(t.clusterBorder,.2)}; + box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; + stroke-width: 1px; + } + + .cluster text { + fill: ${t.titleColor}; + } + + .cluster span,p { + color: ${t.titleColor}; + } + /* .cluster div { + color: ${t.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${t.fontFamily}; + font-size: 12px; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } +`,"getStyles"),H=(0,l.eW)((t,e,r,a)=>{e.forEach(e=>{te[e](t,r,a)})},"insertMarkers"),U=(0,l.eW)((t,e,r)=>{l.cM.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).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",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),K=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).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",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).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")},"composition"),V=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).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",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).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"),q=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).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",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).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")},"dependency"),G=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),J=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).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",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).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")},"point"),Q=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"circle"),tt=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"cross"),te={extension:U,composition:K,aggregation:V,dependency:q,lollipop:G,point:J,circle:Q,cross:tt,barb:(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+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")},"barb")},tr=l.nV()?.block?.padding??8;function ta(t,e){if(0===t||!Number.isInteger(t))throw Error("Columns must be an integer !== 0.");if(e<0||!Number.isInteger(e))throw Error("Position must be a non-negative integer."+e);if(t<0)return{px:e,py:0};if(1===t)return{px:0,py:e};let r=Math.floor(e/t);return{px:e%t,py:r}}(0,l.eW)(ta,"calculateBlockPosition");var ti=(0,l.eW)(t=>{let e=0,r=0;for(let a of t.children){let{width:i,height:s,x:n,y:o}=a.size??{width:0,height:0,x:0,y:0};if(l.cM.debug("getMaxChildSize abc95 child:",a.id,"width:",i,"height:",s,"x:",n,"y:",o,a.type),"space"!==a.type)i>e&&(e=i/(t.widthInColumns??1)),s>r&&(r=s)}return{width:e,height:r}},"getMaxChildSize");function ts(t,e,r=0,a=0){l.cM.debug("setBlockSizes abc95 (start)",t.id,t?.size?.x,"block width =",t?.size,"sieblingWidth",r),!t?.size?.width&&(t.size={width:r,height:a,x:0,y:0});let i=0,s=0;if(t.children?.length>0){for(let r of t.children)ts(r,e);let n=ti(t);for(let e of(i=n.width,s=n.height,l.cM.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",i,s),t.children))e.size&&(l.cM.debug(`abc95 Setting size of children of ${t.id} id=${e.id} ${i} ${s} ${JSON.stringify(e.size)}`),e.size.width=i*(e.widthInColumns??1)+tr*((e.widthInColumns??1)-1),e.size.height=s,e.size.x=0,e.size.y=0,l.cM.debug(`abc95 updating size of ${t.id} children child:${e.id} maxWidth:${i} maxHeight:${s}`));for(let r of t.children)ts(r,e,i,s);let o=t.columns??-1,d=0;for(let e of t.children)d+=e.widthInColumns??1;let c=t.children.length;o>0&&o0?Math.min(t.children.length,o):t.children.length;if(e>0){let r=(g-e*tr-tr)/e;for(let e of(l.cM.debug("abc95 (growing to fit) width",t.id,g,t.size?.width,r),t.children))e.size&&(e.size.width=r)}}t.size={width:g,height:u,x:0,y:0}}l.cM.debug("setBlockSizes abc94 (done)",t.id,t?.size?.x,t?.size?.width,t?.size?.y,t?.size?.height)}function tn(t,e){l.cM.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`);let r=t.columns??-1;if(l.cM.debug("layoutBlocks columns abc95",t.id,"=>",r,t),t.children&&t.children.length>0){let a=t?.children[0]?.size?.width??0,i=t.children.length*a+(t.children.length-1)*tr;l.cM.debug("widthOfChildren 88",i,"posX");let s=0;l.cM.debug("abc91 block?.size?.x",t.id,t?.size?.x);let n=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-tr,o=0;for(let a of t.children){if(!a.size)continue;let{width:i,height:d}=a.size,{px:c,py:h}=ta(r,s);if(h!=o&&(o=h,n=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-tr,l.cM.debug("New row in layout for block",t.id," and child ",a.id,o)),l.cM.debug(`abc89 layout blocks (child) id: ${a.id} Pos: ${s} (px, py) ${c},${h} (${t?.size?.x},${t?.size?.y}) parent: ${t.id} width: ${i}${tr}`),t.size){let e=i/2;a.size.x=n+tr+e,l.cM.debug(`abc91 layout blocks (calc) px, pyid:${a.id} startingPos=X${n} new startingPosX${a.size.x} ${e} padding=${tr} width=${i} halfWidth=${e} => x:${a.size.x} y:${a.size.y} ${a.widthInColumns} (width * (child?.w || 1)) / 2 ${i*(a?.widthInColumns??1)/2}`),n=a.size.x+e,a.size.y=t.size.y-t.size.height/2+h*(d+tr)+d/2+tr,l.cM.debug(`abc88 layout blocks (calc) px, pyid:${a.id}startingPosX${n}${tr}${e}=>x:${a.size.x}y:${a.size.y}${a.widthInColumns}(width * (child?.w || 1)) / 2${i*(a?.widthInColumns??1)/2}`)}a.children&&tn(a,e),s+=a?.widthInColumns??1,l.cM.debug("abc88 columnsPos",a,s)}}l.cM.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`)}function tl(t,{minX:e,minY:r,maxX:a,maxY:i}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&"root"!==t.id){let{x:s,y:n,width:l,height:o}=t.size;s-l/2a&&(a=s+l/2),n+o/2>i&&(i=n+o/2)}if(t.children)for(let s of t.children)({minX:e,minY:r,maxX:a,maxY:i}=tl(s,{minX:e,minY:r,maxX:a,maxY:i}));return{minX:e,minY:r,maxX:a,maxY:i}}function to(t){let e=t.getBlock("root");if(!e)return;ts(e,t,0,0),tn(e,t),l.cM.debug("getBlocks",JSON.stringify(e,null,2));let{minX:r,minY:a,maxX:i,maxY:s}=tl(e);return{x:r,y:a,width:i-r,height:s-a}}function td(t,e){e&&t.attr("style",e)}function tc(t){let e=(0,h.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),a=t.label,i=t.isNode?"nodeLabel":"edgeLabel",s=r.append("span");return s.html(a),td(s,t.labelStyle),s.attr("class",i),td(r,t.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}(0,l.eW)(ts,"setBlockSizes"),(0,l.eW)(tn,"layoutBlocks"),(0,l.eW)(tl,"findBounds"),(0,l.eW)(to,"layout"),(0,l.eW)(td,"applyStyle"),(0,l.eW)(tc,"addHtmlLabel");var th=(0,l.eW)((t,e,r,a)=>{let i=t||"";if("object"==typeof i&&(i=i[0]),(0,l.ku)((0,l.nV)().flowchart.htmlLabels))return i=i.replace(/\\n|\n/g,"
    "),l.cM.debug("vertexText"+i),tc({isNode:a,label:(0,s.EY)((0,n.SH)(i)),labelStyle:e.replace("fill:","color:")});{let t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let a=[];for(let e of a="string"==typeof i?i.split(/\\n|\n|/gi):Array.isArray(i)?i:[]){let a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),r?a.setAttribute("class","title-row"):a.setAttribute("class","row"),a.textContent=e.trim(),t.appendChild(a)}return t}},"createLabel"),tg=(0,l.eW)((t,e,r,a,i)=>{e.arrowTypeStart&&tp(t,"start",e.arrowTypeStart,r,a,i),e.arrowTypeEnd&&tp(t,"end",e.arrowTypeEnd,r,a,i)},"addEdgeMarkers"),tu={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},tp=(0,l.eW)((t,e,r,a,i,s)=>{let n=tu[r];if(!n){l.cM.warn(`Unknown arrow type: ${r}`);return}t.attr(`marker-${e}`,`url(${a}#${i}_${s}-${n}${"start"===e?"Start":"End"})`)},"addEdgeMarker"),ty={},tb={},tf=(0,l.eW)((t,e)=>{let r;let a=(0,l.nV)(),i=(0,l.ku)(a.flowchart.htmlLabels),n="markdown"===e.labelType?(0,s.rw)(t,e.label,{style:e.labelStyle,useHtmlLabels:i,addSvgBackground:!0},a):th(e.label,e.labelStyle),o=t.insert("g").attr("class","edgeLabel"),d=o.insert("g").attr("class","label");d.node().appendChild(n);let c=n.getBBox();if(i){let t=n.children[0],e=(0,h.Ys)(n);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}if(d.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),ty[e.id]=o,e.width=c.width,e.height=c.height,e.startLabelLeft){let a=th(e.startLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),!tb[e.id]&&(tb[e.id]={}),tb[e.id].startLeft=i,tx(r,e.startLabelLeft)}if(e.startLabelRight){let a=th(e.startLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=i.node().appendChild(a),s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),!tb[e.id]&&(tb[e.id]={}),tb[e.id].startRight=i,tx(r,e.startLabelRight)}if(e.endLabelLeft){let a=th(e.endLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),i.node().appendChild(a),!tb[e.id]&&(tb[e.id]={}),tb[e.id].endLeft=i,tx(r,e.endLabelLeft)}if(e.endLabelRight){let a=th(e.endLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),i.node().appendChild(a),!tb[e.id]&&(tb[e.id]={}),tb[e.id].endRight=i,tx(r,e.endLabelRight)}return n},"insertEdgeLabel");function tx(t,e){(0,l.nV)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,l.eW)(tx,"setTerminalWidth");var tm=(0,l.eW)((t,e)=>{l.cM.debug("Moving label abc88 ",t.id,t.label,ty[t.id],e);let r=e.updatedPath?e.updatedPath:e.originalPath,a=(0,l.nV)(),{subGraphTitleTotalMargin:s}=(0,i.L)(a);if(t.label){let a=ty[t.id],i=t.x,o=t.y;if(r){let a=n.w8.calcLabelPosition(r);l.cM.debug("Moving label "+t.label+" from (",i,",",o,") to (",a.x,",",a.y,") abc88"),e.updatedPath&&(i=a.x,o=a.y)}a.attr("transform",`translate(${i}, ${o+s/2})`)}if(t.startLabelLeft){let e=tb[t.id].startLeft,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.startLabelRight){let e=tb[t.id].startRight,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.endLabelLeft){let e=tb[t.id].endLeft,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.endLabelRight){let e=tb[t.id].endRight,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}},"positionEdgeLabel"),tw=(0,l.eW)((t,e)=>{let r=t.x,a=t.y,i=Math.abs(e.x-r),s=Math.abs(e.y-a),n=t.width/2,l=t.height/2;return!!(i>=n)||!!(s>=l)||!1},"outsideNode"),t_=(0,l.eW)((t,e,r)=>{l.cM.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(e)} + insidePoint : ${JSON.stringify(r)} + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let a=t.x,i=t.y,s=Math.abs(a-r.x),n=t.width/2,o=r.xMath.abs(a-e.x)*d){let t=r.y{l.cM.debug("abc88 cutPathAtIntersect",t,e);let r=[],a=t[0],i=!1;return t.forEach(t=>{if(tw(e,t)||i)a=t,!i&&r.push(t);else{let s=t_(e,a,t),n=!1;r.forEach(t=>{n=n||t.x===s.x&&t.y===s.y}),!r.some(t=>t.x===s.x&&t.y===s.y)&&r.push(s),i=!0}}),r},"cutPathAtIntersect"),tL=(0,l.eW)(function(t,e,r,i,s,n,o){let d,c=r.points;l.cM.debug("abc88 InsertEdge: edge=",r,"e=",e);let g=!1,u=n.node(e.v);var p=n.node(e.w);p?.intersect&&u?.intersect&&((c=c.slice(1,r.points.length-1)).unshift(u.intersect(c[0])),c.push(p.intersect(c[c.length-1]))),r.toCluster&&(l.cM.debug("to cluster abc88",i[r.toCluster]),c=tk(r.points,i[r.toCluster].node),g=!0),r.fromCluster&&(l.cM.debug("from cluster abc88",i[r.fromCluster]),c=tk(c.reverse(),i[r.fromCluster].node).reverse(),g=!0);let y=c.filter(t=>!Number.isNaN(t.y)),b=h.$0Z;r.curve&&("graph"===s||"flowchart"===s)&&(b=r.curve);let{x:f,y:x}=(0,a.o)(r),m=(0,h.jvg)().x(f).y(x).curve(b);switch(r.thickness){case"normal":d="edge-thickness-normal";break;case"thick":case"invisible":d="edge-thickness-thick";break;default:d=""}switch(r.pattern){case"solid":d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}let w=t.append("path").attr("d",m(y)).attr("id",r.id).attr("class"," "+d+(r.classes?" "+r.classes:"")).attr("style",r.style),_="";((0,l.nV)().flowchart.arrowMarkerAbsolute||(0,l.nV)().state.arrowMarkerAbsolute)&&(_=(_=(_=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),tg(w,r,_,o,s);let k={};return g&&(k.updatedPath=c),k.originalPath=r.points,k},"insertEdge"),tS=(0,l.eW)(t=>{let e=new Set;for(let r of t)switch(r){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(r)}return e},"expandAndDeduplicateDirections"),tE=(0,l.eW)((t,e,r)=>{let a=tS(t),i=e.height+2*r.padding,s=i/2,n=e.width+2*s+r.padding,l=r.padding/2;return a.has("right")&&a.has("left")&&a.has("up")&&a.has("down")?[{x:0,y:0},{x:s,y:0},{x:n/2,y:2*l},{x:n-s,y:0},{x:n,y:0},{x:n,y:-i/3},{x:n+2*l,y:-i/2},{x:n,y:-2*i/3},{x:n,y:-i},{x:n-s,y:-i},{x:n/2,y:-i-2*l},{x:s,y:-i},{x:0,y:-i},{x:0,y:-2*i/3},{x:-2*l,y:-i/2},{x:0,y:-i/3}]:a.has("right")&&a.has("left")&&a.has("up")?[{x:s,y:0},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:s,y:-i},{x:0,y:-i/2}]:a.has("right")&&a.has("left")&&a.has("down")?[{x:0,y:0},{x:s,y:-i},{x:n-s,y:-i},{x:n,y:0}]:a.has("right")&&a.has("up")&&a.has("down")?[{x:0,y:0},{x:n,y:-s},{x:n,y:-i+s},{x:0,y:-i}]:a.has("left")&&a.has("up")&&a.has("down")?[{x:n,y:0},{x:0,y:-s},{x:0,y:-i+s},{x:n,y:-i}]:a.has("right")&&a.has("left")?[{x:s,y:0},{x:s,y:-l},{x:n-s,y:-l},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:n-s,y:-i+l},{x:s,y:-i+l},{x:s,y:-i},{x:0,y:-i/2}]:a.has("up")&&a.has("down")?[{x:n/2,y:0},{x:0,y:-l},{x:s,y:-l},{x:s,y:-i+l},{x:0,y:-i+l},{x:n/2,y:-i},{x:n,y:-i+l},{x:n-s,y:-i+l},{x:n-s,y:-l},{x:n,y:-l}]:a.has("right")&&a.has("up")?[{x:0,y:0},{x:n,y:-s},{x:0,y:-i}]:a.has("right")&&a.has("down")?[{x:0,y:0},{x:n,y:0},{x:0,y:-i}]:a.has("left")&&a.has("up")?[{x:n,y:0},{x:0,y:-s},{x:n,y:-i}]:a.has("left")&&a.has("down")?[{x:n,y:0},{x:0,y:0},{x:n,y:-i}]:a.has("right")?[{x:s,y:-l},{x:s,y:-l},{x:n-s,y:-l},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:n-s,y:-i+l},{x:s,y:-i+l},{x:s,y:-i+l}]:a.has("left")?[{x:s,y:0},{x:s,y:-l},{x:n-s,y:-l},{x:n-s,y:-i+l},{x:s,y:-i+l},{x:s,y:-i},{x:0,y:-i/2}]:a.has("up")?[{x:s,y:-l},{x:s,y:-i+l},{x:0,y:-i+l},{x:n/2,y:-i},{x:n,y:-i+l},{x:n-s,y:-i+l},{x:n-s,y:-l}]:a.has("down")?[{x:n/2,y:0},{x:0,y:-l},{x:s,y:-l},{x:s,y:-i+l},{x:n-s,y:-i+l},{x:n-s,y:-l},{x:n,y:-l}]:[{x:0,y:0}]},"getArrowPoints");function tv(t,e){return t.intersect(e)}(0,l.eW)(tv,"intersectNode");function tW(t,e,r,a){var i=t.x,s=t.y,n=i-a.x,l=s-a.y,o=Math.sqrt(e*e*l*l+r*r*n*n),d=Math.abs(e*r*n/o);a.x0}(0,l.eW)(tC,"intersectLine"),(0,l.eW)(tN,"sameSign");function t$(t,e,r){var a=t.x,i=t.y,s=[],n=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach(function(t){n=Math.min(n,t.x),l=Math.min(l,t.y)}):(n=Math.min(n,e.x),l=Math.min(l,e.y));for(var o=a-t.width/2-n,d=i-t.height/2-l,c=0;c1&&s.sort(function(t,e){var a=t.x-r.x,i=t.y-r.y,s=Math.sqrt(a*a+i*i),n=e.x-r.x,l=e.y-r.y,o=Math.sqrt(n*n+l*l);return s{var r,a,i=t.x,s=t.y,n=e.x-i,l=e.y-s,o=t.width/2,d=t.height/2;return Math.abs(l)*o>Math.abs(n)*d?(l<0&&(d=-d),r=0===l?0:d*n/l,a=d):(n<0&&(o=-o),r=o,a=0===n?0:o*l/n),{x:i+r,y:s+a}},"intersectRect"),tT=tD,tO=t$,tI=tM,tB=(0,l.eW)(async(t,e,r,a)=>{let i,o,d;let c=(0,l.nV)(),g=e.useHtmlLabels||(0,l.ku)(c.flowchart.htmlLabels);i=r?r:"node default";let u=t.insert("g").attr("class",i).attr("id",e.domId||e.id),p=u.insert("g").attr("class","label").attr("style",e.labelStyle);o=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];let y=p.node(),b=(d="markdown"===e.labelType?(0,s.rw)(p,(0,l.oO)((0,n.SH)(o),c),{useHtmlLabels:g,width:e.width||c.flowchart.wrappingWidth,classes:"markdown-node-label"},c):y.appendChild(th((0,l.oO)((0,n.SH)(o),c),e.labelStyle,!1,a))).getBBox(),f=e.padding/2;if((0,l.ku)(c.flowchart.htmlLabels)){let t=d.children[0],e=(0,h.Ys)(d),r=t.getElementsByTagName("img");if(r){let t=""===o.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function a(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=c.fontSize?c.fontSize:window.getComputedStyle(document.body).fontSize,r=5*parseInt(t,10)+"px";e.style.minWidth=r,e.style.maxWidth=r}else e.style.width="100%";r(e)}(0,l.eW)(a,"setupImage"),setTimeout(()=>{e.complete&&a()}),e.addEventListener("error",a),e.addEventListener("load",a)})))}b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}return g?p.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"):p.attr("transform","translate(0, "+-b.height/2+")"),e.centerLabel&&p.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"),p.insert("rect",":first-child"),{shapeSvg:u,bbox:b,halfPadding:f,label:p}},"labelHelper"),tz=(0,l.eW)((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds");function tR(t,e,r,a){return t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}(0,l.eW)(tR,"insertPolygonShape");var tA=(0,l.eW)(async(t,e)=>{!(e.useHtmlLabels||(0,l.nV)().flowchart.htmlLabels)&&(e.centerLabel=!0);let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,"node "+e.classes,!0);l.cM.info("Classes = ",e.classes);let s=r.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-a.width/2-i).attr("y",-a.height/2-i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),tz(e,s),e.intersect=function(t){return tI(e,t)},r},"note"),tP=(0,l.eW)(t=>t?" "+t:"","formatClass"),tY=(0,l.eW)((t,e)=>`${e||"node default"}${tP(t.classes)} ${tP(t.class)}`,"getClassesFromNode"),tZ=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=i+(a.height+e.padding),n=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}];l.cM.info("Question main (Circle)");let o=tR(r,s,s,n);return o.attr("style",e.style),tz(e,o),e.intersect=function(t){return l.cM.warn("Intersect called"),tO(e,n,t)},r},"question"),tF=(0,l.eW)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(t){return t.x+","+t.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return tT(e,14,t)},r},"choice"),tj=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.height+e.padding,s=i/4,n=a.width+2*s+e.padding,l=[{x:s,y:0},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:s,y:-i},{x:0,y:-i/2}],o=tR(r,n,i,l);return o.attr("style",e.style),tz(e,o),e.intersect=function(t){return tO(e,l,t)},r},"hexagon"),tX=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,void 0,!0),i=a.height+2*e.padding,s=i/2,n=a.width+2*s+e.padding,l=tE(e.directions,a,e),o=tR(r,n,i,l);return o.attr("style",e.style),tz(e,o),e.intersect=function(t){return tO(e,l,t)},r},"block_arrow"),tH=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-s/2,y:0},{x:i,y:0},{x:i,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return tR(r,i,s,n).attr("style",e.style),e.width=i+s,e.height=s,e.intersect=function(t){return tO(e,n,t)},r},"rect_left_inv_arrow"),tU=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-2*s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"lean_right"),tK=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:2*s/6,y:0},{x:i+s/6,y:0},{x:i-2*s/6,y:-s},{x:-s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"lean_left"),tV=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-2*s/6,y:0},{x:i+2*s/6,y:0},{x:i-s/6,y:-s},{x:s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"trapezoid"),tq=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:-2*s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"inv_trapezoid"),tG=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:0,y:0},{x:i+s/2,y:0},{x:i,y:-s/2},{x:i+s/2,y:-s},{x:0,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"rect_right_inv_arrow"),tJ=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=i/2,n=s/(2.5+i/50),l=a.height+n+e.padding,o=r.attr("label-offset-y",n).insert("path",":first-child").attr("style",e.style).attr("d","M 0,"+n+" a "+s+","+n+" 0,0,0 "+i+" 0 a "+s+","+n+" 0,0,0 "+-i+" 0 l 0,"+l+" a "+s+","+n+" 0,0,0 "+i+" 0 l 0,"+-l).attr("transform","translate("+-i/2+","+-(l/2+n)+")");return tz(e,o),e.intersect=function(t){let r=tI(e,t),a=r.x-e.x;if(0!=s&&(Math.abs(a)e.height/2-n)){let i=n*n*(1-a*a/(s*s));0!=i&&(i=Math.sqrt(i)),i=n-i,t.y-e.y>0&&(i=-i),r.y+=i}return r},r},"cylinder"),tQ=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,"node "+e.classes+" "+e.class,!0),s=r.insert("rect",":first-child"),n=e.positioned?e.width:a.width+e.padding,o=e.positioned?e.height:a.height+e.padding,d=e.positioned?-n/2:-a.width/2-i,c=e.positioned?-o/2:-a.height/2-i;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",c).attr("width",n).attr("height",o),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t2(s,e.props.borders,n,o),t.delete("borders")),t.forEach(t=>{l.cM.warn(`Unknown node property ${t}`)})}return tz(e,s),e.intersect=function(t){return tI(e,t)},r},"rect"),t0=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,"node "+e.classes,!0),s=r.insert("rect",":first-child"),n=e.positioned?e.width:a.width+e.padding,o=e.positioned?e.height:a.height+e.padding,d=e.positioned?-n/2:-a.width/2-i,c=e.positioned?-o/2:-a.height/2-i;if(s.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",c).attr("width",n).attr("height",o),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t2(s,e.props.borders,n,o),t.delete("borders")),t.forEach(t=>{l.cM.warn(`Unknown node property ${t}`)})}return tz(e,s),e.intersect=function(t){return tI(e,t)},r},"composite"),t1=(0,l.eW)(async(t,e)=>{let{shapeSvg:r}=await tB(t,e,"label",!0);l.cM.trace("Classes = ",e.class);let a=r.insert("rect",":first-child");if(a.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t2(a,e.props.borders,0,0),t.delete("borders")),t.forEach(t=>{l.cM.warn(`Unknown node property ${t}`)})}return tz(e,a),e.intersect=function(t){return tI(e,t)},r},"labelRect");function t2(t,e,r,a){let i=[],s=(0,l.eW)(t=>{i.push(t,0)},"addBorder"),n=(0,l.eW)(t=>{i.push(0,t)},"skipBorder");e.includes("t")?(l.cM.debug("add top border"),s(r)):n(r),e.includes("r")?(l.cM.debug("add right border"),s(a)):n(a),e.includes("b")?(l.cM.debug("add bottom border"),s(r)):n(r),e.includes("l")?(l.cM.debug("add left border"),s(a)):n(a),t.attr("stroke-dasharray",i.join(" "))}(0,l.eW)(t2,"applyNodePropertyBorders");var t3=(0,l.eW)((t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";let a=t.insert("g").attr("class",r).attr("id",e.domId||e.id),i=a.insert("rect",":first-child"),s=a.insert("line"),n=a.insert("g").attr("class","label"),o=e.labelText.flat?e.labelText.flat():e.labelText,d="";d="object"==typeof o?o[0]:o,l.cM.info("Label text abc79",d,o,"object"==typeof o);let c=n.node().appendChild(th(d,e.labelStyle,!0,!0)),g={width:0,height:0};if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=c.children[0],e=(0,h.Ys)(c);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}l.cM.info("Text 2",o);let u=o.slice(1,o.length),p=c.getBBox(),y=n.node().appendChild(th(u.join?u.join("
    "):u,e.labelStyle,!0,!0));if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=y.children[0],e=(0,h.Ys)(y);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}let b=e.padding/2;return(0,h.Ys)(y).attr("transform","translate( "+(g.width>p.width?0:(p.width-g.width)/2)+", "+(p.height+b+5)+")"),(0,h.Ys)(c).attr("transform","translate( "+(g.width{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.height+e.padding,s=a.width+i/4+e.padding,n=r.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-s/2).attr("y",-i/2).attr("width",s).attr("height",i);return tz(e,n),e.intersect=function(t){return tI(e,t)},r},"stadium"),t8=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,tY(e,void 0),!0),s=r.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),l.cM.info("Circle main"),tz(e,s),e.intersect=function(t){return l.cM.info("Circle intersect",e,a.width/2+i,t),tT(e,a.width/2+i,t)},r},"circle"),t5=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,tY(e,void 0),!0),s=r.insert("g",":first-child"),n=s.insert("circle"),o=s.insert("circle");return s.attr("class",e.class),n.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i+5).attr("width",a.width+e.padding+10).attr("height",a.height+e.padding+10),o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),l.cM.info("DoubleCircle main"),tz(e,n),e.intersect=function(t){return l.cM.info("DoubleCircle intersect",e,a.width/2+i+5,t),tT(e,a.width/2+i+5,t)},r},"doublecircle"),t9=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:0,y:0},{x:i,y:0},{x:i,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"subroutine"),t6=(0,l.eW)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),tz(e,a),e.intersect=function(t){return tT(e,7,t)},r},"start"),t7=(0,l.eW)((t,e,r)=>{let a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=70,s=10;return"LR"===r&&(i=10,s=70),tz(e,a.append("rect").attr("x",-1*i/2).attr("y",-1*s/2).attr("width",i).attr("height",s).attr("class","fork-join")),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return tI(e,t)},a},"forkJoin"),et=(0,l.eW)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child"),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),a.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),tz(e,i),e.intersect=function(t){return tT(e,7,t)},r},"end"),ee={rhombus:tZ,composite:t0,question:tZ,rect:tQ,labelRect:t1,rectWithTitle:t3,choice:tF,circle:t8,doublecircle:t5,stadium:t4,hexagon:tj,block_arrow:tX,rect_left_inv_arrow:tH,lean_right:tU,lean_left:tK,trapezoid:tV,inv_trapezoid:tq,rect_right_inv_arrow:tG,cylinder:tJ,start:t6,end:et,note:tA,subroutine:t9,fork:t7,join:t7,class_box:(0,l.eW)((t,e)=>{let r;let a=e.padding/2;r=e.classes?"node "+e.classes:"node default";let i=t.insert("g").attr("class",r).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),n=i.insert("line"),o=i.insert("line"),d=0,c=4,g=i.insert("g").attr("class","label"),u=0,p=e.classData.annotations?.[0],y=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",b=g.node().appendChild(th(y,e.labelStyle,!0,!0)),f=b.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=b.children[0],e=(0,h.Ys)(b);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}e.classData.annotations[0]&&(c+=f.height+4,d+=f.width);let x=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,l.nV)().flowchart.htmlLabels?x+="<"+e.classData.type+">":x+="<"+e.classData.type+">");let m=g.node().appendChild(th(x,e.labelStyle,!0,!0));(0,h.Ys)(m).attr("class","classTitle");let w=m.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=m.children[0],e=(0,h.Ys)(m);w=t.getBoundingClientRect(),e.attr("width",w.width),e.attr("height",w.height)}c+=w.height+4,w.width>d&&(d=w.width);let _=[];e.classData.members.forEach(t=>{let r=t.getDisplayDetails(),a=r.displayText;(0,l.nV)().flowchart.htmlLabels&&(a=a.replace(//g,">"));let i=g.node().appendChild(th(a,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=i.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=i.children[0],e=(0,h.Ys)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>d&&(d=s.width),c+=s.height+4,_.push(i)}),c+=8;let k=[];if(e.classData.methods.forEach(t=>{let r=t.getDisplayDetails(),a=r.displayText;(0,l.nV)().flowchart.htmlLabels&&(a=a.replace(//g,">"));let i=g.node().appendChild(th(a,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=i.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=i.children[0],e=(0,h.Ys)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>d&&(d=s.width),c+=s.height+4,k.push(i)}),c+=8,p){let t=(d-f.width)/2;(0,h.Ys)(b).attr("transform","translate( "+(-1*d/2+t)+", "+-1*c/2+")"),u=f.height+4}let L=(d-w.width)/2;return(0,h.Ys)(m).attr("transform","translate( "+(-1*d/2+L)+", "+(-1*c/2+u)+")"),u+=w.height+4,n.attr("class","divider").attr("x1",-d/2-a).attr("x2",d/2+a).attr("y1",-c/2-a+8+u).attr("y2",-c/2-a+8+u),u+=8,_.forEach(t=>{(0,h.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*c/2+u+4)+")");let e=t?.getBBox();u+=(e?.height??0)+4}),u+=8,o.attr("class","divider").attr("x1",-d/2-a).attr("x2",d/2+a).attr("y1",-c/2-a+8+u).attr("y2",-c/2-a+8+u),u+=8,k.forEach(t=>{(0,h.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*c/2+u)+")");let e=t?.getBBox();u+=(e?.height??0)+4}),s.attr("style",e.style).attr("class","outer title-state").attr("x",-d/2-a).attr("y",-(c/2)-a).attr("width",d+e.padding).attr("height",c+e.padding),tz(e,s),e.intersect=function(t){return tI(e,t)},i},"class_box")},er={},ea=(0,l.eW)(async(t,e,r)=>{let a,i;if(e.link){let s;"sandbox"===(0,l.nV)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),a=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),i=await ee[e.shape](a,e,r)}else a=i=await ee[e.shape](t,e,r);return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),er[e.id]=a,e.haveCallback&&er[e.id].attr("class",er[e.id].attr("class")+" clickable"),a},"insertNode"),ei=(0,l.eW)(t=>{let e=er[t.id];l.cM.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode");function es(t,e,r=!1){let a;let i="default";(t?.classes?.length||0)>0&&(i=(t?.classes??[]).join(" ")),i+=" flowchart-label";let s=0,o="";switch(t.type){case"round":s=5,o="rect";break;case"composite":s=0,o="composite",a=0;break;case"square":case"group":default:o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"block_arrow":o="block_arrow";break;case"odd":case"rect_left_inv_arrow":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"doublecircle":o="doublecircle"}let d=(0,n.be)(t?.styles??[]),c=t.label,h=t.size??{width:0,height:0,x:0,y:0};return{labelStyle:d.labelStyle,shape:o,labelText:c,rx:s,ry:s,class:i,style:d.style,id:t.id,directions:t.directions,width:h.width,height:h.height,x:h.x,y:h.y,positioned:r,intersect:void 0,type:t.type,padding:a??l.iE()?.block?.padding??0}}async function en(t,e,r){let a=es(e,r,!1);if("group"===a.type)return;let i=(0,l.iE)(),s=await ea(t,a,{config:i}),n=s.node().getBBox(),o=r.getBlock(a.id);o.size={width:n.width,height:n.height,x:0,y:0,node:s},r.setBlock(o),s.remove()}async function el(t,e,r){let a=es(e,r,!0);if("space"!==r.getBlock(a.id).type){let r=(0,l.iE)();await ea(t,a,{config:r}),e.intersect=a?.intersect,ei(a)}}async function eo(t,e,r,a){for(let i of e)await a(t,i,r),i.children&&await eo(t,i.children,r,a)}async function ed(t,e,r){await eo(t,e,r,en)}async function ec(t,e,r){await eo(t,e,r,el)}async function eh(t,e,r,a,i){let s=new g.k({multigraph:!0,compound:!0});for(let t of(s.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8}),r))t.size&&s.setNode(t.id,{width:t.size.width,height:t.size.height,intersect:t.intersect});for(let r of e)if(r.start&&r.end){let e=a.getBlock(r.start),n=a.getBlock(r.end);if(e?.size&&n?.size){let a=e.size,l=n.size,o=[{x:a.x,y:a.y},{x:a.x+(l.x-a.x)/2,y:a.y+(l.y-a.y)/2},{x:l.x,y:l.y}];tL(t,{v:r.start,w:r.end,name:r.id},{...r,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:o,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",s,i),r.label&&(await tf(t,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:o,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),tm({...r,x:o[1].x,y:o[1].y},{originalPath:o}))}}}(0,l.eW)(es,"getNodeFromBlock"),(0,l.eW)(en,"calculateBlockSize"),(0,l.eW)(el,"insertBlockPositioned"),(0,l.eW)(eo,"performOperations"),(0,l.eW)(ed,"calculateBlockSizes"),(0,l.eW)(ec,"insertBlocks"),(0,l.eW)(eh,"insertEdges");var eg=(0,l.eW)(function(t,e){return e.db.getClasses()},"getClasses"),eu=(0,l.eW)(async function(t,e,r,a){let i;let{securityLevel:s,block:n}=(0,l.iE)(),o=a.db;"sandbox"===s&&(i=(0,h.Ys)("#i"+e));let d="sandbox"===s?(0,h.Ys)(i.nodes()[0].contentDocument.body):(0,h.Ys)("body"),c="sandbox"===s?d.select(`[id="${e}"]`):(0,h.Ys)(`[id="${e}"]`);H(c,["point","circle","cross"],a.type,e);let g=o.getBlocks(),u=o.getBlocksFlat(),p=o.getEdges(),y=c.insert("g").attr("class","block");await ed(y,g,o);let b=to(o);if(await ec(y,g,o),await eh(y,p,u,o,e),b){let t=Math.max(1,Math.round(.125*(b.width/b.height))),e=b.height+t+10,r=b.width+10,{useMaxWidth:a}=n;(0,l.v2)(c,e,r,!!a),l.cM.debug("Here Bounds",b,b),c.attr("viewBox",`${b.x-5} ${b.y-5} ${b.width+10} ${b.height+10}`)}},"draw"),ep={parser:u,db:F,renderer:{draw:eu,getClasses:eg},styles:X}}}]); \ No newline at end of file diff --git a/assets/js/3389.7ade8f65.js b/assets/js/3389.7ade8f65.js new file mode 100644 index 0000000..de7acb9 --- /dev/null +++ b/assets/js/3389.7ade8f65.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3389"],{49235:function(e,n,t){t.d(n,{bK:()=>nr});var r,o,i=t("82633"),u=t("22501"),a=0;let s=function(e){var n=++a;return(0,u.Z)(e)+n};var d=t("96498"),c=t("71134"),h=t("97345"),f=Math.ceil,l=Math.max;let v=function(e,n,t,r){for(var o=-1,i=l(f((n-e)/(t||1)),0),u=Array(i);i--;)u[r?i:++o]=e,e+=t;return u};var g=t("8417"),p=t("29116");let Z=function(e,n,t){return t&&"number"!=typeof t&&(0,g.Z)(e,n,t)&&(n=t=void 0),e=(0,p.Z)(e),void 0===n?(n=e,e=0):n=(0,p.Z)(n),t=void 0===t?en};var R=t("94675");let T=function(e){return e&&e.length?(0,L.Z)(e,R.Z,M):void 0};var F=t("59685"),D=t("49790"),S=t("50929"),G=t("69547");let V=function(e,n){var t={};return n=(0,G.Z)(n,3),(0,S.Z)(e,function(e,r,o){(0,D.Z)(t,r,n(e,r,o))}),t};var B=t("61925"),q=t("50540"),Y=t("29072"),z=t("52434");let A=function(){return z.Z.Date.now()};function $(e,n,t,r){var o;do o=s(r);while(e.hasNode(o));return t.dummy=n,e.setNode(o,t),o}function J(e){var n=new w.k({multigraph:e.isMultigraph()}).setGraph(e.graph());return i.Z(e.nodes(),function(t){!e.children(t).length&&n.setNode(t,e.node(t))}),i.Z(e.edges(),function(t){n.setEdge(t,e.edge(t))}),n}function K(e,n){var t,r,o=e.x,i=e.y,u=n.x-o,a=n.y-i,s=e.width/2,d=e.height/2;if(!u&&!a)throw Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*s>Math.abs(u)*d?(a<0&&(d=-d),t=d*u/a,r=d):(u<0&&(s=-s),t=s,r=s*a/u),{x:o+t,y:i+r}}function H(e){var n=h.Z(Z(U(e)+1),function(){return[]});return i.Z(e.nodes(),function(t){var r=e.node(t),o=r.rank;!B.Z(o)&&(n[o][r.order]=t)}),n}function Q(e,n,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),$(e,"border",o,n)}function U(e){return T(h.Z(e.nodes(),function(n){var t=e.node(n).rank;if(!B.Z(t))return t}))}function W(e,n){var t=A();try{return n()}finally{console.log(e+" time: "+(A()-t)+"ms")}}function X(e,n){return n()}function ee(e,n,t,r,o,i){var u=o[n][i-1],a=$(e,"border",{width:0,height:0,rank:i,borderType:n},t);o[n][i]=a,e.setParent(a,r),u&&e.setEdge(u,a,{weight:1})}function en(e){i.Z(e.nodes(),function(n){et(e.node(n))}),i.Z(e.edges(),function(n){et(e.edge(n))})}function et(e){var n=e.width;e.width=e.height,e.height=n}function er(e){e.y=-e.y}function eo(e){var n=e.x;e.x=e.y,e.y=n}var ei=t("23278");let eu=function(e,n){return e&&e.length?(0,L.Z)(e,(0,G.Z)(n,2),ei.Z):void 0};function ea(e){var n={};i.Z(e.sources(),function t(r){var o=e.node(r);if(Object.prototype.hasOwnProperty.call(n,r))return o.rank;n[r]=!0;var i=q.Z(h.Z(e.outEdges(r),function(n){return t(n.w)-e.edge(n).minlen}));return(i===Number.POSITIVE_INFINITY||null==i)&&(i=0),o.rank=i})}function es(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function ed(e){var n,t,r=new w.k({directed:!1}),o=e.nodes()[0],u=e.nodeCount();for(r.setNode(o,{});function(e,n){return i.Z(e.nodes(),function t(r){i.Z(n.nodeEdges(r),function(o){var i=o.v,u=r===i?o.w:i;!e.hasNode(u)&&!es(n,o)&&(e.setNode(u,{}),e.setEdge(r,u,{}),t(u))})}),e.nodeCount()}(r,e)u.lim&&(a=u,s=!0),eu(eh.Z(n.edges(),function(n){return s===eB(e,e.node(n.v),a)&&s!==eB(e,e.node(n.w),a)}),function(e){return es(n,e)})}function eV(e,n,t,r){var o=t.v,u=t.w;e.removeEdge(o,u),e.setEdge(r.v,r.w,{}),eD(e),eT(e,n),function(e,n){var t=ec.Z(e.nodes(),function(e){return!n.node(e).parent}),r=eM(e,t,"pre");r=r.slice(1),i.Z(r,function(t){var r=e.node(t).parent,o=n.edge(t,r),i=!1;!o&&(o=n.edge(r,t),i=!0),n.node(t).rank=n.node(r).rank+(i?o.minlen:-o.minlen)})}(e,n)}function eB(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}var eq=ea;function eY(e){eR(e)}var ez=t("96433"),eA=t("81748"),e$=t("16124"),eJ=t("89774");let eK=function(e,n,t){for(var r=-1,o=e.length,i=n.length,u={};++rn||i&&u&&s&&!a&&!d||r&&u&&s||!t&&s||!o)return 1;if(!r&&!i&&!d&&e=a)return s;return s*("desc"==t[r]?-1:1)}}return e.index-n.index},e7=function(e,n,t){n=n.length?(0,eQ.Z)(n,function(e){return(0,eL.Z)(e)?function(n){return(0,eU.Z)(n,1===e.length?e[0]:e)}:e}):[R.Z];var r=-1;return n=(0,eQ.Z)(n,(0,e0.Z)(G.Z)),eX((0,eW.Z)(e,function(e,t,o){return{criteria:(0,eQ.Z)(n,function(n){return n(e)}),index:++r,value:e}}),function(e,n){return e3(e,n,t)})};var e8=(0,t("53148").Z)(function(e,n){if(null==e)return[];var t=n.length;return t>1&&(0,g.Z)(e,n[0],n[1])?n=[]:t>2&&(0,g.Z)(n[0],n[1],n[2])&&(n=[n[0]]),e7(e,(0,eH.Z)(n,1),[])});function e4(e,n,t){for(var r;n.length&&(r=F.Z(n)).i<=t;)n.pop(),e.push(r.vs),t++;return t}function e9(e,n,t){return h.Z(n,function(n){var r,o,u,a,d;return r=e,o=n,u=t,a=function(e){for(var n;e.hasNode(n=s("_root")););return n}(r),d=new w.k({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(e){return r.node(e)}),i.Z(r.nodes(),function(e){var n=r.node(e),t=r.parent(e);(n.rank===o||n.minRank<=o&&o<=n.maxRank)&&(d.setNode(e),d.setParent(e,t||a),i.Z(r[u](e),function(n){var t=n.v===e?n.w:n.v,o=d.edge(t,e),i=B.Z(o)?0:o.weight;d.setEdge(t,e,{weight:r.edge(n).weight+i})}),Object.prototype.hasOwnProperty.call(n,"minRank")&&d.setNode(e,{borderLeft:n.borderLeft[o],borderRight:n.borderRight[o]}))}),d})}function e5(e,n){i.Z(n,function(n){i.Z(n,function(n,t){e.node(n).order=t})})}var e6=t("93898"),ne=t("45467"),nn=t("40038");function nt(e,n,t){if(n>t){var r=n;n=t,t=r}var o=e[n];!o&&(e[n]=o={}),o[t]=!0}function nr(e,n){var t=n&&n.debugTiming?W:X;t("layout",()=>{var n=t(" buildLayoutGraph",()=>(function(e){var n=new w.k({multigraph:!0,compound:!0}),t=nl(e.graph());return n.setGraph(x.Z({},ni,nf(t,no),C(t,nu))),i.Z(e.nodes(),function(t){var r=nl(e.node(t));n.setNode(t,I.Z(nf(r,na),ns)),n.setParent(t,e.parent(t))}),i.Z(e.edges(),function(t){var r=nl(e.edge(t));n.setEdge(t,x.Z({},nc,nf(r,nd),C(r,nh)))}),n})(e));t(" runLayout",()=>(function(e,n){n(" makeSpaceForEdgeLabels",()=>(function(e){var n=e.graph();n.ranksep/=2,i.Z(e.edges(),function(t){var r=e.edge(t);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})})(e)),n(" removeSelfEdges",()=>(function(e){i.Z(e.edges(),function(n){if(n.v===n.w){var t=e.node(n.v);!t.selfEdges&&(t.selfEdges=[]),t.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})})(e)),n(" acyclic",()=>{var n,t;return t="greedy"===(n=e).graph().acyclicer?function(e,n){if(1>=e.nodeCount())return[];var t=function(e,n){var t=new w.k,r=0,o=0;i.Z(e.nodes(),function(e){t.setNode(e,{v:e,in:0,out:0})}),i.Z(e.edges(),function(e){var i=t.edge(e.v,e.w)||0,u=n(e);t.setEdge(e.v,e.w,i+u),o=Math.max(o,t.node(e.v).out+=u),r=Math.max(r,t.node(e.w).in+=u)});var u=Z(o+r+3).map(function(){return new b}),a=r+1;return i.Z(t.nodes(),function(e){E(u,a,t.node(e))}),{graph:t,buckets:u,zeroIdx:a}}(e,n||_),r=function(e,n,t){for(var r,o=[],i=n[n.length-1],u=n[0];e.nodeCount();){for(;r=u.dequeue();)k(e,n,t,r);for(;r=i.dequeue();)k(e,n,t,r);if(e.nodeCount()){for(var a=n.length-2;a>0;--a)if(r=n[a].dequeue()){o=o.concat(k(e,n,t,r,!0));break}}}return o}(t.graph,t.buckets,t.zeroIdx);return c.Z(h.Z(r,function(n){return e.outEdges(n.v,n.w)}))}(n,function(e){return function(n){return e.edge(n).weight}}(n)):function(e){var n=[],t={},r={};return i.Z(e.nodes(),function o(u){if(!Object.prototype.hasOwnProperty.call(r,u))r[u]=!0,t[u]=!0,i.Z(e.outEdges(u),function(e){Object.prototype.hasOwnProperty.call(t,e.w)?n.push(e):o(e.w)}),delete t[u]}),n}(n),void i.Z(t,function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,s("rev"))})}),n(" nestingGraph.run",()=>{var n,t,r,o,u,a;return t=$(n=e,"root",{},"_root"),r=function(e){var n={};return i.Z(e.children(),function(t){!function t(r,o){var u=e.children(r);u&&u.length&&i.Z(u,function(e){t(e,o+1)}),n[r]=o}(t,1)}),n}(n),u=2*(o=T(ez.Z(r))-1)+1,n.graph().nestingRoot=t,i.Z(n.edges(),function(e){n.edge(e).minlen*=u}),a=function(e){return eA.Z(e.edges(),function(n,t){return n+e.edge(t).weight},0)}(n)+1,void(i.Z(n.children(),function(e){(function e(n,t,r,o,u,a,s){var d=n.children(s);if(!d.length){s!==t&&n.setEdge(t,s,{weight:0,minlen:r});return}var c=Q(n,"_bt"),h=Q(n,"_bb"),f=n.node(s);n.setParent(c,s),f.borderTop=c,n.setParent(h,s),f.borderBottom=h,i.Z(d,function(i){e(n,t,r,o,u,a,i);var d=n.node(i),f=d.borderTop?d.borderTop:i,l=d.borderBottom?d.borderBottom:i,v=d.borderTop?o:2*o,g=f!==l?1:u-a[s]+1;n.setEdge(c,f,{weight:v,minlen:g,nestingEdge:!0}),n.setEdge(l,h,{weight:v,minlen:g,nestingEdge:!0})}),!n.parent(s)&&n.setEdge(t,c,{weight:0,minlen:u+a[s]})})(n,t,u,a,o,r,e)}),n.graph().nodeRankFactor=u)}),n(" rank",()=>(function(e){switch(e.graph().ranker){case"network-simplex":default:(function(e){eR(e)})(e);break;case"tight-tree":(function(e){ea(e),ed(e)})(e);break;case"longest-path":eq(e)}})(J(e))),n(" injectEdgeLabelProxies",()=>(function(e){i.Z(e.edges(),function(n){var t=e.edge(n);if(t.width&&t.height){var r=e.node(n.v),o={rank:(e.node(n.w).rank-r.rank)/2+r.rank,e:n};$(e,"edge-proxy",o,"_ep")}})})(e)),n(" removeEmptyRanks",()=>{var n,t,r,o,u;return n=e,t=q.Z(h.Z(n.nodes(),function(e){return n.node(e).rank})),r=[],i.Z(n.nodes(),function(e){var o=n.node(e).rank-t;!r[o]&&(r[o]=[]),r[o].push(e)}),o=0,u=n.graph().nodeRankFactor,void i.Z(r,function(e,t){B.Z(e)&&t%u!=0?--o:o&&i.Z(e,function(e){n.node(e).rank+=o})})}),n(" nestingGraph.cleanup",()=>{var n,t;return t=(n=e).graph(),void(n.removeNode(t.nestingRoot),delete t.nestingRoot,i.Z(n.edges(),function(e){n.edge(e).nestingEdge&&n.removeEdge(e)}))}),n(" normalizeRanks",()=>{var n,t;return n=e,t=q.Z(h.Z(n.nodes(),function(e){return n.node(e).rank})),void i.Z(n.nodes(),function(e){var r=n.node(e);Y.Z(r,"rank")&&(r.rank-=t)})}),n(" assignRankMinMax",()=>(function(e){var n=0;i.Z(e.nodes(),function(t){var r=e.node(t);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,n=T(n,r.maxRank))}),e.graph().maxRank=n})(e)),n(" removeEdgeLabelProxies",()=>(function(e){i.Z(e.nodes(),function(n){var t=e.node(n);"edge-proxy"===t.dummy&&(e.edge(t.e).labelRank=t.rank,e.removeNode(n))})})(e)),n(" normalize.run",()=>{var n;(n=e).graph().dummyChains=[],i.Z(n.edges(),function(e){(function(e,n){var t,r,o=n.v,i=e.node(o).rank,u=n.w,a=e.node(u).rank,s=n.name,d=e.edge(n),c=d.labelRank;if(a!==i+1){e.removeEdge(n);var h=void 0;for(r=0,++i;i{var n,t;return t=function(e){var n={},t=0;return i.Z(e.children(),function r(o){var u=t;i.Z(e.children(o),r),n[o]={low:u,lim:t++}}),n}(n=e),void i.Z(n.graph().dummyChains,function(e){for(var r=n.node(e),o=r.edgeObj,i=function(e,n,t,r){var o,i,u=[],a=[],s=Math.min(n[t].low,n[r].low),d=Math.max(n[t].lim,n[r].lim);o=t;do o=e.parent(o),u.push(o);while(o&&(n[o].low>s||d>n[o].lim));for(i=o,o=r;(o=e.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,t,o.v,o.w),u=i.path,a=i.lca,s=0,d=u[0],c=!0;e!==o.w;){if(r=n.node(e),c){for(;(d=u[s])!==a&&n.node(d).maxRank{var n;return n=e,void i.Z(n.children(),function e(t){var r=n.children(t),o=n.node(t);if(r.length&&i.Z(r,e),Object.prototype.hasOwnProperty.call(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var u=o.minRank,a=o.maxRank+1;u(function(e){var n=U(e),t=e9(e,Z(1,n+1),"inEdges"),r=e9(e,Z(n-1,-1,-1),"outEdges");var o=(u=e,a={},s=eh.Z(u.nodes(),function(e){return!u.children(e).length}),d=T(h.Z(s,function(e){return u.node(e).rank})),f=h.Z(Z(d+1),function(){return[]}),l=e8(s,function(e){return u.node(e).rank}),i.Z(l,function e(n){!Y.Z(a,n)&&(a[n]=!0,f[u.node(n).rank].push(n),i.Z(u.successors(n),e))}),f);e5(e,o);for(var u,a,s,d,f,l,v,g=Number.POSITIVE_INFINITY,p=0,b=0;b<4;++p,++b){(function(e,n){var t=new w.k;i.Z(e,function(e){var r,o,u,a,s,d=e.graph().root,f=function e(n,t,r,o){var u,a,s,d,f,l,v,g,p,Z,w,b,m,y,_,k,E,x,O=n.children(t),N=n.node(t),P=N?N.borderLeft:void 0,j=N?N.borderRight:void 0,I={};P&&(O=eh.Z(O,function(e){return e!==P&&e!==j}));var L=(u=n,a=O,h.Z(a,function(e){var n=u.inEdges(e);if(!n.length)return{v:e};var t=eA.Z(n,function(e,n){var t=u.edge(n),r=u.node(n.v);return{sum:e.sum+t.weight*r.order,weight:e.weight+t.weight}},{sum:0,weight:0});return{v:e,barycenter:t.sum/t.weight,weight:t.weight}}));i.Z(L,function(t){if(n.children(t.v).length){var i=e(n,t.v,r,o);I[t.v]=i,Object.prototype.hasOwnProperty.call(i,"barycenter")&&function(e,n){B.Z(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}(t,i)}});var M=(s=L,d=r,f={},i.Z(s,function(e,n){var t=f[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:n};!B.Z(e.barycenter)&&(t.barycenter=e.barycenter,t.weight=e.weight)}),i.Z(d.edges(),function(e){var n=f[e.v],t=f[e.w];!B.Z(n)&&!B.Z(t)&&(t.indegree++,n.out.push(f[e.w]))}),function(e){for(var n=[];e.length;){var t=e.pop();n.push(t),i.Z(t.in.reverse(),function(e){return function(n){if(!n.merged)(B.Z(n.barycenter)||B.Z(e.barycenter)||n.barycenter>=e.barycenter)&&function(e,n){var t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight),n.weight&&(t+=n.barycenter*n.weight,r+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}(t)),i.Z(t.out,function(n){return function(t){t.in.push(n),0==--t.indegree&&e.push(t)}}(t))}return h.Z(eh.Z(n,function(e){return!e.merged}),function(e){return C(e,["vs","i","barycenter","weight"])})}(eh.Z(f,function(e){return!e.indegree})));(function(e,n){i.Z(e,function(e){e.vs=c.Z(e.vs.map(function(e){return n[e]?n[e].vs:e}))})})(M,I);var R=(l=M,v=o,b=(w=(g=l,p=function(e){return Object.prototype.hasOwnProperty.call(e,"barycenter")},Z={lhs:[],rhs:[]},i.Z(g,function(e){p(e)?Z.lhs.push(e):Z.rhs.push(e)}),Z)).lhs,m=e8(w.rhs,function(e){return-e.i}),y=[],_=0,k=0,E=0,b.sort(function(e){return function(n,t){return n.barycentert.barycenter?1:e?t.i-n.i:n.i-t.i}}(!!v)),E=e4(y,m,E),i.Z(b,function(e){E+=e.vs.length,y.push(e.vs),_+=e.barycenter*e.weight,k+=e.weight,E=e4(y,m,E)}),x={vs:c.Z(y)},k&&(x.barycenter=_/k,x.weight=k),x);if(P&&(R.vs=c.Z([P,R.vs,j]),n.predecessors(P).length)){var T=n.node(n.predecessors(P)[0]),F=n.node(n.predecessors(j)[0]);!Object.prototype.hasOwnProperty.call(R,"barycenter")&&(R.barycenter=0,R.weight=0),R.barycenter=(R.barycenter*R.weight+T.order+F.order)/(R.weight+2),R.weight+=2}return R}(e,d,t,n);i.Z(f.vs,function(n,t){e.node(n).order=t}),r=e,o=t,u=f.vs,s={},i.Z(u,function(e){for(var n,t,i=r.parent(e);i;){if((n=r.parent(i))?(t=s[n],s[n]=i):(t=a,a=i),t&&t!==i){o.setEdge(t,i);return}i=n}})})})(p%2?t:r,p%4>=2),o=H(e);var m,y=function(e,n){for(var t=0,r=1;r0;)n%2&&(t+=s[n+1]),n=n-1>>1,s[n]+=e.weight;d+=e.weight*t})),d}(e,n[r-1],n[r]);return t}(e,o);if(y(function(e){var n=H(e);i.Z(n,function(n){var t=0;i.Z(n,function(n,r){var o=e.node(n);o.order=r+t,i.Z(o.selfEdges,function(n){$(e,"selfedge",{width:n.label.width,height:n.label.height,rank:o.rank,order:r+ ++t,e:n.e,label:n.label},"_se")}),delete o.selfEdges})})})(e)),n(" adjustCoordinateSystem",()=>{var n,t;("lr"===(t=(n=e).graph().rankdir.toLowerCase())||"rl"===t)&&en(n)}),n(" position",()=>{var n,t,r,o,u,a,s,d,c,f,l,v,g,p,b,m,y,_,k,E,O;(function(e){var n=H(e),t=e.graph().ranksep,r=0;i.Z(n,function(n){var o=T(h.Z(n,function(n){return e.node(n).height}));i.Z(n,function(n){e.node(n).y=r+o/2}),r+=o+t})})(n=J(n=e)),E=(o=H(t=n),d=x.Z((u=t,a=o,s={},eA.Z(a,function(e,n){var t=0,r=0,o=e.length,a=F.Z(n);return i.Z(n,function(e,d){var c=function(e,n){if(e.node(n).dummy)return ec.Z(e.predecessors(n),function(n){return e.node(n).dummy})}(u,e),h=c?u.node(c).order:o;(c||e===a)&&(i.Z(n.slice(r,d+1),function(e){i.Z(u.predecessors(e),function(n){var r=u.node(n),o=r.order;(oa)&&nt(t,n,s)})})}return eA.Z(n,function(n,t){var o,u=-1,a=0;return i.Z(t,function(i,s){if("border"===e.node(i).dummy){var d=e.predecessors(i);d.length&&(o=e.node(d[0]).order,r(t,a,s,u,o),a=s,u=o)}r(t,a,t.length,o,n.length)}),t}),t}(t,o)),c={},i.Z(["u","d"],function(e){r="u"===e?o:ez.Z(o).reverse(),i.Z(["l","r"],function(n){"r"===n&&(r=h.Z(r,function(e){return ez.Z(e).reverse()}));var o,u,a,s,f,l,v,g=("u"===e?t.predecessors:t.successors).bind(t);var p=(o=0,u=r,a=d,s=g,f={},l={},v={},i.Z(u,function(e){i.Z(e,function(e,n){f[e]=e,l[e]=e,v[e]=n})}),i.Z(u,function(e){var n=-1;i.Z(e,function(e){var t=s(e);if(t.length){for(var r=((t=e8(t,function(e){return v[e]})).length-1)/2,o=Math.floor(r),i=Math.ceil(r);o<=i;++o){var u=t[o];l[e]===e&&nt){var r=n;n=t,t=r}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],t)}(a,e,u)&&(l[u]=e,l[e]=f[e]=f[u],n=v[u])}}})}),{root:f,align:l}),Z=function(e,n,t,r,o){var u={},a=function(e,n,t,r){var o=new w.k,u=e.graph(),a=function(e,n,t){return function(r,o,i){var u,a,s=r.node(o),d=r.node(i);if(u=0+s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":a=-s.width/2;break;case"r":a=s.width/2}if(a&&(u+=t?a:-a),a=0,u+=(s.dummy?n:e)/2,u+=(d.dummy?n:e)/2,u+=d.width/2,Object.prototype.hasOwnProperty.call(d,"labelpos"))switch(d.labelpos.toLowerCase()){case"l":a=d.width/2;break;case"r":a=-d.width/2}return a&&(u+=t?a:-a),a=0,u}}(u.nodesep,u.edgesep,r);return i.Z(n,function(n){var r;i.Z(n,function(n){var i=t[n];if(o.setNode(i),r){var u=t[r],s=o.edge(u,i);o.setEdge(u,i,Math.max(a(e,n,r),s||0))}r=n})}),o}(e,n,t,o),s=o?"borderLeft":"borderRight";function d(e,n){for(var t=a.nodes(),r=t.pop(),o={};r;)o[r]?e(r):(o[r]=!0,t.push(r),t=t.concat(n(r))),r=t.pop()}return d(function(e){u[e]=a.inEdges(e).reduce(function(e,n){return Math.max(e,u[n.v]+a.edge(n))},0)},a.predecessors.bind(a)),d(function(n){var t=a.outEdges(n).reduce(function(e,n){return Math.min(e,u[n.w]-a.edge(n))},Number.POSITIVE_INFINITY),r=e.node(n);t!==Number.POSITIVE_INFINITY&&r.borderType!==s&&(u[n]=Math.max(u[n],t))},a.successors.bind(a)),i.Z(r,function(e){u[e]=u[t[e]]}),u}(t,r,p.root,p.align,"r"===n);"r"===n&&(Z=V(Z,function(e){return-e})),c[e+n]=Z})}),v=(f=t,l=c,eu(ez.Z(l),function(e){var n,t,r=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;return n=e,t=function(e,n){var t=function(e,n){return e.node(n).width}(f,n)/2;r=Math.max(e+t,r),o=Math.min(e-t,o)},null==n||(0,ne.Z)(n,(0,e6.Z)(t),nn.Z),r-o})),g=c,p=v,b=ez.Z(p),m=q.Z(b),y=T(b),i.Z(["u","d"],function(e){i.Z(["l","r"],function(n){var t,r=e+n,o=g[r];if(o!==p){var i=ez.Z(o);(t="l"===n?m-q.Z(i):y-T(i))&&(g[r]=V(o,function(e){return e+t}))}})}),_=c,k=t.graph().align,V(_.ul,function(e,n){if(k)return _[k.toLowerCase()][n];var t=e8(h.Z(_,n));return(t[1]+t[2])/2})),O=function(e,t){n.node(t).x=e},E&&(0,S.Z)(E,(0,e6.Z)(O))}),n(" positionSelfEdges",()=>(function(e){i.Z(e.nodes(),function(n){var t=e.node(n);if("selfedge"===t.dummy){var r=e.node(t.e.v),o=r.x+r.width/2,i=r.y,u=t.x-o,a=r.height/2;e.setEdge(t.e,t.label),e.removeNode(n),t.label.points=[{x:o+2*u/3,y:i-a},{x:o+5*u/6,y:i-a},{x:o+u,y:i},{x:o+5*u/6,y:i+a},{x:o+2*u/3,y:i+a}],t.label.x=t.x,t.label.y=t.y}})})(e)),n(" removeBorderNodes",()=>(function(e){i.Z(e.nodes(),function(n){if(e.children(n).length){var t=e.node(n),r=e.node(t.borderTop),o=e.node(t.borderBottom),i=e.node(F.Z(t.borderLeft)),u=e.node(F.Z(t.borderRight));t.width=Math.abs(u.x-i.x),t.height=Math.abs(o.y-r.y),t.x=i.x+t.width/2,t.y=r.y+t.height/2}}),i.Z(e.nodes(),function(n){"border"===e.node(n).dummy&&e.removeNode(n)})})(e)),n(" normalize.undo",()=>{var n;return n=e,void i.Z(n.graph().dummyChains,function(e){var t,r=n.node(e),o=r.edgeLabel;for(n.setEdge(r.edgeObj,o);r.dummy;)t=n.successors(e)[0],n.removeNode(e),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),e=t,r=n.node(e)})}),n(" fixupEdgeLabelCoords",()=>(function(e){i.Z(e.edges(),function(n){var t=e.edge(n);if(Object.prototype.hasOwnProperty.call(t,"x"))switch(("l"===t.labelpos||"r"===t.labelpos)&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}})})(e)),n(" undoCoordinateSystem",()=>{var n,t;("bt"===(t=(n=e).graph().rankdir.toLowerCase())||"rl"===t)&&function(e){i.Z(e.nodes(),function(n){er(e.node(n))}),i.Z(e.edges(),function(n){var t=e.edge(n);i.Z(t.points,er),Object.prototype.hasOwnProperty.call(t,"y")&&er(t)})}(n),("lr"===t||"rl"===t)&&(function(e){i.Z(e.nodes(),function(n){eo(e.node(n))}),i.Z(e.edges(),function(n){var t=e.edge(n);i.Z(t.points,eo),Object.prototype.hasOwnProperty.call(t,"x")&&eo(t)})}(n),en(n))}),n(" translateGraph",()=>(function(e){var n=Number.POSITIVE_INFINITY,t=0,r=Number.POSITIVE_INFINITY,o=0,u=e.graph(),a=u.marginx||0,s=u.marginy||0;function d(e){var i=e.x,u=e.y,a=e.width,s=e.height;n=Math.min(n,i-a/2),t=Math.max(t,i+a/2),r=Math.min(r,u-s/2),o=Math.max(o,u+s/2)}i.Z(e.nodes(),function(n){d(e.node(n))}),i.Z(e.edges(),function(n){var t=e.edge(n);Object.prototype.hasOwnProperty.call(t,"x")&&d(t)}),n-=a,r-=s,i.Z(e.nodes(),function(t){var o=e.node(t);o.x-=n,o.y-=r}),i.Z(e.edges(),function(t){var o=e.edge(t);i.Z(o.points,function(e){e.x-=n,e.y-=r}),Object.prototype.hasOwnProperty.call(o,"x")&&(o.x-=n),Object.prototype.hasOwnProperty.call(o,"y")&&(o.y-=r)}),u.width=t-n+a,u.height=o-r+s})(e)),n(" assignNodeIntersects",()=>(function(e){i.Z(e.edges(),function(n){var t,r,o=e.edge(n),i=e.node(n.v),u=e.node(n.w);o.points?(t=o.points[0],r=o.points[o.points.length-1]):(o.points=[],t=u,r=i),o.points.unshift(K(i,t)),o.points.push(K(u,r))})})(e)),n(" reversePoints",()=>(function(e){i.Z(e.edges(),function(n){var t=e.edge(n);t.reversed&&t.points.reverse()})})(e)),n(" acyclic.undo",()=>{var n;return n=e,void i.Z(n.edges(),function(e){var t=n.edge(e);if(t.reversed){n.removeEdge(e);var r=t.forwardName;delete t.reversed,delete t.forwardName,n.setEdge(e.w,e.v,t,r)}})})})(n,t)),t(" updateInputGraph",()=>(function(e,n){i.Z(e.nodes(),function(t){var r=e.node(t),o=n.node(t);r&&(r.x=o.x,r.y=o.y,n.children(t).length&&(r.width=o.width,r.height=o.height))}),i.Z(e.edges(),function(t){var r=e.edge(t),o=n.edge(t);r.points=o.points,Object.prototype.hasOwnProperty.call(o,"x")&&(r.x=o.x,r.y=o.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height})(e,n))})}var no=["nodesep","edgesep","ranksep","marginx","marginy"],ni={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},nu=["acyclicer","ranker","rankdir","align"],na=["width","height"],ns={width:0,height:0},nd=["minlen","weight","width","height","labeloffset"],nc={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},nh=["labelpos"];function nf(e,n){return V(C(e,n),Number)}function nl(e){var n={};return i.Z(e,function(e,t){n[t.toLowerCase()]=e}),n}},61135:function(e,n,t){t.d(n,{k:()=>Z});var r=t("96498"),o=t("18782"),i=t("87074"),u=t("37627"),a=t("73217"),s=t("82633"),d=t("61925"),c=t("39446"),h=t("53148"),f=t("38610"),l=t("61322"),v=(0,h.Z)(function(e){return(0,f.Z)((0,c.Z)(e,1,l.Z,!0))}),g=t("96433"),p=t("81748");class Z{constructor(e={}){this._isDirected=!Object.prototype.hasOwnProperty.call(e,"directed")||e.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(e,"multigraph")&&e.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.Z(void 0),this._defaultEdgeLabelFn=r.Z(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),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(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return!o.Z(e)&&(e=r.Z(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return i.Z(this._nodes)}sources(){var e=this;return u.Z(this.nodes(),function(n){return a.Z(e._in[n])})}sinks(){var e=this;return u.Z(this.nodes(),function(n){return a.Z(e._out[n])})}setNodes(e,n){var t=arguments,r=this;return s.Z(e,function(e){t.length>1?r.setNode(e,n):r.setNode(e)}),this}setNode(e,n){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=n),this):(this._nodes[e]=arguments.length>1?n:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var n=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],s.Z(this.children(e),e=>{this.setParent(e)}),delete this._children[e]),s.Z(i.Z(this._in[e]),n),delete this._in[e],delete this._preds[e],s.Z(i.Z(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,n){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(d.Z(n))n="\0";else{n+="";for(var t=n;!d.Z(t);t=this.parent(t))if(t===e)throw Error("Setting "+n+" as parent of "+e+" would create a cycle");this.setNode(n)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=n,this._children[n][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var n=this._parent[e];if("\0"!==n)return n}}children(e){if(d.Z(e)&&(e="\0"),this._isCompound){var n=this._children[e];if(n)return i.Z(n)}else if("\0"===e)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var n=this._preds[e];if(n)return i.Z(n)}successors(e){var n=this._sucs[e];if(n)return i.Z(n)}neighbors(e){var n=this.predecessors(e);if(n)return v(n,this.successors(e))}isLeaf(e){var n;return 0===(n=this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var t=this;s.Z(this._nodes,function(t,r){e(r)&&n.setNode(r,t)}),s.Z(this._edgeObjs,function(e){n.hasNode(e.v)&&n.hasNode(e.w)&&n.setEdge(e,t.edge(e))});var r={};return this._isCompound&&s.Z(n.nodes(),function(e){n.setParent(e,function e(o){var i=t.parent(o);return void 0===i||n.hasNode(i)?(r[o]=i,i):i in r?r[i]:e(i)}(e))}),n}setDefaultEdgeLabel(e){return!o.Z(e)&&(e=r.Z(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return g.Z(this._edgeObjs)}setPath(e,n){var t=this,r=arguments;return p.Z(e,function(e,o){return r.length>1?t.setEdge(e,o,n):t.setEdge(e,o),o}),this}setEdge(){var e,n,t,r,o=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(e=i.v,n=i.w,t=i.name,2==arguments.length&&(r=arguments[1],o=!0)):(e=i,n=arguments[1],t=arguments[3],arguments.length>2&&(r=arguments[2],o=!0)),e=""+e,n=""+n,!d.Z(t)&&(t=""+t);var u=m(this._isDirected,e,n,t);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,u))return o&&(this._edgeLabels[u]=r),this;if(!d.Z(t)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(n),this._edgeLabels[u]=o?r:this._defaultEdgeLabelFn(e,n,t);var a=function(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,e,n,t);return e=a.v,n=a.w,Object.freeze(a),this._edgeObjs[u]=a,w(this._preds[n],e),w(this._sucs[e],n),this._in[n][u]=a,this._out[e][u]=a,this._edgeCount++,this}edge(e,n,t){var r=1==arguments.length?y(this._isDirected,arguments[0]):m(this._isDirected,e,n,t);return this._edgeLabels[r]}hasEdge(e,n,t){var r=1==arguments.length?y(this._isDirected,arguments[0]):m(this._isDirected,e,n,t);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,n,t){var r=1==arguments.length?y(this._isDirected,arguments[0]):m(this._isDirected,e,n,t),o=this._edgeObjs[r];return o&&(e=o.v,n=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],b(this._preds[n],e),b(this._sucs[e],n),delete this._in[n][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,n){var t=this._in[e];if(t){var r=g.Z(t);return n?u.Z(r,function(e){return e.v===n}):r}}outEdges(e,n){var t=this._out[e];if(t){var r=g.Z(t);return n?u.Z(r,function(e){return e.w===n}):r}}nodeEdges(e,n){var t=this.inEdges(e,n);if(t)return t.concat(this.outEdges(e,n))}}function w(e,n){e[n]?e[n]++:e[n]=1}function b(e,n){!--e[n]&&delete e[n]}function m(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}return o+"\x01"+i+"\x01"+(d.Z(r)?"\0":r)}Z.prototype._nodeCount=0,Z.prototype._edgeCount=0;function y(e,n){return m(e,n.v,n.w,n.name)}},50043:function(e,n,t){t.d(n,{k:function(){return r.k}});var r=t(61135)},91201:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(2147);let o=function(e,n,t){for(var o=-1,i=e.length;++oc});var r=t("73722"),o=t("89774"),i=t("50949"),u=t("92383"),a=t("58641"),s=t("37706");let d=function(e,n,t,r){if(!(0,a.Z)(e))return e;n=(0,i.Z)(n,e);for(var d=-1,c=n.length,h=c-1,f=e;null!=f&&++d2?n[2]:void 0;for(d&&(0,i.Z)(n[0],n[1],d)&&(r=1);++tc});var r,o=t("69547"),i=t("71581"),u=t("87074"),a=t("81208"),s=t("59578"),d=Math.max;let c=(r=function(e,n,t){var r=null==e?0:e.length;if(!r)return -1;var i=null==t?0:(0,s.Z)(t);return i<0&&(i=d(r+i,0)),(0,a.Z)(e,(0,o.Z)(n,3),i)},function(e,n,t){var a=Object(e);if(!(0,i.Z)(e)){var s=(0,o.Z)(n,3);e=(0,u.Z)(e),n=function(e){return s(a[e],e,a)}}var d=r(e,n,t);return d>-1?a[s?e[d]:d]:void 0})},71134:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(39446);let o=function(e){return(null==e?0:e.length)?(0,r.Z)(e,1):[]}},29072:function(e,n,t){t.d(n,{Z:()=>u});var r=Object.prototype.hasOwnProperty;let o=function(e,n){return null!=e&&r.call(e,n)};var i=t("87825");let u=function(e,n){return null!=e&&(0,i.Z)(e,n,o)}},27884:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(65182),o=t(31739),i=t(75887);let u=function(e){return"string"==typeof e||!(0,o.Z)(e)&&(0,i.Z)(e)&&"[object String]"==(0,r.Z)(e)}},59685:function(e,n,t){t.d(n,{Z:function(){return r}});let r=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},97345:function(e,n,t){t.d(n,{Z:function(){return a}});var r=t(96248),o=t(69547),i=t(10301),u=t(31739);let a=function(e,n){return((0,u.Z)(e)?r.Z:i.Z)(e,(0,o.Z)(n,3))}},50540:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(91201),o=t(23278),i=t(94675);let u=function(e){return e&&e.length?(0,r.Z)(e,i.Z,o.Z):void 0}},29116:function(e,n,t){t.d(n,{Z:()=>g});var r=/\s/;let o=function(e){for(var n=e.length;n--&&r.test(e.charAt(n)););return n};var i=/^\s+/,u=t("58641"),a=t("2147"),s=0/0,d=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt;let l=function(e){if("number"==typeof e)return e;if((0,a.Z)(e))return s;if((0,u.Z)(e)){var n,t="function"==typeof e.valueOf?e.valueOf():e;e=(0,u.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(n=e)?n.slice(0,o(n)+1).replace(i,""):n;var r=c.test(e);return r||h.test(e)?f(e.slice(2),r?2:8):d.test(e)?s:+e};var v=1/0;let g=function(e){return e?(e=l(e))===v||e===-v?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},59578:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(29116);let o=function(e){var n=(0,r.Z)(e),t=n%1;return n==n?t?n-t:n:0}}}]); \ No newline at end of file diff --git a/assets/js/34829b29.22bdbef0.js b/assets/js/34829b29.22bdbef0.js new file mode 100644 index 0000000..147ccde --- /dev/null +++ b/assets/js/34829b29.22bdbef0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4494"],{76687:function(e,a,r){r.r(a),r.d(a,{metadata:()=>t,contentTitle:()=>c,default:()=>u,assets:()=>i,toc:()=>d,frontMatter:()=>o});var t=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","source":"@site/docs/docusaurus/tutorial_basics/create_a_page.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_page","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_page.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Basics","permalink":"/nr-pies/docs/category/tutorial---basics"},"next":{"title":"Create a Document","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document"}}'),s=r("85893"),n=r("50065");let o={sidebar_position:1},c="Create a Page",i={},d=[{value:"Create your first React Page",id:"create-your-first-react-page",level:2},{value:"Create your first Markdown Page",id:"create-your-first-markdown-page",level:2}];function l(e){let a={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.header,{children:(0,s.jsx)(a.h1,{id:"create-a-page",children:"Create a Page"})}),"\n",(0,s.jsxs)(a.p,{children:["Add ",(0,s.jsx)(a.strong,{children:"Markdown or React"})," files to ",(0,s.jsx)(a.code,{children:"src/pages"})," to create a ",(0,s.jsx)(a.strong,{children:"standalone page"}),":"]}),"\n",(0,s.jsxs)(a.ul,{children:["\n",(0,s.jsxs)(a.li,{children:[(0,s.jsx)(a.code,{children:"src/pages/index.js"})," \u2192 ",(0,s.jsx)(a.code,{children:"localhost:3000/"})]}),"\n",(0,s.jsxs)(a.li,{children:[(0,s.jsx)(a.code,{children:"src/pages/foo.md"})," \u2192 ",(0,s.jsx)(a.code,{children:"localhost:3000/foo"})]}),"\n",(0,s.jsxs)(a.li,{children:[(0,s.jsx)(a.code,{children:"src/pages/foo/bar.js"})," \u2192 ",(0,s.jsx)(a.code,{children:"localhost:3000/foo/bar"})]}),"\n"]}),"\n",(0,s.jsx)(a.hr,{}),"\n",(0,s.jsxs)(a.ul,{children:["\n",(0,s.jsxs)(a.li,{children:["Please use ",(0,s.jsx)(a.code,{children:"snake_case"})," when naming files with multiple subjects in order to be consistent with the rest of the\nrepository."]}),"\n",(0,s.jsxs)(a.li,{children:["When you create a new ",(0,s.jsx)(a.code,{children:".md"})," or ",(0,s.jsx)(a.code,{children:".mdx"})," file, please make sure to add in the appropriate\n",(0,s.jsx)(a.a,{href:"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#front-matter",children:"Front Matter"})," so that your content is properly categorized."]}),"\n"]}),"\n",(0,s.jsx)(a.h2,{id:"create-your-first-react-page",children:"Create your first React Page"}),"\n",(0,s.jsxs)(a.p,{children:["Create a file at ",(0,s.jsx)(a.code,{children:"src/pages/my-react-page.js"}),":"]}),"\n",(0,s.jsx)(a.pre,{children:(0,s.jsx)(a.code,{className:"language-jsx",metastring:'title="src/pages/my-react-page.js"',children:"import React from 'react';\nimport Layout from '@theme/Layout';\n\nexport default function MyReactPage() {\n return (\n \n

    My React page

    \n

    This is a React page

    \n
    \n );\n}\n"})}),"\n",(0,s.jsxs)(a.p,{children:["A new page is now available at ",(0,s.jsx)(a.a,{href:"http://localhost:3000/my-react-page",children:"http://localhost:3000/my-react-page"}),"."]}),"\n",(0,s.jsx)(a.h2,{id:"create-your-first-markdown-page",children:"Create your first Markdown Page"}),"\n",(0,s.jsxs)(a.p,{children:["Create a file at ",(0,s.jsx)(a.code,{children:"src/pages/my-markdown-page.md"}),":"]}),"\n",(0,s.jsx)(a.pre,{children:(0,s.jsx)(a.code,{className:"language-mdx",metastring:'title="src/pages/my-markdown-page.md"',children:"# My Markdown page\n\nThis is a Markdown page\n"})}),"\n",(0,s.jsxs)(a.p,{children:["A new page is now available at ",(0,s.jsx)(a.a,{href:"http://localhost:3000/my-markdown-page",children:"http://localhost:3000/my-markdown-page"}),"."]})]})}function u(e={}){let{wrapper:a}={...(0,n.a)(),...e.components};return a?(0,s.jsx)(a,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},50065:function(e,a,r){r.d(a,{Z:function(){return c},a:function(){return o}});var t=r(67294);let s={},n=t.createContext(s);function o(e){let a=t.useContext(n);return t.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function c(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(n.Provider,{value:a},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3544.5525610f.js b/assets/js/3544.5525610f.js new file mode 100644 index 0000000..0cbceba --- /dev/null +++ b/assets/js/3544.5525610f.js @@ -0,0 +1,78 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3544"],{57275:function(e,t,i){i.d(t,{diagram:function(){return I}});var n=i(80397),s=i(37971);i(9833),i(82612),i(41200),i(68394);var r=i(89356),o=i(74146),a=i(77845),l=i(86750),c=i(35035),h=function(){var e=(0,o.eW)(function(e,t,i,n){for(i=i||{},n=e.length;n--;i[e[n]]=t);return i},"o"),t=[1,4],i=[1,13],n=[1,12],s=[1,15],r=[1,16],a=[1,20],l=[1,19],c=[6,7,8],h=[1,26],u=[1,24],g=[1,25],d=[6,7,11],p=[1,31],y=[6,7,11,24],f=[1,6,13,16,17,20,23],m=[1,35],_=[1,36],b=[1,6,7,11,13,16,17,20,23],k=[1,38],E={trace:(0,o.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},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,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:(0,o.eW)(function(e,t,i,n,s,r,o){var a=r.length-1;switch(s){case 6:case 7:return n;case 8:n.getLogger().trace("Stop NL ");break;case 9:n.getLogger().trace("Stop EOF ");break;case 11:n.getLogger().trace("Stop NL2 ");break;case 12:n.getLogger().trace("Stop EOF2 ");break;case 15:n.getLogger().info("Node: ",r[a-1].id),n.addNode(r[a-2].length,r[a-1].id,r[a-1].descr,r[a-1].type,r[a]);break;case 16:n.getLogger().info("Node: ",r[a].id),n.addNode(r[a-1].length,r[a].id,r[a].descr,r[a].type);break;case 17:n.getLogger().trace("Icon: ",r[a]),n.decorateNode({icon:r[a]});break;case 18:case 23:n.decorateNode({class:r[a]});break;case 19:n.getLogger().trace("SPACELIST");break;case 20:n.getLogger().trace("Node: ",r[a-1].id),n.addNode(0,r[a-1].id,r[a-1].descr,r[a-1].type,r[a]);break;case 21:n.getLogger().trace("Node: ",r[a].id),n.addNode(0,r[a].id,r[a].descr,r[a].type);break;case 22:n.decorateNode({icon:r[a]});break;case 27:n.getLogger().trace("node found ..",r[a-2]),this.$={id:r[a-1],descr:r[a-1],type:n.getType(r[a-2],r[a])};break;case 28:this.$={id:r[a],descr:r[a],type:0};break;case 29:n.getLogger().trace("node found ..",r[a-3]),this.$={id:r[a-3],descr:r[a-1],type:n.getType(r[a-2],r[a])};break;case 30:this.$=r[a-1]+r[a];break;case 31:this.$=r[a]}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:i,7:[1,10],9:9,12:11,13:n,14:14,16:s,17:r,18:17,19:18,20:a,23:l},e(c,[2,3]),{1:[2,2]},e(c,[2,4]),e(c,[2,5]),{1:[2,6],6:i,12:21,13:n,14:14,16:s,17:r,18:17,19:18,20:a,23:l},{6:i,9:22,12:11,13:n,14:14,16:s,17:r,18:17,19:18,20:a,23:l},{6:h,7:u,10:23,11:g},e(d,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:a,23:l}),e(d,[2,19]),e(d,[2,21],{15:30,24:p}),e(d,[2,22]),e(d,[2,23]),e(y,[2,25]),e(y,[2,26]),e(y,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:u,10:34,11:g},{1:[2,7],6:i,12:21,13:n,14:14,16:s,17:r,18:17,19:18,20:a,23:l},e(f,[2,14],{7:m,11:_}),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(d,[2,16],{15:37,24:p}),e(d,[2,17]),e(d,[2,18]),e(d,[2,20],{24:k}),e(y,[2,31]),{21:[1,39]},{22:[1,40]},e(f,[2,13],{7:m,11:_}),e(b,[2,11]),e(b,[2,12]),e(d,[2,15],{24:k}),e(y,[2,30]),{22:[1,41]},e(y,[2,27]),e(y,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:(0,o.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var i=Error(e);throw i.hash=t,i}},"parseError"),parse:(0,o.eW)(function(e){var t=this,i=[0],n=[],s=[null],r=[],a=this.table,l="",c=0,h=0,u=0,g=r.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);d.setInput(e,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var f=d.yylloc;r.push(f);var m=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _(){var e;return"number"!=typeof(e=n.pop()||d.lex()||1)&&(e instanceof Array&&(e=(n=e).pop()),e=t.symbols_[e]||e),e}(0,o.eW)(function(e){i.length=i.length-2*e,s.length=s.length-e,r.length=r.length-e},"popStack"),(0,o.eW)(_,"lex");for(var b,k,E,S,N,x,L,D,O,v={};;){if(E=i[i.length-1],this.defaultActions[E]?S=this.defaultActions[E]:(null==b&&(b=_()),S=a[E]&&a[E][b]),void 0===S||!S.length||!S[0]){var C="";for(x in O=[],a[E])this.terminals_[x]&&x>2&&O.push("'"+this.terminals_[x]+"'");C=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+O.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(C,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:f,expected:O})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+b);switch(S[0]){case 1:i.push(b),s.push(d.yytext),r.push(d.yylloc),i.push(S[1]),b=null,k?(b=k,k=null):(h=d.yyleng,l=d.yytext,c=d.yylineno,f=d.yylloc,u>0&&u--);break;case 2:if(L=this.productions_[S[1]][1],v.$=s[s.length-L],v._$={first_line:r[r.length-(L||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(L||1)].first_column,last_column:r[r.length-1].last_column},m&&(v._$.range=[r[r.length-(L||1)].range[0],r[r.length-1].range[1]]),void 0!==(N=this.performAction.apply(v,[l,h,c,p.yy,S[1],s,r].concat(g))))return N;L&&(i=i.slice(0,-1*L*2),s=s.slice(0,-1*L),r=r.slice(0,-1*L)),i.push(this.productions_[S[1]][0]),s.push(v.$),r.push(v._$),D=a[i[i.length-2]][i[i.length-1]],i.push(D);break;case 3:return!0}}return!0},"parse")},S={EOF:1,parseError:(0,o.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,o.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,o.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,o.eW)(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.eW)(function(){return this._more=!0,this},"more"),reject:(0,o.eW)(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})},"reject"),less:(0,o.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,o.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,o.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,o.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,o.eW)(function(e,t){var i,n,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var r in s)this[r]=s[r];return!1},"test_match"),next:(0,o.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,i,n,s=this._currentRules(),r=0;rt[0].length)){if(t=i,n=r,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,s[r])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,s[n]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,o.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,o.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,o.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,o.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,o.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.eW)(function(e,t,i,n){switch(i){case 0:return this.pushState("shapeData"),t.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:return t.yytext=t.yytext.replace(/\n\s*/g,"
    "),24;case 4:return 24;case 5:case 10:case 29:case 32:this.popState();break;case 6:return e.getLogger().trace("Found comment",t.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 11:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return e.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:e.getLogger().trace("end icon"),this.popState();break;case 16:return e.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return e.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:case 21:case 22:case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 30:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 33:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 36:case 39:case 40:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 37:case 38:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 41:case 42:return e.getLogger().trace("Long description:",t.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};function N(){this.yy={}}return E.lexer=S,(0,o.eW)(N,"Parser"),N.prototype=E,E.Parser=N,new N}();h.parser=h;var u=[],g=[],d=0,p={},y=(0,o.eW)(()=>{u=[],g=[],d=0,p={}},"clear"),f=(0,o.eW)(e=>{if(0===u.length)return null;let t=u[0].level,i=null;for(let e=u.length-1;e>=0;e--)if(u[e].level===t&&!i&&(i=u[e]),u[e].levele.parentId===n.id))){let t={id:s.id,parentId:n.id,label:(0,o.oO)(s.label??"",i),isGroup:!1,ticket:s?.ticket,priority:s?.priority,assigned:s?.assigned,icon:s?.icon,shape:"kanbanItem",level:s.level,rx:5,ry:5,cssStyles:["text-align: left"]};e.push(t)}}return{nodes:e,edges:[],other:{},config:(0,o.nV)()}},"getData"),b=(0,o.eW)((e,t,i,s,r)=>{let a=(0,o.nV)(),l=a.mindmap?.padding??o.vZ.mindmap.padding;switch(s){case k.ROUNDED_RECT:case k.RECT:case k.HEXAGON:l*=2}let c={id:(0,o.oO)(t,a)||"kbn"+d++,level:e,label:(0,o.oO)(i,a),width:a.mindmap?.maxNodeWidth??o.vZ.mindmap.maxNodeWidth,padding:l,isGroup:!1};if(void 0!==r){let e;e=r.includes("\n")?r+"\n":"{\n"+r+"\n}";let t=(0,n.z)(e,{schema:n.A});if(t.shape&&(t.shape!==t.shape.toLowerCase()||t.shape.includes("_")))throw Error(`No such shape: ${t.shape}. Shape names should be lowercase.`);t?.shape&&"kanbanItem"===t.shape&&(c.shape=t?.shape),t?.label&&(c.label=t?.label),t?.icon&&(c.icon=t?.icon.toString()),t?.assigned&&(c.assigned=t?.assigned.toString()),t?.ticket&&(c.ticket=t?.ticket.toString()),t?.priority&&(c.priority=t?.priority)}let h=f(e);h?c.parentId=h.id||"kbn"+d++:g.push(c),u.push(c)},"addNode"),k={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},E=(0,o.eW)((e,t)=>{switch(o.cM.debug("In get type",e,t),e){case"[":return k.RECT;case"(":return")"===t?k.ROUNDED_RECT:k.CLOUD;case"((":return k.CIRCLE;case")":return k.CLOUD;case"))":return k.BANG;case"{{":return k.HEXAGON;default:return k.DEFAULT}},"getType"),S=(0,o.eW)((e,t)=>{p[e]=t},"setElementForId"),N=(0,o.eW)(e=>{if(!e)return;let t=(0,o.nV)(),i=u[u.length-1];e.icon&&(i.icon=(0,o.oO)(e.icon,t)),e.class&&(i.cssClasses=(0,o.oO)(e.class,t))},"decorateNode"),x=(0,o.eW)(e=>{switch(e){case k.DEFAULT:return"no-border";case k.RECT:return"rect";case k.ROUNDED_RECT:return"rounded-rect";case k.CIRCLE:return"circle";case k.CLOUD:return"cloud";case k.BANG:return"bang";case k.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),L=(0,o.eW)(()=>o.cM,"getLogger"),D=(0,o.eW)(e=>p[e],"getElementById"),O=(0,o.eW)(async(e,t,i,n)=>{o.cM.debug("Rendering kanban diagram\n"+e);let a=n.db.getData(),l=(0,o.nV)();l.htmlLabels=!1;let c=(0,r.P)(t),h=c.append("g");h.attr("class","sections");let u=c.append("g");u.attr("class","items");let g=a.nodes.filter(e=>e.isGroup),d=0,p=[],y=25;for(let e of g){let t=l?.kanban?.sectionWidth||200;d+=1,e.x=t*d+(d-1)*10/2,e.width=t,e.y=0,e.height=3*t,e.rx=5,e.ry=5,e.cssClasses=e.cssClasses+" section-"+d;let i=await (0,s.us)(h,e);y=Math.max(y,i?.labelBBox?.height),p.push(i)}let f=0;for(let e of g){let t=p[f];f+=1;let i=l?.kanban?.sectionWidth||200,n=-(3*i)/2+y,r=n;for(let t of a.nodes.filter(t=>t.parentId===e.id)){if(t.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");t.x=e.x,t.width=i-15;let n=(await (0,s.Lf)(u,t,{config:l})).node().getBBox();t.y=r+n.height/2,await (0,s.aH)(t),r=t.y+n.height/2+5}let o=t.cluster.select("rect"),c=Math.max(r-n+30,50)+(y-25);o.attr("height",c)}(0,o.j7)(void 0,c,l.mindmap?.padding??o.vZ.kanban.padding,l.mindmap?.useMaxWidth??o.vZ.kanban.useMaxWidth)},"draw"),v=(0,o.eW)(e=>{let t="";for(let t=0;te.darkMode?(0,c.Z)(t,i):(0,l.Z)(t,i),"adjuster");for(let n=0;n` + .edge { + stroke-width: 3; + } + ${v(e)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${e.git0}; + } + .section-root text { + fill: ${e.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .cluster-label, .label { + color: ${e.textColor}; + fill: ${e.textColor}; + } + .kanban-label { + dy: 1em; + alignment-baseline: middle; + text-anchor: middle; + dominant-baseline: middle; + text-align: center; + } +`,"getStyles"),I={db:{clear:y,addNode:b,getSections:m,getData:_,nodeType:k,getType:E,setElementForId:S,decorateNode:N,type2Str:x,getLogger:L,getElementById:D},renderer:{draw:O},parser:h,styles:C}}}]); \ No newline at end of file diff --git a/assets/js/362.aa40b504.js b/assets/js/362.aa40b504.js new file mode 100644 index 0000000..5a0332f --- /dev/null +++ b/assets/js/362.aa40b504.js @@ -0,0 +1,36 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["362"],{44867:function(t,e,i){var r,n;r=0,n=function(t){var e,i;return e={658:t=>{t.exports=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),r=1;r{var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],r=!0,n=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);r=!0);}catch(t){n=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(n)throw o}}return i}(t,e);throw TypeError("Invalid attempt to destructure non-iterable instance")},n=i(140).layoutBase.LinkedList,o={};o.getTopMostNodes=function(t){for(var e={},i=0;i0&&l.merge(t)});for(var d=0;d1){d=(l=s[0]).connectedEdges().length,s.forEach(function(t){t.connectedEdges().length0&&r.set("dummy"+(r.size+1),u),f},o.relocateComponent=function(t,e,i){if(!i.fixedNodeConstraint){var n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY;if("draft"==i.quality){var h=!0,l=!1,d=void 0;try{for(var c,g=e.nodeIndexes[Symbol.iterator]();!(h=(c=g.next()).done);h=!0){var u=c.value,f=r(u,2),p=f[0],v=f[1],y=i.cy.getElementById(p);if(y){var m=y.boundingBox(),E=e.xCoords[v]-m.w/2,N=e.xCoords[v]+m.w/2,T=e.yCoords[v]-m.h/2,A=e.yCoords[v]+m.h/2;Eo&&(o=N),Ts&&(s=A)}}}catch(t){l=!0,d=t}finally{try{!h&&g.return&&g.return()}finally{if(l)throw d}}var L=t.x-(o+n)/2,w=t.y-(s+a)/2;e.xCoords=e.xCoords.map(function(t){return t+L}),e.yCoords=e.yCoords.map(function(t){return t+w})}else{Object.keys(e).forEach(function(t){var i=e[t],r=i.getRect().x,h=i.getRect().x+i.getRect().width,l=i.getRect().y,d=i.getRect().y+i.getRect().height;ro&&(o=h),ls&&(s=d)});var _=t.x-(o+n)/2,I=t.y-(s+a)/2;Object.keys(e).forEach(function(t){var i=e[t];i.setCenter(i.getCenterX()+_,i.getCenterY()+I)})}}},o.calcBoundingBox=function(t,e,i,r){for(var n=Number.MAX_SAFE_INTEGER,o=Number.MIN_SAFE_INTEGER,a=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER,h=void 0,l=void 0,d=void 0,c=void 0,g=t.descendants().not(":parent"),u=g.length,f=0;fh&&(n=h),od&&(a=d),s{var r=i(548),n=i(140).CoSELayout,o=i(140).CoSENode,a=i(140).layoutBase.PointD,s=i(140).layoutBase.DimensionD,h=i(140).layoutBase.LayoutConstants,l=i(140).layoutBase.FDLayoutConstants,d=i(140).CoSEConstants;t.exports={coseLayout:function(t,e){var i,c,g=t.cy,u=t.eles,f=u.nodes(),p=u.edges(),v=void 0,y=void 0,m=void 0,E={};t.randomize&&(v=e.nodeIndexes,y=e.xCoords,m=e.yCoords);var N=function(t){return"function"==typeof t},T=function(t,e){return N(t)?t(e):t},A=r.calcParentsWithoutChildren(g,u);null!=t.nestingFactor&&(d.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(d.DEFAULT_GRAVITY_STRENGTH=l.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(d.MAX_ITERATIONS=l.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(d.DEFAULT_GRAVITY_RANGE_FACTOR=l.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(d.DEFAULT_COMPOUND_GRAVITY_STRENGTH=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(d.DEFAULT_COOLING_FACTOR_INCREMENTAL=l.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),null!=t.tilingCompareBy&&(d.TILING_COMPARE_BY=t.tilingCompareBy),"proof"==t.quality?h.QUALITY=2:h.QUALITY=0,d.NODE_DIMENSIONS_INCLUDE_LABELS=l.NODE_DIMENSIONS_INCLUDE_LABELS=h.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,d.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!t.randomize,d.ANIMATE=l.ANIMATE=h.ANIMATE=t.animate,d.TILE=t.tile,d.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,d.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal,d.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!0,d.PURE_INCREMENTAL=!t.randomize,h.DEFAULT_UNIFORM_LEAF_NODE_SIZES=t.uniformNodeDimensions,"transformed"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,d.ENFORCE_CONSTRAINTS=!1,d.APPLY_LAYOUT=!1),"enforced"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!0,d.APPLY_LAYOUT=!1),"cose"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!1,d.APPLY_LAYOUT=!0),"all"==t.step&&(t.randomize?d.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!0,d.APPLY_LAYOUT=!0),t.fixedNodeConstraint||t.alignmentConstraint||t.relativePlacementConstraint?d.TREE_REDUCTION_ON_INCREMENTAL=!1:d.TREE_REDUCTION_ON_INCREMENTAL=!0;var L=new n,w=L.newGraphManager();return!function t(e,i,n,h){for(var l=i.length,d=0;d0){var N=void 0;t(N=n.getGraphManager().add(n.newGraph(),u),g,n,h)}}}(w.addRoot(),r.getTopMostNodes(f),L,t),!function(e,i,r){for(var n=0,o=0,a=0;a0?d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=n/o:N(t.idealEdgeLength)?d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=50:d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=t.idealEdgeLength,d.MIN_REPULSION_DIST=l.MIN_REPULSION_DIST=l.DEFAULT_EDGE_LENGTH/10,d.DEFAULT_RADIAL_SEPARATION=l.DEFAULT_EDGE_LENGTH)}(L,w,p),i=L,(c=t).fixedNodeConstraint&&(i.constraints.fixedNodeConstraint=c.fixedNodeConstraint),c.alignmentConstraint&&(i.constraints.alignmentConstraint=c.alignmentConstraint),c.relativePlacementConstraint&&(i.constraints.relativePlacementConstraint=c.relativePlacementConstraint),L.runLayout(),E}}},212:(t,e,i)=>{var r=function(){function t(t,e){for(var i=0;i0){if(c){var g=o.getTopMostNodes(t.eles.nodes());if((h=o.connectComponents(e,t.eles,g)).forEach(function(t){var e=t.boundingBox();l.push({x:e.x1+e.w/2,y:e.y1+e.h/2})}),t.randomize&&h.forEach(function(e){t.eles=e,r.push(a(t))}),"default"==t.quality||"proof"==t.quality){var u=e.collection();if(t.tile){var f=new Map,p=0,v={nodeIndexes:f,xCoords:[],yCoords:[]},y=[];if(h.forEach(function(t,e){0==t.edges().length&&(t.nodes().forEach(function(e,i){u.merge(t.nodes()[i]),!e.isParent()&&(v.nodeIndexes.set(t.nodes()[i].id(),p++),v.xCoords.push(t.nodes()[0].position().x),v.yCoords.push(t.nodes()[0].position().y))}),y.push(e))}),u.length>1){var m=u.boundingBox();l.push({x:m.x1+m.w/2,y:m.y1+m.h/2}),h.push(u),r.push(v);for(var E=y.length-1;E>=0;E--)h.splice(y[E],1),r.splice(y[E],1),l.splice(y[E],1)}}h.forEach(function(e,i){t.eles=e,n.push(s(t,r[i])),o.relocateComponent(l[i],n[i],t)})}else h.forEach(function(e,i){o.relocateComponent(l[i],r[i],t)});var N=new Set;if(h.length>1){var T=[],A=i.filter(function(t){return"none"==t.css("display")});h.forEach(function(e,i){var a=void 0;if("draft"==t.quality&&(a=r[i].nodeIndexes),e.nodes().not(A).length>0){var s={};s.edges=[],s.nodes=[];var h=void 0;e.nodes().not(A).forEach(function(e){if("draft"==t.quality){if(e.isParent()){var l=o.calcBoundingBox(e,r[i].xCoords,r[i].yCoords,a);s.nodes.push({x:l.topLeftX,y:l.topLeftY,width:l.width,height:l.height})}else h=a.get(e.id()),s.nodes.push({x:r[i].xCoords[h]-e.boundingbox().w/2,y:r[i].yCoords[h]-e.boundingbox().h/2,width:e.boundingbox().w,height:e.boundingbox().h})}else n[i][e.id()]&&s.nodes.push({x:n[i][e.id()].getLeft(),y:n[i][e.id()].getTop(),width:n[i][e.id()].getWidth(),height:n[i][e.id()].getHeight()})}),e.edges().forEach(function(e){var h=e.source(),l=e.target();if("none"!=h.css("display")&&"none"!=l.css("display")){if("draft"==t.quality){var d=a.get(h.id()),c=a.get(l.id()),g=[],u=[];if(h.isParent()){var f=o.calcBoundingBox(h,r[i].xCoords,r[i].yCoords,a);g.push(f.topLeftX+f.width/2),g.push(f.topLeftY+f.height/2)}else g.push(r[i].xCoords[d]),g.push(r[i].yCoords[d]);if(l.isParent()){var p=o.calcBoundingBox(l,r[i].xCoords,r[i].yCoords,a);u.push(p.topLeftX+p.width/2),u.push(p.topLeftY+p.height/2)}else u.push(r[i].xCoords[c]),u.push(r[i].yCoords[c]);s.edges.push({startX:g[0],startY:g[1],endX:u[0],endY:u[1]})}else n[i][h.id()]&&n[i][l.id()]&&s.edges.push({startX:n[i][h.id()].getCenterX(),startY:n[i][h.id()].getCenterY(),endX:n[i][l.id()].getCenterX(),endY:n[i][l.id()].getCenterY()})}}),s.nodes.length>0&&(T.push(s),N.add(i))}});var L=d.packComponents(T,t.randomize).shifts;if("draft"==t.quality)r.forEach(function(t,e){var i=t.xCoords.map(function(t){return t+L[e].dx}),r=t.yCoords.map(function(t){return t+L[e].dy});t.xCoords=i,t.yCoords=r});else{var w=0;N.forEach(function(t){Object.keys(n[t]).forEach(function(e){var i=n[t][e];i.setCenter(i.getCenterX()+L[w].dx,i.getCenterY()+L[w].dy)}),w++})}}}else{var _=t.eles.boundingBox();if(l.push({x:_.x1+_.w/2,y:_.y1+_.h/2}),t.randomize){var I=a(t);r.push(I)}"default"==t.quality||"proof"==t.quality?(n.push(s(t,r[0])),o.relocateComponent(l[0],n[0],t)):o.relocateComponent(l[0],r[0],t)}}var C=function(e,i){if("default"==t.quality||"proof"==t.quality){"number"==typeof e&&(e=i);var o=void 0,a=void 0,s=e.data("id");return n.forEach(function(t){s in t&&(o={x:t[s].getRect().getCenterX(),y:t[s].getRect().getCenterY()},a=t[s])}),t.nodeDimensionsIncludeLabels&&(a.labelWidth&&("left"==a.labelPosHorizontal?o.x+=a.labelWidth/2:"right"==a.labelPosHorizontal&&(o.x-=a.labelWidth/2)),a.labelHeight&&("top"==a.labelPosVertical?o.y+=a.labelHeight/2:"bottom"==a.labelPosVertical&&(o.y-=a.labelHeight/2))),void 0==o&&(o={x:e.position("x"),y:e.position("y")}),{x:o.x,y:o.y}}var h=void 0;return r.forEach(function(t){var i=t.nodeIndexes.get(e.id());void 0!=i&&(h={x:t.xCoords[i],y:t.yCoords[i]})}),void 0==h&&(h={x:e.position("x"),y:e.position("y")}),{x:h.x,y:h.y}};if("default"==t.quality||"proof"==t.quality||t.randomize){var M=o.calcParentsWithoutChildren(e,i),x=i.filter(function(t){return"none"==t.css("display")});t.eles=i.not(x),i.nodes().not(":parent").not(x).layoutPositions(this,t,C),M.length>0&&M.forEach(function(t){t.position(C(t))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),t}();t.exports=l},657:(t,e,i)=>{var r=i(548),n=i(140).layoutBase.Matrix,o=i(140).layoutBase.SVD;t.exports={spectralLayout:function(t){var e=t.cy,i=t.eles,a=i.nodes(),s=i.nodes(":parent"),h=new Map,l=new Map,d=new Map,c=[],g=[],u=[],f=[],p=[],v=[],y=[],m=[],E=void 0,N=t.piTol,T=t.samplingType,A=t.nodeSeparation,L=void 0,w=function(){for(var t=0,e=0,i=!1;e=n;){for(var f=c[a=r[n++]],y=0;yd&&(d=p[N],g=N)}return g};r.connectComponents(e,i,r.getTopMostNodes(a),h),s.forEach(function(t){r.connectComponents(e,i,r.getTopMostNodes(t.descendants().intersection(i)),h)});for(var I=0,C=0;C0&&(r.isParent()?c[e].push(d.get(r.id())):c[e].push(r.id()))})});var F=function(t){var i=l.get(t),r=void 0;h.get(t).forEach(function(n){r=e.getElementById(n).isParent()?d.get(n):n,c[i].push(r),c[l.get(r)].push(t)})},S=!0,P=!1,U=void 0;try{for(var Y,k=h.keys()[Symbol.iterator]();!(S=(Y=k.next()).done);S=!0){var H=Y.value;F(H)}}catch(t){P=!0,U=t}finally{try{!S&&k.return&&k.return()}finally{if(P)throw U}}E=l.size;var X=void 0;if(E>2){L=E=1)break;d=l}for(var p=0;p=1)break;d=l}for(var T=0;T{var r=i(212),n=function(t){if(!!t)t("layout","fcose",r)};"undefined"!=typeof cytoscape&&n(cytoscape),t.exports=n},140:e=>{e.exports=t}},i={},function t(r){var n=i[r];if(void 0!==n)return n.exports;var o=i[r]={exports:{}};return e[r](o,o.exports,t),o.exports}(579)},t.exports=n(i(26914))},26914:function(t,e,i){var r,n;r=0,n=function(t){var e,i;return e={45:(t,e,i)=>{var r={};r.layoutBase=i(551),r.CoSEConstants=i(806),r.CoSEEdge=i(767),r.CoSEGraph=i(880),r.CoSEGraphManager=i(578),r.CoSELayout=i(765),r.CoSENode=i(991),r.ConstraintHandler=i(902),t.exports=r},806:(t,e,i)=>{var r=i(551).FDLayoutConstants;function n(){}for(var o in r)n[o]=r[o];n.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,n.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,n.DEFAULT_COMPONENT_SEPERATION=60,n.TILE=!0,n.TILING_PADDING_VERTICAL=10,n.TILING_PADDING_HORIZONTAL=10,n.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,n.ENFORCE_CONSTRAINTS=!0,n.APPLY_LAYOUT=!0,n.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,n.TREE_REDUCTION_ON_INCREMENTAL=!0,n.PURE_INCREMENTAL=n.DEFAULT_INCREMENTAL,t.exports=n},767:(t,e,i)=>{var r=i(551).FDLayoutEdge;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},880:(t,e,i)=>{var r=i(551).LGraph;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},578:(t,e,i)=>{var r=i(551).LGraphManager;function n(t){r.call(this,t)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},765:(t,e,i)=>{var r=i(551).FDLayout,n=i(578),o=i(880),a=i(991),s=i(767),h=i(806),l=i(902),d=i(551).FDLayoutConstants,c=i(551).LayoutConstants,g=i(551).Point,u=i(551).PointD,f=i(551).DimensionD,p=i(551).Layout,v=i(551).Integer,y=i(551).IGeometry,m=i(551).LGraph,E=i(551).Transform,N=i(551).LinkedList;function T(){r.call(this),this.toBeTiled={},this.constraints={}}for(var A in T.prototype=Object.create(r.prototype),r)T[A]=r[A];T.prototype.newGraphManager=function(){var t=new n(this);return this.graphManager=t,t},T.prototype.newGraph=function(t){return new o(null,this.graphManager,t)},T.prototype.newNode=function(t){return new a(this.graphManager,t)},T.prototype.newEdge=function(t){return new s(null,null,t)},T.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),!this.isSubLayout&&(h.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=h.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=d.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=d.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=d.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},T.prototype.initSpringEmbedder=function(){r.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/d.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},T.prototype.layout=function(){return c.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},T.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(h.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 i=this.getFlatForest();if(i.length>0)this.positionNodesRadially(i);else{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),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(l.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),h.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},T.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%d.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(),h.PURE_INCREMENTAL?this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=d.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()),h.PURE_INCREMENTAL?this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},T.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i0&&this.updateDisplacements();for(var i=0;i0&&(r.fixedNodeWeight=n)}}if(this.constraints.relativePlacementConstraint){var o=new Map,a=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(e){t.fixedNodesOnHorizontal.add(e),t.fixedNodesOnVertical.add(e)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical){for(var s=this.constraints.alignmentConstraint.vertical,i=0;i=2*t.length/3;r--)e=Math.floor(Math.random()*(r+1)),i=t[r],t[r]=t[e],t[e]=i;return t},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(e){if(e.left){var i=o.has(e.left)?o.get(e.left):e.left,r=o.has(e.right)?o.get(e.right):e.right;!t.nodesInRelativeHorizontal.includes(i)&&(t.nodesInRelativeHorizontal.push(i),t.nodeToRelativeConstraintMapHorizontal.set(i,[]),t.dummyToNodeForVerticalAlignment.has(i)?t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(i)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(i).getCenterX())),!t.nodesInRelativeHorizontal.includes(r)&&(t.nodesInRelativeHorizontal.push(r),t.nodeToRelativeConstraintMapHorizontal.set(r,[]),t.dummyToNodeForVerticalAlignment.has(r)?t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(r)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(r).getCenterX())),t.nodeToRelativeConstraintMapHorizontal.get(i).push({right:r,gap:e.gap}),t.nodeToRelativeConstraintMapHorizontal.get(r).push({left:i,gap:e.gap})}else{var n=a.has(e.top)?a.get(e.top):e.top,s=a.has(e.bottom)?a.get(e.bottom):e.bottom;!t.nodesInRelativeVertical.includes(n)&&(t.nodesInRelativeVertical.push(n),t.nodeToRelativeConstraintMapVertical.set(n,[]),t.dummyToNodeForHorizontalAlignment.has(n)?t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(n)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(n).getCenterY())),!t.nodesInRelativeVertical.includes(s)&&(t.nodesInRelativeVertical.push(s),t.nodeToRelativeConstraintMapVertical.set(s,[]),t.dummyToNodeForHorizontalAlignment.has(s)?t.nodeToTempPositionMapVertical.set(s,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(s)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(s,t.idToNodeMap.get(s).getCenterY())),t.nodeToRelativeConstraintMapVertical.get(n).push({bottom:s,gap:e.gap}),t.nodeToRelativeConstraintMapVertical.get(s).push({top:n,gap:e.gap})}});else{var d=new Map,c=new Map;this.constraints.relativePlacementConstraint.forEach(function(t){if(t.left){var e=o.has(t.left)?o.get(t.left):t.left,i=o.has(t.right)?o.get(t.right):t.right;d.has(e)?d.get(e).push(i):d.set(e,[i]),d.has(i)?d.get(i).push(e):d.set(i,[e])}else{var r=a.has(t.top)?a.get(t.top):t.top,n=a.has(t.bottom)?a.get(t.bottom):t.bottom;c.has(r)?c.get(r).push(n):c.set(r,[n]),c.has(n)?c.get(n).push(r):c.set(n,[r])}});var g=function(t,e){var i=[],r=[],n=new N,o=new Set,a=0;return t.forEach(function(s,h){if(!o.has(h)){i[a]=[],r[a]=!1;var l=h;for(n.push(l),o.add(l),i[a].push(l);0!=n.length;)l=n.shift(),e.has(l)&&(r[a]=!0),t.get(l).forEach(function(t){!o.has(t)&&(n.push(t),o.add(t),i[a].push(t))});a++}}),{components:i,isFixed:r}},u=g(d,t.fixedNodesOnHorizontal);this.componentsOnHorizontal=u.components,this.fixedComponentsOnHorizontal=u.isFixed;var f=g(c,t.fixedNodesOnVertical);this.componentsOnVertical=f.components,this.fixedComponentsOnVertical=f.isFixed}}},T.prototype.updateDisplacements=function(){var t=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(e){var i=t.idToNodeMap.get(e.nodeId);i.displacementX=0,i.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical){for(var e=this.constraints.alignmentConstraint.vertical,i=0;i1)for(a=0;ar&&(r=Math.floor(a.y)),o=Math.floor(a.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(c.WORLD_CENTER_X-a.x/2,c.WORLD_CENTER_Y-a.y/2))},T.radialLayout=function(t,e,i){var r=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);T.branchRadialLayout(e,null,0,359,0,r);var n=m.calculateBounds(t),o=new E;o.setDeviceOrgX(n.getMinX()),o.setDeviceOrgY(n.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var a=0;a1;){var v=p[0];p.splice(0,1);var m=c.indexOf(v);m>=0&&c.splice(m,1),f--,g--}a=null!=e?(c.indexOf(p[0])+1)%f:0;for(var E=Math.abs(r-i)/g,N=a;u!=g;N=++N%f){var A=c[N].getOtherEnd(t);if(A!=e){var L=(i+u*E)%360,w=(L+E)%360;T.branchRadialLayout(A,t,L,w,n+o,o),u++}}},T.maxDiagonalInTree=function(t){for(var e=v.MIN_VALUE,i=0;ie&&(e=r)}return e},T.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},T.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],r=this.graphManager.getAllNodes(),n=0;n1){var r="DummyCompound_"+i;t.memberGroups[r]=e[i];var n=e[i][0].getParent(),o=new a(t.graphManager);o.id=r,o.paddingLeft=n.paddingLeft||0,o.paddingRight=n.paddingRight||0,o.paddingBottom=n.paddingBottom||0,o.paddingTop=n.paddingTop||0,t.idToDummyNode[r]=o;var s=t.getGraphManager().add(t.newGraph(),o),h=n.getChild();h.add(o);for(var l=0;ln?(r.rect.x-=(r.labelWidth-n)/2,r.setWidth(r.labelWidth),r.labelMarginLeft=(r.labelWidth-n)/2):"right"==r.labelPosHorizontal&&r.setWidth(n+r.labelWidth)),r.labelHeight&&("top"==r.labelPosVertical?(r.rect.y-=r.labelHeight,r.setHeight(o+r.labelHeight),r.labelMarginTop=r.labelHeight):"center"==r.labelPosVertical&&r.labelHeight>o?(r.rect.y-=(r.labelHeight-o)/2,r.setHeight(r.labelHeight),r.labelMarginTop=(r.labelHeight-o)/2):"bottom"==r.labelPosVertical&&r.setHeight(o+r.labelHeight))}})},T.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],i=e.id,r=e.paddingLeft,n=e.paddingTop,o=e.labelMarginLeft,a=e.labelMarginTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,r,n,o,a)}},T.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var r=t.idToDummyNode[i],n=r.paddingLeft,o=r.paddingTop,a=r.labelMarginLeft,s=r.labelMarginTop;t.adjustLocations(e[i],r.rect.x,r.rect.y,n,o,a,s)})},T.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var r=i.getNodes(),n=0;n0)return this.toBeTiled[e]=!1,!1;if(null==o.getChild()){this.toBeTiled[o.id]=!1;continue}if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}return this.toBeTiled[e]=!0,!0},T.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,r=0;rd&&(d=g.rect.height)}i+=d+t.verticalPadding}},T.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(r){var n=e[r];if(i.tiledMemberPack[r]=i.tileNodes(t[r],n.paddingLeft+n.paddingRight),n.rect.width=i.tiledMemberPack[r].width,n.rect.height=i.tiledMemberPack[r].height,n.setCenter(i.tiledMemberPack[r].centerX,i.tiledMemberPack[r].centerY),n.labelMarginLeft=0,n.labelMarginTop=0,h.NODE_DIMENSIONS_INCLUDE_LABELS){var o=n.rect.width,a=n.rect.height;n.labelWidth&&("left"==n.labelPosHorizontal?(n.rect.x-=n.labelWidth,n.setWidth(o+n.labelWidth),n.labelMarginLeft=n.labelWidth):"center"==n.labelPosHorizontal&&n.labelWidth>o?(n.rect.x-=(n.labelWidth-o)/2,n.setWidth(n.labelWidth),n.labelMarginLeft=(n.labelWidth-o)/2):"right"==n.labelPosHorizontal&&n.setWidth(o+n.labelWidth)),n.labelHeight&&("top"==n.labelPosVertical?(n.rect.y-=n.labelHeight,n.setHeight(a+n.labelHeight),n.labelMarginTop=n.labelHeight):"center"==n.labelPosVertical&&n.labelHeight>a?(n.rect.y-=(n.labelHeight-a)/2,n.setHeight(n.labelHeight),n.labelMarginTop=(n.labelHeight-a)/2):"bottom"==n.labelPosVertical&&n.setHeight(a+n.labelHeight))}})},T.prototype.tileNodes=function(t,e){var i,r=this.tileNodesByFavoringDim(t,e,!0),n=this.tileNodesByFavoringDim(t,e,!1),o=this.getOrgRatio(r);return i=this.getOrgRatio(n)l&&(l=t.getWidth())});var d=a/o,c=Math.pow(r-n,2)+4*(d+n)*(s/o+r)*o,g=(n-r+Math.sqrt(c))/(2*(d+n));e?(i=Math.ceil(g))==g&&i++:i=Math.floor(g);var u=i*(d+n)-n;return l>u&&(u=l),u+=2*n},T.prototype.tileNodesByFavoringDim=function(t,e,i){var r=h.TILING_PADDING_VERTICAL,n=h.TILING_PADDING_HORIZONTAL,o=h.TILING_COMPARE_BY,a={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:r,horizontalPadding:n,centerX:0,centerY:0};o&&(a.idealRowWidth=this.calcIdealRowWidth(t,i));var s=function(t){return t.rect.width*t.rect.height},l=function(t,e){return s(e)-s(t)};t.sort(function(t,e){var i=l;return a.idealRowWidth?(i=o)(t.id,e.id):i(t,e)});for(var d=0,c=0,g=0;g0&&(n+=t.horizontalPadding),t.rowWidth[i]=n,t.width0&&(o+=t.verticalPadding);var a=0;o>t.rowHeight[i]&&(a=t.rowHeight[i],t.rowHeight[i]=o,a=t.rowHeight[i]-a),t.height+=a,t.rows[i].push(e)},T.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,r=0;ri&&(e=r,i=t.rowWidth[r]);return e},T.prototype.canAddHorizontal=function(t,e,i){if(t.idealRowWidth){var r,n,o=t.rows.length-1;return t.rowWidth[o]+e+t.horizontalPadding<=t.idealRowWidth}var a=this.getShortestRowIndex(t);if(a<0)return!0;var s=t.rowWidth[a];if(s+t.horizontalPadding+e<=t.width)return!0;var h=0;return t.rowHeight[a]0&&(h=i+t.verticalPadding-t.rowHeight[a]),r=t.width-s>=e+t.horizontalPadding?(t.height+h)/(s+e+t.horizontalPadding):(t.height+h)/t.width,h=i+t.verticalPadding,(n=t.widtho&&e!=i){r.splice(-1,1),t.rows[i].push(n),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var a=Number.MIN_VALUE,s=0;sa&&(a=r[s].height);e>0&&(a+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=a,t.rowHeight[i]0)for(var u=a;u<=s;u++)g[0]+=this.grid[u][l-1].length+this.grid[u][l].length-1;if(s0)for(var u=l;u<=c;u++)g[3]+=this.grid[a-1][u].length+this.grid[a][u].length-1;for(var f=v.MAX_VALUE,p=0;p{var r=i(551).FDLayoutNode,n=i(551).IMath;function o(t,e,i,n){r.call(this,t,e,i,n)}for(var a in o.prototype=Object.create(r.prototype),r)o[a]=r[a];o.prototype.calculateDisplacement=function(){var t=this.graphManager.getLayout();null!=this.getChild()&&this.fixedNodeWeight?(this.displacementX+=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(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*n.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*n.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,r=this.getChild().getNodes(),n=0;n{function r(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e0){var o=0;r.forEach(function(t){"horizontal"==e?c.set(t,h.has(t)?l[h.get(t)]:n.get(t)):c.set(t,h.has(t)?d[h.get(t)]:n.get(t)),o+=c.get(t)}),o/=r.length,t.forEach(function(t){!i.has(t)&&c.set(t,o)})}else{var a=0;t.forEach(function(t){"horizontal"==e?a+=h.has(t)?l[h.get(t)]:n.get(t):a+=h.has(t)?d[h.get(t)]:n.get(t)}),a/=t.length,t.forEach(function(t){c.set(t,a)})}});for(;0!=u.length;)!function(){var r=u.shift();t.get(r).forEach(function(t){if(c.get(t.id)a&&(a=m),Es&&(s=E)}}catch(t){u=!0,f=t}finally{try{!g&&v.return&&v.return()}finally{if(u)throw f}}var N=(r+a)/2-(o+s)/2,T=!0,A=!1,L=void 0;try{for(var w,_=t[Symbol.iterator]();!(T=(w=_.next()).done);T=!0){var I=w.value;c.set(I,c.get(I)+N)}}catch(t){A=!0,L=t}finally{try{!T&&_.return&&_.return()}finally{if(A)throw L}}})}return c},y=function(t){var e=0,i=0,r=0,n=0;if(t.forEach(function(t){t.left?l[h.get(t.left)]-l[h.get(t.right)]>=0?e++:i++:d[h.get(t.top)]-d[h.get(t.bottom)]>=0?r++:n++}),e>i&&r>n)for(var o=0;oi)for(var a=0;an)for(var s=0;s1)e.fixedNodeConstraint.forEach(function(t,e){T[e]=[t.position.x,t.position.y],A[e]=[l[h.get(t.nodeId)],d[h.get(t.nodeId)]]}),L=!0;else if(e.alignmentConstraint)!function(){var t=0;if(e.alignmentConstraint.vertical){for(var i=e.alignmentConstraint.vertical,n=0;n0?l[h.get(o.values().next().value)]:p(n).x,i[e].forEach(function(e){T[t]=[a,d[h.get(e)]],A[t]=[l[h.get(e)],d[h.get(e)]],t++})}(n);L=!0}if(e.alignmentConstraint.horizontal){for(var o=e.alignmentConstraint.horizontal,a=0;a0?l[h.get(n.values().next().value)]:p(i).y,o[e].forEach(function(e){T[t]=[l[h.get(e)],a],A[t]=[l[h.get(e)],d[h.get(e)]],t++})}(a);L=!0}e.relativePlacementConstraint&&(w=!0)}();else if(e.relativePlacementConstraint){for(var x=0,O=0,D=0;Dx&&(x=M[D].length,O=D);if(x0){var j={x:0,y:0};e.fixedNodeConstraint.forEach(function(t,e){var i,r,n={x:l[h.get(t.nodeId)],y:d[h.get(t.nodeId)]};var o=(i=t.position,r=n,{x:i.x-r.x,y:i.y-r.y});j.x+=o.x,j.y+=o.y}),j.x/=e.fixedNodeConstraint.length,j.y/=e.fixedNodeConstraint.length,l.forEach(function(t,e){l[e]+=j.x}),d.forEach(function(t,e){d[e]+=j.y}),e.fixedNodeConstraint.forEach(function(t){l[h.get(t.nodeId)]=t.position.x,d[h.get(t.nodeId)]=t.position.y})}if(e.alignmentConstraint){if(e.alignmentConstraint.vertical){for(var q=e.alignmentConstraint.vertical,$=0;$0?l[h.get(i.values().next().value)]:p(e).x,e.forEach(function(t){!_.has(t)&&(l[h.get(t)]=n)})}($)}if(e.alignmentConstraint.horizontal){for(var Z=e.alignmentConstraint.horizontal,Q=0;Q0?d[h.get(i.values().next().value)]:p(e).y,e.forEach(function(t){!_.has(t)&&(d[h.get(t)]=n)})}(Q)}}e.relativePlacementConstraint&&!function(){var t=new Map,i=new Map,r=new Map,n=new Map,o=new Map,a=new Map,s=new Set,c=new Set;if(_.forEach(function(t){s.add(t),c.add(t)}),e.alignmentConstraint){if(e.alignmentConstraint.vertical){for(var g=e.alignmentConstraint.vertical,u=function(e){r.set("dummy"+e,[]),g[e].forEach(function(i){t.set(i,"dummy"+e),r.get("dummy"+e).push(i),_.has(i)&&s.add("dummy"+e)}),o.set("dummy"+e,l[h.get(g[e][0])])},f=0;f{e.exports=t}},i={},function t(r){var n=i[r];if(void 0!==n)return n.exports;var o=i[r]={exports:{}};return e[r](o,o.exports,t),o.exports}(45)},t.exports=n(i(13035))},13035:function(t){var e,i;e=0,i=function(){return function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){!i.o(t,e)&&Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28)}([function(t,e,i){"use strict";function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(8),o=i(9);function a(t,e,i){r.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var s in a.prototype=Object.create(r.prototype),r)a[s]=r[s];a.prototype.getSource=function(){return this.source},a.prototype.getTarget=function(){return this.target},a.prototype.isInterGraph=function(){return this.isInterGraph},a.prototype.getLength=function(){return this.length},a.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},a.prototype.getBendpoints=function(){return this.bendpoints},a.prototype.getLca=function(){return this.lca},a.prototype.getSourceInLca=function(){return this.sourceInLca},a.prototype.getTargetInLca=function(){return this.targetInLca},a.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"},a.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),r=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==r)break;i=i.getOwner().getParent()}return null},a.prototype.updateLength=function(){var t=[,,,,];this.isOverlapingSourceAndTarget=n.getIntersection(this.target.getRect(),this.source.getRect(),t),!this.isOverlapingSourceAndTarget&&(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},a.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=a},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(13),a=i(0),s=i(16),h=i(5);function l(t,e,i,a){null==i&&null==a&&(a=e),r.call(this,a),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=n.MIN_VALUE,this.inclusionTreeDepth=n.MAX_VALUE,this.vGraphObject=a,this.edges=[],this.graphManager=t,null!=i&&null!=e?this.rect=new o(e.x,e.y,i.width,i.height):this.rect=new o}for(var d in l.prototype=Object.create(r.prototype),r)l[d]=r[d];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.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},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(r.target==t){if(r.source!=i)throw"Incorrect edge source!";e.push(r)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(!(r.source==i||r.target==i))throw"Incorrect edge source and/or target";(r.target==t||r.source==t)&&e.push(r)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child){for(var e=this.child.getNodes(),i=0;ie?(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)):"right"==this.labelPosHorizontal&&this.setWidth(e+this.labelWidth)),this.labelHeight&&("top"==this.labelPosVertical?(this.rect.y-=this.labelHeight,this.setHeight(i+this.labelHeight)):"center"==this.labelPosVertical&&this.labelHeight>i?(this.rect.y-=(this.labelHeight-i)/2,this.setHeight(this.labelHeight)):"bottom"==this.labelPosVertical&&this.setHeight(i+this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==n.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>a.WORLD_BOUNDARY?e=a.WORLD_BOUNDARY:e<-a.WORLD_BOUNDARY&&(e=-a.WORLD_BOUNDARY);var i=this.rect.y;i>a.WORLD_BOUNDARY?i=a.WORLD_BOUNDARY:i<-a.WORLD_BOUNDARY&&(i=-a.WORLD_BOUNDARY);var r=new h(e,i),n=t.inverseTransformPoint(r);this.setLocation(n.x,n.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";var r=i(0);function n(){}for(var o in r)n[o]=r[o];n.MAX_ITERATIONS=2500,n.DEFAULT_EDGE_LENGTH=50,n.DEFAULT_SPRING_STRENGTH=.45,n.DEFAULT_REPULSION_STRENGTH=4500,n.DEFAULT_GRAVITY_STRENGTH=.4,n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,n.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,n.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,n.COOLING_ADAPTATION_FACTOR=.33,n.ADAPTATION_LOWER_NODE_LIMIT=1e3,n.ADAPTATION_UPPER_NODE_LIMIT=5e3,n.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,n.MAX_NODE_DISPLACEMENT=3*n.MAX_NODE_DISPLACEMENT_INCREMENTAL,n.MIN_REPULSION_DIST=n.DEFAULT_EDGE_LENGTH/10,n.CONVERGENCE_CHECK_PERIOD=100,n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,n.MIN_EDGE_LENGTH=1,n.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=n},function(t,e,i){"use strict";function r(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(0),a=i(7),s=i(3),h=i(1),l=i(13),d=i(12),c=i(11);function g(t,e,i){r.call(this,i),this.estimatedSize=n.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof a?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var u in g.prototype=Object.create(r.prototype),r)g[u]=r[u];g.prototype.getNodes=function(){return this.nodes},g.prototype.getEdges=function(){return this.edges},g.prototype.getGraphManager=function(){return this.graphManager},g.prototype.getParent=function(){return this.parent},g.prototype.getLeft=function(){return this.left},g.prototype.getRight=function(){return this.right},g.prototype.getTop=function(){return this.top},g.prototype.getBottom=function(){return this.bottom},g.prototype.isConnected=function(){return this.isConnected},g.prototype.add=function(t,e,i){if(null==e&&null==i){if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(t)>-1)throw"Node already in graph!";return t.owner=this,this.getNodes().push(t),t}if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(!(e.owner==i.owner&&e.owner==this))throw"Both owners must be this graph!";return e.owner!=i.owner?null:(t.source=e,t.target=i,t.isInterGraph=!1,this.getEdges().push(t),e.edges.push(t),i!=e&&i.edges.push(t),t)},g.prototype.remove=function(t){if(t instanceof s){if(null==t)throw"Node is null!";if(!(null!=t.owner&&t.owner==this))throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var e,i=t.edges.slice(),r=i.length,n=0;n-1&&l>-1))throw"Source and/or target doesn't know this edge!";e.source.edges.splice(a,1),e.target!=e.source&&e.target.edges.splice(l,1);var o=e.source.owner.getEdges().indexOf(e);if(-1==o)throw"Not in owner's edge list!";e.source.owner.getEdges().splice(o,1)}},g.prototype.updateLeftTop=function(){for(var t,e,i,r=n.MAX_VALUE,o=n.MAX_VALUE,a=this.getNodes(),s=a.length,h=0;ht&&(r=t),o>e&&(o=e)}return r==n.MAX_VALUE?null:(i=void 0!=a[0].getParent().paddingLeft?a[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=r-i,new d(this.left,this.top))},g.prototype.updateBounds=function(t){for(var e,i,r,o,a,s=n.MAX_VALUE,h=-n.MAX_VALUE,d=n.MAX_VALUE,c=-n.MAX_VALUE,g=this.nodes,u=g.length,f=0;fe&&(s=e),hr&&(d=r),ce&&(a=e),sr&&(h=r),d=this.nodes.length){var h=0;n.forEach(function(t){t.owner==i&&h++}),h==this.nodes.length&&(this.isConnected=!0)}},t.exports=g},function(t,e,i){"use strict";var r,n=i(1);function o(t){r=i(6),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,r,n){if(null==i&&null==r&&null==n){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}n=i,r=e,i=t;var o=r.getOwner(),a=n.getOwner();if(!(null!=o&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(null!=a&&a.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==a)return i.isInterGraph=!1,o.add(i,r,n);if(i.isInterGraph=!0,i.source=r,i.target=n,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),!(null!=i.source&&null!=i.target))throw"Edge source and/or target is null!";if(!(-1==i.source.edges.indexOf(i)&&-1==i.target.edges.indexOf(i)))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof r){if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||null!=t.parent&&t.parent.graphManager==this))throw"Invalid parent node!";for(var e,i,o=[],a=(o=o.concat(t.getEdges())).length,s=0;s=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var a=o*i[0],s=i[1]/o;i[0]a?(i[0]=r,i[1]=h,i[2]=o,i[3]=E):no?(i[0]=s,i[1]=n,i[2]=y,i[3]=a):ro?(i[0]=d,i[1]=c):(i[0]=l,i[1]=h),L=!0):_===C&&(r>o?(i[0]=s,i[1]=h):(i[0]=g,i[1]=c),L=!0),-I===C?(o>r?(i[2]=m,i[3]=E):(i[2]=y,i[3]=v),w=!0):I===C&&(o>r?(i[2]=p,i[3]=v):(i[2]=N,i[3]=E),w=!0),L&&w)return!1;if(r>o?n>a?(M=this.getCardinalDirection(_,C,4),x=this.getCardinalDirection(I,C,2)):(M=this.getCardinalDirection(-_,C,3),x=this.getCardinalDirection(-I,C,1)):n>a?(M=this.getCardinalDirection(-_,C,1),x=this.getCardinalDirection(-I,C,3)):(M=this.getCardinalDirection(_,C,2),x=this.getCardinalDirection(I,C,4)),!L)switch(M){case 1:D=h,O=r+-f/C,i[0]=O,i[1]=D;break;case 2:O=g,D=n+u*C,i[0]=O,i[1]=D;break;case 3:D=c,O=r+f/C,i[0]=O,i[1]=D;break;case 4:O=d,D=n+-u*C,i[0]=O,i[1]=D}if(!w)switch(x){case 1:b=v,R=o+-A/C,i[2]=R,i[3]=b;break;case 2:R=N,b=a+T*C,i[2]=R,i[3]=b;break;case 3:b=E,R=o+A/C,i[2]=R,i[3]=b;break;case 4:R=m,b=a+-T*C,i[2]=R,i[3]=b}}return!1},n.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},n.getIntersection=function(t,e,i,n){if(null==n)return this.getIntersection2(t,e,i);var o=t.x,a=t.y,s=e.x,h=e.y,l=i.x,d=i.y,c=n.x,g=n.y,u=void 0,f=void 0,p=void 0,v=void 0,y=void 0,m=void 0,E=void 0,N=void 0,T=void 0;return(p=h-a,y=o-s,E=s*a-o*h,v=g-d,m=l-c,N=c*d-l*g,0==(T=p*m-v*y))?null:new r(u=(y*N-m*E)/T,f=(v*E-p*N)/T)},n.angleOfVector=function(t,e,i,r){var n=void 0;return t!==i?(n=Math.atan((r-e)/(i-t)),i=0))return null;var d=(-h+Math.sqrt(h*h-4*s*l))/(2*s),c=(-h-Math.sqrt(h*h-4*s*l))/(2*s);return d>=0&&d<=1?[d]:c>=0&&c<=1?[c]:null},n.HALF_PI=.5*Math.PI,n.ONE_AND_HALF_PI=1.5*Math.PI,n.TWO_PI=2*Math.PI,n.THREE_PI=3*Math.PI,t.exports=n},function(t,e,i){"use strict";function r(){}r.sign=function(t){return t>0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=r},function(t,e,i){"use strict";function r(){}r.MAX_VALUE=0x7fffffff,r.MIN_VALUE=-0x80000000,t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i0&&e;){for(s.push(l[0]);s.length>0&&e;){var d=s[0];s.splice(0,1),a.add(d);for(var c=d.getEdges(),o=0;o-1&&l.splice(p,1)}a=new Set,h=new Map}else t=[]}return t},g.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,r=this.graphManager.calcLowestCommonAncestor(t.source,t.target),n=0;n0){for(var n=this.edgeToDummyNodes.get(i),o=0;o=0&&e.splice(c,1),s.getNeighborsList().forEach(function(t){if(0>i.indexOf(t)){var e=r.get(t)-1;1==e&&l.push(t),r.set(t,e)}})}i=i.concat(l),(1==e.length||2==e.length)&&(n=!0,o=e[0])}return o},g.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=g},function(t,e,i){"use strict";function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},t.exports=r},function(t,e,i){"use strict";var r=i(5);function n(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}n.prototype.getWorldOrgX=function(){return this.lworldOrgX},n.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},n.prototype.getWorldOrgY=function(){return this.lworldOrgY},n.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},n.prototype.getWorldExtX=function(){return this.lworldExtX},n.prototype.setWorldExtX=function(t){this.lworldExtX=t},n.prototype.getWorldExtY=function(){return this.lworldExtY},n.prototype.setWorldExtY=function(t){this.lworldExtY=t},n.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},n.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},n.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},n.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},n.prototype.getDeviceExtX=function(){return this.ldeviceExtX},n.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},n.prototype.getDeviceExtY=function(){return this.ldeviceExtY},n.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},n.prototype.transformX=function(t){var e=0,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},n.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},n.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},n.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},n.prototype.inverseTransformPoint=function(t){return new r(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=n},function(t,e,i){"use strict";var r=i(15),n=i(4),o=i(0),a=i(8),s=i(9);function h(){r.call(this),this.useSmartIdealEdgeLengthCalculation=n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=n.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=n.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=n.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=n.MAX_ITERATIONS}for(var l in h.prototype=Object.create(r.prototype),r)h[l]=r[l];h.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,r,a,s,h,l=this.getGraphManager().getAllEdges(),d=0;dn.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*n.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-n.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>n.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(n.COOLING_ADAPTATION_FACTOR,1-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*(1-n.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i0)||void 0===arguments[0]||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&a&&this.updateGrid(),o=new Set,t=0;t(h=e.getEstimatedSize()*this.gravityRangeFactor)||s>h)&&(t.gravitationForceX=-this.gravityConstant*n,t.gravitationForceY=-this.gravityConstant*o):(a>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||s>h)&&(t.gravitationForceX=-this.gravityConstant*n*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=2>Math.abs(this.totalDisplacement-this.oldTotalDisplacement)),t=this.totalDisplacement=s.length||l>=s[0].length))for(var d=0;dt}}]),t}();t.exports=o},function(t,e,i){"use strict";function r(){}r.svd=function(t){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=t.length,this.n=t[0].length;var e=Math.min(this.m,this.n);this.s=function(t){for(var e=[];t-- >0;)e.push(0);return e}(Math.min(this.m+1,this.n)),this.U=function t(e){if(0==e.length)return 0;for(var i=[],r=0;r0;)e.push(0);return e}(this.n),n=function(t){for(var e=[];t-- >0;)e.push(0);return e}(this.m),o=Math.min(this.m-1,this.n),a=Math.max(0,Math.min(this.n-2,this.m)),s=0;s=0;b--)if(0!==this.s[b]){for(var G=b+1;G=0;H--){;if(tc=H0;){var $=void 0,Z=void 0;for($=O-2;$>=-1&&-1!==$;$--){;if(Math.abs(i[$])<=16033346880071782e-307+2220446049250313e-31*(Math.abs(this.s[$])+Math.abs(this.s[$+1]))){i[$]=0;break}}if($===O-2)Z=4;else{var Q=void 0;for(Q=O-1;Q>=$&&Q!==$;Q--){;var J=(Q!==O?Math.abs(i[Q]):0)+(Q!==$+1?Math.abs(i[Q-1]):0);if(Math.abs(this.s[Q])<=16033346880071782e-307+2220446049250313e-31*J){this.s[Q]=0;break}}Q===$?Z=3:Q===O-1?Z=1:(Z=2,$=Q)}switch($++,Z){case 1:var K=i[O-2];i[O-2]=0;for(var tt=O-2;tt>=$;tt--){var te=r.hypot(this.s[tt],K),ti=this.s[tt]/te,tr=K/te;this.s[tt]=te,tt!==$&&(K=-tr*i[tt-1],i[tt-1]=ti*i[tt-1]);for(var tn=0;tn=this.s[$+1]);){;var tb=this.s[$];if(this.s[$]=this.s[$+1],this.s[$+1]=tb,$Math.abs(e)?(i=e/t,i=Math.abs(t)*Math.sqrt(1+i*i)):0!=e?(i=t/e,i=Math.abs(e)*Math.sqrt(1+i*i)):i=0,i},t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=i,this.match_score=r,this.mismatch_penalty=n,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=Array(this.iMax);for(var a=0;a=0;i--){var r=this.listeners[i];r.event===t&&r.callback===e&&this.listeners.splice(i,1)}},n.emit=function(t,e){for(var i=0;i`${t},${t/2} 0,${t} 0,0`,"L"),R:(0,h.eW)(t=>`0,${t/2} ${t},0 ${t},${t}`,"R"),T:(0,h.eW)(t=>`0,0 ${t},0 ${t/2},${t}`,"T"),B:(0,h.eW)(t=>`${t/2},0 ${t},${t} 0,${t}`,"B")},p={L:(0,h.eW)((t,e)=>t-e+2,"L"),R:(0,h.eW)((t,e)=>t-2,"R"),T:(0,h.eW)((t,e)=>t-e+2,"T"),B:(0,h.eW)((t,e)=>t-2,"B")},v=(0,h.eW)(function(t){return m(t)?"L"===t?"R":"L":"T"===t?"B":"T"},"getOppositeArchitectureDirection"),y=(0,h.eW)(function(t){return"L"===t||"R"===t||"T"===t||"B"===t},"isArchitectureDirection"),m=(0,h.eW)(function(t){return"L"===t||"R"===t},"isArchitectureDirectionX"),E=(0,h.eW)(function(t){return"T"===t||"B"===t},"isArchitectureDirectionY"),N=(0,h.eW)(function(t,e){let i=m(t)&&E(e),r=E(t)&&m(e);return i||r},"isArchitectureDirectionXY"),T=(0,h.eW)(function(t){let e=t[0],i=t[1],r=m(e)&&E(i),n=E(e)&&m(i);return r||n},"isArchitecturePairXY"),A=(0,h.eW)(function(t){return"LL"!==t&&"RR"!==t&&"TT"!==t&&"BB"!==t},"isValidArchitectureDirectionPair"),L=(0,h.eW)(function(t,e){let i=`${t}${e}`;return A(i)?i:void 0},"getArchitectureDirectionPair"),w=(0,h.eW)(function([t,e],i){let r=i[0],n=i[1];if(m(r))return E(n)?[t+("L"===r?-1:1),e+("T"===n?1:-1)]:[t+("L"===r?-1:1),e];return m(n)?[t+("L"===n?1:-1),e+("T"===r?1:-1)]:[t,e+("T"===r?1:-1)]},"shiftPositionByArchitectureDirectionPair"),_=(0,h.eW)(function(t){if("LT"===t||"TL"===t)return[1,1];if("BL"===t||"LB"===t)return[1,-1];if("BR"===t||"RB"===t)return[-1,-1];else return[-1,1]},"getArchitectureDirectionXYFactors"),I=(0,h.eW)(function(t){return"service"===t.type},"isArchitectureService"),C=(0,h.eW)(function(t){return"junction"===t.type},"isArchitectureJunction"),M=(0,h.eW)(t=>t.data(),"edgeData"),x=(0,h.eW)(t=>t.data(),"nodeData"),O=h.vZ.architecture,D=new a.A(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:O,dataStructures:void 0,elements:{}})),R=(0,h.eW)(()=>{D.reset(),(0,h.ZH)()},"clear"),b=(0,h.eW)(function({id:t,icon:e,in:i,title:r,iconText:n}){if(void 0!==D.records.registeredIds[t])throw Error(`The service id [${t}] is already in use by another ${D.records.registeredIds[t]}`);if(void 0!==i){if(t===i)throw Error(`The service [${t}] cannot be placed within itself`);if(void 0===D.records.registeredIds[i])throw Error(`The service [${t}]'s parent does not exist. Please make sure the parent is created before this service`);if("node"===D.records.registeredIds[i])throw Error(`The service [${t}]'s parent is not a group`)}D.records.registeredIds[t]="node",D.records.nodes[t]={id:t,type:"service",icon:e,iconText:n,title:r,edges:[],in:i}},"addService"),G=(0,h.eW)(()=>Object.values(D.records.nodes).filter(I),"getServices"),F=(0,h.eW)(function({id:t,in:e}){D.records.registeredIds[t]="node",D.records.nodes[t]={id:t,type:"junction",edges:[],in:e}},"addJunction"),S=(0,h.eW)(()=>Object.values(D.records.nodes).filter(C),"getJunctions"),P=(0,h.eW)(()=>Object.values(D.records.nodes),"getNodes"),U=(0,h.eW)(t=>D.records.nodes[t],"getNode"),Y=(0,h.eW)(function({id:t,icon:e,in:i,title:r}){if(void 0!==D.records.registeredIds[t])throw Error(`The group id [${t}] is already in use by another ${D.records.registeredIds[t]}`);if(void 0!==i){if(t===i)throw Error(`The group [${t}] cannot be placed within itself`);if(void 0===D.records.registeredIds[i])throw Error(`The group [${t}]'s parent does not exist. Please make sure the parent is created before this group`);if("node"===D.records.registeredIds[i])throw Error(`The group [${t}]'s parent is not a group`)}D.records.registeredIds[t]="group",D.records.groups[t]={id:t,icon:e,title:r,in:i}},"addGroup"),k=(0,h.eW)(()=>Object.values(D.records.groups),"getGroups"),H=(0,h.eW)(function({lhsId:t,rhsId:e,lhsDir:i,rhsDir:r,lhsInto:n,rhsInto:o,lhsGroup:a,rhsGroup:s,title:h}){if(!y(i))throw Error(`Invalid direction given for left hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${i}`);if(!y(r))throw Error(`Invalid direction given for right hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${r}`);if(void 0===D.records.nodes[t]&&void 0===D.records.groups[t])throw Error(`The left-hand id [${t}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(void 0===D.records.nodes[e]&&void 0===D.records.groups[t])throw Error(`The right-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);let l=D.records.nodes[t].in,d=D.records.nodes[e].in;if(a&&l&&d&&l==d)throw Error(`The left-hand id [${t}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(s&&l&&d&&l==d)throw Error(`The right-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);D.records.edges.push({lhsId:t,lhsDir:i,lhsInto:n,lhsGroup:a,rhsId:e,rhsDir:r,rhsInto:o,rhsGroup:s,title:h}),D.records.nodes[t]&&D.records.nodes[e]&&(D.records.nodes[t].edges.push(D.records.edges[D.records.edges.length-1]),D.records.nodes[e].edges.push(D.records.edges[D.records.edges.length-1]))},"addEdge"),X=(0,h.eW)(()=>D.records.edges,"getEdges"),W=(0,h.eW)(()=>{if(void 0===D.records.dataStructures){let t=Object.entries(D.records.nodes).reduce((t,[e,i])=>(t[e]=i.edges.reduce((t,i)=>{if(i.lhsId===e){let e=L(i.lhsDir,i.rhsDir);e&&(t[e]=i.rhsId)}else{let e=L(i.rhsDir,i.lhsDir);e&&(t[e]=i.lhsId)}return t},{}),t),{}),e=Object.keys(t)[0],i={[e]:1},r=Object.keys(t).reduce((t,i)=>i===e?t:{...t,[i]:1},{}),n=(0,h.eW)(e=>{let n={[e]:[0,0]},o=[e];for(;o.length>0;){let e=o.shift();if(e){i[e]=1,delete r[e];let a=t[e],[s,h]=n[e];Object.entries(a).forEach(([t,e])=>{!i[e]&&(n[e]=w([s,h],t),o.push(e))})}}return n},"BFS"),o=[n(e)];for(;Object.keys(r).length>0;)o.push(n(Object.keys(r)[0]));D.records.dataStructures={adjList:t,spatialMaps:o}}return D.records.dataStructures},"getDataStructures"),z=(0,h.eW)((t,e)=>{D.records.elements[t]=e},"setElementForId"),V=(0,h.eW)(t=>D.records.elements[t],"getElementById"),B={clear:R,setDiagramTitle:h.g2,getDiagramTitle:h.Kr,setAccTitle:h.GN,getAccTitle:h.eu,setAccDescription:h.U$,getAccDescription:h.Mx,addService:b,getServices:G,addJunction:F,getJunctions:S,getNodes:P,getNode:U,addGroup:Y,getGroups:k,addEdge:H,getEdges:X,setElementForId:z,getElementById:V,getDataStructures:W};function j(t){let e=(0,h.nV)().architecture;return e?.[t]?e[t]:O[t]}(0,h.eW)(j,"getConfigField");var q=(0,h.eW)((t,e)=>{(0,o.A)(t,e),t.groups.map(e.addGroup),t.services.map(t=>e.addService({...t,type:"service"})),t.junctions.map(t=>e.addJunction({...t,type:"junction"})),t.edges.map(e.addEdge)},"populateDb"),$={parse:(0,h.eW)(async t=>{let e=await (0,l.Qc)("architecture",t);h.cM.debug(e),q(e,B)},"parse")},Z=(0,h.eW)(t=>` + .edge { + stroke-width: ${t.archEdgeWidth}; + stroke: ${t.archEdgeColor}; + fill: none; + } + + .arrow { + fill: ${t.archEdgeArrowColor}; + } + + .node-bkg { + fill: none; + stroke: ${t.archGroupBorderColor}; + stroke-width: ${t.archGroupBorderWidth}; + stroke-dasharray: 8; + } + .node-icon-text { + display: flex; + align-items: center; + } + + .node-icon-text > div { + color: #fff; + margin: 1px; + height: fit-content; + text-align: center; + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + } +`,"getStyles"),Q=(0,h.eW)(t=>`${t}`,"wrapIcon"),J={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:Q('')},server:{body:Q('')},disk:{body:Q('')},internet:{body:Q('')},cloud:{body:Q('')},unknown:r.cN,blank:{body:Q("")}}},K=(0,h.eW)(async function(t,e){let i=j("padding"),r=j("iconSize"),o=r/2,a=r/6,s=a/2;await Promise.all(e.edges().map(async e=>{let{source:r,sourceDir:l,sourceArrow:d,sourceGroup:c,target:g,targetDir:u,targetArrow:v,targetGroup:y,label:A}=M(e),{x:w,y:I}=e[0].sourceEndpoint(),{x:C,y:x}=e[0].midpoint(),{x:O,y:D}=e[0].targetEndpoint(),R=i+4;if(c&&(m(l)?w+="L"===l?-R:R:I+="T"===l?-R:R+18),y&&(m(u)?O+="L"===u?-R:R:D+="T"===u?-R:R+18),!c&&B.getNode(r)?.type==="junction"&&(m(l)?w+="L"===l?o:-o:I+="T"===l?o:-o),!y&&B.getNode(g)?.type==="junction"&&(m(u)?O+="L"===u?o:-o:D+="T"===u?o:-o),e[0]._private.rscratch){let e=t.insert("g");if(e.insert("path").attr("d",`M ${w},${I} L ${C},${x} L${O},${D} `).attr("class","edge"),d){let t=m(l)?p[l](w,a):w-s,i=E(l)?p[l](I,a):I-s;e.insert("polygon").attr("points",f[l](a)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(v){let t=m(u)?p[u](O,a):O-s,i=E(u)?p[u](D,a):D-s;e.insert("polygon").attr("points",f[u](a)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(A){let t=N(l,u)?"XY":m(l)?"X":"Y",i=0;i="X"===t?Math.abs(w-O):"Y"===t?Math.abs(I-D)/1.5:Math.abs(w-O)/2;let r=e.append("g");if(await (0,n.rw)(r,A,{useHtmlLabels:!1,width:i,classes:"architecture-service-label"},(0,h.nV)()),r.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),"X"===t)r.attr("transform","translate("+C+", "+x+")");else if("Y"===t)r.attr("transform","translate("+C+", "+x+") rotate(-90)");else if("XY"===t){let t=L(l,u);if(t&&T(t)){let e=r.node().getBoundingClientRect(),[i,n]=_(t);r.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*i*n*45})`);let o=r.node().getBoundingClientRect();r.attr("transform",` + translate(${C}, ${x-e.height/2}) + translate(${i*o.width/2}, ${n*o.height/2}) + rotate(${-1*i*n*45}, 0, ${e.height/2}) + `)}}}}}))},"drawEdges"),tt=(0,h.eW)(async function(t,e){let i=.75*j("padding"),o=j("fontSize"),a=j("iconSize")/2;await Promise.all(e.nodes().map(async e=>{let s=x(e);if("group"===s.type){let{h:l,w:d,x1:c,y1:g}=e.boundingBox();t.append("rect").attr("x",c+a).attr("y",g+a).attr("width",d).attr("height",l).attr("class","node-bkg");let u=t.append("g"),f=c,p=g;if(s.icon){let t=u.append("g");t.html(`${await (0,r.s4)(s.icon,{height:i,width:i,fallbackPrefix:J.prefix})}`),t.attr("transform","translate("+(f+a+1)+", "+(p+a+1)+")"),f+=i,p+=o/2-1-2}if(s.label){let t=u.append("g");await (0,n.rw)(t,s.label,{useHtmlLabels:!1,width:d,classes:"architecture-service-label"},(0,h.nV)()),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),t.attr("transform","translate("+(f+a+4)+", "+(p+a+2)+")")}}}))},"drawGroups"),te=(0,h.eW)(async function(t,e,i){for(let o of i){let i=e.append("g"),a=j("iconSize");if(o.title){let t=i.append("g");await (0,n.rw)(t,o.title,{useHtmlLabels:!1,width:1.5*a,classes:"architecture-service-label"},(0,h.nV)()),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),t.attr("transform","translate("+a/2+", "+a+")")}let s=i.append("g");if(o.icon)s.html(`${await (0,r.s4)(o.icon,{height:a,width:a,fallbackPrefix:J.prefix})}`);else if(o.iconText){s.html(`${await (0,r.s4)("blank",{height:a,width:a,fallbackPrefix:J.prefix})}`);let t=s.append("g").append("foreignObject").attr("width",a).attr("height",a).append("div").attr("class","node-icon-text").attr("style",`height: ${a}px;`).append("div").html(o.iconText),e=parseInt(window.getComputedStyle(t.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;t.attr("style",`-webkit-line-clamp: ${Math.floor((a-2)/e)};`)}else s.append("path").attr("class","node-bkg").attr("id","node-"+o.id).attr("d",`M0 ${a} v${-a} q0,-5 5,-5 h${a} q5,0 5,5 v${a} H0 Z`);i.attr("class","architecture-service");let{width:l,height:d}=i._groups[0][0].getBBox();o.width=l,o.height=d,t.setElementForId(o.id,i)}return 0},"drawServices"),ti=(0,h.eW)(function(t,e,i){i.forEach(i=>{let r=e.append("g"),n=j("iconSize");r.append("g").append("rect").attr("id","node-"+i.id).attr("fill-opacity","0").attr("width",n).attr("height",n),r.attr("class","architecture-junction");let{width:o,height:a}=r._groups[0][0].getBBox();r.width=o,r.height=a,t.setElementForId(i.id,r)})},"drawJunctions");function tr(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"service",id:t.id,icon:t.icon,label:t.title,parent:t.in,width:j("iconSize"),height:j("iconSize")},classes:"node-service"})})}function tn(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"junction",id:t.id,parent:t.in,width:j("iconSize"),height:j("iconSize")},classes:"node-junction"})})}function to(t,e){e.nodes().map(e=>{let i=x(e);if("group"!==i.type)i.x=e.position().x,i.y=e.position().y,t.getElementById(i.id).attr("transform","translate("+(i.x||0)+","+(i.y||0)+")")})}function ta(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"group",id:t.id,icon:t.icon,label:t.title,parent:t.in},classes:"node-group"})})}function ts(t,e){t.forEach(t=>{let{lhsId:i,rhsId:r,lhsInto:n,lhsGroup:o,rhsInto:a,lhsDir:s,rhsDir:h,rhsGroup:l,title:d}=t,c=N(t.lhsDir,t.rhsDir)?"segments":"straight",g={id:`${i}-${r}`,label:d,source:i,sourceDir:s,sourceArrow:n,sourceGroup:o,sourceEndpoint:"L"===s?"0 50%":"R"===s?"100% 50%":"T"===s?"50% 0":"50% 100%",target:r,targetDir:h,targetArrow:a,targetGroup:l,targetEndpoint:"L"===h?"0 50%":"R"===h?"100% 50%":"T"===h?"50% 0":"50% 100%"};e.add({group:"edges",data:g,classes:c})})}function th(t){let[e,i]=t.map(t=>{let e={},i={};return Object.entries(t).forEach(([t,[r,n]])=>{!e[n]&&(e[n]=[]),!i[r]&&(i[r]=[]),e[n].push(t),i[r].push(t)}),{horiz:Object.values(e).filter(t=>t.length>1),vert:Object.values(i).filter(t=>t.length>1)}}).reduce(([t,e],{horiz:i,vert:r})=>[[...t,...i],[...e,...r]],[[],[]]);return{horizontal:e,vertical:i}}function tl(t){let e=[],i=(0,h.eW)(t=>`${t[0]},${t[1]}`,"posToStr"),r=(0,h.eW)(t=>t.split(",").map(t=>parseInt(t)),"strToPos");return t.forEach(t=>{let n=Object.fromEntries(Object.entries(t).map(([t,e])=>[i(e),t])),o=[i([0,0])],a={},s={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;o.length>0;){let t=o.shift();if(t){a[t]=1;let h=n[t];if(h){let l=r(t);Object.entries(s).forEach(([t,r])=>{let s=i([l[0]+r[0],l[1]+r[1]]),d=n[s];d&&!a[s]&&(o.push(s),e.push({[u[t]]:d,[u[v(t)]]:h,gap:1.5*j("iconSize")}))})}}}}),e}function td(t,e,i,r,{spatialMaps:n}){return new Promise(o=>{let a=(0,g.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),s=(0,d.Z)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight",label:"data(label)","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${j("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${j("padding")}px`}}]});a.remove(),ta(i,s),tr(t,s),tn(e,s),ts(r,s);let l=th(n),c=tl(n),u=s.layout({name:"fcose",quality:"proof",styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(t){let[e,i]=t.connectedNodes(),{parent:r}=x(e),{parent:n}=x(i);return r===n?1.5*j("iconSize"):.5*j("iconSize")},edgeElasticity(t){let[e,i]=t.connectedNodes(),{parent:r}=x(e),{parent:n}=x(i);return r===n?.45:.001},alignmentConstraint:l,relativePlacementConstraint:c});u.one("layoutstop",()=>{function t(t,e,i,r){let n,o;let{x:a,y:s}=t,{x:h,y:l}=e;o=(r-s+(a-i)*(s-l)/(a-h))/Math.sqrt(1+Math.pow((s-l)/(a-h),2)),n=Math.sqrt(Math.pow(r-s,2)+Math.pow(i-a,2)-Math.pow(o,2))/Math.sqrt(Math.pow(h-a,2)+Math.pow(l-s,2));let d=(h-a)*(r-s)-(l-s)*(i-a);switch(!0){case d>=0:d=1;break;case d<0:d=-1}let c=(h-a)*(i-a)+(l-s)*(r-s);switch(!0){case c>=0:c=1;break;case c<0:c=-1}return{distances:o=Math.abs(o)*d,weights:n*=c}}for(let e of((0,h.eW)(t,"getSegmentWeights"),s.startBatch(),Object.values(s.edges())))if(e.data?.()){let{x:i,y:r}=e.source().position(),{x:n,y:o}=e.target().position();if(i!==n&&r!==o){let i=e.sourceEndpoint(),r=e.targetEndpoint(),{sourceDir:n}=M(e),[o,a]=E(n)?[i.x,r.y]:[r.x,i.y],{weights:s,distances:h}=t(i,r,o,a);e.style("segment-distances",h),e.style("segment-weights",s)}}s.endBatch(),u.run()}),u.run(),s.ready(t=>{h.cM.info("Ready",t),o(s)})})}(0,r.ef)([{name:J.prefix,icons:J}]),d.Z.use(c),(0,h.eW)(tr,"addServices"),(0,h.eW)(tn,"addJunctions"),(0,h.eW)(to,"positionNodes"),(0,h.eW)(ta,"addGroups"),(0,h.eW)(ts,"addEdges"),(0,h.eW)(th,"getAlignments"),(0,h.eW)(tl,"getRelativeConstraints"),(0,h.eW)(td,"layoutArchitecture");var tc=(0,h.eW)(async(t,e,i,r)=>{let n=r.db,o=n.getServices(),a=n.getJunctions(),l=n.getGroups(),d=n.getEdges(),c=n.getDataStructures(),g=(0,s.P)(e),u=g.append("g");u.attr("class","architecture-edges");let f=g.append("g");f.attr("class","architecture-services");let p=g.append("g");p.attr("class","architecture-groups"),await te(n,f,o),ti(n,f,a);let v=await td(o,a,l,d,c);await K(u,v),await tt(p,v),to(n,v),(0,h.j7)(void 0,g,j("padding"),j("useMaxWidth"))},"draw"),tg={parser:$,db:B,renderer:{draw:tc},styles:Z}},79068:function(t,e,i){"use strict";i.d(e,{A:function(){return n}});var r=i(74146),n=class{constructor(t){this.init=t,this.records=this.init()}static{(0,r.eW)(this,"ImperativeState")}reset(){this.records=this.init()}}},18010:function(t,e,i){"use strict";function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}i.d(e,{A:function(){return r}}),(0,i(74146).eW)(r,"populateCommonDb")}}]); \ No newline at end of file diff --git a/assets/js/3720c009.a7cce29b.js b/assets/js/3720c009.a7cce29b.js new file mode 100644 index 0000000..387bb1c --- /dev/null +++ b/assets/js/3720c009.a7cce29b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2898"],{94190:function(e,t,a){a.r(t),a.d(t,{default:()=>p});var s=a("85893");a("67294");var l=a("67026"),r=a("14713"),n=a("84681"),i=a("96025");let c=()=>(0,i.translate)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});var g=a("48627"),o=a("34403");let u="tag_Nnez";function h(e){let{letterEntry:t}=e;return(0,s.jsxs)("article",{children:[(0,s.jsx)(o.Z,{as:"h2",id:t.letter,children:t.letter}),(0,s.jsx)("ul",{className:"padding--none",children:t.tags.map(e=>(0,s.jsx)("li",{className:u,children:(0,s.jsx)(g.Z,{...e})},e.permalink))}),(0,s.jsx)("hr",{})]})}function d(e){let{tags:t}=e,a=function(e){let t={};return Object.values(e).forEach(e=>{let a=e.label[0].toUpperCase();t[a]??=[],t[a].push(e)}),Object.entries(t).sort((e,t)=>{let[a]=e,[s]=t;return a.localeCompare(s)}).map(e=>{let[t,a]=e;return{letter:t,tags:a.sort((e,t)=>e.label.localeCompare(t.label))}})}(t);return(0,s.jsx)("section",{className:"margin-vert--lg",children:a.map(e=>(0,s.jsx)(h,{letterEntry:e},e.letter))})}var j=a("84315");function m(e){let{title:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.d,{title:t}),(0,s.jsx)(j.Z,{tag:"doc_tags_list"})]})}function x(e){let{tags:t,title:a}=e;return(0,s.jsx)(r.FG,{className:(0,l.Z)(n.k.page.docsTagsListPage),children:(0,s.jsx)("div",{className:"container margin-vert--lg",children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("main",{className:"col col--8 col--offset-2",children:[(0,s.jsx)(o.Z,{as:"h1",children:a}),(0,s.jsx)(d,{tags:t})]})})})})}function p(e){let t=c();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m,{...e,title:t}),(0,s.jsx)(x,{...e,title:t})]})}},48627:function(e,t,a){a.d(t,{Z:()=>i});var s=a("85893");a("67294");var l=a("67026"),r=a("83012");let n={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function i(e){let{permalink:t,label:a,count:i,description:c}=e;return(0,s.jsxs)(r.Z,{href:t,title:c,className:(0,l.Z)(n.tag,i?n.tagWithCount:n.tagRegular),children:[a,i&&(0,s.jsx)("span",{children:i})]})}}}]); \ No newline at end of file diff --git a/assets/js/3754.b8f5088c.js b/assets/js/3754.b8f5088c.js new file mode 100644 index 0000000..2172df5 --- /dev/null +++ b/assets/js/3754.b8f5088c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3754"],{84768:function(r,e,s){s.d(e,{diagram:function(){return l}});var a=s(83371);s(57169),s(290),s(29660),s(37971),s(9833),s(30594),s(82612),s(41200),s(68394);var n=s(74146),l={parser:a.P0,db:a.pl,renderer:a.b0,styles:a.Ee,init:(0,n.eW)(r=>{!r.class&&(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.pl.clear()},"init")}}}]); \ No newline at end of file diff --git a/assets/js/3917.bffdcefe.js b/assets/js/3917.bffdcefe.js new file mode 100644 index 0000000..5241c6c --- /dev/null +++ b/assets/js/3917.bffdcefe.js @@ -0,0 +1,60 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3917"],{13881:function(e,t,r){var n,i;t.CancellationTokenSource=t.CancellationToken=void 0;let a=r(30147),s=r(67574),o=r(27135);(i=n||(t.CancellationToken=n={})).None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.Event.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o.Event.None}),i.is=function(e){return e&&(e===i.None||e===i.Cancelled||s.boolean(e.isCancellationRequested)&&!!e.onCancellationRequested)};let l=Object.freeze(function(e,t){let r=(0,a.default)().timer.setTimeout(e.bind(t),0);return{dispose(){r.dispose()}}});class u{constructor(){this._isCancelled=!1}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?l:(!this._emitter&&(this._emitter=new o.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}t.CancellationTokenSource=class e{get token(){return!this._token&&(this._token=new u),this._token}cancel(){this._token?this._token.cancel():this._token=n.Cancelled}dispose(){this._token?this._token instanceof u&&this._token.dispose():this._token=n.None}}},27135:function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;let i=r(30147);!function(e){let t={dispose(){}};e.None=function(){return t}}(n||(t.Event=n={}));class a{add(e,t=null,r){!this._callbacks&&(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let n=0,i=this._callbacks.length;n{!this._callbacks&&(this._callbacks=new a),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);let n={dispose:()=>{if(!!this._callbacks)this._callbacks.remove(e,t),n.dispose=s._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this)}};return Array.isArray(r)&&r.push(n),n}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}t.Emitter=s,s._noop=function(){}},67574:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0;function r(e){return"string"==typeof e||e instanceof String}t.boolean=function(e){return!0===e||!1===e},t.string=r;t.number=function(e){return"number"==typeof e||e instanceof Number};t.error=function(e){return e instanceof Error};function n(e){return Array.isArray(e)}t.func=function(e){return"function"==typeof e},t.array=n;t.stringArray=function(e){return n(e)&&e.every(e=>r(e))}},30147:function(e,t){let r;function n(){if(void 0===r)throw Error("No runtime abstraction layer installed");return r}Object.defineProperty(t,"__esModule",{value:!0}),(n||(n={})).install=function(e){if(void 0===e)throw Error("No runtime abstraction layer provided");r=e},t.default=n},52730:function(e,t,r){r.d(t,{M:function(){return o}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"InfoTokenBuilder")}constructor(){super(["info","showInfo"])}},s={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new n.nr,"ValueConverter")}};function o(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.F_,s);return t.ServiceRegistry.register(r),{shared:t,Info:r}}(0,n.eW)(o,"createInfoServices")},75243:function(e,t,r){r.d(t,{l:function(){return l}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"PieTokenBuilder")}constructor(){super(["pie","showData"])}},s=class extends n.kb{static{(0,n.eW)(this,"PieValueConverter")}runCustomConverter(e,t,r){if("PIE_SECTION_LABEL"===e.name)return t.replace(/"/g,"").trim()}},o={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new s,"ValueConverter")}};function l(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.WH,o);return t.ServiceRegistry.register(r),{shared:t,Pie:r}}(0,n.eW)(l,"createPieServices")},16100:function(e,t,r){r.d(t,{g:function(){return o}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"PacketTokenBuilder")}constructor(){super(["packet-beta"])}},s={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new n.nr,"ValueConverter")}};function o(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.bb,s);return t.ServiceRegistry.register(r),{shared:t,Packet:r}}(0,n.eW)(o,"createPacketServices")},94413:function(e,t,r){r.d(t,{i:function(){return l}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},s=class extends n.kb{static{(0,n.eW)(this,"ArchitectureValueConverter")}runCustomConverter(e,t,r){if("ARCH_ICON"===e.name)return t.replace(/[()]/g,"").trim();if("ARCH_TEXT_ICON"===e.name)return t.replace(/["()]/g,"");if("ARCH_TITLE"===e.name)return t.replace(/[[\]]/g,"").trim()}},o={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new s,"ValueConverter")}};function l(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.Qr,o);return t.ServiceRegistry.register(r),{shared:t,Architecture:r}}(0,n.eW)(l,"createArchitectureServices")},57820:function(e,t,r){r.d(t,{z:function(){return o}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},s={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new n.nr,"ValueConverter")}};function o(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.vn,s);return t.ServiceRegistry.register(r),{shared:t,GitGraph:r}}(0,n.eW)(o,"createGitGraphServices")},95318:function(e,t,r){r.d(t,{F_:function(){return C},GS:function(){return N},Qr:function(){return w},T7:function(){return M},WH:function(){return L},bb:function(){return $},eW:function(){return c},kb:function(){return _},nr:function(){return P},vn:function(){return b}});var n,i,a,s,o,l=r(74462),u=Object.defineProperty,c=(e,t)=>u(e,"name",{value:t,configurable:!0});c(function(e){return g.isInstance(e,"Architecture")},"isArchitecture");var d="Branch";c(function(e){return g.isInstance(e,d)},"isBranch");var h="Commit";c(function(e){return g.isInstance(e,h)},"isCommit");c(function(e){return g.isInstance(e,"Common")},"isCommon");var f="GitGraph";c(function(e){return g.isInstance(e,f)},"isGitGraph");c(function(e){return g.isInstance(e,"Info")},"isInfo");var p="Merge";c(function(e){return g.isInstance(e,p)},"isMerge");c(function(e){return g.isInstance(e,"Packet")},"isPacket");c(function(e){return g.isInstance(e,"PacketBlock")},"isPacketBlock");c(function(e){return g.isInstance(e,"Pie")},"isPie");c(function(e){return g.isInstance(e,"PieSection")},"isPieSection");var m=class extends l.$v{static{c(this,"MermaidAstReflection")}getAllTypes(){return["Architecture","Branch","Checkout","CherryPicking","Commit","Common","Direction","Edge","GitGraph","Group","Info","Junction","Merge","Packet","PacketBlock","Pie","PieSection","Service","Statement"]}computeIsSubtype(e,t){switch(e){case d:case"Checkout":case"CherryPicking":case h:case p:return this.isSubtype("Statement",t);case"Direction":return this.isSubtype(f,t);default:return!1}}getReferenceType(e){let t=`${e.container.$type}:${e.property}`;throw Error(`${t} is not a valid reference id.`)}getTypeMetaData(e){switch(e){case"Architecture":return{name:"Architecture",properties:[{name:"accDescr"},{name:"accTitle"},{name:"edges",defaultValue:[]},{name:"groups",defaultValue:[]},{name:"junctions",defaultValue:[]},{name:"services",defaultValue:[]},{name:"title"}]};case"Branch":return{name:"Branch",properties:[{name:"name"},{name:"order"}]};case"Checkout":return{name:"Checkout",properties:[{name:"branch"}]};case"CherryPicking":return{name:"CherryPicking",properties:[{name:"id"},{name:"parent"},{name:"tags",defaultValue:[]}]};case"Commit":return{name:"Commit",properties:[{name:"id"},{name:"message"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Common":return{name:"Common",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Edge":return{name:"Edge",properties:[{name:"lhsDir"},{name:"lhsGroup",defaultValue:!1},{name:"lhsId"},{name:"lhsInto",defaultValue:!1},{name:"rhsDir"},{name:"rhsGroup",defaultValue:!1},{name:"rhsId"},{name:"rhsInto",defaultValue:!1},{name:"title"}]};case"GitGraph":return{name:"GitGraph",properties:[{name:"accDescr"},{name:"accTitle"},{name:"statements",defaultValue:[]},{name:"title"}]};case"Group":return{name:"Group",properties:[{name:"icon"},{name:"id"},{name:"in"},{name:"title"}]};case"Info":return{name:"Info",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Junction":return{name:"Junction",properties:[{name:"id"},{name:"in"}]};case"Merge":return{name:"Merge",properties:[{name:"branch"},{name:"id"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Packet":return{name:"Packet",properties:[{name:"accDescr"},{name:"accTitle"},{name:"blocks",defaultValue:[]},{name:"title"}]};case"PacketBlock":return{name:"PacketBlock",properties:[{name:"end"},{name:"label"},{name:"start"}]};case"Pie":return{name:"Pie",properties:[{name:"accDescr"},{name:"accTitle"},{name:"sections",defaultValue:[]},{name:"showData",defaultValue:!1},{name:"title"}]};case"PieSection":return{name:"PieSection",properties:[{name:"label"},{name:"value"}]};case"Service":return{name:"Service",properties:[{name:"icon"},{name:"iconText"},{name:"id"},{name:"in"},{name:"title"}]};case"Direction":return{name:"Direction",properties:[{name:"accDescr"},{name:"accTitle"},{name:"dir"},{name:"statements",defaultValue:[]},{name:"title"}]};default:return{name:e,properties:[]}}}},g=new m,y=c(()=>n??(n=(0,l.sC)('{"$type":"Grammar","isDeclared":true,"name":"Info","imports":[],"rules":[{"$type":"ParserRule","name":"Info","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"info"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"showInfo"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}')),"InfoGrammar"),T=c(()=>i??(i=(0,l.sC)(`{"$type":"Grammar","isDeclared":true,"name":"Packet","imports":[],"rules":[{"$type":"ParserRule","name":"Packet","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"packet-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PacketBlock","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"start","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"end","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"?"},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}`)),"PacketGrammar"),v=c(()=>a??(a=(0,l.sC)('{"$type":"Grammar","isDeclared":true,"name":"Pie","imports":[],"rules":[{"$type":"ParserRule","name":"Pie","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"pie"},{"$type":"Assignment","feature":"showData","operator":"?=","terminal":{"$type":"Keyword","value":"showData"},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PieSection","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"PIE_SECTION_LABEL","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]+\\"/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"PIE_SECTION_VALUE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/(0|[1-9][0-9]*)(\\\\.[0-9]+)?/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}')),"PieGrammar"),E=c(()=>s??(s=(0,l.sC)('{"$type":"Grammar","isDeclared":true,"name":"Architecture","imports":[],"rules":[{"$type":"ParserRule","name":"Architecture","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"architecture-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"*"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","fragment":true,"definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"groups","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"services","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"junctions","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"edges","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"LeftPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"lhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"RightPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"rhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Keyword","value":":"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Arrow","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Assignment","feature":"lhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"--"},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Keyword","value":"-"}]}]},{"$type":"Assignment","feature":"rhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Group","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"group"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Service","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"service"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"iconText","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}}],"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Junction","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"junction"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Edge","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"lhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"lhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"rhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"rhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"ARROW_DIRECTION","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"L"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"R"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"T"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"B"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ID","definition":{"$type":"RegexToken","regex":"/[\\\\w]+/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TEXT_ICON","definition":{"$type":"RegexToken","regex":"/\\\\(\\"[^\\"]+\\"\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ICON","definition":{"$type":"RegexToken","regex":"/\\\\([\\\\w-:]+\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TITLE","definition":{"$type":"RegexToken","regex":"/\\\\[[\\\\w ]+\\\\]/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_GROUP","definition":{"$type":"RegexToken","regex":"/\\\\{group\\\\}/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_INTO","definition":{"$type":"RegexToken","regex":"/<|>/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}')),"ArchitectureGrammar"),R=c(()=>o??(o=(0,l.sC)(`{"$type":"Grammar","isDeclared":true,"name":"GitGraph","interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"rules":[{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false},{"$type":"ParserRule","name":"GitGraph","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Keyword","value":":"}]},{"$type":"Keyword","value":"gitGraph:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},{"$type":"Keyword","value":":"}]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]},{"$type":"Assignment","feature":"statements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Direction","definition":{"$type":"Assignment","feature":"dir","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"LR"},{"$type":"Keyword","value":"TB"},{"$type":"Keyword","value":"BT"}]}},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Commit","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"commit"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"msg:","cardinality":"?"},{"$type":"Assignment","feature":"message","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Branch","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"branch"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"order:"},{"$type":"Assignment","feature":"order","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Merge","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"merge"},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Checkout","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"checkout"},{"$type":"Keyword","value":"switch"}]},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"CherryPicking","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"cherry-pick"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"parent:"},{"$type":"Assignment","feature":"parent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+(?=\\\\s)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\\\w([-\\\\./\\\\w]*[-\\\\w])?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false}],"definesHiddenTokens":false,"hiddenTokens":[],"imports":[],"types":[],"usedGrammars":[]}`)),"GitGraphGrammar"),A={languageId:"info",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},k={languageId:"packet",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},I={languageId:"pie",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},x={languageId:"architecture",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},S={languageId:"gitGraph",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},N={AstReflection:c(()=>new m,"AstReflection")},C={Grammar:c(()=>y(),"Grammar"),LanguageMetaData:c(()=>A,"LanguageMetaData"),parser:{}},$={Grammar:c(()=>T(),"Grammar"),LanguageMetaData:c(()=>k,"LanguageMetaData"),parser:{}},L={Grammar:c(()=>v(),"Grammar"),LanguageMetaData:c(()=>I,"LanguageMetaData"),parser:{}},w={Grammar:c(()=>E(),"Grammar"),LanguageMetaData:c(()=>x,"LanguageMetaData"),parser:{}},b={Grammar:c(()=>R(),"Grammar"),LanguageMetaData:c(()=>S,"LanguageMetaData"),parser:{}},O={ACC_DESCR:/accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/accTitle[\t ]*:([^\n\r]*)/,TITLE:/title([\t ][^\n\r]*|)/},_=class extends l.tI{static{c(this,"AbstractMermaidValueConverter")}runConverter(e,t,r){let n=this.runCommonConverter(e,t,r);return(void 0===n&&(n=this.runCustomConverter(e,t,r)),void 0===n)?super.runConverter(e,t,r):n}runCommonConverter(e,t,r){let n=O[e.name];if(void 0===n)return;let i=n.exec(t);return null===i?void 0:void 0!==i[1]?i[1].trim().replace(/[\t ]{2,}/gm," "):void 0!==i[2]?i[2].replace(/^\s*/gm,"").replace(/\s+$/gm,"").replace(/[\t ]{2,}/gm," ").replace(/[\n\r]{2,}/gm,"\n"):void 0}},P=class extends _{static{c(this,"CommonValueConverter")}runCustomConverter(e,t,r){}},M=class extends l.PH{static{c(this,"AbstractMermaidTokenBuilder")}constructor(e){super(),this.keywords=new Set(e)}buildKeywordTokens(e,t,r){let n=super.buildKeywordTokens(e,t,r);return n.forEach(e=>{this.keywords.has(e.name)&&void 0!==e.PATTERN&&(e.PATTERN=RegExp(e.PATTERN.toString()+"(?:(?=%%)|(?!\\S))"))}),n}};(class extends null{static{c(this,"CommonTokenBuilder")}})},3194:function(e,t,r){r.d(t,{Qc:function(){return s}}),r(57820),r(52730),r(16100),r(75243),r(94413);var n=r(95318),i={},a={info:(0,n.eW)(async()=>{let{createInfoServices:e}=await r.e("3085").then(r.bind(r,15970)),t=e().Info.parser.LangiumParser;i.info=t},"info"),packet:(0,n.eW)(async()=>{let{createPacketServices:e}=await r.e("1996").then(r.bind(r,89455)),t=e().Packet.parser.LangiumParser;i.packet=t},"packet"),pie:(0,n.eW)(async()=>{let{createPieServices:e}=await r.e("1824").then(r.bind(r,31764)),t=e().Pie.parser.LangiumParser;i.pie=t},"pie"),architecture:(0,n.eW)(async()=>{let{createArchitectureServices:e}=await r.e("161").then(r.bind(r,55845)),t=e().Architecture.parser.LangiumParser;i.architecture=t},"architecture"),gitGraph:(0,n.eW)(async()=>{let{createGitGraphServices:e}=await r.e("8751").then(r.bind(r,57327)),t=e().GitGraph.parser.LangiumParser;i.gitGraph=t},"gitGraph")};async function s(e,t){let r=a[e];if(!r)throw Error(`Unknown diagram type: ${e}`);!i[e]&&await r();let n=i[e].parse(t);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new o(n);return n.value}(0,n.eW)(s,"parse");var o=class extends Error{constructor(e){let t=e.lexerErrors.map(e=>e.message).join("\n");super(`Parsing failed: ${t} ${e.parserErrors.map(e=>e.message).join("\n")}`),this.result=e}static{(0,n.eW)(this,"MermaidParseError")}}},74462:function(e,t,r){function n(e){return"object"==typeof e&&null!==e&&"string"==typeof e.$type}function i(e){return"object"==typeof e&&null!==e&&"string"==typeof e.$refText}r.d(t,{uZ:()=>un,Q:()=>l7,Jr:()=>l3,f3:()=>l5,$v:()=>s,PH:()=>o0,tI:()=>o1,sC:()=>us});function a(e){return"object"==typeof e&&null!==e&&n(e.container)&&i(e.reference)&&"string"==typeof e.message}class s{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return n(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];!r&&(r=this.subtypes[e]={});let n=r[t];if(void 0!==n)return n;{let n=this.computeIsSubtype(e,t);return r[t]=n,n}}getAllSubTypes(e){let t=this.allSubtypes[e];if(t)return t;{let t=this.getAllTypes(),r=[];for(let n of t)this.isSubtype(n,e)&&r.push(n);return this.allSubtypes[e]=r,r}}}function o(e){return"object"==typeof e&&null!==e&&Array.isArray(e.content)}function l(e){return"object"==typeof e&&null!==e&&"object"==typeof e.tokenType}function u(e){return o(e)&&"string"==typeof e.fullText}class c{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){let e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){let e=this.iterator(),t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){let e;let t=[],r=this.iterator();do void 0!==(e=r.next()).value&&t.push(e.value);while(!e.done);return t}toSet(){return new Set(this)}toMap(e,t){return new Map(this.map(r=>[e?e(r):r,t?t(r):r]))}toString(){return this.join()}concat(e){let t=e[Symbol.iterator]();return new c(()=>({first:this.startFn(),firstDone:!1}),e=>{let r;if(!e.firstDone){do if(!(r=this.nextFn(e.first)).done)return r;while(!r.done);e.firstDone=!0}do if(!(r=t.next()).done)return r;while(!r.done);return f})}join(e=","){let t;let r=this.iterator(),n="",i=!1;do!(t=r.next()).done&&(i&&(n+=e),n+=function(e){return"string"==typeof e?e:void 0===e?"undefined":"function"==typeof e.toString?e.toString():Object.prototype.toString.call(e)}(t.value)),i=!0;while(!t.done);return n}indexOf(e,t=0){let r=this.iterator(),n=0,i=r.next();for(;!i.done;){if(n>=t&&i.value===e)return n;i=r.next(),n++}return -1}every(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){let t=this.iterator(),r=0,n=t.next();for(;!n.done;)e(n.value,r),n=t.next(),r++}map(e){return new c(this.startFn,t=>{let{done:r,value:n}=this.nextFn(t);return r?f:{done:!1,value:e(n)}})}filter(e){return new c(this.startFn,t=>{let r;do if(!(r=this.nextFn(t)).done&&e(r.value))return r;while(!r.done);return f})}nonNullable(){return this.filter(e=>null!=e)}reduce(e,t){let r=this.iterator(),n=t,i=r.next();for(;!i.done;)n=void 0===n?i.value:e(n,i.value),i=r.next();return n}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){let n=e.next();if(n.done)return r;let i=this.recursiveReduce(e,t,r);return void 0===i?n.value:t(i,n.value)}find(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){let t=this.iterator(),r=0,n=t.next();for(;!n.done;){if(e(n.value))return r;n=t.next(),r++}return -1}includes(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new c(()=>({this:this.startFn()}),t=>{do{if(t.iterator){let e=t.iterator.next();if(!e.done)return e;t.iterator=void 0}let{done:r,value:n}=this.nextFn(t.this);if(!r){let r=e(n);if(!d(r))return{done:!1,value:r};t.iterator=r[Symbol.iterator]()}}while(t.iterator);return f})}flat(e){if(void 0===e&&(e=1),e<=0)return this;let t=e>1?this.flat(e-1):this;return new c(()=>({this:t.startFn()}),e=>{do{if(e.iterator){let t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}let{done:r,value:n}=t.nextFn(e.this);if(!r){if(!d(n))return{done:!1,value:n};e.iterator=n[Symbol.iterator]()}}while(e.iterator);return f})}head(){let e=this.iterator().next();if(!e.done)return e.value}tail(e=1){return new c(()=>{let t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e)?f:this.nextFn(t.state))}distinct(e){let t=new Set;return this.filter(r=>{let n=e?e(r):r;return!t.has(n)&&(t.add(n),!0)})}exclude(e,t){let r=new Set;for(let n of e){let e=t?t(n):n;r.add(e)}return this.filter(e=>{let n=t?t(e):e;return!r.has(n)})}}function d(e){return!!e&&"function"==typeof e[Symbol.iterator]}let h=new c(()=>void 0,()=>f),f=Object.freeze({done:!0,value:void 0});function p(...e){if(1===e.length){let t=e[0];if(t instanceof c)return t;if(d(t))return new c(()=>t[Symbol.iterator](),e=>e.next());if("number"==typeof t.length)return new c(()=>({index:0}),e=>e.index1?new c(()=>({collIndex:0,arrIndex:0}),t=>{do{if(t.iterator){let e=t.iterator.next();if(!e.done)return e;t.iterator=void 0}if(t.array){if(t.arrIndex({iterators:(null==r?void 0:r.includeRoot)?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),e=>{for(e.pruned&&(e.iterators.pop(),e.pruned=!1);e.iterators.length>0;){let r=e.iterators[e.iterators.length-1].next();if(!r.done)return e.iterators.push(t(r.value)[Symbol.iterator]()),r;e.iterators.pop()}return f})}iterator(){let e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}function g(e){return new m(e,e=>o(e)?e.content:[],{includeRoot:!0})}(t7=t5||(t5={})).sum=function(e){return e.reduce((e,t)=>e+t,0)},t7.product=function(e){return e.reduce((e,t)=>e*t,0)},t7.min=function(e){return e.reduce((e,t)=>Math.min(e,t))},t7.max=function(e){return e.reduce((e,t)=>Math.max(e,t))};function y(e){return{start:{character:e.startColumn-1,line:e.startLine-1},end:{character:e.endColumn,line:e.endLine-1}}}function T(e){if(!e)return;let{offset:t,end:r,range:n}=e;return{range:n,offset:t,end:r,length:r-t}}(t3=t9||(t9={}))[t3.Before=0]="Before",t3[t3.After=1]="After",t3[t3.OverlapFront=2]="OverlapFront",t3[t3.OverlapBack=3]="OverlapBack",t3[t3.Inside=4]="Inside";let v=/^[\w\p{L}]$/u;function E(e,t){return l(e)&&t.includes(e.tokenType.name)}class R extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function A(e){throw Error("Error! The input value was not handled.")}let k="AbstractRule",I="AbstractType",x="Condition",S="ValueLiteral",N="AbstractElement",C="BooleanLiteral",$="Conjunction",L="Disjunction",w="InferredType";function b(e){return ey.isInstance(e,w)}let O="Interface";function _(e){return ey.isInstance(e,O)}let P="Negation",M="ParameterReference",D="ParserRule";function Z(e){return ey.isInstance(e,D)}let U="SimpleType",F="TerminalRule";function G(e){return ey.isInstance(e,F)}let B="Type";function K(e){return ey.isInstance(e,B)}let j="Action";function V(e){return ey.isInstance(e,j)}let W="Alternatives";function H(e){return ey.isInstance(e,W)}let z="Assignment";function Y(e){return ey.isInstance(e,z)}let q="CharacterRange",X="CrossReference";function Q(e){return ey.isInstance(e,X)}let J="EndOfFile",ee="Group";function et(e){return ey.isInstance(e,ee)}let er="Keyword";function en(e){return ey.isInstance(e,er)}let ei="NegatedToken",ea="RegexToken",es="RuleCall";function eo(e){return ey.isInstance(e,es)}let el="TerminalAlternatives",eu="TerminalGroup",ec="TerminalRuleCall";function ed(e){return ey.isInstance(e,ec)}let eh="UnorderedGroup";function ef(e){return ey.isInstance(e,eh)}let ep="UntilToken",em="Wildcard";class eg extends s{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case j:case W:case z:case q:case X:case J:case ee:case er:case ei:case ea:case es:case el:case eu:case ec:case eh:case ep:case em:return this.isSubtype(N,t);case"ArrayLiteral":case"NumberLiteral":case"StringLiteral":return this.isSubtype(S,t);case"ArrayType":case"ReferenceType":case U:case"UnionType":return this.isSubtype("TypeDefinition",t);case C:return this.isSubtype(x,t)||this.isSubtype(S,t);case $:case L:case P:case M:return this.isSubtype(x,t);case w:case O:case B:return this.isSubtype(I,t);case D:return this.isSubtype(k,t)||this.isSubtype(I,t);case F:return this.isSubtype(k,t);default:return!1}}getReferenceType(e){let t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return I;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return k;case"Grammar:usedGrammars":return"Grammar";case"NamedArgument:parameter":case"ParameterReference:parameter":return"Parameter";case"TerminalRuleCall:rule":return F;default:throw Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}let ey=new eg;function eT(e,t){let r=e;for(;r;){if(t(r))return r;r=r.$container}}function ev(e){let t=function(e){for(;e.$container;)e=e.$container;return e}(e).$document;if(!t)throw Error("AST node has no document.");return t}function eE(e,t){if(!e)throw Error("Node must be an AstNode.");let r=null==t?void 0:t.range;return new c(()=>({keys:Object.keys(e),keyIndex:0,arrayIndex:0}),t=>{for(;t.keyIndexeE(e,t))}function eA(e,t){if(e){if((null==t?void 0:t.range)&&!ek(e,t.range))return new m(e,()=>[])}else throw Error("Root node must be an AstNode.");return new m(e,e=>eE(e,t),{includeRoot:!0})}function ek(e,t){var r;if(!t)return!0;let n=null===(r=e.$cstNode)||void 0===r?void 0:r.range;if(!n)return!1;return function(e,t){if(e.end.linet.end.line||e.start.line===t.end.line&&e.start.character>t.end.character)return t9.After;let r=e.start.line>t.start.line||e.start.line===t.start.line&&e.start.character>=t.start.character,n=e.end.linet9.After}function eI(e){return new c(()=>({keys:Object.keys(e),keyIndex:0,arrayIndex:0}),t=>{for(;t.keyIndex=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(e){return{begin:e,end:this.idx}}}class eZ{visitChildren(e){for(let t in e){let r=e[t];e.hasOwnProperty(t)&&(void 0!==r.type?this.visit(r):Array.isArray(r)&&r.forEach(e=>{this.visit(e)},this))}}visit(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e)}this.visitChildren(e)}visitPattern(e){}visitFlags(e){}visitDisjunction(e){}visitAlternative(e){}visitStartAnchor(e){}visitEndAnchor(e){}visitWordBoundary(e){}visitNonWordBoundary(e){}visitLookahead(e){}visitNegativeLookahead(e){}visitCharacter(e){}visitSet(e){}visitGroup(e){}visitGroupBackReference(e){}visitQuantifier(e){}}let eU=/\r?\n/gm,eF=new eD,eG=new class e extends eZ{constructor(){super(...arguments),this.isStarting=!0,this.endRegexpStack=[],this.multiline=!1}get endRegex(){return this.endRegexpStack.join("")}reset(e){this.multiline=!1,this.regex=e,this.startRegexp="",this.isStarting=!0,this.endRegexpStack=[]}visitGroup(e){e.quantifier&&(this.isStarting=!1,this.endRegexpStack=[])}visitCharacter(e){let t=String.fromCharCode(e.value);if(!this.multiline&&"\n"===t&&(this.multiline=!0),e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let e=eK(t);this.endRegexpStack.push(e),this.isStarting&&(this.startRegexp+=e)}}visitSet(e){if(!this.multiline){let t=new RegExp(this.regex.substring(e.loc.begin,e.loc.end));this.multiline=!!"\n".match(t)}if(e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let t=this.regex.substring(e.loc.begin,e.loc.end);this.endRegexpStack.push(t),this.isStarting&&(this.startRegexp+=t)}}visitChildren(e){if("Group"!==e.type||!e.quantifier)super.visitChildren(e)}};function eB(e){return("string"==typeof e?new RegExp(e):e).test(" ")}function eK(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ej(e,t){let r=new Set,n=e.rules.find(e=>Z(e)&&e.entry);if(!n)return new Set(e.rules);for(let i of[n].concat(e.rules.filter(e=>G(e)&&e.hidden)))(function e(t,r,n){r.add(t.name),eR(t).forEach(t=>{if(eo(t)||n&&ed(t)){let i=t.rule.ref;i&&!r.has(i.name)&&e(i,r,n)}})})(i,r,t);let i=new Set;for(let t of e.rules)(r.has(t.name)||G(t)&&t.hidden)&&i.add(t);return i}function eV(e,t,r){if(!e||!t)return;let n=eW(e,t,e.astNode,!0);if(0!==n.length)return r=void 0!==r?Math.max(0,Math.min(r,n.length-1)):0,n[r]}function eW(e,t,r,n){if(!n){let r=eT(e.grammarSource,Y);if(r&&r.feature===t)return[e]}return o(e)&&e.astNode===r?e.content.flatMap(e=>eW(e,t,r,!1)):[]}function eH(e){let t=e;return b(t)&&(V(t.$container)?t=t.$container.$container:Z(t.$container)?t=t.$container:A(t.$container)),function e(t,r,n){var i,a;function s(r,i){let a;return!eT(r,Y)&&(a=e(i,i,n)),n.set(t,a),a}if(n.has(t))return n.get(t);for(let e of(n.set(t,void 0),eR(r))){if(Y(e)&&"name"===e.feature.toLowerCase())return n.set(t,e),e;if(eo(e)&&Z(e.rule.ref))return s(e,e.rule.ref);else{;if(a=e,ey.isInstance(a,U)&&(null===(i=e.typeRef)||void 0===i?void 0:i.ref))return s(e,e.typeRef.ref)}}}(e,t,new Map)}function ez(e){return function e(t,r){if(r.has(t))return!0;r.add(t);for(let n of eR(t))if(eo(n)){if(!n.rule.ref||Z(n.rule.ref)&&!e(n.rule.ref,r))return!1}else if(Y(n))return!1;else if(V(n))return!1;return!!t.definition}(e,new Set)}function eY(e){if(e.inferredType)return e.inferredType.name;if(e.dataType)return e.dataType;if(e.returnType){let t=e.returnType.ref;if(t){if(Z(t))return t.name;if(_(t)||K(t))return t.name}}}function eq(e){var t,r;if(Z(e))return ez(e)?e.name:null!==(t=eY(e))&&void 0!==t?t:e.name;if(_(e)||K(e)||(r=e,ey.isInstance(r,"ReturnType")))return e.name;else if(V(e)){let t=function(e){var t;return e.inferredType?e.inferredType.name:(null===(t=e.type)||void 0===t?void 0:t.ref)?eq(e.type.ref):void 0}(e);if(t)return t}else if(b(e))return e.name;throw Error("Cannot get name of Unknown Type")}function eX(e){let t={s:!1,i:!1,u:!1},r=eJ(e.definition,t);return new RegExp(r,Object.entries(t).filter(([,e])=>e).map(([e])=>e).join(""))}let eQ=/[\s\S]/.source;function eJ(e,t){var r,n,i,a,s,o,l;if(r=e,ey.isInstance(r,el))return function(e){return e1(e.elements.map(e=>eJ(e)).join("|"),{cardinality:e.cardinality,lookahead:e.lookahead})}(e);if(n=e,ey.isInstance(n,eu))return function(e){return e1(e.elements.map(e=>eJ(e)).join(""),{cardinality:e.cardinality,lookahead:e.lookahead})}(e);else{;if(i=e,ey.isInstance(i,q))return function(e){return e.right?e1(`[${e0(e.left)}-${e0(e.right)}]`,{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1}):e1(e0(e.left),{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1})}(e);else if(ed(e)){let t=e.rule.ref;if(!t)throw Error("Missing rule reference.");return e1(eJ(t.definition),{cardinality:e.cardinality,lookahead:e.lookahead})}else{;if(a=e,ey.isInstance(a,ei))return function(e){return e1(`(?!${eJ(e.terminal)})${eQ}*?`,{cardinality:e.cardinality,lookahead:e.lookahead})}(e);else{;if(s=e,ey.isInstance(s,ep))return function(e){return e1(`${eQ}*?${eJ(e.terminal)}`,{cardinality:e.cardinality,lookahead:e.lookahead})}(e);else{;if(o=e,ey.isInstance(o,ea)){let r=e.regex.lastIndexOf("/"),n=e.regex.substring(1,r),i=e.regex.substring(r+1);return t&&(t.i=i.includes("i"),t.s=i.includes("s"),t.u=i.includes("u")),e1(n,{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1})}else{;if(l=e,ey.isInstance(l,em))return e1(eQ,{cardinality:e.cardinality,lookahead:e.lookahead});else throw Error(`Invalid terminal element: ${null==e?void 0:e.$type}`)}}}}}}function e0(e){return eK(e.value)}function e1(e,t){var r;return((!1!==t.wrap||t.lookahead)&&(e=`(${null!==(r=t.lookahead)&&void 0!==r?r:""}${e})`),t.cardinality)?`${e}${t.cardinality}`:e}var e2,e4,e7,e3,e5,e9,e6,e8,te,tt,tr,tn,ti,ta,ts,to,tl,tu,tc,td,th,tf,tp,tm,tg,ty,tT,tv,tE,tR,tA,tk,tI,tx,tS,tN,tC,t$,tL,tw,tb,tO,t_,tP,tM,tD,tZ,tU,tF,tG,tB,tK,tj,tV,tW,tH,tz,tY,tq,tX,tQ,tJ,t0,t1,t2,t4,t7,t3,t5,t9,t6,t8,re,rt,rr,rn,ri,ra,rs,ro,rl,ru,rc,rd,rh,rf,rp,rm,rg,ry,rT,rv,rE,rR,rA,rk,rI,rx,rS,rN,rC,r$,rL,rw,rb,rO,r_,rP,rM,rD,rZ,rU,rF,rG,rB,rK,rj,rV,rW,rH,rz,rY,rq,rX,rQ,rJ,r0,r1,r2,r4,r7,r3,r5,r9,r6,r8,ne,nt,nr,nn,ni,na,ns,no,nl,nu,nc,nd,nh,nf,np,nm,ng,ny,nT,nv,nE,nR,nA,nk,nI,nx,nS,nN=r("82633"),nC=r("96433"),n$=r("73217"),nL=r("97345"),nw=r("29072"),nb=r("65521");function nO(e){function t(){}t.prototype=e;let r=new t;function n(){return typeof r.bar}return n(),n(),e}let n_=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n{t.accept(e)})}}class n7 extends n4{constructor(e){super([]),this.idx=1,nV(this,nq(e,e=>void 0!==e))}set definition(e){}get definition(){return void 0!==this.referencedRule?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class n3 extends n4{constructor(e){super(e.definition),this.orgText="",nV(this,nq(e,e=>void 0!==e))}}class n5 extends n4{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,nV(this,nq(e,e=>void 0!==e))}}class n9 extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class n6 extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class n8 extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class ie extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class it extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class ir extends n4{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,nV(this,nq(e,e=>void 0!==e))}}class ii{constructor(e){this.idx=1,nV(this,nq(e,e=>void 0!==e))}accept(e){e.visit(this)}}class ia{visit(e){switch(e.constructor){case n7:return this.visitNonTerminal(e);case n5:return this.visitAlternative(e);case n9:return this.visitOption(e);case n6:return this.visitRepetitionMandatory(e);case n8:return this.visitRepetitionMandatoryWithSeparator(e);case it:return this.visitRepetitionWithSeparator(e);case ie:return this.visitRepetition(e);case ir:return this.visitAlternation(e);case ii:return this.visitTerminal(e);case n3:return this.visitRule(e);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}var is=r("93130"),io=r("20869");let il=function(e,t){var r;return(0,io.Z)(e,function(e,n,i){return!(r=t(e,n,i))}),!!r};var iu=r("31739"),ic=r("8417");let id=function(e,t,r){var n=(0,iu.Z)(e)?is.Z:il;return r&&(0,ic.Z)(e,t,r)&&(t=void 0),n(e,(0,nH.Z)(t,3))};var ih=r("77253"),ip=Math.max;let im=function(e,t,r,n){e=(0,nG.Z)(e)?e:(0,nC.Z)(e),r=r&&!n?(0,nP.Z)(r):0;var i=e.length;return r<0&&(r=ip(i+r,0)),(0,nD.Z)(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&(0,ih.Z)(e,t,r)>-1},ig=function(e,t){for(var r=-1,n=null==e?0:e.length;++riv(e,t));if(e instanceof n7&&im(t,e))return!1;if(e instanceof n4)return e instanceof n7&&t.push(e),iT(e.definition,e=>iv(e,t));else return!1}function iE(e){if(e instanceof n7)return"SUBRULE";if(e instanceof n9)return"OPTION";if(e instanceof ir)return"OR";else if(e instanceof n6)return"AT_LEAST_ONE";else if(e instanceof n8)return"AT_LEAST_ONE_SEP";else if(e instanceof it)return"MANY_SEP";else if(e instanceof ie)return"MANY";else if(e instanceof ii)return"CONSUME";else throw Error("non exhaustive match")}class iR{walk(e,t=[]){(0,nN.Z)(e.definition,(r,n)=>{let i=nM(e.definition,n+1);if(r instanceof n7)this.walkProdRef(r,i,t);else if(r instanceof ii)this.walkTerminal(r,i,t);else if(r instanceof n5)this.walkFlat(r,i,t);else if(r instanceof n9)this.walkOption(r,i,t);else if(r instanceof n6)this.walkAtLeastOne(r,i,t);else if(r instanceof n8)this.walkAtLeastOneSep(r,i,t);else if(r instanceof it)this.walkManySep(r,i,t);else if(r instanceof ie)this.walkMany(r,i,t);else if(r instanceof ir)this.walkOr(r,i,t);else throw Error("non exhaustive match")})}walkTerminal(e,t,r){}walkProdRef(e,t,r){}walkFlat(e,t,r){let n=t.concat(r);this.walk(e,n)}walkOption(e,t,r){let n=t.concat(r);this.walk(e,n)}walkAtLeastOne(e,t,r){let n=[new n9({definition:e.definition})].concat(t,r);this.walk(e,n)}walkAtLeastOneSep(e,t,r){let n=iA(e,t,r);this.walk(e,n)}walkMany(e,t,r){let n=[new n9({definition:e.definition})].concat(t,r);this.walk(e,n)}walkManySep(e,t,r){let n=iA(e,t,r);this.walk(e,n)}walkOr(e,t,r){let n=t.concat(r);(0,nN.Z)(e.definition,e=>{let t=new n5({definition:[e]});this.walk(t,n)})}}function iA(e,t,r){return[new n9({definition:[new ii({terminalType:e.separator})].concat(e.definition)})].concat(t,r)}var ik=r("38610");let iI=function(e){return e&&e.length?(0,ik.Z)(e):[]};var ix=r("71134");function iS(e){var t;if(e instanceof n7)return iS(e.referencedRule);if(e instanceof ii)return function(e){return[e.terminalType]}(e);if((t=e)instanceof n5||t instanceof n9||t instanceof ie||t instanceof n6||t instanceof n8||t instanceof it||t instanceof ii||t instanceof n3)return function(e){let t,r=[],n=e.definition,i=0,a=n.length>i,s=!0;for(;a&&s;)s=iv(t=n[i]),r=r.concat(iS(t)),i+=1,a=n.length>i;return iI(r)}(e);else{if(e instanceof ir)return function(e){let t=(0,nL.Z)(e.definition,e=>iS(e));return iI((0,ix.Z)(t))}(e);else throw Error("non exhaustive match")}}let iN="_~IN~_";class iC extends iR{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,t,r){}walkProdRef(e,t,r){let n=function(e,t){return e.name+t+iN}(e.referencedRule,e.idx)+this.topProd.name,i=iS(new n5({definition:t.concat(r)}));this.follows[n]=i}}var i$=r("61925"),iL=r("87317"),iw=r("87276"),ib=r("789");let iO=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}},i_=function(e,t){return((0,iu.Z)(e)?iw.Z:ib.Z)(e,iO((0,nH.Z)(t,3)))};var iP=r("18782"),iM=Math.max;let iD=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var i=null==r?0:(0,nP.Z)(r);return i<0&&(i=iM(n+i,0)),(0,ih.Z)(e,t,i)};var iZ=r("81748"),iU=r("37627"),iF=r("94641"),iG=r("37479"),iB=r("46592"),iK=r("99976");let ij=function(e,t,r,n){var i=-1,a=iG.Z,s=!0,o=e.length,l=[],u=t.length;if(!o)return l;r&&(t=(0,nW.Z)(t,(0,nJ.Z)(r))),n?(a=iB.Z,s=!1):t.length>=200&&(a=iK.Z,s=!1,t=new iF.Z(t));e:for(;++i"number"==typeof e?im(t,e):void 0!==(0,iX.Z)(t,t=>e.from<=t&&t<=e.to))}class i9 extends eZ{constructor(e){super(),this.targetCharCodes=e,this.found=!1}visitChildren(e){if(!0!==this.found){switch(e.type){case"Lookahead":this.visitLookahead(e);return;case"NegativeLookahead":this.visitNegativeLookahead(e);return}super.visitChildren(e)}}visitCharacter(e){im(this.targetCharCodes,e.value)&&(this.found=!0)}visitSet(e){e.complement?void 0===i5(e,this.targetCharCodes)&&(this.found=!0):void 0!==i5(e,this.targetCharCodes)&&(this.found=!0)}}function i6(e,t){if(!(t instanceof RegExp))return void 0!==(0,iX.Z)(t,t=>im(e,t.charCodeAt(0)));{let r=i2(t),n=new i9(e);return n.visit(r),n.found}}let i8="PATTERN",ae="defaultMode",at="modes",ar="boolean"==typeof RegExp("(?:)").sticky,an=/[^\\][$]/,ai=/[^\\[][\^]|^\^/;function aa(e){let t=e.ignoreCase?"i":"";return RegExp(`^(?:${e.source})`,t)}function as(e){let t=e.ignoreCase?"iy":"y";return RegExp(`${e.source}`,t)}function ao(e){let t=e.PATTERN;if(n2(t))return!1;if((0,iP.Z)(t))return!0;if((0,nw.Z)(t,"exec"))return!0;else if((0,nD.Z)(t))return!1;else throw Error("non exhaustive match")}function al(e){return!!(0,nD.Z)(e)&&1===e.length&&e.charCodeAt(0)}let au={test:function(e){let t=e.length;for(let r=this.lastIndex;r(0,nD.Z)(e)?e.charCodeAt(0):e)}function ah(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}let af=256,ap=[];function am(e){return ee.CATEGORIES))),t);t=t.concat(e),(0,n$.Z)(e)?n=!1:r=e}return t}(e);(function(e){(0,nN.Z)(e,e=>{!ax(e)&&(ak[aA]=e,e.tokenTypeIdx=aA++),aS(e)&&!(0,iu.Z)(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),!aS(e)&&(e.CATEGORIES=[]),!function(e){return(0,nw.Z)(e,"categoryMatches")}(e)&&(e.categoryMatches=[]),!function(e){return(0,nw.Z)(e,"categoryMatchesMap")}(e)&&(e.categoryMatchesMap={})})})(t),function(e){(0,nN.Z)(e,e=>{(function e(t,r){(0,nN.Z)(t,e=>{r.categoryMatchesMap[e.tokenTypeIdx]=!0}),(0,nN.Z)(r.CATEGORIES,n=>{let i=t.concat(r);!im(i,n)&&e(i,n)})})([],e)})}(t),function(e){(0,nN.Z)(e,e=>{e.categoryMatches=[],(0,nN.Z)(e.categoryMatchesMap,(t,r)=>{e.categoryMatches.push(ak[r].tokenTypeIdx)})})}(t),(0,nN.Z)(t,e=>{e.isParent=e.categoryMatches.length>0})}function ax(e){return(0,nw.Z)(e,"tokenTypeIdx")}function aS(e){return(0,nw.Z)(e,"CATEGORIES")}function aN(e){return(0,nw.Z)(e,"tokenTypeIdx")}(e2=t6||(t6={}))[e2.MISSING_PATTERN=0]="MISSING_PATTERN",e2[e2.INVALID_PATTERN=1]="INVALID_PATTERN",e2[e2.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",e2[e2.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",e2[e2.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",e2[e2.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",e2[e2.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",e2[e2.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",e2[e2.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",e2[e2.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",e2[e2.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",e2[e2.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",e2[e2.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",e2[e2.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",e2[e2.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",e2[e2.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",e2[e2.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",e2[e2.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE";let aC={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:["\n","\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:{buildUnableToPopLexerModeMessage:e=>`Unable to pop Lexer Mode after encountering Token ->${e.image}<- The Mode Stack is empty`,buildUnexpectedCharactersMessage:(e,t,r,n,i)=>`unexpected character: ->${e.charAt(t)}<- at offset: ${t}, skipped ${r} characters.`},traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(aC);class a${constructor(e,t=aC){if(this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(e,t)=>{if(!0!==this.traceInitPerf)return t();{this.traceInitIndent++;let r=Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${e}>`);let{time:n,value:i}=av(t),a=n>10?console.warn:console.log;return this.traceInitIndent time: ${n}ms`),this.traceInitIndent--,i}},"boolean"==typeof t)throw Error("The second argument to the Lexer constructor is now an ILexerConfig Object.\na boolean 2nd argument is no longer supported");this.config=nV({},aC,t);let r=this.config.traceInitPerf;!0===r?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):"number"==typeof r&&(this.traceInitMaxIdent=r,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",()=>{let r;let n=!0;this.TRACE_INIT("Lexer Config handling",()=>{if(this.config.lineTerminatorsPattern===aC.lineTerminatorsPattern)this.config.lineTerminatorsPattern=au;else if(this.config.lineTerminatorCharacters===aC.lineTerminatorCharacters)throw Error("Error: Missing property on the Lexer config.\n For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");if(t.safeMode&&t.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),(0,iu.Z)(e)?r={modes:{defaultMode:(0,nb.Z)(e)},defaultMode:ae}:(n=!1,r=(0,nb.Z)(e))}),!1===this.config.skipValidations&&(this.TRACE_INIT("performRuntimeChecks",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(function(e,t,r){let n=[];return!(0,nw.Z)(e,ae)&&n.push({message:"A MultiMode Lexer cannot be initialized without a <"+ae+"> property in its definition\n",type:t6.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),!(0,nw.Z)(e,at)&&n.push({message:"A MultiMode Lexer cannot be initialized without a <"+at+"> property in its definition\n",type:t6.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,nw.Z)(e,at)&&(0,nw.Z)(e,ae)&&!(0,nw.Z)(e.modes,e.defaultMode)&&n.push({message:`A MultiMode Lexer cannot be initialized with a ${ae}: <${e.defaultMode}>which does not exist +`,type:t6.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,nw.Z)(e,at)&&(0,nN.Z)(e.modes,(e,t)=>{(0,nN.Z)(e,(r,i)=>{if((0,i$.Z)(r))n.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${t}> at index: <${i}> +`,type:t6.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED});else if((0,nw.Z)(r,"LONGER_ALT")){let i=(0,iu.Z)(r.LONGER_ALT)?r.LONGER_ALT:[r.LONGER_ALT];(0,nN.Z)(i,i=>{!(0,i$.Z)(i)&&!im(e,i)&&n.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${i.name}> on token <${r.name}> outside of mode <${t}> +`,type:t6.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})})}})}),n}(r,this.trackStartLines,this.config.lineTerminatorCharacters))}),this.TRACE_INIT("performWarningRuntimeChecks",()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(function(e,t,r){let n=[],i=!1,a=i_(iY((0,ix.Z)((0,nC.Z)(e.modes))),e=>e[i8]===a$.NA),s=ad(r);return t&&(0,nN.Z)(a,e=>{let t=ac(e,s);if(!1!==t){let r={message:function(e,t){if(t.issue===t6.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern. + The problem is in the <${e.name}> Token Type + Root cause: ${t.errMsg}. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(t.issue===t6.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. + The problem is in the <${e.name}> Token Type + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}(e,t),type:t.issue,tokenType:e};n.push(r)}else(0,nw.Z)(e,"LINE_BREAKS")?!0===e.LINE_BREAKS&&(i=!0):i6(s,e.PATTERN)&&(i=!0)}),t&&!i&&n.push({message:"Warning: No LINE_BREAKS Found.\n This Lexer has been defined to track line and column information,\n But none of the Token Types can be identified as matching a line terminator.\n See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS \n for details.",type:t6.NO_LINE_BREAKS_FLAGS}),n}(r,this.trackStartLines,this.config.lineTerminatorCharacters))})),r.modes=r.modes?r.modes:{},(0,nN.Z)(r.modes,(e,t)=>{r.modes[t]=i_(e,e=>(0,i$.Z)(e))});let i=(0,nK.Z)(r.modes);if((0,nN.Z)(r.modes,(e,r)=>{this.TRACE_INIT(`Mode: <${r}> processing`,()=>{if(this.modes.push(r),!1===this.config.skipValidations&&this.TRACE_INIT("validatePatterns",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(function(e,t){let r=[],n=function(e){let t=(0,iU.Z)(e,e=>!(0,nw.Z)(e,i8)),r=(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:t6.MISSING_PATTERN,tokenTypes:[e]}));return{errors:r,valid:iz(e,t)}}(e);r=r.concat(n.errors);let i=function(e){let t=(0,iU.Z)(e,e=>{let t=e[i8];return!n2(t)&&!(0,iP.Z)(t)&&!(0,nw.Z)(t,"exec")&&!(0,nD.Z)(t)}),r=(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:t6.INVALID_PATTERN,tokenTypes:[e]}));return{errors:r,valid:iz(e,t)}}(n.valid),a=i.valid;return r=(r=(r=(r=(r=r.concat(i.errors)).concat(function(e){let t=[],r=(0,iU.Z)(e,e=>n2(e[i8]));return t=(t=(t=(t=(t=t.concat(function(e){class t extends eZ{constructor(){super(...arguments),this.found=!1}visitEndAnchor(e){this.found=!0}}let r=(0,iU.Z)(e,e=>{let r=e.PATTERN;try{let e=i2(r),n=new t;return n.visit(e),n.found}catch(e){return an.test(r.source)}});return(0,nL.Z)(r,e=>({message:"Unexpected RegExp Anchor Error:\n Token Type: ->"+e.name+"<- static 'PATTERN' cannot contain end of input anchor '$'\n See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.",type:t6.EOI_ANCHOR_FOUND,tokenTypes:[e]}))}(r))).concat(function(e){class t extends eZ{constructor(){super(...arguments),this.found=!1}visitStartAnchor(e){this.found=!0}}let r=(0,iU.Z)(e,e=>{let r=e.PATTERN;try{let e=i2(r),n=new t;return n.visit(e),n.found}catch(e){return ai.test(r.source)}});return(0,nL.Z)(r,e=>({message:"Unexpected RegExp Anchor Error:\n Token Type: ->"+e.name+"<- static 'PATTERN' cannot contain start of input anchor '^'\n See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.",type:t6.SOI_ANCHOR_FOUND,tokenTypes:[e]}))}(r))).concat(function(e){let t=(0,iU.Z)(e,e=>{let t=e[i8];return t instanceof RegExp&&(t.multiline||t.global)});return(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:t6.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]}))}(r))).concat(function(e){let t=[],r=(0,nL.Z)(e,r=>(0,iZ.Z)(e,(e,n)=>(r.PATTERN.source===n.PATTERN.source&&!im(t,n)&&n.PATTERN!==a$.NA&&(t.push(n),e.push(n)),e),[]));r=iY(r);let n=(0,iU.Z)(r,e=>e.length>1);return(0,nL.Z)(n,e=>{let t=(0,nL.Z)(e,e=>e.name),r=iq(e).PATTERN;return{message:`The same RegExp pattern ->${r}<-has been used in all of the following Token Types: ${t.join(", ")} <-`,type:t6.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}})}(r))).concat(function(e){let t=(0,iU.Z)(e,e=>e.PATTERN.test(""));return(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' must not match an empty string",type:t6.EMPTY_MATCH_PATTERN,tokenTypes:[e]}))}(r))}(a))).concat(function(e){let t=(0,iU.Z)(e,e=>{if(!(0,nw.Z)(e,"GROUP"))return!1;let t=e.GROUP;return t!==a$.SKIPPED&&t!==a$.NA&&!(0,nD.Z)(t)});return(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:t6.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]}))}(a))).concat(function(e,t){let r=(0,iU.Z)(e,e=>void 0!==e.PUSH_MODE&&!im(t,e.PUSH_MODE));return(0,nL.Z)(r,e=>({message:`Token Type: ->${e.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${e.PUSH_MODE}<-which does not exist`,type:t6.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]}))}(a,t))).concat(function(e){let t=[],r=(0,iZ.Z)(e,(e,t,r)=>{let n=t.PATTERN;return n===a$.NA?e:((0,nD.Z)(n)?e.push({str:n,idx:r,tokenType:t}):n2(n)&&function(e){return void 0===(0,iX.Z)([".","\\","[","]","|","^","$","(",")","?","*","+","{"],t=>-1!==e.source.indexOf(t))}(n)&&e.push({str:n.source,idx:r,tokenType:t}),e)},[]);return(0,nN.Z)(e,(e,n)=>{(0,nN.Z)(r,({str:r,idx:i,tokenType:a})=>{if(n${a.name}<- can never be matched. +Because it appears AFTER the Token Type ->${e.name}<-in the lexer's definition. +See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;t.push({message:r,type:t6.UNREACHABLE_PATTERN,tokenTypes:[e,a]})}})}),t}(a))}(e,i))}),(0,n$.Z)(this.lexerDefinitionErrors)){let n;aI(e),this.TRACE_INIT("analyzeTokenTypes",()=>{n=function(e,t){let r,n,i,a,s,o,l,u,c,d,h,f;let p=(t=(0,iL.Z)(t,{useSticky:ar,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r","\n"],tracer:(e,t)=>t()})).tracer;p("initCharCodeToOptimizedIndexMap",()=>{(function(){if((0,n$.Z)(ap)){ap=Array(65536);for(let e=0;e<65536;e++)ap[e]=e>255?255+~~(e/255):e}})()}),p("Reject Lexer.NA",()=>{r=i_(e,e=>e[i8]===a$.NA)});let m=!1;p("Transform Patterns",()=>{m=!1,n=(0,nL.Z)(r,e=>{let r=e[i8];if(n2(r)){let e=r.source;return 1!==e.length||"^"===e||"$"===e||"."===e||r.ignoreCase?2!==e.length||"\\"!==e[0]||im(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],e[1])?t.useSticky?as(r):aa(r):e[1]:e}if((0,iP.Z)(r))return m=!0,{exec:r};if("object"==typeof r)return m=!0,r;else if("string"==typeof r){if(1===r.length)return r;{let e=new RegExp(r.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"));return t.useSticky?as(e):aa(e)}}else throw Error("non exhaustive match")})}),p("misc mapping",()=>{i=(0,nL.Z)(r,e=>e.tokenTypeIdx),a=(0,nL.Z)(r,e=>{let t=e.GROUP;if(t!==a$.SKIPPED){if((0,nD.Z)(t))return t;if((0,i$.Z)(t))return!1;else throw Error("non exhaustive match")}}),s=(0,nL.Z)(r,e=>{let t=e.LONGER_ALT;if(t)return(0,iu.Z)(t)?(0,nL.Z)(t,e=>iD(r,e)):[iD(r,t)]}),o=(0,nL.Z)(r,e=>e.PUSH_MODE),l=(0,nL.Z)(r,e=>(0,nw.Z)(e,"POP_MODE"))}),p("Line Terminator Handling",()=>{let e=ad(t.lineTerminatorCharacters);u=(0,nL.Z)(r,e=>!1),"onlyOffset"!==t.positionTracking&&(u=(0,nL.Z)(r,t=>(0,nw.Z)(t,"LINE_BREAKS")?!!t.LINE_BREAKS:!1===ac(t,e)&&i6(e,t.PATTERN)))}),p("Misc Mapping #2",()=>{c=(0,nL.Z)(r,ao),d=(0,nL.Z)(n,al),h=(0,iZ.Z)(r,(e,t)=>{let r=t.GROUP;return(0,nD.Z)(r)&&r!==a$.SKIPPED&&(e[r]=[]),e},{}),f=(0,nL.Z)(n,(e,t)=>({pattern:n[t],longerAlt:s[t],canLineTerminator:u[t],isCustom:c[t],short:d[t],group:a[t],push:o[t],pop:l[t],tokenTypeIdx:i[t],tokenType:r[t]}))});let g=!0,y=[];return!t.safeMode&&p("First Char Optimization",()=>{y=(0,iZ.Z)(r,(e,r,n)=>{if("string"==typeof r.PATTERN)ah(e,am(r.PATTERN.charCodeAt(0)),f[n]);else if((0,iu.Z)(r.START_CHARS_HINT)){let t;(0,nN.Z)(r.START_CHARS_HINT,r=>{let i=am("string"==typeof r?r.charCodeAt(0):r);t!==i&&(t=i,ah(e,i,f[n]))})}else if(n2(r.PATTERN)){if(r.PATTERN.unicode)g=!1,t.ensureOptimizations&&iQ(`${i7} Unable to analyze < ${r.PATTERN.toString()} > pattern. + The regexp unicode flag is not currently supported by the regexp-to-ast library. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{let i=function(e,t=!1){try{let t=i2(e);return function e(t,r,n){switch(t.type){case"Disjunction":for(let i=0;i{if("number"==typeof e)i3(e,r,n);else if(!0===n)for(let t=e.from;t<=e.to;t++)i3(t,r,n);else{for(let t=e.from;t<=e.to&&t=af){let t=e.from>=af?e.from:af,n=e.to,i=am(t),a=am(n);for(let e=i;e<=a;e++)r[e]=e}}});break;case"Group":e(a.value,r,n);break;default:throw Error("Non Exhaustive Match")}let s=void 0!==a.quantifier&&0===a.quantifier.atLeast;if("Group"===a.type&&!1===function e(t){let r=t.quantifier;return!!r&&0===r.atLeast||!!t.value&&((0,iu.Z)(t.value)?iT(t.value,e):e(t.value))}(a)||"Group"!==a.type&&!1===s)break}break;default:throw Error("non exhaustive match!")}return(0,nC.Z)(r)}(t.value,{},t.flags.ignoreCase)}catch(r){if(r.message===i4)t&&iJ(`${i7} Unable to optimize: < ${e.toString()} > + Complement Sets cannot be automatically optimized. + This will disable the lexer's first char optimizations. + See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let r="";t&&(r="\n This will disable the lexer's first char optimizations.\n See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details."),iQ(`${i7} + Failed parsing: < ${e.toString()} > + Using the @chevrotain/regexp-to-ast library + Please open an issue at: https://github.com/chevrotain/chevrotain/issues`+r)}}return[]}(r.PATTERN,t.ensureOptimizations);(0,n$.Z)(i)&&(g=!1),(0,nN.Z)(i,t=>{ah(e,t,f[n])})}}else t.ensureOptimizations&&iQ(`${i7} TokenType: <${r.name}> is using a custom token pattern without providing parameter. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),g=!1;return e},[])}),{emptyGroups:h,patternIdxToConfig:f,charCodeToPatternIdxToConfig:y,hasCustom:m,canBeOptimized:g}}(e,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:this.TRACE_INIT})}),this.patternIdxToConfig[r]=n.patternIdxToConfig,this.charCodeToPatternIdxToConfig[r]=n.charCodeToPatternIdxToConfig,this.emptyGroups=nV({},this.emptyGroups,n.emptyGroups),this.hasCustom=n.hasCustom||this.hasCustom,this.canModeBeOptimized[r]=n.canBeOptimized}})}),this.defaultMode=r.defaultMode,!(0,n$.Z)(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling)throw Error("Errors detected in definition of Lexer:\n"+(0,nL.Z)(this.lexerDefinitionErrors,e=>e.message).join("-----------------------\n"));(0,nN.Z)(this.lexerDefinitionWarning,e=>{iJ(e.message)}),this.TRACE_INIT("Choosing sub-methods implementations",()=>{if(ar?(this.chopInput=ag.Z,this.match=this.matchWithTest):(this.updateLastIndex=ay.Z,this.match=this.matchWithExec),n&&(this.handleModes=ay.Z),!1===this.trackStartLines&&(this.computeNewColumn=ag.Z),!1===this.trackEndLines&&(this.updateTokenEndLineColumnLocation=ay.Z),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else if(/onlyOffset/i.test(this.config.positionTracking))this.createTokenInstance=this.createOffsetOnlyToken;else throw Error(`Invalid config option: "${this.config.positionTracking}"`);this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)}),this.TRACE_INIT("Failed Optimization Warnings",()=>{let e=(0,iZ.Z)(this.canModeBeOptimized,(e,t,r)=>(!1===t&&e.push(r),e),[]);if(t.ensureOptimizations&&!(0,n$.Z)(e))throw Error(`Lexer Modes: < ${e.join(", ")} > cannot be optimized. + Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. + Or inspect the console log for details on how to resolve these issues.`)}),this.TRACE_INIT("clearRegExpParserCache",()=>{i0={}}),this.TRACE_INIT("toFastProperties",()=>{nO(this)})})}tokenize(e,t=this.defaultMode){if(!(0,n$.Z)(this.lexerDefinitionErrors))throw Error("Unable to Tokenize because Errors detected in definition of Lexer:\n"+(0,nL.Z)(this.lexerDefinitionErrors,e=>e.message).join("-----------------------\n"));return this.tokenizeInternal(e,t)}tokenizeInternal(e,t){let r,n,i,a,s,o,l,u,c,d,h,f,p,m,g,y,T;let v=e,E=v.length,R=0,A=0,k=Array(this.hasCustom?0:Math.floor(e.length/10)),I=[],x=this.trackStartLines?1:void 0,S=this.trackStartLines?1:void 0,N=function(e){let t={},r=(0,nK.Z)(e);return(0,nN.Z)(r,r=>{let n=e[r];if((0,iu.Z)(n))t[r]=[];else throw Error("non exhaustive match")}),t}(this.emptyGroups),C=this.trackStartLines,$=this.config.lineTerminatorsPattern,L=0,w=[],b=[],O=[],_=[];function P(){return w}function M(e){let t=b[am(e)];return void 0===t?_:t}Object.freeze(_);let D=e=>{if(1===O.length&&void 0===e.tokenType.PUSH_MODE){let t=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);I.push({offset:e.startOffset,line:e.startLine,column:e.startColumn,length:e.image.length,message:t})}else{O.pop();let e=(0,aT.Z)(O);w=this.patternIdxToConfig[e],b=this.charCodeToPatternIdxToConfig[e],L=w.length;let t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;y=b&&t?M:P}};function Z(e){O.push(e),b=this.charCodeToPatternIdxToConfig[e],L=(w=this.patternIdxToConfig[e]).length,L=w.length;let t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;y=b&&t?M:P}Z.call(this,t);let U=this.config.recoveryEnabled;for(;Ro.length){o=a,l=u,T=t;break}}}break}}if(null!==o){if(c=o.length,void 0!==(d=T.group)&&(h=T.tokenTypeIdx,f=this.createTokenInstance(o,R,h,T.tokenType,x,S,c),this.handlePayload(f,l),!1===d?A=this.addToken(k,A,f):N[d].push(f)),e=this.chopInput(e,c),R+=c,S=this.computeNewColumn(S,c),!0===C&&!0===T.canLineTerminator){let e,t,r=0;$.lastIndex=0;do!0===(e=$.test(o))&&(t=$.lastIndex-1,r++);while(!0===e);0!==r&&(x+=r,S=c-t,this.updateTokenEndLineColumnLocation(f,d,t,r,x,S,c))}this.handleModes(T,D,Z,f)}else{let t=R,r=x,i=S,a=!1===U;for(;!1===a&&R ${aL(e)} <--`:`token of type --> ${e.name} <--`;return`Expecting ${i} but found --> '${t.image}' <--`},buildNotAllInputParsedMessage:({firstRedundant:e,ruleName:t})=>"Redundant input, expecting EOF but found: "+e.image,buildNoViableAltMessage({expectedPathsPerAlt:e,actual:t,previous:r,customUserDescription:n,ruleName:i}){let a="Expecting: ",s="\nbut found: '"+iq(t).image+"'";if(n)return a+n+s;{let t=(0,iZ.Z)(e,(e,t)=>e.concat(t),[]),r=(0,nL.Z)(t,e=>`[${(0,nL.Z)(e,e=>aL(e)).join(", ")}]`),n=(0,nL.Z)(r,(e,t)=>` ${t+1}. ${e}`);return a+`one of these possible Token sequences: +${n.join("\n")}`+s}},buildEarlyExitMessage({expectedIterationPaths:e,actual:t,customUserDescription:r,ruleName:n}){let i="Expecting: ",a="\nbut found: '"+iq(t).image+"'";if(r)return i+r+a;{let t=(0,nL.Z)(e,e=>`[${(0,nL.Z)(e,e=>aL(e)).join(",")}]`);return i+`expecting at least one iteration which starts with one of these possible Token sequences:: + <${t.join(" ,")}>`+a}}};Object.freeze(aV);let aW={buildRuleNotFoundError:(e,t)=>"Invalid grammar, reference to a rule which is not defined: ->"+t.nonTerminalName+"<-\ninside top level rule: ->"+e.name+"<-"},aH={buildDuplicateFoundError(e,t){var r;let n=e.name,i=iq(t),a=i.idx,s=iE(i);let o=(r=i)instanceof ii?r.terminalType.name:r instanceof n7?r.nonTerminalName:"",l=`->${s}${a>0?a:""}<- ${o?`with argument: ->${o}<-`:""} + appears more than once (${t.length} times) in the top level rule: ->${n}<-. + For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES + `;return l=(l=l.replace(/[ \t]+/g," ")).replace(/\s\s+/g,"\n")},buildNamespaceConflictError:e=>`Namespace conflict found in grammar. +The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${e.name}>. +To resolve this make sure each Terminal and Non-Terminal names are unique +This is easy to accomplish by using the convention that Terminal names start with an uppercase letter +and Non-Terminal names start with a lower case letter.`,buildAlternationPrefixAmbiguityError(e){let t=(0,nL.Z)(e.prefixPath,e=>aL(e)).join(", "),r=0===e.alternation.idx?"":e.alternation.idx;return`Ambiguous alternatives: <${e.ambiguityIndices.join(" ,")}> due to common lookahead prefix +in inside <${e.topLevelRule.name}> Rule, +<${t}> may appears as a prefix path in all these alternatives. +See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX +For Further details.`},buildAlternationAmbiguityError(e){let t=(0,nL.Z)(e.prefixPath,e=>aL(e)).join(", "),r=0===e.alternation.idx?"":e.alternation.idx,n=`Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(" ,")}> in inside <${e.topLevelRule.name}> Rule, +<${t}> may appears as a prefix path in all these alternatives. +`;return n=n+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES +`+"For Further details."},buildEmptyRepetitionError(e){let t=iE(e.repetition);return 0!==e.repetition.idx&&(t+=e.repetition.idx),`The repetition <${t}> within Rule <${e.topLevelRule.name}> can never consume any tokens. +This could lead to an infinite loop.`},buildTokenNameError:e=>"deprecated",buildEmptyAlternationError:e=>`Ambiguous empty alternative: <${e.emptyChoiceIdx+1}> in inside <${e.topLevelRule.name}> Rule. +Only the last alternative may be an empty alternative.`,buildTooManyAlternativesError:e=>`An Alternation cannot have more than 256 alternatives: + inside <${e.topLevelRule.name}> Rule. + has ${e.alternation.definition.length+1} alternatives.`,buildLeftRecursionError(e){let t=e.topLevelRule.name,r=(0,nL.Z)(e.leftRecursionPath,e=>e.name),n=`${t} --> ${r.concat([t]).join(" --\x3e ")}`;return`Left Recursion found in grammar. +rule: <${t}> can be invoked from itself (directly or indirectly) +without consuming any Tokens. The grammar path that causes this is: + ${n} + To fix this refactor your grammar to remove the left recursion. +see: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError:e=>"deprecated",buildDuplicateRuleNameError(e){let t;return t=e.topLevelRule instanceof n3?e.topLevelRule.name:e.topLevelRule,`Duplicate definition, rule: ->${t}<- is already defined in the grammar: ->${e.grammarName}<-`}};class az extends ia{constructor(e,t){super(),this.nameToTopRule=e,this.errMsgProvider=t,this.errors=[]}resolveRefs(){(0,nN.Z)((0,nC.Z)(this.nameToTopRule),e=>{this.currTopLevel=e,e.accept(this)})}visitNonTerminal(e){let t=this.nameToTopRule[e.nonTerminalName];if(t)e.referencedRule=t;else{let t=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,e);this.errors.push({message:t,type:rt.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}}}let aY=function(e,t){return(0,iV.Z)((0,nL.Z)(e,t),1)};var aq=r("49790");let aX=function(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i{!1===(0,n$.Z)(e.definition)&&(n=a(e.definition))}),n;else if(t instanceof ii)r.push(t.terminalType);else throw Error("non exhaustive match");i++}return n.push({partialPath:r,suffixDef:nM(e,i)}),n}function se(e,t,r,n){let i="EXIT_NONE_TERMINAL",a=[i],s="EXIT_ALTERNATIVE",o=!1,l=t.length,u=l-n-1,c=[],d=[];for(d.push({idx:-1,def:e,ruleStack:[],occurrenceStack:[]});!(0,n$.Z)(d);){let e=d.pop();if(e===s){o&&(0,aT.Z)(d).idx<=u&&d.pop();continue}let n=e.def,h=e.idx,f=e.ruleStack,p=e.occurrenceStack;if((0,n$.Z)(n))continue;let m=n[0];if(m===i){let e={idx:h,def:nM(n),ruleStack:a1(f),occurrenceStack:a1(p)};d.push(e)}else if(m instanceof ii){if(h=0;e--){let t={idx:h,def:m.definition[e].definition.concat(nM(n)),ruleStack:f,occurrenceStack:p};d.push(t),d.push(s)}else if(m instanceof n5)d.push({idx:h,def:m.definition.concat(nM(n)),ruleStack:f,occurrenceStack:p});else if(m instanceof n3)d.push(function(e,t,r,n){let i=(0,nb.Z)(r);i.push(e.name);let a=(0,nb.Z)(n);return a.push(1),{idx:t,def:e.definition,ruleStack:i,occurrenceStack:a}}(m,h,f,p));else throw Error("non exhaustive match")}return c}function st(e){if(e instanceof n9||"Option"===e)return t8.OPTION;if(e instanceof ie||"Repetition"===e)return t8.REPETITION;if(e instanceof n6||"RepetitionMandatory"===e)return t8.REPETITION_MANDATORY;else if(e instanceof n8||"RepetitionMandatoryWithSeparator"===e)return t8.REPETITION_MANDATORY_WITH_SEPARATOR;else if(e instanceof it||"RepetitionWithSeparator"===e)return t8.REPETITION_WITH_SEPARATOR;else if(e instanceof ir||"Alternation"===e)return t8.ALTERNATION;else throw Error("non exhaustive match")}function sr(e){let{occurrence:t,rule:r,prodType:n,maxLookahead:i}=e,a=st(n);return a===t8.ALTERNATION?sc(t,r,i):sd(t,r,a,i)}(e3=t8||(t8={}))[e3.OPTION=0]="OPTION",e3[e3.REPETITION=1]="REPETITION",e3[e3.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",e3[e3.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",e3[e3.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",e3[e3.ALTERNATION=5]="ALTERNATION";function sn(e,t,r,n){let i=e.length,a=iT(e,e=>iT(e,e=>1===e.length));if(t)return function(t){let n=(0,nL.Z)(t,e=>e.GATE);for(let t=0;t(0,ix.Z)(e)),r=(0,iZ.Z)(t,(e,t,r)=>((0,nN.Z)(t,t=>{!(0,nw.Z)(e,t.tokenTypeIdx)&&(e[t.tokenTypeIdx]=r),(0,nN.Z)(t.categoryMatches,t=>{!(0,nw.Z)(e,t)&&(e[t]=r)})}),e),{});return function(){return r[this.LA(1).tokenTypeIdx]}}}function si(e,t,r){let n=iT(e,e=>1===e.length),i=e.length;if(!n||r)return function(){t:for(let r=0;r(e[t.tokenTypeIdx]=!0,(0,nN.Z)(t.categoryMatches,t=>{e[t]=!0}),e),[]);return function(){return!0===e[this.LA(1).tokenTypeIdx]}}}}class sa extends iR{constructor(e,t,r){super(),this.topProd=e,this.targetOccurrence=t,this.targetProdType=r}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(e,t,r,n){return e.idx===this.targetOccurrence&&this.targetProdType===t&&(this.restDef=r.concat(n),!0)}walkOption(e,t,r){!this.checkIsTarget(e,t8.OPTION,t,r)&&super.walkOption(e,t,r)}walkAtLeastOne(e,t,r){!this.checkIsTarget(e,t8.REPETITION_MANDATORY,t,r)&&super.walkOption(e,t,r)}walkAtLeastOneSep(e,t,r){!this.checkIsTarget(e,t8.REPETITION_MANDATORY_WITH_SEPARATOR,t,r)&&super.walkOption(e,t,r)}walkMany(e,t,r){!this.checkIsTarget(e,t8.REPETITION,t,r)&&super.walkOption(e,t,r)}walkManySep(e,t,r){!this.checkIsTarget(e,t8.REPETITION_WITH_SEPARATOR,t,r)&&super.walkOption(e,t,r)}}class ss extends ia{constructor(e,t,r){super(),this.targetOccurrence=e,this.targetProdType=t,this.targetRef=r,this.result=[]}checkIsTarget(e,t){e.idx===this.targetOccurrence&&this.targetProdType===t&&(void 0===this.targetRef||e===this.targetRef)&&(this.result=e.definition)}visitOption(e){this.checkIsTarget(e,t8.OPTION)}visitRepetition(e){this.checkIsTarget(e,t8.REPETITION)}visitRepetitionMandatory(e){this.checkIsTarget(e,t8.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(e){this.checkIsTarget(e,t8.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(e){this.checkIsTarget(e,t8.REPETITION_WITH_SEPARATOR)}visitAlternation(e){this.checkIsTarget(e,t8.ALTERNATION)}}function so(e){let t=Array(e);for(let r=0;ra8([e],1)),n=so(r.length),i=(0,nL.Z)(r,e=>{let t={};return(0,nN.Z)(e,e=>{let r=sl(e.partialPath);(0,nN.Z)(r,e=>{t[e]=!0})}),t}),a=r;for(let e=1;e<=t;e++){let r=a;a=so(r.length);for(let s=0;s{let t=sl(e.partialPath);(0,nN.Z)(t,e=>{i[s][e]=!0})})}}}}return n}function sc(e,t,r,n){let i=new ss(e,t8.ALTERNATION,n);return t.accept(i),su(i.result,r)}function sd(e,t,r,n){let i=new ss(e,r);t.accept(i);let a=i.result,s=new sa(t,e,r).startWalking(),o=new n5({definition:a});return su([o,new n5({definition:s})],n)}function sh(e,t){r:for(let r=0;riT(e,e=>iT(e,e=>(0,n$.Z)(e.categoryMatches))))}function sp(e){return`${iE(e)}_#_${e.idx}_#_${sm(e)}`}function sm(e){return e instanceof ii?e.terminalType.name:e instanceof n7?e.nonTerminalName:""}class sg extends ia{constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(e){this.allProductions.push(e)}visitOption(e){this.allProductions.push(e)}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}visitAlternation(e){this.allProductions.push(e)}visitTerminal(e){this.allProductions.push(e)}}class sy extends ia{constructor(){super(...arguments),this.alternations=[]}visitAlternation(e){this.alternations.push(e)}}class sT extends ia{constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}}let sv="MismatchedTokenException",sE="NoViableAltException",sR="EarlyExitException",sA="NotAllInputParsedException",sk=[sv,sE,sR,sA];function sI(e){return im(sk,e.name)}Object.freeze(sk);class sx extends Error{constructor(e,t){super(e),this.token=t,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}class sS extends sx{constructor(e,t,r){super(e,t),this.previousToken=r,this.name=sv}}class sN extends sx{constructor(e,t,r){super(e,t),this.previousToken=r,this.name=sE}}class sC extends sx{constructor(e,t){super(e,t),this.name=sA}}class s$ extends sx{constructor(e,t,r){super(e,t),this.previousToken=r,this.name=sR}}let sL={},sw="InRuleRecoveryException";class sb extends Error{constructor(e){super(e),this.name=sw}}function sO(e,t,r,n,i,a,s){let o=this.getKeyForAutomaticLookahead(n,i),l=this.firstAfterRepMap[o];if(void 0===l){let e=this.getCurrRuleFullName();l=new a(this.getGAstProductions()[e],i).startWalking(),this.firstAfterRepMap[o]=l}let u=l.token,c=l.occurrence,d=l.isEndOfRule;if(1===this.RULE_STACK.length&&d&&void 0===u&&(u=aB,c=1),void 0!==u&&void 0!==c)this.shouldInRepetitionRecoveryBeTried(u,c,s)&&this.tryInRepetitionRecovery(e,t,r,u)}let s_=256,sP=512,sM=768,sD=1024,sZ=1280,sU=1536;function sF(e,t,r){return r|t|e}class sG{constructor(e){var t;this.maxLookahead=null!==(t=null==e?void 0:e.maxLookahead)&&void 0!==t?t:s7.maxLookahead}validate(e){let t=this.validateNoLeftRecursion(e.rules);if((0,n$.Z)(t)){let r=this.validateEmptyOrAlternatives(e.rules),n=this.validateAmbiguousAlternationAlternatives(e.rules,this.maxLookahead);return[...t,...r,...n,...this.validateSomeNonEmptyLookaheadPath(e.rules,this.maxLookahead)]}return t}validateNoLeftRecursion(e){return aY(e,e=>(function e(t,r,n,i=[]){let a=[],s=function e(t){let r=[];if((0,n$.Z)(t))return r;let n=iq(t);if(n instanceof n7)r.push(n.referencedRule);else if(n instanceof n5||n instanceof n9||n instanceof n6||n instanceof n8||n instanceof it||n instanceof ie)r=r.concat(e(n.definition));else if(n instanceof ir)r=(0,ix.Z)((0,nL.Z)(n.definition,t=>e(t.definition)));else if(n instanceof ii);else throw Error("non exhaustive match");let i=iv(n),a=t.length>1;if(!i||!a)return r;{let n=nM(t);return r.concat(e(n))}}(r.definition);if((0,n$.Z)(s))return[];{let r=t.name;im(s,t)&&a.push({message:n.buildLeftRecursionError({topLevelRule:t,leftRecursionPath:i}),type:rt.LEFT_RECURSION,ruleName:r});let o=aY(iz(s,i.concat([t])),r=>{let a=(0,nb.Z)(i);return a.push(r),e(t,r,n,a)});return a.concat(o)}})(e,e,aH))}validateEmptyOrAlternatives(e){return aY(e,e=>(function(e,t){let r=new sy;return e.accept(r),aY(r.alternations,r=>aY(a1(r.definition),(n,i)=>{let a=se([n],[],aE,1);return(0,n$.Z)(a)?[{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:r,emptyChoiceIdx:i}),type:rt.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:r.idx,alternative:i+1}]:[]}))})(e,aH))}validateAmbiguousAlternationAlternatives(e,t){return aY(e,e=>(function(e,t,r){let n=new sy;e.accept(n);let i=n.alternations;return aY(i=i_(i,e=>!0===e.ignoreAmbiguities),n=>{let i=n.idx,a=sc(i,e,n.maxLookahead||t,n),s=function(e,t,r,n){let i=[],a=(0,iZ.Z)(e,(r,n,a)=>!0===t.definition[a].ignoreAmbiguities?r:((0,nN.Z)(n,n=>{let s=[a];(0,nN.Z)(e,(e,r)=>{a!==r&&sh(e,n)&&!0!==t.definition[r].ignoreAmbiguities&&s.push(r)}),s.length>1&&!sh(i,n)&&(i.push(n),r.push({alts:s,path:n}))}),r),[]);return(0,nL.Z)(a,e=>{let i=(0,nL.Z)(e.alts,e=>e+1);return{message:n.buildAlternationAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:i,prefixPath:e.path}),type:rt.AMBIGUOUS_ALTS,ruleName:r.name,occurrence:t.idx,alternatives:e.alts}})}(a,n,e,r),o=function(e,t,r,n){let i=(0,iZ.Z)(e,(e,t,r)=>{let n=(0,nL.Z)(t,e=>({idx:r,path:e}));return e.concat(n)},[]);return iY(aY(i,e=>{if(!0===t.definition[e.idx].ignoreAmbiguities)return[];let a=e.idx,s=e.path,o=(0,iU.Z)(i,e=>{var r,n;return!0!==t.definition[e.idx].ignoreAmbiguities&&e.idx{let r=n[t];return e===r||r.categoryMatchesMap[e.tokenTypeIdx]}))});return(0,nL.Z)(o,e=>{let i=[e.idx+1,a+1],s=0===t.idx?"":t.idx;return{message:n.buildAlternationPrefixAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:i,prefixPath:e.path}),type:rt.AMBIGUOUS_PREFIX_ALTS,ruleName:r.name,occurrence:s,alternatives:i}})}))}(a,n,e,r);return s.concat(o)})})(e,t,aH))}validateSomeNonEmptyLookaheadPath(e,t){return function(e,t,r){let n=[];return(0,nN.Z)(e,e=>{let i=new sT;e.accept(i);let a=i.allProductions;(0,nN.Z)(a,i=>{let a=st(i),s=i.maxLookahead||t,o=sd(i.idx,e,a,s)[0];if((0,n$.Z)((0,ix.Z)(o))){let t=r.buildEmptyRepetitionError({topLevelRule:e,repetition:i});n.push({message:t,type:rt.NO_NON_EMPTY_LOOKAHEAD,ruleName:e.name})}})}),n}(e,t,aH)}buildLookaheadForAlternation(e){return function(e,t,r,n,i,a){let s=sc(e,t,r),o=sf(s)?aR:aE;return a(s,n,o,i)}(e.prodOccurrence,e.rule,e.maxLookahead,e.hasPredicates,e.dynamicTokensEnabled,sn)}buildLookaheadForOptional(e){return function(e,t,r,n,i,a){let s=sd(e,t,i,r),o=sf(s)?aR:aE;return a(s[0],o,n)}(e.prodOccurrence,e.rule,e.maxLookahead,e.dynamicTokensEnabled,st(e.prodType),si)}}let sB=new class e extends ia{constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(e){this.dslMethods.option.push(e)}visitRepetitionWithSeparator(e){this.dslMethods.repetitionWithSeparator.push(e)}visitRepetitionMandatory(e){this.dslMethods.repetitionMandatory.push(e)}visitRepetitionMandatoryWithSeparator(e){this.dslMethods.repetitionMandatoryWithSeparator.push(e)}visitRepetition(e){this.dslMethods.repetition.push(e)}visitAlternation(e){this.dslMethods.alternation.push(e)}};function sK(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset(0,iP.Z)(e.GATE));return a.hasPredicates=s,r.definition.push(a),(0,nN.Z)(i,e=>{let t=new n5({definition:[]});a.definition.push(t),(0,nw.Z)(e,"IGNORE_AMBIGUITIES")?t.ignoreAmbiguities=e.IGNORE_AMBIGUITIES:(0,nw.Z)(e,"GATE")&&(t.ignoreAmbiguities=!0),this.recordingProdStack.push(t),e.ALT.call(this),this.recordingProdStack.pop()}),sz}function s1(e){return 0===e?"":`${e}`}function s2(e){if(e<0||e>sY){let t=Error(`Invalid DSL Method idx value: <${e}> + Idx value must be a none negative value smaller than ${sY+1}`);throw t.KNOWN_RECORDER_ERROR=!0,t}}let s4=aK(aB,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(s4);let s7=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:aV,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),s3=Object.freeze({recoveryValueFunc:()=>void 0,resyncEnabled:!0});function s5(e){return function(){return e}}(e9=rt||(rt={}))[e9.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",e9[e9.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",e9[e9.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",e9[e9.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",e9[e9.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",e9[e9.LEFT_RECURSION=5]="LEFT_RECURSION",e9[e9.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",e9[e9.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",e9[e9.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e9[e9.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",e9[e9.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",e9[e9.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",e9[e9.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",e9[e9.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION";class s9{static performSelfAnalysis(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{let e;this.selfAnalysisDone=!0;let t=this.className;this.TRACE_INIT("toFastProps",()=>{nO(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),(0,nN.Z)(this.definedRulesNames,e=>{let t;let r=this[e].originalGrammarAction;this.TRACE_INIT(`${e} Rule`,()=>{t=this.topLevelRuleRecord(e,r)}),this.gastProductionsCache[e]=t})}finally{this.disableRecording()}});let r=[];if(this.TRACE_INIT("Grammar Resolving",()=>{r=function(e){let t=(0,iL.Z)(e,{errMsgProvider:aW}),r={};return(0,nN.Z)(e.rules,e=>{r[e.name]=e}),function(e,t){let r=new az(e,t);return r.resolveRefs(),r.errors}(r,t.errMsgProvider)}({rules:(0,nC.Z)(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(r)}),this.TRACE_INIT("Grammar Validations",()=>{if((0,n$.Z)(r)&&!1===this.skipValidations){var e;let r=(e={rules:(0,nC.Z)(this.gastProductionsCache),tokenTypes:(0,nC.Z)(this.tokensMap),errMsgProvider:aH,grammarName:t},function(e,t,r,n){let i=aY(e,e=>(function(e,t){let r=new sg;e.accept(r);let n=nq(a0(r.allProductions,sp),e=>e.length>1);return(0,nL.Z)((0,nC.Z)(n),r=>{let n=iq(r),i=t.buildDuplicateFoundError(e,r),a=iE(n),s={message:i,type:rt.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:a,occurrence:n.idx},o=sm(n);return o&&(s.parameter=o),s})})(e,r)),a=function(e,t,r){let n=[],i=(0,nL.Z)(t,e=>e.name);return(0,nN.Z)(e,e=>{let t=e.name;if(im(i,t)){let i=r.buildNamespaceConflictError(e);n.push({message:i,type:rt.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:t})}}),n}(e,t,r),s=aY(e,e=>(function(e,t){let r=new sy;return e.accept(r),aY(r.alternations,r=>r.definition.length>255?[{message:t.buildTooManyAlternativesError({topLevelRule:e,alternation:r}),type:rt.TOO_MANY_ALTS,ruleName:e.name,occurrence:r.idx}]:[])})(e,r)),o=aY(e,t=>(function(e,t,r,n){let i=[];if((0,iZ.Z)(t,(t,r)=>r.name===e.name?t+1:t,0)>1){let t=n.buildDuplicateRuleNameError({topLevelRule:e,grammarName:r});i.push({message:t,type:rt.DUPLICATE_RULE_NAME,ruleName:e.name})}return i})(t,e,n,r));return i.concat(a,s,o)}((e=(0,iL.Z)(e,{errMsgProvider:aH})).rules,e.tokenTypes,e.errMsgProvider,e.grammarName)),n=function(e){let t=e.lookaheadStrategy.validate({rules:e.rules,tokenTypes:e.tokenTypes,grammarName:e.grammarName});return(0,nL.Z)(t,e=>Object.assign({type:rt.CUSTOM_LOOKAHEAD_VALIDATION},e))}({lookaheadStrategy:this.lookaheadStrategy,rules:(0,nC.Z)(this.gastProductionsCache),tokenTypes:(0,nC.Z)(this.tokensMap),grammarName:t});this.definitionErrors=this.definitionErrors.concat(r,n)}}),(0,n$.Z)(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{let e=function(e){let t={};return(0,nN.Z)(e,e=>{nV(t,new iC(e).startWalking())}),t}((0,nC.Z)(this.gastProductionsCache));this.resyncFollows=e}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var e,t;null===(t=(e=this.lookaheadStrategy).initialize)||void 0===t||t.call(e,{rules:(0,nC.Z)(this.gastProductionsCache)}),this.preComputeLookaheadFunctions((0,nC.Z)(this.gastProductionsCache))})),!s9.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,n$.Z)(this.definitionErrors))throw e=(0,nL.Z)(this.definitionErrors,e=>e.message),Error(`Parser Definition Errors detected: + ${e.join("\n-------------------------------\n")}`)})}constructor(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;if(this.initErrorHandler(t),this.initLexerAdapter(),this.initLooksAhead(t),this.initRecognizerEngine(e,t),this.initRecoverable(t),this.initTreeBuilder(t),this.initContentAssist(),this.initGastRecorder(t),this.initPerformanceTracer(t),(0,nw.Z)(t,"ignoredIssues"))throw Error("The IParserConfig property has been deprecated.\n Please use the flag on the relevant DSL method instead.\n See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES\n For further details.");this.skipValidations=(0,nw.Z)(t,"skipValidations")?t.skipValidations:s7.skipValidations}}s9.DEFER_DEFINITION_ERRORS_HANDLING=!1,!function(e,t){t.forEach(t=>{let r=t.prototype;Object.getOwnPropertyNames(r).forEach(n=>{if("constructor"===n)return;let i=Object.getOwnPropertyDescriptor(r,n);i&&(i.get||i.set)?Object.defineProperty(e.prototype,n,i):e.prototype[n]=t.prototype[n]})})}(s9,[class e{initRecoverable(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,nw.Z)(e,"recoveryEnabled")?e.recoveryEnabled:s7.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=sO)}getTokenToInsert(e){let t=aK(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return t.isInsertedInRecovery=!0,t}canTokenTypeBeInsertedInRecovery(e){return!0}canTokenTypeBeDeletedInRecovery(e){return!0}tryInRepetitionRecovery(e,t,r,n){let i=this.findReSyncTokenType(),a=this.exportLexerState(),s=[],o=!1,l=this.LA(1),u=this.LA(1),c=()=>{let e=this.LA(0),t=new sS(this.errorMessageProvider.buildMismatchTokenMessage({expected:n,actual:l,previous:e,ruleName:this.getCurrRuleFullName()}),l,this.LA(0));t.resyncedTokens=a1(s),this.SAVE_ERROR(t)};for(;!o;){if(this.tokenMatcher(u,n)){c();return}if(r.call(this)){c(),e.apply(this,t);return}else this.tokenMatcher(u,i)?o=!0:(u=this.SKIP_TOKEN(),this.addToResyncTokens(u,s))}this.importLexerState(a)}shouldInRepetitionRecoveryBeTried(e,t,r){return!(!1===r||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t)))&&!0}getFollowsForInRuleRecovery(e,t){let r=this.getCurrentGrammarPath(e,t);return this.getNextPossibleTokenTypes(r)}tryInRuleRecovery(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t))return this.getTokenToInsert(e);if(this.canRecoverWithSingleTokenDeletion(e)){let e=this.SKIP_TOKEN();return this.consumeToken(),e}throw new sb("sad sad panda")}canPerformInRuleRecovery(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)}canRecoverWithSingleTokenInsertion(e,t){if(!this.canTokenTypeBeInsertedInRecovery(e)||(0,n$.Z)(t))return!1;let r=this.LA(1);return void 0!==(0,iX.Z)(t,e=>this.tokenMatcher(r,e))}canRecoverWithSingleTokenDeletion(e){return!!this.canTokenTypeBeDeletedInRecovery(e)&&this.tokenMatcher(this.LA(2),e)}isInCurrentRuleReSyncSet(e){let t=this.getCurrFollowKey();return im(this.getFollowSetFromFollowKey(t),e)}findReSyncTokenType(){let e=this.flattenFollowSet(),t=this.LA(1),r=2;for(;;){let n=(0,iX.Z)(e,e=>aE(t,e));if(void 0!==n)return n;t=this.LA(r),r++}}getCurrFollowKey(){if(1===this.RULE_STACK.length)return sL;let e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),r=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(r)}}buildFullFollowKeyStack(){let e=this.RULE_STACK,t=this.RULE_OCCURRENCE_STACK;return(0,nL.Z)(e,(r,n)=>0===n?sL:{ruleName:this.shortRuleNameToFullName(r),idxInCallingRule:t[n],inRule:this.shortRuleNameToFullName(e[n-1])})}flattenFollowSet(){let e=(0,nL.Z)(this.buildFullFollowKeyStack(),e=>this.getFollowSetFromFollowKey(e));return(0,ix.Z)(e)}getFollowSetFromFollowKey(e){if(e===sL)return[aB];let t=e.ruleName+e.idxInCallingRule+iN+e.inRule;return this.resyncFollows[t]}addToResyncTokens(e,t){return!this.tokenMatcher(e,aB)&&t.push(e),t}reSyncTo(e){let t=[],r=this.LA(1);for(;!1===this.tokenMatcher(r,e);)r=this.SKIP_TOKEN(),this.addToResyncTokens(r,t);return a1(t)}attemptInRepetitionRecovery(e,t,r,n,i,a,s){}getCurrentGrammarPath(e,t){let r=this.getHumanReadableRuleStack(),n=(0,nb.Z)(this.RULE_OCCURRENCE_STACK);return{ruleStack:r,occurrenceStack:n,lastTok:e,lastTokOccurrence:t}}getHumanReadableRuleStack(){return(0,nL.Z)(this.RULE_STACK,e=>this.shortRuleNameToFullName(e))}},class e{initLooksAhead(e){this.dynamicTokensEnabled=(0,nw.Z)(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:s7.dynamicTokensEnabled,this.maxLookahead=(0,nw.Z)(e,"maxLookahead")?e.maxLookahead:s7.maxLookahead,this.lookaheadStrategy=(0,nw.Z)(e,"lookaheadStrategy")?e.lookaheadStrategy:new sG({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(e){(0,nN.Z)(e,e=>{this.TRACE_INIT(`${e.name} Rule Lookahead`,()=>{let{alternation:t,repetition:r,option:n,repetitionMandatory:i,repetitionMandatoryWithSeparator:a,repetitionWithSeparator:s}=function(e){sB.reset(),e.accept(sB);let t=sB.dslMethods;return sB.reset(),t}(e);(0,nN.Z)(t,t=>{let r=0===t.idx?"":t.idx;this.TRACE_INIT(`${iE(t)}${r}`,()=>{var r,n;let i=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:t.idx,rule:e,maxLookahead:t.maxLookahead||this.maxLookahead,hasPredicates:t.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled});let a=(r=this.fullRuleNameToShort[e.name],n=s_,t.idx|n|r);this.setLaFuncCache(a,i)})}),(0,nN.Z)(r,t=>{this.computeLookaheadFunc(e,t.idx,sM,"Repetition",t.maxLookahead,iE(t))}),(0,nN.Z)(n,t=>{this.computeLookaheadFunc(e,t.idx,sP,"Option",t.maxLookahead,iE(t))}),(0,nN.Z)(i,t=>{this.computeLookaheadFunc(e,t.idx,sD,"RepetitionMandatory",t.maxLookahead,iE(t))}),(0,nN.Z)(a,t=>{this.computeLookaheadFunc(e,t.idx,sU,"RepetitionMandatoryWithSeparator",t.maxLookahead,iE(t))}),(0,nN.Z)(s,t=>{this.computeLookaheadFunc(e,t.idx,sZ,"RepetitionWithSeparator",t.maxLookahead,iE(t))})})})}computeLookaheadFunc(e,t,r,n,i,a){this.TRACE_INIT(`${a}${0===t?"":t}`,()=>{var a;let s=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:t,rule:e,maxLookahead:i||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:n});let o=(a=this.fullRuleNameToShort[e.name],t|r|a);this.setLaFuncCache(o,s)})}getKeyForAutomaticLookahead(e,t){return t|e|this.getLastExplicitRuleShortName()}getLaFuncFromCache(e){return this.lookAheadFuncsCache.get(e)}setLaFuncCache(e,t){this.lookAheadFuncsCache.set(e,t)}},class e{initTreeBuilder(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=(0,nw.Z)(e,"nodeLocationTracking")?e.nodeLocationTracking:s7.nodeLocationTracking,this.outputCst){if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sj,this.setNodeLocationFromNode=sj,this.cstPostRule=ay.Z,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=ay.Z,this.setNodeLocationFromNode=ay.Z,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sK,this.setNodeLocationFromNode=sK,this.cstPostRule=ay.Z,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=ay.Z,this.setNodeLocationFromNode=ay.Z,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=ay.Z,this.setNodeLocationFromNode=ay.Z,this.cstPostRule=ay.Z,this.setInitialNodeLocation=ay.Z;else throw Error(`Invalid config option: "${e.nodeLocationTracking}"`)}else this.cstInvocationStateUpdate=ay.Z,this.cstFinallyStateUpdate=ay.Z,this.cstPostTerminal=ay.Z,this.cstPostNonTerminal=ay.Z,this.cstPostRule=ay.Z}setInitialNodeLocationOnlyOffsetRecovery(e){e.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(e){let t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(e){let t={name:e,children:Object.create(null)};this.setInitialNodeLocation(t),this.CST_STACK.push(t)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(e){let t=this.LA(0),r=e.location;r.startOffset<=t.startOffset==!0?(r.endOffset=t.endOffset,r.endLine=t.endLine,r.endColumn=t.endColumn):(r.startOffset=NaN,r.startLine=NaN,r.startColumn=NaN)}cstPostRuleOnlyOffset(e){let t=this.LA(0),r=e.location;r.startOffset<=t.startOffset==!0?r.endOffset=t.endOffset:r.startOffset=NaN}cstPostTerminal(e,t){var r,n,i;let a=this.CST_STACK[this.CST_STACK.length-1];r=a,n=t,i=e,void 0===r.children[i]?r.children[i]=[n]:r.children[i].push(n),this.setNodeLocationFromToken(a.location,t)}cstPostNonTerminal(e,t){var r,n,i;let a=this.CST_STACK[this.CST_STACK.length-1];r=a,n=t,i=e,void 0===r.children[n]?r.children[n]=[i]:r.children[n].push(i),this.setNodeLocationFromNode(a.location,e.location)}getBaseCstVisitorConstructor(){if((0,i$.Z)(this.baseCstVisitorConstructor)){let e=function(e,t){let r=function(){};return sV(r,e+"BaseSemantics"),r.prototype={visit:function(e,t){if((0,iu.Z)(e)&&(e=e[0]),!(0,i$.Z)(e))return this[e.name](e.children,t)},validateVisitor:function(){let e=function(e,t){return function(e,t){let r=(0,iU.Z)(t,t=>!1===(0,iP.Z)(e[t]));return iY((0,nL.Z)(r,t=>({msg:`Missing visitor method: <${t}> on ${e.constructor.name} CST Visitor.`,type:re.MISSING_METHOD,methodName:t})))}(e,t)}(this,t);if(!(0,n$.Z)(e)){let t=(0,nL.Z)(e,e=>e.msg);throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>: + ${t.join("\n\n").replace(/\n/g,"\n ")}`)}}},r.prototype.constructor=r,r._RULE_NAMES=t,r}(this.className,(0,nK.Z)(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if((0,i$.Z)(this.baseCstVisitorWithDefaultsConstructor)){let e=function(e,t,r){let n=function(){};sV(n,e+"BaseSemanticsWithDefaults");let i=Object.create(r.prototype);return(0,nN.Z)(t,e=>{i[e]=sW}),n.prototype=i,n.prototype.constructor=n,n}(this.className,(0,nK.Z)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-1]}getPreviousExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-2]}getLastExplicitRuleOccurrenceIndex(){let e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]}},class e{initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(e){if(!0!==this.selfAnalysisDone)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):s4}LA(e){let t=this.currIdx+e;return t<0||this.tokVectorLength<=t?s4:this.tokVector[t]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(e){this.currIdx=e}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}},class e{initRecognizerEngine(e,t){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=aR,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,nw.Z)(t,"serializedGrammar"))throw Error("The Parser's configuration can no longer contain a property.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n For Further details.");if((0,iu.Z)(e)){if((0,n$.Z)(e))throw Error("A Token Vocabulary cannot be empty.\n Note that the first argument for the parser constructor\n is no longer a Token vector (since v4.0).");if("number"==typeof e[0].startOffset)throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n For Further details.")}if((0,iu.Z)(e))this.tokensMap=(0,iZ.Z)(e,(e,t)=>(e[t.name]=t,e),{});else if((0,nw.Z)(e,"modes")&&iT((0,ix.Z)((0,nC.Z)(e.modes)),aN)){let t=iI((0,ix.Z)((0,nC.Z)(e.modes)));this.tokensMap=(0,iZ.Z)(t,(e,t)=>(e[t.name]=t,e),{})}else if((0,sH.Z)(e))this.tokensMap=(0,nb.Z)(e);else throw Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=aB;let r=iT((0,nw.Z)(e,"modes")?(0,ix.Z)((0,nC.Z)(e.modes)):(0,nC.Z)(e),e=>(0,n$.Z)(e.categoryMatches));this.tokenMatcher=r?aR:aE,aI((0,nC.Z)(this.tokensMap))}defineRule(e,t,r){let n;if(this.selfAnalysisDone)throw Error(`Grammar rule <${e}> may not be defined after the 'performSelfAnalysis' method has been called' +Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);let i=(0,nw.Z)(r,"resyncEnabled")?r.resyncEnabled:s3.resyncEnabled,a=(0,nw.Z)(r,"recoveryValueFunc")?r.recoveryValueFunc:s3.recoveryValueFunc,s=this.ruleShortNameIdx<<12;return this.ruleShortNameIdx++,this.shortRuleNameToFull[s]=e,this.fullRuleNameToShort[e]=s,Object.assign(n=!0===this.outputCst?function(...r){try{this.ruleInvocationStateUpdate(s,e,this.subruleIdx),t.apply(this,r);let n=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(n),n}catch(e){return this.invokeRuleCatch(e,i,a)}finally{this.ruleFinallyStateUpdate()}}:function(...r){try{return this.ruleInvocationStateUpdate(s,e,this.subruleIdx),t.apply(this,r)}catch(e){return this.invokeRuleCatch(e,i,a)}finally{this.ruleFinallyStateUpdate()}},{ruleName:e,originalGrammarAction:t})}invokeRuleCatch(e,t,r){let n=1===this.RULE_STACK.length,i=t&&!this.isBackTracking()&&this.recoveryEnabled;if(sI(e)){if(i){let t=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(t)){if(e.resyncedTokens=this.reSyncTo(t),!this.outputCst)return r(e);{let e=this.CST_STACK[this.CST_STACK.length-1];return e.recoveredNode=!0,e}}if(this.outputCst){let t=this.CST_STACK[this.CST_STACK.length-1];t.recoveredNode=!0,e.partialCstResult=t}throw e}if(n)return this.moveToTerminatedState(),r(e);else;}throw e}optionInternal(e,t){let r=this.getKeyForAutomaticLookahead(sP,t);return this.optionInternalLogic(e,t,r)}optionInternalLogic(e,t,r){let n,i=this.getLaFuncFromCache(r);if("function"!=typeof e){n=e.DEF;let t=e.GATE;if(void 0!==t){let e=i;i=()=>t.call(this)&&e.call(this)}}else n=e;if(!0===i.call(this))return n.call(this)}atLeastOneInternal(e,t){let r=this.getKeyForAutomaticLookahead(sD,e);return this.atLeastOneInternalLogic(e,t,r)}atLeastOneInternalLogic(e,t,r){let n,i=this.getLaFuncFromCache(r);if("function"!=typeof t){n=t.DEF;let e=t.GATE;if(void 0!==e){let t=i;i=()=>e.call(this)&&t.call(this)}}else n=t;if(!0===i.call(this)){let e=this.doSingleRepetition(n);for(;!0===i.call(this)&&!0===e;)e=this.doSingleRepetition(n)}else throw this.raiseEarlyExitException(e,t8.REPETITION_MANDATORY,t.ERR_MSG);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[e,t],i,sD,e,a9)}atLeastOneSepFirstInternal(e,t){let r=this.getKeyForAutomaticLookahead(sU,e);this.atLeastOneSepFirstInternalLogic(e,t,r)}atLeastOneSepFirstInternalLogic(e,t,r){let n=t.DEF,i=t.SEP;if(!0===this.getLaFuncFromCache(r).call(this)){n.call(this);let t=()=>this.tokenMatcher(this.LA(1),i);for(;!0===this.tokenMatcher(this.LA(1),i);)this.CONSUME(i),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,i,t,n,a6],t,sU,e,a6)}else throw this.raiseEarlyExitException(e,t8.REPETITION_MANDATORY_WITH_SEPARATOR,t.ERR_MSG)}manyInternal(e,t){let r=this.getKeyForAutomaticLookahead(sM,e);return this.manyInternalLogic(e,t,r)}manyInternalLogic(e,t,r){let n,i=this.getLaFuncFromCache(r);if("function"!=typeof t){n=t.DEF;let e=t.GATE;if(void 0!==e){let t=i;i=()=>e.call(this)&&t.call(this)}}else n=t;let a=!0;for(;!0===i.call(this)&&!0===a;)a=this.doSingleRepetition(n);this.attemptInRepetitionRecovery(this.manyInternal,[e,t],i,sM,e,a3,a)}manySepFirstInternal(e,t){let r=this.getKeyForAutomaticLookahead(sZ,e);this.manySepFirstInternalLogic(e,t,r)}manySepFirstInternalLogic(e,t,r){let n=t.DEF,i=t.SEP;if(!0===this.getLaFuncFromCache(r).call(this)){n.call(this);let t=()=>this.tokenMatcher(this.LA(1),i);for(;!0===this.tokenMatcher(this.LA(1),i);)this.CONSUME(i),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,i,t,n,a5],t,sZ,e,a5)}}repetitionSepSecondInternal(e,t,r,n,i){for(;r();)this.CONSUME(t),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,t,r,n,i],r,sU,e,i)}doSingleRepetition(e){let t=this.getLexerPosition();return e.call(this),this.getLexerPosition()>t}orInternal(e,t){let r=this.getKeyForAutomaticLookahead(s_,t),n=(0,iu.Z)(e)?e:e.DEF,i=this.getLaFuncFromCache(r).call(this,n);if(void 0!==i)return n[i].ALT.call(this);this.raiseNoAltException(t,e.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),0===this.RULE_STACK.length&&!1===this.isAtEndOfInput()){let e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new sC(t,e))}}subruleInternal(e,t,r){let n;try{let i=void 0!==r?r.ARGS:void 0;return this.subruleIdx=t,n=e.apply(this,i),this.cstPostNonTerminal(n,void 0!==r&&void 0!==r.LABEL?r.LABEL:e.ruleName),n}catch(t){throw this.subruleInternalError(t,r,e.ruleName)}}subruleInternalError(e,t,r){throw sI(e)&&void 0!==e.partialCstResult&&(this.cstPostNonTerminal(e.partialCstResult,void 0!==t&&void 0!==t.LABEL?t.LABEL:r),delete e.partialCstResult),e}consumeInternal(e,t,r){let n;try{let t=this.LA(1);!0===this.tokenMatcher(t,e)?(this.consumeToken(),n=t):this.consumeInternalError(e,t,r)}catch(r){n=this.consumeInternalRecovery(e,t,r)}return this.cstPostTerminal(void 0!==r&&void 0!==r.LABEL?r.LABEL:e.name,n),n}consumeInternalError(e,t,r){let n;let i=this.LA(0);throw n=void 0!==r&&r.ERR_MSG?r.ERR_MSG:this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:i,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new sS(n,t,i))}consumeInternalRecovery(e,t,r){if(this.recoveryEnabled&&"MismatchedTokenException"===r.name&&!this.isBackTracking()){let n=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,n)}catch(e){if(e.name===sw)throw r;throw e}}else throw r}saveRecogState(){let e=this.errors,t=(0,nb.Z)(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:t,CST_STACK:this.CST_STACK}}reloadRecogState(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK}ruleInvocationStateUpdate(e,t,r){this.RULE_OCCURRENCE_STACK.push(r),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t)}isBackTracking(){return 0!==this.isBackTrackingStack.length}getCurrRuleFullName(){let e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]}shortRuleNameToFullName(e){return this.shortRuleNameToFull[e]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),aB)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}},class e{ACTION(e){return e.call(this)}consume(e,t,r){return this.consumeInternal(t,e,r)}subrule(e,t,r){return this.subruleInternal(t,e,r)}option(e,t){return this.optionInternal(t,e)}or(e,t){return this.orInternal(t,e)}many(e,t){return this.manyInternal(e,t)}atLeastOne(e,t){return this.atLeastOneInternal(e,t)}CONSUME(e,t){return this.consumeInternal(e,0,t)}CONSUME1(e,t){return this.consumeInternal(e,1,t)}CONSUME2(e,t){return this.consumeInternal(e,2,t)}CONSUME3(e,t){return this.consumeInternal(e,3,t)}CONSUME4(e,t){return this.consumeInternal(e,4,t)}CONSUME5(e,t){return this.consumeInternal(e,5,t)}CONSUME6(e,t){return this.consumeInternal(e,6,t)}CONSUME7(e,t){return this.consumeInternal(e,7,t)}CONSUME8(e,t){return this.consumeInternal(e,8,t)}CONSUME9(e,t){return this.consumeInternal(e,9,t)}SUBRULE(e,t){return this.subruleInternal(e,0,t)}SUBRULE1(e,t){return this.subruleInternal(e,1,t)}SUBRULE2(e,t){return this.subruleInternal(e,2,t)}SUBRULE3(e,t){return this.subruleInternal(e,3,t)}SUBRULE4(e,t){return this.subruleInternal(e,4,t)}SUBRULE5(e,t){return this.subruleInternal(e,5,t)}SUBRULE6(e,t){return this.subruleInternal(e,6,t)}SUBRULE7(e,t){return this.subruleInternal(e,7,t)}SUBRULE8(e,t){return this.subruleInternal(e,8,t)}SUBRULE9(e,t){return this.subruleInternal(e,9,t)}OPTION(e){return this.optionInternal(e,0)}OPTION1(e){return this.optionInternal(e,1)}OPTION2(e){return this.optionInternal(e,2)}OPTION3(e){return this.optionInternal(e,3)}OPTION4(e){return this.optionInternal(e,4)}OPTION5(e){return this.optionInternal(e,5)}OPTION6(e){return this.optionInternal(e,6)}OPTION7(e){return this.optionInternal(e,7)}OPTION8(e){return this.optionInternal(e,8)}OPTION9(e){return this.optionInternal(e,9)}OR(e){return this.orInternal(e,0)}OR1(e){return this.orInternal(e,1)}OR2(e){return this.orInternal(e,2)}OR3(e){return this.orInternal(e,3)}OR4(e){return this.orInternal(e,4)}OR5(e){return this.orInternal(e,5)}OR6(e){return this.orInternal(e,6)}OR7(e){return this.orInternal(e,7)}OR8(e){return this.orInternal(e,8)}OR9(e){return this.orInternal(e,9)}MANY(e){this.manyInternal(0,e)}MANY1(e){this.manyInternal(1,e)}MANY2(e){this.manyInternal(2,e)}MANY3(e){this.manyInternal(3,e)}MANY4(e){this.manyInternal(4,e)}MANY5(e){this.manyInternal(5,e)}MANY6(e){this.manyInternal(6,e)}MANY7(e){this.manyInternal(7,e)}MANY8(e){this.manyInternal(8,e)}MANY9(e){this.manyInternal(9,e)}MANY_SEP(e){this.manySepFirstInternal(0,e)}MANY_SEP1(e){this.manySepFirstInternal(1,e)}MANY_SEP2(e){this.manySepFirstInternal(2,e)}MANY_SEP3(e){this.manySepFirstInternal(3,e)}MANY_SEP4(e){this.manySepFirstInternal(4,e)}MANY_SEP5(e){this.manySepFirstInternal(5,e)}MANY_SEP6(e){this.manySepFirstInternal(6,e)}MANY_SEP7(e){this.manySepFirstInternal(7,e)}MANY_SEP8(e){this.manySepFirstInternal(8,e)}MANY_SEP9(e){this.manySepFirstInternal(9,e)}AT_LEAST_ONE(e){this.atLeastOneInternal(0,e)}AT_LEAST_ONE1(e){return this.atLeastOneInternal(1,e)}AT_LEAST_ONE2(e){this.atLeastOneInternal(2,e)}AT_LEAST_ONE3(e){this.atLeastOneInternal(3,e)}AT_LEAST_ONE4(e){this.atLeastOneInternal(4,e)}AT_LEAST_ONE5(e){this.atLeastOneInternal(5,e)}AT_LEAST_ONE6(e){this.atLeastOneInternal(6,e)}AT_LEAST_ONE7(e){this.atLeastOneInternal(7,e)}AT_LEAST_ONE8(e){this.atLeastOneInternal(8,e)}AT_LEAST_ONE9(e){this.atLeastOneInternal(9,e)}AT_LEAST_ONE_SEP(e){this.atLeastOneSepFirstInternal(0,e)}AT_LEAST_ONE_SEP1(e){this.atLeastOneSepFirstInternal(1,e)}AT_LEAST_ONE_SEP2(e){this.atLeastOneSepFirstInternal(2,e)}AT_LEAST_ONE_SEP3(e){this.atLeastOneSepFirstInternal(3,e)}AT_LEAST_ONE_SEP4(e){this.atLeastOneSepFirstInternal(4,e)}AT_LEAST_ONE_SEP5(e){this.atLeastOneSepFirstInternal(5,e)}AT_LEAST_ONE_SEP6(e){this.atLeastOneSepFirstInternal(6,e)}AT_LEAST_ONE_SEP7(e){this.atLeastOneSepFirstInternal(7,e)}AT_LEAST_ONE_SEP8(e){this.atLeastOneSepFirstInternal(8,e)}AT_LEAST_ONE_SEP9(e){this.atLeastOneSepFirstInternal(9,e)}RULE(e,t,r=s3){if(im(this.definedRulesNames,e)){let t={message:aH.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),type:rt.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(t)}this.definedRulesNames.push(e);let n=this.defineRule(e,t,r);return this[e]=n,n}OVERRIDE_RULE(e,t,r=s3){let n=function(e,t,r){let n;let i=[];return!im(t,e)&&(n=`Invalid rule override, rule: ->${e}<- cannot be overridden in the grammar: ->${r}<-as it is not defined in any of the super grammars `,i.push({message:n,type:rt.INVALID_RULE_OVERRIDE,ruleName:e})),i}(e,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(n);let i=this.defineRule(e,t,r);return this[e]=i,i}BACKTRACK(e,t){return function(){this.isBackTrackingStack.push(1);let r=this.saveRecogState();try{return e.apply(this,t),!0}catch(e){if(sI(e))return!1;throw e}finally{this.reloadRecogState(r),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){var e;return e=(0,nC.Z)(this.gastProductionsCache),(0,nL.Z)(e,function e(t){function r(t){return(0,nL.Z)(t,e)}if(t instanceof n7){let e={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return(0,nD.Z)(t.label)&&(e.label=t.label),e}if(t instanceof n5)return{type:"Alternative",definition:r(t.definition)};if(t instanceof n9)return{type:"Option",idx:t.idx,definition:r(t.definition)};else if(t instanceof n6)return{type:"RepetitionMandatory",idx:t.idx,definition:r(t.definition)};else if(t instanceof n8)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:e(new ii({terminalType:t.separator})),definition:r(t.definition)};else if(t instanceof it)return{type:"RepetitionWithSeparator",idx:t.idx,separator:e(new ii({terminalType:t.separator})),definition:r(t.definition)};else if(t instanceof ie)return{type:"Repetition",idx:t.idx,definition:r(t.definition)};else if(t instanceof ir)return{type:"Alternation",idx:t.idx,definition:r(t.definition)};else if(t instanceof ii){var n;let e={type:"Terminal",name:t.terminalType.name,label:function(e){return(0,nD.Z)(e.LABEL)&&""!==e.LABEL}(n=t.terminalType)?n.LABEL:n.name,idx:t.idx};(0,nD.Z)(t.label)&&(e.terminalLabel=t.label);let r=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(e.pattern=n2(r)?r.source:r),e}else if(t instanceof n3)return{type:"Rule",name:t.name,orgText:t.orgText,definition:r(t.definition)};else throw Error("non exhaustive match")})}},class e{initErrorHandler(e){this._errors=[],this.errorMessageProvider=(0,nw.Z)(e,"errorMessageProvider")?e.errorMessageProvider:s7.errorMessageProvider}SAVE_ERROR(e){if(sI(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,nb.Z)(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return(0,nb.Z)(this._errors)}set errors(e){this._errors=e}raiseEarlyExitException(e,t,r){let n=this.getCurrRuleFullName(),i=sd(e,this.getGAstProductions()[n],t,this.maxLookahead)[0],a=[];for(let e=1;e<=this.maxLookahead;e++)a.push(this.LA(e));let s=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:i,actual:a,previous:this.LA(0),customUserDescription:r,ruleName:n});throw this.SAVE_ERROR(new s$(s,this.LA(1),this.LA(0)))}raiseNoAltException(e,t){let r=this.getCurrRuleFullName(),n=sc(e,this.getGAstProductions()[r],this.maxLookahead),i=[];for(let e=1;e<=this.maxLookahead;e++)i.push(this.LA(e));let a=this.LA(0),s=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:n,actual:i,previous:a,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new sN(s,this.LA(1),a))}},class e{initContentAssist(){}computeContentAssist(e,t){let r=this.gastProductionsCache[e];if((0,i$.Z)(r))throw Error(`Rule ->${e}<- does not exist in this grammar.`);return se([r],t,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(e){let t=iq(e.ruleStack);return new a4(this.getGAstProductions()[t],e).startWalking()}},class e{initGastRecorder(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",()=>{for(let e=0;e<10;e++){let t=e>0?e:"";this[`CONSUME${t}`]=function(t,r){return this.consumeInternalRecord(t,e,r)},this[`SUBRULE${t}`]=function(t,r){return this.subruleInternalRecord(t,e,r)},this[`OPTION${t}`]=function(t){return this.optionInternalRecord(t,e)},this[`OR${t}`]=function(t){return this.orInternalRecord(t,e)},this[`MANY${t}`]=function(t){this.manyInternalRecord(e,t)},this[`MANY_SEP${t}`]=function(t){this.manySepFirstInternalRecord(e,t)},this[`AT_LEAST_ONE${t}`]=function(t){this.atLeastOneInternalRecord(e,t)},this[`AT_LEAST_ONE_SEP${t}`]=function(t){this.atLeastOneSepFirstInternalRecord(e,t)}}this.consume=function(e,t,r){return this.consumeInternalRecord(t,e,r)},this.subrule=function(e,t,r){return this.subruleInternalRecord(t,e,r)},this.option=function(e,t){return this.optionInternalRecord(t,e)},this.or=function(e,t){return this.orInternalRecord(t,e)},this.many=function(e,t){this.manyInternalRecord(e,t)},this.atLeastOne=function(e,t){this.atLeastOneInternalRecord(e,t)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD})}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",()=>{for(let e=0;e<10;e++){let t=e>0?e:"";delete this[`CONSUME${t}`],delete this[`SUBRULE${t}`],delete this[`OPTION${t}`],delete this[`OR${t}`],delete this[`MANY${t}`],delete this[`MANY_SEP${t}`],delete this[`AT_LEAST_ONE${t}`],delete this[`AT_LEAST_ONE_SEP${t}`]}delete this.consume,delete this.subrule,delete this.option,delete this.or,delete this.many,delete this.atLeastOne,delete this.ACTION,delete this.BACKTRACK,delete this.LA})}ACTION_RECORD(e){}BACKTRACK_RECORD(e,t){return()=>!0}LA_RECORD(e){return s4}topLevelRuleRecord(e,t){try{let r=new n3({definition:[],name:e});return r.name=e,this.recordingProdStack.push(r),t.call(this),this.recordingProdStack.pop(),r}catch(e){if(!0!==e.KNOWN_RECORDER_ERROR)try{e.message=e.message+'\n This error was thrown during the "grammar recording phase" For more info see:\n https://chevrotain.io/docs/guide/internals.html#grammar-recording'}catch(e){}throw e}}optionInternalRecord(e,t){return sJ.call(this,n9,e,t)}atLeastOneInternalRecord(e,t){sJ.call(this,n6,t,e)}atLeastOneSepFirstInternalRecord(e,t){sJ.call(this,n8,t,e,!0)}manyInternalRecord(e,t){sJ.call(this,ie,t,e)}manySepFirstInternalRecord(e,t){sJ.call(this,it,t,e,!0)}orInternalRecord(e,t){return s0.call(this,e,t)}subruleInternalRecord(e,t,r){if(s2(t),!e||!1===(0,nw.Z)(e,"ruleName")){let r=Error(` argument is invalid expecting a Parser method reference but got: <${JSON.stringify(e)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw r.KNOWN_RECORDER_ERROR=!0,r}let n=(0,aT.Z)(this.recordingProdStack),i=new n7({idx:t,nonTerminalName:e.ruleName,label:null==r?void 0:r.LABEL,referencedRule:void 0});return n.definition.push(i),this.outputCst?sQ:sz}consumeInternalRecord(e,t,r){if(s2(t),!ax(e)){let r=Error(` argument is invalid expecting a TokenType reference but got: <${JSON.stringify(e)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw r.KNOWN_RECORDER_ERROR=!0,r}let n=(0,aT.Z)(this.recordingProdStack),i=new ii({idx:t,terminalType:e,label:null==r?void 0:r.LABEL});return n.definition.push(i),sX}},class e{initPerformanceTracer(e){if((0,nw.Z)(e,"traceInitPerf")){let t=e.traceInitPerf,r="number"==typeof t;this.traceInitMaxIdent=r?t:1/0,this.traceInitPerf=r?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=s7.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(e,t){if(!0!==this.traceInitPerf)return t();{this.traceInitIndent++;let r=Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${e}>`);let{time:n,value:i}=av(t),a=n>10?console.warn:console.log;return this.traceInitIndent time: ${n}ms`),this.traceInitIndent--,i}}}]);class s6 extends s9{constructor(e,t=s7){let r=(0,nb.Z)(t);r.outputCst=!1,super(e,r)}}function s8(e,t,r){return`${e.name}_${t}_${r}`}class oe{constructor(e){this.target=e}isEpsilon(){return!1}}class ot extends oe{constructor(e,t){super(e),this.tokenType=t}}class or extends oe{constructor(e){super(e)}isEpsilon(){return!0}}class on extends oe{constructor(e,t,r){super(e),this.rule=t,this.followState=r}isEpsilon(){return!0}}function oi(e,t,r){if(r instanceof ii)return oc(e,t,r.terminalType,r);if(r instanceof n7)return function(e,t,r){let n=r.referencedRule,i=e.ruleToStartState.get(n),a=oh(e,t,r,{type:1}),s=oh(e,t,r,{type:1});return of(a,new on(i,n,s)),{left:a,right:s}}(e,t,r);if(r instanceof ir)return function(e,t,r){let n=oh(e,t,r,{type:1});ol(e,n);let i=(0,nL.Z)(r.definition,r=>oi(e,t,r));return ou(e,t,n,r,...i)}(e,t,r);else if(r instanceof n9)return function(e,t,r){let n=oh(e,t,r,{type:1});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r));return function(e,t,r,n){let i=n.left;return od(i,n.right),e.decisionMap[s8(t,"Option",r.idx)]=i,n}(e,t,r,i)}(e,t,r);else if(r instanceof ie)return function(e,t,r){let n=oh(e,t,r,{type:5});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r));return oo(e,t,r,i)}(e,t,r);else if(r instanceof it)return function(e,t,r){let n=oh(e,t,r,{type:5});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r)),a=oc(e,t,r.separator,r);return oo(e,t,r,i,a)}(e,t,r);else if(r instanceof n6)return function(e,t,r){let n=oh(e,t,r,{type:4});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r));return os(e,t,r,i)}(e,t,r);else if(r instanceof n8)return function(e,t,r){let n=oh(e,t,r,{type:4});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r)),a=oc(e,t,r.separator,r);return os(e,t,r,i,a)}(e,t,r);else return oa(e,t,r)}function oa(e,t,r){let n=(0,iU.Z)((0,nL.Z)(r.definition,r=>oi(e,t,r)),e=>void 0!==e);return 1===n.length?n[0]:0===n.length?void 0:function(e,t){let r=t.length;for(let n=0;ne.alt)}get key(){let e="";for(let t in this.map)e+=t+":";return e}}function og(e,t=!0){return`${t?`a${e.alt}`:""}s${e.state.stateNumber}:${e.stack.map(e=>e.stateNumber.toString()).join("_")}`}var oy=r("50540");class oT{constructor(){this.predicates=[]}is(e){return e>=this.predicates.length||this.predicates[e]}set(e,t){this.predicates[e]=t}toString(){let e="",t=this.predicates.length;for(let r=0;rconsole.log(e)}initialize(e){this.atn=function(e){let t={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:[]};(function(e,t){let r=t.length;for(let n=0;n{let i=n.toString(),a=r[i];return void 0!==a?a:(a={atnStartState:e,decision:t,states:{}},r[i]=a,a)}}(e.decisionStates[n],n);return r}(this.atn)}validateAmbiguousAlternationAlternatives(){return[]}validateEmptyOrAlternatives(){return[]}buildLookaheadForAlternation(e){let{prodOccurrence:t,rule:r,hasPredicates:n,dynamicTokensEnabled:i}=e,a=this.dfas,s=this.logging,o=s8(r,"Alternation",t),l=this.atn.decisionMap[o].decision,u=(0,nL.Z)(sr({maxLookahead:1,occurrence:t,prodType:"Alternation",rule:r}),e=>(0,nL.Z)(e,e=>e[0]));if(oR(u,!1)&&!i){let e=(0,iZ.Z)(u,(e,t,r)=>((0,nN.Z)(t,t=>{t&&(e[t.tokenTypeIdx]=r,(0,nN.Z)(t.categoryMatches,t=>{e[t]=r}))}),e),{});return n?function(t){var r;let n=e[this.LA(1).tokenTypeIdx];if(void 0!==t&&void 0!==n){let e=null===(r=t[n])||void 0===r?void 0:r.GATE;if(void 0!==e&&!1===e.call(this))return}return n}:function(){return e[this.LA(1).tokenTypeIdx]}}if(n)return function(e){let t=new oT,r=void 0===e?0:e.length;for(let n=0;n(0,nL.Z)(e,e=>e[0]));if(oR(u)&&u[0][0]&&!i){let e=u[0],t=(0,ix.Z)(e);if(1===t.length&&(0,n$.Z)(t[0].categoryMatches)){let e=t[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===e}}{let e=(0,iZ.Z)(t,(e,t)=>(void 0!==t&&(e[t.tokenTypeIdx]=!0,(0,nN.Z)(t.categoryMatches,t=>{e[t]=!0})),e),{});return function(){return!0===e[this.LA(1).tokenTypeIdx]}}}return function(){let e=oA.call(this,a,l,ov,s);return"object"!=typeof e&&0===e}}}function oR(e,t=!0){let r=new Set;for(let n of e){let e=new Set;for(let i of n){if(void 0===i){if(!t)return!1;break}for(let t of[i.tokenTypeIdx].concat(i.categoryMatches))if(r.has(t)){if(!e.has(t))return!1}else r.add(t),e.add(t)}}return!0}function oA(e,t,r,n){let i=e[t](r),a=i.start;if(void 0===a){let e=function(e){let t=new om,r=e.transitions.length;for(let n=0;ne.state.transitions).filter(e=>e instanceof ot).map(e=>e.tokenType),i=e=>e.tokenTypeIdx,n&&n.length?(0,ik.Z)(n,(0,nH.Z)(i,2)):[]),tokenPath:e}}(s,i,o);if(!0===t.isAcceptState)return t.prediction;i=t,s.push(o),o=this.LA(a++)}}function oI(e,t,r,n,i,a){let s=function(e,t,r){let n;let i=new om,a=[];for(let n of e.elements){if(!1===r.is(n.alt))continue;if(7===n.state.type){a.push(n);continue}let e=n.state.transitions.length;for(let r=0;r0&&!function(e){for(let t of e.elements)if(7===t.state.type)return!0;return!1}(n))for(let e of a)n.add(e);return n}(t.configs,r,i);if(0===s.size)return oN(e,t,r,op),op;let o=oS(s),l=function(e,t){let r;for(let n of e.elements)if(!0===t.is(n.alt)){if(void 0===r)r=n.alt;else if(r!==n.alt)return}return r}(s,i);if(void 0!==l)o.isAcceptState=!0,o.prediction=l,o.configs.uniqueAlt=l;else if(function(e){if(function(e){for(let t of e.elements)if(7!==t.state.type)return!1;return!0}(e))return!0;let t=function(e){let t=new Map;for(let r of e){let e=og(r,!1),n=t.get(e);void 0===n&&(n={},t.set(e,n)),n[r.alt]=!0}return t}(e.elements);return function(e){for(let t of Array.from(e.values()))if(Object.keys(t).length>1)return!0;return!1}(t)&&!function(e){for(let t of Array.from(e.values()))if(1===Object.keys(t).length)return!0;return!1}(t)}(s)){let t=(0,oy.Z)(s.alts);o.isAcceptState=!0,o.prediction=t,o.configs.uniqueAlt=t,ox.apply(this,[e,n,s.alts,a])}return o=oN(e,t,r,o)}function ox(e,t,r,n){let i=[];for(let e=1;e<=t;e++)i.push(this.LA(e).tokenType);let a=e.atnStartState,s=a.rule;n(function(e){let t=(0,nL.Z)(e.prefixPath,e=>aL(e)).join(", "),r=0===e.production.idx?"":e.production.idx,n=`Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(", ")}> in <${function(e){if(e instanceof n7)return"SUBRULE";if(e instanceof n9)return"OPTION";if(e instanceof ir)return"OR";else if(e instanceof n6)return"AT_LEAST_ONE";else if(e instanceof n8)return"AT_LEAST_ONE_SEP";else if(e instanceof it)return"MANY_SEP";else if(e instanceof ie)return"MANY";else if(e instanceof ii)return"CONSUME";else throw Error("non exhaustive match")}(e.production)}${r}> inside <${e.topLevelRule.name}> Rule, +<${t}> may appears as a prefix path in all these alternatives. +`;return n=n+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES +`+"For Further details."}({topLevelRule:s,ambiguityIndices:r,production:a.production,prefixPath:i}))}function oS(e){return{configs:e,edges:{},isAcceptState:!1,prediction:-1}}function oN(e,t,r,n){return n=oC(e,n),t.edges[r.tokenTypeIdx]=n,n}function oC(e,t){if(t===op)return t;let r=t.configs.key,n=e.states[r];return void 0!==n?n:(t.configs.finalize(),e.states[r]=t,t)}function o$(e,t){let r=e.state;if(7===r.type){if(e.stack.length>0){let r=[...e.stack];o$({state:r.pop(),alt:e.alt,stack:r},t)}else t.add(e);return}!r.epsilonOnlyTransitions&&t.add(e);let n=r.transitions.length;for(let i=0;i0&&(n.arguments=r),n},tf.is=function(e){return ny.defined(e)&&ny.string(e.title)&&ny.string(e.command)},(tp=rR||(rR={})).replace=function(e,t){return{range:e,newText:t}},tp.insert=function(e,t){return{range:{start:e,end:e},newText:t}},tp.del=function(e){return{range:e,newText:""}},tp.is=function(e){return ny.objectLiteral(e)&&ny.string(e.newText)&&ro.is(e.range)},(tm=rA||(rA={})).create=function(e,t,r){let n={label:e};return void 0!==t&&(n.needsConfirmation=t),void 0!==r&&(n.description=r),n},tm.is=function(e){return ny.objectLiteral(e)&&ny.string(e.label)&&(ny.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(ny.string(e.description)||void 0===e.description)},(rk||(rk={})).is=function(e){return ny.string(e)},(tg=rI||(rI={})).replace=function(e,t,r){return{range:e,newText:t,annotationId:r}},tg.insert=function(e,t,r){return{range:{start:e,end:e},newText:t,annotationId:r}},tg.del=function(e,t){return{range:e,newText:"",annotationId:t}},tg.is=function(e){return rR.is(e)&&(rA.is(e.annotationId)||rk.is(e.annotationId))},(ty=rx||(rx={})).create=function(e,t){return{textDocument:e,edits:t}},ty.is=function(e){return ny.defined(e)&&rb.is(e.textDocument)&&Array.isArray(e.edits)},(tT=rS||(rS={})).create=function(e,t,r){let n={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(n.options=t),void 0!==r&&(n.annotationId=r),n},tT.is=function(e){return e&&"create"===e.kind&&ny.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||ny.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||ny.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||rk.is(e.annotationId))},(tv=rN||(rN={})).create=function(e,t,r,n){let i={kind:"rename",oldUri:e,newUri:t};return void 0!==r&&(void 0!==r.overwrite||void 0!==r.ignoreIfExists)&&(i.options=r),void 0!==n&&(i.annotationId=n),i},tv.is=function(e){return e&&"rename"===e.kind&&ny.string(e.oldUri)&&ny.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||ny.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||ny.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||rk.is(e.annotationId))},(tE=rC||(rC={})).create=function(e,t,r){let n={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(n.options=t),void 0!==r&&(n.annotationId=r),n},tE.is=function(e){return e&&"delete"===e.kind&&ny.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||ny.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||ny.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||rk.is(e.annotationId))},(r$||(r$={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(e=>ny.string(e.kind)?rS.is(e)||rN.is(e)||rC.is(e):rx.is(e)))},(tR=rL||(rL={})).create=function(e){return{uri:e}},tR.is=function(e){return ny.defined(e)&&ny.string(e.uri)},(tA=rw||(rw={})).create=function(e,t){return{uri:e,version:t}},tA.is=function(e){return ny.defined(e)&&ny.string(e.uri)&&ny.integer(e.version)},(tk=rb||(rb={})).create=function(e,t){return{uri:e,version:t}},tk.is=function(e){return ny.defined(e)&&ny.string(e.uri)&&(null===e.version||ny.integer(e.version))},(tI=rO||(rO={})).create=function(e,t,r,n){return{uri:e,languageId:t,version:r,text:n}},tI.is=function(e){return ny.defined(e)&&ny.string(e.uri)&&ny.string(e.languageId)&&ny.integer(e.version)&&ny.string(e.text)},(tx=r_||(r_={})).PlainText="plaintext",tx.Markdown="markdown",tx.is=function(e){return e===tx.PlainText||e===tx.Markdown},(rP||(rP={})).is=function(e){return ny.objectLiteral(e)&&r_.is(e.kind)&&ny.string(e.value)},(tS=rM||(rM={})).Text=1,tS.Method=2,tS.Function=3,tS.Constructor=4,tS.Field=5,tS.Variable=6,tS.Class=7,tS.Interface=8,tS.Module=9,tS.Property=10,tS.Unit=11,tS.Value=12,tS.Enum=13,tS.Keyword=14,tS.Snippet=15,tS.Color=16,tS.File=17,tS.Reference=18,tS.Folder=19,tS.EnumMember=20,tS.Constant=21,tS.Struct=22,tS.Event=23,tS.Operator=24,tS.TypeParameter=25,(tN=rD||(rD={})).PlainText=1,tN.Snippet=2,(rZ||(rZ={})).Deprecated=1,(tC=rU||(rU={})).create=function(e,t,r){return{newText:e,insert:t,replace:r}},tC.is=function(e){return e&&ny.string(e.newText)&&ro.is(e.insert)&&ro.is(e.replace)},(t$=rF||(rF={})).asIs=1,t$.adjustIndentation=2,(rG||(rG={})).is=function(e){return e&&(ny.string(e.detail)||void 0===e.detail)&&(ny.string(e.description)||void 0===e.description)},(rB||(rB={})).create=function(e){return{label:e}},(rK||(rK={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(tL=rj||(rj={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},tL.is=function(e){return ny.string(e)||ny.objectLiteral(e)&&ny.string(e.language)&&ny.string(e.value)},(rV||(rV={})).is=function(e){return!!e&&ny.objectLiteral(e)&&(rP.is(e.contents)||rj.is(e.contents)||ny.typedArray(e.contents,rj.is))&&(void 0===e.range||ro.is(e.range))},(rW||(rW={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(rH||(rH={})).create=function(e,t,...r){let n={label:e};return ny.defined(t)&&(n.documentation=t),ny.defined(r)?n.parameters=r:n.parameters=[],n},(tw=rz||(rz={})).Text=1,tw.Read=2,tw.Write=3,(rY||(rY={})).create=function(e,t){let r={range:e};return ny.number(t)&&(r.kind=t),r},(tb=rq||(rq={})).File=1,tb.Module=2,tb.Namespace=3,tb.Package=4,tb.Class=5,tb.Method=6,tb.Property=7,tb.Field=8,tb.Constructor=9,tb.Enum=10,tb.Interface=11,tb.Function=12,tb.Variable=13,tb.Constant=14,tb.String=15,tb.Number=16,tb.Boolean=17,tb.Array=18,tb.Object=19,tb.Key=20,tb.Null=21,tb.EnumMember=22,tb.Struct=23,tb.Event=24,tb.Operator=25,tb.TypeParameter=26,(rX||(rX={})).Deprecated=1,(rQ||(rQ={})).create=function(e,t,r,n,i){let a={name:e,kind:t,location:{uri:n,range:r}};return i&&(a.containerName=i),a},(rJ||(rJ={})).create=function(e,t,r,n){return void 0!==n?{name:e,kind:t,location:{uri:r,range:n}}:{name:e,kind:t,location:{uri:r}}},(tO=r0||(r0={})).create=function(e,t,r,n,i,a){let s={name:e,detail:t,kind:r,range:n,selectionRange:i};return void 0!==a&&(s.children=a),s},tO.is=function(e){return e&&ny.string(e.name)&&ny.number(e.kind)&&ro.is(e.range)&&ro.is(e.selectionRange)&&(void 0===e.detail||ny.string(e.detail))&&(void 0===e.deprecated||ny.boolean(e.deprecated))&&(void 0===e.children||Array.isArray(e.children))&&(void 0===e.tags||Array.isArray(e.tags))},(t_=r1||(r1={})).Empty="",t_.QuickFix="quickfix",t_.Refactor="refactor",t_.RefactorExtract="refactor.extract",t_.RefactorInline="refactor.inline",t_.RefactorRewrite="refactor.rewrite",t_.Source="source",t_.SourceOrganizeImports="source.organizeImports",t_.SourceFixAll="source.fixAll",(tP=r2||(r2={})).Invoked=1,tP.Automatic=2,(tM=r4||(r4={})).create=function(e,t,r){let n={diagnostics:e};return null!=t&&(n.only=t),null!=r&&(n.triggerKind=r),n},tM.is=function(e){return ny.defined(e)&&ny.typedArray(e.diagnostics,rv.is)&&(void 0===e.only||ny.typedArray(e.only,ny.string))&&(void 0===e.triggerKind||e.triggerKind===r2.Invoked||e.triggerKind===r2.Automatic)},(tD=r7||(r7={})).create=function(e,t,r){let n={title:e},i=!0;return"string"==typeof t?(i=!1,n.kind=t):rE.is(t)?n.command=t:n.edit=t,i&&void 0!==r&&(n.kind=r),n},tD.is=function(e){return e&&ny.string(e.title)&&(void 0===e.diagnostics||ny.typedArray(e.diagnostics,rv.is))&&(void 0===e.kind||ny.string(e.kind))&&(void 0!==e.edit||void 0!==e.command)&&(void 0===e.command||rE.is(e.command))&&(void 0===e.isPreferred||ny.boolean(e.isPreferred))&&(void 0===e.edit||r$.is(e.edit))},(tZ=r3||(r3={})).create=function(e,t){let r={range:e};return ny.defined(t)&&(r.data=t),r},tZ.is=function(e){return ny.defined(e)&&ro.is(e.range)&&(ny.undefined(e.command)||rE.is(e.command))},(tU=r5||(r5={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},tU.is=function(e){return ny.defined(e)&&ny.uinteger(e.tabSize)&&ny.boolean(e.insertSpaces)},(tF=r9||(r9={})).create=function(e,t,r){return{range:e,target:t,data:r}},tF.is=function(e){return ny.defined(e)&&ro.is(e.range)&&(ny.undefined(e.target)||ny.string(e.target))},(tG=r6||(r6={})).create=function(e,t){return{range:e,parent:t}},tG.is=function(e){return ny.objectLiteral(e)&&ro.is(e.range)&&(void 0===e.parent||tG.is(e.parent))},(tB=r8||(r8={})).namespace="namespace",tB.type="type",tB.class="class",tB.enum="enum",tB.interface="interface",tB.struct="struct",tB.typeParameter="typeParameter",tB.parameter="parameter",tB.variable="variable",tB.property="property",tB.enumMember="enumMember",tB.event="event",tB.function="function",tB.method="method",tB.macro="macro",tB.keyword="keyword",tB.modifier="modifier",tB.comment="comment",tB.string="string",tB.number="number",tB.regexp="regexp",tB.operator="operator",tB.decorator="decorator",(tK=ne||(ne={})).declaration="declaration",tK.definition="definition",tK.readonly="readonly",tK.static="static",tK.deprecated="deprecated",tK.abstract="abstract",tK.async="async",tK.modification="modification",tK.documentation="documentation",tK.defaultLibrary="defaultLibrary",(nt||(nt={})).is=function(e){return ny.objectLiteral(e)&&(void 0===e.resultId||"string"==typeof e.resultId)&&Array.isArray(e.data)&&(0===e.data.length||"number"==typeof e.data[0])},(tj=nr||(nr={})).create=function(e,t){return{range:e,text:t}},tj.is=function(e){return null!=e&&ro.is(e.range)&&ny.string(e.text)},(tV=nn||(nn={})).create=function(e,t,r){return{range:e,variableName:t,caseSensitiveLookup:r}},tV.is=function(e){return null!=e&&ro.is(e.range)&&ny.boolean(e.caseSensitiveLookup)&&(ny.string(e.variableName)||void 0===e.variableName)},(tW=ni||(ni={})).create=function(e,t){return{range:e,expression:t}},tW.is=function(e){return null!=e&&ro.is(e.range)&&(ny.string(e.expression)||void 0===e.expression)},(tH=na||(na={})).create=function(e,t){return{frameId:e,stoppedLocation:t}},tH.is=function(e){return ny.defined(e)&&ro.is(e.stoppedLocation)},(tz=ns||(ns={})).Type=1,tz.Parameter=2,tz.is=function(e){return 1===e||2===e},(tY=no||(no={})).create=function(e){return{value:e}},tY.is=function(e){return ny.objectLiteral(e)&&(void 0===e.tooltip||ny.string(e.tooltip)||rP.is(e.tooltip))&&(void 0===e.location||rl.is(e.location))&&(void 0===e.command||rE.is(e.command))},(tq=nl||(nl={})).create=function(e,t,r){let n={position:e,label:t};return void 0!==r&&(n.kind=r),n},tq.is=function(e){return ny.objectLiteral(e)&&rs.is(e.position)&&(ny.string(e.label)||ny.typedArray(e.label,no.is))&&(void 0===e.kind||ns.is(e.kind))&&void 0===e.textEdits||ny.typedArray(e.textEdits,rR.is)&&(void 0===e.tooltip||ny.string(e.tooltip)||rP.is(e.tooltip))&&(void 0===e.paddingLeft||ny.boolean(e.paddingLeft))&&(void 0===e.paddingRight||ny.boolean(e.paddingRight))},(nu||(nu={})).createSnippet=function(e){return{kind:"snippet",value:e}},(nc||(nc={})).create=function(e,t,r,n){return{insertText:e,filterText:t,range:r,command:n}},(nd||(nd={})).create=function(e){return{items:e}},(tX=nh||(nh={})).Invoked=0,tX.Automatic=1,(nf||(nf={})).create=function(e,t){return{range:e,text:t}},(np||(np={})).create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}},(nm||(nm={})).is=function(e){return ny.objectLiteral(e)&&rn.is(e.uri)&&ny.string(e.name)},(tQ=ng||(ng={})).create=function(e,t,r,n){return new oL(e,t,r,n)},tQ.is=function(e){return!!(ny.defined(e)&&ny.string(e.uri)&&(ny.undefined(e.languageId)||ny.string(e.languageId))&&ny.uinteger(e.lineCount)&&ny.func(e.getText)&&ny.func(e.positionAt)&&ny.func(e.offsetAt))},tQ.applyEdits=function(e,t){let r=e.getText(),n=function e(t,r){if(t.length<=1)return t;let n=t.length/2|0,i=t.slice(0,n),a=t.slice(n);e(i,r),e(a,r);let s=0,o=0,l=0;for(;s=r(i[s],a[o])?t[l++]=i[s++]:t[l++]=a[o++];for(;s{let r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r}),i=r.length;for(let t=n.length-1;t>=0;t--){let a=n[t],s=e.offsetAt(a.range.start),o=e.offsetAt(a.range.end);if(o<=i)r=r.substring(0,s)+a.newText+r.substring(o,r.length);else throw Error("Overlapping edit");i=s}return r};class oL{constructor(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,r=!0;for(let n=0;n0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),r=0,n=t.length;if(0===n)return rs.create(0,e);for(;re?n=i:r=i+1}let i=r-1;return rs.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line],n=e.line+1=0&&t.content.splice(r,1)}}construct(e){let t=this.current;"string"==typeof e.$type&&(this.current.astNode=e),e.$cstNode=t;let r=this.nodeStack.pop();(null==r?void 0:r.content.length)===0&&this.removeNode(r)}addHiddenTokens(e){for(let t of e){let e=new oO(t.startOffset,t.image.length,y(t),t.tokenType,!0);e.root=this.rootNode,this.addHiddenToken(this.rootNode,e)}}addHiddenToken(e,t){let{offset:r,end:n}=t;for(let i=0;is&&n=0;e--){let t=this.content[e];if(!t.hidden)return t}return this.content[this.content.length-1]}}class oP extends Array{constructor(e){super(),this.parent=e,Object.setPrototypeOf(this,oP.prototype)}push(...e){return this.addParents(e),super.push(...e)}unshift(...e){return this.addParents(e),super.unshift(...e)}splice(e,t,...r){return this.addParents(r),super.splice(e,t,...r)}addParents(e){for(let t of e)t.container=this.parent}}class oM extends o_{get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(e){super(),this._text="",this._text=null!=e?e:""}}let oD=Symbol("Datatype");function oZ(e){return e.$type===oD}let oU=e=>e.endsWith("\u200B")?e:e+"\u200B";class oF{constructor(e){this._unorderedGroups=new Map,this.lexer=e.parser.Lexer;let t=this.lexer.definition;this.wrapper=new oW(t,Object.assign(Object.assign({},e.parser.ParserConfig),{errorMessageProvider:e.parser.ParserErrorMessageProvider}))}alternatives(e,t){this.wrapper.wrapOr(e,t)}optional(e,t){this.wrapper.wrapOption(e,t)}many(e,t){this.wrapper.wrapMany(e,t)}atLeastOne(e,t){this.wrapper.wrapAtLeastOne(e,t)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}}class oG extends oF{get current(){return this.stack[this.stack.length-1]}constructor(e){super(e),this.nodeBuilder=new ow,this.stack=[],this.assignmentMap=new Map,this.linker=e.references.Linker,this.converter=e.parser.ValueConverter,this.astReflection=e.shared.AstReflection}rule(e,t){let r=e.fragment?void 0:ez(e)?oD:eq(e),n=this.wrapper.DEFINE_RULE(oU(e.name),this.startImplementation(r,t).bind(this));return e.entry&&(this.mainRule=n),n}parse(e){this.nodeBuilder.buildRootNode(e);let t=this.lexer.tokenize(e);this.wrapper.input=t.tokens;let r=this.mainRule.call(this.wrapper,{});return this.nodeBuilder.addHiddenTokens(t.hidden),this.unorderedGroups.clear(),{value:r,lexerErrors:t.errors,parserErrors:this.wrapper.errors}}startImplementation(e,t){return r=>{let n;if(!this.isRecording()){let t={$type:e};this.stack.push(t),e===oD&&(t.value="")}try{n=t(r)}catch(e){n=void 0}return!this.isRecording()&&void 0===n&&(n=this.construct()),n}}consume(e,t,r){let n=this.wrapper.wrapConsume(e,t);if(!this.isRecording()&&this.isValidToken(n)){let e=this.nodeBuilder.buildLeafNode(n,r),{assignment:t,isCrossRef:i}=this.getAssignment(r),a=this.current;if(t){let a=en(r)?n.image:this.converter.convert(n.image,e);this.assign(t.operator,t.feature,a,e,i)}else if(oZ(a)){let t=n.image;!en(r)&&(t=this.converter.convert(t,e).toString()),a.value+=t}}}isValidToken(e){return!e.isInsertedInRecovery&&!isNaN(e.startOffset)&&"number"==typeof e.endOffset&&!isNaN(e.endOffset)}subrule(e,t,r,n){let i;!this.isRecording()&&(i=this.nodeBuilder.buildCompositeNode(r));let a=this.wrapper.wrapSubrule(e,t,n);!this.isRecording()&&i&&i.length>0&&this.performSubruleAssignment(a,r,i)}performSubruleAssignment(e,t,r){let{assignment:n,isCrossRef:i}=this.getAssignment(t);if(n)this.assign(n.operator,n.feature,e,r,i);else if(!n){let t=this.current;if(oZ(t))t.value+=e.toString();else if("object"==typeof e&&e){let r=e.$type,n=this.assignWithoutOverride(e,t);r&&(n.$type=r);this.stack.pop(),this.stack.push(n)}}}action(e,t){if(!this.isRecording()){let r=this.current;if(!r.$cstNode&&t.feature&&t.operator){let e=(r=this.construct(!1)).$cstNode.feature;this.nodeBuilder.buildCompositeNode(e)}this.stack.pop(),this.stack.push({$type:e}),t.feature&&t.operator&&this.assign(t.operator,t.feature,r,r.$cstNode,!1)}}construct(e=!0){if(this.isRecording())return;let t=this.current;return(!function(e){for(let[t,r]of Object.entries(e))!t.startsWith("$")&&(Array.isArray(r)?r.forEach((r,i)=>{n(r)&&(r.$container=e,r.$containerProperty=t,r.$containerIndex=i)}):n(r)&&(r.$container=e,r.$containerProperty=t))}(t),this.nodeBuilder.construct(t),e&&this.stack.pop(),oZ(t))?this.converter.convert(t.value,t.$cstNode):(!function(e,t){let r=e.getTypeMetaData(t.$type);for(let e of r.properties)void 0!==e.defaultValue&&void 0===t[e.name]&&(t[e.name]=function e(t){return Array.isArray(t)?[...t.map(e)]:t}(e.defaultValue))}(this.astReflection,t),t)}getAssignment(e){if(!this.assignmentMap.has(e)){let t=eT(e,Y);this.assignmentMap.set(e,{assignment:t,isCrossRef:!!t&&Q(t.terminal)})}return this.assignmentMap.get(e)}assign(e,t,r,n,i){let a;let s=this.current;switch(a=i&&"string"==typeof r?this.linker.buildReference(s,t,n,r):r,e){case"=":s[t]=a;break;case"?=":s[t]=!0;break;case"+=":!Array.isArray(s[t])&&(s[t]=[]),s[t].push(a)}}assignWithoutOverride(e,t){for(let[r,n]of Object.entries(t)){let t=e[r];void 0===t?e[r]=n:Array.isArray(t)&&Array.isArray(n)&&(n.push(...t),e[r]=n)}return e}get definitionErrors(){return this.wrapper.definitionErrors}}class oB{buildMismatchTokenMessage(e){return aV.buildMismatchTokenMessage(e)}buildNotAllInputParsedMessage(e){return aV.buildNotAllInputParsedMessage(e)}buildNoViableAltMessage(e){return aV.buildNoViableAltMessage(e)}buildEarlyExitMessage(e){return aV.buildEarlyExitMessage(e)}}class oK extends oB{buildMismatchTokenMessage({expected:e,actual:t}){let r=e.LABEL?"`"+e.LABEL+"`":e.name.endsWith(":KW")?`keyword '${e.name.substring(0,e.name.length-3)}'`:`token of type '${e.name}'`;return`Expecting ${r} but found \`${t.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:e}){return`Expecting end of file but found \`${e.image}\`.`}}class oj extends oF{constructor(){super(...arguments),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(e){this.resetState();let t=this.lexer.tokenize(e);return this.tokens=t.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(e,t){let r=this.wrapper.DEFINE_RULE(oU(e.name),this.startImplementation(t).bind(this));return e.entry&&(this.mainRule=r),r}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(e){return t=>{let r=this.keepStackSize();try{e(t)}finally{this.resetStackSize(r)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){let e=this.elementStack.length;return this.stackSize=e,e}resetStackSize(e){this.removeUnexpectedElements(),this.stackSize=e}consume(e,t,r){this.wrapper.wrapConsume(e,t),!this.isRecording()&&(this.lastElementStack=[...this.elementStack,r],this.nextTokenIndex=this.currIdx+1)}subrule(e,t,r,n){this.before(r),this.wrapper.wrapSubrule(e,t,n),this.after(r)}before(e){!this.isRecording()&&this.elementStack.push(e)}after(e){if(!this.isRecording()){let t=this.elementStack.lastIndexOf(e);t>=0&&this.elementStack.splice(t)}}get currIdx(){return this.wrapper.currIdx}}let oV={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new oK};class oW extends s6{constructor(e,t){super(e,Object.assign(Object.assign(Object.assign({},oV),{lookaheadStrategy:t&&"maxLookahead"in t?new sG({maxLookahead:t.maxLookahead}):new oE}),t))}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(e,t){return this.RULE(e,t)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(e,t){return this.consume(e,t)}wrapSubrule(e,t,r){return this.subrule(e,t,{ARGS:[r]})}wrapOr(e,t){this.or(e,t)}wrapOption(e,t){this.option(e,t)}wrapMany(e,t){this.many(e,t)}wrapAtLeastOne(e,t){this.atLeastOne(e,t)}}function oH(e,t,r){return function(e,t){let r=ej(t,!1);for(let n of p(t.rules).filter(Z).filter(e=>r.has(e))){let t=Object.assign(Object.assign({},e),{consume:1,optional:1,subrule:1,many:1,or:1});t.rules.set(n.name,e.parser.rule(n,oz(t,n.definition)))}}({parser:t,tokens:r,rules:new Map,ruleNames:new Map},e),t}function oz(e,t,r=!1){let n;if(en(t))n=function(e,t){let r=e.consume++,n=e.tokens[t.value];if(!n)throw Error("Could not find token for keyword: "+t.value);return()=>e.parser.consume(r,n,t)}(e,t);else if(V(t))n=function(e,t){let r=eq(t);return()=>e.parser.action(r,t)}(e,t);else if(Y(t))n=oz(e,t.terminal);else if(Q(t))n=function e(t,r,n=r.terminal){if(n){if(eo(n)&&Z(n.rule.ref)){let e=t.subrule++;return i=>t.parser.subrule(e,oQ(t,n.rule.ref),r,i)}else if(eo(n)&&G(n.rule.ref)){let e=t.consume++,i=oJ(t,n.rule.ref.name);return()=>t.parser.consume(e,i,r)}else if(en(n)){let e=t.consume++,i=oJ(t,n.value);return()=>t.parser.consume(e,i,r)}else throw Error("Could not build cross reference parser")}{if(!r.type.ref)throw Error("Could not resolve reference to type: "+r.type.$refText);let n=eH(r.type.ref),i=null==n?void 0:n.terminal;if(!i)throw Error("Could not find name assignment for type: "+eq(r.type.ref));return e(t,r,i)}}(e,t);else if(eo(t))n=function(e,t){let r=t.rule.ref;if(Z(r)){let n=e.subrule++,i=t.arguments.length>0?function(e,t){let r=t.map(e=>oY(e.value));return t=>{let n={};for(let i=0;i({});return a=>e.parser.subrule(n,oQ(e,r),t,i(a))}if(G(r)){let n=e.consume++,i=oJ(e,r.name);return()=>e.parser.consume(n,i,t)}if(r)A(r);else throw new R(t.$cstNode,`Undefined rule type: ${t.$type}`)}(e,t);else if(H(t))n=function(e,t){if(1===t.elements.length)return oz(e,t.elements[0]);{let r=[];for(let n of t.elements){let t={ALT:oz(e,n,!0)},i=oq(n);i&&(t.GATE=oY(i)),r.push(t)}let n=e.or++;return t=>e.parser.alternatives(n,r.map(e=>{let r={ALT:()=>e.ALT(t)},n=e.GATE;return n&&(r.GATE=()=>n(t)),r}))}}(e,t);else if(ef(t))n=function(e,t){if(1===t.elements.length)return oz(e,t.elements[0]);let r=[];for(let n of t.elements){let t={ALT:oz(e,n,!0)},i=oq(n);i&&(t.GATE=oY(i)),r.push(t)}let n=e.or++,i=(e,t)=>{let r=t.getRuleStack().join("-");return`uGroup_${e}_${r}`},a=oX(e,oq(t),t=>e.parser.alternatives(n,r.map((r,a)=>{let s={ALT:()=>!0},o=e.parser;s.ALT=()=>{if(r.ALT(t),!o.isRecording()){let e=i(n,o);!o.unorderedGroups.get(e)&&o.unorderedGroups.set(e,[]);let t=o.unorderedGroups.get(e);void 0===(null==t?void 0:t[a])&&(t[a]=!0)}};let l=r.GATE;return l?s.GATE=()=>l(t):s.GATE=()=>{let e=o.unorderedGroups.get(i(n,o));return!(null==e?void 0:e[a])},s})),"*");return t=>{a(t),!e.parser.isRecording()&&e.parser.unorderedGroups.delete(i(n,e.parser))}}(e,t);else if(et(t))n=function(e,t){let r=t.elements.map(t=>oz(e,t));return e=>r.forEach(t=>t(e))}(e,t);else{var i;if(i=t,ey.isInstance(i,J)){let r=e.consume++;n=()=>e.parser.consume(r,aB,t)}else throw new R(t.$cstNode,`Unexpected element type: ${t.$type}`)}return oX(e,r?void 0:oq(t),n,t.cardinality)}function oY(e){var t,r,n,i,a;if(t=e,ey.isInstance(t,L)){let t=oY(e.left),r=oY(e.right);return e=>t(e)||r(e)}if(r=e,ey.isInstance(r,$)){let t=oY(e.left),r=oY(e.right);return e=>t(e)&&r(e)}else{;if(n=e,ey.isInstance(n,P)){let t=oY(e.value);return e=>!t(e)}else{;if(i=e,ey.isInstance(i,M)){let t=e.parameter.ref.name;return e=>void 0!==e&&!0===e[t]}else{;if(a=e,ey.isInstance(a,C)){let t=!!e.true;return()=>t}}}}A(e)}function oq(e){if(et(e))return e.guardCondition}function oX(e,t,r,n){let i=t&&oY(t);if(!n){if(!i)return r;{let t=e.or++;return n=>e.parser.alternatives(t,[{ALT:()=>r(n),GATE:()=>i(n)},{ALT:s5(),GATE:()=>!i(n)}])}}if("*"===n){let t=e.many++;return n=>e.parser.many(t,{DEF:()=>r(n),GATE:i?()=>i(n):void 0})}if("+"===n){let t=e.many++;if(!i)return n=>e.parser.atLeastOne(t,{DEF:()=>r(n)});{let n=e.or++;return a=>e.parser.alternatives(n,[{ALT:()=>e.parser.atLeastOne(t,{DEF:()=>r(a)}),GATE:()=>i(a)},{ALT:s5(),GATE:()=>!i(a)}])}}if("?"===n){let t=e.optional++;return n=>e.parser.optional(t,{DEF:()=>r(n),GATE:i?()=>i(n):void 0})}else A(n)}function oQ(e,t){let r=function(e,t){if(Z(t))return t.name;if(e.ruleNames.has(t))return e.ruleNames.get(t);{let r=t,n=r.$container,i=t.$type;for(;!Z(n);)(et(n)||H(n)||ef(n))&&(i=n.elements.indexOf(r).toString()+":"+i),r=n,n=n.$container;return i=n.name+":"+i,e.ruleNames.set(t,i),i}}(e,t),n=e.rules.get(r);if(!n)throw Error(`Rule "${r}" not found."`);return n}function oJ(e,t){let r=e.tokens[t];if(!r)throw Error(`Token "${t}" not found."`);return r}class o0{buildTokens(e,t){let r=p(ej(e,!1)),n=this.buildTerminalTokens(r),i=this.buildKeywordTokens(r,n,t);return n.forEach(e=>{let t=e.PATTERN;"object"==typeof t&&t&&"test"in t&&eB(t)?i.unshift(e):i.push(e)}),i}buildTerminalTokens(e){return e.filter(G).filter(e=>!e.fragment).map(e=>this.buildTerminalToken(e)).toArray()}buildTerminalToken(e){let t=eX(e),r=this.requiresCustomPattern(t)?this.regexPatternFunction(t):t,n={name:e.name,PATTERN:r,LINE_BREAKS:!0};return e.hidden&&(n.GROUP=eB(t)?a$.SKIPPED:"hidden"),n}requiresCustomPattern(e){return!!e.flags.includes("u")||!!(e.source.includes("?<=")||e.source.includes("?(t.lastIndex=r,t.exec(e))}buildKeywordTokens(e,t,r){return e.filter(Z).flatMap(e=>eR(e).filter(en)).distinct(e=>e.value).toArray().sort((e,t)=>t.value.length-e.value.length).map(e=>this.buildKeywordToken(e,t,!!(null==r?void 0:r.caseInsensitive)))}buildKeywordToken(e,t,r){return{name:e.value,PATTERN:this.buildKeywordPattern(e,r),LONGER_ALT:this.findLongerAlt(e,t)}}buildKeywordPattern(e,t){var r;return t?new RegExp((r=e.value,Array.prototype.map.call(r,e=>/\w/.test(e)?`[${e.toLowerCase()}${e.toUpperCase()}]`:eK(e)).join(""))):e.value}findLongerAlt(e,t){return t.reduce((t,r)=>{let n=null==r?void 0:r.PATTERN;return(null==n?void 0:n.source)&&function(e,t){let r=function(e){"string"==typeof e&&(e=new RegExp(e));let t=e,r=e.source,n=0;return new RegExp(function e(){let i="",a;function s(e){i+=r.substr(n,e),n+=e}function o(e){i+="(?:"+r.substr(n,e)+"|$)",n+=e}for(;n",n)-n+1);break;default:o(2)}break;case"[":(a=/\[(?:\\.|.)*?\]/g).lastIndex=n,o((a=a.exec(r)||[])[0].length);break;case"|":case"^":case"$":case"*":case"+":case"?":s(1);break;case"{":(a=/\{\d+,?\d*\}/g).lastIndex=n,(a=a.exec(r))?s(a[0].length):o(1);break;case"(":if("?"===r[n+1])switch(r[n+2]){case":":i+="(?:",n+=3,i+=e()+"|$)";break;case"=":i+="(?=",n+=3,i+=e()+")";break;case"!":a=n,n+=3,e(),i+=r.substr(a,n-a);break;case"<":switch(r[n+3]){case"=":case"!":a=n,n+=4,e(),i+=r.substr(a,n-a);break;default:s(r.indexOf(">",n)-n+1),i+=e()+"|$)"}}else s(1),i+=e()+"|$)";break;case")":return++n,i;default:o(1)}return i}(),e.flags)}(e),n=t.match(r);return!!n&&n[0].length>0}("^"+n.source+"$",e.value)&&t.push(r),t},[])}}class o1{convert(e,t){let r=t.grammarSource;if(Q(r)&&(r=function(e){if(e.terminal)return e.terminal;if(e.type.ref){let t=eH(e.type.ref);return null==t?void 0:t.terminal}}(r)),eo(r)){let n=r.rule.ref;if(!n)throw Error("This cst node was not parsed by a rule.");return this.runConverter(n,e,t)}return e}runConverter(e,t,r){var n,i,a,s,o;switch(e.name.toUpperCase()){case"INT":return nT.convertInt(t);case"STRING":return nT.convertString(t);case"ID":return nT.convertID(t)}switch(null===(n=G(i=e)?null!==(s=null===(a=i.type)||void 0===a?void 0:a.name)&&void 0!==s?s:"string":ez(i)?i.name:null!==(o=eY(i))&&void 0!==o?o:i.name)||void 0===n?void 0:n.toLowerCase()){case"number":return nT.convertNumber(t);case"boolean":return nT.convertBoolean(t);case"bigint":return nT.convertBigint(t);case"date":return nT.convertDate(t);default:return t}}}(tJ=nT||(nT={})).convertString=function(e){let t="";for(let r=1;r=10&&(o4=t,await new Promise(e=>{"undefined"==typeof setImmediate?setTimeout(e,0):setImmediate(e)})),e.isCancellationRequested)throw o7}class o9{constructor(){this.promise=new Promise((e,t)=>{this.resolve=t=>(e(t),this),this.reject=e=>(t(e),this)})}}class o6{constructor(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(let t of e)if(o6.isIncremental(t)){let e=lt(t.range),r=this.offsetAt(e.start),n=this.offsetAt(e.end);this._content=this._content.substring(0,r)+t.text+this._content.substring(n,this._content.length);let i=Math.max(e.start.line,0),a=Math.max(e.end.line,0),s=this._lineOffsets,o=o8(t.text,!1,r);if(a-i===o.length)for(let e=0,t=o.length;ee?n=i:r=i+1}let i=r-1;return e=this.ensureBeforeEOL(e,t[i]),{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line];if(e.character<=0)return r;let n=e.line+1t&&le(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){return null!=e&&"string"==typeof e.text&&void 0!==e.range&&(void 0===e.rangeLength||"number"==typeof e.rangeLength)}static isFull(e){return null!=e&&"string"==typeof e.text&&void 0===e.range&&void 0===e.rangeLength}}(t0=nv||(nv={})).create=function(e,t,r,n){return new o6(e,t,r,n)},t0.update=function(e,t,r){if(e instanceof o6)return e.update(t,r),e;throw Error("TextDocument.update: document must be created by TextDocument.create")},t0.applyEdits=function(e,t){let r=e.getText(),n=function e(t,r){if(t.length<=1)return t;let n=t.length/2|0,i=t.slice(0,n),a=t.slice(n);e(i,r),e(a,r);let s=0,o=0,l=0;for(;s=r(i[s],a[o])?t[l++]=i[s++]:t[l++]=a[o++];for(;s{let r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r}),i=0,a=[];for(let t of n){let n=e.offsetAt(t.range.start);if(ni&&a.push(r.substring(i,n));t.newText.length&&a.push(t.newText),i=e.offsetAt(t.range.end)}return a.push(r.substr(i)),a.join("")};function o8(e,t,r=0){let n=t?[r]:[];for(let t=0;tr.line||t.line===r.line&&t.character>r.character?{start:r,end:t}:e}function lr(e){let t=lt(e.range);return t!==e.range?{newText:e.newText,range:t}:e}(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,a=-1,s=0,o=0;o<=e.length;++o){if(o2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),a=o,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,a=o,s=0;continue}}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),i=o-a-1;a=o,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var n={resolve:function(){for(var e,n,i="",a=!1,s=arguments.length-1;s>=-1&&!a;s--)s>=0?e=arguments[s]:(void 0===n&&(n=process.cwd()),e=n),t(e),0!==e.length&&(i=e+"/"+i,a=47===e.charCodeAt(0));return i=r(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;iu){if(47===r.charCodeAt(o+d))return r.slice(o+d+1);if(0===d)return r.slice(o+d)}else s>u&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var h=e.charCodeAt(i+d);if(h!==r.charCodeAt(o+d))break;47===h&&(c=d)}var f="";for(d=i+c+1;d<=a;++d)d!==a&&47!==e.charCodeAt(d)||(0===f.length?f+="..":f+="/..");return f.length>0?f+r.slice(o+c):(o+=c,47===r.charCodeAt(o)&&++o,r.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,a=!0,s=e.length-1;s>=1;--s)if(47===(r=e.charCodeAt(s))){if(!a){i=s;break}}else a=!1;return -1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,i=0,a=-1,s=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var o=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!s){i=n+1;break}}else -1===l&&(s=!1,l=n+1),o>=0&&(u===r.charCodeAt(o)?-1==--o&&(a=n):(o=-1,a=l))}return i===a?a=l:-1===a&&(a=e.length),e.slice(i,a)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else -1===a&&(s=!1,a=n+1);return -1===a?"":e.slice(i,a)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,a=!0,s=0,o=e.length-1;o>=0;--o){var l=e.charCodeAt(o);if(47!==l)-1===i&&(a=!1,i=o+1),46===l?-1===r?r=o:1!==s&&(s=1):-1!==r&&(s=-1);else if(!a){n=o+1;break}}return -1===r||-1===i||0===s||1===s&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){var t,r,n,i;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=0,n=(r=e).dir||r.root,i=r.base||(r.name||"")+(r.ext||""),n?n===r.root?n+i:n+"/"+i:i},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var n,i=e.charCodeAt(0),a=47===i;a?(r.root="/",n=1):n=0;for(var s=-1,o=0,l=-1,u=!0,c=e.length-1,d=0;c>=n;--c)if(47!==(i=e.charCodeAt(c)))-1===l&&(u=!1,l=c+1),46===i?-1===s?s=c:1!==d&&(d=1):-1!==s&&(d=-1);else if(!u){o=c+1;break}return -1===s||-1===l||0===d||1===d&&s===l-1&&s===o+1?-1!==l&&(r.base=r.name=0===o&&a?e.slice(1,l):e.slice(o,l)):(0===o&&a?(r.name=e.slice(1,s),r.base=e.slice(1,l)):(r.name=e.slice(o,s),r.base=e.slice(o,l)),r.ext=e.slice(s,l)),o>0?r.dir=e.slice(0,o-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{let e;(r.r(n),r.d(n,{URI:()=>l,Utils:()=>v}),"object"==typeof process)?e="win32"===process.platform:"object"==typeof navigator&&(e=navigator.userAgent.indexOf("Windows")>=0);let t=/^\w[\w\d+.-]*$/,i=/^\//,a=/^\/\//;function s(e,r){if(!e.scheme&&r)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!t.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!i.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let o=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class l{static isUri(e){return e instanceof l||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}scheme;authority;path;query;fragment;constructor(e,t,r,n,i,a=!1){var o,l;"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(o=e,l=a,o||l?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,r||""),this.query=n||"",this.fragment=i||"",s(this,a))}get fsPath(){return p(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:r,path:n,query:i,fragment:a}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===r?r=this.authority:null===r&&(r=""),void 0===n?n=this.path:null===n&&(n=""),void 0===i?i=this.query:null===i&&(i=""),void 0===a?a=this.fragment:null===a&&(a=""),t===this.scheme&&r===this.authority&&n===this.path&&i===this.query&&a===this.fragment?this:new c(t,r,n,i,a)}static parse(e,t=!1){let r=o.exec(e);return r?new c(r[2]||"",y(r[4]||""),y(r[5]||""),y(r[7]||""),y(r[9]||""),t):new c("","","","","")}static file(t){let r="";if(e&&(t=t.replace(/\\/g,"/")),"/"===t[0]&&"/"===t[1]){let e=t.indexOf("/",2);-1===e?(r=t.substring(2),t="/"):(r=t.substring(2,e),t=t.substring(e)||"/")}return new c("file",r,t,"","")}static from(e){let t=new c(e.scheme,e.authority,e.path,e.query,e.fragment);return s(t,!0),t}toString(e=!1){return m(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof l)return e;{let t=new c(e);return t._formatted=e.external,t._fsPath=e._sep===u?e.fsPath:null,t}}return e}}let u=e?1:void 0;class c extends l{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=p(this,!1)),this._fsPath}toString(e=!1){return e?m(this,!0):(this._formatted||(this._formatted=m(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let d={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function h(e,t,r){let n,i=-1;for(let a=0;a=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s||r&&91===s||r&&93===s||r&&58===s)-1!==i&&(n+=encodeURIComponent(e.substring(i,a)),i=-1),void 0!==n&&(n+=e.charAt(a));else{void 0===n&&(n=e.substr(0,a));let t=d[s];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,a)),i=-1),n+=t):-1===i&&(i=a)}}return -1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function f(e){let t;for(let r=0;r1&&"file"===t.scheme?`//${t.authority}${t.path}`:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&90>=t.path.charCodeAt(1)||t.path.charCodeAt(1)>=97&&122>=t.path.charCodeAt(1))&&58===t.path.charCodeAt(2)?r?t.path.substr(1):t.path[1].toLowerCase()+t.path.substr(2):t.path,e&&(n=n.replace(/\//g,"\\")),n}function m(e,t){let r=t?f:h,n="",{scheme:i,authority:a,path:s,query:o,fragment:l}=e;if(i&&(n+=i,n+=":"),(a||"file"===i)&&(n+="/",n+="/"),a){let e=a.indexOf("@");if(-1!==e){let t=a.substr(0,e);a=a.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=r(t,!1,!1):(n+=r(t.substr(0,e),!1,!1),n+=":",n+=r(t.substr(e+1),!1,!0)),n+="@"}-1===(e=(a=a.toLowerCase()).lastIndexOf(":"))?n+=r(a,!1,!0):(n+=r(a.substr(0,e),!1,!0),n+=a.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){let e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){let e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}n+=r(s,!0,!1)}return o&&(n+="?",n+=r(o,!1,!1)),l&&(n+="#",n+=t?l:h(l,!1,!1)),n}let g=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function y(e){return e.match(g)?e.replace(g,e=>(function e(t){try{return decodeURIComponent(t)}catch{return t.length>3?t.substr(0,3)+e(t.substr(3)):t}})(e)):e}var T,v,E=r(470);let R=E.posix||E;(T=v||(v={})).joinPath=function(e,...t){return e.with({path:R.join(e.path,...t)})},T.resolvePath=function(e,...t){let r=e.path,n=!1;"/"!==r[0]&&(r="/"+r,n=!0);let i=R.resolve(r,...t);return n&&"/"===i[0]&&!e.authority&&(i=i.substring(1)),e.with({path:i})},T.dirname=function(e){if(0===e.path.length||"/"===e.path)return e;let t=R.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)&&(t=""),e.with({path:t})},T.basename=function(e){return R.basename(e.path)},T.extname=function(e){return R.extname(e.path)}})(),nE=n})();let{URI:ln,Utils:li}=nE;(t1=nR||(nR={})).basename=li.basename,t1.dirname=li.dirname,t1.extname=li.extname,t1.joinPath=li.joinPath,t1.resolvePath=li.resolvePath,t1.equals=function(e,t){return(null==e?void 0:e.toString())===(null==t?void 0:t.toString())},t1.relative=function(e,t){let r="string"==typeof e?e:e.path,n="string"==typeof t?t:t.path,i=r.split("/").filter(e=>e.length>0),a=n.split("/").filter(e=>e.length>0),s=0;for(;snull!=r?r:r=nv.create(e.toString(),n.getServices(e).LanguageMetaData.languageId,0,null!=t?t:"")}}class ls{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return p(this.documentMap.values())}addDocument(e){let t=e.uri.toString();if(this.documentMap.has(t))throw Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){let t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let r=this.getDocument(e);return r?r:(r=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(r),r)}createDocument(e,t,r){if(r)return this.langiumDocumentFactory.fromString(t,e,r).then(e=>(this.addDocument(e),e));{let r=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(r),r}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){let t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=nA.Changed,r.precomputedScopes=void 0,r.references=[],r.diagnostics=void 0),r}deleteDocument(e){let t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=nA.Changed,this.documentMap.delete(t)),r}}class lo{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=o2.CancellationToken.None){for(let r of eA(e.parseResult.value))await o5(t),eI(r).forEach(t=>this.doLink(t,e))}doLink(e,t){let r=e.reference;if(void 0===r._ref)try{let t=this.getCandidate(e);if(a(t))r._ref=t;else if(r._nodeDescription=t,this.langiumDocuments().hasDocument(t.documentUri)){let n=this.loadAstNode(t);r._ref=null!=n?n:this.createLinkingError(e,t)}}catch(t){r._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${r.$refText}': ${t}`})}t.references.push(r)}unlink(e){for(let t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){let t=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return null!=t?t:this.createLinkingError(e)}buildReference(e,t,r,i){let s=this,o={$refNode:r,$refText:i,get ref(){var l,u;if(n(this._ref))return this._ref;if("object"==typeof(u=this._nodeDescription)&&null!==u&&"string"==typeof u.name&&"string"==typeof u.type&&"string"==typeof u.path){let r=s.loadAstNode(this._nodeDescription);this._ref=null!=r?r:s.createLinkingError({reference:o,container:e,property:t},this._nodeDescription)}else if(void 0===this._ref){let r=s.getLinkedNode({reference:o,container:e,property:t});if(r.error&&ev(e).state=e.end)return t.ref}}if(r){let t=this.nameProvider.getNameNode(r);if(t&&(t===e||function(e,t){for(;e.container;)if((e=e.container)===t)return!0;return!1}(e,t)))return r}}}findDeclarationNode(e){let t=this.findDeclaration(e);if(null==t?void 0:t.$cstNode){let e=this.nameProvider.getNameNode(t);return null!=e?e:t.$cstNode}}findReferences(e,t){let r=[];if(t.includeDeclaration){let t=this.getReferenceToSelf(e);t&&r.push(t)}let n=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(n=n.filter(e=>nR.equals(e.sourceUri,t.documentUri))),r.push(...n),p(r)}getReferenceToSelf(e){let t=this.nameProvider.getNameNode(e);if(t){let r=ev(e),n=this.nodeLocator.getAstNodePath(e);return{sourceUri:r.uri,sourcePath:n,targetUri:r.uri,targetPath:n,segment:T(t),local:!0}}}}class lc{constructor(e){if(this.map=new Map,e)for(let[t,r]of e)this.add(t,r)}get size(){return t5.sum(p(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,t){if(void 0===t)return this.map.delete(e);{let r=this.map.get(e);if(r){let n=r.indexOf(t);if(n>=0)return 1===r.length?this.map.delete(e):r.splice(n,1),!0}return!1}}get(e){var t;return null!==(t=this.map.get(e))&&void 0!==t?t:[]}has(e,t){if(void 0===t)return this.map.has(e);{let r=this.map.get(e);return!!r&&r.indexOf(t)>=0}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach((t,r)=>t.forEach(t=>e(t,r,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return p(this.map.entries()).flatMap(([e,t])=>t.map(t=>[e,t]))}keys(){return p(this.map.keys())}values(){return p(this.map.values()).flat()}entriesGroupedByKey(){return p(this.map.entries())}}class ld{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(let[t,r]of e)this.set(t,r)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){let t=this.map.get(e);return void 0!==t&&(this.map.delete(e),this.inverse.delete(t),!0)}}class lh{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=o2.CancellationToken.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,r=eE,n=o2.CancellationToken.None){let i=[];for(let a of(this.exportNode(e,i,t),r(e)))await o5(n),this.exportNode(a,i,t);return i}exportNode(e,t,r){let n=this.nameProvider.getName(e);n&&t.push(this.descriptions.createDescription(e,n,r))}async computeLocalScopes(e,t=o2.CancellationToken.None){let r=e.parseResult.value,n=new lc;for(let i of eR(r))await o5(t),this.processNode(i,e,n);return n}processNode(e,t,r){let n=e.$container;if(n){let i=this.nameProvider.getName(e);i&&r.add(n,this.descriptions.createDescription(e,i,t))}}}class lf{constructor(e,t,r){var n;this.elements=e,this.outerScope=t,this.caseInsensitive=null!==(n=null==r?void 0:r.caseInsensitive)&&void 0!==n&&n}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){let t=this.caseInsensitive?this.elements.find(t=>t.name.toLowerCase()===e.toLowerCase()):this.elements.find(t=>t.name===e);return t?t:this.outerScope?this.outerScope.getElement(e):void 0}}class lp{constructor(e,t,r){var n;for(let t of(this.elements=new Map,this.caseInsensitive=null!==(n=null==r?void 0:r.caseInsensitive)&&void 0!==n&&n,e)){let e=this.caseInsensitive?t.name.toLowerCase():t.name;this.elements.set(e,t)}this.outerScope=t}getElement(e){let t=this.caseInsensitive?e.toLowerCase():e,r=this.elements.get(t);return r?r:this.outerScope?this.outerScope.getElement(e):void 0}getAllElements(){let e=p(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class lm{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw Error("This cache has already been disposed")}}class lg extends lm{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(!!t){let r=t();return this.cache.set(e,r),r}}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class ly extends lm{constructor(e){super(),this.cache=new Map,this.converter=null!=e?e:e=>e}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,r){this.throwIfDisposed(),this.cacheForContext(e).set(t,r)}get(e,t,r){this.throwIfDisposed();let n=this.cacheForContext(e);if(n.has(t))return n.get(t);if(!!r){let e=r();return n.set(t,e),e}}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){let t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){let t=this.converter(e),r=this.cache.get(t);return!r&&(r=new Map,this.cache.set(t,r)),r}}class lT extends lg{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}class lv{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new lT(e.shared)}getScope(e){let t=[],r=this.reflection.getReferenceType(e),n=ev(e.container).precomputedScopes;if(n){let i=e.container;do{let e=n.get(i);e.length>0&&t.push(p(e).filter(e=>this.reflection.isSubtype(e.type,r))),i=i.$container}while(i)}let i=this.getGlobalScope(r,e);for(let e=t.length-1;e>=0;e--)i=this.createScope(t[e],i);return i}createScope(e,t,r){return new lf(p(e),t,r)}createScopeForNodes(e,t,r){return new lf(p(e).map(e=>{let t=this.nameProvider.getName(e);if(t)return this.descriptions.createDescription(e,t)}).nonNullable(),t,r)}getGlobalScope(e,t){return this.globalScopeCache.get(e,()=>new lp(this.indexManager.allElements(e)))}}function lE(e){return"object"==typeof e&&!!e&&("$ref"in e||"$error"in e)}class lR{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){let r=null==t?void 0:t.replacer,n=(e,r)=>this.replacer(e,r,t),i=r?(e,t)=>r(e,t,n):n;try{return this.currentDocument=ev(e),JSON.stringify(e,i,null==t?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){let r=JSON.parse(e);return this.linkNode(r,r,t),r}replacer(e,t,{refText:r,sourceText:a,textRegions:s,comments:o,uriConverter:l}){var u,c,d,h;if(!this.ignoreProperties.has(e)){if(i(t)){let e=t.ref,n=r?t.$refText:void 0;if(!e)return{$error:null!==(c=null===(u=t.error)||void 0===u?void 0:u.message)&&void 0!==c?c:"Could not resolve reference",$refText:n};{let r=ev(e),i="";this.currentDocument&&this.currentDocument!==r&&(i=l?l(r.uri,t):r.uri.toString());let a=this.astNodeLocator.getAstNodePath(e);return{$ref:`${i}#${a}`,$refText:n}}}if(!n(t))return t;else{let r;if(s&&(r=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),(!e||t.$document)&&(null==r?void 0:r.$textRegion)&&(r.$textRegion.documentURI=null===(d=this.currentDocument)||void 0===d?void 0:d.uri.toString())),a&&!e&&(null!=r||(r=Object.assign({},t)),r.$sourceText=null===(h=t.$cstNode)||void 0===h?void 0:h.text),o){null!=r||(r=Object.assign({},t));let e=this.commentProvider.getComment(t);e&&(r.$comment=e.replace(/\r/g,""))}return null!=r?r:t}}}addAstNodeRegionWithAssignmentsTo(e){let t=e=>({offset:e.offset,end:e.end,length:e.length,range:e.range});if(e.$cstNode){let r=(e.$textRegion=t(e.$cstNode)).assignments={};return Object.keys(e).filter(e=>!e.startsWith("$")).forEach(n=>{var i,a;let s=(i=e.$cstNode,a=n,i&&a?eW(i,a,i.astNode,!0):[]).map(t);0!==s.length&&(r[n]=s)}),e}}linkNode(e,t,r,i,a,s){for(let[i,a]of Object.entries(e))if(Array.isArray(a))for(let s=0;s{try{await e.call(t,r,n,i)}catch(t){if(t===o7)throw t;console.error("An error occurred during validation:",t);let e=t instanceof Error?t.message:String(t);t instanceof Error&&t.stack&&console.error(t.stack),n("error","An error occurred during validation: "+e,{node:r})}}}addEntry(e,t){if("AstNode"===e){this.entries.add("AstNode",t);return}for(let r of this.reflection.getAllSubTypes(e))this.entries.add(r,t)}getChecks(e,t){let r=p(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(r=r.filter(e=>t.includes(e.category))),r.map(e=>e.check)}}class lx{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},r=o2.CancellationToken.None){let n=e.parseResult,i=[];if(await o5(r),!t.categories||t.categories.includes("built-in")){if(this.processLexingErrors(n,i,t),t.stopAfterLexingErrors&&i.some(e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===nI.LexingError}))return i;if(this.processParsingErrors(n,i,t),t.stopAfterParsingErrors&&i.some(e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===nI.ParsingError}))return i;if(this.processLinkingErrors(e,i,t),t.stopAfterLinkingErrors&&i.some(e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===nI.LinkingError}))return i}try{i.push(...await this.validateAst(n.value,t,r))}catch(e){if(e===o7)throw e;console.error("An error occurred during validation:",e)}return await o5(r),i}processLexingErrors(e,t,r){for(let r of e.lexerErrors){let e={severity:lS("error"),range:{start:{line:r.line-1,character:r.column-1},end:{line:r.line-1,character:r.column+r.length-1}},message:r.message,data:{code:nI.LexingError},source:this.getSource()};t.push(e)}}processParsingErrors(e,t,r){for(let r of e.parserErrors){let e;if(isNaN(r.token.startOffset)){if("previousToken"in r){let t=r.previousToken;if(isNaN(t.startOffset)){let t={line:0,character:0};e={start:t,end:t}}else{let r={line:t.endLine-1,character:t.endColumn};e={start:r,end:r}}}}else e=y(r.token);if(e){let n={severity:lS("error"),range:e,message:r.message,data:{code:nI.ParsingError},source:this.getSource()};t.push(n)}}}processLinkingErrors(e,t,r){for(let r of e.references){let e=r.error;if(e){let r={node:e.container,property:e.property,index:e.index,data:{code:nI.LinkingError,containerType:e.container.$type,property:e.property,refText:e.reference.$refText}};t.push(this.toDiagnostic("error",e.message,r))}}}async validateAst(e,t,r=o2.CancellationToken.None){let n=[],i=(e,t,r)=>{n.push(this.toDiagnostic(e,t,r))};return await Promise.all(eA(e).map(async e=>{for(let n of(await o5(r),this.validationRegistry.getChecks(e.$type,t.categories)))await n(e,i,r)})),n}toDiagnostic(e,t,r){return{message:t,range:function(e){let t;return e.range?e.range:("string"==typeof e.property?t=eV(e.node.$cstNode,e.property,e.index):"string"==typeof e.keyword&&(t=function(e,t,r){if(!e)return;let n=function(e,t,r){let n;if(e.astNode!==r)return[];if(en(e.grammarSource)&&e.grammarSource.value===t)return[e];let i=g(e).iterator(),a=[];do if(!(n=i.next()).done){let e=n.value;e.astNode===r?en(e.grammarSource)&&e.grammarSource.value===t&&a.push(e):i.prune()}while(!n.done);return a}(e,t,null==e?void 0:e.astNode);if(0!==n.length)return r=void 0!==r?Math.max(0,Math.min(r,n.length-1)):0,n[r]}(e.node.$cstNode,e.keyword,e.index)),null!=t||(t=e.node.$cstNode),t)?t.range:{start:{line:0,character:0},end:{line:0,character:0}}}(r),severity:lS(e),code:r.code,codeDescription:r.codeDescription,tags:r.tags,relatedInformation:r.relatedInformation,data:r.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function lS(e){switch(e){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw Error("Invalid diagnostic severity: "+e)}}(t4=nI||(nI={})).LexingError="lexing-error",t4.ParsingError="parsing-error",t4.LinkingError="linking-error";class lN{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,r=ev(e)){let n;null!=t||(t=this.nameProvider.getName(e));let i=this.astNodeLocator.getAstNodePath(e);if(!t)throw Error(`Node at path ${i} has no name.`);let a=()=>{var t;return null!=n?n:n=T(null!==(t=this.nameProvider.getNameNode(e))&&void 0!==t?t:e.$cstNode)};return{node:e,name:t,get nameSegment(){return a()},selectionSegment:T(e.$cstNode),type:e.$type,documentUri:r.uri,path:i}}}class lC{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=o2.CancellationToken.None){let r=[];for(let n of eA(e.parseResult.value))await o5(t),eI(n).filter(e=>!a(e)).forEach(e=>{let t=this.createDescription(e);t&&r.push(t)});return r}createDescription(e){let t=e.reference.$nodeDescription,r=e.reference.$refNode;if(!t||!r)return;let n=ev(e.container).uri;return{sourceUri:n,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:T(r),local:nR.equals(t.documentUri,n)}}}class l${constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){let t=this.getAstNodePath(e.$container),r=this.getPathSegment(e);return t+this.segmentSeparator+r}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw Error("Missing '$containerProperty' in AST node.");return void 0!==t?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce((e,t)=>{if(!e||0===t.length)return e;let r=t.indexOf(this.indexSeparator);if(r>0){let n=t.substring(0,r),i=parseInt(t.substring(r+1)),a=e[n];return null==a?void 0:a[i]}return e[t]},e)}}class lL{constructor(e){this._ready=new o9,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,r;this.workspaceConfig=null!==(r=null===(t=e.capabilities.workspace)||void 0===t?void 0:t.configuration)&&void 0!==r&&r}async initialized(e){if(this.workspaceConfig){if(e.register){let t=this.serviceRegistry.all;e.register({section:t.map(e=>this.toSectionName(e.LanguageMetaData.languageId))})}if(e.fetchConfiguration){let t=this.serviceRegistry.all.map(e=>({section:this.toSectionName(e.LanguageMetaData.languageId)})),r=await e.fetchConfiguration(t);t.forEach((e,t)=>{this.updateSectionConfiguration(e.section,r[t])})}}this._ready.resolve()}updateConfiguration(e){if(!!e.settings)Object.keys(e.settings).forEach(t=>{this.updateSectionConfiguration(t,e.settings[t])})}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;let r=this.toSectionName(e);if(this.settings[r])return this.settings[r][t]}toSectionName(e){return`${e}`}}(nx||(nx={})).create=function(e){return{dispose:async()=>await e()}};class lw{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new lc,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=nA.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},r=o2.CancellationToken.None){var n,i;for(let r of e){let e=r.uri.toString();if(r.state===nA.Validated){if("boolean"==typeof t.validation&&t.validation)r.state=nA.IndexedReferences,r.diagnostics=void 0,this.buildState.delete(e);else if("object"==typeof t.validation){let a=this.buildState.get(e),s=null===(n=null==a?void 0:a.result)||void 0===n?void 0:n.validationChecks;if(s){let n=(null!==(i=t.validation.categories)&&void 0!==i?i:nk.all).filter(e=>!s.includes(e));n.length>0&&(this.buildState.set(e,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:n})},result:a.result}),r.state=nA.IndexedReferences)}}}else this.buildState.delete(e)}this.currentState=nA.Changed,await this.emitUpdate(e.map(e=>e.uri),[]),await this.buildDocuments(e,t,r)}async update(e,t,r=o2.CancellationToken.None){for(let e of(this.currentState=nA.Changed,t))this.langiumDocuments.deleteDocument(e),this.buildState.delete(e.toString()),this.indexManager.remove(e);for(let t of e){if(!this.langiumDocuments.invalidateDocument(t)){let e=this.langiumDocumentFactory.fromModel({$type:"INVALID"},t);e.state=nA.Changed,this.langiumDocuments.addDocument(e)}this.buildState.delete(t.toString())}let n=p(e).concat(t).map(e=>e.toString()).toSet();this.langiumDocuments.all.filter(e=>!n.has(e.uri.toString())&&this.shouldRelink(e,n)).forEach(e=>{this.serviceRegistry.getServices(e.uri).references.Linker.unlink(e),e.state=Math.min(e.state,nA.ComputedScopes),e.diagnostics=void 0}),await this.emitUpdate(e,t),await o5(r);let i=this.langiumDocuments.all.filter(e=>{var t;return e.stater(e,t)))}shouldRelink(e,t){return!!e.references.some(e=>void 0!==e.error)||this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),nx.create(()=>{let t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)})}async buildDocuments(e,t,r){this.prepareBuild(e,t),await this.runCancelable(e,nA.Parsed,r,e=>this.langiumDocumentFactory.update(e,r)),await this.runCancelable(e,nA.IndexedContent,r,e=>this.indexManager.updateContent(e,r)),await this.runCancelable(e,nA.ComputedScopes,r,async e=>{let t=this.serviceRegistry.getServices(e.uri).references.ScopeComputation;e.precomputedScopes=await t.computeLocalScopes(e,r)}),await this.runCancelable(e,nA.Linked,r,e=>this.serviceRegistry.getServices(e.uri).references.Linker.link(e,r)),await this.runCancelable(e,nA.IndexedReferences,r,e=>this.indexManager.updateReferences(e,r));let n=e.filter(e=>this.shouldValidate(e));for(let t of(await this.runCancelable(n,nA.Validated,r,e=>this.validate(e,r)),e)){let e=this.buildState.get(t.uri.toString());e&&(e.completed=!0)}}prepareBuild(e,t){for(let r of e){let e=r.uri.toString(),n=this.buildState.get(e);(!n||n.completed)&&this.buildState.set(e,{completed:!1,options:t,result:null==n?void 0:n.result})}}async runCancelable(e,t,r,n){let i=e.filter(e=>e.state{this.buildPhaseListeners.delete(e,t)})}waitUntil(e,t,r){let n;if(t&&"path"in t?n=t:r=t,null!=r||(r=o2.CancellationToken.None),n){let t=this.langiumDocuments.getDocument(n);if(t&&t.state>e)return Promise.resolve(n)}return this.currentState>=e?Promise.resolve(void 0):r.isCancellationRequested?Promise.reject(o7):new Promise((t,i)=>{let a=this.onBuildPhase(e,()=>{if(a.dispose(),s.dispose(),n){let e=this.langiumDocuments.getDocument(n);t(null==e?void 0:e.uri)}else t(void 0)}),s=r.onCancellationRequested(()=>{a.dispose(),s.dispose(),i(o7)})})}async notifyBuildPhase(e,t,r){if(0!==e.length)for(let n of this.buildPhaseListeners.get(t))await o5(r),await n(e,r)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,t){var r,n;let i=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,a=this.getBuildOptions(e).validation,s="object"==typeof a?a:void 0,o=await i.validateDocument(e,s,t);e.diagnostics?e.diagnostics.push(...o):e.diagnostics=o;let l=this.buildState.get(e.uri.toString());if(l){null!==(r=l.result)&&void 0!==r||(l.result={});let e=null!==(n=null==s?void 0:s.categories)&&void 0!==n?n:nk.all;l.result.validationChecks?l.result.validationChecks.push(...e):l.result.validationChecks=[...e]}}getBuildOptions(e){var t,r;return null!==(r=null===(t=this.buildState.get(e.uri.toString()))||void 0===t?void 0:t.options)&&void 0!==r?r:{}}}class lb{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new ly,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){let r=ev(e).uri,n=[];return this.referenceIndex.forEach(e=>{e.forEach(e=>{nR.equals(e.targetUri,r)&&e.targetPath===t&&n.push(e)})}),p(n)}allElements(e,t){let r=p(this.symbolIndex.keys());return t&&(r=r.filter(e=>!t||t.has(e))),r.map(t=>this.getFileDescriptions(t,e)).flat()}getFileDescriptions(e,t){var r;return t?this.symbolByTypeIndex.get(e,t,()=>{var r;return(null!==(r=this.symbolIndex.get(e))&&void 0!==r?r:[]).filter(e=>this.astReflection.isSubtype(e.type,t))}):null!==(r=this.symbolIndex.get(e))&&void 0!==r?r:[]}remove(e){let t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=o2.CancellationToken.None){let r=this.serviceRegistry.getServices(e.uri),n=await r.references.ScopeComputation.computeExports(e,t),i=e.uri.toString();this.symbolIndex.set(i,n),this.symbolByTypeIndex.clear(i)}async updateReferences(e,t=o2.CancellationToken.None){let r=this.serviceRegistry.getServices(e.uri),n=await r.workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),n)}isAffected(e,t){let r=this.referenceIndex.get(e.uri.toString());return!!r&&r.some(e=>!e.local&&t.has(e.targetUri.toString()))}}class lO{constructor(e){this.initialBuildOptions={},this._ready=new o9,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=null!==(t=e.workspaceFolders)&&void 0!==t?t:void 0}initialized(e){return this.mutex.write(e=>{var t;return this.initializeWorkspace(null!==(t=this.folders)&&void 0!==t?t:[],e)})}async initializeWorkspace(e,t=o2.CancellationToken.None){let r=await this.performStartup(e);await o5(t),await this.documentBuilder.build(r,this.initialBuildOptions,t)}async performStartup(e){let t=this.serviceRegistry.all.flatMap(e=>e.LanguageMetaData.fileExtensions),r=[],n=e=>{r.push(e),!this.langiumDocuments.hasDocument(e.uri)&&this.langiumDocuments.addDocument(e)};return await this.loadAdditionalDocuments(e,n),await Promise.all(e.map(e=>[e,this.getRootFolder(e)]).map(async e=>this.traverseFolder(...e,t,n))),this._ready.resolve(),r}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return ln.parse(e.uri)}async traverseFolder(e,t,r,n){let i=await this.fileSystemProvider.readDirectory(t);await Promise.all(i.map(async t=>{this.includeEntry(e,t,r)&&(t.isDirectory?await this.traverseFolder(e,t.uri,r,n):t.isFile&&n(await this.langiumDocuments.getOrCreateDocument(t.uri)))}))}includeEntry(e,t,r){let n=nR.basename(t.uri);if(n.startsWith("."))return!1;if(t.isDirectory)return"node_modules"!==n&&"out"!==n;if(t.isFile){let e=nR.extname(t.uri);return r.includes(e)}return!1}}class l_{constructor(e){let t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);let r=lM(t)?Object.values(t):t;this.chevrotainLexer=new a$(r,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;let r=this.chevrotainLexer.tokenize(e);return{tokens:r.tokens,errors:r.errors,hidden:null!==(t=r.groups.hidden)&&void 0!==t?t:[]}}toTokenTypeDictionary(e){if(lM(e))return e;let t=lP(e)?Object.values(e.modes).flat():e,r={};return t.forEach(e=>r[e.name]=e),r}}function lP(e){return e&&"modes"in e&&"defaultMode"in e}function lM(e){var t;return!(Array.isArray(t=e)&&(0===t.length||"name"in t[0]))&&!lP(e)}function lD(e){let t="";return(t="string"==typeof e?e:e.text).split(eU)}let lZ=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,lU=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu,lF=/\S/,lG=/\s*$/;function lB(e,t){let r=e.substring(t).match(lF);return r?t+r.index:e.length}function lK(e){let t=e.tokens[e.index],r=t,n=t,i=[];for(;t&&"break"!==t.type&&"tag"!==t.type;)i.push(function(e){return"inline-tag"===e.tokens[e.index].type?lj(e,!0):lV(e)}(e)),n=t,t=e.tokens[e.index];return new lq(i,ro.create(r.range.start,n.range.end))}function lj(e,t){let r=e.tokens[e.index++],n=r.content.substring(1),i=e.tokens[e.index];if((null==i?void 0:i.type)==="text"){if(t){let i=lV(e);return new lY(n,new lq([i],i.range),t,ro.create(r.range.start,i.range.end))}{let i=lK(e);return new lY(n,i,t,ro.create(r.range.start,i.range.end))}}{let e=r.range;return new lY(n,new lq([],e),t,e)}}function lV(e){let t=e.tokens[e.index++];return new lX(t.content,t.range)}function lW(e){if(!e)return lW({start:"/**",end:"*/",line:"*"});let{start:t,end:r,line:n}=e;return{start:lH(t,!0),end:lH(r,!1),line:lH(n,!0)}}function lH(e,t){if("string"!=typeof e&&"object"!=typeof e)return e;{let r="string"==typeof e?eK(e):e.source;return t?RegExp(`^\\s*${r}`):RegExp(`\\s*${r}\\s*$`)}}class lz{constructor(e,t){this.elements=e,this.range=t}getTag(e){return this.getAllTags().find(t=>t.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(let t of this.elements)if(0===e.length)e=t.toString();else{let r=t.toString();e+=lQ(e)+r}return e.trim()}toMarkdown(e){let t="";for(let r of this.elements)if(0===t.length)t=r.toMarkdown(e);else{let n=r.toMarkdown(e);t+=lQ(t)+n}return t.trim()}}class lY{constructor(e,t,r,n){this.name=e,this.content=t,this.inline=r,this.range=n}toString(){let e=`@${this.name}`,t=this.content.toString();return(1===this.content.inlines.length?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e} +${t}`),this.inline)?`{${e}}`:e}toMarkdown(e){var t,r;return null!==(r=null===(t=null==e?void 0:e.renderTag)||void 0===t?void 0:t.call(e,this))&&void 0!==r?r:this.toMarkdownDefault(e)}toMarkdownDefault(e){let t=this.content.toMarkdown(e);if(this.inline){let r=function(e,t,r){var n,i;if("linkplain"===e||"linkcode"===e||"link"===e){let a=t.indexOf(" "),s=t;if(a>0){let e=lB(t,a);s=t.substring(e),t=t.substring(0,a)}return("linkcode"===e||"link"===e&&"code"===r.link)&&(s=`\`${s}\``),null!==(i=null===(n=r.renderLink)||void 0===n?void 0:n.call(r,t,s))&&void 0!==i?i:function(e,t){try{return ln.parse(e,!0),`[${t}](${e})`}catch(t){return e}}(t,s)}}(this.name,t,null!=e?e:{});if("string"==typeof r)return r}let r="";(null==e?void 0:e.tag)==="italic"||(null==e?void 0:e.tag)===void 0?r="*":(null==e?void 0:e.tag)==="bold"?r="**":(null==e?void 0:e.tag)==="bold-italic"&&(r="***");let n=`${r}@${this.name}${r}`;return(1===this.content.inlines.length?n=`${n} \u{2014} ${t}`:this.content.inlines.length>1&&(n=`${n} +${t}`),this.inline)?`{${n}}`:n}}class lq{constructor(e,t){this.inlines=e,this.range=t}toString(){let e="";for(let t=0;tr.range.start.line&&(e+="\n")}return e}toMarkdown(e){let t="";for(let r=0;rn.range.start.line&&(t+="\n")}return t}}class lX{constructor(e,t){this.text=e,this.range=t}toString(){return this.text}toMarkdown(){return this.text}}function lQ(e){return e.endsWith("\n")?"\n":"\n\n"}class lJ{constructor(e){this.indexManager=e.shared.workspace.IndexManager,this.commentProvider=e.documentation.CommentProvider}getDocumentation(e){let t=this.commentProvider.getComment(e);if(t&&function(e,t){let r=lW(void 0),n=lD(e);if(0===n.length)return!1;let i=n[0],a=n[n.length-1],s=r.start,o=r.end;return!!(null==s?void 0:s.exec(i))&&!!(null==o?void 0:o.exec(a))}(t))return(function(e,t,r){let n,i;"string"==typeof e?(i=void 0,n=void 0):(i=e.range.start,n=t),!i&&(i=rs.create(0,0));let a=lD(e);return function(e){var t,r,n,i;let a=rs.create(e.position.line,e.position.character);if(0===e.tokens.length)return new lz([],ro.create(a,a));let s=[];for(;e.index=c.length){if(i.length>0){let e=rs.create(a,s);i.push({type:"break",content:"",range:ro.create(e,e)})}}else{lZ.lastIndex=d;let e=lZ.exec(c);if(e){let t=e[0],r=e[1],n=rs.create(a,s+d),o=rs.create(a,s+d+t.length);i.push({type:"tag",content:r,range:ro.create(n,o)}),d+=t.length,d=lB(c,d)}if(d0&&i.push({type:"text",content:t.substring(a,e),range:ro.create(rs.create(r,a+n),rs.create(r,e+n))});let l=o.length+1,u=s[1];if(i.push({type:"inline-tag",content:u,range:ro.create(rs.create(r,a+l+n),rs.create(r,a+l+u.length+n))}),l+=u.length,4===s.length){l+=s[2].length;let e=s[3];i.push({type:"text",content:e,range:ro.create(rs.create(r,a+l+n),rs.create(r,a+l+e.length+n))})}else i.push({type:"text",content:"",range:ro.create(rs.create(r,a+l+n),rs.create(r,a+l+n))});a=e+s[0].length}let s=t.substring(a);s.length>0&&i.push({type:"text",content:s,range:ro.create(rs.create(r,a+n),rs.create(r,a+n+s.length))})}return i}(t,e,a,s+d))}}a++,s=0}return i.length>0&&"break"===i[i.length-1].type?i.slice(0,-1):i}({lines:a,position:i,options:lW(n)}),position:i})})(t).toMarkdown({renderLink:(t,r)=>this.documentationLinkRenderer(e,t,r),renderTag:t=>this.documentationTagRenderer(e,t)})}documentationLinkRenderer(e,t,r){var n;let i=null!==(n=this.findNameInPrecomputedScopes(e,t))&&void 0!==n?n:this.findNameInGlobalScope(e,t);if(!!i&&!!i.nameSegment){let e=i.nameSegment.range.start.line+1,t=i.nameSegment.range.start.character+1,n=i.documentUri.with({fragment:`L${e},${t}`});return`[${r}](${n.toString()})`}}documentationTagRenderer(e,t){}findNameInPrecomputedScopes(e,t){let r=ev(e).precomputedScopes;if(!r)return;let n=e;do{let e=r.get(n).find(e=>e.name===t);if(e)return e;n=n.$container}while(n)}findNameInGlobalScope(e,t){return this.indexManager.allElements().find(e=>e.name===t)}}class l0{constructor(e){this.grammarConfig=()=>e.parser.GrammarConfig}getComment(e){var t;return"string"==typeof e.$comment?e.$comment:null===(t=function(e,t){if(e){let r=function(e,t=!0){for(;e.container;){let r=e.container,n=r.content.indexOf(e);for(;n>0;){n--;let e=r.content[n];if(t||!e.hidden)return e}e=r}}(e,!0);if(r&&E(r,t))return r;if(u(e)){let r=e.content.findIndex(e=>!e.hidden);for(let n=r-1;n>=0;n--){let r=e.content[n];if(E(r,t))return r}}}}(e.$cstNode,this.grammarConfig().multilineCommentRules))||void 0===t?void 0:t.text}}r("27135");class l1{constructor(e){this.syncParser=e.parser.LangiumParser}parse(e){return Promise.resolve(this.syncParser.parse(e))}}class l2{constructor(){this.previousTokenSource=new o2.CancellationTokenSource,this.writeQueue=[],this.readQueue=[],this.done=!0}write(e){this.cancelWrite();let t=new o2.CancellationTokenSource;return this.previousTokenSource=t,this.enqueue(this.writeQueue,e,t.token)}read(e){return this.enqueue(this.readQueue,e)}enqueue(e,t,r){let n=new o9,i={action:t,deferred:n,cancellationToken:null!=r?r:o2.CancellationToken.None};return e.push(i),this.performNextOperation(),n.promise}async performNextOperation(){if(!this.done)return;let e=[];if(this.writeQueue.length>0)e.push(this.writeQueue.shift());else{if(!(this.readQueue.length>0))return;e.push(...this.readQueue.splice(0,this.readQueue.length))}this.done=!1,await Promise.all(e.map(async({action:e,deferred:t,cancellationToken:r})=>{try{let n=await Promise.resolve().then(()=>e(r));t.resolve(n)}catch(e){if(e===o7)t.resolve(void 0);else t.reject(e)}})),this.done=!0,this.performNextOperation()}cancelWrite(){this.previousTokenSource.cancel()}}class l4{constructor(e){this.grammarElementIdMap=new ld,this.tokenTypeIdMap=new ld,this.grammar=e.Grammar,this.lexer=e.parser.Lexer,this.linker=e.references.Linker}dehydrate(e){return{lexerErrors:e.lexerErrors.map(e=>Object.assign({},e)),parserErrors:e.parserErrors.map(e=>Object.assign({},e)),value:this.dehydrateAstNode(e.value,this.createDehyrationContext(e.value))}}createDehyrationContext(e){let t=new Map,r=new Map;for(let r of eA(e))t.set(r,{});if(e.$cstNode)for(let t of g(e.$cstNode))r.set(t,{});return{astNodes:t,cstNodes:r}}dehydrateAstNode(e,t){let r=t.astNodes.get(e);for(let[a,s]of(r.$type=e.$type,r.$containerIndex=e.$containerIndex,r.$containerProperty=e.$containerProperty,void 0!==e.$cstNode&&(r.$cstNode=this.dehydrateCstNode(e.$cstNode,t)),Object.entries(e))){if(!a.startsWith("$"))if(Array.isArray(s)){let e=[];for(let o of(r[a]=e,s))n(o)?e.push(this.dehydrateAstNode(o,t)):i(o)?e.push(this.dehydrateReference(o,t)):e.push(o)}else n(s)?r[a]=this.dehydrateAstNode(s,t):i(s)?r[a]=this.dehydrateReference(s,t):void 0!==s&&(r[a]=s)}return r}dehydrateReference(e,t){let r={};return r.$refText=e.$refText,e.$refNode&&(r.$refNode=t.cstNodes.get(e.$refNode)),r}dehydrateCstNode(e,t){let r=t.cstNodes.get(e);return u(e)?r.fullText=e.fullText:r.grammarSource=this.getGrammarElementId(e.grammarSource),r.hidden=e.hidden,r.astNode=t.astNodes.get(e.astNode),o(e)?r.content=e.content.map(e=>this.dehydrateCstNode(e,t)):l(e)&&(r.tokenType=e.tokenType.name,r.offset=e.offset,r.length=e.length,r.startLine=e.range.start.line,r.startColumn=e.range.start.character,r.endLine=e.range.end.line,r.endColumn=e.range.end.character),r}hydrate(e){let t=e.value,r=this.createHydrationContext(t);return"$cstNode"in t&&this.hydrateCstNode(t.$cstNode,r),{lexerErrors:e.lexerErrors,parserErrors:e.parserErrors,value:this.hydrateAstNode(t,r)}}createHydrationContext(e){let t;let r=new Map,n=new Map;for(let t of eA(e))r.set(t,{});if(e.$cstNode)for(let r of g(e.$cstNode)){let e;"fullText"in r?t=e=new oM(r.fullText):"content"in r?e=new o_:"tokenType"in r&&(e=this.hydrateCstLeafNode(r)),e&&(n.set(r,e),e.root=t)}return{astNodes:r,cstNodes:n}}hydrateAstNode(e,t){let r=t.astNodes.get(e);for(let[a,s]of(r.$type=e.$type,r.$containerIndex=e.$containerIndex,r.$containerProperty=e.$containerProperty,e.$cstNode&&(r.$cstNode=t.cstNodes.get(e.$cstNode)),Object.entries(e))){if(!a.startsWith("$"))if(Array.isArray(s)){let e=[];for(let o of(r[a]=e,s))n(o)?e.push(this.setParent(this.hydrateAstNode(o,t),r)):i(o)?e.push(this.hydrateReference(o,r,a,t)):e.push(o)}else n(s)?r[a]=this.setParent(this.hydrateAstNode(s,t),r):i(s)?r[a]=this.hydrateReference(s,r,a,t):void 0!==s&&(r[a]=s)}return r}setParent(e,t){return e.$container=t,e}hydrateReference(e,t,r,n){return this.linker.buildReference(t,r,n.cstNodes.get(e.$refNode),e.$refText)}hydrateCstNode(e,t,r=0){let n=t.cstNodes.get(e);if("number"==typeof e.grammarSource&&(n.grammarSource=this.getGrammarElement(e.grammarSource)),n.astNode=t.astNodes.get(e.astNode),o(n))for(let i of e.content){let e=this.hydrateCstNode(i,t,r++);n.content.push(e)}return n}hydrateCstLeafNode(e){let t=this.getTokenType(e.tokenType),r=e.offset,n=e.length,i=e.startLine,a=e.startColumn,s=e.endLine,o=e.endColumn;return new oO(r,n,{start:{line:i,character:a},end:{line:s,character:o}},t,e.hidden)}getTokenType(e){return this.lexer.definition[e]}getGrammarElementId(e){return 0===this.grammarElementIdMap.size&&this.createGrammarElementIdMap(),this.grammarElementIdMap.get(e)}getGrammarElement(e){0===this.grammarElementIdMap.size&&this.createGrammarElementIdMap();let t=this.grammarElementIdMap.getKey(e);if(t)return t;throw Error("Invalid grammar element id: "+e)}createGrammarElementIdMap(){let e=0;for(let r of eA(this.grammar)){var t;if(t=r,ey.isInstance(t,N))this.grammarElementIdMap.set(r,e++)}}}function l7(e){return{documentation:{CommentProvider:e=>new l0(e),DocumentationProvider:e=>new lJ(e)},parser:{AsyncParser:e=>new l1(e),GrammarConfig:e=>(function(e){let t=[];for(let n of e.Grammar.rules){var r;if(G(n)&&(r=n).hidden&&!eX(r).test(" ")&&function(e){try{return"string"==typeof e&&(e=new RegExp(e)),e=e.toString(),eG.reset(e),eG.visit(eF.pattern(e)),eG.multiline}catch(e){return!1}}(eX(n)))t.push(n.name)}return{multilineCommentRules:t,nameRegexp:v}})(e),LangiumParser:e=>(function(e){let t=function(e){let t=e.Grammar,r=e.parser.Lexer;return oH(t,new oG(e),r.definition)}(e);return t.finalize(),t})(e),CompletionParser:e=>(function(e){let t=e.Grammar,r=e.parser.Lexer,n=new oj(e);return oH(t,n,r.definition),n.finalize(),n})(e),ValueConverter:()=>new o1,TokenBuilder:()=>new o0,Lexer:e=>new l_(e),ParserErrorMessageProvider:()=>new oK},workspace:{AstNodeLocator:()=>new l$,AstNodeDescriptionProvider:e=>new lN(e),ReferenceDescriptionProvider:e=>new lC(e)},references:{Linker:e=>new lo(e),NameProvider:()=>new ll,ScopeProvider:e=>new lv(e),ScopeComputation:e=>new lh(e),References:e=>new lu(e)},serializer:{Hydrator:e=>new l4(e),JsonSerializer:e=>new lR(e)},validation:{DocumentValidator:e=>new lx(e),ValidationRegistry:e=>new lI(e)},shared:()=>e.shared}}function l3(e){return{ServiceRegistry:()=>new lA,workspace:{LangiumDocuments:e=>new ls(e),LangiumDocumentFactory:e=>new la(e),DocumentBuilder:e=>new lw(e),IndexManager:e=>new lb(e),WorkspaceManager:e=>new lO(e),FileSystemProvider:t=>e.fileSystemProvider(t),WorkspaceLock:()=>new l2,ConfigurationProvider:e=>new lL(e)}}}function l5(e,t,r,n,i,a,s,o,l){return l6([e,t,r,n,i,a,s,o,l].reduce(ut,{}))}(nS||(nS={})).merge=(e,t)=>ut(ut({},e),t);let l9=Symbol("isProxy");function l6(e,t){let r=new Proxy({},{deleteProperty:()=>!1,get:(n,i)=>ue(n,i,e,t||r),getOwnPropertyDescriptor:(n,i)=>(ue(n,i,e,t||r),Object.getOwnPropertyDescriptor(n,i)),has:(t,r)=>r in e,ownKeys:()=>[...Reflect.ownKeys(e),l9]});return r[l9]=!0,r}let l8=Symbol();function ue(e,t,r,n){if(t in e){if(e[t]instanceof Error)throw Error("Construction failure. Please make sure that your dependencies are constructable.",{cause:e[t]});if(e[t]===l8)throw Error('Cycle detected. Please make "'+String(t)+'" lazy. See https://langium.org/docs/configuration-services/#resolving-cyclic-dependencies');return e[t]}if(t in r){let i=r[t];e[t]=l8;try{e[t]="function"==typeof i?i(n):l6(i,n)}catch(r){throw e[t]=r instanceof Error?r:void 0,r}return e[t]}}function ut(e,t){if(t){for(let[r,n]of Object.entries(t))if(void 0!==n){let t=e[r];null!==t&&null!==n&&"object"==typeof t&&"object"==typeof n?e[r]=ut(t,n):e[r]=n}}return e}class ur{readFile(){throw Error("No file system is available.")}async readDirectory(){return[]}}let un={fileSystemProvider:()=>new ur},ui={Grammar:()=>void 0,LanguageMetaData:()=>({caseInsensitive:!1,fileExtensions:[".langium"],languageId:"langium"})},ua={AstReflection:()=>new eg};function us(e){var t;let r=function(){let e=l5(l3(un),ua),t=l5(l7({shared:e}),ui);return e.ServiceRegistry.register(t),t}(),n=r.serializer.JsonSerializer.deserialize(e);return r.shared.workspace.LangiumDocumentFactory.fromModel(n,ln.parse(`memory://${null!==(t=n.name)&&void 0!==t?t:"grammar"}.langium`)),n}},91201:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(2147);let i=function(e,t,r){for(var i=-1,a=e.length;++ic});var n=r("73722"),i=r("89774"),a=r("50949"),s=r("92383"),o=r("58641"),l=r("37706");let u=function(e,t,r,n){if(!(0,o.Z)(e))return e;t=(0,a.Z)(t,e);for(var u=-1,c=t.length,d=c-1,h=e;null!=h&&++u2?t[2]:void 0;for(u&&(0,a.Z)(t[0],t[1],u)&&(n=1);++rc});var n,i=r("69547"),a=r("71581"),s=r("87074"),o=r("81208"),l=r("59578"),u=Math.max;let c=(n=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var a=null==r?0:(0,l.Z)(r);return a<0&&(a=u(n+a,0)),(0,o.Z)(e,(0,i.Z)(t,3),a)},function(e,t,r){var o=Object(e);if(!(0,a.Z)(e)){var l=(0,i.Z)(t,3);e=(0,s.Z)(e),t=function(e){return l(o[e],e,o)}}var u=n(e,t,r);return u>-1?o[l?e[u]:u]:void 0})},71134:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(39446);let i=function(e){return(null==e?0:e.length)?(0,n.Z)(e,1):[]}},29072:function(e,t,r){r.d(t,{Z:()=>s});var n=Object.prototype.hasOwnProperty;let i=function(e,t){return null!=e&&n.call(e,t)};var a=r("87825");let s=function(e,t){return null!=e&&(0,a.Z)(e,t,i)}},27884:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(65182),i=r(31739),a=r(75887);let s=function(e){return"string"==typeof e||!(0,i.Z)(e)&&(0,a.Z)(e)&&"[object String]"==(0,n.Z)(e)}},59685:function(e,t,r){r.d(t,{Z:function(){return n}});let n=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},97345:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(96248),i=r(69547),a=r(10301),s=r(31739);let o=function(e,t){return((0,s.Z)(e)?n.Z:a.Z)(e,(0,i.Z)(t,3))}},50540:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(91201),i=r(23278),a=r(94675);let s=function(e){return e&&e.length?(0,n.Z)(e,a.Z,i.Z):void 0}},29116:function(e,t,r){r.d(t,{Z:()=>m});var n=/\s/;let i=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t};var a=/^\s+/,s=r("58641"),o=r("2147"),l=0/0,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt;let f=function(e){if("number"==typeof e)return e;if((0,o.Z)(e))return l;if((0,s.Z)(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=(0,s.Z)(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,i(t)+1).replace(a,""):t;var n=c.test(e);return n||d.test(e)?h(e.slice(2),n?2:8):u.test(e)?l:+e};var p=1/0;let m=function(e){return e?(e=f(e))===p||e===-p?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},59578:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(29116);let i=function(e){var t=(0,n.Z)(e),r=t%1;return t==t?r?t-r:t:0}}}]); \ No newline at end of file diff --git a/assets/js/393be207.07686eba.js b/assets/js/393be207.07686eba.js new file mode 100644 index 0000000..acd7a7c --- /dev/null +++ b/assets/js/393be207.07686eba.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9969"],{89958:function(e,n,t){t.r(n),t.d(n,{metadata:()=>a,contentTitle:()=>l,default:()=>d,assets:()=>s,toc:()=>i,frontMatter:()=>p});var a=JSON.parse('{"type":"mdx","permalink":"/nr-pies/markdown-page","source":"@site/src/pages/markdown-page.md","title":"Markdown page example","description":"Markdown page example","frontMatter":{"title":"Markdown page example"},"unlisted":false}'),r=t("85893"),o=t("50065");let p={title:"Markdown page example"},l=void 0,s={},i=[{value:"Markdown page example",id:"markdown-page-example",level:2}];function c(e){let n={h2:"h2",p:"p",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"markdown-page-example",children:"Markdown page example"}),"\n",(0,r.jsx)(n.p,{children:"You don't need React to write simple standalone pages."})]})}function d(e={}){let{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},50065:function(e,n,t){t.d(n,{Z:function(){return l},a:function(){return p}});var a=t(67294);let r={},o=a.createContext(r);function p(e){let n=a.useContext(o);return a.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:p(e.components),a.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/40a9f62a.62ef7fea.js b/assets/js/40a9f62a.62ef7fea.js new file mode 100644 index 0000000..af43773 --- /dev/null +++ b/assets/js/40a9f62a.62ef7fea.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3657"],{43422:function(s,e,t){t.r(e),t.d(e,{metadata:()=>n,contentTitle:()=>a,default:()=>l,assets:()=>u,toc:()=>c,frontMatter:()=>o});var n=JSON.parse('{"id":"docusaurus/tutorial_basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","source":"@site/docs/docusaurus/tutorial_basics/congratulations.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/congratulations","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/congratulations","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/congratulations.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":6,"frontMatter":{"sidebar_position":6},"sidebar":"tutorialSidebar","previous":{"title":"Deploy your site","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site"},"next":{"title":"Tutorial - Extras","permalink":"/nr-pies/docs/category/tutorial---extras"}}'),r=t("85893"),i=t("50065");let o={sidebar_position:6},a="Congratulations!",u={},c=[{value:"What's next?",id:"whats-next",level:2}];function d(s){let e={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.a)(),...s.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e.header,{children:(0,r.jsx)(e.h1,{id:"congratulations",children:"Congratulations!"})}),"\n",(0,r.jsxs)(e.p,{children:["You have just learned the ",(0,r.jsx)(e.strong,{children:"basics of Docusaurus"})," and made some changes to the ",(0,r.jsx)(e.strong,{children:"initial template"}),"."]}),"\n",(0,r.jsxs)(e.p,{children:["Docusaurus has ",(0,r.jsx)(e.strong,{children:"much more to offer"}),"!"]}),"\n",(0,r.jsxs)(e.p,{children:["Have ",(0,r.jsx)(e.strong,{children:"5 more minutes"}),"? Take a look at ",(0,r.jsx)(e.strong,{children:(0,r.jsx)(e.a,{href:"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions",children:"versioning"})})," and ",(0,r.jsx)(e.strong,{children:(0,r.jsx)(e.a,{href:"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site",children:"i18n"})}),"."]}),"\n",(0,r.jsxs)(e.p,{children:["Anything ",(0,r.jsx)(e.strong,{children:"unclear"})," or ",(0,r.jsx)(e.strong,{children:"buggy"})," in this tutorial? ",(0,r.jsx)(e.a,{href:"https://github.com/facebook/docusaurus/discussions/4610",children:"Please report it!"})]}),"\n",(0,r.jsx)(e.h2,{id:"whats-next",children:"What's next?"}),"\n",(0,r.jsxs)(e.ul,{children:["\n",(0,r.jsxs)(e.li,{children:["Read the ",(0,r.jsx)(e.a,{href:"https://docusaurus.io/",children:"official documentation"})]}),"\n",(0,r.jsxs)(e.li,{children:["Modify your site configuration with ",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/api/docusaurus-config",children:(0,r.jsx)(e.code,{children:"docusaurus.config.js"})})]}),"\n",(0,r.jsxs)(e.li,{children:["Add navbar and footer items with ",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/api/themes/configuration",children:(0,r.jsx)(e.code,{children:"themeConfig"})})]}),"\n",(0,r.jsxs)(e.li,{children:["Add a custom ",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/styling-layout",children:"Design and Layout"})]}),"\n",(0,r.jsxs)(e.li,{children:["Add a ",(0,r.jsx)(e.a,{href:"https://docusaurus.io/docs/search",children:"search bar"})]}),"\n",(0,r.jsxs)(e.li,{children:["Find inspirations in the ",(0,r.jsx)(e.a,{href:"https://docusaurus.io/showcase",children:"Docusaurus showcase"})]}),"\n",(0,r.jsxs)(e.li,{children:["Get involved in the ",(0,r.jsx)(e.a,{href:"https://docusaurus.io/community/support",children:"Docusaurus Community"})]}),"\n"]})]})}function l(s={}){let{wrapper:e}={...(0,i.a)(),...s.components};return e?(0,r.jsx)(e,{...s,children:(0,r.jsx)(d,{...s})}):d(s)}},50065:function(s,e,t){t.d(e,{Z:function(){return a},a:function(){return o}});var n=t(67294);let r={},i=n.createContext(r);function o(s){let e=n.useContext(i);return n.useMemo(function(){return"function"==typeof s?s(e):{...e,...s}},[e,s])}function a(s){let e;return e=s.disableParentContext?"function"==typeof s.components?s.components(r):s.components||r:o(s.components),n.createElement(i.Provider,{value:e},s.children)}}}]); \ No newline at end of file diff --git a/assets/js/4294.327c1ce5.js b/assets/js/4294.327c1ce5.js new file mode 100644 index 0000000..b29cbbb --- /dev/null +++ b/assets/js/4294.327c1ce5.js @@ -0,0 +1,101 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4294"],{71639:function(e,t,n){"use strict";e.exports=n(29281)},47114:function(e,t,n){"use strict";var i=n(85670),r={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(r.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&7>=i.isMsie()&&i.mixin(r.input,{marginTop:"-1px"}),e.exports=r},13312:function(e,t,n){"use strict";var i="aaDataset",r="aaValue",s="aaDatum",o=n(85670),a=n(33855),u=n(26619),c=n(47114),l=n(6823);function h(e){(e=e||{}).templates=e.templates||{},!e.source&&o.error("missing source"),e.name&&!function(e){return/^[_a-zA-Z0-9-]+$/.test(e)}(e.name)&&o.error("invalid dataset name: "+e.name),this.query=null,this._isEmpty=!0,this.highlight=!!e.highlight,this.name=void 0===e.name||null===e.name?o.getUniqueId():e.name,this.source=e.source,this.displayFn=function(e){return e=e||"value",o.isFunction(e)?e:function(t){return t[e]}}(e.display||e.displayKey),this.debounce=e.debounce,this.cache=!1!==e.cache,this.templates=function(e,t){return{empty:e.empty&&o.templatify(e.empty),header:e.header&&o.templatify(e.header),footer:e.footer&&o.templatify(e.footer),suggestion:e.suggestion||function(e){return"

    "+t(e)+"

    "}}}(e.templates,this.displayFn),this.css=o.mixin({},c,e.appendTo?c.appendTo:{}),this.cssClasses=e.cssClasses=o.mixin({},c.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var t=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=e.$menu&&e.$menu.find(t+"-"+this.name).length>0?a.element(e.$menu.find(t+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=e.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(e){return a.element(e).data(i)},h.extractValue=function(e){return a.element(e).data(r)},h.extractDatum=function(e){var t=a.element(e).data(s);return"string"==typeof t&&(t=JSON.parse(t)),t},o.mixin(h.prototype,l,{_render:function(e,t){if(!!this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=t&&t.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html((function(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),c.templates.empty.apply(this,t)}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html((function(){var e,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return e=a.element(p).css(this.css.suggestions),n=o.map(t,function(e){var t,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(t=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[e].concat(l)))).data(i,c.name),t.data(r,c.displayFn(e)||void 0),t.data(s,JSON.stringify(e)),t.children().each(function(){a.element(this).css(h.css.suggestionChild)}),t}),e.append.apply(e,n),e}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(t&&!Array.isArray(t))throw TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",e)}function h(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.header.apply(this,t)}function p(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.footer.apply(this,t)}},getRoot:function(){return this.$el},update:function(e){function t(t){if(!this.canceled&&e===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(e,t,n),this._render.apply(this,[e,t].concat(n))}}if(this.query=e,this.canceled=!1,this.shouldFetchFromCache(e))t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){!n.canceled&&n.source(e,t.bind(n))};this.debounce?(clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(function(){n.debounceTimeout=null,i()},this.debounce)):i()}},cacheSuggestions:function(e,t,n){this.cachedQuery=e,this.cachedSuggestions=t,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(e){return this.cache&&this.cachedQuery===e&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}});e.exports=h},35445:function(e,t,n){"use strict";var i=n(85670),r=n(33855),s=n(6823),o=n(13312),a=n(47114);function u(e){var t,n,s,o=this;!(e=e||{}).menu&&i.error("menu is required"),!i.isArray(e.datasets)&&!i.isObject(e.datasets)&&i.error("1 or more datasets required"),!e.datasets&&i.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=e.minLength||0,this.templates={},this.appendTo=e.appendTo||!1,this.css=i.mixin({},a,e.appendTo?a.appendTo:{}),this.cssClasses=e.cssClasses=i.mixin({},a.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||i.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),t=i.bind(this._onSuggestionClick,this),n=i.bind(this._onSuggestionMouseEnter,this),s=i.bind(this._onSuggestionMouseLeave,this);var c=i.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=r.element(e.menu).on("mouseenter.aa",c,n).on("mouseleave.aa",c,s).on("click.aa",c,t),this.$container=e.appendTo?e.wrapper:this.$menu,e.templates&&e.templates.header&&(this.templates.header=i.templatify(e.templates.header),this.$menu.prepend(this.templates.header())),e.templates&&e.templates.empty&&(this.templates.empty=i.templatify(e.templates.empty),this.$empty=r.element('
    '),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(e.datasets,function(t){return function(e,t,n){return new u.Dataset(i.mixin({$menu:e,cssClasses:n},t))}(o.$menu,t,e.cssClasses)}),i.each(this.datasets,function(e){var t=e.getRoot();t&&0===t.parent().length&&o.$menu.append(t),e.onSync("rendered",o._onRendered,o)}),e.templates&&e.templates.footer&&(this.templates.footer=i.templatify(e.templates.footer),this.$menu.append(this.templates.footer()));var l=this;r.element(window).resize(function(){l._redraw()})}i.mixin(u.prototype,s,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",r.element(e.currentTarget))},_onSuggestionMouseEnter:function(e){var t=r.element(e.currentTarget);if(!t.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout(function(){n._setCursor(t,!1)},0)}},_onSuggestionMouseLeave:function(e){if(!e.relatedTarget||!(r.element(e.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0))this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(e,t){if(this.isEmpty=i.every(this.datasets,function(e){return e.isEmpty()}),this.isEmpty){if(t.length>=this.minLength&&this.trigger("empty"),this.$empty){if(t.length=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(e,t){e.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",t)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(e){var t,n,i,r;if(!!this.isOpen){if(n=this._getCursor(),t=this._getSuggestions(),this._removeCursor(),-1==(i=((i=t.index(n)+e)+1)%(t.length+1)-1)){this.trigger("cursorRemoved");return}i<-1&&(i=t.length-1);this._setCursor(r=t.eq(i),!0),this._ensureVisible(r)}},_ensureVisible:function(e){var t,n,i,r;n=(t=e.position().top)+e.height()+parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),t<0?this.$menu.scrollTop(i+t):r',dropdown:'',dataset:'
    ',suggestions:'',suggestion:'
    '}},21286:function(e,t,n){"use strict";i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var i,r=n(85670),s=n(33855),o=n(6823);function a(e){var t,n,o,a,u=this;!(e=e||{}).input&&r.error("input is missing"),t=r.bind(this._onBlur,this),n=r.bind(this._onFocus,this),o=r.bind(this._onKeydown,this),a=r.bind(this._onInput,this),this.$hint=s.element(e.hint),this.$input=s.element(e.input).on("blur.aa",t).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=r.noop),r.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(e){if(!i[e.which||e.keyCode])r.defer(r.bind(u._onInput,u,e))}):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=function(e){return s.element('').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),fontWeight:e.css("font-weight"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),textIndent:e.css("text-indent"),textRendering:e.css("text-rendering"),textTransform:e.css("text-transform")}).insertAfter(e)}(this.$input)}a.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},r.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(e){var t=i[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(e,t){var n,i,r;switch(e){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!u(t);break;case"up":case"down":n=!u(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;if("tab"===e)n=!u(t);else n=!0;return n},_checkInputValue:function(){var e,t,n;n=!!(t=function(e,t){return a.normalizeQuery(e)===a.normalizeQuery(t)}(e=this.getInputValue(),this.query))&&!!this.query&&this.query.length!==e.length,this.query=e,t?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(e){this.query=e},getInputValue:function(){return this.$input.val()},setInputValue:function(e,t){void 0===e&&(e=this.query),this.$input.val(e),t?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(e){this.$input.attr("aria-activedescendant",e)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n;e=this.getInputValue(),n=e!==(t=this.getHint())&&0===t.indexOf(e),!(""!==e&&n&&!this.hasOverflow())&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,t,n;return(e=this.$input.val().length,t=this.$input[0].selectionStart,r.isNumber(t))?t===e:!document.selection||((n=document.selection.createRange()).moveStart("character",-e),e===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}});function u(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}e.exports=a},33068:function(e,t,n){"use strict";var i="aaAttrs",r=n(85670),s=n(33855),o=n(47368),a=n(21286),u=n(35445),c=n(26619),l=n(47114);function h(e){if(!(e=e||{}).input&&r.error("missing input"),this.isActivated=!1,this.debug=!!e.debug,this.autoselect=!!e.autoselect,this.autoselectOnBlur=!!e.autoselectOnBlur,this.openOnFocus=!!e.openOnFocus,this.minLength=r.isNumber(e.minLength)?e.minLength:1,this.autoWidth=void 0===e.autoWidth||!!e.autoWidth,this.clearOnSelected=!!e.clearOnSelected,this.tabAutocomplete=void 0===e.tabAutocomplete||!!e.tabAutocomplete,e.hint=!!e.hint,e.hint&&e.appendTo)throw Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=e.css=r.mixin({},l,e.appendTo?l.appendTo:{}),this.cssClasses=e.cssClasses=r.mixin({},l.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix=r.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=e.listboxId=[this.cssClasses.root,"listbox",r.getUniqueId()].join("-");var t,n,a=function(e){t=s.element(e.input),n=s.element(c.wrapper.replace("%ROOT%",e.cssClasses.root)).css(e.css.wrapper),!e.appendTo&&"block"===t.css("display")&&"table"===t.parent().css("display")&&n.css("display","table-cell");var t,n,o,a,u=c.dropdown.replace("%PREFIX%",e.cssClasses.prefix).replace("%DROPDOWN_MENU%",e.cssClasses.dropdownMenu);o=s.element(u).css(e.css.dropdown).attr({role:"listbox",id:e.listboxId}),e.templates&&e.templates.dropdownMenu&&o.html(r.templatify(e.templates.dropdownMenu)()),(a=t.clone().css(e.css.hint).css(function(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}(t))).val("").addClass(r.className(e.cssClasses.prefix,e.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData(),t.data(i,{"aria-autocomplete":t.attr("aria-autocomplete"),"aria-expanded":t.attr("aria-expanded"),"aria-owns":t.attr("aria-owns"),autocomplete:t.attr("autocomplete"),dir:t.attr("dir"),role:t.attr("role"),spellcheck:t.attr("spellcheck"),style:t.attr("style"),type:t.attr("type")}),t.addClass(r.className(e.cssClasses.prefix,e.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":e.datasets&&e.datasets[0]&&e.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":e.ariaLabel,"aria-owns":e.listboxId}).css(e.hint?e.css.input:e.css.inputWithNoHint);try{!t.attr("dir")&&t.attr("dir","auto")}catch(e){}return(n=e.appendTo?n.appendTo(s.element(e.appendTo).eq(0)).eq(0):t.wrap(n).parent()).prepend(e.hint?a:null).append(o),{wrapper:n,input:t,hint:a,menu:o}}(e);this.$node=a.wrapper;var u=this.$input=a.input;t=a.menu,n=a.hint,e.dropdownMenuContainer&&s.element(e.dropdownMenuContainer).css("position","relative").append(t.css("top","0")),u.on("blur.aa",function(e){var n=document.activeElement;r.isMsie()&&(t[0]===n||t[0].contains(n))&&(e.preventDefault(),e.stopImmediatePropagation(),r.defer(function(){u.focus()}))}),t.on("mousedown.aa",function(e){e.preventDefault()}),this.eventBus=e.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:e.appendTo,wrapper:this.$node,menu:t,datasets:e.datasets,templates:e.templates,cssClasses:e.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(e),this._setLanguageDirection()}r.mixin(h.prototype,{_bindKeyboardShortcuts:function(e){if(!!e.keyboardShortcuts){var t=this.$input,n=[];r.each(e.keyboardShortcuts,function(e){"string"==typeof e&&(e=e.toUpperCase().charCodeAt(0)),n.push(e)}),s.element(document).keydown(function(e){var i=e.target||e.srcElement,r=i.tagName;if(i.isContentEditable||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r)return;var s=e.which||e.keyCode;if(-1!==n.indexOf(s))t.focus(),e.stopPropagation(),e.preventDefault()})}},_onSuggestionClicked:function(e,t){var n;(n=this.dropdown.getDatumForSuggestion(t))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(e,t){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(t&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var e=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",e.width+"px");var t=this.$node[0].getBoundingClientRect(),n=e.bottom-t.top;this.$node.css("top",n+"px");var i=e.left-t.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var e=this.input.getQuery();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){e=this.dropdown.getDatumForCursor(),t=this.dropdown.getDatumForTopSuggestion();var e,t,n={selectionMethod:"blur"};!this.debug&&(this.autoselectOnBlur&&e?this._select(e,n):this.autoselectOnBlur&&t?this._select(t,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(e,t){n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var n,i,r={selectionMethod:"enterKey"};n?(this._select(n,r),t.preventDefault()):this.autoselect&&i&&(this._select(i,r),t.preventDefault())},_onTabKeyed:function(e,t){var n;if(!this.tabAutocomplete){this.dropdown.close();return}(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),t.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(e,t){this.input.clearHintIfInvalid(),t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var e=this.input.getLanguageDirection();this.dir!==e&&(this.dir=e,this.$node.css("direction",e),this.dropdown.setLanguageDirection(e))},_updateHint:function(){var e,t,n,i;(e=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(t=this.input.getInputValue(),n=a.normalizeQuery(t),(i=RegExp("^(?:"+r.escapeRegExChars(n)+")(.+$)","i").exec(e.value))?this.input.setHint(t+i[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(e){var t,n,i,r;t=this.input.getHint(),n=this.input.getQuery(),i=e||this.input.isCursorAtEnd(),t&&n!==t&&i&&((r=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(e,t){void 0!==e.value&&this.input.setQuery(e.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(e.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",e.raw,e.datasetName,t).isDefaultPrevented()&&(this.dropdown.close(),r.defer(r.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var e=this.input.getInputValue();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(e){e=r.toStr(e),this.isActivated?this.input.setInputValue(e):(this.input.setQuery(e),this.input.setInputValue(e,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(e,t){var n=e.find(r.className(t.prefix,t.input));r.each(n.data(i),function(e,t){void 0===e?n.removeAttr(t):n.attr(t,e)}),n.detach().removeClass(r.className(t.prefix,t.input,!0)).insertAfter(e),n.removeData&&n.removeData(i),e.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}});h.Dropdown=u,h.Input=a,h.sources=n(86331),e.exports=h},33855:function(e){"use strict";e.exports={element:null}},22926:function(e){"use strict";e.exports=function(e){var t=e.match(/Algolia for JavaScript \((\d+\.)(\d+\.)(\d+)\)/)||e.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(t)return[t[1],t[2],t[3]]}},85670:function(e,t,n){"use strict";var i,r=n(33855);function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}e.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(e){if(void 0===e&&(e=navigator.userAgent),/(msie|trident)/i.test(e)){var t=e.match(/(msie |rv:)(\d+(.\d+)?)/i);if(t)return t[2]}return!1},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(e){return"number"==typeof e},toStr:function(e){return null==e?"":e+""},cloneDeep:function(e){var t=this.mixin({},e),n=this;return this.each(t,function(e,i){e&&(n.isArray(e)?t[i]=[].concat(e):n.isObject(e)&&(t[i]=n.cloneDeep(e)))}),t},error:function(e){throw Error(e)},every:function(e,t){var n=!0;return e?(this.each(e,function(i,r){n&&(n=t.call(null,i,r,e)&&n)}),!!n):n},any:function(e,t){var n=!1;return e?(this.each(e,function(i,r){if(t.call(null,i,r,e))return n=!0,!1}),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(e){if(this.isFunction(e))return e;var t=r.element(e);return"SCRIPT"===t.prop("tagName")?function(){return t.text()}:function(){return String(e)}},defer:function(e){setTimeout(e,0)},noop:function(){},formatPrefix:function(e,t){return t?"":e+"-"},className:function(e,t,n){return(n?"":".")+e+t},escapeHighlightedString:function(e,t,n){t=t||"";var i=document.createElement("div");i.appendChild(document.createTextNode(t)),n=n||"";var r=document.createElement("div");r.appendChild(document.createTextNode(n));var o=document.createElement("div");return o.appendChild(document.createTextNode(e)),o.innerHTML.replace(RegExp(s(i.innerHTML),"g"),t).replace(RegExp(s(r.innerHTML),"g"),n)}}},42683:function(e,t,n){"use strict";var i=n(85670),r=n(93489),s=n(22926);e.exports=function(e,t){var n=s(e.as._ua);return n&&n[0]>=3&&n[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),function(n,r){e.search(n,t,function(e,t){if(e){i.error(e.message);return}r(t.hits,t)})}}},86331:function(e,t,n){"use strict";e.exports={hits:n(42683),popularIn:n(82226)}},82226:function(e,t,n){"use strict";var i=n(85670),r=n(93489),s=n(22926);e.exports=function(e,t,n,o){var a=s(e.as._ua);if(a&&a[0]>=3&&a[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(e){return e[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){e.search(a,t,function(e,a){if(e){i.error(e.message);return}if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var d=s(c.as._ua);d&&d[0]>=3&&d[1]>20&&(t.additionalUA="autocomplete.js "+r),c.search(u(h),p,function(e,t){if(e){i.error(e.message);return}var n=[];if(o.includeAll){var r=o.allTitle||"All departments";n.push(i.mixin({facet:{value:r,count:t.nbHits}},i.cloneDeep(h)))}i.each(t.facets,function(e,t){i.each(e,function(e,r){n.push(i.mixin({facet:{facet:t,value:r,count:e}},i.cloneDeep(h)))})});for(var s=1;s]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,y=/^(?:body|html)$/i,x=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],w=h.createElement("table"),S=h.createElement("tr"),C={tr:h.createElement("tbody"),tbody:w,thead:w,tfoot:w,td:S,th:S,"*":h.createElement("div")},E=/complete|loaded|interactive/,_=/^[\w-]*$/,k={},T=k.toString,O={},L=h.createElement("div"),A={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},$=Array.isArray||function(e){return e instanceof Array};function P(e){return null==e?String(e):k[T.call(e)]||"object"}function I(e){return"function"==P(e)}function Q(e){return null!=e&&e==e.window}function R(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function N(e){return"object"==P(e)}function D(e){return N(e)&&!Q(e)&&Object.getPrototypeOf(e)==Object.prototype}function F(e){var t=!!e&&"length"in e&&e.length,n=i.type(e);return"function"!=n&&!Q(e)&&("array"==n||0===t||"number"==typeof t&&t>0&&t-1 in e)}O.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var i,r=e.parentNode,s=!r;return s&&(r=L).appendChild(e),i=~O.qsa(r,t).indexOf(e),s&&L.removeChild(e),i};function j(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function H(e){return e in d?d[e]:d[e]=RegExp("(^|\\s)"+e+"(\\s|$)")}function V(e,t){return"number"!=typeof t||f[j(e)]?t:t+"px"}s=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},o=function(e){return c.call(e,function(t,n){return e.indexOf(t)==n})};function B(e){return"children"in e?l.call(e.children):i.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function M(e,t){var n,i=e?e.length:0;for(n=0;n")),t===n&&(n=g.test(e)&&RegExp.$1),!(n in C)&&(n="*"),(a=C[n]).innerHTML=""+e,s=i.each(l.call(a.childNodes),function(){a.removeChild(this)})),D(r)&&(o=i(s),i.each(r,function(e,t){b.indexOf(e)>-1?o[e](t):o.attr(e,t)})),s},O.Z=function(e,t){return new M(e,t)},O.isZ=function(e){return e instanceof O.Z},O.init=function(e,n){var r,s;if(!e)return O.Z();if("string"==typeof e){if("<"==(e=e.trim())[0]&&g.test(e))r=O.fragment(e,RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}else{if(I(e))return i(h).ready(e);if(O.isZ(e))return e;if($(e)){;s=e,r=c.call(s,function(e){return null!=e})}else if(N(e))r=[e],e=null;else if(g.test(e))r=O.fragment(e.trim(),RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}return O.Z(r,e)},i=function(e,t){return O.init(e,t)};function q(e,t){return null==t?i(e):i(e).filter(t)}function z(e,t,n,i){return I(t)?t.call(e,n,i):t}function K(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function W(e,n){var i=e.className||"",r=i&&i.baseVal!==t;if(t===n)return r?i.baseVal:i;r?i.baseVal=n:e.className=n}function U(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?i.parseJSON(e):e):e}catch(t){return e}}return i.extend=function(e){var i,r=l.call(arguments,1);return"boolean"==typeof e&&(i=e,e=r.shift()),r.forEach(function(r){!function e(i,r,s){for(n in r)s&&(D(r[n])||$(r[n]))?(D(r[n])&&!D(i[n])&&(i[n]={}),$(r[n])&&!$(i[n])&&(i[n]=[]),e(i[n],r[n],s)):r[n]!==t&&(i[n]=r[n])}(e,r,i)}),e},O.qsa=function(e,t){var n,i="#"==t[0],r=!i&&"."==t[0],s=i||r?t.slice(1):t,o=_.test(s);return e.getElementById&&o&&i?(n=e.getElementById(s))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:l.call(o&&!i&&e.getElementsByClassName?r?e.getElementsByClassName(s):e.getElementsByTagName(t):e.querySelectorAll(t))},i.contains=h.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},i.type=P,i.isFunction=I,i.isWindow=Q,i.isArray=$,i.isPlainObject=D,i.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},i.isNumeric=function(e){var t=Number(e),n=typeof e;return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},i.inArray=function(e,t,n){return a.indexOf.call(t,e,n)},i.camelCase=s,i.trim=function(e){return null==e?"":String.prototype.trim.call(e)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(e,t){var n,r,s,o,a=[];if(F(e))for(s=0;s0?i.fn.concat.apply([],n):n},i.each=function(e,t){var n,i;if(F(e))for(n=0;n=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(e){return a.every.call(this,function(t,n){return!1!==e.call(t,n,t)}),this},filter:function(e){return I(e)?this.not(this.not(e)):i(c.call(this,function(t){return O.matches(t,e)}))},add:function(e,t){return i(o(this.concat(i(e,t))))},is:function(e){return this.length>0&&O.matches(this[0],e)},not:function(e){var n=[];if(I(e)&&e.call!==t)this.each(function(t){!e.call(this,t)&&n.push(this)});else{var r="string"==typeof e?this.filter(e):F(e)&&I(e.item)?l.call(e):i(e);this.forEach(function(e){0>r.indexOf(e)&&n.push(e)})}return i(n)},has:function(e){return this.filter(function(){return N(e)?i.contains(this,e):i(this).find(e).size()})},eq:function(e){return -1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!N(e)?e:i(e)},last:function(){var e=this[this.length-1];return e&&!N(e)?e:i(e)},find:function(e){var t,n=this;return t=e?"object"==typeof e?i(e).filter(function(){var e=this;return a.some.call(n,function(t){return i.contains(t,e)})}):1==this.length?i(O.qsa(this[0],e)):this.map(function(){return O.qsa(this,e)}):i()},closest:function(e,t){var n=[],r="object"==typeof e&&i(e);return this.each(function(i,s){for(;s&&!(r?r.indexOf(s)>=0:O.matches(s,e));)s=s!==t&&!R(s)&&s.parentNode;s&&0>n.indexOf(s)&&n.push(s)}),i(n)},parents:function(e){for(var t=[],n=this;n.length>0;)n=i.map(n,function(e){if((e=e.parentNode)&&!R(e)&&0>t.indexOf(e))return t.push(e),e});return q(t,e)},parent:function(e){return q(o(this.pluck("parentNode")),e)},children:function(e){return q(this.map(function(){return B(this)}),e)},contents:function(){return this.map(function(){return this.contentDocument||l.call(this.childNodes)})},siblings:function(e){return q(this.map(function(e,t){return c.call(B(t.parentNode),function(e){return e!==t})}),e)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return i.map(this,function(t){return t[e]})},show:function(){return this.each(function(){if("none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")){var e,t,n;this.style.display=(!p[e=this.nodeName]&&(t=h.createElement(e),h.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),p[e]=n),p[e])}})},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=I(e);if(this[0]&&!t)var n=i(e).get(0),r=n.parentNode||this.length>1;return this.each(function(s){i(this).wrapAll(t?e.call(this,s):r?n.cloneNode(!0):n)})},wrapAll:function(e){if(this[0]){var t;for(i(this[0]).before(e=i(e));(t=e.children()).length;)e=t.first();i(e).append(this)}return this},wrapInner:function(e){var t=I(e);return this.each(function(n){var r=i(this),s=r.contents(),o=t?e.call(this,n):e;s.length?s.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){i(this).replaceWith(i(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var n=i(this);(t===e?"none"==n.css("display"):e)?n.show():n.hide()})},prev:function(e){return i(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return i(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each(function(t){var n=this.innerHTML;i(this).empty().append(z(this,e,t,n))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){var n=z(this,e,t,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(e,i){var r;return"string"!=typeof e||1 in arguments?this.each(function(t){if(1===this.nodeType){if(N(e))for(n in e)K(this,n,e[n]);else K(this,e,z(this,i,t,this.getAttribute(e)))}}):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(e))?r:t},removeAttr:function(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){K(this,e)},this)})},prop:function(e,t){return e=A[e]||e,1 in arguments?this.each(function(n){this[e]=z(this,t,n,this[e])}):this[0]&&this[0][e]},removeProp:function(e){return e=A[e]||e,this.each(function(){delete this[e]})},data:function(e,n){var i="data-"+e.replace(x,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,n):this.attr(i);return null!==r?U(r):t},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=z(this,e,t,this.value)})):this[0]&&(this[0].multiple?i(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=i(this),r=z(this,t,e,n.offset()),s=n.offsetParent().offset(),o={top:r.top-s.top,left:r.left-s.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+e.pageXOffset,top:n.top+e.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(e,t){if(arguments.length<2){var r=this[0];if("string"==typeof e){if(!r)return;return r.style[s(e)]||getComputedStyle(r,"").getPropertyValue(e)}if($(e)){if(!r)return;var o={},a=getComputedStyle(r,"");return i.each(e,function(e,t){o[t]=r.style[s(t)]||a.getPropertyValue(t)}),o}}var u="";if("string"==P(e))t||0===t?u=j(e)+":"+V(e,t):this.each(function(){this.style.removeProperty(j(e))});else for(n in e)e[n]||0===e[n]?u+=j(n)+":"+V(n,e[n])+";":this.each(function(){this.style.removeProperty(j(n))});return this.each(function(){this.style.cssText+=";"+u})},index:function(e){return e?this.indexOf(i(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&a.some.call(this,function(e){return this.test(W(e))},H(e))},addClass:function(e){return e?this.each(function(t){if("className"in this){r=[];var n=W(this);z(this,e,t,n).split(/\s+/g).forEach(function(e){!i(this).hasClass(e)&&r.push(e)},this),r.length&&W(this,n+(n?" ":"")+r.join(" "))}}):this},removeClass:function(e){return this.each(function(n){if("className"in this){if(t===e)return W(this,"");z(this,e,n,r=W(this)).split(/\s+/g).forEach(function(e){r=r.replace(H(e)," ")}),W(this,r.trim())}})},toggleClass:function(e,n){return e?this.each(function(r){var s=i(this);z(this,e,r,W(this)).split(/\s+/g).forEach(function(e){(t===n?!s.hasClass(e):n)?s.addClass(e):s.removeClass(e)})}):this},scrollTop:function(e){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),n=this.offset(),r=y.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(i(e).css("margin-top"))||0,n.left-=parseFloat(i(e).css("margin-left"))||0,r.top+=parseFloat(i(t[0]).css("border-top-width"))||0,r.left+=parseFloat(i(t[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||h.body;e&&!y.test(e.nodeName)&&"static"==i(e).css("position");)e=e.offsetParent;return e})}},i.fn.detach=i.fn.remove,["width","height"].forEach(function(e){var n=e.replace(/./,function(e){return e[0].toUpperCase()});i.fn[e]=function(r){var s,o=this[0];return t===r?Q(o)?o["inner"+n]:R(o)?o.documentElement["scroll"+n]:(s=this.offset())&&s[e]:this.each(function(t){(o=i(this)).css(e,z(this,r,t,o[e]()))})}}),["after","prepend","before","append"].forEach(function(n,r){var s=r%2;i.fn[n]=function(){var n,o,a=i.map(arguments,function(e){var r=[];return"array"==(n=P(e))?(e.forEach(function(e){return e.nodeType!==t?r.push(e):i.zepto.isZ(e)?r=r.concat(e.get()):void(r=r.concat(O.fragment(e)))}),r):"object"==n||null==e?e:O.fragment(e)}),u=this.length>1;return a.length<1?this:this.each(function(t,n){o=s?n:n.parentNode,n=0==r?n.nextSibling:1==r?n.firstChild:2==r?n:null;var c=i.contains(h.documentElement,o);a.forEach(function(t){if(u)t=t.cloneNode(!0);else if(!o)return i(t).remove();o.insertBefore(t,n),c&&!function e(t,n){n(t);for(var i=0,r=t.childNodes.length;i":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(n,i){var r=n.length,s=0,o=null,a=null,l="",h=[],p=!1,d=0,f=0,g="{{",m="}}";function v(){l.length>0&&(h.push({tag:"_t",text:new String(l)}),l="")}function y(n,i){if(v(),n&&function(){for(var n=!0,i=f;i"==r.tag&&(r.indent=h[s].text.toString()),h.splice(s,1));else!i&&h.push({tag:"\n"});p=!1,f=h.length}for(i&&(g=(i=i.split(" "))[0],m=i[1]),d=0;d":f,"<":function(t,n){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(t.nodes,i);var r=n.partials[f(t,n)];r.subs=i.subs,r.partials=i.partials},$:function(t,n){var i={subs:{},code:"",partials:n.partials,prefix:t.n};e.walk(t.nodes,i),n.subs[t.n]=i.code,!n.inPartial&&(n.code+='t.sub("'+p(t.n)+'",c,p,i);')},"\n":function(e,t){t.code+=m('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+d(e.n)+'("'+p(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=m('"'+p(e.text)+'"')},"{":g,"&":g},e.walk=function(t,n){for(var i,r=0,s=t.length;r0;){if(c=n.shift(),u&&"<"==u.tag&&!(c.tag in l))throw Error("Illegal content in < super tag.");if(e.tags[c.tag]<=e.tags.$||function(e,t){for(var n=0,i=t.length;n0)throw Error("missing closing tag: "+r.pop().n);return o}(t,"",[],(i=i||{}).sectionTags||[])},e.cache={},e.cacheKey=function(e,t){return[e,!!t.asString,!!t.disableLambda,t.delimiters,!!t.modelGet].join("||")},e.compile=function(t,n){n=n||{};var i=e.cacheKey(t,n),r=this.cache[i];if(r){var s=r.partials;for(var o in s)delete s[o].instance;return r}return r=this.generate(this.parse(this.scan(t,n.delimiters),t,n),t,n),this.cache[i]=r}}(t)},5485:function(e,t,n){var i=n(49397);i.Template=n(22882).Template,i.template=i.Template,e.exports=i},22882:function(e,t){!function(e){function t(e,t,n){var i;return t&&"object"==typeof t&&(void 0!==t[e]?i=t[e]:n&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}e.Template=function(e,t,n,i){e=e||{},this.r=e.code||this.r,this.c=n,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,t,n){return""},v:function(e){return e=u(e),a.test(e)?e.replace(n,"&").replace(i,"<").replace(r,">").replace(s,"'").replace(o,"""):e},t:u,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},ep:function(e,t){var n=this.partials[e],i=t[n.name];if(n.instance&&n.base==i)return n.instance;if("string"==typeof i){if(!this.c)throw Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,n.subs){for(key in!t.stackText&&(t.stackText={}),n.subs)!t.stackText[key]&&(t.stackText[key]=void 0!==this.activeSub&&t.stackText[this.activeSub]?t.stackText[this.activeSub]:this.text);i=function(e,t,n,i,r,s){function o(){}function a(){}o.prototype=e,a.prototype=e.subs;var u,c=new o;for(u in c.subs=new a,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=s,t)!i[u]&&(i[u]=t[u]);for(u in i)c.subs[u]=i[u];for(u in r=r||{},c.stackPartials=r,n)!r[u]&&(r[u]=n[u]);for(u in r)c.partials[u]=r[u];return c}(i,n.subs,n.partials,this.stackSubs,this.stackPartials,t.stackText)}return this.partials[e].instance=i,i},rp:function(e,t,n,i){var r=this.ep(e,n);return r?r.ri(t,n,i):""},rs:function(e,t,n){var i=e[e.length-1];if(!c(i)){n(e,t,this);return}for(var r=0;r=0;c--)if(void 0!==(s=t(e,o=n[c],u))){a=!0;break}return a?(!r&&"function"==typeof s&&(s=this.mv(s,n,i)),s):!r&&""},ls:function(e,t,n,i,r){var s=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(u(e.call(t,i)),t,n)),this.options.delimiters=s,!1},ct:function(e,t,n){if(this.options.disableLambda)throw Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,n)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,t,n,i,r,s,o){var a,u=t[t.length-1],c=e.call(u);if("function"==typeof c)return!!i||(a=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,u,n,a.substring(r,s),o));return c},mv:function(e,t,n){var i=t[t.length-1],r=e.call(i);return"function"==typeof r?this.ct(u(r.call(i)),i,n):r},sub:function(e,t,n,i){var r=this.subs[e];r&&(this.activeSub=e,r(t,n,this,i),this.activeSub=!1)}};var n=/&/g,i=//g,s=/\'/g,o=/\"/g,a=/[&<>\"\']/;function u(e){return String(null==e?"":e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)},70624:function(e,t,n){"use strict";var i,r,s,o=[n(47936),n(64785),n(28291),n(2709),n(42506),n(79176)],a=-1,u=[],c=!1;function l(){if(!!i&&!!r)i=!1,r.length?u=r.concat(u):a=-1,u.length&&h()}function h(){if(!i){c=!1,i=!0;for(var e=u.length,t=setTimeout(l);e;){for(r=u,u=[];r&&++a1)for(var n=1;n0){var c=A.utils.clone(t)||{};c.position=[o,u],c.index=r.length,r.push(new A.Token(n.slice(o,s),c))}o=s+1}}return r},A.tokenizer.separator=/[\s\-]+/,A.Pipeline=function(){this._stack=[]},A.Pipeline.registeredFunctions=Object.create(null),A.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&A.utils.warn("Overwriting existing registered function: "+t),e.label=t,A.Pipeline.registeredFunctions[e.label]=e},A.Pipeline.warnIfFunctionNotRegistered=function(e){!(e.label&&e.label in this.registeredFunctions)&&A.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},A.Pipeline.load=function(e){var t=new A.Pipeline;return e.forEach(function(e){var n=A.Pipeline.registeredFunctions[e];if(n)t.add(n);else throw Error("Cannot load unregistered function: "+e)}),t},A.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){A.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},A.Pipeline.prototype.after=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},A.Pipeline.prototype.before=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");this._stack.splice(n,0,t)},A.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);if(-1!=t)this._stack.splice(t,1)},A.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(se&&(n=r),s!=e);){;i=n-t,r=t+Math.floor(i/2),s=this.elements[2*r]}return s==e||s>e?2*r:sa?c+=2:o==a&&(t+=n[u+1]*i[c+1],u+=2,c+=2);return t},A.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},A.Vector.prototype.toArray=function(){for(var e=Array(this.elements.length/2),t=1,n=0;t0){var s,o=r.str.charAt(0);o in r.node.edges?s=r.node.edges[o]:(s=new A.TokenSet,r.node.edges[o]=s),1==r.str.length&&(s.final=!0),i.push({node:s,editsRemaining:r.editsRemaining,str:r.str.slice(1)})}if(0!=r.editsRemaining){if("*"in r.node.edges)var a=r.node.edges["*"];else{var a=new A.TokenSet;r.node.edges["*"]=a}if(0==r.str.length&&(a.final=!0),i.push({node:a,editsRemaining:r.editsRemaining-1,str:r.str}),r.str.length>1&&i.push({node:r.node,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)}),1==r.str.length&&(r.node.final=!0),r.str.length>=1){if("*"in r.node.edges)var u=r.node.edges["*"];else{var u=new A.TokenSet;r.node.edges["*"]=u}1==r.str.length&&(u.final=!0),i.push({node:u,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)})}if(r.str.length>1){var c,l=r.str.charAt(0),h=r.str.charAt(1);h in r.node.edges?c=r.node.edges[h]:(c=new A.TokenSet,r.node.edges[h]=c),1==r.str.length&&(c.final=!0),i.push({node:c,editsRemaining:r.editsRemaining-1,str:l+r.str.slice(2)})}}}return n},A.TokenSet.fromString=function(e){for(var t=new A.TokenSet,n=t,i=0,r=e.length;i=e;t--){var n=this.uncheckedNodes[t],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}},A.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},A.Index.prototype.search=function(e){return this.query(function(t){new A.QueryParser(e,t).parse()})},A.Index.prototype.query=function(e){for(var t=new A.Query(this.fields),n=Object.create(null),i=Object.create(null),r=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a1?this._b=1:this._b=e},A.Builder.prototype.k1=function(e){this._k1=e},A.Builder.prototype.add=function(e,t){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var r=0;r=this.length)return A.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},A.QueryLexer.prototype.width=function(){return this.pos-this.start},A.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},A.QueryLexer.prototype.backup=function(){this.pos-=1},A.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do t=(e=this.next()).charCodeAt(0);while(t>47&&t<58);e!=A.QueryLexer.EOS&&this.backup()},A.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(A.QueryLexer.TERM)),e.ignore(),e.more())return A.QueryLexer.lexText},A.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.EDIT_DISTANCE),A.QueryLexer.lexText},A.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.BOOST),A.QueryLexer.lexText},A.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(A.QueryLexer.TERM)},A.QueryLexer.termSeparator=A.tokenizer.separator,A.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==A.QueryLexer.EOS)return A.QueryLexer.lexEOS;if(92==t.charCodeAt(0)){e.escapeCharacter();continue}if(":"==t)return A.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexBoost;if("+"==t&&1===e.width()||"-"==t&&1===e.width())return e.emit(A.QueryLexer.PRESENCE),A.QueryLexer.lexText;if(t.match(A.QueryLexer.termSeparator))return A.QueryLexer.lexTerm}},A.QueryParser=function(e,t){this.lexer=new A.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},A.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=A.QueryParser.parseClause;e;)e=e(this);return this.query},A.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},A.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},A.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},A.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(void 0!=t)switch(t.type){case A.QueryLexer.PRESENCE:return A.QueryParser.parsePresence;case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new A.QueryParseError(n,t.start,t.end)}},A.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(void 0!=t){switch(t.str){case"-":e.currentClause.presence=A.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=A.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new A.QueryParseError(n,t.start,t.end)}var i=e.peekLexeme();if(void 0==i){var n="expecting term or field, found nothing";throw new A.QueryParseError(n,t.start,t.end)}switch(i.type){case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new A.QueryParseError(n,i.start,i.end)}}},A.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(void 0!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),i="unrecognised field '"+t.str+"', possible fields: "+n;throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.fields=[t.str];var r=e.peekLexeme();if(void 0==r){var i="expecting term, found nothing";throw new A.QueryParseError(i,t.start,t.end)}if(r.type===A.QueryLexer.TERM)return A.QueryParser.parseTerm;var i="expecting term, found '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}},A.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(void 0!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(void 0==n){e.nextClause();return}switch(n.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new A.QueryParseError(i,n.start,n.end)}}},A.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.editDistance=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},A.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="boost must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.boost=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},O=0,L=function(){return A},"function"==typeof define&&define.amd?define(L):e.exports=L()}()},75322:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>v});var i=n("5485"),r=n.n(i),s=n("74802");s.Z.tokenizer.separator=/[\s\-/]+/;let o=class e{constructor(e,t,n="/",i){this.searchDocs=e,this.lunrIndex=s.Z.Index.load(t),this.baseUrl=n,this.maxHits=i}getLunrResult(e){return this.lunrIndex.query(function(t){let n=s.Z.tokenizer(e);t.term(n,{boost:10}),t.term(n,{wildcard:s.Z.Query.wildcard.TRAILING})})}getHit(e,t,n){return{hierarchy:{lvl0:e.pageTitle||e.title,lvl1:0===e.type?null:e.title},url:e.url,version:e.version,_snippetResult:n?{content:{value:n,matchLevel:"full"}}:null,_highlightResult:{hierarchy:{lvl0:{value:0===e.type?t||e.title:e.pageTitle},lvl1:0===e.type?null:{value:t||e.title}}}}}getTitleHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title.substring(0,i)+''+e.title.substring(i,r)+""+e.title.substring(r,e.title.length);return this.getHit(e,s)}getKeywordHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title+"
    Keywords: "+e.keywords.substring(0,i)+''+e.keywords.substring(i,r)+""+e.keywords.substring(r,e.keywords.length)+"";return this.getHit(e,s)}getContentHit(e,t){let n=t[0],i=t[0]+t[1],r=n,s=i,o=!0,a=!0;for(let t=0;t<3;t++){let t=e.content.lastIndexOf(" ",r-2),n=e.content.lastIndexOf(".",r-2);if(n>0&&n>t){r=n+1,o=!1;break}if(t<0){r=0,o=!1;break}r=t+1}for(let t=0;t<10;t++){let t=e.content.indexOf(" ",s+1),n=e.content.indexOf(".",s+1);if(n>0&&n",u+=e.content.substring(i,s),a&&(u+=" ..."),this.getHit(e,null,u)}search(e){return new Promise((t,n)=>{let i=this.getLunrResult(e),r=[];i.length>this.maxHits&&(i.length=this.maxHits),this.titleHitsRes=[],this.contentHitsRes=[],i.forEach(t=>{let n=this.searchDocs[t.ref],{metadata:i}=t.matchData;for(let s in i)if(i[s].title){if(!this.titleHitsRes.includes(t.ref)){let o=i[s].title.position[0];r.push(this.getTitleHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}else if(i[s].content){let e=i[s].content.position[0];r.push(this.getContentHit(n,e))}else if(i[s].keywords){let o=i[s].keywords.position[0];r.push(this.getKeywordHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}),r.length>this.maxHits&&(r.length=this.maxHits),t(r)})}};var a=n("71639"),u=n.n(a);let c="algolia-docsearch",l=`${c}-suggestion`,h=`${c}-footer`,p={suggestion:` +
    +
    + {{{category}}} +
    +
    +
    + {{{subcategory}}} +
    + {{#isTextOrSubcategoryNonEmpty}} +
    +
    {{{subcategory}}}
    +
    {{{title}}}
    + {{#text}}
    {{{text}}}
    {{/text}} + {{#version}}
    {{version}}
    {{/version}} +
    + {{/isTextOrSubcategoryNonEmpty}} +
    +
    + `,suggestionSimple:` +
    +
    + {{^isLvl0}} + {{{category}}} + {{^isLvl1}} + {{^isLvl1EmptyOrDuplicate}} + + {{{subcategory}}} + + {{/isLvl1EmptyOrDuplicate}} + {{/isLvl1}} + {{/isLvl0}} +
    + {{#isLvl2}} + {{{title}}} + {{/isLvl2}} + {{#isLvl1}} + {{{subcategory}}} + {{/isLvl1}} + {{#isLvl0}} + {{{category}}} + {{/isLvl0}} +
    +
    +
    + {{#text}} +
    +
    {{{text}}}
    +
    + {{/text}} +
    +
    + `,footer:` +
    +
    + `,empty:` +
    +
    +
    +
    +
    + No results found for query "{{query}}" +
    +
    +
    +
    +
    + `,searchBox:` + + + + `};var d=n("7939"),f=n.n(d);let g={mergeKeyWithParent(e,t){if(void 0===e[t]||"object"!=typeof e[t])return e;let n=f().extend({},e,e[t]);return delete n[t],n},groupBy(e,t){let n={};return f().each(e,(e,i)=>{if(void 0===i[t])throw Error(`[groupBy]: Object has no key ${t}`);let r=i[t];"string"==typeof r&&(r=r.toLowerCase()),!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=[]),n[r].push(i)}),n},values:e=>Object.keys(e).map(t=>e[t]),flatten(e){let t=[];return e.forEach(e=>{if(!Array.isArray(e)){t.push(e);return}e.forEach(e=>{t.push(e)})}),t},flattenAndFlagFirst(e,t){let n=this.values(e).map(e=>e.map((e,n)=>(e[t]=0===n,e)));return this.flatten(n)},compact(e){let t=[];return e.forEach(e=>{if(!!e)t.push(e)}),t},getHighlightedValue:(e,t)=>e._highlightResult&&e._highlightResult.hierarchy_camel&&e._highlightResult.hierarchy_camel[t]&&e._highlightResult.hierarchy_camel[t].matchLevel&&"none"!==e._highlightResult.hierarchy_camel[t].matchLevel&&e._highlightResult.hierarchy_camel[t].value?e._highlightResult.hierarchy_camel[t].value:e._highlightResult&&e._highlightResult&&e._highlightResult[t]&&e._highlightResult[t].value?e._highlightResult[t].value:e[t],getSnippetedValue(e,t){if(!e._snippetResult||!e._snippetResult[t]||!e._snippetResult[t].value)return e[t];let n=e._snippetResult[t].value;return n[0]!==n[0].toUpperCase()&&(n=`\u{2026}${n}`),-1===[".","!","?"].indexOf(n[n.length-1])&&(n=`${n}\u{2026}`),n},deepClone:e=>JSON.parse(JSON.stringify(e))};class m{constructor({searchDocs:e,searchIndex:t,inputSelector:n,debug:i=!1,baseUrl:r="/",queryDataCallback:s=null,autocompleteOptions:a={debug:!1,hint:!1,autoselect:!0},transformData:c=!1,queryHook:l=!1,handleSelected:h=!1,enhancedSearchInput:d=!1,layout:g="column",maxHits:v=5}){this.input=m.getInputFromSelector(n),this.queryDataCallback=s||null;let y=!!a&&!!a.debug&&a.debug;a.debug=i||y,this.autocompleteOptions=a,this.autocompleteOptions.cssClasses=this.autocompleteOptions.cssClasses||{},this.autocompleteOptions.cssClasses.prefix=this.autocompleteOptions.cssClasses.prefix||"ds";let x=this.input&&"function"==typeof this.input.attr&&this.input.attr("aria-label");this.autocompleteOptions.ariaLabel=this.autocompleteOptions.ariaLabel||x||"search input",this.isSimpleLayout="simple"===g,this.client=new o(e,t,r,v),d&&(this.input=m.injectSearchBox(this.input)),this.autocomplete=u()(this.input,a,[{source:this.getAutocompleteSource(c,l),templates:{suggestion:m.getSuggestionTemplate(this.isSimpleLayout),footer:p.footer,empty:m.getEmptyTemplate()}}]);this.handleSelected=h||this.handleSelected,h&&f()(".algolia-autocomplete").on("click",".ds-suggestions a",e=>{e.preventDefault()}),this.autocomplete.on("autocomplete:selected",this.handleSelected.bind(null,this.autocomplete.autocomplete)),this.autocomplete.on("autocomplete:shown",this.handleShown.bind(null,this.input)),d&&m.bindSearchBoxEvent(),document.addEventListener("keydown",e=>{(e.ctrlKey||e.metaKey)&&"k"==e.key&&(this.input.focus(),e.preventDefault())})}static injectSearchBox(e){e.before(p.searchBox);let t=e.prev().prev().find("input");return e.remove(),t}static bindSearchBoxEvent(){f()('.searchbox [type="reset"]').on("click",function(){f()("input#docsearch").focus(),f()(this).addClass("hide"),u().autocomplete.setVal("")}),f()("input#docsearch").on("keyup",()=>{let e=document.querySelector("input#docsearch"),t=document.querySelector('.searchbox [type="reset"]');t.className="searchbox__reset",0===e.value.length&&(t.className+=" hide")})}static getInputFromSelector(e){let t=f()(e).filter("input");return t.length?f()(t[0]):null}getAutocompleteSource(e,t){return(n,i)=>{t&&(n=t(n)||n),this.client.search(n).then(t=>{this.queryDataCallback&&"function"==typeof this.queryDataCallback&&this.queryDataCallback(t),e&&(t=e(t)||t),i(m.formatHits(t))})}}static formatHits(e){let t=g.deepClone(e).map(e=>(e._highlightResult&&(e._highlightResult=g.mergeKeyWithParent(e._highlightResult,"hierarchy")),g.mergeKeyWithParent(e,"hierarchy"))),n=g.groupBy(t,"lvl0");return f().each(n,(e,t)=>{let i=g.groupBy(t,"lvl1"),r=g.flattenAndFlagFirst(i,"isSubCategoryHeader");n[e]=r}),(n=g.flattenAndFlagFirst(n,"isCategoryHeader")).map(e=>{let t=m.formatURL(e),n=g.getHighlightedValue(e,"lvl0"),i=g.getHighlightedValue(e,"lvl1")||n,r=g.compact([g.getHighlightedValue(e,"lvl2")||i,g.getHighlightedValue(e,"lvl3"),g.getHighlightedValue(e,"lvl4"),g.getHighlightedValue(e,"lvl5"),g.getHighlightedValue(e,"lvl6")]).join(''),s=g.getSnippetedValue(e,"content"),o=i&&""!==i||r&&""!==r,a=!i||""===i||i===n,u=r&&""!==r&&r!==i,c=!u&&i&&""!==i&&i!==n,l=e.version;return{isLvl0:!c&&!u,isLvl1:c,isLvl2:u,isLvl1EmptyOrDuplicate:a,isCategoryHeader:e.isCategoryHeader,isSubCategoryHeader:e.isSubCategoryHeader,isTextOrSubcategoryNonEmpty:o,category:n,subcategory:i,title:r,text:s,url:t,version:l}})}static formatURL(e){let{url:t,anchor:n}=e;if(t){if(-1!==t.indexOf("#"));else if(n)return`${e.url}#${e.anchor}`;return t}return n?`#${e.anchor}`:(console.warn("no anchor nor url for : ",JSON.stringify(e)),null)}static getEmptyTemplate(){return e=>r().compile(p.empty).render(e)}static getSuggestionTemplate(e){let t=e?p.suggestionSimple:p.suggestion,n=r().compile(t);return e=>n.render(e)}handleSelected(e,t,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if("click"!==r.selectionMethod)e.setVal(""),window.location.assign(n.url)}handleShown(e){let t=e.offset().left+e.width()/2,n=f()(document).width()/2;isNaN(n)&&(n=900);let i=t-n>=0?"algolia-autocomplete-right":"algolia-autocomplete-left",r=t-n<0?"algolia-autocomplete-right":"algolia-autocomplete-left",s=f()(".algolia-autocomplete");!s.hasClass(i)&&s.addClass(i),s.hasClass(r)&&s.removeClass(r)}}let v=m}}]); \ No newline at end of file diff --git a/assets/js/4343.7a81542a.js b/assets/js/4343.7a81542a.js new file mode 100644 index 0000000..05c6f73 --- /dev/null +++ b/assets/js/4343.7a81542a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4343"],{92399:function(r,e,s){s.d(e,{diagram:function(){return l}});var a=s(83371);s(57169),s(290),s(29660),s(37971),s(9833),s(30594),s(82612),s(41200),s(68394);var n=s(74146),l={parser:a.P0,db:a.pl,renderer:a.b0,styles:a.Ee,init:(0,n.eW)(r=>{!r.class&&(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.pl.clear()},"init")}}}]); \ No newline at end of file diff --git a/assets/js/455d01c6.52d36ba8.js b/assets/js/455d01c6.52d36ba8.js new file mode 100644 index 0000000..412dd32 --- /dev/null +++ b/assets/js/455d01c6.52d36ba8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5706"],{29240:function(e,t,s){s.r(t),s.d(t,{metadata:()=>r,contentTitle:()=>i,default:()=>d,assets:()=>u,toc:()=>c,frontMatter:()=>n});var r=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_blog_post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","source":"@site/docs/docusaurus/tutorial_basics/create_a_blog_post.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_blog_post","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_blog_post.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":3,"frontMatter":{"sidebar_position":3},"sidebar":"tutorialSidebar","previous":{"title":"Create a Document","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document"},"next":{"title":"Markdown Features","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features"}}'),a=s("85893"),o=s("50065");let n={sidebar_position:3},i="Create a Blog Post",u={},c=[{value:"Create your first Post",id:"create-your-first-post",level:2}];function l(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"create-a-blog-post",children:"Create a Blog Post"})}),"\n",(0,a.jsxs)(t.p,{children:["Docusaurus creates a ",(0,a.jsx)(t.strong,{children:"page for each blog post"}),", but also a ",(0,a.jsx)(t.strong,{children:"blog index page"}),", a ",(0,a.jsx)(t.strong,{children:"tag system"}),", an ",(0,a.jsx)(t.strong,{children:"RSS"})," feed..."]}),"\n",(0,a.jsx)(t.h2,{id:"create-your-first-post",children:"Create your first Post"}),"\n",(0,a.jsxs)(t.p,{children:["Create a file at ",(0,a.jsx)(t.code,{children:"blog/2021-02-28-greetings.md"}),":"]}),"\n",(0,a.jsx)(t.pre,{children:(0,a.jsx)(t.code,{className:"language-md",metastring:'title="blog/2021-02-28-greetings.md"',children:"---\nslug: greetings\ntitle: Greetings!\nauthors:\n - name: Joel Marcey\n title: Co-creator of Docusaurus 1\n url: https://github.com/JoelMarcey\n image_url: https://github.com/JoelMarcey.png\n - name: S\xe9bastien Lorber\n title: Docusaurus maintainer\n url: https://sebastienlorber.com\n image_url: https://github.com/slorber.png\ntags: [greetings]\n---\n\nCongratulations, you have made your first post!\n\nFeel free to play around and edit this post as much as you like.\n"})}),"\n",(0,a.jsxs)(t.p,{children:["A new blog post is now available at ",(0,a.jsx)(t.a,{href:"http://localhost:3000/blog/greetings",children:"http://localhost:3000/blog/greetings"}),"."]})]})}function d(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}},50065:function(e,t,s){s.d(t,{Z:function(){return i},a:function(){return n}});var r=s(67294);let a={},o=r.createContext(a);function n(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:n(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4600.9105dad5.js b/assets/js/4600.9105dad5.js new file mode 100644 index 0000000..4150d98 --- /dev/null +++ b/assets/js/4600.9105dad5.js @@ -0,0 +1,56 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4600"],{58314:function(t,e,i){i.d(e,{diagram:function(){return U}});var n=i(74146),r=i(27818),s=i(77845),a=i(86750),l=i(35035),o=function(){var t=(0,n.eW)(function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},"o"),e=[6,8,10,11,12,14,16,17,20,21],i=[1,9],r=[1,10],s=[1,11],a=[1,12],l=[1,13],o=[1,16],c=[1,17],h={trace:(0,n.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:(0,n.eW)(function(t,e,i,n,r,s,a){var l=s.length-1;switch(r){case 1:return s[l-1];case 2:case 6:case 7:this.$=[];break;case 3:s[l-1].push(s[l]),this.$=s[l-1];break;case 4:case 5:this.$=s[l];break;case 8:n.getCommonDb().setDiagramTitle(s[l].substr(6)),this.$=s[l].substr(6);break;case 9:this.$=s[l].trim(),n.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=s[l].trim(),n.getCommonDb().setAccDescription(this.$);break;case 12:n.addSection(s[l].substr(8)),this.$=s[l].substr(8);break;case 15:n.addTask(s[l],0,""),this.$=s[l];break;case 16:n.addEvent(s[l].substr(2)),this.$=s[l]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:r,14:s,16:a,17:l,18:14,19:15,20:o,21:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:i,12:r,14:s,16:a,17:l,18:14,19:15,20:o,21:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:(0,n.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,n.eW)(function(t){var e=this,i=[0],r=[],s=[null],a=[],l=this.table,o="",c=0,h=0,d=0,u=a.slice.call(arguments,1),p=Object.create(this.lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=this.yy[g]);p.setInput(t,y.yy),y.yy.lexer=p,y.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;a.push(f);var m=p.options&&p.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,n.eW)(function(t){i.length=i.length-2*t,s.length=s.length-t,a.length=a.length-t},"popStack"),(0,n.eW)(x,"lex");for(var b,_,k,w,v,W,S,$,M,E={};;){if(k=i[i.length-1],this.defaultActions[k]?w=this.defaultActions[k]:(null==b&&(b=x()),w=l[k]&&l[k][b]),void 0===w||!w.length||!w[0]){var I="";for(W in M=[],l[k])this.terminals_[W]&&W>2&&M.push("'"+this.terminals_[W]+"'");I=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(I,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:f,expected:M})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+b);switch(w[0]){case 1:i.push(b),s.push(p.yytext),a.push(p.yylloc),i.push(w[1]),b=null,_?(b=_,_=null):(h=p.yyleng,o=p.yytext,c=p.yylineno,f=p.yylloc,d>0&&d--);break;case 2:if(S=this.productions_[w[1]][1],E.$=s[s.length-S],E._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},m&&(E._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),void 0!==(v=this.performAction.apply(E,[o,h,c,y.yy,w[1],s,a].concat(u))))return v;S&&(i=i.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),i.push(this.productions_[w[1]][0]),s.push(E.$),a.push(E._$),$=l[i[i.length-2]][i[i.length-1]],i.push($);break;case 3:return!0}}return!0},"parse")},d={EOF:1,parseError:(0,n.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,n.eW)(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},"setInput"),input:(0,n.eW)(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},"input"),unput:(0,n.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,n.eW)(function(){return this._more=!0,this},"more"),reject:(0,n.eW)(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})},"reject"),less:(0,n.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,n.eW)(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,"")},"upcomingInput"),showPosition:(0,n.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,n.eW)(function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},"test_match"),next:(0,n.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,n.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,n.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,n.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.eW)(function(t,e,i,n){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\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:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};function u(){this.yy={}}return h.lexer=d,(0,n.eW)(u,"Parser"),u.prototype=h,h.Parser=u,new u}();o.parser=o;var c={};(0,n.r2)(c,{addEvent:()=>k,addSection:()=>m,addTask:()=>_,addTaskOrg:()=>w,clear:()=>f,default:()=>W,getCommonDb:()=>g,getSections:()=>x,getTasks:()=>b});var h="",d=0,u=[],p=[],y=[],g=(0,n.eW)(()=>n.LJ,"getCommonDb"),f=(0,n.eW)(function(){u.length=0,p.length=0,h="",y.length=0,(0,n.ZH)()},"clear"),m=(0,n.eW)(function(t){h=t,u.push(t)},"addSection"),x=(0,n.eW)(function(){return u},"getSections"),b=(0,n.eW)(function(){let t=v(),e=0;for(;!t&&e<100;)t=v(),e++;return p.push(...y),p},"getTasks"),_=(0,n.eW)(function(t,e,i){let n={id:d++,section:h,type:h,task:t,score:e||0,events:i?[i]:[]};y.push(n)},"addTask"),k=(0,n.eW)(function(t){y.find(t=>t.id===d-1).events.push(t)},"addEvent"),w=(0,n.eW)(function(t){let e={section:h,type:h,description:t,task:t,classes:[]};p.push(e)},"addTaskOrg"),v=(0,n.eW)(function(){let t=(0,n.eW)(function(t){return y[t].processed},"compileTask"),e=!0;for(let[i,n]of y.entries())t(i),e=e&&n.processed;return e},"compileTasks"),W={clear:f,getCommonDb:g,addSection:m,getSections:x,getTasks:b,addTask:_,addTaskOrg:w,addEvent:k},S=(0,n.eW)(function(t,e){let i=t.append("rect");return i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),i.attr("rx",e.rx),i.attr("ry",e.ry),void 0!==e.class&&i.attr("class",e.class),i},"drawRect"),$=(0,n.eW)(function(t,e){let i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),s=t.append("g");function a(t){let i=(0,r.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function l(t){let i=(0,r.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).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 s.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"),s.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"),(0,n.eW)(a,"smile"),(0,n.eW)(l,"sad"),(0,n.eW)(o,"ambivalent"),e.score>3?a(s):e.score<3?l(s):o(s),i},"drawFace"),M=(0,n.eW)(function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},"drawCircle"),E=(0,n.eW)(function(t,e){let i=e.text.replace(//gi," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),void 0!==e.class&&n.attr("class",e.class);let r=n.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(i),n},"drawText"),I=(0,n.eW)(function(t,e){function i(t,e,i,n,r){return t+","+e+" "+(t+i)+","+e+" "+(t+i)+","+(e+n-r)+" "+(t+i-1.2*r)+","+(e+n)+" "+t+","+(e+n)}(0,n.eW)(i,"genPoints");let r=t.append("polygon");r.attr("points",i(e.x,e.y,50,20,7)),r.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,E(t,e)},"drawLabel"),T=(0,n.eW)(function(t,e,i){let n=t.append("g"),r=P();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=i.width,r.height=i.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,S(n,r),H(i)(e.text,n,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},i,e.colour)},"drawSection"),A=-1,N=(0,n.eW)(function(t,e,i){let n=e.x+i.width/2,r=t.append("g");A++;r.append("line").attr("id","task"+A).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),$(r,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=P();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width,s.height=i.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,S(r,s),H(i)(e.task,r,s.x,s.y,s.width,s.height,{class:"task"},i,e.colour)},"drawTask"),C=(0,n.eW)(function(t,e){S(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},"drawBackgroundRect"),L=(0,n.eW)(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),P=(0,n.eW)(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),H=function(){function t(t,e,i,n,s,a,l,o){r(e.append("text").attr("x",i+s/2).attr("y",n+a/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,n,s,a,l,o,c){let{taskFontSize:h,taskFontFamily:d}=o,u=t.split(//gi);for(let t=0;t)/).reverse(),s=[],a=i.attr("y"),l=parseFloat(i.attr("dy")),o=i.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",l+"em");for(let r=0;re||"
    "===t)&&(s.pop(),o.text(s.join(" ").trim()),s="
    "===t?[""]:[t],o=i.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))})}(0,n.eW)(j,"wrap");var D=(0,n.eW)(function(t,e,i,n){let r=i%12-1,s=t.append("g");e.section=r,s.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+r);let a=s.append("g"),l=s.append("g"),o=l.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(j,e.width).node().getBBox(),c=n.fontSize?.replace?n.fontSize.replace("px",""):n.fontSize;return e.height=o.height+.55*c+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,l.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),R(a,e,r,n),e},"drawNode"),z=(0,n.eW)(function(t,e,i){let n=t.append("g"),r=n.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(j,e.width).node().getBBox(),s=i.fontSize?.replace?i.fontSize.replace("px",""):i.fontSize;return n.remove(),r.height+.55*s+e.padding},"getVirtualNodeHeight"),R=(0,n.eW)(function(t,e,i){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${-e.height+10} 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-"+i).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},"defaultBkg"),B={initGraphics:O,drawNode:D,getVirtualNodeHeight:z},F=(0,n.eW)(function(t,e,i,s){let a;let l=(0,n.nV)(),o=l.leftMargin??50;n.cM.debug("timeline",s.db);let c=l.securityLevel;"sandbox"===c&&(a=(0,r.Ys)("#i"+e));let h=("sandbox"===c?(0,r.Ys)(a.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);h.append("g");let d=s.db.getTasks(),u=s.db.getCommonDb().getDiagramTitle();n.cM.debug("task",d),B.initGraphics(h);let p=s.db.getSections();n.cM.debug("sections",p);let y=0,g=0,f=0,m=0,x=50+o,b=50;m=50;let _=0,k=!0;p.forEach(function(t){let e={number:_,descr:t,section:_,width:150,padding:20,maxHeight:y},i=B.getVirtualNodeHeight(h,e,l);n.cM.debug("sectionHeight before draw",i),y=Math.max(y,i+20)});let w=0,v=0;for(let[t,e]of(n.cM.debug("tasks.length",d.length),d.entries())){let i={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:g},r=B.getVirtualNodeHeight(h,i,l);n.cM.debug("taskHeight before draw",r),g=Math.max(g,r+20),w=Math.max(w,e.events.length);let s=0;for(let t of e.events){let i={descr:t,section:e.section,number:e.section,width:150,padding:20,maxHeight:50};s+=B.getVirtualNodeHeight(h,i,l)}v=Math.max(v,s)}n.cM.debug("maxSectionHeight before draw",y),n.cM.debug("maxTaskHeight before draw",g),p&&p.length>0?p.forEach(t=>{let e=d.filter(e=>e.section===t),i={number:_,descr:t,section:_,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:y};n.cM.debug("sectionNode",i);let r=h.append("g"),s=B.drawNode(r,i,_,l);n.cM.debug("sectionNode output",s),r.attr("transform",`translate(${x}, ${m})`),b+=y+50,e.length>0&&V(h,e,_,x,b,g,l,w,v,y,!1),x+=200*Math.max(e.length,1),b=m,_++}):(k=!1,V(h,d,_,x,b,g,l,w,v,y,!0));let W=h.node().getBBox();n.cM.debug("bounds",W),u&&h.append("text").text(u).attr("x",W.width/2-o).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),f=k?y+g+150:g+100,h.append("g").attr("class","lineWrapper").append("line").attr("x1",o).attr("y1",f).attr("x2",W.width+3*o).attr("y2",f).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,n.j7)(void 0,h,l.timeline?.padding??50,l.timeline?.useMaxWidth??!1)},"draw"),V=(0,n.eW)(function(t,e,i,r,s,a,l,o,c,h,d){for(let o of e){let e={descr:o.task,section:i,number:i,width:150,padding:20,maxHeight:a};n.cM.debug("taskNode",e);let u=t.append("g").attr("class","taskWrapper"),p=B.drawNode(u,e,i,l).height;if(n.cM.debug("taskHeight after draw",p),u.attr("transform",`translate(${r}, ${s})`),a=Math.max(a,p),o.events){let e=t.append("g").attr("class","lineWrapper"),n=a;s+=100,Y(t,o.events,i,r,s,l),s-=100,e.append("line").attr("x1",r+95).attr("y1",s+a).attr("x2",r+95).attr("y2",s+a+(d?a:h)+c+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}r+=200,d&&!l.timeline?.disableMulticolor&&i++}},"drawTasks"),Y=(0,n.eW)(function(t,e,i,r,s,a){let l=0,o=s;for(let o of(s+=100,e)){let e={descr:o,section:i,number:i,width:150,padding:20,maxHeight:50};n.cM.debug("eventNode",e);let c=t.append("g").attr("class","eventWrapper"),h=B.drawNode(c,e,i,a).height;l+=h,c.attr("transform",`translate(${r}, ${s})`),s=s+10+h}return s=o,l},"drawEvents"),Z={setConf:(0,n.eW)(()=>{},"setConf"),draw:F},q=(0,n.eW)(t=>{let e="";for(let e=0;e` + .edge { + stroke-width: 3; + } + ${q(t)} + .section-root rect, .section-root path, .section-root circle { + fill: ${t.git0}; + } + .section-root text { + fill: ${t.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .eventWrapper { + filter: brightness(120%); + } +`,"getStyles"),U={db:c,renderer:Z,parser:o,styles:G}}}]); \ No newline at end of file diff --git a/assets/js/488.e74178fe.js b/assets/js/488.e74178fe.js new file mode 100644 index 0000000..08da42e --- /dev/null +++ b/assets/js/488.e74178fe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["488"],{62350:function(t,i,e){e.d(i,{diagram:function(){return tt}});var s,n=e(41200),a=e(68394),h=e(89356),o=e(74146),r=e(27818),l=function(){var t=(0,o.eW)(function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],a=[1,6],h=[1,7],r=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],c=[1,26],g=[1,28],u=[1,29],x=[1,30],d=[1,31],p=[1,32],f=[1,33],y=[1,34],m=[1,35],b=[1,36],A=[1,37],S=[1,43],C=[1,42],w=[1,47],k=[1,50],_=[1,10,12,14,16,18,19,21,23,34,35,36],T=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],R=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],W=[1,64],D={trace:(0,o.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:(0,o.eW)(function(t,i,e,s,n,a,h){var o=a.length-1;switch(n){case 5:s.setOrientation(a[o]);break;case 9:s.setDiagramTitle(a[o].text.trim());break;case 12:s.setLineData({text:"",type:"text"},a[o]);break;case 13:s.setLineData(a[o-1],a[o]);break;case 14:s.setBarData({text:"",type:"text"},a[o]);break;case 15:s.setBarData(a[o-1],a[o]);break;case 16:this.$=a[o].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=a[o].trim(),s.setAccDescription(this.$);break;case 19:case 27:this.$=a[o-1];break;case 20:this.$=[Number(a[o-2]),...a[o]];break;case 21:this.$=[Number(a[o])];break;case 22:s.setXAxisTitle(a[o]);break;case 23:s.setXAxisTitle(a[o-1]);break;case 24:s.setXAxisTitle({type:"text",text:""});break;case 25:s.setXAxisBand(a[o]);break;case 26:s.setXAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 28:this.$=[a[o-2],...a[o]];break;case 29:this.$=[a[o]];break;case 30:s.setYAxisTitle(a[o]);break;case 31:s.setYAxisTitle(a[o-1]);break;case 32:s.setYAxisTitle({type:"text",text:""});break;case 33:s.setYAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 37:case 38:this.$={text:a[o],type:"text"};break;case 39:this.$={text:a[o],type:"markdown"};break;case 40:this.$=a[o];break;case 41:this.$=a[o-1]+""+a[o]}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:n,35:a,36:h}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:n,35:a,36:h}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:a,36:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(r,[2,34]),t(r,[2,35]),t(r,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:n,35:a,36:h}),{1:[2,3]},t(r,[2,5]),t(i,[2,7],{4:22,34:n,35:a,36:h}),{11:23,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:39,13:38,24:S,27:C,29:40,30:41,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:45,15:44,27:w,33:46,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:49,17:48,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:52,17:51,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{20:[1,53]},{22:[1,54]},t(_,[2,18]),{1:[2,2]},t(_,[2,8]),t(_,[2,9]),t(T,[2,37],{40:55,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A}),t(T,[2,38]),t(T,[2,39]),t(R,[2,40]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(_,[2,10]),t(_,[2,22],{30:41,29:56,24:S,27:C}),t(_,[2,24]),t(_,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},t(_,[2,11]),t(_,[2,30],{33:60,27:w}),t(_,[2,32]),{31:[1,61]},t(_,[2,12]),{17:62,24:k},{25:63,27:W},t(_,[2,14]),{17:65,24:k},t(_,[2,16]),t(_,[2,17]),t(R,[2,41]),t(_,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(_,[2,31]),{27:[1,69]},t(_,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(_,[2,15]),t(_,[2,26]),t(_,[2,27]),{11:59,32:72,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},t(_,[2,33]),t(_,[2,19]),{25:73,27:W},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:(0,o.eW)(function(t,i){if(i.recoverable)this.trace(t);else{var e=Error(t);throw e.hash=i,e}},"parseError"),parse:(0,o.eW)(function(t){var i=this,e=[0],s=[],n=[null],a=[],h=this.table,r="",l=0,c=0,g=0,u=a.slice.call(arguments,1),x=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);x.setInput(t,d.yy),d.yy.lexer=x,d.yy.parser=this,void 0===x.yylloc&&(x.yylloc={});var f=x.yylloc;a.push(f);var y=x.options&&x.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function m(){var t;return"number"!=typeof(t=s.pop()||x.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}(0,o.eW)(function(t){e.length=e.length-2*t,n.length=n.length-t,a.length=a.length-t},"popStack"),(0,o.eW)(m,"lex");for(var b,A,S,C,w,k,_,T,R,W={};;){if(S=e[e.length-1],this.defaultActions[S]?C=this.defaultActions[S]:(null==b&&(b=m()),C=h[S]&&h[S][b]),void 0===C||!C.length||!C[0]){var D="";for(k in R=[],h[S])this.terminals_[k]&&k>2&&R.push("'"+this.terminals_[k]+"'");D=x.showPosition?"Parse error on line "+(l+1)+":\n"+x.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(D,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:f,expected:R})}if(C[0]instanceof Array&&C.length>1)throw Error("Parse Error: multiple actions possible at state: "+S+", token: "+b);switch(C[0]){case 1:e.push(b),n.push(x.yytext),a.push(x.yylloc),e.push(C[1]),b=null,A?(b=A,A=null):(c=x.yyleng,r=x.yytext,l=x.yylineno,f=x.yylloc,g>0&&g--);break;case 2:if(_=this.productions_[C[1]][1],W.$=n[n.length-_],W._$={first_line:a[a.length-(_||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(_||1)].first_column,last_column:a[a.length-1].last_column},y&&(W._$.range=[a[a.length-(_||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(W,[r,c,l,d.yy,C[1],n,a].concat(u))))return w;_&&(e=e.slice(0,-1*_*2),n=n.slice(0,-1*_),a=a.slice(0,-1*_)),e.push(this.productions_[C[1]][0]),n.push(W.$),a.push(W._$),T=h[e[e.length-2]][e[e.length-1]],e.push(T);break;case 3:return!0}}return!0},"parse")},L={EOF:1,parseError:(0,o.eW)(function(t,i){if(this.yy.parser)this.yy.parser.parseError(t,i);else throw Error(t)},"parseError"),setInput:(0,o.eW)(function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,o.eW)(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},"input"),unput:(0,o.eW)(function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.eW)(function(){return this._more=!0,this},"more"),reject:(0,o.eW)(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})},"reject"),less:(0,o.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,o.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,o.eW)(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,"")},"upcomingInput"),showPosition:(0,o.eW)(function(){var t=this.pastInput(),i=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},"showPosition"),test_match:(0,o.eW)(function(t,i){var e,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack)for(var a in n)this[a]=n[a];return!1},"test_match"),next:(0,o.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,i,e,s,n=this._currentRules(),a=0;ai[0].length)){if(i=e,s=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[a])))return t;if(!this._backtrack)return!1;else{i=!1;continue}}if(!this.options.flex)break}if(i)return!1!==(t=this.test_match(i,n[s]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,o.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,o.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,o.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,o.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,o.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.eW)(function(t,i,e,s){switch(e){case 0:case 1:case 5:case 43:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 25:case 27:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 26:this.pushState("string");break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 44:return 35;case 45:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}};function P(){this.yy={}}return D.lexer=L,(0,o.eW)(P,"Parser"),P.prototype=D,D.Parser=P,new P}();l.parser=l;function c(t){return"bar"===t.type}function g(t){return"band"===t.type}function u(t){return"linear"===t.type}(0,o.eW)(c,"isBarPlot"),(0,o.eW)(g,"isBandAxisData"),(0,o.eW)(u,"isLinearAxisData");var x=class{constructor(t){this.parentGroup=t}static{(0,o.eW)(this,"TextDimensionCalculatorWithFont")}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((t,i)=>Math.max(i.length,t),0)*i,height:i};let e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(let a of t){let t=(0,n.QA)(s,1,a),h=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,h),e.height=Math.max(e.height,o)}return s.remove(),e}},d=class{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}static{(0,o.eW)(this,"BaseAxis")}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){let t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);let n=e.height+2*this.axisConfig.labelPadding;this.labelTextHeight=e.height,n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);let n=e.width+2*this.axisConfig.labelPadding;n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},p=class extends d{static{(0,o.eW)(this,"BandAxis")}constructor(t,i,e,s,n){super(t,s,n,i),this.categories=e,this.scale=(0,r.tiA)().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=(0,r.tiA)().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),o.cM.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},f=class extends d{static{(0,o.eW)(this,"LinearAxis")}constructor(t,i,e,s,n){super(t,s,n,i),this.domain=e,this.scale=(0,r.BYU)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,r.BYU)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}};function y(t,i,e,s){let n=new x(s);return g(t)?new p(i,e,t.categories,t.title,n):new f(i,e,[t.min,t.max],t.title,n)}(0,o.eW)(y,"getAxis");var m=class{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{(0,o.eW)(this,"ChartTitle")}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){let i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=s&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}};function b(t,i,e,s){return new m(new x(s),t,i,e)}(0,o.eW)(b,"getChartTitleComponent");var A=class{constructor(t,i,e,s,n){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=n}static{(0,o.eW)(this,"LinePlot")}getDrawableElement(){let t;let i=this.plotData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]);return(t="horizontal"===this.orientation?(0,r.jvg)().y(t=>t[0]).x(t=>t[1])(i):(0,r.jvg)().x(t=>t[0]).y(t=>t[1])(i))?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:t,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}},S=class{constructor(t,i,e,s,n,a){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=n,this.plotIndex=a}static{(0,o.eW)(this,"BarPlot")}getDrawableElement(){let t=this.barData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},C=class{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}static{(0,o.eW)(this,"BasePlot")}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let t=[];for(let[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{let s=new A(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{let s=new S(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}};function w(t,i,e){return new C(t,i,e)}(0,o.eW)(w,"getPlotComponent");var k=class{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:b(t,i,e,s),plot:w(t,i,e),xAxis:y(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:y(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}static{(0,o.eW)(this,"Orchestrator")}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),a=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:n,height:a});t-=h.width,i-=h.height,s=(h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=h.height,this.componentStore.xAxis.setAxisPosition("bottom"),h=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=h.height,this.componentStore.yAxis.setAxisPosition("left"),e=(h=this.componentStore.yAxis.calculateSpace({width:t,height:i})).width,(t-=h.width)>0&&(n+=t,t=0),i>0&&(a+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:a}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.xAxis.setRange([e,e+n]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+a}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some(t=>c(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),h=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:a,height:h});t-=o.width,i-=o.height,e=(o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=o.height,this.componentStore.xAxis.setAxisPosition("left"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=o.width,s=o.width,this.componentStore.yAxis.setAxisPosition("top"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=o.height,n=e+o.height,t>0&&(a+=t,t=0),i>0&&(h+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:h}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([n,n+h]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some(t=>c(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let t=[];for(let i of(this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis),Object.values(this.componentStore)))t.push(...i.getDrawableElements());return t}},_=class{static{(0,o.eW)(this,"XYChartBuilder")}static build(t,i,e,s){return new k(t,i,e,s).getDrawableElement()}},T=0,R=I(),W=v(),D=M(),L=W.plotColorPalette.split(",").map(t=>t.trim()),P=!1,E=!1;function v(){let t=(0,o.xN)(),i=(0,o.iE)();return(0,a.Rb)(t.xyChart,i.themeVariables.xyChart)}function I(){let t=(0,o.iE)();return(0,a.Rb)(o.vZ.xyChart,t.xyChart)}function M(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function $(t){let i=(0,o.iE)();return(0,o.oO)(t.trim(),i)}function B(t){s=t}function z(t){"horizontal"===t?R.chartOrientation="horizontal":R.chartOrientation="vertical"}function O(t){D.xAxis.title=$(t.text)}function F(t,i){D.xAxis={type:"linear",title:D.xAxis.title,min:t,max:i},P=!0}function N(t){D.xAxis={type:"band",title:D.xAxis.title,categories:t.map(t=>$(t.text))},P=!0}function V(t){D.yAxis.title=$(t.text)}function X(t,i){D.yAxis={type:"linear",title:D.yAxis.title,min:t,max:i},E=!0}function Y(t){let i=Math.min(...t),e=Math.max(...t),s=u(D.yAxis)?D.yAxis.min:1/0,n=u(D.yAxis)?D.yAxis.max:-1/0;D.yAxis={type:"linear",title:D.yAxis.title,min:Math.min(s,i),max:Math.max(n,e)}}function U(t){let i=[];if(0===t.length)return i;if(!P){let i=u(D.xAxis)?D.xAxis.min:1/0;F(Math.min(i,1),Math.max(u(D.xAxis)?D.xAxis.max:-1/0,t.length))}if(!E&&Y(t),g(D.xAxis)&&(i=D.xAxis.categories.map((i,e)=>[i,t[e]])),u(D.xAxis)){let e=D.xAxis.min,s=D.xAxis.max,n=(s-e)/(t.length-1),a=[];for(let t=e;t<=s;t+=n)a.push(`${t}`);i=a.map((i,e)=>[i,t[e]])}return i}function H(t){return L[0===t?0:t%L.length]}function j(t,i){let e=U(i);D.plots.push({type:"line",strokeFill:H(T),strokeWidth:2,data:e}),T++}function G(t,i){let e=U(i);D.plots.push({type:"bar",fill:H(T),data:e}),T++}function Q(){if(0===D.plots.length)throw Error("No Plot to render, please provide a plot with some data");return D.title=(0,o.Kr)(),_.build(R,D,W,s)}function K(){return W}function Z(){return R}(0,o.eW)(v,"getChartDefaultThemeConfig"),(0,o.eW)(I,"getChartDefaultConfig"),(0,o.eW)(M,"getChartDefaultData"),(0,o.eW)($,"textSanitizer"),(0,o.eW)(B,"setTmpSVGG"),(0,o.eW)(z,"setOrientation"),(0,o.eW)(O,"setXAxisTitle"),(0,o.eW)(F,"setXAxisRangeData"),(0,o.eW)(N,"setXAxisBand"),(0,o.eW)(V,"setYAxisTitle"),(0,o.eW)(X,"setYAxisRangeData"),(0,o.eW)(Y,"setYAxisRangeFromPlotData"),(0,o.eW)(U,"transformDataWithoutCategory"),(0,o.eW)(H,"getPlotColorFromPalette"),(0,o.eW)(j,"setLineData"),(0,o.eW)(G,"setBarData"),(0,o.eW)(Q,"getDrawableElem"),(0,o.eW)(K,"getChartThemeConfig"),(0,o.eW)(Z,"getChartConfig");var q={getDrawableElem:Q,clear:(0,o.eW)(function(){(0,o.ZH)(),T=0,R=I(),D=M(),L=(W=v()).plotColorPalette.split(",").map(t=>t.trim()),P=!1,E=!1},"clear"),setAccTitle:o.GN,getAccTitle:o.eu,setDiagramTitle:o.g2,getDiagramTitle:o.Kr,getAccDescription:o.Mx,setAccDescription:o.U$,setOrientation:z,setXAxisTitle:O,setXAxisRangeData:F,setXAxisBand:N,setYAxisTitle:V,setYAxisRangeData:X,setLineData:j,setBarData:G,setTmpSVGG:B,getChartThemeConfig:K,getChartConfig:Z},J=(0,o.eW)((t,i,e,s)=>{let n=s.db,a=n.getChartThemeConfig(),r=n.getChartConfig();function l(t){return"top"===t?"text-before-edge":"middle"}function c(t){return"left"===t?"start":"right"===t?"end":"middle"}function g(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,o.eW)(l,"getDominantBaseLine"),(0,o.eW)(c,"getTextAnchor"),(0,o.eW)(g,"getTextTransformation"),o.cM.debug("Rendering xychart chart\n"+t);let u=(0,h.P)(i),x=u.append("g").attr("class","main"),d=x.append("rect").attr("width",r.width).attr("height",r.height).attr("class","background");(0,o.v2)(u,r.height,r.width,!0),u.attr("viewBox",`0 0 ${r.width} ${r.height}`),d.attr("fill",a.backgroundColor),n.setTmpSVGG(u.append("g").attr("class","mermaid-tmp-group"));let p=n.getDrawableElem(),f={};function y(t){let i=x,e="";for(let[s]of t.entries()){let n=x;s>0&&f[e]&&(n=f[e]),e+=t[s],!(i=f[e])&&(i=f[e]=n.append("g").attr("class",t[s]))}return i}for(let t of((0,o.eW)(y,"getGroup"),p)){if(0===t.data.length)continue;let i=y(t.groupTexts);switch(t.type){case"rect":i.selectAll("rect").data(t.data).enter().append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth);break;case"text":i.selectAll("text").data(t.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>l(t.verticalPos)).attr("text-anchor",t=>c(t.horizontalPos)).attr("transform",t=>g(t)).text(t=>t.text);break;case"path":i.selectAll("path").data(t.data).enter().append("path").attr("d",t=>t.path).attr("fill",t=>t.fill?t.fill:"none").attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth)}}},"draw"),tt={parser:l,db:q,renderer:{draw:J}}}}]); \ No newline at end of file diff --git a/assets/js/4960.503a57f9.js b/assets/js/4960.503a57f9.js new file mode 100644 index 0000000..317e9ee --- /dev/null +++ b/assets/js/4960.503a57f9.js @@ -0,0 +1,117 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4960"],{92076:function(t,e,a){a.d(e,{AD:function(){return h},AE:function(){return c},Mu:function(){return s},O:function(){return n},kc:function(){return d},rB:function(){return l},yU:function(){return o}});var r=a(74146),i=a(17967),s=(0,r.eW)((t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),n=(0,r.eW)((t,e)=>{s(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),o=(0,r.eW)((t,e)=>{let a=e.text.replace(r.Vw," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),e.class&&i.attr("class",e.class);let s=i.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(a),i},"drawText"),c=(0,r.eW)((t,e,a,r)=>{let s=t.append("image");s.attr("x",e),s.attr("y",a);let n=(0,i.sanitizeUrl)(r);s.attr("xlink:href",n)},"drawImage"),l=(0,r.eW)((t,e,a,r)=>{let s=t.append("use");s.attr("x",e),s.attr("y",a);let n=(0,i.sanitizeUrl)(r);s.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),d=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},79068:function(t,e,a){a.d(e,{A:function(){return i}});var r=a(74146),i=class{constructor(t){this.init=t,this.records=this.init()}static{(0,r.eW)(this,"ImperativeState")}reset(){this.records=this.init()}}},19343:function(t,e,a){a.d(e,{diagram:function(){return tj}});var r=a(92076),i=a(79068),s=a(68394),n=a(74146),o=a(27818),c=a(17967),l=function(){var t=(0,n.eW)(function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a},"o"),e=[1,2],a=[1,3],r=[1,4],i=[2,4],s=[1,9],o=[1,11],c=[1,13],l=[1,14],d=[1,16],h=[1,17],p=[1,18],g=[1,24],u=[1,25],x=[1,26],y=[1,27],m=[1,28],b=[1,29],f=[1,30],T=[1,31],E=[1,32],w=[1,33],I=[1,34],L=[1,35],P=[1,36],_=[1,37],k=[1,38],v=[1,39],M=[1,41],A=[1,42],N=[1,43],S=[1,44],O=[1,45],D=[1,46],W=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],R=[4,5,16,50,52,53],Y=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],C=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],B=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],V=[68,69,70],F=[1,122],q={trace:(0,n.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:(0,n.eW)(function(t,e,a,r,i,s,n){var o=s.length-1;switch(i){case 3:return r.apply(s[o]),s[o];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:s[o-1].push(s[o]),this.$=s[o-1];break;case 6:case 7:case 11:case 12:case 62:this.$=s[o];break;case 15:s[o].type="createParticipant",this.$=s[o];break;case 16:s[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(s[o-2])}),s[o-1].push({type:"boxEnd",boxText:s[o-2]}),this.$=s[o-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(s[o-2]),sequenceIndexStep:Number(s[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(s[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:s[o-1].actor};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:s[o-1].actor};break;case 29:r.setDiagramTitle(s[o].substring(6)),this.$=s[o].substring(6);break;case 30:r.setDiagramTitle(s[o].substring(7)),this.$=s[o].substring(7);break;case 31:this.$=s[o].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=s[o].trim(),r.setAccDescription(this.$);break;case 34:s[o-1].unshift({type:"loopStart",loopText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.LOOP_START}),s[o-1].push({type:"loopEnd",loopText:s[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=s[o-1];break;case 35:s[o-1].unshift({type:"rectStart",color:r.parseMessage(s[o-2]),signalType:r.LINETYPE.RECT_START}),s[o-1].push({type:"rectEnd",color:r.parseMessage(s[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=s[o-1];break;case 36:s[o-1].unshift({type:"optStart",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.OPT_START}),s[o-1].push({type:"optEnd",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=s[o-1];break;case 37:s[o-1].unshift({type:"altStart",altText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.ALT_START}),s[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=s[o-1];break;case 38:s[o-1].unshift({type:"parStart",parText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.PAR_START}),s[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=s[o-1];break;case 39:s[o-1].unshift({type:"parStart",parText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),s[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=s[o-1];break;case 40:s[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.CRITICAL_START}),s[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=s[o-1];break;case 41:s[o-1].unshift({type:"breakStart",breakText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.BREAK_START}),s[o-1].push({type:"breakEnd",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=s[o-1];break;case 43:this.$=s[o-3].concat([{type:"option",optionText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},s[o]]);break;case 45:this.$=s[o-3].concat([{type:"and",parText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.PAR_AND},s[o]]);break;case 47:this.$=s[o-3].concat([{type:"else",altText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.ALT_ELSE},s[o]]);break;case 48:s[o-3].draw="participant",s[o-3].type="addParticipant",s[o-3].description=r.parseMessage(s[o-1]),this.$=s[o-3];break;case 49:s[o-1].draw="participant",s[o-1].type="addParticipant",this.$=s[o-1];break;case 50:s[o-3].draw="actor",s[o-3].type="addParticipant",s[o-3].description=r.parseMessage(s[o-1]),this.$=s[o-3];break;case 51:s[o-1].draw="actor",s[o-1].type="addParticipant",this.$=s[o-1];break;case 52:s[o-1].type="destroyParticipant",this.$=s[o-1];break;case 53:this.$=[s[o-1],{type:"addNote",placement:s[o-2],actor:s[o-1].actor,text:s[o]}];break;case 54:s[o-2]=[].concat(s[o-1],s[o-1]).slice(0,2),s[o-2][0]=s[o-2][0].actor,s[o-2][1]=s[o-2][1].actor,this.$=[s[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:s[o-2].slice(0,2),text:s[o]}];break;case 55:this.$=[s[o-1],{type:"addLinks",actor:s[o-1].actor,text:s[o]}];break;case 56:this.$=[s[o-1],{type:"addALink",actor:s[o-1].actor,text:s[o]}];break;case 57:this.$=[s[o-1],{type:"addProperties",actor:s[o-1].actor,text:s[o]}];break;case 58:this.$=[s[o-1],{type:"addDetails",actor:s[o-1].actor,text:s[o]}];break;case 61:this.$=[s[o-2],s[o]];break;case 63:this.$=r.PLACEMENT.LEFTOF;break;case 64:this.$=r.PLACEMENT.RIGHTOF;break;case 65:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:s[o-1].actor}];break;case 66:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:s[o-4].actor}];break;case 67:this.$=[s[o-3],s[o-1],{type:"addMessage",from:s[o-3].actor,to:s[o-1].actor,signalType:s[o-2],msg:s[o]}];break;case 68:this.$={type:"addParticipant",actor:s[o]};break;case 69:this.$=r.LINETYPE.SOLID_OPEN;break;case 70:this.$=r.LINETYPE.DOTTED_OPEN;break;case 71:this.$=r.LINETYPE.SOLID;break;case 72:this.$=r.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=r.LINETYPE.DOTTED;break;case 74:this.$=r.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=r.LINETYPE.SOLID_CROSS;break;case 76:this.$=r.LINETYPE.DOTTED_CROSS;break;case 77:this.$=r.LINETYPE.SOLID_POINT;break;case 78:this.$=r.LINETYPE.DOTTED_POINT;break;case 79:this.$=r.parseMessage(s[o].trim().substring(1))}},"anonymous"),table:[{3:1,4:e,5:a,6:r},{1:[3]},{3:5,4:e,5:a,6:r},{3:6,4:e,5:a,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:o,8:8,9:10,12:12,13:c,14:l,17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},t(W,[2,5]),{9:47,12:12,13:c,14:l,17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},t(W,[2,7]),t(W,[2,8]),t(W,[2,14]),{12:48,50:_,52:k,53:v},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:D},{22:55,70:D},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(W,[2,29]),t(W,[2,30]),{32:[1,61]},{34:[1,62]},t(W,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:D},{22:72,70:D},{22:73,70:D},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:D},{22:90,70:D},{22:91,70:D},{22:92,70:D},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(W,[2,6]),t(W,[2,15]),t(R,[2,9],{10:93}),t(W,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(W,[2,21]),{5:[1,97]},{5:[1,98]},t(W,[2,24]),t(W,[2,25]),t(W,[2,26]),t(W,[2,27]),t(W,[2,28]),t(W,[2,31]),t(W,[2,32]),t(Y,i,{7:99}),t(Y,i,{7:100}),t(Y,i,{7:101}),t(C,i,{40:102,7:103}),t(B,i,{42:104,7:105}),t(B,i,{7:105,42:106}),t($,i,{45:107,7:108}),t(Y,i,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:D},t(V,[2,69]),t(V,[2,70]),t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),t(V,[2,77]),t(V,[2,78]),{22:118,70:D},{22:120,58:119,70:D},{70:[2,63]},{70:[2,64]},{56:121,81:F},{56:123,81:F},{56:124,81:F},{56:125,81:F},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:_,52:k,53:v},{5:[1,131]},t(W,[2,19]),t(W,[2,20]),t(W,[2,22]),t(W,[2,23]),{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,132],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,133],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,134],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{16:[1,135]},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,46],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,49:[1,136],50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{16:[1,137]},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,44],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,48:[1,138],50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{16:[1,139]},{16:[1,140]},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,42],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,47:[1,141],50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,142],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{15:[1,143]},t(W,[2,49]),{15:[1,144]},t(W,[2,51]),t(W,[2,52]),{22:145,70:D},{22:146,70:D},{56:147,81:F},{56:148,81:F},{56:149,81:F},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(W,[2,16]),t(R,[2,10]),{12:151,50:_,52:k,53:v},t(R,[2,12]),t(R,[2,13]),t(W,[2,18]),t(W,[2,34]),t(W,[2,35]),t(W,[2,36]),t(W,[2,37]),{15:[1,152]},t(W,[2,38]),{15:[1,153]},t(W,[2,39]),t(W,[2,40]),{15:[1,154]},t(W,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:F},{56:158,81:F},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:D},t(R,[2,11]),t(C,i,{7:103,40:160}),t(B,i,{7:105,42:161}),t($,i,{7:108,45:162}),t(W,[2,48]),t(W,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:(0,n.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},"parseError"),parse:(0,n.eW)(function(t){var e=this,a=[0],r=[],i=[null],s=[],o=this.table,c="",l=0,d=0,h=0,p=s.slice.call(arguments,1),g=Object.create(this.lexer),u={yy:{}};for(var x in this.yy)Object.prototype.hasOwnProperty.call(this.yy,x)&&(u.yy[x]=this.yy[x]);g.setInput(t,u.yy),u.yy.lexer=g,u.yy.parser=this,void 0===g.yylloc&&(g.yylloc={});var y=g.yylloc;s.push(y);var m=g.options&&g.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(){var t;return"number"!=typeof(t=r.pop()||g.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,n.eW)(function(t){a.length=a.length-2*t,i.length=i.length-t,s.length=s.length-t},"popStack"),(0,n.eW)(b,"lex");for(var f,T,E,w,I,L,P,_,k,v={};;){if(E=a[a.length-1],this.defaultActions[E]?w=this.defaultActions[E]:(null==f&&(f=b()),w=o[E]&&o[E][f]),void 0===w||!w.length||!w[0]){var M="";for(L in k=[],o[E])this.terminals_[L]&&L>2&&k.push("'"+this.terminals_[L]+"'");M=g.showPosition?"Parse error on line "+(l+1)+":\n"+g.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:g.match,token:this.terminals_[f]||f,line:g.yylineno,loc:y,expected:k})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+f);switch(w[0]){case 1:a.push(f),i.push(g.yytext),s.push(g.yylloc),a.push(w[1]),f=null,T?(f=T,T=null):(d=g.yyleng,c=g.yytext,l=g.yylineno,y=g.yylloc,h>0&&h--);break;case 2:if(P=this.productions_[w[1]][1],v.$=i[i.length-P],v._$={first_line:s[s.length-(P||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(P||1)].first_column,last_column:s[s.length-1].last_column},m&&(v._$.range=[s[s.length-(P||1)].range[0],s[s.length-1].range[1]]),void 0!==(I=this.performAction.apply(v,[c,d,l,u.yy,w[1],i,s].concat(p))))return I;P&&(a=a.slice(0,-1*P*2),i=i.slice(0,-1*P),s=s.slice(0,-1*P)),a.push(this.productions_[w[1]][0]),i.push(v.$),s.push(v._$),_=o[a[a.length-2]][a[a.length-1]],a.push(_);break;case 3:return!0}}return!0},"parse")},z={EOF:1,parseError:(0,n.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,n.eW)(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},"setInput"),input:(0,n.eW)(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},"input"),unput:(0,n.eW)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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),a.length-1&&(this.yylineno-=a.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:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[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},"unput"),more:(0,n.eW)(function(){return this._more=!0,this},"more"),reject:(0,n.eW)(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})},"reject"),less:(0,n.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,n.eW)(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,"")},"upcomingInput"),showPosition:(0,n.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,n.eW)(function(t,e){var a,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],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var s in i)this[s]=i[s];return!1},"test_match"),next:(0,n.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,a,r,i=this._currentRules(),s=0;se[0].length)){if(e=a,r=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[r]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,n.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,n.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,n.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.eW)(function(t,e,a,r){switch(a){case 0:case 51:case 66:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 52:return e.yytext=e.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 75;case 56:return 76;case 57:return 71;case 58:return 72;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 80;case 63:return 81;case 64:return 68;case 65:return 69;case 67:return"INVALID"}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\<->\->:\n,;]+?([\-]*[^\<->\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\<->\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\<->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}};function H(){this.yy={}}return q.lexer=z,(0,n.eW)(H,"Parser"),H.prototype=q,q.Parser=H,new H}();l.parser=l;var d=new i.A(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),h=(0,n.eW)(function(t){d.records.boxes.push({name:t.text,wrap:t.wrap??A(),fill:t.color,actorKeys:[]}),d.records.currentBox=d.records.boxes.slice(-1)[0]},"addBox"),p=(0,n.eW)(function(t,e,a,r){let i=d.records.currentBox,s=d.records.actors.get(t);if(s){if(d.records.currentBox&&s.box&&d.records.currentBox!==s.box)throw Error(`A same participant should only be defined in one Box: ${s.name} can't be in '${s.box.name}' and in '${d.records.currentBox.name}' at the same time.`);if(i=s.box?s.box:d.records.currentBox,s.box=i,s&&e===s.name&&null==a)return}if(a?.text==null&&(a={text:e,type:r}),(null==r||null==a.text)&&(a={text:e,type:r}),d.records.actors.set(t,{box:i,name:e,description:a.text,wrap:a.wrap??A(),prevActor:d.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r??"participant"}),d.records.prevActor){let e=d.records.actors.get(d.records.prevActor);e&&(e.nextActor=t)}d.records.currentBox&&d.records.currentBox.actorKeys.push(t),d.records.prevActor=t},"addActor"),g=(0,n.eW)(t=>{let e;let a=0;if(!t)return 0;for(e=0;eg(t??"")){let e=Error("Trying to inactivate an inactive participant ("+t+")");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 d.records.messages.push({from:t,to:e,message:a?.text??"",wrap:a?.wrap??A(),type:r,activate:i}),!0},"addSignal"),y=(0,n.eW)(function(){return d.records.boxes.length>0},"hasAtLeastOneBox"),m=(0,n.eW)(function(){return d.records.boxes.some(t=>t.name)},"hasAtLeastOneBoxWithTitle"),b=(0,n.eW)(function(){return d.records.messages},"getMessages"),f=(0,n.eW)(function(){return d.records.boxes},"getBoxes"),T=(0,n.eW)(function(){return d.records.actors},"getActors"),E=(0,n.eW)(function(){return d.records.createdActors},"getCreatedActors"),w=(0,n.eW)(function(){return d.records.destroyedActors},"getDestroyedActors"),I=(0,n.eW)(function(t){return d.records.actors.get(t)},"getActor"),L=(0,n.eW)(function(){return[...d.records.actors.keys()]},"getActorKeys"),P=(0,n.eW)(function(){d.records.sequenceNumbersEnabled=!0},"enableSequenceNumbers"),_=(0,n.eW)(function(){d.records.sequenceNumbersEnabled=!1},"disableSequenceNumbers"),k=(0,n.eW)(()=>d.records.sequenceNumbersEnabled,"showSequenceNumbers"),v=(0,n.eW)(function(t){d.records.wrapEnabled=t},"setWrap"),M=(0,n.eW)(t=>{if(void 0===t)return{};t=t.trim();let e=null!==/^:?wrap:/.exec(t)||null===/^:?nowrap:/.exec(t)&&void 0;return{cleanedText:(void 0===e?t:t.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:e}},"extractWrap"),A=(0,n.eW)(()=>void 0!==d.records.wrapEnabled?d.records.wrapEnabled:n.nV().sequence?.wrap??!1,"autoWrap"),N=(0,n.eW)(function(){d.reset(),(0,n.ZH)()},"clear"),S=(0,n.eW)(function(t){let{wrap:e,cleanedText:a}=M(t.trim()),r={text:a,wrap:e};return n.cM.debug(`parseMessage: ${JSON.stringify(r)}`),r},"parseMessage"),O=(0,n.eW)(function(t){let e=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(t),a=e?.[1]?e[1].trim():"transparent",r=e?.[2]?e[2].trim():void 0;if(window?.CSS)!window.CSS.supports("color",a)&&(a="transparent",r=t.trim());else{let e=new Option().style;e.color=a,e.color!==a&&(a="transparent",r=t.trim())}let{wrap:i,cleanedText:s}=M(r);return{text:s?(0,n.oO)(s,(0,n.nV)()):void 0,color:a,wrap:i}},"parseBoxData"),D={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34},W=(0,n.eW)(function(t,e,a){let r={actor:t,placement:e,message:a.text,wrap:a.wrap??A()},i=[].concat(t,t);d.records.notes.push(r),d.records.messages.push({from:i[0],to:i[1],message:a.text,wrap:a.wrap??A(),type:D.NOTE,placement:e})},"addNote"),R=(0,n.eW)(function(t,e){let a=I(t);try{let t=(0,n.oO)(e.text,(0,n.nV)());t=(t=t.replace(/&/g,"&")).replace(/=/g,"=");let r=JSON.parse(t);C(a,r)}catch(t){n.cM.error("error while parsing actor link text",t)}},"addLinks"),Y=(0,n.eW)(function(t,e){let a=I(t);try{let t={},r=(0,n.oO)(e.text,(0,n.nV)()),i=r.indexOf("@"),s=(r=(r=r.replace(/&/g,"&")).replace(/=/g,"=")).slice(0,i-1).trim(),o=r.slice(i+1).trim();t[s]=o,C(a,t)}catch(t){n.cM.error("error while parsing actor link text",t)}},"addALink");function C(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}(0,n.eW)(C,"insertLinks");var B=(0,n.eW)(function(t,e){let a=I(t);try{let t=(0,n.oO)(e.text,(0,n.nV)()),r=JSON.parse(t);$(a,r)}catch(t){n.cM.error("error while parsing actor properties text",t)}},"addProperties");function $(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}function V(){d.records.currentBox=void 0}(0,n.eW)($,"insertProperties"),(0,n.eW)(V,"boxEnd");var F=(0,n.eW)(function(t,e){let a=I(t),r=document.getElementById(e.text);try{let t=r.innerHTML,e=JSON.parse(t);e.properties&&$(a,e.properties),e.links&&C(a,e.links)}catch(t){n.cM.error("error while parsing actor details text",t)}},"addDetails"),q=(0,n.eW)(function(t,e){if(t?.properties!==void 0)return t.properties[e]},"getActorProperty"),z=(0,n.eW)(function(t){if(Array.isArray(t))t.forEach(function(t){z(t)});else switch(t.type){case"sequenceIndex":d.records.messages.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":p(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(d.records.actors.has(t.actor))throw Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");d.records.lastCreated=t.actor,p(t.actor,t.actor,t.description,t.draw),d.records.createdActors.set(t.actor,d.records.messages.length);break;case"destroyParticipant":d.records.lastDestroyed=t.actor,d.records.destroyedActors.set(t.actor,d.records.messages.length);break;case"activeStart":case"activeEnd":x(t.actor,void 0,void 0,t.signalType);break;case"addNote":W(t.actor,t.placement,t.text);break;case"addLinks":R(t.actor,t.text);break;case"addALink":Y(t.actor,t.text);break;case"addProperties":B(t.actor,t.text);break;case"addDetails":F(t.actor,t.text);break;case"addMessage":if(d.records.lastCreated){if(t.to!==d.records.lastCreated)throw Error("The created participant "+d.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");d.records.lastCreated=void 0}else if(d.records.lastDestroyed){if(t.to!==d.records.lastDestroyed&&t.from!==d.records.lastDestroyed)throw Error("The destroyed participant "+d.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");d.records.lastDestroyed=void 0}x(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":h(t.boxData);break;case"boxEnd":V();break;case"loopStart":x(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":x(void 0,void 0,void 0,t.signalType);break;case"rectStart":x(void 0,void 0,t.color,t.signalType);break;case"optStart":x(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":x(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,n.GN)(t.text);break;case"parStart":case"and":x(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":x(void 0,void 0,t.criticalText,t.signalType);break;case"option":x(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":x(void 0,void 0,t.breakText,t.signalType);break;case"breakEnd":x(void 0,void 0,void 0,t.signalType)}},"apply"),H={addActor:p,addMessage:u,addSignal:x,addLinks:R,addDetails:F,addProperties:B,autoWrap:A,setWrap:v,enableSequenceNumbers:P,disableSequenceNumbers:_,showSequenceNumbers:k,getMessages:b,getActors:T,getCreatedActors:E,getDestroyedActors:w,getActor:I,getActorKeys:L,getActorProperty:q,getAccTitle:n.eu,getBoxes:f,getDiagramTitle:n.Kr,setDiagramTitle:n.g2,getConfig:(0,n.eW)(()=>(0,n.nV)().sequence,"getConfig"),clear:N,parseMessage:S,parseBoxData:O,LINETYPE:D,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:W,setAccTitle:n.GN,apply:z,setAccDescription:n.U$,getAccDescription:n.Mx,hasAtLeastOneBox:y,hasAtLeastOneBoxWithTitle:m},U=(0,n.eW)(t=>`.actor { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + } + + text.actor > tspan { + fill: ${t.actorTextColor}; + stroke: none; + } + + .actor-line { + stroke: ${t.actorLineColor}; + } + + .messageLine0 { + stroke-width: 1.5; + stroke-dasharray: none; + stroke: ${t.signalColor}; + } + + .messageLine1 { + stroke-width: 1.5; + stroke-dasharray: 2, 2; + stroke: ${t.signalColor}; + } + + #arrowhead path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; + } + + .sequenceNumber { + fill: ${t.sequenceNumberColor}; + } + + #sequencenumber { + fill: ${t.signalColor}; + } + + #crosshead path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; + } + + .messageText { + fill: ${t.signalTextColor}; + stroke: none; + } + + .labelBox { + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBkgColor}; + } + + .labelText, .labelText > tspan { + fill: ${t.labelTextColor}; + stroke: none; + } + + .loopText, .loopText > tspan { + fill: ${t.loopTextColor}; + stroke: none; + } + + .loopLine { + stroke-width: 2px; + stroke-dasharray: 2, 2; + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBorderColor}; + } + + .note { + //stroke: #decc93; + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; + } + + .noteText, .noteText > tspan { + fill: ${t.noteTextColor}; + stroke: none; + } + + .activation0 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .activation1 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .activation2 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .actorPopupMenu { + position: absolute; + } + + .actorPopupMenuPanel { + position: absolute; + fill: ${t.actorBkg}; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4)); +} + .actor-man line { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + } + .actor-man circle, line { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + stroke-width: 2px; + } +`,"getStyles"),j="actor-top",K="actor-bottom",G="actor-man",X=(0,n.eW)(function(t,e){return(0,r.Mu)(t,e)},"drawRect"),J=(0,n.eW)(function(t,e,a,r,i){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};let s=e.links,n=e.actorCnt,o=e.rectData;var l="none";i&&(l="block !important");let d=t.append("g");d.attr("id","actor"+n+"_popup"),d.attr("class","actorPopupMenu"),d.attr("display",l);var h="";void 0!==o.class&&(h=" "+o.class);let p=o.width>a?o.width:a,g=d.append("rect");if(g.attr("class","actorPopupMenuPanel"+h),g.attr("x",o.x),g.attr("y",o.height),g.attr("fill",o.fill),g.attr("stroke",o.stroke),g.attr("width",p),g.attr("height",o.height),g.attr("rx",o.rx),g.attr("ry",o.ry),null!=s){var u=20;for(let t in s){var x=d.append("a"),y=(0,c.sanitizeUrl)(s[t]);x.attr("xlink:href",y),x.attr("target","_blank"),tw(r)(t,x,o.x+10,o.height+u,p,20,{class:"actor"},r),u+=30}}return g.attr("height",u),{height:o.height+u,width:p}},"drawPopup"),Z=(0,n.eW)(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),Q=(0,n.eW)(async function(t,e,a=null){let r=t.append("foreignObject"),i=await (0,n.uT)(e.text,(0,n.iE)()),s=r.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();if(r.attr("height",Math.round(s.height)).attr("width",Math.round(s.width)),"noteText"===e.class){let a=t.node().firstChild;a.setAttribute("height",s.height+2*e.textMargin);let i=a.getBBox();r.attr("x",Math.round(i.x+i.width/2-s.width/2)).attr("y",Math.round(i.y+i.height/2-s.height/2))}else if(a){let{startx:t,stopx:i,starty:n}=a;if(t>i){let e=t;t=i,i=e}r.attr("x",Math.round(t+Math.abs(t-i)/2-s.width/2)),"loopText"===e.class?r.attr("y",Math.round(n)):r.attr("y",Math.round(n-s.height))}return[r]},"drawKatex"),tt=(0,n.eW)(function(t,e){let a=0,r=0,i=e.text.split(n.SY.lineBreakRegex),[o,c]=(0,s.VG)(e.fontSize),l=[],d=0,h=(0,n.eW)(()=>e.y,"yfunc");if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=(0,n.eW)(()=>Math.round(e.y+e.textMargin),"yfunc");break;case"middle":case"center":h=(0,n.eW)(()=>Math.round(e.y+(a+r+e.textMargin)/2),"yfunc");break;case"bottom":case"end":h=(0,n.eW)(()=>Math.round(e.y+(a+r+2*e.textMargin)-e.textMargin),"yfunc")}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[n,p]of i.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==o&&(d=n*o);let i=t.append("text");i.attr("x",e.x),i.attr("y",h()),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!==c&&i.style("font-size",c),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!==d&&i.attr("dy",d);let g=p||s.$m;if(e.tspan){let t=i.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else i.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(i._groups||i)[0][0].getBBox().height,a=r),l.push(i)}return l},"drawText"),te=(0,n.eW)(function(t,e){function a(t,e,a,r,i){return t+","+e+" "+(t+a)+","+e+" "+(t+a)+","+(e+r-i)+" "+(t+a-1.2*i)+","+(e+r)+" "+t+","+(e+r)}(0,n.eW)(a,"genPoints");let r=t.append("polygon");return r.attr("points",a(e.x,e.y,e.width,e.height,7)),r.attr("class","labelBox"),e.y=e.y+e.height/2,tt(t,e),r},"drawLabel"),ta=-1,tr=(0,n.eW)((t,e,a,r)=>{if(!!t.select)a.forEach(a=>{let i=e.get(a),s=t.select("#actor"+i.actorCnt);!r.mirrorActors&&i.stopy?s.attr("y2",i.stopy+i.height/2):r.mirrorActors&&s.attr("y2",i.stopy)})},"fixLifeLineHeights"),ti=(0,n.eW)(function(t,e,a,i){let s=i?e.stopy:e.starty,o=e.x+e.width/2,c=s+e.height,l=t.append("g").lower();var d=l;!i&&(ta++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",Z(`actor${ta}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+ta).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=l.append("g"),e.actorCnt=ta,null!=e.links&&d.attr("id","root-"+ta));let h=(0,r.kc)();var p="actor";e.properties?.class?p=e.properties.class:h.fill="#eaeaea",i?p+=` ${K}`:p+=` ${j}`,h.x=e.x,h.y=s,h.width=e.width,h.height=e.height,h.class=p,h.rx=3,h.ry=3,h.name=e.name;let g=X(d,h);if(e.rectData=h,e.properties?.icon){let t=e.properties.icon.trim();"@"===t.charAt(0)?(0,r.rB)(d,h.x+h.width-20,h.y+10,t.substr(1)):(0,r.AE)(d,h.x+h.width-20,h.y+10,t)}tE(a,(0,n.l0)(e.description))(e.description,d,h.x,h.y,h.width,h.height,{class:"actor actor-box"},a);let u=e.height;if(g.node){let t=g.node().getBBox();e.height=t.height,u=t.height}return u},"drawActorTypeParticipant"),ts=(0,n.eW)(function(t,e,a,i){let s=i?e.stopy:e.starty,o=e.x+e.width/2,c=s+80,l=t.append("g").lower();!i&&(ta++,l.append("line").attr("id","actor"+ta).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=ta);let d=t.append("g"),h=G;i?h+=` ${K}`:h+=` ${j}`,d.attr("class",h),d.attr("name",e.name);let p=(0,r.kc)();p.x=e.x,p.y=s,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",p.rx=3,p.ry=3,d.append("line").attr("id","actor-man-torso"+ta).attr("x1",o).attr("y1",s+25).attr("x2",o).attr("y2",s+45),d.append("line").attr("id","actor-man-arms"+ta).attr("x1",o-18).attr("y1",s+33).attr("x2",o+18).attr("y2",s+33),d.append("line").attr("x1",o-18).attr("y1",s+60).attr("x2",o).attr("y2",s+45),d.append("line").attr("x1",o).attr("y1",s+45).attr("x2",o+18-2).attr("y2",s+60);let g=d.append("circle");g.attr("cx",e.x+e.width/2),g.attr("cy",s+10),g.attr("r",15),g.attr("width",e.width),g.attr("height",e.height);let u=d.node().getBBox();return e.height=u.height,tE(a,(0,n.l0)(e.description))(e.description,d,p.x,p.y+35,p.width,p.height,{class:`actor ${G}`},a),e.height},"drawActorTypeActor"),tn=(0,n.eW)(async function(t,e,a,r){switch(e.type){case"actor":return await ts(t,e,a,r);case"participant":return await ti(t,e,a,r)}},"drawActor"),to=(0,n.eW)(function(t,e,a){let r=t.append("g");th(r,e),e.name&&tE(a)(e.name,r,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},a),r.lower()},"drawBox"),tc=(0,n.eW)(function(t){return t.append("g")},"anchorElement"),tl=(0,n.eW)(function(t,e,a,i,s){let n=(0,r.kc)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+s%3,n.width=e.stopx-e.startx,n.height=a-e.starty,X(o,n)},"drawActivation"),td=(0,n.eW)(async function(t,e,a,i){let{boxMargin:s,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:l,messageFontFamily:d,messageFontSize:h,messageFontWeight:p}=i,g=t.append("g"),u=(0,n.eW)(function(t,e,a,r){return g.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")},"drawLoopLine");u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(t){u(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")});let x=(0,r.AD)();x.text=a,x.x=e.startx,x.y=e.starty,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=c||20,x.textMargin=o,x.class="labelText",te(g,x),(x=tf()).text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+s+o,x.anchor="middle",x.valign="middle",x.textMargin=o,x.class="loopText",x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=!0;let y=(0,n.l0)(x.text)?await Q(g,x,e):tt(g,x);if(void 0!==e.sectionTitles){for(let[t,a]of Object.entries(e.sectionTitles))if(a.message){x.text=a.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[t].y+s+o,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=e.wrap,(0,n.l0)(x.text)?(e.starty=e.sections[t].y,await Q(g,x,e)):tt(g,x);let r=Math.round(y.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));e.sections[t].height+=r-(s+o)}}return e.height=Math.round(e.stopy-e.starty),g},"drawLoop"),th=(0,n.eW)(function(t,e){(0,r.O)(t,e)},"drawBackgroundRect"),tp=(0,n.eW)(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")},"insertDatabaseIcon"),tg=(0,n.eW)(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")},"insertComputerIcon"),tu=(0,n.eW)(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")},"insertClockIcon"),tx=(0,n.eW)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")},"insertArrowHead"),ty=(0,n.eW)(function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).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")},"insertArrowFilledHead"),tm=(0,n.eW)(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)},"insertSequenceNumber"),tb=(0,n.eW)(function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.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")},"insertArrowCrossHead"),tf=(0,n.eW)(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}},"getTextObj"),tT=(0,n.eW)(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),tE=function(){function t(t,e,a,r,s,n,o){i(e.append("text").attr("x",a+s/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,r,o,c,l,d){let{actorFontSize:h,actorFontFamily:p,actorFontWeight:g}=d,[u,x]=(0,s.VG)(h),y=t.split(n.SY.lineBreakRegex);for(let t=0;tt.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))},"getHeight"),clear:(0,n.eW)(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:(0,n.eW)(function(t){this.boxes.push(t)},"addBox"),addActor:(0,n.eW)(function(t){this.actors.push(t)},"addActor"),addLoop:(0,n.eW)(function(t){this.loops.push(t)},"addLoop"),addMessage:(0,n.eW)(function(t){this.messages.push(t)},"addMessage"),addNote:(0,n.eW)(function(t){this.notes.push(t)},"addNote"),lastActor:(0,n.eW)(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:(0,n.eW)(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:(0,n.eW)(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:(0,n.eW)(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:(0,n.eW)(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,tW((0,n.nV)())},"init"),updateVal:(0,n.eW)(function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])},"updateVal"),updateBounds:(0,n.eW)(function(t,e,a,r){let i=this,s=0;function o(o){return(0,n.eW)(function(n){s++;let c=i.sequenceItems.length-s+1;i.updateVal(n,"starty",e-c*tL.boxMargin,Math.min),i.updateVal(n,"stopy",r+c*tL.boxMargin,Math.max),i.updateVal(tP.data,"startx",t-c*tL.boxMargin,Math.min),i.updateVal(tP.data,"stopx",a+c*tL.boxMargin,Math.max),"activation"!==o&&(i.updateVal(n,"startx",t-c*tL.boxMargin,Math.min),i.updateVal(n,"stopx",a+c*tL.boxMargin,Math.max),i.updateVal(tP.data,"starty",e-c*tL.boxMargin,Math.min),i.updateVal(tP.data,"stopy",r+c*tL.boxMargin,Math.max))},"updateItemBounds")}(0,n.eW)(o,"updateFn"),this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},"updateBounds"),insert:(0,n.eW)(function(t,e,a,r){let i=n.SY.getMin(t,a),s=n.SY.getMax(t,a),o=n.SY.getMin(e,r),c=n.SY.getMax(e,r);this.updateVal(tP.data,"startx",i,Math.min),this.updateVal(tP.data,"starty",o,Math.min),this.updateVal(tP.data,"stopx",s,Math.max),this.updateVal(tP.data,"stopy",c,Math.max),this.updateBounds(i,o,s,c)},"insert"),newActivation:(0,n.eW)(function(t,e,a){let r=a.get(t.from),i=tR(t.from).length||0,s=r.x+r.width/2+(i-1)*tL.activationWidth/2;this.activations.push({startx:s,starty:this.verticalPos+2,stopx:s+tL.activationWidth,stopy:void 0,actor:t.from,anchored:tI.anchorElement(e)})},"newActivation"),endActivation:(0,n.eW)(function(t){let e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:(0,n.eW)(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}},"createLoop"),newLoop:(0,n.eW)(function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},"newLoop"),endLoop:(0,n.eW)(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:(0,n.eW)(function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},"isLoopOverlap"),addSectionToLoop:(0,n.eW)(function(t){let e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:tP.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:(0,n.eW)(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:(0,n.eW)(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:(0,n.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=n.SY.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:(0,n.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,n.eW)(function(){return{bounds:this.data,models:this.models}},"getBounds")},t_=(0,n.eW)(async function(t,e){tP.bumpVerticalPos(tL.boxMargin),e.height=tL.boxMargin,e.starty=tP.getVerticalPos();let a=(0,r.kc)();a.x=e.startx,a.y=e.starty,a.width=e.width||tL.width,a.class="note";let i=t.append("g"),s=tI.drawRect(i,a),o=(0,r.AD)();o.x=e.startx,o.y=e.starty,o.width=a.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=tL.noteFontFamily,o.fontSize=tL.noteFontSize,o.fontWeight=tL.noteFontWeight,o.anchor=tL.noteAlign,o.textMargin=tL.noteMargin,o.valign="center";let c=Math.round(((0,n.l0)(o.text)?await Q(i,o):tt(i,o)).map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));s.attr("height",c+2*tL.noteMargin),e.height+=c+2*tL.noteMargin,tP.bumpVerticalPos(c+2*tL.noteMargin),e.stopy=e.starty+c+2*tL.noteMargin,e.stopx=e.startx+a.width,tP.insert(e.startx,e.starty,e.stopx,e.stopy),tP.models.addNote(e)},"drawNote"),tk=(0,n.eW)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),tv=(0,n.eW)(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),tM=(0,n.eW)(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");async function tA(t,e){let a;tP.bumpVerticalPos(10);let{startx:r,stopx:i,message:o}=e,c=n.SY.splitBreaks(o).length,l=(0,n.l0)(o),d=l?await (0,n.nH)(o,(0,n.nV)()):s.w8.calculateTextDimensions(o,tk(tL));if(!l){let t=d.height/c;e.height+=t,tP.bumpVerticalPos(t)}let h=d.height-10,p=d.width;if(r===i){a=tP.getVerticalPos()+h,!tL.rightAngles&&(h+=tL.boxMargin,a=tP.getVerticalPos()+h),h+=30;let t=n.SY.getMax(p/2,tL.width/2);tP.insert(r-t,tP.getVerticalPos()-10+h,i+t,tP.getVerticalPos()+30+h)}else h+=tL.boxMargin,a=tP.getVerticalPos()+h,tP.insert(r,a-10,i,a);return tP.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,tP.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),a}(0,n.eW)(tA,"boundMessage");var tN=(0,n.eW)(async function(t,e,a,i){let o;let{startx:c,stopx:l,starty:d,message:h,type:p,sequenceIndex:g,sequenceVisible:u}=e,x=s.w8.calculateTextDimensions(h,tk(tL)),y=(0,r.AD)();y.x=c,y.y=d+10,y.width=l-c,y.class="messageText",y.dy="1em",y.text=h,y.fontFamily=tL.messageFontFamily,y.fontSize=tL.messageFontSize,y.fontWeight=tL.messageFontWeight,y.anchor=tL.messageAlign,y.valign="center",y.textMargin=tL.wrapPadding,y.tspan=!1,(0,n.l0)(y.text)?await Q(t,y,{startx:c,stopx:l,starty:a}):tt(t,y);let m=x.width;c===l?o=tL.rightAngles?t.append("path").attr("d",`M ${c},${a} H ${c+n.SY.getMax(tL.width/2,m/2)} V ${a+25} H ${c}`):t.append("path").attr("d","M "+c+","+a+" C "+(c+60)+","+(a-10)+" "+(c+60)+","+(a+30)+" "+c+","+(a+20)):((o=t.append("line")).attr("x1",c),o.attr("y1",a),o.attr("x2",l),o.attr("y2",a)),p===i.db.LINETYPE.DOTTED||p===i.db.LINETYPE.DOTTED_CROSS||p===i.db.LINETYPE.DOTTED_POINT||p===i.db.LINETYPE.DOTTED_OPEN||p===i.db.LINETYPE.BIDIRECTIONAL_DOTTED?(o.style("stroke-dasharray","3, 3"),o.attr("class","messageLine1")):o.attr("class","messageLine0");let b="";tL.arrowMarkerAbsolute&&(b=(b=(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),o.attr("stroke-width",2),o.attr("stroke","none"),o.style("fill","none"),(p===i.db.LINETYPE.SOLID||p===i.db.LINETYPE.DOTTED)&&o.attr("marker-end","url("+b+"#arrowhead)"),(p===i.db.LINETYPE.BIDIRECTIONAL_SOLID||p===i.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(o.attr("marker-start","url("+b+"#arrowhead)"),o.attr("marker-end","url("+b+"#arrowhead)")),(p===i.db.LINETYPE.SOLID_POINT||p===i.db.LINETYPE.DOTTED_POINT)&&o.attr("marker-end","url("+b+"#filled-head)"),(p===i.db.LINETYPE.SOLID_CROSS||p===i.db.LINETYPE.DOTTED_CROSS)&&o.attr("marker-end","url("+b+"#crosshead)"),(u||tL.showSequenceNumbers)&&(o.attr("marker-start","url("+b+"#sequencenumber)"),t.append("text").attr("x",c).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(g))},"drawMessage"),tS=(0,n.eW)(function(t,e,a,r,i,s,o){let c,l=0,d=0;let h=0;for(let t of r){let r=e.get(t),s=r.box;c&&c!=s&&(!o&&tP.models.addBox(c),d+=tL.boxMargin+c.margin),s&&s!=c&&(!o&&(s.x=l+d,s.y=i),d+=s.margin),r.width=r.width||tL.width,r.height=n.SY.getMax(r.height||tL.height,tL.height),r.margin=r.margin||tL.actorMargin,h=n.SY.getMax(h,r.height),a.get(r.name)&&(d+=r.width/2),r.x=l+d,r.starty=tP.getVerticalPos(),tP.insert(r.x,i,r.x+r.width,r.height),l+=r.width+d,r.box&&(r.box.width=l+s.margin-r.box.x),d=r.margin,c=r.box,tP.models.addActor(r)}c&&!o&&tP.models.addBox(c),tP.bumpVerticalPos(h)},"addActorRenderingData"),tO=(0,n.eW)(async function(t,e,a,r){if(r){let r=0;for(let i of(tP.bumpVerticalPos(2*tL.boxMargin),a)){let a=e.get(i);!a.stopy&&(a.stopy=tP.getVerticalPos());let s=await tI.drawActor(t,a,tL,!0);r=n.SY.getMax(r,s)}tP.bumpVerticalPos(r+tL.boxMargin)}else for(let r of a){let a=e.get(r);await tI.drawActor(t,a,tL,!1)}},"drawActors"),tD=(0,n.eW)(function(t,e,a,r){let i=0,s=0;for(let n of a){let a=e.get(n),o=tF(a),c=tI.drawPopup(t,a,o,tL,tL.forceMenus,r);c.height>i&&(i=c.height),c.width+a.x>s&&(s=c.width+a.x)}return{maxHeight:i,maxWidth:s}},"drawActorsPopup"),tW=(0,n.eW)(function(t){(0,n.Yc)(tL,t),t.fontFamily&&(tL.actorFontFamily=tL.noteFontFamily=tL.messageFontFamily=t.fontFamily),t.fontSize&&(tL.actorFontSize=tL.noteFontSize=tL.messageFontSize=t.fontSize),t.fontWeight&&(tL.actorFontWeight=tL.noteFontWeight=tL.messageFontWeight=t.fontWeight)},"setConf"),tR=(0,n.eW)(function(t){return tP.activations.filter(function(e){return e.actor===t})},"actorActivations"),tY=(0,n.eW)(function(t,e){let a=e.get(t),r=tR(t),i=r.reduce(function(t,e){return n.SY.getMin(t,e.startx)},a.x+a.width/2-1);return[i,r.reduce(function(t,e){return n.SY.getMax(t,e.stopx)},a.x+a.width/2+1)]},"activationBounds");function tC(t,e,a,r,i){tP.bumpVerticalPos(a);let o=r;if(e.id&&e.message&&t[e.id]){let a=t[e.id].width,i=tk(tL);e.message=s.w8.wrapLabel(`[${e.message}]`,a-2*tL.wrapPadding,i),e.width=a,e.wrap=!0;let c=s.w8.calculateTextDimensions(e.message,i),l=n.SY.getMax(c.height,tL.labelBoxHeight);o=r+l,n.cM.debug(`${l} - ${e.message}`)}i(e),tP.bumpVerticalPos(o)}function tB(t,e,a,r,i,s,o){function c(a,r){a.x{t.add(e.from),t.add(e.to)}),y=y.filter(e=>t.has(e))}tS(h,p,g,y,0,m,!1);let w=await tU(m,p,E,r);function I(t,e){let a=tP.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),tI.drawActivation(h,a,e,tL,tR(t.from).length),tP.insert(a.startx,e-10,a.stopx,e)}tI.insertArrowHead(h),tI.insertArrowCrossHead(h),tI.insertArrowFilledHead(h),tI.insertSequenceNumber(h),(0,n.eW)(I,"activeEnd");let L=1,P=1,_=[],k=[],v=0;for(let t of m){let e,a,i;switch(t.type){case r.db.LINETYPE.NOTE:tP.resetVerticalPos(),a=t.noteModel,await t_(h,a);break;case r.db.LINETYPE.ACTIVE_START:tP.newActivation(t,h,p);break;case r.db.LINETYPE.ACTIVE_END:I(t,tP.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.LOOP_END:e=tP.endLoop(),await tI.drawLoop(h,e,"loop",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.RECT_START:tC(w,t,tL.boxMargin,tL.boxMargin,t=>tP.newLoop(void 0,t.message));break;case r.db.LINETYPE.RECT_END:e=tP.endLoop(),k.push(e),tP.models.addLoop(e),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos());break;case r.db.LINETYPE.OPT_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.OPT_END:e=tP.endLoop(),await tI.drawLoop(h,e,"opt",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.ALT_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.ALT_ELSE:tC(w,t,tL.boxMargin+tL.boxTextMargin,tL.boxMargin,t=>tP.addSectionToLoop(t));break;case r.db.LINETYPE.ALT_END:e=tP.endLoop(),await tI.drawLoop(h,e,"alt",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t)),tP.saveVerticalPos();break;case r.db.LINETYPE.PAR_AND:tC(w,t,tL.boxMargin+tL.boxTextMargin,tL.boxMargin,t=>tP.addSectionToLoop(t));break;case r.db.LINETYPE.PAR_END:e=tP.endLoop(),await tI.drawLoop(h,e,"par",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.AUTONUMBER:L=t.message.start||L,P=t.message.step||P,t.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.CRITICAL_OPTION:tC(w,t,tL.boxMargin+tL.boxTextMargin,tL.boxMargin,t=>tP.addSectionToLoop(t));break;case r.db.LINETYPE.CRITICAL_END:e=tP.endLoop(),await tI.drawLoop(h,e,"critical",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.BREAK_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.BREAK_END:e=tP.endLoop(),await tI.drawLoop(h,e,"break",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;default:try{(i=t.msgModel).starty=tP.getVerticalPos(),i.sequenceIndex=L,i.sequenceVisible=r.db.showSequenceNumbers();let e=await tA(h,i);tB(t,i,e,v,p,g,u),_.push({messageModel:i,lineStartY:e}),tP.models.addMessage(i)}catch(t){n.cM.error("error while drawing message",t)}}[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,r.db.LINETYPE.BIDIRECTIONAL_SOLID,r.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(L+=P),v++}for(let t of(n.cM.debug("createdActors",g),n.cM.debug("destroyedActors",u),await tO(h,p,y,!1),_))await tN(h,t.messageModel,t.lineStartY,r);for(let t of(tL.mirrorActors&&await tO(h,p,y,!0),k.forEach(t=>tI.drawBackgroundRect(h,t)),tr(h,p,y,tL),tP.models.boxes))t.height=tP.getVerticalPos()-t.y,tP.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)",tI.drawBox(h,t,tL);f&&tP.bumpVerticalPos(tL.boxMargin);let M=tD(h,p,y,d),{bounds:A}=tP.getBounds();void 0===A.startx&&(A.startx=0),void 0===A.starty&&(A.starty=0),void 0===A.stopx&&(A.stopx=0),void 0===A.stopy&&(A.stopy=0);let N=A.stopy-A.starty;N{let a=tk(tL),r=e.actorKeys.reduce((e,a)=>e+=t.get(a).width+(t.get(a).margin||0),0);r-=2*tL.boxTextMargin,e.wrap&&(e.name=s.w8.wrapLabel(e.name,r-2*tL.wrapPadding,a));let o=s.w8.calculateTextDimensions(e.name,a);i=n.SY.getMax(o.height,i);let c=n.SY.getMax(r,o.width+2*tL.wrapPadding);if(e.margin=tL.boxTextMargin,rt.textMaxHeight=i),n.SY.getMax(r,tL.height)}(0,n.eW)(tq,"calculateActorMargins");var tz=(0,n.eW)(async function(t,e,a){let r=e.get(t.from),i=e.get(t.to),o=r.x,c=i.x,l=t.wrap&&t.message,d=(0,n.l0)(t.message)?await (0,n.nH)(t.message,(0,n.nV)()):s.w8.calculateTextDimensions(l?s.w8.wrapLabel(t.message,tL.width,tv(tL)):t.message,tv(tL)),h={width:l?tL.width:n.SY.getMax(tL.width,d.width+2*tL.noteMargin),height:0,startx:r.x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(h.width=l?n.SY.getMax(tL.width,d.width):n.SY.getMax(r.width/2+i.width/2,d.width+2*tL.noteMargin),h.startx=o+(r.width+tL.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(h.width=l?n.SY.getMax(tL.width,d.width+2*tL.noteMargin):n.SY.getMax(r.width/2+i.width/2,d.width+2*tL.noteMargin),h.startx=o-h.width+(r.width-tL.actorMargin)/2):t.to===t.from?(d=s.w8.calculateTextDimensions(l?s.w8.wrapLabel(t.message,n.SY.getMax(tL.width,r.width),tv(tL)):t.message,tv(tL)),h.width=l?n.SY.getMax(tL.width,r.width):n.SY.getMax(r.width,tL.width,d.width+2*tL.noteMargin),h.startx=o+(r.width-h.width)/2):(h.width=Math.abs(o+r.width/2-(c+i.width/2))+tL.actorMargin,h.startx=o2,g=(0,n.eW)(t=>l?-t:t,"adjustValue");t.from===t.to?h=d:(t.activate&&!p&&(h+=g(tL.activationWidth/2-1)),![a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)&&(h+=g(3)),[a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(d-=g(3)));let u=[r,i,o,c],x=Math.abs(d-h);t.wrap&&t.message&&(t.message=s.w8.wrapLabel(t.message,n.SY.getMax(x+2*tL.wrapPadding,tL.width),tk(tL)));let y=s.w8.calculateTextDimensions(t.message,tk(tL));return{width:n.SY.getMax(t.wrap?0:y.width+2*tL.wrapPadding,x+2*tL.wrapPadding,tL.width),height:0,startx:d,stopx:h,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,u),toBounds:Math.max.apply(null,u)}},"buildMessageModel"),tU=(0,n.eW)(async function(t,e,a,r){let i,o,c;let l={},d=[];for(let a of t){switch(a.id=s.w8.random({length:10}),a.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:d.push({id:a.id,msg:a.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:a.message&&(l[(i=d.pop()).id]=i,l[a.id]=i,d.push(i));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:l[(i=d.pop()).id]=i;break;case r.db.LINETYPE.ACTIVE_START:{let t=e.get(a.from?a.from:a.to.actor),r=tR(a.from?a.from:a.to.actor).length,i=t.x+t.width/2+(r-1)*tL.activationWidth/2,s={startx:i,stopx:i+tL.activationWidth,actor:a.from,enabled:!0};tP.activations.push(s)}break;case r.db.LINETYPE.ACTIVE_END:{let t=tP.activations.map(t=>t.actor).lastIndexOf(a.from);tP.activations.splice(t,1).splice(0,1)}}void 0!==a.placement?(o=await tz(a,e,r),a.noteModel=o,d.forEach(t=>{(i=t).from=n.SY.getMin(i.from,o.startx),i.to=n.SY.getMax(i.to,o.startx+o.width),i.width=n.SY.getMax(i.width,Math.abs(i.from-i.to))-tL.labelBoxWidth})):(c=tH(a,e,r),a.msgModel=c,c.startx&&c.stopx&&d.length>0&&d.forEach(t=>{if(i=t,c.startx===c.stopx){let t=e.get(a.from),r=e.get(a.to);i.from=n.SY.getMin(t.x-c.width/2,t.x-t.width/2,i.from),i.to=n.SY.getMax(r.x+c.width/2,r.x+t.width/2,i.to),i.width=n.SY.getMax(i.width,Math.abs(i.to-i.from))-tL.labelBoxWidth}else i.from=n.SY.getMin(c.startx,i.from),i.to=n.SY.getMax(c.stopx,i.to),i.width=n.SY.getMax(i.width,c.width)-tL.labelBoxWidth}))}return tP.activations=[],n.cM.debug("Loop type widths:",l),l},"calculateLoopBounds"),tj={parser:l,db:H,renderer:{bounds:tP,drawActors:tO,drawActorsPopup:tD,setConf:tW,draw:t$},styles:U,init:(0,n.eW)(({wrap:t})=>{H.setWrap(t)},"init")}}}]); \ No newline at end of file diff --git a/assets/js/49f850f6.3b01476b.js b/assets/js/49f850f6.3b01476b.js new file mode 100644 index 0000000..bd7d893 --- /dev/null +++ b/assets/js/49f850f6.3b01476b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4645"],{85664:function(e,t,s){s.r(t),s.d(t,{metadata:()=>r,contentTitle:()=>p,default:()=>j,assets:()=>h,toc:()=>u,frontMatter:()=>o});var r=JSON.parse('{"id":"spec/data/process","title":"Process","description":"Represents a process concept.","source":"@site/docs/spec/data/process.mdx","sourceDirName":"spec/data","slug":"/spec/data/process","permalink":"/nr-pies/docs/spec/data/process","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/process.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732844876000,"frontMatter":{"id":"process","title":"Process","description":"Represents a process concept.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Parcel Identifier","permalink":"/nr-pies/docs/spec/data/parcel_id"},"next":{"title":"Project Bundle","permalink":"/nr-pies/docs/spec/data/project_bundle"}}'),n=s("85893"),i=s("50065"),c=s("45056");s("98477");var a=s("47902"),d=s("5525"),l=JSON.parse('{"class":"status","description":"The authorization request is under review by subject matter expert.","parent_class":"stage","parent_concept":"underreview","system":"http://bcgov.github.io/nr-pies/docs/concept/process_tracking","value":"pending review"}');let o={id:"process",title:"Process",description:"Represents a process concept.",tags:["developer"]},p=void 0,h={},u=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function x(e){let t={a:"a",code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"Represents a process concept."}),"\n",(0,n.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,n.jsx)(t.p,{children:"This data type is intended to represent the core concept of a defined process."}),"\n",(0,n.jsxs)(t.p,{children:["Loosely taking inspiration from ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/datatypes.html#timing",children:"HL7 Timing"}),"."]}),"\n",(0,n.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Cardinality"}),(0,n.jsx)(t.th,{children:"Type"}),(0,n.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"TBD"}),(0,n.jsx)(t.td,{children:"1..1"}),(0,n.jsx)(t.td,{children:(0,n.jsx)(t.code,{children:"string"})}),(0,n.jsx)(t.td,{children:"TBD"})]})})]}),"\n",(0,n.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,n.jsx)(a.default,{queryString:"tab",children:(0,n.jsx)(d.default,{value:"example",label:"Example",children:(0,n.jsx)(c.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(l,null,2)})})}),"\n",(0,n.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,n.jsx)(t.p,{children:"TBD"}),"\n",(0,n.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,n.jsx)(t.p,{children:"TBD"})]})}function j(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/assets/js/5146.0f8244c6.js b/assets/js/5146.0f8244c6.js new file mode 100644 index 0000000..30c5f39 --- /dev/null +++ b/assets/js/5146.0f8244c6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5146"],{63898:function(e,t,r){r.d(t,{default:function(){return aY}});class a{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class n{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new n(t,a.range(this,e))}}class i{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+e,a=t&&t.loc;if(a&&a.start<=a.end){var n,s,o,l,h=a.lexer.input;n=a.start,s=a.end,n===h.length?r+=" at end of input: ":r+=" at position "+(n+1)+": ";var m=h.slice(n,s).replace(/[^]/g,"$&\u0332");o=n>15?"\u2026"+h.slice(n-15,n):h.slice(0,n),r+=o+m+(l=s+15":">","<":"<",'"':""","'":"'"},q=/[&><"']/g,N=function e(t){if("ordgroup"===t.type)return 1===t.body.length?e(t.body[0]):t;if("color"===t.type)return 1===t.body.length?e(t.body[0]):t;if("font"===t.type)return e(t.body);else return t},I=function(e){if(!e)throw Error("Expected non-null, but got "+String(e));return e},H={contains:function(e,t){return -1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(q,e=>C[e])},hyphenate:function(e){return e.replace(B,"-$1").toLowerCase()},getBaseElem:N,isCharacterBox:function(e){var t=N(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"===t[2]&&/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}},R={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};class O{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},R)if(R.hasOwnProperty(t)){var r=R[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:function(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}(r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),!!a&&"ignore"!==a){if(!0===a||"error"===a)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e)+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e)+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e)+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(e){a="error"}if(!a||"ignore"===a)return!1;if(!0===a||"error"===a)return!0;if("warn"===a)return"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e)+"]"),!1;else return"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e)+"]"),!1}isTrusted(e){if(e.url&&!e.protocol){var t=H.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}return!!("function"==typeof this.trust?this.trust(e):this.trust)}}class E{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return L[D[this.id]]}sub(){return L[V[this.id]]}fracNum(){return L[P[this.id]]}fracDen(){return L[F[this.id]]}cramp(){return L[G[this.id]]}text(){return L[U[this.id]]}isTight(){return this.size>=2}}var L=[new E(0,0,!1),new E(1,0,!0),new E(2,1,!1),new E(3,1,!0),new E(4,2,!1),new E(5,2,!0),new E(6,3,!1),new E(7,3,!0)],D=[4,5,4,5,6,7,6,7],V=[5,5,5,5,7,7,7,7],P=[2,3,4,5,6,7,6,7],F=[3,3,5,5,7,7,7,7],G=[1,1,3,3,5,5,7,7],U=[0,1,2,3,2,3,2,3],Y={DISPLAY:L[0],TEXT:L[2],SCRIPT:L[4],SCRIPTSCRIPT:L[6]},X=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],W=[];function _(e){for(var t=0;t=W[t]&&e<=W[t+1])return!0;return!1}X.forEach(e=>e.blocks.forEach(e=>W.push(...e)));var j=function(e,t,r){t*=1e3;var a,n,i,s,o,l,h,m,c,p,u,d,g="";switch(e){case"sqrtMain":;n=80,g="M95,"+(622+(a=t)+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+a/2.075+" -"+a+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+a)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+a)+" "+n+"h400000v"+(40+a)+"h-400000z";break;case"sqrtSize1":;s=80,g="M263,"+(601+(i=t)+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+i/2.084+" -"+i+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+i)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+i)+" "+s+"h400000v"+(40+i)+"h-400000z";break;case"sqrtSize2":;l=80,g="M983 "+(10+(o=t)+80)+"\nl"+o/3.13+" -"+o+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+o)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+o)+" "+l+"h400000v"+(40+o)+"h-400000z";break;case"sqrtSize3":;m=80,g="M424,"+(2398+(h=t)+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+h/4.223+" -"+h+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+h)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+h)+" "+m+"\nh400000v"+(40+h)+"h-400000z";break;case"sqrtSize4":;p=80,g="M473,"+(2713+(c=t)+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+c/5.298+" -"+c+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+c)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+c)+" "+p+"h400000v"+(40+c)+"H1017.7z";break;case"sqrtTall":;d=80,g="M702 "+((u=t)+80)+"H400000"+(40+u)+"\nH742v"+(r-54-d-u)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+d+"H400000v"+(40+u)+"H742z"}return g},$=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t)+" H367z";case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t)+" H478z";default:return""}},Z={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},K=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw Error("Unknown stretchy delimiter.")}};class J{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return H.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText()).join("")}}var Q={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ee={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},et={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function er(e,t,r){if(!Q[t])throw Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=Q[t][a];if(!n&&e[0]in et&&(a=et[e[0]].charCodeAt(0),n=Q[t][a]),!n&&"text"===r&&_(a)&&(n=Q[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var ea={},en=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],ei=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],es=function(e,t){return t.size<2?e:en[e-1][t.size-1]};class eo{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||eo.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=ei[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new eo(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:es(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:ei[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=es(eo.BASESIZE,e);return this.size===t&&this.textSize===eo.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==eo.BASESIZE?["sizing","reset-size"+this.size,"size"+eo.BASESIZE]:[]}fontMetrics(){return!this._fontMetrics&&(this._fontMetrics=function(e){var t;if(!ea[t=e>=5?0:e>=3?1:2]){var r=ea[t]={cssEmPerMu:ee.quad[t]/18};for(var a in ee)ee.hasOwnProperty(a)&&(r[a]=ee[a][t])}return ea[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}eo.BASESIZE=6;var el={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},eh={ex:!0,em:!0,mu:!0},em=function(e){return"string"!=typeof e&&(e=e.unit),e in el||e in eh||"ex"===e},ec=function(e,t){var r,a;if(e.unit in el)r=el[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else if("em"===e.unit)r=a.fontMetrics().quad;else throw new i("Invalid unit: '"+e.unit+"'");a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},ep=function(e){return+e.toFixed(4)+"em"},eu=function(e){return e.filter(e=>e).join(" ")},ed=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},eg=function(e){var t=document.createElement(e);for(var r in t.className=eu(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n"};class ev{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ed.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return H.contains(this.classes,e)}toNode(){return eg.call(this,"span")}toMarkup(){return ef.call(this,"span")}}class eb{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ed.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return H.contains(this.classes,e)}toNode(){return eg.call(this,"a")}toMarkup(){return ef.call(this,"a")}}class ey{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return H.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=''+H.escape(this.alt))+'=n[0]&&e<=n[1])return r.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ex[this.text])}hasClass(e){return H.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=ep(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=eu(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=H.hyphenate(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+H.escape(r)+'"');var n=H.escape(this.text);return e?(t+=">",t+=n,t+=""):n}}class ek{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r':''}}class eM{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="","\\gt",!0),eC(eq,eI,"rel","\u2208","\\in",!0),eC(eq,eI,"rel","\uE020","\\@not"),eC(eq,eI,"rel","\u2282","\\subset",!0),eC(eq,eI,"rel","\u2283","\\supset",!0),eC(eq,eI,"rel","\u2286","\\subseteq",!0),eC(eq,eI,"rel","\u2287","\\supseteq",!0),eC(eq,"ams","rel","\u2288","\\nsubseteq",!0),eC(eq,"ams","rel","\u2289","\\nsupseteq",!0),eC(eq,eI,"rel","\u22A8","\\models"),eC(eq,eI,"rel","\u2190","\\leftarrow",!0),eC(eq,eI,"rel","\u2264","\\le"),eC(eq,eI,"rel","\u2264","\\leq",!0),eC(eq,eI,"rel","<","\\lt",!0),eC(eq,eI,"rel","\u2192","\\rightarrow",!0),eC(eq,eI,"rel","\u2192","\\to"),eC(eq,"ams","rel","\u2271","\\ngeq",!0),eC(eq,"ams","rel","\u2270","\\nleq",!0),eC(eq,eI,eP,"\xa0","\\ "),eC(eq,eI,eP,"\xa0","\\space"),eC(eq,eI,eP,"\xa0","\\nobreakspace"),eC(eN,eI,eP,"\xa0","\\ "),eC(eN,eI,eP,"\xa0"," "),eC(eN,eI,eP,"\xa0","\\space"),eC(eN,eI,eP,"\xa0","\\nobreakspace"),eC(eq,eI,eP,null,"\\nobreak"),eC(eq,eI,eP,null,"\\allowbreak"),eC(eq,eI,eV,",",","),eC(eq,eI,eV,";",";"),eC(eq,"ams","bin","\u22BC","\\barwedge",!0),eC(eq,"ams","bin","\u22BB","\\veebar",!0),eC(eq,eI,"bin","\u2299","\\odot",!0),eC(eq,eI,"bin","\u2295","\\oplus",!0),eC(eq,eI,"bin","\u2297","\\otimes",!0),eC(eq,eI,eF,"\u2202","\\partial",!0),eC(eq,eI,"bin","\u2298","\\oslash",!0),eC(eq,"ams","bin","\u229A","\\circledcirc",!0),eC(eq,"ams","bin","\u22A1","\\boxdot",!0),eC(eq,eI,"bin","\u25B3","\\bigtriangleup"),eC(eq,eI,"bin","\u25BD","\\bigtriangledown"),eC(eq,eI,"bin","\u2020","\\dagger"),eC(eq,eI,"bin","\u22C4","\\diamond"),eC(eq,eI,"bin","\u22C6","\\star"),eC(eq,eI,"bin","\u25C3","\\triangleleft"),eC(eq,eI,"bin","\u25B9","\\triangleright"),eC(eq,eI,eD,"{","\\{"),eC(eN,eI,eF,"{","\\{"),eC(eN,eI,eF,"{","\\textbraceleft"),eC(eq,eI,eR,"}","\\}"),eC(eN,eI,eF,"}","\\}"),eC(eN,eI,eF,"}","\\textbraceright"),eC(eq,eI,eD,"{","\\lbrace"),eC(eq,eI,eR,"}","\\rbrace"),eC(eq,eI,eD,"[","\\lbrack",!0),eC(eN,eI,eF,"[","\\lbrack",!0),eC(eq,eI,eR,"]","\\rbrack",!0),eC(eN,eI,eF,"]","\\rbrack",!0),eC(eq,eI,eD,"(","\\lparen",!0),eC(eq,eI,eR,")","\\rparen",!0),eC(eN,eI,eF,"<","\\textless",!0),eC(eN,eI,eF,">","\\textgreater",!0),eC(eq,eI,eD,"\u230A","\\lfloor",!0),eC(eq,eI,eR,"\u230B","\\rfloor",!0),eC(eq,eI,eD,"\u2308","\\lceil",!0),eC(eq,eI,eR,"\u2309","\\rceil",!0),eC(eq,eI,eF,"\\","\\backslash"),eC(eq,eI,eF,"\u2223","|"),eC(eq,eI,eF,"\u2223","\\vert"),eC(eN,eI,eF,"|","\\textbar",!0),eC(eq,eI,eF,"\u2225","\\|"),eC(eq,eI,eF,"\u2225","\\Vert"),eC(eN,eI,eF,"\u2225","\\textbardbl"),eC(eN,eI,eF,"~","\\textasciitilde"),eC(eN,eI,eF,"\\","\\textbackslash"),eC(eN,eI,eF,"^","\\textasciicircum"),eC(eq,eI,"rel","\u2191","\\uparrow",!0),eC(eq,eI,"rel","\u21D1","\\Uparrow",!0),eC(eq,eI,"rel","\u2193","\\downarrow",!0),eC(eq,eI,"rel","\u21D3","\\Downarrow",!0),eC(eq,eI,"rel","\u2195","\\updownarrow",!0),eC(eq,eI,"rel","\u21D5","\\Updownarrow",!0),eC(eq,eI,eL,"\u2210","\\coprod"),eC(eq,eI,eL,"\u22C1","\\bigvee"),eC(eq,eI,eL,"\u22C0","\\bigwedge"),eC(eq,eI,eL,"\u2A04","\\biguplus"),eC(eq,eI,eL,"\u22C2","\\bigcap"),eC(eq,eI,eL,"\u22C3","\\bigcup"),eC(eq,eI,eL,"\u222B","\\int"),eC(eq,eI,eL,"\u222B","\\intop"),eC(eq,eI,eL,"\u222C","\\iint"),eC(eq,eI,eL,"\u222D","\\iiint"),eC(eq,eI,eL,"\u220F","\\prod"),eC(eq,eI,eL,"\u2211","\\sum"),eC(eq,eI,eL,"\u2A02","\\bigotimes"),eC(eq,eI,eL,"\u2A01","\\bigoplus"),eC(eq,eI,eL,"\u2A00","\\bigodot"),eC(eq,eI,eL,"\u222E","\\oint"),eC(eq,eI,eL,"\u222F","\\oiint"),eC(eq,eI,eL,"\u2230","\\oiiint"),eC(eq,eI,eL,"\u2A06","\\bigsqcup"),eC(eq,eI,eL,"\u222B","\\smallint"),eC(eN,eI,eO,"\u2026","\\textellipsis"),eC(eq,eI,eO,"\u2026","\\mathellipsis"),eC(eN,eI,eO,"\u2026","\\ldots",!0),eC(eq,eI,eO,"\u2026","\\ldots",!0),eC(eq,eI,eO,"\u22EF","\\@cdots",!0),eC(eq,eI,eO,"\u22F1","\\ddots",!0),eC(eq,eI,eF,"\u22EE","\\varvdots"),eC(eq,eI,eH,"\u02CA","\\acute"),eC(eq,eI,eH,"\u02CB","\\grave"),eC(eq,eI,eH,"\xa8","\\ddot"),eC(eq,eI,eH,"~","\\tilde"),eC(eq,eI,eH,"\u02C9","\\bar"),eC(eq,eI,eH,"\u02D8","\\breve"),eC(eq,eI,eH,"\u02C7","\\check"),eC(eq,eI,eH,"^","\\hat"),eC(eq,eI,eH,"\u20D7","\\vec"),eC(eq,eI,eH,"\u02D9","\\dot"),eC(eq,eI,eH,"\u02DA","\\mathring"),eC(eq,eI,eE,"\uE131","\\@imath"),eC(eq,eI,eE,"\uE237","\\@jmath"),eC(eq,eI,eF,"\u0131","\u0131"),eC(eq,eI,eF,"\u0237","\u0237"),eC(eN,eI,eF,"\u0131","\\i",!0),eC(eN,eI,eF,"\u0237","\\j",!0),eC(eN,eI,eF,"\xdf","\\ss",!0),eC(eN,eI,eF,"\xe6","\\ae",!0),eC(eN,eI,eF,"\u0153","\\oe",!0),eC(eN,eI,eF,"\xf8","\\o",!0),eC(eN,eI,eF,"\xc6","\\AE",!0),eC(eN,eI,eF,"\u0152","\\OE",!0),eC(eN,eI,eF,"\xd8","\\O",!0),eC(eN,eI,eH,"\u02CA","\\'"),eC(eN,eI,eH,"\u02CB","\\`"),eC(eN,eI,eH,"\u02C6","\\^"),eC(eN,eI,eH,"\u02DC","\\~"),eC(eN,eI,eH,"\u02C9","\\="),eC(eN,eI,eH,"\u02D8","\\u"),eC(eN,eI,eH,"\u02D9","\\."),eC(eN,eI,eH,"\xb8","\\c"),eC(eN,eI,eH,"\u02DA","\\r"),eC(eN,eI,eH,"\u02C7","\\v"),eC(eN,eI,eH,"\xa8",'\\"'),eC(eN,eI,eH,"\u02DD","\\H"),eC(eN,eI,eH,"\u25EF","\\textcircled");var eG={"--":!0,"---":!0,"``":!0,"''":!0};eC(eN,eI,eF,"\u2013","--",!0),eC(eN,eI,eF,"\u2013","\\textendash"),eC(eN,eI,eF,"\u2014","---",!0),eC(eN,eI,eF,"\u2014","\\textemdash"),eC(eN,eI,eF,"\u2018","`",!0),eC(eN,eI,eF,"\u2018","\\textquoteleft"),eC(eN,eI,eF,"\u2019","'",!0),eC(eN,eI,eF,"\u2019","\\textquoteright"),eC(eN,eI,eF,"\u201C","``",!0),eC(eN,eI,eF,"\u201C","\\textquotedblleft"),eC(eN,eI,eF,"\u201D","''",!0),eC(eN,eI,eF,"\u201D","\\textquotedblright"),eC(eq,eI,eF,"\xb0","\\degree",!0),eC(eN,eI,eF,"\xb0","\\degree"),eC(eN,eI,eF,"\xb0","\\textdegree",!0),eC(eq,eI,eF,"\xa3","\\pounds"),eC(eq,eI,eF,"\xa3","\\mathsterling",!0),eC(eN,eI,eF,"\xa3","\\pounds"),eC(eN,eI,eF,"\xa3","\\textsterling",!0),eC(eq,"ams",eF,"\u2720","\\maltese"),eC(eN,"ams",eF,"\u2720","\\maltese");for(var eU='0123456789/@."',eY=0;eY{if(eu(e.classes)!==eu(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},tr=function(e){for(var t=0,r=0,a=0,n=0;nt&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},ta=function(e,t,r,a){var n=new ev(e,t,r,a);return tr(n),n},tn=(e,t,r,a)=>new ev(e,t,r,a),ti=function(e){var t=new J(e);return tr(t),t},ts=function(e){if("individualShift"===e.positionType){for(var t,r=e.children,a=[r[0]],n=-r[0].shift-r[0].elem.depth,i=n,s=1;s0)return te(n,l,a,t,i.concat(h));if(o){if("boldsymbol"===o){var m,c,p,u,d,g,f=(m=n,c=a,p=0,u=0,"textord"!==r&&e9(m,"Math-BoldItalic",c).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"});d=f.fontName,g=[f.fontClass]}else s?(d=tl[o].fontName,g=[o]):(d=to(o,t.fontWeight,t.fontShape),g=[o,t.fontWeight,t.fontShape]);if(e9(n,d,a).metrics)return te(n,d,a,t,i.concat(g));if(eG.hasOwnProperty(n)&&"Typewriter"===d.slice(0,10)){for(var v=[],b=0;b{var r=ta(["mspace"],[],t),a=ec(e,t);return r.style.marginRight=ep(a),r},staticSvg:function(e,t){var[r,a,n]=th[e],i=tn(["overlay"],[new ek([new eS(r)],{width:ep(a),height:ep(n),style:"width:"+ep(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"})],t);return i.height=n,i.style.height=ep(n),i.style.width=ep(a),i},svgData:th,tryCombineChars:e=>{for(var t=0;t{var r=t.classes[0],a=e.classes[0];"mbin"===r&&H.contains(tz,a)?t.classes[0]="mord":"mbin"===a&&H.contains(tM,r)&&(e.classes[0]="mord")},{node:m},c,p),tC(n,(e,t)=>{var r=tI(t),a=tI(e),n=r&&a?e.hasClass("mtight")?tg[r][a]:td[r][a]:null;if(n)return tm.makeGlue(n,l)},{node:m},c,p),n},tC=function e(t,r,a,n,i){n&&t.push(n);for(var s=0;s{t.splice(n+1,0,e),s++})}n&&t.pop()},tq=function(e){return e instanceof J||e instanceof eb||e instanceof ev&&e.hasClass("enclosing")?e:null},tN=function e(t,r){var a=tq(t);if(a){var n=a.children;if(n.length){if("right"===r)return e(n[n.length-1],"right");if("left"===r)return e(n[0],"left")}}return t},tI=function(e,t){return e?(t&&(e=tN(e,t)),tT[e.classes[0]]||null):null},tH=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return tS(t.concat(r))},tR=function(e,t,r){if(!e)return tS();if(tv[e.type]){var a=tv[e.type](e,t);if(r&&t.size!==r.size){a=tS(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i("Got group of unknown type: '"+e.type+"'")};function tO(e,t){var r=tS(["base"],e,t),a=tS(["strut"]);return a.style.height=ep(r.height+r.depth),r.depth&&(a.style.verticalAlign=ep(-r.depth)),r.children.unshift(a),r}function tE(e,t){var r,a,n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);var i=tB(e,t,"root");2===i.length&&i[1].hasClass("tag")&&(r=i.pop());for(var s=[],o=[],l=0;l0&&(s.push(tO(o,t)),o=[]),s.push(i[l]));o.length>0&&s.push(tO(o,t)),n?((a=tO(tB(n,t,!0))).classes=["tag"],s.push(a)):r&&s.push(r);var m=tS(["katex-html"],s);if(m.setAttribute("aria-hidden","true"),a){var c=a.children[0];c.style.height=ep(m.height+m.depth),m.depth&&(c.style.verticalAlign=ep(-m.depth))}return m}function tL(e){return new J(e)}class tD{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=eu(this.classes));for(var r=0;r0&&(e+=' class ="'+H.escape(eu(this.classes))+'"'),e+=">";for(var r=0;r"}toText(){return this.children.map(e=>e.toText()).join("")}}class tV{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return H.escape(this.toText())}toText(){return this.text}}var tP={MathNode:tD,TextNode:tV,SpaceNode:class e{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",ep(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:tL},tF=function(e,t,r){return eB[t][e]&&eB[t][e].replace&&55349!==e.charCodeAt(0)&&!(eG.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6)))&&(e=eB[t][e].replace),new tP.TextNode(e)},tG=function(e){return 1===e.length?e[0]:new tP.MathNode("mrow",e)},tU=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily){if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"sans-serif-bold-italic";if("textit"===t.fontShape)return"sans-serif-italic";else if("textbf"===t.fontWeight)return"bold-sans-serif";else return"sans-serif"}if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";else if("textit"===t.fontShape)return"italic";else if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var a=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";else if("mathbb"===r)return"double-struck";else if("mathfrak"===r)return"fraktur";else if("mathscr"===r||"mathcal"===r)return"script";else if("mathsf"===r)return"sans-serif";else if("mathtt"===r)return"monospace";var n=e.text;return H.contains(["\\imath","\\jmath"],n)?null:(eB[a][n]&&eB[a][n].replace&&(n=eB[a][n].replace),er(n,tm.fontMap[r].fontName,a))?tm.fontMap[r].variant:null},tY=function(e,t,r){if(1===e.length){var a,n=tW(e[0],t);return r&&n instanceof tD&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i=[],s=0;s0&&(m.text=m.text.slice(0,1)+"\u0338"+m.text.slice(1),i.pop())}}}i.push(o),a=o}return i},tX=function(e,t,r){return tG(tY(e,t,r))},tW=function(e,t){if(!e)return new tP.MathNode("mrow");if(tb[e.type])return tb[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function t_(e,t,r,a,n){var i,s=tY(e,r);i=1===s.length&&s[0]instanceof tD&&H.contains(["mrow","mtable"],s[0].type)?s[0]:new tP.MathNode("mrow",s);var o=new tP.MathNode("annotation",[new tP.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new tP.MathNode("semantics",[i,o]),h=new tP.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block"),tm.makeSpan([n?"katex":"katex-mathml"],[h])}var tj=function(e){return new eo({style:e.displayMode?Y.DISPLAY:Y.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},t$=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=tm.makeSpan(r,[e])}return e},tZ=function(e,t,r){var a,n=tj(r);if("mathml"===r.output)return t_(e,t,n,r.displayMode,!0);if("html"===r.output){var i=tE(e,n);a=tm.makeSpan(["katex"],[i])}else{var s=t_(e,t,n,r.displayMode,!1),o=tE(e,n);a=tm.makeSpan(["katex"],[s,o])}return t$(a,r)},tK=function(e,t,r){var a=tE(e,tj(r));return t$(tm.makeSpan(["katex"],[a]),r)},tJ={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},tQ={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},t0={encloseSpan:function(e,t,r,a,n){var i,s=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=tm.makeSpan(["stretchy",t],[],n),"fbox"===t){var o=n.color&&n.getColor();o&&(i.style.borderColor=o)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new eM({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new eM({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ek(l,{width:"100%",height:ep(s)});i=tm.makeSvgSpan([],[h],n)}return i.height=s,i.style.height=ep(s),i},mathMLnode:function(e){var t=new tP.MathNode("mo",[new tP.TextNode(tJ[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},svgSpan:function(e,t){var{span:r,minWidth:a,height:n}=function(){var r=4e5,a=e.label.slice(1);if(H.contains(["widehat","widecheck","widetilde","utilde"],a)){var n,i,s,o,l="ordgroup"===(o=e.base).type?o.body.length:1;if(l>5)"widehat"===a||"widecheck"===a?(n=420,r=2364,s=.42,i=a+"4"):(n=312,r=2340,s=.34,i="tilde4");else{var h=[1,1,2,2,3,3][l];"widehat"===a||"widecheck"===a?(r=[0,1062,2364,2364,2364][h],n=[0,239,300,360,420][h],s=[0,.24,.3,.3,.36,.42][h],i=a+h):(r=[0,600,1033,2339,2340][h],n=[0,260,286,306,312][h],s=[0,.26,.286,.3,.306,.34][h],i="tilde"+h)}var m=new ek([new eS(i)],{width:"100%",height:ep(s),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:tm.makeSvgSpan([],[m],t),minWidth:0,height:s}}var c,p,u=[],d=tQ[a],[g,f,v]=d,b=v/1e3,y=g.length;if(1===y){var x=d[3];c=["hide-tail"],p=[x]}else if(2===y)c=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else if(3===y)c=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error("Correct katexImagesData or update code here to support\n "+y+" children.");for(var w=0;w0&&(r.style.minWidth=ep(a)),r}};function t1(e,t){if(!e||e.type!==t)throw Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function t4(e){var t=t5(e);if(!t)throw Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function t5(e){return e&&("atom"===e.type||eT.hasOwnProperty(e.type))?e:null}var t6=(e,t)=>{e&&"supsub"===e.type?(o=(l=t1(e.base,"accent")).base,e.base=o,h=function(e){if(e instanceof ev)return e;throw Error("Expected span but got "+String(e)+".")}(tR(e,t)),e.base=l):o=(l=t1(e,"accent")).base;var r=tR(o,t.havingCrampedStyle()),a=l.isShifty&&H.isCharacterBox(o),n=0;a&&(n=ez(tR(H.getBaseElem(o),t.havingCrampedStyle())).skew);var i="\\c"===l.label,s=i?r.height+r.depth:Math.min(r.height,t.fontMetrics().xHeight);if(l.isStretchy)m=t0.svgSpan(l,t),m=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:n>0?{width:"calc(100% - "+ep(2*n)+")",marginLeft:ep(2*n)}:void 0}]},t);else{"\\vec"===l.label?(c=tm.staticSvg("vec",t),p=tm.svgData.vec[1]):((c=ez(c=tm.makeOrd({mode:l.mode,text:l.label},t,"textord"))).italic=0,p=c.width,i&&(s+=c.depth)),m=tm.makeSpan(["accent-body"],[c]);var o,l,h,m,c,p,u="\\textcircled"===l.label;u&&(m.classes.push("accent-full"),s=r.height);var d=n;!u&&(d-=p/2),m.style.left=ep(d),"\\textcircled"===l.label&&(m.style.top=".2em"),m=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:-s},{type:"elem",elem:m}]},t)}var g=tm.makeSpan(["mord","accent"],[m],t);return h?(h.children[0]=g,h.height=Math.max(g.height,h.height),h.classes[0]="mord",h):g},t7=(e,t)=>{var r=e.isStretchy?t0.mathMLnode(e.label):new tP.MathNode("mo",[tF(e.label,e.mode)]),a=new tP.MathNode("mover",[tW(e.base,t),r]);return a.setAttribute("accent","true"),a},t3=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ty({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=tw(t[0]),a=!t3.test(e.funcName),n=!a||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:t6,mathmlBuilder:t7}),ty({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],a=e.parser.mode;return"math"===a&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:t6,mathmlBuilder:t7}),ty({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(e,t)=>{var r=tR(e.base,t),a=t0.svgSpan(e,t),n="\\utilde"===e.label?.12:0,i=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=t0.mathMLnode(e.label),a=new tP.MathNode("munder",[tW(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var t8=e=>{var t=new tP.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ty({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a,funcName:n}=e;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a,n=t.style,i=t.havingStyle(n.sup()),s=tm.wrapFragment(tR(e.body,i,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";s.classes.push(o+"-arrow-pad"),e.below&&(i=t.havingStyle(n.sub()),(r=tm.wrapFragment(tR(e.below,i,t),t)).classes.push(o+"-arrow-pad"));var l=t0.svgSpan(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((s.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=s.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:m},{type:"elem",elem:l,shift:h}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),tm.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder(e,t){var r,a=t0.mathMLnode(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=t8(tW(e.body,t));if(e.below){var i=t8(tW(e.below,t));r=new tP.MathNode("munderover",[a,i,n])}else r=new tP.MathNode("mover",[a,n])}else if(e.below){var s=t8(tW(e.below,t));r=new tP.MathNode("munder",[a,s])}else r=t8(),r=new tP.MathNode("mover",[a,r]);return r}});var t2=tm.makeSpan;function t9(e,t){var r=tB(e.body,t,!0);return t2([e.mclass],r,t)}function re(e,t){var r,a=tY(e.body,t);return"minner"===e.mclass?r=new tP.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new tP.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new tP.MathNode("mo",a),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ty({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:tk(n),isCharacterBox:H.isCharacterBox(n)}},htmlBuilder:t9,mathmlBuilder:re});var rt=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"===t.type&&("bin"===t.family||"rel"===t.family)?"m"+t.family:"mord"};ty({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:rt(t[0]),body:tk(t[1]),isCharacterBox:H.isCharacterBox(t[1])}}}),ty({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:a,funcName:n}=e,i=t[1],s=t[0];r="\\stackrel"!==n?rt(i):"mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:tk(i)},l={type:"supsub",mode:s.mode,base:o,sup:"\\underset"===n?null:s,sub:"\\underset"===n?s:null};return{type:"mclass",mode:a.mode,mclass:r,body:[l],isCharacterBox:H.isCharacterBox(l)}},htmlBuilder:t9,mathmlBuilder:re}),ty({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:rt(t[0]),body:tk(t[0])}},htmlBuilder(e,t){var r=tB(e.body,t,!0),a=tm.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=tY(e.body,t),a=new tP.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var rr={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ra=()=>({type:"styling",body:[],mode:"math",style:"display"}),rn=e=>"textord"===e.type&&"@"===e.text,ri=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;ty({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),a=tm.wrapFragment(tR(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=ep(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new tP.MathNode("mrow",[tW(e.label,t)]);return(r=new tP.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new tP.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),ty({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=tm.wrapFragment(tR(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new tP.MathNode("mrow",[tW(e.fragment,t)])}),ty({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var r,{parser:a}=e,n=t1(t[0],"ordgroup").body,s="",o=0;o=1114111)throw new i("\\@char with invalid code point "+s);l<=65535?r=String.fromCharCode(l):(l-=65536,r=String.fromCharCode((l>>10)+55296,(1023&l)+56320));return{type:"textord",mode:a.mode,text:r}}});var rs=(e,t)=>{var r=tB(e.body,t.withColor(e.color),!1);return tm.makeFragment(r)},ro=(e,t)=>{var r=tY(e.body,t.withColor(e.color)),a=new tP.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};ty({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=t1(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:tk(n)}},htmlBuilder:rs,mathmlBuilder:ro}),ty({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=t1(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:rs,mathmlBuilder:ro}),ty({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:a}=e,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&t1(n,"size").value}},htmlBuilder(e,t){var r=tm.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ep(ec(e.size,t)))),r},mathmlBuilder(e,t){var r=new tP.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ep(ec(e.size,t)))),r}});var rl={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},rh=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},rm=e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t},rc=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};ty({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(rl[a.text])return("\\global"===r||"\\\\globallong"===r)&&(a.text=rl[a.text]),t1(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",a)}}),ty({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var t,{parser:r,funcName:a}=e,n=r.gullet.popToken(),s=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new i("Expected a control sequence",n);for(var o=0,l=[[]];"{"!==r.gullet.future().text;)if("#"===(n=r.gullet.popToken()).text){if("{"===r.gullet.future().text){t=r.gullet.future(),l[o].push("{");break}if(n=r.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new i('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==o+1)throw new i('Argument number "'+n.text+'" out of order');o++,l.push([])}else if("EOF"===n.text)throw new i("Expected a macro definition");else l[o].push(n.text);var{tokens:h}=r.gullet.consumeArg();return t&&h.unshift(t),("\\edef"===a||"\\xdef"===a)&&(h=r.gullet.expandTokens(h)).reverse(),r.gullet.macros.set(s,{tokens:h,numArgs:o,delimiters:l},a===rl[a]),{type:"internal",mode:r.mode}}}),ty({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rh(t.gullet.popToken());t.gullet.consumeSpaces();var n=rm(t);return rc(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),ty({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rh(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return rc(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var rp=function(e,t,r){var a=er(eB.math[e]&&eB.math[e].replace||e,t,r);if(!a)throw Error("Unsupported symbol "+e+" and font size "+t+".");return a},ru=function(e,t,r,a){var n=r.havingBaseStyle(t),i=tm.makeSpan(a.concat(n.sizingClasses(r)),[e],r),s=n.sizeMultiplier/r.sizeMultiplier;return i.height*=s,i.depth*=s,i.maxFontSize=n.sizeMultiplier,i},rd=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ep(n),e.height-=n,e.depth+=n},rg=function(e,t,r,a,n,i){var s=ru(tm.makeSymbol(e,"Main-Regular",n,a),t,a,i);return r&&rd(s,a,t),s},rf=function(e,t,r,a,n,i){var s,o,l,h,m=(s=e,o=t,l=n,h=a,tm.makeSymbol(s,"Size"+o+"-Regular",l,h)),c=ru(tm.makeSpan(["delimsizing","size"+t],[m],a),Y.TEXT,a,i);return r&&rd(c,a,Y.TEXT),c},rv=function(e,t,r){var a;return a="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:tm.makeSpan(["delimsizinginner",a],[tm.makeSpan([],[tm.makeSymbol(e,t,r)])])}},rb=function(e,t,r){var a=Q["Size4-Regular"][e.charCodeAt(0)]?Q["Size4-Regular"][e.charCodeAt(0)][4]:Q["Size1-Regular"][e.charCodeAt(0)][4],n=new ek([new eS("inner",$(e,Math.round(1e3*t)))],{width:ep(a),height:ep(t),style:"width:"+ep(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),i=tm.makeSvgSpan([],[n],r);return i.height=t,i.style.height=ep(t),i.style.width=ep(a),{type:"elem",elem:i}},ry={type:"kern",size:-.008},rx=["|","\\lvert","\\rvert","\\vert"],rw=["\\|","\\lVert","\\rVert","\\Vert"],rk=function(e,t,r,a,n,i){var s,o,l,h,m="",c=0;s=l=h=e,o=null;var p="Size1-Regular";"\\uparrow"===e?l=h="\u23D0":"\\Uparrow"===e?l=h="\u2016":"\\downarrow"===e?s=l="\u23D0":"\\Downarrow"===e?s=l="\u2016":"\\updownarrow"===e?(s="\\uparrow",l="\u23D0",h="\\downarrow"):"\\Updownarrow"===e?(s="\\Uparrow",l="\u2016",h="\\Downarrow"):H.contains(rx,e)?(l="\u2223",m="vert",c=333):H.contains(rw,e)?(l="\u2225",m="doublevert",c=556):"["===e||"\\lbrack"===e?(s="\u23A1",l="\u23A2",h="\u23A3",p="Size4-Regular",m="lbrack",c=667):"]"===e||"\\rbrack"===e?(s="\u23A4",l="\u23A5",h="\u23A6",p="Size4-Regular",m="rbrack",c=667):"\\lfloor"===e||"\u230A"===e?(l=s="\u23A2",h="\u23A3",p="Size4-Regular",m="lfloor",c=667):"\\lceil"===e||"\u2308"===e?(s="\u23A1",l=h="\u23A2",p="Size4-Regular",m="lceil",c=667):"\\rfloor"===e||"\u230B"===e?(l=s="\u23A5",h="\u23A6",p="Size4-Regular",m="rfloor",c=667):"\\rceil"===e||"\u2309"===e?(s="\u23A4",l=h="\u23A5",p="Size4-Regular",m="rceil",c=667):"("===e||"\\lparen"===e?(s="\u239B",l="\u239C",h="\u239D",p="Size4-Regular",m="lparen",c=875):")"===e||"\\rparen"===e?(s="\u239E",l="\u239F",h="\u23A0",p="Size4-Regular",m="rparen",c=875):"\\{"===e||"\\lbrace"===e?(s="\u23A7",o="\u23A8",h="\u23A9",l="\u23AA",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(s="\u23AB",o="\u23AC",h="\u23AD",l="\u23AA",p="Size4-Regular"):"\\lgroup"===e||"\u27EE"===e?(s="\u23A7",h="\u23A9",l="\u23AA",p="Size4-Regular"):"\\rgroup"===e||"\u27EF"===e?(s="\u23AB",h="\u23AD",l="\u23AA",p="Size4-Regular"):"\\lmoustache"===e||"\u23B0"===e?(s="\u23A7",h="\u23AD",l="\u23AA",p="Size4-Regular"):("\\rmoustache"===e||"\u23B1"===e)&&(s="\u23AB",h="\u23A9",l="\u23AA",p="Size4-Regular");var u=rp(s,p,n),d=u.height+u.depth,g=rp(l,p,n),f=g.height+g.depth,v=rp(h,p,n),b=v.height+v.depth,y=0,x=1;if(null!==o){var w=rp(o,p,n);y=w.height+w.depth,x=2}var k=d+b+y,S=Math.max(0,Math.ceil((t-k)/(x*f))),M=k+S*x*f,z=a.fontMetrics().axisHeight;r&&(z*=a.sizeMultiplier);var A=M/2-z,T=[];if(m.length>0){var B=Math.round(1e3*M),C=K(m,Math.round(1e3*(M-d-b))),q=new eS(m,C),N=(c/1e3).toFixed(3)+"em",I=(B/1e3).toFixed(3)+"em",R=new ek([q],{width:N,height:I,viewBox:"0 0 "+c+" "+B}),O=tm.makeSvgSpan([],[R],a);O.height=B/1e3,O.style.width=N,O.style.height=I,T.push({type:"elem",elem:O})}else{if(T.push(rv(h,p,n)),T.push(ry),null===o)T.push(rb(l,M-d-b+.016,a));else{var E=(M-d-b-y)/2+.016;T.push(rb(l,E,a)),T.push(ry),T.push(rv(o,p,n)),T.push(ry),T.push(rb(l,E,a))}T.push(ry),T.push(rv(s,p,n))}var L=a.havingBaseStyle(Y.TEXT),D=tm.makeVList({positionType:"bottom",positionData:A,children:T},L);return ru(tm.makeSpan(["delimsizing","mult"],[D],L),Y.TEXT,a,i)},rS=function(e,t,r,a,n){var i=j(e,a,r),s=new ek([new eS(e,i)],{width:"400em",height:ep(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return tm.makeSvgSpan(["hide-tail"],[s],n)},rM=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],rz=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],rA=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],rT=[0,1.2,1.8,2.4,3],rB=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],rC=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"stack"}],rq=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],rN=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";else throw Error("Add support for delim type '"+e.type+"' here.")},rI=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size),i=n;it)return r[i]}return r[r.length-1]},rH=function(e,t,r,a,n,i){"<"===e||"\\lt"===e||"\u27E8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27E9"===e)&&(e="\\rangle"),s=H.contains(rA,e)?rB:H.contains(rM,e)?rq:rC;var s,o=rI(e,t,s,a);return"small"===o.type?rg(e,o.style,r,a,n,i):"large"===o.type?rf(e,o.size,r,a,n,i):rk(e,t,r,a,n,i)},rR={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=rI("\\surd",e*n.sizeMultiplier,rq,n),s=n.sizeMultiplier,o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===i.type?(m=1e3+1e3*o+80,e<1?s=1:e<1.4&&(s=.7),l=(1+o+.08)/s,h=(1+o)/s,(r=rS("sqrtMain",l,m,o,t)).style.minWidth="0.853em",a=.833/s):"large"===i.type?(m=1080*rT[i.size],h=(rT[i.size]+o)/s,l=(rT[i.size]+o+.08)/s,(r=rS("sqrtSize"+i.size,l,m,o,t)).style.minWidth="1.02em",a=1/s):(l=e+o+.08,h=e+o,(r=rS("sqrtTall",l,m=Math.floor(1e3*e+o)+80,o,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=ep(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*s}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"\u27E8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27E9"===e)&&(e="\\rangle"),H.contains(rM,e)||H.contains(rA,e))return rf(e,t,!1,r,a,n);if(H.contains(rz,e))return rk(e,rT[t],!1,r,a,n);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:rT,customSizedDelim:rH,leftRightDelim:function(e,t,r,a,n,i){var s=a.fontMetrics().axisHeight*a.sizeMultiplier,o=5/a.fontMetrics().ptPerEm,l=Math.max(t-s,r+s);return rH(e,Math.max(l/500*901,2*l-o),!0,a,n,i)}},rO={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},rE=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function rL(e,t){var r=t5(e);if(r&&H.contains(rE,r.text))return r;if(r)throw new i("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e);throw new i("Invalid delimiter type '"+e.type+"'",e)}function rD(e){if(!e.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}ty({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=rL(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:rO[e.funcName].size,mclass:rO[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?tm.makeSpan([e.mclass]):rR.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(tF(e.delim,e.mode));var r=new tP.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=ep(rR.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),ty({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:rL(t[0],e).text,color:r}}}),ty({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rL(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=t1(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{rD(e);for(var r,a,n=tB(e.body,t,!0,["mopen","mclose"]),i=0,s=0,o=!1,l=0;l{rD(e);var r=tY(e.body,t);if("."!==e.left){var a=new tP.MathNode("mo",[tF(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new tP.MathNode("mo",[tF(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return tG(r)}}),ty({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rL(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=tH(t,[]);else{r=rR.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};r.isMiddle=a}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?tF("|","text"):tF(e.delim,e.mode),a=new tP.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var rV=(e,t)=>{var r,a,n=tm.wrapFragment(tR(e.body,t),t),i=e.label.slice(1),s=t.sizeMultiplier,o=0,l=H.isCharacterBox(e.body);if("sout"===i)(r=tm.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,o=-.5*t.fontMetrics().xHeight;else if("phase"===i){var h,m=ec({number:.6,unit:"pt"},t),c=ec({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=n.height+n.depth+m+c;n.style.paddingLeft=ep(p/2+m);var u=Math.floor(1e3*p*s);var d=new ek([new eS("phase","M400000 "+(h=u)+" H0 L"+h/2+" 0 l65 45 L145 "+(h-80)+" H400000z")],{width:"400em",height:ep(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=tm.makeSvgSpan(["hide-tail"],[d],t)).style.height=ep(p),o=n.depth+m+c}else{/cancel/.test(i)?!l&&n.classes.push("cancel-pad"):"angl"===i?n.classes.push("anglpad"):n.classes.push("boxpad");var g=0,f=0,v=0;/box/.test(i)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),f=g=t.fontMetrics().fboxsep+("colorbox"===i?0:v)):"angl"===i?(g=4*(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),f=Math.max(0,.25-n.depth)):f=g=l?.2:0,r=t0.encloseSpan(n,i,g,f,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=ep(v)):"angl"===i&&.049!==v&&(r.style.borderTopWidth=ep(v),r.style.borderRightWidth=ep(v)),o=n.depth+f,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var b=/cancel|phase/.test(i)?["svg-align"]:[];a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:r,shift:o,wrapperClasses:b}]},t)}return(/cancel/.test(i)&&(a.height=n.height,a.depth=n.depth),/cancel/.test(i)&&!l)?tm.makeSpan(["mord","cancel-lap"],[a],t):tm.makeSpan(["mord"],[a],t)},rP=(e,t)=>{var r=0,a=new tP.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[tW(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};ty({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t1(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:s}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t1(t[0],"color-token").color,s=t1(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),ty({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var rF={};function rG(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function r_(e){if(-1===e.indexOf("ed"))return -1===e.indexOf("*")}function rj(e,t,r){var{hskipBeforeAndAfter:a,addJot:s,cols:o,arraystretch:l,colSeparationType:h,autoTag:m,singleRow:c,emptySingleRow:p,maxNumCols:u,leqno:d}=t;if(e.gullet.beginGroup(),!c&&e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var g=e.gullet.expandMacroAsText("\\arraystretch");if(null==g)l=1;else if(!(l=parseFloat(g))||l<0)throw new i("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var f=[],v=[f],b=[],y=[],x=null!=m?[]:void 0;function w(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new n("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(!!m&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),y.push(rX(e));;){var S=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),S={type:"ordgroup",mode:e.mode,body:S},r&&(S={type:"styling",mode:e.mode,style:r,body:[S]}),f.push(S);var M=e.fetch().text;if("&"===M){if(u&&f.length===u){if(c||h)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if("\\end"===M){k(),1===f.length&&"styling"===S.type&&0===S.body[0].body.length&&(v.length>1||!p)&&v.pop(),y.length0&&(x+=.25),c.push({pos:x,isDashed:e[t]})}for(w(l[0]),r=0;r0&&(M<(B+=y)&&(M=B),B=0),e.addJot&&(M+=f),z.height=S,z.depth=M,x+=S,z.pos=x,x+=M+B,m[r]=z,w(l[r+1])}var C=x/2+t.fontMetrics().axisHeight,q=e.cols||[],N=[],I=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r=h)){var U=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(U=H.deflt(D.pregap,d))&&((n=tm.makeSpan(["arraycolsep"],[])).style.width=ep(U),N.push(n));var X=[];for(r=0;r0){for(var $=tm.makeLineSpan("hline",t,p),Z=tm.makeLineSpan("hdashline",t,p),K=[{type:"elem",elem:m,shift:0}];c.length>0;){var J=c.pop(),Q=J.pos-C;J.isDashed?K.push({type:"elem",elem:Z,shift:Q}):K.push({type:"elem",elem:$,shift:Q})}m=tm.makeVList({positionType:"individualShift",children:K},t)}if(0===I.length)return tm.makeSpan(["mord"],[m],t);var ee=tm.makeVList({positionType:"individualShift",children:I},t);return ee=tm.makeSpan(["tag"],[ee],t),tm.makeFragment([m,ee])},rK={c:"center ",l:"left ",r:"right "},rJ=function(e,t){for(var r=[],a=new tP.MathNode("mtd",[],["mtr-glue"]),n=new tP.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var u=e.cols,d="",g=!1,f=0,v=u.length;"separator"===u[0].type&&(c+="top ",f=1),"separator"===u[u.length-1].type&&(c+="bottom ",v-=1);for(var b=f;b0?"left ":"")+(S[S.length-1].length>0?"right ":"");for(var M=1;M-1?"alignat":"align",s="split"===e.envName,o=rj(e.parser,{cols:a,addJot:!0,autoTag:s?void 0:r_(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var m="",c=0;c0&&p&&(g=1),a[u]={type:"align",align:d,pregap:g,postgap:0}}return o.colSeparationType=p?"align":"alignat",o};rG({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(t5(t[0])?[t[0]]:t1(t[0],"ordgroup").body).map(function(e){var t=t4(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)}),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return rj(e.parser,a,r$(e.envName))},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,-1==="lcr".indexOf(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var s=rj(e.parser,a,r$(e.envName)),o=Math.max(0,...s.body.map(e=>e.length));return s.cols=Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=rj(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(t5(t[0])?[t[0]]:t1(t[0],"ordgroup").body).map(function(e){var t=t4(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)});if(r.length>1)throw new i("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=rj(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new i("{subarray} can contain only one column");return a},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=rj(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r$(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rQ,htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){H.contains(["gather","gather*"],e.envName)&&rW(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:r_(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return rj(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rQ,htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){rW(e);var t={autoTag:r_(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return rj(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(rW(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"===r||"\\\\"===r)e.consume();else if("\\end"===r){0===t[t.length-1].length&&t.pop();break}else throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],n=[a],s=0;s-1);else if("<>AV".indexOf(m)>-1)for(var p=0;p<2;p++){for(var u=!0,d=h+1;dAV=|." after @',o[h]);var g={type:"styling",body:[function(e,t,r){var a=rr[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n=r.callFunction("\\\\cdleft",[t[0]],[]),i=r.callFunction("\\Big",[{type:"atom",text:a,mode:"math",family:"rel"}],[]),s=r.callFunction("\\\\cdright",[t[1]],[]);return r.callFunction("\\\\cdparent",[{type:"ordgroup",mode:"math",body:[n,i,s]}],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}(m,c,e)],mode:"math",style:"display"};a.push(g),l=ra()}else l.body.push(o[h]);s%2==0?a.push(l):a.shift(),a=[],n.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var f=Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:f,colSeparationType:"CD",hLinesBeforeRow:Array(n.length+1).fill([])}}(e.parser)),htmlBuilder:rZ,mathmlBuilder:rJ}),rU["\\nonumber"]="\\gdef\\@eqnsw{0}",rU["\\notag"]="\\nonumber",ty({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new i(e.funcName+" valid only within array environment")}});ty({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];if("ordgroup"!==n.type)throw new i("Invalid environment name",n);for(var s="",o=0;o{var r=e.font,a=t.withFont(r);return tR(e.body,a)},r1=(e,t)=>{var r=e.font,a=t.withFont(r);return tW(e.body,a)},r4={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ty({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=tw(t[0]),i=a;return i in r4&&(i=r4[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:r0,mathmlBuilder:r1}),ty({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=H.isCharacterBox(a);return{type:"mclass",mode:r.mode,mclass:rt(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),ty({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a,breakOnTokenText:n}=e,{mode:i}=r,s=r.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:r0,mathmlBuilder:r1});var r5=(e,t)=>{var r=t;return"display"===e?r=r.id>=Y.SCRIPT.id?r.text():Y.DISPLAY:"text"===e&&r.size===Y.DISPLAY.size?r=Y.TEXT:"script"===e?r=Y.SCRIPT:"scriptscript"===e&&(r=Y.SCRIPTSCRIPT),r},r6=(e,t)=>{var r,a,n,i,s,o,l,h,m,c,p,u=r5(e.size,t.style),d=u.fracNum(),g=u.fracDen();r=t.havingStyle(d);var f=tR(e.numer,r,t);if(e.continued){var v=8.5/t.fontMetrics().ptPerEm,b=3.5/t.fontMetrics().ptPerEm;f.height=f.height0?3*i:7*i,l=t.fontMetrics().denom1):(n>0?(s=t.fontMetrics().num2,o=i):(s=t.fontMetrics().num3,o=3*i),l=t.fontMetrics().denom2),a){var x=t.fontMetrics().axisHeight;s-f.depth-(x+.5*n){var r=new tP.MathNode("mfrac",[tW(e.numer,t),tW(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=ec(e.barSize,t);r.setAttribute("linethickness",ep(a))}}else r.setAttribute("linethickness","0px");var n=r5(e.size,t.style);if(n.size!==t.style.size){r=new tP.MathNode("mstyle",[r]);var i=n.size===Y.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var s=[];if(null!=e.leftDelim){var o=new tP.MathNode("mo",[new tP.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),null!=e.rightDelim){var l=new tP.MathNode("mo",[new tP.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return tG(s)}return r};ty({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:a,funcName:n}=e,i=t[0],s=t[1],o=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,o="(",l=")";break;case"\\\\bracefrac":r=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,o="[",l="]";break;default:throw Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:a.mode,continued:!1,numer:i,denom:s,hasBarLine:r,leftDelim:o,rightDelim:l,size:h,barSize:null}},htmlBuilder:r6,mathmlBuilder:r7}),ty({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ty({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:a,token:n}=e;switch(a){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:n}}});var r3=["display","text","script","scriptscript"],r8=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};ty({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:a}=e,n=t[4],i=t[5],s=tw(t[0]),o="atom"===s.type&&"open"===s.family?r8(s.text):null,l=tw(t[1]),h="atom"===l.type&&"close"===l.family?r8(l.text):null,m=t1(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var p="auto",u=t[3];return"ordgroup"===u.type?u.body.length>0&&(p=r3[Number(t1(u.body[0],"textord").text)]):p=r3[Number((u=t1(u,"textord")).text)],{type:"genfrac",mode:a.mode,numer:n,denom:i,continued:!1,hasBarLine:r,barSize:c,leftDelim:o,rightDelim:h,size:p}},htmlBuilder:r6,mathmlBuilder:r7}),ty({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:a,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:t1(t[0],"size").value,token:n}}}),ty({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=I(t1(t[1],"infix").size),s=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:r6,mathmlBuilder:r7});var r2=(e,t)=>{var r,a,n,i=t.style;"supsub"===e.type?(r=e.sup?tR(e.sup,t.havingStyle(i.sup()),t):tR(e.sub,t.havingStyle(i.sub()),t),a=t1(e.base,"horizBrace")):a=t1(e,"horizBrace");var s=tR(a.base,t.havingBaseStyle(Y.DISPLAY)),o=t0.svgSpan(a,t);if(a.isOver?(n=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(n=tm.makeVList({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=tm.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t);n=a.isOver?tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):tm.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return tm.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t)};ty({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:r2,mathmlBuilder:(e,t)=>{var r=t0.mathMLnode(e.label);return new tP.MathNode(e.isOver?"mover":"munder",[tW(e.base,t),r])}}),ty({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=t1(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:tk(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=tB(e.body,t,!1);return tm.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=tX(e.body,t);return!(r instanceof tD)&&(r=new tD("mrow",[r])),r.setAttribute("href",e.href),r}}),ty({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t1(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;inew tP.MathNode("mrow",tY(e.body,t))}),ty({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:a,funcName:n,token:s}=e,o=t1(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=o,r={command:"\\htmlClass",class:o};break;case"\\htmlId":h.id=o,r={command:"\\htmlId",id:o};break;case"\\htmlStyle":h.style=o,r={command:"\\htmlStyle",style:o};break;case"\\htmlData":for(var m=o.split(","),c=0;c{var r=tB(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=tm.makeSpan(a,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&n.setAttribute(i,e.attributes[i]);return n},mathmlBuilder:(e,t)=>tX(e.body,t)}),ty({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:tk(t[0]),mathml:tk(t[1])}},htmlBuilder:(e,t)=>{var r=tB(e.html,t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tX(e.mathml,t)});var r9=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!em(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ty({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:a}=e,n={number:0,unit:"em"},s={number:.9,unit:"em"},o={number:0,unit:"em"},l="";if(r[0]){for(var h=t1(r[0],"raw").string.split(","),m=0;m{var r=ec(e.height,t),a=0;e.totalheight.number>0&&(a=ec(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=ec(e.width,t));var i={height:ep(r+a)};n>0&&(i.width=ep(n)),a>0&&(i.verticalAlign=ep(-a));var s=new ey(e.src,e.alt,i);return s.height=r,s.depth=a,s},mathmlBuilder:(e,t)=>{var r=new tP.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=ec(e.height,t),n=0;if(e.totalheight.number>0&&(n=ec(e.totalheight,t)-a,r.setAttribute("valign",ep(-n))),r.setAttribute("height",ep(a+n)),e.width.number>0){var i=ec(e.width,t);r.setAttribute("width",ep(i))}return r.setAttribute("src",e.src),r}}),ty({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t1(t[0],"size");if(r.settings.strict){var i="m"===a[1],s="mu"===n.value.unit;i?(!s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+n.value.unit)+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:(e,t)=>tm.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=ec(e.dimension,t);return new tP.SpaceNode(r)}}),ty({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(e,t)=>{"clap"===e.alignment?(r=tm.makeSpan([],[tR(e.body,t)]),r=tm.makeSpan(["inner"],[r],t)):r=tm.makeSpan(["inner"],[tR(e.body,t)]);var r,a=tm.makeSpan(["fix"],[]),n=tm.makeSpan([e.alignment],[r,a],t),i=tm.makeSpan(["strut"]);return i.style.height=ep(n.height+n.depth),n.depth&&(i.style.verticalAlign=ep(-n.depth)),n.children.unshift(i),n=tm.makeSpan(["thinbox"],[n],t),tm.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new tP.MathNode("mpadded",[tW(e.body,t)]);if("rlap"!==e.alignment){var a="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),ty({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:a}=e,n=a.mode;a.switchMode("math");var i="\\("===r?"\\)":"$",s=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:s}}}),ty({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});var ae=(e,t)=>{switch(t.style.size){case Y.DISPLAY.size:return e.display;case Y.TEXT.size:return e.text;case Y.SCRIPT.size:return e.script;case Y.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ty({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:tk(t[0]),text:tk(t[1]),script:tk(t[2]),scriptscript:tk(t[3])}},htmlBuilder:(e,t)=>{var r=tB(ae(e,t),t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tX(ae(e,t),t)});var at=(e,t,r,a,n,i,s)=>{e=tm.makeSpan([],[e]);var o,l,h,m=r&&H.isCharacterBox(r);if(t){var c=tR(t,a.havingStyle(n.sup()),a);l={elem:c,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var p=tR(r,a.havingStyle(n.sub()),a);o={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-p.height)}}if(l&&o){var u=a.fontMetrics().bigOpSpacing5+o.elem.height+o.elem.depth+o.kern+e.depth+s;h=tm.makeVList({positionType:"bottom",positionData:u,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ep(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(o){var d=e.height-s;h=tm.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ep(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var g=e.depth+s;h=tm.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var f=[h];if(o&&0!==i&&!m){var v=tm.makeSpan(["mspace"],[],a);v.style.marginRight=ep(i),f.unshift(v)}return tm.makeSpan(["mop","op-limits"],f,a)},ar=["\\smallint"],aa=(e,t)=>{var r,a,n,i,s=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=t1(e.base,"op"),s=!0):n=t1(e,"op");var o=t.style,l=!1;if(o.size===Y.DISPLAY.size&&n.symbol&&!H.contains(ar,n.name)&&(l=!0),n.symbol){var h=l?"Size2-Regular":"Size1-Regular",m="";if(("\\oiint"===n.name||"\\oiiint"===n.name)&&(m=n.name.slice(1),n.name="oiint"===m?"\\iint":"\\iiint"),i=tm.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),m.length>0){var c=i.italic,p=tm.staticSvg(m+"Size"+(l?"2":"1"),t);i=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:p,shift:l?.08:0}]},t),n.name="\\"+m,i.classes.unshift("mop"),i.italic=c}}else if(n.body){var u=tB(n.body,t,!0);1===u.length&&u[0]instanceof ew?(i=u[0]).classes[0]="mop":i=tm.makeSpan(["mop"],u,t)}else{for(var d=[],g=1;g{var r;if(e.symbol)r=new tD("mo",[tF(e.name,e.mode)]),H.contains(ar,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new tD("mo",tY(e.body,t));else{r=new tD("mi",[new tV(e.name.slice(1))]);var a=new tD("mo",[tF("\u2061","text")]);r=e.parentIsSupSub?new tD("mrow",[r,a]):tL([r,a])}return r},ai={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};ty({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=ai[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tk(a)}},htmlBuilder:aa,mathmlBuilder:an});var as={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};ty({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=as[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:aa,mathmlBuilder:an});var ao=(e,t)=>{var r,a,n,i,s=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=t1(e.base,"operatorname"),s=!0):n=t1(e,"operatorname"),n.body.length>0){for(var o=tB(n.body.map(e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),t.withFont("mathrm"),!0),l=0;l{var{parser:r,funcName:a}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:tk(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:ao,mathmlBuilder:(e,t)=>{for(var r=tY(e.body,t.withFont("mathrm")),a=!0,n=0;ne.toText()).join("");r=[new tP.TextNode(o)]}var l=new tP.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new tP.MathNode("mo",[tF("\u2061","text")]);return e.parentIsSupSub?new tP.MathNode("mrow",[l,h]):tP.newDocumentFragment([l,h])}}),rU["\\operatorname"]="\\@ifstar\\operatornamewithlimits\\operatorname@",tx({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?tm.makeFragment(tB(e.body,t,!1)):tm.makeSpan(["mord"],tB(e.body,t,!0),t),mathmlBuilder:(e,t)=>tX(e.body,t,!0)}),ty({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,a=t[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(e,t){var r=tR(e.body,t.havingCrampedStyle()),a=tm.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return tm.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new tP.MathNode("mo",[new tP.TextNode("\u203E")]);r.setAttribute("stretchy","true");var a=new tP.MathNode("mover",[tW(e.body,t),r]);return a.setAttribute("accent","true"),a}}),ty({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"phantom",mode:r.mode,body:tk(a)}},htmlBuilder:(e,t)=>{var r=tB(e.body,t.withPhantom(),!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=tY(e.body,t);return new tP.MathNode("mphantom",r)}}),ty({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=tm.makeSpan([],[tR(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=tY(tk(e.body),t),a=new tP.MathNode("mphantom",r),n=new tP.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),ty({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=tm.makeSpan(["inner"],[tR(e.body,t.withPhantom())]),a=tm.makeSpan(["fix"],[]);return tm.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=tY(tk(e.body),t),a=new tP.MathNode("mphantom",r),n=new tP.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),ty({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=t1(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=tR(e.body,t),a=ec(e.dy,t);return tm.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new tP.MathNode("mpadded",[tW(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),ty({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ty({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:a}=e,n=r[0],i=t1(t[0],"size"),s=t1(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&t1(n,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=tm.makeSpan(["mord","rule"],[],t),a=ec(e.width,t),n=ec(e.height,t),i=e.shift?ec(e.shift,t):0;return r.style.borderRightWidth=ep(a),r.style.borderTopWidth=ep(n),r.style.bottom=ep(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ec(e.width,t),a=ec(e.height,t),n=e.shift?ec(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new tP.MathNode("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",ep(r)),s.setAttribute("height",ep(a));var o=new tP.MathNode("mpadded",[s]);return n>=0?o.setAttribute("height",ep(n)):(o.setAttribute("height",ep(n)),o.setAttribute("depth",ep(-n))),o.setAttribute("voffset",ep(n)),o}});var ah=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ty({type:"sizing",names:ah,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:ah.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return al(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=tY(e.body,r),n=new tP.MathNode("mstyle",a);return n.setAttribute("mathsize",ep(r.sizeMultiplier)),n}}),ty({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:a}=e,n=!1,i=!1,s=r[0]&&t1(r[0],"ordgroup");if(s){for(var o="",l=0;l{var r=tm.makeSpan([],[tR(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new tP.MathNode("mpadded",[tW(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ty({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a}=e,n=r[0],i=t[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(e,t){var r=tR(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=tm.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.idr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var c=o.height-r.height-i-l;r.style.paddingLeft=ep(h);var p=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:o},{type:"kern",size:l}]},t);if(!e.index)return tm.makeSpan(["mord","sqrt"],[p],t);var u=t.havingStyle(Y.SCRIPTSCRIPT),d=tR(e.index,u,t),g=.6*(p.height-p.depth),f=tm.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=tm.makeSpan(["root"],[f]);return tm.makeSpan(["mord","sqrt"],[v,p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new tP.MathNode("mroot",[tW(r,t),tW(a,t)]):new tP.MathNode("msqrt",[tW(r,t)])}});var am={display:Y.DISPLAY,text:Y.TEXT,script:Y.SCRIPT,scriptscript:Y.SCRIPTSCRIPT};ty({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!0,r),s=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:s,body:i}},htmlBuilder(e,t){var r=am[e.style],a=t.havingStyle(r).withFont("");return al(e.body,a,t)},mathmlBuilder(e,t){var r=am[e.style],a=t.havingStyle(r),n=tY(e.body,a),i=new tP.MathNode("mstyle",n),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",s[0]),i.setAttribute("displaystyle",s[1]),i}});var ac=function(e,t){var r=e.base;if(!r)return null;if("op"===r.type)return r.limits&&(t.style.size===Y.DISPLAY.size||r.alwaysHandleSupSub)?aa:null;if("operatorname"===r.type)return r.alwaysHandleSupSub&&(t.style.size===Y.DISPLAY.size||r.limits)?ao:null;else if("accent"===r.type)return H.isCharacterBox(r.base)?t6:null;else if("horizBrace"===r.type)return!e.sub===r.isOver?r2:null;else return null};tx({type:"supsub",htmlBuilder(e,t){var r,a,n,i,s=ac(e,t);if(s)return s(e,t);var{base:o,sup:l,sub:h}=e,m=tR(o,t),c=t.fontMetrics(),p=0,u=0,d=o&&H.isCharacterBox(o);if(l){var g=t.havingStyle(t.style.sup());r=tR(l,g,t),!d&&(p=m.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(h){var f=t.havingStyle(t.style.sub());a=tR(h,f,t),!d&&(u=m.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}n=t.style===Y.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var v=t.sizeMultiplier,b=ep(.5/c.ptPerEm/v),y=null;if(a){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(m instanceof ew||x)&&(y=ep(-m.italic))}if(r&&a){p=Math.max(p,n,r.depth+.25*c.xHeight),u=Math.max(u,c.sub2);var w=4*c.defaultRuleThickness;if(p-r.depth-(a.height-u)0&&(p+=k,u-=k)}var S=[{type:"elem",elem:a,shift:u,marginRight:b,marginLeft:y},{type:"elem",elem:r,shift:-p,marginRight:b}];i=tm.makeVList({positionType:"individualShift",children:S},t)}else if(a){u=Math.max(u,c.sub1,a.height-.8*c.xHeight);var M=[{type:"elem",elem:a,marginLeft:y,marginRight:b}];i=tm.makeVList({positionType:"shift",positionData:u,children:M},t)}else if(r)p=Math.max(p,n,r.depth+.25*c.xHeight),i=tm.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:r,marginRight:b}]},t);else throw Error("supsub must have either sup or sub.");var z=tI(m,"right")||"mord";return tm.makeSpan([z],[m,tm.makeSpan(["msupsub"],[i])],t)},mathmlBuilder(e,t){var r,a,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,r=e.base.isOver),e.base&&("op"===e.base.type||"operatorname"===e.base.type)&&(e.base.parentIsSupSub=!0);var i=[tW(e.base,t)];if(e.sub&&i.push(tW(e.sub,t)),e.sup&&i.push(tW(e.sup,t)),n)a=r?"mover":"munder";else if(e.sub){if(e.sup){var s=e.base;a=s&&"op"===s.type&&s.limits&&t.style===Y.DISPLAY?"munderover":s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(t.style===Y.DISPLAY||s.limits)?"munderover":"msubsup"}else{var o=e.base;a=o&&"op"===o.type&&o.limits&&(t.style===Y.DISPLAY||o.alwaysHandleSupSub)?"munder":o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(o.limits||t.style===Y.DISPLAY)?"munder":"msub"}}else{var l=e.base;a=l&&"op"===l.type&&l.limits&&(t.style===Y.DISPLAY||l.alwaysHandleSupSub)?"mover":l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===Y.DISPLAY)?"mover":"msup"}return new tP.MathNode(a,i)}}),tx({type:"atom",htmlBuilder:(e,t)=>tm.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new tP.MathNode("mo",[tF(e.text,e.mode)]);if("bin"===e.family){var a=tU(e,t);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===e.family?r.setAttribute("separator","true"):("open"===e.family||"close"===e.family)&&r.setAttribute("stretchy","false");return r}});var ap={mi:"italic",mn:"normal",mtext:"normal"};tx({type:"mathord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new tP.MathNode("mi",[tF(e.text,e.mode,t)]),a=tU(e,t)||"italic";return a!==ap[r.type]&&r.setAttribute("mathvariant",a),r}}),tx({type:"textord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=tF(e.text,e.mode,t),n=tU(e,t)||"normal";return n!==ap[(r="text"===e.mode?new tP.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new tP.MathNode("mn",[a]):"\\prime"===e.text?new tP.MathNode("mo",[a]):new tP.MathNode("mi",[a])).type]&&r.setAttribute("mathvariant",n),r}});var au={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ad={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tx({type:"spacing",htmlBuilder(e,t){if(ad.hasOwnProperty(e.text)){var r=ad[e.text].className||"";if("text"!==e.mode)return tm.makeSpan(["mspace",r],[tm.mathsym(e.text,e.mode,t)],t);var a=tm.makeOrd(e,t,"textord");return a.classes.push(r),a}if(au.hasOwnProperty(e.text))return tm.makeSpan(["mspace",au[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){var r;if(ad.hasOwnProperty(e.text))r=new tP.MathNode("mtext",[new tP.TextNode("\xa0")]);else if(au.hasOwnProperty(e.text))return new tP.MathNode("mspace");else throw new i('Unknown type of space "'+e.text+'"');return r}});var ag=()=>{var e=new tP.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};tx({type:"tag",mathmlBuilder(e,t){var r=new tP.MathNode("mtable",[new tP.MathNode("mtr",[ag(),new tP.MathNode("mtd",[tX(e.body,t)]),ag(),new tP.MathNode("mtd",[tX(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var af={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},av={"\\textbf":"textbf","\\textmd":"textmd"},ab={"\\textit":"textit","\\textup":"textup"},ay=(e,t)=>{var r=e.font;if(!r)return t;if(af[r])return t.withTextFontFamily(af[r]);if(av[r])return t.withTextFontWeight(av[r]);else if("\\emph"===r)return"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit");return t.withTextFontShape(ab[r])};ty({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"text",mode:r.mode,body:tk(n),font:a}},htmlBuilder(e,t){var r=ay(e,t),a=tB(e.body,r,!0);return tm.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=ay(e,t);return tX(e.body,r)}}),ty({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tR(e.body,t),a=tm.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new tP.MathNode("mo",[new tP.TextNode("\u203E")]);r.setAttribute("stretchy","true");var a=new tP.MathNode("munder",[tW(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),ty({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tR(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return tm.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new tP.MathNode("mpadded",[tW(e.body,t)],["vcenter"])}),ty({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=ax(e),a=[],n=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"\u2423":"\xa0"),aw="[ \r\n ]",ak="[\u0300-\u036F]",aS=RegExp(ak+"+$"),aM="("+aw+"+)|\\\\(\n|[ \r ]+\n?)[ \r ]*|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+ak+"*|[\uD800-\uDBFF][\uDC00-\uDFFF]"+ak+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|(\\\\[a-zA-Z@]+)"+aw)+"*|\\\\[^\uD800-\uDFFF])";class az{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=RegExp(aM,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new n("EOF",new a(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new n(e[t],new a(this,t,t+1)));var s=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[s]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return -1===o?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new n(s,new a(this,t,this.tokenRegex.lastIndex))}}class aA{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}s=function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}},rU["\\noexpand"]=s,o=function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}},rU["\\expandafter"]=o,l=function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}},rU["\\@firstoftwo"]=l,h=function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}},rU["\\@secondoftwo"]=h,m=function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}},rU["\\@ifnextchar"]=m,rU["\\@ifstar"]="\\@ifnextchar *{\\@firstoftwo{#1}}",c=function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}},rU["\\TextOrMath"]=c;var aT={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};p=function(e){var t,r,a=e.popToken(),n="";if("'"===a.text)t=8,a=e.popToken();else if('"'===a.text)t=16,a=e.popToken();else if("`"===a.text){if("\\"===(a=e.popToken()).text[0])n=a.text.charCodeAt(1);else if("EOF"===a.text)throw new i("\\char` missing argument");else n=a.text.charCodeAt(0)}else t=10;if(t){if(null==(n=aT[a.text])||n>=t)throw new i("Invalid base-"+t+" digit "+a.text);for(;null!=(r=aT[e.future().text])&&r{var a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");var n=a[0].text,s=e.isDefined(n);if(s&&!t)throw new i("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!s&&!r)throw new i("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var o=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+l);o=parseInt(l),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:o}),""};u=e=>aB(e,!1,!0),rU["\\newcommand"]=u,d=e=>aB(e,!0,!1),rU["\\renewcommand"]=d,g=e=>aB(e,!0,!0),rU["\\providecommand"]=g,f=e=>(console.log(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rU["\\message"]=f,v=e=>(console.error(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rU["\\errmessage"]=v,b=e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),tf[r],eB.math[r],eB.text[r]),""},rU["\\show"]=b,rU["\\bgroup"]="{",rU["\\egroup"]="}",rU["~"]="\\nobreakspace",rU["\\lq"]="`",rU["\\rq"]="'",rU["\\aa"]="\\r a",rU["\\AA"]="\\r A",rU["\\textcopyright"]="\\html@mathml{\\textcircled{c}}{\\char`\xa9}",rU["\\copyright"]="\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}",rU["\\textregistered"]="\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}",rU["\u212C"]="\\mathscr{B}",rU["\u2130"]="\\mathscr{E}",rU["\u2131"]="\\mathscr{F}",rU["\u210B"]="\\mathscr{H}",rU["\u2110"]="\\mathscr{I}",rU["\u2112"]="\\mathscr{L}",rU["\u2133"]="\\mathscr{M}",rU["\u211B"]="\\mathscr{R}",rU["\u212D"]="\\mathfrak{C}",rU["\u210C"]="\\mathfrak{H}",rU["\u2128"]="\\mathfrak{Z}",rU["\\Bbbk"]="\\Bbb{k}",rU["\xb7"]="\\cdotp",rU["\\llap"]="\\mathllap{\\textrm{#1}}",rU["\\rlap"]="\\mathrlap{\\textrm{#1}}",rU["\\clap"]="\\mathclap{\\textrm{#1}}",rU["\\mathstrut"]="\\vphantom{(}",rU["\\underbar"]="\\underline{\\text{#1}}",rU["\\not"]='\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}',rU["\\neq"]="\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}",rU["\\ne"]="\\neq",rU["\u2260"]="\\neq",rU["\\notin"]="\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}",rU["\u2209"]="\\notin",rU["\u2258"]="\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}",rU["\u2259"]="\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}",rU["\u225A"]="\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}",rU["\u225B"]="\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}",rU["\u225D"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}",rU["\u225E"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}",rU["\u225F"]="\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}",rU["\u27C2"]="\\perp",rU["\u203C"]="\\mathclose{!\\mkern-0.8mu!}",rU["\u220C"]="\\notni",rU["\u231C"]="\\ulcorner",rU["\u231D"]="\\urcorner",rU["\u231E"]="\\llcorner",rU["\u231F"]="\\lrcorner",rU["\xa9"]="\\copyright",rU["\xae"]="\\textregistered",rU["\uFE0F"]="\\textregistered",rU["\\ulcorner"]='\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}',rU["\\urcorner"]='\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}',rU["\\llcorner"]='\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}',rU["\\lrcorner"]='\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}',rU["\\vdots"]="\\mathord{\\varvdots\\rule{0pt}{15pt}}",rU["\u22EE"]="\\vdots",rU["\\varGamma"]="\\mathit{\\Gamma}",rU["\\varDelta"]="\\mathit{\\Delta}",rU["\\varTheta"]="\\mathit{\\Theta}",rU["\\varLambda"]="\\mathit{\\Lambda}",rU["\\varXi"]="\\mathit{\\Xi}",rU["\\varPi"]="\\mathit{\\Pi}",rU["\\varSigma"]="\\mathit{\\Sigma}",rU["\\varUpsilon"]="\\mathit{\\Upsilon}",rU["\\varPhi"]="\\mathit{\\Phi}",rU["\\varPsi"]="\\mathit{\\Psi}",rU["\\varOmega"]="\\mathit{\\Omega}",rU["\\substack"]="\\begin{subarray}{c}#1\\end{subarray}",rU["\\colon"]="\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax",rU["\\boxed"]="\\fbox{$\\displaystyle{#1}$}",rU["\\iff"]="\\DOTSB\\;\\Longleftrightarrow\\;",rU["\\implies"]="\\DOTSB\\;\\Longrightarrow\\;",rU["\\impliedby"]="\\DOTSB\\;\\Longleftarrow\\;";var aC={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};y=function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in aC?t=aC[r]:"\\not"===r.slice(0,4)?t="\\dotsb":r in eB.math&&H.contains(["bin","rel"],eB.math[r].group)&&(t="\\dotsb"),t},rU["\\dots"]=y;var aq={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};x=function(e){return e.future().text in aq?"\\ldots\\,":"\\ldots"},rU["\\dotso"]=x,w=function(e){var t=e.future().text;return t in aq&&","!==t?"\\ldots\\,":"\\ldots"},rU["\\dotsc"]=w,k=function(e){return e.future().text in aq?"\\@cdots\\,":"\\@cdots"},rU["\\cdots"]=k,rU["\\dotsb"]="\\cdots",rU["\\dotsm"]="\\cdots",rU["\\dotsi"]="\\!\\cdots",rU["\\dotsx"]="\\ldots\\,",rU["\\DOTSI"]="\\relax",rU["\\DOTSB"]="\\relax",rU["\\DOTSX"]="\\relax",rU["\\tmspace"]="\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax",rU["\\,"]="\\tmspace+{3mu}{.1667em}",rU["\\thinspace"]="\\,",rU["\\>"]="\\mskip{4mu}",rU["\\:"]="\\tmspace+{4mu}{.2222em}",rU["\\medspace"]="\\:",rU["\\;"]="\\tmspace+{5mu}{.2777em}",rU["\\thickspace"]="\\;",rU["\\!"]="\\tmspace-{3mu}{.1667em}",rU["\\negthinspace"]="\\!",rU["\\negmedspace"]="\\tmspace-{4mu}{.2222em}",rU["\\negthickspace"]="\\tmspace-{5mu}{.277em}",rU["\\enspace"]="\\kern.5em ",rU["\\enskip"]="\\hskip.5em\\relax",rU["\\quad"]="\\hskip1em\\relax",rU["\\qquad"]="\\hskip2em\\relax",rU["\\tag"]="\\@ifstar\\tag@literal\\tag@paren",rU["\\tag@paren"]="\\tag@literal{({#1})}",S=e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"},rU["\\tag@literal"]=S,rU["\\bmod"]="\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}",rU["\\pod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)",rU["\\pmod"]="\\pod{{\\rm mod}\\mkern6mu#1}",rU["\\mod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1",rU["\\newline"]="\\\\\\relax",rU["\\TeX"]="\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}";var aN=ep(Q["Main-Regular"][84][1]-.7*Q["Main-Regular"][65][1]);M="\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+aN+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}",rU["\\LaTeX"]=M,z="\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+aN+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}",rU["\\KaTeX"]=z,rU["\\hspace"]="\\@ifstar\\@hspacer\\@hspace",rU["\\@hspace"]="\\hskip #1\\relax",rU["\\@hspacer"]="\\rule{0pt}{0pt}\\hskip #1\\relax",rU["\\ordinarycolon"]=":",rU["\\vcentcolon"]="\\mathrel{\\mathop\\ordinarycolon}",rU["\\dblcolon"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}',rU["\\coloneqq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}',rU["\\Coloneqq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}',rU["\\coloneq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}',rU["\\Coloneq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}',rU["\\eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}',rU["\\Eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}',rU["\\eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}',rU["\\Eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}',rU["\\colonapprox"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}',rU["\\Colonapprox"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}',rU["\\colonsim"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}',rU["\\Colonsim"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}',rU["\u2237"]="\\dblcolon",rU["\u2239"]="\\eqcolon",rU["\u2254"]="\\coloneqq",rU["\u2255"]="\\eqqcolon",rU["\u2A74"]="\\Coloneqq",rU["\\ratio"]="\\vcentcolon",rU["\\coloncolon"]="\\dblcolon",rU["\\colonequals"]="\\coloneqq",rU["\\coloncolonequals"]="\\Coloneqq",rU["\\equalscolon"]="\\eqqcolon",rU["\\equalscoloncolon"]="\\Eqqcolon",rU["\\colonminus"]="\\coloneq",rU["\\coloncolonminus"]="\\Coloneq",rU["\\minuscolon"]="\\eqcolon",rU["\\minuscoloncolon"]="\\Eqcolon",rU["\\coloncolonapprox"]="\\Colonapprox",rU["\\coloncolonsim"]="\\Colonsim",rU["\\simcolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rU["\\simcoloncolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",rU["\\approxcolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rU["\\approxcoloncolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",rU["\\notni"]="\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}",rU["\\limsup"]="\\DOTSB\\operatorname*{lim\\,sup}",rU["\\liminf"]="\\DOTSB\\operatorname*{lim\\,inf}",rU["\\injlim"]="\\DOTSB\\operatorname*{inj\\,lim}",rU["\\projlim"]="\\DOTSB\\operatorname*{proj\\,lim}",rU["\\varlimsup"]="\\DOTSB\\operatorname*{\\overline{lim}}",rU["\\varliminf"]="\\DOTSB\\operatorname*{\\underline{lim}}",rU["\\varinjlim"]="\\DOTSB\\operatorname*{\\underrightarrow{lim}}",rU["\\varprojlim"]="\\DOTSB\\operatorname*{\\underleftarrow{lim}}",rU["\\gvertneqq"]="\\html@mathml{\\@gvertneqq}{\u2269}",rU["\\lvertneqq"]="\\html@mathml{\\@lvertneqq}{\u2268}",rU["\\ngeqq"]="\\html@mathml{\\@ngeqq}{\u2271}",rU["\\ngeqslant"]="\\html@mathml{\\@ngeqslant}{\u2271}",rU["\\nleqq"]="\\html@mathml{\\@nleqq}{\u2270}",rU["\\nleqslant"]="\\html@mathml{\\@nleqslant}{\u2270}",rU["\\nshortmid"]="\\html@mathml{\\@nshortmid}{\u2224}",rU["\\nshortparallel"]="\\html@mathml{\\@nshortparallel}{\u2226}",rU["\\nsubseteqq"]="\\html@mathml{\\@nsubseteqq}{\u2288}",rU["\\nsupseteqq"]="\\html@mathml{\\@nsupseteqq}{\u2289}",rU["\\varsubsetneq"]="\\html@mathml{\\@varsubsetneq}{\u228A}",rU["\\varsubsetneqq"]="\\html@mathml{\\@varsubsetneqq}{\u2ACB}",rU["\\varsupsetneq"]="\\html@mathml{\\@varsupsetneq}{\u228B}",rU["\\varsupsetneqq"]="\\html@mathml{\\@varsupsetneqq}{\u2ACC}",rU["\\imath"]="\\html@mathml{\\@imath}{\u0131}",rU["\\jmath"]="\\html@mathml{\\@jmath}{\u0237}",rU["\\llbracket"]="\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}",rU["\\rrbracket"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}",rU["\u27E6"]="\\llbracket",rU["\u27E7"]="\\rrbracket",rU["\\lBrace"]="\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}",rU["\\rBrace"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}",rU["\u2983"]="\\lBrace",rU["\u2984"]="\\rBrace",rU["\\minuso"]="\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}",rU["\u29B5"]="\\minuso",rU["\\darr"]="\\downarrow",rU["\\dArr"]="\\Downarrow",rU["\\Darr"]="\\Downarrow",rU["\\lang"]="\\langle",rU["\\rang"]="\\rangle",rU["\\uarr"]="\\uparrow",rU["\\uArr"]="\\Uparrow",rU["\\Uarr"]="\\Uparrow",rU["\\N"]="\\mathbb{N}",rU["\\R"]="\\mathbb{R}",rU["\\Z"]="\\mathbb{Z}",rU["\\alef"]="\\aleph",rU["\\alefsym"]="\\aleph",rU["\\Alpha"]="\\mathrm{A}",rU["\\Beta"]="\\mathrm{B}",rU["\\bull"]="\\bullet",rU["\\Chi"]="\\mathrm{X}",rU["\\clubs"]="\\clubsuit",rU["\\cnums"]="\\mathbb{C}",rU["\\Complex"]="\\mathbb{C}",rU["\\Dagger"]="\\ddagger",rU["\\diamonds"]="\\diamondsuit",rU["\\empty"]="\\emptyset",rU["\\Epsilon"]="\\mathrm{E}",rU["\\Eta"]="\\mathrm{H}",rU["\\exist"]="\\exists",rU["\\harr"]="\\leftrightarrow",rU["\\hArr"]="\\Leftrightarrow",rU["\\Harr"]="\\Leftrightarrow",rU["\\hearts"]="\\heartsuit",rU["\\image"]="\\Im",rU["\\infin"]="\\infty",rU["\\Iota"]="\\mathrm{I}",rU["\\isin"]="\\in",rU["\\Kappa"]="\\mathrm{K}",rU["\\larr"]="\\leftarrow",rU["\\lArr"]="\\Leftarrow",rU["\\Larr"]="\\Leftarrow",rU["\\lrarr"]="\\leftrightarrow",rU["\\lrArr"]="\\Leftrightarrow",rU["\\Lrarr"]="\\Leftrightarrow",rU["\\Mu"]="\\mathrm{M}",rU["\\natnums"]="\\mathbb{N}",rU["\\Nu"]="\\mathrm{N}",rU["\\Omicron"]="\\mathrm{O}",rU["\\plusmn"]="\\pm",rU["\\rarr"]="\\rightarrow",rU["\\rArr"]="\\Rightarrow",rU["\\Rarr"]="\\Rightarrow",rU["\\real"]="\\Re",rU["\\reals"]="\\mathbb{R}",rU["\\Reals"]="\\mathbb{R}",rU["\\Rho"]="\\mathrm{P}",rU["\\sdot"]="\\cdot",rU["\\sect"]="\\S",rU["\\spades"]="\\spadesuit",rU["\\sub"]="\\subset",rU["\\sube"]="\\subseteq",rU["\\supe"]="\\supseteq",rU["\\Tau"]="\\mathrm{T}",rU["\\thetasym"]="\\vartheta",rU["\\weierp"]="\\wp",rU["\\Zeta"]="\\mathrm{Z}",rU["\\argmin"]="\\DOTSB\\operatorname*{arg\\,min}",rU["\\argmax"]="\\DOTSB\\operatorname*{arg\\,max}",rU["\\plim"]="\\DOTSB\\mathop{\\operatorname{plim}}\\limits",rU["\\bra"]="\\mathinner{\\langle{#1}|}",rU["\\ket"]="\\mathinner{|{#1}\\rangle}",rU["\\braket"]="\\mathinner{\\langle{#1}\\rangle}",rU["\\Bra"]="\\left\\langle#1\\right|",rU["\\Ket"]="\\left|#1\\right\\rangle";var aI=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",s),n.length&&r.macros.set("\\|",o));var i=t;return!t&&n.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?n:a,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};A=aI(!1),rU["\\bra@ket"]=A,T=aI(!0),rU["\\bra@set"]=T,rU["\\Braket"]="\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}",rU["\\Set"]="\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}",rU["\\set"]="\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}",rU["\\angln"]="{\\angl n}",rU["\\blue"]="\\textcolor{##6495ed}{#1}",rU["\\orange"]="\\textcolor{##ffa500}{#1}",rU["\\pink"]="\\textcolor{##ff00af}{#1}",rU["\\red"]="\\textcolor{##df0030}{#1}",rU["\\green"]="\\textcolor{##28ae7b}{#1}",rU["\\gray"]="\\textcolor{gray}{#1}",rU["\\purple"]="\\textcolor{##9d38bd}{#1}",rU["\\blueA"]="\\textcolor{##ccfaff}{#1}",rU["\\blueB"]="\\textcolor{##80f6ff}{#1}",rU["\\blueC"]="\\textcolor{##63d9ea}{#1}",rU["\\blueD"]="\\textcolor{##11accd}{#1}",rU["\\blueE"]="\\textcolor{##0c7f99}{#1}",rU["\\tealA"]="\\textcolor{##94fff5}{#1}",rU["\\tealB"]="\\textcolor{##26edd5}{#1}",rU["\\tealC"]="\\textcolor{##01d1c1}{#1}",rU["\\tealD"]="\\textcolor{##01a995}{#1}",rU["\\tealE"]="\\textcolor{##208170}{#1}",rU["\\greenA"]="\\textcolor{##b6ffb0}{#1}",rU["\\greenB"]="\\textcolor{##8af281}{#1}",rU["\\greenC"]="\\textcolor{##74cf70}{#1}",rU["\\greenD"]="\\textcolor{##1fab54}{#1}",rU["\\greenE"]="\\textcolor{##0d923f}{#1}",rU["\\goldA"]="\\textcolor{##ffd0a9}{#1}",rU["\\goldB"]="\\textcolor{##ffbb71}{#1}",rU["\\goldC"]="\\textcolor{##ff9c39}{#1}",rU["\\goldD"]="\\textcolor{##e07d10}{#1}",rU["\\goldE"]="\\textcolor{##a75a05}{#1}",rU["\\redA"]="\\textcolor{##fca9a9}{#1}",rU["\\redB"]="\\textcolor{##ff8482}{#1}",rU["\\redC"]="\\textcolor{##f9685d}{#1}",rU["\\redD"]="\\textcolor{##e84d39}{#1}",rU["\\redE"]="\\textcolor{##bc2612}{#1}",rU["\\maroonA"]="\\textcolor{##ffbde0}{#1}",rU["\\maroonB"]="\\textcolor{##ff92c6}{#1}",rU["\\maroonC"]="\\textcolor{##ed5fa6}{#1}",rU["\\maroonD"]="\\textcolor{##ca337c}{#1}",rU["\\maroonE"]="\\textcolor{##9e034e}{#1}",rU["\\purpleA"]="\\textcolor{##ddd7ff}{#1}",rU["\\purpleB"]="\\textcolor{##c6b9fc}{#1}",rU["\\purpleC"]="\\textcolor{##aa87ff}{#1}",rU["\\purpleD"]="\\textcolor{##7854ab}{#1}",rU["\\purpleE"]="\\textcolor{##543b78}{#1}",rU["\\mintA"]="\\textcolor{##f5f9e8}{#1}",rU["\\mintB"]="\\textcolor{##edf2df}{#1}",rU["\\mintC"]="\\textcolor{##e0e5cc}{#1}",rU["\\grayA"]="\\textcolor{##f6f7f7}{#1}",rU["\\grayB"]="\\textcolor{##f0f1f2}{#1}",rU["\\grayC"]="\\textcolor{##e3e5e6}{#1}",rU["\\grayD"]="\\textcolor{##d6d8da}{#1}",rU["\\grayE"]="\\textcolor{##babec2}{#1}",rU["\\grayF"]="\\textcolor{##888d93}{#1}",rU["\\grayG"]="\\textcolor{##626569}{#1}",rU["\\grayH"]="\\textcolor{##3b3e40}{#1}",rU["\\grayI"]="\\textcolor{##21242c}{#1}",rU["\\kaBlue"]="\\textcolor{##314453}{#1}",rU["\\kaGreen"]="\\textcolor{##71B307}{#1}";var aH={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class aR{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new aA(rU,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new az(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,a;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new n("EOF",r.loc)),this.pushTokens(a),t.range(r,"")}consumeSpaces(){for(;;)if(" "===this.future().text)this.stack.pop();else break}consumeArg(e){var t,r=[],a=e&&e.length>0;!a&&this.consumeSpaces();var n=this.future(),s=0,o=0;do{if(t=this.popToken(),r.push(t),"{"===t.text)++s;else if("}"===t.text){if(-1==--s)throw new i("Extra }",t)}else if("EOF"===t.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&a?e[o]:"}")+"'",t);if(e&&a){if((0===s||1===s&&"{"===e[o])&&t.text===e[o]){if(++o===e.length){r.splice(-o,o);break}}else o=0}}while(0!==s||a);return"{"===n.text&&"}"===r[r.length-1].text&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:t}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,a=t.noexpand?null:this._getExpansion(r);if(null==a||e&&a.unexpandable){if(e&&null==a&&"\\"===r[0]&&!this.isDefined(r))throw new i("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){n=n.slice();for(var o=n.length-1;o>=0;--o){var l=n[o];if("#"===l.text){if(0===o)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--o]).text)n.splice(o+1,1);else if(/^[1-9]$/.test(l.text))n.splice(o,2,...s[+l.text-1]);else throw new i("Not a valid argument number",l)}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw Error()}expandMacro(e){return this.macros.has(e)?this.expandTokens([new n(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var a="function"==typeof t?t(this):t;if("string"==typeof a){var n=0;if(-1!==a.indexOf("#")){for(var i=a.replace(/##/g,"");-1!==i.indexOf("#"+(n+1));)++n}for(var s=new az(a,this.settings),o=[],l=s.lex();"EOF"!==l.text;)o.push(l),l=s.lex();return o.reverse(),{tokens:o,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||tf.hasOwnProperty(e)||eB.math.hasOwnProperty(e)||eB.text.hasOwnProperty(e)||aH.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:tf.hasOwnProperty(e)&&!tf[e].primitive}}var aO=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,aE=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9",\u2090:"a",\u2091:"e",\u2095:"h",\u1D62:"i",\u2C7C:"j",\u2096:"k",\u2097:"l",\u2098:"m",\u2099:"n",\u2092:"o",\u209A:"p",\u1D63:"r",\u209B:"s",\u209C:"t",\u1D64:"u",\u1D65:"v",\u2093:"x",\u1D66:"\u03B2",\u1D67:"\u03B3",\u1D68:"\u03C1",\u1D69:"\u03D5",\u1D6A:"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9",\u1D2C:"A",\u1D2E:"B",\u1D30:"D",\u1D31:"E",\u1D33:"G",\u1D34:"H",\u1D35:"I",\u1D36:"J",\u1D37:"K",\u1D38:"L",\u1D39:"M",\u1D3A:"N",\u1D3C:"O",\u1D3E:"P",\u1D3F:"R",\u1D40:"T",\u1D41:"U",\u2C7D:"V",\u1D42:"W",\u1D43:"a",\u1D47:"b",\u1D9C:"c",\u1D48:"d",\u1D49:"e",\u1DA0:"f",\u1D4D:"g",\u02B0:"h",\u2071:"i",\u02B2:"j",\u1D4F:"k",\u02E1:"l",\u1D50:"m",\u207F:"n",\u1D52:"o",\u1D56:"p",\u02B3:"r",\u02E2:"s",\u1D57:"t",\u1D58:"u",\u1D5B:"v",\u02B7:"w",\u02E3:"x",\u02B8:"y",\u1DBB:"z",\u1D5D:"\u03B2",\u1D5E:"\u03B3",\u1D5F:"\u03B4",\u1D60:"\u03D5",\u1D61:"\u03C7",\u1DBF:"\u03B8"}),aL={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},aD={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308",\u01DF:"a\u0308\u0304","\xe3":"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C","\xe2":"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304","\xe5":"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307","\xe7":"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C","\xea":"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C","\xee":"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300","\xf1":"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308",\u022B:"o\u0308\u0304","\xf5":"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C","\xf4":"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C","\xfb":"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307","\xfd":"y\u0301",\u1EF3:"y\u0300","\xff":"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308",\u01DE:"A\u0308\u0304","\xc3":"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C","\xc2":"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304","\xc5":"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307","\xc7":"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C","\xca":"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C","\xce":"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300","\xd1":"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308",\u022A:"O\u0308\u0304","\xd5":"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C","\xd4":"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C","\xdb":"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307","\xdd":"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class aV{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new aR(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){!this.settings.globalGroup&&this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),!this.settings.globalGroup&&this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new n("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==aV.endOfExpression.indexOf(a.text)||t&&a.text===t||e&&tf[a.text]&&tf[a.text].infix)break;var n=this.parseAtom(t);if(n){if("internal"===n.type)continue}else break;r.push(n)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var o,l,h=eB[this.mode][t].group,m=a.range(e);o=l=eA.hasOwnProperty(h)?{type:"atom",mode:this.mode,family:h,loc:m,text:t}:{type:h,mode:this.mode,loc:m,text:t}}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(_(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0))+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),s)for(var c=0;ci,contentTitle:()=>a,default:()=>h,assets:()=>c,toc:()=>d,frontMatter:()=>o});var i=JSON.parse('{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","source":"@site/docs/spec/formatting.md","sourceDirName":"spec","slug":"/spec/formatting","permalink":"/nr-pies/docs/spec/formatting","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/formatting.md","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1731109362000,"sidebarPosition":1,"frontMatter":{"id":"formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","sidebar_position":1,"tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Terminology","permalink":"/nr-pies/docs/intro/terminology"},"next":{"title":"Concept Maps","permalink":"/nr-pies/docs/category/concept-maps"}}'),r=n("85893"),s=n("50065");let o={id:"formatting",title:"Formatting",description:"The syntax, encoding and file format used by PIES",sidebar_position:1,tags:["developer"]},a=void 0,c={},d=[{value:"JSON Schema Primer",id:"json-schema-primer",level:2},{value:"References",id:"references",level:2}];function l(e){let t={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["Every data standard must have a core set of fundamental data types that content will be transmitted in. Since the\nPermitting Interoperability Exchange Specification is built on top of the ",(0,r.jsx)(t.a,{href:"https://json-schema.org/",children:"JSON Schema"}),"\nstandard, it will leverage the conventions specified in that standard, including\n",(0,r.jsx)(t.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," which defines JSON. The PIES specification will be compliant\nto the ",(0,r.jsx)(t.code,{children:"draft 07"})," specification of the JSON Schema standard. While there exists more recent draft versions, notably the\n",(0,r.jsx)(t.code,{children:"draft 2020-12"})," standard, features that were introduced after ",(0,r.jsx)(t.code,{children:"draft 07"})," will not be defined and used at this time in\norder to maximize compatibility with implementor systems."]}),"\n",(0,r.jsx)(t.h2,{id:"json-schema-primer",children:"JSON Schema Primer"}),"\n",(0,r.jsx)(t.p,{children:"A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way\nto explicitly define the structural expectations for a specific type of document. While JSON Schema is good for\ndescribing expected structures, describing conceptual relationships between related topics and domains"}),"\n",(0,r.jsx)(t.p,{children:"A JSON Schema will typically contain the following attributes:"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$schema"})," - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be ",(0,r.jsx)(t.code,{children:"https://json-schema.org/draft-07/schema"}),"."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$id"})," - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$comment"})," - A free text field for conveying out of band information about the schema. Comments are useful for\nspecification readers and editors to understand further nuances for certain properties and structures, but should not\nbe relied upon for implementation as they may be skipped over or stripped when parsed by machines."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"title"})," - The intent of the schema. This should be brief and concise."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"description"})," - A brief description about the schema. This should provide a quick overview for the context of usage."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"properties"})," - A set of attributes that are expected to show up in this document type."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"required"})," - An array defining the set of ",(0,r.jsx)(t.code,{children:"properties"})," that must be present for the document to be considered valid.\nAnything defined that is not in this array is implied to be optional."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"type"})," - The type primitive constraint for the property."]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://json-schema.org/draft-07",children:"Draft 07"})}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," (JSON)"]}),"\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://ajv.js.org/guide/schema-language.html#json-schema",children:"JSON Schema Version Comparison"})}),"\n"]})]})}function h(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},50065:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return o}});var i=n(67294);let r={},s=i.createContext(r);function o(e){let t=i.useContext(s);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/54329717.9d66bfe3.js b/assets/js/54329717.9d66bfe3.js new file mode 100644 index 0000000..3134238 --- /dev/null +++ b/assets/js/54329717.9d66bfe3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1858"],{74088:function(e,t,s){s.r(t),s.d(t,{metadata:()=>r,contentTitle:()=>o,default:()=>u,assets:()=>c,toc:()=>l,frontMatter:()=>i});var r=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_document","title":"Create a Document","description":"Documents are groups of pages connected through:","source":"@site/docs/docusaurus/tutorial_basics/create_a_document.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_document","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_document.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Create a Page","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page"},"next":{"title":"Create a Blog Post","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post"}}'),n=s("85893"),a=s("50065");let i={sidebar_position:2},o="Create a Document",c={},l=[{value:"Create your first Doc",id:"create-your-first-doc",level:2},{value:"Configure the Sidebar",id:"configure-the-sidebar",level:2}];function d(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"create-a-document",children:"Create a Document"})}),"\n",(0,n.jsxs)(t.p,{children:["Documents are ",(0,n.jsx)(t.strong,{children:"groups of pages"})," connected through:"]}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:["a ",(0,n.jsx)(t.strong,{children:"sidebar"})]}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.strong,{children:"previous/next navigation"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.strong,{children:"versioning"})}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"create-your-first-doc",children:"Create your first Doc"}),"\n",(0,n.jsxs)(t.p,{children:["Create a Markdown file at ",(0,n.jsx)(t.code,{children:"docs/hello.md"}),":"]}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md"',children:"# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,n.jsxs)(t.p,{children:["A new document is now available at ",(0,n.jsx)(t.a,{href:"http://localhost:3000/docs/hello",children:"http://localhost:3000/docs/hello"}),"."]}),"\n",(0,n.jsx)(t.h2,{id:"configure-the-sidebar",children:"Configure the Sidebar"}),"\n",(0,n.jsxs)(t.p,{children:["Docusaurus automatically ",(0,n.jsx)(t.strong,{children:"creates a sidebar"})," from the ",(0,n.jsx)(t.code,{children:"docs"})," folder."]}),"\n",(0,n.jsx)(t.p,{children:"Add metadata to customize the sidebar label and position:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md" {1-4}',children:"---\nsidebar_label: 'Hi!'\nsidebar_position: 3\n---\n\n# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,n.jsxs)(t.p,{children:["It is also possible to create your sidebar explicitly in ",(0,n.jsx)(t.code,{children:"sidebars.js"}),":"]}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-js",metastring:'title="sidebars.js"',children:"export default {\n tutorialSidebar: [\n 'intro',\n // highlight-next-line\n 'hello',\n {\n type: 'category',\n label: 'Tutorial',\n items: ['tutorial_basics/create-a-document']\n }\n ]\n};\n"})})]})}function u(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},50065:function(e,t,s){s.d(t,{Z:function(){return o},a:function(){return i}});var r=s(67294);let n={},a=r.createContext(n);function i(e){let t=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),r.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/57ff1711.8a39dc93.js b/assets/js/57ff1711.8a39dc93.js new file mode 100644 index 0000000..33f0e45 --- /dev/null +++ b/assets/js/57ff1711.8a39dc93.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1870"],{18395:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Resource Types","description":"Resource Types","slug":"/category/resource-types","permalink":"/nr-pies/docs/category/resource-types","sidebar":"docSidebar","navigation":{"previous":{"title":"Primitive Types","permalink":"/nr-pies/docs/spec/primitive_types"},"next":{"title":"Process Event","permalink":"/nr-pies/docs/spec/resource/process_event"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/5823.0f393977.js b/assets/js/5823.0f393977.js new file mode 100644 index 0000000..16b25c6 --- /dev/null +++ b/assets/js/5823.0f393977.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5823"],{94641:function(n,t,r){r.d(t,{Z:()=>o});var e=r("79401");function u(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new e.Z;++t-1}},46592:function(n,t,r){r.d(t,{Z:function(){return e}});let e=function(n,t,r){for(var e=-1,u=null==n?0:n.length;++eR});var e=r("11395"),u=r("29227"),o=r("89774"),c=r("29919"),i=r("87074"),f=r("40038"),a=r("49307"),l=r("76177"),Z=r("524"),v=r("6630"),s=r("91095"),b=r("78982"),d=r("23302"),j=Object.prototype.hasOwnProperty;let p=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&j.call(n,"index")&&(r.index=n.index,r.input=n.input),r};var h=r("21914");let y=function(n,t){var r=t?(0,h.Z)(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)};var g=/\w*$/;let w=function(n){var t=new n.constructor(n.source,g.exec(n));return t.lastIndex=n.lastIndex,t};var A=r("3958"),_=A.Z?A.Z.prototype:void 0,O=_?_.valueOf:void 0,m=r("32025");let S=function(n,t,r){var e,u=n.constructor;switch(t){case"[object ArrayBuffer]":return(0,h.Z)(n);case"[object Boolean]":case"[object Date]":return new u(+n);case"[object DataView]":return y(n,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,m.Z)(n,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(n);case"[object RegExp]":return w(n);case"[object Symbol]":;return e=n,O?Object(O.call(e)):{}}};var k=r("62799"),E=r("31739"),x=r("25162"),I=r("75887"),U=r("44026"),B=r("74413"),C=B.Z&&B.Z.isMap,D=C?(0,U.Z)(C):function(n){return(0,I.Z)(n)&&"[object Map]"==(0,d.Z)(n)},F=r("58641"),M=B.Z&&B.Z.isSet,z=M?(0,U.Z)(M):function(n){return(0,I.Z)(n)&&"[object Set]"==(0,d.Z)(n)},L="[object Arguments]",P="[object Function]",$="[object Object]",N={};N[L]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[$]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[P]=N["[object WeakMap]"]=!1;let R=function n(t,r,j,h,y,g){var w,A=1&r,_=2&r,O=4&r;if(j&&(w=y?j(t,h,y,g):j(t)),void 0!==w)return w;if(!(0,F.Z)(t))return t;var m=(0,E.Z)(t);if(m){if(w=p(t),!A)return(0,l.Z)(t,w)}else{var I,U,B,C,M,R,V,G,W=(0,d.Z)(t),q=W==P||"[object GeneratorFunction]"==W;if((0,x.Z)(t))return(0,a.Z)(t,A);if(W==$||W==L||q&&!y){if(w=_||q?{}:(0,k.Z)(t),!A){;return _?(B=t,C=(I=w,U=t,I&&(0,c.Z)(U,(0,f.Z)(U),I)),(0,c.Z)(B,(0,v.Z)(B),C)):(V=t,G=(M=w,R=t,M&&(0,c.Z)(R,(0,i.Z)(R),M)),(0,c.Z)(V,(0,Z.Z)(V),G))}}else{if(!N[W])return y?t:{};w=S(t,W,A)}}g||(g=new e.Z);var H=g.get(t);if(H)return H;g.set(t,w),z(t)?t.forEach(function(e){w.add(n(e,r,j,e,t,g))}):D(t)&&t.forEach(function(e,u){w.set(u,n(e,r,j,u,t,g))});var J=O?_?b.Z:s.Z:_?f.Z:i.Z,K=m?void 0:J(t);return(0,u.Z)(K||t,function(e,u){K&&(e=t[u=e]),(0,o.Z)(w,u,n(e,r,j,u,t,g))}),w}},20869:function(n,t,r){r.d(t,{Z:()=>i});var e,u,o=r("50929"),c=r("71581");let i=(e=o.Z,function(n,t){if(null==n)return n;if(!(0,c.Z)(n))return e(n,t);for(var r=n.length,o=-1,i=Object(n);(u?o--:++oa});var e=r("293"),u=r("3958"),o=r("45988"),c=r("31739"),i=u.Z?u.Z.isConcatSpreadable:void 0;let f=function(n){return(0,c.Z)(n)||(0,o.Z)(n)||!!(i&&n&&n[i])},a=function n(t,r,u,o,c){var i=-1,a=t.length;for(u||(u=f),c||(c=[]);++i0&&u(l)?r>1?n(l,r-1,u,o,c):(0,e.Z)(c,l):!o&&(c[c.length]=l)}return c}},50929:function(n,t,r){r.d(t,{Z:function(){return o}});var e=r(45467),u=r(87074);let o=function(n,t){return n&&(0,e.Z)(n,t,u.Z)}},73722:function(n,t,r){r.d(t,{Z:function(){return o}});var e=r(50949),u=r(37706);let o=function(n,t){t=(0,e.Z)(t,n);for(var r=0,o=t.length;null!=n&&rc});var e=r("81208");let u=function(n){return n!=n},o=function(n,t,r){for(var e=r-1,u=n.length;++eW});var e=r("11395"),u=r("94641"),o=r("93130"),c=r("99976");let i=function(n,t,r,e,i,f){var a=1&r,l=n.length,Z=t.length;if(l!=Z&&!(a&&Z>l))return!1;var v=f.get(n),s=f.get(t);if(v&&s)return v==t&&s==n;var b=-1,d=!0,j=2&r?new u.Z:void 0;for(f.set(n,t),f.set(t,n);++bZ});var e=r("94641"),u=r("37479"),o=r("46592"),c=r("99976"),i=r("88521"),f=r("6446"),a=r("92840"),l=i.Z&&1/(0,a.Z)(new i.Z([,-0]))[1]==1/0?function(n){return new i.Z(n)}:f.Z;let Z=function(n,t,r){var i=-1,f=u.Z,Z=n.length,v=!0,s=[],b=s;if(r)v=!1,f=o.Z;else if(Z>=200){var d=t?null:l(n);if(d)return(0,a.Z)(d);v=!1,f=c.Z,b=new e.Z}else b=t?[]:s;n:for(;++is});var e,u,o,c=r("31739"),i=r("46699"),f=r("65269"),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g;var Z=(e=function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(a,function(n,r,e,u){t.push(e?u.replace(l,"$1"):r||n)}),t},o=(u=(0,f.Z)(e,function(n){return 500===o.size&&o.clear(),n})).cache,u),v=r("22501");let s=function(n,t){return(0,c.Z)(n)?n:(0,i.Z)(n,t)?[n]:Z((0,v.Z)(n))}},91095:function(n,t,r){r.d(t,{Z:function(){return c}});var e=r(78467),u=r(524),o=r(87074);let c=function(n){return(0,e.Z)(n,o.Z,u.Z)}},78982:function(n,t,r){r.d(t,{Z:function(){return c}});var e=r(78467),u=r(6630),o=r(40038);let c=function(n){return(0,e.Z)(n,o.Z,u.Z)}},524:function(n,t,r){r.d(t,{Z:function(){return i}});var e=r(87276),u=r(27e3),o=Object.prototype.propertyIsEnumerable,c=Object.getOwnPropertySymbols;let i=c?function(n){return null==n?[]:(n=Object(n),(0,e.Z)(c(n),function(t){return o.call(n,t)}))}:u.Z},6630:function(n,t,r){r.d(t,{Z:function(){return i}});var e=r(293),u=r(53754),o=r(524),c=r(27e3);let i=Object.getOwnPropertySymbols?function(n){for(var t=[];n;)(0,e.Z)(t,(0,o.Z)(n)),n=(0,u.Z)(n);return t}:c.Z},87825:function(n,t,r){r.d(t,{Z:function(){return a}});var e=r(50949),u=r(45988),o=r(31739),c=r(92383),i=r(49666),f=r(37706);let a=function(n,t,r){t=(0,e.Z)(t,n);for(var a=-1,l=t.length,Z=!1;++ao});let e=function(n,t){return null!=n&&t in Object(n)};var u=r("87825");let o=function(n,t){return null!=n&&(0,u.Z)(n,t,e)}},2147:function(n,t,r){r.d(t,{Z:function(){return o}});var e=r(65182),u=r(75887);let o=function(n){return"symbol"==typeof n||(0,u.Z)(n)&&"[object Symbol]"==(0,e.Z)(n)}},61925:function(n,t,r){r.d(t,{Z:function(){return e}});let e=function(n){return void 0===n}},87074:function(n,t,r){r.d(t,{Z:function(){return c}});var e=r(12895),u=r(22769),o=r(71581);let c=function(n){return(0,o.Z)(n)?(0,e.Z)(n):(0,u.Z)(n)}},6446:function(n,t,r){r.d(t,{Z:function(){return e}});let e=function(){}},81748:function(n,t,r){r.d(t,{Z:()=>f});let e=function(n,t,r,e){var u=-1,o=null==n?0:n.length;for(e&&o&&(r=n[++u]);++uZ});var e=r("3958"),u=r("96248"),o=r("31739"),c=r("2147"),i=1/0,f=e.Z?e.Z.prototype:void 0,a=f?f.toString:void 0;let l=function n(t){if("string"==typeof t)return t;if((0,o.Z)(t))return(0,u.Z)(t,n)+"";if((0,c.Z)(t))return a?a.call(t):"";var r=t+"";return"0"==r&&1/t==-i?"-0":r},Z=function(n){return null==n?"":l(n)}},96433:function(n,t,r){r.d(t,{Z:()=>o});var e=r("96248"),u=r("87074");let o=function(n){var t,r;return null==n?[]:(t=n,r=(0,u.Z)(n),(0,e.Z)(r,function(n){return t[n]}))}}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.ab8a9d20.js b/assets/js/5e95c892.ab8a9d20.js new file mode 100644 index 0000000..f3a4c06 --- /dev/null +++ b/assets/js/5e95c892.ab8a9d20.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3432"],{71359:function(e,r,n){n.r(r),n.d(r,{default:function(){return p}});var s=n(85893);n(67294);var u=n(67026),c=n(14713),t=n(84681),a=n(18790),i=n(37647);function p(e){return(0,s.jsx)(c.FG,{className:(0,u.Z)(t.k.wrapper.docsPages),children:(0,s.jsx)(i.Z,{children:(0,a.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/5f622d8a.55682df5.js b/assets/js/5f622d8a.55682df5.js new file mode 100644 index 0000000..44d20c7 --- /dev/null +++ b/assets/js/5f622d8a.55682df5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2692"],{91070:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Tutorial - Extras","slug":"/category/tutorial---extras","permalink":"/nr-pies/docs/category/tutorial---extras","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Congratulations!","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/congratulations"},"next":{"title":"Manage Docs Versions","permalink":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/6211.d8de6fc9.js b/assets/js/6211.d8de6fc9.js new file mode 100644 index 0000000..b2332d5 --- /dev/null +++ b/assets/js/6211.d8de6fc9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6211"],{58446:function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{!o&&null!=n.return&&n.return()}finally{if(s)throw a}}}}var d,p,f,g,v,y,b="undefined"==typeof window?null:window,x=b?b.navigator:null;b&&b.document;var w=r(""),E=r({}),k=r(function(){}),C="undefined"==typeof HTMLElement?"undefined":r(HTMLElement),S=function(e){return e&&e.instanceString&&T(e.instanceString)?e.instanceString():null},D=function(e){return null!=e&&r(e)==w},T=function(e){return null!=e&&r(e)===k},P=function(e){return!A(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},_=function(e){return null!=e&&r(e)===E&&!P(e)&&e.constructor===Object},M=function(e){return null!=e&&r(e)===r(1)&&!isNaN(e)},B=function(e){if("undefined"!==C)return null!=e&&e instanceof HTMLElement},A=function(e){return N(e)||I(e)},N=function(e){return"collection"===S(e)&&e._private.single},I=function(e){return"collection"===S(e)&&!e._private.single},O=function(e){return"core"===S(e)},R=function(e){return"stylesheet"===S(e)},L=function(e){return null==e||!!(""===e||e.match(/^\s+$/))||!1},z=function(e){var t;return null!=(t=e)&&r(t)===E&&T(e.then)},V=function(e,t){!t&&(t=function(){if(1==arguments.length)return arguments[0];if(0==arguments.length)return"undefined";for(var e=[],t=0;tt?1:0},Z=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n,r,i,a,o,s,l,u,c=RegExp("^"+G+"$").exec(e);if(c){if((r=parseInt(c[1]))<0?r=(360- -1*r%360)%360:r>360&&(r%=360),r/=360,(i=parseFloat(c[2]))<0||i>100)return;if(i/=100,(a=parseFloat(c[3]))<0||a>100)return;if(a/=100,void 0!==(o=c[4])&&((o=parseFloat(o))<0||o>1))return;if(0===i)s=l=u=Math.round(255*a);else{var h=a<.5?a*(1+i):a+i-a*i,d=2*a-h;s=Math.round(255*t(d,h,r+1/3)),l=Math.round(255*t(d,h,r)),u=Math.round(255*t(d,h,r-1/3))}n=[s,l,u,o]}return n},J=function(e){var t,n=RegExp("^"+W+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var a=n[i];if("%"===a[a.length-1]&&(r[i]=!0),a=parseFloat(a),r[i]&&(a=a/100*255),a<0||a>255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},ee=function(e){return(P(e)?e:null)||et[e.toLowerCase()]||$(e)||J(e)||Q(e)},et={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]},en=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&r>=a}function g(){var e,n,r,i,o=eu();if(f(o))return v(o);s=setTimeout(g,(n=(e=o)-l,r=e-u,i=t-n,h?eM(i,a-r):i))}function v(e){return(s=void 0,d&&r)?p(e):(r=i=void 0,o)}function y(){var e,n=eu(),a=f(n);if(r=arguments,i=this,l=n,a){if(void 0===s){;return u=e=l,s=setTimeout(g,t),c?p(e):o}if(h)return clearTimeout(s),s=setTimeout(g,t),p(l)}return void 0===s&&(s=setTimeout(g,t)),o}return y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v(eu())},y},eA=b?b.performance:null,eN=eA&&eA.now?function(){return eA.now()}:function(){return Date.now()},eI=function(){if(b){if(b.requestAnimationFrame)return function(e){b.requestAnimationFrame(e)};if(b.mozRequestAnimationFrame)return function(e){b.mozRequestAnimationFrame(e)};else if(b.webkitRequestAnimationFrame)return function(e){b.webkitRequestAnimationFrame(e)};else if(b.msRequestAnimationFrame)return function(e){b.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout(function(){e(eN())},1e3/60)}}(),eO=function(e){return eI(e)},eR=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261,r=n;!(t=e.next()).done;){;r=65599*r+t.value|0}return r},eL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261;return 65599*t+e|0},ez=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5381;return(t<<5)+t+e|0},eV=function(e){return 2097152*e[0]+e[1]},eF=function(e,t){return[eL(e[0],t[0]),ez(e[1],t[1])]},ej=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return eR({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},e8=function(e){e.splice(0,e.length)},e7=function(e,t){for(var n=0;n2)||void 0===arguments[2]||arguments[2];if(void 0===e||void 0===t||!O(e)){eJ("An element must have a core reference and parameters set");return}var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"!==r&&"edges"!==r){eJ("An element must be of type `nodes` or `edges`; you specified `"+r+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new ta,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];P(t.classes)?l=t.classes:D(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw Error("lo must be non-negative");for(null==a&&(a=e.length);io(t,e[s=r((i+a)/2)])?a=s:i=s+1;return[].splice.apply(e,[i,i-i].concat(t)),t},o=function(e,t,r){return null==r&&(r=n),e.push(t),f(e,0,e.length-1,r)},a=function(e,t){var r,i;return null==t&&(t=n),r=e.pop(),e.length?(i=e[0],e[0]=r,g(e,0,t)):i=r,i},l=function(e,t,r){var i;return null==r&&(r=n),i=e[0],e[0]=t,g(e,0,r),i},s=function(e,t,r){var i;return null==r&&(r=n),e.length&&0>r(e[0],t)&&(t=(i=[e[0],t])[0],e[0]=i[1],g(e,0,r)),t},i=function(e,t){var i,a,o,s,l,u;for(null==t&&(t=n),s=(function(){u=[];for(var t=0,n=r(e.length/2);0<=n?tn;0<=n?t++:t--)u.push(t);return u}).apply(this).reverse(),l=[],a=0,o=s.length;ar(o=f[h],s)&&(u(l,o,0,null,r),l.pop(),s=l[l.length-1]);return l}for(i(e,r),v=[],d=0,g=c(t,e.length);0<=g?dg;0<=g?++d:--d)v.push(a(e,r));return v},f=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t;){if(0>i(a,o=e[s=r-1>>1])){e[r]=o,r=s;continue}break}return e[r]=a},g=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;ir(e[i],e[s]))&&(i=s),e[t]=e[i],i=2*(t=i)+1;return e[t]=o,f(e,l,t,r)},t=function(){function e(e){this.cmp=null!=e?e:n,this.nodes=[]}return e.push=o,e.pop=a,e.replace=l,e.pushpop=s,e.heapify=i,e.updateItem=p,e.nlargest=h,e.nsmallest=d,e.prototype.push=function(e){return o(this.nodes,e,this.cmp)},e.prototype.pop=function(){return a(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return -1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return l(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return s(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return i(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return p(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return(t=new e).nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),v=0,y=function(){return t},e.exports=y()}).call(ea)}(oH={exports:{}},oH.exports),oH.exports),tc=e9({root:null,weight:function(e){return 1},directed:!1}),th=e9({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),td=e9({weight:function(e){return 1},directed:!1}),tp=e9({weight:function(e){return 1},directed:!1,root:null}),tf=Math.sqrt(2),tg=function(e,t,n){0===n.length&&eJ("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n.length-1;l>=0;l--){var u=n[l],c=u[1],h=u[2];(t[c]===o&&t[h]===s||t[c]===s&&t[h]===o)&&n.splice(l,1)}for(var d=0;dr;)t=tg(Math.floor(Math.random()*t.length),e,t),n--;return t},ty=function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},tm=function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},tb=function(e){return{x:e[0],y:e[1]}},tx=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];r?e=e.slice(t,n):(n0&&e.splice(0,t));for(var o=0,s=e.length-1;s>=0;s--){var l=e[s];a?!isFinite(l)&&(e[s]=-1/0,o++):e.splice(s,1)}i&&e.sort(function(e,t){return e-t});var u=e.length,c=Math.floor(u/2);return u%2!=0?e[c+1+o]:(e[c-1+o]+e[c+o])/2},tC=function(e,t){return Math.atan2(t,e)-Math.PI/2},tS=Math.log2||function(e){return Math.log(e)/Math.log(2)},tD=function(e){return e>0?1:e<0?-1:0},tT=function(e,t){return Math.sqrt(tP(e,t))},tP=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},t_=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},tO=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},tR=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},tL=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},tz=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tV=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var o=l(a,4);t=o[0],n=o[1],r=o[2],i=o[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tF=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},tj=function(e,t){return!(e.x1>t.x2)&&!(t.x1>e.x2)&&!(e.x2t.y2)&&!(t.y1>e.y2)&&!0},tq=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},tX=function(e,t){return tq(e,t.x1,t.y1)&&tq(e,t.x2,t.y2)},tY=function(e,t,n,r,i,a,o){var s,l,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"auto",c="auto"===u?nr(i,a):u,h=i/2,d=a/2,p=(c=Math.min(c,h,d))!==h,f=c!==d;if(p){var g=n-h+c-o,v=r-d-o,y=n+h-c+o;if((s=t9(e,t,n,r,g,v,y,v,!1)).length>0)return s}if(f){var b=n+h+o,x=r-d+c-o,w=r+d-c+o;if((s=t9(e,t,n,r,b,x,b,w,!1)).length>0)return s}if(p){var E=n-h+c-o,k=r+d+o,C=n+h-c+o;if((s=t9(e,t,n,r,E,k,C,k,!1)).length>0)return s}if(f){var S=n-h-o,D=r-d+c-o,T=r+d-c+o;if((s=t9(e,t,n,r,S,D,S,T,!1)).length>0)return s}var P=n-h+c,_=r-d+c;if((l=t3(e,t,n,r,P,_,c+o)).length>0&&l[0]<=P&&l[1]<=_)return[l[0],l[1]];var M=n+h-c,B=r-d+c;if((l=t3(e,t,n,r,M,B,c+o)).length>0&&l[0]>=M&&l[1]<=B)return[l[0],l[1]];var A=n+h-c,N=r+d-c;if((l=t3(e,t,n,r,A,N,c+o)).length>0&&l[0]>=A&&l[1]>=N)return[l[0],l[1]];var I=n-h+c,O=r+d-c;return(l=t3(e,t,n,r,I,O,c+o)).length>0&&l[0]<=I&&l[1]>=O?[l[0],l[1]]:[]},tW=function(e,t,n,r,i,a,o){var s=Math.min(n,i),l=Math.max(n,i),u=Math.min(r,a),c=Math.max(r,a);return s-o<=e&&e<=l+o&&u-o<=t&&t<=c+o},tH=function(e,t,n,r,i,a,o,s,l){var u={x1:Math.min(n,o,i)-l,x2:Math.max(n,o,i)+l,y1:Math.min(r,s,a)-l,y2:Math.max(r,s,a)+l};return!(eu.x2)&&!(tu.y2)&&!0},tG=function(e,t,n,r){var i=t*t-4*e*(n-=r);if(i<0)return[];var a=Math.sqrt(i),o=2*e;return[(-t+a)/o,(-t-a)/o]},tU=function(e,t,n,r,i){var a,o,s,l,u,c,h,d;if(0===e&&(e=1e-5),t/=e,n/=e,r/=e,a=(o=(3*n-t*t)/9)*o*o+(s=(-(27*r)+t*(9*n-t*t*2))/54)*s,i[1]=0,h=t/3,a>0){u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=(c=s-Math.sqrt(a))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+u+c,h+=(u+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+u)/2,i[3]=h,i[5]=-h;return}if(i[5]=i[3]=0,0===a){d=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=-h+2*d,i[4]=i[2]=-(d+h);return}l=Math.acos(s/Math.sqrt(l=(o=-o)*o*o)),d=2*Math.sqrt(o),i[0]=-h+d*Math.cos(l/3),i[2]=-h+d*Math.cos((l+2*Math.PI)/3),i[4]=-h+d*Math.cos((l+4*Math.PI)/3)},tK=function(e,t,n,r,i,a,o,s){var l,u,c=[];tU(1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s,9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,c);for(var h=[],d=0;d<6;d+=2)1e-7>Math.abs(c[d+1])&&c[d]>=0&&c[d]<=1&&h.push(c[d]);h.push(1),h.push(0);for(var p=-1,f=0;f=0?ul?(e-i)*(e-i)+(t-a)*(t-a):u-h},t$=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e)||!(e>=a))&&(!(r<=e)||!(e<=a)))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0&&!0},tQ=function(e,t,n,r,i,a,o,s,l){var u,c,h=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 d=Math.cos(-u),p=Math.sin(-u),f=0;f0?t0(t1(h,-l)):h)},tJ=function(e,t,n,r,i,a,o,s){for(var l=Array(2*n.length),u=0;u=0&&f<=1&&v.push(f),g>=0&&g<=1&&v.push(g),0===v.length)return[];var y=v[0]*s[0]+e,b=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,b]:[y,b,v[1]*s[0]+e,v[1]*s[1]+t]:[y,b]},t4=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},t9=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,f=s-a,g=h*d-f*u,v=c*d-p*u,y=f*c-h*p;if(0!==y){var b=g/y,x=v/y,w=-.001,E=1.001;return -.001<=b&&b<=E&&w<=x&&x<=E?[e+b*c,t+b*p]:l?[e+b*c,t+b*p]:[]}return 0!==g&&0!==v?[]:t4(e,n,o)===o?[o,s]:t4(e,n,i)===i?[i,a]:t4(i,o,n)===n?[n,r]:[]},t6=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,f=[],g=Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0?t0(t1(g,-s)):g}else u=n;for(var b=0;b2){for(var p=[c[0],c[1]],f=Math.pow(p[0]-e,2)+Math.pow(p[1]-t,2),g=1;gu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(y)[0]:y.edgesTo(b)[0]);h[y=y.id()]>h[g]+w&&(h[y]=h[g]+w,0>d.nodes.indexOf(y)?d.push(y):d.updateItem(y),u[y]=0,l[y]=[]),h[y]==h[g]+w&&(u[y]=u[y]+u[g],l[y].push(g))}else for(var E=0;E0;){for(var D=n.pop(),T=0;T0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i},nk=function(e,t){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:nD,s=r,l=0;l=2?nA(e,t,n,0,n_,nM):nA(e,t,n,0,nP)},squaredEuclidean:function(e,t,n){return nA(e,t,n,0,n_)},manhattan:function(e,t,n){return nA(e,t,n,0,nP)},max:function(e,t,n){return nA(e,t,n,-1/0,nB)}};function nI(e,t,n,r,i,a){var o;return(o=T(e)?e:nN[e]||nN.euclidean,0===t&&T(e))?o(i,a):o(t,n,r,i,a)}nN["squared-euclidean"]=nN.squaredEuclidean,nN.squaredeuclidean=nN.squaredEuclidean;var nO=e9({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),nR=function(e){return nO(e)},nL=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)};return nI(e,r.length,a,function(e){return r[e](t)},n,t)},nz=function(e,t,n){for(var r=n.length,i=Array(r),a=Array(r),o=Array(t),s=null,l=0;ln)return!1;return!0},nq=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var f=t[s],g=t[r[s]];o="dendrogram"===i.mode?{left:f,right:g,key:f.key}:{value:f.value.concat(g.value),key:f.key},e[f.index]=o,e.splice(g.index,1),t[f.key]=o;for(var v=0;vn[g.key][y.key]&&(a=n[g.key][y.key])):"max"===i.linkage?(a=n[f.key][y.key],n[f.key][y.key]0&&r.push(i);return r},n8=function(e,t,n){for(var r=[],i=0;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;ul&&(s=u,l=c)}n[i]=a[s]}return r=n8(e,t,n)},re=function(e){for(var t,n,r,i,a,o,s,l=this.cy(),u=this.nodes(),c=n3(e),h={},d=0;d=T?(P=T,T=M,_=B):M>P&&(P=M);for(var A=0;A0?1:0;C[s%c.minIterations*t+z]=V,L+=V}if(L>0&&(s>=c.minIterations-1||s==c.maxIterations-1)){for(var F=0,j=0;j1)}});var u=Object.keys(t).filter(function(e){return t[e].cutVertex}).map(function(t){return e.getElementById(t)});return{cut:e.spawn(u),components:i}},rr=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach(function(e){var n=e.target().id();n!==s&&(!(n in t)&&o(n),!t[n].explored&&(t[s].low=Math.min(t[s].low,t[n].low)))}),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach(function(e){if(e.isNode()){var n=e.id();!(n in t)&&o(n)}}),{cut:a,components:r}},ri={};[tl,{dijkstra:function(e){if(!_(e)){var t=arguments;e={root:t[0],weight:t[1],directed:t[2]}}var n=tc(e),r=n.root,i=n.weight,a=n.directed,o=this,s=D(r)?this.filter(r)[0]:r[0],l={},u={},c={},h=this.byGroup(),d=h.nodes,p=h.edges;p.unmergeBy(function(e){return e.isLoop()});for(var f=function(e){return l[e.id()]},g=new tu(function(e,t){return f(e)-f(t)}),v=0;v0;){var b=g.pop(),x=f(b);if(c[b.id()]=x,x!==1/0)for(var w=b.neighborhood().intersect(d),E=0;E0)for(n.unshift(t);u[i];){var a=u[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},{kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=Array(i),o=function(e){for(var t=0;t0;){if(n=(t=g.pop()).id(),v.delete(n),w++,n===h){for(var E=[],k=o,C=h,S=b[C];E.unshift(k),null!=S&&E.unshift(S),null!=(k=y[C]);){;S=b[C=k.id()]}return{found:!0,distance:d[n],path:this.spawn(E),steps:w}}f[n]=!0;for(var D=t._private.edges,T=0;TS&&(d[C]=S,g[C]=k,v[C]=b),!i){var T=k*l+E;!i&&d[T]>S&&(d[T]=S,g[T]=E,v[T]=b)}}}for(var P=0;P1&&void 0!==arguments[1]?arguments[1]:a,r=y(e),i=[],s=r;;){if(null==s)return t.spawn();var l=v(s),u=l.edge,c=l.pred;if(i.unshift(s[0]),s.same(n)&&i.length>0)break;null!=u&&i.unshift(u),s=c}return o.spawn(i)},hasNegativeWeightCycle:p,negativeWeightCycles:f}}},{kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy(function(e){return e.isLoop()});var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/tf);if(i<2){eJ("At least 2 nodes are required for Karger-Stein algorithm");return}for(var l=[],u=0;u1||o>1)&&(l=!0),u[r]=[],e.outgoers().forEach(function(e){e.isEdge()&&u[r].push(e.id())})}else c[r]=[void 0,e.target().id()]}):this.forEach(function(e){var r=e.id();e.isNode()?(e.degree(!0)%2&&(t?n?l=!0:n=r:t=r),u[r]=[],e.connectedEdges().forEach(function(e){return u[r].push(e.id())})):c[r]=[e.source().id(),e.target().id()]});var h={found:!1,trail:void 0};if(l)return h;if(n&&t){if(s){if(r&&n!=r)return h;r=n}else{if(r&&n!=r&&t!=r)return h;!r&&(r=n)}}else!r&&(r=this[0].id());var d=function(e){for(var t,n,r,i=e,a=[e];u[i].length;)n=c[t=u[i].shift()][0],i!=(r=c[t][1])?(u[r]=u[r].filter(function(e){return e!=t}),i=r):!s&&i!=n&&(u[n]=u[n].filter(function(e){return e!=t}),i=n),a.unshift(t),a.unshift(i);return a},p=[],f=[];for(f=d(r);1!=f.length;)0==u[f[0]].length?(p.unshift(this.getElementById(f.shift())),p.unshift(this.getElementById(f.shift()))):f=d(f.shift()).concat(f);for(var g in p.unshift(this.getElementById(f.shift())),u)if(u[g].length)return h;return h.found=!0,h.trail=this.spawn(p,!0),h}},{hopcroftTarjanBiconnected:rn,htbc:rn,htb:rn,hopcroftTarjanBiconnectedComponents:rn},{tarjanStronglyConnected:rr,tsc:rr,tscc:rr,tarjanStronglyConnectedComponents:rr}].forEach(function(e){Z(ri,e)});var ra=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};ra.prototype={fulfill:function(e){return ro(this,1,"fulfillValue",e)},reject:function(e){return ro(this,2,"rejectReason",e)},then:function(e,t){var n=new ra;return this.onFulfilled.push(ru(e,n,"fulfill")),this.onRejected.push(ru(t,n,"reject")),rs(this),n.proxy}};var ro=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,rs(e)),e},rs=function(e){1===e.state?rl(e,"onFulfilled",e.fulfillValue):2===e.state&&rl(e,"onRejected",e.rejectReason)},rl=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e-1},rL.prototype.set=function(e,t){var n=this.__data__,r=rO(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var rz=r_(el,"Map"),rV=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},rF=function(e,t){var n=e.__data__;return rV(t)?n["string"==typeof t?"string":"hash"]:n.map};function rj(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t0&&this.spawn(n).updateStyle().emit("class"),this},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){!P(e)&&(e=e.match(/\S+/g)||[]);for(var n=void 0===t,r=[],i=0,a=this.length;i0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},t),n}};ii.className=ii.classNames=ii.classes;var ia={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:Y,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};ia.variable="(?:[\\w-.]|(?:\\\\"+ia.metaChar+"))+",ia.className="(?:[\\w-]|(?:\\\\"+ia.metaChar+"))+",ia.value=ia.string+"|"+ia.number,ia.id=ia.variable,!function(){var e,t,n;for(n=0,e=ia.comparatorOp.split("|");n=0)&&"="!==t)ia.comparatorOp+="|\\!"+t}}();var io=function(){return{checks:[]}},is={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},il=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(e,t){var n;return n=e.selector,-1*K(n,t.selector)}),iu=function(){for(var e,t={},n=0;n=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0&&l.edgeCount>0)return e1("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(l.edgeCount>1)return e1("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===l.edgeCount&&e1("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return D(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(r,a){var o=r.type,s=r.value;switch(o){case is.GROUP:var l=e(s);return l.substring(0,l.length-1);case is.DATA_COMPARE:return"["+r.field+n(e(r.operator))+t(s)+"]";case is.DATA_BOOL:var u=r.operator,c=r.field;return"["+e(u)+c+"]";case is.DATA_EXIST:return"["+r.field+"]";case is.META_COMPARE:var h=r.operator;return"[["+r.field+n(e(h))+t(s)+"]]";case is.STATE:return s;case is.ID:return"#"+s;case is.CLASS:return"."+s;case is.PARENT:case is.CHILD:return i(r.parent,a)+n(">")+i(r.child,a);case is.ANCESTOR:case is.DESCENDANT:return i(r.ancestor,a)+" "+i(r.descendant,a);case is.COMPOUND_SPLIT:var d=i(r.left,a),p=i(r.subject,a),f=i(r.right,a);return d+(d.length>0?" ":"")+p+f;case is.TRUE:return""}},i=function(e,t){return e.checks.reduce(function(n,i,a){return n+(t===e&&0===a?"$":"")+r(i,t)},"")},a="",o=0;o1&&o0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function iP(e,t,n){if(n.isParent()){for(var r=n._private.children,i=0;i1)||void 0===arguments[1]||arguments[1];return iT(this,e,t,iP)},iD.forEachUp=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return iT(this,e,t,i_)},iD.forEachUpAndDown=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return iT(this,e,t,iM)},iD.ancestors=iD.parents,(o$=oQ={data:it.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:it.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:it.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:it.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:it.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:it.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=o$.data,o$.removeAttr=o$.removeData;var iB={};function iA(e){return function(t){if(void 0===t&&(t=!0),0===this.length)return;if(!(!this.isNode()||this.removed())){for(var n=0,r=this[0],i=r._private.edges,a=0;at}),minIndegree:iN("indegree",function(e,t){return et}),minOutdegree:iN("outdegree",function(e,t){return et})}),Z(iB,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0;c&&(u=u[0]);var h=c?u.position():{x:0,y:0};void 0!==t?l.position(e,t+h[e]):void 0!==i&&l.position({x:i.x+h.x,y:i.y+h.y})}else{var d=n.position(),p=o?n.parent():null,f=p&&p.length>0;f&&(p=p[0]);var g=f?p.position():{x:0,y:0};return(i={x:d.x-g.x,y:d.y-g.y},void 0===e)?i:i[e]}}else if(!a)return;return this}}).modelPosition=oJ.point=oJ.position,oJ.modelPositions=oJ.points=oJ.positions,oJ.renderedPoint=oJ.renderedPosition,oJ.relativePoint=oJ.relativePosition;o1=o2={},o2.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},o2.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp(function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,!e&&t.emitAndNotify("bounds")}}),this):this},o2.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes()||!e&&t.batching())return this;for(var n=0;n0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,f=y(i.height.val-a.h,u,c),g=f.biasDiff,v=f.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"===n.units)switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}else if("px"===n.units)return n.pfValue;else return 0}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-g+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}(r),!t.batching()&&(i.compoundBoundsClean=!0))}return this};var iR=function(e){return e===1/0||e===-1/0?0:e},iL=function(e,t,n,r,i){if(r-t!=0&&i-n!=0&&null!=t&&null!=n&&null!=r&&null!=i)e.x1=te.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},iz=function(e,t){return null==t?e:iL(e,t.x1,t.y1,t.x2,t.y2)},iV=function(e,t,n){return te(e,t,n)},iF=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,tz(u,1),iL(e,u.x1,u.y1,u.x2,u.y2)}}},ij=function(e,t,n){if(!t.cy().headless()){a=n?n+"-":"";var r=t._private,i=r.rstyle;if(t.pstyle(a+"label").strValue){var a,o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=iV(i,"labelWidth",n),p=iV(i,"labelHeight",n),f=iV(i,"labelX",n),g=iV(i,"labelY",n),v=t.pstyle(a+"text-margin-x").pfValue,y=t.pstyle(a+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle(a+"text-rotation"),w=t.pstyle("text-outline-width").pfValue,E=t.pstyle("text-border-width").pfValue/2,k=t.pstyle("text-background-padding").pfValue,C=d/2,S=p/2;if(b)o=f-C,s=f+C,l=g-S,u=g+S;else{switch(c.value){case"left":o=f-d,s=f;break;case"center":o=f-C,s=f+C;break;case"right":o=f,s=f+d}switch(h.value){case"top":l=g-p,u=g;break;case"center":l=g-S,u=g+S;break;case"bottom":l=g,u=g+p}}var D=v-Math.max(w,E)-k-2,T=v+Math.max(w,E)+k+2,P=y-Math.max(w,E)-k-2,_=y+Math.max(w,E)+k+2;o+=D,s+=T,l+=P,u+=_;var M=n||"main",B=r.labelBounds,A=B[M]=B[M]||{};A.x1=o,A.y1=l,A.x2=s,A.y2=u,A.w=s-o,A.h=u-l,A.leftPad=D,A.rightPad=T,A.topPad=P,A.botPad=_;var N=b&&"autorotate"===x.strValue,I=null!=x.pfValue&&0!==x.pfValue;if(N||I){var O=N?iV(r.rstyle,"labelAngle",n):x.pfValue,R=Math.cos(O),L=Math.sin(O),z=(o+s)/2,V=(l+u)/2;if(!b){switch(c.value){case"left":z=s;break;case"right":z=o}switch(h.value){case"top":V=u;break;case"bottom":V=l}}var F=function(e,t){return{x:(e-=z)*R-(t-=V)*L+z,y:e*L+t*R+V}},j=F(o,l),q=F(o,u),X=F(s,l),Y=F(s,u);o=Math.min(j.x,q.x,X.x,Y.x),s=Math.max(j.x,q.x,X.x,Y.x),l=Math.min(j.y,q.y,X.y,Y.y),u=Math.max(j.y,q.y,X.y,Y.y)}var W=M+"Rot",H=B[W]=B[W]||{};H.x1=o,H.y1=l,H.x2=s,H.y2=u,H.w=s-o,H.h=u-l,iL(e,o,l,s,u),iL(r.labelBounds.all,o,l,s,u)}return e}},iq=function(e,t){if(!t.cy().headless()){var n=t.pstyle("outline-opacity").value,r=t.pstyle("outline-width").value;if(n>0&&r>0){var i=t.pstyle("outline-offset").value,a=t.pstyle("shape").value,o=r+i,s=(e.w+2*o)/e.w,l=(e.h+2*o)/e.h,u=0;["diamond","pentagon","round-triangle"].includes(a)?(s=(e.w+2.4*o)/e.w,u=-o/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(a)?s=(e.w+2.4*o)/e.w:"star"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.6*o)/e.h,u=-o/3.8):"triangle"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.4*o)/e.h,u=-o/1.4):"vee"===a&&(s=(e.w+4.4*o)/e.w,l=(e.h+3.8*o)/e.h,u=-(.5*o));var c=e.h*l-e.h,h=e.w*s-e.w;if(tV(e,[Math.ceil(c/2),Math.ceil(h/2)]),0!==u){var d,p,f,g=(d=e,p=0,f=u,{x1:d.x1+0,x2:d.x2+p,y1:d.y1+f,y2:d.y2+f,w:d.w,h:d.h});tR(e,g)}}}},iX=function(e,t){var n=e._private.cy,r=n.styleEnabled(),i=n.headless(),a=tI(),o=e._private,s=e.isNode(),l=e.isEdge(),u=o.rstyle,c=s&&r?e.pstyle("bounds-expansion").pfValue:[0],h=function(e){return"none"!==e.pstyle("display").value},d=!r||h(e)&&(!l||h(e.source())&&h(e.target()));if(d){var p=0,f=0;r&&t.includeOverlays&&0!==(p=e.pstyle("overlay-opacity").value)&&(f=e.pstyle("overlay-padding").value);var g=0,v=0;r&&t.includeUnderlays&&0!==(g=e.pstyle("underlay-opacity").value)&&(v=e.pstyle("underlay-padding").value);var y=Math.max(f,v),b=0,x=0;if(r&&(x=(b=e.pstyle("width").pfValue)/2),s&&t.includeNodes){var w=e.position();P=w.x,_=w.y;var E=e.outerWidth()/2,k=e.outerHeight()/2;C=P-E,S=P+E,iL(a,C,D=_-k,S,T=_+k),r&&t.includeOutlines&&iq(a,e)}else if(l&&t.includeEdges){if(r&&!i){var C,S,D,T,P,_,M,B=e.pstyle("curve-style").strValue;if(C=Math.min(u.srcX,u.midX,u.tgtX),S=Math.max(u.srcX,u.midX,u.tgtX),D=Math.min(u.srcY,u.midY,u.tgtY),T=Math.max(u.srcY,u.midY,u.tgtY),C-=x,S+=x,iL(a,C,D-=x,S,T+=x),"haystack"===B){var A=u.haystackPts;if(A&&2===A.length){if(C=A[0].x,D=A[0].y,S=A[1].x,T=A[1].y,C>S){var N=C;C=S,S=N}if(D>T){var I=D;D=T,T=I}iL(a,C-x,D-x,S+x,T+x)}}else if("bezier"===B||"unbundled-bezier"===B||B.endsWith("segments")||B.endsWith("taxi")){switch(B){case"bezier":case"unbundled-bezier":M=u.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":M=u.linePts}if(null!=M)for(var O=0;OS){var V=C;C=S,S=V}if(D>T){var F=D;D=T,T=F}C-=x,S+=x,iL(a,C,D-=x,S,T+=x)}}if(r&&t.includeEdges&&l&&(iF(a,e,"mid-source"),iF(a,e,"mid-target"),iF(a,e,"source"),iF(a,e,"target")),r&&"yes"===e.pstyle("ghost").value){var j=e.pstyle("ghost-offset-x").pfValue,q=e.pstyle("ghost-offset-y").pfValue;iL(a,a.x1+j,a.y1+q,a.x2+j,a.y2+q)}var X=o.bodyBounds=o.bodyBounds||{};tF(X,a),tV(X,c),tz(X,1),r&&(C=a.x1,S=a.x2,D=a.y1,T=a.y2,iL(a,C-y,D-y,S+y,T+y));var Y=o.overlayBounds=o.overlayBounds||{};tF(Y,a),tV(Y,c),tz(Y,1);var W=o.labelBounds=o.labelBounds||{};null!=W.all?tO(W.all):W.all=tI(),r&&t.includeLabels&&(t.includeMainLabels&&ij(a,e,null),l&&(t.includeSourceLabels&&ij(a,e,"source"),t.includeTargetLabels&&ij(a,e,"target")))}return a.x1=iR(a.x1),a.y1=iR(a.y1),a.x2=iR(a.x2),a.y2=iR(a.y2),a.w=iR(a.x2-a.x1),a.h=iR(a.y2-a.y1),a.w>0&&a.h>0&&d&&(tV(a,c),tz(a,1)),a},iY=function(e){var t,n=0,r=function(e){return(e?1:0)<0&&void 0!==arguments[0]?arguments[0]:i8,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},ae.removeAllListeners=function(){return this.removeListener("*")},ae.emit=ae.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,!P(t)&&(t=[t]),ar(this,function(e,a){null!=n&&(i=(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}]).length);for(var o=0;o1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&D(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=0;rr&&(r=o,n=a)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=0;i=0&&i1)||void 0===arguments[1]||arguments[1],n=this[0],r=n.cy();if(!!r.styleEnabled()){if(n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}}},numericStyle:function(e){var t=this[0];if(!!t.cy().styleEnabled()){if(t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}}},numericStyleUnits:function(e){var t=this[0];if(!!t.cy().styleEnabled()){if(t)return t.pstyle(e).units}},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];if(n)return t.style().getRenderedStyle(n,e)},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(_(e))r.applyBypass(this,e,!1),this.emitAndNotify("style");else if(D(e)){if(void 0===t){var i=this[0];return i?r.getStylePropertyValue(i,e):void 0}r.applyBypass(this,e,t,!1),this.emitAndNotify("style")}else if(void 0===e){var a=this[0];return a?r.getRawStyle(a):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style();if(void 0===e)for(var r=0;r0&&t.push(c[0]),t.push(s[0])}}return this.spawn(t,!0).filter(e)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),aS.neighbourhood=aS.neighborhood,aS.closedNeighbourhood=aS.closedNeighborhood,aS.openNeighbourhood=aS.openNeighborhood,Z(aS,{source:iS(function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t},"source"),target:iS(function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t},"target"),sources:a_({attr:"source"}),targets:a_({attr:"target"})}),Z(aS,{edgesWith:iS(aM(),"edgesWith"),edgesTo:iS(aM({thisIsSrc:!0}),"edgesTo")}),Z(aS,{connectedEdges:iS(function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),aS.componentsOf=aS.components;var aA=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0===e){eJ("A collection must have a reference to the core");return}var i=new tr,a=!1;if(t){if(t.length>0&&_(t[0])&&!N(t[0])){a=!0;for(var o=[],s=new ta,l=0,u=t.length;l0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=this.cy(),r=n._private,i=[],a=[],o=0,s=this.length;o0){for(var N,I,O,R=N.length===this.length?this:new aA(n,N),z=0;z0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=[],r={},i=this._private.cy;function a(e){var i=r[e.id()];if(!(t&&e.removed())&&!i){r[e.id()]=!0;e.isNode()?(n.push(e),!function(e){for(var t=e._private.edges,n=0;n0&&(e?w.emitAndNotify("remove"):t&&w.emit("remove"));for(var E=0;E1e-4&&Math.abs(l.v)>1e-4;);return o?function(e){return c[e*(c.length-1)|0]}:h}}(),aO=function(e,t,n,r){var i=function(e,t,n,r){var i=.1,a="undefined"!=typeof Float32Array;if(4!=arguments.length)return!1;for(var o=0;o<4;++o)if("number"!=typeof arguments[o]||isNaN(arguments[o])||!isFinite(arguments[o]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var s=a?new Float32Array(11):Array(11);function l(e,t){return 1-3*t+3*e}function u(e,t){return 3*t-6*e}function c(e){return 3*e}function h(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}function d(e,t,n){return 3*(1-3*n+3*t)*e*e+2*(3*n-6*t)*e+3*t}var p=!1,f=function(a){return(!p&&(p=!0,(e!==t||n!==r)&&function(){for(var t=0;t<11;++t)s[t]=h(t*i,e,n)}()),e===t&&n===r)?a:0===a?0:1===a?1:h(function(t){for(var r=0,a=1,o=10;a!==o&&s[a]<=t;++a)r+=i;var l=r+(t-s[--a])/(s[a+1]-s[a])*i,u=d(l,e,n);return u>=.001?function(t,r){for(var i=0;i<4;++i){var a=d(r,e,n);if(0===a)break;var o=h(r,e,n)-t;r-=o/a}return r}(t,l):0===u?l:function(t,r,i){var a,o,s=0;do(a=h(o=r+(i-r)/2,e,n)-t)>0?i=o:r=o;while(Math.abs(a)>1e-7&&++s<10);return o}(t,r,r+i)}(a),t,r)};f.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var g="generateBezier("+[e,t,n,r]+")";return f.toString=function(){return g},f}(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},aR={linear:function(e,t,n){return e+(t-e)*n},ease:aO(.25,.1,.25,1),"ease-in":aO(.42,0,1,1),"ease-out":aO(0,0,.58,1),"ease-in-out":aO(.42,0,.58,1),"ease-in-sine":aO(.47,0,.745,.715),"ease-out-sine":aO(.39,.575,.565,1),"ease-in-out-sine":aO(.445,.05,.55,.95),"ease-in-quad":aO(.55,.085,.68,.53),"ease-out-quad":aO(.25,.46,.45,.94),"ease-in-out-quad":aO(.455,.03,.515,.955),"ease-in-cubic":aO(.55,.055,.675,.19),"ease-out-cubic":aO(.215,.61,.355,1),"ease-in-out-cubic":aO(.645,.045,.355,1),"ease-in-quart":aO(.895,.03,.685,.22),"ease-out-quart":aO(.165,.84,.44,1),"ease-in-out-quart":aO(.77,0,.175,1),"ease-in-quint":aO(.755,.05,.855,.06),"ease-out-quint":aO(.23,1,.32,1),"ease-in-out-quint":aO(.86,0,.07,1),"ease-in-expo":aO(.95,.05,.795,.035),"ease-out-expo":aO(.19,1,.22,1),"ease-in-out-expo":aO(1,0,0,1),"ease-in-circ":aO(.6,.04,.98,.335),"ease-out-circ":aO(.075,.82,.165,1),"ease-in-out-circ":aO(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return aR.linear;var r=aI(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":aO};function aL(e,t,n,r,i){if(1===r||t===n)return n;var a=i(t,n,r);return null==e?a:((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max)),a)}function az(e,t){return null==e.pfValue&&null==e.value?e:null!=e.pfValue&&(null==t||"%"!==t.type.units)?e.pfValue:e.value}function aV(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=az(e,i),s=az(t,i);if(M(o)&&M(s))return aL(a,o,s,n,r);if(P(o)&&P(s)){for(var l=[],u=0;u=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;if(d.stopped){a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames);continue}if(!!d.playing||!!d.applying)d.playing&&d.applying&&(d.applying=!1),!d.started&&!function(e,t,n,r){var i=t._private;i.started=!0,i.startTime=n-i.progress*i.duration}(0,h,e),!function(e,t,n,r){var i,a,o,s,l=!r,u=e._private,c=t._private,h=c.easing,d=c.startTime,p=(r?e:e.cy()).style();if(!c.easingImpl){if(null==h)c.easingImpl=aR.linear;else{if(D(h)){;i=p.parse("transition-timing-function",h).value}else i=h;D(i)?(a=i,o=[]):(a=i[1],o=i.slice(2).map(function(e){return+e})),o.length>0?("spring"===a&&o.push(c.duration),c.easingImpl=aR[a].apply(null,o)):c.easingImpl=aR[a]}}var f=c.easingImpl;if(s=0===c.duration?1:(n-d)/c.duration,c.applying&&(s=c.progress),s<0?s=0:s>1&&(s=1),null==c.delay){var g=c.startPosition,v=c.position;if(v&&l&&!e.locked()){var y={};aF(g.x,v.x)&&(y.x=aV(g.x,v.x,s,f)),aF(g.y,v.y)&&(y.y=aV(g.y,v.y,s,f)),e.position(y)}var b=c.startPan,x=c.pan,w=u.pan,E=null!=x&&r;E&&(aF(b.x,x.x)&&(w.x=aV(b.x,x.x,s,f)),aF(b.y,x.y)&&(w.y=aV(b.y,x.y,s,f)),e.emit("pan"));var k=c.startZoom,C=c.zoom,S=null!=C&&r;S&&(aF(k,C)&&(u.zoom=tN(u.minZoom,aV(k,C,s,f),u.maxZoom)),e.emit("zoom")),(E||S)&&e.emit("viewport");var T=c.style;if(T&&T.length>0&&l){for(var P=0;P0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var aq={animate:it.animate(),animation:it.animation(),animated:it.animated(),clearQueue:it.clearQueue(),delay:it.delay(),delayAnimation:it.delayAnimation(),stop:it.stop(),addToAnimationPool:function(e){if(!!this.styleEnabled())this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,!!e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender(function(t,n){aj(n,e)},t.beforeRenderPriorities.animations):!function t(){if(!!e._private.animationsRunning)eO(function(n){aj(n,e),t()})}()}}},aX={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&N(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},aY=function(e){return D(e)?new iE(e):e},aW={createEmitter:function(){var e=this._private;return!e.emitter&&(e.emitter=new i7(aX,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,aY(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,aY(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,aY(t),n),this},once:function(e,t,n){return this.emitter().one(e,aY(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};it.eventAliasesOn(aW);var aH={png:function(e){var t=this._private.renderer;return e=e||{},t.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};aH.jpeg=aH.jpg;var aG={layout:function(e){if(null==e){eJ("Layout options must be specified to make a layout");return}if(null==e.name){eJ("A `name` must be specified to make a layout");return}var t,n=e.name,r=this.extension("layout",n);if(null==r){eJ("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?");return}return t=D(e.eles)?this.$(e.eles):null!=e.eles?e.eles:this.$(),new r(Z({},e,{cy:this,eles:t}))}};aG.createLayout=aG.makeLayout=aG.layout;var aU=e9({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),aK={renderTo:function(e,t,n,r){return this._private.renderer.renderTo(e,t,n,r),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(e){var t=this.extension("renderer",e.name);if(null==t){eJ("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}void 0!==e.wheelSensitivity&&e1("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 n=aU(e);n.cy=this,this._private.renderer=new t(n),this.notify("init")},destroyRenderer:function(){this.notify("destroy");var e=this.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);this._private.renderer=null,this.mutableElements().forEach(function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};aK.invalidateDimensions=aK.resize;var aZ={collection:function(e,t){if(D(e))return this.$(e);if(A(e))return e.collection();if(P(e))return!t&&(t={}),new aA(this,e,t.unique,t.removed);return new aA(this)},nodes:function(e){var t=this.$(function(e){return e.isNode()});return e?t.filter(e):t},edges:function(e){var t=this.$(function(e){return e.isEdge()});return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};aZ.elements=aZ.filter=aZ.$;var a$={};a$.apply=function(e){for(var t=this._private.cy.collection(),n=0;n0;if(h||c&&d){var p=void 0;h&&d?p=l.properties:h?p=l.properties:d&&(p=l.mappedProperties);for(var f=0;f1&&(v=1),o.color){var E=r.valueMin[0],k=r.valueMax[0],C=r.valueMin[1],S=r.valueMax[1],D=r.valueMin[2],T=r.valueMax[2],P=null==r.valueMin[3]?1:r.valueMin[3],_=[Math.round(E+(k-E)*v),Math.round(C+(S-C)*v),Math.round(D+(T-D)*v),Math.round(P+((null==r.valueMax[3]?1:r.valueMax[3])-P)*v)];g={bypass:r.bypass,name:r.name,value:_,strValue:"rgb("+_[0]+", "+_[1]+", "+_[2]+")"}}else{if(!o.number)return!1;var B=r.valueMin+(r.valueMax-r.valueMin)*v;g=this.parse(r.name,B,r.bypass,h)}if(!g)return f(),!1;g.mapping=r,r=g;break;case a.data:for(var A=r.field.split("."),N=c.data,I=0;I0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()}).then(function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1})}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},a$.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},a$.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,function(e){return e.triggersZOrder},function(){i._private.cy.notify("zorder",e)})},a$.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,function(e){return e.triggersBounds},function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),i.triggersBoundsOfParallelBeziers&&"curve-style"===t&&("bezier"===n||"bezier"===r)&&e.parallelEdges().forEach(function(e){e.dirtyBoundingBoxCache()}),i.triggersBoundsOfConnectedEdges&&"display"===t&&("none"===n||"none"===r)&&e.connectedEdges().forEach(function(e){e.dirtyBoundingBoxCache()})})},a$.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var aQ={};aQ.applyBypass=function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?i.substr(t.length):""}function o(){n=n.length>r.length?n.substr(r.length):""}for(i=i.replace(/[/][*](\s|.)+?[*][/]/g,"");!i.match(/^\s*$/);){;var s=i.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!s){e1("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+i);break}t=s[0];var l=s[1];if("core"!==l&&new iE(l).invalid){e1("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),a();continue}var u=s[2],c=!1;n=u;for(var h=[];!n.match(/^\s*$/);){;var d=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!d){e1("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+u),c=!0;break}r=d[0];var p=d[1],f=d[2];if(!this.properties[p]){e1("Skipping property: Invalid property name in: "+r),o();continue}if(!this.parse(p,f)){e1("Skipping property: Invalid property definition in: "+r),o();continue}h.push({name:p,val:f}),o()}if(c){a();break}this.selector(l);for(var g=0;g=7&&"d"===t[0]&&(g=new RegExp(o.data.regex).exec(t))){if(n)return!1;var u=o.data;return{name:e,value:g,strValue:""+t,mapped:u,field:g[1],bypass:n}}else if(t.length>=10&&"m"===t[0]&&(v=new RegExp(o.mapData.regex).exec(t))){if(n||l.multiple)return!1;var c=o.mapData;if(!(l.color||l.number))return!1;var h=this.parse(e,v[4]);if(!h||h.mapped)return!1;var d=this.parse(e,v[5]);if(!d||d.mapped)return!1;if(h.pfValue===d.pfValue||h.strValue===d.strValue)return e1("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+h.strValue+"`"),this.parse(e,h.strValue);if(l.color){var p=h.value,f=d.value;if(p[0]===f[0]&&p[1]===f[1]&&p[2]===f[2]&&(p[3]===f[3]||(null==p[3]||1===p[3])&&(null==f[3]||1===f[3])))return!1}return{name:e,value:v,strValue:""+t,mapped:c,field:v[1],fieldMin:parseFloat(v[2]),fieldMax:parseFloat(v[3]),valueMin:h.value,valueMax:d.value,bypass:n}}if(l.multiple&&"multiple"!==r){if(y=s?t.split(/\s+/):P(t)?t:[t],l.evenMultiple&&y.length%2!=0)return null;for(var g,v,y,b=[],x=[],w=[],E="",k=!1,C=0;C0?" ":"")+S.strValue}if(l.validate&&!l.validate(b,x))return null;if(l.singleEnum&&k)return 1===b.length&&D(b[0])?{name:e,value:b[0],strValue:b[0],bypass:n}:null;return{name:e,value:b,pfValue:w,strValue:E,bypass:n,units:x}}var _=function(){for(var r=0;rl.max||l.strictMax&&t===l.max))return null;var R={name:e,value:t,strValue:""+t+(A||""),units:A,bypass:n};if(l.unitless||"px"!==A&&"em"!==A?R.pfValue=t:R.pfValue="px"!==A&&A?this.getEmSizeInPixels()*t:t,("ms"===A||"s"===A)&&(R.pfValue="ms"===A?t:1e3*t),"deg"===A||"rad"===A)R.pfValue="rad"===A?t:Math.PI*t/180;return"%"===A&&(R.pfValue=t/100),R}if(l.propList){var L=[],z=""+t;if("none"===z);else{for(var V=z.split(/\s*,\s*|\s+/),j=0;j0&&l>0&&!isNaN(r.w)&&!isNaN(r.h)&&r.w>0&&r.h>0){i=(i=(i=Math.min((s-2*t)/r.w,(l-2*t)/r.h))>this._private.maxZoom?this._private.maxZoom:i)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(!r.zoomingEnabled&&(o=!0),M(e)?n=e:_(e)&&(n=e.level,null!=e.position?t=ty(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null!=t&&!r.panningEnabled&&(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;M(l.x)&&(t.pan.x=l.x,o=!1),M(l.y)&&(t.pan.y=l.y,o=!1),!o&&i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(!this._private.panningEnabled)return;if(D(e)){var n=e;e=this.mutableElements().filter(n)}else!A(e)&&(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container,i=this;return n.sizeCache=n.sizeCache||(r?(e=i.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};a6.centre=a6.center,a6.autolockNodes=a6.autolock,a6.autoungrabifyNodes=a6.autoungrabify;var a8={data:it.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:it.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:it.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:it.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};a8.attr=a8.data,a8.removeAttr=a8.removeData;var a7=function(e){var t=this,n=(e=Z({},e)).container;n&&!B(n)&&B(n[0])&&(n=n[0]);var r=n?n._cyreg:null;r=r||{},r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==b&&void 0!==n&&!e.headless,o=e;o.layout=Z({name:a?"grid":"null"},o.layout),o.renderer=Z({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:o,elements:new aA(this),listeners:[],aniEles:new aA(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:M(o.zoom)?o.zoom:1,pan:{x:_(o.pan)&&M(o.pan.x)?o.pan.x:0,y:_(o.pan)&&M(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});l.styleEnabled&&t.setStyle([]);var u=Z({},o,o.renderer);t.initRenderer(u);var c=function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(_(e)||P(e))&&t.add(e),t.one("layoutready",function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")}).one("layoutstop",function(){t.one("done",r),t.emit("done")});var a=Z({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()};!function(e,t){if(e.some(z))return rh.all(e).then(t);t(e)}([o.style,o.elements],function(e){var n=e[0],a=e[1];l.styleEnabled&&t.style().append(n),c(a,function(){t.startAnimationLoop(),l.ready=!0,T(o.ready)&&t.on("ready",o.ready);for(var e=0;e0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach(function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch(function(){for(var n=Object.keys(e),r=0;r0,s=tI(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(A(t.roots))e=t.roots;else if(P(t.roots)){for(var l=[],u=0;u0;){var _=C.shift(),M=function(e,n){for(var i=or(e),a=e.incomers().filter(function(e){return e.isNode()&&r.has(e)}),o=-1,s=e.id(),l=0;l0&&f[0].length<=3?u/2:0),h=2*Math.PI/f[r].length*i;return 0===r&&1===f[0].length&&(c=1),{x:W.x+c*Math.cos(h),y:W.y+c*Math.sin(h)}}),this};var oo={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function os(e){this.options=Z({},oo,e)}os.prototype.run=function(){var e,t=this.options,n=t.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o=tI(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),u=0,c=0;c1&&t.avoidOverlap){var d=Math.cos(l)-1,p=Math.sin(l)-0;e=Math.max(Math.sqrt((u*=1.75)*u/(d*d+p*p)),e)}return r.nodes().layoutPositions(this,t,function(n,r){var a=t.startAngle+r*l*(i?1:-1),o=e*Math.cos(a),u=e*Math.sin(a);return{x:s.x+o,y:s.y+u}}),this};var ol={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function ou(e){this.options=Z({},ol,e)}ou.prototype.run=function(){for(var e=this.options,t=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,n=e.cy,r=e.eles,i=r.nodes().not(":parent"),a=tI(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),o={x:a.x1+a.w/2,y:a.y1+a.h/2},s=[],l=0,u=0;u0&&Math.abs(v[0].value-b.value)>=f&&(v=[],g.push(v)),v.push(b)}var x=l+e.minNodeSpacing;if(!e.avoidOverlap){var w=g.length>0&&g[0].length>1,E=(Math.min(a.w,a.h)/2-x)/(g.length+w?1:0);x=Math.min(x,E)}for(var k=0,C=0;C1&&e.avoidOverlap){var P,_=Math.cos(T)-1,M=Math.sin(T)-0;k=Math.max(Math.sqrt(x*x/(_*_+M*M)),k)}S.r=k,k+=x}if(e.equidistant){for(var B=0,A=0,N=0;N=e.numIter)&&(om(r,e),r.temperature=r.temperature*e.coolingFactor,!(r.temperature=e.animationThreshold&&a(),eO(t)):(oM(r,e),s())}();else{for(;u;)u=o(l),l++;oM(r,e),s()}return this},oh.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},oh.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var od=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=tI(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0){o.graphSet.push(C);for(var u=0;ur.count?0:r.graph},of=function e(t,n,r,i){var a=i.graphSet[r];if(-10){var s=r.nodeOverlap*o,l=Math.sqrt(i*i+a*a),u=s*i/l,c=s*a/l}else{var h=ok(e,i,a),d=ok(t,-1*i,-1*a),p=d.x-h.x,f=d.y-h.y,g=p*p+f*f,l=Math.sqrt(g),s=(e.nodeRepulsion+t.nodeRepulsion)/g,u=s*p/l,c=s*f/l}!e.isLocked&&(e.offsetX-=u,e.offsetY-=c),!t.isLocked&&(t.offsetX+=u,t.offsetY+=c)}},oE=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else var i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else var a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},ok=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):(0>n&&(s<=-1*l||s>=l)&&(u.x=r-a*t/2/n,u.y=i-a/2),u)},oC=function(e,t){for(var n=0;n1){var f=t.gravity*h/p,g=t.gravity*d/p;c.offsetX+=f,c.offsetY+=g}}}}},oD=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else var i={x:e,y:t};return i},o_=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;if((null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(d+=f+t.componentSpacing,h=0,p=0,f=0)}}},oB={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function oA(e){this.options=Z({},oB,e)}oA.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,r=n.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var i=tI(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()});if(0===i.h||0===i.w)n.nodes().layoutPositions(this,e,function(e){return{x:i.x1,y:i.y1}});else{var a=r.size(),o=Math.sqrt(a*i.h/i.w),s=Math.round(o),l=Math.round(i.w/i.h*o),u=function(e){if(null==e)return Math.min(s,l);Math.min(s,l)==s?s=e:l=e},c=function(e){if(null==e)return Math.max(s,l);Math.max(s,l)==s?s=e:l=e},h=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=h&&null!=d)s=h,l=d;else if(null!=h&&null==d)l=Math.ceil(a/(s=h));else if(null==h&&null!=d)s=Math.ceil(a/(l=d));else if(l*s>a){var p=u(),f=c();(p-1)*f>=a?u(p-1):(f-1)*p>=a&&c(f-1)}else for(;l*s=a?c(v+1):u(g+1)}var y=i.w/l,b=i.h/s;if(e.condense&&(y=0,b=0),e.avoidOverlap)for(var x=0;x=l&&(B=0,M++)},N={},I=0;I=0;w--){var E=l[w];E.isNode()?y(E)||x(E):function(n){var r,i=n._private,a=i.rscratch,l=n.pstyle("width").pfValue,c=n.pstyle("arrow-scale").value,p=l/2+d,f=p*p,g=2*p,b=i.source,x=i.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var w=a.allpts,E=0;E+3(r=tZ(e,t,w[E],w[E+1],w[E+2],w[E+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType){for(var w=a.allpts,E=0;E+5(r=tK(e,t,w[E],w[E+1],w[E+2],w[E+3],w[E+4],w[E+5])))return v(n,r),!0}for(var b=b||i.source,x=x||i.target,k=o.getArrowWidth(l,c),C=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}],E=0;E0&&(y(b),y(x))}(E)||x(E)||x(E,"source")||x(E,"target")}return u},oY.getAllInBox=function(e,t,n,r){var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r);e=o,n=s;for(var c=tI({x1:e,y1:t=l,x2:n,y2:r=u}),h=0;h0?-(Math.PI-e.ang):Math.PI+e.ang},sp=function(e,t,n,r,i){if(e!==v?sh(t,e,su):sd(sc,su),sh(t,n,sc),o7=su.nx*sc.ny-su.ny*sc.nx,se=su.nx*sc.nx- -(su.ny*sc.ny),1e-6>Math.abs(sr=Math.asin(Math.max(-1,Math.min(1,o7))))){o6=t.x,o8=t.y,sa=ss=0;return}st=1,sn=!1,se<0?sr<0?sr=Math.PI+sr:(sr=Math.PI-sr,st=-1,sn=!0):sr>0&&(st=-1,sn=!0),ss=void 0!==t.radius?t.radius:r,si=sr/2,sl=Math.min(su.len/2,sc.len/2),sa=i?(so=Math.abs(Math.cos(si)*ss/Math.sin(si)))>sl?Math.abs((so=sl)*Math.sin(si)/Math.cos(si)):ss:Math.abs((so=Math.min(sl,ss))*Math.sin(si)/Math.cos(si)),f=t.x+sc.nx*so,g=t.y+sc.ny*so,o6=f-sc.ny*sa*st,o8=g+sc.nx*sa*st,d=t.x+su.nx*so,p=t.y+su.ny*so,v=t};function sf(e,t){0===t.radius?e.lineTo(t.cx,t.cy):e.arc(t.cx,t.cy,t.radius,t.startAngle,t.endAngle,t.counterClockwise)}function sg(e,t,n,r){var i=!(arguments.length>4)||void 0===arguments[4]||arguments[4];return 0===r||0===t.radius?{cx:t.x,cy:t.y,radius:0,startX:t.x,startY:t.y,stopX:t.x,stopY:t.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(sp(e,t,n,r,i),{cx:o6,cy:o8,radius:sa,startX:d,startY:p,stopX:f,stopY:g,startAngle:su.ang+Math.PI/2*st,endAngle:sc.ang-Math.PI/2*st,counterClockwise:sn})}var sv={};function sy(e){var t=[];if(null!=e){for(var n=0;n0?Math.max(e-t,0):Math.min(e+t,0)},D=S(k,g?(h+p)/2:0),T=S(C,g?(d+f)/2:0),P=!1;"auto"===y?v=Math.abs(D)>Math.abs(T)?a:i:y===u||y===l?(v=i,P=!0):(y===o||y===s)&&(v=a,P=!0);var _=v===i,M=_?T:D,B=_?C:k,A=tD(B),N=!1;!(P&&(x||w<0))&&(y===l&&B<0||y===u&&B>0||y===o&&B>0||y===s&&B<0)&&(A*=-1,M=A*Math.abs(M),N=!0);var I=function(e){return Math.abs(e)=Math.abs(M)},O=I(n=x?(w<0?1+w:w)*M:(w<0?M:0)+w*A),R=I(Math.abs(M)-Math.abs(n));if((O||R)&&!N){if(_){var L=Math.abs(k)<=p/2;if(Math.abs(B)<=d/2){var z=(c.x1+c.x2)/2,V=c.y1,F=c.y2;r.segpts=[z,V,z,F]}else if(L){var j=(c.y1+c.y2)/2,q=c.x1,X=c.x2;r.segpts=[q,j,X,j]}else r.segpts=[c.x1,c.y2]}else{var Y=Math.abs(C)<=f/2;if(Math.abs(B)<=h/2){var W=(c.y1+c.y2)/2,H=c.x1,G=c.x2;r.segpts=[H,W,G,W]}else if(Y){var U=(c.x1+c.x2)/2,K=c.y1,Z=c.y2;r.segpts=[U,K,U,Z]}else r.segpts=[c.x2,c.y1]}}else if(_){var $=c.y1+n+(g?d/2*A:0),Q=c.x1,J=c.x2;r.segpts=[Q,$,J,$]}else{var ee=c.x1+n+(g?h/2*A:0),et=c.y1,en=c.y2;r.segpts=[ee,et,ee,en]}if(r.isRound){var er=e.pstyle("taxi-radius").value,ei="arc-radius"===e.pstyle("radius-type").value[0];r.radii=Array(r.segpts.length/2).fill(er),r.isArcRadius=Array(r.segpts.length/2).fill(ei)}},sv.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=t.srcCornerRadius,d=t.tgtCornerRadius,p=t.srcRs,f=t.tgtRs,g=!M(n.startX)||!M(n.startY),v=!M(n.arrowStartX)||!M(n.arrowStartY),y=!M(n.endX)||!M(n.endY),b=!M(n.arrowEndX)||!M(n.arrowEndY),x=3*(this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth),w=tT({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),E=wd.poolIndex()){var p=h;h=d,d=p}var f=s.srcPos=h.position(),g=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),b=s.tgtW=d.outerWidth(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)],k=s.srcCornerRadius="auto"===h.pstyle("corner-radius").value?"auto":h.pstyle("corner-radius").pfValue,C=s.tgtCornerRadius="auto"===d.pstyle("corner-radius").value?"auto":d.pstyle("corner-radius").pfValue,S=s.tgtRs=d._private.rscratch,D=s.srcRs=h._private.rscratch;s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var T=0;T0){var W=tP(l,tb(t)),H=tP(l,tb(Y)),G=W;H2&&tP(l,{x:Y[2],y:Y[3]})0){var eo=tP(u,tb(t)),es=tP(u,tb(ea)),el=eo;es2&&tP(u,{x:ea[2],y:ea[3]})=l||b){c={cp:g,segment:y};break}}if(c)break}var x=c.cp,w=c.segment,E=(l-d)/w.length,k=w.t1-w.t0,C=i?w.t0+k*E:w.t1-k*E;C=tN(0,C,1),t=tB(x.p0,x.p1,x.p2,C),u=sk(x.p0,x.p1,x.p2,C);break;case"straight":case"segments":case"haystack":for(var S,D,T,P,_=0,M=r.allpts.length,B=0;B+3=l));B+=2);var A=(l-P)/T;t=tA(S,D,A=tN(0,A,1)),u=sE(S,D)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,u)}};l("source"),l("target"),this.applyLabelDimensions(e)}},sx.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},sx.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=te(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=i.width,h=i.height+(l-1)*(a-1)*u;tt(n.rstyle,"labelWidth",t,c),tt(n.rscratch,"labelWidth",t,c),tt(n.rstyle,"labelHeight",t,h),tt(n.rscratch,"labelHeight",t,h),tt(n.rscratch,"labelLineHeight",t,u*a)},sx.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(tt(n.rscratch,e,t,r),r):te(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,d="anywhere"===e.pstyle("text-overflow-wrap").value,p=[],f=/[\s\u200b]+|$/g,g=0;gc){var b,x=v.matchAll(f),w="",E=0,k=h(x);try{for(k.s();!(b=k.n()).done;){var C=b.value,S=C[0],D=v.substring(E,C.index);E=C.index+S.length;var T=0===w.length?D:w+D+S;this.calculateLabelDimensions(e,T).width<=c?w+=D+S:(w&&p.push(w),w=D+S)}}catch(e){k.e(e)}finally{k.f()}!w.match(/^[\s\u200b]+$/)&&p.push(w)}else p.push(v)}o("labelWrapCachedLines",p),i=o("labelWrapCachedText",p.join("\n")),o("labelWrapKey",l)}else if("ellipsis"===s){var P=e.pstyle("text-max-width").pfValue,_="",M=!1;if(this.calculateLabelDimensions(e,i).widthP);B++){;_+=i[B],B===i.length-1&&(M=!0)}return!M&&(_+="\u2026"),_}return i},sx.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},sx.calculateLabelDimensions=function(e,t){var n=this.cy.window().document,r=eq(t,e._private.labelDimsKey),i=this.labelDimCache||(this.labelDimCache=[]),a=i[r];if(null!=a)return a;var o=e.pstyle("font-style").strValue,s=e.pstyle("font-size").pfValue,l=e.pstyle("font-family").strValue,u=e.pstyle("font-weight").strValue,c=this.labelCalcCanvas,h=this.labelCalcCanvasContext;if(!c){c=this.labelCalcCanvas=n.createElement("canvas"),h=this.labelCalcCanvasContext=c.getContext("2d");var d=c.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none"}h.font="".concat(o," ").concat(u," ").concat(s,"px ").concat(l);for(var p=0,f=0,g=t.split("\n"),v=0;ve.width()||28>e.height()))return!sS&&(e1("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),sS=!0),"rectangle";if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"round-rectangle"===t||"cutrectangle"===t||"cut-rectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t};var sD={};sD.registerCalculationListeners=function(){var e=this.cy,t=e.collection(),n=this,r=function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(t.merge(e),n)for(var r=0;r=C.desktopTapThreshold2}var v=P(e);w&&(C.hoverData.tapholdCancelled=!0);t=!0,T(u,["mousemove","vmousemove","tapdrag"],e,{x:a[0],y:a[1]});var y=function(){C.data.bgActivePosistion=void 0,!C.hoverData.selecting&&n.emit({originalEvent:e,type:"boxstart",position:{x:a[0],y:a[1]}}),l[4]=1,C.hoverData.selecting=!0,C.redrawHint("select",!0),C.redraw()};if(3===C.hoverData.which){if(w){var b={originalEvent:e,type:"cxtdrag",position:{x:a[0],y:a[1]}};h?h.emit(b):n.emit(b),C.hoverData.cxtDragged=!0,(!C.hoverData.cxtOver||u!==C.hoverData.cxtOver)&&(C.hoverData.cxtOver&&C.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:a[0],y:a[1]}}),C.hoverData.cxtOver=u,u&&u.emit({originalEvent:e,type:"cxtdragover",position:{x:a[0],y:a[1]}}))}}else if(C.hoverData.dragging){if(t=!0,n.panningEnabled()&&n.userPanningEnabled()){if(C.hoverData.justStartedPan){var x=C.hoverData.mdownPos;E={x:(a[0]-x[0])*r,y:(a[1]-x[1])*r},C.hoverData.justStartedPan=!1}else E={x:d[0]*r,y:d[1]*r};n.panBy(E),n.emit("dragpan"),C.hoverData.dragged=!0}a=C.projectIntoViewport(e.clientX,e.clientY)}else if(1==l[4]&&(null==h||h.pannable()))w&&(!C.hoverData.dragging&&n.boxSelectionEnabled()&&(v||!n.panningEnabled()||!n.userPanningEnabled())?y():!C.hoverData.selecting&&n.panningEnabled()&&n.userPanningEnabled()&&_(h,C.hoverData.downs)&&(C.hoverData.dragging=!0,C.hoverData.justStartedPan=!0,l[4]=0,C.data.bgActivePosistion=tb(o),C.redrawHint("select",!0),C.redraw()),h&&h.pannable()&&h.active()&&h.unactivate());else{if(h&&h.pannable()&&h.active()&&h.unactivate(),(!h||!h.grabbed())&&u!=c&&(c&&T(c,["mouseout","tapdragout"],e,{x:a[0],y:a[1]}),u&&T(u,["mouseover","tapdragover"],e,{x:a[0],y:a[1]}),C.hoverData.last=u),h){if(w){if(n.boxSelectionEnabled()&&v)h&&h.grabbed()&&(F(p),h.emit("freeon"),p.emit("free"),C.dragData.didDrag&&(h.emit("dragfreeon"),p.emit("dragfree"))),y();else if(h&&h.grabbed()&&C.nodeIsDraggable(h)){var w,E,k,S=!C.dragData.didDrag;S&&C.redrawHint("eles",!0),C.dragData.didDrag=!0,!C.hoverData.draggingEles&&V(p,{inDragLayer:!0});var D={x:0,y:0};if(M(d[0])&&M(d[1])&&(D.x+=d[0],D.y+=d[1],S)){var B=C.hoverData.dragDelta;B&&M(B[0])&&M(B[1])&&(D.x+=B[0],D.y+=B[1])}C.hoverData.draggingEles=!0,p.silentShift(D).emit("position drag"),C.redrawHint("drag",!0),C.redraw()}}else{;0===(k=C.hoverData.dragDelta=C.hoverData.dragDelta||[]).length?(k.push(d[0]),k.push(d[1])):(k[0]+=d[0],k[1]+=d[1])}}t=!0}if(l[2]=a[0],l[3]=a[1],t)return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1}},!1),C.registerBinding(S,"mouseup",function(r){if((1!==C.hoverData.which||1===r.which||!C.hoverData.capture)&&!!C.hoverData.capture){C.hoverData.capture=!1;var i=C.cy,a=C.projectIntoViewport(r.clientX,r.clientY),o=C.selection,s=C.findNearestElement(a[0],a[1],!0,!1),l=C.dragData.possibleDragElements,u=C.hoverData.down,c=P(r);if(C.data.bgActivePosistion&&(C.redrawHint("select",!0),C.redraw()),C.hoverData.tapholdCancelled=!0,C.data.bgActivePosistion=void 0,u&&u.unactivate(),3===C.hoverData.which){var h={originalEvent:r,type:"cxttapend",position:{x:a[0],y:a[1]}};if(u?u.emit(h):i.emit(h),!C.hoverData.cxtDragged){var d={originalEvent:r,type:"cxttap",position:{x:a[0],y:a[1]}};u?u.emit(d):i.emit(d)}C.hoverData.cxtDragged=!1,C.hoverData.which=null}else if(1===C.hoverData.which){if(T(s,["mouseup","tapend","vmouseup"],r,{x:a[0],y:a[1]}),!C.dragData.didDrag&&!C.hoverData.dragged&&!C.hoverData.selecting&&!C.hoverData.isOverThresholdDrag&&(T(u,["click","tap","vclick"],r,{x:a[0],y:a[1]}),t=!1,r.timeStamp-n<=i.multiClickDebounceTime()?(e&&clearTimeout(e),t=!0,n=null,T(u,["dblclick","dbltap","vdblclick"],r,{x:a[0],y:a[1]})):(e=setTimeout(function(){!t&&T(u,["oneclick","onetap","voneclick"],r,{x:a[0],y:a[1]})},i.multiClickDebounceTime()),n=r.timeStamp)),null==u&&!C.dragData.didDrag&&!C.hoverData.selecting&&!C.hoverData.dragged&&!P(r)&&(i.$(D).unselect(["tapunselect"]),l.length>0&&C.redrawHint("eles",!0),C.dragData.possibleDragElements=l=i.collection()),s==u&&!C.dragData.didDrag&&!C.hoverData.selecting&&null!=s&&s._private.selectable&&(C.hoverData.dragging||("additive"===i.selectionType()||c?s.selected()?s.unselect(["tapunselect"]):s.select(["tapselect"]):!c&&(i.$(D).unmerge(s).unselect(["tapunselect"]),s.select(["tapselect"]))),C.redrawHint("eles",!0)),C.hoverData.selecting){var p=i.collection(C.getAllInBox(o[0],o[1],o[2],o[3]));C.redrawHint("select",!0),p.length>0&&C.redrawHint("eles",!0),i.emit({type:"boxend",originalEvent:r,position:{x:a[0],y:a[1]}});var f=function(e){return e.selectable()&&!e.selected()};"additive"===i.selectionType()||!c&&i.$(D).unmerge(p).unselect(),p.emit("box").stdFilter(f).select().emit("boxselect"),C.redraw()}if(C.hoverData.dragging&&(C.hoverData.dragging=!1,C.redrawHint("select",!0),C.redrawHint("eles",!0),C.redraw()),!o[4]){C.redrawHint("drag",!0),C.redrawHint("eles",!0);var g=u&&u.grabbed();F(l),g&&(u.emit("freeon"),l.emit("free"),C.dragData.didDrag&&(u.emit("dragfreeon"),l.emit("dragfree")))}}o[4]=0,C.hoverData.down=null,C.hoverData.cxtStarted=!1,C.hoverData.draggingEles=!1,C.hoverData.selecting=!1,C.hoverData.isOverThresholdDrag=!1,C.dragData.didDrag=!1,C.hoverData.dragged=!1,C.hoverData.dragDelta=[],C.hoverData.mdownPos=null,C.hoverData.mdownGPos=null,C.hoverData.which=null}},!1);var K=function(e){if(!C.scrollingPage){var t=C.cy,n=t.zoom(),r=t.pan(),i=C.projectIntoViewport(e.clientX,e.clientY),a=[i[0]*n+r.x,i[1]*n+r.y];if(C.hoverData.draggingEles||C.hoverData.dragging||C.hoverData.cxtStarted||0!==C.selection[4]){e.preventDefault();return}if(t.panningEnabled()&&t.userPanningEnabled()&&t.zoomingEnabled()&&t.userZoomingEnabled()){e.preventDefault(),C.data.wheelZooming=!0,clearTimeout(C.data.wheelTimeout),C.data.wheelTimeout=setTimeout(function(){C.data.wheelZooming=!1,C.redrawHint("eles",!0),C.redraw()},150),o=(null!=e.deltaY?-(e.deltaY/250):null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3)*C.wheelSensitivity,1===e.deltaMode&&(o*=33);var o,s=t.zoom()*Math.pow(10,o);"gesturechange"===e.type&&(s=C.gestureStartZoom*e.scale),t.zoom({level:s,renderedPosition:{x:a[0],y:a[1]}}),t.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};C.registerBinding(C.container,"wheel",K,!0),C.registerBinding(S,"scroll",function(e){C.scrollingPage=!0,clearTimeout(C.scrollingPageTimeout),C.scrollingPageTimeout=setTimeout(function(){C.scrollingPage=!1},250)},!0),C.registerBinding(C.container,"gesturestart",function(e){C.gestureStartZoom=C.cy.zoom(),!C.hasTouchStarted&&e.preventDefault()},!0),C.registerBinding(C.container,"gesturechange",function(e){!C.hasTouchStarted&&K(e)},!0),C.registerBinding(C.container,"mouseout",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseout",position:{x:t[0],y:t[1]}})},!1),C.registerBinding(C.container,"mouseover",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseover",position:{x:t[0],y:t[1]}})},!1);var Z=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},$=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(C.registerBinding(C.container,"touchstart",v=function(e){if(C.hasTouchStarted=!0,!!G(e)){q(),C.touchData.capture=!0,C.data.bgActivePosistion=void 0;var t=C.cy,n=C.touchData.now,v=C.touchData.earlier;if(e.touches[0]){var y=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);n[0]=y[0],n[1]=y[1]}if(e.touches[1]){var y=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);n[2]=y[0],n[3]=y[1]}if(e.touches[2]){var y=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);n[4]=y[0],n[5]=y[1]}if(e.touches[1]){C.touchData.singleTouchMoved=!0,F(C.dragData.touchDragEles);var b=C.findContainerClientCoords();h=b[0],d=b[1],p=b[2],f=b[3],r=e.touches[0].clientX-h,i=e.touches[0].clientY-d,a=e.touches[1].clientX-h,o=e.touches[1].clientY-d,g=0<=r&&r<=p&&0<=a&&a<=p&&0<=i&&i<=f&&0<=o&&o<=f;var x=t.pan(),w=t.zoom();s=Z(r,i,a,o),l=$(r,i,a,o),c=[((u=[(r+a)/2,(i+o)/2])[0]-x.x)/w,(u[1]-x.y)/w];if(l<4e4&&!e.touches[2]){var E=C.findNearestElement(n[0],n[1],!0,!0),k=C.findNearestElement(n[2],n[3],!0,!0);E&&E.isNode()?(E.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=E):k&&k.isNode()?(k.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=k):t.emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!0,C.touchData.cxtDragged=!1,C.data.bgActivePosistion=void 0,C.redraw();return}}if(e.touches[2])t.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var S=C.findNearestElements(n[0],n[1],!0,!0),D=S[0];if(null!=D&&(D.activate(),C.touchData.start=D,C.touchData.starts=S,C.nodeIsGrabbable(D))){var P=C.dragData.touchDragEles=t.collection(),_=null;C.redrawHint("eles",!0),C.redrawHint("drag",!0),D.selected()?V(_=t.$(function(e){return e.selected()&&C.nodeIsGrabbable(e)}),{addToList:P}):V(D,{addToList:P}),O(D);var M=function(t){return{originalEvent:e,type:t,position:{x:n[0],y:n[1]}}};D.emit(M("grabon")),_?_.forEach(function(e){e.emit(M("grab"))}):D.emit(M("grab"))}T(D,["touchstart","tapstart","vmousedown"],e,{x:n[0],y:n[1]}),null==D&&(C.data.bgActivePosistion={x:y[0],y:y[1]},C.redrawHint("select",!0),C.redraw()),C.touchData.singleTouchMoved=!1,C.touchData.singleTouchStartTime=+new Date,clearTimeout(C.touchData.tapholdTimeout),C.touchData.tapholdTimeout=setTimeout(function(){!1===C.touchData.singleTouchMoved&&!C.pinching&&!C.touchData.selecting&&T(C.touchData.start,["taphold"],e,{x:n[0],y:n[1]})},C.tapholdDuration)}if(e.touches.length>=1){for(var B=C.touchData.startPosition=[null,null,null,null,null,null],A=0;A=C.touchTapThreshold2}if(t&&C.touchData.cxt){e.preventDefault();var P=e.touches[0].clientX-h,B=e.touches[0].clientY-d,A=e.touches[1].clientX-h,N=e.touches[1].clientY-d,I=$(P,B,A,N),O=I/l;if(O>=2.25||I>=22500){C.touchData.cxt=!1,C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var R={originalEvent:e,type:"cxttapend",position:{x:p[0],y:p[1]}};C.touchData.start?(C.touchData.start.unactivate().emit(R),C.touchData.start=null):u.emit(R)}}if(t&&C.touchData.cxt){var R={originalEvent:e,type:"cxtdrag",position:{x:p[0],y:p[1]}};C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.touchData.start?C.touchData.start.emit(R):u.emit(R),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxtDragged=!0;var L=C.findNearestElement(p[0],p[1],!0,!0);(!C.touchData.cxtOver||L!==C.touchData.cxtOver)&&(C.touchData.cxtOver&&C.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:p[0],y:p[1]}}),C.touchData.cxtOver=L,L&&L.emit({originalEvent:e,type:"cxtdragover",position:{x:p[0],y:p[1]}}))}else if(t&&e.touches[2]&&u.boxSelectionEnabled())e.preventDefault(),C.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,!C.touchData.selecting&&u.emit({originalEvent:e,type:"boxstart",position:{x:p[0],y:p[1]}}),C.touchData.selecting=!0,C.touchData.didSelect=!0,n[4]=1,n&&0!==n.length&&void 0!==n[0]?(n[2]=(p[0]+p[2]+p[4])/3,n[3]=(p[1]+p[3]+p[5])/3):(n[0]=(p[0]+p[2]+p[4])/3,n[1]=(p[1]+p[3]+p[5])/3,n[2]=(p[0]+p[2]+p[4])/3+1,n[3]=(p[1]+p[3]+p[5])/3+1),C.redrawHint("select",!0),C.redraw();else if(t&&e.touches[1]&&!C.touchData.didSelect&&u.zoomingEnabled()&&u.panningEnabled()&&u.userZoomingEnabled()&&u.userPanningEnabled()){e.preventDefault(),C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var z=C.dragData.touchDragEles;if(z){C.redrawHint("drag",!0);for(var j=0;j0&&!C.hoverData.draggingEles&&!C.swipePanning&&null!=C.data.bgActivePosistion&&(C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.redraw())}},!1),C.registerBinding(S,"touchcancel",b=function(e){var t=C.touchData.start;C.touchData.capture=!1,t&&t.unactivate()}),C.registerBinding(S,"touchend",x=function(e){var t,n=C.touchData.start;if(!!C.touchData.capture){0===e.touches.length&&(C.touchData.capture=!1),e.preventDefault();var r=C.selection;C.swipePanning=!1,C.hoverData.draggingEles=!1;var i=C.cy,a=i.zoom(),o=C.touchData.now,s=C.touchData.earlier;if(e.touches[0]){var l=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);o[0]=l[0],o[1]=l[1]}if(e.touches[1]){var l=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);o[2]=l[0],o[3]=l[1]}if(e.touches[2]){var l=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);o[4]=l[0],o[5]=l[1]}if(n&&n.unactivate(),C.touchData.cxt){if(t={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}},n?n.emit(t):i.emit(t),!C.touchData.cxtDragged){var u={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};n?n.emit(u):i.emit(u)}C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!1,C.touchData.start=null,C.redraw();return}if(!e.touches[2]&&i.boxSelectionEnabled()&&C.touchData.selecting){C.touchData.selecting=!1;var c=i.collection(C.getAllInBox(r[0],r[1],r[2],r[3]));r[0]=void 0,r[1]=void 0,r[2]=void 0,r[3]=void 0,r[4]=0,C.redrawHint("select",!0),i.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}});c.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),c.nonempty()&&C.redrawHint("eles",!0),C.redraw()}if(null!=n&&n.unactivate(),e.touches[2])C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);else if(e.touches[1]);else if(e.touches[0]);else if(!e.touches[0]){C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var h=C.dragData.touchDragEles;if(null!=n){var d=n._private.grabbed;F(h),C.redrawHint("drag",!0),C.redrawHint("eles",!0),d&&(n.emit("freeon"),h.emit("free"),C.dragData.didDrag&&(n.emit("dragfreeon"),h.emit("dragfree"))),T(n,["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]}),n.unactivate(),C.touchData.start=null}else T(C.findNearestElement(o[0],o[1],!0,!0),["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]});var p=C.touchData.startPosition[0]-o[0],f=C.touchData.startPosition[1]-o[1];!C.touchData.singleTouchMoved&&(!n&&i.$(":selected").unselect(["tapunselect"]),T(n,["tap","vclick"],e,{x:o[0],y:o[1]}),w=!1,e.timeStamp-k<=i.multiClickDebounceTime()?(E&&clearTimeout(E),w=!0,k=null,T(n,["dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(E=setTimeout(function(){!w&&T(n,["onetap","voneclick"],e,{x:o[0],y:o[1]})},i.multiClickDebounceTime()),k=e.timeStamp)),null!=n&&!C.dragData.didDrag&&n._private.selectable&&(p*p+f*f)*a*a0)return g[0]}return null}(e,t,f);if(null!=g){var v=tM(f[5],f[3],f[1],g);if(f.isTop&&v<=t||f.isBottom&&t<=v)return!0}}return!1}}},sB.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:ne(4,0),draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i,this.points,a)},intersectLine:function(e,t,n,r,i,a,o,s){var l=e-(n/2+o),u=t-(r/2+o),c=e+(n/2+o),h=t9(i,a,e,t,l,u,c,u,!1);return h.length>0?h:tY(i,a,e,t,n,r,o,s)},checkPoint:function(e,t,n,r,i,a,o,s){var l=2*(s="auto"===s?nr(r,i):s);if(tQ(e,t,this.points,a,o,r,i-l,[0,-1],n)||tQ(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!(t$(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||t5(e,t,l,l,a+r/2-s,o+i/2-s,n)||t5(e,t,l,l,a-r/2+s,o+i/2-s,n))||!1}}},sB.registerNodeShapes=function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",ne(3,0)),this.generateRoundPolygon("round-triangle",ne(3,0)),this.generatePolygon("rectangle",ne(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",ne(5,0)),this.generateRoundPolygon("round-pentagon",ne(5,0)),this.generatePolygon("hexagon",ne(6,0)),this.generateRoundPolygon("round-hexagon",ne(6,0)),this.generatePolygon("heptagon",ne(7,0)),this.generateRoundPolygon("round-heptagon",ne(7,0)),this.generatePolygon("octagon",ne(8,0)),this.generateRoundPolygon("round-octagon",ne(8,0));var r=Array(20),i=nn(5,0),a=nn(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;st.className.indexOf(o)&&(t.className=(t.className||"")+" "+o),!s){var l=r.createElement("style");l.id=a,l.textContent="."+o+" { position: relative; }",i.insertBefore(l,i.children[0])}"static"===n.getComputedStyle(t).getPropertyValue("position")&&e1("A Cytoscape container has style position:static and so can not use UI extensions properly")}this.selection=[void 0,void 0,void 0,void 0,0],this.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],this.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},this.dragData={possibleDragElements:[]},this.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]},this.redraws=0,this.showFps=e.showFps,this.debug=e.debug,this.hideEdgesOnViewport=e.hideEdgesOnViewport,this.textureOnViewport=e.textureOnViewport,this.wheelSensitivity=e.wheelSensitivity,this.motionBlurEnabled=e.motionBlur,this.forcedPixelRatio=M(e.pixelRatio)?e.pixelRatio:null,this.motionBlur=e.motionBlur,this.motionBlurOpacity=e.motionBlurOpacity,this.motionBlurTransparency=1-this.motionBlurOpacity,this.motionBlurPxRatio=1,this.mbPxRBlurry=1,this.minMbLowQualFrames=4,this.fullQualityMb=!1,this.clearedForMotionBlur=[],this.desktopTapThreshold=e.desktopTapThreshold,this.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,this.touchTapThreshold=e.touchTapThreshold,this.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,this.tapholdDuration=500,this.bindings=[],this.beforeRenderCallbacks=[],this.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},this.registerNodeShapes(),this.registerArrowShapes(),this.registerCalculationListeners()},sO.notify=function(e,t){var n=this.cy;if(!this.destroyed){if("init"===e){this.load();return}if("destroy"===e){this.destroy();return}("add"===e||"remove"===e||"move"===e&&n.hasCompoundNodes()||"load"===e||"zorder"===e||"mount"===e)&&this.invalidateCachedZSortedEles(),"viewport"===e&&this.redrawHint("select",!0),("load"===e||"resize"===e||"mount"===e)&&(this.invalidateContainerClientCoordsCache(),this.matchCanvasSize(this.container)),this.redrawHint("eles",!0),this.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},sO.destroy=function(){this.destroyed=!0,this.cy.stopAnimationLoop();for(var e=0;e=e.deqFastCost*g)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(f>=e.deqNoDrawCost*sR)break;var v=e.deq(t,h,c);if(v.length>0)for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())},i(t))}}},sz=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ;i(this,e),this.idsByKey=new tr,this.keyForId=new tr,this.cachesByLvl=new tr,this.lvls=[],this.getKey=t,this.doesEleInvalidateKey=n}return o(e,[{key:"getIdsFor",value:function(e){null==e&&eJ("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return!n&&(n=new ta,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return!r&&(r=new tr,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach(function(n){return t.deleteCache(e,n)})}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),sV={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},sF=e9({getKey:null,doesEleInvalidateKey:eZ,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:eK,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),sj=function(e,t){this.renderer=e,this.onDequeues=[];var n=sF(t);Z(this,n),this.lookup=new sz(n.getKey,n.doesEleInvalidateKey),this.setupDequeueing()},sq=sj.prototype;sq.reasons=sV,sq.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},sq.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},sq.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new tu(function(e,t){return t.reqs-e.reqs})},sq.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},sq.getElement=function(e,t,n,r,i){var a,o,s,l=this,u=this.renderer,c=u.cy.zoom(),h=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed()||!l.allowEdgeTxrCaching&&e.isEdge()||!l.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(tS(c*n))),r<-4)r=-4;else if(c>=7.99||r>3)return null;var d=Math.pow(2,r),p=t.h*d,f=t.w*d,g=u.eleTextBiggerThanMin(e,d);if(!this.isVisible(e,g))return null;var v=h.get(e,r);if(v&&v.invalidated&&(v.invalidated=!1,v.texture.invalidatedWidth-=v.width),v)return v;if(a=p<=25?25:p<=50?50:50*Math.ceil(p/50),p>1024||f>1024)return null;var y=l.getTextureQueue(a),b=y[y.length-2],x=function(){return l.recycleTexture(a,f)||l.addTexture(a,f)};!b&&(b=y[y.length-1]),!b&&(b=x()),b.width-b.usedWidthr;_--)T=l.getElement(e,t,n,_,sV.downscale);P()}else{if(!E&&!k&&!C)for(var M=r-1;M>=-4;M--){var B=h.get(e,M);if(B){s=B;break}}if(w(s))return l.queueElement(e,r),s;b.context.translate(b.usedWidth,0),b.context.scale(d,d),this.drawElement(b.context,e,t,g,!1),b.context.scale(1/d,1/d),b.context.translate(-b.usedWidth,0)}return v={x:b.usedWidth,texture:b,level:r,scale:d,width:f,height:p,scaledLabelShown:g},b.usedWidth+=Math.ceil(f+8),b.eleCaches.push(v),h.set(e,r,v),l.checkTextureFullness(b),v},sq.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},sq.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?e6(t,e):e.fullnessChecks++},sq.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;e6(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,e8(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),e6(r,a),n.push(a),a}},sq.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},sq.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=[],i=this.lookup,a=0;a<1;a++)if(t.size()>0){var o=t.pop(),s=o.key,l=o.eles[0],u=i.hasCache(l,o.level);if(n[s]=null,u)continue;r.push(o);var c=this.getBoundingBox(l);this.getElement(l,c,e,o.level,sV.dequeue)}else break;return r},sq.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=eU,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},sq.onDequeue=function(e){this.onDequeues.push(e)},sq.offDequeue=function(e){e6(this.onDequeues,e)},sq.setupDequeueing=sL({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null}a.validateLayersElesOrdering(n,e);var l=a.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[],h=a.levelIsComplete(n,e);if(h)return c;!function(){var t=function(t){if(a.validateLayersElesOrdering(t,e),a.levelIsComplete(t,e))return i=l[t],!0},r=function(e){if(!i)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};r(1),r(-1);for(var o=c.length-1;o>=0;o--){var s=c[o];s.invalid&&e6(c,s)}}();var d=function(){if(!r){r=tI();for(var t=0;t=f||!tX(p.bb,y.boundingBox()))&&!(p=function(e){var t=(e=e||{}).after;d();var i=Math.ceil(r.w*u),o=Math.ceil(r.h*u);if(i>32767||o>32767)return null;if(i*o>16e6)return null;var s=a.makeLayer(r,n);if(null!=t){var l=c.indexOf(t)+1;c.splice(l,0,s)}else(void 0===e.insert||e.insert)&&c.unshift(s);return s}({insert:!0,after:p})))return null;i||g?a.queueLayer(p,y):a.drawEleInLayer(p,y,n,t),p.eles.push(y),x[n]=p}return i?i:g?null:c},sY.getEleLevelForLayerLevel=function(e,t){return e},sY.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();if(0!==o.w&&0!==o.h&&!!t.visible())n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,!0),i.setImgSmoothing(a,!0)},sY.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0||a.invalid)return!1;r+=a.eles.length}return r===t.length&&!0},sY.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(!!n)for(var r=0;r0){e=!0;break}}return e},sY.invalidateElements=function(e){var t=this;if(0===e.length)return;if(t.lastInvalidationTime=eN(),0!==e.length&&!!t.haveLayers())t.updateElementsInLayers(e,function(e,n,r){t.invalidateLayer(e)})},sY.invalidateLayer=function(e){if(this.lastInvalidationTime=eN(),!e.invalid){var t=e.level,n=e.eles;e6(this.layersByLevel[t],e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var r=0;r3)||void 0===arguments[3]||arguments[3],a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=!(arguments.length>5)||void 0===arguments[5]||arguments[5],s=this,l=t._private.rscratch;if(!(o&&!t.visible()||l.badLine||null==l.allpts||isNaN(l.allpts[0]))){n&&(r=n,e.translate(-r.x1,-r.y1));var u=o?t.pstyle("opacity").value:1,c=o?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,f=t.pstyle("line-cap").value,g=t.pstyle("line-outline-width").value,v=t.pstyle("line-outline-color").value,y=u*c,b=u*c,x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;"straight-triangle"===h?(s.eleStrokeStyle(e,t,n),s.drawEdgeTrianglePath(t,e,l.allpts)):(e.lineWidth=p,e.lineCap=f,s.eleStrokeStyle(e,t,n),s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")},w=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;s.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var E=t.pstyle("ghost-offset-x").pfValue,k=t.pstyle("ghost-offset-y").pfValue,C=y*t.pstyle("ghost-opacity").value;e.translate(E,k),x(C),w(C),e.translate(-E,-k)}else!function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;if(e.lineWidth=p+g,e.lineCap=f,g>0)s.colorStrokeStyle(e,v[0],v[1],v[2],n);else{e.lineCap="butt";return}"straight-triangle"===h?s.drawEdgeTrianglePath(t,e,l.allpts):(s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")}();!function(){if(!!a)s.drawEdgeUnderlay(e,t)}(),x(),w(),!function(){if(!!a)s.drawEdgeOverlay(e,t)}(),s.drawElementText(e,t,null,i),n&&e.translate(r.x1,r.y1)}};var s6=function(e){if(!["overlay","underlay"].includes(e))throw Error("Invalid state");return function(t,n){if(!n.visible())return;var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this.usePaths(),a=n._private.rscratch,o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-color")).value;t.lineWidth=2*o,"self"!==a.edgeType||i?t.lineCap="round":t.lineCap="butt",this.colorStrokeStyle(t,s[0],s[1],s[2],r),this.drawEdgePath(n,t,a.allpts,"solid")}}};s9.drawEdgeOverlay=s6("overlay"),s9.drawEdgeUnderlay=s6("underlay"),s9.drawEdgePath=function(e,t,n,r){var i=e._private.rscratch,a=t,o=!1,s=this.usePaths(),l=e.pstyle("line-dash-pattern").pfValue,u=e.pstyle("line-dash-offset").pfValue;if(s){var c=n.join("$");i.pathCacheKey&&i.pathCacheKey===c?(f=t=i.pathCache,o=!0):(f=t=new Path2D,i.pathCacheKey=c,i.pathCache=f)}if(a.setLineDash)switch(r){case"dotted":a.setLineDash([1,1]);break;case"dashed":a.setLineDash(l),a.lineDashOffset=u;break;case"solid":a.setLineDash([])}if(!o&&!i.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35&&void 0!==arguments[5]?arguments[5]:5,o=arguments.length>6?arguments[6]:void 0;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),o?e.stroke():e.fill()}s7.eleTextBiggerThanMin=function(e,t){return!t&&(t=Math.pow(2,Math.ceil(tS(e.cy().zoom()*this.getPixelRatio())))),!(e.pstyle("font-size").pfValue*t5)||void 0===arguments[5]||arguments[5];if(null==r){if(o&&!this.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=this.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p=!n;n&&(a=n,e.translate(-a.x1,-a.y1)),null==i?(this.drawText(e,t,null,p,o),t.isEdge()&&(this.drawText(e,t,"source",p,o),this.drawText(e,t,"target",p,o))):this.drawText(e,t,i,p,o),n&&e.translate(a.x1,a.y1)},s7.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2)||void 0===arguments[2]||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},s7.getTextAngle=function(e,t){var n,r=e._private.rscratch,i=t?t+"-":"",a=e.pstyle(i+"text-rotation"),o=te(r,"labelAngle",t);return n="autorotate"===a.strValue?e.isEdge()?o:0:"none"===a.strValue?0:a.pfValue},s7.drawText=function(e,t,n){var r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s=te(a,"labelX",n),l=te(a,"labelY",n),u=this.getLabelText(t,n);if(null!=u&&""!==u&&!isNaN(s)&&!isNaN(l)){this.setupTextStyle(e,t,i);var c,h,d,p=n?n+"-":"",f=te(a,"labelWidth",n),g=te(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle("text-halign").value,w=t.pstyle("text-valign").value;switch(b&&(x="center",w="center"),s+=v,l+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(c=s,h=l,e.translate(c,h),e.rotate(d),s=0,l=0),w){case"top":break;case"center":l+=g/2;break;case"bottom":l+=g}var E=t.pstyle("text-background-opacity").value,k=t.pstyle("text-border-opacity").value,C=t.pstyle("text-border-width").pfValue,S=t.pstyle("text-background-padding").pfValue,D=0===t.pstyle("text-background-shape").strValue.indexOf("round");if(E>0||C>0&&k>0){var T=s-S;switch(x){case"left":T-=f;break;case"center":T-=f/2}var P=l-g-S,_=f+2*S,M=g+2*S;if(E>0){var B=e.fillStyle,A=t.pstyle("text-background-color").value;e.fillStyle="rgba("+A[0]+","+A[1]+","+A[2]+","+E*o+")",D?le(e,T,P,_,M,2):e.fillRect(T,P,_,M),e.fillStyle=B}if(C>0&&k>0){var N=e.strokeStyle,I=e.lineWidth,O=t.pstyle("text-border-color").value,R=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+O[0]+","+O[1]+","+O[2]+","+k*o+")",e.lineWidth=C,e.setLineDash)switch(R){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=C/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(D?le(e,T,P,_,M,2,"stroke"):e.strokeRect(T,P,_,M),"double"===R){var L=C/2;D?le(e,T+L,P+L,_-2*L,M-2*L,2,"stroke"):e.strokeRect(T+L,P+L,_-2*L,M-2*L)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=N}}var z=2*t.pstyle("text-outline-width").pfValue;if(z>0&&(e.lineWidth=z),"wrap"===t.pstyle("text-wrap").value){var V=te(a,"labelWrapCachedLines",n),F=te(a,"labelLineHeight",n),j=f/2,q=this.getLabelJustification(t);switch("auto"===q||("left"===x?"left"===q?s+=-f:"center"===q&&(s+=-j):"center"===x?"left"===q?s+=-j:"right"===q&&(s+=j):"right"===x&&("center"===q?s+=j:"right"===q&&(s+=f))),w){case"top":l-=(V.length-1)*F;break;case"center":case"bottom":l-=(V.length-1)*F}for(var X=0;X0&&e.strokeText(V[X],s,l),e.fillText(V[X],s,l),l+=F}else z>0&&e.strokeText(u,s,l),e.fillText(u,s,l);0!==d&&(e.rotate(-d),e.translate(-c,-h))}}};var lt={};lt.drawNode=function(e,t,n){var r,i,a,o,s=!(arguments.length>3)||void 0===arguments[3]||arguments[3],l=!(arguments.length>4)||void 0===arguments[4]||arguments[4],u=!(arguments.length>5)||void 0===arguments[5]||arguments[5],c=this,h=t._private,d=h.rscratch,p=t.position();if(!!M(p.x)&&!!M(p.y)&&(!u||!!t.visible())){var f=u?t.effectiveOpacity():1,g=c.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(o=n,e.translate(-o.x1,-o.y1));for(var b=t.pstyle("background-image").value,x=Array(b.length),w=Array(b.length),E=0,k=0;k0&&void 0!==arguments[0]?arguments[0]:P;c.eleFillStyle(e,t,n)},W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L;c.colorStrokeStyle(e,_[0],_[1],_[2],t)},H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j;c.colorStrokeStyle(e,V[0],V[1],V[2],t)},G=function(e,t,n,r){var i,a=c.nodePathCache=c.nodePathCache||[],o=eX("polygon"===n?n+","+r.join(","):n,""+t,""+e,""+X),s=a[o],l=!1;return null!=s?(i=s,l=!0,d.pathCache=i):(i=new Path2D,a[o]=d.pathCache=i),{path:i,cacheHit:l}},U=t.pstyle("shape").strValue,K=t.pstyle("shape-polygon-points").pfValue;if(g){e.translate(p.x,p.y);var Z=G(r,i,U,K);a=Z.path,v=Z.cacheHit}var $=function(){if(!v){var n=p;g&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(t)].draw(a||e,n.x,n.y,r,i,X,d)}g?e.fill(a):e.fill()},Q=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=h.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;c.hasPie(t)&&(c.drawPie(e,t,a),n&&!g&&c.nodeShapes[c.getNodeShape(t)].draw(e,p.x,p.y,r,i,X,d))},ee=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,n=D>0?0:255;0!==D&&(c.colorFillStyle(e,n,n,n,(D>0?D:-D)*t),g?e.fill(a):e.fill())},et=function(){if(T>0){if(e.lineWidth=T,e.lineCap=N,e.lineJoin=A,e.setLineDash)switch(B){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash(O),e.lineDashOffset=R;break;case"solid":case"double":e.setLineDash([])}if("center"!==I){if(e.save(),e.lineWidth*=2,"inside"===I)g?e.clip(a):e.clip();else{var t=new Path2D;t.rect(-r/2-T,-i/2-T,r+2*T,i+2*T),t.addPath(a),e.clip(t,"evenodd")}g?e.stroke(a):e.stroke(),e.restore()}else g?e.stroke(a):e.stroke();if("double"===B){e.lineWidth=T/3;var n=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",g?e.stroke(a):e.stroke(),e.globalCompositeOperation=n}e.setLineDash&&e.setLineDash([])}},en=function(){if(z>0){if(e.lineWidth=z,e.lineCap="butt",e.setLineDash)switch(F){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}var n=p;g&&(n={x:0,y:0});var a=c.getNodeShape(t),o=T;"inside"===I&&(o=0),"outside"===I&&(o*=2);var s=(r+o+(z+q))/r,l=(i+o+(z+q))/i,u=r*s,h=i*l,d=c.nodeShapes[a].points;if(g&&(S=G(u,h,a,d).path),"ellipse"===a)c.drawEllipsePath(S||e,n.x,n.y,u,h);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(a)){var f=0,v=0,y=0;"round-diamond"===a?f=(o+q+z)*1.4:"round-heptagon"===a?(f=(o+q+z)*1.075,y=-(o/2+q+z)/35):"round-hexagon"===a?f=(o+q+z)*1.12:"round-pentagon"===a?(f=(o+q+z)*1.13,y=-(o/2+q+z)/15):"round-tag"===a?(f=(o+q+z)*1.12,v=(o/2+z+q)*.07):"round-triangle"===a&&(f=Math.PI/2*(o+q+z),y=-(o+q/2+z)/Math.PI),0!==f&&(s=(r+f)/r,u=r*s,!["round-hexagon","round-tag"].includes(a)&&(l=(i+f)/i,h=i*l)),X="auto"===X?ni(u,h):X;for(var b=u/2,x=h/2,w=X+(o+z+q)/2,E=Array(d.length/2),k=Array(d.length/2),C=0;C0){if(r=r||n.position(),null==i||null==a){var h=n.padding();i=n.width()+2*h,a=n.height()+2*h}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o,c),t.fill()}}}};lt.drawNodeOverlay=ln("overlay"),lt.drawNodeUnderlay=ln("underlay"),lt.hasPie=function(e){return(e=e[0])._private.hasPie},lt.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=Math.min(t.width(),t.height())/2,u=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var c=1;c<=i.pieBackgroundN;c++){var h=t.pstyle("pie-"+c+"-background-size").value,d=t.pstyle("pie-"+c+"-background-color").value,p=t.pstyle("pie-"+c+"-background-opacity").value*n,f=h/100;f+u>1&&(f=1-u);var g=1.5*Math.PI+2*Math.PI*u,v=g+2*Math.PI*f;if(0!==h&&!(u>=1)&&!(u+f>1))e.beginPath(),e.moveTo(o,s),e.arc(o,s,l,g,v),e.closePath(),this.colorFillStyle(e,d[0],d[1],d[2],p),e.fill(),u+=f}};var lr={};lr.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=this.cy.window(),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(t.devicePixelRatio||1)/n},lr.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var b=l.style(),x=l.zoom(),w=void 0!==i?i:x,E=l.pan(),k={x:E.x,y:E.y},C={zoom:x,pan:{x:E.x,y:E.y}},S=o.prevViewport;!(void 0===S||C.zoom!==S.zoom||C.pan.x!==S.pan.x||C.pan.y!==S.pan.y)&&!(g&&!f)&&(o.motionBlurPxRatio=1),a&&(k=a),w*=s,k.x*=s,k.y*=s;var D=o.getCachedZSortedEles();function T(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function P(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,l=w,c=o.canvasWidth,h=o.canvasHeight):(s={x:E.x*p,y:E.y*p},l=x*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?T(e,0,0,c,h):!t&&(void 0===r||r)&&e.clearRect(0,0,c,h),!n&&(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(!h&&(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var _=o.data.bufferContexts[o.TEXTURE_BUFFER];_.setTransform(1,0,0,1,0,0),_.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:_,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult});var C=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight};C.mpan={x:(0-C.pan.x)/C.zoom,y:(0-C.pan.y)/C.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var M=u.contexts[o.NODE],B=o.textureCache.texture,C=o.textureCache.viewport;M.setTransform(1,0,0,1,0,0),d?T(M,0,0,C.width,C.height):M.clearRect(0,0,C.width,C.height);var A=b.core("outside-texture-bg-color").value,N=b.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,A[0],A[1],A[2],N),M.fillRect(0,0,C.width,C.height);var x=l.zoom();P(M,!1),M.clearRect(C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s),M.drawImage(B,C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),R=o.hideEdgesOnViewport&&O,L=[];if(L[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,L[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),L[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,L[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||L[o.NODE]){var z=d&&!L[o.NODE]&&1!==p,M=t||(z?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]);P(M,d&&!z?"motionBlur":void 0),R?o.drawCachedNodes(M,D.nondrag,s,I):o.drawLayeredElements(M,D.nondrag,s,I),o.debug&&o.drawDebugPoints(M,D.nondrag),!n&&!d&&(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||L[o.DRAG])){var z=d&&!L[o.DRAG]&&1!==p,M=t||(z?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]);P(M,d&&!z?"motionBlur":void 0),R?o.drawCachedNodes(M,D.drag,s,I):o.drawCachedElements(M,D.drag,s,I),o.debug&&o.drawDebugPoints(M,D.drag),!n&&!d&&(c[o.DRAG]=!1)}if(o.showFps||!r&&c[o.SELECT_BOX]&&!n){var M=t||u.contexts[o.SELECT_BOX];if(P(M),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){var x=o.cy.zoom(),V=b.core("selection-box-border-width").value/x;M.lineWidth=V,M.fillStyle="rgba("+b.core("selection-box-color").value[0]+","+b.core("selection-box-color").value[1]+","+b.core("selection-box-color").value[2]+","+b.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]),V>0&&(M.strokeStyle="rgba("+b.core("selection-box-border-color").value[0]+","+b.core("selection-box-border-color").value[1]+","+b.core("selection-box-border-color").value[2]+","+b.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){var x=o.cy.zoom(),F=u.bgActivePosistion;M.fillStyle="rgba("+b.core("active-bg-color").value[0]+","+b.core("active-bg-color").value[1]+","+b.core("active-bg-color").value[2]+","+b.core("active-bg-opacity").value+")",M.beginPath(),M.arc(F.x,F.y,b.core("active-bg-size").pfValue/x,0,2*Math.PI),M.fill()}var j=o.lastRedrawTime;if(o.showFps&&j){var q=Math.round(1e3/(j=Math.round(j)));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 = "+j+" ms = "+q+" fps",0,20);M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(q/60,1),20)}!n&&(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var X=u.contexts[o.NODE],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],W=u.contexts[o.DRAG],H=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],G=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):T(e,0,0,o.canvasWidth,o.canvasHeight);e.drawImage(t,0,0,o.canvasWidth*p,o.canvasHeight*p,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||L[o.NODE])&&(G(X,Y,L[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||L[o.DRAG])&&(G(W,H,L[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=C,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(o.motionBlurTimeout=setTimeout(function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()},100)),!t&&l.emit("render")};var li={};li.drawPolygonPath=function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var f=t.pan(),g={x:f.x*l,y:f.y*l};l*=t.zoom(),d.translate(g.x,g.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-g.x,-g.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h};function lc(e){var t=e.indexOf(",");return e.substr(t+1)}function lh(e,t,n){var r=function(){return t.toDataURL(n,e.quality)};switch(e.output){case"blob-promise":return new rh(function(r,i){try{t.toBlob(function(e){null!=e?r(e):i(Error("`canvas.toBlob()` sent a null value in its callback"))},n,e.quality)}catch(e){i(e)}});case"blob":return function(e,t){for(var n=atob(e),r=new ArrayBuffer(n.length),i=new Uint8Array(r),a=0;ar.Z.lang.round(i.Z.parse(e)[t])},57169:function(e,t,s){s.d(t,{j:function(){return n},q:function(){return u}});var r=s(74146),i=s(27818),u=(0,r.eW)((e,t)=>{let s;return"sandbox"===t&&(s=(0,i.Ys)("#i"+e)),("sandbox"===t?(0,i.Ys)(s.nodes()[0].contentDocument.body):(0,i.Ys)("body")).select(`[id="${e}"]`)},"getDiagramElement"),n=(0,r.eW)((e,t,s,i)=>{e.attr("class",s);let{width:u,height:n,x:l,y:c}=a(e,t);(0,r.v2)(e,n,u,i);let h=o(l,c,u,n,t);e.attr("viewBox",h),r.cM.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),a=(0,r.eW)((e,t)=>{let s=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*t,height:s.height+2*t,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),o=(0,r.eW)((e,t,s,r,i)=>`${e-i} ${t-i} ${s} ${r}`,"createViewBox")},88373:function(e,t,s){s.d(t,{diagram:function(){return eD}});var r,i,u=s(57169),n=s(80397),a=s(290);s(29660);var o=s(37971);s(9833),s(30594),s(82612),s(41200);var l=s(68394),c=s(74146),h=s(27818),d=s(73265),p=s(13328),A=0,g=(0,c.nV)(),f=new Map,y=[],b=new Map,k=[],E=new Map,m=new Map,D=0,x=!0,C=[],T=(0,c.eW)(e=>c.SY.sanitizeText(e,g),"sanitizeText"),F=(0,c.eW)(function(e){for(let t of f.values())if(t.id===e)return t.domId;return e},"lookUpDomId"),S=(0,c.eW)(function(e,t,s,r,i,u,a={},l){let h;if(!e||0===e.trim().length)return;let d=f.get(e);if(void 0===d&&(d={id:e,labelType:"text",domId:"flowchart-"+e+"-"+A,styles:[],classes:[]},f.set(e,d)),A++,void 0!==t?(g=(0,c.nV)(),h=T(t.text.trim()),d.labelType=t.type,h.startsWith('"')&&h.endsWith('"')&&(h=h.substring(1,h.length-1)),d.text=h):void 0===d.text&&(d.text=e),void 0!==s&&(d.type=s),null!=r&&r.forEach(function(e){d.styles.push(e)}),null!=i&&i.forEach(function(e){d.classes.push(e)}),void 0!==u&&(d.dir=u),void 0===d.props?d.props=a:void 0!==a&&Object.assign(d.props,a),void 0!==l){let t;t=l.includes("\n")?l+"\n":"{\n"+l+"\n}";let s=(0,n.z)(t,{schema:n.A});if(s.shape){if(s.shape!==s.shape.toLowerCase()||s.shape.includes("_"))throw Error(`No such shape: ${s.shape}. Shape names should be lowercase.`);if(!(0,o.dW)(s.shape))throw Error(`No such shape: ${s.shape}.`);d.type=s?.shape}s?.label&&(d.text=s?.label),s?.icon&&(d.icon=s?.icon,!s.label?.trim()&&d.text===e&&(d.text="")),s?.form&&(d.form=s?.form),s?.pos&&(d.pos=s?.pos),s?.img&&(d.img=s?.img,!s.label?.trim()&&d.text===e&&(d.text="")),s?.constraint&&(d.constraint=s.constraint),s.w&&(d.assetWidth=Number(s.w)),s.h&&(d.assetHeight=Number(s.h))}},"addVertex"),_=(0,c.eW)(function(e,t,s){let r={start:e,end:t,type:void 0,text:"",labelType:"text"};c.cM.info("abc78 Got edge...",r);let i=s.text;if(void 0!==i&&(r.text=T(i.text.trim()),r.text.startsWith('"')&&r.text.endsWith('"')&&(r.text=r.text.substring(1,r.text.length-1)),r.labelType=i.type),void 0!==s&&(r.type=s.type,r.stroke=s.stroke,r.length=s.length>10?10:s.length),y.length<(g.maxEdges??500))c.cM.info("Pushing edge..."),y.push(r);else throw Error(`Edge limit exceeded. ${y.length} edges found, but the limit is ${g.maxEdges}. + +Initialize mermaid with maxEdges set to a higher number to allow more edges. +You cannot set this config via configuration inside the diagram as it is a secure config. +You have to call mermaid.initialize.`)},"addSingleLink"),B=(0,c.eW)(function(e,t,s){for(let r of(c.cM.info("addLink",e,t,s),e))for(let e of t)_(r,e,s)},"addLink"),v=(0,c.eW)(function(e,t){e.forEach(function(e){"default"===e?y.defaultInterpolate=t:y[e].interpolate=t})},"updateLinkInterpolate"),w=(0,c.eW)(function(e,t){e.forEach(function(e){if("number"==typeof e&&e>=y.length)throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${y.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);"default"===e?y.defaultStyle=t:(y[e].style=t,(y[e]?.style?.length??0)>0&&!y[e]?.style?.some(e=>e?.startsWith("fill"))&&y[e]?.style?.push("fill:none"))})},"updateLink"),$=(0,c.eW)(function(e,t){e.split(",").forEach(function(e){let s=b.get(e);void 0===s&&(s={id:e,styles:[],textStyles:[]},b.set(e,s)),null!=t&&t.forEach(function(e){if(/color/.exec(e)){let t=e.replace("fill","bgFill");s.textStyles.push(t)}s.styles.push(e)})})},"addClass"),L=(0,c.eW)(function(e){r=e,/.*/.exec(r)&&(r="LR"),/.*v/.exec(r)&&(r="TB"),"TD"===r&&(r="TB")},"setDirection"),W=(0,c.eW)(function(e,t){for(let s of e.split(",")){let e=f.get(s);e&&e.classes.push(t);let r=E.get(s);r&&r.classes.push(t)}},"setClass"),I=(0,c.eW)(function(e,t){if(void 0!==t)for(let s of(t=T(t),e.split(",")))m.set("gen-1"===i?F(s):s,t)},"setTooltip"),R=(0,c.eW)(function(e,t,s){let r=F(e);if("loose"!==(0,c.nV)().securityLevel||void 0===t)return;let i=[];if("string"==typeof s){i=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e")),e.classed("hover",!0)}).on("mouseout",function(){t.transition().duration(500).style("opacity",0),(0,h.Ys)(this).classed("hover",!1)})},"setupToolTips");C.push(K);var j=(0,c.eW)(function(e="gen-1"){f=new Map,b=new Map,y=[],C=[K],k=[],E=new Map,D=0,m=new Map,x=!0,i=e,g=(0,c.nV)(),(0,c.ZH)()},"clear"),z=(0,c.eW)(e=>{i=e||"gen-2"},"setGen"),H=(0,c.eW)(function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},"defaultStyle"),q=(0,c.eW)(function(e,t,s){let r=e.text.trim(),u=s.text;function n(e){let t;let s={boolean:{},number:{},string:{}},r=[];return{nodeList:e.filter(function(e){let i=typeof e;return e.stmt&&"dir"===e.stmt?(t=e.value,!1):""!==e.trim()&&(i in s?!s[i].hasOwnProperty(e)&&(s[i][e]=!0):!r.includes(e)&&r.push(e))}),dir:t}}e===s&&/\s/.exec(s.text)&&(r=void 0),(0,c.eW)(n,"uniq");let{nodeList:a,dir:o}=n(t.flat());if("gen-1"===i)for(let e=0;e2e3)return{result:!1,count:0};if(Q[Z]=t,k[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r=0){let s=J(e,t);if(s.result)return{result:!0,count:i+s.count};i+=s.count}r+=1}return{result:!1,count:i}},"indexNodes2"),ee=(0,c.eW)(function(e){return Q[e]},"getDepthFirstPos"),et=(0,c.eW)(function(){Z=-1,k.length>0&&J("none",k.length-1)},"indexNodes"),es=(0,c.eW)(function(){return k},"getSubGraphs"),er=(0,c.eW)(()=>!!x&&(x=!1,!0),"firstGraph"),ei=(0,c.eW)(e=>{let t=e.trim(),s="arrow_open";switch(t[0]){case"<":s="arrow_point",t=t.slice(1);break;case"x":s="arrow_cross",t=t.slice(1);break;case"o":s="arrow_circle",t=t.slice(1)}let r="normal";return t.includes("=")&&(r="thick"),t.includes(".")&&(r="dotted"),{type:s,stroke:r}},"destructStartLink"),eu=(0,c.eW)((e,t)=>{let s=t.length,r=0;for(let i=0;i{let t=e.trim(),s=t.slice(0,-1),r="arrow_open";switch(t.slice(-1)){case"x":r="arrow_cross",t.startsWith("x")&&(r="double_"+r,s=s.slice(1));break;case">":r="arrow_point",t.startsWith("<")&&(r="double_"+r,s=s.slice(1));break;case"o":r="arrow_circle",t.startsWith("o")&&(r="double_"+r,s=s.slice(1))}let i="normal",u=s.length-1;s.startsWith("=")&&(i="thick"),s.startsWith("~")&&(i="invisible");let n=eu(".",s);return n&&(i="dotted",u=n),{type:r,stroke:i,length:u}},"destructEndLink"),ea=(0,c.eW)((e,t)=>{let s;let r=en(e);if(t){if((s=ei(t)).stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===s.type)s.type=r.type;else{if(s.type!==r.type)return{type:"INVALID",stroke:"INVALID"};s.type="double_"+s.type}return"double_arrow"===s.type&&(s.type="double_arrow_point"),s.length=r.length,s}return r},"destructLink"),eo=(0,c.eW)((e,t)=>{for(let s of e)if(s.nodes.includes(t))return!0;return!1},"exists"),el=(0,c.eW)((e,t)=>{let s=[];return e.nodes.forEach((r,i)=>{!eo(t,r)&&s.push(e.nodes[i])}),{nodes:s}},"makeUniq"),ec=(0,c.eW)(e=>{if(e.img)return"imageSquare";if(e.icon)return"circle"===e.form?"iconCircle":"square"===e.form?"iconSquare":"rounded"===e.form?"iconRounded":"icon";switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}},"getTypeFromVertex"),eh=(0,c.eW)((e,t)=>e.find(e=>e.id===t),"findNode"),ed=(0,c.eW)(e=>{let t="none",s="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":s=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":s=t=e.replace("double_","")}return{arrowTypeStart:t,arrowTypeEnd:s}},"destructEdgeType"),ep=(0,c.eW)((e,t,s,r,i,u)=>{let n=s.get(e.id),a=r.get(e.id)??!1,o=eh(t,e.id);if(o)o.cssStyles=e.styles,o.cssCompiledStyles=eA(e.classes),o.cssClasses=e.classes.join(" ");else{let s={id:e.id,label:e.text,labelStyle:"",parentId:n,padding:i.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:eA(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:u,link:e.link,linkTarget:e.linkTarget,tooltip:P(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};a?t.push({...s,isGroup:!0,shape:"rect"}):t.push({...s,isGroup:!1,shape:ec(e)})}},"addNodeFromVertex");function eA(e){let t=[];for(let s of e){let e=b.get(s);e?.styles&&(t=[...t,...e.styles??[]].map(e=>e.trim())),e?.textStyles&&(t=[...t,...e.textStyles??[]].map(e=>e.trim()))}return t}(0,c.eW)(eA,"getCompiledStyles");var eg=(0,c.eW)(()=>{let e=(0,c.nV)(),t=[],s=[],r=es(),i=new Map,u=new Map;for(let e=r.length-1;e>=0;e--){let t=r[e];for(let e of(t.nodes.length>0&&u.set(t.id,!0),t.nodes))i.set(e,t.id)}for(let s=r.length-1;s>=0;s--){let u=r[s];t.push({id:u.id,label:u.title,labelStyle:"",parentId:i.get(u.id),padding:8,cssCompiledStyles:eA(u.classes),cssClasses:u.classes.join(" "),shape:"rect",dir:u.dir,isGroup:!0,look:e.look})}U().forEach(s=>{ep(s,t,i,u,e,e.look||"classic")});let n=G();return n.forEach((t,r)=>{let{arrowTypeStart:i,arrowTypeEnd:u}=ed(t.type),a=[...n.defaultStyle??[]];t.style&&a.push(...t.style);let o={id:(0,l.Ln)(t.start,t.end,{counter:r,prefix:"L"}),start:t.start,end:t.end,type:t.type??"normal",label:t.text,labelpos:"c",thickness:t.stroke,minlen:t.length,classes:t?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:t?.stroke==="invisible"?"none":i,arrowTypeEnd:t?.stroke==="invisible"?"none":u,arrowheadStyle:"fill: #333",labelStyle:a,style:a,pattern:t.stroke,look:e.look};s.push(o)}),{nodes:t,edges:s,other:{},config:e}},"getData"),ef={defaultConfig:(0,c.eW)(()=>c.Fy.flowchart,"defaultConfig"),setAccTitle:c.GN,getAccTitle:c.eu,getAccDescription:c.Mx,getData:eg,setAccDescription:c.U$,addVertex:S,lookUpDomId:F,addLink:B,updateLinkInterpolate:v,updateLink:w,addClass:$,setDirection:L,setClass:W,setTooltip:I,getTooltip:P,setClickEvent:M,setLink:N,bindFunctions:O,getDirection:V,getVertices:U,getEdges:G,getClasses:Y,clear:j,setGen:z,defaultStyle:H,addSubGraph:q,getDepthFirstPos:ee,indexNodes:et,getSubGraphs:es,destructLink:ea,lex:{firstGraph:er},exists:eo,makeUniq:el,setDiagramTitle:c.g2,getDiagramTitle:c.Kr},ey=(0,c.eW)(function(e,t){return t.db.getClasses()},"getClasses"),eb=(0,c.eW)(async function(e,t,s,r){let i;c.cM.info("REF0:"),c.cM.info("Drawing state diagram (v2)",t);let{securityLevel:n,flowchart:o,layout:d}=(0,c.nV)();"sandbox"===n&&(i=(0,h.Ys)("#i"+t));let p="sandbox"===n?i.nodes()[0].contentDocument:document;c.cM.debug("Before getData: ");let A=r.db.getData();c.cM.debug("Data: ",A);let g=(0,u.q)(t,n),f=V();A.type=r.type,A.layoutAlgorithm=(0,a._b)(d),"dagre"===A.layoutAlgorithm&&"elk"===d&&c.cM.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),A.direction=f,A.nodeSpacing=o?.nodeSpacing||50,A.rankSpacing=o?.rankSpacing||50,A.markers=["point","circle","cross"],A.diagramId=t,c.cM.debug("REF1:",A),await (0,a.sY)(A,g);let y=A.config.flowchart?.diagramPadding??8;for(let e of(l.w8.insertTitle(g,"flowchartTitleText",o?.titleTopMargin||0,r.db.getDiagramTitle()),(0,u.j)(g,y,"flowchart",o?.useMaxWidth||!1),A.nodes)){let s=(0,h.Ys)(`#${t} [id="${e.id}"]`);if(!s||!e.link)continue;let r=p.createElementNS("http://www.w3.org/2000/svg","a");r.setAttributeNS("http://www.w3.org/2000/svg","class",e.cssClasses),r.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===n?r.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):e.linkTarget&&r.setAttributeNS("http://www.w3.org/2000/svg","target",e.linkTarget);let i=s.insert(function(){return r},":first-child"),u=s.select(".label-container");u&&i.append(function(){return u.node()});let a=s.select(".label");a&&i.append(function(){return a.node()})}},"draw"),ek=function(){var e=(0,c.eW)(function(e,t,s,r){for(s=s||{},r=e.length;r--;s[e[r]]=t);return s},"o"),t=[1,4],s=[1,3],r=[1,5],i=[1,8,9,10,11,27,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],u=[2,2],n=[1,13],a=[1,14],o=[1,15],l=[1,16],h=[1,23],d=[1,25],p=[1,26],A=[1,27],g=[1,49],f=[1,48],y=[1,29],b=[1,30],k=[1,31],E=[1,32],m=[1,33],D=[1,44],x=[1,46],C=[1,42],T=[1,47],F=[1,43],S=[1,50],_=[1,45],B=[1,51],v=[1,52],w=[1,34],$=[1,35],L=[1,36],W=[1,37],I=[1,57],R=[1,8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],N=[1,61],P=[1,60],M=[1,62],O=[8,9,11,75,77],V=[1,77],U=[1,90],G=[1,95],Y=[1,94],K=[1,91],j=[1,87],z=[1,93],H=[1,89],q=[1,96],X=[1,92],Z=[1,97],Q=[1,88],J=[8,9,10,11,40,75,77],ee=[8,9,10,11,40,46,75,77],et=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,88,101,104,105,108,110,113,114,115],es=[8,9,11,44,60,75,77,88,101,104,105,108,110,113,114,115],er=[44,60,88,101,104,105,108,110,113,114,115],ei=[1,123],eu=[1,122],en=[1,130],ea=[1,144],eo=[1,145],el=[1,146],ec=[1,147],eh=[1,132],ed=[1,134],ep=[1,138],eA=[1,139],eg=[1,140],ef=[1,141],ey=[1,142],eb=[1,143],ek=[1,148],eE=[1,149],em=[1,128],eD=[1,129],ex=[1,136],eC=[1,131],eT=[1,135],eF=[1,133],eS=[8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],e_=[1,151],eB=[1,153],ev=[8,9,11],ew=[8,9,10,11,14,44,60,88,104,105,108,110,113,114,115],e$=[1,173],eL=[1,169],eW=[1,170],eI=[1,174],eR=[1,171],eN=[1,172],eP=[77,115,118],eM=[8,9,10,11,12,14,27,29,32,44,60,75,83,84,85,86,87,88,89,104,108,110,113,114,115],eO=[10,105],eV=[31,49,51,53,55,57,62,64,66,67,69,71,115,116,117],eU=[1,242],eG=[1,240],eY=[1,244],eK=[1,238],ej=[1,239],ez=[1,241],eH=[1,243],eq=[1,245],eX=[1,263],eZ=[8,9,11,105],eQ=[8,9,10,11,60,83,104,105,108,109,110,111],eJ={trace:(0,c.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,edgeTextToken:78,STR:79,MD_STR:80,textToken:81,keywords:82,STYLE:83,LINKSTYLE:84,CLASSDEF:85,CLASS:86,CLICK:87,DOWN:88,UP:89,textNoTagsToken:90,stylesOpt:91,"idString[vertex]":92,"idString[class]":93,CALLBACKNAME:94,CALLBACKARGS:95,HREF:96,LINK_TARGET:97,"STR[link]":98,"STR[tooltip]":99,alphaNum:100,DEFAULT:101,numList:102,INTERPOLATE:103,NUM:104,COMMA:105,style:106,styleComponent:107,NODE_STRING:108,UNIT:109,BRKT:110,PCT:111,idStringToken:112,MINUS:113,MULT:114,UNICODE_TEXT:115,TEXT:116,TAGSTART:117,EDGE_TEXT:118,alphaNumToken:119,direction_tb:120,direction_bt:121,direction_rl:122,direction_lr:123,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",79:"STR",80:"MD_STR",83:"STYLE",84:"LINKSTYLE",85:"CLASSDEF",86:"CLASS",87:"CLICK",88:"DOWN",89:"UP",92:"idString[vertex]",93:"idString[class]",94:"CALLBACKNAME",95:"CALLBACKARGS",96:"HREF",97:"LINK_TARGET",98:"STR[link]",99:"STR[tooltip]",101:"DEFAULT",103:"INTERPOLATE",104:"NUM",105:"COMMA",108:"NODE_STRING",109:"UNIT",110:"BRKT",111:"PCT",113:"MINUS",114:"MULT",115:"UNICODE_TEXT",116:"TEXT",117:"TAGSTART",118:"EDGE_TEXT",120:"direction_tb",121:"direction_bt",122:"direction_rl",123:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[76,1],[76,2],[76,1],[76,1],[72,1],[73,3],[30,1],[30,2],[30,1],[30,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[102,1],[102,3],[91,1],[91,3],[106,1],[106,2],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[81,1],[81,1],[81,1],[81,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[78,1],[78,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[47,1],[47,2],[100,1],[100,2],[33,1],[33,1],[33,1],[33,1]],performAction:(0,c.eW)(function(e,t,s,r,i,u,n){var a=u.length-1;switch(i){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(u[a])||u[a].length>0)&&u[a-1].push(u[a]),this.$=u[a-1];break;case 4:case 181:case 44:case 54:case 76:case 179:this.$=u[a];break;case 11:r.setDirection("TB"),this.$="TB";break;case 12:r.setDirection(u[a-1]),this.$=u[a-1];break;case 27:this.$=u[a-1].nodes;break;case 33:this.$=r.addSubGraph(u[a-6],u[a-1],u[a-4]);break;case 34:this.$=r.addSubGraph(u[a-3],u[a-1],u[a-3]);break;case 35:this.$=r.addSubGraph(void 0,u[a-1],void 0);break;case 37:this.$=u[a].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=u[a].trim(),r.setAccDescription(this.$);break;case 43:case 131:this.$=u[a-1]+u[a];break;case 45:r.addVertex(u[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a]),r.addLink(u[a-3].stmt,u[a-1],u[a-2]),this.$={stmt:u[a-1],nodes:u[a-1].concat(u[a-3].nodes)};break;case 46:r.addLink(u[a-2].stmt,u[a],u[a-1]),this.$={stmt:u[a],nodes:u[a].concat(u[a-2].nodes)};break;case 47:r.addLink(u[a-3].stmt,u[a-1],u[a-2]),this.$={stmt:u[a-1],nodes:u[a-1].concat(u[a-3].nodes)};break;case 48:this.$={stmt:u[a-1],nodes:u[a-1]};break;case 49:r.addVertex(u[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a]),this.$={stmt:u[a-1],nodes:u[a-1],shapeData:u[a]};break;case 50:this.$={stmt:u[a],nodes:u[a]};break;case 51:case 126:case 128:this.$=[u[a]];break;case 52:r.addVertex(u[a-5][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a-4]),this.$=u[a-5].concat(u[a]);break;case 53:this.$=u[a-4].concat(u[a]);break;case 55:this.$=u[a-2],r.setClass(u[a-2],u[a]);break;case 56:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"square");break;case 57:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"doublecircle");break;case 58:this.$=u[a-5],r.addVertex(u[a-5],u[a-2],"circle");break;case 59:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"ellipse");break;case 60:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"stadium");break;case 61:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"subroutine");break;case 62:this.$=u[a-7],r.addVertex(u[a-7],u[a-1],"rect",void 0,void 0,void 0,Object.fromEntries([[u[a-5],u[a-3]]]));break;case 63:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"cylinder");break;case 64:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"round");break;case 65:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"diamond");break;case 66:this.$=u[a-5],r.addVertex(u[a-5],u[a-2],"hexagon");break;case 67:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"odd");break;case 68:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"trapezoid");break;case 69:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"inv_trapezoid");break;case 70:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"lean_right");break;case 71:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"lean_left");break;case 72:this.$=u[a],r.addVertex(u[a]);break;case 73:u[a-1].text=u[a],this.$=u[a-1];break;case 74:case 75:u[a-2].text=u[a-1],this.$=u[a-2];break;case 77:var o=r.destructLink(u[a],u[a-2]);this.$={type:o.type,stroke:o.stroke,length:o.length,text:u[a-1]};break;case 78:case 84:case 99:case 101:this.$={text:u[a],type:"text"};break;case 79:case 85:case 100:this.$={text:u[a-1].text+""+u[a],type:u[a-1].type};break;case 80:case 86:this.$={text:u[a],type:"string"};break;case 81:case 87:case 102:this.$={text:u[a],type:"markdown"};break;case 82:var o=r.destructLink(u[a]);this.$={type:o.type,stroke:o.stroke,length:o.length};break;case 83:this.$=u[a-1];break;case 103:this.$=u[a-4],r.addClass(u[a-2],u[a]);break;case 104:this.$=u[a-4],r.setClass(u[a-2],u[a]);break;case 105:case 113:this.$=u[a-1],r.setClickEvent(u[a-1],u[a]);break;case 106:case 114:this.$=u[a-3],r.setClickEvent(u[a-3],u[a-2]),r.setTooltip(u[a-3],u[a]);break;case 107:this.$=u[a-2],r.setClickEvent(u[a-2],u[a-1],u[a]);break;case 108:this.$=u[a-4],r.setClickEvent(u[a-4],u[a-3],u[a-2]),r.setTooltip(u[a-4],u[a]);break;case 109:this.$=u[a-2],r.setLink(u[a-2],u[a]);break;case 110:this.$=u[a-4],r.setLink(u[a-4],u[a-2]),r.setTooltip(u[a-4],u[a]);break;case 111:this.$=u[a-4],r.setLink(u[a-4],u[a-2],u[a]);break;case 112:this.$=u[a-6],r.setLink(u[a-6],u[a-4],u[a]),r.setTooltip(u[a-6],u[a-2]);break;case 115:this.$=u[a-1],r.setLink(u[a-1],u[a]);break;case 116:this.$=u[a-3],r.setLink(u[a-3],u[a-2]),r.setTooltip(u[a-3],u[a]);break;case 117:this.$=u[a-3],r.setLink(u[a-3],u[a-2],u[a]);break;case 118:this.$=u[a-5],r.setLink(u[a-5],u[a-4],u[a]),r.setTooltip(u[a-5],u[a-2]);break;case 119:this.$=u[a-4],r.addVertex(u[a-2],void 0,void 0,u[a]);break;case 120:this.$=u[a-4],r.updateLink([u[a-2]],u[a]);break;case 121:this.$=u[a-4],r.updateLink(u[a-2],u[a]);break;case 122:this.$=u[a-8],r.updateLinkInterpolate([u[a-6]],u[a-2]),r.updateLink([u[a-6]],u[a]);break;case 123:this.$=u[a-8],r.updateLinkInterpolate(u[a-6],u[a-2]),r.updateLink(u[a-6],u[a]);break;case 124:this.$=u[a-6],r.updateLinkInterpolate([u[a-4]],u[a]);break;case 125:this.$=u[a-6],r.updateLinkInterpolate(u[a-4],u[a]);break;case 127:case 129:u[a-2].push(u[a]),this.$=u[a-2];break;case 180:case 182:this.$=u[a-1]+""+u[a];break;case 183:this.$={stmt:"dir",value:"TB"};break;case 184:this.$={stmt:"dir",value:"BT"};break;case 185:this.$={stmt:"dir",value:"RL"};break;case 186:this.$={stmt:"dir",value:"LR"}}},"anonymous"),table:[{3:1,4:2,9:t,10:s,12:r},{1:[3]},e(i,u,{5:6}),{4:7,9:t,10:s,12:r},{4:8,9:t,10:s,12:r},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{8:[1,54],9:[1,55],10:I,15:53,18:56},e(R,[2,3]),e(R,[2,4]),e(R,[2,5]),e(R,[2,6]),e(R,[2,7]),e(R,[2,8]),{8:N,9:P,11:M,21:58,41:59,72:63,75:[1,64],77:[1,65]},{8:N,9:P,11:M,21:66},{8:N,9:P,11:M,21:67},{8:N,9:P,11:M,21:68},{8:N,9:P,11:M,21:69},{8:N,9:P,11:M,21:70},{8:N,9:P,10:[1,71],11:M,21:72},e(R,[2,36]),{35:[1,73]},{37:[1,74]},e(R,[2,39]),e(O,[2,50],{18:75,39:76,10:I,40:V}),{10:[1,78]},{10:[1,79]},{10:[1,80]},{10:[1,81]},{14:U,44:G,60:Y,79:[1,85],88:K,94:[1,82],96:[1,83],100:84,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},e(R,[2,183]),e(R,[2,184]),e(R,[2,185]),e(R,[2,186]),e(J,[2,51]),e(J,[2,54],{46:[1,98]}),e(ee,[2,72],{112:111,29:[1,99],44:g,48:[1,100],50:[1,101],52:[1,102],54:[1,103],56:[1,104],58:[1,105],60:f,63:[1,106],65:[1,107],67:[1,108],68:[1,109],70:[1,110],88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),e(et,[2,179]),e(et,[2,140]),e(et,[2,141]),e(et,[2,142]),e(et,[2,143]),e(et,[2,144]),e(et,[2,145]),e(et,[2,146]),e(et,[2,147]),e(et,[2,148]),e(et,[2,149]),e(et,[2,150]),e(i,[2,12]),e(i,[2,18]),e(i,[2,19]),{9:[1,112]},e(es,[2,26],{18:113,10:I}),e(R,[2,27]),{42:114,43:38,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(R,[2,40]),e(R,[2,41]),e(R,[2,42]),e(er,[2,76],{73:115,62:[1,117],74:[1,116]}),{76:118,78:119,79:[1,120],80:[1,121],115:ei,118:eu},e([44,60,62,74,88,101,104,105,108,110,113,114,115],[2,82]),e(R,[2,28]),e(R,[2,29]),e(R,[2,30]),e(R,[2,31]),e(R,[2,32]),{10:en,12:ea,14:eo,27:el,28:124,32:ec,44:eh,60:ed,75:ep,79:[1,126],80:[1,127],82:137,83:eA,84:eg,85:ef,86:ey,87:eb,88:ek,89:eE,90:125,104:em,108:eD,110:ex,113:eC,114:eT,115:eF},e(eS,u,{5:150}),e(R,[2,37]),e(R,[2,38]),e(O,[2,48],{44:e_}),e(O,[2,49],{18:152,10:I,40:eB}),e(J,[2,44]),{44:g,47:154,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{101:[1,155],102:156,104:[1,157]},{44:g,47:158,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{44:g,47:159,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,105],{10:[1,160],95:[1,161]}),{79:[1,162]},e(ev,[2,113],{119:164,10:[1,163],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,115],{10:[1,165]}),e(ew,[2,181]),e(ew,[2,168]),e(ew,[2,169]),e(ew,[2,170]),e(ew,[2,171]),e(ew,[2,172]),e(ew,[2,173]),e(ew,[2,174]),e(ew,[2,175]),e(ew,[2,176]),e(ew,[2,177]),e(ew,[2,178]),{44:g,47:166,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{30:167,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:175,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:177,50:[1,176],67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:178,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:179,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:180,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{108:[1,181]},{30:182,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:183,65:[1,184],67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:185,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:186,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:187,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},e(et,[2,180]),e(i,[2,20]),e(es,[2,25]),e(O,[2,46],{39:188,18:189,10:I,40:V}),e(er,[2,73],{10:[1,190]}),{10:[1,191]},{30:192,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{77:[1,193],78:194,115:ei,118:eu},e(eP,[2,78]),e(eP,[2,80]),e(eP,[2,81]),e(eP,[2,166]),e(eP,[2,167]),{8:N,9:P,10:en,11:M,12:ea,14:eo,21:196,27:el,29:[1,195],32:ec,44:eh,60:ed,75:ep,82:137,83:eA,84:eg,85:ef,86:ey,87:eb,88:ek,89:eE,90:197,104:em,108:eD,110:ex,113:eC,114:eT,115:eF},e(eM,[2,99]),e(eM,[2,101]),e(eM,[2,102]),e(eM,[2,155]),e(eM,[2,156]),e(eM,[2,157]),e(eM,[2,158]),e(eM,[2,159]),e(eM,[2,160]),e(eM,[2,161]),e(eM,[2,162]),e(eM,[2,163]),e(eM,[2,164]),e(eM,[2,165]),e(eM,[2,88]),e(eM,[2,89]),e(eM,[2,90]),e(eM,[2,91]),e(eM,[2,92]),e(eM,[2,93]),e(eM,[2,94]),e(eM,[2,95]),e(eM,[2,96]),e(eM,[2,97]),e(eM,[2,98]),{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,198],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},{10:I,18:199},{44:[1,200]},e(J,[2,43]),{10:[1,201],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{10:[1,202]},{10:[1,203],105:[1,204]},e(eO,[2,126]),{10:[1,205],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{10:[1,206],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{79:[1,207]},e(ev,[2,107],{10:[1,208]}),e(ev,[2,109],{10:[1,209]}),{79:[1,210]},e(ew,[2,182]),{79:[1,211],97:[1,212]},e(J,[2,55],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),{31:[1,213],67:e$,81:214,115:eI,116:eR,117:eN},e(eV,[2,84]),e(eV,[2,86]),e(eV,[2,87]),e(eV,[2,151]),e(eV,[2,152]),e(eV,[2,153]),e(eV,[2,154]),{49:[1,215],67:e$,81:214,115:eI,116:eR,117:eN},{30:216,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{51:[1,217],67:e$,81:214,115:eI,116:eR,117:eN},{53:[1,218],67:e$,81:214,115:eI,116:eR,117:eN},{55:[1,219],67:e$,81:214,115:eI,116:eR,117:eN},{57:[1,220],67:e$,81:214,115:eI,116:eR,117:eN},{60:[1,221]},{64:[1,222],67:e$,81:214,115:eI,116:eR,117:eN},{66:[1,223],67:e$,81:214,115:eI,116:eR,117:eN},{30:224,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{31:[1,225],67:e$,81:214,115:eI,116:eR,117:eN},{67:e$,69:[1,226],71:[1,227],81:214,115:eI,116:eR,117:eN},{67:e$,69:[1,229],71:[1,228],81:214,115:eI,116:eR,117:eN},e(O,[2,45],{18:152,10:I,40:eB}),e(O,[2,47],{44:e_}),e(er,[2,75]),e(er,[2,74]),{62:[1,230],67:e$,81:214,115:eI,116:eR,117:eN},e(er,[2,77]),e(eP,[2,79]),{30:231,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},e(eS,u,{5:232}),e(eM,[2,100]),e(R,[2,35]),{43:233,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{10:I,18:234},{10:eU,60:eG,83:eY,91:235,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:246,103:[1,247],104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:248,103:[1,249],104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{104:[1,250]},{10:eU,60:eG,83:eY,91:251,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{44:g,47:252,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,106]),{79:[1,253]},{79:[1,254],97:[1,255]},e(ev,[2,114]),e(ev,[2,116],{10:[1,256]}),e(ev,[2,117]),e(ee,[2,56]),e(eV,[2,85]),e(ee,[2,57]),{51:[1,257],67:e$,81:214,115:eI,116:eR,117:eN},e(ee,[2,64]),e(ee,[2,59]),e(ee,[2,60]),e(ee,[2,61]),{108:[1,258]},e(ee,[2,63]),e(ee,[2,65]),{66:[1,259],67:e$,81:214,115:eI,116:eR,117:eN},e(ee,[2,67]),e(ee,[2,68]),e(ee,[2,70]),e(ee,[2,69]),e(ee,[2,71]),e([10,44,60,88,101,104,105,108,110,113,114,115],[2,83]),{31:[1,260],67:e$,81:214,115:eI,116:eR,117:eN},{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,261],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},e(J,[2,53]),{43:262,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,119],{105:eX}),e(eZ,[2,128],{107:264,10:eU,60:eG,83:eY,104:eK,108:ej,109:ez,110:eH,111:eq}),e(eQ,[2,130]),e(eQ,[2,132]),e(eQ,[2,133]),e(eQ,[2,134]),e(eQ,[2,135]),e(eQ,[2,136]),e(eQ,[2,137]),e(eQ,[2,138]),e(eQ,[2,139]),e(ev,[2,120],{105:eX}),{10:[1,265]},e(ev,[2,121],{105:eX}),{10:[1,266]},e(eO,[2,127]),e(ev,[2,103],{105:eX}),e(ev,[2,104],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),e(ev,[2,108]),e(ev,[2,110],{10:[1,267]}),e(ev,[2,111]),{97:[1,268]},{51:[1,269]},{62:[1,270]},{66:[1,271]},{8:N,9:P,11:M,21:272},e(R,[2,34]),e(J,[2,52]),{10:eU,60:eG,83:eY,104:eK,106:273,107:237,108:ej,109:ez,110:eH,111:eq},e(eQ,[2,131]),{14:U,44:G,60:Y,88:K,100:274,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},{14:U,44:G,60:Y,88:K,100:275,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},{97:[1,276]},e(ev,[2,118]),e(ee,[2,58]),{30:277,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},e(ee,[2,66]),e(eS,u,{5:278}),e(eZ,[2,129],{107:264,10:eU,60:eG,83:eY,104:eK,108:ej,109:ez,110:eH,111:eq}),e(ev,[2,124],{119:164,10:[1,279],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,125],{119:164,10:[1,280],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,112]),{31:[1,281],67:e$,81:214,115:eI,116:eR,117:eN},{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,282],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},{10:eU,60:eG,83:eY,91:283,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:284,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},e(ee,[2,62]),e(R,[2,33]),e(ev,[2,122],{105:eX}),e(ev,[2,123],{105:eX})],defaultActions:{},parseError:(0,c.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var s=Error(e);throw s.hash=t,s}},"parseError"),parse:(0,c.eW)(function(e){var t=this,s=[0],r=[],i=[null],u=[],n=this.table,a="",o=0,l=0,h=0,d=u.slice.call(arguments,1),p=Object.create(this.lexer),A={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(A.yy[g]=this.yy[g]);p.setInput(e,A.yy),A.yy.lexer=p,A.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;u.push(f);var y=p.options&&p.options.ranges;"function"==typeof A.yy.parseError?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(){var e;return"number"!=typeof(e=r.pop()||p.lex()||1)&&(e instanceof Array&&(e=(r=e).pop()),e=t.symbols_[e]||e),e}(0,c.eW)(function(e){s.length=s.length-2*e,i.length=i.length-e,u.length=u.length-e},"popStack"),(0,c.eW)(b,"lex");for(var k,E,m,D,x,C,T,F,S,_={};;){if(m=s[s.length-1],this.defaultActions[m]?D=this.defaultActions[m]:(null==k&&(k=b()),D=n[m]&&n[m][k]),void 0===D||!D.length||!D[0]){var B="";for(C in S=[],n[m])this.terminals_[C]&&C>2&&S.push("'"+this.terminals_[C]+"'");B=p.showPosition?"Parse error on line "+(o+1)+":\n"+p.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(B,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:f,expected:S})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+m+", token: "+k);switch(D[0]){case 1:s.push(k),i.push(p.yytext),u.push(p.yylloc),s.push(D[1]),k=null,E?(k=E,E=null):(l=p.yyleng,a=p.yytext,o=p.yylineno,f=p.yylloc,h>0&&h--);break;case 2:if(T=this.productions_[D[1]][1],_.$=i[i.length-T],_._$={first_line:u[u.length-(T||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(T||1)].first_column,last_column:u[u.length-1].last_column},y&&(_._$.range=[u[u.length-(T||1)].range[0],u[u.length-1].range[1]]),void 0!==(x=this.performAction.apply(_,[a,l,o,A.yy,D[1],i,u].concat(d))))return x;T&&(s=s.slice(0,-1*T*2),i=i.slice(0,-1*T),u=u.slice(0,-1*T)),s.push(this.productions_[D[1]][0]),i.push(_.$),u.push(_._$),F=n[s[s.length-2]][s[s.length-1]],s.push(F);break;case 3:return!0}}return!0},"parse")},e1={EOF:1,parseError:(0,c.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,c.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,c.eW)(function(e){var t=e.length,s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===r.length?this.yylloc.first_column:0)+r[r.length-s.length].length-s[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.eW)(function(){return this._more=!0,this},"more"),reject:(0,c.eW)(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})},"reject"),less:(0,c.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,c.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,c.eW)(function(e,t){var s,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var u in i)this[u]=i[u];return!1},"test_match"),next:(0,c.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,s,r,i=this._currentRules(),u=0;ut[0].length)){if(t=s,r=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(s,i[u])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,i[r]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,c.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,c.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,c.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,c.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,c.eW)(function(e,t,s,r){switch(s){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 12:case 14:case 17:case 20:case 23:case 33:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),t.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,"
    "),40;case 11:return 40;case 13:this.begin("callbackname");break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 94;case 18:return 95;case 19:return"MD_STR";case 21:this.begin("md_string");break;case 22:return"STR";case 24:this.pushState("string");break;case 25:return 83;case 26:return 101;case 27:return 84;case 28:return 103;case 29:return 85;case 30:return 86;case 31:return 96;case 32:this.begin("click");break;case 34:return 87;case 35:case 36:case 37:return e.lex.firstGraph()&&this.begin("dir"),12;case 38:return 27;case 39:return 32;case 40:case 41:case 42:case 43:return 97;case 44:return this.popState(),13;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),14;case 55:return 120;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 104;case 60:case 101:return 110;case 61:return 46;case 62:return 60;case 63:case 102:return 44;case 64:return 8;case 65:return 105;case 66:case 100:return 114;case 67:case 70:case 73:return this.popState(),77;case 68:return this.pushState("edgeText"),75;case 69:case 72:case 75:return 118;case 71:return this.pushState("thickEdgeText"),75;case 74:return this.pushState("dottedEdgeText"),75;case 76:return 77;case 77:return this.popState(),53;case 78:case 114:return"TEXT";case 79:return this.pushState("ellipseText"),52;case 80:return this.popState(),55;case 81:return this.pushState("text"),54;case 82:return this.popState(),57;case 83:return this.pushState("text"),56;case 84:return 58;case 85:return this.pushState("text"),67;case 86:return this.popState(),64;case 87:return this.pushState("text"),63;case 88:return this.popState(),49;case 89:return this.pushState("text"),48;case 90:return this.popState(),69;case 91:return this.popState(),71;case 92:return 116;case 93:return this.pushState("trapText"),68;case 94:return this.pushState("trapText"),70;case 95:return 117;case 96:return 67;case 97:return 89;case 98:return"SEP";case 99:return 88;case 103:return 108;case 104:return 113;case 105:return 115;case 106:return this.popState(),62;case 107:return this.pushState("text"),62;case 108:return this.popState(),51;case 109:return this.pushState("text"),50;case 110:return this.popState(),31;case 111:return this.pushState("text"),29;case 112:return this.popState(),66;case 113:return this.pushState("text"),65;case 115:return"QUOTE";case 116:return 9;case 117:return 10;case 118:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},href:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},click:{rules:[21,24,33,34,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dottedEdgeText:{rules:[21,24,73,75,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},thickEdgeText:{rules:[21,24,70,72,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},edgeText:{rules:[21,24,67,69,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},trapText:{rules:[21,24,76,79,81,83,87,89,90,91,92,93,94,107,109,111,113],inclusive:!1},ellipseText:{rules:[21,24,76,77,78,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},text:{rules:[21,24,76,79,80,81,82,83,86,87,88,89,93,94,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr:{rules:[3,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_title:{rules:[1,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},md_string:{rules:[19,20,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},string:{rules:[21,22,23,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,70,71,73,74,76,79,81,83,84,85,87,89,93,94,95,96,97,98,99,100,101,102,103,104,105,107,109,111,113,115,116,117,118],inclusive:!0}}};function e0(){this.yy={}}return eJ.lexer=e1,(0,c.eW)(e0,"Parser"),e0.prototype=eJ,eJ.Parser=e0,new e0}();ek.parser=ek;var eE=(0,c.eW)((e,t)=>{let s=d.Z,r=s(e,"r"),i=s(e,"g"),u=s(e,"b");return p.Z(r,i,u,t)},"fade"),em=(0,c.eW)(e=>`.label { + font-family: ${e.fontFamily}; + color: ${e.nodeTextColor||e.textColor}; + } + .cluster-label text { + fill: ${e.titleColor}; + } + .cluster-label span { + color: ${e.titleColor}; + } + .cluster-label span p { + background-color: transparent; + } + + .label text,span { + fill: ${e.nodeTextColor||e.textColor}; + color: ${e.nodeTextColor||e.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label { + text-anchor: middle; + } + // .flowchart-label .text-outer-tspan { + // text-anchor: middle; + // } + // .flowchart-label .text-inner-tspan { + // text-anchor: start; + // } + + .node .katex path { + fill: #000; + stroke: #000; + stroke-width: 1px; + } + + .rough-node .label,.node .label, .image-shape .label, .icon-shape .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + + .root .anchor path { + fill: ${e.lineColor} !important; + stroke-width: 0; + stroke: ${e.lineColor}; + } + + .arrowheadPath { + fill: ${e.arrowheadColor}; + } + + .edgePath .path { + stroke: ${e.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${e.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${e.edgeLabelBackground}; + p { + background-color: ${e.edgeLabelBackground}; + } + rect { + opacity: 0.5; + background-color: ${e.edgeLabelBackground}; + fill: ${e.edgeLabelBackground}; + } + text-align: center; + } + + /* For html labels only */ + .labelBkg { + background-color: ${eE(e.edgeLabelBackground,.5)}; + // background-color: + } + + .cluster rect { + fill: ${e.clusterBkg}; + stroke: ${e.clusterBorder}; + stroke-width: 1px; + } + + .cluster text { + fill: ${e.titleColor}; + } + + .cluster span { + color: ${e.titleColor}; + } + /* .cluster div { + color: ${e.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${e.fontFamily}; + font-size: 12px; + background: ${e.tertiaryColor}; + border: 1px solid ${e.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; + } + + rect.text { + fill: none; + stroke-width: 0; + } + + .icon-shape, .image-shape { + background-color: ${e.edgeLabelBackground}; + p { + background-color: ${e.edgeLabelBackground}; + padding: 2px; + } + rect { + opacity: 0.5; + background-color: ${e.edgeLabelBackground}; + fill: ${e.edgeLabelBackground}; + } + text-align: center; + } +`,"getStyles"),eD={parser:ek,db:ef,renderer:{getClasses:ey,draw:eb},styles:em,init:(0,c.eW)(e=>{!e.flowchart&&(e.flowchart={}),e.layout&&(0,c.Y4)({layout:e.layout}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,c.Y4)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),ef.clear(),ef.setGen("gen-2")},"init")}}}]); \ No newline at end of file diff --git a/assets/js/6cca1acc.dae80147.js b/assets/js/6cca1acc.dae80147.js new file mode 100644 index 0000000..a5caa1a --- /dev/null +++ b/assets/js/6cca1acc.dae80147.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1460"],{19991:function(e,n,r){r.r(n),r.d(n,{metadata:()=>t,contentTitle:()=>d,default:()=>l,assets:()=>c,toc:()=>o,frontMatter:()=>a});var t=JSON.parse('{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","source":"@site/docs/spec/primitive_types.md","sourceDirName":"spec","slug":"/spec/primitive_types","permalink":"/nr-pies/docs/spec/primitive_types","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/primitive_types.md","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1731114929000,"sidebarPosition":4,"frontMatter":{"id":"primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","sidebar_position":4,"tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Project Bundle","permalink":"/nr-pies/docs/spec/data/project_bundle"},"next":{"title":"Resource Types","permalink":"/nr-pies/docs/category/resource-types"}}'),s=r("85893"),i=r("50065");let a={id:"primitive_types",title:"Primitive Types",description:"Fundamental basic data types supported by JSON Schema",sidebar_position:4,tags:["developer"]},d=void 0,c={},o=[{value:"String",id:"string",level:2},{value:"Date and Time",id:"date-and-time",level:3},{value:"Email",id:"email",level:3},{value:"Hostname",id:"hostname",level:3},{value:"IP Address",id:"ip-address",level:3},{value:"Resource Identifier",id:"resource-identifier",level:3},{value:"URI Template",id:"uri-template",level:3},{value:"Regular Expression",id:"regular-expression",level:3},{value:"Numeric",id:"numeric",level:2},{value:"Object",id:"object",level:2},{value:"Array",id:"array",level:2},{value:"Boolean",id:"boolean",level:2},{value:"Null",id:"null",level:2},{value:"References",id:"references",level:2},{value:"Government Standards",id:"government-standards",level:3},{value:"Technical Standards",id:"technical-standards",level:3},{value:"Errata",id:"errata",level:3}];function h(e){let n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.p,{children:["The JSON Schema specifies fundamental\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"data types"}),"\nthat can be used and defined within a schema."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string",children:"string"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric#number",children:"number"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric#integer",children:"integer"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/object",children:"object"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/array",children:"array"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/boolean",children:"boolean"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/null",children:"null"})}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["These types are consistent with what can be expected within the standardized JavaScript Object Notation (JSON) format\n(",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"}),"). Most implementation languages support these constructs, but\nmay represent them with different names. We recommend referring to the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"JSON schema data types"})," documentation as a primary\nsource for standards representation guidance, followed by the ",(0,s.jsx)(n.a,{href:"#government-standards",children:"government standards guidance"})," and\nensuring that the content represent meets both."]}),"\n",(0,s.jsx)(n.h2,{id:"string",children:"String"}),"\n",(0,s.jsxs)(n.p,{children:["Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as\nspecified in ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3629",children:"RFC 3629"}),", which is an extension of the ",(0,s.jsx)(n.a,{href:"https://www.iso.org/standard/76835.html",children:"ISO 10646-1"}),"\nstandard."]}),"\n",(0,s.jsxs)(n.p,{children:["Strings may be optionally constrained by properties such as ",(0,s.jsx)(n.code,{children:"minLength"}),", ",(0,s.jsx)(n.code,{children:"maxLength"})," and by Regular Expression\n",(0,s.jsx)(n.code,{children:"pattern"}),". In addition, there are common\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#built-in-formats",children:"built-in"})," ",(0,s.jsx)(n.code,{children:"format"})," types that a\nstring may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation\nfor more detail on the available built-in format types."]}),"\n",(0,s.jsx)(n.h3,{id:"date-and-time",children:"Date and Time"}),"\n",(0,s.jsxs)(n.p,{children:["Date and/or time formats shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6",children:"RFC 3339, section 5.6"})," format, also commonly known as\n",(0,s.jsx)(n.a,{href:"https://www.iso.org/iso-8601-date-and-time-format.html",children:"ISO 8601"}),". Unless otherwise specified, ",(0,s.jsx)(n.code,{children:"date-time"})," shall be\ninternally stored and represented in a format compatible with ",(0,s.jsx)(n.a,{href:"https://en.wikipedia.org/wiki/Unix_time",children:"unix/epoch"}),"\ntime."]}),"\n",(0,s.jsxs)(n.p,{children:["If the time is specified, such as when either the ",(0,s.jsx)(n.code,{children:"time"})," or ",(0,s.jsx)(n.code,{children:"date-time"})," formats are used, the time representations\nshall be encoded in UTC time. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#dates-and-times",children:"JSON Schema documentation"})," for more\nspecific examples."]}),"\n",(0,s.jsx)(n.admonition,{type:"warning",children:(0,s.jsxs)(n.p,{children:["Note that the ",(0,s.jsx)(n.code,{children:"duration"})," format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard."]})}),"\n",(0,s.jsx)(n.h3,{id:"email",children:"Email"}),"\n",(0,s.jsxs)(n.p,{children:["Email addresses with format ",(0,s.jsx)(n.code,{children:"email"})," shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.2",children:"RFC 5321, section 4.1.2"})," format. Emails may also be\nconveyed in internationalized format ",(0,s.jsx)(n.code,{children:"idn-email"})," which will be compliant to\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6531",children:"RFC 6531"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#email-addresses",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"hostname",children:"Hostname"}),"\n",(0,s.jsxs)(n.p,{children:["Hostnames with format ",(0,s.jsx)(n.code,{children:"hostname"})," shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc1123#section-2",children:"RFC 1123, section 2.1"})," format. Hostnames may also be conveyed\nin internationalized format ",(0,s.jsx)(n.code,{children:"idn-hostname"})," which will be compliant to\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5890#section-2.3.2.3",children:"RFC 5890, section 2.3.2.3"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#hostnames",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"ip-address",children:"IP Address"}),"\n",(0,s.jsxs)(n.p,{children:["IP Addresses may either be formatted in ",(0,s.jsx)(n.code,{children:"ipv4"})," or ",(0,s.jsx)(n.code,{children:"ipv6"})," formats. If IPv4 is used, it shall comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2673#section-3.2",children:"RFC 2673, section 3.2"}),". If IPv6 is used, it shall comply\nwith ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2373#section-2.2",children:"RFC 2373, section 2.2"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#ip-addresses",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"resource-identifier",children:"Resource Identifier"}),"\n",(0,s.jsxs)(n.p,{children:["Universal resource identifiers will use format ",(0,s.jsx)(n.code,{children:"uri"})," and comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3986",children:"RFC 3986"}),". There are other less commonly used formats described in the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#resource-identifiers",children:"JSON Schema documentation"}),"."]}),"\n",(0,s.jsxs)(n.admonition,{type:"warning",children:[(0,s.jsxs)(n.p,{children:["Note that the ",(0,s.jsx)(n.code,{children:"uuid"})," format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard.\nInstead, uuid strings shall be constrained with the equivalent uuid versioned regular expression ",(0,s.jsx)(n.code,{children:"pattern"}),". For most\ncases, uuid v4 will be used. When a uuid is used, it shall comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc4122",children:"RFC 4122"}),". The regular expression to be used when specifying uuids will\nbe ",(0,s.jsx)(n.code,{children:"/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i"})," in order to remain version agnostic and maximize\ncompatibility."]}),(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsxs)(n.p,{children:["While there is ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc9562",children:"RFC 9562"})," which extends RFC 4122 by adding in uuid\nversions 6-8, these are likely not supportable with the ",(0,s.jsx)(n.code,{children:"uuid"})," format yet and will require further review if and when\nthese newer uuid versions are used."]})})]}),"\n",(0,s.jsx)(n.h3,{id:"uri-template",children:"URI Template"}),"\n",(0,s.jsxs)(n.p,{children:["URI Templates with format ",(0,s.jsx)(n.code,{children:"uri-template"})," provide a way to specify a Unique Resource Identifier that contains parameters\nthat must be substituted in before the URI may be resolved. This should comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6570",children:"RFC 6570"}),". Check the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#uri-template",children:"JSON Schema documentation"})," for\nmore details."]}),"\n",(0,s.jsx)(n.h3,{id:"regular-expression",children:"Regular Expression"}),"\n",(0,s.jsxs)(n.p,{children:["Regular expressions with format ",(0,s.jsx)(n.code,{children:"regex"})," should comply with the\n",(0,s.jsx)(n.a,{href:"https://ecma-international.org/publications-and-standards/standards/ecma-262/",children:"ECMA 262"})," dialect. Check the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#regular-expressions",children:"JSON Schema documentation"})," for\nmore details."]}),"\n",(0,s.jsx)(n.h2,{id:"numeric",children:"Numeric"}),"\n",(0,s.jsxs)(n.p,{children:["Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to\ndifferentiate between integers and floating-point values. It is not possible to reliably infer if the value is an\ninteger or floating-point value solely based on the presence of a decimal point. As such, we recommend using a ",(0,s.jsx)(n.code,{children:"number"}),"\ntype in lieu of the ",(0,s.jsx)(n.code,{children:"integer"})," type for most scenarios that do not require integer level precision."]}),"\n",(0,s.jsxs)(n.p,{children:["Numbers and integers may be optionally constrained by properties such as ",(0,s.jsx)(n.code,{children:"multipleOf"}),", ",(0,s.jsx)(n.code,{children:"minimum"}),", ",(0,s.jsx)(n.code,{children:"maximum"}),",\n",(0,s.jsx)(n.code,{children:"exclusiveMinimum"})," and ",(0,s.jsx)(n.code,{children:"exclusiveMaximum"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric",children:"JSON Schema documentation"})," for more specific\nexamples."]}),"\n",(0,s.jsx)(n.h2,{id:"object",children:"Object"}),"\n",(0,s.jsxs)(n.p,{children:["Objects are used for unordered key-value mappings. In JSON, the key shall always be a ",(0,s.jsx)(n.a,{href:"#string",children:"string"}),', and a\nkey-value pair is conventionally called a "property". As objects can have various requirements, nestings, and\nstructuring, there is extensive documentation outlining how objects can constrain the key namings, define the required\nand/or expected properties, as well as define relationships and inclusion of other schemas into its own definition.']}),"\n",(0,s.jsxs)(n.p,{children:["More specific details on what can be done can be found in the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/object",children:"JSON Schema documentation"}),"."]}),"\n",(0,s.jsx)(n.h2,{id:"array",children:"Array"}),"\n",(0,s.jsxs)(n.p,{children:["Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such,\narray definitions may either constrain the type of elements with the ",(0,s.jsx)(n.code,{children:"items"})," keyword, or use the ",(0,s.jsx)(n.code,{children:"contains"})," keyword to\nprovide a looser expectation of what kinds of elements are expected."]}),"\n",(0,s.jsxs)(n.p,{children:["Other array constraints such as ",(0,s.jsx)(n.code,{children:"uniqueness"}),", ",(0,s.jsx)(n.code,{children:"minContains"}),", ",(0,s.jsx)(n.code,{children:"maxContains"}),", ",(0,s.jsx)(n.code,{children:"minItems"})," and ",(0,s.jsx)(n.code,{children:"maxItems"})," may also be used\nto describe the boundaries of the array. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/array",children:"JSON Schema documentation"})," for more specific examples."]}),"\n",(0,s.jsx)(n.h2,{id:"boolean",children:"Boolean"}),"\n",(0,s.jsxs)(n.p,{children:["Booleans are used to represent only two possible values: ",(0,s.jsx)(n.code,{children:"true"})," or ",(0,s.jsx)(n.code,{children:"false"}),". While certain languages may evaluate other\nvalues to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first\nprior to encoding. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/boolean",children:"JSON Schema documentation"})," for more details."]}),"\n",(0,s.jsx)(n.h2,{id:"null",children:"Null"}),"\n",(0,s.jsxs)(n.p,{children:["Null is used to represent no value, and can only have a single acceptable value ",(0,s.jsx)(n.code,{children:"null"}),". Note that null does not equate\nto the absence of a value, or undefined. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/null",children:"JSON Schema documentation"})," for more details."]}),"\n",(0,s.jsx)(n.h2,{id:"references",children:"References"}),"\n",(0,s.jsx)(n.h3,{id:"government-standards",children:"Government Standards"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/assets/gov/government/services-for-government-and-broader-public-sector/information-technology-services/standards-files/address_data_standards_-_mailing_delivery_residential.pdf",children:"Address Data Standards: Mailing, Delivery and Residential"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/assets/gov/government/services-for-government-and-broader-public-sector/information-technology-services/standards-files/date_and_time_standard.pdf",children:"Date and Time Standard"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/health-information-standards/standards-catalogue/date-time",children:"B.C. Health Information Standards for Date and Time"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://bcgov.github.io/data-publication/pages/dsg_naming_describing.html",children:"Naming and Describing"})}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"technical-standards",children:"Technical Standards"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://ecma-international.org/publications-and-standards/standards/ecma-262/",children:"ECMA 262"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"JSON Schema Types"})}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc1123",children:"RFC 1123"})," (Internet Hosts)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2373",children:"RFC 2373"})," (IPv6)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2673",children:"RFC 2673"})," (IPv4)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3339",children:"RFC 3339"})," (Date and Time)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3629",children:"RFC 3629"})," (UTF-8)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3986",children:"RFC 3986"})," (URI)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc4122",children:"RFC 4122"})," (UUID v1-5)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5321",children:"RFC 5321"})," (Email/SMTP)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5890",children:"RFC 5890"})," (Internationalized Domain Names)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6531",children:"RFC 6531"})," (Internationalized Email)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6570",children:"RFC 6570"})," (URI Template)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," (JSON)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc9562",children:"RFC 9562"})," (UUID v6-8)"]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"errata",children:"Errata"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://ajv.js.org/guide/schema-language.html#json-schema",children:"JSON Schema Version Comparison"})}),"\n"]})]})}function l(e={}){let{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},50065:function(e,n,r){r.d(n,{Z:function(){return d},a:function(){return a}});var t=r(67294);let s={},i=t.createContext(s);function a(e){let n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/72af4c84.dcf31344.js b/assets/js/72af4c84.dcf31344.js new file mode 100644 index 0000000..f4101b4 --- /dev/null +++ b/assets/js/72af4c84.dcf31344.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8652"],{20021:function(e,s,r){r.r(s),r.d(s,{metadata:()=>t,contentTitle:()=>a,default:()=>c,assets:()=>l,toc:()=>u,frontMatter:()=>n});var t=JSON.parse('{"id":"docusaurus/tutorial_basics/deploy_your_site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","source":"@site/docs/docusaurus/tutorial_basics/deploy_your_site.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/deploy_your_site","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/deploy_your_site.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":5,"frontMatter":{"sidebar_position":5},"sidebar":"tutorialSidebar","previous":{"title":"Markdown Features","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features"},"next":{"title":"Congratulations!","permalink":"/nr-pies/docs/docusaurus/tutorial_basics/congratulations"}}'),o=r("85893"),i=r("50065");let n={sidebar_position:5},a="Deploy your site",l={},u=[{value:"Build your site",id:"build-your-site",level:2},{value:"Deploy your site",id:"deploy-your-site-1",level:2}];function d(e){let s={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"deploy-your-site",children:"Deploy your site"})}),"\n",(0,o.jsxs)(s.p,{children:["Docusaurus is a ",(0,o.jsx)(s.strong,{children:"static-site-generator"})," (also called ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://jamstack.org/",children:"Jamstack"})}),")."]}),"\n",(0,o.jsxs)(s.p,{children:["It builds your site as simple ",(0,o.jsx)(s.strong,{children:"static HTML, JavaScript and CSS files"}),"."]}),"\n",(0,o.jsx)(s.h2,{id:"build-your-site",children:"Build your site"}),"\n",(0,o.jsxs)(s.p,{children:["Build your site ",(0,o.jsx)(s.strong,{children:"for production"}),":"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run build\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The static files are generated in the ",(0,o.jsx)(s.code,{children:"build"})," folder."]}),"\n",(0,o.jsx)(s.h2,{id:"deploy-your-site-1",children:"Deploy your site"}),"\n",(0,o.jsx)(s.p,{children:"Test your production build locally:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run serve\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"build"})," folder is now served at ",(0,o.jsx)(s.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,o.jsxs)(s.p,{children:["You can now deploy the ",(0,o.jsx)(s.code,{children:"build"})," folder ",(0,o.jsx)(s.strong,{children:"almost anywhere"})," easily, ",(0,o.jsx)(s.strong,{children:"for free"})," or very small cost (read the ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://docusaurus.io/docs/deployment",children:"Deployment Guide"})}),")."]})]})}function c(e={}){let{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},50065:function(e,s,r){r.d(s,{Z:function(){return a},a:function(){return n}});var t=r(67294);let o={},i=t.createContext(o);function n(e){let s=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:n(e.components),t.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/736.3084922c.js b/assets/js/736.3084922c.js new file mode 100644 index 0000000..195da37 --- /dev/null +++ b/assets/js/736.3084922c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["736"],{22019:function(t,e,i){i.d(e,{diagram:function(){return L}});var a=i(74146),n=i(27818),s=function(){var t=(0,a.eW)(function(t,e,i,a){for(i=i||{},a=t.length;a--;i[t[a]]=e);return i},"o"),e=[1,3],i=[1,4],n=[1,5],s=[1,6],r=[1,7],l=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],o=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],h=[55,56,57],c=[2,36],d=[1,37],u=[1,36],x=[1,38],g=[1,35],f=[1,43],y=[1,41],p=[1,14],T=[1,23],m=[1,18],q=[1,19],_=[1,20],A=[1,21],b=[1,22],k=[1,24],S=[1,25],F=[1,26],P=[1,27],v=[1,28],C=[1,29],W=[1,32],L=[1,33],E=[1,34],D=[1,39],z=[1,40],I=[1,42],w=[1,44],N=[1,62],B=[1,61],R=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],$=[1,65],U=[1,66],O=[1,67],M=[1,68],Q=[1,69],X=[1,70],Y=[1,71],Z=[1,72],H=[1,73],j=[1,74],K=[1,75],G=[1,76],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],tt=[1,91],te=[1,92],ti=[1,99],ta=[1,93],tn=[1,96],ts=[1,94],tr=[1,95],tl=[1,97],to=[1,98],th=[1,102],tc=[10,55,56,57],td=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],tu={trace:(0,a.eW)(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:(0,a.eW)(function(t,e,i,a,n,s,r){var l=s.length-1;switch(n){case 23:case 68:this.$=s[l];break;case 24:this.$=s[l-1]+""+s[l];break;case 26:this.$=s[l-1]+s[l];break;case 27:this.$=[s[l].trim()];break;case 28:s[l-2].push(s[l].trim()),this.$=s[l-2];break;case 29:this.$=s[l-4],a.addClass(s[l-2],s[l]);break;case 37:this.$=[];break;case 42:this.$=s[l].trim(),a.setDiagramTitle(this.$);break;case 43:this.$=s[l].trim(),a.setAccTitle(this.$);break;case 44:case 45:this.$=s[l].trim(),a.setAccDescription(this.$);break;case 46:a.addSection(s[l].substr(8)),this.$=s[l].substr(8);break;case 47:a.addPoint(s[l-3],"",s[l-1],s[l],[]);break;case 48:a.addPoint(s[l-4],s[l-3],s[l-1],s[l],[]);break;case 49:a.addPoint(s[l-4],"",s[l-2],s[l-1],s[l]);break;case 50:a.addPoint(s[l-5],s[l-4],s[l-2],s[l-1],s[l]);break;case 51:a.setXAxisLeftText(s[l-2]),a.setXAxisRightText(s[l]);break;case 52:s[l-1].text+=" \u27F6 ",a.setXAxisLeftText(s[l-1]);break;case 53:a.setXAxisLeftText(s[l]);break;case 54:a.setYAxisBottomText(s[l-2]),a.setYAxisTopText(s[l]);break;case 55:s[l-1].text+=" \u27F6 ",a.setYAxisBottomText(s[l-1]);break;case 56:a.setYAxisBottomText(s[l]);break;case 57:a.setQuadrant1Text(s[l]);break;case 58:a.setQuadrant2Text(s[l]);break;case 59:a.setQuadrant3Text(s[l]);break;case 60:a.setQuadrant4Text(s[l]);break;case 64:case 66:this.$={text:s[l],type:"text"};break;case 65:this.$={text:s[l-1].text+""+s[l],type:s[l-1].type};break;case 67:this.$={text:s[l],type:"markdown"};break;case 69:this.$=s[l-1]+""+s[l]}},"anonymous"),table:[{18:e,26:1,27:2,28:i,55:n,56:s,57:r},{1:[3]},{18:e,26:8,27:2,28:i,55:n,56:s,57:r},{18:e,26:9,27:2,28:i,55:n,56:s,57:r},t(l,[2,33],{29:10}),t(o,[2,61]),t(o,[2,62]),t(o,[2,63]),{1:[2,30]},{1:[2,31]},t(h,c,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:u,10:x,12:g,13:f,14:y,18:p,25:T,35:m,37:q,39:_,41:A,42:b,48:k,50:S,51:F,52:P,53:v,54:C,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),t(l,[2,34]),{27:45,55:n,56:s,57:r},t(h,[2,37]),t(h,c,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:u,10:x,12:g,13:f,14:y,18:p,25:T,35:m,37:q,39:_,41:A,42:b,48:k,50:S,51:F,52:P,53:v,54:C,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),t(h,[2,39]),t(h,[2,40]),t(h,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(h,[2,45]),t(h,[2,46]),{18:[1,50]},{4:d,5:u,10:x,12:g,13:f,14:y,43:51,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:52,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:53,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:54,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:55,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:56,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,44:[1,57],47:[1,58],58:60,59:59,63:E,64:D,65:z,66:I,67:w},t(R,[2,64]),t(R,[2,66]),t(R,[2,67]),t(R,[2,70]),t(R,[2,71]),t(R,[2,72]),t(R,[2,73]),t(R,[2,74]),t(R,[2,75]),t(R,[2,76]),t(R,[2,77]),t(R,[2,78]),t(R,[2,79]),t(R,[2,80]),t(l,[2,35]),t(h,[2,38]),t(h,[2,42]),t(h,[2,43]),t(h,[2,44]),{3:64,4:$,5:U,6:O,7:M,8:Q,9:X,10:Y,11:Z,12:H,13:j,14:K,15:G,21:63},t(h,[2,53],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,49:[1,77],63:E,64:D,65:z,66:I,67:w}),t(h,[2,56],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,49:[1,78],63:E,64:D,65:z,66:I,67:w}),t(h,[2,57],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,58],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,59],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,60],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),{45:[1,79]},{44:[1,80]},t(R,[2,65]),t(R,[2,81]),t(R,[2,82]),t(R,[2,83]),{3:82,4:$,5:U,6:O,7:M,8:Q,9:X,10:Y,11:Z,12:H,13:j,14:K,15:G,18:[1,81]},t(V,[2,23]),t(V,[2,1]),t(V,[2,2]),t(V,[2,3]),t(V,[2,4]),t(V,[2,5]),t(V,[2,6]),t(V,[2,7]),t(V,[2,8]),t(V,[2,9]),t(V,[2,10]),t(V,[2,11]),t(V,[2,12]),t(h,[2,52],{58:31,43:83,4:d,5:u,10:x,12:g,13:f,14:y,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),t(h,[2,55],{58:31,43:84,4:d,5:u,10:x,12:g,13:f,14:y,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),{46:[1,85]},{45:[1,86]},{4:J,5:tt,6:te,8:ti,11:ta,13:tn,16:89,17:ts,18:tr,19:tl,20:to,22:88,23:87},t(V,[2,24]),t(h,[2,51],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,54],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,47],{22:88,16:89,23:100,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to}),{46:[1,101]},t(h,[2,29],{10:th}),t(tc,[2,27],{16:103,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to}),t(td,[2,25]),t(td,[2,13]),t(td,[2,14]),t(td,[2,15]),t(td,[2,16]),t(td,[2,17]),t(td,[2,18]),t(td,[2,19]),t(td,[2,20]),t(td,[2,21]),t(td,[2,22]),t(h,[2,49],{10:th}),t(h,[2,48],{22:88,16:89,23:104,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to}),{4:J,5:tt,6:te,8:ti,11:ta,13:tn,16:89,17:ts,18:tr,19:tl,20:to,22:105},t(td,[2,26]),t(h,[2,50],{10:th}),t(tc,[2,28],{16:103,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to})],defaultActions:{8:[2,30],9:[2,31]},parseError:(0,a.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,a.eW)(function(t){var e=this,i=[0],n=[],s=[null],r=[],l=this.table,o="",h=0,c=0,d=0,u=r.slice.call(arguments,1),x=Object.create(this.lexer),g={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(g.yy[f]=this.yy[f]);x.setInput(t,g.yy),g.yy.lexer=x,g.yy.parser=this,void 0===x.yylloc&&(x.yylloc={});var y=x.yylloc;r.push(y);var p=x.options&&x.options.ranges;"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function T(){var t;return"number"!=typeof(t=n.pop()||x.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}(0,a.eW)(function(t){i.length=i.length-2*t,s.length=s.length-t,r.length=r.length-t},"popStack"),(0,a.eW)(T,"lex");for(var m,q,_,A,b,k,S,F,P,v={};;){if(_=i[i.length-1],this.defaultActions[_]?A=this.defaultActions[_]:(null==m&&(m=T()),A=l[_]&&l[_][m]),void 0===A||!A.length||!A[0]){var C="";for(k in P=[],l[_])this.terminals_[k]&&k>2&&P.push("'"+this.terminals_[k]+"'");C=x.showPosition?"Parse error on line "+(h+1)+":\n"+x.showPosition()+"\nExpecting "+P.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(C,{text:x.match,token:this.terminals_[m]||m,line:x.yylineno,loc:y,expected:P})}if(A[0]instanceof Array&&A.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+m);switch(A[0]){case 1:i.push(m),s.push(x.yytext),r.push(x.yylloc),i.push(A[1]),m=null,q?(m=q,q=null):(c=x.yyleng,o=x.yytext,h=x.yylineno,y=x.yylloc,d>0&&d--);break;case 2:if(S=this.productions_[A[1]][1],v.$=s[s.length-S],v._$={first_line:r[r.length-(S||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(S||1)].first_column,last_column:r[r.length-1].last_column},p&&(v._$.range=[r[r.length-(S||1)].range[0],r[r.length-1].range[1]]),void 0!==(b=this.performAction.apply(v,[o,c,h,g.yy,A[1],s,r].concat(u))))return b;S&&(i=i.slice(0,-1*S*2),s=s.slice(0,-1*S),r=r.slice(0,-1*S)),i.push(this.productions_[A[1]][0]),s.push(v.$),r.push(v._$),F=l[i[i.length-2]][i[i.length-1]],i.push(F);break;case 3:return!0}}return!0},"parse")},tx={EOF:1,parseError:(0,a.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.eW)(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},"setInput"),input:(0,a.eW)(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},"input"),unput:(0,a.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===a.length?this.yylloc.first_column:0)+a[a.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,a.eW)(function(){return this._more=!0,this},"more"),reject:(0,a.eW)(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})},"reject"),less:(0,a.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.eW)(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,"")},"upcomingInput"),showPosition:(0,a.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.eW)(function(t,e){var i,a,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},"test_match"),next:(0,a.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,a,n=this._currentRules(),s=0;se[0].length)){if(e=i,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,n[a]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,a.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,a.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,a.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.eW)(function(t,e,i,a){switch(i){case 0:case 1:case 3:break;case 2:return 55;case 4:return this.begin("title"),35;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),37;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),39;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 23:case 25:case 31:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 24:this.begin("string");break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;case 29:return this.begin("point_start"),44;case 30:return this.begin("point_x"),45;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;case 34:return 28;case 35:return 4;case 36:return 11;case 37:return 64;case 38:return 10;case 39:case 40:return 65;case 41:return 14;case 42:return 13;case 43:return 67;case 44:return 66;case 45:return 12;case 46:return 8;case 47:return 5;case 48:return 18;case 49:return 56;case 50:return 63;case 51:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}};function tg(){this.yy={}}return tu.lexer=tx,(0,a.eW)(tg,"Parser"),tg.prototype=tu,tu.Parser=tg,new tg}();s.parser=s;var r=(0,a.xN)(),l=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{(0,a.eW)(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:a.vZ.quadrantChart?.chartWidth||500,chartWidth:a.vZ.quadrantChart?.chartHeight||500,titlePadding:a.vZ.quadrantChart?.titlePadding||10,titleFontSize:a.vZ.quadrantChart?.titleFontSize||20,quadrantPadding:a.vZ.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:a.vZ.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:a.vZ.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:a.vZ.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:a.vZ.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:a.vZ.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:a.vZ.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:a.vZ.quadrantChart?.pointTextPadding||5,pointLabelFontSize:a.vZ.quadrantChart?.pointLabelFontSize||12,pointRadius:a.vZ.quadrantChart?.pointRadius||5,xAxisPosition:a.vZ.quadrantChart?.xAxisPosition||"top",yAxisPosition:a.vZ.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:a.vZ.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:a.vZ.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:r.quadrant1Fill,quadrant2Fill:r.quadrant2Fill,quadrant3Fill:r.quadrant3Fill,quadrant4Fill:r.quadrant4Fill,quadrant1TextFill:r.quadrant1TextFill,quadrant2TextFill:r.quadrant2TextFill,quadrant3TextFill:r.quadrant3TextFill,quadrant4TextFill:r.quadrant4TextFill,quadrantPointFill:r.quadrantPointFill,quadrantPointTextFill:r.quadrantPointTextFill,quadrantXAxisTextFill:r.quadrantXAxisTextFill,quadrantYAxisTextFill:r.quadrantYAxisTextFill,quadrantTitleFill:r.quadrantTitleFill,quadrantInternalBorderStrokeFill:r.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:r.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,a.cM.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}addClass(t,e){this.classes.set(t,e)}setConfig(t){a.cM.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){a.cM.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,e,i,a){let n=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,s={top:"top"===t&&e?n:0,bottom:"bottom"===t&&e?n:0},r=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,l={left:"left"===this.config.yAxisPosition&&i?r:0,right:"right"===this.config.yAxisPosition&&i?r:0},o=this.config.titleFontSize+2*this.config.titlePadding,h={top:a?o:0},c=this.config.quadrantPadding+l.left,d=this.config.quadrantPadding+s.top+h.top,u=this.config.chartWidth-2*this.config.quadrantPadding-l.left-l.right,x=this.config.chartHeight-2*this.config.quadrantPadding-s.top-s.bottom-h.top;return{xAxisSpace:s,yAxisSpace:l,titleSpace:h,quadrantSpace:{quadrantLeft:c,quadrantTop:d,quadrantWidth:u,quadrantHalfWidth:u/2,quadrantHeight:x,quadrantHalfHeight:x/2}}}getAxisLabels(t,e,i,a){let{quadrantSpace:n,titleSpace:s}=a,{quadrantHalfHeight:r,quadrantHeight:l,quadrantLeft:o,quadrantHalfWidth:h,quadrantTop:c,quadrantWidth:d}=n,u=!!this.data.xAxisRightText,x=!!this.data.yAxisTopText,g=[];return this.data.xAxisLeftText&&e&&g.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&e&&g.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+h+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&i&&g.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+l-(x?r/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&i&&g.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+r-(x?r/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),g}getQuadrants(t){let{quadrantSpace:e}=t,{quadrantHalfHeight:i,quadrantLeft:a,quadrantHalfWidth:n,quadrantTop:s}=e,r=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:s,width:n,height:i,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:s,width:n,height:i,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:s+i,width:n,height:i,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:s+i,width:n,height:i,fill:this.themeConfig.quadrant4Fill}];for(let t of r)t.text.x=t.x+t.width/2,0===this.data.points.length?(t.text.y=t.y+t.height/2,t.text.horizontalPos="middle"):(t.text.y=t.y+this.config.quadrantTextTopPadding,t.text.horizontalPos="top");return r}getQuadrantPoints(t){let{quadrantSpace:e}=t,{quadrantHeight:i,quadrantLeft:a,quadrantTop:s,quadrantWidth:r}=e,l=(0,n.BYU)().domain([0,1]).range([a,r+a]),o=(0,n.BYU)().domain([0,1]).range([i+s,s]);return this.data.points.map(t=>{let e=this.classes.get(t.className);return e&&(t={...e,...t}),{x:l(t.x),y:o(t.y),fill:t.color??this.themeConfig.quadrantPointFill,radius:t.radius??this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:l(t.x),y:o(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:t.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:t.strokeWidth??"0px"}})}getBorders(t){let e=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:i}=t,{quadrantHalfHeight:a,quadrantHeight:n,quadrantLeft:s,quadrantHalfWidth:r,quadrantTop:l,quadrantWidth:o}=i;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-e,y1:l,x2:s+o+e,y2:l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s+o,y1:l+e,x2:s+o,y2:l+n-e},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-e,y1:l+n,x2:s+o+e,y2:l+n},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s,y1:l+e,x2:s,y2:l+n-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+r,y1:l+e,x2:s+r,y2:l+n-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+e,y1:l+a,x2:s+o-e,y2:l+a}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let t=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),e=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),i=this.config.showTitle&&!!this.data.titleText,a=this.data.points.length>0?"bottom":this.config.xAxisPosition,n=this.calculateSpace(a,t,e,i);return{points:this.getQuadrantPoints(n),quadrants:this.getQuadrants(n),axisLabels:this.getAxisLabels(a,t,e,n),borderLines:this.getBorders(n),title:this.getTitle(i)}}},o=class extends Error{static{(0,a.eW)(this,"InvalidStyleError")}constructor(t,e,i){super(`value for ${t} ${e} is invalid, please use a valid ${i}`),this.name="InvalidStyleError"}};function h(t){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t)}function c(t){return!/^\d+$/.test(t)}function d(t){return!/^\d+px$/.test(t)}(0,a.eW)(h,"validateHexCode"),(0,a.eW)(c,"validateNumber"),(0,a.eW)(d,"validateSizeInPixels");var u=(0,a.nV)();function x(t){return(0,a.oO)(t.trim(),u)}(0,a.eW)(x,"textSanitizer");var g=new l;function f(t){g.setData({quadrant1Text:x(t.text)})}function y(t){g.setData({quadrant2Text:x(t.text)})}function p(t){g.setData({quadrant3Text:x(t.text)})}function T(t){g.setData({quadrant4Text:x(t.text)})}function m(t){g.setData({xAxisLeftText:x(t.text)})}function q(t){g.setData({xAxisRightText:x(t.text)})}function _(t){g.setData({yAxisTopText:x(t.text)})}function A(t){g.setData({yAxisBottomText:x(t.text)})}function b(t){let e={};for(let i of t){let[t,a]=i.trim().split(/\s*:\s*/);if("radius"===t){if(c(a))throw new o(t,a,"number");e.radius=parseInt(a)}else if("color"===t){if(h(a))throw new o(t,a,"hex code");e.color=a}else if("stroke-color"===t){if(h(a))throw new o(t,a,"hex code");e.strokeColor=a}else if("stroke-width"===t){if(d(a))throw new o(t,a,"number of pixels (eg. 10px)");e.strokeWidth=a}else throw Error(`style named ${t} is not supported.`)}return e}function k(t,e,i,a,n){let s=b(n);g.addPoints([{x:i,y:a,text:x(t.text),className:e,...s}])}function S(t,e){g.addClass(t,b(e))}function F(t){g.setConfig({chartWidth:t})}function P(t){g.setConfig({chartHeight:t})}function v(){let{themeVariables:t,quadrantChart:e}=(0,a.nV)();return e&&g.setConfig(e),g.setThemeConfig({quadrant1Fill:t.quadrant1Fill,quadrant2Fill:t.quadrant2Fill,quadrant3Fill:t.quadrant3Fill,quadrant4Fill:t.quadrant4Fill,quadrant1TextFill:t.quadrant1TextFill,quadrant2TextFill:t.quadrant2TextFill,quadrant3TextFill:t.quadrant3TextFill,quadrant4TextFill:t.quadrant4TextFill,quadrantPointFill:t.quadrantPointFill,quadrantPointTextFill:t.quadrantPointTextFill,quadrantXAxisTextFill:t.quadrantXAxisTextFill,quadrantYAxisTextFill:t.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:t.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:t.quadrantInternalBorderStrokeFill,quadrantTitleFill:t.quadrantTitleFill}),g.setData({titleText:(0,a.Kr)()}),g.build()}(0,a.eW)(f,"setQuadrant1Text"),(0,a.eW)(y,"setQuadrant2Text"),(0,a.eW)(p,"setQuadrant3Text"),(0,a.eW)(T,"setQuadrant4Text"),(0,a.eW)(m,"setXAxisLeftText"),(0,a.eW)(q,"setXAxisRightText"),(0,a.eW)(_,"setYAxisTopText"),(0,a.eW)(A,"setYAxisBottomText"),(0,a.eW)(b,"parseStyles"),(0,a.eW)(k,"addPoint"),(0,a.eW)(S,"addClass"),(0,a.eW)(F,"setWidth"),(0,a.eW)(P,"setHeight"),(0,a.eW)(v,"getQuadrantData");var C={setWidth:F,setHeight:P,setQuadrant1Text:f,setQuadrant2Text:y,setQuadrant3Text:p,setQuadrant4Text:T,setXAxisLeftText:m,setXAxisRightText:q,setYAxisTopText:_,setYAxisBottomText:A,parseStyles:b,addPoint:k,addClass:S,getQuadrantData:v,clear:(0,a.eW)(function(){g.clear(),(0,a.ZH)()},"clear"),setAccTitle:a.GN,getAccTitle:a.eu,setDiagramTitle:a.g2,getDiagramTitle:a.Kr,getAccDescription:a.Mx,setAccDescription:a.U$},W=(0,a.eW)((t,e,i,s)=>{let r;function l(t){return"top"===t?"hanging":"middle"}function o(t){return"left"===t?"start":"middle"}function h(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,a.eW)(l,"getDominantBaseLine"),(0,a.eW)(o,"getTextAnchor"),(0,a.eW)(h,"getTransformation");let c=(0,a.nV)();a.cM.debug("Rendering quadrant chart\n"+t);let d=c.securityLevel;"sandbox"===d&&(r=(0,n.Ys)("#i"+e));let u=("sandbox"===d?(0,n.Ys)(r.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id="${e}"]`),x=u.append("g").attr("class","main"),g=c.quadrantChart?.chartWidth??500,f=c.quadrantChart?.chartHeight??500;(0,a.v2)(u,f,g,c.quadrantChart?.useMaxWidth??!0),u.attr("viewBox","0 0 "+g+" "+f),s.db.setHeight(f),s.db.setWidth(g);let y=s.db.getQuadrantData(),p=x.append("g").attr("class","quadrants"),T=x.append("g").attr("class","border"),m=x.append("g").attr("class","data-points"),q=x.append("g").attr("class","labels"),_=x.append("g").attr("class","title");y.title&&_.append("text").attr("x",0).attr("y",0).attr("fill",y.title.fill).attr("font-size",y.title.fontSize).attr("dominant-baseline",l(y.title.horizontalPos)).attr("text-anchor",o(y.title.verticalPos)).attr("transform",h(y.title)).text(y.title.text),y.borderLines&&T.selectAll("line").data(y.borderLines).enter().append("line").attr("x1",t=>t.x1).attr("y1",t=>t.y1).attr("x2",t=>t.x2).attr("y2",t=>t.y2).style("stroke",t=>t.strokeFill).style("stroke-width",t=>t.strokeWidth);let A=p.selectAll("g.quadrant").data(y.quadrants).enter().append("g").attr("class","quadrant");A.append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill),A.append("text").attr("x",0).attr("y",0).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>l(t.text.horizontalPos)).attr("text-anchor",t=>o(t.text.verticalPos)).attr("transform",t=>h(t.text)).text(t=>t.text.text),q.selectAll("g.label").data(y.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(t=>t.text).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>l(t.horizontalPos)).attr("text-anchor",t=>o(t.verticalPos)).attr("transform",t=>h(t));let b=m.selectAll("g.data-point").data(y.points).enter().append("g").attr("class","data-point");b.append("circle").attr("cx",t=>t.x).attr("cy",t=>t.y).attr("r",t=>t.radius).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeColor).attr("stroke-width",t=>t.strokeWidth),b.append("text").attr("x",0).attr("y",0).text(t=>t.text.text).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>l(t.text.horizontalPos)).attr("text-anchor",t=>o(t.text.verticalPos)).attr("transform",t=>h(t.text))},"draw"),L={parser:s,db:C,renderer:{draw:W},styles:(0,a.eW)(()=>"","styles")}}}]); \ No newline at end of file diff --git a/assets/js/742a8b7c.7fd24b4c.js b/assets/js/742a8b7c.7fd24b4c.js new file mode 100644 index 0000000..c61ee22 --- /dev/null +++ b/assets/js/742a8b7c.7fd24b4c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9210"],{83780:function(t){t.exports=JSON.parse('{"tag":{"label":"Executive","permalink":"/nr-pies/docs/tags/executive","description":"Content related to policies and strategic alignment","allTagsPath":"/nr-pies/docs/tags","count":1,"items":[{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","permalink":"/nr-pies/docs/intro/getting_started"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/assets/js/7469.2fd3e258.js b/assets/js/7469.2fd3e258.js new file mode 100644 index 0000000..d9fd0db --- /dev/null +++ b/assets/js/7469.2fd3e258.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7469"],{47358:function(t,e,a){a.d(e,{diagram:function(){return L}});var n,i=a(14050);a(57169),a(290),a(29660),a(37971),a(9833),a(30594),a(82612),a(41200);var r=a(68394),d=a(74146),s=a(27818),o=a(49235),g=a(50043),l={},p=(0,d.eW)((t,e)=>{l[t]=e},"set"),h=(0,d.eW)(t=>l[t],"get"),c=(0,d.eW)(()=>Object.keys(l),"keys"),x=(0,d.eW)(()=>c().length,"size"),V=p,u=(0,d.eW)(t=>t.append("circle").attr("class","start-state").attr("r",(0,d.nV)().state.sizeUnit).attr("cx",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit).attr("cy",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit),"drawStartState"),f=(0,d.eW)(t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,d.nV)().state.textHeight).attr("class","divider").attr("x2",2*(0,d.nV)().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),y=(0,d.eW)((t,e)=>{let a=t.append("text").attr("x",2*(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.textHeight+2*(0,d.nV)().state.padding).attr("font-size",(0,d.nV)().state.fontSize).attr("class","state-title").text(e.id),n=a.node().getBBox();return t.insert("rect",":first-child").attr("x",(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.padding).attr("width",n.width+2*(0,d.nV)().state.padding).attr("height",n.height+2*(0,d.nV)().state.padding).attr("rx",(0,d.nV)().state.radius),a},"drawSimpleState"),w=(0,d.eW)((t,e)=>{let a=(0,d.eW)(function(t,e,a){let n=t.append("tspan").attr("x",2*(0,d.nV)().state.padding).text(e);!a&&n.attr("dy",(0,d.nV)().state.textHeight)},"addTspan"),n=t.append("text").attr("x",2*(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.textHeight+1.3*(0,d.nV)().state.padding).attr("font-size",(0,d.nV)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=n.height,r=t.append("text").attr("x",(0,d.nV)().state.padding).attr("y",i+.4*(0,d.nV)().state.padding+(0,d.nV)().state.dividerMargin+(0,d.nV)().state.textHeight).attr("class","state-description"),s=!0,o=!0;e.descriptions.forEach(function(t){!s&&(a(r,t,o),o=!1),s=!1});let g=t.append("line").attr("x1",(0,d.nV)().state.padding).attr("y1",(0,d.nV)().state.padding+i+(0,d.nV)().state.dividerMargin/2).attr("y2",(0,d.nV)().state.padding+i+(0,d.nV)().state.dividerMargin/2).attr("class","descr-divider"),l=r.node().getBBox(),p=Math.max(l.width,n.width);return g.attr("x2",p+3*(0,d.nV)().state.padding),t.insert("rect",":first-child").attr("x",(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.padding).attr("width",p+2*(0,d.nV)().state.padding).attr("height",l.height+i+2*(0,d.nV)().state.padding).attr("rx",(0,d.nV)().state.radius),t},"drawDescrState"),b=(0,d.eW)((t,e,a)=>{let n;let i=(0,d.nV)().state.padding,r=2*(0,d.nV)().state.padding,s=t.node().getBBox(),o=s.width,g=s.x,l=t.append("text").attr("x",0).attr("y",(0,d.nV)().state.titleShift).attr("font-size",(0,d.nV)().state.fontSize).attr("class","state-title").text(e.id),p=l.node().getBBox().width+r,h=Math.max(p,o);h===o&&(h+=r);let c=t.node().getBBox();e.doc,n=g-i,p>o&&(n=(o-h)/2+i),Math.abs(g-c.x)o&&(n=g-(p-o)/2);let x=1-(0,d.nV)().state.textHeight;return t.insert("rect",":first-child").attr("x",n).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",c.height+(0,d.nV)().state.textHeight+(0,d.nV)().state.titleShift+1).attr("rx","0"),l.attr("x",n+i),p<=o&&l.attr("x",g+(h-r)/2-p/2+i),t.insert("rect",":first-child").attr("x",n).attr("y",(0,d.nV)().state.titleShift-(0,d.nV)().state.textHeight-(0,d.nV)().state.padding).attr("width",h).attr("height",3*(0,d.nV)().state.textHeight).attr("rx",(0,d.nV)().state.radius),t.insert("rect",":first-child").attr("x",n).attr("y",(0,d.nV)().state.titleShift-(0,d.nV)().state.textHeight-(0,d.nV)().state.padding).attr("width",h).attr("height",c.height+3+2*(0,d.nV)().state.textHeight).attr("rx",(0,d.nV)().state.radius),t},"addTitleAndBox"),B=(0,d.eW)(t=>(t.append("circle").attr("class","end-state-outer").attr("r",(0,d.nV)().state.sizeUnit+(0,d.nV)().state.miniPadding).attr("cx",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+(0,d.nV)().state.miniPadding).attr("cy",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+(0,d.nV)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,d.nV)().state.sizeUnit).attr("cx",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+2).attr("cy",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+2)),"drawEndState"),m=(0,d.eW)((t,e)=>{let a=(0,d.nV)().state.forkWidth,n=(0,d.nV)().state.forkHeight;if(e.parentId){let t=a;a=n,n=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",n).attr("x",(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.padding)},"drawForkJoinState"),k=(0,d.eW)((t,e,a,n)=>{let i=0,r=n.append("text");r.style("text-anchor","start"),r.attr("class","noteText");let s=t.replace(/\r\n/g,"
    "),o=(s=s.replace(/\n/g,"
    ")).split(d.SY.lineBreakRegex),g=1.25*(0,d.nV)().state.noteMargin;for(let t of o){let n=t.trim();if(n.length>0){let t=r.append("tspan");t.text(n),0===g&&(g+=t.node().getBBox().height),i+=g,t.attr("x",e+(0,d.nV)().state.noteMargin),t.attr("y",a+i+1.25*(0,d.nV)().state.noteMargin)}}return{textWidth:r.node().getBBox().width,textHeight:i}},"_drawLongText"),M=(0,d.eW)((t,e)=>{e.attr("class","state-note");let a=e.append("rect").attr("x",0).attr("y",(0,d.nV)().state.padding),{textWidth:n,textHeight:i}=k(t,0,0,e.append("g"));return a.attr("height",i+2*(0,d.nV)().state.noteMargin),a.attr("width",n+2*(0,d.nV)().state.noteMargin),a},"drawNote"),S=(0,d.eW)(function(t,e){let a=e.id,n={id:a,label:e.id,width:0,height:0},i=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&u(i),"end"===e.type&&B(i),("fork"===e.type||"join"===e.type)&&m(i,e),"note"===e.type&&M(e.note.text,i),"divider"===e.type&&f(i),"default"===e.type&&0===e.descriptions.length&&y(i,e),"default"===e.type&&e.descriptions.length>0&&w(i,e);let r=i.node().getBBox();return n.width=r.width+2*(0,d.nV)().state.padding,n.height=r.height+2*(0,d.nV)().state.padding,V(a,n),n},"drawState"),W=0,E=(0,d.eW)(function(t,e,a){let n=(0,d.eW)(function(t){switch(t){case i.bH.relationType.AGGREGATION:return"aggregation";case i.bH.relationType.EXTENSION:return"extension";case i.bH.relationType.COMPOSITION:return"composition";case i.bH.relationType.DEPENDENCY:return"dependency"}},"getRelationType");e.points=e.points.filter(t=>!Number.isNaN(t.y));let o=e.points,g=(0,s.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(s.$0Z),l=t.append("path").attr("d",g(o)).attr("id","edge"+W).attr("class","transition"),p="";if((0,d.nV)().state.arrowMarkerAbsolute&&(p=(p=(p=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),l.attr("marker-end","url("+p+"#"+n(i.bH.relationType.DEPENDENCY)+"End)"),void 0!==a.title){let n=t.append("g").attr("class","stateLabel"),{x:i,y:s}=r.w8.calcLabelPosition(e.points),o=d.SY.getRows(a.title),g=0,l=[],p=0,h=0;for(let t=0;t<=o.length;t++){let e=n.append("text").attr("text-anchor","middle").text(o[t]).attr("x",i).attr("y",s+g),a=e.node().getBBox();p=Math.max(p,a.width),h=Math.min(h,a.x),d.cM.info(a.x,i,s+g),0===g&&(g=e.node().getBBox().height,d.cM.info("Title height",g,s)),l.push(e)}let c=g*o.length;if(o.length>1){let t=(o.length-1)*g*.5;l.forEach((e,a)=>e.attr("y",s+a*g-t)),c=g*o.length}let x=n.node().getBBox();n.insert("rect",":first-child").attr("class","box").attr("x",i-p/2-(0,d.nV)().state.padding/2).attr("y",s-c/2-(0,d.nV)().state.padding/2-3.5).attr("width",p+(0,d.nV)().state.padding).attr("height",c+(0,d.nV)().state.padding),d.cM.info(x)}W++},"drawEdge"),N={},v=(0,d.eW)(function(){},"setConf"),H=(0,d.eW)(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")},"insertMarkers"),z=(0,d.eW)(function(t,e,a,i){let r;n=(0,d.nV)().state;let o=(0,d.nV)().securityLevel;"sandbox"===o&&(r=(0,s.Ys)("#i"+e));let g="sandbox"===o?(0,s.Ys)(r.nodes()[0].contentDocument.body):(0,s.Ys)("body"),l="sandbox"===o?r.nodes()[0].contentDocument:document;d.cM.debug("Rendering diagram "+t);let p=g.select(`[id='${e}']`);H(p),D(i.db.getRootDoc(),p,void 0,!1,g,l,i);let h=n.padding,c=p.node().getBBox(),x=c.width+2*h,V=c.height+2*h;(0,d.v2)(p,V,1.75*x,n.useMaxWidth),p.attr("viewBox",`${c.x-n.padding} ${c.y-n.padding} `+x+" "+V)},"draw"),T=(0,d.eW)(t=>t?t.length*n.fontSizeFactor:1,"getLabelWidth"),D=(0,d.eW)((t,e,a,i,r,s,l)=>{let p;let h=new g.k({compound:!0,multigraph:!0}),c=!0;for(p=0;p{let e=t.parentElement,a=0,n=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),Number.isNaN(n=parseInt(e.getAttribute("data-x-shift"),10))&&(n=0)),t.setAttribute("x1",0-n+8),t.setAttribute("x2",a-n-8)})):d.cM.debug("No Node "+t+": "+JSON.stringify(h.node(t)))});let w=y.getBBox();h.edges().forEach(function(t){void 0!==t&&void 0!==h.edge(t)&&(d.cM.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(h.edge(t))),E(e,h.edge(t),h.edge(t).relation))}),w=y.getBBox();let B={id:a||"root",label:a||"root",width:0,height:0};return B.width=w.width+2*n.padding,B.height=w.height+2*n.padding,d.cM.debug("Doc rendered",B,h),B},"renderDoc"),L={parser:i.J8,db:i.bH,renderer:{setConf:v,draw:z},styles:i.Ee,init:(0,d.eW)(t=>{!t.state&&(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.bH.clear()},"init")}}}]); \ No newline at end of file diff --git a/assets/js/7717.62fafe66.js b/assets/js/7717.62fafe66.js new file mode 100644 index 0000000..b0e7bff --- /dev/null +++ b/assets/js/7717.62fafe66.js @@ -0,0 +1,19 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7717"],{54301:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={schemaItem:"schemaItem_buZn",schemaName:"schemaName_Rg3q",strikethrough:"strikethrough_g4yO"}},72893:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={constant:"constant_erHY"}},80740:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={deprecated:"deprecated_iwIh"}},27177:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={readOnly:"readOnly_RjRF"}},96043:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={required:"required_k7Xu"}},28728:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={writeOnly:"writeOnly_QX6I"}},69655:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;t.Cache=class e{constructor(e={}){this._stats={hits:0,misses:0},this._data={},this._stdTTL=e.stdTTL}get stats(){return this._stats}get(e){let t=this._data[e];if(t&&(!this._stdTTL||new Date().getTime()-t.ts{!r&&(r="#");let a=this._runner.computeRef({val:e,jsonPointer:r,pointerStack:n});if(void 0!==a)this._resolveRef({ref:a,val:e,parentPath:t,pointerStack:n,parentPointer:r,cacheKey:r,resolvingPointer:this.jsonPointer});else if("object"==typeof e)for(let i in e){if(!e.hasOwnProperty(i))continue;let u=e[i],l=o.addToJSONPointer(r,i);a=this._runner.computeRef({key:i,val:u,jsonPointer:l,pointerStack:n}),t.push(i),void 0!==a?this._resolveRef({ref:a,val:u,parentPath:t,parentPointer:l,pointerStack:n,cacheKey:o.uriToJSONPointer(a),resolvingPointer:this.jsonPointer}):"object"==typeof u&&this.computeGraph(u,t,l,n),t.pop()}},this._resolveRef=e=>{let{pointerStack:t,parentPath:r,parentPointer:a,ref:u}=e;if(o.uriIsJSONPointer(u)){if(this._runner.dereferenceInline){let e;let l=o.uriToJSONPointer(u);try{e=(0,n.pointerToPath)(l)}catch(e){this._resolved.errors.push({code:"PARSE_POINTER",message:`'${u}' JSON pointer is invalid`,uri:this._runner.baseUri,uriStack:this._runner.uriStack,pointerStack:[],path:[]});return}let s=e.length>0;for(let t in e)if(r[t]!==e[t]){s=!1;break}if(s)return;!this.pointerStemGraph.hasNode(l)&&this.pointerStemGraph.addNode(l);let c="#",f="";for(let t=0;t{if(t&&"object"==typeof t&&"string"==typeof t.$ref)return t.$ref};class g{constructor(e,r=new o.DepGraph({circular:!0}),u={}){this.ctx={},this.computeRef=e=>{let t=this.getRef(e.key,e.val);if(void 0===t)return;let r=new f.ExtendedURI(t);if("#"!==t[0]){if(this.isFile(r)){let e=r.toString();!r.is("absolute")&&(e=this.baseUri.toString()?(0,i.join)((0,i.dirname)(this.baseUri.toString()),(0,i.stripRoot)(e)):""),e&&(r=new c((0,i.toFSPath)(e)).fragment(r.fragment()))}else(r.scheme().includes("http")||""===r.scheme()&&this.baseUri.scheme().includes("http"))&&""!==this.baseUri.authority()&&""===r.authority()&&(r=r.absoluteTo(this.baseUri))}return(String(r).length>0&&this.isFile(this.baseUri)&&this.isFile(r)&&this.baseUri.path()===r.path()&&(r=new f.ExtendedURI(`#${r.fragment()}`)),this.transformRef)?this.transformRef(Object.assign(Object.assign({},e),{ref:r,uri:this.baseUri}),this.ctx):r},this.atMaxUriDepth=()=>this.uriStack.length>=100,this.lookupUri=e=>n.__awaiter(this,void 0,void 0,function*(){let{ref:t}=e,r=t.scheme();!this.resolvers[r]&&this.isFile(t)&&(r="file");let n=this.resolvers[r];if(!n)throw Error(`No resolver defined for scheme '${t.scheme()||"file"}' in ref ${t.toString()}`);let a=yield n.resolve(t,this.ctx);if(this.parseResolveResult)try{a=(yield this.parseResolveResult({uriResult:a,result:a,targetAuthority:t,parentAuthority:this.baseUri,parentPath:e.parentPath,fragment:e.fragment})).result}catch(e){throw Error(`Could not parse remote reference response for '${t.toString()}' - ${String(e)}`)}return new g(a,this.graph,{depth:this.depth+1,baseUri:t.toString(),root:t,uriStack:this.uriStack,uriCache:this.uriCache,resolvers:this.resolvers,transformRef:this.transformRef,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult,dereferenceRemote:this.dereferenceRemote,dereferenceInline:this.dereferenceInline,ctx:this.ctx})}),this.lookupAndResolveUri=e=>n.__awaiter(this,void 0,void 0,function*(){let{val:t,ref:r,resolvingPointer:n,parentPointer:i,pointerStack:o}=e,u=e.parentPath?e.parentPath.slice():[],l=this.computeUriCacheKey(r),c={uri:r,pointerStack:o,targetPath:n===i?[]:u};if(this.uriStack.includes(l))c.resolved={result:t,graph:this.graph,refMap:{},errors:[],runner:this};else{let e;let n=this.baseUri.toString(),i=n&&0!==this.depth?n:null;try{if(this.atMaxUriDepth())throw Error(`Max uri depth (${this.uriStack.length}) reached. Halting, this is probably a circular loop.`);e=yield this.lookupUri({ref:r.clone().fragment(""),fragment:r.fragment(),cacheKey:l,parentPath:u}),i&&(e.uriStack=e.uriStack.concat(i))}catch(e){c.error={code:"RESOLVE_URI",message:String(e),uri:r,uriStack:i?this.uriStack.concat(i):this.uriStack,pointerStack:o,path:u}}if(e&&(c.resolved=yield e.resolve({jsonPointer:p.uriToJSONPointer(r),parentPath:u}),c.resolved.errors.length)){for(let e of c.resolved.errors)if("POINTER_MISSING"===e.code&&e.path.join("/")===r.fragment().slice(1)){let n=r.fragment?(0,a.trimStart)(e.path,(0,a.trimStart)(r.fragment(),"/").split("/")):e.path;n&&n.length?s(c.resolved.result,n,t):c.resolved.result&&(c.resolved.result=t)}}}return c}),this.id=v+=1,this.depth=u.depth||0,this._source=e,this.resolvers=u.resolvers||{};let l=u.baseUri||"",h=new c(l||"");this.isFile(h)&&(h=new c((0,i.toFSPath)(l))),this.baseUri=h,this.uriStack=u.uriStack||[],this.uriCache=u.uriCache||new d.Cache,this.root=u.root&&u.root.toString()||this.baseUri.toString()||"root",this.graph=r,!this.graph.hasNode(this.root)&&this.graph.addNode(this.root,{refMap:{},data:this._source}),this.baseUri&&0===this.depth&&this.uriCache.set(this.computeUriCacheKey(this.baseUri),this),this.getRef=u.getRef||t.defaultGetRef,this.transformRef=u.transformRef,this.depth?this.dereferenceInline=!0:this.dereferenceInline=void 0===u.dereferenceInline||u.dereferenceInline,this.dereferenceRemote=void 0===u.dereferenceRemote||u.dereferenceRemote,this.parseResolveResult=u.parseResolveResult,this.transformDereferenceResult=u.transformDereferenceResult,this.ctx=u.ctx,this.lookupUri=m(this.lookupUri,{serializer:this._cacheKeySerializer,cache:{create:()=>this.uriCache}})}get source(){return this._source}resolve(e){return n.__awaiter(this,void 0,void 0,function*(){let t;let r={result:this.source,graph:this.graph,refMap:{},errors:[],runner:this},n=e&&e.jsonPointer&&e.jsonPointer.trim();if(n&&"#"!==n&&"#/"!==n){try{t=(0,a.pointerToPath)(n)}catch(e){return r.errors.push({code:"PARSE_POINTER",message:`'${n}' JSON pointer is invalid`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:[]}),r}r.result=l(r.result,t)}if(void 0===r.result)return r.errors.push({code:"POINTER_MISSING",message:`'${n}' does not exist @ '${this.baseUri.toString()}'`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:t||[]}),r;let i=new h.ResolveCrawler(this,n,r);i.computeGraph(r.result,t,n||"");let o=[];if(i.resolvers.length&&(o=yield Promise.all(i.resolvers)),o.length)for(let e of o){let n=e.targetPath;if(!n.length&&(n=t||[]),r.refMap[String(this.baseUri.clone().fragment((0,a.pathToPointer)(n)))]=String(e.uri),this._setGraphNodeEdge(String(this.root),(0,a.pathToPointer)(n),String(e.uri)),e.error&&r.errors.push(e.error),!!e.resolved)e.resolved.errors&&(r.errors=r.errors.concat(e.resolved.errors)),void 0!==e.resolved.result&&(this._source=(0,u.default)(this._source,t=>{if(e.resolved){if(!n.length)return e.resolved.result;s(t,n,e.resolved.result),this._setGraphNodeData(String(e.uri),e.resolved.result)}}))}if("object"==typeof this._source?(this.dereferenceInline&&(this._source=(0,u.default)(this._source,e=>{let t=[];try{for(let n of t=i.pointerGraph.overallOrder()){let t=i.pointerGraph.dependantsOf(n);if(!t.length)continue;let o=(0,a.pointerToPath)(n),c=0===o.length?(0,u.original)(e):l(e,o);for(let u of t){let t;let l=(0,a.pointerToPath)(u);for(let e of i.pointerStemGraph.dependenciesOf(n))if((0,a.startsWith)(l,(0,a.pointerToPath)(e))){t=!0;break}!t&&(r.refMap[(0,a.pathToPointer)(l)]=(0,a.pathToPointer)(o),this._setGraphNodeEdge(this.root,(0,a.pathToPointer)(l),(0,a.pathToPointer)(o)),void 0!==c?(s(e,l,c),this._setGraphNodeData((0,a.pathToPointer)(o),c)):r.errors.push({code:"POINTER_MISSING",message:`'${n}' does not exist`,path:l,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[]}))}}}catch(e){}})),t?r.result=l(this._source,t):r.result=this._source):r.result=this._source,this.transformDereferenceResult){let a=new c(n||"");try{let{result:t,error:n}=yield this.transformDereferenceResult({source:this.source,result:r.result,targetAuthority:a,parentAuthority:this.baseUri,parentPath:e&&e.parentPath||[],fragment:a.fragment()});if(r.result=t,n)throw Error(`Could not transform dereferenced result for '${a.toString()}' - ${String(n)}`)}catch(e){r.errors.push({code:"TRANSFORM_DEREFERENCED",message:`Error: Could not transform dereferenced result for '${this.baseUri.toString()}${""!==a.fragment()?`#${a.fragment()}`:""}' - ${String(e)}`,uri:a,uriStack:this.uriStack,pointerStack:[],path:t})}}return this._setGraphNodeData(this.root,this._source),r})}_cacheKeySerializer(e){return e&&"object"==typeof e&&e.cacheKey?e.cacheKey:JSON.stringify(arguments)}computeUriCacheKey(e){return e.clone().fragment("").toString()}isFile(e){let t=e.scheme();if("file"===t)return!0;if(t){if(!this.resolvers[t])return!0}else{if("/"===e.toString().charAt(0))return!0;if(this.baseUri){let e=this.baseUri.scheme();return!!(!e||"file"===e||!this.resolvers[e])}}return!1}_setGraphNodeData(e,t){if(!this.graph.hasNode(e))return;let r=this.graph.getNodeData(e)||{};r.data=t,this.graph.setNodeData(e,r)}_setGraphNodeEdge(e,t,r){if(!this.graph.hasNode(e))return;let n=this.graph.getNodeData(e)||{};n.refMap=n.refMap||{},n.refMap[t]=r,this.graph.setNodeData(e,n)}}t.ResolveRunner=g},16283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedURI=void 0;let n=r(54998);t.ExtendedURI=class e extends n{constructor(e){super(e),this._value=e.trim()}get length(){return this._value.length}}},32234:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriIsJSONPointer=t.uriToJSONPointer=t.addToJSONPointer=void 0;let r=(e,t,r)=>{let n=e.toString(),a="",i=n,o=0,u=i.indexOf(t);for(;u>-1;)a+=n.substring(o,o+u)+r,i=i.substring(u+t.length,i.length),o+=u+t.length,u=i.indexOf(t);return i.length>0&&(a+=n.substring(n.length-i.length,n.length)),a},n=e=>r(r(e,"~","~0"),"/","~1");t.addToJSONPointer=(e,t)=>`${e}/${n(t)}`;t.uriToJSONPointer=e=>"length"in e&&0===e.length?"":""!==e.fragment()?`#${e.fragment()}`:""===e.href()?"#":"";t.uriIsJSONPointer=e=>(!("length"in e)||e.length>0)&&""===e.path()},85504:function(e,t,r){"use strict";r.r(t),r.d(t,{getLocationForJsonPath:()=>eh,ERRORS_ROOT:()=>en,getLastPathSegment:()=>ed,decycle:()=>eu,encodeUriPointer:()=>$,extractPointerFromRef:()=>es,getFirstPrimitiveProperty:()=>ec,parseTree:()=>em,toPropertyPath:()=>ek,trapAccess:()=>eI,isExternalRef:()=>K,decodePointerFragment:()=>eo,safeStringify:()=>eP,startsWith:()=>ew,KEYS:()=>eA,BUNDLE_ROOT:()=>er,safeParse:()=>ej,renameObjectKey:()=>eg,extractSourceFromRef:()=>Z,resolveInlineRefWithLocation:()=>et,pointerToPath:()=>B,resolveExternalRef:()=>eE,isPlainObject:()=>A,stringify:()=>eS,traverse:()=>W,resolveInlineRef:()=>ee,parseWithPointers:()=>ep,isLocalRef:()=>D,decodePointer:()=>J,encodePointerUriFragment:()=>z,remapRefs:()=>G,hasRef:()=>R,reparentBundleTarget:()=>e_,getJsonPathForPosition:()=>ef,trimStart:()=>eR,resolveExternalRefWithLocation:()=>eO,encodePointer:()=>el,bundleTarget:()=>ea,decodePointerUriFragment:()=>J,pathToPointer:()=>F,encodePointerFragment:()=>T});var n,a,i,o,u,l,s,c,f,d,h,p=r("96486"),m=r("75966");function v(e,t){void 0===t&&(t=!1);var r=e.length,n=0,a="",i=0,o=16,u=0,l=0,s=0,c=0,f=0;function d(){if(a="",f=0,i=n,l=u,c=s,n>=r)return i=r,o=17;var t=e.charCodeAt(n);if(g(t)){do n++,a+=String.fromCharCode(t),t=e.charCodeAt(n);while(g(t));return o=15}if(y(t))return n++,a+=String.fromCharCode(t),13===t&&10===e.charCodeAt(n)&&(n++,a+="\n"),u++,s=n,o=14;switch(t){case 123:return n++,o=1;case 125:return n++,o=2;case 91:return n++,o=3;case 93:return n++,o=4;case 58:return n++,o=6;case 44:return n++,o=5;case 34:return n++,a=function(){for(var t="",a=n;;){if(n>=r){t+=e.substring(a,n),f=2;break}var i=e.charCodeAt(n);if(34===i){t+=e.substring(a,n),n++;break}if(92===i){if(t+=e.substring(a,n),++n>=r){f=2;break}switch(e.charCodeAt(n++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:var o=function(t,r){for(var a=0,i=0;a<4||!r;){var o=e.charCodeAt(n);if(o>=48&&o<=57)i=16*i+o-48;else if(o>=65&&o<=70)i=16*i+o-65+10;else if(o>=97&&o<=102)i=16*i+o-97+10;else break;n++,a++}return a=0?t+=String.fromCharCode(o):f=4;break;default:f=5}a=n;continue}if(i>=0&&i<=31){if(y(i)){t+=e.substring(a,n),f=2;break}f=6}n++}return t}(),o=10;case 47:var d=n-1;if(47===e.charCodeAt(n+1)){for(n+=2;n=12&&e<=15);return e}:d,getToken:function(){return o},getTokenValue:function(){return a},getTokenOffset:function(){return i},getTokenLength:function(){return n-i},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return i-c},getTokenError:function(){return f}}}function g(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function y(e){return 10===e||13===e||8232===e||8233===e}function _(e){return e>=48&&e<=57}(l||(l={})).DEFAULT={allowTrailingComma:!1};var b=function e(t,r,n){var a,i,o;if(void 0===n&&(n=!1),a=t,i=r,void 0===(o=n)&&(o=!1),i>=a.offset&&i0){for(var a=n.getToken();17!==a;){if(-1!==t.indexOf(a)){_();break}if(-1!==r.indexOf(a))break;a=_()}}}function E(e){var t=n.getTokenValue();return e?d(t):u(t),_(),!0}function O(){switch(n.getToken()){case 3:return function(){c(),_();for(var e=!1;4!==n.getToken()&&17!==n.getToken();){if(5===n.getToken()){if(!e&&b(4,[],[]),h(","),_(),4===n.getToken()&&y)break}else e&&b(6,[],[]);!O()&&b(4,[],[4,5]),e=!0}return f(),4!==n.getToken()?b(8,[4],[]):_(),!0}();case 1:return function(){o(),_();for(var e=!1;2!==n.getToken()&&17!==n.getToken();){if(5===n.getToken()){if(!e&&b(4,[],[]),h(","),_(),2===n.getToken()&&y)break}else e&&b(6,[],[]);!(10!==n.getToken()?(b(3,[],[2,5]),!1):(E(!1),6===n.getToken()?(h(":"),_(),!O()&&b(4,[],[2,5])):b(5,[],[2,5]),!0))&&b(4,[],[2,5]),e=!0}return s(),2!==n.getToken()?b(7,[2],[]):_(),!0}();case 10:return E(!0);default:return function(){switch(n.getToken()){case 11:var e=0;try{e=JSON.parse(n.getTokenValue()),"number"!=typeof e&&(b(2),e=0)}catch(e){b(2)}d(e);break;case 7:d(null);break;case 8:d(!0);break;case 9:d(!1);break;default:return!1}return _(),!0}()}}if(_(),17===n.getToken())return!!r.allowEmptyContent||(b(4,[],[]),!1);return O()?(17!==n.getToken()&&b(9,[],[]),!0):(b(4,[],[]),!1)};let j=Math.floor(Date.now()/36e5),x=`__object_order_${j}__`,P=Symbol.for(x);String(P);let w={defineProperty:(e,t,r)=>(!Object.prototype.hasOwnProperty.call(e,t)&&P in e?e[P].push(t):"value"in r&&t===P&&-1===r.value.lastIndexOf(P)&&r.value.push(P),Reflect.defineProperty(e,t,r)),deleteProperty(e,t){let r=Object.prototype.hasOwnProperty.call(e,t),n=Reflect.deleteProperty(e,t);if(n&&r&&P in e){let r=e[P].indexOf(t);-1!==r&&e[P].splice(r,1)}return n},ownKeys:e=>P in e?e[P]:Reflect.ownKeys(e),set(e,t,r){let n=Object.prototype.hasOwnProperty.call(e,t),a=Reflect.set(e,t,r);return a&&!n&&P in e&&e[P].push(t),a}};function S(e){return null!==e&&"object"==typeof e}(n=s||(s={})).None="none",n.Declared="declared",n.InheritedFromService="inheritedFromService",(a=c||(c={})).Unspecified="unspecified",a.Simple="simple",a.Matrix="matrix",a.Label="label",a.Form="form",a.CommaDelimited="commaDelimited",a.SpaceDelimited="spaceDelimited",a.PipeDelimited="pipeDelimited",a.DeepObject="deepObject",a.TabDelimited="tabDelimited",(i=f||(f={}))[i.Error=0]="Error",i[i.Warning=1]="Warning",i[i.Information=2]="Information",i[i.Hint=3]="Hint",(o=d||(d={})).Article="article",o.HttpService="http_service",o.HttpServer="http_server",o.HttpOperation="http_operation",o.HttpCallback="http_callback",o.Model="model",o.Generic="generic",o.Unknown="unknown",o.TableOfContents="table_of_contents",o.SpectralRuleset="spectral_ruleset",o.Styleguide="styleguide",o.Image="image",o.StoplightResolutions="stoplight_resolutions",o.StoplightOverride="stoplight_override",(u=h||(h={})).Json="json",u.Markdown="markdown",u.Yaml="yaml",u.Javascript="javascript",u.Apng="apng",u.Avif="avif",u.Bmp="bmp",u.Gif="gif",u.Jpeg="jpeg",u.Png="png",u.Svg="svg",u.Webp="webp";var k=r("87668"),C=r.n(k);function A(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype||"function"==typeof e.constructor&&Function.toString.call(Object)===Function.toString.call(e.constructor)}function M(e){if("string"!=typeof e.$ref)throw TypeError("$ref should be a string")}let I=e=>A(e)&&"$ref"in e,R=e=>I(e)&&"string"==typeof e.$ref,D=e=>e.length>0&&("#"===e||/^#\S*$/.test(e)),N=(e,t,r)=>{let n=e.toString(),a="",i=n,o=0,u=i.indexOf(t);for(;u>-1;)a+=n.substring(o,o+u)+r,i=i.substring(u+t.length,i.length),o+=u+t.length,u=i.indexOf(t);return i.length>0&&(a+=n.substring(n.length-i.length,n.length)),a},T=e=>"number"==typeof e?e:N(N(e,"~","~0"),"/","~1"),L=/[^a-zA–Z0–9_.!~*'()\/\-\u{D800}-\u{DFFF}]/gu;function $(e){return e.replace(L,encodeURIComponent)}let z=e=>{let t=T(e);return"number"==typeof t?t:$(t)},F=e=>U(e),U=e=>{if(e&&"object"!=typeof e)throw TypeError("Invalid type: path must be an array of segments.");return 0===e.length?"#":`#/${e.map(z).join("/")}`};function Q(e){try{return decodeURIComponent(e)}catch(t){return e}}let q=/%[0-9a-f]+/gi,J=e=>{let t;try{t=decodeURIComponent(e)}catch(r){t=e.replace(q,Q)}return N(N(t,"~1","/"),"~0","~")},B=e=>H(e),H=e=>{if("string"!=typeof e)throw TypeError("Invalid type: JSON Pointers are represented as strings.");if(0===e.length||"#"!==e[0])throw URIError("Invalid JSON Pointer syntax; URI fragment identifiers must begin with a hash.");if(1===e.length)return[];if("/"!==e[1])throw URIError("Invalid JSON Pointer syntax.");return(e=>{let t=e.length,r=[],n=-1;for(;++n{let n={value:e,path:r};for(let a of(t.onEnter&&t.onEnter(n),Object.keys(e))){let n=e[a];t.onProperty&&t.onProperty({parent:e,parentPath:r,property:a,propertyValue:n}),"object"==typeof n&&null!==n&&V(n,t,r.concat(a))}t.onLeave&&t.onLeave(n)},W=(e,t)=>{"object"==typeof e&&null!==e&&V(e,"function"==typeof t?{onProperty:t}:t,[])};function G(e,t,r){W(e,{onProperty({property:e,propertyValue:n,parent:a}){"$ref"===e&&"string"==typeof n&&n.startsWith(t)&&(a.$ref=`${r}${n.slice(t.length)}`)}})}let K=e=>e.length>0&&"#"!==e[0],Z=e=>{if("string"!=typeof e||0===e.length||!K(e))return null;let t=e.indexOf("#");return -1===t?e:e.slice(0,t)};function X(e,t){return A(t)&&A(e)&&("summary"in e||"description"in e)?Object.assign(Object.assign(Object.assign({},t),"description"in e?{description:e.description}:null),"summary"in e?{summary:e.summary}:null):t}function*Y(e,t,r){for(let[n,a]of(I(e.value)&&(M(e.value),yield[-1,e.value]),t.entries()))(function(e,t,r){if(!A(e)&&!Array.isArray(e)||!(t in e))throw ReferenceError(`Could not resolve '${r}'`)})(e.value,a,r),e.value=e.value[a],I(e.value)&&(M(e.value),yield[n,e.value])}function ee(e,t){return et(e,t).value}function et(e,t){return function e(t,r,n,a){if(null!==Z(r))throw ReferenceError("Cannot resolve external references");let i=B(r),o=[...i];"#"===r&&I(t)&&(M(t),i.unshift(...B(t.$ref)));let u={value:t};for(let[l,s]of Y(u,i,r)){if(n.includes(s))return{source:null,location:null!=a?a:o,value:n[n.length-1]};n.push(s);let r=e(t,s.$ref,n,o);u.value=r.value,(o=r.location).push(...i.slice(l+1))}return{source:null,location:o,value:n.length>0?X(n[n.length-1],u.value):u.value}}(e,t,[])}let er="#/__bundled__",en="#/__errors__",ea=({document:e,path:t,bundleRoot:r="#/__bundled__",errorsRoot:n="#/__errors__",cloneDocument:a=!0,keyProvider:i},o)=>{if(t===r||t===n)throw Error("Roots do not make any sense");return ei(a?(0,p.cloneDeep)(e):e,B(r),B(n),t,i)(t,{[t]:!0},o)},ei=(e,t,r,n,a)=>{let i=new Set,o=(u,l,s,c={},f={},d={})=>{let h=B(u),m=(0,p.get)(e,h);W(s||m,{onEnter:({value:r})=>{if(R(r)&&D(r.$ref)){let s,h,m,v,g;let y=r.$ref;if(!d[y]){if(y===u&&(c[y]="#"),c[y])return void(r.$ref=c[y]);try{let r;s=B(y),a&&(r=a({document:e,path:s})),r||(r=(({document:e,path:t})=>0===t.length?"root":Array.isArray((0,p.get)(e,t.slice(0,-1)))?`${t[t.length-2]}_${t[t.length-1]}`:String(t[t.length-1]))({document:e,path:s})),m=r;let n=1;for(;i.has(m);)if(m=`${r}_${++n}`,n>20)throw Error(`Keys ${r}_2 through ${r}_20 already taken.`);i.add(m),h=[...t,m],v=F(h)}catch(e){d[y]=e instanceof Error?e.message:String(e)}if(s&&h&&v){if("object"==typeof e&&null!==e&&!(g=(0,p.get)(e,s)))try{g=ee(Object(e),y)}catch(e){}void 0!==g&&(c[y]=v,r.$ref=v,(0,p.has)(f,h)||(Array.isArray(g)?(0,p.set)(f,h,Array(g.length).fill(null)):"object"==typeof g&&(0,p.setWith)(f,h,{},Object),(0,p.set)(f,h,g),"#"===y?function(e,t,r,n){let a=r.map(e=>`[${JSON.stringify(e)}]`).join(""),i=JSON.parse(JSON.stringify((0,p.omit)(Object(e),a))),o={};(0,p.set)(t,n,i),(0,p.set)(i,r,o),G(i,"#",F(n)),o.$ref="#"}(e,f,B(n),h):l[y]||(l[y]=!0,o(u,l,g,c,f,d),l[y]=!1)))}}}}});let v=(0,p.get)(f,t);return v&&Object.keys(v).length&&(0,p.set)(m,t,v),(Object.keys(d).length||(0,p.has)(e,r))&&(0,p.set)(m,r,(0,p.has)(e,r)?(0,p.get)(e,r):d),m};return o},eo=e=>N(N(e,"~1","/"),"~0","~"),eu=(e,t)=>{let r=new WeakMap;return function e(n,a){let i;if(t&&(n=t(n)),A(n)||Array.isArray(n)){let t=r.get(n);return t?{$ref:t}:(r.set(n,F(a)),Array.isArray(n)?i=n.map((t,r)=>e(t,[...a,String(r)])):(i={},Object.keys(n).forEach(t=>{i[t]=e(n[t],[...a,t])})),r.delete(n),i)}return n}(e,[])},el=e=>N(N(e,"~","~0"),"//","/~1"),es=e=>{if("string"!=typeof e||0===e.length)return null;let t=e.indexOf("#");return -1===t?null:e.slice(t)},ec=e=>{let t=v(e,!0);if(t.scan(),1!==t.getToken()||(t.scan(),2===t.getToken()))return;if(10!==t.getToken())throw SyntaxError("Unexpected character");let r=t.getTokenValue();if(t.scan(),6!==t.getToken())throw SyntaxError("Colon expected");switch(t.scan(),t.getToken()){case 10:return[r,t.getTokenValue()];case 11:return[r,Number(t.getTokenValue())];case 8:return[r,!0];case 9:return[r,!1];case 7:return[r,null];case 16:throw SyntaxError("Unexpected character");case 17:throw SyntaxError("Unexpected end of file");default:return}},ef=({lineMap:e,ast:t},r)=>{let n=e[r.line],a=e[r.line+1];if(void 0===n)return;let i=b(t,void 0===a?n+r.character:Math.min(a,n+r.character),!0);if(void 0===i)return;let o=E(i);return 0!==o.length?o:void 0};function ed(e){return eo(e.split("/").pop()||"")}let eh=({ast:e},t,r=!1)=>{let n=function(e,t,r){e:for(let n of t){let t=Number.isInteger(Number(n))?Number(n):n;if("string"==typeof t||"number"==typeof t&&"array"!==e.type){if("object"!==e.type||!Array.isArray(e.children))return r?e:void 0;for(let r of e.children)if(Array.isArray(r.children)&&r.children[0].value===String(t)&&2===r.children.length){e=r.children[1];continue e}return r?e:void 0}if("array"!==e.type||t<0||!Array.isArray(e.children)||t>=e.children.length)return r?e:void 0;e=e.children[t]}return e}(e,t,r);if(void 0!==n&&void 0!==n.range)return{range:n.range}},ep=(e,t={disallowComments:!0})=>{let r=[],{ast:n,data:a,lineMap:i}=em(e,r,t);return{data:a,diagnostics:r,ast:n,lineMap:i}};function em(e,t=[],r){let n=ev(e),a={type:"array",offset:-1,length:-1,children:[],parent:void 0},i=null,o=[],u=new WeakMap,l=[];function s(e){"property"===a.type&&(a.length=e-a.offset,a=a.parent)}function c(e,t,r){return{start:{line:e,character:t},end:{line:e,character:t+r}}}function d(e){return a.children.push(e),e}function h(e){Array.isArray(o)?o.push(e):null!==i&&(o[i]=e)}function p(e){h(e),l.push(o),o=e,i=null}function m(){o=l.pop()}O(e,{onObjectBegin:(e,t,n,i)=>{a=d({type:"object",offset:e,length:-1,parent:a,children:[],range:c(n,i,t)}),!1===r.ignoreDuplicateKeys&&u.set(a,[]),p(!0===r.preserveKeyOrder?function(e,t=Reflect.ownKeys(e)){(function(e,t){if(function(){return"undefined"==typeof process||!S(process)||S(process.env),!1}()&&!function(e){if(!S(e))return!1;if(void 0!==e[Symbol.toStringTag]){let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}return"Object"===function(e){let t=e[Symbol.toStringTag];if("string"==typeof t)return t;let r=Reflect.apply(Object.prototype.toString,e,[]);return r.slice(8,r.length-1)}(e)}(e))throw TypeError(t)})(e);let r=new Proxy(e,w);return function(e,t){P in e?(e[P].length=0,e[P].push(...t),!0):Reflect.defineProperty(e,P,{configurable:!0,value:t})}(r,t),r}({}):{})},onObjectProperty:(e,n,l,s,h)=>{if((a=d({type:"property",offset:n,length:-1,parent:a,children:[]})).children.push({type:"string",value:e,offset:n,length:l,parent:a}),!1===r.ignoreDuplicateKeys){let r=u.get(a.parent);r&&(0!==r.length&&r.includes(e)?t.push({range:c(s,h,l),message:"DuplicateKey",severity:f.Error,path:function e(t,r=[]){return"property"===t.type&&r.unshift(t.children[0].value),void 0!==t.parent?("array"===t.parent.type&&void 0!==t.parent.parent&&r.unshift(t.parent.children.indexOf(t)),e(t.parent,r)):r}(a),code:20}):r.push(e))}!0===r.preserveKeyOrder&&function(e,t){if(!(t in e))return;let r=e[P],n=r.indexOf(t);-1!==n&&(r.splice(n,1),r.push(t))}(o,e),i=e},onObjectEnd:(e,t,n,i)=>{!1===r.ignoreDuplicateKeys&&u.delete(a),a.length=e+t-a.offset,a.range&&(a.range.end.line=n,a.range.end.character=i+t),a=a.parent,s(e+t),o=l.pop()},onArrayBegin:(e,t,r,n)=>{a=d({type:"array",offset:e,length:-1,parent:a,children:[],range:c(r,n,t)}),p([])},onArrayEnd:(e,t,r,n)=>{a.length=e+t-a.offset,a.range&&(a.range.end.line=r,a.range.end.character=n+t),a=a.parent,s(e+t),o=l.pop()},onLiteralValue:(e,t,r,n,i)=>{d({type:function(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}(e),offset:t,length:r,parent:a,value:e,range:c(n,i,r)}),s(t+r),h(e)},onSeparator:(e,t)=>{"property"===a.type&&(":"===e?a.colonOffset=t:","===e&&s(t))},onError:(e,r,n,a,i)=>{t.push({range:c(a,i,n),message:function(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return""}(e),severity:f.Error,code:e})}},r);let v=a.children[0];return v&&delete v.parent,{ast:v,data:o[0],lineMap:n}}let ev=e=>{let t=[0],r=0;for(;r{if(!e||!Object.hasOwnProperty.call(e,t)||t===r)return e;let n={};for(let[a,i]of Object.entries(e))a===t?n[r]=i:a in n||(n[a]=i);return n};function ey(e){return A(e)||Array.isArray(e)}function e_(e,t,r){if(r.length<=1||t.length<=1)throw Error("Source/target path must not be empty and point at root");if(0===t.indexOf(r))throw Error("Target path cannot be contained within source");let n=B(t),a=e;for(let e of n){if(!ey(a))return;a=a[e]}if(!ey(a))return;let i=B(r),o=e;for(let[e,t]of i.entries()){if(!ey(o)||t in o)return;let r=e===i.length-1?a:{};o[t]=r,o=r}delete e[n[0]],function e(t,r,n){for(let a of Object.keys(t)){let i=t[a];if("$ref"!==a)ey(i)&&e(i,r,n);else{if("string"!=typeof i||!D(i))continue;0===i.indexOf(r)&&(t[a]=i.replace(r,n))}}}(e,t,r)}async function eb(e,t,r,n,a){let i=function(e,t){let r=Z(t);return null===r?e:(0,m.isAbsolute)(r)?r:(0,m.join)((0,m.dirname)(e),r)}(t,r),o=es(r)||"#",u=await e[i],l=B(o),s=[...l],c={value:u};for(let[r,u]of Y(c,l,o)){if(n.includes(u))return{source:t,location:null!=a?a:s,value:n[n.length-1]};n.push(u);let o=await eb(e,i,u.$ref,n,s);({source:i,location:s}=o),c.value=o.value,s.push(...l.slice(r+1))}return{source:i,location:s,value:n.length>0?X(n[n.length-1],c.value):c.value}}async function eE(e,t,r){return(await eO(e,t,r)).value}function eO(e,t,r){return eb(e,t,r,[])}let ej=(e,t)=>{if("string"!=typeof e)return e;try{let r=ex(e);return"string"==typeof r?r:JSON.parse(e,t)}catch(e){return}},ex=e=>{let t=Number(e);return Number.isFinite(t)?String(t)===e?t:e:NaN},eP=(e,t,r)=>{if("string"==typeof e)return e;try{return JSON.stringify(e,t,r)}catch(n){return C()(e,t,r)}},ew=(e,t)=>{if(e instanceof Array){if(t instanceof Array){if(t.length>e.length)return!1;for(let r in t){if(!t.hasOwnProperty(r))continue;let n=parseInt(e[r]),a=parseInt(t[r]);if(isNaN(n)&&isNaN(a)){if(e[r]!==t[r])return!1}else if(n!==a)return!1}}}else{if("string"!=typeof e)return!1;if("string"==typeof t)return e.startsWith(t)}return!0},eS=(e,t,r)=>{let n=eP(e,t,r);if(void 0===n)throw Error("The value could not be stringified");return n};function ek(e){return e.replace(/^(\/|#\/)/,"").split("/").map(eo).map(eC).join(".")}function eC(e){return e.includes(".")?`["${e.replace(/"/g,'\\"')}"]`:e}let eA=Symbol.for(x),eM={ownKeys:e=>eA in e?e[eA]:Reflect.ownKeys(e)},eI=e=>new Proxy(e,eM);function eR(e,t){if("string"==typeof e&&"string"==typeof t)return(0,p.trimStart)(e,t);if(!(e&&Array.isArray(e)&&e.length&&t&&Array.isArray(t)&&t.length))return e;let r=0;for(let n in e)if(e.hasOwnProperty(n)){if(e[n]!==t[n])break;r++}return e.slice(r)}},75966:function(e,t,r){"use strict";function n(e){let t="";return e.absolute&&("file"===e.protocol?(e.drive&&(t+=e.drive),t+="/"):(t+=e.protocol+"://",e.origin&&(t+=e.origin+"/"))),""===(t+=e.path.join("/"))&&(t="."),t}function a(e,t,r,n){this.message=e,this.expected=t,this.found=r,this.location=n,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,a)}r.r(t),r.d(t,{basename:function(){return c},deserializeSrn:function(){return E},dirname:function(){return f},extname:function(){return d},format:function(){return n},isAbsolute:function(){return h},isURL:function(){return p},join:function(){return m},normalize:function(){return u},parse:function(){return o},relative:function(){return v},resolve:function(){return g},sep:function(){return y},serializeSrn:function(){return O},startsWithWindowsDrive:function(){return _},stripRoot:function(){return b},toFSPath:function(){return u}}),!function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(a,Error),a.buildMessage=function(e,t){var r,n={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t,r="";for(t=0;t0){for(t=1,r=1;tx&&(x=O,P=[]),P.push(e))}function M(){var t,r,n,a,i,o,l,s,c,f,p,m,v,y,_,b,E,j,x,P,w,S,k,C,M,L,z,F,U,Q,q,J;return r=O,(n=I())!==u&&(a=R())!==u&&(i=N())!==u&&(o=T())!==u?(l=n,s=a,c=i,f=o,r=n={protocol:l,origin:s,absolute:!0,...c,...f}):(O=r,r=u),r===u&&(r=O,(n=I())!==u&&(a=R())!==u&&((p="")!==u&&(p={drive:null}),(i=p)!==u)?r=n={protocol:n,origin:a,absolute:!0,...i,path:[]}:(O=r,r=u)),(t=r)===u&&(m=O,("file://"===e.substr(O,7).toLowerCase()?(b=e.substr(O,7),O+=7):(b=u,A(d)),b===u&&("file:"===e.substr(O,5).toLowerCase()?(b=e.substr(O,5),O+=5):(b=u,A(h))),b!==u&&(b="file"),(v=b)!==u&&(y=D())!==u&&(_=T())!==u)?(j=v,x=y,P=_,m=v={protocol:j,origin:null,absolute:!0,...x,...P}):(O=m,m=u),(t=m)===u)&&(w=O,(S=D())!==u&&(k=T())!==u?(C=S,M=k,w=S={protocol:"file",origin:null,absolute:!0,...C,...M}):(O=w,w=u),(t=w)===u)&&(L=O,(Q=O,46===e.charCodeAt(O)?(q=".",O++):(q=u,A(g)),q!==u&&(J=$())!==u?Q=q=[q,J]:(O=Q,Q=u),(U=Q)===u&&(U=""),(z=U)!==u&&(F=T())!==u)?L=z={protocol:null,origin:null,absolute:!1,drive:null,...F}:(O=L,L=u),t=L),t}function I(){var t,r,n,a,i;return"http://"===e.substr(O,7).toLowerCase()?(r=e.substr(O,7),O+=7):(r=u,A(c)),r!==u&&(r="http"),(t=r)===u&&("https://"===e.substr(O,8).toLowerCase()?(a=e.substr(O,8),O+=8):(a=u,A(f)),a!==u&&(a="https"),t=a),t}function R(){var t,r,n;if(t=O,r=[],(n=z())!==u)for(;n!==u;)r.push(n),n=z();else r=u;return(t=r!==u?e.substring(t,O):r)===u&&(t=O,(r="")!==u&&(r=null),t=r),t}function D(){var t,r,n,a,i;return r=O,(n=$())===u&&(n=null),n!==u?(p.test(e.charAt(O))?(a=e.charAt(O),O++):(a=u,A(m)),a!==u?(58===e.charCodeAt(O)?(i=":",O++):(i=u,A(v)),i!==u&&$()!==u?r=n={drive:a.toLowerCase()+":"}:(O=r,r=u)):(O=r,r=u)):(O=r,r=u),(t=r)===u&&(t=N()),t}function N(){var e;return(e=$())!==u&&(e={drive:null}),e}function T(){var e;return(e=function e(){var t,r,n;return t=O,(r=L())!==u&&$()!==u&&(n=e())!==u?t=r=[r,...n]:(O=t,t=u),t===u&&(t=O,(r=L())!==u&&(r=[r]),t=r),t}())!==u&&(e={path:e}),e}function L(){var t,r,n;if(t=O,r=[],(n=z())!==u)for(;n!==u;)r.push(n),n=z();else r=u;return(t=r!==u?e.substring(t,O):r)===u&&(t=""),t}function $(){var t;return 47===e.charCodeAt(O)?(t="/",O++):(t=u,A(y)),t===u&&(92===e.charCodeAt(O)?(t="\\",O++):(t=u,A(_))),t}function z(){var t;return b.test(e.charAt(O))?(t=e.charAt(O),O++):(t=u,A(E)),t}if((r=s())!==u&&O===e.length)return r;throw r!==u&&O""!==e&&"."!==e);let r=[];for(let n of t)".."===n&&r.length&&".."!==r[r.length-1]?r.pop():".."===n&&e.absolute||r.push(n);return e.path=r,e}function s(e){let t=e.lastIndexOf(".");".."===e&&(t=-1),"."===e&&(t=-1);let r=e,n="";return t>0&&(r=e.slice(0,t),n=e.slice(t)),{name:r,ext:n}}let c=(e,t)=>{let r=l(o(e)).path.pop();if(!r)return"";let{name:n,ext:a}=s(r);return!0===t||t===a?n:`${n}${a}`},f=e=>{let t=l(o(e));return t.path.pop(),n(l(t))},d=e=>{let t=l(o(e)).path.pop();if(!t)return"";let{ext:r}=s(t);return r};function h(e){return o(e).absolute}function p(e){let t=o(e);return"http"===t.protocol||"https"===t.protocol}let m=(...e)=>{if(0===e.length)return".";let t=e.map(o),r=Object.assign({},t[0]);for(let n=1;nnull!==o(e).drive,b=e=>o(e).path.filter(Boolean).join("/");function E(e){let t,r;let[n,a,i,...o]=e.split("/"),u=o.length?`/${o.join("/")}`:void 0;return u&&(t=o.find(e=>e.includes(".")))&&(r=s(t).ext),{shortcode:n,orgSlug:a,projectSlug:i,uri:u,file:t,ext:r}}function O({shortcode:e,orgSlug:t,projectSlug:r,uri:n=""}){return[e,t,r,n.replace(/^\//,"")].filter(Boolean).join("/")}},45357:function(e,t){function r(e,t,r,n){var i={};return function(o){if(!i[o]){var u={},l=[],s=[];for(s.push({node:o,processed:!1});s.length>0;){var c=s[s.length-1],f=c.processed,d=c.node;if(f)s.pop(),l.pop(),u[d]=!1,i[d]=!0,(!t||0===e[d].length)&&r.push(d);else{if(i[d]){s.pop();continue}if(u[d]){if(n){s.pop();continue}throw l.push(d),new a(l)}u[d]=!0,l.push(d);for(var h=e[d],p=h.length-1;p>=0;p--)s.push({node:h[p],processed:!1});c.processed=!0}}}}}var n=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};n.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){!this.hasNode(e)&&(2==arguments.length?this.nodes[e]=t:this.nodes[e]=e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach(function(t){Object.keys(t).forEach(function(r){var n=t[r].indexOf(e);n>=0&&t[r].splice(n,1)},this)}))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw Error("Node does not exist: "+e)},setNodeData:function(e,t){if(this.hasNode(e))this.nodes[e]=t;else throw Error("Node does not exist: "+e)},addDependency:function(e,t){if(!this.hasNode(e))throw Error("Node does not exist: "+e);if(!this.hasNode(t))throw Error("Node does not exist: "+t);return -1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var r;this.hasNode(e)&&(r=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(r,1),this.hasNode(t)&&(r=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(r,1)},clone:function(){var e=this,t=new n;return Object.keys(e.nodes).forEach(function(r){t.nodes[r]=e.nodes[r],t.outgoingEdges[r]=e.outgoingEdges[r].slice(0),t.incomingEdges[r]=e.incomingEdges[r].slice(0)}),t},directDependenciesOf:function(e){if(this.hasNode(e))return this.outgoingEdges[e].slice(0);throw Error("Node does not exist: "+e)},directDependantsOf:function(e){if(this.hasNode(e))return this.incomingEdges[e].slice(0);throw Error("Node does not exist: "+e)},dependenciesOf:function(e,t){if(this.hasNode(e)){var n=[];r(this.outgoingEdges,t,n,this.circular)(e);var a=n.indexOf(e);return a>=0&&n.splice(a,1),n}throw Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var n=[];r(this.incomingEdges,t,n,this.circular)(e);var a=n.indexOf(e);return a>=0&&n.splice(a,1),n}throw Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,n=[],a=Object.keys(this.nodes);if(0===a.length)return n;if(!this.circular){var i=r(this.outgoingEdges,!1,[],this.circular);a.forEach(function(e){i(e)})}var o=r(this.outgoingEdges,e,n,this.circular);return a.filter(function(e){return 0===t.incomingEdges[e].length}).forEach(function(e){o(e)}),this.circular&&a.filter(function(e){return -1===n.indexOf(e)}).forEach(function(e){o(e)}),n},entryNodes:function(){var e=this;return Object.keys(this.nodes).filter(function(t){return 0===e.incomingEdges[t].length})}},n.prototype.directDependentsOf=n.prototype.directDependantsOf,n.prototype.dependentsOf=n.prototype.dependantsOf;var a=t.DepGraphCycleError=function(e){var t=Error("Dependency Cycle Found: "+e.join(" -> "));return t.cyclePath=e,Object.setPrototypeOf(t,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(t,a),t};a.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(a,Error)},53316:function(e){function t(e,t,r,n){var a,i=null==(a=n)||"number"==typeof a||"boolean"==typeof a?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function r(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return void 0===i&&(i=e.apply(this,n),t.set(a,i)),i}function n(e,t,r,n,a){return r.bind(t,e,n,a)}function a(e,n){var a,i,o,u,l,s=1===e.length?t:r;return a=e,i=this,o=s,u=n.cache.create(),l=n.serializer,o.bind(i,a,u,l)}function i(){return JSON.stringify(arguments)}function o(){this.cache=Object.create(null)}o.prototype.has=function(e){return e in this.cache},o.prototype.get=function(e){return this.cache[e]},o.prototype.set=function(e,t){this.cache[e]=t};var u={create:function(){return new o}};e.exports=function(e,t){var r=t&&t.cache?t.cache:u,n=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:a)(e,{cache:r,serializer:n})},e.exports.strategies={variadic:function(e,t){var n,a,i,o,u;return n=e,a=this,i=r,o=t.cache.create(),u=t.serializer,i.bind(a,n,o,u)},monadic:function(e,r){var n,a,i,o,u;return n=e,a=this,i=t,o=r.cache.create(),u=r.serializer,i.bind(a,n,o,u)}}},8041:function(e,t){function r(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function u(e,t){return 2===o(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===o(e)?e.get(t):e[t]}function s(e,t,r){var n=o(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return q&&e instanceof Map}function d(e){return J&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=X(e);delete t[W];for(var r=Z(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&i(e,function(e,t){return m(t,!0)},!0)),e}function v(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=Y[e];return t||r(18,e),t}function _(e,t){Y[e]||(Y[e]=t)}function b(){return U}function E(e,t){t&&(y("Patches"),e.o=[],e.v=[],e.s=t)}function O(e){j(e),e.p.forEach(P),e.p=null}function j(e){e===U&&(U=e.l)}function x(e){return U={p:[],l:U,h:e,_:!0,m:0}}function P(e){var t=e[W];0===t.t||1===t.t?t.j():t.O=!0}function w(e,t){t.m=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.S||y("ES5").P(t,e,i),i?(n[W].g&&(O(t),r(4)),a(e)&&(e=S(t,e),t.l||C(t,e)),t.o&&y("Patches").M(n[W].u,e,t.o,t.v)):e=S(t,n,[]),O(t),t.o&&t.s(t.o,t.v),e!==H?e:void 0}function S(e,t,r){if(g(t))return t;var n=t[W];if(!n)return i(t,function(a,i){return k(e,n,t,a,i,r)},!0),t;if(n.A!==e)return t;if(!n.g)return C(e,n.u,!0),n.u;if(!n.R){n.R=!0,n.A.m--;var a=4===n.t||5===n.t?n.i=p(n.k):n.i,o=a,u=!1;3===n.t&&(o=new Set(a),a.clear(),u=!0),i(o,function(t,i){return k(e,n,a,t,i,r,u)}),C(e,a,!1),r&&e.o&&y("Patches").F(n,r,e.o,e.v)}return n.i}function k(e,t,r,i,o,l,c){if(n(o)){var f=S(e,o,l&&t&&3!==t.t&&!u(t.N,i)?l.concat(i):void 0);if(s(r,i,f),!n(f))return;e._=!1}else c&&r.add(o);if(a(o)&&!g(o)){if(!e.h.D&&e.m<1)return;S(e,o),t&&t.A.l||C(e,o)}}function C(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e._&&m(t,r)}function A(e,t){var r=e[W];return(r?h(r):e)[t]}function M(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function I(e){e.g||(e.g=!0,e.l&&I(e.l))}function R(e){e.i||(e.i=p(e.u))}function D(e,t,r){var n,a,i,o,u,l,s,c,h,p=f(t)?y("MapSet").K(t,r):d(t)?y("MapSet").$(t,r):e.S?(n=t,a=r,u=o={t:(i=Array.isArray(n))?1:0,A:a?a.A:U,g:!1,R:!1,N:{},l:a,u:n,k:null,i:null,j:null,C:!1},l=ee,i&&(u=[o],l=et),c=(s=Proxy.revocable(u,l)).revoke,h=s.proxy,o.k=h,o.j=c,h):y("ES5").I(t,r);return(r?r.A:U).p.push(p),p}function N(e){return n(e)||r(22,e),function e(t){if(!a(t))return t;var r,n=t[W],u=o(t);if(n){if(!n.g&&(n.t<4||!y("ES5").J(n)))return n.u;n.R=!0,r=T(t,u),n.R=!1}else r=T(t,u);return i(r,function(t,a){n&&l(n.u,t)===a||s(r,t,e(a))}),3===u?new Set(r):r}(e)}function T(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function L(){function e(e,t){var r=o[e];return r?r.enumerable=t:o[e]=r={configurable:!0,enumerable:t,get:function(){return ee.get(this[W],e)},set:function(t){ee.set(this[W],e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var n=e[t][W];if(!n.g)switch(n.t){case 5:a(n)&&I(n);break;case 4:r(n)&&I(n)}}}function r(e){for(var t=e.u,r=e.k,n=Z(r),a=n.length-1;a>=0;a--){var i=n[a];if(i!==W){var o=t[i];if(void 0===o&&!u(t,i))return!0;var l=r[i],s=l&&l[W];if(s?s.u!==o:!c(l,o))return!0}}var f=!!t[W];return n.length!==Z(t).length+(f?0:1)}function a(e){var t=e.k;if(t.length!==e.u.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n1?a-1:0),o=1;o1?n-1:0),i=1;i=0;r--){var r,a=t[r];if(0===a.path.length&&"replace"===a.op){e=a.value;break}}r>-1&&(t=t.slice(r+1));var i=y("Patches").W;return n(e)?i(e,t):this.produce(e,function(e){return i(e,t)})},e}(),en=new er,ea=en.produce,ei=en.produceWithPatches.bind(en),eo=en.setAutoFreeze.bind(en),eu=en.setUseProxies.bind(en),el=en.applyPatches.bind(en),es=en.createDraft.bind(en),ec=en.finishDraft.bind(en);t.Immer=er,t.applyPatches=el,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=es,t.current=N,t.default=ea,t.enableAllPlugins=function(){L(),z(),$()},t.enableES5=L,t.enableMapSet=z,t.enablePatches=$,t.finishDraft=ec,t.freeze=m,t.immerable=V,t.isDraft=n,t.isDraftable=a,t.nothing=H,t.original=function(e){return n(e)||r(23,e),e[W].u},t.produce=ea,t.produceWithPatches=ei,t.setAutoFreeze=eo,t.setUseProxies=eu},66312:function(e,t,r){"use strict";e.exports=r(8041)},1989:function(e,t,r){var n=r(51789),a=r(80401),i=r(57667),o=r(21327),u=r(81866);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1}},54705:function(e,t,r){var n=r(18470);e.exports=function(e,t){var r=this.__data__,a=n(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}},24785:function(e,t,r){var n=r(1989),a=r(38407),i=r(57071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||a),string:new n}}},11285:function(e,t,r){var n=r(45050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).get(e)}},49916:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).has(e)}},95265:function(e,t,r){var n=r(45050);e.exports=function(e,t){var r=n(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}},24523:function(e,t,r){var n=r(88306);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},94536:function(e,t,r){var n=r(10852)(Object,"create");e.exports=n},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,r){var n=r(31957),a="object"==typeof self&&self&&self.Object===Object&&self,i=n||a||Function("return this")();e.exports=i},55514:function(e,t,r){var n=r(24523),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,function(e,r,n,a){t.push(n?a.replace(i,"$1"):r||e)}),t});e.exports=o},40327:function(e,t,r){var n=r(33448),a=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},27361:function(e,t,r){var n=r(97786);e.exports=function(e,t,r){var a=null==e?void 0:n(e,t);return void 0===a?r:a}},1469:function(e){var t=Array.isArray;e.exports=t},23560:function(e,t,r){var n=r(44239),a=r(13218);e.exports=function(e){if(!a(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,r){var n=r(44239),a=r(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==n(e)}},96486:function(e,t,r){e=r.nmd(e),(function(){var n,a="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",u=1/0,l=0/0,s=0xfffffffe,c=0x7fffffff,f=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],d="[object Arguments]",h="[object Array]",p="[object Boolean]",m="[object Date]",v="[object Error]",g="[object Function]",y="[object GeneratorFunction]",_="[object Map]",b="[object Number]",E="[object Object]",O="[object Promise]",j="[object RegExp]",x="[object Set]",P="[object String]",w="[object Symbol]",S="[object WeakMap]",k="[object ArrayBuffer]",C="[object DataView]",A="[object Float32Array]",M="[object Float64Array]",I="[object Int8Array]",R="[object Int16Array]",D="[object Int32Array]",N="[object Uint8Array]",T="[object Uint8ClampedArray]",L="[object Uint16Array]",$="[object Uint32Array]",z=/\b__p \+= '';/g,F=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Q=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,J=RegExp(Q.source),B=RegExp(q.source),H=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,W=/<%=([\s\S]+?)%>/g,G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,Z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(X.source),ee=/^\s+/,et=/\s/,er=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,ea=/,? & /,ei=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,eo=/[()=,{}\[\]\/\s]/,eu=/\\(\\)?/g,el=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,es=/\w*$/,ec=/^[-+]0x[0-9a-f]+$/i,ef=/^0b[01]+$/i,ed=/^\[object .+?Constructor\]$/,eh=/^0o[0-7]+$/i,ep=/^(?:0|[1-9]\d*)$/,em=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ev=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,ey="\ud800-\udfff",e_="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",eE="a-z\\xdf-\\xf6\\xf8-\\xff",eO="A-Z\\xc0-\\xd6\\xd8-\\xde",ej="\\ufe0e\\ufe0f",ex="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",eP="['\u2019]",ew="["+ex+"]",eS="["+e_+"]",ek="["+eE+"]",eC="[^"+ey+ex+"\\d+"+eb+eE+eO+"]",eA="\ud83c[\udffb-\udfff]",eM="[^"+ey+"]",eI="(?:\ud83c[\udde6-\uddff]){2}",eR="[\ud800-\udbff][\udc00-\udfff]",eD="["+eO+"]",eN="\\u200d",eT="(?:"+ek+"|"+eC+")",eL="(?:"+eD+"|"+eC+")",e$="(?:"+eP+"(?:d|ll|m|re|s|t|ve))?",ez="(?:"+eP+"(?:D|LL|M|RE|S|T|VE))?",eF="(?:"+eS+"|"+eA+")?",eU="["+ej+"]?",eQ="(?:"+eN+"(?:"+[eM,eI,eR].join("|")+")"+eU+eF+")*",eq=eU+eF+eQ,eJ="(?:"+["["+eb+"]",eI,eR].join("|")+")"+eq,eB="(?:"+[eM+eS+"?",eS,eI,eR,"["+ey+"]"].join("|")+")",eH=RegExp(eP,"g"),eV=RegExp(eS,"g"),eW=RegExp(eA+"(?="+eA+")|"+eB+eq,"g"),eG=RegExp([eD+"?"+ek+"+"+e$+"(?="+[ew,eD,"$"].join("|")+")",eL+"+"+ez+"(?="+[ew,eD+eT,"$"].join("|")+")",eD+"?"+eT+"+"+e$,eD+"+"+ez,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",eJ].join("|"),"g"),eK=RegExp("["+eN+ey+e_+ej+"]"),eZ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eX=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eY=-1,e0={};e0[A]=e0[M]=e0[I]=e0[R]=e0[D]=e0[N]=e0[T]=e0[L]=e0[$]=!0,e0[d]=e0[h]=e0[k]=e0[p]=e0[C]=e0[m]=e0[v]=e0[g]=e0[_]=e0[b]=e0[E]=e0[j]=e0[x]=e0[P]=e0[S]=!1;var e1={};e1[d]=e1[h]=e1[k]=e1[C]=e1[p]=e1[m]=e1[A]=e1[M]=e1[I]=e1[R]=e1[D]=e1[_]=e1[b]=e1[E]=e1[j]=e1[x]=e1[P]=e1[w]=e1[N]=e1[T]=e1[L]=e1[$]=!0,e1[v]=e1[g]=e1[S]=!1;var e2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e6=parseFloat,e4=parseInt,e5="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,e3="object"==typeof self&&self&&self.Object===Object&&self,e9=e5||e3||Function("return this")(),e7=t&&!t.nodeType&&t,e8=e7&&e&&!e.nodeType&&e,te=e8&&e8.exports===e7,tt=te&&e5.process,tr=function(){try{var e=e8&&e8.require&&e8.require("util").types;if(e)return e;return tt&&tt.binding&&tt.binding("util")}catch(e){}}(),tn=tr&&tr.isArrayBuffer,ta=tr&&tr.isDate,ti=tr&&tr.isMap,to=tr&&tr.isRegExp,tu=tr&&tr.isSet,tl=tr&&tr.isTypedArray;function ts(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function tc(e,t,r,n){for(var a=-1,i=null==e?0:e.length;++a-1}function tv(e,t,r){for(var n=-1,a=null==e?0:e.length;++n-1;);return r}function tz(e,t){for(var r=e.length;r--&&tP(t,e[r],0)>-1;);return r}var tF=tA({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"}),tU=tA({"&":"&","<":"<",">":">",'"':""","'":"'"});function tQ(e){return"\\"+e2[e]}function tq(e){return eK.test(e)}function tJ(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function tB(e,t){return function(r){return e(t(r))}}function tH(e,t){for(var r=-1,n=e.length,a=0,i=[];++r",""":'"',"'":"'"}),tX=function e(t){var r,et,ey,e_,eb=(t=null==t?e9:tX.defaults(e9.Object(),t,tX.pick(e9,eX))).Array,eE=t.Date,eO=t.Error,ej=t.Function,ex=t.Math,eP=t.Object,ew=t.RegExp,eS=t.String,ek=t.TypeError,eC=eb.prototype,eA=ej.prototype,eM=eP.prototype,eI=t["__core-js_shared__"],eR=eA.toString,eD=eM.hasOwnProperty,eN=0;var eT=(r=/[^.]+$/.exec(eI&&eI.keys&&eI.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",eL=eM.toString,e$=eR.call(eP),ez=e9._,eF=ew("^"+eR.call(eD).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eU=te?t.Buffer:n,eQ=t.Symbol,eq=t.Uint8Array,eJ=eU?eU.allocUnsafe:n,eB=tB(eP.getPrototypeOf,eP),eW=eP.create,eK=eM.propertyIsEnumerable,e2=eC.splice,e5=eQ?eQ.isConcatSpreadable:n,e3=eQ?eQ.iterator:n,e7=eQ?eQ.toStringTag:n,e8=function(){try{var e=ab(eP,"defineProperty");return e({},"",{}),e}catch(e){}}(),tt=t.clearTimeout!==e9.clearTimeout&&t.clearTimeout,tr=eE&&eE.now!==e9.Date.now&&eE.now,tO=t.setTimeout!==e9.setTimeout&&t.setTimeout,tA=ex.ceil,tY=ex.floor,t0=eP.getOwnPropertySymbols,t1=eU?eU.isBuffer:n,t2=t.isFinite,t6=eC.join,t4=tB(eP.keys,eP),t5=ex.max,t3=ex.min,t9=eE.now,t7=t.parseInt,t8=ex.random,re=eC.reverse,rt=ab(t,"DataView"),rr=ab(t,"Map"),rn=ab(t,"Promise"),ra=ab(t,"Set"),ri=ab(t,"WeakMap"),ro=ab(eP,"create"),ru=ri&&new ri,rl={},rs=aH(rt),rc=aH(rr),rf=aH(rn),rd=aH(ra),rh=aH(ri),rp=eQ?eQ.prototype:n,rm=rp?rp.valueOf:n,rv=rp?rp.toString:n;function rg(e){if(i1(e)&&!iJ(e)&&!(e instanceof rE)){if(e instanceof rb)return e;if(eD.call(e,"__wrapped__"))return aV(e)}return new rb(e)}var ry=function(){function e(){}return function(t){if(!i0(t))return{};if(eW)return eW(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function r_(){}function rb(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function rE(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}rg.templateSettings={escape:H,evaluate:V,interpolate:W,variable:"",imports:{_:rg}},rg.prototype=r_.prototype,rg.prototype.constructor=rg,rb.prototype=ry(r_.prototype),rb.prototype.constructor=rb;function rO(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1},rj.prototype.set=function(e,t){var r=this.__data__,n=rR(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function rP(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new rx;++t=t?e:t)),e}function rz(e,t,r,a,i,o){var u,l=1&t,s=2&t,c=4&t;if(r&&(u=i?r(e,a,i,o):r(e)),n!==u)return u;if(!i0(e))return e;var f=iJ(e);if(f){if(u=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&eD.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!l)return nW(e,u)}else{var h,v,O=aj(e),S=O==g||O==y;if(iW(e))return nQ(e,l);if(O==E||O==d||S&&!i){if(u=s||S?{}:aP(e),!l){;return s?function(e,t){return nG(e,aO(e),t)}(e,(h=u,v=e,h&&nG(v,oO(v),h))):function(e,t){return nG(e,aE(e),t)}(e,rN(u,e))}}else{if(!e1[O])return i?e:{};u=function(e,t,r){var n,a,i,o,u,l=e.constructor;switch(t){case k:return nq(e);case p:case m:return new l(+e);case C:;return n=e,a=r?nq(n.buffer):n.buffer,new n.constructor(a,n.byteOffset,n.byteLength);case A:case M:case I:case R:case D:case N:case T:case L:case $:return nJ(e,r);case _:return new l;case b:case P:return new l(e);case j:;return(o=new(i=e).constructor(i.source,es.exec(i))).lastIndex=i.lastIndex,o;case x:return new l;case w:;return u=e,rm?eP(rm.call(u)):{}}}(e,O,l)}}o||(o=new rw);var z=o.get(e);if(z)return z;o.set(e,u),i3(e)?e.forEach(function(n){u.add(rz(n,t,r,n,e,o))}):i2(e)&&e.forEach(function(n,a){u.set(a,rz(n,t,r,a,e,o))});var F=c?s?ah:ad:s?oO:oE,U=f?n:F(e);return tf(U||e,function(n,a){U&&(n=e[a=n]),rI(u,a,rz(n,t,r,a,e,o))}),u}function rF(e,t,r){var a=r.length;if(null==e)return!a;for(e=eP(e);a--;){var i=r[a],o=t[i],u=e[i];if(n===u&&!(i in e)||!o(u))return!1}return!0}function rU(e,t,r){if("function"!=typeof e)throw new ek(a);return az(function(){e.apply(n,r)},t)}function rQ(e,t,r,n){var a=-1,i=tm,o=!0,u=e.length,l=[],s=t.length;if(!u)return l;r&&(t=tg(t,tN(r))),n?(i=tv,o=!1):t.length>=200&&(i=tL,o=!1,t=new rP(t));t:for(;++a0&&r(u)?t>1?rW(u,t-1,r,n,a):ty(a,u):!n&&(a[a.length]=u)}return a}var rG=nY(),rK=nY(!0);function rZ(e,t){return e&&rG(e,t,oE)}function rX(e,t){return e&&rK(e,t,oE)}function rY(e,t){return tp(t,function(t){return iZ(e[t])})}function r0(e,t){t=nz(t,e);for(var r=0,a=t.length;null!=e&&rt}function r4(e,t){return null!=e&&eD.call(e,t)}function r5(e,t){return null!=e&&t in eP(e)}function r3(e,t,r){for(var a=r?tv:tm,i=e[0].length,o=e.length,u=o,l=eb(o),s=1/0,c=[];u--;){var f=e[u];u&&t&&(f=tg(f,tN(t))),s=t3(f.length,s),l[u]=!r&&(t||i>=120&&f.length>=120)?new rP(u&&f):n}f=e[0];var d=-1,h=l[0];t:for(;++d=u)return l;return l*("desc"==r[n]?-1:1)}}return e.index-t.index}(e,t,r)})}function nf(e,t,r){for(var n=-1,a=t.length,i={};++n-1;)u!==e&&e2.call(u,l,1),e2.call(e,l,1)}return e}function nh(e,t){for(var r=e?t.length:0,n=r-1;r--;){var a=t[r];if(r==n||a!==i){var i=a;aS(a)?e2.call(e,a,1):nM(e,a)}}return e}function np(e,t){return e+tY(t8()*(t-e+1))}function nm(e,t){var r="";if(!e||t<1||t>0x1fffffffffffff)return r;do t%2&&(r+=e),(t=tY(t/2))&&(e+=e);while(t);return r}function nv(e,t){return aF(aN(e,t,oV),e+"")}function ng(e){return rk(oA(e))}function ny(e,t){var r=oA(e);return aq(r,r$(t,0,r.length))}function n_(e,t,r,a){if(!i0(e))return e;t=nz(t,e);for(var i=-1,o=t.length,u=o-1,l=e;null!=l&&++ia?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=eb(a);++n>>1,o=e[i];null!==o&&!i7(o)&&(r?o<=t:o=200){var s=t?null:aa(e);if(s)return tV(s);o=!1,a=tL,l=new rP}else l=t?[]:u;t:for(;++n=a?e:nj(e,t,r)}var nU=tt||function(e){return e9.clearTimeout(e)};function nQ(e,t){if(t)return e.slice();var r=e.length,n=eJ?eJ(r):new e.constructor(r);return e.copy(n),n}function nq(e){var t=new e.constructor(e.byteLength);return new eq(t).set(new eq(e)),t}function nJ(e,t){var r=t?nq(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function nB(e,t){if(e!==t){var r=n!==e,a=null===e,i=e==e,o=i7(e),u=n!==t,l=null===t,s=t==t,c=i7(t);if(!l&&!c&&!o&&e>t||o&&u&&s&&!l&&!c||a&&u&&s||!r&&s||!i)return 1;if(!a&&!o&&!c&&e1?r[i-1]:n,u=i>2?r[2]:n;for(o=e.length>3&&"function"==typeof o?(i--,o):n,u&&ak(r[0],r[1],u)&&(o=i<3?n:o,i=1),t=eP(t);++a-1?i[o?t[u]:u]:n}}function n4(e){return af(function(t){var r=t.length,i=r,o=rb.prototype.thru;for(e&&t.reverse();i--;){var u=t[i];if("function"!=typeof u)throw new ek(a);if(o&&!l&&"wrapper"==am(u))var l=new rb([],!0)}for(i=l?i:r;++i1&&_.reverse(),f&&sl))return!1;var c=o.get(e),f=o.get(t);if(c&&f)return c==t&&f==e;var d=-1,h=!0,p=2&r?new rP:n;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(er,"{\n/* [wrapped with "+t+"] */\n")}(a,function(e,t){return tf(f,function(r){var n="_."+r[0];t&r[1]&&!tm(e,n)&&e.push(n)}),e.sort()}((n=a.match(en))?n[1].split(ea):[],r)))}function aQ(e){var t=0,r=0;return function(){var a=t9(),i=16-(a-r);if(r=a,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function aq(e,t){var r=-1,a=e.length,i=a-1;for(t=n===t?a:t;++r1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ia(e,r)});function id(e){var t=rg(e);return t.__chain__=!0,t}function ih(e,t){return t(e)}var ip=af(function(e){var t=e.length,r=t?e[0]:0,a=this.__wrapped__,i=function(t){return rL(t,e)};return!(t>1)&&!this.__actions__.length&&a instanceof rE&&aS(r)?((a=a.slice(r,+r+(t?1:0))).__actions__.push({func:ih,args:[i],thisArg:n}),new rb(a,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e})):this.thru(i)}),im=nK(function(e,t,r){eD.call(e,r)?++e[r]:rT(e,r,1)}),iv=n6(aZ),ig=n6(aX);function iy(e,t){return(iJ(e)?tf:rq)(e,ag(t,3))}function i_(e,t){return(iJ(e)?td:rJ)(e,ag(t,3))}var ib=nK(function(e,t,r){eD.call(e,r)?e[r].push(t):rT(e,r,[t])}),iE=nv(function(e,t,r){var n=-1,a="function"==typeof t,i=iH(e)?eb(e.length):[];return rq(e,function(e){i[++n]=a?ts(t,e,r):r9(e,t,r)}),i}),iO=nK(function(e,t,r){rT(e,r,t)});function ij(e,t){return(iJ(e)?tg:ni)(e,ag(t,3))}var ix=nK(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),iP=nv(function(e,t){if(null==e)return[];var r=t.length;return r>1&&ak(e,t[0],t[1])?t=[]:r>2&&ak(t[0],t[1],t[2])&&(t=[t[0]]),nc(e,rW(t,1),[])}),iw=tr||function(){return e9.Date.now()};function iS(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,ao(e,128,n,n,n,n,t)}function ik(e,t){var r;if("function"!=typeof t)throw new ek(a);return e=oa(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var iC=nv(function(e,t,r){var n=1;if(r.length){var a=tH(r,av(iC));n|=32}return ao(e,n,t,r,a)}),iA=nv(function(e,t,r){var n=3;if(r.length){var a=tH(r,av(iA));n|=32}return ao(t,n,e,r,a)});function iM(e,t,r){var i,o,u,l,s,c,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new ek(a);function m(t){var r=i,a=o;return i=o=n,f=t,l=e.apply(a,r)}t=oo(t)||0,i0(r)&&(d=!!r.leading,u=(h="maxWait"in r)?t5(oo(r.maxWait)||0,t):u,p="trailing"in r?!!r.trailing:p);function v(e){var r=e-c,a=e-f;return n===c||r>=t||r<0||h&&a>=u}function g(){var e,r,n,a,i=iw();if(v(i))return y(i);s=az(g,(r=(e=i)-c,n=e-f,a=t-r,h?t3(a,u-n):a))}function y(e){return(s=n,p&&i)?m(e):(i=o=n,l)}function _(){var e,r=iw(),a=v(r);if(i=arguments,o=this,c=r,a){if(n===s){;return f=e=c,s=az(g,t),d?m(e):l}if(h)return nU(s),s=az(g,t),m(c)}return n===s&&(s=az(g,t)),l}return _.cancel=function(){n!==s&&nU(s),f=0,i=c=o=s=n},_.flush=function(){return n===s?l:y(iw())},_}var iI=nv(function(e,t){return rU(e,1,t)}),iR=nv(function(e,t,r){return rU(e,oo(t)||0,r)});function iD(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ek(a);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(iD.Cache||rx),r}function iN(e){if("function"!=typeof e)throw new ek(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}iD.Cache=rx;var iT=nv(function(e,t){var r=(t=1==t.length&&iJ(t[0])?tg(t[0],tN(ag())):tg(rW(t,1),tN(ag()))).length;return nv(function(n){for(var a=-1,i=t3(n.length,r);++a=t}),iq=r7(function(){return arguments}())?r7:function(e){return i1(e)&&eD.call(e,"callee")&&!eK.call(e,"callee")},iJ=eb.isArray,iB=tn?tN(tn):function(e){return i1(e)&&r2(e)==k};function iH(e){return null!=e&&iY(e.length)&&!iZ(e)}function iV(e){return i1(e)&&iH(e)}var iW=t1||o3,iG=ta?tN(ta):function(e){return i1(e)&&r2(e)==m};function iK(e){if(!i1(e))return!1;var t=r2(e);return t==v||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!i4(e)}function iZ(e){if(!i0(e))return!1;var t=r2(e);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iX(e){return"number"==typeof e&&e==oa(e)}function iY(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function i0(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function i1(e){return null!=e&&"object"==typeof e}var i2=ti?tN(ti):function(e){return i1(e)&&aj(e)==_};function i6(e){return"number"==typeof e||i1(e)&&r2(e)==b}function i4(e){if(!i1(e)||r2(e)!=E)return!1;var t=eB(e);if(null===t)return!0;var r=eD.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&eR.call(r)==e$}var i5=to?tN(to):function(e){return i1(e)&&r2(e)==j},i3=tu?tN(tu):function(e){return i1(e)&&aj(e)==x};function i9(e){return"string"==typeof e||!iJ(e)&&i1(e)&&r2(e)==P}function i7(e){return"symbol"==typeof e||i1(e)&&r2(e)==w}var i8=tl?tN(tl):function(e){return i1(e)&&iY(e.length)&&!!e0[r2(e)]},oe=at(na),ot=at(function(e,t){return e<=t});function or(e){if(!e)return[];if(iH(e))return i9(e)?tG(e):nW(e);if(e3&&e[e3])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[e3]());var t=aj(e);return(t==_?tJ:t==x?tV:oA)(e)}function on(e){return e?(e=oo(e))===u||e===-u?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function oa(e){var t=on(e),r=t%1;return t==t?r?t-r:t:0}function oi(e){return e?r$(oa(e),0,0xffffffff):0}function oo(e){if("number"==typeof e)return e;if(i7(e))return l;if(i0(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i0(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tD(e);var r=ef.test(e);return r||eh.test(e)?e4(e.slice(2),r?2:8):ec.test(e)?l:+e}function ou(e){return nG(e,oO(e))}function ol(e){return null==e?"":nC(e)}var os=nZ(function(e,t){if(aI(t)||iH(t)){nG(t,oE(t),e);return}for(var r in t)eD.call(t,r)&&rI(e,r,t[r])}),oc=nZ(function(e,t){nG(t,oO(t),e)}),of=nZ(function(e,t,r,n){nG(t,oO(t),e,n)}),od=nZ(function(e,t,r,n){nG(t,oE(t),e,n)}),oh=af(rL),op=nv(function(e,t){e=eP(e);var r=-1,a=t.length,i=a>2?t[2]:n;for(i&&ak(t[0],t[1],i)&&(a=1);++r1),t}),nG(e,ah(e),r),n&&(r=rz(r,7,as));for(var a=t.length;a--;)nM(r,t[a]);return r}),ow=af(function(e,t){var r;return null==e?{}:nf(r=e,t,function(e,t){return og(r,t)})});function oS(e,t){if(null==e)return{};var r=tg(ah(e),function(e){return[e]});return t=ag(t),nf(e,r,function(e,r){return t(e,r[0])})}var ok=ai(oE),oC=ai(oO);function oA(e){return null==e?[]:tT(e,oE(e))}var oM=n1(function(e,t,r){return t=t.toLowerCase(),e+(r?oI(t):t)});function oI(e){return oF(ol(e).toLowerCase())}function oR(e){return(e=ol(e))&&e.replace(em,tF).replace(eV,"")}var oD=n1(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),oN=n1(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),oT=n0("toLowerCase"),oL=n1(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),o$=n1(function(e,t,r){return e+(r?" ":"")+oF(t)}),oz=n1(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),oF=n0("toUpperCase");function oU(e,t,r){if(e=ol(e),t=r?n:t,n===t){var a;return(a=e,eZ.test(a))?e.match(eG)||[]:e.match(ei)||[]}return e.match(t)||[]}var oQ=nv(function(e,t){try{return ts(e,n,t)}catch(e){return iK(e)?e:new eO(e)}}),oq=af(function(e,t){return tf(t,function(t){rT(e,t=aB(t),iC(e[t],e))}),e});function oJ(e){return function(){return e}}var oB=n4(),oH=n4(!0);function oV(e){return e}function oW(e){return nr("function"==typeof e?e:rz(e,1))}var oG=nv(function(e,t){return function(r){return r9(r,e,t)}}),oK=nv(function(e,t){return function(r){return r9(e,r,t)}});function oZ(e,t,r){var n=oE(t),a=rY(t,n);null==r&&!(i0(t)&&(a.length||!n.length))&&(r=t,t=e,e=this,a=rY(t,oE(t)));var i=!(i0(r)&&"chain"in r)||!!r.chain,o=iZ(e);return tf(a,function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=e(this.__wrapped__);return(r.__actions__=nW(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,ty([this.value()],arguments))})}),e}function oX(){}var oY=n7(tg),o0=n7(th),o1=n7(tE);function o2(e){var t;return aC(e)?tC(aB(e)):(t=e,function(e){return r0(e,t)})}var o6=ae(),o4=ae(!0);function o5(){return[]}function o3(){return!1}var o9=n9(function(e,t){return e+t},0),o7=an("ceil"),o8=n9(function(e,t){return e/t},1),ue=an("floor"),ut=n9(function(e,t){return e*t},1),ur=an("round"),un=n9(function(e,t){return e-t},0);return rg.after=function(e,t){if("function"!=typeof t)throw new ek(a);return e=oa(e),function(){if(--e<1)return t.apply(this,arguments)}},rg.ary=iS,rg.assign=os,rg.assignIn=oc,rg.assignInWith=of,rg.assignWith=od,rg.at=oh,rg.before=ik,rg.bind=iC,rg.bindAll=oq,rg.bindKey=iA,rg.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return iJ(e)?e:[e]},rg.chain=id,rg.chunk=function(e,t,r){t=(r?ak(e,t,r):n===t)?1:t5(oa(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var i=0,o=0,u=eb(tA(a/t));ii?0:i+r),(a=n===a||a>i?i:oa(a))<0&&(a+=i),a=r>a?0:oi(a);r>>0)?(e=ol(e))&&("string"==typeof t||null!=t&&!i5(t))&&!(t=nC(t))&&tq(e)?nF(tG(e),0,r):e.split(t,r):[]},rg.spread=function(e,t){if("function"!=typeof e)throw new ek(a);return t=null==t?0:t5(oa(t),0),nv(function(r){var n=r[t],a=nF(r,0,t);return n&&ty(a,n),ts(e,this,a)})},rg.tail=function(e){var t=null==e?0:e.length;return t?nj(e,1,t):[]},rg.take=function(e,t,r){return e&&e.length?nj(e,0,(t=r||n===t?1:oa(t))<0?0:t):[]},rg.takeRight=function(e,t,r){var a=null==e?0:e.length;return a?nj(e,(t=a-(t=r||n===t?1:oa(t)))<0?0:t,a):[]},rg.takeRightWhile=function(e,t){return e&&e.length?nR(e,ag(t,3),!1,!0):[]},rg.takeWhile=function(e,t){return e&&e.length?nR(e,ag(t,3)):[]},rg.tap=function(e,t){return t(e),e},rg.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new ek(a);return i0(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),iM(e,t,{leading:n,maxWait:t,trailing:i})},rg.thru=ih,rg.toArray=or,rg.toPairs=ok,rg.toPairsIn=oC,rg.toPath=function(e){return iJ(e)?tg(e,aB):i7(e)?[e]:nW(aJ(ol(e)))},rg.toPlainObject=ou,rg.transform=function(e,t,r){var n=iJ(e),a=n||iW(e)||i8(e);if(t=ag(t,4),null==r){var i=e&&e.constructor;r=a?n?new i:[]:i0(e)?iZ(i)?ry(eB(e)):{}:{}}return(a?tf:rZ)(e,function(e,n,a){return t(r,e,n,a)}),r},rg.unary=function(e){return iS(e,1)},rg.union=a8,rg.unionBy=ie,rg.unionWith=it,rg.uniq=function(e){return e&&e.length?nA(e):[]},rg.uniqBy=function(e,t){return e&&e.length?nA(e,ag(t,2)):[]},rg.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?nA(e,n,t):[]},rg.unset=function(e,t){return null==e||nM(e,t)},rg.unzip=ir,rg.unzipWith=ia,rg.update=function(e,t,r){return null==e?e:nI(e,t,n$(r))},rg.updateWith=function(e,t,r,a){return a="function"==typeof a?a:n,null==e?e:nI(e,t,n$(r),a)},rg.values=oA,rg.valuesIn=function(e){return null==e?[]:tT(e,oO(e))},rg.without=ii,rg.words=oU,rg.wrap=function(e,t){return iL(n$(t),e)},rg.xor=io,rg.xorBy=iu,rg.xorWith=il,rg.zip=is,rg.zipObject=function(e,t){return nT(e||[],t||[],rI)},rg.zipObjectDeep=function(e,t){return nT(e||[],t||[],n_)},rg.zipWith=ic,rg.entries=ok,rg.entriesIn=oC,rg.extend=oc,rg.extendWith=of,oZ(rg,rg),rg.add=o9,rg.attempt=oQ,rg.camelCase=oM,rg.capitalize=oI,rg.ceil=o7,rg.clamp=function(e,t,r){return n===r&&(r=t,t=n),n!==r&&(r=(r=oo(r))==r?r:0),n!==t&&(t=(t=oo(t))==t?t:0),r$(oo(e),t,r)},rg.clone=function(e){return rz(e,4)},rg.cloneDeep=function(e){return rz(e,5)},rg.cloneDeepWith=function(e,t){return rz(e,5,t="function"==typeof t?t:n)},rg.cloneWith=function(e,t){return rz(e,4,t="function"==typeof t?t:n)},rg.conformsTo=function(e,t){return null==t||rF(e,t,oE(t))},rg.deburr=oR,rg.defaultTo=function(e,t){return null==e||e!=e?t:e},rg.divide=o8,rg.endsWith=function(e,t,r){e=ol(e),t=nC(t);var a=e.length,i=r=n===r?a:r$(oa(r),0,a);return(r-=t.length)>=0&&e.slice(r,i)==t},rg.eq=iF,rg.escape=function(e){return(e=ol(e))&&B.test(e)?e.replace(q,tU):e},rg.escapeRegExp=function(e){return(e=ol(e))&&Y.test(e)?e.replace(X,"\\$&"):e},rg.every=function(e,t,r){var a=iJ(e)?th:rB;return r&&ak(e,t,r)&&(t=n),a(e,ag(t,3))},rg.find=iv,rg.findIndex=aZ,rg.findKey=function(e,t){return tj(e,ag(t,3),rZ)},rg.findLast=ig,rg.findLastIndex=aX,rg.findLastKey=function(e,t){return tj(e,ag(t,3),rX)},rg.floor=ue,rg.forEach=iy,rg.forEachRight=i_,rg.forIn=function(e,t){return null==e?e:rG(e,ag(t,3),oO)},rg.forInRight=function(e,t){return null==e?e:rK(e,ag(t,3),oO)},rg.forOwn=function(e,t){return e&&rZ(e,ag(t,3))},rg.forOwnRight=function(e,t){return e&&rX(e,ag(t,3))},rg.get=ov,rg.gt=iU,rg.gte=iQ,rg.has=function(e,t){return null!=e&&ax(e,t,r4)},rg.hasIn=og,rg.head=a0,rg.identity=oV,rg.includes=function(e,t,r,n){e=iH(e)?e:oA(e),r=r&&!n?oa(r):0;var a=e.length;return r<0&&(r=t5(a+r,0)),i9(e)?r<=a&&e.indexOf(t,r)>-1:!!a&&tP(e,t,r)>-1},rg.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var a=null==r?0:oa(r);return a<0&&(a=t5(n+a,0)),tP(e,t,a)},rg.inRange=function(e,t,r){var a,i,o;return t=on(t),n===r?(r=t,t=0):r=on(r),(a=e=oo(e))>=t3(i=t,o=r)&&a=-0x1fffffffffffff&&e<=0x1fffffffffffff},rg.isSet=i3,rg.isString=i9,rg.isSymbol=i7,rg.isTypedArray=i8,rg.isUndefined=function(e){return n===e},rg.isWeakMap=function(e){return i1(e)&&aj(e)==S},rg.isWeakSet=function(e){return i1(e)&&"[object WeakSet]"==r2(e)},rg.join=function(e,t){return null==e?"":t6.call(e,t)},rg.kebabCase=oD,rg.last=a4,rg.lastIndexOf=function(e,t,r){var a=null==e?0:e.length;if(!a)return -1;var i=a;return n!==r&&(i=(i=oa(r))<0?t5(a+i,0):t3(i,a-1)),t==t?function(e,t,r){for(var n=r+1;n--&&e[n]!==t;);return n}(e,t,i):tx(e,tS,i,!0)},rg.lowerCase=oN,rg.lowerFirst=oT,rg.lt=oe,rg.lte=ot,rg.max=function(e){return e&&e.length?rH(e,oV,r6):n},rg.maxBy=function(e,t){return e&&e.length?rH(e,ag(t,2),r6):n},rg.mean=function(e){return tk(e,oV)},rg.meanBy=function(e,t){return tk(e,ag(t,2))},rg.min=function(e){return e&&e.length?rH(e,oV,na):n},rg.minBy=function(e,t){return e&&e.length?rH(e,ag(t,2),na):n},rg.stubArray=o5,rg.stubFalse=o3,rg.stubObject=function(){return{}},rg.stubString=function(){return""},rg.stubTrue=function(){return!0},rg.multiply=ut,rg.nth=function(e,t){return e&&e.length?ns(e,oa(t)):n},rg.noConflict=function(){return e9._===this&&(e9._=ez),this},rg.noop=oX,rg.now=iw,rg.pad=function(e,t,r){e=ol(e);var n=(t=oa(t))?tW(e):0;if(!t||n>=t)return e;var a=(t-n)/2;return n8(tY(a),r)+e+n8(tA(a),r)},rg.padEnd=function(e,t,r){e=ol(e);var n=(t=oa(t))?tW(e):0;return t&&nt){var a=e;e=t,t=a}if(r||e%1||t%1){var i=t8();return t3(e+i*(t-e+e6("1e-"+((i+"").length-1))),t)}return np(e,t)},rg.reduce=function(e,t,r){var n=iJ(e)?t_:tM,a=arguments.length<3;return n(e,ag(t,4),r,a,rq)},rg.reduceRight=function(e,t,r){var n=iJ(e)?tb:tM,a=arguments.length<3;return n(e,ag(t,4),r,a,rJ)},rg.repeat=function(e,t,r){return t=(r?ak(e,t,r):n===t)?1:oa(t),nm(ol(e),t)},rg.replace=function(){var e=arguments,t=ol(e[0]);return e.length<3?t:t.replace(e[1],e[2])},rg.result=function(e,t,r){t=nz(t,e);var a=-1,i=t.length;for(!i&&(i=1,e=n);++a0x1fffffffffffff)return[];var r=0xffffffff,n=t3(e,0xffffffff);t=ag(t),e-=0xffffffff;for(var a=tR(n,t);++r=o)return e;var l=r-tW(a);if(l<1)return a;var s=u?nF(u,0,l).join(""):e.slice(0,l);if(n===i)return s+a;if(u&&(l+=s.length-l),i5(i)){if(e.slice(l).search(i)){var c,f=s;for(!i.global&&(i=ew(i.source,ol(es.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;s=s.slice(0,n===d?l:d)}}else if(e.indexOf(nC(i),l)!=l){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+a},rg.unescape=function(e){return(e=ol(e))&&J.test(e)?e.replace(Q,tZ):e},rg.uniqueId=function(e){var t=++eN;return ol(e)+t},rg.upperCase=oz,rg.upperFirst=oF,rg.each=iy,rg.eachRight=i_,rg.first=a0,oZ(rg,(e_={},rZ(rg,function(e,t){!eD.call(rg.prototype,t)&&(e_[t]=e)}),e_),{chain:!1}),rg.VERSION="4.17.21",tf(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){rg[e].placeholder=rg}),tf(["drop","take"],function(e,t){rE.prototype[e]=function(r){r=n===r?1:t5(oa(r),0);var a=this.__filtered__&&!t?new rE(this):this.clone();return a.__filtered__?a.__takeCount__=t3(r,a.__takeCount__):a.__views__.push({size:t3(r,0xffffffff),type:e+(a.__dir__<0?"Right":"")}),a},rE.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tf(["filter","map","takeWhile"],function(e,t){var r=t+1,n=1==r||3==r;rE.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ag(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),tf(["head","last"],function(e,t){var r="take"+(t?"Right":"");rE.prototype[e]=function(){return this[r](1).value()[0]}}),tf(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");rE.prototype[e]=function(){return this.__filtered__?new rE(this):this[r](1)}}),rE.prototype.compact=function(){return this.filter(oV)},rE.prototype.find=function(e){return this.filter(e).head()},rE.prototype.findLast=function(e){return this.reverse().find(e)},rE.prototype.invokeMap=nv(function(e,t){return"function"==typeof e?new rE(this):this.map(function(r){return r9(r,e,t)})}),rE.prototype.reject=function(e){return this.filter(iN(ag(e)))},rE.prototype.slice=function(e,t){e=oa(e);var r=this;return r.__filtered__&&(e>0||t<0)?new rE(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),n!==t&&(r=(t=oa(t))<0?r.dropRight(-t):r.take(t-e)),r)},rE.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},rE.prototype.toArray=function(){return this.take(0xffffffff)},rZ(rE.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),i=rg[a?"take"+("last"==t?"Right":""):t],o=a||/^find/.test(t);if(!!i)rg.prototype[t]=function(){var t=this.__wrapped__,u=a?[1]:arguments,l=t instanceof rE,s=u[0],c=l||iJ(t),f=function(e){var t=i.apply(rg,ty([e],u));return a&&d?t[0]:t};c&&r&&"function"==typeof s&&1!=s.length&&(l=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=o&&!d,m=l&&!h;if(!o&&c){t=m?t:new rE(this);var v=e.apply(t,u);return v.__actions__.push({func:ih,args:[f],thisArg:n}),new rb(v,d)}return p&&m?e.apply(this,u):(v=this.thru(f),p?a?v.value()[0]:v.value():v)}}),tf(["pop","push","shift","sort","splice","unshift"],function(e){var t=eC[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);rg.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var a=this.value();return t.apply(iJ(a)?a:[],e)}return this[r](function(r){return t.apply(iJ(r)?r:[],e)})}}),rZ(rE.prototype,function(e,t){var r=rg[t];if(r){var n=r.name+"";!eD.call(rl,n)&&(rl[n]=[]),rl[n].push({name:t,func:r})}}),rl[n5(n,2).name]=[{name:"wrapper",func:n}],rE.prototype.clone=function(){var e=new rE(this.__wrapped__);return e.__actions__=nW(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=nW(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=nW(this.__views__),e},rE.prototype.reverse=function(){if(this.__filtered__){var e=new rE(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},rE.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=iJ(e),n=t<0,a=r?e.length:0,i=function(e,t,r){for(var n=-1,a=r.length;++n=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}},rg.prototype.plant=function(e){for(var t,r=this;r instanceof r_;){var a=aV(r);a.__index__=0,a.__values__=n,t?i.__wrapped__=a:t=a;var i=a;r=r.__wrapped__}return i.__wrapped__=e,t},rg.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof rE){var t=e;return this.__actions__.length&&(t=new rE(this)),(t=t.reverse()).__actions__.push({func:ih,args:[a7],thisArg:n}),new rb(t,this.__chain__)}return this.thru(a7)},rg.prototype.toJSON=rg.prototype.valueOf=rg.prototype.value=function(){return nD(this.__wrapped__,this.__actions__)},rg.prototype.first=rg.prototype.head,e3&&(rg.prototype[e3]=function(){return this}),rg}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(e9._=tX,define(function(){return tX})):e8?((e8.exports=tX)._=tX,e7._=tX):e9._=tX}).call(this)},88306:function(e,t,r){var n=r(83369);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(a.Cache||n),r}a.Cache=n,e.exports=a},36968:function(e,t,r){var n=r(10611);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},79833:function(e,t,r){var n=r(80531);e.exports=function(e){return null==e?"":n(e)}},87668:function(e,t,r){"use strict";let n=r(74725);e.exports=n,n.default=n},74725:function(e){"use strict";e.exports=function(e,r,n){var a,i="";if(t="",arguments.length>1){if("number"==typeof n)for(a=0;a100)return e.replace(n,i);for(var t="",o=0,u=0;un;)e[r]=e[r-1],r--;e[r]=n}return e}},2251:function(e){var t,r;t=this,r=function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,r,n=e.toLowerCase().split(":"),a=n.length,i=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[a-1]&&""===n[a-2]&&n.pop(),a=n.length,-1!==n[a-1].indexOf(".")&&(i=7),t=0;t1)r.splice(0,1);else break;n[o]=r.join("")}var l=-1,s=0,c=0,f=-1,d=!1;for(o=0;os&&(l=f,s=c)):"0"===n[o]&&(d=!0,f=o,c=1);c>s&&(l=f,s=c),s>1&&n.splice(l,s,""),a=n.length;var h="";for(""===n[0]&&(h=":"),o=0;o=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return!1;var a=r.list[e.slice(t+1)];return!!a&&a.indexOf(" "+e.slice(n+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1||e.lastIndexOf(".",t-1)>=0)return!1;var n=r.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return null;var a=r.list[e.slice(t+1)];return!a||0>a.indexOf(" "+e.slice(n+1,t)+" ")?null:e.slice(n+1)},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return r},e.exports?e.exports=r():"function"==typeof define&&define.amd?define(r):t.SecondLevelDomains=r(t)},54998:function(e,t,r){var n,a;n=this,a=function(e,t,r,n){"use strict";var a,i=n&&n.URI;function o(e,t){var r=arguments.length>=1,n=arguments.length>=2;if(!(this instanceof o)){if(r)return n?new o(e,t):new o(e);return new o}if(void 0===e){if(r)throw TypeError("undefined is not a valid argument for URI");"undefined"!=typeof location?e=location.href+"":e=""}if(null===e&&r)throw TypeError("null is not a valid argument for URI");return(this.href(e),void 0!==t)?this.absoluteTo(t):this}o.version="1.19.11";var u=o.prototype,l=Object.prototype.hasOwnProperty;function s(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function f(e){return"Array"===c(e)}function d(e,t){var r,n,a={};if("RegExp"===c(t))a=null;else if(f(t))for(r=0,n=t.length;r]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,o.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},o.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,o.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},o.hostProtocols=["http","https"],o.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,o.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},o.getDomAttribute=function(e){if(!e||!e.nodeName)return;var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return o.domAttributes[t]},o.encode=g,o.decode=decodeURIComponent,o.iso8859=function(){o.encode=escape,o.decode=unescape},o.unicode=function(){o.encode=g,o.decode=decodeURIComponent},o.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},o.encodeQuery=function(e,t){var r=o.encode(e+"");return void 0===t&&(t=o.escapeQuerySpace),t?r.replace(/%20/g,"+"):r},o.decodeQuery=function(e,t){e+="",void 0===t&&(t=o.escapeQuerySpace);try{return o.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var y={encode:"encode",decode:"decode"},_=function(e,t){return function(r){try{return o[t](r+"").replace(o.characters[e][t].expression,function(r){return o.characters[e][t].map[r]})}catch(e){return r}}};for(a in y)o[a+"PathSegment"]=_("pathname",y[a]),o[a+"UrnPathSegment"]=_("urnpath",y[a]);var b=function(e,t,r){return function(n){a=r?function(e){return o[t](o[r](e))}:o[t];for(var a,i=(n+"").split(e),u=0,l=i.length;u-1&&(t.fragment=e.substring(r+1)||null,e=e.substring(0,r)),(r=e.indexOf("?"))>-1&&(t.query=e.substring(r+1)||null,e=e.substring(0,r)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=o.parseAuthority(e,t)):(r=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,r)||null,t.protocol&&!t.protocol.match(o.protocol_expression)?t.protocol=void 0:"//"===e.substring(r+1,r+3).replace(/\\/g,"/")?(e=e.substring(r+3),e=o.parseAuthority(e,t)):(e=e.substring(r+1),t.urn=!0)),t.path=e,t},o.parseHost=function(e,t){!e&&(e="");var r,n,a=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===a&&(a=e.length),"["===e.charAt(0))r=e.indexOf("]"),t.hostname=e.substring(1,r)||null,t.port=e.substring(r+2,a)||null,"/"===t.port&&(t.port=null);else{var i=e.indexOf(":"),u=e.indexOf("/"),l=e.indexOf(":",i+1);-1!==l&&(-1===u||l-1?a:e.length-1);return i>-1&&(-1===a||i-1?h.slice(0,p)+h.slice(p).replace(i,""):h.replace(i,"")).length<=s[0].length||r.ignore&&r.ignore.test(h))){d=c+h.length;var v=t(h,c,d,e);if(void 0===v){n.lastIndex=d;continue}v=String(v),e=e.slice(0,c)+v+e.slice(d),n.lastIndex=c+v.length}}return n.lastIndex=0,e},o.ensureValidHostname=function(t,r){var n=!!t,a=!1;if(r&&(a=h(o.hostProtocols,r)),a&&!n)throw TypeError("Hostname cannot be empty, if protocol is "+r);if(t&&t.match(o.invalid_hostname_characters)){if(!e)throw TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(o.invalid_hostname_characters))throw TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},o.ensureValidPort=function(e){if(!e)return;var t,r=Number(e);if(t=r,!/^[0-9]+$/.test(t)||!(r>0)||!(r<65536))throw TypeError('Port "'+e+'" is not a valid port')},o.noConflict=function(e){if(e){var t={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(t.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(t.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=n.SecondLevelDomains.noConflict()),t}return n.URI===this&&(n.URI=i),this},u.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=o.build(this._parts),this._deferred_build=!1),this},u.clone=function(){return new o(this)},u.valueOf=u.toString=function(){return this.build(!1)._string},u.protocol=E("protocol"),u.username=E("username"),u.password=E("password"),u.hostname=E("hostname"),u.port=E("port"),u.query=O("query","?"),u.fragment=O("fragment","#"),u.search=function(e,t){var r=this.query(e,t);return"string"==typeof r&&r.length?"?"+r:r},u.hash=function(e,t){var r=this.fragment(e,t);return"string"==typeof r&&r.length?"#"+r:r},u.pathname=function(e,t){if(void 0!==e&&!0!==e)return this._parts.urn?this._parts.path=e?o.recodeUrnPath(e):"":this._parts.path=e?o.recodePath(e):"/",this.build(!t),this;var r=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?o.decodeUrnPath:o.decodePath)(r):r},u.path=u.pathname,u.href=function(e,t){if(void 0===e)return this.toString();this._string="",this._parts=o._parts();var r,n=e instanceof o,a="object"==typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName){var i=o.getDomAttribute(e);e=e[i]||"",a=!1}if(!n&&a&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=o.parse(String(e),this._parts);else if(n||a){var u=n?e._parts:e;for(r in u){if("query"!==r)l.call(this._parts,r)&&(this._parts[r]=u[r])}u.query&&this.query(u.query,!1)}else throw TypeError("invalid input");return this.build(!t),this},u.is=function(e){var t=!1,n=!1,a=!1,i=!1,u=!1,l=!1,s=!1,c=!this._parts.urn;switch(this._parts.hostname&&(c=!1,n=o.ip4_expression.test(this._parts.hostname),a=o.ip6_expression.test(this._parts.hostname),u=(i=!(t=n||a))&&r&&r.has(this._parts.hostname),l=i&&o.idn_expression.test(this._parts.hostname),s=i&&o.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return c;case"absolute":return!c;case"domain":case"name":return i;case"sld":return u;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return a;case"idn":return l;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return s}return null};var j=u.protocol,x=u.port,P=u.hostname;u.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(o.protocol_expression))throw TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return j.call(this,e,t)},u.scheme=u.protocol,u.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),o.ensureValidPort(e))),x.call(this,e,t))},u.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var r={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==o.parseHost(e,r))throw TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=r.hostname,this._parts.preventInvalidHostname&&o.ensureValidHostname(e,this._parts.protocol)}return P.call(this,e,t)},u.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var r=this.protocol();return this.authority()?(r?r+"://":"")+this.authority():""}var n=o(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},u.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildHost(this._parts):"";if("/"!==o.parseHost(e,this._parts))throw TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},u.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildAuthority(this._parts):"";if("/"!==o.parseAuthority(e,this._parts))throw TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},u.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e)return"@"!==e[e.length-1]&&(e+="@"),o.parseUserinfo(e,this._parts),this.build(!t),this;var r=o.buildUserinfo(this._parts);return r?r.substring(0,r.length-1):r},u.resource=function(e,t){var r;return void 0===e?this.path()+this.search()+this.hash():(r=o.parse(e),this._parts.path=r.path,this._parts.query=r.query,this._parts.fragment=r.fragment,this.build(!t),this)},u.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,r)||""}var n=this._parts.hostname.length-this.domain().length,a=RegExp("^"+s(this._parts.hostname.substring(0,n)));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw TypeError("Domains cannot contain colons");return e&&o.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,e),this.build(!t),this},u.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.match(/\./g);if(r&&r.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(t).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!e)throw TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw TypeError("Domains cannot contain colons");if(o.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var a=RegExp(s(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(a,e)}return this.build(!t),this},u.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n,a=this._parts.hostname.lastIndexOf("."),i=this._parts.hostname.substring(a+1);return!0!==t&&r&&r.list[i.toLowerCase()]&&r.get(this._parts.hostname)||i}if(e){if(e.match(/[^a-zA-Z0-9-]/)){if(r&&r.is(e))n=RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(n,e);else throw TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]')}else if(!this._parts.hostname||this.is("IP"))throw ReferenceError("cannot set TLD on non-domain host");else n=RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(n,e)}else throw TypeError("cannot set TLD empty");return this.build(!t),this},u.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var r=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,r)||(this._parts.hostname?"/":"");return e?o.decodePath(n):n}var a=this._parts.path.length-this.filename().length,i=RegExp("^"+s(this._parts.path.substring(0,a)));return!this.is("relative")&&(!e&&(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=o.recodePath(e),this._parts.path=this._parts.path.replace(i,e),this.build(!t),this},u.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var r=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(r+1);return e?o.decodePathSegment(n):n}var a=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(a=!0);var i=RegExp(s(this.filename())+"$");return e=o.recodePath(e),this._parts.path=this._parts.path.replace(i,e),a?this.normalizePath(t):this.build(!t),this},u.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var r,n,a=this.filename(),i=a.lastIndexOf(".");return -1===i?"":(r=a.substring(i+1),n=/^[a-z0-9%]+$/i.test(r)?r:"",e?o.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var u,l=this.suffix();if(l)u=e?RegExp(s(l)+"$"):RegExp(s("."+l)+"$");else{if(!e)return this;this._parts.path+="."+o.recodePath(e)}return u&&(e=o.recodePath(e),this._parts.path=this._parts.path.replace(u,e)),this.build(!t),this},u.segment=function(e,t,r){var n=this._parts.urn?":":"/",a=this.path(),i="/"===a.substring(0,1),o=a.split(n);if(void 0!==e&&"number"!=typeof e&&(r=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw Error('Bad segment "'+e+'", must be 0-based integer');if(i&&o.shift(),e<0&&(e=Math.max(o.length+e,0)),void 0===t)return void 0===e?o:o[e];if(null===e||void 0===o[e]){if(f(t)){o=[];for(var u=0,l=t.length;u= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=35,p=Math.floor,m=String.fromCharCode;function v(e){throw RangeError(d[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(f,".")).split("."),t).join(".")}function _(e){for(var t,r,n=[],a=0,i=e.length;a=55296&&t<=56319&&a65535&&(e-=65536,t+=m(e>>>10&1023|55296),e=56320|1023&e),t+=m(e)}).join("")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,r){var n=0;for(e=r?p(e/700):e>>1,e+=p(e/t);e>26*h>>1;n+=36)e=p(e/h);return p(n+(h+1)*e/(e+38))}function j(e){var t,r,n,a,i,o,u,l,s,c,f,d=[],h=e.length,m=0,g=128,y=72;for((n=e.lastIndexOf("-"))<0&&(n=0),a=0;a=128&&v("not-basic"),d.push(e.charCodeAt(a));for(i=n>0?n+1:0;i=h&&v("invalid-input"),((s=(t=e.charCodeAt(i++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36)>=36||s>p((0x7fffffff-m)/u))&&v("overflow"),m+=s*u,s<(c=l<=y?1:l>=y+26?26:l-y))break;u>p(0x7fffffff/(f=36-c))&&v("overflow"),u*=f}y=O(m-o,r=d.length+1,0==o),p(m/r)>0x7fffffff-g&&v("overflow"),g+=p(m/r),m%=r,d.splice(m++,0,g)}return b(d)}function x(e){var t,r,n,a,i,o,u,l,s,c,f,d,h,g,y,b=[];for(o=0,d=(e=_(e)).length,t=128,r=0,i=72;o=t&&fp((0x7fffffff-r)/(h=n+1))&&v("overflow"),r+=(u-t)*h,t=u,o=0;o0x7fffffff&&v("overflow"),f==t){for(l=r,s=36;!(l<(c=s<=i?1:s>=i+26?26:s-i));s+=36){;y=l-c,g=36-c,b.push(m(E(c+y%g,0))),l=p(y/g)}b.push(m(E(l,0))),i=O(r,h,n==a),r=0,++n}++r,++t}return b.join("")}if(u={version:"1.3.2",ucs2:{decode:_,encode:b},decode:j,encode:x,toASCII:function(e){return y(e,function(e){return c.test(e)?"xn--"+x(e):e})},toUnicode:function(e){return y(e,function(e){return s.test(e)?j(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return u});else if(a&&i){if(e.exports==a)i.exports=u;else for(l in u)u.hasOwnProperty(l)&&(a[l]=u[l])}else n.punycode=u}(this)},5525:function(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>o});var n=r("85893");r("67294");var a=r("67026");let i="tabItem_Ymn6";function o(e){let{children:t,hidden:r,className:o}=e;return(0,n.jsx)("div",{role:"tabpanel",className:(0,a.Z)(i,o),hidden:r,children:t})}},47902:function(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>b});var n=r("85893"),a=r("67294"),i=r("67026"),o=r("69599"),u=r("16550"),l=r("32000"),s=r("4520"),c=r("38341"),f=r("76009");function d(e){return a.Children.toArray(e).filter(e=>"\n"!==e).map(e=>{if(!e||a.isValidElement(e)&&function(e){let{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)})?.filter(Boolean)??[]}function h(e){let{value:t,tabValues:r}=e;return r.some(e=>e.value===t)}var p=r("7227");let m="tabList__CuJ",v="tabItem_LNqP";function g(e){let{className:t,block:r,selectedValue:a,selectValue:u,tabValues:l}=e,s=[],{blockElementScrollPositionUntilNextRender:c}=(0,o.o5)(),f=e=>{let t=e.currentTarget,r=l[s.indexOf(t)].value;r!==a&&(c(t),u(r))},d=e=>{let t=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{let r=s.indexOf(e.currentTarget)+1;t=s[r]??s[0];break}case"ArrowLeft":{let r=s.indexOf(e.currentTarget)-1;t=s[r]??s[s.length-1]}}t?.focus()};return(0,n.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,i.Z)("tabs",{"tabs--block":r},t),children:l.map(e=>{let{value:t,label:r,attributes:o}=e;return(0,n.jsx)("li",{role:"tab",tabIndex:a===t?0:-1,"aria-selected":a===t,ref:e=>s.push(e),onKeyDown:d,onClick:f,...o,className:(0,i.Z)("tabs__item",v,o?.className,{"tabs__item--active":a===t}),children:r??t},t)})})}function y(e){let{lazy:t,children:r,selectedValue:o}=e,u=(Array.isArray(r)?r:[r]).filter(Boolean);if(t){let e=u.find(e=>e.props.value===o);return e?(0,a.cloneElement)(e,{className:(0,i.Z)("margin-top--md",e.props.className)}):null}return(0,n.jsx)("div",{className:"margin-top--md",children:u.map((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==o}))})}function _(e){let t=function(e){let{defaultValue:t,queryString:r=!1,groupId:n}=e,i=function(e){let{values:t,children:r}=e;return(0,a.useMemo)(()=>{let e=t??d(r).map(e=>{let{props:{value:t,label:r,attributes:n,default:a}}=e;return{value:t,label:r,attributes:n,default:a}});return!function(e){let t=(0,c.lx)(e,(e,t)=>e.value===t.value);if(t.length>0)throw Error(`Docusaurus error: Duplicate values "${t.map(e=>e.value).join(", ")}" found in . Every value needs to be unique.`)}(e),e},[t,r])}(e),[o,p]=(0,a.useState)(()=>(function(e){let{defaultValue:t,tabValues:r}=e;if(0===r.length)throw Error("Docusaurus error: the component requires at least one children component");if(t){if(!h({value:t,tabValues:r}))throw Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${r.map(e=>e.value).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}let n=r.find(e=>e.default)??r[0];if(!n)throw Error("Unexpected error: 0 tabValues");return n.value})({defaultValue:t,tabValues:i})),[m,v]=function(e){let{queryString:t=!1,groupId:r}=e,n=(0,u.k6)(),i=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:t,groupId:r}),o=(0,s._X)(i);return[o,(0,a.useCallback)(e=>{if(!i)return;let t=new URLSearchParams(n.location.search);t.set(i,e),n.replace({...n.location,search:t.toString()})},[i,n])]}({queryString:r,groupId:n}),[g,y]=function(e){var t;let{groupId:r}=e;let n=(t=r)?`docusaurus.tab.${t}`:null,[i,o]=(0,f.Nk)(n);return[i,(0,a.useCallback)(e=>{if(!!n)o.set(e)},[n,o])]}({groupId:n}),_=(()=>{let e=m??g;return h({value:e,tabValues:i})?e:null})();return(0,l.Z)(()=>{_&&p(_)},[_]),{selectedValue:o,selectValue:(0,a.useCallback)(e=>{if(!h({value:e,tabValues:i}))throw Error(`Can't select invalid tab value=${e}`);p(e),v(e),y(e)},[v,y,i]),tabValues:i}}(e);return(0,n.jsxs)("div",{className:(0,i.Z)("tabs-container",m),children:[(0,n.jsx)(g,{...t,...e}),(0,n.jsx)(y,{...t,...e})]})}function b(e){let t=(0,p.Z)();return(0,n.jsx)(_,{...e,children:d(e.children)},String(t))}},5503:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.TypeLabel,null),"\xa0:\xa0",a.default.createElement(o.FalseLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.default,{values:{id:"json-schema.labels.false"}},"Always invalid")))};let a=n(r(67294)),i=n(r(96025)),o=r(13046)},78724:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=(0,u.useJSVOptionsContext)(),n="boolean"!=typeof t,c=n?t.description:void 0;return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.TypeLabel,null),"\xa0:\xa0",a.default.createElement(o.TrueLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.default,{values:{id:"json-schema.labels.true"}},"Always valid")),n&&a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(l.QualifierMessages,{schema:t,options:r})),void 0!==c&&a.default.createElement(s.CreateDescription,{description:c}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046),u=r(91386),l=r(34412),s=r(980)},79015:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,s=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.BooleanLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},71697:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{description:t}=e,{DescriptionComponent:r}=(0,i.useJSVOptionsContext)();return a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},r?a.default.createElement(r,{description:t}):t)};let a=n(r(67294)),i=r(91386)},76423:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,s=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.IntegerLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},5968:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,description:r}=e,n=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.NullLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:n})),void 0!==r&&a.default.createElement(l.CreateDescription,{description:r}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},33235:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,description:r,nullable:n}=e,s=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.NumberLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:n})),void 0!==r&&a.default.createElement(l.CreateDescription,{description:r}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},8634:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,s=(0,o.useJSVOptionsContext)(),c=t.format;return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.StringLabel,{format:c}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},47418:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{value:t,schema:r}=e,{ValueComponent:n}=(0,i.useJSVOptionsContext)();return n?a.default.createElement(n,{value:t,schema:r}):(0,o.printSchemaType)(t)};let a=n(r(67294)),i=r(91386),o=r(51697)},62767:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=Object.entries(t.dependencies).reduce((e,t)=>{let[r,n]=t;return Array.isArray(n)?e.dependentRequired[r]=n:e.dependentSchemas[r]=n,e},{dependentRequired:{},dependentSchemas:{}});return a.default.createElement(a.default.Fragment,null,Object.keys(r.dependentRequired).length>0&&a.default.createElement(i.DependentRequired,{schema:{dependentRequired:r.dependentRequired}}),Object.keys(r.dependentSchemas).length>0&&a.default.createElement(i.DependentSchemas,{schema:{dependentSchemas:r.dependentSchemas}}))};let a=n(r(67294)),i=r(80976)},41294:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r={allOf:Object.entries(t.dependentRequired).map(e=>{let[t,r]=e;return{if:{type:"object",required:[t]},then:{type:"object",required:r}}})};return a.default.createElement(i.AllOfSchema,{schema:r})};let a=n(r(67294)),i=r(33829)},60920:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r={allOf:Object.entries(t.dependentSchemas).map(e=>{let[t,r]=e;return{if:{type:"object",required:[t]},then:r}})};return a.default.createElement(i.AllOfSchema,{schema:r})};let a=n(r(67294)),i=r(33829)},98895:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.then,n=void 0!==t.else,c=[{value:"schema_if",label:a.default.createElement(s.IfLabel,null)},r&&{value:"schema_then",label:a.default.createElement(s.ThenLabel,null)},n&&{value:"schema_else",label:a.default.createElement(s.ElseLabel,null)}].filter(e=>"boolean"!=typeof e);return a.default.createElement(o.default,{defaultValue:"schema_if",values:c},c.map(e=>a.default.createElement(i.default,{value:e.value,key:e.value},function(e,t){switch(e){case"schema_if":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/if"},a.default.createElement(u.CreateNodes,{schema:t.if}));case"schema_then":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/then"},a.default.createElement(u.CreateNodes,{schema:t.then}));case"schema_else":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/else"},a.default.createElement(u.CreateNodes,{schema:t.else}))}}(e.value,t))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(13046)},80976:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaConditional=t.Dependencies=t.DependentSchemas=t.DependentRequired=t.IfElseThen=void 0;var a=r(98895);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return n(a).default}});var i=r(41294);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return n(i).default}});var o=r(60920);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return n(o).default}});var u=r(62767);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return n(u).default}});var l=r(84078);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return n(l).default}})},84078:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.if,n=void 0!==t.dependentRequired,l=void 0!==t.dependentSchemas,s=void 0!==t.dependencies,c=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.schemaConditional"}},"Conditional subschemas"));return a.default.createElement(u.Collapsible,{summary:c,detailsProps:{open:!1}},r&&a.default.createElement(o.IfElseThen,{schema:t}),n&&a.default.createElement(o.DependentRequired,{schema:t}),l&&a.default.createElement(o.DependentSchemas,{schema:t}),s&&a.default.createElement(o.Dependencies,{schema:t}))};let a=n(r(67294)),i=n(r(96025)),o=r(80976),u=r(57485)},82495:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.additionalItems;if(void 0===r||"boolean"==typeof r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(t.items)?t.items.length:1;return a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},a.default.createElement(o.CreateEdge,{key:"array_additionalItems",name:a.default.createElement(l,{count:n}),schema:r,required:void 0!==t.minItems&&n>=t.minItems-1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(e){let{count:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.additionalItemsEntry",count:t}},"items[{count},...]"))}},62378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.contains;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.containsEntry"}},"items[..., x, ...]"));return a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},a.default.createElement(o.CreateEdge,{key:"contains",name:n,schema:r,required:void 0!==t.minContains&&t.minContains>0})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386)},31776:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,p=(0,f.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(d.TypeLabel,null),"\xa0:\xa0",a.default.createElement(d.ArrayLabel,null),a.default.createElement(u.default,{schema:t}),a.default.createElement(i.default,{schema:t}),a.default.createElement(l.default,{schema:t}),a.default.createElement(s.default,{schema:t}),a.default.createElement(o.default,{schema:t}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(c.QualifierMessages,{schema:t,options:p,nullable:r})),void 0!==n&&a.default.createElement(h.CreateDescription,{description:n}))};let a=n(r(67294)),i=n(r(59167)),o=n(r(62378)),u=n(r(69038)),l=n(r(82495)),s=n(r(78570)),c=r(34412),f=r(91386),d=r(13046),h=r(980)},59167:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.items;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(t.prefixItems)?t.prefixItems.length:0,i=Array.isArray(r),s=Array.isArray(r)?r:[r],c=s.length;return a.default.createElement("ul",null,s.map((e,r)=>a.default.createElement(u.SchemaHierarchyComponent,{key:`array_items_${r}`,innerJsonPointer:`/items${i?`/${r}`:""}`},a.default.createElement(o.CreateEdge,{name:a.default.createElement(l,{index:n+r,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=c}))))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(e){let{index:t,isArray:r}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.itemsEntry",index:r?t:"x"}},"items[{index}]"))}},69038:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.prefixItems;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(r),i=Array.isArray(r)?r.length:1,s=Array.isArray(r)?r:[r];return a.default.createElement("ul",null,s.map((e,r)=>a.default.createElement(u.SchemaHierarchyComponent,{key:`schema_hierarchy_${r}`,innerJsonPointer:`/prefixItems${n?`/${r}`:""}`},a.default.createElement(o.CreateEdge,{key:`array_prefixItems_${r}`,name:a.default.createElement(l,{count:r}),schema:e,required:void 0!==t.minItems&&t.minItems>=i}))))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(e){let{count:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.prefixItemsEntry",count:t}},"items[{count}]"))}},78570:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.unevaluatedItems;return void 0===r||"boolean"==typeof r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},a.default.createElement(o.CreateEdge,{key:"array_unevaluatedItems",name:a.default.createElement(l,null),schema:r,required:!1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(){return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.unevaluatedItemsEntry"}},"items[y]"))}},32087:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateArray=void 0;var a=r(31776);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return n(a).default}})},980:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateValue=t.CreateDescription=t.CreateAlwaysInvalid=t.CreateAlwaysValid=t.CreateNull=t.CreateInteger=t.CreateNumber=t.CreateBoolean=t.CreateString=t.CreateArray=t.CreateObject=t.SchemaConditional=t.SchemaComposition=void 0;var a=r(33829);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return a.SchemaComposition}});var i=r(80976);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var o=r(53021);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return o.CreateObject}});var u=r(32087);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return u.CreateArray}});var l=r(8634);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return n(l).default}});var s=r(79015);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return n(s).default}});var c=r(33235);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return n(c).default}});var f=r(76423);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return n(f).default}});var d=r(5968);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return n(d).default}});var h=r(78724);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return n(h).default}});var p=r(5503);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return n(p).default}});var m=r(71697);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return n(m).default}});var v=r(47418);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return n(v).default}})},58714:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.additionalProperties;return void 0===r||"boolean"==typeof r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},a.default.createElement(o.CreateEdge,{key:"object_additionalProperties",name:a.default.createElement(l,null),schema:r,required:!1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(){return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.additionalProperties"}},"property name*"))}},6067:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,m=(0,d.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.TypeLabel,null),"\xa0:\xa0",a.default.createElement(h.ObjectLabel,null),a.default.createElement(s.default,{schema:t}),a.default.createElement(o.default,{schema:t}),a.default.createElement(u.default,{schema:t}),a.default.createElement(l.default,{schema:t}),a.default.createElement(i.default,{schema:t}),a.default.createElement(c.default,{schema:t}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(f.QualifierMessages,{schema:t,options:m,nullable:r})),void 0!==n&&a.default.createElement(p.CreateDescription,{description:n}))};let a=n(r(67294)),i=n(r(58714)),o=n(r(75030)),u=n(r(23694)),l=n(r(47078)),s=n(r(95014)),c=n(r(54026)),f=r(34412),d=r(91386),h=r(13046),p=r(980)},23694:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.patternProperties;return void 0===r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,Object.entries(r).map(e=>{let[t,r]=e;return a.default.createElement(o.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,u.encodeStringForJSONPointer)(t)}`},a.default.createElement(i.CreateEdge,{name:a.default.createElement("code",null,t),schema:r,required:!1}))}))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(34412)},75030:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.properties;return void 0===r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,Object.entries(r).map(e=>{let[r,n]=e;return a.default.createElement(o.SchemaHierarchyComponent,{key:`object_properties_${r}`,innerJsonPointer:`/properties/${(0,u.encodeStringForJSONPointer)(r)}`},a.default.createElement(i.CreateEdge,{name:a.default.createElement("strong",null,r),schema:n,required:!!Array.isArray(t.required)&&t.required.includes(r)}))}))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(34412)},47078:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.propertyNames;if(void 0===r||"boolean"==typeof r||void 0===r.pattern)return a.default.createElement(a.default.Fragment,null);let n=r.pattern,u={...r};return delete u.pattern,a.default.createElement("ul",null,a.default.createElement(o.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},a.default.createElement(i.CreateEdge,{key:"propertyNames",name:a.default.createElement("code",null,n),schema:u,required:!1})))};let a=n(r(67294)),i=r(57485),o=r(91386)},54026:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.unevaluatedProperties;return void 0===r||"boolean"==typeof r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},a.default.createElement(o.CreateEdge,{key:"object_unevaluatedProperties",name:a.default.createElement(l,null),schema:r,required:!1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(){return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.unevaluatedProperties"}},"property name*"))}},95014:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.required||[],n=Object.keys(t.properties||{}),l=r.filter(e=>!n.includes(e));return 0===l.length?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,l.map((e,t)=>a.default.createElement(o.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,u.encodeStringForJSONPointer)(e)}`},a.default.createElement(i.CreateEdge,{name:a.default.createElement("strong",null,e),schema:!0,required:!0}))))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(34412)},53021:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateObject=void 0;var a=r(6067);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return n(a).default}})},47549:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.allOf,n="allOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(o.default,null,r.map((e,t)=>a.default.createElement(i.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},a.default.createElement(u.CreateNodes,{schema:e}))))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(34412)},27090:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.anyOf,n="anyOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(o.default,null,r.map((e,t)=>a.default.createElement(i.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},a.default.createElement(u.CreateNodes,{schema:e}))))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(34412)},33829:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaComposition=t.NotSchema=t.OneOfSchema=t.AnyOfSchema=t.AllOfSchema=void 0;var a=r(47549);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return n(a).default}});var i=r(27090);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return n(i).default}});var o=r(89207);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return n(o).default}});var u=r(55165);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return n(u).default}});var l=r(51885);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return n(l).default}})},55165:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.not;return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--danger"},"not"),a.default.createElement("br",null),a.default.createElement(o.SchemaHierarchyComponent,{innerJsonPointer:"/not"},a.default.createElement(i.CreateNodes,{schema:r})))};let a=n(r(67294)),i=r(57485),o=r(91386)},89207:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.oneOf,n="oneOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(o.default,null,r.map((e,t)=>a.default.createElement(i.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},a.default.createElement(u.CreateNodes,{schema:e}))))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(34412)},51885:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement(a.default.Fragment,null,void 0!==t.oneOf&&a.default.createElement(i.OneOfSchema,{schema:t}),void 0!==t.anyOf&&a.default.createElement(i.AnyOfSchema,{schema:t}),void 0!==t.allOf&&a.default.createElement(i.AllOfSchema,{schema:t}),void 0!==t.not&&a.default.createElement(i.NotSchema,{schema:t}))};let a=n(r(67294)),i=r(33829)},60100:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{summary:t,children:r,detailsProps:n}=e;return a.default.createElement(i.default,{summary:a.default.createElement("summary",null,t),...n},r)};let a=n(r(67294)),i=n(r(63922))},65168:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{name:t,schema:r,required:n}=e;return a.default.createElement(i.SchemaItem,{name:t,schema:r,required:n})};let a=n(r(67294)),i=r(57485)},36796:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;if("boolean"==typeof t)return a.default.createElement(u.CreateValidOrInvalid,{schema:t});let r=(0,l.isSchemaComposition)(t),n=(0,l.isSchemaConditional)(t);return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.CreateTypes,{schema:t}),r&&a.default.createElement(o.SchemaComposition,{schema:t}),n&&a.default.createElement(o.SchemaConditional,{schema:t}))};let a=n(r(67294)),i=r(57485),o=r(980),u=r(57485),l=r(34412)},47605:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=(0,l.detectedTypes)(t),n=r.includes("null");if(1===r.length||n&&2===r.length){let e=r.find(e=>"null"!==e)||r[0];return a.default.createElement(s,{schema:t,type:e,nullable:n})}if(r.length>1){let e=r.filter(e=>"null"!==e).map(e=>({value:e,label:a.default.createElement(u.TypeLabelSwitch,{type:e})}));return a.default.createElement(c,{schema:t,types:e,nullable:n})}return(0,l.isSchemaComposition)(t)?a.default.createElement(a.default.Fragment,null):a.default.createElement(u.CreateValidOrInvalid,{schema:t})};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(34412);function s(e){let{schema:t,type:r,nullable:n}=e;return a.default.createElement(u.RenderProvidedType,{schema:t,type:r,nullable:n})}function c(e){let{schema:t,types:r,nullable:n}=e;return a.default.createElement(o.default,{defaultValue:r[0].value,values:r,key:"multiple_types"},r.map(e=>a.default.createElement(i.default,{key:e.value,value:e.value},a.default.createElement(u.RenderProvidedType,{type:e.value,schema:t,nullable:n}))))}},28753:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement(a.default.Fragment,null,t&&a.default.createElement(i.CreateAlwaysValid,{schema:t}),!t&&a.default.createElement(i.CreateAlwaysInvalid,null))};let a=n(r(67294)),i=r(980)},4730:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,type:r,nullable:n}=e,o={description:t.description,nullable:n};switch(r){case"array":return a.default.createElement(i.CreateArray,{schema:t,...o});case"object":return a.default.createElement(i.CreateObject,{schema:t,...o});case"string":return a.default.createElement(i.CreateString,{schema:t,...o});case"boolean":return a.default.createElement(i.CreateBoolean,{schema:t,...o});case"number":return a.default.createElement(i.CreateNumber,{schema:t,...o});case"integer":return a.default.createElement(i.CreateInteger,{schema:t,...o});default:return a.default.createElement(i.CreateNull,{schema:t,...o})}};let a=n(r(67294)),i=r(980)},39492:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,name:r,required:n}=e,{jsonPointer:c,level:f}=(0,o.useSchemaHierarchyContext)(),d="boolean"!=typeof t&&!0===t.deprecated,h="boolean"!=typeof t&&!0===t.readOnly,p="boolean"!=typeof t&&!0===t.writeOnly,m="boolean"!=typeof t&&(void 0!==t.const||Array.isArray(t.enum)&&1===t.enum.length),v=!d&&n,g=a.default.createElement(a.default.Fragment,null,r,"\xa0",a.default.createElement(l.GenerateFriendlyName,{schema:t}),v&&a.default.createElement(a.default.Fragment,null,"\xa0"),v&&a.default.createElement(u.RequiredLabel,null),d&&a.default.createElement(a.default.Fragment,null,"\xa0"),d&&a.default.createElement(u.DeprecatedLabel,null),h&&a.default.createElement(a.default.Fragment,null,"\xa0"),h&&a.default.createElement(u.ReadOnlyLabel,null),p&&a.default.createElement(a.default.Fragment,null,"\xa0"),p&&a.default.createElement(u.WriteOnlyLabel,null),m&&a.default.createElement(a.default.Fragment,null,"\xa0"),m&&a.default.createElement(u.ConstantLabel,null));return a.default.createElement("li",{className:s.default.schemaItem,id:c,"data-level":f},a.default.createElement(i.Collapsible,{summary:g,detailsProps:{open:!1}},a.default.createElement(a.default.Fragment,null,a.default.createElement(i.CreateNodes,{schema:t}))))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(13046),l=r(34412),s=n(r(54301))},15212:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{type:t,...r}=e;switch(t){case"string":return a.default.createElement(i.StringLabel,{...r});case"number":return a.default.createElement(i.NumberLabel,{...r});case"boolean":return a.default.createElement(i.BooleanLabel,{...r});case"object":return a.default.createElement(i.ObjectLabel,{...r});case"array":return a.default.createElement(i.ArrayLabel,{...r});case"integer":return a.default.createElement(i.IntegerLabel,{...r});case"null":return a.default.createElement(i.NullLabel,{...r});case!0:return a.default.createElement(i.TrueLabel,{...r});case!1:return a.default.createElement(i.FalseLabel,{...r});default:return a.default.createElement("span",{style:{opacity:"0.6"}},t)}};let a=n(r(67294)),i=r(13046)},57485:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaItem=t.RenderProvidedType=t.TypeLabelSwitch=t.CreateTypes=t.CreateValidOrInvalid=t.CreateEdge=t.CreateNodes=t.Collapsible=void 0;var a=r(60100);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return n(a).default}});var i=r(36796);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return n(i).default}});var o=r(65168);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return n(o).default}});var u=r(28753);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return n(u).default}});var l=r(47605);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return n(l).default}});var s=r(15212);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return n(s).default}});var c=r(4730);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return n(c).default}});var f=r(39492);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return n(f).default}})},91386:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(43747),t),a(r(35942),t)},43747:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSVOptionsContextProvider=t.useJSVOptionsContext=t.JSVOptionsContext=void 0;let n=r(67294);t.JSVOptionsContext=(0,n.createContext)({fullSchema:!1,showExamples:!1,qualifierMessagesOrder:void 0,DescriptionComponent:void 0,UnresolvedRefsComponent:void 0});t.useJSVOptionsContext=()=>(0,n.useContext)(t.JSVOptionsContext),t.JSVOptionsContextProvider=t.JSVOptionsContext.Provider},35942:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaHierarchyContextProvider=t.useSchemaHierarchyContext=t.SchemaHierarchyContext=void 0,t.SchemaHierarchyComponent=function(e){let{innerJsonPointer:r,children:n}=e,{jsonPointer:a,level:i}=(0,t.useSchemaHierarchyContext)();return o.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${a}${r}`,level:i+1}},n)};let o=i(r(67294));t.SchemaHierarchyContext=(0,o.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,o.useContext)(t.SchemaHierarchyContext),t.SchemaHierarchyContextProvider=t.SchemaHierarchyContext.Provider},98477:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,resolverOptions:r,viewerOptions:n}=e,[a,i]=(0,o.useState)(void 0),[l,s]=(0,o.useState)(void 0);return((0,o.useEffect)(()=>{new u.Resolver().resolve(t,r).then(e=>{s(e.result)}).catch(e=>{i(e)})},[]),void 0!==a)?o.default.createElement(f,{error:a}):void 0===l?o.default.createElement(c.LoadingLabel,null):o.default.createElement(d,{schema:l,viewerOptions:n,className:e.className})};let o=i(r(67294)),u=r(60819),l=r(57485),s=r(91386),c=r(13046);function f(e){let{error:t}=e;return o.default.createElement("div",null,o.default.createElement(c.ErrorOccurredLabel,{error:t}))}function d(e){let{schema:t,viewerOptions:r}=e,n="boolean"!=typeof t&&void 0!==t.title?t.title:"Schema",a={fullSchema:t,...r};return o.default.createElement(s.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},o.default.createElement(s.JSVOptionsContextProvider,{value:a},o.default.createElement(l.Collapsible,{summary:o.default.createElement("strong",null,n),detailsProps:{open:!0,className:e.className||"json-schema-viewer"}},o.default.createElement(l.CreateNodes,{schema:t}))))}},48123:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.and"}},"AND")),e)};let a=n(r(67294)),i=n(r(96025))},71176:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.array"}},"array"))};let a=n(r(67294)),i=n(r(96025))},84097:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.boolean"}},"boolean"))};let a=n(r(67294)),i=n(r(96025))},67107:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.constant},a.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(72893))},19090:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.deprecated},a.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(80740))},42571:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.else"}},"Else"))};let a=n(r(67294)),i=n(r(96025))},2750:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{error:t}=e;return a.default.createElement(i.default,{values:{id:"json-schema.labels.errorOccurred",message:t.message}},"Something bad happens : {message}")};let a=n(r(67294)),i=n(r(96025))},48105:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.false"}},"none"))};let a=n(r(67294)),i=n(r(96025))},77587:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.if"}},"If"))};let a=n(r(67294)),i=n(r(96025))},41035:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.integer"}},"integer"))};let a=n(r(67294)),i=n(r(96025))},205:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("div",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.loading"}},"Loading ...."))};let a=n(r(67294)),i=n(r(96025))},95336:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.not"}},"NOT"))};let a=n(r(67294)),i=n(r(96025))},25411:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.null"}},"null"))};let a=n(r(67294)),i=n(r(96025))},72116:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.number"}},"number"))};let a=n(r(67294)),i=n(r(96025))},52513:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.object"}},"object"))};let a=n(r(67294)),i=n(r(96025))},36053:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.or"}},"OR")),e)};let a=n(r(67294)),i=n(r(96025))},49085:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.readOnly},a.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(27177))},88628:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.required},a.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(96043))},18659:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{format:t}=e;return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.string"}},"string"),void 0!==t&&a.default.createElement(a.default.Fragment,null,"\xa0",`(${t})`))};let a=n(r(67294)),i=n(r(96025))},71653:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.then"}},"Then"))};let a=n(r(67294)),i=n(r(96025))},32626:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.true"}},"any"))};let a=n(r(67294)),i=n(r(96025))},60943:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.type",count:1}},"type"))};let a=n(r(67294)),i=n(r(96025))},42332:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.writeOnly},a.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(28728))},7378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.xor"}},"XOR")),e)};let a=n(r(67294)),i=n(r(96025))},13046:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstantLabel=t.XorLabel=t.NotLabel=t.OrLabel=t.AndLabel=t.NullLabel=t.IntegerLabel=t.NumberLabel=t.BooleanLabel=t.StringLabel=t.FalseLabel=t.TrueLabel=t.WriteOnlyLabel=t.ReadOnlyLabel=t.DeprecatedLabel=t.RequiredLabel=t.ErrorOccurredLabel=t.LoadingLabel=t.ElseLabel=t.ThenLabel=t.IfLabel=t.TypeLabel=t.ArrayLabel=t.ObjectLabel=void 0;var a=r(52513);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return n(a).default}});var i=r(71176);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return n(i).default}});var o=r(60943);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return n(o).default}});var u=r(77587);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return n(u).default}});var l=r(71653);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return n(l).default}});var s=r(42571);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return n(s).default}});var c=r(205);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return n(c).default}});var f=r(2750);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return n(f).default}});var d=r(88628);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return n(d).default}});var h=r(19090);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return n(h).default}});var p=r(49085);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return n(p).default}});var m=r(42332);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return n(m).default}});var v=r(32626);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return n(v).default}});var g=r(48105);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return n(g).default}});var y=r(18659);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return n(y).default}});var _=r(84097);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return n(_).default}});var b=r(72116);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return n(b).default}});var E=r(41035);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return n(E).default}});var O=r(25411);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return n(O).default}});var j=r(48123);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return n(j).default}});var x=r(36053);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return n(x).default}});var P=r(95336);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return n(P).default}});var w=r(7378);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return n(w).default}});var S=r(67107);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return n(S).default}})},60588:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minContains&&void 0!==t.maxContains,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contains"}},"Must contain : "));return a.default.createElement("div",{key:r?"minContainsAndmaxContains":void 0!==t.minContains?"minContains":"maxContains"},n,"\xa0",void 0!==t.minContains&&a.default.createElement(u,{value:t.minContains}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxContains&&a.default.createElement(l,{value:t.maxContains}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minContains",count:t}},"at least {count} valid item(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxContains",count:t}},"at most {count} valid item(s)"))}},17978:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minItems&&void 0!==t.maxItems,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.lengthItems"}},"Length :"));return a.default.createElement("div",{key:r?"minItemsAndmaxItems":void 0!==t.minItems?"minItems":"maxItems"},n,"\xa0",void 0!==t.minItems&&a.default.createElement(u,{value:t.minItems}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxItems&&a.default.createElement(l,{value:t.maxItems}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minItems",count:t}},">= {count}"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxItems",count:t}},"<= {count}"))}},63454:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItems"}},"Unique items :")),t=a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItemsOnly"}},"yes"));return a.default.createElement("div",{key:"uniqueItems"},e,"\xa0",t)};let a=n(r(67294)),i=n(r(96025))},51947:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.const"}},"Constant value :"));return a.default.createElement("div",{key:"const"},r,"\xa0",a.default.createElement(o.CreateValue,{value:t.const,schema:t}))};let a=n(r(67294)),i=n(r(96025)),o=r(980)},5757:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contentEncoding"}},"Encoding :"));return a.default.createElement("div",{key:"contentEncoding"},r,"\xa0",(0,o.printSchemaType)(t.contentEncoding))};let a=n(r(67294)),i=n(r(96025)),o=r(51697)},27620:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contentMediaType"}},"Media type :"));return a.default.createElement("div",{key:"contentMediaType"},r,"\xa0",(0,o.printSchemaType)(t.contentMediaType))};let a=n(r(67294)),i=n(r(96025)),o=r(51697)},25626:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contentSchema"}},"Decoded content must be validated against this schema :"));return a.default.createElement("div",{key:"contentSchema"},r,"\xa0",a.default.createElement(o.Collapsible,{summary:a.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},a.default.createElement(o.CreateNodes,{schema:t.contentSchema}))))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386)},46325:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.default"}},"Default value :"));return a.default.createElement("div",{key:"default"},r,"\xa0",a.default.createElement(o.CreateValue,{value:t.default,schema:t}))};let a=n(r(67294)),i=n(r(96025)),o=r(980)},50023:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.deprecated"}},"Deprecated");return a.default.createElement("div",{key:"deprecated"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},26378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.enum"}},"Possible values :"));return a.default.createElement("div",{key:"enum"},r,"\xa0",a.default.createElement("ul",null,t.enum.map((e,r)=>a.default.createElement("li",{key:r},a.default.createElement(o.CreateValue,{value:e,schema:t})))))};let a=n(r(67294)),i=n(r(96025)),o=r(980)},4861:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.examples"}},"Example values :")),n=t.examples.map((e,t)=>({id:t,value:e,label:a.default.createElement(i.default,{values:{id:"json-schema.labels.exampleItem",index:t}},"Example {index}")}));return a.default.createElement("div",{key:"examples"},r,"\xa0",a.default.createElement(u.default,null,n.map(e=>a.default.createElement(o.default,{key:e.id,value:e.id.toString(),label:e.label},a.default.createElement(l.CreateValue,{value:e.value,schema:t})))))};let a=n(r(67294)),i=n(r(96025)),o=n(r(5525)),u=n(r(47902)),l=r(980)},98847:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraItems"}},"No extra item(s) are authorized in this array");return a.default.createElement("div",{key:"no-extra-items"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},57587:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraProperties"}},"No extra propertie(s) are authorized in this object");return a.default.createElement("div",{key:"no-extra-properties"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},81933:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.nullable"}},"Nullable");return a.default.createElement("div",{key:"nullable"},"\u2753\xa0",e)};let a=n(r(67294)),i=n(r(96025))},24690:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.exclusiveMinimum||t.minimum,n=void 0!==t.exclusiveMinimum,s=t.exclusiveMaximum||t.maximum,c=void 0!==t.exclusiveMaximum,f=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.numberMinimumMaximum"}},"Possible values :"));return a.default.createElement("div",{key:"number-range"},f,"\xa0",void 0!==r&&a.default.createElement("code",null,a.default.createElement(u,{exclusive:n,value:r})),void 0!==r&&void 0!==s&&a.default.createElement(o.AndLabel,null),void 0!==s&&a.default.createElement("code",null,a.default.createElement(l,{exclusive:c,value:s})))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t,exclusive:r}=e;return r?a.default.createElement(i.default,{values:{id:"json-schema.keywords.minimumExlusive",count:t}},"> {count}"):a.default.createElement(i.default,{values:{id:"json-schema.keywords.minimum",count:t}},">= {count}")}function l(e){let{value:t,exclusive:r}=e;return r?a.default.createElement(i.default,{values:{id:"json-schema.keywords.maximumExlusive",count:t}},"< {count}"):a.default.createElement(i.default,{values:{id:"json-schema.keywords.maximum",count:t}},"<= {count}")}},77698:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement("div",{key:"multipleOf"},a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.multipleOf"}},"Possible values :")),"\xa0",a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.multipleOf",count:t.multipleOf}},"multiple of {count}")))};let a=n(r(67294)),i=n(r(96025))},42053:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minProperties&&void 0!==t.maxProperties,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.lengthProperties"}},"Length :"));return a.default.createElement("div",{key:r?"minPropertiesAndMaxProperties":void 0!==t.minProperties?"minProperties":"maxProperties"},n,"\xa0",void 0!==t.minProperties&&a.default.createElement(u,{value:t.minProperties}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxProperties&&a.default.createElement(l,{value:t.maxProperties}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minProperties",count:t}},">= {count} propertie(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxProperties",count:t}},"<= {count} propertie(s)"))}},48313:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement("div",{key:"pattern"},a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.pattern"}},"Pattern :")),"\xa0",a.default.createElement("code",null,t.pattern))};let a=n(r(67294)),i=n(r(96025))},45740:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ORDER=t.CHECKS_MAP=void 0;let u=o(r(67294)),l=i(r(51697)),s=r(54580);t.CHECKS_MAP={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>u.default.createElement(l.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>u.default.createElement(l.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>u.default.createElement(l.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>u.default.createElement(l.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return(0,s.isArrayNotEmpty)(t.enum)},Component:e=>{let{schema:t}=e;return u.default.createElement(l.EnumQM,{key:"enum",schema:t})}},stringLength:{match:e=>{let{schema:t}=e;return void 0!==t.minLength||void 0!==t.maxLength},Component:e=>{let{schema:t}=e;return u.default.createElement(l.StringLengthQM,{key:"stringLength",schema:t})}},objectProperties:{match:e=>{let{schema:t}=e;return void 0!==t.minProperties||void 0!==t.maxProperties},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>u.default.createElement(l.NoExtraPropertiesQM,{key:"no-extra-properties"})},arrayItems:{match:e=>{let{schema:t}=e;return void 0!==t.minItems||void 0!==t.maxItems},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ArrayNumberOfItemsQM,{key:"arrayItems",schema:t})}},arrayContains:{match:e=>{let{schema:t}=e;return void 0!==t.minContains||void 0!==t.maxContains},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ArrayContainsNumberQM,{key:"arrayContains",schema:t})}},"no-extra-items":{match:e=>{let{schema:t}=e;return!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems},Component:()=>u.default.createElement(l.NoExtraItemsQM,{key:"no-extra-items"})},"number-range":{match:e=>{let{schema:t}=e;return void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum},Component:e=>{let{schema:t}=e;return u.default.createElement(l.NumberBoundsQM,{key:"number-range",schema:t})}},pattern:{match:e=>{let{schema:t}=e;return void 0!==t.pattern},Component:e=>{let{schema:t}=e;return u.default.createElement(l.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return u.default.createElement(l.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>u.default.createElement(l.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return u.default.createElement(l.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ConstantQM,{key:"const",schema:t})}},examples:{match:e=>{let{schema:t,options:r}=e;return!0===r.showExamples&&(0,s.isArrayNotEmpty)(t.examples)},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,s.hasUnresolvedRefs)(t)},Component:e=>u.default.createElement(l.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.DEFAULT_ORDER=["nullable","deprecated","readOnly","writeOnly","enum","stringLength","objectProperties","no-extra-properties","arrayItems","arrayContains","no-extra-items","number-range","pattern","multipleOf","uniqueItems","contentEncoding","contentMediaType","contentSchema","default","const","examples","unsolvedRefs"]},74722:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.readOnly"}},"read only");return a.default.createElement("div",{key:"readOnly"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},97296:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minLength&&void 0!==t.maxLength,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.length"}},"Length :"));return a.default.createElement("div",{key:r?"minLengthAndmaxLength":void 0!==t.minLength?"minLength":"maxLength"},n,"\xa0",void 0!==t.minLength&&a.default.createElement(u,{value:t.minLength}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxLength&&a.default.createElement(l,{value:t.maxLength}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minLength",count:t}},">= {count} character(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxLength",count:t}},"<= {count} character(s)"))}},29793:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,options:{UnresolvedRefsComponent:r}}=e,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.unsolvedRefs"}},"Unsolved ref(s) :")),o=[t.$ref,t.$dynamicRef,t.$recursiveRef].filter(e=>void 0!==e).join(" ");return a.default.createElement("div",{key:"unsolvedRefs"},r?a.default.createElement(r,{schema:t}):a.default.createElement(a.default.Fragment,null,n,"\xa0",o))};let a=n(r(67294)),i=n(r(96025))},41082:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.writeOnly"}},"write only");return a.default.createElement("div",{key:"writeOnly"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},51697:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QUALIFIERS_DEFAULT_ORDER=t.QUALIFIERS_MAP=t.UnsolvedRefsQM=t.ContentSchemaQM=t.ContentEncodingQM=t.ContentMediaTypeQM=t.NullableQM=t.WriteOnlyQM=t.ReadOnlyQM=t.DeprecatedQM=t.ExamplesQM=t.ConstantQM=t.DefaultValueQM=t.ArrayUniqueItemsQM=t.MultipleOfQM=t.PatternQM=t.NumberBoundsQM=t.NoExtraItemsQM=t.ArrayContainsNumberQM=t.ArrayNumberOfItemsQM=t.NoExtraPropertiesQM=t.ObjectPropertiesQM=t.StringLengthQM=t.EnumQM=void 0,t.printSchemaType=function(e){return["string","number","bigint","boolean"].includes(typeof e)?a.default.createElement("code",null,e.toString()):a.default.createElement(i.default,{language:"json"},`${JSON.stringify(e)}`)};let a=n(r(67294)),i=n(r(45056));var o=r(26378);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return n(o).default}});var u=r(97296);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return n(u).default}});var l=r(42053);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return n(l).default}});var s=r(57587);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return n(s).default}});var c=r(17978);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return n(c).default}});var f=r(60588);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return n(f).default}});var d=r(98847);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return n(d).default}});var h=r(24690);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return n(h).default}});var p=r(48313);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return n(p).default}});var m=r(77698);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return n(m).default}});var v=r(63454);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return n(v).default}});var g=r(46325);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return n(g).default}});var y=r(51947);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return n(y).default}});var _=r(4861);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return n(_).default}});var b=r(50023);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return n(b).default}});var E=r(74722);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return n(E).default}});var O=r(41082);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return n(O).default}});var j=r(81933);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return n(j).default}});var x=r(27620);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return n(x).default}});var P=r(5757);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return n(P).default}});var w=r(25626);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return n(w).default}});var S=r(29793);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return n(S).default}});var k=r(45740);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return k.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return k.DEFAULT_ORDER}})},54580:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayNotEmpty=t.hasUnresolvedRefs=t.isNull=t.isBoolean=t.isSchemaConditional=t.isSchemaComposition=t.isInteger=t.isNumeric=t.isStringType=t.isArrayType=t.isObjectType=void 0,t.detectedTypes=function(e){let r=Array.isArray(e.type)?e.type:void 0!==e.type?[e.type]:[];return 0!==r.length?[...new Set(r)]:[...function*(e){(0,t.isNull)(e)&&(yield"null"),(0,t.isObjectType)(e)&&(yield"object"),(0,t.isArrayType)(e)&&(yield"array"),(0,t.isStringType)(e)&&(yield"string"),(0,t.isBoolean)(e)&&(yield"boolean"),(0,t.isInteger)(e)&&(yield"integer"),!(0,t.isInteger)(e)&&(0,t.isNumeric)(e)&&(yield"number")}(e)]};t.isObjectType=e=>"boolean"!=typeof e&&("object"===e.type||void 0!==e.properties||void 0!==e.additionalProperties||void 0!==e.patternProperties||void 0!==e.propertyNames||void 0!==e.minProperties||void 0!==e.maxProperties||void 0!==e.required||void 0!==e.unevaluatedProperties);t.isArrayType=e=>{var t;return"boolean"!=typeof e&&("array"===e.type||void 0!==e.items||void 0!==e.minItems||void 0!==e.maxItems||void 0!==e.additionalItems||void 0!==e.contains||void 0!==e.minContains||void 0!==e.maxContains||void 0!==e.prefixItems||void 0!==e.unevaluatedItems||Array.isArray(e.const)||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>Array.isArray(e))))};t.isStringType=e=>{var t;return"boolean"!=typeof e&&("string"===e.type||void 0!==e.minLength||void 0!==e.maxLength||void 0!==e.pattern||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"string"==typeof e))||"string"==typeof e.const)};t.isNumeric=e=>{var t;return"boolean"!=typeof e&&("number"===e.type||void 0!==e.multipleOf||void 0!==e.minimum||void 0!==e.exclusiveMinimum||void 0!==e.maximum||void 0!==e.exclusiveMaximum||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"number"==typeof e))||"number"==typeof e.const)};t.isInteger=e=>{var t;return"boolean"!=typeof e&&("integer"===e.type||1===e.multipleOf||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"bigint"==typeof e))||"bigint"==typeof e.const)};t.isSchemaComposition=e=>"boolean"!=typeof e&&(void 0!==e.allOf||void 0!==e.anyOf||void 0!==e.oneOf||void 0!==e.not);t.isSchemaConditional=e=>"boolean"!=typeof e&&(void 0!==e.if||void 0!==e.dependencies||void 0!==e.dependentRequired||void 0!==e.dependentSchemas);t.isBoolean=e=>{var t;return"boolean"!=typeof e&&("boolean"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"boolean"==typeof e))||"boolean"==typeof e.const)};t.isNull=e=>{var t;return"boolean"!=typeof e&&("null"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>null===e))||null===e.const)};t.hasUnresolvedRefs=e=>"boolean"!=typeof e&&(void 0!==e.$ref||void 0!==e.$dynamicRef||void 0!==e.$recursiveRef);t.isArrayNotEmpty=e=>void 0!==e&&e.length>0},94555:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStringForJSONPointer=function(e){return e.replace(/~/g,"~0").replace(/\//g,"~1").replace(/%/g,"%25")}},1086:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;let a=n(r(67294)),i=r(34412),o=r(57485),u=r(13046);function l(e,t){return!(t<=1)&&e!==t-1}function s(e){let{schema:t}=e;if("boolean"==typeof t)return a.default.createElement(o.TypeLabelSwitch,{type:t});if(t.title)return a.default.createElement(a.default.Fragment,null,t.title);let r=(0,i.detectedTypes)(t);return 0===r.length?a.default.createElement(c,{schema:t}):a.default.createElement(a.default.Fragment,null,r.map((e,n)=>a.default.createElement(a.default.Fragment,{key:n},a.default.createElement(f,{schema:t,type:e}),l(n,r.length)&&a.default.createElement(u.OrLabel,null))))}function c(e){let{schema:t}=e;if(void 0!==t.not)return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.NotLabel,null)," ( ",a.default.createElement(s,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){let e=t.anyOf?a.default.createElement(u.OrLabel,null):t.oneOf?a.default.createElement(u.XorLabel,null):a.default.createElement(u.AndLabel,null),r=t.allOf||t.anyOf||t.oneOf;return a.default.createElement(a.default.Fragment,null,r.map((t,n)=>a.default.createElement(a.default.Fragment,{key:n},a.default.createElement(s,{schema:t}),l(n,r.length)&&e)))}return a.default.createElement(o.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:r}=e;if("string"===r&&void 0!==t.format)return a.default.createElement(o.TypeLabelSwitch,{type:t.format});if("array"===r)return a.default.createElement(d,{schema:t});if(!["array","object"].includes(r)){if(void 0!==t.const)return a.default.createElement("code",null,`${JSON.stringify(t.const)}`);if(void 0!==t.enum&&1===t.enum.length)return a.default.createElement("code",null,`${JSON.stringify(t.enum[0])}`)}return a.default.createElement(o.TypeLabelSwitch,{type:r})}function d(e){let{schema:t}=e;if([void 0,!1].includes(t.items)&&[void 0,!1].includes(t.prefixItems)&&void 0===t.contains)return a.default.createElement(o.TypeLabelSwitch,{type:"array"});let r=[];if(Array.isArray(t.prefixItems)&&r.push(...t.prefixItems.map((e,t)=>a.default.createElement(s,{schema:e,key:`prefixItems_${t}`}))),void 0!==t.items&&"boolean"!=typeof t.items){let e=Array.isArray(t.items)?t.items:[t.items];r.push(...e.map((e,t)=>a.default.createElement(s,{schema:e,key:`items_${t}`})))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&r.push(a.default.createElement(s,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&r.push(a.default.createElement(s,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&r.push(a.default.createElement(a.default.Fragment,{key:"before_contains"},"..."),a.default.createElement(s,{schema:t.contains,key:"contains"})),!(!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems)&&r.push(a.default.createElement(a.default.Fragment,{key:"open_tuple"},"...")),a.default.createElement(a.default.Fragment,null,"(",r.map((e,t)=>a.default.createElement(a.default.Fragment,{key:t},e,l(t,r.length)&&",")),")[]")}},9672:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{options:t}=e,r=t.qualifierMessagesOrder||i.QUALIFIERS_DEFAULT_ORDER;return a.default.createElement(a.default.Fragment,null,r.filter(t=>i.QUALIFIERS_MAP[t].match(e)).map(t=>i.QUALIFIERS_MAP[t].Component(e)))};let a=n(r(67294)),i=r(51697)},34412:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QualifierMessages=t.GenerateFriendlyName=void 0;var o=r(1086);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(o).default}});var u=r(9672);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(u).default}}),a(r(54580),t),a(r(94555),t)}}]); \ No newline at end of file diff --git a/assets/js/7ecec1f6.6fc901cf.js b/assets/js/7ecec1f6.6fc901cf.js new file mode 100644 index 0000000..bb73d43 --- /dev/null +++ b/assets/js/7ecec1f6.6fc901cf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["918"],{89477:function(e){e.exports=JSON.parse('{"tag":{"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation","allTagsPath":"/nr-pies/docs/tags","count":10,"items":[{"id":"spec/data/code","title":"Code","description":"A code type","permalink":"/nr-pies/docs/spec/data/code"},{"id":"spec/data/event","title":"Event","description":"Represents an event concept.","permalink":"/nr-pies/docs/spec/data/event"},{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","permalink":"/nr-pies/docs/spec/formatting"},{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","permalink":"/nr-pies/docs/spec/data/parcel_id"},{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","permalink":"/nr-pies/docs/spec/primitive_types"},{"id":"spec/data/process","title":"Process","description":"Represents a process concept.","permalink":"/nr-pies/docs/spec/data/process"},{"id":"spec/resource/process_event","title":"Process Event","description":"Represents a process concept at a specific moment in time.","permalink":"/nr-pies/docs/spec/resource/process_event"},{"id":"spec/concept/process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","permalink":"/nr-pies/docs/spec/concept/process_tracking"},{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","permalink":"/nr-pies/docs/spec/data/project_bundle"},{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","permalink":"/nr-pies/docs/intro/terminology"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/assets/js/8164.321b3b7b.js b/assets/js/8164.321b3b7b.js new file mode 100644 index 0000000..5509755 --- /dev/null +++ b/assets/js/8164.321b3b7b.js @@ -0,0 +1,159 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8164"],{57169:function(e,t,s){s.d(t,{j:function(){return r},q:function(){return u}});var i=s(74146),n=s(27818),u=(0,i.eW)((e,t)=>{let s;return"sandbox"===t&&(s=(0,n.Ys)("#i"+e)),("sandbox"===t?(0,n.Ys)(s.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id="${e}"]`)},"getDiagramElement"),r=(0,i.eW)((e,t,s,n)=>{e.attr("class",s);let{width:u,height:r,x:o,y:c}=a(e,t);(0,i.v2)(e,r,u,n);let h=l(o,c,u,r,t);e.attr("viewBox",h),i.cM.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),a=(0,i.eW)((e,t)=>{let s=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*t,height:s.height+2*t,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),l=(0,i.eW)((e,t,s,i,n)=>`${e-n} ${t-n} ${s} ${i}`,"createViewBox")},83371:function(e,t,s){s.d(t,{Ee:function(){return er},P0:function(){return o},b0:function(){return el},pl:function(){return eu}});var i=s(57169),n=s(290),u=s(68394),r=s(74146),a=s(27818),l=function(){var e=(0,r.eW)(function(e,t,s,i){for(s=s||{},i=e.length;i--;s[e[i]]=t);return s},"o"),t=[1,18],s=[1,19],i=[1,20],n=[1,41],u=[1,42],a=[1,26],l=[1,24],o=[1,25],c=[1,32],h=[1,33],p=[1,34],A=[1,45],d=[1,35],y=[1,36],g=[1,37],f=[1,38],E=[1,27],C=[1,28],m=[1,29],b=[1,30],k=[1,31],T=[1,44],F=[1,46],D=[1,43],B=[1,47],_=[1,9],S=[1,8,9],$=[1,58],N=[1,59],L=[1,60],x=[1,61],O=[1,62],I=[1,63],v=[1,64],W=[1,8,9,41],w=[1,76],R=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],P=[1,8,9,12,13,17,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],M=[13,58,84,99,101,102],G=[13,58,71,72,84,99,101,102],U=[13,58,66,67,68,69,70,84,99,101,102],Y=[1,98],V=[1,115],z=[1,107],K=[1,113],j=[1,108],Q=[1,109],X=[1,110],q=[1,111],H=[1,112],J=[1,114],Z=[22,58,59,80,84,85,86,87,88,89],ee=[1,8,9,39,41,44],et=[1,8,9,22],es=[1,143],ei=[1,8,9,59],en=[1,8,9,22,58,59,80,84,85,86,87,88,89],eu={trace:(0,r.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[19,1],[53,1]],performAction:(0,r.eW)(function(e,t,s,i,n,u,r){var a=u.length-1;switch(n){case 8:this.$=u[a-1];break;case 9:case 12:case 14:this.$=u[a];break;case 10:case 13:this.$=u[a-2]+"."+u[a];break;case 11:case 15:this.$=u[a-1]+u[a];break;case 16:case 17:this.$=u[a-1]+"~"+u[a]+"~";break;case 18:i.addRelation(u[a]);break;case 19:u[a-1].title=i.cleanupLabel(u[a]),i.addRelation(u[a-1]);break;case 30:this.$=u[a].trim(),i.setAccTitle(this.$);break;case 31:case 32:this.$=u[a].trim(),i.setAccDescription(this.$);break;case 33:i.addClassesToNamespace(u[a-3],u[a-1]);break;case 34:i.addClassesToNamespace(u[a-4],u[a-1]);break;case 35:this.$=u[a],i.addNamespace(u[a]);break;case 36:case 46:case 59:case 92:this.$=[u[a]];break;case 37:this.$=[u[a-1]];break;case 38:u[a].unshift(u[a-2]),this.$=u[a];break;case 40:i.setCssClass(u[a-2],u[a]);break;case 41:i.addMembers(u[a-3],u[a-1]);break;case 42:i.setCssClass(u[a-5],u[a-3]),i.addMembers(u[a-5],u[a-1]);break;case 43:this.$=u[a],i.addClass(u[a]);break;case 44:this.$=u[a-1],i.addClass(u[a-1]),i.setClassLabel(u[a-1],u[a]);break;case 45:i.addAnnotation(u[a],u[a-2]);break;case 47:u[a].push(u[a-1]),this.$=u[a];break;case 48:case 50:case 51:break;case 49:i.addMember(u[a-1],i.cleanupLabel(u[a]));break;case 52:this.$={id1:u[a-2],id2:u[a],relation:u[a-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:u[a-3],id2:u[a],relation:u[a-1],relationTitle1:u[a-2],relationTitle2:"none"};break;case 54:this.$={id1:u[a-3],id2:u[a],relation:u[a-2],relationTitle1:"none",relationTitle2:u[a-1]};break;case 55:this.$={id1:u[a-4],id2:u[a],relation:u[a-2],relationTitle1:u[a-3],relationTitle2:u[a-1]};break;case 56:i.addNote(u[a],u[a-1]);break;case 57:i.addNote(u[a]);break;case 58:this.$=u[a-2],i.defineClass(u[a-1],u[a]);break;case 60:this.$=u[a-2].concat([u[a]]);break;case 61:i.setDirection("TB");break;case 62:i.setDirection("BT");break;case 63:i.setDirection("RL");break;case 64:i.setDirection("LR");break;case 65:this.$={type1:u[a-2],type2:u[a],lineType:u[a-1]};break;case 66:this.$={type1:"none",type2:u[a],lineType:u[a-1]};break;case 67:this.$={type1:u[a-1],type2:"none",lineType:u[a]};break;case 68:this.$={type1:"none",type2:"none",lineType:u[a]};break;case 69:this.$=i.relationType.AGGREGATION;break;case 70:this.$=i.relationType.EXTENSION;break;case 71:this.$=i.relationType.COMPOSITION;break;case 72:this.$=i.relationType.DEPENDENCY;break;case 73:this.$=i.relationType.LOLLIPOP;break;case 74:this.$=i.lineType.LINE;break;case 75:this.$=i.lineType.DOTTED_LINE;break;case 76:case 82:this.$=u[a-2],i.setClickEvent(u[a-1],u[a]);break;case 77:case 83:this.$=u[a-3],i.setClickEvent(u[a-2],u[a-1]),i.setTooltip(u[a-2],u[a]);break;case 78:this.$=u[a-2],i.setLink(u[a-1],u[a]);break;case 79:this.$=u[a-3],i.setLink(u[a-2],u[a-1],u[a]);break;case 80:this.$=u[a-3],i.setLink(u[a-2],u[a-1]),i.setTooltip(u[a-2],u[a]);break;case 81:this.$=u[a-4],i.setLink(u[a-3],u[a-2],u[a]),i.setTooltip(u[a-3],u[a-1]);break;case 84:this.$=u[a-3],i.setClickEvent(u[a-2],u[a-1],u[a]);break;case 85:this.$=u[a-4],i.setClickEvent(u[a-3],u[a-2],u[a-1]),i.setTooltip(u[a-3],u[a]);break;case 86:this.$=u[a-3],i.setLink(u[a-2],u[a]);break;case 87:this.$=u[a-4],i.setLink(u[a-3],u[a-1],u[a]);break;case 88:this.$=u[a-4],i.setLink(u[a-3],u[a-1]),i.setTooltip(u[a-3],u[a]);break;case 89:this.$=u[a-5],i.setLink(u[a-4],u[a-2],u[a]),i.setTooltip(u[a-4],u[a-1]);break;case 90:this.$=u[a-2],i.setCssStyle(u[a-1],u[a]);break;case 91:i.setCssClass(u[a-1],u[a]);break;case 93:u[a-2].push(u[a]),this.$=u[a-2];break;case 95:this.$=u[a-1]+u[a]}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:s,37:i,38:22,42:n,43:23,46:u,47:a,49:l,50:o,52:c,54:h,55:p,58:A,60:d,61:y,62:g,63:f,73:E,74:C,76:m,80:b,81:k,84:T,99:F,101:D,102:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(_,[2,5],{8:[1,48]}),{8:[1,49]},e(S,[2,18],{22:[1,50]}),e(S,[2,20]),e(S,[2,21]),e(S,[2,22]),e(S,[2,23]),e(S,[2,24]),e(S,[2,25]),e(S,[2,26]),e(S,[2,27]),e(S,[2,28]),e(S,[2,29]),{34:[1,51]},{36:[1,52]},e(S,[2,32]),e(S,[2,48],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:$,67:N,68:L,69:x,70:O,71:I,72:v}),{39:[1,65]},e(W,[2,39],{39:[1,67],44:[1,66]}),e(S,[2,50]),e(S,[2,51]),{16:68,58:A,84:T,99:F,101:D},{16:39,18:69,19:40,58:A,84:T,99:F,101:D,102:B},{16:39,18:70,19:40,58:A,84:T,99:F,101:D,102:B},{16:39,18:71,19:40,58:A,84:T,99:F,101:D,102:B},{58:[1,72]},{13:[1,73]},{16:39,18:74,19:40,58:A,84:T,99:F,101:D,102:B},{13:w,53:75},{56:77,58:[1,78]},e(S,[2,61]),e(S,[2,62]),e(S,[2,63]),e(S,[2,64]),e(R,[2,12],{16:39,19:40,18:80,17:[1,79],20:[1,81],58:A,84:T,99:F,101:D,102:B}),e(R,[2,14],{20:[1,82]}),{15:83,16:84,58:A,84:T,99:F,101:D},{16:39,18:85,19:40,58:A,84:T,99:F,101:D,102:B},e(P,[2,118]),e(P,[2,119]),e(P,[2,120]),e(P,[2,121]),e([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,122]),e(_,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,18:21,38:22,43:23,16:39,19:40,5:86,33:t,35:s,37:i,42:n,46:u,47:a,49:l,50:o,52:c,54:h,55:p,58:A,60:d,61:y,62:g,63:f,73:E,74:C,76:m,80:b,81:k,84:T,99:F,101:D,102:B}),{5:87,10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:s,37:i,38:22,42:n,43:23,46:u,47:a,49:l,50:o,52:c,54:h,55:p,58:A,60:d,61:y,62:g,63:f,73:E,74:C,76:m,80:b,81:k,84:T,99:F,101:D,102:B},e(S,[2,19]),e(S,[2,30]),e(S,[2,31]),{13:[1,89],16:39,18:88,19:40,58:A,84:T,99:F,101:D,102:B},{51:90,64:56,65:57,66:$,67:N,68:L,69:x,70:O,71:I,72:v},e(S,[2,49]),{65:91,71:I,72:v},e(M,[2,68],{64:92,66:$,67:N,68:L,69:x,70:O}),e(G,[2,69]),e(G,[2,70]),e(G,[2,71]),e(G,[2,72]),e(G,[2,73]),e(U,[2,74]),e(U,[2,75]),{8:[1,94],24:95,40:93,43:23,46:u},{16:96,58:A,84:T,99:F,101:D},{45:97,49:Y},{48:[1,99]},{13:[1,100]},{13:[1,101]},{77:[1,102],79:[1,103]},{22:V,57:104,58:z,80:K,82:105,83:106,84:j,85:Q,86:X,87:q,88:H,89:J},{58:[1,116]},{13:w,53:117},e(S,[2,57]),e(S,[2,123]),{22:V,57:118,58:z,59:[1,119],80:K,82:105,83:106,84:j,85:Q,86:X,87:q,88:H,89:J},e(Z,[2,59]),{16:39,18:120,19:40,58:A,84:T,99:F,101:D,102:B},e(R,[2,15]),e(R,[2,16]),e(R,[2,17]),{39:[2,35]},{15:122,16:84,17:[1,121],39:[2,9],58:A,84:T,99:F,101:D},e(ee,[2,43],{11:123,12:[1,124]}),e(_,[2,7]),{9:[1,125]},e(et,[2,52]),{16:39,18:126,19:40,58:A,84:T,99:F,101:D,102:B},{13:[1,128],16:39,18:127,19:40,58:A,84:T,99:F,101:D,102:B},e(M,[2,67],{64:129,66:$,67:N,68:L,69:x,70:O}),e(M,[2,66]),{41:[1,130]},{24:95,40:131,43:23,46:u},{8:[1,132],41:[2,36]},e(W,[2,40],{39:[1,133]}),{41:[1,134]},{41:[2,46],45:135,49:Y},{16:39,18:136,19:40,58:A,84:T,99:F,101:D,102:B},e(S,[2,76],{13:[1,137]}),e(S,[2,78],{13:[1,139],75:[1,138]}),e(S,[2,82],{13:[1,140],78:[1,141]}),{13:[1,142]},e(S,[2,90],{59:es}),e(ei,[2,92],{83:144,22:V,58:z,80:K,84:j,85:Q,86:X,87:q,88:H,89:J}),e(en,[2,94]),e(en,[2,96]),e(en,[2,97]),e(en,[2,98]),e(en,[2,99]),e(en,[2,100]),e(en,[2,101]),e(en,[2,102]),e(en,[2,103]),e(en,[2,104]),e(S,[2,91]),e(S,[2,56]),e(S,[2,58],{59:es}),{58:[1,145]},e(R,[2,13]),{15:146,16:84,58:A,84:T,99:F,101:D},{39:[2,11]},e(ee,[2,44]),{13:[1,147]},{1:[2,4]},e(et,[2,54]),e(et,[2,53]),{16:39,18:148,19:40,58:A,84:T,99:F,101:D,102:B},e(M,[2,65]),e(S,[2,33]),{41:[1,149]},{24:95,40:150,41:[2,37],43:23,46:u},{45:151,49:Y},e(W,[2,41]),{41:[2,47]},e(S,[2,45]),e(S,[2,77]),e(S,[2,79]),e(S,[2,80],{75:[1,152]}),e(S,[2,83]),e(S,[2,84],{13:[1,153]}),e(S,[2,86],{13:[1,155],75:[1,154]}),{22:V,58:z,80:K,82:156,83:106,84:j,85:Q,86:X,87:q,88:H,89:J},e(en,[2,95]),e(Z,[2,60]),{39:[2,10]},{14:[1,157]},e(et,[2,55]),e(S,[2,34]),{41:[2,38]},{41:[1,158]},e(S,[2,81]),e(S,[2,85]),e(S,[2,87]),e(S,[2,88],{75:[1,159]}),e(ei,[2,93],{83:144,22:V,58:z,80:K,84:j,85:Q,86:X,87:q,88:H,89:J}),e(ee,[2,8]),e(W,[2,42]),e(S,[2,89])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,35],122:[2,11],125:[2,4],135:[2,47],146:[2,10],150:[2,38]},parseError:(0,r.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var s=Error(e);throw s.hash=t,s}},"parseError"),parse:(0,r.eW)(function(e){var t=this,s=[0],i=[],n=[null],u=[],a=this.table,l="",o=0,c=0,h=0,p=u.slice.call(arguments,1),A=Object.create(this.lexer),d={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(d.yy[y]=this.yy[y]);A.setInput(e,d.yy),d.yy.lexer=A,d.yy.parser=this,void 0===A.yylloc&&(A.yylloc={});var g=A.yylloc;u.push(g);var f=A.options&&A.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function E(){var e;return"number"!=typeof(e=i.pop()||A.lex()||1)&&(e instanceof Array&&(e=(i=e).pop()),e=t.symbols_[e]||e),e}(0,r.eW)(function(e){s.length=s.length-2*e,n.length=n.length-e,u.length=u.length-e},"popStack"),(0,r.eW)(E,"lex");for(var C,m,b,k,T,F,D,B,_,S={};;){if(b=s[s.length-1],this.defaultActions[b]?k=this.defaultActions[b]:(null==C&&(C=E()),k=a[b]&&a[b][C]),void 0===k||!k.length||!k[0]){var $="";for(F in _=[],a[b])this.terminals_[F]&&F>2&&_.push("'"+this.terminals_[F]+"'");$=A.showPosition?"Parse error on line "+(o+1)+":\n"+A.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[C]||C)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==C?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError($,{text:A.match,token:this.terminals_[C]||C,line:A.yylineno,loc:g,expected:_})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+C);switch(k[0]){case 1:s.push(C),n.push(A.yytext),u.push(A.yylloc),s.push(k[1]),C=null,m?(C=m,m=null):(c=A.yyleng,l=A.yytext,o=A.yylineno,g=A.yylloc,h>0&&h--);break;case 2:if(D=this.productions_[k[1]][1],S.$=n[n.length-D],S._$={first_line:u[u.length-(D||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(D||1)].first_column,last_column:u[u.length-1].last_column},f&&(S._$.range=[u[u.length-(D||1)].range[0],u[u.length-1].range[1]]),void 0!==(T=this.performAction.apply(S,[l,c,o,d.yy,k[1],n,u].concat(p))))return T;D&&(s=s.slice(0,-1*D*2),n=n.slice(0,-1*D),u=u.slice(0,-1*D)),s.push(this.productions_[k[1]][0]),n.push(S.$),u.push(S._$),B=a[s[s.length-2]][s[s.length-1]],s.push(B);break;case 3:return!0}}return!0},"parse")},er={EOF:1,parseError:(0,r.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,r.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,r.eW)(function(e){var t=e.length,s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var 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),s.length-1&&(this.yylineno-=s.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.eW)(function(){return this._more=!0,this},"more"),reject:(0,r.eW)(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})},"reject"),less:(0,r.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,r.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,r.eW)(function(e,t){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=e[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+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var u in n)this[u]=n[u];return!1},"test_match"),next:(0,r.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,s,i,n=this._currentRules(),u=0;ut[0].length)){if(t=s,i=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(s,n[u])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,n[i]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,r.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,r.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,r.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,r.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,r.eW)(function(e,t,s,i){switch(s){case 0:return 60;case 1:return 61;case 2:return 62;case 3:return 63;case 4:case 5:case 14:case 31:case 36:case 40:case 47:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 58:case 61:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 35:return 8;case 15:case 16:return 7;case 17:case 37:case 45:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 77;case 23:return 78;case 25:return"STR";case 26:this.begin("string");break;case 27:return 80;case 28:return 55;case 29:return this.begin("namespace"),42;case 30:case 39:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:case 43:return this.popState(),41;case 34:case 44:return"EOF_IN_STRUCT";case 38:return this.begin("class"),46;case 41:return this.popState(),this.popState(),41;case 42:return this.begin("class-body"),39;case 46:return"OPEN_IN_STRUCT";case 48:return"MEMBER";case 49:return 81;case 50:return 73;case 51:return 74;case 52:return 76;case 53:return 52;case 54:return 54;case 55:return 47;case 56:return 48;case 57:return 79;case 59:return"GENERICTYPE";case 60:this.begin("generic");break;case 62:return"BQUOTE_STR";case 63:this.begin("bqstring");break;case 64:case 65:case 66:case 67:return 75;case 68:case 69:return 67;case 70:case 71:return 69;case 72:return 68;case 73:return 66;case 74:return 70;case 75:return 71;case 76:return 72;case 77:return 22;case 78:return 44;case 79:return 99;case 80:return 17;case 81:return"PLUS";case 82:return 85;case 83:return 59;case 84:case 85:return 88;case 86:return 89;case 87:case 88:return"EQUALS";case 89:return 58;case 90:return 12;case 91:return 14;case 92:return"PUNCTUATION";case 93:return 84;case 94:return 101;case 95:case 96:return 87;case 97:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}};function ea(){this.yy={}}return eu.lexer=er,(0,r.eW)(ea,"Parser"),ea.prototype=eu,eu.Parser=ea,new ea}();l.parser=l;var o=l,c=["#","+","~","-",""],h=class{static{(0,r.eW)(this,"ClassMember")}constructor(e,t){this.memberType=t,this.visibility="",this.classifier="",this.text="";let s=(0,r.oO)(e,(0,r.nV)());this.parseMember(s)}getDisplayDetails(){let e=this.visibility+(0,r.UO)(this.id);return"method"===this.memberType&&(e+=`(${(0,r.UO)(this.parameters.trim())})`,this.returnType&&(e+=" : "+(0,r.UO)(this.returnType))),e=e.trim(),{displayText:e,cssStyle:this.parseClassifier()}}parseMember(e){let t="";if("method"===this.memberType){let s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);if(s){let e=s[1]?s[1].trim():"";if(c.includes(e)&&(this.visibility=e),this.id=s[2],this.parameters=s[3]?s[3].trim():"",t=s[4]?s[4].trim():"",this.returnType=s[5]?s[5].trim():"",""===t){let e=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(e)&&(t=e,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let s=e.length,i=e.substring(0,1),n=e.substring(s-1);c.includes(i)&&(this.visibility=i),/[$*]/.exec(n)&&(t=n),this.id=e.substring(""===this.visibility?0:1,""===t?s:s-1)}this.classifier=t,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let s=`${this.visibility?"\\"+this.visibility:""}${(0,r.UO)(this.id)}${"method"===this.memberType?`(${(0,r.UO)(this.parameters)})${this.returnType?" : "+(0,r.UO)(this.returnType):""}`:""}`;this.text=s.replaceAll("<","<").replaceAll(">",">"),this.text.startsWith("\\<")&&(this.text=this.text.replace("\\<","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},p="classId-",A=[],d=new Map,y=new Map,g=[],f=[],E=0,C=new Map,m=0,b=[],k=(0,r.eW)(e=>r.SY.sanitizeText(e,(0,r.nV)()),"sanitizeText"),T=(0,r.eW)(function(e){let t=r.SY.sanitizeText(e,(0,r.nV)()),s="",i=t;if(t.indexOf("~")>0){let e=t.split("~");i=k(e[0]),s=k(e[1])}return{className:i,type:s}},"splitClassNameAndType"),F=(0,r.eW)(function(e,t){let s=r.SY.sanitizeText(e,(0,r.nV)());t&&(t=k(t));let{className:i}=T(s);d.get(i).label=t,d.get(i).text=`${t}${d.get(i).type?`<${d.get(i).type}>`:""}`},"setClassLabel"),D=(0,r.eW)(function(e){let{className:t,type:s}=T(r.SY.sanitizeText(e,(0,r.nV)()));if(d.has(t))return;let i=r.SY.sanitizeText(t,(0,r.nV)());d.set(i,{id:i,type:s,label:i,text:`${i}${s?`<${s}>`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:p+i+"-"+E}),E++},"addClass"),B=(0,r.eW)(function(e,t){let s={id:`interface${f.length}`,label:e,classId:t};f.push(s)},"addInterface"),_=(0,r.eW)(function(e){let t=r.SY.sanitizeText(e,(0,r.nV)());if(d.has(t))return d.get(t).domId;throw Error("Class not found: "+t)},"lookUpDomId"),S=(0,r.eW)(function(){A=[],d=new Map,g=[],f=[],(b=[]).push(Q),C=new Map,m=0,X="TB",(0,r.ZH)()},"clear"),$=(0,r.eW)(function(e){return d.get(e)},"getClass"),N=(0,r.eW)(function(){return d},"getClasses"),L=(0,r.eW)(function(){return A},"getRelations"),x=(0,r.eW)(function(){return g},"getNotes"),O=(0,r.eW)(function(e){r.cM.debug("Adding relation: "+JSON.stringify(e));let t=[j.LOLLIPOP,j.AGGREGATION,j.COMPOSITION,j.DEPENDENCY,j.EXTENSION];e.relation.type1!==j.LOLLIPOP||t.includes(e.relation.type2)?e.relation.type2!==j.LOLLIPOP||t.includes(e.relation.type1)?(D(e.id1),D(e.id2)):(D(e.id1),B(e.id2,e.id1),e.id2=`interface${f.length-1}`):(D(e.id2),B(e.id1,e.id2),e.id1=`interface${f.length-1}`),e.id1=T(e.id1).className,e.id2=T(e.id2).className,e.relationTitle1=r.SY.sanitizeText(e.relationTitle1.trim(),(0,r.nV)()),e.relationTitle2=r.SY.sanitizeText(e.relationTitle2.trim(),(0,r.nV)()),A.push(e)},"addRelation"),I=(0,r.eW)(function(e,t){let s=T(e).className;d.get(s).annotations.push(t)},"addAnnotation"),v=(0,r.eW)(function(e,t){D(e);let s=T(e).className,i=d.get(s);if("string"==typeof t){let e=t.trim();e.startsWith("<<")&&e.endsWith(">>")?i.annotations.push(k(e.substring(2,e.length-2))):e.indexOf(")")>0?i.methods.push(new h(e,"method")):e&&i.members.push(new h(e,"attribute"))}},"addMember"),W=(0,r.eW)(function(e,t){Array.isArray(t)&&(t.reverse(),t.forEach(t=>v(e,t)))},"addMembers"),w=(0,r.eW)(function(e,t){let s={id:`note${g.length}`,class:t,text:e};g.push(s)},"addNote"),R=(0,r.eW)(function(e){return e.startsWith(":")&&(e=e.substring(1)),k(e.trim())},"cleanupLabel"),P=(0,r.eW)(function(e,t){e.split(",").forEach(function(e){let s=e;/\d/.exec(e[0])&&(s=p+s);let i=d.get(s);i&&(i.cssClasses+=" "+t)})},"setCssClass"),M=(0,r.eW)(function(e,t){for(let s of e){let e=y.get(s);void 0===e&&(e={id:s,styles:[],textStyles:[]},y.set(s,e)),t&&t.forEach(function(t){if(/color/.exec(t)){let s=t.replace("fill","bgFill");e.textStyles.push(s)}e.styles.push(t)}),d.forEach(e=>{e.cssClasses.includes(s)&&e.styles.push(...t.flatMap(e=>e.split(",")))})}},"defineClass"),G=(0,r.eW)(function(e,t){e.split(",").forEach(function(e){void 0!==t&&(d.get(e).tooltip=k(t))})},"setTooltip"),U=(0,r.eW)(function(e,t){return t&&C.has(t)?C.get(t).classes.get(e).tooltip:d.get(e).tooltip},"getTooltip"),Y=(0,r.eW)(function(e,t,s){let i=(0,r.nV)();e.split(",").forEach(function(e){let n=e;/\d/.exec(e[0])&&(n=p+n);let r=d.get(n);r&&(r.link=u.w8.formatUrl(t,i),"sandbox"===i.securityLevel?r.linkTarget="_top":"string"==typeof s?r.linkTarget=k(s):r.linkTarget="_blank")}),P(e,"clickable")},"setLink"),V=(0,r.eW)(function(e,t,s){e.split(",").forEach(function(e){z(e,t,s),d.get(e).haveCallback=!0}),P(e,"clickable")},"setClickEvent"),z=(0,r.eW)(function(e,t,s){let i=r.SY.sanitizeText(e,(0,r.nV)());if("loose"===(0,r.nV)().securityLevel&&void 0!==t){if(d.has(i)){let e=_(i),n=[];if("string"==typeof s){n=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e")),e.classed("hover",!0)}).on("mouseout",function(){t.transition().duration(500).style("opacity",0),(0,a.Ys)(this).classed("hover",!1)})},"setupToolTips");b.push(Q);var X="TB",q=(0,r.eW)(()=>X,"getDirection"),H=(0,r.eW)(e=>{X=e},"setDirection"),J=(0,r.eW)(function(e){if(!C.has(e))C.set(e,{id:e,classes:new Map,children:{},domId:p+e+"-"+m}),m++},"addNamespace"),Z=(0,r.eW)(function(e){return C.get(e)},"getNamespace"),ee=(0,r.eW)(function(){return C},"getNamespaces"),et=(0,r.eW)(function(e,t){if(!!C.has(e))for(let s of t){let{className:t}=T(s);d.get(t).parent=e,C.get(e).classes.set(t,d.get(t))}},"addClassesToNamespace"),es=(0,r.eW)(function(e,t){let s=d.get(e);if(!!t&&!!s)for(let e of t)e.includes(",")?s.styles.push(...e.split(",")):s.styles.push(e)},"setCssStyle");function ei(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}(0,r.eW)(ei,"getArrowMarker");var en=(0,r.eW)(()=>{let e=[],t=[],s=(0,r.nV)();for(let t of C.keys()){let i=C.get(t);if(i){let t={id:i.id,label:i.id,isGroup:!0,padding:s.class.padding??16,shape:"rect",cssStyles:["fill: none","stroke: black"],look:s.look};e.push(t)}}for(let t of d.keys()){let i=d.get(t);i&&(i.parentId=i.parent,i.look=s.look,e.push(i))}let i=0;for(let n of g){i++;let u={id:n.id,label:n.text,isGroup:!1,shape:"note",padding:s.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${s.themeVariables.noteBkgColor}`,`stroke: ${s.themeVariables.noteBorderColor}`],look:s.look};e.push(u);let r=d.get(n.class)?.id??"";if(r){let e={id:`edgeNote${i}`,start:n.id,end:r,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:s.look};t.push(e)}}for(let t of f){let i={id:t.id,label:t.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:s.look};e.push(i)}for(let e of(i=0,A)){i++;let n={id:(0,u.Ln)(e.id1,e.id2,{prefix:"id",counter:i}),start:e.id1,end:e.id2,type:"normal",label:e.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:ei(e.relation.type1),arrowTypeEnd:ei(e.relation.type2),startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:e.style||"",pattern:1==e.relation.lineType?"dashed":"solid",look:s.look};t.push(n)}return{nodes:e,edges:t,other:{},config:s,direction:q()}},"getData"),eu={setAccTitle:r.GN,getAccTitle:r.eu,getAccDescription:r.Mx,setAccDescription:r.U$,getConfig:(0,r.eW)(()=>(0,r.nV)().class,"getConfig"),addClass:D,bindFunctions:K,clear:S,getClass:$,getClasses:N,getNotes:x,addAnnotation:I,addNote:w,getRelations:L,addRelation:O,getDirection:q,setDirection:H,addMember:v,addMembers:W,cleanupLabel:R,lineType:{LINE:0,DOTTED_LINE:1},relationType:j,setClickEvent:V,setCssClass:P,defineClass:M,setLink:Y,getTooltip:U,setTooltip:G,lookUpDomId:_,setDiagramTitle:r.g2,getDiagramTitle:r.Kr,setClassLabel:F,addNamespace:J,addClassesToNamespace:et,getNamespace:Z,getNamespaces:ee,setCssStyle:es,getData:en},er=(0,r.eW)(e=>`g.classGroup text { + fill: ${e.nodeBorder||e.classText}; + stroke: none; + font-family: ${e.fontFamily}; + font-size: 10px; + + .title { + font-weight: bolder; + } + +} + +.nodeLabel, .edgeLabel { + color: ${e.classText}; +} +.edgeLabel .label rect { + fill: ${e.mainBkg}; +} +.label text { + fill: ${e.classText}; +} + +.labelBkg { + background: ${e.mainBkg}; +} +.edgeLabel .label span { + background: ${e.mainBkg}; +} + +.classTitle { + font-weight: bolder; +} +.node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + + +.divider { + stroke: ${e.nodeBorder}; + stroke-width: 1; +} + +g.clickable { + cursor: pointer; +} + +g.classGroup rect { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; +} + +g.classGroup line { + stroke: ${e.nodeBorder}; + stroke-width: 1; +} + +.classLabel .box { + stroke: none; + stroke-width: 0; + fill: ${e.mainBkg}; + opacity: 0.5; +} + +.classLabel .label { + fill: ${e.nodeBorder}; + font-size: 10px; +} + +.relation { + stroke: ${e.lineColor}; + stroke-width: 1; + fill: none; +} + +.dashed-line{ + stroke-dasharray: 3; +} + +.dotted-line{ + stroke-dasharray: 1 2; +} + +#compositionStart, .composition { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#compositionEnd, .composition { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#dependencyStart, .dependency { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#dependencyStart, .dependency { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#extensionStart, .extension { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#extensionEnd, .extension { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#aggregationStart, .aggregation { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#aggregationEnd, .aggregation { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#lollipopStart, .lollipop { + fill: ${e.mainBkg} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#lollipopEnd, .lollipop { + fill: ${e.mainBkg} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +.edgeTerminals { + font-size: 11px; + line-height: initial; +} + +.classTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; +} +`,"getStyles"),ea=(0,r.eW)((e,t="TB")=>{if(!e.doc)return t;let s=t;for(let t of e.doc)"dir"===t.stmt&&(s=t.value);return s},"getDir"),el={getClasses:(0,r.eW)(function(e,t){return t.db.getClasses()},"getClasses"),draw:(0,r.eW)(async function(e,t,s,a){r.cM.info("REF0:"),r.cM.info("Drawing class diagram (v3)",t);let{securityLevel:l,state:o,layout:c}=(0,r.nV)(),h=a.db.getData(),p=(0,i.q)(t,l);h.type=a.type,h.layoutAlgorithm=(0,n._b)(c),h.nodeSpacing=o?.nodeSpacing||50,h.rankSpacing=o?.rankSpacing||50,h.markers=["aggregation","extension","composition","dependency","lollipop"],h.diagramId=t,await (0,n.sY)(h,p);u.w8.insertTitle(p,"classDiagramTitleText",o?.titleTopMargin??25,a.db.getDiagramTitle()),(0,i.j)(p,8,"classDiagram",o?.useMaxWidth??!0)},"draw"),getDir:ea}}}]); \ No newline at end of file diff --git a/assets/js/864e058a.486d0d94.js b/assets/js/864e058a.486d0d94.js new file mode 100644 index 0000000..dfd2987 --- /dev/null +++ b/assets/js/864e058a.486d0d94.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7825"],{54982:function(e,t,n){n.r(t),n.d(t,{metadata:()=>s,contentTitle:()=>p,default:()=>x,assets:()=>h,toc:()=>u,frontMatter:()=>o});var s=JSON.parse('{"id":"spec/data/event","title":"Event","description":"Represents an event concept.","source":"@site/docs/spec/data/event.mdx","sourceDirName":"spec/data","slug":"/spec/data/event","permalink":"/nr-pies/docs/spec/data/event","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/event.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732930164000,"frontMatter":{"id":"event","title":"Event","description":"Represents an event concept.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Code","permalink":"/nr-pies/docs/spec/data/code"},"next":{"title":"Parcel Identifier","permalink":"/nr-pies/docs/spec/data/parcel_id"}}'),i=n("85893"),r=n("50065"),a=n("45056");n("98477");var d=n("47902"),c=n("5525"),l=JSON.parse('[{"start":"2017-01-01T00:00:00.000Z","end":"2017-01-02T00:00:00.000Z"},{"start":"2017-01-03T00:00:00.000Z"}]');let o={id:"event",title:"Event",description:"Represents an event concept.",tags:["developer"]},p=void 0,h={},u=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function m(e){let t={a:"a",code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"Represents a process concept."}),"\n",(0,i.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,i.jsx)(t.p,{children:"This data type is intended to represent the core concept of a temporal event. It may contain a set of timestamps."}),"\n",(0,i.jsxs)(t.p,{children:["Loosely taking inspiration from ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/datatypes.html#timing",children:"HL7 Timing"}),"."]}),"\n",(0,i.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,i.jsxs)(t.table,{children:[(0,i.jsx)(t.thead,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.th,{children:"Name"}),(0,i.jsx)(t.th,{children:"Cardinality"}),(0,i.jsx)(t.th,{children:"Type"}),(0,i.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,i.jsx)(t.tbody,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.td,{children:"TBD"}),(0,i.jsx)(t.td,{children:"1..1"}),(0,i.jsx)(t.td,{children:(0,i.jsx)(t.code,{children:"string"})}),(0,i.jsx)(t.td,{children:"TBD"})]})})]}),"\n",(0,i.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,i.jsx)(d.default,{queryString:"tab",children:(0,i.jsx)(c.default,{value:"example",label:"Example",children:(0,i.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(l,null,2)})})}),"\n",(0,i.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,i.jsx)(t.p,{children:"TBD"}),"\n",(0,i.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,i.jsx)(t.p,{children:"TBD"})]})}function x(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(m,{...e})}):m(e)}}}]); \ No newline at end of file diff --git a/assets/js/8733.3dfb4761.js b/assets/js/8733.3dfb4761.js new file mode 100644 index 0000000..e9198af --- /dev/null +++ b/assets/js/8733.3dfb4761.js @@ -0,0 +1,88 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8733"],{84182:function(t,e,i){var n,r;n=0,r=function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){!i.o(t,e)&&Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(e,i){e.exports=t},function(t,e,i){"use strict";var n=i(0).FDLayoutConstants;function r(){}for(var o in n)r[o]=n[o];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=n.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,i){"use strict";var n=i(0).FDLayoutEdge;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraph;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraphManager;function r(t){n.call(this,t)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).FDLayoutNode,r=i(0).IMath;function o(t,e,i,r){n.call(this,t,e,i,r)}for(var s in o.prototype=Object.create(n.prototype),n)o[s]=n[s];o.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?this.moveBy(this.displacementX,this.displacementY):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},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,n=this.getChild().getNodes(),r=0;r0)this.positionNodesRadially(i);else{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),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},v.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%l.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=l.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=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,n=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,n),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},v.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i1)for(s=0;sn&&(n=Math.floor(s.y)),o=Math.floor(s.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(c.WORLD_CENTER_X-s.x/2,c.WORLD_CENTER_Y-s.y/2))},v.radialLayout=function(t,e,i){var n=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);v.branchRadialLayout(e,null,0,359,0,n);var r=y.calculateBounds(t),o=new E;o.setDeviceOrgX(r.getMinX()),o.setDeviceOrgY(r.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var s=0;s1;){var E=y[0];y.splice(0,1);var _=g.indexOf(E);_>=0&&g.splice(_,1),p--,u--}s=null!=e?(g.indexOf(y[0])+1)%p:0;for(var m=Math.abs(n-i)/u,N=s;d!=u;N=++N%p){var A=g[N].getOtherEnd(t);if(A!=e){var L=(i+d*m)%360,T=(L+m)%360;v.branchRadialLayout(A,t,L,T,r+o,o),d++}}},v.maxDiagonalInTree=function(t){for(var e=p.MIN_VALUE,i=0;ie&&(e=n)}return e},v.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},v.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],n=this.graphManager.getAllNodes(),r=0;r1){var n="DummyCompound_"+i;t.memberGroups[n]=e[i];var r=e[i][0].getParent(),o=new s(t.graphManager);o.id=n,o.paddingLeft=r.paddingLeft||0,o.paddingRight=r.paddingRight||0,o.paddingBottom=r.paddingBottom||0,o.paddingTop=r.paddingTop||0,t.idToDummyNode[n]=o;var a=t.getGraphManager().add(t.newGraph(),o),h=r.getChild();h.add(o);for(var l=0;l=0;t--){var e=this.compoundOrder[t],i=e.id,n=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,n,r)}},v.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var n=t.idToDummyNode[i],r=n.paddingLeft,o=n.paddingTop;t.adjustLocations(e[i],n.rect.x,n.rect.y,r,o)})},v.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var n=i.getNodes(),r=0;r0)return this.toBeTiled[e]=!1,!1;if(null==o.getChild()){this.toBeTiled[o.id]=!1;continue}if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}return this.toBeTiled[e]=!0,!0},v.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,n=0;nh&&(h=c.rect.height)}i+=h+t.verticalPadding}},v.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(n){var r=e[n];i.tiledMemberPack[n]=i.tileNodes(t[n],r.paddingLeft+r.paddingRight),r.rect.width=i.tiledMemberPack[n].width,r.rect.height=i.tiledMemberPack[n].height})},v.prototype.tileNodes=function(t,e){var i={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:h.TILING_PADDING_VERTICAL,horizontalPadding:h.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.height0&&(r+=t.horizontalPadding),t.rowWidth[i]=r,t.width0&&(o+=t.verticalPadding);var s=0;o>t.rowHeight[i]&&(s=t.rowHeight[i],t.rowHeight[i]=o,s=t.rowHeight[i]-s),t.height+=s,t.rows[i].push(e)},v.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,n=0;ni&&(e=n,i=t.rowWidth[n]);return e},v.prototype.canAddHorizontal=function(t,e,i){var n,r,o=this.getShortestRowIndex(t);if(o<0)return!0;var s=t.rowWidth[o];if(s+t.horizontalPadding+e<=t.width)return!0;var a=0;return t.rowHeight[o]0&&(a=i+t.verticalPadding-t.rowHeight[o]),n=t.width-s>=e+t.horizontalPadding?(t.height+a)/(s+e+t.horizontalPadding):(t.height+a)/t.width,a=i+t.verticalPadding,(r=t.widtho&&e!=i){n.splice(-1,1),t.rows[i].push(r),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var s=Number.MIN_VALUE,a=0;as&&(s=n[a].height);e>0&&(s+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=s,t.rowHeight[i]0)for(var u=s;u<=a;u++)g[0]+=this.grid[u][h-1].length+this.grid[u][h].length-1;if(a0)for(var u=h;u<=c;u++)g[3]+=this.grid[s-1][u].length+this.grid[s][u].length-1;for(var d=p.MAX_VALUE,f=0;f0&&(s=i.getGraphManager().add(i.newGraph(),o),this.processChildrenList(s,g,i))}},g.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",g)};"undefined"!=typeof cytoscape&&d(cytoscape),t.exports=d}])},t.exports=r(i(84182))},82241:function(t){var e,i;e=0,i=function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){!i.o(t,e)&&Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=26)}([function(t,e,i){"use strict";function n(){}n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(8),o=i(9);function s(t,e,i){n.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var a in s.prototype=Object.create(n.prototype),n)s[a]=n[a];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.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"},s.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),n=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==n)break;i=i.getOwner().getParent()}return null},s.prototype.updateLength=function(){var t=[,,,,];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],1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(13),s=i(0),a=i(16),h=i(4);function l(t,e,i,s){null==i&&null==s&&(s=e),n.call(this,s),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=s,this.edges=[],this.graphManager=t,null!=i&&null!=e?this.rect=new o(e.x,e.y,i.width,i.height):this.rect=new o}for(var c in l.prototype=Object.create(n.prototype),n)l[c]=n[c];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.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},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(n.target==t){if(n.source!=i)throw"Incorrect edge source!";e.push(n)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(!(n.source==i||n.target==i))throw"Incorrect edge source and/or target";(n.target==t||n.source==t)&&e.push(n)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child){for(var e=this.child.getNodes(),i=0;ie&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>i&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-i)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-i),this.setHeight(this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>s.WORLD_BOUNDARY?e=s.WORLD_BOUNDARY:e<-s.WORLD_BOUNDARY&&(e=-s.WORLD_BOUNDARY);var i=this.rect.y;i>s.WORLD_BOUNDARY?i=s.WORLD_BOUNDARY:i<-s.WORLD_BOUNDARY&&(i=-s.WORLD_BOUNDARY);var n=new h(e,i),r=t.inverseTransformPoint(n);this.setLocation(r.x,r.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";function n(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(t){this.x=t},n.prototype.setY=function(t){this.y=t},n.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(0),s=i(6),a=i(3),h=i(1),l=i(13),c=i(12),g=i(11);function u(t,e,i){n.call(this,i),this.estimatedSize=r.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof s?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in u.prototype=Object.create(n.prototype),n)u[d]=n[d];u.prototype.getNodes=function(){return this.nodes},u.prototype.getEdges=function(){return this.edges},u.prototype.getGraphManager=function(){return this.graphManager},u.prototype.getParent=function(){return this.parent},u.prototype.getLeft=function(){return this.left},u.prototype.getRight=function(){return this.right},u.prototype.getTop=function(){return this.top},u.prototype.getBottom=function(){return this.bottom},u.prototype.isConnected=function(){return this.isConnected},u.prototype.add=function(t,e,i){if(null==e&&null==i){if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(t)>-1)throw"Node already in graph!";return t.owner=this,this.getNodes().push(t),t}if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(!(e.owner==i.owner&&e.owner==this))throw"Both owners must be this graph!";return e.owner!=i.owner?null:(t.source=e,t.target=i,t.isInterGraph=!1,this.getEdges().push(t),e.edges.push(t),i!=e&&i.edges.push(t),t)},u.prototype.remove=function(t){if(t instanceof a){if(null==t)throw"Node is null!";if(!(null!=t.owner&&t.owner==this))throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var e,i=t.edges.slice(),n=i.length,r=0;r-1&&l>-1))throw"Source and/or target doesn't know this edge!";e.source.edges.splice(s,1),e.target!=e.source&&e.target.edges.splice(l,1);var o=e.source.owner.getEdges().indexOf(e);if(-1==o)throw"Not in owner's edge list!";e.source.owner.getEdges().splice(o,1)}},u.prototype.updateLeftTop=function(){for(var t,e,i,n=r.MAX_VALUE,o=r.MAX_VALUE,s=this.getNodes(),a=s.length,h=0;ht&&(n=t),o>e&&(o=e)}return n==r.MAX_VALUE?null:(i=void 0!=s[0].getParent().paddingLeft?s[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=n-i,new c(this.left,this.top))},u.prototype.updateBounds=function(t){for(var e,i,n,o,s,a=r.MAX_VALUE,h=-r.MAX_VALUE,c=r.MAX_VALUE,g=-r.MAX_VALUE,u=this.nodes,d=u.length,p=0;pe&&(a=e),hn&&(c=n),ge&&(s=e),an&&(h=n),c=this.nodes.length){var h=0;r.forEach(function(t){t.owner==i&&h++}),h==this.nodes.length&&(this.isConnected=!0)}},t.exports=u},function(t,e,i){"use strict";var n,r=i(1);function o(t){n=i(5),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,n,r){if(null==i&&null==n&&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=i,n=e,i=t;var o=n.getOwner(),s=r.getOwner();if(!(null!=o&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(null!=s&&s.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==s)return i.isInterGraph=!1,o.add(i,n,r);if(i.isInterGraph=!0,i.source=n,i.target=r,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),!(null!=i.source&&null!=i.target))throw"Edge source and/or target is null!";if(!(-1==i.source.edges.indexOf(i)&&-1==i.target.edges.indexOf(i)))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof n){if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||null!=t.parent&&t.parent.graphManager==this))throw"Invalid parent node!";for(var e,i,o=[],s=(o=o.concat(t.getEdges())).length,a=0;a=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var s=o*i[0],a=i[1]/o;i[0]s?(i[0]=n,i[1]=h,i[2]=o,i[3]=_):ro?(i[0]=a,i[1]=r,i[2]=E,i[3]=s):no?(i[0]=c,i[1]=g):(i[0]=l,i[1]=h),L=!0):O===I&&(n>o?(i[0]=a,i[1]=h):(i[0]=u,i[1]=g),L=!0),-D===I?(o>n?(i[2]=v,i[3]=_):(i[2]=E,i[3]=y),T=!0):D===I&&(o>n?(i[2]=f,i[3]=y):(i[2]=m,i[3]=_),T=!0),L&&T)return!1;if(n>o?r>s?(w=this.getCardinalDirection(O,I,4),R=this.getCardinalDirection(D,I,2)):(w=this.getCardinalDirection(-O,I,3),R=this.getCardinalDirection(-D,I,1)):r>s?(w=this.getCardinalDirection(-O,I,1),R=this.getCardinalDirection(-D,I,3)):(w=this.getCardinalDirection(O,I,2),R=this.getCardinalDirection(D,I,4)),!L)switch(w){case 1:M=h,C=n+-p/I,i[0]=C,i[1]=M;break;case 2:C=u,M=r+d*I,i[0]=C,i[1]=M;break;case 3:M=g,C=n+p/I,i[0]=C,i[1]=M;break;case 4:C=c,M=r+-d*I,i[0]=C,i[1]=M}if(!T)switch(R){case 1:G=y,x=o+-A/I,i[2]=x,i[3]=G;break;case 2:x=m,G=s+N*I,i[2]=x,i[3]=G;break;case 3:G=_,x=o+A/I,i[2]=x,i[3]=G;break;case 4:x=v,G=s+-N*I,i[2]=x,i[3]=G}}return!1},r.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},r.getIntersection=function(t,e,i,r){if(null==r)return this.getIntersection2(t,e,i);var o=t.x,s=t.y,a=e.x,h=e.y,l=i.x,c=i.y,g=r.x,u=r.y,d=void 0,p=void 0,f=void 0,y=void 0,E=void 0,v=void 0,_=void 0,m=void 0,N=void 0;return(f=h-s,E=o-a,_=a*s-o*h,y=u-c,v=l-g,m=g*c-l*u,0==(N=f*v-y*E))?null:new n(d=(E*m-v*_)/N,p=(y*_-f*m)/N)},r.angleOfVector=function(t,e,i,n){var r=void 0;return t!==i?(r=Math.atan((n-e)/(i-t)),i0?1:t<0?-1:0},n.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},n.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=n},function(t,e,i){"use strict";function n(){}n.MAX_VALUE=0x7fffffff,n.MIN_VALUE=-0x80000000,t.exports=n},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i0&&e;){for(a.push(l[0]);a.length>0&&e;){var c=a[0];a.splice(0,1),s.add(c);for(var g=c.getEdges(),o=0;o-1&&l.splice(f,1)}s=new Set,h=new Map}else t=[]}return t},u.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,n=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r0){for(var r=this.edgeToDummyNodes.get(i),o=0;o=0&&e.splice(g,1),a.getNeighborsList().forEach(function(t){if(0>i.indexOf(t)){var e=n.get(t)-1;1==e&&l.push(t),n.set(t,e)}})}i=i.concat(l),(1==e.length||2==e.length)&&(r=!0,o=e[0])}return o},u.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=u},function(t,e,i){"use strict";function n(){}n.seed=1,n.x=0,n.nextDouble=function(){return n.x=1e4*Math.sin(n.seed++),n.x-Math.floor(n.x)},t.exports=n},function(t,e,i){"use strict";var n=i(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,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},r.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},r.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},r.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},r.prototype.inverseTransformPoint=function(t){return new n(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r},function(t,e,i){"use strict";var n=i(15),r=i(7),o=i(0),s=i(8),a=i(9);function h(){n.call(this),this.useSmartIdealEdgeLengthCalculation=r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=r.DEFAULT_EDGE_LENGTH,this.springConstant=r.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=r.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=r.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=r.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*r.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=r.MAX_ITERATIONS}for(var l in h.prototype=Object.create(n.prototype),n)h[l]=n[l];h.prototype.initParameters=function(){n.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,n,s,a,h=this.getGraphManager().getAllEdges(),l=0;lr.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*r.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-r.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>r.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(r.COOLING_ADAPTATION_FACTOR,1-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*(1-r.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i0)||void 0===arguments[0]||arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&s&&this.updateGrid(),o=new Set,t=0;t(h=e.getEstimatedSize()*this.gravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*o):(s>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=2>Math.abs(this.totalDisplacement-this.oldTotalDisplacement)),t=this.totalDisplacement=a.length||l>=a[0].length))for(var c=0;ct}}]),t}();t.exports=o},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=i,this.match_score=n,this.mismatch_penalty=r,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=Array(this.iMax);for(var s=0;s=0;i--){var n=this.listeners[i];n.event===t&&n.callback===e&&this.listeners.splice(i,1)}},r.emit=function(t,e){for(var i=0;i2&&I.push("'"+this.terminals_[T]+"'");R=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(R,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:I})}if(A[0]instanceof Array&&A.length>1)throw Error("Parse Error: multiple actions possible at state: "+N+", token: "+_);switch(A[0]){case 1:i.push(_),r.push(d.yytext),o.push(d.yylloc),i.push(A[1]),_=null,m?(_=m,m=null):(c=d.yyleng,h=d.yytext,l=d.yylineno,y=d.yylloc,g>0&&g--);break;case 2:if(O=this.productions_[A[1]][1],w.$=r[r.length-O],w._$={first_line:o[o.length-(O||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(O||1)].first_column,last_column:o[o.length-1].last_column},E&&(w._$.range=[o[o.length-(O||1)].range[0],o[o.length-1].range[1]]),void 0!==(L=this.performAction.apply(w,[h,c,l,p.yy,A[1],r,o].concat(u))))return L;O&&(i=i.slice(0,-1*O*2),r=r.slice(0,-1*O),o=o.slice(0,-1*O)),i.push(this.productions_[A[1]][0]),r.push(w.$),o.push(w._$),D=a[i[i.length-2]][i[i.length-1]],i.push(D);break;case 3:return!0}}return!0},"parse")},_={EOF:1,parseError:(0,s.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,s.eW)(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},"setInput"),input:(0,s.eW)(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},"input"),unput:(0,s.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,s.eW)(function(){return this._more=!0,this},"more"),reject:(0,s.eW)(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})},"reject"),less:(0,s.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s.eW)(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,"")},"upcomingInput"),showPosition:(0,s.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s.eW)(function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var o in r)this[o]=r[o];return!1},"test_match"),next:(0,s.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),o=0;oe[0].length)){if(e=i,n=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[o])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,s.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,s.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,s.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.eW)(function(t,e,i,n){switch(i){case 0:return t.getLogger().trace("Found comment",e.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5: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:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 27:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return t.getLogger().trace("Long description:",e.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function m(){this.yy={}}return v.lexer=_,(0,s.eW)(m,"Parser"),m.prototype=v,v.Parser=m,new m}();d.parser=d;var p=[],f=0,y={},E=(0,s.eW)(()=>{p=[],f=0,y={}},"clear"),v=(0,s.eW)(function(t){for(let e=p.length-1;e>=0;e--)if(p[e].levelp.length>0?p[0]:null,"getMindmap"),m=(0,s.eW)((t,e,i,n)=>{s.cM.info("addNode",t,e,i,n);let r=(0,s.nV)(),o=r.mindmap?.padding??s.vZ.mindmap.padding;switch(n){case N.ROUNDED_RECT:case N.RECT:case N.HEXAGON:o*=2}let a={id:f++,nodeId:(0,s.oO)(e,r),level:t,descr:(0,s.oO)(i,r),type:n,children:[],width:r.mindmap?.maxNodeWidth??s.vZ.mindmap.maxNodeWidth,padding:o},h=v(t);if(h)h.children.push(a),p.push(a);else if(0===p.length)p.push(a);else throw Error('There can be only one root. No parent could be found for ("'+a.descr+'")')},"addNode"),N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},A=(0,s.eW)((t,e)=>{switch(s.cM.debug("In get type",t,e),t){case"[":return N.RECT;case"(":return")"===e?N.ROUNDED_RECT:N.CLOUD;case"((":return N.CIRCLE;case")":return N.CLOUD;case"))":return N.BANG;case"{{":return N.HEXAGON;default:return N.DEFAULT}},"getType"),L=(0,s.eW)((t,e)=>{y[t]=e},"setElementForId"),T=(0,s.eW)(t=>{if(!t)return;let e=(0,s.nV)(),i=p[p.length-1];t.icon&&(i.icon=(0,s.oO)(t.icon,e)),t.class&&(i.class=(0,s.oO)(t.class,e))},"decorateNode"),O=(0,s.eW)(t=>{switch(t){case N.DEFAULT:return"no-border";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded-rect";case N.CIRCLE:return"circle";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),D=(0,s.eW)(()=>s.cM,"getLogger"),I=(0,s.eW)(t=>y[t],"getElementById"),w=(0,s.eW)(function(t,e,i,n){e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 ${i.height-5} v${-i.height+10} q0,-5 5,-5 h${i.width-10} q5,0 5,5 v${i.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",i.height).attr("x2",i.width).attr("y2",i.height)},"defaultBkg"),R=(0,s.eW)(function(t,e,i){e.append("rect").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("height",i.height).attr("width",i.width)},"rectBkg"),C=(0,s.eW)(function(t,e,i){let n=i.width,r=i.height,o=.15*n,s=.25*n,a=.35*n,h=.2*n;e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 0 a${o},${o} 0 0,1 ${.25*n},${-1*n*.1} + a${a},${a} 1 0,1 ${.4*n},${-1*n*.1} + a${s},${s} 1 0,1 ${.35*n},${1*n*.2} + + a${o},${o} 1 0,1 ${.15*n},${1*r*.35} + a${h},${h} 1 0,1 ${-1*n*.15},${1*r*.65} + + a${s},${o} 1 0,1 ${-1*n*.25},${.15*n} + a${a},${a} 1 0,1 ${-1*n*.5},0 + a${o},${o} 1 0,1 ${-1*n*.25},${-1*n*.15} + + a${o},${o} 1 0,1 ${-1*n*.1},${-1*r*.35} + a${h},${h} 1 0,1 ${.1*n},${-1*r*.65} + + H0 V0 Z`)},"cloudBkg"),M=(0,s.eW)(function(t,e,i){let n=i.width,r=i.height,o=.15*n;e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 0 a${o},${o} 1 0,0 ${.25*n},${-1*r*.1} + a${o},${o} 1 0,0 ${.25*n},0 + a${o},${o} 1 0,0 ${.25*n},0 + a${o},${o} 1 0,0 ${.25*n},${1*r*.1} + + a${o},${o} 1 0,0 ${.15*n},${1*r*.33} + a${.8*o},${.8*o} 1 0,0 0,${1*r*.34} + a${o},${o} 1 0,0 ${-1*n*.15},${1*r*.33} + + a${o},${o} 1 0,0 ${-1*n*.25},${.15*r} + a${o},${o} 1 0,0 ${-1*n*.25},0 + a${o},${o} 1 0,0 ${-1*n*.25},0 + a${o},${o} 1 0,0 ${-1*n*.25},${-1*r*.15} + + a${o},${o} 1 0,0 ${-1*n*.1},${-1*r*.33} + a${.8*o},${.8*o} 1 0,0 0,${-1*r*.34} + a${o},${o} 1 0,0 ${.1*n},${-1*r*.33} + + H0 V0 Z`)},"bangBkg"),x=(0,s.eW)(function(t,e,i){e.append("circle").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("r",i.width/2)},"circleBkg");function G(t,e,i,n,r){return t.insert("polygon",":first-child").attr("points",n.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+(r.width-e)/2+", "+i+")")}(0,s.eW)(G,"insertPolygonShape");var S=(0,s.eW)(function(t,e,i){let n=i.height,r=n/4,o=i.width-i.padding+2*r,s=[{x:r,y:0},{x:o-r,y:0},{x:o,y:-n/2},{x:o-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}];G(e,o,n,s,i)},"hexagonBkg"),b=(0,s.eW)(function(t,e,i){e.append("rect").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("height",i.height).attr("rx",i.padding).attr("ry",i.padding).attr("width",i.width)},"roundedRectBkg"),F=(0,s.eW)(async function(t,e,i,o,s){let a=s.htmlLabels,h=o%11,l=e.append("g");i.section=h;let c="section-"+h;h<0&&(c+=" section-root"),l.attr("class",(i.class?i.class+" ":"")+"mindmap-node "+c);let g=l.append("g"),u=l.append("g"),d=i.descr.replace(/()/g,"\n");await (0,n.rw)(u,d,{useHtmlLabels:a,width:i.width,classes:"mindmap-node-label"},s),!a&&u.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");let p=u.node().getBBox(),[f]=(0,r.VG)(s.fontSize);if(i.height=p.height+.55*f+i.padding,i.width=p.width+2*i.padding,i.icon){if(i.type===t.nodeType.CIRCLE)i.height+=50,i.width+=50,l.append("foreignObject").attr("height","50px").attr("width",i.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+h+" "+i.icon),u.attr("transform","translate("+i.width/2+", "+(i.height/2-1.5*i.padding)+")");else{i.width+=50;let t=i.height;i.height=Math.max(t,60);let e=Math.abs(i.height-t);l.append("foreignObject").attr("width","60px").attr("height",i.height).attr("style","text-align: center;margin-top:"+e/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+h+" "+i.icon),u.attr("transform","translate("+(25+i.width/2)+", "+(e/2+i.padding/2)+")")}}else if(a){let t=(i.width-p.width)/2,e=(i.height-p.height)/2;u.attr("transform","translate("+t+", "+e+")")}else{let t=i.width/2,e=i.padding/2;u.attr("transform","translate("+t+", "+e+")")}switch(i.type){case t.nodeType.DEFAULT:w(t,g,i,h);break;case t.nodeType.ROUNDED_RECT:b(t,g,i,h);break;case t.nodeType.RECT:R(t,g,i,h);break;case t.nodeType.CIRCLE:g.attr("transform","translate("+i.width/2+", "+ +i.height/2+")"),x(t,g,i,h);break;case t.nodeType.CLOUD:C(t,g,i,h);break;case t.nodeType.BANG:M(t,g,i,h);break;case t.nodeType.HEXAGON:S(t,g,i,h)}return t.setElementForId(i.id,l),i.height},"drawNode"),P=(0,s.eW)(function(t,e){let i=t.getElementById(e.id),n=e.x||0,r=e.y||0;i.attr("transform","translate("+n+","+r+")")},"positionNode");async function U(t,e,i,n,r){await F(t,e,i,n,r),i.children&&await Promise.all(i.children.map((i,o)=>U(t,e,i,n<0?o:n,r)))}function Y(t,e){e.edges().map((e,i)=>{let n=e.data();if(e[0]._private.bodyBounds){let r=e[0]._private.rscratch;s.cM.trace("Edge: ",i,n),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-"+n.section+" edge-depth-"+n.depth)}})}function k(t,e,i,n){e.add({group:"nodes",data:{id:t.id.toString(),labelText:t.descr,height:t.height,width:t.width,level:n,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach(r=>{k(r,e,i,n+1),e.add({group:"edges",data:{id:`${t.id}_${r.id}`,source:t.id,target:r.id,depth:n,section:r.section}})})}function X(t,e){return new Promise(i=>{let n=(0,l.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),r=(0,a.Z)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});n.remove(),k(t,r,e,0),r.nodes().forEach(function(t){t.layoutDimensions=()=>{let 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=>{s.cM.info("Ready",t),i(r)})})}function W(t,e){e.nodes().map((e,i)=>{let n=e.data();n.x=e.position().x,n.y=e.position().y,P(t,n);let r=t.getElementById(n.nodeId);s.cM.info("Id:",i,"Position: (",e.position().x,", ",e.position().y,")",n),r.attr("transform",`translate(${e.position().x-n.width/2}, ${e.position().y-n.height/2})`),r.attr("attr",`apa-${i})`)})}a.Z.use(h),(0,s.eW)(U,"drawNodes"),(0,s.eW)(Y,"drawEdges"),(0,s.eW)(k,"addNodes"),(0,s.eW)(X,"layoutMindmap"),(0,s.eW)(W,"positionNodes");var B=(0,s.eW)(async(t,e,i,n)=>{s.cM.debug("Rendering mindmap diagram\n"+t);let r=n.db,a=r.getMindmap();if(!a)return;let h=(0,s.nV)();h.htmlLabels=!1;let l=(0,o.P)(e),c=l.append("g");c.attr("class","mindmap-edges");let g=l.append("g");g.attr("class","mindmap-nodes"),await U(r,g,a,-1,h);let u=await X(a,h);Y(c,u),W(r,u),(0,s.j7)(void 0,l,h.mindmap?.padding??s.vZ.mindmap.padding,h.mindmap?.useMaxWidth??s.vZ.mindmap.useMaxWidth)},"draw"),$=(0,s.eW)(t=>{let e="";for(let e=0;e` + .edge { + stroke-width: 3; + } + ${$(t)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${t.git0}; + } + .section-root text { + fill: ${t.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .mindmap-node-label { + dy: 1em; + alignment-baseline: middle; + text-anchor: middle; + dominant-baseline: middle; + text-align: center; + } +`,"getStyles"),j={db:{clear:E,addNode:m,getMindmap:_,nodeType:N,getType:A,setElementForId:L,decorateNode:T,type2Str:O,getLogger:D,getElementById:I},renderer:{draw:B},parser:d,styles:H}}}]); \ No newline at end of file diff --git a/assets/js/8751.5372316c.js b/assets/js/8751.5372316c.js new file mode 100644 index 0000000..28f187a --- /dev/null +++ b/assets/js/8751.5372316c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8751"],{57327:function(e,n,r){r.d(n,{createGitGraphServices:function(){return s.z}});var s=r(57820);r(95318)}}]); \ No newline at end of file diff --git a/assets/js/879.1c63c3a0.js b/assets/js/879.1c63c3a0.js new file mode 100644 index 0000000..d32a8b3 --- /dev/null +++ b/assets/js/879.1c63c3a0.js @@ -0,0 +1 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["879"],{87594:function(e,t){function n(e){let t,n=[];for(let s of e.split(",").map(e=>e.trim()))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,r]=t;if(s&&r){s=parseInt(s);let e=s<(r=parseInt(r))?1:-1;("-"===o||".."===o||"\u2025"===o)&&(r+=e);for(let t=s;t!==r;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},45056:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>H});var s=n("85893"),o=n("67294"),r=n("7227"),a=n("67026"),l=n("84239"),c=n("30140");function i(){let{prism:e}=(0,c.L)(),{colorMode:t}=(0,l.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var u=n("84681"),d=n("87594"),m=n.n(d);let p=/title=(?["'])(?.*?)\1/,f=/\{(?<range>[\d,-]+)\}/,b={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},h={...b,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(b);function j(e,t){let n=e.map(e=>{let{start:n,end:s}=h[e];return`(?:${n}\\s*(${t.flatMap(e=>[e.line,e.block?.start,e.block?.end].filter(Boolean)).join("|")})\\s*${s})`}).join("|");return RegExp(`^\\s*(?:${n})\\s*$`)}let x="codeBlockContainer_Ckt0";function k(e){let{as:t,...n}=e,o=function(e){let t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach(e=>{let[s,o]=e,r=t[s];r&&"string"==typeof o&&(n[r]=o)}),n}(i());return(0,s.jsx)(t,{...n,style:o,className:(0,a.Z)(n.className,x,u.k.common.codeBlock)})}let v={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function B(e){let{children:t,className:n}=e;return(0,s.jsx)(k,{as:"pre",tabIndex:0,className:(0,a.Z)(v.codeBlockStandalone,"thin-scrollbar",n),children:(0,s.jsx)("code",{className:v.codeBlockLines,children:t})})}var y=n("85346");let C={attributes:!0,characterData:!0,childList:!0,subtree:!0};var w=n("83229");let N={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function E(e){let{line:t,classNames:n,showLineNumbers:o,getLineProps:r,getTokenProps:l}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");let c=r({line:t,className:(0,a.Z)(n,o&&N.codeLine)}),i=t.map((e,t)=>(0,s.jsx)("span",{...l({token:e})},t));return(0,s.jsxs)("span",{...c,children:[o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:N.codeLineNumber}),(0,s.jsx)("span",{className:N.codeLineContent,children:i})]}):i,(0,s.jsx)("br",{})]})}var L=n("96025");function S(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",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"})})}function _(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}let A={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function I(e){let{code:t,className:n}=e,[r,l]=(0,o.useState)(!1),c=(0,o.useRef)(void 0),i=(0,o.useCallback)(()=>{!function(e){let{target:t=document.body}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);let n=document.createElement("textarea"),s=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";let o=document.getSelection(),r=o.rangeCount>0&&o.getRangeAt(0);t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}n.remove(),r&&(o.removeAllRanges(),o.addRange(r)),s&&s.focus()}(t),l(!0),c.current=window.setTimeout(()=>{l(!1)},1e3)},[t]);return(0,o.useEffect)(()=>()=>window.clearTimeout(c.current),[]),(0,s.jsx)("button",{type:"button","aria-label":r?(0,L.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,L.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,L.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,a.Z)("clean-btn",n,A.copyButton,r&&A.copyButtonCopied),onClick:i,children:(0,s.jsxs)("span",{className:A.copyButtonIcons,"aria-hidden":"true",children:[(0,s.jsx)(S,{className:A.copyButtonIcon}),(0,s.jsx)(_,{className:A.copyButtonSuccessIcon})]})})}function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("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"})})}let Z={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function $(e){let{className:t,onClick:n,isEnabled:o}=e,r=(0,L.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,s.jsx)("button",{type:"button",onClick:n,className:(0,a.Z)("clean-btn",t,o&&Z.wordWrapButtonEnabled),"aria-label":r,title:r,children:(0,s.jsx)(T,{className:Z.wordWrapButtonIcon,"aria-hidden":"true"})})}function M(e){var t,n,r;let{children:l,className:u="",metastring:d,title:b,showLineNumbers:h,language:x}=e,{prism:{defaultLanguage:B,magicComments:N}}=(0,c.L)();let L=(t=x??function(e){let t=e.split(" ").find(e=>e.startsWith("language-"));return t?.replace(/language-/,"")}(u)??B,t?.toLowerCase()),S=i(),_=function(){let[e,t]=(0,o.useState)(!1),[n,s]=(0,o.useState)(!1),r=(0,o.useRef)(null),a=(0,o.useCallback)(()=>{let n=r.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t(e=>!e)},[r,e]),l=(0,o.useCallback)(()=>{let{scrollWidth:e,clientWidth:t}=r.current;s(e>t||r.current.querySelector("code").hasAttribute("style"))},[r]);return!function(e,t){let[n,s]=(0,o.useState)(),r=(0,o.useCallback)(()=>{s(e.current?.closest("[role=tabpanel][hidden]"))},[e,s]);(0,o.useEffect)(()=>{r()},[r]),!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,s=(0,y.zX)(t),r=(0,y.Ql)(n);(0,o.useEffect)(()=>{let t=new MutationObserver(s);return e&&t.observe(e,r),()=>t.disconnect()},[e,s,r])}(n,e=>{e.forEach(e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),r())})},{attributes:!0,characterData:!1,childList:!1,subtree:!1})}(r,l),(0,o.useEffect)(()=>{l()},[e,l]),(0,o.useEffect)(()=>(window.addEventListener("resize",l,{passive:!0}),()=>{window.removeEventListener("resize",l)}),[l]),{codeBlockRef:r,isEnabled:e,isCodeScrollable:n,toggle:a}}();let A=(n=d,(n?.match(p)?.groups.title??"")||b),{lineClassNames:T,code:Z}=function(e,t){let n=e.replace(/\n$/,""),{language:s,magicComments:o,metastring:r}=t;if(r&&f.test(r)){let e=r.match(f).groups.range;if(0===o.length)throw Error(`A highlight range has been given in code block's metastring (\`\`\` ${r}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);let t=o[0].className;return{lineClassNames:Object.fromEntries(m()(e).filter(e=>e>0).map(e=>[e-1,[t]])),code:n}}if(void 0===s)return{lineClassNames:{},code:n};let a=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return j(["js","jsBlock"],t);case"jsx":case"tsx":return j(["js","jsBlock","jsx"],t);case"html":return j(["js","jsBlock","html"],t);case"python":case"py":case"bash":return j(["bash"],t);case"markdown":case"md":return j(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return j(["tex"],t);case"lua":case"haskell":case"sql":return j(["lua"],t);case"wasm":return j(["wasm"],t);case"vb":case"vba":case"visual-basic":return j(["vb","rem"],t);case"vbnet":return j(["vbnet","rem"],t);case"batch":return j(["rem"],t);case"basic":return j(["rem","f90"],t);case"fsharp":return j(["js","ml"],t);case"ocaml":case"sml":return j(["ml"],t);case"fortran":return j(["f90"],t);case"cobol":return j(["cobol"],t);default:return j(g,t)}}(s,o),l=n.split("\n"),c=Object.fromEntries(o.map(e=>[e.className,{start:0,range:""}])),i=Object.fromEntries(o.filter(e=>e.line).map(e=>{let{className:t,line:n}=e;return[n,t]})),u=Object.fromEntries(o.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.start,t]})),d=Object.fromEntries(o.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.end,t]}));for(let e=0;e<l.length;){let t=l[e].match(a);if(!t){e+=1;continue}let n=t.slice(1).find(e=>void 0!==e);i[n]?c[i[n]].range+=`${e},`:u[n]?c[u[n]].start=e:d[n]&&(c[d[n]].range+=`${c[d[n]].start}-${e-1},`),l.splice(e,1)}n=l.join("\n");let p={};return Object.entries(c).forEach(e=>{let[t,{range:n}]=e;m()(n).forEach(e=>{p[e]??=[],p[e].push(t)})}),{lineClassNames:p,code:n}}(l,{metastring:d,language:L,magicComments:N});let M=h??(r=d,!!r?.includes("showLineNumbers"));return(0,s.jsxs)(k,{as:"div",className:(0,a.Z)(u,L&&!u.includes(`language-${L}`)&&`language-${L}`),children:[A&&(0,s.jsx)("div",{className:v.codeBlockTitle,children:A}),(0,s.jsxs)("div",{className:v.codeBlockContent,children:[(0,s.jsx)(w.y$,{theme:S,code:Z,language:L??"text",children:e=>{let{className:t,style:n,tokens:o,getLineProps:r,getTokenProps:l}=e;return(0,s.jsx)("pre",{tabIndex:0,ref:_.codeBlockRef,className:(0,a.Z)(t,v.codeBlock,"thin-scrollbar"),style:n,children:(0,s.jsx)("code",{className:(0,a.Z)(v.codeBlockLines,M&&v.codeBlockLinesWithNumbering),children:o.map((e,t)=>(0,s.jsx)(E,{line:e,getLineProps:r,getTokenProps:l,classNames:T[t],showLineNumbers:M},t))})})}}),(0,s.jsxs)("div",{className:v.buttonGroup,children:[(_.isEnabled||_.isCodeScrollable)&&(0,s.jsx)($,{className:v.codeButton,onClick:()=>_.toggle(),isEnabled:_.isEnabled}),(0,s.jsx)(I,{className:v.codeButton,code:Z})]})]})]})}function H(e){var t;let{children:n,...a}=e,l=(0,r.Z)();let c=(t=n,o.Children.toArray(t).some(e=>(0,o.isValidElement)(e))?t:Array.isArray(t)?t.join(""):t);return(0,s.jsx)("string"==typeof c?M:B,{...a,children:c},String(l))}},63922:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>p});var s=n("85893"),o=n("67294"),r=n("67026"),a=n("41065"),l=n("7227"),c=n("57455");let i={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function u(e){return!!e&&("SUMMARY"===e.tagName||u(e.parentElement))}function d(e){let{summary:t,children:n,...d}=e;(0,a.Z)().collectAnchor(d.id);let m=(0,l.Z)(),p=(0,o.useRef)(null),{collapsed:f,setCollapsed:b}=(0,c.u)({initialState:!d.open}),[h,g]=(0,o.useState)(d.open),j=o.isValidElement(t)?t:(0,s.jsx)("summary",{children:t??"Details"});return(0,s.jsxs)("details",{...d,ref:p,open:h,"data-collapsed":f,className:(0,r.Z)(i.details,m&&i.isBrowser,d.className),onMouseDown:e=>{u(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();let t=e.target;if(!!(u(t)&&function e(t,n){return!!t&&(t===n||e(t.parentElement,n))}(t,p.current)))e.preventDefault(),f?(b(!1),g(!0)):b(!0)},children:[j,(0,s.jsx)(c.z,{lazy:!1,collapsed:f,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{b(e),g(!e)},children:(0,s.jsx)("div",{className:i.collapsibleContent,children:n})})]})}let m="details_b_Ee";function p(e){let{...t}=e;return(0,s.jsx)(d,{...t,className:(0,r.Z)("alert alert--info",m,t.className)})}},50065:function(e,t,n){"use strict";n.d(t,{Z:function(){return l},a:function(){return a}});var s=n(67294);let o={},r=s.createContext(o);function a(e){let t=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8963.84d9b33e.js b/assets/js/8963.84d9b33e.js new file mode 100644 index 0000000..0f9efc4 --- /dev/null +++ b/assets/js/8963.84d9b33e.js @@ -0,0 +1,252 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8963"],{28734:function(t){var e,i;e=0,i=function(){return function(t,e){var i=e.prototype,n=i.format;i.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return n.bind(this)(t);var r=this.$utils(),s=(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 i.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return i.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 n.bind(this)(s)}}},t.exports=i()},10285:function(t){var e,i;e=0,i=function(){"use strict";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|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,n=/\d\d/,r=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},c=function(t){return function(e){this[t]=+e}},l=[/[+-]\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),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],d=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var i,n=a.meridiem;if(n){for(var r=1;r<=24;r+=1)if(t.indexOf(n(r,0,e))>-1){i=r>12;break}}else i=t===(e?"pm":"PM");return i},h={A:[s,function(t){this.afternoon=u(t,!1)}],a:[s,function(t){this.afternoon=u(t,!0)}],Q:[i,function(t){this.month=3*(t-1)+1}],S:[i,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[r,c("seconds")],ss:[r,c("seconds")],m:[r,c("minutes")],mm:[r,c("minutes")],H:[r,c("hours")],h:[r,c("hours")],HH:[r,c("hours")],hh:[r,c("hours")],D:[r,c("day")],DD:[n,c("day")],Do:[s,function(t){var e=a.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var n=1;n<=31;n+=1)e(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],w:[r,c("week")],ww:[n,c("week")],M:[r,c("month")],MM:[n,c("month")],MMM:[s,function(t){var e=d("months"),i=(d("monthsShort")||e.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(i<1)throw Error();this.month=i%12||i}],MMMM:[s,function(t){var e=d("months").indexOf(t)+1;if(e<1)throw Error();this.month=e%12||e}],Y:[/[+-]?\d+/,c("year")],YY:[n,function(t){this.year=o(t)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l};return function(i,n,r){r.p.customParseFormat=!0,i&&i.parseTwoDigitYear&&(o=i.parseTwoDigitYear);var s=n.prototype,c=s.parse;s.parse=function(i){var n=i.date,s=i.utc,o=i.args;this.$u=s;var l=o[1];if("string"==typeof l){var d=!0===o[2],u=!0===o[3],f=o[2];u&&(f=o[2]),a=this.$locale(),!d&&f&&(a=r.Ls[f]),this.$d=function(i,n,r,s){try{if(["x","X"].indexOf(n)>-1)return new Date(("X"===n?1e3:1)*i);var o=(function(i){var n,r;n=i,r=a&&a.formats;for(var s=(i=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,i,n){var s=n&&n.toUpperCase();return i||r[n]||t[n]||r[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,i){return e||i.slice(1)})})).match(e),o=s.length,c=0;c<o;c+=1){var l=s[c],d=h[l],u=d&&d[0],f=d&&d[1];s[c]=f?{regex:u,parser:f}:l.replace(/^\[|\]$/g,"")}return function(t){for(var e={},i=0,n=0;i<o;i+=1){var r=s[i];if("string"==typeof r)n+=r.length;else{var a=r.regex,c=r.parser,l=t.slice(n),d=a.exec(l)[0];c.call(e,d),t=t.replace(d,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var i=t.hours;e?i<12&&(t.hours+=12):12===i&&(t.hours=0),delete t.afternoon}}(e),e}})(n)(i),c=o.year,l=o.month,d=o.day,u=o.hours,f=o.minutes,y=o.seconds,k=o.milliseconds,m=o.zone,p=o.week,g=new Date,b=d||(c||l?1:g.getDate()),T=c||g.getFullYear(),v=0;c&&!l||(v=l>0?l-1:g.getMonth());var x,w=u||0,_=f||0,W=y||0,$=k||0;return m?new Date(Date.UTC(T,v,b,w,_,W,$+60*m.offset*1e3)):r?new Date(Date.UTC(T,v,b,w,_,W,$)):(x=new Date(T,v,b,w,_,W,$),p&&(x=s(x).week(p).toDate()),x)}catch(t){return new Date("")}}(n,l,s,r),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),(d||u)&&n!=this.format(l)&&(this.$d=new Date("")),a={}}else if(l instanceof Array)for(var y=l.length,k=1;k<=y;k+=1){o[1]=l[k-1];var m=r.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}k===y&&(this.$d=new Date(""))}else c.call(this,i)}}},t.exports=i()},59542:function(t){var e,i;e=0,i=function(){return function(t,e,i){var n=function(t){return t.add(4-t.isoWeekday(),"day")},r=e.prototype;r.isoWeekYear=function(){return n(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),"day");var e,r,s,a=n(this),o=(e=this.isoWeekYear(),s=4-(r=(this.$u?i.utc:i)().year(e).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(s+=7),r.add(s,"day"));return a.diff(o,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var s=r.startOf;r.startOf=function(t,e){var i=this.$utils(),n=!!i.u(e)||e;return"isoweek"===i.p(t)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(t,e)}}},t.exports=i()},98951:function(t,e,i){"use strict";i.d(e,{diagram:function(){return tI}});var n,r,s,a=i(68394),o=i(74146),c=i(17967),l=i(27484),d=i(59542),u=i(10285),h=i(28734),f=i(27818),y=function(){var t=(0,o.eW)(function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],n=[1,27],r=[1,28],s=[1,29],a=[1,30],c=[1,31],l=[1,32],d=[1,33],u=[1,34],h=[1,9],f=[1,10],y=[1,11],k=[1,12],m=[1,13],p=[1,14],g=[1,15],b=[1,16],T=[1,19],v=[1,20],x=[1,21],w=[1,22],_=[1,23],W=[1,25],$=[1,35],D={trace:(0,o.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:(0,o.eW)(function(t,e,i,n,r,s,a){var o=s.length-1;switch(r){case 1:return s[o-1];case 2:case 6:case 7:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 8:n.setWeekday("monday");break;case 9:n.setWeekday("tuesday");break;case 10:n.setWeekday("wednesday");break;case 11:n.setWeekday("thursday");break;case 12:n.setWeekday("friday");break;case 13:n.setWeekday("saturday");break;case 14:n.setWeekday("sunday");break;case 15:n.setWeekend("friday");break;case 16:n.setWeekend("saturday");break;case 17:n.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 18:n.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 19:n.TopAxis(),this.$=s[o].substr(8);break;case 20:n.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 21:n.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 22:n.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 23:n.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 24:n.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 27:n.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 28:this.$=s[o].trim(),n.setAccTitle(this.$);break;case 29:case 30:this.$=s[o].trim(),n.setAccDescription(this.$);break;case 31:n.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 33:n.addTask(s[o-1],s[o]),this.$="task";break;case 34:this.$=s[o-1],n.setClickEvent(s[o-1],s[o],null);break;case 35:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],s[o]);break;case 36:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],null),n.setLink(s[o-2],s[o]);break;case 37:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-2],s[o-1]),n.setLink(s[o-3],s[o]);break;case 38:this.$=s[o-2],n.setClickEvent(s[o-2],s[o],null),n.setLink(s[o-2],s[o-1]);break;case 39:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-1],s[o]),n.setLink(s[o-3],s[o-2]);break;case 40:this.$=s[o-1],n.setLink(s[o-1],s[o]);break;case 41:case 47:this.$=s[o-1]+" "+s[o];break;case 42:case 43:case 45:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 44:case 46:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:n,14:r,15:s,16:a,17:c,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:T,31:v,33:x,35:w,36:_,37:24,38:W,40:$},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:i,13:n,14:r,15:s,16:a,17:c,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:T,31:v,33:x,35:w,36:_,37:24,38:W,40:$},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:(0,o.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,o.eW)(function(t){var e=this,i=[0],n=[],r=[null],s=[],a=this.table,c="",l=0,d=0,u=0,h=s.slice.call(arguments,1),f=Object.create(this.lexer),y={yy:{}};for(var k in this.yy)Object.prototype.hasOwnProperty.call(this.yy,k)&&(y.yy[k]=this.yy[k]);f.setInput(t,y.yy),y.yy.lexer=f,y.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;s.push(m);var p=f.options&&f.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(){var t;return"number"!=typeof(t=n.pop()||f.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}(0,o.eW)(function(t){i.length=i.length-2*t,r.length=r.length-t,s.length=s.length-t},"popStack"),(0,o.eW)(g,"lex");for(var b,T,v,x,w,_,W,$,D,S={};;){if(v=i[i.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==b&&(b=g()),x=a[v]&&a[v][b]),void 0===x||!x.length||!x[0]){var C="";for(_ in D=[],a[v])this.terminals_[_]&&_>2&&D.push("'"+this.terminals_[_]+"'");C=f.showPosition?"Parse error on line "+(l+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(C,{text:f.match,token:this.terminals_[b]||b,line:f.yylineno,loc:m,expected:D})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+b);switch(x[0]){case 1:i.push(b),r.push(f.yytext),s.push(f.yylloc),i.push(x[1]),b=null,T?(b=T,T=null):(d=f.yyleng,c=f.yytext,l=f.yylineno,m=f.yylloc,u>0&&u--);break;case 2:if(W=this.productions_[x[1]][1],S.$=r[r.length-W],S._$={first_line:s[s.length-(W||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(W||1)].first_column,last_column:s[s.length-1].last_column},p&&(S._$.range=[s[s.length-(W||1)].range[0],s[s.length-1].range[1]]),void 0!==(w=this.performAction.apply(S,[c,d,l,y.yy,x[1],r,s].concat(h))))return w;W&&(i=i.slice(0,-1*W*2),r=r.slice(0,-1*W),s=s.slice(0,-1*W)),i.push(this.productions_[x[1]][0]),r.push(S.$),s.push(S._$),$=a[i[i.length-2]][i[i.length-1]],i.push($);break;case 3:return!0}}return!0},"parse")},S={EOF:1,parseError:(0,o.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,o.eW)(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},"setInput"),input:(0,o.eW)(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},"input"),unput:(0,o.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.eW)(function(){return this._more=!0,this},"more"),reject:(0,o.eW)(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})},"reject"),less:(0,o.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,o.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,o.eW)(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,"")},"upcomingInput"),showPosition:(0,o.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,o.eW)(function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},"test_match"),next:(0,o.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!e||i[0].length>e[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,o.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,o.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,o.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,o.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,o.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.eW)(function(t,e,i,n){switch(i){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 43;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 22:return 42;case 23:this.begin("click");break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/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,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,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],inclusive:!0}}};function C(){this.yy={}}return D.lexer=S,(0,o.eW)(C,"Parser"),C.prototype=D,D.Parser=C,new C}();y.parser=y;l.extend(d),l.extend(u),l.extend(h);var k={friday:5,saturday:6},m="",p="",g=void 0,b="",T=[],v=[],x=new Map,w=[],_=[],W="",$="",D=["active","done","crit","milestone"],S=[],C=!1,E=!1,M="sunday",Y="saturday",A=0,L=(0,o.eW)(function(){w=[],_=[],W="",S=[],th=0,n=void 0,r=void 0,tm=[],m="",p="",$="",g=void 0,b="",T=[],v=[],C=!1,E=!1,A=0,x=new Map,(0,o.ZH)(),M="sunday",Y="saturday"},"clear"),I=(0,o.eW)(function(t){p=t},"setAxisFormat"),F=(0,o.eW)(function(){return p},"getAxisFormat"),O=(0,o.eW)(function(t){g=t},"setTickInterval"),P=(0,o.eW)(function(){return g},"getTickInterval"),B=(0,o.eW)(function(t){b=t},"setTodayMarker"),z=(0,o.eW)(function(){return b},"getTodayMarker"),N=(0,o.eW)(function(t){m=t},"setDateFormat"),H=(0,o.eW)(function(){C=!0},"enableInclusiveEndDates"),V=(0,o.eW)(function(){return C},"endDatesAreInclusive"),j=(0,o.eW)(function(){E=!0},"enableTopAxis"),G=(0,o.eW)(function(){return E},"topAxisEnabled"),Z=(0,o.eW)(function(t){$=t},"setDisplayMode"),U=(0,o.eW)(function(){return $},"getDisplayMode"),R=(0,o.eW)(function(){return m},"getDateFormat"),q=(0,o.eW)(function(t){T=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),Q=(0,o.eW)(function(){return T},"getIncludes"),X=(0,o.eW)(function(t){v=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),K=(0,o.eW)(function(){return v},"getExcludes"),J=(0,o.eW)(function(){return x},"getLinks"),tt=(0,o.eW)(function(t){W=t,w.push(t)},"addSection"),te=(0,o.eW)(function(){return w},"getSections"),ti=(0,o.eW)(function(){let t=tv(),e=0;for(;!t&&e<10;)t=tv(),e++;return _=tm},"getTasks"),tn=(0,o.eW)(function(t,e,i,n){return!n.includes(t.format(e.trim()))&&(!!(i.includes("weekends")&&(t.isoWeekday()===k[Y]||t.isoWeekday()===k[Y]+1)||i.includes(t.format("dddd").toLowerCase()))||i.includes(t.format(e.trim())))},"isInvalidDate"),tr=(0,o.eW)(function(t){M=t},"setWeekday"),ts=(0,o.eW)(function(){return M},"getWeekday"),ta=(0,o.eW)(function(t){Y=t},"setWeekend"),to=(0,o.eW)(function(t,e,i,n){let r,s;if(!i.length||t.manualEndTime)return;r=(r=t.startTime instanceof Date?l(t.startTime):l(t.startTime,e,!0)).add(1,"d");let[a,o]=tc(r,s=t.endTime instanceof Date?l(t.endTime):l(t.endTime,e,!0),e,i,n);t.endTime=a.toDate(),t.renderEndTime=o},"checkTaskDates"),tc=(0,o.eW)(function(t,e,i,n,r){let s=!1,a=null;for(;t<=e;)!s&&(a=e.toDate()),(s=tn(t,i,n,r))&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},"fixTaskDates"),tl=(0,o.eW)(function(t,e,i){i=i.trim();let n=/^after\s+(?<ids>[\d\w- ]+)/.exec(i);if(null!==n){let t=null;for(let e of n.groups.ids.split(" ")){let i=tb(e);void 0!==i&&(!t||i.endTime>t.endTime)&&(t=i)}if(t)return t.endTime;let e=new Date;return e.setHours(0,0,0,0),e}let r=l(i,e.trim(),!0);if(r.isValid())return r.toDate();{o.cM.debug("Invalid date:"+i),o.cM.debug("With date format:"+e.trim());let t=new Date(i);if(void 0===t||isNaN(t.getTime())||-1e4>t.getFullYear()||t.getFullYear()>1e4)throw Error("Invalid date:"+i);return t}},"getStartDate"),td=(0,o.eW)(function(t){let e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),tu=(0,o.eW)(function(t,e,i,n=!1){i=i.trim();let r=/^until\s+(?<ids>[\d\w- ]+)/.exec(i);if(null!==r){let t=null;for(let e of r.groups.ids.split(" ")){let i=tb(e);void 0!==i&&(!t||i.startTime<t.startTime)&&(t=i)}if(t)return t.startTime;let e=new Date;return e.setHours(0,0,0,0),e}let s=l(i,e.trim(),!0);if(s.isValid())return n&&(s=s.add(1,"d")),s.toDate();let a=l(t),[o,c]=td(i);if(!Number.isNaN(o)){let t=a.add(o,c);t.isValid()&&(a=t)}return a.toDate()},"getEndDate"),th=0,tf=(0,o.eW)(function(t){return void 0===t?"task"+(th+=1):t},"parseId"),ty=(0,o.eW)(function(t,e){let i;let n=(i=":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),r={};tC(n,r,D);for(let t=0;t<n.length;t++)n[t]=n[t].trim();let s="";switch(n.length){case 1:r.id=tf(),r.startTime=t.endTime,s=n[0];break;case 2:r.id=tf(),r.startTime=tl(void 0,m,n[0]),s=n[1];break;case 3:r.id=tf(n[0]),r.startTime=tl(void 0,m,n[1]),s=n[2]}return s&&(r.endTime=tu(r.startTime,m,s,C),r.manualEndTime=l(s,"YYYY-MM-DD",!0).isValid(),to(r,m,v,T)),r},"compileData"),tk=(0,o.eW)(function(t,e){let i;let n=(i=":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),r={};tC(n,r,D);for(let t=0;t<n.length;t++)n[t]=n[t].trim();switch(n.length){case 1:r.id=tf(),r.startTime={type:"prevTaskEnd",id:t},r.endTime={data:n[0]};break;case 2:r.id=tf(),r.startTime={type:"getStartDate",startData:n[0]},r.endTime={data:n[1]};break;case 3:r.id=tf(n[0]),r.startTime={type:"getStartDate",startData:n[1]},r.endTime={data:n[2]}}return r},"parseData"),tm=[],tp={},tg=(0,o.eW)(function(t,e){let i={section:W,type:W,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},n=tk(r,e);i.raw.startTime=n.startTime,i.raw.endTime=n.endTime,i.id=n.id,i.prevTaskId=r,i.active=n.active,i.done=n.done,i.crit=n.crit,i.milestone=n.milestone,i.order=A,A++;let s=tm.push(i);r=i.id,tp[i.id]=s-1},"addTask"),tb=(0,o.eW)(function(t){return tm[tp[t]]},"findTaskById"),tT=(0,o.eW)(function(t,e){let i={section:W,type:W,description:t,task:t,classes:[]},r=ty(n,e);i.startTime=r.startTime,i.endTime=r.endTime,i.id=r.id,i.active=r.active,i.done=r.done,i.crit=r.crit,i.milestone=r.milestone,n=i,_.push(i)},"addTaskOrg"),tv=(0,o.eW)(function(){let t=(0,o.eW)(function(t){let e=tm[t],i="";switch(tm[t].raw.startTime.type){case"prevTaskEnd":{let t=tb(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":(i=tl(void 0,m,tm[t].raw.startTime.startData))&&(tm[t].startTime=i)}return tm[t].startTime&&(tm[t].endTime=tu(tm[t].startTime,m,tm[t].raw.endTime.data,C),tm[t].endTime&&(tm[t].processed=!0,tm[t].manualEndTime=l(tm[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),to(tm[t],m,v,T))),tm[t].processed},"compileTask"),e=!0;for(let[i,n]of tm.entries())t(i),e=e&&n.processed;return e},"compileTasks"),tx=(0,o.eW)(function(t,e){let i=e;"loose"!==(0,o.nV)().securityLevel&&(i=(0,c.sanitizeUrl)(e)),t.split(",").forEach(function(t){void 0!==tb(t)&&(tW(t,()=>{window.open(i,"_self")}),x.set(t,i))}),tw(t,"clickable")},"setLink"),tw=(0,o.eW)(function(t,e){t.split(",").forEach(function(t){let i=tb(t);void 0!==i&&i.classes.push(e)})},"setClass"),t_=(0,o.eW)(function(t,e,i){if("loose"!==(0,o.nV)().securityLevel||void 0===e)return;let n=[];if("string"==typeof i){n=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<n.length;t++){let e=n[t].trim();e.startsWith('"')&&e.endsWith('"')&&(e=e.substr(1,e.length-2)),n[t]=e}}0===n.length&&n.push(t),void 0!==tb(t)&&tW(t,()=>{a.w8.runFunc(e,...n)})},"setClickFun"),tW=(0,o.eW)(function(t,e){S.push(function(){let i=document.querySelector(`[id="${t}"]`);null!==i&&i.addEventListener("click",function(){e()})},function(){let i=document.querySelector(`[id="${t}-text"]`);null!==i&&i.addEventListener("click",function(){e()})})},"pushFun"),t$=(0,o.eW)(function(t,e,i){t.split(",").forEach(function(t){t_(t,e,i)}),tw(t,"clickable")},"setClickEvent"),tD=(0,o.eW)(function(t){S.forEach(function(e){e(t)})},"bindFunctions"),tS={getConfig:(0,o.eW)(()=>(0,o.nV)().gantt,"getConfig"),clear:L,setDateFormat:N,getDateFormat:R,enableInclusiveEndDates:H,endDatesAreInclusive:V,enableTopAxis:j,topAxisEnabled:G,setAxisFormat:I,getAxisFormat:F,setTickInterval:O,getTickInterval:P,setTodayMarker:B,getTodayMarker:z,setAccTitle:o.GN,getAccTitle:o.eu,setDiagramTitle:o.g2,getDiagramTitle:o.Kr,setDisplayMode:Z,getDisplayMode:U,setAccDescription:o.U$,getAccDescription:o.Mx,addSection:tt,getSections:te,getTasks:ti,addTask:tg,findTaskById:tb,addTaskOrg:tT,setIncludes:q,getIncludes:Q,setExcludes:X,getExcludes:K,setClickEvent:t$,setLink:tx,getLinks:J,bindFunctions:tD,parseDuration:td,isInvalidDate:tn,setWeekday:tr,getWeekday:ts,setWeekend:ta};function tC(t,e,i){let n=!0;for(;n;)n=!1,i.forEach(function(i){let r=RegExp("^\\s*"+i+"\\s*$");t[0].match(r)&&(e[i]=!0,t.shift(1),n=!0)})}(0,o.eW)(tC,"getTaskTags");var tE=(0,o.eW)(function(){o.cM.debug("Something is calling, setConf, remove the call")},"setConf"),tM={monday:f.Ox9,tuesday:f.YDX,wednesday:f.EFj,thursday:f.Igq,friday:f.y2j,saturday:f.LqH,sunday:f.Zyz},tY=(0,o.eW)((t,e)=>{let i=[...t].map(()=>-1/0),n=[...t].sort((t,e)=>t.startTime-e.startTime||t.order-e.order),r=0;for(let t of n)for(let n=0;n<i.length;n++)if(t.startTime>=i[n]){i[n]=t.endTime,t.order=n+e,n>r&&(r=n);break}return r},"getMaxIntersections"),tA=(0,o.eW)(function(t,e,i,n){let r;let a=(0,o.nV)().gantt,c=(0,o.nV)().securityLevel;"sandbox"===c&&(r=(0,f.Ys)("#i"+e));let d="sandbox"===c?(0,f.Ys)(r.nodes()[0].contentDocument.body):(0,f.Ys)("body"),u="sandbox"===c?r.nodes()[0].contentDocument:document,h=u.getElementById(e);void 0===(s=h.parentElement.offsetWidth)&&(s=1200),void 0!==a.useWidth&&(s=a.useWidth);let y=n.db.getTasks(),k=[];for(let t of y)k.push(t.type);k=D(k);let m={},p=2*a.topPadding;if("compact"===n.db.getDisplayMode()||"compact"===a.displayMode){let t={};for(let e of y)void 0===t[e.section]?t[e.section]=[e]:t[e.section].push(e);let e=0;for(let i of Object.keys(t)){let n=tY(t[i],e)+1;e+=n,p+=n*(a.barHeight+a.barGap),m[i]=n}}else for(let t of(p+=y.length*(a.barHeight+a.barGap),k))m[t]=y.filter(e=>e.type===t).length;h.setAttribute("viewBox","0 0 "+s+" "+p);let g=d.select(`[id="${e}"]`),b=(0,f.Xf)().domain([(0,f.VV$)(y,function(t){return t.startTime}),(0,f.Fp7)(y,function(t){return t.endTime})]).rangeRound([0,s-a.leftPadding-a.rightPadding]);function T(t,e){let i=t.startTime,n=e.startTime,r=0;return i>n?r=1:i<n&&(r=-1),r}function v(t,e,i){let r=a.barHeight,s=r+a.barGap,o=a.topPadding,c=a.leftPadding,l=(0,f.BYU)().domain([0,k.length]).range(["#00B9FA","#F95002"]).interpolate(f.JHv);w(s,o,c,e,i,t,n.db.getExcludes(),n.db.getIncludes()),_(c,o,e,i),x(t,s,o,c,r,l,e,i),W(s,o,c,r,l),$(c,o,e,i)}function x(t,i,r,s,c,l,d){let u=[...new Set(t.map(t=>t.order))].map(e=>t.find(t=>t.order===e));g.append("g").selectAll("rect").data(u).enter().append("rect").attr("x",0).attr("y",function(t,e){return(e=t.order)*i+r-2}).attr("width",function(){return d-a.rightPadding/2}).attr("height",i).attr("class",function(t){for(let[e,i]of k.entries())if(t.type===i)return"section section"+e%a.numberSectionStyles;return"section section0"});let h=g.append("g").selectAll("rect").data(t).enter(),y=n.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?b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))-.5*c:b(t.startTime)+s}).attr("y",function(t,e){return(e=t.order)*i+r}).attr("width",function(t){return t.milestone?c:b(t.renderEndTime||t.endTime)-b(t.startTime)}).attr("height",c).attr("transform-origin",function(t,e){return e=t.order,(b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))).toString()+"px "+(e*i+r+.5*c).toString()+"px"}).attr("class",function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let i=0;for(let[e,n]of k.entries())t.type===n&&(i=e%a.numberSectionStyles);let n="";return t.active?t.crit?n+=" activeCrit":n=" active":t.done?n=t.crit?" doneCrit":" done":t.crit&&(n+=" crit"),0===n.length&&(n=" task"),t.milestone&&(n=" milestone "+n),n+=i,"task"+(n+=" "+e)}),h.append("text").attr("id",function(t){return t.id+"-text"}).text(function(t){return t.task}).attr("font-size",a.fontSize).attr("x",function(t){let e=b(t.startTime),i=b(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(b(t.endTime)-b(t.startTime))-.5*c),t.milestone&&(i=e+c);let n=this.getBBox().width;return n>i-e?i+n+1.5*a.leftPadding>d?e+s-5:i+s+5:(i-e)/2+e+s}).attr("y",function(t,e){return(e=t.order)*i+a.barHeight/2+(a.fontSize/2-2)+r}).attr("text-height",c).attr("class",function(t){let e=b(t.startTime),i=b(t.endTime);t.milestone&&(i=e+c);let n=this.getBBox().width,r="";t.classes.length>0&&(r=t.classes.join(" "));let s=0;for(let[e,i]of k.entries())t.type===i&&(s=e%a.numberSectionStyles);let o="";return(t.active&&(o=t.crit?"activeCritText"+s:"activeText"+s),t.done?o=t.crit?o+" doneCritText"+s:o+" doneText"+s:t.crit&&(o=o+" critText"+s),t.milestone&&(o+=" milestoneText"),n>i-e)?i+n+1.5*a.leftPadding>d?r+" taskTextOutsideLeft taskTextOutside"+s+" "+o:r+" taskTextOutsideRight taskTextOutside"+s+" "+o+" width-"+n:r+" taskText taskText"+s+" "+o+" width-"+n}),"sandbox"===(0,o.nV)().securityLevel){let t=(0,f.Ys)("#i"+e).nodes()[0].contentDocument;h.filter(function(t){return y.has(t.id)}).each(function(e){var i=t.querySelector("#"+e.id),n=t.querySelector("#"+e.id+"-text");let r=i.parentNode;var s=t.createElement("a");s.setAttribute("xlink:href",y.get(e.id)),s.setAttribute("target","_top"),r.appendChild(s),s.appendChild(i),s.appendChild(n)})}}function w(t,e,i,r,s,c,d,u){let h,f;if(0===d.length&&0===u.length)return;for(let{startTime:t,endTime:e}of c)(void 0===h||t<h)&&(h=t),(void 0===f||e>f)&&(f=e);if(!h||!f)return;if(l(f).diff(l(h),"year")>5){o.cM.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let y=n.db.getDateFormat(),k=[],m=null,p=l(h);for(;p.valueOf()<=f;)n.db.isInvalidDate(p,y,d,u)?m?m.end=p:m={start:p,end:p}:m&&(k.push(m),m=null),p=p.add(1,"d");g.append("g").selectAll("rect").data(k).enter().append("rect").attr("id",function(t){return"exclude-"+t.start.format("YYYY-MM-DD")}).attr("x",function(t){return b(t.start)+i}).attr("y",a.gridLineStartPadding).attr("width",function(t){return b(t.end.add(1,"day"))-b(t.start)}).attr("height",s-e-a.gridLineStartPadding).attr("transform-origin",function(e,n){return(b(e.start)+i+.5*(b(e.end)-b(e.start))).toString()+"px "+(n*t+.5*s).toString()+"px"}).attr("class","exclude-range")}function _(t,e,i,r){let s=(0,f.LLu)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d")),o=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(n.db.getTickInterval()||a.tickInterval);if(null!==o){let t=o[1],e=o[2],i=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":s.ticks(f.U8T.every(t));break;case"second":s.ticks(f.S1K.every(t));break;case"minute":s.ticks(f.Z_i.every(t));break;case"hour":s.ticks(f.WQD.every(t));break;case"day":s.ticks(f.rr1.every(t));break;case"week":s.ticks(tM[i].every(t));break;case"month":s.ticks(f.F0B.every(t))}}if(g.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(s).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),n.db.topAxisEnabled()||a.topAxis){let i=(0,f.F5q)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));if(null!==o){let t=o[1],e=o[2],r=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":i.ticks(f.U8T.every(t));break;case"second":i.ticks(f.S1K.every(t));break;case"minute":i.ticks(f.Z_i.every(t));break;case"hour":i.ticks(f.WQD.every(t));break;case"day":i.ticks(f.rr1.every(t));break;case"week":i.ticks(tM[r].every(t));break;case"month":i.ticks(f.F0B.every(t))}}g.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(i).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function W(t,e){let i=0,n=Object.keys(m).map(t=>[t,m[t]]);g.append("g").selectAll("text").data(n).enter().append(function(t){let e=t[0].split(o.SY.lineBreakRegex),i=-(e.length-1)/2,n=u.createElementNS("http://www.w3.org/2000/svg","text");for(let[t,r]of(n.setAttribute("dy",i+"em"),e.entries())){let e=u.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=r,n.appendChild(e)}return n}).attr("x",10).attr("y",function(r,s){if(!(s>0))return r[1]*t/2+e;for(let a=0;a<s;a++)return i+=n[s-1][1],r[1]*t/2+i*t+e}).attr("font-size",a.sectionFontSize).attr("class",function(t){for(let[e,i]of k.entries())if(t[0]===i)return"sectionTitle sectionTitle"+e%a.numberSectionStyles;return"sectionTitle"})}function $(t,e,i,r){let s=n.db.getTodayMarker();if("off"===s)return;let o=g.append("g").attr("class","today"),c=new Date,l=o.append("line");l.attr("x1",b(c)+t).attr("x2",b(c)+t).attr("y1",a.titleTopMargin).attr("y2",r-a.titleTopMargin).attr("class","today"),""!==s&&l.attr("style",s.replace(/,/g,";"))}function D(t){let e={},i=[];for(let n=0,r=t.length;n<r;++n)!Object.prototype.hasOwnProperty.call(e,t[n])&&(e[t[n]]=!0,i.push(t[n]));return i}(0,o.eW)(T,"taskCompare"),y.sort(T),v(y,s,p),(0,o.v2)(g,p,s,a.useMaxWidth),g.append("text").text(n.db.getDiagramTitle()).attr("x",s/2).attr("y",a.titleTopMargin).attr("class","titleText"),(0,o.eW)(v,"makeGantt"),(0,o.eW)(x,"drawRects"),(0,o.eW)(w,"drawExcludeDays"),(0,o.eW)(_,"makeGrid"),(0,o.eW)(W,"vertLabels"),(0,o.eW)($,"drawToday"),(0,o.eW)(D,"checkUnique")},"draw"),tL=(0,o.eW)(t=>` + .mermaid-main-font { + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .exclude-range { + fill: ${t.excludeBkgColor}; + } + + .section { + stroke: none; + opacity: 0.2; + } + + .section0 { + fill: ${t.sectionBkgColor}; + } + + .section2 { + fill: ${t.sectionBkgColor2}; + } + + .section1, + .section3 { + fill: ${t.altSectionBkgColor}; + opacity: 0.2; + } + + .sectionTitle0 { + fill: ${t.titleColor}; + } + + .sectionTitle1 { + fill: ${t.titleColor}; + } + + .sectionTitle2 { + fill: ${t.titleColor}; + } + + .sectionTitle3 { + fill: ${t.titleColor}; + } + + .sectionTitle { + text-anchor: start; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + + /* Grid and axis */ + + .grid .tick { + stroke: ${t.gridColor}; + opacity: 0.8; + shape-rendering: crispEdges; + } + + .grid .tick text { + font-family: ${t.fontFamily}; + fill: ${t.textColor}; + } + + .grid path { + stroke-width: 0; + } + + + /* Today line */ + + .today { + fill: none; + stroke: ${t.todayLineColor}; + stroke-width: 2px; + } + + + /* Task styling */ + + /* Default task */ + + .task { + stroke-width: 2; + } + + .taskText { + text-anchor: middle; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .taskTextOutsideRight { + fill: ${t.taskTextDarkColor}; + text-anchor: start; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .taskTextOutsideLeft { + fill: ${t.taskTextDarkColor}; + text-anchor: end; + } + + + /* Special case clickable */ + + .task.clickable { + cursor: pointer; + } + + .taskText.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideLeft.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideRight.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + + /* Specific task settings for the sections*/ + + .taskText0, + .taskText1, + .taskText2, + .taskText3 { + fill: ${t.taskTextColor}; + } + + .task0, + .task1, + .task2, + .task3 { + fill: ${t.taskBkgColor}; + stroke: ${t.taskBorderColor}; + } + + .taskTextOutside0, + .taskTextOutside2 + { + fill: ${t.taskTextOutsideColor}; + } + + .taskTextOutside1, + .taskTextOutside3 { + fill: ${t.taskTextOutsideColor}; + } + + + /* Active task */ + + .active0, + .active1, + .active2, + .active3 { + fill: ${t.activeTaskBkgColor}; + stroke: ${t.activeTaskBorderColor}; + } + + .activeText0, + .activeText1, + .activeText2, + .activeText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Completed task */ + + .done0, + .done1, + .done2, + .done3 { + stroke: ${t.doneTaskBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + } + + .doneText0, + .doneText1, + .doneText2, + .doneText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Tasks on the critical line */ + + .crit0, + .crit1, + .crit2, + .crit3 { + stroke: ${t.critBorderColor}; + fill: ${t.critBkgColor}; + stroke-width: 2; + } + + .activeCrit0, + .activeCrit1, + .activeCrit2, + .activeCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.activeTaskBkgColor}; + stroke-width: 2; + } + + .doneCrit0, + .doneCrit1, + .doneCrit2, + .doneCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + cursor: pointer; + shape-rendering: crispEdges; + } + + .milestone { + transform: rotate(45deg) scale(0.8,0.8); + } + + .milestoneText { + font-style: italic; + } + .doneCritText0, + .doneCritText1, + .doneCritText2, + .doneCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .activeCritText0, + .activeCritText1, + .activeCritText2, + .activeCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .titleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.titleColor||t.textColor}; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } +`,"getStyles"),tI={parser:y,db:tS,renderer:{setConf:tE,draw:tA},styles:tL}}}]); \ No newline at end of file diff --git a/assets/js/9083.983370ab.js b/assets/js/9083.983370ab.js new file mode 100644 index 0000000..d32ac9a --- /dev/null +++ b/assets/js/9083.983370ab.js @@ -0,0 +1,47 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9083"],{29763:function(e,t,i){i.d(t,{diagram:function(){return B}});var r=i(74146),n=i(27818),s=i(49235),a=i(50043),l=function(){var e=(0,r.eW)(function(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i},"o"),t=[1,3],i=[1,4],n=[1,5],s=[1,6],a=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],l=[1,18],h=[2,7],o=[1,22],c=[1,23],u=[1,24],y=[1,25],d=[1,26],p=[1,27],_=[1,20],g=[1,28],E=[1,29],R=[62,63],m=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],f=[1,47],I=[1,48],S=[1,49],b=[1,50],k=[1,51],N=[1,52],T=[1,53],x=[53,54],A=[1,64],v=[1,60],w=[1,61],W=[1,62],q=[1,63],$=[1,65],O=[1,69],C=[1,70],L=[1,67],M=[1,68],F=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],D={trace:(0,r.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:(0,r.eW)(function(e,t,i,r,n,s,a){var l=s.length-1;switch(n){case 4:this.$=s[l].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[l].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[l-3],s[l-4]);break;case 14:r.setNewReqId(s[l-2]);break;case 15:r.setNewReqText(s[l-2]);break;case 16:r.setNewReqRisk(s[l-2]);break;case 17:r.setNewReqVerifyMethod(s[l-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[l-3]);break;case 34:r.setNewElementType(s[l-2]);break;case 35:r.setNewElementDocRef(s[l-2]);break;case 38:r.addRelationship(s[l-2],s[l],s[l-4]);break;case 39:r.addRelationship(s[l-2],s[l-4],s[l]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES}},"anonymous"),table:[{3:1,4:2,6:t,9:i,11:n,13:s},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:i,11:n,13:s},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:t,9:i,11:n,13:s},{1:[2,2]},{4:17,5:l,7:13,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:l,7:31,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:32,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:33,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:34,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:35,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(R,[2,20]),e(R,[2,21]),e(R,[2,22]),e(R,[2,23]),e(R,[2,24]),e(R,[2,25]),e(m,[2,49]),e(m,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:f,56:I,57:S,58:b,59:k,60:N,61:T},{52:54,55:f,56:I,57:S,58:b,59:k,60:N,61:T},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(x,[2,40]),e(x,[2,41]),e(x,[2,42]),e(x,[2,43]),e(x,[2,44]),e(x,[2,45]),e(x,[2,46]),{54:[1,58]},{5:A,20:59,21:v,24:w,26:W,28:q,30:$},{5:O,30:C,46:66,47:L,49:M},{23:71,62:g,63:E},{23:72,62:g,63:E},e(F,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:A,20:77,21:v,24:w,26:W,28:q,30:$},e(F,[2,19]),e(F,[2,33]),{22:[1,78]},{22:[1,79]},{5:O,30:C,46:80,47:L,49:M},e(F,[2,37]),e(F,[2,38]),e(F,[2,39]),{23:81,62:g,63:E},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(F,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(F,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:A,20:106,21:v,24:w,26:W,28:q,30:$},{5:A,20:107,21:v,24:w,26:W,28:q,30:$},{5:A,20:108,21:v,24:w,26:W,28:q,30:$},{5:A,20:109,21:v,24:w,26:W,28:q,30:$},{5:O,30:C,46:110,47:L,49:M},{5:O,30:C,46:111,47:L,49:M},e(F,[2,14]),e(F,[2,15]),e(F,[2,16]),e(F,[2,17]),e(F,[2,34]),e(F,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:(0,r.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var i=Error(e);throw i.hash=t,i}},"parseError"),parse:(0,r.eW)(function(e){var t=this,i=[0],n=[],s=[null],a=[],l=this.table,h="",o=0,c=0,u=0,y=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(p.yy[_]=this.yy[_]);d.setInput(e,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var E=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(){var e;return"number"!=typeof(e=n.pop()||d.lex()||1)&&(e instanceof Array&&(e=(n=e).pop()),e=t.symbols_[e]||e),e}(0,r.eW)(function(e){i.length=i.length-2*e,s.length=s.length-e,a.length=a.length-e},"popStack"),(0,r.eW)(R,"lex");for(var m,f,I,S,b,k,N,T,x,A={};;){if(I=i[i.length-1],this.defaultActions[I]?S=this.defaultActions[I]:(null==m&&(m=R()),S=l[I]&&l[I][m]),void 0===S||!S.length||!S[0]){var v="";for(k in x=[],l[I])this.terminals_[k]&&k>2&&x.push("'"+this.terminals_[k]+"'");v=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(v,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:g,expected:x})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+I+", token: "+m);switch(S[0]){case 1:i.push(m),s.push(d.yytext),a.push(d.yylloc),i.push(S[1]),m=null,f?(m=f,f=null):(c=d.yyleng,h=d.yytext,o=d.yylineno,g=d.yylloc,u>0&&u--);break;case 2:if(N=this.productions_[S[1]][1],A.$=s[s.length-N],A._$={first_line:a[a.length-(N||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(N||1)].first_column,last_column:a[a.length-1].last_column},E&&(A._$.range=[a[a.length-(N||1)].range[0],a[a.length-1].range[1]]),void 0!==(b=this.performAction.apply(A,[h,c,o,p.yy,S[1],s,a].concat(y))))return b;N&&(i=i.slice(0,-1*N*2),s=s.slice(0,-1*N),a=a.slice(0,-1*N)),i.push(this.productions_[S[1]][0]),s.push(A.$),a.push(A._$),T=l[i[i.length-2]][i[i.length-1]],i.push(T);break;case 3:return!0}}return!0},"parse")},P={EOF:1,parseError:(0,r.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,r.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,r.eW)(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.eW)(function(){return this._more=!0,this},"more"),reject:(0,r.eW)(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})},"reject"),less:(0,r.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,r.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,r.eW)(function(e,t){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},"test_match"),next:(0,r.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,i,r,n=this._currentRules(),s=0;s<n.length;s++)if((i=this._input.match(this.rules[n[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,r=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,n[s])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,n[r]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,r.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,r.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,r.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,r.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,r.eW)(function(e,t,i,r){switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return t.yytext=t.yytext.trim(),62}},"anonymous"),rules:[/^(?: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:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,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,50],inclusive:!0}}};function V(){this.yy={}}return D.lexer=P,(0,r.eW)(V,"Parser"),V.prototype=D,D.Parser=V,new V}();l.parser=l;var h=[],o={},c=new Map,u={},y=new Map,d=(0,r.eW)((e,t)=>(!c.has(e)&&c.set(e,{name:e,type:t,id:o.id,text:o.text,risk:o.risk,verifyMethod:o.verifyMethod}),o={},c.get(e)),"addRequirement"),p=(0,r.eW)(()=>c,"getRequirements"),_=(0,r.eW)(e=>{void 0!==o&&(o.id=e)},"setNewReqId"),g=(0,r.eW)(e=>{void 0!==o&&(o.text=e)},"setNewReqText"),E=(0,r.eW)(e=>{void 0!==o&&(o.risk=e)},"setNewReqRisk"),R=(0,r.eW)(e=>{void 0!==o&&(o.verifyMethod=e)},"setNewReqVerifyMethod"),m=(0,r.eW)(e=>(!y.has(e)&&(y.set(e,{name:e,type:u.type,docRef:u.docRef}),r.cM.info("Added new requirement: ",e)),u={},y.get(e)),"addElement"),f=(0,r.eW)(()=>y,"getElements"),I=(0,r.eW)(e=>{void 0!==u&&(u.type=e)},"setNewElementType"),S=(0,r.eW)(e=>{void 0!==u&&(u.docRef=e)},"setNewElementDocRef"),b=(0,r.eW)((e,t,i)=>{h.push({type:e,src:t,dst:i})},"addRelationship"),k=(0,r.eW)(()=>h,"getRelationships"),N=(0,r.eW)(()=>{h=[],o={},c=new Map,u={},y=new Map,(0,r.ZH)()},"clear"),T={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"},getConfig:(0,r.eW)(()=>(0,r.nV)().req,"getConfig"),addRequirement:d,getRequirements:p,setNewReqId:_,setNewReqText:g,setNewReqRisk:E,setNewReqVerifyMethod:R,setAccTitle:r.GN,getAccTitle:r.eu,setAccDescription:r.U$,getAccDescription:r.Mx,addElement:m,getElements:f,setNewElementType:I,setNewElementDocRef:S,addRelationship:b,getRelationships:k,clear:N},x=(0,r.eW)(e=>` + + marker { + fill: ${e.relationColor}; + stroke: ${e.relationColor}; + } + + marker.cross { + stroke: ${e.lineColor}; + } + + svg { + font-family: ${e.fontFamily}; + font-size: ${e.fontSize}; + } + + .reqBox { + fill: ${e.requirementBackground}; + fill-opacity: 1.0; + stroke: ${e.requirementBorderColor}; + stroke-width: ${e.requirementBorderSize}; + } + + .reqTitle, .reqLabel{ + fill: ${e.requirementTextColor}; + } + .reqLabelBox { + fill: ${e.relationLabelBackground}; + fill-opacity: 1.0; + } + + .req-title-line { + stroke: ${e.requirementBorderColor}; + stroke-width: ${e.requirementBorderSize}; + } + .relationshipLine { + stroke: ${e.relationColor}; + stroke-width: 1; + } + .relationshipLabel { + fill: ${e.relationLabelColor}; + } + +`,"getStyles"),A={CONTAINS:"contains",ARROW:"arrow"},v=(0,r.eW)((e,t)=>{let i=e.append("defs").append("marker").attr("id",A.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",A.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0 + L${t.line_height},${t.line_height/2} + M${t.line_height},${t.line_height/2} + L0,${t.line_height}`).attr("stroke-width",1)},"insertLineEndings"),w={ReqMarkers:A,insertLineEndings:v},W={},q=0,$=(0,r.eW)((e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",W.rect_min_width+"px").attr("height",W.rect_min_height+"px"),"newRectNode"),O=(0,r.eW)((e,t,i)=>{let r=W.rect_min_width/2,n=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",r).attr("y",W.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach(e=>{0==s?n.append("tspan").attr("text-anchor","middle").attr("x",W.rect_min_width/2).attr("dy",0).text(e):n.append("tspan").attr("text-anchor","middle").attr("x",W.rect_min_width/2).attr("dy",.75*W.line_height).text(e),s++});let a=1.5*W.rect_padding+s*W.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",W.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:n,y:a}},"newTitleNode"),C=(0,r.eW)((e,t,i,r)=>{let n=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",W.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),s=0,a=[];return i.forEach(e=>{let t=e.length;for(;t>30&&s<3;){let i=e.substring(0,30);t=(e=e.substring(30,e.length)).length,a[a.length]=i,s++}if(3==s){let e=a[a.length-1];a[a.length-1]=e.substring(0,e.length-4)+"..."}else a[a.length]=e;s=0}),a.forEach(e=>{n.append("tspan").attr("x",W.rect_padding).attr("dy",W.line_height).text(e)}),n},"newBodyNode"),L=(0,r.eW)((e,t,i,r)=>{let n=t.node().getTotalLength(),s=t.node().getPointAtLength(.5*n),a="rel"+q;q++;let l=e.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();e.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-l.width/2).attr("y",s.y-l.height/2).attr("width",l.width).attr("height",l.height).attr("fill","white").attr("fill-opacity","85%")},"addEdgeLabel"),M=(0,r.eW)(function(e,t,i,s,a){let l=i.edge(Y(t.src),Y(t.dst)),h=(0,n.jvg)().x(function(e){return e.x}).y(function(e){return e.y}),o=e.insert("path","#"+s).attr("class","er relationshipLine").attr("d",h(l.points)).attr("fill","none");t.type==a.db.Relationships.CONTAINS?o.attr("marker-start","url("+r.SY.getUrl(W.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(o.attr("stroke-dasharray","10,7"),o.attr("marker-end","url("+r.SY.getUrl(W.arrowMarkerAbsolute)+"#"+w.ReqMarkers.ARROW+"_line_ending)")),L(e,o,W,`<<${t.type}>>`)},"drawRelationshipFromLayout"),F=(0,r.eW)((e,t,i)=>{e.forEach((e,n)=>{n=Y(n),r.cM.info("Added new requirement: ",n);let s=i.append("g").attr("id",n),a=$(s,"req-"+n),l=[],h=O(s,n+"_title",[`<<${e.type}>>`,`${e.name}`]);l.push(h.titleNode),l.push(C(s,n+"_body",[`Id: ${e.id}`,`Text: ${e.text}`,`Risk: ${e.risk}`,`Verification: ${e.verifyMethod}`],h.y));let o=a.node().getBBox();t.setNode(n,{width:o.width,height:o.height,shape:"rect",id:n})})},"drawReqs"),D=(0,r.eW)((e,t,i)=>{e.forEach((e,r)=>{let n=Y(r),s=i.append("g").attr("id",n),a="element-"+n,l=$(s,a),h=[],o=O(s,a+"_title",["<<Element>>",`${r}`]);h.push(o.titleNode),h.push(C(s,a+"_body",[`Type: ${e.type||"Not Specified"}`,`Doc Ref: ${e.docRef||"None"}`],o.y));let c=l.node().getBBox();t.setNode(n,{width:c.width,height:c.height,shape:"rect",id:n})})},"drawElements"),P=(0,r.eW)((e,t)=>(e.forEach(function(e){let i=Y(e.src),r=Y(e.dst);t.setEdge(i,r,{relationship:e})}),e),"addRelationships"),V=(0,r.eW)(function(e,t){t.nodes().forEach(function(i){void 0!==i&&void 0!==t.node(i)&&(e.select("#"+i),e.select("#"+i).attr("transform","translate("+(t.node(i).x-t.node(i).width/2)+","+(t.node(i).y-t.node(i).height/2)+" )"))})},"adjustEntities"),Y=(0,r.eW)(e=>e.replace(/\s/g,"").replace(/\./g,"_"),"elementString"),U=(0,r.eW)((e,t,i,l)=>{let h;let o=(W=(0,r.nV)().requirement).securityLevel;"sandbox"===o&&(h=(0,n.Ys)("#i"+t));let c=("sandbox"===o?(0,n.Ys)(h.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${t}']`);w.insertLineEndings(c,W);let u=new a.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:W.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}}),y=l.db.getRequirements(),d=l.db.getElements(),p=l.db.getRelationships();F(y,u,c),D(d,u,c),P(p,u),(0,s.bK)(u),V(c,u),p.forEach(function(e){M(c,e,u,t,l)});let _=W.rect_padding,g=c.node().getBBox(),E=g.width+2*_,R=g.height+2*_;(0,r.v2)(c,R,E,W.useMaxWidth),c.attr("viewBox",`${g.x-_} ${g.y-_} ${E} ${R}`)},"draw"),B={parser:l,db:T,renderer:{draw:U},styles:x}}}]); \ No newline at end of file diff --git a/assets/js/9196.fbd1abba.js b/assets/js/9196.fbd1abba.js new file mode 100644 index 0000000..c984b30 --- /dev/null +++ b/assets/js/9196.fbd1abba.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9196"],{74593:function(e,t,n){n.d(t,{Z:function(){return s}});var i=n(85893);n(67294);var r=n(67026),o=n(96025),a=n(34403);function s(e){let{className:t}=e;return(0,i.jsx)("main",{className:(0,r.Z)("container margin-vert--xl",t),children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,i.jsx)(a.Z,{as:"h1",className:"hero__title",children:(0,i.jsx)(o.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},95672:function(e,t,n){n.r(t),n.d(t,{default:function(){return l}});var i=n(85893);n(67294);var r=n(96025),o=n(14713),a=n(37647),s=n(74593);function l(){let e=(0,r.translate)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.d,{title:e}),(0,i.jsx)(a.Z,{children:(0,i.jsx)(s.Z,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/9589.d154df9c.js b/assets/js/9589.d154df9c.js new file mode 100644 index 0000000..f9000d2 --- /dev/null +++ b/assets/js/9589.d154df9c.js @@ -0,0 +1,134 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9589"],{92076:function(t,e,i){i.d(e,{AD:function(){return u},AE:function(){return o},Mu:function(){return a},O:function(){return s},kc:function(){return h},rB:function(){return c},yU:function(){return l}});var r=i(74146),n=i(17967),a=(0,r.eW)((t,e)=>{let i=t.append("rect");if(i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),e.name&&i.attr("name",e.name),e.rx&&i.attr("rx",e.rx),e.ry&&i.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)i.attr(t,e.attrs[t]);return e.class&&i.attr("class",e.class),i},"drawRect"),s=(0,r.eW)((t,e)=>{a(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),l=(0,r.eW)((t,e)=>{let i=e.text.replace(r.Vw," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),e.class&&n.attr("class",e.class);let a=n.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(i),n},"drawText"),o=(0,r.eW)((t,e,i,r)=>{let a=t.append("image");a.attr("x",e),a.attr("y",i);let s=(0,n.sanitizeUrl)(r);a.attr("xlink:href",s)},"drawImage"),c=(0,r.eW)((t,e,i,r)=>{let a=t.append("use");a.attr("x",e),a.attr("y",i);let s=(0,n.sanitizeUrl)(r);a.attr("xlink:href",`#${s}`)},"drawEmbeddedImage"),h=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),u=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},97329:function(t,e,i){i.d(e,{diagram:function(){return Y}});var r=i(92076),n=i(74146),a=i(27818),s=function(){var t=(0,n.eW)(function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},"o"),e=[6,8,10,11,12,14,16,17,18],i=[1,9],r=[1,10],a=[1,11],s=[1,12],l=[1,13],o=[1,14],c={trace:(0,n.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:(0,n.eW)(function(t,e,i,r,n,a,s){var l=a.length-1;switch(n){case 1:return a[l-1];case 2:case 6:case 7:this.$=[];break;case 3:a[l-1].push(a[l]),this.$=a[l-1];break;case 4:case 5:this.$=a[l];break;case 8:r.setDiagramTitle(a[l].substr(6)),this.$=a[l].substr(6);break;case 9:this.$=a[l].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[l].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[l].substr(8)),this.$=a[l].substr(8);break;case 13:r.addTask(a[l-1],a[l]),this.$="task"}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:r,14:a,16:s,17:l,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:r,14:a,16:s,17:l,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,n.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,n.eW)(function(t){var e=this,i=[0],r=[],a=[null],s=[],l=this.table,o="",c=0,h=0,u=0,y=s.slice.call(arguments,1),p=Object.create(this.lexer),d={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(d.yy[f]=this.yy[f]);p.setInput(t,d.yy),d.yy.lexer=p,d.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;s.push(g);var x=p.options&&p.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function m(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,n.eW)(function(t){i.length=i.length-2*t,a.length=a.length-t,s.length=s.length-t},"popStack"),(0,n.eW)(m,"lex");for(var k,_,b,W,v,w,$,M,T,S={};;){if(b=i[i.length-1],this.defaultActions[b]?W=this.defaultActions[b]:(null==k&&(k=m()),W=l[b]&&l[b][k]),void 0===W||!W.length||!W[0]){var E="";for(w in T=[],l[b])this.terminals_[w]&&w>2&&T.push("'"+this.terminals_[w]+"'");E=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(E,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:g,expected:T})}if(W[0]instanceof Array&&W.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+k);switch(W[0]){case 1:i.push(k),a.push(p.yytext),s.push(p.yylloc),i.push(W[1]),k=null,_?(k=_,_=null):(h=p.yyleng,o=p.yytext,c=p.yylineno,g=p.yylloc,u>0&&u--);break;case 2:if($=this.productions_[W[1]][1],S.$=a[a.length-$],S._$={first_line:s[s.length-($||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-($||1)].first_column,last_column:s[s.length-1].last_column},x&&(S._$.range=[s[s.length-($||1)].range[0],s[s.length-1].range[1]]),void 0!==(v=this.performAction.apply(S,[o,h,c,d.yy,W[1],a,s].concat(y))))return v;$&&(i=i.slice(0,-1*$*2),a=a.slice(0,-1*$),s=s.slice(0,-1*$)),i.push(this.productions_[W[1]][0]),a.push(S.$),s.push(S._$),M=l[i[i.length-2]][i[i.length-1]],i.push(M);break;case 3:return!0}}return!0},"parse")},h={EOF:1,parseError:(0,n.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,n.eW)(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},"setInput"),input:(0,n.eW)(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},"input"),unput:(0,n.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,n.eW)(function(){return this._more=!0,this},"more"),reject:(0,n.eW)(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})},"reject"),less:(0,n.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,n.eW)(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,"")},"upcomingInput"),showPosition:(0,n.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,n.eW)(function(t,e){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var a in n)this[a]=n[a];return!1},"test_match"),next:(0,n.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,r,n=this._currentRules(),a=0;a<n.length;a++)if((i=this._input.match(this.rules[n[a]]))&&(!e||i[0].length>e[0].length)){if(e=i,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[a])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,n[r]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,n.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,n.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,n.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.eW)(function(t,e,i,r){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\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:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};function u(){this.yy={}}return c.lexer=h,(0,n.eW)(u,"Parser"),u.prototype=c,c.Parser=u,new u}();s.parser=s;var l="",o=[],c=[],h=[],u=(0,n.eW)(function(){o.length=0,c.length=0,l="",h.length=0,(0,n.ZH)()},"clear"),y=(0,n.eW)(function(t){l=t,o.push(t)},"addSection"),p=(0,n.eW)(function(){return o},"getSections"),d=(0,n.eW)(function(){let t=m(),e=0;for(;!t&&e<100;)t=m(),e++;return c.push(...h),c},"getTasks"),f=(0,n.eW)(function(){let t=[];return c.forEach(e=>{e.people&&t.push(...e.people)}),[...new Set(t)].sort()},"updateActors"),g=(0,n.eW)(function(t,e){let i=e.substr(1).split(":"),r=0,n=[];1===i.length?(r=Number(i[0]),n=[]):(r=Number(i[0]),n=i[1].split(","));let a=n.map(t=>t.trim()),s={section:l,type:l,people:a,task:t,score:r};h.push(s)},"addTask"),x=(0,n.eW)(function(t){let e={section:l,type:l,description:t,task:t,classes:[]};c.push(e)},"addTaskOrg"),m=(0,n.eW)(function(){let t=(0,n.eW)(function(t){return h[t].processed},"compileTask"),e=!0;for(let[i,r]of h.entries())t(i),e=e&&r.processed;return e},"compileTasks"),k=(0,n.eW)(function(){return f()},"getActors"),_={getConfig:(0,n.eW)(()=>(0,n.nV)().journey,"getConfig"),clear:u,setDiagramTitle:n.g2,getDiagramTitle:n.Kr,setAccTitle:n.GN,getAccTitle:n.eu,setAccDescription:n.U$,getAccDescription:n.Mx,addSection:y,getSections:p,getTasks:d,addTask:g,addTaskOrg:x,getActors:k},b=(0,n.eW)(t=>`.label { + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + color: ${t.textColor}; + } + .mouth { + stroke: #666; + } + + line { + stroke: ${t.textColor} + } + + .legend { + fill: ${t.textColor}; + } + + .label text { + fill: #333; + } + .label { + color: ${t.textColor} + } + + .face { + ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"}; + stroke: #999; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: 1px; + } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${t.arrowheadColor}; + } + + .edgePath .path { + stroke: ${t.lineColor}; + stroke-width: 1.5px; + } + + .flowchart-link { + stroke: ${t.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${t.edgeLabelBackground}; + rect { + opacity: 0.5; + } + text-align: center; + } + + .cluster rect { + } + + .cluster text { + fill: ${t.titleColor}; + } + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + font-size: 12px; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .task-type-0, .section-type-0 { + ${t.fillType0?`fill: ${t.fillType0}`:""}; + } + .task-type-1, .section-type-1 { + ${t.fillType0?`fill: ${t.fillType1}`:""}; + } + .task-type-2, .section-type-2 { + ${t.fillType0?`fill: ${t.fillType2}`:""}; + } + .task-type-3, .section-type-3 { + ${t.fillType0?`fill: ${t.fillType3}`:""}; + } + .task-type-4, .section-type-4 { + ${t.fillType0?`fill: ${t.fillType4}`:""}; + } + .task-type-5, .section-type-5 { + ${t.fillType0?`fill: ${t.fillType5}`:""}; + } + .task-type-6, .section-type-6 { + ${t.fillType0?`fill: ${t.fillType6}`:""}; + } + .task-type-7, .section-type-7 { + ${t.fillType0?`fill: ${t.fillType7}`:""}; + } + + .actor-0 { + ${t.actor0?`fill: ${t.actor0}`:""}; + } + .actor-1 { + ${t.actor1?`fill: ${t.actor1}`:""}; + } + .actor-2 { + ${t.actor2?`fill: ${t.actor2}`:""}; + } + .actor-3 { + ${t.actor3?`fill: ${t.actor3}`:""}; + } + .actor-4 { + ${t.actor4?`fill: ${t.actor4}`:""}; + } + .actor-5 { + ${t.actor5?`fill: ${t.actor5}`:""}; + } +`,"getStyles"),W=(0,n.eW)(function(t,e){return(0,r.Mu)(t,e)},"drawRect"),v=(0,n.eW)(function(t,e){let i=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 s(t){let i=(0,a.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function l(t){let i=(0,a.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).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 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"),(0,n.eW)(s,"smile"),(0,n.eW)(l,"sad"),(0,n.eW)(o,"ambivalent"),e.score>3?s(r):e.score<3?l(r):o(r),i},"drawFace"),w=(0,n.eW)(function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},"drawCircle"),$=(0,n.eW)(function(t,e){return(0,r.yU)(t,e)},"drawText"),M=(0,n.eW)(function(t,e){function i(t,e,i,r,n){return t+","+e+" "+(t+i)+","+e+" "+(t+i)+","+(e+r-n)+" "+(t+i-1.2*n)+","+(e+r)+" "+t+","+(e+r)}(0,n.eW)(i,"genPoints");let r=t.append("polygon");r.attr("points",i(e.x,e.y,50,20,7)),r.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,$(t,e)},"drawLabel"),T=(0,n.eW)(function(t,e,i){let n=t.append("g"),a=(0,r.kc)();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=i.width*e.taskCount+i.diagramMarginX*(e.taskCount-1),a.height=i.height,a.class="journey-section section-type-"+e.num,a.rx=3,a.ry=3,W(n,a),I(i)(e.text,n,a.x,a.y,a.width,a.height,{class:"journey-section section-type-"+e.num},i,e.colour)},"drawSection"),S=-1,E=(0,n.eW)(function(t,e,i){let n=e.x+i.width/2,a=t.append("g");S++;a.append("line").attr("id","task"+S).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),v(a,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=(0,r.kc)();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width,s.height=i.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,W(a,s);let l=e.x+14;e.people.forEach(t=>{let i=e.actors[t].color;w(a,{cx:l,cy:e.y,r:7,fill:i,stroke:"#000",title:t,pos:e.actors[t].position}),l+=10}),I(i)(e.task,a,s.x,s.y,s.width,s.height,{class:"task"},i,e.colour)},"drawTask"),A=(0,n.eW)(function(t,e){(0,r.O)(t,e)},"drawBackgroundRect"),I=function(){function t(t,e,i,n,a,s,l,o){r(e.append("text").attr("x",i+a/2).attr("y",n+s/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,n,a,s,l,o,c){let{taskFontSize:h,taskFontFamily:u}=o,y=t.split(/<br\s*\/?>/gi);for(let t=0;t<y.length;t++){let o=t*h-h*(y.length-1)/2,p=e.append("text").attr("x",i+a/2).attr("y",n).attr("fill",c).style("text-anchor","middle").style("font-size",h).style("font-family",u);p.append("tspan").attr("x",i+a/2).attr("dy",o).text(y[t]),p.attr("y",n+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(p,l)}}function i(t,i,n,a,s,l,o,c){let h=i.append("switch"),u=h.append("foreignObject").attr("x",n).attr("y",a).attr("width",s).attr("height",l).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,n,a,s,l,o,c),r(u,o)}function r(t,e){for(let i in e)i in e&&t.attr(i,e[i])}return(0,n.eW)(t,"byText"),(0,n.eW)(e,"byTspan"),(0,n.eW)(i,"byFo"),(0,n.eW)(r,"_setTextAttrs"),function(r){return"fo"===r.textPlacement?i:"old"===r.textPlacement?t:e}}(),P={drawCircle:w,drawSection:T,drawText:$,drawTask:E,initGraphics:(0,n.eW)(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")},"initGraphics")},C=(0,n.eW)(function(t){Object.keys(t).forEach(function(e){O[e]=t[e]})},"setConf"),V={};function j(t){let e=(0,n.nV)().journey,i=60;Object.keys(V).forEach(r=>{let n=V[r].color,a={cx:20,cy:i,r:7,fill:n,stroke:"#000",pos:V[r].position};P.drawCircle(t,a);let s={x:40,y:i+7,fill:"#666",text:r,textMargin:5|e.boxTextMargin};P.drawText(t,s),i+=20})}(0,n.eW)(j,"drawActorLegend");var O=(0,n.nV)().journey,N=O.leftMargin,D=(0,n.eW)(function(t,e,i,r){let s;let l=(0,n.nV)().journey,o=(0,n.nV)().securityLevel;"sandbox"===o&&(s=(0,a.Ys)("#i"+e));let c="sandbox"===o?(0,a.Ys)(s.nodes()[0].contentDocument.body):(0,a.Ys)("body");B.init();let h=c.select("#"+e);P.initGraphics(h);let u=r.db.getTasks(),y=r.db.getDiagramTitle(),p=r.db.getActors();for(let t in V)delete V[t];let d=0;p.forEach(t=>{V[t]={color:l.actorColours[d%l.actorColours.length],position:d},d++}),j(h),B.insert(0,0,N,50*Object.keys(V).length),R(h,u,0);let f=B.getBounds();y&&h.append("text").text(y).attr("x",N).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);let g=f.stopy-f.starty+2*l.diagramMarginY,x=N+f.stopx+2*l.diagramMarginX;(0,n.v2)(h,g,x,l.useMaxWidth),h.append("line").attr("x1",N).attr("y1",4*l.height).attr("x2",x-N-4).attr("y2",4*l.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let m=y?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+m}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+m+25)},"draw"),B={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,n.eW)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,n.eW)(function(t,e,i,r){void 0===t[e]?t[e]=i:t[e]=r(i,t[e])},"updateVal"),updateBounds:(0,n.eW)(function(t,e,i,r){let a=(0,n.nV)().journey,s=this,l=0;function o(o){return(0,n.eW)(function(n){l++;let c=s.sequenceItems.length-l+1;s.updateVal(n,"starty",e-c*a.boxMargin,Math.min),s.updateVal(n,"stopy",r+c*a.boxMargin,Math.max),s.updateVal(B.data,"startx",t-c*a.boxMargin,Math.min),s.updateVal(B.data,"stopx",i+c*a.boxMargin,Math.max),"activation"!==o&&(s.updateVal(n,"startx",t-c*a.boxMargin,Math.min),s.updateVal(n,"stopx",i+c*a.boxMargin,Math.max),s.updateVal(B.data,"starty",e-c*a.boxMargin,Math.min),s.updateVal(B.data,"stopy",r+c*a.boxMargin,Math.max))},"updateItemBounds")}(0,n.eW)(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:(0,n.eW)(function(t,e,i,r){let n=Math.min(t,i),a=Math.max(t,i),s=Math.min(e,r),l=Math.max(e,r);this.updateVal(B.data,"startx",n,Math.min),this.updateVal(B.data,"starty",s,Math.min),this.updateVal(B.data,"stopx",a,Math.max),this.updateVal(B.data,"stopy",l,Math.max),this.updateBounds(n,s,a,l)},"insert"),bumpVerticalPos:(0,n.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,n.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,n.eW)(function(){return this.data},"getBounds")},L=O.sectionFills,F=O.sectionColours,R=(0,n.eW)(function(t,e,i){let r=(0,n.nV)().journey,a="",s=i+(2*r.height+r.diagramMarginY),l=0,o="#CCC",c="black",h=0;for(let[i,n]of e.entries()){if(a!==n.section){o=L[l%L.length],h=l%L.length,c=F[l%F.length];let s=0,u=n.section;for(let t=i;t<e.length;t++)if(e[t].section==u)s+=1;else break;let y={x:i*r.taskMargin+i*r.width+N,y:50,text:n.section,fill:o,num:h,colour:c,taskCount:s};P.drawSection(t,y,r),a=n.section,l++}let u=n.people.reduce((t,e)=>(V[e]&&(t[e]=V[e]),t),{});n.x=i*r.taskMargin+i*r.width+N,n.y=s,n.width=r.diagramMarginX,n.height=r.diagramMarginY,n.colour=c,n.fill=o,n.num=h,n.actors=u,P.drawTask(t,n,r),B.insert(n.x,n.y,n.x+n.width+r.taskMargin,450)}},"drawTasks"),z={setConf:C,draw:D},Y={parser:s,db:_,renderer:z,styles:b,init:(0,n.eW)(t=>{z.setConf(t.journey),_.clear()},"init")}}}]); \ No newline at end of file diff --git a/assets/js/9604fc81.d458bd0b.js b/assets/js/9604fc81.d458bd0b.js new file mode 100644 index 0000000..916d566 --- /dev/null +++ b/assets/js/9604fc81.d458bd0b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8788"],{11871:function(e,s,n){n.r(s),n.d(s,{metadata:()=>o,contentTitle:()=>d,default:()=>u,assets:()=>a,toc:()=>c,frontMatter:()=>t});var o=JSON.parse('{"id":"docusaurus/tutorial_extras/manage_docs_versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","source":"@site/docs/docusaurus/tutorial_extras/manage_docs_versions.md","sourceDirName":"docusaurus/tutorial_extras","slug":"/docusaurus/tutorial_extras/manage_docs_versions","permalink":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_extras/manage_docs_versions.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Extras","permalink":"/nr-pies/docs/category/tutorial---extras"},"next":{"title":"Translate your site","permalink":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site"}}'),r=n("85893"),i=n("50065");let t={sidebar_position:1},d="Manage Docs Versions",a={},c=[{value:"Create a docs version",id:"create-a-docs-version",level:2},{value:"Add a Version Dropdown",id:"add-a-version-dropdown",level:2},{value:"Update an existing version",id:"update-an-existing-version",level:2}];function l(e){let s={code:"code",h1:"h1",h2:"h2",header:"header",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.header,{children:(0,r.jsx)(s.h1,{id:"manage-docs-versions",children:"Manage Docs Versions"})}),"\n",(0,r.jsx)(s.p,{children:"Docusaurus can manage multiple versions of your docs."}),"\n",(0,r.jsx)(s.h2,{id:"create-a-docs-version",children:"Create a docs version"}),"\n",(0,r.jsx)(s.p,{children:"Release a version 1.0 of your project:"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-bash",children:"npm run docusaurus docs:version 1.0\n"})}),"\n",(0,r.jsxs)(s.p,{children:["The ",(0,r.jsx)(s.code,{children:"docs"})," folder is copied into ",(0,r.jsx)(s.code,{children:"versioned_docs/version-1.0"})," and ",(0,r.jsx)(s.code,{children:"versions.json"})," is created."]}),"\n",(0,r.jsx)(s.p,{children:"Your docs now have 2 versions:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"1.0"})," at ",(0,r.jsx)(s.code,{children:"http://localhost:3000/docs/"})," for the version 1.0 docs"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"current"})," at ",(0,r.jsx)(s.code,{children:"http://localhost:3000/docs/next/"})," for the ",(0,r.jsx)(s.strong,{children:"upcoming, unreleased docs"})]}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"add-a-version-dropdown",children:"Add a Version Dropdown"}),"\n",(0,r.jsx)(s.p,{children:"To navigate seamlessly across versions, add a version dropdown."}),"\n",(0,r.jsxs)(s.p,{children:["Modify the ",(0,r.jsx)(s.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:'export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: "docsVersionDropdown",\n },\n // highlight-end\n ],\n },\n },\n};\n'})}),"\n",(0,r.jsx)(s.p,{children:"The docs version dropdown appears in your navbar:"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.img,{alt:"Docs Version Dropdown",src:n(73652).Z+"",width:"370",height:"302"})}),"\n",(0,r.jsx)(s.h2,{id:"update-an-existing-version",children:"Update an existing version"}),"\n",(0,r.jsx)(s.p,{children:"It is possible to edit versioned docs in their respective folder:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"versioned_docs/version-1.0/hello.md"})," updates ",(0,r.jsx)(s.code,{children:"http://localhost:3000/docs/hello"})]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"docs/hello.md"})," updates ",(0,r.jsx)(s.code,{children:"http://localhost:3000/docs/next/hello"})]}),"\n"]})]})}function u(e={}){let{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},73652:function(e,s,n){n.d(s,{Z:function(){return o}});let o=n.p+"assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png"},50065:function(e,s,n){n.d(s,{Z:function(){return d},a:function(){return t}});var o=n(67294);let r={},i=o.createContext(r);function t(e){let s=o.useContext(i);return o.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:t(e.components),o.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/9790.fe69e9aa.js b/assets/js/9790.fe69e9aa.js new file mode 100644 index 0000000..35d1b2e --- /dev/null +++ b/assets/js/9790.fe69e9aa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9790"],{63994:function(e,r,t){t.d(r,{diagram:function(){return u}});var n=t(36534),a=t(89356),i=t(74146),s=t(3194),d={parse:(0,i.eW)(async e=>{let r=await (0,s.Qc)("info",e);i.cM.debug(r)},"parse")},c={version:n.i},p=(0,i.eW)(()=>c.version,"getVersion"),o=(0,i.eW)((e,r,t)=>{i.cM.debug("rendering info diagram\n"+e);let n=(0,a.P)(r);(0,i.v2)(n,100,400,!0),n.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${t}`)},"draw"),u={parser:d,db:{getVersion:p},renderer:{draw:o}}}}]); \ No newline at end of file diff --git a/assets/js/992aa281.921dd3cf.js b/assets/js/992aa281.921dd3cf.js new file mode 100644 index 0000000..ba679bd --- /dev/null +++ b/assets/js/992aa281.921dd3cf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9277"],{45067:function(e,i,t){t.r(i),t.d(i,{metadata:()=>r,contentTitle:()=>m,default:()=>j,assets:()=>f,toc:()=>g,frontMatter:()=>u});var r=JSON.parse('{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","source":"@site/docs/spec/data/parcel_id.mdx","sourceDirName":"spec/data","slug":"/spec/data/parcel_id","permalink":"/nr-pies/docs/spec/data/parcel_id","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/parcel_id.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Event","permalink":"/nr-pies/docs/spec/data/event"},"next":{"title":"Process","permalink":"/nr-pies/docs/spec/data/process"}}'),a=t("85893"),n=t("50065"),s=t("45056"),l=t("98477"),d=t.n(l),c=t("47902"),o=t("5525"),h=JSON.parse('{"legal_description":"legal_description","parcel_name":"parcel_name","pid":[123456789,456789123],"pin":987654321}'),p=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/parcel_id.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","type":"object","properties":{"legal_description":{"type":"string","description":"The full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.","maxLength":2000},"parcel_name":{"type":"string","description":"The same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK."},"pid":{"type":"array","items":{"type":"integer","description":"Parcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.","minimum":0,"maximum":999999999},"minItems":1,"uniqueItems":true},"pin":{"type":"integer","description":"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.","minimum":0,"maximum":999999999}},"anyOf":[{"title":"pid","required":["pid"]},{"title":"pin","required":["pin"]}]}');let u={id:"parcel_id",title:"Parcel Identifier",description:"An identifier for a specific area with clear boundaries.",tags:["developer"]},m=void 0,f={},g=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"Parcel ID (PID)",id:"parcel-id-pid",level:3},{value:"References",id:"references",level:2}];function x(e){let i={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.p,{children:"An identifier for a specific area with clear boundaries."}),"\n",(0,a.jsx)(i.p,{children:"There a multiple ways to identify a parcel. Most common are the Parcel ID (PID) or Parcel Identification Number (PIN)."}),"\n",(0,a.jsx)(i.h2,{id:"scope",children:"Scope"}),"\n",(0,a.jsx)(i.p,{children:"Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the\nland title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being\nentered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier."}),"\n",(0,a.jsx)(i.p,{children:"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier."}),"\n",(0,a.jsx)(i.h2,{id:"structure",children:"Structure"}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsxs)(i.li,{children:["A valid Parcel Identifier shall at minimum contain either a ",(0,a.jsx)(i.code,{children:"pin"})," or at least one ",(0,a.jsx)(i.code,{children:"pid"}),"."]}),"\n",(0,a.jsxs)(i.li,{children:["A Parcel Identifier may contain a ",(0,a.jsx)(i.code,{children:"legal_description"})," and/or a ",(0,a.jsx)(i.code,{children:"parcel_name"}),"."]}),"\n"]}),"\n",(0,a.jsxs)(i.table,{children:[(0,a.jsx)(i.thead,{children:(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.th,{children:"Name"}),(0,a.jsx)(i.th,{children:"Cardinality"}),(0,a.jsx)(i.th,{children:"Type"}),(0,a.jsx)(i.th,{children:"Description & Constraints"})]})}),(0,a.jsxs)(i.tbody,{children:[(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"legal_description"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"string"})}),(0,a.jsx)(i.td,{children:"The full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"parcel_name"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"string"})}),(0,a.jsx)(i.td,{children:"The same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"pid"}),(0,a.jsx)(i.td,{children:"0..*"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"integer"})}),(0,a.jsx)(i.td,{children:"Parcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"pin"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"integer"})}),(0,a.jsx)(i.td,{children:"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier."})]})]})]}),"\n",(0,a.jsx)(i.h2,{id:"specification",children:"Specification"}),"\n",(0,a.jsxs)(c.default,{queryString:"tab",children:[(0,a.jsx)(o.default,{value:"schema",label:"Schema",default:!0,children:(0,a.jsx)(d(),{schema:p,viewerOptions:{showExamples:!0}})}),(0,a.jsx)(o.default,{value:"source",label:"Source",children:(0,a.jsx)(s.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})}),(0,a.jsx)(o.default,{value:"example",label:"Example",children:(0,a.jsx)(s.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(h,null,2)})})]}),"\n",(0,a.jsx)(i.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,a.jsx)(i.h3,{id:"parcel-id-pid",children:"Parcel ID (PID)"}),"\n",(0,a.jsxs)(i.p,{children:["Parcel IDs are stored as numeric values from ",(0,a.jsx)(i.a,{href:"https://help.ltsa.ca/parcelmap-bc/parcels",children:"ParcelMap BC (PMBC)"}),". During\nthe PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes\npadded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see ",(0,a.jsx)(i.a,{href:"https://catalogue.data.gov.bc.ca/group/47fa4daf-78d1-4c64-a0d2-51638a04910d",children:"BC Data Catalogue"}),") and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes:"]}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsxs)(i.li,{children:[(0,a.jsx)(i.code,{children:"parcel_id_formatted"})," (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits."]}),"\n",(0,a.jsxs)(i.li,{children:[(0,a.jsx)(i.code,{children:"parcel_id_number"})," (numeric, 10): The Parcel ID as a number, without leading zeroes."]}),"\n"]}),"\n",(0,a.jsxs)(i.p,{children:["Should these alternatives be encountered, they must be transformed into a standard JSON ",(0,a.jsx)(i.code,{children:"integer"})," primitive type."]}),"\n",(0,a.jsx)(i.h2,{id:"references",children:"References"}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsx)(i.li,{children:(0,a.jsx)(i.a,{href:"https://catalogue.data.gov.bc.ca/group/47fa4daf-78d1-4c64-a0d2-51638a04910d",children:"BC Data Catalogue"})}),"\n",(0,a.jsx)(i.li,{children:(0,a.jsx)(i.a,{href:"https://help.ltsa.ca/parcelmap-bc/parcels",children:"ParcelMap BC - Parcels"})}),"\n"]})]})}function j(e={}){let{wrapper:i}={...(0,n.a)(),...e.components};return i?(0,a.jsx)(i,{...e,children:(0,a.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/assets/js/9974.9ea7f72c.js b/assets/js/9974.9ea7f72c.js new file mode 100644 index 0000000..02481e6 --- /dev/null +++ b/assets/js/9974.9ea7f72c.js @@ -0,0 +1,46 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9974"],{6576:function(t,e,r){r.d(e,{diagram:()=>Z});var a=r("68394"),i=r("74146"),n=r("50043"),s=r("27818"),o=r("49235");let l=[];for(let t=0;t<256;++t)l.push((t+256).toString(16).slice(1));let c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,h=function(t){var e;let r;if(!("string"==typeof(e=t)&&c.test(e)))throw TypeError("Invalid UUID");let a=new Uint8Array(16);return a[0]=(r=parseInt(t.slice(0,8),16))>>>24,a[1]=r>>>16&255,a[2]=r>>>8&255,a[3]=255&r,a[4]=(r=parseInt(t.slice(9,13),16))>>>8,a[5]=255&r,a[6]=(r=parseInt(t.slice(14,18),16))>>>8,a[7]=255&r,a[8]=(r=parseInt(t.slice(19,23),16))>>>8,a[9]=255&r,a[10]=(r=parseInt(t.slice(24,36),16))/0x10000000000&255,a[11]=r/0x100000000&255,a[12]=r>>>24&255,a[13]=r>>>16&255,a[14]=r>>>8&255,a[15]=255&r,a};function d(t,e){return t<<e|t>>>32-e}let u=function(t,e,r){function a(t,e,a,i){var n;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));let e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}(t)),"string"==typeof e&&(e=h(e)),(null===(n=e)||void 0===n?void 0:n.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let s=new Uint8Array(16+t.length);if(s.set(e),s.set(t,e.length),(s=r(s))[6]=15&s[6]|80,s[8]=63&s[8]|128,a){i=i||0;for(let t=0;t<16;++t)a[i+t]=s[t];return a}return function(t,e=0){return l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]}(s)}try{a.name="v5"}catch(t){}return a.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",a.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",a}("v5",80,function(t){let e=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],r=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0];if("string"==typeof t){let e=unescape(encodeURIComponent(t));t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r))}else!Array.isArray(t)&&(t=Array.prototype.slice.call(t));t.push(128);let a=Math.ceil((t.length/4+2)/16),i=Array(a);for(let e=0;e<a;++e){let r=new Uint32Array(16);for(let a=0;a<16;++a)r[a]=t[64*e+4*a]<<24|t[64*e+4*a+1]<<16|t[64*e+4*a+2]<<8|t[64*e+4*a+3];i[e]=r}i[a-1][14]=(t.length-1)*8/0x100000000,i[a-1][14]=Math.floor(i[a-1][14]),i[a-1][15]=(t.length-1)*8&0xffffffff;for(let t=0;t<a;++t){let a=new Uint32Array(80);for(let e=0;e<16;++e)a[e]=i[t][e];for(let t=16;t<80;++t)a[t]=d(a[t-3]^a[t-8]^a[t-14]^a[t-16],1);let n=r[0],s=r[1],o=r[2],l=r[3],c=r[4];for(let t=0;t<80;++t){let r=Math.floor(t/20),i=d(n,5)+function(t,e,r,a){switch(t){case 0:return e&r^~e&a;case 1:case 3:return e^r^a;case 2:return e&r^e&a^r&a}}(r,s,o,l)+c+e[r]+a[t]>>>0;c=l,l=o,o=d(s,30)>>>0,s=n,n=i}r[0]=r[0]+n>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+l>>>0,r[4]=r[4]+c>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]});var y=function(){var t=(0,i.eW)(function(t,e,r,a){for(r=r||{},a=t.length;a--;r[t[a]]=e);return r},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],a=[1,11],n=[1,12],s=[1,13],o=[1,14],l=[1,15],c=[1,21],h=[1,22],d=[1,23],u=[1,24],y=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],_=[1,34],f=[27,28,46,47],E=[41,42,43,44,45],g=[17,34],m=[1,54],O=[1,53],b=[17,34,36,38],k={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:(0,i.eW)(function(t,e,r,a,i,n,s){var o=n.length-1;switch(i){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=n[o];break;case 8:a.addEntity(n[o-4]),a.addEntity(n[o-2]),a.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 9:a.addEntity(n[o-3]),a.addAttributes(n[o-3],n[o-1]);break;case 10:a.addEntity(n[o-2]);break;case 11:a.addEntity(n[o]);break;case 12:a.addEntity(n[o-6],n[o-4]),a.addAttributes(n[o-6],n[o-1]);break;case 13:a.addEntity(n[o-5],n[o-3]);break;case 14:a.addEntity(n[o-3],n[o-1]);break;case 15:case 16:this.$=n[o].trim(),a.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),a.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=n[o].replace(/"/g,"");break;case 21:case 29:this.$=[n[o]];break;case 22:n[o].push(n[o-1]),this.$=n[o];break;case 23:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 24:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 26:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 30:n[o-2].push(n[o]),this.$=n[o-2];break;case 33:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-2]};break;case 34:this.$=a.Cardinality.ZERO_OR_ONE;break;case 35:this.$=a.Cardinality.ZERO_OR_MORE;break;case 36:this.$=a.Cardinality.ONE_OR_MORE;break;case 37:this.$=a.Cardinality.ONLY_ONE;break;case 38:this.$=a.Cardinality.MD_PARENT;break;case 39:this.$=a.Identification.NON_IDENTIFYING;break;case 40:this.$=a.Identification.IDENTIFYING}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:a,24:n,26:s,27:o,28:l},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:a,24:n,26:s,27:o,28:l},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:c,42:h,43:d,44:u,45:y}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:o,28:l},{16:30,17:[1,31],29:32,30:33,34:_},{11:35,27:o,28:l},{40:36,46:[1,37],47:[1,38]},t(f,[2,34]),t(f,[2,35]),t(f,[2,36]),t(f,[2,37]),t(f,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:_},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:c,42:h,43:d,44:u,45:y},t(E,[2,39]),t(E,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(g,[2,23],{32:50,33:51,35:52,37:m,38:O}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(g,[2,24],{33:56,36:[1,57],38:O}),t(g,[2,25]),t(b,[2,29]),t(g,[2,32]),t(b,[2,31]),{16:58,17:[1,59],29:32,30:33,34:_},t(g,[2,26]),{35:60,37:m},{17:[1,61]},t(e,[2,13]),t(b,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:(0,i.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var r=Error(t);throw r.hash=e,r}},"parseError"),parse:(0,i.eW)(function(t){var e=this,r=[0],a=[],n=[null],s=[],o=this.table,l="",c=0,h=0,d=0,u=s.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(p.yy[_]=this.yy[_]);y.setInput(t,p.yy),p.yy.lexer=y,p.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var f=y.yylloc;s.push(f);var E=y.options&&y.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(){var t;return"number"!=typeof(t=a.pop()||y.lex()||1)&&(t instanceof Array&&(t=(a=t).pop()),t=e.symbols_[t]||t),t}(0,i.eW)(function(t){r.length=r.length-2*t,n.length=n.length-t,s.length=s.length-t},"popStack"),(0,i.eW)(g,"lex");for(var m,O,b,k,R,N,x,T,M,A={};;){if(b=r[r.length-1],this.defaultActions[b]?k=this.defaultActions[b]:(null==m&&(m=g()),k=o[b]&&o[b][m]),void 0===k||!k.length||!k[0]){var w="";for(N in M=[],o[b])this.terminals_[N]&&N>2&&M.push("'"+this.terminals_[N]+"'");w=y.showPosition?"Parse error on line "+(c+1)+":\n"+y.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(w,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:f,expected:M})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(k[0]){case 1:r.push(m),n.push(y.yytext),s.push(y.yylloc),r.push(k[1]),m=null,O?(m=O,O=null):(h=y.yyleng,l=y.yytext,c=y.yylineno,f=y.yylloc,d>0&&d--);break;case 2:if(x=this.productions_[k[1]][1],A.$=n[n.length-x],A._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column},E&&(A._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(R=this.performAction.apply(A,[l,h,c,p.yy,k[1],n,s].concat(u))))return R;x&&(r=r.slice(0,-1*x*2),n=n.slice(0,-1*x),s=s.slice(0,-1*x)),r.push(this.productions_[k[1]][0]),n.push(A.$),s.push(A._$),T=o[r[r.length-2]][r[r.length-1]],r.push(T);break;case 3:return!0}}return!0},"parse")},R={EOF:1,parseError:(0,i.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,i.eW)(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},"setInput"),input:(0,i.eW)(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},"input"),unput:(0,i.eW)(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[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},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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})},"reject"),less:(0,i.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,i.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.eW)(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,"")},"upcomingInput"),showPosition:(0,i.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,i.eW)(function(t,e){var r,a,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))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var n in i)this[n]=i[n];return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,r,a,i=this._currentRules(),n=0;n<i.length;n++)if((r=this._input.match(this.rules[i[n]]))&&(!e||r[0].length>e[0].length)){if(e=r,a=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,i[n])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[a]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,i.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,i.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(t,e,r,a){switch(r){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;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 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return e.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/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,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,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],inclusive:!0}}};function N(){this.yy={}}return k.lexer=R,(0,i.eW)(N,"Parser"),N.prototype=k,k.Parser=N,new N}();y.parser=y;var p=new Map,_=[],f=(0,i.eW)(function(t,e){return p.has(t)?!p.get(t).alias&&e&&(p.get(t).alias=e,i.cM.info(`Add alias '${e}' to entity '${t}'`)):(p.set(t,{attributes:[],alias:e}),i.cM.info("Added new entity :",t)),p.get(t)},"addEntity"),E=(0,i.eW)(()=>p,"getEntities"),g=(0,i.eW)(function(t,e){let r,a=f(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.cM.debug("Added attribute ",e[r].attributeName)},"addAttributes"),m=(0,i.eW)(function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};_.push(n),i.cM.debug("Added new relationship :",n)},"addRelationship"),O=(0,i.eW)(()=>_,"getRelationships"),b=(0,i.eW)(function(){p=new Map,_=[],(0,i.ZH)()},"clear"),k={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:(0,i.eW)(()=>(0,i.nV)().er,"getConfig"),addEntity:f,addAttributes:g,getEntities:E,addRelationship:m,getRelationships:O,clear:b,setAccTitle:i.GN,getAccTitle:i.eu,setAccDescription:i.U$,getAccDescription:i.Mx,setDiagramTitle:i.g2,getDiagramTitle:i.Kr},R={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},N=(0,i.eW)(function(t,e){let r;t.append("defs").append("marker").attr("id",R.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",R.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",R.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",R.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",R.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",R.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"insertMarkers"),x={ERMarkers:R,insertMarkers:N},T=/[^\dA-Za-z](\W)*/g,M={},A=new Map,w=(0,i.eW)(function(t){for(let e of Object.keys(t))M[e]=t[e]},"setConf"),I=(0,i.eW)((t,e,r)=>{let a=M.entityPadding/3,n=M.entityPadding/3,s=.85*M.fontSize,o=e.node().getBBox(),l=[],c=!1,h=!1,d=0,u=0,y=0,p=0,_=o.height+2*a,f=1;r.forEach(t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(c=!0),void 0!==t.attributeComment&&(h=!0)}),r.forEach(r=>{let n=`${e.node().id}-attr-${f}`,o=0,E=(0,i.UO)(r.attributeType),g=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(E),m=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=g,O.nn=m;let b=g.node().getBBox(),k=m.node().getBBox();if(d=Math.max(d,b.width),u=Math.max(u,k.width),o=Math.max(b.height,k.height),c){let e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;let l=a.node().getBBox();y=Math.max(y,l.width),o=Math.max(o,l.height)}if(h){let e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;let a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,l.push(O),_+=o+2*a,f+=1});let E=4;c&&(E+=2),h&&(E+=2);let g=d+u+y+p,m={width:Math.max(M.minEntityWidth,Math.max(o.width+2*M.entityPadding,g+n*E)),height:r.length>0?_:Math.max(M.minEntityHeight,o.height+2*M.entityPadding)};if(r.length>0){let r=Math.max(0,(m.width-g-n*E)/(E/2));e.attr("transform","translate("+m.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";l.forEach(e=>{let o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");let l=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(l.attr("x"))+parseFloat(l.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");let f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a),E=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(c){e.kn.attr("transform","translate("+(E+n)+","+o+")");let l=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",E).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a);E=parseFloat(l.attr("x"))+parseFloat(l.attr("width"))}h&&(e.cn.attr("transform","translate("+(E+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",E).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"})}else m.height=Math.max(M.minEntityHeight,_),e.attr("transform","translate("+m.width/2+","+m.height/2+")");return m},"drawAttributes"),S=(0,i.eW)(function(t,e,r){let a;return[...e.keys()].forEach(function(n){let s=B(n,"entity");A.set(n,s);let o=t.append("g").attr("id",s);a=void 0===a?s:a;let l="text-"+s,c=o.append("text").classed("er entityLabel",!0).attr("id",l).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.nV)().fontFamily).style("font-size",M.fontSize+"px").text(e.get(n).alias??n),{width:h,height:d}=I(o,c,e.get(n).attributes),u=o.insert("rect","#"+l).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",d).node().getBBox();r.setNode(s,{width:u.width,height:u.height,shape:"rect",id:s})}),a},"drawEntities"),v=(0,i.eW)(function(t,e){e.nodes().forEach(function(r){void 0!==r&&void 0!==e.node(r)&&t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")})},"adjustEntities"),D=(0,i.eW)(function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},"getEdgeName"),$=(0,i.eW)(function(t,e){return t.forEach(function(t){e.setEdge(A.get(t.entityA),A.get(t.entityB),{relationship:t},D(t))}),t},"addRelationships"),W=0,L=(0,i.eW)(function(t,e,r,a,n){W++;let o=r.edge(A.get(e.entityA),A.get(e.entityB),D(e)),l=(0,s.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(s.$0Z),c=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",l(o.points)).style("stroke",M.stroke).style("fill","none");e.relSpec.relType===n.db.Identification.NON_IDENTIFYING&&c.attr("stroke-dasharray","8,8");let h="";switch(M.arrowMarkerAbsolute&&(h=(h=(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),e.relSpec.cardA){case n.db.Cardinality.ZERO_OR_ONE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ZERO_OR_ONE_END+")");break;case n.db.Cardinality.ZERO_OR_MORE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ZERO_OR_MORE_END+")");break;case n.db.Cardinality.ONE_OR_MORE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ONE_OR_MORE_END+")");break;case n.db.Cardinality.ONLY_ONE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ONLY_ONE_END+")");break;case n.db.Cardinality.MD_PARENT:c.attr("marker-end","url("+h+"#"+x.ERMarkers.MD_PARENT_END+")")}switch(e.relSpec.cardB){case n.db.Cardinality.ZERO_OR_ONE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ZERO_OR_ONE_START+")");break;case n.db.Cardinality.ZERO_OR_MORE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ZERO_OR_MORE_START+")");break;case n.db.Cardinality.ONE_OR_MORE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ONE_OR_MORE_START+")");break;case n.db.Cardinality.ONLY_ONE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ONLY_ONE_START+")");break;case n.db.Cardinality.MD_PARENT:c.attr("marker-start","url("+h+"#"+x.ERMarkers.MD_PARENT_START+")")}let d=c.node().getTotalLength(),u=c.node().getPointAtLength(.5*d),y="rel"+W,p=e.roleA.split(/<br ?\/>/g),_=t.append("text").classed("er relationshipLabel",!0).attr("id",y).attr("x",u.x).attr("y",u.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.nV)().fontFamily).style("font-size",M.fontSize+"px");if(1==p.length)_.text(e.roleA);else{let t=-(.5*(p.length-1));p.forEach((e,r)=>{_.append("tspan").attr("x",u.x).attr("dy",`${0===r?t:1}em`).text(e)})}let f=_.node().getBBox();t.insert("rect","#"+y).classed("er relationshipLabelBox",!0).attr("x",u.x-f.width/2).attr("y",u.y-f.height/2).attr("width",f.width).attr("height",f.height)},"drawRelationshipFromLayout"),C=(0,i.eW)(function(t,e,r,l){let c,h;M=(0,i.nV)().er,i.cM.info("Drawing ER diagram");let d=(0,i.nV)().securityLevel;"sandbox"===d&&(c=(0,s.Ys)("#i"+e));let u=("sandbox"===d?(0,s.Ys)(c.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select(`[id='${e}']`);x.insertMarkers(u,M),h=new n.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:M.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let y=S(u,l.db.getEntities(),h),p=$(l.db.getRelationships(),h);(0,o.bK)(h),v(u,h),p.forEach(function(t){L(u,t,h,y,l)});let _=M.diagramPadding;a.w8.insertTitle(u,"entityTitleText",M.titleTopMargin,l.db.getDiagramTitle());let f=u.node().getBBox(),E=f.width+2*_,g=f.height+2*_;(0,i.v2)(u,g,E,M.useMaxWidth),u.attr("viewBox",`${f.x-_} ${f.y-_} ${E} ${g}`)},"draw");function B(t="",e=""){let r=t.replace(T,"");return`${Y(e)}${Y(r)}${u(t,"28e9f9db-3c8d-5aa5-9faf-44286ae5937c")}`}function Y(t=""){return t.length>0?`${t}-`:""}(0,i.eW)(B,"generateId"),(0,i.eW)(Y,"strWithHyphen");var P=(0,i.eW)(t=>` + .entityBox { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + } + + .attributeBoxOdd { + fill: ${t.attributeBackgroundColorOdd}; + stroke: ${t.nodeBorder}; + } + + .attributeBoxEven { + fill: ${t.attributeBackgroundColorEven}; + stroke: ${t.nodeBorder}; + } + + .relationshipLabelBox { + fill: ${t.tertiaryColor}; + opacity: 0.7; + background-color: ${t.tertiaryColor}; + rect { + opacity: 0.5; + } + } + + .relationshipLine { + stroke: ${t.lineColor}; + } + + .entityTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } + #MD_PARENT_START { + fill: #f5f5f5 !important; + stroke: ${t.lineColor} !important; + stroke-width: 1; + } + #MD_PARENT_END { + fill: #f5f5f5 !important; + stroke: ${t.lineColor} !important; + stroke-width: 1; + } + +`,"getStyles"),Z={parser:y,db:k,renderer:{setConf:w,draw:C},styles:P}}}]); \ No newline at end of file diff --git a/assets/js/9990.85fe3b52.js b/assets/js/9990.85fe3b52.js new file mode 100644 index 0000000..46dc739 --- /dev/null +++ b/assets/js/9990.85fe3b52.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9990"],{74802:function(n,e,u){u.d(e,{Z:function(){return s}});let s=u(31336)},47936:function(){}}]); \ No newline at end of file diff --git a/assets/js/a7456010.aa2fcbf9.js b/assets/js/a7456010.aa2fcbf9.js new file mode 100644 index 0000000..950d19f --- /dev/null +++ b/assets/js/a7456010.aa2fcbf9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7365"],{62050:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/a7bd4aaa.8577d8fc.js b/assets/js/a7bd4aaa.8577d8fc.js new file mode 100644 index 0000000..aad2964 --- /dev/null +++ b/assets/js/a7bd4aaa.8577d8fc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5211"],{58688:function(n,e,s){s.r(e),s.d(e,{default:()=>u});var r=s("85893");s("67294");var t=s("14713"),i=s("68529"),o=s("18790"),c=s("84315");function a(n){var e,s;let{version:i}=n;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{version:i.version,tag:(e=i.pluginId,s=i.version,`docs-${e}-${s}`)}),(0,r.jsx)(t.d,{children:i.noIndex&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(n){let{version:e,route:s}=n;return(0,r.jsx)(t.FG,{className:e.className,children:(0,r.jsx)(i.q,{version:e,children:(0,o.H)(s.routes)})})}function u(n){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a,{...n}),(0,r.jsx)(l,{...n})]})}}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.f3460f41.js b/assets/js/a94703ab.f3460f41.js new file mode 100644 index 0000000..ddbc127 --- /dev/null +++ b/assets/js/a94703ab.f3460f41.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9914"],{32001:function(e,t,n){n.r(t),n.d(t,{default:()=>ec});var a=n("85893"),i=n("67294"),r=n("67026"),l=n("14713"),o=n("84681"),s=n("69369"),d=n("85609"),c=n("96025"),u=n("69599"),m=n("10346");let b={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function h(){let{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e,[n,a]=(0,i.useState)(!1),r=(0,i.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,u.Ct)();return(0,u.RF)((e,n)=>{let{scrollY:i}=e,l=n?.scrollY;if(!!l)r.current?r.current=!1:i>=l?(o(),a(!1)):i<t?a(!1):i+window.innerHeight<document.documentElement.scrollHeight&&a(!0)}),(0,m.S)(e=>{e.location.hash&&(r.current=!0,a(!1))}),{shown:n,scrollToTop:()=>l(0)}}({threshold:300});return(0,a.jsx)("button",{"aria-label":(0,c.translate)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,r.Z)("clean-btn",o.k.common.backToTopButton,b.backToTopButton,e&&b.backToTopButtonShow),type:"button",onClick:t})}var p=n("17504"),x=n("16550"),f=n("54704"),j=n("30140"),_=n("44987");function k(e){return(0,a.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,a.jsxs)("g",{fill:"#7a7a7a",children:[(0,a.jsx)("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"}),(0,a.jsx)("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"})]})})}let g="collapseSidebarButton_PEFL",v="collapseSidebarButtonIcon_kv0_";function S(e){let{onClick:t}=e;return(0,a.jsx)("button",{type:"button",title:(0,c.translate)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.translate)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,r.Z)("button button--secondary button--outline",g),onClick:t,children:(0,a.jsx)(k,{className:v})})}var C=n("22093"),N=n("85346");let T=Symbol("EmptyContext"),I=i.createContext(T);function L(e){let{children:t}=e,[n,r]=(0,i.useState)(null),l=(0,i.useMemo)(()=>({expandedItem:n,setExpandedItem:r}),[n]);return(0,a.jsx)(I.Provider,{value:l,children:t})}var Z=n("57455"),y=n("79246"),B=n("83012"),A=n("7227");function w(e){let{collapsed:t,categoryLabel:n,onClick:i}=e;return(0,a.jsx)("button",{"aria-label":t?(0,c.translate)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.translate)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),"aria-expanded":!t,type:"button",className:"clean-btn menu__caret",onClick:i})}function H(e){let{item:t,onItemClick:n,activePath:l,level:d,index:c,...u}=e,{items:m,label:b,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),_=function(e){let t=(0,A.Z)();return(0,i.useMemo)(()=>{if(e.href&&!e.linkUnlisted)return e.href;if(!t&&!!e.collapsible)return(0,s.LM)(e)},[e,t])}(t),k=(0,s._F)(t,l),g=(0,y.Mg)(x,l),{collapsed:v,setCollapsed:S}=(0,Z.u)({initialState:()=>!!h&&!k&&t.collapsed}),{expandedItem:C,setExpandedItem:L}=function(){let e=(0,i.useContext)(I);if(e===T)throw new N.i6("DocSidebarItemsExpandedStateProvider");return e}(),H=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!v;L(e?null:c),S(e)};return!function(e){let{isActive:t,collapsed:n,updateCollapsed:a}=e,r=(0,N.D9)(t);(0,i.useEffect)(()=>{t&&!r&&n&&a(!1)},[t,r,n,a])}({isActive:k,collapsed:v,updateCollapsed:H}),(0,i.useEffect)(()=>{h&&null!=C&&C!==c&&f&&S(!0)},[h,C,c,S,f]),(0,a.jsxs)("li",{className:(0,r.Z)(o.k.docs.docSidebarItemCategory,o.k.docs.docSidebarItemCategoryLevel(d),"menu__list-item",{"menu__list-item--collapsed":v},p),children:[(0,a.jsxs)("div",{className:(0,r.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":g}),children:[(0,a.jsx)(B.Z,{className:(0,r.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{n?.(t),x?H(!1):(e.preventDefault(),H())}:()=>{n?.(t)},"aria-current":g?"page":void 0,role:h&&!x?"button":void 0,"aria-expanded":h&&!x?!v:void 0,href:h?_??"#":_,...u,children:b}),x&&h&&(0,a.jsx)(w,{collapsed:v,categoryLabel:b,onClick:e=>{e.preventDefault(),H()}})]}),(0,a.jsx)(Z.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:v,children:(0,a.jsx)(V,{items:m,tabIndex:v?-1:0,onItemClick:n,activePath:l,level:d+1})})]})}var E=n("63150"),M=n("62425");let W={menuExternalLink:"menuExternalLink_NmtK"};function F(e){let{item:t,onItemClick:n,activePath:i,level:l,index:d,...c}=e,{href:u,label:m,className:b,autoAddBaseUrl:h}=t,p=(0,s._F)(t,i),x=(0,E.Z)(u);return(0,a.jsx)("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(l),"menu__list-item",b),children:(0,a.jsxs)(B.Z,{className:(0,r.Z)("menu__link",!x&&W.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:u,...x&&{onClick:n?()=>n(t):void 0},...c,children:[m,!x&&(0,a.jsx)(M.Z,{})]})},m)}let R={menuHtmlItem:"menuHtmlItem_M9Kj"};function D(e){let{item:t,level:n,index:i}=e,{value:l,defaultStyle:s,className:d}=t;return(0,a.jsx)("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(n),s&&[R.menuHtmlItem,"menu__list-item"],d),dangerouslySetInnerHTML:{__html:l}},i)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,a.jsx)(H,{item:t,...n});case"html":return(0,a.jsx)(D,{item:t,...n});default:return(0,a.jsx)(F,{item:t,...n})}}let V=(0,i.memo)(function(e){let{items:t,...n}=e,i=(0,s.f)(t,n.activePath);return(0,a.jsx)(L,{children:i.map((e,t)=>(0,a.jsx)(P,{item:e,index:t,...n},t))})}),U={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function K(e){let{path:t,sidebar:n,className:l}=e,s=function(){let{isActive:e}=(0,C.n)(),[t,n]=(0,i.useState)(e);return(0,u.RF)(t=>{let{scrollY:a}=t;e&&n(0===a)},[e]),e&&t}();return(0,a.jsx)("nav",{"aria-label":(0,c.translate)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,r.Z)("menu thin-scrollbar",U.menu,s&&U.menuWithAnnouncementBar,l),children:(0,a.jsx)("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:n,activePath:t,level:1})})})}let z={sidebar:"sidebar_njMd",sidebarWithHideableNavbar:"sidebarWithHideableNavbar_wUlq",sidebarHidden:"sidebarHidden_VK0M",sidebarLogo:"sidebarLogo_isFc"},G=i.memo(function(e){let{path:t,sidebar:n,onCollapse:i,isHidden:l}=e,{navbar:{hideOnScroll:o},docs:{sidebar:{hideable:s}}}=(0,j.L)();return(0,a.jsxs)("div",{className:(0,r.Z)(z.sidebar,o&&z.sidebarWithHideableNavbar,l&&z.sidebarHidden),children:[o&&(0,a.jsx)(_.Z,{tabIndex:-1,className:z.sidebarLogo}),(0,a.jsx)(K,{path:t,sidebar:n}),s&&(0,a.jsx)(S,{onClick:i})]})});var Y=n("11179"),q=n("71915");let J=e=>{let{sidebar:t,path:n}=e,i=(0,q.e)();return(0,a.jsx)("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&i.toggle(),"link"===e.type&&i.toggle()},level:1})})},O=i.memo(function(e){return(0,a.jsx)(Y.Zo,{component:J,props:e})});function Q(e){let t=(0,f.i)();return(0,a.jsxs)(a.Fragment,{children:[("desktop"===t||"ssr"===t)&&(0,a.jsx)(G,{...e}),"mobile"===t&&(0,a.jsx)(O,{...e})]})}let X="expandButton_TmdG",$="expandButtonIcon_i1dp";function ee(e){let{toggleSidebar:t}=e;return(0,a.jsx)("div",{className:X,title:(0,c.translate)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.translate)({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,children:(0,a.jsx)(k,{className:$})})}let et={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function en(e){let{children:t}=e,n=(0,d.V)();return(0,a.jsx)(i.Fragment,{children:t},n?.name??"noSidebar")}function ea(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:l}=e,{pathname:s}=(0,x.TH)(),[d,c]=(0,i.useState)(!1),u=(0,i.useCallback)(()=>{d&&c(!1),!d&&(0,p.n)()&&c(!0),l(e=>!e)},[l,d]);return(0,a.jsx)("aside",{className:(0,r.Z)(o.k.docs.docSidebarContainer,et.docSidebarContainer,n&&et.docSidebarContainerHidden),onTransitionEnd:e=>{if(!!e.currentTarget.classList.contains(et.docSidebarContainer))n&&c(!0)},children:(0,a.jsx)(en,{children:(0,a.jsxs)("div",{className:(0,r.Z)(et.sidebarViewport,d&&et.sidebarViewportHidden),children:[(0,a.jsx)(Q,{sidebar:t,path:s,onCollapse:u,isHidden:d}),d&&(0,a.jsx)(ee,{toggleSidebar:u})]})})})}let ei={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function er(e){let{hiddenSidebarContainer:t,children:n}=e,i=(0,d.V)();return(0,a.jsx)("main",{className:(0,r.Z)(ei.docMainContainer,(t||!i)&&ei.docMainContainerEnhanced),children:(0,a.jsx)("div",{className:(0,r.Z)("container padding-top--md padding-bottom--lg",ei.docItemWrapper,t&&ei.docItemWrapperEnhanced),children:n})})}let el="docRoot_UBD9",eo="docsWrapper_hBAB";function es(e){let{children:t}=e,n=(0,d.V)(),[r,l]=(0,i.useState)(!1);return(0,a.jsxs)("div",{className:eo,children:[(0,a.jsx)(h,{}),(0,a.jsxs)("div",{className:el,children:[n&&(0,a.jsx)(ea,{sidebar:n.items,hiddenSidebarContainer:r,setHiddenSidebarContainer:l}),(0,a.jsx)(er,{hiddenSidebarContainer:r,children:t})]})]})}var ed=n("74593");function ec(e){let t=(0,s.SN)(e);if(!t)return(0,a.jsx)(ed.Z,{});let{docElement:n,sidebarName:i,sidebarItems:c}=t;return(0,a.jsx)(l.FG,{className:(0,r.Z)(o.k.page.docsDocPage),children:(0,a.jsx)(d.b,{name:i,items:c,children:(0,a.jsx)(es,{children:n})})})}},74593:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(85893);n(67294);var i=n(67026),r=n(96025),l=n(34403);function o(e){let{className:t}=e;return(0,a.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,a.jsx)(l.Z,{as:"h1",className:"hero__title",children:(0,a.jsx)(r.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"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/aba21aa0.5546b266.js b/assets/js/aba21aa0.5546b266.js new file mode 100644 index 0000000..02a12e1 --- /dev/null +++ b/assets/js/aba21aa0.5546b266.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5112"],{42418:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/b06371b7.150d68b6.js b/assets/js/b06371b7.150d68b6.js new file mode 100644 index 0000000..bb3a9f1 --- /dev/null +++ b/assets/js/b06371b7.150d68b6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3811"],{4809:function(e,t,i){i.r(t),i.d(t,{metadata:()=>n,contentTitle:()=>o,default:()=>h,assets:()=>d,toc:()=>c,frontMatter:()=>a});var n=JSON.parse('{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","source":"@site/docs/intro/terminology.md","sourceDirName":"intro","slug":"/intro/terminology","permalink":"/nr-pies/docs/intro/terminology","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/intro/terminology.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732822808000,"frontMatter":{"id":"terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","tags":["business","developer"]},"sidebar":"docSidebar","previous":{"title":"Getting Started","permalink":"/nr-pies/docs/intro/getting_started"},"next":{"title":"Formatting","permalink":"/nr-pies/docs/spec/formatting"}}'),s=i("85893"),r=i("50065");let a={id:"terminology",title:"Terminology",description:"The definitions of specific technical terms and concepts used in PIES",tags:["business","developer"]},o=void 0,d={},c=[{value:"Acronyms",id:"acronyms",level:2},{value:"Concepts",id:"concepts",level:2},{value:"Actors",id:"actors",level:3},{value:"Definitions",id:"definitions",level:3},{value:"Process Tracking",id:"process-tracking",level:3},{value:"Structure",id:"structure",level:2}];function l(e){let t={h2:"h2",h3:"h3",mermaid:"mermaid",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"This page provides an overview and guide to the PIES resources, operations and concepts used for representing and\ncommunicating coded, structured data within this specification. Collectively, these concepts are used to provide a\ncommon definition and framework for traversing the coded concepts within PIES."}),"\n",(0,s.jsx)(t.h2,{id:"acronyms",children:"Acronyms"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Term"}),(0,s.jsx)(t.th,{children:"Definition"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"LOB"}),(0,s.jsx)(t.td,{children:"Line of Business"})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"concepts",children:"Concepts"}),"\n",(0,s.jsx)(t.p,{children:"The following terms outline the main concepts used within this specification and aim to provide a common lexicon for\nunderstanding and terminology usage."}),"\n",(0,s.jsx)(t.h3,{id:"actors",children:"Actors"}),"\n",(0,s.jsx)(t.p,{children:"This section discusses the various roles that a person, group or an organization may act as within the context of PIES."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Term"}),(0,s.jsx)(t.th,{children:"Definition"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Applicant"}),(0,s.jsx)(t.td,{children:"A person, group or organization seeking an authorization to perform a set of activities."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Decision Maker"}),(0,s.jsx)(t.td,{children:"A statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Facilitator"}),(0,s.jsx)(t.td,{children:"An established role which focuses on delivering dedicated support to applicants on application submissions."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Interested Party"}),(0,s.jsx)(t.td,{children:"A person, or group which may be impacted by an authorization decision."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Local Government"}),(0,s.jsx)(t.td,{children:"A Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Navigator"}),(0,s.jsx)(t.td,{children:"A synonym for a facilitator."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Proponent"}),(0,s.jsx)(t.td,{children:"A synonym for an applicant."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Referral Agency"}),(0,s.jsx)(t.td,{children:"A provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Subject Matter Expert"}),(0,s.jsx)(t.td,{children:"A subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy."})]})]})]}),"\n",(0,s.jsx)(t.h3,{id:"definitions",children:"Definitions"}),"\n",(0,s.jsx)(t.p,{children:"This section outlines the definitions and common vocabulary used for representing specific concepts within PIES."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Term"}),(0,s.jsx)(t.th,{children:"Definition"}),(0,s.jsx)(t.th,{children:"???"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Activity"}),(0,s.jsx)(t.td,{children:"A specific singular defined intent of action within an area of intent as defined by a referral agency. An activity may require one or more authorizations, e.g., a housing development project. An activity may be associated with a project."}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Activity Bundling"}),(0,s.jsx)(t.td,{children:"The act of identifying the set of permits required for a certain activity."}),(0,s.jsx)(t.td,{children:"This should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Application"}),(0,s.jsx)(t.td,{children:"A submitted form(s) with the intent to obtain or amend an authorization."}),(0,s.jsx)(t.td,{children:"This might be getting muddled with the concept of a project."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Area of Intent"}),(0,s.jsx)(t.td,{children:"A set of one or more parcels which define the location(s) an activity is to be performed."}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Authorization"}),(0,s.jsx)(t.td,{children:"The act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title."}),(0,s.jsx)(t.td,{children:"We might need to expand this definition over time as this is the formal umbrella term for many things."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Caseload"}),(0,s.jsx)(t.td,{children:"Work happening with the LOB to facilitate, capture and maintain a permit."}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Disposition"}),(0,s.jsx)(t.td,{children:"The final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state."}),(0,s.jsx)(t.td,{children:"First attempt at defining - needs review"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Parcel"}),(0,s.jsx)(t.td,{children:"A polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions."}),(0,s.jsx)(t.td,{children:"Rephrased from LTSA page"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Permit"}),(0,s.jsx)(t.td,{children:"An official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization."}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Project"}),(0,s.jsx)(t.td,{children:"An optional set of one or more activities as defined by an applicant."}),(0,s.jsx)(t.td,{})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Submission"}),(0,s.jsx)(t.td,{children:"The completed output of a single form as answered by an applicant."}),(0,s.jsx)(t.td,{children:'Add a note like "Submissions require an adjective declaring their application context"?'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Workload"}),(0,s.jsx)(t.td,{children:"A quantifiable measurement of the number of client-driven applications in the queue."}),(0,s.jsx)(t.td,{})]})]})]}),"\n",(0,s.jsx)(t.p,{children:"The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they\ninteract with specific parts of the process."}),"\n",(0,s.jsx)(t.mermaid,{value:'---\ntitle: Actor-Process Workflow\n---\n%% v11 broke and made all links have arrow heads\n%% Ref: https://github.com/mermaid-js/mermaid/issues/5813\nflowchart TB\n Activity@{ shape: dbl-circ }\n Applicant@{ shape: stadium }\n AOI@{ shape: rect, label: "Area of\n Interest" }\n DM@{ shape: stadium, label: "Decision\n Maker" }\n Facilitator@{ shape: stadium }\n IP@{ shape: stadium, label: "Interested\n Party" }\n Issues@{ shape: diamond }\n LG@{ shape: stadium, label: "Local\n Government" }\n Parcel@{ shape: docs }\n Permit@{ shape: docs }\n SME@{ shape: stadium, label: "Subject\n Matter Expert" }\n Submission@{ shape: docs }\n\n Activity ==>|Within an| AOI\n AOI ---|Defined by| Parcel\n Applicant --\x3e|Seeking| Activity\n Applicant --\x3e|May define a| Project\n Applicant ==>|Completes an| Application\n Application --\x3e|Requesting for an| Authorization\n Application ==>|Notifies| RA & DM\n Authorization ==>|Grants permission for| Activity\n Authorization --\x3e|May impact| IP\n DM ==> Issues ==> Authorization\n DM <-..->|Communicates with| LG\n Facilitator -.->|Identifies| Authorization\n Facilitator -.->|Assists| Applicant\n Facilitator <-.->|Coordinates with| DM\n Facilitator <-.->|Works with| SME\n IP <-..->|Consults with| DM\n Parcel ---|Constrains an| Authorization\n Project --\x3e|Specifies one or more| Activity\n Project -.-|Associated with| Application\n SME -.->|Informs| DM\n\n subgraph Application\n Submission\n end\n subgraph Authorization\n Permit\n end\n subgraph RA[Referral Agency]\n DM\n Facilitator\n LG\n SME\n end'}),"\n",(0,s.jsx)(t.h3,{id:"process-tracking",children:"Process Tracking"}),"\n",(0,s.jsx)(t.p,{children:"This section outlines the definitions and common vocabulary used for representing specific concepts within a process."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Term"}),(0,s.jsx)(t.th,{children:"Definition"}),(0,s.jsx)(t.th,{children:"???"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Lifecycle"}),(0,s.jsx)(t.td,{children:"Represents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end."}),(0,s.jsx)(t.td,{children:'Highest level concept; answers the "why"'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Phase"}),(0,s.jsx)(t.td,{children:"A distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle."}),(0,s.jsx)(t.td,{children:"Defines an ordering of related stages."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Stage"}),(0,s.jsx)(t.td,{children:"A discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase."}),(0,s.jsx)(t.td,{children:"Provides an ordering of higher level states within a phase of work"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"State"}),(0,s.jsx)(t.td,{children:'A description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.'}),(0,s.jsx)(t.td,{children:'Larger general "where is this at" concept'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Status"}),(0,s.jsx)(t.td,{children:'A description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.'}),(0,s.jsx)(t.td,{children:'Detailed "what is happening now" concept'})]})]})]}),"\n",(0,s.jsx)(t.p,{children:"The following diagram outlines a high level categorization map between all of the process terms and how they relate to\neach other."}),"\n",(0,s.jsx)(t.mermaid,{value:"---\ntitle: Process Tracking Concept Map\n---\nflowchart LR\n Status@{ shape: processes }\n\n subgraph Lifecycle\n subgraph Phase\n subgraph Stage\n subgraph State\n Status\n end\n end\n end\n end\n"}),"\n",(0,s.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,s.jsx)(t.p,{children:"The following terms describe the structural definitions of the specification ordered from specific to general."}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Term"}),(0,s.jsx)(t.th,{children:"Definition"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Data Type"}),(0,s.jsx)(t.td,{children:"A primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Identifiers"}),(0,s.jsx)(t.td,{children:'Identifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Vocabulary"}),(0,s.jsx)(t.td,{children:'A vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher."'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Schema"}),(0,s.jsx)(t.td,{children:"A schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Format"}),(0,s.jsx)(t.td,{children:'The format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML.'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"API"}),(0,s.jsx)(t.td,{children:"An application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web."})]})]})]})]})}function h(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},50065:function(e,t,i){i.d(t,{Z:function(){return o},a:function(){return a}});var n=i(67294);let s={},r=n.createContext(s);function a(e){let t=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bb64f159.4ff23bc6.js b/assets/js/bb64f159.4ff23bc6.js new file mode 100644 index 0000000..28efc17 --- /dev/null +++ b/assets/js/bb64f159.4ff23bc6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["707"],{59437:function(e,t,s){s.r(t),s.d(t,{metadata:()=>n,contentTitle:()=>u,default:()=>v,assets:()=>m,toc:()=>f,frontMatter:()=>h});var n=JSON.parse('{"id":"spec/data/code","title":"Code","description":"A code type","source":"@site/docs/spec/data/code.mdx","sourceDirName":"spec/data","slug":"/spec/data/code","permalink":"/nr-pies/docs/spec/data/code","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/code.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"code","title":"Code","description":"A code type","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Data Types","permalink":"/nr-pies/docs/category/data-types"},"next":{"title":"Event","permalink":"/nr-pies/docs/spec/data/event"}}'),i=s("85893"),a=s("50065"),r=s("45056"),c=s("98477"),d=s.n(c),o=s("47902"),l=s("5525"),p=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/code.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Code","description":"Code Data Type","type":"string","pattern":"^[^\\\\s]+( [^\\\\s]+)*$"}');let h={id:"code",title:"Code",description:"A code type",tags:["developer"]},u=void 0,m={},f=[{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function g(e){let t={code:"code",h2:"h2",p:"p",...(0,a.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"Indicates that the value is taken from a set of controlled strings defined elsewhere. Technically, a code is restricted\nto a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace\nother than single spaces in the contents."}),"\n",(0,i.jsx)(t.p,{children:"This data type is intended to represent a finite set of controlled strings which represents a specific, discrete\nconcept, element or idea."}),"\n",(0,i.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,i.jsxs)(t.p,{children:["Type: ",(0,i.jsx)(t.code,{children:"string"})]}),"\n",(0,i.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,i.jsxs)(o.default,{queryString:"tab",children:[(0,i.jsx)(l.default,{value:"schema",label:"Schema",default:!0,children:(0,i.jsx)(d(),{schema:p,viewerOptions:{showExamples:!0}})}),(0,i.jsx)(l.default,{value:"source",label:"Source",children:(0,i.jsx)(r.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})]}),"\n",(0,i.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,i.jsx)(t.p,{children:"TBD"}),"\n",(0,i.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,i.jsx)(t.p,{children:"TBD"})]})}function v(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}}}]); \ No newline at end of file diff --git a/assets/js/c465dbe4.68e7ba7f.js b/assets/js/c465dbe4.68e7ba7f.js new file mode 100644 index 0000000..b3ea31f --- /dev/null +++ b/assets/js/c465dbe4.68e7ba7f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9201"],{51324:function(e,n,t){t.r(n),t.d(n,{metadata:()=>i,contentTitle:()=>a,default:()=>l,assets:()=>o,toc:()=>p,frontMatter:()=>r});var i=JSON.parse('{"id":"spec/concept/process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","source":"@site/docs/spec/concept/process_tracking.md","sourceDirName":"spec/concept","slug":"/spec/concept/process_tracking","permalink":"/nr-pies/docs/spec/concept/process_tracking","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/concept/process_tracking.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1733362480000,"frontMatter":{"id":"process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","tags":["business","developer"]},"sidebar":"docSidebar","previous":{"title":"Concept Maps","permalink":"/nr-pies/docs/category/concept-maps"},"next":{"title":"Data Types","permalink":"/nr-pies/docs/category/data-types"}}'),s=t("85893"),c=t("50065");let r={id:"process_tracking",title:"Process Tracking",description:"A conceptual hierarchy for tracking a common process.",tags:["business","developer"]},a=void 0,o={},p=[{value:"Classifications",id:"classifications",level:2},{value:"Concept Map",id:"concept-map",level:2},{value:"Code Sets",id:"code-sets",level:2},{value:"Type Descriptors",id:"type-descriptors",level:2}];function d(e){let n={a:"a",h2:"h2",mermaid:"mermaid",p:"p",...(0,c.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.p,{children:"This page outlines the conceptual hierarchy and terminology embeddings which can describe the tracking of a process."}),"\n",(0,s.jsx)(n.h2,{id:"classifications",children:"Classifications"}),"\n",(0,s.jsxs)(n.p,{children:["Refer to the ",(0,s.jsx)(n.a,{href:"/docs/intro/terminology#process-tracking",children:"Process Tracking Terminology"})," to understand the definitions\nbehind each classification level."]}),"\n",(0,s.jsx)(n.h2,{id:"concept-map",children:"Concept Map"}),"\n",(0,s.jsx)(n.mermaid,{value:'---\ntitle: Application Process Concept Hierarchy\n---\nflowchart LR\n AppType@{ shape: comment, label: "New\n Amendment\n Transfer\n Cancel" }\n\n Application --\x3e Screening\n Application --\x3e Submission\n Application --\x3e Review\n Application --\x3e Decision\n Application --\x3e Effect\n Application --\x3e AppType\n\n Submission --\x3e Draft\n Submission --\x3e Submitted\n Review --\x3e Assessment\n Review --\x3e OnHold\n Decision --\x3e Approved\n Decision --\x3e Declined\n Decision --\x3e Cancelled\n Decision --\x3e Abandoned\n Effect --\x3e Withdrawn\n Effect --\x3e Expired\n\n Assessment --\x3e UnderReview\n Assessment --\x3e InReferral\n Assessment --\x3e WithClient\n OnHold --\x3e Deferred\n OnHold --\x3e Paused\n Approved --\x3e Conditional\n Approved --\x3e Offered\n Approved --\x3e Issued\n\n State --\x3e Status\n\n subgraph Lifecycle\n Application\n end\n\n subgraph Type\n AppType\n end\n\n subgraph Phase\n Screening\n Submission\n Review\n Decision\n Effect\n end\n\n subgraph Stage\n Draft\n Submitted\n Assessment\n OnHold\n Approved\n Declined\n Cancelled\n Abandoned\n Withdrawn\n Expired\n end\n\n subgraph State\n UnderReview\n InReferral\n WithClient\n Deferred\n Paused\n Conditional\n Offered\n Issued\n end'}),"\n",(0,s.jsx)(n.mermaid,{value:'---\ntitle: Authorization Process Concept Hierarchy\n---\nflowchart LR\n AuthType@{ shape: comment, label: "Permit\n License\n Right\n Grant"}\n\n Authorization --\x3e Active\n Authorization --\x3e Inactive\n Authorization --\x3e Requested\n Authorization --\x3e Suspended\n Authorization --\x3e AuthType\n\n Phase --\x3e Status\n\n subgraph Lifecycle\n Authorization\n end\n\n subgraph Type\n AuthType\n end\n\n subgraph Phase\n Active\n Inactive\n Requested\n Suspended\n end'}),"\n",(0,s.jsx)(n.h2,{id:"code-sets",children:"Code Sets"}),"\n",(0,s.jsx)(n.p,{children:"Each classification within the context of a specific kind of lifecycle will have a codified and enumerated concept. TBD."}),"\n",(0,s.jsx)(n.h2,{id:"type-descriptors",children:"Type Descriptors"}),"\n",(0,s.jsx)(n.p,{children:"Each kind of lifecycle may be described by a type descriptor. For example, an application may be an amendment type, or\nit may be a transfer type. TBD"})]})}function l(e={}){let{wrapper:n}={...(0,c.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},50065:function(e,n,t){t.d(n,{Z:function(){return a},a:function(){return r}});var i=t(67294);let s={},c=i.createContext(s);function r(e){let n=i.useContext(c);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d4d6078f.89d8fe3f.js b/assets/js/d4d6078f.89d8fe3f.js new file mode 100644 index 0000000..eb8d5d8 --- /dev/null +++ b/assets/js/d4d6078f.89d8fe3f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4131"],{65285:function(e){e.exports=JSON.parse('{"tags":[{"label":"Business","permalink":"/nr-pies/docs/tags/business","description":"Content related to business cases and rationale","count":3},{"label":"Executive","permalink":"/nr-pies/docs/tags/executive","description":"Content related to policies and strategic alignment","count":1},{"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation","count":10}]}')}}]); \ No newline at end of file diff --git a/assets/js/d74d58d6.e0366968.js b/assets/js/d74d58d6.e0366968.js new file mode 100644 index 0000000..eb81dfa --- /dev/null +++ b/assets/js/d74d58d6.e0366968.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9417"],{15956:function(e,t,s){s.r(t),s.d(t,{metadata:()=>n,contentTitle:()=>p,default:()=>v,assets:()=>h,toc:()=>u,frontMatter:()=>l});var n=JSON.parse('{"id":"spec/resource/process_event","title":"Process Event","description":"Represents a process concept at a specific moment in time.","source":"@site/docs/spec/resource/process_event.mdx","sourceDirName":"spec/resource","slug":"/spec/resource/process_event","permalink":"/nr-pies/docs/spec/resource/process_event","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/resource/process_event.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732929006000,"frontMatter":{"id":"process_event","title":"Process Event","description":"Represents a process concept at a specific moment in time.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Resource Types","permalink":"/nr-pies/docs/category/resource-types"}}'),r=s("85893"),i=s("50065"),c=s("45056");s("98477");var a=s("47902"),o=s("5525"),d=JSON.parse('{"event":[{"start":"2017-01-01T00:00:00.000Z","end":"2017-01-02T00:00:00.000Z"},{"start":"2017-01-03T00:00:00.000Z"}],"process":{"class":"status","description":"The authorization request is under review by subject matter expert.","parent_class":"stage","parent_concept":"underreview","system":"http://bcgov.github.io/nr-pies/docs/concept/process_tracking","value":"pending review"}}');let l={id:"process_event",title:"Process Event",description:"Represents a process concept at a specific moment in time.",tags:["developer"]},p=void 0,h={},u=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function m(e){let t={a:"a",code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.p,{children:"Represents a process concept at a specific moment in time."}),"\n",(0,r.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,r.jsx)(t.p,{children:"This data type is intended to represent an instance of a temporal event within a defined process."}),"\n",(0,r.jsxs)(t.p,{children:["Loosely taking inspiration from ",(0,r.jsx)(t.a,{href:"https://www.hl7.org/fhir/datatypes.html#timing",children:"HL7 Timing"}),"."]}),"\n",(0,r.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Cardinality"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"TBD"}),(0,r.jsx)(t.td,{children:"1..1"}),(0,r.jsx)(t.td,{children:(0,r.jsx)(t.code,{children:"string"})}),(0,r.jsx)(t.td,{children:"TBD"})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,r.jsx)(a.default,{queryString:"tab",children:(0,r.jsx)(o.default,{value:"example",label:"Example",children:(0,r.jsx)(c.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(d,null,2)})})}),"\n",(0,r.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,r.jsx)(t.p,{children:"TBD"}),"\n",(0,r.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,r.jsx)(t.p,{children:"TBD"})]})}function v(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(m,{...e})}):m(e)}}}]); \ No newline at end of file diff --git a/assets/js/dea0bdbd.743f24fc.js b/assets/js/dea0bdbd.743f24fc.js new file mode 100644 index 0000000..f407be8 --- /dev/null +++ b/assets/js/dea0bdbd.743f24fc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["319"],{2302:function(e){e.exports=JSON.parse('{"tag":{"label":"Business","permalink":"/nr-pies/docs/tags/business","description":"Content related to business cases and rationale","allTagsPath":"/nr-pies/docs/tags","count":3,"items":[{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","permalink":"/nr-pies/docs/intro/getting_started"},{"id":"spec/concept/process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","permalink":"/nr-pies/docs/spec/concept/process_tracking"},{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","permalink":"/nr-pies/docs/intro/terminology"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/assets/js/df203c0f.f29e98af.js b/assets/js/df203c0f.f29e98af.js new file mode 100644 index 0000000..17e80ae --- /dev/null +++ b/assets/js/df203c0f.f29e98af.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["815"],{75094:function(e,n,t){t.d(n,{Z:()=>y});var i=t("85893"),l=t("67294"),r=t("67026"),a=t("96025"),s=t("84681");let o={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function c(e){let{type:n,className:t,children:l}=e;return(0,i.jsx)("div",{className:(0,r.Z)(s.k.common.admonition,s.k.common.admonitionType(n),o.admonition,t),children:l})}function d(e){let{icon:n,title:t}=e;return(0,i.jsxs)("div",{className:o.admonitionHeading,children:[(0,i.jsx)("span",{className:o.admonitionIcon,children:n}),t]})}function u(e){let{children:n}=e;return n?(0,i.jsx)("div",{className:o.admonitionContent,children:n}):null}function h(e){let{type:n,icon:t,title:l,children:r,className:a}=e;return(0,i.jsxs)(c,{type:n,className:a,children:[l||t?(0,i.jsx)(d,{title:l,icon:t}):null,(0,i.jsx)(u,{children:r})]})}let m={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function f(e){return(0,i.jsx)(h,{...m,...e,className:(0,r.Z)("alert alert--secondary",e.className),children:e.children})}let g={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function x(e){return(0,i.jsx)(h,{...g,...e,className:(0,r.Z)("alert alert--success",e.className),children:e.children})}let p={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function j(e){return(0,i.jsx)(h,{...p,...e,className:(0,r.Z)("alert alert--info",e.className),children:e.children})}function v(e){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,i.jsx)("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"})})}let b={icon:(0,i.jsx)(v,{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})},N={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})},w={icon:(0,i.jsx)(v,{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})},T={note:f,tip:x,info:j,warning:function(e){return(0,i.jsx)(h,{...b,...e,className:(0,r.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,i.jsx)(h,{...N,...e,className:(0,r.Z)("alert alert--danger",e.className),children:e.children})},secondary:e=>(0,i.jsx)(f,{title:"secondary",...e}),important:e=>(0,i.jsx)(j,{title:"important",...e}),success:e=>(0,i.jsx)(x,{title:"success",...e}),caution:function(e){return(0,i.jsx)(h,{...w,...e,className:(0,r.Z)("alert alert--warning",e.className),children:e.children})}};function y(e){let n=function(e){let{mdxAdmonitionTitle:n,rest:t}=function(e){let n=l.Children.toArray(e),t=n.find(e=>l.isValidElement(e)&&"mdxAdmonitionTitle"===e.type),r=n.filter(e=>e!==t);return{mdxAdmonitionTitle:t?.props.children,rest:r.length>0?(0,i.jsx)(i.Fragment,{children:r}):null}}(e.children),r=e.title??n;return{...e,...r&&{title:r},children:t}}(e),t=function(e){let n=T[e];return n?n:(console.warn(`No admonition component found for admonition type "${e}". Using Info as fallback.`),T.info)}(n.type);return(0,i.jsx)(t,{...n})}},15133:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(85893);t(67294);var l=t(67026),r=t(30202),a=t(84681),s=t(75094);function o(e){let{className:n}=e;return(0,i.jsx)(s.Z,{type:"caution",title:(0,i.jsx)(r.cI,{}),className:(0,l.Z)(n,a.k.common.unlistedBanner),children:(0,i.jsx)(r.eU,{})})}function c(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.T$,{}),(0,i.jsx)(o,{...e})]})}},58223:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});var i=t(85893);t(67294);var l=t(67026),r=t(83012),a=t(43115),s=t(14713),o=t(84681),c=t(96025),d=t(84315),u=t(15133),h=t(34403);function m(e){let{doc:n}=e;return(0,i.jsxs)("article",{className:"margin-vert--lg",children:[(0,i.jsx)(r.Z,{to:n.permalink,children:(0,i.jsx)(h.Z,{as:"h2",children:n.title})}),n.description&&(0,i.jsx)("p",{children:n.description})]})}function f(e){let{title:n,tag:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.d,{title:n,description:t.description}),(0,i.jsx)(d.Z,{tag:"doc_tag_doc_list"})]})}function g(e){let{tag:n,title:t}=e;return(0,i.jsx)(s.FG,{className:(0,l.Z)(o.k.page.docsTagDocListPage),children:(0,i.jsx)("div",{className:"container margin-vert--lg",children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("main",{className:"col col--8 col--offset-2",children:[n.unlisted&&(0,i.jsx)(u.Z,{}),(0,i.jsxs)("header",{className:"margin-bottom--xl",children:[(0,i.jsx)(h.Z,{as:"h1",children:t}),n.description&&(0,i.jsx)("p",{children:n.description}),(0,i.jsx)(r.Z,{href:n.allTagsPath,children:(0,i.jsx)(c.default,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View all tags"})})]}),(0,i.jsx)("section",{className:"margin-vert--lg",children:n.items.map(e=>(0,i.jsx)(m,{doc:e},e.id))})]})})})})}function x(e){let n=function(e){let n=function(){let{selectMessage:e}=(0,a.c)();return n=>e(n,(0,c.translate)({id:"theme.docs.tagDocListPageTitle.nDocsTagged",description:'Pluralized label for "{count} docs tagged". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One doc tagged|{count} docs tagged"},{count:n}))}();return(0,c.translate)({id:"theme.docs.tagDocListPageTitle",description:"The title of the page for a docs tag",message:'{nDocsTagged} with "{tagName}"'},{nDocsTagged:n(e.tag.count),tagName:e.tag.label})}(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f,{...e,title:n}),(0,i.jsx)(g,{...e,title:n})]})}},30202:function(e,n,t){t.d(n,{T$:function(){return o},cI:function(){return a},eU:function(){return s},ht:function(){return c},xo:function(){return d}});var i=t(85893);t(67294);var l=t(96025),r=t(94819);function a(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function s(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function o(){return(0,i.jsx)(r.Z,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function c(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function d(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}},43115:function(e,n,t){t.d(n,{c:function(){return o}});var i=t(67294),l=t(2933);let r=["zero","one","two","few","many","other"];function a(e){return r.filter(n=>e.includes(n))}let s={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function o(){let e=function(){let{i18n:{currentLocale:e}}=(0,l.Z)();return(0,i.useMemo)(()=>{try{return function(e){let n=new Intl.PluralRules(e);return{locale:e,pluralForms:a(n.resolvedOptions().pluralCategories),select:e=>n.select(e)}}(e)}catch(n){return console.error(`Failed to use Intl.PluralRules for locale "${e}". +Docusaurus will fallback to the default (English) implementation. +Error: ${n.message} +`),s}},[e])}();return{selectMessage:(n,t)=>(function(e,n,t){let i=e.split("|");if(1===i.length)return i[0];i.length>t.pluralForms.length&&console.error(`For locale=${t.locale}, a maximum of ${t.pluralForms.length} plural forms are expected (${t.pluralForms.join(",")}), but the message contains ${i.length}: ${e}`);let l=t.select(n);return i[Math.min(t.pluralForms.indexOf(l),i.length-1)]})(t,n,e)}}}}]); \ No newline at end of file diff --git a/assets/js/f45bb4b8.169e6d66.js b/assets/js/f45bb4b8.169e6d66.js new file mode 100644 index 0000000..f3ec971 --- /dev/null +++ b/assets/js/f45bb4b8.169e6d66.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1912"],{96526:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Concept Maps","description":"Concept Maps","slug":"/category/concept-maps","permalink":"/nr-pies/docs/category/concept-maps","sidebar":"docSidebar","navigation":{"previous":{"title":"Formatting","permalink":"/nr-pies/docs/spec/formatting"},"next":{"title":"Process Tracking","permalink":"/nr-pies/docs/spec/concept/process_tracking"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/fa6dc6d9.ddca0f36.js b/assets/js/fa6dc6d9.ddca0f36.js new file mode 100644 index 0000000..7a57f51 --- /dev/null +++ b/assets/js/fa6dc6d9.ddca0f36.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7376"],{9905:function(e,t,r){r.r(t),r.d(t,{metadata:()=>i,contentTitle:()=>j,default:()=>b,assets:()=>m,toc:()=>f,frontMatter:()=>u});var i=JSON.parse('{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","source":"@site/docs/spec/data/project_bundle.mdx","sourceDirName":"spec/data","slug":"/spec/data/project_bundle","permalink":"/nr-pies/docs/spec/data/project_bundle","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/project_bundle.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Process","permalink":"/nr-pies/docs/spec/data/process"},"next":{"title":"Primitive Types","permalink":"/nr-pies/docs/spec/primitive_types"}}'),s=r("85893"),n=r("50065"),a=r("45056"),o=r("98477"),c=r.n(o),d=r("47902"),l=r("5525"),p=JSON.parse('{"project_id":"c09d5aab-0f10-4727-a520-adbd57db084f","project_name":"The Hudson, Capitol Park","project_description":"project_description"}'),h=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/project_bundle.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Project Bundle","description":"An identifier for a specific area with clear boundaries.","type":"object","properties":{"project_id":{"type":"string","description":"A unique key to track all permits related to a project or activity across all permitting systems.","pattern":"/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i"},"project_name":{"type":"string","description":"Short name of the project."},"project_description":{"type":"string","description":"Full description of the project. This may contain information to better understand a project."}},"required":["project_id","project_name"]}');let u={id:"project_bundle",title:"Project Bundle",description:"A set of one or more permits related to an activity.",tags:["developer"]},j=void 0,m={},f=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function x(e){let t={code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"A set of one or more permits related to an activity."}),"\n",(0,s.jsx)(t.p,{children:"A project is defined by an activity with one or more permits. Grouping of a primary authorization with secondary or associated authorizations that are triggered or required by the primary authorization. For example: major mine permit (primary) and associated auxiliary (secondary) permits such as License to Cut, Water Use, and or Road Use."}),"\n",(0,s.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,s.jsx)(t.p,{children:"This data type is intended to represent a grouping of related permits that are related to a specific activity."}),"\n",(0,s.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Cardinality"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"project_id"}),(0,s.jsx)(t.td,{children:"1..1"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"uuid"})}),(0,s.jsx)(t.td,{children:"A unique key to track all permits related to a project or activity across all permitting systems."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"project_name"}),(0,s.jsx)(t.td,{children:"1..1"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"string"})}),(0,s.jsx)(t.td,{children:"Short name of the project."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"project_description"}),(0,s.jsx)(t.td,{children:"0..1"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"string"})}),(0,s.jsx)(t.td,{children:"Full description of the project. This may contain information to better understand a project."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,s.jsxs)(d.default,{queryString:"tab",children:[(0,s.jsx)(l.default,{value:"schema",label:"Schema",default:!0,children:(0,s.jsx)(c(),{schema:h,viewerOptions:{showExamples:!0}})}),(0,s.jsx)(l.default,{value:"source",label:"Source",children:(0,s.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(h,null,2)})}),(0,s.jsx)(l.default,{value:"example",label:"Example",children:(0,s.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})]}),"\n",(0,s.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,s.jsx)(t.p,{children:"TBD"}),"\n",(0,s.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,s.jsx)(t.p,{children:"TBD"})]})}function b(e={}){let{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/assets/js/fe557f77.04957e97.js b/assets/js/fe557f77.04957e97.js new file mode 100644 index 0000000..90880af --- /dev/null +++ b/assets/js/fe557f77.04957e97.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["249"],{15775:function(e,n,r){r.r(n),r.d(n,{metadata:()=>t,contentTitle:()=>i,default:()=>u,assets:()=>l,toc:()=>d,frontMatter:()=>o});var t=JSON.parse('{"id":"docusaurus/tutorial_extras/translate_your_site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","source":"@site/docs/docusaurus/tutorial_extras/translate_your_site.md","sourceDirName":"docusaurus/tutorial_extras","slug":"/docusaurus/tutorial_extras/translate_your_site","permalink":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_extras/translate_your_site.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Manage Docs Versions","permalink":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions"}}'),s=r("85893"),a=r("50065");let o={sidebar_position:2},i="Translate your site",l={},d=[{value:"Configure i18n",id:"configure-i18n",level:2},{value:"Translate a doc",id:"translate-a-doc",level:2},{value:"Start your localized site",id:"start-your-localized-site",level:2},{value:"Add a Locale Dropdown",id:"add-a-locale-dropdown",level:2},{value:"Build your localized site",id:"build-your-localized-site",level:2}];function c(e){let n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",header:"header",img:"img",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"translate-your-site",children:"Translate your site"})}),"\n",(0,s.jsxs)(n.p,{children:["Let's translate ",(0,s.jsx)(n.code,{children:"docs/intro.md"})," to French."]}),"\n",(0,s.jsx)(n.h2,{id:"configure-i18n",children:"Configure i18n"}),"\n",(0,s.jsxs)(n.p,{children:["Modify ",(0,s.jsx)(n.code,{children:"docusaurus.config.js"})," to add support for the ",(0,s.jsx)(n.code,{children:"fr"})," locale:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"export default {\n i18n: {\n defaultLocale: 'en',\n locales: ['en', 'fr'],\n },\n};\n"})}),"\n",(0,s.jsx)(n.h2,{id:"translate-a-doc",children:"Translate a doc"}),"\n",(0,s.jsxs)(n.p,{children:["Copy the ",(0,s.jsx)(n.code,{children:"docs/intro.md"})," file to the ",(0,s.jsx)(n.code,{children:"i18n/fr"})," folder:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/\n\ncp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md\n"})}),"\n",(0,s.jsxs)(n.p,{children:["Translate ",(0,s.jsx)(n.code,{children:"i18n/fr/docusaurus-plugin-content-docs/current/intro.md"})," in French."]}),"\n",(0,s.jsx)(n.h2,{id:"start-your-localized-site",children:"Start your localized site"}),"\n",(0,s.jsx)(n.p,{children:"Start your site on the French locale:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm run start -- --locale fr\n"})}),"\n",(0,s.jsxs)(n.p,{children:["Your localized site is accessible at ",(0,s.jsx)(n.a,{href:"http://localhost:3000/fr/",children:"http://localhost:3000/fr/"})," and the ",(0,s.jsx)(n.code,{children:"Getting Started"})," page is translated."]}),"\n",(0,s.jsx)(n.admonition,{type:"caution",children:(0,s.jsx)(n.p,{children:"In development, you can only use one locale at a time."})}),"\n",(0,s.jsx)(n.h2,{id:"add-a-locale-dropdown",children:"Add a Locale Dropdown"}),"\n",(0,s.jsx)(n.p,{children:"To navigate seamlessly across languages, add a locale dropdown."}),"\n",(0,s.jsxs)(n.p,{children:["Modify the ",(0,s.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'localeDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,s.jsx)(n.p,{children:"The locale dropdown now appears in your navbar:"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{alt:"Locale Dropdown",src:r(6750).Z+"",width:"370",height:"302"})}),"\n",(0,s.jsx)(n.h2,{id:"build-your-localized-site",children:"Build your localized site"}),"\n",(0,s.jsx)(n.p,{children:"Build your site for a specific locale:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm run build -- --locale fr\n"})}),"\n",(0,s.jsx)(n.p,{children:"Or build your site to include all the locales at once:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm run build\n"})})]})}function u(e={}){let{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},6750:function(e,n,r){r.d(n,{Z:function(){return t}});let t=r.p+"assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png"},50065:function(e,n,r){r.d(n,{Z:function(){return i},a:function(){return o}});var t=r(67294);let s={},a=t.createContext(s);function o(e){let n=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.e2c27c99.js b/assets/js/main.e2c27c99.js new file mode 100644 index 0000000..b6dda05 --- /dev/null +++ b/assets/js/main.e2c27c99.js @@ -0,0 +1,36 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6909"],{3601:function(e,t,n){"use strict";n.r(t)},17686:function(e,t,n){"use strict";n.r(t)},31381:function(e,t,n){"use strict";n.d(t,{PP:()=>j,Ep:()=>f,lX:()=>w,q_:()=>C,ob:()=>p});var r=n("16019");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()}let 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 h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n("21835");function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){var n,r;return(n=e,r=t,0===n.toLowerCase().indexOf(r.toLowerCase())&&-1!=="/?#".indexOf(n.charAt(r.length)))?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,l,s,u,c,d;if("string"==typeof e){;s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t}else 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(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}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 h(){var e=null,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=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var g=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function m(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t,n=window.history;var 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,x=i.getUserConfirmation,k=void 0===x?m:x,S=i.keyLength,_=void 0===S?6:S,E=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return E&&(o=c(o,E)),p(o,r,n)}function T(){return Math.random().toString(36).substr(2,_)}var j=h();function N(e){(0,r.Z)(B,e),B.length=n.length,j.notifyListeners(B.location,B.action)}function O(e){if(!(void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")))L(C(e.state))}function P(){L(C(v()))}var A=!1;function L(e){A?(A=!1,N()):j.confirmTransitionTo(e,"POP",k,function(t){t?N({action:"POP",location:e}):function(e){var t=B.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&&(A=!0,M(a))}(e)})}var R=C(v()),I=[R.key];function F(e){return E+f(e)}function M(e){n.go(e)}var D=0;function z(e){1===(D+=e)&&1===e?(window.addEventListener(y,O),o&&window.addEventListener(b,P)):0===D&&(window.removeEventListener(y,O),o&&window.removeEventListener(b,P))}var $=!1,B={length:n.length,action:"POP",location:R,createHref:F,push:function(e,t){var r="PUSH",o=p(e,t,T(),B.location);j.confirmTransitionTo(o,r,k,function(e){if(e){var t=F(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(B.location.key),u=I.slice(0,s+1);u.push(o.key),I=u,N({action:r,location:o})}}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",o=p(e,t,T(),B.location);j.confirmTransitionTo(o,r,k,function(e){if(e){var t=F(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(B.location.key);-1!==s&&(I[s]=o.key),N({action:r,location:o})}}else window.location.replace(t)}})},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return!$&&(z(1),$=!0),function(){return $&&($=!1,z(-1)),t()}},listen:function(e){var t=j.appendListener(e);return z(1),function(){z(-1),t()}}};return B}var x="hashchange",k={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 _(){var e=window.location.href,t=e.indexOf("#");return -1===t?"":e.substring(t+1)}function E(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t=window.history;window.navigator.userAgent.indexOf("Firefox");var n=e,a=n.getUserConfirmation,o=void 0===a?m:a,i=n.hashType,u=e.basename?d(s(e.basename)):"",y=k[void 0===i?"slash":i],b=y.encodePath,v=y.decodePath;function w(){var e=v(_());return u&&(e=c(e,u)),p(e)}var C=h();function T(e){(0,r.Z)(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var j=!1,N=null;function O(){var e=_(),t=b(e);if(e!==t)E(t);else{var n,r,a=w(),i=z.location;if(!j&&(n=i,r=a,n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash)||N===f(a))return;N=null,function(e){j?(j=!1,T()):C.confirmTransitionTo(e,"POP",o,function(t){t?T({action:"POP",location:e}):function(e){var t=z.location,n=R.lastIndexOf(f(t));-1===n&&(n=0);var r=R.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(j=!0,I(a))}(e)})}(a)}}var P=_(),A=b(P);P!==A&&E(A);var L=w(),R=[f(L)];function I(e){t.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?window.addEventListener(x,O):0===F&&window.removeEventListener(x,O)}var D=!1,z={length:t.length,action:"POP",location:L,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+b(u+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);if(_()!==a){N=t,o=a,window.location.hash=o;var o,i=R.lastIndexOf(f(z.location)),l=R.slice(0,i+1);l.push(t),R=l,T({action:n,location:r})}else T()}})},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);_()!==a&&(N=t,E(a));var o=R.indexOf(f(z.location));-1!==o&&(R[o]=t),T({action:n,location:r})}})},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return!D&&(M(1),D=!0),function(){return D&&(D=!1,M(-1)),t()}},listen:function(e){var t=C.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function T(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=t.keyLength,s=void 0===l?6:l,u=h();function c(e){(0,r.Z)(b,e),b.length=b.entries.length,u.notifyListeners(b.location,b.action)}function d(){return Math.random().toString(36).substr(2,s)}var g=T(void 0===i?0:i,0,o.length-1),m=o.map(function(e){return"string"==typeof e?p(e,void 0,d()):p(e,void 0,e.key||d())});function y(e){var t=T(b.index+e,0,b.entries.length-1),r=b.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?c({action:"POP",location:r,index:t}):c()})}var b={length:m.length,action:"POP",location:m[g],index:g,entries:m,createHref:f,push:function(e,t){var r="PUSH",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){if(e){var t=b.index+1,n=b.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),c({action:r,location:a,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){e&&(b.entries[b.index]=a,c({action:r,location:a}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t<b.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return b}},8679:function(e,t,n){"use strict";var r=n(59864),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,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),m=0;m<i.length;++m){var y=i[m];if(!o[y]&&!(r&&r[y])&&!(g&&g[y])&&!(l&&l[y])){var b=f(n,y);try{u(t,y,b)}catch(e){}}}}return t}},41143:function(e){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=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=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},813:function(e){var t,n;t=0,n=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=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},a=function(){function e(n){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=void 0,t=[];return void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):e=Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:e=[],e.forEach(function(e){var n=t.filter(function(t){return t.contains(e)}).length>0;-1===t.indexOf(e)&&!n&&t.push(e)}),t}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{!r.isIframeBlank(e)&&(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){!--r&&t()})},function(e){!e&&t()})}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),l=i.length,s=0;i=Array.prototype.slice.call(i);var u=function(){--l<=0&&o(s)};!l&&u(),i.forEach(function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,function(e){n(t)&&(s++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return(r.forEach(function(e,t){e.val===n&&(a=t,o=e.handled)}),this.compareNodeIframe(e,t,n))?(!1!==a||o?!1!==a&&!o&&(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach(function(e){!e.handled&&a.getIframeContents(e.val,function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){var o,i=this,l=this.createIterator(t,e,r),s=[],u=[],c=void 0,d=void 0;for(;d=(o=i.getIteratorNode(l)).prevNode,c=o.node;)this.iframes&&this.forEachIframe(t,function(e){return i.checkIframeFilter(c,d,e,s)},function(t){i.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(c);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;!i&&a(),o.forEach(function(o){var l=function(){r.iterateThroughNodes(e,o,t,n,function(){--i<=0&&a()})};r.iframes?r.waitForIframes(o,l):l()})}}],[{key:"matches",value:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!n)return!1;var r=!1;return("string"==typeof t?[t]:t).every(function(t){return!n.call(e,t)||(r=!0,!1)}),r}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;if(!!this.opt.debug)(void 0===r?"undefined":e(r))==="object"&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==l&&(e=e.replace(RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(l)+")","gm"+n),r+("("+this.processSynomyms(i))+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105","A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010D","C\xc7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119","E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012B","I\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014D","O\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016B","U\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xff","Y\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010DC\xc7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012BI\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014DO\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016BU\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xffY\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],r=[];return e.split("").forEach(function(a){n.every(function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,a="string"==typeof n?[]:n.limiters,o="";switch(a.forEach(function(e){o+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(o="\\s"+(o||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf")))+"]*"+e+"[^"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,l=parseInt(e.start,10)-i;return(r=(l=l>o?o:l)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),l<0||r-l<0||l>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every(function(i,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach(function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)}),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0})}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];){if(!!n(a[i],t)){var l=a.index;if(0!==i)for(var s=1;s<i;s++)l+=a[s].length;r((t=o.wrapRangeInTextNode(t,l,l+a[i].length)).previousSibling),e.lastIndex=0}}}),a()})}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){for(var l=void 0;null!==(l=e.exec(t.value))&&""!==l[i];){var s=l.index;if(0!==i)for(var u=1;u<i;u++)s+=l[u].length;var c=s+l[i].length;o.wrapRangeInMappedTextNode(t,s,c,function(e){return n(l[i],e)},function(t,n){e.lastIndex=n,r(t)})}a()})}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var a=this;this.getTextNodes(function(o){var i=o.value.length;e.forEach(function(e,r){var l=a.checkWhitespaceRanges(e,i,o.value),s=l.start,u=l.end;l.valid&&a.wrapRangeInMappedTextNode(o,s,u,function(n){return t(n,e,o.value.substring(s,u),r)},function(t){n(t,e)})}),r()})}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(!!e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,a="wrapMatches";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,function(e,t){return n.opt.filter(t,e,r)},function(e){r++,n.opt.each(e)},function(){0===r&&n.opt.noMatch(e),n.opt.done(r)})}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,a="wrapMatches",o=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=o.keywords,l=o.length,s=this.opt.caseSensitive?"":"i";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===l?this.opt.done(r):!function e(t){var o=RegExp(n.createRegExp(t),"gm"+s),u=0;n.log('Searching with expression "'+o+'"'),n[a](o,1,function(e,a){return n.opt.filter(a,t,r,u)},function(e){u++,r++,n.opt.each(e)},function(){0===u&&n.opt.noMatch(t),i[l-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])})}(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,function(e,t,r,a){return n.opt.filter(e,t,r,a)},function(e,t){r++,n.opt.each(e,t)},function(){n.opt.done(r)})):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(e){t.unwrapMatches(e)},function(e){var r=a.matches(e,n),o=t.matchesExclude(e);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new a(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();return function(e){var t=this,n=new o(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}},e.exports=n()},74865:function(e){var t,n;t=0,n=function(){var e,t,n,r={};r.version="0.2.0";var a=r.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 o(e,t,n){return e<t?t:e>n?n:e}function i(e){return(-1+e)*100}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();e=o(e,a.minimum,1),r.status=1===e?null:e;var n=r.render(!t),i=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,l(function(t){""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),s(i,function(e,t,n){var r;if("translate3d"===a.positionUsing)r={transform:"translate3d("+(-1+e)*100+"%,0,0)"};else if("translate"===a.positionUsing)r={transform:"translate("+(-1+e)*100+"%,0)"};else r={"margin-left":(-1+e)*100+"%"};return r.transition="all "+t+"ms "+n,r}(e,u,c)),1===e?(s(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){s(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){!r.status&&r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,o=t.querySelector(a.barSelector),i=e?"-100":function(e){return(-1+e)*100}(r.status||0),l=document.querySelector(a.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&p(n),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.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=(n=[],function(e){n.push(e),1==n.length&&!function e(){var t=n.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){r=function(n){return t[n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[n]=function(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}(n))}(r),n.style[r]=a}return function(e,t){var r,a,o=arguments;if(2==o.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,o[1],o[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 r},"function"==typeof define&&define.amd?define(n):e.exports=n()},14779:function(e,t,n){var r=n(5826);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=d;var a=RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var c=n[0],d=n[1],f=n.index;if(l+=e.slice(i,f),i=f+c.length,d){l+=d[1];continue}var p=e[i],h=n[2],g=n[3],m=n[4],y=n[5],b=n[6],v=n[7];l&&(r.push(l),l="");var w=null!=h&&null!=p&&p!==h,x="+"===b||"*"===b,k="?"===b||"*"===b,S=h||u,_=m||y,E=h||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||o++,prefix:h||"",delimiter:S,optional:k,repeat:x,partial:w,asterisk:!!v,pattern:_?function(e){return e.replace(/([=!:$\/()])/g,"\\$1")}(_):v?".*":function(e,t){return!t||t.indexOf(e)>-1?"[^"+s(e)+"]+?":s(t)+"|(?:(?!"+s(t)+")[^"+s(e)+"])+?"}(S,E)})}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=Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=RegExp("^(?:"+e[a].pattern+")$",c(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c,d=e[u];if("string"==typeof d){o+=d;continue}var f=l[d.name];if(null==f){if(d.optional){d.partial&&(o+=d.prefix);continue}throw TypeError('Expected "'+d.name+'" to be defined')}if(r(f)){if(!d.repeat)throw TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(d.optional)continue;throw TypeError('Expected "'+d.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(c=s(f[p]),!n[u].test(c))throw TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===p?d.prefix:d.delimiter)+c}continue}if(c=d.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):s(f),!n[u].test(c))throw TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+c+'"');o+=d.prefix+c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e,t){return e.keys=t,e}function c(e){return e&&e.sensitive?"":"i"}function d(e,t,n){!r(t)&&(n=t||n,t=[]);for(var a,o,i=(n=n||{}).strict,l=!1!==n.end,u="",d=0;d<e.length;d++){var f=e[d];if("string"==typeof f)u+=s(f);else{var p=s(f.prefix),h="(?:"+f.pattern+")";t.push(f),f.repeat&&(h+="(?:"+p+h+")*"),u+=h=f.optional?f.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var g=s(n.delimiter||"/"),m=u.slice(-g.length)===g;return!i&&(u=(m?u.slice(0,-g.length):u)+"(?:"+g+"(?=$))?"),l?u+="$":u+=i&&m?"":"(?="+g+"|$)",a=RegExp("^"+u,c(n)),o=t,a.keys=o,a}function f(e,t,n){var a,i,l;if(!r(t)&&(n=t||n,t=[]),n=n||{},e instanceof RegExp)return function(e,t){var n,r,a=e.source.match(/\((?!\?)/g);if(a)for(var o=0;o<a.length;o++)t.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return n=e,r=t,n.keys=r,n}(e,t);if(r(e))return function(e,t,n){for(var r,a,o=[],i=0;i<e.length;i++)o.push(f(e[i],t,n).source);return r=RegExp("(?:"+o.join("|")+")",c(n)),a=t,r.keys=a,r}(e,t,n);return a=e,i=t,d(o(a,l=n),i,l)}},96854:function(){!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),h=f.indexOf(p);if(h>-1){++a;var g=f.substring(0,h),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(h+p.length),b=[];g&&b.push.apply(b,i([g])),b.push(m),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},23099:function(){Prism.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}},70037:function(e,t,n){var r={"./prism-mermaid":"23099"};function a(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=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="70037"},92703:function(e,t,n){"use strict";var r=n(50414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=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}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64448:function(e,t,n){"use strict";var r,a,o,i,l,s,u=n(67294),c=n(63840);function d(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 f=new Set,p={};function h(e,t){g(e,t),g(e+"Capture",t)}function g(e,t){for(p[e]=t,e=0;e<t.length;e++)f.add(t[e])}var m=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),y=Object.prototype.hasOwnProperty,b=/^[: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]*$/,v={},w={};function x(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 k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new x(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];k[t]=new x(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new x(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new x(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){k[e]=new x(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new x(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new x(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new x(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new x(e,5,!1,e.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function _(e){return e[1].toUpperCase()}function E(e,t,n,r){var a,o=k.hasOwnProperty(t)?k[t]:null;if(null!==o?0!==o.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":if(r)return!1;if(null!==n)return!n.acceptsBooleans;return"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,o,r)&&(n=null),r||null===o?(a=t,(!!y.call(w,a)||!y.call(v,a)&&(b.test(a)?w[a]=!0:(v[a]=!0,!1)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!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(S,_);k[t]=new x(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(S,_);k[t]=new x(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(S,_);k[t]=new x(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new x(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new x(e,1,!1,e.toLowerCase(),null,!0,!0)});var C=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),j=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),L=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var $=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}var U,Z=Object.assign;function H(e){if(void 0===U)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var W=!1;function V(e,t){if(!e||W)return"";W=!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(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.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]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=G(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=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(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 X(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(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 ee(e,t){null!=(t=t.checked)&&E(e,"checked",t,!1)}function et(e,t){ee(e,t);var n=q(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){e.removeAttribute("value");return}t.hasOwnProperty("value")?er(e,t.type,n):t.hasOwnProperty("defaultValue")&&er(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function en(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 er(e,t,n){("number"!==t||K(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ea=Array.isArray;function eo(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(a=0,n=""+q(n),t=null;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function ei(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return Z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function el(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(d(92));if(ea(n)){if(1<n.length)throw Error(d(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function es(e,t){var n=q(t.value),r=q(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 eu(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ec(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 ed(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ec(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ef,ep,eh=(ef=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ep=ep||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ep.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 ef(e,t,n,r)})}:ef);function eg(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var em={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ey=["Webkit","ms","Moz","O"];function eb(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||em.hasOwnProperty(e)&&em[e]?(""+t).trim():t+"px"}function ev(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=eb(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(em).forEach(function(e){ey.forEach(function(t){em[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=em[e]})});var ew=Z({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 ex(e,t){if(t){if(ew[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function ek(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}}var eS=null;function e_(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eE=null,eC=null,eT=null;function ej(e){if(e=rF(e)){if("function"!=typeof eE)throw Error(d(280));var t=e.stateNode;t&&(t=rD(t),eE(e.stateNode,e.type,t))}}function eN(e){eC?eT?eT.push(e):eT=[e]:eC=e}function eO(){if(eC){var e=eC,t=eT;if(eT=eC=null,ej(e),t)for(e=0;e<t.length;e++)ej(t[e])}}function eP(e,t){return e(t)}function eA(){}var eL=!1;function eR(e,t,n){if(eL)return e(t,n);eL=!0;try{return eP(e,t,n)}finally{eL=!1,(null!==eC||null!==eT)&&(eA(),eO())}}function eI(e,t){var n=e.stateNode;if(null===n)return null;var r=rD(n);if(null===r)return null;switch(n=r[t],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;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(d(231,t,typeof n));return n}var eF=!1;if(m)try{var eM={};Object.defineProperty(eM,"passive",{get:function(){eF=!0}}),window.addEventListener("test",eM,eM),window.removeEventListener("test",eM,eM)}catch(e){eF=!1}function eD(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var ez=!1,e$=null,eB=!1,eU=null,eZ={onError:function(e){ez=!0,e$=e}};function eH(e,t,n,r,a,o,i,l,s){ez=!1,e$=null,eD.apply(eZ,arguments)}function eW(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function eV(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 eq(e){if(eW(e)!==e)throw Error(d(188))}function eG(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=eW(e)))throw Error(d(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 eq(a),e;if(o===r)return eq(a),t;o=o.sibling}throw Error(d(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i){for(l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i)throw Error(d(189))}}if(n.alternate!==r)throw Error(d(190))}if(3!==n.tag)throw Error(d(188));return n.stateNode.current===n?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var n=e(t);if(null!==n)return n;t=t.sibling}return null}(e):null}var eY=c.unstable_scheduleCallback,eQ=c.unstable_cancelCallback,eK=c.unstable_shouldYield,eX=c.unstable_requestPaint,eJ=c.unstable_now,e0=c.unstable_getCurrentPriorityLevel,e1=c.unstable_ImmediatePriority,e2=c.unstable_UserBlockingPriority,e3=c.unstable_NormalPriority,e4=c.unstable_LowPriority,e5=c.unstable_IdlePriority,e9=null,e6=null,e8=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e7(e)/te|0)|0},e7=Math.log,te=Math.LN2,tt=64,tn=4194304;function tr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function ta(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=0xfffffff&n;if(0!==i){var l=i&~a;0!==l?r=tr(l):0!=(o&=i)&&(r=tr(o))}else 0!=(i=n&~a)?r=tr(i):0!==o&&(r=tr(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-e8(t)),r|=e[n],t&=~a;return r}function to(e){return 0!=(e=-0x40000001&e.pendingLanes)?e:0x40000000&e?0x40000000:0}function ti(){var e=tt;return 0==(4194240&(tt<<=1))&&(tt=64),e}function tl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ts(e,t,n){e.pendingLanes|=t,0x20000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,e[t=31-e8(t)]=n}function tu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-e8(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var tc=0;function td(e){return 1<(e&=-e)?4<e?0!=(0xfffffff&e)?16:0x20000000:4:1}var tf,tp,th,tg,tm,ty=!1,tb=[],tv=null,tw=null,tx=null,tk=new Map,tS=new Map,t_=[],tE="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 tC(e,t){switch(e){case"focusin":case"focusout":tv=null;break;case"dragenter":case"dragleave":tw=null;break;case"mouseover":case"mouseout":tx=null;break;case"pointerover":case"pointerout":tk.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tS.delete(t.pointerId)}}function tT(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=rF(t))&&tp(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function tj(e){var t=rI(e.target);if(null!==t){var n=eW(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=eV(n))){e.blockedOn=t,tm(e.priority,function(){th(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tN(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=t$(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rF(n))&&tp(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);eS=r,n.target.dispatchEvent(r),eS=null;t.shift()}return!0}function tO(e,t,n){tN(e)&&n.delete(t)}function tP(){ty=!1,null!==tv&&tN(tv)&&(tv=null),null!==tw&&tN(tw)&&(tw=null),null!==tx&&tN(tx)&&(tx=null),tk.forEach(tO),tS.forEach(tO)}function tA(e,t){e.blockedOn===t&&(e.blockedOn=null,ty||(ty=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tP)))}function tL(e){function t(t){return tA(t,e)}if(0<tb.length){tA(tb[0],e);for(var n=1;n<tb.length;n++){var r=tb[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==tv&&tA(tv,e),null!==tw&&tA(tw,e),null!==tx&&tA(tx,e),tk.forEach(t),tS.forEach(t),n=0;n<t_.length;n++)(r=t_[n]).blockedOn===e&&(r.blockedOn=null);for(;0<t_.length&&null===(n=t_[0]).blockedOn;)tj(n),null===n.blockedOn&&t_.shift()}var tR=C.ReactCurrentBatchConfig,tI=!0;function tF(e,t,n,r){var a=tc,o=tR.transition;tR.transition=null;try{tc=1,tD(e,t,n,r)}finally{tc=a,tR.transition=o}}function tM(e,t,n,r){var a=tc,o=tR.transition;tR.transition=null;try{tc=4,tD(e,t,n,r)}finally{tc=a,tR.transition=o}}function tD(e,t,n,r){if(tI){var a=t$(e,t,n,r);if(null===a)rl(e,t,r,tz,n),tC(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return tv=tT(tv,e,t,n,r,a),!0;case"dragenter":return tw=tT(tw,e,t,n,r,a),!0;case"mouseover":return tx=tT(tx,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return tk.set(o,tT(tk.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,tS.set(o,tT(tS.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(tC(e,r),4&t&&-1<tE.indexOf(e)){for(;null!==a;){var o=rF(a);if(null!==o&&tf(o),null===(o=t$(e,t,n,r))&&rl(e,t,r,tz,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else rl(e,t,r,null,n)}}var tz=null;function t$(e,t,n,r){if(tz=null,null!==(e=rI(e=e_(r)))){if(null===(t=eW(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=eV(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return tz=e,null}function tB(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e0()){case e1:return 1;case e2:return 4;case e3:case e4:return 16;case e5:return 0x20000000;default:return 16}default:return 16}}var tU=null,tZ=null,tH=null;function tW(){if(tH)return tH;var e,t,n=tZ,r=n.length,a="value"in tU?tU.value:tU.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 tH=a.slice(e,1<t?1-t:void 0)}function tV(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 tq(){return!0}function tG(){return!1}function tY(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)?tq:tG,this.isPropagationStopped=tG,this}return Z(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=tq)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tq)},persist:function(){},isPersistent:tq}),t}var tQ,tK,tX,tJ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t0=tY(tJ),t1=Z({},tJ,{view:0,detail:0}),t2=tY(t1),t3=Z({},t1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:na,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!==tX&&(tX&&"mousemove"===e.type?(tQ=e.screenX-tX.screenX,tK=e.screenY-tX.screenY):tK=tQ=0,tX=e),tQ)},movementY:function(e){return"movementY"in e?e.movementY:tK}}),t4=tY(t3),t5=tY(Z({},t3,{dataTransfer:0})),t9=tY(Z({},t1,{relatedTarget:0})),t6=tY(Z({},tJ,{animationName:0,elapsedTime:0,pseudoElement:0})),t8=tY(Z({},tJ,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),t7=tY(Z({},tJ,{data:0})),ne={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nt={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"},nn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=nn[e])&&!!t[e]}function na(){return nr}var no=tY(Z({},t1,{key:function(e){if(e.key){var t=ne[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tV(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:na,charCode:function(e){return"keypress"===e.type?tV(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tV(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ni=tY(Z({},t3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nl=tY(Z({},t1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:na})),ns=tY(Z({},tJ,{propertyName:0,elapsedTime:0,pseudoElement:0})),nu=tY(Z({},t3,{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})),nc=[9,13,27,32],nd=m&&"CompositionEvent"in window,nf=null;m&&"documentMode"in document&&(nf=document.documentMode);var np=m&&"TextEvent"in window&&!nf,nh=m&&(!nd||nf&&8<nf&&11>=nf),ng=!1;function nm(e,t){switch(e){case"keyup":return -1!==nc.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ny(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nb=!1,nv={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 nw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nv[e.type]:"textarea"===t}function nx(e,t,n,r){eN(r),0<(t=ru(t,"onChange")).length&&(n=new t0("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nk=null,nS=null;function n_(e){rt(e,0)}function nE(e){if(Q(rM(e)))return e}function nC(e,t){if("change"===e)return t}var nT=!1;if(m){if(m){var nj="oninput"in document;if(!nj){var nN=document.createElement("div");nN.setAttribute("oninput","return;"),nj="function"==typeof nN.oninput}r=nj}else r=!1;nT=r&&(!document.documentMode||9<document.documentMode)}function nO(){nk&&(nk.detachEvent("onpropertychange",nP),nS=nk=null)}function nP(e){if("value"===e.propertyName&&nE(nS)){var t=[];nx(t,nS,e,e_(e)),eR(n_,t)}}function nA(e,t,n){"focusin"===e?(nO(),nk=t,nS=n,nk.attachEvent("onpropertychange",nP)):"focusout"===e&&nO()}function nL(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nE(nS)}function nR(e,t){if("click"===e)return nE(t)}function nI(e,t){if("input"===e||"change"===e)return nE(t)}var nF="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nM(e,t){if(nF(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++){var a=n[r];if(!y.call(t,a)||!nF(e[a],t[a]))return!1}return!0}function nD(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nz(e,t){var n,r=nD(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=nD(r)}}function n$(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=K(e.document)}return t}function nB(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 nU=m&&"documentMode"in document&&11>=document.documentMode,nZ=null,nH=null,nW=null,nV=!1;function nq(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nV||null==nZ||nZ!==K(r)||(r="selectionStart"in(r=nZ)&&nB(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nW&&nM(nW,r)||(nW=r,0<(r=ru(nH,"onSelect")).length&&(t=new t0("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nZ)))}function nG(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nY={animationend:nG("Animation","AnimationEnd"),animationiteration:nG("Animation","AnimationIteration"),animationstart:nG("Animation","AnimationStart"),transitionend:nG("Transition","TransitionEnd")},nQ={},nK={};function nX(e){if(nQ[e])return nQ[e];if(!nY[e])return e;var t,n=nY[e];for(t in n)if(n.hasOwnProperty(t)&&t in nK)return nQ[e]=n[t];return e}m&&(nK=document.createElement("div").style,"AnimationEvent"in window||(delete nY.animationend.animation,delete nY.animationiteration.animation,delete nY.animationstart.animation),"TransitionEvent"in window||delete nY.transitionend.transition);var nJ=nX("animationend"),n0=nX("animationiteration"),n1=nX("animationstart"),n2=nX("transitionend"),n3=new Map,n4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function n5(e,t){n3.set(e,t),h(t,[e])}for(var n9=0;n9<n4.length;n9++){var n6=n4[n9];n5(n6.toLowerCase(),"on"+(n6[0].toUpperCase()+n6.slice(1)))}n5(nJ,"onAnimationEnd"),n5(n0,"onAnimationIteration"),n5(n1,"onAnimationStart"),n5("dblclick","onDoubleClick"),n5("focusin","onFocus"),n5("focusout","onBlur"),n5(n2,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var n8="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),n7=new Set("cancel close invalid load scroll toggle".split(" ").concat(n8));function re(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,!function(e,t,n,r,a,o,i,l,s){if(eH.apply(this,arguments),ez){if(ez){var u=e$;ez=!1,e$=null}else throw Error(d(198));eB||(eB=!0,eU=u)}}(r,t,void 0,e),e.currentTarget=null}function rt(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;re(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;re(a,l,u),o=s}}}if(eB)throw e=eU,eB=!1,eU=null,e}function rn(e,t){var n=t[rA];void 0===n&&(n=t[rA]=new Set);var r=e+"__bubble";n.has(r)||(ri(t,e,2,!1),n.add(r))}function rr(e,t,n){var r=0;t&&(r|=4),ri(n,e,r,t)}var ra="_reactListening"+Math.random().toString(36).slice(2);function ro(e){if(!e[ra]){e[ra]=!0,f.forEach(function(t){"selectionchange"!==t&&(n7.has(t)||rr(t,!1,e),rr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ra]||(t[ra]=!0,rr("selectionchange",!1,t))}}function ri(e,t,n,r){switch(tB(t)){case 1:var a=tF;break;case 4:a=tM;break;default:a=tD}n=a.bind(null,t,n,e),a=void 0,eF&&("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 rl(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=rI(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}eR(function(){var r=o,a=e_(n),i=[];e:{var l=n3.get(e);if(void 0!==l){var s=t0,u=e;switch(e){case"keypress":if(0===tV(n))break e;case"keydown":case"keyup":s=no;break;case"focusin":u="focus",s=t9;break;case"focusout":u="blur",s=t9;break;case"beforeblur":case"afterblur":s=t9;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=t4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=t5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=nl;break;case nJ:case n0:case n1:s=t6;break;case n2:s=ns;break;case"scroll":s=t2;break;case"wheel":s=nu;break;case"copy":case"cut":case"paste":s=t8;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=ni}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&null!=(g=eI(h,f))&&c.push(rs(h,g,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){e:if(l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&n!==eS&&(u=n.relatedTarget||n.fromElement)&&(rI(u)||u[rP]))){if((s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(u=n.relatedTarget||n.toElement,s=r,null!==(u=u?rI(u):null)&&(d=eW(u),u!==d||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=t4,g="onMouseLeave",f="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=ni,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:rM(s),p=null==u?l:rM(u),(l=new c(g,h+"leave",s,n,a)).target=d,l.relatedTarget=p,g=null,rI(a)===r&&((c=new c(f,h+"enter",u,n,a)).target=p,c.relatedTarget=d,g=c),d=g,s&&u)t:{for(c=s,f=u,h=0,p=c;p;p=rc(p))h++;for(p=0,g=f;g;g=rc(g))p++;for(;0<h-p;)c=rc(c),h--;for(;0<p-h;)f=rc(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break t;c=rc(c),f=rc(f)}c=null}else c=null;null!==s&&rd(i,l,s,c,!1),null!==u&&null!==d&&rd(i,d,u,c,!0)}}e:{if("select"===(s=(l=r?rM(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m,y=nC;else if(nw(l)){if(nT)y=nI;else{y=nL;var b=nA}}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=nR);if(y&&(y=y(e,r))){nx(i,y,n,a);break e}b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&er(l,"number",l.value)}switch(b=r?rM(r):window,e){case"focusin":(nw(b)||"true"===b.contentEditable)&&(nZ=b,nH=r,nW=null);break;case"focusout":nW=nH=nZ=null;break;case"mousedown":nV=!0;break;case"contextmenu":case"mouseup":case"dragend":nV=!1,nq(i,n,a);break;case"selectionchange":if(nU)break;case"keydown":case"keyup":nq(i,n,a)}if(nd)t:{switch(e){case"compositionstart":var v="onCompositionStart";break t;case"compositionend":v="onCompositionEnd";break t;case"compositionupdate":v="onCompositionUpdate";break t}v=void 0}else nb?nm(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(nh&&"ko"!==n.locale&&(nb||"onCompositionStart"!==v?"onCompositionEnd"===v&&nb&&(m=tW()):(tZ="value"in(tU=a)?tU.value:tU.textContent,nb=!0)),0<(b=ru(r,v)).length&&(v=new t7(v,e,null,n,a),i.push({event:v,listeners:b}),m?v.data=m:null!==(m=ny(n))&&(v.data=m))),(m=np?function(e,t){switch(e){case"compositionend":return ny(t);case"keypress":if(32!==t.which)return null;return ng=!0," ";case"textInput":return" "===(e=t.data)&&ng?null:e;default:return null}}(e,n):function(e,t){if(nb)return"compositionend"===e||!nd&&nm(e,t)?(e=tW(),tH=tZ=tU=null,nb=!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 nh&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=ru(r,"onBeforeInput")).length&&(a=new t7("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=m)}rt(i,t)})}function rs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ru(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=eI(e,n))&&r.unshift(rs(e,o,a)),null!=(o=eI(e,t))&&r.push(rs(e,o,a))),e=e.return}return r}function rc(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function rd(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=eI(n,o))&&i.unshift(rs(n,s,l)):a||null!=(s=eI(n,o))&&i.push(rs(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var rf=/\r\n?/g,rp=/\u0000|\uFFFD/g;function rh(e){return("string"==typeof e?e:""+e).replace(rf,"\n").replace(rp,"")}function rg(e,t,n){if(t=rh(t),rh(e)!==t&&n)throw Error(d(425))}function rm(){}var ry=null,rb=null;function rv(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var rw="function"==typeof setTimeout?setTimeout:void 0,rx="function"==typeof clearTimeout?clearTimeout:void 0,rk="function"==typeof Promise?Promise:void 0,rS="function"==typeof queueMicrotask?queueMicrotask:void 0!==rk?function(e){return rk.resolve(null).then(e).catch(r_)}:rw;function r_(e){setTimeout(function(){throw e})}function rE(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType){if("/$"===(n=a.data)){if(0===r){e.removeChild(a),tL(t);return}r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++}n=a}while(n);tL(t)}function rC(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function rT(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 rj=Math.random().toString(36).slice(2),rN="__reactFiber$"+rj,rO="__reactProps$"+rj,rP="__reactContainer$"+rj,rA="__reactEvents$"+rj,rL="__reactListeners$"+rj,rR="__reactHandles$"+rj;function rI(e){var t=e[rN];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rP]||n[rN]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=rT(e);null!==e;){if(n=e[rN])return n;e=rT(e)}return t}n=(e=n).parentNode}return null}function rF(e){return(e=e[rN]||e[rP])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function rM(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function rD(e){return e[rO]||null}var rz=[],r$=-1;function rB(e){return{current:e}}function rU(e){0>r$||(e.current=rz[r$],rz[r$]=null,r$--)}function rZ(e,t){rz[++r$]=e.current,e.current=t}var rH={},rW=rB(rH),rV=rB(!1),rq=rH;function rG(e,t){var n=e.type.contextTypes;if(!n)return rH;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 rY(e){return null!=(e=e.childContextTypes)}function rQ(){rU(rV),rU(rW)}function rK(e,t,n){if(rW.current!==rH)throw Error(d(168));rZ(rW,t),rZ(rV,n)}function rX(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case N:return"Fragment";case j:return"Portal";case P:return"Profiler";case O:return"StrictMode";case I:return"Suspense";case F:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case L:return(t.displayName||"Context")+".Consumer";case A:return(t._context.displayName||"Context")+".Provider";case R:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case M:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case D:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(t);case 8:return t===O?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",a));return Z({},n,r)}function rJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rH,rq=rW.current,rZ(rW,e),rZ(rV,rV.current),!0}function r0(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(e=rX(e,t,rq),r.__reactInternalMemoizedMergedChildContext=e,rU(rV),rU(rW),rZ(rW,e)):rU(rV),rZ(rV,n)}var r1=null,r2=!1,r3=!1;function r4(e){null===r1?r1=[e]:r1.push(e)}function r5(){if(!r3&&null!==r1){r3=!0;var e=0,t=tc;try{var n=r1;for(tc=1;e<n.length;e++){var r=n[e];do r=r(!0);while(null!==r)}r1=null,r2=!1}catch(t){throw null!==r1&&(r1=r1.slice(e+1)),eY(e1,r5),t}finally{tc=t,r3=!1}}return null}var r9=[],r6=0,r8=null,r7=0,ae=[],at=0,an=null,ar=1,aa="";function ao(e,t){r9[r6++]=r7,r9[r6++]=r8,r8=e,r7=t}function ai(e,t,n){ae[at++]=ar,ae[at++]=aa,ae[at++]=an,an=e;var r=ar;e=aa;var a=32-e8(r)-1;r&=~(1<<a),n+=1;var o=32-e8(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,ar=1<<32-e8(t)+a|n<<a|r,aa=o+e}else ar=1<<o|n<<a|r,aa=e}function al(e){null!==e.return&&(ao(e,1),ai(e,1,0))}function as(e){for(;e===r8;)r8=r9[--r6],r9[r6]=null,r7=r9[--r6],r9[r6]=null;for(;e===an;)an=ae[--at],ae[at]=null,aa=ae[--at],ae[at]=null,ar=ae[--at],ae[at]=null}var au=null,ac=null,ad=!1,af=null;function ap(e,t){var n=lY(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ah(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,au=e,ac=rC(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,au=e,ac=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==an?{id:ar,overflow:aa}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:0x40000000},(n=lY(18,null,null,0)).stateNode=t,n.return=e,e.child=n,au=e,ac=null,!0);default:return!1}}function ag(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function am(e){if(ad){var t=ac;if(t){var n=t;if(!ah(e,t)){if(ag(e))throw Error(d(418));t=rC(n.nextSibling);var r=au;t&&ah(e,t)?ap(r,n):(e.flags=-4097&e.flags|2,ad=!1,au=e)}}else{if(ag(e))throw Error(d(418));e.flags=-4097&e.flags|2,ad=!1,au=e}}}function ay(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;au=e}function ab(e){if(e!==au)return!1;if(!ad)return ay(e),ad=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!rv(e.type,e.memoizedProps)),t&&(t=ac)){if(ag(e))throw av(),Error(d(418));for(;t;)ap(e,t),t=rC(t.nextSibling)}if(ay(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,n=e.data;if("/$"===n){if(0===t){ac=rC(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ac=null}}else ac=au?rC(e.stateNode.nextSibling):null;return!0}function av(){for(var e=ac;e;)e=rC(e.nextSibling)}function aw(){ac=au=null,ad=!1}function ax(e){null===af?af=[e]:af.push(e)}var ak=C.ReactCurrentBatchConfig;function aS(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(d(309));var r=n.stateNode}if(!r)throw Error(d(147,e));var a=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=a.refs;null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(d(284));if(!n._owner)throw Error(d(290,e))}return e}function a_(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aE(e){return(0,e._init)(e._payload)}function aC(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}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=lK(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):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=l1(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){var o=n.type;return o===N?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===D&&aE(o)===t.type)?((r=a(t,n.props)).ref=aS(e,t,n),r.return=e,r):((r=lX(n.type,n.key,n.props,null,e.mode,r)).ref=aS(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=l2(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function c(e,t,n,r,o){return null===t||7!==t.tag?((t=lJ(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=l1(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case T:return(n=lX(t.type,t.key,t.props,null,e.mode,n)).ref=aS(e,null,t),n.return=e,n;case j:return(t=l2(t,e.mode,n)).return=e,t;case D:return f(e,(0,t._init)(t._payload),n)}if(ea(t)||B(t))return(t=lJ(t,e.mode,n,null)).return=e,t;a_(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===a?s(e,t,n,r):null;case j:return n.key===a?u(e,t,n,r):null;case D:return p(e,t,(a=n._init)(n._payload),r)}if(ea(n)||B(n))return null!==a?null:c(e,t,n,r,null);a_(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case T:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case j:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case D:return h(e,t,n,(0,r._init)(r._payload),a)}if(ea(r)||B(r))return c(t,e=e.get(n)||null,r,a,null);a_(t,r)}return null}return function l(s,u,c,g){if("object"==typeof c&&null!==c&&c.type===N&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case T:e:{for(var m=c.key,y=u;null!==y;){if(y.key===m){if((m=c.type)===N){if(7===y.tag){n(s,y.sibling),(u=a(y,c.props.children)).return=s,s=u;break e}}else if(y.elementType===m||"object"==typeof m&&null!==m&&m.$$typeof===D&&aE(m)===y.type){n(s,y.sibling),(u=a(y,c.props)).ref=aS(s,y,c),u.return=s,s=u;break e}n(s,y);break}t(s,y);y=y.sibling}c.type===N?((u=lJ(c.props.children,s.mode,g,c.key)).return=s,s=u):((g=lX(c.type,c.key,c.props,null,s.mode,g)).ref=aS(s,u,c),g.return=s,s=g)}return i(s);case j:e:{for(y=c.key;null!==u;){if(u.key===y){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(s,u.sibling),(u=a(u,c.children||[])).return=s,s=u;break e}else{n(s,u);break}}t(s,u);u=u.sibling}(u=l2(c,s.mode,g)).return=s,s=u}return i(s);case D:return l(s,u,(y=c._init)(c._payload),g)}if(ea(c))return function(a,i,l,s){for(var u=null,c=null,d=i,g=i=0,m=null;null!==d&&g<l.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var y=p(a,d,l[g],s);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(a,d),i=o(y,i,g),null===c?u=y:c.sibling=y,c=y,d=m}if(g===l.length)return n(a,d),ad&&ao(a,g),u;if(null===d){for(;g<l.length;g++)null!==(d=f(a,l[g],s))&&(i=o(d,i,g),null===c?u=d:c.sibling=d,c=d);return ad&&ao(a,g),u}for(d=r(a,d);g<l.length;g++)null!==(m=h(d,a,g,l[g],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=o(m,i,g),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach(function(e){return t(a,e)}),ad&&ao(a,g),u}(s,u,c,g);if(B(c))return function(a,i,l,s){var u=B(l);if("function"!=typeof u)throw Error(d(150));if(null==(l=u.call(l)))throw Error(d(151));for(var c=u=null,g=i,m=i=0,y=null,b=l.next();null!==g&&!b.done;m++,b=l.next()){g.index>m?(y=g,g=null):y=g.sibling;var v=p(a,g,b.value,s);if(null===v){null===g&&(g=y);break}e&&g&&null===v.alternate&&t(a,g),i=o(v,i,m),null===c?u=v:c.sibling=v,c=v,g=y}if(b.done)return n(a,g),ad&&ao(a,m),u;if(null===g){for(;!b.done;m++,b=l.next())null!==(b=f(a,b.value,s))&&(i=o(b,i,m),null===c?u=b:c.sibling=b,c=b);return ad&&ao(a,m),u}for(g=r(a,g);!b.done;m++,b=l.next())null!==(b=h(g,a,m,b.value,s))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),i=o(b,i,m),null===c?u=b:c.sibling=b,c=b);return e&&g.forEach(function(e){return t(a,e)}),ad&&ao(a,m),u}(s,u,c,g);a_(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(u=a(u,c)).return=s):(n(s,u),(u=l1(c,s.mode,g)).return=s),i(s=u)):n(s,u)}}var aT=aC(!0),aj=aC(!1),aN=rB(null),aO=null,aP=null,aA=null;function aL(){aA=aP=aO=null}function aR(e){var t=aN.current;rU(aN),e._currentValue=t}function aI(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function aF(e,t){aO=e,aA=aP=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ii=!0),e.firstContext=null)}function aM(e){var t=e._currentValue;if(aA!==e){if(e={context:e,memoizedValue:t,next:null},null===aP){if(null===aO)throw Error(d(308));aP=e,aO.dependencies={lanes:0,firstContext:e}}else aP=aP.next=e}return t}var aD=null;function az(e){null===aD?aD=[e]:aD.push(e)}function a$(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,az(t)):(n.next=a.next,a.next=n),t.interleaved=n,aB(e,r)}function aB(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}var aU=!1;function aZ(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function aH(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 aW(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function aV(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&i4)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,aB(e,n)}return null===(a=r.interleaved)?(t.next=t,az(r)):(t.next=a.next,a.next=t),r.interleaved=t,aB(e,n)}function aq(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}function aG(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;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function aY(e,t,n,r){var a=e.updateQueue;aU=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,g=l;switch(f=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(p,d,f):h))break e;d=Z({},d,f);break e;case 2:aU=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;else l=(f=l).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do i|=a.lane,a=a.next;while(a!==t)}else null===o&&(a.shared.lanes=0);ln|=i,e.lanes=i,e.memoizedState=d}}function aQ(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(d(191,a));a.call(r)}}}var aK={},aX=rB(aK),aJ=rB(aK),a0=rB(aK);function a1(e){if(e===aK)throw Error(d(174));return e}function a2(e,t){switch(rZ(a0,t),rZ(aJ,e),rZ(aX,aK),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ed(null,"");break;default:t=(e=8===e?t.parentNode:t).namespaceURI||null,t=ed(t,e=e.tagName)}rU(aX),rZ(aX,t)}function a3(){rU(aX),rU(aJ),rU(a0)}function a4(e){a1(a0.current);var t=a1(aX.current),n=ed(t,e.type);t!==n&&(rZ(aJ,e),rZ(aX,n))}function a5(e){aJ.current===e&&(rU(aX),rU(aJ))}var a9=rB(0);function a6(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!=(128&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 a8=[];function a7(){for(var e=0;e<a8.length;e++)a8[e]._workInProgressVersionPrimary=null;a8.length=0}var oe=C.ReactCurrentDispatcher,ot=C.ReactCurrentBatchConfig,on=0,or=null,oa=null,oo=null,oi=!1,ol=!1,os=0,ou=0;function oc(){throw Error(d(321))}function od(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nF(e[n],t[n]))return!1;return!0}function of(e,t,n,r,a,o){if(on=o,or=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oe.current=null===e||null===e.memoizedState?oY:oQ,e=n(r,a),ol){o=0;do{if(ol=!1,os=0,25<=o)throw Error(d(301));o+=1,oo=oa=null,t.updateQueue=null,oe.current=oK,e=n(r,a)}while(ol)}if(oe.current=oG,t=null!==oa&&null!==oa.next,on=0,oo=oa=or=null,oi=!1,t)throw Error(d(300));return e}function op(){var e=0!==os;return os=0,e}function oh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===oo?or.memoizedState=oo=e:oo=oo.next=e,oo}function og(){if(null===oa){var e=or.alternate;e=null!==e?e.memoizedState:null}else e=oa.next;var t=null===oo?or.memoizedState:oo.next;if(null!==t)oo=t,oa=e;else{if(null===e)throw Error(d(310));e={memoizedState:(oa=e).memoizedState,baseState:oa.baseState,baseQueue:oa.baseQueue,queue:oa.queue,next:null},null===oo?or.memoizedState=oo=e:oo=oo.next=e}return oo}function om(e,t){return"function"==typeof t?t(e):t}function oy(e){var t=og(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=oa,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}r.baseQueue=a=o,n.pending=null}if(null!==a){o=a.next,r=r.baseState;var l=i=null,s=null,u=o;do{var c=u.lane;if((on&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===s?(l=s=f,i=r):s=s.next=f,or.lanes|=c,ln|=c}u=u.next}while(null!==u&&u!==o);null===s?i=r:s.next=l,nF(r,t.memoizedState)||(ii=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do o=a.lane,or.lanes|=o,ln|=o,a=a.next;while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ob(e){var t=og(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);nF(o,t.memoizedState)||(ii=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ov(){}function ow(e,t){var n=or,r=og(),a=t(),o=!nF(r.memoizedState,a);if(o&&(r.memoizedState=a,ii=!0),r=r.queue,oA(oS.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==oo&&1&oo.memoizedState.tag){if(n.flags|=2048,oT(9,ok.bind(null,n,r,a,t),void 0,null),null===i5)throw Error(d(349));0!=(30&on)||ox(n,t,a)}return a}function ox(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=or.updateQueue)?(t={lastEffect:null,stores:null},or.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ok(e,t,n,r){t.value=n,t.getSnapshot=r,o_(t)&&oE(e)}function oS(e,t,n){return n(function(){o_(t)&&oE(e)})}function o_(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nF(e,n)}catch(e){return!0}}function oE(e){var t=aB(e,1);null!==t&&lk(t,e,1,-1)}function oC(e){var t=oh();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:om,lastRenderedState:e},t.queue=e,e=e.dispatch=oH.bind(null,or,e),[t.memoizedState,e]}function oT(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=or.updateQueue)?(t={lastEffect:null,stores:null},or.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 oj(){return og().memoizedState}function oN(e,t,n,r){var a=oh();or.flags|=e,a.memoizedState=oT(1|t,n,void 0,void 0===r?null:r)}function oO(e,t,n,r){var a=og();r=void 0===r?null:r;var o=void 0;if(null!==oa){var i=oa.memoizedState;if(o=i.destroy,null!==r&&od(r,i.deps)){a.memoizedState=oT(t,n,o,r);return}}or.flags|=e,a.memoizedState=oT(1|t,n,o,r)}function oP(e,t){return oN(8390656,8,e,t)}function oA(e,t){return oO(2048,8,e,t)}function oL(e,t){return oO(4,2,e,t)}function oR(e,t){return oO(4,4,e,t)}function oI(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function oF(e,t,n){return n=null!=n?n.concat([e]):null,oO(4,4,oI.bind(null,t,e),n)}function oM(){}function oD(e,t){var n=og();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&od(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oz(e,t){var n=og();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&od(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function o$(e,t,n){return 0==(21&on)?(e.baseState&&(e.baseState=!1,ii=!0),e.memoizedState=n):(nF(n,t)||(n=ti(),or.lanes|=n,ln|=n,e.baseState=!0),t)}function oB(e,t){var n=tc;tc=0!==n&&4>n?n:4,e(!0);var r=ot.transition;ot.transition={};try{e(!1),t()}finally{tc=n,ot.transition=r}}function oU(){return og().memoizedState}function oZ(e,t,n){var r=lx(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oW(e)?oV(t,n):null!==(n=a$(e,t,n,r))&&(lk(n,e,r,lw()),oq(n,t,r))}function oH(e,t,n){var r=lx(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oW(e))oV(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,nF(l,i)){var s=t.interleaved;null===s?(a.next=a,az(t)):(a.next=s.next,s.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(n=a$(e,t,a,r))&&(lk(n,e,r,a=lw()),oq(n,t,r))}}function oW(e){var t=e.alternate;return e===or||null!==t&&t===or}function oV(e,t){ol=oi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function oq(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}var oG={readContext:aM,useCallback:oc,useContext:oc,useEffect:oc,useImperativeHandle:oc,useInsertionEffect:oc,useLayoutEffect:oc,useMemo:oc,useReducer:oc,useRef:oc,useState:oc,useDebugValue:oc,useDeferredValue:oc,useTransition:oc,useMutableSource:oc,useSyncExternalStore:oc,useId:oc,unstable_isNewReconciler:!1},oY={readContext:aM,useCallback:function(e,t){return oh().memoizedState=[e,void 0===t?null:t],e},useContext:aM,useEffect:oP,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oN(4194308,4,oI.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oN(4194308,4,e,t)},useInsertionEffect:function(e,t){return oN(4,2,e,t)},useMemo:function(e,t){var n=oh();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=oh();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=oZ.bind(null,or,e),[r.memoizedState,e]},useRef:function(e){var t=oh();return e={current:e},t.memoizedState=e},useState:oC,useDebugValue:oM,useDeferredValue:function(e){return oh().memoizedState=e},useTransition:function(){var e=oC(!1),t=e[0];return e=oB.bind(null,e[1]),oh().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=or,a=oh();if(ad){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===i5)throw Error(d(349));0!=(30&on)||ox(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oP(oS.bind(null,r,o,e),[e]),r.flags|=2048,oT(9,ok.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=oh(),t=i5.identifierPrefix;if(ad){var n=aa,r=ar;t=":"+t+"R"+(n=(r&~(1<<32-e8(r)-1)).toString(32)+n),0<(n=os++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ou++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oQ={readContext:aM,useCallback:oD,useContext:aM,useEffect:oA,useImperativeHandle:oF,useInsertionEffect:oL,useLayoutEffect:oR,useMemo:oz,useReducer:oy,useRef:oj,useState:function(){return oy(om)},useDebugValue:oM,useDeferredValue:function(e){return o$(og(),oa.memoizedState,e)},useTransition:function(){return[oy(om)[0],og().memoizedState]},useMutableSource:ov,useSyncExternalStore:ow,useId:oU,unstable_isNewReconciler:!1},oK={readContext:aM,useCallback:oD,useContext:aM,useEffect:oA,useImperativeHandle:oF,useInsertionEffect:oL,useLayoutEffect:oR,useMemo:oz,useReducer:ob,useRef:oj,useState:function(){return ob(om)},useDebugValue:oM,useDeferredValue:function(e){var t=og();return null===oa?t.memoizedState=e:o$(t,oa.memoizedState,e)},useTransition:function(){return[ob(om)[0],og().memoizedState]},useMutableSource:ov,useSyncExternalStore:ow,useId:oU,unstable_isNewReconciler:!1};function oX(e,t){if(e&&e.defaultProps)for(var n in t=Z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}function oJ(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var o0={isMounted:function(e){return!!(e=e._reactInternals)&&eW(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=lw(),a=lx(e),o=aW(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=aV(e,o,a))&&(lk(t,e,a,r),aq(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=lw(),a=lx(e),o=aW(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=aV(e,o,a))&&(lk(t,e,a,r),aq(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=lw(),r=lx(e),a=aW(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=aV(e,a,r))&&(lk(t,e,r,n),aq(t,e,r))}};function o1(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||!nM(n,r)||!nM(a,o)}function o2(e,t,n){var r=!1,a=rH,o=t.contextType;return"object"==typeof o&&null!==o?o=aM(o):(a=rY(t)?rq:rW.current,o=(r=null!=(r=t.contextTypes))?rG(e,a):rH),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=o0,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function o3(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&&o0.enqueueReplaceState(t,t.state,null)}function o4(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},aZ(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=aM(o):(o=rY(t)?rq:rW.current,a.context=rG(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(oJ(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&&o0.enqueueReplaceState(a,a.state,null),aY(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function o5(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}(r),r=r.return;while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function o9(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function o6(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var o8="function"==typeof WeakMap?WeakMap:Map;function o7(e,t,n){(n=aW(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){lc||(lc=!0,ld=r),o6(e,t)},n}function ie(e,t,n){(n=aW(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){o6(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){o6(e,t),"function"!=typeof r&&(null===lf?lf=new Set([this]):lf.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function it(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new o8;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=lZ.bind(null,e,t,n),t.then(e,e))}function ir(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ia(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=aW(-1,1)).tag=2,aV(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var io=C.ReactCurrentOwner,ii=!1;function il(e,t,n,r){t.child=null===e?aj(t,null,n,r):aT(t,e.child,n,r)}function is(e,t,n,r,a){n=n.render;var o=t.ref;return(aF(t,a),r=of(e,t,n,r,o,a),n=op(),null===e||ii)?(ad&&n&&al(t),t.flags|=1,il(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,ij(e,t,a))}function iu(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||lQ(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=lX(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,ic(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:nM)(i,r)&&e.ref===t.ref)return ij(e,t,a)}return t.flags|=1,(e=lK(o,r)).ref=t.ref,e.return=t,t.child=e}function ic(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(nM(o,r)&&e.ref===t.ref){if(ii=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,ij(e,t,a);else 0!=(131072&e.flags)&&(ii=!0)}}return ih(e,t,n,r,a)}function id(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},rZ(i7,i8),i8|=n;else{if(0==(0x40000000&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=0x40000000,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,rZ(i7,i8),i8|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,rZ(i7,i8),i8|=r}}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,rZ(i7,i8),i8|=r;return il(e,t,a,n),t.child}function ip(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ih(e,t,n,r,a){var o=rY(n)?rq:rW.current;return(o=rG(t,o),aF(t,a),n=of(e,t,n,r,o,a),r=op(),null===e||ii)?(ad&&r&&al(t),t.flags|=1,il(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,ij(e,t,a))}function ig(e,t,n,r,a){if(rY(n)){var o=!0;rJ(t)}else o=!1;if(aF(t,a),null===t.stateNode)iT(e,t),o2(t,n,r),o4(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;u="object"==typeof u&&null!==u?aM(u):rG(t,u=rY(n)?rq:rW.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)&&o3(t,i,r,u),aU=!1;var f=t.memoizedState;i.state=f,aY(t,r,i,a),s=t.memoizedState,l!==r||f!==s||rV.current||aU?("function"==typeof c&&(oJ(t,n,c,r),s=t.memoizedState),(l=aU||o1(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|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,aH(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:oX(t.type,l),i.props=u,d=t.pendingProps,f=i.context,s="object"==typeof(s=n.contextType)&&null!==s?aM(s):rG(t,s=rY(n)?rq:rW.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)&&o3(t,i,r,s),aU=!1,f=t.memoizedState,i.state=f,aY(t,r,i,a);var h=t.memoizedState;l!==d||f!==h||rV.current||aU?("function"==typeof p&&(oJ(t,n,p,r),h=t.memoizedState),(u=aU||o1(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("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|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,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|=1024),r=!1)}return im(e,t,n,r,o,a)}function im(e,t,n,r,a,o){ip(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&r0(t,n,!1),ij(e,t,o);r=t.stateNode,io.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=aT(t,e.child,null,o),t.child=aT(t,null,l,o)):il(e,t,l,o),t.memoizedState=r.state,a&&r0(t,n,!0),t.child}function iy(e){var t=e.stateNode;t.pendingContext?rK(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rK(e,t.context,!1),a2(e,t.containerInfo)}function ib(e,t,n,r,a){return aw(),ax(a),t.flags|=256,il(e,t,n,r),t.child}var iv={dehydrated:null,treeContext:null,retryLane:0};function iw(e){return{baseLanes:e,cachePool:null,transitions:null}}function ix(e,t,n){var r,a=t.pendingProps,o=a9.current,i=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),rZ(a9,1&o),null===e)return(am(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=0x40000000,null):(l=a.children,e=a.fallback,i?(a=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=l0(l,a,0,null),e=lJ(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=iw(n),t.memoizedState=iv,e):ik(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,i){if(n)return 256&t.flags?(t.flags&=-257,iS(e,t,i,r=o9(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=l0({mode:"visible",children:r.children},a,0,null),o=lJ(o,a,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&aT(t,e.child,null,i),t.child.memoizedState=iw(i),t.memoizedState=iv,o);if(0==(1&t.mode))return iS(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,iS(e,t,i,r=o9(o=Error(d(419)),r,void 0))}if(l=0!=(i&e.childLanes),ii||l){if(null!==(r=i5)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:a=32;break;case 0x20000000:a=0x10000000;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|i))?0:a)&&a!==o.retryLane&&(o.retryLane=a,aB(e,a),lk(r,e,a,-1))}return lI(),iS(e,t,i,r=o9(Error(d(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=lW.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ac=rC(a.nextSibling),au=t,ad=!0,af=null,null!==e&&(ae[at++]=ar,ae[at++]=aa,ae[at++]=an,ar=e.id,aa=e.overflow,an=t),t=ik(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,o,n);if(i){i=a.fallback,l=t.mode,r=(o=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&l)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=lK(o,s)).subtreeFlags=0xe00000&o.subtreeFlags,null!==r?i=lK(r,i):(i=lJ(i,l,n,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,l=null===(l=e.child.memoizedState)?iw(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=iv,a}return e=(i=e.child).sibling,a=lK(i,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function ik(e,t){return(t=l0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function iS(e,t,n,r){return null!==r&&ax(r),aT(t,e.child,null,n),e=ik(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function i_(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),aI(e.return,t,n)}function iE(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function iC(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(il(e,t,r.children,n),0!=(2&(r=a9.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&i_(e,n,t);else if(19===e.tag)i_(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rZ(a9,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===a6(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iE(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===a6(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}iE(t,!0,n,null,o);break;case"together":iE(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function iT(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ij(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ln|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=lK(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=lK(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iN(e,t){if(!ad)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 iO(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0xe00000&a.subtreeFlags,r|=0xe00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}a=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}},o=function(){},i=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,a1(aX.current);var o,i=null;switch(n){case"input":a=X(e,a),r=X(e,r),i=[];break;case"select":a=Z({},a,{value:void 0}),r=Z({},r,{value:void 0}),i=[];break;case"textarea":a=ei(e,a),r=ei(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=rm)}for(u in ex(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u]){if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null))}for(u in r){var s=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l)){if("style"===u){if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(u,n)),n=s}else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(p.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&rn("scroll",e),i||l===s||(i=[])):(i=i||[]).push(u,s))}}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},l=function(e,t,n,r){n!==r&&(t.flags|=4)};var iP=!1,iA=!1,iL="function"==typeof WeakSet?WeakSet:Set,iR=null;function iI(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null)}catch(n){lU(e,t,n)}else n.current=null}}function iF(e,t,n){try{n()}catch(n){lU(e,t,n)}}var iM=!1;function iD(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&iF(t,n,o)}a=a.next}while(a!==r)}}function iz(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function i$(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag;e=n;"function"==typeof t?t(e):t.current=e}}function iB(e){return 5===e.tag||3===e.tag||4===e.tag}function iU(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iB(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var iZ=null,iH=!1;function iW(e,t,n){for(n=n.child;null!==n;)iV(e,t,n),n=n.sibling}function iV(e,t,n){if(e6&&"function"==typeof e6.onCommitFiberUnmount)try{e6.onCommitFiberUnmount(e9,n)}catch(e){}switch(n.tag){case 5:iA||iI(n,t);case 6:var r=iZ,a=iH;iZ=null,iW(e,t,n),iZ=r,iH=a,null!==iZ&&(iH?(e=iZ,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):iZ.removeChild(n.stateNode));break;case 18:null!==iZ&&(iH?(e=iZ,n=n.stateNode,8===e.nodeType?rE(e.parentNode,n):1===e.nodeType&&rE(e,n),tL(e)):rE(iZ,n.stateNode));break;case 4:r=iZ,a=iH,iZ=n.stateNode.containerInfo,iH=!0,iW(e,t,n),iZ=r,iH=a;break;case 0:case 11:case 14:case 15:if(!iA&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)?iF(n,t,i):0!=(4&o)&&iF(n,t,i)),a=a.next}while(a!==r)}iW(e,t,n);break;case 1:if(!iA&&(iI(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){lU(n,t,e)}iW(e,t,n);break;case 21:default:iW(e,t,n);break;case 22:1&n.mode?(iA=(r=iA)||null!==n.memoizedState,iW(e,t,n),iA=r):iW(e,t,n)}}function iq(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new iL),t.forEach(function(t){var r=lV.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function iG(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var o=t,i=o;e:for(;null!==i;){switch(i.tag){case 5:iZ=i.stateNode,iH=!1;break e;case 3:case 4:iZ=i.stateNode.containerInfo,iH=!0;break e}i=i.return}if(null===iZ)throw Error(d(160));iV(e,o,a),iZ=null,iH=!1;var l=a.alternate;null!==l&&(l.return=null),a.return=null}catch(e){lU(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)iY(t,e),t=t.sibling}function iY(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(iG(t,e),iQ(e),4&r){try{iD(3,e,e.return),iz(3,e)}catch(t){lU(e,e.return,t)}try{iD(5,e,e.return)}catch(t){lU(e,e.return,t)}}break;case 1:iG(t,e),iQ(e),512&r&&null!==n&&iI(n,n.return);break;case 5:if(iG(t,e),iQ(e),512&r&&null!==n&&iI(n,n.return),32&e.flags){var a=e.stateNode;try{eg(a,"")}catch(t){lU(e,e.return,t)}}if(4&r&&null!=(a=e.stateNode)){var o=e.memoizedProps,i=null!==n?n.memoizedProps:o,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===o.type&&null!=o.name&&ee(a,o),ek(l,i);var u=ek(l,o);for(i=0;i<s.length;i+=2){var c=s[i],f=s[i+1];"style"===c?ev(a,f):"dangerouslySetInnerHTML"===c?eh(a,f):"children"===c?eg(a,f):E(a,c,f,u)}switch(l){case"input":et(a,o);break;case"textarea":es(a,o);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var h=o.value;null!=h?eo(a,!!o.multiple,h,!1):!!o.multiple!==p&&(null!=o.defaultValue?eo(a,!!o.multiple,o.defaultValue,!0):eo(a,!!o.multiple,o.multiple?[]:"",!1))}a[rO]=o}catch(t){lU(e,e.return,t)}}break;case 6:if(iG(t,e),iQ(e),4&r){if(null===e.stateNode)throw Error(d(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){lU(e,e.return,t)}}break;case 3:if(iG(t,e),iQ(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{tL(t.containerInfo)}catch(t){lU(e,e.return,t)}break;case 4:default:iG(t,e),iQ(e);break;case 13:iG(t,e),iQ(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,o&&(null===a.alternate||null===a.alternate.memoizedState)&&(ll=eJ())),4&r&&iq(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(iA=(u=iA)||c,iG(t,e),iA=u):iG(t,e),iQ(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&0!=(1&e.mode))for(iR=e,c=e.child;null!==c;){for(f=iR=c;null!==iR;){switch(h=(p=iR).child,p.tag){case 0:case 11:case 14:case 15:iD(4,p,p.return);break;case 1:iI(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){lU(r,n,e)}}break;case 5:iI(p,p.return);break;case 22:if(null!==p.memoizedState){iX(f);continue}}null!==h?(h.return=p,iR=h):iX(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{a=f.stateNode,u?(o=a.style,"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"):(l=f.stateNode,i=null!=(s=f.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=eb("display",i))}catch(t){lU(e,e.return,t)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){lU(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:iG(t,e),iQ(e),4&r&&iq(e);case 21:}}function iQ(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(iB(n)){var r=n;break e}n=n.return}throw Error(d(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(eg(a,""),r.flags&=-33);var o=iU(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,o,a);break;case 3:case 4:var i=r.stateNode.containerInfo,l=iU(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=rm));else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,l,i);break;default:throw Error(d(161))}}catch(t){lU(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function iK(e){for(;null!==iR;){var t=iR;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:iA||iz(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!iA){if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:oX(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var o=t.updateQueue;null!==o&&aQ(t,o,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}aQ(t,i,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&tL(f)}}}break;default:throw Error(d(163))}iA||512&t.flags&&i$(t)}catch(e){lU(t,t.return,e)}}if(t===e){iR=null;break}if(null!==(n=t.sibling)){n.return=t.return,iR=n;break}iR=t.return}}function iX(e){for(;null!==iR;){var t=iR;if(t===e){iR=null;break}var n=t.sibling;if(null!==n){n.return=t.return,iR=n;break}iR=t.return}}function iJ(e){for(;null!==iR;){var t=iR;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{iz(4,t)}catch(e){lU(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(e){lU(t,a,e)}}var o=t.return;try{i$(t)}catch(e){lU(t,o,e)}break;case 5:var i=t.return;try{i$(t)}catch(e){lU(t,i,e)}}}catch(e){lU(t,t.return,e)}if(t===e){iR=null;break}var l=t.sibling;if(null!==l){l.return=t.return,iR=l;break}iR=t.return}}var i0=Math.ceil,i1=C.ReactCurrentDispatcher,i2=C.ReactCurrentOwner,i3=C.ReactCurrentBatchConfig,i4=0,i5=null,i9=null,i6=0,i8=0,i7=rB(0),le=0,lt=null,ln=0,lr=0,la=0,lo=null,li=null,ll=0,ls=1/0,lu=null,lc=!1,ld=null,lf=null,lp=!1,lh=null,lg=0,lm=0,ly=null,lb=-1,lv=0;function lw(){return 0!=(6&i4)?eJ():-1!==lb?lb:lb=eJ()}function lx(e){return 0==(1&e.mode)?1:0!=(2&i4)&&0!==i6?i6&-i6:null!==ak.transition?(0===lv&&(lv=ti()),lv):0!==(e=tc)?e:e=void 0===(e=window.event)?16:tB(e.type)}function lk(e,t,n,r){if(50<lm)throw lm=0,ly=null,Error(d(185));ts(e,n,r),(0==(2&i4)||e!==i5)&&(e===i5&&(0==(2&i4)&&(lr|=n),4===le&&lT(e,i6)),lS(e,r),1===n&&0===i4&&0==(1&t.mode)&&(ls=eJ()+500,r2&&r5()))}function lS(e,t){var n,r=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-e8(o),l=1<<i,s=a[i];-1===s?(0==(l&n)||0!=(l&r))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var a=ta(e,e===i5?i6:0);if(0===a)null!==r&&eQ(r),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(null!=r&&eQ(r),1===t){;0===e.tag?(n=lj.bind(null,e),r2=!0,r4(n)):r4(lj.bind(null,e)),rS(function(){0==(6&i4)&&r5()}),r=null}else{switch(td(a)){case 1:r=e1;break;case 4:r=e2;break;case 16:default:r=e3;break;case 0x20000000:r=e5}r=function(e,t){return eY(e,t)}(r,l_.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function l_(e,t){if(lb=-1,lv=0,0!=(6&i4))throw Error(d(327));var n=e.callbackNode;if(l$()&&e.callbackNode!==n)return null;var r=ta(e,e===i5?i6:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=lF(e,r);else{t=r;var a=i4;i4|=2;var o=lR();for((i5!==e||i6!==t)&&(lu=null,ls=eJ()+500,lA(e,t));;)try{(function(){for(;null!==i9&&!eK();)lM(i9)})();break}catch(t){lL(e,t)}aL(),i1.current=o,i4=a,null!==i9?t=0:(i5=null,i6=0,t=le)}if(0!==t){if(2===t&&0!==(a=to(e))&&(r=a,t=lE(e,a)),1===t)throw n=lt,lA(e,0),lT(e,r),lS(e,eJ()),n;if(6===t)lT(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!nF(o(),a))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=lF(e,r))&&0!==(o=to(e))&&(r=o,t=lE(e,o)),1===t))throw n=lt,lA(e,0),lT(e,r),lS(e,eJ()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(d(345));case 2:case 5:lz(e,li,lu);break;case 3:if(lT(e,r),(0x7c00000&r)===r&&10<(t=ll+500-eJ())){if(0!==ta(e,0))break;if(((a=e.suspendedLanes)&r)!==r){lw(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=rw(lz.bind(null,e,li,lu),t);break}lz(e,li,lu);break;case 4:if(lT(e,r),(4194240&r)===r)break;for(a=-1,t=e.eventTimes;0<r;){var i=31-e8(r);o=1<<i,(i=t[i])>a&&(a=i),r&=~o}if(r=a,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*i0(r/1960))-r)){e.timeoutHandle=rw(lz.bind(null,e,li,lu),r);break}lz(e,li,lu);break;default:throw Error(d(329))}}}return lS(e,eJ()),e.callbackNode===n?l_.bind(null,e):null}function lE(e,t){var n=lo;return e.current.memoizedState.isDehydrated&&(lA(e,t).flags|=256),2!==(e=lF(e,t))&&(t=li,li=n,null!==t&&lC(t)),e}function lC(e){null===li?li=e:li.push.apply(li,e)}function lT(e,t){for(t&=~la,t&=~lr,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-e8(t),r=1<<n;e[n]=-1,t&=~r}}function lj(e){if(0!=(6&i4))throw Error(d(327));l$();var t=ta(e,0);if(0==(1&t))return lS(e,eJ()),null;var n=lF(e,t);if(0!==e.tag&&2===n){var r=to(e);0!==r&&(t=r,n=lE(e,r))}if(1===n)throw n=lt,lA(e,0),lT(e,t),lS(e,eJ()),n;if(6===n)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,lz(e,li,lu),lS(e,eJ()),null}function lN(e,t){var n=i4;i4|=1;try{return e(t)}finally{0===(i4=n)&&(ls=eJ()+500,r2&&r5())}}function lO(e){null!==lh&&0===lh.tag&&0==(6&i4)&&l$();var t=i4;i4|=1;var n=i3.transition,r=tc;try{if(i3.transition=null,tc=1,e)return e()}finally{tc=r,i3.transition=n,0==(6&(i4=t))&&r5()}}function lP(){i8=i7.current,rU(i7)}function lA(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,rx(n)),null!==i9)for(n=i9.return;null!==n;){var r=n;switch(as(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&rQ();break;case 3:a3(),rU(rV),rU(rW),a7();break;case 5:a5(r);break;case 4:a3();break;case 13:case 19:rU(a9);break;case 10:aR(r.type._context);break;case 22:case 23:lP()}n=n.return}if(i5=e,i9=e=lK(e.current,null),i6=i8=t,le=0,lt=null,la=lr=ln=0,li=lo=null,null!==aD){for(t=0;t<aD.length;t++)if(null!==(r=(n=aD[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}aD=null}return e}function lL(e,t){for(;;){var n=i9;try{if(aL(),oe.current=oG,oi){for(var r=or.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}oi=!1}if(on=0,oo=oa=or=null,ol=!1,os=0,i2.current=null,null===n||null===n.return){le=1,lt=t,i9=null;break}e:{var o=e,i=n.return,l=n,s=t;if(t=i6,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s,c=l,f=c.tag;if(0==(1&c.mode)&&(0===f||11===f||15===f)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ir(i);if(null!==h){h.flags&=-257,ia(h,i,l,o,t),1&h.mode&&it(o,u,t),t=h,s=u;var g=t.updateQueue;if(null===g){var m=new Set;m.add(s),t.updateQueue=m}else g.add(s);break e}if(0==(1&t)){it(o,u,t),lI();break e}s=Error(d(426))}else if(ad&&1&l.mode){var y=ir(i);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),ia(y,i,l,o,t),ax(o5(s,l));break e}}o=s=o5(s,l),4!==le&&(le=2),null===lo?lo=[o]:lo.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var b=o7(o,s,t);aG(o,b);break e;case 1:l=s;var v=o.type,w=o.stateNode;if(0==(128&o.flags)&&("function"==typeof v.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===lf||!lf.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=ie(o,l,t);aG(o,x);break e}}o=o.return}while(null!==o)}lD(n)}catch(e){t=e,i9===n&&null!==n&&(i9=n=n.return);continue}break}}function lR(){var e=i1.current;return i1.current=oG,null===e?oG:e}function lI(){(0===le||3===le||2===le)&&(le=4),null===i5||0==(0xfffffff&ln)&&0==(0xfffffff&lr)||lT(i5,i6)}function lF(e,t){var n=i4;i4|=2;var r=lR();for((i5!==e||i6!==t)&&(lu=null,lA(e,t));;)try{(function(){for(;null!==i9;)lM(i9)})();break}catch(t){lL(e,t)}if(aL(),i4=n,i1.current=r,null!==i9)throw Error(d(261));return i5=null,i6=0,le}function lM(e){var t=s(e.alternate,e,i8);e.memoizedProps=e.pendingProps,null===t?lD(e):i9=t,i2.current=null}function lD(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=function(e,t,n){var r=t.pendingProps;switch(as(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return iO(t),null;case 1:case 17:return rY(t.type)&&rQ(),iO(t),null;case 3:return r=t.stateNode,a3(),rU(rV),rU(rW),a7(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(ab(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==af&&(lC(af),af=null))),o(e,t),iO(t),null;case 5:a5(t);var s=a1(a0.current);if(n=t.type,null!==e&&null!=t.stateNode)i(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(d(166));return iO(t),null}if(e=a1(aX.current),ab(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[rN]=t,r[rO]=u,e=0!=(1&t.mode),n){case"dialog":rn("cancel",r),rn("close",r);break;case"iframe":case"object":case"embed":rn("load",r);break;case"video":case"audio":for(s=0;s<n8.length;s++)rn(n8[s],r);break;case"source":rn("error",r);break;case"img":case"image":case"link":rn("error",r),rn("load",r);break;case"details":rn("toggle",r);break;case"input":J(r,u),rn("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},rn("invalid",r);break;case"textarea":el(r,u),rn("invalid",r)}for(var c in ex(n,u),s=null,u)if(u.hasOwnProperty(c)){var f=u[c];"children"===c?"string"==typeof f?r.textContent!==f&&(!0!==u.suppressHydrationWarning&&rg(r.textContent,f,e),s=["children",f]):"number"==typeof f&&r.textContent!==""+f&&(!0!==u.suppressHydrationWarning&&rg(r.textContent,f,e),s=["children",""+f]):p.hasOwnProperty(c)&&null!=f&&"onScroll"===c&&rn("scroll",r)}switch(n){case"input":Y(r),en(r,u,!0);break;case"textarea":Y(r),eu(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=rm)}r=s,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===s.nodeType?s:s.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ec(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[rN]=t,e[rO]=r,a(e,t,!1,!1),t.stateNode=e;e:{switch(c=ek(n,r),n){case"dialog":rn("cancel",e),rn("close",e),s=r;break;case"iframe":case"object":case"embed":rn("load",e),s=r;break;case"video":case"audio":for(s=0;s<n8.length;s++)rn(n8[s],e);s=r;break;case"source":rn("error",e),s=r;break;case"img":case"image":case"link":rn("error",e),rn("load",e),s=r;break;case"details":rn("toggle",e),s=r;break;case"input":J(e,r),s=X(e,r),rn("invalid",e);break;case"option":default:s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Z({},r,{value:void 0}),rn("invalid",e);break;case"textarea":el(e,r),s=ei(e,r),rn("invalid",e)}for(u in ex(n,s),f=s)if(f.hasOwnProperty(u)){var h=f[u];"style"===u?ev(e,h):"dangerouslySetInnerHTML"===u?null!=(h=h?h.__html:void 0)&&eh(e,h):"children"===u?"string"==typeof h?("textarea"!==n||""!==h)&&eg(e,h):"number"==typeof h&&eg(e,""+h):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?null!=h&&"onScroll"===u&&rn("scroll",e):null!=h&&E(e,u,h,c))}switch(n){case"input":Y(e),en(e,r,!1);break;case"textarea":Y(e),eu(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?eo(e,!!r.multiple,u,!1):null!=r.defaultValue&&eo(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=rm)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return iO(t),null;case 6:if(e&&null!=t.stateNode)l(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(d(166));if(n=a1(a0.current),a1(aX.current),ab(t)){if(r=t.stateNode,n=t.memoizedProps,r[rN]=t,(u=r.nodeValue!==n)&&null!==(e=au))switch(e.tag){case 3:rg(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&rg(r.nodeValue,n,0!=(1&e.mode))}u&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[rN]=t,t.stateNode=r}return iO(t),null;case 13:if(rU(a9),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ad&&null!==ac&&0!=(1&t.mode)&&0==(128&t.flags))av(),aw(),t.flags|=98560,u=!1;else if(u=ab(t),null!==r&&null!==r.dehydrated){if(null===e){if(!u)throw Error(d(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(d(317));u[rN]=t}else aw(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;iO(t),u=!1}else null!==af&&(lC(af),af=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=n,t;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&a9.current)?0===le&&(le=3):lI())),null!==t.updateQueue&&(t.flags|=4),iO(t),null;case 4:return a3(),o(e,t),null===e&&ro(t.stateNode.containerInfo),iO(t),null;case 10:return aR(t.type._context),iO(t),null;case 19:if(rU(a9),null===(u=t.memoizedState))return iO(t),null;if(r=0!=(128&t.flags),null===(c=u.rendering)){if(r)iN(u,!1);else{if(0!==le||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=a6(e))){for(t.flags|=128,iN(u,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)u=n,e=r,u.flags&=0xe00002,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return rZ(a9,1&a9.current|2),t.child}e=e.sibling}null!==u.tail&&eJ()>ls&&(t.flags|=128,r=!0,iN(u,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=a6(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),iN(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!ad)return iO(t),null}else 2*eJ()-u.renderingStartTime>ls&&0x40000000!==n&&(t.flags|=128,r=!0,iN(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=u.last)?n.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eJ(),t.sibling=null,n=a9.current,rZ(a9,r?1&n|2:1&n),t;return iO(t),null;case 22:case 23:return lP(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(0x40000000&i8)&&(iO(t),6&t.subtreeFlags&&(t.flags|=8192)):iO(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(n,t,i8))){i9=n;return}}else{if(null!==(n=function(e,t){switch(as(t),t.tag){case 1:return rY(t.type)&&rQ(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return a3(),rU(rV),rU(rW),a7(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return a5(t),null;case 13:if(rU(a9),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));aw()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return rU(a9),null;case 4:return a3(),null;case 10:return aR(t.type._context),null;case 22:case 23:return lP(),null;default:return null}}(n,t))){n.flags&=32767,i9=n;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{le=6,i9=null;return}}if(null!==(t=t.sibling)){i9=t;return}i9=t=e}while(null!==t);0===le&&(le=5)}function lz(e,t,n){var r=tc,a=i3.transition;try{i3.transition=null,tc=1,function(e,t,n,r){do l$();while(null!==lh);if(0!=(6&i4))throw Error(d(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(!function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-e8(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,o),e===i5&&(i9=i5=null,i6=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||lp||(lp=!0,lq(e3,function(){return l$(),null})),o=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||o){o=i3.transition,i3.transition=null;var i,l,s,u=tc;tc=1;var c=i4;i4|=4,i2.current=null,!function(e,t){if(ry=tI,nB(e=n$())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var l=0,s=-1,u=-1,c=0,f=0,p=e,h=null;t:for(;;){for(;p!==n||0!==o&&3!==p.nodeType||(s=l+o),p!==i||0!==r&&3!==p.nodeType||(u=l+r),3===p.nodeType&&(l+=p.nodeValue.length),null!==(a=p.firstChild);){;h=p,p=a}for(;;){if(p===e)break t;if(h===n&&++c===o&&(s=l),h===i&&++f===r&&(u=l),null!==(a=p.nextSibling))break;h=(p=h).parentNode}p=a}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(rb={focusedElem:e,selectionRange:n},tI=!1,iR=t;null!==iR;)if(e=(t=iR).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,iR=e;else for(;null!==iR;){t=iR;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,y=g.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:oX(t.type,m),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(d(163))}}catch(e){lU(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,iR=e;break}iR=t.return}g=iM,iM=!1}(e,n),iY(n,e),!function(e){var t=n$(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&nB(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=nz(n,o);var i=nz(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(rb),tI=!!ry,rb=ry=null,e.current=n,i=n,l=e,s=a,iR=i,function e(t,n,r){for(var a=0!=(1&t.mode);null!==iR;){var o=iR,i=o.child;if(22===o.tag&&a){var l=null!==o.memoizedState||iP;if(!l){var s=o.alternate,u=null!==s&&null!==s.memoizedState||iA;s=iP;var c=iA;if(iP=l,(iA=u)&&!c)for(iR=o;null!==iR;)u=(l=iR).child,22===l.tag&&null!==l.memoizedState?iJ(o):null!==u?(u.return=l,iR=u):iJ(o);for(;null!==i;)iR=i,e(i,n,r),i=i.sibling;iR=o,iP=s,iA=c}iK(t,n,r)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,iR=i):iK(t,n,r)}}(i,l,s),eX(),i4=c,tc=u,i3.transition=o}else e.current=n;if(lp&&(lp=!1,lh=e,lg=a),0===(o=e.pendingLanes)&&(lf=null),!function(e){if(e6&&"function"==typeof e6.onCommitFiberRoot)try{e6.onCommitFiberRoot(e9,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode,r),lS(e,eJ()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((a=t[n]).value,{componentStack:a.stack,digest:a.digest});if(lc)throw lc=!1,e=ld,ld=null,e;0!=(1&lg)&&0!==e.tag&&l$(),0!=(1&(o=e.pendingLanes))?e===ly?lm++:(lm=0,ly=e):lm=0,r5()}(e,t,n,r)}finally{i3.transition=a,tc=r}return null}function l$(){if(null!==lh){var e=td(lg),t=i3.transition,n=tc;try{if(i3.transition=null,tc=16>e?16:e,null===lh)var r=!1;else{if(e=lh,lh=null,lg=0,0!=(6&i4))throw Error(d(331));var a=i4;for(i4|=4,iR=e.current;null!==iR;){var o=iR,i=o.child;if(0!=(16&iR.flags)){var l=o.deletions;if(null!==l){for(var s=0;s<l.length;s++){var u=l[s];for(iR=u;null!==iR;){var c=iR;switch(c.tag){case 0:case 11:case 15:iD(8,c,o)}var f=c.child;if(null!==f)f.return=c,iR=f;else for(;null!==iR;){var p=(c=iR).sibling,h=c.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&(delete n[rN],delete n[rO],delete n[rA],delete n[rL],delete n[rR]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===u){iR=null;break}if(null!==p){p.return=h,iR=p;break}iR=h}}}var g=o.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}iR=o}}if(0!=(2064&o.subtreeFlags)&&null!==i)i.return=o,iR=i;else for(;null!==iR;){if(o=iR,0!=(2048&o.flags))switch(o.tag){case 0:case 11:case 15:iD(9,o,o.return)}var b=o.sibling;if(null!==b){b.return=o.return,iR=b;break}iR=o.return}}var v=e.current;for(iR=v;null!==iR;){var w=(i=iR).child;if(0!=(2064&i.subtreeFlags)&&null!==w)w.return=i,iR=w;else for(i=v;null!==iR;){if(l=iR,0!=(2048&l.flags))try{switch(l.tag){case 0:case 11:case 15:iz(9,l)}}catch(e){lU(l,l.return,e)}if(l===i){iR=null;break}var x=l.sibling;if(null!==x){x.return=l.return,iR=x;break}iR=l.return}}if(i4=a,r5(),e6&&"function"==typeof e6.onPostCommitFiberRoot)try{e6.onPostCommitFiberRoot(e9,e)}catch(e){}r=!0}return r}finally{tc=n,i3.transition=t}}return!1}function lB(e,t,n){t=o7(e,t=o5(n,t),1),e=aV(e,t,1),t=lw(),null!==e&&(ts(e,1,t),lS(e,t))}function lU(e,t,n){if(3===e.tag)lB(e,e,n);else for(;null!==t;){if(3===t.tag){lB(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===lf||!lf.has(r))){e=ie(t,e=o5(n,e),1),t=aV(t,e,1),e=lw(),null!==t&&(ts(t,1,e),lS(t,e));break}}t=t.return}}function lZ(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=lw(),e.pingedLanes|=e.suspendedLanes&n,i5===e&&(i6&n)===n&&(4===le||3===le&&(0x7c00000&i6)===i6&&500>eJ()-ll?lA(e,0):la|=n),lS(e,t)}function lH(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tn,0==(0x7c00000&(tn<<=1))&&(tn=4194304)));var n=lw();null!==(e=aB(e,t))&&(ts(e,t,n),lS(e,n))}function lW(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),lH(e,n)}function lV(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(t),lH(e,n)}function lq(e,t){return eY(e,t)}function lG(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lY(e,t,n,r){return new lG(e,t,n,r)}function lQ(e){return!(!(e=e.prototype)||!e.isReactComponent)}s=function(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps||rV.current)ii=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return ii=!1,function(e,t,n){switch(t.tag){case 3:iy(t),aw();break;case 5:a4(t);break;case 1:rY(t.type)&&rJ(t);break;case 4:a2(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;rZ(aN,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return rZ(a9,1&a9.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return ix(e,t,n);return rZ(a9,1&a9.current),null!==(e=ij(e,t,n))?e.sibling:null}rZ(a9,1&a9.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return iC(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),rZ(a9,a9.current),!r)return null;break;case 22:case 23:return t.lanes=0,id(e,t,n)}return ij(e,t,n)}(e,t,n);ii=0!=(131072&e.flags)}}else ii=!1,ad&&0!=(1048576&t.flags)&&ai(t,r7,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;iT(e,t),e=t.pendingProps;var a=rG(t,rW.current);aF(t,n),a=of(null,t,r,e,a,n);var o=op();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rY(r)?(o=!0,rJ(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,aZ(t),a.updater=o0,t.stateNode=a,a._reactInternals=t,o4(t,r,e,n),t=im(null,t,r,!0,o,n)):(t.tag=0,ad&&o&&al(t),il(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(iT(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return lQ(e)?1:0;if(null!=e){if((e=e.$$typeof)===R)return 11;if(e===M)return 14}return 2}(r),e=oX(r,e),a){case 0:t=ih(null,t,r,e,n);break e;case 1:t=ig(null,t,r,e,n);break e;case 11:t=is(null,t,r,e,n);break e;case 14:t=iu(null,t,r,oX(r.type,e),n);break e}throw Error(d(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),ih(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),ig(e,t,r,a,n);case 3:e:{if(iy(t),null===e)throw Error(d(387));r=t.pendingProps,a=(o=t.memoizedState).element,aH(e,t),aY(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){a=o5(Error(d(423)),t),t=ib(e,t,r,n,a);break e}else if(r!==a){a=o5(Error(d(424)),t),t=ib(e,t,r,n,a);break e}else for(ac=rC(t.stateNode.containerInfo.firstChild),au=t,ad=!0,af=null,n=aj(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(aw(),r===a){t=ij(e,t,n);break e}il(e,t,r,n)}t=t.child}return t;case 5:return a4(t),null===e&&am(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children,rv(r,a)?i=null:null!==o&&rv(r,o)&&(t.flags|=32),ip(e,t),il(e,t,i,n),t.child;case 6:return null===e&&am(t),null;case 13:return ix(e,t,n);case 4:return a2(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=aT(t,null,r,n):il(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),is(e,t,r,a,n);case 7:return il(e,t,t.pendingProps,n),t.child;case 8:case 12:return il(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,rZ(aN,r._currentValue),r._currentValue=i,null!==o){if(nF(o.value,i)){if(o.children===a.children&&!rV.current){t=ij(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){i=o.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===o.tag){(s=aW(-1,n&-n)).tag=2;var u=o.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),aI(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===o.tag)i=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(d(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),aI(i,n,t),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===t){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}il(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,aF(t,n),r=r(a=aM(a)),t.flags|=1,il(e,t,r,n),t.child;case 14:return a=oX(r=t.type,t.pendingProps),a=oX(r.type,a),iu(e,t,r,a,n);case 15:return ic(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),iT(e,t),t.tag=1,rY(r)?(e=!0,rJ(t)):e=!1,aF(t,n),o2(t,r,a),o4(t,r,a,n),im(null,t,r,!0,e,n);case 19:return iC(e,t,n);case 22:return id(e,t,n)}throw Error(d(156,t.tag))};function lK(e,t){var n=e.alternate;return null===n?((n=lY(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.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&e.flags,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 lX(e,t,n,r,a,o){var i=2;if(r=e,"function"==typeof e)lQ(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case N:return lJ(n.children,a,o,t);case O:i=8,a|=8;break;case P:return(e=lY(12,n,t,2|a)).elementType=P,e.lanes=o,e;case I:return(e=lY(13,n,t,a)).elementType=I,e.lanes=o,e;case F:return(e=lY(19,n,t,a)).elementType=F,e.lanes=o,e;case z:return l0(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case A:i=10;break e;case L:i=9;break e;case R:i=11;break e;case M:i=14;break e;case D:i=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=lY(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function lJ(e,t,n,r){return(e=lY(7,e,r,t)).lanes=n,e}function l0(e,t,n,r){return(e=lY(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={isHidden:!1},e}function l1(e,t,n){return(e=lY(6,e,null,t)).lanes=n,e}function l2(e,t,n){return(t=lY(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function l3(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tl(0),this.expirationTimes=tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tl(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function l4(e,t,n,r,a,o,i,l,s){return e=new l3(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lY(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},aZ(o),e}function l5(e){if(!e)return rH;e=e._reactInternals;e:{if(eW(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rY(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var n=e.type;if(rY(n))return rX(e,n,t)}return t}function l9(e,t,n,r,a,o,i,l,s){return(e=l4(n,r,!0,e,a,o,i,l,s)).context=l5(null),n=e.current,r=lw(),(o=aW(r,a=lx(n))).callback=null!=t?t:null,aV(n,o,a),e.current.lanes=a,ts(e,a,r),lS(e,r),e}function l6(e,t,n,r){var a=t.current,o=lw(),i=lx(a);return n=l5(n),null===t.context?t.context=n:t.pendingContext=n,(t=aW(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=aV(a,t,i))&&(lk(e,a,i,o),aq(e,a,i)),i}function l8(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function l7(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function se(e,t){l7(e,t),(e=e.alternate)&&l7(e,t)}var st="function"==typeof reportError?reportError:function(e){console.error(e)};function sn(e){this._internalRoot=e}function sr(e){this._internalRoot=e}function sa(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function so(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function si(){}sr.prototype.render=sn.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));l6(e,t,null,null)},sr.prototype.unmount=sn.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lO(function(){l6(null,e,null,null)}),t[rP]=null}},sr.prototype.unstable_scheduleHydration=function(e){if(e){var t=tg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<t_.length&&0!==t&&t<t_[n].priority;n++);t_.splice(n,0,e),0===n&&tj(e)}};function sl(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=l8(i);l.call(e)}}l6(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=l8(i);o.call(e)}}var i=l9(t,r,e,0,null,!1,!1,"",si);return e._reactRootContainer=i,e[rP]=i.current,ro(8===e.nodeType?e.parentNode:e),lO(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=l8(s);l.call(e)}}var s=l4(e,0,!1,null,null,!1,!1,"",si);return e._reactRootContainer=s,e[rP]=s.current,ro(8===e.nodeType?e.parentNode:e),lO(function(){l6(t,s,n,r)}),s}(n,t,e,a,r);return l8(i)}tf=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=tr(t.pendingLanes);0!==n&&(tu(t,1|n),lS(t,eJ()),0==(6&i4)&&(ls=eJ()+500,r5()))}break;case 13:lO(function(){var t=aB(e,1);null!==t&&lk(t,e,1,lw())}),se(e,1)}},tp=function(e){if(13===e.tag){var t=aB(e,0x8000000);null!==t&&lk(t,e,0x8000000,lw()),se(e,0x8000000)}},th=function(e){if(13===e.tag){var t=lx(e),n=aB(e,t);null!==n&&lk(n,e,t,lw()),se(e,t)}},tg=function(){return tc},tm=function(e,t){var n=tc;try{return tc=e,t()}finally{tc=n}},eE=function(e,t,n){switch(t){case"input":if(et(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=rD(r);if(!a)throw Error(d(90));Q(r),et(r,a)}}}break;case"textarea":es(e,n);break;case"select":null!=(t=n.value)&&eo(e,!!n.multiple,t,!1)}},eP=lN,eA=lO;var ss={findFiberByHostInstance:rI,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},su={bundleType:ss.bundleType,version:ss.version,rendererPackageName:ss.rendererPackageName,rendererConfig:ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eG(e))?null:e.stateNode},findFiberByHostInstance:ss.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sc.isDisabled&&sc.supportsFiber)try{e9=sc.inject(su),e6=sc}catch(e){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[rF,rM,rD,eN,eO,lN]},t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!sa(t))throw Error(d(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:j,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!sa(e))throw Error(d(299));var n=!1,r="",a=st;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=l4(e,1,!1,null,null,n,!1,r,a),e[rP]=t.current,ro(8===e.nodeType?e.parentNode:e),new sn(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return e=null===(e=eG(t))?null:e.stateNode},t.flushSync=function(e){return lO(e)},t.hydrate=function(e,t,n){if(!so(t))throw Error(d(200));return sl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!sa(e))throw Error(d(405));var r=null!=n&&n.hydratedSources||null,a=!1,o="",i=st;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=l9(t,null,e,1,null!=n?n:null,a,!1,o,i),e[rP]=t.current,ro(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new sr(t)},t.render=function(e,t,n){if(!so(t))throw Error(d(200));return sl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!so(e))throw Error(d(40));return!!e._reactRootContainer&&(lO(function(){sl(null,null,e,!1,function(){e._reactRootContainer=null,e[rP]=null})}),!0)},t.unstable_batchedUpdates=lN,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!so(n))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return sl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},20745:function(e,t,n){"use strict";var r=n(73935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},73935:function(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(e){console.error(e)}}(),e.exports=n(64448)},69590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,i){if(o===i)return!0;if(o&&i&&"object"==typeof o&&"object"==typeof i){var l,s,u,c;if(o.constructor!==i.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(!e(o[s],i[s]))return!1;return!0}if(n&&o instanceof Map&&i instanceof Map){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=o.entries();!(s=c.next()).done;)if(!e(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&i instanceof Set){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(i)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(o[s]!==i[s])return!1;return!0}if(o.constructor===RegExp)return o.source===i.source&&o.flags===i.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof i.valueOf)return o.valueOf()===i.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof i.toString)return o.toString()===i.toString();if((l=(u=Object.keys(o)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&o instanceof Element)return!1;for(s=l;0!=s--;){if("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!o.$$typeof){if(!e(o[u[s]],i[u[s]]))return!1}}return!0}return o!=o&&i!=i}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},70405:function(e,t,n){"use strict";n.d(t,{B6:function(){return Z},ql:function(){return K}});var r=n(67294),a=n(45697),o=n.n(a),i=n(69590),l=n.n(i),s=n(41143),u=n.n(s),c=n(96774),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}).apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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 m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={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(m).map(function(e){return m[e]}),x={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(x).reduce(function(e,t){return e[x[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},_=function(e){var t=S(e,m.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},E=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)},{})},C=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()},T=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},j=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.default.push(n):e.priority.push(n),e},{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},P=[m.NOSCRIPT,m.SCRIPT,m.STYLE],A=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,"'")},L=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},"")},R=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[x[n]||n]=e[n],t},t)},I=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=x[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},F=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){var e,n,a,o;return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=R(n,a),[r.createElement(m.TITLE,o,e)]},toString:function(){var r,a,o,i,l,s;return r=e,a=t.title,o=t.titleAttributes,i=n,l=L(o),s=j(a),l?"<"+r+' data-rh="true" '+l+">"+A(s,i)+"</"+r+">":"<"+r+' data-rh="true">'+A(s,i)+"</"+r+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return R(t)},toString:function(){return L(t)}};default:return{toComponent:function(){return I(e,t)},toString:function(){var r,a,o;return r=e,a=t,o=n,a.reduce(function(e,t){var n=Object.keys(t).filter(function(e){return!("innerHTML"===e||"cssText"===e)}).reduce(function(e,n){var r=void 0===t[n]?n:n+'="'+A(t[n],o)+'"';return e?e+" "+r:r},""),a=t.innerHTML||t.cssText||"",i=-1===P.indexOf(r);return e+"<"+r+' data-rh="true" '+n+(i?"/>":">"+a+"</"+r+">")},"")}}}},M=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=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,h,g,w,x,k,S,_=(h=(p=e).linkTags,g=p.scriptTags,w=p.encode,x=N(p.metaTags,v),k=N(h,y),S=N(g,b),{priorityMethods:{toComponent:function(){return[].concat(I(m.META,x.priority),I(m.LINK,k.priority),I(m.SCRIPT,S.priority))},toString:function(){return F(m.META,x.priority,w)+" "+F(m.LINK,k.priority,w)+" "+F(m.SCRIPT,S.priority,w)}},metaTags:x.default,linkTags:k.default,scriptTags:S.default});f=_.priorityMethods,u=_.linkTags,c=_.metaTags,d=_.scriptTags}return{priority:f,base:F(m.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(m.LINK,u,r),meta:F(m.META,c,r),noscript:F(m.NOSCRIPT,o,r),script:F(m.SCRIPT,d,r),style:F(m.STYLE,i,r),title:F(m.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},D=[],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?D:n.instances},add:function(e){(n.canUseDOM?D:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?D:n.instances).indexOf(e);(n.canUseDOM?D:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),B=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),U="undefined"!=typeof document,Z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new z(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);Z.canUseDOM=U,Z.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},Z.defaultProps={context:{}},Z.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(m.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(","))}},V=function(e,t){var n,r,a=e.baseTag,o=e.htmlAttributes,i=e.linkTags,l=e.metaTags,s=e.noscriptTags,u=e.onChangeClientState,c=e.scriptTags,d=e.styleTags,f=e.title,p=e.titleAttributes;W(m.BODY,e.bodyAttributes),W(m.HTML,o),n=f,r=p,void 0!==n&&document.title!==n&&(document.title=j(n)),W(m.TITLE,r);var h={baseTag:H(m.BASE,a),linkTags:H(m.LINK,i),metaTags:H(m.META,l),noscriptTags:H(m.NOSCRIPT,s),scriptTags:H(m.SCRIPT,c),styleTags:H(m.STYLE,d)},g={},y={};Object.keys(h).forEach(function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(g[e]=n),r.length&&(y[e]=h[e].oldTags)}),t&&t(),u(e,g,y)},q=null,G=function(e){function t(){for(var t,n=arguments.length,r=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={baseTag:(e=["href"],(t=n.helmetInstances.get().map(function(e){var t=f({},e.props);return delete t.context,t})).filter(function(e){return void 0!==e[m.BASE]}).map(function(e){return e[m.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},[])),bodyAttributes:E("bodyAttributes",t),defer:S(t,"defer"),encode:S(t,"encodeSpecialCharacters"),htmlAttributes:E("htmlAttributes",t),linkTags:C(m.LINK,["rel","href"],t),metaTags:C(m.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:C(m.NOSCRIPT,["innerHTML"],t),onChangeClientState:S(t,"onChangeClientState")||function(){},scriptTags:C(m.SCRIPT,["src","innerHTML"],t),styleTags:C(m.STYLE,["cssText"],t),title:_(t),titleAttributes:E("titleAttributes",t),prioritizeSeoTags:T(t,"prioritizeSeoTags")};Z.canUseDOM?(q&&cancelAnimationFrame(q),o.defer?q=requestAnimationFrame(function(){V(o,function(){q=null})}):(V(o),q=null)):M&&(a=M(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);G.propTypes={context:B.isRequired},G.displayName="HelmetDispatcher";var Y=["children"],Q=["children"],K=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 m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw 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 m.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case m.BODY:return f({},a,{bodyAttributes:f({},o)});case m.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=g(r,Y),l=Object.keys(i).reduce(function(e,t){return e[k[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case m.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.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=g(e,Q),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof z||(o=new z(o.context,o.instances)),o?r.createElement(G,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,function(e){return r.createElement(G,f({},a,{context:e}))})},t}(r.Component);K.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},K.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},K.displayName="Helmet"},69921:function(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,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(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 m:case g:case s:return e;default:return t}}case a:return t}}}function k(e){return x(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=m,t.Memo=g,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},59864:function(e,t,n){"use strict";e.exports=n(69921)},68356:function(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 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}).apply(this,arguments)}var l=n(67294),s=[],u=[],c=l.createContext(null);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(e){t.error=e}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){var n;return l.createElement((n=e)&&n.__esModule?n.default:n,t)}function h(e,t){if(!t.loading)throw Error("react-loadable requires a `loading` component");var d,f,h=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),g=null;function m(){return!g&&(g=e(h.loader)),g.promise}return s.push(m),"function"==typeof h.webpack&&u.push(function(){if((0,h.webpack)().every(function(e){return void 0!==e&&void 0!==n.m[e]}))return m()}),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}),g=e(h.loader),r._loadModule()}),m(),r.state={error:g.error,pastDelay:!1,timedOut:!1,loading:g.loading,loaded:g.loaded},r}r(n,t),n.preload=function(){return m()};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&&Array.isArray(h.modules)&&h.modules.forEach(function(t){e.context.report(t)}),!!g.loading){var t=function(t){if(!!e._mounted)e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout(function(){t({pastDelay:!0})},h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout(function(){t({timedOut:!0})},h.timeout));var n=function(){t({error:g.error,loaded:g.loaded,loading:g.loading}),e._clearTimeouts()};g.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(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextType",c),f}function g(e){return h(d,e)}g.Map=function(e){if("function"!=typeof e.render)throw Error("LoadableMap requires a `render(loaded, props)` function");return h(f,e)};var m=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return l.createElement(c.Provider,{value:{report:this.props.report}},l.Children.only(this.props.children))},t}(l.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then(function(){if(e.length)return y(e)})}g.Capture=m,g.preloadAll=function(){return new Promise(function(e,t){y(s).then(e,t)})},g.preloadReady=function(){return new Promise(function(e,t){y(u).then(e,e)})},e.exports=g},18790:function(e,t,n){"use strict";n.d(t,{H:function(){return i},f:function(){return function e(t,n,a){return void 0===a&&(a=[]),t.some(function(t){var o=t.path?(0,r.LX)(n,t):a.length?a[a.length-1].match:r.F0.computeRootMatch(n);return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,n,a)),o}),a}}});var r=n(16550),a=n(16019),o=n(67294);function i(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}},73727:function(e,t,n){"use strict";n.d(t,{OL:function(){return w},UT:function(){return d},VK:function(){return c},rU:function(){return y}});var r=n(16550),a=n(35091),o=n(67294),i=n(31381),l=n(16019),s=n(70443),u=n(21835),c=function(e){function t(){for(var t,n=arguments.length,r=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),d=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.q_)(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),f=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},h=function(e){return e},g=o.forwardRef;void 0===g&&(g=h);var m=g(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){var t;try{a&&a(e)}catch(t){throw e.preventDefault(),t}if(!e.defaultPrevented&&0===e.button&&(!u||"_self"===u)&&!((t=e).metaKey||t.altKey||t.ctrlKey||t.shiftKey))e.preventDefault(),r()}});return h!==g?c.ref=t||n:c.ref=n,o.createElement("a",c)}),y=g(function(e,t){var n=e.component,a=void 0===n?m:n,c=e.replace,d=e.to,y=e.innerRef,b=(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=p(f(d,e.location),e.location),s=r?n.createHref(r):"",m=(0,l.Z)({},b,{href:s,navigate:function(){var t=f(d,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(p(t));(c||r?n.replace:n.push)(t)}});return h!==g?m.ref=t||y:m.innerRef=y,o.createElement(a,m)})}),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v(function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,h=e.className,g=e.exact,m=e.isActive,w=e.location,x=e.sensitive,k=e.strict,S=e.style,_=e.to,E=e.innerRef,C=(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=p(f(_,n),n),s=i.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),j=T?(0,r.LX)(n.pathname,{path:T,exact:g,sensitive:x,strict:k}):null,N=!!(m?m(j,n):j),O="function"==typeof h?h(N):h,P="function"==typeof S?S(N):S;N&&(O=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(O,c),P=(0,l.Z)({},P,d));var A=(0,l.Z)({"aria-current":N&&a||null,className:O,style:P,to:i},C);return b!==v?A.ref=t||E:A.innerRef=E,o.createElement(y,A)})})},16550:function(e,t,n){"use strict";n.d(t,{AW:function(){return x},F0:function(){return y},LX:function(){return w},TH:function(){return C},k6:function(){return E},rs:function(){return S},s6:function(){return m}});var r=n(35091),a=n(67294),o=n(45697),i=n.n(o),l=n(31381),s=n(21835),u=n(16019),c=n(14779),d=n.n(c);n(59864),n(70443),n(8679);var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},p=a.createContext||function(e,t){var n,o,l,s="__create-react-context-"+(f[n="__global_unique_id__"]=(f[n]||0)+1)+"__",u=function(e){function n(){for(var t,n,r,a=arguments.length,o=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.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r,a,o=this.props.value,i=e.value;if((n=o)===(r=i)?0!==n||1/n==1/r:n!=n&&r!=r)a=0;else{a="function"==typeof t?t(o,i):0x3fffffff;0!=(a|=0)&&this.emitter.set(e.value,a)}}},a.render=function(){return this.props.children},n}(a.Component);u.childContextTypes=((o={})[s]=i().object.isRequired,o);var c=function(t){function n(){for(var e,n=arguments.length,r=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)!=0&&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?0x3fffffff:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?0x3fffffff:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){var e;return(Array.isArray(e=this.props.children)?e[0]:e)(this.state.value)},n}(a.Component);return c.contextTypes=((l={})[s]=i().object,l),{Provider:u,Consumer:c}},h=function(e){var t=p();return t.displayName=e,t},g=h("Router-History"),m=h("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.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(m.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(g.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var b={},v=0;function w(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=b[n]||(b[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return v<1e4&&(r[e]=o,v++),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(m.Consumer,null,function(t){t||(0,s.Z)(!1);var n,r=e.props.location||t.location,o=e.props.computedMatch?e.props.computedMatch:e.props.path?w(r.pathname,e.props):t.match,i=(0,u.Z)({},t,{location:r,match:o}),l=e.props,c=l.children,d=l.component,f=l.render;if(Array.isArray(c)&&(n=c,0===a.Children.count(n)))c=null;return a.createElement(m.Provider,{value:i},i.match?c?"function"==typeof c?c(i):c:d?a.createElement(d,i):f?f(i):null:"function"==typeof c?c(i):null)})},t}(a.Component);function k(e){return"/"===e.charAt(0)?e:"/"+e}a.Component;var S=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(m.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?w(o.pathname,(0,u.Z)({},e.props,{path:i})):t.match}}),r?a.cloneElement(n,{location:o,computedMatch:r}):null})},t}(a.Component),_=a.useContext;function E(){return _(g)}function C(){return _(m).location}},75251:function(e,t,n){"use strict";var r=n(67294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},72408:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,g(w,y.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,a)&&!_.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;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(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function N(e,t,a){if(null==e)return e;var o=[],i=0;return!function e(t,a,o,i,l){var s,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var f=!1;if(null===t)f=!0;else switch(d){case"string":case"number":f=!0;break;case"object":switch(t.$$typeof){case n:case r:f=!0}}if(f){;return l=l(f=t),t=""===i?"."+j(f,0):i,x(l)?(o="",null!=t&&(o=t.replace(T,"$&/")+"/"),e(l,a,o,"",function(e){return e})):null!=l&&(C(l)&&(s=l,u=o+(!l.key||f&&f.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+t,l={$$typeof:n,type:s.type,key:u,ref:s.ref,props:s.props,_owner:s._owner}),a.push(l)),1}if(f=0,i=""===i?".":i+":",x(t))for(var h=0;h<t.length;h++){var g=i+j(d=t[h],h);f+=e(d,a,o,g,l)}else{;if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=p&&c[p]||c["@@iterator"])?c:null))for(t=g.call(t),h=0;!(d=t.next()).done;)g=i+j(d=d.value,h++),f+=e(d,a,o,g,l);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return f}(e,o,"","",function(e){return t.call(a,e,i++)}),o}function O(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},A={transition:null};function L(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:A,ReactCurrentOwner:S},t.act=L,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=g({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)k.call(t,u)&&!_.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},t.unstable_act=L,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},67294:function(e,t,n){"use strict";e.exports=n(72408)},85893:function(e,t,n){"use strict";e.exports=n(75251)},60053:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,p=null,h=3,g=!1,m=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function k(e){if(y=!1,x(e),!m){if(null!==r(c))m=!0,L(S);else{var t=r(d);null!==t&&R(k,t.startTime-e)}}}function S(e,n){m=!1,y&&(y=!1,v(C),C=-1),g=!0;var o=h;try{for(x(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!N());){var i=p.callback;if("function"==typeof i){p.callback=null,h=p.priorityLevel;var l=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(c)&&a(c),x(n)}else a(c);p=r(c)}if(null!==p)var s=!0;else{var u=r(d);null!==u&&R(k,u.startTime-n),s=!1}return s}finally{p=null,h=o,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _=!1,E=null,C=-1,T=5,j=-1;function N(){return!(t.unstable_now()-j<T)}function O(){if(null!==E){var e=t.unstable_now();j=e;var n=!0;try{n=E(!0,e)}finally{n?i():(_=!1,E=null)}}else _=!1}if("function"==typeof w)i=function(){w(O)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,A=P.port2;P.port1.onmessage=O,i=function(){A.postMessage(null)}}else i=function(){b(O,0)};function L(e){E=e,_||(_=!0,i())}function R(e,n){C=b(function(){e(t.unstable_now())},n)}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(){m||g||(m=!0,L(S))},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"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch(o="object"==typeof o&&null!==o?"number"==typeof(o=o.delay)&&0<o?i+o:i:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>i?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(y?(v(C),C=-1):y=!0,R(k,o-i))):(e.sortIndex=l,n(c,e),m||g||(m=!0,L(S))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},96774:function(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}},94143:function(e,t,n){"use strict";n.d(t,{Z:()=>f}),n("67294");var r=n("85893"),a=n("68356"),o=n.n(a),i=n("37138");let l={0xdf1d46:[()=>n.e("2751").then(n.bind(n,12777)),"@site/docs/docusaurus/tutorial_basics/markdown_features.mdx",12777],"14eb3368":[()=>Promise.all([n.e("6212"),n.e("1983")]).then(n.bind(n,39140)),"@theme/DocCategoryGeneratedIndexPage",39140],0x11113f9:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("2247"),n.e("7048")]).then(n.bind(n,25628)),"@theme/DocItem",25628],"1df93b7f":[()=>Promise.all([n.e("6212"),n.e("8706")]).then(n.bind(n,12408)),"@site/src/pages/index.tsx",12408],"1f02d974":[()=>n.e("1509").then(n.t.bind(n,10806,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-category-data-types-bab.json",10806],"1f391b9e":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("2247"),n.e("2493")]).then(n.bind(n,8402)),"@theme/MDXPage",8402],"21038ea1":[()=>n.e("9597").then(n.bind(n,11958)),"@site/docs/docusaurus/intro.md",11958],"21cb2624":[()=>n.e("287").then(n.bind(n,35244)),"@site/docs/intro/getting_started.md",35244],"2dcf1f5a":[()=>n.e("128").then(n.t.bind(n,82323,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-5b8.json",82323],"34829b29":[()=>n.e("4494").then(n.bind(n,76687)),"@site/docs/docusaurus/tutorial_basics/create_a_page.md",76687],"3720c009":[()=>Promise.all([n.e("6212"),n.e("2898")]).then(n.bind(n,94190)),"@theme/DocTagsListPage",94190],"393be207":[()=>n.e("9969").then(n.bind(n,89958)),"@site/src/pages/markdown-page.md",89958],"40a9f62a":[()=>n.e("3657").then(n.bind(n,43422)),"@site/docs/docusaurus/tutorial_basics/congratulations.md",43422],"455d01c6":[()=>n.e("5706").then(n.bind(n,29240)),"@site/docs/docusaurus/tutorial_basics/create_a_blog_post.md",29240],"49f850f6":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("4645")]).then(n.bind(n,85664)),"@site/docs/spec/data/process.mdx",85664],"5187c925":[()=>n.e("2556").then(n.bind(n,40162)),"@site/docs/spec/formatting.md",40162],0x33d0175:[()=>n.e("1858").then(n.bind(n,74088)),"@site/docs/docusaurus/tutorial_basics/create_a_document.md",74088],"57ff1711":[()=>n.e("1870").then(n.t.bind(n,18395,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-category-resource-types-c4b.json",18395],"5e95c892":[()=>n.e("3432").then(n.bind(n,71359)),"@theme/DocsRoot",71359],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,75150)),"@generated/docusaurus.config",75150],"5f622d8a":[()=>n.e("2692").then(n.t.bind(n,91070,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-category-tutorial-extras-63e.json",91070],"644ac862":[()=>n.e("1860").then(n.t.bind(n,24499,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-category-tutorial-basics-ee3.json",24499],"6cca1acc":[()=>n.e("1460").then(n.bind(n,19991)),"@site/docs/spec/primitive_types.md",19991],"72af4c84":[()=>n.e("8652").then(n.bind(n,20021)),"@site/docs/docusaurus/tutorial_basics/deploy_your_site.md",20021],"742a8b7c":[()=>n.e("9210").then(n.t.bind(n,83780,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-tags-executive-98b.json",83780],"7ecec1f6":[()=>n.e("918").then(n.t.bind(n,89477,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-tags-developer-316.json",89477],"864e058a":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("7825")]).then(n.bind(n,54982)),"@site/docs/spec/data/event.mdx",54982],"9604fc81":[()=>n.e("8788").then(n.bind(n,11871)),"@site/docs/docusaurus/tutorial_extras/manage_docs_versions.md",11871],"992aa281":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("9277")]).then(n.bind(n,45067)),"@site/docs/spec/data/parcel_id.mdx",45067],a7456010:[()=>n.e("7365").then(n.t.bind(n,62050,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",62050],a7bd4aaa:[()=>n.e("5211").then(n.bind(n,58688)),"@theme/DocVersionRoot",58688],a94703ab:[()=>Promise.all([n.e("6212"),n.e("9914")]).then(n.bind(n,32001)),"@theme/DocRoot",32001],aba21aa0:[()=>n.e("5112").then(n.t.bind(n,42418,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",42418],b06371b7:[()=>n.e("3811").then(n.bind(n,4809)),"@site/docs/intro/terminology.md",4809],bb64f159:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("707")]).then(n.bind(n,59437)),"@site/docs/spec/data/code.mdx",59437],c465dbe4:[()=>n.e("9201").then(n.bind(n,51324)),"@site/docs/spec/concept/process_tracking.md",51324],d4d6078f:[()=>n.e("4131").then(n.t.bind(n,65285,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-tags-075.json",65285],d74d58d6:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("9417")]).then(n.bind(n,15956)),"@site/docs/spec/resource/process_event.mdx",15956],dea0bdbd:[()=>n.e("319").then(n.t.bind(n,2302,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-tags-business-967.json",2302],df203c0f:[()=>Promise.all([n.e("6212"),n.e("815")]).then(n.bind(n,58223)),"@theme/DocTagDocListPage",58223],f45bb4b8:[()=>n.e("1912").then(n.t.bind(n,96526,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-docs-category-concept-maps-28e.json",96526],fa6dc6d9:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("7376")]).then(n.bind(n,9905)),"@site/docs/spec/data/project_bundle.mdx",9905],fe557f77:[()=>n.e("249").then(n.bind(n,15775)),"@site/docs/docusaurus/tutorial_extras/translate_your_site.md",15775]};function s(e){let{error:t,retry:n,pastDelay:a}=e;return t?(0,r.jsxs)("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%"},children:[(0,r.jsx)("p",{children:String(t)}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):a?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,r.jsx)("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",children:(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,r.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n("96464"),c=n("54879");function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e("9196").then(n.bind(n,95672)),modules:["@theme/NotFound"],webpack:()=>[95672],render(e,t){let n=e.default;return(0,r.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,r.jsx)(n,{...t})})}});let a=i[`${e}-${t}`],d={},f=[],p=[];return Object.entries((0,u.Z)(a)).forEach(e=>{let[t,n]=e,r=l[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))}),o().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){let o=JSON.parse(JSON.stringify(a));Object.entries(t).forEach(t=>{let[n,r]=t,a=r.default;if(!a)throw 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 i=o,l=n.split(".");l.slice(0,-1).forEach(e=>{i=i[e]}),i[l[l.length-1]]=a});let i=o.__comp;delete o.__comp;let l=o.__context;delete o.__context;let s=o.__props;return delete o.__props,(0,r.jsx)(c.z,{value:l,children:(0,r.jsx)(i,{...o,...s,...n})})}})}let f=[{path:"/nr-pies/markdown-page",component:d("/nr-pies/markdown-page","137"),exact:!0},{path:"/nr-pies/docs",component:d("/nr-pies/docs","d37"),routes:[{path:"/nr-pies/docs",component:d("/nr-pies/docs","2b2"),routes:[{path:"/nr-pies/docs/tags",component:d("/nr-pies/docs/tags","270"),exact:!0},{path:"/nr-pies/docs/tags/business",component:d("/nr-pies/docs/tags/business","dd4"),exact:!0},{path:"/nr-pies/docs/tags/developer",component:d("/nr-pies/docs/tags/developer","407"),exact:!0},{path:"/nr-pies/docs/tags/executive",component:d("/nr-pies/docs/tags/executive","86a"),exact:!0},{path:"/nr-pies/docs",component:d("/nr-pies/docs","830"),routes:[{path:"/nr-pies/docs/category/concept-maps",component:d("/nr-pies/docs/category/concept-maps","99c"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/category/data-types",component:d("/nr-pies/docs/category/data-types","5a5"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/category/resource-types",component:d("/nr-pies/docs/category/resource-types","936"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/category/tutorial---basics",component:d("/nr-pies/docs/category/tutorial---basics","ba5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/category/tutorial---extras",component:d("/nr-pies/docs/category/tutorial---extras","9f4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/docusaurus/intro",component:d("/nr-pies/docs/docusaurus/intro","14f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/docusaurus/tutorial_basics/congratulations",component:d("/nr-pies/docs/docusaurus/tutorial_basics/congratulations","c72"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post",component:d("/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post","3ce"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document",component:d("/nr-pies/docs/docusaurus/tutorial_basics/create_a_document","dde"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page",component:d("/nr-pies/docs/docusaurus/tutorial_basics/create_a_page","cef"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site",component:d("/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site","cdc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features",component:d("/nr-pies/docs/docusaurus/tutorial_basics/markdown_features","0f5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions",component:d("/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions","792"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site",component:d("/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site","a50"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/docs/intro/getting_started",component:d("/nr-pies/docs/intro/getting_started","5e7"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/intro/terminology",component:d("/nr-pies/docs/intro/terminology","4d4"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/spec/concept/process_tracking",component:d("/nr-pies/docs/spec/concept/process_tracking","d36"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/spec/data/code",component:d("/nr-pies/docs/spec/data/code","80f"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/spec/data/event",component:d("/nr-pies/docs/spec/data/event","111"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/spec/data/parcel_id",component:d("/nr-pies/docs/spec/data/parcel_id","aa0"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/spec/data/process",component:d("/nr-pies/docs/spec/data/process","7fc"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/spec/data/project_bundle",component:d("/nr-pies/docs/spec/data/project_bundle","ae0"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/spec/formatting",component:d("/nr-pies/docs/spec/formatting","4f6"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/spec/primitive_types",component:d("/nr-pies/docs/spec/primitive_types","5e2"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/docs/spec/resource/process_event",component:d("/nr-pies/docs/spec/resource/process_event","53a"),exact:!0,sidebar:"docSidebar"}]}]}]},{path:"/nr-pies/",component:d("/nr-pies/","dfe"),exact:!0},{path:"*",component:d("*")}]},50258:function(e,t,n){"use strict";n.d(t,{_:function(){return o},t:function(){return i}});var r=n(85893),a=n(67294);let o=a.createContext(!1);function i(e){let{children:t}=e,[n,i]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{i(!0)},[]),(0,r.jsx)(o.Provider,{value:n,children:t})}},52465:function(e,t,n){"use strict";var r=n("85893"),a=n("67294"),o=n("20745"),i=n("70405"),l=n("73727"),s=n("75150"),u=n("57565");let c=[n(3601),n(21569),n(21987),n(17686)];var d=n("94143"),f=n("16550"),p=n("18790");function h(e){let{children:t}=e;return(0,r.jsx)(r.Fragment,{children:t})}var g=n("94819"),m=n("2933"),y=n("4757"),b=n("30140"),v=n("14713"),w=n("28910"),x=n("16959"),k=n("8365"),S=n("84315");function _(){let{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),a=(0,w.l)(),o=n[e].htmlLang,i=e=>e.replace("-","_");return(0,r.jsxs)(g.Z,{children:[Object.entries(n).map(e=>{let[t,{htmlLang:n}]=e;return(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)}),(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,r.jsx)("meta",{property:"og:locale",content:i(o)}),Object.values(n).filter(e=>o!==e.htmlLang).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:i(e.htmlLang)},`meta-og-${e.htmlLang}`))]})}function E(e){let{permalink:t}=e,{siteConfig:{url:n}}=(0,m.Z)(),a=function(){let{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:r}=(0,f.TH)();return e+(0,k.applyTrailingSlash)((0,y.ZP)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:a;return(0,r.jsxs)(g.Z,{children:[(0,r.jsx)("meta",{property:"og:url",content:o}),(0,r.jsx)("link",{rel:"canonical",href:o})]})}function C(){let{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(g.Z,{children:[(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("body",{className:x.h})]}),n&&(0,r.jsx)(v.d,{image:n}),(0,r.jsx)(E,{}),(0,r.jsx)(_,{}),(0,r.jsx)(S.Z,{tag:"default",locale:e}),(0,r.jsx)(g.Z,{children:t.map((e,t)=>(0,r.jsx)("meta",{...e},t))})]})}let T=new Map;var j=n("50258"),N=n("31716"),O=n("32000");function P(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let a=c.map(t=>{let r=t.default?.[e]??t[e];return r?.(...n)});return()=>a.forEach(e=>e?.())}let A=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,O.Z)(()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;let r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;let{hash:i}=t;if(i){let e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),P("onRouteDidUpdate",{previousLocation:r,location:n}))},[r,n]),t};function L(e){return Promise.all(Array.from(new Set([e,decodeURI(e)])).map(e=>(0,p.f)(d.Z,e)).flat().map(e=>e.route.component.preload?.()))}class R extends a.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.Z.canUseDOM?P("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;let n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=P("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),L(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){let{children:e,location:t}=this.props;return(0,r.jsx)(A,{previousLocation:this.previousLocation,location:t,children:(0,r.jsx)(f.AW,{location:t,render:()=>e})})}}let I="__docusaurus-base-url-issue-banner-suggestion-container";function F(){var e,t;let{siteConfig:{baseUrl:n}}=(0,m.Z)();return(0,r.jsx)(r.Fragment,{children:!u.Z.canUseDOM&&(0,r.jsx)(g.Z,{children:(0,r.jsx)("script",{children:(e=n,` +document.addEventListener('DOMContentLoaded', function maybeInsertBanner() { + var shouldInsert = typeof window['docusaurus'] === 'undefined'; + shouldInsert && insertBanner(); +}); + +function insertBanner() { + var bannerContainer = document.createElement('div'); + bannerContainer.id = '__docusaurus-base-url-issue-banner-container'; + var bannerHtml = ${JSON.stringify((t=e,` +<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;"> + <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p> + <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> + <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${t}</span> ${"/"===t?" (default value)":""}</p> + <p>We suggest trying baseUrl = <span id="${I}" style="font-weight: bold; color: green;"></span></p> +</div> +`)).replace(/</g,"\\<")}; + bannerContainer.innerHTML = bannerHtml; + document.body.prepend(bannerContainer); + var suggestionContainer = document.getElementById('${I}'); + var actualHomePagePath = window.location.pathname; + var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/' + ? actualHomePagePath + : actualHomePagePath + '/'; + suggestionContainer.innerHTML = suggestedBaseUrl; +} +`)})})})}function M(){let{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.Z)(),{pathname:n}=(0,f.TH)();return t&&n===e?(0,r.jsx)(F,{}):null}function D(){let{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,m.Z)(),i=(0,y.ZP)(e),{htmlLang:l,direction:s}=o[a];return(0,r.jsxs)(g.Z,{children:[(0,r.jsx)("html",{lang:l,dir:s}),(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,r.jsx)("link",{rel:"icon",href:i})]})}var z=n("16893"),$=n("7227");function B(){let e=(0,$.Z)();return(0,r.jsx)(g.Z,{children:(0,r.jsx)("html",{"data-has-hydrated":e})})}let U=(0,p.H)(d.Z);function Z(){let e=function(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,p.f)(d.Z,e.pathname).some(e=>{let{route:t}=e;return!0===t.exact}))return T.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}((0,f.TH)());return(0,r.jsx)(R,{location:e,children:U})}var H=n("37138");let W=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("undefined"==typeof document){n();return}let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var V=n("96464");let q=new Set,G=new Set,Y=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,Q=e=>!Y()&&!G.has(e)&&!q.has(e),K=e=>!Y()&&!G.has(e),X=e=>Object.entries(H).filter(t=>{let[n]=t;return n.replace(/-[^-]+$/,"")===e}).flatMap(e=>{let[,t]=e;return Object.values((0,V.Z)(t))}),J=Object.freeze({prefetch:e=>!!Q(e)&&(q.add(e),Promise.all((0,p.f)(d.Z,e).flatMap(e=>X(e.route.path)).map(e=>{let t=n.gca(e);if(t&&!t.includes("undefined"))return W(t).catch(()=>{});return Promise.resolve()}))),preload:e=>!!K(e)&&(G.add(e),L(e))});e=n.hmd(e);if(u.Z.canUseDOM){window.docusaurus=J;let t=document.getElementById("__docusaurus"),n=(0,r.jsx)(i.B6,{children:(0,r.jsx)(function(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,r.jsx)(l.UT,{children:t}):(0,r.jsx)(l.VK,{children:t})},{children:(0,r.jsx)(function(){return(0,r.jsx)(z.Z,{children:(0,r.jsx)(N.M,{children:(0,r.jsxs)(j.t,{children:[(0,r.jsxs)(h,{children:[(0,r.jsx)(D,{}),(0,r.jsx)(C,{}),(0,r.jsx)(M,{}),(0,r.jsx)(Z,{})]}),(0,r.jsx)(B,{})]})})})},{})})}),u=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},c=()=>{if(window.docusaurusRoot){window.docusaurusRoot.render(n);return}window.docusaurusRoot=o.hydrateRoot(t,n,{onRecoverableError:u})};L(window.location.pathname).then(()=>{(0,a.startTransition)(c)}),e.hot&&e.hot.accept()}},31716:function(e,t,n){"use strict";n.d(t,{_:()=>d,M:()=>f});var r=n("85893"),a=n("67294"),o=n("75150"),i=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/nr-pies/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/nr-pies/docs","mainDocId":"intro/getting_started","docs":[{"id":"docusaurus/intro","path":"/nr-pies/docs/docusaurus/intro","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/congratulations","path":"/nr-pies/docs/docusaurus/tutorial_basics/congratulations","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_blog_post","path":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_document","path":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_page","path":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/deploy_your_site","path":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/markdown_features","path":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_extras/manage_docs_versions","path":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_extras/translate_your_site","path":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site","sidebar":"tutorialSidebar"},{"id":"intro/getting_started","path":"/nr-pies/docs/intro/getting_started","sidebar":"docSidebar"},{"id":"intro/terminology","path":"/nr-pies/docs/intro/terminology","sidebar":"docSidebar"},{"id":"spec/concept/process_tracking","path":"/nr-pies/docs/spec/concept/process_tracking","sidebar":"docSidebar"},{"id":"spec/data/code","path":"/nr-pies/docs/spec/data/code","sidebar":"docSidebar"},{"id":"spec/data/event","path":"/nr-pies/docs/spec/data/event","sidebar":"docSidebar"},{"id":"spec/data/parcel_id","path":"/nr-pies/docs/spec/data/parcel_id","sidebar":"docSidebar"},{"id":"spec/data/process","path":"/nr-pies/docs/spec/data/process","sidebar":"docSidebar"},{"id":"spec/data/project_bundle","path":"/nr-pies/docs/spec/data/project_bundle","sidebar":"docSidebar"},{"id":"spec/formatting","path":"/nr-pies/docs/spec/formatting","sidebar":"docSidebar"},{"id":"spec/primitive_types","path":"/nr-pies/docs/spec/primitive_types","sidebar":"docSidebar"},{"id":"spec/resource/process_event","path":"/nr-pies/docs/spec/resource/process_event","sidebar":"docSidebar"},{"id":"/category/concept-maps","path":"/nr-pies/docs/category/concept-maps","sidebar":"docSidebar"},{"id":"/category/data-types","path":"/nr-pies/docs/category/data-types","sidebar":"docSidebar"},{"id":"/category/resource-types","path":"/nr-pies/docs/category/resource-types","sidebar":"docSidebar"},{"id":"/category/tutorial---basics","path":"/nr-pies/docs/category/tutorial---basics","sidebar":"tutorialSidebar"},{"id":"/category/tutorial---extras","path":"/nr-pies/docs/category/tutorial---extras","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"docSidebar":{"link":{"path":"/nr-pies/docs/intro/getting_started","label":"intro/getting_started"}},"tutorialSidebar":{"link":{"path":"/nr-pies/docs/docusaurus/intro","label":"docusaurus/intro"}}}}],"breadcrumbs":true}},"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1733362523219.json","lunrIndex":"lunr-index-1733362523219.json"}}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}'),s=n("62627"),u=JSON.parse('{"docusaurusVersion":"3.6.3","siteVersion":"0.1.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.3"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.3"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.3"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.3"},"docusaurus-lunr-search":{"type":"package","name":"docusaurus-lunr-search","version":"3.5.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"3.6.3"},"docusaurus-json-schema-plugin":{"type":"package","name":"docusaurus-json-schema-plugin","version":"1.12.2"}}}');let c={siteConfig:o.default,siteMetadata:u,globalData:i,i18n:l,codeTranslations:s},d=a.createContext(c);function f(e){let{children:t}=e;return(0,r.jsx)(d.Provider,{value:c,children:t})}},16893:function(e,t,n){"use strict";n.d(t,{Z:()=>g});var r=n("85893"),a=n("67294"),o=n("57565"),i=n("94819"),l=n("8365"),s=n("37647"),u=n("54879");function c(e){let{error:t,tryAgain:n}=e;return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,r.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,r.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,r.jsx)(d,{error:t})]})}function d(e){let{error:t}=e,n=(0,l.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function f(e){let{children:t}=e;return(0,r.jsx)(u.z,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function p(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)(f,{children:(0,r.jsxs)(g,{fallback:()=>(0,r.jsx)(c,{error:t,tryAgain:n}),children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("title",{children:"Page Error"})}),(0,r.jsx)(s.Z,{children:(0,r.jsx)(c,{error:t,tryAgain:n})})]})})}let h=e=>(0,r.jsx)(p,{...e});class g extends a.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){let{children:e}=this.props,{error:t}=this.state;return t?(this.props.fallback??h)({error:t,tryAgain:()=>this.setState({error:null})}):e??null}}},57565:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let 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}},94819:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893);n(67294);var a=n(70405);function o(e){return(0,r.jsx)(a.ql,{...e})}},83012:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(85893),a=n(67294),o=n(73727),i=n(8365),l=n(2933),s=n(63150),u=n(57565),c=n(41065),d=n(4757);let f=e=>e.startsWith("/"),p=a.forwardRef(function(e,t){var n;let{isNavLink:p,to:h,href:g,activeClassName:m,isActive:y,"data-noBrokenLinkCheck":b,autoAddBaseUrl:v=!0,...w}=e,{siteConfig:x}=(0,l.Z)(),{trailingSlash:k,baseUrl:S}=x,_=x.future.experimental_router,{withBaseUrl:E}=(0,d.Cg)(),C=(0,c.Z)(),T=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,()=>T.current);let j=h||g,N=(0,s.Z)(j),O=j?.replace("pathname://","");let P=void 0!==O?(n=O,v&&f(n)?E(n):n):void 0;"hash"===_&&P?.startsWith("./")&&(P=P?.slice(1)),P&&N&&(P=(0,i.applyTrailingSlash)(P,{trailingSlash:k,baseUrl:S}));let A=(0,a.useRef)(!1),L=p?o.OL:o.rU,R=u.Z.canUseIntersectionObserver,I=(0,a.useRef)(),F=()=>{!A.current&&null!=P&&(window.docusaurus.preload(P),A.current=!0)};(0,a.useEffect)(()=>(!R&&N&&u.Z.canUseDOM&&null!=P&&window.docusaurus.prefetch(P),()=>{R&&I.current&&I.current.disconnect()}),[I,P,R,N]);let M=P?.startsWith("#")??!1,D=!w.target||"_self"===w.target,z=!P||!N||!D||M&&"hash"!==_;!b&&(M||!z)&&C.collectLink(P),w.id&&C.collectAnchor(w.id);let $={};return z?(0,r.jsx)("a",{ref:T,href:P,...j&&!N&&{target:"_blank",rel:"noopener noreferrer"},...w,...$}):(0,r.jsx)(L,{...w,onMouseEnter:F,onTouchStart:F,innerRef:e=>{T.current=e,R&&e&&N&&(I.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(I.current.unobserve(e),I.current.disconnect(),null!=P&&window.docusaurus.prefetch(P))})}),I.current.observe(e))},to:P,...p&&{isActive:y,activeClassName:m},...$})})},96025:function(e,t,n){"use strict";n.r(t),n.d(t,{translate:()=>s,default:()=>u});var r=n("85893"),a=n("67294");function o(e,t){let n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){let n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,a.isValidElement)(e))?n.map((e,t)=>(0,a.isValidElement)(e)?a.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n("62627");function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:a}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),Error("The Docusaurus <Translate> component only accept simple string values");let i=l({message:t,id:n});return(0,r.jsx)(r.Fragment,{children:o(i,a)})}},57710:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});let r="default"},63150:function(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:function(){return a},b:function(){return r}})},4757:function(e,t,n){"use strict";n.d(t,{Cg:function(){return i},ZP:function(){return l}});var r=n(67294),a=n(2933),o=n(63150);function i(){let{siteConfig:e}=(0,a.Z)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router;return{withBaseUrl:(0,r.useCallback)((e,r)=>(function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:l}=e;if(!r||r.startsWith("#")||(0,o.b)(r))return r;if("hash"===l)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;let s=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+s:s})({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i])}}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{withBaseUrl:n}=i();return n(e,t)}},41065:function(e,t,n){"use strict";n.d(t,{Z:()=>i}),n("85893");var r=n("67294");let a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2933:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(31716);function o(){return(0,r.useContext)(a._)}},51672:function(e,t,n){"use strict";n.d(t,{OD:function(){return o},eZ:function(){return i}});var r=n(2933),a=n(57710);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){let{globalData:e}=(0,r.Z)();return e}()[e];if(!n&&t.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.m,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=o(e),i=r?.[t];if(!i&&n.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},7227:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(50258);function o(){return(0,r.useContext)(a._)}},32e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67294);let a=n(57565).Z.canUseDOM?r.useLayoutEffect:r.useEffect},96464:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){let t={};return!function e(n,a){Object.entries(n).forEach(n=>{let[o,i]=n,l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i})}(e),t}},54879:function(e,t,n){"use strict";n.d(t,{_:function(){return o},z:function(){return i}});var r=n(85893),a=n(67294);let o=a.createContext(null);function i(e){let{children:t,value:n}=e,i=a.useContext(o),l=(0,a.useMemo)(()=>(function(e){let{parent:t,value:n}=e;if(!t){if(n){if(!("plugin"in n))throw Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute")}else throw Error("Unexpected: no Docusaurus route context found");return n}let r={...t.data,...n?.data};return{plugin:t.plugin,data:r}})({parent:i,value:n}),[i,n]);return(0,r.jsx)(o.Provider,{value:l,children:t})}},93896:function(e,t,n){"use strict";n.d(t,{J:function(){return b},L5:function(){return y}});var r=n(85893),a=n(67294),o=n(81723),i=n(57710),l=n(30140),s=n(76009),u=n(85346);let c=e=>`docs-preferred-version-${e}`,d=(e,t,n)=>{(0,s.WA)(c(e),{persistence:t}).set(n)},f=(e,t)=>(0,s.WA)(c(e),{persistence:t}).get(),p=(e,t)=>{(0,s.WA)(c(e),{persistence:t}).del()},h=e=>Object.fromEntries(e.map(e=>[e,{preferredVersionName:null}])),g=a.createContext(null);function m(e){let{children:t}=e,n=function(){let e=(0,o._r)(),t=(0,l.L)().docs.versionPersistence,n=(0,a.useMemo)(()=>Object.keys(e),[e]),[r,i]=(0,a.useState)(()=>h(n));return(0,a.useEffect)(()=>{i(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;return Object.fromEntries(t.map(e=>[e,function(e){let t=f(e,n);return r[e].versions.some(e=>e.name===t)?{preferredVersionName:t}:(p(e,n),{preferredVersionName:null})}(e)]))}({allDocsData:e,versionPersistence:t,pluginIds:n}))},[e,t,n]),[r,(0,a.useMemo)(()=>({savePreferredVersion:function(e,n){d(e,t,n),i(t=>({...t,[e]:{preferredVersionName:n}}))}}),[t])]}();return(0,r.jsx)(g.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return(0,r.jsx)(m,{children:t})}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.m,t=(0,o.zh)(e),[n,r]=function(){let e=(0,a.useContext)(g);if(!e)throw new u.i6("DocsPreferredVersionContextProvider");return e}(),{preferredVersionName:l}=n[e],s=t.versions.find(e=>e.name===l)??null;return{preferredVersion:s,savePreferredVersionName:(0,a.useCallback)(t=>{r.savePreferredVersion(e,t)},[r,e])}}},85609:function(e,t,n){"use strict";n.d(t,{V:function(){return u},b:function(){return s}});var r=n(85893),a=n(67294),o=n(85346);let i=Symbol("EmptyContext"),l=a.createContext(i);function s(e){let{children:t,name:n,items:o}=e,i=(0,a.useMemo)(()=>n&&o?{name:n,items:o}:null,[n,o]);return(0,r.jsx)(l.Provider,{value:i,children:t})}function u(){let e=(0,a.useContext)(l);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},69369:function(e,t,n){"use strict";n.d(t,{LM:function(){return p},MN:function(){return E},SN:function(){return _},_F:function(){return y},f:function(){return b},jA:function(){return h},lO:function(){return x},oz:function(){return k},s1:function(){return w},vY:function(){return S},xz:function(){return f}});var r=n(67294),a=n(16550),o=n(18790),i=n(81723),l=n(79246),s=n(38341),u=n(93896),c=n(68529),d=n(85609);function f(e){let t=(0,c.E)();if(!e)return;let n=t.docs[e];if(!n)throw Error(`no version doc found by id=${e}`);return n}function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(let t of e.items){let e=p(t);if(e)return e}}(e):void 0:e.href}function h(){let{pathname:e}=(0,a.TH)(),t=(0,d.V)();if(!t)throw Error("Unexpected: cant find current sidebar in context");let n=v({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}let g=(e,t)=>void 0!==e&&(0,l.Mg)(e,t),m=(e,t)=>e.some(e=>y(e,t));function y(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||m(e.items,t))}function b(e,t){return(0,r.useMemo)(()=>e.filter(e=>(function e(t,n){switch(t.type){case"category":return y(t,n)||t.items.some(t=>e(t,n));case"link":return!t.unlisted||y(t,n);default:return!0}})(e,t)),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e,a=[];return!function e(t){for(let o of t)if("category"===o.type&&((0,l.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,l.Mg)(o.href,n))return!(r&&"category"!==o.type)&&a.unshift(o),!0;return!1}(t),a}function w(){let e=(0,d.V)(),{pathname:t}=(0,a.TH)();return!1!==i.gA()?.pluginData.breadcrumbs&&e?v({sidebarItems:e.items,pathname:t}):null}function x(e){let{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,u.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)(()=>(0,s.jj)([t,n,a].filter(Boolean)),[t,n,a])}function k(e,t){let n=x(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}". +Available sidebar ids are: +- ${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}function S(e,t){let n=x(t);return(0,r.useMemo)(()=>{let 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 Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map(e=>e.name).join(", ")}". +Available doc ids are: +- ${(0,s.jj)(t.map(e=>e.id)).join("\n- ")}`)}return r},[e,n])}function _(e){let{route:t}=e,n=(0,a.TH)(),r=(0,c.E)(),i=t.routes,l=i.find(e=>(0,a.LX)(n.pathname,e));if(!l)return null;let s=l.sidebar,u=s?r.docsSidebars[s]:void 0;return{docElement:(0,o.H)(i),sidebarName:s,sidebarItems:u}}function E(e){return e.filter(e=>"category"!==e.type&&"link"!==e.type||!!p(e))}},68529:function(e,t,n){"use strict";n.d(t,{E:function(){return s},q:function(){return l}});var r=n(85893),a=n(67294),o=n(85346);let i=a.createContext(null);function l(e){let{children:t,version:n}=e;return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},81723:function(e,t,n){"use strict";n.d(t,{Jo:()=>h,zh:()=>u,yW:()=>f,gB:()=>d,Iw:()=>p,gA:()=>c,_r:()=>s});var r=n("16550"),a=n("51672");let o=e=>e.versions.find(e=>e.isLast);function i(e,t){var n,a;let o=(n=e,a=t,[...n.versions].sort((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0).find(e=>!!(0,r.LX)(a,{path:e.path,exact:!1,strict:!1}))),i=o?.docs.find(e=>!!r.LX(t,{path:e.path,exact:!0,strict:!1})),l=i?function(t){let n={};return e.versions.forEach(e=>{e.docs.forEach(r=>{r.id===t&&(n[e.name]=r)})}),n}(i.id):{};return{activeVersion:o,activeDoc:i,alternateDocVersions:l}}let l={},s=()=>(0,a.OD)("docusaurus-plugin-content-docs")??l,u=e=>{try{return(0,a.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw Error(`You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled${"Default"===e?"":` (pluginId=${e}`}`,{cause:t})}};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=s(),{pathname:n}=(0,r.TH)();return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},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 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 d(e){return u(e).versions}function f(e){return o(u(e))}function p(e){let t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}function h(e){let t=u(e),{pathname:n}=(0,r.TH)();return function(e,t){let n=o(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},21987:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(74865),a=n.n(r);a().configure({showSpinner:!1});let o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){let e=window.setTimeout(()=>{a().start()},200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},21569:function(e,t,n){"use strict";var r=n("83229"),a=n("75150");!function(e){let{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t,o=globalThis.Prism;globalThis.Prism=e,r.forEach(e=>{"php"===e&&n(96854),n(70037)(`./prism-${e}`)}),delete globalThis.Prism,void 0!==o&&(globalThis.Prism=e)}(r.p1)},34403:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("85893");n("67294");var a=n("67026"),o=n("96025"),i=n("30140"),l=n("83012"),s=n("41065");let u={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};function c(e){let{as:t,id:n,...c}=e,d=(0,s.Z)(),{navbar:{hideOnScroll:f}}=(0,i.L)();if("h1"===t||!n)return(0,r.jsx)(t,{...c,id:void 0});d.collectAnchor(n);let p=(0,o.translate)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,r.jsxs)(t,{...c,className:(0,a.Z)("anchor",f?u.anchorWithHideOnScrollNavbar:u.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,r.jsx)(l.Z,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200B"})]})}},62425:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n("85893");n("67294");let a="iconExternalLink_nPIU";function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,r.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a,children:(0,r.jsx)("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"})})}},37647:function(e,t,n){"use strict";n.d(t,{Z:()=>e7});var r=n("85893"),a=n("67294"),o=n("67026"),i=n("16893"),l=n("14713"),s=n("16550"),u=n("96025"),c=n("10346");let d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}let p=(0,u.translate)({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 h(e){let t=e.children??p,{containerRef:n,onClick:o}=function(){let e=(0,a.useRef)(null),{action:t}=(0,s.k6)(),n=(0,a.useCallback)(e=>{e.preventDefault();let t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&f(t)},[]);return(0,c.S)(n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)}),{containerRef:e,onClick:n}}();return(0,r.jsx)("div",{ref:n,role:"region","aria-label":p,children:(0,r.jsx)("a",{...e,href:`#${d}`,onClick:o,children:t})})}var g=n("84681"),m=n("16959");let y="skipToContent_fXgn";function b(){return(0,r.jsx)(h,{className:y})}var v=n("30140"),w=n("22093");function x(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...l}=e;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...l,children:(0,r.jsx)("g",{stroke:a,strokeWidth:o,children:(0,r.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}let k="closeButton_CVFx";function S(e){return(0,r.jsx)("button",{type:"button","aria-label":(0,u.translate)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",k,e.className),children:(0,r.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}let _="content_knG7";function E(e){let{announcementBar:t}=(0,v.L)(),{content:n}=t;return(0,r.jsx)("div",{...e,className:(0,o.Z)(_,e.className),dangerouslySetInnerHTML:{__html:n}})}let C={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){let{announcementBar:e}=(0,v.L)(),{isActive:t,close:n}=(0,w.n)();if(!t)return null;let{backgroundColor:a,textColor:o,isCloseable:i}=e;return(0,r.jsxs)("div",{className:C.announcementBar,style:{backgroundColor:a,color:o},role:"banner",children:[i&&(0,r.jsx)("div",{className:C.announcementBarPlaceholder}),(0,r.jsx)(E,{className:C.announcementBarContent}),i&&(0,r.jsx)(S,{onClick:n,className:C.announcementBarClose})]})}var j=n("71915"),N=n("69599"),O=n("85346"),P=n("11179");let A=a.createContext(null);function L(e){let{children:t}=e,n=function(){let e=(0,j.e)(),t=(0,P.HY)(),[n,r]=(0,a.useState)(!1),o=null!==t.component,i=(0,O.D9)(o);return(0,a.useEffect)(()=>{o&&!i&&r(!0)},[o,i]),(0,a.useEffect)(()=>{if(!o){r(!1);return}!e.shown&&r(!0)},[e.shown,o]),(0,a.useMemo)(()=>[n,r],[n])}();return(0,r.jsx)(A.Provider,{value:n,children:t})}function R(){let e=(0,a.useContext)(A);if(!e)throw new O.i6("NavbarSecondaryMenuDisplayProvider");let[t,n]=e,o=(0,a.useCallback)(()=>n(!1),[n]),i=(0,P.HY)();return(0,a.useMemo)(()=>({shown:t,hide:o,content:function(e){if(e.component){let t=e.component;return(0,r.jsx)(t,{...e.props})}}(i)}),[o,i,t])}function I(e){let{header:t,primaryMenu:n,secondaryMenu:a}=e,{shown:i}=R();return(0,r.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,r.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i}),children:[(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:a})]})]})}var F=n("84239"),M=n("7227");function D(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("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 z(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("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"})})}let $={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"},B=a.memo(function(e){let{className:t,buttonClassName:n,value:a,onChange:i}=e,l=(0,M.Z)(),s=(0,u.translate)({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"===a?(0,u.translate)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,u.translate)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,r.jsx)("div",{className:(0,o.Z)($.toggle,t),children:(0,r.jsxs)("button",{className:(0,o.Z)("clean-btn",$.toggleButton,!l&&$.toggleButtonDisabled,n),type:"button",onClick:()=>i("dark"===a?"light":"dark"),disabled:!l,title:s,"aria-label":s,"aria-live":"polite","aria-pressed":"dark"===a?"true":"false",children:[(0,r.jsx)(D,{className:(0,o.Z)($.toggleIcon,$.lightToggleIcon)}),(0,r.jsx)(z,{className:(0,o.Z)($.toggleIcon,$.darkToggleIcon)})]})})}),U={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function Z(e){let{className:t}=e,n=(0,v.L)().navbar.style,a=(0,v.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:i}=(0,F.I)();return a?null:(0,r.jsx)(B,{className:t,buttonClassName:"dark"===n?U.darkNavbarColorModeToggle:void 0,value:o,onChange:i})}var H=n("44987");function W(){return(0,r.jsx)(H.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function V(){let e=(0,j.e)();return(0,r.jsx)("button",{type:"button","aria-label":(0,u.translate)({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(),children:(0,r.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function q(){return(0,r.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,r.jsx)(W,{}),(0,r.jsx)(Z,{className:"margin-right--md"}),(0,r.jsx)(V,{})]})}var G=n("83012"),Y=n("4757"),Q=n("63150");function K(e,t){return void 0!==e&&void 0!==t&&RegExp(e,"gi").test(t)}var X=n("62425");function J(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:l,isDropdownLink:s,prependBaseUrlToHref:u,...c}=e,d=(0,Y.ZP)(a),f=(0,Y.ZP)(t),p=(0,Y.ZP)(o,{forcePrependBaseUrl:!0}),h=i&&o&&!(0,Q.Z)(o),g=l?{dangerouslySetInnerHTML:{__html:l}}:{children:(0,r.jsxs)(r.Fragment,{children:[i,h&&(0,r.jsx)(X.Z,{...s&&{width:12,height:12}})]})};return o?(0,r.jsx)(G.Z,{href:u?p:o,...c,...g}):(0,r.jsx)(G.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?K(n,t.pathname):t.pathname.startsWith(f)},...c,...g})}function ee(e){let{className:t,isDropdownItem:n=!1,...a}=e,i=(0,r.jsx)(J,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...a});return n?(0,r.jsx)("li",{children:i}):i}function et(e){let{className:t,isDropdownItem:n,...a}=e;return(0,r.jsx)("li",{className:"menu__list-item",children:(0,r.jsx)(J,{className:(0,o.Z)("menu__link",t),...a})})}function en(e){let{mobile:t=!1,position:n,...a}=e;return(0,r.jsx)(t?et:ee,{...a,activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var er=n("57455"),ea=n("79246"),eo=n("2933");let ei="dropdownNavbarItemMobile_S0Fm";function el(e){let{items:t,position:n,className:i,onClick:l,...s}=e,u=(0,a.useRef)(null),[c,d]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=e=>{if(!(!u.current||u.current.contains(e.target)))d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}},[u]),(0,r.jsxs)("div",{ref:u,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,r.jsx)(J,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.Z)("navbar__link",i),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,r.jsx)("ul",{className:"dropdown__menu",children:t.map((e,t)=>(0,a.createElement)(eT,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t}))})]})}function es(e){var t,n;let{items:i,className:l,position:u,onClick:c,...d}=e,f=function(){let{siteConfig:{baseUrl:e}}=(0,eo.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}();let p=(t=i,n=f,t.some(e=>{var t,r;return t=e,r=n,!!((0,ea.Mg)(t.to,r)||K(t.activeBaseRegex,r)||t.activeBasePath&&r.startsWith(t.activeBasePath))||!1})),{collapsed:h,toggleCollapsed:g,setCollapsed:m}=(0,er.u)({initialState:()=>!p});return(0,a.useEffect)(()=>{p&&m(!p)},[f,p,m]),(0,r.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":h}),children:[(0,r.jsx)(J,{role:"button",className:(0,o.Z)(ei,"menu__link menu__link--sublist menu__link--sublist-caret",l),...d,onClick:e=>{e.preventDefault(),g()},children:d.children??d.label}),(0,r.jsx)(er.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:h,children:i.map((e,t)=>(0,a.createElement)(eT,{mobile:!0,isDropdownItem:!0,onClick:c,activeClassName:"menu__link--active",...e,key:t}))})]})}function eu(e){let{mobile:t=!1,...n}=e;return(0,r.jsx)(t?es:el,{...n})}var ec=n("28910");function ed(e){let{width:t=20,height:n=20,...a}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...a,children:(0,r.jsx)("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"})})}let ef="iconLanguage_nlXk",ep=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r);else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(r&&(r+=" "),r+=t);return r};var eh=n("51672"),eg=n("813"),em=n.n(eg);function ey(){let e=(0,s.TH)(),t=(0,s.k6)(),{siteConfig:{baseUrl:n}}=(0,eo.Z)(),[r,o]=(0,a.useState)({wordToHighlight:"",isTitleSuggestion:!1,titleText:""});return(0,a.useEffect)(()=>{if(!e.state?.highlightState||0===e.state.highlightState.wordToHighlight.length)return;o(e.state.highlightState);let{highlightState:n,...r}=e.state;t.replace({...e,state:r})},[e.state?.highlightState,t,e]),(0,a.useEffect)(()=>{if(0===r.wordToHighlight.length)return;let e=document.getElementsByTagName("article")[0]??document.getElementsByTagName("main")[0];if(!e)return;let t=new(em())(e),n={ignoreJoiners:!0};return t.mark(r.wordToHighlight,n),()=>t.unmark(n)},[r,n]),null}let eb=e=>{let t;let o=(0,a.useRef)(!1),i=(0,a.useRef)(null),[l,u]=(0,a.useState)(!1),c=(0,s.k6)(),{siteConfig:d={}}=(0,eo.Z)(),f=(d.plugins||[]).find(e=>Array.isArray(e)&&"string"==typeof e[0]&&e[0].includes("docusaurus-lunr-search")),p=(0,M.Z)(),{baseUrl:h}=d,g=f&&f[1]?.assetUrl||h,m=(e,t,n,r)=>{new n({searchDocs:e,searchIndex:t,baseUrl:h,inputSelector:"#search_input_react",handleSelected:(e,t,n)=>{let a=n.url||"/";document.createElement("a").href=a,e.setVal(""),t.target.blur();let o="";if(r.highlightResult)try{let e=(n.text||n.subcategory||n.title).match(RegExp("<span.+span>\\w*","g"));if(e&&e.length>0){let t=document.createElement("div");t.innerHTML=e[0],o=t.textContent}}catch(e){console.log(e)}c.push(a,{highlightState:{wordToHighlight:o}})},maxHits:r.maxHits})},y=(0,eh.eZ)("docusaurus-lunr-search"),b=()=>fetch(`${g}${y.fileNames.searchDoc}`).then(e=>e.json()),v=()=>fetch(`${g}${y.fileNames.lunrIndex}`).then(e=>e.json()),w=()=>{!o.current&&(Promise.all([b(),v(),Promise.all([n.e("4294"),n.e("9990")]).then(n.bind(n,75322)),Promise.all([n.e("6212"),n.e("2061")]).then(n.bind(n,68544))]).then(e=>{let[t,n,{default:r}]=e,{searchDocs:a,options:o}=t;if(!!a&&0!==a.length)m(a,n,r,o),u(!0)}),o.current=!0)},x=(0,a.useCallback)(t=>{!i.current.contains(t.target)&&i.current.focus(),e.handleSearchBarToggle&&e.handleSearchBarToggle(!e.isSearchBarExpanded)},[e.isSearchBarExpanded]);return p&&(w(),t=window.navigator.platform.startsWith("Mac")?"Search \u2318+K":"Search Ctrl+K"),(0,a.useEffect)(()=>{e.autoFocus&&l&&i.current.focus()},[l]),(0,r.jsxs)("div",{className:"navbar__search",children:[(0,r.jsx)("span",{"aria-label":"expand searchbar",role:"button",className:ep("search-icon",{"search-icon-hidden":e.isSearchBarExpanded}),onClick:x,onKeyDown:x,tabIndex:0}),(0,r.jsx)("input",{id:"search_input_react",type:"search",placeholder:l?t:"Loading...","aria-label":"Search",className:ep("navbar__search-input",{"search-bar-expanded":e.isSearchBarExpanded},{"search-bar":!e.isSearchBarExpanded}),onClick:w,onMouseOver:w,onFocus:x,onBlur:x,ref:i,disabled:!l}),(0,r.jsx)(ey,{})]},"search-box")},ev="navbarSearchContainer_Bca1";function ew(e){let{children:t,className:n}=e;return(0,r.jsx)("div",{className:(0,o.Z)(n,ev),children:t})}var ex=n("81723"),ek=n("69369");let eS=e=>e.docs.find(t=>t.id===e.mainDocId);var e_=n("93896");function eE(e,t){var n;return t.alternateDocVersions[e.name]??(n=e).docs.find(e=>e.id===n.mainDocId)}let eC={default:en,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,queryString:o="",...i}=e,{i18n:{currentLocale:l,locales:c,localeConfigs:d}}=(0,eo.Z)(),f=(0,ec.l)(),{search:p,hash:h}=(0,s.TH)(),g=[...n,...c.map(e=>{let n=`pathname://${f.createUrl({locale:e,fullyQualified:!1})}`,r=`${n}${p}${h}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:r,target:"_self",autoAddBaseUrl:!1,className:e===l?t?"menu__link--active":"dropdown__link--active":""}}),...a],m=t?(0,u.translate)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[l].label;return(0,r.jsx)(eu,{...i,mobile:t,label:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ed,{className:ef}),m]}),items:g})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,r.jsx)(ew,{className:n,children:(0,r.jsx)(eb,{})})},dropdown:eu,html:function(e){let{value:t,className:n,mobile:a=!1,isDropdownItem:i=!1}=e;return(0,r.jsx)(i?"li":"div",{className:(0,o.Z)({navbar__item:!a&&!i,"menu__list-item":a},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e,{activeDoc:i}=(0,ex.Iw)(a),l=(0,ek.vY)(t,a),s=i?.path===l?.path;return null===l||l.unlisted&&!s?null:(0,r.jsx)(en,{exact:!0,...o,isActive:()=>s||!!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,{activeDoc:i}=(0,ex.Iw)(a),l=(0,ek.oz)(t,a).link;if(!l)throw Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,r.jsx)(en,{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,i=(0,ek.lO)(a)[0],l=t??i.label,s=n??eS(i).path;return(0,r.jsx)(en,{...o,label:l,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...l}=e,{search:c,hash:d}=(0,s.TH)(),f=(0,ex.Iw)(n),p=(0,ex.gB)(n),{savePreferredVersionName:h}=(0,e_.J)(n),g=[...o,...p.map(function(e){let t=eE(e,f);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>h(e.name)}}),...i],m=(0,ek.lO)(n)[0],y=t&&g.length>1?(0,u.translate)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):m.label,b=t&&g.length>1?void 0:eE(m,f).path;return g.length<=1?(0,r.jsx)(en,{...l,mobile:t,label:y,to:b,isActive:a?()=>!1:void 0}):(0,r.jsx)(eu,{...l,mobile:t,label:y,to:b,items:g,isActive:a?()=>!1:void 0})}};function eT(e){var t,n;let{type:a,...o}=e;let i=eC[t=a,n=o,t&&"default"!==t?t:"items"in n?"dropdown":"default"];if(!i)throw Error(`No NavbarItem component found for type "${a}".`);return(0,r.jsx)(i,{...o})}function ej(){let e=(0,j.e)(),t=(0,v.L)().navbar.items;return(0,r.jsx)("ul",{className:"menu__list",children:t.map((t,n)=>(0,a.createElement)(eT,{mobile:!0,...t,onClick:()=>e.toggle(),key:n}))})}function eN(e){return(0,r.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,r.jsx)(u.default,{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)",children:"\u2190 Back to main menu"})})}function eO(){let e=0===(0,v.L)().navbar.items.length,t=R();return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(eN,{onClick:()=>t.hide()}),t.content]})}function eP(){let e=(0,j.e)();return(!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(0,a.useEffect)(()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[e])}(e.shown),e.shouldRender)?(0,r.jsx)(I,{header:(0,r.jsx)(q,{}),primaryMenu:(0,r.jsx)(ej,{}),secondaryMenu:(0,r.jsx)(eO,{})}):null}let eA={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function eL(e){return(0,r.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function eR(e){let{children:t}=e,{navbar:{hideOnScroll:n,style:i}}=(0,v.L)(),l=(0,j.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){let[t,n]=(0,a.useState)(e),r=(0,a.useRef)(!1),o=(0,a.useRef)(0),i=(0,a.useCallback)(e=>{null!==e&&(o.current=e.getBoundingClientRect().height)},[]);return(0,N.RF)((t,a)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current){n(!0);return}if(r.current){r.current=!1;return}let l=a?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)}),(0,c.S)(t=>{if(!e)return;let a=t.location.hash;if(a?document.getElementById(a.substring(1)):void 0){r.current=!0,n(!1);return}n(!0)}),{navbarRef:i,isNavbarVisible:t}}(n);return(0,r.jsxs)("nav",{ref:s,"aria-label":(0,u.translate)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[eA.navbarHideable,!d&&eA.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":l.shown}),children:[t,(0,r.jsx)(eL,{onClick:l.toggle}),(0,r.jsx)(eP,{})]})}var eI=n("78720");function eF(e){let{width:t=30,height:n=30,className:a,...o}=e;return(0,r.jsx)("svg",{className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,r.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function eM(){let{toggle:e,shown:t}=(0,j.e)();return(0,r.jsx)("button",{onClick:e,"aria-label":(0,u.translate)({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",children:(0,r.jsx)(eF,{})})}let eD="colorModeToggle_DEke";function ez(e){let{items:t}=e;return(0,r.jsx)(r.Fragment,{children:t.map((e,t)=>(0,r.jsx)(eI.QW,{onError:t=>Error(`A theme navbar item failed to render. +Please double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config: +${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,r.jsx)(eT,{...e})},t))})}function e$(e){let{left:t,right:n}=e;return(0,r.jsxs)("div",{className:"navbar__inner",children:[(0,r.jsx)("div",{className:"navbar__items",children:t}),(0,r.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function eB(){let e=(0,j.e)(),t=(0,v.L)().navbar.items,[n,a]=function(e){function t(e){return(e.position??"right")==="left"}let n=e.filter(t);return[n,e.filter(e=>!t(e))]}(t),o=t.find(e=>"search"===e.type);return(0,r.jsx)(e$,{left:(0,r.jsxs)(r.Fragment,{children:[!e.disabled&&(0,r.jsx)(eM,{}),(0,r.jsx)(W,{}),(0,r.jsx)(ez,{items:n})]}),right:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ez,{items:a}),(0,r.jsx)(Z,{className:eD}),!o&&(0,r.jsx)(ew,{children:(0,r.jsx)(eb,{})})]})})}function eU(){return(0,r.jsx)(eR,{children:(0,r.jsx)(eB,{})})}function eZ(e){let{item:t}=e,{to:n,href:a,label:o,prependBaseUrlToHref:i,...l}=t,s=(0,Y.ZP)(n),u=(0,Y.ZP)(a,{forcePrependBaseUrl:!0});return(0,r.jsxs)(G.Z,{className:"footer__link-item",...a?{href:i?u:a}:{to:s},...l,children:[o,a&&!(0,Q.Z)(a)&&(0,r.jsx)(X.Z,{})]})}function eH(e){let{item:t}=e;return t.html?(0,r.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)("li",{className:"footer__item",children:(0,r.jsx)(eZ,{item:t})},t.href??t.to)}function eW(e){let{column:t}=e;return(0,r.jsxs)("div",{className:"col footer__col",children:[(0,r.jsx)("div",{className:"footer__title",children:t.title}),(0,r.jsx)("ul",{className:"footer__items clean-list",children:t.items.map((e,t)=>(0,r.jsx)(eH,{item:e},t))})]})}function eV(e){let{columns:t}=e;return(0,r.jsx)("div",{className:"row footer__links",children:t.map((e,t)=>(0,r.jsx)(eW,{column:e},t))})}function eq(){return(0,r.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function eG(e){let{item:t}=e;return t.html?(0,r.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)(eZ,{item:t})}function eY(e){let{links:t}=e;return(0,r.jsx)("div",{className:"footer__links text--center",children:(0,r.jsx)("div",{className:"footer__links",children:t.map((e,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(eG,{item:e}),t.length!==n+1&&(0,r.jsx)(eq,{})]},n))})})}function eQ(e){let{links:t}=e;return"title"in t[0]?(0,r.jsx)(eV,{columns:t}):(0,r.jsx)(eY,{links:t})}var eK=n("16561");let eX={footerLogoLink:"footerLogoLink_BH7S"};function eJ(e){let{logo:t}=e,{withBaseUrl:n}=(0,Y.Cg)(),a={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,r.jsx)(eK.Z,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:a,width:t.width,height:t.height,style:t.style})}function e0(e){let{logo:t}=e;return t.href?(0,r.jsx)(G.Z,{href:t.href,className:eX.footerLogoLink,target:t.target,children:(0,r.jsx)(eJ,{logo:t})}):(0,r.jsx)(eJ,{logo:t})}function e1(e){let{copyright:t}=e;return(0,r.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function e2(e){let{style:t,links:n,logo:a,copyright:i}=e;return(0,r.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,r.jsxs)("div",{className:"container container-fluid",children:[n,(a||i)&&(0,r.jsxs)("div",{className:"footer__bottom text--center",children:[a&&(0,r.jsx)("div",{className:"margin-bottom--sm",children:a}),i]})]})})}let e3=a.memo(function(){let{footer:e}=(0,v.L)();if(!e)return null;let{copyright:t,links:n,logo:a,style:o}=e;return(0,r.jsx)(e2,{style:o,links:n&&n.length>0&&(0,r.jsx)(eQ,{links:n}),logo:a&&(0,r.jsx)(e0,{logo:a}),copyright:t&&(0,r.jsx)(e1,{copyright:t})})}),e4=(0,O.Qc)([F.S,w.p,N.OC,e_.L5,l.VC,function(e){let{children:t}=e;return(0,r.jsx)(P.n2,{children:(0,r.jsx)(j.M,{children:(0,r.jsx)(L,{children:t})})})}]);function e5(e){let{children:t}=e;return(0,r.jsx)(e4,{children:t})}var e9=n("34403");function e6(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)("main",{className:"container margin-vert--xl",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(e9.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(u.default,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,r.jsx)("div",{className:"margin-vert--lg",children:(0,r.jsx)(eI.Cw,{onClick:n,className:"button button--primary shadow--lw"})}),(0,r.jsx)("hr",{}),(0,r.jsx)("div",{className:"margin-vert--md",children:(0,r.jsx)(eI.aG,{error:t})})]})})})}let e8="mainWrapper_z2l0";function e7(e){let{children:t,noFooter:n,wrapperClassName:a,title:s,description:u}=e;return(0,m.t)(),(0,r.jsxs)(e5,{children:[(0,r.jsx)(l.d,{title:s,description:u}),(0,r.jsx)(b,{}),(0,r.jsx)(T,{}),(0,r.jsx)(eU,{}),(0,r.jsx)("div",{id:d,className:(0,o.Z)(g.k.wrapper.main,e8,a),children:(0,r.jsx)(i.Z,{fallback:e=>(0,r.jsx)(e6,{...e}),children:t})}),!n&&(0,r.jsx)(e3,{})]})}},44987:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(85893);n(67294);var a=n(83012),o=n(4757),i=n(2933),l=n(30140),s=n(16561);function u(e){let{logo:t,alt:n,imageClassName:a}=e,i={light:(0,o.ZP)(t.src),dark:(0,o.ZP)(t.srcDark||t.src)},l=(0,r.jsx)(s.Z,{className:t.className,sources:i,height:t.height,width:t.width,alt:n,style:t.style});return a?(0,r.jsx)("div",{className:a,children:l}):l}function c(e){let{siteConfig:{title:t}}=(0,i.Z)(),{navbar:{title:n,logo:s}}=(0,l.L)(),{imageClassName:c,titleClassName:d,...f}=e,p=(0,o.ZP)(s?.href||"/"),h=s?.alt??(n?"":t);return(0,r.jsxs)(a.Z,{to:p,...f,...s?.target&&{target:s.target},children:[s&&(0,r.jsx)(u,{logo:s,alt:h,imageClassName:c}),null!=n&&(0,r.jsx)("b",{className:d,children:n})]})}},84315:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893);n(67294);var a=n(94819);function o(e){let{locale:t,version:n,tag:o}=e;return(0,r.jsxs)(a.Z,{children:[t&&(0,r.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,r.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,r.jsx)("meta",{name:"docusaurus_tag",content:o}),t&&(0,r.jsx)("meta",{name:"docsearch:language",content:t}),n&&(0,r.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,r.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},16561:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("85893"),a=n("67294"),o=n("67026"),i=n("7227"),l=n("84239");let s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};function u(e){let{className:t,children:n}=e,u=(0,i.Z)(),{colorMode:c}=(0,l.I)();return(0,r.jsx)(r.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map(e=>{let i=n({theme:e,className:(0,o.Z)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,r.jsx)(a.Fragment,{children:i},e)})})}function c(e){let{sources:t,className:n,alt:a,...o}=e;return(0,r.jsx)(u,{className:n,children:e=>{let{theme:n,className:i}=e;return(0,r.jsx)("img",{src:t[n],alt:a,className:i,...o})}})}},57455:function(e,t,n){"use strict";n.d(t,{u:function(){return s},z:function(){return h}});var r=n(85893),a=n(67294),o=n(57565),i=n(32e3),l=n(17504);function s(e){let{initialState:t}=e,[n,r]=(0,a.useState)(t??!1),o=(0,a.useCallback)(()=>{r(e=>!e)},[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}let u={display:"none",overflow:"hidden",height:"0px"},c={display:"block",overflow:"visible",height:"auto"};function d(e,t){let n=t?u:c;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{as:t="div",collapsed:n,children:i,animation:s,onCollapseTransitionEnd:f,className:p,disableSSRStyle:h}=e,g=(0,a.useRef)(null);return!function(e){let{collapsibleRef:t,collapsed:n,animation:r}=e,o=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t.current;function a(){let t=function(){let t=e.scrollHeight,n=r?.duration??function(e){if((0,l.n)())return 1;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}(t),a=r?.easing??"ease-in-out";return{transition:`height ${n}ms ${a}`,height:`${t}px`}}();e.style.transition=t.transition,e.style.height=t.height}if(!o.current){d(e,n),o.current=!0;return}return e.style.willChange="height",function(){let t=requestAnimationFrame(()=>{n?(a(),requestAnimationFrame(()=>{e.style.height=u.height,e.style.overflow=u.overflow})):(e.style.display="block",requestAnimationFrame(()=>{a()}))});return()=>cancelAnimationFrame(t)}()},[t,n,r])}({collapsibleRef:g,collapsed:n,animation:s}),(0,r.jsx)(t,{ref:g,style:h?void 0:function(e){if(!o.Z.canUseDOM)return e?u:c}(n),onTransitionEnd:e=>{if("height"===e.propertyName)d(g.current,n),f?.(n)},className:p,children:i})}function p(e){let{collapsed:t,...n}=e,[o,l]=(0,a.useState)(!t),[s,u]=(0,a.useState)(t);return(0,i.Z)(()=>{!t&&l(!0)},[t]),(0,i.Z)(()=>{o&&u(t)},[o,t]),o?(0,r.jsx)(f,{...n,collapsed:s}):null}function h(e){let{lazy:t,...n}=e;return(0,r.jsx)(t?p:f,{...n})}},22093:function(e,t,n){"use strict";n.d(t,{n:function(){return g},p:function(){return h}});var r=n(85893),a=n(67294),o=n(7227),i=n(76009),l=n(85346),s=n(30140);let u=(0,i.WA)("docusaurus.announcement.dismiss"),c=(0,i.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),f=e=>u.set(String(e)),p=a.createContext(null);function h(e){let{children:t}=e,n=function(){let{announcementBar:e}=(0,s.L)(),t=(0,o.Z)(),[n,r]=(0,a.useState)(()=>!!t&&d());(0,a.useEffect)(()=>{r(d())},[]);let i=(0,a.useCallback)(()=>{f(!0),r(!0)},[]);return(0,a.useEffect)(()=>{if(!e)return;let{id:t}=e,n=c.get();"annoucement-bar"===n&&(n="announcement-bar");let a=t!==n;c.set(t),a&&f(!1),(a||!d())&&r(!1)},[e]),(0,a.useMemo)(()=>({isActive:!!e&&!n,close:i}),[e,n,i])}();return(0,r.jsx)(p.Provider,{value:n,children:t})}function g(){let e=(0,a.useContext)(p);if(!e)throw new l.i6("AnnouncementBarProvider");return e}},84239:function(e,t,n){"use strict";n.d(t,{I:function(){return y},S:function(){return m}});var r=n(85893),a=n(67294),o=n(57565),i=n(85346),l=n(76009),s=n(30140);let u=a.createContext(void 0),c="theme",d=(0,l.WA)(c),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,h=e=>o.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),g=e=>{d.set(p(e))};function m(e){let{children:t}=e,n=function(){let{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[r,o]=(0,a.useState)(h(e));(0,a.useEffect)(()=>{t&&d.del()},[t]);let i=(0,a.useCallback)(function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{persist:a=!0}=r;t?(o(t),a&&g(t)):(n?o(window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light):o(e),d.del())},[n,e]);(0,a.useEffect)(()=>{document.documentElement.setAttribute("data-theme",p(r))},[r]),(0,a.useEffect)(()=>{if(t)return;let e=e=>{if(e.key!==c)return;let t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[t,i]);let l=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(t&&!n)return;let e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{if(window.matchMedia("print").matches||l.current){l.current=window.matchMedia("print").matches;return}i(null)};return e.addListener(r),()=>e.removeListener(r)},[i,t,n]),(0,a.useMemo)(()=>({colorMode:r,setColorMode:i,get isDarkTheme(){return r===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}}),[r,i])}();return(0,r.jsx)(u.Provider,{value:n,children:t})}function y(){let e=(0,a.useContext)(u);if(null==e)throw new i.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},71915:function(e,t,n){"use strict";n.d(t,{M:function(){return d},e:function(){return f}});var r=n(85893),a=n(67294),o=n(11179),i=n(54704),l=n(4520),s=n(30140),u=n(85346);let c=a.createContext(void 0);function d(e){let{children:t}=e,n=function(){let e=function(){let e=(0,o.HY)(),{items:t}=(0,s.L)().navbar;return 0===t.length&&!e.component}(),t=(0,i.i)(),n=!e&&"mobile"===t,[r,u]=(0,a.useState)(!1);(0,l.Rb)(()=>{if(r)return u(!1),!1});let c=(0,a.useCallback)(()=>{u(e=>!e)},[]);return(0,a.useEffect)(()=>{"desktop"===t&&u(!1)},[t]),(0,a.useMemo)(()=>({disabled:e,shouldRender:n,toggle:c,shown:r}),[e,n,c,r])}();return(0,r.jsx)(c.Provider,{value:n,children:t})}function f(){let e=a.useContext(c);if(void 0===e)throw new u.i6("NavbarMobileSidebarProvider");return e}},11179:function(e,t,n){"use strict";n.d(t,{HY:function(){return s},Zo:function(){return u},n2:function(){return l}});var r=n(85893),a=n(67294),o=n(85346);let i=a.createContext(null);function l(e){let{children:t}=e,n=(0,a.useState)({component:null,props:null});return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e,r=(0,a.useContext)(i);if(!r)throw new o.i6("NavbarSecondaryMenuContentProvider");let[,l]=r,s=(0,o.Ql)(n);return(0,a.useEffect)(()=>{l({component:t,props:s})},[l,t,s]),(0,a.useEffect)(()=>()=>l({component:null,props:null}),[l]),null}},16959:function(e,t,n){"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n("67294");let 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)}},[])}},54704:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(67294),a=n(57565);let o={desktop:"desktop",mobile:"mobile"};function i(){let{desktopBreakpoint:e=996}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,r.useState)(()=>"ssr");return(0,r.useEffect)(()=>{function t(){n(function(e){if(!a.Z.canUseDOM)throw Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(e))}return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),t}},84681:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});let r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-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",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",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:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},17504:function(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:function(){return r}})},78720:function(e,t,n){"use strict";n.d(t,{QW:()=>f,aG:()=>d,Ac:()=>c,Cw:()=>u});var r=n("85893"),a=n("67294"),o=n("96025"),i=n("8365");let l="errorBoundaryError_a6uf",s="errorBoundaryFallback_VBag";function u(e){return(0,r.jsx)("button",{type:"button",...e,children:(0,r.jsx)(o.default,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function c(e){let{error:t,tryAgain:n}=e;return(0,r.jsxs)("div",{className:s,children:[(0,r.jsx)("p",{children:t.message}),(0,r.jsx)(u,{onClick:n})]})}function d(e){let{error:t}=e,n=(0,i.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{className:l,children:n})}class f extends a.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}},4520:function(e,t,n){"use strict";n.d(t,{Rb:function(){return i},_X:function(){return l}});var r=n(67294),a=n(16550),o=n(85346);function i(e){!function(e){let t=(0,a.k6)(),n=(0,o.zX)(e);(0,r.useEffect)(()=>t.block((e,t)=>n(e,t)),[t,n])}((t,n)=>{if("POP"===n)return e(t,n)})}function l(e){return function(e){let t=(0,a.k6)();return(0,r.useSyncExternalStore)(t.listen,()=>e(t),()=>e(t))}(t=>null===e?null:new URLSearchParams(t.location.search).get(e))}},38341:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e,t)=>e===t;return e.filter((n,r)=>e.findIndex(e=>t(e,n))!==r)}function a(e){return Array.from(new Set(e))}n.d(t,{jj:function(){return a},lx:function(){return r}})},14713:function(e,t,n){"use strict";n.d(t,{FG:()=>f,d:()=>c,VC:()=>p});var r=n("85893"),a=n("67294"),o=n("67026"),i=n("94819"),l=n("54879"),s=n("4757"),u=n("2933");function c(e){let{title:t,description:n,keywords:a,image:o,children:l}=e,c=function(e){let{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.Cg)(),f=o?d(o,{absolute:!0}):void 0;return(0,r.jsxs)(i.Z,{children:[t&&(0,r.jsx)("title",{children:c}),t&&(0,r.jsx)("meta",{property:"og:title",content:c}),n&&(0,r.jsx)("meta",{name:"description",content:n}),n&&(0,r.jsx)("meta",{property:"og:description",content:n}),a&&(0,r.jsx)("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),f&&(0,r.jsx)("meta",{property:"og:image",content:f}),f&&(0,r.jsx)("meta",{name:"twitter:image",content:f}),l]})}let d=a.createContext(void 0);function f(e){let{className:t,children:n}=e,l=a.useContext(d),s=(0,o.Z)(l,t);return(0,r.jsxs)(d.Provider,{value:s,children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("html",{className:s})}),n]})}function p(e){var t;let{children:n}=e,i=function(){let e=a.useContext(l._);if(!e)throw Error("Unexpected: no Docusaurus route context found");return e}();let s=(t=i.plugin.name,`plugin-${t.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`),u=`plugin-id-${i.plugin.id}`;return(0,r.jsx)(f,{className:(0,o.Z)(s,u),children:n})}},85346:function(e,t,n){"use strict";n.d(t,{D9:function(){return l},Qc:function(){return c},Ql:function(){return u},i6:function(){return s},zX:function(){return i}});var r=n(85893),a=n(67294),o=n(32e3);function i(e){let t=(0,a.useRef)(e);return(0,o.Z)(()=>{t.current=e},[e]),(0,a.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[])}function l(e){let t=(0,a.useRef)();return(0,o.Z)(()=>{t.current=e}),t.current}class s 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 u(e){let t=Object.entries(e);return t.sort((e,t)=>e[0].localeCompare(t[0])),(0,a.useMemo)(()=>e,t.flat())}function c(e){return t=>{let{children:n}=t;return(0,r.jsx)(r.Fragment,{children:e.reduceRight((e,t)=>(0,r.jsx)(t,{children:e}),n)})}}},79246:function(e,t,n){"use strict";n.d(t,{Mg:function(){return i},Ns:function(){return l}});var r=n(67294),a=n(94143),o=n(2933);function i(e,t){let n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){let{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;let n=t.find(r);return n?n:e(t.filter(a).flatMap(e=>e.routes??[]))}(n)})({routes:a.Z,baseUrl:e}),[e])}},69599:function(e,t,n){"use strict";n.d(t,{Ct:function(){return g},OC:function(){return c},RF:function(){return p},o5:function(){return h}});var r=n(85893),a=n(67294),o=n(57565),i=n(7227),l=n(32e3),s=n(85346);let u=a.createContext(void 0);function c(e){let{children:t}=e,n=function(){let e=(0,a.useRef)(!0);return(0,a.useMemo)(()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}}),[])}();return(0,r.jsx)(u.Provider,{value:n,children:t})}function d(){let e=(0,a.useContext)(u);if(null==e)throw new s.i6("ScrollControllerProvider");return e}let f=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{scrollEventsEnabledRef:n}=d(),r=(0,a.useRef)(f()),o=(0,s.zX)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=f();o(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)},[o,n,...t])}function h(){let e=d(),t=function(){let e=(0,a.useRef)({elem:null,top:0}),t=(0,a.useCallback)(t=>{e.current={elem:t,top:t.getBoundingClientRect().top}},[]),n=(0,a.useCallback)(()=>{let{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};let r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}},[]);return(0,a.useMemo)(()=>({save:t,restore:n}),[n,t])}(),n=(0,a.useRef)(void 0),r=(0,a.useCallback)(r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{let{restored:r}=t.restore();if(n.current=void 0,r){let t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}},[e,t]);return(0,l.Z)(()=>{queueMicrotask(()=>n.current?.())}),{blockElementScrollPositionUntilNextRender:r}}function g(){let e=(0,a.useRef)(null),t=(0,i.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{var r;e.current=t?(r=n,window.scrollTo({top:r,behavior:"smooth"}),()=>{}):function(e){let t=null,n=document.documentElement.scrollTop>e;return!function r(){let a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor((a-e)*.85)+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},76009:function(e,t,n){"use strict";n.d(t,{WA:()=>u,Nk:()=>c});var r=n("67294"),a=JSON.parse('{"d":"localStorage","u":""}');let o=a.d;function i(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;let o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}let l=!1,s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){var n;let r=(n=e,`${n}${a.u}`);if("undefined"==typeof window)return function(e){function t(){throw Error(`Illegal storage API usage for storage key "${e}". +Docusaurus storage APIs are not supposed to be called on the server-rendering process. +Please only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(r);let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;if("undefined"==typeof window)throw Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(e){return function(e){!l&&(console.warn(`Docusaurus browser storage is not available. +Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,e),l=!0)}(e),null}}(t?.persistence);return null===u?s:{get:()=>{try{return u.getItem(r)}catch(e){return console.error(`Docusaurus storage error, can't get key=${r}`,e),null}},set:e=>{try{let t=u.getItem(r);u.setItem(r,e),i({key:r,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${r}=${e}`,t)}},del:()=>{try{let e=u.getItem(r);u.removeItem(r),i({key:r,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${r}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===r&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${r}`,e),()=>{}}}}}function c(e,t){let n=(0,r.useRef)(()=>null===e?s:u(e,t)).current(),a=(0,r.useCallback)(e=>"undefined"==typeof window?()=>{}:n.listen(e),[n]);return[(0,r.useSyncExternalStore)(a,()=>"undefined"==typeof window?null:n.get(),()=>null),n]}},28910:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2933),a=n(16550),o=n(8365);function i(){let{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){var n;let{locale:r,fullyQualified:a}=e;return`${a?t:""}${(n=r)===i?`${c}`:`${c}${n}/`}${d}`}}}},10346:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(67294),a=n(16550),o=n(85346);function i(e){let t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)(()=>{if(!!n)t!==n&&i({location:t,previousLocation:n})},[i,t,n])}},30140:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(2933);function a(){return(0,r.Z)().siteConfig.themeConfig}},84994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){var n;let{trailingSlash:r,baseUrl:i}=t;if(e.startsWith("#"))return e;if(void 0===r)return e;let[l]=e.split(/[#?]/);let s="/"===l||l===i?l:(n=l,r?a(n):o(n));return e.replace(l,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(18411);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},64202:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8365:function(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=void 0;let r=n(28395);var a,o=n(84994);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(o).default}}),n(18411);var i=n(64202);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},18411:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},75150:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});let r={title:"Permitting Interoperability Exchange Specification",tagline:"An easy as pie way to exchange standardized permitting information. \uD83E\uDD67",favicon:"img/favicon.ico",url:"https://bcgov.github.io",baseUrl:"/nr-pies/",organizationName:"bcgov",projectName:"nr-pies",deploymentBranch:"gh-pages",trailingSlash:!1,onBrokenLinks:"throw",onBrokenMarkdownLinks:"throw",future:{experimental_faster:{swcJsLoader:!0,swcJsMinimizer:!0,swcHtmlMinimizer:!0,lightningCssMinimizer:!0,mdxCrossCompilerCache:!0,rspackBundler:!0},experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},plugins:[["/home/runner/work/nr-pies/nr-pies/node_modules/docusaurus-lunr-search/src/index.js",{enableHighlight:!0}],"@docusaurus/theme-mermaid"],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/bcgov/nr-pies/tree/main/",showLastUpdateAuthor:!0,showLastUpdateTime:!0,tags:"tags.yaml",onInlineTags:"throw"},blog:!1,theme:{customCss:"./src/css/custom.css"}}]],markdown:{mermaid:!0,format:"mdx",mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}},themeConfig:{image:"img/BCID_H_rgb_pos.png",announcementBar:{id:"announcement",content:"The PIES specification is still baking... \uD83E\uDD67",backgroundColor:"#FEF1D8",textColor:"#000000",isCloseable:!0},docs:{sidebar:{autoCollapseCategories:!1,hideable:!0},versionPersistence:"localStorage"},navbar:{hideOnScroll:!1,title:"NR-PIES",logo:{alt:"Government of B.C.",src:"img/BCID_H_rgb_pos.png",srcDark:"img/BCID_H_rgb_rev.png"},items:[{type:"docSidebar",sidebarId:"docSidebar",position:"right",label:"Docs"},{href:"https://github.com/bcgov/nr-pies",position:"right",className:"header-github-logo","aria-label":"GitHub Repo"}]},footer:{logo:{alt:"Creative Commons Attribution 4.0 International License",src:"img/cc-by.png",href:"https://creativecommons.org/licenses/by/4.0/",target:"_blank",width:80,height:15,className:"footer-logo-license"},links:[{label:"Home",href:"https://www2.gov.bc.ca/gov/content/home"},{label:"About gov.bc.ca",href:"https://www2.gov.bc.ca/gov/content/about-gov-bc-ca"},{label:"Disclaimer",href:"https://www2.gov.bc.ca/gov/content/home/disclaimer"},{label:"Privacy",href:"https://www2.gov.bc.ca/gov/content/home/privacy"},{label:"Accessibility",href:"https://www2.gov.bc.ca/gov/content/home/accessible-government"},{label:"Copyright",href:"https://www2.gov.bc.ca/gov/content/home/copyright"},{label:"Contact us",href:"https://www2.gov.bc.ca/gov/content/home/get-help-with-government-services"},{label:"Docusaurus",to:"docs/docusaurus/intro"}],copyright:"Copyright \xa9 2024 Government of British Columbia. Built with Docusaurus.",style:"light"},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:["mermaid"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:4},mermaid:{theme:{light:"default",dark:"dark"},options:{}},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},blog:{sidebar:{groupByYear:!0}},metadata:[]},themes:["docusaurus-json-schema-plugin"],baseUrlIssueBanner:!0,onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1}},16019:function(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}).apply(null,arguments)}n.d(t,{Z:function(){return r}})},35091:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},70443:function(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,{Z:function(){return r}})},67026:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r)}return a}(e))&&(r&&(r+=" "),r+=t);return r}},83229:function(e,t,n){"use strict";let r,a,o,i,l;n.d(t,{p1:function(){return K},y$:function(){return eD}});var s,u,c,d,f,p,h,g,m,y,b,v,w,x,k,S,_,E,C,T,j,N,O,P,A,L,R=n(67294),I=n(67026),F=Object.create,M=Object.defineProperty,D=Object.defineProperties,z=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyDescriptors,B=Object.getOwnPropertyNames,U=Object.getOwnPropertySymbols,Z=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,V=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||(t={}))H.call(t,n)&&V(e,n,t[n]);if(U)for(var n of U(t))W.call(t,n)&&V(e,n,t[n]);return e},G=(e,t)=>D(e,$(t)),Y=(e,t)=>{var n={};for(var r in e)H.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&U)for(var r of U(e))0>t.indexOf(r)&&W.call(e,r)&&(n[r]=e[r]);return n},Q=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of B(t))!H.call(e,a)&&a!==n&&M(e,a,{get:()=>t[a],enumerable:!(r=z(t,a))||r.enumerable});return e};var K=(l=null!=(o=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=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(n[o=r.util.objId(t)])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":if(n[o=r.util.objId(t)])return n[o];return 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};if(r.hooks.run("before-tokenize",o),!o.grammar)throw Error('The language "'+o.language+'" has no grammar.');return 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 s in n)t[s]=n[s];delete t.rest}var u=new i;return l(u,u.head,e),function e(t,n,i,s,u,c){for(var d in i){if(!!i.hasOwnProperty(d)&&!!i[d]){var f=i[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(c&&c.cause==d+","+p)return;var h=f[p],g=h.inside,m=!!h.lookbehind,y=!!h.greedy,b=h.alias;if(y&&!h.pattern.global){var v=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,v+"g")}for(var w=h.pattern||h,x=s.next,k=u;x!==n.tail&&(!c||!(k>=c.reach));k+=x.value.length,x=x.next){;var S,_=x.value;if(n.length>t.length)return;if(!(_ instanceof a)){var E=1;if(y){if(!(S=o(w,k,t,m))||S.index>=t.length)break;var C=S.index,T=S.index+S[0].length,j=k;for(j+=x.value.length;C>=j;)j+=(x=x.next).value.length;if(j-=x.value.length,k=j,x.value instanceof a)continue;for(var N=x;N!==n.tail&&(j<T||"string"==typeof N.value);N=N.next)E++,j+=N.value.length;E--,_=t.slice(k,j),S.index-=k}else if(!(S=o(w,0,_,m)))continue;var C=S.index,O=S[0],P=_.slice(0,C),A=_.slice(C+O.length),L=k+_.length;c&&L>c.reach&&(c.reach=L);var R=x.prev;if(P&&(R=l(n,R,P),k+=P.length),function(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}(n,R,E),x=l(n,R,new a(d,g?r.tokenize(O,g):O,b,O)),A&&l(n,x,A),E>1){var I={cause:d+","+p,reach:L};e(t,n,i,x.prev,k,I),c&&I.reach>c.reach&&(c.reach=I.reach)}}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},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(){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 l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,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}();t.exports=n,n.default=n}},function(){return a||(0,r[B(r)[0]])((a={exports:{}}).exports,a),a.exports})())?F(Z(o)):{},Q(!i&&o&&o.__esModule?l:M(l,"default",{value:o,enumerable:!0}),o));K.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},K.languages.markup.tag.inside["attr-value"].inside.entity=K.languages.markup.entity,K.languages.markup.doctype.inside["internal-subset"].inside=K.languages.markup,K.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(K.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:K.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:K.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},K.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(K.languages.markup.tag,"addAttribute",{value:function(e,t){K.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:K.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),K.languages.html=K.languages.markup,K.languages.mathml=K.languages.markup,K.languages.svg=K.languages.markup,K.languages.xml=K.languages.extend("markup",{}),K.languages.ssml=K.languages.xml,K.languages.atom=K.languages.xml,K.languages.rss=K.languages.xml,s=K,u={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},d=RegExp((d="(?:[^\\\\-]|"+(c=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+d),f={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},s.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:d,inside:{escape:c,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":u,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:c}},"special-escape":u,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":f}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:c,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":f}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},K.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:/[{}[\];(),.:]/},K.languages.javascript=K.languages.extend("clike",{"class-name":[K.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}|\?\?=?|\?\.?|[~:]/}),K.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,K.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:K.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:K.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:K.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:K.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:K.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),K.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:K.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"}}),K.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),K.languages.markup&&(K.languages.markup.tag.addInlined("script","javascript"),K.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")),K.languages.js=K.languages.javascript,K.languages.actionscript=K.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),K.languages.actionscript["class-name"].alias="function",delete K.languages.actionscript.parameter,delete K.languages.actionscript["literal-property"],K.languages.markup&&K.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:K.languages.markup}}),h=/#(?!\{).+/,g={pattern:/#\{[^}]+\}/,alias:"variable"},(p=K).languages.coffeescript=p.languages.extend("javascript",{comment:h,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:g}}],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"}}),p.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:h,interpolation:g}}}),p.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:p.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:g}}]}),p.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete p.languages.coffeescript["template-string"],p.languages.coffee=p.languages.coffeescript,Object.defineProperty(y=(m=K).languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=m.languages[e]){var a,o=a[r];if((o=o||(a=m.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var i=0,l=o.length;i<l;i++)o[i]instanceof RegExp&&(o[i]={pattern:o[i]}),n(o[i]);else n(o)}})}}),y.addSupport(["java","javascript","php"],y),v=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(v=((b=K).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+v.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+v.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+v.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+v.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:v,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:/[(){};:,]/},b.languages.css.atrule.inside.rest=b.languages.css,b.languages.markup))&&(v.tag.addInlined("style","css"),v.tag.addAttribute("style","css")),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(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("\\[(?:[^[\\]\"']|"+t.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":[t,{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}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={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|RebeccaPurple|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:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(K),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+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){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e}),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}(K),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,i=(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,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",a=0,o=t.classes.length;a<o;a++){var u=t.classes[a],u=/language-(.+)/.exec(u);if(u){r=u[1];break}}var c,d=e.languages[r];d?t.content=e.highlight(n=(n=(n=t.content).replace(i,"")).replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):l[t]||e}),d,r):r&&"none"!==r&&e.plugins.autoloader&&(c="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(K),K.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:K.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+/},K.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"])&&"("===function(e){return t[n+e]}(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=function(e){return t[n+e]}(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===function(e){return t[n+e]}(0).content&&(n++,p(function(e){return t[n+e]}(0),"property-mutation"),0<a.length)){var l=f(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,r){r=r||0;for(var a=0;a<e.length;a++){var o=t[n+(a+r)];if(!o||o.type!==e[a])return}return 1}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)}}),K.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(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}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 s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in s&&function t(n){for(var i=0,s=n.length;i<s;i++){var u,c,d,f=n[i];"string"!=typeof f&&(Array.isArray(u=f.content)?"template-string"===f.type?(f=u[1],3===u.length&&"string"!=typeof f&&"embedded-code"===f.type&&(c=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(f),f=Array.isArray(f=f.alias)?f[0]:f,d=e.languages[f])&&(u[1]=function(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},s=l(s.map(function(e){if("string"==typeof e)return e;for(var n,r,e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n}).join(""),n,i),d=Object.keys(c);return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,f,p,h,g,m,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(m=(g="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=g.substring(0,m),h=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(h,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,h),p=g.substring(m+i.length),h=[],s&&h.push(s),h.push(f),p&&(t(g=[p]),h.push.apply(h,g)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(h)),o+=h.length-1):y.content=h)):Array.isArray(m=y.content)?t(m):t([m])}}(s),new e.Token(i,s,"language-"+i,t)}(c,d,f))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(K),(w=K).languages.typescript=w.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/}),w.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 w.languages.typescript.parameter,delete w.languages.typescript["literal-property"],x=w.languages.extend("typescript",{}),delete x["class-name"],w.languages.typescript["class-name"].inside=x,w.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:x}}}}),w.languages.ts=w.languages.typescript,S=(k=K).languages.javascript,E="(@(?:arg|argument|param|property)\\s+(?:"+(_=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",k.languages.jsdoc=k.languages.extend("javadoclike",{parameter:{pattern:RegExp(E+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),k.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(E+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:S,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return _})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+_),lookbehind:!0,inside:{string:S.string,number:S.number,boolean:S.boolean,keyword:k.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:S,alias:"language-javascript"}}}}),k.languages.javadoclike.addSupport("javascript",k.languages.jsdoc),(C=K).languages.flow=C.languages.extend("javascript",{}),C.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),C.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete C.languages.flow.parameter,C.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(C.languages.flow.keyword)||(C.languages.flow.keyword=[C.languages.flow.keyword]),C.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),K.languages.n4js=K.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),K.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),K.languages.n4jsd=K.languages.n4js,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],a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(K),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 RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return a}),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(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],a=0;a<n.length;a++){var o=n[a],l=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<r.length&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"!==o.content[o.content.length-1].content&&r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):0<r.length&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:0<r.length&&0<r[r.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:l=!0),(l||"string"==typeof o)&&0<r.length&&0===r[r.length-1].openedBraces&&(l=i(o),a<n.length-1&&("string"==typeof n[a+1]||"plain-text"===n[a+1].type)&&(l+=i(n[a+1]),n.splice(a+1,1)),0<a&&("string"==typeof n[a-1]||"plain-text"===n[a-1].type)&&(l=i(n[a-1])+l,n.splice(a-1,1),a--),n[a]=new e.Token("plain-text",l,null,l)),o.content&&"string"!=typeof o.content&&t(o.content)}}(t.tokens)})}(K),j=(T=K).util.clone(T.languages.typescript),(j=(T.languages.tsx=T.languages.extend("jsx",j),delete T.languages.tsx.parameter,delete T.languages.tsx["literal-property"],T.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+j.pattern.source+")",j.pattern.flags),j.lookbehind=!0,K.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},K.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=K.languages.swift}),(N=K).languages.kotlin=N.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete N.languages.kotlin["class-name"],O={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:N.languages.kotlin}},N.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:O},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:O},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete N.languages.kotlin.string,N.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),N.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),N.languages.kt=N.languages.kotlin,N.languages.kts=N.languages.kotlin,K.languages.c=K.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|[?:~]|[-+*/%&|^!=<>]=?/}),K.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),K.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},K.languages.c.string],char:K.languages.c.char,comment:K.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:K.languages.c}}}}),K.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 K.languages.c.boolean,K.languages.objectivec=K.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 K.languages.objectivec["class-name"],K.languages.objc=K.languages.objectivec,K.languages.reason=K.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/}),K.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 K.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(K),K.languages.go=K.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/}),K.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete K.languages.go["class-name"],P=K,A=/\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/,L=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return A.source}),P.languages.cpp=P.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return A.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:A,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/}),P.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 L})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),P.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:P.languages.cpp}}}}),P.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),P.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:P.languages.extend("cpp",{})}}),P.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},P.languages.cpp["base-clause"]),K.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:/[{}[\];(),.:]/},K.languages.python["string-interpolation"].inside.interpolation.inside.rest=K.languages.python,K.languages.py=K.languages.python,K.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"}},K.languages.webmanifest=K.languages.json;((e,t)=>{for(var n in t)M(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>X,duotoneDark:()=>J,duotoneLight:()=>ee,github:()=>et,gruvboxMaterialDark:()=>eC,gruvboxMaterialLight:()=>eT,jettwaveDark:()=>ek,jettwaveLight:()=>eS,nightOwl:()=>en,nightOwlLight:()=>er,oceanicNext:()=>eh,okaidia:()=>eg,oneDark:()=>e_,oneLight:()=>eE,palenight:()=>em,shadesOfPurple:()=>ey,synthwave84:()=>eb,ultramin:()=>ev,vsDark:()=>ew,vsLight:()=>ex});var X={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)"}}]},J={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"}}]},ee={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{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:"#896724"}}]},et={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"}}]},en={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},er={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},ea="#D8DEE9",eo="#999999",ei="#c5a5c5",el="#5a9bcf",es="#8dc891",eu="#d7deea",ec="#ff8b50",ed="#fc929e",ef="#79b6f2",ep="#FAC863",eh={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:ei}},{types:["attr-value"],style:{color:es}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:eo}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:el}},{types:["boolean"],style:{color:ec}},{types:["tag"],style:{color:ed}},{types:["string"],style:{color:es}},{types:["punctuation"],style:{color:es}},{types:["selector","char","builtin","inserted"],style:{color:ea}},{types:["function"],style:{color:ef}},{types:["operator","entity","url","variable"],style:{color:eu}},{types:["keyword"],style:{color:ei}},{types:["atrule","class-name"],style:{color:ep}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},eg={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},em={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},ey={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},eb={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ev={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},ew={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ex={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},ek={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},eS={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},e_={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{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:"hsl(220, 14%, 71%)"}}]},eE={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{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:"hsl(230, 8%, 24%)"}}]},eC={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},eT={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},ej=(e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:a}=n;return r&&!r.includes(t)?e:(n.types.forEach(t=>{let n=q(q({},e[t]),a);e[t]=n}),e)},{});return r.root=n,r.plain=G(q({},n),{backgroundColor:void 0}),r},eN=(e,t)=>{let[n,r]=(0,R.useState)(ej(t,e)),a=(0,R.useRef)(),o=(0,R.useRef)();return(0,R.useEffect)(()=>{(t!==a.current||e!==o.current)&&(a.current=t,o.current=e,r(ej(t,e)))},[e,t]),n},eO=e=>(0,R.useCallback)(t=>{var{className:n,style:r,line:a}=t;let o=G(q({},Y(t,["className","style","line"])),{className:(0,I.Z)("token-line",n)});return"object"==typeof e&&"plain"in e&&(o.style=e.plain),"object"==typeof r&&(o.style=q(q({},o.style||{}),r)),o},[e]),eP=e=>{let t=(0,R.useCallback)(({types:t,empty:n})=>{if(null!=e){if(1===t.length&&"plain"===t[0])return null!=n?{display:"inline-block"}:void 0;if(1===t.length&&null!=n)return e[t[0]];return Object.assign(null!=n?{display:"inline-block"}:{},...t.map(t=>e[t]))}},[e]);return(0,R.useCallback)(e=>{var{token:n,className:r,style:a}=e;let o=G(q({},Y(e,["token","className","style"])),{className:(0,I.Z)("token",...n.types,r),children:n.content,style:t(n)});return null!=a&&(o.style=q(q({},o.style||{}),a)),o},[t])},eA=/\r\n|\r|\n/,eL=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eR=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eI=e=>{let t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,l=[],s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e;let u=t[i],c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=eR(u,c.type),c.alias&&(u=eR(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}let d=e.split(eA),f=d.length;l.push({types:u,content:d[0]});for(let e=1;e<f;e++)eL(l),s.push(l=[]),l.push({types:u,content:d[e]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return eL(l),s},eF=({prism:e,code:t,grammar:n,language:r})=>{let a=(0,R.useRef)(e);return(0,R.useMemo)(()=>{if(null==n)return eI([t]);let e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),eI(e.tokens)},[t,n,r])},eM=({children:e,language:t,code:n,theme:r,prism:a})=>{let o=t.toLowerCase(),i=eN(o,r),l=eO(i),s=eP(i),u=a.languages[o];return e({tokens:eF({prism:a,language:o,code:n,grammar:u}),className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},eD=e=>(0,R.createElement)(eM,G(q({},e),{prism:e.prism||K,theme:e.theme||ew,code:e.code,language:e.language}))},21835:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r="Invariant failed";function a(e,t){var n;if(!e)throw Error(r)}},28395:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return I},__assign:function(){return o},__asyncDelegator:function(){return E},__asyncGenerator:function(){return _},__asyncValues:function(){return C},__await:function(){return S},__awaiter:function(){return h},__classPrivateFieldGet:function(){return A},__classPrivateFieldIn:function(){return R},__classPrivateFieldSet:function(){return L},__createBinding:function(){return m},__decorate:function(){return l},__disposeResources:function(){return M},__esDecorate:function(){return u},__exportStar:function(){return y},__extends:function(){return a},__generator:function(){return g},__importDefault:function(){return P},__importStar:function(){return O},__makeTemplateObject:function(){return T},__metadata:function(){return p},__param:function(){return s},__propKey:function(){return d},__read:function(){return v},__rest:function(){return i},__rewriteRelativeImportExtension:function(){return D},__runInitializers:function(){return c},__setFunctionName:function(){return f},__spread:function(){return w},__spreadArray:function(){return k},__spreadArrays:function(){return x},__values:function(){return b},default:function(){return z}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function l(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var l=r.kind,s="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,c=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),d,f=!1,p=n.length-1;p>=0;p--){var h={};for(var g in r)h[g]="access"===g?{}:r[g];for(var g in r.access)h.access[g]=r.access[g];h.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var m=(0,n[p])("accessor"===l?{get:c.get,set:c.set}:c[s],h);if("accessor"===l){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(d=i(m.get))&&(c.get=d),(d=i(m.set))&&(c.set=d),(d=i(m.init))&&a.unshift(d)}else(d=i(m))&&("field"===l?a.unshift(d):c[s]=d)}u&&Object.defineProperty(u,r.name,c),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,l)}s((r=r.apply(e,t||[])).next())})}function g(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}var m=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(t,n)&&m(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function x(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),a=0,t=0;t<n;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)r[a]=o[i];return r}function k(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)(r||!(a in t))&&(!r&&(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||l(e,t)})},t&&(r[e]=t(r[e])))}function l(e,t){try{(function(e){e.value instanceof S?Promise.resolve(e.value.v).then(s,u):c(o[0][2],e)})(a[e](t))}catch(e){c(o[0][3],e)}}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}function E(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function C(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,a){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,a,(t=e[n](t)).done,t.value)})}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var j=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},N=function(e){return(N=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=N(e),r=0;r<n.length;r++)"default"!==n[r]&&m(t,e,n[r]);return j(t,e),t}function P(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,a){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function R(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){var r,a;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var F="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new F(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,function(e){return t(e),a()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function D(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,a,o){return n?t?".jsx":".js":!r||a&&o?r+a+"."+o.toLowerCase()+"js":e}):e}let z={__extends:a,__assign:o,__rest:i,__decorate:l,__param:s,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:p,__awaiter:h,__generator:g,__createBinding:m,__exportStar:y,__values:b,__read:v,__spread:w,__spreadArrays:x,__spreadArray:k,__await:S,__asyncGenerator:_,__asyncDelegator:E,__asyncValues:C,__makeTemplateObject:T,__importStar:O,__importDefault:P,__classPrivateFieldGet:A,__classPrivateFieldSet:L,__classPrivateFieldIn:R,__addDisposableResource:I,__disposeResources:M,__rewriteRelativeImportExtension:D}},62627:function(e){"use strict";e.exports={}},37138:function(e){"use strict";e.exports=JSON.parse('{"/nr-pies/markdown-page-137":{"__comp":"1f391b9e","__context":{"plugin":"a7456010"},"content":"393be207"},"/nr-pies/docs-d37":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/nr-pies/docs-2b2":{"__comp":"a7bd4aaa","__props":"2dcf1f5a"},"/nr-pies/docs/tags-270":{"__comp":"3720c009","__props":"d4d6078f"},"/nr-pies/docs/tags/business-dd4":{"__comp":"df203c0f","__props":"dea0bdbd"},"/nr-pies/docs/tags/developer-407":{"__comp":"df203c0f","__props":"7ecec1f6"},"/nr-pies/docs/tags/executive-86a":{"__comp":"df203c0f","__props":"742a8b7c"},"/nr-pies/docs-830":{"__comp":"a94703ab"},"/nr-pies/docs/category/concept-maps-99c":{"__comp":"14eb3368","__props":"f45bb4b8"},"/nr-pies/docs/category/data-types-5a5":{"__comp":"14eb3368","__props":"1f02d974"},"/nr-pies/docs/category/resource-types-936":{"__comp":"14eb3368","__props":"57ff1711"},"/nr-pies/docs/category/tutorial---basics-ba5":{"__comp":"14eb3368","__props":"644ac862"},"/nr-pies/docs/category/tutorial---extras-9f4":{"__comp":"14eb3368","__props":"5f622d8a"},"/nr-pies/docs/docusaurus/intro-14f":{"__comp":"17896441","content":"21038ea1"},"/nr-pies/docs/docusaurus/tutorial_basics/congratulations-c72":{"__comp":"17896441","content":"40a9f62a"},"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post-3ce":{"__comp":"17896441","content":"455d01c6"},"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document-dde":{"__comp":"17896441","content":"54329717"},"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page-cef":{"__comp":"17896441","content":"34829b29"},"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site-cdc":{"__comp":"17896441","content":"72af4c84"},"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features-0f5":{"__comp":"17896441","content":"14622022"},"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions-792":{"__comp":"17896441","content":"9604fc81"},"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site-a50":{"__comp":"17896441","content":"fe557f77"},"/nr-pies/docs/intro/getting_started-5e7":{"__comp":"17896441","content":"21cb2624"},"/nr-pies/docs/intro/terminology-4d4":{"__comp":"17896441","content":"b06371b7"},"/nr-pies/docs/spec/concept/process_tracking-d36":{"__comp":"17896441","content":"c465dbe4"},"/nr-pies/docs/spec/data/code-80f":{"__comp":"17896441","content":"bb64f159"},"/nr-pies/docs/spec/data/event-111":{"__comp":"17896441","content":"864e058a"},"/nr-pies/docs/spec/data/parcel_id-aa0":{"__comp":"17896441","content":"992aa281"},"/nr-pies/docs/spec/data/process-7fc":{"__comp":"17896441","content":"49f850f6"},"/nr-pies/docs/spec/data/project_bundle-ae0":{"__comp":"17896441","content":"fa6dc6d9"},"/nr-pies/docs/spec/formatting-4f6":{"__comp":"17896441","content":"5187c925"},"/nr-pies/docs/spec/primitive_types-5e2":{"__comp":"17896441","content":"6cca1acc"},"/nr-pies/docs/spec/resource/process_event-53a":{"__comp":"17896441","content":"d74d58d6"},"/nr-pies/-dfe":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,["6212"],function(){return e(e.s="52465")}),e.O()}]); \ No newline at end of file diff --git a/assets/js/runtime~main.1988ff27.js b/assets/js/runtime~main.1988ff27.js new file mode 100644 index 0000000..ed97599 --- /dev/null +++ b/assets/js/runtime~main.1988ff27.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,t,r,n,f,a,c,o,b={},d={};function u(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return b[e].call(r.exports,r,r.exports,u),r.loaded=!0,r.exports}u.m=b,u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},u.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var f=Object.create(null);u.r(f);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(function(e){a[e]=function(){return r[e]}});return a.default=function(){return r},u.d(f,a),f},u.d=function(e,t){for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.f={},u.e=function(e){return Promise.all(Object.keys(u.f).reduce(function(t,r){return u.f[r](e,t),t},[]))},u.hmd=function(e){return!(e=Object.create(e)).children&&(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},u.u=function(e){return"assets/js/"+(({128:"2dcf1f5a",1460:"6cca1acc",1509:"1f02d974",1858:"54329717",1860:"644ac862",1870:"57ff1711",1912:"f45bb4b8",1983:"14eb3368",249:"fe557f77",2493:"1f391b9e",2556:"5187c925",2692:"5f622d8a",2751:"14622022",287:"21cb2624",2898:"3720c009",319:"dea0bdbd",3432:"5e95c892",3657:"40a9f62a",3811:"b06371b7",4131:"d4d6078f",4494:"34829b29",4645:"49f850f6",5112:"aba21aa0",5211:"a7bd4aaa",5706:"455d01c6",7048:"17896441",707:"bb64f159",7365:"a7456010",7376:"fa6dc6d9",7825:"864e058a",815:"df203c0f",8652:"72af4c84",8706:"1df93b7f",8788:"9604fc81",918:"7ecec1f6",9201:"c465dbe4",9210:"742a8b7c",9277:"992aa281",9417:"d74d58d6",9597:"21038ea1",9914:"a94703ab",9969:"393be207"})[e]||e)+"."+({128:"76ba9983",1351:"470ec6ae",1460:"dae80147",1509:"b3007a0b",161:"d05026b2",1780:"173e8733",1824:"d9e8ca59",1858:"9d66bfe3",1860:"47684019",1870:"8a39dc93",1912:"169e6d66",1983:"9c7921b4",1996:"9a0f09ed",2061:"4824b421",2247:"b77acacf",2401:"f8954f84",2425:"880b3fa6",249:"04957e97",2493:"046a0919",2556:"8aa187cb",2578:"8352a344",2594:"2c07c797",2646:"a8fa2c54",2692:"55682df5",2751:"dc830d6d",287:"a563dadb",2898:"a7cce29b",3085:"8f380f56",319:"743f24fc",3315:"ea44509c",3337:"7daaba4b",3389:"7ade8f65",3432:"ab8a9d20",3544:"5525610f",362:"aa40b504",3657:"62ef7fea",3754:"b8f5088c",3811:"150d68b6",3917:"bffdcefe",4131:"89d8fe3f",4294:"327c1ce5",4343:"7a81542a",4494:"22bdbef0",4600:"9105dad5",4645:"3b01476b",488:"e74178fe",4960:"503a57f9",5112:"5546b266",5146:"0f8244c6",5211:"8577d8fc",5706:"52d36ba8",5823:"0f393977",6211:"d8de6fc9",6659:"fcb5b15d",7048:"72a0dee3",707:"4ff23bc6",736:"3084922c",7365:"aa2fcbf9",7376:"ddca0f36",7469:"2fd3e258",7717:"62fafe66",7825:"486d0d94",815:"f29e98af",8164:"321b3b7b",8652:"dcf31344",8706:"3f55898d",8733:"3dfb4761",8751:"5372316c",8788:"d458bd0b",879:"1c63c3a0",8963:"84d9b33e",9083:"983370ab",918:"6fc901cf",9196:"fbd1abba",9201:"68e7ba7f",9210:"7fd24b4c",9277:"921dd3cf",9417:"e0366968",9589:"d154df9c",9597:"4aa5f762",9790:"fe69e9aa",9914:"f3460f41",9969:"07686eba",9974:"9ea7f72c",9990:"85fe3b52"})[e]+".js"},u.miniCssF=function(e){return""+e+".css"},u.h=function(){return"2162c14ead3f6ae2"},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},n="nr-pies:",u.l=function(e,t,f,a){if(r[e]){r[e].push(t);return}if(void 0!==f){for(var c,o,b=document.getElementsByTagName("script"),d=0;d<b.length;d++){var i=b[d];if(i.getAttribute("src")==e||i.getAttribute("data-webpack")==n+f){c=i;break}}}!c&&(o=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,u.nc&&c.setAttribute("nonce",u.nc),c.setAttribute("data-webpack",n+f),c.src=e),r[e]=[t];var s=function(t,n){c.onerror=c.onload=null,clearTimeout(l);var f=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),f&&f.forEach(function(e){return e(n)}),t)return t(n)},l=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),o&&document.head.appendChild(c)},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},f=[],u.O=function(e,t,r,n){if(t){n=n||0;for(var a=f.length;a>0&&f[a-1][2]>n;a--)f[a]=f[a-1];f[a]=[t,r,n];return}for(var c=1/0,a=0;a<f.length;a++){for(var t=f[a][0],r=f[a][1],n=f[a][2],o=!0,b=0;b<t.length;b++)(!1&n||c>=n)&&Object.keys(u.O).every(function(e){return u.O[e](t[b])})?t.splice(b--,1):(o=!1,n<c&&(c=n));if(o){f.splice(a--,1);var d=r();void 0!==d&&(e=d)}}return e},u.p="/nr-pies/",u.rv=function(){return"1.1.4"},u.gca=function(e){return e=({0xdf1d46:"2751",0x11113f9:"7048",0x33d0175:"1858","2dcf1f5a":"128",fe557f77:"249","21cb2624":"287",dea0bdbd:"319",bb64f159:"707",df203c0f:"815","7ecec1f6":"918","6cca1acc":"1460","1f02d974":"1509","644ac862":"1860","57ff1711":"1870",f45bb4b8:"1912","14eb3368":"1983","1f391b9e":"2493","5187c925":"2556","5f622d8a":"2692","3720c009":"2898","5e95c892":"3432","40a9f62a":"3657",b06371b7:"3811",d4d6078f:"4131","34829b29":"4494","49f850f6":"4645",aba21aa0:"5112",a7bd4aaa:"5211","455d01c6":"5706",a7456010:"7365",fa6dc6d9:"7376","864e058a":"7825","72af4c84":"8652","1df93b7f":"8706","9604fc81":"8788",c465dbe4:"9201","742a8b7c":"9210","992aa281":"9277",d74d58d6:"9417","21038ea1":"9597",a94703ab:"9914","393be207":"9969"})[e]||e,u.p+u.u(e)},a={2580:0,6212:0},u.f.j=function(e,t){var r=u.o(a,e)?a[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(/^(2580|6212)$/.test(e))a[e]=0;else{var n=new Promise(function(t,n){r=a[e]=[t,n]});t.push(r[2]=n);var f=u.p+u.u(e),c=Error();u.l(f,function(t){if(u.o(a,e)&&(0!==(r=a[e])&&(a[e]=void 0),r)){var n=t&&("load"===t.type?"missing":t.type),f=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+f+")",c.name="ChunkLoadError",c.type=n,c.request=f,r[1](c)}},"chunk-"+e,e)}}},u.O.j=function(e){return 0===a[e]},c=function(e,t){var r=t[0],n=t[1],f=t[2],c,o,b=0;if(r.some(function(e){return 0!==a[e]})){for(c in n)u.o(n,c)&&(u.m[c]=n[c]);if(f)var d=f(u)}for(e&&e(t);b<r.length;b++)o=r[b],u.o(a,o)&&a[o]&&a[o][0](),a[o]=0;return u.O(d)},(o=self.webpackChunknr_pies=self.webpackChunknr_pies||[]).forEach(c.bind(null,0)),o.push=c.bind(null,o.push.bind(o))})(); \ No newline at end of file diff --git a/docs/category/concept-maps.html b/docs/category/concept-maps.html new file mode 100644 index 0000000..27f7a41 --- /dev/null +++ b/docs/category/concept-maps.html @@ -0,0 +1 @@ +<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page" data-has-hydrated=false><meta charset=UTF-8><meta name=generator content="Docusaurus v3.6.3"><title data-rh=true>Concept Maps | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/docs/category/data-types.html b/docs/category/data-types.html new file mode 100644 index 0000000..11e7c27 --- /dev/null +++ b/docs/category/data-types.html @@ -0,0 +1 @@ +Data Types | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/docs/category/resource-types.html b/docs/category/resource-types.html new file mode 100644 index 0000000..d985ead --- /dev/null +++ b/docs/category/resource-types.html @@ -0,0 +1 @@ +Resource Types | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/docs/category/tutorial---basics.html b/docs/category/tutorial---basics.html new file mode 100644 index 0000000..c013ba4 --- /dev/null +++ b/docs/category/tutorial---basics.html @@ -0,0 +1 @@ +Tutorial - Basics | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/docs/category/tutorial---extras.html b/docs/category/tutorial---extras.html new file mode 100644 index 0000000..6b13f29 --- /dev/null +++ b/docs/category/tutorial---extras.html @@ -0,0 +1 @@ +Tutorial - Extras | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/docs/docusaurus/intro.html b/docs/docusaurus/intro.html new file mode 100644 index 0000000..3d7e987 --- /dev/null +++ b/docs/docusaurus/intro.html @@ -0,0 +1,33 @@ +Tutorial Intro | Permitting Interoperability Exchange Specification

    Tutorial Intro

    +

    Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get +started, please review the following:

    + +

    Everything else below this line includes the original tutorial documentation for setting up and using Docusaurus.

    +
    +

    Let's discover Docusaurus in less than 5 minutes.

    +

    Getting Started

    +

    Get started by creating a new site.

    +

    Or try Docusaurus immediately with docusaurus.new.

    +

    What you'll need

    +
      +
    • Node.js version 18.0 or above: +
        +
      • When installing Node.js, you are recommended to check all checkboxes related to dependencies.
      • +
      +
    • +
    +

    Generate a new site

    +

    Generate a new Docusaurus site using the classic template.

    +

    The classic template will automatically be added to your project after you run the command:

    +
    npm init docusaurus@latest my-website classic
    +

    You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

    +

    The command also installs all necessary dependencies you need to run Docusaurus.

    +

    Start your site

    +

    Run the development server:

    +
    cd my-website
    npm run start
    +

    The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

    +

    The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.

    +

    Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.

    \ No newline at end of file diff --git a/docs/docusaurus/tutorial_basics/congratulations.html b/docs/docusaurus/tutorial_basics/congratulations.html new file mode 100644 index 0000000..cbea0ba --- /dev/null +++ b/docs/docusaurus/tutorial_basics/congratulations.html @@ -0,0 +1,15 @@ +Congratulations! | Permitting Interoperability Exchange Specification

    Congratulations!

    +

    You have just learned the basics of Docusaurus and made some changes to the initial template.

    +

    Docusaurus has much more to offer!

    +

    Have 5 more minutes? Take a look at versioning and i18n.

    +

    Anything unclear or buggy in this tutorial? Please report it!

    +

    What's next?

    +
    \ No newline at end of file diff --git a/docs/docusaurus/tutorial_basics/create_a_blog_post.html b/docs/docusaurus/tutorial_basics/create_a_blog_post.html new file mode 100644 index 0000000..8cdbd4f --- /dev/null +++ b/docs/docusaurus/tutorial_basics/create_a_blog_post.html @@ -0,0 +1,6 @@ +Create a Blog Post | Permitting Interoperability Exchange Specification

    Create a Blog Post

    +

    Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...

    +

    Create your first Post

    +

    Create a file at blog/2021-02-28-greetings.md:

    +
    blog/2021-02-28-greetings.md
    ---
    slug: greetings
    title: Greetings!
    authors:
    - name: Joel Marcey
    title: Co-creator of Docusaurus 1
    url: https://github.com/JoelMarcey
    image_url: https://github.com/JoelMarcey.png
    - name: Sébastien Lorber
    title: Docusaurus maintainer
    url: https://sebastienlorber.com
    image_url: https://github.com/slorber.png
    tags: [greetings]
    ---

    Congratulations, you have made your first post!

    Feel free to play around and edit this post as much as you like.
    +

    A new blog post is now available at http://localhost:3000/blog/greetings.

    \ No newline at end of file diff --git a/docs/docusaurus/tutorial_basics/create_a_document.html b/docs/docusaurus/tutorial_basics/create_a_document.html new file mode 100644 index 0000000..394b419 --- /dev/null +++ b/docs/docusaurus/tutorial_basics/create_a_document.html @@ -0,0 +1,17 @@ +Create a Document | Permitting Interoperability Exchange Specification

    Create a Document

    +

    Documents are groups of pages connected through:

    +
      +
    • a sidebar
    • +
    • previous/next navigation
    • +
    • versioning
    • +
    +

    Create your first Doc

    +

    Create a Markdown file at docs/hello.md:

    +
    docs/hello.md
    # Hello

    This is my **first Docusaurus document**!
    +

    A new document is now available at http://localhost:3000/docs/hello.

    +

    Configure the Sidebar

    +

    Docusaurus automatically creates a sidebar from the docs folder.

    +

    Add metadata to customize the sidebar label and position:

    +
    docs/hello.md
    ---
    sidebar_label: 'Hi!'
    sidebar_position: 3
    ---

    # Hello

    This is my **first Docusaurus document**!
    +

    It is also possible to create your sidebar explicitly in sidebars.js:

    +
    sidebars.js
    export default {
    tutorialSidebar: [
    'intro',
    'hello',
    {
    type: 'category',
    label: 'Tutorial',
    items: ['tutorial_basics/create-a-document']
    }
    ]
    };
    \ No newline at end of file diff --git a/docs/docusaurus/tutorial_basics/create_a_page.html b/docs/docusaurus/tutorial_basics/create_a_page.html new file mode 100644 index 0000000..8a65755 --- /dev/null +++ b/docs/docusaurus/tutorial_basics/create_a_page.html @@ -0,0 +1,22 @@ +Create a Page | Permitting Interoperability Exchange Specification

    Create a Page

    +

    Add Markdown or React files to src/pages to create a standalone page:

    +
      +
    • src/pages/index.jslocalhost:3000/
    • +
    • src/pages/foo.mdlocalhost:3000/foo
    • +
    • src/pages/foo/bar.jslocalhost:3000/foo/bar
    • +
    +
    +
      +
    • Please use snake_case when naming files with multiple subjects in order to be consistent with the rest of the +repository.
    • +
    • When you create a new .md or .mdx file, please make sure to add in the appropriate +Front Matter so that your content is properly categorized.
    • +
    +

    Create your first React Page

    +

    Create a file at src/pages/my-react-page.js:

    +
    src/pages/my-react-page.js
    import React from 'react';
    import Layout from '@theme/Layout';

    export default function MyReactPage() {
    return (
    <Layout>
    <h1>My React page</h1>
    <p>This is a React page</p>
    </Layout>
    );
    }
    +

    A new page is now available at http://localhost:3000/my-react-page.

    +

    Create your first Markdown Page

    +

    Create a file at src/pages/my-markdown-page.md:

    +
    src/pages/my-markdown-page.md
    # My Markdown page

    This is a Markdown page
    +

    A new page is now available at http://localhost:3000/my-markdown-page.

    \ No newline at end of file diff --git a/docs/docusaurus/tutorial_basics/deploy_your_site.html b/docs/docusaurus/tutorial_basics/deploy_your_site.html new file mode 100644 index 0000000..1b035c7 --- /dev/null +++ b/docs/docusaurus/tutorial_basics/deploy_your_site.html @@ -0,0 +1,12 @@ +Deploy your site | Permitting Interoperability Exchange Specification

    Deploy your site

    +

    Docusaurus is a static-site-generator (also called Jamstack).

    +

    It builds your site as simple static HTML, JavaScript and CSS files.

    +

    Build your site

    +

    Build your site for production:

    +
    npm run build
    +

    The static files are generated in the build folder.

    +

    Deploy your site

    +

    Test your production build locally:

    +
    npm run serve
    +

    The build folder is now served at http://localhost:3000/.

    +

    You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).

    \ No newline at end of file diff --git a/docs/docusaurus/tutorial_basics/markdown_features.html b/docs/docusaurus/tutorial_basics/markdown_features.html new file mode 100644 index 0000000..d7fe6be --- /dev/null +++ b/docs/docusaurus/tutorial_basics/markdown_features.html @@ -0,0 +1,49 @@ +Markdown Features | Permitting Interoperability Exchange Specification

    Markdown Features

    +

    Docusaurus supports Markdown and a few additional +features.

    +

    Front Matter

    +

    Markdown documents have metadata at the top called Front Matter:

    +
    my-doc.md
    ---
    id: my_doc_id
    title: My document title
    description: My document description
    slug: /my-custom-url
    tags:
    - developer
    ---

    ## Markdown heading

    Markdown text with [links](./hello.md)
    +

    We recommend that all markdown pages should have at minimum a title, description and tags array defined. An id +may be specified, but can be derived off of the filename when omitted.

    +
    info

    A complete listing of Docusaurus supported front matter fields can be found here.

    + +

    Regular Markdown links are supported, using url paths or relative file paths.

    +
    Let's see how to [Create a page](/create_a_page).
    +
    Let's see how to [Create a page](./create_a_page.md).
    +

    Result: Let's see how to Create a page.

    +

    Images

    +

    Regular Markdown images are supported.

    +

    You can use absolute paths to reference images in the static directory (static/img/docusaurus.png):

    +
    ![Docusaurus logo](/img/docusaurus.png)
    +

    Docusaurus logo

    +

    You can reference images relative to the current file as well. This is particularly useful to colocate images close to +the Markdown files using them:

    +
    ![Docusaurus logo](./img/docusaurus.png)
    +

    Code Blocks

    +

    Markdown code blocks are supported with Syntax highlighting.

    +
    ```jsx title="src/components/HelloDocusaurus.js"
    function HelloDocusaurus() {
    return <h1>Hello, Docusaurus!</h1>;
    }
    ```
    +
    src/components/HelloDocusaurus.js
    function HelloDocusaurus() {
    return <h1>Hello, Docusaurus!</h1>;
    }
    +

    Admonitions

    +

    Docusaurus has a special syntax to create admonitions and callouts:

    +
    :::tip[My tip]

    Use this awesome feature option

    :::

    :::danger[Take care]

    This action is dangerous

    :::
    +
    My tip

    Use this awesome feature option

    +
    Take care

    This action is dangerous

    +

    Mermaid Graphs

    +

    Our Docusaurus instance supports diagramming and charting through Mermaid. The following +are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, +visit their documentation for more details under the Diagram Syntax section on the +sidebar.

    +

    State Machine

    +
    ```mermaid
    graph TD
    A-->B
    A-->C
    B-->D
    C-->D
    ```
    + +

    Flowchart

    +
    ```mermaid
    graph LR
    A[PIES] -->|Get spec| B(Stakeholder approval)
    B --> C{Purpose}
    B --> G[/Further Analysis/]
    C ==>|One| D[Document Exchange]
    C -->|Two| E[Event Alerts]
    C -->|Three| F[Aggregation]
    subgraph identification
    A
    B
    end
    subgraph execution
    C
    D
    E
    F
    G
    end
    ```
    + +

    MDX and React Components

    +

    MDX can make your documentation more interactive and allows using any React components +inside Markdown:

    +
    export const Highlight = ({children, color}) => (
    <span
    style={{
    backgroundColor: color,
    borderRadius: '20px',
    color: '#fff',
    padding: '10px',
    cursor: 'pointer',
    }}
    onClick={() => {
    alert(`You clicked the color ${color} with label ${children}`)
    }}>
    {children}
    </span>
    );

    This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !

    This is <Highlight color="#1877F2">Facebook blue</Highlight> !
    + +

    This is Docusaurus green !

    +

    This is Facebook blue !

    \ No newline at end of file diff --git a/docs/docusaurus/tutorial_extras/manage_docs_versions.html b/docs/docusaurus/tutorial_extras/manage_docs_versions.html new file mode 100644 index 0000000..dd7442e --- /dev/null +++ b/docs/docusaurus/tutorial_extras/manage_docs_versions.html @@ -0,0 +1,23 @@ +Manage Docs Versions | Permitting Interoperability Exchange Specification

    Manage Docs Versions

    +

    Docusaurus can manage multiple versions of your docs.

    +

    Create a docs version

    +

    Release a version 1.0 of your project:

    +
    npm run docusaurus docs:version 1.0
    +

    The docs folder is copied into versioned_docs/version-1.0 and versions.json is created.

    +

    Your docs now have 2 versions:

    +
      +
    • 1.0 at http://localhost:3000/docs/ for the version 1.0 docs
    • +
    • current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs
    • +
    +

    Add a Version Dropdown

    +

    To navigate seamlessly across versions, add a version dropdown.

    +

    Modify the docusaurus.config.js file:

    +
    docusaurus.config.js
    export default {
    themeConfig: {
    navbar: {
    items: [
    {
    type: "docsVersionDropdown",
    },
    ],
    },
    },
    };
    +

    The docs version dropdown appears in your navbar:

    +

    Docs Version Dropdown

    +

    Update an existing version

    +

    It is possible to edit versioned docs in their respective folder:

    +
      +
    • versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello
    • +
    • docs/hello.md updates http://localhost:3000/docs/next/hello
    • +
    \ No newline at end of file diff --git a/docs/docusaurus/tutorial_extras/translate_your_site.html b/docs/docusaurus/tutorial_extras/translate_your_site.html new file mode 100644 index 0000000..5f4a72e --- /dev/null +++ b/docs/docusaurus/tutorial_extras/translate_your_site.html @@ -0,0 +1,25 @@ +Translate your site | Permitting Interoperability Exchange Specification

    Translate your site

    +

    Let's translate docs/intro.md to French.

    +

    Configure i18n

    +

    Modify docusaurus.config.js to add support for the fr locale:

    +
    docusaurus.config.js
    export default {
    i18n: {
    defaultLocale: 'en',
    locales: ['en', 'fr'],
    },
    };
    +

    Translate a doc

    +

    Copy the docs/intro.md file to the i18n/fr folder:

    +
    mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/

    cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md
    +

    Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.

    +

    Start your localized site

    +

    Start your site on the French locale:

    +
    npm run start -- --locale fr
    +

    Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated.

    +
    caution

    In development, you can only use one locale at a time.

    +

    Add a Locale Dropdown

    +

    To navigate seamlessly across languages, add a locale dropdown.

    +

    Modify the docusaurus.config.js file:

    +
    docusaurus.config.js
    export default {
    themeConfig: {
    navbar: {
    items: [
    {
    type: 'localeDropdown',
    },
    ],
    },
    },
    };
    +

    The locale dropdown now appears in your navbar:

    +

    Locale Dropdown

    +

    Build your localized site

    +

    Build your site for a specific locale:

    +
    npm run build -- --locale fr
    +

    Or build your site to include all the locales at once:

    +
    npm run build
    \ No newline at end of file diff --git a/docs/intro/getting_started.html b/docs/intro/getting_started.html new file mode 100644 index 0000000..6d267b8 --- /dev/null +++ b/docs/intro/getting_started.html @@ -0,0 +1,72 @@ +Getting Started | Permitting Interoperability Exchange Specification

    Getting Started

    Welcome! This site repository contains common schemas related to permitting in the Natural Resources Sector for the +Province of British Columbia. The intent of these are to standardize the way permitting in the Natural Resource Sector +is described as data to enable quality and interoperability.

    +

    Hosting this specification in the open will encourage collaboration, adoption and enable versioning.

    +

    These will be reviewed and updated with relevant partners, data custodians, stewards and sector permitting teams.

    +

    Purpose

    +

    Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as +many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting +reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems +can't integrate without a common language.

    +

    This standard specifies the foundational set of core descriptive data types and elements required to enable the +compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the +purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for +policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on +permitting.

    +

    Objectives

    +

    The main objective of PIES is to deliver a published specification to enable better data quality and system +interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or +usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes +across the sector.

    +
      +
    • Make it easier to connect and work with the information in different permitting systems. +
        +
      • Reduce the effort and cost of systems integrations and automation.
      • +
      • Unlock the ability to provide consistent progress tracking to proponents.
      • +
      +
    • +
    • Create technical guidelines that help various systems communicate smoothly and consistently.
    • +
    • Support different ways for systems to communicate with each other.
    • +
    • Unlock potential for evidence-based policy and transformative potential of AI.
    • +
    +

    Getting Everyone on the Same Page

    +
      +
    • Set up a working group for people interested to contribute and adopt PIES. See MS Teams.
    • +
    • Create clear rules for data governance.
    • +
    • Develop a common language so everyone understands the same terms.
    • +
    • Gather feedback to ensure data is represented accurately and clearly.
    • +
    +

    Documentation

    +
      +
    • Share best practices for documenting government data standards.
    • +
    • Identify and list common permitting concepts and data types.
    • +
    • Create a plan for implementing solutions using transformations and microservices.
    • +
    +

    And of course, PIES are delicious! 😄

    +

    Goals

    +
      +
    • Enable a cross sector view +
        +
      • Through appropriate data access
      • +
      • Creates a single point of validated reporting
      • +
      +
    • +
    • Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement +
        +
      • Data quality
      • +
      • Data and information consistency
      • +
      • Identify processing times
      • +
      • Data harmonization cross sector level reporting
      • +
      • Activity bundling and linking
      • +
      • Coordinated First Nations Consultation
      • +
      +
    • +
    +

    Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to +achieve interoperability (the ability for the systems to understand the key elements of information they need to share +and talk to each other in a common language).

    +

    An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will +focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems +into the data standards.

    +

    Schemas

    +

    TBD

    \ No newline at end of file diff --git a/docs/intro/terminology.html b/docs/intro/terminology.html new file mode 100644 index 0000000..5ff10ec --- /dev/null +++ b/docs/intro/terminology.html @@ -0,0 +1,26 @@ +Terminology | Permitting Interoperability Exchange Specification

    Terminology

    This page provides an overview and guide to the PIES resources, operations and concepts used for representing and +communicating coded, structured data within this specification. Collectively, these concepts are used to provide a +common definition and framework for traversing the coded concepts within PIES.

    +

    Acronyms

    +
    TermDefinition
    LOBLine of Business
    +

    Concepts

    +

    The following terms outline the main concepts used within this specification and aim to provide a common lexicon for +understanding and terminology usage.

    +

    Actors

    +

    This section discusses the various roles that a person, group or an organization may act as within the context of PIES.

    +
    TermDefinition
    ApplicantA person, group or organization seeking an authorization to perform a set of activities.
    Decision MakerA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions.
    FacilitatorAn established role which focuses on delivering dedicated support to applicants on application submissions.
    Interested PartyA person, or group which may be impacted by an authorization decision.
    Local GovernmentA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction.
    NavigatorA synonym for a facilitator.
    ProponentA synonym for an applicant.
    Referral AgencyA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application.
    Subject Matter ExpertA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy.
    +

    Definitions

    +

    This section outlines the definitions and common vocabulary used for representing specific concepts within PIES.

    +
    TermDefinition???
    ActivityA specific singular defined intent of action within an area of intent as defined by a referral agency. An activity may require one or more authorizations, e.g., a housing development project. An activity may be associated with a project.
    Activity BundlingThe act of identifying the set of permits required for a certain activity.This should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship
    ApplicationA submitted form(s) with the intent to obtain or amend an authorization.This might be getting muddled with the concept of a project.
    Area of IntentA set of one or more parcels which define the location(s) an activity is to be performed.
    AuthorizationThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.We might need to expand this definition over time as this is the formal umbrella term for many things.
    CaseloadWork happening with the LOB to facilitate, capture and maintain a permit.
    DispositionThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.First attempt at defining - needs review
    ParcelA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.Rephrased from LTSA page
    PermitAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization.
    ProjectAn optional set of one or more activities as defined by an applicant.
    SubmissionThe completed output of a single form as answered by an applicant.Add a note like "Submissions require an adjective declaring their application context"?
    WorkloadA quantifiable measurement of the number of client-driven applications in the queue.
    +

    The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they +interact with specific parts of the process.

    + +

    Process Tracking

    +

    This section outlines the definitions and common vocabulary used for representing specific concepts within a process.

    +
    TermDefinition???
    LifecycleRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.Highest level concept; answers the "why"
    PhaseA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.Defines an ordering of related stages.
    StageA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.Provides an ordering of higher level states within a phase of work
    StateA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.Larger general "where is this at" concept
    StatusA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.Detailed "what is happening now" concept
    +

    The following diagram outlines a high level categorization map between all of the process terms and how they relate to +each other.

    + +

    Structure

    +

    The following terms describe the structural definitions of the specification ordered from specific to general.

    +
    TermDefinition
    Data TypeA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date.
    IdentifiersIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations.
    VocabularyA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher."
    SchemaA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema.
    FormatThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML.
    APIAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web.
    \ No newline at end of file diff --git a/docs/spec/concept/process_tracking.html b/docs/spec/concept/process_tracking.html new file mode 100644 index 0000000..af8a412 --- /dev/null +++ b/docs/spec/concept/process_tracking.html @@ -0,0 +1,12 @@ +Process Tracking | Permitting Interoperability Exchange Specification

    Process Tracking

    This page outlines the conceptual hierarchy and terminology embeddings which can describe the tracking of a process.

    +

    Classifications

    +

    Refer to the Process Tracking Terminology to understand the definitions +behind each classification level.

    +

    Concept Map

    + + +

    Code Sets

    +

    Each classification within the context of a specific kind of lifecycle will have a codified and enumerated concept. TBD.

    +

    Type Descriptors

    +

    Each kind of lifecycle may be described by a type descriptor. For example, an application may be an amendment type, or +it may be a transfer type. TBD

    \ No newline at end of file diff --git a/docs/spec/data/code.html b/docs/spec/data/code.html new file mode 100644 index 0000000..0989283 --- /dev/null +++ b/docs/spec/data/code.html @@ -0,0 +1,13 @@ +Code | Permitting Interoperability Exchange Specification

    Code

    Indicates that the value is taken from a set of controlled strings defined elsewhere. Technically, a code is restricted +to a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace +other than single spaces in the contents.

    +

    This data type is intended to represent a finite set of controlled strings which represents a specific, discrete +concept, element or idea.

    +

    Structure

    +

    Type: string

    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/docs/spec/data/event.html b/docs/spec/data/event.html new file mode 100644 index 0000000..5bb2cc9 --- /dev/null +++ b/docs/spec/data/event.html @@ -0,0 +1,12 @@ +Event | Permitting Interoperability Exchange Specification

    Event

    Represents a process concept.

    +

    Scope

    +

    This data type is intended to represent the core concept of a temporal event. It may contain a set of timestamps.

    +

    Loosely taking inspiration from HL7 Timing.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    TBD1..1stringTBD
    +

    Specification

    +
    [
    {
    "start": "2017-01-01T00:00:00.000Z",
    "end": "2017-01-02T00:00:00.000Z"
    },
    {
    "start": "2017-01-03T00:00:00.000Z"
    }
    ]
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/docs/spec/data/parcel_id.html b/docs/spec/data/parcel_id.html new file mode 100644 index 0000000..e130696 --- /dev/null +++ b/docs/spec/data/parcel_id.html @@ -0,0 +1,30 @@ +Parcel Identifier | Permitting Interoperability Exchange Specification

    Parcel Identifier

    An identifier for a specific area with clear boundaries.

    +

    There a multiple ways to identify a parcel. Most common are the Parcel ID (PID) or Parcel Identification Number (PIN).

    +

    Scope

    +

    Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the +land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being +entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.

    +

    The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.

    +

    Structure

    +
      +
    • A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.
    • +
    • A Parcel Identifier may contain a legal_description and/or a parcel_name.
    • +
    +
    NameCardinalityTypeDescription & Constraints
    legal_description0..1stringThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.
    parcel_name0..1stringThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK.
    pid0..*integerParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.
    pin0..1integerThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.
    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    Parcel ID (PID)

    +

    Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During +the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes +padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes:

    +
      +
    • parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.
    • +
    • parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes.
    • +
    +

    Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type.

    +

    References

    +
    \ No newline at end of file diff --git a/docs/spec/data/process.html b/docs/spec/data/process.html new file mode 100644 index 0000000..fcb54d9 --- /dev/null +++ b/docs/spec/data/process.html @@ -0,0 +1,12 @@ +Process | Permitting Interoperability Exchange Specification

    Process

    Represents a process concept.

    +

    Scope

    +

    This data type is intended to represent the core concept of a defined process.

    +

    Loosely taking inspiration from HL7 Timing.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    TBD1..1stringTBD
    +

    Specification

    +
    {
    "class": "status",
    "description": "The authorization request is under review by subject matter expert.",
    "parent_class": "stage",
    "parent_concept": "underreview",
    "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking",
    "value": "pending review"
    }
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/docs/spec/data/project_bundle.html b/docs/spec/data/project_bundle.html new file mode 100644 index 0000000..bbc361f --- /dev/null +++ b/docs/spec/data/project_bundle.html @@ -0,0 +1,12 @@ +Project Bundle | Permitting Interoperability Exchange Specification

    Project Bundle

    A set of one or more permits related to an activity.

    +

    A project is defined by an activity with one or more permits. Grouping of a primary authorization with secondary or associated authorizations that are triggered or required by the primary authorization. For example: major mine permit (primary) and associated auxiliary (secondary) permits such as License to Cut, Water Use, and or Road Use.

    +

    Scope

    +

    This data type is intended to represent a grouping of related permits that are related to a specific activity.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    project_id1..1uuidA unique key to track all permits related to a project or activity across all permitting systems.
    project_name1..1stringShort name of the project.
    project_description0..1stringFull description of the project. This may contain information to better understand a project.
    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/docs/spec/formatting.html b/docs/spec/formatting.html new file mode 100644 index 0000000..74b8516 --- /dev/null +++ b/docs/spec/formatting.html @@ -0,0 +1,31 @@ +Formatting | Permitting Interoperability Exchange Specification

    Formatting

    Every data standard must have a core set of fundamental data types that content will be transmitted in. Since the +Permitting Interoperability Exchange Specification is built on top of the JSON Schema +standard, it will leverage the conventions specified in that standard, including +RFC 8259 which defines JSON. The PIES specification will be compliant +to the draft 07 specification of the JSON Schema standard. While there exists more recent draft versions, notably the +draft 2020-12 standard, features that were introduced after draft 07 will not be defined and used at this time in +order to maximize compatibility with implementor systems.

    +

    JSON Schema Primer

    +

    A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way +to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for +describing expected structures, describing conceptual relationships between related topics and domains

    +

    A JSON Schema will typically contain the following attributes:

    +
      +
    • $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.
    • +
    • $id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.
    • +
    • $comment - A free text field for conveying out of band information about the schema. Comments are useful for +specification readers and editors to understand further nuances for certain properties and structures, but should not +be relied upon for implementation as they may be skipped over or stripped when parsed by machines.
    • +
    • title - The intent of the schema. This should be brief and concise.
    • +
    • description - A brief description about the schema. This should provide a quick overview for the context of usage.
    • +
    • properties - A set of attributes that are expected to show up in this document type.
    • +
    • required - An array defining the set of properties that must be present for the document to be considered valid. +Anything defined that is not in this array is implied to be optional.
    • +
    • type - The type primitive constraint for the property.
    • +
    +

    References

    +
    \ No newline at end of file diff --git a/docs/spec/primitive_types.html b/docs/spec/primitive_types.html new file mode 100644 index 0000000..7014c70 --- /dev/null +++ b/docs/spec/primitive_types.html @@ -0,0 +1,143 @@ +Primitive Types | Permitting Interoperability Exchange Specification

    Primitive Types

    The JSON Schema specifies fundamental +data types +that can be used and defined within a schema.

    + +

    These types are consistent with what can be expected within the standardized JavaScript Object Notation (JSON) format +(RFC 8259). Most implementation languages support these constructs, but +may represent them with different names. We recommend referring to the +JSON schema data types documentation as a primary +source for standards representation guidance, followed by the government standards guidance and +ensuring that the content represent meets both.

    +

    String

    +

    Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as +specified in RFC 3629, which is an extension of the ISO 10646-1 +standard.

    +

    Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expression +pattern. In addition, there are common +built-in format types that a +string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation +for more detail on the available built-in format types.

    +

    Date and Time

    +

    Date and/or time formats shall be represented in +RFC 3339, section 5.6 format, also commonly known as +ISO 8601. Unless otherwise specified, date-time shall be +internally stored and represented in a format compatible with unix/epoch +time.

    +

    If the time is specified, such as when either the time or date-time formats are used, the time representations +shall be encoded in UTC time. Reference the +JSON Schema documentation for more +specific examples.

    +
    warning

    Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard.

    +

    Email

    +

    Email addresses with format email shall be represented in +RFC 5321, section 4.1.2 format. Emails may also be +conveyed in internationalized format idn-email which will be compliant to +RFC 6531. Reference the +JSON Schema documentation for more +details.

    +

    Hostname

    +

    Hostnames with format hostname shall be represented in +RFC 1123, section 2.1 format. Hostnames may also be conveyed +in internationalized format idn-hostname which will be compliant to +RFC 5890, section 2.3.2.3. Reference the +JSON Schema documentation for more +details.

    +

    IP Address

    +

    IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply with +RFC 2673, section 3.2. If IPv6 is used, it shall comply +with RFC 2373, section 2.2. Reference the +JSON Schema documentation for more +details.

    +

    Resource Identifier

    +

    Universal resource identifiers will use format uri and comply with +RFC 3986. There are other less commonly used formats described in the +JSON Schema documentation.

    +
    warning

    Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. +Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most +cases, uuid v4 will be used. When a uuid is used, it shall comply with +RFC 4122. The regular expression to be used when specifying uuids will +be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize +compatibility.

    info

    While there is RFC 9562 which extends RFC 4122 by adding in uuid +versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when +these newer uuid versions are used.

    +

    URI Template

    +

    URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters +that must be substituted in before the URI may be resolved. This should comply with +RFC 6570. Check the +JSON Schema documentation for +more details.

    +

    Regular Expression

    +

    Regular expressions with format regex should comply with the +ECMA 262 dialect. Check the +JSON Schema documentation for +more details.

    +

    Numeric

    +

    Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to +differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an +integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a number +type in lieu of the integer type for most scenarios that do not require integer level precision.

    +

    Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum, +exclusiveMinimum and exclusiveMaximum. Reference the +JSON Schema documentation for more specific +examples.

    +

    Object

    +

    Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a +key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and +structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required +and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition.

    +

    More specific details on what can be done can be found in the +JSON Schema documentation.

    +

    Array

    +

    Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, +array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to +provide a looser expectation of what kinds of elements are expected.

    +

    Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used +to describe the boundaries of the array. Reference the +JSON Schema documentation for more specific examples.

    +

    Boolean

    +

    Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other +values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first +prior to encoding. Reference the +JSON Schema documentation for more details.

    +

    Null

    +

    Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate +to the absence of a value, or undefined. Reference the +JSON Schema documentation for more details.

    +

    References

    +

    Government Standards

    + +

    Technical Standards

    + +

    Errata

    +
    \ No newline at end of file diff --git a/docs/spec/resource/process_event.html b/docs/spec/resource/process_event.html new file mode 100644 index 0000000..a71e5c1 --- /dev/null +++ b/docs/spec/resource/process_event.html @@ -0,0 +1,12 @@ +Process Event | Permitting Interoperability Exchange Specification

    Process Event

    Represents a process concept at a specific moment in time.

    +

    Scope

    +

    This data type is intended to represent an instance of a temporal event within a defined process.

    +

    Loosely taking inspiration from HL7 Timing.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    TBD1..1stringTBD
    +

    Specification

    +
    {
    "event": [
    {
    "start": "2017-01-01T00:00:00.000Z",
    "end": "2017-01-02T00:00:00.000Z"
    },
    {
    "start": "2017-01-03T00:00:00.000Z"
    }
    ],
    "process": {
    "class": "status",
    "description": "The authorization request is under review by subject matter expert.",
    "parent_class": "stage",
    "parent_concept": "underreview",
    "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking",
    "value": "pending review"
    }
    }
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/docs/tags.html b/docs/tags.html new file mode 100644 index 0000000..567160a --- /dev/null +++ b/docs/tags.html @@ -0,0 +1 @@ +Tags | Permitting Interoperability Exchange Specification
    \ No newline at end of file diff --git a/docs/tags/business.html b/docs/tags/business.html new file mode 100644 index 0000000..a5ebcdf --- /dev/null +++ b/docs/tags/business.html @@ -0,0 +1 @@ +3 docs tagged with "Business" | Permitting Interoperability Exchange Specification

    3 docs tagged with "Business"

    Content related to business cases and rationale

    View all tags

    Terminology

    The definitions of specific technical terms and concepts used in PIES

    \ No newline at end of file diff --git a/docs/tags/developer.html b/docs/tags/developer.html new file mode 100644 index 0000000..86d4f9f --- /dev/null +++ b/docs/tags/developer.html @@ -0,0 +1 @@ +10 docs tagged with "Developer" | Permitting Interoperability Exchange Specification

    10 docs tagged with "Developer"

    Content related to technical structure and implementation

    View all tags

    Event

    Represents an event concept.

    Formatting

    The syntax, encoding and file format used by PIES

    Process

    Represents a process concept.

    Process Event

    Represents a process concept at a specific moment in time.

    Terminology

    The definitions of specific technical terms and concepts used in PIES

    \ No newline at end of file diff --git a/docs/tags/executive.html b/docs/tags/executive.html new file mode 100644 index 0000000..4441701 --- /dev/null +++ b/docs/tags/executive.html @@ -0,0 +1 @@ +One doc tagged with "Executive" | Permitting Interoperability Exchange Specification

    One doc tagged with "Executive"

    Content related to policies and strategic alignment

    View all tags
    \ No newline at end of file diff --git a/editor.worker.js b/editor.worker.js new file mode 100644 index 0000000..aaa3918 --- /dev/null +++ b/editor.worker.js @@ -0,0 +1 @@ +(()=>{"use strict";let e,t,i,n,r,s,o;var a,l,u,h,d,c,g,m,f,p,b,_,v,y,C,L,w,N,E,S,R,A,x,M,k,O,T,I,P,D,K,F,q,V,B,U,W,H,z,$,j,G,Q,Y,X,J,Z,ee,et,ei,en,er,es,eo,ea,el,eu,eh,ed,ec,eg,em,ef,ep,eb,e_,ev,ey,eC,eL,ew,eN,eE,eS,eR,eA,ex,eM,ek,eO,eT,eI,eP,eD,eK,eF,eq,eV,eB,eU,eW,eH,ez,e$,ej,eG,eQ,eY,eX,eJ,eZ,e1,e0,e2,e4,e5,e7,e9,e6,e8,e3,te,tt,ti,tn,tr,ts,to,ta,tl={};tl.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();let tu=new class e{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(tm.isErrorNoTelemetry(e))throw new tm(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function th(e){!function(e){return e instanceof tg||e instanceof Error&&e.name===tc&&e.message===tc}(e)&&tu.onUnexpectedError(e)}function td(e){if(e instanceof Error){let{name:t,message:i}=e;return{$isError:!0,name:t,message:i,stack:e.stacktrace||e.stack,noTelemetry:tm.isErrorNoTelemetry(e)}}return e}let tc="Canceled";class tg extends Error{constructor(){super(tc),this.name=this.message}}class tm extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof tm)return e;let t=new tm;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class tf extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,tf.prototype)}}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let i=Object.freeze([]);function*n(e){yield e}e.empty=function(){return i},e.single=n;e.wrap=function(e){return t(e)?e:n(e)};e.from=function(e){return e||i};e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]};e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done};e.first=function(e){return e[Symbol.iterator]().next().value};e.some=function(e,t){for(let i of e)if(t(i))return!0;return!1};e.find=function(e,t){for(let i of e)if(t(i))return i};e.filter=function*(e,t){for(let i of e)t(i)&&(yield i)};e.map=function*(e,t){let i=0;for(let n of e)yield t(n,i++)};e.concat=function*(...e){for(let t of e)for(let e of t)yield e};e.reduce=function(e,t,i){let n=i;for(let i of e)n=t(n,i);return n};e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);tr}]}}(eg||(eg={}));let tp=null;function tb(e){return null==tp||tp.trackDisposable(e),e}function t_(e){null==tp||tp.markAsDisposed(e)}function tv(e,t){null==tp||tp.setParent(e,t)}function ty(e){if(eg.is(e)){let t=[];for(let i of e)if(i)try{i.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function tC(e){let t=tb({dispose:function(e){let t;let i=this,n=!1;return function(){return n?t:(n=!0,t=e.apply(i,arguments),t)}}(()=>{t_(t),e()})});return t}class tL{constructor(){this._toDispose=new Set,this._isDisposed=!1,tb(this)}dispose(){if(!this._isDisposed)t_(this),this._isDisposed=!0,this.clear()}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{ty(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return tv(e,this),this._isDisposed?!tL.DISABLE_DISPOSED_WARNING&&console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){if(!!e)this._toDispose.has(e)&&(this._toDispose.delete(e),tv(e,null))}}tL.DISABLE_DISPOSED_WARNING=!1;class tw{constructor(){this._store=new tL,tb(this),tv(this._store,this)}dispose(){t_(this),this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}tw.None=Object.freeze({dispose(){}}),Symbol.iterator;class tN{constructor(e){this.element=e,this.next=tN.Undefined,this.prev=tN.Undefined}}tN.Undefined=new tN(void 0);class tE{constructor(){this._first=tN.Undefined,this._last=tN.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===tN.Undefined}clear(){let e=this._first;for(;e!==tN.Undefined;){let t=e.next;e.prev=tN.Undefined,e.next=tN.Undefined,e=t}this._first=tN.Undefined,this._last=tN.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let i=new tN(e);if(this._first===tN.Undefined)this._first=i,this._last=i;else if(t){let e=this._last;this._last=i,i.prev=e,e.next=i}else{let e=this._first;this._first=i,i.next=e,e.prev=i}this._size+=1;let n=!1;return()=>{!n&&(n=!0,this._remove(i))}}shift(){if(this._first!==tN.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==tN.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==tN.Undefined&&e.next!==tN.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===tN.Undefined&&e.next===tN.Undefined?(this._first=tN.Undefined,this._last=tN.Undefined):e.next===tN.Undefined?(this._last=this._last.prev,this._last.next=tN.Undefined):e.prev===tN.Undefined&&(this._first=this._first.next,this._first.prev=tN.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==tN.Undefined;)yield e.element,e=e.next}}let tS=globalThis.performance&&"function"==typeof globalThis.performance.now;class tR{static create(e){return new tR(e)}constructor(e){this._now=tS&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}!function(e){function t(e){}e.None=()=>tw.None;function i(e){return(t,i=null,n)=>{let r,s=!1;return r=e(e=>s?void 0:(r?r.dispose():s=!0,t.call(i,e)),null,n),s&&r.dispose(),r}}function n(e,t,i){return s((i,n=null,r)=>e(e=>i.call(n,t(e)),null,r),i)}e.defer=function(e,t){return o(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=i,e.map=n;function r(e,t,i){return s((i,n=null,r)=>e(e=>t(e)&&i.call(n,e),null,r),i)}e.forEach=function(e,t,i){return s((i,n=null,r)=>e(e=>{t(e),i.call(n,e)},null,r),i)},e.filter=r;e.signal=function(e){return e};e.any=function(...e){return(t,i=null,n)=>(function(e,t){return t instanceof Array?t.push(e):t&&t.add(e),e})(function(...e){let t=tC(()=>ty(e));return!function(e,t){if(!!tp)for(let i of e)tp.setParent(i,t)}(e,t),t}(...e.map(e=>e(e=>t.call(i,e)))),n)};function s(e,i){let n;let r={onWillAddFirstListener(){n=e(s.fire,s)},onDidRemoveLastListener(){null==n||n.dispose()}};!i&&t(r);let s=new tT(r);return null==i||i.add(s),s.event}e.reduce=function(e,t,i,r){let s=i;return n(e,e=>s=t(s,e),r)};function o(e,i,n=100,r=!1,s=!1,a,l){let u,h,d,c;let g=0,m={leakWarningThreshold:a,onWillAddFirstListener(){u=e(e=>{g++,d=i(d,e),r&&!c&&(f.fire(d),d=void 0),h=()=>{let e=d;d=void 0,c=void 0,(!r||g>1)&&f.fire(e),g=0},"number"==typeof n?(clearTimeout(c),c=setTimeout(h,n)):void 0===c&&(c=0,queueMicrotask(h))})},onWillRemoveListener(){s&&g>0&&(null==h||h())},onDidRemoveLastListener(){h=void 0,u.dispose()}};!l&&t(m);let f=new tT(m);return null==l||l.add(f),f.event}e.debounce=o;e.accumulate=function(t,i=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],i,void 0,!0,void 0,n)};e.latch=function(e,t=(e,t)=>e===t,i){let n,s=!0;return r(e,e=>{let i=s||!t(e,n);return s=!1,n=e,i},i)};e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]};e.buffer=function(e,t=!1,i=[],n){let r=i.slice(),s=e(e=>{r?r.push(e):a.fire(e)});n&&n.add(s);let o=()=>{null==r||r.forEach(e=>a.fire(e)),r=null},a=new tT({onWillAddFirstListener(){!s&&(s=e(e=>a.fire(e)),n&&n.add(s))},onDidAddFirstListener(){r&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return n&&n.add(a),a.event};e.chain=function(e,t){return(i,n,r)=>{let s=t(new l);return e(function(e){let t=s.evaluate(e);t!==a&&i.call(n,t)},void 0,r)}};let a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:a),this}reduce(e,t){let i=t;return this.steps.push(t=>i=e(i,t)),this}latch(e=(e,t)=>e===t){let t,i=!0;return this.steps.push(n=>{let r=i||!e(n,t);return i=!1,t=n,r?n:a}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new tT({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return r.event};e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new tT({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return r.event};e.toPromise=function(e){return new Promise(t=>i(e)(t))};e.fromPromise=function(e){let t=new tT;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event};e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))};e.runAndSubscribeWithStore=function(e,t){let i=null;function n(e){null==i||i.dispose(),t(e,i=new tL)}n(void 0);let r=e(e=>n(e));return tC(()=>{r.dispose(),null==i||i.dispose()})};class u{constructor(e,i){this._observable=e,this._counter=0,this._hasChanged=!1;let n={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};!i&&t(n),this.emitter=new tT(n),i&&i.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new u(e,t).emitter.event};e.fromObservableLight=function(e){return t=>{let i=0,n=!1,r={beginUpdate(){i++},endUpdate(){0==--i&&(e.reportChanges(),n&&(n=!1,t()))},handlePossibleChange(){},handleChange(){n=!0}};return e.addObserver(r),e.reportChanges(),{dispose(){e.removeObserver(r)}}}}}(em||(em={}));class tA{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${tA._idPool++}`,tA.all.add(this)}start(e){this._stopWatch=new tR,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}tA.all=new Set,tA._idPool=0;class tx{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let i=this.threshold;if(i<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class tM{static create(){var e;return new tM(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class tk{constructor(e){this.value=e}}let tO=(e,t)=>{if(e instanceof tk)t(e);else for(let i=0;i{var n,r,s,o,a;let l,u;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),tw.None;if(this._disposed)return tw.None;t&&(e=e.bind(t));let h=new tk(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(h.stack=tM.create(),l=this._leakageMon.check(h.stack,this._size+1)),this._listeners?this._listeners instanceof tk?(null!==(a=this._deliveryQueue)&&void 0!==a||(this._deliveryQueue=new tI),this._listeners=[this._listeners,h]):this._listeners.push(h):(null===(r=null===(n=this._options)||void 0===n?void 0:n.onWillAddFirstListener)||void 0===r||r.call(n,this),this._listeners=h,null===(o=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===o||o.call(s,this)),this._size++;let d=tC(()=>{null==l||l(),this._removeListener(h)});return i instanceof tL?i.add(d):Array.isArray(i)&&i.push(d),d}),this._event}_removeListener(e){var t,i,n,r;if(null===(i=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===i||i.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(r=null===(n=this._options)||void 0===n?void 0:n.onDidRemoveLastListener)||void 0===r||r.call(n,this),this._size=0;return}let s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;let a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}class tI{constructor(){this.i=-1,this.end=0}enqueue(e,t,i){this.i=0,this.end=i,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}Object.prototype.hasOwnProperty;function tP(e){let t=[];for(let i of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[i]&&t.push(i);return t}let tD="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function tK(e,t,...i){var n,r;let s;return n=t,s=0===(r=i).length?n:n.replace(/\{(\d+)\}/g,(e,t)=>{let i=r[t[0]],n=e;return"string"==typeof i?n=i:("number"==typeof i||"boolean"==typeof i||null==i)&&(n=String(i)),n}),tD&&(s="\uFF3B"+s.replace(/[aouei]/g,"$&$&")+"\uFF3D"),s}let tF=!1,tq=!1,tV=!1,tB=!1,tU=!1,tW=!1,tH=!1,tz=!1;let t$="en";let tj="object"==typeof self?self:"object"==typeof tl.g?tl.g:{};void 0!==tj.vscode&&void 0!==tj.vscode.process?r=tj.vscode.process:"undefined"!=typeof process&&(r=process);let tG="string"==typeof(null===(ef=null==r?void 0:r.versions)||void 0===ef?void 0:ef.electron)&&(null==r?void 0:r.type)==="renderer";if("object"!=typeof navigator||tG){if("object"==typeof r){tF="win32"===r.platform,tq="darwin"===r.platform,!(tV="linux"===r.platform)||!r.env.SNAP||r.env.SNAP_REVISION,!r.env.CI&&r.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=r.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),i=t.availableLanguages["*"];t.locale,t.osLocale;t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else{;tF=(n=navigator.userAgent).indexOf("Windows")>=0,tq=n.indexOf("Macintosh")>=0,(n.indexOf("Macintosh")>=0||n.indexOf("iPad")>=0||n.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,tV=n.indexOf("Linux")>=0,null==n||n.indexOf("Mobi"),tU=!0;let e=void(m=tK({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));navigator.language}tq||tF;let tQ=tF,tY=tq;tU&&tj.importScripts;let tX=n,tJ="function"==typeof tj.postMessage&&!tj.importScripts;(()=>{if(tJ){let e=[];tj.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{let n=++t;e.push({id:n,callback:i}),tj.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})();let tZ=!!(tX&&tX.indexOf("Chrome")>=0);tX&&tX.indexOf("Firefox"),!tZ&&tX&&tX.indexOf("Safari"),tX&&tX.indexOf("Edg/"),tX&&tX.indexOf("Android");class t1{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function t0(e){return e>=65&&e<=90}function t2(e){return 55296<=e&&e<=56319}function t4(e){return 56320<=e&&e<=57343}function t5(e,t){return(e-55296<<10)+(t-56320)+65536}let t7=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class t9{static getInstance(){return!t9._INSTANCE&&(t9._INSTANCE=new t9),t9._INSTANCE}constructor(){this._data=function(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}()}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,i=t.length/3,n=1;for(;n<=i;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}t9._INSTANCE=null;class t6{static getInstance(e){return ep.cache.get(Array.from(e))}static getLocales(){return ep._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}ep=t6,t6.ambiguousCharacterData=new t1(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),t6.cache=new class e{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function i(e){let t=new Map;for(let i=0;i!e.startsWith("_")&&e in n);0===r.length&&(r=["_default"]);for(let e of r)t=function(e,t){if(!e)return t;let i=new Map;for(let[n,r]of e)t.has(n)&&i.set(n,r);return i}(t,i(n[e]));let s=function(e,t){let i=new Map(e);for(let[e,n]of t)i.set(e,n);return i}(i(n._common),t);return new ep(s)}),t6._locales=new t1(()=>Object.keys(ep.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class t8{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return!this._data&&(this._data=new Set(t8.getRawData())),this._data}static isInvisibleCharacter(e){return t8.getData().has(e)}static get codePoints(){return t8.getData()}}t8._data=void 0;class t3{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.method=i,this.args=n,this.type=0}}class ie{constructor(e,t,i,n){this.vsWorker=e,this.seq=t,this.res=i,this.err=n,this.type=1}}class it{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.eventName=i,this.arg=n,this.type=2}}class ii{constructor(e,t,i){this.vsWorker=e,this.req=t,this.event=i,this.type=3}}class ir{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class is{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,r)=>{this._pendingReplies[i]={resolve:n,reject:r},this._send(new t3(this._workerId,i,e,t))})}listen(e,t){let i=null,n=new tT({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,n),this._send(new it(this._workerId,i,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new ir(this._workerId,i)),i=null}});return n.event}handleMessage(e){if(!!e&&!!e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId))this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;e.err.$isError&&((i=Error()).name=e.err.name,i.message=e.err.message,i.stack=e.err.stack),t.reject(i);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send(new ie(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=td(e.detail)),this._send(new ie(this._workerId,t,void 0,td(e)))})}_handleSubscribeEventMessage(e){let t=e.req,i=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new ii(this._workerId,t,e))});this._pendingEvents.set(t,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let i=0;i{e(t,i)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(ia(e)){let i=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof i)throw Error(`Missing dynamic event ${e} on request handler.`);return i}if(io(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,i,n){this._protocol.setWorkerId(e);let r=function(e,t,i){let n=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},r=e=>function(t){return i(e,t)},s={};for(let t of e){if(ia(t)){s[t]=r(t);continue}if(io(t)){s[t]=i(t,void 0);continue}s[t]=n(t)}return s}(n,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(tP(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{(0,globalThis.require)([i],i=>{if(this._requestHandler=i.create(r),!this._requestHandler){t(Error("No RequestHandler!"));return}e(tP(this._requestHandler))},t)}))}}class iu{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function ih(e,t){return(t<<5)-t+e|0}function id(e,t,i=32){let n=i-t;return(e<>>n)>>>0}function ic(e,t=0,i=e.byteLength,n=0){for(let r=0;re.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class im{constructor(){this._h0=0x67452301,this._h1=0xefcdab89,this._h2=0x98badcfe,this._h3=0x10325476,this._h4=0xc3d2e1f0,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,i;let n=e.length;if(0===n)return;let r=this._buff,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,i=-1,o=0):(t=e.charCodeAt(0),i=0);;){let a=t;if(t2(t)){if(i+1>>6:(i<65536?e[t++]=224|(61440&i)>>>12:(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12),e[t++]=128|(4032&i)>>>6),e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return!this._finished&&(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),ig(this._h0)+ig(this._h1)+ig(this._h2)+ig(this._h3)+ig(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,ic(this._buff,this._buffLen),this._buffLen>56&&(this._step(),ic(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/0x100000000),!1),this._buffDV.setUint32(60,e%0x100000000,!1),this._step()}_step(){let e,t,i;let n=im._bigBlock32,r=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,r.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,id(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let r=0;r<80;r++)r<20?(e=o&a|~o&l,t=0x5a827999):r<40?(e=o^a^l,t=0x6ed9eba1):r<60?(e=o&a|o&l|a&l,t=0x8f1bbcdc):(e=o^a^l,t=0xca62c1d6),i=id(s,5)+e+u+t+n.getUint32(4*r,!1)&0xffffffff,u=l,l=a,a=id(o,30),o=s,s=i;this._h0=this._h0+s&0xffffffff,this._h1=this._h1+o&0xffffffff,this._h2=this._h2+a&0xffffffff,this._h3=this._h3+l&0xffffffff,this._h4=this._h4+u&0xffffffff}}im._bigBlock32=new DataView(new ArrayBuffer(320));class ip{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new iu(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=0x40000000,this.m_modifiedStart=0x40000000}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class iy{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;let[n,r,s]=iy._getElements(e),[o,a,l]=iy._getElements(t);this._hasStrings=s&&l,this._originalStringElements=n,this._originalElementsOrHash=r,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(iy._isStringArray(t)){let e=new Int32Array(t.length);for(let i=0,n=t.length;i=e&&n>=i&&this.ElementsAreEqual(t,n);)t--,n--;if(e>t||i>n){let r;return i<=n?(ib.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new iu(e,0,i,n-i+1)]):e<=t?(ib.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),r=[new iu(e,t-e+1,i,0)]):(ib.Assert(e===t+1,"originalStart should only be one more than originalEnd"),ib.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}let s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,i,n,s,o,r),l=s[0],u=o[0];if(null!==a)return a;if(!r[0]){let s=this.ComputeDiffRecursive(e,l,i,u,r),o=[];return o=r[0]?[new iu(l+1,t-(l+1)+1,u+1,n-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,n,r),this.ConcatenateChanges(s,o)}return[new iu(e,t-e+1,i,n-i+1)]}WALKTRACE(e,t,i,n,r,s,o,a,l,u,h,d,c,g,m,f,p,b){let _=null,v=null,y=new iv,C=t,L=i,w=c[0]-f[0]-n,N=-0x40000000,E=this.m_forwardHistory.length-1;do{let t=w+e;t===C||t=0&&(e=(l=this.m_forwardHistory[E])[0],C=1,L=l.length-1)}while(--E>=-1);if(_=y.getReverseChanges(),b[0]){let e=c[0]+1,t=f[0]+1;if(null!==_&&_.length>0){let i=_[_.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}v=[new iu(e,d-e+1,t,m-t+1)]}else{y=new iv,C=s,L=o,w=c[0]-f[0]-a,N=0x40000000,E=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+r;e===C||e=u[e+1]?(g=(h=u[e+1]-1)-w-a,h>N&&y.MarkNextChange(),N=h+1,y.AddOriginalElement(h+1,g+1),w=e+1-r):(g=(h=u[e-1])-w-a,h>N&&y.MarkNextChange(),N=h,y.AddModifiedElement(h+1,g+1),w=e-1-r),E>=0&&(r=(u=this.m_reverseHistory[E])[0],C=1,L=u.length-1)}while(--E>=-1);v=y.getChanges()}return this.ConcatenateChanges(_,v)}ComputeRecursionPoint(e,t,i,n,r,s,o){let a=0,l=0,u=0,h=0,d=0,c=0;e--,i--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let g=t-e+(n-i),m=g+1,f=new Int32Array(m),p=new Int32Array(m),b=n-i,_=t-e,v=e-i,y=t-n,C=(_-b)%2==0;f[b]=e,p[_]=t,o[0]=!1;for(let L=1;L<=g/2+1;L++){let g=0,w=0;u=this.ClipDiagonalBound(b-L,L,b,m),h=this.ClipDiagonalBound(b+L,L,b,m);for(let e=u;e<=h;e+=2){l=(a=e===u||eg+w&&(g=a,w=l),!C&&Math.abs(e-_)<=L-1&&a>=p[e]){if(r[0]=a,s[0]=l,i<=p[e]&&L<=1448)return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,C,o);return null}}let N=(g-e+(w-i)-L)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,N)){if(o[0]=!0,r[0]=g,s[0]=w,!(N>0)||!(L<=1448))return e++,i++,[new iu(e,t-e+1,i,n-i+1)];break}d=this.ClipDiagonalBound(_-L,L,_,m),c=this.ClipDiagonalBound(_+L,L,_,m);for(let g=d;g<=c;g+=2){l=(a=g===d||g=p[g+1]?p[g+1]-1:p[g-1])-(g-_)-y;let m=a;for(;a>e&&l>i&&this.ElementsAreEqual(a,l);)a--,l--;if(p[g]=a,C&&Math.abs(g-b)<=L&&a<=f[g]){if(r[0]=a,s[0]=l,m>=f[g]&&L<=1448)return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,C,o);return null}}if(L<=1447){let e=new Int32Array(h-u+2);e[0]=b-u+1,i_.Copy2(f,u,e,1,h-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(c-d+2))[0]=_-d+1,i_.Copy2(p,d,e,1,c-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,C,o)}PrettifyChanges(e){for(let t=0;t0,o=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;t--){let i=e[t],n=0,r=0;if(t>0){let i=e[t-1];n=i.originalStart+i.originalLength,r=i.modifiedStart+i.modifiedLength}let s=i.originalLength>0,o=i.modifiedLength>0,a=0,l=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){let t=i.originalStart-e,u=i.modifiedStart-e;if(tl&&(l=h,a=e)}i.originalStart-=a,i.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t0&&i>a&&(a=i,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let r=0;r=this._originalElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return!!(e<=0)||!!(e>=this._modifiedElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){let r=this._OriginalRegionIsBoundary(e,t)?1:0;return r+(this._ModifiedRegionIsBoundary(i,n)?1:0)}ConcatenateChanges(e,t){let i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){let n=Array(e.length+t.length-1);return i_.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],i_.Copy(t,1,n,e.length,t.length-1),n}{let i=Array(e.length+t.length);return i_.Copy(e,0,i,0,e.length),i_.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,i){if(ib.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),ib.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return i[0]=null,!1;{let n=e.originalStart,r=e.originalLength,s=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new iu(n,r,s,o),!0}}ClipDiagonalBound(e,t,i,n){if(e>=0&&et.cwd()}}else"undefined"!=typeof process?e={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:e={get platform(){return tQ?"win32":tY?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let iC=e.cwd,iL=e.env,iw=e.platform;class iN extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let r=-1!==e.indexOf(".")?"property":"argument",s=`The "${e}" ${r} ${n} of type ${t}`;super(s+=`. Received type ${typeof i}`),this.code="ERR_INVALID_ARG_TYPE"}}function iE(e,t){if("string"!=typeof e)throw new iN(t,"string",e)}let iS="win32"===iw;function iR(e){return 47===e||92===e}function iA(e){return 47===e}function ix(e){return e>=65&&e<=90||e>=97&&e<=122}function iM(e,t,i,n){let r="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=r.lastIndexOf(i);-1===e?(r="",s=0):s=(r=r.slice(0,e)).length-1-r.lastIndexOf(i),o=u,a=0;continue}if(0!==r.length){r="",s=0,o=u,a=0;continue}}t&&(r+=r.length>0?`${i}..`:"..",s=2)}else r.length>0?r+=`${i}${e.slice(o+1,u)}`:r=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return r}function ik(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new iN(t,"Object",e)}(t,"pathObject");let i=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${n}`:`${i}${e}${n}`:n}let iO={resolve(...e){let t="",i="",n=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(iE(s=e[r],"path"),0===s.length)continue}else 0===t.length?s=iC():(void 0===(s=iL[`=${t}`]||iC())||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===s.charCodeAt(2))&&(s=`${t}\\`);let o=s.length,a=0,l="",u=!1,h=s.charCodeAt(0);if(1===o)iR(h)&&(a=1,u=!0);else if(iR(h)){if(u=!0,iR(s.charCodeAt(1))){let e=2,t=2;for(;e2&&iR(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(n){if(t.length>0)break}else if(i=`${s.slice(a)}\\${i}`,n=u,u&&t.length>0)break}return i=iM(i,!n,"\\",iR),n?`${t}\\${i}`:`${t}${i}`||"."},normalize(e){let t;iE(e,"path");let i=e.length;if(0===i)return".";let n=0,r=!1,s=e.charCodeAt(0);if(1===i)return iA(s)?"\\":e;if(iR(s)){if(r=!0,iR(e.charCodeAt(1))){let r=2,s=2;for(;r2&&iR(e.charCodeAt(2))&&(r=!0,n=3));let o=n0&&iR(e.charCodeAt(i-1))&&(o+="\\"),void 0===t)?r?`\\${o}`:o:r?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){iE(e,"path");let t=e.length;if(0===t)return!1;let i=e.charCodeAt(0);return iR(i)||t>2&&ix(i)&&58===e.charCodeAt(1)&&iR(e.charCodeAt(2))},join(...e){let t,i;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i=r:t+=`\\${r}`)}if(void 0===t)return".";let n=!0,r=0;if("string"==typeof i&&iR(i.charCodeAt(0))){++r;let e=i.length;e>1&&iR(i.charCodeAt(1))&&(++r,e>2&&(iR(i.charCodeAt(2))?++r:n=!1))}if(n){for(;r=2&&(t=`\\${t.slice(r)}`)}return iO.normalize(t)},relative(e,t){if(iE(e,"from"),iE(t,"to"),e===t)return"";let i=iO.resolve(e),n=iO.resolve(t);if(i===n)return"";if(e=i.toLowerCase(),t=n.toLowerCase(),e===t)return"";let r=0;for(;rr&&92===e.charCodeAt(s-1);)s--;let o=s-r,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,h=oh){if(92===t.charCodeAt(a+c))return n.slice(a+c+1);if(2===c)return n.slice(a+c)}o>h&&(92===e.charCodeAt(r+c)?d=c:2===c&&(d=3)),-1===d&&(d=0)}let g="";for(c=r+d+1;c<=s;++c)(c===s||92===e.charCodeAt(c))&&(g+=0===g.length?"..":"\\..");return(a+=d,g.length>0)?`${g}${n.slice(a,l)}`:(92===n.charCodeAt(a)&&++a,n.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=iO.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(ix(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){iE(e,"path");let t=e.length;if(0===t)return".";let i=-1,n=0,r=e.charCodeAt(0);if(1===t)return iR(r)?e:".";if(iR(r)){if(i=n=1,iR(e.charCodeAt(1))){let r=2,s=2;for(;r2&&iR(e.charCodeAt(2))?3:2);let s=-1,o=!0;for(let i=t-1;i>=n;--i)if(iR(e.charCodeAt(i))){if(!o){s=i;break}}else o=!1;if(-1===s){if(-1===i)return".";s=i}return e.slice(0,s)},basename(e,t){let i;void 0!==t&&iE(t,"ext"),iE(e,"path");let n=0,r=-1,s=!0;if(e.length>=2&&ix(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=n;--i){let l=e.charCodeAt(i);if(iR(l)){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=i):(o=-1,r=a))}return n===r?r=a:-1===r&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=n;--i)if(iR(e.charCodeAt(i))){if(!s){n=i+1;break}}else -1===r&&(s=!1,r=i+1);return -1===r?"":e.slice(n,r)},extname(e){iE(e,"path");let t=0,i=-1,n=0,r=-1,s=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&ix(e.charCodeAt(0))&&(t=n=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(iR(t)){if(!s){n=a+1;break}continue}-1===r&&(s=!1,r=a+1),46===t?-1===i?i=a:1!==o&&(o=1):-1!==i&&(o=-1)}return -1===i||-1===r||0===o||1===o&&i===r-1&&i===n+1?"":e.slice(i,r)},format:ik.bind(null,"\\"),parse(e){iE(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let i=e.length,n=0,r=e.charCodeAt(0);if(1===i)return iR(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(iR(r)){if(n=1,iR(e.charCodeAt(1))){let t=2,r=2;for(;t0&&(t.root=e.slice(0,n));let s=-1,o=n,a=-1,l=!0,u=e.length-1,h=0;for(;u>=n;--u){if(iR(r=e.charCodeAt(u))){if(!l){o=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===r?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1)}return -1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),o>0&&o!==n?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},iT=(()=>{if(iS){let e=/\\/g;return()=>{let t=iC().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>iC()})(),iI={resolve(...e){let t="",i=!1;for(let n=e.length-1;n>=-1&&!i;n--){let r=n>=0?e[n]:iT();if(iE(r,"path"),0!==r.length)t=`${r}/${t}`,i=47===r.charCodeAt(0)}return(t=iM(t,!i,"/",iA),i)?`/${t}`:t.length>0?t:"."},normalize(e){if(iE(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);if(0===(e=iM(e,!t,"/",iA)).length)return t?"/":i?"./":".";return i&&(e+="/"),t?`/${e}`:e},isAbsolute:e=>(iE(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":iI.normalize(t)},relative(e,t){if(iE(e,"from"),iE(t,"to"),e===t)return"";if(e=iI.resolve(e),t=iI.resolve(t),e===t)return"";let i=e.length,n=i-1,r=t.length-1,s=ns){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else n>s&&(47===e.charCodeAt(1+a)?o=a:0===a&&(o=0))}let l="";for(a=1+o+1;a<=i;++a)(a===i||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(iE(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){i=t;break}}else n=!1;return -1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){let i;void 0!==t&&iE(t,"ext"),iE(e,"path");let n=0,r=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){let l=e.charCodeAt(i);if(47===l){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=i):(o=-1,r=a))}return n===r?r=a:-1===r&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){n=i+1;break}}else -1===r&&(s=!1,r=i+1);return -1===r?"":e.slice(n,r)},extname(e){iE(e,"path");let t=-1,i=0,n=-1,r=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!r){i=o+1;break}continue}-1===n&&(r=!1,n=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===n||0===s||1===s&&t===n-1&&t===i+1?"":e.slice(t,n)},format:ik.bind(null,"/"),parse(e){let t;iE(e,"path");let i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;let n=47===e.charCodeAt(0);n?(i.root="/",t=1):t=0;let r=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){s=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===t?-1===r?r=l:1!==u&&(u=1):-1!==r&&(u=-1)}if(-1!==o){let t=0===s&&n?1:s;-1===r||0===u||1===u&&r===o-1&&r===s+1?i.base=i.name=e.slice(t,o):(i.name=e.slice(t,r),i.base=e.slice(t,o),i.ext=e.slice(r,o))}return s>0?i.dir=e.slice(0,s-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};iI.win32=iO.win32=iO,iI.posix=iO.posix=iI,iS?iO.normalize:iI.normalize,iS?iO.resolve:iI.resolve,iS?iO.relative:iI.relative,iS?iO.dirname:iI.dirname,iS?iO.basename:iI.basename,iS?iO.extname:iI.extname,iS?iO.sep:iI.sep;let iP=/^\w[\w\d+.-]*$/,iD=/^\//,iK=/^\/\//,iF="/",iq=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class iV{static isUri(e){return e instanceof iV||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,i,n,r,s=!1){if("object"==typeof e)this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||"";else{var o,a;this.scheme=(o=e,a=s,o||a?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==iF&&(t=iF+t):t=iF}return t}(this.scheme,i||""),this.query=n||"",this.fragment=r||"",!function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!iP.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!iD.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(iK.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,s)}}get fsPath(){return i$(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:r,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===r?r=this.query:null===r&&(r=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&i===this.authority&&n===this.path&&r===this.query&&s===this.fragment)?this:new iU(t,i,n,r,s)}static parse(e,t=!1){let i=iq.exec(e);return i?new iU(i[2]||"",iQ(i[4]||""),iQ(i[5]||""),iQ(i[7]||""),iQ(i[9]||""),t):new iU("","","","","")}static file(e){let t="";if(tQ&&(e=e.replace(/\\/g,iF)),e[0]===iF&&e[1]===iF){let i=e.indexOf(iF,2);-1===i?(t=e.substring(2),e=iF):(t=e.substring(2,i),e=e.substring(i)||iF)}return new iU("file",t,e,"","")}static from(e,t){return new iU(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){let i;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return i=tQ&&"file"===e.scheme?iV.file(iO.join(i$(e,!0),...t)).path:iI.join(e.path,...t),e.with({path:i})}toString(e=!1){return ij(this,e)}toJSON(){return this}static revive(e){var t,i;if(!e)return e;if(e instanceof iV)return e;{let n=new iU(e);return n._formatted=null!==(t=e.external)&&void 0!==t?t:null,n._fsPath=e._sep===iB&&null!==(i=e.fsPath)&&void 0!==i?i:null,n}}}let iB=tQ?1:void 0;class iU extends iV{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return!this._fsPath&&(this._fsPath=i$(this,!1)),this._fsPath}toString(e=!1){return e?ij(this,!0):(!this._formatted&&(this._formatted=ij(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=iB),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let iW={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function iH(e,t,i){let n;let r=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||i&&91===o||i&&93===o||i&&58===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,s)),r=-1),void 0!==n&&(n+=e.charAt(s));else{void 0===n&&(n=e.substr(0,s));let t=iW[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,s)),r=-1),n+=t):-1===r&&(r=s)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function iz(e){let t;for(let i=0;i1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,tQ&&(i=i.replace(/\//g,"\\")),i}function ij(e,t){let i=t?iz:iH,n="",{scheme:r,authority:s,path:o,query:a,fragment:l}=e;if(r&&(n+=r,n+=":"),(s||"file"===r)&&(n+=iF,n+=iF),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=i(t,!1,!1):(n+=i(t.substr(0,e),!1,!1),n+=":",n+=i(t.substr(e+1),!1,!0)),n+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?n+=i(s,!1,!0):(n+=i(s.substr(0,e),!1,!0),n+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}n+=i(o,!0,!1)}return a&&(n+="?",n+=i(a,!1,!1)),l&&(n+="#",n+=t?l:iH(l,!1,!1)),n}let iG=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function iQ(e){return e.match(iG)?e.replace(iG,e=>(function e(t){try{return decodeURIComponent(t)}catch(i){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class iY{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new iY(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return iY.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return iY.isBefore(this,e)}static isBefore(e,t){return!!(e.lineNumberi||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return iX.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return iX.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))&&!0}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))&&!0}containsRange(e){return iX.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))&&!0}strictContainsRange(e){return iX.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))&&!0}plusRange(e){return iX.plusRange(this,e)}static plusRange(e,t){let i,n,r,s;return t.startLineNumbere.endLineNumber?(r=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,s=e.endColumn),new iX(i,n,r,s)}intersectRanges(e){return iX.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,r=e.endLineNumber,s=e.endColumn,o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(il?(r=l,s=u):r===l&&(s=Math.min(s,u)),i>r||i===r&&n>s)?null:new iX(i,n,r,s)}equalsRange(e){return iX.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return iX.getEndPosition(this)}static getEndPosition(e){return new iY(e.endLineNumber,e.endColumn)}getStartPosition(){return iX.getStartPosition(this)}static getStartPosition(e){return new iY(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new iX(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new iX(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return iX.collapseToStart(this)}static collapseToStart(e){return new iX(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return iX.collapseToEnd(this)}static collapseToEnd(e){return new iX(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new iX(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new iX(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new iX(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}function iJ(e,t){return(i,n)=>t(e(i),e(n))}(f=eb||(eb={})).isLessThan=function(e){return e<0},f.isLessThanOrEqual=function(e){return e<=0},f.isGreaterThan=function(e){return e>0},f.isNeitherLessOrGreaterThan=function(e){return 0===e},f.greaterThan=1,f.lessThan=-1,f.neitherLessOrGreaterThan=0;let iZ=(e,t)=>e-t;class i1{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new i1(t=>this.iterate(i=>!e(i)||t(i)))}map(e){return new i1(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t;let i=!0;return this.iterate(n=>((i||eb.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}function i0(e){return e<0?0:e>255?255:0|e}function i2(e){return e<0?0:e>0xffffffff?0xffffffff:0|e}i1.empty=new i1(e=>{});class i4{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=i2(e);let i=this.values,n=this.prefixSum,r=t.length;return 0!==r&&(this.values=new Uint32Array(i.length+r),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e),e+r),this.values.set(t,e),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=i2(e),t=i2(t),this.values[e]!==t&&(this.values[e]=t,e-1=i.length)return!1;let r=i.length-e;return t>=r&&(t=r),0!==t&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=i2(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,r=0,s=0;for(;t<=i;)if(n=t+(i-t)/2|0,s=(r=this.prefixSum[n])-this.values[n],e=r)t=n+1;else break;return new i5(n,e-s)}}class i5{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class i7{constructor(e,t,i,n){this._uri=e,this._lines=t,this._eol=i,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){for(let t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new iY(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,i=new Uint32Array(t);for(let n=0;n/?"){if(!(e.indexOf(i)>=0))t+="\\"+i}return RegExp(t+="\\s]+)","g")}(),i6=new tE;function i8(e,t,i,n,r){if(!r&&(r=eg.first(i6)),i.length>r.maxLen){let s=e-r.maxLen/2;return s<0?s=0:n+=s,i=i.substring(s,e+r.maxLen/2),i8(e,t,i,n,r)}let s=Date.now(),o=e-1-n,a=-1,l=null;for(let e=1;!(Date.now()-s>=r.timeBudget);e++){;let n=o-r.windowSize*e;t.lastIndex=Math.max(0,n);let s=function(e,t,i,n){let r;for(;r=e.exec(t);){let t=r.index||0;if(t<=i&&e.lastIndex>=i)return r;if(n>0&&t>n)break}return null}(t,i,o,a);if(!s&&l)break;if(l=s,n<=0)break;a=n}if(l){let e={word:l[0],startColumn:n+1+l.index,endColumn:n+1+l.index+l[0].length};return t.lastIndex=0,e}return null}i6.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class i3{constructor(e){let t=i0(e);this._defaultValue=t,this._asciiMap=i3._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let i=i0(t);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class ne{constructor(e,t,i){let n=new Uint8Array(e*t);for(let r=0,s=e*t;rt&&(t=s),r>i&&(i=r),o>i&&(i=o)}t++;let n=new ne(++i,t,0);for(let t=0,i=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let ni=null;function nn(){return null===ni&&(ni=new nt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),ni}let nr=null;class ns{static _createLink(e,t,i,n,r){let s=r-1;do{let i=t.charCodeAt(s);if(2!==e.get(i))break;s--}while(s>n);if(n>0){let e=t.charCodeAt(n-1),i=t.charCodeAt(s);(40===e&&41===i||91===e&&93===i||123===e&&125===i)&&s--}return{range:{startLineNumber:i,startColumn:n+1,endLineNumber:i,endColumn:s+2},url:t.substring(n,s+1)}}static computeLinks(e,t=nn()){let i=function(){if(null===nr){nr=new i3(0);let e=" <>'\"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026";for(let t=0;t=0?((n+=i?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}no.INSTANCE=new no;let na=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(p=e_||(e_={})).isCancellationToken=function(e){return e===p.None||e===p.Cancelled||e instanceof nl||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},p.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:em.None}),p.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:na});class nl{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?na:(!this._emitter&&(this._emitter=new tT),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class nu{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return!this._token&&(this._token=new nl),this._token}cancel(){this._token?this._token instanceof nl&&this._token.cancel():this._token=e_.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof nl&&this._token.dispose():this._token=e_.None}}class nh{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let nd=new nh,nc=new nh,ng=new nh,nm=Array(230),nf={},np=[],nb=Object.create(null),n_=Object.create(null),nv=[],ny=[];for(let e=0;e<=193;e++)nv[e]=-1;for(let e=0;e<=132;e++)ny[e]=-1;!function(){let e=[],t=[];for(let i of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,r,s,o,a,l,u,h,d]=i;if(!t[r]&&(t[r]=!0,np[r]=s,nb[s]=r,n_[s.toLowerCase()]=r,n&&(nv[r]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(ny[o]=r))),!e[o]){if(e[o]=!0,!a)throw Error(`String representation missing for key code ${o} around scan code ${s}`);nd.define(o,a),nc.define(o,h||a),ng.define(o,d||h||a)}l&&(nm[l]=o),u&&(nf[u]=o)}ny[3]=46}(),(b=ev||(ev={})).toString=function(e){return nd.keyCodeToStr(e)},b.fromString=function(e){return nd.strToKeyCode(e)},b.toUserSettingsUS=function(e){return nc.keyCodeToStr(e)},b.toUserSettingsGeneral=function(e){return ng.keyCodeToStr(e)},b.fromUserSettings=function(e){return nc.strToKeyCode(e)||ng.strToKeyCode(e)},b.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return nd.keyCodeToStr(e)};class nC extends iX{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return nC.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new nC(this.startLineNumber,this.startColumn,e,t):new nC(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new iY(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new iY(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new nC(e,t,this.endLineNumber,this.endColumn):new nC(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new nC(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new nC(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new nC(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new nC(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;i{if(this._tokenizationSupports.get(e)===t)this._tokenizationSupports.delete(e),this.handleChange([e])})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let n=new nS(this,e,t);return this._factories.set(e,n),tC(()=>{let t=this._factories.get(e);if(!!t&&t===n)this._factories.delete(e),t.dispose()})}getOrCreate(e){return nE(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(yield i.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved||!1}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},(L=eR||(eR={}))[L.Unknown=0]="Unknown",L[L.Disabled=1]="Disabled",L[L.Enabled=2]="Enabled",(w=eA||(eA={}))[w.Invoke=1]="Invoke",w[w.Auto=2]="Auto",(N=ex||(ex={}))[N.None=0]="None",N[N.KeepWhitespace=1]="KeepWhitespace",N[N.InsertAsSnippet=4]="InsertAsSnippet",(E=eM||(eM={}))[E.Method=0]="Method",E[E.Function=1]="Function",E[E.Constructor=2]="Constructor",E[E.Field=3]="Field",E[E.Variable=4]="Variable",E[E.Class=5]="Class",E[E.Struct=6]="Struct",E[E.Interface=7]="Interface",E[E.Module=8]="Module",E[E.Property=9]="Property",E[E.Event=10]="Event",E[E.Operator=11]="Operator",E[E.Unit=12]="Unit",E[E.Value=13]="Value",E[E.Constant=14]="Constant",E[E.Enum=15]="Enum",E[E.EnumMember=16]="EnumMember",E[E.Keyword=17]="Keyword",E[E.Text=18]="Text",E[E.Color=19]="Color",E[E.File=20]="File",E[E.Reference=21]="Reference",E[E.Customcolor=22]="Customcolor",E[E.Folder=23]="Folder",E[E.TypeParameter=24]="TypeParameter",E[E.User=25]="User",E[E.Issue=26]="Issue",E[E.Snippet=27]="Snippet",(S=ek||(ek={}))[S.Deprecated=1]="Deprecated",(R=eO||(eO={}))[R.Invoke=0]="Invoke",R[R.TriggerCharacter=1]="TriggerCharacter",R[R.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(A=eT||(eT={}))[A.EXACT=0]="EXACT",A[A.ABOVE=1]="ABOVE",A[A.BELOW=2]="BELOW",(x=eI||(eI={}))[x.NotSet=0]="NotSet",x[x.ContentFlush=1]="ContentFlush",x[x.RecoverFromMarkers=2]="RecoverFromMarkers",x[x.Explicit=3]="Explicit",x[x.Paste=4]="Paste",x[x.Undo=5]="Undo",x[x.Redo=6]="Redo",(M=eP||(eP={}))[M.LF=1]="LF",M[M.CRLF=2]="CRLF",(k=eD||(eD={}))[k.Text=0]="Text",k[k.Read=1]="Read",k[k.Write=2]="Write",(O=eK||(eK={}))[O.None=0]="None",O[O.Keep=1]="Keep",O[O.Brackets=2]="Brackets",O[O.Advanced=3]="Advanced",O[O.Full=4]="Full",(T=eF||(eF={}))[T.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",T[T.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",T[T.accessibilitySupport=2]="accessibilitySupport",T[T.accessibilityPageSize=3]="accessibilityPageSize",T[T.ariaLabel=4]="ariaLabel",T[T.ariaRequired=5]="ariaRequired",T[T.autoClosingBrackets=6]="autoClosingBrackets",T[T.autoClosingComments=7]="autoClosingComments",T[T.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",T[T.autoClosingDelete=9]="autoClosingDelete",T[T.autoClosingOvertype=10]="autoClosingOvertype",T[T.autoClosingQuotes=11]="autoClosingQuotes",T[T.autoIndent=12]="autoIndent",T[T.automaticLayout=13]="automaticLayout",T[T.autoSurround=14]="autoSurround",T[T.bracketPairColorization=15]="bracketPairColorization",T[T.guides=16]="guides",T[T.codeLens=17]="codeLens",T[T.codeLensFontFamily=18]="codeLensFontFamily",T[T.codeLensFontSize=19]="codeLensFontSize",T[T.colorDecorators=20]="colorDecorators",T[T.colorDecoratorsLimit=21]="colorDecoratorsLimit",T[T.columnSelection=22]="columnSelection",T[T.comments=23]="comments",T[T.contextmenu=24]="contextmenu",T[T.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",T[T.cursorBlinking=26]="cursorBlinking",T[T.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",T[T.cursorStyle=28]="cursorStyle",T[T.cursorSurroundingLines=29]="cursorSurroundingLines",T[T.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",T[T.cursorWidth=31]="cursorWidth",T[T.disableLayerHinting=32]="disableLayerHinting",T[T.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",T[T.domReadOnly=34]="domReadOnly",T[T.dragAndDrop=35]="dragAndDrop",T[T.dropIntoEditor=36]="dropIntoEditor",T[T.emptySelectionClipboard=37]="emptySelectionClipboard",T[T.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",T[T.extraEditorClassName=39]="extraEditorClassName",T[T.fastScrollSensitivity=40]="fastScrollSensitivity",T[T.find=41]="find",T[T.fixedOverflowWidgets=42]="fixedOverflowWidgets",T[T.folding=43]="folding",T[T.foldingStrategy=44]="foldingStrategy",T[T.foldingHighlight=45]="foldingHighlight",T[T.foldingImportsByDefault=46]="foldingImportsByDefault",T[T.foldingMaximumRegions=47]="foldingMaximumRegions",T[T.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",T[T.fontFamily=49]="fontFamily",T[T.fontInfo=50]="fontInfo",T[T.fontLigatures=51]="fontLigatures",T[T.fontSize=52]="fontSize",T[T.fontWeight=53]="fontWeight",T[T.fontVariations=54]="fontVariations",T[T.formatOnPaste=55]="formatOnPaste",T[T.formatOnType=56]="formatOnType",T[T.glyphMargin=57]="glyphMargin",T[T.gotoLocation=58]="gotoLocation",T[T.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",T[T.hover=60]="hover",T[T.inDiffEditor=61]="inDiffEditor",T[T.inlineSuggest=62]="inlineSuggest",T[T.letterSpacing=63]="letterSpacing",T[T.lightbulb=64]="lightbulb",T[T.lineDecorationsWidth=65]="lineDecorationsWidth",T[T.lineHeight=66]="lineHeight",T[T.lineNumbers=67]="lineNumbers",T[T.lineNumbersMinChars=68]="lineNumbersMinChars",T[T.linkedEditing=69]="linkedEditing",T[T.links=70]="links",T[T.matchBrackets=71]="matchBrackets",T[T.minimap=72]="minimap",T[T.mouseStyle=73]="mouseStyle",T[T.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",T[T.mouseWheelZoom=75]="mouseWheelZoom",T[T.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",T[T.multiCursorModifier=77]="multiCursorModifier",T[T.multiCursorPaste=78]="multiCursorPaste",T[T.multiCursorLimit=79]="multiCursorLimit",T[T.occurrencesHighlight=80]="occurrencesHighlight",T[T.overviewRulerBorder=81]="overviewRulerBorder",T[T.overviewRulerLanes=82]="overviewRulerLanes",T[T.padding=83]="padding",T[T.pasteAs=84]="pasteAs",T[T.parameterHints=85]="parameterHints",T[T.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",T[T.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",T[T.quickSuggestions=88]="quickSuggestions",T[T.quickSuggestionsDelay=89]="quickSuggestionsDelay",T[T.readOnly=90]="readOnly",T[T.readOnlyMessage=91]="readOnlyMessage",T[T.renameOnType=92]="renameOnType",T[T.renderControlCharacters=93]="renderControlCharacters",T[T.renderFinalNewline=94]="renderFinalNewline",T[T.renderLineHighlight=95]="renderLineHighlight",T[T.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",T[T.renderValidationDecorations=97]="renderValidationDecorations",T[T.renderWhitespace=98]="renderWhitespace",T[T.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",T[T.roundedSelection=100]="roundedSelection",T[T.rulers=101]="rulers",T[T.scrollbar=102]="scrollbar",T[T.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",T[T.scrollBeyondLastLine=104]="scrollBeyondLastLine",T[T.scrollPredominantAxis=105]="scrollPredominantAxis",T[T.selectionClipboard=106]="selectionClipboard",T[T.selectionHighlight=107]="selectionHighlight",T[T.selectOnLineNumbers=108]="selectOnLineNumbers",T[T.showFoldingControls=109]="showFoldingControls",T[T.showUnused=110]="showUnused",T[T.snippetSuggestions=111]="snippetSuggestions",T[T.smartSelect=112]="smartSelect",T[T.smoothScrolling=113]="smoothScrolling",T[T.stickyScroll=114]="stickyScroll",T[T.stickyTabStops=115]="stickyTabStops",T[T.stopRenderingLineAfter=116]="stopRenderingLineAfter",T[T.suggest=117]="suggest",T[T.suggestFontSize=118]="suggestFontSize",T[T.suggestLineHeight=119]="suggestLineHeight",T[T.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",T[T.suggestSelection=121]="suggestSelection",T[T.tabCompletion=122]="tabCompletion",T[T.tabIndex=123]="tabIndex",T[T.unicodeHighlighting=124]="unicodeHighlighting",T[T.unusualLineTerminators=125]="unusualLineTerminators",T[T.useShadowDOM=126]="useShadowDOM",T[T.useTabStops=127]="useTabStops",T[T.wordBreak=128]="wordBreak",T[T.wordSeparators=129]="wordSeparators",T[T.wordWrap=130]="wordWrap",T[T.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",T[T.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",T[T.wordWrapColumn=133]="wordWrapColumn",T[T.wordWrapOverride1=134]="wordWrapOverride1",T[T.wordWrapOverride2=135]="wordWrapOverride2",T[T.wrappingIndent=136]="wrappingIndent",T[T.wrappingStrategy=137]="wrappingStrategy",T[T.showDeprecated=138]="showDeprecated",T[T.inlayHints=139]="inlayHints",T[T.editorClassName=140]="editorClassName",T[T.pixelRatio=141]="pixelRatio",T[T.tabFocusMode=142]="tabFocusMode",T[T.layoutInfo=143]="layoutInfo",T[T.wrappingInfo=144]="wrappingInfo",T[T.defaultColorDecorators=145]="defaultColorDecorators",T[T.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",T[T.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose",(I=eq||(eq={}))[I.TextDefined=0]="TextDefined",I[I.LF=1]="LF",I[I.CRLF=2]="CRLF",(P=eV||(eV={}))[P.LF=0]="LF",P[P.CRLF=1]="CRLF",(D=eB||(eB={}))[D.Left=1]="Left",D[D.Right=2]="Right",(K=eU||(eU={}))[K.None=0]="None",K[K.Indent=1]="Indent",K[K.IndentOutdent=2]="IndentOutdent",K[K.Outdent=3]="Outdent",(F=eW||(eW={}))[F.Both=0]="Both",F[F.Right=1]="Right",F[F.Left=2]="Left",F[F.None=3]="None",(q=eH||(eH={}))[q.Type=1]="Type",q[q.Parameter=2]="Parameter",(V=ez||(ez={}))[V.Automatic=0]="Automatic",V[V.Explicit=1]="Explicit",(B=e$||(e$={}))[B.DependsOnKbLayout=-1]="DependsOnKbLayout",B[B.Unknown=0]="Unknown",B[B.Backspace=1]="Backspace",B[B.Tab=2]="Tab",B[B.Enter=3]="Enter",B[B.Shift=4]="Shift",B[B.Ctrl=5]="Ctrl",B[B.Alt=6]="Alt",B[B.PauseBreak=7]="PauseBreak",B[B.CapsLock=8]="CapsLock",B[B.Escape=9]="Escape",B[B.Space=10]="Space",B[B.PageUp=11]="PageUp",B[B.PageDown=12]="PageDown",B[B.End=13]="End",B[B.Home=14]="Home",B[B.LeftArrow=15]="LeftArrow",B[B.UpArrow=16]="UpArrow",B[B.RightArrow=17]="RightArrow",B[B.DownArrow=18]="DownArrow",B[B.Insert=19]="Insert",B[B.Delete=20]="Delete",B[B.Digit0=21]="Digit0",B[B.Digit1=22]="Digit1",B[B.Digit2=23]="Digit2",B[B.Digit3=24]="Digit3",B[B.Digit4=25]="Digit4",B[B.Digit5=26]="Digit5",B[B.Digit6=27]="Digit6",B[B.Digit7=28]="Digit7",B[B.Digit8=29]="Digit8",B[B.Digit9=30]="Digit9",B[B.KeyA=31]="KeyA",B[B.KeyB=32]="KeyB",B[B.KeyC=33]="KeyC",B[B.KeyD=34]="KeyD",B[B.KeyE=35]="KeyE",B[B.KeyF=36]="KeyF",B[B.KeyG=37]="KeyG",B[B.KeyH=38]="KeyH",B[B.KeyI=39]="KeyI",B[B.KeyJ=40]="KeyJ",B[B.KeyK=41]="KeyK",B[B.KeyL=42]="KeyL",B[B.KeyM=43]="KeyM",B[B.KeyN=44]="KeyN",B[B.KeyO=45]="KeyO",B[B.KeyP=46]="KeyP",B[B.KeyQ=47]="KeyQ",B[B.KeyR=48]="KeyR",B[B.KeyS=49]="KeyS",B[B.KeyT=50]="KeyT",B[B.KeyU=51]="KeyU",B[B.KeyV=52]="KeyV",B[B.KeyW=53]="KeyW",B[B.KeyX=54]="KeyX",B[B.KeyY=55]="KeyY",B[B.KeyZ=56]="KeyZ",B[B.Meta=57]="Meta",B[B.ContextMenu=58]="ContextMenu",B[B.F1=59]="F1",B[B.F2=60]="F2",B[B.F3=61]="F3",B[B.F4=62]="F4",B[B.F5=63]="F5",B[B.F6=64]="F6",B[B.F7=65]="F7",B[B.F8=66]="F8",B[B.F9=67]="F9",B[B.F10=68]="F10",B[B.F11=69]="F11",B[B.F12=70]="F12",B[B.F13=71]="F13",B[B.F14=72]="F14",B[B.F15=73]="F15",B[B.F16=74]="F16",B[B.F17=75]="F17",B[B.F18=76]="F18",B[B.F19=77]="F19",B[B.F20=78]="F20",B[B.F21=79]="F21",B[B.F22=80]="F22",B[B.F23=81]="F23",B[B.F24=82]="F24",B[B.NumLock=83]="NumLock",B[B.ScrollLock=84]="ScrollLock",B[B.Semicolon=85]="Semicolon",B[B.Equal=86]="Equal",B[B.Comma=87]="Comma",B[B.Minus=88]="Minus",B[B.Period=89]="Period",B[B.Slash=90]="Slash",B[B.Backquote=91]="Backquote",B[B.BracketLeft=92]="BracketLeft",B[B.Backslash=93]="Backslash",B[B.BracketRight=94]="BracketRight",B[B.Quote=95]="Quote",B[B.OEM_8=96]="OEM_8",B[B.IntlBackslash=97]="IntlBackslash",B[B.Numpad0=98]="Numpad0",B[B.Numpad1=99]="Numpad1",B[B.Numpad2=100]="Numpad2",B[B.Numpad3=101]="Numpad3",B[B.Numpad4=102]="Numpad4",B[B.Numpad5=103]="Numpad5",B[B.Numpad6=104]="Numpad6",B[B.Numpad7=105]="Numpad7",B[B.Numpad8=106]="Numpad8",B[B.Numpad9=107]="Numpad9",B[B.NumpadMultiply=108]="NumpadMultiply",B[B.NumpadAdd=109]="NumpadAdd",B[B.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",B[B.NumpadSubtract=111]="NumpadSubtract",B[B.NumpadDecimal=112]="NumpadDecimal",B[B.NumpadDivide=113]="NumpadDivide",B[B.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",B[B.ABNT_C1=115]="ABNT_C1",B[B.ABNT_C2=116]="ABNT_C2",B[B.AudioVolumeMute=117]="AudioVolumeMute",B[B.AudioVolumeUp=118]="AudioVolumeUp",B[B.AudioVolumeDown=119]="AudioVolumeDown",B[B.BrowserSearch=120]="BrowserSearch",B[B.BrowserHome=121]="BrowserHome",B[B.BrowserBack=122]="BrowserBack",B[B.BrowserForward=123]="BrowserForward",B[B.MediaTrackNext=124]="MediaTrackNext",B[B.MediaTrackPrevious=125]="MediaTrackPrevious",B[B.MediaStop=126]="MediaStop",B[B.MediaPlayPause=127]="MediaPlayPause",B[B.LaunchMediaPlayer=128]="LaunchMediaPlayer",B[B.LaunchMail=129]="LaunchMail",B[B.LaunchApp2=130]="LaunchApp2",B[B.Clear=131]="Clear",B[B.MAX_VALUE=132]="MAX_VALUE",(U=ej||(ej={}))[U.Hint=1]="Hint",U[U.Info=2]="Info",U[U.Warning=4]="Warning",U[U.Error=8]="Error",(W=eG||(eG={}))[W.Unnecessary=1]="Unnecessary",W[W.Deprecated=2]="Deprecated",(H=eQ||(eQ={}))[H.Inline=1]="Inline",H[H.Gutter=2]="Gutter",(z=eY||(eY={}))[z.UNKNOWN=0]="UNKNOWN",z[z.TEXTAREA=1]="TEXTAREA",z[z.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",z[z.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",z[z.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",z[z.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",z[z.CONTENT_TEXT=6]="CONTENT_TEXT",z[z.CONTENT_EMPTY=7]="CONTENT_EMPTY",z[z.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",z[z.CONTENT_WIDGET=9]="CONTENT_WIDGET",z[z.OVERVIEW_RULER=10]="OVERVIEW_RULER",z[z.SCROLLBAR=11]="SCROLLBAR",z[z.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",z[z.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",($=eX||(eX={}))[$.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",$[$.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",$[$.TOP_CENTER=2]="TOP_CENTER",(j=eJ||(eJ={}))[j.Left=1]="Left",j[j.Center=2]="Center",j[j.Right=4]="Right",j[j.Full=7]="Full",(G=eZ||(eZ={}))[G.Left=0]="Left",G[G.Right=1]="Right",G[G.None=2]="None",G[G.LeftOfInjectedText=3]="LeftOfInjectedText",G[G.RightOfInjectedText=4]="RightOfInjectedText",(Q=e1||(e1={}))[Q.Off=0]="Off",Q[Q.On=1]="On",Q[Q.Relative=2]="Relative",Q[Q.Interval=3]="Interval",Q[Q.Custom=4]="Custom",(Y=e0||(e0={}))[Y.None=0]="None",Y[Y.Text=1]="Text",Y[Y.Blocks=2]="Blocks",(X=e2||(e2={}))[X.Smooth=0]="Smooth",X[X.Immediate=1]="Immediate",(J=e4||(e4={}))[J.Auto=1]="Auto",J[J.Hidden=2]="Hidden",J[J.Visible=3]="Visible",(Z=e5||(e5={}))[Z.LTR=0]="LTR",Z[Z.RTL=1]="RTL",(ee=e7||(e7={}))[ee.Invoke=1]="Invoke",ee[ee.TriggerCharacter=2]="TriggerCharacter",ee[ee.ContentChange=3]="ContentChange",(et=e9||(e9={}))[et.File=0]="File",et[et.Module=1]="Module",et[et.Namespace=2]="Namespace",et[et.Package=3]="Package",et[et.Class=4]="Class",et[et.Method=5]="Method",et[et.Property=6]="Property",et[et.Field=7]="Field",et[et.Constructor=8]="Constructor",et[et.Enum=9]="Enum",et[et.Interface=10]="Interface",et[et.Function=11]="Function",et[et.Variable=12]="Variable",et[et.Constant=13]="Constant",et[et.String=14]="String",et[et.Number=15]="Number",et[et.Boolean=16]="Boolean",et[et.Array=17]="Array",et[et.Object=18]="Object",et[et.Key=19]="Key",et[et.Null=20]="Null",et[et.EnumMember=21]="EnumMember",et[et.Struct=22]="Struct",et[et.Event=23]="Event",et[et.Operator=24]="Operator",et[et.TypeParameter=25]="TypeParameter",(ei=e6||(e6={}))[ei.Deprecated=1]="Deprecated",(en=e8||(e8={}))[en.Hidden=0]="Hidden",en[en.Blink=1]="Blink",en[en.Smooth=2]="Smooth",en[en.Phase=3]="Phase",en[en.Expand=4]="Expand",en[en.Solid=5]="Solid",(er=e3||(e3={}))[er.Line=1]="Line",er[er.Block=2]="Block",er[er.Underline=3]="Underline",er[er.LineThin=4]="LineThin",er[er.BlockOutline=5]="BlockOutline",er[er.UnderlineThin=6]="UnderlineThin",(es=te||(te={}))[es.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",es[es.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",es[es.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",es[es.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eo=tt||(tt={}))[eo.None=0]="None",eo[eo.Same=1]="Same",eo[eo.Indent=2]="Indent",eo[eo.DeepIndent=3]="DeepIndent";class nx{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}nx.CtrlCmd=2048,nx.Shift=1024,nx.Alt=512,nx.WinCtrl=256;class nM extends i3{constructor(e){super(0);for(let t=0,i=e.length;t(!t.hasOwnProperty(i)&&(t[i]=e(i)),t[i])}(e=>new nM(e)),(ea=ti||(ti={}))[ea.Left=1]="Left",ea[ea.Center=2]="Center",ea[ea.Right=4]="Right",ea[ea.Full=7]="Full",(el=tn||(tn={}))[el.Left=1]="Left",el[el.Right=2]="Right",(eu=tr||(tr={}))[eu.Inline=1]="Inline",eu[eu.Gutter=2]="Gutter",(eh=ts||(ts={}))[eh.Both=0]="Both",eh[eh.Right=1]="Right",eh[eh.Left=2]="Left",eh[eh.None=3]="None";class nk{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let i=e.length;do{var n,r,s,o,a;if(this._prevMatchStartIndex+this._prevMatchLength===i||!(t=this._searchRegex.exec(e)))break;let l=t.index,u=t[0].length;if(l===this._prevMatchStartIndex&&u===this._prevMatchLength){if(0===u){(function(e,t,i){let n=e.charCodeAt(i);if(t2(n)&&i+165535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=l,this._prevMatchLength=u,!this._wordSeparators||(n=this._wordSeparators,r=e,s=i,function(e,t,i,n,r){if(0===n)return!0;let s=t.charCodeAt(n-1);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let i=t.charCodeAt(n);if(0!==e.get(i))return!0}return!1}(n,r,0,o=l,a=u)&&function(e,t,i,n,r){if(n+r===i)return!0;let s=t.charCodeAt(n+r);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let i=t.charCodeAt(n+r-1);if(0!==e.get(i))return!0}return!1}(n,r,s,o,a)))return t}while(t);return null}}function nO(e){!e()&&(e(),th(new tf("Assertion Failed")))}function nT(e,t){let i=0;for(;iString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`}(Array.from(l))}`,"g")),h=[],d=!1,c=0,g=0,m=0;e:for(let t=s;t<=o;t++){let i=e.getLineContent(t),n=i.length;u.reset(0);do if(r=u.next(i)){let e=r.index,s=r.index+r[0].length;e>0&&t2(i.charCodeAt(e-1))&&e--,s+1=1e3){d=!0;break e}h.push(new iX(t,e+1,t,s+1))}}while(r)}return{ranges:h,hasMore:d,ambiguousCharacterCount:c,invisibleCharacterCount:g,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let i=new nP(t);switch(i.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),r=i.ambiguousCharacters.getPrimaryConfusable(n),s=t6.getLocales().filter(e=>!t6.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(r),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class nP{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=t6.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of t8.codePoints)!nD(String.fromCodePoint(t))&&e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,r=!1;if(t)for(let e of t){var s;let t=e.codePointAt(0);let i=(s=e,t7.test(s));n=n||i,!i&&!this.ambiguousCharacters.isAmbiguous(t)&&!t8.isInvisibleCharacter(t)&&(r=!0)}return!n&&r?0:this.options.invisibleCharacters&&!nD(e)&&t8.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function nD(e){return" "===e||"\n"===e||" "===e}class nK{constructor(e,t,i){this.changes=e,this.moves=t,this.hitTimeout=i}}class nF{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class nq{static addRange(e,t){let i=0;for(;it))return new nq(e,t)}static ofLength(e){return new nq(0,e)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new tf(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new nq(this.start+e,this.endExclusive+e)}deltaStart(e){return new nq(this.start+e,this.endExclusive)}deltaEnd(e){return new nq(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tt)throw new tf(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),i=nB(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){let i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{let n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){let t=nV(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],i=0,n=0,r=null;for(;i=s.startLineNumber?r=new nH(r.startLineNumber,Math.max(r.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(r),r=s)}return null!==r&&t.push(r),new nz(t)}subtractFrom(e){let t=nU(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=nB(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new nz([e]);let n=[],r=e.startLineNumber;for(let e=t;er&&n.push(new nH(r,t.startLineNumber)),r=t.endLineNumberExclusive}return re.toString()).join(", ")}getIntersection(e){let t=[],i=0,n=0;for(;it.delta(e)))}}class n${static inverse(e,t,i){let n=[],r=1,s=1;for(let t of e){let e=new nj(new nH(r,t.original.startLineNumber),new nH(s,t.modified.startLineNumber),void 0);!e.modified.isEmpty&&n.push(e),r=t.original.endLineNumberExclusive,s=t.modified.endLineNumberExclusive}let o=new nj(new nH(r,t+1),new nH(s,i+1),void 0);return!o.modified.isEmpty&&n.push(o),n}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new n$(this.modified,this.original)}join(e){return new n$(this.original.join(e.original),this.modified.join(e.modified))}}class nj extends n${constructor(e,t,i){super(e,t),this.innerChanges=i}flip(){var e;return new nj(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}}class nG{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new nG(this.modifiedRange,this.originalRange)}}class nQ{computeDiff(e,t,i){var n;let r=new n0(e,t,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),s=[],o=null;for(let e of r.changes){let t,i;t=0===e.originalEndLineNumber?new nH(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new nH(e.originalStartLineNumber,e.originalEndLineNumber+1);let r=new nj(t,i=0===e.modifiedEndLineNumber?new nH(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new nH(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1),null===(n=e.charChanges)||void 0===n?void 0:n.map(e=>new nG(new iX(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new iX(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));o&&(o.modified.endLineNumberExclusive===r.modified.startLineNumber||o.original.endLineNumberExclusive===r.original.startLineNumber)&&(r=new nj(o.original.join(r.original),o.modified.join(r.modified),o.innerChanges&&r.innerChanges?o.innerChanges.concat(r.innerChanges):void 0),s.pop()),s.push(r),o=r}return nO(()=>nT(s,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class nZ{constructor(e,t,i,n,r,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=i,this.originalEndColumn=n,this.modifiedStartLineNumber=r,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,i){let n=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=i.getStartLineNumber(e.modifiedStart),l=i.getStartColumn(e.modifiedStart),u=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1);return new nZ(n,r,s,o,a,l,u,i.getEndColumn(e.modifiedStart+e.modifiedLength-1))}}class n1{constructor(e,t,i,n,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=n,this.charChanges=r}static createFromDiffResult(e,t,i,n,r,s,o){let a,l,u,h,d;if(0===t.originalLength?(a=i.getStartLineNumber(t.originalStart)-1,l=0):(a=i.getStartLineNumber(t.originalStart),l=i.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=n.getStartLineNumber(t.modifiedStart)-1,h=0):(u=n.getStartLineNumber(t.modifiedStart),h=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){let s=i.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=nY(s,a,r,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],i=t[0];for(let n=1,r=e.length;nMath.min(s,r.modifiedStart-(i.modifiedStart+i.modifiedLength))?(i.originalLength=r.originalStart+r.originalLength-i.originalStart,i.modifiedLength=r.modifiedStart+r.modifiedLength-i.modifiedStart):(t.push(r),i=r)}return t}(e)),d=[];for(let t=0,i=e.length;t1&&o>1;){let n=e.charCodeAt(i-2);if(n!==t.charCodeAt(o-2))break;i--,o--}(i>1||o>1)&&this._pushTrimWhitespaceCharChange(n,r+1,1,i,s+1,1,o)}{let i=n4(e,1),o=n4(t,1),a=e.length+1,l=t.length+1;for(;i=0;i--){let t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return -1}(e);return -1===i?t:i+2}function n5(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-t{i.push(n9.fromOffsetPairs(e?e.getEndExclusives():n6.zero,n?n.getStarts():new n6(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),i}static fromOffsetPairs(e,t){return new n9(new nq(e.offset1,t.offset1),new nq(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new n9(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new n9(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new n9(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new n9(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new n9(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(!!t&&!!i)return new n9(t,i)}getStarts(){return new n6(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new n6(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class n6{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}}n6.zero=new n6(0,0),n6.max=new n6(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class n8{isValid(){return!0}}n8.instance=new n8;class n3{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new tf("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&l>0&&3===s.get(a-1,l-1)&&(u+=o.get(a-1,l-1)),u+=n?n(a,l):1):u=-1;let c=Math.max(h,d,u);if(c===u){let e=a>0&&l>0?o.get(a-1,l-1):0;o.set(a,l,e+1),s.set(a,l,3)}else c===h?(o.set(a,l,0),s.set(a,l,1)):c===d&&(o.set(a,l,0),s.set(a,l,2));r.set(a,l,c)}let a=[],l=e.length,u=t.length;function h(e,t){(e+1!==l||t+1!==u)&&a.push(new n9(new nq(e+1,l),new nq(t+1,u))),l=e,u=t}let d=e.length-1,c=t.length-1;for(;d>=0&&c>=0;)3===s.get(d,c)?(h(d,c),d--,c--):1===s.get(d,c)?d--:c--;return h(-1,-1),a.reverse(),new n7(a,!1)}}class rr{compute(e,t,i=n8.instance){if(0===e.length||0===t.length)return n7.trivial(e,t);function n(i,n){for(;ie.length||c>t.length)continue;let g=n(d,c);s.set(a,g);let m=d===r?o.get(a+1):o.get(a-1);if(o.set(a,g!==d?new rs(m,d,c,g-d):m),s.get(a)===e.length&&s.get(a)-a===t.length)break t}}let l=o.get(a),u=[],h=e.length,d=t.length;for(;;){let e=l?l.x+l.length:0,t=l?l.y+l.length:0;if((e!==h||t!==d)&&u.push(new n9(new nq(e,h),new nq(t,d))),!l)break;h=l.x,d=l.y,l=l.prev}return u.reverse(),new n7(u,!1)}}class rs{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class ro{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class ra{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class rl{constructor(e,t){this.uri=e,this.value=t}}class ru{constructor(e,t){if(this[to]="ResourceMap",e instanceof ru)this.map=new Map(e.map),this.toKey=null!=t?t:ru.defaultToKey;else{if(Array.isArray(e))for(let[i,n]of(this.map=new Map,this.toKey=null!=t?t:ru.defaultToKey,e))this.set(i,n);else this.map=new Map,this.toKey=null!=e?e:ru.defaultToKey}}set(e,t){return this.map.set(this.toKey(e),new rl(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[i,n]of(void 0!==t&&(e=e.bind(t)),this.map))e(n.value,n.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(to=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}ru.defaultToKey=e=>e.toString(),ta=Symbol.toStringTag,Symbol.iterator;class rh{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);!i&&(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){let i=this.map.get(e);if(!!i)i.delete(t),0===i.size&&this.map.delete(e)}forEach(e,t){let i=this.map.get(e);if(!!i)i.forEach(t)}get(e){let t=this.map.get(e);return t?t:new Set}}class rd{constructor(e,t,i){this.lines=e,this.considerWhitespaceChanges=i,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let n=!1;t.start>0&&t.endExclusive>=e.length&&(t=new nq(t.start-1,t.endExclusive),n=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=rf(e>0?this.elements[e-1]:-1),i=rf(et<=e);return new iY(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return iX.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!rc(this.elements[e]))return;let t=e;for(;t>0&&rc(this.elements[t-1]);)t--;let i=e;for(;it<=e.start))&&void 0!==t?t:0;return new nq(n,null!==(i=function(e,t){let i=nU(e,t);return i===e.length?void 0:e[i]}(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==i?i:this.elements.length)}}function rc(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let rg={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function rm(e){return rg[e]}function rf(e){if(10===e)return 7;if(13===e)return 6;if(rt(e))return 5;else if(e>=97&&e<=122)return 0;else if(e>=65&&e<=90)return 1;else if(e>=48&&e<=57)return 2;else if(-1===e)return 3;else return 4}function rp(e,t,i){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let n=new rr().compute(new rd([e],new nq(0,1),!1),new rd([t],new nq(0,1),!1),i),r=0;for(let t of n9.invert(n.diffs,e.length))t.seq1Range.forEach(t=>{!rt(e.charCodeAt(t))&&r++});let s=function(t){let i=0;for(let n=0;nt.length?e:t);return r/s>.6&&s>10}function rb(e,t,i){let n=i;return n=function(e,t,i){if(0===i.length)return i;let n=[];n.push(i[0]);for(let r=1;r0&&(o=o.delta(r))}r.push(o)}return n.length>0&&r.push(n[n.length-1]),r}(e,t,n),n=function(e,t,i){if(!e.getBoundaryScore||!t.getBoundaryScore)return i;for(let n=0;n0?i[n-1]:void 0,s=i[n],o=n+1=n.start&&e.seq2Range.start-s>=r.start&&i.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=u,a=n)}return e.delta(a)}class rv{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:ry(this.lines[e-1]);return 1e3-(t+(e===this.lines.length?0:ry(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function ry(e){let t=0;for(;te===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,r=e.length;ne===t))return new nK([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new nK([new nj(new nH(1,e.length+1),new nH(1,t.length+1),[new nG(new iX(1,1,e.length,e[0].length+1),new iX(1,1,t.length,t[0].length+1))])],[],!1);let n=0===i.maxComputationTimeMs?n8.instance:new n3(i.maxComputationTimeMs),r=!i.ignoreTrimWhitespace,s=new Map;function o(e){let t=s.get(e);return void 0===t&&(t=s.size,s.set(e,t)),t}let a=e.map(e=>o(e.trim())),l=t.map(e=>o(e.trim())),u=new rv(a,e),h=new rv(l,t),d=(()=>u.length+h.length<1700?this.dynamicProgrammingDiffing.compute(u,h,n,(i,n)=>e[i]===t[n]?0===t[n].length?.1:1+Math.log(1+t[n].length):.99):this.myersDiffingAlgorithm.compute(u,h))(),c=d.diffs,g=d.hitTimeout;c=rb(u,h,c),c=function(e,t,i){let n,r=i;if(0===r.length)return r;let s=0;do{n=!1;let t=[r[0]];for(let i=1;i5)||!!(i.seq1Range.length+i.seq2Range.length>5))||!1})(o,s)?(n=!0,t[t.length-1]=t[t.length-1].join(s)):t.push(s)}r=t}while(s++<10&&n);return r}(u,0,c);let m=[],f=i=>{if(!!r)for(let s=0;si.seq1Range.start-p==i.seq2Range.start-b),f(i.seq1Range.start-p),p=i.seq1Range.endExclusive,b=i.seq2Range.endExclusive;let s=this.refineDiff(e,t,i,n,r);for(let e of(s.hitTimeout&&(g=!0),s.mappings))m.push(e)}f(e.length-p);let _=rL(m,e,t),v=[];return i.computeMoves&&(v=this.computeMoves(_,e,t,a,l,n,r)),nO(()=>{function i(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let i=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>i.length+1)&&!0}function n(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)&&!0}for(let r of _){if(!r.innerChanges)return!1;for(let n of r.innerChanges)if(!(i(n.modifiedRange.getStartPosition(),t)&&i(n.modifiedRange.getEndPosition(),t)&&i(n.originalRange.getStartPosition(),e)&&i(n.originalRange.getEndPosition(),e)))return!1;if(!n(r.modified,t)||!n(r.original,e))return!1}return!0}),new nK(_,v,g)}computeMoves(e,t,i,n,r,s,o){return(function(e,t,i,n,r,s){let{moves:o,excludedChanges:a}=function(e,t,i,n){let r=[],s=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new ri(e.original,t,e)),o=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new ri(e.modified,i,e))),a=new Set;for(let e of s){let t,i=-1;for(let n of o){let r=e.computeSimilarity(n);r>i&&(i=r,t=n)}if(i>.9&&t&&(o.delete(t),r.push(new n$(e.range,t.range)),a.add(e.source),a.add(t.source)),!n.isValid())break}return{moves:r,excludedChanges:a}}(e,t,i,s);return s.isValid()?(!function(e,t){for(let i of t)e.push(i)}(o,function(e,t,i,n,r,s){var o;let a=[],l=new rh;for(let i of e)for(let e=i.original.startLineNumber;ee.modified.startLineNumber,iZ)),e)){let e=[];for(let n=t.modified.startLineNumber;n{for(let i of e)if(i.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&i.modifiedLineRange.endLineNumberExclusive+1===r.endLineNumberExclusive){i.originalLineRange=new nH(i.originalLineRange.startLineNumber,t.endLineNumberExclusive),i.modifiedLineRange=new nH(i.modifiedLineRange.startLineNumber,r.endLineNumberExclusive),s.push(i);return}let i={modifiedLineRange:r,originalLineRange:t};u.push(i),s.push(i)}),e=s}if(!s.isValid())return[]}u.sort((o=iJ(e=>e.modifiedLineRange.length,iZ),(e,t)=>-o(e,t)));let h=new nz,d=new nz;for(let e of u){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,i=h.subtractFrom(e.modifiedLineRange),n=d.subtractFrom(e.originalLineRange).getWithDelta(t);for(let e of i.getIntersection(n).ranges){if(e.length<3)continue;let i=e.delta(-t);a.push(new n$(i,e)),h.addRange(e),d.addRange(i)}}a.sort(iJ(e=>e.original.startLineNumber,iZ));let c=new nW(e);for(let t=0;te.original.startLineNumber<=l.original.startLineNumber),g=nV(e,e=>e.modified.startLineNumber<=l.modified.startLineNumber),m=Math.max(l.original.startLineNumber-u.original.startLineNumber,l.modified.startLineNumber-g.modified.startLineNumber),f=c.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumbern.length||t>r.length||h.contains(t)||d.contains(e)||!rp(n[e-1],r[t-1],s))break}for(i>0&&(d.addRange(new nH(l.original.startLineNumber-i,l.original.startLineNumber)),h.addRange(new nH(l.modified.startLineNumber-i,l.modified.startLineNumber))),o=0;on.length||t>r.length||h.contains(t)||d.contains(e)||!rp(n[e-1],r[t-1],s))break}o>0&&(d.addRange(new nH(l.original.endLineNumberExclusive,l.original.endLineNumberExclusive+o)),h.addRange(new nH(l.modified.endLineNumberExclusive,l.modified.endLineNumberExclusive+o))),(i>0||o>0)&&(a[t]=new n$(new nH(l.original.startLineNumber-i,l.original.endLineNumberExclusive+o),new nH(l.modified.startLineNumber-i,l.modified.endLineNumberExclusive+o)))}return a}(e.filter(e=>!a.has(e)),n,r,t,i,s)),o=function(e,t){let i=new nW(e);return t=t.filter(t=>{let n=i.findLastMonotonous(e=>e.original.endLineNumberExclusivee.modified.endLineNumberExclusivee.original.startLineNumber,iZ));let t=[e[0]];for(let i=1;i=0&&o>=0&&s+o<=2){t[t.length-1]=n.join(r);continue}t.push(r)}return t}(o)).filter(e=>e.original.toOffsetRange().slice(t).map(e=>e.trim()).join("\n").length>=10))):[]})(e,t,i,n,r,s).map(e=>{let n=rL(this.refineDiff(t,i,new n9(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o).mappings,t,i,!0);return new nF(e,n)})}refineDiff(e,t,i,n,r){let s=new rd(e,i.seq1Range,r),o=new rd(t,i.seq2Range,r),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,n):this.myersDiffingAlgorithm.compute(s,o,n),l=a.diffs;return l=rb(s,o,l),l=function(e,t,i){let n=[];for(let e of i){let t=n[n.length-1];if(!t){n.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?n[n.length-1]=new n9(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):n.push(e)}return n}(0,0,l=function(e,t,i){let n,r=[];function s(){if(!n)return;let e=n.s1Range.length-n.deleted;n.s2Range.length,n.added,Math.max(n.deleted,n.added)+(n.count-1)>e&&r.push(new n9(n.s1Range,n.s2Range)),n=void 0}for(let r of i){function o(e,t){var i,o,a,l;if(!n||!n.s1Range.containsRange(e)||!n.s2Range.containsRange(t)){if(n&&!(n.s1Range.endExclusive0||t.length>0;){let n;let r=e[0],s=t[0];n=r&&(!s||r.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=n.seq1Range.start?i[i.length-1]=i[i.length-1].join(n):i.push(n)}return i}(i,r)}(s,o,l)),{mappings:(l=function(e,t,i){let n,r=i;if(0===r.length)return r;let s=0;do{n=!1;let i=[r[0]];for(let s=1;s5||r.length>500)return!1;let s=e.getText(r).trim();if(s.length>20||s.split(/\r\n|\r|\n/).length>1)return!1;let l=e.countLinesIn(i.seq1Range),u=i.seq1Range.length,h=t.countLinesIn(i.seq2Range),d=i.seq2Range.length,c=e.countLinesIn(n.seq1Range),g=n.seq1Range.length,m=t.countLinesIn(n.seq2Range),f=n.seq2Range.length;function p(e){return Math.min(e,130)}return!!(Math.pow(Math.pow(p(40*l+u),1.5)+Math.pow(p(40*h+d),1.5),1.5)+Math.pow(Math.pow(p(40*c+g),1.5)+Math.pow(p(40*m+f),1.5),1.5)>74184.96480721243)||!1})(a,o)?(n=!0,i[i.length-1]=i[i.length-1].join(o)):i.push(o)}r=i}while(s++<10&&n);let o=[];return!function(e,t){for(let i=0;i{let r=i;function s(e){return e.length>0&&e.trim().length<=3&&i.seq1Range.length+i.seq2Range.length>100}let a=e.extendToFullLines(i.seq1Range),l=e.getText(new nq(a.start,i.seq1Range.start));s(l)&&(r=r.deltaStart(-l.length));let u=e.getText(new nq(i.seq1Range.endExclusive,a.endExclusive));s(u)&&(r=r.deltaEnd(u.length));let h=n9.fromOffsetPairs(t?t.getEndExclusives():n6.zero,n?n.getStarts():n6.max),d=r.intersect(h);o.push(d)}),o}(s,o,l)).map(e=>new nG(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range))),hitTimeout:a.hitTimeout}}}function rL(e,t,i,n=!1){let r=[];for(let n of function*(e,t){let i,n;for(let r of e)void 0!==n&&t(n,r)?i.push(r):(i&&(yield i),i=[r]),n=r;i&&(yield i)}(e.map(e=>(function(e,t,i){let n=0,r=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+n<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+n<=e.modifiedRange.endLineNumber&&(r=-1),e.modifiedRange.startColumn-1>=i[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(n=1);let s=new nH(e.originalRange.startLineNumber+n,e.originalRange.endLineNumber+1+r);return new nj(s,new nH(e.modifiedRange.startLineNumber+n,e.modifiedRange.endLineNumber+1+r),[e])})(e,t,i)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=n[0],t=n[n.length-1];r.push(new nj(e.original.join(t.original),e.modified.join(t.modified),n.map(e=>e.innerChanges[0])))}return nO(()=>(!!n||!(r.length>0)||r[0].original.startLineNumber===r[0].modified.startLineNumber)&&nT(r,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivenew nQ,getDefault:()=>new rC};function rN(e,t){let i=Math.pow(10,t);return Math.round(e*i)/i}class rE{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=rN(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class rS{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rN(Math.max(Math.min(1,t),0),3),this.l=rN(Math.max(Math.min(1,i),0),3),this.a=rN(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,n=e.b/255,r=e.a,s=Math.max(t,i,n),o=Math.min(t,i,n),a=0,l=0,u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(i-n)/h+(i1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t,i,n;let r=e.h/360,{s,l:o,a}=e;if(0===s)t=i=n=o;else{let e=o<.5?o*(1+s):o+s-o*s,a=2*o-e;t=rS._hue2rgb(a,e,r+1/3),i=rS._hue2rgb(a,e,r),n=rS._hue2rgb(a,e,r-1/3)}return new rE(Math.round(255*t),Math.round(255*i),Math.round(255*n),a)}}class rR{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rN(Math.max(Math.min(1,t),0),3),this.v=rN(Math.max(Math.min(1,i),0),3),this.a=rN(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let i=e.r/255,n=e.g/255,r=e.b/255,s=Math.max(i,n,r),o=s-Math.min(i,n,r);return new rR(Math.round(60*(t=0===o?0:s===i?((n-r)/o%6+6)%6:s===n?(r-i)/o+2:(i-n)/o+4)),0===s?0:o/s,s,e.a)}static toRGBA(e){let{h:t,s:i,v:n,a:r}=e,s=n*i,o=s*(1-Math.abs(t/60%2-1)),a=n-s,[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),new rE(l=Math.round((l+a)*255),u=Math.round((u+a)*255),h=Math.round((h+a)*255),r)}}class rA{static fromHex(e){return rA.Format.CSS.parseHex(e)||rA.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:rS.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:rR.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof rE)this.rgba=e;else if(e instanceof rS)this._hsla=e,this.rgba=rS.toRGBA(e);else if(e instanceof rR)this._hsva=e,this.rgba=rR.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&rE.equals(this.rgba,e.rgba)&&rS.equals(this.hsla,e.hsla)&&rR.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=rA._relativeLuminanceForComponent(this.rgba.r),t=rA._relativeLuminanceForComponent(this.rgba.g),i=rA._relativeLuminanceForComponent(this.rgba.b);return rN(.2126*e+.7152*t+.0722*i,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){let t=this.getRelativeLuminance();return t>e.getRelativeLuminance()}isDarkerThan(e){let t=this.getRelativeLuminance();return tthis._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;i<1?(i=1,n=!0):i>e&&(i=e,n=!0)}return n?{lineNumber:t,column:i}:e}}class rK{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new rD(iV.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!!this._models[e])this._models[e].onEvents(t)}acceptRemovedModel(e){if(!!this._models[e])delete this._models[e]}computeUnicodeHighlights(e,t,i){return rP(this,void 0,void 0,function*(){let n=this._getModel(e);return n?nI.computeUnicodeHighlights(n,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,i,n){return rP(this,void 0,void 0,function*(){let r=this._getModel(e),s=this._getModel(t);return r&&s?rK.computeDiff(r,s,i,n):null})}static computeDiff(e,t,i,n){let r="advanced"===n?rw.getDefault():rw.getLegacy(),s=e.getLinesContent(),o=t.getLinesContent(),a=r.computeDiff(s,o,i);function l(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:l(a.changes),moves:a.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,l(e.changes)])}}static _modelsAreIdentical(e,t){let i=e.getLineCount();if(i!==t.getLineCount())return!1;for(let n=1;n<=i;n++){let i=e.getLineContent(n);if(i!==t.getLineContent(n))return!1}return!0}computeMoreMinimalEdits(e,t,i){return rP(this,void 0,void 0,function*(){let n,r=this._getModel(e);if(!r)return t;let s=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return iX.compareRangesUsingStarts(e.range,t.range);let i=e.range?0:1;return i-(t.range?0:1)});let o=0;for(let e=1;erK._diffLimit){s.push({range:e,text:h});continue}let o=(a=t,l=h,u=i,new iy(new ip(a),new ip(l)).ComputeDiff(u).changes),c=r.offsetAt(iX.lift(e).getStartPosition());for(let e of o){let t=r.positionAt(c+e.originalStart),i=r.positionAt(c+e.originalStart+e.originalLength),n={text:h.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};r.getValueInRange(n.range)!==n.text&&s.push(n)}}return"number"==typeof n&&s.push({eol:n,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(e){return rP(this,void 0,void 0,function*(){var t;let i=this._getModel(e);if(!i)return null;return(t=i)&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?ns.computeLinks(t):[]})}computeDefaultDocumentColors(e){return rP(this,void 0,void 0,function*(){var t;let i=this._getModel(e);if(!i)return null;return(t=i)&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],i=rI(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let n of i){let i;let r=n.filter(e=>void 0!==e),s=r[1],o=r[2];if(!!o){if("rgb"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;i=rO(rk(e,n),rI(o,t),!1)}else if("rgba"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=rO(rk(e,n),rI(o,t),!0)}else if("hsl"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;i=rT(rk(e,n),rI(o,t),!1)}else if("hsla"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=rT(rk(e,n),rI(o,t),!0)}else"#"===s&&(i=function(e,t){if(!e)return;let i=rA.Format.CSS.parseHex(t);if(!!i)return{range:e,color:rM(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}(rk(e,n),s+o));i&&t.push(i)}}return t}(t):[]})}textualSuggest(e,t,i,n){return rP(this,void 0,void 0,function*(){let r=new tR,s=new RegExp(i,n),o=new Set;i:for(let i of e){let e=this._getModel(i);if(!!e)for(let i of e.words(s)){if(i!==t&&!!isNaN(Number(i))){if(o.add(i),o.size>rK._suggestionsLimit)break i}}}return{words:Array.from(o),duration:r.elapsed()}})}computeWordRanges(e,t,i,n){return rP(this,void 0,void 0,function*(){let r=this._getModel(e);if(!r)return Object.create(null);let s=new RegExp(i,n),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},n={};for(let t of e)n[t]=i(t);return n}(i,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve(tP(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}rK._diffLimit=1e5,rK._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:nu,Emitter:tT,KeyCode:e$,KeyMod:nx,Position:iY,Range:iX,Selection:nC,SelectionDirection:e5,MarkerSeverity:ej,MarkerTag:eG,Uri:iV,Token:nR});let rF=!1;globalThis.onmessage=e=>{!rF&&!function(e){if(rF)return;rF=!0;let t=new il(e=>{globalThis.postMessage(e)},e=>new rK(e,null));globalThis.onmessage=e=>{t.onmessage(e.data)}}(null)}})(); \ No newline at end of file diff --git a/img/BCID_H_rgb_pos.png b/img/BCID_H_rgb_pos.png new file mode 100644 index 0000000..07e4176 Binary files /dev/null and b/img/BCID_H_rgb_pos.png differ diff --git a/img/BCID_H_rgb_rev.png b/img/BCID_H_rgb_rev.png new file mode 100644 index 0000000..d4b812e Binary files /dev/null and b/img/BCID_H_rgb_rev.png differ diff --git a/img/cc-by.png b/img/cc-by.png new file mode 100644 index 0000000..fbc6ccf Binary files /dev/null and b/img/cc-by.png differ diff --git a/img/docusaurus.png b/img/docusaurus.png new file mode 100644 index 0000000..f458149 Binary files /dev/null and b/img/docusaurus.png differ diff --git a/img/easytouse.svg b/img/easytouse.svg new file mode 100644 index 0000000..14f9b73 --- /dev/null +++ b/img/easytouse.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 0000000..1841396 Binary files /dev/null and b/img/favicon.ico differ diff --git a/img/favicon.png b/img/favicon.png new file mode 100644 index 0000000..20742f9 Binary files /dev/null and b/img/favicon.png differ diff --git a/img/interoperable.svg b/img/interoperable.svg new file mode 100644 index 0000000..4e00066 --- /dev/null +++ b/img/interoperable.svg @@ -0,0 +1,4 @@ + + + + diff --git a/img/logo.svg b/img/logo.svg new file mode 100644 index 0000000..9db6d0d --- /dev/null +++ b/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/opensource.svg b/img/opensource.svg new file mode 100644 index 0000000..74fea30 --- /dev/null +++ b/img/opensource.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..8af03f6 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +Welcome to Permitting Interoperability Exchange Specification | Permitting Interoperability Exchange Specification

    Permitting Interoperability Exchange Specification

    An easy as pie way to exchange standardized permitting information. 🥧

    Easy to Use

    PIES was designed from the ground up to be easily understood and installed in your application quickly.

    Interoperable

    PIES lets you focus on your data. Let your systems communicate to each other with ease.

    Open Source

    Want to improve PIES? We welcome your contributions!

    \ No newline at end of file diff --git a/json.worker.js b/json.worker.js new file mode 100644 index 0000000..31501ca --- /dev/null +++ b/json.worker.js @@ -0,0 +1 @@ +(()=>{"use strict";let e,t,n,r,i,s,o;var a,l,u,h,c,d,f,m,g,p,v,b,y,_,C,S,w,L,x,E,N,A,k,R,T,M,O,I,P,F,V,D,q,K,j,U,B,$,W,H,z,G,J,X,Q,Z,Y,ee,et,en,er,ei,es,eo,ea,el,eu,eh,ec,ed,ef,em,eg,ep,ev,eb,ey,e_,eC,eS,ew,eL,ex,eE,eN,eA,ek,eR,eT,eM,eO,eI,eP,eF,eV,eD,eq,eK,ej,eU,eB,e$,eW,eH,ez,eG,eJ,eX,eQ,eZ,eY,e1,e0,e2,e4,e5,e7,e9,e6,e8,e3,te,tt,tn,tr,ti,ts,to,ta,tl,tu,th,tc,td,tf,tm,tg,tp,tv,tb,ty,t_,tC,tS,tw,tL,tx,tE,tN,tA,tk,tR,tT,tM,tO,tI,tP,tF,tV,tD,tq,tK,tj,tU,tB,t$,tW,tH,tz,tG,tJ,tX,tQ,tZ,tY,t1,t0,t2,t4,t5,t7,t9,t6,t8,t3,ne,nt,nn,nr,ni,ns,no,na,nl,nu,nh,nc,nd,nf,nm,ng,np,nv,nb,ny,n_,nC,nS,nw,nL,nx,nE,nN,nA,nk,nR,nT,nM,nO,nI,nP,nF,nV,nD,nq,nK,nj,nU,nB,n$,nW,nH,nz,nG,nJ,nX,nQ,nZ,nY,n1,n0,n2,n4,n5,n7,n9,n6,n8,n3,re,rt,rn,rr,ri,rs={};rs.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();let ro=new class e{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(rc.isErrorNoTelemetry(e))throw new rc(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function ra(e){!function(e){return e instanceof rh||e instanceof Error&&e.name===ru&&e.message===ru}(e)&&ro.onUnexpectedError(e)}function rl(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:rc.isErrorNoTelemetry(e)}}return e}let ru="Canceled";class rh extends Error{constructor(){super(ru),this.name=this.message}}class rc extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof rc)return e;let t=new rc;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class rd extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,rd.prototype)}}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let n=Object.freeze([]);function*r(e){yield e}e.empty=function(){return n},e.single=r;e.wrap=function(e){return t(e)?e:r(e)};e.from=function(e){return e||n};e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]};e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done};e.first=function(e){return e[Symbol.iterator]().next().value};e.some=function(e,t){for(let n of e)if(t(n))return!0;return!1};e.find=function(e,t){for(let n of e)if(t(n))return n};e.filter=function*(e,t){for(let n of e)t(n)&&(yield n)};e.map=function*(e,t){let n=0;for(let r of e)yield t(r,n++)};e.concat=function*(...e){for(let t of e)for(let e of t)yield e};e.reduce=function(e,t,n){let r=n;for(let n of e)r=t(r,n);return r};e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);ti}]}}(ts||(ts={}));let rf=null;function rm(e){return null==rf||rf.trackDisposable(e),e}function rg(e){null==rf||rf.markAsDisposed(e)}function rp(e,t){null==rf||rf.setParent(e,t)}function rv(e){if(ts.is(e)){let t=[];for(let n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function rb(e){let t=rm({dispose:function(e){let t;let n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments),t)}}(()=>{rg(t),e()})});return t}class ry{constructor(){this._toDispose=new Set,this._isDisposed=!1,rm(this)}dispose(){if(!this._isDisposed)rg(this),this._isDisposed=!0,this.clear()}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{rv(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return rp(e,this),this._isDisposed?!ry.DISABLE_DISPOSED_WARNING&&console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){if(!!e)this._toDispose.has(e)&&(this._toDispose.delete(e),rp(e,null))}}ry.DISABLE_DISPOSED_WARNING=!1;class r_{constructor(){this._store=new ry,rm(this),rp(this._store,this)}dispose(){rg(this),this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}r_.None=Object.freeze({dispose(){}}),Symbol.iterator;class rC{constructor(e){this.element=e,this.next=rC.Undefined,this.prev=rC.Undefined}}rC.Undefined=new rC(void 0);class rS{constructor(){this._first=rC.Undefined,this._last=rC.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===rC.Undefined}clear(){let e=this._first;for(;e!==rC.Undefined;){let t=e.next;e.prev=rC.Undefined,e.next=rC.Undefined,e=t}this._first=rC.Undefined,this._last=rC.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new rC(e);if(this._first===rC.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{!r&&(r=!0,this._remove(n))}}shift(){if(this._first!==rC.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==rC.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==rC.Undefined&&e.next!==rC.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===rC.Undefined&&e.next===rC.Undefined?(this._first=rC.Undefined,this._last=rC.Undefined):e.next===rC.Undefined?(this._last=this._last.prev,this._last.next=rC.Undefined):e.prev===rC.Undefined&&(this._first=this._first.next,this._first.prev=rC.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==rC.Undefined;)yield e.element,e=e.next}}let rw=globalThis.performance&&"function"==typeof globalThis.performance.now;class rL{static create(e){return new rL(e)}constructor(e){this._now=rw&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}!function(e){function t(e){}e.None=()=>r_.None;function n(e){return(t,n=null,r)=>{let i,s=!1;return i=e(e=>s?void 0:(i?i.dispose():s=!0,t.call(n,e)),null,r),s&&i.dispose(),i}}function r(e,t,n){return s((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i),n)}e.defer=function(e,t){return o(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=n,e.map=r;function i(e,t,n){return s((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i),n)}e.forEach=function(e,t,n){return s((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i),n)},e.filter=i;e.signal=function(e){return e};e.any=function(...e){return(t,n=null,r)=>(function(e,t){return t instanceof Array?t.push(e):t&&t.add(e),e})(function(...e){let t=rb(()=>rv(e));return!function(e,t){if(!!rf)for(let n of e)rf.setParent(n,t)}(e,t),t}(...e.map(e=>e(e=>t.call(n,e)))),r)};function s(e,n){let r;let i={onWillAddFirstListener(){r=e(s.fire,s)},onDidRemoveLastListener(){null==r||r.dispose()}};!n&&t(i);let s=new rR(i);return null==n||n.add(s),s.event}e.reduce=function(e,t,n,i){let s=n;return r(e,e=>s=t(s,e),i)};function o(e,n,r=100,i=!1,s=!1,a,l){let u,h,c,d;let f=0,m={leakWarningThreshold:a,onWillAddFirstListener(){u=e(e=>{f++,c=n(c,e),i&&!d&&(g.fire(c),c=void 0),h=()=>{let e=c;c=void 0,d=void 0,(!i||f>1)&&g.fire(e),f=0},"number"==typeof r?(clearTimeout(d),d=setTimeout(h,r)):void 0===d&&(d=0,queueMicrotask(h))})},onWillRemoveListener(){s&&f>0&&(null==h||h())},onDidRemoveLastListener(){h=void 0,u.dispose()}};!l&&t(m);let g=new rR(m);return null==l||l.add(g),g.event}e.debounce=o;e.accumulate=function(t,n=0,r){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],n,void 0,!0,void 0,r)};e.latch=function(e,t=(e,t)=>e===t,n){let r,s=!0;return i(e,e=>{let n=s||!t(e,r);return s=!1,r=e,n},n)};e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,e=>!n(e),r)]};e.buffer=function(e,t=!1,n=[],r){let i=n.slice(),s=e(e=>{i?i.push(e):a.fire(e)});r&&r.add(s);let o=()=>{null==i||i.forEach(e=>a.fire(e)),i=null},a=new rR({onWillAddFirstListener(){!s&&(s=e(e=>a.fire(e)),r&&r.add(s))},onDidAddFirstListener(){i&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return r&&r.add(a),a.event};e.chain=function(e,t){return(n,r,i)=>{let s=t(new l);return e(function(e){let t=s.evaluate(e);t!==a&&n.call(r,t)},void 0,i)}};let a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:a),this}reduce(e,t){let n=t;return this.steps.push(t=>n=e(n,t)),this}latch(e=(e,t)=>e===t){let t,n=!0;return this.steps.push(r=>{let i=n||!e(r,t);return n=!1,t=r,i?r:a}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new rR({onWillAddFirstListener:()=>e.on(t,r),onDidRemoveLastListener:()=>e.removeListener(t,r)});return i.event};e.fromDOMEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new rR({onWillAddFirstListener:()=>e.addEventListener(t,r),onDidRemoveLastListener:()=>e.removeEventListener(t,r)});return i.event};e.toPromise=function(e){return new Promise(t=>n(e)(t))};e.fromPromise=function(e){let t=new rR;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event};e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))};e.runAndSubscribeWithStore=function(e,t){let n=null;function r(e){null==n||n.dispose(),t(e,n=new ry)}r(void 0);let i=e(e=>r(e));return rb(()=>{i.dispose(),null==n||n.dispose()})};class u{constructor(e,n){this._observable=e,this._counter=0,this._hasChanged=!1;let r={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};!n&&t(r),this.emitter=new rR(r),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new u(e,t).emitter.event};e.fromObservableLight=function(e){return t=>{let n=0,r=!1,i={beginUpdate(){n++},endUpdate(){0==--n&&(e.reportChanges(),r&&(r=!1,t()))},handlePossibleChange(){},handleChange(){r=!0}};return e.addObserver(i),e.reportChanges(),{dispose(){e.removeObserver(i)}}}}}(to||(to={}));class rx{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${rx._idPool++}`,rx.all.add(this)}start(e){this._stopWatch=new rL,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}rx.all=new Set,rx._idPool=0;class rE{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let n=this.threshold;if(n<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class rN{static create(){var e;return new rN(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class rA{constructor(e){this.value=e}}let rk=(e,t)=>{if(e instanceof rA)t(e);else for(let n=0;n{var r,i,s,o,a;let l,u;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),r_.None;if(this._disposed)return r_.None;t&&(e=e.bind(t));let h=new rA(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(h.stack=rN.create(),l=this._leakageMon.check(h.stack,this._size+1)),this._listeners?this._listeners instanceof rA?(null!==(a=this._deliveryQueue)&&void 0!==a||(this._deliveryQueue=new rT),this._listeners=[this._listeners,h]):this._listeners.push(h):(null===(i=null===(r=this._options)||void 0===r?void 0:r.onWillAddFirstListener)||void 0===i||i.call(r,this),this._listeners=h,null===(o=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===o||o.call(s,this)),this._size++;let c=rb(()=>{null==l||l(),this._removeListener(h)});return n instanceof ry?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}_removeListener(e){var t,n,r,i;if(null===(n=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===n||n.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(i=null===(r=this._options)||void 0===r?void 0:r.onDidRemoveLastListener)||void 0===i||i.call(r,this),this._size=0;return}let s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;let a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}class rT{constructor(){this.i=-1,this.end=0}enqueue(e,t,n){this.i=0,this.end=n,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}Object.prototype.hasOwnProperty;function rM(e){let t=[];for(let n of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[n]&&t.push(n);return t}let rO="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function rI(e,t,...n){var r,i;let s;return r=t,s=0===(i=n).length?r:r.replace(/\{(\d+)\}/g,(e,t)=>{let n=i[t[0]],r=e;return"string"==typeof n?r=n:("number"==typeof n||"boolean"==typeof n||null==n)&&(r=String(n)),r}),rO&&(s="\uFF3B"+s.replace(/[aouei]/g,"$&$&")+"\uFF3D"),s}let rP=!1,rF=!1,rV=!1,rD=!1,rq=!1,rK=!1,rj=!1,rU=!1;let rB="en";let r$="object"==typeof self?self:"object"==typeof rs.g?rs.g:{};void 0!==r$.vscode&&void 0!==r$.vscode.process?i=r$.vscode.process:"undefined"!=typeof process&&(i=process);let rW="string"==typeof(null===(ta=null==i?void 0:i.versions)||void 0===ta?void 0:ta.electron)&&(null==i?void 0:i.type)==="renderer";if("object"!=typeof navigator||rW){if("object"==typeof i){rP="win32"===i.platform,rF="darwin"===i.platform,!(rV="linux"===i.platform)||!i.env.SNAP||i.env.SNAP_REVISION,!i.env.CI&&i.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=i.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),n=t.availableLanguages["*"];t.locale,t.osLocale;t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else{;rP=(r=navigator.userAgent).indexOf("Windows")>=0,rF=r.indexOf("Macintosh")>=0,(r.indexOf("Macintosh")>=0||r.indexOf("iPad")>=0||r.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,rV=r.indexOf("Linux")>=0,null==r||r.indexOf("Mobi"),rq=!0;let e=void(m=rI({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));navigator.language}rF||rP;let rH=rP,rz=rF;rq&&r$.importScripts;let rG=r,rJ="function"==typeof r$.postMessage&&!r$.importScripts;(()=>{if(rJ){let e=[];r$.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n{let r=++t;e.push({id:r,callback:n}),r$.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();let rX=!!(rG&&rG.indexOf("Chrome")>=0);rG&&rG.indexOf("Firefox"),!rX&&rG&&rG.indexOf("Safari"),rG&&rG.indexOf("Edg/"),rG&&rG.indexOf("Android");class rQ{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function rZ(e){return e>=65&&e<=90}function rY(e){return 55296<=e&&e<=56319}function r1(e){return 56320<=e&&e<=57343}function r0(e,t){return(e-55296<<10)+(t-56320)+65536}let r2=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class r4{static getInstance(){return!r4._INSTANCE&&(r4._INSTANCE=new r4),r4._INSTANCE}constructor(){this._data=function(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}()}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,n=t.length/3,r=1;for(;r<=n;)if(et[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}r4._INSTANCE=null;class r5{static getInstance(e){return tl.cache.get(Array.from(e))}static getLocales(){return tl._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}tl=r5,r5.ambiguousCharacterData=new rQ(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),r5.cache=new class e{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function n(e){let t=new Map;for(let n=0;n!e.startsWith("_")&&e in r);0===i.length&&(i=["_default"]);for(let e of i)t=function(e,t){if(!e)return t;let n=new Map;for(let[r,i]of e)t.has(r)&&n.set(r,i);return n}(t,n(r[e]));let s=function(e,t){let n=new Map(e);for(let[e,r]of t)n.set(e,r);return n}(n(r._common),t);return new tl(s)}),r5._locales=new rQ(()=>Object.keys(tl.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class r7{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return!this._data&&(this._data=new Set(r7.getRawData())),this._data}static isInvisibleCharacter(e){return r7.getData().has(e)}static get codePoints(){return r7.getData()}}r7._data=void 0;class r9{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class r6{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class r8{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class r3{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class ie{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class it{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new r9(this._workerId,n,e,t))})}listen(e,t){let n=null,r=new rR({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new r8(this._workerId,n,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new ie(this._workerId,n)),n=null}});return r.event}handleMessage(e){if(!!e&&!!e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId))this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&((n=Error()).name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),t.reject(n);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send(new r6(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=rl(e.detail)),this._send(new r6(this._workerId,t,void 0,rl(e)))})}_handleSubscribeEventMessage(e){let t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new r3(this._workerId,t,e))});this._pendingEvents.set(t,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let n=0;n{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(ii(e)){let n=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on request handler.`);return n}if(ir(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,n,r){this._protocol.setWorkerId(e);let i=function(e,t,n){let r=e=>function(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)},s={};for(let t of e){if(ii(t)){s[t]=i(t);continue}if(ir(t)){s[t]=n(t,void 0);continue}s[t]=r(t)}return s}(r,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(rM(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{(0,globalThis.require)([n],n=>{if(this._requestHandler=n.create(i),!this._requestHandler){t(Error("No RequestHandler!"));return}e(rM(this._requestHandler))},t)}))}}class io{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function ia(e,t){return(t<<5)-t+e|0}function il(e,t,n=32){let r=n-t;return(e<>>r)>>>0}function iu(e,t=0,n=e.byteLength,r=0){for(let i=0;ie.toString(16).padStart(2,"0")).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class ic{constructor(){this._h0=0x67452301,this._h1=0xefcdab89,this._h2=0x98badcfe,this._h3=0x10325476,this._h4=0xc3d2e1f0,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,n;let r=e.length;if(0===r)return;let i=this._buff,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,n=-1,o=0):(t=e.charCodeAt(0),n=0);;){let a=t;if(rY(t)){if(n+1>>6:(n<65536?e[t++]=224|(61440&n)>>>12:(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12),e[t++]=128|(4032&n)>>>6),e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return!this._finished&&(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),ih(this._h0)+ih(this._h1)+ih(this._h2)+ih(this._h3)+ih(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,iu(this._buff,this._buffLen),this._buffLen>56&&(this._step(),iu(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/0x100000000),!1),this._buffDV.setUint32(60,e%0x100000000,!1),this._step()}_step(){let e,t,n;let r=ic._bigBlock32,i=this._buffDV;for(let e=0;e<64;e+=4)r.setUint32(e,i.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)r.setUint32(e,il(r.getUint32(e-12,!1)^r.getUint32(e-32,!1)^r.getUint32(e-56,!1)^r.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let i=0;i<80;i++)i<20?(e=o&a|~o&l,t=0x5a827999):i<40?(e=o^a^l,t=0x6ed9eba1):i<60?(e=o&a|o&l|a&l,t=0x8f1bbcdc):(e=o^a^l,t=0xca62c1d6),n=il(s,5)+e+u+t+r.getUint32(4*i,!1)&0xffffffff,u=l,l=a,a=il(o,30),o=s,s=n;this._h0=this._h0+s&0xffffffff,this._h1=this._h1+o&0xffffffff,this._h2=this._h2+a&0xffffffff,this._h3=this._h3+l&0xffffffff,this._h4=this._h4+u&0xffffffff}}ic._bigBlock32=new DataView(new ArrayBuffer(320));class id{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new io(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=0x40000000,this.m_modifiedStart=0x40000000}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class iv{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;let[r,i,s]=iv._getElements(e),[o,a,l]=iv._getElements(t);this._hasStrings=s&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(iv._isStringArray(t)){let e=new Int32Array(t.length);for(let n=0,r=t.length;n=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let i;return n<=r?(im.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new io(e,0,n,r-n+1)]):e<=t?(im.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new io(e,t-e+1,n,0)]):(im.Assert(e===t+1,"originalStart should only be one more than originalEnd"),im.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}let s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,n,r,s,o,i),l=s[0],u=o[0];if(null!==a)return a;if(!i[0]){let s=this.ComputeDiffRecursive(e,l,n,u,i),o=[];return o=i[0]?[new io(l+1,t-(l+1)+1,u+1,r-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,r,i),this.ConcatenateChanges(s,o)}return[new io(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,s,o,a,l,u,h,c,d,f,m,g,p,v){let b=null,y=null,_=new ip,C=t,S=n,w=d[0]-g[0]-r,L=-0x40000000,x=this.m_forwardHistory.length-1;do{let t=w+e;t===C||t=0&&(e=(l=this.m_forwardHistory[x])[0],C=1,S=l.length-1)}while(--x>=-1);if(b=_.getReverseChanges(),v[0]){let e=d[0]+1,t=g[0]+1;if(null!==b&&b.length>0){let n=b[b.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new io(e,c-e+1,t,m-t+1)]}else{_=new ip,C=s,S=o,w=d[0]-g[0]-a,L=0x40000000,x=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+i;e===C||e=u[e+1]?(f=(h=u[e+1]-1)-w-a,h>L&&_.MarkNextChange(),L=h+1,_.AddOriginalElement(h+1,f+1),w=e+1-i):(f=(h=u[e-1])-w-a,h>L&&_.MarkNextChange(),L=h,_.AddModifiedElement(h+1,f+1),w=e-1-i),x>=0&&(i=(u=this.m_reverseHistory[x])[0],C=1,S=u.length-1)}while(--x>=-1);y=_.getChanges()}return this.ConcatenateChanges(b,y)}ComputeRecursionPoint(e,t,n,r,i,s,o){let a=0,l=0,u=0,h=0,c=0,d=0;e--,n--,i[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let f=t-e+(r-n),m=f+1,g=new Int32Array(m),p=new Int32Array(m),v=r-n,b=t-e,y=e-n,_=t-r,C=(b-v)%2==0;g[v]=e,p[b]=t,o[0]=!1;for(let S=1;S<=f/2+1;S++){let f=0,w=0;u=this.ClipDiagonalBound(v-S,S,v,m),h=this.ClipDiagonalBound(v+S,S,v,m);for(let e=u;e<=h;e+=2){l=(a=e===u||ef+w&&(f=a,w=l),!C&&Math.abs(e-b)<=S-1&&a>=p[e]){if(i[0]=a,s[0]=l,n<=p[e]&&S<=1448)return this.WALKTRACE(v,u,h,y,b,c,d,_,g,p,a,t,i,l,r,s,C,o);return null}}let L=(f-e+(w-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,L)){if(o[0]=!0,i[0]=f,s[0]=w,!(L>0)||!(S<=1448))return e++,n++,[new io(e,t-e+1,n,r-n+1)];break}c=this.ClipDiagonalBound(b-S,S,b,m),d=this.ClipDiagonalBound(b+S,S,b,m);for(let f=c;f<=d;f+=2){l=(a=f===c||f=p[f+1]?p[f+1]-1:p[f-1])-(f-b)-_;let m=a;for(;a>e&&l>n&&this.ElementsAreEqual(a,l);)a--,l--;if(p[f]=a,C&&Math.abs(f-v)<=S&&a<=g[f]){if(i[0]=a,s[0]=l,m>=g[f]&&S<=1448)return this.WALKTRACE(v,u,h,y,b,c,d,_,g,p,a,t,i,l,r,s,C,o);return null}}if(S<=1447){let e=new Int32Array(h-u+2);e[0]=v-u+1,ig.Copy2(g,u,e,1,h-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(d-c+2))[0]=b-c+1,ig.Copy2(p,c,e,1,d-c+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,u,h,y,b,c,d,_,g,p,a,t,i,l,r,s,C,o)}PrettifyChanges(e){for(let t=0;t0,o=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){let n=e[t],r=0,i=0;if(t>0){let n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}let s=n.originalLength>0,o=n.modifiedLength>0,a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){let t=n.originalStart-e,u=n.modifiedStart-e;if(tl&&(l=h,a=e)}n.originalStart-=a,n.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,n=e.length;t0&&n>a&&(a=n,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return!!(e<=0)||!!(e>=this._modifiedElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){let i=this._OriginalRegionIsBoundary(e,t)?1:0;return i+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){let r=Array(e.length+t.length-1);return ig.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],ig.Copy(t,1,r,e.length,t.length-1),r}{let n=Array(e.length+t.length);return ig.Copy(e,0,n,0,e.length),ig.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(im.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),im.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return n[0]=null,!1;{let r=e.originalStart,i=e.originalLength,s=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new io(r,i,s,o),!0}}ClipDiagonalBound(e,t,n,r){if(e>=0&&et.cwd()}}else"undefined"!=typeof process?e={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:e={get platform(){return rH?"win32":rz?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let ib=e.cwd,iy=e.env,i_=e.platform;class iC extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";let i=-1!==e.indexOf(".")?"property":"argument",s=`The "${e}" ${i} ${r} of type ${t}`;super(s+=`. Received type ${typeof n}`),this.code="ERR_INVALID_ARG_TYPE"}}function iS(e,t){if("string"!=typeof e)throw new iC(t,"string",e)}let iw="win32"===i_;function iL(e){return 47===e||92===e}function ix(e){return 47===e}function iE(e){return e>=65&&e<=90||e>=97&&e<=122}function iN(e,t,n,r){let i="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=i.lastIndexOf(n);-1===e?(i="",s=0):s=(i=i.slice(0,e)).length-1-i.lastIndexOf(n),o=u,a=0;continue}if(0!==i.length){i="",s=0,o=u,a=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",s=2)}else i.length>0?i+=`${n}${e.slice(o+1,u)}`:i=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return i}function iA(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new iC(t,"Object",e)}(t,"pathObject");let n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}let ik={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(iS(s=e[i],"path"),0===s.length)continue}else 0===t.length?s=ib():(void 0===(s=iy[`=${t}`]||ib())||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===s.charCodeAt(2))&&(s=`${t}\\`);let o=s.length,a=0,l="",u=!1,h=s.charCodeAt(0);if(1===o)iL(h)&&(a=1,u=!0);else if(iL(h)){if(u=!0,iL(s.charCodeAt(1))){let e=2,t=2;for(;e2&&iL(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(r){if(t.length>0)break}else if(n=`${s.slice(a)}\\${n}`,r=u,u&&t.length>0)break}return n=iN(n,!r,"\\",iL),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){let t;iS(e,"path");let n=e.length;if(0===n)return".";let r=0,i=!1,s=e.charCodeAt(0);if(1===n)return ix(s)?"\\":e;if(iL(s)){if(i=!0,iL(e.charCodeAt(1))){let i=2,s=2;for(;i2&&iL(e.charCodeAt(2))&&(i=!0,r=3));let o=r0&&iL(e.charCodeAt(n-1))&&(o+="\\"),void 0===t)?i?`\\${o}`:o:i?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){iS(e,"path");let t=e.length;if(0===t)return!1;let n=e.charCodeAt(0);return iL(n)||t>2&&iE(n)&&58===e.charCodeAt(1)&&iL(e.charCodeAt(2))},join(...e){let t,n;if(0===e.length)return".";for(let r=0;r0&&(void 0===t?t=n=i:t+=`\\${i}`)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&iL(n.charCodeAt(0))){++i;let e=n.length;e>1&&iL(n.charCodeAt(1))&&(++i,e>2&&(iL(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i=2&&(t=`\\${t.slice(i)}`)}return ik.normalize(t)},relative(e,t){if(iS(e,"from"),iS(t,"to"),e===t)return"";let n=ik.resolve(e),r=ik.resolve(t);if(n===r)return"";if(e=n.toLowerCase(),t=r.toLowerCase(),e===t)return"";let i=0;for(;ii&&92===e.charCodeAt(s-1);)s--;let o=s-i,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,h=oh){if(92===t.charCodeAt(a+d))return r.slice(a+d+1);if(2===d)return r.slice(a+d)}o>h&&(92===e.charCodeAt(i+d)?c=d:2===d&&(c=3)),-1===c&&(c=0)}let f="";for(d=i+c+1;d<=s;++d)(d===s||92===e.charCodeAt(d))&&(f+=0===f.length?"..":"\\..");return(a+=c,f.length>0)?`${f}${r.slice(a,l)}`:(92===r.charCodeAt(a)&&++a,r.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=ik.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(iE(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){iS(e,"path");let t=e.length;if(0===t)return".";let n=-1,r=0,i=e.charCodeAt(0);if(1===t)return iL(i)?e:".";if(iL(i)){if(n=r=1,iL(e.charCodeAt(1))){let i=2,s=2;for(;i2&&iL(e.charCodeAt(2))?3:2);let s=-1,o=!0;for(let n=t-1;n>=r;--n)if(iL(e.charCodeAt(n))){if(!o){s=n;break}}else o=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){let n;void 0!==t&&iS(t,"ext"),iS(e,"path");let r=0,i=-1,s=!0;if(e.length>=2&&iE(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){let l=e.charCodeAt(n);if(iL(l)){if(!s){r=n+1;break}}else -1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(iL(e.charCodeAt(n))){if(!s){r=n+1;break}}else -1===i&&(s=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){iS(e,"path");let t=0,n=-1,r=0,i=-1,s=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&iE(e.charCodeAt(0))&&(t=r=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(iL(t)){if(!s){r=a+1;break}continue}-1===i&&(s=!1,i=a+1),46===t?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1)}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:iA.bind(null,"\\"),parse(e){iS(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let n=e.length,r=0,i=e.charCodeAt(0);if(1===n)return iL(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(iL(i)){if(r=1,iL(e.charCodeAt(1))){let t=2,i=2;for(;t0&&(t.root=e.slice(0,r));let s=-1,o=r,a=-1,l=!0,u=e.length-1,h=0;for(;u>=r;--u){if(iL(i=e.charCodeAt(u))){if(!l){o=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===i?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1)}return -1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),o>0&&o!==r?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},iR=(()=>{if(iw){let e=/\\/g;return()=>{let t=ib().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>ib()})(),iT={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:iR();if(iS(i,"path"),0!==i.length)t=`${i}/${t}`,n=47===i.charCodeAt(0)}return(t=iN(t,!n,"/",ix),n)?`/${t}`:t.length>0?t:"."},normalize(e){if(iS(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);if(0===(e=iN(e,!t,"/",ix)).length)return t?"/":n?"./":".";return n&&(e+="/"),t?`/${e}`:e},isAbsolute:e=>(iS(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=r:t+=`/${r}`)}return void 0===t?".":iT.normalize(t)},relative(e,t){if(iS(e,"from"),iS(t,"to"),e===t)return"";if(e=iT.resolve(e),t=iT.resolve(t),e===t)return"";let n=e.length,r=n-1,i=t.length-1,s=rs){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else r>s&&(47===e.charCodeAt(1+a)?o=a:0===a&&(o=0))}let l="";for(a=1+o+1;a<=n;++a)(a===n||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(iS(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return -1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){let n;void 0!==t&&iS(t,"ext"),iS(e,"path");let r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){let l=e.charCodeAt(n);if(47===l){if(!s){r=n+1;break}}else -1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else -1===i&&(s=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){iS(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!i){n=o+1;break}continue}-1===r&&(i=!1,r=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:iA.bind(null,"/"),parse(e){let t;iS(e,"path");let n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;let r=47===e.charCodeAt(0);r?(n.root="/",t=1):t=0;let i=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){s=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===t?-1===i?i=l:1!==u&&(u=1):-1!==i&&(u=-1)}if(-1!==o){let t=0===s&&r?1:s;-1===i||0===u||1===u&&i===o-1&&i===s+1?n.base=n.name=e.slice(t,o):(n.name=e.slice(t,i),n.base=e.slice(t,o),n.ext=e.slice(i,o))}return s>0?n.dir=e.slice(0,s-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};iT.win32=ik.win32=ik,iT.posix=ik.posix=iT,iw?ik.normalize:iT.normalize,iw?ik.resolve:iT.resolve,iw?ik.relative:iT.relative,iw?ik.dirname:iT.dirname,iw?ik.basename:iT.basename,iw?ik.extname:iT.extname,iw?ik.sep:iT.sep;let iM=/^\w[\w\d+.-]*$/,iO=/^\//,iI=/^\/\//,iP="/",iF=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class iV{static isUri(e){return e instanceof iV||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,n,r,i,s=!1){if("object"==typeof e)this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||"";else{var o,a;this.scheme=(o=e,a=s,o||a?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==iP&&(t=iP+t):t=iP}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",!function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!iM.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!iO.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(iI.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,s)}}get fsPath(){return iB(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment)?this:new iq(t,n,r,i,s)}static parse(e,t=!1){let n=iF.exec(e);return n?new iq(n[2]||"",iH(n[4]||""),iH(n[5]||""),iH(n[7]||""),iH(n[9]||""),t):new iq("","","","","")}static file(e){let t="";if(rH&&(e=e.replace(/\\/g,iP)),e[0]===iP&&e[1]===iP){let n=e.indexOf(iP,2);-1===n?(t=e.substring(2),e=iP):(t=e.substring(2,n),e=e.substring(n)||iP)}return new iq("file",t,e,"","")}static from(e,t){return new iq(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){let n;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return n=rH&&"file"===e.scheme?iV.file(ik.join(iB(e,!0),...t)).path:iT.join(e.path,...t),e.with({path:n})}toString(e=!1){return i$(this,e)}toJSON(){return this}static revive(e){var t,n;if(!e)return e;if(e instanceof iV)return e;{let r=new iq(e);return r._formatted=null!==(t=e.external)&&void 0!==t?t:null,r._fsPath=e._sep===iD&&null!==(n=e.fsPath)&&void 0!==n?n:null,r}}}let iD=rH?1:void 0;class iq extends iV{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return!this._fsPath&&(this._fsPath=iB(this,!1)),this._fsPath}toString(e=!1){return e?i$(this,!0):(!this._formatted&&(this._formatted=i$(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=iD),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let iK={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function ij(e,t,n){let r;let i=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),void 0!==r&&(r+=e.charAt(s));else{void 0===r&&(r=e.substr(0,s));let t=iK[o];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=t):-1===i&&(i=s)}}return -1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function iU(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,rH&&(n=n.replace(/\//g,"\\")),n}function i$(e,t){let n=t?iU:ij,r="",{scheme:i,authority:s,path:o,query:a,fragment:l}=e;if(i&&(r+=i,r+=":"),(s||"file"===i)&&(r+=iP,r+=iP),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=":",r+=n(t.substr(e+1),!1,!0)),r+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?r+=n(s,!1,!0):(r+=n(s.substr(0,e),!1,!0),r+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=n(o,!0,!1)}return a&&(r+="?",r+=n(a,!1,!1)),l&&(r+="#",r+=t?l:ij(l,!1,!1)),r}let iW=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function iH(e){return e.match(iW)?e.replace(iW,e=>(function e(t){try{return decodeURIComponent(t)}catch(n){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class iz{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new iz(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return iz.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return iz.isBefore(this,e)}static isBefore(e,t){return!!(e.lineNumbern||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return iG.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return iG.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))&&!0}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))&&!0}containsRange(e){return iG.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))&&!0}strictContainsRange(e){return iG.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))&&!0}plusRange(e){return iG.plusRange(this,e)}static plusRange(e,t){let n,r,i,s;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,s=e.endColumn),new iG(n,r,i,s)}intersectRanges(e){return iG.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,s=e.endColumn,o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(nl?(i=l,s=u):i===l&&(s=Math.min(s,u)),n>i||n===i&&r>s)?null:new iG(n,r,i,s)}equalsRange(e){return iG.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return iG.getEndPosition(this)}static getEndPosition(e){return new iz(e.endLineNumber,e.endColumn)}getStartPosition(){return iG.getStartPosition(this)}static getStartPosition(e){return new iz(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new iG(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new iG(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return iG.collapseToStart(this)}static collapseToStart(e){return new iG(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return iG.collapseToEnd(this)}static collapseToEnd(e){return new iG(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new iG(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new iG(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new iG(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}function iJ(e,t){return(n,r)=>t(e(n),e(r))}(g=tu||(tu={})).isLessThan=function(e){return e<0},g.isLessThanOrEqual=function(e){return e<=0},g.isGreaterThan=function(e){return e>0},g.isNeitherLessOrGreaterThan=function(e){return 0===e},g.greaterThan=1,g.lessThan=-1,g.neitherLessOrGreaterThan=0;let iX=(e,t)=>e-t;class iQ{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new iQ(t=>this.iterate(n=>!e(n)||t(n)))}map(e){return new iQ(t=>this.iterate(n=>t(e(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t;let n=!0;return this.iterate(r=>((n||tu.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}}function iZ(e){return e<0?0:e>255?255:0|e}function iY(e){return e<0?0:e>0xffffffff?0xffffffff:0|e}iQ.empty=new iQ(e=>{});class i1{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=iY(e);let n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=iY(e),t=iY(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;let i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=iY(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,s=(i=this.prefixSum[r])-this.values[r],e=i)t=r+1;else break;return new i0(r,e-s)}}class i0{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class i2{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){for(let t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new iz(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r/?"){if(!(e.indexOf(n)>=0))t+="\\"+n}return RegExp(t+="\\s]+)","g")}(),i5=new rS;function i7(e,t,n,r,i){if(!i&&(i=ts.first(i5)),n.length>i.maxLen){let s=e-i.maxLen/2;return s<0?s=0:r+=s,n=n.substring(s,e+i.maxLen/2),i7(e,t,n,r,i)}let s=Date.now(),o=e-1-r,a=-1,l=null;for(let e=1;!(Date.now()-s>=i.timeBudget);e++){;let r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);let s=function(e,t,n,r){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)break}return null}(t,n,o,a);if(!s&&l)break;if(l=s,r<=0)break;a=r}if(l){let e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}i5.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class i9{constructor(e){let t=iZ(e);this._defaultValue=t,this._asciiMap=i9._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let n=iZ(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class i6{constructor(e,t,n){let r=new Uint8Array(e*t);for(let i=0,s=e*t;it&&(t=s),i>n&&(n=i),o>n&&(n=o)}t++;let r=new i6(++n,t,0);for(let t=0,n=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let i3=null;function se(){return null===i3&&(i3=new i8([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),i3}let st=null;class sn{static _createLink(e,t,n,r,i){let s=i-1;do{let n=t.charCodeAt(s);if(2!==e.get(n))break;s--}while(s>r);if(r>0){let e=t.charCodeAt(r-1),n=t.charCodeAt(s);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&s--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:s+2},url:t.substring(r,s+1)}}static computeLinks(e,t=se()){let n=function(){if(null===st){st=new i9(0);let e=" <>'\"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026";for(let t=0;t=0?((r+=n?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null}}sr.INSTANCE=new sr;let si=Object.freeze(function(e,t){let n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});(p=th||(th={})).isCancellationToken=function(e){return e===p.None||e===p.Cancelled||e instanceof ss||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},p.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:to.None}),p.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:si});class ss{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?si:(!this._emitter&&(this._emitter=new rR),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class so{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return!this._token&&(this._token=new ss),this._token}cancel(){this._token?this._token instanceof ss&&this._token.cancel():this._token=th.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof ss&&this._token.dispose():this._token=th.None}}class sa{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let sl=new sa,su=new sa,sh=new sa,sc=Array(230),sd={},sf=[],sm=Object.create(null),sg=Object.create(null),sp=[],sv=[];for(let e=0;e<=193;e++)sp[e]=-1;for(let e=0;e<=132;e++)sv[e]=-1;!function(){let e=[],t=[];for(let n of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[r,i,s,o,a,l,u,h,c]=n;if(!t[i]&&(t[i]=!0,sf[i]=s,sm[s]=i,sg[s.toLowerCase()]=i,r&&(sp[i]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(sv[o]=i))),!e[o]){if(e[o]=!0,!a)throw Error(`String representation missing for key code ${o} around scan code ${s}`);sl.define(o,a),su.define(o,h||a),sh.define(o,c||h||a)}l&&(sc[l]=o),u&&(sd[u]=o)}sv[3]=46}(),(v=tc||(tc={})).toString=function(e){return sl.keyCodeToStr(e)},v.fromString=function(e){return sl.strToKeyCode(e)},v.toUserSettingsUS=function(e){return su.keyCodeToStr(e)},v.toUserSettingsGeneral=function(e){return sh.keyCodeToStr(e)},v.fromUserSettings=function(e){return su.strToKeyCode(e)||sh.strToKeyCode(e)},v.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return sl.keyCodeToStr(e)};class sb extends iG{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return sb.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new sb(this.startLineNumber,this.startColumn,e,t):new sb(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new iz(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new iz(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new sb(e,t,this.endLineNumber,this.endColumn):new sb(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new sb(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new sb(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new sb(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new sb(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{if(this._tokenizationSupports.get(e)===t)this._tokenizationSupports.delete(e),this.handleChange([e])})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();let r=new sw(this,e,t);return this._factories.set(e,r),rb(()=>{let t=this._factories.get(e);if(!!t&&t===r)this._factories.delete(e),t.dispose()})}getOrCreate(e){return sS(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved||!1}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},(S=ty||(ty={}))[S.Unknown=0]="Unknown",S[S.Disabled=1]="Disabled",S[S.Enabled=2]="Enabled",(w=t_||(t_={}))[w.Invoke=1]="Invoke",w[w.Auto=2]="Auto",(L=tC||(tC={}))[L.None=0]="None",L[L.KeepWhitespace=1]="KeepWhitespace",L[L.InsertAsSnippet=4]="InsertAsSnippet",(x=tS||(tS={}))[x.Method=0]="Method",x[x.Function=1]="Function",x[x.Constructor=2]="Constructor",x[x.Field=3]="Field",x[x.Variable=4]="Variable",x[x.Class=5]="Class",x[x.Struct=6]="Struct",x[x.Interface=7]="Interface",x[x.Module=8]="Module",x[x.Property=9]="Property",x[x.Event=10]="Event",x[x.Operator=11]="Operator",x[x.Unit=12]="Unit",x[x.Value=13]="Value",x[x.Constant=14]="Constant",x[x.Enum=15]="Enum",x[x.EnumMember=16]="EnumMember",x[x.Keyword=17]="Keyword",x[x.Text=18]="Text",x[x.Color=19]="Color",x[x.File=20]="File",x[x.Reference=21]="Reference",x[x.Customcolor=22]="Customcolor",x[x.Folder=23]="Folder",x[x.TypeParameter=24]="TypeParameter",x[x.User=25]="User",x[x.Issue=26]="Issue",x[x.Snippet=27]="Snippet",(E=tw||(tw={}))[E.Deprecated=1]="Deprecated",(N=tL||(tL={}))[N.Invoke=0]="Invoke",N[N.TriggerCharacter=1]="TriggerCharacter",N[N.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(A=tx||(tx={}))[A.EXACT=0]="EXACT",A[A.ABOVE=1]="ABOVE",A[A.BELOW=2]="BELOW",(k=tE||(tE={}))[k.NotSet=0]="NotSet",k[k.ContentFlush=1]="ContentFlush",k[k.RecoverFromMarkers=2]="RecoverFromMarkers",k[k.Explicit=3]="Explicit",k[k.Paste=4]="Paste",k[k.Undo=5]="Undo",k[k.Redo=6]="Redo",(R=tN||(tN={}))[R.LF=1]="LF",R[R.CRLF=2]="CRLF",(T=tA||(tA={}))[T.Text=0]="Text",T[T.Read=1]="Read",T[T.Write=2]="Write",(M=tk||(tk={}))[M.None=0]="None",M[M.Keep=1]="Keep",M[M.Brackets=2]="Brackets",M[M.Advanced=3]="Advanced",M[M.Full=4]="Full",(O=tR||(tR={}))[O.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",O[O.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",O[O.accessibilitySupport=2]="accessibilitySupport",O[O.accessibilityPageSize=3]="accessibilityPageSize",O[O.ariaLabel=4]="ariaLabel",O[O.ariaRequired=5]="ariaRequired",O[O.autoClosingBrackets=6]="autoClosingBrackets",O[O.autoClosingComments=7]="autoClosingComments",O[O.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",O[O.autoClosingDelete=9]="autoClosingDelete",O[O.autoClosingOvertype=10]="autoClosingOvertype",O[O.autoClosingQuotes=11]="autoClosingQuotes",O[O.autoIndent=12]="autoIndent",O[O.automaticLayout=13]="automaticLayout",O[O.autoSurround=14]="autoSurround",O[O.bracketPairColorization=15]="bracketPairColorization",O[O.guides=16]="guides",O[O.codeLens=17]="codeLens",O[O.codeLensFontFamily=18]="codeLensFontFamily",O[O.codeLensFontSize=19]="codeLensFontSize",O[O.colorDecorators=20]="colorDecorators",O[O.colorDecoratorsLimit=21]="colorDecoratorsLimit",O[O.columnSelection=22]="columnSelection",O[O.comments=23]="comments",O[O.contextmenu=24]="contextmenu",O[O.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",O[O.cursorBlinking=26]="cursorBlinking",O[O.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",O[O.cursorStyle=28]="cursorStyle",O[O.cursorSurroundingLines=29]="cursorSurroundingLines",O[O.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",O[O.cursorWidth=31]="cursorWidth",O[O.disableLayerHinting=32]="disableLayerHinting",O[O.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",O[O.domReadOnly=34]="domReadOnly",O[O.dragAndDrop=35]="dragAndDrop",O[O.dropIntoEditor=36]="dropIntoEditor",O[O.emptySelectionClipboard=37]="emptySelectionClipboard",O[O.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",O[O.extraEditorClassName=39]="extraEditorClassName",O[O.fastScrollSensitivity=40]="fastScrollSensitivity",O[O.find=41]="find",O[O.fixedOverflowWidgets=42]="fixedOverflowWidgets",O[O.folding=43]="folding",O[O.foldingStrategy=44]="foldingStrategy",O[O.foldingHighlight=45]="foldingHighlight",O[O.foldingImportsByDefault=46]="foldingImportsByDefault",O[O.foldingMaximumRegions=47]="foldingMaximumRegions",O[O.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",O[O.fontFamily=49]="fontFamily",O[O.fontInfo=50]="fontInfo",O[O.fontLigatures=51]="fontLigatures",O[O.fontSize=52]="fontSize",O[O.fontWeight=53]="fontWeight",O[O.fontVariations=54]="fontVariations",O[O.formatOnPaste=55]="formatOnPaste",O[O.formatOnType=56]="formatOnType",O[O.glyphMargin=57]="glyphMargin",O[O.gotoLocation=58]="gotoLocation",O[O.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",O[O.hover=60]="hover",O[O.inDiffEditor=61]="inDiffEditor",O[O.inlineSuggest=62]="inlineSuggest",O[O.letterSpacing=63]="letterSpacing",O[O.lightbulb=64]="lightbulb",O[O.lineDecorationsWidth=65]="lineDecorationsWidth",O[O.lineHeight=66]="lineHeight",O[O.lineNumbers=67]="lineNumbers",O[O.lineNumbersMinChars=68]="lineNumbersMinChars",O[O.linkedEditing=69]="linkedEditing",O[O.links=70]="links",O[O.matchBrackets=71]="matchBrackets",O[O.minimap=72]="minimap",O[O.mouseStyle=73]="mouseStyle",O[O.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",O[O.mouseWheelZoom=75]="mouseWheelZoom",O[O.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",O[O.multiCursorModifier=77]="multiCursorModifier",O[O.multiCursorPaste=78]="multiCursorPaste",O[O.multiCursorLimit=79]="multiCursorLimit",O[O.occurrencesHighlight=80]="occurrencesHighlight",O[O.overviewRulerBorder=81]="overviewRulerBorder",O[O.overviewRulerLanes=82]="overviewRulerLanes",O[O.padding=83]="padding",O[O.pasteAs=84]="pasteAs",O[O.parameterHints=85]="parameterHints",O[O.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",O[O.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",O[O.quickSuggestions=88]="quickSuggestions",O[O.quickSuggestionsDelay=89]="quickSuggestionsDelay",O[O.readOnly=90]="readOnly",O[O.readOnlyMessage=91]="readOnlyMessage",O[O.renameOnType=92]="renameOnType",O[O.renderControlCharacters=93]="renderControlCharacters",O[O.renderFinalNewline=94]="renderFinalNewline",O[O.renderLineHighlight=95]="renderLineHighlight",O[O.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",O[O.renderValidationDecorations=97]="renderValidationDecorations",O[O.renderWhitespace=98]="renderWhitespace",O[O.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",O[O.roundedSelection=100]="roundedSelection",O[O.rulers=101]="rulers",O[O.scrollbar=102]="scrollbar",O[O.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",O[O.scrollBeyondLastLine=104]="scrollBeyondLastLine",O[O.scrollPredominantAxis=105]="scrollPredominantAxis",O[O.selectionClipboard=106]="selectionClipboard",O[O.selectionHighlight=107]="selectionHighlight",O[O.selectOnLineNumbers=108]="selectOnLineNumbers",O[O.showFoldingControls=109]="showFoldingControls",O[O.showUnused=110]="showUnused",O[O.snippetSuggestions=111]="snippetSuggestions",O[O.smartSelect=112]="smartSelect",O[O.smoothScrolling=113]="smoothScrolling",O[O.stickyScroll=114]="stickyScroll",O[O.stickyTabStops=115]="stickyTabStops",O[O.stopRenderingLineAfter=116]="stopRenderingLineAfter",O[O.suggest=117]="suggest",O[O.suggestFontSize=118]="suggestFontSize",O[O.suggestLineHeight=119]="suggestLineHeight",O[O.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",O[O.suggestSelection=121]="suggestSelection",O[O.tabCompletion=122]="tabCompletion",O[O.tabIndex=123]="tabIndex",O[O.unicodeHighlighting=124]="unicodeHighlighting",O[O.unusualLineTerminators=125]="unusualLineTerminators",O[O.useShadowDOM=126]="useShadowDOM",O[O.useTabStops=127]="useTabStops",O[O.wordBreak=128]="wordBreak",O[O.wordSeparators=129]="wordSeparators",O[O.wordWrap=130]="wordWrap",O[O.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",O[O.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",O[O.wordWrapColumn=133]="wordWrapColumn",O[O.wordWrapOverride1=134]="wordWrapOverride1",O[O.wordWrapOverride2=135]="wordWrapOverride2",O[O.wrappingIndent=136]="wrappingIndent",O[O.wrappingStrategy=137]="wrappingStrategy",O[O.showDeprecated=138]="showDeprecated",O[O.inlayHints=139]="inlayHints",O[O.editorClassName=140]="editorClassName",O[O.pixelRatio=141]="pixelRatio",O[O.tabFocusMode=142]="tabFocusMode",O[O.layoutInfo=143]="layoutInfo",O[O.wrappingInfo=144]="wrappingInfo",O[O.defaultColorDecorators=145]="defaultColorDecorators",O[O.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",O[O.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose",(I=tT||(tT={}))[I.TextDefined=0]="TextDefined",I[I.LF=1]="LF",I[I.CRLF=2]="CRLF",(P=tM||(tM={}))[P.LF=0]="LF",P[P.CRLF=1]="CRLF",(F=tO||(tO={}))[F.Left=1]="Left",F[F.Right=2]="Right",(V=tI||(tI={}))[V.None=0]="None",V[V.Indent=1]="Indent",V[V.IndentOutdent=2]="IndentOutdent",V[V.Outdent=3]="Outdent",(D=tP||(tP={}))[D.Both=0]="Both",D[D.Right=1]="Right",D[D.Left=2]="Left",D[D.None=3]="None",(q=tF||(tF={}))[q.Type=1]="Type",q[q.Parameter=2]="Parameter",(K=tV||(tV={}))[K.Automatic=0]="Automatic",K[K.Explicit=1]="Explicit",(j=tD||(tD={}))[j.DependsOnKbLayout=-1]="DependsOnKbLayout",j[j.Unknown=0]="Unknown",j[j.Backspace=1]="Backspace",j[j.Tab=2]="Tab",j[j.Enter=3]="Enter",j[j.Shift=4]="Shift",j[j.Ctrl=5]="Ctrl",j[j.Alt=6]="Alt",j[j.PauseBreak=7]="PauseBreak",j[j.CapsLock=8]="CapsLock",j[j.Escape=9]="Escape",j[j.Space=10]="Space",j[j.PageUp=11]="PageUp",j[j.PageDown=12]="PageDown",j[j.End=13]="End",j[j.Home=14]="Home",j[j.LeftArrow=15]="LeftArrow",j[j.UpArrow=16]="UpArrow",j[j.RightArrow=17]="RightArrow",j[j.DownArrow=18]="DownArrow",j[j.Insert=19]="Insert",j[j.Delete=20]="Delete",j[j.Digit0=21]="Digit0",j[j.Digit1=22]="Digit1",j[j.Digit2=23]="Digit2",j[j.Digit3=24]="Digit3",j[j.Digit4=25]="Digit4",j[j.Digit5=26]="Digit5",j[j.Digit6=27]="Digit6",j[j.Digit7=28]="Digit7",j[j.Digit8=29]="Digit8",j[j.Digit9=30]="Digit9",j[j.KeyA=31]="KeyA",j[j.KeyB=32]="KeyB",j[j.KeyC=33]="KeyC",j[j.KeyD=34]="KeyD",j[j.KeyE=35]="KeyE",j[j.KeyF=36]="KeyF",j[j.KeyG=37]="KeyG",j[j.KeyH=38]="KeyH",j[j.KeyI=39]="KeyI",j[j.KeyJ=40]="KeyJ",j[j.KeyK=41]="KeyK",j[j.KeyL=42]="KeyL",j[j.KeyM=43]="KeyM",j[j.KeyN=44]="KeyN",j[j.KeyO=45]="KeyO",j[j.KeyP=46]="KeyP",j[j.KeyQ=47]="KeyQ",j[j.KeyR=48]="KeyR",j[j.KeyS=49]="KeyS",j[j.KeyT=50]="KeyT",j[j.KeyU=51]="KeyU",j[j.KeyV=52]="KeyV",j[j.KeyW=53]="KeyW",j[j.KeyX=54]="KeyX",j[j.KeyY=55]="KeyY",j[j.KeyZ=56]="KeyZ",j[j.Meta=57]="Meta",j[j.ContextMenu=58]="ContextMenu",j[j.F1=59]="F1",j[j.F2=60]="F2",j[j.F3=61]="F3",j[j.F4=62]="F4",j[j.F5=63]="F5",j[j.F6=64]="F6",j[j.F7=65]="F7",j[j.F8=66]="F8",j[j.F9=67]="F9",j[j.F10=68]="F10",j[j.F11=69]="F11",j[j.F12=70]="F12",j[j.F13=71]="F13",j[j.F14=72]="F14",j[j.F15=73]="F15",j[j.F16=74]="F16",j[j.F17=75]="F17",j[j.F18=76]="F18",j[j.F19=77]="F19",j[j.F20=78]="F20",j[j.F21=79]="F21",j[j.F22=80]="F22",j[j.F23=81]="F23",j[j.F24=82]="F24",j[j.NumLock=83]="NumLock",j[j.ScrollLock=84]="ScrollLock",j[j.Semicolon=85]="Semicolon",j[j.Equal=86]="Equal",j[j.Comma=87]="Comma",j[j.Minus=88]="Minus",j[j.Period=89]="Period",j[j.Slash=90]="Slash",j[j.Backquote=91]="Backquote",j[j.BracketLeft=92]="BracketLeft",j[j.Backslash=93]="Backslash",j[j.BracketRight=94]="BracketRight",j[j.Quote=95]="Quote",j[j.OEM_8=96]="OEM_8",j[j.IntlBackslash=97]="IntlBackslash",j[j.Numpad0=98]="Numpad0",j[j.Numpad1=99]="Numpad1",j[j.Numpad2=100]="Numpad2",j[j.Numpad3=101]="Numpad3",j[j.Numpad4=102]="Numpad4",j[j.Numpad5=103]="Numpad5",j[j.Numpad6=104]="Numpad6",j[j.Numpad7=105]="Numpad7",j[j.Numpad8=106]="Numpad8",j[j.Numpad9=107]="Numpad9",j[j.NumpadMultiply=108]="NumpadMultiply",j[j.NumpadAdd=109]="NumpadAdd",j[j.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",j[j.NumpadSubtract=111]="NumpadSubtract",j[j.NumpadDecimal=112]="NumpadDecimal",j[j.NumpadDivide=113]="NumpadDivide",j[j.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",j[j.ABNT_C1=115]="ABNT_C1",j[j.ABNT_C2=116]="ABNT_C2",j[j.AudioVolumeMute=117]="AudioVolumeMute",j[j.AudioVolumeUp=118]="AudioVolumeUp",j[j.AudioVolumeDown=119]="AudioVolumeDown",j[j.BrowserSearch=120]="BrowserSearch",j[j.BrowserHome=121]="BrowserHome",j[j.BrowserBack=122]="BrowserBack",j[j.BrowserForward=123]="BrowserForward",j[j.MediaTrackNext=124]="MediaTrackNext",j[j.MediaTrackPrevious=125]="MediaTrackPrevious",j[j.MediaStop=126]="MediaStop",j[j.MediaPlayPause=127]="MediaPlayPause",j[j.LaunchMediaPlayer=128]="LaunchMediaPlayer",j[j.LaunchMail=129]="LaunchMail",j[j.LaunchApp2=130]="LaunchApp2",j[j.Clear=131]="Clear",j[j.MAX_VALUE=132]="MAX_VALUE",(U=tq||(tq={}))[U.Hint=1]="Hint",U[U.Info=2]="Info",U[U.Warning=4]="Warning",U[U.Error=8]="Error",(B=tK||(tK={}))[B.Unnecessary=1]="Unnecessary",B[B.Deprecated=2]="Deprecated",($=tj||(tj={}))[$.Inline=1]="Inline",$[$.Gutter=2]="Gutter",(W=tU||(tU={}))[W.UNKNOWN=0]="UNKNOWN",W[W.TEXTAREA=1]="TEXTAREA",W[W.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",W[W.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",W[W.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",W[W.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",W[W.CONTENT_TEXT=6]="CONTENT_TEXT",W[W.CONTENT_EMPTY=7]="CONTENT_EMPTY",W[W.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",W[W.CONTENT_WIDGET=9]="CONTENT_WIDGET",W[W.OVERVIEW_RULER=10]="OVERVIEW_RULER",W[W.SCROLLBAR=11]="SCROLLBAR",W[W.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",W[W.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(H=tB||(tB={}))[H.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",H[H.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",H[H.TOP_CENTER=2]="TOP_CENTER",(z=t$||(t$={}))[z.Left=1]="Left",z[z.Center=2]="Center",z[z.Right=4]="Right",z[z.Full=7]="Full",(G=tW||(tW={}))[G.Left=0]="Left",G[G.Right=1]="Right",G[G.None=2]="None",G[G.LeftOfInjectedText=3]="LeftOfInjectedText",G[G.RightOfInjectedText=4]="RightOfInjectedText",(J=tH||(tH={}))[J.Off=0]="Off",J[J.On=1]="On",J[J.Relative=2]="Relative",J[J.Interval=3]="Interval",J[J.Custom=4]="Custom",(X=tz||(tz={}))[X.None=0]="None",X[X.Text=1]="Text",X[X.Blocks=2]="Blocks",(Q=tG||(tG={}))[Q.Smooth=0]="Smooth",Q[Q.Immediate=1]="Immediate",(Z=tJ||(tJ={}))[Z.Auto=1]="Auto",Z[Z.Hidden=2]="Hidden",Z[Z.Visible=3]="Visible",(Y=tX||(tX={}))[Y.LTR=0]="LTR",Y[Y.RTL=1]="RTL",(ee=tQ||(tQ={}))[ee.Invoke=1]="Invoke",ee[ee.TriggerCharacter=2]="TriggerCharacter",ee[ee.ContentChange=3]="ContentChange",(et=tZ||(tZ={}))[et.File=0]="File",et[et.Module=1]="Module",et[et.Namespace=2]="Namespace",et[et.Package=3]="Package",et[et.Class=4]="Class",et[et.Method=5]="Method",et[et.Property=6]="Property",et[et.Field=7]="Field",et[et.Constructor=8]="Constructor",et[et.Enum=9]="Enum",et[et.Interface=10]="Interface",et[et.Function=11]="Function",et[et.Variable=12]="Variable",et[et.Constant=13]="Constant",et[et.String=14]="String",et[et.Number=15]="Number",et[et.Boolean=16]="Boolean",et[et.Array=17]="Array",et[et.Object=18]="Object",et[et.Key=19]="Key",et[et.Null=20]="Null",et[et.EnumMember=21]="EnumMember",et[et.Struct=22]="Struct",et[et.Event=23]="Event",et[et.Operator=24]="Operator",et[et.TypeParameter=25]="TypeParameter",(en=tY||(tY={}))[en.Deprecated=1]="Deprecated",(er=t1||(t1={}))[er.Hidden=0]="Hidden",er[er.Blink=1]="Blink",er[er.Smooth=2]="Smooth",er[er.Phase=3]="Phase",er[er.Expand=4]="Expand",er[er.Solid=5]="Solid",(ei=t0||(t0={}))[ei.Line=1]="Line",ei[ei.Block=2]="Block",ei[ei.Underline=3]="Underline",ei[ei.LineThin=4]="LineThin",ei[ei.BlockOutline=5]="BlockOutline",ei[ei.UnderlineThin=6]="UnderlineThin",(es=t2||(t2={}))[es.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",es[es.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",es[es.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",es[es.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eo=t4||(t4={}))[eo.None=0]="None",eo[eo.Same=1]="Same",eo[eo.Indent=2]="Indent",eo[eo.DeepIndent=3]="DeepIndent";class sE{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}sE.CtrlCmd=2048,sE.Shift=1024,sE.Alt=512,sE.WinCtrl=256;class sN extends i9{constructor(e){super(0);for(let t=0,n=e.length;t(!t.hasOwnProperty(n)&&(t[n]=e(n)),t[n])}(e=>new sN(e)),(ea=t5||(t5={}))[ea.Left=1]="Left",ea[ea.Center=2]="Center",ea[ea.Right=4]="Right",ea[ea.Full=7]="Full",(el=t7||(t7={}))[el.Left=1]="Left",el[el.Right=2]="Right",(eu=t9||(t9={}))[eu.Inline=1]="Inline",eu[eu.Gutter=2]="Gutter",(eh=t6||(t6={}))[eh.Both=0]="Both",eh[eh.Right=1]="Right",eh[eh.Left=2]="Left",eh[eh.None=3]="None";class sA{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let n=e.length;do{var r,i,s,o,a;if(this._prevMatchStartIndex+this._prevMatchLength===n||!(t=this._searchRegex.exec(e)))break;let l=t.index,u=t[0].length;if(l===this._prevMatchStartIndex&&u===this._prevMatchLength){if(0===u){(function(e,t,n){let r=e.charCodeAt(n);if(rY(r)&&n+165535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=l,this._prevMatchLength=u,!this._wordSeparators||(r=this._wordSeparators,i=e,s=n,function(e,t,n,r,i){if(0===r)return!0;let s=t.charCodeAt(r-1);if(0!==e.get(s)||13===s||10===s)return!0;if(i>0){let n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}(r,i,0,o=l,a=u)&&function(e,t,n,r,i){if(r+i===n)return!0;let s=t.charCodeAt(r+i);if(0!==e.get(s)||13===s||10===s)return!0;if(i>0){let n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}(r,i,s,o,a)))return t}while(t);return null}}function sk(e){!e()&&(e(),ra(new rd("Assertion Failed")))}function sR(e,t){let n=0;for(;nString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`}(Array.from(l))}`,"g")),h=[],c=!1,d=0,f=0,m=0;e:for(let t=s;t<=o;t++){let n=e.getLineContent(t),r=n.length;u.reset(0);do if(i=u.next(n)){let e=i.index,s=i.index+i[0].length;e>0&&rY(n.charCodeAt(e-1))&&e--,s+1=1e3){c=!0;break e}h.push(new iG(t,e+1,t,s+1))}}while(i)}return{ranges:h,hasMore:c,ambiguousCharacterCount:d,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let n=new sM(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),s=r5.getLocales().filter(e=>!r5.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class sM{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=r5.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of r7.codePoints)!sO(String.fromCodePoint(t))&&e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(let e of t){var s;let t=e.codePointAt(0);let n=(s=e,r2.test(s));r=r||n,!n&&!this.ambiguousCharacters.isAmbiguous(t)&&!r7.isInvisibleCharacter(t)&&(i=!0)}return!r&&i?0:this.options.invisibleCharacters&&!sO(e)&&r7.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function sO(e){return" "===e||"\n"===e||" "===e}class sI{constructor(e,t,n){this.changes=e,this.moves=t,this.hitTimeout=n}}class sP{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class sF{static addRange(e,t){let n=0;for(;nt))return new sF(e,t)}static ofLength(e){return new sF(0,e)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new rd(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new sF(this.start+e,this.endExclusive+e)}deltaStart(e){return new sF(this.start+e,this.endExclusive)}deltaEnd(e){return new sF(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tt)throw new rd(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),n=sD(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===n)this._normalizedRanges.splice(t,0,e);else if(t===n-1){let n=this._normalizedRanges[t];this._normalizedRanges[t]=n.join(e)}else{let r=this._normalizedRanges[t].join(this._normalizedRanges[n-1]).join(e);this._normalizedRanges.splice(t,n-t,r)}}contains(e){let t=sV(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],n=0,r=0,i=null;for(;n=s.startLineNumber?i=new sj(i.startLineNumber,Math.max(i.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(i),i=s)}return null!==i&&t.push(i),new sU(t)}subtractFrom(e){let t=sq(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),n=sD(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===n)return new sU([e]);let r=[],i=e.startLineNumber;for(let e=t;ei&&r.push(new sj(i,t.startLineNumber)),i=t.endLineNumberExclusive}return ie.toString()).join(", ")}getIntersection(e){let t=[],n=0,r=0;for(;nt.delta(e)))}}class sB{static inverse(e,t,n){let r=[],i=1,s=1;for(let t of e){let e=new s$(new sj(i,t.original.startLineNumber),new sj(s,t.modified.startLineNumber),void 0);!e.modified.isEmpty&&r.push(e),i=t.original.endLineNumberExclusive,s=t.modified.endLineNumberExclusive}let o=new s$(new sj(i,t+1),new sj(s,n+1),void 0);return!o.modified.isEmpty&&r.push(o),r}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new sB(this.modified,this.original)}join(e){return new sB(this.original.join(e.original),this.modified.join(e.modified))}}class s$ extends sB{constructor(e,t,n){super(e,t),this.innerChanges=n}flip(){var e;return new s$(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}}class sW{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new sW(this.modifiedRange,this.originalRange)}}class sH{computeDiff(e,t,n){var r;let i=new sZ(e,t,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),s=[],o=null;for(let e of i.changes){let t,n;t=0===e.originalEndLineNumber?new sj(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new sj(e.originalStartLineNumber,e.originalEndLineNumber+1);let i=new s$(t,n=0===e.modifiedEndLineNumber?new sj(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new sj(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1),null===(r=e.charChanges)||void 0===r?void 0:r.map(e=>new sW(new iG(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new iG(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));o&&(o.modified.endLineNumberExclusive===i.modified.startLineNumber||o.original.endLineNumberExclusive===i.original.startLineNumber)&&(i=new s$(o.original.join(i.original),o.modified.join(i.modified),o.innerChanges&&i.innerChanges?o.innerChanges.concat(i.innerChanges):void 0),s.pop()),s.push(i),o=i}return sk(()=>sR(s,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class sX{constructor(e,t,n,r,i,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),u=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1);return new sX(r,i,s,o,a,l,u,n.getEndColumn(e.modifiedStart+e.modifiedLength-1))}}class sQ{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,s,o){let a,l,u,h,c;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=r.getStartLineNumber(t.modifiedStart)-1,h=0):(u=r.getStartLineNumber(t.modifiedStart),h=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){let s=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=sz(s,a,i,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],n=t[0];for(let r=1,i=e.length;rMath.min(s,i.modifiedStart-(n.modifiedStart+n.modifiedLength))?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(e)),c=[];for(let t=0,n=e.length;t1&&o>1;){let r=e.charCodeAt(n-2);if(r!==t.charCodeAt(o-2))break;n--,o--}(n>1||o>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,s+1,1,o)}{let n=s1(e,1),o=s1(t,1),a=e.length+1,l=t.length+1;for(;n=0;n--){let t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return -1}(e);return -1===n?t:n+2}function s0(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-t{n.push(s4.fromOffsetPairs(e?e.getEndExclusives():s5.zero,r?r.getStarts():new s5(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),n}static fromOffsetPairs(e,t){return new s4(new sF(e.offset1,t.offset1),new sF(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new s4(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new s4(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new s4(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new s4(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new s4(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),n=this.seq2Range.intersect(e.seq2Range);if(!!t&&!!n)return new s4(t,n)}getStarts(){return new s5(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new s5(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class s5{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}}s5.zero=new s5(0,0),s5.max=new s5(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class s7{isValid(){return!0}}s7.instance=new s7;class s9{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new rd("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&l>0&&3===s.get(a-1,l-1)&&(u+=o.get(a-1,l-1)),u+=r?r(a,l):1):u=-1;let d=Math.max(h,c,u);if(d===u){let e=a>0&&l>0?o.get(a-1,l-1):0;o.set(a,l,e+1),s.set(a,l,3)}else d===h?(o.set(a,l,0),s.set(a,l,1)):d===c&&(o.set(a,l,0),s.set(a,l,2));i.set(a,l,d)}let a=[],l=e.length,u=t.length;function h(e,t){(e+1!==l||t+1!==u)&&a.push(new s4(new sF(e+1,l),new sF(t+1,u))),l=e,u=t}let c=e.length-1,d=t.length-1;for(;c>=0&&d>=0;)3===s.get(c,d)?(h(c,d),c--,d--):1===s.get(c,d)?c--:d--;return h(-1,-1),a.reverse(),new s2(a,!1)}}class ot{compute(e,t,n=s7.instance){if(0===e.length||0===t.length)return s2.trivial(e,t);function r(n,r){for(;ne.length||d>t.length)continue;let f=r(c,d);s.set(a,f);let m=c===i?o.get(a+1):o.get(a-1);if(o.set(a,f!==c?new on(m,c,d,f-c):m),s.get(a)===e.length&&s.get(a)-a===t.length)break t}}let l=o.get(a),u=[],h=e.length,c=t.length;for(;;){let e=l?l.x+l.length:0,t=l?l.y+l.length:0;if((e!==h||t!==c)&&u.push(new s4(new sF(e,h),new sF(t,c))),!l)break;h=l.x,c=l.y,l=l.prev}return u.reverse(),new s2(u,!1)}}class on{constructor(e,t,n,r){this.prev=e,this.x=t,this.y=n,this.length=r}}class or{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class oi{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class os{constructor(e,t){this.uri=e,this.value=t}}class oo{constructor(e,t){if(this[t8]="ResourceMap",e instanceof oo)this.map=new Map(e.map),this.toKey=null!=t?t:oo.defaultToKey;else{if(Array.isArray(e))for(let[n,r]of(this.map=new Map,this.toKey=null!=t?t:oo.defaultToKey,e))this.set(n,r);else this.map=new Map,this.toKey=null!=e?e:oo.defaultToKey}}set(e,t){return this.map.set(this.toKey(e),new os(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[n,r]of(void 0!==t&&(e=e.bind(t)),this.map))e(r.value,r.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(t8=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}oo.defaultToKey=e=>e.toString(),t3=Symbol.toStringTag,Symbol.iterator;class oa{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);!n&&(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){let n=this.map.get(e);if(!!n)n.delete(t),0===n.size&&this.map.delete(e)}forEach(e,t){let n=this.map.get(e);if(!!n)n.forEach(t)}get(e){let t=this.map.get(e);return t?t:new Set}}class ol{constructor(e,t,n){this.lines=e,this.considerWhitespaceChanges=n,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let r=!1;t.start>0&&t.endExclusive>=e.length&&(t=new sF(t.start-1,t.endExclusive),r=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=od(e>0?this.elements[e-1]:-1),n=od(et<=e);return new iz(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return iG.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!ou(this.elements[e]))return;let t=e;for(;t>0&&ou(this.elements[t-1]);)t--;let n=e;for(;nt<=e.start))&&void 0!==t?t:0;return new sF(r,null!==(n=function(e,t){let n=sq(e,t);return n===e.length?void 0:e[n]}(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==n?n:this.elements.length)}}function ou(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let oh={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function oc(e){return oh[e]}function od(e){if(10===e)return 7;if(13===e)return 6;if(s8(e))return 5;else if(e>=97&&e<=122)return 0;else if(e>=65&&e<=90)return 1;else if(e>=48&&e<=57)return 2;else if(-1===e)return 3;else return 4}function of(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let r=new ot().compute(new ol([e],new sF(0,1),!1),new ol([t],new sF(0,1),!1),n),i=0;for(let t of s4.invert(r.diffs,e.length))t.seq1Range.forEach(t=>{!s8(e.charCodeAt(t))&&i++});let s=function(t){let n=0;for(let r=0;rt.length?e:t);return i/s>.6&&s>10}function om(e,t,n){let r=n;return r=function(e,t,n){if(0===n.length)return n;let r=[];r.push(n[0]);for(let i=1;i0&&(o=o.delta(i))}i.push(o)}return r.length>0&&i.push(r[r.length-1]),i}(e,t,r),r=function(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r0?n[r-1]:void 0,s=n[r],o=r+1=r.start&&e.seq2Range.start-s>=i.start&&n.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=u,a=r)}return e.delta(a)}class op{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:ov(this.lines[e-1]);return 1e3-(t+(e===this.lines.length?0:ov(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function ov(e){let t=0;for(;te===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;re===t))return new sI([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new sI([new s$(new sj(1,e.length+1),new sj(1,t.length+1),[new sW(new iG(1,1,e.length,e[0].length+1),new iG(1,1,t.length,t[0].length+1))])],[],!1);let r=0===n.maxComputationTimeMs?s7.instance:new s9(n.maxComputationTimeMs),i=!n.ignoreTrimWhitespace,s=new Map;function o(e){let t=s.get(e);return void 0===t&&(t=s.size,s.set(e,t)),t}let a=e.map(e=>o(e.trim())),l=t.map(e=>o(e.trim())),u=new op(a,e),h=new op(l,t),c=(()=>u.length+h.length<1700?this.dynamicProgrammingDiffing.compute(u,h,r,(n,r)=>e[n]===t[r]?0===t[r].length?.1:1+Math.log(1+t[r].length):.99):this.myersDiffingAlgorithm.compute(u,h))(),d=c.diffs,f=c.hitTimeout;d=om(u,h,d),d=function(e,t,n){let r,i=n;if(0===i.length)return i;let s=0;do{r=!1;let t=[i[0]];for(let n=1;n5)||!!(n.seq1Range.length+n.seq2Range.length>5))||!1})(o,s)?(r=!0,t[t.length-1]=t[t.length-1].join(s)):t.push(s)}i=t}while(s++<10&&r);return i}(u,0,d);let m=[],g=n=>{if(!!i)for(let s=0;sn.seq1Range.start-p==n.seq2Range.start-v),g(n.seq1Range.start-p),p=n.seq1Range.endExclusive,v=n.seq2Range.endExclusive;let s=this.refineDiff(e,t,n,r,i);for(let e of(s.hitTimeout&&(f=!0),s.mappings))m.push(e)}g(e.length-p);let b=oy(m,e,t),y=[];return n.computeMoves&&(y=this.computeMoves(b,e,t,a,l,r,i)),sk(()=>{function n(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let n=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>n.length+1)&&!0}function r(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)&&!0}for(let i of b){if(!i.innerChanges)return!1;for(let r of i.innerChanges)if(!(n(r.modifiedRange.getStartPosition(),t)&&n(r.modifiedRange.getEndPosition(),t)&&n(r.originalRange.getStartPosition(),e)&&n(r.originalRange.getEndPosition(),e)))return!1;if(!r(i.modified,t)||!r(i.original,e))return!1}return!0}),new sI(b,y,f)}computeMoves(e,t,n,r,i,s,o){return(function(e,t,n,r,i,s){let{moves:o,excludedChanges:a}=function(e,t,n,r){let i=[],s=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new s3(e.original,t,e)),o=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new s3(e.modified,n,e))),a=new Set;for(let e of s){let t,n=-1;for(let r of o){let i=e.computeSimilarity(r);i>n&&(n=i,t=r)}if(n>.9&&t&&(o.delete(t),i.push(new sB(e.range,t.range)),a.add(e.source),a.add(t.source)),!r.isValid())break}return{moves:i,excludedChanges:a}}(e,t,n,s);return s.isValid()?(!function(e,t){for(let n of t)e.push(n)}(o,function(e,t,n,r,i,s){var o;let a=[],l=new oa;for(let n of e)for(let e=n.original.startLineNumber;ee.modified.startLineNumber,iX)),e)){let e=[];for(let r=t.modified.startLineNumber;r{for(let n of e)if(n.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&n.modifiedLineRange.endLineNumberExclusive+1===i.endLineNumberExclusive){n.originalLineRange=new sj(n.originalLineRange.startLineNumber,t.endLineNumberExclusive),n.modifiedLineRange=new sj(n.modifiedLineRange.startLineNumber,i.endLineNumberExclusive),s.push(n);return}let n={modifiedLineRange:i,originalLineRange:t};u.push(n),s.push(n)}),e=s}if(!s.isValid())return[]}u.sort((o=iJ(e=>e.modifiedLineRange.length,iX),(e,t)=>-o(e,t)));let h=new sU,c=new sU;for(let e of u){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,n=h.subtractFrom(e.modifiedLineRange),r=c.subtractFrom(e.originalLineRange).getWithDelta(t);for(let e of n.getIntersection(r).ranges){if(e.length<3)continue;let n=e.delta(-t);a.push(new sB(n,e)),h.addRange(e),c.addRange(n)}}a.sort(iJ(e=>e.original.startLineNumber,iX));let d=new sK(e);for(let t=0;te.original.startLineNumber<=l.original.startLineNumber),f=sV(e,e=>e.modified.startLineNumber<=l.modified.startLineNumber),m=Math.max(l.original.startLineNumber-u.original.startLineNumber,l.modified.startLineNumber-f.modified.startLineNumber),g=d.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumberr.length||t>i.length||h.contains(t)||c.contains(e)||!of(r[e-1],i[t-1],s))break}for(n>0&&(c.addRange(new sj(l.original.startLineNumber-n,l.original.startLineNumber)),h.addRange(new sj(l.modified.startLineNumber-n,l.modified.startLineNumber))),o=0;or.length||t>i.length||h.contains(t)||c.contains(e)||!of(r[e-1],i[t-1],s))break}o>0&&(c.addRange(new sj(l.original.endLineNumberExclusive,l.original.endLineNumberExclusive+o)),h.addRange(new sj(l.modified.endLineNumberExclusive,l.modified.endLineNumberExclusive+o))),(n>0||o>0)&&(a[t]=new sB(new sj(l.original.startLineNumber-n,l.original.endLineNumberExclusive+o),new sj(l.modified.startLineNumber-n,l.modified.endLineNumberExclusive+o)))}return a}(e.filter(e=>!a.has(e)),r,i,t,n,s)),o=function(e,t){let n=new sK(e);return t=t.filter(t=>{let r=n.findLastMonotonous(e=>e.original.endLineNumberExclusivee.modified.endLineNumberExclusivee.original.startLineNumber,iX));let t=[e[0]];for(let n=1;n=0&&o>=0&&s+o<=2){t[t.length-1]=r.join(i);continue}t.push(i)}return t}(o)).filter(e=>e.original.toOffsetRange().slice(t).map(e=>e.trim()).join("\n").length>=10))):[]})(e,t,n,r,i,s).map(e=>{let r=oy(this.refineDiff(t,n,new s4(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o).mappings,t,n,!0);return new sP(e,r)})}refineDiff(e,t,n,r,i){let s=new ol(e,n.seq1Range,i),o=new ol(t,n.seq2Range,i),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,r):this.myersDiffingAlgorithm.compute(s,o,r),l=a.diffs;return l=om(s,o,l),l=function(e,t,n){let r=[];for(let e of n){let t=r[r.length-1];if(!t){r.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?r[r.length-1]=new s4(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):r.push(e)}return r}(0,0,l=function(e,t,n){let r,i=[];function s(){if(!r)return;let e=r.s1Range.length-r.deleted;r.s2Range.length,r.added,Math.max(r.deleted,r.added)+(r.count-1)>e&&i.push(new s4(r.s1Range,r.s2Range)),r=void 0}for(let i of n){function o(e,t){var n,o,a,l;if(!r||!r.s1Range.containsRange(e)||!r.s2Range.containsRange(t)){if(r&&!(r.s1Range.endExclusive0||t.length>0;){let r;let i=e[0],s=t[0];r=i&&(!s||i.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=r.seq1Range.start?n[n.length-1]=n[n.length-1].join(r):n.push(r)}return n}(n,i)}(s,o,l)),{mappings:(l=function(e,t,n){let r,i=n;if(0===i.length)return i;let s=0;do{r=!1;let n=[i[0]];for(let s=1;s5||i.length>500)return!1;let s=e.getText(i).trim();if(s.length>20||s.split(/\r\n|\r|\n/).length>1)return!1;let l=e.countLinesIn(n.seq1Range),u=n.seq1Range.length,h=t.countLinesIn(n.seq2Range),c=n.seq2Range.length,d=e.countLinesIn(r.seq1Range),f=r.seq1Range.length,m=t.countLinesIn(r.seq2Range),g=r.seq2Range.length;function p(e){return Math.min(e,130)}return!!(Math.pow(Math.pow(p(40*l+u),1.5)+Math.pow(p(40*h+c),1.5),1.5)+Math.pow(Math.pow(p(40*d+f),1.5)+Math.pow(p(40*m+g),1.5),1.5)>74184.96480721243)||!1})(a,o)?(r=!0,n[n.length-1]=n[n.length-1].join(o)):n.push(o)}i=n}while(s++<10&&r);let o=[];return!function(e,t){for(let n=0;n{let i=n;function s(e){return e.length>0&&e.trim().length<=3&&n.seq1Range.length+n.seq2Range.length>100}let a=e.extendToFullLines(n.seq1Range),l=e.getText(new sF(a.start,n.seq1Range.start));s(l)&&(i=i.deltaStart(-l.length));let u=e.getText(new sF(n.seq1Range.endExclusive,a.endExclusive));s(u)&&(i=i.deltaEnd(u.length));let h=s4.fromOffsetPairs(t?t.getEndExclusives():s5.zero,r?r.getStarts():s5.max),c=i.intersect(h);o.push(c)}),o}(s,o,l)).map(e=>new sW(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range))),hitTimeout:a.hitTimeout}}}function oy(e,t,n,r=!1){let i=[];for(let r of function*(e,t){let n,r;for(let i of e)void 0!==r&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}(e.map(e=>(function(e,t,n){let r=0,i=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1),e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);let s=new sj(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i);return new s$(s,new sj(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i),[e])})(e,t,n)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=r[0],t=r[r.length-1];i.push(new s$(e.original.join(t.original),e.modified.join(t.modified),r.map(e=>e.innerChanges[0])))}return sk(()=>(!!r||!(i.length>0)||i[0].original.startLineNumber===i[0].modified.startLineNumber)&&sR(i,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivenew sH,getDefault:()=>new ob};function oC(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}class oS{constructor(e,t,n,r=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=oC(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class ow{constructor(e,t,n,r){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=oC(Math.max(Math.min(1,t),0),3),this.l=oC(Math.max(Math.min(1,n),0),3),this.a=oC(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=e.a,s=Math.max(t,n,r),o=Math.min(t,n,r),a=0,l=0,u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(n-r)/h+(n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){let t,n,r;let i=e.h/360,{s,l:o,a}=e;if(0===s)t=n=r=o;else{let e=o<.5?o*(1+s):o+s-o*s,a=2*o-e;t=ow._hue2rgb(a,e,i+1/3),n=ow._hue2rgb(a,e,i),r=ow._hue2rgb(a,e,i-1/3)}return new oS(Math.round(255*t),Math.round(255*n),Math.round(255*r),a)}}class oL{constructor(e,t,n,r){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=oC(Math.max(Math.min(1,t),0),3),this.v=oC(Math.max(Math.min(1,n),0),3),this.a=oC(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let n=e.r/255,r=e.g/255,i=e.b/255,s=Math.max(n,r,i),o=s-Math.min(n,r,i);return new oL(Math.round(60*(t=0===o?0:s===n?((r-i)/o%6+6)%6:s===r?(i-n)/o+2:(n-r)/o+4)),0===s?0:o/s,s,e.a)}static toRGBA(e){let{h:t,s:n,v:r,a:i}=e,s=r*n,o=s*(1-Math.abs(t/60%2-1)),a=r-s,[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),new oS(l=Math.round((l+a)*255),u=Math.round((u+a)*255),h=Math.round((h+a)*255),i)}}class ox{static fromHex(e){return ox.Format.CSS.parseHex(e)||ox.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:ow.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:oL.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof oS)this.rgba=e;else if(e instanceof ow)this._hsla=e,this.rgba=ow.toRGBA(e);else if(e instanceof oL)this._hsva=e,this.rgba=oL.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&oS.equals(this.rgba,e.rgba)&&ow.equals(this.hsla,e.hsla)&&oL.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=ox._relativeLuminanceForComponent(this.rgba.r),t=ox._relativeLuminanceForComponent(this.rgba.g),n=ox._relativeLuminanceForComponent(this.rgba.b);return oC(.2126*e+.7152*t+.0722*n,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){let t=this.getRelativeLuminance();return t>e.getRelativeLuminance()}isDarkerThan(e){let t=this.getRelativeLuminance();return tthis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class oI{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new oO(iV.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!!this._models[e])this._models[e].onEvents(t)}acceptRemovedModel(e){if(!!this._models[e])delete this._models[e]}computeUnicodeHighlights(e,t,n){return oM(this,void 0,void 0,function*(){let r=this._getModel(e);return r?sT.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,n,r){return oM(this,void 0,void 0,function*(){let i=this._getModel(e),s=this._getModel(t);return i&&s?oI.computeDiff(i,s,n,r):null})}static computeDiff(e,t,n,r){let i="advanced"===r?o_.getDefault():o_.getLegacy(),s=e.getLinesContent(),o=t.getLinesContent(),a=i.computeDiff(s,o,n);function l(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:l(a.changes),moves:a.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,l(e.changes)])}}static _modelsAreIdentical(e,t){let n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){let n=e.getLineContent(r);if(n!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t,n){return oM(this,void 0,void 0,function*(){let r,i=this._getModel(e);if(!i)return t;let s=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return iG.compareRangesUsingStarts(e.range,t.range);let n=e.range?0:1;return n-(t.range?0:1)});let o=0;for(let e=1;eoI._diffLimit){s.push({range:e,text:h});continue}let o=(a=t,l=h,u=n,new iv(new id(a),new id(l)).ComputeDiff(u).changes),d=i.offsetAt(iG.lift(e).getStartPosition());for(let e of o){let t=i.positionAt(d+e.originalStart),n=i.positionAt(d+e.originalStart+e.originalLength),r={text:h.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}};i.getValueInRange(r.range)!==r.text&&s.push(r)}}return"number"==typeof r&&s.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(e){return oM(this,void 0,void 0,function*(){var t;let n=this._getModel(e);if(!n)return null;return(t=n)&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?sn.computeLinks(t):[]})}computeDefaultDocumentColors(e){return oM(this,void 0,void 0,function*(){var t;let n=this._getModel(e);if(!n)return null;return(t=n)&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],n=oT(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(let r of n){let n;let i=r.filter(e=>void 0!==e),s=i[1],o=i[2];if(!!o){if("rgb"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;n=ok(oA(e,r),oT(o,t),!1)}else if("rgba"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=ok(oA(e,r),oT(o,t),!0)}else if("hsl"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;n=oR(oA(e,r),oT(o,t),!1)}else if("hsla"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=oR(oA(e,r),oT(o,t),!0)}else"#"===s&&(n=function(e,t){if(!e)return;let n=ox.Format.CSS.parseHex(t);if(!!n)return{range:e,color:oN(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}(oA(e,r),s+o));n&&t.push(n)}}return t}(t):[]})}textualSuggest(e,t,n,r){return oM(this,void 0,void 0,function*(){let i=new rL,s=new RegExp(n,r),o=new Set;n:for(let n of e){let e=this._getModel(n);if(!!e)for(let n of e.words(s)){if(n!==t&&!!isNaN(Number(n))){if(o.add(n),o.size>oI._suggestionsLimit)break n}}}return{words:Array.from(o),duration:i.elapsed()}})}computeWordRanges(e,t,n,r){return oM(this,void 0,void 0,function*(){let i=this._getModel(e);if(!i)return Object.create(null);let s=new RegExp(n,r),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(let t of e)r[t]=n(t);return r}(n,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:r,getMirrorModels:()=>this._getModels()},t),Promise.resolve(rM(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}oI._diffLimit=1e5,oI._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:so,Emitter:rR,KeyCode:tD,KeyMod:sE,Position:iz,Range:iG,Selection:sb,SelectionDirection:tX,MarkerSeverity:tq,MarkerTag:tK,Uri:iV,Token:sL});let oP=!1;function oF(e){if(oP)return;oP=!0;let t=new is(e=>{globalThis.postMessage(e)},t=>new oI(t,e));globalThis.onmessage=e=>{t.onmessage(e.data)}}function oV(e,t){void 0===t&&(t=!1);var n=e.length,r=0,i="",s=0,o=16,a=0,l=0,u=0,h=0,c=0;function d(){if(i="",c=0,s=r,l=a,h=u,r>=n)return s=n,o=17;var t=e.charCodeAt(r);if(oD(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(oD(t));return o=15}if(oq(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),a++,u=r,o=14;switch(t){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,i=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),c=2;break}var s=e.charCodeAt(r);if(34===s){t+=e.substring(i,r),r++;break}if(92===s){if(t+=e.substring(i,r),++r>=n){c=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:var o=function(t,n){for(var i=0,s=0;i<4||!n;){var o=e.charCodeAt(r);if(o>=48&&o<=57)s=16*s+o-48;else if(o>=65&&o<=70)s=16*s+o-65+10;else if(o>=97&&o<=102)s=16*s+o-97+10;else break;r++,i++}return i=0?t+=String.fromCharCode(o):c=4;break;default:c=5}i=r;continue}if(s>=0&&s<=31){if(oq(s)){t+=e.substring(i,r),c=2;break}c=6}r++}return t}(),o=10;case 47:var d=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r=12&&e<=15);return e}:d,getToken:function(){return o},getTokenValue:function(){return i},getTokenOffset:function(){return s},getTokenLength:function(){return r-s},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return s-h},getTokenError:function(){return c}}}function oD(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function oq(e){return 10===e||13===e||8232===e||8233===e}function oK(e){return e>=48&&e<=57}globalThis.onmessage=e=>{!oP&&oF(null)};function oj(e,t){for(var n="",r=0;r0){for(var i=r.getToken();17!==i;){if(-1!==t.indexOf(i)){v();break}if(-1!==n.indexOf(i))break;i=v()}}}function y(e){var t=r.getTokenValue();return e?c(t):a(t),v(),!0}function _(){switch(r.getToken()){case 3:return function(){u(),v();for(var e=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(!e&&b(4,[],[]),d(","),v(),4===r.getToken()&&p)break}else e&&b(6,[],[]);!_()&&b(4,[],[4,5]),e=!0}return h(),4!==r.getToken()?b(8,[4],[]):v(),!0}();case 1:return function(){o(),v();for(var e=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(!e&&b(4,[],[]),d(","),v(),2===r.getToken()&&p)break}else e&&b(6,[],[]);!(10!==r.getToken()?(b(3,[],[2,5]),!1):(y(!1),6===r.getToken()?(d(":"),v(),!_()&&b(4,[],[2,5])):b(5,[],[2,5]),!0))&&b(4,[],[2,5]),e=!0}return l(),2!==r.getToken()?b(7,[2],[]):v(),!0}();case 10:return y(!0);default:return function(){switch(r.getToken()){case 11:var e=Number(r.getTokenValue());isNaN(e)&&(b(2),e=0),c(e);break;case 7:c(null);break;case 8:c(!0);break;case 9:c(!1);break;default:return!1}return v(),!0}()}}if(v(),17===r.getToken())return n.allowEmptyContent||(b(4,[],[]),0);_()?(17!==r.getToken()&&b(9,[],[]),!0):(b(4,[],[]),!1)}(e,{onObjectBegin:function(){var e={};o(e),s.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=s.pop()},onArrayBegin:function(){var e=[];o(e),s.push(i),i=e,r=null},onArrayEnd:function(){i=s.pop()},onLiteralValue:o,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},o$=function e(t,n,r){var i,s,o;if(void 0===r&&(r=!1),i=t,s=n,void 0===(o=r)&&(o=!1),s>=i.offset&&s0?e.lastIndexOf(t)===n:0===n&&e===t}function oZ(e){var t="";(function(e,t){if(e.length0&&(i.arguments=n),i},eA.is=function(e){return n5.defined(e)&&n5.string(e.title)&&n5.string(e.command)},(ek=nb||(nb={})).replace=function(e,t){return{range:e,newText:t}},ek.insert=function(e,t){return{range:{start:e,end:e},newText:t}},ek.del=function(e){return{range:e,newText:""}},ek.is=function(e){return n5.objectLiteral(e)&&n5.string(e.newText)&&ni.is(e.range)},(eR=ny||(ny={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},eR.is=function(e){return void 0!==e&&n5.objectLiteral(e)&&n5.string(e.label)&&(n5.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(n5.string(e.description)||void 0===e.description)},(n_||(n_={})).is=function(e){return"string"==typeof e},(eT=nC||(nC={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},eT.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},eT.del=function(e,t){return{range:e,newText:"",annotationId:t}},eT.is=function(e){return nb.is(e)&&(ny.is(e.annotationId)||n_.is(e.annotationId))},(eM=nS||(nS={})).create=function(e,t){return{textDocument:e,edits:t}},eM.is=function(e){return n5.defined(e)&&nk.is(e.textDocument)&&Array.isArray(e.edits)},(eO=nw||(nw={})).create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},eO.is=function(e){return e&&"create"===e.kind&&n5.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||n5.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||n5.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||n_.is(e.annotationId))},(eI=nL||(nL={})).create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},eI.is=function(e){return e&&"rename"===e.kind&&n5.string(e.oldUri)&&n5.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||n5.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||n5.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||n_.is(e.annotationId))},(eP=nx||(nx={})).create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},eP.is=function(e){return e&&"delete"===e.kind&&n5.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||n5.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||n5.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||n_.is(e.annotationId))},(nE||(nE={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return n5.string(e.kind)?nw.is(e)||nL.is(e)||nx.is(e):nS.is(e)}))};var oY=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=nb.insert(e,t):n_.is(n)?(i=n,r=nC.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=nC.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=nb.replace(e,t):n_.is(n)?(i=n,r=nC.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=nC.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=nb.del(e):n_.is(t)?(r=t,n=nC.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=nC.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),o1=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(n_.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id "+n+" is already in use.");if(void 0===t)throw Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new o1(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(nS.is(e)){var n=new oY(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new oY(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(nk.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new oY(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new oY(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new o1,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,s;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ny.is(t)||n_.is(t)?r=t:n=t,void 0===r?i=nw.create(e,n):(s=n_.is(r)?r:this._changeAnnotations.manage(r),i=nw.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s},e.prototype.renameFile=function(e,t,n,r){var i,s,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ny.is(n)||n_.is(n)?i=n:r=n,void 0===i?s=nL.create(e,t,r):(o=n_.is(i)?i:this._changeAnnotations.manage(i),s=nL.create(e,t,r,o)),this._workspaceEdit.documentChanges.push(s),void 0!==o)return o},e.prototype.deleteFile=function(e,t,n){var r,i,s;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ny.is(t)||n_.is(t)?r=t:n=t,void 0===r?i=nx.create(e,n):(s=n_.is(r)?r:this._changeAnnotations.manage(r),i=nx.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s}}(),(eF=nN||(nN={})).create=function(e){return{uri:e}},eF.is=function(e){return n5.defined(e)&&n5.string(e.uri)},(eV=nA||(nA={})).create=function(e,t){return{uri:e,version:t}},eV.is=function(e){return n5.defined(e)&&n5.string(e.uri)&&n5.integer(e.version)},(eD=nk||(nk={})).create=function(e,t){return{uri:e,version:t}},eD.is=function(e){return n5.defined(e)&&n5.string(e.uri)&&(null===e.version||n5.integer(e.version))},(eq=nR||(nR={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},eq.is=function(e){return n5.defined(e)&&n5.string(e.uri)&&n5.string(e.languageId)&&n5.integer(e.version)&&n5.string(e.text)},(eK=nT||(nT={})).PlainText="plaintext",eK.Markdown="markdown",(ej=nT||(nT={})).is=function(e){return e===ej.PlainText||e===ej.Markdown},(nM||(nM={})).is=function(e){return n5.objectLiteral(e)&&nT.is(e.kind)&&n5.string(e.value)},(eU=nO||(nO={})).Text=1,eU.Method=2,eU.Function=3,eU.Constructor=4,eU.Field=5,eU.Variable=6,eU.Class=7,eU.Interface=8,eU.Module=9,eU.Property=10,eU.Unit=11,eU.Value=12,eU.Enum=13,eU.Keyword=14,eU.Snippet=15,eU.Color=16,eU.File=17,eU.Reference=18,eU.Folder=19,eU.EnumMember=20,eU.Constant=21,eU.Struct=22,eU.Event=23,eU.Operator=24,eU.TypeParameter=25,(eB=nI||(nI={})).PlainText=1,eB.Snippet=2,(nP||(nP={})).Deprecated=1,(e$=nF||(nF={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},e$.is=function(e){return e&&n5.string(e.newText)&&ni.is(e.insert)&&ni.is(e.replace)},(eW=nV||(nV={})).asIs=1,eW.adjustIndentation=2,(nD||(nD={})).create=function(e){return{label:e}},(nq||(nq={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(eH=nK||(nK={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},eH.is=function(e){return n5.string(e)||n5.objectLiteral(e)&&n5.string(e.language)&&n5.string(e.value)},(nj||(nj={})).is=function(e){return!!e&&n5.objectLiteral(e)&&(nM.is(e.contents)||nK.is(e.contents)||n5.typedArray(e.contents,nK.is))&&(void 0===e.range||ni.is(e.range))},(nU||(nU={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(nB||(nB={})).create=function(e,t){for(var n=[],r=2;r=n(i[o],s[a])?t[l++]=i[o++]:t[l++]=s[a++];for(;o=0;s--){var o=r[s],a=e.offsetAt(o.range.start),l=e.offsetAt(o.range.end);if(l<=i)n=n.substring(0,a)+o.newText+n.substring(l,n.length);else throw Error("Overlapping edit");i=a}return n};var o0=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return nr.create(0,e);for(;ne?r=i:n=i+1}var s=n-1;return nr.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1e?r=i:n=i+1}let i=n-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1=n(i[o],s[a])?t[l++]=i[o++]:t[l++]=s[a++];for(;o{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),i=0,s=[];for(let t of r){let r=e.offsetAt(t.range.start);if(ri&&s.push(n.substring(i,r));t.newText.length&&s.push(t.newText),i=e.offsetAt(t.range.end)}return s.push(n.substr(i)),s.join("")};function o4(e,t,n=0){let r=t?[n]:[];for(let t=0;tn.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function o7(e){let t=o5(e.range);return t!==e.range?{newText:e.newText,range:t}:e}(e6=n9||(n9={}))[e6.Undefined=0]="Undefined",e6[e6.EnumValueMismatch=1]="EnumValueMismatch",e6[e6.Deprecated=2]="Deprecated",e6[e6.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e6[e6.UnexpectedEndOfString=258]="UnexpectedEndOfString",e6[e6.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e6[e6.InvalidUnicode=260]="InvalidUnicode",e6[e6.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e6[e6.InvalidCharacter=262]="InvalidCharacter",e6[e6.PropertyExpected=513]="PropertyExpected",e6[e6.CommaExpected=514]="CommaExpected",e6[e6.ColonExpected=515]="ColonExpected",e6[e6.ValueExpected=516]="ValueExpected",e6[e6.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e6[e6.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e6[e6.TrailingComma=519]="TrailingComma",e6[e6.DuplicateKey=520]="DuplicateKey",e6[e6.CommentNotPermitted=521]="CommentNotPermitted",e6[e6.SchemaResolveError=768]="SchemaResolveError",(n6||(n6={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[nT.Markdown,nT.PlainText],commitCharactersSupport:!0}}}};function o9(e,t,...n){var r,i;let s;return r=t,s=0===(i=n).length?r:r.replace(/\{(\d+)\}/g,(e,t)=>{let n=t[0];return void 0!==i[n]?i[n]:e})}function o6(e){return o9}var o8=(e8=function(e,t){return(e8=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}e8(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});var o3={"color-hex":{errorMessage:o9("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:o9("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:o9("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:o9("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:o9("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}))$/},hostname:{errorMessage:o9("hostnameFormatWarning","String is not a hostname."),pattern:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i},ipv4:{errorMessage:o9("ipv4FormatWarning","String is not an IPv4 address."),pattern:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/},ipv6:{errorMessage:o9("ipv6FormatWarning","String is not an IPv6 address."),pattern:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i}},ae=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),at=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return o8(t,e),t}(ae),an=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return o8(t,e),t}(ae),ar=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return o8(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(ae),ai=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return o8(t,e),t}(ae),as=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return o8(t,e),t}(ae),ao=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.type="property",i.colonOffset=-1,i.keyNode=r,i}return o8(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(ae),aa=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return o8(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(ae);function al(e){return oX(e)?e?{}:{not:{}}:e}(te=n8||(n8={}))[te.Key=0]="Key",te[te.Enum=1]="Enum";var au=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||am(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),ah=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),ac=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0;t=e.offset&&t=0;)s.splice(t,1),t=s.indexOf(e)};if(t.properties)for(var p=0,v=Object.keys(t.properties);p0)for(var A=0;At.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)}),oG(t.minProperties)&&e.properties.length=i.length&&n.propertiesValueMatches++}if(e.items.length>i.length){if("object"==typeof t.additionalItems)for(var u=i.length;ut.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)}),!0===t.uniqueItems){var m=oH(e);m.some(function(e,t){return t!==m.lastIndexOf(e)})&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("uniqueItemsWarning","Array has duplicate items.")})}})(e,t,n,r);break;case"string":(function(e,t,n,r){if(oG(t.minLength)&&e.value.lengtht.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)}),"string"==typeof t.pattern){var i=oZ(t.pattern);!(null==i?void 0:i.test(e.value))&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||o9("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}if(t.format)switch(t.format){case"uri":case"uri-reference":var s=void 0;if(e.value){var o=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);o?!o[2]&&"uri"===t.format&&(s=o9("uriSchemeMissing","URI with a scheme is expected.")):s=o9("uriMissing","URI is expected.")}else s=o9("uriEmpty","URI expected.");s&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||o9("uriFormatWarning","String is not a URI: {0}",s)});break;case"color-hex":case"date-time":case"date":case"time":case"email":case"hostname":case"ipv4":case"ipv6":var a=o3[t.format];(!e.value||!a.pattern.exec(e.value))&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||a.errorMessage})}})(e,t,n,r);break;case"number":(function(e,t,n,r){var i=e.value;function s(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(oG(t.multipleOf)){var o=-1;if(Number.isInteger(t.multipleOf))o=i%t.multipleOf;else{var a=s(t.multipleOf),l=s(i);if(a&&l){var u=Math.pow(10,Math.abs(l.multiplier-a.multiplier));l.multiplier=f&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",f)});var m=c(t.minimum,t.exclusiveMinimum);oG(m)&&ig&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("maximumWarning","Value is above the maximum of {0}.",g)})})(e,t,n,r);break;case"property":return ap(e.valueNode,t,n,r)}(function(){function i(t){return e.type===t||"integer"===t&&"number"===e.type&&e.isInteger}if(Array.isArray(t.type)?!t.type.some(i)&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||o9("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&!i(t.type)&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||o9("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}),Array.isArray(t.allOf))for(var s,o,a,l,u,h,c=0,d=t.allOf;c0?o={schema:l,validationResult:u,matchingSchemas:h}:0===c&&(o.matchingSchemas.merge(h),o.validationResult.mergeEnumValues(u))}else o.matchingSchemas.merge(h),o.validationResult.propertiesMatches+=u.propertiesMatches,o.validationResult.propertiesValueMatches+=u.propertiesValueMatches}else o={schema:l,validationResult:u,matchingSchemas:h}}return s.length>1&&i&&n.problems.push({location:{offset:e.offset,length:1},message:o9("oneOfWarning","Matches multiple schemas when only one must validate.")}),o&&(n.merge(o.validationResult),n.propertiesMatches+=o.validationResult.propertiesMatches,n.propertiesValueMatches+=o.validationResult.propertiesValueMatches,r.merge(o.matchingSchemas)),s.length};Array.isArray(t.anyOf)&&y(t.anyOf,!1),Array.isArray(t.oneOf)&&y(t.oneOf,!0);var _=function(t){var i=new ac,s=r.newSub();ap(e,al(t),i,s),n.merge(i),n.propertiesMatches+=i.propertiesMatches,n.propertiesValueMatches+=i.propertiesValueMatches,r.merge(s)},C=al(t.if);if(C){;s=C,o=al(t.then),a=al(t.else),l=al(s),u=new ac,ap(e,l,u,h=r.newSub()),r.merge(h),u.hasProblems()?a&&_(a):o&&_(o)}if(Array.isArray(t.enum)){for(var S=oH(e),w=!1,L=0,x=t.enum;L=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var r=n(e);if(r)return r}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var r,i=this,s={items:[],isIncomplete:!1},o=e.getText(),a=e.offsetAt(t),l=n.getNodeFromOffset(a,!0);if(this.isInComment(e,l?l.offset:0,a))return Promise.resolve(s);if(l&&a===l.offset+l.length&&a>0){var u=o[a-1];("object"===l.type&&"}"===u||"array"===l.type&&"]"===u)&&(l=l.parent)}var h=this.getCurrentWord(e,a);if(l&&("string"===l.type||"number"===l.type||"boolean"===l.type||"null"===l.type))r=ni.create(e.positionAt(l.offset),e.positionAt(l.offset+l.length));else{var c=a-h.length;c>0&&'"'===o[c-1]&&c--,r=ni.create(e.positionAt(c),t)}var d={},f={add:function(e){var t=e.label,n=d[t];if(n)!n.documentation&&(n.documentation=e.documentation),!n.detail&&(n.detail=e.detail);else{if((t=t.replace(/[\n]/g,"\u21B5")).length>60){var i=t.substr(0,57).trim()+"...";!d[i]&&(t=i)}r&&void 0!==e.insertText&&(e.textEdit=nb.replace(r,e.insertText)),e.label=t,d[t]=e,s.items.push(e)}},setAsIncomplete:function(){s.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return s.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then(function(t){var u=[],c=!0,m="",g=void 0;if(l&&"string"===l.type){var p=l.parent;p&&"property"===p.type&&p.keyNode===l&&(c=!p.valueNode,g=p,m=o.substr(l.offset+1,l.length-2),p&&(l=p.parent))}if(l&&"object"===l.type){if(l.offset===a)return s;l.properties.forEach(function(e){(!g||g!==e)&&(d[e.keyNode.value]=nD.create("__"))});var v="";c&&(v=i.evaluateSeparatorAfter(e,e.offsetAt(r.end))),t?i.getPropertyCompletions(t,n,l,c,v,f):i.getSchemaLessPropertyCompletions(n,l,m,f);var b=oW(l);i.contributions.forEach(function(t){var n=t.collectPropertyCompletions(e.uri,b,h,c,""===v,f);n&&u.push(n)}),!t&&h.length>0&&'"'!==o.charAt(a-h.length-1)&&(f.add({kind:nO.Property,label:i.getLabelForValue(h),insertText:i.getInsertTextForProperty(h,void 0,!1,v),insertTextFormat:nI.Snippet,documentation:""}),f.setAsIncomplete())}var y={};return t?i.getValueCompletions(t,n,l,a,e,f,y):i.getSchemaLessValueCompletions(n,l,a,e,f),i.contributions.length>0&&i.getContributedValueCompletions(n,l,a,e,f,u),i.promiseConstructor.all(u).then(function(){if(0===f.getNumberOfProposals()){var t=a;l&&("string"===l.type||"number"===l.type||"boolean"===l.type||"null"===l.type)&&(t=l.offset+l.length);var n=i.evaluateSeparatorAfter(e,t);i.addFillerValueCompletions(y,n,f)}return s})})},e.prototype.getPropertyCompletions=function(e,t,n,r,i,s){var o=this;t.getMatchingSchemas(e.schema,n.offset).forEach(function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach(function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:nO.Property,label:e,insertText:o.getInsertTextForProperty(e,n,r,i),insertTextFormat:nI.Snippet,filterText:o.getFilterTextForValue(e),documentation:o.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&oQ(a.insertText,"$1".concat(i))&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),s.add(a)}});var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var l=function(e,t){void 0===t&&(t=void 0);var n={kind:nO.Property,label:e,insertText:o.getInsertTextForProperty(e,void 0,r,i),insertTextFormat:nI.Snippet,filterText:o.getFilterTextForValue(e),documentation:t||o.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&oQ(n.insertText,"$1".concat(i))&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),s.add(n)};if(a.enum)for(var u=0;u(t.colonOffset||0)){var u=t.valueNode;if(u&&(n>u.offset+u.length||"object"===u.type||"array"===u.type))return;var h=t.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&l(e.valueNode),!0}),"$schema"===h&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,i)}if("array"===t.type){if(t.parent&&"property"===t.parent.type){var c=t.parent.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===c&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(l),!0})}else t.items.forEach(l)}},e.prototype.getValueCompletions=function(e,t,n,r,i,s,o){var a=r,l=void 0,u=void 0;if(n&&("string"===n.type||"number"===n.type||"boolean"===n.type||"null"===n.type)&&(a=n.offset+n.length,u=n,n=n.parent),!n){this.addSchemaValueCompletions(e.schema,"",s,o);return}if("property"===n.type&&r>(n.colonOffset||0)){var h=n.valueNode;if(h&&r>h.offset+h.length)return;l=n.keyNode.value,n=n.parent}if(n&&(void 0!==l||"array"===n.type)){for(var c=this.evaluateSeparatorAfter(i,a),d=t.getMatchingSchemas(e.schema,n.offset,u),f=0;f(t.colonOffset||0)){var o=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var l=oW(t.parent);this.contributions.forEach(function(e){var t=e.collectValueCompletions(r.uri,l,o,i);t&&s.push(t)})}}}else this.contributions.forEach(function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&s.push(t)})},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.anyOf)&&e.anyOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.oneOf)&&e.oneOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var s=!1;if(oJ(e.default)){for(var o=e.type,a=e.default,l=r;l>0;l--)a=[a],o="array";n.add({kind:this.getSuggestionKind(o),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:nI.Snippet,detail:o9("json.suggest.default","Default value")}),s=!0}Array.isArray(e.examples)&&e.examples.forEach(function(o){for(var a=e.type,l=o,u=r;u>0;u--)l=[l],a="array";n.add({kind:i.getSuggestionKind(a),label:i.getLabelForValue(l),insertText:i.getInsertTextForValue(l,t),insertTextFormat:nI.Snippet}),s=!0}),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach(function(o){var a,l,u=e.type,h=o.body,c=o.label;if(oJ(h)){e.type;for(var d=r;d>0;d--)h=[h];a=i.getInsertTextForSnippetValue(h,t),l=i.getFilterTextForSnippetValue(h),c=c||i.getLabelForSnippetValue(h)}else{if("string"!=typeof o.bodyText)return;for(var f="",m="",g="",d=r;d>0;d--)f=f+g+"[\n",m=m+"\n"+g+"]",g+=" ",u="array";a=f+g+o.bodyText.split("\n").join("\n"+g)+m+t,c=c||a,l=a.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(u),label:c,documentation:i.fromMarkup(o.markdownDescription)||o.description,insertText:a,insertTextFormat:nI.Snippet,filterText:l}),s=!0}),!s&&"object"==typeof e.items&&!Array.isArray(e.items)&&r<5&&this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(oJ(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:nI.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r0?t[0]:void 0}if(!e)return nO.Value;switch(e){case"string":default:return nO.Value;case"object":return nO.Module;case"property":return nO.Property}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i,s=this.getInsertTextForValue(e,"");if(!n)return s;var o=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var a=t.defaultSnippets[0].body;oJ(a)&&(i=this.getInsertTextForSnippetValue(a,""))}o+=t.defaultSnippets.length}if(t.enum&&(!i&&1===t.enum.length&&(i=this.getInsertTextForGuessedValue(t.enum[0],"")),o+=t.enum.length),oJ(t.default)&&(!i&&(i=this.getInsertTextForGuessedValue(t.default,"")),o++),Array.isArray(t.examples)&&t.examples.length&&(!i&&(i=this.getInsertTextForGuessedValue(t.examples[0],"")),o+=t.examples.length),0===o){var l=Array.isArray(t.type)?t.type[0]:t.type;switch(!l&&(t.properties?l="object":t.items&&(l="array")),l){case"boolean":i="$1";break;case"string":i='"$1"';break;case"object":i="{$1}";break;case"array":i="[$1]";break;case"number":case"integer":i="${1:0}";break;case"null":i="${1:null}";break;default:return s}}}return(!i||o>1)&&(i="$1"),s+": "+i+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=oV(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=oV(t.getText(),!0),i=e.items,s=i.length-1;s>=0;s--){var o=i[s];if(n>o.offset+o.length){if(r.setPosition(o.offset+o.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength())return s+1;return s}if(n>=o.offset)return s}return 0},e.prototype.isInComment=function(e,t,n){var r=oV(e.getText(),!1);r.setPosition(t);for(var i=r.scan();17!==i&&r.getTokenOffset()+r.getTokenLength()i.offset+1&&r=0;h--){var c=this.contributions[h].getInfoContribution(e.uri,u);if(c)return c.then(function(e){return l(e)})}return this.schemaService.getSchemaForResource(e.uri,n).then(function(e){if(e&&i){var t=n.getMatchingSchemas(e.schema,i.offset),r=void 0,s=void 0,o=void 0,a=void 0;t.every(function(e){if(e.node===i&&!e.inverted&&e.schema&&(r=r||e.schema.title,s=s||e.schema.markdownDescription||aC(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(oH(i));e.schema.markdownEnumDescriptions?o=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(o=aC(e.schema.enumDescriptions[t])),o&&"string"!=typeof(a=e.schema.enum[t])&&(a=JSON.stringify(a))}return!0});var u="";return r&&(u=aC(r)),s&&(u.length>0&&(u+="\n\n"),u+=s),o&&(u.length>0&&(u+="\n\n"),u+="`".concat(function(e){return -1!==e.indexOf("`")?"`` "+e+" ``":e}(a),"`: ").concat(o)),l([u])}return null})},e}();function aC(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var aS=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=!1!==e.validate,this.commentSeverity=e.allowComments?void 0:nf.Error)},e.prototype.doValidation=function(e,t,n,r){var i=this;if(!this.validationEnabled)return this.promise.resolve([]);var s=[],o={},a=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;!o[t]&&(o[t]=!0,s.push(e))},l=function(r){var o=(null==n?void 0:n.trailingCommas)?aL(n.trailingCommas):nf.Error,l=(null==n?void 0:n.comments)?aL(n.comments):i.commentSeverity,u=(null==n?void 0:n.schemaValidation)?aL(n.schemaValidation):nf.Warning,h=(null==n?void 0:n.schemaRequest)?aL(n.schemaRequest):nf.Warning;if(r){if(r.errors.length&&t.root&&h){var c=t.root,d="object"===c.type?c.properties[0]:void 0;if(d&&"$schema"===d.keyNode.value){var f=d.valueNode||d,m=ni.create(e.positionAt(f.offset),e.positionAt(f.offset+f.length));a(np.create(m,r.errors[0],h,n9.SchemaResolveError))}else{var m=ni.create(e.positionAt(c.offset),e.positionAt(c.offset+1));a(np.create(m,r.errors[0],h,n9.SchemaResolveError))}}else if(u){var g=t.validate(e,r.schema,u);g&&g.forEach(a)}(function e(t){if(t&&"object"==typeof t){if(oX(t.allowComments))return t.allowComments;if(t.allOf)for(var n=0,r=t.allOf;n=97&&e<=102)?e-97+10:0}var aE=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var s=n.resultLimit||Number.MAX_VALUE,o=e.uri;if(("vscode://defaultsettings/keybindings.json"===o||oQ(o.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var a=[],l=0,u=i.items;l0){s--;var o=ns.create(e.uri,aN(e,t)),a=n?n+"."+t.keyNode.value:t.keyNode.value;b.push({name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),location:o,containerName:n}),g.push({node:i,containerName:a})}else v=!0}})};p0){s--;var o=aN(e,t),a={name:String(i),kind:r.getSymbolKind(t.type),range:o,selectionRange:o,children:[]};n.push(a),v.push({result:a.children,node:t})}else y=!0}}):"object"===t.type&&t.properties.forEach(function(t){var i=t.valueNode;if(i){if(s>0){s--;var o=aN(e,t),a=aN(e,t.keyNode),l=[],u={name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),range:o,selectionRange:a,children:l,detail:r.getDetail(i)};n.push(u),v.push({result:l,node:i})}else y=!0}})};b{var e={470:e=>{function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,s=-1,o=0,a=0;a<=e.length;++a){if(a2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),s=a,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,s=a,o=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(s+1,a):r=e.slice(s+1,a),i=a-s-1;s=a,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r,i="",s=!1,o=arguments.length-1;o>=-1&&!s;o--)o>=0?e=arguments[o]:(void 0===r&&(r=process.cwd()),e=r),t(e),0!==e.length&&(i=e+"/"+i,s=47===e.charCodeAt(0));return i=n(i,!s),s?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(a+c))return n.slice(a+c+1);if(0===c)return n.slice(a+c)}else o>u&&(47===e.charCodeAt(i+c)?h=c:0===c&&(h=0));break}var d=e.charCodeAt(i+c);if(d!==n.charCodeAt(a+c))break;47===d&&(h=c)}var f="";for(c=i+h+1;c<=s;++c)c!==s&&47!==e.charCodeAt(c)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(a+h):(a+=h,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,s=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!s){i=o;break}}else s=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,s=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else -1===l&&(o=!1,l=r+1),a>=0&&(u===n.charCodeAt(a)?-1==--a&&(s=r):(a=-1,s=l))}return i===s?s=l:-1===s&&(s=e.length),e.slice(i,s)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else -1===s&&(o=!1,s=r+1);return -1===s?"":e.slice(i,s)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,s=!0,o=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(s=!1,i=a+1),46===l?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1);else if(!s){r=a+1;break}}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){var t,n,r,i;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=0,r=(n=e).dir||n.root,i=n.base||(n.name||"")+(n.ext||""),r?r===n.root?r+i:r+"/"+i:i},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),s=47===i;s?(n.root="/",r=1):r=0;for(var o=-1,a=0,l=-1,u=!0,h=e.length-1,c=0;h>=r;--h)if(47!==(i=e.charCodeAt(h)))-1===l&&(u=!1,l=h+1),46===i?-1===o?o=h:1!==c&&(c=1):-1!==o&&(c=-1);else if(!u){a=h+1;break}return -1===o||-1===l||0===c||1===c&&o===l-1&&o===a+1?-1!==l&&(n.base=n.name=0===a&&s?e.slice(1,l):e.slice(a,l)):(0===a&&s?(n.name=e.slice(1,o),n.base=e.slice(1,l)):(n.name=e.slice(a,o),n.base=e.slice(a,l)),n.ext=e.slice(o,l)),a>0?n.dir=e.slice(0,a-1):s&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},447:(e,t,n)=>{(n.r(t),n.d(t,{URI:()=>f,Utils:()=>w}),"object"==typeof process)?i="win32"===process.platform:"object"==typeof navigator&&(i=navigator.userAgent.indexOf("Windows")>=0);var r,i,s,o,a=(s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=/^\w[\w\d+.-]*$/,u=/^\//,h=/^\/\//;function c(e,t){if(!e.scheme&&t)throw Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(e.authority,'", path: "').concat(e.path,'", query: "').concat(e.query,'", fragment: "').concat(e.fragment,'"}'));if(e.scheme&&!l.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!u.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(h.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,f=function(){function e(e,t,n,r,i,s){var o,a;void 0===s&&(s=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(o=e,a=s,o||a?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",c(this,s))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"string"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return y(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,s=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment?this:new g(t,n,r,i,s)},e.parse=function(e,t){void 0===t&&(t=!1);var n=d.exec(e);return n?new g(n[2]||"",S(n[4]||""),S(n[5]||""),S(n[7]||""),S(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(i&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){var n=e.indexOf("/",2);-1===n?(t=e.substring(2),e="/"):(t=e.substring(2,n),e=e.substring(n)||"/")}return new g("file",t,e,"","")},e.from=function(e){var t=new g(e.scheme,e.authority,e.path,e.query,e.fragment);return c(t,!0),t},e.prototype.toString=function(e){return void 0===e&&(e=!1),_(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=i?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=y(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(f),p=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function v(e,t){for(var n=void 0,r=-1,i=0;i=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var o=p[s];void 0!==o?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=o):-1===r&&(r=i)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function b(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//".concat(e.authority).concat(e.path):47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i&&(n=n.replace(/\//g,"\\")),n}function _(e,t){var n,r=t?b:v,i="",s=e.scheme,o=e.authority,a=e.path,l=e.query,u=e.fragment;if(s&&(i+=s,i+=":"),(o||"file"===s)&&(i+="/",i+="/"),o){var h=o.indexOf("@");if(-1!==h){var c=o.substr(0,h);o=o.substr(h+1),-1===(h=c.indexOf(":"))?i+=r(c,!1):(i+=r(c.substr(0,h),!1),i+=":",i+=r(c.substr(h+1),!1)),i+="@"}-1===(h=(o=o.toLowerCase()).indexOf(":"))?i+=r(o,!1):(i+=r(o.substr(0,h),!1),i+=o.substr(h))}return a&&(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)?(n=a.charCodeAt(1))>=65&&n<=90&&(a="/".concat(String.fromCharCode(n+32),":").concat(a.substr(3))):a.length>=2&&58===a.charCodeAt(1)&&(n=a.charCodeAt(0))>=65&&n<=90&&(a="".concat(String.fromCharCode(n+32),":").concat(a.substr(2))),i+=r(a,!0)),l&&(i+="?",i+=r(l,!1)),u&&(i+="#",i+=t?u:v(u,!1)),i}var C=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(C)?e.replace(C,function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)}):e}var w,L=n(470),x=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,s=t.length;i{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)})();var aM=function(){function e(e,t){this.globWrappers=[];try{for(var n=0;n0&&("/"===r[0]&&(r=r.substring(1)),this.globWrappers.push({regexp:function(e,t){if("string"!=typeof e)throw TypeError("Expected a string");for(var n,r=String(e),i="",s=!!t&&!!t.extended,o=!!t&&!!t.globstar,a=!1,l=t&&"string"==typeof t.flags?t.flags:"",u=0,h=r.length;u1&&("/"===c||void 0===c||"{"===c||","===c)&&("/"===f||void 0===f||","===f||"}"===f)?("/"===f?u++:"/"===c&&i.endsWith("\\/")&&(i=i.substr(0,i.length-2)),i+="((?:[^/]*(?:/|$))*)"):i+="([^/]*)":i+=".*";break;default:i+=n}return(!l||!~l.indexOf("g"))&&(i="^"+i+"$"),new RegExp(i,l)}("**/"+r,{extended:!0,globstar:!0}),include:i}))}this.uris=t}catch(e){this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0,r=this.globWrappers;n0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){var t=this;this.cachedSchemaForResource=void 0;for(var n=!1,r=[e=aD(e)],i=Object.keys(this.schemasById).map(function(e){return t.schemasById[e]});r.length;){for(var s=r.pop(),o=0;o1&&(n=r[1]),oQ(n,".")&&(n=n.substr(0,n.length-1)),new aI({},[o9("json.schema.nocontent","Unable to load schema from '{0}': {1}.",aq(e),n)])})},e.prototype.resolveSchemaContent=function(e,t){var n=this,r=e.errors.slice(0),i=e.schema;if(i.$schema){var s=aD(i.$schema);if("http://json-schema.org/draft-03/schema"===s)return this.promise.resolve(new aP({},[o9("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===s?r.push(o9("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported.")):"https://json-schema.org/draft/2020-12/schema"===s&&r.push(o9("json.schema.draft202012.notsupported","Draft 2020-12 schemas are not yet fully supported."))}var o=this.contextService,a=function(e,t){t=decodeURIComponent(t);var n=e;return"/"===t[0]&&(t=t.substring(1)),t.split("/").some(function(e){return!(n=n[e=e.replace(/~1/g,"/").replace(/~0/g,"~")])}),n},l=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&"id"!==n&&"$id"!==n&&(e[n]=t[n])},u=function(e,t,n,i){var s,o,u,h;if(void 0===i||0===i.length)s=t;else if("/"===i.charAt(0))s=a(t,i);else{;o=t,u=n,h=i,u.anchors||(u.anchors=d(o)),s=u.anchors.get(h)}s?l(e,s):r.push(o9("json.schema.invalidid","$ref '{0}' in '{1}' can not be resolved.",i,n.uri))},h=function(e,t,i,s){o&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(t)&&(t=o.resolveRelativePath(t,s.uri)),t=aD(t);var a=n.getOrAddSchemaHandle(t);return a.getUnresolvedSchema().then(function(n){if(s.dependencies.add(t),n.errors.length){var o=i?t+"#"+i:t;r.push(o9("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,n.errors[0]))}return u(e,n.schema,a,i),c(e,n.schema,a)})},c=function(e,t,r){var i=[];return n.traverseNodes(e,function(e){for(var n=new Set;e.$ref;){var s=e.$ref,o=s.split("#",2);if(delete e.$ref,o[0].length>0){i.push(h(e,o[0],o[1],r));return}!n.has(s)&&(u(e,t,r,o[1]),n.add(s))}}),n.promise.all(i)},d=function(e){var t=new Map;return n.traverseNodes(e,function(e){var n=e.$id||e.id;if("string"==typeof n&&"#"===n.charAt(0)){var i=n.substring(1);t.has(i)?r.push(o9("json.schema.duplicateid","Duplicate id declaration: '{0}'",n)):t.set(i,e)}}),t};return c(i,i,t).then(function(e){return new aP(i,r)})},e.prototype.traverseNodes=function(e,t){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var n=new Set,r=[e],i=r.pop();i;)!n.has(i)&&(n.add(i),t(i),!function(){for(var e=[],t=0;t0?this.createCombinedSchema(e,i).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:s},s},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map(function(e){return{$ref:e}})};return this.addSchemaHandle(n,r)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var r=n.id||"schemaservice://untitled/matchingSchemas/"+aV++;return this.addSchemaHandle(r,n).getResolvedSchema().then(function(e){return t.getMatchingSchemas(e.schema).filter(function(e){return!e.inverted})})}return this.getSchemaForResource(e.uri,t).then(function(e){return e?t.getMatchingSchemas(e.schema).filter(function(e){return!e.inverted}):[]})},e}(),aV=0;function aD(e){try{return aR.parse(e).toString(!0)}catch(t){return e}}function aq(e){try{var t=aR.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}function aK(e,t){var n=[],r=[],i=[],s=-1,o=oV(e.getText(),!1),a=o.scan();function l(e){n.push(e),r.push(i.length)}for(;17!==a;){switch(a){case 1:case 3:var u=e.positionAt(o.getTokenOffset()).line,h={startLine:u,endLine:u,kind:1===a?"object":"array"};i.push(h);break;case 2:case 4:var c=2===a?"object":"array";if(i.length>0&&i[i.length-1].kind===c){var h=i.pop(),d=e.positionAt(o.getTokenOffset()).line;h&&d>h.startLine+1&&s!==h.startLine&&(h.endLine=d-1,l(h),s=h.startLine)}break;case 13:var u=e.positionAt(o.getTokenOffset()).line,f=e.positionAt(o.getTokenOffset()+o.getTokenLength()).line;1===o.getTokenError()&&u+1=0&&i[g].kind!==nh.Region;)g--;if(g>=0){var h=i[g];i.length=g,d>h.startLine&&s!==h.startLine&&(h.endLine=d,l(h),s=h.startLine)}}}}a=o.scan()}var p=t&&t.rangeLimit;if("number"!=typeof p||n.length<=p)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var v=[],b=0;bp){C=g;break}_+=S}}for(var w=[],g=0;g=l&&s<=u&&a.push(r(l,u)),a.push(r(o.offset,o.offset+o.length));break;case"number":case"boolean":case"null":case"property":a.push(r(o.offset,o.offset+o.length))}if("property"===o.type||o.parent&&"array"===o.parent.type){var h=function(e,t){return(i.setPosition(e),i.scan()===t)?i.getTokenOffset()+i.getTokenLength():-1}(o.offset+o.length,5);-1!==h&&a.push(r(o.offset,h))}o=o.parent}for(var c=void 0,d=a.length-1;d>=0;d--)c=n2.create(a[d],c);return!c&&(c=n2.create(ni.create(t,t))),c})}function aU(e,t){var n=[];return t.visit(function(r){var i;if("property"===r.type&&"$ref"===r.keyNode.value&&(null===(i=r.valueNode)||void 0===i?void 0:i.type)==="string"){var s=function(e,t){var n=function(e){return"#"===e?[]:"#"!==e[0]||"/"!==e[1]?null:e.substring(2).split(/\//).map(aB)}(t);return n?function e(t,n){if(!n)return null;if(0===t.length)return n;var r=t.shift();if(n&&"object"===n.type){var i=n.properties.find(function(e){return e.keyNode.value===r});return i?e(t,i.valueNode):null}if(n&&"array"===n.type&&r.match(/^(0|[1-9][0-9]*)$/)){var s=Number.parseInt(r),o=n.items[s];return o?e(t,o):null}return null}(n,e.root):null}(t,r.valueNode.value);if(s){var o=e.positionAt(s.offset);n.push({target:"".concat(e.uri,"#").concat(o.line+1,",").concat(o.character+1),range:function(e,t){return ni.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}(e,r.valueNode)})}}return!0}),Promise.resolve(n)}function aB(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}"undefined"!=typeof fetch&&(ri=function(e){return fetch(e).then(e=>e.text())});var a$=class{_ctx;_languageService;_languageSettings;_languageId;constructor(e,t){var n,r,i,s,o,a,l;this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=(r=(n={workspaceContext:{resolveRelativePath:(e,t)=>(function(e,t){if(47===t.charCodeAt(0)){let n=aR.parse(e),r=t.split("/");return n.with({path:aW(r)}).toString()}return function(e,...t){let n=aR.parse(e),r=n.path.split("/");for(let e of t)r.push(...e.split("/"));return n.with({path:aW(r)}).toString()}(e,t)})(t.substr(0,t.lastIndexOf("/")+1),e)},schemaRequestService:t.enableSchemaRequest?ri:void 0}).promiseConstructor||Promise,(i=new aF(n.schemaRequestService,n.workspaceContext,r)).setSchemaContributions(aA),s=new ay(i,n.contributions,r,n.clientCapabilities),o=new a_(i,n.contributions,r),a=new aE(i),{configure:function(e){i.clearExternalSchemas(),e.schemas&&e.schemas.forEach(function(e){i.registerExternalSchema(e.uri,e.fileMatch,e.schema)}),l.configure(e)},resetSchema:function(e){return i.onResourceChange(e)},doValidation:(l=new aS(i,r)).doValidation.bind(l),getLanguageStatus:l.getLanguageStatus.bind(l),parseJSONDocument:function(e){return function(e,t){var n=[],r=-1,i=e.getText(),s=oV(i,!1),o=t&&t.collectComments?[]:void 0;function a(){for(;;){var t=s.scan();switch(function(){switch(s.getTokenError()){case 4:return u(o9("InvalidUnicode","Invalid unicode sequence in string."),n9.InvalidUnicode);case 5:return u(o9("InvalidEscapeCharacter","Invalid escape character in string."),n9.InvalidEscapeCharacter);case 3:return u(o9("UnexpectedEndOfNumber","Unexpected end of number."),n9.UnexpectedEndOfNumber);case 1:return u(o9("UnexpectedEndOfComment","Unexpected end of comment."),n9.UnexpectedEndOfComment);case 2:return u(o9("UnexpectedEndOfString","Unexpected end of string."),n9.UnexpectedEndOfString);case 6:return u(o9("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),n9.InvalidCharacter)};}(),t){case 12:case 13:Array.isArray(o)&&o.push(ni.create(e.positionAt(s.getTokenOffset()),e.positionAt(s.getTokenOffset()+s.getTokenLength())));break;case 15:case 14:break;default:return t}}}function l(t,i,s,o,a){if(void 0===a&&(a=nf.Error),0===n.length||s!==r){var l=ni.create(e.positionAt(s),e.positionAt(o));n.push(np.create(l,t,a,i,e.languageId)),r=s}}function u(e,t,n,r,o){void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===o&&(o=[]);var u=s.getTokenOffset(),c=s.getTokenOffset()+s.getTokenLength();if(u===c&&u>0){for(u--;u>0&&/\s/.test(i.charAt(u));)u--;c=u+1}if(l(e,t,u,c),n&&h(n,!1),r.length+o.length>0){for(var d=s.getToken();17!==d;){if(-1!==r.indexOf(d)){a();break}if(-1!==o.indexOf(d))break;d=a()}}return n}function h(e,t){return e.length=s.getTokenOffset()+s.getTokenLength()-e.offset,t&&a(),e}var c=new as(void 0,0,0);function d(e){if(10===s.getToken()){var t=new as(e,s.getTokenOffset());return t.value=s.getTokenValue(),h(t,!0)}}function f(t){return function(e){if(3===s.getToken()){var t=new ar(e,s.getTokenOffset());a();for(var n=!1;4!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){!n&&u(o9("ValueExpected","Value expected"),n9.ValueExpected);var r=s.getTokenOffset();if(a(),4===s.getToken()){n&&l(o9("TrailingComma","Trailing comma"),n9.TrailingComma,r,r+1);continue}}else n&&u(o9("ExpectedComma","Expected comma"),n9.CommaExpected);var i=f(t);i?t.items.push(i):u(o9("PropertyExpected","Value expected"),n9.ValueExpected,void 0,[],[4,5]),n=!0}return 4!==s.getToken()?u(o9("ExpectedCloseBracket","Expected comma or closing bracket"),n9.CommaOrCloseBacketExpected,t):h(t,!0)}}(t)||function(t){if(1===s.getToken()){var n=new aa(t,s.getTokenOffset()),r=Object.create(null);a();for(var i=!1;2!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){!i&&u(o9("PropertyExpected","Property expected"),n9.PropertyExpected);var o=s.getTokenOffset();if(a(),2===s.getToken()){i&&l(o9("TrailingComma","Trailing comma"),n9.TrailingComma,o,o+1);continue}}else i&&u(o9("ExpectedComma","Expected comma"),n9.CommaExpected);var m=function(t,n){var r=new ao(t,s.getTokenOffset(),c),i=d(r);if(!i){if(16!==s.getToken())return;u(o9("DoubleQuotesExpected","Property keys must be doublequoted"),n9.Undefined);var o=new as(r,s.getTokenOffset(),s.getTokenLength());o.value=s.getTokenValue(),i=o,a()}r.keyNode=i;var h=n[i.value];if(h?(l(o9("DuplicateKeyWarning","Duplicate object key"),n9.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,nf.Warning),"object"==typeof h&&l(o9("DuplicateKeyWarning","Duplicate object key"),n9.DuplicateKey,h.keyNode.offset,h.keyNode.offset+h.keyNode.length,nf.Warning),n[i.value]=!0):n[i.value]=r,6===s.getToken())r.colonOffset=s.getTokenOffset(),a();else if(u(o9("ColonExpected","Colon expected"),n9.ColonExpected),10===s.getToken()&&e.positionAt(i.offset+i.length).line0&&!oU(e,s-1);)s--;for(var r,i,s,o,a,l,u=a;uo)&&e.substring(r,i)!==n&&v.push({offset:r,length:i-r,content:n})}var y=p();if(17!==y){var _=f.getTokenOffset()+s;b(oj(l,r),s,_)}for(;17!==y;){for(var C=f.getTokenOffset()+f.getTokenLength()+s,S=p(),w="",L=!1;!c&&(12===S||13===S);)b(" ",C,f.getTokenOffset()+s),C=f.getTokenOffset()+f.getTokenLength()+s,w=(L=12===S)?g():"",S=p();if(2===S)1!==y&&(d--,w=g());else if(4===S)3!==y&&(d--,w=g());else{switch(y){case 3:case 1:d++,w=g();break;case 5:case 12:w=g();break;case 13:c?w=g():!L&&(w=" ");break;case 6:!L&&(w=" ");break;case 10:if(6===S){!L&&(w="");break}case 7:case 8:case 9:case 11:case 2:case 4:12===S||13===S?!L&&(w=" "):5!==S&&17!==S&&(m=!0);break;case 16:m=!0}c&&(12===S||13===S)&&(w=g())}17===S&&(w=n.insertFinalNewline?h:""),b(w,C,f.getTokenOffset()+s),y=S}return v}(r,i,a)).map(function(t){return nb.replace(ni.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)})}}),this._languageService.configure(this._languageSettings)}async doValidation(e){let t=this._getTextDocument(e);if(t){let e=this._languageService.parseJSONDocument(t);return this._languageService.doValidation(t,e,this._languageSettings)}return Promise.resolve([])}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doComplete(n,t,r)}async doResolve(e){return this._languageService.doResolve(e)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doHover(n,t,r)}async format(e,t,n){let r=this._getTextDocument(e);return r?Promise.resolve(this._languageService.format(r,t,n)):[]}async resetSchema(e){return Promise.resolve(this._languageService.resetSchema(e))}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t);return Promise.resolve(this._languageService.findDocumentSymbols(t,n))}async findDocumentColors(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t);return Promise.resolve(this._languageService.findDocumentColors(t,n))}async getColorPresentations(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.parseJSONDocument(r);return Promise.resolve(this._languageService.getColorPresentations(r,i,t,n))}async getFoldingRanges(e,t){let n=this._getTextDocument(e);return n?Promise.resolve(this._languageService.getFoldingRanges(n,t)):[]}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseJSONDocument(n);return Promise.resolve(this._languageService.getSelectionRanges(n,t,r))}_getTextDocument(e){for(let t of this._ctx.getMirrorModels())if(t.uri.toString()===e)return n7.create(e,this._languageId,t.version,t.getValue());return null}};function aW(e){let t=[];for(let n of e)0===n.length||1===n.length&&46===n.charCodeAt(0)||(2===n.length&&46===n.charCodeAt(0)&&46===n.charCodeAt(1)?t.pop():t.push(n));e.length>1&&0===e[e.length-1].length&&t.push("");let n=t.join("/");return 0===e[0].length&&(n="/"+n),n}self.onmessage=()=>{oF((e,t)=>new a$(e,t))}})(); \ No newline at end of file diff --git a/lunr-index-1733362523219.json b/lunr-index-1733362523219.json new file mode 100644 index 0000000..38e507b --- /dev/null +++ b/lunr-index-1733362523219.json @@ -0,0 +1 @@ +{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,919.74]],["content/0",[]],["keywords/0",[]],["title/1",[1,807.953,2,807.953]],["content/1",[3,7.678,4,8.417,5,9.54,6,4.406,7,7.678,8,9.54,9,7.678,10,9.54,11,6.684,12,9.54,13,7.678,14,7.678,15,9.54,16,9.54,17,9.54,18,7.125,19,6.281,20,9.54,21,8.417,22,8.417]],["keywords/1",[]],["title/2",[23,712.844,24,712.844]],["content/2",[]],["keywords/2",[]],["title/3",[25,566.043,26,508.297]],["content/3",[6,5.627,19,6.015,26,7.665,27,4.982,28,7.665,29,12.183,30,12.183,31,12.183]],["keywords/3",[]],["title/4",[32,712.844,33,566.043]],["content/4",[34,14.316,35,5.856,36,11.451,37,11.451,38,10.103,39,9.215,40,9.215,41,11.451,42,7.582,43,10.103]],["keywords/4",[]],["title/5",[6,304.613,28,414.953,44,462.095]],["content/5",[6,3.524,19,5.383,28,4.8,33,5.346,38,6.732,43,6.732,44,5.346,45,2.792,46,12.722,47,8.774,48,6.14,49,6.732,50,5.346,51,6.859,52,12.246,53,4.8,54,7.63,55,7.63,56,6.732,57,2.649,58,7.63,59,7.63,60,9.62,61,6.14,62,5.052,63,6.732,64,7.63]],["keywords/5",[]],["title/6",[6,373.136,26,508.297]],["content/6",[6,4.518,19,3.247,26,6.155,27,2.689,32,5.803,33,4.608,48,5.293,51,7.35,52,8.632,53,6.155,56,8.632,60,5.803,65,6.478,66,9.784,67,9.784,68,9.784,69,5.803,70,6.577,71,6.854,72,4.608,73,6.577,74,4.912,75,3.948,76,3.49,77,4.912,78,4.912,79,6.577,80,5.803,81,5.803,82,6.577,83,5.803,84,3.49,85,5.293,86,5.803,87,6.577,88,6.577]],["keywords/6",[]],["title/7",[27,269.719,89,581.937,90,530.795]],["content/7",[]],["keywords/7",[]],["title/8",[27,269.719,90,530.795,91,363.81]],["content/8",[0,5.314,19,4.52,27,2.463,28,3.789,85,4.847,89,5.314,90,8.916,91,3.322,92,3.196,93,9.157,94,9.157,95,9.157,96,9.157,97,5.314,98,11.079,99,7.762,100,3.789,101,5.761,102,6.023,103,6.023,104,6.023,105,6.023,106,5.314,107,7.369,108,6.023,109,9.157,110,6.023,111,6.023,112,6.023,113,4.498,114,6.023,115,6.023,116,5.314,117,5.314,118,6.023,119,4.847,120,6.023,121,6.023,122,6.023,123,3.789,124,3.988,125,6.023]],["keywords/8",[]],["title/9",[6,373.136,126,650.197]],["content/9",[]],["keywords/9",[]],["title/10",[6,373.136,75,484.993]],["content/10",[6,5.289,44,8.023,51,7.204,53,7.204,75,9.376,92,6.076,127,10.103,128,10.103,129,7.582]],["keywords/10",[]],["title/11",[6,373.136,126,650.197]],["content/11",[3,7.197,51,5.626,53,5.626,75,8.315,76,4.745,77,9.097,81,7.891,119,7.197,123,7.663,126,9.803,127,7.891,129,8.065,130,8.943,131,8.943,132,8.943,133,8.943,134,8.943,135,7.891,136,8.943]],["keywords/11",[]],["title/12",[27,330.393,84,428.712]],["content/12",[]],["keywords/12",[]],["title/13",[27,227.872,84,295.684,91,307.366,137,416.17]],["content/13",[27,3.039,28,4.676,84,5.677,92,3.943,123,4.676,124,4.921,137,11.649,138,9.44,139,10.699,140,10.699,141,7.432,142,7.432,143,4.921,144,5.207,145,6.557,146,7.432,147,5.45,148,6.557,149,7.432,150,7.432,151,7.432,152,7.432,153,7.432,154,7.432,155,6.557]],["keywords/13",[]],["title/14",[27,227.872,84,295.684,91,307.366,156,320.218]],["content/14",[27,3.967,28,6.104,84,8.157,92,5.148,123,6.104,124,6.424,138,11.352,147,3.856,155,8.56,156,9.192,157,12.866]],["keywords/14",[]],["title/15",[6,373.136,158,603.406]],["content/15",[]],["keywords/15",[]],["title/16",[7,650.197,159,712.844]],["content/16",[76,6.905,143,6.535,144,6.915,147,6.151,159,8.708,160,7.943,161,10.472,162,6.209,163,5.672,164,10.472,165,9.87,166,13.013]],["keywords/16",[]],["title/17",[158,603.406,167,484.993]],["content/17",[83,10.981,92,4.899,129,6.113,158,6.895,168,8.145,169,9.232,170,9.232,171,9.232,172,14.08,173,14.08,174,12.423,175,9.232,176,9.232,177,12.446,178,8.145]],["keywords/17",[]],["title/18",[6,304.613,26,414.953,76,349.983]],["content/18",[6,5.748,25,6.468,26,8.858,45,3.378,51,5.808,53,5.808,65,6.113,76,7.996,84,4.899,158,6.895,164,7.43,178,8.145,179,9.232,180,9.232,181,9.232,182,6.895,183,5.092]],["keywords/18",[]],["title/19",[76,349.983,162,414.953,184,492.596]],["content/19",[9,9.122,11,5.647,57,2.798,74,6.02,76,6.015,92,4.277,123,5.071,143,5.337,144,5.647,147,6.674,160,6.487,161,9.122,162,5.071,184,8.466,185,7.112,186,5.647,187,7.112,188,8.061,189,7.112]],["keywords/19",[]],["title/20",[6,304.613,75,395.928,76,349.983]],["content/20",[6,6.15,51,8.377,53,8.377,75,9.418,76,7.858,164,8.227,190,4.063,191,6.768,192,10.223]],["keywords/20",[]],["title/21",[35,337.309,167,395.928,193,659.58]],["content/21",[]],["keywords/21",[]],["title/22",[27,269.719,35,337.309,167,395.928]],["content/22",[19,4.155,27,3.442,35,6.863,50,5.897,51,5.295,53,5.295,123,5.295,129,5.573,167,8.055,168,7.426,194,8.417,195,15.23,196,8.417,197,7.426,198,8.417,199,7.426,200,8.417,201,8.417,202,8.417,203,8.417,204,8.417]],["keywords/22",[]],["title/23",[35,337.309,162,414.953,184,492.596]],["content/23",[9,9.122,11,5.647,35,6.705,57,2.798,74,6.02,92,4.277,143,5.337,144,5.647,147,6.674,160,6.487,161,9.122,162,5.071,167,4.839,184,8.466,185,7.112,187,7.112,189,7.112,205,8.061]],["keywords/23",[]],["title/24",[35,337.309,206,530.795,207,659.58]],["content/24",[35,5.741,85,9.034,129,7.433,167,6.739,197,9.905,206,11.379,208,8.384,209,9.034,210,11.226,211,11.226,212,11.226]],["keywords/24",[]],["title/25",[27,330.393,213,295.653]],["content/25",[]],["keywords/25",[]],["title/26",[27,269.719,91,363.81,167,395.928]],["content/26",[19,5.234,27,4.335,28,6.67,91,5.848,92,5.625,123,6.67,124,7.019,147,4.213,156,6.092,213,4.989,214,12.029,215,9.354,216,10.602]],["keywords/26",[]],["title/27",[7,650.197,217,650.197]],["content/27",[11,4.716,13,5.417,19,4.914,23,5.939,24,5.939,27,4.07,48,5.417,57,2.337,91,3.713,129,4.457,143,4.457,144,4.716,147,6.011,162,4.235,167,4.041,208,5.028,213,3.642,214,5.939,215,8.782,217,9.531,218,5.417,219,8.011,220,6.732,221,6.732,222,6.732,223,6.732,224,6.732,225,5.939,226,9.954,227,6.732,228,6.732,229,6.732]],["keywords/27",[]],["title/28",[25,566.043,26,508.297]],["content/28",[]],["keywords/28",[]],["title/29",[230,919.74]],["content/29",[57,2.631,61,3.805,100,2.974,186,3.312,191,3.13,230,4.171,231,8.306,232,4.728,233,4.171,234,4.728,235,7.579,236,5.66,237,3.805,238,4.728,239,4.728,240,5.66,241,3.805,242,4.728,243,6.687,244,3.13,245,6.687,246,3.741,247,3.531,248,2.838,249,4.728,250,3.805,251,4.171,252,4.171,253,4.728,254,4.728,255,4.728,256,3.741,257,4.171,258,4.728,259,3.312,260,4.728,261,4.171,262,2.608,263,2.608,264,3.13,265,4.728,266,2.838,267,3.531,268,2.608,269,3.531,270,3.13,271,7.634,272,3.805,273,3.805,274,4.728,275,2.717,276,4.728,277,3.805,278,3.805,279,4.728,280,4.728,281,2.608,282,4.171,283,3.805,284,7.579,285,3.805,286,4.728,287,4.728,288,4.728]],["keywords/29",[]],["title/30",[289,730.332]],["content/30",[21,4.389,22,6.964,27,2.034,61,4.003,71,3.485,135,6.964,183,2.744,190,1.977,191,3.294,231,4.738,237,4.003,244,3.294,246,2.456,248,2.986,256,4.843,257,4.389,259,9.081,263,2.744,270,3.294,271,4.003,273,6.352,277,4.003,281,2.744,282,4.389,283,4.003,285,4.003,289,3.485,290,4.389,291,3.13,292,4.389,293,4.975,294,3.13,295,7.893,296,4.975,297,4.975,298,4.975,299,4.975,300,5.895,301,4.975,302,4.003,303,4.975,304,4.975,305,6.352,306,4.975,307,4.975,308,4.003,309,4.975,310,3.485,311,4.389,312,4.389,313,4.975,314,4.975,315,3.485,316,4.975,317,4.975,318,3.13,319,4.975,320,7.893,321,4.389,322,3.715,323,4.975]],["keywords/30",[]],["title/31",[25,390.401,84,295.684,324,491.65,325,448.442]],["content/31",[71,5.985,186,5.985,256,5.827,262,4.712,266,5.128,291,5.374,294,5.374,324,7.537,325,6.874,326,7.537,327,5.985,328,8.542,329,6.874,330,8.542,331,7.537,332,6.874,333,8.542,334,8.542,335,8.542,336,8.542,337,8.542,338,8.542,339,8.542,340,7.537,341,3.945,342,8.542,343,8.542]],["keywords/31",[]],["title/32",[213,381.463]],["content/32",[45,3.378,147,3.669,213,3.378,231,5.542,256,6.144,262,5.092,291,5.808,322,6.895,344,8.145,345,9.232,346,9.232,347,6.895,348,9.232,349,7.43,350,5.305,351,9.232,352,9.232,353,5.542,354,9.232,355,9.232,356,9.232,357,9.232]],["keywords/32",[]],["title/33",[358,919.74]],["content/33",[33,3.206,65,3.03,78,3.418,80,6.514,91,2.524,113,3.418,186,3.206,231,2.747,237,5.942,246,2.259,248,4.432,251,4.038,252,6.514,256,6.166,259,6.502,262,2.524,263,4.072,269,3.418,271,3.683,273,5.942,281,2.524,285,3.683,291,2.879,294,2.879,300,3.418,308,5.942,315,3.206,318,2.879,322,3.418,344,4.038,358,4.038,359,7.383,360,4.576,361,4.576,362,3.683,363,4.038,364,3.683,365,7.383,366,3.683,367,4.038,368,2.63,369,4.576,370,4.576,371,4.576,372,4.576,373,4.038,374,4.576,375,4.576,376,4.576,377,3.03,378,4.576,379,3.683,380,4.576,381,4.576,382,4.576,383,4.576,384,6.514,385,3.683,386,4.576,387,7.383,388,4.576,389,4.576,390,4.576,391,4.576,392,4.576,393,4.576,394,4.576,395,4.038]],["keywords/33",[]],["title/34",[396,414.272]],["content/34",[397,6.407]],["keywords/34",[]],["title/35",[156,464.284,398,712.844]],["content/35",[]],["keywords/35",[]],["title/36",[399,712.844,400,566.043]],["content/36",[13,5.116,19,3.138,39,5.116,65,4.209,84,3.373,97,5.609,99,8.021,107,5.116,116,8.416,147,2.526,156,7.311,163,3.653,213,4.189,218,5.116,264,4.209,268,6.315,275,3.653,349,5.116,399,8.416,400,6.683,401,6.358,402,5.609,403,6.358,404,4.454,405,6.358,406,5.609,407,5.609,408,6.358,409,5.116,410,4.748,411,6.358,412,6.358,413,6.358,414,6.358,415,5.609,416,5.116,417,5.609,418,5.609,419,5.116]],["keywords/36",[]],["title/37",[420,919.74]],["content/37",[27,5.758,45,3.378,84,4.899,92,4.899,107,7.43,156,5.305,163,5.305,332,11.331,420,8.145,421,6.113,422,10.016,423,8.145,424,14.08,425,9.232,426,9.232,427,9.232]],["keywords/37",[]],["title/38",[428,919.74]],["content/38",[19,5.709,45,4.872,69,7.318,92,6.137,128,7.318,156,6.646,163,4.766,240,6.195,421,5.492,422,6.675,423,7.318,428,12.709,429,8.295,430,4.348,431,8.295,432,8.295,433,7.318,434,8.295,435,8.295,436,8.295,437,8.295]],["keywords/38",[]],["title/39",[62,534.94,438,712.844]],["content/39",[62,6.015,145,10.863,147,6.218,148,10.863,156,5.221,163,5.221,438,8.016,439,6.785,440,8.016,441,9.085,442,9.085,443,12.312,444,12.312,445,12.312,446,9.085]],["keywords/39",[]],["title/40",[447,919.74]],["content/40",[19,4.281,27,3.546,45,4.364,147,4.74,398,10.523,439,6.477,447,7.651,448,8.672,449,8.672,450,8.672,451,11.927,452,11.927,453,8.907,454,8.672,455,11.927,456,10.523,457,11.927,458,6.076]],["keywords/40",[]],["title/41",[459,603.406,460,650.197]],["content/41",[19,4.217,45,3.126,78,6.38,163,6.783,213,3.126,217,6.874,384,7.537,439,6.38,459,8.816,461,7.537,462,9.499,463,11.804,464,5.374,465,7.537,466,4.909,467,5.451,468,6.263,469,7.537,470,8.542,471,8.542,472,6.874,473,5.128]],["keywords/41",[]],["title/42",[474,650.197,475,712.844]],["content/42",[147,4.644,459,8.727,460,9.404,476,11.685,477,11.685,478,11.685,479,10.31,480,14.498,481,10.31]],["keywords/42",[]],["title/43",[482,1042.454]],["content/43",[147,2.916,367,6.473,459,5.479,460,5.904,479,10.98,481,12.027,483,7.337,484,7.337,485,7.337,486,7.337,487,7.337,488,6.473,489,9.352,490,7.337,491,7.337,492,7.337,493,7.337,494,7.337,495,7.337,496,7.337,497,7.337,498,7.337,499,7.337,500,10.6,501,5.904,502,9.352,503,7.337,504,7.337,505,7.337,506,7.337,507,7.337]],["keywords/43",[]],["title/44",[137,492.596,508,581.937,509,581.937]],["content/44",[19,2.882,45,2.136,137,4.36,143,3.865,147,6.059,156,3.355,213,2.136,219,4.698,302,4.698,440,5.151,467,2.696,489,9.589,508,5.151,509,5.151,510,5.151,511,5.838,512,5.838,513,5.838,514,10.868,515,13.131,516,5.838,517,5.838,518,5.838,519,5.838,520,5.838,521,5.838,522,5.151,523,5.838,524,5.838,525,5.838,526,5.838,527,5.838,528,5.838,529,5.838,530,8.942,531,5.838,532,5.838,533,5.838,534,5.838,535,5.838,536,5.838,537,5.838]],["keywords/44",[]],["title/45",[538,838.911]],["content/45",[]],["keywords/45",[]],["title/46",[539,1042.454]],["content/46",[86,11.751,278,10.718,540,8.818,541,13.319]],["keywords/46",[]],["title/47",[350,599.038]],["content/47",[45,3.88,190,4.213,262,5.848,281,5.848,290,9.354,294,6.67,350,6.092,464,6.67,538,8.532,540,7.019,542,7.428,543,6.67,544,10.602,545,10.602,546,10.602]],["keywords/47",[]],["title/48",[547,919.74]],["content/48",[14,3.11,45,1.414,65,2.559,74,2.886,75,2.32,76,3.411,100,6.718,163,2.221,190,1.536,209,3.11,246,1.908,250,7.74,266,2.32,281,3.546,283,3.11,291,2.431,292,3.41,311,3.41,315,2.708,327,5.782,329,3.11,347,6.164,366,3.11,373,3.41,400,4.504,473,2.32,488,5.672,540,2.559,543,5.192,548,3.865,549,6.428,550,9.618,551,6.428,552,2.886,553,2.708,554,3.865,555,3.865,556,2.886,557,5.672,558,3.41,559,3.865,560,6.428,561,3.865,562,3.865,563,3.865,564,5.672,565,3.41,566,3.865,567,3.865,568,7.481,569,3.41,570,3.865,571,3.865,572,3.865,573,3.865,574,3.865,575,3.41,576,3.865,577,2.32,578,3.41,579,6.428,580,3.41,581,5.672,582,3.41,583,3.865,584,3.865,585,3.865,586,3.865,587,3.41,588,5.173,589,6.428,590,3.865,591,3.865,592,2.886,593,2.559,594,3.865]],["keywords/48",[]],["title/49",[595,655.825]],["content/49",[4,1.862,14,1.698,25,1.478,33,2.662,42,1.397,45,1.897,50,4.441,57,0.732,65,1.397,71,1.478,84,1.12,91,1.164,99,1.478,100,4.603,113,1.576,117,1.862,162,1.328,182,3.872,183,1.164,190,2.908,191,1.397,209,1.698,213,0.772,231,4.392,241,1.698,243,1.862,244,1.397,246,1.876,250,3.058,262,1.164,266,3.112,268,1.164,270,3.433,275,4.204,291,1.328,315,1.478,329,1.698,341,1.755,350,2.184,362,1.698,366,3.058,368,1.213,377,1.397,379,1.698,395,1.862,416,1.698,419,1.698,453,1.576,456,3.353,458,1.478,462,1.698,464,1.328,467,2.394,473,1.267,474,1.698,510,1.862,540,3.433,542,2.662,543,3.988,547,1.862,552,2.838,553,1.478,556,7.528,557,1.862,558,3.353,564,1.862,568,6.222,569,3.353,575,3.353,577,4.392,578,1.862,580,1.862,581,1.862,593,1.397,595,3.262,596,1.698,597,2.11,598,5.593,599,4.574,600,1.698,601,2.11,602,1.862,603,1.698,604,2.11,605,2.11,606,2.11,607,2.11,608,3.8,609,1.576,610,2.11,611,2.11,612,2.11,613,1.862,614,2.11,615,2.11,616,5.185,617,3.8,618,3.058,619,3.8,620,2.11,621,2.11,622,2.11,623,3.8,624,2.11,625,2.11,626,2.11,627,2.11,628,2.11,629,1.862,630,2.11,631,2.11,632,2.11,633,1.862,634,2.11,635,2.11,636,2.11,637,2.11,638,2.11,639,1.576,640,2.11,641,1.862,642,2.11,643,2.11,644,2.11,645,2.11,646,1.862,647,2.11,648,2.11,649,2.11,650,2.11,651,1.862,652,1.698,653,2.11,654,1.698,655,2.11,656,1.862,657,1.12,658,2.11,659,2.11,660,2.11,661,2.11,662,2.11,663,2.11,664,2.11,665,1.478,666,2.11,667,2.11,668,2.11,669,1.862,670,1.576,671,1.397,672,2.11,673,2.11,674,2.11]],["keywords/49",[]],["title/50",[246,398.858,310,566.043]],["content/50",[42,3.382,44,2.065,45,1.079,71,2.065,72,6.384,78,3.814,100,4.251,190,2.685,206,2.372,245,2.601,246,4.498,262,1.626,266,3.066,268,2.817,275,5.236,281,1.626,289,2.065,318,1.855,341,3.121,350,4.631,377,4.474,416,2.372,433,5.962,462,2.372,464,1.855,468,2.71,473,1.77,474,8.621,502,2.601,540,3.382,542,3.578,543,5.07,568,4.734,595,5.07,596,2.372,600,4.11,629,2.601,633,2.601,646,2.601,656,2.601,669,2.601,670,5.047,671,1.952,675,6.486,676,2.948,677,9.982,678,2.948,679,1.855,680,2.948,681,1.952,682,2.948,683,2.948,684,2.948,685,2.948,686,2.948,687,2.948,688,2.948,689,6.757,690,9.982,691,2.948,692,4.631,693,5.107,694,2.948,695,2.948,696,2.601,697,2.948,698,5.107,699,5.107,700,2.948,701,2.948,702,2.948,703,2.948,704,2.948,705,2.948,706,2.601,707,2.372,708,2.202,709,2.372,710,2.372,711,2.948,712,2.948,713,2.948,714,2.948,715,2.948,716,2.948]],["keywords/50",[]],["title/51",[717,574.995]],["content/51",[3,1.863,44,1.622,45,2.485,57,3.256,62,3.701,72,1.622,76,1.229,77,1.729,92,1.229,106,2.043,182,1.729,190,2.222,191,3.701,199,2.043,218,3.323,219,1.863,240,1.729,244,1.533,247,1.729,248,2.479,256,6.052,259,1.622,262,3.746,263,3.083,267,1.729,269,4.175,275,2.373,281,1.277,300,1.729,305,1.863,327,1.622,349,1.863,368,3.902,396,3.098,406,2.043,430,0.87,439,1.729,464,1.457,466,2.373,469,2.043,475,2.043,540,5.161,543,1.457,553,1.622,565,3.644,568,1.622,592,1.729,595,4.272,596,3.323,602,2.043,609,1.729,671,1.533,679,2.598,707,3.323,717,1.277,718,2.315,719,1.729,720,2.315,721,2.315,722,4.13,723,1.863,724,1.729,725,1.184,726,1.622,727,2.315,728,2.315,729,2.315,730,2.315,731,4.175,732,4.13,733,2.893,734,1.457,735,2.315,736,2.315,737,3.084,738,2.315,739,1.729,740,2.315,741,2.043,742,2.315,743,2.315,744,2.315,745,2.315,746,2.315,747,2.315,748,2.315,749,2.315,750,2.315,751,2.315,752,2.315,753,2.315,754,1.533,755,2.315,756,2.315,757,2.315,758,2.315,759,2.315,760,2.315,761,2.315,762,2.315,763,2.315,764,2.315,765,2.315,766,2.315,767,2.315,768,2.315,769,2.315,770,5.59,771,4.13,772,2.315,773,2.315,774,2.112,775,4.136,776,2.315,777,2.315,778,1.863,779,4.13,780,2.315,781,4.13,782,2.315,783,2.315,784,2.315,785,6.791,786,2.315,787,2.315,788,2.315,789,2.315,790,1.622,791,2.315,792,2.315,793,2.315,794,2.315,795,2.315]],["keywords/51",[]],["title/52",[246,398.858,310,566.043]],["content/52",[]],["keywords/52",[]],["title/53",[731,778.539]],["content/53",[246,5.769,294,7.351,310,8.187,318,7.351,377,7.737,430,4.393,538,9.404,595,7.351,731,8.727,796,11.685]],["keywords/53",[]],["title/54",[350,464.284,670,603.406]],["content/54",[]],["keywords/54",[]],["title/55",[62,534.94,266,484.993]],["content/55",[190,4.551,318,7.204,350,6.58,397,5.124,543,7.204,553,8.023,675,9.215,731,8.552,797,9.215,798,11.451,799,11.451]],["keywords/55",[]],["title/56",[57,280.445,800,712.844]],["content/56",[57,5.324,318,6.927,397,4.926,466,6.327,568,7.714,613,9.714,675,8.86,679,6.927,797,8.86,800,9.714,801,11.01]],["keywords/56",[]],["title/57",[62,690.201]],["content/57",[]],["keywords/57",[]],["title/58",[717,574.995]],["content/58",[57,4.849,725,7.144]],["keywords/58",[]],["title/59",[190,414.272]],["content/59",[147,5.419,802,13.636,803,10.974]],["keywords/59",[]],["title/60",[353,484.993,657,428.712]],["content/60",[397,6.407]],["keywords/60",[]],["title/61",[430,391.909]],["content/61",[397,6.407]],["keywords/61",[]],["title/62",[368,464.284,577,484.993]],["content/62",[]],["keywords/62",[]],["title/63",[681,690.201]],["content/63",[99,9.784,368,7.52,404,4.716,430,2.531,501,5.417,552,5.028,577,9.08,652,10.531,654,5.417,665,8.298,734,4.235,804,10.45,805,5.417,806,5.417,807,6.732,808,5.939,809,5.939,810,5.939,811,5.939,812,7.434,813,5.939,814,5.939,815,5.939,816,5.939,817,5.939]],["keywords/63",[]],["title/64",[717,574.995]],["content/64",[57,1.233,75,2.133,99,7.736,101,3.769,113,2.653,182,4.474,233,3.134,262,1.96,268,3.304,325,2.859,364,2.859,368,6.346,404,2.489,409,2.859,430,1.336,501,2.859,552,2.653,577,8.399,600,2.859,652,8.886,654,2.859,665,5.442,692,2.041,696,3.134,724,4.474,725,3.064,734,2.235,790,2.489,804,8.046,805,2.859,806,2.859,808,3.134,809,3.134,810,3.134,811,3.134,812,8.247,813,3.134,814,3.134,815,9.743,816,5.285,817,5.285,818,3.966,819,3.553,820,3.553,821,5.991,822,2.489,823,2.489,824,3.553,825,6.853,826,3.134,827,3.553,828,3.553,829,5.991,830,3.134,831,3.553,832,3.553,833,3.553,834,3.553,835,3.134,836,3.134,837,3.553,838,3.553,839,2.352,840,3.553,841,3.553,842,3.553,843,3.553,844,3.553,845,3.134]],["keywords/64",[]],["title/65",[246,514.623]],["content/65",[]],["keywords/65",[]],["title/66",[681,690.201]],["content/66",[18,8.223,57,3.822,183,6.073,246,5.435,256,5.435,267,8.223,275,6.327,341,5.085,350,6.327,458,7.714,733,7.714,846,8.86,847,8.86]],["keywords/66",[]],["title/67",[717,574.995]],["content/67",[57,4.141,101,7.505,268,6.58,397,5.337,725,6.101,822,8.357,823,8.357,848,9.6,849,8.909]],["keywords/67",[]],["title/68",[190,414.272]],["content/68",[100,5.716,147,4.893,400,6.365,466,5.221,472,7.311,588,7.311,639,6.785,709,7.311,710,7.311,850,8.016,851,8.016,852,8.016,853,8.016,854,8.016,855,8.016,856,8.016,857,8.016,858,8.016,859,8.016,860,8.016,861,8.016,862,8.016,863,8.016]],["keywords/68",[]],["title/69",[353,484.993,657,428.712]],["content/69",[397,6.407]],["keywords/69",[]],["title/70",[430,391.909]],["content/70",[397,6.407]],["keywords/70",[]],["title/71",[190,414.272]],["content/71",[147,5.419,803,10.974,864,12.031]],["keywords/71",[]],["title/72",[353,484.993,657,428.712]],["content/72",[]],["keywords/72",[]],["title/73",[404,462.095,577,395.928,812,492.596]],["content/73",[57,1.601,124,3.054,191,4.92,247,5.55,256,4.606,261,4.07,263,2.545,278,3.712,302,3.712,318,2.902,322,3.445,327,3.232,331,4.07,332,3.712,347,5.55,404,7.495,464,2.902,522,8.232,577,6.422,582,4.07,599,4.07,618,7.509,665,5.206,671,3.054,719,3.445,724,3.445,725,2.359,774,2.359,775,5.677,790,5.206,805,3.712,806,3.712,812,3.445,835,8.232,836,4.07,839,3.054,865,5.98,866,4.613,867,4.613,868,4.07,869,10.698,870,9.331,871,4.613,872,4.613,873,4.613,874,4.613,875,4.613,876,7.431,877,4.613,878,4.613,879,4.613,880,4.613,881,4.613,882,4.613,883,4.613,884,4.613]],["keywords/73",[]],["title/74",[430,391.909]],["content/74",[256,6.425,577,7.813,618,12.457,885,13.016]],["keywords/74",[]],["title/75",[886,778.539]],["content/75",[]],["keywords/75",[]],["title/76",[681,690.201]],["content/76",[18,7.774,57,3.613,183,5.741,256,5.138,266,6.248,267,7.774,341,4.807,350,5.981,458,7.292,733,7.292,818,6.892,846,8.376,847,8.376,886,7.774,887,9.184,888,10.409]],["keywords/76",[]],["title/77",[717,574.995]],["content/77",[57,4.141,101,7.505,268,6.58,397,5.337,725,6.101,822,8.357,823,8.357,848,9.6,849,8.909]],["keywords/77",[]],["title/78",[190,414.272]],["content/78",[147,6.565,466,5.672,889,11.481,890,12.845,891,12.845,892,8.708,893,8.708,894,8.708,895,8.708]],["keywords/78",[]],["title/79",[353,484.993,657,428.712]],["content/79",[397,6.407]],["keywords/79",[]],["title/80",[430,391.909]],["content/80",[397,6.407]],["keywords/80",[]],["title/81",[775,553.142]],["content/81",[]],["keywords/81",[]],["title/82",[396,262.118,774,337.309,896,659.58]],["content/82",[35,1.794,42,2.323,45,2.169,57,2.058,63,3.096,77,2.621,119,2.824,174,3.096,190,2.356,213,3.311,225,3.096,241,2.824,244,2.323,248,2.106,266,3.559,268,1.935,275,5.199,281,1.935,291,2.208,294,2.208,326,3.096,353,2.106,364,2.824,377,2.323,396,5.081,407,3.096,410,4.428,417,3.096,422,2.824,464,2.208,465,3.096,553,2.458,587,3.096,592,2.621,598,3.096,603,2.824,609,2.621,651,3.096,671,2.323,679,4.843,707,2.824,708,2.621,717,4.99,719,2.621,734,2.208,739,2.621,774,5.171,818,3.925,830,5.231,868,3.096,897,3.509,898,3.509,899,6.195,900,3.509,901,3.509,902,3.509,903,2.621,904,2.458,905,6.757,906,3.509,907,3.509,908,3.509,909,3.509,910,2.458,911,3.509,912,3.509,913,3.509,914,3.509,915,3.509,916,3.096,917,3.509,918,3.509,919,3.509,920,3.509,921,3.509,922,3.509,923,3.509,924,5.928,925,3.509,926,3.509,927,3.509,928,3.509,929,3.509,930,3.509,931,3.509,932,3.509,933,3.509,934,3.096]],["keywords/82",[]],["title/83",[430,391.909]],["content/83",[35,6.366,396,4.947,903,9.297,935,12.449,936,10.983,937,12.449,938,10.983]],["keywords/83",[]],["title/84",[50,566.043,379,650.197]],["content/84",[]],["keywords/84",[]],["title/85",[681,690.201]],["content/85",[42,9.599,57,4.056,190,4.644,231,7.014,256,5.769,327,8.187,341,5.397,556,8.727,733,8.187]],["keywords/85",[]],["title/86",[717,574.995]],["content/86",[42,5.191,50,9.844,57,2.721,101,6.993,231,6.672,248,4.706,259,5.492,268,6.131,277,6.309,294,4.932,310,5.492,385,6.309,556,5.855,725,5.684,734,4.932,737,5.855,818,5.191,822,5.492,823,5.492,825,6.917,826,6.917,849,8.301,939,7.84,940,7.84,941,7.84,942,7.84]],["keywords/86",[]],["title/87",[190,414.272]],["content/87",[147,5.419,803,10.974,864,12.031]],["keywords/87",[]],["title/88",[353,484.993,657,428.712]],["content/88",[397,6.407]],["keywords/88",[]],["title/89",[430,391.909]],["content/89",[397,6.407]],["keywords/89",[]],["title/90",[57,280.445,719,603.406]],["content/90",[]],["keywords/90",[]],["title/91",[725,533.111]],["content/91",[45,2.379,57,3.367,124,4.305,213,2.379,248,3.903,262,3.586,264,4.305,341,5.359,396,2.584,419,5.233,421,4.305,430,2.444,453,4.856,467,3.003,468,3.45,542,4.555,593,4.305,692,3.736,706,5.737,725,6.579,741,5.737,754,4.305,774,3.325,775,6.826,905,4.856,943,6.502,944,5.737,945,5.737,946,5.233,947,5.233,948,5.737,949,5.737,950,6.502,951,6.502,952,6.502,953,6.502,954,6.502,955,6.502,956,6.502,957,6.502]],["keywords/91",[]],["title/92",[183,445.65,726,566.043]],["content/92",[45,2.115,163,3.321,183,8.177,190,2.297,213,2.115,247,4.316,263,3.188,264,5.875,272,4.651,341,4.098,396,3.526,430,2.173,466,3.321,467,2.669,473,3.469,593,3.826,641,5.099,657,3.066,692,6.206,726,7.566,739,4.316,774,2.955,775,6.936,778,4.651,790,4.049,903,4.316,958,4.651,959,5.099,960,5.779,961,5.779,962,5.779,963,5.779,964,5.779,965,5.779,966,5.779,967,5.779,968,5.779,969,2.955,970,5.099,971,5.779,972,4.316,973,5.099]],["keywords/92",[]],["title/93",[974,919.74]],["content/93",[213,3.222,341,4.067,396,3.499,430,3.31,467,4.067,468,4.672,473,5.286,692,5.06,708,6.576,775,7.292,958,7.086,969,4.503,972,6.576,974,13.038,975,6.576,976,7.769,977,8.806,978,7.086,979,7.769,980,7.769,981,7.769]],["keywords/93",[]],["title/94",[982,919.74]],["content/94",[213,3.173,341,4.005,396,3.446,430,3.26,467,4.005,468,4.601,473,7.159,692,4.983,708,6.477,775,7.234,958,6.979,969,4.435,972,6.477,978,6.979,979,7.651,980,7.651,982,12.954,983,7.651,984,8.672,985,7.651,986,8.672]],["keywords/94",[]],["title/95",[975,603.406,987,712.844]],["content/95",[45,4.319,213,3.126,396,3.395,430,3.212,467,3.945,468,4.533,473,7.086,692,6.783,775,6.263,904,8.27,947,6.874,969,4.369,975,6.38,987,7.537,988,11.804,989,11.804,990,6.874,991,7.537,992,8.542,993,7.537,994,8.542]],["keywords/95",[]],["title/96",[236,603.406,368,464.284]],["content/96",[35,5.18,45,4.394,49,3.711,72,2.947,163,3.961,183,2.32,213,1.539,236,3.141,263,2.32,264,2.785,270,2.785,272,3.385,368,2.417,396,2.739,415,3.711,421,4.564,639,3.141,657,2.232,679,2.646,692,3.961,725,2.151,737,10.235,739,3.141,754,2.785,774,2.151,775,5.375,845,9.863,903,3.141,904,4.829,910,2.947,916,3.711,946,3.385,947,5.547,969,2.151,970,3.711,972,3.141,973,3.711,990,5.547,995,4.206,996,3.711,997,4.206,998,4.206,999,4.206,1000,5.547,1001,4.206,1002,4.206,1003,4.206,1004,6.082,1005,11.179,1006,4.206,1007,8.759,1008,4.206,1009,4.206,1010,4.206,1011,4.206,1012,3.711,1013,4.206,1014,4.206,1015,4.206]],["keywords/96",[]],["title/97",[47,650.197,910,566.043]],["content/97",[40,7.086,47,9.699,213,3.222,236,6.576,244,5.83,264,5.83,281,4.857,368,5.06,396,3.499,467,4.067,468,4.672,734,5.54,775,4.672,818,5.83,904,6.169,910,9.627,969,4.503,990,7.086,1016,8.806,1017,8.806,1018,8.806,1019,8.806,1020,7.769]],["keywords/97",[]],["title/98",[421,534.94,1000,650.197]],["content/98",[40,8.693,213,3.953,396,4.293,421,7.152,467,4.989,468,5.732,775,5.732,904,7.568,969,5.524,1000,8.693,1021,10.802,1022,10.802,1023,10.802,1024,10.802]],["keywords/98",[]],["title/99",[865,838.911]],["content/99",[39,4.651,45,2.115,57,3.08,190,2.297,208,4.316,213,2.115,270,3.826,308,4.651,321,5.099,341,2.669,363,10.689,377,3.826,396,2.297,409,4.651,430,2.173,453,4.316,466,3.321,467,2.669,593,5.875,657,3.066,665,6.216,671,3.826,724,9.762,754,3.826,774,2.955,839,8.022,865,4.651,905,4.316,944,5.099,969,2.955,1025,8.873,1026,10.8,1027,5.779,1028,5.779,1029,5.779,1030,5.779,1031,5.779,1032,5.779,1033,5.779,1034,5.779,1035,5.779,1036,5.779,1037,5.779,1038,5.779]],["keywords/99",[]],["title/100",[289,730.332]],["content/100",[45,2.407,101,4.138,190,2.614,213,3.58,240,4.912,270,6.478,275,5.622,289,8.185,315,4.608,385,10.412,396,3.888,402,5.803,418,5.803,467,3.037,468,3.49,542,4.608,595,4.138,609,4.912,670,4.912,692,3.779,717,3.628,725,3.363,754,4.355,774,3.363,790,4.608,839,6.478,899,5.293,905,4.912,949,5.803,969,3.363,1039,6.577,1040,6.577,1041,6.577,1042,6.577,1043,6.577,1044,6.577,1045,6.577,1046,6.577]],["keywords/100",[]],["title/101",[410,778.539]],["content/101",[11,4.608,45,4.275,57,3.396,72,4.608,190,2.614,213,2.407,231,3.948,269,9.663,281,3.628,300,4.912,305,5.293,341,3.037,396,2.614,410,10.328,430,2.473,466,3.779,467,3.037,593,6.478,595,4.138,679,4.138,734,4.138,754,4.355,774,3.363,797,5.293,818,4.355,899,7.873,934,5.803,969,3.363,1047,9.784,1048,6.577,1049,6.577,1050,6.577,1051,6.577,1052,6.577,1053,6.577]],["keywords/101",[]],["title/102",[723,838.911]],["content/102",[45,3.035,91,4.575,186,5.811,208,6.195,213,3.035,340,7.318,341,3.831,396,4.596,430,3.118,467,3.831,468,4.401,603,6.675,723,9.307,774,4.242,778,6.675,839,7.657,969,4.242,1054,8.295,1055,11.565,1056,11.565,1057,11.565,1058,7.318,1059,8.295,1060,8.295]],["keywords/102",[]],["title/103",[1061,919.74]],["content/103",[45,3.55,213,3.55,341,4.481,362,7.808,396,3.856,430,3.648,467,4.481,468,5.148,657,5.148,839,9.558,969,4.962,1058,8.56,1061,12.737,1062,9.702,1063,9.702,1064,9.702]],["keywords/103",[]],["title/104",[430,391.909]],["content/104",[]],["keywords/104",[]],["title/105",[263,445.65,347,603.406]],["content/105",[183,5.958,248,6.484,256,5.333,263,7.611,679,6.796,726,7.568,975,8.067,1065,10.802,1066,10.802,1067,10.802,1068,10.802,1069,10.802,1070,10.802]],["keywords/105",[]],["title/106",[263,445.65,312,712.844]],["content/106",[396,2.843,592,5.342,726,5.011,737,7.772,910,5.011,936,6.311,945,6.311,946,5.756,948,6.311,959,6.311,976,6.311,978,8.375,981,6.311,983,6.311,985,6.311,991,6.311,993,6.311,996,6.311,1004,6.311,1012,6.311,1020,6.311,1071,7.153,1072,7.153,1073,7.153,1074,7.153,1075,7.153,1076,7.153,1077,7.153,1078,7.153,1079,7.153,1080,7.153,1081,7.153,1082,7.153,1083,7.153,1084,7.153,1085,7.153,1086,7.153,1087,7.153,1088,7.153]],["keywords/106",[]],["title/107",[1089,1042.454]],["content/107",[35,6.811,396,5.293,774,6.811,938,11.751]],["keywords/107",[]],["title/108",[246,398.858,886,603.406]],["content/108",[]],["keywords/108",[]],["title/109",[681,690.201]],["content/109",[18,7.918,57,3.68,183,5.848,246,5.234,256,5.234,275,6.092,341,4.896,458,7.428,461,9.354,543,6.67,733,7.428,846,8.532,847,8.532,886,7.918,887,9.354]],["keywords/109",[]],["title/110",[717,574.995]],["content/110",[57,4.141,101,7.505,268,6.58,397,5.337,725,6.101,822,8.357,823,8.357,848,9.6,849,8.909]],["keywords/110",[]],["title/111",[190,414.272]],["content/111",[100,4.235,147,6.411,400,4.716,466,3.868,472,5.417,588,5.417,639,5.028,709,5.417,710,5.417,850,5.939,851,5.939,852,5.939,853,5.939,854,5.939,855,5.939,856,5.939,857,5.939,858,5.939,859,5.939,860,5.939,861,5.939,862,5.939,863,5.939,889,8.782,890,10.45,891,10.45,892,5.939,893,5.939,894,5.939,895,5.939,1090,6.732,1091,6.732]],["keywords/111",[]],["title/112",[353,484.993,657,428.712]],["content/112",[397,6.407]],["keywords/112",[]],["title/113",[430,391.909]],["content/113",[397,6.407]],["keywords/113",[]]],"invertedIndex":[["",{"_index":147,"title":{},"content":{"13":{"position":[[175,1],[184,1],[292,2],[295,1]]},"14":{"position":[[80,1]]},"16":{"position":[[100,1],[108,1],[154,2],[157,2]]},"19":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[203,2],[206,2],[209,2],[212,2],[215,2]]},"23":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[218,2],[221,2],[224,2],[227,2],[230,2]]},"26":{"position":[[57,1]]},"27":{"position":[[189,1],[339,1],[358,1],[378,1],[462,1],[464,1],[466,2]]},"32":{"position":[[242,2]]},"36":{"position":[[200,2]]},"39":{"position":[[149,1],[199,1],[201,3],[268,1],[318,1]]},"40":{"position":[[117,3],[167,3]]},"42":{"position":[[57,3]]},"43":{"position":[[282,3]]},"44":{"position":[[129,1],[157,1],[274,2],[295,1],[392,2],[481,1],[566,1],[597,1],[622,1]]},"59":{"position":[[22,4]]},"68":{"position":[[9,1],[394,1]]},"71":{"position":[[29,4]]},"78":{"position":[[9,1],[11,1],[124,2],[127,1],[185,1],[187,1]]},"87":{"position":[[29,4]]},"111":{"position":[[9,1],[30,1],[32,1],[145,2],[148,1],[206,1],[208,2],[232,1],[617,1],[619,1]]}},"keywords":{}}],["0",{"_index":845,"title":{},"content":{"64":{"position":[[765,4]]},"96":{"position":[[550,4],[564,2],[576,2],[588,2],[600,2]]}},"keywords":{}}],["0..1",{"_index":825,"title":{},"content":{"64":{"position":[[229,4],[525,4],[1119,4]]},"86":{"position":[[243,4]]}},"keywords":{}}],["01",{"_index":891,"title":{},"content":{"78":{"position":[[43,2],[98,2],[159,2]]},"111":{"position":[[64,2],[119,2],[180,2]]}},"keywords":{}}],["01t00:00:00.000z"",{"_index":892,"title":{},"content":{"78":{"position":[[46,23]]},"111":{"position":[[67,23]]}},"keywords":{}}],["02",{"_index":94,"title":{},"content":{"8":{"position":[[28,2],[59,2]]}},"keywords":{}}],["02t00:00:00.000z"",{"_index":894,"title":{},"content":{"78":{"position":[[101,22]]},"111":{"position":[[122,22]]}},"keywords":{}}],["03t00:00:00.000z"",{"_index":895,"title":{},"content":{"78":{"position":[[162,22]]},"111":{"position":[[183,22]]}},"keywords":{}}],["07",{"_index":973,"title":{},"content":{"92":{"position":[[545,2]]},"96":{"position":[[259,2]]}},"keywords":{}}],["07/schema.$id",{"_index":909,"title":{},"content":{"82":{"position":[[543,13]]}},"keywords":{}}],["07rfc",{"_index":935,"title":{},"content":{"83":{"position":[[7,5]]}},"keywords":{}}],["1",{"_index":106,"title":{},"content":{"8":{"position":[[177,1]]},"51":{"position":[[744,1]]}},"keywords":{}}],["1..1",{"_index":849,"title":{},"content":{"67":{"position":[[56,4]]},"77":{"position":[[56,4]]},"86":{"position":[[63,4],[184,4]]},"110":{"position":[[56,4]]}},"keywords":{}}],["1.0",{"_index":195,"title":{},"content":{"22":{"position":[[19,3],[73,3],[133,3],[200,3],[251,3]]}},"keywords":{}}],["1.0/hello.md",{"_index":210,"title":{},"content":{"24":{"position":[[91,12]]}},"keywords":{}}],["10",{"_index":882,"title":{},"content":{"73":{"position":[[646,4]]}},"keywords":{}}],["10646",{"_index":950,"title":{},"content":{"91":{"position":[[177,5]]}},"keywords":{}}],["10px",{"_index":523,"title":{},"content":{"44":{"position":[[247,7]]}},"keywords":{}}],["1123",{"_index":983,"title":{},"content":{"94":{"position":[[59,5]]},"106":{"position":[[30,4]]}},"keywords":{}}],["12",{"_index":878,"title":{},"content":{"73":{"position":[[502,4]]}},"keywords":{}}],["18.0",{"_index":36,"title":{},"content":{"4":{"position":[[17,4]]}},"keywords":{}}],["1standard",{"_index":951,"title":{},"content":{"91":{"position":[[183,10]]}},"keywords":{}}],["2",{"_index":199,"title":{},"content":{"22":{"position":[[187,1]]},"51":{"position":[[752,1]]}},"keywords":{}}],["2.1",{"_index":984,"title":{},"content":{"94":{"position":[[73,3]]}},"keywords":{}}],["2.2",{"_index":994,"title":{},"content":{"95":{"position":[[179,4]]}},"keywords":{}}],["2.3.2.3",{"_index":986,"title":{},"content":{"94":{"position":[[201,8]]}},"keywords":{}}],["20px",{"_index":520,"title":{},"content":{"44":{"position":[[215,7]]}},"keywords":{}}],["2373",{"_index":993,"title":{},"content":{"95":{"position":[[165,5]]},"106":{"position":[[55,4]]}},"keywords":{}}],["262",{"_index":1023,"title":{},"content":{"98":{"position":[[66,3]]}},"keywords":{}}],["262json",{"_index":1072,"title":{},"content":{"106":{"position":[[6,7]]}},"keywords":{}}],["2673",{"_index":991,"title":{},"content":{"95":{"position":[[104,5]]},"106":{"position":[[70,4]]}},"keywords":{}}],["28",{"_index":95,"title":{},"content":{"8":{"position":[[31,2],[62,2]]}},"keywords":{}}],["3",{"_index":224,"title":{},"content":{"27":{"position":[[183,1]]}},"keywords":{}}],["3.2",{"_index":992,"title":{},"content":{"95":{"position":[[118,4]]}},"keywords":{}}],["3166",{"_index":742,"title":{},"content":{"51":{"position":[[739,4]]}},"keywords":{}}],["3339",{"_index":959,"title":{},"content":{"92":{"position":[[53,5]]},"106":{"position":[[85,4]]}},"keywords":{}}],["3629",{"_index":948,"title":{},"content":{"91":{"position":[[138,5]]},"106":{"position":[[109,4]]}},"keywords":{}}],["3986",{"_index":996,"title":{},"content":{"96":{"position":[[71,5]]},"106":{"position":[[125,4]]}},"keywords":{}}],["4.1.2",{"_index":977,"title":{},"content":{"93":{"position":[[76,5]]}},"keywords":{}}],["4122",{"_index":1004,"title":{},"content":{"96":{"position":[[480,5],[727,4]]},"106":{"position":[[139,4]]}},"keywords":{}}],["5)rfc",{"_index":1082,"title":{},"content":{"106":{"position":[[153,5]]}},"keywords":{}}],["5.6",{"_index":960,"title":{},"content":{"92":{"position":[[67,3]]}},"keywords":{}}],["515112",{"_index":745,"title":{},"content":{"51":{"position":[[776,6]]}},"keywords":{}}],["5321",{"_index":976,"title":{},"content":{"93":{"position":[[62,5]]},"106":{"position":[[159,4]]}},"keywords":{}}],["5890",{"_index":985,"title":{},"content":{"94":{"position":[[187,5]]},"106":{"position":[[180,4]]}},"keywords":{}}],["6",{"_index":1014,"title":{},"content":{"96":{"position":[[759,1]]}},"keywords":{}}],["600",{"_index":242,"title":{},"content":{"29":{"position":[[89,3]]}},"keywords":{}}],["6531",{"_index":981,"title":{},"content":{"93":{"position":[[186,5]]},"106":{"position":[[221,4]]}},"keywords":{}}],["6570",{"_index":1020,"title":{},"content":{"97":{"position":[[206,5]]},"106":{"position":[[255,4]]}},"keywords":{}}],["8",{"_index":946,"title":{},"content":{"91":{"position":[[108,1]]},"96":{"position":[[761,2]]},"106":{"position":[[307,2]]}},"keywords":{}}],["8)rfc",{"_index":1079,"title":{},"content":{"106":{"position":[[119,5]]}},"keywords":{}}],["8259",{"_index":936,"title":{},"content":{"83":{"position":[[13,4]]},"106":{"position":[[278,4]]}},"keywords":{}}],["8601",{"_index":963,"title":{},"content":{"92":{"position":[[105,5]]}},"keywords":{}}],["9562",{"_index":1012,"title":{},"content":{"96":{"position":[[704,4]]},"106":{"position":[[293,4]]}},"keywords":{}}],["9a",{"_index":1005,"title":{},"content":{"96":{"position":[[555,2],[567,2],[579,2],[591,2],[603,2]]}},"keywords":{}}],["a[pi",{"_index":484,"title":{},"content":{"43":{"position":[[21,7]]}},"keywords":{}}],["abil",{"_index":308,"title":{},"content":{"30":{"position":[[529,7]]},"33":{"position":[[555,7],[884,7]]},"99":{"position":[[108,7]]}},"keywords":{}}],["abov",{"_index":37,"title":{},"content":{"4":{"position":[[25,6]]}},"keywords":{}}],["absenc",{"_index":1063,"title":{},"content":{"103":{"position":[[125,7]]}},"keywords":{}}],["absolut",{"_index":429,"title":{},"content":{"38":{"position":[[53,8]]}},"keywords":{}}],["accept",{"_index":1058,"title":{},"content":{"102":{"position":[[154,8]]},"103":{"position":[[64,10]]}},"keywords":{}}],["access",{"_index":179,"title":{},"content":{"18":{"position":[[94,10]]}},"keywords":{}}],["accesscr",{"_index":361,"title":{},"content":{"33":{"position":[[53,13]]}},"keywords":{}}],["accommod",{"_index":875,"title":{},"content":{"73":{"position":[[370,11]]}},"keywords":{}}],["accur",{"_index":342,"title":{},"content":{"31":{"position":[[239,10]]}},"keywords":{}}],["accuraci",{"_index":645,"title":{},"content":{"49":{"position":[[1682,8]]}},"keywords":{}}],["achiev",{"_index":384,"title":{},"content":{"33":{"position":[[437,7],[525,7]]},"41":{"position":[[126,8]]}},"keywords":{}}],["acronym",{"_index":539,"title":{"46":{"position":[[0,9]]}},"content":{},"keywords":{}}],["act",{"_index":552,"title":{},"content":{"48":{"position":[[86,3]]},"49":{"position":[[403,3],[868,3]]},"63":{"position":[[284,3]]},"64":{"position":[[1057,3]]}},"keywords":{}}],["action",{"_index":456,"title":{},"content":{"40":{"position":[[147,6],[228,6]]},"49":{"position":[[181,6],[1435,6]]}},"keywords":{}}],["activ",{"_index":556,"title":{},"content":{"48":{"position":[[224,11]]},"49":{"position":[[131,11],[249,8],[338,8],[381,8],[464,9],[821,8],[917,8],[1845,9],[2053,10]]},"85":{"position":[[102,9]]},"86":{"position":[[131,8]]}},"keywords":{}}],["actor",{"_index":547,"title":{"48":{"position":[[0,7]]}},"content":{"49":{"position":[[2439,6]]}},"keywords":{}}],["ad",{"_index":49,"title":{},"content":{"5":{"position":[[104,5]]},"96":{"position":[[735,6]]}},"keywords":{}}],["adapt",{"_index":287,"title":{},"content":{"29":{"position":[[821,5]]}},"keywords":{}}],["add",{"_index":162,"title":{"19":{"position":[[0,3]]},"23":{"position":[[0,3]]}},"content":{"16":{"position":[[32,3]]},"19":{"position":[[42,3]]},"23":{"position":[[41,3]]},"27":{"position":[[67,3]]},"49":{"position":[[2170,3]]}},"keywords":{}}],["addit",{"_index":706,"title":{},"content":{"50":{"position":[[1277,10]]},"91":{"position":[[313,9]]}},"keywords":{}}],["address",{"_index":975,"title":{"95":{"position":[[3,8]]}},"content":{"93":{"position":[[7,9]]},"95":{"position":[[4,9]]},"105":{"position":[[1,7]]}},"keywords":{}}],["adject",{"_index":659,"title":{},"content":{"49":{"position":[[2215,9]]}},"keywords":{}}],["admonit",{"_index":447,"title":{"40":{"position":[[0,12]]}},"content":{"40":{"position":[[43,11]]}},"keywords":{}}],["adopt",{"_index":331,"title":{},"content":{"31":{"position":[[64,5]]},"73":{"position":[[83,8]]}},"keywords":{}}],["agenc",{"_index":581,"title":{},"content":{"48":{"position":[[902,6],[964,6]]},"49":{"position":[[238,7]]}},"keywords":{}}],["agnost",{"_index":1010,"title":{},"content":{"96":{"position":[[643,8]]}},"keywords":{}}],["agreement",{"_index":624,"title":{},"content":{"49":{"position":[[1062,10]]}},"keywords":{}}],["ai",{"_index":323,"title":{},"content":{"30":{"position":[[825,3]]}},"keywords":{}}],["aim",{"_index":544,"title":{},"content":{"47":{"position":[[82,3]]}},"keywords":{}}],["air",{"_index":842,"title":{},"content":{"64":{"position":[[738,3]]}},"keywords":{}}],["alert",{"_index":497,"title":{},"content":{"43":{"position":[[178,7]]}},"keywords":{}}],["alert(`y",{"_index":527,"title":{},"content":{"44":{"position":[[297,10]]}},"keywords":{}}],["allow",{"_index":511,"title":{},"content":{"44":{"position":[[54,6]]}},"keywords":{}}],["alon",{"_index":239,"title":{},"content":{"29":{"position":[[69,5]]}},"keywords":{}}],["along",{"_index":763,"title":{},"content":{"51":{"position":[[1213,5]]}},"keywords":{}}],["alpha",{"_index":743,"title":{},"content":{"51":{"position":[[746,5]]}},"keywords":{}}],["altern",{"_index":884,"title":{},"content":{"73":{"position":[[716,12]]}},"keywords":{}}],["alway",{"_index":1040,"title":{},"content":{"100":{"position":[[75,6]]}},"keywords":{}}],["amend",{"_index":613,"title":{},"content":{"49":{"position":[[660,5]]},"56":{"position":[[101,9]]}},"keywords":{}}],["american",{"_index":747,"title":{},"content":{"51":{"position":[[796,8]]}},"keywords":{}}],["amp",{"_index":823,"title":{},"content":{"64":{"position":[[194,5]]},"67":{"position":[[35,5]]},"77":{"position":[[35,5]]},"86":{"position":[[35,5]]},"110":{"position":[[35,5]]}},"keywords":{}}],["analysi",{"_index":367,"title":{},"content":{"33":{"position":[[142,8]]},"43":{"position":[[110,10]]}},"keywords":{}}],["analyt",{"_index":251,"title":{},"content":{"29":{"position":[[196,9]]},"33":{"position":[[474,9]]}},"keywords":{}}],["and/or",{"_index":790,"title":{},"content":{"51":{"position":[[1978,6]]},"64":{"position":[[137,6]]},"73":{"position":[[204,6],[457,6]]},"92":{"position":[[6,6]]},"100":{"position":[[340,6]]}},"keywords":{}}],["annot",{"_index":897,"title":{},"content":{"82":{"position":[[43,8]]}},"keywords":{}}],["answer",{"_index":656,"title":{},"content":{"49":{"position":[[2144,8]]},"50":{"position":[[381,7]]}},"keywords":{}}],["anyth",{"_index":931,"title":{},"content":{"82":{"position":[[1361,8]]}},"keywords":{}}],["anywher",{"_index":131,"title":{},"content":{"11":{"position":[[156,8]]}},"keywords":{}}],["api",{"_index":785,"title":{},"content":{"51":{"position":[[1894,3],[1935,5],[2072,4],[2121,4]]}},"keywords":{}}],["appear",{"_index":189,"title":{},"content":{"19":{"position":[[244,7]]},"23":{"position":[[261,7]]}},"keywords":{}}],["applic",{"_index":568,"title":{},"content":{"48":{"position":[[507,10],[521,11],[882,10],[1000,12],[1083,12]]},"49":{"position":[[599,11],[1392,12],[1477,12],[2081,10],[2159,10],[2241,11],[2335,12]]},"50":{"position":[[210,11],[964,11],[1247,11]]},"51":{"position":[[1901,11]]},"56":{"position":[[79,11]]}},"keywords":{}}],["application/json",{"_index":782,"title":{},"content":{"51":{"position":[[1828,17]]}},"keywords":{}}],["appropri",{"_index":360,"title":{},"content":{"33":{"position":[[36,11]]}},"keywords":{}}],["approv",{"_index":488,"title":{},"content":{"43":{"position":[[60,9]]},"48":{"position":[[392,10],[768,8]]}},"keywords":{}}],["area",{"_index":599,"title":{},"content":{"49":{"position":[[198,4],[745,4],[1614,5]]},"73":{"position":[[116,5]]}},"keywords":{}}],["around",{"_index":121,"title":{},"content":{"8":{"position":[[476,6]]}},"keywords":{}}],["array",{"_index":410,"title":{"101":{"position":[[0,6]]}},"content":{"36":{"position":[[351,5]]},"82":{"position":[[1262,5],[1398,5]]},"101":{"position":[[1,6],[61,5],[116,5],[307,5],[444,6]]}},"keywords":{}}],["asiso",{"_index":962,"title":{},"content":{"92":{"position":[[99,5]]}},"keywords":{}}],["assign",{"_index":811,"title":{},"content":{"63":{"position":[[180,7]]},"64":{"position":[[953,7]]}},"keywords":{}}],["associ",{"_index":602,"title":{},"content":{"49":{"position":[[354,10]]},"51":{"position":[[1770,10]]}},"keywords":{}}],["at"",{"_index":704,"title":{},"content":{"50":{"position":[[1168,8]]}},"keywords":{}}],["attempt",{"_index":638,"title":{},"content":{"49":{"position":[[1531,7]]}},"keywords":{}}],["attribut",{"_index":830,"title":{},"content":{"64":{"position":[[391,9]]},"82":{"position":[[388,11],[1186,10]]}},"keywords":{}}],["author",{"_index":100,"title":{},"content":{"8":{"position":[[116,8]]},"29":{"position":[[577,13]]},"48":{"position":[[190,13],[316,9],[376,15],[610,13],[1194,13]]},"49":{"position":[[282,15],[669,14],[850,13],[965,14],[1999,14]]},"50":{"position":[[229,13],[979,13],[1262,14]]},"68":{"position":[[85,13]]},"111":{"position":[[308,13]]}},"keywords":{}}],["autom",{"_index":301,"title":{},"content":{"30":{"position":[[324,8]]}},"keywords":{}}],["automat",{"_index":48,"title":{},"content":{"5":{"position":[[87,13]]},"6":{"position":[[438,13]]},"27":{"position":[[12,13]]}},"keywords":{}}],["automation.unlock",{"_index":307,"title":{},"content":{"30":{"position":[[507,17]]}},"keywords":{}}],["avail",{"_index":124,"title":{},"content":{"8":{"position":[[548,9]]},"13":{"position":[[317,9]]},"14":{"position":[[143,9]]},"26":{"position":[[131,9]]},"73":{"position":[[357,9]]},"91":{"position":[[509,9]]}},"keywords":{}}],["awesom",{"_index":452,"title":{},"content":{"40":{"position":[[94,7],[189,7]]}},"keywords":{}}],["b",{"_index":479,"title":{},"content":{"42":{"position":[[39,1]]},"43":{"position":[[70,1],[90,1],[243,1]]}},"keywords":{}}],["b(stakehold",{"_index":487,"title":{},"content":{"43":{"position":[[46,13]]}},"keywords":{}}],["b.c.'",{"_index":234,"title":{},"content":{"29":{"position":[[32,6]]}},"keywords":{}}],["backgroundcolor",{"_index":518,"title":{},"content":{"44":{"position":[[177,16]]}},"keywords":{}}],["band",{"_index":914,"title":{},"content":{"82":{"position":[[708,4]]}},"keywords":{}}],["barfind",{"_index":17,"title":{},"content":{"1":{"position":[[175,7]]}},"keywords":{}}],["base",{"_index":321,"title":{},"content":{"30":{"position":[[780,5]]},"99":{"position":[[272,5]]}},"keywords":{}}],["bc",{"_index":618,"title":{},"content":{"49":{"position":[[961,3],[1908,3]]},"73":{"position":[[56,2],[223,2],[305,2]]},"74":{"position":[[1,2],[28,2]]}},"keywords":{}}],["be",{"_index":654,"title":{},"content":{"49":{"position":[[1962,5]]},"63":{"position":[[232,5]]},"64":{"position":[[1005,5]]}},"keywords":{}}],["befor",{"_index":1018,"title":{},"content":{"97":{"position":[[147,6]]}},"keywords":{}}],["begin",{"_index":683,"title":{},"content":{"50":{"position":[[340,9]]}},"keywords":{}}],["behalf",{"_index":873,"title":{},"content":{"73":{"position":[[264,6]]}},"keywords":{}}],["behind",{"_index":796,"title":{},"content":{"53":{"position":[[73,6]]}},"keywords":{}}],["belong",{"_index":606,"title":{},"content":{"49":{"position":[[522,6]]}},"keywords":{}}],["best",{"_index":345,"title":{},"content":{"32":{"position":[[7,4]]}},"keywords":{}}],["better",{"_index":277,"title":{},"content":{"29":{"position":[[683,6]]},"30":{"position":[[78,6]]},"86":{"position":[[320,6]]}},"keywords":{}}],["between",{"_index":671,"title":{},"content":{"49":{"position":[[2423,7]]},"50":{"position":[[1597,7]]},"51":{"position":[[1495,7]]},"73":{"position":[[584,7]]},"82":{"position":[[301,7]]},"99":{"position":[[133,7]]}},"keywords":{}}],["block",{"_index":438,"title":{"39":{"position":[[5,7]]}},"content":{"39":{"position":[[15,6]]}},"keywords":{}}],["blog",{"_index":89,"title":{"7":{"position":[[9,4]]}},"content":{"8":{"position":[[531,4]]}},"keywords":{}}],["blog/2021",{"_index":93,"title":{},"content":{"8":{"position":[[18,9],[49,9]]}},"keywords":{}}],["blue",{"_index":537,"title":{},"content":{"44":{"position":[[617,4]]}},"keywords":{}}],["blue</highlight>",{"_index":534,"title":{},"content":{"44":{"position":[[543,22]]}},"keywords":{}}],["boolean",{"_index":723,"title":{"102":{"position":[[0,8]]}},"content":{"51":{"position":[[283,8]]},"102":{"position":[[1,8],[191,8]]}},"keywords":{}}],["border",{"_index":673,"title":{},"content":{"49":{"position":[[2460,8]]}},"keywords":{}}],["borderradiu",{"_index":519,"title":{},"content":{"44":{"position":[[201,13]]}},"keywords":{}}],["both",{"_index":738,"title":{},"content":{"51":{"position":[[572,4]]}},"keywords":{}}],["boundari",{"_index":1053,"title":{},"content":{"101":{"position":[[426,10]]}},"keywords":{}}],["brief",{"_index":924,"title":{},"content":{"82":{"position":[[1032,5],[1066,5]]}},"keywords":{}}],["british",{"_index":808,"title":{},"content":{"63":{"position":[[148,7]]},"64":{"position":[[921,7]]}},"keywords":{}}],["broader",{"_index":689,"title":{},"content":{"50":{"position":[[490,7],[1107,7],[1456,7]]}},"keywords":{}}],["build",{"_index":75,"title":{"10":{"position":[[0,5]]},"20":{"position":[[0,5]]}},"content":{"6":{"position":[[247,6]]},"10":{"position":[[1,5],[42,5],[88,5]]},"11":{"position":[[22,5],[58,5],[136,5]]},"20":{"position":[[1,5],[49,5],[75,5],[136,5]]},"48":{"position":[[759,8]]},"64":{"position":[[721,8]]}},"keywords":{}}],["built",{"_index":957,"title":{},"content":{"91":{"position":[[519,5]]}},"keywords":{}}],["bundl",{"_index":379,"title":{"84":{"position":[[8,6]]}},"content":{"33":{"position":[[350,8]]},"49":{"position":[[390,8]]}},"keywords":{}}],["busi",{"_index":278,"title":{},"content":{"29":{"position":[[690,8]]},"46":{"position":[[28,8]]},"73":{"position":[[107,8]]}},"keywords":{}}],["c",{"_index":481,"title":{},"content":{"42":{"position":[[48,1]]},"43":{"position":[[121,1],[156,1],[186,1],[268,1]]}},"keywords":{}}],["call",{"_index":402,"title":{},"content":{"36":{"position":[[45,6]]},"100":{"position":[[134,6]]}},"keywords":{}}],["callout",{"_index":449,"title":{},"content":{"40":{"position":[[59,9]]}},"keywords":{}}],["can't",{"_index":260,"title":{},"content":{"29":{"position":[[351,5]]}},"keywords":{}}],["canada",{"_index":744,"title":{},"content":{"51":{"position":[[763,6]]}},"keywords":{}}],["captur",{"_index":630,"title":{},"content":{"49":{"position":[[1271,7]]}},"keywords":{}}],["cardin",{"_index":822,"title":{},"content":{"64":{"position":[[165,11]]},"67":{"position":[[6,11]]},"77":{"position":[[6,11]]},"86":{"position":[[6,11]]},"110":{"position":[[6,11]]}},"keywords":{}}],["care",{"_index":455,"title":{},"content":{"40":{"position":[[136,5],[218,4]]}},"keywords":{}}],["carri",{"_index":650,"title":{},"content":{"49":{"position":[[1824,5]]}},"keywords":{}}],["case",{"_index":1002,"title":{},"content":{"96":{"position":[[406,6]]}},"keywords":{}}],["caseload",{"_index":628,"title":{},"content":{"49":{"position":[[1219,8]]}},"keywords":{}}],["cast",{"_index":1059,"title":{},"content":{"102":{"position":[[218,6]]}},"keywords":{}}],["catalogu",{"_index":874,"title":{},"content":{"73":{"position":[[313,10]]}},"keywords":{}}],["catalogueparcelmap",{"_index":885,"title":{},"content":{"74":{"position":[[9,18]]}},"keywords":{}}],["categor",{"_index":716,"title":{},"content":{"50":{"position":[[1578,14]]}},"keywords":{}}],["categori",{"_index":228,"title":{},"content":{"27":{"position":[[386,11]]}},"keywords":{}}],["caution",{"_index":181,"title":{},"content":{"18":{"position":[[179,7]]}},"keywords":{}}],["cd",{"_index":67,"title":{},"content":{"6":{"position":[[30,2],[64,2]]}},"keywords":{}}],["certain",{"_index":603,"title":{},"content":{"49":{"position":[[456,7]]},"82":{"position":[[835,7]]},"102":{"position":[[79,7]]}},"keywords":{}}],["chang",{"_index":68,"title":{},"content":{"6":{"position":[[75,7],[470,8]]}},"keywords":{}}],["characterist",{"_index":276,"title":{},"content":{"29":{"position":[[637,15]]}},"keywords":{}}],["chart",{"_index":463,"title":{},"content":{"41":{"position":[[50,8],[188,6]]}},"keywords":{}}],["check",{"_index":40,"title":{},"content":{"4":{"position":[[80,5]]},"97":{"position":[[212,5]]},"98":{"position":[[79,5]]}},"keywords":{}}],["checkbox",{"_index":41,"title":{},"content":{"4":{"position":[[90,10]]}},"keywords":{}}],["children",{"_index":514,"title":{},"content":{"44":{"position":[[131,11],[346,13],[367,10]]}},"keywords":{}}],["class",{"_index":838,"title":{},"content":{"64":{"position":[[684,5]]}},"keywords":{}}],["classic",{"_index":46,"title":{},"content":{"5":{"position":[[42,7],[65,7],[192,7]]}},"keywords":{}}],["classif",{"_index":731,"title":{"53":{"position":[[0,16]]}},"content":{"51":{"position":[[432,14],[676,14],[814,14]]},"53":{"position":[[85,14]]},"55":{"position":[[6,14]]}},"keywords":{}}],["clear",{"_index":335,"title":{},"content":{"31":{"position":[[96,5]]}},"keywords":{}}],["clearli",{"_index":343,"title":{},"content":{"31":{"position":[[254,8]]}},"keywords":{}}],["click",{"_index":528,"title":{},"content":{"44":{"position":[[308,7]]}},"keywords":{}}],["client",{"_index":666,"title":{},"content":{"49":{"position":[[2321,6]]}},"keywords":{}}],["close",{"_index":436,"title":{},"content":{"38":{"position":[[296,5]]}},"keywords":{}}],["co",{"_index":104,"title":{},"content":{"8":{"position":[[152,2]]}},"keywords":{}}],["code",{"_index":62,"title":{"39":{"position":[[0,4]]},"55":{"position":[[0,4]]},"57":{"position":[[0,4]]}},"content":{"5":{"position":[[312,4]]},"39":{"position":[[10,4]]},"51":{"position":[[661,4],[754,4],[844,4]]}},"keywords":{}}],["codelist",{"_index":730,"title":{},"content":{"51":{"position":[[420,8]]}},"keywords":{}}],["codifi",{"_index":798,"title":{},"content":{"55":{"position":[[84,8]]}},"keywords":{}}],["collect",{"_index":245,"title":{},"content":{"29":{"position":[[132,8],[320,11]]},"50":{"position":[[699,10]]}},"keywords":{}}],["coloc",{"_index":435,"title":{},"content":{"38":{"position":[[280,8]]}},"keywords":{}}],["color",{"_index":515,"title":{},"content":{"44":{"position":[[143,7],[194,6],[223,6],[320,5],[326,8]]}},"keywords":{}}],["color="#1877f2">facebook",{"_index":533,"title":{},"content":{"44":{"position":[[505,37]]}},"keywords":{}}],["color="#25c2a0">docusauru",{"_index":531,"title":{},"content":{"44":{"position":[[417,39]]}},"keywords":{}}],["columbia",{"_index":809,"title":{},"content":{"63":{"position":[[156,9]]},"64":{"position":[[929,9]]}},"keywords":{}}],["column",{"_index":760,"title":{},"content":{"51":{"position":[[1164,6]]}},"keywords":{}}],["come",{"_index":646,"title":{},"content":{"49":{"position":[[1712,4]]},"50":{"position":[[524,5]]}},"keywords":{}}],["command",{"_index":52,"title":{},"content":{"5":{"position":[[144,8],[220,7],[233,7],[330,7]]},"6":{"position":[[67,7],[239,7]]}},"keywords":{}}],["comment",{"_index":587,"title":{},"content":{"48":{"position":[[1068,8]]},"82":{"position":[[743,8]]}},"keywords":{}}],["common",{"_index":262,"title":{},"content":{"29":{"position":[[377,6]]},"31":{"position":[[138,6]]},"32":{"position":[[82,6]]},"33":{"position":[[672,6]]},"47":{"position":[[99,6]]},"49":{"position":[[43,6]]},"50":{"position":[[43,6]]},"51":{"position":[[260,6],[1364,6],[1846,6],[2051,6]]},"64":{"position":[[703,6]]},"91":{"position":[[419,6]]}},"keywords":{}}],["commonbuilt",{"_index":955,"title":{},"content":{"91":{"position":[[333,11]]}},"keywords":{}}],["commonli",{"_index":739,"title":{},"content":{"51":{"position":[[647,8]]},"82":{"position":[[18,8]]},"92":{"position":[[84,8]]},"96":{"position":[[98,8]]}},"keywords":{}}],["commun",{"_index":22,"title":{},"content":{"1":{"position":[[253,9]]},"30":{"position":[[646,11],[722,11]]}},"keywords":{}}],["comparison",{"_index":938,"title":{},"content":{"83":{"position":[[44,10]]},"107":{"position":[[21,10]]}},"keywords":{}}],["compat",{"_index":272,"title":{},"content":{"29":{"position":[[507,13]]},"92":{"position":[[204,10]]},"96":{"position":[[665,14]]}},"keywords":{}}],["compil",{"_index":834,"title":{},"content":{"64":{"position":[[449,12]]}},"keywords":{}}],["complet",{"_index":416,"title":{},"content":{"36":{"position":[[450,8]]},"49":{"position":[[2107,9]]},"50":{"position":[[164,8]]}},"keywords":{}}],["complex",{"_index":232,"title":{},"content":{"29":{"position":[[17,7]]}},"keywords":{}}],["compli",{"_index":904,"title":{},"content":{"82":{"position":[[459,8]]},"95":{"position":[[89,6],[149,6]]},"96":{"position":[[56,6],[465,6]]},"97":{"position":[[191,6]]},"98":{"position":[[46,6]]}},"keywords":{}}],["compliant",{"_index":972,"title":{},"content":{"92":{"position":[[524,9]]},"93":{"position":[[170,9]]},"94":{"position":[[171,9]]},"96":{"position":[[238,9]]}},"keywords":{}}],["compon",{"_index":509,"title":{"44":{"position":[[14,11]]}},"content":{"44":{"position":[[77,10]]}},"keywords":{}}],["concept",{"_index":350,"title":{"47":{"position":[[0,9]]},"54":{"position":[[0,7]]}},"content":{"32":{"position":[[100,8]]},"47":{"position":[[38,8]]},"49":{"position":[[92,8],[723,7]]},"50":{"position":[[92,8],[372,8],[1177,7],[1525,7]]},"55":{"position":[[108,8]]},"66":{"position":[[50,7]]},"76":{"position":[[50,7]]}},"keywords":{}}],["conceptu",{"_index":901,"title":{},"content":{"82":{"position":[[276,10]]}},"keywords":{}}],["concise.descript",{"_index":925,"title":{},"content":{"82":{"position":[[1042,19]]}},"keywords":{}}],["condit",{"_index":698,"title":{},"content":{"50":{"position":[[948,9],[1221,9]]}},"keywords":{}}],["configur",{"_index":7,"title":{"16":{"position":[[0,9]]},"27":{"position":[[0,9]]}},"content":{"1":{"position":[[49,13]]}},"keywords":{}}],["congratul",{"_index":0,"title":{"0":{"position":[[0,16]]}},"content":{"8":{"position":[[410,16]]}},"keywords":{}}],["connect",{"_index":304,"title":{},"content":{"30":{"position":[[381,7]]}},"keywords":{}}],["consid",{"_index":930,"title":{},"content":{"82":{"position":[[1343,10]]}},"keywords":{}}],["consist",{"_index":300,"title":{},"content":{"30":{"position":[[281,12],[548,10]]},"33":{"position":[[445,11]]},"51":{"position":[[932,10]]},"101":{"position":[[79,7]]}},"keywords":{}}],["consistencyidentifi",{"_index":375,"title":{},"content":{"33":{"position":[[258,19]]}},"keywords":{}}],["consistently.support",{"_index":317,"title":{},"content":{"30":{"position":[[671,20]]}},"keywords":{}}],["const",{"_index":513,"title":{},"content":{"44":{"position":[[113,5]]}},"keywords":{}}],["constrain",{"_index":754,"title":{},"content":{"51":{"position":[[985,11]]},"91":{"position":[[221,11]]},"96":{"position":[[322,11]]},"99":{"position":[[487,11]]},"100":{"position":[[293,9]]},"101":{"position":[[145,9]]}},"keywords":{}}],["constraint",{"_index":934,"title":{},"content":{"82":{"position":[[1456,10]]},"101":{"position":[[313,11]]}},"keywords":{}}],["constraintslegal_descript",{"_index":824,"title":{},"content":{"64":{"position":[[200,28]]}},"keywords":{}}],["constraintsproject_id",{"_index":939,"title":{},"content":{"86":{"position":[[41,21]]}},"keywords":{}}],["constraintstbd",{"_index":848,"title":{},"content":{"67":{"position":[[41,14]]},"77":{"position":[[41,14]]},"110":{"position":[[41,14]]}},"keywords":{}}],["consult",{"_index":382,"title":{},"content":{"33":{"position":[[396,12]]}},"keywords":{}}],["contain",{"_index":818,"title":{},"content":{"64":{"position":[[44,7],[109,7]]},"76":{"position":[[86,7]]},"82":{"position":[[366,7],[615,7]]},"86":{"position":[[297,7]]},"97":{"position":[[99,8]]},"101":{"position":[[211,8]]}},"keywords":{}}],["content",{"_index":174,"title":{},"content":{"17":{"position":[[88,7],[153,7],[221,7]]},"82":{"position":[[93,8]]}},"keywords":{}}],["context",{"_index":553,"title":{},"content":{"48":{"position":[[104,7]]},"49":{"position":[[1919,7]]},"51":{"position":[[528,7]]},"55":{"position":[[32,7]]},"82":{"position":[[1147,7]]}},"keywords":{}}],["context"",{"_index":661,"title":{},"content":{"49":{"position":[[2253,14]]}},"keywords":{}}],["contribut",{"_index":330,"title":{},"content":{"31":{"position":[[49,10]]}},"keywords":{}}],["convention",{"_index":1042,"title":{},"content":{"100":{"position":[[119,14]]}},"keywords":{}}],["convey",{"_index":708,"title":{},"content":{"50":{"position":[[1334,8]]},"82":{"position":[[691,9]]},"93":{"position":[[109,8]]},"94":{"position":[[107,8]]}},"keywords":{}}],["copi",{"_index":168,"title":{},"content":{"17":{"position":[[1,4]]},"22":{"position":[[98,6]]}},"keywords":{}}],["core",{"_index":267,"title":{},"content":{"29":{"position":[[443,4]]},"51":{"position":[[1288,4]]},"66":{"position":[[45,4]]},"76":{"position":[[45,4]]}},"keywords":{}}],["cost",{"_index":135,"title":{},"content":{"11":{"position":[[196,4]]},"30":{"position":[[148,5],[474,4]]}},"keywords":{}}],["cours",{"_index":356,"title":{},"content":{"32":{"position":[[214,7]]}},"keywords":{}}],["cp",{"_index":176,"title":{},"content":{"17":{"position":[[110,2]]}},"keywords":{}}],["creat",{"_index":27,"title":{"7":{"position":[[0,6]]},"8":{"position":[[0,6]]},"12":{"position":[[0,6]]},"13":{"position":[[0,6]]},"14":{"position":[[0,6]]},"22":{"position":[[0,6]]},"25":{"position":[[0,6]]},"26":{"position":[[0,6]]}},"content":{"3":{"position":[[16,8]]},"6":{"position":[[151,7]]},"8":{"position":[[1,6]]},"13":{"position":[[1,6]]},"14":{"position":[[1,6]]},"22":{"position":[[158,8]]},"26":{"position":[[1,6]]},"27":{"position":[[26,7],[264,6]]},"30":{"position":[[592,6]]},"37":{"position":[[97,7],[149,7],[213,6]]},"40":{"position":[[36,6]]}},"keywords":{}}],["creator",{"_index":105,"title":{},"content":{"8":{"position":[[155,7]]}},"keywords":{}}],["cross",{"_index":359,"title":{},"content":{"33":{"position":[[10,5],[313,5]]}},"keywords":{}}],["crown",{"_index":816,"title":{},"content":{"63":{"position":[[389,5]]},"64":{"position":[[365,5],[1178,5]]}},"keywords":{}}],["csv",{"_index":783,"title":{},"content":{"51":{"position":[[1880,4]]}},"keywords":{}}],["current",{"_index":433,"title":{},"content":{"38":{"position":[[227,7]]},"50":{"position":[[940,7],[1213,7],[1306,7]]}},"keywords":{}}],["cursor",{"_index":524,"title":{},"content":{"44":{"position":[[255,7]]}},"keywords":{}}],["custom",{"_index":13,"title":{},"content":{"1":{"position":[[138,6]]},"27":{"position":[[83,9]]},"36":{"position":[[167,6]]}},"keywords":{}}],["c{purpos",{"_index":490,"title":{},"content":{"43":{"position":[[79,10]]}},"keywords":{}}],["d",{"_index":504,"title":{},"content":{"43":{"position":[[270,1]]}},"keywords":{}}],["d[document",{"_index":493,"title":{},"content":{"43":{"position":[[135,10]]}},"keywords":{}}],["danger",{"_index":457,"title":{},"content":{"40":{"position":[[157,9],[238,9]]}},"keywords":{}}],["danger[tak",{"_index":454,"title":{},"content":{"40":{"position":[[121,14]]}},"keywords":{}}],["dash",{"_index":870,"title":{},"content":{"73":{"position":[[211,7],[464,7],[577,6]]}},"keywords":{}}],["data",{"_index":256,"title":{},"content":{"29":{"position":[[282,4],[460,4]]},"30":{"position":[[85,4],[199,4],[276,4]]},"31":{"position":[[112,4],[219,4]]},"32":{"position":[[49,4],[113,4]]},"33":{"position":[[48,4],[225,4],[773,4],[862,4],[905,4],[936,4]]},"51":{"position":[[150,4],[251,4],[267,4],[390,4],[1091,4],[1119,4],[1208,4],[1247,4],[1442,4],[1740,5],[1853,4],[1993,4],[2067,4]]},"66":{"position":[[6,4]]},"73":{"position":[[226,4],[256,4],[308,4]]},"74":{"position":[[4,4]]},"76":{"position":[[6,4]]},"85":{"position":[[6,4]]},"105":{"position":[[9,4]]},"109":{"position":[[6,4]]}},"keywords":{}}],["databas",{"_index":770,"title":{},"content":{"51":{"position":[[1456,8],[2020,9],[2102,9]]}},"keywords":{}}],["date",{"_index":726,"title":{"92":{"position":[[0,4]]}},"content":{"51":{"position":[[313,5]]},"92":{"position":[[1,4],[139,4],[295,4]]},"105":{"position":[[118,4]]},"106":{"position":[[90,5]]}},"keywords":{}}],["decim",{"_index":1025,"title":{},"content":{"99":{"position":[[1,8],[299,7]]}},"keywords":{}}],["decis",{"_index":250,"title":{},"content":{"29":{"position":[[186,9]]},"48":{"position":[[236,8],[263,8],[415,10],[624,9]]},"49":{"position":[[1324,8],[1364,8]]}},"keywords":{}}],["declar",{"_index":660,"title":{},"content":{"49":{"position":[[2225,9]]}},"keywords":{}}],["dedic",{"_index":567,"title":{},"content":{"48":{"position":[[486,9]]}},"keywords":{}}],["default",{"_index":144,"title":{},"content":{"13":{"position":[[144,7]]},"16":{"position":[[92,7]]},"19":{"position":[[133,7]]},"23":{"position":[[133,7]]},"27":{"position":[[331,7]]}},"keywords":{}}],["defaultlocal",{"_index":165,"title":{},"content":{"16":{"position":[[110,14]]}},"keywords":{}}],["defin",{"_index":275,"title":{},"content":{"29":{"position":[[614,6]]},"36":{"position":[[357,8]]},"49":{"position":[[163,7],[216,7],[795,6],[1542,8],[2067,7]]},"50":{"position":[[587,7],[627,7],[729,7],[819,7],[1413,7]]},"51":{"position":[[206,8],[1472,8]]},"66":{"position":[[63,7]]},"82":{"position":[[35,7],[135,6],[1268,8],[1370,7]]},"100":{"position":[[320,6],[379,6]]},"109":{"position":[[82,7]]}},"keywords":{}}],["definit",{"_index":595,"title":{"49":{"position":[[0,12]]}},"content":{"49":{"position":[[27,11],[120,10],[1145,10]]},"50":{"position":[[27,11],[125,10],[1121,11],[1470,11]]},"51":{"position":[[45,11],[952,12],[1230,11],[1336,10]]},"53":{"position":[[61,11]]},"100":{"position":[[444,11]]},"101":{"position":[[122,11]]}},"keywords":{}}],["definitionapplic",{"_index":554,"title":{},"content":{"48":{"position":[[127,19]]}},"keywords":{}}],["definitiondata",{"_index":718,"title":{},"content":{"51":{"position":[[118,14]]}},"keywords":{}}],["definitionlob",{"_index":541,"title":{},"content":{"46":{"position":[[6,13]]}},"keywords":{}}],["degre",{"_index":644,"title":{},"content":{"49":{"position":[[1671,7]]}},"keywords":{}}],["delici",{"_index":357,"title":{},"content":{"32":{"position":[[231,10]]}},"keywords":{}}],["deliv",{"_index":292,"title":{},"content":{"30":{"position":[[34,7]]},"48":{"position":[[475,10]]}},"keywords":{}}],["deliveri",{"_index":1066,"title":{},"content":{"105":{"position":[[34,8]]}},"keywords":{}}],["depend",{"_index":43,"title":{},"content":{"4":{"position":[[112,13]]},"5":{"position":[[366,12]]}},"keywords":{}}],["deploy",{"_index":126,"title":{"9":{"position":[[0,6]]},"11":{"position":[[0,6]]}},"content":{"11":{"position":[[125,6],[211,10]]}},"keywords":{}}],["deriv",{"_index":412,"title":{},"content":{"36":{"position":[[400,7]]}},"keywords":{}}],["describ",{"_index":679,"title":{},"content":{"50":{"position":[[280,8]]},"51":{"position":[[21,8],[1551,9]]},"56":{"position":[[31,9]]},"82":{"position":[[233,10],[265,10],[416,9]]},"96":{"position":[[120,9]]},"101":{"position":[[413,8]]},"105":{"position":[[142,10]]}},"keywords":{}}],["descript",{"_index":268,"title":{},"content":{"29":{"position":[[448,11]]},"36":{"position":[[120,12],[145,11],[330,11]]},"49":{"position":[[569,11]]},"50":{"position":[[921,11],[1194,11]]},"64":{"position":[[182,11],[256,11]]},"67":{"position":[[23,11]]},"77":{"position":[[23,11]]},"82":{"position":[[1072,11]]},"86":{"position":[[23,11],[260,11]]},"110":{"position":[[23,11]]}},"keywords":{}}],["descriptor",{"_index":800,"title":{"56":{"position":[[5,12]]}},"content":{"56":{"position":[[51,11]]}},"keywords":{}}],["design",{"_index":14,"title":{},"content":{"1":{"position":[[145,6]]},"48":{"position":[[305,10]]},"49":{"position":[[1603,10]]}},"keywords":{}}],["detail",{"_index":468,"title":{},"content":{"41":{"position":[[159,7],[241,7]]},"50":{"position":[[1288,7],[1482,8]]},"91":{"position":[[495,6]]},"93":{"position":[[240,8]]},"94":{"position":[[258,8]]},"95":{"position":[[232,8]]},"97":{"position":[[256,8]]},"98":{"position":[[123,8]]},"100":{"position":[[471,7]]},"102":{"position":[[298,8]]},"103":{"position":[[207,8]]}},"keywords":{}}],["develop",{"_index":65,"title":{},"content":{"6":{"position":[[9,11],[299,11]]},"18":{"position":[[190,12]]},"33":{"position":[[743,9]]},"36":{"position":[[186,9]]},"48":{"position":[[738,12]]},"49":{"position":[[314,11]]}},"keywords":{}}],["diagram",{"_index":462,"title":{},"content":{"41":{"position":[[34,11],[259,7]]},"49":{"position":[[2378,7]]},"50":{"position":[[1548,7]]}},"keywords":{}}],["dialect",{"_index":1024,"title":{},"content":{"98":{"position":[[70,8]]}},"keywords":{}}],["dictionari",{"_index":764,"title":{},"content":{"51":{"position":[[1252,11]]}},"keywords":{}}],["differ",{"_index":305,"title":{},"content":{"30":{"position":[[422,9],[692,9]]},"51":{"position":[[1503,9]]},"101":{"position":[[90,9]]}},"keywords":{}}],["differenti",{"_index":1028,"title":{},"content":{"99":{"position":[[119,13]]}},"keywords":{}}],["difficult",{"_index":254,"title":{},"content":{"29":{"position":[[245,9]]}},"keywords":{}}],["digit",{"_index":806,"title":{},"content":{"63":{"position":[[64,5]]},"64":{"position":[[841,5]]},"73":{"position":[[558,5]]}},"keywords":{}}],["digits.parcel_id_numb",{"_index":881,"title":{},"content":{"73":{"position":[[612,23]]}},"keywords":{}}],["direct",{"_index":288,"title":{},"content":{"29":{"position":[[840,9]]}},"keywords":{}}],["directori",{"_index":69,"title":{},"content":{"6":{"position":[[87,9]]},"38":{"position":[[102,9]]}},"keywords":{}}],["discret",{"_index":694,"title":{},"content":{"50":{"position":[[674,9]]}},"keywords":{}}],["discuss",{"_index":548,"title":{},"content":{"48":{"position":[[14,9]]}},"keywords":{}}],["display",{"_index":88,"title":{},"content":{"6":{"position":[[456,8]]}},"keywords":{}}],["disposit",{"_index":631,"title":{},"content":{"49":{"position":[[1302,11]]}},"keywords":{}}],["distinct",{"_index":686,"title":{},"content":{"50":{"position":[[417,8]]}},"keywords":{}}],["distribut",{"_index":872,"title":{},"content":{"73":{"position":[[239,11]]}},"keywords":{}}],["district",{"_index":574,"title":{},"content":{"48":{"position":[[678,8]]}},"keywords":{}}],["divis",{"_index":688,"title":{},"content":{"50":{"position":[[436,8]]}},"keywords":{}}],["doc",{"_index":167,"title":{"17":{"position":[[12,4]]},"21":{"position":[[7,4]]},"22":{"position":[[9,4]]},"26":{"position":[[18,4]]}},"content":{"22":{"position":[[83,4],[173,4],[332,4]]},"23":{"position":[[239,4]]},"24":{"position":[[34,4]]},"27":{"position":[[53,4]]}},"keywords":{}}],["doc.md",{"_index":403,"title":{},"content":{"36":{"position":[[70,6]]}},"keywords":{}}],["docs/curr",{"_index":175,"title":{},"content":{"17":{"position":[[96,13]]}},"keywords":{}}],["docs/current/intro.md",{"_index":177,"title":{},"content":{"17":{"position":[[161,21],[229,21]]}},"keywords":{}}],["docs/hello.md",{"_index":214,"title":{},"content":{"26":{"position":[[27,14],[43,13]]},"27":{"position":[[126,13]]}},"keywords":{}}],["docs/intro.md",{"_index":83,"title":{},"content":{"6":{"position":[[374,13]]},"17":{"position":[[10,13],[113,13]]}},"keywords":{}}],["docs:vers",{"_index":196,"title":{},"content":{"22":{"position":[[60,12]]}},"keywords":{}}],["docscurr",{"_index":201,"title":{},"content":{"22":{"position":[[255,11]]}},"keywords":{}}],["document",{"_index":213,"title":{"25":{"position":[[9,8]]},"32":{"position":[[0,14]]}},"content":{"26":{"position":[[95,11],[115,8]]},"27":{"position":[[227,11],[451,10]]},"32":{"position":[[26,11]]},"36":{"position":[[10,9],[105,8],[136,8]]},"41":{"position":[[218,13]]},"44":{"position":[[19,13]]},"49":{"position":[[1788,8]]},"82":{"position":[[79,9],[193,9],[1234,8],[1328,8]]},"91":{"position":[[472,13]]},"92":{"position":[[403,13]]},"93":{"position":[[217,13]]},"94":{"position":[[235,13]]},"95":{"position":[[209,13]]},"96":{"position":[[148,14]]},"97":{"position":[[233,13]]},"98":{"position":[[100,13]]},"99":{"position":[[614,13]]},"100":{"position":[[253,13],[530,14]]},"101":{"position":[[476,13]]},"102":{"position":[[275,13]]},"103":{"position":[[184,13]]}},"keywords":{}}],["documentationmodifi",{"_index":5,"title":{},"content":{"1":{"position":[[19,19]]}},"keywords":{}}],["docusauru",{"_index":19,"title":{},"content":{"1":{"position":[[203,10],[242,10]]},"3":{"position":[[45,10]]},"5":{"position":[[16,10],[395,11]]},"6":{"position":[[159,10]]},"8":{"position":[[166,10],[291,10]]},"22":{"position":[[49,10]]},"26":{"position":[[84,10]]},"27":{"position":[[1,10],[216,10]]},"36":{"position":[[470,10]]},"38":{"position":[[142,12],[337,12]]},"40":{"position":[[1,10]]},"41":{"position":[[5,10]]},"44":{"position":[[580,10]]}},"keywords":{}}],["docusaurus!</h1>",{"_index":445,"title":{},"content":{"39":{"position":[[175,23],[294,23]]}},"keywords":{}}],["docusaurus.config.j",{"_index":161,"title":{},"content":{"16":{"position":[[8,20],[64,20]]},"19":{"position":[[77,20],[105,20]]},"23":{"position":[[77,20],[105,20]]}},"keywords":{}}],["docusaurus.config.jsadd",{"_index":8,"title":{},"content":{"1":{"position":[[68,23]]}},"keywords":{}}],["docusaurus.new",{"_index":31,"title":{},"content":{"3":{"position":[[73,15]]}},"keywords":{}}],["docusaurus@latest",{"_index":55,"title":{},"content":{"5":{"position":[[163,17]]}},"keywords":{}}],["domain",{"_index":592,"title":{},"content":{"48":{"position":[[1178,7]]},"51":{"position":[[1026,7]]},"82":{"position":[[328,7]]},"106":{"position":[[204,6]]}},"keywords":{}}],["done",{"_index":1046,"title":{},"content":{"100":{"position":[[494,4]]}},"keywords":{}}],["draft",{"_index":903,"title":{},"content":{"82":{"position":[[430,5]]},"83":{"position":[[1,5]]},"92":{"position":[[539,5]]},"96":{"position":[[253,5]]}},"keywords":{}}],["driven",{"_index":667,"title":{},"content":{"49":{"position":[[2328,6]]}},"keywords":{}}],["dropdown",{"_index":184,"title":{"19":{"position":[[13,9]]},"23":{"position":[[14,9]]}},"content":{"19":{"position":[[55,9],[231,8]]},"23":{"position":[[55,9],[252,8]]}},"keywords":{}}],["dublin",{"_index":765,"title":{},"content":{"51":{"position":[[1281,6]]}},"keywords":{}}],["durat",{"_index":971,"title":{},"content":{"92":{"position":[[468,8]]}},"keywords":{}}],["dure",{"_index":836,"title":{},"content":{"64":{"position":[[485,6]]},"73":{"position":[[67,6]]}},"keywords":{}}],["e",{"_index":505,"title":{},"content":{"43":{"position":[[272,1]]}},"keywords":{}}],["e.g",{"_index":600,"title":{},"content":{"49":{"position":[[298,5]]},"50":{"position":[[1031,6],[1343,6]]},"64":{"position":[[697,5]]}},"keywords":{}}],["e[ev",{"_index":496,"title":{},"content":{"43":{"position":[[170,7]]}},"keywords":{}}],["each",{"_index":318,"title":{},"content":{"30":{"position":[[739,4]]},"33":{"position":[[656,4]]},"50":{"position":[[1653,4]]},"53":{"position":[[80,4]]},"55":{"position":[[1,4]]},"56":{"position":[[1,4]]},"73":{"position":[[592,4]]}},"keywords":{}}],["easier",{"_index":303,"title":{},"content":{"30":{"position":[[371,6]]}},"keywords":{}}],["easili",{"_index":132,"title":{},"content":{"11":{"position":[[165,7]]}},"keywords":{}}],["ecma",{"_index":1071,"title":{},"content":{"106":{"position":[[1,4]]}},"keywords":{}}],["ecosystem",{"_index":274,"title":{},"content":{"29":{"position":[[591,11]]}},"keywords":{}}],["edit",{"_index":85,"title":{},"content":{"6":{"position":[[404,4]]},"8":{"position":[[487,4]]},"24":{"position":[[19,4]]}},"keywords":{}}],["editor",{"_index":63,"title":{},"content":{"5":{"position":[[317,7]]},"82":{"position":[[793,7]]}},"keywords":{}}],["effort",{"_index":295,"title":{},"content":{"30":{"position":[[158,6],[463,6]]}},"keywords":{}}],["element",{"_index":269,"title":{},"content":{"29":{"position":[[475,8]]},"33":{"position":[[601,8]]},"51":{"position":[[1096,8],[1124,9],[1380,8]]},"101":{"position":[[38,9],[67,8],[167,8],[277,8]]}},"keywords":{}}],["email",{"_index":974,"title":{"93":{"position":[[0,6]]}},"content":{"93":{"position":[[1,5],[29,5],[90,6],[150,5]]}},"keywords":{}}],["email)rfc",{"_index":1085,"title":{},"content":{"106":{"position":[[245,9]]}},"keywords":{}}],["email/smtp)rfc",{"_index":1083,"title":{},"content":{"106":{"position":[[164,15]]}},"keywords":{}}],["en",{"_index":166,"title":{},"content":{"16":{"position":[[125,5],[140,6]]}},"keywords":{}}],["enabl",{"_index":271,"title":{},"content":{"29":{"position":[[496,6],[676,6],[797,8]]},"30":{"position":[[71,6]]},"33":{"position":[[1,6]]}},"keywords":{}}],["encod",{"_index":778,"title":{},"content":{"51":{"position":[[1667,9]]},"92":{"position":[[357,7]]},"102":{"position":[[240,9]]}},"keywords":{}}],["encount",{"_index":876,"title":{},"content":{"73":{"position":[[417,11],[732,12]]}},"keywords":{}}],["end",{"_index":502,"title":{},"content":{"43":{"position":[[245,3],[278,3]]},"50":{"position":[[353,4]]}},"keywords":{}}],["enhanc",{"_index":299,"title":{},"content":{"30":{"position":[[268,7]]}},"keywords":{}}],["ensur",{"_index":340,"title":{},"content":{"31":{"position":[[212,6]]},"102":{"position":[[179,6]]}},"keywords":{}}],["enter",{"_index":813,"title":{},"content":{"63":{"position":[[238,7]]},"64":{"position":[[1011,7]]}},"keywords":{}}],["entir",{"_index":680,"title":{},"content":{"50":{"position":[[293,6]]}},"keywords":{}}],["entiti",{"_index":576,"title":{},"content":{"48":{"position":[[721,6]]}},"keywords":{}}],["entri",{"_index":729,"title":{},"content":{"51":{"position":[[409,5]]}},"keywords":{}}],["enumer",{"_index":799,"title":{},"content":{"55":{"position":[[97,10]]}},"keywords":{}}],["equat",{"_index":1062,"title":{},"content":{"103":{"position":[[111,6]]}},"keywords":{}}],["equival",{"_index":999,"title":{},"content":{"96":{"position":[[343,10]]}},"keywords":{}}],["errata",{"_index":1089,"title":{"107":{"position":[[0,7]]}},"content":{},"keywords":{}}],["essenti",{"_index":635,"title":{},"content":{"49":{"position":[[1408,11]]}},"keywords":{}}],["establish",{"_index":565,"title":{},"content":{"48":{"position":[[441,11]]},"51":{"position":[[896,11],[1313,11]]}},"keywords":{}}],["evalu",{"_index":1057,"title":{},"content":{"102":{"position":[[101,8],[204,9]]}},"keywords":{}}],["event",{"_index":886,"title":{"75":{"position":[[0,5]]},"108":{"position":[[8,5]]}},"content":{"76":{"position":[[72,6]]},"109":{"position":[[67,5]]}},"keywords":{}}],["everyon",{"_index":324,"title":{"31":{"position":[[8,8]]}},"content":{"31":{"position":[[157,8]]}},"keywords":{}}],["evid",{"_index":282,"title":{},"content":{"29":{"position":[[727,8]]},"30":{"position":[[771,8]]}},"keywords":{}}],["exampl",{"_index":466,"title":{},"content":{"41":{"position":[[105,8]]},"51":{"position":[[704,8],[1268,8]]},"56":{"position":[[67,8]]},"68":{"position":[[1,7]]},"78":{"position":[[1,7]]},"92":{"position":[[435,9]]},"99":{"position":[[646,9]]},"101":{"position":[[508,9]]},"111":{"position":[[1,7]]}},"keywords":{}}],["exchang",{"_index":494,"title":{},"content":{"43":{"position":[[146,9]]}},"keywords":{}}],["exclusivemaximum",{"_index":1038,"title":{},"content":{"99":{"position":[[571,17]]}},"keywords":{}}],["execut",{"_index":503,"title":{},"content":{"43":{"position":[[258,9]]}},"keywords":{}}],["exist",{"_index":207,"title":{"24":{"position":[[10,8]]}},"content":{},"keywords":{}}],["expand",{"_index":625,"title":{},"content":{"49":{"position":[[1133,6]]}},"keywords":{}}],["expect",{"_index":899,"title":{},"content":{"82":{"position":[[157,12],[244,8],[1206,8]]},"100":{"position":[[347,8]]},"101":{"position":[[248,11],[290,9]]}},"keywords":{}}],["expert",{"_index":589,"title":{},"content":{"48":{"position":[[1111,6],[1135,6]]}},"keywords":{}}],["expert."",{"_index":855,"title":{},"content":{"68":{"position":[[141,14]]},"111":{"position":[[364,14]]}},"keywords":{}}],["explicitli",{"_index":225,"title":{},"content":{"27":{"position":[[284,10]]},"82":{"position":[[124,10]]}},"keywords":{}}],["export",{"_index":143,"title":{},"content":{"13":{"position":[[137,6]]},"16":{"position":[[85,6]]},"19":{"position":[[126,6]]},"23":{"position":[[126,6]]},"27":{"position":[[324,6]]},"44":{"position":[[106,6]]}},"keywords":{}}],["express",{"_index":1000,"title":{"98":{"position":[[8,11]]}},"content":{"96":{"position":[[377,10],[498,10]]},"98":{"position":[[9,11]]}},"keywords":{}}],["expressionpattern",{"_index":954,"title":{},"content":{"91":{"position":[[291,18]]}},"keywords":{}}],["extend",{"_index":1013,"title":{},"content":{"96":{"position":[[715,7]]}},"keywords":{}}],["extens",{"_index":949,"title":{},"content":{"91":{"position":[[156,9]]},"100":{"position":[[243,9]]}},"keywords":{}}],["f",{"_index":506,"title":{},"content":{"43":{"position":[[274,1]]}},"keywords":{}}],["f[aggreg",{"_index":499,"title":{},"content":{"43":{"position":[[202,14]]}},"keywords":{}}],["f]{12}$/i",{"_index":1008,"title":{},"content":{"96":{"position":[[606,9]]}},"keywords":{}}],["f]{4",{"_index":1007,"title":{},"content":{"96":{"position":[[570,5],[582,5],[594,5]]}},"keywords":{}}],["f]{8",{"_index":1006,"title":{},"content":{"96":{"position":[[558,5]]}},"keywords":{}}],["fabric",{"_index":833,"title":{},"content":{"64":{"position":[[442,6]]}},"keywords":{}}],["facebook",{"_index":536,"title":{},"content":{"44":{"position":[[608,8]]}},"keywords":{}}],["facilit",{"_index":564,"title":{},"content":{"48":{"position":[[426,11],[842,12]]},"49":{"position":[[1259,11]]}},"keywords":{}}],["fals",{"_index":1056,"title":{},"content":{"102":{"position":[[66,6],[134,6]]}},"keywords":{}}],["featur",{"_index":398,"title":{"35":{"position":[[9,8]]}},"content":{"40":{"position":[[102,7],[197,7]]}},"keywords":{}}],["feedback",{"_index":339,"title":{},"content":{"31":{"position":[[200,8]]}},"keywords":{}}],["feel",{"_index":118,"title":{},"content":{"8":{"position":[[458,4]]}},"keywords":{}}],["fff",{"_index":521,"title":{},"content":{"44":{"position":[[230,7]]}},"keywords":{}}],["field",{"_index":417,"title":{},"content":{"36":{"position":[[504,6]]},"82":{"position":[[681,5]]}},"keywords":{}}],["file",{"_index":92,"title":{},"content":{"8":{"position":[[10,4]]},"10":{"position":[[61,5]]},"13":{"position":[[10,4]]},"14":{"position":[[10,4]]},"17":{"position":[[24,4]]},"19":{"position":[[98,5]]},"23":{"position":[[98,5]]},"26":{"position":[[19,4]]},"37":{"position":[[67,4]]},"38":{"position":[[235,4],[318,5]]},"51":{"position":[[1681,4]]}},"keywords":{}}],["filenam",{"_index":413,"title":{},"content":{"36":{"position":[[419,8]]}},"keywords":{}}],["filesystem",{"_index":792,"title":{},"content":{"51":{"position":[[2006,11]]}},"keywords":{}}],["final",{"_index":632,"title":{},"content":{"49":{"position":[[1318,5]]}},"keywords":{}}],["first",{"_index":91,"title":{"8":{"position":[[12,5]]},"13":{"position":[[12,5]]},"14":{"position":[[12,5]]},"26":{"position":[[12,5]]}},"content":{"8":{"position":[[446,5]]},"26":{"position":[[76,7]]},"27":{"position":[[208,7]]},"33":{"position":[[382,5]]},"49":{"position":[[1525,5]]},"102":{"position":[[225,5]]}},"keywords":{}}],["flexibl",{"_index":286,"title":{},"content":{"29":{"position":[[806,11]]}},"keywords":{}}],["float",{"_index":1026,"title":{},"content":{"99":{"position":[[13,8],[154,8],[244,8]]}},"keywords":{}}],["flowchart",{"_index":482,"title":{"43":{"position":[[0,10]]}},"content":{},"keywords":{}}],["fm",{"_index":750,"title":{},"content":{"51":{"position":[[853,2]]}},"keywords":{}}],["focu",{"_index":390,"title":{},"content":{"33":{"position":[[807,5]]}},"keywords":{}}],["focus",{"_index":566,"title":{},"content":{"48":{"position":[[464,7]]}},"keywords":{}}],["folder",{"_index":129,"title":{},"content":{"10":{"position":[[94,7]]},"11":{"position":[[64,6],[142,6]]},"17":{"position":[[44,7]]},"22":{"position":[[88,6]]},"24":{"position":[[59,7]]},"27":{"position":[[58,7]]}},"keywords":{}}],["follow",{"_index":464,"title":{},"content":{"41":{"position":[[80,9]]},"47":{"position":[[5,9]]},"49":{"position":[[2368,9]]},"50":{"position":[[1538,9]]},"51":{"position":[[5,9]]},"73":{"position":[[392,9]]},"82":{"position":[[378,9]]}},"keywords":{}}],["footer",{"_index":10,"title":{},"content":{"1":{"position":[[103,6]]}},"keywords":{}}],["form",{"_index":619,"title":{},"content":{"49":{"position":[[997,6],[2136,4]]}},"keywords":{}}],["form(",{"_index":611,"title":{},"content":{"49":{"position":[[623,7]]}},"keywords":{}}],["formal",{"_index":608,"title":{},"content":{"49":{"position":[[548,6],[1181,6]]}},"keywords":{}}],["format",{"_index":775,"title":{"81":{"position":[[0,10]]}},"content":{"51":{"position":[[1598,6],[1609,6],[1686,6],[1758,7],[1858,7]]},"73":{"position":[[169,6],[349,7],[402,7],[521,9]]},"91":{"position":[[110,7],[348,6],[426,7],[528,6]]},"92":{"position":[[18,7],[71,7],[197,6],[305,7],[477,6]]},"93":{"position":[[22,6],[82,7],[139,6]]},"94":{"position":[[16,6],[77,7],[137,6]]},"95":{"position":[[28,9],[54,8]]},"96":{"position":[[41,6],[112,7],[191,6],[811,6]]},"97":{"position":[[20,6]]},"98":{"position":[[26,6]]}},"keywords":{}}],["format"",{"_index":777,"title":{},"content":{"51":{"position":[[1639,12]]}},"keywords":{}}],["found",{"_index":418,"title":{},"content":{"36":{"position":[[518,5]]},"100":{"position":[[506,5]]}},"keywords":{}}],["foundat",{"_index":265,"title":{},"content":{"29":{"position":[[423,12]]}},"keywords":{}}],["fr",{"_index":164,"title":{},"content":{"16":{"position":[[52,2],[147,6]]},"18":{"position":[[66,2]]},"20":{"position":[[67,2]]}},"keywords":{}}],["free",{"_index":119,"title":{},"content":{"8":{"position":[[463,4]]},"11":{"position":[[177,4]]},"82":{"position":[[671,4]]}},"keywords":{}}],["french",{"_index":178,"title":{},"content":{"17":{"position":[[254,7]]},"18":{"position":[[24,6]]}},"keywords":{}}],["front",{"_index":399,"title":{"36":{"position":[[0,5]]}},"content":{"36":{"position":[[52,5],[491,5]]}},"keywords":{}}],["full",{"_index":826,"title":{},"content":{"64":{"position":[[245,4]]},"86":{"position":[[255,4]]}},"keywords":{}}],["function",{"_index":145,"title":{},"content":{"13":{"position":[[152,8]]},"39":{"position":[[122,8],[241,8]]}},"keywords":{}}],["fundament",{"_index":720,"title":{},"content":{"51":{"position":[[179,11]]}},"keywords":{}}],["further",{"_index":916,"title":{},"content":{"82":{"position":[[815,7]]},"96":{"position":[[839,7]]}},"keywords":{}}],["g",{"_index":507,"title":{},"content":{"43":{"position":[[276,1]]}},"keywords":{}}],["g[/further",{"_index":491,"title":{},"content":{"43":{"position":[[99,10]]}},"keywords":{}}],["gain",{"_index":370,"title":{},"content":{"33":{"position":[[169,4]]}},"keywords":{}}],["gap",{"_index":369,"title":{},"content":{"33":{"position":[[163,5]]}},"keywords":{}}],["gener",{"_index":44,"title":{"5":{"position":[[0,8]]}},"content":{"5":{"position":[[1,8]]},"10":{"position":[[71,9]]},"50":{"position":[[1140,7]]},"51":{"position":[[103,8]]}},"keywords":{}}],["get",{"_index":25,"title":{"3":{"position":[[0,7]]},"28":{"position":[[0,7]]},"31":{"position":[[0,7]]}},"content":{"18":{"position":[[142,7]]},"49":{"position":[[698,7]]}},"keywords":{}}],["given",{"_index":585,"title":{},"content":{"48":{"position":[[1025,5]]}},"keywords":{}}],["global",{"_index":735,"title":{},"content":{"51":{"position":[[521,6]]}},"keywords":{}}],["go",{"_index":696,"title":{},"content":{"50":{"position":[[788,2]]},"64":{"position":[[495,5]]}},"keywords":{}}],["goal",{"_index":358,"title":{"33":{"position":[[0,6]]}},"content":{"33":{"position":[[426,4]]}},"keywords":{}}],["good",{"_index":900,"title":{},"content":{"82":{"position":[[224,4]]}},"keywords":{}}],["govern",{"_index":347,"title":{"105":{"position":[[0,10]]}},"content":{"32":{"position":[[38,10]]},"48":{"position":[[640,10],[938,11],[953,10]]},"73":{"position":[[95,11],[289,10]]}},"keywords":{}}],["governance.develop",{"_index":337,"title":{},"content":{"31":{"position":[[117,18]]}},"keywords":{}}],["grant",{"_index":616,"title":{},"content":{"49":{"position":[[875,8],[1073,6],[1803,6]]}},"keywords":{}}],["graph",{"_index":460,"title":{"41":{"position":[[8,7]]}},"content":{"42":{"position":[[12,5]]},"43":{"position":[[12,5]]}},"keywords":{}}],["green",{"_index":535,"title":{},"content":{"44":{"position":[[591,5]]}},"keywords":{}}],["green</highlight>",{"_index":532,"title":{},"content":{"44":{"position":[[457,23]]}},"keywords":{}}],["greet",{"_index":98,"title":{},"content":{"8":{"position":[[88,9],[105,10],[394,11]]}},"keywords":{}}],["greetings.md",{"_index":96,"title":{},"content":{"8":{"position":[[34,13],[65,12]]}},"keywords":{}}],["group",{"_index":327,"title":{},"content":{"31":{"position":[[18,5]]},"48":{"position":[[57,5],[157,5],[576,5]]},"51":{"position":[[1110,5]]},"73":{"position":[[597,5]]},"85":{"position":[[43,8]]}},"keywords":{}}],["gt",{"_index":489,"title":{},"content":{"43":{"position":[[74,4],[94,4]]},"44":{"position":[[151,5],[289,5],[360,6]]}},"keywords":{}}],["gt;b",{"_index":477,"title":{},"content":{"42":{"position":[[24,5]]}},"keywords":{}}],["gt;c",{"_index":478,"title":{},"content":{"42":{"position":[[33,5]]}},"keywords":{}}],["gt;d",{"_index":480,"title":{},"content":{"42":{"position":[[42,5],[51,5]]}},"keywords":{}}],["gt;|get",{"_index":485,"title":{},"content":{"43":{"position":[[31,8]]}},"keywords":{}}],["gt;|one",{"_index":492,"title":{},"content":{"43":{"position":[[123,11]]}},"keywords":{}}],["gt;|three",{"_index":498,"title":{},"content":{"43":{"position":[[190,11]]}},"keywords":{}}],["gt;|two",{"_index":495,"title":{},"content":{"43":{"position":[[160,9]]}},"keywords":{}}],["guid",{"_index":136,"title":{},"content":{"11":{"position":[[222,7]]}},"keywords":{}}],["guidelin",{"_index":313,"title":{},"content":{"30":{"position":[[609,10]]}},"keywords":{}}],["happen",{"_index":629,"title":{},"content":{"49":{"position":[[1233,9]]},"50":{"position":[[1505,9]]}},"keywords":{}}],["harmon",{"_index":365,"title":{},"content":{"33":{"position":[[115,10],[299,13]]}},"keywords":{}}],["head",{"_index":406,"title":{},"content":{"36":{"position":[[212,7]]},"51":{"position":[[1171,8]]}},"keywords":{}}],["health",{"_index":1069,"title":{},"content":{"105":{"position":[[85,6]]}},"keywords":{}}],["hello",{"_index":215,"title":{},"content":{"26":{"position":[[59,5]]},"27":{"position":[[191,5],[369,8]]}},"keywords":{}}],["hellodocusauru",{"_index":443,"title":{},"content":{"39":{"position":[[131,17],[250,17]]}},"keywords":{}}],["help",{"_index":314,"title":{},"content":{"30":{"position":[[625,4]]}},"keywords":{}}],["here",{"_index":419,"title":{},"content":{"36":{"position":[[524,5]]},"49":{"position":[[529,4]]},"91":{"position":[[434,5]]}},"keywords":{}}],["hi",{"_index":222,"title":{},"content":{"27":{"position":[[159,5]]}},"keywords":{}}],["high",{"_index":669,"title":{},"content":{"49":{"position":[[2397,4]]},"50":{"position":[[1567,4]]}},"keywords":{}}],["higher",{"_index":697,"title":{},"content":{"50":{"position":[[870,6]]}},"keywords":{}}],["highest",{"_index":684,"title":{},"content":{"50":{"position":[[358,7]]}},"keywords":{}}],["highlight",{"_index":440,"title":{},"content":{"39":{"position":[[48,13]]},"44":{"position":[[119,9]]}},"keywords":{}}],["hl7",{"_index":847,"title":{},"content":{"66":{"position":[[113,3]]},"76":{"position":[[148,3]]},"109":{"position":[[132,3]]}},"keywords":{}}],["hostnam",{"_index":982,"title":{"94":{"position":[[0,9]]}},"content":{"94":{"position":[[1,9],[23,8],[85,9],[148,8]]}},"keywords":{}}],["hosts)rfc",{"_index":1075,"title":{},"content":{"106":{"position":[[45,9]]}},"keywords":{}}],["hous",{"_index":601,"title":{},"content":{"49":{"position":[[306,7]]}},"keywords":{}}],["http://localhost:3000",{"_index":81,"title":{},"content":{"6":{"position":[[344,23]]},"11":{"position":[[88,23]]}},"keywords":{}}],["http://localhost:3000/blog/greet",{"_index":125,"title":{},"content":{"8":{"position":[[561,37]]}},"keywords":{}}],["http://localhost:3000/doc",{"_index":200,"title":{},"content":{"22":{"position":[[207,27]]}},"keywords":{}}],["http://localhost:3000/docs/hello",{"_index":216,"title":{},"content":{"26":{"position":[[144,33]]}},"keywords":{}}],["http://localhost:3000/docs/hellodocs/hello.md",{"_index":211,"title":{},"content":{"24":{"position":[[112,45]]}},"keywords":{}}],["http://localhost:3000/docs/next",{"_index":202,"title":{},"content":{"22":{"position":[[270,32]]}},"keywords":{}}],["http://localhost:3000/docs/next/hello",{"_index":212,"title":{},"content":{"24":{"position":[[166,37]]}},"keywords":{}}],["http://localhost:3000/fr",{"_index":180,"title":{},"content":{"18":{"position":[[108,25]]}},"keywords":{}}],["http://localhost:3000/mi",{"_index":155,"title":{},"content":{"13":{"position":[[330,24]]},"14":{"position":[[156,24]]}},"keywords":{}}],["https://github.com/joelmarcey",{"_index":108,"title":{},"content":{"8":{"position":[[184,29]]}},"keywords":{}}],["https://github.com/joelmarcey.png",{"_index":110,"title":{},"content":{"8":{"position":[[225,33]]}},"keywords":{}}],["https://github.com/slorber.png",{"_index":115,"title":{},"content":{"8":{"position":[[357,30]]}},"keywords":{}}],["https://json",{"_index":907,"title":{},"content":{"82":{"position":[[513,12]]}},"keywords":{}}],["https://sebastienlorber.com",{"_index":114,"title":{},"content":{"8":{"position":[[318,27]]}},"keywords":{}}],["i18n",{"_index":159,"title":{"16":{"position":[[10,5]]}},"content":{"16":{"position":[[102,5]]}},"keywords":{}}],["i18n/fr",{"_index":169,"title":{},"content":{"17":{"position":[[36,7]]}},"keywords":{}}],["i18n/fr/docusauru",{"_index":172,"title":{},"content":{"17":{"position":[[62,18],[127,18],[195,18]]}},"keywords":{}}],["id",{"_index":404,"title":{"73":{"position":[[7,2]]}},"content":{"36":{"position":[[81,3]]},"63":{"position":[[8,2]]},"64":{"position":[[785,2]]},"73":{"position":[[8,3],[345,3],[518,2],[662,2]]}},"keywords":{}}],["ideal",{"_index":911,"title":{},"content":{"82":{"position":[[607,7]]}},"keywords":{}}],["identif",{"_index":501,"title":{},"content":{"43":{"position":[[226,14]]},"63":{"position":[[354,14]]},"64":{"position":[[1143,14]]}},"keywords":{}}],["identifi",{"_index":368,"title":{"62":{"position":[[7,10]]},"96":{"position":[[9,11]]}},"content":{"33":{"position":[[154,8]]},"49":{"position":[[410,11]]},"51":{"position":[[319,11],[331,11],[465,11],[1810,12]]},"63":{"position":[[45,11],[95,10],[330,11],[416,11]]},"64":{"position":[[16,10],[94,10],[822,11],[868,10],[1103,11],[1205,11]]},"96":{"position":[[20,11]]},"97":{"position":[[83,10]]}},"keywords":{}}],["idmay",{"_index":411,"title":{},"content":{"36":{"position":[[369,5]]}},"keywords":{}}],["idn",{"_index":979,"title":{},"content":{"93":{"position":[[146,3]]},"94":{"position":[[144,3]]}},"keywords":{}}],["ie",{"_index":280,"title":{},"content":{"29":{"position":[[712,4]]}},"keywords":{}}],["imag",{"_index":428,"title":{"38":{"position":[[0,7]]}},"content":{"38":{"position":[[18,6],[81,6],[204,6],[289,6]]}},"keywords":{}}],["image_url",{"_index":109,"title":{},"content":{"8":{"position":[[214,10],[346,10]]}},"keywords":{}}],["immedi",{"_index":30,"title":{},"content":{"3":{"position":[[56,11]]}},"keywords":{}}],["impact",{"_index":571,"title":{},"content":{"48":{"position":[[595,8]]}},"keywords":{}}],["implement",{"_index":353,"title":{"60":{"position":[[0,14]]},"69":{"position":[[0,14]]},"72":{"position":[[0,14]]},"79":{"position":[[0,14]]},"88":{"position":[[0,14]]},"112":{"position":[[0,14]]}},"content":{"32":{"position":[[142,12]]},"82":{"position":[[904,14]]}},"keywords":{}}],["impli",{"_index":932,"title":{},"content":{"82":{"position":[[1407,7]]}},"keywords":{}}],["import",{"_index":140,"title":{},"content":{"13":{"position":[[74,6],[101,6]]}},"keywords":{}}],["improv",{"_index":285,"title":{},"content":{"29":{"position":[[778,12]]},"30":{"position":[[294,7]]},"33":{"position":[[213,11]]}},"keywords":{}}],["includ",{"_index":191,"title":{},"content":{"20":{"position":[[94,7]]},"29":{"position":[[272,9]]},"30":{"position":[[216,8]]},"49":{"position":[[1004,9]]},"51":{"position":[[564,7],[1866,7],[2077,7]]},"73":{"position":[[182,8],[435,8]]}},"keywords":{}}],["inclus",{"_index":1045,"title":{},"content":{"100":{"position":[[404,9]]}},"keywords":{}}],["inconsist",{"_index":258,"title":{},"content":{"29":{"position":[[299,15]]}},"keywords":{}}],["indic",{"_index":636,"title":{},"content":{"49":{"position":[[1420,9]]}},"keywords":{}}],["individu",{"_index":758,"title":{},"content":{"51":{"position":[[1080,10]]}},"keywords":{}}],["industri",{"_index":748,"title":{},"content":{"51":{"position":[[805,8]]}},"keywords":{}}],["infer",{"_index":1030,"title":{},"content":{"99":{"position":[[208,5]]}},"keywords":{}}],["info",{"_index":415,"title":{},"content":{"36":{"position":[[443,4]]},"96":{"position":[[680,4]]}},"keywords":{}}],["inform",{"_index":248,"title":{},"content":{"29":{"position":[[159,11]]},"30":{"position":[[407,11]]},"33":{"position":[[246,11],[613,11]]},"51":{"position":[[228,11],[1523,12]]},"82":{"position":[[713,11]]},"86":{"position":[[305,11]]},"91":{"position":[[39,12]]},"105":{"position":[[92,11]]}},"keywords":{}}],["init",{"_index":54,"title":{},"content":{"5":{"position":[[158,4]]}},"keywords":{}}],["initi",{"_index":766,"title":{},"content":{"51":{"position":[[1302,10]]}},"keywords":{}}],["input",{"_index":586,"title":{},"content":{"48":{"position":[[1058,5]]}},"keywords":{}}],["inrfc",{"_index":958,"title":{},"content":{"92":{"position":[[47,5]]},"93":{"position":[[56,5]]},"94":{"position":[[53,5]]}},"keywords":{}}],["insid",{"_index":512,"title":{},"content":{"44":{"position":[[88,6]]}},"keywords":{}}],["insight",{"_index":371,"title":{},"content":{"33":{"position":[[174,8]]}},"keywords":{}}],["inspection"",{"_index":712,"title":{},"content":{"50":{"position":[[1390,18]]}},"keywords":{}}],["inspir",{"_index":18,"title":{},"content":{"1":{"position":[[183,12]]},"66":{"position":[[96,11]]},"76":{"position":[[131,11]]},"109":{"position":[[115,11]]}},"keywords":{}}],["instal",{"_index":38,"title":{},"content":{"4":{"position":[[37,10]]},"5":{"position":[[343,8]]}},"keywords":{}}],["instanc",{"_index":461,"title":{},"content":{"41":{"position":[[16,8]]},"109":{"position":[[44,8]]}},"keywords":{}}],["instead",{"_index":998,"title":{},"content":{"96":{"position":[[291,8]]}},"keywords":{}}],["intak",{"_index":249,"title":{},"content":{"29":{"position":[[176,6]]}},"keywords":{}}],["integ",{"_index":724,"title":{},"content":{"51":{"position":[[292,8]]},"64":{"position":[[770,7],[1124,7]]},"73":{"position":[[791,7]]},"99":{"position":[[141,8],[233,7],[370,7],[422,7],[460,8]]}},"keywords":{}}],["integr",{"_index":61,"title":{},"content":{"5":{"position":[[284,10]]},"29":{"position":[[357,9]]},"30":{"position":[[490,12]]}},"keywords":{}}],["intellig",{"_index":279,"title":{},"content":{"29":{"position":[[699,12]]}},"keywords":{}}],["intend",{"_index":733,"title":{},"content":{"51":{"position":[[481,8],[583,8]]},"66":{"position":[[19,8]]},"76":{"position":[[19,8]]},"85":{"position":[[19,8]]},"109":{"position":[[19,8]]}},"keywords":{}}],["intent",{"_index":598,"title":{},"content":{"49":{"position":[[171,6],[206,6],[640,6],[753,6]]},"82":{"position":[[995,6]]}},"keywords":{}}],["interact",{"_index":510,"title":{},"content":{"44":{"position":[[38,11]]},"49":{"position":[[2482,8]]}},"keywords":{}}],["interchang",{"_index":394,"title":{},"content":{"33":{"position":[[867,11]]}},"keywords":{}}],["interest",{"_index":329,"title":{},"content":{"31":{"position":[[35,10]]},"48":{"position":[[546,10]]},"49":{"position":[[1097,8]]}},"keywords":{}}],["interfac",{"_index":787,"title":{},"content":{"51":{"position":[[1925,9]]}},"keywords":{}}],["intern",{"_index":966,"title":{},"content":{"92":{"position":[[158,10]]}},"keywords":{}}],["internation",{"_index":978,"title":{},"content":{"93":{"position":[[121,17]]},"94":{"position":[[119,17]]},"106":{"position":[[185,18],[226,18]]}},"keywords":{}}],["internet",{"_index":1074,"title":{},"content":{"106":{"position":[[35,9]]}},"keywords":{}}],["interoper",{"_index":273,"title":{},"content":{"29":{"position":[[525,16]]},"30":{"position":[[109,17],[302,17]]},"33":{"position":[[533,16],[694,16]]}},"keywords":{}}],["intro",{"_index":24,"title":{"2":{"position":[[9,5]]}},"content":{"27":{"position":[[360,8]]}},"keywords":{}}],["involv",{"_index":21,"title":{},"content":{"1":{"position":[[226,8]]},"30":{"position":[[165,8]]}},"keywords":{}}],["ip",{"_index":987,"title":{"95":{"position":[[0,2]]}},"content":{"95":{"position":[[1,2]]}},"keywords":{}}],["ipv4",{"_index":988,"title":{},"content":{"95":{"position":[[41,4],[66,4]]}},"keywords":{}}],["ipv4)rfc",{"_index":1077,"title":{},"content":{"106":{"position":[[75,9]]}},"keywords":{}}],["ipv6",{"_index":989,"title":{},"content":{"95":{"position":[[49,4],[126,4]]}},"keywords":{}}],["ipv6)rfc",{"_index":1076,"title":{},"content":{"106":{"position":[[60,9]]}},"keywords":{}}],["iso",{"_index":741,"title":{},"content":{"51":{"position":[[735,3]]},"91":{"position":[[173,3]]}},"keywords":{}}],["issu",{"_index":562,"title":{},"content":{"48":{"position":[[370,5]]}},"keywords":{}}],["it'",{"_index":607,"title":{},"content":{"49":{"position":[[537,4]]}},"keywords":{}}],["item",{"_index":11,"title":{},"content":{"1":{"position":[[110,5]]},"19":{"position":[[168,6]]},"23":{"position":[[168,6]]},"27":{"position":[[417,6]]},"101":{"position":[[185,5]]}},"keywords":{}}],["joel",{"_index":102,"title":{},"content":{"8":{"position":[[133,4]]}},"keywords":{}}],["json",{"_index":774,"title":{"82":{"position":[[0,4]]}},"content":{"51":{"position":[[1585,4],[1874,5]]},"73":{"position":[[786,4]]},"82":{"position":[[3,4],[63,4],[209,4],[339,4],[447,4]]},"91":{"position":[[460,4]]},"92":{"position":[[555,4]]},"96":{"position":[[269,4]]},"99":{"position":[[93,4]]},"100":{"position":[[55,5]]},"101":{"position":[[48,4]]},"102":{"position":[[166,4]]},"107":{"position":[[1,4]]}},"keywords":{}}],["json)json",{"_index":937,"title":{},"content":{"83":{"position":[[18,10]]}},"keywords":{}}],["json)rfc",{"_index":1087,"title":{},"content":{"106":{"position":[[283,9]]}},"keywords":{}}],["jsx",{"_index":441,"title":{},"content":{"39":{"position":[[63,6]]}},"keywords":{}}],["jurisdict",{"_index":578,"title":{},"content":{"48":{"position":[[802,13]]},"49":{"position":[[1632,13]]}},"keywords":{}}],["key",{"_index":385,"title":{},"content":{"33":{"position":[[597,3]]},"86":{"position":[[82,3]]},"100":{"position":[[32,3],[65,3],[101,3],[307,3]]}},"keywords":{}}],["keyword",{"_index":1047,"title":{},"content":{"101":{"position":[[191,8],[220,7]]}},"keywords":{}}],["kind",{"_index":797,"title":{},"content":{"55":{"position":[[54,4]]},"56":{"position":[[6,4]]},"101":{"position":[[268,5]]}},"keywords":{}}],["known",{"_index":961,"title":{},"content":{"92":{"position":[[93,5]]}},"keywords":{}}],["label",{"_index":219,"title":{},"content":{"27":{"position":[[105,5],[398,6]]},"44":{"position":[[340,5]]},"51":{"position":[[1069,6]]}},"keywords":{}}],["lack",{"_index":1027,"title":{},"content":{"99":{"position":[[98,5]]}},"keywords":{}}],["land",{"_index":652,"title":{},"content":{"49":{"position":[[1863,4]]},"63":{"position":[[18,4],[122,4],[273,4],[395,4]]},"64":{"position":[[317,4],[371,4],[795,4],[895,4],[1046,4],[1184,4]]}},"keywords":{}}],["languag",{"_index":186,"title":{},"content":{"19":{"position":[[31,10]]},"29":{"position":[[384,9]]},"31":{"position":[[145,8]]},"33":{"position":[[679,10]]},"102":{"position":[[87,9]]}},"keywords":{}}],["larger",{"_index":699,"title":{},"content":{"50":{"position":[[1004,6],[1133,6]]}},"keywords":{}}],["layout",{"_index":141,"title":{},"content":{"13":{"position":[[108,6]]}},"keywords":{}}],["layoutadd",{"_index":15,"title":{},"content":{"1":{"position":[[156,9]]}},"keywords":{}}],["lead",{"_index":883,"title":{},"content":{"73":{"position":[[686,7]]}},"keywords":{}}],["leas",{"_index":622,"title":{},"content":{"49":{"position":[[1041,6]]}},"keywords":{}}],["left",{"_index":879,"title":{},"content":{"73":{"position":[[536,4]]}},"keywords":{}}],["legal",{"_index":827,"title":{},"content":{"64":{"position":[[250,5]]}},"keywords":{}}],["legal_descript",{"_index":820,"title":{},"content":{"64":{"position":[[119,17]]}},"keywords":{}}],["legisl",{"_index":561,"title":{},"content":{"48":{"position":[[355,11]]}},"keywords":{}}],["less",{"_index":997,"title":{},"content":{"96":{"position":[[93,4]]}},"keywords":{}}],["let'",{"_index":424,"title":{},"content":{"37":{"position":[[80,5],[132,5],[196,5]]}},"keywords":{}}],["level",{"_index":377,"title":{},"content":{"33":{"position":[[326,5]]},"49":{"position":[[2402,5]]},"50":{"position":[[366,5],[877,5],[1572,5]]},"53":{"position":[[100,6]]},"82":{"position":[[436,5]]},"99":{"position":[[430,5]]}},"keywords":{}}],["lexicon",{"_index":545,"title":{},"content":{"47":{"position":[[106,7]]}},"keywords":{}}],["licens",{"_index":620,"title":{},"content":{"49":{"position":[[1024,8]]}},"keywords":{}}],["lieu",{"_index":1034,"title":{},"content":{"99":{"position":[[358,4]]}},"keywords":{}}],["lifecycl",{"_index":675,"title":{},"content":{"50":{"position":[[136,12],[263,9],[454,10],[616,10]]},"55":{"position":[[62,9]]},"56":{"position":[[14,9]]}},"keywords":{}}],["line",{"_index":86,"title":{},"content":{"6":{"position":[[414,6]]},"46":{"position":[[20,4]]}},"keywords":{}}],["link",{"_index":420,"title":{"37":{"position":[[0,6]]}},"content":{"37":{"position":[[18,5]]}},"keywords":{}}],["linkingcoordin",{"_index":380,"title":{},"content":{"33":{"position":[[363,18]]}},"keywords":{}}],["links](./hello.md",{"_index":408,"title":{},"content":{"36":{"position":[[239,19]]}},"keywords":{}}],["list",{"_index":349,"title":{},"content":{"32":{"position":[[77,4]]},"36":{"position":[[459,7]]},"51":{"position":[[666,5]]}},"keywords":{}}],["load",{"_index":803,"title":{},"content":{"59":{"position":[[14,7]]},"71":{"position":[[21,7]]},"87":{"position":[[21,7]]}},"keywords":{}}],["lob",{"_index":395,"title":{},"content":{"33":{"position":[[915,3]]},"49":{"position":[[1252,3]]}},"keywords":{}}],["local",{"_index":76,"title":{"18":{"position":[[11,9]]},"19":{"position":[[6,6]]},"20":{"position":[[11,9]]}},"content":{"6":{"position":[[267,7]]},"11":{"position":[[28,8]]},"16":{"position":[[55,7],[131,8]]},"18":{"position":[[31,7],[59,6],[76,9],[224,6]]},"19":{"position":[[48,6],[224,6]]},"20":{"position":[[32,7],[60,6],[110,7]]},"48":{"position":[[634,5],[932,5]]},"51":{"position":[[512,5]]}},"keywords":{}}],["localedropdown",{"_index":188,"title":{},"content":{"19":{"position":[[185,17]]}},"keywords":{}}],["locat",{"_index":642,"title":{},"content":{"49":{"position":[[1620,8]]}},"keywords":{}}],["location(",{"_index":615,"title":{},"content":{"49":{"position":[[806,11]]}},"keywords":{}}],["logo](./img/docusaurus.png",{"_index":437,"title":{},"content":{"38":{"position":[[350,27]]}},"keywords":{}}],["logo](/img/docusaurus.png",{"_index":432,"title":{},"content":{"38":{"position":[[155,26]]}},"keywords":{}}],["loos",{"_index":846,"title":{},"content":{"66":{"position":[[81,7]]},"76":{"position":[[116,7]]},"109":{"position":[[100,7]]}},"keywords":{}}],["looser",{"_index":1048,"title":{},"content":{"101":{"position":[[241,6]]}},"keywords":{}}],["lorber",{"_index":112,"title":{},"content":{"8":{"position":[[277,6]]}},"keywords":{}}],["lr",{"_index":483,"title":{},"content":{"43":{"position":[[18,2]]}},"keywords":{}}],["lt;/layout>",{"_index":154,"title":{},"content":{"13":{"position":[[276,15]]}},"keywords":{}}],["lt;/span>",{"_index":529,"title":{},"content":{"44":{"position":[[378,13]]}},"keywords":{}}],["lt;h1>hello",{"_index":444,"title":{},"content":{"39":{"position":[[158,16],[277,16]]}},"keywords":{}}],["lt;h1>mi",{"_index":150,"title":{},"content":{"13":{"position":[[201,12]]}},"keywords":{}}],["lt;highlight",{"_index":530,"title":{},"content":{"44":{"position":[[403,13],[491,13]]}},"keywords":{}}],["lt;layout>",{"_index":149,"title":{},"content":{"13":{"position":[[186,14]]}},"keywords":{}}],["lt;p>thi",{"_index":152,"title":{},"content":{"13":{"position":[[236,13]]}},"keywords":{}}],["lt;span",{"_index":516,"title":{},"content":{"44":{"position":[[159,8]]}},"keywords":{}}],["ltsa",{"_index":649,"title":{},"content":{"49":{"position":[[1759,4]]}},"keywords":{}}],["machin",{"_index":475,"title":{"42":{"position":[[6,8]]}},"content":{"51":{"position":[[1052,7]]}},"keywords":{}}],["machines.titl",{"_index":923,"title":{},"content":{"82":{"position":[[974,14]]}},"keywords":{}}],["made",{"_index":117,"title":{},"content":{"8":{"position":[[436,4]]},"49":{"position":[[1344,4]]}},"keywords":{}}],["mail",{"_index":1065,"title":{},"content":{"105":{"position":[[25,8]]}},"keywords":{}}],["main",{"_index":290,"title":{},"content":{"30":{"position":[[5,4]]},"47":{"position":[[33,4]]}},"keywords":{}}],["maintain",{"_index":113,"title":{},"content":{"8":{"position":[[302,10]]},"33":{"position":[[826,13]]},"49":{"position":[[1283,8]]},"64":{"position":[[466,10]]}},"keywords":{}}],["make",{"_index":302,"title":{},"content":{"30":{"position":[[363,4]]},"44":{"position":[[9,4]]},"73":{"position":[[328,5]]}},"keywords":{}}],["maker",{"_index":557,"title":{},"content":{"48":{"position":[[245,5],[272,5]]},"49":{"position":[[1373,5]]}},"keywords":{}}],["manag",{"_index":193,"title":{"21":{"position":[[0,6]]}},"content":{},"keywords":{}}],["mandatori",{"_index":296,"title":{},"content":{"30":{"position":[[189,9]]}},"keywords":{}}],["mani",{"_index":243,"title":{},"content":{"29":{"position":[[119,4],[259,4]]},"49":{"position":[[1206,4]]}},"keywords":{}}],["map",{"_index":670,"title":{"54":{"position":[[8,4]]}},"content":{"49":{"position":[[2419,3]]},"50":{"position":[[1098,3],[1443,7],[1593,3]]},"100":{"position":[[42,9]]}},"keywords":{}}],["marcey",{"_index":103,"title":{},"content":{"8":{"position":[[138,6]]}},"keywords":{}}],["markdown",{"_index":156,"title":{"14":{"position":[[18,8]]},"35":{"position":[[0,8]]}},"content":{"14":{"position":[[31,8],[63,8],[85,8],[109,8],[181,8]]},"26":{"position":[[10,8]]},"36":{"position":[[1,8],[203,8],[220,8],[283,8]]},"37":{"position":[[9,8]]},"38":{"position":[[9,8],[309,8]]},"39":{"position":[[1,8]]},"44":{"position":[[95,9]]}},"keywords":{}}],["matter",{"_index":400,"title":{"36":{"position":[[6,7]]}},"content":{"36":{"position":[[58,7],[497,6]]},"48":{"position":[[1104,6],[1128,6]]},"68":{"position":[[134,6]]},"111":{"position":[[357,6]]}},"keywords":{}}],["max",{"_index":807,"title":{},"content":{"63":{"position":[[70,3]]}},"keywords":{}}],["maxcontain",{"_index":1050,"title":{},"content":{"101":{"position":[[358,12]]}},"keywords":{}}],["maxim",{"_index":1011,"title":{},"content":{"96":{"position":[[656,8]]}},"keywords":{}}],["maximum,exclusiveminimum",{"_index":1037,"title":{},"content":{"99":{"position":[[542,24]]}},"keywords":{}}],["maxitem",{"_index":1052,"title":{},"content":{"101":{"position":[[384,8]]}},"keywords":{}}],["maxlength",{"_index":953,"title":{},"content":{"91":{"position":[[266,9]]}},"keywords":{}}],["mdx",{"_index":508,"title":{"44":{"position":[[0,3]]}},"content":{"44":{"position":[[1,3]]}},"keywords":{}}],["measur",{"_index":664,"title":{},"content":{"49":{"position":[[2292,11]]}},"keywords":{}}],["media",{"_index":779,"title":{},"content":{"51":{"position":[[1696,5],[1799,5]]}},"keywords":{}}],["member",{"_index":693,"title":{},"content":{"50":{"position":[[595,6],[827,6]]}},"keywords":{}}],["mermaid",{"_index":459,"title":{"41":{"position":[[0,7]]}},"content":{"41":{"position":[[67,8],[141,8]]},"42":{"position":[[1,10]]},"43":{"position":[[1,10]]}},"keywords":{}}],["metadata",{"_index":218,"title":{},"content":{"27":{"position":[[71,8]]},"36":{"position":[[25,8]]},"51":{"position":[[1293,8],[1371,8]]}},"keywords":{}}],["microservic",{"_index":355,"title":{},"content":{"32":{"position":[[191,14]]}},"keywords":{}}],["mincontain",{"_index":1049,"title":{},"content":{"101":{"position":[[345,12]]}},"keywords":{}}],["minimum",{"_index":409,"title":{},"content":{"36":{"position":[[313,7]]},"64":{"position":[[36,7]]},"99":{"position":[[533,8]]}},"keywords":{}}],["ministri",{"_index":560,"title":{},"content":{"48":{"position":[[346,8],[922,9]]}},"keywords":{}}],["minitem",{"_index":1051,"title":{},"content":{"101":{"position":[[371,8]]}},"keywords":{}}],["minlength",{"_index":952,"title":{},"content":{"91":{"position":[[255,10]]}},"keywords":{}}],["mkdir",{"_index":170,"title":{},"content":{"17":{"position":[[53,5]]}},"keywords":{}}],["model",{"_index":769,"title":{},"content":{"51":{"position":[[1447,5]]}},"keywords":{}}],["modern",{"_index":653,"title":{},"content":{"49":{"position":[[1941,14]]}},"keywords":{}}],["modifi",{"_index":160,"title":{},"content":{"16":{"position":[[1,6]]},"19":{"position":[[66,6]]},"23":{"position":[[66,6]]}},"keywords":{}}],["more",{"_index":467,"title":{},"content":{"41":{"position":[[154,4],[236,4]]},"44":{"position":[[33,4]]},"49":{"position":[[277,4],[776,4],[2048,4]]},"91":{"position":[[490,4]]},"92":{"position":[[421,4]]},"93":{"position":[[235,4]]},"94":{"position":[[253,4]]},"95":{"position":[[227,4]]},"97":{"position":[[251,4]]},"98":{"position":[[118,4]]},"99":{"position":[[632,4]]},"100":{"position":[[457,4]]},"101":{"position":[[494,4]]},"102":{"position":[[293,4]]},"103":{"position":[[202,4]]}},"keywords":{}}],["ms",{"_index":333,"title":{},"content":{"31":{"position":[[80,2]]}},"keywords":{}}],["much",{"_index":122,"title":{},"content":{"8":{"position":[[505,4]]}},"keywords":{}}],["muddl",{"_index":614,"title":{},"content":{"49":{"position":[[706,7]]}},"keywords":{}}],["multipleof",{"_index":1036,"title":{},"content":{"99":{"position":[[521,11]]}},"keywords":{}}],["municip",{"_index":572,"title":{},"content":{"48":{"position":[[653,12]]}},"keywords":{}}],["my_doc_id",{"_index":405,"title":{},"content":{"36":{"position":[[85,9]]}},"keywords":{}}],["myreactpag",{"_index":146,"title":{},"content":{"13":{"position":[[161,13]]}},"keywords":{}}],["naic",{"_index":749,"title":{},"content":{"51":{"position":[[836,7]]}},"keywords":{}}],["name",{"_index":101,"title":{},"content":{"8":{"position":[[127,5],[261,5]]},"64":{"position":[[160,4],[617,4]]},"67":{"position":[[1,4]]},"77":{"position":[[1,4]]},"86":{"position":[[1,4],[202,4]]},"100":{"position":[[311,8]]},"110":{"position":[[1,4]]}},"keywords":{}}],["names)rfc",{"_index":1084,"title":{},"content":{"106":{"position":[[211,9]]}},"keywords":{}}],["namespac",{"_index":756,"title":{},"content":{"51":{"position":[[1013,9]]}},"keywords":{}}],["nation",{"_index":381,"title":{},"content":{"33":{"position":[[388,7]]}},"keywords":{}}],["natur",{"_index":235,"title":{},"content":{"29":{"position":[[39,7],[545,7]]}},"keywords":{}}],["navbar",{"_index":9,"title":{},"content":{"1":{"position":[[92,6]]},"19":{"position":[[158,7],[260,7]]},"23":{"position":[[158,7],[277,7]]}},"keywords":{}}],["navig",{"_index":74,"title":{},"content":{"6":{"position":[[191,8]]},"19":{"position":[[4,8]]},"23":{"position":[[4,8]]},"48":{"position":[[816,9]]}},"keywords":{}}],["necessari",{"_index":64,"title":{},"content":{"5":{"position":[[356,9]]}},"keywords":{}}],["need",{"_index":33,"title":{"4":{"position":[[12,5]]}},"content":{"5":{"position":[[383,4]]},"6":{"position":[[183,4]]},"33":{"position":[[630,4]]},"49":{"position":[[1125,4],[1553,5]]}},"keywords":{}}],["nest",{"_index":1044,"title":{},"content":{"100":{"position":[[207,9]]}},"keywords":{}}],["network",{"_index":793,"title":{},"content":{"51":{"position":[[2042,8]]}},"keywords":{}}],["new",{"_index":28,"title":{"5":{"position":[[11,3]]}},"content":{"3":{"position":[[27,3]]},"5":{"position":[[12,3]]},"8":{"position":[[527,3]]},"13":{"position":[[301,3]]},"14":{"position":[[127,3]]},"26":{"position":[[111,3]]}},"keywords":{}}],["newer",{"_index":1015,"title":{},"content":{"96":{"position":[[872,5]]}},"keywords":{}}],["newli",{"_index":73,"title":{},"content":{"6":{"position":[[145,5]]}},"keywords":{}}],["next",{"_index":2,"title":{"1":{"position":[[7,6]]}},"content":{},"keywords":{}}],["nine",{"_index":805,"title":{},"content":{"63":{"position":[[59,4]]},"64":{"position":[[836,4]]},"73":{"position":[[553,4]]}},"keywords":{}}],["node.j",{"_index":34,"title":{},"content":{"4":{"position":[[1,7],[48,8]]}},"keywords":{}}],["nomenclature.$com",{"_index":913,"title":{},"content":{"82":{"position":[[645,21]]}},"keywords":{}}],["normal",{"_index":906,"title":{},"content":{"82":{"position":[[501,8]]}},"keywords":{}}],["north",{"_index":746,"title":{},"content":{"51":{"position":[[790,5]]}},"keywords":{}}],["note",{"_index":657,"title":{"60":{"position":[[15,6]]},"69":{"position":[[15,6]]},"72":{"position":[[15,6]]},"79":{"position":[[15,6]]},"88":{"position":[[15,6]]},"112":{"position":[[15,6]]}},"content":{"49":{"position":[[2176,4]]},"92":{"position":[[454,4]]},"96":{"position":[[172,4]]},"99":{"position":[[83,4]]},"103":{"position":[[87,4]]}},"keywords":{}}],["notic",{"_index":584,"title":{},"content":{"48":{"position":[[985,7]]}},"keywords":{}}],["now",{"_index":123,"title":{},"content":{"8":{"position":[[544,3]]},"11":{"position":[[74,3],[121,3]]},"13":{"position":[[313,3]]},"14":{"position":[[139,3]]},"19":{"position":[[240,3]]},"22":{"position":[[178,3]]},"26":{"position":[[127,3]]}},"keywords":{}}],["now"",{"_index":715,"title":{},"content":{"50":{"position":[[1515,9]]}},"keywords":{}}],["npm",{"_index":53,"title":{},"content":{"5":{"position":[[154,3]]},"6":{"position":[[44,3],[225,3]]},"10":{"position":[[34,3]]},"11":{"position":[[38,3]]},"18":{"position":[[40,3]]},"20":{"position":[[41,3],[128,3]]},"22":{"position":[[41,3]]}},"keywords":{}}],["nr",{"_index":238,"title":{},"content":{"29":{"position":[[63,5]]}},"keywords":{}}],["nrm",{"_index":298,"title":{},"content":{"30":{"position":[[242,3]]}},"keywords":{}}],["nuanc",{"_index":917,"title":{},"content":{"82":{"position":[[823,7]]}},"keywords":{}}],["null",{"_index":1061,"title":{"103":{"position":[[0,5]]}},"content":{"103":{"position":[[1,4],[81,5],[97,4]]}},"keywords":{}}],["number",{"_index":665,"title":{},"content":{"49":{"position":[[2311,6]]},"63":{"position":[[74,6],[192,7],[369,6]]},"64":{"position":[[847,6],[965,7],[1158,6]]},"73":{"position":[[564,7],[670,7]]},"99":{"position":[[28,7],[448,7]]}},"keywords":{}}],["numbertyp",{"_index":1033,"title":{},"content":{"99":{"position":[[344,10]]}},"keywords":{}}],["numer",{"_index":865,"title":{"99":{"position":[[0,8]]}},"content":{"73":{"position":[[26,7],[636,9]]},"99":{"position":[[68,7]]}},"keywords":{}}],["obdc",{"_index":794,"title":{},"content":{"51":{"position":[[2085,4]]}},"keywords":{}}],["object",{"_index":289,"title":{"30":{"position":[[0,11]]},"100":{"position":[[0,7]]}},"content":{"30":{"position":[[10,9]]},"50":{"position":[[544,10]]},"100":{"position":[[1,7],[168,7],[281,7]]}},"keywords":{}}],["obtain",{"_index":612,"title":{},"content":{"49":{"position":[[650,6]]}},"keywords":{}}],["obviou",{"_index":912,"title":{},"content":{"82":{"position":[[626,7]]}},"keywords":{}}],["occur",{"_index":682,"title":{},"content":{"50":{"position":[[329,5]]}},"keywords":{}}],["offici",{"_index":4,"title":{},"content":{"1":{"position":[[10,8]]},"49":{"position":[[1779,8]]}},"keywords":{}}],["omit",{"_index":414,"title":{},"content":{"36":{"position":[[433,8]]}},"keywords":{}}],["on",{"_index":182,"title":{},"content":{"18":{"position":[[220,3]]},"49":{"position":[[270,3],[769,3],[2041,3]]},"51":{"position":[[163,3]]},"64":{"position":[[77,3],[570,4]]}},"keywords":{}}],["onc",{"_index":192,"title":{},"content":{"20":{"position":[[121,5]]}},"keywords":{}}],["onclick",{"_index":526,"title":{},"content":{"44":{"position":[[277,11]]}},"keywords":{}}],["open",{"_index":82,"title":{},"content":{"6":{"position":[[369,4]]}},"keywords":{}}],["oper",{"_index":837,"title":{},"content":{"64":{"position":[[501,11]]}},"keywords":{}}],["opportun",{"_index":373,"title":{},"content":{"33":{"position":[[195,13]]},"48":{"position":[[1035,11]]}},"keywords":{}}],["option",{"_index":453,"title":{},"content":{"40":{"position":[[110,6],[205,6]]},"49":{"position":[[2025,8]]},"91":{"position":[[210,10]]},"99":{"position":[[476,10]]}},"keywords":{}}],["optional.typ",{"_index":933,"title":{},"content":{"82":{"position":[[1421,13]]}},"keywords":{}}],["order",{"_index":72,"title":{},"content":{"6":{"position":[[121,5]]},"50":{"position":[[173,7],[638,8],[684,7],[750,5],[858,8]]},"51":{"position":[[78,7]]},"96":{"position":[[619,5]]},"101":{"position":[[30,7]]}},"keywords":{}}],["organ",{"_index":551,"title":{},"content":{"48":{"position":[[69,12],[166,12]]}},"keywords":{}}],["other.unlock",{"_index":319,"title":{},"content":{"30":{"position":[[744,12]]}},"keywords":{}}],["otherwis",{"_index":965,"title":{},"content":{"92":{"position":[[118,9]]}},"keywords":{}}],["out",{"_index":651,"title":{},"content":{"49":{"position":[[1830,3]]},"82":{"position":[[701,3]]}},"keywords":{}}],["outcom",{"_index":633,"title":{},"content":{"49":{"position":[[1336,7]]},"50":{"position":[[558,9]]}},"keywords":{}}],["outlin",{"_index":542,"title":{},"content":{"47":{"position":[[21,7]]},"49":{"position":[[14,8],[2386,8]]},"50":{"position":[[14,8],[1556,8]]},"91":{"position":[[399,7]]},"100":{"position":[[267,9]]}},"keywords":{}}],["output",{"_index":655,"title":{},"content":{"49":{"position":[[2117,6]]}},"keywords":{}}],["over",{"_index":241,"title":{},"content":{"29":{"position":[[84,4]]},"49":{"position":[[1156,4]]},"82":{"position":[[942,4]]}},"keywords":{}}],["overview",{"_index":926,"title":{},"content":{"82":{"position":[[1130,8]]}},"keywords":{}}],["ownership",{"_index":840,"title":{},"content":{"64":{"position":[[710,10]]}},"keywords":{}}],["p",{"_index":171,"title":{},"content":{"17":{"position":[[60,1]]}},"keywords":{}}],["pad",{"_index":522,"title":{},"content":{"44":{"position":[[238,8]]},"73":{"position":[[191,6],[444,6],[546,6]]}},"keywords":{}}],["page",{"_index":84,"title":{"12":{"position":[[9,4]]},"13":{"position":[[24,5]]},"14":{"position":[[27,5]]},"31":{"position":[[29,5]]}},"content":{"6":{"position":[[394,5]]},"13":{"position":[[305,4],[361,5]]},"14":{"position":[[94,4],[118,4],[131,4],[190,5]]},"18":{"position":[[158,4]]},"36":{"position":[[292,5]]},"37":{"position":[[222,5]]},"49":{"position":[[1764,4]]}},"keywords":{}}],["page</h1>",{"_index":151,"title":{},"content":{"13":{"position":[[220,15]]}},"keywords":{}}],["page</p>",{"_index":153,"title":{},"content":{"13":{"position":[[261,14]]}},"keywords":{}}],["page.j",{"_index":139,"title":{},"content":{"13":{"position":[[37,8],[66,7]]}},"keywords":{}}],["page.md",{"_index":157,"title":{},"content":{"14":{"position":[[40,8],[72,7]]}},"keywords":{}}],["page](./create_a_page.md",{"_index":426,"title":{},"content":{"37":{"position":[[159,26]]}},"keywords":{}}],["page](/create_a_pag",{"_index":425,"title":{},"content":{"37":{"position":[[107,22]]}},"keywords":{}}],["pair",{"_index":1041,"title":{},"content":{"100":{"position":[[111,4]]}},"keywords":{}}],["paramet",{"_index":1016,"title":{},"content":{"97":{"position":[[108,10]]}},"keywords":{}}],["parcel",{"_index":577,"title":{"62":{"position":[[0,6]]},"73":{"position":[[0,6]]}},"content":{"48":{"position":[[782,6]]},"49":{"position":[[781,7],[931,6],[1566,6],[1646,7],[1878,6]]},"63":{"position":[[1,6],[38,6],[108,6],[203,7],[323,6],[347,6],[409,6]]},"64":{"position":[[9,6],[87,6],[275,6],[610,6],[677,6],[778,6],[815,6],[881,6],[976,7],[1096,6],[1136,6],[1198,6]]},"73":{"position":[[1,6],[338,6],[511,6],[655,6]]},"74":{"position":[[33,7]]}},"keywords":{}}],["parcel_id_format",{"_index":877,"title":{},"content":{"73":{"position":[[473,19]]}},"keywords":{}}],["parcel_nam",{"_index":821,"title":{},"content":{"64":{"position":[[146,12],[513,11]]}},"keywords":{}}],["parcelmap",{"_index":866,"title":{},"content":{"73":{"position":[[46,9]]}},"keywords":{}}],["park",{"_index":844,"title":{},"content":{"64":{"position":[[755,5]]}},"keywords":{}}],["pars",{"_index":922,"title":{},"content":{"82":{"position":[[964,6]]}},"keywords":{}}],["part",{"_index":674,"title":{},"content":{"49":{"position":[[2505,5]]}},"keywords":{}}],["parti",{"_index":570,"title":{},"content":{"48":{"position":[[557,5]]}},"keywords":{}}],["particular",{"_index":755,"title":{},"content":{"51":{"position":[[1002,10]]}},"keywords":{}}],["particularli",{"_index":434,"title":{},"content":{"38":{"position":[[257,12]]}},"keywords":{}}],["pass",{"_index":678,"title":{},"content":{"50":{"position":[[247,4]]}},"keywords":{}}],["path",{"_index":422,"title":{},"content":{"37":{"position":[[49,5],[72,6]]},"38":{"position":[[62,5]]},"82":{"position":[[595,4]]}},"keywords":{}}],["pattern",{"_index":1001,"title":{},"content":{"96":{"position":[[388,8]]}},"keywords":{}}],["peopl",{"_index":328,"title":{},"content":{"31":{"position":[[28,6]]}},"keywords":{}}],["perform",{"_index":366,"title":{},"content":{"33":{"position":[[134,7]]},"48":{"position":[[207,7]]},"49":{"position":[[839,10],[898,7]]}},"keywords":{}}],["period",{"_index":687,"title":{},"content":{"50":{"position":[[426,6]]}},"keywords":{}}],["perman",{"_index":814,"title":{},"content":{"63":{"position":[[313,9]]},"64":{"position":[[1086,9]]}},"keywords":{}}],["permiss",{"_index":617,"title":{},"content":{"49":{"position":[[884,10],[1810,10]]}},"keywords":{}}],["permit",{"_index":231,"title":{},"content":{"29":{"position":[[1,10],[93,6],[224,10],[332,10],[562,10],[656,11],[759,10],[853,11]]},"30":{"position":[[246,10],[432,10]]},"32":{"position":[[89,10]]},"33":{"position":[[499,10]]},"49":{"position":[[433,7],[1016,7],[1294,7],[1769,6],[1930,10]]},"85":{"position":[[63,7]]},"86":{"position":[[99,7],[151,10]]},"101":{"position":[[53,7]]}},"keywords":{}}],["person",{"_index":550,"title":{},"content":{"48":{"position":[[49,7],[149,7],[292,7],[565,7]]}},"keywords":{}}],["phase",{"_index":677,"title":{},"content":{"50":{"position":[[195,6],[409,5],[467,5],[570,5],[839,6],[899,5]]}},"keywords":{}}],["pi",{"_index":291,"title":{},"content":{"30":{"position":[[23,4]]},"31":{"position":[[70,5]]},"32":{"position":[[222,4]]},"33":{"position":[[421,4]]},"48":{"position":[[115,5]]},"49":{"position":[[108,5]]},"82":{"position":[[476,5]]}},"keywords":{}}],["pid",{"_index":812,"title":{"73":{"position":[[10,6]]}},"content":{"63":{"position":[[188,3],[302,3]]},"64":{"position":[[553,4],[600,4],[649,3],[761,3],[961,3],[1075,3]]},"73":{"position":[[134,4]]}},"keywords":{}}],["pid.a",{"_index":819,"title":{},"content":{"64":{"position":[[81,5]]}},"keywords":{}}],["piec",{"_index":722,"title":{},"content":{"51":{"position":[[242,5],[1513,6]]}},"keywords":{}}],["pies/docs/concept/process_tracking"",{"_index":862,"title":{},"content":{"68":{"position":[[306,41]]},"111":{"position":[[529,41]]}},"keywords":{}}],["pin",{"_index":815,"title":{},"content":{"63":{"position":[[376,5]]},"64":{"position":[[61,3],[589,3],[629,4],[657,4],[1115,3],[1165,5]]}},"keywords":{}}],["plan",{"_index":352,"title":{},"content":{"32":{"position":[[133,4]]}},"keywords":{}}],["platform",{"_index":393,"title":{},"content":{"33":{"position":[[849,8]]}},"keywords":{}}],["play",{"_index":120,"title":{},"content":{"8":{"position":[[471,4]]}},"keywords":{}}],["pleas",{"_index":956,"title":{},"content":{"91":{"position":[[440,6]]}},"keywords":{}}],["plugin",{"_index":173,"title":{},"content":{"17":{"position":[[81,6],[146,6],[214,6]]}},"keywords":{}}],["pmbc",{"_index":835,"title":{},"content":{"64":{"position":[[480,4]]},"73":{"position":[[59,7],[78,4],[251,4]]}},"keywords":{}}],["point",{"_index":363,"title":{},"content":{"33":{"position":[[76,5]]},"99":{"position":[[22,5],[163,5],[253,5],[307,6]]}},"keywords":{}}],["pointer",{"_index":525,"title":{},"content":{"44":{"position":[[263,10]]}},"keywords":{}}],["polici",{"_index":283,"title":{},"content":{"29":{"position":[[740,6]]},"30":{"position":[[786,6]]},"48":{"position":[[1233,7]]}},"keywords":{}}],["polygon",{"_index":640,"title":{},"content":{"49":{"position":[[1575,7]]}},"keywords":{}}],["popul",{"_index":831,"title":{},"content":{"64":{"position":[[410,9]]}},"keywords":{}}],["posit",{"_index":220,"title":{},"content":{"27":{"position":[[115,9]]}},"keywords":{}}],["possibl",{"_index":208,"title":{},"content":{"24":{"position":[[7,8]]},"27":{"position":[[252,8]]},"99":{"position":[[187,8]]},"102":{"position":[[41,8]]}},"keywords":{}}],["post",{"_index":90,"title":{"7":{"position":[[14,4]]},"8":{"position":[[18,5]]}},"content":{"8":{"position":[[452,5],[497,4],[536,4]]}},"keywords":{}}],["potenti",{"_index":320,"title":{},"content":{"30":{"position":[[757,9],[812,9]]}},"keywords":{}}],["powershel",{"_index":59,"title":{},"content":{"5":{"position":[[249,11]]}},"keywords":{}}],["practic",{"_index":346,"title":{},"content":{"32":{"position":[[12,9]]}},"keywords":{}}],["precis",{"_index":1035,"title":{},"content":{"99":{"position":[[436,10]]}},"keywords":{}}],["predefin",{"_index":788,"title":{},"content":{"51":{"position":[[1946,10]]}},"keywords":{}}],["presenc",{"_index":1032,"title":{},"content":{"99":{"position":[[285,8]]}},"keywords":{}}],["present",{"_index":868,"title":{},"content":{"73":{"position":[[156,12]]},"82":{"position":[[1312,7]]}},"keywords":{}}],["primarili",{"_index":828,"title":{},"content":{"64":{"position":[[289,9]]}},"keywords":{}}],["primer",{"_index":896,"title":{"82":{"position":[[12,7]]}},"content":{},"keywords":{}}],["primit",{"_index":719,"title":{"90":{"position":[[0,9]]}},"content":{"51":{"position":[[140,9]]},"73":{"position":[[799,9]]},"82":{"position":[[1446,9]]}},"keywords":{}}],["principl",{"_index":721,"title":{},"content":{"51":{"position":[[191,10]]}},"keywords":{}}],["prior",{"_index":1060,"title":{},"content":{"102":{"position":[[231,5]]}},"keywords":{}}],["process",{"_index":246,"title":{"50":{"position":[[0,7]]},"52":{"position":[[0,7]]},"65":{"position":[[0,7]]},"108":{"position":[[0,7]]}},"content":{"29":{"position":[[141,7],[770,7]]},"30":{"position":[[333,9]]},"33":{"position":[[278,10]]},"48":{"position":[[1208,10]]},"49":{"position":[[555,7],[2518,8]]},"50":{"position":[[110,8],[309,10],[775,7],[1011,7],[1616,7]]},"53":{"position":[[14,7]]},"66":{"position":[[71,8]]},"109":{"position":[[90,8]]}},"keywords":{}}],["product",{"_index":127,"title":{},"content":{"10":{"position":[[21,11]]},"11":{"position":[[11,10]]}},"keywords":{}}],["program",{"_index":786,"title":{},"content":{"51":{"position":[[1913,11]]}},"keywords":{}}],["progress",{"_index":309,"title":{},"content":{"30":{"position":[[559,8]]}},"keywords":{}}],["project",{"_index":50,"title":{"84":{"position":[[0,7]]}},"content":{"5":{"position":[[118,7]]},"22":{"position":[[31,8]]},"49":{"position":[[326,8],[372,8],[736,8],[2014,7]]},"86":{"position":[[120,7],[214,8],[279,8],[340,8]]}},"keywords":{}}],["project_descript",{"_index":942,"title":{},"content":{"86":{"position":[[223,19]]}},"keywords":{}}],["project_nam",{"_index":940,"title":{},"content":{"86":{"position":[[171,12]]}},"keywords":{}}],["prompt",{"_index":58,"title":{},"content":{"5":{"position":[[241,7]]}},"keywords":{}}],["properti",{"_index":905,"title":{},"content":{"82":{"position":[[487,8],[843,10],[1288,10],[1475,9]]},"91":{"position":[[236,10]]},"99":{"position":[[502,10]]},"100":{"position":[[356,11]]}},"keywords":{}}],["propon",{"_index":311,"title":{},"content":{"30":{"position":[[580,11]]},"48":{"position":[[855,9]]}},"keywords":{}}],["protocol",{"_index":789,"title":{},"content":{"51":{"position":[[1957,8]]}},"keywords":{}}],["provid",{"_index":281,"title":{},"content":{"29":{"position":[[717,9]]},"30":{"position":[[540,7]]},"33":{"position":[[105,7]]},"47":{"position":[[89,7]]},"48":{"position":[[728,9],[1050,7]]},"50":{"position":[[846,8]]},"51":{"position":[[343,7]]},"82":{"position":[[1114,7]]},"97":{"position":[[40,7]]},"101":{"position":[[231,7]]}},"keywords":{}}],["provinc",{"_index":575,"title":{},"content":{"48":{"position":[[698,9]]},"49":{"position":[[949,8],[1896,8]]}},"keywords":{}}],["provinci",{"_index":582,"title":{},"content":{"48":{"position":[[911,10]]},"73":{"position":[[278,10]]}},"keywords":{}}],["publish",{"_index":293,"title":{},"content":{"30":{"position":[[44,9]]}},"keywords":{}}],["purpos",{"_index":230,"title":{"29":{"position":[[0,8]]}},"content":{"29":{"position":[[625,7]]}},"keywords":{}}],["qualiti",{"_index":257,"title":{},"content":{"29":{"position":[[287,7]]},"30":{"position":[[90,7]]}},"keywords":{}}],["qualitydata",{"_index":374,"title":{},"content":{"33":{"position":[[230,11]]}},"keywords":{}}],["quantifi",{"_index":663,"title":{},"content":{"49":{"position":[[2279,12]]}},"keywords":{}}],["queue",{"_index":668,"title":{},"content":{"49":{"position":[[2355,6]]}},"keywords":{}}],["quick",{"_index":465,"title":{},"content":{"41":{"position":[[99,5]]},"82":{"position":[[1124,5]]}},"keywords":{}}],["quot;2017",{"_index":890,"title":{},"content":{"78":{"position":[[32,10],[87,10],[148,10]]},"111":{"position":[[53,10],[108,10],[169,10]]}},"keywords":{}}],["quot;approved"",{"_index":702,"title":{},"content":{"50":{"position":[[1061,22]]}},"keywords":{}}],["quot;ca"",{"_index":740,"title":{},"content":{"51":{"position":[[713,14]]}},"keywords":{}}],["quot;class"",{"_index":850,"title":{},"content":{"68":{"position":[[11,18]]},"111":{"position":[[234,18]]}},"keywords":{}}],["quot;description"",{"_index":852,"title":{},"content":{"68":{"position":[[50,24]]},"111":{"position":[[273,24]]}},"keywords":{}}],["quot;docsversiondropdown"",{"_index":205,"title":{},"content":{"23":{"position":[[185,32]]}},"keywords":{}}],["quot;end"",{"_index":893,"title":{},"content":{"78":{"position":[[70,16]]},"111":{"position":[[91,16]]}},"keywords":{}}],["quot;event"",{"_index":1090,"title":{},"content":{"111":{"position":[[11,18]]}},"keywords":{}}],["quot;http://bcgov.github.io/nr",{"_index":861,"title":{},"content":{"68":{"position":[[274,31]]},"111":{"position":[[497,31]]}},"keywords":{}}],["quot;parent_class"",{"_index":856,"title":{},"content":{"68":{"position":[[156,25]]},"111":{"position":[[379,25]]}},"keywords":{}}],["quot;parent_concept"",{"_index":858,"title":{},"content":{"68":{"position":[[201,27]]},"111":{"position":[[424,27]]}},"keywords":{}}],["quot;pend",{"_index":709,"title":{},"content":{"50":{"position":[[1350,13]]},"68":{"position":[[367,13]]},"111":{"position":[[590,13]]}},"keywords":{}}],["quot;process"",{"_index":1091,"title":{},"content":{"111":{"position":[[211,20]]}},"keywords":{}}],["quot;property"",{"_index":1043,"title":{},"content":{"100":{"position":[[143,21]]}},"keywords":{}}],["quot;publisher."",{"_index":768,"title":{},"content":{"51":{"position":[[1394,22]]}},"keywords":{}}],["quot;seri",{"_index":776,"title":{},"content":{"51":{"position":[[1619,19]]}},"keywords":{}}],["quot;stage"",{"_index":857,"title":{},"content":{"68":{"position":[[182,18]]},"111":{"position":[[405,18]]}},"keywords":{}}],["quot;start"",{"_index":889,"title":{},"content":{"78":{"position":[[13,18],[129,18]]},"111":{"position":[[34,18],[150,18]]}},"keywords":{}}],["quot;status"",{"_index":851,"title":{},"content":{"68":{"position":[[30,19]]},"111":{"position":[[253,19]]}},"keywords":{}}],["quot;submiss",{"_index":658,"title":{},"content":{"49":{"position":[[2186,17]]}},"keywords":{}}],["quot;submitted"",{"_index":701,"title":{},"content":{"50":{"position":[[1038,22]]}},"keywords":{}}],["quot;system"",{"_index":860,"title":{},"content":{"68":{"position":[[254,19]]},"111":{"position":[[477,19]]}},"keywords":{}}],["quot;th",{"_index":853,"title":{},"content":{"68":{"position":[[75,9]]},"111":{"position":[[298,9]]}},"keywords":{}}],["quot;und",{"_index":711,"title":{},"content":{"50":{"position":[[1378,11]]}},"keywords":{}}],["quot;underreview"",{"_index":859,"title":{},"content":{"68":{"position":[[229,24]]},"111":{"position":[[452,24]]}},"keywords":{}}],["quot;value"",{"_index":863,"title":{},"content":{"68":{"position":[[348,18]]},"111":{"position":[[571,18]]}},"keywords":{}}],["quot;what",{"_index":714,"title":{},"content":{"50":{"position":[[1491,10]]}},"keywords":{}}],["quot;wher",{"_index":703,"title":{},"content":{"50":{"position":[[1148,11]]}},"keywords":{}}],["quot;why"",{"_index":685,"title":{},"content":{"50":{"position":[[393,15]]}},"keywords":{}}],["radio",{"_index":751,"title":{},"content":{"51":{"position":[[856,5]]}},"keywords":{}}],["rang",{"_index":470,"title":{},"content":{"41":{"position":[[179,5]]}},"keywords":{}}],["react",{"_index":137,"title":{"13":{"position":[[18,5]]},"44":{"position":[[8,5]]}},"content":{"13":{"position":[[31,5],[60,5],[81,5],[92,8],[214,5],[255,5],[355,5]]},"44":{"position":[[71,5]]}},"keywords":{}}],["read",{"_index":3,"title":{},"content":{"1":{"position":[[1,4]]},"11":{"position":[[201,5]]},"51":{"position":[[1970,7]]}},"keywords":{}}],["readabl",{"_index":757,"title":{},"content":{"51":{"position":[[1060,8]]}},"keywords":{}}],["reader",{"_index":915,"title":{},"content":{"82":{"position":[[781,7]]}},"keywords":{}}],["readi",{"_index":79,"title":{},"content":{"6":{"position":[[319,5]]}},"keywords":{}}],["reason",{"_index":255,"title":{},"content":{"29":{"position":[[264,7]]}},"keywords":{}}],["receiv",{"_index":583,"title":{},"content":{"48":{"position":[[976,8]]}},"keywords":{}}],["recommend",{"_index":39,"title":{},"content":{"4":{"position":[[65,11]]},"36":{"position":[[264,9]]},"99":{"position":[[326,9]]}},"keywords":{}}],["record",{"_index":829,"title":{},"content":{"64":{"position":[[299,8],[344,8]]}},"keywords":{}}],["reduc",{"_index":306,"title":{},"content":{"30":{"position":[[452,6]]}},"keywords":{}}],["refer",{"_index":430,"title":{"61":{"position":[[0,11]]},"70":{"position":[[0,11]]},"74":{"position":[[0,11]]},"80":{"position":[[0,11]]},"83":{"position":[[0,11]]},"89":{"position":[[0,11]]},"104":{"position":[[0,11]]},"113":{"position":[[0,11]]}},"content":{"38":{"position":[[71,9],[194,9]]},"51":{"position":[[370,9]]},"53":{"position":[[1,5]]},"63":{"position":[[288,6]]},"64":{"position":[[1061,6]]},"91":{"position":[[447,5]]},"92":{"position":[[378,9]]},"93":{"position":[[192,9]]},"94":{"position":[[210,9]]},"95":{"position":[[184,9]]},"99":{"position":[[589,9]]},"101":{"position":[[451,9]]},"102":{"position":[[250,9]]},"103":{"position":[[159,9]]}},"keywords":{}}],["referr",{"_index":580,"title":{},"content":{"48":{"position":[[893,8]]},"49":{"position":[[229,8]]}},"keywords":{}}],["refin",{"_index":604,"title":{},"content":{"49":{"position":[[489,8]]}},"keywords":{}}],["reform",{"_index":253,"title":{},"content":{"29":{"position":[[235,6]]}},"keywords":{}}],["regard",{"_index":634,"title":{},"content":{"49":{"position":[[1379,9]]}},"keywords":{}}],["regex",{"_index":1021,"title":{},"content":{"98":{"position":[[33,5]]}},"keywords":{}}],["region",{"_index":573,"title":{},"content":{"48":{"position":[[669,8]]}},"keywords":{}}],["regist",{"_index":804,"title":{},"content":{"63":{"position":[[29,8],[133,8],[251,10]]},"64":{"position":[[328,9],[806,8],[906,8],[1024,10]]}},"keywords":{}}],["registrar",{"_index":810,"title":{},"content":{"63":{"position":[[170,9]]},"64":{"position":[[943,9]]}},"keywords":{}}],["registri",{"_index":817,"title":{},"content":{"63":{"position":[[400,8]]},"64":{"position":[[376,9],[1189,8]]}},"keywords":{}}],["regular",{"_index":421,"title":{"98":{"position":[[0,7]]}},"content":{"37":{"position":[[1,7]]},"38":{"position":[[1,7]]},"91":{"position":[[283,7]]},"96":{"position":[[369,7],[490,7]]},"98":{"position":[[1,7]]}},"keywords":{}}],["rel",{"_index":423,"title":{},"content":{"37":{"position":[[58,8]]},"38":{"position":[[211,8]]}},"keywords":{}}],["relat",{"_index":42,"title":{},"content":{"4":{"position":[[101,7]]},"49":{"position":[[2408,10]]},"50":{"position":[[650,7],[1643,6]]},"82":{"position":[[309,7]]},"85":{"position":[[55,7],[80,7]]},"86":{"position":[[107,7]]}},"keywords":{}}],["relationship",{"_index":609,"title":{},"content":{"49":{"position":[[586,12]]},"51":{"position":[[1481,13]]},"82":{"position":[[287,13]]},"100":{"position":[[386,13]]}},"keywords":{}}],["releas",{"_index":194,"title":{},"content":{"22":{"position":[[1,7]]}},"keywords":{}}],["reli",{"_index":918,"title":{},"content":{"82":{"position":[[888,6]]}},"keywords":{}}],["reliabl",{"_index":1029,"title":{},"content":{"99":{"position":[[199,8]]}},"keywords":{}}],["reload",{"_index":87,"title":{},"content":{"6":{"position":[[430,7]]}},"keywords":{}}],["remain",{"_index":1009,"title":{},"content":{"96":{"position":[[628,6]]}},"keywords":{}}],["rephras",{"_index":648,"title":{},"content":{"49":{"position":[[1744,9]]}},"keywords":{}}],["report",{"_index":252,"title":{},"content":{"29":{"position":[[210,9]]},"33":{"position":[[95,9],[460,9]]}},"keywords":{}}],["reportingact",{"_index":378,"title":{},"content":{"33":{"position":[[332,17]]}},"keywords":{}}],["repres",{"_index":341,"title":{},"content":{"31":{"position":[[227,11]]},"49":{"position":[[70,12],[1501,11]]},"50":{"position":[[70,12],[149,10],[478,9]]},"66":{"position":[[31,9]]},"76":{"position":[[31,9]]},"85":{"position":[[31,9]]},"91":{"position":[[21,9],[89,11],[379,10]]},"92":{"position":[[35,11],[180,11]]},"93":{"position":[[44,11]]},"94":{"position":[[41,11]]},"99":{"position":[[43,11]]},"101":{"position":[[20,9]]},"102":{"position":[[22,9]]},"103":{"position":[[17,9]]},"109":{"position":[[31,9]]}},"keywords":{}}],["represent",{"_index":641,"title":{},"content":{"49":{"position":[[1583,14]]},"92":{"position":[[332,15]]}},"keywords":{}}],["request",{"_index":854,"title":{},"content":{"68":{"position":[[99,7]]},"111":{"position":[[322,7]]}},"keywords":{}}],["requir",{"_index":270,"title":{},"content":{"29":{"position":[[484,8]]},"30":{"position":[[177,9]]},"49":{"position":[[262,7],[441,8],[2204,7]]},"96":{"position":[[831,7]]},"99":{"position":[[414,7]]},"100":{"position":[[193,13],[331,8]]}},"keywords":{}}],["residentiald",{"_index":1067,"title":{},"content":{"105":{"position":[[47,15]]}},"keywords":{}}],["resolv",{"_index":1019,"title":{},"content":{"97":{"position":[[169,9]]}},"keywords":{}}],["resourc",{"_index":236,"title":{"96":{"position":[[0,8]]}},"content":{"29":{"position":[[47,8],[553,8]]},"96":{"position":[[11,8]]},"97":{"position":[[74,8]]}},"keywords":{}}],["respect",{"_index":209,"title":{},"content":{"24":{"position":[[48,10]]},"48":{"position":[[335,10]]},"49":{"position":[[1462,7]]}},"keywords":{}}],["rest",{"_index":795,"title":{},"content":{"51":{"position":[[2116,4]]}},"keywords":{}}],["result",{"_index":427,"title":{},"content":{"37":{"position":[[188,7]]}},"keywords":{}}],["return",{"_index":148,"title":{},"content":{"13":{"position":[[177,6]]},"39":{"position":[[151,6],[270,6]]}},"keywords":{}}],["review",{"_index":639,"title":{},"content":{"49":{"position":[[1559,6]]},"68":{"position":[[116,6]]},"96":{"position":[[847,6]]},"111":{"position":[[339,6]]}},"keywords":{}}],["review"",{"_index":710,"title":{},"content":{"50":{"position":[[1364,13]]},"68":{"position":[[381,12]]},"111":{"position":[[604,12]]}},"keywords":{}}],["rfc",{"_index":947,"title":{},"content":{"91":{"position":[[134,3]]},"95":{"position":[[161,3]]},"96":{"position":[[700,3],[723,3]]}},"keywords":{}}],["right",{"_index":623,"title":{},"content":{"49":{"position":[[1048,5],[1090,6]]}},"keywords":{}}],["road",{"_index":843,"title":{},"content":{"64":{"position":[[749,5]]}},"keywords":{}}],["role",{"_index":549,"title":{},"content":{"48":{"position":[[36,5],[453,4]]}},"keywords":{}}],["round",{"_index":672,"title":{},"content":{"49":{"position":[[2452,7]]}},"keywords":{}}],["rule",{"_index":336,"title":{},"content":{"31":{"position":[[102,5]]}},"keywords":{}}],["run",{"_index":51,"title":{},"content":{"5":{"position":[[136,3],[391,3]]},"6":{"position":[[1,3],[48,3],[229,3]]},"10":{"position":[[38,3]]},"11":{"position":[[42,3]]},"18":{"position":[[44,3]]},"20":{"position":[[45,3],[132,3]]},"22":{"position":[[45,3]]}},"keywords":{}}],["same",{"_index":325,"title":{"31":{"position":[[24,4]]}},"content":{"31":{"position":[[182,4]]},"64":{"position":[[541,4]]}},"keywords":{}}],["scalabl",{"_index":392,"title":{},"content":{"33":{"position":[[840,8]]}},"keywords":{}}],["scenario",{"_index":944,"title":{},"content":{"91":{"position":[[61,10]]},"99":{"position":[[392,9]]}},"keywords":{}}],["schema",{"_index":396,"title":{"34":{"position":[[0,8]]},"82":{"position":[[5,6]]}},"content":{"51":{"position":[[1417,6],[1426,6],[1465,6],[1536,7],[1590,7]]},"82":{"position":[[8,6],[214,6],[344,6],[401,7],[452,6],[583,7],[735,7],[1009,7],[1094,7]]},"83":{"position":[[29,6]]},"91":{"position":[[465,6]]},"92":{"position":[[396,6],[560,6]]},"93":{"position":[[210,6]]},"94":{"position":[[228,6]]},"95":{"position":[[202,6]]},"96":{"position":[[141,6],[274,6]]},"97":{"position":[[226,6]]},"98":{"position":[[93,6]]},"99":{"position":[[607,6]]},"100":{"position":[[423,7],[523,6]]},"101":{"position":[[469,6]]},"102":{"position":[[171,7],[268,6]]},"103":{"position":[[177,6]]},"106":{"position":[[14,6]]},"107":{"position":[[6,6]]}},"keywords":{}}],["schema.org/draft",{"_index":908,"title":{},"content":{"82":{"position":[[526,16]]}},"keywords":{}}],["schemasourc",{"_index":802,"title":{},"content":{"59":{"position":[[1,12]]}},"keywords":{}}],["schemasourceexampl",{"_index":864,"title":{},"content":{"71":{"position":[[1,19]]},"87":{"position":[[1,19]]}},"keywords":{}}],["scheme",{"_index":732,"title":{},"content":{"51":{"position":[[447,7],[691,8]]}},"keywords":{}}],["scope",{"_index":681,"title":{"63":{"position":[[0,6]]},"66":{"position":[[0,6]]},"76":{"position":[[0,6]]},"85":{"position":[[0,6]]},"109":{"position":[[0,6]]}},"content":{"50":{"position":[[300,5]]}},"keywords":{}}],["sdm",{"_index":559,"title":{},"content":{"48":{"position":[[278,5]]}},"keywords":{}}],["seamlessli",{"_index":185,"title":{},"content":{"19":{"position":[[13,10]]},"23":{"position":[[13,10]]}},"keywords":{}}],["search",{"_index":16,"title":{},"content":{"1":{"position":[[168,6]]}},"keywords":{}}],["section",{"_index":473,"title":{},"content":{"41":{"position":[[274,7]]},"48":{"position":[[6,7]]},"49":{"position":[[6,7]]},"50":{"position":[[6,7]]},"92":{"position":[[59,7]]},"93":{"position":[[68,7]]},"94":{"position":[[65,7],[193,7]]},"95":{"position":[[110,7],[171,7]]}},"keywords":{}}],["sector",{"_index":237,"title":{},"content":{"29":{"position":[[56,6]]},"30":{"position":[[354,7]]},"33":{"position":[[16,6],[319,6]]}},"keywords":{}}],["see",{"_index":332,"title":{},"content":{"31":{"position":[[76,3]]},"37":{"position":[[86,3],[138,3],[202,3]]},"73":{"position":[[300,4]]}},"keywords":{}}],["seek",{"_index":555,"title":{},"content":{"48":{"position":[[179,7]]}},"keywords":{}}],["semant",{"_index":753,"title":{},"content":{"51":{"position":[[943,8]]}},"keywords":{}}],["separ",{"_index":389,"title":{},"content":{"33":{"position":[[753,10]]}},"keywords":{}}],["sequenc",{"_index":676,"title":{},"content":{"50":{"position":[[181,10]]}},"keywords":{}}],["sequenti",{"_index":695,"title":{},"content":{"50":{"position":[[739,10]]}},"keywords":{}}],["serv",{"_index":77,"title":{},"content":{"6":{"position":[[279,6]]},"11":{"position":[[46,5],[78,6]]},"51":{"position":[[595,5]]},"82":{"position":[[105,6]]}},"keywords":{}}],["server",{"_index":66,"title":{},"content":{"6":{"position":[[21,7],[311,7]]}},"keywords":{}}],["servic",{"_index":871,"title":{},"content":{"73":{"position":[[231,7]]}},"keywords":{}}],["set",{"_index":266,"title":{"55":{"position":[[5,5]]}},"content":{"29":{"position":[[436,3]]},"31":{"position":[[1,3]]},"48":{"position":[[217,3]]},"49":{"position":[[426,3],[762,3],[2034,3]]},"50":{"position":[[498,3],[692,3]]},"76":{"position":[[96,3]]},"82":{"position":[[1179,3],[1281,3]]}},"keywords":{}}],["shall",{"_index":692,"title":{},"content":{"50":{"position":[[576,5],[808,5],[1092,5],[1430,5]]},"64":{"position":[[27,5]]},"91":{"position":[[80,5]]},"92":{"position":[[26,5],[149,5],[348,5]]},"93":{"position":[[35,5]]},"94":{"position":[[32,5]]},"95":{"position":[[83,5],[143,5]]},"96":{"position":[[313,5],[459,5]]},"100":{"position":[[69,5]]}},"keywords":{}}],["share",{"_index":344,"title":{},"content":{"32":{"position":[[1,5]]},"33":{"position":[[638,5]]}},"keywords":{}}],["shift",{"_index":284,"title":{},"content":{"29":{"position":[[747,7],[830,6]]}},"keywords":{}}],["short",{"_index":941,"title":{},"content":{"86":{"position":[[196,5]]}},"keywords":{}}],["shorthand",{"_index":727,"title":{},"content":{"51":{"position":[[353,9]]}},"keywords":{}}],["show",{"_index":928,"title":{},"content":{"82":{"position":[[1218,4]]}},"keywords":{}}],["showcaseget",{"_index":20,"title":{},"content":{"1":{"position":[[214,11]]}},"keywords":{}}],["sidebar",{"_index":217,"title":{"27":{"position":[[14,8]]}},"content":{"27":{"position":[[36,7],[97,7],[276,7]]},"41":{"position":[[289,8]]}},"keywords":{}}],["sidebar_label",{"_index":221,"title":{},"content":{"27":{"position":[[144,14]]}},"keywords":{}}],["sidebar_posit",{"_index":223,"title":{},"content":{"27":{"position":[[165,17]]}},"keywords":{}}],["sidebars.j",{"_index":226,"title":{},"content":{"27":{"position":[[298,12],[312,11]]}},"keywords":{}}],["similar",{"_index":563,"title":{},"content":{"48":{"position":[[407,7]]}},"keywords":{}}],["singl",{"_index":362,"title":{},"content":{"33":{"position":[[69,6]]},"49":{"position":[[2129,6]]},"103":{"position":[[57,6]]}},"keywords":{}}],["singular",{"_index":597,"title":{},"content":{"49":{"position":[[154,8]]}},"keywords":{}}],["site",{"_index":6,"title":{"5":{"position":[[15,5]]},"6":{"position":[[11,5]]},"9":{"position":[[12,4]]},"10":{"position":[[11,5]]},"11":{"position":[[12,5]]},"15":{"position":[[15,4]]},"18":{"position":[[21,5]]},"20":{"position":[[21,5]]}},"content":{"1":{"position":[[44,4]]},"3":{"position":[[31,5]]},"5":{"position":[[27,4]]},"6":{"position":[[170,5],[425,4]]},"10":{"position":[[12,4]]},"18":{"position":[[12,4],[86,4]]},"20":{"position":[[12,4],[86,4]]}},"keywords":{}}],["skip",{"_index":920,"title":{},"content":{"82":{"position":[[934,7]]}},"keywords":{}}],["slug",{"_index":97,"title":{},"content":{"8":{"position":[[82,5]]},"36":{"position":[[157,5]]}},"keywords":{}}],["small",{"_index":134,"title":{},"content":{"11":{"position":[[190,5]]}},"keywords":{}}],["sme",{"_index":590,"title":{},"content":{"48":{"position":[[1142,5]]}},"keywords":{}}],["smoothli",{"_index":316,"title":{},"content":{"30":{"position":[[658,8]]}},"keywords":{}}],["softwar",{"_index":594,"title":{},"content":{"48":{"position":[[1219,9]]}},"keywords":{}}],["sole",{"_index":1031,"title":{},"content":{"99":{"position":[[265,6]]}},"keywords":{}}],["solut",{"_index":354,"title":{},"content":{"32":{"position":[[155,9]]}},"keywords":{}}],["space",{"_index":233,"title":{},"content":{"29":{"position":[[25,6]]},"64":{"position":[[742,6]]}},"keywords":{}}],["spec",{"_index":486,"title":{},"content":{"43":{"position":[[40,5]]}},"keywords":{}}],["special",{"_index":448,"title":{},"content":{"40":{"position":[[18,7]]}},"keywords":{}}],["specialist",{"_index":591,"title":{},"content":{"48":{"position":[[1153,10]]}},"keywords":{}}],["specif",{"_index":190,"title":{"59":{"position":[[0,14]]},"68":{"position":[[0,14]]},"71":{"position":[[0,14]]},"78":{"position":[[0,14]]},"87":{"position":[[0,14]]},"111":{"position":[[0,14]]}},"content":{"20":{"position":[[23,8]]},"30":{"position":[[54,13]]},"47":{"position":[[64,13]]},"48":{"position":[[1169,8]]},"49":{"position":[[83,8],[145,8],[908,8],[1836,8],[2496,8]]},"50":{"position":[[83,8],[535,8],[607,8]]},"51":{"position":[[64,13],[91,8],[400,8]]},"55":{"position":[[45,8]]},"82":{"position":[[176,8],[767,13]]},"85":{"position":[[93,8]]},"92":{"position":[[426,8]]},"99":{"position":[[637,8]]},"100":{"position":[[462,8]]},"101":{"position":[[499,8]]}},"keywords":{}}],["specifi",{"_index":264,"title":{},"content":{"29":{"position":[[409,9]]},"36":{"position":[[378,10]]},"91":{"position":[[121,9]]},"92":{"position":[[128,10],[252,10]]},"96":{"position":[[525,10]]},"97":{"position":[[57,7]]}},"keywords":{}}],["spot",{"_index":372,"title":{},"content":{"33":{"position":[[190,4]]}},"keywords":{}}],["spreadsheet",{"_index":761,"title":{},"content":{"51":{"position":[[1185,11]]}},"keywords":{}}],["sql",{"_index":771,"title":{},"content":{"51":{"position":[[1567,4],[2094,3]]}},"keywords":{}}],["src/components/hellodocusaurus.j",{"_index":446,"title":{},"content":{"39":{"position":[[207,33]]}},"keywords":{}}],["src/pages/mi",{"_index":138,"title":{},"content":{"13":{"position":[[18,12],[47,12]]},"14":{"position":[[18,12],[50,12]]}},"keywords":{}}],["stabl",{"_index":391,"title":{},"content":{"33":{"position":[[818,7]]}},"keywords":{}}],["stage",{"_index":690,"title":{},"content":{"50":{"position":[[505,6],[658,7],[666,5],[723,5],[802,5],[1115,5]]}},"keywords":{}}],["standard",{"_index":263,"title":{"105":{"position":[[11,10]]},"106":{"position":[[10,10]]}},"content":{"29":{"position":[[400,8]]},"30":{"position":[[204,8]]},"33":{"position":[[778,10],[941,10]]},"51":{"position":[[626,9],[908,12],[1786,12]]},"73":{"position":[[777,8]]},"92":{"position":[[567,9]]},"96":{"position":[[281,9]]},"105":{"position":[[14,10],[104,9]]}},"keywords":{}}],["standardb.c",{"_index":1068,"title":{},"content":{"105":{"position":[[72,12]]}},"keywords":{}}],["standards.identifi",{"_index":348,"title":{},"content":{"32":{"position":[[54,18]]}},"keywords":{}}],["start",{"_index":26,"title":{"3":{"position":[[8,8]]},"6":{"position":[[0,5]]},"18":{"position":[[0,5]]},"28":{"position":[[8,7]]}},"content":{"3":{"position":[[5,7]]},"6":{"position":[[52,5],[233,5]]},"18":{"position":[[1,5],[48,5],[150,7]]}},"keywords":{}}],["state",{"_index":474,"title":{"42":{"position":[[0,5]]}},"content":{"49":{"position":[[1518,6]]},"50":{"position":[[713,7],[759,6],[883,6],[913,5],[1086,5],[1314,5],[1464,5]]}},"keywords":{}}],["static",{"_index":128,"title":{},"content":{"10":{"position":[[54,6]]},"38":{"position":[[95,6]]}},"keywords":{}}],["static/img/docusaurus.png",{"_index":431,"title":{},"content":{"38":{"position":[[112,28]]}},"keywords":{}}],["station",{"_index":752,"title":{},"content":{"51":{"position":[[862,9]]}},"keywords":{}}],["statu",{"_index":705,"title":{},"content":{"50":{"position":[[1185,6]]}},"keywords":{}}],["status",{"_index":713,"title":{},"content":{"50":{"position":[[1421,8]]}},"keywords":{}}],["statutori",{"_index":558,"title":{},"content":{"48":{"position":[[253,9]]},"49":{"position":[[1080,9],[1354,9]]}},"keywords":{}}],["store",{"_index":247,"title":{},"content":{"29":{"position":[[153,5]]},"51":{"position":[[1711,7]]},"73":{"position":[[16,6],[146,5]]},"92":{"position":[[169,6]]}},"keywords":{}}],["strata",{"_index":841,"title":{},"content":{"64":{"position":[[730,7]]}},"keywords":{}}],["strategi",{"_index":387,"title":{},"content":{"33":{"position":[[711,8],[793,8]]}},"keywords":{}}],["string",{"_index":725,"title":{"91":{"position":[[0,7]]}},"content":{"51":{"position":[[301,7]]},"58":{"position":[[7,6]]},"64":{"position":[[234,6],[530,6]]},"67":{"position":[[61,6]]},"73":{"position":[[493,8]]},"77":{"position":[[61,6]]},"86":{"position":[[189,6],[248,6]]},"91":{"position":[[1,7],[72,7],[195,7],[368,6]]},"96":{"position":[[305,7]]},"100":{"position":[[87,7]]},"110":{"position":[[61,6]]}},"keywords":{}}],["strip",{"_index":921,"title":{},"content":{"82":{"position":[[950,8]]}},"keywords":{}}],["structur",{"_index":717,"title":{"51":{"position":[[0,10]]},"58":{"position":[[0,10]]},"64":{"position":[[0,10]]},"67":{"position":[[0,10]]},"77":{"position":[[0,10]]},"86":{"position":[[0,10]]},"110":{"position":[[0,10]]}},"content":{"51":{"position":[[34,10]]},"82":{"position":[[68,10],[146,10],[253,11],[858,11]]},"100":{"position":[[221,12]]}},"keywords":{}}],["style",{"_index":517,"title":{},"content":{"44":{"position":[[168,8]]}},"keywords":{}}],["subgraph",{"_index":500,"title":{},"content":{"43":{"position":[[217,8],[249,8]]}},"keywords":{}}],["subject",{"_index":588,"title":{},"content":{"48":{"position":[[1096,7],[1120,7]]},"68":{"position":[[126,7]]},"111":{"position":[[349,7]]}},"keywords":{}}],["submiss",{"_index":569,"title":{},"content":{"48":{"position":[[533,12]]},"49":{"position":[[1731,12],[2092,10]]}},"keywords":{}}],["submit",{"_index":610,"title":{},"content":{"49":{"position":[[613,9]]}},"keywords":{}}],["substitut",{"_index":1017,"title":{},"content":{"97":{"position":[[132,11]]}},"keywords":{}}],["such",{"_index":593,"title":{},"content":{"48":{"position":[[1186,4]]},"49":{"position":[[1855,4]]},"91":{"position":[[247,4]]},"92":{"position":[[263,4]]},"99":{"position":[[317,5],[513,4]]},"101":{"position":[[110,5],[325,4]]}},"keywords":{}}],["support",{"_index":163,"title":{},"content":{"16":{"position":[[36,7]]},"36":{"position":[[481,9]]},"37":{"position":[[28,10]]},"38":{"position":[[29,10]]},"39":{"position":[[26,9]]},"41":{"position":[[25,8],[195,10]]},"48":{"position":[[496,7]]},"92":{"position":[[491,9]]},"96":{"position":[[205,9],[785,11]]}},"keywords":{}}],["sure",{"_index":605,"title":{},"content":{"49":{"position":[[502,4]]}},"keywords":{}}],["surveyor",{"_index":647,"title":{},"content":{"49":{"position":[[1722,8]]}},"keywords":{}}],["synonym",{"_index":579,"title":{},"content":{"48":{"position":[[828,7],[867,7]]}},"keywords":{}}],["syntax",{"_index":439,"title":{},"content":{"39":{"position":[[41,6]]},"40":{"position":[[26,6]]},"41":{"position":[[267,6]]},"51":{"position":[[1659,7]]}},"keywords":{}}],["system",{"_index":259,"title":{},"content":{"29":{"position":[[343,7]]},"30":{"position":[[102,6],[257,7],[443,8],[482,7],[638,7],[711,7]]},"33":{"position":[[510,7],[571,7],[919,7]]},"51":{"position":[[829,6]]},"86":{"position":[[162,8]]}},"keywords":{}}],["sébastien",{"_index":111,"title":{},"content":{"8":{"position":[[267,9]]}},"keywords":{}}],["tabular",{"_index":762,"title":{},"content":{"51":{"position":[[1200,7]]}},"keywords":{}}],["tag",{"_index":116,"title":{},"content":{"8":{"position":[[388,5]]},"36":{"position":[[178,5],[346,4]]}},"keywords":{}}],["take",{"_index":458,"title":{},"content":{"40":{"position":[[213,4]]},"49":{"position":[[984,4]]},"66":{"position":[[89,6]]},"76":{"position":[[124,6]]},"109":{"position":[[108,6]]}},"keywords":{}}],["taken",{"_index":637,"title":{},"content":{"49":{"position":[[1451,5]]}},"keywords":{}}],["talk",{"_index":386,"title":{},"content":{"33":{"position":[[648,4]]}},"keywords":{}}],["tantali",{"_index":832,"title":{},"content":{"64":{"position":[[425,8]]}},"keywords":{}}],["tbd",{"_index":397,"title":{},"content":{"34":{"position":[[1,3]]},"55":{"position":[[117,4]]},"56":{"position":[[147,3]]},"60":{"position":[[1,3]]},"61":{"position":[[1,3]]},"67":{"position":[[68,3]]},"69":{"position":[[1,3]]},"70":{"position":[[1,3]]},"77":{"position":[[68,3]]},"79":{"position":[[1,3]]},"80":{"position":[[1,3]]},"88":{"position":[[1,3]]},"89":{"position":[[1,3]]},"110":{"position":[[68,3]]},"112":{"position":[[1,3]]},"113":{"position":[[1,3]]}},"keywords":{}}],["td",{"_index":476,"title":{},"content":{"42":{"position":[[18,2]]}},"keywords":{}}],["teams.creat",{"_index":334,"title":{},"content":{"31":{"position":[[83,12]]}},"keywords":{}}],["technic",{"_index":312,"title":{"106":{"position":[[0,9]]}},"content":{"30":{"position":[[599,9]]}},"keywords":{}}],["technolog",{"_index":388,"title":{},"content":{"33":{"position":[[724,10]]}},"keywords":{}}],["templat",{"_index":47,"title":{"97":{"position":[[4,9]]}},"content":{"5":{"position":[[50,9],[73,8]]},"97":{"position":[[5,9],[31,8]]}},"keywords":{}}],["template)rfc",{"_index":1086,"title":{},"content":{"106":{"position":[[265,12]]}},"keywords":{}}],["tempor",{"_index":887,"title":{},"content":{"76":{"position":[[63,8]]},"109":{"position":[[58,8]]}},"keywords":{}}],["tenur",{"_index":621,"title":{},"content":{"49":{"position":[[1033,7]]}},"keywords":{}}],["term",{"_index":540,"title":{},"content":{"46":{"position":[[1,4]]},"47":{"position":[[15,5]]},"48":{"position":[[122,4]]},"49":{"position":[[115,4],[1197,4],[1978,4]]},"50":{"position":[[120,4],[1624,5]]},"51":{"position":[[15,5],[113,4],[921,5],[1038,5],[1327,4]]}},"keywords":{}}],["termin",{"_index":60,"title":{},"content":{"5":{"position":[[261,9],[295,8]]},"6":{"position":[[204,8]]}},"keywords":{}}],["terminolog",{"_index":538,"title":{"45":{"position":[[0,11]]}},"content":{"47":{"position":[[136,11]]},"53":{"position":[[31,11]]}},"keywords":{}}],["terms.gath",{"_index":338,"title":{},"content":{"31":{"position":[[187,12]]}},"keywords":{}}],["test",{"_index":130,"title":{},"content":{"11":{"position":[[1,4]]}},"keywords":{}}],["text",{"_index":407,"title":{},"content":{"36":{"position":[[229,4]]},"82":{"position":[[676,4]]}},"keywords":{}}],["textual",{"_index":943,"title":{},"content":{"91":{"position":[[31,7]]}},"keywords":{}}],["theecma",{"_index":1022,"title":{},"content":{"98":{"position":[[58,7]]}},"keywords":{}}],["thejson",{"_index":969,"title":{},"content":{"92":{"position":[[388,7]]},"93":{"position":[[202,7]]},"94":{"position":[[220,7]]},"95":{"position":[[194,7]]},"96":{"position":[[133,7]]},"97":{"position":[[218,7]]},"98":{"position":[[85,7]]},"99":{"position":[[599,7]]},"100":{"position":[[515,7]]},"101":{"position":[[461,7]]},"102":{"position":[[260,7]]},"103":{"position":[[169,7]]}},"keywords":{}}],["theme/layout",{"_index":142,"title":{},"content":{"13":{"position":[[120,16]]}},"keywords":{}}],["themeconfig",{"_index":187,"title":{},"content":{"19":{"position":[[143,12]]},"23":{"position":[[143,12]]}},"keywords":{}}],["themeconfigadd",{"_index":12,"title":{},"content":{"1":{"position":[[121,14]]}},"keywords":{}}],["thing",{"_index":627,"title":{},"content":{"49":{"position":[[1211,7]]}},"keywords":{}}],["thought",{"_index":759,"title":{},"content":{"51":{"position":[[1146,7]]}},"keywords":{}}],["three",{"_index":880,"title":{},"content":{"73":{"position":[[606,5]]}},"keywords":{}}],["through",{"_index":78,"title":{},"content":{"6":{"position":[[289,7]]},"33":{"position":[[28,7]]},"41":{"position":[[59,7]]},"50":{"position":[[252,8],[791,8]]}},"keywords":{}}],["time",{"_index":183,"title":{"92":{"position":[[9,5]]}},"content":{"18":{"position":[[236,5]]},"30":{"position":[[142,5]]},"49":{"position":[[1161,4]]},"66":{"position":[[117,7]]},"76":{"position":[[152,7]]},"92":{"position":[[13,4],[144,4],[244,4],[287,4],[300,4],[327,4],[372,5],[509,4]]},"96":{"position":[[223,4]]},"105":{"position":[[67,4]]},"109":{"position":[[136,7]]}},"keywords":{}}],["time)rfc",{"_index":1078,"title":{},"content":{"106":{"position":[[100,8]]}},"keywords":{}}],["timenam",{"_index":1070,"title":{},"content":{"105":{"position":[[127,10]]}},"keywords":{}}],["timesdata",{"_index":376,"title":{},"content":{"33":{"position":[[289,9]]}},"keywords":{}}],["timestamp",{"_index":888,"title":{},"content":{"76":{"position":[[103,11]]}},"keywords":{}}],["tip",{"_index":451,"title":{},"content":{"40":{"position":[[80,4],[176,3]]}},"keywords":{}}],["tip[mi",{"_index":450,"title":{},"content":{"40":{"position":[[70,9]]}},"keywords":{}}],["titl",{"_index":99,"title":{},"content":{"8":{"position":[[98,6],[145,6],[284,6]]},"36":{"position":[[95,6],[114,5],[323,6]]},"49":{"position":[[1109,6]]},"63":{"position":[[23,5],[127,5],[223,5],[262,6],[278,5]]},"64":{"position":[[322,5],[800,5],[900,5],[996,5],[1035,6],[1051,5]]}},"keywords":{}}],["title="src/components/hellodocusaurus.js"",{"_index":442,"title":{},"content":{"39":{"position":[[70,51]]}},"keywords":{}}],["top",{"_index":401,"title":{},"content":{"36":{"position":[[41,3]]}},"keywords":{}}],["topic",{"_index":902,"title":{},"content":{"82":{"position":[[317,6]]}},"keywords":{}}],["torfc",{"_index":980,"title":{},"content":{"93":{"position":[[180,5]]},"94":{"position":[[181,5]]}},"keywords":{}}],["track",{"_index":310,"title":{"50":{"position":[[8,9]]},"52":{"position":[[8,8]]}},"content":{"30":{"position":[[568,8]]},"53":{"position":[[22,8]]},"86":{"position":[[89,5]]}},"keywords":{}}],["transfer",{"_index":801,"title":{},"content":{"56":{"position":[[132,8]]}},"keywords":{}}],["transform",{"_index":322,"title":{},"content":{"30":{"position":[[797,14]]},"32":{"position":[[171,15]]},"33":{"position":[[895,9]]},"73":{"position":[[758,11]]}},"keywords":{}}],["translat",{"_index":158,"title":{"15":{"position":[[0,9]]},"17":{"position":[[0,9]]}},"content":{"17":{"position":[[185,9]]},"18":{"position":[[166,11]]}},"keywords":{}}],["transmit",{"_index":780,"title":{},"content":{"51":{"position":[[1722,12]]}},"keywords":{}}],["tri",{"_index":29,"title":{},"content":{"3":{"position":[[41,3]]}},"keywords":{}}],["true",{"_index":1055,"title":{},"content":{"102":{"position":[[58,4],[126,4]]}},"keywords":{}}],["tutori",{"_index":23,"title":{"2":{"position":[[0,8]]}},"content":{"27":{"position":[[405,11]]}},"keywords":{}}],["tutorial_basics/cr",{"_index":229,"title":{},"content":{"27":{"position":[[424,24]]}},"keywords":{}}],["tutorialsidebar",{"_index":227,"title":{},"content":{"27":{"position":[[341,16]]}},"keywords":{}}],["two",{"_index":1054,"title":{},"content":{"102":{"position":[[37,3]]}},"keywords":{}}],["type",{"_index":57,"title":{"56":{"position":[[0,4]]},"90":{"position":[[10,5]]}},"content":{"5":{"position":[[210,4]]},"19":{"position":[[179,5]]},"23":{"position":[[179,5]]},"27":{"position":[[380,5]]},"29":{"position":[[100,5],[465,5]]},"49":{"position":[[1991,4]]},"51":{"position":[[133,4],[155,4],[220,4],[272,5],[1702,4],[1805,4],[2058,5]]},"56":{"position":[[46,4],[111,5],[141,5]]},"58":{"position":[[1,5]]},"64":{"position":[[177,4]]},"66":{"position":[[11,4]]},"67":{"position":[[18,4]]},"73":{"position":[[809,5]]},"76":{"position":[[11,4]]},"77":{"position":[[18,4]]},"82":{"position":[[185,4],[1441,4]]},"85":{"position":[[11,4]]},"86":{"position":[[18,4]]},"91":{"position":[[355,5],[535,6]]},"99":{"position":[[60,4],[378,4]]},"101":{"position":[[100,6],[159,4]]},"109":{"position":[[11,4]]},"110":{"position":[[18,4]]}},"keywords":{}}],["type.requir",{"_index":929,"title":{},"content":{"82":{"position":[[1243,13]]}},"keywords":{}}],["types.cr",{"_index":351,"title":{},"content":{"32":{"position":[[118,12]]}},"keywords":{}}],["typesrfc",{"_index":1073,"title":{},"content":{"106":{"position":[[21,8]]}},"keywords":{}}],["typic",{"_index":707,"title":{},"content":{"50":{"position":[[1324,9]]},"51":{"position":[[455,9],[975,9]]},"82":{"position":[[356,9]]}},"keywords":{}}],["uid",{"_index":736,"title":{},"content":{"51":{"position":[[536,6]]}},"keywords":{}}],["ultim",{"_index":383,"title":{},"content":{"33":{"position":[[410,10]]}},"keywords":{}}],["umbrella",{"_index":626,"title":{},"content":{"49":{"position":[[1188,8]]}},"keywords":{}}],["uml",{"_index":772,"title":{},"content":{"51":{"position":[[1572,4]]}},"keywords":{}}],["undefin",{"_index":1064,"title":{},"content":{"103":{"position":[[148,10]]}},"keywords":{}}],["under",{"_index":472,"title":{},"content":{"41":{"position":[[249,5]]},"68":{"position":[[110,5]]},"111":{"position":[[333,5]]}},"keywords":{}}],["understand",{"_index":294,"title":{},"content":{"30":{"position":[[127,10]]},"31":{"position":[[166,11]]},"33":{"position":[[582,10]]},"47":{"position":[[118,13]]},"53":{"position":[[46,10]]},"82":{"position":[[804,10]]},"86":{"position":[[327,10]]}},"keywords":{}}],["uniqu",{"_index":734,"title":{},"content":{"51":{"position":[[496,6]]},"63":{"position":[[86,8]]},"64":{"position":[[859,8]]},"82":{"position":[[563,6]]},"86":{"position":[[75,6]]},"97":{"position":[[67,6]]},"101":{"position":[[333,11]]}},"keywords":{}}],["unit",{"_index":728,"title":{},"content":{"51":{"position":[[382,4]]}},"keywords":{}}],["univers",{"_index":995,"title":{},"content":{"96":{"position":[[1,9]]}},"keywords":{}}],["unix/epochtim",{"_index":967,"title":{},"content":{"92":{"position":[[220,15]]}},"keywords":{}}],["unless",{"_index":964,"title":{},"content":{"92":{"position":[[111,6]]}},"keywords":{}}],["unord",{"_index":1039,"title":{},"content":{"100":{"position":[[22,9]]}},"keywords":{}}],["unreleas",{"_index":204,"title":{},"content":{"22":{"position":[[321,10]]}},"keywords":{}}],["up",{"_index":326,"title":{},"content":{"31":{"position":[[5,2]]},"82":{"position":[[1223,2]]}},"keywords":{}}],["upcom",{"_index":203,"title":{},"content":{"22":{"position":[[311,9]]}},"keywords":{}}],["updat",{"_index":206,"title":{"24":{"position":[[0,6]]}},"content":{"24":{"position":[[104,7],[158,7]]},"50":{"position":[[1234,6]]}},"keywords":{}}],["upon",{"_index":919,"title":{},"content":{"82":{"position":[[895,4]]}},"keywords":{}}],["uri",{"_index":910,"title":{"97":{"position":[[0,3]]}},"content":{"82":{"position":[[570,3]]},"96":{"position":[[48,3]]},"97":{"position":[[1,3],[27,3],[158,3]]},"106":{"position":[[260,4]]}},"keywords":{}}],["uri)rfc",{"_index":1080,"title":{},"content":{"106":{"position":[[130,8]]}},"keywords":{}}],["url",{"_index":107,"title":{},"content":{"8":{"position":[[179,4],[313,4]]},"36":{"position":[[174,3]]},"37":{"position":[[45,3]]}},"keywords":{}}],["us",{"_index":45,"title":{},"content":{"5":{"position":[[32,5]]},"18":{"position":[[216,3]]},"32":{"position":[[165,5]]},"37":{"position":[[39,5]]},"38":{"position":[[49,3],[270,6],[324,5]]},"40":{"position":[[85,3],[180,3]]},"41":{"position":[[135,5]]},"44":{"position":[[61,5]]},"47":{"position":[[47,4]]},"48":{"position":[[751,3]]},"49":{"position":[[61,4],[1868,4],[1968,4]]},"50":{"position":[[61,4]]},"51":{"position":[[621,4],[656,4],[1561,5],[1998,5]]},"82":{"position":[[27,4],[756,6]]},"91":{"position":[[13,4]]},"92":{"position":[[317,5]]},"95":{"position":[[74,5],[134,5]]},"96":{"position":[[37,3],[107,4],[429,5],[450,5],[515,4],[896,5]]},"99":{"position":[[336,5]]},"100":{"position":[[13,4]]},"101":{"position":[[12,4],[203,3],[405,4]]},"102":{"position":[[14,4]]},"103":{"position":[[9,4]]}},"keywords":{}}],["usabl",{"_index":297,"title":{},"content":{"30":{"position":[[228,6]]}},"keywords":{}}],["usag",{"_index":546,"title":{},"content":{"47":{"position":[[148,6]]}},"keywords":{}}],["usage.properti",{"_index":927,"title":{},"content":{"82":{"position":[[1158,16]]}},"keywords":{}}],["usual",{"_index":691,"title":{},"content":{"50":{"position":[[516,7]]}},"keywords":{}}],["utc",{"_index":968,"title":{},"content":{"92":{"position":[[368,3]]}},"keywords":{}}],["utf",{"_index":945,"title":{},"content":{"91":{"position":[[104,3]]},"106":{"position":[[114,4]]}},"keywords":{}}],["uuid",{"_index":737,"title":{},"content":{"51":{"position":[[547,7],[577,5]]},"86":{"position":[[68,4]]},"96":{"position":[[186,4],[300,4],[354,4],[413,4],[442,4],[536,5],[745,4],[806,4],[878,4]]},"106":{"position":[[144,5],[298,5]]}},"keywords":{}}],["v1",{"_index":1081,"title":{},"content":{"106":{"position":[[150,2]]}},"keywords":{}}],["v4",{"_index":1003,"title":{},"content":{"96":{"position":[[418,2]]}},"keywords":{}}],["v6",{"_index":1088,"title":{},"content":{"106":{"position":[[304,2]]}},"keywords":{}}],["valid",{"_index":364,"title":{},"content":{"33":{"position":[[85,9]]},"64":{"position":[[3,5]]},"82":{"position":[[1354,6]]}},"keywords":{}}],["valu",{"_index":839,"title":{},"content":{"64":{"position":[[690,6]]},"73":{"position":[[34,6]]},"99":{"position":[[76,6],[169,7],[221,5],[259,5]]},"100":{"position":[[36,5],[105,5]]},"102":{"position":[[50,7],[116,6]]},"103":{"position":[[30,6],[75,5],[138,6]]}},"keywords":{}}],["vari",{"_index":643,"title":{},"content":{"49":{"position":[[1663,7]]}},"keywords":{}}],["varieti",{"_index":767,"title":{},"content":{"51":{"position":[[1353,7]]}},"keywords":{}}],["variou",{"_index":315,"title":{},"content":{"30":{"position":[[630,7]]},"33":{"position":[[491,7]]},"48":{"position":[[28,7]]},"49":{"position":[[989,7]]},"100":{"position":[[185,7]]}},"keywords":{}}],["veri",{"_index":133,"title":{},"content":{"11":{"position":[[185,4]]}},"keywords":{}}],["verifi",{"_index":898,"title":{},"content":{"82":{"position":[[56,6]]}},"keywords":{}}],["version",{"_index":35,"title":{"21":{"position":[[12,8]]},"22":{"position":[[14,8]]},"23":{"position":[[6,7]]},"24":{"position":[[19,8]]}},"content":{"4":{"position":[[9,7]]},"22":{"position":[[11,7],[189,9],[243,7]]},"23":{"position":[[31,9],[47,7],[244,7]]},"24":{"position":[[24,9]]},"82":{"position":[[634,10]]},"83":{"position":[[36,7]]},"96":{"position":[[359,9],[635,7],[750,8],[883,8]]},"107":{"position":[[13,7]]}},"keywords":{}}],["versioned_docs/vers",{"_index":197,"title":{},"content":{"22":{"position":[[110,22]]},"24":{"position":[[68,22]]}},"keywords":{}}],["versions.json",{"_index":198,"title":{},"content":{"22":{"position":[[141,13]]}},"keywords":{}}],["view",{"_index":80,"title":{},"content":{"6":{"position":[[336,4]]},"33":{"position":[[23,4],[126,4]]}},"keywords":{}}],["visit",{"_index":471,"title":{},"content":{"41":{"position":[[206,5]]}},"keywords":{}}],["vocabulari",{"_index":596,"title":{},"content":{"49":{"position":[[50,10]]},"50":{"position":[[50,10]]},"51":{"position":[[872,10],[885,10]]}},"keywords":{}}],["voic",{"_index":867,"title":{},"content":{"73":{"position":[[122,6]]}},"keywords":{}}],["warn",{"_index":970,"title":{},"content":{"92":{"position":[[446,7]]},"96":{"position":[[164,7]]}},"keywords":{}}],["way",{"_index":244,"title":{},"content":{"29":{"position":[[124,4]]},"30":{"position":[[702,4]]},"49":{"position":[[1057,4]]},"51":{"position":[[363,3]]},"82":{"position":[[117,3]]},"97":{"position":[[50,3]]}},"keywords":{}}],["web",{"_index":781,"title":{},"content":{"51":{"position":[[1753,4],[2134,4]]}},"keywords":{}}],["websit",{"_index":56,"title":{},"content":{"5":{"position":[[184,7]]},"6":{"position":[[36,7],[259,7]]}},"keywords":{}}],["well",{"_index":240,"title":{},"content":{"29":{"position":[[79,4],[606,4]]},"38":{"position":[[243,5]]},"51":{"position":[[639,4]]},"100":{"position":[[371,4]]}},"keywords":{}}],["what'",{"_index":1,"title":{"1":{"position":[[0,6]]}},"content":{},"keywords":{}}],["wide",{"_index":469,"title":{},"content":{"41":{"position":[[174,4]]},"51":{"position":[[614,6]]}},"keywords":{}}],["within",{"_index":543,"title":{},"content":{"47":{"position":[[52,6]]},"48":{"position":[[93,6],[687,6],[789,6]]},"49":{"position":[[101,6],[188,6],[938,6],[1885,6]]},"50":{"position":[[101,6],[445,6],[890,6],[993,6]]},"51":{"position":[[503,6]]},"55":{"position":[[21,6]]},"109":{"position":[[73,6]]}},"keywords":{}}],["without",{"_index":261,"title":{},"content":{"29":{"position":[[367,7]]},"73":{"position":[[678,7]]}},"keywords":{}}],["withrfc",{"_index":990,"title":{},"content":{"95":{"position":[[96,7]]},"96":{"position":[[63,7],[472,7]]},"97":{"position":[[198,7]]}},"keywords":{}}],["work",{"_index":71,"title":{},"content":{"6":{"position":[[104,7],[130,4]]},"30":{"position":[[393,4]]},"31":{"position":[[10,7]]},"49":{"position":[[1228,4]]},"50":{"position":[[908,4]]}},"keywords":{}}],["workflow",{"_index":700,"title":{},"content":{"50":{"position":[[1022,8]]}},"keywords":{}}],["workload",{"_index":662,"title":{},"content":{"49":{"position":[[2268,8]]}},"keywords":{}}],["write",{"_index":791,"title":{},"content":{"51":{"position":[[1985,7]]}},"keywords":{}}],["xml",{"_index":784,"title":{},"content":{"51":{"position":[[1889,4]]}},"keywords":{}}],["xsd",{"_index":773,"title":{},"content":{"51":{"position":[[1577,4]]}},"keywords":{}}],["you'll",{"_index":32,"title":{"4":{"position":[[5,6]]}},"content":{"6":{"position":[[176,6]]}},"keywords":{}}],["you'r",{"_index":70,"title":{},"content":{"6":{"position":[[97,6]]}},"keywords":{}}],["zero",{"_index":869,"title":{},"content":{"73":{"position":[[198,5],[451,5],[541,4],[694,7]]}},"keywords":{}}]],"pipeline":["stemmer"]} \ No newline at end of file diff --git a/lunr-index.json b/lunr-index.json new file mode 100644 index 0000000..38e507b --- /dev/null +++ b/lunr-index.json @@ -0,0 +1 @@ +{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,919.74]],["content/0",[]],["keywords/0",[]],["title/1",[1,807.953,2,807.953]],["content/1",[3,7.678,4,8.417,5,9.54,6,4.406,7,7.678,8,9.54,9,7.678,10,9.54,11,6.684,12,9.54,13,7.678,14,7.678,15,9.54,16,9.54,17,9.54,18,7.125,19,6.281,20,9.54,21,8.417,22,8.417]],["keywords/1",[]],["title/2",[23,712.844,24,712.844]],["content/2",[]],["keywords/2",[]],["title/3",[25,566.043,26,508.297]],["content/3",[6,5.627,19,6.015,26,7.665,27,4.982,28,7.665,29,12.183,30,12.183,31,12.183]],["keywords/3",[]],["title/4",[32,712.844,33,566.043]],["content/4",[34,14.316,35,5.856,36,11.451,37,11.451,38,10.103,39,9.215,40,9.215,41,11.451,42,7.582,43,10.103]],["keywords/4",[]],["title/5",[6,304.613,28,414.953,44,462.095]],["content/5",[6,3.524,19,5.383,28,4.8,33,5.346,38,6.732,43,6.732,44,5.346,45,2.792,46,12.722,47,8.774,48,6.14,49,6.732,50,5.346,51,6.859,52,12.246,53,4.8,54,7.63,55,7.63,56,6.732,57,2.649,58,7.63,59,7.63,60,9.62,61,6.14,62,5.052,63,6.732,64,7.63]],["keywords/5",[]],["title/6",[6,373.136,26,508.297]],["content/6",[6,4.518,19,3.247,26,6.155,27,2.689,32,5.803,33,4.608,48,5.293,51,7.35,52,8.632,53,6.155,56,8.632,60,5.803,65,6.478,66,9.784,67,9.784,68,9.784,69,5.803,70,6.577,71,6.854,72,4.608,73,6.577,74,4.912,75,3.948,76,3.49,77,4.912,78,4.912,79,6.577,80,5.803,81,5.803,82,6.577,83,5.803,84,3.49,85,5.293,86,5.803,87,6.577,88,6.577]],["keywords/6",[]],["title/7",[27,269.719,89,581.937,90,530.795]],["content/7",[]],["keywords/7",[]],["title/8",[27,269.719,90,530.795,91,363.81]],["content/8",[0,5.314,19,4.52,27,2.463,28,3.789,85,4.847,89,5.314,90,8.916,91,3.322,92,3.196,93,9.157,94,9.157,95,9.157,96,9.157,97,5.314,98,11.079,99,7.762,100,3.789,101,5.761,102,6.023,103,6.023,104,6.023,105,6.023,106,5.314,107,7.369,108,6.023,109,9.157,110,6.023,111,6.023,112,6.023,113,4.498,114,6.023,115,6.023,116,5.314,117,5.314,118,6.023,119,4.847,120,6.023,121,6.023,122,6.023,123,3.789,124,3.988,125,6.023]],["keywords/8",[]],["title/9",[6,373.136,126,650.197]],["content/9",[]],["keywords/9",[]],["title/10",[6,373.136,75,484.993]],["content/10",[6,5.289,44,8.023,51,7.204,53,7.204,75,9.376,92,6.076,127,10.103,128,10.103,129,7.582]],["keywords/10",[]],["title/11",[6,373.136,126,650.197]],["content/11",[3,7.197,51,5.626,53,5.626,75,8.315,76,4.745,77,9.097,81,7.891,119,7.197,123,7.663,126,9.803,127,7.891,129,8.065,130,8.943,131,8.943,132,8.943,133,8.943,134,8.943,135,7.891,136,8.943]],["keywords/11",[]],["title/12",[27,330.393,84,428.712]],["content/12",[]],["keywords/12",[]],["title/13",[27,227.872,84,295.684,91,307.366,137,416.17]],["content/13",[27,3.039,28,4.676,84,5.677,92,3.943,123,4.676,124,4.921,137,11.649,138,9.44,139,10.699,140,10.699,141,7.432,142,7.432,143,4.921,144,5.207,145,6.557,146,7.432,147,5.45,148,6.557,149,7.432,150,7.432,151,7.432,152,7.432,153,7.432,154,7.432,155,6.557]],["keywords/13",[]],["title/14",[27,227.872,84,295.684,91,307.366,156,320.218]],["content/14",[27,3.967,28,6.104,84,8.157,92,5.148,123,6.104,124,6.424,138,11.352,147,3.856,155,8.56,156,9.192,157,12.866]],["keywords/14",[]],["title/15",[6,373.136,158,603.406]],["content/15",[]],["keywords/15",[]],["title/16",[7,650.197,159,712.844]],["content/16",[76,6.905,143,6.535,144,6.915,147,6.151,159,8.708,160,7.943,161,10.472,162,6.209,163,5.672,164,10.472,165,9.87,166,13.013]],["keywords/16",[]],["title/17",[158,603.406,167,484.993]],["content/17",[83,10.981,92,4.899,129,6.113,158,6.895,168,8.145,169,9.232,170,9.232,171,9.232,172,14.08,173,14.08,174,12.423,175,9.232,176,9.232,177,12.446,178,8.145]],["keywords/17",[]],["title/18",[6,304.613,26,414.953,76,349.983]],["content/18",[6,5.748,25,6.468,26,8.858,45,3.378,51,5.808,53,5.808,65,6.113,76,7.996,84,4.899,158,6.895,164,7.43,178,8.145,179,9.232,180,9.232,181,9.232,182,6.895,183,5.092]],["keywords/18",[]],["title/19",[76,349.983,162,414.953,184,492.596]],["content/19",[9,9.122,11,5.647,57,2.798,74,6.02,76,6.015,92,4.277,123,5.071,143,5.337,144,5.647,147,6.674,160,6.487,161,9.122,162,5.071,184,8.466,185,7.112,186,5.647,187,7.112,188,8.061,189,7.112]],["keywords/19",[]],["title/20",[6,304.613,75,395.928,76,349.983]],["content/20",[6,6.15,51,8.377,53,8.377,75,9.418,76,7.858,164,8.227,190,4.063,191,6.768,192,10.223]],["keywords/20",[]],["title/21",[35,337.309,167,395.928,193,659.58]],["content/21",[]],["keywords/21",[]],["title/22",[27,269.719,35,337.309,167,395.928]],["content/22",[19,4.155,27,3.442,35,6.863,50,5.897,51,5.295,53,5.295,123,5.295,129,5.573,167,8.055,168,7.426,194,8.417,195,15.23,196,8.417,197,7.426,198,8.417,199,7.426,200,8.417,201,8.417,202,8.417,203,8.417,204,8.417]],["keywords/22",[]],["title/23",[35,337.309,162,414.953,184,492.596]],["content/23",[9,9.122,11,5.647,35,6.705,57,2.798,74,6.02,92,4.277,143,5.337,144,5.647,147,6.674,160,6.487,161,9.122,162,5.071,167,4.839,184,8.466,185,7.112,187,7.112,189,7.112,205,8.061]],["keywords/23",[]],["title/24",[35,337.309,206,530.795,207,659.58]],["content/24",[35,5.741,85,9.034,129,7.433,167,6.739,197,9.905,206,11.379,208,8.384,209,9.034,210,11.226,211,11.226,212,11.226]],["keywords/24",[]],["title/25",[27,330.393,213,295.653]],["content/25",[]],["keywords/25",[]],["title/26",[27,269.719,91,363.81,167,395.928]],["content/26",[19,5.234,27,4.335,28,6.67,91,5.848,92,5.625,123,6.67,124,7.019,147,4.213,156,6.092,213,4.989,214,12.029,215,9.354,216,10.602]],["keywords/26",[]],["title/27",[7,650.197,217,650.197]],["content/27",[11,4.716,13,5.417,19,4.914,23,5.939,24,5.939,27,4.07,48,5.417,57,2.337,91,3.713,129,4.457,143,4.457,144,4.716,147,6.011,162,4.235,167,4.041,208,5.028,213,3.642,214,5.939,215,8.782,217,9.531,218,5.417,219,8.011,220,6.732,221,6.732,222,6.732,223,6.732,224,6.732,225,5.939,226,9.954,227,6.732,228,6.732,229,6.732]],["keywords/27",[]],["title/28",[25,566.043,26,508.297]],["content/28",[]],["keywords/28",[]],["title/29",[230,919.74]],["content/29",[57,2.631,61,3.805,100,2.974,186,3.312,191,3.13,230,4.171,231,8.306,232,4.728,233,4.171,234,4.728,235,7.579,236,5.66,237,3.805,238,4.728,239,4.728,240,5.66,241,3.805,242,4.728,243,6.687,244,3.13,245,6.687,246,3.741,247,3.531,248,2.838,249,4.728,250,3.805,251,4.171,252,4.171,253,4.728,254,4.728,255,4.728,256,3.741,257,4.171,258,4.728,259,3.312,260,4.728,261,4.171,262,2.608,263,2.608,264,3.13,265,4.728,266,2.838,267,3.531,268,2.608,269,3.531,270,3.13,271,7.634,272,3.805,273,3.805,274,4.728,275,2.717,276,4.728,277,3.805,278,3.805,279,4.728,280,4.728,281,2.608,282,4.171,283,3.805,284,7.579,285,3.805,286,4.728,287,4.728,288,4.728]],["keywords/29",[]],["title/30",[289,730.332]],["content/30",[21,4.389,22,6.964,27,2.034,61,4.003,71,3.485,135,6.964,183,2.744,190,1.977,191,3.294,231,4.738,237,4.003,244,3.294,246,2.456,248,2.986,256,4.843,257,4.389,259,9.081,263,2.744,270,3.294,271,4.003,273,6.352,277,4.003,281,2.744,282,4.389,283,4.003,285,4.003,289,3.485,290,4.389,291,3.13,292,4.389,293,4.975,294,3.13,295,7.893,296,4.975,297,4.975,298,4.975,299,4.975,300,5.895,301,4.975,302,4.003,303,4.975,304,4.975,305,6.352,306,4.975,307,4.975,308,4.003,309,4.975,310,3.485,311,4.389,312,4.389,313,4.975,314,4.975,315,3.485,316,4.975,317,4.975,318,3.13,319,4.975,320,7.893,321,4.389,322,3.715,323,4.975]],["keywords/30",[]],["title/31",[25,390.401,84,295.684,324,491.65,325,448.442]],["content/31",[71,5.985,186,5.985,256,5.827,262,4.712,266,5.128,291,5.374,294,5.374,324,7.537,325,6.874,326,7.537,327,5.985,328,8.542,329,6.874,330,8.542,331,7.537,332,6.874,333,8.542,334,8.542,335,8.542,336,8.542,337,8.542,338,8.542,339,8.542,340,7.537,341,3.945,342,8.542,343,8.542]],["keywords/31",[]],["title/32",[213,381.463]],["content/32",[45,3.378,147,3.669,213,3.378,231,5.542,256,6.144,262,5.092,291,5.808,322,6.895,344,8.145,345,9.232,346,9.232,347,6.895,348,9.232,349,7.43,350,5.305,351,9.232,352,9.232,353,5.542,354,9.232,355,9.232,356,9.232,357,9.232]],["keywords/32",[]],["title/33",[358,919.74]],["content/33",[33,3.206,65,3.03,78,3.418,80,6.514,91,2.524,113,3.418,186,3.206,231,2.747,237,5.942,246,2.259,248,4.432,251,4.038,252,6.514,256,6.166,259,6.502,262,2.524,263,4.072,269,3.418,271,3.683,273,5.942,281,2.524,285,3.683,291,2.879,294,2.879,300,3.418,308,5.942,315,3.206,318,2.879,322,3.418,344,4.038,358,4.038,359,7.383,360,4.576,361,4.576,362,3.683,363,4.038,364,3.683,365,7.383,366,3.683,367,4.038,368,2.63,369,4.576,370,4.576,371,4.576,372,4.576,373,4.038,374,4.576,375,4.576,376,4.576,377,3.03,378,4.576,379,3.683,380,4.576,381,4.576,382,4.576,383,4.576,384,6.514,385,3.683,386,4.576,387,7.383,388,4.576,389,4.576,390,4.576,391,4.576,392,4.576,393,4.576,394,4.576,395,4.038]],["keywords/33",[]],["title/34",[396,414.272]],["content/34",[397,6.407]],["keywords/34",[]],["title/35",[156,464.284,398,712.844]],["content/35",[]],["keywords/35",[]],["title/36",[399,712.844,400,566.043]],["content/36",[13,5.116,19,3.138,39,5.116,65,4.209,84,3.373,97,5.609,99,8.021,107,5.116,116,8.416,147,2.526,156,7.311,163,3.653,213,4.189,218,5.116,264,4.209,268,6.315,275,3.653,349,5.116,399,8.416,400,6.683,401,6.358,402,5.609,403,6.358,404,4.454,405,6.358,406,5.609,407,5.609,408,6.358,409,5.116,410,4.748,411,6.358,412,6.358,413,6.358,414,6.358,415,5.609,416,5.116,417,5.609,418,5.609,419,5.116]],["keywords/36",[]],["title/37",[420,919.74]],["content/37",[27,5.758,45,3.378,84,4.899,92,4.899,107,7.43,156,5.305,163,5.305,332,11.331,420,8.145,421,6.113,422,10.016,423,8.145,424,14.08,425,9.232,426,9.232,427,9.232]],["keywords/37",[]],["title/38",[428,919.74]],["content/38",[19,5.709,45,4.872,69,7.318,92,6.137,128,7.318,156,6.646,163,4.766,240,6.195,421,5.492,422,6.675,423,7.318,428,12.709,429,8.295,430,4.348,431,8.295,432,8.295,433,7.318,434,8.295,435,8.295,436,8.295,437,8.295]],["keywords/38",[]],["title/39",[62,534.94,438,712.844]],["content/39",[62,6.015,145,10.863,147,6.218,148,10.863,156,5.221,163,5.221,438,8.016,439,6.785,440,8.016,441,9.085,442,9.085,443,12.312,444,12.312,445,12.312,446,9.085]],["keywords/39",[]],["title/40",[447,919.74]],["content/40",[19,4.281,27,3.546,45,4.364,147,4.74,398,10.523,439,6.477,447,7.651,448,8.672,449,8.672,450,8.672,451,11.927,452,11.927,453,8.907,454,8.672,455,11.927,456,10.523,457,11.927,458,6.076]],["keywords/40",[]],["title/41",[459,603.406,460,650.197]],["content/41",[19,4.217,45,3.126,78,6.38,163,6.783,213,3.126,217,6.874,384,7.537,439,6.38,459,8.816,461,7.537,462,9.499,463,11.804,464,5.374,465,7.537,466,4.909,467,5.451,468,6.263,469,7.537,470,8.542,471,8.542,472,6.874,473,5.128]],["keywords/41",[]],["title/42",[474,650.197,475,712.844]],["content/42",[147,4.644,459,8.727,460,9.404,476,11.685,477,11.685,478,11.685,479,10.31,480,14.498,481,10.31]],["keywords/42",[]],["title/43",[482,1042.454]],["content/43",[147,2.916,367,6.473,459,5.479,460,5.904,479,10.98,481,12.027,483,7.337,484,7.337,485,7.337,486,7.337,487,7.337,488,6.473,489,9.352,490,7.337,491,7.337,492,7.337,493,7.337,494,7.337,495,7.337,496,7.337,497,7.337,498,7.337,499,7.337,500,10.6,501,5.904,502,9.352,503,7.337,504,7.337,505,7.337,506,7.337,507,7.337]],["keywords/43",[]],["title/44",[137,492.596,508,581.937,509,581.937]],["content/44",[19,2.882,45,2.136,137,4.36,143,3.865,147,6.059,156,3.355,213,2.136,219,4.698,302,4.698,440,5.151,467,2.696,489,9.589,508,5.151,509,5.151,510,5.151,511,5.838,512,5.838,513,5.838,514,10.868,515,13.131,516,5.838,517,5.838,518,5.838,519,5.838,520,5.838,521,5.838,522,5.151,523,5.838,524,5.838,525,5.838,526,5.838,527,5.838,528,5.838,529,5.838,530,8.942,531,5.838,532,5.838,533,5.838,534,5.838,535,5.838,536,5.838,537,5.838]],["keywords/44",[]],["title/45",[538,838.911]],["content/45",[]],["keywords/45",[]],["title/46",[539,1042.454]],["content/46",[86,11.751,278,10.718,540,8.818,541,13.319]],["keywords/46",[]],["title/47",[350,599.038]],["content/47",[45,3.88,190,4.213,262,5.848,281,5.848,290,9.354,294,6.67,350,6.092,464,6.67,538,8.532,540,7.019,542,7.428,543,6.67,544,10.602,545,10.602,546,10.602]],["keywords/47",[]],["title/48",[547,919.74]],["content/48",[14,3.11,45,1.414,65,2.559,74,2.886,75,2.32,76,3.411,100,6.718,163,2.221,190,1.536,209,3.11,246,1.908,250,7.74,266,2.32,281,3.546,283,3.11,291,2.431,292,3.41,311,3.41,315,2.708,327,5.782,329,3.11,347,6.164,366,3.11,373,3.41,400,4.504,473,2.32,488,5.672,540,2.559,543,5.192,548,3.865,549,6.428,550,9.618,551,6.428,552,2.886,553,2.708,554,3.865,555,3.865,556,2.886,557,5.672,558,3.41,559,3.865,560,6.428,561,3.865,562,3.865,563,3.865,564,5.672,565,3.41,566,3.865,567,3.865,568,7.481,569,3.41,570,3.865,571,3.865,572,3.865,573,3.865,574,3.865,575,3.41,576,3.865,577,2.32,578,3.41,579,6.428,580,3.41,581,5.672,582,3.41,583,3.865,584,3.865,585,3.865,586,3.865,587,3.41,588,5.173,589,6.428,590,3.865,591,3.865,592,2.886,593,2.559,594,3.865]],["keywords/48",[]],["title/49",[595,655.825]],["content/49",[4,1.862,14,1.698,25,1.478,33,2.662,42,1.397,45,1.897,50,4.441,57,0.732,65,1.397,71,1.478,84,1.12,91,1.164,99,1.478,100,4.603,113,1.576,117,1.862,162,1.328,182,3.872,183,1.164,190,2.908,191,1.397,209,1.698,213,0.772,231,4.392,241,1.698,243,1.862,244,1.397,246,1.876,250,3.058,262,1.164,266,3.112,268,1.164,270,3.433,275,4.204,291,1.328,315,1.478,329,1.698,341,1.755,350,2.184,362,1.698,366,3.058,368,1.213,377,1.397,379,1.698,395,1.862,416,1.698,419,1.698,453,1.576,456,3.353,458,1.478,462,1.698,464,1.328,467,2.394,473,1.267,474,1.698,510,1.862,540,3.433,542,2.662,543,3.988,547,1.862,552,2.838,553,1.478,556,7.528,557,1.862,558,3.353,564,1.862,568,6.222,569,3.353,575,3.353,577,4.392,578,1.862,580,1.862,581,1.862,593,1.397,595,3.262,596,1.698,597,2.11,598,5.593,599,4.574,600,1.698,601,2.11,602,1.862,603,1.698,604,2.11,605,2.11,606,2.11,607,2.11,608,3.8,609,1.576,610,2.11,611,2.11,612,2.11,613,1.862,614,2.11,615,2.11,616,5.185,617,3.8,618,3.058,619,3.8,620,2.11,621,2.11,622,2.11,623,3.8,624,2.11,625,2.11,626,2.11,627,2.11,628,2.11,629,1.862,630,2.11,631,2.11,632,2.11,633,1.862,634,2.11,635,2.11,636,2.11,637,2.11,638,2.11,639,1.576,640,2.11,641,1.862,642,2.11,643,2.11,644,2.11,645,2.11,646,1.862,647,2.11,648,2.11,649,2.11,650,2.11,651,1.862,652,1.698,653,2.11,654,1.698,655,2.11,656,1.862,657,1.12,658,2.11,659,2.11,660,2.11,661,2.11,662,2.11,663,2.11,664,2.11,665,1.478,666,2.11,667,2.11,668,2.11,669,1.862,670,1.576,671,1.397,672,2.11,673,2.11,674,2.11]],["keywords/49",[]],["title/50",[246,398.858,310,566.043]],["content/50",[42,3.382,44,2.065,45,1.079,71,2.065,72,6.384,78,3.814,100,4.251,190,2.685,206,2.372,245,2.601,246,4.498,262,1.626,266,3.066,268,2.817,275,5.236,281,1.626,289,2.065,318,1.855,341,3.121,350,4.631,377,4.474,416,2.372,433,5.962,462,2.372,464,1.855,468,2.71,473,1.77,474,8.621,502,2.601,540,3.382,542,3.578,543,5.07,568,4.734,595,5.07,596,2.372,600,4.11,629,2.601,633,2.601,646,2.601,656,2.601,669,2.601,670,5.047,671,1.952,675,6.486,676,2.948,677,9.982,678,2.948,679,1.855,680,2.948,681,1.952,682,2.948,683,2.948,684,2.948,685,2.948,686,2.948,687,2.948,688,2.948,689,6.757,690,9.982,691,2.948,692,4.631,693,5.107,694,2.948,695,2.948,696,2.601,697,2.948,698,5.107,699,5.107,700,2.948,701,2.948,702,2.948,703,2.948,704,2.948,705,2.948,706,2.601,707,2.372,708,2.202,709,2.372,710,2.372,711,2.948,712,2.948,713,2.948,714,2.948,715,2.948,716,2.948]],["keywords/50",[]],["title/51",[717,574.995]],["content/51",[3,1.863,44,1.622,45,2.485,57,3.256,62,3.701,72,1.622,76,1.229,77,1.729,92,1.229,106,2.043,182,1.729,190,2.222,191,3.701,199,2.043,218,3.323,219,1.863,240,1.729,244,1.533,247,1.729,248,2.479,256,6.052,259,1.622,262,3.746,263,3.083,267,1.729,269,4.175,275,2.373,281,1.277,300,1.729,305,1.863,327,1.622,349,1.863,368,3.902,396,3.098,406,2.043,430,0.87,439,1.729,464,1.457,466,2.373,469,2.043,475,2.043,540,5.161,543,1.457,553,1.622,565,3.644,568,1.622,592,1.729,595,4.272,596,3.323,602,2.043,609,1.729,671,1.533,679,2.598,707,3.323,717,1.277,718,2.315,719,1.729,720,2.315,721,2.315,722,4.13,723,1.863,724,1.729,725,1.184,726,1.622,727,2.315,728,2.315,729,2.315,730,2.315,731,4.175,732,4.13,733,2.893,734,1.457,735,2.315,736,2.315,737,3.084,738,2.315,739,1.729,740,2.315,741,2.043,742,2.315,743,2.315,744,2.315,745,2.315,746,2.315,747,2.315,748,2.315,749,2.315,750,2.315,751,2.315,752,2.315,753,2.315,754,1.533,755,2.315,756,2.315,757,2.315,758,2.315,759,2.315,760,2.315,761,2.315,762,2.315,763,2.315,764,2.315,765,2.315,766,2.315,767,2.315,768,2.315,769,2.315,770,5.59,771,4.13,772,2.315,773,2.315,774,2.112,775,4.136,776,2.315,777,2.315,778,1.863,779,4.13,780,2.315,781,4.13,782,2.315,783,2.315,784,2.315,785,6.791,786,2.315,787,2.315,788,2.315,789,2.315,790,1.622,791,2.315,792,2.315,793,2.315,794,2.315,795,2.315]],["keywords/51",[]],["title/52",[246,398.858,310,566.043]],["content/52",[]],["keywords/52",[]],["title/53",[731,778.539]],["content/53",[246,5.769,294,7.351,310,8.187,318,7.351,377,7.737,430,4.393,538,9.404,595,7.351,731,8.727,796,11.685]],["keywords/53",[]],["title/54",[350,464.284,670,603.406]],["content/54",[]],["keywords/54",[]],["title/55",[62,534.94,266,484.993]],["content/55",[190,4.551,318,7.204,350,6.58,397,5.124,543,7.204,553,8.023,675,9.215,731,8.552,797,9.215,798,11.451,799,11.451]],["keywords/55",[]],["title/56",[57,280.445,800,712.844]],["content/56",[57,5.324,318,6.927,397,4.926,466,6.327,568,7.714,613,9.714,675,8.86,679,6.927,797,8.86,800,9.714,801,11.01]],["keywords/56",[]],["title/57",[62,690.201]],["content/57",[]],["keywords/57",[]],["title/58",[717,574.995]],["content/58",[57,4.849,725,7.144]],["keywords/58",[]],["title/59",[190,414.272]],["content/59",[147,5.419,802,13.636,803,10.974]],["keywords/59",[]],["title/60",[353,484.993,657,428.712]],["content/60",[397,6.407]],["keywords/60",[]],["title/61",[430,391.909]],["content/61",[397,6.407]],["keywords/61",[]],["title/62",[368,464.284,577,484.993]],["content/62",[]],["keywords/62",[]],["title/63",[681,690.201]],["content/63",[99,9.784,368,7.52,404,4.716,430,2.531,501,5.417,552,5.028,577,9.08,652,10.531,654,5.417,665,8.298,734,4.235,804,10.45,805,5.417,806,5.417,807,6.732,808,5.939,809,5.939,810,5.939,811,5.939,812,7.434,813,5.939,814,5.939,815,5.939,816,5.939,817,5.939]],["keywords/63",[]],["title/64",[717,574.995]],["content/64",[57,1.233,75,2.133,99,7.736,101,3.769,113,2.653,182,4.474,233,3.134,262,1.96,268,3.304,325,2.859,364,2.859,368,6.346,404,2.489,409,2.859,430,1.336,501,2.859,552,2.653,577,8.399,600,2.859,652,8.886,654,2.859,665,5.442,692,2.041,696,3.134,724,4.474,725,3.064,734,2.235,790,2.489,804,8.046,805,2.859,806,2.859,808,3.134,809,3.134,810,3.134,811,3.134,812,8.247,813,3.134,814,3.134,815,9.743,816,5.285,817,5.285,818,3.966,819,3.553,820,3.553,821,5.991,822,2.489,823,2.489,824,3.553,825,6.853,826,3.134,827,3.553,828,3.553,829,5.991,830,3.134,831,3.553,832,3.553,833,3.553,834,3.553,835,3.134,836,3.134,837,3.553,838,3.553,839,2.352,840,3.553,841,3.553,842,3.553,843,3.553,844,3.553,845,3.134]],["keywords/64",[]],["title/65",[246,514.623]],["content/65",[]],["keywords/65",[]],["title/66",[681,690.201]],["content/66",[18,8.223,57,3.822,183,6.073,246,5.435,256,5.435,267,8.223,275,6.327,341,5.085,350,6.327,458,7.714,733,7.714,846,8.86,847,8.86]],["keywords/66",[]],["title/67",[717,574.995]],["content/67",[57,4.141,101,7.505,268,6.58,397,5.337,725,6.101,822,8.357,823,8.357,848,9.6,849,8.909]],["keywords/67",[]],["title/68",[190,414.272]],["content/68",[100,5.716,147,4.893,400,6.365,466,5.221,472,7.311,588,7.311,639,6.785,709,7.311,710,7.311,850,8.016,851,8.016,852,8.016,853,8.016,854,8.016,855,8.016,856,8.016,857,8.016,858,8.016,859,8.016,860,8.016,861,8.016,862,8.016,863,8.016]],["keywords/68",[]],["title/69",[353,484.993,657,428.712]],["content/69",[397,6.407]],["keywords/69",[]],["title/70",[430,391.909]],["content/70",[397,6.407]],["keywords/70",[]],["title/71",[190,414.272]],["content/71",[147,5.419,803,10.974,864,12.031]],["keywords/71",[]],["title/72",[353,484.993,657,428.712]],["content/72",[]],["keywords/72",[]],["title/73",[404,462.095,577,395.928,812,492.596]],["content/73",[57,1.601,124,3.054,191,4.92,247,5.55,256,4.606,261,4.07,263,2.545,278,3.712,302,3.712,318,2.902,322,3.445,327,3.232,331,4.07,332,3.712,347,5.55,404,7.495,464,2.902,522,8.232,577,6.422,582,4.07,599,4.07,618,7.509,665,5.206,671,3.054,719,3.445,724,3.445,725,2.359,774,2.359,775,5.677,790,5.206,805,3.712,806,3.712,812,3.445,835,8.232,836,4.07,839,3.054,865,5.98,866,4.613,867,4.613,868,4.07,869,10.698,870,9.331,871,4.613,872,4.613,873,4.613,874,4.613,875,4.613,876,7.431,877,4.613,878,4.613,879,4.613,880,4.613,881,4.613,882,4.613,883,4.613,884,4.613]],["keywords/73",[]],["title/74",[430,391.909]],["content/74",[256,6.425,577,7.813,618,12.457,885,13.016]],["keywords/74",[]],["title/75",[886,778.539]],["content/75",[]],["keywords/75",[]],["title/76",[681,690.201]],["content/76",[18,7.774,57,3.613,183,5.741,256,5.138,266,6.248,267,7.774,341,4.807,350,5.981,458,7.292,733,7.292,818,6.892,846,8.376,847,8.376,886,7.774,887,9.184,888,10.409]],["keywords/76",[]],["title/77",[717,574.995]],["content/77",[57,4.141,101,7.505,268,6.58,397,5.337,725,6.101,822,8.357,823,8.357,848,9.6,849,8.909]],["keywords/77",[]],["title/78",[190,414.272]],["content/78",[147,6.565,466,5.672,889,11.481,890,12.845,891,12.845,892,8.708,893,8.708,894,8.708,895,8.708]],["keywords/78",[]],["title/79",[353,484.993,657,428.712]],["content/79",[397,6.407]],["keywords/79",[]],["title/80",[430,391.909]],["content/80",[397,6.407]],["keywords/80",[]],["title/81",[775,553.142]],["content/81",[]],["keywords/81",[]],["title/82",[396,262.118,774,337.309,896,659.58]],["content/82",[35,1.794,42,2.323,45,2.169,57,2.058,63,3.096,77,2.621,119,2.824,174,3.096,190,2.356,213,3.311,225,3.096,241,2.824,244,2.323,248,2.106,266,3.559,268,1.935,275,5.199,281,1.935,291,2.208,294,2.208,326,3.096,353,2.106,364,2.824,377,2.323,396,5.081,407,3.096,410,4.428,417,3.096,422,2.824,464,2.208,465,3.096,553,2.458,587,3.096,592,2.621,598,3.096,603,2.824,609,2.621,651,3.096,671,2.323,679,4.843,707,2.824,708,2.621,717,4.99,719,2.621,734,2.208,739,2.621,774,5.171,818,3.925,830,5.231,868,3.096,897,3.509,898,3.509,899,6.195,900,3.509,901,3.509,902,3.509,903,2.621,904,2.458,905,6.757,906,3.509,907,3.509,908,3.509,909,3.509,910,2.458,911,3.509,912,3.509,913,3.509,914,3.509,915,3.509,916,3.096,917,3.509,918,3.509,919,3.509,920,3.509,921,3.509,922,3.509,923,3.509,924,5.928,925,3.509,926,3.509,927,3.509,928,3.509,929,3.509,930,3.509,931,3.509,932,3.509,933,3.509,934,3.096]],["keywords/82",[]],["title/83",[430,391.909]],["content/83",[35,6.366,396,4.947,903,9.297,935,12.449,936,10.983,937,12.449,938,10.983]],["keywords/83",[]],["title/84",[50,566.043,379,650.197]],["content/84",[]],["keywords/84",[]],["title/85",[681,690.201]],["content/85",[42,9.599,57,4.056,190,4.644,231,7.014,256,5.769,327,8.187,341,5.397,556,8.727,733,8.187]],["keywords/85",[]],["title/86",[717,574.995]],["content/86",[42,5.191,50,9.844,57,2.721,101,6.993,231,6.672,248,4.706,259,5.492,268,6.131,277,6.309,294,4.932,310,5.492,385,6.309,556,5.855,725,5.684,734,4.932,737,5.855,818,5.191,822,5.492,823,5.492,825,6.917,826,6.917,849,8.301,939,7.84,940,7.84,941,7.84,942,7.84]],["keywords/86",[]],["title/87",[190,414.272]],["content/87",[147,5.419,803,10.974,864,12.031]],["keywords/87",[]],["title/88",[353,484.993,657,428.712]],["content/88",[397,6.407]],["keywords/88",[]],["title/89",[430,391.909]],["content/89",[397,6.407]],["keywords/89",[]],["title/90",[57,280.445,719,603.406]],["content/90",[]],["keywords/90",[]],["title/91",[725,533.111]],["content/91",[45,2.379,57,3.367,124,4.305,213,2.379,248,3.903,262,3.586,264,4.305,341,5.359,396,2.584,419,5.233,421,4.305,430,2.444,453,4.856,467,3.003,468,3.45,542,4.555,593,4.305,692,3.736,706,5.737,725,6.579,741,5.737,754,4.305,774,3.325,775,6.826,905,4.856,943,6.502,944,5.737,945,5.737,946,5.233,947,5.233,948,5.737,949,5.737,950,6.502,951,6.502,952,6.502,953,6.502,954,6.502,955,6.502,956,6.502,957,6.502]],["keywords/91",[]],["title/92",[183,445.65,726,566.043]],["content/92",[45,2.115,163,3.321,183,8.177,190,2.297,213,2.115,247,4.316,263,3.188,264,5.875,272,4.651,341,4.098,396,3.526,430,2.173,466,3.321,467,2.669,473,3.469,593,3.826,641,5.099,657,3.066,692,6.206,726,7.566,739,4.316,774,2.955,775,6.936,778,4.651,790,4.049,903,4.316,958,4.651,959,5.099,960,5.779,961,5.779,962,5.779,963,5.779,964,5.779,965,5.779,966,5.779,967,5.779,968,5.779,969,2.955,970,5.099,971,5.779,972,4.316,973,5.099]],["keywords/92",[]],["title/93",[974,919.74]],["content/93",[213,3.222,341,4.067,396,3.499,430,3.31,467,4.067,468,4.672,473,5.286,692,5.06,708,6.576,775,7.292,958,7.086,969,4.503,972,6.576,974,13.038,975,6.576,976,7.769,977,8.806,978,7.086,979,7.769,980,7.769,981,7.769]],["keywords/93",[]],["title/94",[982,919.74]],["content/94",[213,3.173,341,4.005,396,3.446,430,3.26,467,4.005,468,4.601,473,7.159,692,4.983,708,6.477,775,7.234,958,6.979,969,4.435,972,6.477,978,6.979,979,7.651,980,7.651,982,12.954,983,7.651,984,8.672,985,7.651,986,8.672]],["keywords/94",[]],["title/95",[975,603.406,987,712.844]],["content/95",[45,4.319,213,3.126,396,3.395,430,3.212,467,3.945,468,4.533,473,7.086,692,6.783,775,6.263,904,8.27,947,6.874,969,4.369,975,6.38,987,7.537,988,11.804,989,11.804,990,6.874,991,7.537,992,8.542,993,7.537,994,8.542]],["keywords/95",[]],["title/96",[236,603.406,368,464.284]],["content/96",[35,5.18,45,4.394,49,3.711,72,2.947,163,3.961,183,2.32,213,1.539,236,3.141,263,2.32,264,2.785,270,2.785,272,3.385,368,2.417,396,2.739,415,3.711,421,4.564,639,3.141,657,2.232,679,2.646,692,3.961,725,2.151,737,10.235,739,3.141,754,2.785,774,2.151,775,5.375,845,9.863,903,3.141,904,4.829,910,2.947,916,3.711,946,3.385,947,5.547,969,2.151,970,3.711,972,3.141,973,3.711,990,5.547,995,4.206,996,3.711,997,4.206,998,4.206,999,4.206,1000,5.547,1001,4.206,1002,4.206,1003,4.206,1004,6.082,1005,11.179,1006,4.206,1007,8.759,1008,4.206,1009,4.206,1010,4.206,1011,4.206,1012,3.711,1013,4.206,1014,4.206,1015,4.206]],["keywords/96",[]],["title/97",[47,650.197,910,566.043]],["content/97",[40,7.086,47,9.699,213,3.222,236,6.576,244,5.83,264,5.83,281,4.857,368,5.06,396,3.499,467,4.067,468,4.672,734,5.54,775,4.672,818,5.83,904,6.169,910,9.627,969,4.503,990,7.086,1016,8.806,1017,8.806,1018,8.806,1019,8.806,1020,7.769]],["keywords/97",[]],["title/98",[421,534.94,1000,650.197]],["content/98",[40,8.693,213,3.953,396,4.293,421,7.152,467,4.989,468,5.732,775,5.732,904,7.568,969,5.524,1000,8.693,1021,10.802,1022,10.802,1023,10.802,1024,10.802]],["keywords/98",[]],["title/99",[865,838.911]],["content/99",[39,4.651,45,2.115,57,3.08,190,2.297,208,4.316,213,2.115,270,3.826,308,4.651,321,5.099,341,2.669,363,10.689,377,3.826,396,2.297,409,4.651,430,2.173,453,4.316,466,3.321,467,2.669,593,5.875,657,3.066,665,6.216,671,3.826,724,9.762,754,3.826,774,2.955,839,8.022,865,4.651,905,4.316,944,5.099,969,2.955,1025,8.873,1026,10.8,1027,5.779,1028,5.779,1029,5.779,1030,5.779,1031,5.779,1032,5.779,1033,5.779,1034,5.779,1035,5.779,1036,5.779,1037,5.779,1038,5.779]],["keywords/99",[]],["title/100",[289,730.332]],["content/100",[45,2.407,101,4.138,190,2.614,213,3.58,240,4.912,270,6.478,275,5.622,289,8.185,315,4.608,385,10.412,396,3.888,402,5.803,418,5.803,467,3.037,468,3.49,542,4.608,595,4.138,609,4.912,670,4.912,692,3.779,717,3.628,725,3.363,754,4.355,774,3.363,790,4.608,839,6.478,899,5.293,905,4.912,949,5.803,969,3.363,1039,6.577,1040,6.577,1041,6.577,1042,6.577,1043,6.577,1044,6.577,1045,6.577,1046,6.577]],["keywords/100",[]],["title/101",[410,778.539]],["content/101",[11,4.608,45,4.275,57,3.396,72,4.608,190,2.614,213,2.407,231,3.948,269,9.663,281,3.628,300,4.912,305,5.293,341,3.037,396,2.614,410,10.328,430,2.473,466,3.779,467,3.037,593,6.478,595,4.138,679,4.138,734,4.138,754,4.355,774,3.363,797,5.293,818,4.355,899,7.873,934,5.803,969,3.363,1047,9.784,1048,6.577,1049,6.577,1050,6.577,1051,6.577,1052,6.577,1053,6.577]],["keywords/101",[]],["title/102",[723,838.911]],["content/102",[45,3.035,91,4.575,186,5.811,208,6.195,213,3.035,340,7.318,341,3.831,396,4.596,430,3.118,467,3.831,468,4.401,603,6.675,723,9.307,774,4.242,778,6.675,839,7.657,969,4.242,1054,8.295,1055,11.565,1056,11.565,1057,11.565,1058,7.318,1059,8.295,1060,8.295]],["keywords/102",[]],["title/103",[1061,919.74]],["content/103",[45,3.55,213,3.55,341,4.481,362,7.808,396,3.856,430,3.648,467,4.481,468,5.148,657,5.148,839,9.558,969,4.962,1058,8.56,1061,12.737,1062,9.702,1063,9.702,1064,9.702]],["keywords/103",[]],["title/104",[430,391.909]],["content/104",[]],["keywords/104",[]],["title/105",[263,445.65,347,603.406]],["content/105",[183,5.958,248,6.484,256,5.333,263,7.611,679,6.796,726,7.568,975,8.067,1065,10.802,1066,10.802,1067,10.802,1068,10.802,1069,10.802,1070,10.802]],["keywords/105",[]],["title/106",[263,445.65,312,712.844]],["content/106",[396,2.843,592,5.342,726,5.011,737,7.772,910,5.011,936,6.311,945,6.311,946,5.756,948,6.311,959,6.311,976,6.311,978,8.375,981,6.311,983,6.311,985,6.311,991,6.311,993,6.311,996,6.311,1004,6.311,1012,6.311,1020,6.311,1071,7.153,1072,7.153,1073,7.153,1074,7.153,1075,7.153,1076,7.153,1077,7.153,1078,7.153,1079,7.153,1080,7.153,1081,7.153,1082,7.153,1083,7.153,1084,7.153,1085,7.153,1086,7.153,1087,7.153,1088,7.153]],["keywords/106",[]],["title/107",[1089,1042.454]],["content/107",[35,6.811,396,5.293,774,6.811,938,11.751]],["keywords/107",[]],["title/108",[246,398.858,886,603.406]],["content/108",[]],["keywords/108",[]],["title/109",[681,690.201]],["content/109",[18,7.918,57,3.68,183,5.848,246,5.234,256,5.234,275,6.092,341,4.896,458,7.428,461,9.354,543,6.67,733,7.428,846,8.532,847,8.532,886,7.918,887,9.354]],["keywords/109",[]],["title/110",[717,574.995]],["content/110",[57,4.141,101,7.505,268,6.58,397,5.337,725,6.101,822,8.357,823,8.357,848,9.6,849,8.909]],["keywords/110",[]],["title/111",[190,414.272]],["content/111",[100,4.235,147,6.411,400,4.716,466,3.868,472,5.417,588,5.417,639,5.028,709,5.417,710,5.417,850,5.939,851,5.939,852,5.939,853,5.939,854,5.939,855,5.939,856,5.939,857,5.939,858,5.939,859,5.939,860,5.939,861,5.939,862,5.939,863,5.939,889,8.782,890,10.45,891,10.45,892,5.939,893,5.939,894,5.939,895,5.939,1090,6.732,1091,6.732]],["keywords/111",[]],["title/112",[353,484.993,657,428.712]],["content/112",[397,6.407]],["keywords/112",[]],["title/113",[430,391.909]],["content/113",[397,6.407]],["keywords/113",[]]],"invertedIndex":[["",{"_index":147,"title":{},"content":{"13":{"position":[[175,1],[184,1],[292,2],[295,1]]},"14":{"position":[[80,1]]},"16":{"position":[[100,1],[108,1],[154,2],[157,2]]},"19":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[203,2],[206,2],[209,2],[212,2],[215,2]]},"23":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[218,2],[221,2],[224,2],[227,2],[230,2]]},"26":{"position":[[57,1]]},"27":{"position":[[189,1],[339,1],[358,1],[378,1],[462,1],[464,1],[466,2]]},"32":{"position":[[242,2]]},"36":{"position":[[200,2]]},"39":{"position":[[149,1],[199,1],[201,3],[268,1],[318,1]]},"40":{"position":[[117,3],[167,3]]},"42":{"position":[[57,3]]},"43":{"position":[[282,3]]},"44":{"position":[[129,1],[157,1],[274,2],[295,1],[392,2],[481,1],[566,1],[597,1],[622,1]]},"59":{"position":[[22,4]]},"68":{"position":[[9,1],[394,1]]},"71":{"position":[[29,4]]},"78":{"position":[[9,1],[11,1],[124,2],[127,1],[185,1],[187,1]]},"87":{"position":[[29,4]]},"111":{"position":[[9,1],[30,1],[32,1],[145,2],[148,1],[206,1],[208,2],[232,1],[617,1],[619,1]]}},"keywords":{}}],["0",{"_index":845,"title":{},"content":{"64":{"position":[[765,4]]},"96":{"position":[[550,4],[564,2],[576,2],[588,2],[600,2]]}},"keywords":{}}],["0..1",{"_index":825,"title":{},"content":{"64":{"position":[[229,4],[525,4],[1119,4]]},"86":{"position":[[243,4]]}},"keywords":{}}],["01",{"_index":891,"title":{},"content":{"78":{"position":[[43,2],[98,2],[159,2]]},"111":{"position":[[64,2],[119,2],[180,2]]}},"keywords":{}}],["01t00:00:00.000z"",{"_index":892,"title":{},"content":{"78":{"position":[[46,23]]},"111":{"position":[[67,23]]}},"keywords":{}}],["02",{"_index":94,"title":{},"content":{"8":{"position":[[28,2],[59,2]]}},"keywords":{}}],["02t00:00:00.000z"",{"_index":894,"title":{},"content":{"78":{"position":[[101,22]]},"111":{"position":[[122,22]]}},"keywords":{}}],["03t00:00:00.000z"",{"_index":895,"title":{},"content":{"78":{"position":[[162,22]]},"111":{"position":[[183,22]]}},"keywords":{}}],["07",{"_index":973,"title":{},"content":{"92":{"position":[[545,2]]},"96":{"position":[[259,2]]}},"keywords":{}}],["07/schema.$id",{"_index":909,"title":{},"content":{"82":{"position":[[543,13]]}},"keywords":{}}],["07rfc",{"_index":935,"title":{},"content":{"83":{"position":[[7,5]]}},"keywords":{}}],["1",{"_index":106,"title":{},"content":{"8":{"position":[[177,1]]},"51":{"position":[[744,1]]}},"keywords":{}}],["1..1",{"_index":849,"title":{},"content":{"67":{"position":[[56,4]]},"77":{"position":[[56,4]]},"86":{"position":[[63,4],[184,4]]},"110":{"position":[[56,4]]}},"keywords":{}}],["1.0",{"_index":195,"title":{},"content":{"22":{"position":[[19,3],[73,3],[133,3],[200,3],[251,3]]}},"keywords":{}}],["1.0/hello.md",{"_index":210,"title":{},"content":{"24":{"position":[[91,12]]}},"keywords":{}}],["10",{"_index":882,"title":{},"content":{"73":{"position":[[646,4]]}},"keywords":{}}],["10646",{"_index":950,"title":{},"content":{"91":{"position":[[177,5]]}},"keywords":{}}],["10px",{"_index":523,"title":{},"content":{"44":{"position":[[247,7]]}},"keywords":{}}],["1123",{"_index":983,"title":{},"content":{"94":{"position":[[59,5]]},"106":{"position":[[30,4]]}},"keywords":{}}],["12",{"_index":878,"title":{},"content":{"73":{"position":[[502,4]]}},"keywords":{}}],["18.0",{"_index":36,"title":{},"content":{"4":{"position":[[17,4]]}},"keywords":{}}],["1standard",{"_index":951,"title":{},"content":{"91":{"position":[[183,10]]}},"keywords":{}}],["2",{"_index":199,"title":{},"content":{"22":{"position":[[187,1]]},"51":{"position":[[752,1]]}},"keywords":{}}],["2.1",{"_index":984,"title":{},"content":{"94":{"position":[[73,3]]}},"keywords":{}}],["2.2",{"_index":994,"title":{},"content":{"95":{"position":[[179,4]]}},"keywords":{}}],["2.3.2.3",{"_index":986,"title":{},"content":{"94":{"position":[[201,8]]}},"keywords":{}}],["20px",{"_index":520,"title":{},"content":{"44":{"position":[[215,7]]}},"keywords":{}}],["2373",{"_index":993,"title":{},"content":{"95":{"position":[[165,5]]},"106":{"position":[[55,4]]}},"keywords":{}}],["262",{"_index":1023,"title":{},"content":{"98":{"position":[[66,3]]}},"keywords":{}}],["262json",{"_index":1072,"title":{},"content":{"106":{"position":[[6,7]]}},"keywords":{}}],["2673",{"_index":991,"title":{},"content":{"95":{"position":[[104,5]]},"106":{"position":[[70,4]]}},"keywords":{}}],["28",{"_index":95,"title":{},"content":{"8":{"position":[[31,2],[62,2]]}},"keywords":{}}],["3",{"_index":224,"title":{},"content":{"27":{"position":[[183,1]]}},"keywords":{}}],["3.2",{"_index":992,"title":{},"content":{"95":{"position":[[118,4]]}},"keywords":{}}],["3166",{"_index":742,"title":{},"content":{"51":{"position":[[739,4]]}},"keywords":{}}],["3339",{"_index":959,"title":{},"content":{"92":{"position":[[53,5]]},"106":{"position":[[85,4]]}},"keywords":{}}],["3629",{"_index":948,"title":{},"content":{"91":{"position":[[138,5]]},"106":{"position":[[109,4]]}},"keywords":{}}],["3986",{"_index":996,"title":{},"content":{"96":{"position":[[71,5]]},"106":{"position":[[125,4]]}},"keywords":{}}],["4.1.2",{"_index":977,"title":{},"content":{"93":{"position":[[76,5]]}},"keywords":{}}],["4122",{"_index":1004,"title":{},"content":{"96":{"position":[[480,5],[727,4]]},"106":{"position":[[139,4]]}},"keywords":{}}],["5)rfc",{"_index":1082,"title":{},"content":{"106":{"position":[[153,5]]}},"keywords":{}}],["5.6",{"_index":960,"title":{},"content":{"92":{"position":[[67,3]]}},"keywords":{}}],["515112",{"_index":745,"title":{},"content":{"51":{"position":[[776,6]]}},"keywords":{}}],["5321",{"_index":976,"title":{},"content":{"93":{"position":[[62,5]]},"106":{"position":[[159,4]]}},"keywords":{}}],["5890",{"_index":985,"title":{},"content":{"94":{"position":[[187,5]]},"106":{"position":[[180,4]]}},"keywords":{}}],["6",{"_index":1014,"title":{},"content":{"96":{"position":[[759,1]]}},"keywords":{}}],["600",{"_index":242,"title":{},"content":{"29":{"position":[[89,3]]}},"keywords":{}}],["6531",{"_index":981,"title":{},"content":{"93":{"position":[[186,5]]},"106":{"position":[[221,4]]}},"keywords":{}}],["6570",{"_index":1020,"title":{},"content":{"97":{"position":[[206,5]]},"106":{"position":[[255,4]]}},"keywords":{}}],["8",{"_index":946,"title":{},"content":{"91":{"position":[[108,1]]},"96":{"position":[[761,2]]},"106":{"position":[[307,2]]}},"keywords":{}}],["8)rfc",{"_index":1079,"title":{},"content":{"106":{"position":[[119,5]]}},"keywords":{}}],["8259",{"_index":936,"title":{},"content":{"83":{"position":[[13,4]]},"106":{"position":[[278,4]]}},"keywords":{}}],["8601",{"_index":963,"title":{},"content":{"92":{"position":[[105,5]]}},"keywords":{}}],["9562",{"_index":1012,"title":{},"content":{"96":{"position":[[704,4]]},"106":{"position":[[293,4]]}},"keywords":{}}],["9a",{"_index":1005,"title":{},"content":{"96":{"position":[[555,2],[567,2],[579,2],[591,2],[603,2]]}},"keywords":{}}],["a[pi",{"_index":484,"title":{},"content":{"43":{"position":[[21,7]]}},"keywords":{}}],["abil",{"_index":308,"title":{},"content":{"30":{"position":[[529,7]]},"33":{"position":[[555,7],[884,7]]},"99":{"position":[[108,7]]}},"keywords":{}}],["abov",{"_index":37,"title":{},"content":{"4":{"position":[[25,6]]}},"keywords":{}}],["absenc",{"_index":1063,"title":{},"content":{"103":{"position":[[125,7]]}},"keywords":{}}],["absolut",{"_index":429,"title":{},"content":{"38":{"position":[[53,8]]}},"keywords":{}}],["accept",{"_index":1058,"title":{},"content":{"102":{"position":[[154,8]]},"103":{"position":[[64,10]]}},"keywords":{}}],["access",{"_index":179,"title":{},"content":{"18":{"position":[[94,10]]}},"keywords":{}}],["accesscr",{"_index":361,"title":{},"content":{"33":{"position":[[53,13]]}},"keywords":{}}],["accommod",{"_index":875,"title":{},"content":{"73":{"position":[[370,11]]}},"keywords":{}}],["accur",{"_index":342,"title":{},"content":{"31":{"position":[[239,10]]}},"keywords":{}}],["accuraci",{"_index":645,"title":{},"content":{"49":{"position":[[1682,8]]}},"keywords":{}}],["achiev",{"_index":384,"title":{},"content":{"33":{"position":[[437,7],[525,7]]},"41":{"position":[[126,8]]}},"keywords":{}}],["acronym",{"_index":539,"title":{"46":{"position":[[0,9]]}},"content":{},"keywords":{}}],["act",{"_index":552,"title":{},"content":{"48":{"position":[[86,3]]},"49":{"position":[[403,3],[868,3]]},"63":{"position":[[284,3]]},"64":{"position":[[1057,3]]}},"keywords":{}}],["action",{"_index":456,"title":{},"content":{"40":{"position":[[147,6],[228,6]]},"49":{"position":[[181,6],[1435,6]]}},"keywords":{}}],["activ",{"_index":556,"title":{},"content":{"48":{"position":[[224,11]]},"49":{"position":[[131,11],[249,8],[338,8],[381,8],[464,9],[821,8],[917,8],[1845,9],[2053,10]]},"85":{"position":[[102,9]]},"86":{"position":[[131,8]]}},"keywords":{}}],["actor",{"_index":547,"title":{"48":{"position":[[0,7]]}},"content":{"49":{"position":[[2439,6]]}},"keywords":{}}],["ad",{"_index":49,"title":{},"content":{"5":{"position":[[104,5]]},"96":{"position":[[735,6]]}},"keywords":{}}],["adapt",{"_index":287,"title":{},"content":{"29":{"position":[[821,5]]}},"keywords":{}}],["add",{"_index":162,"title":{"19":{"position":[[0,3]]},"23":{"position":[[0,3]]}},"content":{"16":{"position":[[32,3]]},"19":{"position":[[42,3]]},"23":{"position":[[41,3]]},"27":{"position":[[67,3]]},"49":{"position":[[2170,3]]}},"keywords":{}}],["addit",{"_index":706,"title":{},"content":{"50":{"position":[[1277,10]]},"91":{"position":[[313,9]]}},"keywords":{}}],["address",{"_index":975,"title":{"95":{"position":[[3,8]]}},"content":{"93":{"position":[[7,9]]},"95":{"position":[[4,9]]},"105":{"position":[[1,7]]}},"keywords":{}}],["adject",{"_index":659,"title":{},"content":{"49":{"position":[[2215,9]]}},"keywords":{}}],["admonit",{"_index":447,"title":{"40":{"position":[[0,12]]}},"content":{"40":{"position":[[43,11]]}},"keywords":{}}],["adopt",{"_index":331,"title":{},"content":{"31":{"position":[[64,5]]},"73":{"position":[[83,8]]}},"keywords":{}}],["agenc",{"_index":581,"title":{},"content":{"48":{"position":[[902,6],[964,6]]},"49":{"position":[[238,7]]}},"keywords":{}}],["agnost",{"_index":1010,"title":{},"content":{"96":{"position":[[643,8]]}},"keywords":{}}],["agreement",{"_index":624,"title":{},"content":{"49":{"position":[[1062,10]]}},"keywords":{}}],["ai",{"_index":323,"title":{},"content":{"30":{"position":[[825,3]]}},"keywords":{}}],["aim",{"_index":544,"title":{},"content":{"47":{"position":[[82,3]]}},"keywords":{}}],["air",{"_index":842,"title":{},"content":{"64":{"position":[[738,3]]}},"keywords":{}}],["alert",{"_index":497,"title":{},"content":{"43":{"position":[[178,7]]}},"keywords":{}}],["alert(`y",{"_index":527,"title":{},"content":{"44":{"position":[[297,10]]}},"keywords":{}}],["allow",{"_index":511,"title":{},"content":{"44":{"position":[[54,6]]}},"keywords":{}}],["alon",{"_index":239,"title":{},"content":{"29":{"position":[[69,5]]}},"keywords":{}}],["along",{"_index":763,"title":{},"content":{"51":{"position":[[1213,5]]}},"keywords":{}}],["alpha",{"_index":743,"title":{},"content":{"51":{"position":[[746,5]]}},"keywords":{}}],["altern",{"_index":884,"title":{},"content":{"73":{"position":[[716,12]]}},"keywords":{}}],["alway",{"_index":1040,"title":{},"content":{"100":{"position":[[75,6]]}},"keywords":{}}],["amend",{"_index":613,"title":{},"content":{"49":{"position":[[660,5]]},"56":{"position":[[101,9]]}},"keywords":{}}],["american",{"_index":747,"title":{},"content":{"51":{"position":[[796,8]]}},"keywords":{}}],["amp",{"_index":823,"title":{},"content":{"64":{"position":[[194,5]]},"67":{"position":[[35,5]]},"77":{"position":[[35,5]]},"86":{"position":[[35,5]]},"110":{"position":[[35,5]]}},"keywords":{}}],["analysi",{"_index":367,"title":{},"content":{"33":{"position":[[142,8]]},"43":{"position":[[110,10]]}},"keywords":{}}],["analyt",{"_index":251,"title":{},"content":{"29":{"position":[[196,9]]},"33":{"position":[[474,9]]}},"keywords":{}}],["and/or",{"_index":790,"title":{},"content":{"51":{"position":[[1978,6]]},"64":{"position":[[137,6]]},"73":{"position":[[204,6],[457,6]]},"92":{"position":[[6,6]]},"100":{"position":[[340,6]]}},"keywords":{}}],["annot",{"_index":897,"title":{},"content":{"82":{"position":[[43,8]]}},"keywords":{}}],["answer",{"_index":656,"title":{},"content":{"49":{"position":[[2144,8]]},"50":{"position":[[381,7]]}},"keywords":{}}],["anyth",{"_index":931,"title":{},"content":{"82":{"position":[[1361,8]]}},"keywords":{}}],["anywher",{"_index":131,"title":{},"content":{"11":{"position":[[156,8]]}},"keywords":{}}],["api",{"_index":785,"title":{},"content":{"51":{"position":[[1894,3],[1935,5],[2072,4],[2121,4]]}},"keywords":{}}],["appear",{"_index":189,"title":{},"content":{"19":{"position":[[244,7]]},"23":{"position":[[261,7]]}},"keywords":{}}],["applic",{"_index":568,"title":{},"content":{"48":{"position":[[507,10],[521,11],[882,10],[1000,12],[1083,12]]},"49":{"position":[[599,11],[1392,12],[1477,12],[2081,10],[2159,10],[2241,11],[2335,12]]},"50":{"position":[[210,11],[964,11],[1247,11]]},"51":{"position":[[1901,11]]},"56":{"position":[[79,11]]}},"keywords":{}}],["application/json",{"_index":782,"title":{},"content":{"51":{"position":[[1828,17]]}},"keywords":{}}],["appropri",{"_index":360,"title":{},"content":{"33":{"position":[[36,11]]}},"keywords":{}}],["approv",{"_index":488,"title":{},"content":{"43":{"position":[[60,9]]},"48":{"position":[[392,10],[768,8]]}},"keywords":{}}],["area",{"_index":599,"title":{},"content":{"49":{"position":[[198,4],[745,4],[1614,5]]},"73":{"position":[[116,5]]}},"keywords":{}}],["around",{"_index":121,"title":{},"content":{"8":{"position":[[476,6]]}},"keywords":{}}],["array",{"_index":410,"title":{"101":{"position":[[0,6]]}},"content":{"36":{"position":[[351,5]]},"82":{"position":[[1262,5],[1398,5]]},"101":{"position":[[1,6],[61,5],[116,5],[307,5],[444,6]]}},"keywords":{}}],["asiso",{"_index":962,"title":{},"content":{"92":{"position":[[99,5]]}},"keywords":{}}],["assign",{"_index":811,"title":{},"content":{"63":{"position":[[180,7]]},"64":{"position":[[953,7]]}},"keywords":{}}],["associ",{"_index":602,"title":{},"content":{"49":{"position":[[354,10]]},"51":{"position":[[1770,10]]}},"keywords":{}}],["at"",{"_index":704,"title":{},"content":{"50":{"position":[[1168,8]]}},"keywords":{}}],["attempt",{"_index":638,"title":{},"content":{"49":{"position":[[1531,7]]}},"keywords":{}}],["attribut",{"_index":830,"title":{},"content":{"64":{"position":[[391,9]]},"82":{"position":[[388,11],[1186,10]]}},"keywords":{}}],["author",{"_index":100,"title":{},"content":{"8":{"position":[[116,8]]},"29":{"position":[[577,13]]},"48":{"position":[[190,13],[316,9],[376,15],[610,13],[1194,13]]},"49":{"position":[[282,15],[669,14],[850,13],[965,14],[1999,14]]},"50":{"position":[[229,13],[979,13],[1262,14]]},"68":{"position":[[85,13]]},"111":{"position":[[308,13]]}},"keywords":{}}],["autom",{"_index":301,"title":{},"content":{"30":{"position":[[324,8]]}},"keywords":{}}],["automat",{"_index":48,"title":{},"content":{"5":{"position":[[87,13]]},"6":{"position":[[438,13]]},"27":{"position":[[12,13]]}},"keywords":{}}],["automation.unlock",{"_index":307,"title":{},"content":{"30":{"position":[[507,17]]}},"keywords":{}}],["avail",{"_index":124,"title":{},"content":{"8":{"position":[[548,9]]},"13":{"position":[[317,9]]},"14":{"position":[[143,9]]},"26":{"position":[[131,9]]},"73":{"position":[[357,9]]},"91":{"position":[[509,9]]}},"keywords":{}}],["awesom",{"_index":452,"title":{},"content":{"40":{"position":[[94,7],[189,7]]}},"keywords":{}}],["b",{"_index":479,"title":{},"content":{"42":{"position":[[39,1]]},"43":{"position":[[70,1],[90,1],[243,1]]}},"keywords":{}}],["b(stakehold",{"_index":487,"title":{},"content":{"43":{"position":[[46,13]]}},"keywords":{}}],["b.c.'",{"_index":234,"title":{},"content":{"29":{"position":[[32,6]]}},"keywords":{}}],["backgroundcolor",{"_index":518,"title":{},"content":{"44":{"position":[[177,16]]}},"keywords":{}}],["band",{"_index":914,"title":{},"content":{"82":{"position":[[708,4]]}},"keywords":{}}],["barfind",{"_index":17,"title":{},"content":{"1":{"position":[[175,7]]}},"keywords":{}}],["base",{"_index":321,"title":{},"content":{"30":{"position":[[780,5]]},"99":{"position":[[272,5]]}},"keywords":{}}],["bc",{"_index":618,"title":{},"content":{"49":{"position":[[961,3],[1908,3]]},"73":{"position":[[56,2],[223,2],[305,2]]},"74":{"position":[[1,2],[28,2]]}},"keywords":{}}],["be",{"_index":654,"title":{},"content":{"49":{"position":[[1962,5]]},"63":{"position":[[232,5]]},"64":{"position":[[1005,5]]}},"keywords":{}}],["befor",{"_index":1018,"title":{},"content":{"97":{"position":[[147,6]]}},"keywords":{}}],["begin",{"_index":683,"title":{},"content":{"50":{"position":[[340,9]]}},"keywords":{}}],["behalf",{"_index":873,"title":{},"content":{"73":{"position":[[264,6]]}},"keywords":{}}],["behind",{"_index":796,"title":{},"content":{"53":{"position":[[73,6]]}},"keywords":{}}],["belong",{"_index":606,"title":{},"content":{"49":{"position":[[522,6]]}},"keywords":{}}],["best",{"_index":345,"title":{},"content":{"32":{"position":[[7,4]]}},"keywords":{}}],["better",{"_index":277,"title":{},"content":{"29":{"position":[[683,6]]},"30":{"position":[[78,6]]},"86":{"position":[[320,6]]}},"keywords":{}}],["between",{"_index":671,"title":{},"content":{"49":{"position":[[2423,7]]},"50":{"position":[[1597,7]]},"51":{"position":[[1495,7]]},"73":{"position":[[584,7]]},"82":{"position":[[301,7]]},"99":{"position":[[133,7]]}},"keywords":{}}],["block",{"_index":438,"title":{"39":{"position":[[5,7]]}},"content":{"39":{"position":[[15,6]]}},"keywords":{}}],["blog",{"_index":89,"title":{"7":{"position":[[9,4]]}},"content":{"8":{"position":[[531,4]]}},"keywords":{}}],["blog/2021",{"_index":93,"title":{},"content":{"8":{"position":[[18,9],[49,9]]}},"keywords":{}}],["blue",{"_index":537,"title":{},"content":{"44":{"position":[[617,4]]}},"keywords":{}}],["blue</highlight>",{"_index":534,"title":{},"content":{"44":{"position":[[543,22]]}},"keywords":{}}],["boolean",{"_index":723,"title":{"102":{"position":[[0,8]]}},"content":{"51":{"position":[[283,8]]},"102":{"position":[[1,8],[191,8]]}},"keywords":{}}],["border",{"_index":673,"title":{},"content":{"49":{"position":[[2460,8]]}},"keywords":{}}],["borderradiu",{"_index":519,"title":{},"content":{"44":{"position":[[201,13]]}},"keywords":{}}],["both",{"_index":738,"title":{},"content":{"51":{"position":[[572,4]]}},"keywords":{}}],["boundari",{"_index":1053,"title":{},"content":{"101":{"position":[[426,10]]}},"keywords":{}}],["brief",{"_index":924,"title":{},"content":{"82":{"position":[[1032,5],[1066,5]]}},"keywords":{}}],["british",{"_index":808,"title":{},"content":{"63":{"position":[[148,7]]},"64":{"position":[[921,7]]}},"keywords":{}}],["broader",{"_index":689,"title":{},"content":{"50":{"position":[[490,7],[1107,7],[1456,7]]}},"keywords":{}}],["build",{"_index":75,"title":{"10":{"position":[[0,5]]},"20":{"position":[[0,5]]}},"content":{"6":{"position":[[247,6]]},"10":{"position":[[1,5],[42,5],[88,5]]},"11":{"position":[[22,5],[58,5],[136,5]]},"20":{"position":[[1,5],[49,5],[75,5],[136,5]]},"48":{"position":[[759,8]]},"64":{"position":[[721,8]]}},"keywords":{}}],["built",{"_index":957,"title":{},"content":{"91":{"position":[[519,5]]}},"keywords":{}}],["bundl",{"_index":379,"title":{"84":{"position":[[8,6]]}},"content":{"33":{"position":[[350,8]]},"49":{"position":[[390,8]]}},"keywords":{}}],["busi",{"_index":278,"title":{},"content":{"29":{"position":[[690,8]]},"46":{"position":[[28,8]]},"73":{"position":[[107,8]]}},"keywords":{}}],["c",{"_index":481,"title":{},"content":{"42":{"position":[[48,1]]},"43":{"position":[[121,1],[156,1],[186,1],[268,1]]}},"keywords":{}}],["call",{"_index":402,"title":{},"content":{"36":{"position":[[45,6]]},"100":{"position":[[134,6]]}},"keywords":{}}],["callout",{"_index":449,"title":{},"content":{"40":{"position":[[59,9]]}},"keywords":{}}],["can't",{"_index":260,"title":{},"content":{"29":{"position":[[351,5]]}},"keywords":{}}],["canada",{"_index":744,"title":{},"content":{"51":{"position":[[763,6]]}},"keywords":{}}],["captur",{"_index":630,"title":{},"content":{"49":{"position":[[1271,7]]}},"keywords":{}}],["cardin",{"_index":822,"title":{},"content":{"64":{"position":[[165,11]]},"67":{"position":[[6,11]]},"77":{"position":[[6,11]]},"86":{"position":[[6,11]]},"110":{"position":[[6,11]]}},"keywords":{}}],["care",{"_index":455,"title":{},"content":{"40":{"position":[[136,5],[218,4]]}},"keywords":{}}],["carri",{"_index":650,"title":{},"content":{"49":{"position":[[1824,5]]}},"keywords":{}}],["case",{"_index":1002,"title":{},"content":{"96":{"position":[[406,6]]}},"keywords":{}}],["caseload",{"_index":628,"title":{},"content":{"49":{"position":[[1219,8]]}},"keywords":{}}],["cast",{"_index":1059,"title":{},"content":{"102":{"position":[[218,6]]}},"keywords":{}}],["catalogu",{"_index":874,"title":{},"content":{"73":{"position":[[313,10]]}},"keywords":{}}],["catalogueparcelmap",{"_index":885,"title":{},"content":{"74":{"position":[[9,18]]}},"keywords":{}}],["categor",{"_index":716,"title":{},"content":{"50":{"position":[[1578,14]]}},"keywords":{}}],["categori",{"_index":228,"title":{},"content":{"27":{"position":[[386,11]]}},"keywords":{}}],["caution",{"_index":181,"title":{},"content":{"18":{"position":[[179,7]]}},"keywords":{}}],["cd",{"_index":67,"title":{},"content":{"6":{"position":[[30,2],[64,2]]}},"keywords":{}}],["certain",{"_index":603,"title":{},"content":{"49":{"position":[[456,7]]},"82":{"position":[[835,7]]},"102":{"position":[[79,7]]}},"keywords":{}}],["chang",{"_index":68,"title":{},"content":{"6":{"position":[[75,7],[470,8]]}},"keywords":{}}],["characterist",{"_index":276,"title":{},"content":{"29":{"position":[[637,15]]}},"keywords":{}}],["chart",{"_index":463,"title":{},"content":{"41":{"position":[[50,8],[188,6]]}},"keywords":{}}],["check",{"_index":40,"title":{},"content":{"4":{"position":[[80,5]]},"97":{"position":[[212,5]]},"98":{"position":[[79,5]]}},"keywords":{}}],["checkbox",{"_index":41,"title":{},"content":{"4":{"position":[[90,10]]}},"keywords":{}}],["children",{"_index":514,"title":{},"content":{"44":{"position":[[131,11],[346,13],[367,10]]}},"keywords":{}}],["class",{"_index":838,"title":{},"content":{"64":{"position":[[684,5]]}},"keywords":{}}],["classic",{"_index":46,"title":{},"content":{"5":{"position":[[42,7],[65,7],[192,7]]}},"keywords":{}}],["classif",{"_index":731,"title":{"53":{"position":[[0,16]]}},"content":{"51":{"position":[[432,14],[676,14],[814,14]]},"53":{"position":[[85,14]]},"55":{"position":[[6,14]]}},"keywords":{}}],["clear",{"_index":335,"title":{},"content":{"31":{"position":[[96,5]]}},"keywords":{}}],["clearli",{"_index":343,"title":{},"content":{"31":{"position":[[254,8]]}},"keywords":{}}],["click",{"_index":528,"title":{},"content":{"44":{"position":[[308,7]]}},"keywords":{}}],["client",{"_index":666,"title":{},"content":{"49":{"position":[[2321,6]]}},"keywords":{}}],["close",{"_index":436,"title":{},"content":{"38":{"position":[[296,5]]}},"keywords":{}}],["co",{"_index":104,"title":{},"content":{"8":{"position":[[152,2]]}},"keywords":{}}],["code",{"_index":62,"title":{"39":{"position":[[0,4]]},"55":{"position":[[0,4]]},"57":{"position":[[0,4]]}},"content":{"5":{"position":[[312,4]]},"39":{"position":[[10,4]]},"51":{"position":[[661,4],[754,4],[844,4]]}},"keywords":{}}],["codelist",{"_index":730,"title":{},"content":{"51":{"position":[[420,8]]}},"keywords":{}}],["codifi",{"_index":798,"title":{},"content":{"55":{"position":[[84,8]]}},"keywords":{}}],["collect",{"_index":245,"title":{},"content":{"29":{"position":[[132,8],[320,11]]},"50":{"position":[[699,10]]}},"keywords":{}}],["coloc",{"_index":435,"title":{},"content":{"38":{"position":[[280,8]]}},"keywords":{}}],["color",{"_index":515,"title":{},"content":{"44":{"position":[[143,7],[194,6],[223,6],[320,5],[326,8]]}},"keywords":{}}],["color="#1877f2">facebook",{"_index":533,"title":{},"content":{"44":{"position":[[505,37]]}},"keywords":{}}],["color="#25c2a0">docusauru",{"_index":531,"title":{},"content":{"44":{"position":[[417,39]]}},"keywords":{}}],["columbia",{"_index":809,"title":{},"content":{"63":{"position":[[156,9]]},"64":{"position":[[929,9]]}},"keywords":{}}],["column",{"_index":760,"title":{},"content":{"51":{"position":[[1164,6]]}},"keywords":{}}],["come",{"_index":646,"title":{},"content":{"49":{"position":[[1712,4]]},"50":{"position":[[524,5]]}},"keywords":{}}],["command",{"_index":52,"title":{},"content":{"5":{"position":[[144,8],[220,7],[233,7],[330,7]]},"6":{"position":[[67,7],[239,7]]}},"keywords":{}}],["comment",{"_index":587,"title":{},"content":{"48":{"position":[[1068,8]]},"82":{"position":[[743,8]]}},"keywords":{}}],["common",{"_index":262,"title":{},"content":{"29":{"position":[[377,6]]},"31":{"position":[[138,6]]},"32":{"position":[[82,6]]},"33":{"position":[[672,6]]},"47":{"position":[[99,6]]},"49":{"position":[[43,6]]},"50":{"position":[[43,6]]},"51":{"position":[[260,6],[1364,6],[1846,6],[2051,6]]},"64":{"position":[[703,6]]},"91":{"position":[[419,6]]}},"keywords":{}}],["commonbuilt",{"_index":955,"title":{},"content":{"91":{"position":[[333,11]]}},"keywords":{}}],["commonli",{"_index":739,"title":{},"content":{"51":{"position":[[647,8]]},"82":{"position":[[18,8]]},"92":{"position":[[84,8]]},"96":{"position":[[98,8]]}},"keywords":{}}],["commun",{"_index":22,"title":{},"content":{"1":{"position":[[253,9]]},"30":{"position":[[646,11],[722,11]]}},"keywords":{}}],["comparison",{"_index":938,"title":{},"content":{"83":{"position":[[44,10]]},"107":{"position":[[21,10]]}},"keywords":{}}],["compat",{"_index":272,"title":{},"content":{"29":{"position":[[507,13]]},"92":{"position":[[204,10]]},"96":{"position":[[665,14]]}},"keywords":{}}],["compil",{"_index":834,"title":{},"content":{"64":{"position":[[449,12]]}},"keywords":{}}],["complet",{"_index":416,"title":{},"content":{"36":{"position":[[450,8]]},"49":{"position":[[2107,9]]},"50":{"position":[[164,8]]}},"keywords":{}}],["complex",{"_index":232,"title":{},"content":{"29":{"position":[[17,7]]}},"keywords":{}}],["compli",{"_index":904,"title":{},"content":{"82":{"position":[[459,8]]},"95":{"position":[[89,6],[149,6]]},"96":{"position":[[56,6],[465,6]]},"97":{"position":[[191,6]]},"98":{"position":[[46,6]]}},"keywords":{}}],["compliant",{"_index":972,"title":{},"content":{"92":{"position":[[524,9]]},"93":{"position":[[170,9]]},"94":{"position":[[171,9]]},"96":{"position":[[238,9]]}},"keywords":{}}],["compon",{"_index":509,"title":{"44":{"position":[[14,11]]}},"content":{"44":{"position":[[77,10]]}},"keywords":{}}],["concept",{"_index":350,"title":{"47":{"position":[[0,9]]},"54":{"position":[[0,7]]}},"content":{"32":{"position":[[100,8]]},"47":{"position":[[38,8]]},"49":{"position":[[92,8],[723,7]]},"50":{"position":[[92,8],[372,8],[1177,7],[1525,7]]},"55":{"position":[[108,8]]},"66":{"position":[[50,7]]},"76":{"position":[[50,7]]}},"keywords":{}}],["conceptu",{"_index":901,"title":{},"content":{"82":{"position":[[276,10]]}},"keywords":{}}],["concise.descript",{"_index":925,"title":{},"content":{"82":{"position":[[1042,19]]}},"keywords":{}}],["condit",{"_index":698,"title":{},"content":{"50":{"position":[[948,9],[1221,9]]}},"keywords":{}}],["configur",{"_index":7,"title":{"16":{"position":[[0,9]]},"27":{"position":[[0,9]]}},"content":{"1":{"position":[[49,13]]}},"keywords":{}}],["congratul",{"_index":0,"title":{"0":{"position":[[0,16]]}},"content":{"8":{"position":[[410,16]]}},"keywords":{}}],["connect",{"_index":304,"title":{},"content":{"30":{"position":[[381,7]]}},"keywords":{}}],["consid",{"_index":930,"title":{},"content":{"82":{"position":[[1343,10]]}},"keywords":{}}],["consist",{"_index":300,"title":{},"content":{"30":{"position":[[281,12],[548,10]]},"33":{"position":[[445,11]]},"51":{"position":[[932,10]]},"101":{"position":[[79,7]]}},"keywords":{}}],["consistencyidentifi",{"_index":375,"title":{},"content":{"33":{"position":[[258,19]]}},"keywords":{}}],["consistently.support",{"_index":317,"title":{},"content":{"30":{"position":[[671,20]]}},"keywords":{}}],["const",{"_index":513,"title":{},"content":{"44":{"position":[[113,5]]}},"keywords":{}}],["constrain",{"_index":754,"title":{},"content":{"51":{"position":[[985,11]]},"91":{"position":[[221,11]]},"96":{"position":[[322,11]]},"99":{"position":[[487,11]]},"100":{"position":[[293,9]]},"101":{"position":[[145,9]]}},"keywords":{}}],["constraint",{"_index":934,"title":{},"content":{"82":{"position":[[1456,10]]},"101":{"position":[[313,11]]}},"keywords":{}}],["constraintslegal_descript",{"_index":824,"title":{},"content":{"64":{"position":[[200,28]]}},"keywords":{}}],["constraintsproject_id",{"_index":939,"title":{},"content":{"86":{"position":[[41,21]]}},"keywords":{}}],["constraintstbd",{"_index":848,"title":{},"content":{"67":{"position":[[41,14]]},"77":{"position":[[41,14]]},"110":{"position":[[41,14]]}},"keywords":{}}],["consult",{"_index":382,"title":{},"content":{"33":{"position":[[396,12]]}},"keywords":{}}],["contain",{"_index":818,"title":{},"content":{"64":{"position":[[44,7],[109,7]]},"76":{"position":[[86,7]]},"82":{"position":[[366,7],[615,7]]},"86":{"position":[[297,7]]},"97":{"position":[[99,8]]},"101":{"position":[[211,8]]}},"keywords":{}}],["content",{"_index":174,"title":{},"content":{"17":{"position":[[88,7],[153,7],[221,7]]},"82":{"position":[[93,8]]}},"keywords":{}}],["context",{"_index":553,"title":{},"content":{"48":{"position":[[104,7]]},"49":{"position":[[1919,7]]},"51":{"position":[[528,7]]},"55":{"position":[[32,7]]},"82":{"position":[[1147,7]]}},"keywords":{}}],["context"",{"_index":661,"title":{},"content":{"49":{"position":[[2253,14]]}},"keywords":{}}],["contribut",{"_index":330,"title":{},"content":{"31":{"position":[[49,10]]}},"keywords":{}}],["convention",{"_index":1042,"title":{},"content":{"100":{"position":[[119,14]]}},"keywords":{}}],["convey",{"_index":708,"title":{},"content":{"50":{"position":[[1334,8]]},"82":{"position":[[691,9]]},"93":{"position":[[109,8]]},"94":{"position":[[107,8]]}},"keywords":{}}],["copi",{"_index":168,"title":{},"content":{"17":{"position":[[1,4]]},"22":{"position":[[98,6]]}},"keywords":{}}],["core",{"_index":267,"title":{},"content":{"29":{"position":[[443,4]]},"51":{"position":[[1288,4]]},"66":{"position":[[45,4]]},"76":{"position":[[45,4]]}},"keywords":{}}],["cost",{"_index":135,"title":{},"content":{"11":{"position":[[196,4]]},"30":{"position":[[148,5],[474,4]]}},"keywords":{}}],["cours",{"_index":356,"title":{},"content":{"32":{"position":[[214,7]]}},"keywords":{}}],["cp",{"_index":176,"title":{},"content":{"17":{"position":[[110,2]]}},"keywords":{}}],["creat",{"_index":27,"title":{"7":{"position":[[0,6]]},"8":{"position":[[0,6]]},"12":{"position":[[0,6]]},"13":{"position":[[0,6]]},"14":{"position":[[0,6]]},"22":{"position":[[0,6]]},"25":{"position":[[0,6]]},"26":{"position":[[0,6]]}},"content":{"3":{"position":[[16,8]]},"6":{"position":[[151,7]]},"8":{"position":[[1,6]]},"13":{"position":[[1,6]]},"14":{"position":[[1,6]]},"22":{"position":[[158,8]]},"26":{"position":[[1,6]]},"27":{"position":[[26,7],[264,6]]},"30":{"position":[[592,6]]},"37":{"position":[[97,7],[149,7],[213,6]]},"40":{"position":[[36,6]]}},"keywords":{}}],["creator",{"_index":105,"title":{},"content":{"8":{"position":[[155,7]]}},"keywords":{}}],["cross",{"_index":359,"title":{},"content":{"33":{"position":[[10,5],[313,5]]}},"keywords":{}}],["crown",{"_index":816,"title":{},"content":{"63":{"position":[[389,5]]},"64":{"position":[[365,5],[1178,5]]}},"keywords":{}}],["csv",{"_index":783,"title":{},"content":{"51":{"position":[[1880,4]]}},"keywords":{}}],["current",{"_index":433,"title":{},"content":{"38":{"position":[[227,7]]},"50":{"position":[[940,7],[1213,7],[1306,7]]}},"keywords":{}}],["cursor",{"_index":524,"title":{},"content":{"44":{"position":[[255,7]]}},"keywords":{}}],["custom",{"_index":13,"title":{},"content":{"1":{"position":[[138,6]]},"27":{"position":[[83,9]]},"36":{"position":[[167,6]]}},"keywords":{}}],["c{purpos",{"_index":490,"title":{},"content":{"43":{"position":[[79,10]]}},"keywords":{}}],["d",{"_index":504,"title":{},"content":{"43":{"position":[[270,1]]}},"keywords":{}}],["d[document",{"_index":493,"title":{},"content":{"43":{"position":[[135,10]]}},"keywords":{}}],["danger",{"_index":457,"title":{},"content":{"40":{"position":[[157,9],[238,9]]}},"keywords":{}}],["danger[tak",{"_index":454,"title":{},"content":{"40":{"position":[[121,14]]}},"keywords":{}}],["dash",{"_index":870,"title":{},"content":{"73":{"position":[[211,7],[464,7],[577,6]]}},"keywords":{}}],["data",{"_index":256,"title":{},"content":{"29":{"position":[[282,4],[460,4]]},"30":{"position":[[85,4],[199,4],[276,4]]},"31":{"position":[[112,4],[219,4]]},"32":{"position":[[49,4],[113,4]]},"33":{"position":[[48,4],[225,4],[773,4],[862,4],[905,4],[936,4]]},"51":{"position":[[150,4],[251,4],[267,4],[390,4],[1091,4],[1119,4],[1208,4],[1247,4],[1442,4],[1740,5],[1853,4],[1993,4],[2067,4]]},"66":{"position":[[6,4]]},"73":{"position":[[226,4],[256,4],[308,4]]},"74":{"position":[[4,4]]},"76":{"position":[[6,4]]},"85":{"position":[[6,4]]},"105":{"position":[[9,4]]},"109":{"position":[[6,4]]}},"keywords":{}}],["databas",{"_index":770,"title":{},"content":{"51":{"position":[[1456,8],[2020,9],[2102,9]]}},"keywords":{}}],["date",{"_index":726,"title":{"92":{"position":[[0,4]]}},"content":{"51":{"position":[[313,5]]},"92":{"position":[[1,4],[139,4],[295,4]]},"105":{"position":[[118,4]]},"106":{"position":[[90,5]]}},"keywords":{}}],["decim",{"_index":1025,"title":{},"content":{"99":{"position":[[1,8],[299,7]]}},"keywords":{}}],["decis",{"_index":250,"title":{},"content":{"29":{"position":[[186,9]]},"48":{"position":[[236,8],[263,8],[415,10],[624,9]]},"49":{"position":[[1324,8],[1364,8]]}},"keywords":{}}],["declar",{"_index":660,"title":{},"content":{"49":{"position":[[2225,9]]}},"keywords":{}}],["dedic",{"_index":567,"title":{},"content":{"48":{"position":[[486,9]]}},"keywords":{}}],["default",{"_index":144,"title":{},"content":{"13":{"position":[[144,7]]},"16":{"position":[[92,7]]},"19":{"position":[[133,7]]},"23":{"position":[[133,7]]},"27":{"position":[[331,7]]}},"keywords":{}}],["defaultlocal",{"_index":165,"title":{},"content":{"16":{"position":[[110,14]]}},"keywords":{}}],["defin",{"_index":275,"title":{},"content":{"29":{"position":[[614,6]]},"36":{"position":[[357,8]]},"49":{"position":[[163,7],[216,7],[795,6],[1542,8],[2067,7]]},"50":{"position":[[587,7],[627,7],[729,7],[819,7],[1413,7]]},"51":{"position":[[206,8],[1472,8]]},"66":{"position":[[63,7]]},"82":{"position":[[35,7],[135,6],[1268,8],[1370,7]]},"100":{"position":[[320,6],[379,6]]},"109":{"position":[[82,7]]}},"keywords":{}}],["definit",{"_index":595,"title":{"49":{"position":[[0,12]]}},"content":{"49":{"position":[[27,11],[120,10],[1145,10]]},"50":{"position":[[27,11],[125,10],[1121,11],[1470,11]]},"51":{"position":[[45,11],[952,12],[1230,11],[1336,10]]},"53":{"position":[[61,11]]},"100":{"position":[[444,11]]},"101":{"position":[[122,11]]}},"keywords":{}}],["definitionapplic",{"_index":554,"title":{},"content":{"48":{"position":[[127,19]]}},"keywords":{}}],["definitiondata",{"_index":718,"title":{},"content":{"51":{"position":[[118,14]]}},"keywords":{}}],["definitionlob",{"_index":541,"title":{},"content":{"46":{"position":[[6,13]]}},"keywords":{}}],["degre",{"_index":644,"title":{},"content":{"49":{"position":[[1671,7]]}},"keywords":{}}],["delici",{"_index":357,"title":{},"content":{"32":{"position":[[231,10]]}},"keywords":{}}],["deliv",{"_index":292,"title":{},"content":{"30":{"position":[[34,7]]},"48":{"position":[[475,10]]}},"keywords":{}}],["deliveri",{"_index":1066,"title":{},"content":{"105":{"position":[[34,8]]}},"keywords":{}}],["depend",{"_index":43,"title":{},"content":{"4":{"position":[[112,13]]},"5":{"position":[[366,12]]}},"keywords":{}}],["deploy",{"_index":126,"title":{"9":{"position":[[0,6]]},"11":{"position":[[0,6]]}},"content":{"11":{"position":[[125,6],[211,10]]}},"keywords":{}}],["deriv",{"_index":412,"title":{},"content":{"36":{"position":[[400,7]]}},"keywords":{}}],["describ",{"_index":679,"title":{},"content":{"50":{"position":[[280,8]]},"51":{"position":[[21,8],[1551,9]]},"56":{"position":[[31,9]]},"82":{"position":[[233,10],[265,10],[416,9]]},"96":{"position":[[120,9]]},"101":{"position":[[413,8]]},"105":{"position":[[142,10]]}},"keywords":{}}],["descript",{"_index":268,"title":{},"content":{"29":{"position":[[448,11]]},"36":{"position":[[120,12],[145,11],[330,11]]},"49":{"position":[[569,11]]},"50":{"position":[[921,11],[1194,11]]},"64":{"position":[[182,11],[256,11]]},"67":{"position":[[23,11]]},"77":{"position":[[23,11]]},"82":{"position":[[1072,11]]},"86":{"position":[[23,11],[260,11]]},"110":{"position":[[23,11]]}},"keywords":{}}],["descriptor",{"_index":800,"title":{"56":{"position":[[5,12]]}},"content":{"56":{"position":[[51,11]]}},"keywords":{}}],["design",{"_index":14,"title":{},"content":{"1":{"position":[[145,6]]},"48":{"position":[[305,10]]},"49":{"position":[[1603,10]]}},"keywords":{}}],["detail",{"_index":468,"title":{},"content":{"41":{"position":[[159,7],[241,7]]},"50":{"position":[[1288,7],[1482,8]]},"91":{"position":[[495,6]]},"93":{"position":[[240,8]]},"94":{"position":[[258,8]]},"95":{"position":[[232,8]]},"97":{"position":[[256,8]]},"98":{"position":[[123,8]]},"100":{"position":[[471,7]]},"102":{"position":[[298,8]]},"103":{"position":[[207,8]]}},"keywords":{}}],["develop",{"_index":65,"title":{},"content":{"6":{"position":[[9,11],[299,11]]},"18":{"position":[[190,12]]},"33":{"position":[[743,9]]},"36":{"position":[[186,9]]},"48":{"position":[[738,12]]},"49":{"position":[[314,11]]}},"keywords":{}}],["diagram",{"_index":462,"title":{},"content":{"41":{"position":[[34,11],[259,7]]},"49":{"position":[[2378,7]]},"50":{"position":[[1548,7]]}},"keywords":{}}],["dialect",{"_index":1024,"title":{},"content":{"98":{"position":[[70,8]]}},"keywords":{}}],["dictionari",{"_index":764,"title":{},"content":{"51":{"position":[[1252,11]]}},"keywords":{}}],["differ",{"_index":305,"title":{},"content":{"30":{"position":[[422,9],[692,9]]},"51":{"position":[[1503,9]]},"101":{"position":[[90,9]]}},"keywords":{}}],["differenti",{"_index":1028,"title":{},"content":{"99":{"position":[[119,13]]}},"keywords":{}}],["difficult",{"_index":254,"title":{},"content":{"29":{"position":[[245,9]]}},"keywords":{}}],["digit",{"_index":806,"title":{},"content":{"63":{"position":[[64,5]]},"64":{"position":[[841,5]]},"73":{"position":[[558,5]]}},"keywords":{}}],["digits.parcel_id_numb",{"_index":881,"title":{},"content":{"73":{"position":[[612,23]]}},"keywords":{}}],["direct",{"_index":288,"title":{},"content":{"29":{"position":[[840,9]]}},"keywords":{}}],["directori",{"_index":69,"title":{},"content":{"6":{"position":[[87,9]]},"38":{"position":[[102,9]]}},"keywords":{}}],["discret",{"_index":694,"title":{},"content":{"50":{"position":[[674,9]]}},"keywords":{}}],["discuss",{"_index":548,"title":{},"content":{"48":{"position":[[14,9]]}},"keywords":{}}],["display",{"_index":88,"title":{},"content":{"6":{"position":[[456,8]]}},"keywords":{}}],["disposit",{"_index":631,"title":{},"content":{"49":{"position":[[1302,11]]}},"keywords":{}}],["distinct",{"_index":686,"title":{},"content":{"50":{"position":[[417,8]]}},"keywords":{}}],["distribut",{"_index":872,"title":{},"content":{"73":{"position":[[239,11]]}},"keywords":{}}],["district",{"_index":574,"title":{},"content":{"48":{"position":[[678,8]]}},"keywords":{}}],["divis",{"_index":688,"title":{},"content":{"50":{"position":[[436,8]]}},"keywords":{}}],["doc",{"_index":167,"title":{"17":{"position":[[12,4]]},"21":{"position":[[7,4]]},"22":{"position":[[9,4]]},"26":{"position":[[18,4]]}},"content":{"22":{"position":[[83,4],[173,4],[332,4]]},"23":{"position":[[239,4]]},"24":{"position":[[34,4]]},"27":{"position":[[53,4]]}},"keywords":{}}],["doc.md",{"_index":403,"title":{},"content":{"36":{"position":[[70,6]]}},"keywords":{}}],["docs/curr",{"_index":175,"title":{},"content":{"17":{"position":[[96,13]]}},"keywords":{}}],["docs/current/intro.md",{"_index":177,"title":{},"content":{"17":{"position":[[161,21],[229,21]]}},"keywords":{}}],["docs/hello.md",{"_index":214,"title":{},"content":{"26":{"position":[[27,14],[43,13]]},"27":{"position":[[126,13]]}},"keywords":{}}],["docs/intro.md",{"_index":83,"title":{},"content":{"6":{"position":[[374,13]]},"17":{"position":[[10,13],[113,13]]}},"keywords":{}}],["docs:vers",{"_index":196,"title":{},"content":{"22":{"position":[[60,12]]}},"keywords":{}}],["docscurr",{"_index":201,"title":{},"content":{"22":{"position":[[255,11]]}},"keywords":{}}],["document",{"_index":213,"title":{"25":{"position":[[9,8]]},"32":{"position":[[0,14]]}},"content":{"26":{"position":[[95,11],[115,8]]},"27":{"position":[[227,11],[451,10]]},"32":{"position":[[26,11]]},"36":{"position":[[10,9],[105,8],[136,8]]},"41":{"position":[[218,13]]},"44":{"position":[[19,13]]},"49":{"position":[[1788,8]]},"82":{"position":[[79,9],[193,9],[1234,8],[1328,8]]},"91":{"position":[[472,13]]},"92":{"position":[[403,13]]},"93":{"position":[[217,13]]},"94":{"position":[[235,13]]},"95":{"position":[[209,13]]},"96":{"position":[[148,14]]},"97":{"position":[[233,13]]},"98":{"position":[[100,13]]},"99":{"position":[[614,13]]},"100":{"position":[[253,13],[530,14]]},"101":{"position":[[476,13]]},"102":{"position":[[275,13]]},"103":{"position":[[184,13]]}},"keywords":{}}],["documentationmodifi",{"_index":5,"title":{},"content":{"1":{"position":[[19,19]]}},"keywords":{}}],["docusauru",{"_index":19,"title":{},"content":{"1":{"position":[[203,10],[242,10]]},"3":{"position":[[45,10]]},"5":{"position":[[16,10],[395,11]]},"6":{"position":[[159,10]]},"8":{"position":[[166,10],[291,10]]},"22":{"position":[[49,10]]},"26":{"position":[[84,10]]},"27":{"position":[[1,10],[216,10]]},"36":{"position":[[470,10]]},"38":{"position":[[142,12],[337,12]]},"40":{"position":[[1,10]]},"41":{"position":[[5,10]]},"44":{"position":[[580,10]]}},"keywords":{}}],["docusaurus!</h1>",{"_index":445,"title":{},"content":{"39":{"position":[[175,23],[294,23]]}},"keywords":{}}],["docusaurus.config.j",{"_index":161,"title":{},"content":{"16":{"position":[[8,20],[64,20]]},"19":{"position":[[77,20],[105,20]]},"23":{"position":[[77,20],[105,20]]}},"keywords":{}}],["docusaurus.config.jsadd",{"_index":8,"title":{},"content":{"1":{"position":[[68,23]]}},"keywords":{}}],["docusaurus.new",{"_index":31,"title":{},"content":{"3":{"position":[[73,15]]}},"keywords":{}}],["docusaurus@latest",{"_index":55,"title":{},"content":{"5":{"position":[[163,17]]}},"keywords":{}}],["domain",{"_index":592,"title":{},"content":{"48":{"position":[[1178,7]]},"51":{"position":[[1026,7]]},"82":{"position":[[328,7]]},"106":{"position":[[204,6]]}},"keywords":{}}],["done",{"_index":1046,"title":{},"content":{"100":{"position":[[494,4]]}},"keywords":{}}],["draft",{"_index":903,"title":{},"content":{"82":{"position":[[430,5]]},"83":{"position":[[1,5]]},"92":{"position":[[539,5]]},"96":{"position":[[253,5]]}},"keywords":{}}],["driven",{"_index":667,"title":{},"content":{"49":{"position":[[2328,6]]}},"keywords":{}}],["dropdown",{"_index":184,"title":{"19":{"position":[[13,9]]},"23":{"position":[[14,9]]}},"content":{"19":{"position":[[55,9],[231,8]]},"23":{"position":[[55,9],[252,8]]}},"keywords":{}}],["dublin",{"_index":765,"title":{},"content":{"51":{"position":[[1281,6]]}},"keywords":{}}],["durat",{"_index":971,"title":{},"content":{"92":{"position":[[468,8]]}},"keywords":{}}],["dure",{"_index":836,"title":{},"content":{"64":{"position":[[485,6]]},"73":{"position":[[67,6]]}},"keywords":{}}],["e",{"_index":505,"title":{},"content":{"43":{"position":[[272,1]]}},"keywords":{}}],["e.g",{"_index":600,"title":{},"content":{"49":{"position":[[298,5]]},"50":{"position":[[1031,6],[1343,6]]},"64":{"position":[[697,5]]}},"keywords":{}}],["e[ev",{"_index":496,"title":{},"content":{"43":{"position":[[170,7]]}},"keywords":{}}],["each",{"_index":318,"title":{},"content":{"30":{"position":[[739,4]]},"33":{"position":[[656,4]]},"50":{"position":[[1653,4]]},"53":{"position":[[80,4]]},"55":{"position":[[1,4]]},"56":{"position":[[1,4]]},"73":{"position":[[592,4]]}},"keywords":{}}],["easier",{"_index":303,"title":{},"content":{"30":{"position":[[371,6]]}},"keywords":{}}],["easili",{"_index":132,"title":{},"content":{"11":{"position":[[165,7]]}},"keywords":{}}],["ecma",{"_index":1071,"title":{},"content":{"106":{"position":[[1,4]]}},"keywords":{}}],["ecosystem",{"_index":274,"title":{},"content":{"29":{"position":[[591,11]]}},"keywords":{}}],["edit",{"_index":85,"title":{},"content":{"6":{"position":[[404,4]]},"8":{"position":[[487,4]]},"24":{"position":[[19,4]]}},"keywords":{}}],["editor",{"_index":63,"title":{},"content":{"5":{"position":[[317,7]]},"82":{"position":[[793,7]]}},"keywords":{}}],["effort",{"_index":295,"title":{},"content":{"30":{"position":[[158,6],[463,6]]}},"keywords":{}}],["element",{"_index":269,"title":{},"content":{"29":{"position":[[475,8]]},"33":{"position":[[601,8]]},"51":{"position":[[1096,8],[1124,9],[1380,8]]},"101":{"position":[[38,9],[67,8],[167,8],[277,8]]}},"keywords":{}}],["email",{"_index":974,"title":{"93":{"position":[[0,6]]}},"content":{"93":{"position":[[1,5],[29,5],[90,6],[150,5]]}},"keywords":{}}],["email)rfc",{"_index":1085,"title":{},"content":{"106":{"position":[[245,9]]}},"keywords":{}}],["email/smtp)rfc",{"_index":1083,"title":{},"content":{"106":{"position":[[164,15]]}},"keywords":{}}],["en",{"_index":166,"title":{},"content":{"16":{"position":[[125,5],[140,6]]}},"keywords":{}}],["enabl",{"_index":271,"title":{},"content":{"29":{"position":[[496,6],[676,6],[797,8]]},"30":{"position":[[71,6]]},"33":{"position":[[1,6]]}},"keywords":{}}],["encod",{"_index":778,"title":{},"content":{"51":{"position":[[1667,9]]},"92":{"position":[[357,7]]},"102":{"position":[[240,9]]}},"keywords":{}}],["encount",{"_index":876,"title":{},"content":{"73":{"position":[[417,11],[732,12]]}},"keywords":{}}],["end",{"_index":502,"title":{},"content":{"43":{"position":[[245,3],[278,3]]},"50":{"position":[[353,4]]}},"keywords":{}}],["enhanc",{"_index":299,"title":{},"content":{"30":{"position":[[268,7]]}},"keywords":{}}],["ensur",{"_index":340,"title":{},"content":{"31":{"position":[[212,6]]},"102":{"position":[[179,6]]}},"keywords":{}}],["enter",{"_index":813,"title":{},"content":{"63":{"position":[[238,7]]},"64":{"position":[[1011,7]]}},"keywords":{}}],["entir",{"_index":680,"title":{},"content":{"50":{"position":[[293,6]]}},"keywords":{}}],["entiti",{"_index":576,"title":{},"content":{"48":{"position":[[721,6]]}},"keywords":{}}],["entri",{"_index":729,"title":{},"content":{"51":{"position":[[409,5]]}},"keywords":{}}],["enumer",{"_index":799,"title":{},"content":{"55":{"position":[[97,10]]}},"keywords":{}}],["equat",{"_index":1062,"title":{},"content":{"103":{"position":[[111,6]]}},"keywords":{}}],["equival",{"_index":999,"title":{},"content":{"96":{"position":[[343,10]]}},"keywords":{}}],["errata",{"_index":1089,"title":{"107":{"position":[[0,7]]}},"content":{},"keywords":{}}],["essenti",{"_index":635,"title":{},"content":{"49":{"position":[[1408,11]]}},"keywords":{}}],["establish",{"_index":565,"title":{},"content":{"48":{"position":[[441,11]]},"51":{"position":[[896,11],[1313,11]]}},"keywords":{}}],["evalu",{"_index":1057,"title":{},"content":{"102":{"position":[[101,8],[204,9]]}},"keywords":{}}],["event",{"_index":886,"title":{"75":{"position":[[0,5]]},"108":{"position":[[8,5]]}},"content":{"76":{"position":[[72,6]]},"109":{"position":[[67,5]]}},"keywords":{}}],["everyon",{"_index":324,"title":{"31":{"position":[[8,8]]}},"content":{"31":{"position":[[157,8]]}},"keywords":{}}],["evid",{"_index":282,"title":{},"content":{"29":{"position":[[727,8]]},"30":{"position":[[771,8]]}},"keywords":{}}],["exampl",{"_index":466,"title":{},"content":{"41":{"position":[[105,8]]},"51":{"position":[[704,8],[1268,8]]},"56":{"position":[[67,8]]},"68":{"position":[[1,7]]},"78":{"position":[[1,7]]},"92":{"position":[[435,9]]},"99":{"position":[[646,9]]},"101":{"position":[[508,9]]},"111":{"position":[[1,7]]}},"keywords":{}}],["exchang",{"_index":494,"title":{},"content":{"43":{"position":[[146,9]]}},"keywords":{}}],["exclusivemaximum",{"_index":1038,"title":{},"content":{"99":{"position":[[571,17]]}},"keywords":{}}],["execut",{"_index":503,"title":{},"content":{"43":{"position":[[258,9]]}},"keywords":{}}],["exist",{"_index":207,"title":{"24":{"position":[[10,8]]}},"content":{},"keywords":{}}],["expand",{"_index":625,"title":{},"content":{"49":{"position":[[1133,6]]}},"keywords":{}}],["expect",{"_index":899,"title":{},"content":{"82":{"position":[[157,12],[244,8],[1206,8]]},"100":{"position":[[347,8]]},"101":{"position":[[248,11],[290,9]]}},"keywords":{}}],["expert",{"_index":589,"title":{},"content":{"48":{"position":[[1111,6],[1135,6]]}},"keywords":{}}],["expert."",{"_index":855,"title":{},"content":{"68":{"position":[[141,14]]},"111":{"position":[[364,14]]}},"keywords":{}}],["explicitli",{"_index":225,"title":{},"content":{"27":{"position":[[284,10]]},"82":{"position":[[124,10]]}},"keywords":{}}],["export",{"_index":143,"title":{},"content":{"13":{"position":[[137,6]]},"16":{"position":[[85,6]]},"19":{"position":[[126,6]]},"23":{"position":[[126,6]]},"27":{"position":[[324,6]]},"44":{"position":[[106,6]]}},"keywords":{}}],["express",{"_index":1000,"title":{"98":{"position":[[8,11]]}},"content":{"96":{"position":[[377,10],[498,10]]},"98":{"position":[[9,11]]}},"keywords":{}}],["expressionpattern",{"_index":954,"title":{},"content":{"91":{"position":[[291,18]]}},"keywords":{}}],["extend",{"_index":1013,"title":{},"content":{"96":{"position":[[715,7]]}},"keywords":{}}],["extens",{"_index":949,"title":{},"content":{"91":{"position":[[156,9]]},"100":{"position":[[243,9]]}},"keywords":{}}],["f",{"_index":506,"title":{},"content":{"43":{"position":[[274,1]]}},"keywords":{}}],["f[aggreg",{"_index":499,"title":{},"content":{"43":{"position":[[202,14]]}},"keywords":{}}],["f]{12}$/i",{"_index":1008,"title":{},"content":{"96":{"position":[[606,9]]}},"keywords":{}}],["f]{4",{"_index":1007,"title":{},"content":{"96":{"position":[[570,5],[582,5],[594,5]]}},"keywords":{}}],["f]{8",{"_index":1006,"title":{},"content":{"96":{"position":[[558,5]]}},"keywords":{}}],["fabric",{"_index":833,"title":{},"content":{"64":{"position":[[442,6]]}},"keywords":{}}],["facebook",{"_index":536,"title":{},"content":{"44":{"position":[[608,8]]}},"keywords":{}}],["facilit",{"_index":564,"title":{},"content":{"48":{"position":[[426,11],[842,12]]},"49":{"position":[[1259,11]]}},"keywords":{}}],["fals",{"_index":1056,"title":{},"content":{"102":{"position":[[66,6],[134,6]]}},"keywords":{}}],["featur",{"_index":398,"title":{"35":{"position":[[9,8]]}},"content":{"40":{"position":[[102,7],[197,7]]}},"keywords":{}}],["feedback",{"_index":339,"title":{},"content":{"31":{"position":[[200,8]]}},"keywords":{}}],["feel",{"_index":118,"title":{},"content":{"8":{"position":[[458,4]]}},"keywords":{}}],["fff",{"_index":521,"title":{},"content":{"44":{"position":[[230,7]]}},"keywords":{}}],["field",{"_index":417,"title":{},"content":{"36":{"position":[[504,6]]},"82":{"position":[[681,5]]}},"keywords":{}}],["file",{"_index":92,"title":{},"content":{"8":{"position":[[10,4]]},"10":{"position":[[61,5]]},"13":{"position":[[10,4]]},"14":{"position":[[10,4]]},"17":{"position":[[24,4]]},"19":{"position":[[98,5]]},"23":{"position":[[98,5]]},"26":{"position":[[19,4]]},"37":{"position":[[67,4]]},"38":{"position":[[235,4],[318,5]]},"51":{"position":[[1681,4]]}},"keywords":{}}],["filenam",{"_index":413,"title":{},"content":{"36":{"position":[[419,8]]}},"keywords":{}}],["filesystem",{"_index":792,"title":{},"content":{"51":{"position":[[2006,11]]}},"keywords":{}}],["final",{"_index":632,"title":{},"content":{"49":{"position":[[1318,5]]}},"keywords":{}}],["first",{"_index":91,"title":{"8":{"position":[[12,5]]},"13":{"position":[[12,5]]},"14":{"position":[[12,5]]},"26":{"position":[[12,5]]}},"content":{"8":{"position":[[446,5]]},"26":{"position":[[76,7]]},"27":{"position":[[208,7]]},"33":{"position":[[382,5]]},"49":{"position":[[1525,5]]},"102":{"position":[[225,5]]}},"keywords":{}}],["flexibl",{"_index":286,"title":{},"content":{"29":{"position":[[806,11]]}},"keywords":{}}],["float",{"_index":1026,"title":{},"content":{"99":{"position":[[13,8],[154,8],[244,8]]}},"keywords":{}}],["flowchart",{"_index":482,"title":{"43":{"position":[[0,10]]}},"content":{},"keywords":{}}],["fm",{"_index":750,"title":{},"content":{"51":{"position":[[853,2]]}},"keywords":{}}],["focu",{"_index":390,"title":{},"content":{"33":{"position":[[807,5]]}},"keywords":{}}],["focus",{"_index":566,"title":{},"content":{"48":{"position":[[464,7]]}},"keywords":{}}],["folder",{"_index":129,"title":{},"content":{"10":{"position":[[94,7]]},"11":{"position":[[64,6],[142,6]]},"17":{"position":[[44,7]]},"22":{"position":[[88,6]]},"24":{"position":[[59,7]]},"27":{"position":[[58,7]]}},"keywords":{}}],["follow",{"_index":464,"title":{},"content":{"41":{"position":[[80,9]]},"47":{"position":[[5,9]]},"49":{"position":[[2368,9]]},"50":{"position":[[1538,9]]},"51":{"position":[[5,9]]},"73":{"position":[[392,9]]},"82":{"position":[[378,9]]}},"keywords":{}}],["footer",{"_index":10,"title":{},"content":{"1":{"position":[[103,6]]}},"keywords":{}}],["form",{"_index":619,"title":{},"content":{"49":{"position":[[997,6],[2136,4]]}},"keywords":{}}],["form(",{"_index":611,"title":{},"content":{"49":{"position":[[623,7]]}},"keywords":{}}],["formal",{"_index":608,"title":{},"content":{"49":{"position":[[548,6],[1181,6]]}},"keywords":{}}],["format",{"_index":775,"title":{"81":{"position":[[0,10]]}},"content":{"51":{"position":[[1598,6],[1609,6],[1686,6],[1758,7],[1858,7]]},"73":{"position":[[169,6],[349,7],[402,7],[521,9]]},"91":{"position":[[110,7],[348,6],[426,7],[528,6]]},"92":{"position":[[18,7],[71,7],[197,6],[305,7],[477,6]]},"93":{"position":[[22,6],[82,7],[139,6]]},"94":{"position":[[16,6],[77,7],[137,6]]},"95":{"position":[[28,9],[54,8]]},"96":{"position":[[41,6],[112,7],[191,6],[811,6]]},"97":{"position":[[20,6]]},"98":{"position":[[26,6]]}},"keywords":{}}],["format"",{"_index":777,"title":{},"content":{"51":{"position":[[1639,12]]}},"keywords":{}}],["found",{"_index":418,"title":{},"content":{"36":{"position":[[518,5]]},"100":{"position":[[506,5]]}},"keywords":{}}],["foundat",{"_index":265,"title":{},"content":{"29":{"position":[[423,12]]}},"keywords":{}}],["fr",{"_index":164,"title":{},"content":{"16":{"position":[[52,2],[147,6]]},"18":{"position":[[66,2]]},"20":{"position":[[67,2]]}},"keywords":{}}],["free",{"_index":119,"title":{},"content":{"8":{"position":[[463,4]]},"11":{"position":[[177,4]]},"82":{"position":[[671,4]]}},"keywords":{}}],["french",{"_index":178,"title":{},"content":{"17":{"position":[[254,7]]},"18":{"position":[[24,6]]}},"keywords":{}}],["front",{"_index":399,"title":{"36":{"position":[[0,5]]}},"content":{"36":{"position":[[52,5],[491,5]]}},"keywords":{}}],["full",{"_index":826,"title":{},"content":{"64":{"position":[[245,4]]},"86":{"position":[[255,4]]}},"keywords":{}}],["function",{"_index":145,"title":{},"content":{"13":{"position":[[152,8]]},"39":{"position":[[122,8],[241,8]]}},"keywords":{}}],["fundament",{"_index":720,"title":{},"content":{"51":{"position":[[179,11]]}},"keywords":{}}],["further",{"_index":916,"title":{},"content":{"82":{"position":[[815,7]]},"96":{"position":[[839,7]]}},"keywords":{}}],["g",{"_index":507,"title":{},"content":{"43":{"position":[[276,1]]}},"keywords":{}}],["g[/further",{"_index":491,"title":{},"content":{"43":{"position":[[99,10]]}},"keywords":{}}],["gain",{"_index":370,"title":{},"content":{"33":{"position":[[169,4]]}},"keywords":{}}],["gap",{"_index":369,"title":{},"content":{"33":{"position":[[163,5]]}},"keywords":{}}],["gener",{"_index":44,"title":{"5":{"position":[[0,8]]}},"content":{"5":{"position":[[1,8]]},"10":{"position":[[71,9]]},"50":{"position":[[1140,7]]},"51":{"position":[[103,8]]}},"keywords":{}}],["get",{"_index":25,"title":{"3":{"position":[[0,7]]},"28":{"position":[[0,7]]},"31":{"position":[[0,7]]}},"content":{"18":{"position":[[142,7]]},"49":{"position":[[698,7]]}},"keywords":{}}],["given",{"_index":585,"title":{},"content":{"48":{"position":[[1025,5]]}},"keywords":{}}],["global",{"_index":735,"title":{},"content":{"51":{"position":[[521,6]]}},"keywords":{}}],["go",{"_index":696,"title":{},"content":{"50":{"position":[[788,2]]},"64":{"position":[[495,5]]}},"keywords":{}}],["goal",{"_index":358,"title":{"33":{"position":[[0,6]]}},"content":{"33":{"position":[[426,4]]}},"keywords":{}}],["good",{"_index":900,"title":{},"content":{"82":{"position":[[224,4]]}},"keywords":{}}],["govern",{"_index":347,"title":{"105":{"position":[[0,10]]}},"content":{"32":{"position":[[38,10]]},"48":{"position":[[640,10],[938,11],[953,10]]},"73":{"position":[[95,11],[289,10]]}},"keywords":{}}],["governance.develop",{"_index":337,"title":{},"content":{"31":{"position":[[117,18]]}},"keywords":{}}],["grant",{"_index":616,"title":{},"content":{"49":{"position":[[875,8],[1073,6],[1803,6]]}},"keywords":{}}],["graph",{"_index":460,"title":{"41":{"position":[[8,7]]}},"content":{"42":{"position":[[12,5]]},"43":{"position":[[12,5]]}},"keywords":{}}],["green",{"_index":535,"title":{},"content":{"44":{"position":[[591,5]]}},"keywords":{}}],["green</highlight>",{"_index":532,"title":{},"content":{"44":{"position":[[457,23]]}},"keywords":{}}],["greet",{"_index":98,"title":{},"content":{"8":{"position":[[88,9],[105,10],[394,11]]}},"keywords":{}}],["greetings.md",{"_index":96,"title":{},"content":{"8":{"position":[[34,13],[65,12]]}},"keywords":{}}],["group",{"_index":327,"title":{},"content":{"31":{"position":[[18,5]]},"48":{"position":[[57,5],[157,5],[576,5]]},"51":{"position":[[1110,5]]},"73":{"position":[[597,5]]},"85":{"position":[[43,8]]}},"keywords":{}}],["gt",{"_index":489,"title":{},"content":{"43":{"position":[[74,4],[94,4]]},"44":{"position":[[151,5],[289,5],[360,6]]}},"keywords":{}}],["gt;b",{"_index":477,"title":{},"content":{"42":{"position":[[24,5]]}},"keywords":{}}],["gt;c",{"_index":478,"title":{},"content":{"42":{"position":[[33,5]]}},"keywords":{}}],["gt;d",{"_index":480,"title":{},"content":{"42":{"position":[[42,5],[51,5]]}},"keywords":{}}],["gt;|get",{"_index":485,"title":{},"content":{"43":{"position":[[31,8]]}},"keywords":{}}],["gt;|one",{"_index":492,"title":{},"content":{"43":{"position":[[123,11]]}},"keywords":{}}],["gt;|three",{"_index":498,"title":{},"content":{"43":{"position":[[190,11]]}},"keywords":{}}],["gt;|two",{"_index":495,"title":{},"content":{"43":{"position":[[160,9]]}},"keywords":{}}],["guid",{"_index":136,"title":{},"content":{"11":{"position":[[222,7]]}},"keywords":{}}],["guidelin",{"_index":313,"title":{},"content":{"30":{"position":[[609,10]]}},"keywords":{}}],["happen",{"_index":629,"title":{},"content":{"49":{"position":[[1233,9]]},"50":{"position":[[1505,9]]}},"keywords":{}}],["harmon",{"_index":365,"title":{},"content":{"33":{"position":[[115,10],[299,13]]}},"keywords":{}}],["head",{"_index":406,"title":{},"content":{"36":{"position":[[212,7]]},"51":{"position":[[1171,8]]}},"keywords":{}}],["health",{"_index":1069,"title":{},"content":{"105":{"position":[[85,6]]}},"keywords":{}}],["hello",{"_index":215,"title":{},"content":{"26":{"position":[[59,5]]},"27":{"position":[[191,5],[369,8]]}},"keywords":{}}],["hellodocusauru",{"_index":443,"title":{},"content":{"39":{"position":[[131,17],[250,17]]}},"keywords":{}}],["help",{"_index":314,"title":{},"content":{"30":{"position":[[625,4]]}},"keywords":{}}],["here",{"_index":419,"title":{},"content":{"36":{"position":[[524,5]]},"49":{"position":[[529,4]]},"91":{"position":[[434,5]]}},"keywords":{}}],["hi",{"_index":222,"title":{},"content":{"27":{"position":[[159,5]]}},"keywords":{}}],["high",{"_index":669,"title":{},"content":{"49":{"position":[[2397,4]]},"50":{"position":[[1567,4]]}},"keywords":{}}],["higher",{"_index":697,"title":{},"content":{"50":{"position":[[870,6]]}},"keywords":{}}],["highest",{"_index":684,"title":{},"content":{"50":{"position":[[358,7]]}},"keywords":{}}],["highlight",{"_index":440,"title":{},"content":{"39":{"position":[[48,13]]},"44":{"position":[[119,9]]}},"keywords":{}}],["hl7",{"_index":847,"title":{},"content":{"66":{"position":[[113,3]]},"76":{"position":[[148,3]]},"109":{"position":[[132,3]]}},"keywords":{}}],["hostnam",{"_index":982,"title":{"94":{"position":[[0,9]]}},"content":{"94":{"position":[[1,9],[23,8],[85,9],[148,8]]}},"keywords":{}}],["hosts)rfc",{"_index":1075,"title":{},"content":{"106":{"position":[[45,9]]}},"keywords":{}}],["hous",{"_index":601,"title":{},"content":{"49":{"position":[[306,7]]}},"keywords":{}}],["http://localhost:3000",{"_index":81,"title":{},"content":{"6":{"position":[[344,23]]},"11":{"position":[[88,23]]}},"keywords":{}}],["http://localhost:3000/blog/greet",{"_index":125,"title":{},"content":{"8":{"position":[[561,37]]}},"keywords":{}}],["http://localhost:3000/doc",{"_index":200,"title":{},"content":{"22":{"position":[[207,27]]}},"keywords":{}}],["http://localhost:3000/docs/hello",{"_index":216,"title":{},"content":{"26":{"position":[[144,33]]}},"keywords":{}}],["http://localhost:3000/docs/hellodocs/hello.md",{"_index":211,"title":{},"content":{"24":{"position":[[112,45]]}},"keywords":{}}],["http://localhost:3000/docs/next",{"_index":202,"title":{},"content":{"22":{"position":[[270,32]]}},"keywords":{}}],["http://localhost:3000/docs/next/hello",{"_index":212,"title":{},"content":{"24":{"position":[[166,37]]}},"keywords":{}}],["http://localhost:3000/fr",{"_index":180,"title":{},"content":{"18":{"position":[[108,25]]}},"keywords":{}}],["http://localhost:3000/mi",{"_index":155,"title":{},"content":{"13":{"position":[[330,24]]},"14":{"position":[[156,24]]}},"keywords":{}}],["https://github.com/joelmarcey",{"_index":108,"title":{},"content":{"8":{"position":[[184,29]]}},"keywords":{}}],["https://github.com/joelmarcey.png",{"_index":110,"title":{},"content":{"8":{"position":[[225,33]]}},"keywords":{}}],["https://github.com/slorber.png",{"_index":115,"title":{},"content":{"8":{"position":[[357,30]]}},"keywords":{}}],["https://json",{"_index":907,"title":{},"content":{"82":{"position":[[513,12]]}},"keywords":{}}],["https://sebastienlorber.com",{"_index":114,"title":{},"content":{"8":{"position":[[318,27]]}},"keywords":{}}],["i18n",{"_index":159,"title":{"16":{"position":[[10,5]]}},"content":{"16":{"position":[[102,5]]}},"keywords":{}}],["i18n/fr",{"_index":169,"title":{},"content":{"17":{"position":[[36,7]]}},"keywords":{}}],["i18n/fr/docusauru",{"_index":172,"title":{},"content":{"17":{"position":[[62,18],[127,18],[195,18]]}},"keywords":{}}],["id",{"_index":404,"title":{"73":{"position":[[7,2]]}},"content":{"36":{"position":[[81,3]]},"63":{"position":[[8,2]]},"64":{"position":[[785,2]]},"73":{"position":[[8,3],[345,3],[518,2],[662,2]]}},"keywords":{}}],["ideal",{"_index":911,"title":{},"content":{"82":{"position":[[607,7]]}},"keywords":{}}],["identif",{"_index":501,"title":{},"content":{"43":{"position":[[226,14]]},"63":{"position":[[354,14]]},"64":{"position":[[1143,14]]}},"keywords":{}}],["identifi",{"_index":368,"title":{"62":{"position":[[7,10]]},"96":{"position":[[9,11]]}},"content":{"33":{"position":[[154,8]]},"49":{"position":[[410,11]]},"51":{"position":[[319,11],[331,11],[465,11],[1810,12]]},"63":{"position":[[45,11],[95,10],[330,11],[416,11]]},"64":{"position":[[16,10],[94,10],[822,11],[868,10],[1103,11],[1205,11]]},"96":{"position":[[20,11]]},"97":{"position":[[83,10]]}},"keywords":{}}],["idmay",{"_index":411,"title":{},"content":{"36":{"position":[[369,5]]}},"keywords":{}}],["idn",{"_index":979,"title":{},"content":{"93":{"position":[[146,3]]},"94":{"position":[[144,3]]}},"keywords":{}}],["ie",{"_index":280,"title":{},"content":{"29":{"position":[[712,4]]}},"keywords":{}}],["imag",{"_index":428,"title":{"38":{"position":[[0,7]]}},"content":{"38":{"position":[[18,6],[81,6],[204,6],[289,6]]}},"keywords":{}}],["image_url",{"_index":109,"title":{},"content":{"8":{"position":[[214,10],[346,10]]}},"keywords":{}}],["immedi",{"_index":30,"title":{},"content":{"3":{"position":[[56,11]]}},"keywords":{}}],["impact",{"_index":571,"title":{},"content":{"48":{"position":[[595,8]]}},"keywords":{}}],["implement",{"_index":353,"title":{"60":{"position":[[0,14]]},"69":{"position":[[0,14]]},"72":{"position":[[0,14]]},"79":{"position":[[0,14]]},"88":{"position":[[0,14]]},"112":{"position":[[0,14]]}},"content":{"32":{"position":[[142,12]]},"82":{"position":[[904,14]]}},"keywords":{}}],["impli",{"_index":932,"title":{},"content":{"82":{"position":[[1407,7]]}},"keywords":{}}],["import",{"_index":140,"title":{},"content":{"13":{"position":[[74,6],[101,6]]}},"keywords":{}}],["improv",{"_index":285,"title":{},"content":{"29":{"position":[[778,12]]},"30":{"position":[[294,7]]},"33":{"position":[[213,11]]}},"keywords":{}}],["includ",{"_index":191,"title":{},"content":{"20":{"position":[[94,7]]},"29":{"position":[[272,9]]},"30":{"position":[[216,8]]},"49":{"position":[[1004,9]]},"51":{"position":[[564,7],[1866,7],[2077,7]]},"73":{"position":[[182,8],[435,8]]}},"keywords":{}}],["inclus",{"_index":1045,"title":{},"content":{"100":{"position":[[404,9]]}},"keywords":{}}],["inconsist",{"_index":258,"title":{},"content":{"29":{"position":[[299,15]]}},"keywords":{}}],["indic",{"_index":636,"title":{},"content":{"49":{"position":[[1420,9]]}},"keywords":{}}],["individu",{"_index":758,"title":{},"content":{"51":{"position":[[1080,10]]}},"keywords":{}}],["industri",{"_index":748,"title":{},"content":{"51":{"position":[[805,8]]}},"keywords":{}}],["infer",{"_index":1030,"title":{},"content":{"99":{"position":[[208,5]]}},"keywords":{}}],["info",{"_index":415,"title":{},"content":{"36":{"position":[[443,4]]},"96":{"position":[[680,4]]}},"keywords":{}}],["inform",{"_index":248,"title":{},"content":{"29":{"position":[[159,11]]},"30":{"position":[[407,11]]},"33":{"position":[[246,11],[613,11]]},"51":{"position":[[228,11],[1523,12]]},"82":{"position":[[713,11]]},"86":{"position":[[305,11]]},"91":{"position":[[39,12]]},"105":{"position":[[92,11]]}},"keywords":{}}],["init",{"_index":54,"title":{},"content":{"5":{"position":[[158,4]]}},"keywords":{}}],["initi",{"_index":766,"title":{},"content":{"51":{"position":[[1302,10]]}},"keywords":{}}],["input",{"_index":586,"title":{},"content":{"48":{"position":[[1058,5]]}},"keywords":{}}],["inrfc",{"_index":958,"title":{},"content":{"92":{"position":[[47,5]]},"93":{"position":[[56,5]]},"94":{"position":[[53,5]]}},"keywords":{}}],["insid",{"_index":512,"title":{},"content":{"44":{"position":[[88,6]]}},"keywords":{}}],["insight",{"_index":371,"title":{},"content":{"33":{"position":[[174,8]]}},"keywords":{}}],["inspection"",{"_index":712,"title":{},"content":{"50":{"position":[[1390,18]]}},"keywords":{}}],["inspir",{"_index":18,"title":{},"content":{"1":{"position":[[183,12]]},"66":{"position":[[96,11]]},"76":{"position":[[131,11]]},"109":{"position":[[115,11]]}},"keywords":{}}],["instal",{"_index":38,"title":{},"content":{"4":{"position":[[37,10]]},"5":{"position":[[343,8]]}},"keywords":{}}],["instanc",{"_index":461,"title":{},"content":{"41":{"position":[[16,8]]},"109":{"position":[[44,8]]}},"keywords":{}}],["instead",{"_index":998,"title":{},"content":{"96":{"position":[[291,8]]}},"keywords":{}}],["intak",{"_index":249,"title":{},"content":{"29":{"position":[[176,6]]}},"keywords":{}}],["integ",{"_index":724,"title":{},"content":{"51":{"position":[[292,8]]},"64":{"position":[[770,7],[1124,7]]},"73":{"position":[[791,7]]},"99":{"position":[[141,8],[233,7],[370,7],[422,7],[460,8]]}},"keywords":{}}],["integr",{"_index":61,"title":{},"content":{"5":{"position":[[284,10]]},"29":{"position":[[357,9]]},"30":{"position":[[490,12]]}},"keywords":{}}],["intellig",{"_index":279,"title":{},"content":{"29":{"position":[[699,12]]}},"keywords":{}}],["intend",{"_index":733,"title":{},"content":{"51":{"position":[[481,8],[583,8]]},"66":{"position":[[19,8]]},"76":{"position":[[19,8]]},"85":{"position":[[19,8]]},"109":{"position":[[19,8]]}},"keywords":{}}],["intent",{"_index":598,"title":{},"content":{"49":{"position":[[171,6],[206,6],[640,6],[753,6]]},"82":{"position":[[995,6]]}},"keywords":{}}],["interact",{"_index":510,"title":{},"content":{"44":{"position":[[38,11]]},"49":{"position":[[2482,8]]}},"keywords":{}}],["interchang",{"_index":394,"title":{},"content":{"33":{"position":[[867,11]]}},"keywords":{}}],["interest",{"_index":329,"title":{},"content":{"31":{"position":[[35,10]]},"48":{"position":[[546,10]]},"49":{"position":[[1097,8]]}},"keywords":{}}],["interfac",{"_index":787,"title":{},"content":{"51":{"position":[[1925,9]]}},"keywords":{}}],["intern",{"_index":966,"title":{},"content":{"92":{"position":[[158,10]]}},"keywords":{}}],["internation",{"_index":978,"title":{},"content":{"93":{"position":[[121,17]]},"94":{"position":[[119,17]]},"106":{"position":[[185,18],[226,18]]}},"keywords":{}}],["internet",{"_index":1074,"title":{},"content":{"106":{"position":[[35,9]]}},"keywords":{}}],["interoper",{"_index":273,"title":{},"content":{"29":{"position":[[525,16]]},"30":{"position":[[109,17],[302,17]]},"33":{"position":[[533,16],[694,16]]}},"keywords":{}}],["intro",{"_index":24,"title":{"2":{"position":[[9,5]]}},"content":{"27":{"position":[[360,8]]}},"keywords":{}}],["involv",{"_index":21,"title":{},"content":{"1":{"position":[[226,8]]},"30":{"position":[[165,8]]}},"keywords":{}}],["ip",{"_index":987,"title":{"95":{"position":[[0,2]]}},"content":{"95":{"position":[[1,2]]}},"keywords":{}}],["ipv4",{"_index":988,"title":{},"content":{"95":{"position":[[41,4],[66,4]]}},"keywords":{}}],["ipv4)rfc",{"_index":1077,"title":{},"content":{"106":{"position":[[75,9]]}},"keywords":{}}],["ipv6",{"_index":989,"title":{},"content":{"95":{"position":[[49,4],[126,4]]}},"keywords":{}}],["ipv6)rfc",{"_index":1076,"title":{},"content":{"106":{"position":[[60,9]]}},"keywords":{}}],["iso",{"_index":741,"title":{},"content":{"51":{"position":[[735,3]]},"91":{"position":[[173,3]]}},"keywords":{}}],["issu",{"_index":562,"title":{},"content":{"48":{"position":[[370,5]]}},"keywords":{}}],["it'",{"_index":607,"title":{},"content":{"49":{"position":[[537,4]]}},"keywords":{}}],["item",{"_index":11,"title":{},"content":{"1":{"position":[[110,5]]},"19":{"position":[[168,6]]},"23":{"position":[[168,6]]},"27":{"position":[[417,6]]},"101":{"position":[[185,5]]}},"keywords":{}}],["joel",{"_index":102,"title":{},"content":{"8":{"position":[[133,4]]}},"keywords":{}}],["json",{"_index":774,"title":{"82":{"position":[[0,4]]}},"content":{"51":{"position":[[1585,4],[1874,5]]},"73":{"position":[[786,4]]},"82":{"position":[[3,4],[63,4],[209,4],[339,4],[447,4]]},"91":{"position":[[460,4]]},"92":{"position":[[555,4]]},"96":{"position":[[269,4]]},"99":{"position":[[93,4]]},"100":{"position":[[55,5]]},"101":{"position":[[48,4]]},"102":{"position":[[166,4]]},"107":{"position":[[1,4]]}},"keywords":{}}],["json)json",{"_index":937,"title":{},"content":{"83":{"position":[[18,10]]}},"keywords":{}}],["json)rfc",{"_index":1087,"title":{},"content":{"106":{"position":[[283,9]]}},"keywords":{}}],["jsx",{"_index":441,"title":{},"content":{"39":{"position":[[63,6]]}},"keywords":{}}],["jurisdict",{"_index":578,"title":{},"content":{"48":{"position":[[802,13]]},"49":{"position":[[1632,13]]}},"keywords":{}}],["key",{"_index":385,"title":{},"content":{"33":{"position":[[597,3]]},"86":{"position":[[82,3]]},"100":{"position":[[32,3],[65,3],[101,3],[307,3]]}},"keywords":{}}],["keyword",{"_index":1047,"title":{},"content":{"101":{"position":[[191,8],[220,7]]}},"keywords":{}}],["kind",{"_index":797,"title":{},"content":{"55":{"position":[[54,4]]},"56":{"position":[[6,4]]},"101":{"position":[[268,5]]}},"keywords":{}}],["known",{"_index":961,"title":{},"content":{"92":{"position":[[93,5]]}},"keywords":{}}],["label",{"_index":219,"title":{},"content":{"27":{"position":[[105,5],[398,6]]},"44":{"position":[[340,5]]},"51":{"position":[[1069,6]]}},"keywords":{}}],["lack",{"_index":1027,"title":{},"content":{"99":{"position":[[98,5]]}},"keywords":{}}],["land",{"_index":652,"title":{},"content":{"49":{"position":[[1863,4]]},"63":{"position":[[18,4],[122,4],[273,4],[395,4]]},"64":{"position":[[317,4],[371,4],[795,4],[895,4],[1046,4],[1184,4]]}},"keywords":{}}],["languag",{"_index":186,"title":{},"content":{"19":{"position":[[31,10]]},"29":{"position":[[384,9]]},"31":{"position":[[145,8]]},"33":{"position":[[679,10]]},"102":{"position":[[87,9]]}},"keywords":{}}],["larger",{"_index":699,"title":{},"content":{"50":{"position":[[1004,6],[1133,6]]}},"keywords":{}}],["layout",{"_index":141,"title":{},"content":{"13":{"position":[[108,6]]}},"keywords":{}}],["layoutadd",{"_index":15,"title":{},"content":{"1":{"position":[[156,9]]}},"keywords":{}}],["lead",{"_index":883,"title":{},"content":{"73":{"position":[[686,7]]}},"keywords":{}}],["leas",{"_index":622,"title":{},"content":{"49":{"position":[[1041,6]]}},"keywords":{}}],["left",{"_index":879,"title":{},"content":{"73":{"position":[[536,4]]}},"keywords":{}}],["legal",{"_index":827,"title":{},"content":{"64":{"position":[[250,5]]}},"keywords":{}}],["legal_descript",{"_index":820,"title":{},"content":{"64":{"position":[[119,17]]}},"keywords":{}}],["legisl",{"_index":561,"title":{},"content":{"48":{"position":[[355,11]]}},"keywords":{}}],["less",{"_index":997,"title":{},"content":{"96":{"position":[[93,4]]}},"keywords":{}}],["let'",{"_index":424,"title":{},"content":{"37":{"position":[[80,5],[132,5],[196,5]]}},"keywords":{}}],["level",{"_index":377,"title":{},"content":{"33":{"position":[[326,5]]},"49":{"position":[[2402,5]]},"50":{"position":[[366,5],[877,5],[1572,5]]},"53":{"position":[[100,6]]},"82":{"position":[[436,5]]},"99":{"position":[[430,5]]}},"keywords":{}}],["lexicon",{"_index":545,"title":{},"content":{"47":{"position":[[106,7]]}},"keywords":{}}],["licens",{"_index":620,"title":{},"content":{"49":{"position":[[1024,8]]}},"keywords":{}}],["lieu",{"_index":1034,"title":{},"content":{"99":{"position":[[358,4]]}},"keywords":{}}],["lifecycl",{"_index":675,"title":{},"content":{"50":{"position":[[136,12],[263,9],[454,10],[616,10]]},"55":{"position":[[62,9]]},"56":{"position":[[14,9]]}},"keywords":{}}],["line",{"_index":86,"title":{},"content":{"6":{"position":[[414,6]]},"46":{"position":[[20,4]]}},"keywords":{}}],["link",{"_index":420,"title":{"37":{"position":[[0,6]]}},"content":{"37":{"position":[[18,5]]}},"keywords":{}}],["linkingcoordin",{"_index":380,"title":{},"content":{"33":{"position":[[363,18]]}},"keywords":{}}],["links](./hello.md",{"_index":408,"title":{},"content":{"36":{"position":[[239,19]]}},"keywords":{}}],["list",{"_index":349,"title":{},"content":{"32":{"position":[[77,4]]},"36":{"position":[[459,7]]},"51":{"position":[[666,5]]}},"keywords":{}}],["load",{"_index":803,"title":{},"content":{"59":{"position":[[14,7]]},"71":{"position":[[21,7]]},"87":{"position":[[21,7]]}},"keywords":{}}],["lob",{"_index":395,"title":{},"content":{"33":{"position":[[915,3]]},"49":{"position":[[1252,3]]}},"keywords":{}}],["local",{"_index":76,"title":{"18":{"position":[[11,9]]},"19":{"position":[[6,6]]},"20":{"position":[[11,9]]}},"content":{"6":{"position":[[267,7]]},"11":{"position":[[28,8]]},"16":{"position":[[55,7],[131,8]]},"18":{"position":[[31,7],[59,6],[76,9],[224,6]]},"19":{"position":[[48,6],[224,6]]},"20":{"position":[[32,7],[60,6],[110,7]]},"48":{"position":[[634,5],[932,5]]},"51":{"position":[[512,5]]}},"keywords":{}}],["localedropdown",{"_index":188,"title":{},"content":{"19":{"position":[[185,17]]}},"keywords":{}}],["locat",{"_index":642,"title":{},"content":{"49":{"position":[[1620,8]]}},"keywords":{}}],["location(",{"_index":615,"title":{},"content":{"49":{"position":[[806,11]]}},"keywords":{}}],["logo](./img/docusaurus.png",{"_index":437,"title":{},"content":{"38":{"position":[[350,27]]}},"keywords":{}}],["logo](/img/docusaurus.png",{"_index":432,"title":{},"content":{"38":{"position":[[155,26]]}},"keywords":{}}],["loos",{"_index":846,"title":{},"content":{"66":{"position":[[81,7]]},"76":{"position":[[116,7]]},"109":{"position":[[100,7]]}},"keywords":{}}],["looser",{"_index":1048,"title":{},"content":{"101":{"position":[[241,6]]}},"keywords":{}}],["lorber",{"_index":112,"title":{},"content":{"8":{"position":[[277,6]]}},"keywords":{}}],["lr",{"_index":483,"title":{},"content":{"43":{"position":[[18,2]]}},"keywords":{}}],["lt;/layout>",{"_index":154,"title":{},"content":{"13":{"position":[[276,15]]}},"keywords":{}}],["lt;/span>",{"_index":529,"title":{},"content":{"44":{"position":[[378,13]]}},"keywords":{}}],["lt;h1>hello",{"_index":444,"title":{},"content":{"39":{"position":[[158,16],[277,16]]}},"keywords":{}}],["lt;h1>mi",{"_index":150,"title":{},"content":{"13":{"position":[[201,12]]}},"keywords":{}}],["lt;highlight",{"_index":530,"title":{},"content":{"44":{"position":[[403,13],[491,13]]}},"keywords":{}}],["lt;layout>",{"_index":149,"title":{},"content":{"13":{"position":[[186,14]]}},"keywords":{}}],["lt;p>thi",{"_index":152,"title":{},"content":{"13":{"position":[[236,13]]}},"keywords":{}}],["lt;span",{"_index":516,"title":{},"content":{"44":{"position":[[159,8]]}},"keywords":{}}],["ltsa",{"_index":649,"title":{},"content":{"49":{"position":[[1759,4]]}},"keywords":{}}],["machin",{"_index":475,"title":{"42":{"position":[[6,8]]}},"content":{"51":{"position":[[1052,7]]}},"keywords":{}}],["machines.titl",{"_index":923,"title":{},"content":{"82":{"position":[[974,14]]}},"keywords":{}}],["made",{"_index":117,"title":{},"content":{"8":{"position":[[436,4]]},"49":{"position":[[1344,4]]}},"keywords":{}}],["mail",{"_index":1065,"title":{},"content":{"105":{"position":[[25,8]]}},"keywords":{}}],["main",{"_index":290,"title":{},"content":{"30":{"position":[[5,4]]},"47":{"position":[[33,4]]}},"keywords":{}}],["maintain",{"_index":113,"title":{},"content":{"8":{"position":[[302,10]]},"33":{"position":[[826,13]]},"49":{"position":[[1283,8]]},"64":{"position":[[466,10]]}},"keywords":{}}],["make",{"_index":302,"title":{},"content":{"30":{"position":[[363,4]]},"44":{"position":[[9,4]]},"73":{"position":[[328,5]]}},"keywords":{}}],["maker",{"_index":557,"title":{},"content":{"48":{"position":[[245,5],[272,5]]},"49":{"position":[[1373,5]]}},"keywords":{}}],["manag",{"_index":193,"title":{"21":{"position":[[0,6]]}},"content":{},"keywords":{}}],["mandatori",{"_index":296,"title":{},"content":{"30":{"position":[[189,9]]}},"keywords":{}}],["mani",{"_index":243,"title":{},"content":{"29":{"position":[[119,4],[259,4]]},"49":{"position":[[1206,4]]}},"keywords":{}}],["map",{"_index":670,"title":{"54":{"position":[[8,4]]}},"content":{"49":{"position":[[2419,3]]},"50":{"position":[[1098,3],[1443,7],[1593,3]]},"100":{"position":[[42,9]]}},"keywords":{}}],["marcey",{"_index":103,"title":{},"content":{"8":{"position":[[138,6]]}},"keywords":{}}],["markdown",{"_index":156,"title":{"14":{"position":[[18,8]]},"35":{"position":[[0,8]]}},"content":{"14":{"position":[[31,8],[63,8],[85,8],[109,8],[181,8]]},"26":{"position":[[10,8]]},"36":{"position":[[1,8],[203,8],[220,8],[283,8]]},"37":{"position":[[9,8]]},"38":{"position":[[9,8],[309,8]]},"39":{"position":[[1,8]]},"44":{"position":[[95,9]]}},"keywords":{}}],["matter",{"_index":400,"title":{"36":{"position":[[6,7]]}},"content":{"36":{"position":[[58,7],[497,6]]},"48":{"position":[[1104,6],[1128,6]]},"68":{"position":[[134,6]]},"111":{"position":[[357,6]]}},"keywords":{}}],["max",{"_index":807,"title":{},"content":{"63":{"position":[[70,3]]}},"keywords":{}}],["maxcontain",{"_index":1050,"title":{},"content":{"101":{"position":[[358,12]]}},"keywords":{}}],["maxim",{"_index":1011,"title":{},"content":{"96":{"position":[[656,8]]}},"keywords":{}}],["maximum,exclusiveminimum",{"_index":1037,"title":{},"content":{"99":{"position":[[542,24]]}},"keywords":{}}],["maxitem",{"_index":1052,"title":{},"content":{"101":{"position":[[384,8]]}},"keywords":{}}],["maxlength",{"_index":953,"title":{},"content":{"91":{"position":[[266,9]]}},"keywords":{}}],["mdx",{"_index":508,"title":{"44":{"position":[[0,3]]}},"content":{"44":{"position":[[1,3]]}},"keywords":{}}],["measur",{"_index":664,"title":{},"content":{"49":{"position":[[2292,11]]}},"keywords":{}}],["media",{"_index":779,"title":{},"content":{"51":{"position":[[1696,5],[1799,5]]}},"keywords":{}}],["member",{"_index":693,"title":{},"content":{"50":{"position":[[595,6],[827,6]]}},"keywords":{}}],["mermaid",{"_index":459,"title":{"41":{"position":[[0,7]]}},"content":{"41":{"position":[[67,8],[141,8]]},"42":{"position":[[1,10]]},"43":{"position":[[1,10]]}},"keywords":{}}],["metadata",{"_index":218,"title":{},"content":{"27":{"position":[[71,8]]},"36":{"position":[[25,8]]},"51":{"position":[[1293,8],[1371,8]]}},"keywords":{}}],["microservic",{"_index":355,"title":{},"content":{"32":{"position":[[191,14]]}},"keywords":{}}],["mincontain",{"_index":1049,"title":{},"content":{"101":{"position":[[345,12]]}},"keywords":{}}],["minimum",{"_index":409,"title":{},"content":{"36":{"position":[[313,7]]},"64":{"position":[[36,7]]},"99":{"position":[[533,8]]}},"keywords":{}}],["ministri",{"_index":560,"title":{},"content":{"48":{"position":[[346,8],[922,9]]}},"keywords":{}}],["minitem",{"_index":1051,"title":{},"content":{"101":{"position":[[371,8]]}},"keywords":{}}],["minlength",{"_index":952,"title":{},"content":{"91":{"position":[[255,10]]}},"keywords":{}}],["mkdir",{"_index":170,"title":{},"content":{"17":{"position":[[53,5]]}},"keywords":{}}],["model",{"_index":769,"title":{},"content":{"51":{"position":[[1447,5]]}},"keywords":{}}],["modern",{"_index":653,"title":{},"content":{"49":{"position":[[1941,14]]}},"keywords":{}}],["modifi",{"_index":160,"title":{},"content":{"16":{"position":[[1,6]]},"19":{"position":[[66,6]]},"23":{"position":[[66,6]]}},"keywords":{}}],["more",{"_index":467,"title":{},"content":{"41":{"position":[[154,4],[236,4]]},"44":{"position":[[33,4]]},"49":{"position":[[277,4],[776,4],[2048,4]]},"91":{"position":[[490,4]]},"92":{"position":[[421,4]]},"93":{"position":[[235,4]]},"94":{"position":[[253,4]]},"95":{"position":[[227,4]]},"97":{"position":[[251,4]]},"98":{"position":[[118,4]]},"99":{"position":[[632,4]]},"100":{"position":[[457,4]]},"101":{"position":[[494,4]]},"102":{"position":[[293,4]]},"103":{"position":[[202,4]]}},"keywords":{}}],["ms",{"_index":333,"title":{},"content":{"31":{"position":[[80,2]]}},"keywords":{}}],["much",{"_index":122,"title":{},"content":{"8":{"position":[[505,4]]}},"keywords":{}}],["muddl",{"_index":614,"title":{},"content":{"49":{"position":[[706,7]]}},"keywords":{}}],["multipleof",{"_index":1036,"title":{},"content":{"99":{"position":[[521,11]]}},"keywords":{}}],["municip",{"_index":572,"title":{},"content":{"48":{"position":[[653,12]]}},"keywords":{}}],["my_doc_id",{"_index":405,"title":{},"content":{"36":{"position":[[85,9]]}},"keywords":{}}],["myreactpag",{"_index":146,"title":{},"content":{"13":{"position":[[161,13]]}},"keywords":{}}],["naic",{"_index":749,"title":{},"content":{"51":{"position":[[836,7]]}},"keywords":{}}],["name",{"_index":101,"title":{},"content":{"8":{"position":[[127,5],[261,5]]},"64":{"position":[[160,4],[617,4]]},"67":{"position":[[1,4]]},"77":{"position":[[1,4]]},"86":{"position":[[1,4],[202,4]]},"100":{"position":[[311,8]]},"110":{"position":[[1,4]]}},"keywords":{}}],["names)rfc",{"_index":1084,"title":{},"content":{"106":{"position":[[211,9]]}},"keywords":{}}],["namespac",{"_index":756,"title":{},"content":{"51":{"position":[[1013,9]]}},"keywords":{}}],["nation",{"_index":381,"title":{},"content":{"33":{"position":[[388,7]]}},"keywords":{}}],["natur",{"_index":235,"title":{},"content":{"29":{"position":[[39,7],[545,7]]}},"keywords":{}}],["navbar",{"_index":9,"title":{},"content":{"1":{"position":[[92,6]]},"19":{"position":[[158,7],[260,7]]},"23":{"position":[[158,7],[277,7]]}},"keywords":{}}],["navig",{"_index":74,"title":{},"content":{"6":{"position":[[191,8]]},"19":{"position":[[4,8]]},"23":{"position":[[4,8]]},"48":{"position":[[816,9]]}},"keywords":{}}],["necessari",{"_index":64,"title":{},"content":{"5":{"position":[[356,9]]}},"keywords":{}}],["need",{"_index":33,"title":{"4":{"position":[[12,5]]}},"content":{"5":{"position":[[383,4]]},"6":{"position":[[183,4]]},"33":{"position":[[630,4]]},"49":{"position":[[1125,4],[1553,5]]}},"keywords":{}}],["nest",{"_index":1044,"title":{},"content":{"100":{"position":[[207,9]]}},"keywords":{}}],["network",{"_index":793,"title":{},"content":{"51":{"position":[[2042,8]]}},"keywords":{}}],["new",{"_index":28,"title":{"5":{"position":[[11,3]]}},"content":{"3":{"position":[[27,3]]},"5":{"position":[[12,3]]},"8":{"position":[[527,3]]},"13":{"position":[[301,3]]},"14":{"position":[[127,3]]},"26":{"position":[[111,3]]}},"keywords":{}}],["newer",{"_index":1015,"title":{},"content":{"96":{"position":[[872,5]]}},"keywords":{}}],["newli",{"_index":73,"title":{},"content":{"6":{"position":[[145,5]]}},"keywords":{}}],["next",{"_index":2,"title":{"1":{"position":[[7,6]]}},"content":{},"keywords":{}}],["nine",{"_index":805,"title":{},"content":{"63":{"position":[[59,4]]},"64":{"position":[[836,4]]},"73":{"position":[[553,4]]}},"keywords":{}}],["node.j",{"_index":34,"title":{},"content":{"4":{"position":[[1,7],[48,8]]}},"keywords":{}}],["nomenclature.$com",{"_index":913,"title":{},"content":{"82":{"position":[[645,21]]}},"keywords":{}}],["normal",{"_index":906,"title":{},"content":{"82":{"position":[[501,8]]}},"keywords":{}}],["north",{"_index":746,"title":{},"content":{"51":{"position":[[790,5]]}},"keywords":{}}],["note",{"_index":657,"title":{"60":{"position":[[15,6]]},"69":{"position":[[15,6]]},"72":{"position":[[15,6]]},"79":{"position":[[15,6]]},"88":{"position":[[15,6]]},"112":{"position":[[15,6]]}},"content":{"49":{"position":[[2176,4]]},"92":{"position":[[454,4]]},"96":{"position":[[172,4]]},"99":{"position":[[83,4]]},"103":{"position":[[87,4]]}},"keywords":{}}],["notic",{"_index":584,"title":{},"content":{"48":{"position":[[985,7]]}},"keywords":{}}],["now",{"_index":123,"title":{},"content":{"8":{"position":[[544,3]]},"11":{"position":[[74,3],[121,3]]},"13":{"position":[[313,3]]},"14":{"position":[[139,3]]},"19":{"position":[[240,3]]},"22":{"position":[[178,3]]},"26":{"position":[[127,3]]}},"keywords":{}}],["now"",{"_index":715,"title":{},"content":{"50":{"position":[[1515,9]]}},"keywords":{}}],["npm",{"_index":53,"title":{},"content":{"5":{"position":[[154,3]]},"6":{"position":[[44,3],[225,3]]},"10":{"position":[[34,3]]},"11":{"position":[[38,3]]},"18":{"position":[[40,3]]},"20":{"position":[[41,3],[128,3]]},"22":{"position":[[41,3]]}},"keywords":{}}],["nr",{"_index":238,"title":{},"content":{"29":{"position":[[63,5]]}},"keywords":{}}],["nrm",{"_index":298,"title":{},"content":{"30":{"position":[[242,3]]}},"keywords":{}}],["nuanc",{"_index":917,"title":{},"content":{"82":{"position":[[823,7]]}},"keywords":{}}],["null",{"_index":1061,"title":{"103":{"position":[[0,5]]}},"content":{"103":{"position":[[1,4],[81,5],[97,4]]}},"keywords":{}}],["number",{"_index":665,"title":{},"content":{"49":{"position":[[2311,6]]},"63":{"position":[[74,6],[192,7],[369,6]]},"64":{"position":[[847,6],[965,7],[1158,6]]},"73":{"position":[[564,7],[670,7]]},"99":{"position":[[28,7],[448,7]]}},"keywords":{}}],["numbertyp",{"_index":1033,"title":{},"content":{"99":{"position":[[344,10]]}},"keywords":{}}],["numer",{"_index":865,"title":{"99":{"position":[[0,8]]}},"content":{"73":{"position":[[26,7],[636,9]]},"99":{"position":[[68,7]]}},"keywords":{}}],["obdc",{"_index":794,"title":{},"content":{"51":{"position":[[2085,4]]}},"keywords":{}}],["object",{"_index":289,"title":{"30":{"position":[[0,11]]},"100":{"position":[[0,7]]}},"content":{"30":{"position":[[10,9]]},"50":{"position":[[544,10]]},"100":{"position":[[1,7],[168,7],[281,7]]}},"keywords":{}}],["obtain",{"_index":612,"title":{},"content":{"49":{"position":[[650,6]]}},"keywords":{}}],["obviou",{"_index":912,"title":{},"content":{"82":{"position":[[626,7]]}},"keywords":{}}],["occur",{"_index":682,"title":{},"content":{"50":{"position":[[329,5]]}},"keywords":{}}],["offici",{"_index":4,"title":{},"content":{"1":{"position":[[10,8]]},"49":{"position":[[1779,8]]}},"keywords":{}}],["omit",{"_index":414,"title":{},"content":{"36":{"position":[[433,8]]}},"keywords":{}}],["on",{"_index":182,"title":{},"content":{"18":{"position":[[220,3]]},"49":{"position":[[270,3],[769,3],[2041,3]]},"51":{"position":[[163,3]]},"64":{"position":[[77,3],[570,4]]}},"keywords":{}}],["onc",{"_index":192,"title":{},"content":{"20":{"position":[[121,5]]}},"keywords":{}}],["onclick",{"_index":526,"title":{},"content":{"44":{"position":[[277,11]]}},"keywords":{}}],["open",{"_index":82,"title":{},"content":{"6":{"position":[[369,4]]}},"keywords":{}}],["oper",{"_index":837,"title":{},"content":{"64":{"position":[[501,11]]}},"keywords":{}}],["opportun",{"_index":373,"title":{},"content":{"33":{"position":[[195,13]]},"48":{"position":[[1035,11]]}},"keywords":{}}],["option",{"_index":453,"title":{},"content":{"40":{"position":[[110,6],[205,6]]},"49":{"position":[[2025,8]]},"91":{"position":[[210,10]]},"99":{"position":[[476,10]]}},"keywords":{}}],["optional.typ",{"_index":933,"title":{},"content":{"82":{"position":[[1421,13]]}},"keywords":{}}],["order",{"_index":72,"title":{},"content":{"6":{"position":[[121,5]]},"50":{"position":[[173,7],[638,8],[684,7],[750,5],[858,8]]},"51":{"position":[[78,7]]},"96":{"position":[[619,5]]},"101":{"position":[[30,7]]}},"keywords":{}}],["organ",{"_index":551,"title":{},"content":{"48":{"position":[[69,12],[166,12]]}},"keywords":{}}],["other.unlock",{"_index":319,"title":{},"content":{"30":{"position":[[744,12]]}},"keywords":{}}],["otherwis",{"_index":965,"title":{},"content":{"92":{"position":[[118,9]]}},"keywords":{}}],["out",{"_index":651,"title":{},"content":{"49":{"position":[[1830,3]]},"82":{"position":[[701,3]]}},"keywords":{}}],["outcom",{"_index":633,"title":{},"content":{"49":{"position":[[1336,7]]},"50":{"position":[[558,9]]}},"keywords":{}}],["outlin",{"_index":542,"title":{},"content":{"47":{"position":[[21,7]]},"49":{"position":[[14,8],[2386,8]]},"50":{"position":[[14,8],[1556,8]]},"91":{"position":[[399,7]]},"100":{"position":[[267,9]]}},"keywords":{}}],["output",{"_index":655,"title":{},"content":{"49":{"position":[[2117,6]]}},"keywords":{}}],["over",{"_index":241,"title":{},"content":{"29":{"position":[[84,4]]},"49":{"position":[[1156,4]]},"82":{"position":[[942,4]]}},"keywords":{}}],["overview",{"_index":926,"title":{},"content":{"82":{"position":[[1130,8]]}},"keywords":{}}],["ownership",{"_index":840,"title":{},"content":{"64":{"position":[[710,10]]}},"keywords":{}}],["p",{"_index":171,"title":{},"content":{"17":{"position":[[60,1]]}},"keywords":{}}],["pad",{"_index":522,"title":{},"content":{"44":{"position":[[238,8]]},"73":{"position":[[191,6],[444,6],[546,6]]}},"keywords":{}}],["page",{"_index":84,"title":{"12":{"position":[[9,4]]},"13":{"position":[[24,5]]},"14":{"position":[[27,5]]},"31":{"position":[[29,5]]}},"content":{"6":{"position":[[394,5]]},"13":{"position":[[305,4],[361,5]]},"14":{"position":[[94,4],[118,4],[131,4],[190,5]]},"18":{"position":[[158,4]]},"36":{"position":[[292,5]]},"37":{"position":[[222,5]]},"49":{"position":[[1764,4]]}},"keywords":{}}],["page</h1>",{"_index":151,"title":{},"content":{"13":{"position":[[220,15]]}},"keywords":{}}],["page</p>",{"_index":153,"title":{},"content":{"13":{"position":[[261,14]]}},"keywords":{}}],["page.j",{"_index":139,"title":{},"content":{"13":{"position":[[37,8],[66,7]]}},"keywords":{}}],["page.md",{"_index":157,"title":{},"content":{"14":{"position":[[40,8],[72,7]]}},"keywords":{}}],["page](./create_a_page.md",{"_index":426,"title":{},"content":{"37":{"position":[[159,26]]}},"keywords":{}}],["page](/create_a_pag",{"_index":425,"title":{},"content":{"37":{"position":[[107,22]]}},"keywords":{}}],["pair",{"_index":1041,"title":{},"content":{"100":{"position":[[111,4]]}},"keywords":{}}],["paramet",{"_index":1016,"title":{},"content":{"97":{"position":[[108,10]]}},"keywords":{}}],["parcel",{"_index":577,"title":{"62":{"position":[[0,6]]},"73":{"position":[[0,6]]}},"content":{"48":{"position":[[782,6]]},"49":{"position":[[781,7],[931,6],[1566,6],[1646,7],[1878,6]]},"63":{"position":[[1,6],[38,6],[108,6],[203,7],[323,6],[347,6],[409,6]]},"64":{"position":[[9,6],[87,6],[275,6],[610,6],[677,6],[778,6],[815,6],[881,6],[976,7],[1096,6],[1136,6],[1198,6]]},"73":{"position":[[1,6],[338,6],[511,6],[655,6]]},"74":{"position":[[33,7]]}},"keywords":{}}],["parcel_id_format",{"_index":877,"title":{},"content":{"73":{"position":[[473,19]]}},"keywords":{}}],["parcel_nam",{"_index":821,"title":{},"content":{"64":{"position":[[146,12],[513,11]]}},"keywords":{}}],["parcelmap",{"_index":866,"title":{},"content":{"73":{"position":[[46,9]]}},"keywords":{}}],["park",{"_index":844,"title":{},"content":{"64":{"position":[[755,5]]}},"keywords":{}}],["pars",{"_index":922,"title":{},"content":{"82":{"position":[[964,6]]}},"keywords":{}}],["part",{"_index":674,"title":{},"content":{"49":{"position":[[2505,5]]}},"keywords":{}}],["parti",{"_index":570,"title":{},"content":{"48":{"position":[[557,5]]}},"keywords":{}}],["particular",{"_index":755,"title":{},"content":{"51":{"position":[[1002,10]]}},"keywords":{}}],["particularli",{"_index":434,"title":{},"content":{"38":{"position":[[257,12]]}},"keywords":{}}],["pass",{"_index":678,"title":{},"content":{"50":{"position":[[247,4]]}},"keywords":{}}],["path",{"_index":422,"title":{},"content":{"37":{"position":[[49,5],[72,6]]},"38":{"position":[[62,5]]},"82":{"position":[[595,4]]}},"keywords":{}}],["pattern",{"_index":1001,"title":{},"content":{"96":{"position":[[388,8]]}},"keywords":{}}],["peopl",{"_index":328,"title":{},"content":{"31":{"position":[[28,6]]}},"keywords":{}}],["perform",{"_index":366,"title":{},"content":{"33":{"position":[[134,7]]},"48":{"position":[[207,7]]},"49":{"position":[[839,10],[898,7]]}},"keywords":{}}],["period",{"_index":687,"title":{},"content":{"50":{"position":[[426,6]]}},"keywords":{}}],["perman",{"_index":814,"title":{},"content":{"63":{"position":[[313,9]]},"64":{"position":[[1086,9]]}},"keywords":{}}],["permiss",{"_index":617,"title":{},"content":{"49":{"position":[[884,10],[1810,10]]}},"keywords":{}}],["permit",{"_index":231,"title":{},"content":{"29":{"position":[[1,10],[93,6],[224,10],[332,10],[562,10],[656,11],[759,10],[853,11]]},"30":{"position":[[246,10],[432,10]]},"32":{"position":[[89,10]]},"33":{"position":[[499,10]]},"49":{"position":[[433,7],[1016,7],[1294,7],[1769,6],[1930,10]]},"85":{"position":[[63,7]]},"86":{"position":[[99,7],[151,10]]},"101":{"position":[[53,7]]}},"keywords":{}}],["person",{"_index":550,"title":{},"content":{"48":{"position":[[49,7],[149,7],[292,7],[565,7]]}},"keywords":{}}],["phase",{"_index":677,"title":{},"content":{"50":{"position":[[195,6],[409,5],[467,5],[570,5],[839,6],[899,5]]}},"keywords":{}}],["pi",{"_index":291,"title":{},"content":{"30":{"position":[[23,4]]},"31":{"position":[[70,5]]},"32":{"position":[[222,4]]},"33":{"position":[[421,4]]},"48":{"position":[[115,5]]},"49":{"position":[[108,5]]},"82":{"position":[[476,5]]}},"keywords":{}}],["pid",{"_index":812,"title":{"73":{"position":[[10,6]]}},"content":{"63":{"position":[[188,3],[302,3]]},"64":{"position":[[553,4],[600,4],[649,3],[761,3],[961,3],[1075,3]]},"73":{"position":[[134,4]]}},"keywords":{}}],["pid.a",{"_index":819,"title":{},"content":{"64":{"position":[[81,5]]}},"keywords":{}}],["piec",{"_index":722,"title":{},"content":{"51":{"position":[[242,5],[1513,6]]}},"keywords":{}}],["pies/docs/concept/process_tracking"",{"_index":862,"title":{},"content":{"68":{"position":[[306,41]]},"111":{"position":[[529,41]]}},"keywords":{}}],["pin",{"_index":815,"title":{},"content":{"63":{"position":[[376,5]]},"64":{"position":[[61,3],[589,3],[629,4],[657,4],[1115,3],[1165,5]]}},"keywords":{}}],["plan",{"_index":352,"title":{},"content":{"32":{"position":[[133,4]]}},"keywords":{}}],["platform",{"_index":393,"title":{},"content":{"33":{"position":[[849,8]]}},"keywords":{}}],["play",{"_index":120,"title":{},"content":{"8":{"position":[[471,4]]}},"keywords":{}}],["pleas",{"_index":956,"title":{},"content":{"91":{"position":[[440,6]]}},"keywords":{}}],["plugin",{"_index":173,"title":{},"content":{"17":{"position":[[81,6],[146,6],[214,6]]}},"keywords":{}}],["pmbc",{"_index":835,"title":{},"content":{"64":{"position":[[480,4]]},"73":{"position":[[59,7],[78,4],[251,4]]}},"keywords":{}}],["point",{"_index":363,"title":{},"content":{"33":{"position":[[76,5]]},"99":{"position":[[22,5],[163,5],[253,5],[307,6]]}},"keywords":{}}],["pointer",{"_index":525,"title":{},"content":{"44":{"position":[[263,10]]}},"keywords":{}}],["polici",{"_index":283,"title":{},"content":{"29":{"position":[[740,6]]},"30":{"position":[[786,6]]},"48":{"position":[[1233,7]]}},"keywords":{}}],["polygon",{"_index":640,"title":{},"content":{"49":{"position":[[1575,7]]}},"keywords":{}}],["popul",{"_index":831,"title":{},"content":{"64":{"position":[[410,9]]}},"keywords":{}}],["posit",{"_index":220,"title":{},"content":{"27":{"position":[[115,9]]}},"keywords":{}}],["possibl",{"_index":208,"title":{},"content":{"24":{"position":[[7,8]]},"27":{"position":[[252,8]]},"99":{"position":[[187,8]]},"102":{"position":[[41,8]]}},"keywords":{}}],["post",{"_index":90,"title":{"7":{"position":[[14,4]]},"8":{"position":[[18,5]]}},"content":{"8":{"position":[[452,5],[497,4],[536,4]]}},"keywords":{}}],["potenti",{"_index":320,"title":{},"content":{"30":{"position":[[757,9],[812,9]]}},"keywords":{}}],["powershel",{"_index":59,"title":{},"content":{"5":{"position":[[249,11]]}},"keywords":{}}],["practic",{"_index":346,"title":{},"content":{"32":{"position":[[12,9]]}},"keywords":{}}],["precis",{"_index":1035,"title":{},"content":{"99":{"position":[[436,10]]}},"keywords":{}}],["predefin",{"_index":788,"title":{},"content":{"51":{"position":[[1946,10]]}},"keywords":{}}],["presenc",{"_index":1032,"title":{},"content":{"99":{"position":[[285,8]]}},"keywords":{}}],["present",{"_index":868,"title":{},"content":{"73":{"position":[[156,12]]},"82":{"position":[[1312,7]]}},"keywords":{}}],["primarili",{"_index":828,"title":{},"content":{"64":{"position":[[289,9]]}},"keywords":{}}],["primer",{"_index":896,"title":{"82":{"position":[[12,7]]}},"content":{},"keywords":{}}],["primit",{"_index":719,"title":{"90":{"position":[[0,9]]}},"content":{"51":{"position":[[140,9]]},"73":{"position":[[799,9]]},"82":{"position":[[1446,9]]}},"keywords":{}}],["principl",{"_index":721,"title":{},"content":{"51":{"position":[[191,10]]}},"keywords":{}}],["prior",{"_index":1060,"title":{},"content":{"102":{"position":[[231,5]]}},"keywords":{}}],["process",{"_index":246,"title":{"50":{"position":[[0,7]]},"52":{"position":[[0,7]]},"65":{"position":[[0,7]]},"108":{"position":[[0,7]]}},"content":{"29":{"position":[[141,7],[770,7]]},"30":{"position":[[333,9]]},"33":{"position":[[278,10]]},"48":{"position":[[1208,10]]},"49":{"position":[[555,7],[2518,8]]},"50":{"position":[[110,8],[309,10],[775,7],[1011,7],[1616,7]]},"53":{"position":[[14,7]]},"66":{"position":[[71,8]]},"109":{"position":[[90,8]]}},"keywords":{}}],["product",{"_index":127,"title":{},"content":{"10":{"position":[[21,11]]},"11":{"position":[[11,10]]}},"keywords":{}}],["program",{"_index":786,"title":{},"content":{"51":{"position":[[1913,11]]}},"keywords":{}}],["progress",{"_index":309,"title":{},"content":{"30":{"position":[[559,8]]}},"keywords":{}}],["project",{"_index":50,"title":{"84":{"position":[[0,7]]}},"content":{"5":{"position":[[118,7]]},"22":{"position":[[31,8]]},"49":{"position":[[326,8],[372,8],[736,8],[2014,7]]},"86":{"position":[[120,7],[214,8],[279,8],[340,8]]}},"keywords":{}}],["project_descript",{"_index":942,"title":{},"content":{"86":{"position":[[223,19]]}},"keywords":{}}],["project_nam",{"_index":940,"title":{},"content":{"86":{"position":[[171,12]]}},"keywords":{}}],["prompt",{"_index":58,"title":{},"content":{"5":{"position":[[241,7]]}},"keywords":{}}],["properti",{"_index":905,"title":{},"content":{"82":{"position":[[487,8],[843,10],[1288,10],[1475,9]]},"91":{"position":[[236,10]]},"99":{"position":[[502,10]]},"100":{"position":[[356,11]]}},"keywords":{}}],["propon",{"_index":311,"title":{},"content":{"30":{"position":[[580,11]]},"48":{"position":[[855,9]]}},"keywords":{}}],["protocol",{"_index":789,"title":{},"content":{"51":{"position":[[1957,8]]}},"keywords":{}}],["provid",{"_index":281,"title":{},"content":{"29":{"position":[[717,9]]},"30":{"position":[[540,7]]},"33":{"position":[[105,7]]},"47":{"position":[[89,7]]},"48":{"position":[[728,9],[1050,7]]},"50":{"position":[[846,8]]},"51":{"position":[[343,7]]},"82":{"position":[[1114,7]]},"97":{"position":[[40,7]]},"101":{"position":[[231,7]]}},"keywords":{}}],["provinc",{"_index":575,"title":{},"content":{"48":{"position":[[698,9]]},"49":{"position":[[949,8],[1896,8]]}},"keywords":{}}],["provinci",{"_index":582,"title":{},"content":{"48":{"position":[[911,10]]},"73":{"position":[[278,10]]}},"keywords":{}}],["publish",{"_index":293,"title":{},"content":{"30":{"position":[[44,9]]}},"keywords":{}}],["purpos",{"_index":230,"title":{"29":{"position":[[0,8]]}},"content":{"29":{"position":[[625,7]]}},"keywords":{}}],["qualiti",{"_index":257,"title":{},"content":{"29":{"position":[[287,7]]},"30":{"position":[[90,7]]}},"keywords":{}}],["qualitydata",{"_index":374,"title":{},"content":{"33":{"position":[[230,11]]}},"keywords":{}}],["quantifi",{"_index":663,"title":{},"content":{"49":{"position":[[2279,12]]}},"keywords":{}}],["queue",{"_index":668,"title":{},"content":{"49":{"position":[[2355,6]]}},"keywords":{}}],["quick",{"_index":465,"title":{},"content":{"41":{"position":[[99,5]]},"82":{"position":[[1124,5]]}},"keywords":{}}],["quot;2017",{"_index":890,"title":{},"content":{"78":{"position":[[32,10],[87,10],[148,10]]},"111":{"position":[[53,10],[108,10],[169,10]]}},"keywords":{}}],["quot;approved"",{"_index":702,"title":{},"content":{"50":{"position":[[1061,22]]}},"keywords":{}}],["quot;ca"",{"_index":740,"title":{},"content":{"51":{"position":[[713,14]]}},"keywords":{}}],["quot;class"",{"_index":850,"title":{},"content":{"68":{"position":[[11,18]]},"111":{"position":[[234,18]]}},"keywords":{}}],["quot;description"",{"_index":852,"title":{},"content":{"68":{"position":[[50,24]]},"111":{"position":[[273,24]]}},"keywords":{}}],["quot;docsversiondropdown"",{"_index":205,"title":{},"content":{"23":{"position":[[185,32]]}},"keywords":{}}],["quot;end"",{"_index":893,"title":{},"content":{"78":{"position":[[70,16]]},"111":{"position":[[91,16]]}},"keywords":{}}],["quot;event"",{"_index":1090,"title":{},"content":{"111":{"position":[[11,18]]}},"keywords":{}}],["quot;http://bcgov.github.io/nr",{"_index":861,"title":{},"content":{"68":{"position":[[274,31]]},"111":{"position":[[497,31]]}},"keywords":{}}],["quot;parent_class"",{"_index":856,"title":{},"content":{"68":{"position":[[156,25]]},"111":{"position":[[379,25]]}},"keywords":{}}],["quot;parent_concept"",{"_index":858,"title":{},"content":{"68":{"position":[[201,27]]},"111":{"position":[[424,27]]}},"keywords":{}}],["quot;pend",{"_index":709,"title":{},"content":{"50":{"position":[[1350,13]]},"68":{"position":[[367,13]]},"111":{"position":[[590,13]]}},"keywords":{}}],["quot;process"",{"_index":1091,"title":{},"content":{"111":{"position":[[211,20]]}},"keywords":{}}],["quot;property"",{"_index":1043,"title":{},"content":{"100":{"position":[[143,21]]}},"keywords":{}}],["quot;publisher."",{"_index":768,"title":{},"content":{"51":{"position":[[1394,22]]}},"keywords":{}}],["quot;seri",{"_index":776,"title":{},"content":{"51":{"position":[[1619,19]]}},"keywords":{}}],["quot;stage"",{"_index":857,"title":{},"content":{"68":{"position":[[182,18]]},"111":{"position":[[405,18]]}},"keywords":{}}],["quot;start"",{"_index":889,"title":{},"content":{"78":{"position":[[13,18],[129,18]]},"111":{"position":[[34,18],[150,18]]}},"keywords":{}}],["quot;status"",{"_index":851,"title":{},"content":{"68":{"position":[[30,19]]},"111":{"position":[[253,19]]}},"keywords":{}}],["quot;submiss",{"_index":658,"title":{},"content":{"49":{"position":[[2186,17]]}},"keywords":{}}],["quot;submitted"",{"_index":701,"title":{},"content":{"50":{"position":[[1038,22]]}},"keywords":{}}],["quot;system"",{"_index":860,"title":{},"content":{"68":{"position":[[254,19]]},"111":{"position":[[477,19]]}},"keywords":{}}],["quot;th",{"_index":853,"title":{},"content":{"68":{"position":[[75,9]]},"111":{"position":[[298,9]]}},"keywords":{}}],["quot;und",{"_index":711,"title":{},"content":{"50":{"position":[[1378,11]]}},"keywords":{}}],["quot;underreview"",{"_index":859,"title":{},"content":{"68":{"position":[[229,24]]},"111":{"position":[[452,24]]}},"keywords":{}}],["quot;value"",{"_index":863,"title":{},"content":{"68":{"position":[[348,18]]},"111":{"position":[[571,18]]}},"keywords":{}}],["quot;what",{"_index":714,"title":{},"content":{"50":{"position":[[1491,10]]}},"keywords":{}}],["quot;wher",{"_index":703,"title":{},"content":{"50":{"position":[[1148,11]]}},"keywords":{}}],["quot;why"",{"_index":685,"title":{},"content":{"50":{"position":[[393,15]]}},"keywords":{}}],["radio",{"_index":751,"title":{},"content":{"51":{"position":[[856,5]]}},"keywords":{}}],["rang",{"_index":470,"title":{},"content":{"41":{"position":[[179,5]]}},"keywords":{}}],["react",{"_index":137,"title":{"13":{"position":[[18,5]]},"44":{"position":[[8,5]]}},"content":{"13":{"position":[[31,5],[60,5],[81,5],[92,8],[214,5],[255,5],[355,5]]},"44":{"position":[[71,5]]}},"keywords":{}}],["read",{"_index":3,"title":{},"content":{"1":{"position":[[1,4]]},"11":{"position":[[201,5]]},"51":{"position":[[1970,7]]}},"keywords":{}}],["readabl",{"_index":757,"title":{},"content":{"51":{"position":[[1060,8]]}},"keywords":{}}],["reader",{"_index":915,"title":{},"content":{"82":{"position":[[781,7]]}},"keywords":{}}],["readi",{"_index":79,"title":{},"content":{"6":{"position":[[319,5]]}},"keywords":{}}],["reason",{"_index":255,"title":{},"content":{"29":{"position":[[264,7]]}},"keywords":{}}],["receiv",{"_index":583,"title":{},"content":{"48":{"position":[[976,8]]}},"keywords":{}}],["recommend",{"_index":39,"title":{},"content":{"4":{"position":[[65,11]]},"36":{"position":[[264,9]]},"99":{"position":[[326,9]]}},"keywords":{}}],["record",{"_index":829,"title":{},"content":{"64":{"position":[[299,8],[344,8]]}},"keywords":{}}],["reduc",{"_index":306,"title":{},"content":{"30":{"position":[[452,6]]}},"keywords":{}}],["refer",{"_index":430,"title":{"61":{"position":[[0,11]]},"70":{"position":[[0,11]]},"74":{"position":[[0,11]]},"80":{"position":[[0,11]]},"83":{"position":[[0,11]]},"89":{"position":[[0,11]]},"104":{"position":[[0,11]]},"113":{"position":[[0,11]]}},"content":{"38":{"position":[[71,9],[194,9]]},"51":{"position":[[370,9]]},"53":{"position":[[1,5]]},"63":{"position":[[288,6]]},"64":{"position":[[1061,6]]},"91":{"position":[[447,5]]},"92":{"position":[[378,9]]},"93":{"position":[[192,9]]},"94":{"position":[[210,9]]},"95":{"position":[[184,9]]},"99":{"position":[[589,9]]},"101":{"position":[[451,9]]},"102":{"position":[[250,9]]},"103":{"position":[[159,9]]}},"keywords":{}}],["referr",{"_index":580,"title":{},"content":{"48":{"position":[[893,8]]},"49":{"position":[[229,8]]}},"keywords":{}}],["refin",{"_index":604,"title":{},"content":{"49":{"position":[[489,8]]}},"keywords":{}}],["reform",{"_index":253,"title":{},"content":{"29":{"position":[[235,6]]}},"keywords":{}}],["regard",{"_index":634,"title":{},"content":{"49":{"position":[[1379,9]]}},"keywords":{}}],["regex",{"_index":1021,"title":{},"content":{"98":{"position":[[33,5]]}},"keywords":{}}],["region",{"_index":573,"title":{},"content":{"48":{"position":[[669,8]]}},"keywords":{}}],["regist",{"_index":804,"title":{},"content":{"63":{"position":[[29,8],[133,8],[251,10]]},"64":{"position":[[328,9],[806,8],[906,8],[1024,10]]}},"keywords":{}}],["registrar",{"_index":810,"title":{},"content":{"63":{"position":[[170,9]]},"64":{"position":[[943,9]]}},"keywords":{}}],["registri",{"_index":817,"title":{},"content":{"63":{"position":[[400,8]]},"64":{"position":[[376,9],[1189,8]]}},"keywords":{}}],["regular",{"_index":421,"title":{"98":{"position":[[0,7]]}},"content":{"37":{"position":[[1,7]]},"38":{"position":[[1,7]]},"91":{"position":[[283,7]]},"96":{"position":[[369,7],[490,7]]},"98":{"position":[[1,7]]}},"keywords":{}}],["rel",{"_index":423,"title":{},"content":{"37":{"position":[[58,8]]},"38":{"position":[[211,8]]}},"keywords":{}}],["relat",{"_index":42,"title":{},"content":{"4":{"position":[[101,7]]},"49":{"position":[[2408,10]]},"50":{"position":[[650,7],[1643,6]]},"82":{"position":[[309,7]]},"85":{"position":[[55,7],[80,7]]},"86":{"position":[[107,7]]}},"keywords":{}}],["relationship",{"_index":609,"title":{},"content":{"49":{"position":[[586,12]]},"51":{"position":[[1481,13]]},"82":{"position":[[287,13]]},"100":{"position":[[386,13]]}},"keywords":{}}],["releas",{"_index":194,"title":{},"content":{"22":{"position":[[1,7]]}},"keywords":{}}],["reli",{"_index":918,"title":{},"content":{"82":{"position":[[888,6]]}},"keywords":{}}],["reliabl",{"_index":1029,"title":{},"content":{"99":{"position":[[199,8]]}},"keywords":{}}],["reload",{"_index":87,"title":{},"content":{"6":{"position":[[430,7]]}},"keywords":{}}],["remain",{"_index":1009,"title":{},"content":{"96":{"position":[[628,6]]}},"keywords":{}}],["rephras",{"_index":648,"title":{},"content":{"49":{"position":[[1744,9]]}},"keywords":{}}],["report",{"_index":252,"title":{},"content":{"29":{"position":[[210,9]]},"33":{"position":[[95,9],[460,9]]}},"keywords":{}}],["reportingact",{"_index":378,"title":{},"content":{"33":{"position":[[332,17]]}},"keywords":{}}],["repres",{"_index":341,"title":{},"content":{"31":{"position":[[227,11]]},"49":{"position":[[70,12],[1501,11]]},"50":{"position":[[70,12],[149,10],[478,9]]},"66":{"position":[[31,9]]},"76":{"position":[[31,9]]},"85":{"position":[[31,9]]},"91":{"position":[[21,9],[89,11],[379,10]]},"92":{"position":[[35,11],[180,11]]},"93":{"position":[[44,11]]},"94":{"position":[[41,11]]},"99":{"position":[[43,11]]},"101":{"position":[[20,9]]},"102":{"position":[[22,9]]},"103":{"position":[[17,9]]},"109":{"position":[[31,9]]}},"keywords":{}}],["represent",{"_index":641,"title":{},"content":{"49":{"position":[[1583,14]]},"92":{"position":[[332,15]]}},"keywords":{}}],["request",{"_index":854,"title":{},"content":{"68":{"position":[[99,7]]},"111":{"position":[[322,7]]}},"keywords":{}}],["requir",{"_index":270,"title":{},"content":{"29":{"position":[[484,8]]},"30":{"position":[[177,9]]},"49":{"position":[[262,7],[441,8],[2204,7]]},"96":{"position":[[831,7]]},"99":{"position":[[414,7]]},"100":{"position":[[193,13],[331,8]]}},"keywords":{}}],["residentiald",{"_index":1067,"title":{},"content":{"105":{"position":[[47,15]]}},"keywords":{}}],["resolv",{"_index":1019,"title":{},"content":{"97":{"position":[[169,9]]}},"keywords":{}}],["resourc",{"_index":236,"title":{"96":{"position":[[0,8]]}},"content":{"29":{"position":[[47,8],[553,8]]},"96":{"position":[[11,8]]},"97":{"position":[[74,8]]}},"keywords":{}}],["respect",{"_index":209,"title":{},"content":{"24":{"position":[[48,10]]},"48":{"position":[[335,10]]},"49":{"position":[[1462,7]]}},"keywords":{}}],["rest",{"_index":795,"title":{},"content":{"51":{"position":[[2116,4]]}},"keywords":{}}],["result",{"_index":427,"title":{},"content":{"37":{"position":[[188,7]]}},"keywords":{}}],["return",{"_index":148,"title":{},"content":{"13":{"position":[[177,6]]},"39":{"position":[[151,6],[270,6]]}},"keywords":{}}],["review",{"_index":639,"title":{},"content":{"49":{"position":[[1559,6]]},"68":{"position":[[116,6]]},"96":{"position":[[847,6]]},"111":{"position":[[339,6]]}},"keywords":{}}],["review"",{"_index":710,"title":{},"content":{"50":{"position":[[1364,13]]},"68":{"position":[[381,12]]},"111":{"position":[[604,12]]}},"keywords":{}}],["rfc",{"_index":947,"title":{},"content":{"91":{"position":[[134,3]]},"95":{"position":[[161,3]]},"96":{"position":[[700,3],[723,3]]}},"keywords":{}}],["right",{"_index":623,"title":{},"content":{"49":{"position":[[1048,5],[1090,6]]}},"keywords":{}}],["road",{"_index":843,"title":{},"content":{"64":{"position":[[749,5]]}},"keywords":{}}],["role",{"_index":549,"title":{},"content":{"48":{"position":[[36,5],[453,4]]}},"keywords":{}}],["round",{"_index":672,"title":{},"content":{"49":{"position":[[2452,7]]}},"keywords":{}}],["rule",{"_index":336,"title":{},"content":{"31":{"position":[[102,5]]}},"keywords":{}}],["run",{"_index":51,"title":{},"content":{"5":{"position":[[136,3],[391,3]]},"6":{"position":[[1,3],[48,3],[229,3]]},"10":{"position":[[38,3]]},"11":{"position":[[42,3]]},"18":{"position":[[44,3]]},"20":{"position":[[45,3],[132,3]]},"22":{"position":[[45,3]]}},"keywords":{}}],["same",{"_index":325,"title":{"31":{"position":[[24,4]]}},"content":{"31":{"position":[[182,4]]},"64":{"position":[[541,4]]}},"keywords":{}}],["scalabl",{"_index":392,"title":{},"content":{"33":{"position":[[840,8]]}},"keywords":{}}],["scenario",{"_index":944,"title":{},"content":{"91":{"position":[[61,10]]},"99":{"position":[[392,9]]}},"keywords":{}}],["schema",{"_index":396,"title":{"34":{"position":[[0,8]]},"82":{"position":[[5,6]]}},"content":{"51":{"position":[[1417,6],[1426,6],[1465,6],[1536,7],[1590,7]]},"82":{"position":[[8,6],[214,6],[344,6],[401,7],[452,6],[583,7],[735,7],[1009,7],[1094,7]]},"83":{"position":[[29,6]]},"91":{"position":[[465,6]]},"92":{"position":[[396,6],[560,6]]},"93":{"position":[[210,6]]},"94":{"position":[[228,6]]},"95":{"position":[[202,6]]},"96":{"position":[[141,6],[274,6]]},"97":{"position":[[226,6]]},"98":{"position":[[93,6]]},"99":{"position":[[607,6]]},"100":{"position":[[423,7],[523,6]]},"101":{"position":[[469,6]]},"102":{"position":[[171,7],[268,6]]},"103":{"position":[[177,6]]},"106":{"position":[[14,6]]},"107":{"position":[[6,6]]}},"keywords":{}}],["schema.org/draft",{"_index":908,"title":{},"content":{"82":{"position":[[526,16]]}},"keywords":{}}],["schemasourc",{"_index":802,"title":{},"content":{"59":{"position":[[1,12]]}},"keywords":{}}],["schemasourceexampl",{"_index":864,"title":{},"content":{"71":{"position":[[1,19]]},"87":{"position":[[1,19]]}},"keywords":{}}],["scheme",{"_index":732,"title":{},"content":{"51":{"position":[[447,7],[691,8]]}},"keywords":{}}],["scope",{"_index":681,"title":{"63":{"position":[[0,6]]},"66":{"position":[[0,6]]},"76":{"position":[[0,6]]},"85":{"position":[[0,6]]},"109":{"position":[[0,6]]}},"content":{"50":{"position":[[300,5]]}},"keywords":{}}],["sdm",{"_index":559,"title":{},"content":{"48":{"position":[[278,5]]}},"keywords":{}}],["seamlessli",{"_index":185,"title":{},"content":{"19":{"position":[[13,10]]},"23":{"position":[[13,10]]}},"keywords":{}}],["search",{"_index":16,"title":{},"content":{"1":{"position":[[168,6]]}},"keywords":{}}],["section",{"_index":473,"title":{},"content":{"41":{"position":[[274,7]]},"48":{"position":[[6,7]]},"49":{"position":[[6,7]]},"50":{"position":[[6,7]]},"92":{"position":[[59,7]]},"93":{"position":[[68,7]]},"94":{"position":[[65,7],[193,7]]},"95":{"position":[[110,7],[171,7]]}},"keywords":{}}],["sector",{"_index":237,"title":{},"content":{"29":{"position":[[56,6]]},"30":{"position":[[354,7]]},"33":{"position":[[16,6],[319,6]]}},"keywords":{}}],["see",{"_index":332,"title":{},"content":{"31":{"position":[[76,3]]},"37":{"position":[[86,3],[138,3],[202,3]]},"73":{"position":[[300,4]]}},"keywords":{}}],["seek",{"_index":555,"title":{},"content":{"48":{"position":[[179,7]]}},"keywords":{}}],["semant",{"_index":753,"title":{},"content":{"51":{"position":[[943,8]]}},"keywords":{}}],["separ",{"_index":389,"title":{},"content":{"33":{"position":[[753,10]]}},"keywords":{}}],["sequenc",{"_index":676,"title":{},"content":{"50":{"position":[[181,10]]}},"keywords":{}}],["sequenti",{"_index":695,"title":{},"content":{"50":{"position":[[739,10]]}},"keywords":{}}],["serv",{"_index":77,"title":{},"content":{"6":{"position":[[279,6]]},"11":{"position":[[46,5],[78,6]]},"51":{"position":[[595,5]]},"82":{"position":[[105,6]]}},"keywords":{}}],["server",{"_index":66,"title":{},"content":{"6":{"position":[[21,7],[311,7]]}},"keywords":{}}],["servic",{"_index":871,"title":{},"content":{"73":{"position":[[231,7]]}},"keywords":{}}],["set",{"_index":266,"title":{"55":{"position":[[5,5]]}},"content":{"29":{"position":[[436,3]]},"31":{"position":[[1,3]]},"48":{"position":[[217,3]]},"49":{"position":[[426,3],[762,3],[2034,3]]},"50":{"position":[[498,3],[692,3]]},"76":{"position":[[96,3]]},"82":{"position":[[1179,3],[1281,3]]}},"keywords":{}}],["shall",{"_index":692,"title":{},"content":{"50":{"position":[[576,5],[808,5],[1092,5],[1430,5]]},"64":{"position":[[27,5]]},"91":{"position":[[80,5]]},"92":{"position":[[26,5],[149,5],[348,5]]},"93":{"position":[[35,5]]},"94":{"position":[[32,5]]},"95":{"position":[[83,5],[143,5]]},"96":{"position":[[313,5],[459,5]]},"100":{"position":[[69,5]]}},"keywords":{}}],["share",{"_index":344,"title":{},"content":{"32":{"position":[[1,5]]},"33":{"position":[[638,5]]}},"keywords":{}}],["shift",{"_index":284,"title":{},"content":{"29":{"position":[[747,7],[830,6]]}},"keywords":{}}],["short",{"_index":941,"title":{},"content":{"86":{"position":[[196,5]]}},"keywords":{}}],["shorthand",{"_index":727,"title":{},"content":{"51":{"position":[[353,9]]}},"keywords":{}}],["show",{"_index":928,"title":{},"content":{"82":{"position":[[1218,4]]}},"keywords":{}}],["showcaseget",{"_index":20,"title":{},"content":{"1":{"position":[[214,11]]}},"keywords":{}}],["sidebar",{"_index":217,"title":{"27":{"position":[[14,8]]}},"content":{"27":{"position":[[36,7],[97,7],[276,7]]},"41":{"position":[[289,8]]}},"keywords":{}}],["sidebar_label",{"_index":221,"title":{},"content":{"27":{"position":[[144,14]]}},"keywords":{}}],["sidebar_posit",{"_index":223,"title":{},"content":{"27":{"position":[[165,17]]}},"keywords":{}}],["sidebars.j",{"_index":226,"title":{},"content":{"27":{"position":[[298,12],[312,11]]}},"keywords":{}}],["similar",{"_index":563,"title":{},"content":{"48":{"position":[[407,7]]}},"keywords":{}}],["singl",{"_index":362,"title":{},"content":{"33":{"position":[[69,6]]},"49":{"position":[[2129,6]]},"103":{"position":[[57,6]]}},"keywords":{}}],["singular",{"_index":597,"title":{},"content":{"49":{"position":[[154,8]]}},"keywords":{}}],["site",{"_index":6,"title":{"5":{"position":[[15,5]]},"6":{"position":[[11,5]]},"9":{"position":[[12,4]]},"10":{"position":[[11,5]]},"11":{"position":[[12,5]]},"15":{"position":[[15,4]]},"18":{"position":[[21,5]]},"20":{"position":[[21,5]]}},"content":{"1":{"position":[[44,4]]},"3":{"position":[[31,5]]},"5":{"position":[[27,4]]},"6":{"position":[[170,5],[425,4]]},"10":{"position":[[12,4]]},"18":{"position":[[12,4],[86,4]]},"20":{"position":[[12,4],[86,4]]}},"keywords":{}}],["skip",{"_index":920,"title":{},"content":{"82":{"position":[[934,7]]}},"keywords":{}}],["slug",{"_index":97,"title":{},"content":{"8":{"position":[[82,5]]},"36":{"position":[[157,5]]}},"keywords":{}}],["small",{"_index":134,"title":{},"content":{"11":{"position":[[190,5]]}},"keywords":{}}],["sme",{"_index":590,"title":{},"content":{"48":{"position":[[1142,5]]}},"keywords":{}}],["smoothli",{"_index":316,"title":{},"content":{"30":{"position":[[658,8]]}},"keywords":{}}],["softwar",{"_index":594,"title":{},"content":{"48":{"position":[[1219,9]]}},"keywords":{}}],["sole",{"_index":1031,"title":{},"content":{"99":{"position":[[265,6]]}},"keywords":{}}],["solut",{"_index":354,"title":{},"content":{"32":{"position":[[155,9]]}},"keywords":{}}],["space",{"_index":233,"title":{},"content":{"29":{"position":[[25,6]]},"64":{"position":[[742,6]]}},"keywords":{}}],["spec",{"_index":486,"title":{},"content":{"43":{"position":[[40,5]]}},"keywords":{}}],["special",{"_index":448,"title":{},"content":{"40":{"position":[[18,7]]}},"keywords":{}}],["specialist",{"_index":591,"title":{},"content":{"48":{"position":[[1153,10]]}},"keywords":{}}],["specif",{"_index":190,"title":{"59":{"position":[[0,14]]},"68":{"position":[[0,14]]},"71":{"position":[[0,14]]},"78":{"position":[[0,14]]},"87":{"position":[[0,14]]},"111":{"position":[[0,14]]}},"content":{"20":{"position":[[23,8]]},"30":{"position":[[54,13]]},"47":{"position":[[64,13]]},"48":{"position":[[1169,8]]},"49":{"position":[[83,8],[145,8],[908,8],[1836,8],[2496,8]]},"50":{"position":[[83,8],[535,8],[607,8]]},"51":{"position":[[64,13],[91,8],[400,8]]},"55":{"position":[[45,8]]},"82":{"position":[[176,8],[767,13]]},"85":{"position":[[93,8]]},"92":{"position":[[426,8]]},"99":{"position":[[637,8]]},"100":{"position":[[462,8]]},"101":{"position":[[499,8]]}},"keywords":{}}],["specifi",{"_index":264,"title":{},"content":{"29":{"position":[[409,9]]},"36":{"position":[[378,10]]},"91":{"position":[[121,9]]},"92":{"position":[[128,10],[252,10]]},"96":{"position":[[525,10]]},"97":{"position":[[57,7]]}},"keywords":{}}],["spot",{"_index":372,"title":{},"content":{"33":{"position":[[190,4]]}},"keywords":{}}],["spreadsheet",{"_index":761,"title":{},"content":{"51":{"position":[[1185,11]]}},"keywords":{}}],["sql",{"_index":771,"title":{},"content":{"51":{"position":[[1567,4],[2094,3]]}},"keywords":{}}],["src/components/hellodocusaurus.j",{"_index":446,"title":{},"content":{"39":{"position":[[207,33]]}},"keywords":{}}],["src/pages/mi",{"_index":138,"title":{},"content":{"13":{"position":[[18,12],[47,12]]},"14":{"position":[[18,12],[50,12]]}},"keywords":{}}],["stabl",{"_index":391,"title":{},"content":{"33":{"position":[[818,7]]}},"keywords":{}}],["stage",{"_index":690,"title":{},"content":{"50":{"position":[[505,6],[658,7],[666,5],[723,5],[802,5],[1115,5]]}},"keywords":{}}],["standard",{"_index":263,"title":{"105":{"position":[[11,10]]},"106":{"position":[[10,10]]}},"content":{"29":{"position":[[400,8]]},"30":{"position":[[204,8]]},"33":{"position":[[778,10],[941,10]]},"51":{"position":[[626,9],[908,12],[1786,12]]},"73":{"position":[[777,8]]},"92":{"position":[[567,9]]},"96":{"position":[[281,9]]},"105":{"position":[[14,10],[104,9]]}},"keywords":{}}],["standardb.c",{"_index":1068,"title":{},"content":{"105":{"position":[[72,12]]}},"keywords":{}}],["standards.identifi",{"_index":348,"title":{},"content":{"32":{"position":[[54,18]]}},"keywords":{}}],["start",{"_index":26,"title":{"3":{"position":[[8,8]]},"6":{"position":[[0,5]]},"18":{"position":[[0,5]]},"28":{"position":[[8,7]]}},"content":{"3":{"position":[[5,7]]},"6":{"position":[[52,5],[233,5]]},"18":{"position":[[1,5],[48,5],[150,7]]}},"keywords":{}}],["state",{"_index":474,"title":{"42":{"position":[[0,5]]}},"content":{"49":{"position":[[1518,6]]},"50":{"position":[[713,7],[759,6],[883,6],[913,5],[1086,5],[1314,5],[1464,5]]}},"keywords":{}}],["static",{"_index":128,"title":{},"content":{"10":{"position":[[54,6]]},"38":{"position":[[95,6]]}},"keywords":{}}],["static/img/docusaurus.png",{"_index":431,"title":{},"content":{"38":{"position":[[112,28]]}},"keywords":{}}],["station",{"_index":752,"title":{},"content":{"51":{"position":[[862,9]]}},"keywords":{}}],["statu",{"_index":705,"title":{},"content":{"50":{"position":[[1185,6]]}},"keywords":{}}],["status",{"_index":713,"title":{},"content":{"50":{"position":[[1421,8]]}},"keywords":{}}],["statutori",{"_index":558,"title":{},"content":{"48":{"position":[[253,9]]},"49":{"position":[[1080,9],[1354,9]]}},"keywords":{}}],["store",{"_index":247,"title":{},"content":{"29":{"position":[[153,5]]},"51":{"position":[[1711,7]]},"73":{"position":[[16,6],[146,5]]},"92":{"position":[[169,6]]}},"keywords":{}}],["strata",{"_index":841,"title":{},"content":{"64":{"position":[[730,7]]}},"keywords":{}}],["strategi",{"_index":387,"title":{},"content":{"33":{"position":[[711,8],[793,8]]}},"keywords":{}}],["string",{"_index":725,"title":{"91":{"position":[[0,7]]}},"content":{"51":{"position":[[301,7]]},"58":{"position":[[7,6]]},"64":{"position":[[234,6],[530,6]]},"67":{"position":[[61,6]]},"73":{"position":[[493,8]]},"77":{"position":[[61,6]]},"86":{"position":[[189,6],[248,6]]},"91":{"position":[[1,7],[72,7],[195,7],[368,6]]},"96":{"position":[[305,7]]},"100":{"position":[[87,7]]},"110":{"position":[[61,6]]}},"keywords":{}}],["strip",{"_index":921,"title":{},"content":{"82":{"position":[[950,8]]}},"keywords":{}}],["structur",{"_index":717,"title":{"51":{"position":[[0,10]]},"58":{"position":[[0,10]]},"64":{"position":[[0,10]]},"67":{"position":[[0,10]]},"77":{"position":[[0,10]]},"86":{"position":[[0,10]]},"110":{"position":[[0,10]]}},"content":{"51":{"position":[[34,10]]},"82":{"position":[[68,10],[146,10],[253,11],[858,11]]},"100":{"position":[[221,12]]}},"keywords":{}}],["style",{"_index":517,"title":{},"content":{"44":{"position":[[168,8]]}},"keywords":{}}],["subgraph",{"_index":500,"title":{},"content":{"43":{"position":[[217,8],[249,8]]}},"keywords":{}}],["subject",{"_index":588,"title":{},"content":{"48":{"position":[[1096,7],[1120,7]]},"68":{"position":[[126,7]]},"111":{"position":[[349,7]]}},"keywords":{}}],["submiss",{"_index":569,"title":{},"content":{"48":{"position":[[533,12]]},"49":{"position":[[1731,12],[2092,10]]}},"keywords":{}}],["submit",{"_index":610,"title":{},"content":{"49":{"position":[[613,9]]}},"keywords":{}}],["substitut",{"_index":1017,"title":{},"content":{"97":{"position":[[132,11]]}},"keywords":{}}],["such",{"_index":593,"title":{},"content":{"48":{"position":[[1186,4]]},"49":{"position":[[1855,4]]},"91":{"position":[[247,4]]},"92":{"position":[[263,4]]},"99":{"position":[[317,5],[513,4]]},"101":{"position":[[110,5],[325,4]]}},"keywords":{}}],["support",{"_index":163,"title":{},"content":{"16":{"position":[[36,7]]},"36":{"position":[[481,9]]},"37":{"position":[[28,10]]},"38":{"position":[[29,10]]},"39":{"position":[[26,9]]},"41":{"position":[[25,8],[195,10]]},"48":{"position":[[496,7]]},"92":{"position":[[491,9]]},"96":{"position":[[205,9],[785,11]]}},"keywords":{}}],["sure",{"_index":605,"title":{},"content":{"49":{"position":[[502,4]]}},"keywords":{}}],["surveyor",{"_index":647,"title":{},"content":{"49":{"position":[[1722,8]]}},"keywords":{}}],["synonym",{"_index":579,"title":{},"content":{"48":{"position":[[828,7],[867,7]]}},"keywords":{}}],["syntax",{"_index":439,"title":{},"content":{"39":{"position":[[41,6]]},"40":{"position":[[26,6]]},"41":{"position":[[267,6]]},"51":{"position":[[1659,7]]}},"keywords":{}}],["system",{"_index":259,"title":{},"content":{"29":{"position":[[343,7]]},"30":{"position":[[102,6],[257,7],[443,8],[482,7],[638,7],[711,7]]},"33":{"position":[[510,7],[571,7],[919,7]]},"51":{"position":[[829,6]]},"86":{"position":[[162,8]]}},"keywords":{}}],["sébastien",{"_index":111,"title":{},"content":{"8":{"position":[[267,9]]}},"keywords":{}}],["tabular",{"_index":762,"title":{},"content":{"51":{"position":[[1200,7]]}},"keywords":{}}],["tag",{"_index":116,"title":{},"content":{"8":{"position":[[388,5]]},"36":{"position":[[178,5],[346,4]]}},"keywords":{}}],["take",{"_index":458,"title":{},"content":{"40":{"position":[[213,4]]},"49":{"position":[[984,4]]},"66":{"position":[[89,6]]},"76":{"position":[[124,6]]},"109":{"position":[[108,6]]}},"keywords":{}}],["taken",{"_index":637,"title":{},"content":{"49":{"position":[[1451,5]]}},"keywords":{}}],["talk",{"_index":386,"title":{},"content":{"33":{"position":[[648,4]]}},"keywords":{}}],["tantali",{"_index":832,"title":{},"content":{"64":{"position":[[425,8]]}},"keywords":{}}],["tbd",{"_index":397,"title":{},"content":{"34":{"position":[[1,3]]},"55":{"position":[[117,4]]},"56":{"position":[[147,3]]},"60":{"position":[[1,3]]},"61":{"position":[[1,3]]},"67":{"position":[[68,3]]},"69":{"position":[[1,3]]},"70":{"position":[[1,3]]},"77":{"position":[[68,3]]},"79":{"position":[[1,3]]},"80":{"position":[[1,3]]},"88":{"position":[[1,3]]},"89":{"position":[[1,3]]},"110":{"position":[[68,3]]},"112":{"position":[[1,3]]},"113":{"position":[[1,3]]}},"keywords":{}}],["td",{"_index":476,"title":{},"content":{"42":{"position":[[18,2]]}},"keywords":{}}],["teams.creat",{"_index":334,"title":{},"content":{"31":{"position":[[83,12]]}},"keywords":{}}],["technic",{"_index":312,"title":{"106":{"position":[[0,9]]}},"content":{"30":{"position":[[599,9]]}},"keywords":{}}],["technolog",{"_index":388,"title":{},"content":{"33":{"position":[[724,10]]}},"keywords":{}}],["templat",{"_index":47,"title":{"97":{"position":[[4,9]]}},"content":{"5":{"position":[[50,9],[73,8]]},"97":{"position":[[5,9],[31,8]]}},"keywords":{}}],["template)rfc",{"_index":1086,"title":{},"content":{"106":{"position":[[265,12]]}},"keywords":{}}],["tempor",{"_index":887,"title":{},"content":{"76":{"position":[[63,8]]},"109":{"position":[[58,8]]}},"keywords":{}}],["tenur",{"_index":621,"title":{},"content":{"49":{"position":[[1033,7]]}},"keywords":{}}],["term",{"_index":540,"title":{},"content":{"46":{"position":[[1,4]]},"47":{"position":[[15,5]]},"48":{"position":[[122,4]]},"49":{"position":[[115,4],[1197,4],[1978,4]]},"50":{"position":[[120,4],[1624,5]]},"51":{"position":[[15,5],[113,4],[921,5],[1038,5],[1327,4]]}},"keywords":{}}],["termin",{"_index":60,"title":{},"content":{"5":{"position":[[261,9],[295,8]]},"6":{"position":[[204,8]]}},"keywords":{}}],["terminolog",{"_index":538,"title":{"45":{"position":[[0,11]]}},"content":{"47":{"position":[[136,11]]},"53":{"position":[[31,11]]}},"keywords":{}}],["terms.gath",{"_index":338,"title":{},"content":{"31":{"position":[[187,12]]}},"keywords":{}}],["test",{"_index":130,"title":{},"content":{"11":{"position":[[1,4]]}},"keywords":{}}],["text",{"_index":407,"title":{},"content":{"36":{"position":[[229,4]]},"82":{"position":[[676,4]]}},"keywords":{}}],["textual",{"_index":943,"title":{},"content":{"91":{"position":[[31,7]]}},"keywords":{}}],["theecma",{"_index":1022,"title":{},"content":{"98":{"position":[[58,7]]}},"keywords":{}}],["thejson",{"_index":969,"title":{},"content":{"92":{"position":[[388,7]]},"93":{"position":[[202,7]]},"94":{"position":[[220,7]]},"95":{"position":[[194,7]]},"96":{"position":[[133,7]]},"97":{"position":[[218,7]]},"98":{"position":[[85,7]]},"99":{"position":[[599,7]]},"100":{"position":[[515,7]]},"101":{"position":[[461,7]]},"102":{"position":[[260,7]]},"103":{"position":[[169,7]]}},"keywords":{}}],["theme/layout",{"_index":142,"title":{},"content":{"13":{"position":[[120,16]]}},"keywords":{}}],["themeconfig",{"_index":187,"title":{},"content":{"19":{"position":[[143,12]]},"23":{"position":[[143,12]]}},"keywords":{}}],["themeconfigadd",{"_index":12,"title":{},"content":{"1":{"position":[[121,14]]}},"keywords":{}}],["thing",{"_index":627,"title":{},"content":{"49":{"position":[[1211,7]]}},"keywords":{}}],["thought",{"_index":759,"title":{},"content":{"51":{"position":[[1146,7]]}},"keywords":{}}],["three",{"_index":880,"title":{},"content":{"73":{"position":[[606,5]]}},"keywords":{}}],["through",{"_index":78,"title":{},"content":{"6":{"position":[[289,7]]},"33":{"position":[[28,7]]},"41":{"position":[[59,7]]},"50":{"position":[[252,8],[791,8]]}},"keywords":{}}],["time",{"_index":183,"title":{"92":{"position":[[9,5]]}},"content":{"18":{"position":[[236,5]]},"30":{"position":[[142,5]]},"49":{"position":[[1161,4]]},"66":{"position":[[117,7]]},"76":{"position":[[152,7]]},"92":{"position":[[13,4],[144,4],[244,4],[287,4],[300,4],[327,4],[372,5],[509,4]]},"96":{"position":[[223,4]]},"105":{"position":[[67,4]]},"109":{"position":[[136,7]]}},"keywords":{}}],["time)rfc",{"_index":1078,"title":{},"content":{"106":{"position":[[100,8]]}},"keywords":{}}],["timenam",{"_index":1070,"title":{},"content":{"105":{"position":[[127,10]]}},"keywords":{}}],["timesdata",{"_index":376,"title":{},"content":{"33":{"position":[[289,9]]}},"keywords":{}}],["timestamp",{"_index":888,"title":{},"content":{"76":{"position":[[103,11]]}},"keywords":{}}],["tip",{"_index":451,"title":{},"content":{"40":{"position":[[80,4],[176,3]]}},"keywords":{}}],["tip[mi",{"_index":450,"title":{},"content":{"40":{"position":[[70,9]]}},"keywords":{}}],["titl",{"_index":99,"title":{},"content":{"8":{"position":[[98,6],[145,6],[284,6]]},"36":{"position":[[95,6],[114,5],[323,6]]},"49":{"position":[[1109,6]]},"63":{"position":[[23,5],[127,5],[223,5],[262,6],[278,5]]},"64":{"position":[[322,5],[800,5],[900,5],[996,5],[1035,6],[1051,5]]}},"keywords":{}}],["title="src/components/hellodocusaurus.js"",{"_index":442,"title":{},"content":{"39":{"position":[[70,51]]}},"keywords":{}}],["top",{"_index":401,"title":{},"content":{"36":{"position":[[41,3]]}},"keywords":{}}],["topic",{"_index":902,"title":{},"content":{"82":{"position":[[317,6]]}},"keywords":{}}],["torfc",{"_index":980,"title":{},"content":{"93":{"position":[[180,5]]},"94":{"position":[[181,5]]}},"keywords":{}}],["track",{"_index":310,"title":{"50":{"position":[[8,9]]},"52":{"position":[[8,8]]}},"content":{"30":{"position":[[568,8]]},"53":{"position":[[22,8]]},"86":{"position":[[89,5]]}},"keywords":{}}],["transfer",{"_index":801,"title":{},"content":{"56":{"position":[[132,8]]}},"keywords":{}}],["transform",{"_index":322,"title":{},"content":{"30":{"position":[[797,14]]},"32":{"position":[[171,15]]},"33":{"position":[[895,9]]},"73":{"position":[[758,11]]}},"keywords":{}}],["translat",{"_index":158,"title":{"15":{"position":[[0,9]]},"17":{"position":[[0,9]]}},"content":{"17":{"position":[[185,9]]},"18":{"position":[[166,11]]}},"keywords":{}}],["transmit",{"_index":780,"title":{},"content":{"51":{"position":[[1722,12]]}},"keywords":{}}],["tri",{"_index":29,"title":{},"content":{"3":{"position":[[41,3]]}},"keywords":{}}],["true",{"_index":1055,"title":{},"content":{"102":{"position":[[58,4],[126,4]]}},"keywords":{}}],["tutori",{"_index":23,"title":{"2":{"position":[[0,8]]}},"content":{"27":{"position":[[405,11]]}},"keywords":{}}],["tutorial_basics/cr",{"_index":229,"title":{},"content":{"27":{"position":[[424,24]]}},"keywords":{}}],["tutorialsidebar",{"_index":227,"title":{},"content":{"27":{"position":[[341,16]]}},"keywords":{}}],["two",{"_index":1054,"title":{},"content":{"102":{"position":[[37,3]]}},"keywords":{}}],["type",{"_index":57,"title":{"56":{"position":[[0,4]]},"90":{"position":[[10,5]]}},"content":{"5":{"position":[[210,4]]},"19":{"position":[[179,5]]},"23":{"position":[[179,5]]},"27":{"position":[[380,5]]},"29":{"position":[[100,5],[465,5]]},"49":{"position":[[1991,4]]},"51":{"position":[[133,4],[155,4],[220,4],[272,5],[1702,4],[1805,4],[2058,5]]},"56":{"position":[[46,4],[111,5],[141,5]]},"58":{"position":[[1,5]]},"64":{"position":[[177,4]]},"66":{"position":[[11,4]]},"67":{"position":[[18,4]]},"73":{"position":[[809,5]]},"76":{"position":[[11,4]]},"77":{"position":[[18,4]]},"82":{"position":[[185,4],[1441,4]]},"85":{"position":[[11,4]]},"86":{"position":[[18,4]]},"91":{"position":[[355,5],[535,6]]},"99":{"position":[[60,4],[378,4]]},"101":{"position":[[100,6],[159,4]]},"109":{"position":[[11,4]]},"110":{"position":[[18,4]]}},"keywords":{}}],["type.requir",{"_index":929,"title":{},"content":{"82":{"position":[[1243,13]]}},"keywords":{}}],["types.cr",{"_index":351,"title":{},"content":{"32":{"position":[[118,12]]}},"keywords":{}}],["typesrfc",{"_index":1073,"title":{},"content":{"106":{"position":[[21,8]]}},"keywords":{}}],["typic",{"_index":707,"title":{},"content":{"50":{"position":[[1324,9]]},"51":{"position":[[455,9],[975,9]]},"82":{"position":[[356,9]]}},"keywords":{}}],["uid",{"_index":736,"title":{},"content":{"51":{"position":[[536,6]]}},"keywords":{}}],["ultim",{"_index":383,"title":{},"content":{"33":{"position":[[410,10]]}},"keywords":{}}],["umbrella",{"_index":626,"title":{},"content":{"49":{"position":[[1188,8]]}},"keywords":{}}],["uml",{"_index":772,"title":{},"content":{"51":{"position":[[1572,4]]}},"keywords":{}}],["undefin",{"_index":1064,"title":{},"content":{"103":{"position":[[148,10]]}},"keywords":{}}],["under",{"_index":472,"title":{},"content":{"41":{"position":[[249,5]]},"68":{"position":[[110,5]]},"111":{"position":[[333,5]]}},"keywords":{}}],["understand",{"_index":294,"title":{},"content":{"30":{"position":[[127,10]]},"31":{"position":[[166,11]]},"33":{"position":[[582,10]]},"47":{"position":[[118,13]]},"53":{"position":[[46,10]]},"82":{"position":[[804,10]]},"86":{"position":[[327,10]]}},"keywords":{}}],["uniqu",{"_index":734,"title":{},"content":{"51":{"position":[[496,6]]},"63":{"position":[[86,8]]},"64":{"position":[[859,8]]},"82":{"position":[[563,6]]},"86":{"position":[[75,6]]},"97":{"position":[[67,6]]},"101":{"position":[[333,11]]}},"keywords":{}}],["unit",{"_index":728,"title":{},"content":{"51":{"position":[[382,4]]}},"keywords":{}}],["univers",{"_index":995,"title":{},"content":{"96":{"position":[[1,9]]}},"keywords":{}}],["unix/epochtim",{"_index":967,"title":{},"content":{"92":{"position":[[220,15]]}},"keywords":{}}],["unless",{"_index":964,"title":{},"content":{"92":{"position":[[111,6]]}},"keywords":{}}],["unord",{"_index":1039,"title":{},"content":{"100":{"position":[[22,9]]}},"keywords":{}}],["unreleas",{"_index":204,"title":{},"content":{"22":{"position":[[321,10]]}},"keywords":{}}],["up",{"_index":326,"title":{},"content":{"31":{"position":[[5,2]]},"82":{"position":[[1223,2]]}},"keywords":{}}],["upcom",{"_index":203,"title":{},"content":{"22":{"position":[[311,9]]}},"keywords":{}}],["updat",{"_index":206,"title":{"24":{"position":[[0,6]]}},"content":{"24":{"position":[[104,7],[158,7]]},"50":{"position":[[1234,6]]}},"keywords":{}}],["upon",{"_index":919,"title":{},"content":{"82":{"position":[[895,4]]}},"keywords":{}}],["uri",{"_index":910,"title":{"97":{"position":[[0,3]]}},"content":{"82":{"position":[[570,3]]},"96":{"position":[[48,3]]},"97":{"position":[[1,3],[27,3],[158,3]]},"106":{"position":[[260,4]]}},"keywords":{}}],["uri)rfc",{"_index":1080,"title":{},"content":{"106":{"position":[[130,8]]}},"keywords":{}}],["url",{"_index":107,"title":{},"content":{"8":{"position":[[179,4],[313,4]]},"36":{"position":[[174,3]]},"37":{"position":[[45,3]]}},"keywords":{}}],["us",{"_index":45,"title":{},"content":{"5":{"position":[[32,5]]},"18":{"position":[[216,3]]},"32":{"position":[[165,5]]},"37":{"position":[[39,5]]},"38":{"position":[[49,3],[270,6],[324,5]]},"40":{"position":[[85,3],[180,3]]},"41":{"position":[[135,5]]},"44":{"position":[[61,5]]},"47":{"position":[[47,4]]},"48":{"position":[[751,3]]},"49":{"position":[[61,4],[1868,4],[1968,4]]},"50":{"position":[[61,4]]},"51":{"position":[[621,4],[656,4],[1561,5],[1998,5]]},"82":{"position":[[27,4],[756,6]]},"91":{"position":[[13,4]]},"92":{"position":[[317,5]]},"95":{"position":[[74,5],[134,5]]},"96":{"position":[[37,3],[107,4],[429,5],[450,5],[515,4],[896,5]]},"99":{"position":[[336,5]]},"100":{"position":[[13,4]]},"101":{"position":[[12,4],[203,3],[405,4]]},"102":{"position":[[14,4]]},"103":{"position":[[9,4]]}},"keywords":{}}],["usabl",{"_index":297,"title":{},"content":{"30":{"position":[[228,6]]}},"keywords":{}}],["usag",{"_index":546,"title":{},"content":{"47":{"position":[[148,6]]}},"keywords":{}}],["usage.properti",{"_index":927,"title":{},"content":{"82":{"position":[[1158,16]]}},"keywords":{}}],["usual",{"_index":691,"title":{},"content":{"50":{"position":[[516,7]]}},"keywords":{}}],["utc",{"_index":968,"title":{},"content":{"92":{"position":[[368,3]]}},"keywords":{}}],["utf",{"_index":945,"title":{},"content":{"91":{"position":[[104,3]]},"106":{"position":[[114,4]]}},"keywords":{}}],["uuid",{"_index":737,"title":{},"content":{"51":{"position":[[547,7],[577,5]]},"86":{"position":[[68,4]]},"96":{"position":[[186,4],[300,4],[354,4],[413,4],[442,4],[536,5],[745,4],[806,4],[878,4]]},"106":{"position":[[144,5],[298,5]]}},"keywords":{}}],["v1",{"_index":1081,"title":{},"content":{"106":{"position":[[150,2]]}},"keywords":{}}],["v4",{"_index":1003,"title":{},"content":{"96":{"position":[[418,2]]}},"keywords":{}}],["v6",{"_index":1088,"title":{},"content":{"106":{"position":[[304,2]]}},"keywords":{}}],["valid",{"_index":364,"title":{},"content":{"33":{"position":[[85,9]]},"64":{"position":[[3,5]]},"82":{"position":[[1354,6]]}},"keywords":{}}],["valu",{"_index":839,"title":{},"content":{"64":{"position":[[690,6]]},"73":{"position":[[34,6]]},"99":{"position":[[76,6],[169,7],[221,5],[259,5]]},"100":{"position":[[36,5],[105,5]]},"102":{"position":[[50,7],[116,6]]},"103":{"position":[[30,6],[75,5],[138,6]]}},"keywords":{}}],["vari",{"_index":643,"title":{},"content":{"49":{"position":[[1663,7]]}},"keywords":{}}],["varieti",{"_index":767,"title":{},"content":{"51":{"position":[[1353,7]]}},"keywords":{}}],["variou",{"_index":315,"title":{},"content":{"30":{"position":[[630,7]]},"33":{"position":[[491,7]]},"48":{"position":[[28,7]]},"49":{"position":[[989,7]]},"100":{"position":[[185,7]]}},"keywords":{}}],["veri",{"_index":133,"title":{},"content":{"11":{"position":[[185,4]]}},"keywords":{}}],["verifi",{"_index":898,"title":{},"content":{"82":{"position":[[56,6]]}},"keywords":{}}],["version",{"_index":35,"title":{"21":{"position":[[12,8]]},"22":{"position":[[14,8]]},"23":{"position":[[6,7]]},"24":{"position":[[19,8]]}},"content":{"4":{"position":[[9,7]]},"22":{"position":[[11,7],[189,9],[243,7]]},"23":{"position":[[31,9],[47,7],[244,7]]},"24":{"position":[[24,9]]},"82":{"position":[[634,10]]},"83":{"position":[[36,7]]},"96":{"position":[[359,9],[635,7],[750,8],[883,8]]},"107":{"position":[[13,7]]}},"keywords":{}}],["versioned_docs/vers",{"_index":197,"title":{},"content":{"22":{"position":[[110,22]]},"24":{"position":[[68,22]]}},"keywords":{}}],["versions.json",{"_index":198,"title":{},"content":{"22":{"position":[[141,13]]}},"keywords":{}}],["view",{"_index":80,"title":{},"content":{"6":{"position":[[336,4]]},"33":{"position":[[23,4],[126,4]]}},"keywords":{}}],["visit",{"_index":471,"title":{},"content":{"41":{"position":[[206,5]]}},"keywords":{}}],["vocabulari",{"_index":596,"title":{},"content":{"49":{"position":[[50,10]]},"50":{"position":[[50,10]]},"51":{"position":[[872,10],[885,10]]}},"keywords":{}}],["voic",{"_index":867,"title":{},"content":{"73":{"position":[[122,6]]}},"keywords":{}}],["warn",{"_index":970,"title":{},"content":{"92":{"position":[[446,7]]},"96":{"position":[[164,7]]}},"keywords":{}}],["way",{"_index":244,"title":{},"content":{"29":{"position":[[124,4]]},"30":{"position":[[702,4]]},"49":{"position":[[1057,4]]},"51":{"position":[[363,3]]},"82":{"position":[[117,3]]},"97":{"position":[[50,3]]}},"keywords":{}}],["web",{"_index":781,"title":{},"content":{"51":{"position":[[1753,4],[2134,4]]}},"keywords":{}}],["websit",{"_index":56,"title":{},"content":{"5":{"position":[[184,7]]},"6":{"position":[[36,7],[259,7]]}},"keywords":{}}],["well",{"_index":240,"title":{},"content":{"29":{"position":[[79,4],[606,4]]},"38":{"position":[[243,5]]},"51":{"position":[[639,4]]},"100":{"position":[[371,4]]}},"keywords":{}}],["what'",{"_index":1,"title":{"1":{"position":[[0,6]]}},"content":{},"keywords":{}}],["wide",{"_index":469,"title":{},"content":{"41":{"position":[[174,4]]},"51":{"position":[[614,6]]}},"keywords":{}}],["within",{"_index":543,"title":{},"content":{"47":{"position":[[52,6]]},"48":{"position":[[93,6],[687,6],[789,6]]},"49":{"position":[[101,6],[188,6],[938,6],[1885,6]]},"50":{"position":[[101,6],[445,6],[890,6],[993,6]]},"51":{"position":[[503,6]]},"55":{"position":[[21,6]]},"109":{"position":[[73,6]]}},"keywords":{}}],["without",{"_index":261,"title":{},"content":{"29":{"position":[[367,7]]},"73":{"position":[[678,7]]}},"keywords":{}}],["withrfc",{"_index":990,"title":{},"content":{"95":{"position":[[96,7]]},"96":{"position":[[63,7],[472,7]]},"97":{"position":[[198,7]]}},"keywords":{}}],["work",{"_index":71,"title":{},"content":{"6":{"position":[[104,7],[130,4]]},"30":{"position":[[393,4]]},"31":{"position":[[10,7]]},"49":{"position":[[1228,4]]},"50":{"position":[[908,4]]}},"keywords":{}}],["workflow",{"_index":700,"title":{},"content":{"50":{"position":[[1022,8]]}},"keywords":{}}],["workload",{"_index":662,"title":{},"content":{"49":{"position":[[2268,8]]}},"keywords":{}}],["write",{"_index":791,"title":{},"content":{"51":{"position":[[1985,7]]}},"keywords":{}}],["xml",{"_index":784,"title":{},"content":{"51":{"position":[[1889,4]]}},"keywords":{}}],["xsd",{"_index":773,"title":{},"content":{"51":{"position":[[1577,4]]}},"keywords":{}}],["you'll",{"_index":32,"title":{"4":{"position":[[5,6]]}},"content":{"6":{"position":[[176,6]]}},"keywords":{}}],["you'r",{"_index":70,"title":{},"content":{"6":{"position":[[97,6]]}},"keywords":{}}],["zero",{"_index":869,"title":{},"content":{"73":{"position":[[198,5],[451,5],[541,4],[694,7]]}},"keywords":{}}]],"pipeline":["stemmer"]} \ No newline at end of file diff --git a/markdown-page.html b/markdown-page.html new file mode 100644 index 0000000..cbb64c0 --- /dev/null +++ b/markdown-page.html @@ -0,0 +1,2 @@ +Markdown page example | Permitting Interoperability Exchange Specification

    Markdown page example

    +

    You don't need React to write simple standalone pages.

    \ No newline at end of file diff --git a/pr-preview/pr-1/.nojekyll b/pr-preview/pr-1/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/pr-preview/pr-3/.nojekyll b/pr-preview/pr-3/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/pr-preview/pr-3/404.html b/pr-preview/pr-3/404.html new file mode 100644 index 0000000..1c9a7aa --- /dev/null +++ b/pr-preview/pr-3/404.html @@ -0,0 +1 @@ +Page Not Found | Permitting Interoperability Exchange Specification

    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/pr-preview/pr-3/assets/css/styles.816fdd77.css b/pr-preview/pr-3/assets/css/styles.816fdd77.css new file mode 100644 index 0000000..d939c8b --- /dev/null +++ b/pr-preview/pr-3/assets/css/styles.816fdd77.css @@ -0,0 +1 @@ +: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-500:var(--ifm-color-gray-500);--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:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--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:.2s;--ifm-transition-slow:.4s;--ifm-transition-timing-default:cubic-bezier(.08,.52,.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--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:.1rem;--ifm-code-padding-vertical:.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:.875rem;--ifm-h6-font-size:.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:.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--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)*.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:.8rem;--ifm-breadcrumb-padding-vertical:.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url("data:image/svg+xml;utf8,");--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:.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-color:var(--ifm-font-color-base-inverse);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:.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:.5rem;--ifm-toc-padding-horizontal:.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:.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:.75rem;--ifm-menu-link-padding-vertical:.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:.75rem;--ifm-navbar-item-padding-vertical:.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-hover-color:var(--ifm-color-primary);--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)*.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:.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*.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:.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}*{box-sizing:border-box}html{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);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{word-wrap:break-word;margin:0}iframe{color-scheme:normal;border:0}.container{max-width:var(--ifm-container-width);padding:0 var(--ifm-spacing-horizontal);width:100%;margin:0 auto}.container--fluid{max-width:inherit}.row{margin:0 calc(var(--ifm-spacing-horizontal)*-1);flex-wrap:wrap;display:flex}.row--no-gutters{margin-left:0;margin-right:0}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;max-width:var(--ifm-col-width);padding:0 var(--ifm-spacing-horizontal);flex:1 0;width:100%;margin-left:0}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:calc(1/12*100%)}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:calc(2/12*100%)}.col--offset-2{margin-left:16.6667%}.col--3{--ifm-col-width:calc(3/12*100%)}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:calc(4/12*100%)}.col--offset-4{margin-left:33.3333%}.col--5{--ifm-col-width:calc(5/12*100%)}.col--offset-5{margin-left:41.6667%}.col--6{--ifm-col-width:calc(6/12*100%)}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:calc(7/12*100%)}.col--offset-7{margin-left:58.3333%}.col--8{--ifm-col-width:calc(8/12*100%)}.col--offset-8{margin-left:66.6667%}.col--9{--ifm-col-width:calc(9/12*100%)}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:calc(10/12*100%)}.col--offset-10{margin-left:83.3333%}.col--11{--ifm-col-width:calc(11/12*100%)}.col--offset-11{margin-left:91.6667%}.col--12{--ifm-col-width:calc(12/12*100%)}.col--offset-12{margin-left:100%}.margin--none{margin:0!important}.margin-top--none{margin-top:0!important}.margin-left--none{margin-left:0!important}.margin-bottom--none{margin-bottom:0!important}.margin-right--none{margin-right:0!important}.margin-vert--none{margin-top:0!important;margin-bottom:0!important}.margin-horiz--none{margin-left:0!important;margin-right:0!important}.margin--xs{margin:.25rem!important}.margin-top--xs{margin-top:.25rem!important}.margin-left--xs{margin-left:.25rem!important}.margin-bottom--xs{margin-bottom:.25rem!important}.margin-right--xs{margin-right:.25rem!important}.margin-vert--xs{margin-top:.25rem!important;margin-bottom:.25rem!important}.margin-horiz--xs{margin-left:.25rem!important;margin-right:.25rem!important}.margin--sm{margin:.5rem!important}.margin-top--sm{margin-top:.5rem!important}.margin-left--sm{margin-left:.5rem!important}.margin-bottom--sm{margin-bottom:.5rem!important}.margin-right--sm{margin-right:.5rem!important}.margin-vert--sm{margin-top:.5rem!important;margin-bottom:.5rem!important}.margin-horiz--sm{margin-left:.5rem!important;margin-right:.5rem!important}.margin--md{margin:1rem!important}.margin-top--md{margin-top:1rem!important}.margin-left--md{margin-left:1rem!important}.margin-bottom--md{margin-bottom:1rem!important}.margin-right--md{margin-right:1rem!important}.margin-vert--md{margin-top:1rem!important;margin-bottom:1rem!important}.margin-horiz--md{margin-left:1rem!important;margin-right:1rem!important}.margin--lg{margin:2rem!important}.margin-top--lg{margin-top:2rem!important}.margin-left--lg{margin-left:2rem!important}.margin-bottom--lg{margin-bottom:2rem!important}.margin-right--lg{margin-right:2rem!important}.margin-vert--lg{margin-top:2rem!important;margin-bottom:2rem!important}.margin-horiz--lg{margin-left:2rem!important;margin-right:2rem!important}.margin--xl{margin:5rem!important}.margin-top--xl{margin-top:5rem!important}.margin-left--xl{margin-left:5rem!important}.margin-bottom--xl{margin-bottom:5rem!important}.margin-right--xl{margin-right:5rem!important}.margin-vert--xl{margin-top:5rem!important;margin-bottom:5rem!important}.margin-horiz--xl{margin-left:5rem!important;margin-right:5rem!important}.padding--none{padding:0!important}.padding-top--none{padding-top:0!important}.padding-left--none{padding-left:0!important}.padding-bottom--none{padding-bottom:0!important}.padding-right--none{padding-right:0!important}.padding-vert--none{padding-top:0!important;padding-bottom:0!important}.padding-horiz--none{padding-left:0!important;padding-right:0!important}.padding--xs{padding:.25rem!important}.padding-top--xs{padding-top:.25rem!important}.padding-left--xs{padding-left:.25rem!important}.padding-bottom--xs{padding-bottom:.25rem!important}.padding-right--xs{padding-right:.25rem!important}.padding-vert--xs{padding-top:.25rem!important;padding-bottom:.25rem!important}.padding-horiz--xs{padding-left:.25rem!important;padding-right:.25rem!important}.padding--sm{padding:.5rem!important}.padding-top--sm{padding-top:.5rem!important}.padding-left--sm{padding-left:.5rem!important}.padding-bottom--sm{padding-bottom:.5rem!important}.padding-right--sm{padding-right:.5rem!important}.padding-vert--sm{padding-top:.5rem!important;padding-bottom:.5rem!important}.padding-horiz--sm{padding-left:.5rem!important;padding-right:.5rem!important}.padding--md{padding:1rem!important}.padding-top--md{padding-top:1rem!important}.padding-left--md{padding-left:1rem!important}.padding-bottom--md{padding-bottom:1rem!important}.padding-right--md{padding-right:1rem!important}.padding-vert--md{padding-top:1rem!important;padding-bottom:1rem!important}.padding-horiz--md{padding-left:1rem!important;padding-right:1rem!important}.padding--lg{padding:2rem!important}.padding-top--lg{padding-top:2rem!important}.padding-left--lg{padding-left:2rem!important}.padding-bottom--lg{padding-bottom:2rem!important}.padding-right--lg{padding-right:2rem!important}.padding-vert--lg{padding-top:2rem!important;padding-bottom:2rem!important}.padding-horiz--lg{padding-left:2rem!important;padding-right:2rem!important}.padding--xl{padding:5rem!important}.padding-top--xl{padding-top:5rem!important}.padding-left--xl{padding-left:5rem!important}.padding-bottom--xl{padding-bottom:5rem!important}.padding-right--xl{padding-right:5rem!important}.padding-vert--xl{padding-top:5rem!important;padding-bottom:5rem!important}.padding-horiz--xl{padding-left:5rem!important;padding-right:5rem!important}code{background-color:var(--ifm-code-background);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);vertical-align:middle;border:.1rem solid rgba(0,0,0,.1)}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);margin:0 0 var(--ifm-spacing-vertical);padding:var(--ifm-pre-padding);overflow:auto}pre code{font-size:100%;line-height:inherit;background-color:transparent;border:none;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);border-radius:.2rem;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)}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:before{content:"";display:table}.markdown:after{clear:both;content:"";display:table}.markdown>:last-child{margin-bottom:0!important}.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-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>pre,.markdown>ul,.markdown>p{margin-bottom:var(--ifm-leading)}.markdown li{word-wrap:break-word}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ul,ol{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ul ul,ul ol,ol ol,ol ul{margin:0}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type:lower-alpha}table{border-collapse:collapse;margin-bottom:var(--ifm-spacing-vertical);display:block;overflow:auto}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead{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 tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table th,table td{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);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default)}a:hover{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}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);margin:0 0 var(--ifm-spacing-vertical);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);height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical)0;border: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{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}.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{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text--break{word-wrap:break-word!important;word-break:break-word!important}.text--no-decoration,.text--no-decoration:hover{text-decoration:none}.clean-btn{color:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit}.clean-list{padding-left:0;list-style:none}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--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:rgba(235,237,240,.15);--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:rgba(0,164,0,.15);--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:rgba(84,199,236,.15);--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:rgba(255,186,0,.15);--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:rgba(250,56,62,.15);--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);color:var(--ifm-alert-foreground-color);padding:var(--ifm-alert-padding-vertical)var(--ifm-alert-padding-horizontal)}.alert__heading{font:bold var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase;align-items:center;margin-bottom:.5rem;display:flex}.alert__icon{margin-right:.4em;display:inline-flex}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{color:var(--ifm-alert-foreground-color);margin:calc(var(--ifm-alert-padding-vertical)*-1)calc(var(--ifm-alert-padding-horizontal)*-1)0 0;opacity:.75}.alert .close:hover,.alert .close:focus{opacity:1}.alert a{-webkit-text-decoration-color:var(--ifm-alert-border-color);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{height:var(--ifm-avatar-photo-size);width:var(--ifm-avatar-photo-size);border-radius:50%;display:block;overflow:hidden}.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{text-align:var(--ifm-avatar-intro-alignment);flex-direction:column;flex:1;justify-content:center;display:flex}.avatar__name{font:bold 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:.5rem;flex-direction:column;align-items:center}.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);padding:var(--ifm-badge-padding-vertical)var(--ifm-badge-padding-horizontal);line-height:1;display:inline-block}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);--ifm-badge-border-color:var(--ifm-badge-background-color);color:var(--ifm-color-black)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger);--ifm-badge-border-color:var(--ifm-badge-background-color)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item{display:inline-block}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator)center;content:" ";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));display:inline-block}.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);color:var(--ifm-font-color-base);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-property:background,color;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);display:inline-block}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:.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);color:var(--ifm-button-color);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);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;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;transition-property:color,background,border-color;transition-duration:var(--ifm-button-transition-duration);transition-timing-function:var(--ifm-transition-timing-default);line-height:1.5;display:inline-block}.button:hover{color:var(--ifm-button-color);text-decoration:none}.button--outline{--ifm-button-background-color:transparent;--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--outline:hover,.button--outline:active,.button--outline.button--active{--ifm-button-color:var(--ifm-font-color-base-inverse)}.button--link{--ifm-button-background-color:transparent;--ifm-button-border-color:transparent;color:var(--ifm-link-color);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration)}.button--link:hover,.button--link:active,.button--link.button--active{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{width:100%;display:block}.button.button--secondary{color:var(--ifm-color-gray-900)}.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}: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:active,.button--primary.button--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:active,.button--secondary.button--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:active,.button--success.button--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:active,.button--info.button--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:active,.button--warning.button--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:active,.button--danger.button--active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{gap:var(--ifm-button-group-spacing);display:inline-flex}.button-group>.button:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.button-group>.button:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.button-group--block{justify-content:stretch;display:flex}.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);flex-direction:column;display:flex;overflow:hidden}.card--full-height{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__header,.card__body,.card__footer{padding:var(--ifm-card-vertical-spacing)var(--ifm-card-horizontal-spacing)}.card__header:not(:last-child),.card__body:not(:last-child),.card__footer:not(:last-child){padding-bottom:0}.card__header>:last-child,.card__body>:last-child,.card__footer>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{padding:var(--ifm-toc-padding-vertical)0;margin-bottom:0;font-size:.8rem}.table-of-contents,.table-of-contents ul{padding-left:var(--ifm-toc-padding-horizontal);list-style:none}.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:hover,.table-of-contents__link:hover code,.table-of-contents__link--active,.table-of-contents__link--active 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);opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default);padding:1rem;line-height:1}.close:hover{opacity:.7}.close:focus{opacity:.8}.dropdown{font-weight:var(--ifm-dropdown-font-weight);vertical-align:top;display:inline-flex;position:relative}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;visibility:visible;transform:translateY(-1px)}.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);opacity:0;pointer-events:none;left:0;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);visibility:hidden;z-index:var(--ifm-z-index-dropdown);transition-property:opacity,transform,visibility;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);min-width:10rem;max-height:80vh;padding:.5rem;list-style:none;position:absolute;overflow-y:auto;transform:translateY(-.625rem)}.dropdown__link{color:var(--ifm-dropdown-link-color);white-space:nowrap;border-radius:.25rem;margin-top:.2rem;padding:.25rem .5rem;font-size:.875rem;display:block}.dropdown__link:hover,.dropdown__link--active{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{content:"";border:.4em solid transparent;border-top-color:currentColor;border-bottom:0 solid;margin-left:.3em;display:inline-block;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{max-width:var(--ifm-footer-logo-max-width);margin-top:1rem}.footer__title{color:var(--ifm-footer-title-color);font:bold var(--ifm-h4-font-size)/var(--ifm-heading-line-height)var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.footer__item{margin-top:0}.footer__items{margin-bottom:0}[type=checkbox]{padding:0}.hero{background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);align-items:center;padding:4rem 2rem;display:flex}.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{font-weight:var(--ifm-font-weight-semibold);overflow-x:hidden}.menu__list{margin:0;padding-left:0;list-style:none}.menu__list .menu__list{padding-left:var(--ifm-menu-link-padding-horizontal);flex:0 0 100%;margin-top:.25rem}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.menu__list-item--collapsed .menu__link--sublist:after,.menu__list-item--collapsed .menu__caret:before{transform:rotate(90deg)}.menu__list-item-collapsible{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;flex-wrap:wrap;display:flex;position:relative}.menu__list-item-collapsible:hover,.menu__list-item-collapsible--active{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link:hover,.menu__list-item-collapsible .menu__link--active{background:0 0!important}.menu__link,.menu__caret{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;align-items:center;display:flex}.menu__link:hover,.menu__caret:hover{background:var(--ifm-menu-color-background-hover)}.menu__link{color:var(--ifm-menu-color);padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default);text-decoration:none}.menu__link--sublist-caret:after{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;filter:var(--ifm-menu-link-sublist-icon-filter);transition:transform var(--ifm-transition-fast)linear;width:1.25rem;min-width:1.25rem;height:1.25rem;margin-left:auto;transform:rotate(180deg)}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret{padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal)}.menu__caret:before{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;filter:var(--ifm-menu-link-sublist-icon-filter);transition:transform var(--ifm-transition-fast)linear;width:1.25rem;height:1.25rem;transform:rotate(180deg)}html[data-theme=dark],.navbar--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);display:flex}.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{z-index:var(--ifm-z-index-fixed);position:sticky;top:0}.navbar__inner{flex-wrap:wrap;justify-content:space-between;width:100%;display:flex}.navbar__brand{color:var(--ifm-navbar-link-color);align-items:center;min-width:0;margin-right:1rem;display:flex}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar__title{flex:auto}.navbar__toggle{margin-right:.5rem;display:none}.navbar__logo{flex:none;height:2rem;margin-right:.5rem}.navbar__logo img{height:100%}.navbar__items{flex:1;align-items:center;min-width:0;display:flex}.navbar__items--center{flex:none}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:none;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{padding:var(--ifm-navbar-item-padding-vertical)var(--ifm-navbar-item-padding-horizontal);display:inline-block}.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link{color:var(--ifm-navbar-link-color);font-weight:var(--ifm-font-weight-semibold)}.navbar__link:hover,.navbar__link--active{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:rgba(255,255,255,.1);--ifm-navbar-search-input-placeholder-color:rgba(255,255,255,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-navbar-link-hover-color:var(--ifm-color-primary);--ifm-menu-color-background-active:rgba(255,255,255,.05);--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;color:var(--ifm-navbar-search-input-color);cursor:text;border:none;border-radius:2rem;width:12.5rem;height:2rem;padding:0 .5rem 0 2.25rem;font-size:1rem;display:inline-block}.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);opacity:0;visibility:hidden;width:var(--ifm-navbar-sidebar-width);transition-property:opacity,visibility,transform;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;position:fixed;top:0;bottom:0;left:0;overflow-x:hidden;transform:translate(-100%)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{transform:translate(0,0)}.navbar-sidebar__backdrop{opacity:0;visibility:hidden;transition-property:opacity,visibility;transition-duration:var(--ifm-transition-fast);background-color:rgba(0,0,0,.6);transition-timing-function:ease-in-out;position:fixed;inset:0}.navbar-sidebar__brand{box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical)var(--ifm-navbar-padding-horizontal);flex:1;align-items:center;display:flex}.navbar-sidebar__items{height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast)ease-in-out;display:flex;transform:translateZ(0)}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{width:calc(var(--ifm-navbar-sidebar-width));flex-shrink:0;padding:.5rem}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);text-align:left;width:calc(100% + 1rem);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;top:-.5rem}.navbar-sidebar__close{margin-left:auto;display:flex}.pagination{column-gap:var(--ifm-pagination-page-spacing);font-size:var(--ifm-pagination-font-size);padding-left:0;display:flex}.pagination--sm{--ifm-pagination-font-size:.8rem;--ifm-pagination-padding-horizontal:.8rem;--ifm-pagination-padding-vertical:.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{background:var(--ifm-pagination-item-active-background);color:var(--ifm-pagination-color-active)}.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);padding:var(--ifm-pagination-padding-vertical)var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);display:inline-block}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr);display:grid}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast)var(--ifm-transition-timing-default);height:100%;display:block}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{text-align:right;grid-column:2/3}.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{gap:var(--ifm-pills-spacing);padding-left:0;display:flex}.pills__item{cursor:pointer;font-weight:var(--ifm-font-weight-bold);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.5rem;padding:.25rem 1rem;display:inline-block}.pills__item--active{background:var(--ifm-pills-color-background-active);color:var(--ifm-pills-color-active)}.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{text-align:center;flex-grow:1}.tabs{color:var(--ifm-tabs-color);font-weight:var(--ifm-font-weight-bold);margin-bottom:0;padding-left:0;display:flex;overflow-x:auto}.tabs__item{border-radius:var(--ifm-global-radius);cursor:pointer;padding:var(--ifm-tabs-padding-vertical)var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-bottom:3px solid transparent;display:inline-flex}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);color:var(--ifm-tabs-color-active);border-bottom-right-radius:0;border-bottom-left-radius:0}.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-500:var(--ifm-color-gray-500);--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:rgba(255,255,255,.05);--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:rgba(255,255,255,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:rgba(255,255,255,.07);--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}@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}.footer__link-separator{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{width:max-content;display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__item{display:none}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}}@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 (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 (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0s;--ifm-transition-slow:0s}}@media print{.table-of-contents,.footer,.menu,.navbar,.pagination-nav{display:none}.tabs{page-break-inside:avoid}}:root{--docusaurus-progress-bar-color:var(--ifm-color-primary)}#nprogress{pointer-events:none}#nprogress .bar{background:var(--docusaurus-progress-bar-color);z-index:1031;width:100%;height:2px;position:fixed;top:0;left:0}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);opacity:1;width:100px;height:100%;position:absolute;right:0;transform:rotate(3deg)translateY(-4px)}:root{--bc-blue-10:#f1f8fe;--bc-blue-20:#d8eafd;--bc-blue-30:#c1ddfc;--bc-blue-40:#a8d0fb;--bc-blue-50:#91c4fa;--bc-blue-60:#7ab8f9;--bc-blue-70:#5595d9;--bc-blue-80:#3470b1;--bc-blue-90:#1e5189;--bc-blue-100:#013366;--bc-gold-10:#fef8e8;--bc-gold-20:#fef0d8;--bc-gold-30:#fde9c4;--bc-gold-40:#fce2b0;--bc-gold-50:#fbda9d;--bc-gold-60:#fbd389;--bc-gold-70:#facc75;--bc-gold-80:#f9c462;--bc-gold-90:#f8ba47;--bc-gold-100:#fcba19;--bc-gray-10:#faf9f8;--bc-gray-20:#f3f2f1;--bc-gray-30:#eceae8;--bc-gray-40:#e0dedc;--bc-gray-50:#d1cfcd;--bc-gray-60:#c6c5c3;--bc-gray-70:#9f9d9c;--bc-gray-80:#605e5c;--bc-gray-90:#3d3c3b;--bc-gray-100:#353433;--bc-gray-110:#252423;--bc-gray-white:#fff;--bc-primary-blue:var(--bc-blue-100);--bc-primary-gold:var(--bc-gold-100);--bc-primary-invert:var(--bc-gray-white);--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.1);--ifm-code-font-size:95%;--ifm-color-primary-dark:var(--bc-blue-80);--ifm-color-primary-darker:var(--bc-blue-90);--ifm-color-primary-darkest:var(--bc-blue-100);--ifm-color-primary-light:var(--bc-blue-60);--ifm-color-primary-lighter:var(--bc-blue-50);--ifm-color-primary-lightest:var(--bc-blue-40);--ifm-color-primary:var(--bc-blue-70);--ifm-font-family-base:BC Sans,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-footer-background-color:var(--bc-primary-invert);--ifm-footer-padding-vertical:1rem;--ifm-line-height-base:1.5;--ifm-table-cell-padding:.6rem}a:has(.footer-logo-license){opacity:.9}footer{border-top:.063rem solid var(--bc-gray-50)}.header-github-logo:hover{opacity:.6}.header-github-logo:before{content:"";background:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat;width:1.5rem;height:1.5rem;display:flex}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary-dark)}:root[data-theme=dark]{--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.3);--ifm-breadcrumb-color-active:var(--bc-gold-40);--ifm-color-primary-dark:var(--bc-blue-50);--ifm-color-primary-darker:var(--bc-blue-60);--ifm-color-primary-darkest:var(--bc-blue-70);--ifm-color-primary-light:var(--bc-blue-30);--ifm-color-primary-lighter:var(--bc-blue-20);--ifm-color-primary-lightest:var(--bc-blue-10);--ifm-color-primary:var(--bc-blue-40);--ifm-footer-background-color:var(--bc-primary-blue);--ifm-link-color:var(--bc-gold-40);--ifm-menu-color-active:var(--bc-gold-40);--ifm-navbar-background-color:var(--bc-primary-blue);--ifm-navbar-link-hover-color:var(--bc-gold-40)}[data-theme=dark] footer{border-top:.063rem solid var(--bc-primary-gold)}[data-theme=dark] .header-github-logo:before{background:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat}[data-theme=dark] .navbar{border-bottom:.063rem solid var(--bc-primary-gold)}[data-theme=dark] .table-of-contents__link:hover,[data-theme=dark] .table-of-contents__link--active{color:var(--bc-gold-40)}body:not(.navigation-with-keyboard) :not(input):focus{outline:none}#__docusaurus-base-url-issue-banner-container{display:none}.skipToContent_fXgn{z-index:calc(var(--ifm-z-index-fixed) + 1);padding:calc(var(--ifm-global-spacing)/2)var(--ifm-global-spacing);color:var(--ifm-color-emphasis-900);background-color:var(--ifm-background-surface-color);position:fixed;top:1rem;left:100%}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{padding:0;line-height:0}.content_knG7{text-align:center;padding:5px 0;font-size:85%}.content_knG7 a{color:inherit;text-decoration:underline}:root{--docusaurus-announcement-bar-height:auto}.announcementBar_mb4j{height:var(--docusaurus-announcement-bar-height);background-color:var(--ifm-color-white);color:var(--ifm-color-black);border-bottom:1px solid var(--ifm-color-emphasis-100);align-items:center;display:flex}html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{flex:0 0 30px;align-self:stretch}.announcementBarContent_xLdY{flex:auto}@media print{.announcementBar_mb4j{display:none}}@media (min-width:997px){:root{--docusaurus-announcement-bar-height:30px}.announcementBarPlaceholder_vyr4,.announcementBarClose_gvF7{flex-basis:50px}}.toggle_vylO{width:2rem;height:2rem}.toggleButton_gllP{-webkit-tap-highlight-color:transparent;transition:background var(--ifm-transition-fast);border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}[data-theme=light] .darkToggleIcon_wfgR,[data-theme=dark] .lightToggleIcon_pyhR{display:none}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}.themedComponent_mlkZ{display:none}[data-theme=light] .themedComponent--light_NVdE,[data-theme=dark] .themedComponent--dark_xIcU,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.dropdownNavbarItemMobile_S0Fm{cursor:pointer}.iconLanguage_nlXk{vertical-align:text-bottom;margin-right:5px}.navbarSearchContainer_Bca1:empty{display:none}@media (max-width:996px){.navbarSearchContainer_Bca1{right:var(--ifm-navbar-padding-horizontal);position:absolute}}@media (min-width:997px){.navbarSearchContainer_Bca1{padding:var(--ifm-navbar-item-padding-vertical)var(--ifm-navbar-item-padding-horizontal)}}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast)ease}.navbarHidden_jGov{transform:translateY(calc(-100% - 2px))}@media (max-width:996px){.colorModeToggle_DEke{display:none}}.errorBoundaryError_a6uf{white-space:pre-wrap;color:red}.errorBoundaryFallback_VBag{color:red;padding:.55rem}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover{opacity:1}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none;padding-left:.5rem}.hash-link:before{content:"#"}.hash-link:focus,:hover>.hash-link{opacity:1}html,body{height:100%}.mainWrapper_z2l0{flex-direction:column;flex:1 0 auto;display:flex}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{flex-direction:column;min-height:100%;display:flex}.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);transition:all var(--ifm-transition-fast)ease;transition-property:border,box-shadow;box-shadow:0 1.5px 3px rgba(0,0,0,.15)}.cardContainer_fWXF:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px rgba(0,0,0,.2)}.cardContainer_fWXF :last-child{margin-bottom:0}.cardTitle_rnsV{font-size:1.2rem}.cardDescription_PWke{font-size:.8rem}:root{--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.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);padding:.2rem .5rem .3rem;font-size:90%}.tagWithCount_h2kH{border-left:0;align-items:center;padding:0 .5rem 0 1rem;display:flex;position:relative}.tagWithCount_h2kH:before,.tagWithCount_h2kH:after{content:"";border:1px solid var(--docusaurus-tag-list-border);transition:inherit;position:absolute;top:50%}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;width:1.18rem;height:1.18rem;right:100%;transform:translate(50%,-50%)rotate(-45deg)}.tagWithCount_h2kH:after{border-radius:50%;width:.5rem;height:.5rem;left:0;transform:translateY(-50%)}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);color:var(--ifm-color-black);border-radius:var(--ifm-global-radius);margin-left:.3rem;padding:.1rem .4rem;font-size:.7rem;line-height:1.2}.tags_jXut{display:inline}.tag_QGVx{margin:0 .4rem .5rem 0;display:inline-block}.features_t9lD{align-items:center;width:100%;padding:2rem 0;display:flex}.featureSvg_GfXr{width:200px;height:200px}.heroBanner_qdFl{text-align:center;padding:4rem 0;position:relative;overflow:hidden}@media screen and (max-width:996px){.heroBanner_qdFl{padding:2rem}}.buttons_AeoN{justify-content:center;align-items:center;display:flex}.tag_Nnez{margin:.5rem .5rem 0 1rem;display:inline-block}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);z-index:calc(var(--ifm-z-index-fixed) - 1);box-shadow:var(--ifm-global-shadow-lw);transition:all var(--ifm-transition-fast)var(--ifm-transition-timing-default);opacity:0;visibility:hidden;border-radius:50%;width:3rem;height:3rem;position:fixed;bottom:1.3rem;right:1.3rem;transform:scale(0)}.backToTopButton_sjWU:after{content:" ";-webkit-mask:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem no-repeat;-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;background-color:var(--ifm-color-emphasis-1000);width:100%;height:100%;display:inline-block}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}.backToTopButtonShow_xfvO{opacity:1;visibility:visible;transform:scale(1)}:root{--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1)}[data-theme=dark]:root{--docusaurus-collapse-button-bg:rgba(255,255,255,.05);--docusaurus-collapse-button-bg-hover:rgba(255,255,255,.1)}@media (min-width:997px){.collapseSidebarButton_PEFL{background-color:var(--docusaurus-collapse-button-bg);border:1px solid var(--ifm-toc-border-color);border-radius:0;height:40px;position:sticky;bottom:0;display:block!important}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:hover,.collapseSidebarButton_PEFL:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}}.collapseSidebarButton_PEFL{margin:0;display:none}.menuExternalLink_NmtK{align-items:center}@media (min-width:997px){.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{scrollbar-gutter:stable;padding:.5rem 0 .5rem .5rem}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width);flex-direction:column;height:100%;display:flex}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{margin:0 var(--ifm-navbar-padding-horizontal);min-height:var(--ifm-navbar-height);max-height:var(--ifm-navbar-height);align-items:center;color:inherit!important;text-decoration:none!important;display:flex!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}}.sidebarLogo_isFc{display:none}@media (min-width:997px){.expandButton_TmdG{transition:background-color var(--ifm-transition-fast)ease;background-color:var(--docusaurus-collapse-button-bg);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;right:0}.expandButton_TmdG:hover,.expandButton_TmdG:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}.expandButtonIcon_i1dp{transform:rotate(0)}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}}:root{--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.docSidebarContainer_YfHR{display:none}@media (min-width:997px){.docSidebarContainer_YfHR{width:var(--doc-sidebar-width);margin-top:calc(-1*var(--ifm-navbar-height));border-right:1px solid var(--ifm-toc-border-color);will-change:width;transition:width var(--ifm-transition-fast)ease;clip-path:inset(0);display:block}.docSidebarContainerHidden_DPk8{width:var(--doc-sidebar-hidden-width);cursor:pointer}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}}.docMainContainer_TBSr{width:100%;display:flex}@media (min-width:997px){.docMainContainer_TBSr{max-width:calc(100% - var(--doc-sidebar-width));flex-grow:1}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}.docRoot_UBD9{width:100%;display:flex}.docsWrapper_hBAB{flex:1 0 auto;display:flex}.algolia-docsearch-suggestion{border-bottom-color:#3a3dd1}.algolia-docsearch-suggestion--category-header{background-color:#4b54de}.algolia-docsearch-suggestion--highlight{color:#3a33d1}.algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight{background-color:#4d47d5}.aa-cursor .algolia-docsearch-suggestion--content{color:#272296}.aa-cursor .algolia-docsearch-suggestion{background:#ebebfb}@media (min-width:768px){.algolia-docsearch-suggestion{border-bottom-color:#7671df}.algolia-docsearch-suggestion--subcategory-column{color:#4e4726;border-right-color:#7671df}}.searchbox{white-space:nowrap;box-sizing:border-box;width:200px;display:inline-block;position:relative;visibility:visible!important;height:32px!important}.searchbox .algolia-autocomplete{width:100%;height:100%;display:block}.searchbox__wrapper{z-index:999;width:100%;height:100%;position:relative}.searchbox__input{box-sizing:border-box;vertical-align:middle;white-space:normal;appearance:none;border:0;border-radius:16px;width:100%;height:100%;padding:0 26px 0 32px;font-size:12px;transition:box-shadow .4s,background .4s;display:inline-block;box-shadow:inset 0 0 0 1px #ccc;background:#fff!important}.searchbox__input::-webkit-search-decoration{display:none}.searchbox__input::-webkit-search-cancel-button{display:none}.searchbox__input::-webkit-search-results-button{display:none}.searchbox__input::-webkit-search-results-decoration{display:none}.searchbox__input:hover{box-shadow:inset 0 0 0 1px #b3b3b3}.searchbox__input:focus,.searchbox__input:active{background:#fff;outline:0;box-shadow:inset 0 0 0 1px #aaa}.searchbox__input::placeholder{color:#aaa}.searchbox__submit{vertical-align:middle;text-align:center;font-size:inherit;-webkit-user-select:none;user-select:none;top:0;right:inherit;background-color:rgba(69,142,225,0);border:0;border-radius:16px 0 0 16px;width:32px;height:100%;margin:0;padding:0;position:absolute;left:0}.searchbox__submit:before{vertical-align:middle;content:"";height:100%;margin-right:-4px;display:inline-block}.searchbox__submit:hover,.searchbox__submit:active{cursor:pointer}.searchbox__submit:focus{outline:0}.searchbox__submit svg{vertical-align:middle;fill:#6d7e96;width:14px;height:14px}.searchbox__reset{cursor:pointer;font-size:inherit;-webkit-user-select:none;user-select:none;fill:rgba(0,0,0,.5);background:0 0;border:0;margin:0;padding:0;display:block;position:absolute;top:8px;right:8px}.searchbox__reset.hide{display:none}.searchbox__reset:focus{outline:0}.searchbox__reset svg{width:8px;height:8px;margin:4px;display:block}.searchbox__input:valid~.searchbox__reset{animation-name:sbx-reset-in;animation-duration:.15s;display:block}@keyframes sbx-reset-in{0%{opacity:0;transform:translate(-20%)}to{opacity:1;transform:none}}.algolia-autocomplete .ds-dropdown-menu:before{content:"";z-index:1000;background:#373940;border-top:1px solid #373940;border-right:1px solid #373940;border-radius:2px;width:14px;height:14px;display:block;position:absolute;top:-7px;transform:rotate(-45deg)}.algolia-autocomplete .ds-dropdown-menu{box-shadow:0 1px rgba(0,0,0,.2),0 2px 3px rgba(0,0,0,.1)}@media (min-width:601px){.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu{right:0!important;left:inherit!important}.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu:before{right:48px}.algolia-autocomplete .ds-dropdown-menu{text-align:left;z-index:999;background:0 0;border:none;border-radius:4px;min-width:500px;max-width:600px;height:auto;margin:6px 0 0;padding:0;position:relative;top:-6px}}@media (max-width:600px){.algolia-autocomplete .ds-dropdown-menu{z-index:100;width:600px;max-width:calc(100% - 2rem);max-height:calc(100% - 5rem);display:block;position:fixed!important;top:50px!important;left:auto!important;right:1rem!important}.algolia-autocomplete .ds-dropdown-menu:before{right:6rem}}.algolia-autocomplete .ds-dropdown-menu .ds-suggestions{z-index:1000;position:relative}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion{cursor:pointer}.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-]{background:#fff;border-radius:4px;padding:0;position:relative;overflow:auto}.algolia-autocomplete .ds-dropdown-menu *{box-sizing:border-box}.algolia-autocomplete .algolia-docsearch-suggestion{padding:0;text-decoration:none;display:block;position:relative;overflow:hidden}.algolia-autocomplete .ds-cursor .algolia-docsearch-suggestion--wrapper{background:#f1f1f1;box-shadow:inset -2px 0 #61dafb}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{background:#ffe564;padding:.1em .05em}.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl0 .algolia-docsearch-suggestion--highlight,.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl1 .algolia-docsearch-suggestion--highlight{color:inherit;background:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{background:inherit;color:inherit;padding:0 0 1px;box-shadow:inset 0 -2px rgba(69,142,225,.8)}.algolia-autocomplete .algolia-docsearch-suggestion--content{float:right;cursor:pointer;width:70%;padding:5.33333px 0 5.33333px 10.6667px;display:block;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion--content:before{content:"";background:#ececec;width:1px;height:100%;display:block;position:absolute;top:0;left:-1px}.algolia-autocomplete .algolia-docsearch-suggestion--category-header{letter-spacing:.08em;text-transform:uppercase;color:#fff;background-color:#373940;margin:0;padding:5px 8px;font-size:14px;font-weight:700;display:none;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion--wrapper{float:left;background-color:#fff;width:100%;padding:8px 0 0}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{float:left;text-align:right;color:#777;word-wrap:break-word;width:30%;padding:5.33333px 10.6667px;font-size:.9em;display:none;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column:before{content:"";background:#ececec;width:1px;height:100%;display:block;position:absolute;top:0;right:0}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header,.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary{display:block}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight{background-color:inherit;color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--title{color:#02060c;margin-bottom:4px;font-size:.9em;font-weight:700}.algolia-autocomplete .algolia-docsearch-suggestion--text{color:#63676d;padding-right:2px;font-size:.85em;line-height:1.2em;display:block}.algolia-autocomplete .algolia-docsearch-suggestion--version{color:#a6aab1;padding-top:2px;padding-right:2px;font-size:.65em;display:block}.algolia-autocomplete .algolia-docsearch-suggestion--no-results{text-align:center;background-color:#373940;width:100%;margin-top:-8px;padding:8px 0;font-size:1.2em}.algolia-autocomplete .algolia-docsearch-suggestion--no-results .algolia-docsearch-suggestion--text{color:#fff;margin-top:4px}.algolia-autocomplete .algolia-docsearch-suggestion--no-results:before{display:none}.algolia-autocomplete .algolia-docsearch-suggestion code{color:#222;background-color:#ebebeb;border:none;border-radius:3px;padding:1px 5px;font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:90%}.algolia-autocomplete .algolia-docsearch-suggestion code .algolia-docsearch-suggestion--highlight{background:0 0}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header{color:#fff;display:block}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--subcategory-column{display:block}.algolia-autocomplete .algolia-docsearch-footer{z-index:2000;float:right;background-color:#fff;width:100%;height:30px;font-size:0;line-height:0}.algolia-autocomplete .algolia-docsearch-footer--logo{text-indent:-9000px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 18'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='-36.87%25' x2='129.43%25' y1='134.94%25' y2='-27.7%25'%3E%3Cstop stop-color='%252300AEFF' offset='0%25'/%3E%3Cstop stop-color='%25233369E7' offset='100%25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='url(%2523a)' d='M59.4.02h13.3a2.37 2.37 0 0 1 2.38 2.37V15.6a2.37 2.37 0 0 1-2.38 2.36H59.4a2.37 2.37 0 0 1-2.38-2.36V2.38A2.37 2.37 0 0 1 59.4.02z'/%3E%3Cpath fill='%2523FFF' d='M66.26 4.56c-2.82 0-5.1 2.27-5.1 5.08 0 2.8 2.28 5.07 5.1 5.07 2.8 0 5.1-2.26 5.1-5.07 0-2.8-2.28-5.07-5.1-5.07zm0 8.65c-2 0-3.6-1.6-3.6-3.56 0-1.97 1.6-3.58 3.6-3.58 1.98 0 3.6 1.6 3.6 3.58a3.58 3.58 0 0 1-3.6 3.57zm0-6.4v2.66c0 .07.08.13.15.1l2.4-1.24c.04-.02.06-.1.03-.14a2.96 2.96 0 0 0-2.46-1.5c-.06 0-.1.05-.1.1zm-3.33-1.96l-.3-.3a.78.78 0 0 0-1.12 0l-.36.36a.77.77 0 0 0 0 1.1l.3.3c.05.05.13.04.17 0 .2-.25.4-.5.6-.7.23-.23.46-.43.7-.6.07-.04.07-.1.03-.16zm5-.8V3.4a.78.78 0 0 0-.78-.78h-1.83a.78.78 0 0 0-.78.78v.63c0 .07.06.12.14.1a5.74 5.74 0 0 1 1.58-.22c.52 0 1.04.07 1.54.2a.1.1 0 0 0 .13-.1z'/%3E%3Cpath fill='%2523182359' d='M102.16 13.76c0 1.46-.37 2.52-1.12 3.2-.75.67-1.9 1-3.44 1-.56 0-1.74-.1-2.67-.3l.34-1.7c.78.17 1.82.2 2.36.2.86 0 1.48-.16 1.84-.5.37-.36.55-.88.55-1.57v-.35a6.37 6.37 0 0 1-.84.3 4.15 4.15 0 0 1-1.2.17 4.5 4.5 0 0 1-1.6-.28 3.38 3.38 0 0 1-1.26-.82 3.74 3.74 0 0 1-.8-1.35c-.2-.54-.3-1.5-.3-2.2 0-.67.1-1.5.3-2.06a3.92 3.92 0 0 1 .9-1.43 4.12 4.12 0 0 1 1.45-.92 5.3 5.3 0 0 1 1.94-.37c.7 0 1.35.1 1.97.2a15.86 15.86 0 0 1 1.6.33v8.46zm-5.95-4.2c0 .9.2 1.88.6 2.3.4.4.9.62 1.53.62.34 0 .66-.05.96-.15a2.75 2.75 0 0 0 .73-.33V6.7a8.53 8.53 0 0 0-1.42-.17c-.76-.02-1.36.3-1.77.8-.4.5-.62 1.4-.62 2.23zm16.13 0c0 .72-.1 1.26-.32 1.85a4.4 4.4 0 0 1-.9 1.53c-.38.42-.85.75-1.4.98-.54.24-1.4.37-1.8.37-.43 0-1.27-.13-1.8-.36a4.1 4.1 0 0 1-1.4-.97 4.5 4.5 0 0 1-.92-1.52 5.04 5.04 0 0 1-.33-1.84c0-.72.1-1.4.32-2 .22-.6.53-1.1.92-1.5.4-.43.86-.75 1.4-.98a4.55 4.55 0 0 1 1.78-.34 4.7 4.7 0 0 1 1.8.34c.54.23 1 .55 1.4.97.38.42.68.92.9 1.5.23.6.35 1.3.35 2zm-2.2 0c0-.92-.2-1.7-.6-2.22-.38-.54-.94-.8-1.64-.8-.72 0-1.27.26-1.67.8-.4.54-.58 1.3-.58 2.22 0 .93.2 1.56.6 2.1.38.54.94.8 1.64.8s1.25-.26 1.65-.8c.4-.55.6-1.17.6-2.1zm6.97 4.7c-3.5.02-3.5-2.8-3.5-3.27L113.57.92l2.15-.34v10c0 .25 0 1.87 1.37 1.88v1.8zm3.77 0h-2.15v-9.2l2.15-.33v9.54zM119.8 3.74c.7 0 1.3-.58 1.3-1.3 0-.7-.58-1.3-1.3-1.3-.73 0-1.3.6-1.3 1.3 0 .72.58 1.3 1.3 1.3zm6.43 1c.7 0 1.3.1 1.78.27.5.18.88.42 1.17.73.28.3.5.74.6 1.18.13.46.2.95.2 1.5v5.47a25.24 25.24 0 0 1-1.5.25c-.67.1-1.42.15-2.25.15a6.83 6.83 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.37-.27-.9-.27-1.44 0-.52.1-.85.3-1.2.2-.37.48-.67.83-.9a3.6 3.6 0 0 1 1.23-.5 7.07 7.07 0 0 1 2.2-.1l.83.16v-.35c0-.25-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.18-.34-.3-.58-.4a2.54 2.54 0 0 0-.92-.17c-.5 0-.94.06-1.35.13-.4.08-.75.16-1 .25l-.27-1.74c.27-.1.67-.18 1.2-.28a9.34 9.34 0 0 1 1.65-.14zm.18 7.74c.66 0 1.15-.04 1.5-.1V10.2a5.1 5.1 0 0 0-2-.1c-.23.03-.45.1-.64.2a1.17 1.17 0 0 0-.47.38c-.13.17-.18.26-.18.52 0 .5.17.8.5.98.32.2.74.3 1.3.3zM84.1 4.8c.72 0 1.3.08 1.8.26.48.17.87.42 1.15.73.3.3.5.72.6 1.17.14.45.2.94.2 1.47v5.48a25.24 25.24 0 0 1-1.5.26c-.67.1-1.42.14-2.25.14a6.83 6.83 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.38-.27-.9-.27-1.44 0-.53.1-.86.3-1.22.2-.36.5-.65.84-.88a3.6 3.6 0 0 1 1.24-.5 7.07 7.07 0 0 1 2.2-.1c.26.03.54.08.84.15v-.35c0-.24-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.17-.34-.3-.58-.4a2.54 2.54 0 0 0-.9-.15c-.5 0-.96.05-1.37.12-.4.07-.75.15-1 .24l-.26-1.75c.27-.08.67-.17 1.18-.26a8.9 8.9 0 0 1 1.66-.15zm.2 7.73c.65 0 1.14-.04 1.48-.1v-2.17a5.1 5.1 0 0 0-1.98-.1c-.24.03-.46.1-.65.18a1.17 1.17 0 0 0-.47.4c-.12.17-.17.26-.17.52 0 .5.18.8.5.98.32.2.75.3 1.3.3zm8.68 1.74c-3.5 0-3.5-2.82-3.5-3.28L89.45.92 91.6.6v10c0 .25 0 1.87 1.38 1.88v1.8z'/%3E%3Cpath fill='%25231D3657' d='M5.03 11.03c0 .7-.26 1.24-.76 1.64-.5.4-1.2.6-2.1.6-.88 0-1.6-.14-2.17-.42v-1.2c.36.16.74.3 1.14.38.4.1.78.15 1.13.15.5 0 .88-.1 1.12-.3a.94.94 0 0 0 .35-.77.98.98 0 0 0-.33-.74c-.22-.2-.68-.44-1.37-.72-.72-.3-1.22-.62-1.52-1C.23 8.27.1 7.82.1 7.3c0-.65.22-1.17.7-1.55.46-.37 1.08-.56 1.86-.56.76 0 1.5.16 2.25.48l-.4 1.05c-.7-.3-1.32-.44-1.87-.44-.4 0-.73.08-.94.26a.9.9 0 0 0-.33.72c0 .2.04.38.12.52.08.15.22.3.42.4.2.14.55.3 1.06.52.58.24 1 .47 1.27.67.27.2.47.44.6.7.12.26.18.57.18.92zM9 13.27c-.92 0-1.64-.27-2.16-.8-.52-.55-.78-1.3-.78-2.24 0-.97.24-1.73.72-2.3.5-.54 1.15-.82 2-.82.78 0 1.4.25 1.85.72.46.48.7 1.14.7 1.97v.67H7.35c0 .58.17 1.02.46 1.33.3.3.7.47 1.24.47.36 0 .68-.04.98-.1a5.1 5.1 0 0 0 .98-.33v1.02a3.87 3.87 0 0 1-.94.32 5.72 5.72 0 0 1-1.08.1zm-.22-5.2c-.4 0-.73.12-.97.38s-.37.62-.42 1.1h2.7c0-.48-.13-.85-.36-1.1-.23-.26-.54-.38-.94-.38zm7.7 5.1l-.26-.84h-.05c-.28.36-.57.6-.86.74-.28.13-.65.2-1.1.2-.6 0-1.05-.16-1.38-.48-.32-.32-.5-.77-.5-1.34 0-.62.24-1.08.7-1.4.45-.3 1.14-.47 2.07-.5l1.02-.03V9.2c0-.37-.1-.65-.27-.84-.17-.2-.45-.28-.82-.28-.3 0-.6.04-.88.13a6.68 6.68 0 0 0-.8.33l-.4-.9a4.4 4.4 0 0 1 1.05-.4 4.86 4.86 0 0 1 1.08-.12c.76 0 1.33.18 1.7.5.4.33.6.85.6 1.56v4h-.9zm-1.9-.87c.47 0 .83-.13 1.1-.38.3-.26.43-.62.43-1.08v-.52l-.76.03c-.6.03-1.02.13-1.3.3s-.4.45-.4.82c0 .26.08.47.24.6.16.16.4.23.7.23zm7.57-5.2c.25 0 .46.03.62.06l-.12 1.18a2.38 2.38 0 0 0-.56-.06c-.5 0-.92.16-1.24.5-.3.32-.47.75-.47 1.27v3.1h-1.27V7.23h1l.16 1.05h.05c.2-.36.45-.64.77-.85a1.83 1.83 0 0 1 1.02-.3zm4.12 6.17c-.9 0-1.58-.27-2.05-.8-.47-.52-.7-1.27-.7-2.25 0-1 .24-1.77.73-2.3.5-.54 1.2-.8 2.12-.8.63 0 1.2.1 1.7.34l-.4 1c-.52-.2-.96-.3-1.3-.3-1.04 0-1.55.68-1.55 2.05 0 .67.13 1.17.38 1.5.26.34.64.5 1.13.5a3.23 3.23 0 0 0 1.6-.4v1.1a2.53 2.53 0 0 1-.73.28 4.36 4.36 0 0 1-.93.08zm8.28-.1h-1.27V9.5c0-.45-.1-.8-.28-1.02-.18-.23-.47-.34-.88-.34-.53 0-.9.16-1.16.48-.25.3-.38.85-.38 1.6v2.94h-1.26V4.8h1.26v2.12c0 .34-.02.7-.06 1.1h.08a1.76 1.76 0 0 1 .72-.67c.3-.16.66-.24 1.07-.24 1.43 0 2.15.74 2.15 2.2v3.86zM42.2 7.1c.74 0 1.32.28 1.73.82.4.53.62 1.3.62 2.26 0 .97-.2 1.73-.63 2.27-.42.54-1 .82-1.75.82s-1.33-.27-1.75-.8h-.08l-.23.7h-.94V4.8h1.26v2l-.02.64-.03.56h.05c.4-.6 1-.9 1.78-.9zm-.33 1.04c-.5 0-.88.15-1.1.45-.22.3-.34.8-.35 1.5v.08c0 .72.12 1.24.35 1.57.23.32.6.48 1.12.48.44 0 .78-.17 1-.53.24-.35.36-.87.36-1.53 0-1.35-.47-2.03-1.4-2.03zm3.24-.92h1.4l1.2 3.37c.18.47.3.92.36 1.34h.04l.18-.72 1.37-4H51l-2.53 6.73c-.46 1.23-1.23 1.85-2.3 1.85-.3 0-.56-.03-.83-.1v-1c.2.05.4.08.65.08.6 0 1.03-.36 1.28-1.06l.22-.56-2.4-5.94z'/%3E%3C/g%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100%;width:110px;height:100%;margin-left:auto;margin-right:5px;display:block;overflow:hidden}html[data-theme=dark] .algolia-docsearch-suggestion--category-header,html[data-theme=dark] .algolia-docsearch-suggestion--wrapper,html[data-theme=dark] .algolia-docsearch-footer{background:var(--ifm-background-color)!important;color:var(--ifm-font-color-base)!important}html[data-theme=dark] .algolia-docsearch-suggestion--title{color:var(--ifm-font-color-base)!important}html[data-theme=dark] .ds-cursor .algolia-docsearch-suggestion--wrapper{background:var(--ifm-background-surface-color)!important}mark{background-color:#add8e6}.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color);margin-bottom:var(--ifm-leading);box-shadow:var(--ifm-global-shadow-lw);border-radius:var(--ifm-code-border-radius)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);font-size:var(--ifm-code-font-size);padding:.75rem var(--ifm-pre-padding);border-top-left-radius:inherit;border-top-right-radius:inherit;font-weight:500}.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}.codeBlockStandalone_MEMb{padding:0}.codeBlockLines_e6Vv{font:inherit;float:left;padding:var(--ifm-pre-padding);min-width:100%}.codeBlockLinesWithNumbering_o6Pm{padding:var(--ifm-pre-padding)0;display:table}@media print{.codeBlockLines_e6Vv{white-space:pre-wrap}}.buttonGroup__atx{right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2);column-gap:.2rem;display:flex;position:absolute}.buttonGroup__atx button{background:var(--prism-background-color);color:var(--prism-color);border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);transition:opacity var(--ifm-transition-fast)ease-in-out;opacity:0;align-items:center;padding:.4rem;line-height:0;display:flex}.buttonGroup__atx button:hover{opacity:1!important}.buttonGroup__atx button:focus-visible{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);margin:0 calc(-1*var(--ifm-pre-padding));padding:0 var(--ifm-pre-padding);display:block}.codeLine_lJS_{counter-increment:line-count;display:table-row}.codeLineNumber_Tfdd{text-align:right;padding:0 var(--ifm-pre-padding);background:var(--ifm-pre-background);overflow-wrap:normal;width:1%;display:table-cell;position:sticky;left:0}.codeLineNumber_Tfdd:before{content:counter(line-count);opacity:.4}.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{width:1.125rem;height:1.125rem;position:relative}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;opacity:inherit;width:inherit;height:inherit;transition:all var(--ifm-transition-fast)ease;position:absolute;top:0;left:0}.copyButtonSuccessIcon_LjdS{opacity:0;color:#00d600;top:50%;left:50%;transform:translate(-50%,-50%)scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transition-delay:75ms;transform:translate(-50%,-50%)scale(1)}.wordWrapButtonIcon_Bwma{width:1.2rem;height:1.2rem}.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.details_lb9f{--docusaurus-details-summary-arrow-size:.38rem;--docusaurus-details-transition:transform .2s ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;list-style:none;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{content:"";border-width:var(--docusaurus-details-summary-arrow-size);border-style:solid;border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);transition:var(--docusaurus-details-transition);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2)50%;position:absolute;top:.45rem;left:0;transform:rotate(0)}.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before{transform:rotate(90deg)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child{margin-bottom:0}.iconEdit_Z9Sw{vertical-align:sub;margin-right:.3em}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast)ease;margin:0 0 var(--ifm-spacing-vertical);border:1px solid var(--ifm-alert-border-color)}.tabItem_Ymn6>:last-child{margin-bottom:0}.tabList__CuJ{margin-bottom:var(--ifm-leading)}.tabItem_LNqP{margin-top:0!important}.required_k7Xu{font-size:var(--ifm-code-font-size);color:var(--ifm-color-danger)}.deprecated_iwIh{font-size:var(--ifm-code-font-size);color:var(--ifm-color-warning)}.readOnly_RjRF{font-size:var(--ifm-code-font-size);color:var(--ifm-color-info-darker)}.writeOnly_QX6I{font-size:var(--ifm-code-font-size);color:var(--ifm-color-primary-darker)}.constant_erHY{font-size:var(--ifm-code-font-size);color:var(--ifm-color-secondary-darkest)}.schemaItem_buZn{padding:5px 0 5px 1rem;list-style:none;position:relative;border-left:thin solid var(--ifm-color-gray-500)!important;margin:0!important}.schemaItem_buZn:hover,.schemaItem_buZn:focus{background-color:var(--ifm-menu-color-background-active)}[class^=schemaItem]:before{border-bottom:thin solid var(--ifm-color-gray-500);content:"";vertical-align:top;width:.7rem;height:.5rem;display:inline-block;position:absolute;top:10px;left:0}.schemaName_Rg3q{opacity:.6}.strikethrough_g4yO{text-decoration:line-through}.lastUpdated_JAkA{margin-top:.2rem;font-size:smaller;font-style:italic}@media (min-width:997px){.lastUpdated_JAkA{text-align:right}}.tocCollapsibleButton_TO0P{font-size:inherit;justify-content:space-between;align-items:center;width:100%;padding:.4rem .8rem;display:flex}.tocCollapsibleButton_TO0P:after{content:"";background:var(--ifm-menu-link-sublist-icon)50% 50%/2rem 2rem no-repeat;filter:var(--ifm-menu-link-sublist-icon-filter);transition:transform var(--ifm-transition-fast);width:1.25rem;height:1.25rem;transform:rotate(180deg)}.tocCollapsibleButtonExpanded_MG3E:after{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);padding:.2rem 0;font-size:15px}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tocCollapsibleExpanded_sAul{transform:none}@media (min-width:997px){.tocMobile_ITEo{display:none}}@media print{.tocMobile_ITEo{display:none}}.containsTaskList_mC6p{list-style:none}:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.img_ev3q{height:auto}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight)var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{vertical-align:middle;margin-right:.4em;display:inline-block}.admonitionIcon_Rf37 svg{fill:var(--ifm-alert-foreground-color);width:1.6em;height:1.6em;display:inline-block}.admonitionContent_BuS1>:last-child{margin-bottom:0}.tableOfContents_bqdL{max-height:calc(100vh - (var(--ifm-navbar-height) + 2rem));top:calc(var(--ifm-navbar-height) + 1rem);position:sticky;overflow-y:auto}@media (max-width:996px){.tableOfContents_bqdL{display:none}.docItemContainer_F8PC{padding:0 .3rem}}.container_lyt7,.container_lyt7>svg{max-width:100%}.breadcrumbHomeIcon_YNFT{vertical-align:top;width:1.1rem;height:1.1rem;position:relative;top:1px}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:.8;margin-bottom:.8rem}@media (min-width:997px){.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(1.25*var(--ifm-leading))}.list_eTzJ article:last-child{margin-bottom:0!important}.docItemContainer_Djhp header+*,.docItemContainer_Djhp article>:first-child{margin-top:0}@media (min-width:997px){.docItemCol_VOVn{max-width:75%!important}}.mdxPageWrapper_j9I6{justify-content:center} \ No newline at end of file diff --git a/pr-preview/pr-3/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png b/pr-preview/pr-3/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png new file mode 100644 index 0000000..97e4164 Binary files /dev/null and b/pr-preview/pr-3/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png differ diff --git a/pr-preview/pr-3/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png b/pr-preview/pr-3/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png new file mode 100644 index 0000000..e257edc Binary files /dev/null and b/pr-preview/pr-3/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png differ diff --git a/pr-preview/pr-3/assets/js/1173.5f14408a.js b/pr-preview/pr-3/assets/js/1173.5f14408a.js new file mode 100644 index 0000000..8e1ea2e --- /dev/null +++ b/pr-preview/pr-3/assets/js/1173.5f14408a.js @@ -0,0 +1,134 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1173"],{98711:function(t,e,i){i.d(e,{AD:function(){return u},AE:function(){return o},Mu:function(){return a},O:function(){return s},kc:function(){return h},rB:function(){return c},yU:function(){return l}});var r=i(5995),n=i(17967),a=(0,r.eW)((t,e)=>{let i=t.append("rect");if(i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),e.name&&i.attr("name",e.name),e.rx&&i.attr("rx",e.rx),e.ry&&i.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)i.attr(t,e.attrs[t]);return e.class&&i.attr("class",e.class),i},"drawRect"),s=(0,r.eW)((t,e)=>{a(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),l=(0,r.eW)((t,e)=>{let i=e.text.replace(r.Vw," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),e.class&&n.attr("class",e.class);let a=n.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(i),n},"drawText"),o=(0,r.eW)((t,e,i,r)=>{let a=t.append("image");a.attr("x",e),a.attr("y",i);let s=(0,n.sanitizeUrl)(r);a.attr("xlink:href",s)},"drawImage"),c=(0,r.eW)((t,e,i,r)=>{let a=t.append("use");a.attr("x",e),a.attr("y",i);let s=(0,n.sanitizeUrl)(r);a.attr("xlink:href",`#${s}`)},"drawEmbeddedImage"),h=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),u=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},74160:function(t,e,i){i.d(e,{diagram:function(){return Y}});var r=i(98711),n=i(5995),a=i(27818),s=function(){var t=(0,n.eW)(function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},"o"),e=[6,8,10,11,12,14,16,17,18],i=[1,9],r=[1,10],a=[1,11],s=[1,12],l=[1,13],o=[1,14],c={trace:(0,n.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:(0,n.eW)(function(t,e,i,r,n,a,s){var l=a.length-1;switch(n){case 1:return a[l-1];case 2:case 6:case 7:this.$=[];break;case 3:a[l-1].push(a[l]),this.$=a[l-1];break;case 4:case 5:this.$=a[l];break;case 8:r.setDiagramTitle(a[l].substr(6)),this.$=a[l].substr(6);break;case 9:this.$=a[l].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[l].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[l].substr(8)),this.$=a[l].substr(8);break;case 13:r.addTask(a[l-1],a[l]),this.$="task"}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:r,14:a,16:s,17:l,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:r,14:a,16:s,17:l,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,n.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,n.eW)(function(t){var e=this,i=[0],r=[],a=[null],s=[],l=this.table,o="",c=0,h=0,u=0,y=s.slice.call(arguments,1),p=Object.create(this.lexer),d={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(d.yy[f]=this.yy[f]);p.setInput(t,d.yy),d.yy.lexer=p,d.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;s.push(g);var x=p.options&&p.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function m(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,n.eW)(function(t){i.length=i.length-2*t,a.length=a.length-t,s.length=s.length-t},"popStack"),(0,n.eW)(m,"lex");for(var k,_,b,W,v,w,$,M,T,S={};;){if(b=i[i.length-1],this.defaultActions[b]?W=this.defaultActions[b]:(null==k&&(k=m()),W=l[b]&&l[b][k]),void 0===W||!W.length||!W[0]){var E="";for(w in T=[],l[b])this.terminals_[w]&&w>2&&T.push("'"+this.terminals_[w]+"'");E=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(E,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:g,expected:T})}if(W[0]instanceof Array&&W.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+k);switch(W[0]){case 1:i.push(k),a.push(p.yytext),s.push(p.yylloc),i.push(W[1]),k=null,_?(k=_,_=null):(h=p.yyleng,o=p.yytext,c=p.yylineno,g=p.yylloc,u>0&&u--);break;case 2:if($=this.productions_[W[1]][1],S.$=a[a.length-$],S._$={first_line:s[s.length-($||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-($||1)].first_column,last_column:s[s.length-1].last_column},x&&(S._$.range=[s[s.length-($||1)].range[0],s[s.length-1].range[1]]),void 0!==(v=this.performAction.apply(S,[o,h,c,d.yy,W[1],a,s].concat(y))))return v;$&&(i=i.slice(0,-1*$*2),a=a.slice(0,-1*$),s=s.slice(0,-1*$)),i.push(this.productions_[W[1]][0]),a.push(S.$),s.push(S._$),M=l[i[i.length-2]][i[i.length-1]],i.push(M);break;case 3:return!0}}return!0},"parse")},h={EOF:1,parseError:(0,n.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,n.eW)(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},"setInput"),input:(0,n.eW)(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},"input"),unput:(0,n.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,n.eW)(function(){return this._more=!0,this},"more"),reject:(0,n.eW)(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})},"reject"),less:(0,n.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,n.eW)(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,"")},"upcomingInput"),showPosition:(0,n.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,n.eW)(function(t,e){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var a in n)this[a]=n[a];return!1},"test_match"),next:(0,n.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,r,n=this._currentRules(),a=0;ae[0].length)){if(e=i,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[a])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,n[r]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,n.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,n.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,n.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.eW)(function(t,e,i,r){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\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:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};function u(){this.yy={}}return c.lexer=h,(0,n.eW)(u,"Parser"),u.prototype=c,c.Parser=u,new u}();s.parser=s;var l="",o=[],c=[],h=[],u=(0,n.eW)(function(){o.length=0,c.length=0,l="",h.length=0,(0,n.ZH)()},"clear"),y=(0,n.eW)(function(t){l=t,o.push(t)},"addSection"),p=(0,n.eW)(function(){return o},"getSections"),d=(0,n.eW)(function(){let t=m(),e=0;for(;!t&&e<100;)t=m(),e++;return c.push(...h),c},"getTasks"),f=(0,n.eW)(function(){let t=[];return c.forEach(e=>{e.people&&t.push(...e.people)}),[...new Set(t)].sort()},"updateActors"),g=(0,n.eW)(function(t,e){let i=e.substr(1).split(":"),r=0,n=[];1===i.length?(r=Number(i[0]),n=[]):(r=Number(i[0]),n=i[1].split(","));let a=n.map(t=>t.trim()),s={section:l,type:l,people:a,task:t,score:r};h.push(s)},"addTask"),x=(0,n.eW)(function(t){let e={section:l,type:l,description:t,task:t,classes:[]};c.push(e)},"addTaskOrg"),m=(0,n.eW)(function(){let t=(0,n.eW)(function(t){return h[t].processed},"compileTask"),e=!0;for(let[i,r]of h.entries())t(i),e=e&&r.processed;return e},"compileTasks"),k=(0,n.eW)(function(){return f()},"getActors"),_={getConfig:(0,n.eW)(()=>(0,n.nV)().journey,"getConfig"),clear:u,setDiagramTitle:n.g2,getDiagramTitle:n.Kr,setAccTitle:n.GN,getAccTitle:n.eu,setAccDescription:n.U$,getAccDescription:n.Mx,addSection:y,getSections:p,getTasks:d,addTask:g,addTaskOrg:x,getActors:k},b=(0,n.eW)(t=>`.label { + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + color: ${t.textColor}; + } + .mouth { + stroke: #666; + } + + line { + stroke: ${t.textColor} + } + + .legend { + fill: ${t.textColor}; + } + + .label text { + fill: #333; + } + .label { + color: ${t.textColor} + } + + .face { + ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"}; + stroke: #999; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: 1px; + } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${t.arrowheadColor}; + } + + .edgePath .path { + stroke: ${t.lineColor}; + stroke-width: 1.5px; + } + + .flowchart-link { + stroke: ${t.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${t.edgeLabelBackground}; + rect { + opacity: 0.5; + } + text-align: center; + } + + .cluster rect { + } + + .cluster text { + fill: ${t.titleColor}; + } + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + font-size: 12px; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .task-type-0, .section-type-0 { + ${t.fillType0?`fill: ${t.fillType0}`:""}; + } + .task-type-1, .section-type-1 { + ${t.fillType0?`fill: ${t.fillType1}`:""}; + } + .task-type-2, .section-type-2 { + ${t.fillType0?`fill: ${t.fillType2}`:""}; + } + .task-type-3, .section-type-3 { + ${t.fillType0?`fill: ${t.fillType3}`:""}; + } + .task-type-4, .section-type-4 { + ${t.fillType0?`fill: ${t.fillType4}`:""}; + } + .task-type-5, .section-type-5 { + ${t.fillType0?`fill: ${t.fillType5}`:""}; + } + .task-type-6, .section-type-6 { + ${t.fillType0?`fill: ${t.fillType6}`:""}; + } + .task-type-7, .section-type-7 { + ${t.fillType0?`fill: ${t.fillType7}`:""}; + } + + .actor-0 { + ${t.actor0?`fill: ${t.actor0}`:""}; + } + .actor-1 { + ${t.actor1?`fill: ${t.actor1}`:""}; + } + .actor-2 { + ${t.actor2?`fill: ${t.actor2}`:""}; + } + .actor-3 { + ${t.actor3?`fill: ${t.actor3}`:""}; + } + .actor-4 { + ${t.actor4?`fill: ${t.actor4}`:""}; + } + .actor-5 { + ${t.actor5?`fill: ${t.actor5}`:""}; + } +`,"getStyles"),W=(0,n.eW)(function(t,e){return(0,r.Mu)(t,e)},"drawRect"),v=(0,n.eW)(function(t,e){let i=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 s(t){let i=(0,a.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function l(t){let i=(0,a.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).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 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"),(0,n.eW)(s,"smile"),(0,n.eW)(l,"sad"),(0,n.eW)(o,"ambivalent"),e.score>3?s(r):e.score<3?l(r):o(r),i},"drawFace"),w=(0,n.eW)(function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},"drawCircle"),$=(0,n.eW)(function(t,e){return(0,r.yU)(t,e)},"drawText"),M=(0,n.eW)(function(t,e){function i(t,e,i,r,n){return t+","+e+" "+(t+i)+","+e+" "+(t+i)+","+(e+r-n)+" "+(t+i-1.2*n)+","+(e+r)+" "+t+","+(e+r)}(0,n.eW)(i,"genPoints");let r=t.append("polygon");r.attr("points",i(e.x,e.y,50,20,7)),r.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,$(t,e)},"drawLabel"),T=(0,n.eW)(function(t,e,i){let n=t.append("g"),a=(0,r.kc)();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=i.width*e.taskCount+i.diagramMarginX*(e.taskCount-1),a.height=i.height,a.class="journey-section section-type-"+e.num,a.rx=3,a.ry=3,W(n,a),I(i)(e.text,n,a.x,a.y,a.width,a.height,{class:"journey-section section-type-"+e.num},i,e.colour)},"drawSection"),S=-1,E=(0,n.eW)(function(t,e,i){let n=e.x+i.width/2,a=t.append("g");S++;a.append("line").attr("id","task"+S).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),v(a,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=(0,r.kc)();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width,s.height=i.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,W(a,s);let l=e.x+14;e.people.forEach(t=>{let i=e.actors[t].color;w(a,{cx:l,cy:e.y,r:7,fill:i,stroke:"#000",title:t,pos:e.actors[t].position}),l+=10}),I(i)(e.task,a,s.x,s.y,s.width,s.height,{class:"task"},i,e.colour)},"drawTask"),A=(0,n.eW)(function(t,e){(0,r.O)(t,e)},"drawBackgroundRect"),I=function(){function t(t,e,i,n,a,s,l,o){r(e.append("text").attr("x",i+a/2).attr("y",n+s/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,n,a,s,l,o,c){let{taskFontSize:h,taskFontFamily:u}=o,y=t.split(//gi);for(let t=0;t{let n=V[r].color,a={cx:20,cy:i,r:7,fill:n,stroke:"#000",pos:V[r].position};P.drawCircle(t,a);let s={x:40,y:i+7,fill:"#666",text:r,textMargin:5|e.boxTextMargin};P.drawText(t,s),i+=20})}(0,n.eW)(j,"drawActorLegend");var O=(0,n.nV)().journey,N=O.leftMargin,D=(0,n.eW)(function(t,e,i,r){let s;let l=(0,n.nV)().journey,o=(0,n.nV)().securityLevel;"sandbox"===o&&(s=(0,a.Ys)("#i"+e));let c="sandbox"===o?(0,a.Ys)(s.nodes()[0].contentDocument.body):(0,a.Ys)("body");B.init();let h=c.select("#"+e);P.initGraphics(h);let u=r.db.getTasks(),y=r.db.getDiagramTitle(),p=r.db.getActors();for(let t in V)delete V[t];let d=0;p.forEach(t=>{V[t]={color:l.actorColours[d%l.actorColours.length],position:d},d++}),j(h),B.insert(0,0,N,50*Object.keys(V).length),R(h,u,0);let f=B.getBounds();y&&h.append("text").text(y).attr("x",N).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);let g=f.stopy-f.starty+2*l.diagramMarginY,x=N+f.stopx+2*l.diagramMarginX;(0,n.v2)(h,g,x,l.useMaxWidth),h.append("line").attr("x1",N).attr("y1",4*l.height).attr("x2",x-N-4).attr("y2",4*l.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let m=y?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+m}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+m+25)},"draw"),B={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,n.eW)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,n.eW)(function(t,e,i,r){void 0===t[e]?t[e]=i:t[e]=r(i,t[e])},"updateVal"),updateBounds:(0,n.eW)(function(t,e,i,r){let a=(0,n.nV)().journey,s=this,l=0;function o(o){return(0,n.eW)(function(n){l++;let c=s.sequenceItems.length-l+1;s.updateVal(n,"starty",e-c*a.boxMargin,Math.min),s.updateVal(n,"stopy",r+c*a.boxMargin,Math.max),s.updateVal(B.data,"startx",t-c*a.boxMargin,Math.min),s.updateVal(B.data,"stopx",i+c*a.boxMargin,Math.max),"activation"!==o&&(s.updateVal(n,"startx",t-c*a.boxMargin,Math.min),s.updateVal(n,"stopx",i+c*a.boxMargin,Math.max),s.updateVal(B.data,"starty",e-c*a.boxMargin,Math.min),s.updateVal(B.data,"stopy",r+c*a.boxMargin,Math.max))},"updateItemBounds")}(0,n.eW)(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:(0,n.eW)(function(t,e,i,r){let n=Math.min(t,i),a=Math.max(t,i),s=Math.min(e,r),l=Math.max(e,r);this.updateVal(B.data,"startx",n,Math.min),this.updateVal(B.data,"starty",s,Math.min),this.updateVal(B.data,"stopx",a,Math.max),this.updateVal(B.data,"stopy",l,Math.max),this.updateBounds(n,s,a,l)},"insert"),bumpVerticalPos:(0,n.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,n.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,n.eW)(function(){return this.data},"getBounds")},L=O.sectionFills,F=O.sectionColours,R=(0,n.eW)(function(t,e,i){let r=(0,n.nV)().journey,a="",s=i+(2*r.height+r.diagramMarginY),l=0,o="#CCC",c="black",h=0;for(let[i,n]of e.entries()){if(a!==n.section){o=L[l%L.length],h=l%L.length,c=F[l%F.length];let s=0,u=n.section;for(let t=i;t(V[e]&&(t[e]=V[e]),t),{});n.x=i*r.taskMargin+i*r.width+N,n.y=s,n.width=r.diagramMarginX,n.height=r.diagramMarginY,n.colour=c,n.fill=o,n.num=h,n.actors=u,P.drawTask(t,n,r),B.insert(n.x,n.y,n.x+n.width+r.taskMargin,450)}},"drawTasks"),z={setConf:C,draw:D},Y={parser:s,db:_,renderer:z,styles:b,init:(0,n.eW)(t=>{z.setConf(t.journey),_.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/13a2fed5.3b50f6e1.js b/pr-preview/pr-3/assets/js/13a2fed5.3b50f6e1.js new file mode 100644 index 0000000..edea8c9 --- /dev/null +++ b/pr-preview/pr-3/assets/js/13a2fed5.3b50f6e1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8516"],{68799:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Tutorial - Basics","description":"5 minutes to learn the most important Docusaurus concepts.","slug":"/category/tutorial---basics","permalink":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---basics","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Tutorial Intro","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro"},"next":{"title":"Create a Page","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/14622022.08fc2707.js b/pr-preview/pr-3/assets/js/14622022.08fc2707.js new file mode 100644 index 0000000..7dfc919 --- /dev/null +++ b/pr-preview/pr-3/assets/js/14622022.08fc2707.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2751"],{12777:function(e,n,r){r.r(n),r.d(n,{Highlight:()=>c,metadata:()=>s,contentTitle:()=>o,default:()=>h,assets:()=>d,toc:()=>l,frontMatter:()=>i});var s=JSON.parse('{"id":"docusaurus/tutorial_basics/markdown_features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional","source":"@site/docs/docusaurus/tutorial_basics/markdown_features.mdx","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/markdown_features","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/markdown_features.mdx","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":4,"frontMatter":{"sidebar_position":4},"sidebar":"tutorialSidebar","previous":{"title":"Create a Blog Post","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post"},"next":{"title":"Deploy your site","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site"}}'),a=r("85893"),t=r("50065");let i={sidebar_position:4},o="Markdown Features",d={},c=({children:e,color:n})=>{let r={span:"span",...(0,t.a)()};return(0,a.jsx)(r.span,{style:{backgroundColor:n,borderRadius:"20px",color:"#fff",padding:"10px",cursor:"pointer"},onClick:()=>{alert(`You clicked the color ${n} with label ${e}`)},children:e})},l=[{value:"Front Matter",id:"front-matter",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code Blocks",id:"code-blocks",level:2},{value:"Admonitions",id:"admonitions",level:2},{value:"Mermaid Graphs",id:"mermaid-graphs",level:2},{value:"State Machine",id:"state-machine",level:3},{value:"Flowchart",id:"flowchart",level:3},{value:"MDX and React Components",id:"mdx-and-react-components",level:2}];function u(e){let n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",mermaid:"mermaid",p:"p",pre:"pre",strong:"strong",...(0,t.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"markdown-features",children:"Markdown Features"})}),"\n",(0,a.jsxs)(n.p,{children:["Docusaurus supports ",(0,a.jsx)(n.strong,{children:(0,a.jsx)(n.a,{href:"https://daringfireball.net/projects/markdown/syntax",children:"Markdown"})})," and a few ",(0,a.jsx)(n.strong,{children:"additional\nfeatures"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"front-matter",children:"Front Matter"}),"\n",(0,a.jsxs)(n.p,{children:["Markdown documents have metadata at the top called ",(0,a.jsx)(n.a,{href:"https://jekyllrb.com/docs/front-matter/",children:"Front Matter"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",metastring:'title="my-doc.md"',children:"// highlight-start\n---\nid: my_doc_id\ntitle: My document title\ndescription: My document description\nslug: /my-custom-url\ntags:\n - developer\n---\n// highlight-end\n\n## Markdown heading\n\nMarkdown text with [links](./hello.md)\n"})}),"\n",(0,a.jsxs)(n.p,{children:["We recommend that all markdown pages should have at minimum a ",(0,a.jsx)(n.code,{children:"title"}),", ",(0,a.jsx)(n.code,{children:"description"})," and ",(0,a.jsx)(n.code,{children:"tags"})," array defined. An ",(0,a.jsx)(n.code,{children:"id"}),"\nmay be specified, but can be derived off of the filename when omitted."]}),"\n",(0,a.jsx)(n.h2,{id:"links",children:"Links"}),"\n",(0,a.jsx)(n.p,{children:"Regular Markdown links are supported, using url paths or relative file paths."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](/create_a_page).\n"})}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](./create_a_page.md).\n"})}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Result:"})," Let's see how to ",(0,a.jsx)(n.a,{href:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page",children:"Create a page"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"images",children:"Images"}),"\n",(0,a.jsx)(n.p,{children:"Regular Markdown images are supported."}),"\n",(0,a.jsxs)(n.p,{children:["You can use absolute paths to reference images in the static directory (",(0,a.jsx)(n.code,{children:"static/img/docusaurus.png"}),"):"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](/img/docusaurus.png)\n"})}),"\n",(0,a.jsx)(n.p,{children:(0,a.jsx)(n.img,{alt:"Docusaurus logo",src:r(93641).Z+"",width:"200",height:"200"})}),"\n",(0,a.jsx)(n.p,{children:"You can reference images relative to the current file as well. This is particularly useful to colocate images close to\nthe Markdown files using them:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](./img/docusaurus.png)\n"})}),"\n",(0,a.jsx)(n.h2,{id:"code-blocks",children:"Code Blocks"}),"\n",(0,a.jsx)(n.p,{children:"Markdown code blocks are supported with Syntax highlighting."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:'```jsx title="src/components/HelloDocusaurus.js"\nfunction HelloDocusaurus() {\n return

    Hello, Docusaurus!

    ;\n}\n```\n'})}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return

    Hello, Docusaurus!

    ;\n}\n"})}),"\n",(0,a.jsx)(n.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,a.jsx)(n.p,{children:"Docusaurus has a special syntax to create admonitions and callouts:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:":::tip[My tip]\n\nUse this awesome feature option\n\n:::\n\n:::danger[Take care]\n\nThis action is dangerous\n\n:::\n"})}),"\n",(0,a.jsx)(n.admonition,{title:"My tip",type:"tip",children:(0,a.jsx)(n.p,{children:"Use this awesome feature option"})}),"\n",(0,a.jsx)(n.admonition,{title:"Take care",type:"danger",children:(0,a.jsx)(n.p,{children:"This action is dangerous"})}),"\n",(0,a.jsx)(n.h2,{id:"mermaid-graphs",children:"Mermaid Graphs"}),"\n",(0,a.jsxs)(n.p,{children:["Our Docusaurus instance supports ",(0,a.jsx)(n.strong,{children:"diagramming and charting"})," through ",(0,a.jsx)(n.a,{href:"https://mermaid.js.org",children:"Mermaid"}),". The following\nare some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported,\nvisit their ",(0,a.jsx)(n.a,{href:"https://mermaid.js.org/intro/",children:"documentation"})," for more details under the ",(0,a.jsx)(n.strong,{children:"Diagram Syntax"})," section on the\nsidebar."]}),"\n",(0,a.jsx)(n.h3,{id:"state-machine",children:"State Machine"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",children:"```mermaid\ngraph TD\n A--\x3eB\n A--\x3eC\n B--\x3eD\n C--\x3eD\n```\n"})}),"\n",(0,a.jsx)(n.mermaid,{value:"graph TD\n A--\x3eB\n A--\x3eC\n B--\x3eD\n C--\x3eD"}),"\n",(0,a.jsx)(n.h3,{id:"flowchart",children:"Flowchart"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",children:"```mermaid\ngraph LR\n A[PIES] --\x3e|Get spec| B(Stakeholder approval)\n B --\x3e C{Purpose}\n B --\x3e G[/Further Analysis/]\n C ==>|One| D[Document Exchange]\n C --\x3e|Two| E[Event Alerts]\n C --\x3e|Three| F[Aggregation]\n subgraph identification\n A\n B\n end\n subgraph execution\n C\n D\n E\n F\n G\n end\n```\n"})}),"\n",(0,a.jsx)(n.mermaid,{value:"graph LR\n A[PIES] --\x3e|Get spec| B(Stakeholder approval)\n B --\x3e C{Purpose}\n B --\x3e G[/Further Analysis/]\n C ==>|One| D[Document Exchange]\n C --\x3e|Two| E[Event Alerts]\n C --\x3e|Three| F[Aggregation]\n subgraph identification\n A\n B\n end\n subgraph execution\n C\n D\n E\n F\n G\n end"}),"\n",(0,a.jsx)(n.h2,{id:"mdx-and-react-components",children:"MDX and React Components"}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.a,{href:"https://mdxjs.com/",children:"MDX"})," can make your documentation more ",(0,a.jsx)(n.strong,{children:"interactive"})," and allows using any ",(0,a.jsx)(n.strong,{children:"React components\ninside Markdown"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",children:"export const Highlight = ({children, color}) => (\n {\n alert(`You clicked the color ${color} with label ${children}`)\n }}>\n {children}\n \n);\n\nThis is Docusaurus green !\n\nThis is Facebook blue !\n"})}),"\n","\n",(0,a.jsxs)(n.p,{children:["This is ",(0,a.jsx)(c,{color:"#25c2a0",children:"Docusaurus green"})," !"]}),"\n",(0,a.jsxs)(n.p,{children:["This is ",(0,a.jsx)(c,{color:"#1877F2",children:"Facebook blue"})," !"]})]})}function h(e={}){let{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},93641:function(e,n,r){r.d(n,{Z:function(){return s}});let s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAT3UlEQVR42u1dCVQVV5pWXNt2N0czykl33KImZ7IgKgqIghq3KCDK+qowCek2c2K0Mx3idBxakzYxJnZiq3Gf6Bg7UdN2R51MxnTSia3gew9Rwccm7oqiiIK4sPxTt1hEHo9XvPVW1fed852Dr+67UNb/1f3/+9/731atAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO8i2CxGjDUJXzMGmcSZnmoHAF7B6GMJvYPNwq5gk1AmMS/YJMbaahtkNsRLbeghmoU4d7cDAO+NCEbhQCMjrZbe5q81bhdyVOwuXbtqZdDSZ+yau9oBgNcgGeIvmzDQJkUy1ix8ZKMtsWvuagcAXsNYs/iyLSNlIgk2GebLQjKJQ6R/32+mbcWYI8KTrm6HJwR4170yCV80Y6T1I4kklH122lFNG9e2wxMC3Ao/U1KnQLPgF2SK/xeri5TiIxlikX1DBXVANpoXSy/DzGCjYfdYs2FRiFkcxWxEu/GF0RAm3fT1Bv8JJyV+LLlV08ccnNuFCQeGAdrheWkkXxaSGueruZFDurlrzfn4QSbDGRgAqJD3JK4NMcU8oo3RIz1hOB4q6AZeCzKK0aoXCIs58DBBt9Esfip5Ke3UPkN1Eg8TdB8N+5grr+JRxPAJHiLoTgaZhf97MiuqvVqTgNPxEEEPcK0qBTIyNa6rnWw1CLooJjHMUZc6KMWnNs9xDg8Q9ACLQtMMvbhfeFi7tuoLZMhBz1NczaUw2H4OFizhAYFe5l0uM+61m53wgMAWM+C7aBr425Ey2c8umPpdxmO+oxQPWz8cvnOmTGf7Gf1DDHXs25lYxMrIfmafOdnvOe4WONZsk4XhaD7nkJpAPQN96w2a/cw+c7S/QYsC6vuq46D/CHD+7zQaRvDmYsXVbG6CEWmZQ5YGWRk0+8zR/phb1bg/9pkLgvVk/twso+EViETbfPw1PyuDHrDQ36n4o6GL1eHRn7skDhlrEnZyuvbKMN/TIglKM9AzmyfLbzL2sBjZz89sniJfg2G7Nvbwad+m3qB9OrQh/z0RTschzK1yXZAu8zi/CxQ9NJL4fT6d+kwdQG27drB6q9WxXbcO1GfaAPL78wswcBfx6Y2T6ZHxv5DJfuY1acj5Kl55JHHPtOCBaOozZQC18mltUxhWlNoyobjwDQVyng/hVhyBaYbBrEKhW0aNL2Y85LO2lB37daHhX86AAemAPC4z6R5sEt9j6nWXONr8vJ3D4qhj287tIRIIxMP7PmrKd151p1vV3MjRtmt7eiT0F+QbN4z6xQ6T/eO2XdrbbP8z3y5wtyAQT+VAxAh336wcczQVhPfsKM+ANJWsYp+xRFS7Hh2b/C6LSWBIEIgnsuh73T1b1VRA3ql/dxq5d5bd74/4OlJu21TgjtktCMT9uwbdFJDXjx5TBzQ5cigRR71I/hZJ7bpbTwf3mT4QxgSBuHtbrSHcnUlAlstwxXqdgcmjmsyTIJkIgag2SGcZ8qYCckcWyAUdTpBnsBr398yWKTAoCESd07xD3rFeHMdmqxztj81uNe5v6B+CYVAQiAeD9qPiIOkP/NIVN9l//nArg/ZNeNLh/nzjn7Tqr//rw2FQEIg6M+lN7RcY/LvR3PQHupdh6S9R+LH5ZMh8i17NfoeS81bSO6fX0cfn/ps2X/wL7bzyv/TNtYP0z5KjdLw0hwrKL1DR/Rt0r+q+Plys0d/HyMtDGib4nNlx5ur+QPcZuLPQTSa9bjk0oyuM2dX9adm4Zx57jeIzk+lXliX0Ru4KSjm1hlac/S/69MKXtP3yXvrr1b/Td8WplHbzOGWV5dPZO5fo+v0Slxi4ZgTiiUw66BoD/32BPQO/zI2Ba0cgbs6kg9aMPfFbWn5mM/258H80a+CaEYi7M+ngA7JR4ERpHgFqEogbM+lgDSelv0LfFx+B1SNIBxtzWsarlH27ABavZoF4YsOUHhliEuX4AlCOwsJC2rVrF7+JwjHGuU8Em4X9MHDn+afzOzRtzGVlZbR69WqKjY2lqKgoev/996m4uNihvqqrqyklJYU6dKhf3Kq/Pel6izuKK246bYQXLlygvXv30ldffUWZmZlO9cX6CAwMpI4dO1Lbtm3pueeeo61btzrUV1ZWFj3++ONWKxseffRRMpvNLe7vzTffrClF5ONDEydOhIuldb53ZqNTxpyfn08RERFWBsiM2mQytbi/+fPn29zCnJSU1KK+ioqKyNe3poTpU089RRs3bqTt27dTQEBAvUiuXr2quL8ff/xRFgYT7e7duxGk64E/FBsdFsfhw4epR48eNTsvO3WioKAgmjRpEvXu3Vv+rHPnzvTTTz8p7u/dd9+tqXwouS/Lly+nS5cuUUlJCa1fv17ui11j7pFSTJs2Tf4O+7tu3bpV//ndu3fr3v40Y8YMRX1VVFTQkCFD5O8sW7YMmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GRkZil2nrl27Um5ubpOTBuwaa/PNN9/Y7a/u97MRgsUmjcE+Y8JgbbZs2YJMut6oZGnJ6NGjHz5bQzKYggLlWXf2BmbxA/suC+LZbNKOHTsoLi6OWrduLXPz5s2K+2P5DNYXC5rz8h6sGbt8+bI8qrFrrI3S4JuNNOw7ycnJVtfffvvtZkcjTPNqnMtOb7BrRGPGjJFnlpiRfPDBB826VbbABNGrVy/rii/t2tGqVata7OY9++yz8ve7dOkiC41NAdfNng0dOlR2x5TCaDTKfwf77tKlS2UhsJiEuXFs0oCJ+9ChQ+pYauKOPel65sT0JJckCpXmJVhgzLLZM2fOpEWLFj00ArR0oqCp/AuLj9hI0lIwkbKRrG7mqy42YVyyZIl61mJhqYnruercdtUuI2HTzZs2baK1a9fSkSPOrURm8U1droOxb9++tGHDBixWxGJFkVJLjmEFYoMcCYuxmpsBQ5Cuu+Xu8+hk2SmoQ63L3ZFJ90w8cuD6YVi9KgWCTLrHuDB3uVwep5qqoQC1CASZdM8z+sQb9P6ZTbSjcD+KNnAvEGTSUfYHAkGQDoGhcBymeUGUHkUmHdS6wG5VlmFPOgjq/gAdEMQRbCCoZYEgkw5CIMikgxAIMukgBIJMOgiBIEgHIRBM84KgegSCTDoIgSCTzvcWXbNAv7bE0/oL0fSPG1F0+k4k3aoMp4rqmUSkL8LFAus563gCbb88h4ruR+hOCKoQCIJ07/CFDAP9rWg23a+GILgVCDLp3uGSghi6WREOMXAvEGTSPcrxUpzxtTRqQAQqEQgCck9WNzFQasksCEBVAkEm3WMjB8SBIB20QbhVmOYFbXBpQazLDYjlR25XhetGIJOyXuw5JntuF2TSNVd61EAlLpytqpa4sjCWJmSLMtdcidG2QKhV67CcxHVh2WJVLVcik65zjmVZ9QyRxmcKFHpSJMkoaGqOSHGnDPTGuXj53w1pLIvSnECk+yoPzRZPh2Un/r3x/YZZEifBxdLrcpOMB6JQyt3Fc7QokOb4OoJ0vdEs0LgTLRNGHQ/cnE07JZEcLo2SXTCtC2RCdmJ8aI64MNSSOI25YMik64COiqMxPy6M0cMI0oDCGmTSdeBWuUIcYbWBe6kGZrdacM/VIafF7sikazggb2nMYU8gJZURehJIVUhO0iPIpGt29HCdOBj/qDMXS3ohfIogXctLUDJd516xaeCvb8yhMv24WGekQP2VsFNJ3TDNq1G60r2qY4IkFLWLpIX3fMojIkEm3QsV0LMFlwuEcfS/P0N+ft29ypdf/qWnBEJhFiEJmXQIRDH7RQ2uP5fcW+zbt6PHBDIhJ/EluFhwsRRxzsl4OmgeTyZTiFdZXDzVUwLJd6uLhSBdO0H63huzdRWkM9fKreJAJl07SULGjy7H6iuTbhHXI5Ou8URhGBKFHCcKEZB7fxQ5iqUm/C41QSadk8WKrhHJJ4X6crFCLeKfkEnXiavl7HL31LJZutgPUrfcPSxXmIoNU3rcMGURsGGKpw1TyKTzKZTxmWJtnkT6OSOBxhyYRX6fPW9lML0C+3k9KdgUR47s4dSWW4kF3Gy5RSbdtXTUMEaM6NG84bVuRUNSAiThSCNNlkCDk/25FAfjqFE9XVO0IVtcW1uwoTLMInyEsj86FohSllaGU7mOyv5MPR7bIyRrXmcUjoNAQFR3h0BAVHeHQEBUdwchEFR3ByEQVHdHkA6BQCCY5oVAIBBk0tUrEH//Htwm/jyZSedWIMikc55JVxFdkkmHiwWBgAjSIRAQmXQQAkEmHYRAkEkHeRDIP0ujaOG5eJqWK8j8jfQzOyQHAkEmXfcC2XA12uaOuk1F0RAIgnRtC4Qd4XyifBZZ7kRaHefMRg5722wbjySsD9YX61MLx0OH5cwNnJwX1xXTvDoTyF3JeD8pjKHncx4Y+xTp51VXYuRrrM3CJk6ybUx22u2D/mLlPuquTc4RavqrVv2e9LthOcKqgPNRP0MmXQcCqZAMdsFZ28b/unTNf1QvGpceZ1cg48xx5NPOh4Z/PsVmG79tz1Prtj5q3ZPekD/4mZLaIZOu9dpXx+1XKBl3XFlFk9BMAw1+a4Tddo8Zhqkyk95EQbz5cLG0Xsk9S3TLUQfN8ddnErRS9seMIF3rZ4FYPC+QF3IFrQjkFjLpOAvE5UwsMGhFIBZk0rV+FsgJweMC+Vilp95a34uwBpl0rdffNXtWIKzS+9Hbs2hlYSwZThnkqWA2onx+LZr7KeDGFdxDsw3jwnIS18mnSWWLd9iIEmpJfMvtU8DIpHtwBMny/Ahii/8mBe88JxRb8BJIc3tCEUG6Nt0re/zgcozqBVLrfm3GNK+aC1Ef408cjBM5Po2qhfdS6dZTppBJd2/cEWoRuRQIY8/RfdWQSbfP3LlhSoPuxSGpcb7IpMO1UsIe/n1UkUm3OxrmCsF2jTs09aU+0kO5zQwcLhYHTBe5Fgdb1HirMlwLLtbdSVkv9lSS01ha93CCzMpP4UGQzve5g+7iHzk+z7CF97JWadIvr8EDqmJZcmTSvUSzd5aWKOX8swn1y+tVLpCD001JnezHHkdE/yYe1B17IkEm3U3BeTq/o8faK9Hy0nvVn3JrET5SvAxeeii/sfGwqqSY5DVk0j3sXh3jd/Rgm7V43+Ou8F7uSyyT+P1EizjdnkC+sDPk7x+TPrcvMukemr3K5DtA532PuyP3EZojvtvc9G6mggd3LcgoLAg49PD6FQTp7li5K6hGIE3tcVejQGSRWBKn2RpBLrXgAbK2vws0zu2PaV7t7P1whnV73NUuEHZstC2B3HFwtuVIkEn8cKxRiJFGkn8NyZgbGGw07IaROzmCZKtLIGyPu6oz6fY2VkkP5R4MEwJxlCGmOG4y6ferw525l5u2BHIdhsmRQOBiOUy2gNLhGCRb/M6ZIB3U8PZaZ5haNosbgRTcjXT8XnKFqbZGkK9gmDxtjlKPOLZwNs37j1uzHbwXYWlzOwMXwTCRKFSaKJyeK8huFU8jh5K6xNaJQqGUuVU2R476aVqzOAqGiaUmSnjmXiTXy0xePZOgLN7ISxymfL06pfhID+YcjJMTgXAah7xymu9CclfuR8jFJhTcy1EHSvgYlsE41VVq1NPccX0O1wJhFVcU3UuOmNzyfeWpcb7Ih/C1YYqnfAirsnijkt8l7iz/EZ1vUJQMnJif0NvRQnBrYZw8bZriRyDbrvE9euwpnqOs1E+OsNjhogsBh17sKT2YIhgnLxunRC7WZc3OF6ic4w1SN6WRLTJP0ehxOSRrXmfn6lwZxWgYJ8r+NKywmMbhdG5DLrkYp+ReqsbnGCa7qij1pzBOVDdh3HqN7zMN/3pjttLA/D9dVt8q6suoNmNNwl9gnPreRPV76c1czbE4WKJyUo6il8euFErxcWkROD9TUqdgk2EfjJOf3IgnRfLepViqrOY37mCbtKbmKhLH1pDvU9q6pVIi29SOmS19zWxNqC3MUM25W6Vg5KhmhRlaUavWHjgoxzAHs1scBe4ZclUOl4sjJt9AxrIoboVRUhmuNCA/F2ZJnOTRs0BC0wy9gk3iamyr5ad2lquCd1alZM2VGG6PNGBJQJbnCM+ze7+sSslKr56RPj7D0K92WQrWbnEiFLYsxZG1W2zEYMszeC0herUiQv77FGTIz7EDcRSVEPUYKMUnyGgYIY0qyVIAuVN6WMdrdyZiuYqXgvixRwX5KOjxmTWLHdnORLZchfnrEdLb9+XTCZKLEiv78GfvRXA0QsykmxXhlF8eST8UR9G6i9H0q7x4Cm10H2HZQoUkhmsSj0/IFnZOyBFeDctNGNoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsI3/BxVeQNnL1kBuAAAAAElFTkSuQmCC"},50065:function(e,n,r){r.d(n,{Z:function(){return o},a:function(){return i}});var s=r(67294);let a={},t=s.createContext(a);function i(e){let n=s.useContext(t);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/14eb3368.9c7921b4.js b/pr-preview/pr-3/assets/js/14eb3368.9c7921b4.js new file mode 100644 index 0000000..dd492d0 --- /dev/null +++ b/pr-preview/pr-3/assets/js/14eb3368.9c7921b4.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1983"],{52520:function(e,t,n){n.d(t,{Z:()=>f});var r=n("85893");n("67294");var s=n("67026"),i=n("84681"),a=n("69369"),l=n("79246"),o=n("83012"),c=n("96025"),d=n("4757");function u(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,r.jsx)("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"})})}let m="breadcrumbHomeIcon_YNFT";function h(){let e=(0,d.ZP)("/");return(0,r.jsx)("li",{className:"breadcrumbs__item",children:(0,r.jsx)(o.Z,{"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,r.jsx)(u,{className:m})})})}let p="breadcrumbsContainer_Z_bl";function b(e){let{children:t,href:n,isLast:s}=e,i="breadcrumbs__link";return s?(0,r.jsx)("span",{className:i,itemProp:"name",children:t}):n?(0,r.jsx)(o.Z,{className:i,href:n,itemProp:"item",children:(0,r.jsx)("span",{itemProp:"name",children:t})}):(0,r.jsx)("span",{className:i,children:t})}function x(e){let{children:t,active:n,index:i,addMicrodata:a}=e;return(0,r.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,s.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,r.jsx)("meta",{itemProp:"position",content:String(i+1)})]})}function f(){let e=(0,a.s1)(),t=(0,l.Ns)();return e?(0,r.jsx)("nav",{className:(0,s.Z)(i.k.docs.docBreadcrumbs,p),"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,r.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,r.jsx)(h,{}),e.map((t,n)=>{let s=n===e.length-1,i="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,r.jsx)(x,{active:s,index:n,addMicrodata:!!i,children:(0,r.jsx)(b,{href:i,isLast:s,children:t.label})},n)})]})}):null}},39140:function(e,t,n){n.r(t),n.d(t,{default:()=>D});var r=n("85893");n("67294");var s=n("14713"),i=n("69369"),a=n("4757"),l=n("67026"),o=n("83012"),c=n("43115"),d=n("63150"),u=n("96025"),m=n("34403");let h={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};function p(e){let{href:t,children:n}=e;return(0,r.jsx)(o.Z,{href:t,className:(0,l.Z)("card padding--lg",h.cardContainer),children:n})}function b(e){let{href:t,icon:n,title:s,description:i}=e;return(0,r.jsxs)(p,{href:t,children:[(0,r.jsxs)(m.Z,{as:"h2",className:(0,l.Z)("text--truncate",h.cardTitle),title:s,children:[n," ",s]}),i&&(0,r.jsx)("p",{className:(0,l.Z)("text--truncate",h.cardDescription),title:i,children:i})]})}function x(e){let{item:t}=e,n=(0,i.LM)(t),s=function(){let{selectMessage:e}=(0,c.c)();return t=>e(t,(0,u.translate)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,r.jsx)(b,{href:n,icon:"\uD83D\uDDC3\uFE0F",title:t.label,description:t.description??s(t.items.length)}):null}function f(e){let{item:t}=e,n=(0,d.Z)(t.href)?"\uD83D\uDCC4\uFE0F":"\uD83D\uDD17",s=(0,i.xz)(t.docId??void 0);return(0,r.jsx)(b,{href:t.href,icon:n,title:t.label,description:t.description??s?.description})}function v(e){let{item:t}=e;switch(t.type){case"link":return(0,r.jsx)(f,{item:t});case"category":return(0,r.jsx)(x,{item:t});default:throw Error(`unknown item type ${JSON.stringify(t)}`)}}function g(e){let{className:t}=e,n=(0,i.jA)();return(0,r.jsx)(j,{items:n.items,className:t})}function j(e){let{items:t,className:n}=e;if(!t)return(0,r.jsx)(g,{...e});let s=(0,i.MN)(t);return(0,r.jsx)("section",{className:(0,l.Z)("row",n),children:s.map((e,t)=>(0,r.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,r.jsx)(v,{item:e})},t))})}var N=n("23944"),_=n("59580"),Z=n("46035"),k=n("52520");let L="generatedIndexPage_vN6x",T="list_eTzJ",w="title_kItE";function y(e){let{categoryGeneratedIndex:t}=e;return(0,r.jsx)(s.d,{title:t.title,description:t.description,keywords:t.keywords,image:(0,a.ZP)(t.image)})}function C(e){let{categoryGeneratedIndex:t}=e,n=(0,i.jA)();return(0,r.jsxs)("div",{className:L,children:[(0,r.jsx)(_.Z,{}),(0,r.jsx)(k.Z,{}),(0,r.jsx)(Z.Z,{}),(0,r.jsxs)("header",{children:[(0,r.jsx)(m.Z,{as:"h1",className:w,children:t.title}),t.description&&(0,r.jsx)("p",{children:t.description})]}),(0,r.jsx)("article",{className:"margin-top--lg",children:(0,r.jsx)(j,{items:n.items,className:T})}),(0,r.jsx)("footer",{className:"margin-top--lg",children:(0,r.jsx)(N.Z,{previous:t.navigation.previous,next:t.navigation.next})})]})}function D(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{...e}),(0,r.jsx)(C,{...e})]})}},23944:function(e,t,n){n.d(t,{Z:()=>o});var r=n("85893");n("67294");var s=n("96025"),i=n("67026"),a=n("83012");function l(e){let{permalink:t,title:n,subLabel:s,isNext:l}=e;return(0,r.jsxs)(a.Z,{className:(0,i.Z)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,r.jsx)("div",{className:"pagination-nav__label",children:n})]})}function o(e){let{previous:t,next:n}=e;return(0,r.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.translate)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,r.jsx)(l,{...t,subLabel:(0,r.jsx)(s.default,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,r.jsx)(l,{...n,subLabel:(0,r.jsx)(s.default,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},46035:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(85893);n(67294);var s=n(67026),i=n(96025),a=n(84681),l=n(68529);function o(e){let{className:t}=e,n=(0,l.E)();return n.badge?(0,r.jsx)("span",{className:(0,s.Z)(t,a.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,r.jsx)(i.default,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},59580:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(85893);n(67294);var s=n(67026),i=n(2933),a=n(83012),l=n(96025),o=n(81723),c=n(84681),d=n(93896),u=n(68529);let m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,r.jsx)(l.default,{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:(0,r.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,r.jsx)(l.default,{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:(0,r.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){let t=m[e.versionMetadata.banner];return(0,r.jsx)(t,{...e})}function p(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,r.jsx)(l.default,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,r.jsx)("b",{children:(0,r.jsx)(a.Z,{to:n,onClick:s,children:(0,r.jsx)(l.default,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function b(e){let t,{className:n,versionMetadata:a}=e,{siteConfig:{title:l}}=(0,i.Z)(),{pluginId:u}=(0,o.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(u),{latestDocSuggestion:b,latestVersionSuggestion:x}=(0,o.Jo)(u);let f=b??(t=x).docs.find(e=>e.id===t.mainDocId);return(0,r.jsxs)("div",{className:(0,s.Z)(n,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,r.jsx)("div",{children:(0,r.jsx)(h,{siteTitle:l,versionMetadata:a})}),(0,r.jsx)("div",{className:"margin-top--md",children:(0,r.jsx)(p,{versionLabel:x.label,to:f.path,onClick:()=>m(x.name)})})]})}function x(e){let{className:t}=e,n=(0,u.E)();return n.banner?(0,r.jsx)(b,{className:t,versionMetadata:n}):null}},43115:function(e,t,n){n.d(t,{c:function(){return o}});var r=n(67294),s=n(2933);let i=["zero","one","two","few","many","other"];function a(e){return i.filter(t=>e.includes(t))}let l={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function o(){let e=function(){let{i18n:{currentLocale:e}}=(0,s.Z)();return(0,r.useMemo)(()=>{try{return function(e){let t=new Intl.PluralRules(e);return{locale:e,pluralForms:a(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}". +Docusaurus will fallback to the default (English) implementation. +Error: ${t.message} +`),l}},[e])}();return{selectMessage:(t,n)=>(function(e,t,n){let r=e.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}: ${e}`);let s=n.select(t);return r[Math.min(n.pluralForms.indexOf(s),r.length-1)]})(n,t,e)}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/161.d05026b2.js b/pr-preview/pr-3/assets/js/161.d05026b2.js new file mode 100644 index 0000000..f974940 --- /dev/null +++ b/pr-preview/pr-3/assets/js/161.d05026b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["161"],{55845:function(e,r,c){c.d(r,{createArchitectureServices:function(){return n.i}});var n=c(94413);c(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/1773.1a0bf1ab.js b/pr-preview/pr-3/assets/js/1773.1a0bf1ab.js new file mode 100644 index 0000000..9f2bf94 --- /dev/null +++ b/pr-preview/pr-3/assets/js/1773.1a0bf1ab.js @@ -0,0 +1,5 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1773"],{29463:function(t,e,a){a.d(e,{diagram:function(){return tD}});var n,i=a(98711),r=a(7690),s=a(5995),l=a(27818),o=a(17967),h=function(){var t=(0,s.eW)(function(t,e,a,n){for(a=a||{},n=t.length;n--;a[t[n]]=e);return a},"o"),e=[1,24],a=[1,25],n=[1,26],i=[1,27],r=[1,28],l=[1,63],o=[1,64],h=[1,65],d=[1,66],u=[1,67],p=[1,68],y=[1,69],f=[1,29],b=[1,30],g=[1,31],x=[1,32],_=[1,33],m=[1,34],E=[1,35],A=[1,36],S=[1,37],C=[1,38],k=[1,39],O=[1,40],w=[1,41],T=[1,42],v=[1,43],R=[1,44],D=[1,45],W=[1,46],N=[1,47],P=[1,48],M=[1,50],B=[1,51],Y=[1,52],j=[1,53],I=[1,54],L=[1,55],U=[1,56],F=[1,57],X=[1,58],z=[1,59],Q=[1,60],$=[14,42],q=[14,34,36,37,38,39,40,41,42,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,70,71,72,73,74],V=[12,14,34,36,37,38,39,40,41,42,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,70,71,72,73,74],H=[1,82],G=[1,83],K=[1,84],J=[1,85],Z=[12,14,42],tt=[12,14,33,42],te=[12,14,33,42,76,77,79,80],ta=[12,33],tn=[34,36,37,38,39,40,41,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,70,71,72,73,74],ti={trace:(0,s.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:(0,s.eW)(function(t,e,a,n,i,r,s){var l=r.length-1;switch(i){case 3:n.setDirection("TB");break;case 4:n.setDirection("BT");break;case 5:n.setDirection("RL");break;case 6:n.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:n.setC4Type(r[l-3]);break;case 19:n.setTitle(r[l].substring(6)),this.$=r[l].substring(6);break;case 20:n.setAccDescription(r[l].substring(15)),this.$=r[l].substring(15);break;case 21:this.$=r[l].trim(),n.setTitle(this.$);break;case 22:case 23:this.$=r[l].trim(),n.setAccDescription(this.$);break;case 28:r[l].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 29:r[l].splice(2,0,"SYSTEM"),n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 30:n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 31:r[l].splice(2,0,"CONTAINER"),n.addContainerBoundary(...r[l]),this.$=r[l];break;case 32:n.addDeploymentNode("node",...r[l]),this.$=r[l];break;case 33:n.addDeploymentNode("nodeL",...r[l]),this.$=r[l];break;case 34:n.addDeploymentNode("nodeR",...r[l]),this.$=r[l];break;case 35:n.popBoundaryParseStack();break;case 39:n.addPersonOrSystem("person",...r[l]),this.$=r[l];break;case 40:n.addPersonOrSystem("external_person",...r[l]),this.$=r[l];break;case 41:n.addPersonOrSystem("system",...r[l]),this.$=r[l];break;case 42:n.addPersonOrSystem("system_db",...r[l]),this.$=r[l];break;case 43:n.addPersonOrSystem("system_queue",...r[l]),this.$=r[l];break;case 44:n.addPersonOrSystem("external_system",...r[l]),this.$=r[l];break;case 45:n.addPersonOrSystem("external_system_db",...r[l]),this.$=r[l];break;case 46:n.addPersonOrSystem("external_system_queue",...r[l]),this.$=r[l];break;case 47:n.addContainer("container",...r[l]),this.$=r[l];break;case 48:n.addContainer("container_db",...r[l]),this.$=r[l];break;case 49:n.addContainer("container_queue",...r[l]),this.$=r[l];break;case 50:n.addContainer("external_container",...r[l]),this.$=r[l];break;case 51:n.addContainer("external_container_db",...r[l]),this.$=r[l];break;case 52:n.addContainer("external_container_queue",...r[l]),this.$=r[l];break;case 53:n.addComponent("component",...r[l]),this.$=r[l];break;case 54:n.addComponent("component_db",...r[l]),this.$=r[l];break;case 55:n.addComponent("component_queue",...r[l]),this.$=r[l];break;case 56:n.addComponent("external_component",...r[l]),this.$=r[l];break;case 57:n.addComponent("external_component_db",...r[l]),this.$=r[l];break;case 58:n.addComponent("external_component_queue",...r[l]),this.$=r[l];break;case 60:n.addRel("rel",...r[l]),this.$=r[l];break;case 61:n.addRel("birel",...r[l]),this.$=r[l];break;case 62:n.addRel("rel_u",...r[l]),this.$=r[l];break;case 63:n.addRel("rel_d",...r[l]),this.$=r[l];break;case 64:n.addRel("rel_l",...r[l]),this.$=r[l];break;case 65:n.addRel("rel_r",...r[l]),this.$=r[l];break;case 66:n.addRel("rel_b",...r[l]),this.$=r[l];break;case 67:r[l].splice(0,1),n.addRel("rel",...r[l]),this.$=r[l];break;case 68:n.updateElStyle("update_el_style",...r[l]),this.$=r[l];break;case 69:n.updateRelStyle("update_rel_style",...r[l]),this.$=r[l];break;case 70:n.updateLayoutConfig("update_layout_config",...r[l]),this.$=r[l];break;case 71:this.$=[r[l]];break;case 72:r[l].unshift(r[l-1]),this.$=r[l];break;case 73:case 75:this.$=r[l].trim();break;case 74:let o={};o[r[l-1].trim()]=r[l].trim(),this.$=o;break;case 76:this.$=""}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:70,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:71,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:72,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:73,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{14:[1,74]},t($,[2,13],{43:23,29:49,30:61,32:62,20:75,34:l,36:o,37:h,38:d,39:u,40:p,41:y,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q}),t($,[2,14]),t(q,[2,16],{12:[1,76]}),t($,[2,36],{12:[1,77]}),t(V,[2,19]),t(V,[2,20]),{25:[1,78]},{27:[1,79]},t(V,[2,23]),{35:80,75:81,76:H,77:G,79:K,80:J},{35:86,75:81,76:H,77:G,79:K,80:J},{35:87,75:81,76:H,77:G,79:K,80:J},{35:88,75:81,76:H,77:G,79:K,80:J},{35:89,75:81,76:H,77:G,79:K,80:J},{35:90,75:81,76:H,77:G,79:K,80:J},{35:91,75:81,76:H,77:G,79:K,80:J},{35:92,75:81,76:H,77:G,79:K,80:J},{35:93,75:81,76:H,77:G,79:K,80:J},{35:94,75:81,76:H,77:G,79:K,80:J},{35:95,75:81,76:H,77:G,79:K,80:J},{35:96,75:81,76:H,77:G,79:K,80:J},{35:97,75:81,76:H,77:G,79:K,80:J},{35:98,75:81,76:H,77:G,79:K,80:J},{35:99,75:81,76:H,77:G,79:K,80:J},{35:100,75:81,76:H,77:G,79:K,80:J},{35:101,75:81,76:H,77:G,79:K,80:J},{35:102,75:81,76:H,77:G,79:K,80:J},{35:103,75:81,76:H,77:G,79:K,80:J},{35:104,75:81,76:H,77:G,79:K,80:J},t(Z,[2,59]),{35:105,75:81,76:H,77:G,79:K,80:J},{35:106,75:81,76:H,77:G,79:K,80:J},{35:107,75:81,76:H,77:G,79:K,80:J},{35:108,75:81,76:H,77:G,79:K,80:J},{35:109,75:81,76:H,77:G,79:K,80:J},{35:110,75:81,76:H,77:G,79:K,80:J},{35:111,75:81,76:H,77:G,79:K,80:J},{35:112,75:81,76:H,77:G,79:K,80:J},{35:113,75:81,76:H,77:G,79:K,80:J},{35:114,75:81,76:H,77:G,79:K,80:J},{35:115,75:81,76:H,77:G,79:K,80:J},{20:116,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{12:[1,118],33:[1,117]},{35:119,75:81,76:H,77:G,79:K,80:J},{35:120,75:81,76:H,77:G,79:K,80:J},{35:121,75:81,76:H,77:G,79:K,80:J},{35:122,75:81,76:H,77:G,79:K,80:J},{35:123,75:81,76:H,77:G,79:K,80:J},{35:124,75:81,76:H,77:G,79:K,80:J},{35:125,75:81,76:H,77:G,79:K,80:J},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t($,[2,15]),t(q,[2,17],{21:22,19:130,22:e,23:a,24:n,26:i,28:r}),t($,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:n,26:i,28:r,34:l,36:o,37:h,38:d,39:u,40:p,41:y,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q}),t(V,[2,21]),t(V,[2,22]),t(Z,[2,39]),t(tt,[2,71],{75:81,35:132,76:H,77:G,79:K,80:J}),t(te,[2,73]),{78:[1,133]},t(te,[2,75]),t(te,[2,76]),t(Z,[2,40]),t(Z,[2,41]),t(Z,[2,42]),t(Z,[2,43]),t(Z,[2,44]),t(Z,[2,45]),t(Z,[2,46]),t(Z,[2,47]),t(Z,[2,48]),t(Z,[2,49]),t(Z,[2,50]),t(Z,[2,51]),t(Z,[2,52]),t(Z,[2,53]),t(Z,[2,54]),t(Z,[2,55]),t(Z,[2,56]),t(Z,[2,57]),t(Z,[2,58]),t(Z,[2,60]),t(Z,[2,61]),t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,64]),t(Z,[2,65]),t(Z,[2,66]),t(Z,[2,67]),t(Z,[2,68]),t(Z,[2,69]),t(Z,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(ta,[2,28]),t(ta,[2,29]),t(ta,[2,30]),t(ta,[2,31]),t(ta,[2,32]),t(ta,[2,33]),t(ta,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(q,[2,18]),t($,[2,38]),t(tt,[2,72]),t(te,[2,74]),t(Z,[2,24]),t(Z,[2,35]),t(tn,[2,25]),t(tn,[2,26],{12:[1,138]}),t(tn,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:(0,s.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},"parseError"),parse:(0,s.eW)(function(t){var e=this,a=[0],n=[],i=[null],r=[],l=this.table,o="",h=0,d=0,u=0,p=r.slice.call(arguments,1),y=Object.create(this.lexer),f={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(f.yy[b]=this.yy[b]);y.setInput(t,f.yy),f.yy.lexer=y,f.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;r.push(g);var x=y.options&&y.options.ranges;"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _(){var t;return"number"!=typeof(t=n.pop()||y.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}(0,s.eW)(function(t){a.length=a.length-2*t,i.length=i.length-t,r.length=r.length-t},"popStack"),(0,s.eW)(_,"lex");for(var m,E,A,S,C,k,O,w,T,v={};;){if(A=a[a.length-1],this.defaultActions[A]?S=this.defaultActions[A]:(null==m&&(m=_()),S=l[A]&&l[A][m]),void 0===S||!S.length||!S[0]){var R="";for(k in T=[],l[A])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");R=y.showPosition?"Parse error on line "+(h+1)+":\n"+y.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(R,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:g,expected:T})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+A+", token: "+m);switch(S[0]){case 1:a.push(m),i.push(y.yytext),r.push(y.yylloc),a.push(S[1]),m=null,E?(m=E,E=null):(d=y.yyleng,o=y.yytext,h=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(O=this.productions_[S[1]][1],v.$=i[i.length-O],v._$={first_line:r[r.length-(O||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(O||1)].first_column,last_column:r[r.length-1].last_column},x&&(v._$.range=[r[r.length-(O||1)].range[0],r[r.length-1].range[1]]),void 0!==(C=this.performAction.apply(v,[o,d,h,f.yy,S[1],i,r].concat(p))))return C;O&&(a=a.slice(0,-1*O*2),i=i.slice(0,-1*O),r=r.slice(0,-1*O)),a.push(this.productions_[S[1]][0]),i.push(v.$),r.push(v._$),w=l[a[a.length-2]][a[a.length-1]],a.push(w);break;case 3:return!0}}return!0},"parse")},tr={EOF:1,parseError:(0,s.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,s.eW)(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},"setInput"),input:(0,s.eW)(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},"input"),unput:(0,s.eW)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.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:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[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},"unput"),more:(0,s.eW)(function(){return this._more=!0,this},"more"),reject:(0,s.eW)(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})},"reject"),less:(0,s.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s.eW)(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,"")},"upcomingInput"),showPosition:(0,s.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s.eW)(function(t,e){var a,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var r in i)this[r]=i[r];return!1},"test_match"),next:(0,s.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,a,n,i=this._currentRules(),r=0;re[0].length)){if(e=a,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[r])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,s.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,s.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,s.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,s.eW)(function(t,e,a,n){switch(a){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\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:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,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,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};function ts(){this.yy={}}return ti.lexer=tr,(0,s.eW)(ts,"Parser"),ts.prototype=ti,ti.Parser=ts,new ts}();h.parser=h;var d=[],u=[""],p="global",y="",f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],b=[],g="",x=!1,_=4,m=2,E=(0,s.eW)(function(){return n},"getC4Type"),A=(0,s.eW)(function(t){n=(0,s.oO)(t,(0,s.nV)())},"setC4Type"),S=(0,s.eW)(function(t,e,a,n,i,r,s,l,o){if(null==t||null==e||null==a||null==n)return;let h={},d=b.find(t=>t.from===e&&t.to===a);if(d?h=d:b.push(h),h.type=t,h.from=e,h.to=a,h.label={text:n},null==i)h.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];h[t]={text:e}}else h.techn={text:i};if(null==r)h.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];h[t]={text:e}}else h.descr={text:r};if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]=e}else h.sprite=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];h[t]=e}else h.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];h[t]=e}else h.link=o;h.wrap=Q()},"addRel"),C=(0,s.eW)(function(t,e,a,n,i,r,s){if(null===e||null===a)return;let l={},o=d.find(t=>t.alias===e);if(o&&e===o.alias?l=o:(l.alias=e,d.push(l)),null==a?l.label={text:""}:l.label={text:a},null==n)l.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.descr={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.sprite=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.tags=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.link=s;l.typeC4Shape={text:t},l.parentBoundary=p,l.wrap=Q()},"addPersonOrSystem"),k=(0,s.eW)(function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=d.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,d.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=Q(),o.typeC4Shape={text:t},o.parentBoundary=p},"addContainer"),O=(0,s.eW)(function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=d.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,d.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=Q(),o.typeC4Shape={text:t},o.parentBoundary=p},"addComponent"),w=(0,s.eW)(function(t,e,a,n,i){if(null===t||null===e)return;let r={},s=f.find(e=>e.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,f.push(r)),null==e?r.label={text:""}:r.label={text:e},null==a)r.type={text:"system"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=p,r.wrap=Q(),y=p,p=t,u.push(y)},"addPersonOrSystemBoundary"),T=(0,s.eW)(function(t,e,a,n,i){if(null===t||null===e)return;let r={},s=f.find(e=>e.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,f.push(r)),null==e?r.label={text:""}:r.label={text:e},null==a)r.type={text:"container"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=p,r.wrap=Q(),y=p,p=t,u.push(y)},"addContainerBoundary"),v=(0,s.eW)(function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=f.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,f.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.type={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=p,o.wrap=Q(),y=p,p=e,u.push(y)},"addDeploymentNode"),R=(0,s.eW)(function(){p=y,u.pop(),y=u.pop(),u.push(y)},"popBoundaryParseStack"),D=(0,s.eW)(function(t,e,a,n,i,r,s,l,o,h,u){let p=d.find(t=>t.alias===e);if(void 0!==p||void 0!==(p=f.find(t=>t.alias===e))){if(null!=a){if("object"==typeof a){let[t,e]=Object.entries(a)[0];p[t]=e}else p.bgColor=a}if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];p[t]=e}else p.fontColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];p[t]=e}else p.borderColor=i}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];p[t]=e}else p.shadowing=r}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];p[t]=e}else p.shape=s}if(null!=l){if("object"==typeof l){let[t,e]=Object.entries(l)[0];p[t]=e}else p.sprite=l}if(null!=o){if("object"==typeof o){let[t,e]=Object.entries(o)[0];p[t]=e}else p.techn=o}if(null!=h){if("object"==typeof h){let[t,e]=Object.entries(h)[0];p[t]=e}else p.legendText=h}if(null!=u){if("object"==typeof u){let[t,e]=Object.entries(u)[0];p[t]=e}else p.legendSprite=u}}},"updateElStyle"),W=(0,s.eW)(function(t,e,a,n,i,r,s){let l=b.find(t=>t.from===e&&t.to===a);if(void 0!==l){if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]=e}else l.textColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.lineColor=i}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(r)}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(s)}}},"updateRelStyle"),N=(0,s.eW)(function(t,e,a){let n=_,i=m;n="object"==typeof e?parseInt(Object.values(e)[0]):parseInt(e),i="object"==typeof a?parseInt(Object.values(a)[0]):parseInt(a),n>=1&&(_=n),i>=1&&(m=i)},"updateLayoutConfig"),P=(0,s.eW)(function(){return _},"getC4ShapeInRow"),M=(0,s.eW)(function(){return m},"getC4BoundaryInRow"),B=(0,s.eW)(function(){return p},"getCurrentBoundaryParse"),Y=(0,s.eW)(function(){return y},"getParentBoundaryParse"),j=(0,s.eW)(function(t){return null==t?d:d.filter(e=>e.parentBoundary===t)},"getC4ShapeArray"),I=(0,s.eW)(function(t){return d.find(e=>e.alias===t)},"getC4Shape"),L=(0,s.eW)(function(t){return Object.keys(j(t))},"getC4ShapeKeys"),U=(0,s.eW)(function(t){return null==t?f:f.filter(e=>e.parentBoundary===t)},"getBoundaries"),F=(0,s.eW)(function(){return b},"getRels"),X=(0,s.eW)(function(){return g},"getTitle"),z=(0,s.eW)(function(t){x=t},"setWrap"),Q=(0,s.eW)(function(){return x},"autoWrap"),$=(0,s.eW)(function(){d=[],f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],y="",p="global",u=[""],b=[],u=[""],g="",x=!1,_=4,m=2},"clear"),q=(0,s.eW)(function(t){g=(0,s.oO)(t,(0,s.nV)())},"setTitle"),V={addPersonOrSystem:C,addPersonOrSystemBoundary:w,addContainer:k,addContainerBoundary:T,addComponent:O,addDeploymentNode:v,popBoundaryParseStack:R,addRel:S,updateElStyle:D,updateRelStyle:W,updateLayoutConfig:N,autoWrap:Q,setWrap:z,getC4ShapeArray:j,getC4Shape:I,getC4ShapeKeys:L,getBoundaries:U,getBoundarys:U,getCurrentBoundaryParse:B,getParentBoundaryParse:Y,getRels:F,getTitle:X,getC4Type:E,getC4ShapeInRow:P,getC4BoundaryInRow:M,setAccTitle:s.GN,getAccTitle:s.eu,getAccDescription:s.Mx,setAccDescription:s.U$,getConfig:(0,s.eW)(()=>(0,s.nV)().c4,"getConfig"),clear:$,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:q,setC4Type:A},H=(0,s.eW)(function(t,e){return(0,i.Mu)(t,e)},"drawRect"),G=(0,s.eW)(function(t,e,a,n,i,r){let s=t.append("image");s.attr("width",e),s.attr("height",a),s.attr("x",n),s.attr("y",i);let l=r.startsWith("data:image/png;base64")?r:(0,o.sanitizeUrl)(r);s.attr("xlink:href",l)},"drawImage"),K=(0,s.eW)((t,e,a)=>{let n=t.append("g"),i=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",r=t.lineColor?t.lineColor:"#444444",s=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0;if(0===i){let e=n.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",r),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)"),i=-1}else{let e=n.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)")}let o=a.messageFont();tc(a)(t.label.text,n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+s,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},o),t.techn&&""!==t.techn.text&&(o=a.messageFont(),tc(a)("["+t.techn.text+"]",n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+s,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+a.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},o))}},"drawRels"),J=(0,s.eW)(function(t,e,a){let n=t.append("g"),i=e.bgColor?e.bgColor:"none",r=e.borderColor?e.borderColor:"#444444",s=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1}),H(n,{x:e.x,y:e.y,fill:i,stroke:r,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l});let o=a.boundaryFont();o.fontWeight="bold",o.fontSize=o.fontSize+2,o.fontColor=s,tc(a)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},o),e.type&&""!==e.type.text&&((o=a.boundaryFont()).fontColor=s,tc(a)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},o)),e.descr&&""!==e.descr.text&&((o=a.boundaryFont()).fontSize=o.fontSize-2,o.fontColor=s,tc(a)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},o))},"drawBoundary"),Z=(0,s.eW)(function(t,e,a){let n=e.bgColor?e.bgColor:a[e.typeC4Shape.text+"_bg_color"],r=e.borderColor?e.borderColor:a[e.typeC4Shape.text+"_border_color"],s=e.fontColor?e.fontColor:"#FFFFFF",l="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":l="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":l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}let o=t.append("g");o.attr("class","person-man");let h=(0,i.kc)();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":h.x=e.x,h.y=e.y,h.fill=n,h.width=e.width,h.height=e.height,h.stroke=r,h.rx=2.5,h.ry=2.5,h.attrs={"stroke-width":.5},H(o,h);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",n).attr("stroke-width","0.5").attr("stroke",r).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",r).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",n).attr("stroke-width","0.5").attr("stroke",r).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",r).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 d=to(a,e.typeC4Shape.text);switch(o.append("text").attr("fill",s).attr("font-family",d.fontFamily).attr("font-size",d.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":G(o,48,48,e.x+e.width/2-24,e.y+e.image.Y,l)}let u=a[e.typeC4Shape.text+"Font"]();return u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=s,tc(a)(e.label.text,o,e.x,e.y+e.label.Y,e.width,e.height,{fill:s},u),(u=a[e.typeC4Shape.text+"Font"]()).fontColor=s,e.techn&&e.techn?.text!==""?tc(a)(e.techn.text,o,e.x,e.y+e.techn.Y,e.width,e.height,{fill:s,"font-style":"italic"},u):e.type&&""!==e.type.text&&tc(a)(e.type.text,o,e.x,e.y+e.type.Y,e.width,e.height,{fill:s,"font-style":"italic"},u),e.descr&&""!==e.descr.text&&((u=a.personFont()).fontColor=s,tc(a)(e.descr.text,o,e.x,e.y+e.descr.Y,e.width,e.height,{fill:s},u)),e.height},"drawC4Shape"),tt=(0,s.eW)(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")},"insertDatabaseIcon"),te=(0,s.eW)(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")},"insertComputerIcon"),ta=(0,s.eW)(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")},"insertClockIcon"),tn=(0,s.eW)(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")},"insertArrowHead"),ti=(0,s.eW)(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")},"insertArrowEnd"),tr=(0,s.eW)(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")},"insertArrowFilledHead"),ts=(0,s.eW)(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)},"insertDynamicNumber"),tl=(0,s.eW)(function(t){let 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")},"insertArrowCrossHead"),to=(0,s.eW)((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"getC4ShapeFont"),tc=function(){function t(t,e,a,i,r,s,l){n(e.append("text").attr("x",a+r/2).attr("y",i+s/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,a,i,r,l,o,h){let{fontSize:d,fontFamily:u,fontWeight:p}=h,y=t.split(s.SY.lineBreakRegex);for(let t=0;t=this.data.widthLimit||a>=this.data.widthLimit||this.nextData.cnt>tp)&&(e=this.nextData.startx+t.margin+tf.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=a=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",a,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},tg(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}},tg=(0,s.eW)(function(t){(0,s.Yc)(tf,t),t.fontFamily&&(tf.personFontFamily=tf.systemFontFamily=tf.messageFontFamily=t.fontFamily),t.fontSize&&(tf.personFontSize=tf.systemFontSize=tf.messageFontSize=t.fontSize),t.fontWeight&&(tf.personFontWeight=tf.systemFontWeight=tf.messageFontWeight=t.fontWeight)},"setConf"),tx=(0,s.eW)((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"c4ShapeFont"),t_=(0,s.eW)(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),tm=(0,s.eW)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");function tE(t,e,a,n,i){if(!e[t].width){if(a)e[t].text=(0,r.X4)(e[t].text,i,n),e[t].textLines=e[t].text.split(s.SY.lineBreakRegex).length,e[t].width=i,e[t].height=(0,r.XD)(e[t].text,n);else{let a=e[t].text.split(s.SY.lineBreakRegex);e[t].textLines=a.length;let i=0;for(let s of(e[t].height=0,e[t].width=0,a))e[t].width=Math.max((0,r.Cq)(s,n),e[t].width),i=(0,r.XD)(s,n),e[t].height=e[t].height+i}}}(0,s.eW)(tE,"calcC4ShapeTextWH");var tA=(0,s.eW)(function(t,e,a){e.x=a.data.startx,e.y=a.data.starty,e.width=a.data.stopx-a.data.startx,e.height=a.data.stopy-a.data.starty,e.label.y=tf.c4ShapeMargin-35;let n=e.wrap&&tf.wrap,i=t_(tf);i.fontSize=i.fontSize+2,i.fontWeight="bold";let s=(0,r.Cq)(e.label.text,i);tE("label",e,n,i,s),th.drawBoundary(t,e,tf)},"drawBoundary"),tS=(0,s.eW)(function(t,e,a,n){let i=0;for(let s of n){i=0;let n=a[s],l=tx(tf,n.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,n.typeC4Shape.width=(0,r.Cq)("\xab"+n.typeC4Shape.text+"\xbb",l),n.typeC4Shape.height=l.fontSize+2,n.typeC4Shape.Y=tf.c4ShapePadding,i=n.typeC4Shape.Y+n.typeC4Shape.height-4,n.image={width:0,height:0,Y:0},n.typeC4Shape.text){case"person":case"external_person":n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height}n.sprite&&(n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height);let o=n.wrap&&tf.wrap,h=tf.width-2*tf.c4ShapePadding,d=tx(tf,n.typeC4Shape.text);if(d.fontSize=d.fontSize+2,d.fontWeight="bold",tE("label",n,o,d,h),n.label.Y=i+8,i=n.label.Y+n.label.height,n.type&&""!==n.type.text){n.type.text="["+n.type.text+"]";let t=tx(tf,n.typeC4Shape.text);tE("type",n,o,t,h),n.type.Y=i+5,i=n.type.Y+n.type.height}else if(n.techn&&""!==n.techn.text){n.techn.text="["+n.techn.text+"]";let t=tx(tf,n.techn.text);tE("techn",n,o,t,h),n.techn.Y=i+5,i=n.techn.Y+n.techn.height}let u=i,p=n.label.width;if(n.descr&&""!==n.descr.text){let t=tx(tf,n.typeC4Shape.text);tE("descr",n,o,t,h),n.descr.Y=i+20,i=n.descr.Y+n.descr.height,p=Math.max(n.label.width,n.descr.width),u=i-5*n.descr.textLines}p+=tf.c4ShapePadding,n.width=Math.max(n.width||tf.width,p,tf.width),n.height=Math.max(n.height||tf.height,u,tf.height),n.margin=n.margin||tf.c4ShapeMargin,t.insert(n),th.drawC4Shape(e,n,tf)}t.bumpLastMargin(tf.c4ShapeMargin)},"drawC4ShapeArray"),tC=class{static{(0,s.eW)(this,"Point")}constructor(t,e){this.x=t,this.y=e}},tk=(0,s.eW)(function(t,e){let a=t.x,n=t.y,i=e.x,r=e.y,s=a+t.width/2,l=n+t.height/2,o=Math.abs(a-i),h=Math.abs(n-r),d=h/o,u=t.height/t.width,p=null;return n==r&&ai?p=new tC(a,l):a==i&&nr&&(p=new tC(s,n)),a>i&&n=d?new tC(a,l+d*t.width/2):new tC(s-o/h*t.height/2,n+t.height):a=d?new tC(a+t.width,l+d*t.width/2):new tC(s+o/h*t.height/2,n+t.height):ar?p=u>=d?new tC(a+t.width,l-d*t.width/2):new tC(s+t.height/2*o/h,n):a>i&&n>r&&(p=u>=d?new tC(a,l-t.width/2*d):new tC(s-t.height/2*o/h,n)),p},"getIntersectPoint"),tO=(0,s.eW)(function(t,e){let a={x:0,y:0};a.x=e.x+e.width/2,a.y=e.y+e.height/2;let n=tk(t,a);return a.x=t.x+t.width/2,a.y=t.y+t.height/2,{startPoint:n,endPoint:tk(e,a)}},"getIntersectPoints"),tw=(0,s.eW)(function(t,e,a,n){let i=0;for(let t of e){i+=1;let e=t.wrap&&tf.wrap,s=tm(tf);"C4Dynamic"===n.db.getC4Type()&&(t.label.text=i+": "+t.label.text);let l=(0,r.Cq)(t.label.text,s);tE("label",t,e,s,l),t.techn&&""!==t.techn.text&&(l=(0,r.Cq)(t.techn.text,s),tE("techn",t,e,s,l)),t.descr&&""!==t.descr.text&&(l=(0,r.Cq)(t.descr.text,s),tE("descr",t,e,s,l));let o=tO(a(t.from),a(t.to));t.startPoint=o.startPoint,t.endPoint=o.endPoint}th.drawRels(t,e,tf)},"drawRels");function tT(t,e,a,n,i){let r=new tb(i);for(let[s,l]of(r.data.widthLimit=a.data.widthLimit/Math.min(ty,n.length),n.entries())){let n=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=n,n=l.image.Y+l.image.height);let o=l.wrap&&tf.wrap,h=t_(tf);if(h.fontSize=h.fontSize+2,h.fontWeight="bold",tE("label",l,o,h,r.data.widthLimit),l.label.Y=n+8,n=l.label.Y+l.label.height,l.type&&""!==l.type.text&&(l.type.text="["+l.type.text+"]",tE("type",l,o,t_(tf),r.data.widthLimit),l.type.Y=n+5,n=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=t_(tf);t.fontSize=t.fontSize-2,tE("descr",l,o,t,r.data.widthLimit),l.descr.Y=n+20,n=l.descr.Y+l.descr.height}if(0==s||s%ty==0){let t=a.data.startx+tf.diagramMarginX,e=a.data.stopy+tf.diagramMarginY+n;r.setData(t,t,e,e)}else{let t=r.data.stopx!==r.data.startx?r.data.stopx+tf.diagramMarginX:r.data.startx,e=r.data.starty;r.setData(t,t,e,e)}r.name=l.alias;let d=i.db.getC4ShapeArray(l.alias),u=i.db.getC4ShapeKeys(l.alias);u.length>0&&tS(r,t,d,u),e=l.alias;let p=i.db.getBoundarys(e);p.length>0&&tT(t,e,r,p,i),"global"!==l.alias&&tA(t,l,r),a.data.stopy=Math.max(r.data.stopy+tf.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(r.data.stopx+tf.c4ShapeMargin,a.data.stopx),td=Math.max(td,a.data.stopx),tu=Math.max(tu,a.data.stopy)}}(0,s.eW)(tT,"drawInsideBoundary");var tv={drawPersonOrSystemArray:tS,drawBoundary:tA,setConf:tg,draw:(0,s.eW)(function(t,e,a,n){let i;tf=(0,s.nV)().c4;let r=(0,s.nV)().securityLevel;"sandbox"===r&&(i=(0,l.Ys)("#i"+e));let o="sandbox"===r?(0,l.Ys)(i.nodes()[0].contentDocument.body):(0,l.Ys)("body"),h=n.db;n.db.setWrap(tf.wrap),tp=h.getC4ShapeInRow(),ty=h.getC4BoundaryInRow(),s.cM.debug(`C:${JSON.stringify(tf,null,2)}`);let d="sandbox"===r?o.select(`[id="${e}"]`):(0,l.Ys)(`[id="${e}"]`);th.insertComputerIcon(d),th.insertDatabaseIcon(d),th.insertClockIcon(d);let u=new tb(n);u.setData(tf.diagramMarginX,tf.diagramMarginX,tf.diagramMarginY,tf.diagramMarginY),u.data.widthLimit=screen.availWidth,td=tf.diagramMarginX,tu=tf.diagramMarginY;let p=n.db.getTitle();tT(d,"",u,n.db.getBoundarys(""),n),th.insertArrowHead(d),th.insertArrowEnd(d),th.insertArrowCrossHead(d),th.insertArrowFilledHead(d),tw(d,n.db.getRels(),n.db.getC4Shape,n),u.data.stopx=td,u.data.stopy=tu;let y=u.data,f=y.stopy-y.starty+2*tf.diagramMarginY,b=y.stopx-y.startx+2*tf.diagramMarginX;p&&d.append("text").text(p).attr("x",(y.stopx-y.startx)/2-4*tf.diagramMarginX).attr("y",y.starty+tf.diagramMarginY),(0,s.v2)(d,f,b,tf.useMaxWidth);let g=p?60:0;d.attr("viewBox",y.startx-tf.diagramMarginX+" -"+(tf.diagramMarginY+g)+" "+b+" "+(f+g)),s.cM.debug("models:",y)},"draw")},tR=(0,s.eW)(t=>`.person { + stroke: ${t.personBorder}; + fill: ${t.personBkg}; + } +`,"getStyles"),tD={parser:h,db:V,renderer:tv,styles:tR,init:(0,s.eW)(({c4:t,wrap:e})=>{tv.setConf(t),V.setWrap(e)},"init")}},98711:function(t,e,a){a.d(e,{AD:function(){return u},AE:function(){return o},Mu:function(){return r},O:function(){return s},kc:function(){return d},rB:function(){return h},yU:function(){return l}});var n=a(5995),i=a(17967),r=(0,n.eW)((t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),s=(0,n.eW)((t,e)=>{r(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),l=(0,n.eW)((t,e)=>{let a=e.text.replace(n.Vw," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),e.class&&i.attr("class",e.class);let r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(a),i},"drawText"),o=(0,n.eW)((t,e,a,n)=>{let r=t.append("image");r.attr("x",e),r.attr("y",a);let s=(0,i.sanitizeUrl)(n);r.attr("xlink:href",s)},"drawImage"),h=(0,n.eW)((t,e,a,n)=>{let r=t.append("use");r.attr("x",e),r.attr("y",a);let s=(0,i.sanitizeUrl)(n);r.attr("xlink:href",`#${s}`)},"drawEmbeddedImage"),d=(0,n.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),u=(0,n.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/17896441.72a0dee3.js b/pr-preview/pr-3/assets/js/17896441.72a0dee3.js new file mode 100644 index 0000000..fcc48cb --- /dev/null +++ b/pr-preview/pr-3/assets/js/17896441.72a0dee3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7048"],{52520:function(e,t,n){n.d(t,{Z:()=>p});var s=n("85893");n("67294");var a=n("67026"),l=n("84681"),i=n("69369"),o=n("79246"),r=n("83012"),c=n("96025"),d=n("4757");function u(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("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"})})}let m="breadcrumbHomeIcon_YNFT";function h(){let e=(0,d.ZP)("/");return(0,s.jsx)("li",{className:"breadcrumbs__item",children:(0,s.jsx)(r.Z,{"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,s.jsx)(u,{className:m})})})}let b="breadcrumbsContainer_Z_bl";function x(e){let{children:t,href:n,isLast:a}=e,l="breadcrumbs__link";return a?(0,s.jsx)("span",{className:l,itemProp:"name",children:t}):n?(0,s.jsx)(r.Z,{className:l,href:n,itemProp:"item",children:(0,s.jsx)("span",{itemProp:"name",children:t})}):(0,s.jsx)("span",{className:l,children:t})}function v(e){let{children:t,active:n,index:l,addMicrodata:i}=e;return(0,s.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,a.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,s.jsx)("meta",{itemProp:"position",content:String(l+1)})]})}function p(){let e=(0,i.s1)(),t=(0,o.Ns)();return e?(0,s.jsx)("nav",{className:(0,a.Z)(l.k.docs.docBreadcrumbs,b),"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,s.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,s.jsx)(h,{}),e.map((t,n)=>{let a=n===e.length-1,l="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,s.jsx)(v,{active:a,index:n,addMicrodata:!!l,children:(0,s.jsx)(x,{href:l,isLast:a,children:t.label})},n)})]})}):null}},25628:function(e,t,n){n.r(t),n.d(t,{default:()=>S});var s=n("85893"),a=n("67294"),l=n("14713"),i=n("85346");let o=a.createContext(null);function r(e){var t;let{children:n,content:l}=e;let i=(t=l,(0,a.useMemo)(()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,contentTitle:t.contentTitle,toc:t.toc}),[t]));return(0,s.jsx)(o.Provider,{value:i,children:n})}function c(){let e=(0,a.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){let{metadata:e,frontMatter:t,assets:n}=c();return(0,s.jsx)(l.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n("67026"),m=n("54704"),h=n("23944");function b(){let{metadata:e}=c();return(0,s.jsx)(h.Z,{previous:e.previous,next:e.next})}var x=n("59580"),v=n("46035"),p=n("84681"),j=n("96025"),g=n("48627");let f="tags_jXut",_="tag_QGVx";function C(e){let{tags:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("b",{children:(0,s.jsx)(j.default,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,s.jsx)("ul",{className:(0,u.Z)(f,"padding--none","margin-left--sm"),children:t.map(e=>(0,s.jsx)("li",{className:_,children:(0,s.jsx)(g.Z,{...e})},e.permalink))})]})}var N=n("86594");function k(){let{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,tags:l}=e,i=l.length>0,o=!!(t||n||a);return i||o?(0,s.jsxs)("footer",{className:(0,u.Z)(p.k.docs.docFooter,"docusaurus-mt-lg"),children:[i&&(0,s.jsx)("div",{className:(0,u.Z)("row margin-top--sm",p.k.docs.docFooterTagsRow),children:(0,s.jsx)("div",{className:"col",children:(0,s.jsx)(C,{tags:l})})}),o&&(0,s.jsx)(N.Z,{className:(0,u.Z)("margin-top--sm",p.k.docs.docFooterEditMetaRow),editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a})]}):null}var Z=n("57455"),L=n("76365");let T={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function w(e){let{collapsed:t,...n}=e;return(0,s.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",T.tocCollapsibleButton,!t&&T.tocCollapsibleButtonExpanded,n.className),children:(0,s.jsx)(j.default,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}let B={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function E(e){let{toc:t,className:n,minHeadingLevel:a,maxHeadingLevel:l}=e,{collapsed:i,toggleCollapsed:o}=(0,Z.u)({initialState:!0});return(0,s.jsxs)("div",{className:(0,u.Z)(B.tocCollapsible,!i&&B.tocCollapsibleExpanded,n),children:[(0,s.jsx)(w,{collapsed:i,onClick:o}),(0,s.jsx)(Z.z,{lazy:!0,className:B.tocCollapsibleContent,collapsed:i,children:(0,s.jsx)(L.Z,{toc:t,minHeadingLevel:a,maxHeadingLevel:l})})]})}let I="tocMobile_ITEo";function M(){let{toc:e,frontMatter:t}=c();return(0,s.jsx)(E,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(p.k.docs.docTocMobile,I)})}var V=n("1397");function y(){let{toc:e,frontMatter:t}=c();return(0,s.jsx)(V.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:p.k.docs.docTocDesktop})}var A=n("34403"),H=n("2584");function P(e){let{children:t}=e,n=function(){let{metadata:e,frontMatter:t,contentTitle:n}=c();return!t.hide_title&&void 0===n?e.title:null}();return(0,s.jsxs)("div",{className:(0,u.Z)(p.k.docs.docMarkdown,"markdown"),children:[n&&(0,s.jsx)("header",{children:(0,s.jsx)(A.Z,{as:"h1",children:n})}),(0,s.jsx)(H.Z,{children:t})]})}var F=n("52520"),R=n("38813");let D={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function O(e){let{children:t}=e,n=function(){let{frontMatter:e,toc:t}=c(),n=(0,m.i)(),a=e.hide_table_of_contents,l=!a&&t.length>0,i=l?(0,s.jsx)(M,{}):void 0;return{hidden:a,mobile:i,desktop:l&&("desktop"===n||"ssr"===n)?(0,s.jsx)(y,{}):void 0}}(),{metadata:a}=c();return(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&D.docItemCol),children:[(0,s.jsx)(R.Z,{metadata:a}),(0,s.jsx)(x.Z,{}),(0,s.jsxs)("div",{className:D.docItemContainer,children:[(0,s.jsxs)("article",{children:[(0,s.jsx)(F.Z,{}),(0,s.jsx)(v.Z,{}),n.mobile,(0,s.jsx)(P,{children:t}),(0,s.jsx)(k,{})]}),(0,s.jsx)(b,{})]})]}),n.desktop&&(0,s.jsx)("div",{className:"col col--3",children:n.desktop})]})}function S(e){let t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,s.jsx)(r,{content:e.content,children:(0,s.jsxs)(l.FG,{className:t,children:[(0,s.jsx)(d,{}),(0,s.jsx)(O,{children:(0,s.jsx)(n,{})})]})})}},23944:function(e,t,n){n.d(t,{Z:()=>r});var s=n("85893");n("67294");var a=n("96025"),l=n("67026"),i=n("83012");function o(e){let{permalink:t,title:n,subLabel:a,isNext:o}=e;return(0,s.jsxs)(i.Z,{className:(0,l.Z)("pagination-nav__link",o?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[a&&(0,s.jsx)("div",{className:"pagination-nav__sublabel",children:a}),(0,s.jsx)("div",{className:"pagination-nav__label",children:n})]})}function r(e){let{previous:t,next:n}=e;return(0,s.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,a.translate)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,s.jsx)(o,{...t,subLabel:(0,s.jsx)(a.default,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,s.jsx)(o,{...n,subLabel:(0,s.jsx)(a.default,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},46035:function(e,t,n){n.d(t,{Z:function(){return r}});var s=n(85893);n(67294);var a=n(67026),l=n(96025),i=n(84681),o=n(68529);function r(e){let{className:t}=e,n=(0,o.E)();return n.badge?(0,s.jsx)("span",{className:(0,a.Z)(t,i.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,s.jsx)(l.default,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},59580:function(e,t,n){n.d(t,{Z:function(){return v}});var s=n(85893);n(67294);var a=n(67026),l=n(2933),i=n(83012),o=n(96025),r=n(81723),c=n(84681),d=n(93896),u=n(68529);let m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,s.jsx)(o.default,{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:(0,s.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,s.jsx)(o.default,{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:(0,s.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){let t=m[e.versionMetadata.banner];return(0,s.jsx)(t,{...e})}function b(e){let{versionLabel:t,to:n,onClick:a}=e;return(0,s.jsx)(o.default,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,s.jsx)("b",{children:(0,s.jsx)(i.Z,{to:n,onClick:a,children:(0,s.jsx)(o.default,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function x(e){let t,{className:n,versionMetadata:i}=e,{siteConfig:{title:o}}=(0,l.Z)(),{pluginId:u}=(0,r.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(u),{latestDocSuggestion:x,latestVersionSuggestion:v}=(0,r.Jo)(u);let p=x??(t=v).docs.find(e=>e.id===t.mainDocId);return(0,s.jsxs)("div",{className:(0,a.Z)(n,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,s.jsx)("div",{children:(0,s.jsx)(h,{siteTitle:o,versionMetadata:i})}),(0,s.jsx)("div",{className:"margin-top--md",children:(0,s.jsx)(b,{versionLabel:v.label,to:p.path,onClick:()=>m(v.name)})})]})}function v(e){let{className:t}=e,n=(0,u.E)();return n.banner?(0,s.jsx)(x,{className:t,versionMetadata:n}):null}},48627:function(e,t,n){n.d(t,{Z:()=>o});var s=n("85893");n("67294");var a=n("67026"),l=n("83012");let i={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function o(e){let{permalink:t,label:n,count:o,description:r}=e;return(0,s.jsxs)(l.Z,{href:t,title:r,className:(0,a.Z)(i.tag,o?i.tagWithCount:i.tagRegular),children:[n,o&&(0,s.jsx)("span",{children:o})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/1824.d9e8ca59.js b/pr-preview/pr-3/assets/js/1824.d9e8ca59.js new file mode 100644 index 0000000..fb40cf2 --- /dev/null +++ b/pr-preview/pr-3/assets/js/1824.d9e8ca59.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1824"],{31764:function(e,n,r){r.d(n,{createPieServices:function(){return s.l}});var s=r(75243);r(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/1996.9a0f09ed.js b/pr-preview/pr-3/assets/js/1996.9a0f09ed.js new file mode 100644 index 0000000..77d9429 --- /dev/null +++ b/pr-preview/pr-3/assets/js/1996.9a0f09ed.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1996"],{89455:function(e,n,c){c.d(n,{createPacketServices:function(){return r.g}});var r=c(16100);c(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/1df93b7f.a81e42d3.js b/pr-preview/pr-3/assets/js/1df93b7f.a81e42d3.js new file mode 100644 index 0000000..69e50f5 --- /dev/null +++ b/pr-preview/pr-3/assets/js/1df93b7f.a81e42d3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8706"],{85108:function(e,t,l){l.d(t,{Z:function(){return n}});var a=l(67294);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:l,...n}=e;return a.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 410 410","aria-labelledby":l},n),t?a.createElement("title",{id:l},t):null,a.createElement("path",{d:"m170.87 1031.5 9.78-15.68 2.793.41c6.71.983 14.376 1.53 21.5 1.536 6.946 0 9.727-.186 21.773-1.498l3.68-.401 9.019 14.61c4.96 8.035 9.391 15.12 9.848 15.743.8 1.09 1.1 1.06 8.147-.834 9.955-2.674 21.658-6.796 31.384-11.053 10.684-4.676 26.554-13.377 26.545-14.554 0-.249-1.89-8.384-4.196-18.079l-4.192-17.627 6.189-5.04c7.72-6.288 18.256-16.833 24.25-24.267 2.512-3.116 4.96-5.666 5.44-5.666s8.577 1.794 17.992 3.987c9.414 2.193 17.229 3.987 17.364 3.987.656 0 7.029-11.441 11.345-20.367 5.822-12.042 10.109-23.404 13.476-35.725 1.932-7.069 2.33-9.28 1.734-9.641a7831 7831 0 0 1-15.8-9.86c-11.99-7.494-14.998-9.636-14.886-10.6 1.88-16.198 1.798-37.2-.184-46.976-.31-1.527.457-2.098 14.819-11.04 8.33-5.187 15.437-9.619 15.794-9.849 1.356-.875-4.375-20.435-9.99-34.097-4.045-9.84-12.99-27.37-16.257-31.863-.055-.076-8.227 1.796-18.158 4.16l-18.057 4.297-1.84-2.31c-8.956-11.238-18.167-20.533-28.98-29.244-2.446-1.97-4.447-3.682-4.447-3.804s1.794-7.943 3.987-17.38 3.986-17.561 3.986-18.053c0-1.727-18.082-11.504-31.407-16.981-13.568-5.577-33.22-11.348-34.108-10.015-.23.346-4.663 7.455-9.85 15.797-6.133 9.86-9.713 15.061-10.232 14.862-.44-.169-5.945-.651-12.233-1.072-9.181-.615-13.63-.613-22.581.01-6.132.428-11.85.918-12.706 1.089-1.46.291-2.16-.662-10.983-14.92-5.184-8.377-9.622-15.457-9.862-15.733-.982-1.131-20.802 4.688-33.332 9.786-13.335 5.426-32.257 15.65-32.27 17.437-.01.529 1.786 8.493 3.979 17.7 2.192 9.205 3.986 17.076 3.986 17.492s-2.277 2.514-5.06 4.663c-6.51 5.027-20.55 19.068-25.577 25.577-2.15 2.783-4.346 5.056-4.882 5.05-.535-.005-8.702-1.783-18.147-3.951l-17.173-3.942-1.041 1.345c-1.851 2.39-8.942 15.27-12.051 21.892-4.235 9.016-8.77 21.493-11.704 32.192-1.374 5.008-2.497 9.29-2.497 9.514s7.057 4.802 15.682 10.171l15.682 9.762-.368 3.68c-1.643 16.424-1.58 30.111.194 42.751l.49 3.499-12.62 7.817c-6.94 4.299-14.05 8.724-15.797 9.833l-3.178 2.017 2.066 7.828c2.782 10.54 7.088 22.75 11.33 32.126 3.587 7.93 11.007 21.498 13.2 24.138l1.227 1.477 17.787-4.231 17.787-4.232 1.533 1.95c8.328 10.588 19.1 21.55 28.675 29.177 3.304 2.631 4.97 4.361 4.796 4.98-.828 2.955-7.71 33.854-7.71 34.616 0 1.819 20.232 12.64 33.12 17.715 9.996 3.937 27.986 9.49 30.972 9.562.95.023 3.428-3.5 11.007-15.651zm16.613-46.558c-46.751-6.362-86.28-34.575-106.5-76.015-10.372-21.253-14.31-38.23-14.299-61.64.011-23.477 3.747-39.693 14.111-61.253 6.667-13.868 13.94-24.152 25.36-35.86 22.308-22.869 52.258-37.466 83.943-40.911 8.798-.957 29.532-.448 37.532.921 38.597 6.605 72.914 29.006 93.995 61.357 7.679 11.783 15.552 30.325 18.751 44.16 7.266 31.423 3.294 65.06-11.078 93.816-20.91 41.837-61.455 70.015-109 75.756-7.138.862-25.399.678-32.809-.33zm80.351-47.522c1.122-1.24 1.021-1.367-9.105-11.507-8.654-8.665-10.24-10.536-10.24-12.078 0-1.527 1.379-3.206 8.425-10.267 11.308-11.329 9.71-11.448 22.882 1.706 10.127 10.114 10.164 10.143 11.308 8.879 1.127-1.245 1.094-1.473-1.801-12.447l-2.95-11.179-5.852-5.945-5.853-5.945-11.086-2.59-11.086-2.588-34.988-34.88-34.988-34.88-2.016-8.412c-3.699-15.43-3.003-13.99-9.784-20.247l-6.051-5.584-10.98-3.067c-10.882-3.04-10.99-3.057-12.186-1.874-1.198 1.184-1.132 1.268 9.046 11.51 8.567 8.621 10.253 10.613 10.253 12.11 0 1.486-1.487 3.281-8.732 10.539-6.585 6.597-9.109 8.747-10.267 8.747-1.166 0-3.987-2.45-11.756-10.208-10.232-10.219-11.565-11.117-12.577-8.48-.204.533.942 6.03 2.546 12.218l2.918 11.25 5.9 5.83 5.902 5.831 11.154 2.62 11.154 2.619 34.888 35.007 34.888 35.007 2.598 11.157 2.598 11.157 6.14 5.66 6.14 5.662 10.54 2.92c5.796 1.606 10.84 2.939 11.21 2.962s1.183-.523 1.807-1.212zm-114.41-7.402c3.59-1.661 6.216-4.07 26.371-24.178l22.384-22.332-3.648-3.686-3.648-3.686-9.31 9.189c-8.476 8.366-9.505 9.19-11.485 9.19-1.62 0-2.5-.414-3.446-1.617-2.667-3.39-2.018-4.54 8.613-15.263l8.526-8.6-3.839-3.779-3.838-3.78-9.637 9.16c-10.391 9.875-11.546 10.503-14.397 7.825-.96-.902-1.42-2.03-1.42-3.482 0-1.948.857-3.012 9.198-11.415l9.197-9.266-3.686-3.647-3.685-3.647-22.096 22.069c-24.136 24.106-25.093 25.317-26.468 33.478-.961 5.708.077 9.974 3.55 14.594 2.966 3.946 8.952 9.735 12.46 12.05 5.636 3.72 13.364 4.034 20.303.824zm71.146-105.42-21.16-20.766-2.923 2.853-2.924 2.853 21.011 21.018 21.011 21.018 3.072-3.105 3.072-3.105zm25.617-15.806 15.337-15.8 7.277-2.378 7.276-2.379 6.406-9.319c3.523-5.126 6.5-9.602 6.615-9.947s-2.827-3.45-6.538-6.898l-6.747-6.27-9.47 6.787-9.471 6.788-2.358 6.752-2.357 6.751-16.095 16.094-16.095 16.094 4.735 4.762c2.603 2.62 5.052 4.763 5.442 4.763s7.609-7.11 16.044-15.8z",style:{fill:"#e12d0e"},transform:"translate(0 -642.36)"}))}},10184:function(e,t,l){l.d(t,{Z:function(){return n}});var a=l(67294);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:l,...n}=e;return a.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 126.8 122.88","aria-labelledby":l},n),t?a.createElement("title",{id:l},t):null,a.createElement("path",{d:"M69.4 78.06c3.92-1.6 6.86-4.61 8.47-8.23 1.65-3.71 1.89-8.04.32-12.12v-.01c-1.56-4.07-4.64-7.13-8.35-8.78-3.7-1.65-8.04-1.89-12.12-.32-4.07 1.56-7.13 4.64-8.78 8.35-1.65 3.7-1.89 8.04-.32 12.12v.01l.02-.01c.8 2.08 2.03 3.95 3.58 5.5 1.57 1.57 3.44 2.81 5.5 3.6 2.36.9 3.54 3.54 2.64 5.9l.02.01-13.75 35.83a4.59 4.59 0 0 1-5.92 2.66c-.14-.05-.27-.11-.4-.17-16.15-6.32-28.25-18.54-34.79-33.22-6.62-14.83-7.57-32.16-1.3-48.48.05-.14.11-.27.17-.4 6.32-16.15 18.54-28.25 33.22-34.79C52.44-1.1 69.78-2.05 86.1 4.22c12.31 4.72 22.3 12.87 29.3 22.93a63.6 63.6 0 0 1 11.38 35.56v.04h.02v1.09c0 .16-.01.31-.02.46-.05 3.64-.41 7.27-1.09 10.86a64 64 0 0 1-3.12 10.94l.02.01a63.3 63.3 0 0 1-14.36 22.12 63.5 63.5 0 0 1-22.12 14.36c-2.37.9-5.02-.29-5.92-2.66L66.43 84.09c-.9-2.37.29-5.02 2.66-5.92.1-.04.2-.08.31-.11m16.83-4.49a24.92 24.92 0 0 1-9.74 11.12l10.55 27.49c5.48-2.66 10.43-6.2 14.69-10.46a54.2 54.2 0 0 0 12.28-18.89l.02.01v-.01a54.702 54.702 0 0 0 3.61-18.64c-.01-.12-.01-.24-.01-.36v-1.09h.02c-.13-10.9-3.6-21.48-9.77-30.35-5.98-8.6-14.52-15.55-25.03-19.59-13.99-5.37-28.82-4.57-41.48 1.07-12.58 5.6-23.04 15.96-28.44 29.76-.03.11-.07.23-.11.34-5.37 13.99-4.57 28.82 1.07 41.49 5.06 11.37 14.01 21.01 25.88 26.75l10.56-27.5a25 25 0 0 1-4.59-3.61 24.9 24.9 0 0 1-5.66-8.73l.02-.01c-2.47-6.44-2.1-13.27.5-19.11a24.89 24.89 0 0 1 13.41-12.97c.3-.15.61-.28.95-.36 6.3-2.28 12.95-1.87 18.65.67A24.89 24.89 0 0 1 86.58 54c.15.3.28.62.36.95a25.02 25.02 0 0 1-.71 18.62",style:{fill:"#21552a"}}),a.createElement("path",{d:"M70.71 82.46c10.53-4.04 15.78-15.85 11.74-26.38-4.03-10.53-15.84-15.78-26.37-11.74-10.52 4.04-15.78 15.85-11.74 26.37 2.07 5.4 6.34 9.67 11.74 11.74l-13.75 35.83C12.01 106.65-3.13 72.65 8.51 42.33 20.14 12.01 54.15-3.13 84.47 8.51c23.16 8.89 37.47 30.84 37.74 54.23v1.09a58.9 58.9 0 0 1-3.91 20.64 58.77 58.77 0 0 1-33.82 33.82z",style:{fill:"#3fa652"}}))}},21677:function(e,t,l){l.d(t,{Z:function(){return w}});var a,c,n,r,i,s,f,h,o,d,m,u,p,v,g,x,b,E,j,y=l(67294);function M(){return(M=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:l,...w}=e;return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:926.622,height:600.085,"data-name":"Layer 1",viewBox:"0 0 926.622 600.085","aria-labelledby":l},w),t?y.createElement("title",{id:l},t):null,a||(a=y.createElement("circle",{cx:150.534,cy:254.872,r:24.561,fill:"#ffb8b8"})),c||(c=y.createElement("path",{fill:"#ffb8b8",d:"m67.543 549.197 6.219 10.566 43.712-18.96-9.179-15.593z"})),n||(n=y.createElement("path",{fill:"#2f2e41",d:"m69.406 544.472 12.248 20.807a15.386 15.386 0 0 1-5.455 21.065l-.431.254-20.052-34.067Z"})),r||(r=y.createElement("path",{fill:"#ffb8b8",d:"m139.6 587.26 12.26-.001 5.832-47.288-18.094.001z"})),i||(i=y.createElement("path",{fill:"#2f2e41",d:"M136.473 583.257h24.144a15.386 15.386 0 0 1 15.387 15.385v.5l-39.53.002ZM90.311 558.61a4.5 4.5 0 0 1-3.624-1.833l-11.823-16.059a4.5 4.5 0 0 1 1.124-6.41l52.614-35.142-31.746-83.474 67.889 5.602 2.286 71.734a36.05 36.05 0 0 1-18.045 32.423L92.56 558.005a4.5 4.5 0 0 1-2.249.605"})),s||(s=y.createElement("path",{fill:"#2f2e41",d:"M139.97 577.66a4.5 4.5 0 0 1-4.489-4.34l-2.488-69.882 30.809-1.623-2.453 70.384a4.487 4.487 0 0 1-4.2 4.333l-16.873 1.118a5 5 0 0 1-.306.01"})),f||(f=y.createElement("path",{fill:"#6c63ff",d:"M172.602 435.171c-7.839 0-35.217-8.816-44.721-11.959-1.422 1.138-9.234 6.979-18.352 5.911-5.626-.66-10.578-3.844-14.72-9.465-9.147-12.415 2.15-65.652 13.239-108.126a34.27 34.27 0 0 1 40.528-24.88 34.57 34.57 0 0 1 26.088 25.378c2.087 8.498.291 18.494-1.02 25.794-.616 3.431-1.103 6.142-.937 7.474.644 5.149 4.219 85.892 1.92 89.34-.245.367-.953.533-2.025.533"})),h||(h=y.createElement("path",{fill:"#ffb8b8",d:"M143.927 435.314a10.743 10.743 0 0 0 .941-16.445l.486-97.844-23.045 3.837 6.77 94.97a10.8 10.8 0 0 0 14.848 15.482"})),o||(o=y.createElement("path",{fill:"#6c63ff",d:"M149.257 383.86h-24.822a4.514 4.514 0 0 1-4.5-4.458l-.61-67.292a17.603 17.603 0 1 1 35.205.043l-.773 67.26a4.515 4.515 0 0 1-4.5 4.448"})),d||(d=y.createElement("path",{fill:"#2f2e41",d:"M144.28 279.331c-11.245.02-21.854-8.868-23.803-19.943a28.7 28.7 0 0 1 .92-13.014 34.954 34.954 0 0 1 47.935-21.953c3.008 1.362 5.971 3.317 7.349 6.318s.515 7.195-2.498 8.545c-1.97.883-4.44.45-6.187 1.716-2.51 1.82-1.864 5.692-.743 8.581s2.388 6.387.51 8.853c-1.751 2.297-5.25 2.226-8.005 1.361s-5.476-2.313-8.349-2.018c-4.19.43-7.201 4.598-7.759 8.773s.755 8.349 2.05 12.357Z"})),m||(m=y.createElement("path",{fill:"#ccc",d:"M259 600.085H1a1 1 0 1 1 0-2h258a1 1 0 0 1 0 2"})),u||(u=y.createElement("path",{fill:"#f2f2f2",d:"M910.122 434.548H269.283a16.52 16.52 0 0 1-16.5-16.5V22.894a12.1 12.1 0 0 1 12.088-12.088h649.454a12.31 12.31 0 0 1 12.297 12.297v394.945a16.52 16.52 0 0 1-16.5 16.5"})),p||(p=y.createElement("path",{fill:"#fff",d:"M889.402 413.716H292.157c-8.755 0-15.877-6.67-15.877-14.869V54.742c0-6.08 5.278-11.026 11.765-11.026H893.32c6.595 0 11.96 5.028 11.96 11.208v343.923c0 8.199-7.122 14.869-15.877 14.869"})),v||(v=y.createElement("path",{fill:"#3f3d56",d:"M926.392 24.95h-673.84v-8.4A16.574 16.574 0 0 1 269.112 0h640.72a16.574 16.574 0 0 1 16.56 16.55Z"})),g||(g=y.createElement("circle",{cx:282.647,cy:12.5,r:4.283,fill:"#fff"})),x||(x=y.createElement("circle",{cx:298.906,cy:12.5,r:4.283,fill:"#fff"})),b||(b=y.createElement("circle",{cx:315.165,cy:12.5,r:4.283,fill:"#fff"})),E||(E=y.createElement("path",{fill:"#ccc",d:"M576.61 118.954H459.802a6.566 6.566 0 0 1 0-13.132H576.61a6.566 6.566 0 1 1 0 13.132M721.757 118.954H604.949a6.566 6.566 0 0 1 0-13.132h116.808a6.566 6.566 0 1 1 0 13.132M721.757 143.837H518.552a6.566 6.566 0 1 1 0-13.133h203.205a6.566 6.566 0 1 1 0 13.133M576.61 93.727H459.802a6.566 6.566 0 0 1 0-13.133H576.61a6.566 6.566 0 1 1 0 13.133M640.89 94.072h-33.177a6.566 6.566 0 0 1 0-13.132h33.177a6.566 6.566 0 1 1 0 13.132M492.979 143.837h-33.177a6.566 6.566 0 0 1 0-13.133h33.177a6.566 6.566 0 1 1 0 13.133M576.61 351.954H459.802a6.566 6.566 0 0 1 0-13.132H576.61a6.566 6.566 0 1 1 0 13.132M721.757 351.954H604.949a6.566 6.566 0 0 1 0-13.132h116.808a6.566 6.566 0 1 1 0 13.132M721.757 376.837H518.552a6.566 6.566 0 1 1 0-13.133h203.205a6.566 6.566 0 1 1 0 13.133M576.61 326.727H459.802a6.566 6.566 0 0 1 0-13.133H576.61a6.566 6.566 0 1 1 0 13.133M640.89 327.072h-33.177a6.566 6.566 0 0 1 0-13.132h33.177a6.566 6.566 0 0 1 0 13.132M492.979 376.837h-33.177a6.566 6.566 0 0 1 0-13.133h33.177a6.566 6.566 0 1 1 0 13.133"})),j||(j=y.createElement("path",{fill:"#6c63ff",d:"M546.104 281.462a9.4 9.4 0 0 1-6.624-2.71l-43.908-43.36a9.15 9.15 0 0 1 0-13.023l43.73-43.184a9.7 9.7 0 0 1 13.644.043 9.69 9.69 0 0 1 0 13.686l-32.495 32.497a5.413 5.413 0 0 0 0 7.646l32.32 32.32a9.418 9.418 0 0 1-6.667 16.085M616.07 281.462a9.418 9.418 0 0 1-6.667-16.084l32.32-32.32a5.413 5.413 0 0 0 0-7.647l-32.496-32.497a9.68 9.68 0 0 1 0-13.686 9.7 9.7 0 0 1 13.643-.043l43.732 43.184a9.15 9.15 0 0 1 0 13.023l-43.91 43.36a9.4 9.4 0 0 1-6.623 2.71"})))}},12408:function(e,t,l){l.r(t),l.d(t,{default:()=>g});var a=l("85893"),c=l("67026"),n=l("83012"),r=l("2933"),i=l("37647"),s=l("34403");let f="features_t9lD",h="featureSvg_GfXr",o=[{title:"Easy to Use",Svg:l(21677).Z,description:(0,a.jsx)(a.Fragment,{children:"PIES was designed from the ground up to be easily understood and installed in your application quickly."})},{title:"Interoperable",Svg:l(85108).Z,description:(0,a.jsx)(a.Fragment,{children:"PIES lets you focus on your data. Let your systems communicate to each other with ease."})},{title:"Open Source",Svg:l(10184).Z,description:(0,a.jsxs)(a.Fragment,{children:["Want to improve PIES? We welcome your"," ",(0,a.jsx)("a",{href:"https://github.com/bcgov/nr-permit-interoperability-exchange-specification",children:"contributions"}),"!"]})}];function d(e){let{title:t,Svg:l,description:n}=e;return(0,a.jsxs)("div",{className:(0,c.Z)("col col--4"),children:[(0,a.jsx)("div",{className:"text--center",children:(0,a.jsx)(l,{className:h,role:"img"})}),(0,a.jsxs)("div",{className:"text--center padding-horiz--md",children:[(0,a.jsx)(s.Z,{as:"h3",children:t}),(0,a.jsx)("p",{children:n})]})]})}function m(){return(0,a.jsx)("section",{className:f,children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row",children:o.map((e,t)=>(0,a.jsx)(d,{...e},t))})})})}let u="heroBanner_qdFl",p="buttons_AeoN";function v(){let{siteConfig:e}=(0,r.Z)();return(0,a.jsx)("header",{className:(0,c.Z)("hero hero--primary",u),children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)(s.Z,{as:"h1",className:"hero__title",children:e.title}),(0,a.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,a.jsx)("div",{className:p,children:(0,a.jsx)(n.Z,{className:"button button--secondary button--lg",to:"/docs/intro/getting_started",children:"Get Started - 5min \u23F1\uFE0F"})})]})})}function g(){let{siteConfig:e}=(0,r.Z)();return(0,a.jsxs)(i.Z,{title:`Welcome to ${e.title}`,description:e.tagline,children:[(0,a.jsx)(v,{}),(0,a.jsx)("main",{children:(0,a.jsx)(m,{})})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/1f391b9e.046a0919.js b/pr-preview/pr-3/assets/js/1f391b9e.046a0919.js new file mode 100644 index 0000000..70745ca --- /dev/null +++ b/pr-preview/pr-3/assets/js/1f391b9e.046a0919.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2493"],{8402:function(e,a,s){s.r(a),s.d(a,{default:()=>g});var i=s("85893");s("67294");var l=s("67026"),t=s("14713"),n=s("84681"),c=s("37647"),d=s("2584"),r=s("1397"),o=s("38813"),m=s("86594");let x="mdxPageWrapper_j9I6";function g(e){let{content:a}=e,{metadata:s,assets:g}=a,{title:p,editUrl:h,description:j,frontMatter:_,lastUpdatedBy:v,lastUpdatedAt:u}=s,{keywords:Z,wrapperClassName:k,hide_table_of_contents:f}=_,w=g.image??_.image,N=!!(h||u||v);return(0,i.jsx)(t.FG,{className:(0,l.Z)(k??n.k.wrapper.mdxPages,n.k.page.mdxPage),children:(0,i.jsxs)(c.Z,{children:[(0,i.jsx)(t.d,{title:p,description:j,keywords:Z,image:w}),(0,i.jsx)("main",{className:"container container--fluid margin-vert--lg",children:(0,i.jsxs)("div",{className:(0,l.Z)("row",x),children:[(0,i.jsxs)("div",{className:(0,l.Z)("col",!f&&"col--8"),children:[(0,i.jsx)(o.Z,{metadata:s}),(0,i.jsx)("article",{children:(0,i.jsx)(d.Z,{children:(0,i.jsx)(a,{})})}),N&&(0,i.jsx)(m.Z,{className:(0,l.Z)("margin-top--sm",n.k.pages.pageFooterEditMetaRow),editUrl:h,lastUpdatedAt:u,lastUpdatedBy:v})]}),!f&&a.toc.length>0&&(0,i.jsx)("div",{className:"col col--2",children:(0,i.jsx)(r.Z,{toc:a.toc,minHeadingLevel:_.toc_min_heading_level,maxHeadingLevel:_.toc_max_heading_level})})]})})]})})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/2036.b404ef9a.js b/pr-preview/pr-3/assets/js/2036.b404ef9a.js new file mode 100644 index 0000000..c649f1e --- /dev/null +++ b/pr-preview/pr-3/assets/js/2036.b404ef9a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2036"],{88091:function(t,i,e){e.d(i,{diagram:function(){return tt}});var s,n=e(92719),a=e(7690),h=e(94159),o=e(5995),r=e(27818),l=function(){var t=(0,o.eW)(function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],a=[1,6],h=[1,7],r=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],c=[1,26],g=[1,28],u=[1,29],x=[1,30],d=[1,31],p=[1,32],f=[1,33],y=[1,34],m=[1,35],b=[1,36],A=[1,37],S=[1,43],C=[1,42],w=[1,47],k=[1,50],_=[1,10,12,14,16,18,19,21,23,34,35,36],T=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],R=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],W=[1,64],D={trace:(0,o.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:(0,o.eW)(function(t,i,e,s,n,a,h){var o=a.length-1;switch(n){case 5:s.setOrientation(a[o]);break;case 9:s.setDiagramTitle(a[o].text.trim());break;case 12:s.setLineData({text:"",type:"text"},a[o]);break;case 13:s.setLineData(a[o-1],a[o]);break;case 14:s.setBarData({text:"",type:"text"},a[o]);break;case 15:s.setBarData(a[o-1],a[o]);break;case 16:this.$=a[o].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=a[o].trim(),s.setAccDescription(this.$);break;case 19:case 27:this.$=a[o-1];break;case 20:this.$=[Number(a[o-2]),...a[o]];break;case 21:this.$=[Number(a[o])];break;case 22:s.setXAxisTitle(a[o]);break;case 23:s.setXAxisTitle(a[o-1]);break;case 24:s.setXAxisTitle({type:"text",text:""});break;case 25:s.setXAxisBand(a[o]);break;case 26:s.setXAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 28:this.$=[a[o-2],...a[o]];break;case 29:this.$=[a[o]];break;case 30:s.setYAxisTitle(a[o]);break;case 31:s.setYAxisTitle(a[o-1]);break;case 32:s.setYAxisTitle({type:"text",text:""});break;case 33:s.setYAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 37:case 38:this.$={text:a[o],type:"text"};break;case 39:this.$={text:a[o],type:"markdown"};break;case 40:this.$=a[o];break;case 41:this.$=a[o-1]+""+a[o]}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:n,35:a,36:h}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:n,35:a,36:h}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:a,36:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(r,[2,34]),t(r,[2,35]),t(r,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:n,35:a,36:h}),{1:[2,3]},t(r,[2,5]),t(i,[2,7],{4:22,34:n,35:a,36:h}),{11:23,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:39,13:38,24:S,27:C,29:40,30:41,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:45,15:44,27:w,33:46,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:49,17:48,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:52,17:51,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{20:[1,53]},{22:[1,54]},t(_,[2,18]),{1:[2,2]},t(_,[2,8]),t(_,[2,9]),t(T,[2,37],{40:55,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A}),t(T,[2,38]),t(T,[2,39]),t(R,[2,40]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(_,[2,10]),t(_,[2,22],{30:41,29:56,24:S,27:C}),t(_,[2,24]),t(_,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},t(_,[2,11]),t(_,[2,30],{33:60,27:w}),t(_,[2,32]),{31:[1,61]},t(_,[2,12]),{17:62,24:k},{25:63,27:W},t(_,[2,14]),{17:65,24:k},t(_,[2,16]),t(_,[2,17]),t(R,[2,41]),t(_,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(_,[2,31]),{27:[1,69]},t(_,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(_,[2,15]),t(_,[2,26]),t(_,[2,27]),{11:59,32:72,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},t(_,[2,33]),t(_,[2,19]),{25:73,27:W},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:(0,o.eW)(function(t,i){if(i.recoverable)this.trace(t);else{var e=Error(t);throw e.hash=i,e}},"parseError"),parse:(0,o.eW)(function(t){var i=this,e=[0],s=[],n=[null],a=[],h=this.table,r="",l=0,c=0,g=0,u=a.slice.call(arguments,1),x=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);x.setInput(t,d.yy),d.yy.lexer=x,d.yy.parser=this,void 0===x.yylloc&&(x.yylloc={});var f=x.yylloc;a.push(f);var y=x.options&&x.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function m(){var t;return"number"!=typeof(t=s.pop()||x.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}(0,o.eW)(function(t){e.length=e.length-2*t,n.length=n.length-t,a.length=a.length-t},"popStack"),(0,o.eW)(m,"lex");for(var b,A,S,C,w,k,_,T,R,W={};;){if(S=e[e.length-1],this.defaultActions[S]?C=this.defaultActions[S]:(null==b&&(b=m()),C=h[S]&&h[S][b]),void 0===C||!C.length||!C[0]){var D="";for(k in R=[],h[S])this.terminals_[k]&&k>2&&R.push("'"+this.terminals_[k]+"'");D=x.showPosition?"Parse error on line "+(l+1)+":\n"+x.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(D,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:f,expected:R})}if(C[0]instanceof Array&&C.length>1)throw Error("Parse Error: multiple actions possible at state: "+S+", token: "+b);switch(C[0]){case 1:e.push(b),n.push(x.yytext),a.push(x.yylloc),e.push(C[1]),b=null,A?(b=A,A=null):(c=x.yyleng,r=x.yytext,l=x.yylineno,f=x.yylloc,g>0&&g--);break;case 2:if(_=this.productions_[C[1]][1],W.$=n[n.length-_],W._$={first_line:a[a.length-(_||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(_||1)].first_column,last_column:a[a.length-1].last_column},y&&(W._$.range=[a[a.length-(_||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(W,[r,c,l,d.yy,C[1],n,a].concat(u))))return w;_&&(e=e.slice(0,-1*_*2),n=n.slice(0,-1*_),a=a.slice(0,-1*_)),e.push(this.productions_[C[1]][0]),n.push(W.$),a.push(W._$),T=h[e[e.length-2]][e[e.length-1]],e.push(T);break;case 3:return!0}}return!0},"parse")},L={EOF:1,parseError:(0,o.eW)(function(t,i){if(this.yy.parser)this.yy.parser.parseError(t,i);else throw Error(t)},"parseError"),setInput:(0,o.eW)(function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,o.eW)(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},"input"),unput:(0,o.eW)(function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.eW)(function(){return this._more=!0,this},"more"),reject:(0,o.eW)(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})},"reject"),less:(0,o.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,o.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,o.eW)(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,"")},"upcomingInput"),showPosition:(0,o.eW)(function(){var t=this.pastInput(),i=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},"showPosition"),test_match:(0,o.eW)(function(t,i){var e,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack)for(var a in n)this[a]=n[a];return!1},"test_match"),next:(0,o.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,i,e,s,n=this._currentRules(),a=0;ai[0].length)){if(i=e,s=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[a])))return t;if(!this._backtrack)return!1;else{i=!1;continue}}if(!this.options.flex)break}if(i)return!1!==(t=this.test_match(i,n[s]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,o.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,o.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,o.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,o.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,o.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.eW)(function(t,i,e,s){switch(e){case 0:case 1:case 5:case 43:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 25:case 27:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 26:this.pushState("string");break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 44:return 35;case 45:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}};function P(){this.yy={}}return D.lexer=L,(0,o.eW)(P,"Parser"),P.prototype=D,D.Parser=P,new P}();l.parser=l;function c(t){return"bar"===t.type}function g(t){return"band"===t.type}function u(t){return"linear"===t.type}(0,o.eW)(c,"isBarPlot"),(0,o.eW)(g,"isBandAxisData"),(0,o.eW)(u,"isLinearAxisData");var x=class{constructor(t){this.parentGroup=t}static{(0,o.eW)(this,"TextDimensionCalculatorWithFont")}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((t,i)=>Math.max(i.length,t),0)*i,height:i};let e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(let a of t){let t=(0,n.QA)(s,1,a),h=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,h),e.height=Math.max(e.height,o)}return s.remove(),e}},d=class{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}static{(0,o.eW)(this,"BaseAxis")}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){let t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);let n=e.height+2*this.axisConfig.labelPadding;this.labelTextHeight=e.height,n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);let n=e.width+2*this.axisConfig.labelPadding;n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},p=class extends d{static{(0,o.eW)(this,"BandAxis")}constructor(t,i,e,s,n){super(t,s,n,i),this.categories=e,this.scale=(0,r.tiA)().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=(0,r.tiA)().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),o.cM.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},f=class extends d{static{(0,o.eW)(this,"LinearAxis")}constructor(t,i,e,s,n){super(t,s,n,i),this.domain=e,this.scale=(0,r.BYU)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,r.BYU)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}};function y(t,i,e,s){let n=new x(s);return g(t)?new p(i,e,t.categories,t.title,n):new f(i,e,[t.min,t.max],t.title,n)}(0,o.eW)(y,"getAxis");var m=class{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{(0,o.eW)(this,"ChartTitle")}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){let i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=s&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}};function b(t,i,e,s){return new m(new x(s),t,i,e)}(0,o.eW)(b,"getChartTitleComponent");var A=class{constructor(t,i,e,s,n){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=n}static{(0,o.eW)(this,"LinePlot")}getDrawableElement(){let t;let i=this.plotData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]);return(t="horizontal"===this.orientation?(0,r.jvg)().y(t=>t[0]).x(t=>t[1])(i):(0,r.jvg)().x(t=>t[0]).y(t=>t[1])(i))?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:t,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}},S=class{constructor(t,i,e,s,n,a){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=n,this.plotIndex=a}static{(0,o.eW)(this,"BarPlot")}getDrawableElement(){let t=this.barData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},C=class{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}static{(0,o.eW)(this,"BasePlot")}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let t=[];for(let[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{let s=new A(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{let s=new S(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}};function w(t,i,e){return new C(t,i,e)}(0,o.eW)(w,"getPlotComponent");var k=class{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:b(t,i,e,s),plot:w(t,i,e),xAxis:y(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:y(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}static{(0,o.eW)(this,"Orchestrator")}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),a=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:n,height:a});t-=h.width,i-=h.height,s=(h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=h.height,this.componentStore.xAxis.setAxisPosition("bottom"),h=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=h.height,this.componentStore.yAxis.setAxisPosition("left"),e=(h=this.componentStore.yAxis.calculateSpace({width:t,height:i})).width,(t-=h.width)>0&&(n+=t,t=0),i>0&&(a+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:a}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.xAxis.setRange([e,e+n]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+a}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some(t=>c(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),h=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:a,height:h});t-=o.width,i-=o.height,e=(o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=o.height,this.componentStore.xAxis.setAxisPosition("left"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=o.width,s=o.width,this.componentStore.yAxis.setAxisPosition("top"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=o.height,n=e+o.height,t>0&&(a+=t,t=0),i>0&&(h+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:h}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([n,n+h]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some(t=>c(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let t=[];for(let i of(this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis),Object.values(this.componentStore)))t.push(...i.getDrawableElements());return t}},_=class{static{(0,o.eW)(this,"XYChartBuilder")}static build(t,i,e,s){return new k(t,i,e,s).getDrawableElement()}},T=0,R=I(),W=v(),D=M(),L=W.plotColorPalette.split(",").map(t=>t.trim()),P=!1,E=!1;function v(){let t=(0,o.xN)(),i=(0,o.iE)();return(0,a.Rb)(t.xyChart,i.themeVariables.xyChart)}function I(){let t=(0,o.iE)();return(0,a.Rb)(o.vZ.xyChart,t.xyChart)}function M(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function $(t){let i=(0,o.iE)();return(0,o.oO)(t.trim(),i)}function B(t){s=t}function z(t){"horizontal"===t?R.chartOrientation="horizontal":R.chartOrientation="vertical"}function O(t){D.xAxis.title=$(t.text)}function F(t,i){D.xAxis={type:"linear",title:D.xAxis.title,min:t,max:i},P=!0}function N(t){D.xAxis={type:"band",title:D.xAxis.title,categories:t.map(t=>$(t.text))},P=!0}function V(t){D.yAxis.title=$(t.text)}function X(t,i){D.yAxis={type:"linear",title:D.yAxis.title,min:t,max:i},E=!0}function Y(t){let i=Math.min(...t),e=Math.max(...t),s=u(D.yAxis)?D.yAxis.min:1/0,n=u(D.yAxis)?D.yAxis.max:-1/0;D.yAxis={type:"linear",title:D.yAxis.title,min:Math.min(s,i),max:Math.max(n,e)}}function U(t){let i=[];if(0===t.length)return i;if(!P){let i=u(D.xAxis)?D.xAxis.min:1/0;F(Math.min(i,1),Math.max(u(D.xAxis)?D.xAxis.max:-1/0,t.length))}if(!E&&Y(t),g(D.xAxis)&&(i=D.xAxis.categories.map((i,e)=>[i,t[e]])),u(D.xAxis)){let e=D.xAxis.min,s=D.xAxis.max,n=(s-e)/(t.length-1),a=[];for(let t=e;t<=s;t+=n)a.push(`${t}`);i=a.map((i,e)=>[i,t[e]])}return i}function H(t){return L[0===t?0:t%L.length]}function j(t,i){let e=U(i);D.plots.push({type:"line",strokeFill:H(T),strokeWidth:2,data:e}),T++}function G(t,i){let e=U(i);D.plots.push({type:"bar",fill:H(T),data:e}),T++}function Q(){if(0===D.plots.length)throw Error("No Plot to render, please provide a plot with some data");return D.title=(0,o.Kr)(),_.build(R,D,W,s)}function K(){return W}function Z(){return R}(0,o.eW)(v,"getChartDefaultThemeConfig"),(0,o.eW)(I,"getChartDefaultConfig"),(0,o.eW)(M,"getChartDefaultData"),(0,o.eW)($,"textSanitizer"),(0,o.eW)(B,"setTmpSVGG"),(0,o.eW)(z,"setOrientation"),(0,o.eW)(O,"setXAxisTitle"),(0,o.eW)(F,"setXAxisRangeData"),(0,o.eW)(N,"setXAxisBand"),(0,o.eW)(V,"setYAxisTitle"),(0,o.eW)(X,"setYAxisRangeData"),(0,o.eW)(Y,"setYAxisRangeFromPlotData"),(0,o.eW)(U,"transformDataWithoutCategory"),(0,o.eW)(H,"getPlotColorFromPalette"),(0,o.eW)(j,"setLineData"),(0,o.eW)(G,"setBarData"),(0,o.eW)(Q,"getDrawableElem"),(0,o.eW)(K,"getChartThemeConfig"),(0,o.eW)(Z,"getChartConfig");var q={getDrawableElem:Q,clear:(0,o.eW)(function(){(0,o.ZH)(),T=0,R=I(),D=M(),L=(W=v()).plotColorPalette.split(",").map(t=>t.trim()),P=!1,E=!1},"clear"),setAccTitle:o.GN,getAccTitle:o.eu,setDiagramTitle:o.g2,getDiagramTitle:o.Kr,getAccDescription:o.Mx,setAccDescription:o.U$,setOrientation:z,setXAxisTitle:O,setXAxisRangeData:F,setXAxisBand:N,setYAxisTitle:V,setYAxisRangeData:X,setLineData:j,setBarData:G,setTmpSVGG:B,getChartThemeConfig:K,getChartConfig:Z},J=(0,o.eW)((t,i,e,s)=>{let n=s.db,a=n.getChartThemeConfig(),r=n.getChartConfig();function l(t){return"top"===t?"text-before-edge":"middle"}function c(t){return"left"===t?"start":"right"===t?"end":"middle"}function g(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,o.eW)(l,"getDominantBaseLine"),(0,o.eW)(c,"getTextAnchor"),(0,o.eW)(g,"getTextTransformation"),o.cM.debug("Rendering xychart chart\n"+t);let u=(0,h.P)(i),x=u.append("g").attr("class","main"),d=x.append("rect").attr("width",r.width).attr("height",r.height).attr("class","background");(0,o.v2)(u,r.height,r.width,!0),u.attr("viewBox",`0 0 ${r.width} ${r.height}`),d.attr("fill",a.backgroundColor),n.setTmpSVGG(u.append("g").attr("class","mermaid-tmp-group"));let p=n.getDrawableElem(),f={};function y(t){let i=x,e="";for(let[s]of t.entries()){let n=x;s>0&&f[e]&&(n=f[e]),e+=t[s],!(i=f[e])&&(i=f[e]=n.append("g").attr("class",t[s]))}return i}for(let t of((0,o.eW)(y,"getGroup"),p)){if(0===t.data.length)continue;let i=y(t.groupTexts);switch(t.type){case"rect":i.selectAll("rect").data(t.data).enter().append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth);break;case"text":i.selectAll("text").data(t.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>l(t.verticalPos)).attr("text-anchor",t=>c(t.horizontalPos)).attr("transform",t=>g(t)).text(t=>t.text);break;case"path":i.selectAll("path").data(t.data).enter().append("path").attr("d",t=>t.path).attr("fill",t=>t.fill?t.fill:"none").attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth)}}},"draw"),tt={parser:l,db:q,renderer:{draw:J}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/2061.4824b421.js b/pr-preview/pr-3/assets/js/2061.4824b421.js new file mode 100644 index 0000000..73dcaff --- /dev/null +++ b/pr-preview/pr-3/assets/js/2061.4824b421.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2061"],{68544:function(e,s,n){n.r(s)}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/21038ea1.94ac7e42.js b/pr-preview/pr-3/assets/js/21038ea1.94ac7e42.js new file mode 100644 index 0000000..1152ac8 --- /dev/null +++ b/pr-preview/pr-3/assets/js/21038ea1.94ac7e42.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9597"],{11958:function(e,t,n){n.r(t),n.d(t,{metadata:()=>r,contentTitle:()=>i,default:()=>u,assets:()=>l,toc:()=>d,frontMatter:()=>a});var r=JSON.parse('{"id":"docusaurus/intro","title":"Tutorial Intro","description":"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get","source":"@site/docs/docusaurus/intro.md","sourceDirName":"docusaurus","slug":"/docusaurus/intro","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/intro.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","next":{"title":"Tutorial - Basics","permalink":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---basics"}}'),s=n("85893"),o=n("50065");let a={sidebar_position:1},i="Tutorial Intro",l={},d=[{value:"Getting Started",id:"getting-started",level:2},{value:"What you'll need",id:"what-youll-need",level:3},{value:"Generate a new site",id:"generate-a-new-site",level:2},{value:"Start your site",id:"start-your-site",level:2}];function c(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"tutorial-intro",children:"Tutorial Intro"})}),"\n",(0,s.jsx)(t.p,{children:"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get\nstarted, please review the following:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./tutorial_basics/create_a_page",children:"Create a Page"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features",children:"Markdown Features"})}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Everything else below this line includes the original tutorial documentation for setting up and using Docusaurus."}),"\n",(0,s.jsx)(t.hr,{}),"\n",(0,s.jsxs)(t.p,{children:["Let's discover ",(0,s.jsx)(t.strong,{children:"Docusaurus in less than 5 minutes"}),"."]}),"\n",(0,s.jsx)(t.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,s.jsxs)(t.p,{children:["Get started by ",(0,s.jsx)(t.strong,{children:"creating a new site"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Or ",(0,s.jsx)(t.strong,{children:"try Docusaurus immediately"})," with ",(0,s.jsx)(t.strong,{children:(0,s.jsx)(t.a,{href:"https://docusaurus.new",children:"docusaurus.new"})}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"what-youll-need",children:"What you'll need"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.a,{href:"https://nodejs.org/en/download/",children:"Node.js"})," version 18.0 or above:","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"When installing Node.js, you are recommended to check all checkboxes related to dependencies."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"generate-a-new-site",children:"Generate a new site"}),"\n",(0,s.jsxs)(t.p,{children:["Generate a new Docusaurus site using the ",(0,s.jsx)(t.strong,{children:"classic template"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"The classic template will automatically be added to your project after you run the command:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"npm init docusaurus@latest my-website classic\n"})}),"\n",(0,s.jsx)(t.p,{children:"You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor."}),"\n",(0,s.jsx)(t.p,{children:"The command also installs all necessary dependencies you need to run Docusaurus."}),"\n",(0,s.jsx)(t.h2,{id:"start-your-site",children:"Start your site"}),"\n",(0,s.jsx)(t.p,{children:"Run the development server:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"cd my-website\nnpm run start\n"})}),"\n",(0,s.jsxs)(t.p,{children:["The ",(0,s.jsx)(t.code,{children:"cd"})," command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there."]}),"\n",(0,s.jsxs)(t.p,{children:["The ",(0,s.jsx)(t.code,{children:"npm run start"})," command builds your website locally and serves it through a development server, ready for you to view at ",(0,s.jsx)(t.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Open ",(0,s.jsx)(t.code,{children:"docs/intro.md"})," (this page) and edit some lines: the site ",(0,s.jsx)(t.strong,{children:"reloads automatically"})," and displays your changes."]})]})}function u(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},50065:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return a}});var r=n(67294);let s={},o=r.createContext(s);function a(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/21cb2624.5d84323d.js b/pr-preview/pr-3/assets/js/21cb2624.5d84323d.js new file mode 100644 index 0000000..c429aa4 --- /dev/null +++ b/pr-preview/pr-3/assets/js/21cb2624.5d84323d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["287"],{35244:function(e,t,n){n.r(t),n.d(t,{metadata:()=>i,contentTitle:()=>o,default:()=>p,assets:()=>l,toc:()=>c,frontMatter:()=>r});var i=JSON.parse('{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","source":"@site/docs/intro/getting_started.md","sourceDirName":"intro","slug":"/intro/getting_started","permalink":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/intro/getting_started.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Executive","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/executive","description":"Content related to policies and strategic alignment"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732324298000,"sidebarPosition":1,"frontMatter":{"id":"getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","sidebar_position":1,"tags":["business","executive"]},"sidebar":"docSidebar","next":{"title":"Terminology","permalink":"/nr-pies/pr-preview/pr-3/docs/intro/terminology"}}'),s=n("85893"),a=n("50065");let r={id:"getting_started",title:"Getting Started",description:"Introduction to the Natural Resource Sector PIES",sidebar_position:1,tags:["business","executive"]},o=void 0,l={},c=[{value:"Purpose",id:"purpose",level:2},{value:"Objectives",id:"objectives",level:2},{value:"Getting Everyone on the Same Page",id:"getting-everyone-on-the-same-page",level:3},{value:"Documentation",id:"documentation",level:3},{value:"Goals",id:"goals",level:2},{value:"Schemas",id:"schemas",level:2}];function d(e){let t={h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Welcome! This site repository contains common schemas related to permitting in the Natural Resources Sector for the\nProvince of British Columbia. The intent of these are to standardize the way permitting in the Natural Resource Sector\nis described as data to enable quality and interoperability."}),"\n",(0,s.jsx)(t.p,{children:"Hosting this specification in the open will encourage collaboration, adoption and enable versioning."}),"\n",(0,s.jsx)(t.p,{children:"These will be reviewed and updated with relevant partners, data custodians, stewards and sector permitting teams."}),"\n",(0,s.jsx)(t.h2,{id:"purpose",children:"Purpose"}),"\n",(0,s.jsx)(t.p,{children:"Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as\nmany ways to collect, process and store information from intake to decision. Analytics and reporting and permitting\nreform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems\ncan't integrate without a common language."}),"\n",(0,s.jsx)(t.p,{children:"This standard specifies the foundational set of core descriptive data types and elements required to enable the\ncompatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the\npurpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for\npolicy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on\npermitting."}),"\n",(0,s.jsx)(t.h2,{id:"objectives",children:"Objectives"}),"\n",(0,s.jsx)(t.p,{children:"The main objective of PIES is to deliver a published specification to enable better data quality and system\ninteroperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or\nusable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes\nacross the sector."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["Make it easier to connect and work with the information in different permitting systems.","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Reduce the effort and cost of systems integrations and automation."}),"\n",(0,s.jsx)(t.li,{children:"Unlock the ability to provide consistent progress tracking to proponents."}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.li,{children:"Create technical guidelines that help various systems communicate smoothly and consistently."}),"\n",(0,s.jsx)(t.li,{children:"Support different ways for systems to communicate with each other."}),"\n",(0,s.jsx)(t.li,{children:"Unlock potential for evidence-based policy and transformative potential of AI."}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"getting-everyone-on-the-same-page",children:"Getting Everyone on the Same Page"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Set up a working group for people interested to contribute and adopt PIES. See MS Teams."}),"\n",(0,s.jsx)(t.li,{children:"Create clear rules for data governance."}),"\n",(0,s.jsx)(t.li,{children:"Develop a common language so everyone understands the same terms."}),"\n",(0,s.jsx)(t.li,{children:"Gather feedback to ensure data is represented accurately and clearly."}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"documentation",children:"Documentation"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Share best practices for documenting government data standards."}),"\n",(0,s.jsx)(t.li,{children:"Identify and list common permitting concepts and data types."}),"\n",(0,s.jsx)(t.li,{children:"Create a plan for implementing solutions using transformations and microservices."}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"And of course, PIES are delicious! \uD83D\uDE04"}),"\n",(0,s.jsx)(t.h2,{id:"goals",children:"Goals"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["Enable a cross sector view","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Through appropriate data access"}),"\n",(0,s.jsx)(t.li,{children:"Creates a single point of validated reporting"}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Data quality"}),"\n",(0,s.jsx)(t.li,{children:"Data and information consistency"}),"\n",(0,s.jsx)(t.li,{children:"Identify processing times"}),"\n",(0,s.jsx)(t.li,{children:"Data harmonization cross sector level reporting"}),"\n",(0,s.jsx)(t.li,{children:"Activity bundling and linking"}),"\n",(0,s.jsx)(t.li,{children:"Coordinated First Nations Consultation"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to\nachieve interoperability (the ability for the systems to understand the key elements of information they need to share\nand talk to each other in a common language)."}),"\n",(0,s.jsx)(t.p,{children:"An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will\nfocus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems\ninto the data standards."}),"\n",(0,s.jsx)(t.h2,{id:"schemas",children:"Schemas"}),"\n",(0,s.jsx)(t.p,{children:"TBD"})]})}function p(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},50065:function(e,t,n){n.d(t,{Z:function(){return o},a:function(){return r}});var i=n(67294);let s={},a=i.createContext(s);function r(e){let t=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/2247.60b05b5d.js b/pr-preview/pr-3/assets/js/2247.60b05b5d.js new file mode 100644 index 0000000..2e4680b --- /dev/null +++ b/pr-preview/pr-3/assets/js/2247.60b05b5d.js @@ -0,0 +1,85 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2247"],{22851:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|:)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},17967:function(t,e,r){"use strict";e.sanitizeUrl=void 0;var i=r(22851);function n(t){try{return decodeURIComponent(t)}catch(e){return t}}e.sanitizeUrl=function(t){if(!t)return i.BLANK_URL;var e,r=n(t.trim());do e=(r=n(r=r.replace(i.ctrlCharactersRegex,"").replace(i.htmlEntitiesRegex,function(t,e){return String.fromCharCode(e)}).replace(i.htmlCtrlEntityRegex,"").replace(i.ctrlCharactersRegex,"").replace(i.whitespaceEscapeCharsRegex,"").trim())).match(i.ctrlCharactersRegex)||r.match(i.htmlEntitiesRegex)||r.match(i.htmlCtrlEntityRegex)||r.match(i.whitespaceEscapeCharsRegex);while(e&&e.length>0);var a=r;if(!a)return i.BLANK_URL;if(c=a,i.relativeFirstCharacters.indexOf(c[0])>-1)return a;var o=a.trimStart(),s=o.match(i.urlSchemeRegex);if(!s)return a;var l=s[0].toLowerCase().trim();if(i.invalidProtocolRegex.test(l))return i.BLANK_URL;var h=o.replace(/\\/g,"/");if("mailto:"===l||l.includes("://"))return h;if("http:"===l||"https:"===l){if(u=h,!URL.canParse(u))return i.BLANK_URL;var c,u,d=new URL(h);return d.protocol=d.protocol.toLowerCase(),d.hostname=d.hostname.toLowerCase(),d.toString()}return h}},27484:function(t){var e,r;e=0,r=function(){"use strict";var t="millisecond",e="second",r="minute",i="hour",n="week",a="month",o="quarter",s="year",l="date",h="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|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,d=function(t,e,r){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(r)+t},f="en",p={};p[f]={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"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||"th")+"]"}};var g="$isDayjsObject",y=function(t){return t instanceof k||!(!t||!t[g])},m=function t(e,r,i){var n;if(!e)return f;if("string"==typeof e){var a=e.toLowerCase();p[a]&&(n=a),r&&(p[a]=r,n=a);var o=e.split("-");if(!n&&o.length>1)return t(o[0])}else{var s=e.name;p[s]=e,n=s}return!i&&n&&(f=n),n||!i&&f},x=function(t,e){if(y(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new k(r)},b={s:d,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(r/60),2,"0")+":"+d(r%60,2,"0")},m:function t(e,r){if(e.date()1?r-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:f;e&&e(t,null);let a=i.length;for(;a--;){let e=i[a];if("string"==typeof e){let t=n(e);t!==e&&(!r(i)&&(i[a]=t),e=t)}t[e]=!0}return t}function v(e){let r=s(null);for(let[i,n]of t(e))b(e,i)&&(Array.isArray(n)?r[i]=function(t){for(let e=0;e/gm),I=o(/\${[\w\W]*}/gm),z=o(/^data-[\-\w.\u00B7-\uFFFF]/),j=o(/^aria-[\-\w]+$/),R=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),P=o(/^(?:\w+script|data):/i),q=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H=o(/^html$/i);var U=Object.freeze({__proto__:null,MUSTACHE_EXPR:Z,ERB_EXPR:N,TMPLIT_EXPR:I,DATA_ATTR:z,ARIA_ATTR:j,IS_ALLOWED_URI:R,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:q,DOCTYPE_NAME:H,CUSTOM_ELEMENT:o(/^[a-z][.\w]*(-[.\w]+)+$/i)});let Y={element:1,text:3,progressingInstruction:7,comment:8,document:9},V=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(r=e.getAttribute(i));let n="dompurify"+(r?"#"+r:"");try{return t.createPolicy(n,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};return function e(){let r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=t=>e(t);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==Y.document)return n.isSupported=!1,n;let{document:o}=i,l=o,h=l.currentScript,{DocumentFragment:w,HTMLTemplateElement:Z,Node:N,Element:I,NodeFilter:z,NamedNodeMap:j=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:P,DOMParser:q,trustedTypes:G}=i,X=I.prototype,Q=T(X,"cloneNode"),K=T(X,"remove"),J=T(X,"nextSibling"),tt=T(X,"childNodes"),te=T(X,"parentNode");if("function"==typeof Z){let t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let tr="",{implementation:ti,createNodeIterator:tn,createDocumentFragment:ta,getElementsByTagName:to}=o,{importNode:ts}=l,tl={};n.isSupported="function"==typeof t&&"function"==typeof te&&ti&&void 0!==ti.createHTMLDocument;let{MUSTACHE_EXPR:th,ERB_EXPR:tc,TMPLIT_EXPR:tu,DATA_ATTR:td,ARIA_ATTR:tf,IS_SCRIPT_OR_DATA:tp,ATTR_WHITESPACE:tg,CUSTOM_ELEMENT:ty}=U,{IS_ALLOWED_URI:tm}=U,tx=null,tb=_({},[...S,...M,...B,...A,...$]),tk=null,tC=_({},[...W,...E,...D,...O]),tw=Object.seal(s(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}})),t_=null,tv=null,tT=!0,tS=!0,tM=!1,tB=!0,tL=!1,tA=!0,tF=!1,t$=!1,tW=!1,tE=!1,tD=!1,tO=!1,tZ=!0,tN=!1,tI=!0,tz=!1,tj={},tR=null,tP=_({},["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"]),tq=null,tH=_({},["audio","video","img","source","image","track"]),tU=null,tY=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tV="http://www.w3.org/1998/Math/MathML",tG="http://www.w3.org/2000/svg",tX="http://www.w3.org/1999/xhtml",tQ=tX,tK=!1,tJ=null,t0=_({},[tV,tG,tX],p),t1=null,t2=["application/xhtml+xml","text/html"],t5=null,t3=null,t4=o.createElement("form"),t6=function(t){return t instanceof RegExp||t instanceof Function},t8=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t3||t3!==t){if((!t||"object"!=typeof t)&&(t={}),t=v(t),t5="application/xhtml+xml"===(t1=-1===t2.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?p:f,tx=b(t,"ALLOWED_TAGS")?_({},t.ALLOWED_TAGS,t5):tb,tk=b(t,"ALLOWED_ATTR")?_({},t.ALLOWED_ATTR,t5):tC,tJ=b(t,"ALLOWED_NAMESPACES")?_({},t.ALLOWED_NAMESPACES,p):t0,tU=b(t,"ADD_URI_SAFE_ATTR")?_(v(tY),t.ADD_URI_SAFE_ATTR,t5):tY,tq=b(t,"ADD_DATA_URI_TAGS")?_(v(tH),t.ADD_DATA_URI_TAGS,t5):tH,tR=b(t,"FORBID_CONTENTS")?_({},t.FORBID_CONTENTS,t5):tP,t_=b(t,"FORBID_TAGS")?_({},t.FORBID_TAGS,t5):{},tv=b(t,"FORBID_ATTR")?_({},t.FORBID_ATTR,t5):{},tj=!!b(t,"USE_PROFILES")&&t.USE_PROFILES,tT=!1!==t.ALLOW_ARIA_ATTR,tS=!1!==t.ALLOW_DATA_ATTR,tM=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tB=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tL=t.SAFE_FOR_TEMPLATES||!1,tA=!1!==t.SAFE_FOR_XML,tF=t.WHOLE_DOCUMENT||!1,tE=t.RETURN_DOM||!1,tD=t.RETURN_DOM_FRAGMENT||!1,tO=t.RETURN_TRUSTED_TYPE||!1,tW=t.FORCE_BODY||!1,tZ=!1!==t.SANITIZE_DOM,tN=t.SANITIZE_NAMED_PROPS||!1,tI=!1!==t.KEEP_CONTENT,tz=t.IN_PLACE||!1,tm=t.ALLOWED_URI_REGEXP||R,tQ=t.NAMESPACE||tX,tw=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&t6(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tw.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&t6(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tw.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tw.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tL&&(tS=!1),tD&&(tE=!0),tj&&(tx=_({},$),tk=[],!0===tj.html&&(_(tx,S),_(tk,W)),!0===tj.svg&&(_(tx,M),_(tk,E),_(tk,O)),!0===tj.svgFilters&&(_(tx,B),_(tk,E),_(tk,O)),!0===tj.mathMl&&(_(tx,A),_(tk,D),_(tk,O))),t.ADD_TAGS&&(tx===tb&&(tx=v(tx)),_(tx,t.ADD_TAGS,t5)),t.ADD_ATTR&&(tk===tC&&(tk=v(tk)),_(tk,t.ADD_ATTR,t5)),t.ADD_URI_SAFE_ATTR&&_(tU,t.ADD_URI_SAFE_ATTR,t5),t.FORBID_CONTENTS&&(tR===tP&&(tR=v(tR)),_(tR,t.FORBID_CONTENTS,t5)),tI&&(tx["#text"]=!0),tF&&_(tx,["html","head","body"]),tx.table&&(_(tx,["tbody"]),delete t_.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');tr=(r=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===r&&(r=V(G,h)),null!==r&&"string"==typeof tr&&(tr=r.createHTML(""));a&&a(t),t3=t}},t9=_({},["mi","mo","mn","ms","mtext"]),t7=_({},["foreignobject","annotation-xml"]),et=_({},["title","style","font","a","script"]),ee=_({},[...M,...B,...L]),er=_({},[...A,...F]),ei=function(t){let e=te(t);(!e||!e.tagName)&&(e={namespaceURI:tQ,tagName:"template"});let r=f(t.tagName),i=f(e.tagName);if(!tJ[t.namespaceURI])return!1;if(t.namespaceURI===tG)return e.namespaceURI===tX?"svg"===r:e.namespaceURI===tV?"svg"===r&&("annotation-xml"===i||t9[i]):!!ee[r];if(t.namespaceURI===tV)return e.namespaceURI===tX?"math"===r:e.namespaceURI===tG?"math"===r&&t7[i]:!!er[r];if(t.namespaceURI===tX)return(e.namespaceURI!==tG||!!t7[i])&&(e.namespaceURI!==tV||!!t9[i])&&!er[r]&&(et[r]||!ee[r]);return"application/xhtml+xml"===t1&&!!tJ[t.namespaceURI]||!1},en=function(t){d(n.removed,{element:t});try{te(t).removeChild(t)}catch(e){K(t)}},ea=function(t,e){try{d(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){d(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!tk[t]){if(tE||tD)try{en(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},eo=function(t){let e=null,i=null;if(tW)t=""+t;else{let e=g(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===t1&&tQ===tX&&(t=''+t+"");let n=r?r.createHTML(t):t;if(tQ===tX)try{e=new q().parseFromString(n,t1)}catch(t){}if(!e||!e.documentElement){e=ti.createDocument(tQ,"template",null);try{e.documentElement.innerHTML=tK?tr:n}catch(t){}}let a=e.body||e.documentElement;return(t&&i&&a.insertBefore(o.createTextNode(i),a.childNodes[0]||null),tQ===tX)?to.call(e,tF?"html":"body")[0]:tF?e.documentElement:a},es=function(t){return tn.call(t.ownerDocument||t,t,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},el=function(t){return t instanceof P&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},eh=function(t){return"function"==typeof N&&t instanceof N},ec=function(t,e,r){if(!!tl[t])c(tl[t],t=>{t.call(n,e,r,t3)})},eu=function(t){let e=null;if(ec("beforeSanitizeElements",t,null),el(t))return en(t),!0;let r=t5(t.nodeName);if(ec("uponSanitizeElement",t,{tagName:r,allowedTags:tx}),t.hasChildNodes()&&!eh(t.firstElementChild)&&k(/<[/\w]/g,t.innerHTML)&&k(/<[/\w]/g,t.textContent)||t.nodeType===Y.progressingInstruction||tA&&t.nodeType===Y.comment&&k(/<[/\w]/g,t.data))return en(t),!0;if(!tx[r]||t_[r]){if(!t_[r]&&ef(r)&&(tw.tagNameCheck instanceof RegExp&&k(tw.tagNameCheck,r)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(r)))return!1;if(tI&&!tR[r]){let e=te(t)||t.parentNode,r=tt(t)||t.childNodes;if(r&&e){let i=r.length;for(let n=i-1;n>=0;--n){let i=Q(r[n],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,J(t))}}}return en(t),!0}return t instanceof I&&!ei(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&k(/<\/no(script|embed|frames)/i,t.innerHTML)?(en(t),!0):(tL&&t.nodeType===Y.text&&(e=t.textContent,c([th,tc,tu],t=>{e=y(e,t," ")}),t.textContent!==e&&(d(n.removed,{element:t.cloneNode()}),t.textContent=e)),ec("afterSanitizeElements",t,null),!1)},ed=function(t,e,r){if(tZ&&("id"===e||"name"===e)&&(r in o||r in t4))return!1;if(tS&&!tv[e]&&k(td,e));else if(tT&&k(tf,e));else if(!tk[e]||tv[e]){if(!(ef(t)&&(tw.tagNameCheck instanceof RegExp&&k(tw.tagNameCheck,t)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(t))&&(tw.attributeNameCheck instanceof RegExp&&k(tw.attributeNameCheck,e)||tw.attributeNameCheck instanceof Function&&tw.attributeNameCheck(e))||"is"===e&&tw.allowCustomizedBuiltInElements&&(tw.tagNameCheck instanceof RegExp&&k(tw.tagNameCheck,r)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(r))))return!1}else if(tU[e]);else if(k(tm,y(r,tg,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===m(r,"data:")&&tq[t]);else if(tM&&!k(tp,y(r,tg,"")));else if(r)return!1;return!0},ef=function(t){return"annotation-xml"!==t&&g(t,ty)},ep=function(t){ec("beforeSanitizeAttributes",t,null);let{attributes:e}=t;if(!e)return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tk},a=e.length;for(;a--;){let{name:o,namespaceURI:s,value:l}=e[a],h=t5(o),d="value"===o?l:x(l);if(i.attrName=h,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,ec("uponSanitizeAttribute",t,i),d=i.attrValue,tA&&k(/((--!?|])>)|<\/(style|title)/i,d)){ea(o,t);continue}if(i.forceKeepAttr)continue;if(ea(o,t),!i.keepAttr)continue;if(!tB&&k(/\/>/i,d)){ea(o,t);continue}tL&&c([th,tc,tu],t=>{d=y(d,t," ")});let f=t5(t.nodeName);if(!!ed(f,h,d)){if(tN&&("id"===h||"name"===h)&&(ea(o,t),d="user-content-"+d),r&&"object"==typeof G&&"function"==typeof G.getAttributeType){if(s);else switch(G.getAttributeType(f,h)){case"TrustedHTML":d=r.createHTML(d);break;case"TrustedScriptURL":d=r.createScriptURL(d)}}try{s?t.setAttributeNS(s,o,d):t.setAttribute(o,d),el(t)?en(t):u(n.removed)}catch(t){}}}ec("afterSanitizeAttributes",t,null)},eg=function t(e){let r=null,i=es(e);for(ec("beforeSanitizeShadowDOM",e,null);r=i.nextNode();){if(ec("uponSanitizeShadowNode",r,null),!eu(r))r.content instanceof w&&t(r.content),ep(r)}ec("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,a=null,o=null,s=null;if((tK=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!eh(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw C("dirty is not a string, aborting")}else throw C("toString is not a function")}if(!n.isSupported)return t;if(!t$&&t8(e),n.removed=[],"string"==typeof t&&(tz=!1),tz){if(t.nodeName){let e=t5(t.nodeName);if(!tx[e]||t_[e])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof N)(a=(i=eo("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType===Y.element&&"BODY"===a.nodeName?i=a:"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!tE&&!tL&&!tF&&-1===t.indexOf("<"))return r&&tO?r.createHTML(t):t;if(!(i=eo(t)))return tE?null:tO?tr:""}i&&tW&&en(i.firstChild);let h=es(tz?t:i);for(;o=h.nextNode();){if(!eu(o))o.content instanceof w&&eg(o.content),ep(o)}if(tz)return t;if(tE){if(tD)for(s=ta.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(tk.shadowroot||tk.shadowrootmode)&&(s=ts.call(l,s,!0)),s}let u=tF?i.outerHTML:i.innerHTML;return tF&&tx["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&k(H,i.ownerDocument.doctype.name)&&(u="\n"+u),tL&&c([th,tc,tu],t=>{u=y(u,t," ")}),r&&tO?r.createHTML(u):u},n.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t8(t),t$=!0},n.clearConfig=function(){t3=null,t$=!1},n.isValidAttribute=function(t,e,r){!t3&&t8({});let i=t5(t);return ed(i,t5(e),r)},n.addHook=function(t,e){if("function"==typeof e)tl[t]=tl[t]||[],d(tl[t],e)},n.removeHook=function(t){if(tl[t])return u(tl[t])},n.removeHooks=function(t){tl[t]&&(tl[t]=[])},n.removeAllHooks=function(){tl={}},n}()},t.exports=r()},74247:function(t,e,r){"use strict";function i(t,e,r){if(t&&t.length){let[i,n]=e,a=Math.PI/180*r,o=Math.cos(a),s=Math.sin(a);for(let e of t){let[t,r]=e;e[0]=(t-i)*o-(r-n)*s+i,e[1]=(t-i)*s+(r-n)*o+n}}}r.d(e,{Z:function(){return Q}});function n(t,e){var r;let n=e.hachureAngle+90,a=e.hachureGap;a<0&&(a=4*e.strokeWidth),a=Math.round(Math.max(a,.1));let o=1;return e.roughness>=1&&((null===(r=e.randomizer)||void 0===r?void 0:r.next())||Math.random())>.7&&(o=a),function(t,e,r,n=1){let a=Math.max(e,.1),o=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,s=[0,0];if(r)for(let t of o)i(t,s,r);let l=function(t,e,r){let i=[];for(let e of t){var n,a;let t=[...e];n=t[0],a=t[t.length-1],n[0]===a[0]&&n[1]===a[1]||t.push([t[0][0],t[0][1]]),t.length>2&&i.push(t)}let o=[];e=Math.max(e,.1);let s=[];for(let t of i)for(let e=0;et.ymine.ymin?1:t.xe.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax)),!s.length)return o;let l=[],h=s[0].ymin,c=0;for(;l.length||s.length;){if(s.length){let t=-1;for(let e=0;eh);e++)t=e;s.splice(0,t+1).forEach(t=>{l.push({s:h,edge:t})})}if((l=l.filter(t=>!(t.edge.ymax<=h))).sort((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x)),(1!==r||c%e==0)&&l.length>1)for(let t=0;t=l.length)break;let r=l[t].edge,i=l[e].edge;o.push([[Math.round(r.x),h],[Math.round(i.x),h]])}h+=r,l.forEach(t=>{t.edge.x=t.edge.x+r*t.edge.islope}),c++}return o}(o,a,n);if(r){for(let t of o)i(t,s,-r);!function(t,e,r){let n=[];t.forEach(t=>n.push(...t)),i(n,e,r)}(l,s,-r)}return l}(t,a,n,o||1)}class a{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){let r=n(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){let r=[];for(let i of t)r.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],e));return r}}function o(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class s extends a{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth);let i=n(t,Object.assign({},e,{hachureGap:r=Math.max(r,.1)})),a=Math.PI/180*e.hachureAngle,s=[],l=.5*r*Math.cos(a),h=.5*r*Math.sin(a);for(let[t,e]of i)o([t,e])&&s.push([[t[0]-l,t[1]+h],[...e]],[[t[0]+l,t[1]-h],[...e]]);return{type:"fillSketch",ops:this.renderLines(s,e)}}}class l extends a{fillPolygons(t,e){let r=this._fillPolygons(t,e),i=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),n=this._fillPolygons(t,i);return r.ops=r.ops.concat(n.ops),r}}class h{constructor(t){this.helper=t}fillPolygons(t,e){let r=n(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){let r=[],i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.max(i,.1);let n=e.fillWeight;n<0&&(n=e.strokeWidth/2);let a=i/4;for(let s of t){let t=o(s),l=Math.ceil(t/i)-1,h=t-l*i,c=(s[0][0]+s[1][0])/2-i/4,u=Math.min(s[0][1],s[1][1]);for(let t=0;t{let a=o(t),s=Math.floor(a/(r+i)),l=(a+i-s*(r+i))/2,h=t[0],c=t[1];h[0]>c[0]&&(h=t[1],c=t[0]);let u=Math.atan((c[1]-h[1])/(c[0]-h[0]));for(let t=0;t{let n=Math.round(o(t)/(2*e)),a=t[0],s=t[1];a[0]>s[0]&&(a=t[1],s=t[0]);let l=Math.atan((s[1]-a[1])/(s[0]-a[0]));for(let t=0;ti%2?t+r:t+e);a.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":a.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{let t=s.map((t,i)=>i%2?t+r:t+e);a.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":a.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],a.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":a.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],a.push({key:"V",data:[r]});break;case"S":a.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{let t=s.map((t,i)=>i%2?t+r:t+e);a.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":a.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],a.push({key:"T",data:[e,r]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=i,r=n}return a}function x(t){let e=[],r="",i=0,n=0,a=0,o=0,s=0,l=0;for(let{key:h,data:c}of t){switch(h){case"M":e.push({key:"M",data:[...c]}),[i,n]=c,[a,o]=c;break;case"C":e.push({key:"C",data:[...c]}),i=c[4],n=c[5],s=c[2],l=c[3];break;case"L":e.push({key:"L",data:[...c]}),[i,n]=c;break;case"H":i=c[0],e.push({key:"L",data:[i,n]});break;case"V":n=c[0],e.push({key:"L",data:[i,n]});break;case"S":{let t=0,a=0;"C"===r||"S"===r?(t=i+(i-s),a=n+(n-l)):(t=i,a=n),e.push({key:"C",data:[t,a,...c]}),s=c[0],l=c[1],i=c[2],n=c[3];break}case"T":{let[t,a]=c,o=0,h=0;"Q"===r||"T"===r?(o=i+(i-s),h=n+(n-l)):(o=i,h=n);let u=i+2*(o-i)/3,d=n+2*(h-n)/3,f=t+2*(o-t)/3,p=a+2*(h-a)/3;e.push({key:"C",data:[u,d,f,p,t,a]}),s=o,l=h,i=t,n=a;break}case"Q":{let[t,r,a,o]=c,h=i+2*(t-i)/3,u=n+2*(r-n)/3,d=a+2*(t-a)/3,f=o+2*(r-o)/3;e.push({key:"C",data:[h,u,d,f,a,o]}),s=t,l=r,i=a,n=o;break}case"A":{let t=Math.abs(c[0]),r=Math.abs(c[1]),a=c[2],o=c[3],s=c[4],l=c[5],h=c[6];0===t||0===r?(e.push({key:"C",data:[i,n,l,h,l,h]}),i=l,n=h):(i!==l||n!==h)&&((function t(e,r,i,n,a,o,s,l,h,c){let u=Math.PI*s/180,d=[],f=0,p=0,g=0,y=0;if(c)[f,p,g,y]=c;else{[e,r]=b(e,r,-u),[i,n]=b(i,n,-u);let t=(e-i)/2,s=(r-n)/2,c=t*t/(a*a)+s*s/(o*o);c>1&&(a*=c=Math.sqrt(c),o*=c);let d=a*a,m=o*o,x=(l===h?-1:1)*Math.sqrt(Math.abs((d*m-d*s*s-m*t*t)/(d*s*s+m*t*t)));g=x*a*s/o+(e+i)/2,y=-(x*o)*t/a+(r+n)/2,f=Math.asin(parseFloat(((r-y)/o).toFixed(9))),p=Math.asin(parseFloat(((n-y)/o).toFixed(9))),ep&&(f-=2*Math.PI),!h&&p>f&&(p-=2*Math.PI)}let m=p-f;if(Math.abs(m)>120*Math.PI/180){let e=p,r=i,l=n;d=t(i=g+a*Math.cos(p=h&&p>f?f+120*Math.PI/180*1:f+-(120*Math.PI/180*1)),n=y+o*Math.sin(p),r,l,a,o,s,0,h,[p,e,g,y])}m=p-f;let x=Math.cos(f),k=Math.cos(p),C=Math.tan(m/4),w=4/3*a*C,_=4/3*o*C,v=[e,r],T=[e+w*Math.sin(f),r-_*x],S=[i+w*Math.sin(p),n-_*k],M=[i,n];if(T[0]=2*v[0]-T[0],T[1]=2*v[1]-T[1],c)return[T,S,M].concat(d);{d=[T,S,M].concat(d);let t=[];for(let e=0;e2){let n=[];for(let e=0;e2*Math.PI&&(u=0,d=2*Math.PI);let f=Math.min(2*Math.PI/l.curveStepCount/2,(d-u)/2),p=I(f,t,e,h,c,u,d,1,l);if(!l.disableMultiStroke){let r=I(f,t,e,h,c,u,d,1.5,l);p.push(...r)}return o&&(s?p.push(...E(t,e,t+h*Math.cos(u),e+c*Math.sin(u),l),...E(t,e,t+h*Math.cos(d),e+c*Math.sin(d),l)):p.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+h*Math.cos(u),e+c*Math.sin(u)]})),{type:"path",ops:p}}function M(t,e){let r=x(m(y(t))),i=[],n=[0,0],a=[0,0];for(let{key:t,data:o}of r)switch(t){case"M":a=[o[0],o[1]],n=[o[0],o[1]];break;case"L":i.push(...E(a[0],a[1],o[0],o[1],e)),a=[o[0],o[1]];break;case"C":{let[t,r,n,s,l,h]=o;i.push(...function(t,e,r,i,n,a,o,s){let l=[],h=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],c=[0,0],u=s.disableMultiStroke?1:2,d=s.preserveVertices;for(let f=0;f2){r.push({op:"move",data:[i[0][0]+W(t,e),i[0][1]+W(t,e)]});for(let a=1;a500?.4:-.0016668*l+1.233334;let c=n.maxRandomnessOffset||0;c*c*100>s&&(c=l/10);let u=c/2,d=.2+.2*F(n),f=n.bowing*n.maxRandomnessOffset*(i-e)/200,p=n.bowing*n.maxRandomnessOffset*(t-r)/200;f=W(f,n,h),p=W(p,n,h);let g=[],y=()=>W(u,n,h),m=()=>W(c,n,h),x=n.preserveVertices;return a&&(o?g.push({op:"move",data:[t+(x?0:y()),e+(x?0:y())]}):g.push({op:"move",data:[t+(x?0:W(c,n,h)),e+(x?0:W(c,n,h))]})),o?g.push({op:"bcurveTo",data:[f+t+(r-t)*d+y(),p+e+(i-e)*d+y(),f+t+2*(r-t)*d+y(),p+e+2*(i-e)*d+y(),r+(x?0:y()),i+(x?0:y())]}):g.push({op:"bcurveTo",data:[f+t+(r-t)*d+m(),p+e+(i-e)*d+m(),f+t+2*(r-t)*d+m(),p+e+2*(i-e)*d+m(),r+(x?0:m()),i+(x?0:m())]}),g}function O(t,e,r){if(!t.length)return[];let i=[];i.push([t[0][0]+W(e,r),t[0][1]+W(e,r)]),i.push([t[0][0]+W(e,r),t[0][1]+W(e,r)]);for(let n=1;n3){let a=[],o=1-r.curveTightness;n.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2l&&(l=e,h=i)}return Math.sqrt(l)>i?(q(t,e,h+1,i,a),q(t,h,r,i,a)):(a.length||a.push(o),a.push(s)),a}function H(t,e=.15,r){let i=[],n=(t.length-1)/3;for(let r=0;r1&&a.push(t):a.push(t),a.push(e[r+3])}else{let n=e[r+0],o=e[r+1],s=e[r+2],l=e[r+3],h=P(n,o,.5),c=P(o,s,.5),u=P(s,l,.5),d=P(h,c,.5),f=P(c,u,.5),p=P(d,f,.5);t([n,h,d,p],0,i,a),t([p,f,u,l],0,i,a)}return a}(t,3*r,e,i);return r&&r>0?q(i,0,i.length,r):i}let U="none";class Y{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(0x80000000*Math.random())}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,i,n){let a=this._o(n);return this._d("line",[C(t,e,r,i,a)],a)}rectangle(t,e,r,i,n){let a=this._o(n),o=[],s=function(t,e,r,i,n){return w([[t,e],[t+r,e],[t+r,e+i],[t,e+i]],!0,n)}(t,e,r,i,a);if(a.fill){let n=[[t,e],[t+r,e],[t+r,e+i],[t,e+i]];"solid"===a.fillStyle?o.push(B([n],a)):o.push(L([n],a))}return a.stroke!==U&&o.push(s),this._d("rectangle",o,a)}ellipse(t,e,r,i,n){let a=this._o(n),o=[],s=v(r,i,a),l=T(t,e,a,s);if(a.fill){if("solid"===a.fillStyle){let r=T(t,e,a,s).opset;r.type="fillPath",o.push(r)}else o.push(L([l.estimatedPoints],a))}return a.stroke!==U&&o.push(l.opset),this._d("ellipse",o,a)}circle(t,e,r,i){let n=this.ellipse(t,e,r,r,i);return n.shape="circle",n}linearPath(t,e){let r=this._o(e);return this._d("linearPath",[w(t,!1,r)],r)}arc(t,e,r,i,n,a,o=!1,s){let l=this._o(s),h=[],c=S(t,e,r,i,n,a,o,!0,l);if(o&&l.fill){if("solid"===l.fillStyle){let o=Object.assign({},l);o.disableMultiStroke=!0;let s=S(t,e,r,i,n,a,!0,!1,o);s.type="fillPath",h.push(s)}else h.push(function(t,e,r,i,n,a,o){let s=Math.abs(r/2),l=Math.abs(i/2);s+=W(.01*s,o),l+=W(.01*l,o);let h=n,c=a;for(;h<0;)h+=2*Math.PI,c+=2*Math.PI;c-h>2*Math.PI&&(h=0,c=2*Math.PI);let u=(c-h)/o.curveStepCount,d=[];for(let r=h;r<=c;r+=u)d.push([t+s*Math.cos(r),e+l*Math.sin(r)]);return d.push([t+s*Math.cos(c),e+l*Math.sin(c)]),d.push([t,e]),L([d],o)}(t,e,r,i,n,a,l))}return l.stroke!==U&&h.push(c),this._d("arc",h,l)}curve(t,e){let r=this._o(e),i=[],n=_(t,r);if(r.fill&&r.fill!==U){if("solid"===r.fillStyle){let e=_(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{let e=[];if(t.length)for(let i of"number"==typeof t[0][0]?[t]:t)i.length<3?e.push(...i):3===i.length?e.push(...H(j([i[0],i[0],i[1],i[2]]),10,(1+r.roughness)/2)):e.push(...H(j(i),10,(1+r.roughness)/2));e.length&&i.push(L([e],r))}}return r.stroke!==U&&i.push(n),this._d("curve",i,r)}polygon(t,e){let r=this._o(e),i=[],n=w(t,!0,r);return r.fill&&("solid"===r.fillStyle?i.push(B([t],r)):i.push(L([t],r))),r.stroke!==U&&i.push(n),this._d("polygon",i,r)}path(t,e){let r=this._o(e),i=[];if(!t)return this._d("path",i,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let n=r.fill&&"transparent"!==r.fill&&r.fill!==U,a=r.stroke!==U,o=!!(r.simplification&&r.simplification<1),s=function(t,e,r){let i=x(m(y(t))),n=[],a=[],o=[0,0],s=[],l=()=>{s.length>=4&&a.push(...H(s,1)),s=[]},h=()=>{l(),a.length&&(n.push(a),a=[])};for(let{key:t,data:e}of i)switch(t){case"M":h(),o=[e[0],e[1]],a.push(o);break;case"L":l(),a.push([e[0],e[1]]);break;case"C":if(!s.length){let t=a.length?a[a.length-1]:o;s.push([t[0],t[1]])}s.push([e[0],e[1]]),s.push([e[2],e[3]]),s.push([e[4],e[5]]);break;case"Z":l(),a.push([o[0],o[1]])}if(h(),!r)return n;let c=[];for(let t of n){var u,d;let e=(u=t,d=r,q(u,0,u.length,d));e.length&&c.push(e)}return c}(t,1,o?4-4*(r.simplification||1):(1+r.roughness)/2),l=M(t,r);if(n){if("solid"===r.fillStyle){if(1===s.length){let e=M(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else i.push(B(s,r))}else i.push(L(s,r))}return a&&(o?s.forEach(t=>{i.push(w(t,!1,r))}):i.push(l)),this._d("path",i,r)}opsToPath(t,e){let r="";for(let i of t.ops){let t="number"==typeof e&&e>=0?i.data.map(t=>+t.toFixed(e)):i.data;switch(i.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){let e=t.sets||[],r=t.options||this.defaultOptions,i=[];for(let t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:U};break;case"fillPath":e={d:this.opsToPath(t),stroke:U,strokeWidth:0,fill:r.fill||U};break;case"fillSketch":e=this.fillSketch(t,r)}e&&i.push(e)}return i}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||U,strokeWidth:r,fill:U}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class V{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new Y(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.ctx,n=t.options.fixedDecimalPlaceDigits;for(let a of e)switch(a.type){case"path":i.save(),i.strokeStyle="none"===r.stroke?"transparent":r.stroke,i.lineWidth=r.strokeWidth,r.strokeLineDash&&i.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(i.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(i,a,n),i.restore();break;case"fillPath":{i.save(),i.fillStyle=r.fill||"";let e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(i,a,n,e),i.restore();break}case"fillSketch":this.fillSketch(i,a,r)}}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=i,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,i="nonzero"){for(let i of(t.beginPath(),e.ops)){let e="number"==typeof r&&r>=0?i.data.map(t=>+t.toFixed(r)):i.data;switch(i.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(i):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,i,n){let a=this.gen.line(t,e,r,i,n);return this.draw(a),a}rectangle(t,e,r,i,n){let a=this.gen.rectangle(t,e,r,i,n);return this.draw(a),a}ellipse(t,e,r,i,n){let a=this.gen.ellipse(t,e,r,i,n);return this.draw(a),a}circle(t,e,r,i){let n=this.gen.circle(t,e,r,i);return this.draw(n),n}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,i,n,a,o=!1,s){let l=this.gen.arc(t,e,r,i,n,a,o,s);return this.draw(l),l}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){let r=this.gen.path(t,e);return this.draw(r),r}}let G="http://www.w3.org/2000/svg";class X{constructor(t,e){this.svg=t,this.gen=new Y(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,n=i.createElementNS(G,"g"),a=t.options.fixedDecimalPlaceDigits;for(let o of e){let e=null;switch(o.type){case"path":(e=i.createElementNS(G,"path")).setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":(e=i.createElementNS(G,"path")).setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(i,o,r)}e&&n.appendChild(e)}return n}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2);let n=t.createElementNS(G,"path");return n.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),n.setAttribute("stroke",r.fill||""),n.setAttribute("stroke-width",i+""),n.setAttribute("fill","none"),r.fillLineDash&&n.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&n.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),n}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,i,n){let a=this.gen.line(t,e,r,i,n);return this.draw(a)}rectangle(t,e,r,i,n){let a=this.gen.rectangle(t,e,r,i,n);return this.draw(a)}ellipse(t,e,r,i,n){let a=this.gen.ellipse(t,e,r,i,n);return this.draw(a)}circle(t,e,r,i){let n=this.gen.circle(t,e,r,i);return this.draw(n)}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,i,n,a,o=!1,s){let l=this.gen.arc(t,e,r,i,n,a,o,s);return this.draw(l)}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r)}path(t,e){let r=this.gen.path(t,e);return this.draw(r)}}var Q={canvas:(t,e)=>new V(t,e),svg:(t,e)=>new X(t,e),generator:t=>new Y(t),newSeed:()=>Y.newSeed()}},18464:function(t,e,r){"use strict";function i(t){for(var e=[],r=1;rv});var i=r("85893"),n=r("67294"),a=r("67026"),o=r("96025"),s=r("84681");let l={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function h(t){let{type:e,className:r,children:n}=t;return(0,i.jsx)("div",{className:(0,a.Z)(s.k.common.admonition,s.k.common.admonitionType(e),l.admonition,r),children:n})}function c(t){let{icon:e,title:r}=t;return(0,i.jsxs)("div",{className:l.admonitionHeading,children:[(0,i.jsx)("span",{className:l.admonitionIcon,children:e}),r]})}function u(t){let{children:e}=t;return e?(0,i.jsx)("div",{className:l.admonitionContent,children:e}):null}function d(t){let{type:e,icon:r,title:n,children:a,className:o}=t;return(0,i.jsxs)(h,{type:e,className:o,children:[n||r?(0,i.jsx)(c,{title:n,icon:r}):null,(0,i.jsx)(u,{children:a})]})}let f={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function p(t){return(0,i.jsx)(d,{...f,...t,className:(0,a.Z)("alert alert--secondary",t.className),children:t.children})}let g={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function y(t){return(0,i.jsx)(d,{...g,...t,className:(0,a.Z)("alert alert--success",t.className),children:t.children})}let m={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function x(t){return(0,i.jsx)(d,{...m,...t,className:(0,a.Z)("alert alert--info",t.className),children:t.children})}function b(t){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...t,children:(0,i.jsx)("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"})})}let k={icon:(0,i.jsx)(b,{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})},C={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})},w={icon:(0,i.jsx)(b,{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})},_={note:p,tip:y,info:x,warning:function(t){return(0,i.jsx)(d,{...k,...t,className:(0,a.Z)("alert alert--warning",t.className),children:t.children})},danger:function(t){return(0,i.jsx)(d,{...C,...t,className:(0,a.Z)("alert alert--danger",t.className),children:t.children})},secondary:t=>(0,i.jsx)(p,{title:"secondary",...t}),important:t=>(0,i.jsx)(x,{title:"important",...t}),success:t=>(0,i.jsx)(y,{title:"success",...t}),caution:function(t){return(0,i.jsx)(d,{...w,...t,className:(0,a.Z)("alert alert--warning",t.className),children:t.children})}};function v(t){let e=function(t){let{mdxAdmonitionTitle:e,rest:r}=function(t){let e=n.Children.toArray(t),r=e.find(t=>n.isValidElement(t)&&"mdxAdmonitionTitle"===t.type),a=e.filter(t=>t!==r);return{mdxAdmonitionTitle:r?.props.children,rest:a.length>0?(0,i.jsx)(i.Fragment,{children:a}):null}}(t.children),a=t.title??e;return{...t,...a&&{title:a},children:r}}(t),r=function(t){let e=_[t];return e?e:(console.warn(`No admonition component found for admonition type "${t}". Using Info as fallback.`),_.info)}(e.type);return(0,i.jsx)(r,{...e})}},15133:function(t,e,r){"use strict";r.d(e,{Z:function(){return h}});var i=r(85893);r(67294);var n=r(67026),a=r(30202),o=r(84681),s=r(75094);function l(t){let{className:e}=t;return(0,i.jsx)(s.Z,{type:"caution",title:(0,i.jsx)(a.cI,{}),className:(0,n.Z)(e,o.k.common.unlistedBanner),children:(0,i.jsx)(a.eU,{})})}function h(t){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.T$,{}),(0,i.jsx)(l,{...t})]})}},38813:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("85893");r("67294");var n=r("67026"),a=r("30202"),o=r("84681"),s=r("75094");function l(t){let{className:e}=t;return(0,i.jsx)(s.Z,{type:"caution",title:(0,i.jsx)(a.ht,{}),className:(0,n.Z)(e,o.k.common.draftBanner),children:(0,i.jsx)(a.xo,{})})}var h=r("15133");function c(t){let{metadata:e}=t,{unlisted:r,frontMatter:n}=e;return(0,i.jsxs)(i.Fragment,{children:[(r||n.unlisted)&&(0,i.jsx)(h.Z,{}),n.draft&&(0,i.jsx)(l,{})]})}},86594:function(t,e,r){"use strict";r.d(e,{Z:()=>y});var i=r("85893");r("67294");var n=r("67026"),a=r("96025"),o=r("84681"),s=r("83012");let l="iconEdit_Z9Sw";function h(t){let{className:e,...r}=t;return(0,i.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,n.Z)(l,e),"aria-hidden":"true",...r,children:(0,i.jsx)("g",{children:(0,i.jsx)("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 c(t){let{editUrl:e}=t;return(0,i.jsxs)(s.Z,{to:e,className:o.k.common.editThisPage,children:[(0,i.jsx)(h,{}),(0,i.jsx)(a.default,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}var u=r("2933");function d(t){let{lastUpdatedAt:e}=t,r=new Date(e),n=(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{i18n:{currentLocale:e}}=(0,u.Z)(),r=function(){let{i18n:{currentLocale:t,localeConfigs:e}}=(0,u.Z)();return e[t].calendar}();return new Intl.DateTimeFormat(e,{calendar:r,...t})})({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(r);return(0,i.jsx)(a.default,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,i.jsx)("b",{children:(0,i.jsx)("time",{dateTime:r.toISOString(),itemProp:"dateModified",children:n})})},children:" on {date}"})}function f(t){let{lastUpdatedBy:e}=t;return(0,i.jsx)(a.default,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,i.jsx)("b",{children:e})},children:" by {user}"})}function p(t){let{lastUpdatedAt:e,lastUpdatedBy:r}=t;return(0,i.jsxs)("span",{className:o.k.common.lastUpdated,children:[(0,i.jsx)(a.default,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:e?(0,i.jsx)(d,{lastUpdatedAt:e}):"",byUser:r?(0,i.jsx)(f,{lastUpdatedBy:r}):""},children:"Last updated{atDate}{byUser}"}),!1]})}let g="lastUpdated_JAkA";function y(t){let{className:e,editUrl:r,lastUpdatedAt:a,lastUpdatedBy:o}=t;return(0,i.jsxs)("div",{className:(0,n.Z)("row",e),children:[(0,i.jsx)("div",{className:"col",children:r&&(0,i.jsx)(c,{editUrl:r})}),(0,i.jsx)("div",{className:(0,n.Z)("col",g),children:(a||o)&&(0,i.jsx)(p,{lastUpdatedAt:a,lastUpdatedBy:o})})]})}},2584:function(t,e,r){"use strict";r.d(e,{Z:()=>rB});var i=r("85893"),n=r("67294"),a=r("50065"),o=r("94819"),s=r("45056");function l(t){return(0,i.jsx)("code",{...t})}var h=r("83012"),c=r("63922");function u(t){let e=n.Children.toArray(t.children),r=e.find(t=>n.isValidElement(t)&&"summary"===t.type),a=(0,i.jsx)(i.Fragment,{children:e.filter(t=>t!==r)});return(0,i.jsx)(c.default,{...t,summary:r,children:a})}var d=r("34403");function f(t){return(0,i.jsx)(d.Z,{...t})}var p=r("67026");let g={containsTaskList:"containsTaskList_mC6p"};var y=r("41065");let m="img_ev3q";var x=r("75094"),b=r("16893"),k=r("78720"),C=r("30140"),w=r("84239"),_=r("16972"),v=r("88984");r("33071"),r("28162");var T=r("16302");r("80587"),r("4511"),r("92719");var S=r("7690"),M=r("92453"),B=r("94159"),L=r("5995"),A=r("18464"),F=r("27818"),$="comm",W="rule",E="decl",D=Math.abs,O=String.fromCharCode;function Z(t){return t.trim()}function N(t,e,r){return t.replace(e,r)}function I(t,e){return 0|t.charCodeAt(e)}function z(t,e,r){return t.slice(e,r)}function j(t){return t.length}function R(t,e){return e.push(t),t}function P(t,e){for(var r="",i=0;i0?f[x]+" "+b:N(b,/&\f/g,f[x])).trim())l[m++]=k;return Q(t,e,r,0===n?W:s,l,h,c,u)}function ta(t,e,r,i,n){return Q(t,e,r,E,z(t,0,i),z(t,i+1,-1),i,n)}var to=r("27856"),ts=r("73217"),tl=(0,L.eW)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),th=(0,L.eW)(async()=>{let{diagram:t}=await r.e("1773").then(r.bind(r,29463));return{id:"c4",diagram:t}},"loader"),tc={id:"c4",detector:tl,loader:th},tu="flowchart",td=(0,L.eW)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),tf=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4013").then(r.bind(r,4465));return{id:tu,diagram:t}},"loader"),tp={id:tu,detector:td,loader:tf},tg="flowchart-v2",ty=(0,L.eW)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-d3"&&(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(t)),"detector"),tm=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4013").then(r.bind(r,4465));return{id:tg,diagram:t}},"loader"),tx={id:tg,detector:ty,loader:tm},tb=(0,L.eW)(t=>/^\s*erDiagram/.test(t),"detector"),tk=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("5347")]).then(r.bind(r,41093));return{id:"er",diagram:t}},"loader"),tC={id:"er",detector:tb,loader:tk},tw="gitGraph",t_=(0,L.eW)(t=>/^\s*gitGraph/.test(t),"detector"),tv=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("9870")]).then(r.bind(r,56981));return{id:tw,diagram:t}},"loader"),tT={id:tw,detector:t_,loader:tv},tS="gantt",tM=(0,L.eW)(t=>/^\s*gantt/.test(t),"detector"),tB=(0,L.eW)(async()=>{let{diagram:t}=await r.e("5516").then(r.bind(r,6907));return{id:tS,diagram:t}},"loader"),tL={id:tS,detector:tM,loader:tB},tA="info",tF=(0,L.eW)(t=>/^\s*info/.test(t),"detector"),t$=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("367")]).then(r.bind(r,34709));return{id:tA,diagram:t}},"loader"),tW={id:tA,detector:tF,loader:t$},tE={id:"pie",detector:(0,L.eW)(t=>/^\s*pie/.test(t),"detector"),loader:(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("7554")]).then(r.bind(r,37279));return{id:"pie",diagram:t}},"loader")},tD="quadrantChart",tO=(0,L.eW)(t=>/^\s*quadrantChart/.test(t),"detector"),tZ=(0,L.eW)(async()=>{let{diagram:t}=await r.e("447").then(r.bind(r,17232));return{id:tD,diagram:t}},"loader"),tN={id:tD,detector:tO,loader:tZ},tI="xychart",tz=(0,L.eW)(t=>/^\s*xychart-beta/.test(t),"detector"),tj=(0,L.eW)(async()=>{let{diagram:t}=await r.e("2036").then(r.bind(r,88091));return{id:tI,diagram:t}},"loader"),tR={id:tI,detector:tz,loader:tj},tP="requirement",tq=(0,L.eW)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),tH=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("8588")]).then(r.bind(r,15461));return{id:tP,diagram:t}},"loader"),tU={id:tP,detector:tq,loader:tH},tY="sequence",tV=(0,L.eW)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tG=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4842").then(r.bind(r,52521));return{id:tY,diagram:t}},"loader"),tX={id:tY,detector:tV,loader:tG},tQ="class",tK=(0,L.eW)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),tJ=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("2260"),r.e("709")]).then(r.bind(r,91167));return{id:tQ,diagram:t}},"loader"),t0={id:tQ,detector:tK,loader:tJ},t1="classDiagram",t2=(0,L.eW)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),t5=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("2260"),r.e("6059")]).then(r.bind(r,29050));return{id:t1,diagram:t}},"loader"),t3={id:t1,detector:t2,loader:t5},t4="state",t6=(0,L.eW)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),t8=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("7960"),r.e("7614")]).then(r.bind(r,79726));return{id:t4,diagram:t}},"loader"),t9={id:t4,detector:t6,loader:t8},t7="stateDiagram",et=(0,L.eW)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper")||!1,"detector"),ee=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("7960"),r.e("6788")]).then(r.bind(r,5565));return{id:t7,diagram:t}},"loader"),er={id:t7,detector:et,loader:ee},ei="journey",en=(0,L.eW)(t=>/^\s*journey/.test(t),"detector"),ea=(0,L.eW)(async()=>{let{diagram:t}=await r.e("1173").then(r.bind(r,74160));return{id:ei,diagram:t}},"loader"),eo={id:ei,detector:en,loader:ea},es={draw:(0,L.eW)((t,e,r)=>{L.cM.debug("rendering svg for syntax error\n");let i=(0,B.P)(e),n=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,L.v2)(i,100,512,!0),n.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"),n.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"),n.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"),n.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"),n.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"),n.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"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw")},el={db:{},renderer:es,parser:{parse:(0,L.eW)(()=>{},"parse")}},eh="flowchart-elk",ec=(0,L.eW)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),eu=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4013").then(r.bind(r,4465));return{id:eh,diagram:t}},"loader"),ed={id:eh,detector:ec,loader:eu},ef="timeline",ep=(0,L.eW)(t=>/^\s*timeline/.test(t),"detector"),eg=(0,L.eW)(async()=>{let{diagram:t}=await r.e("7408").then(r.bind(r,14238));return{id:ef,diagram:t}},"loader"),ey={id:ef,detector:ep,loader:eg},em="mindmap",ex=(0,L.eW)(t=>/^\s*mindmap/.test(t),"detector"),eb=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("6211"),r.e("495")]).then(r.bind(r,10605));return{id:em,diagram:t}},"loader"),ek={id:em,detector:ex,loader:eb},eC="kanban",ew=(0,L.eW)(t=>/^\s*kanban/.test(t),"detector"),e_=(0,L.eW)(async()=>{let{diagram:t}=await r.e("5155").then(r.bind(r,67733));return{id:eC,diagram:t}},"loader"),ev={id:eC,detector:ew,loader:e_},eT="sankey",eS=(0,L.eW)(t=>/^\s*sankey-beta/.test(t),"detector"),eM=(0,L.eW)(async()=>{let{diagram:t}=await r.e("5696").then(r.bind(r,57862));return{id:eT,diagram:t}},"loader"),eB={id:eT,detector:eS,loader:eM},eL="packet",eA=(0,L.eW)(t=>/^\s*packet-beta/.test(t),"detector"),eF=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("9220")]).then(r.bind(r,26629));return{id:eL,diagram:t}},"loader"),e$={id:eL,detector:eA,loader:eF},eW="block",eE=(0,L.eW)(t=>/^\s*block-beta/.test(t),"detector"),eD=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3361")]).then(r.bind(r,58095));return{id:eW,diagram:t}},"loader"),eO={id:eW,detector:eE,loader:eD},eZ="architecture",eN=(0,L.eW)(t=>/^\s*architecture/.test(t),"detector"),eI=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("6211"),r.e("9090")]).then(r.bind(r,96026));return{id:eZ,diagram:t}},"loader"),ez={id:eZ,detector:eN,loader:eI},ej=!1,eR=(0,L.eW)(()=>{if(!ej)ej=!0,(0,L.Cq)("error",el,t=>"error"===t.toLowerCase().trim()),(0,L.Cq)("---",{db:{clear:(0,L.eW)(()=>{},"clear")},styles:{},renderer:{draw:(0,L.eW)(()=>{},"draw")},parser:{parse:(0,L.eW)(()=>{throw 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 un-indented `---` blocks")},"parse")},init:(0,L.eW)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,L.KO)(tc,ev,t3,t0,tC,tL,tW,tE,tU,tX,ed,tx,tp,ek,ey,tT,er,t9,eo,tN,eB,e$,tR,eO,ez)},"addDiagrams"),eP=(0,L.eW)(async()=>{L.cM.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(L.Bf).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,L._7)(t)}catch{try{let{diagram:t,id:i}=await r();(0,L.Cq)(i,t,e)}catch(e){throw L.cM.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete L.Bf[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(L.cM.error(`Failed to load ${t.length} external diagrams`),t))L.cM.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams");function eq(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function eH(t,e,r,i){if(void 0!==t.insert){if(r){let e=`chart-desc-${i}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r=`chart-title-${i}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,L.eW)(eq,"setA11yDiagramInfo"),(0,L.eW)(eH,"addSVGa11yTitleDescription");var eU=class t{constructor(t,e,r,i,n){this.type=t,this.text=e,this.db=r,this.parser=i,this.renderer=n}static{(0,L.eW)(this,"Diagram")}static async fromText(e,r={}){let i=(0,L.iE)(),n=(0,L.Vg)(e,i);e=(0,S.Vy)(e)+"\n";try{(0,L._7)(n)}catch{let t=(0,L.cq)(n);if(!t)throw new L.cj(`Diagram ${n} not found.`);let{id:e,diagram:r}=await t();(0,L.Cq)(e,r)}let{db:a,parser:o,renderer:s,init:l}=(0,L._7)(n);return o.parser&&(o.parser.yy=a),a.clear?.(),l?.(i),r.title&&a.setDiagramTitle?.(r.title),await o.parse(e),new t(n,e,a,o,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},eY=[],eV=(0,L.eW)(()=>{eY.forEach(t=>{t()}),eY=[]},"attachFunctions"),eG=(0,L.eW)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function eX(t){let e=t.match(L.M6);if(!e)return{text:t,metadata:{}};let r=(0,_.z)(e[1],{schema:_.A})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:t.slice(e[0].length),metadata:i}}(0,L.eW)(eX,"extractFrontMatter");var eQ=(0,L.eW)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),eK=(0,L.eW)(t=>{let{text:e,metadata:r}=eX(t),{displayMode:i,title:n,config:a={}}=r;return i&&(!a.gantt&&(a.gantt={}),a.gantt.displayMode=i),{title:n,config:a,text:e}},"processFrontmatter"),eJ=(0,L.eW)(t=>{let e=S.w8.detectInit(t)??{},r=S.w8.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,S.tf)(t),directive:e}},"processDirectives");function e0(t){let e=eK(eQ(t)),r=eJ(e.text),i=(0,S.Rb)(e.config,r.directive);return{code:t=eG(r.text),title:e.title,config:i}}function e1(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,L.eW)(e0,"preprocessDiagram"),(0,L.eW)(e1,"toBase64");var e2=["foreignobject"],e5=["dominant-baseline"];function e3(t){let e=e0(t);return(0,L.mc)(),(0,L.XV)(e.config??{}),e}async function e4(t,e){eR();try{let{code:e,config:r}=e3(t);return{diagramType:(await ro(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,L.eW)(e3,"processAndSetConfigs"),(0,L.eW)(e4,"parse");var e6=(0,L.eW)((t,e,r=[])=>` +.${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),e8=(0,L.eW)((t,e=new Map)=>{let r="";if(void 0!==t.themeCSS&&(r+=` +${t.themeCSS}`),void 0!==t.fontFamily&&(r+=` +:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=` +:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let i=t.htmlLabels??t.flowchart?.htmlLabels,n=i?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{!(0,ts.Z)(t.styles)&&n.forEach(e=>{r+=e6(t.id,e,t.styles)}),!(0,ts.Z)(t.textStyles)&&(r+=e6(t.id,"tspan",(t?.textStyles||[]).map(t=>t.replace("color","fill"))))})}return r},"createCssStyles"),e9=(0,L.eW)((t,e,r,i)=>{var n,a,o;let s=e8(t,r),l=(0,L.Ee)(e,s,t.themeVariables);return P((o=function t(e,r,i,n,a,o,s,l,h){for(var c,u,d,f=0,p=0,g=s,y=0,m=0,x=0,b=1,k=1,C=1,w=0,_="",v=a,T=o,S=n,M=_;k;)switch(x=w,w=K()){case 40:if(108!=x&&58==I(M,g-1)){;if(-1!=(c=M+=N(ti(w),"&","&\f"),u="&\f",d=D(f?l[f-1]:0),c.indexOf("&\f",d)))C=-1;break}case 34:case 39:case 91:M+=ti(w);break;case 9:case 10:case 13:case 32:M+=function(t){for(;G=J();)if(G<33)K();else break;return tr(t)>2||tr(G)>3?"":" "}(x);break;case 92:M+=function(t,e){for(var r,i;--e&&K()&&!(G<48)&&!(G>102)&&(!(G>57)||!(G<65))&&(!(G>70)||!(G<97)););return r=t,i=V+(e<6&&32==J()&&32==K()),z(X,r,i)}(V-1,7);continue;case 47:switch(J()){case 42:case 47:R(function(t,e,r,i){return Q(t,e,r,$,O(G),z(t,2,-2),0,i)}(function(t,e){for(;K();)if(t+G===57)break;else if(t+G===84&&47===J())break;return"/*"+z(X,e,V-1)+"*"+O(47===t?t:K())}(K(),V),r,i,h),h),(5==tr(x||1)||5==tr(J()||1))&&j(M)&&" "!==z(M,-1,void 0)&&(M+=" ");break;default:M+="/"}break;case 123*b:l[f++]=j(M)*C;case 125*b:case 59:case 0:switch(w){case 0:case 125:k=0;case 59+p:-1==C&&(M=N(M,/\f/g,"")),m>0&&(j(M)-g||0===b&&47===x)&&R(m>32?ta(M+";",n,i,g-1,h):ta(N(M," ","")+";",n,i,g-2,h),h);break;case 59:M+=";";default:if(R(S=tn(M,r,i,f,p,a,l,_,v=[],T=[],g,o),o),123===w){if(0===p)t(M,r,S,S,v,o,g,l,T);else switch(99===y&&110===I(M,3)?100:y){case 100:case 108:case 109:case 115:t(e,S,S,n&&R(tn(e,S,S,0,0,a,l,_,a,v=[],g,T),T),a,T,g,l,n?v:T);break;default:t(M,S,S,S,[""],T,0,l,T)}}}f=p=m=0,b=C=1,_=M="",g=s;break;case 58:g=1+j(M),m=x;default:if(b<1){if(123==w)--b;else if(125==w&&0==b++&&125==(G=V>0?I(X,--V):0,U--,10===G&&(U=1,H--),G))continue}switch(M+=O(w),w*b){case 38:C=p>0?1:(M+="\f",-1);break;case 44:l[f++]=(j(M)-1)*C,C=1;break;case 64:45===J()&&(M+=ti(K())),y=J(),p=g=j(_=M+=function(t){for(;!tr(J());)K();return z(X,t,V)}(V)),w++;break;case 45:45===x&&2==j(M)&&(b=0)}}return o}("",null,null,null,[""],(a=n=`${i}{${l}}`,H=U=1,Y=j(X=a),V=0,n=[]),0,[0],n),X="",o),q)},"createUserStyles"),e7=(0,L.eW)((t="",e,r)=>{let i=t;return!r&&!e&&(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=(i=(0,S.SH)(i)).replace(/
    /g,"
    ")},"cleanUpSvgCode"),rt=(0,L.eW)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",i=e1(`${t}`);return``},"putIntoIFrame"),re=(0,L.eW)((t,e,r,i,n)=>{let a=t.append("div");a.attr("id",r),i&&a.attr("style",i);let o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return n&&o.attr("xmlns:xlink",n),o.append("g"),t},"appendDivSvgG");function rr(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,L.eW)(rr,"sandboxedIframe");var ri=(0,L.eW)((t,e,r,i)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(i)?.remove()},"removeExistingElements"),rn=(0,L.eW)(async function(t,e,r){let i,n;eR();let a=e3(e);e=a.code;let o=(0,L.iE)();L.cM.debug(o),e.length>(o?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let s="#"+t,l="i"+t,h="#"+l,c="d"+t,u="#"+c,d=(0,L.eW)(()=>{let t=p?h:u,e=(0,F.Ys)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),f=(0,F.Ys)("body"),p="sandbox"===o.securityLevel,g="loose"===o.securityLevel,y=o.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),p){let t=rr((0,F.Ys)(r),l);(f=(0,F.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else f=(0,F.Ys)(r);re(f,t,c,`font-family: ${y}`,"http://www.w3.org/1999/xlink")}else{if(ri(document,t,c,l),p){let t=rr((0,F.Ys)("body"),l);(f=(0,F.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else f=(0,F.Ys)("body");re(f,t,c)}try{i=await eU.fromText(e,{title:a.title})}catch(t){if(o.suppressErrorRendering)throw d(),t;i=await eU.fromText("error"),n=t}let m=f.select(u).node(),x=i.type,b=m.firstChild,k=b.firstChild,C=e9(o,x,i.renderer.getClasses?.(e,i),s),w=document.createElement("style");w.innerHTML=C,b.insertBefore(w,k);try{await i.renderer.draw(e,t,M.i,i)}catch(r){throw o.suppressErrorRendering?d():es.draw(e,t,M.i),r}let _=f.select(`${u} svg`),v=i.db.getAccTitle?.();rs(x,_,v,i.db.getAccDescription?.()),f.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let T=f.select(u).node().innerHTML;if(L.cM.debug("config.arrowMarkerAbsolute",o.arrowMarkerAbsolute),T=e7(T,p,(0,L.ku)(o.arrowMarkerAbsolute)),p?T=rt(T,f.select(u+" svg").node()):!g&&(T=to.sanitize(T,{ADD_TAGS:e2,ADD_ATTR:e5})),eV(),n)throw n;return d(),{diagramType:x,svg:T,bindFunctions:i.db.bindFunctions}},"render");function ra(t={}){let e=(0,L.Yc)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(!e.themeVariables&&(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,L.dY)(e),e?.theme&&e.theme in L._j?e.themeVariables=L._j[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=L._j.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,L.Yn)(e):(0,L.ZD)();(0,L.Ub)(r.logLevel),eR()}(0,L.eW)(ra,"initialize");var ro=(0,L.eW)((t,e={})=>{let{code:r}=e0(t);return eU.fromText(r,e)},"getDiagramFromText");function rs(t,e,r,i){eq(e,t),eH(e,r,i,e.attr("id"))}(0,L.eW)(rs,"addA11yInfo");var rl=Object.freeze({render:rn,parse:e4,getDiagramFromText:ro,initialize:ra,getConfig:L.iE,setConfig:L.v6,getSiteConfig:L.ZD,updateSiteConfig:L.Tb,reset:(0,L.eW)(()=>{(0,L.mc)()},"reset"),globalReset:(0,L.eW)(()=>{(0,L.mc)(L.u_)},"globalReset"),defaultConfig:L.u_});(0,L.Ub)((0,L.iE)().logLevel),(0,L.mc)((0,L.iE)());var rh=(0,L.eW)((t,e,r)=>{L.cM.warn(t),(0,S.bZ)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),rc=(0,L.eW)(async function(t={querySelector:".mermaid"}){try{await ru(t)}catch(e){if((0,S.bZ)(e)&&L.cM.error(e.str),rw.parseError&&rw.parseError(e),!t.suppressErrors)throw L.cM.error("Use the suppressErrors option to suppress these errors"),e}},"run"),ru=(0,L.eW)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let i,n;let a=rl.getConfig();if(L.cM.debug(`${t?"":"No "}Callback function found`),r)i=r;else if(e)i=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");L.cM.debug(`Found ${i.length} diagrams`),a?.startOnLoad!==void 0&&(L.cM.debug("Start On Load: "+a?.startOnLoad),rl.updateSiteConfig({startOnLoad:a?.startOnLoad}));let o=new S.w8.InitIDGenerator(a.deterministicIds,a.deterministicIDSeed),s=[];for(let e of Array.from(i)){if(L.cM.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${o.next()}`;n=e.innerHTML,n=(0,A.Z)(S.w8.entityDecode(n)).trim().replace(//gi,"
    ");let i=S.w8.detectInit(n);i&&L.cM.debug("Detected early reinit: ",i);try{let{svg:i,bindFunctions:a}=await rC(r,n,e);e.innerHTML=i,t&&await t(r),a&&a(e)}catch(t){rh(t,s,rw.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),rd=(0,L.eW)(function(t){rl.initialize(t)},"initialize"),rf=(0,L.eW)(async function(t,e,r){L.cM.warn("mermaid.init is deprecated. Please use run instead."),t&&rd(t);let i={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await rc(i)},"init"),rp=(0,L.eW)(async(t,{lazyLoad:e=!0}={})=>{eR(),(0,L.KO)(...t),!1===e&&await eP()},"registerExternalDiagrams"),rg=(0,L.eW)(function(){if(rw.startOnLoad){let{startOnLoad:t}=rl.getConfig();t&&rw.run().catch(t=>L.cM.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",rg,!1);var ry=(0,L.eW)(function(t){rw.parseError=t},"setParseErrorHandler"),rm=[],rx=!1,rb=(0,L.eW)(async()=>{if(!rx){for(rx=!0;rm.length>0;){let t=rm.shift();if(t)try{await t()}catch(t){L.cM.error("Error executing queue",t)}}rx=!1}},"executeQueue"),rk=(0,L.eW)(async(t,e)=>new Promise((r,i)=>{let n=(0,L.eW)(()=>new Promise((n,a)=>{rl.parse(t,e).then(t=>{n(t),r(t)},t=>{L.cM.error("Error parsing",t),rw.parseError?.(t),a(t),i(t)})}),"performCall");rm.push(n),rb().catch(i)}),"parse"),rC=(0,L.eW)((t,e,r)=>new Promise((i,n)=>{let a=(0,L.eW)(()=>new Promise((a,o)=>{rl.render(t,e,r).then(t=>{a(t),i(t)},t=>{L.cM.error("Error parsing",t),rw.parseError?.(t),o(t),n(t)})}),"performCall");rm.push(a),rb().catch(n)}),"render"),rw={startOnLoad:!0,mermaidAPI:rl,parse:rk,render:rC,init:rf,run:rc,registerExternalDiagrams:rp,registerLayoutLoaders:v.jM,initialize:rd,parseError:void 0,contentLoaded:rg,setParseErrorHandler:ry,detectType:L.Vg,registerIconPacks:T.ef};async function r_(t){let{id:e,text:r,config:i}=t;rw.mermaidAPI.initialize(i);try{return await rw.render(e,r)}catch(t){throw document.querySelector(`#d${e}`)?.remove(),t}}let rv="container_lyt7";function rT(t){let{renderResult:e}=t,r=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let t=r.current;e.bindFunctions?.(t)},[e]),(0,i.jsx)("div",{ref:r,className:`docusaurus-mermaid-container ${rv}`,dangerouslySetInnerHTML:{__html:e.svg}})}function rS(t){let{value:e}=t,r=function(t){let{text:e,config:r}=t,[i,a]=(0,n.useState)(null),o=(0,n.useRef)(`mermaid-svg-${Math.round(1e7*Math.random())}`).current,s=function(){let{colorMode:t}=(0,w.I)(),e=(0,C.L)().mermaid,r=e.theme[t],{options:i}=e;return(0,n.useMemo)(()=>({startOnLoad:!1,...i,theme:r}),[r,i])}(),l=r??s;return(0,n.useEffect)(()=>{r_({id:o,text:e,config:l}).then(a).catch(t=>{a(()=>{throw t})})},[o,e,l]),i}({text:e});return null===r?null:(0,i.jsx)(rT,{renderResult:r})}let rM={Head:o.Z,details:u,Details:u,code:function(t){var e;return void 0!==(e=t).children&&n.Children.toArray(e.children).every(t=>"string"==typeof t&&!t.includes("\n"))?(0,i.jsx)(l,{...t}):(0,i.jsx)(s.default,{...t})},a:function(t){return(0,i.jsx)(h.Z,{...t})},pre:function(t){return(0,i.jsx)(i.Fragment,{children:t.children})},ul:function(t){return(0,i.jsx)("ul",{...t,className:function(t){if(void 0!==t)return(0,p.Z)(t,t?.includes("contains-task-list")&&g.containsTaskList)}(t.className)})},li:function(t){return(0,y.Z)().collectAnchor(t.id),(0,i.jsx)("li",{...t})},img:function(t){var e;return(0,i.jsx)("img",{decoding:"async",loading:"lazy",...t,className:(e=t.className,(0,p.Z)(e,m))})},h1:t=>(0,i.jsx)(f,{as:"h1",...t}),h2:t=>(0,i.jsx)(f,{as:"h2",...t}),h3:t=>(0,i.jsx)(f,{as:"h3",...t}),h4:t=>(0,i.jsx)(f,{as:"h4",...t}),h5:t=>(0,i.jsx)(f,{as:"h5",...t}),h6:t=>(0,i.jsx)(f,{as:"h6",...t}),admonition:x.Z,mermaid:function(t){return(0,i.jsx)(b.Z,{fallback:t=>(0,i.jsx)(k.Ac,{...t}),children:(0,i.jsx)(rS,{...t})})}};function rB(t){let{children:e}=t;return(0,i.jsx)(a.Z,{components:rM,children:e})}},1397:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("85893");r("67294");var n=r("67026"),a=r("76365");let o="tableOfContents_bqdL";function s(t){let{className:e,...r}=t;return(0,i.jsx)("div",{className:(0,n.Z)(o,"thin-scrollbar",e),children:(0,i.jsx)(a.Z,{...r,linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})})}},76365:function(t,e,r){"use strict";r.d(e,{Z:()=>h});var i=r("85893"),n=r("67294"),a=r("30140");function o(t){let e=t.getBoundingClientRect();return e.top===e.bottom?o(t.parentNode):e}var s=r("83012");let l=n.memo(function t(e){let{toc:r,className:n,linkClassName:a,isChild:o}=e;return r.length?(0,i.jsx)("ul",{className:o?void 0:n,children:r.map(e=>(0,i.jsxs)("li",{children:[(0,i.jsx)(s.Z,{to:`#${e.id}`,className:a??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,i.jsx)(t,{isChild:!0,toc:e.children,className:n,linkClassName:a})]},e.id))}):null});function h(t){let{toc:e,className:r="table-of-contents table-of-contents__left-border",linkClassName:s="table-of-contents__link",linkActiveClassName:h,minHeadingLevel:c,maxHeadingLevel:u,...d}=t,f=(0,a.L)(),p=c??f.tableOfContents.minHeadingLevel,g=u??f.tableOfContents.maxHeadingLevel,y=function(t){let{toc:e,minHeadingLevel:r,maxHeadingLevel:i}=t;return(0,n.useMemo)(()=>(function t(e){let{toc:r,minHeadingLevel:i,maxHeadingLevel:n}=e;return r.flatMap(e=>{var r;let a=t({toc:e.children,minHeadingLevel:i,maxHeadingLevel:n});return(r=e).level>=i&&r.level<=n?[{...e,children:a}]:a})})({toc:function(t){let e=t.map(t=>({...t,parentIndex:-1,children:[]})),r=Array(7).fill(-1);e.forEach((t,e)=>{let i=r.slice(2,t.level);t.parentIndex=Math.max(...i),r[t.level]=e});let i=[];return e.forEach(t=>{let{parentIndex:r,...n}=t;r>=0?e[r].children.push(n):i.push(n)}),i}(e),minHeadingLevel:r,maxHeadingLevel:i}),[e,r,i])}({toc:e,minHeadingLevel:p,maxHeadingLevel:g});return!function(t){let e=(0,n.useRef)(void 0),r=function(){let t=(0,n.useRef)(0),{navbar:{hideOnScroll:e}}=(0,a.L)();return(0,n.useEffect)(()=>{t.current=e?0:document.querySelector(".navbar").clientHeight},[e]),t}();(0,n.useEffect)(()=>{if(!t)return()=>{};let{linkClassName:i,linkActiveClassName:n,minHeadingLevel:a,maxHeadingLevel:s}=t;function l(){var t;let l=(t=i,Array.from(document.getElementsByClassName(t))),h=function(t,e){let{anchorTopOffset:r}=e,i=t.find(t=>o(t).top>=r);if(i){var n;return(n=o(i)).top>0&&n.bottom{var e;return h&&h.id===decodeURIComponent((e=t).href.substring(e.href.indexOf("#")+1))});l.forEach(t=>{var r;r=t,t===c?(e.current&&e.current!==r&&e.current.classList.remove(n),r.classList.add(n),e.current=r):r.classList.remove(n)})}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}},[t,r])}((0,n.useMemo)(()=>{if(s&&h)return{linkClassName:s,linkActiveClassName:h,minHeadingLevel:p,maxHeadingLevel:g}},[s,h,p,g])),(0,i.jsx)(l,{toc:y,className:r,linkClassName:s,...d})}},30202:function(t,e,r){"use strict";r.d(e,{T$:function(){return l},cI:function(){return o},eU:function(){return s},ht:function(){return h},xo:function(){return c}});var i=r(85893);r(67294);var n=r(96025),a=r(94819);function o(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function s(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function l(){return(0,i.jsx)(a.Z,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function h(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function c(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}},27818:function(t,e,r){"use strict";function i(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r=e)&&(r=e);else{let i=-1;for(let n of t)null!=(n=e(n,++i,t))&&(r=n)&&(r=n)}return r}function n(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let i=-1;for(let n of t)null!=(n=e(n,++i,t))&&(r>n||void 0===r&&n>=n)&&(r=n)}return r}function a(t){return t}function o(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}r.d(e,{S1K:()=>rN,Zyz:()=>rY,Igq:()=>rQ,YDX:()=>rG,EFj:()=>rX,ve8:()=>n5,dCK:()=>af,zgE:()=>ay,fGX:()=>ax,$0Z:()=>n8,Dts:()=>n7,WQY:()=>ae,qpX:()=>ai,Nb1:()=>nV,LLu:()=>u,F5q:()=>c,u93:()=>an,tFB:()=>ao,YY7:()=>ah,OvA:()=>au,$m7:()=>ak,c_6:()=>nQ,fxm:()=>aw,FdL:()=>aA,ak_:()=>aF,SxZ:()=>aE,eA_:()=>aO,jsv:()=>aN,JHv:()=>eJ,jvg:()=>n0,Fp7:()=>i,VV$:()=>n,tiA:()=>function t(){var e,r,i=e4().unknown(void 0),n=i.domain,a=i.range,o=0,s=1,l=!1,h=0,c=0,u=.5;function d(){var t=n().length,i=sfunction t(){var e,r,i=rm();return i.copy=function(){return ry(i,t())},e0.apply(i,arguments),r=(e=i).domain,e.ticks=function(t){var e=r();return function(t,e,r){if(e=+e,t=+t,!((r=+r)>0))return[];if(t===e)return[t];let i=e=n))return[];let s=a-n+1,l=Array(s);if(i){if(o<0)for(let t=0;t0;){if((n=rt(l,h,t))===i)return a[o]=l,a[s]=h,r(a);if(n>0)l=Math.floor(l/n)*n,h=Math.ceil(h/n)*n;else if(n<0)l=Math.ceil(l*n)/n,h=Math.floor(h*n)/n;else break;i=n}return e},e},PKp:()=>e4,K2I:()=>nw,rr1:()=>rP,iJ:()=>aZ,Xf:()=>nC,Ys:()=>n_,i$Z:()=>th,y2j:()=>rK,WQD:()=>rj,U8T:()=>rZ,Z_i:()=>rI,Ox9:()=>rV,F0B:()=>r9,LqH:()=>rJ});function l(){return!this.__axis}function h(t,e){var r=[],i=null,n=null,h=6,c=6,u=3,d="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,f=1===t||4===t?-1:1,p=4===t||2===t?"x":"y",g=1===t||3===t?o:s;function y(o){var s=null==i?e.ticks?e.ticks.apply(e,r):e.domain():i,y=null==n?e.tickFormat?e.tickFormat.apply(e,r):a:n,m=Math.max(h,0)+u,x=e.range(),b=+x[0]+d,k=+x[x.length-1]+d,C=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}:function(t){return e=>+t(e)})(e.copy(),d),w=o.selection?o.selection():o,_=w.selectAll(".domain").data([null]),v=w.selectAll(".tick").data(s,e).order(),T=v.exit(),S=v.enter().append("g").attr("class","tick"),M=v.select("line"),B=v.select("text");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),v=v.merge(S),M=M.merge(S.append("line").attr("stroke","currentColor").attr(p+"2",f*h)),B=B.merge(S.append("text").attr("fill","currentColor").attr(p,f*m).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),o!==w&&(_=_.transition(o),v=v.transition(o),M=M.transition(o),B=B.transition(o),T=T.transition(o).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=C(t))?g(t+d):this.getAttribute("transform")}),S.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:C(t))+d)})),T.remove(),_.attr("d",4===t||2===t?c?"M"+f*c+","+b+"H"+d+"V"+k+"H"+f*c:"M"+d+","+b+"V"+k:c?"M"+b+","+f*c+"V"+d+"H"+k+"V"+f*c:"M"+b+","+d+"H"+k),v.attr("opacity",1).attr("transform",function(t){return g(C(t)+d)}),M.attr(p+"2",f*h),B.attr(p,f*m).text(y),w.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=C})}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return r=Array.from(arguments),y},y.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),y):r.slice()},y.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),y):i&&i.slice()},y.tickFormat=function(t){return arguments.length?(n=t,y):n},y.tickSize=function(t){return arguments.length?(h=c=+t,y):h},y.tickSizeInner=function(t){return arguments.length?(h=+t,y):h},y.tickSizeOuter=function(t){return arguments.length?(c=+t,y):c},y.tickPadding=function(t){return arguments.length?(u=+t,y):u},y.offset=function(t){return arguments.length?(d=+t,y):d},y}function c(t){return h(1,t)}function u(t){return h(3,t)}function d(){}function f(t){return null==t?d:function(){return this.querySelector(t)}}function p(){return[]}function g(t){return null==t?p:function(){return this.querySelectorAll(t)}}function y(t){return function(){return this.matches(t)}}function m(t){return function(e){return e.matches(t)}}var x=Array.prototype.find;function b(){return this.firstElementChild}var k=Array.prototype.filter;function C(){return Array.from(this.children)}function w(t){return Array(t.length)}function _(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}_.prototype={constructor:_,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)}};function v(t,e,r,i,n,a){for(var o,s=0,l=e.length,h=a.length;se?1:t>=e?0:NaN}var B="http://www.w3.org/1999/xhtml";let L={svg:"http://www.w3.org/2000/svg",xhtml:B,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function A(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),L.hasOwnProperty(e)?{space:L[e],local:t}:t}function F(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function $(t,e){return t.style.getPropertyValue(e)||F(t).getComputedStyle(t,null).getPropertyValue(e)}function W(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new D(t)}function D(t){this._node=t,this._names=W(t.getAttribute("class")||"")}function O(t,e){for(var r=E(t),i=-1,n=e.length;++ithis._names.indexOf(t)&&(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}};function N(){this.textContent=""}function I(){this.innerHTML=""}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function j(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function R(t){var e=A(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===B&&e.documentElement.namespaceURI===B?e.createElement(t):e.createElementNS(r,t)}})(e)}function P(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function H(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function U(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Y(t){return function(){var e=this.__on;if(e){for(var r,i=0,n=-1,a=e.length;i=C&&(C=k+1);!(b=y[C])&&++C=0;)(i=n[a])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}!t&&(t=M);for(var r=this._groups,i=r.length,n=Array(i),a=0;a1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,r){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,r)}}:function(t,e,r){return function(){this.style.setProperty(t,e,r)}})(t,e,null==r?"":r)):$(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var r=W(t+"");if(arguments.length<2){for(var i=E(this.node()),n=-1,a=r.length;++n=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}),o=a.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var l,h=0,c=s.length;h{}};function tt(){for(var t,e=0,r=arguments.length,i={};e=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!i.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}})),s=-1,l=o.length;if(arguments.length<2){for(;++s0)for(var r,i,n=Array(r),a=0;a=0&&e._call.call(void 0,t),e=e._next;--tg}()}finally{tg=0,function(){for(var t,e,r=tf,i=1/0;r;)r._call?(i>r._time&&(i=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:tf=e);tp=t,tL(i)}(),tb=0}}function tB(){var t=tC.now(),e=t-tx;e>1e3&&(tk-=e,tx=t)}function tL(t){!tg&&(ty&&(ty=clearTimeout(ty)),t-tb>24?(t<1/0&&(ty=setTimeout(tM,t-tC.now()-tk)),tm&&(tm=clearInterval(tm))):(!tm&&(tx=tC.now(),tm=setInterval(tB,1e3)),tg=1,tw(tM)))}function tA(t,e,r){var i=new tT;return e=null==e?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,r),i}var tF=tt("start","end","cancel","interrupt"),t$=[];function tW(t,e,r,i,n,a){var o=t.__transition;if(o){if(r in o)return}else t.__transition={};(function(t,e,r){var i,n=t.__transition;n[e]=r,r.timer=tS(function(t){r.state=1,r.timer.restart(a,r.delay,r.time),r.delay<=t&&a(t-r.delay)},0,r.time);function a(l){var h,c,u,d;if(1!==r.state)return s();for(h in n)if((d=n[h]).name===r.name){if(3===d.state)return tA(a);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete n[h]):+h0)throw Error("too late; already scheduled");return r}function tD(t,e){var r=tO(t,e);if(r.state>3)throw Error("too late; already running");return r}function tO(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw Error("transition not found");return r}function tZ(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var tN=180/Math.PI,tI={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tz(t,e,r,i,n,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*r+e*i)&&(r-=t*l,i-=e*l),(s=Math.sqrt(r*r+i*i))&&(r/=s,i/=s,l/=s),t*i180?l+=360:l-s>180&&(s+=360),c.push({i:h.push(n(h)+"rotate(",null,i)-2,x:tZ(s,l)})):l&&h.push(n(h)+"rotate("+l+i),u=a.skewX,d=o.skewX,f=g,p=y,u!==d?p.push({i:f.push(n(f)+"skewX(",null,i)-2,x:tZ(u,d)}):d&&f.push(n(f)+"skewX("+d+i),!function(t,e,r,i,a,o){if(t!==r||e!==i){var s=a.push(n(a)+"scale(",null,",",null,")");o.push({i:s-4,x:tZ(t,r)},{i:s-2,x:tZ(e,i)})}else(1!==r||1!==i)&&a.push(n(a)+"scale("+r+","+i+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,g,y),a=o=null,function(t){for(var e,r=-1,i=y.length;++r>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?et(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?et(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=tJ.exec(t))?new ei(e[1],e[2],e[3],1):(e=t0.exec(t))?new ei(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=t1.exec(t))?et(e[1],e[2],e[3],e[4]):(e=t2.exec(t))?et(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=t5.exec(t))?eh(e[1],e[2]/100,e[3]/100,1):(e=t3.exec(t))?eh(e[1],e[2]/100,e[3]/100,e[4]):t4.hasOwnProperty(t)?t7(t4[t]):"transparent"===t?new ei(NaN,NaN,NaN,0):null}function t7(t){return new ei(t>>16&255,t>>8&255,255&t,1)}function et(t,e,r,i){return i<=0&&(t=e=r=NaN),new ei(t,e,r,i)}function ee(t){return(!(t instanceof tY)&&(t=t9(t)),t)?new ei((t=t.rgb()).r,t.g,t.b,t.opacity):new ei}function er(t,e,r,i){return 1==arguments.length?ee(t):new ei(t,e,r,null==i?1:i)}function ei(t,e,r,i){this.r=+t,this.g=+e,this.b=+r,this.opacity=+i}function en(){return`#${el(this.r)}${el(this.g)}${el(this.b)}`}tH(ei,er,tU(tY,{brighter(t){return t=null==t?tV:Math.pow(tV,t),new ei(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new ei(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ei(es(this.r),es(this.g),es(this.b),eo(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:en,formatHex:en,formatHex8:function(){return`#${el(this.r)}${el(this.g)}${el(this.b)}${el((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:ea,toString:ea}));function ea(){let t=eo(this.opacity);return`${1===t?"rgb(":"rgba("}${es(this.r)}, ${es(this.g)}, ${es(this.b)}${1===t?")":`, ${t})`}`}function eo(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function es(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function el(t){return((t=es(t))<16?"0":"")+t.toString(16)}function eh(t,e,r,i){return i<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new eu(t,e,r,i)}function ec(t){if(t instanceof eu)return new eu(t.h,t.s,t.l,t.opacity);if(!(t instanceof tY)&&(t=t9(t)),!t)return new eu;if(t instanceof eu)return t;var e=(t=t.rgb()).r/255,r=t.g/255,i=t.b/255,n=Math.min(e,r,i),a=Math.max(e,r,i),o=NaN,s=a-n,l=(a+n)/2;return s?(o=e===a?(r-i)/s+(r0&&l<1?0:o,new eu(o,s,l,t.opacity)}function eu(t,e,r,i){this.h=+t,this.s=+e,this.l=+r,this.opacity=+i}function ed(t){return(t=(t||0)%360)<0?t+360:t}function ef(t){return Math.max(0,Math.min(1,t||0))}function ep(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function eg(t,e,r,i,n){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*r+(1+3*t+3*a-3*o)*i+o*n)/6}tH(eu,function(t,e,r,i){return 1==arguments.length?ec(t):new eu(t,e,r,null==i?1:i)},tU(tY,{brighter(t){return t=null==t?tV:Math.pow(tV,t),new eu(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new eu(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,i=r+(r<.5?r:1-r)*e,n=2*r-i;return new ei(ep(t>=240?t-240:t+120,n,i),ep(t,n,i),ep(t<120?t+240:t-120,n,i),this.opacity)},clamp(){return new eu(ed(this.h),ef(this.s),ef(this.l),eo(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(){let t=eo(this.opacity);return`${1===t?"hsl(":"hsla("}${ed(this.h)}, ${100*ef(this.s)}%, ${100*ef(this.l)}%${1===t?")":`, ${t})`}`}}));let ey=t=>()=>t;function em(t,e){return function(r){return t+r*e}}function ex(t,e){var r=e-t;return r?em(t,r):ey(isNaN(t)?e:t)}let eb=function t(e){var r,i=1==(r=+(r=e))?ex:function(t,e){var i,n,a;return e-t?(i=t,n=e,i=Math.pow(i,a=r),n=Math.pow(n,a)-i,a=1/a,function(t){return Math.pow(i+t*n,a)}):ey(isNaN(t)?e:t)};function n(t,e){var r=i((t=er(t)).r,(e=er(e)).r),n=i(t.g,e.g),a=i(t.b,e.b),o=ex(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=n(e),t.b=a(e),t.opacity=o(e),t+""}}return n.gamma=t,n}(1);function ek(t){return function(e){var r,i,n=e.length,a=Array(n),o=Array(n),s=Array(n);for(r=0;r=1?(r=1,e-1):Math.floor(r*e),n=t[i],a=t[i+1],o=i>0?t[i-1]:2*n-a,s=is&&(o=e.slice(s,o),h[l]?h[l]+=o:h[++l]=o),(n=n[0])===(a=a[0])?h[l]?h[l]+=a:h[++l]=a:(h[++l]=null,c.push({i:l,x:tZ(n,a)})),s=ew.lastIndex;return s=0&&(t=t.slice(0,e)),!t||"start"===t})?tE:tD;return function(){var o=a(this,t),s=o.on;s!==i&&(n=(i=s).copy()).on(e,r),o.on=n}}(r,t,e))},attr:function(t,e){var r=A(t),i="transform"===r?tP:ev;return this.attrTween(t,"function"==typeof e?(r.local?function(t,e,r){var i,n,a;return function(){var o,s,l=r(this);return null==l?void this.removeAttributeNS(t.space,t.local):(o=this.getAttributeNS(t.space,t.local),o===(s=l+"")?null:o===i&&s===n?a:(n=s,a=e(i=o,l)))}}:function(t,e,r){var i,n,a;return function(){var o,s,l=r(this);return null==l?void this.removeAttribute(t):(o=this.getAttribute(t),o===(s=l+"")?null:o===i&&s===n?a:(n=s,a=e(i=o,l)))}})(r,i,tq(this,"attr."+t,e)):null==e?(r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(r):(r.local?function(t,e,r){var i,n,a=r+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===i?n:n=e(i=o,r)}}:function(t,e,r){var i,n,a=r+"";return function(){var o=this.getAttribute(t);return o===a?null:o===i?n:n=e(i=o,r)}})(r,i,e))},attrTween:function(t,e){var r="attr."+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 Error();var i=A(t);return this.tween(r,(i.local?function(t,e){var r,i;function n(){var n,a,o=e.apply(this,arguments);if(o!==i){;r=(i=o)&&(n=t,a=o,function(t){this.setAttributeNS(n.space,n.local,a.call(this,t))})}return r}return n._value=e,n}:function(t,e){var r,i;function n(){var n,a,o=e.apply(this,arguments);if(o!==i){;r=(i=o)&&(n=t,a=o,function(t){this.setAttribute(n,a.call(this,t))})}return r}return n._value=e,n})(i,e))},style:function(t,e,r){var i,n,a,o,s,l,h,c,u,d,f,p,g,y,m,x,b,k,C,w,_,v,T,S,M,B="transform"==(t+="")?tR:ev;return null==e?this.styleTween(t,(i=t,n=B,function(){var t=$(this,i),e=(this.style.removeProperty(i),$(this,i));return t===e?null:t===a&&e===o?s:s=n(a=t,o=e)})).on("end.style."+t,eS(t)):"function"==typeof e?this.styleTween(t,(l=t,h=B,c=tq(this,"style."+t,e),function(){var t=$(this,l),e=c(this),r=e+"";return null==e&&(this.style.removeProperty(l),r=e=$(this,l)),t===r?null:t===u&&r===d?f:(d=r,f=h(u=t,e))})).each((p=this._id,C="end."+(k="style."+(g=t)),function(){var t=tD(this,p),e=t.on,r=null==t.value[k]?b||(b=eS(g)):void 0;(e!==y||x!==r)&&(m=(y=e).copy()).on(C,x=r),t.on=m})):this.styleTween(t,(w=t,_=B,M=(v=e)+"",function(){var t=$(this,w);return t===M?null:t===T?S:S=_(T=t,v)}),r).on("end.style."+t,null)},styleTween:function(t,e,r){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 Error();return this.tween(i,function(t,e,r){var i,n;function a(){var a,o,s,l=e.apply(this,arguments);if(l!==n){;i=(n=l)&&(a=t,o=l,s=r,function(t){this.style.setProperty(a,o.call(this,t),s)})}return i}return a._value=e,a}(t,e,null==r?"":r))},text:function(t){var e,r;return this.tween("text","function"==typeof t?(e=tq(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(r=null==t?"":t+"",function(){this.textContent=r}))},textTween:function(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 Error();return this.tween(e,function(t){var e,r;function i(){var i,n=t.apply(this,arguments);if(n!==r){;e=(r=n)&&(i=n,function(t){this.textContent=i.call(this,t)})}return e}return i._value=t,i}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var i,n=tO(this.node(),r).tween,a=0,o=n.length;a2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete a[n]}o&&delete t.__transition}}(this,t)})},K.prototype.transition=function(t){var e,r;t instanceof eB?(e=t._id,t=t._name):(e=++eM,(r=eF).time=t_(),t=null==t?null:t+"");for(var i=this._groups,n=i.length,a=0;aeR?Math.pow(t,1/3):t/ej+eI}function eU(t){return t>ez?t*t*t:ej*(t-eI)}function eY(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eV(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}tH(eq,function(t,e,r,i){return 1==arguments.length?eP(t):new eq(t,e,r,null==i?1:i)},tU(tY,{brighter(t){return new eq(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new eq(this.l-18*(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,r=isNaN(this.b)?t:t-this.b/200;return e=.96422*eU(e),t=1*eU(t),new ei(eY(3.1338561*e-1.6168667*t-.4906146*(r=.82521*eU(r))),eY(-.9787684*e+1.9161415*t+.033454*r),eY(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));function eG(t,e,r,i){return 1==arguments.length?function(t){if(t instanceof eX)return new eX(t.h,t.c,t.l,t.opacity);if(!(t instanceof eq)&&(t=eP(t)),0===t.a&&0===t.b)return new eX(NaN,0180||r<-180?r-360*Math.round(r/360):r):ey(isNaN(t)?e:t)});eK(ex);function e0(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}class e1 extends Map{constructor(t,e=e5){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(e2(this,t))}has(t){return super.has(e2(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):(t.set(i,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let i=e(r);return t.has(i)&&(r=t.get(i),t.delete(i)),r}(this,t))}}function e2({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):r}function e5(t){return null!==t&&"object"==typeof t?t.valueOf():t}let e3=Symbol("implicit");function e4(){var t=new e1,e=[],r=[],i=e3;function n(n){let a=t.get(n);if(void 0===a){if(i!==e3)return i;t.set(n,a=e.push(n)-1)}return r[a%r.length]}return n.domain=function(r){if(!arguments.length)return e.slice();for(let i of(e=[],t=new e1,r))!t.has(i)&&t.set(i,e.push(i)-1);return n},n.range=function(t){return arguments.length?(r=Array.from(t),n):r.slice()},n.unknown=function(t){return arguments.length?(i=t,n):i},n.copy=function(){return e4(e,r).unknown(i)},e0.apply(n,arguments),n}let e6=Math.sqrt(50),e8=Math.sqrt(10),e9=Math.sqrt(2);function e7(t,e,r){let i,n,a;let o=(e-t)/Math.max(0,r),s=Math.floor(Math.log10(o)),l=o/Math.pow(10,s),h=l>=e6?10:l>=e8?5:l>=e9?2:1;return(s<0?(i=Math.round(t*(a=Math.pow(10,-s)/h)),n=Math.round(e*a),i/ae&&--n,a=-a):(i=Math.round(t/(a=Math.pow(10,s)*h)),n=Math.round(e/a),i*ae&&--n),ne?1:t>=e?0:NaN}function ri(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function rn(t){let e,r,i;function n(t,i,a=0,o=t.length){if(a>>1;0>r(t[e],i)?a=e+1:o=e}while(arr(t(e),r),i=(e,r)=>t(e)-r):(e=t===rr||t===ri?t:ra,r=t,i=t),{left:n,center:function(t,e,r=0,a=t.length){let o=n(t,e,r,a-1);return o>r&&i(t[o-1],e)>-i(t[o],e)?o-1:o},right:function(t,i,n=0,a=t.length){if(n>>1;0>=r(t[e],i)?n=e+1:a=e}while(ne&&(r=t,t=e,e=r),h=function(r){return Math.max(t,Math.min(e,r))}}return i=l>2?rg:rp,n=a=null,u}function u(e){return null==e||isNaN(e=+e)?r:(n||(n=i(o.map(t),s,l)))(t(h(e)))}return u.invert=function(r){return h(e((a||(a=i(s,o.map(t),tZ)))(r)))},u.domain=function(t){return arguments.length?(o=Array.from(t,rc),c()):o.slice()},u.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},u.rangeRound=function(t){return s=Array.from(t),l=rh,c()},u.clamp=function(t){return arguments.length?(h=!!t||rd,c()):h!==rd},u.interpolate=function(t){return arguments.length?(l=t,c()):l},u.unknown=function(t){return arguments.length?(r=t,u):r},function(r,i){return t=r,e=i,c()}})()(rd,rd)}var rx=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function rb(t){var e;if(!(e=rx.exec(t)))throw Error("invalid format: "+t);return new rk({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 rk(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+""}rb.prototype=rk.prototype,rk.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};function rC(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,i=t.slice(0,r);return[i.length>1?i[0]+i.slice(2):i,+t.slice(r+1)]}function rw(t){return(t=rC(Math.abs(t)))?t[1]:NaN}function r_(t,e){var r=rC(t,e);if(!r)return t+"";var i=r[0],n=r[1];return n<0?"0."+Array(-n).join("0")+i:i.length>n+1?i.slice(0,n+1)+"."+i.slice(n+1):i+Array(n-i.length+2).join("0")}let rv={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},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)=>r_(100*t,e),r:r_,s:function(t,e){var r=rC(t,e);if(!r)return t+"";var i=r[0],n=r[1],a=n-(tn=3*Math.max(-8,Math.min(8,Math.floor(n/3))))+1,o=i.length;return a===o?i:a>o?i+Array(a-o+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+rC(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function rT(t){return t}var rS=Array.prototype.map,rM=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];(function(t){to=(ta=function(t){var e,r,i,n=void 0===t.grouping||void 0===t.thousands?rT:(e=rS.call(t.grouping,Number),r=t.thousands+"",function(t,i){for(var n=t.length,a=[],o=0,s=e[0],l=0;n>0&&s>0&&(l+s+1>i&&(s=Math.max(1,i-l)),a.push(t.substring(n-=s,n+s)),!((l+=s+1)>i));){;s=e[o=(o+1)%e.length]}return a.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?rT:(i=rS.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),h=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function d(t){var e=(t=rb(t)).fill,r=t.align,i=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.trim,x=t.type;"n"===x?(g=!0,x="g"):!rv[x]&&(void 0===y&&(y=12),m=!0,x="g"),(f||"0"===e&&"="===r)&&(f=!0,e="0",r="=");var b="$"===d?a:"#"===d&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",k="$"===d?o:/[%p]/.test(x)?h:"",C=rv[x],w=/[defgprs%]/.test(x);function _(t){var a,o,h,d=b,_=k;if("c"===x)_=C(t)+_,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:C(Math.abs(t),y),m&&(t=function(t){t:for(var e,r=t.length,i=1,n=-1;i0&&(n=0)}return n>0?t.slice(0,n)+t.slice(e+1):t}(t)),v&&0==+t&&"+"!==i&&(v=!1),d=(v?"("===i?i:c:"-"===i||"("===i?"":i)+d,_=("s"===x?rM[8+tn/3]:"")+_+(v&&"("===i?")":""),w){for(a=-1,o=t.length;++a(h=t.charCodeAt(a))||h>57){_=(46===h?s+t.slice(a+1):t.slice(a))+_,t=t.slice(0,a);break}}}g&&!f&&(t=n(t,1/0));var T=d.length+t.length+_.length,S=T>1)+d+t+_+S.slice(T);break;default:t=S+d+t+_}return l(t)}return y=void 0===y?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),_.toString=function(){return t+""},_}return{format:d,formatPrefix:function(t,e){var r=d(((t=rb(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(rw(e)/3))),n=Math.pow(10,-i),a=rM[8+i/3];return function(t){return r(n*t)+a}}}}(t)).format,ts=ta.formatPrefix})({thousands:",",grouping:[3],currency:["$",""]});let rB=6e4,rL=36e5,rA=864e5,rF=6048e5,r$=2592e6,rW=31536e6,rE=new Date,rD=new Date;function rO(t,e,r,i){function n(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return n.floor=e=>(t(e=new Date(+e)),e),n.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),n.round=t=>{let e=n(t),r=n.ceil(t);return t-e(e(t=new Date(+t),null==r?1:Math.floor(r)),t),n.range=(r,i,a)=>{let o;let s=[];if(r=n.ceil(r),a=null==a?1:Math.floor(a),!(r0))return s;do s.push(o=new Date(+r)),e(r,a),t(r);while(orO(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,i)=>{if(t>=t){if(i<0)for(;++i<=0;)for(;e(t,-1),!r(t););else for(;--i>=0;)for(;e(t,1),!r(t););}}),r&&(n.count=(e,i)=>(rE.setTime(+e),rD.setTime(+i),t(rE),t(rD),Math.floor(r(rE,rD))),n.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?n.filter(i?e=>i(e)%t==0:e=>n.count(0,e)%t==0):n:null),n}let rZ=rO(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);rZ.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?rO(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):rZ:null,rZ.range;let rN=rO(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());rN.range;let rI=rO(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+e*rB)},(t,e)=>(e-t)/rB,t=>t.getMinutes());rI.range;let rz=rO(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*rB)},(t,e)=>(e-t)/rB,t=>t.getUTCMinutes());rz.range;let rj=rO(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*rB)},(t,e)=>{t.setTime(+t+e*rL)},(t,e)=>(e-t)/rL,t=>t.getHours());rj.range;let rR=rO(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*rL)},(t,e)=>(e-t)/rL,t=>t.getUTCHours());rR.range;let rP=rO(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rB)/rA,t=>t.getDate()-1);rP.range;let rq=rO(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/rA,t=>t.getUTCDate()-1);rq.range;let rH=rO(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/rA,t=>Math.floor(t/rA));function rU(t){return rO(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rB)/rF)}rH.range;let rY=rU(0),rV=rU(1),rG=rU(2),rX=rU(3),rQ=rU(4),rK=rU(5),rJ=rU(6);function r0(t){return rO(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/rF)}rY.range,rV.range,rG.range,rX.range,rQ.range,rK.range,rJ.range;let r1=r0(0),r2=r0(1),r5=r0(2),r3=r0(3),r4=r0(4),r6=r0(5),r8=r0(6);r1.range,r2.range,r5.range,r3.range,r4.range,r6.range,r8.range;let r9=rO(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());r9.range;let r7=rO(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());r7.range;let it=rO(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());it.every=t=>isFinite(t=Math.floor(t))&&t>0?rO(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,it.range;let ie=rO(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function ir(t,e,r,i,n,a){let o=[[rN,1,1e3],[rN,5,5e3],[rN,15,15e3],[rN,30,3e4],[a,1,rB],[a,5,5*rB],[a,15,15*rB],[a,30,30*rB],[n,1,rL],[n,3,3*rL],[n,6,6*rL],[n,12,12*rL],[i,1,rA],[i,2,2*rA],[r,1,rF],[e,1,r$],[e,3,3*r$],[t,1,rW]];function s(e,r,i){let n=Math.abs(r-e)/i,a=rn(([,,t])=>t).right(o,n);if(a===o.length)return t.every(re(e/rW,r/rW,i));if(0===a)return rZ.every(Math.max(re(e,r,i),1));let[s,l]=o[n/o[a-1][2]isFinite(t=Math.floor(t))&&t>0?rO(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,ie.range;let[ii,ia]=ir(ie,r7,r1,rH,rR,rz),[io,is]=ir(it,r9,rY,rP,rj,rI);function il(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 ih(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 ic(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var iu={"-":"",_:" ",0:"0"},id=/^\s*\d+/,ip=/^%/,ig=/[\\^$*+?|[\]().{}]/g;function iy(t,e,r){var i=t<0?"-":"",n=(i?-t:t)+"",a=n.length;return i+(a[t.toLowerCase(),e]))}function ik(t,e,r){var i=id.exec(e.slice(r,r+1));return i?(t.w=+i[0],r+i[0].length):-1}function iC(t,e,r){var i=id.exec(e.slice(r,r+1));return i?(t.u=+i[0],r+i[0].length):-1}function iw(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.U=+i[0],r+i[0].length):-1}function i_(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.V=+i[0],r+i[0].length):-1}function iv(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.W=+i[0],r+i[0].length):-1}function iT(t,e,r){var i=id.exec(e.slice(r,r+4));return i?(t.y=+i[0],r+i[0].length):-1}function iS(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),r+i[0].length):-1}function iM(t,e,r){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),r+i[0].length):-1}function iB(t,e,r){var i=id.exec(e.slice(r,r+1));return i?(t.q=3*i[0]-3,r+i[0].length):-1}function iL(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.m=i[0]-1,r+i[0].length):-1}function iA(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.d=+i[0],r+i[0].length):-1}function iF(t,e,r){var i=id.exec(e.slice(r,r+3));return i?(t.m=0,t.d=+i[0],r+i[0].length):-1}function i$(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.H=+i[0],r+i[0].length):-1}function iW(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.M=+i[0],r+i[0].length):-1}function iE(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.S=+i[0],r+i[0].length):-1}function iD(t,e,r){var i=id.exec(e.slice(r,r+3));return i?(t.L=+i[0],r+i[0].length):-1}function iO(t,e,r){var i=id.exec(e.slice(r,r+6));return i?(t.L=Math.floor(i[0]/1e3),r+i[0].length):-1}function iZ(t,e,r){var i=ip.exec(e.slice(r,r+1));return i?r+i[0].length:-1}function iN(t,e,r){var i=id.exec(e.slice(r));return i?(t.Q=+i[0],r+i[0].length):-1}function iI(t,e,r){var i=id.exec(e.slice(r));return i?(t.s=+i[0],r+i[0].length):-1}function iz(t,e){return iy(t.getDate(),e,2)}function ij(t,e){return iy(t.getHours(),e,2)}function iR(t,e){return iy(t.getHours()%12||12,e,2)}function iP(t,e){return iy(1+rP.count(it(t),t),e,3)}function iq(t,e){return iy(t.getMilliseconds(),e,3)}function iH(t,e){return iq(t,e)+"000"}function iU(t,e){return iy(t.getMonth()+1,e,2)}function iY(t,e){return iy(t.getMinutes(),e,2)}function iV(t,e){return iy(t.getSeconds(),e,2)}function iG(t){var e=t.getDay();return 0===e?7:e}function iX(t,e){return iy(rY.count(it(t)-1,t),e,2)}function iQ(t){var e=t.getDay();return e>=4||0===e?rQ(t):rQ.ceil(t)}function iK(t,e){return t=iQ(t),iy(rQ.count(it(t),t)+(4===it(t).getDay()),e,2)}function iJ(t){return t.getDay()}function i0(t,e){return iy(rV.count(it(t)-1,t),e,2)}function i1(t,e){return iy(t.getFullYear()%100,e,2)}function i2(t,e){return iy((t=iQ(t)).getFullYear()%100,e,2)}function i5(t,e){return iy(t.getFullYear()%1e4,e,4)}function i3(t,e){var r=t.getDay();return iy((t=r>=4||0===r?rQ(t):rQ.ceil(t)).getFullYear()%1e4,e,4)}function i4(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+iy(e/60|0,"0",2)+iy(e%60,"0",2)}function i6(t,e){return iy(t.getUTCDate(),e,2)}function i8(t,e){return iy(t.getUTCHours(),e,2)}function i9(t,e){return iy(t.getUTCHours()%12||12,e,2)}function i7(t,e){return iy(1+rq.count(ie(t),t),e,3)}function nt(t,e){return iy(t.getUTCMilliseconds(),e,3)}function ne(t,e){return nt(t,e)+"000"}function nr(t,e){return iy(t.getUTCMonth()+1,e,2)}function ni(t,e){return iy(t.getUTCMinutes(),e,2)}function nn(t,e){return iy(t.getUTCSeconds(),e,2)}function na(t){var e=t.getUTCDay();return 0===e?7:e}function no(t,e){return iy(r1.count(ie(t)-1,t),e,2)}function ns(t){var e=t.getUTCDay();return e>=4||0===e?r4(t):r4.ceil(t)}function nl(t,e){return t=ns(t),iy(r4.count(ie(t),t)+(4===ie(t).getUTCDay()),e,2)}function nh(t){return t.getUTCDay()}function nc(t,e){return iy(r2.count(ie(t)-1,t),e,2)}function nu(t,e){return iy(t.getUTCFullYear()%100,e,2)}function nd(t,e){return iy((t=ns(t)).getUTCFullYear()%100,e,2)}function nf(t,e){return iy(t.getUTCFullYear()%1e4,e,4)}function np(t,e){var r=t.getUTCDay();return iy((t=r>=4||0===r?r4(t):r4.ceil(t)).getUTCFullYear()%1e4,e,4)}function ng(){return"+0000"}function ny(){return"%"}function nm(t){return+t}function nx(t){return Math.floor(+t/1e3)}(function(t){th=(tl=function(t){var e=t.dateTime,r=t.date,i=t.time,n=t.periods,a=t.days,o=t.shortDays,s=t.months,l=t.shortMonths,h=ix(n),c=ib(n),u=ix(a),d=ib(a),f=ix(o),p=ib(o),g=ix(s),y=ib(s),m=ix(l),x=ib(l),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:iz,e:iz,f:iH,g:i2,G:i3,H:ij,I:iR,j:iP,L:iq,m:iU,M:iY,p:function(t){return n[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:nm,s:nx,S:iV,u:iG,U:iX,V:iK,w:iJ,W:i0,x:null,X:null,y:i1,Y:i5,Z:i4,"%":ny},k={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:i6,e:i6,f:ne,g:nd,G:np,H:i8,I:i9,j:i7,L:nt,m:nr,M:ni,p:function(t){return n[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:nm,s:nx,S:nn,u:na,U:no,V:nl,w:nh,W:nc,x:null,X:null,y:nu,Y:nf,Z:ng,"%":ny},C={a:function(t,e,r){var i=f.exec(e.slice(r));return i?(t.w=p.get(i[0].toLowerCase()),r+i[0].length):-1},A:function(t,e,r){var i=u.exec(e.slice(r));return i?(t.w=d.get(i[0].toLowerCase()),r+i[0].length):-1},b:function(t,e,r){var i=m.exec(e.slice(r));return i?(t.m=x.get(i[0].toLowerCase()),r+i[0].length):-1},B:function(t,e,r){var i=g.exec(e.slice(r));return i?(t.m=y.get(i[0].toLowerCase()),r+i[0].length):-1},c:function(t,r,i){return v(t,e,r,i)},d:iA,e:iA,f:iO,g:iS,G:iT,H:i$,I:i$,j:iF,L:iD,m:iL,M:iW,p:function(t,e,r){var i=h.exec(e.slice(r));return i?(t.p=c.get(i[0].toLowerCase()),r+i[0].length):-1},q:iB,Q:iN,s:iI,S:iE,u:iC,U:iw,V:i_,w:ik,W:iv,x:function(t,e,i){return v(t,r,e,i)},X:function(t,e,r){return v(t,i,e,r)},y:iS,Y:iT,Z:iM,"%":iZ};function w(t,e){return function(r){var i,n,a,o=[],s=-1,l=0,h=t.length;for(!(r instanceof Date)&&(r=new Date(+r));++s53)return null;!("w"in a)&&(a.w=1),"Z"in a?(i=(n=(i=ih(ic(a.y,0,1))).getUTCDay())>4||0===n?r2.ceil(i):r2(i),i=rq.offset(i,(a.V-1)*7),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=(n=(i=il(ic(a.y,0,1))).getDay())>4||0===n?rV.ceil(i):rV(i),i=rP.offset(i,(a.V-1)*7),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),n="Z"in a?ih(ic(a.y,0,1)).getUTCDay():il(ic(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(n+5)%7:a.w+7*a.U-(n+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,ih(a)):il(a)}}function v(t,e,r,i){for(var n,a,o=0,s=e.length,l=r.length;o=l)return -1;if(37===(n=e.charCodeAt(o++))){if(!(a=C[(n=e.charAt(o++))in iu?e.charAt(o++):n])||(i=a(t,r,i))<0)return -1}else if(n!=r.charCodeAt(i++))return -1}return i}return b.x=w(r,b),b.X=w(i,b),b.c=w(e,b),k.x=w(r,k),k.X=w(i,k),k.c=w(e,k),{format:function(t){var e=w(t+="",b);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=w(t+="",k);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t+="",!0);return e.toString=function(){return t},e}}}(t)).format,tl.parse,tl.utcFormat,tl.utcParse})({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"]});function nb(t){return new Date(t)}function nk(t){return t instanceof Date?+t:+new Date(+t)}function nC(){return e0.apply((function t(e,r,i,n,a,o,s,l,h,c){var u=rm(),d=u.invert,f=u.domain,p=c(".%L"),g=c(":%S"),y=c("%I:%M"),m=c("%I %p"),x=c("%a %d"),b=c("%b %d"),k=c("%B"),C=c("%Y");function w(t){return(h(t)=1?nW:t<=-1?-nW:Math.asin(t)}let nO=Math.PI,nZ=2*nO,nN=nZ-1e-6;function nI(t){this._+=t[0];for(let e=1,r=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return nI;let r=10**e;return function(t){this._+=t[0];for(let e=1,i=t.length;e1e-6){if(Math.abs(c*s-l*h)>1e-6&&n){let d=r-a,f=i-o,p=s*s+l*l,g=Math.sqrt(p),y=Math.sqrt(u),m=n*Math.tan((nO-Math.acos((p+u-(d*d+f*f))/(2*g*y)))/2),x=m/y,b=m/g;Math.abs(x-1)>1e-6&&this._append`L${t+x*h},${e+x*c}`,this._append`A${n},${n},0,0,${+(c*d>h*f)},${this._x1=t+b*s},${this._y1=e+b*l}`}else this._append`L${this._x1=t},${this._y1=e}`}else;}arc(t,e,r,i,n,a){if(t=+t,e=+e,r=+r,a=!!a,r<0)throw Error(`negative radius: ${r}`);let o=r*Math.cos(i),s=r*Math.sin(i),l=t+o,h=e+s,c=1^a,u=a?i-n:n-i;null===this._x1?this._append`M${l},${h}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&this._append`L${l},${h}`,r&&(u<0&&(u=u%nZ+nZ),u>nN?this._append`A${r},${r},0,1,${c},${t-o},${e-s}A${r},${r},0,1,${c},${this._x1=l},${this._y1=h}`:u>1e-6&&this._append`A${r},${r},0,${+(u>=nO)},${c},${this._x1=t+r*Math.cos(n)},${this._y1=e+r*Math.sin(n)}`)}rect(t,e,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function nj(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new nz(e)}function nR(t){return t.innerRadius}function nP(t){return t.outerRadius}function nq(t){return t.startAngle}function nH(t){return t.endAngle}function nU(t){return t&&t.padAngle}nz.prototype;function nY(t,e,r,i,n,a,o){var s=t-r,l=e-i,h=(o?a:-a)/nF(s*s+l*l),c=h*l,u=-h*s,d=t+c,f=e+u,p=r+c,g=i+u,y=(d+p)/2,m=(f+g)/2,x=p-d,b=g-f,k=x*x+b*b,C=n-a,w=d*g-p*f,_=(b<0?-1:1)*nF(nB(0,C*C*k-w*w)),v=(w*b-x*_)/k,T=(-w*x-b*_)/k,S=(w*b+x*_)/k,M=(-w*x+b*_)/k,B=v-y,L=T-m,A=S-y,F=M-m;return B*B+L*L>A*A+F*F&&(v=S,T=M),{cx:v,cy:T,x01:-c,y01:-u,x11:v*(n/C-1),y11:T*(n/C-1)}}function nV(){var t=nR,e=nP,r=nv(0),i=null,n=nq,a=nH,o=nU,s=null,l=nj(h);function h(){var h,c,u=+t.apply(this,arguments),d=+e.apply(this,arguments),f=n.apply(this,arguments)-nW,p=a.apply(this,arguments)-nW,g=nT(p-f),y=p>f;if(!s&&(s=h=l()),d1e-12){if(g>nE-1e-12)s.moveTo(d*nM(f),d*nA(f)),s.arc(0,0,d,f,p,!y),u>1e-12&&(s.moveTo(u*nM(p),u*nA(p)),s.arc(0,0,u,p,f,y));else{var m,x,b=f,k=p,C=f,w=p,_=g,v=g,T=o.apply(this,arguments)/2,S=T>1e-12&&(i?+i.apply(this,arguments):nF(u*u+d*d)),M=nL(nT(d-u)/2,+r.apply(this,arguments)),B=M,L=M;if(S>1e-12){var A=nD(S/u*nA(T)),F=nD(S/d*nA(T));(_-=2*A)>1e-12?(A*=y?1:-1,C+=A,w-=A):(_=0,C=w=(f+p)/2),(v-=2*F)>1e-12?(F*=y?1:-1,b+=F,k-=F):(v=0,b=k=(f+p)/2)}var $=d*nM(b),W=d*nA(b),E=u*nM(w),D=u*nA(w);if(M>1e-12){var O,Z=d*nM(k),N=d*nA(k),I=u*nM(C),z=u*nA(C);if(g1?0:j<-1?n$:Math.acos(j))/2),Y=nF(O[0]*O[0]+O[1]*O[1]);B=nL(M,(u-Y)/(U-1)),L=nL(M,(d-Y)/(U+1))}else B=L=0}}v>1e-12?L>1e-12?(m=nY(I,z,$,W,d,L,y),x=nY(Z,N,E,D,d,L,y),s.moveTo(m.cx+m.x01,m.cy+m.y01),L1e-12&&_>1e-12?B>1e-12?(m=nY(E,D,Z,N,u,-B,y),x=nY($,W,I,z,u,-B,y),s.lineTo(m.cx+m.x01,m.cy+m.y01),Bt?1:e>=t?0:NaN}function n2(t){return t}function n5(){var t=n2,e=n1,r=null,i=nv(0),n=nv(nE),a=nv(0);function o(o){var s,l,h,c,u,d=(o=nG(o)).length,f=0,p=Array(d),g=Array(d),y=+i.apply(this,arguments),m=Math.min(nE,Math.max(-nE,n.apply(this,arguments)-y)),x=Math.min(Math.abs(m)/d,a.apply(this,arguments)),b=x*(m<0?-1:1);for(s=0;s0&&(f+=u);for(null!=e?p.sort(function(t,r){return e(g[t],g[r])}):null!=r&&p.sort(function(t,e){return r(o[t],o[e])}),s=0,h=f?(m-d*b)/f:0;s0?u*h:0)+b,g[l]={data:o[l],index:s,value:u,startAngle:y,endAngle:c,padAngle:x};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:nv(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,r=null,o):e},o.sort=function(t){return arguments.length?(r=t,e=null,o):r},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:nv(+t),o):i},o.endAngle=function(t){return arguments.length?(n="function"==typeof t?t:nv(+t),o):n},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:nv(+t),o):a},o}function n3(){}function n4(t,e,r){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+r)/6)}function n6(t){this._context=t}function n8(t){return new n6(t)}function n9(t){this._context=t}function n7(t){return new n9(t)}function at(t){this._context=t}function ae(t){return new at(t)}Array.prototype.slice,nX.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)}}},n6.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:n4(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:n4(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},n9.prototype={areaStart:n3,areaEnd:n3,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:n4(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},at.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 r=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:n4(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class ar{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 ai(t){return new ar(t,!0)}function an(t){return new ar(t,!1)}function aa(t,e){this._basis=new n6(t),this._beta=e}aa.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0){for(var i,n=t[0],a=e[0],o=t[r]-n,s=e[r]-a,l=-1;++l<=r;)i=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+i*o),this._beta*e[l]+(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)}};let ao=function t(e){function r(t){return 1===e?new n6(t):new aa(t,e)}return r.beta=function(e){return t(+e)},r}(.85);function as(t,e,r){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-r),t._x2,t._y2)}function al(t,e){this._context=t,this._k=(1-e)/6}al.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:as(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:as(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}};let ah=function t(e){function r(t){return new al(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ac(t,e){this._context=t,this._k=(1-e)/6}ac.prototype={areaStart:n3,areaEnd:n3,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:as(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}};let au=function t(e){function r(t){return new ac(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ad(t,e){this._context=t,this._k=(1-e)/6}ad.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:as(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}};let af=function t(e){function r(t){return new ad(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ap(t,e,r){var i=t._x1,n=t._y1,a=t._x2,o=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>1e-12){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*h+t._x1*t._l23_2a-e*t._l12_2a)/c,o=(o*h+t._y1*t._l23_2a-r*t._l12_2a)/c}t._context.bezierCurveTo(i,n,a,o,t._x2,t._y2)}function ag(t,e){this._context=t,this._alpha=e}ag.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 r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:ap(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}};let ay=function t(e){function r(t){return e?new ag(t,e):new al(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function am(t,e){this._context=t,this._alpha=e}am.prototype={areaStart:n3,areaEnd:n3,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 r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:ap(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}};let ax=function t(e){function r(t){return e?new am(t,e):new ac(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function ab(t,e){this._context=t,this._alpha=e}ab.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 r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:ap(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}};let ak=function t(e){function r(t){return e?new ab(t,e):new ad(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function aC(t){this._context=t}function aw(t){return new aC(t)}function a_(t){return t<0?-1:1}function av(t,e,r){var i=t._x1-t._x0,n=e-t._x1,a=(t._y1-t._y0)/(i||n<0&&-0),o=(r-t._y1)/(n||i<0&&-0),s=(a*n+o*i)/(i+n);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function aT(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function aS(t,e,r){var i=t._x0,n=t._y0,a=t._x1,o=t._y1,s=(a-i)/3;t._context.bezierCurveTo(i+s,n+s*e,a-s,o-s*r,a,o)}function aM(t){this._context=t}function aB(t){this._context=new aL(t)}function aL(t){this._context=t}function aA(t){return new aM(t)}function aF(t){return new aB(t)}function a$(t){this._context=t}function aW(t){var e,r,i=t.length-1,n=Array(i),a=Array(i),o=Array(i);for(n[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e=0;--e)n[e]=(o[e]-n[e+1])/a[e];for(e=0,a[i-1]=(t[i]+n[i-1])/2;e=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 r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},aI.prototype={constructor:aI,scale:function(t){return 1===t?this:new aI(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new aI(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+")"}};var az=new aI(1,0,0);(function(t){for(;!t.__zoom;)if(!(t=t.parentNode))return az;return t.__zoom}).prototype=aI.prototype},90930:function(t,e,r){"use strict";r.d(e,{Z:()=>o});var i=r("53763"),n=r("75036");let a=class t{constructor(){this.type=n.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=n.w.ALL}is(t){return this.type===t}},o=new class t{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new a}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=n.w.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:n}=t;void 0===e&&(t.h=i.Z.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=i.Z.channel.rgb2hsl(t,"s")),void 0===n&&(t.l=i.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:n}=t;void 0===e&&(t.r=i.Z.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=i.Z.channel.hsl2rgb(t,"g")),void 0===n&&(t.b=i.Z.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(n.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(n.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(n.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(n.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(n.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(n.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},26652:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("90930"),n=r("75036");let a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(a.re);if(!e)return;let r=e[1],n=parseInt(r,16),o=r.length,s=o%4==0,l=o>4,h=l?1:17,c=l?8:4,u=s?0:-1,d=l?255:15;return i.Z.set({r:(n>>c*(u+3)&d)*h,g:(n>>c*(u+2)&d)*h,b:(n>>c*(u+1)&d)*h,a:s?(n&d)*h/255:1},t)},stringify:t=>{let{r:e,g:r,b:i,a}=t;return a<1?`#${n.Q[Math.round(e)]}${n.Q[Math.round(r)]}${n.Q[Math.round(i)]}${n.Q[Math.round(255*a)]}`:`#${n.Q[Math.round(e)]}${n.Q[Math.round(r)]}${n.Q[Math.round(i)]}`}};var o=r("53763");let s={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=>{let e=t.match(s.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return o.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return o.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return o.Z.channel.clamp.h(360*parseFloat(t))}}return o.Z.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(s.re);if(!r)return;let[,n,a,l,h,c]=r;return i.Z.set({h:s._hue2deg(n),s:o.Z.channel.clamp.s(parseFloat(a)),l:o.Z.channel.clamp.l(parseFloat(l)),a:h?o.Z.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{let{h:e,s:r,l:i,a:n}=t;return n<1?`hsla(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}%, ${o.Z.lang.round(i)}%, ${n})`:`hsl(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}%, ${o.Z.lang.round(i)}%)`}},l={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();let e=l.colors[t];if(e)return a.parse(e)},stringify:t=>{let e=a.stringify(t);for(let t in l.colors)if(l.colors[t]===e)return t}},h={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=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let r=t.match(h.re);if(!r)return;let[,n,a,s,l,c,u,d,f]=r;return i.Z.set({r:o.Z.channel.clamp.r(a?2.55*parseFloat(n):parseFloat(n)),g:o.Z.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:o.Z.channel.clamp.b(u?2.55*parseFloat(c):parseFloat(c)),a:d?o.Z.channel.clamp.a(f?parseFloat(d)/100:parseFloat(d)):1},t)},stringify:t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`rgba(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}, ${o.Z.lang.round(i)}, ${o.Z.lang.round(n)})`:`rgb(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}, ${o.Z.lang.round(i)})`}},c={format:{keyword:l,hex:a,rgb:h,rgba:h,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=a.parse(t)||h.parse(t)||s.parse(t)||l.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(n.w.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?a.stringify(t):h.stringify(t)}},75036:function(t,e,r){"use strict";r.d(e,{Q:function(){return n},w:function(){return a}});var i=r(53763);let n={};for(let t=0;t<=255;t++)n[t]=i.Z.unit.dec2hex(t);let a={ALL:0,RGB:1,HSL:2}},46859:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(53763),n=r(26652);let a=(t,e,r)=>{let a=n.Z.parse(t),o=a[e],s=i.Z.channel.clamp[e](o+r);return o!==s&&(a[e]=s),n.Z.stringify(a)}},17826:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(53763),n=r(26652);let a=(t,e)=>{let r=n.Z.parse(t);for(let t in e)r[t]=i.Z.channel.clamp[t](e[t]);return n.Z.stringify(r)}},35035:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(46859);let n=(t,e)=>(0,i.Z)(t,"l",-e)},77845:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("53763"),n=r("26652");let a=t=>{let{r:e,g:r,b:a}=n.Z.parse(t),o=.2126*i.Z.channel.toLinear(e)+.7152*i.Z.channel.toLinear(r)+.0722*i.Z.channel.toLinear(a);return i.Z.lang.round(o)},o=t=>a(t)>=.5,s=t=>!o(t)},86750:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(46859);let n=(t,e)=>(0,i.Z)(t,"l",e)},13328:function(t,e,r){"use strict";r.d(e,{Z:function(){return s}});var i=r(53763),n=r(90930),a=r(26652),o=r(17826);let s=(t,e,r=0,s=1)=>{if("number"!=typeof t)return(0,o.Z)(t,{a:e});let l=n.Z.set({r:i.Z.channel.clamp.r(t),g:i.Z.channel.clamp.g(e),b:i.Z.channel.clamp.b(r),a:i.Z.channel.clamp.a(s)});return a.Z.stringify(l)}},53763:function(t,e,r){"use strict";r.d(e,{Z:()=>n});let i={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=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t,hsl2rgb:({h:t,s:e,l:r},n)=>{if(!e)return 2.55*r;t/=360,e/=100;let a=(r/=100)<.5?r*(1+e):r+e-r*e,o=2*r-a;switch(n){case"r":return 255*i.hue2rgb(o,a,t+1/3);case"g":return 255*i.hue2rgb(o,a,t);case"b":return 255*i.hue2rgb(o,a,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},i)=>{let n=Math.max(t/=255,e/=255,r/=255),a=Math.min(t,e,r),o=(n+a)/2;if("l"===i)return 100*o;if(n===a)return 0;let s=n-a;if("s"===i)return 100*(o>.5?s/(2-n-a):s/(n+a));switch(n){case t:return((e-r)/s+(ee>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},87390:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("38487");let n=function(t,e){for(var r=t.length;r--;)if((0,i.Z)(t[r][0],e))return r;return -1};var a=Array.prototype.splice;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1},o.prototype.set=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};let s=o},2321:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(16161),n=r(52434);let a=(0,i.Z)(n.Z,"Map")},79401:function(t,e,r){"use strict";r.d(e,{Z:()=>d});var i=(0,r("16161").Z)(Object,"create"),n=Object.prototype.hasOwnProperty,a=Object.prototype.hasOwnProperty;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++es});var i=r("87390"),n=r("2321"),a=r("79401");function o(t){var e=this.__data__=new i.Z(t);this.size=e.size}o.prototype.clear=function(){this.__data__=new i.Z,this.size=0},o.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},o.prototype.get=function(t){return this.__data__.get(t)},o.prototype.has=function(t){return this.__data__.has(t)},o.prototype.set=function(t,e){var r=this.__data__;if(r instanceof i.Z){var o=r.__data__;if(!n.Z||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new a.Z(o)}return r.set(t,e),this.size=r.size,this};let s=o},3958:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=r(52434).Z.Symbol},8530:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=r(52434).Z.Uint8Array},12895:function(t,e,r){"use strict";r.d(e,{Z:()=>c});let i=function(t,e){for(var r=-1,i=Array(t);++rn});let n=function(t,e,r){for(var i=-1,n=Object(t),a=r(t),o=a.length;o--;){var s=a[++i];if(!1===e(n[s],s,n))break}return t}},65182:function(t,e,r){"use strict";r.d(e,{Z:()=>u});var i=r("3958"),n=Object.prototype,a=n.hasOwnProperty,o=n.toString,s=i.Z?i.Z.toStringTag:void 0;let l=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var i=!0}catch(t){}var n=o.call(t);return i&&(e?t[s]=r:delete t[s]),n};var h=Object.prototype.toString,c=i.Z?i.Z.toStringTag:void 0;let u=function(t){var e;if(null==t)return void 0===t?"[object Undefined]":"[object Null]";return c&&c in Object(t)?l(t):(e=t,h.call(e))}},22769:function(t,e,r){"use strict";r.d(e,{Z:()=>o});var i=r("84342"),n=(0,r("14965").Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty;let o=function(t){if(!(0,i.Z)(t))return n(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},53148:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var i=r(94675),n=r(89647),a=r(89186);let o=function(t,e){return(0,a.Z)((0,n.Z)(t,e,i.Z),t+"")}},44026:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return function(e){return t(e)}}},21914:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(8530);let n=function(t){var e=new t.constructor(t.byteLength);return new i.Z(e).set(new i.Z(t)),e}},49307:function(t,e,r){"use strict";r.d(e,{Z:function(){return l}});var i=r(52434),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===n?i.Z.Buffer:void 0,s=o?o.allocUnsafe:void 0;let l=function(t,e){if(e)return t.slice();var r=t.length,i=s?s(r):new t.constructor(r);return t.copy(i),i}},32025:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(21914);let n=function(t,e){var r=e?(0,i.Z)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},76177:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t,e){var r=-1,i=t.length;for(e||(e=Array(i));++r1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,s&&(0,n.Z)(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),e=Object(e);++ig});var i,n=r("18782"),a=r("52434").Z["__core-js_shared__"];var o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",s=r("58641"),l=r("71842"),h=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let p=function(t){var e;return!!(0,s.Z)(t)&&(e=t,!o||!(o in e))&&((0,n.Z)(t)?f:h).test((0,l.Z)(t))},g=function(t,e){var r,i,n=(r=t,i=e,null==r?void 0:r[i]);return p(n)?n:void 0}},53754:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=(0,r(14965).Z)(Object.getPrototypeOf,Object)},23302:function(t,e,r){"use strict";r.d(e,{Z:()=>_});var i=r("16161"),n=r("52434"),a=(0,i.Z)(n.Z,"DataView"),o=r("2321"),s=(0,i.Z)(n.Z,"Promise"),l=r("88521"),h=(0,i.Z)(n.Z,"WeakMap"),c=r("65182"),u=r("71842"),d="[object Map]",f="[object Promise]",p="[object Set]",g="[object WeakMap]",y="[object DataView]",m=(0,u.Z)(a),x=(0,u.Z)(o.Z),b=(0,u.Z)(s),k=(0,u.Z)(l.Z),C=(0,u.Z)(h),w=c.Z;(a&&w(new a(new ArrayBuffer(1)))!=y||o.Z&&w(new o.Z)!=d||s&&w(s.resolve())!=f||l.Z&&w(new l.Z)!=p||h&&w(new h)!=g)&&(w=function(t){var e=(0,c.Z)(t),r="[object Object]"==e?t.constructor:void 0,i=r?(0,u.Z)(r):"";if(i)switch(i){case m:return y;case x:return d;case b:return f;case k:return p;case C:return g}return e});let _=w},62799:function(t,e,r){"use strict";r.d(e,{Z:()=>l});var i=r("58641"),n=Object.create,a=function(){function t(){}return function(e){if(!(0,i.Z)(e))return{};if(n)return n(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),o=r("53754"),s=r("84342");let l=function(t){return"function"!=typeof t.constructor||(0,s.Z)(t)?{}:a((0,o.Z)(t))}},92383:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=/^(?:0|[1-9]\d*)$/;let n=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&i.test(t))&&t>-1&&t%1==0&&ta});let i=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var n=Math.max;let a=function(t,e,r){return e=n(void 0===e?t.length-1:e,0),function(){for(var a=arguments,o=-1,s=n(a.length-e,0),l=Array(s);++ou});var i,n,a,o=r("96498"),s=r("33722"),l=r("94675"),h=s.Z?function(t,e){return(0,s.Z)(t,"toString",{configurable:!0,enumerable:!1,value:(0,o.Z)(e),writable:!0})}:l.Z,c=Date.now;let u=(i=h,n=0,a=0,function(){var t=c(),e=16-(t-a);if(a=t,e>0){if(++n>=800)return arguments[0]}else n=0;return i.apply(void 0,arguments)})},71842:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=Function.prototype.toString;let n=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},96498:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return function(){return t}}},38487:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t,e){return t===e||t!=t&&e!=e}},94675:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return t}},45988:function(t,e,r){"use strict";r.d(e,{Z:()=>h});var i=r("65182"),n=r("75887");let a=function(t){return(0,n.Z)(t)&&"[object Arguments]"==(0,i.Z)(t)};var o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable;let h=a(function(){return arguments}())?a:function(t){return(0,n.Z)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},31739:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=Array.isArray},71581:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(18782),n=r(49666);let a=function(t){return null!=t&&(0,n.Z)(t.length)&&!(0,i.Z)(t)}},61322:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(71581),n=r(75887);let a=function(t){return(0,n.Z)(t)&&(0,i.Z)(t)}},25162:function(t,e,r){"use strict";r.d(e,{Z:()=>l});var i=r("52434"),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===n?i.Z.Buffer:void 0,s=o?o.isBuffer:void 0;let l=s||function(){return!1}},73217:function(t,e,r){"use strict";r.d(e,{Z:function(){return d}});var i=r(22769),n=r(23302),a=r(45988),o=r(31739),s=r(71581),l=r(25162),h=r(84342),c=r(48366),u=Object.prototype.hasOwnProperty;let d=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,o.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.Z)(t)||(0,c.Z)(t)||(0,a.Z)(t)))return!t.length;var e=(0,n.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.Z)(t))return!(0,i.Z)(t).length;for(var r in t)if(u.call(t,r))return!1;return!0}},18782:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(65182),n=r(58641);let a=function(t){if(!(0,n.Z)(t))return!1;var e=(0,i.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},49666:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},58641:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},75887:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return null!=t&&"object"==typeof t}},48366:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("65182"),n=r("49666"),a=r("75887"),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=r("44026"),l=r("74413"),h=l.Z&&l.Z.isTypedArray;let c=h?(0,s.Z)(h):function(t){return(0,a.Z)(t)&&(0,n.Z)(t.length)&&!!o[(0,i.Z)(t)]}},40038:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("12895"),n=r("58641"),a=r("84342");let o=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;let l=function(t){if(!(0,n.Z)(t))return o(t);var e=(0,a.Z)(t),r=[];for(var i in t)!("constructor"==i&&(e||!s.call(t,i)))&&r.push(i);return r};var h=r("71581");let c=function(t){return(0,h.Z)(t)?(0,i.Z)(t,!0):l(t)}},65269:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(79401);function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],a=r.cache;if(a.has(n))return a.get(n);var o=t.apply(this,i);return r.cache=a.set(n,o)||a,o};return r.cache=new(n.Cache||i.Z),r}n.Cache=i.Z;let a=n},41777:function(t,e,r){"use strict";r.d(e,{Z:()=>$});var i=r("11395"),n=r("49790"),a=r("38487");let o=function(t,e,r){(void 0!==r&&!(0,a.Z)(t[e],r)||void 0===r&&!(e in t))&&(0,n.Z)(t,e,r)};var s=r("45467"),l=r("49307"),h=r("32025"),c=r("76177"),u=r("62799"),d=r("45988"),f=r("31739"),p=r("61322"),g=r("25162"),y=r("18782"),m=r("58641"),x=r("65182"),b=r("53754"),k=r("75887"),C=Object.prototype,w=Function.prototype.toString,_=C.hasOwnProperty,v=w.call(Object);let T=function(t){if(!(0,k.Z)(t)||"[object Object]"!=(0,x.Z)(t))return!1;var e=(0,b.Z)(t);if(null===e)return!0;var r=_.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&w.call(r)==v};var S=r("48366");let M=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var B=r("29919"),L=r("40038");let A=function(t,e,r,i,n,a,s){var x=M(t,r),b=M(e,r),k=s.get(b);if(k){o(t,r,k);return}var C=a?a(x,b,r+"",t,e,s):void 0,w=void 0===C;if(w){var _,v=(0,f.Z)(b),A=!v&&(0,g.Z)(b),F=!v&&!A&&(0,S.Z)(b);if(C=b,v||A||F)(0,f.Z)(x)?C=x:(0,p.Z)(x)?C=(0,c.Z)(x):A?(w=!1,C=(0,l.Z)(b,!0)):F?(w=!1,C=(0,h.Z)(b,!0)):C=[];else if(T(b)||(0,d.Z)(b)){if(C=x,(0,d.Z)(x)){;_=x,C=(0,B.Z)(_,(0,L.Z)(_))}else(!(0,m.Z)(x)||(0,y.Z)(x))&&(C=(0,u.Z)(b))}else w=!1}w&&(s.set(b,C),n(C,b,i,a,s),s.delete(b)),o(t,r,C)},F=function t(e,r,n,a,l){if(e!==r)(0,s.Z)(r,function(s,h){if(l||(l=new i.Z),(0,m.Z)(s))A(e,r,h,n,t,a,l);else{var c=a?a(M(e,h),s,h+"",e,r,l):void 0;void 0===c&&(c=s),o(e,h,c)}},L.Z)},$=(0,r("92807").Z)(function(t,e,r){F(t,e,r)})},16302:function(t,e,r){"use strict";r.d(e,{s4:()=>S,ef:()=>v,cN:()=>C});var i=r("5995");let n=/^[a-z0-9]+(-[a-z0-9]+)*$/,a=(t,e,r,i="")=>{let n=t.split(":");if("@"===t.slice(0,1)){if(n.length<2||n.length>3)return null;i=n.shift().slice(1)}if(n.length>3||!n.length)return null;if(n.length>1){let t=n.pop(),r=n.pop(),a={provider:n.length>0?n[0]:i,prefix:r,name:t};return e&&!o(a)?null:a}let a=n[0],s=a.split("-");if(s.length>1){let t={provider:i,prefix:s.shift(),name:s.join("-")};return e&&!o(t)?null:t}if(r&&""===i){let t={provider:i,prefix:"",name:a};return e&&!o(t,r)?null:t}return null},o=(t,e)=>!!t&&!!((""===t.provider||t.provider.match(n))&&(e&&""===t.prefix||t.prefix.match(n))&&t.name.match(n)),s=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),h=Object.freeze({...s,...l}),c=Object.freeze({...h,body:"",hidden:!1});function u(t,e){let r=function(t,e){let r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);let i=((t.rotate||0)+(e.rotate||0))%4;return i&&(r.rotate=i),r}(t,e);for(let i in c)i in l?i in t&&!(i in r)&&(r[i]=l[i]):i in e?r[i]=e[i]:i in t&&(r[i]=t[i]);return r}function d(t,e,r){let i=t.icons,n=t.aliases||Object.create(null),a={};function o(t){a=u(i[t]||n[t],a)}return o(e),r.forEach(o),u(t,a)}let f=Object.freeze({...Object.freeze({width:null,height:null}),...l}),p=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function y(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;let i=t.split(p);if(null===i||!i.length)return t;let n=[],a=i.shift(),o=g.test(a);for(;;){if(o){let t=parseFloat(a);isNaN(t)?n.push(a):n.push(Math.ceil(t*e*r)/r)}else n.push(a);if(void 0===(a=i.shift()))return n.join("");o=!o}}let m=t=>"unset"===t||"undefined"===t||"none"===t,x=/\sid="(\S+)"/g,b="IconifyId"+Date.now().toString(16)+(0x1000000*Math.random()|0).toString(16),k=0;var C={body:'?',height:80,width:80},w=new Map,_=new Map,v=(0,i.eW)(t=>{for(let e of t){if(!e.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(i.cM.debug("Registering icon pack:",e.name),"loader"in e)_.set(e.name,e.loader);else if("icons"in e)w.set(e.name,e.icons);else throw i.cM.error("Invalid icon loader:",e),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),T=(0,i.eW)(async(t,e)=>{let r=a(t,!0,void 0!==e);if(!r)throw Error(`Invalid icon name: ${t}`);let n=r.prefix||e;if(!n)throw Error(`Icon name must contain a prefix: ${t}`);let o=w.get(n);if(!o){let t=_.get(n);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{o={...await t(),prefix:n},w.set(n,o)}catch(t){throw i.cM.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let s=function(t,e){if(t.icons[e])return d(t,e,[]);let r=function(t,e){let r=t.icons,i=t.aliases||Object.create(null),n=Object.create(null);return(e||Object.keys(r).concat(Object.keys(i))).forEach(function t(e){if(r[e])return n[e]=[];if(!(e in n)){n[e]=null;let r=i[e]&&i[e].parent,a=r&&t(r);a&&(n[e]=[r].concat(a))}return n[e]}),n}(t,[e])[e];return r?d(t,e,r):null}(o,r.name);if(!s)throw Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),S=(0,i.eW)(async(t,e)=>{let r;try{r=await T(t,e?.fallbackPrefix)}catch(t){i.cM.error(t),r=C}let n=function(t,e){let r,i;let n={...h,...t},a={...f,...e},o={left:n.left,top:n.top,width:n.width,height:n.height},s=n.body;[n,a].forEach(t=>{let e;let r=[],i=t.hFlip,n=t.vFlip,a=t.rotate;switch(i?n?a+=2:(r.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),r.push("scale(-1 1)"),o.top=o.left=0):n&&(r.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),r.push("scale(1 -1)"),o.top=o.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4){case 1:e=o.height/2+o.top,r.unshift("rotate(90 "+e.toString()+" "+e.toString()+")");break;case 2:r.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:e=o.width/2+o.left,r.unshift("rotate(-90 "+e.toString()+" "+e.toString()+")")}a%2==1&&(o.left!==o.top&&(e=o.left,o.left=o.top,o.top=e),o.width!==o.height&&(e=o.width,o.width=o.height,o.height=e)),r.length&&(s=function(t,e,r){var i,n;let a=function(t,e="defs"){let r="",i=t.indexOf("<"+e);for(;i>=0;){let n=t.indexOf(">",i),a=t.indexOf("",a);if(-1===o)break;r+=t.slice(n+1,a).trim(),t=t.slice(0,i).trim()+t.slice(o+1)}return{defs:r,content:t}}(t);return i=a.defs,n=e+a.content+r,i?""+i+""+n:n}(s,'',""))});let l=a.width,c=a.height,u=o.width,d=o.height;null===l?r=y(i=null===c?"1em":"auto"===c?d:c,u/d):(r="auto"===l?u:l,i=null===c?y(r,d/u):"auto"===c?d:c);let p={},g=(t,e)=>{!m(e)&&(p[t]=e.toString())};g("width",r),g("height",i);let x=[o.left,o.top,u,d];return p.viewBox=x.join(" "),{attributes:p,viewBox:x,body:s}}(r,e);return function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in e)r+=" "+t+'="'+e[t]+'"';return'"+t+""}(function(t,e=b){let r;let i=[];for(;r=x.exec(t);)i.push(r[1]);if(!i.length)return t;let n="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return i.forEach(r=>{let i="function"==typeof e?e(r):e+(k++).toString(),a=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+n+"$3")}),t=t.replace(RegExp(n,"g"),"")}(n.body),n.attributes)},"getIconSVG")},94159:function(t,e,r){"use strict";r.d(e,{P:function(){return a}});var i=r(5995),n=r(27818),a=(0,i.eW)(t=>{let{securityLevel:e}=(0,i.nV)(),r=(0,n.Ys)("body");if("sandbox"===e){let e=(0,n.Ys)(`#i${t}`),i=e.node()?.contentDocument??document;r=(0,n.Ys)(i.body)}return r.select(`#${t}`)},"selectSvgElement")},28162:function(t,e,r){"use strict";r.d(e,{C1:function(){return c},Lf:function(){return el},XO:function(){return k},Yn:function(){return eh},ZH:function(){return D},aH:function(){return eu},dW:function(){return eo},gU:function(){return ec},jr:function(){return d},us:function(){return E}});var i=r(16302),n=r(4511),a=r(92719),o=r(7690),s=r(5995),l=r(27818),h=r(74247),c=(0,s.eW)(async(t,e,r)=>{let i,n;let h=e.useHtmlLabels||(0,s.ku)(s.nV()?.htmlLabels);i=r?r:"node default";let c=t.insert("g").attr("class",i).attr("id",e.domId||e.id),u=c.insert("g").attr("class","label").attr("style",(0,o.R7)(e.labelStyle));n=void 0===e.label?"":"string"==typeof e.label?e.label:e.label[0];let d=await (0,a.rw)(u,(0,s.oO)((0,o.SH)(n),(0,s.nV)()),{useHtmlLabels:h,width:e.width||s.nV().flowchart?.wrappingWidth,cssClasses:"markdown-node-label",style:e.labelStyle,addSvgBackground:!!e.icon||!!e.img}),f=d.getBBox(),p=(e?.padding??0)/2;if(h){let t=d.children[0],e=(0,l.Ys)(d),r=t.getElementsByTagName("img");if(r){let t=""===n.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=(0,s.nV)().fontSize?(0,s.nV)().fontSize:window.getComputedStyle(document.body).fontSize,[r=s.vZ.fontSize]=(0,o.VG)(t),i=5*r+"px";e.style.minWidth=i,e.style.maxWidth=i}else e.style.width="100%";r(e)}(0,s.eW)(i,"setupImage"),setTimeout(()=>{e.complete&&i()}),e.addEventListener("error",i),e.addEventListener("load",i)})))}f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}return h?u.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):u.attr("transform","translate(0, "+-f.height/2+")"),e.centerLabel&&u.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),u.insert("rect",":first-child"),{shapeSvg:c,bbox:f,halfPadding:p,label:u}},"labelHelper"),u=(0,s.eW)(async(t,e,r)=>{let i=r.useHtmlLabels||(0,s.ku)(s.nV()?.flowchart?.htmlLabels),n=t.insert("g").attr("class","label").attr("style",r.labelStyle||""),h=await (0,a.rw)(n,(0,s.oO)((0,o.SH)(e),(0,s.nV)()),{useHtmlLabels:i,width:r.width||s.nV()?.flowchart?.wrappingWidth,style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img}),c=h.getBBox(),u=r.padding/2;if((0,s.ku)(s.nV()?.flowchart?.htmlLabels)){let t=h.children[0],e=(0,l.Ys)(h);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}return i?n.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"):n.attr("transform","translate(0, "+-c.height/2+")"),r.centerLabel&&n.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:t,bbox:c,halfPadding:u,label:n}},"insertLabel"),d=(0,s.eW)((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds"),f=(0,s.eW)((t,e)=>("handDrawn"===t.look?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");function p(t){let e=t.map((t,e)=>`${0===e?"M":"L"}${t.x},${t.y}`);return e.push("Z"),e.join(" ")}function g(t,e,r,i,n,a){let o=[],s=r-t,l=2*Math.PI/(s/a),h=e+(i-e)/2;for(let e=0;e<=50;e++){let r=t+e/50*s,i=h+n*Math.sin(l*(r-t));o.push({x:r,y:i})}return o}function y(t,e,r,i,n,a){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;n{var r,i,n=t.x,a=t.y,o=e.x-n,s=e.y-a,l=t.width/2,h=t.height/2;return Math.abs(s)*l>Math.abs(o)*h?(s<0&&(h=-h),r=0===s?0:h*o/s,i=h):(o<0&&(l=-l),r=l,i=0===o?0:l*s/o),{x:n+r,y:a+i}},"intersectRect");function x(t,e){e&&t.attr("style",e)}async function b(t){let e=(0,l.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),i=t.label;t.label&&(0,s.l0)(t.label)&&(i=await (0,s.uT)(t.label.replace(s.SY.lineBreakRegex,"\n"),(0,s.nV)()));let n=t.isNode?"nodeLabel":"edgeLabel";return r.html('"+i+""),x(r,t.labelStyle),r.style("display","inline-block"),r.style("padding-right","1px"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}(0,s.eW)(x,"applyStyle"),(0,s.eW)(b,"addHtmlLabel");var k=(0,s.eW)(async(t,e,r,i)=>{let n=t||"";if("object"==typeof n&&(n=n[0]),(0,s.ku)((0,s.nV)().flowchart.htmlLabels)){n=n.replace(/\\n|\n/g,"
    "),s.cM.info("vertexText"+n);let t={isNode:i,label:(0,o.SH)(n).replace(/fa[blrs]?:fa-[\w-]+/g,t=>``),labelStyle:e?e.replace("fill:","color:"):e};return await b(t)}{let t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let i=[];for(let e of i="string"==typeof n?n.split(/\\n|\n|/gi):Array.isArray(n)?n:[]){let 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"),r?i.setAttribute("class","title-row"):i.setAttribute("class","row"),i.textContent=e.trim(),t.appendChild(i)}return t}},"createLabel"),C=(0,s.eW)((t,e,r,i,n)=>["M",t+n,e,"H",t+r-n,"A",n,n,0,0,1,t+r,e+n,"V",e+i-n,"A",n,n,0,0,1,t+r-n,e+i,"H",t+n,"A",n,n,0,0,1,t,e+i-n,"V",e+n,"A",n,n,0,0,1,t+n,e,"Z"].join(" "),"createRoundedRectPathD"),w=(0,s.eW)(t=>{let{handDrawnSeed:e}=(0,s.nV)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),_=(0,s.eW)(t=>{let e=v([...t.cssCompiledStyles||[],...t.cssStyles||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),v=(0,s.eW)(t=>{let e=new Map;return t.forEach(t=>{let[r,i]=t.split(":");e.set(r.trim(),i?.trim())}),e},"styles2Map"),T=(0,s.eW)(t=>{let{stylesArray:e}=_(t),r=[],i=[],n=[],a=[];return e.forEach(t=>{let e=t[0];"color"===e||"font-size"===e||"font-family"===e||"font-weight"===e||"font-style"===e||"text-decoration"===e||"text-align"===e||"text-transform"===e||"line-height"===e||"letter-spacing"===e||"word-spacing"===e||"text-shadow"===e||"text-overflow"===e||"white-space"===e||"word-wrap"===e||"word-break"===e||"overflow-wrap"===e||"hyphens"===e?r.push(t.join(":")+" !important"):(i.push(t.join(":")+" !important"),e.includes("stroke")&&n.push(t.join(":")+" !important"),"fill"===e&&a.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:i.join(";"),stylesArray:e,borderStyles:n,backgroundStyles:a}},"styles2String"),S=(0,s.eW)((t,e)=>{let{themeVariables:r,handDrawnSeed:i}=(0,s.nV)(),{nodeBorder:n,mainBkg:a}=r,{stylesMap:o}=_(t);return Object.assign({roughness:.7,fill:o.get("fill")||a,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:o.get("stroke")||n,seed:i,strokeWidth:o.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0]},e)},"userNodeOverrides"),M=(0,s.eW)(async(t,e)=>{let r;s.cM.info("Creating subgraph rect for ",e.id,e);let i=(0,s.nV)(),{themeVariables:o,handDrawnSeed:c}=i,{clusterBkg:u,clusterBorder:d}=o,{labelStyles:f,nodeStyles:p,borderStyles:g,backgroundStyles:y}=T(e),x=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),b=(0,s.ku)(i.flowchart.htmlLabels),k=x.insert("g").attr("class","cluster-label "),w=await (0,a.rw)(k,e.label,{style:e.labelStyle,useHtmlLabels:b,isNode:!0}),_=w.getBBox();if((0,s.ku)(i.flowchart.htmlLabels)){let t=w.children[0],e=(0,l.Ys)(w);_=t.getBoundingClientRect(),e.attr("width",_.width),e.attr("height",_.height)}let v=e.width<=_.width+e.padding?_.width+e.padding:e.width;e.width<=_.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let M=e.height,B=e.x-v/2,L=e.y-M/2;if(s.cM.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.Z.svg(x),i=S(e,{roughness:.7,fill:u,stroke:d,fillWeight:3,seed:c}),n=t.path(C(B,L,v,M,0),i);(r=x.insert(()=>(s.cM.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",g.join(";")),r.select("path").attr("style",y.join(";").replace("fill","stroke"))}else(r=x.insert("rect",":first-child")).attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",B).attr("y",L).attr("width",v).attr("height",M);let{subGraphTitleTopMargin:A}=(0,n.L)(i);if(k.attr("transform",`translate(${e.x-_.width/2}, ${e.y-e.height/2+A})`),f){let t=k.select("span");t&&t.attr("style",f)}let F=r.node().getBBox();return e.offsetX=0,e.width=F.width,e.height=F.height,e.offsetY=_.height-e.padding/2,e.intersect=function(t){return m(e,t)},{cluster:x,labelBBox:_}},"rect"),B=(0,s.eW)((t,e)=>{let r=t.insert("g").attr("class","note-cluster").attr("id",e.id),i=r.insert("rect",":first-child"),n=0*e.padding,a=n/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+n).attr("height",e.height+n).attr("fill","none");let o=i.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return m(e,t)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),L=(0,s.eW)(async(t,e)=>{let r;let i=(0,s.nV)(),{themeVariables:n,handDrawnSeed:a}=i,{altBackground:o,compositeBackground:c,compositeTitleBackground:u,nodeBorder:d}=n,f=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-id",e.id).attr("data-look",e.look),p=f.insert("g",":first-child"),g=f.insert("g").attr("class","cluster-label"),y=f.append("rect"),x=g.node().appendChild(await k(e.label,e.labelStyle,void 0,!0)),b=x.getBBox();if((0,s.ku)(i.flowchart.htmlLabels)){let t=x.children[0],e=(0,l.Ys)(x);b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}let w=0*e.padding,_=(e.width<=b.width+e.padding?b.width+e.padding:e.width)+w;e.width<=b.width+e.padding?e.diff=(_-e.width)/2-e.padding:e.diff=-e.padding;let v=e.height+w,T=e.height+w-b.height-6,S=e.x-_/2,M=e.y-v/2;e.width=_;let B=e.y-e.height/2-w/2+b.height+2;if("handDrawn"===e.look){let t=e.cssClasses.includes("statediagram-cluster-alt"),i=h.Z.svg(f),n=e.rx||e.ry?i.path(C(S,M,_,v,10),{roughness:.7,fill:u,fillStyle:"solid",stroke:d,seed:a}):i.rectangle(S,M,_,v,{seed:a});r=f.insert(()=>n,":first-child");let s=i.rectangle(S,B,_,T,{fill:t?o:c,fillStyle:t?"hachure":"solid",stroke:d,seed:a});r=f.insert(()=>n,":first-child"),y=f.insert(()=>s)}else{r=p.insert("rect",":first-child");r.attr("class","outer").attr("x",S).attr("y",M).attr("width",_).attr("height",v).attr("data-look",e.look),y.attr("class","inner").attr("x",S).attr("y",B).attr("width",_).attr("height",T)}g.attr("transform",`translate(${e.x-b.width/2}, ${M+1-((0,s.ku)(i.flowchart.htmlLabels)?0:3)})`);let L=r.node().getBBox();return e.height=L.height,e.offsetX=0,e.offsetY=b.height-e.padding/2,e.labelBBox=b,e.intersect=function(t){return m(e,t)},{cluster:f,labelBBox:b}},"roundedWithTitle"),A=(0,s.eW)(async(t,e)=>{let r;s.cM.info("Creating subgraph rect for ",e.id,e);let i=(0,s.nV)(),{themeVariables:o,handDrawnSeed:c}=i,{clusterBkg:u,clusterBorder:d}=o,{labelStyles:f,nodeStyles:p,borderStyles:g,backgroundStyles:y}=T(e),x=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),b=(0,s.ku)(i.flowchart.htmlLabels),k=x.insert("g").attr("class","cluster-label "),w=await (0,a.rw)(k,e.label,{style:e.labelStyle,useHtmlLabels:b,isNode:!0,width:e.width}),_=w.getBBox();if((0,s.ku)(i.flowchart.htmlLabels)){let t=w.children[0],e=(0,l.Ys)(w);_=t.getBoundingClientRect(),e.attr("width",_.width),e.attr("height",_.height)}let v=e.width<=_.width+e.padding?_.width+e.padding:e.width;e.width<=_.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let M=e.height,B=e.x-v/2,L=e.y-M/2;if(s.cM.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.Z.svg(x),i=S(e,{roughness:.7,fill:u,stroke:d,fillWeight:4,seed:c}),n=t.path(C(B,L,v,M,e.rx),i);(r=x.insert(()=>(s.cM.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",g.join(";")),r.select("path").attr("style",y.join(";").replace("fill","stroke"))}else(r=x.insert("rect",":first-child")).attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",B).attr("y",L).attr("width",v).attr("height",M);let{subGraphTitleTopMargin:A}=(0,n.L)(i);if(k.attr("transform",`translate(${e.x-_.width/2}, ${e.y-e.height/2+A})`),f){let t=k.select("span");t&&t.attr("style",f)}let F=r.node().getBBox();return e.offsetX=0,e.width=F.width,e.height=F.height,e.offsetY=_.height-e.padding/2,e.intersect=function(t){return m(e,t)},{cluster:x,labelBBox:_}},"kanbanSection"),F=(0,s.eW)((t,e)=>{let r;let{themeVariables:i,handDrawnSeed:n}=(0,s.nV)(),{nodeBorder:a}=i,o=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-look",e.look),l=o.insert("g",":first-child"),c=0*e.padding,u=e.width+c;e.diff=-e.padding;let d=e.height+c,f=e.x-u/2,p=e.y-d/2;if(e.width=u,"handDrawn"===e.look){let t=h.Z.svg(o).rectangle(f,p,u,d,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:a,seed:n});r=o.insert(()=>t,":first-child")}else{r=l.insert("rect",":first-child");r.attr("class","divider").attr("x",f).attr("y",p).attr("width",u).attr("height",d).attr("data-look",e.look)}let g=r.node().getBBox();return e.height=g.height,e.offsetX=0,e.offsetY=0,e.intersect=function(t){return m(e,t)},{cluster:o,labelBBox:{}}},"divider"),$={rect:M,squareRect:M,roundedWithTitle:L,noteGroup:B,divider:F,kanbanSection:A},W=new Map,E=(0,s.eW)(async(t,e)=>{let r=e.shape||"rect",i=await $[r](t,e);return W.set(e.id,i),i},"insertCluster"),D=(0,s.eW)(()=>{W=new Map},"clear");function O(t,e){return t.intersect(e)}(0,s.eW)(O,"intersectNode");function Z(t,e,r,i){var n=t.x,a=t.y,o=n-i.x,s=a-i.y,l=Math.sqrt(e*e*s*s+r*r*o*o),h=Math.abs(e*r*o/l);i.x0}(0,s.eW)(I,"intersectLine"),(0,s.eW)(z,"sameSign");function j(t,e,r){let i=t.x,n=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));let l=i-t.width/2-o,h=n-t.height/2-s;for(let i=0;i1&&a.sort(function(t,e){let i=t.x-r.x,n=t.y-r.y,a=Math.sqrt(i*i+n*n),o=e.x-r.x,s=e.y-r.y,l=Math.sqrt(o*o+s*s);return ap,":first-child");return g.attr("class","anchor").attr("style",(0,o.R7)(l)),d(e,g),e.intersect=function(t){return s.cM.info("Circle intersect",e,1,t),R.circle(e,1,t)},a}function q(t,e,r,i,n,a,o){let s=Math.atan2(i-e,r-t),l=Math.sqrt(((r-t)/2/n)**2+((i-e)/2/a)**2);if(l>1)throw Error("The given radii are too small to create an arc between the points.");let h=Math.sqrt(1-l**2),c=(t+r)/2+h*a*Math.sin(s)*(o?-1:1),u=(e+i)/2-h*n*Math.cos(s)*(o?-1:1),d=Math.atan2((e-u)/a,(t-c)/n),f=Math.atan2((i-u)/a,(r-c)/n)-d;o&&f<0&&(f+=2*Math.PI),!o&&f>0&&(f-=2*Math.PI);let p=[];for(let t=0;t<20;t++){let e=d+t/19*f,r=c+n*Math.cos(e),i=u+a*Math.sin(e);p.push({x:r,y:i})}return p}async function H(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=a.width+e.padding+20,s=a.height+e.padding,l=s/2,u=l/(2.5+s/50),{cssStyles:g}=e,y=[{x:o/2,y:-s/2},{x:-o/2,y:-s/2},...q(-o/2,-s/2,-o/2,s/2,u,l,!1),{x:o/2,y:s/2},...q(o/2,s/2,o/2,-s/2,u,l,!0)],m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=p(y),k=m.path(b,x),C=n.insert(()=>k,":first-child");return C.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),C.attr("transform",`translate(${u/2}, 0)`),d(e,C),e.intersect=function(t){return R.polygon(e,y,t)},n}function U(t,e,r,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+","+r/2+")")}async function Y(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=o.height+e.padding,l=o.width+e.padding+12,u=-s,g=[{x:12,y:u},{x:l,y:u},{x:l,y:0},{x:0,y:0},{x:0,y:u+12},{x:12,y:u}],{cssStyles:y}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(g),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-l/2}, ${s/2})`),y&&r.attr("style",y)}else r=U(a,l,s,g);return n&&r.attr("style",n),d(e,r),e.intersect=function(t){return R.polygon(e,g,t)},a}function V(t,e){let{nodeStyles:r}=T(e);e.label="";let i=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:n}=e,a=Math.max(28,e.width??0),o=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],s=h.Z.svg(i),l=S(e,{});"handDrawn"!==e.look&&(l.roughness=0,l.fillStyle="solid");let c=p(o),u=s.path(c,l),d=i.insert(()=>u,":first-child");return n&&"handDrawn"!==e.look&&d.selectAll("path").attr("style",n),r&&"handDrawn"!==e.look&&d.selectAll("path").attr("style",r),e.width=28,e.height=28,e.intersect=function(t){return R.polygon(e,o,t)},i}async function G(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:l,halfPadding:u}=await c(t,e,f(e)),p=l.width/2+u,{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=t.circle(0,0,2*p,i);(r=a.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,o.R7)(g))}else r=a.insert("circle",":first-child").attr("class","basic label-container").attr("style",n).attr("r",p).attr("cx",0).attr("cy",0);return d(e,r),e.intersect=function(t){return s.cM.info("Circle intersect",e,p,t),R.circle(e,p,t)},a}function X(t){let e=Math.cos(Math.PI/4),r=Math.sin(Math.PI/4),i=2*t,n={x:i/2*e,y:i/2*r},a={x:-(i/2)*e,y:i/2*r},o={x:-(i/2)*e,y:-(i/2)*r},s={x:i/2*e,y:-(i/2)*r};return`M ${a.x},${a.y} L ${s.x},${s.y} + M ${n.x},${n.y} L ${o.x},${o.y}`}function Q(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r,e.label="";let n=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),a=Math.max(30,e?.width??0),{cssStyles:o}=e,l=h.Z.svg(n),c=S(e,{});"handDrawn"!==e.look&&(c.roughness=0,c.fillStyle="solid");let u=l.circle(0,0,2*a,c),p=X(a),g=l.path(p,c),y=n.insert(()=>u,":first-child");return y.insert(()=>g),o&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",o),i&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",i),d(e,y),e.intersect=function(t){return s.cM.info("crossedCircle intersect",e,{radius:a,point:t}),R.circle(e,a,t)},n}function K(t,e,r,i=100,n=0,a=180){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;n_,":first-child").attr("stroke-opacity",0),v.insert(()=>C,":first-child"),v.attr("class","text"),g&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(${u}, 0)`),o.attr("transform",`translate(${-s/2+u-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return R.polygon(e,m,t)},n}function tt(t,e,r,i=100,n=0,a=180){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;n_,":first-child").attr("stroke-opacity",0),v.insert(()=>C,":first-child"),v.attr("class","text"),g&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(${-u}, 0)`),o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return R.polygon(e,m,t)},n}function tr(t,e,r,i=100,n=0,a=180){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;nB,":first-child").attr("stroke-opacity",0),L.insert(()=>w,":first-child"),L.insert(()=>v,":first-child"),L.attr("class","text"),g&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",i),L.attr("transform",`translate(${u-u/4}, 0)`),o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,L),e.intersect=function(t){return R.polygon(e,x,t)},n}async function tn(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(80,(a.width+(e.padding??0)*2)*1.25,e?.width??0),s=Math.max(20,a.height+(e.padding??0)*2,e?.height??0),l=s/2,{cssStyles:u}=e,g=h.Z.svg(n),m=S(e,{});"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");let x=o-l,b=s/4,k=[{x:x,y:0},{x:b,y:0},{x:0,y:s/2},{x:b,y:s},{x:x,y:s},...y(-x,-s/2,l,50,270,90)],C=p(k),w=g.path(C,m),_=n.insert(()=>w,":first-child");return _.attr("class","basic label-container"),u&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",u),i&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",i),_.attr("transform",`translate(${-o/2}, ${-s/2})`),d(e,_),e.intersect=function(t){return R.polygon(e,k,t)},n}(0,s.eW)(P,"anchor"),(0,s.eW)(q,"generateArcPoints"),(0,s.eW)(H,"bowTieRect"),(0,s.eW)(U,"insertPolygonShape"),(0,s.eW)(Y,"card"),(0,s.eW)(V,"choice"),(0,s.eW)(G,"circle"),(0,s.eW)(X,"createLine"),(0,s.eW)(Q,"crossedCircle"),(0,s.eW)(K,"generateCirclePoints"),(0,s.eW)(J,"curlyBraceLeft"),(0,s.eW)(tt,"generateCirclePoints"),(0,s.eW)(te,"curlyBraceRight"),(0,s.eW)(tr,"generateCirclePoints"),(0,s.eW)(ti,"curlyBraces"),(0,s.eW)(tn,"curvedTrapezoid");var ta=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e+a} a${n},${a} 0,0,0 ${r},0 a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i}`,"createCylinderPathD"),to=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e+a} M${t+r},${e+a} a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i}`,"createOuterCylinderPathD"),ts=(0,s.eW)((t,e,r,i,n,a)=>`M${t-r/2},${-i/2} a${n},${a} 0,0,0 ${r},0`,"createInnerCylinderPathD");async function tl(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s,label:l}=await c(t,e,f(e)),u=Math.max(s.width+e.padding,e.width??0),p=u/2,g=p/(2.5+u/50),y=Math.max(s.height+g+e.padding,e.height??0),{cssStyles:m}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=to(0,0,u,y,p,g),n=ts(0,g,u,y,p,g),o=t.path(i,S(e,{})),s=t.path(n,S(e,{fill:"none"}));r=a.insert(()=>s,":first-child"),(r=a.insert(()=>o,":first-child")).attr("class","basic label-container"),m&&r.attr("style",m)}else{let t=ta(0,0,u,y,p,g);r=a.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.R7)(m)).attr("style",n)}return r.attr("label-offset-y",g),r.attr("transform",`translate(${-u/2}, ${-(y/2+g)})`),d(e,r),l.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${-(s.height/2)+(e.padding??0)/1.5-(s.y-(s.top??0))})`),e.intersect=function(t){let r=R.rect(e,t),i=r.x-(e.x??0);if(0!=p&&(Math.abs(i)<(e.width??0)/2||Math.abs(i)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-g)){let n=g*g*(1-i*i/(p*p));n>0&&(n=Math.sqrt(n)),n=g-n,t.y-(e.y??0)>0&&(n=-n),r.y+=n}return r},a}async function th(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=a.width+e.padding,l=a.height+e.padding,u=.2*l,p=-s/2,g=-l/2-u/2,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=m.polygon([{x:p,y:g+u},{x:-p,y:g+u},{x:-p,y:-g},{x:p,y:-g},{x:p,y:g},{x:-p,y:g},{x:-p,y:g+u}].map(t=>[t.x,t.y]),x),k=n.insert(()=>b,":first-child");return k.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",i),o.attr("transform",`translate(${p+(e.padding??0)/2-(a.x-(a.left??0))}, ${g+u+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,k),e.intersect=function(t){return R.rect(e,t)},n}async function tc(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:l,halfPadding:u}=await c(t,e,f(e)),p=l.width/2+u+5,g=l.width/2+u,{cssStyles:y}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{roughness:.2,strokeWidth:2.5}),n=S(e,{roughness:.2,strokeWidth:1.5}),s=t.circle(0,0,2*p,i),l=t.circle(0,0,2*g,n);(r=a.insert("g",":first-child")).attr("class",(0,o.R7)(e.cssClasses)).attr("style",(0,o.R7)(y)),r.node()?.appendChild(s),r.node()?.appendChild(l)}else{let t=(r=a.insert("g",":first-child")).insert("circle",":first-child"),e=r.insert("circle");r.attr("class","basic label-container").attr("style",n),t.attr("class","outer-circle").attr("style",n).attr("r",p).attr("cx",0).attr("cy",0),e.attr("class","inner-circle").attr("style",n).attr("r",g).attr("cx",0).attr("cy",0)}return d(e,r),e.intersect=function(t){return s.cM.info("DoubleCircle intersect",e,p,t),R.circle(e,p,t)},a}function tu(t,e,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:n}=T(e);e.label="",e.labelStyle=i;let a=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:o}=e,l=h.Z.svg(a),{nodeBorder:c}=r,u=S(e,{fillStyle:"solid"});"handDrawn"!==e.look&&(u.roughness=0);let p=l.circle(0,0,14,u),g=a.insert(()=>p,":first-child");return g.selectAll("path").attr("style",`fill: ${c} !important;`),o&&o.length>0&&"handDrawn"!==e.look&&g.selectAll("path").attr("style",o),n&&"handDrawn"!==e.look&&g.selectAll("path").attr("style",n),d(e,g),e.intersect=function(t){return s.cM.info("filledCircle intersect",e,{radius:7,point:t}),R.circle(e,7,t)},a}async function td(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),l=a.width+(e.padding??0),u=l+a.height,g=l+a.height,y=[{x:0,y:-u},{x:g,y:-u},{x:g/2,y:0}],{cssStyles:m}=e,x=h.Z.svg(n),b=S(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=p(y),C=x.path(k,b),w=n.insert(()=>C,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`);return m&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",m),i&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",i),e.width=l,e.height=u,d(e,w),o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-u/2+(e.padding??0)/2+(a.y-(a.top??0))})`),e.intersect=function(t){return s.cM.info("Triangle intersect",e,y,t),R.polygon(e,y,t)},n}function tf(t,e,{dir:r,config:{state:i,themeVariables:n}}){let{nodeStyles:a}=T(e);e.label="";let o=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:s}=e,l=Math.max(70,e?.width??0),c=Math.max(10,e?.height??0);"LR"===r&&(l=Math.max(10,e?.width??0),c=Math.max(70,e?.height??0));let u=-1*l/2,p=-1*c/2,g=h.Z.svg(o),y=S(e,{stroke:n.lineColor,fill:n.lineColor});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let m=g.rectangle(u,p,l,c,y),x=o.insert(()=>m,":first-child");s&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",s),a&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",a),d(e,x);let b=i?.padding??0;return e.width&&e.height&&(e.width+=b/2||0,e.height+=b/2||0),e.intersect=function(t){return R.rect(e,t)},o}async function tp(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(80,a.width+(e.padding??0)*2,e?.width??0),l=Math.max(50,a.height+(e.padding??0)*2,e?.height??0),u=l/2,{cssStyles:g}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:-o/2,y:-l/2},{x:o/2-u,y:-l/2},...y(-o/2+u,0,u,50,90,270),{x:o/2-u,y:l/2},{x:-o/2,y:l/2}],k=p(b),C=m.path(k,x),w=n.insert(()=>C,":first-child");return w.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",g),i&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",i),d(e,w),e.intersect=function(t){return s.cM.info("Pill intersect",e,{radius:u,point:t}),R.polygon(e,b,t)},n}(0,s.eW)(tl,"cylinder"),(0,s.eW)(th,"dividedRectangle"),(0,s.eW)(tc,"doublecircle"),(0,s.eW)(tu,"filledCircle"),(0,s.eW)(td,"flippedTriangle"),(0,s.eW)(tf,"forkJoin"),(0,s.eW)(tp,"halfRoundedRectangle");var tg=(0,s.eW)((t,e,r,i,n)=>`M${t+n},${e} L${t+r-n},${e} L${t+r},${e-i/2} L${t+r-n},${e-i} L${t+n},${e-i} L${t},${e-i/2} Z`,"createHexagonPathD");async function ty(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=o.height+e.padding,l=s/4,u=o.width+2*l+e.padding,p=[{x:l,y:0},{x:u-l,y:0},{x:u,y:-s/2},{x:u-l,y:-s},{x:l,y:-s},{x:0,y:-s/2}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=tg(0,0,u,s,l),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-u/2}, ${s/2})`),g&&r.attr("style",g)}else r=U(a,u,s,p);return n&&r.attr("style",n),e.width=u,e.height=s,d(e,r),e.intersect=function(t){return R.polygon(e,p,t)},a}async function tm(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.label="",e.labelStyle=r;let{shapeSvg:n}=await c(t,e,f(e)),a=Math.max(30,e?.width??0),o=Math.max(30,e?.height??0),{cssStyles:l}=e,u=h.Z.svg(n),g=S(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");let y=[{x:0,y:0},{x:a,y:0},{x:0,y:o},{x:a,y:o}],m=p(y),x=u.path(m,g),b=n.insert(()=>x,":first-child");return b.attr("class","basic label-container"),l&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",l),i&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",i),b.attr("transform",`translate(${-a/2}, ${-o/2})`),d(e,b),e.intersect=function(t){return s.cM.info("Pill intersect",e,{points:y}),R.polygon(e,y,t)},n}async function tx(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,label:g}=await c(t,e,"icon-shape default"),y="t"===e.pos,{nodeBorder:m}=r,{stylesMap:x}=_(e),b=-l/2,k=-l/2,C=e.label?8:0,w=h.Z.svg(f),v=S(e,{stroke:"none",fill:"none"});"handDrawn"!==e.look&&(v.roughness=0,v.fillStyle="solid");let M=w.rectangle(b,k,l,l,v),B=Math.max(l,p.width),L=l+p.height+C,A=w.rectangle(-B/2,-L/2,B,L,{...v,fill:"transparent",stroke:"none"}),F=f.insert(()=>M,":first-child"),$=f.insert(()=>A);if(e.icon){let t=f.append("g");t.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let r=t.node().getBBox(),n=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-n/2-o},${y?p.height/2+C/2-a/2-s:-p.height/2-C/2-a/2-s})`),t.attr("style",`color: ${x.get("stroke")??m};`)}return g.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${y?-L/2:L/2-p.height})`),F.attr("transform",`translate(0,${y?p.height/2+C/2:-p.height/2-C/2})`),d(e,$),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=y?[{x:r-p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2+p.height+C},{x:r+l/2,y:i-n/2+p.height+C},{x:r+l/2,y:i+n/2},{x:r-l/2,y:i+n/2},{x:r-l/2,y:i-n/2+p.height+C},{x:r-p.width/2,y:i-n/2+p.height+C}]:[{x:r-l/2,y:i-n/2},{x:r+l/2,y:i-n/2},{x:r+l/2,y:i-n/2+l},{x:r+p.width/2,y:i-n/2+l},{x:r+p.width/2/2,y:i+n/2},{x:r-p.width/2,y:i+n/2},{x:r-p.width/2,y:i-n/2+l},{x:r-l/2,y:i-n/2+l}],R.polygon(e,a,t)},f}async function tb(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,label:g}=await c(t,e,"icon-shape default"),y=e.label?8:0,m="t"===e.pos,{nodeBorder:x,mainBkg:b}=r,{stylesMap:k}=_(e),C=h.Z.svg(f),w=S(e,{});"handDrawn"!==e.look&&(w.roughness=0,w.fillStyle="solid");let v=k.get("fill");w.stroke=v??b;let M=f.append("g");e.icon&&M.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let B=M.node().getBBox(),L=B.width,A=B.height,F=B.x,$=B.y,W=Math.max(L,A)*Math.SQRT2+40,E=C.circle(0,0,W,w),D=Math.max(W,p.width),O=W+p.height+y,Z=C.rectangle(-D/2,-O/2,D,O,{...w,fill:"transparent",stroke:"none"}),N=f.insert(()=>E,":first-child"),I=f.insert(()=>Z);return M.attr("transform",`translate(${-L/2-F},${m?p.height/2+y/2-A/2-$:-p.height/2-y/2-A/2-$})`),M.attr("style",`color: ${k.get("stroke")??x};`),g.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-O/2:O/2-p.height})`),N.attr("transform",`translate(0,${m?p.height/2+y/2:-p.height/2-y/2})`),d(e,I),e.intersect=function(t){return s.cM.info("iconSquare intersect",e,t),R.rect(e,t)},f}async function tk(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,halfPadding:g,label:y}=await c(t,e,"icon-shape default"),m="t"===e.pos,x=l+2*g,b=l+2*g,{nodeBorder:k,mainBkg:w}=r,{stylesMap:v}=_(e),M=-b/2,B=e.label?8:0,L=h.Z.svg(f),A=S(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");let F=v.get("fill");A.stroke=F??w;let $=L.path(C(M,-x/2,b,x,5),A),W=Math.max(b,p.width),E=x+p.height+B,D=L.rectangle(-W/2,-E/2,W,E,{...A,fill:"transparent",stroke:"none"}),O=f.insert(()=>$,":first-child").attr("class","icon-shape2"),Z=f.insert(()=>D);if(e.icon){let t=f.append("g");t.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let r=t.node().getBBox(),n=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-n/2-o},${m?p.height/2+B/2-a/2-s:-p.height/2-B/2-a/2-s})`),t.attr("style",`color: ${v.get("stroke")??k};`)}return y.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-E/2:E/2-p.height})`),O.attr("transform",`translate(0,${m?p.height/2+B/2:-p.height/2-B/2})`),d(e,Z),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=m?[{x:r-p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2+p.height+B},{x:r+b/2,y:i-n/2+p.height+B},{x:r+b/2,y:i+n/2},{x:r-b/2,y:i+n/2},{x:r-b/2,y:i-n/2+p.height+B},{x:r-p.width/2,y:i-n/2+p.height+B}]:[{x:r-b/2,y:i-n/2},{x:r+b/2,y:i-n/2},{x:r+b/2,y:i-n/2+x},{x:r+p.width/2,y:i-n/2+x},{x:r+p.width/2/2,y:i+n/2},{x:r-p.width/2,y:i+n/2},{x:r-p.width/2,y:i-n/2+x},{x:r-b/2,y:i-n/2+x}],R.polygon(e,a,t)},f}async function tC(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,halfPadding:g,label:y}=await c(t,e,"icon-shape default"),m="t"===e.pos,x=l+2*g,b=l+2*g,{nodeBorder:k,mainBkg:w}=r,{stylesMap:v}=_(e),M=-b/2,B=e.label?8:0,L=h.Z.svg(f),A=S(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");let F=v.get("fill");A.stroke=F??w;let $=L.path(C(M,-x/2,b,x,.1),A),W=Math.max(b,p.width),E=x+p.height+B,D=L.rectangle(-W/2,-E/2,W,E,{...A,fill:"transparent",stroke:"none"}),O=f.insert(()=>$,":first-child"),Z=f.insert(()=>D);if(e.icon){let t=f.append("g");t.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let r=t.node().getBBox(),n=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-n/2-o},${m?p.height/2+B/2-a/2-s:-p.height/2-B/2-a/2-s})`),t.attr("style",`color: ${v.get("stroke")??k};`)}return y.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-E/2:E/2-p.height})`),O.attr("transform",`translate(0,${m?p.height/2+B/2:-p.height/2-B/2})`),d(e,Z),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=m?[{x:r-p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2+p.height+B},{x:r+b/2,y:i-n/2+p.height+B},{x:r+b/2,y:i+n/2},{x:r-b/2,y:i+n/2},{x:r-b/2,y:i-n/2+p.height+B},{x:r-p.width/2,y:i-n/2+p.height+B}]:[{x:r-b/2,y:i-n/2},{x:r+b/2,y:i-n/2},{x:r+b/2,y:i-n/2+x},{x:r+p.width/2,y:i-n/2+x},{x:r+p.width/2/2,y:i+n/2},{x:r-p.width/2,y:i+n/2},{x:r-p.width/2,y:i-n/2+x},{x:r-b/2,y:i-n/2+x}],R.polygon(e,a,t)},f}async function tw(t,e,{config:{flowchart:r}}){let i=new Image;i.src=e?.img??"",await i.decode();let n=Number(i.naturalWidth.toString().replace("px","")),a=Number(i.naturalHeight.toString().replace("px",""));e.imageAspectRatio=n/a;let{labelStyles:o}=T(e);e.labelStyle=o;let l=r?.wrappingWidth;e.defaultWidth=r?.wrappingWidth;let u=Math.max(e.label?l??0:0,e?.assetWidth??n),f="on"===e.constraint&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:u,p="on"===e.constraint?f/e.imageAspectRatio:e?.assetHeight??a;e.width=Math.max(f,l??0);let{shapeSvg:g,bbox:y,label:m}=await c(t,e,"image-shape default"),x="t"===e.pos,b=-f/2,k=e.label?8:0,C=h.Z.svg(g),w=S(e,{});"handDrawn"!==e.look&&(w.roughness=0,w.fillStyle="solid");let _=C.rectangle(b,-p/2,f,p,w),v=Math.max(f,y.width),M=p+y.height+k,B=C.rectangle(-v/2,-M/2,v,M,{...w,fill:"none",stroke:"none"}),L=g.insert(()=>_,":first-child"),A=g.insert(()=>B);if(e.img){let t=g.append("image");t.attr("href",e.img),t.attr("width",f),t.attr("height",p),t.attr("preserveAspectRatio","none"),t.attr("transform",`translate(${-f/2},${x?M/2-p:-M/2})`)}return m.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))},${x?-p/2-y.height/2-k/2:p/2-y.height/2+k/2})`),L.attr("transform",`translate(0,${x?y.height/2+k/2:-y.height/2-k/2})`),d(e,A),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=x?[{x:r-y.width/2,y:i-n/2},{x:r+y.width/2,y:i-n/2},{x:r+y.width/2,y:i-n/2+y.height+k},{x:r+f/2,y:i-n/2+y.height+k},{x:r+f/2,y:i+n/2},{x:r-f/2,y:i+n/2},{x:r-f/2,y:i-n/2+y.height+k},{x:r-y.width/2,y:i-n/2+y.height+k}]:[{x:r-f/2,y:i-n/2},{x:r+f/2,y:i-n/2},{x:r+f/2,y:i-n/2+p},{x:r+y.width/2,y:i-n/2+p},{x:r+y.width/2/2,y:i+n/2},{x:r-y.width/2,y:i+n/2},{x:r-y.width/2,y:i-n/2+p},{x:r-f/2,y:i-n/2+p}],R.polygon(e,a,t)},g}async function t_(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=Math.max(o.width+(e.padding??0)*2,e?.width??0),l=Math.max(o.height+(e.padding??0)*2,e?.height??0),u=[{x:0,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:-3*l/6,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}async function tv(t,e,r){let i;let{labelStyles:n,nodeStyles:a}=T(e);e.labelStyle=n;let{shapeSvg:s,bbox:l}=await c(t,e,f(e)),u=Math.max(l.width+2*r.labelPaddingX,e?.width||0),p=Math.max(l.height+2*r.labelPaddingY,e?.height||0),g=-u/2,y=-p/2,{rx:m,ry:x}=e,{cssStyles:b}=e;if(r?.rx&&r.ry&&(m=r.rx,x=r.ry),"handDrawn"===e.look){let t=h.Z.svg(s),r=S(e,{}),n=m||x?t.path(C(g,y,u,p,m||0),r):t.rectangle(g,y,u,p,r);(i=s.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,o.R7)(b))}else(i=s.insert("rect",":first-child")).attr("class","basic label-container").attr("style",a).attr("rx",(0,o.R7)(m)).attr("ry",(0,o.R7)(x)).attr("x",g).attr("y",y).attr("width",u).attr("height",p);return d(e,i),e.intersect=function(t){return R.rect(e,t)},s}async function tT(t,e){let{shapeSvg:r,bbox:i,label:n}=await c(t,e,"label"),a=r.insert("rect",":first-child");return a.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),n.attr("transform",`translate(${-(i.width/2)-(i.x-(i.left??0))}, ${-(i.height/2)-(i.y-(i.top??0))})`),d(e,a),e.intersect=function(t){return R.rect(e,t)},r}async function tS(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=Math.max(o.width+(e.padding??0),e?.width??0),l=Math.max(o.height+(e.padding??0),e?.height??0),u=[{x:0,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:-(3*l)/6,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}async function tM(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=Math.max(o.width+(e.padding??0),e?.width??0),l=Math.max(o.height+(e.padding??0),e?.height??0),u=[{x:-3*l/6,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:0,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}function tB(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.label="",e.labelStyle=r;let n=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:a}=e,o=Math.max(35,e?.width??0),l=Math.max(35,e?.height??0),c=[{x:o,y:0},{x:0,y:l+3.5},{x:o-14,y:l+3.5},{x:0,y:2*l},{x:o,y:l-3.5},{x:14,y:l-3.5}],u=h.Z.svg(n),g=S(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");let y=p(c),m=u.path(y,g),x=n.insert(()=>m,":first-child");return a&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",a),i&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",i),x.attr("transform",`translate(-${o/2},${-l})`),d(e,x),e.intersect=function(t){return s.cM.info("lightningBolt intersect",e,t),R.polygon(e,c,t)},n}(0,s.eW)(ty,"hexagon"),(0,s.eW)(tm,"hourglass"),(0,s.eW)(tx,"icon"),(0,s.eW)(tb,"iconCircle"),(0,s.eW)(tk,"iconRounded"),(0,s.eW)(tC,"iconSquare"),(0,s.eW)(tw,"imageSquare"),(0,s.eW)(t_,"inv_trapezoid"),(0,s.eW)(tv,"drawRect"),(0,s.eW)(tT,"labelRect"),(0,s.eW)(tS,"lean_left"),(0,s.eW)(tM,"lean_right"),(0,s.eW)(tB,"lightningBolt");var tL=(0,s.eW)((t,e,r,i,n,a,o)=>`M${t},${e+a} a${n},${a} 0,0,0 ${r},0 a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i} M${t},${e+a+o} a${n},${a} 0,0,0 ${r},0`,"createCylinderPathD"),tA=(0,s.eW)((t,e,r,i,n,a,o)=>`M${t},${e+a} M${t+r},${e+a} a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i} M${t},${e+a+o} a${n},${a} 0,0,0 ${r},0`,"createOuterCylinderPathD"),tF=(0,s.eW)((t,e,r,i,n,a)=>`M${t-r/2},${-i/2} a${n},${a} 0,0,0 ${r},0`,"createInnerCylinderPathD");async function t$(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s,label:l}=await c(t,e,f(e)),u=Math.max(s.width+(e.padding??0),e.width??0),p=u/2,g=p/(2.5+u/50),y=Math.max(s.height+g+(e.padding??0),e.height??0),m=.1*y,{cssStyles:x}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=tA(0,0,u,y,p,g,m),n=tF(0,g,u,y,p,g),o=S(e,{}),s=t.path(i,o),l=t.path(n,o);a.insert(()=>l,":first-child").attr("class","line"),(r=a.insert(()=>s,":first-child")).attr("class","basic label-container"),x&&r.attr("style",x)}else{let t=tL(0,0,u,y,p,g,m);r=a.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.R7)(x)).attr("style",n)}return r.attr("label-offset-y",g),r.attr("transform",`translate(${-u/2}, ${-(y/2+g)})`),d(e,r),l.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${-(s.height/2)+g-(s.y-(s.top??0))})`),e.intersect=function(t){let r=R.rect(e,t),i=r.x-(e.x??0);if(0!=p&&(Math.abs(i)<(e.width??0)/2||Math.abs(i)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-g)){let n=g*g*(1-i*i/(p*p));n>0&&(n=Math.sqrt(n)),n=g-n,t.y-(e.y??0)>0&&(n=-n),r.y+=n}return r},a}async function tW(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/4,p=l+u,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:-s/2-s/2*.1,y:-p/2},{x:-s/2-s/2*.1,y:p/2},...g(-s/2-s/2*.1,p/2,s/2+s/2*.1,p/2,u,.8),{x:s/2+s/2*.1,y:-p/2},{x:-s/2-s/2*.1,y:-p/2},{x:-s/2,y:-p/2},{x:-s/2,y:p/2*1.1},{x:-s/2,y:-p/2}],k=m.polygon(b.map(t=>[t.x,t.y]),x),C=n.insert(()=>k,":first-child");return C.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),C.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)+s/2*.1/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u/2-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tE(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,g=-l/2,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{}),b=[{x:u-5,y:g+5},{x:u-5,y:g+l+5},{x:u+s-5,y:g+l+5},{x:u+s-5,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g+l-5},{x:u+s+5,y:g+l-5},{x:u+s+5,y:g-5},{x:u+5,y:g-5},{x:u+5,y:g},{x:u,y:g},{x:u,y:g+5}];"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let k=p(b),C=m.path(k,x),w=p([{x:u,y:g+5},{x:u+s-5,y:g+5},{x:u+s-5,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g},{x:u,y:g}]),_=m.path(w,{...x,fill:"none"}),v=n.insert(()=>_,":first-child");return v.insert(()=>C,":first-child"),v.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),o.attr("transform",`translate(${-(a.width/2)-5-(a.x-(a.left??0))}, ${-(a.height/2)+5-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tD(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/4,y=l+u,m=-s/2,x=-y/2,{cssStyles:b}=e,k=g(m-5,x+y+5,m+s-5,x+y+5,u,.8),C=k?.[k.length-1],w=[{x:m-5,y:x+5},{x:m-5,y:x+y+5},...k,{x:m+s-5,y:C.y-5},{x:m+s,y:C.y-5},{x:m+s,y:C.y-10},{x:m+s+5,y:C.y-10},{x:m+s+5,y:x-5},{x:m+5,y:x-5},{x:m+5,y:x},{x:m,y:x},{x:m,y:x+5}],_=[{x:m,y:x+5},{x:m+s-5,y:x+5},{x:m+s-5,y:C.y-5},{x:m+s,y:C.y-5},{x:m+s,y:x},{x:m,y:x}],v=h.Z.svg(n),M=S(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let B=p(w),L=v.path(B,M),A=p(_),F=v.path(A,M),$=n.insert(()=>L,":first-child");return $.insert(()=>F),$.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",i),$.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-(a.width/2)-5-(a.x-(a.left??0))}, ${-(a.height/2)+5-u/2-(a.y-(a.top??0))})`),d(e,$),e.intersect=function(t){return R.polygon(e,w,t)},n}async function tO(t,e,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i,!(e.useHtmlLabels||s.iE().flowchart?.htmlLabels!==!1)&&(e.centerLabel=!0);let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),l=Math.max(o.width+(e.padding??0)*2,e?.width??0),u=Math.max(o.height+(e.padding??0)*2,e?.height??0),{cssStyles:p}=e,g=h.Z.svg(a),y=S(e,{fill:r.noteBkgColor,stroke:r.noteBorderColor});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let m=g.rectangle(-l/2,-u/2,l,u,y),x=a.insert(()=>m,":first-child");return x.attr("class","basic label-container"),p&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",p),n&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",n),d(e,x),e.intersect=function(t){return R.rect(e,t)},a}(0,s.eW)(t$,"linedCylinder"),(0,s.eW)(tW,"linedWaveEdgedRect"),(0,s.eW)(tE,"multiRect"),(0,s.eW)(tD,"multiWaveEdgedRectangle"),(0,s.eW)(tO,"note");var tZ=(0,s.eW)((t,e,r)=>`M${t+r/2},${e} L${t+r},${e-r/2} L${t+r/2},${e-r} L${t},${e-r/2} Z`,"createDecisionBoxPathD");async function tN(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),l=o.width+e.padding,u=l+(o.height+e.padding),p=[{x:u/2,y:0},{x:u,y:-u/2},{x:u/2,y:-u},{x:0,y:-u/2}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=tZ(0,0,u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`),g&&r.attr("style",g)}else r=U(a,u,u,p);return n&&r.attr("style",n),d(e,r),e.intersect=function(t){return s.cM.debug("APA12 Intersect called SPLIT\npoint:",t,"\nnode:\n",e,"\nres:",R.polygon(e,p,t)),R.polygon(e,p,t)},a}async function tI(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0),e?.width??0),l=Math.max(a.height+(e.padding??0),e?.height??0),u=-s/2,g=-l/2,y=g/2,m=[{x:u+y,y:g},{x:u,y:0},{x:u+y,y:-g},{x:-u,y:-g},{x:-u,y:g}],{cssStyles:x}=e,b=h.Z.svg(n),k=S(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let C=p(m),w=b.path(C,k),_=n.insert(()=>w,":first-child");return _.attr("class","basic label-container"),x&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",x),i&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",i),_.attr("transform",`translate(${-y/2},0)`),o.attr("transform",`translate(${-y/2-a.width/2-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`),d(e,_),e.intersect=function(t){return R.polygon(e,m,t)},n}async function tz(t,e){let r,i,n;let{labelStyles:a,nodeStyles:o}=T(e);e.labelStyle=a,r=e.cssClasses?"node "+e.cssClasses:"node default";let c=t.insert("g").attr("class",r).attr("id",e.domId||e.id),u=c.insert("g"),f=c.insert("g").attr("class","label").attr("style",o),p=e.description,g=e.label,y=f.node().appendChild(await k(g,e.labelStyle,!0,!0)),m={width:0,height:0};if((0,s.ku)(s.nV()?.flowchart?.htmlLabels)){let t=y.children[0],e=(0,l.Ys)(y);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}s.cM.info("Text 2",p);let x=p||[],b=y.getBBox(),w=f.node().appendChild(await k(x.join?x.join("
    "):x,e.labelStyle,!0,!0)),_=w.children[0],v=(0,l.Ys)(w);m=_.getBoundingClientRect(),v.attr("width",m.width),v.attr("height",m.height);let M=(e.padding||0)/2;(0,l.Ys)(w).attr("transform","translate( "+(m.width>b.width?0:(b.width-m.width)/2)+", "+(b.height+M+5)+")"),(0,l.Ys)(y).attr("transform","translate( "+(m.width(s.cM.debug("Rough node insert CXC",a),o),":first-child"),i=c.insert(()=>(s.cM.debug("Rough node insert CXC",a),a),":first-child")}else i=u.insert("rect",":first-child"),n=u.insert("line"),i.attr("class","outer title-state").attr("style",o).attr("x",-m.width/2-M).attr("y",-m.height/2-M).attr("width",m.width+(e.padding||0)).attr("height",m.height+(e.padding||0)),n.attr("class","divider").attr("x1",-m.width/2-M).attr("x2",m.width/2+M).attr("y1",-m.height/2-M+b.height+M).attr("y2",-m.height/2-M+b.height+M);return d(e,i),e.intersect=function(t){return R.rect(e,t)},c}async function tj(t,e){let r={rx:5,ry:5,classes:"",labelPaddingX:1*(e?.padding||0),labelPaddingY:1*(e?.padding||0)};return tv(t,e,r)}async function tR(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:s}=await c(t,e,f(e)),l=e?.padding??0,u=Math.max(a.width+(e.padding??0)*2,e?.width??0),p=Math.max(a.height+(e.padding??0)*2,e?.height??0),g=-a.width/2-l,y=-a.height/2-l,{cssStyles:m}=e,x=h.Z.svg(n),b=S(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=x.polygon([{x:g,y},{x:g+u+8,y},{x:g+u+8,y:y+p},{x:g-8,y:y+p},{x:g-8,y},{x:g,y},{x:g,y:y+p}].map(t=>[t.x,t.y]),b),C=n.insert(()=>k,":first-child");return C.attr("class","basic label-container").attr("style",(0,o.R7)(m)),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),m&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),s.attr("transform",`translate(${-u/2+4+(e.padding??0)-(a.x-(a.left??0))},${-p/2+(e.padding??0)-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return R.rect(e,t)},n}async function tP(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,g=-l/2,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:u,y:g},{x:u,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g-l/2}],k=p(b),C=m.path(k,x),w=n.insert(()=>C,":first-child");return w.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",y),i&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",i),w.attr("transform",`translate(0, ${l/4})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))}, ${-l/4+(e.padding??0)-(a.y-(a.top??0))})`),d(e,w),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tq(t,e){let r={rx:0,ry:0,classes:"",labelPaddingX:2*(e?.padding||0),labelPaddingY:1*(e?.padding||0)};return tv(t,e,r)}async function tH(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s}=await c(t,e,f(e)),l=s.height+e.padding,u=s.width+l/4+e.padding,{cssStyles:p}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=C(-u/2,-l/2,u,l,l/2),s=t.path(n,i);(r=a.insert(()=>s,":first-child")).attr("class","basic label-container").attr("style",(0,o.R7)(p))}else(r=a.insert("rect",":first-child")).attr("class","basic label-container").attr("style",n).attr("rx",l/2).attr("ry",l/2).attr("x",-u/2).attr("y",-l/2).attr("width",u).attr("height",l);return d(e,r),e.intersect=function(t){return R.rect(e,t)},a}async function tU(t,e){return tv(t,e,{rx:5,ry:5,classes:"flowchart-node"})}function tY(t,e,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{cssStyles:a}=e,{lineColor:o,stateBorder:s,nodeBorder:l}=r,c=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),u=h.Z.svg(c),f=S(e,{});"handDrawn"!==e.look&&(f.roughness=0,f.fillStyle="solid");let p=u.circle(0,0,14,{...f,stroke:o,strokeWidth:2}),g=s??l,y=u.circle(0,0,5,{...f,fill:g,stroke:g,strokeWidth:2,fillStyle:"solid"}),m=c.insert(()=>p,":first-child");return m.insert(()=>y),a&&m.selectAll("path").attr("style",a),n&&m.selectAll("path").attr("style",n),d(e,m),e.intersect=function(t){return R.circle(e,7,t)},c}function tV(t,e,{config:{themeVariables:r}}){let i;let{lineColor:n}=r,a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);if("handDrawn"===e.look){let t=h.Z.svg(a).circle(0,0,14,w(n));(i=a.insert(()=>t)).attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else(i=a.insert("circle",":first-child")).attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return d(e,i),e.intersect=function(t){return R.circle(e,7,t)},a}async function tG(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),s=(e?.padding||0)/2,l=a.width+e.padding,u=a.height+e.padding,p=-a.width/2-s,g=-a.height/2-s,y=[{x:0,y:0},{x:l,y:0},{x:l,y:-u},{x:0,y:-u},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-u},{x:-8,y:-u},{x:-8,y:0}];if("handDrawn"===e.look){let t=h.Z.svg(n),r=S(e,{}),i=t.rectangle(p-8,g,l+16,u,r),a=t.line(p,g,p,g+u,r),s=t.line(p+l,g,p+l,g+u,r);n.insert(()=>a,":first-child"),n.insert(()=>s,":first-child");let c=n.insert(()=>i,":first-child"),{cssStyles:f}=e;c.attr("class","basic label-container").attr("style",(0,o.R7)(f)),d(e,c)}else{let t=U(n,l,u,y);i&&t.attr("style",i),d(e,t)}return e.intersect=function(t){return R.polygon(e,y,t)},n}async function tX(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(a.width+(e.padding??0)*2,e?.width??0),s=Math.max(a.height+(e.padding??0)*2,e?.height??0),l=-o/2,u=-s/2,g=.2*s,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{}),b=[{x:l-g/2,y:u},{x:l+o+g/2,y:u},{x:l+o+g/2,y:u+s},{x:l-g/2,y:u+s}];"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let k=p(b),C=m.path(k,x),w=p([{x:l+o-g/2,y:u+s},{x:l+o+g/2,y:u+s},{x:l+o+g/2,y:u+s-.2*s}]),_=m.path(w,{...x,fillStyle:"solid"}),v=n.insert(()=>_,":first-child");return v.insert(()=>C,":first-child"),v.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),d(e,v),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tQ(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/4,y=.2*s,m=.2*l,x=l+u,{cssStyles:b}=e,k=h.Z.svg(n),C=S(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let w=[{x:-s/2-s/2*.1,y:x/2},...g(-s/2-s/2*.1,x/2,s/2+s/2*.1,x/2,u,.8),{x:s/2+s/2*.1,y:-x/2},{x:-s/2-s/2*.1,y:-x/2}],_=-s/2+s/2*.1,v=-x/2-.4*m,M=[{x:_+s-y,y:(v+l)*1.4},{x:_+s,y:v+l-m},{x:_+s,y:(v+l)*.9},...g(_+s,(v+l)*1.3,_+s-y,(v+l)*1.5,-(.03*l),.5)],B=p(w),L=k.path(B,C),A=p(M),F=k.path(A,{...C,fillStyle:"solid"}),$=n.insert(()=>F,":first-child");return $.insert(()=>L,":first-child"),$.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",i),$.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u/2-(a.y-(a.top??0))})`),d(e,$),e.intersect=function(t){return R.polygon(e,w,t)},n}async function tK(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(a.width+e.padding,e?.width||0),s=Math.max(a.height+e.padding,e?.height||0),l=n.insert("rect",":first-child");return l.attr("class","text").attr("style",i).attr("rx",0).attr("ry",0).attr("x",-o/2).attr("y",-s/2).attr("width",o).attr("height",s),d(e,l),e.intersect=function(t){return R.rect(e,t)},n}(0,s.eW)(tN,"question"),(0,s.eW)(tI,"rect_left_inv_arrow"),(0,s.eW)(tz,"rectWithTitle"),(0,s.eW)(tj,"roundedRect"),(0,s.eW)(tR,"shadedProcess"),(0,s.eW)(tP,"slopedRect"),(0,s.eW)(tq,"squareRect"),(0,s.eW)(tH,"stadium"),(0,s.eW)(tU,"state"),(0,s.eW)(tY,"stateEnd"),(0,s.eW)(tV,"stateStart"),(0,s.eW)(tG,"subroutine"),(0,s.eW)(tX,"taggedRect"),(0,s.eW)(tQ,"taggedWaveEdgedRectangle"),(0,s.eW)(tK,"text");var tJ=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e} + a${n},${a} 0,0,1 0,${-i} + l${r},0 + a${n},${a} 0,0,1 0,${i} + M${r},${-i} + a${n},${a} 0,0,0 0,${i} + l${-r},0`,"createCylinderPathD"),t0=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e} M${t+r},${e} a${n},${a} 0,0,0 0,${-i} l${-r},0 a${n},${a} 0,0,0 0,${i} l${r},0`,"createOuterCylinderPathD"),t1=(0,s.eW)((t,e,r,i,n,a)=>`M${t+r/2},${-i/2} a${n},${a} 0,0,0 0,${i}`,"createInnerCylinderPathD");async function t2(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s,label:l,halfPadding:u}=await c(t,e,f(e)),p="neo"===e.look?2*u:u,g=s.height+p,y=g/2,m=y/(2.5+g/50),x=s.width+m+p,{cssStyles:b}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=t0(0,0,x,g,m,y),n=t1(0,0,x,g,m,y),o=t.path(i,S(e,{})),s=t.path(n,S(e,{fill:"none"}));r=a.insert(()=>s,":first-child"),(r=a.insert(()=>o,":first-child")).attr("class","basic label-container"),b&&r.attr("style",b)}else{let t=tJ(0,0,x,g,m,y);(r=a.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.R7)(b)).attr("style",n)).attr("class","basic label-container"),b&&r.selectAll("path").attr("style",b),n&&r.selectAll("path").attr("style",n)}return r.attr("label-offset-x",m),r.attr("transform",`translate(${-x/2}, ${g/2} )`),l.attr("transform",`translate(${-(s.width/2)-m-(s.x-(s.left??0))}, ${-(s.height/2)-(s.y-(s.top??0))})`),d(e,r),e.intersect=function(t){let r=R.rect(e,t),i=r.y-(e.y??0);if(0!=y&&(Math.abs(i)<(e.height??0)/2||Math.abs(i)==(e.height??0)/2&&Math.abs(r.x-(e.x??0))>(e.width??0)/2-m)){let n=m*m*(1-i*i/(y*y));0!=n&&(n=Math.sqrt(n)),n=m-n,t.x-(e.x??0)>0&&(n=-n),r.x+=n}return r},a}async function t5(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=o.width+e.padding,l=o.height+e.padding,u=[{x:-3*l/6,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:0,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}async function t3(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(60,a.width+(e.padding??0)*2,e?.width??0),s=Math.max(20,a.height+(e.padding??0)*2,e?.height??0),{cssStyles:l}=e,u=h.Z.svg(n),g=S(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");let y=[{x:-o/2*.8,y:-s/2},{x:o/2*.8,y:-s/2},{x:o/2,y:-s/2*.6},{x:o/2,y:s/2},{x:-o/2,y:s/2},{x:-o/2,y:-s/2*.6}],m=p(y),x=u.path(m,g),b=n.insert(()=>x,":first-child");return b.attr("class","basic label-container"),l&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",l),i&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",i),d(e,b),e.intersect=function(t){return R.polygon(e,y,t)},n}async function t4(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),l=(0,s.ku)(s.nV().flowchart?.htmlLabels),u=a.width+(e.padding??0),g=u+a.height,y=u+a.height,m=[{x:0,y:0},{x:y,y:0},{x:y/2,y:-g}],{cssStyles:x}=e,b=h.Z.svg(n),k=S(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let C=p(m),w=b.path(C,k),_=n.insert(()=>w,":first-child").attr("transform",`translate(${-g/2}, ${g/2})`);return x&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",x),i&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",i),e.width=u,e.height=g,d(e,_),o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${g/2-(a.height+(e.padding??0)/(l?2:1)-(a.y-(a.top??0)))})`),e.intersect=function(t){return s.cM.info("Triangle intersect",e,m,t),R.polygon(e,m,t)},n}async function t6(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/8,y=l+u,{cssStyles:m}=e,x=70-s,b=x>0?x/2:0,k=h.Z.svg(n),C=S(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let w=[{x:-s/2-b,y:y/2},...g(-s/2-b,y/2,s/2+b,y/2,u,.8),{x:s/2+b,y:-y/2},{x:-s/2-b,y:-y/2}],_=p(w),v=k.path(_,C),M=n.insert(()=>v,":first-child");return M.attr("class","basic label-container"),m&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",m),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),M.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u-(a.y-(a.top??0))})`),d(e,M),e.intersect=function(t){return R.polygon(e,w,t)},n}async function t8(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(a.width+(e.padding??0)*2,e?.width??0),s=Math.max(a.height+(e.padding??0)*2,e?.height??0),l=o/s,u=o,y=s;u>y*l?y=u/l:u=y*l,u=Math.max(u,100);let m=Math.min(.2*(y=Math.max(y,50)),y/4),x=y+2*m,{cssStyles:b}=e,k=h.Z.svg(n),C=S(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let w=[{x:-u/2,y:x/2},...g(-u/2,x/2,u/2,x/2,m,1),{x:u/2,y:-x/2},...g(u/2,-x/2,-u/2,-x/2,m,-1)],_=p(w),v=k.path(_,C),M=n.insert(()=>v,":first-child");return M.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),d(e,M),e.intersect=function(t){return R.polygon(e,w,t)},n}async function t9(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,p=-l/2,{cssStyles:g}=e,y=h.Z.svg(n),m=S(e,{}),x=[{x:u-5,y:p-5},{x:u-5,y:p+l},{x:u+s,y:p+l},{x:u+s,y:p-5}],b=`M${u-5},${p-5} L${u+s},${p-5} L${u+s},${p+l} L${u-5},${p+l} L${u-5},${p-5} + M${u-5},${p} L${u+s},${p} + M${u},${p-5} L${u},${p+l}`;"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");let k=y.path(b,m),C=n.insert(()=>k,":first-child");return C.attr("transform",`translate(${2.5}, ${2.5})`),C.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),o.attr("transform",`translate(${-(a.width/2)+2.5-(a.x-(a.left??0))}, ${-(a.height/2)+2.5-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return R.polygon(e,x,t)},n}async function t7(t,e,r,i,n=r.class.padding??12){let a=i?0:3,o=t.insert("g").attr("class",f(e)).attr("id",e.domId||e.id),s=null,l=null,h=null,c=null,u=0,d=0,p=0;if(s=o.insert("g").attr("class","annotation-group text"),e.annotations.length>0){let t=e.annotations[0];await et(s,{text:`\xab${t}\xbb`},0),u=s.node().getBBox().height}l=o.insert("g").attr("class","label-group text"),await et(l,e,0,["font-weight: bolder"]);let g=l.node().getBBox();d=g.height,h=o.insert("g").attr("class","members-group text");let y=0;for(let t of e.members){let e=await et(h,t,y,[t.parseClassifier()]);y+=e+a}(p=h.node().getBBox().height)<=0&&(p=n/2),c=o.insert("g").attr("class","methods-group text");let m=0;for(let t of e.methods){let e=await et(c,t,m,[t.parseClassifier()]);m+=e+a}let x=o.node().getBBox();if(null!==s){let t=s.node().getBBox();s.attr("transform",`translate(${-t.width/2})`)}return l.attr("transform",`translate(${-g.width/2}, ${u})`),x=o.node().getBBox(),h.attr("transform",`translate(0, ${u+d+2*n})`),x=o.node().getBBox(),c.attr("transform",`translate(0, ${u+d+(p?p+4*n:2*n)})`),x=o.node().getBBox(),{shapeSvg:o,bbox:x}}async function et(t,e,r,i=[]){let n;let h=t.insert("g").attr("class","label").attr("style",i.join("; ")),c=(0,s.iE)(),u="useHtmlLabels"in e?e.useHtmlLabels:(0,s.ku)(c.htmlLabels)??!0,d="";d="text"in e?e.text:e.label,!u&&d.startsWith("\\")&&(d=d.substring(1)),(0,s.l0)(d)&&(u=!0);let f=await (0,a.rw)(h,(0,s.uX)((0,o.SH)(d)),{width:(0,o.Cq)(d,c)+50,classes:"markdown-node-label",useHtmlLabels:u},c),p=1;if(u){let t=f.children[0],e=(0,l.Ys)(f);p=t.innerHTML.split("
    ").length,t.innerHTML.includes("")&&(p+=t.innerHTML.split("").length-1);let r=t.getElementsByTagName("img");if(r){let t=""===d.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=c.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,r=5*parseInt(t,10)+"px";e.style.minWidth=r,e.style.maxWidth=r}else e.style.width="100%";r(e)}(0,s.eW)(i,"setupImage"),setTimeout(()=>{e.complete&&i()}),e.addEventListener("error",i),e.addEventListener("load",i)})))}n=t.getBoundingClientRect(),e.attr("width",n.width),e.attr("height",n.height)}else{i.includes("font-weight: bolder")&&(0,l.Ys)(f).selectAll("tspan").attr("font-weight",""),p=f.children.length;let t=f.children[0];(""===f.textContent||f.textContent.includes(">"))&&(t.textContent=d[0]+d.substring(1).replaceAll(">",">").replaceAll("<","<").trim()," "===d[1]&&(t.textContent=t.textContent[0]+" "+t.textContent.substring(1))),"undefined"===t.textContent&&(t.textContent=""),n=f.getBBox()}return h.attr("transform","translate(0,"+(-n.height/(2*p)+r)+")"),n.height}async function ee(t,e){let r=(0,s.nV)(),i=r.class.padding??12,n=e.useHtmlLabels??(0,s.ku)(r.htmlLabels)??!0;e.annotations=e.annotations??[],e.members=e.members??[],e.methods=e.methods??[];let{shapeSvg:a,bbox:o}=await t7(t,e,r,n,i),{labelStyles:c,nodeStyles:u}=T(e);e.labelStyle=c,e.cssStyles=e.styles||"";let f=e.styles?.join(";")||u||"";!e.cssStyles&&(e.cssStyles=f.replaceAll("!important","").split(";"));let p=0===e.members.length&&0===e.methods.length&&!r.class?.hideEmptyMembersBox,g=h.Z.svg(a),y=S(e,{});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let m=o.width,x=o.height;0===e.members.length&&0===e.methods.length?x+=i:e.members.length>0&&0===e.methods.length&&(x+=2*i);let b=-m/2,k=-x/2,C=g.rectangle(b-i,k-i-(p?i:0===e.members.length&&0===e.methods.length?-i/2:0),m+2*i,x+2*i+(p?2*i:0===e.members.length&&0===e.methods.length?-i:0),y),w=a.insert(()=>C,":first-child");w.attr("class","basic label-container");let _=w.node().getBBox();a.selectAll(".text").each((t,r,o)=>{let s=(0,l.Ys)(o[r]),h=s.attr("transform"),c=0;if(h){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(h);t&&(c=parseFloat(t[2]))}let u=c+k+i-(p?i:0===e.members.length&&0===e.methods.length?-i/2:0);!n&&(u-=4);let d=b;(s.attr("class").includes("label-group")||s.attr("class").includes("annotation-group"))&&(d=-s.node()?.getBBox().width/2||0,a.selectAll("text").each(function(t,e,r){"middle"===window.getComputedStyle(r[e]).textAnchor&&(d=0)})),s.attr("transform",`translate(${d}, ${u})`)});let v=a.select(".annotation-group").node().getBBox().height-(p?i/2:0)||0,M=a.select(".label-group").node().getBBox().height-(p?i/2:0)||0,B=a.select(".members-group").node().getBBox().height-(p?i/2:0)||0;if(e.members.length>0||e.methods.length>0||p){let t=g.line(_.x,v+M+k+i,_.x+_.width,v+M+k+i,y);a.insert(()=>t).attr("class","divider").attr("style",f)}if(p||e.members.length>0||e.methods.length>0){let t=g.line(_.x,v+M+B+k+2*i+i,_.x+_.width,v+M+B+k+i+2*i,y);a.insert(()=>t).attr("class","divider").attr("style",f)}if("handDrawn"!==e.look&&a.selectAll("path").attr("style",f),w.select(":nth-child(2)").attr("style",f),a.selectAll(".divider").select("path").attr("style",f),e.labelStyle?a.selectAll("span").attr("style",e.labelStyle):a.selectAll("span").attr("style",f),!n){let t=RegExp(/color\s*:\s*([^;]*)/),e=t.exec(f);if(e){let t=e[0].replace("color","fill");a.selectAll("tspan").attr("style",t)}else if(c){let e=t.exec(c);if(e){let t=e[0].replace("color","fill");a.selectAll("tspan").attr("style",t)}}}return d(e,w),e.intersect=function(t){return R.rect(e,t)},a}(0,s.eW)(t2,"tiltedCylinder"),(0,s.eW)(t5,"trapezoid"),(0,s.eW)(t3,"trapezoidalPentagon"),(0,s.eW)(t4,"triangle"),(0,s.eW)(t6,"waveEdgedRectangle"),(0,s.eW)(t8,"waveRectangle"),(0,s.eW)(t9,"windowPane"),(0,s.eW)(t7,"textHelper"),(0,s.eW)(et,"addText"),(0,s.eW)(ee,"classBox");var er=(0,s.eW)(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function ei(t,e,{config:r}){let i,n,a,o;let{labelStyles:s,nodeStyles:l}=T(e);e.labelStyle=s||"";let p=e.width;e.width=(e.width??200)-10;let{shapeSvg:g,bbox:y,label:m}=await c(t,e,f(e)),x=e.padding||10,b="";"ticket"in e&&e.ticket&&r?.kanban?.ticketBaseUrl&&(b=r?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),i=g.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",b).attr("target","_blank"));let k={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1};i?{label:n,bbox:a}=await u(i,"ticket"in e&&e.ticket||"",k):{label:n,bbox:a}=await u(g,"ticket"in e&&e.ticket||"",k);let{label:w,bbox:_}=await u(g,"assigned"in e&&e.assigned||"",k);e.width=p;let v=e?.width||0,M=Math.max(a.height,_.height)/2,B=Math.max(y.height+20,e?.height||0)+M,L=-v/2,A=-B/2;m.attr("transform","translate("+(x-v/2)+", "+(-M-y.height/2)+")"),n.attr("transform","translate("+(x-v/2)+", "+(-M+y.height/2)+")"),w.attr("transform","translate("+(x+v/2-_.width-20)+", "+(-M+y.height/2)+")");let{rx:F,ry:$}=e,{cssStyles:W}=e;if("handDrawn"===e.look){let t=h.Z.svg(g),r=S(e,{}),i=F||$?t.path(C(L,A,v,B,F||0),r):t.rectangle(L,A,v,B,r);(o=g.insert(()=>i,":first-child")).attr("class","basic label-container").attr("style",W||null)}else{(o=g.insert("rect",":first-child")).attr("class","basic label-container __APA__").attr("style",l).attr("rx",F??5).attr("ry",$??5).attr("x",L).attr("y",A).attr("width",v).attr("height",B);let t="priority"in e&&e.priority;if(t){let e=g.append("line"),r=L+2,i=A+Math.floor((F??0)/2),n=A+B-Math.floor((F??0)/2);e.attr("x1",r).attr("y1",i).attr("x2",r).attr("y2",n).attr("stroke-width","4").attr("stroke",er(t))}}return d(e,o),e.height=B,e.intersect=function(t){return R.rect(e,t)},g}(0,s.eW)(ei,"kanbanItem");var en=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:tq},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:tj},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:tH},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:tG},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:tl},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:G},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:tN},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:ty},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:tM},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:tS},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:t5},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:t_},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:tc},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:tK},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:Y},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:tR},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:tV},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:tY},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:tf},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:tm},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:J},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:te},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:ti},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:tB},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:t6},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:tp},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:t2},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:t$},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:tn},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:th},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:t4},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:t9},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:tu},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:t3},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:td},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:tP},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:tD},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:tE},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:H},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:Q},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:tQ},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:tX},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:t8},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:tI},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:tW}],ea=(0,s.eW)(()=>Object.fromEntries([...Object.entries({state:tU,choice:V,note:tO,rectWithTitle:tz,labelRect:tT,iconSquare:tC,iconCircle:tb,icon:tx,iconRounded:tk,imageSquare:tw,anchor:P,kanbanItem:ei,classBox:ee}),...en.flatMap(t=>[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]].map(e=>[e,t.handler]))]),"generateShapeMap")();function eo(t){return t in ea}(0,s.eW)(eo,"isValidShape");var es=new Map;async function el(t,e,r){let i,n;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let a=e.shape?ea[e.shape]:void 0;if(!a)throw Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let o;"sandbox"===r.config.securityLevel?o="_top":e.linkTarget&&(o=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",o??null),n=await a(i,e,r)}else i=n=await a(t,e,r);return e.tooltip&&n.attr("title",e.tooltip),es.set(e.id,i),e.haveCallback&&i.attr("class",i.attr("class")+" clickable"),i}(0,s.eW)(el,"insertNode");var eh=(0,s.eW)((t,e)=>{es.set(e.id,t)},"setNodeElem"),ec=(0,s.eW)(()=>{es.clear()},"clear"),eu=(0,s.eW)(t=>{let e=es.get(t.id);s.cM.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode")},7690:function(t,e,r){"use strict";r.d(e,{$m:function(){return h},Cq:function(){return O},Ln:function(){return Y},MX:function(){return A},Ox:function(){return B},R7:function(){return V},Rb:function(){return P},SH:function(){return U},VG:function(){return R},Vy:function(){return H},X4:function(){return W},XD:function(){return D},bZ:function(){return z},be:function(){return S},le:function(){return y},tf:function(){return p},w8:function(){return q}});var i,n=r(5995),a=r(17967),o=r(27818),s=r(65269),l=r(41777),h="\u200B",c={curveBasis:o.$0Z,curveBasisClosed:o.Dts,curveBasisOpen:o.WQY,curveBumpX:o.qpX,curveBumpY:o.u93,curveBundle:o.tFB,curveCardinalClosed:o.OvA,curveCardinalOpen:o.dCK,curveCardinal:o.YY7,curveCatmullRomClosed:o.fGX,curveCatmullRomOpen:o.$m7,curveCatmullRom:o.zgE,curveLinear:o.c_6,curveLinearClosed:o.fxm,curveMonotoneX:o.FdL,curveMonotoneY:o.ak_,curveNatural:o.SxZ,curveStep:o.eA_,curveStepAfter:o.jsv,curveStepBefore:o.iJ},u=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,d=(0,n.eW)(function(t,e){let r=f(t,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,n.NM)(t),i=(0,n.Yc)(i,[...t])}else i=r.args;if(!i)return;let a=(0,n.Vg)(t,e),o="config";return void 0!==i[o]&&("flowchart-v2"===a&&(a="flowchart"),i[a]=i[o],delete i[o]),i},"detectInit"),f=(0,n.eW)(function(t,e=null){try{let r;let i=RegExp(`[%]{2}(?![{]${u.source})(?=[}][%]{2}).* +`,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),n.cM.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let a=[];for(;null!==(r=n.Zn.exec(t));)if(r.index===n.Zn.lastIndex&&n.Zn.lastIndex++,r&&!e||e&&r[1]?.match(e)||e&&r[2]?.match(e)){let t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;a.push({type:t,args:e})}if(0===a.length)return{type:t,args:null};return 1===a.length?a[0]:a}catch(r){return n.cM.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),p=(0,n.eW)(function(t){return t.replace(n.Zn,"")},"removeDirectives"),g=(0,n.eW)(function(t,e){for(let[r,i]of e.entries())if(i.match(t))return r;return -1},"isSubstringInArray");function y(t,e){return t?c[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function m(t,e){let r=t.trim();return r?"loose"!==e.securityLevel?(0,a.sanitizeUrl)(r):r:void 0}(0,n.eW)(y,"interpolateToCurve"),(0,n.eW)(m,"formatUrl");var x=(0,n.eW)((t,...e)=>{let r=t.split("."),i=r.length-1,a=r[i],o=window;for(let e=0;e{r+=b(t,e),e=t}),_(t,r/2)}function C(t){return 1===t.length?t[0]:k(t)}(0,n.eW)(b,"distance"),(0,n.eW)(k,"traverseEdge"),(0,n.eW)(C,"calcLabelPosition");var w=(0,n.eW)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),_=(0,n.eW)((t,e)=>{let r;let i=e;for(let e of t){if(r){let t=b(e,r);if(t=1)return{x:e.x,y:e.y};if(n>0&&n<1)return{x:w((1-n)*r.x+n*e.x,5),y:w((1-n)*r.y+n*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),v=(0,n.eW)((t,e,r)=>{n.cM.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let i=_(e,25),a=t?10:5,o=Math.atan2(e[0].y-i.y,e[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(o)*a+(e[0].x+i.x)/2,s.y=-Math.cos(o)*a+(e[0].y+i.y)/2,s},"calcCardinalityPosition");function T(t,e,r){let i=structuredClone(r);n.cM.info("our points",i),"start_left"!==e&&"start_right"!==e&&i.reverse();let a=_(i,25+t),o=10+.5*t,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(s+Math.PI)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s+Math.PI)*o+(i[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s-Math.PI)*o+(i[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2-5):(l.x=Math.sin(s)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2),l}function S(t){let e="",r="";for(let i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?r=r+i+";":e=e+i+";");return{style:e,labelStyle:r}}(0,n.eW)(T,"calcTerminalLabelPosition"),(0,n.eW)(S,"getStylesFromArray");var M=0,B=(0,n.eW)(()=>(M++,"id-"+Math.random().toString(36).substr(2,12)+"-"+M),"generateId");function L(t){let e="",r="0123456789abcdef",i=r.length;for(let n=0;nL(t.length),"random"),F=(0,n.eW)(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,text:""}},"getTextObj"),$=(0,n.eW)(function(t,e){let r=e.text.replace(n.SY.lineBreakRegex," "),[,i]=R(e.fontSize),a=t.append("text");a.attr("x",e.x),a.attr("y",e.y),a.style("text-anchor",e.anchor),a.style("font-family",e.fontFamily),a.style("font-size",i),a.style("font-weight",e.fontWeight),a.attr("fill",e.fill),void 0!==e.class&&a.attr("class",e.class);let o=a.append("tspan");return o.attr("x",e.x+2*e.textMargin),o.attr("fill",e.fill),o.text(r),a},"drawSimpleText"),W=(0,s.Z)((t,e,r)=>{if(!t)return t;if(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
    "},r),n.SY.lineBreakRegex.test(t))return t;let i=t.split(" ").filter(Boolean),a=[],o="";return i.forEach((t,n)=>{let s=O(`${t} `,r),l=O(o,r);if(s>e){let{hyphenatedStrings:i,remainingWord:n}=E(t,e,"-",r);a.push(o,...i),o=n}else l+s>=e?(a.push(o),o=t):o=[o,t].filter(Boolean).join(" ");n+1===i.length&&a.push(o)}),a.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),E=(0,s.Z)((t,e,r="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);let n=[...t],a=[],o="";return n.forEach((t,s)=>{let l=`${o}${t}`;if(O(l,i)>=e){let t=n.length===s+1,e=`${l}${r}`;a.push(t?l:e),o=""}else o=l}),{hyphenatedStrings:a,remainingWord:o}},(t,e,r="-",i)=>`${t}${e}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);function D(t,e){return Z(t,e).height}function O(t,e){return Z(t,e).width}(0,n.eW)(D,"calculateTextHeight"),(0,n.eW)(O,"calculateTextWidth");var Z=(0,s.Z)((t,e)=>{let{fontSize:r=12,fontFamily:i="Arial",fontWeight:a=400}=e;if(!t)return{width:0,height:0};let[,s]=R(r),l=t.split(n.SY.lineBreakRegex),c=[],u=(0,o.Ys)("body");if(!u.remove)return{width:0,height:0,lineHeight:0};let d=u.append("svg");for(let t of["sans-serif",i]){let e=0,r={width:0,height:0,lineHeight:0};for(let i of l){let n=F();n.text=i||h;let o=$(d,n).style("font-size",s).style("font-weight",a).style("font-family",t),l=(o._groups||o)[0][0].getBBox();if(0===l.width&&0===l.height)throw Error("svg element not in render tree");r.width=Math.round(Math.max(r.width,l.width)),e=Math.round(l.height),r.height+=e,r.lineHeight=Math.round(Math.max(r.lineHeight,e))}c.push(r)}d.remove();let f=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;return c[f]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),N=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,n.eW)(this,"InitIDGenerator")}},I=(0,n.eW)(function(t){return i=i||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),i.innerHTML=t,unescape(i.textContent)},"entityDecode");function z(t){return"str"in t}(0,n.eW)(z,"isDetailedError");var j=(0,n.eW)((t,e,r,i)=>{if(!i)return;let n=t.node()?.getBBox();if(!!n)t.append("text").text(i).attr("text-anchor","middle").attr("x",n.x+n.width/2).attr("y",-r).attr("class",e)},"insertTitle"),R=(0,n.eW)(t=>{if("number"==typeof t)return[t,t+"px"];let e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function P(t,e){return(0,l.Z)({},t,e)}(0,n.eW)(P,"cleanAndMerge");var q={assignWithDepth:n.Yc,wrapLabel:W,calculateTextHeight:D,calculateTextWidth:O,calculateTextDimensions:Z,cleanAndMerge:P,detectInit:d,detectDirective:f,isSubstringInArray:g,interpolateToCurve:y,calcLabelPosition:C,calcCardinalityPosition:v,calcTerminalLabelPosition:T,formatUrl:m,getStylesFromArray:S,generateId:B,random:A,runFunc:x,entityDecode:I,insertTitle:j,parseFontSize:R,InitIDGenerator:N},H=(0,n.eW)(function(t){let e=t;return e=(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\uFB02\xb0\xb0"+e+"\xb6\xdf":"\uFB02\xb0"+e+"\xb6\xdf"})},"encodeEntities"),U=(0,n.eW)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Y=(0,n.eW)((t,e,{counter:r=0,prefix:i,suffix:n})=>`${i?`${i}_`:""}${t}_${e}_${r}${n?`_${n}`:""}`,"getEdgeId");function V(t){return t??null}(0,n.eW)(V,"handleUndefinedAttr")},5995:function(t,e,r){"use strict";let i;r.d(e,{_7:()=>el,cq:()=>F,Kr:()=>t7,ZD:()=>tl,xN:()=>R,l0:()=>tz,Fy:()=>er,vZ:()=>Q,Vg:()=>B,XV:()=>td,Yc:()=>W,nH:()=>tj,ZH:()=>t5,cj:()=>S,r2:()=>x,eW:()=>m,LJ:()=>tK,Vw:()=>tx,cM:()=>k,UO:()=>tE,Cq:()=>es,Ee:()=>tQ,_j:()=>U,Tb:()=>ts,KO:()=>L,uT:()=>tR,mc:()=>tf,NM:()=>K,oO:()=>tv,uX:()=>ei,dY:()=>to,U$:()=>t6,GN:()=>t3,v6:()=>th,Y4:()=>ee,g2:()=>t9,Ub:()=>C,Yn:()=>ta,j7:()=>tY,Rw:()=>en,SY:()=>tP,v2:()=>tU,u_:()=>tt,Bf:()=>M,Zn:()=>v,ku:()=>tF,M6:()=>_,Mx:()=>t8,eu:()=>t4,iE:()=>tc,nV:()=>et});var n,a=r("27484"),o=r("26652"),s=r("17826");let l=(t,e)=>{let r=o.Z.parse(t),i={};for(let t in e)e[t]&&(i[t]=r[t]+e[t]);return(0,s.Z)(t,i)};var h=r("13328");let c=(t,e,r=50)=>{let{r:i,g:n,b:a,a:s}=o.Z.parse(t),{r:l,g:c,b:u,a:d}=o.Z.parse(e),f=r/100,p=2*f-1,g=s-d,y=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,m=1-y;return(0,h.Z)(i*y+l*m,n*y+c*m,a*y+u*m,s*f+d*(1-f))},u=(t,e=100)=>{let r=o.Z.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,c(r,t,e)};var d=r("35035"),f=r("86750"),p=r("77845"),g=r("27856"),y=Object.defineProperty,m=(t,e)=>y(t,"name",{value:e,configurable:!0}),x=(t,e)=>{for(var r in e)y(t,r,{get:e[r],enumerable:!0})},b={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},k={trace:m((...t)=>{},"trace"),debug:m((...t)=>{},"debug"),info:m((...t)=>{},"info"),warn:m((...t)=>{},"warn"),error:m((...t)=>{},"error"),fatal:m((...t)=>{},"fatal")},C=m(function(t="fatal"){let e=b.fatal;"string"==typeof t?t.toLowerCase() in b&&(e=b[t]):"number"==typeof t&&(e=t),k.trace=()=>{},k.debug=()=>{},k.info=()=>{},k.warn=()=>{},k.error=()=>{},k.fatal=()=>{},e<=b.fatal&&(k.fatal=console.error?console.error.bind(console,w("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",w("FATAL"))),e<=b.error&&(k.error=console.error?console.error.bind(console,w("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",w("ERROR"))),e<=b.warn&&(k.warn=console.warn?console.warn.bind(console,w("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,w("WARN"))),e<=b.info&&(k.info=console.info?console.info.bind(console,w("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",w("INFO"))),e<=b.debug&&(k.debug=console.debug?console.debug.bind(console,w("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",w("DEBUG"))),e<=b.trace&&(k.trace=console.debug?console.debug.bind(console,w("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",w("TRACE")))},"setLogLevel"),w=m(t=>{let e=a().format("ss.SSS");return`%c${e} : ${t} : `},"format"),_=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,v=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,T=/\s*%%.*\n/gm,S=class extends Error{static{m(this,"UnknownDiagramError")}constructor(t){super(t),this.name="UnknownDiagramError"}},M={},B=m(function(t,e){for(let[r,{detector:i}]of(t=t.replace(_,"").replace(v,"").replace(T,"\n"),Object.entries(M)))if(i(t,e))return r;throw new S(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),L=m((...t)=>{for(let{id:e,detector:r,loader:i}of t)A(e,r,i)},"registerLazyLoadedDiagrams"),A=m((t,e,r)=>{M[t]&&k.warn(`Detector with key ${t} already exists. Overwriting.`),M[t]={detector:e,loader:r},k.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),F=m(t=>M[t].loader,"getDiagramLoader"),$=m((t,e,{depth:r=2,clobber:i=!1}={})=>{let n={depth:r,clobber:i};if(Array.isArray(e)&&!Array.isArray(t))return e.forEach(e=>$(t,e,n)),t;if(Array.isArray(e)&&Array.isArray(t))return e.forEach(e=>{!t.includes(e)&&t.push(e)}),t;if(void 0===t||r<=0)return null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e;return 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])?(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=$(t[n],e[n],{depth:r-1,clobber:i})):(i||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n])}),t},"assignWithDepth"),W=$,E="#ffffff",D="#f2f2f2",O=m((t,e)=>e?l(t,{s:-40,l:10}):l(t,{s:-40,l:-10}),"mkBorder"),Z=class{static{m(this,"Theme")}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||l(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||l(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||O(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||O(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||O(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||u(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||u(this.tertiaryColor),this.lineColor=this.lineColor||u(this.background),this.arrowheadColor=this.arrowheadColor||u(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,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?(0,d.Z)(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||this.actorBorder,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||(0,d.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||u(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||(0,f.Z)(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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},N=m(t=>{let e=new Z;return e.calculate(t),e},"getThemeVariables"),I=class{static{m(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,f.Z)(this.primaryColor,16),this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=u(this.background),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,f.Z)(u("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=(0,h.Z)(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=(0,d.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,d.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,h.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,h.Z)(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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,f.Z)(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=(0,f.Z)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,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=(0,f.Z)(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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,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=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330});for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},z=m(t=>{let e=new I;return e.calculate(t),e},"getThemeVariables"),j=class{static{m(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=l(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(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="rgba(232,232,232, 0.8)",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="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="#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=(0,h.Z)(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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},R=m(t=>{let e=new j;return e.calculate(t),e},"getThemeVariables"),P=class{static{m(this,"Theme")}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=(0,f.Z)("#cde498",10),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.primaryColor),this.lineColor=u(this.background),this.textColor=u(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="calculated",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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,d.Z)(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.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},q=m(t=>{let e=new P;return e.calculate(t),e},"getThemeVariables"),H=class{static{m(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,f.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(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=this.actorBorder,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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,f.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,f.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,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.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[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},U={base:{getThemeVariables:N},dark:{getThemeVariables:z},default:{getThemeVariables:R},forest:{getThemeVariables:q},neutral:{getThemeVariables:m(t=>{let e=new H;return e.calculate(t),e},"getThemeVariables")}},Y={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,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,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},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,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:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,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,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{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},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,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},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,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,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"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},V={...Y,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:U.default.getThemeVariables(),sequence:{...Y.sequence,messageFont:m(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:m(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:m(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...Y.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Y.c4,useWidth:void 0,personFont:m(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:m(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:m(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:m(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:m(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:m(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:m(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:m(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:m(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:m(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:m(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:m(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:m(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:m(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:m(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:m(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:m(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:m(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:m(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:m(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:m(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:m(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...Y.pie,useWidth:984},xyChart:{...Y.xyChart,useWidth:void 0},requirement:{...Y.requirement,useWidth:void 0},packet:{...Y.packet}},G=m((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:"object"==typeof t[i]&&null!==t[i]?[...r,e+i,...G(t[i],"")]:[...r,e+i],[]),"keyify"),X=new Set(G(V,"")),Q=V,K=m(t=>{if(k.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t)){t.forEach(t=>K(t));return}for(let e of Object.keys(t)){if(k.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!X.has(e)||null==t[e]){k.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){k.debug("sanitizing object",e),K(t[e]);continue}for(let r of["themeCSS","fontFamily","altFontFamily"])e.includes(r)&&(k.debug("sanitizing css option",e),t[e]=J(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}k.debug("After sanitization",t)}},"sanitizeDirective"),J=m(t=>{let e=0,r=0;for(let i of t){if(e{let r=W({},t),i={};for(let t of e)tu(t),i=W(i,t);if(r=W(r,i),i.theme&&i.theme in U){let t=W({},n),e=W(t.themeVariables||{},i.themeVariables);r.theme&&r.theme in U&&(r.themeVariables=U[r.theme].getThemeVariables(e))}return tm(ti=r),ti},"updateCurrentConfig"),ta=m(t=>(te=W({},tt),te=W(te,t),t.theme&&U[t.theme]&&(te.themeVariables=U[t.theme].getThemeVariables(t.themeVariables)),tn(te,tr),te),"setSiteConfig"),to=m(t=>{n=W({},t)},"saveConfigFromInitialize"),ts=m(t=>(te=W(te,t),tn(te,tr),te),"updateSiteConfig"),tl=m(()=>W({},te),"getSiteConfig"),th=m(t=>(tm(t),W(ti,t),tc()),"setConfig"),tc=m(()=>W({},ti),"getConfig"),tu=m(t=>{if(!!t)["secure",...te.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(k.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&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]&&tu(t[e])})},"sanitize"),td=m(t=>{K(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),tr.push(t),tn(te,tr)},"addDirective"),tf=m((t=te)=>{tn(t,tr=[])},"reset"),tp={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},tg={},ty=m(t=>{if(!tg[t])k.warn(tp[t]),tg[t]=!0},"issueWarning"),tm=m(t=>{if(!!t)(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&ty("LAZY_LOAD_DEPRECATED")},"checkConfig"),tx=//gi,tb=m(t=>t?tL(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows");var tk=(i=!1,()=>{!i&&(tC(),i=!0)});function tC(){let t="data-temp-href-target";g.addHook("beforeSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),g.addHook("afterSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))})}m(tC,"setupDompurifyHooks");var tw=m(t=>(tk(),g.sanitize(t)),"removeScript"),t_=m((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;"antiscript"===r||"strict"===r?t=tw(t):"loose"!==r&&(t=tB(t=(t=(t=tL(t)).replace(//g,">")).replace(/=/g,"=")))}return t},"sanitizeMore"),tv=m((t,e)=>t?t=e.dompurifyConfig?g.sanitize(t_(t,e),e.dompurifyConfig).toString():g.sanitize(t_(t,e),{FORBID_TAGS:["style"]}).toString():t,"sanitizeText"),tT=m((t,e)=>"string"==typeof t?tv(t,e):t.flat().map(t=>tv(t,e)),"sanitizeTextOrArray"),tS=m(t=>tx.test(t),"hasBreaks"),tM=m(t=>t.split(tx),"splitBreaks"),tB=m(t=>t.replace(/#br#/g,"
    "),"placeholderToBreak"),tL=m(t=>t.replace(tx,"#br#"),"breakToPlaceholder"),tA=m(t=>{let e="";return t&&(e=(e=(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replaceAll(/\(/g,"\\(")).replaceAll(/\)/g,"\\)")),e},"getUrl"),tF=m(t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),t$=m(function(...t){return Math.max(...t.filter(t=>!isNaN(t)))},"getMax"),tW=m(function(...t){return Math.min(...t.filter(t=>!isNaN(t)))},"getMin"),tE=m(function(t){let e=t.split(/(,)/),r=[];for(let t=0;t0&&t+1Math.max(0,t.split(e).length-1),"countOccurrence"),tO=m((t,e)=>{let r=tD(t,"~"),i=tD(e,"~");return 1===r&&1===i},"shouldCombineSets"),tZ=m(t=>{let e=tD(t,"~"),r=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let i=[...t],n=i.indexOf("~"),a=i.lastIndexOf("~");for(;-1!==n&&-1!==a&&n!==a;)i[n]="<",i[a]=">",n=i.indexOf("~"),a=i.lastIndexOf("~");return r&&i.unshift("~"),i.join("")},"processSet"),tN=m(()=>void 0!==window.MathMLElement,"isMathMLSupported"),tI=/\$\$(.*)\$\$/g,tz=m(t=>(t.match(tI)?.length??0)>0,"hasKatex"),tj=m(async(t,e)=>{t=await tR(t,e);let r=document.createElement("div");r.innerHTML=t,r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";let i=document.querySelector("body");i?.insertAdjacentElement("beforeend",r);let n={width:r.clientWidth,height:r.clientHeight};return r.remove(),n},"calculateMathMLDimensions"),tR=m(async(t,e)=>{if(!tz(t))return t;if(!(tN()||e.legacyMathML||e.forceLegacyMathML))return t.replace(tI,"MathML is unsupported in this environment.");let{default:i}=await r.e("5146").then(r.bind(r,63898)),n=e.forceLegacyMathML||!tN()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(tx).map(t=>tz(t)?`
    ${t}
    `:`
    ${t}
    `).join("").replace(tI,(t,e)=>i.renderToString(e,{throwOnError:!0,displayMode:!0,output:n}).replace(/\n/g," ").replace(//g,""))},"renderKatex"),tP={getRows:tb,sanitizeText:tv,sanitizeTextOrArray:tT,hasBreaks:tS,splitBreaks:tM,lineBreakRegex:tx,removeScript:tw,getUrl:tA,evaluate:tF,getMax:t$,getMin:tW},tq=m(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),tH=m(function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},"calculateSvgSizeAttrs"),tU=m(function(t,e,r,i){tq(t,tH(e,r,i))},"configureSvgSize"),tY=m(function(t,e,r,i){let n=e.node().getBBox(),a=n.width,o=n.height;k.info(`SVG bounds: ${a}x${o}`,n);let s=0,l=0;k.info(`Graph bounds: ${s}x${l}`,t),s=a+2*r,l=o+2*r,k.info(`Calculated bounds: ${s}x${l}`),tU(e,l,s,i);let h=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",h)},"setupGraphViewbox"),tV={},tG=m((t,e,r)=>{let i="";return t in tV&&tV[t]?i=tV[t](r):k.warn(`No theme found for ${t}`),` & { + font-family: ${r.fontFamily}; + font-size: ${r.fontSize}; + fill: ${r.textColor} + } + + /* Classes common for multiple diagrams */ + + & .error-icon { + fill: ${r.errorBkgColor}; + } + & .error-text { + fill: ${r.errorTextColor}; + stroke: ${r.errorTextColor}; + } + + & .edge-thickness-normal { + stroke-width: 1px; + } + & .edge-thickness-thick { + stroke-width: 3.5px + } + & .edge-pattern-solid { + stroke-dasharray: 0; + } + & .edge-thickness-invisible { + stroke-width: 0; + fill: none; + } + & .edge-pattern-dashed{ + stroke-dasharray: 3; + } + .edge-pattern-dotted { + stroke-dasharray: 2; + } + + & .marker { + fill: ${r.lineColor}; + stroke: ${r.lineColor}; + } + & .marker.cross { + stroke: ${r.lineColor}; + } + + & svg { + font-family: ${r.fontFamily}; + font-size: ${r.fontSize}; + } + & p { + margin: 0 + } + + ${i} + + ${e} +`},"getStyles"),tX=m((t,e)=>{void 0!==e&&(tV[t]=e)},"addStylesForDiagram"),tQ=tG,tK={};x(tK,{clear:()=>t5,getAccDescription:()=>t8,getAccTitle:()=>t4,getDiagramTitle:()=>t7,setAccDescription:()=>t6,setAccTitle:()=>t3,setDiagramTitle:()=>t9});var tJ="",t0="",t1="",t2=m(t=>tv(t,tc()),"sanitizeText"),t5=m(()=>{tJ="",t1="",t0=""},"clear"),t3=m(t=>{tJ=t2(t).replace(/^\s+/g,"")},"setAccTitle"),t4=m(()=>tJ,"getAccTitle"),t6=m(t=>{t1=t2(t).replace(/\n\s+/g,"\n")},"setAccDescription"),t8=m(()=>t1,"getAccDescription"),t9=m(t=>{t0=t2(t)},"setDiagramTitle"),t7=m(()=>t0,"getDiagramTitle"),et=tc,ee=th,er=tt,ei=m(t=>tv(t,et()),"sanitizeText"),en=tY,ea=m(()=>tK,"getCommonDb"),eo={},es=m((t,e,r)=>{eo[t]&&k.warn(`Diagram with id ${t} already registered. Overwriting.`),eo[t]=e,r&&A(t,r),tX(t,e.styles),e.injectUtils?.(k,C,et,ei,en,ea(),()=>{})},"registerDiagram"),el=m(t=>{if(t in eo)return eo[t];throw new eh(t)},"getDiagram"),eh=class extends Error{static{m(this,"DiagramNotFoundError")}constructor(t){super(`Diagram ${t} not found.`)}}},16972:function(t,e,r){"use strict";r.d(e,{A:function(){return ej},z:function(){return eR}});var i,n=r(5995);function a(t){return null==t}function o(t){return"object"==typeof t&&null!==t}function s(t){return Array.isArray(t)?t:a(t)?[]:[t]}function l(t,e){var r,i,n,a;if(e)for(r=0,i=(a=Object.keys(e)).length;rs&&(e=i-s+(a=" ... ").length),r-i>s&&(r=i+s-(o=" ...").length),{str:a+t.slice(e,r).replace(/\t/g,"\u2192")+o,pos:i-e+a.length}}function g(t,e){return u.repeat(" ",e-t.length)+t}function y(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 r=/\r?\n|\r|\0/g,i=[0],n=[],a=-1;o=r.exec(t.buffer);)n.push(o.index),i.push(o.index+o[0].length),t.position<=o.index&&a<0&&(a=i.length-2);a<0&&(a=i.length-1);var o,s,l,h="",c=Math.min(t.line+e.linesAfter,n.length).toString().length,d=e.maxLength-(e.indent+c+3);for(s=1;s<=e.linesBefore&&!(a-s<0);s++)l=p(t.buffer,i[a-s],n[a-s],t.position-(i[a]-i[a-s]),d),h=u.repeat(" ",e.indent)+g((t.line-s+1).toString(),c)+" | "+l.str+"\n"+h;for(l=p(t.buffer,i[a],n[a],t.position,d),h+=u.repeat(" ",e.indent)+g((t.line+1).toString(),c)+" | "+l.str+"\n"+(u.repeat("-",e.indent+c+3+l.pos)+"^\n"),s=1;s<=e.linesAfter&&!(a+s>=n.length);s++)l=p(t.buffer,i[a+s],n[a+s],t.position-(i[a]-i[a+s]),d),h+=u.repeat(" ",e.indent)+g((t.line+s+1).toString(),c)+" | "+l.str+"\n";return h.replace(/\n$/,"")}(0,n.eW)(p,"getLine"),(0,n.eW)(g,"padStart"),(0,n.eW)(y,"makeSnippet");var m=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],x=["scalar","sequence","mapping"];function b(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function k(t,e){if(Object.keys(e=e||{}).forEach(function(e){if(-1===m.indexOf(e))throw new f('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=b(e.styleAliases||null),-1===x.indexOf(this.kind))throw new f('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}(0,n.eW)(b,"compileStyleAliases"),(0,n.eW)(k,"Type$1");function C(t,e){var r=[];return t[e].forEach(function(t){var e=r.length;r.forEach(function(r,i){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=i)}),r[e]=t}),r}function w(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,n.eW)(i,"collectType"),t=0,e=arguments.length;t=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,n.eW)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:(0,n.eW)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,n.eW)(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),z=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function j(t){return!!(null!==t&&z.test(t)&&"_"!==t[t.length-1])||!1}function R(t){var e,r;return(r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:r*parseFloat(e,10)}(0,n.eW)(j,"resolveYamlFloat"),(0,n.eW)(R,"constructYamlFloat");var P=/^[-+]?[0-9]+e/;function q(t,e){var r;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(u.isNegativeZero(t))return"-0.0";return r=t.toString(10),P.test(r)?r.replace("e",".e"):r}function H(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||u.isNegativeZero(t))}(0,n.eW)(q,"representYamlFloat"),(0,n.eW)(H,"isFloat");var U=new k("tag:yaml.org,2002:float",{kind:"scalar",resolve:j,construct:R,predicate:H,represent:q,defaultStyle:"lowercase"}),Y=v.extend({implicit:[B,$,I,U]}),V=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),G=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 X(t){return null!==t&&(null!==V.exec(t)||null!==G.exec(t)||!1)}function Q(t){var e,r,i,n,a,o,s,l,h,c=0,u=null;if(null===(e=V.exec(t))&&(e=G.exec(t)),null===e)throw Error("Date resolve error");if(r=+e[1],i=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(r,i,n));if(a=+e[4],o=+e[5],s=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c=+c}return e[9]&&(l=+e[10],u=(60*l+ +(e[11]||0))*6e4,"-"===e[9]&&(u=-u)),h=new Date(Date.UTC(r,i,n,a,o,s,c)),u&&h.setTime(h.getTime()-u),h}function K(t){return t.toISOString()}(0,n.eW)(X,"resolveYamlTimestamp"),(0,n.eW)(Q,"constructYamlTimestamp"),(0,n.eW)(K,"representYamlTimestamp");var J=new k("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:X,construct:Q,instanceOf:Date,represent:K});function tt(t){return"<<"===t||null===t}(0,n.eW)(tt,"resolveYamlMerge");var te=new k("tag:yaml.org,2002:merge",{kind:"scalar",resolve:tt}),tr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function ti(t){if(null===t)return!1;var e,r,i=0,n=t.length;for(r=0;r64)){if(e<0)return!1;i+=6}return i%8==0}function tn(t){var e,r,i=t.replace(/[\r\n=]/g,""),n=i.length,a=0,o=[];for(e=0;e>16&255),o.push(a>>8&255),o.push(255&a)),a=a<<6|tr.indexOf(i.charAt(e));return 0==(r=n%4*6)?(o.push(a>>16&255),o.push(a>>8&255),o.push(255&a)):18===r?(o.push(a>>10&255),o.push(a>>2&255)):12===r&&o.push(a>>4&255),new Uint8Array(o)}function ta(t){var e,r,i="",n=0,a=t.length;for(e=0;e>18&63],i+=tr[n>>12&63],i+=tr[n>>6&63],i+=tr[63&n]),n=(n<<8)+t[e];return 0==(r=a%3)?(i+=tr[n>>18&63],i+=tr[n>>12&63],i+=tr[n>>6&63],i+=tr[63&n]):2===r?(i+=tr[n>>10&63],i+=tr[n>>4&63],i+=tr[n<<2&63],i+=tr[64]):1===r&&(i+=tr[n>>2&63],i+=tr[n<<4&63],i+=tr[64],i+=tr[64]),i}function to(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,n.eW)(ti,"resolveYamlBinary"),(0,n.eW)(tn,"constructYamlBinary"),(0,n.eW)(ta,"representYamlBinary"),(0,n.eW)(to,"isBinary");var ts=new k("tag:yaml.org,2002:binary",{kind:"scalar",resolve:ti,construct:tn,predicate:to,represent:ta}),tl=Object.prototype.hasOwnProperty,th=Object.prototype.toString;function tc(t){if(null===t)return!0;var e,r,i,n,a,o=[];for(e=0,r=t.length;e>10)+55296,(t-65536&1023)+56320)}(0,n.eW)(tB,"_class"),(0,n.eW)(tL,"is_EOL"),(0,n.eW)(tA,"is_WHITE_SPACE"),(0,n.eW)(tF,"is_WS_OR_EOL"),(0,n.eW)(t$,"is_FLOW_INDICATOR"),(0,n.eW)(tW,"fromHexCode"),(0,n.eW)(tE,"escapedHexLen"),(0,n.eW)(tD,"fromDecimalCode"),(0,n.eW)(tO,"simpleEscapeSequence"),(0,n.eW)(tZ,"charFromCodepoint");var tN=Array(256),tI=Array(256);for(i=0;i<256;i++)tN[i]=tO(i)?1:0,tI[i]=tO(i);function tz(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||tC,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 tj(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=y(r),new f(e,r)}function tR(t,e){throw tj(t,e)}function tP(t,e){t.onWarning&&t.onWarning.call(null,tj(t,e))}(0,n.eW)(tz,"State$1"),(0,n.eW)(tj,"generateError"),(0,n.eW)(tR,"throwError"),(0,n.eW)(tP,"throwWarning");var tq={YAML:(0,n.eW)(function(t,e,r){var i,n,a;null!==t.version&&tR(t,"duplication of %YAML directive"),1!==r.length&&tR(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tR(t,"ill-formed argument of the YAML directive"),n=parseInt(i[1],10),a=parseInt(i[2],10),1!==n&&tR(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&tP(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,n.eW)(function(t,e,r){var i,n;2!==r.length&&tR(t,"TAG directive accepts exactly two arguments"),i=r[0],n=r[1],!tS.test(i)&&tR(t,"ill-formed tag handle (first argument) of the TAG directive"),tw.call(t.tagMap,i)&&tR(t,'there is a previously declared suffix for "'+i+'" tag handle'),!tM.test(n)&&tR(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){tR(t,"tag prefix is malformed: "+n)}t.tagMap[i]=n},"handleTagDirective")};function tH(t,e,r,i){var n,a,o,s;if(e1&&(t.result+=u.repeat("\n",e-1))}function tK(t,e,r){var i,n,a,o,s,l,h,c,u=t.kind,d=t.result;if(tF(c=t.input.charCodeAt(t.position))||t$(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(tF(i=t.input.charCodeAt(t.position+1))||r&&t$(i)))return!1;for(t.kind="scalar",t.result="",n=a=t.position,o=!1;0!==c;){if(58===c){if(tF(i=t.input.charCodeAt(t.position+1))||r&&t$(i))break}else if(35===c){if(tF(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&tX(t)||r&&t$(c))break;else if(tL(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,tG(t,!1,-1),t.lineIndent>=e){o=!0,c=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=l,t.lineIndent=h;break}o&&(tH(t,n,a,!1),tQ(t,t.line-s),n=a=t.position,o=!1),!tA(c)&&(a=t.position+1),c=t.input.charCodeAt(++t.position)}return tH(t,n,a,!1),!!t.result||(t.kind=u,t.result=d,!1)}function tJ(t,e){var r,i,n;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,i=n=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(tH(t,i,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;i=t.position,t.position++,n=t.position}else tL(r)?(tH(t,i,n,!0),tQ(t,tG(t,!1,e)),i=n=t.position):t.position===t.lineStart&&tX(t)?tR(t,"unexpected end of the document within a single quoted scalar"):(t.position++,n=t.position);tR(t,"unexpected end of the stream within a single quoted scalar")}function t0(t,e){var r,i,n,a,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return tH(t,r,t.position,!0),t.position++,!0;if(92===s){if(tH(t,r,t.position,!0),tL(s=t.input.charCodeAt(++t.position)))tG(t,!1,e);else if(s<256&&tN[s])t.result+=tI[s],t.position++;else if((o=tE(s))>0){for(n=o,a=0;n>0;n--)(o=tW(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:tR(t,"expected hexadecimal character");t.result+=tZ(a),t.position++}else tR(t,"unknown escape sequence");r=i=t.position}else tL(s)?(tH(t,r,i,!0),tQ(t,tG(t,!1,e)),r=i=t.position):t.position===t.lineStart&&tX(t)?tR(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}tR(t,"unexpected end of the stream within a double quoted scalar")}function t1(t,e){var r,i,n,a,o,s,l,h,c,u,d,f,p=!0,g=t.tag,y=t.anchor,m=Object.create(null);if(91===(f=t.input.charCodeAt(t.position)))o=93,h=!1,a=[];else{if(123!==f)return!1;o=125,h=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),f=t.input.charCodeAt(++t.position);0!==f;){if(tG(t,!0,e),(f=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=g,t.anchor=y,t.kind=h?"mapping":"sequence",t.result=a,!0;p?44===f&&tR(t,"expected the node content, but found ','"):tR(t,"missed comma between flow collection entries");u=c=d=null,s=l=!1,63===f&&tF(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,tG(t,!0,e)),r=t.line,i=t.lineStart,n=t.position,t9(t,e,1,!1,!0),u=t.tag,c=t.result,tG(t,!0,e),f=t.input.charCodeAt(t.position),(l||t.line===r)&&58===f&&(s=!0,f=t.input.charCodeAt(++t.position),tG(t,!0,e),t9(t,e,1,!1,!0),d=t.result),h?tY(t,a,m,u,c,d,r,i,n):s?a.push(tY(t,null,m,u,c,d,r,i,n)):a.push(c),tG(t,!0,e),44===(f=t.input.charCodeAt(t.position))?(p=!0,f=t.input.charCodeAt(++t.position)):p=!1}tR(t,"unexpected end of the stream within a flow collection")}function t2(t,e){var r,i,n,a,o=1,s=!1,l=!1,h=e,c=0,d=!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)1===o?o=43===a?3:2:tR(t,"repeat of a chomping mode identifier");else if((n=tD(a))>=0)0===n?tR(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?tR(t,"repeat of an indentation width identifier"):(h=e+n-1,l=!0);else break;if(tA(a)){do a=t.input.charCodeAt(++t.position);while(tA(a));if(35===a)do a=t.input.charCodeAt(++t.position);while(!tL(a)&&0!==a)}for(;0!==a;){for(tV(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!l||t.lineIndenth&&(h=t.lineIndent),tL(a)){c++;continue}if(t.lineIndente)&&0!==i)tR(t,"bad indentation of a sequence entry");else if(t.lineIndente)&&(m&&(o=t.line,s=t.lineStart,l=t.position),t9(t,e,4,!0,n)&&(m?g=t.result:y=t.result),!m&&(tY(t,d,f,p,g,y,o,s,l),p=g=y=null),tG(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==h)tR(t,"bad indentation of a mapping entry");else if(t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndent tag; it should be "scalar", not "'+t.kind+'"'),l=0,h=t.implicitTypes.length;l"),null!==t.result&&u.kind!==t.kind&&tR(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)):tR(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 t7(t){var e,r,i,n,a=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(n=t.input.charCodeAt(t.position))&&(tG(t,!0,-1),n=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===n);){;for(o=!0,n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!tF(n);)n=t.input.charCodeAt(++t.position);for(r=t.input.slice(e,t.position),i=[],r.length<1&&tR(t,"directive name must not be less than one character in length");0!==n;){for(;tA(n);)n=t.input.charCodeAt(++t.position);if(35===n){do n=t.input.charCodeAt(++t.position);while(0!==n&&!tL(n));break}if(tL(n))break;for(e=t.position;0!==n&&!tF(n);)n=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==n&&tV(t),tw.call(tq,r)?tq[r](t,r,i):tP(t,'unknown document directive "'+r+'"')}if(tG(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,tG(t,!0,-1)):o&&tR(t,"directives end mark is expected"),t9(t,t.lineIndent-1,4,!1,!0),tG(t,!0,-1),t.checkLineBreaks&&tv.test(t.input.slice(a,t.position))&&tP(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&tX(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,tG(t,!0,-1));return}if(!!(t.position=55296&&i<=56319&&e+1=56320&&r<=57343?(i-55296)*1024+r-56320+65536:i}function e_(t){return/^\n* /.test(t)}(0,n.eW)(ed,"State"),(0,n.eW)(ef,"indentString"),(0,n.eW)(ep,"generateNextLine"),(0,n.eW)(eg,"testImplicitResolving"),(0,n.eW)(ey,"isWhitespace"),(0,n.eW)(em,"isPrintable"),(0,n.eW)(ex,"isNsCharOrWhitespace"),(0,n.eW)(eb,"isPlainSafe"),(0,n.eW)(ek,"isPlainSafeFirst"),(0,n.eW)(eC,"isPlainSafeLast"),(0,n.eW)(ew,"codePointAt"),(0,n.eW)(e_,"needIndentIndicator");function ev(t,e,r,i,n,a,o,s){var l,h=0,c=null,u=!1,d=!1,f=-1!==i,p=-1,g=ek(ew(t,0))&&eC(ew(t,t.length-1));if(e||o)for(l=0;l=65536?l+=2:l++){if(!em(h=ew(t,l)))return 5;g=g&&eb(h,c,s),c=h}else{for(l=0;l=65536?l+=2:l++){if(10===(h=ew(t,l)))u=!0,f&&(d=d||l-p-1>i&&" "!==t[p+1],p=l);else if(!em(h))return 5;g=g&&eb(h,c,s),c=h}d=d||f&&l-p-1>i&&" "!==t[p+1]}if(!u&&!d)return!g||o||n(t)?2===a?5:2:1;return r>9&&e_(t)?5:o?2===a?5:2:d?4:3}function eT(t,e,r,i,a){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==el.indexOf(e)||eh.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),l=i||t.flowLevel>-1&&r>=t.flowLevel;function h(e){return eg(t,e)}switch((0,n.eW)(h,"testAmbiguity"),ev(e,l,t.indent,s,h,t.quotingType,t.forceQuotes&&!i,a)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+eS(e,t.indent)+eM(ef(e,o));case 4:return">"+eS(e,t.indent)+eM(ef(eB(e,s),o));case 5:return'"'+eA(e)+'"';default:throw new f("impossible error: invalid scalar style")}}()}function eS(t,e){var r=e_(t)?String(e):"",i="\n"===t[t.length-1],n=i&&("\n"===t[t.length-2]||"\n"===t);return r+(n?"+":i?"":"-")+"\n"}function eM(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function eB(t,e){var r,i,n,a=/(\n+)([^\n]*)/g;for(var o=(r=-1!==(r=t.indexOf("\n"))?r:t.length,a.lastIndex=r,eL(t.slice(0,r),e)),s="\n"===t[0]||" "===t[0];n=a.exec(t);){var l=n[1],h=n[2];i=" "===h[0],o+=l+(s||i||""===h?"":"\n")+eL(h,e),s=i}return o}function eL(t,e){if(""===t||" "===t[0])return t;for(var r=/ [^ ]/g,i,n,a=0,o=0,s=0,l="";i=r.exec(t);)(s=i.index)-a>e&&(n=o>a?o:s,l+="\n"+t.slice(a,n),a=n+1),o=s;return l+="\n",t.length-a>e&&o>a?l+=t.slice(a,o)+"\n"+t.slice(o+1):l+=t.slice(a),l.slice(1)}function eA(t){for(var e,r="",i=0,n=0;n=65536?n+=2:n++)!(e=es[i=ew(t,n)])&&em(i)?(r+=t[n],i>=65536&&(r+=t[n+1])):r+=e||eu(i);return r}function eF(t,e,r){var i,n,a,o="",s=t.tag;for(i=0,n=r.length;i1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),!!eO(t,e,o,!1,!1))s+=t.dump,l+=s}t.tag=h,t.dump="{"+l+"}"}function eE(t,e,r,i){var n,a,o,s,l,h,c="",u=t.tag,d=Object.keys(r);if(!0===t.sortKeys)d.sort();else if("function"==typeof t.sortKeys)d.sort(t.sortKeys);else if(t.sortKeys)throw new f("sortKeys must be a boolean or a function");for(n=0,a=d.length;n1024)&&(t.dump&&10===t.dump.charCodeAt(0)?h+="?":h+="? "),h+=t.dump,l&&(h+=ep(t,e)),!!eO(t,e+1,s,!0,l))t.dump&&10===t.dump.charCodeAt(0)?h+=":":h+=": ",h+=t.dump,c+=h}t.tag=u,t.dump=c||"{}"}function eD(t,e,r){var i,n,a,o,s,l;for(a=0,o=(n=r?t.explicitTypes:t.implicitTypes).length;a tag resolver accepts not "'+l+'" style');t.dump=i}return!0}return!1}function eO(t,e,r,i,n,a,o){t.tag=null,t.dump=r,!eD(t,r,!1)&&eD(t,r,!0);var s=ea.call(t.dump),l=i;i&&(i=t.flowLevel<0||t.flowLevel>e);var h,c,u,d="[object Object]"===s||"[object Array]"===s;if(d&&(u=-1!==(c=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||u||2!==t.indent&&e>0)&&(n=!1),u&&t.usedDuplicates[c])t.dump="*ref_"+c;else{if(d&&u&&!t.usedDuplicates[c]&&(t.usedDuplicates[c]=!0),"[object Object]"===s)i&&0!==Object.keys(t.dump).length?(eE(t,e,t.dump,n),u&&(t.dump="&ref_"+c+t.dump)):(eW(t,e,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object Array]"===s)i&&0!==t.dump.length?(t.noArrayIndent&&!o&&e>0?e$(t,e-1,t.dump,n):e$(t,e,t.dump,n),u&&(t.dump="&ref_"+c+t.dump)):(eF(t,e,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object String]"===s)"?"!==t.tag&&eT(t,t.dump,e,a,l);else{if("[object Undefined]"===s)return!1;if(t.skipInvalid)return!1;throw new f("unacceptable kind of an object to dump "+s)}null!==t.tag&&"?"!==t.tag&&(h=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),h="!"===t.tag[0]?"!"+h:"tag:yaml.org,2002:"===h.slice(0,18)?"!!"+h.slice(18):"!<"+h+">",t.dump=h+" "+t.dump)}return!0}function eZ(t,e){var r,i,n=[],a=[];for(eN(t,n,a),r=0,i=a.length;r{e.arrowTypeStart&&f(t,"start",e.arrowTypeStart,r,i,n),e.arrowTypeEnd&&f(t,"end",e.arrowTypeEnd,r,i,n)},"addEdgeMarkers"),d={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},f=(0,l.eW)((t,e,r,i,n,a)=>{let o=d[r];if(!o){l.cM.warn(`Unknown arrow type: ${r}`);return}t.attr(`marker-${e}`,`url(${i}#${n}_${a}-${o}${"start"===e?"Start":"End"})`)},"addEdgeMarker"),p=new Map,g=new Map,y=(0,l.eW)(()=>{p.clear(),g.clear()},"clear"),m=(0,l.eW)(t=>t?t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),x=(0,l.eW)(async(t,e)=>{let r,n=(0,l.ku)((0,l.nV)().flowchart.htmlLabels),a=await (0,o.rw)(t,e.label,{style:m(e.labelStyle),useHtmlLabels:n,addSvgBackground:!0,isNode:!1});l.cM.info("abc82",e,e.labelType);let s=t.insert("g").attr("class","edgeLabel"),c=s.insert("g").attr("class","label");c.node().appendChild(a);let u=a.getBBox();if(n){let t=a.children[0],e=(0,h.Ys)(a);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}if(c.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"),p.set(e.id,s),e.width=u.width,e.height=u.height,e.startLabelLeft){let n=await (0,i.XO)(e.startLabelLeft,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).startLeft=a,b(r,e.startLabelLeft)}if(e.startLabelRight){let n=await (0,i.XO)(e.startLabelRight,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=a.node().appendChild(n),o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).startRight=a,b(r,e.startLabelRight)}if(e.endLabelLeft){let n=await (0,i.XO)(e.endLabelLeft,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),a.node().appendChild(n),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).endLeft=a,b(r,e.endLabelLeft)}if(e.endLabelRight){let n=await (0,i.XO)(e.endLabelRight,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),a.node().appendChild(n),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).endRight=a,b(r,e.endLabelRight)}return a},"insertEdgeLabel");function b(t,e){(0,l.nV)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,l.eW)(b,"setTerminalWidth");var k=(0,l.eW)((t,e)=>{l.cM.debug("Moving label abc88 ",t.id,t.label,p.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=(0,l.nV)(),{subGraphTitleTotalMargin:n}=(0,a.L)(i);if(t.label){let i=p.get(t.id),a=t.x,o=t.y;if(r){let i=s.w8.calcLabelPosition(r);l.cM.debug("Moving label "+t.label+" from (",a,",",o,") to (",i.x,",",i.y,") abc88"),e.updatedPath&&(a=i.x,o=i.y)}i.attr("transform",`translate(${a}, ${o+n/2})`)}if(t.startLabelLeft){let e=g.get(t.id).startLeft,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.startLabelRight){let e=g.get(t.id).startRight,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelLeft){let e=g.get(t.id).endLeft,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelRight){let e=g.get(t.id).endRight,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}},"positionEdgeLabel"),C=(0,l.eW)((t,e)=>{let r=t.x,i=t.y,n=Math.abs(e.x-r),a=Math.abs(e.y-i),o=t.width/2,s=t.height/2;return n>=o||a>=s},"outsideNode"),w=(0,l.eW)((t,e,r)=>{l.cM.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(e)} + insidePoint : ${JSON.stringify(r)} + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,n=t.y,a=Math.abs(i-r.x),o=t.width/2,s=r.xMath.abs(i-e.x)*h){let t=r.y{l.cM.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],n=!1;return t.forEach(t=>{if(l.cM.info("abc88 checking point",t,e),C(e,t)||n)l.cM.warn("abc88 outside",t,i),i=t,!n&&r.push(t);else{let a=w(e,i,t);l.cM.debug("abc88 inside",t,i,a),l.cM.debug("abc88 intersection",a,e);let o=!1;r.forEach(t=>{o=o||t.x===a.x&&t.y===a.y}),r.some(t=>t.x===a.x&&t.y===a.y)?l.cM.warn("abc88 no intersect",a,r):r.push(a),n=!0}}),l.cM.debug("returning points",r),r},"cutPathAtIntersect");function v(t){let e=[],r=[];for(let i=1;i5&&Math.abs(a.y-n.y)>5?(e.push(a),r.push(i)):n.y===a.y&&a.x===o.x&&Math.abs(a.x-n.x)>5&&Math.abs(a.y-o.y)>5&&(e.push(a),r.push(i))}return{cornerPoints:e,cornerPointPositions:r}}(0,l.eW)(v,"extractCornerPoints");var T=(0,l.eW)(function(t,e,r){let i=e.x-t.x,n=e.y-t.y,a=r/Math.sqrt(i*i+n*n);return{x:e.x-a*i,y:e.y-a*n}},"findAdjacentPoint"),S=(0,l.eW)(function(t){let{cornerPointPositions:e}=v(t),r=[];for(let i=0;i10&&Math.abs(n.y-e.y)>=10){l.cM.debug("Corner point fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y));d=a.x===o.x?{x:h<0?o.x-5+u:o.x+5-u,y:c<0?o.y-u:o.y+u}:{x:h<0?o.x-u:o.x+u,y:c<0?o.y-5+u:o.y+5-u}}else l.cM.debug("Corner point skipping fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y));r.push(d,s)}else r.push(t[i]);return r},"fixCorners"),M=(0,l.eW)(function(t,e,r,i,a,o,s){let d,f;let{handDrawnSeed:p}=(0,l.nV)(),g=e.points,y=!1;o.intersect&&a.intersect&&((g=g.slice(1,e.points.length-1)).unshift(a.intersect(g[0])),l.cM.debug("Last point APA12",e.start,"--\x3e",e.end,g[g.length-1],o,o.intersect(g[g.length-1])),g.push(o.intersect(g[g.length-1]))),e.toCluster&&(l.cM.info("to cluster abc88",r.get(e.toCluster)),g=_(e.points,r.get(e.toCluster).node),y=!0),e.fromCluster&&(l.cM.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(g,null,2)),g=_(g.reverse(),r.get(e.fromCluster).node).reverse(),y=!0);let m=g.filter(t=>!Number.isNaN(t.y));m=S(m);let x=h.$0Z;e.curve&&(x=e.curve);let{x:b,y:k}=(0,n.o)(e),C=(0,h.jvg)().x(b).y(k).curve(x);switch(e.thickness){case"normal":default:d="edge-thickness-normal";break;case"thick":d="edge-thickness-thick";break;case"invisible":d="edge-thickness-invisible"}switch(e.pattern){case"solid":default:d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}let w=C(m),v=Array.isArray(e.style)?e.style:[e.style];if("handDrawn"===e.look){let r=c.Z.svg(t);Object.assign([],m);let i=r.path(w,{roughness:.3,seed:p});d+=" transition";let n=(f=(0,h.Ys)(i).select("path").attr("id",e.id).attr("class"," "+d+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((t,e)=>t+";"+e,""):"")).attr("d");f.attr("d",n),t.node().appendChild(f.node())}else f=t.append("path").attr("d",w).attr("id",e.id).attr("class"," "+d+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((t,e)=>t+";"+e,""):"");let T="";((0,l.nV)().flowchart.arrowMarkerAbsolute||(0,l.nV)().state.arrowMarkerAbsolute)&&(T=(T=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),l.cM.info("arrowTypeStart",e.arrowTypeStart),l.cM.info("arrowTypeEnd",e.arrowTypeEnd),u(f,e,T,s,i);let M={};return y&&(M.updatedPath=g),M.originalPath=e.points,M},"insertEdge"),B=(0,l.eW)((t,e,r,i)=>{e.forEach(e=>{Z[e](t,r,i)})},"insertMarkers"),L=(0,l.eW)((t,e,r)=>{l.cM.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).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",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),A=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).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",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).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")},"composition"),F=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).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",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).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"),$=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).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",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).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")},"dependency"),W=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),E=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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")},"point"),D=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"circle"),O=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"cross"),Z={extension:L,composition:A,aggregation:F,dependency:$,lollipop:W,point:E,circle:D,cross:O,barb:(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb")},N=B},88984:function(t,e,r){"use strict";r.d(e,{_b:function(){return u},jM:function(){return h},sY:function(){return c}});var i=r(33071),n=r(28162),a=r(7690),o=r(5995),s={common:o.SY,getConfig:o.iE,insertCluster:n.us,insertEdge:i.QP,insertEdgeLabel:i.I_,insertMarkers:i.DQ,insertNode:n.Lf,interpolateToCurve:a.le,labelHelper:n.C1,log:o.cM,positionEdgeLabel:i.Jj},l={},h=(0,o.eW)(t=>{for(let e of t)l[e.name]=e},"registerLayoutLoaders");(0,o.eW)(()=>{h([{name:"dagre",loader:(0,o.eW)(async()=>await Promise.all([r.e("5823"),r.e("3389"),r.e("555")]).then(r.bind(r,30714)),"loader")}])},"registerDefaultLayoutLoaders")();var c=(0,o.eW)(async(t,e)=>{if(!(t.layoutAlgorithm in l))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=l[t.layoutAlgorithm];return(await r.loader()).render(t,e,s,{algorithm:r.algorithm})},"render"),u=(0,o.eW)((t="",{fallback:e="dagre"}={})=>{if(t in l)return t;if(e in l)return o.cM.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")},92719:function(t,e,r){"use strict";r.d(e,{QA:()=>tL,rw:()=>tW,EY:()=>t$});var i=r("7690"),n=r("5995"),a=r("27818");function o(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let s=o();function l(t){s=t}let h=/[&<>"']/,c=RegExp(h.source,"g"),u=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,d=RegExp(u.source,"g"),f={"&":"&","<":"<",">":">",'"':""","'":"'"},p=t=>f[t];function g(t,e){if(e){if(h.test(t))return t.replace(c,p)}else if(u.test(t))return t.replace(d,p);return t}let y=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,m=/(^|[^\[])\^/g;function x(t,e){let r="string"==typeof t?t:t.source;e=e||"";let i={replace:(t,e)=>{let n="string"==typeof e?e:e.source;return n=n.replace(m,"$1"),r=r.replace(t,n),i},getRegex:()=>new RegExp(r,e)};return i}function b(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}let k={exec:()=>null};function C(t,e){let r=t.replace(/\|/g,(t,e,r)=>{let i=!1,n=e;for(;--n>=0&&"\\"===r[n];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(!r[0].trim()&&r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),e){if(r.length>e)r.splice(e);else for(;r.length0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:w(t,"\n")}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],r=function(t,e){let r=t.match(/^(\s+)(?:```)/);if(null===r)return e;let i=r[1];return e.split("\n").map(t=>{let e=t.match(/^\s+/);if(null===e)return t;let[r]=e;return r.length>=i.length?t.slice(i.length):t}).join("\n")}(t,e[3]||"");return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(/#$/.test(t)){let e=w(t,"#");this.options.pedantic?t=e.trim():(!e||/ $/.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:w(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=w(e[0],"\n").split("\n"),r="",i="",n=[];for(;t.length>0;){let e,a=!1,o=[];for(e=0;e/.test(t[e]))o.push(t[e]),a=!0;else if(a)break;else o.push(t[e]);t=t.slice(e);let s=o.join("\n"),l=s.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");r=r?`${r} +${s}`:s,i=i?`${i} +${l}`:l;let h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,n,!0),this.lexer.state.top=h,0===t.length)break;let c=n[n.length-1];if(c?.type==="code")break;if(c?.type==="blockquote"){let e=c.raw+"\n"+t.join("\n"),a=this.blockquote(e);n[n.length-1]=a,r=r.substring(0,r.length-c.raw.length)+a.raw,i=i.substring(0,i.length-c.text.length)+a.text;break}else if(c?.type==="list"){let e=c.raw+"\n"+t.join("\n"),a=this.list(e);n[n.length-1]=a,r=r.substring(0,r.length-c.raw.length)+a.raw,i=i.substring(0,i.length-c.raw.length)+a.raw,t=e.substring(n[n.length-1].raw.length).split("\n");continue}}return{type:"blockquote",raw:r,tokens:n,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r=e[1].trim(),i=r.length>1,n={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");let a=RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),o=!1;for(;t;){let r,i=!1,s="",l="";if(!(e=a.exec(t))||this.rules.block.hr.test(t))break;s=e[0],t=t.substring(s.length);let h=e[2].split("\n",1)[0].replace(/^\t+/,t=>" ".repeat(3*t.length)),c=t.split("\n",1)[0],u=!h.trim(),d=0;if(this.options.pedantic?(d=2,l=h.trimStart()):u?d=e[1].length+1:(d=(d=e[2].search(/[^ ]/))>4?1:d,l=h.slice(d),d+=e[1].length),u&&/^ *$/.test(c)&&(s+=c+"\n",t=t.substring(c.length+1),i=!0),!i){let e=RegExp(`^ {0,${Math.min(3,d-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,d-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=RegExp(`^ {0,${Math.min(3,d-1)}}(?:\`\`\`|~~~)`),n=RegExp(`^ {0,${Math.min(3,d-1)}}#`);for(;t;){let a=t.split("\n",1)[0];if(c=a,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),i.test(c)||n.test(c)||e.test(c)||r.test(t))break;if(c.search(/[^ ]/)>=d||!c.trim())l+="\n"+c.slice(d);else{if(u||h.search(/[^ ]/)>=4||i.test(h)||n.test(h)||r.test(h))break;l+="\n"+c}!u&&!c.trim()&&(u=!0),s+=a+"\n",t=t.substring(a.length+1),h=c.slice(d)}}!n.loose&&(o?n.loose=!0:/\n *\n *$/.test(s)&&(o=!0));let f=null;this.options.gfm&&(f=/^\[[ xX]\] /.exec(l))&&(r="[ ] "!==f[0],l=l.replace(/^\[[ xX]\] +/,"")),n.items.push({type:"list_item",raw:s,task:!!f,checked:r,loose:!1,text:l,tokens:[]}),n.raw+=s}n.items[n.items.length-1].raw=n.items[n.items.length-1].raw.trimEnd(),n.items[n.items.length-1].text=n.items[n.items.length-1].text.trimEnd(),n.raw=n.raw.trimEnd();for(let t=0;t"space"===t.type),r=e.length>0&&e.some(t=>/\n.*\n/.test(t.raw));n.loose=r}if(n.loose)for(let t=0;t$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:r,title:i}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!/[:|]/.test(e[2]))return;let r=C(e[1]),i=e[2].replace(/^\||\| *$/g,"").split("|"),n=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[],a={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===i.length){for(let t of i)/^ *-+: *$/.test(t)?a.align.push("right"):/^ *:-+: *$/.test(t)?a.align.push("center"):/^ *:-+ *$/.test(t)?a.align.push("left"):a.align.push(null);for(let t=0;t({text:t,tokens:this.lexer.inline(t),header:!1,align:a.align[e]})));return a}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:g(e[1])}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;let e=w(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t,e){if(-1===t.indexOf(")"))return -1;let r=0;for(let i=0;i-1){let r=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,r).trim(),e[3]=""}}let r=e[2],i="";if(this.options.pedantic){let t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);t&&(r=t[1],i=t[3])}else i=e[3]?e[3].slice(1,-1):"";return r=r.trim(),/^$/.test(t)?r.slice(1):r.slice(1,-1)),_(e,{href:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},e[0],this.lexer)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let t=e[(r[2]||r[1]).replace(/\s+/g," ").toLowerCase()];if(!t){let t=r[0].charAt(0);return{type:"text",raw:t,text:t}}return _(r,t,r[0],this.lexer)}}emStrong(t,e,r=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))){if(!(i[1]||i[2])||!r||this.rules.inline.punctuation.exec(r)){let r=[...i[0]].length-1,n,a,o=r,s=0,l="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+r);null!=(i=l.exec(e));){if(!(n=i[1]||i[2]||i[3]||i[4]||i[5]||i[6]))continue;if(a=[...n].length,i[3]||i[4]){o+=a;continue}if((i[5]||i[6])&&r%3&&!((r+a)%3)){s+=a;continue}if((o-=a)>0)continue;a=Math.min(a,a+o+s);let e=[...i[0]][0].length,l=t.slice(0,r+i.index+e+a);if(Math.min(r,a)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let h=l.slice(2,-2);return{type:"strong",raw:l,text:h,tokens:this.lexer.inlineTokens(h)}}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(/\n/g," "),r=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return r&&i&&(t=t.substring(1,t.length-1)),t=g(t,!0),{type:"codespan",raw:e[0],text:t}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let t,r;return r="@"===e[2]?"mailto:"+(t=g(e[1])):t=g(e[1]),{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,r;if("@"===e[2])r="mailto:"+(t=g(e[0]));else{let i;do i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(i!==e[0]);t=g(e[0]),r="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let t;return t=this.lexer.state.inRawBlock?e[0]:g(e[0]),{type:"text",raw:e[0],text:t}}}}let T=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S=/(?:[*+-]|\d{1,9}[.)])/,M=x(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,S).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),B=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,L=/(?!\s*\])(?:\\.|[^\[\]\\])+/,A=x(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",L).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),F=x(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,S).getRegex(),$="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",W=/|$))/,E=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",W).replace("tag",$).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),D=x(B).replace("hr",T).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),O={blockquote:x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",D).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:A,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:T,html:E,lheading:M,list:F,newline:/^(?: *(?:\n|$))+/,paragraph:D,table:k,text:/^[^\n]+/},Z=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",T).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),N={...O,table:Z,paragraph:x(B).replace("hr",T).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Z).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex()},I={...O,html:x("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",W).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(B).replace("hr",T).replace("heading"," *#{1,6} *[^\n]").replace("lheading",M).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},z=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,j=/^( {2,}|\\)\n(?!\s*$)/,R="\\p{P}\\p{S}",P=x(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,R).getRegex(),q=x(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,R).getRegex(),H=x("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,R).getRegex(),U=x("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,R).getRegex(),Y=x(/\\([punct])/,"gu").replace(/punct/g,R).getRegex(),V=x(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),G=x(W).replace("(?:--\x3e|$)","--\x3e").getRegex(),X=x("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",G).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Q=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,K=x(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Q).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),J=x(/^!?\[(label)\]\[(ref)\]/).replace("label",Q).replace("ref",L).getRegex(),tt=x(/^!?\[(ref)\](?:\[\])?/).replace("ref",L).getRegex(),te=x("reflink|nolink(?!\\()","g").replace("reflink",J).replace("nolink",tt).getRegex(),tr={_backpedal:k,anyPunctuation:Y,autolink:V,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:k,emStrongLDelim:q,emStrongRDelimAst:H,emStrongRDelimUnd:U,escape:z,link:K,nolink:tt,punctuation:P,reflink:J,reflinkSearch:te,tag:X,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\e+" ".repeat(r.length));t;){if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>!!(i=r.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),1===i.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),(n=e[e.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(i);continue}if((i=this.tokenizer.fences(t))||(i=this.tokenizer.heading(t))||(i=this.tokenizer.hr(t))||(i=this.tokenizer.blockquote(t))||(i=this.tokenizer.list(t))||(i=this.tokenizer.html(t))){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),(n=e[e.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):!this.tokens.links[i.tag]&&(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if((i=this.tokenizer.table(t))||(i=this.tokenizer.lheading(t))){t=t.substring(i.raw.length),e.push(i);continue}if(a=t,this.options.extensions&&this.options.extensions.startBlock){let e,r=1/0,i=t.slice(1);this.options.extensions.startBlock.forEach(t=>{"number"==typeof(e=t.call({lexer:this},i))&&e>=0&&(r=Math.min(r,e))}),r<1/0&&r>=0&&(a=t.substring(0,r+1))}if(this.state.top&&(i=this.tokenizer.paragraph(a))){n=e[e.length-1],r&&n?.type==="paragraph"?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(i),r=a.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),(n=e[e.length-1])&&"text"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(i);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let r,i,n,a,o,s;let l=t;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(l));)t.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,a.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;){if(!o&&(s=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(i=>!!(r=i.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),(i=e[e.length-1])&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),(i=e[e.length-1])&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if((r=this.tokenizer.emStrong(t,l,s))||(r=this.tokenizer.codespan(t))||(r=this.tokenizer.br(t))||(r=this.tokenizer.del(t))||(r=this.tokenizer.autolink(t))||!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),e.push(r);continue}if(n=t,this.options.extensions&&this.options.extensions.startInline){let e,r=1/0,i=t.slice(1);this.options.extensions.startInline.forEach(t=>{"number"==typeof(e=t.call({lexer:this},i))&&e>=0&&(r=Math.min(r,e))}),r<1/0&&r>=0&&(n=t.substring(0,r+1))}if(r=this.tokenizer.inlineText(n)){t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(s=r.raw.slice(-1)),o=!0,(i=e[e.length-1])&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}}return e}}class th{options;parser;constructor(t){this.options=t||s}space(t){return""}code({text:t,lang:e,escaped:r}){let i=(e||"").match(/^\S*/)?.[0],n=t.replace(/\n$/,"")+"\n";return i?'
    '+(r?n:g(n,!0))+"
    \n":"
    "+(r?n:g(n,!0))+"
    \n"}blockquote({tokens:t}){let e=this.parser.parse(t);return`
    +${e}
    +`}html({text:t}){return t}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)} +`}hr(t){return"
    \n"}list(t){let e=t.ordered,r=t.start,i="";for(let e=0;e\n"+i+"\n"}listitem(t){let e="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=r+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" "}):e+=r+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • +`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    +`}table(t){let e="",r="";for(let e=0;e${i}`),"\n\n"+e+"\n"+i+"
    \n"}tablerow({text:t}){return` +${t} +`}tablecell(t){let e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+` +`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${t}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:r}){let i=this.parser.parseInline(r),n=b(t);if(null===n)return i;let a='
    "}image({href:t,title:e,text:r}){let i=b(t);if(null===i)return r;t=i;let n=`${r}{let n=t[i].flat(1/0);r=r.concat(this.walkTokens(n,e))}):t.tokens&&(r=r.concat(this.walkTokens(t.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let r=e.renderers[t.name];r?e.renderers[t.name]=function(...e){let i=t.renderer.apply(this,e);return!1===i&&(i=r.apply(this,e)),i}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let r=e[t.level];r?r.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),r.extensions=e),t.renderer){let e=this.defaults.renderer||new th(this.defaults);for(let r in t.renderer){if(!(r in e))throw Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let i=t.renderer[r];!t.useNewRenderer&&(i=this.#e(i,r,e));let n=e[r];e[r]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=n.apply(e,t)),r||""}}r.renderer=e}if(t.tokenizer){let e=this.defaults.tokenizer||new v(this.defaults);for(let r in t.tokenizer){if(!(r in e))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let i=t.tokenizer[r],n=e[r];e[r]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=n.apply(e,t)),r}}r.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new td;for(let r in t.hooks){if(!(r in e))throw Error(`hook '${r}' does not exist`);if("options"===r)continue;let i=t.hooks[r],n=e[r];td.passThroughHooks.has(r)?e[r]=t=>{if(this.defaults.async)return Promise.resolve(i.call(e,t)).then(t=>n.call(e,t));let r=i.call(e,t);return n.call(e,r)}:e[r]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=n.apply(e,t)),r}}r.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,i=t.walkTokens;r.walkTokens=function(t){let r=[];return r.push(i.call(this,t)),e&&(r=r.concat(e.call(this,t))),r}}this.defaults={...this.defaults,...r}}),this}#e(t,e,r){switch(e){case"heading":return function(i){if(!i.type||i.type!==e)return t.apply(this,arguments);return t.call(this,r.parser.parseInline(i.tokens),i.depth,r.parser.parseInline(i.tokens,r.parser.textRenderer).replace(y,(t,e)=>"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))};case"code":return function(r){return r.type&&r.type===e?t.call(this,r.text,r.lang,!!r.escaped):t.apply(this,arguments)};case"table":return function(r){if(!r.type||r.type!==e)return t.apply(this,arguments);let i="",n="";for(let t=0;t0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=t+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=t+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",text:t+" "}):s+=t+" "}s+=this.parser.parse(e.tokens,a),o+=this.listitem({type:"list_item",raw:s,text:s,task:n,checked:!!i,loose:a,tokens:e.tokens})}return t.call(this,o,i,n)};case"html":return function(r){return r.type&&r.type===e?t.call(this,r.text,r.block):t.apply(this,arguments)};case"paragraph":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"escape":case"text":return function(r){return r.type&&r.type===e?t.call(this,r.text):t.apply(this,arguments)};case"link":return function(r){return r.type&&r.type===e?t.call(this,r.href,r.title,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"image":return function(r){return r.type&&r.type===e?t.call(this,r.href,r.title,r.text):t.apply(this,arguments)};case"strong":case"del":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"em":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"codespan":return function(r){return r.type&&r.type===e?t.call(this,r.text):t.apply(this,arguments)}}return t}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return tl.lex(t,e??this.defaults)}parser(t,e){return tu.parse(t,e??this.defaults)}#t(t,e){return(r,i)=>{let n={...i},a={...this.defaults,...n};!0===this.defaults.async&&!1===n.async&&(!a.silent&&console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),a.async=!0);let o=this.#r(!!a.silent,!!a.async);if(null==r)return o(Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return o(Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(a.hooks&&(a.hooks.options=a),a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(r):r).then(e=>t(e,a)).then(t=>a.hooks?a.hooks.processAllTokens(t):t).then(t=>a.walkTokens?Promise.all(this.walkTokens(t,a.walkTokens)).then(()=>t):t).then(t=>e(t,a)).then(t=>a.hooks?a.hooks.postprocess(t):t).catch(o);try{a.hooks&&(r=a.hooks.preprocess(r));let i=t(r,a);a.hooks&&(i=a.hooks.processAllTokens(i)),a.walkTokens&&this.walkTokens(i,a.walkTokens);let n=e(i,a);return a.hooks&&(n=a.hooks.postprocess(n)),n}catch(t){return o(t)}}}#r(t,e){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",t){let t="

    An error occurred:

    "+g(r.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}}let tp=new tf;function tg(t,e){return tp.parse(t,e)}tg.options=tg.setOptions=function(t){return tp.setOptions(t),tg.defaults=tp.defaults,s=tg.defaults,tg},tg.getDefaults=o,tg.defaults=s,tg.use=function(...t){return tp.use(...t),tg.defaults=tp.defaults,s=tg.defaults,tg},tg.walkTokens=function(t,e){return tp.walkTokens(t,e)},tg.parseInline=tp.parseInline,tg.Parser=tu,tg.parser=tu.parse,tg.Renderer=th,tg.TextRenderer=tc,tg.Lexer=tl,tg.lexer=tl.lex,tg.Tokenizer=v,tg.Hooks=td,tg.parse=tg,tg.options,tg.setOptions,tg.use,tg.walkTokens,tg.parseInline,tu.parse,tl.lex;var ty=r("18464");function tm(t,{markdownAutoWrap:e}){let r=t.replace(//g,"\n").replace(/\n{2,}/g,"\n"),i=(0,ty.Z)(r);return!1===e?i.replace(/ /g," "):i}function tx(t,e={}){let r=tm(t,e),i=tg.lexer(r),a=[[]],o=0;function s(t,e="normal"){"text"===t.type?t.text.split("\n").forEach((t,r)=>{0!==r&&(o++,a.push([])),t.split(" ").forEach(t=>{(t=t.replace(/'/g,"'"))&&a[o].push({content:t,type:e})})}):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{s(e,t.type)}):"html"===t.type&&a[o].push({content:t.text,type:"normal"})}return(0,n.eW)(s,"processNode"),i.forEach(t=>{"paragraph"===t.type?t.tokens?.forEach(t=>{s(t)}):"html"===t.type&&a[o].push({content:t.text,type:"normal"})}),a}function tb(t,{markdownAutoWrap:e}={}){let r=tg.lexer(t);function i(t){if("text"===t.type)return!1===e?t.text.replace(/\n */g,"
    ").replace(/ /g," "):t.text.replace(/\n */g,"
    ");if("strong"===t.type)return`${t.tokens?.map(i).join("")}`;if("em"===t.type)return`${t.tokens?.map(i).join("")}`;else if("paragraph"===t.type)return`

    ${t.tokens?.map(i).join("")}

    `;else if("space"===t.type)return"";else if("html"===t.type)return`${t.text}`;else if("escape"===t.type)return t.text;return`Unsupported markdown: ${t.type}`}return(0,n.eW)(i,"output"),r.map(i).join("")}function tk(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function tC(t,e){return tw(t,[],tk(e.content),e.type)}function tw(t,e,r,i){if(0===r.length)return[{content:e.join(""),type:i},{content:"",type:i}];let[n,...a]=r,o=[...e,n];return t([{content:o.join(""),type:i}])?tw(t,o,a,i):(0===e.length&&n&&(e.push(n),r.shift()),[{content:e.join(""),type:i},{content:r.join(""),type:i}])}function t_(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return tv(t,e)}function tv(t,e,r=[],i=[]){if(0===t.length)return i.length>0&&r.push(i),r.length>0?r:[];let n="";" "===t[0].content&&(n=" ",t.shift());let a=t.shift()??{content:" ",type:"normal"},o=[...i];if(""!==n&&o.push({content:n,type:"normal"}),o.push(a),e(o))return tv(t,e,r,o);if(i.length>0)r.push(i),t.unshift(a);else if(a.content){let[i,n]=tC(e,a);r.push([i]),n.content&&t.unshift(n)}return tv(t,e,r)}function tT(t,e){e&&t.attr("style",e)}async function tS(t,e,r,i,a=!1){let o=t.append("foreignObject");o.attr("width",`${10*r}px`),o.attr("height",`${10*r}px`);let s=o.append("xhtml:div"),l=e.label;e.label&&(0,n.l0)(e.label)&&(l=await (0,n.uT)(e.label.replace(n.SY.lineBreakRegex,"\n"),(0,n.nV)()));let h=e.isNode?"nodeLabel":"edgeLabel",c=s.append("span");c.html(l),tT(c,e.labelStyle),c.attr("class",`${h} ${i}`),tT(s,e.labelStyle),s.style("display","table-cell"),s.style("white-space","nowrap"),s.style("line-height","1.5"),s.style("max-width",r+"px"),s.style("text-align","center"),s.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&s.attr("class","labelBkg");let u=s.node().getBoundingClientRect();return u.width===r&&(s.style("display","table"),s.style("white-space","break-spaces"),s.style("width",r+"px"),u=s.node().getBoundingClientRect()),o.node()}function tM(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function tB(t,e,r){let i=t.append("text"),n=tM(i,1,e);tF(n,r);let a=n.node().getComputedTextLength();return i.remove(),a}function tL(t,e,r){let i=t.append("text"),n=tM(i,1,e);tF(n,[{content:r,type:"normal"}]);let a=n.node()?.getBoundingClientRect();return a&&i.remove(),a}function tA(t,e,r,i=!1){let a=e.append("g"),o=a.insert("rect").attr("class","background").attr("style","stroke: none"),s=a.append("text").attr("y","-10.1"),l=0;for(let e of r){let r=(0,n.eW)(e=>tB(a,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:t_(e,r))tF(tM(s,l,1.1),t),l++}if(!i)return s.node();{let t=s.node().getBBox();return o.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),a.node()}}function tF(t,e){t.text(""),e.forEach((e,r)=>{let i=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?i.text(e.content):i.text(" "+e.content)})}function t$(t){return t.replace(/fa[bklrs]?:fa-[\w-]+/g,t=>``)}(0,n.eW)(tm,"preprocessMarkdown"),(0,n.eW)(tx,"markdownToLines"),(0,n.eW)(tb,"markdownToHTML"),(0,n.eW)(tk,"splitTextToChars"),(0,n.eW)(tC,"splitWordToFitWidth"),(0,n.eW)(tw,"splitWordToFitWidthRecursion"),(0,n.eW)(t_,"splitLineToFitWidth"),(0,n.eW)(tv,"splitLineToFitWidthRecursion"),(0,n.eW)(tT,"applyStyle"),(0,n.eW)(tS,"addHtmlSpan"),(0,n.eW)(tM,"createTspan"),(0,n.eW)(tB,"computeWidthOfText"),(0,n.eW)(tL,"computeDimensionOfText"),(0,n.eW)(tA,"createFormattedText"),(0,n.eW)(tF,"updateTextContentAndStyles"),(0,n.eW)(t$,"replaceIconSubstring");var tW=(0,n.eW)(async(t,e="",{style:r="",isTitle:o=!1,classes:s="",useHtmlLabels:l=!0,isNode:h=!0,width:c=200,addSvgBackground:u=!1}={},d)=>{if(n.cM.debug("XYZ createText",e,r,o,s,l,h,"addSvgBackground: ",u),l){let a=tb(e,d),o=t$((0,i.SH)(a)),l=e.replace(/\\\\/g,"\\"),f={isNode:h,label:(0,n.l0)(e)?l:o,labelStyle:r.replace("fill:","color:")};return await tS(t,f,c,s,u)}{let i=tA(c,t,tx(e.replace(//g,"
    ").replace("
    ","
    "),d),!!e&&u);if(h){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ys)(i).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,a.Ys)(i).select("rect").attr("style",t.replace(/background:/g,"fill:"));let e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ys)(i).select("text").attr("style",e)}return i}},"createText")},92453:function(t,e,r){"use strict";r.d(e,{i:function(){return i}});var i="11.4.0"},4511:function(t,e,r){"use strict";r.d(e,{L:function(){return i}});var i=(0,r(5995).eW)(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins")},80587:function(t,e,r){"use strict";r.d(e,{o:function(){return s}});var i=r(5995),n={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function a(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=o(t),e=o(e);let[r,i]=[t.x,t.y],[n,a]=[e.x,e.y],s=n-r,l=a-i;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}(0,i.eW)(a,"calculateDeltaAndAngle");var o=(0,i.eW)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),s=(0,i.eW)(t=>({x:(0,i.eW)(function(e,r,i){let s=0,l=o(i[0]).x=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaX:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let h=Math.abs(o(e).x-o(i[i.length-1]).x),c=Math.abs(o(e).y-o(i[i.length-1]).y),u=Math.abs(o(e).x-o(i[0]).x),d=Math.abs(o(e).y-o(i[0]).y),f=n[t.arrowTypeStart],p=n[t.arrowTypeEnd];if(h0&&c0&&d=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaY:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let h=Math.abs(o(e).y-o(i[i.length-1]).y),c=Math.abs(o(e).x-o(i[i.length-1]).x),u=Math.abs(o(e).y-o(i[0]).y),d=Math.abs(o(e).x-o(i[0]).x),f=n[t.arrowTypeStart],p=n[t.arrowTypeEnd];if(h0&&c0&&d2&&_.push("'"+this.terminals_[F]+"'");$=A.showPosition?"Parse error on line "+(o+1)+":\n"+A.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[C]||C)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==C?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError($,{text:A.match,token:this.terminals_[C]||C,line:A.yylineno,loc:g,expected:_})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+C);switch(k[0]){case 1:s.push(C),n.push(A.yytext),u.push(A.yylloc),s.push(k[1]),C=null,m?(C=m,m=null):(c=A.yyleng,l=A.yytext,o=A.yylineno,g=A.yylloc,h>0&&h--);break;case 2:if(D=this.productions_[k[1]][1],S.$=n[n.length-D],S._$={first_line:u[u.length-(D||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(D||1)].first_column,last_column:u[u.length-1].last_column},f&&(S._$.range=[u[u.length-(D||1)].range[0],u[u.length-1].range[1]]),void 0!==(T=this.performAction.apply(S,[l,c,o,d.yy,k[1],n,u].concat(p))))return T;D&&(s=s.slice(0,-1*D*2),n=n.slice(0,-1*D),u=u.slice(0,-1*D)),s.push(this.productions_[k[1]][0]),n.push(S.$),u.push(S._$),B=a[s[s.length-2]][s[s.length-1]],s.push(B);break;case 3:return!0}}return!0},"parse")},er={EOF:1,parseError:(0,r.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,r.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,r.eW)(function(e){var t=e.length,s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var 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),s.length-1&&(this.yylineno-=s.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.eW)(function(){return this._more=!0,this},"more"),reject:(0,r.eW)(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})},"reject"),less:(0,r.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,r.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,r.eW)(function(e,t){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=e[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+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var u in n)this[u]=n[u];return!1},"test_match"),next:(0,r.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,s,i,n=this._currentRules(),u=0;ut[0].length)){if(t=s,i=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(s,n[u])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,n[i]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,r.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,r.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,r.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,r.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,r.eW)(function(e,t,s,i){switch(s){case 0:return 60;case 1:return 61;case 2:return 62;case 3:return 63;case 4:case 5:case 14:case 31:case 36:case 40:case 47:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 58:case 61:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 35:return 8;case 15:case 16:return 7;case 17:case 37:case 45:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 77;case 23:return 78;case 25:return"STR";case 26:this.begin("string");break;case 27:return 80;case 28:return 55;case 29:return this.begin("namespace"),42;case 30:case 39:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:case 43:return this.popState(),41;case 34:case 44:return"EOF_IN_STRUCT";case 38:return this.begin("class"),46;case 41:return this.popState(),this.popState(),41;case 42:return this.begin("class-body"),39;case 46:return"OPEN_IN_STRUCT";case 48:return"MEMBER";case 49:return 81;case 50:return 73;case 51:return 74;case 52:return 76;case 53:return 52;case 54:return 54;case 55:return 47;case 56:return 48;case 57:return 79;case 59:return"GENERICTYPE";case 60:this.begin("generic");break;case 62:return"BQUOTE_STR";case 63:this.begin("bqstring");break;case 64:case 65:case 66:case 67:return 75;case 68:case 69:return 67;case 70:case 71:return 69;case 72:return 68;case 73:return 66;case 74:return 70;case 75:return 71;case 76:return 72;case 77:return 22;case 78:return 44;case 79:return 99;case 80:return 17;case 81:return"PLUS";case 82:return 85;case 83:return 59;case 84:case 85:return 88;case 86:return 89;case 87:case 88:return"EQUALS";case 89:return 58;case 90:return 12;case 91:return 14;case 92:return"PUNCTUATION";case 93:return 84;case 94:return 101;case 95:case 96:return 87;case 97:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}};function ea(){this.yy={}}return eu.lexer=er,(0,r.eW)(ea,"Parser"),ea.prototype=eu,eu.Parser=ea,new ea}();l.parser=l;var o=l,c=["#","+","~","-",""],h=class{static{(0,r.eW)(this,"ClassMember")}constructor(e,t){this.memberType=t,this.visibility="",this.classifier="",this.text="";let s=(0,r.oO)(e,(0,r.nV)());this.parseMember(s)}getDisplayDetails(){let e=this.visibility+(0,r.UO)(this.id);return"method"===this.memberType&&(e+=`(${(0,r.UO)(this.parameters.trim())})`,this.returnType&&(e+=" : "+(0,r.UO)(this.returnType))),e=e.trim(),{displayText:e,cssStyle:this.parseClassifier()}}parseMember(e){let t="";if("method"===this.memberType){let s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);if(s){let e=s[1]?s[1].trim():"";if(c.includes(e)&&(this.visibility=e),this.id=s[2],this.parameters=s[3]?s[3].trim():"",t=s[4]?s[4].trim():"",this.returnType=s[5]?s[5].trim():"",""===t){let e=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(e)&&(t=e,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let s=e.length,i=e.substring(0,1),n=e.substring(s-1);c.includes(i)&&(this.visibility=i),/[$*]/.exec(n)&&(t=n),this.id=e.substring(""===this.visibility?0:1,""===t?s:s-1)}this.classifier=t,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let s=`${this.visibility?"\\"+this.visibility:""}${(0,r.UO)(this.id)}${"method"===this.memberType?`(${(0,r.UO)(this.parameters)})${this.returnType?" : "+(0,r.UO)(this.returnType):""}`:""}`;this.text=s.replaceAll("<","<").replaceAll(">",">"),this.text.startsWith("\\<")&&(this.text=this.text.replace("\\<","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},p="classId-",A=[],d=new Map,y=new Map,g=[],f=[],E=0,C=new Map,m=0,b=[],k=(0,r.eW)(e=>r.SY.sanitizeText(e,(0,r.nV)()),"sanitizeText"),T=(0,r.eW)(function(e){let t=r.SY.sanitizeText(e,(0,r.nV)()),s="",i=t;if(t.indexOf("~")>0){let e=t.split("~");i=k(e[0]),s=k(e[1])}return{className:i,type:s}},"splitClassNameAndType"),F=(0,r.eW)(function(e,t){let s=r.SY.sanitizeText(e,(0,r.nV)());t&&(t=k(t));let{className:i}=T(s);d.get(i).label=t,d.get(i).text=`${t}${d.get(i).type?`<${d.get(i).type}>`:""}`},"setClassLabel"),D=(0,r.eW)(function(e){let{className:t,type:s}=T(r.SY.sanitizeText(e,(0,r.nV)()));if(d.has(t))return;let i=r.SY.sanitizeText(t,(0,r.nV)());d.set(i,{id:i,type:s,label:i,text:`${i}${s?`<${s}>`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:p+i+"-"+E}),E++},"addClass"),B=(0,r.eW)(function(e,t){let s={id:`interface${f.length}`,label:e,classId:t};f.push(s)},"addInterface"),_=(0,r.eW)(function(e){let t=r.SY.sanitizeText(e,(0,r.nV)());if(d.has(t))return d.get(t).domId;throw Error("Class not found: "+t)},"lookUpDomId"),S=(0,r.eW)(function(){A=[],d=new Map,g=[],f=[],(b=[]).push(Q),C=new Map,m=0,X="TB",(0,r.ZH)()},"clear"),$=(0,r.eW)(function(e){return d.get(e)},"getClass"),N=(0,r.eW)(function(){return d},"getClasses"),L=(0,r.eW)(function(){return A},"getRelations"),x=(0,r.eW)(function(){return g},"getNotes"),O=(0,r.eW)(function(e){r.cM.debug("Adding relation: "+JSON.stringify(e));let t=[j.LOLLIPOP,j.AGGREGATION,j.COMPOSITION,j.DEPENDENCY,j.EXTENSION];e.relation.type1!==j.LOLLIPOP||t.includes(e.relation.type2)?e.relation.type2!==j.LOLLIPOP||t.includes(e.relation.type1)?(D(e.id1),D(e.id2)):(D(e.id1),B(e.id2,e.id1),e.id2=`interface${f.length-1}`):(D(e.id2),B(e.id1,e.id2),e.id1=`interface${f.length-1}`),e.id1=T(e.id1).className,e.id2=T(e.id2).className,e.relationTitle1=r.SY.sanitizeText(e.relationTitle1.trim(),(0,r.nV)()),e.relationTitle2=r.SY.sanitizeText(e.relationTitle2.trim(),(0,r.nV)()),A.push(e)},"addRelation"),I=(0,r.eW)(function(e,t){let s=T(e).className;d.get(s).annotations.push(t)},"addAnnotation"),v=(0,r.eW)(function(e,t){D(e);let s=T(e).className,i=d.get(s);if("string"==typeof t){let e=t.trim();e.startsWith("<<")&&e.endsWith(">>")?i.annotations.push(k(e.substring(2,e.length-2))):e.indexOf(")")>0?i.methods.push(new h(e,"method")):e&&i.members.push(new h(e,"attribute"))}},"addMember"),W=(0,r.eW)(function(e,t){Array.isArray(t)&&(t.reverse(),t.forEach(t=>v(e,t)))},"addMembers"),w=(0,r.eW)(function(e,t){let s={id:`note${g.length}`,class:t,text:e};g.push(s)},"addNote"),R=(0,r.eW)(function(e){return e.startsWith(":")&&(e=e.substring(1)),k(e.trim())},"cleanupLabel"),P=(0,r.eW)(function(e,t){e.split(",").forEach(function(e){let s=e;/\d/.exec(e[0])&&(s=p+s);let i=d.get(s);i&&(i.cssClasses+=" "+t)})},"setCssClass"),M=(0,r.eW)(function(e,t){for(let s of e){let e=y.get(s);void 0===e&&(e={id:s,styles:[],textStyles:[]},y.set(s,e)),t&&t.forEach(function(t){if(/color/.exec(t)){let s=t.replace("fill","bgFill");e.textStyles.push(s)}e.styles.push(t)}),d.forEach(e=>{e.cssClasses.includes(s)&&e.styles.push(...t.flatMap(e=>e.split(",")))})}},"defineClass"),G=(0,r.eW)(function(e,t){e.split(",").forEach(function(e){void 0!==t&&(d.get(e).tooltip=k(t))})},"setTooltip"),U=(0,r.eW)(function(e,t){return t&&C.has(t)?C.get(t).classes.get(e).tooltip:d.get(e).tooltip},"getTooltip"),Y=(0,r.eW)(function(e,t,s){let i=(0,r.nV)();e.split(",").forEach(function(e){let n=e;/\d/.exec(e[0])&&(n=p+n);let r=d.get(n);r&&(r.link=u.w8.formatUrl(t,i),"sandbox"===i.securityLevel?r.linkTarget="_top":"string"==typeof s?r.linkTarget=k(s):r.linkTarget="_blank")}),P(e,"clickable")},"setLink"),V=(0,r.eW)(function(e,t,s){e.split(",").forEach(function(e){z(e,t,s),d.get(e).haveCallback=!0}),P(e,"clickable")},"setClickEvent"),z=(0,r.eW)(function(e,t,s){let i=r.SY.sanitizeText(e,(0,r.nV)());if("loose"===(0,r.nV)().securityLevel&&void 0!==t){if(d.has(i)){let e=_(i),n=[];if("string"==typeof s){n=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e")),e.classed("hover",!0)}).on("mouseout",function(){t.transition().duration(500).style("opacity",0),(0,a.Ys)(this).classed("hover",!1)})},"setupToolTips");b.push(Q);var X="TB",q=(0,r.eW)(()=>X,"getDirection"),H=(0,r.eW)(e=>{X=e},"setDirection"),J=(0,r.eW)(function(e){if(!C.has(e))C.set(e,{id:e,classes:new Map,children:{},domId:p+e+"-"+m}),m++},"addNamespace"),Z=(0,r.eW)(function(e){return C.get(e)},"getNamespace"),ee=(0,r.eW)(function(){return C},"getNamespaces"),et=(0,r.eW)(function(e,t){if(!!C.has(e))for(let s of t){let{className:t}=T(s);d.get(t).parent=e,C.get(e).classes.set(t,d.get(t))}},"addClassesToNamespace"),es=(0,r.eW)(function(e,t){let s=d.get(e);if(!!t&&!!s)for(let e of t)e.includes(",")?s.styles.push(...e.split(",")):s.styles.push(e)},"setCssStyle");function ei(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}(0,r.eW)(ei,"getArrowMarker");var en=(0,r.eW)(()=>{let e=[],t=[],s=(0,r.nV)();for(let t of C.keys()){let i=C.get(t);if(i){let t={id:i.id,label:i.id,isGroup:!0,padding:s.class.padding??16,shape:"rect",cssStyles:["fill: none","stroke: black"],look:s.look};e.push(t)}}for(let t of d.keys()){let i=d.get(t);i&&(i.parentId=i.parent,i.look=s.look,e.push(i))}let i=0;for(let n of g){i++;let u={id:n.id,label:n.text,isGroup:!1,shape:"note",padding:s.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${s.themeVariables.noteBkgColor}`,`stroke: ${s.themeVariables.noteBorderColor}`],look:s.look};e.push(u);let r=d.get(n.class)?.id??"";if(r){let e={id:`edgeNote${i}`,start:n.id,end:r,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:s.look};t.push(e)}}for(let t of f){let i={id:t.id,label:t.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:s.look};e.push(i)}for(let e of(i=0,A)){i++;let n={id:(0,u.Ln)(e.id1,e.id2,{prefix:"id",counter:i}),start:e.id1,end:e.id2,type:"normal",label:e.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:ei(e.relation.type1),arrowTypeEnd:ei(e.relation.type2),startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:e.style||"",pattern:1==e.relation.lineType?"dashed":"solid",look:s.look};t.push(n)}return{nodes:e,edges:t,other:{},config:s,direction:q()}},"getData"),eu={setAccTitle:r.GN,getAccTitle:r.eu,getAccDescription:r.Mx,setAccDescription:r.U$,getConfig:(0,r.eW)(()=>(0,r.nV)().class,"getConfig"),addClass:D,bindFunctions:K,clear:S,getClass:$,getClasses:N,getNotes:x,addAnnotation:I,addNote:w,getRelations:L,addRelation:O,getDirection:q,setDirection:H,addMember:v,addMembers:W,cleanupLabel:R,lineType:{LINE:0,DOTTED_LINE:1},relationType:j,setClickEvent:V,setCssClass:P,defineClass:M,setLink:Y,getTooltip:U,setTooltip:G,lookUpDomId:_,setDiagramTitle:r.g2,getDiagramTitle:r.Kr,setClassLabel:F,addNamespace:J,addClassesToNamespace:et,getNamespace:Z,getNamespaces:ee,setCssStyle:es,getData:en},er=(0,r.eW)(e=>`g.classGroup text { + fill: ${e.nodeBorder||e.classText}; + stroke: none; + font-family: ${e.fontFamily}; + font-size: 10px; + + .title { + font-weight: bolder; + } + +} + +.nodeLabel, .edgeLabel { + color: ${e.classText}; +} +.edgeLabel .label rect { + fill: ${e.mainBkg}; +} +.label text { + fill: ${e.classText}; +} + +.labelBkg { + background: ${e.mainBkg}; +} +.edgeLabel .label span { + background: ${e.mainBkg}; +} + +.classTitle { + font-weight: bolder; +} +.node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + + +.divider { + stroke: ${e.nodeBorder}; + stroke-width: 1; +} + +g.clickable { + cursor: pointer; +} + +g.classGroup rect { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; +} + +g.classGroup line { + stroke: ${e.nodeBorder}; + stroke-width: 1; +} + +.classLabel .box { + stroke: none; + stroke-width: 0; + fill: ${e.mainBkg}; + opacity: 0.5; +} + +.classLabel .label { + fill: ${e.nodeBorder}; + font-size: 10px; +} + +.relation { + stroke: ${e.lineColor}; + stroke-width: 1; + fill: none; +} + +.dashed-line{ + stroke-dasharray: 3; +} + +.dotted-line{ + stroke-dasharray: 1 2; +} + +#compositionStart, .composition { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#compositionEnd, .composition { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#dependencyStart, .dependency { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#dependencyStart, .dependency { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#extensionStart, .extension { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#extensionEnd, .extension { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#aggregationStart, .aggregation { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#aggregationEnd, .aggregation { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#lollipopStart, .lollipop { + fill: ${e.mainBkg} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#lollipopEnd, .lollipop { + fill: ${e.mainBkg} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +.edgeTerminals { + font-size: 11px; + line-height: initial; +} + +.classTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; +} +`,"getStyles"),ea=(0,r.eW)((e,t="TB")=>{if(!e.doc)return t;let s=t;for(let t of e.doc)"dir"===t.stmt&&(s=t.value);return s},"getDir"),el={getClasses:(0,r.eW)(function(e,t){return t.db.getClasses()},"getClasses"),draw:(0,r.eW)(async function(e,t,s,a){r.cM.info("REF0:"),r.cM.info("Drawing class diagram (v3)",t);let{securityLevel:l,state:o,layout:c}=(0,r.nV)(),h=a.db.getData(),p=(0,i.q)(t,l);h.type=a.type,h.layoutAlgorithm=(0,n._b)(c),h.nodeSpacing=o?.nodeSpacing||50,h.rankSpacing=o?.rankSpacing||50,h.markers=["aggregation","extension","composition","dependency","lollipop"],h.diagramId=t,await (0,n.sY)(h,p);u.w8.insertTitle(p,"classDiagramTitleText",o?.titleTopMargin??25,a.db.getDiagramTitle()),(0,i.j)(p,8,"classDiagram",o?.useMaxWidth??!0)},"draw"),getDir:ea}},10626:function(e,t,s){s.d(t,{j:function(){return r},q:function(){return u}});var i=s(5995),n=s(27818),u=(0,i.eW)((e,t)=>{let s;return"sandbox"===t&&(s=(0,n.Ys)("#i"+e)),("sandbox"===t?(0,n.Ys)(s.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id="${e}"]`)},"getDiagramElement"),r=(0,i.eW)((e,t,s,n)=>{e.attr("class",s);let{width:u,height:r,x:o,y:c}=a(e,t);(0,i.v2)(e,r,u,n);let h=l(o,c,u,r,t);e.attr("viewBox",h),i.cM.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),a=(0,i.eW)((e,t)=>{let s=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*t,height:s.height+2*t,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),l=(0,i.eW)((e,t,s,i,n)=>`${e-n} ${t-n} ${s} ${i}`,"createViewBox")}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/3085.8f380f56.js b/pr-preview/pr-3/assets/js/3085.8f380f56.js new file mode 100644 index 0000000..e01fd98 --- /dev/null +++ b/pr-preview/pr-3/assets/js/3085.8f380f56.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3085"],{15970:function(e,n,r){r.d(n,{createInfoServices:function(){return s.M}});var s=r(52730);r(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/3361.71b6c106.js b/pr-preview/pr-3/assets/js/3361.71b6c106.js new file mode 100644 index 0000000..6d5ac87 --- /dev/null +++ b/pr-preview/pr-3/assets/js/3361.71b6c106.js @@ -0,0 +1,116 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3361"],{61135:function(t,e,r){r.d(e,{k:()=>f});var a=r("96498"),i=r("18782"),s=r("87074"),n=r("37627"),l=r("73217"),o=r("82633"),d=r("61925"),c=r("39446"),h=r("53148"),g=r("38610"),u=r("61322"),p=(0,h.Z)(function(t){return(0,g.Z)((0,c.Z)(t,1,u.Z,!0))}),y=r("96433"),b=r("81748");class f{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=a.Z(void 0),this._defaultEdgeLabelFn=a.Z(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),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!i.Z(t)&&(t=a.Z(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return s.Z(this._nodes)}sources(){var t=this;return n.Z(this.nodes(),function(e){return l.Z(t._in[e])})}sinks(){var t=this;return n.Z(this.nodes(),function(e){return l.Z(t._out[e])})}setNodes(t,e){var r=arguments,a=this;return o.Z(t,function(t){r.length>1?a.setNode(t,e):a.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(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]="\0",this._children[t]={},this._children["\0"][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 Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],o.Z(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),o.Z(s.Z(this._in[t]),e),delete this._in[t],delete this._preds[t],o.Z(s.Z(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(d.Z(e))e="\0";else{e+="";for(var r=e;!d.Z(r);r=this.parent(r))if(r===t)throw 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("\0"!==e)return e}}children(t){if(d.Z(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return s.Z(e)}else if("\0"===t)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return s.Z(e)}successors(t){var e=this._sucs[t];if(e)return s.Z(e)}neighbors(t){var e=this.predecessors(t);if(e)return p(e,this.successors(t))}isLeaf(t){var e;return 0===(e=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 r=this;o.Z(this._nodes,function(r,a){t(a)&&e.setNode(a,r)}),o.Z(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var a={};return this._isCompound&&o.Z(e.nodes(),function(t){e.setParent(t,function t(i){var s=r.parent(i);return void 0===s||e.hasNode(s)?(a[i]=s,s):s in a?a[s]:t(s)}(t))}),e}setDefaultEdgeLabel(t){return!i.Z(t)&&(t=a.Z(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return y.Z(this._edgeObjs)}setPath(t,e){var r=this,a=arguments;return b.Z(t,function(t,i){return a.length>1?r.setEdge(t,i,e):r.setEdge(t,i),i}),this}setEdge(){var t,e,r,a,i=!1,s=arguments[0];"object"==typeof s&&null!==s&&"v"in s?(t=s.v,e=s.w,r=s.name,2==arguments.length&&(a=arguments[1],i=!0)):(t=s,e=arguments[1],r=arguments[3],arguments.length>2&&(a=arguments[2],i=!0)),t=""+t,e=""+e,!d.Z(r)&&(r=""+r);var n=w(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,n))return i&&(this._edgeLabels[n]=a),this;if(!d.Z(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[n]=i?a:this._defaultEdgeLabelFn(t,e,r);var l=function(t,e,r,a){var i=""+e,s=""+r;if(!t&&i>s){var n=i;i=s,s=n}var l={v:i,w:s};return a&&(l.name=a),l}(this._isDirected,t,e,r);return t=l.v,e=l.w,Object.freeze(l),this._edgeObjs[n]=l,x(this._preds[e],t),x(this._sucs[t],e),this._in[e][n]=l,this._out[t][n]=l,this._edgeCount++,this}edge(t,e,r){var a=1==arguments.length?_(this._isDirected,arguments[0]):w(this._isDirected,t,e,r);return this._edgeLabels[a]}hasEdge(t,e,r){var a=1==arguments.length?_(this._isDirected,arguments[0]):w(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,a)}removeEdge(t,e,r){var a=1==arguments.length?_(this._isDirected,arguments[0]):w(this._isDirected,t,e,r),i=this._edgeObjs[a];return i&&(t=i.v,e=i.w,delete this._edgeLabels[a],delete this._edgeObjs[a],m(this._preds[e],t),m(this._sucs[t],e),delete this._in[e][a],delete this._out[t][a],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var a=y.Z(r);return e?n.Z(a,function(t){return t.v===e}):a}}outEdges(t,e){var r=this._out[t];if(r){var a=y.Z(r);return e?n.Z(a,function(t){return t.w===e}):a}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function x(t,e){t[e]?t[e]++:t[e]=1}function m(t,e){!--t[e]&&delete t[e]}function w(t,e,r,a){var i=""+e,s=""+r;if(!t&&i>s){var n=i;i=s,s=n}return i+"\x01"+s+"\x01"+(d.Z(a)?"\0":a)}f.prototype._nodeCount=0,f.prototype._edgeCount=0;function _(t,e){return w(t,e.v,e.w,e.name)}},50043:function(t,e,r){r.d(e,{k:function(){return a.k}});var a=r(61135)},73265:function(t,e,r){r.d(e,{Z:function(){return s}});var a=r(53763),i=r(26652);let s=(t,e)=>a.Z.lang.round(i.Z.parse(t)[e])},65521:function(t,e,r){r.d(e,{Z:function(){return i}});var a=r(16124);let i=function(t){return(0,a.Z)(t,4)}},58095:function(t,e,r){r.d(e,{diagram:function(){return ep}});var a=r(80587),i=r(4511),s=r(92719),n=r(7690),l=r(5995),o=r(65521),d=r(73265),c=r(13328),h=r(27818),g=r(50043),u=function(){var t=(0,l.eW)(function(t,e,r,a){for(r=r||{},a=t.length;a--;r[t[a]]=e);return r},"o"),e=[1,7],r=[1,13],a=[1,14],i=[1,15],s=[1,19],n=[1,16],o=[1,17],d=[1,18],c=[8,30],h=[8,21,28,29,30,31,32,40,44,47],g=[1,23],u=[1,24],p=[8,15,16,21,28,29,30,31,32,40,44,47],y=[8,15,16,21,27,28,29,30,31,32,40,44,47],b=[1,49],f={trace:(0,l.eW)(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:(0,l.eW)(function(t,e,r,a,i,s,n){var l=s.length-1;switch(i){case 4:a.getLogger().debug("Rule: separator (NL) ");break;case 5:a.getLogger().debug("Rule: separator (Space) ");break;case 6:a.getLogger().debug("Rule: separator (EOF) ");break;case 7:a.getLogger().debug("Rule: hierarchy: ",s[l-1]),a.setHierarchy(s[l-1]);break;case 8:a.getLogger().debug("Stop NL ");break;case 9:a.getLogger().debug("Stop EOF ");break;case 10:a.getLogger().debug("Stop NL2 ");break;case 11:a.getLogger().debug("Stop EOF2 ");break;case 12:a.getLogger().debug("Rule: statement: ",s[l]),"number"==typeof s[l].length?this.$=s[l]:this.$=[s[l]];break;case 13:a.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:a.getLogger().debug("Rule: link: ",s[l],t),this.$={edgeTypeStr:s[l],label:""};break;case 15:a.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let o=parseInt(s[l]),d=a.generateId();this.$={id:d,type:"space",label:"",width:o,children:[]};break;case 23:a.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let c=a.edgeStrToEdgeData(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",directions:s[l].directions,arrowTypeEnd:c,arrowTypeStart:"arrow_open"},{id:s[l].id,label:s[l].label,type:a.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:a.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:a.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:a.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:a.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:a.getLogger().debug("APA123",this?this:"na"),a.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:"auto"===s[l]?-1:parseInt(s[l])};break;case 27:a.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]),a.generateId(),this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:a.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let h=a.generateId();this.$={id:h,type:"composite",label:"",children:s[l-1]};break;case 29:a.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:a.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:a.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:a.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:a.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:a.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()}}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:a,31:i,32:s,40:n,44:o,47:d},{8:[1,20]},t(c,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:e,28:r,29:a,31:i,32:s,40:n,44:o,47:d}),t(h,[2,16],{14:22,15:g,16:u}),t(h,[2,17]),t(h,[2,18]),t(h,[2,19]),t(h,[2,20]),t(h,[2,21]),t(h,[2,22]),t(p,[2,25],{27:[1,25]}),t(h,[2,26]),{19:26,26:12,32:s},{11:27,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:a,31:i,32:s,40:n,44:o,47:d},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},t(y,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},t(c,[2,13]),{26:35,32:s},{32:[2,14]},{17:[1,36]},t(p,[2,24]),{11:37,13:4,14:22,15:g,16:u,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:a,31:i,32:s,40:n,44:o,47:d},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},t(y,[2,30]),{18:[1,43]},{18:[1,44]},t(p,[2,23]),{18:[1,45]},{30:[1,46]},t(h,[2,28]),t(h,[2,35]),t(h,[2,36]),t(h,[2,37]),t(h,[2,38]),{37:[1,47]},{34:48,35:b},{15:[1,50]},t(h,[2,27]),t(y,[2,33]),{39:[1,51]},{34:52,35:b,39:[2,31]},{32:[2,15]},t(y,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:(0,l.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var r=Error(t);throw r.hash=e,r}},"parseError"),parse:(0,l.eW)(function(t){var e=this,r=[0],a=[],i=[null],s=[],n=this.table,o="",d=0,c=0,h=0,g=s.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(t,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var b=u.yylloc;s.push(b);var f=u.options&&u.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(){var t;return"number"!=typeof(t=a.pop()||u.lex()||1)&&(t instanceof Array&&(t=(a=t).pop()),t=e.symbols_[t]||t),t}(0,l.eW)(function(t){r.length=r.length-2*t,i.length=i.length-t,s.length=s.length-t},"popStack"),(0,l.eW)(x,"lex");for(var m,w,_,k,L,S,E,v,W,D={};;){if(_=r[r.length-1],this.defaultActions[_]?k=this.defaultActions[_]:(null==m&&(m=x()),k=n[_]&&n[_][m]),void 0===k||!k.length||!k[0]){var C="";for(S in W=[],n[_])this.terminals_[S]&&S>2&&W.push("'"+this.terminals_[S]+"'");C=u.showPosition?"Parse error on line "+(d+1)+":\n"+u.showPosition()+"\nExpecting "+W.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(d+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(C,{text:u.match,token:this.terminals_[m]||m,line:u.yylineno,loc:b,expected:W})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+m);switch(k[0]){case 1:r.push(m),i.push(u.yytext),s.push(u.yylloc),r.push(k[1]),m=null,w?(m=w,w=null):(c=u.yyleng,o=u.yytext,d=u.yylineno,b=u.yylloc,h>0&&h--);break;case 2:if(E=this.productions_[k[1]][1],D.$=i[i.length-E],D._$={first_line:s[s.length-(E||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(E||1)].first_column,last_column:s[s.length-1].last_column},f&&(D._$.range=[s[s.length-(E||1)].range[0],s[s.length-1].range[1]]),void 0!==(L=this.performAction.apply(D,[o,c,d,p.yy,k[1],i,s].concat(g))))return L;E&&(r=r.slice(0,-1*E*2),i=i.slice(0,-1*E),s=s.slice(0,-1*E)),r.push(this.productions_[k[1]][0]),i.push(D.$),s.push(D._$),v=n[r[r.length-2]][r[r.length-1]],r.push(v);break;case 3:return!0}}return!0},"parse")},x={EOF:1,parseError:(0,l.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,l.eW)(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},"setInput"),input:(0,l.eW)(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},"input"),unput:(0,l.eW)(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[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},"unput"),more:(0,l.eW)(function(){return this._more=!0,this},"more"),reject:(0,l.eW)(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})},"reject"),less:(0,l.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.eW)(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,"")},"upcomingInput"),showPosition:(0,l.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.eW)(function(t,e){var r,a,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))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var s in i)this[s]=i[s];return!1},"test_match"),next:(0,l.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,r,a,i=this._currentRules(),s=0;se[0].length)){if(e=r,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,i[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[a]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,l.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,l.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,l.eW)(function(t,e,r,a){switch(r){case 0:return 10;case 1:return t.getLogger().debug("Found space-block"),31;case 2:return t.getLogger().debug("Found nl-block"),31;case 3:return t.getLogger().debug("Found space-block"),29;case 4:t.getLogger().debug(".",e.yytext);break;case 5:t.getLogger().debug("_",e.yytext);break;case 6:return 5;case 7:return e.yytext=-1,28;case 8:return e.yytext=e.yytext.replace(/columns\s+/,""),t.getLogger().debug("COLUMNS (LEX)",e.yytext),28;case 9:case 77:case 78:case 100:this.pushState("md_string");break;case 10:return"MD_STR";case 11:case 35:case 80:this.popState();break;case 12:this.pushState("string");break;case 13:t.getLogger().debug("LEX: POPPING STR:",e.yytext),this.popState();break;case 14:return t.getLogger().debug("LEX: STR end:",e.yytext),"STR";case 15:return e.yytext=e.yytext.replace(/space\:/,""),t.getLogger().debug("SPACE NUM (LEX)",e.yytext),21;case 16:return e.yytext="1",t.getLogger().debug("COLUMNS (LEX)",e.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:case 39:case 41:case 42:case 45:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),t.getLogger().debug("Lex: ))"),"NODE_DEND";case 43:return this.popState(),t.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),t.getLogger().debug("Lex: -)"),"NODE_DEND";case 46:return this.popState(),t.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),t.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),t.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:case 50:return this.popState(),t.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),t.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),t.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),t.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),t.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return t.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return t.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return t.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:case 60:case 61:case 62:case 65:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return t.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 63:return t.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return t.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 66:case 67:case 68:case 69:case 70:case 71:case 72:return this.pushState("NODE"),36;case 73:return t.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),t.getLogger().debug("LEX ARR START"),38;case 75:return t.getLogger().debug("Lex: NODE_ID",e.yytext),32;case 76:return t.getLogger().debug("Lex: EOF",e.yytext),8;case 79:return"NODE_DESCR";case 81:t.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:t.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return t.getLogger().debug("LEX: NODE_DESCR:",e.yytext),"NODE_DESCR";case 84:t.getLogger().debug("LEX POPPING"),this.popState();break;case 85:t.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (right): dir:",e.yytext),"DIR";case 87:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (left):",e.yytext),"DIR";case 88:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (x):",e.yytext),"DIR";case 89:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (y):",e.yytext),"DIR";case 90:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (up):",e.yytext),"DIR";case 91:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (down):",e.yytext),"DIR";case 92:return e.yytext="]>",t.getLogger().debug("Lex (ARROW_DIR end):",e.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 94:case 95:case 96:return t.getLogger().debug("Lex: LINK",e.yytext),15;case 97:case 98:case 99:return t.getLogger().debug("Lex: START_LINK",e.yytext),this.pushState("LLABEL"),16;case 101:return t.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 103:case 104:return this.popState(),t.getLogger().debug("Lex: LINK",e.yytext),15;case 105:return t.getLogger().debug("Lex: COLON",e.yytext),e.yytext=e.yytext.slice(1),27}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}};function m(){this.yy={}}return f.lexer=x,(0,l.eW)(m,"Parser"),m.prototype=f,f.Parser=m,new m}();u.parser=u;var p=new Map,y=[],b=new Map,f="color",x="fill",m=(0,l.nV)(),w=new Map,_=(0,l.eW)(t=>l.SY.sanitizeText(t,m),"sanitizeText"),k=(0,l.eW)(function(t,e=""){let r=w.get(t);!r&&(r={id:t,styles:[],textStyles:[]},w.set(t,r)),null!=e&&e.split(",").forEach(t=>{let e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(f).exec(t)){let t=e.replace(x,"bgFill").replace(f,x);r.textStyles.push(t)}r.styles.push(e)})},"addStyleClass"),L=(0,l.eW)(function(t,e=""){let r=p.get(t);null!=e&&(r.styles=e.split(","))},"addStyle2Node"),S=(0,l.eW)(function(t,e){t.split(",").forEach(function(t){let r=p.get(t);if(void 0===r){let e=t.trim();r={id:e,type:"na",children:[]},p.set(e,r)}!r.classes&&(r.classes=[]),r.classes.push(e)})},"setCssClass"),E=(0,l.eW)((t,e)=>{let r=t.flat(),a=[];for(let t of r){if(t.label&&(t.label=_(t.label)),"classDef"===t.type){k(t.id,t.css);continue}if("applyClass"===t.type){S(t.id,t?.styleClass??"");continue}if("applyStyles"===t.type){t?.stylesStr&&L(t.id,t?.stylesStr);continue}if("column-setting"===t.type)e.columns=t.columns??-1;else if("edge"===t.type){let e=(b.get(t.id)??0)+1;b.set(t.id,e),t.id=e+"-"+t.id,y.push(t)}else{!t.label&&("composite"===t.type?t.label="":t.label=t.id);let e=p.get(t.id);if(void 0===e?p.set(t.id,t):("na"!==t.type&&(e.type=t.type),t.label!==t.id&&(e.label=t.label)),t.children&&E(t.children,t),"space"===t.type){let e=t.width??1;for(let r=0;r{l.cM.debug("Clear called"),(0,l.ZH)(),p=new Map([["root",W={id:"root",type:"composite",children:[],columns:-1}]]),v=[],w=new Map,y=[],b=new Map},"clear");function C(t){switch(l.cM.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return l.cM.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function N(t){if(l.cM.debug("typeStr2Type",t),"=="===t)return"thick";return"normal"}function $(t){switch(t.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}}(0,l.eW)(C,"typeStr2Type"),(0,l.eW)(N,"edgeTypeStr2Type"),(0,l.eW)($,"edgeStrToEdgeData");var M=0,T=(0,l.eW)(()=>(M++,"id-"+Math.random().toString(36).substr(2,12)+"-"+M),"generateId"),O=(0,l.eW)(t=>{W.children=t,E(t,W),v=W.children},"setHierarchy"),I=(0,l.eW)(t=>{let e=p.get(t);return e?e.columns?e.columns:e.children?e.children.length:-1:-1},"getColumns"),B=(0,l.eW)(()=>[...p.values()],"getBlocksFlat"),z=(0,l.eW)(()=>v||[],"getBlocks"),R=(0,l.eW)(()=>y,"getEdges"),A=(0,l.eW)(t=>p.get(t),"getBlock"),P=(0,l.eW)(t=>{p.set(t.id,t)},"setBlock"),Y=(0,l.eW)(()=>console,"getLogger"),Z=(0,l.eW)(function(){return w},"getClasses"),F={getConfig:(0,l.eW)(()=>(0,l.iE)().block,"getConfig"),typeStr2Type:C,edgeTypeStr2Type:N,edgeStrToEdgeData:$,getLogger:Y,getBlocksFlat:B,getBlocks:z,getEdges:R,setHierarchy:O,getBlock:A,setBlock:P,getColumns:I,getClasses:Z,clear:D,generateId:T},j=(0,l.eW)((t,e)=>{let r=d.Z,a=r(t,"r"),i=r(t,"g"),s=r(t,"b");return c.Z(a,i,s,e)},"fade"),X=(0,l.eW)(t=>`.label { + font-family: ${t.fontFamily}; + color: ${t.nodeTextColor||t.textColor}; + } + .cluster-label text { + fill: ${t.titleColor}; + } + .cluster-label span,p { + color: ${t.titleColor}; + } + + + + .label text,span,p { + fill: ${t.nodeTextColor||t.textColor}; + color: ${t.nodeTextColor||t.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: 1px; + } + .flowchart-label text { + text-anchor: middle; + } + // .flowchart-label .text-outer-tspan { + // text-anchor: middle; + // } + // .flowchart-label .text-inner-tspan { + // text-anchor: start; + // } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${t.arrowheadColor}; + } + + .edgePath .path { + stroke: ${t.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${t.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${t.edgeLabelBackground}; + rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; + } + + /* For html labels only */ + .labelBkg { + background-color: ${j(t.edgeLabelBackground,.5)}; + // background-color: + } + + .node .cluster { + // fill: ${j(t.mainBkg,.5)}; + fill: ${j(t.clusterBkg,.5)}; + stroke: ${j(t.clusterBorder,.2)}; + box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; + stroke-width: 1px; + } + + .cluster text { + fill: ${t.titleColor}; + } + + .cluster span,p { + color: ${t.titleColor}; + } + /* .cluster div { + color: ${t.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${t.fontFamily}; + font-size: 12px; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } +`,"getStyles"),H=(0,l.eW)((t,e,r,a)=>{e.forEach(e=>{te[e](t,r,a)})},"insertMarkers"),U=(0,l.eW)((t,e,r)=>{l.cM.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).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",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),K=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).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",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).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")},"composition"),V=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).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",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).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"),q=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).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",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).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")},"dependency"),G=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),J=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).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",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).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")},"point"),Q=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"circle"),tt=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"cross"),te={extension:U,composition:K,aggregation:V,dependency:q,lollipop:G,point:J,circle:Q,cross:tt,barb:(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+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")},"barb")},tr=l.nV()?.block?.padding??8;function ta(t,e){if(0===t||!Number.isInteger(t))throw Error("Columns must be an integer !== 0.");if(e<0||!Number.isInteger(e))throw Error("Position must be a non-negative integer."+e);if(t<0)return{px:e,py:0};if(1===t)return{px:0,py:e};let r=Math.floor(e/t);return{px:e%t,py:r}}(0,l.eW)(ta,"calculateBlockPosition");var ti=(0,l.eW)(t=>{let e=0,r=0;for(let a of t.children){let{width:i,height:s,x:n,y:o}=a.size??{width:0,height:0,x:0,y:0};if(l.cM.debug("getMaxChildSize abc95 child:",a.id,"width:",i,"height:",s,"x:",n,"y:",o,a.type),"space"!==a.type)i>e&&(e=i/(t.widthInColumns??1)),s>r&&(r=s)}return{width:e,height:r}},"getMaxChildSize");function ts(t,e,r=0,a=0){l.cM.debug("setBlockSizes abc95 (start)",t.id,t?.size?.x,"block width =",t?.size,"sieblingWidth",r),!t?.size?.width&&(t.size={width:r,height:a,x:0,y:0});let i=0,s=0;if(t.children?.length>0){for(let r of t.children)ts(r,e);let n=ti(t);for(let e of(i=n.width,s=n.height,l.cM.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",i,s),t.children))e.size&&(l.cM.debug(`abc95 Setting size of children of ${t.id} id=${e.id} ${i} ${s} ${JSON.stringify(e.size)}`),e.size.width=i*(e.widthInColumns??1)+tr*((e.widthInColumns??1)-1),e.size.height=s,e.size.x=0,e.size.y=0,l.cM.debug(`abc95 updating size of ${t.id} children child:${e.id} maxWidth:${i} maxHeight:${s}`));for(let r of t.children)ts(r,e,i,s);let o=t.columns??-1,d=0;for(let e of t.children)d+=e.widthInColumns??1;let c=t.children.length;o>0&&o0?Math.min(t.children.length,o):t.children.length;if(e>0){let r=(g-e*tr-tr)/e;for(let e of(l.cM.debug("abc95 (growing to fit) width",t.id,g,t.size?.width,r),t.children))e.size&&(e.size.width=r)}}t.size={width:g,height:u,x:0,y:0}}l.cM.debug("setBlockSizes abc94 (done)",t.id,t?.size?.x,t?.size?.width,t?.size?.y,t?.size?.height)}function tn(t,e){l.cM.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`);let r=t.columns??-1;if(l.cM.debug("layoutBlocks columns abc95",t.id,"=>",r,t),t.children&&t.children.length>0){let a=t?.children[0]?.size?.width??0,i=t.children.length*a+(t.children.length-1)*tr;l.cM.debug("widthOfChildren 88",i,"posX");let s=0;l.cM.debug("abc91 block?.size?.x",t.id,t?.size?.x);let n=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-tr,o=0;for(let a of t.children){if(!a.size)continue;let{width:i,height:d}=a.size,{px:c,py:h}=ta(r,s);if(h!=o&&(o=h,n=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-tr,l.cM.debug("New row in layout for block",t.id," and child ",a.id,o)),l.cM.debug(`abc89 layout blocks (child) id: ${a.id} Pos: ${s} (px, py) ${c},${h} (${t?.size?.x},${t?.size?.y}) parent: ${t.id} width: ${i}${tr}`),t.size){let e=i/2;a.size.x=n+tr+e,l.cM.debug(`abc91 layout blocks (calc) px, pyid:${a.id} startingPos=X${n} new startingPosX${a.size.x} ${e} padding=${tr} width=${i} halfWidth=${e} => x:${a.size.x} y:${a.size.y} ${a.widthInColumns} (width * (child?.w || 1)) / 2 ${i*(a?.widthInColumns??1)/2}`),n=a.size.x+e,a.size.y=t.size.y-t.size.height/2+h*(d+tr)+d/2+tr,l.cM.debug(`abc88 layout blocks (calc) px, pyid:${a.id}startingPosX${n}${tr}${e}=>x:${a.size.x}y:${a.size.y}${a.widthInColumns}(width * (child?.w || 1)) / 2${i*(a?.widthInColumns??1)/2}`)}a.children&&tn(a,e),s+=a?.widthInColumns??1,l.cM.debug("abc88 columnsPos",a,s)}}l.cM.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`)}function tl(t,{minX:e,minY:r,maxX:a,maxY:i}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&"root"!==t.id){let{x:s,y:n,width:l,height:o}=t.size;s-l/2a&&(a=s+l/2),n+o/2>i&&(i=n+o/2)}if(t.children)for(let s of t.children)({minX:e,minY:r,maxX:a,maxY:i}=tl(s,{minX:e,minY:r,maxX:a,maxY:i}));return{minX:e,minY:r,maxX:a,maxY:i}}function to(t){let e=t.getBlock("root");if(!e)return;ts(e,t,0,0),tn(e,t),l.cM.debug("getBlocks",JSON.stringify(e,null,2));let{minX:r,minY:a,maxX:i,maxY:s}=tl(e);return{x:r,y:a,width:i-r,height:s-a}}function td(t,e){e&&t.attr("style",e)}function tc(t){let e=(0,h.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),a=t.label,i=t.isNode?"nodeLabel":"edgeLabel",s=r.append("span");return s.html(a),td(s,t.labelStyle),s.attr("class",i),td(r,t.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}(0,l.eW)(ts,"setBlockSizes"),(0,l.eW)(tn,"layoutBlocks"),(0,l.eW)(tl,"findBounds"),(0,l.eW)(to,"layout"),(0,l.eW)(td,"applyStyle"),(0,l.eW)(tc,"addHtmlLabel");var th=(0,l.eW)((t,e,r,a)=>{let i=t||"";if("object"==typeof i&&(i=i[0]),(0,l.ku)((0,l.nV)().flowchart.htmlLabels))return i=i.replace(/\\n|\n/g,"
    "),l.cM.debug("vertexText"+i),tc({isNode:a,label:(0,s.EY)((0,n.SH)(i)),labelStyle:e.replace("fill:","color:")});{let t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let a=[];for(let e of a="string"==typeof i?i.split(/\\n|\n|/gi):Array.isArray(i)?i:[]){let a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),r?a.setAttribute("class","title-row"):a.setAttribute("class","row"),a.textContent=e.trim(),t.appendChild(a)}return t}},"createLabel"),tg=(0,l.eW)((t,e,r,a,i)=>{e.arrowTypeStart&&tp(t,"start",e.arrowTypeStart,r,a,i),e.arrowTypeEnd&&tp(t,"end",e.arrowTypeEnd,r,a,i)},"addEdgeMarkers"),tu={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},tp=(0,l.eW)((t,e,r,a,i,s)=>{let n=tu[r];if(!n){l.cM.warn(`Unknown arrow type: ${r}`);return}t.attr(`marker-${e}`,`url(${a}#${i}_${s}-${n}${"start"===e?"Start":"End"})`)},"addEdgeMarker"),ty={},tb={},tf=(0,l.eW)((t,e)=>{let r;let a=(0,l.nV)(),i=(0,l.ku)(a.flowchart.htmlLabels),n="markdown"===e.labelType?(0,s.rw)(t,e.label,{style:e.labelStyle,useHtmlLabels:i,addSvgBackground:!0},a):th(e.label,e.labelStyle),o=t.insert("g").attr("class","edgeLabel"),d=o.insert("g").attr("class","label");d.node().appendChild(n);let c=n.getBBox();if(i){let t=n.children[0],e=(0,h.Ys)(n);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}if(d.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),ty[e.id]=o,e.width=c.width,e.height=c.height,e.startLabelLeft){let a=th(e.startLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),!tb[e.id]&&(tb[e.id]={}),tb[e.id].startLeft=i,tx(r,e.startLabelLeft)}if(e.startLabelRight){let a=th(e.startLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=i.node().appendChild(a),s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),!tb[e.id]&&(tb[e.id]={}),tb[e.id].startRight=i,tx(r,e.startLabelRight)}if(e.endLabelLeft){let a=th(e.endLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),i.node().appendChild(a),!tb[e.id]&&(tb[e.id]={}),tb[e.id].endLeft=i,tx(r,e.endLabelLeft)}if(e.endLabelRight){let a=th(e.endLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),i.node().appendChild(a),!tb[e.id]&&(tb[e.id]={}),tb[e.id].endRight=i,tx(r,e.endLabelRight)}return n},"insertEdgeLabel");function tx(t,e){(0,l.nV)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,l.eW)(tx,"setTerminalWidth");var tm=(0,l.eW)((t,e)=>{l.cM.debug("Moving label abc88 ",t.id,t.label,ty[t.id],e);let r=e.updatedPath?e.updatedPath:e.originalPath,a=(0,l.nV)(),{subGraphTitleTotalMargin:s}=(0,i.L)(a);if(t.label){let a=ty[t.id],i=t.x,o=t.y;if(r){let a=n.w8.calcLabelPosition(r);l.cM.debug("Moving label "+t.label+" from (",i,",",o,") to (",a.x,",",a.y,") abc88"),e.updatedPath&&(i=a.x,o=a.y)}a.attr("transform",`translate(${i}, ${o+s/2})`)}if(t.startLabelLeft){let e=tb[t.id].startLeft,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.startLabelRight){let e=tb[t.id].startRight,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.endLabelLeft){let e=tb[t.id].endLeft,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.endLabelRight){let e=tb[t.id].endRight,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}},"positionEdgeLabel"),tw=(0,l.eW)((t,e)=>{let r=t.x,a=t.y,i=Math.abs(e.x-r),s=Math.abs(e.y-a),n=t.width/2,l=t.height/2;return!!(i>=n)||!!(s>=l)||!1},"outsideNode"),t_=(0,l.eW)((t,e,r)=>{l.cM.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(e)} + insidePoint : ${JSON.stringify(r)} + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let a=t.x,i=t.y,s=Math.abs(a-r.x),n=t.width/2,o=r.xMath.abs(a-e.x)*d){let t=r.y{l.cM.debug("abc88 cutPathAtIntersect",t,e);let r=[],a=t[0],i=!1;return t.forEach(t=>{if(tw(e,t)||i)a=t,!i&&r.push(t);else{let s=t_(e,a,t),n=!1;r.forEach(t=>{n=n||t.x===s.x&&t.y===s.y}),!r.some(t=>t.x===s.x&&t.y===s.y)&&r.push(s),i=!0}}),r},"cutPathAtIntersect"),tL=(0,l.eW)(function(t,e,r,i,s,n,o){let d,c=r.points;l.cM.debug("abc88 InsertEdge: edge=",r,"e=",e);let g=!1,u=n.node(e.v);var p=n.node(e.w);p?.intersect&&u?.intersect&&((c=c.slice(1,r.points.length-1)).unshift(u.intersect(c[0])),c.push(p.intersect(c[c.length-1]))),r.toCluster&&(l.cM.debug("to cluster abc88",i[r.toCluster]),c=tk(r.points,i[r.toCluster].node),g=!0),r.fromCluster&&(l.cM.debug("from cluster abc88",i[r.fromCluster]),c=tk(c.reverse(),i[r.fromCluster].node).reverse(),g=!0);let y=c.filter(t=>!Number.isNaN(t.y)),b=h.$0Z;r.curve&&("graph"===s||"flowchart"===s)&&(b=r.curve);let{x:f,y:x}=(0,a.o)(r),m=(0,h.jvg)().x(f).y(x).curve(b);switch(r.thickness){case"normal":d="edge-thickness-normal";break;case"thick":case"invisible":d="edge-thickness-thick";break;default:d=""}switch(r.pattern){case"solid":d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}let w=t.append("path").attr("d",m(y)).attr("id",r.id).attr("class"," "+d+(r.classes?" "+r.classes:"")).attr("style",r.style),_="";((0,l.nV)().flowchart.arrowMarkerAbsolute||(0,l.nV)().state.arrowMarkerAbsolute)&&(_=(_=(_=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),tg(w,r,_,o,s);let k={};return g&&(k.updatedPath=c),k.originalPath=r.points,k},"insertEdge"),tS=(0,l.eW)(t=>{let e=new Set;for(let r of t)switch(r){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(r)}return e},"expandAndDeduplicateDirections"),tE=(0,l.eW)((t,e,r)=>{let a=tS(t),i=e.height+2*r.padding,s=i/2,n=e.width+2*s+r.padding,l=r.padding/2;return a.has("right")&&a.has("left")&&a.has("up")&&a.has("down")?[{x:0,y:0},{x:s,y:0},{x:n/2,y:2*l},{x:n-s,y:0},{x:n,y:0},{x:n,y:-i/3},{x:n+2*l,y:-i/2},{x:n,y:-2*i/3},{x:n,y:-i},{x:n-s,y:-i},{x:n/2,y:-i-2*l},{x:s,y:-i},{x:0,y:-i},{x:0,y:-2*i/3},{x:-2*l,y:-i/2},{x:0,y:-i/3}]:a.has("right")&&a.has("left")&&a.has("up")?[{x:s,y:0},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:s,y:-i},{x:0,y:-i/2}]:a.has("right")&&a.has("left")&&a.has("down")?[{x:0,y:0},{x:s,y:-i},{x:n-s,y:-i},{x:n,y:0}]:a.has("right")&&a.has("up")&&a.has("down")?[{x:0,y:0},{x:n,y:-s},{x:n,y:-i+s},{x:0,y:-i}]:a.has("left")&&a.has("up")&&a.has("down")?[{x:n,y:0},{x:0,y:-s},{x:0,y:-i+s},{x:n,y:-i}]:a.has("right")&&a.has("left")?[{x:s,y:0},{x:s,y:-l},{x:n-s,y:-l},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:n-s,y:-i+l},{x:s,y:-i+l},{x:s,y:-i},{x:0,y:-i/2}]:a.has("up")&&a.has("down")?[{x:n/2,y:0},{x:0,y:-l},{x:s,y:-l},{x:s,y:-i+l},{x:0,y:-i+l},{x:n/2,y:-i},{x:n,y:-i+l},{x:n-s,y:-i+l},{x:n-s,y:-l},{x:n,y:-l}]:a.has("right")&&a.has("up")?[{x:0,y:0},{x:n,y:-s},{x:0,y:-i}]:a.has("right")&&a.has("down")?[{x:0,y:0},{x:n,y:0},{x:0,y:-i}]:a.has("left")&&a.has("up")?[{x:n,y:0},{x:0,y:-s},{x:n,y:-i}]:a.has("left")&&a.has("down")?[{x:n,y:0},{x:0,y:0},{x:n,y:-i}]:a.has("right")?[{x:s,y:-l},{x:s,y:-l},{x:n-s,y:-l},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:n-s,y:-i+l},{x:s,y:-i+l},{x:s,y:-i+l}]:a.has("left")?[{x:s,y:0},{x:s,y:-l},{x:n-s,y:-l},{x:n-s,y:-i+l},{x:s,y:-i+l},{x:s,y:-i},{x:0,y:-i/2}]:a.has("up")?[{x:s,y:-l},{x:s,y:-i+l},{x:0,y:-i+l},{x:n/2,y:-i},{x:n,y:-i+l},{x:n-s,y:-i+l},{x:n-s,y:-l}]:a.has("down")?[{x:n/2,y:0},{x:0,y:-l},{x:s,y:-l},{x:s,y:-i+l},{x:n-s,y:-i+l},{x:n-s,y:-l},{x:n,y:-l}]:[{x:0,y:0}]},"getArrowPoints");function tv(t,e){return t.intersect(e)}(0,l.eW)(tv,"intersectNode");function tW(t,e,r,a){var i=t.x,s=t.y,n=i-a.x,l=s-a.y,o=Math.sqrt(e*e*l*l+r*r*n*n),d=Math.abs(e*r*n/o);a.x0}(0,l.eW)(tC,"intersectLine"),(0,l.eW)(tN,"sameSign");function t$(t,e,r){var a=t.x,i=t.y,s=[],n=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach(function(t){n=Math.min(n,t.x),l=Math.min(l,t.y)}):(n=Math.min(n,e.x),l=Math.min(l,e.y));for(var o=a-t.width/2-n,d=i-t.height/2-l,c=0;c1&&s.sort(function(t,e){var a=t.x-r.x,i=t.y-r.y,s=Math.sqrt(a*a+i*i),n=e.x-r.x,l=e.y-r.y,o=Math.sqrt(n*n+l*l);return s{var r,a,i=t.x,s=t.y,n=e.x-i,l=e.y-s,o=t.width/2,d=t.height/2;return Math.abs(l)*o>Math.abs(n)*d?(l<0&&(d=-d),r=0===l?0:d*n/l,a=d):(n<0&&(o=-o),r=o,a=0===n?0:o*l/n),{x:i+r,y:s+a}},"intersectRect"),tT=tD,tO=t$,tI=tM,tB=(0,l.eW)(async(t,e,r,a)=>{let i,o,d;let c=(0,l.nV)(),g=e.useHtmlLabels||(0,l.ku)(c.flowchart.htmlLabels);i=r?r:"node default";let u=t.insert("g").attr("class",i).attr("id",e.domId||e.id),p=u.insert("g").attr("class","label").attr("style",e.labelStyle);o=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];let y=p.node(),b=(d="markdown"===e.labelType?(0,s.rw)(p,(0,l.oO)((0,n.SH)(o),c),{useHtmlLabels:g,width:e.width||c.flowchart.wrappingWidth,classes:"markdown-node-label"},c):y.appendChild(th((0,l.oO)((0,n.SH)(o),c),e.labelStyle,!1,a))).getBBox(),f=e.padding/2;if((0,l.ku)(c.flowchart.htmlLabels)){let t=d.children[0],e=(0,h.Ys)(d),r=t.getElementsByTagName("img");if(r){let t=""===o.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function a(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=c.fontSize?c.fontSize:window.getComputedStyle(document.body).fontSize,r=5*parseInt(t,10)+"px";e.style.minWidth=r,e.style.maxWidth=r}else e.style.width="100%";r(e)}(0,l.eW)(a,"setupImage"),setTimeout(()=>{e.complete&&a()}),e.addEventListener("error",a),e.addEventListener("load",a)})))}b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}return g?p.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"):p.attr("transform","translate(0, "+-b.height/2+")"),e.centerLabel&&p.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"),p.insert("rect",":first-child"),{shapeSvg:u,bbox:b,halfPadding:f,label:p}},"labelHelper"),tz=(0,l.eW)((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds");function tR(t,e,r,a){return t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}(0,l.eW)(tR,"insertPolygonShape");var tA=(0,l.eW)(async(t,e)=>{!(e.useHtmlLabels||(0,l.nV)().flowchart.htmlLabels)&&(e.centerLabel=!0);let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,"node "+e.classes,!0);l.cM.info("Classes = ",e.classes);let s=r.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-a.width/2-i).attr("y",-a.height/2-i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),tz(e,s),e.intersect=function(t){return tI(e,t)},r},"note"),tP=(0,l.eW)(t=>t?" "+t:"","formatClass"),tY=(0,l.eW)((t,e)=>`${e||"node default"}${tP(t.classes)} ${tP(t.class)}`,"getClassesFromNode"),tZ=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=i+(a.height+e.padding),n=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}];l.cM.info("Question main (Circle)");let o=tR(r,s,s,n);return o.attr("style",e.style),tz(e,o),e.intersect=function(t){return l.cM.warn("Intersect called"),tO(e,n,t)},r},"question"),tF=(0,l.eW)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(t){return t.x+","+t.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return tT(e,14,t)},r},"choice"),tj=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.height+e.padding,s=i/4,n=a.width+2*s+e.padding,l=[{x:s,y:0},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:s,y:-i},{x:0,y:-i/2}],o=tR(r,n,i,l);return o.attr("style",e.style),tz(e,o),e.intersect=function(t){return tO(e,l,t)},r},"hexagon"),tX=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,void 0,!0),i=a.height+2*e.padding,s=i/2,n=a.width+2*s+e.padding,l=tE(e.directions,a,e),o=tR(r,n,i,l);return o.attr("style",e.style),tz(e,o),e.intersect=function(t){return tO(e,l,t)},r},"block_arrow"),tH=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-s/2,y:0},{x:i,y:0},{x:i,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return tR(r,i,s,n).attr("style",e.style),e.width=i+s,e.height=s,e.intersect=function(t){return tO(e,n,t)},r},"rect_left_inv_arrow"),tU=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-2*s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"lean_right"),tK=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:2*s/6,y:0},{x:i+s/6,y:0},{x:i-2*s/6,y:-s},{x:-s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"lean_left"),tV=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-2*s/6,y:0},{x:i+2*s/6,y:0},{x:i-s/6,y:-s},{x:s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"trapezoid"),tq=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:-2*s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"inv_trapezoid"),tG=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:0,y:0},{x:i+s/2,y:0},{x:i,y:-s/2},{x:i+s/2,y:-s},{x:0,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"rect_right_inv_arrow"),tJ=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=i/2,n=s/(2.5+i/50),l=a.height+n+e.padding,o=r.attr("label-offset-y",n).insert("path",":first-child").attr("style",e.style).attr("d","M 0,"+n+" a "+s+","+n+" 0,0,0 "+i+" 0 a "+s+","+n+" 0,0,0 "+-i+" 0 l 0,"+l+" a "+s+","+n+" 0,0,0 "+i+" 0 l 0,"+-l).attr("transform","translate("+-i/2+","+-(l/2+n)+")");return tz(e,o),e.intersect=function(t){let r=tI(e,t),a=r.x-e.x;if(0!=s&&(Math.abs(a)e.height/2-n)){let i=n*n*(1-a*a/(s*s));0!=i&&(i=Math.sqrt(i)),i=n-i,t.y-e.y>0&&(i=-i),r.y+=i}return r},r},"cylinder"),tQ=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,"node "+e.classes+" "+e.class,!0),s=r.insert("rect",":first-child"),n=e.positioned?e.width:a.width+e.padding,o=e.positioned?e.height:a.height+e.padding,d=e.positioned?-n/2:-a.width/2-i,c=e.positioned?-o/2:-a.height/2-i;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",c).attr("width",n).attr("height",o),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t2(s,e.props.borders,n,o),t.delete("borders")),t.forEach(t=>{l.cM.warn(`Unknown node property ${t}`)})}return tz(e,s),e.intersect=function(t){return tI(e,t)},r},"rect"),t0=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,"node "+e.classes,!0),s=r.insert("rect",":first-child"),n=e.positioned?e.width:a.width+e.padding,o=e.positioned?e.height:a.height+e.padding,d=e.positioned?-n/2:-a.width/2-i,c=e.positioned?-o/2:-a.height/2-i;if(s.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",c).attr("width",n).attr("height",o),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t2(s,e.props.borders,n,o),t.delete("borders")),t.forEach(t=>{l.cM.warn(`Unknown node property ${t}`)})}return tz(e,s),e.intersect=function(t){return tI(e,t)},r},"composite"),t1=(0,l.eW)(async(t,e)=>{let{shapeSvg:r}=await tB(t,e,"label",!0);l.cM.trace("Classes = ",e.class);let a=r.insert("rect",":first-child");if(a.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t2(a,e.props.borders,0,0),t.delete("borders")),t.forEach(t=>{l.cM.warn(`Unknown node property ${t}`)})}return tz(e,a),e.intersect=function(t){return tI(e,t)},r},"labelRect");function t2(t,e,r,a){let i=[],s=(0,l.eW)(t=>{i.push(t,0)},"addBorder"),n=(0,l.eW)(t=>{i.push(0,t)},"skipBorder");e.includes("t")?(l.cM.debug("add top border"),s(r)):n(r),e.includes("r")?(l.cM.debug("add right border"),s(a)):n(a),e.includes("b")?(l.cM.debug("add bottom border"),s(r)):n(r),e.includes("l")?(l.cM.debug("add left border"),s(a)):n(a),t.attr("stroke-dasharray",i.join(" "))}(0,l.eW)(t2,"applyNodePropertyBorders");var t3=(0,l.eW)((t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";let a=t.insert("g").attr("class",r).attr("id",e.domId||e.id),i=a.insert("rect",":first-child"),s=a.insert("line"),n=a.insert("g").attr("class","label"),o=e.labelText.flat?e.labelText.flat():e.labelText,d="";d="object"==typeof o?o[0]:o,l.cM.info("Label text abc79",d,o,"object"==typeof o);let c=n.node().appendChild(th(d,e.labelStyle,!0,!0)),g={width:0,height:0};if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=c.children[0],e=(0,h.Ys)(c);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}l.cM.info("Text 2",o);let u=o.slice(1,o.length),p=c.getBBox(),y=n.node().appendChild(th(u.join?u.join("
    "):u,e.labelStyle,!0,!0));if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=y.children[0],e=(0,h.Ys)(y);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}let b=e.padding/2;return(0,h.Ys)(y).attr("transform","translate( "+(g.width>p.width?0:(p.width-g.width)/2)+", "+(p.height+b+5)+")"),(0,h.Ys)(c).attr("transform","translate( "+(g.width{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.height+e.padding,s=a.width+i/4+e.padding,n=r.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-s/2).attr("y",-i/2).attr("width",s).attr("height",i);return tz(e,n),e.intersect=function(t){return tI(e,t)},r},"stadium"),t8=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,tY(e,void 0),!0),s=r.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),l.cM.info("Circle main"),tz(e,s),e.intersect=function(t){return l.cM.info("Circle intersect",e,a.width/2+i,t),tT(e,a.width/2+i,t)},r},"circle"),t5=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,tY(e,void 0),!0),s=r.insert("g",":first-child"),n=s.insert("circle"),o=s.insert("circle");return s.attr("class",e.class),n.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i+5).attr("width",a.width+e.padding+10).attr("height",a.height+e.padding+10),o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),l.cM.info("DoubleCircle main"),tz(e,n),e.intersect=function(t){return l.cM.info("DoubleCircle intersect",e,a.width/2+i+5,t),tT(e,a.width/2+i+5,t)},r},"doublecircle"),t9=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:0,y:0},{x:i,y:0},{x:i,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"subroutine"),t6=(0,l.eW)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),tz(e,a),e.intersect=function(t){return tT(e,7,t)},r},"start"),t7=(0,l.eW)((t,e,r)=>{let a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=70,s=10;return"LR"===r&&(i=10,s=70),tz(e,a.append("rect").attr("x",-1*i/2).attr("y",-1*s/2).attr("width",i).attr("height",s).attr("class","fork-join")),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return tI(e,t)},a},"forkJoin"),et=(0,l.eW)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child"),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),a.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),tz(e,i),e.intersect=function(t){return tT(e,7,t)},r},"end"),ee={rhombus:tZ,composite:t0,question:tZ,rect:tQ,labelRect:t1,rectWithTitle:t3,choice:tF,circle:t8,doublecircle:t5,stadium:t4,hexagon:tj,block_arrow:tX,rect_left_inv_arrow:tH,lean_right:tU,lean_left:tK,trapezoid:tV,inv_trapezoid:tq,rect_right_inv_arrow:tG,cylinder:tJ,start:t6,end:et,note:tA,subroutine:t9,fork:t7,join:t7,class_box:(0,l.eW)((t,e)=>{let r;let a=e.padding/2;r=e.classes?"node "+e.classes:"node default";let i=t.insert("g").attr("class",r).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),n=i.insert("line"),o=i.insert("line"),d=0,c=4,g=i.insert("g").attr("class","label"),u=0,p=e.classData.annotations?.[0],y=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",b=g.node().appendChild(th(y,e.labelStyle,!0,!0)),f=b.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=b.children[0],e=(0,h.Ys)(b);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}e.classData.annotations[0]&&(c+=f.height+4,d+=f.width);let x=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,l.nV)().flowchart.htmlLabels?x+="<"+e.classData.type+">":x+="<"+e.classData.type+">");let m=g.node().appendChild(th(x,e.labelStyle,!0,!0));(0,h.Ys)(m).attr("class","classTitle");let w=m.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=m.children[0],e=(0,h.Ys)(m);w=t.getBoundingClientRect(),e.attr("width",w.width),e.attr("height",w.height)}c+=w.height+4,w.width>d&&(d=w.width);let _=[];e.classData.members.forEach(t=>{let r=t.getDisplayDetails(),a=r.displayText;(0,l.nV)().flowchart.htmlLabels&&(a=a.replace(//g,">"));let i=g.node().appendChild(th(a,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=i.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=i.children[0],e=(0,h.Ys)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>d&&(d=s.width),c+=s.height+4,_.push(i)}),c+=8;let k=[];if(e.classData.methods.forEach(t=>{let r=t.getDisplayDetails(),a=r.displayText;(0,l.nV)().flowchart.htmlLabels&&(a=a.replace(//g,">"));let i=g.node().appendChild(th(a,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=i.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=i.children[0],e=(0,h.Ys)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>d&&(d=s.width),c+=s.height+4,k.push(i)}),c+=8,p){let t=(d-f.width)/2;(0,h.Ys)(b).attr("transform","translate( "+(-1*d/2+t)+", "+-1*c/2+")"),u=f.height+4}let L=(d-w.width)/2;return(0,h.Ys)(m).attr("transform","translate( "+(-1*d/2+L)+", "+(-1*c/2+u)+")"),u+=w.height+4,n.attr("class","divider").attr("x1",-d/2-a).attr("x2",d/2+a).attr("y1",-c/2-a+8+u).attr("y2",-c/2-a+8+u),u+=8,_.forEach(t=>{(0,h.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*c/2+u+4)+")");let e=t?.getBBox();u+=(e?.height??0)+4}),u+=8,o.attr("class","divider").attr("x1",-d/2-a).attr("x2",d/2+a).attr("y1",-c/2-a+8+u).attr("y2",-c/2-a+8+u),u+=8,k.forEach(t=>{(0,h.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*c/2+u)+")");let e=t?.getBBox();u+=(e?.height??0)+4}),s.attr("style",e.style).attr("class","outer title-state").attr("x",-d/2-a).attr("y",-(c/2)-a).attr("width",d+e.padding).attr("height",c+e.padding),tz(e,s),e.intersect=function(t){return tI(e,t)},i},"class_box")},er={},ea=(0,l.eW)(async(t,e,r)=>{let a,i;if(e.link){let s;"sandbox"===(0,l.nV)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),a=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),i=await ee[e.shape](a,e,r)}else a=i=await ee[e.shape](t,e,r);return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),er[e.id]=a,e.haveCallback&&er[e.id].attr("class",er[e.id].attr("class")+" clickable"),a},"insertNode"),ei=(0,l.eW)(t=>{let e=er[t.id];l.cM.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode");function es(t,e,r=!1){let a;let i="default";(t?.classes?.length||0)>0&&(i=(t?.classes??[]).join(" ")),i+=" flowchart-label";let s=0,o="";switch(t.type){case"round":s=5,o="rect";break;case"composite":s=0,o="composite",a=0;break;case"square":case"group":default:o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"block_arrow":o="block_arrow";break;case"odd":case"rect_left_inv_arrow":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"doublecircle":o="doublecircle"}let d=(0,n.be)(t?.styles??[]),c=t.label,h=t.size??{width:0,height:0,x:0,y:0};return{labelStyle:d.labelStyle,shape:o,labelText:c,rx:s,ry:s,class:i,style:d.style,id:t.id,directions:t.directions,width:h.width,height:h.height,x:h.x,y:h.y,positioned:r,intersect:void 0,type:t.type,padding:a??l.iE()?.block?.padding??0}}async function en(t,e,r){let a=es(e,r,!1);if("group"===a.type)return;let i=(0,l.iE)(),s=await ea(t,a,{config:i}),n=s.node().getBBox(),o=r.getBlock(a.id);o.size={width:n.width,height:n.height,x:0,y:0,node:s},r.setBlock(o),s.remove()}async function el(t,e,r){let a=es(e,r,!0);if("space"!==r.getBlock(a.id).type){let r=(0,l.iE)();await ea(t,a,{config:r}),e.intersect=a?.intersect,ei(a)}}async function eo(t,e,r,a){for(let i of e)await a(t,i,r),i.children&&await eo(t,i.children,r,a)}async function ed(t,e,r){await eo(t,e,r,en)}async function ec(t,e,r){await eo(t,e,r,el)}async function eh(t,e,r,a,i){let s=new g.k({multigraph:!0,compound:!0});for(let t of(s.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8}),r))t.size&&s.setNode(t.id,{width:t.size.width,height:t.size.height,intersect:t.intersect});for(let r of e)if(r.start&&r.end){let e=a.getBlock(r.start),n=a.getBlock(r.end);if(e?.size&&n?.size){let a=e.size,l=n.size,o=[{x:a.x,y:a.y},{x:a.x+(l.x-a.x)/2,y:a.y+(l.y-a.y)/2},{x:l.x,y:l.y}];tL(t,{v:r.start,w:r.end,name:r.id},{...r,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:o,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",s,i),r.label&&(await tf(t,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:o,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),tm({...r,x:o[1].x,y:o[1].y},{originalPath:o}))}}}(0,l.eW)(es,"getNodeFromBlock"),(0,l.eW)(en,"calculateBlockSize"),(0,l.eW)(el,"insertBlockPositioned"),(0,l.eW)(eo,"performOperations"),(0,l.eW)(ed,"calculateBlockSizes"),(0,l.eW)(ec,"insertBlocks"),(0,l.eW)(eh,"insertEdges");var eg=(0,l.eW)(function(t,e){return e.db.getClasses()},"getClasses"),eu=(0,l.eW)(async function(t,e,r,a){let i;let{securityLevel:s,block:n}=(0,l.iE)(),o=a.db;"sandbox"===s&&(i=(0,h.Ys)("#i"+e));let d="sandbox"===s?(0,h.Ys)(i.nodes()[0].contentDocument.body):(0,h.Ys)("body"),c="sandbox"===s?d.select(`[id="${e}"]`):(0,h.Ys)(`[id="${e}"]`);H(c,["point","circle","cross"],a.type,e);let g=o.getBlocks(),u=o.getBlocksFlat(),p=o.getEdges(),y=c.insert("g").attr("class","block");await ed(y,g,o);let b=to(o);if(await ec(y,g,o),await eh(y,p,u,o,e),b){let t=Math.max(1,Math.round(.125*(b.width/b.height))),e=b.height+t+10,r=b.width+10,{useMaxWidth:a}=n;(0,l.v2)(c,e,r,!!a),l.cM.debug("Here Bounds",b,b),c.attr("viewBox",`${b.x-5} ${b.y-5} ${b.width+10} ${b.height+10}`)}},"draw"),ep={parser:u,db:F,renderer:{draw:eu,getClasses:eg},styles:X}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/3389.3f02942d.js b/pr-preview/pr-3/assets/js/3389.3f02942d.js new file mode 100644 index 0000000..c13bc42 --- /dev/null +++ b/pr-preview/pr-3/assets/js/3389.3f02942d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3389"],{49235:function(e,n,t){t.d(n,{bK:()=>nr});var r,o,i=t("82633"),u=t("22501"),a=0;let s=function(e){var n=++a;return(0,u.Z)(e)+n};var d=t("96498"),c=t("71134"),h=t("97345"),f=Math.ceil,l=Math.max;let v=function(e,n,t,r){for(var o=-1,i=l(f((n-e)/(t||1)),0),u=Array(i);i--;)u[r?i:++o]=e,e+=t;return u};var g=t("8417"),p=t("29116");let Z=function(e,n,t){return t&&"number"!=typeof t&&(0,g.Z)(e,n,t)&&(n=t=void 0),e=(0,p.Z)(e),void 0===n?(n=e,e=0):n=(0,p.Z)(n),t=void 0===t?en};var R=t("94675");let T=function(e){return e&&e.length?(0,L.Z)(e,R.Z,M):void 0};var F=t("59685"),D=t("49790"),S=t("50929"),G=t("69547");let V=function(e,n){var t={};return n=(0,G.Z)(n,3),(0,S.Z)(e,function(e,r,o){(0,D.Z)(t,r,n(e,r,o))}),t};var B=t("61925"),q=t("50540"),Y=t("29072"),z=t("52434");let A=function(){return z.Z.Date.now()};function $(e,n,t,r){var o;do o=s(r);while(e.hasNode(o));return t.dummy=n,e.setNode(o,t),o}function J(e){var n=new w.k({multigraph:e.isMultigraph()}).setGraph(e.graph());return i.Z(e.nodes(),function(t){!e.children(t).length&&n.setNode(t,e.node(t))}),i.Z(e.edges(),function(t){n.setEdge(t,e.edge(t))}),n}function K(e,n){var t,r,o=e.x,i=e.y,u=n.x-o,a=n.y-i,s=e.width/2,d=e.height/2;if(!u&&!a)throw Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*s>Math.abs(u)*d?(a<0&&(d=-d),t=d*u/a,r=d):(u<0&&(s=-s),t=s,r=s*a/u),{x:o+t,y:i+r}}function H(e){var n=h.Z(Z(U(e)+1),function(){return[]});return i.Z(e.nodes(),function(t){var r=e.node(t),o=r.rank;!B.Z(o)&&(n[o][r.order]=t)}),n}function Q(e,n,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),$(e,"border",o,n)}function U(e){return T(h.Z(e.nodes(),function(n){var t=e.node(n).rank;if(!B.Z(t))return t}))}function W(e,n){var t=A();try{return n()}finally{console.log(e+" time: "+(A()-t)+"ms")}}function X(e,n){return n()}function ee(e,n,t,r,o,i){var u=o[n][i-1],a=$(e,"border",{width:0,height:0,rank:i,borderType:n},t);o[n][i]=a,e.setParent(a,r),u&&e.setEdge(u,a,{weight:1})}function en(e){i.Z(e.nodes(),function(n){et(e.node(n))}),i.Z(e.edges(),function(n){et(e.edge(n))})}function et(e){var n=e.width;e.width=e.height,e.height=n}function er(e){e.y=-e.y}function eo(e){var n=e.x;e.x=e.y,e.y=n}var ei=t("23278");let eu=function(e,n){return e&&e.length?(0,L.Z)(e,(0,G.Z)(n,2),ei.Z):void 0};function ea(e){var n={};i.Z(e.sources(),function t(r){var o=e.node(r);if(Object.prototype.hasOwnProperty.call(n,r))return o.rank;n[r]=!0;var i=q.Z(h.Z(e.outEdges(r),function(n){return t(n.w)-e.edge(n).minlen}));return(i===Number.POSITIVE_INFINITY||null==i)&&(i=0),o.rank=i})}function es(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function ed(e){var n,t,r=new w.k({directed:!1}),o=e.nodes()[0],u=e.nodeCount();for(r.setNode(o,{});function(e,n){return i.Z(e.nodes(),function t(r){i.Z(n.nodeEdges(r),function(o){var i=o.v,u=r===i?o.w:i;!e.hasNode(u)&&!es(n,o)&&(e.setNode(u,{}),e.setEdge(r,u,{}),t(u))})}),e.nodeCount()}(r,e)u.lim&&(a=u,s=!0),eu(eh.Z(n.edges(),function(n){return s===eB(e,e.node(n.v),a)&&s!==eB(e,e.node(n.w),a)}),function(e){return es(n,e)})}function eV(e,n,t,r){var o=t.v,u=t.w;e.removeEdge(o,u),e.setEdge(r.v,r.w,{}),eD(e),eT(e,n),function(e,n){var t=ec.Z(e.nodes(),function(e){return!n.node(e).parent}),r=eM(e,t,"pre");r=r.slice(1),i.Z(r,function(t){var r=e.node(t).parent,o=n.edge(t,r),i=!1;!o&&(o=n.edge(r,t),i=!0),n.node(t).rank=n.node(r).rank+(i?o.minlen:-o.minlen)})}(e,n)}function eB(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}var eq=ea;function eY(e){eR(e)}var ez=t("96433"),eA=t("81748"),e$=t("16124"),eJ=t("89774");let eK=function(e,n,t){for(var r=-1,o=e.length,i=n.length,u={};++rn||i&&u&&s&&!a&&!d||r&&u&&s||!t&&s||!o)return 1;if(!r&&!i&&!d&&e=a)return s;return s*("desc"==t[r]?-1:1)}}return e.index-n.index},e7=function(e,n,t){n=n.length?(0,eQ.Z)(n,function(e){return(0,eL.Z)(e)?function(n){return(0,eU.Z)(n,1===e.length?e[0]:e)}:e}):[R.Z];var r=-1;return n=(0,eQ.Z)(n,(0,e0.Z)(G.Z)),eX((0,eW.Z)(e,function(e,t,o){return{criteria:(0,eQ.Z)(n,function(n){return n(e)}),index:++r,value:e}}),function(e,n){return e3(e,n,t)})};var e8=(0,t("53148").Z)(function(e,n){if(null==e)return[];var t=n.length;return t>1&&(0,g.Z)(e,n[0],n[1])?n=[]:t>2&&(0,g.Z)(n[0],n[1],n[2])&&(n=[n[0]]),e7(e,(0,eH.Z)(n,1),[])});function e4(e,n,t){for(var r;n.length&&(r=F.Z(n)).i<=t;)n.pop(),e.push(r.vs),t++;return t}function e9(e,n,t){return h.Z(n,function(n){var r,o,u,a,d;return r=e,o=n,u=t,a=function(e){for(var n;e.hasNode(n=s("_root")););return n}(r),d=new w.k({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(e){return r.node(e)}),i.Z(r.nodes(),function(e){var n=r.node(e),t=r.parent(e);(n.rank===o||n.minRank<=o&&o<=n.maxRank)&&(d.setNode(e),d.setParent(e,t||a),i.Z(r[u](e),function(n){var t=n.v===e?n.w:n.v,o=d.edge(t,e),i=B.Z(o)?0:o.weight;d.setEdge(t,e,{weight:r.edge(n).weight+i})}),Object.prototype.hasOwnProperty.call(n,"minRank")&&d.setNode(e,{borderLeft:n.borderLeft[o],borderRight:n.borderRight[o]}))}),d})}function e5(e,n){i.Z(n,function(n){i.Z(n,function(n,t){e.node(n).order=t})})}var e6=t("93898"),ne=t("45467"),nn=t("40038");function nt(e,n,t){if(n>t){var r=n;n=t,t=r}var o=e[n];!o&&(e[n]=o={}),o[t]=!0}function nr(e,n){var t=n&&n.debugTiming?W:X;t("layout",()=>{var n=t(" buildLayoutGraph",()=>(function(e){var n=new w.k({multigraph:!0,compound:!0}),t=nl(e.graph());return n.setGraph(x.Z({},ni,nf(t,no),C(t,nu))),i.Z(e.nodes(),function(t){var r=nl(e.node(t));n.setNode(t,I.Z(nf(r,na),ns)),n.setParent(t,e.parent(t))}),i.Z(e.edges(),function(t){var r=nl(e.edge(t));n.setEdge(t,x.Z({},nc,nf(r,nd),C(r,nh)))}),n})(e));t(" runLayout",()=>(function(e,n){n(" makeSpaceForEdgeLabels",()=>(function(e){var n=e.graph();n.ranksep/=2,i.Z(e.edges(),function(t){var r=e.edge(t);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})})(e)),n(" removeSelfEdges",()=>(function(e){i.Z(e.edges(),function(n){if(n.v===n.w){var t=e.node(n.v);!t.selfEdges&&(t.selfEdges=[]),t.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})})(e)),n(" acyclic",()=>{var n,t;return t="greedy"===(n=e).graph().acyclicer?function(e,n){if(1>=e.nodeCount())return[];var t=function(e,n){var t=new w.k,r=0,o=0;i.Z(e.nodes(),function(e){t.setNode(e,{v:e,in:0,out:0})}),i.Z(e.edges(),function(e){var i=t.edge(e.v,e.w)||0,u=n(e);t.setEdge(e.v,e.w,i+u),o=Math.max(o,t.node(e.v).out+=u),r=Math.max(r,t.node(e.w).in+=u)});var u=Z(o+r+3).map(function(){return new b}),a=r+1;return i.Z(t.nodes(),function(e){E(u,a,t.node(e))}),{graph:t,buckets:u,zeroIdx:a}}(e,n||_),r=function(e,n,t){for(var r,o=[],i=n[n.length-1],u=n[0];e.nodeCount();){for(;r=u.dequeue();)k(e,n,t,r);for(;r=i.dequeue();)k(e,n,t,r);if(e.nodeCount()){for(var a=n.length-2;a>0;--a)if(r=n[a].dequeue()){o=o.concat(k(e,n,t,r,!0));break}}}return o}(t.graph,t.buckets,t.zeroIdx);return c.Z(h.Z(r,function(n){return e.outEdges(n.v,n.w)}))}(n,function(e){return function(n){return e.edge(n).weight}}(n)):function(e){var n=[],t={},r={};return i.Z(e.nodes(),function o(u){if(!Object.prototype.hasOwnProperty.call(r,u))r[u]=!0,t[u]=!0,i.Z(e.outEdges(u),function(e){Object.prototype.hasOwnProperty.call(t,e.w)?n.push(e):o(e.w)}),delete t[u]}),n}(n),void i.Z(t,function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,s("rev"))})}),n(" nestingGraph.run",()=>{var n,t,r,o,u,a;return t=$(n=e,"root",{},"_root"),r=function(e){var n={};return i.Z(e.children(),function(t){!function t(r,o){var u=e.children(r);u&&u.length&&i.Z(u,function(e){t(e,o+1)}),n[r]=o}(t,1)}),n}(n),u=2*(o=T(ez.Z(r))-1)+1,n.graph().nestingRoot=t,i.Z(n.edges(),function(e){n.edge(e).minlen*=u}),a=function(e){return eA.Z(e.edges(),function(n,t){return n+e.edge(t).weight},0)}(n)+1,void(i.Z(n.children(),function(e){(function e(n,t,r,o,u,a,s){var d=n.children(s);if(!d.length){s!==t&&n.setEdge(t,s,{weight:0,minlen:r});return}var c=Q(n,"_bt"),h=Q(n,"_bb"),f=n.node(s);n.setParent(c,s),f.borderTop=c,n.setParent(h,s),f.borderBottom=h,i.Z(d,function(i){e(n,t,r,o,u,a,i);var d=n.node(i),f=d.borderTop?d.borderTop:i,l=d.borderBottom?d.borderBottom:i,v=d.borderTop?o:2*o,g=f!==l?1:u-a[s]+1;n.setEdge(c,f,{weight:v,minlen:g,nestingEdge:!0}),n.setEdge(l,h,{weight:v,minlen:g,nestingEdge:!0})}),!n.parent(s)&&n.setEdge(t,c,{weight:0,minlen:u+a[s]})})(n,t,u,a,o,r,e)}),n.graph().nodeRankFactor=u)}),n(" rank",()=>(function(e){switch(e.graph().ranker){case"network-simplex":default:(function(e){eR(e)})(e);break;case"tight-tree":(function(e){ea(e),ed(e)})(e);break;case"longest-path":eq(e)}})(J(e))),n(" injectEdgeLabelProxies",()=>(function(e){i.Z(e.edges(),function(n){var t=e.edge(n);if(t.width&&t.height){var r=e.node(n.v),o={rank:(e.node(n.w).rank-r.rank)/2+r.rank,e:n};$(e,"edge-proxy",o,"_ep")}})})(e)),n(" removeEmptyRanks",()=>{var n,t,r,o,u;return n=e,t=q.Z(h.Z(n.nodes(),function(e){return n.node(e).rank})),r=[],i.Z(n.nodes(),function(e){var o=n.node(e).rank-t;!r[o]&&(r[o]=[]),r[o].push(e)}),o=0,u=n.graph().nodeRankFactor,void i.Z(r,function(e,t){B.Z(e)&&t%u!=0?--o:o&&i.Z(e,function(e){n.node(e).rank+=o})})}),n(" nestingGraph.cleanup",()=>{var n,t;return t=(n=e).graph(),void(n.removeNode(t.nestingRoot),delete t.nestingRoot,i.Z(n.edges(),function(e){n.edge(e).nestingEdge&&n.removeEdge(e)}))}),n(" normalizeRanks",()=>{var n,t;return n=e,t=q.Z(h.Z(n.nodes(),function(e){return n.node(e).rank})),void i.Z(n.nodes(),function(e){var r=n.node(e);Y.Z(r,"rank")&&(r.rank-=t)})}),n(" assignRankMinMax",()=>(function(e){var n=0;i.Z(e.nodes(),function(t){var r=e.node(t);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,n=T(n,r.maxRank))}),e.graph().maxRank=n})(e)),n(" removeEdgeLabelProxies",()=>(function(e){i.Z(e.nodes(),function(n){var t=e.node(n);"edge-proxy"===t.dummy&&(e.edge(t.e).labelRank=t.rank,e.removeNode(n))})})(e)),n(" normalize.run",()=>{var n;(n=e).graph().dummyChains=[],i.Z(n.edges(),function(e){(function(e,n){var t,r,o=n.v,i=e.node(o).rank,u=n.w,a=e.node(u).rank,s=n.name,d=e.edge(n),c=d.labelRank;if(a!==i+1){e.removeEdge(n);var h=void 0;for(r=0,++i;i{var n,t;return t=function(e){var n={},t=0;return i.Z(e.children(),function r(o){var u=t;i.Z(e.children(o),r),n[o]={low:u,lim:t++}}),n}(n=e),void i.Z(n.graph().dummyChains,function(e){for(var r=n.node(e),o=r.edgeObj,i=function(e,n,t,r){var o,i,u=[],a=[],s=Math.min(n[t].low,n[r].low),d=Math.max(n[t].lim,n[r].lim);o=t;do o=e.parent(o),u.push(o);while(o&&(n[o].low>s||d>n[o].lim));for(i=o,o=r;(o=e.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,t,o.v,o.w),u=i.path,a=i.lca,s=0,d=u[0],c=!0;e!==o.w;){if(r=n.node(e),c){for(;(d=u[s])!==a&&n.node(d).maxRank{var n;return n=e,void i.Z(n.children(),function e(t){var r=n.children(t),o=n.node(t);if(r.length&&i.Z(r,e),Object.prototype.hasOwnProperty.call(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var u=o.minRank,a=o.maxRank+1;u(function(e){var n=U(e),t=e9(e,Z(1,n+1),"inEdges"),r=e9(e,Z(n-1,-1,-1),"outEdges");var o=(u=e,a={},s=eh.Z(u.nodes(),function(e){return!u.children(e).length}),d=T(h.Z(s,function(e){return u.node(e).rank})),f=h.Z(Z(d+1),function(){return[]}),l=e8(s,function(e){return u.node(e).rank}),i.Z(l,function e(n){!Y.Z(a,n)&&(a[n]=!0,f[u.node(n).rank].push(n),i.Z(u.successors(n),e))}),f);e5(e,o);for(var u,a,s,d,f,l,v,g=Number.POSITIVE_INFINITY,p=0,b=0;b<4;++p,++b){(function(e,n){var t=new w.k;i.Z(e,function(e){var r,o,u,a,s,d=e.graph().root,f=function e(n,t,r,o){var u,a,s,d,f,l,v,g,p,Z,w,b,m,y,_,k,E,x,O=n.children(t),N=n.node(t),P=N?N.borderLeft:void 0,j=N?N.borderRight:void 0,I={};P&&(O=eh.Z(O,function(e){return e!==P&&e!==j}));var L=(u=n,a=O,h.Z(a,function(e){var n=u.inEdges(e);if(!n.length)return{v:e};var t=eA.Z(n,function(e,n){var t=u.edge(n),r=u.node(n.v);return{sum:e.sum+t.weight*r.order,weight:e.weight+t.weight}},{sum:0,weight:0});return{v:e,barycenter:t.sum/t.weight,weight:t.weight}}));i.Z(L,function(t){if(n.children(t.v).length){var i=e(n,t.v,r,o);I[t.v]=i,Object.prototype.hasOwnProperty.call(i,"barycenter")&&function(e,n){B.Z(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}(t,i)}});var M=(s=L,d=r,f={},i.Z(s,function(e,n){var t=f[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:n};!B.Z(e.barycenter)&&(t.barycenter=e.barycenter,t.weight=e.weight)}),i.Z(d.edges(),function(e){var n=f[e.v],t=f[e.w];!B.Z(n)&&!B.Z(t)&&(t.indegree++,n.out.push(f[e.w]))}),function(e){for(var n=[];e.length;){var t=e.pop();n.push(t),i.Z(t.in.reverse(),function(e){return function(n){if(!n.merged)(B.Z(n.barycenter)||B.Z(e.barycenter)||n.barycenter>=e.barycenter)&&function(e,n){var t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight),n.weight&&(t+=n.barycenter*n.weight,r+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}(t)),i.Z(t.out,function(n){return function(t){t.in.push(n),0==--t.indegree&&e.push(t)}}(t))}return h.Z(eh.Z(n,function(e){return!e.merged}),function(e){return C(e,["vs","i","barycenter","weight"])})}(eh.Z(f,function(e){return!e.indegree})));(function(e,n){i.Z(e,function(e){e.vs=c.Z(e.vs.map(function(e){return n[e]?n[e].vs:e}))})})(M,I);var R=(l=M,v=o,b=(w=(g=l,p=function(e){return Object.prototype.hasOwnProperty.call(e,"barycenter")},Z={lhs:[],rhs:[]},i.Z(g,function(e){p(e)?Z.lhs.push(e):Z.rhs.push(e)}),Z)).lhs,m=e8(w.rhs,function(e){return-e.i}),y=[],_=0,k=0,E=0,b.sort(function(e){return function(n,t){return n.barycentert.barycenter?1:e?t.i-n.i:n.i-t.i}}(!!v)),E=e4(y,m,E),i.Z(b,function(e){E+=e.vs.length,y.push(e.vs),_+=e.barycenter*e.weight,k+=e.weight,E=e4(y,m,E)}),x={vs:c.Z(y)},k&&(x.barycenter=_/k,x.weight=k),x);if(P&&(R.vs=c.Z([P,R.vs,j]),n.predecessors(P).length)){var T=n.node(n.predecessors(P)[0]),F=n.node(n.predecessors(j)[0]);!Object.prototype.hasOwnProperty.call(R,"barycenter")&&(R.barycenter=0,R.weight=0),R.barycenter=(R.barycenter*R.weight+T.order+F.order)/(R.weight+2),R.weight+=2}return R}(e,d,t,n);i.Z(f.vs,function(n,t){e.node(n).order=t}),r=e,o=t,u=f.vs,s={},i.Z(u,function(e){for(var n,t,i=r.parent(e);i;){if((n=r.parent(i))?(t=s[n],s[n]=i):(t=a,a=i),t&&t!==i){o.setEdge(t,i);return}i=n}})})})(p%2?t:r,p%4>=2),o=H(e);var m,y=function(e,n){for(var t=0,r=1;r0;)n%2&&(t+=s[n+1]),n=n-1>>1,s[n]+=e.weight;d+=e.weight*t})),d}(e,n[r-1],n[r]);return t}(e,o);if(y(function(e){var n=H(e);i.Z(n,function(n){var t=0;i.Z(n,function(n,r){var o=e.node(n);o.order=r+t,i.Z(o.selfEdges,function(n){$(e,"selfedge",{width:n.label.width,height:n.label.height,rank:o.rank,order:r+ ++t,e:n.e,label:n.label},"_se")}),delete o.selfEdges})})})(e)),n(" adjustCoordinateSystem",()=>{var n,t;("lr"===(t=(n=e).graph().rankdir.toLowerCase())||"rl"===t)&&en(n)}),n(" position",()=>{var n,t,r,o,u,a,s,d,c,f,l,v,g,p,b,m,y,_,k,E,O;(function(e){var n=H(e),t=e.graph().ranksep,r=0;i.Z(n,function(n){var o=T(h.Z(n,function(n){return e.node(n).height}));i.Z(n,function(n){e.node(n).y=r+o/2}),r+=o+t})})(n=J(n=e)),E=(o=H(t=n),d=x.Z((u=t,a=o,s={},eA.Z(a,function(e,n){var t=0,r=0,o=e.length,a=F.Z(n);return i.Z(n,function(e,d){var c=function(e,n){if(e.node(n).dummy)return ec.Z(e.predecessors(n),function(n){return e.node(n).dummy})}(u,e),h=c?u.node(c).order:o;(c||e===a)&&(i.Z(n.slice(r,d+1),function(e){i.Z(u.predecessors(e),function(n){var r=u.node(n),o=r.order;(oa)&&nt(t,n,s)})})}return eA.Z(n,function(n,t){var o,u=-1,a=0;return i.Z(t,function(i,s){if("border"===e.node(i).dummy){var d=e.predecessors(i);d.length&&(o=e.node(d[0]).order,r(t,a,s,u,o),a=s,u=o)}r(t,a,t.length,o,n.length)}),t}),t}(t,o)),c={},i.Z(["u","d"],function(e){r="u"===e?o:ez.Z(o).reverse(),i.Z(["l","r"],function(n){"r"===n&&(r=h.Z(r,function(e){return ez.Z(e).reverse()}));var o,u,a,s,f,l,v,g=("u"===e?t.predecessors:t.successors).bind(t);var p=(o=0,u=r,a=d,s=g,f={},l={},v={},i.Z(u,function(e){i.Z(e,function(e,n){f[e]=e,l[e]=e,v[e]=n})}),i.Z(u,function(e){var n=-1;i.Z(e,function(e){var t=s(e);if(t.length){for(var r=((t=e8(t,function(e){return v[e]})).length-1)/2,o=Math.floor(r),i=Math.ceil(r);o<=i;++o){var u=t[o];l[e]===e&&nt){var r=n;n=t,t=r}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],t)}(a,e,u)&&(l[u]=e,l[e]=f[e]=f[u],n=v[u])}}})}),{root:f,align:l}),Z=function(e,n,t,r,o){var u={},a=function(e,n,t,r){var o=new w.k,u=e.graph(),a=function(e,n,t){return function(r,o,i){var u,a,s=r.node(o),d=r.node(i);if(u=0+s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":a=-s.width/2;break;case"r":a=s.width/2}if(a&&(u+=t?a:-a),a=0,u+=(s.dummy?n:e)/2+(d.dummy?n:e)/2+d.width/2,Object.prototype.hasOwnProperty.call(d,"labelpos"))switch(d.labelpos.toLowerCase()){case"l":a=d.width/2;break;case"r":a=-d.width/2}return a&&(u+=t?a:-a),a=0,u}}(u.nodesep,u.edgesep,r);return i.Z(n,function(n){var r;i.Z(n,function(n){var i=t[n];if(o.setNode(i),r){var u=t[r],s=o.edge(u,i);o.setEdge(u,i,Math.max(a(e,n,r),s||0))}r=n})}),o}(e,n,t,o),s=o?"borderLeft":"borderRight";function d(e,n){for(var t=a.nodes(),r=t.pop(),o={};r;)o[r]?e(r):(o[r]=!0,t.push(r),t=t.concat(n(r))),r=t.pop()}return d(function(e){u[e]=a.inEdges(e).reduce(function(e,n){return Math.max(e,u[n.v]+a.edge(n))},0)},a.predecessors.bind(a)),d(function(n){var t=a.outEdges(n).reduce(function(e,n){return Math.min(e,u[n.w]-a.edge(n))},Number.POSITIVE_INFINITY),r=e.node(n);t!==Number.POSITIVE_INFINITY&&r.borderType!==s&&(u[n]=Math.max(u[n],t))},a.successors.bind(a)),i.Z(r,function(e){u[e]=u[t[e]]}),u}(t,r,p.root,p.align,"r"===n);"r"===n&&(Z=V(Z,function(e){return-e})),c[e+n]=Z})}),v=(f=t,l=c,eu(ez.Z(l),function(e){var n,t,r=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;return n=e,t=function(e,n){var t=function(e,n){return e.node(n).width}(f,n)/2;r=Math.max(e+t,r),o=Math.min(e-t,o)},null==n||(0,ne.Z)(n,(0,e6.Z)(t),nn.Z),r-o})),g=c,p=v,b=ez.Z(p),m=q.Z(b),y=T(b),i.Z(["u","d"],function(e){i.Z(["l","r"],function(n){var t,r=e+n,o=g[r];if(o!==p){var i=ez.Z(o);(t="l"===n?m-q.Z(i):y-T(i))&&(g[r]=V(o,function(e){return e+t}))}})}),_=c,k=t.graph().align,V(_.ul,function(e,n){if(k)return _[k.toLowerCase()][n];var t=e8(h.Z(_,n));return(t[1]+t[2])/2})),O=function(e,t){n.node(t).x=e},E&&(0,S.Z)(E,(0,e6.Z)(O))}),n(" positionSelfEdges",()=>(function(e){i.Z(e.nodes(),function(n){var t=e.node(n);if("selfedge"===t.dummy){var r=e.node(t.e.v),o=r.x+r.width/2,i=r.y,u=t.x-o,a=r.height/2;e.setEdge(t.e,t.label),e.removeNode(n),t.label.points=[{x:o+2*u/3,y:i-a},{x:o+5*u/6,y:i-a},{x:o+u,y:i},{x:o+5*u/6,y:i+a},{x:o+2*u/3,y:i+a}],t.label.x=t.x,t.label.y=t.y}})})(e)),n(" removeBorderNodes",()=>(function(e){i.Z(e.nodes(),function(n){if(e.children(n).length){var t=e.node(n),r=e.node(t.borderTop),o=e.node(t.borderBottom),i=e.node(F.Z(t.borderLeft)),u=e.node(F.Z(t.borderRight));t.width=Math.abs(u.x-i.x),t.height=Math.abs(o.y-r.y),t.x=i.x+t.width/2,t.y=r.y+t.height/2}}),i.Z(e.nodes(),function(n){"border"===e.node(n).dummy&&e.removeNode(n)})})(e)),n(" normalize.undo",()=>{var n;return n=e,void i.Z(n.graph().dummyChains,function(e){var t,r=n.node(e),o=r.edgeLabel;for(n.setEdge(r.edgeObj,o);r.dummy;)t=n.successors(e)[0],n.removeNode(e),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),e=t,r=n.node(e)})}),n(" fixupEdgeLabelCoords",()=>(function(e){i.Z(e.edges(),function(n){var t=e.edge(n);if(Object.prototype.hasOwnProperty.call(t,"x"))switch(("l"===t.labelpos||"r"===t.labelpos)&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}})})(e)),n(" undoCoordinateSystem",()=>{var n,t;("bt"===(t=(n=e).graph().rankdir.toLowerCase())||"rl"===t)&&function(e){i.Z(e.nodes(),function(n){er(e.node(n))}),i.Z(e.edges(),function(n){var t=e.edge(n);i.Z(t.points,er),Object.prototype.hasOwnProperty.call(t,"y")&&er(t)})}(n),("lr"===t||"rl"===t)&&(function(e){i.Z(e.nodes(),function(n){eo(e.node(n))}),i.Z(e.edges(),function(n){var t=e.edge(n);i.Z(t.points,eo),Object.prototype.hasOwnProperty.call(t,"x")&&eo(t)})}(n),en(n))}),n(" translateGraph",()=>(function(e){var n=Number.POSITIVE_INFINITY,t=0,r=Number.POSITIVE_INFINITY,o=0,u=e.graph(),a=u.marginx||0,s=u.marginy||0;function d(e){var i=e.x,u=e.y,a=e.width,s=e.height;n=Math.min(n,i-a/2),t=Math.max(t,i+a/2),r=Math.min(r,u-s/2),o=Math.max(o,u+s/2)}i.Z(e.nodes(),function(n){d(e.node(n))}),i.Z(e.edges(),function(n){var t=e.edge(n);Object.prototype.hasOwnProperty.call(t,"x")&&d(t)}),n-=a,r-=s,i.Z(e.nodes(),function(t){var o=e.node(t);o.x-=n,o.y-=r}),i.Z(e.edges(),function(t){var o=e.edge(t);i.Z(o.points,function(e){e.x-=n,e.y-=r}),Object.prototype.hasOwnProperty.call(o,"x")&&(o.x-=n),Object.prototype.hasOwnProperty.call(o,"y")&&(o.y-=r)}),u.width=t-n+a,u.height=o-r+s})(e)),n(" assignNodeIntersects",()=>(function(e){i.Z(e.edges(),function(n){var t,r,o=e.edge(n),i=e.node(n.v),u=e.node(n.w);o.points?(t=o.points[0],r=o.points[o.points.length-1]):(o.points=[],t=u,r=i),o.points.unshift(K(i,t)),o.points.push(K(u,r))})})(e)),n(" reversePoints",()=>(function(e){i.Z(e.edges(),function(n){var t=e.edge(n);t.reversed&&t.points.reverse()})})(e)),n(" acyclic.undo",()=>{var n;return n=e,void i.Z(n.edges(),function(e){var t=n.edge(e);if(t.reversed){n.removeEdge(e);var r=t.forwardName;delete t.reversed,delete t.forwardName,n.setEdge(e.w,e.v,t,r)}})})})(n,t)),t(" updateInputGraph",()=>(function(e,n){i.Z(e.nodes(),function(t){var r=e.node(t),o=n.node(t);r&&(r.x=o.x,r.y=o.y,n.children(t).length&&(r.width=o.width,r.height=o.height))}),i.Z(e.edges(),function(t){var r=e.edge(t),o=n.edge(t);r.points=o.points,Object.prototype.hasOwnProperty.call(o,"x")&&(r.x=o.x,r.y=o.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height})(e,n))})}var no=["nodesep","edgesep","ranksep","marginx","marginy"],ni={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},nu=["acyclicer","ranker","rankdir","align"],na=["width","height"],ns={width:0,height:0},nd=["minlen","weight","width","height","labeloffset"],nc={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},nh=["labelpos"];function nf(e,n){return V(C(e,n),Number)}function nl(e){var n={};return i.Z(e,function(e,t){n[t.toLowerCase()]=e}),n}},61135:function(e,n,t){t.d(n,{k:()=>Z});var r=t("96498"),o=t("18782"),i=t("87074"),u=t("37627"),a=t("73217"),s=t("82633"),d=t("61925"),c=t("39446"),h=t("53148"),f=t("38610"),l=t("61322"),v=(0,h.Z)(function(e){return(0,f.Z)((0,c.Z)(e,1,l.Z,!0))}),g=t("96433"),p=t("81748");class Z{constructor(e={}){this._isDirected=!Object.prototype.hasOwnProperty.call(e,"directed")||e.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(e,"multigraph")&&e.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.Z(void 0),this._defaultEdgeLabelFn=r.Z(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),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(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return!o.Z(e)&&(e=r.Z(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return i.Z(this._nodes)}sources(){var e=this;return u.Z(this.nodes(),function(n){return a.Z(e._in[n])})}sinks(){var e=this;return u.Z(this.nodes(),function(n){return a.Z(e._out[n])})}setNodes(e,n){var t=arguments,r=this;return s.Z(e,function(e){t.length>1?r.setNode(e,n):r.setNode(e)}),this}setNode(e,n){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=n),this):(this._nodes[e]=arguments.length>1?n:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var n=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],s.Z(this.children(e),e=>{this.setParent(e)}),delete this._children[e]),s.Z(i.Z(this._in[e]),n),delete this._in[e],delete this._preds[e],s.Z(i.Z(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,n){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(d.Z(n))n="\0";else{n+="";for(var t=n;!d.Z(t);t=this.parent(t))if(t===e)throw Error("Setting "+n+" as parent of "+e+" would create a cycle");this.setNode(n)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=n,this._children[n][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var n=this._parent[e];if("\0"!==n)return n}}children(e){if(d.Z(e)&&(e="\0"),this._isCompound){var n=this._children[e];if(n)return i.Z(n)}else if("\0"===e)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var n=this._preds[e];if(n)return i.Z(n)}successors(e){var n=this._sucs[e];if(n)return i.Z(n)}neighbors(e){var n=this.predecessors(e);if(n)return v(n,this.successors(e))}isLeaf(e){var n;return 0===(n=this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var t=this;s.Z(this._nodes,function(t,r){e(r)&&n.setNode(r,t)}),s.Z(this._edgeObjs,function(e){n.hasNode(e.v)&&n.hasNode(e.w)&&n.setEdge(e,t.edge(e))});var r={};return this._isCompound&&s.Z(n.nodes(),function(e){n.setParent(e,function e(o){var i=t.parent(o);return void 0===i||n.hasNode(i)?(r[o]=i,i):i in r?r[i]:e(i)}(e))}),n}setDefaultEdgeLabel(e){return!o.Z(e)&&(e=r.Z(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return g.Z(this._edgeObjs)}setPath(e,n){var t=this,r=arguments;return p.Z(e,function(e,o){return r.length>1?t.setEdge(e,o,n):t.setEdge(e,o),o}),this}setEdge(){var e,n,t,r,o=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(e=i.v,n=i.w,t=i.name,2==arguments.length&&(r=arguments[1],o=!0)):(e=i,n=arguments[1],t=arguments[3],arguments.length>2&&(r=arguments[2],o=!0)),e=""+e,n=""+n,!d.Z(t)&&(t=""+t);var u=m(this._isDirected,e,n,t);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,u))return o&&(this._edgeLabels[u]=r),this;if(!d.Z(t)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(n),this._edgeLabels[u]=o?r:this._defaultEdgeLabelFn(e,n,t);var a=function(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,e,n,t);return e=a.v,n=a.w,Object.freeze(a),this._edgeObjs[u]=a,w(this._preds[n],e),w(this._sucs[e],n),this._in[n][u]=a,this._out[e][u]=a,this._edgeCount++,this}edge(e,n,t){var r=1==arguments.length?y(this._isDirected,arguments[0]):m(this._isDirected,e,n,t);return this._edgeLabels[r]}hasEdge(e,n,t){var r=1==arguments.length?y(this._isDirected,arguments[0]):m(this._isDirected,e,n,t);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,n,t){var r=1==arguments.length?y(this._isDirected,arguments[0]):m(this._isDirected,e,n,t),o=this._edgeObjs[r];return o&&(e=o.v,n=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],b(this._preds[n],e),b(this._sucs[e],n),delete this._in[n][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,n){var t=this._in[e];if(t){var r=g.Z(t);return n?u.Z(r,function(e){return e.v===n}):r}}outEdges(e,n){var t=this._out[e];if(t){var r=g.Z(t);return n?u.Z(r,function(e){return e.w===n}):r}}nodeEdges(e,n){var t=this.inEdges(e,n);if(t)return t.concat(this.outEdges(e,n))}}function w(e,n){e[n]?e[n]++:e[n]=1}function b(e,n){!--e[n]&&delete e[n]}function m(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}return o+"\x01"+i+"\x01"+(d.Z(r)?"\0":r)}Z.prototype._nodeCount=0,Z.prototype._edgeCount=0;function y(e,n){return m(e,n.v,n.w,n.name)}},50043:function(e,n,t){t.d(n,{k:function(){return r.k}});var r=t(61135)},91201:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(2147);let o=function(e,n,t){for(var o=-1,i=e.length;++oc});var r=t("73722"),o=t("89774"),i=t("50949"),u=t("92383"),a=t("58641"),s=t("37706");let d=function(e,n,t,r){if(!(0,a.Z)(e))return e;n=(0,i.Z)(n,e);for(var d=-1,c=n.length,h=c-1,f=e;null!=f&&++d2?n[2]:void 0;for(d&&(0,i.Z)(n[0],n[1],d)&&(r=1);++tc});var r,o=t("69547"),i=t("71581"),u=t("87074"),a=t("81208"),s=t("59578"),d=Math.max;let c=(r=function(e,n,t){var r=null==e?0:e.length;if(!r)return -1;var i=null==t?0:(0,s.Z)(t);return i<0&&(i=d(r+i,0)),(0,a.Z)(e,(0,o.Z)(n,3),i)},function(e,n,t){var a=Object(e);if(!(0,i.Z)(e)){var s=(0,o.Z)(n,3);e=(0,u.Z)(e),n=function(e){return s(a[e],e,a)}}var d=r(e,n,t);return d>-1?a[s?e[d]:d]:void 0})},71134:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(39446);let o=function(e){return(null==e?0:e.length)?(0,r.Z)(e,1):[]}},29072:function(e,n,t){t.d(n,{Z:()=>u});var r=Object.prototype.hasOwnProperty;let o=function(e,n){return null!=e&&r.call(e,n)};var i=t("87825");let u=function(e,n){return null!=e&&(0,i.Z)(e,n,o)}},27884:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(65182),o=t(31739),i=t(75887);let u=function(e){return"string"==typeof e||!(0,o.Z)(e)&&(0,i.Z)(e)&&"[object String]"==(0,r.Z)(e)}},59685:function(e,n,t){t.d(n,{Z:function(){return r}});let r=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},97345:function(e,n,t){t.d(n,{Z:function(){return a}});var r=t(96248),o=t(69547),i=t(10301),u=t(31739);let a=function(e,n){return((0,u.Z)(e)?r.Z:i.Z)(e,(0,o.Z)(n,3))}},50540:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(91201),o=t(23278),i=t(94675);let u=function(e){return e&&e.length?(0,r.Z)(e,i.Z,o.Z):void 0}},29116:function(e,n,t){t.d(n,{Z:()=>g});var r=/\s/;let o=function(e){for(var n=e.length;n--&&r.test(e.charAt(n)););return n};var i=/^\s+/,u=t("58641"),a=t("2147"),s=0/0,d=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt;let l=function(e){if("number"==typeof e)return e;if((0,a.Z)(e))return s;if((0,u.Z)(e)){var n,t="function"==typeof e.valueOf?e.valueOf():e;e=(0,u.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(n=e)?n.slice(0,o(n)+1).replace(i,""):n;var r=c.test(e);return r||h.test(e)?f(e.slice(2),r?2:8):d.test(e)?s:+e};var v=1/0;let g=function(e){return e?(e=l(e))===v||e===-v?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},59578:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(29116);let o=function(e){var n=(0,r.Z)(e),t=n%1;return n==n?t?n-t:n:0}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/34829b29.45c7d727.js b/pr-preview/pr-3/assets/js/34829b29.45c7d727.js new file mode 100644 index 0000000..1820c62 --- /dev/null +++ b/pr-preview/pr-3/assets/js/34829b29.45c7d727.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4494"],{76687:function(e,r,a){a.r(r),a.d(r,{metadata:()=>t,contentTitle:()=>i,default:()=>p,assets:()=>c,toc:()=>d,frontMatter:()=>o});var t=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","source":"@site/docs/docusaurus/tutorial_basics/create_a_page.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_page","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_page.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Basics","permalink":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---basics"},"next":{"title":"Create a Document","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document"}}'),s=a("85893"),n=a("50065");let o={sidebar_position:1},i="Create a Page",c={},d=[{value:"Create your first React Page",id:"create-your-first-react-page",level:2},{value:"Create your first Markdown Page",id:"create-your-first-markdown-page",level:2}];function l(e){let r={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"create-a-page",children:"Create a Page"})}),"\n",(0,s.jsxs)(r.p,{children:["Add ",(0,s.jsx)(r.strong,{children:"Markdown or React"})," files to ",(0,s.jsx)(r.code,{children:"src/pages"})," to create a ",(0,s.jsx)(r.strong,{children:"standalone page"}),":"]}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.code,{children:"src/pages/index.js"})," \u2192 ",(0,s.jsx)(r.code,{children:"localhost:3000/"})]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.code,{children:"src/pages/foo.md"})," \u2192 ",(0,s.jsx)(r.code,{children:"localhost:3000/foo"})]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.code,{children:"src/pages/foo/bar.js"})," \u2192 ",(0,s.jsx)(r.code,{children:"localhost:3000/foo/bar"})]}),"\n"]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:["Please use ",(0,s.jsx)(r.code,{children:"snake_case"})," when naming files with multiple subjects in order to be consistent with the rest of the\nrepository."]}),"\n",(0,s.jsxs)(r.li,{children:["When you create a new ",(0,s.jsx)(r.code,{children:".md"})," or ",(0,s.jsx)(r.code,{children:".mdx"})," file, please make sure to add in the appropriate\n",(0,s.jsx)(r.a,{href:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#front-matter",children:"Front Matter"})," so that your content is properly categorized."]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"create-your-first-react-page",children:"Create your first React Page"}),"\n",(0,s.jsxs)(r.p,{children:["Create a file at ",(0,s.jsx)(r.code,{children:"src/pages/my-react-page.js"}),":"]}),"\n",(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-jsx",metastring:'title="src/pages/my-react-page.js"',children:"import React from 'react';\nimport Layout from '@theme/Layout';\n\nexport default function MyReactPage() {\n return (\n \n

    My React page

    \n

    This is a React page

    \n
    \n );\n}\n"})}),"\n",(0,s.jsxs)(r.p,{children:["A new page is now available at ",(0,s.jsx)(r.a,{href:"http://localhost:3000/my-react-page",children:"http://localhost:3000/my-react-page"}),"."]}),"\n",(0,s.jsx)(r.h2,{id:"create-your-first-markdown-page",children:"Create your first Markdown Page"}),"\n",(0,s.jsxs)(r.p,{children:["Create a file at ",(0,s.jsx)(r.code,{children:"src/pages/my-markdown-page.md"}),":"]}),"\n",(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-mdx",metastring:'title="src/pages/my-markdown-page.md"',children:"# My Markdown page\n\nThis is a Markdown page\n"})}),"\n",(0,s.jsxs)(r.p,{children:["A new page is now available at ",(0,s.jsx)(r.a,{href:"http://localhost:3000/my-markdown-page",children:"http://localhost:3000/my-markdown-page"}),"."]})]})}function p(e={}){let{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},50065:function(e,r,a){a.d(r,{Z:function(){return i},a:function(){return o}});var t=a(67294);let s={},n=t.createContext(s);function o(e){let r=t.useContext(n);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/367.ca369069.js b/pr-preview/pr-3/assets/js/367.ca369069.js new file mode 100644 index 0000000..e1f6ca7 --- /dev/null +++ b/pr-preview/pr-3/assets/js/367.ca369069.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["367"],{34709:function(e,r,t){t.d(r,{diagram:function(){return u}});var n=t(92453),a=t(94159),i=t(5995),s=t(3194),d={parse:(0,i.eW)(async e=>{let r=await (0,s.Qc)("info",e);i.cM.debug(r)},"parse")},c={version:n.i},p=(0,i.eW)(()=>c.version,"getVersion"),o=(0,i.eW)((e,r,t)=>{i.cM.debug("rendering info diagram\n"+e);let n=(0,a.P)(r);(0,i.v2)(n,100,400,!0),n.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${t}`)},"draw"),u={parser:d,db:{getVersion:p},renderer:{draw:o}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/3720c009.a7cce29b.js b/pr-preview/pr-3/assets/js/3720c009.a7cce29b.js new file mode 100644 index 0000000..387bb1c --- /dev/null +++ b/pr-preview/pr-3/assets/js/3720c009.a7cce29b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2898"],{94190:function(e,t,a){a.r(t),a.d(t,{default:()=>p});var s=a("85893");a("67294");var l=a("67026"),r=a("14713"),n=a("84681"),i=a("96025");let c=()=>(0,i.translate)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});var g=a("48627"),o=a("34403");let u="tag_Nnez";function h(e){let{letterEntry:t}=e;return(0,s.jsxs)("article",{children:[(0,s.jsx)(o.Z,{as:"h2",id:t.letter,children:t.letter}),(0,s.jsx)("ul",{className:"padding--none",children:t.tags.map(e=>(0,s.jsx)("li",{className:u,children:(0,s.jsx)(g.Z,{...e})},e.permalink))}),(0,s.jsx)("hr",{})]})}function d(e){let{tags:t}=e,a=function(e){let t={};return Object.values(e).forEach(e=>{let a=e.label[0].toUpperCase();t[a]??=[],t[a].push(e)}),Object.entries(t).sort((e,t)=>{let[a]=e,[s]=t;return a.localeCompare(s)}).map(e=>{let[t,a]=e;return{letter:t,tags:a.sort((e,t)=>e.label.localeCompare(t.label))}})}(t);return(0,s.jsx)("section",{className:"margin-vert--lg",children:a.map(e=>(0,s.jsx)(h,{letterEntry:e},e.letter))})}var j=a("84315");function m(e){let{title:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.d,{title:t}),(0,s.jsx)(j.Z,{tag:"doc_tags_list"})]})}function x(e){let{tags:t,title:a}=e;return(0,s.jsx)(r.FG,{className:(0,l.Z)(n.k.page.docsTagsListPage),children:(0,s.jsx)("div",{className:"container margin-vert--lg",children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("main",{className:"col col--8 col--offset-2",children:[(0,s.jsx)(o.Z,{as:"h1",children:a}),(0,s.jsx)(d,{tags:t})]})})})})}function p(e){let t=c();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m,{...e,title:t}),(0,s.jsx)(x,{...e,title:t})]})}},48627:function(e,t,a){a.d(t,{Z:()=>i});var s=a("85893");a("67294");var l=a("67026"),r=a("83012");let n={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function i(e){let{permalink:t,label:a,count:i,description:c}=e;return(0,s.jsxs)(r.Z,{href:t,title:c,className:(0,l.Z)(n.tag,i?n.tagWithCount:n.tagRegular),children:[a,i&&(0,s.jsx)("span",{children:i})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/3917.a37f0ca0.js b/pr-preview/pr-3/assets/js/3917.a37f0ca0.js new file mode 100644 index 0000000..a86d418 --- /dev/null +++ b/pr-preview/pr-3/assets/js/3917.a37f0ca0.js @@ -0,0 +1,60 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3917"],{13881:function(e,t,r){var n,i;t.CancellationTokenSource=t.CancellationToken=void 0;let a=r(30147),s=r(67574),o=r(27135);(i=n||(t.CancellationToken=n={})).None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.Event.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o.Event.None}),i.is=function(e){return e&&(e===i.None||e===i.Cancelled||s.boolean(e.isCancellationRequested)&&!!e.onCancellationRequested)};let l=Object.freeze(function(e,t){let r=(0,a.default)().timer.setTimeout(e.bind(t),0);return{dispose(){r.dispose()}}});class u{constructor(){this._isCancelled=!1}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?l:(!this._emitter&&(this._emitter=new o.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}t.CancellationTokenSource=class e{get token(){return!this._token&&(this._token=new u),this._token}cancel(){this._token?this._token.cancel():this._token=n.Cancelled}dispose(){this._token?this._token instanceof u&&this._token.dispose():this._token=n.None}}},27135:function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;let i=r(30147);!function(e){let t={dispose(){}};e.None=function(){return t}}(n||(t.Event=n={}));class a{add(e,t=null,r){!this._callbacks&&(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let n=0,i=this._callbacks.length;n{!this._callbacks&&(this._callbacks=new a),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);let n={dispose:()=>{if(!!this._callbacks)this._callbacks.remove(e,t),n.dispose=s._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this)}};return Array.isArray(r)&&r.push(n),n}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}t.Emitter=s,s._noop=function(){}},67574:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0;function r(e){return"string"==typeof e||e instanceof String}t.boolean=function(e){return!0===e||!1===e},t.string=r;t.number=function(e){return"number"==typeof e||e instanceof Number};t.error=function(e){return e instanceof Error};function n(e){return Array.isArray(e)}t.func=function(e){return"function"==typeof e},t.array=n;t.stringArray=function(e){return n(e)&&e.every(e=>r(e))}},30147:function(e,t){let r;function n(){if(void 0===r)throw Error("No runtime abstraction layer installed");return r}Object.defineProperty(t,"__esModule",{value:!0}),(n||(n={})).install=function(e){if(void 0===e)throw Error("No runtime abstraction layer provided");r=e},t.default=n},52730:function(e,t,r){r.d(t,{M:function(){return o}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"InfoTokenBuilder")}constructor(){super(["info","showInfo"])}},s={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new n.nr,"ValueConverter")}};function o(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.F_,s);return t.ServiceRegistry.register(r),{shared:t,Info:r}}(0,n.eW)(o,"createInfoServices")},75243:function(e,t,r){r.d(t,{l:function(){return l}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"PieTokenBuilder")}constructor(){super(["pie","showData"])}},s=class extends n.kb{static{(0,n.eW)(this,"PieValueConverter")}runCustomConverter(e,t,r){if("PIE_SECTION_LABEL"===e.name)return t.replace(/"/g,"").trim()}},o={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new s,"ValueConverter")}};function l(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.WH,o);return t.ServiceRegistry.register(r),{shared:t,Pie:r}}(0,n.eW)(l,"createPieServices")},16100:function(e,t,r){r.d(t,{g:function(){return o}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"PacketTokenBuilder")}constructor(){super(["packet-beta"])}},s={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new n.nr,"ValueConverter")}};function o(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.bb,s);return t.ServiceRegistry.register(r),{shared:t,Packet:r}}(0,n.eW)(o,"createPacketServices")},94413:function(e,t,r){r.d(t,{i:function(){return l}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},s=class extends n.kb{static{(0,n.eW)(this,"ArchitectureValueConverter")}runCustomConverter(e,t,r){if("ARCH_ICON"===e.name)return t.replace(/[()]/g,"").trim();if("ARCH_TEXT_ICON"===e.name)return t.replace(/["()]/g,"");if("ARCH_TITLE"===e.name)return t.replace(/[[\]]/g,"").trim()}},o={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new s,"ValueConverter")}};function l(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.Qr,o);return t.ServiceRegistry.register(r),{shared:t,Architecture:r}}(0,n.eW)(l,"createArchitectureServices")},57820:function(e,t,r){r.d(t,{z:function(){return o}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},s={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new n.nr,"ValueConverter")}};function o(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.vn,s);return t.ServiceRegistry.register(r),{shared:t,GitGraph:r}}(0,n.eW)(o,"createGitGraphServices")},95318:function(e,t,r){r.d(t,{F_:function(){return C},GS:function(){return N},Qr:function(){return w},T7:function(){return M},WH:function(){return L},bb:function(){return $},eW:function(){return c},kb:function(){return _},nr:function(){return P},vn:function(){return b}});var n,i,a,s,o,l=r(74462),u=Object.defineProperty,c=(e,t)=>u(e,"name",{value:t,configurable:!0});c(function(e){return g.isInstance(e,"Architecture")},"isArchitecture");var d="Branch";c(function(e){return g.isInstance(e,d)},"isBranch");var h="Commit";c(function(e){return g.isInstance(e,h)},"isCommit");c(function(e){return g.isInstance(e,"Common")},"isCommon");var f="GitGraph";c(function(e){return g.isInstance(e,f)},"isGitGraph");c(function(e){return g.isInstance(e,"Info")},"isInfo");var p="Merge";c(function(e){return g.isInstance(e,p)},"isMerge");c(function(e){return g.isInstance(e,"Packet")},"isPacket");c(function(e){return g.isInstance(e,"PacketBlock")},"isPacketBlock");c(function(e){return g.isInstance(e,"Pie")},"isPie");c(function(e){return g.isInstance(e,"PieSection")},"isPieSection");var m=class extends l.$v{static{c(this,"MermaidAstReflection")}getAllTypes(){return["Architecture","Branch","Checkout","CherryPicking","Commit","Common","Direction","Edge","GitGraph","Group","Info","Junction","Merge","Packet","PacketBlock","Pie","PieSection","Service","Statement"]}computeIsSubtype(e,t){switch(e){case d:case"Checkout":case"CherryPicking":case h:case p:return this.isSubtype("Statement",t);case"Direction":return this.isSubtype(f,t);default:return!1}}getReferenceType(e){let t=`${e.container.$type}:${e.property}`;throw Error(`${t} is not a valid reference id.`)}getTypeMetaData(e){switch(e){case"Architecture":return{name:"Architecture",properties:[{name:"accDescr"},{name:"accTitle"},{name:"edges",defaultValue:[]},{name:"groups",defaultValue:[]},{name:"junctions",defaultValue:[]},{name:"services",defaultValue:[]},{name:"title"}]};case"Branch":return{name:"Branch",properties:[{name:"name"},{name:"order"}]};case"Checkout":return{name:"Checkout",properties:[{name:"branch"}]};case"CherryPicking":return{name:"CherryPicking",properties:[{name:"id"},{name:"parent"},{name:"tags",defaultValue:[]}]};case"Commit":return{name:"Commit",properties:[{name:"id"},{name:"message"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Common":return{name:"Common",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Edge":return{name:"Edge",properties:[{name:"lhsDir"},{name:"lhsGroup",defaultValue:!1},{name:"lhsId"},{name:"lhsInto",defaultValue:!1},{name:"rhsDir"},{name:"rhsGroup",defaultValue:!1},{name:"rhsId"},{name:"rhsInto",defaultValue:!1},{name:"title"}]};case"GitGraph":return{name:"GitGraph",properties:[{name:"accDescr"},{name:"accTitle"},{name:"statements",defaultValue:[]},{name:"title"}]};case"Group":return{name:"Group",properties:[{name:"icon"},{name:"id"},{name:"in"},{name:"title"}]};case"Info":return{name:"Info",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Junction":return{name:"Junction",properties:[{name:"id"},{name:"in"}]};case"Merge":return{name:"Merge",properties:[{name:"branch"},{name:"id"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Packet":return{name:"Packet",properties:[{name:"accDescr"},{name:"accTitle"},{name:"blocks",defaultValue:[]},{name:"title"}]};case"PacketBlock":return{name:"PacketBlock",properties:[{name:"end"},{name:"label"},{name:"start"}]};case"Pie":return{name:"Pie",properties:[{name:"accDescr"},{name:"accTitle"},{name:"sections",defaultValue:[]},{name:"showData",defaultValue:!1},{name:"title"}]};case"PieSection":return{name:"PieSection",properties:[{name:"label"},{name:"value"}]};case"Service":return{name:"Service",properties:[{name:"icon"},{name:"iconText"},{name:"id"},{name:"in"},{name:"title"}]};case"Direction":return{name:"Direction",properties:[{name:"accDescr"},{name:"accTitle"},{name:"dir"},{name:"statements",defaultValue:[]},{name:"title"}]};default:return{name:e,properties:[]}}}},g=new m,y=c(()=>n??(n=(0,l.sC)('{"$type":"Grammar","isDeclared":true,"name":"Info","imports":[],"rules":[{"$type":"ParserRule","name":"Info","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"info"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"showInfo"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}')),"InfoGrammar"),T=c(()=>i??(i=(0,l.sC)(`{"$type":"Grammar","isDeclared":true,"name":"Packet","imports":[],"rules":[{"$type":"ParserRule","name":"Packet","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"packet-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PacketBlock","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"start","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"end","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"?"},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}`)),"PacketGrammar"),v=c(()=>a??(a=(0,l.sC)('{"$type":"Grammar","isDeclared":true,"name":"Pie","imports":[],"rules":[{"$type":"ParserRule","name":"Pie","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"pie"},{"$type":"Assignment","feature":"showData","operator":"?=","terminal":{"$type":"Keyword","value":"showData"},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PieSection","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"PIE_SECTION_LABEL","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]+\\"/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"PIE_SECTION_VALUE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/(0|[1-9][0-9]*)(\\\\.[0-9]+)?/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}')),"PieGrammar"),E=c(()=>s??(s=(0,l.sC)('{"$type":"Grammar","isDeclared":true,"name":"Architecture","imports":[],"rules":[{"$type":"ParserRule","name":"Architecture","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"architecture-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"*"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","fragment":true,"definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"groups","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"services","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"junctions","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"edges","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"LeftPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"lhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"RightPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"rhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Keyword","value":":"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Arrow","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Assignment","feature":"lhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"--"},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Keyword","value":"-"}]}]},{"$type":"Assignment","feature":"rhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Group","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"group"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Service","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"service"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"iconText","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}}],"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Junction","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"junction"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Edge","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"lhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"lhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"rhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"rhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"ARROW_DIRECTION","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"L"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"R"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"T"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"B"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ID","definition":{"$type":"RegexToken","regex":"/[\\\\w]+/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TEXT_ICON","definition":{"$type":"RegexToken","regex":"/\\\\(\\"[^\\"]+\\"\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ICON","definition":{"$type":"RegexToken","regex":"/\\\\([\\\\w-:]+\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TITLE","definition":{"$type":"RegexToken","regex":"/\\\\[[\\\\w ]+\\\\]/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_GROUP","definition":{"$type":"RegexToken","regex":"/\\\\{group\\\\}/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_INTO","definition":{"$type":"RegexToken","regex":"/<|>/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}')),"ArchitectureGrammar"),R=c(()=>o??(o=(0,l.sC)(`{"$type":"Grammar","isDeclared":true,"name":"GitGraph","interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"rules":[{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false},{"$type":"ParserRule","name":"GitGraph","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Keyword","value":":"}]},{"$type":"Keyword","value":"gitGraph:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},{"$type":"Keyword","value":":"}]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]},{"$type":"Assignment","feature":"statements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Direction","definition":{"$type":"Assignment","feature":"dir","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"LR"},{"$type":"Keyword","value":"TB"},{"$type":"Keyword","value":"BT"}]}},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Commit","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"commit"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"msg:","cardinality":"?"},{"$type":"Assignment","feature":"message","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Branch","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"branch"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"order:"},{"$type":"Assignment","feature":"order","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Merge","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"merge"},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Checkout","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"checkout"},{"$type":"Keyword","value":"switch"}]},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"CherryPicking","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"cherry-pick"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"parent:"},{"$type":"Assignment","feature":"parent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+(?=\\\\s)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\\\w([-\\\\./\\\\w]*[-\\\\w])?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false}],"definesHiddenTokens":false,"hiddenTokens":[],"imports":[],"types":[],"usedGrammars":[]}`)),"GitGraphGrammar"),A={languageId:"info",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},k={languageId:"packet",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},I={languageId:"pie",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},x={languageId:"architecture",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},S={languageId:"gitGraph",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},N={AstReflection:c(()=>new m,"AstReflection")},C={Grammar:c(()=>y(),"Grammar"),LanguageMetaData:c(()=>A,"LanguageMetaData"),parser:{}},$={Grammar:c(()=>T(),"Grammar"),LanguageMetaData:c(()=>k,"LanguageMetaData"),parser:{}},L={Grammar:c(()=>v(),"Grammar"),LanguageMetaData:c(()=>I,"LanguageMetaData"),parser:{}},w={Grammar:c(()=>E(),"Grammar"),LanguageMetaData:c(()=>x,"LanguageMetaData"),parser:{}},b={Grammar:c(()=>R(),"Grammar"),LanguageMetaData:c(()=>S,"LanguageMetaData"),parser:{}},O={ACC_DESCR:/accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/accTitle[\t ]*:([^\n\r]*)/,TITLE:/title([\t ][^\n\r]*|)/},_=class extends l.tI{static{c(this,"AbstractMermaidValueConverter")}runConverter(e,t,r){let n=this.runCommonConverter(e,t,r);return(void 0===n&&(n=this.runCustomConverter(e,t,r)),void 0===n)?super.runConverter(e,t,r):n}runCommonConverter(e,t,r){let n=O[e.name];if(void 0===n)return;let i=n.exec(t);return null===i?void 0:void 0!==i[1]?i[1].trim().replace(/[\t ]{2,}/gm," "):void 0!==i[2]?i[2].replace(/^\s*/gm,"").replace(/\s+$/gm,"").replace(/[\t ]{2,}/gm," ").replace(/[\n\r]{2,}/gm,"\n"):void 0}},P=class extends _{static{c(this,"CommonValueConverter")}runCustomConverter(e,t,r){}},M=class extends l.PH{static{c(this,"AbstractMermaidTokenBuilder")}constructor(e){super(),this.keywords=new Set(e)}buildKeywordTokens(e,t,r){let n=super.buildKeywordTokens(e,t,r);return n.forEach(e=>{this.keywords.has(e.name)&&void 0!==e.PATTERN&&(e.PATTERN=RegExp(e.PATTERN.toString()+"(?:(?=%%)|(?!\\S))"))}),n}};(class extends null{static{c(this,"CommonTokenBuilder")}})},3194:function(e,t,r){r.d(t,{Qc:function(){return s}}),r(57820),r(52730),r(16100),r(75243),r(94413);var n=r(95318),i={},a={info:(0,n.eW)(async()=>{let{createInfoServices:e}=await r.e("3085").then(r.bind(r,15970)),t=e().Info.parser.LangiumParser;i.info=t},"info"),packet:(0,n.eW)(async()=>{let{createPacketServices:e}=await r.e("1996").then(r.bind(r,89455)),t=e().Packet.parser.LangiumParser;i.packet=t},"packet"),pie:(0,n.eW)(async()=>{let{createPieServices:e}=await r.e("1824").then(r.bind(r,31764)),t=e().Pie.parser.LangiumParser;i.pie=t},"pie"),architecture:(0,n.eW)(async()=>{let{createArchitectureServices:e}=await r.e("161").then(r.bind(r,55845)),t=e().Architecture.parser.LangiumParser;i.architecture=t},"architecture"),gitGraph:(0,n.eW)(async()=>{let{createGitGraphServices:e}=await r.e("8751").then(r.bind(r,57327)),t=e().GitGraph.parser.LangiumParser;i.gitGraph=t},"gitGraph")};async function s(e,t){let r=a[e];if(!r)throw Error(`Unknown diagram type: ${e}`);!i[e]&&await r();let n=i[e].parse(t);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new o(n);return n.value}(0,n.eW)(s,"parse");var o=class extends Error{constructor(e){let t=e.lexerErrors.map(e=>e.message).join("\n");super(`Parsing failed: ${t} ${e.parserErrors.map(e=>e.message).join("\n")}`),this.result=e}static{(0,n.eW)(this,"MermaidParseError")}}},74462:function(e,t,r){function n(e){return"object"==typeof e&&null!==e&&"string"==typeof e.$type}function i(e){return"object"==typeof e&&null!==e&&"string"==typeof e.$refText}r.d(t,{uZ:()=>un,Q:()=>l7,Jr:()=>l3,f3:()=>l5,$v:()=>s,PH:()=>o0,tI:()=>o1,sC:()=>us});function a(e){return"object"==typeof e&&null!==e&&n(e.container)&&i(e.reference)&&"string"==typeof e.message}class s{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return n(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];!r&&(r=this.subtypes[e]={});let n=r[t];if(void 0!==n)return n;{let n=this.computeIsSubtype(e,t);return r[t]=n,n}}getAllSubTypes(e){let t=this.allSubtypes[e];if(t)return t;{let t=this.getAllTypes(),r=[];for(let n of t)this.isSubtype(n,e)&&r.push(n);return this.allSubtypes[e]=r,r}}}function o(e){return"object"==typeof e&&null!==e&&Array.isArray(e.content)}function l(e){return"object"==typeof e&&null!==e&&"object"==typeof e.tokenType}function u(e){return o(e)&&"string"==typeof e.fullText}class c{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){let e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){let e=this.iterator(),t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){let e;let t=[],r=this.iterator();do void 0!==(e=r.next()).value&&t.push(e.value);while(!e.done);return t}toSet(){return new Set(this)}toMap(e,t){return new Map(this.map(r=>[e?e(r):r,t?t(r):r]))}toString(){return this.join()}concat(e){let t=e[Symbol.iterator]();return new c(()=>({first:this.startFn(),firstDone:!1}),e=>{let r;if(!e.firstDone){do if(!(r=this.nextFn(e.first)).done)return r;while(!r.done);e.firstDone=!0}do if(!(r=t.next()).done)return r;while(!r.done);return f})}join(e=","){let t;let r=this.iterator(),n="",i=!1;do!(t=r.next()).done&&(i&&(n+=e),n+=function(e){return"string"==typeof e?e:void 0===e?"undefined":"function"==typeof e.toString?e.toString():Object.prototype.toString.call(e)}(t.value)),i=!0;while(!t.done);return n}indexOf(e,t=0){let r=this.iterator(),n=0,i=r.next();for(;!i.done;){if(n>=t&&i.value===e)return n;i=r.next(),n++}return -1}every(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){let t=this.iterator(),r=0,n=t.next();for(;!n.done;)e(n.value,r),n=t.next(),r++}map(e){return new c(this.startFn,t=>{let{done:r,value:n}=this.nextFn(t);return r?f:{done:!1,value:e(n)}})}filter(e){return new c(this.startFn,t=>{let r;do if(!(r=this.nextFn(t)).done&&e(r.value))return r;while(!r.done);return f})}nonNullable(){return this.filter(e=>null!=e)}reduce(e,t){let r=this.iterator(),n=t,i=r.next();for(;!i.done;)n=void 0===n?i.value:e(n,i.value),i=r.next();return n}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){let n=e.next();if(n.done)return r;let i=this.recursiveReduce(e,t,r);return void 0===i?n.value:t(i,n.value)}find(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){let t=this.iterator(),r=0,n=t.next();for(;!n.done;){if(e(n.value))return r;n=t.next(),r++}return -1}includes(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new c(()=>({this:this.startFn()}),t=>{do{if(t.iterator){let e=t.iterator.next();if(!e.done)return e;t.iterator=void 0}let{done:r,value:n}=this.nextFn(t.this);if(!r){let r=e(n);if(!d(r))return{done:!1,value:r};t.iterator=r[Symbol.iterator]()}}while(t.iterator);return f})}flat(e){if(void 0===e&&(e=1),e<=0)return this;let t=e>1?this.flat(e-1):this;return new c(()=>({this:t.startFn()}),e=>{do{if(e.iterator){let t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}let{done:r,value:n}=t.nextFn(e.this);if(!r){if(!d(n))return{done:!1,value:n};e.iterator=n[Symbol.iterator]()}}while(e.iterator);return f})}head(){let e=this.iterator().next();if(!e.done)return e.value}tail(e=1){return new c(()=>{let t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e)?f:this.nextFn(t.state))}distinct(e){let t=new Set;return this.filter(r=>{let n=e?e(r):r;return!t.has(n)&&(t.add(n),!0)})}exclude(e,t){let r=new Set;for(let n of e){let e=t?t(n):n;r.add(e)}return this.filter(e=>{let n=t?t(e):e;return!r.has(n)})}}function d(e){return!!e&&"function"==typeof e[Symbol.iterator]}let h=new c(()=>void 0,()=>f),f=Object.freeze({done:!0,value:void 0});function p(...e){if(1===e.length){let t=e[0];if(t instanceof c)return t;if(d(t))return new c(()=>t[Symbol.iterator](),e=>e.next());if("number"==typeof t.length)return new c(()=>({index:0}),e=>e.index1?new c(()=>({collIndex:0,arrIndex:0}),t=>{do{if(t.iterator){let e=t.iterator.next();if(!e.done)return e;t.iterator=void 0}if(t.array){if(t.arrIndex({iterators:(null==r?void 0:r.includeRoot)?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),e=>{for(e.pruned&&(e.iterators.pop(),e.pruned=!1);e.iterators.length>0;){let r=e.iterators[e.iterators.length-1].next();if(!r.done)return e.iterators.push(t(r.value)[Symbol.iterator]()),r;e.iterators.pop()}return f})}iterator(){let e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}function g(e){return new m(e,e=>o(e)?e.content:[],{includeRoot:!0})}(t7=t5||(t5={})).sum=function(e){return e.reduce((e,t)=>e+t,0)},t7.product=function(e){return e.reduce((e,t)=>e*t,0)},t7.min=function(e){return e.reduce((e,t)=>Math.min(e,t))},t7.max=function(e){return e.reduce((e,t)=>Math.max(e,t))};function y(e){return{start:{character:e.startColumn-1,line:e.startLine-1},end:{character:e.endColumn,line:e.endLine-1}}}function T(e){if(!e)return;let{offset:t,end:r,range:n}=e;return{range:n,offset:t,end:r,length:r-t}}(t3=t9||(t9={}))[t3.Before=0]="Before",t3[t3.After=1]="After",t3[t3.OverlapFront=2]="OverlapFront",t3[t3.OverlapBack=3]="OverlapBack",t3[t3.Inside=4]="Inside";let v=/^[\w\p{L}]$/u;function E(e,t){return l(e)&&t.includes(e.tokenType.name)}class R extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function A(e){throw Error("Error! The input value was not handled.")}let k="AbstractRule",I="AbstractType",x="Condition",S="ValueLiteral",N="AbstractElement",C="BooleanLiteral",$="Conjunction",L="Disjunction",w="InferredType";function b(e){return ey.isInstance(e,w)}let O="Interface";function _(e){return ey.isInstance(e,O)}let P="Negation",M="ParameterReference",D="ParserRule";function Z(e){return ey.isInstance(e,D)}let U="SimpleType",F="TerminalRule";function G(e){return ey.isInstance(e,F)}let B="Type";function K(e){return ey.isInstance(e,B)}let j="Action";function V(e){return ey.isInstance(e,j)}let W="Alternatives";function H(e){return ey.isInstance(e,W)}let z="Assignment";function Y(e){return ey.isInstance(e,z)}let q="CharacterRange",X="CrossReference";function Q(e){return ey.isInstance(e,X)}let J="EndOfFile",ee="Group";function et(e){return ey.isInstance(e,ee)}let er="Keyword";function en(e){return ey.isInstance(e,er)}let ei="NegatedToken",ea="RegexToken",es="RuleCall";function eo(e){return ey.isInstance(e,es)}let el="TerminalAlternatives",eu="TerminalGroup",ec="TerminalRuleCall";function ed(e){return ey.isInstance(e,ec)}let eh="UnorderedGroup";function ef(e){return ey.isInstance(e,eh)}let ep="UntilToken",em="Wildcard";class eg extends s{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case j:case W:case z:case q:case X:case J:case ee:case er:case ei:case ea:case es:case el:case eu:case ec:case eh:case ep:case em:return this.isSubtype(N,t);case"ArrayLiteral":case"NumberLiteral":case"StringLiteral":return this.isSubtype(S,t);case"ArrayType":case"ReferenceType":case U:case"UnionType":return this.isSubtype("TypeDefinition",t);case C:return this.isSubtype(x,t)||this.isSubtype(S,t);case $:case L:case P:case M:return this.isSubtype(x,t);case w:case O:case B:return this.isSubtype(I,t);case D:return this.isSubtype(k,t)||this.isSubtype(I,t);case F:return this.isSubtype(k,t);default:return!1}}getReferenceType(e){let t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return I;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return k;case"Grammar:usedGrammars":return"Grammar";case"NamedArgument:parameter":case"ParameterReference:parameter":return"Parameter";case"TerminalRuleCall:rule":return F;default:throw Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}let ey=new eg;function eT(e,t){let r=e;for(;r;){if(t(r))return r;r=r.$container}}function ev(e){let t=function(e){for(;e.$container;)e=e.$container;return e}(e).$document;if(!t)throw Error("AST node has no document.");return t}function eE(e,t){if(!e)throw Error("Node must be an AstNode.");let r=null==t?void 0:t.range;return new c(()=>({keys:Object.keys(e),keyIndex:0,arrayIndex:0}),t=>{for(;t.keyIndexeE(e,t))}function eA(e,t){if(e){if((null==t?void 0:t.range)&&!ek(e,t.range))return new m(e,()=>[])}else throw Error("Root node must be an AstNode.");return new m(e,e=>eE(e,t),{includeRoot:!0})}function ek(e,t){var r;if(!t)return!0;let n=null===(r=e.$cstNode)||void 0===r?void 0:r.range;if(!n)return!1;return function(e,t){if(e.end.linet.end.line||e.start.line===t.end.line&&e.start.character>t.end.character)return t9.After;let r=e.start.line>t.start.line||e.start.line===t.start.line&&e.start.character>=t.start.character,n=e.end.linet9.After}function eI(e){return new c(()=>({keys:Object.keys(e),keyIndex:0,arrayIndex:0}),t=>{for(;t.keyIndex=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(e){return{begin:e,end:this.idx}}}class eZ{visitChildren(e){for(let t in e){let r=e[t];e.hasOwnProperty(t)&&(void 0!==r.type?this.visit(r):Array.isArray(r)&&r.forEach(e=>{this.visit(e)},this))}}visit(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e)}this.visitChildren(e)}visitPattern(e){}visitFlags(e){}visitDisjunction(e){}visitAlternative(e){}visitStartAnchor(e){}visitEndAnchor(e){}visitWordBoundary(e){}visitNonWordBoundary(e){}visitLookahead(e){}visitNegativeLookahead(e){}visitCharacter(e){}visitSet(e){}visitGroup(e){}visitGroupBackReference(e){}visitQuantifier(e){}}let eU=/\r?\n/gm,eF=new eD,eG=new class e extends eZ{constructor(){super(...arguments),this.isStarting=!0,this.endRegexpStack=[],this.multiline=!1}get endRegex(){return this.endRegexpStack.join("")}reset(e){this.multiline=!1,this.regex=e,this.startRegexp="",this.isStarting=!0,this.endRegexpStack=[]}visitGroup(e){e.quantifier&&(this.isStarting=!1,this.endRegexpStack=[])}visitCharacter(e){let t=String.fromCharCode(e.value);if(!this.multiline&&"\n"===t&&(this.multiline=!0),e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let e=eK(t);this.endRegexpStack.push(e),this.isStarting&&(this.startRegexp+=e)}}visitSet(e){if(!this.multiline){let t=new RegExp(this.regex.substring(e.loc.begin,e.loc.end));this.multiline=!!"\n".match(t)}if(e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let t=this.regex.substring(e.loc.begin,e.loc.end);this.endRegexpStack.push(t),this.isStarting&&(this.startRegexp+=t)}}visitChildren(e){if("Group"!==e.type||!e.quantifier)super.visitChildren(e)}};function eB(e){return("string"==typeof e?new RegExp(e):e).test(" ")}function eK(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ej(e,t){let r=new Set,n=e.rules.find(e=>Z(e)&&e.entry);if(!n)return new Set(e.rules);for(let i of[n].concat(e.rules.filter(e=>G(e)&&e.hidden)))(function e(t,r,n){r.add(t.name),eR(t).forEach(t=>{if(eo(t)||n&&ed(t)){let i=t.rule.ref;i&&!r.has(i.name)&&e(i,r,n)}})})(i,r,t);let i=new Set;for(let t of e.rules)(r.has(t.name)||G(t)&&t.hidden)&&i.add(t);return i}function eV(e,t,r){if(!e||!t)return;let n=eW(e,t,e.astNode,!0);if(0!==n.length)return r=void 0!==r?Math.max(0,Math.min(r,n.length-1)):0,n[r]}function eW(e,t,r,n){if(!n){let r=eT(e.grammarSource,Y);if(r&&r.feature===t)return[e]}return o(e)&&e.astNode===r?e.content.flatMap(e=>eW(e,t,r,!1)):[]}function eH(e){let t=e;return b(t)&&(V(t.$container)?t=t.$container.$container:Z(t.$container)?t=t.$container:A(t.$container)),function e(t,r,n){var i,a;function s(r,i){let a;return!eT(r,Y)&&(a=e(i,i,n)),n.set(t,a),a}if(n.has(t))return n.get(t);for(let e of(n.set(t,void 0),eR(r))){if(Y(e)&&"name"===e.feature.toLowerCase())return n.set(t,e),e;if(eo(e)&&Z(e.rule.ref))return s(e,e.rule.ref);else{;if(a=e,ey.isInstance(a,U)&&(null===(i=e.typeRef)||void 0===i?void 0:i.ref))return s(e,e.typeRef.ref)}}}(e,t,new Map)}function ez(e){return function e(t,r){if(r.has(t))return!0;r.add(t);for(let n of eR(t))if(eo(n)){if(!n.rule.ref||Z(n.rule.ref)&&!e(n.rule.ref,r))return!1}else if(Y(n))return!1;else if(V(n))return!1;return!!t.definition}(e,new Set)}function eY(e){if(e.inferredType)return e.inferredType.name;if(e.dataType)return e.dataType;if(e.returnType){let t=e.returnType.ref;if(t){if(Z(t))return t.name;if(_(t)||K(t))return t.name}}}function eq(e){var t,r;if(Z(e))return ez(e)?e.name:null!==(t=eY(e))&&void 0!==t?t:e.name;if(_(e)||K(e)||(r=e,ey.isInstance(r,"ReturnType")))return e.name;else if(V(e)){let t=function(e){var t;return e.inferredType?e.inferredType.name:(null===(t=e.type)||void 0===t?void 0:t.ref)?eq(e.type.ref):void 0}(e);if(t)return t}else if(b(e))return e.name;throw Error("Cannot get name of Unknown Type")}function eX(e){let t={s:!1,i:!1,u:!1},r=eJ(e.definition,t);return new RegExp(r,Object.entries(t).filter(([,e])=>e).map(([e])=>e).join(""))}let eQ=/[\s\S]/.source;function eJ(e,t){var r,n,i,a,s,o,l;if(r=e,ey.isInstance(r,el))return function(e){return e1(e.elements.map(e=>eJ(e)).join("|"),{cardinality:e.cardinality,lookahead:e.lookahead})}(e);if(n=e,ey.isInstance(n,eu))return function(e){return e1(e.elements.map(e=>eJ(e)).join(""),{cardinality:e.cardinality,lookahead:e.lookahead})}(e);else{;if(i=e,ey.isInstance(i,q))return function(e){return e.right?e1(`[${e0(e.left)}-${e0(e.right)}]`,{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1}):e1(e0(e.left),{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1})}(e);else if(ed(e)){let t=e.rule.ref;if(!t)throw Error("Missing rule reference.");return e1(eJ(t.definition),{cardinality:e.cardinality,lookahead:e.lookahead})}else{;if(a=e,ey.isInstance(a,ei))return function(e){return e1(`(?!${eJ(e.terminal)})${eQ}*?`,{cardinality:e.cardinality,lookahead:e.lookahead})}(e);else{;if(s=e,ey.isInstance(s,ep))return function(e){return e1(`${eQ}*?${eJ(e.terminal)}`,{cardinality:e.cardinality,lookahead:e.lookahead})}(e);else{;if(o=e,ey.isInstance(o,ea)){let r=e.regex.lastIndexOf("/"),n=e.regex.substring(1,r),i=e.regex.substring(r+1);return t&&(t.i=i.includes("i"),t.s=i.includes("s"),t.u=i.includes("u")),e1(n,{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1})}else{;if(l=e,ey.isInstance(l,em))return e1(eQ,{cardinality:e.cardinality,lookahead:e.lookahead});else throw Error(`Invalid terminal element: ${null==e?void 0:e.$type}`)}}}}}}function e0(e){return eK(e.value)}function e1(e,t){var r;return((!1!==t.wrap||t.lookahead)&&(e=`(${null!==(r=t.lookahead)&&void 0!==r?r:""}${e})`),t.cardinality)?`${e}${t.cardinality}`:e}var e2,e4,e7,e3,e5,e9,e6,e8,te,tt,tr,tn,ti,ta,ts,to,tl,tu,tc,td,th,tf,tp,tm,tg,ty,tT,tv,tE,tR,tA,tk,tI,tx,tS,tN,tC,t$,tL,tw,tb,tO,t_,tP,tM,tD,tZ,tU,tF,tG,tB,tK,tj,tV,tW,tH,tz,tY,tq,tX,tQ,tJ,t0,t1,t2,t4,t7,t3,t5,t9,t6,t8,re,rt,rr,rn,ri,ra,rs,ro,rl,ru,rc,rd,rh,rf,rp,rm,rg,ry,rT,rv,rE,rR,rA,rk,rI,rx,rS,rN,rC,r$,rL,rw,rb,rO,r_,rP,rM,rD,rZ,rU,rF,rG,rB,rK,rj,rV,rW,rH,rz,rY,rq,rX,rQ,rJ,r0,r1,r2,r4,r7,r3,r5,r9,r6,r8,ne,nt,nr,nn,ni,na,ns,no,nl,nu,nc,nd,nh,nf,np,nm,ng,ny,nT,nv,nE,nR,nA,nk,nI,nx,nS,nN=r("82633"),nC=r("96433"),n$=r("73217"),nL=r("97345"),nw=r("29072"),nb=r("65521");function nO(e){function t(){}t.prototype=e;let r=new t;function n(){return typeof r.bar}return n(),n(),e}let n_=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n{t.accept(e)})}}class n7 extends n4{constructor(e){super([]),this.idx=1,nV(this,nq(e,e=>void 0!==e))}set definition(e){}get definition(){return void 0!==this.referencedRule?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class n3 extends n4{constructor(e){super(e.definition),this.orgText="",nV(this,nq(e,e=>void 0!==e))}}class n5 extends n4{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,nV(this,nq(e,e=>void 0!==e))}}class n9 extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class n6 extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class n8 extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class ie extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class it extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class ir extends n4{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,nV(this,nq(e,e=>void 0!==e))}}class ii{constructor(e){this.idx=1,nV(this,nq(e,e=>void 0!==e))}accept(e){e.visit(this)}}class ia{visit(e){switch(e.constructor){case n7:return this.visitNonTerminal(e);case n5:return this.visitAlternative(e);case n9:return this.visitOption(e);case n6:return this.visitRepetitionMandatory(e);case n8:return this.visitRepetitionMandatoryWithSeparator(e);case it:return this.visitRepetitionWithSeparator(e);case ie:return this.visitRepetition(e);case ir:return this.visitAlternation(e);case ii:return this.visitTerminal(e);case n3:return this.visitRule(e);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}var is=r("93130"),io=r("20869");let il=function(e,t){var r;return(0,io.Z)(e,function(e,n,i){return!(r=t(e,n,i))}),!!r};var iu=r("31739"),ic=r("8417");let id=function(e,t,r){var n=(0,iu.Z)(e)?is.Z:il;return r&&(0,ic.Z)(e,t,r)&&(t=void 0),n(e,(0,nH.Z)(t,3))};var ih=r("77253"),ip=Math.max;let im=function(e,t,r,n){e=(0,nG.Z)(e)?e:(0,nC.Z)(e),r=r&&!n?(0,nP.Z)(r):0;var i=e.length;return r<0&&(r=ip(i+r,0)),(0,nD.Z)(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&(0,ih.Z)(e,t,r)>-1},ig=function(e,t){for(var r=-1,n=null==e?0:e.length;++riv(e,t));if(e instanceof n7&&im(t,e))return!1;if(e instanceof n4)return e instanceof n7&&t.push(e),iT(e.definition,e=>iv(e,t));else return!1}function iE(e){if(e instanceof n7)return"SUBRULE";if(e instanceof n9)return"OPTION";if(e instanceof ir)return"OR";else if(e instanceof n6)return"AT_LEAST_ONE";else if(e instanceof n8)return"AT_LEAST_ONE_SEP";else if(e instanceof it)return"MANY_SEP";else if(e instanceof ie)return"MANY";else if(e instanceof ii)return"CONSUME";else throw Error("non exhaustive match")}class iR{walk(e,t=[]){(0,nN.Z)(e.definition,(r,n)=>{let i=nM(e.definition,n+1);if(r instanceof n7)this.walkProdRef(r,i,t);else if(r instanceof ii)this.walkTerminal(r,i,t);else if(r instanceof n5)this.walkFlat(r,i,t);else if(r instanceof n9)this.walkOption(r,i,t);else if(r instanceof n6)this.walkAtLeastOne(r,i,t);else if(r instanceof n8)this.walkAtLeastOneSep(r,i,t);else if(r instanceof it)this.walkManySep(r,i,t);else if(r instanceof ie)this.walkMany(r,i,t);else if(r instanceof ir)this.walkOr(r,i,t);else throw Error("non exhaustive match")})}walkTerminal(e,t,r){}walkProdRef(e,t,r){}walkFlat(e,t,r){let n=t.concat(r);this.walk(e,n)}walkOption(e,t,r){let n=t.concat(r);this.walk(e,n)}walkAtLeastOne(e,t,r){let n=[new n9({definition:e.definition})].concat(t,r);this.walk(e,n)}walkAtLeastOneSep(e,t,r){let n=iA(e,t,r);this.walk(e,n)}walkMany(e,t,r){let n=[new n9({definition:e.definition})].concat(t,r);this.walk(e,n)}walkManySep(e,t,r){let n=iA(e,t,r);this.walk(e,n)}walkOr(e,t,r){let n=t.concat(r);(0,nN.Z)(e.definition,e=>{let t=new n5({definition:[e]});this.walk(t,n)})}}function iA(e,t,r){return[new n9({definition:[new ii({terminalType:e.separator})].concat(e.definition)})].concat(t,r)}var ik=r("38610");let iI=function(e){return e&&e.length?(0,ik.Z)(e):[]};var ix=r("71134");function iS(e){var t;if(e instanceof n7)return iS(e.referencedRule);if(e instanceof ii)return function(e){return[e.terminalType]}(e);if((t=e)instanceof n5||t instanceof n9||t instanceof ie||t instanceof n6||t instanceof n8||t instanceof it||t instanceof ii||t instanceof n3)return function(e){let t,r=[],n=e.definition,i=0,a=n.length>i,s=!0;for(;a&&s;)s=iv(t=n[i]),r=r.concat(iS(t)),i+=1,a=n.length>i;return iI(r)}(e);else{if(e instanceof ir)return function(e){let t=(0,nL.Z)(e.definition,e=>iS(e));return iI((0,ix.Z)(t))}(e);else throw Error("non exhaustive match")}}let iN="_~IN~_";class iC extends iR{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,t,r){}walkProdRef(e,t,r){let n=function(e,t){return e.name+t+iN}(e.referencedRule,e.idx)+this.topProd.name,i=iS(new n5({definition:t.concat(r)}));this.follows[n]=i}}var i$=r("61925"),iL=r("87317"),iw=r("87276"),ib=r("789");let iO=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}},i_=function(e,t){return((0,iu.Z)(e)?iw.Z:ib.Z)(e,iO((0,nH.Z)(t,3)))};var iP=r("18782"),iM=Math.max;let iD=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var i=null==r?0:(0,nP.Z)(r);return i<0&&(i=iM(n+i,0)),(0,ih.Z)(e,t,i)};var iZ=r("81748"),iU=r("37627"),iF=r("94641"),iG=r("37479"),iB=r("46592"),iK=r("99976");let ij=function(e,t,r,n){var i=-1,a=iG.Z,s=!0,o=e.length,l=[],u=t.length;if(!o)return l;r&&(t=(0,nW.Z)(t,(0,nJ.Z)(r))),n?(a=iB.Z,s=!1):t.length>=200&&(a=iK.Z,s=!1,t=new iF.Z(t));e:for(;++i"number"==typeof e?im(t,e):void 0!==(0,iX.Z)(t,t=>e.from<=t&&t<=e.to))}class i9 extends eZ{constructor(e){super(),this.targetCharCodes=e,this.found=!1}visitChildren(e){if(!0!==this.found){switch(e.type){case"Lookahead":this.visitLookahead(e);return;case"NegativeLookahead":this.visitNegativeLookahead(e);return}super.visitChildren(e)}}visitCharacter(e){im(this.targetCharCodes,e.value)&&(this.found=!0)}visitSet(e){e.complement?void 0===i5(e,this.targetCharCodes)&&(this.found=!0):void 0!==i5(e,this.targetCharCodes)&&(this.found=!0)}}function i6(e,t){if(!(t instanceof RegExp))return void 0!==(0,iX.Z)(t,t=>im(e,t.charCodeAt(0)));{let r=i2(t),n=new i9(e);return n.visit(r),n.found}}let i8="PATTERN",ae="defaultMode",at="modes",ar="boolean"==typeof RegExp("(?:)").sticky,an=/[^\\][$]/,ai=/[^\\[][\^]|^\^/;function aa(e){let t=e.ignoreCase?"i":"";return RegExp(`^(?:${e.source})`,t)}function as(e){let t=e.ignoreCase?"iy":"y";return RegExp(`${e.source}`,t)}function ao(e){let t=e.PATTERN;if(n2(t))return!1;if((0,iP.Z)(t))return!0;if((0,nw.Z)(t,"exec"))return!0;else if((0,nD.Z)(t))return!1;else throw Error("non exhaustive match")}function al(e){return!!(0,nD.Z)(e)&&1===e.length&&e.charCodeAt(0)}let au={test:function(e){let t=e.length;for(let r=this.lastIndex;r(0,nD.Z)(e)?e.charCodeAt(0):e)}function ah(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}let af=256,ap=[];function am(e){return ee.CATEGORIES))),t);t=t.concat(e),(0,n$.Z)(e)?n=!1:r=e}return t}(e);(function(e){(0,nN.Z)(e,e=>{!ax(e)&&(ak[aA]=e,e.tokenTypeIdx=aA++),aS(e)&&!(0,iu.Z)(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),!aS(e)&&(e.CATEGORIES=[]),!function(e){return(0,nw.Z)(e,"categoryMatches")}(e)&&(e.categoryMatches=[]),!function(e){return(0,nw.Z)(e,"categoryMatchesMap")}(e)&&(e.categoryMatchesMap={})})})(t),function(e){(0,nN.Z)(e,e=>{(function e(t,r){(0,nN.Z)(t,e=>{r.categoryMatchesMap[e.tokenTypeIdx]=!0}),(0,nN.Z)(r.CATEGORIES,n=>{let i=t.concat(r);!im(i,n)&&e(i,n)})})([],e)})}(t),function(e){(0,nN.Z)(e,e=>{e.categoryMatches=[],(0,nN.Z)(e.categoryMatchesMap,(t,r)=>{e.categoryMatches.push(ak[r].tokenTypeIdx)})})}(t),(0,nN.Z)(t,e=>{e.isParent=e.categoryMatches.length>0})}function ax(e){return(0,nw.Z)(e,"tokenTypeIdx")}function aS(e){return(0,nw.Z)(e,"CATEGORIES")}function aN(e){return(0,nw.Z)(e,"tokenTypeIdx")}(e2=t6||(t6={}))[e2.MISSING_PATTERN=0]="MISSING_PATTERN",e2[e2.INVALID_PATTERN=1]="INVALID_PATTERN",e2[e2.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",e2[e2.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",e2[e2.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",e2[e2.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",e2[e2.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",e2[e2.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",e2[e2.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",e2[e2.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",e2[e2.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",e2[e2.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",e2[e2.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",e2[e2.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",e2[e2.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",e2[e2.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",e2[e2.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",e2[e2.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE";let aC={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:["\n","\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:{buildUnableToPopLexerModeMessage:e=>`Unable to pop Lexer Mode after encountering Token ->${e.image}<- The Mode Stack is empty`,buildUnexpectedCharactersMessage:(e,t,r,n,i)=>`unexpected character: ->${e.charAt(t)}<- at offset: ${t}, skipped ${r} characters.`},traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(aC);class a${constructor(e,t=aC){if(this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(e,t)=>{if(!0!==this.traceInitPerf)return t();{this.traceInitIndent++;let r=Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${e}>`);let{time:n,value:i}=av(t),a=n>10?console.warn:console.log;return this.traceInitIndent time: ${n}ms`),this.traceInitIndent--,i}},"boolean"==typeof t)throw Error("The second argument to the Lexer constructor is now an ILexerConfig Object.\na boolean 2nd argument is no longer supported");this.config=nV({},aC,t);let r=this.config.traceInitPerf;!0===r?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):"number"==typeof r&&(this.traceInitMaxIdent=r,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",()=>{let r;let n=!0;this.TRACE_INIT("Lexer Config handling",()=>{if(this.config.lineTerminatorsPattern===aC.lineTerminatorsPattern)this.config.lineTerminatorsPattern=au;else if(this.config.lineTerminatorCharacters===aC.lineTerminatorCharacters)throw Error("Error: Missing property on the Lexer config.\n For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");if(t.safeMode&&t.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),(0,iu.Z)(e)?r={modes:{defaultMode:(0,nb.Z)(e)},defaultMode:ae}:(n=!1,r=(0,nb.Z)(e))}),!1===this.config.skipValidations&&(this.TRACE_INIT("performRuntimeChecks",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(function(e,t,r){let n=[];return!(0,nw.Z)(e,ae)&&n.push({message:"A MultiMode Lexer cannot be initialized without a <"+ae+"> property in its definition\n",type:t6.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),!(0,nw.Z)(e,at)&&n.push({message:"A MultiMode Lexer cannot be initialized without a <"+at+"> property in its definition\n",type:t6.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,nw.Z)(e,at)&&(0,nw.Z)(e,ae)&&!(0,nw.Z)(e.modes,e.defaultMode)&&n.push({message:`A MultiMode Lexer cannot be initialized with a ${ae}: <${e.defaultMode}>which does not exist +`,type:t6.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,nw.Z)(e,at)&&(0,nN.Z)(e.modes,(e,t)=>{(0,nN.Z)(e,(r,i)=>{if((0,i$.Z)(r))n.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${t}> at index: <${i}> +`,type:t6.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED});else if((0,nw.Z)(r,"LONGER_ALT")){let i=(0,iu.Z)(r.LONGER_ALT)?r.LONGER_ALT:[r.LONGER_ALT];(0,nN.Z)(i,i=>{!(0,i$.Z)(i)&&!im(e,i)&&n.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${i.name}> on token <${r.name}> outside of mode <${t}> +`,type:t6.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})})}})}),n}(r,this.trackStartLines,this.config.lineTerminatorCharacters))}),this.TRACE_INIT("performWarningRuntimeChecks",()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(function(e,t,r){let n=[],i=!1,a=i_(iY((0,ix.Z)((0,nC.Z)(e.modes))),e=>e[i8]===a$.NA),s=ad(r);return t&&(0,nN.Z)(a,e=>{let t=ac(e,s);if(!1!==t){let r={message:function(e,t){if(t.issue===t6.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern. + The problem is in the <${e.name}> Token Type + Root cause: ${t.errMsg}. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(t.issue===t6.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. + The problem is in the <${e.name}> Token Type + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}(e,t),type:t.issue,tokenType:e};n.push(r)}else(0,nw.Z)(e,"LINE_BREAKS")?!0===e.LINE_BREAKS&&(i=!0):i6(s,e.PATTERN)&&(i=!0)}),t&&!i&&n.push({message:"Warning: No LINE_BREAKS Found.\n This Lexer has been defined to track line and column information,\n But none of the Token Types can be identified as matching a line terminator.\n See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS \n for details.",type:t6.NO_LINE_BREAKS_FLAGS}),n}(r,this.trackStartLines,this.config.lineTerminatorCharacters))})),r.modes=r.modes?r.modes:{},(0,nN.Z)(r.modes,(e,t)=>{r.modes[t]=i_(e,e=>(0,i$.Z)(e))});let i=(0,nK.Z)(r.modes);if((0,nN.Z)(r.modes,(e,r)=>{this.TRACE_INIT(`Mode: <${r}> processing`,()=>{if(this.modes.push(r),!1===this.config.skipValidations&&this.TRACE_INIT("validatePatterns",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(function(e,t){let r=[],n=function(e){let t=(0,iU.Z)(e,e=>!(0,nw.Z)(e,i8)),r=(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:t6.MISSING_PATTERN,tokenTypes:[e]}));return{errors:r,valid:iz(e,t)}}(e);r=r.concat(n.errors);let i=function(e){let t=(0,iU.Z)(e,e=>{let t=e[i8];return!n2(t)&&!(0,iP.Z)(t)&&!(0,nw.Z)(t,"exec")&&!(0,nD.Z)(t)}),r=(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:t6.INVALID_PATTERN,tokenTypes:[e]}));return{errors:r,valid:iz(e,t)}}(n.valid),a=i.valid;return r=(r=(r=(r=(r=r.concat(i.errors)).concat(function(e){let t=[],r=(0,iU.Z)(e,e=>n2(e[i8]));return t=(t=(t=(t=(t=t.concat(function(e){class t extends eZ{constructor(){super(...arguments),this.found=!1}visitEndAnchor(e){this.found=!0}}let r=(0,iU.Z)(e,e=>{let r=e.PATTERN;try{let e=i2(r),n=new t;return n.visit(e),n.found}catch(e){return an.test(r.source)}});return(0,nL.Z)(r,e=>({message:"Unexpected RegExp Anchor Error:\n Token Type: ->"+e.name+"<- static 'PATTERN' cannot contain end of input anchor '$'\n See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.",type:t6.EOI_ANCHOR_FOUND,tokenTypes:[e]}))}(r))).concat(function(e){class t extends eZ{constructor(){super(...arguments),this.found=!1}visitStartAnchor(e){this.found=!0}}let r=(0,iU.Z)(e,e=>{let r=e.PATTERN;try{let e=i2(r),n=new t;return n.visit(e),n.found}catch(e){return ai.test(r.source)}});return(0,nL.Z)(r,e=>({message:"Unexpected RegExp Anchor Error:\n Token Type: ->"+e.name+"<- static 'PATTERN' cannot contain start of input anchor '^'\n See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.",type:t6.SOI_ANCHOR_FOUND,tokenTypes:[e]}))}(r))).concat(function(e){let t=(0,iU.Z)(e,e=>{let t=e[i8];return t instanceof RegExp&&(t.multiline||t.global)});return(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:t6.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]}))}(r))).concat(function(e){let t=[],r=(0,nL.Z)(e,r=>(0,iZ.Z)(e,(e,n)=>(r.PATTERN.source===n.PATTERN.source&&!im(t,n)&&n.PATTERN!==a$.NA&&(t.push(n),e.push(n)),e),[]));r=iY(r);let n=(0,iU.Z)(r,e=>e.length>1);return(0,nL.Z)(n,e=>{let t=(0,nL.Z)(e,e=>e.name),r=iq(e).PATTERN;return{message:`The same RegExp pattern ->${r}<-has been used in all of the following Token Types: ${t.join(", ")} <-`,type:t6.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}})}(r))).concat(function(e){let t=(0,iU.Z)(e,e=>e.PATTERN.test(""));return(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' must not match an empty string",type:t6.EMPTY_MATCH_PATTERN,tokenTypes:[e]}))}(r))}(a))).concat(function(e){let t=(0,iU.Z)(e,e=>{if(!(0,nw.Z)(e,"GROUP"))return!1;let t=e.GROUP;return t!==a$.SKIPPED&&t!==a$.NA&&!(0,nD.Z)(t)});return(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:t6.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]}))}(a))).concat(function(e,t){let r=(0,iU.Z)(e,e=>void 0!==e.PUSH_MODE&&!im(t,e.PUSH_MODE));return(0,nL.Z)(r,e=>({message:`Token Type: ->${e.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${e.PUSH_MODE}<-which does not exist`,type:t6.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]}))}(a,t))).concat(function(e){let t=[],r=(0,iZ.Z)(e,(e,t,r)=>{let n=t.PATTERN;return n===a$.NA?e:((0,nD.Z)(n)?e.push({str:n,idx:r,tokenType:t}):n2(n)&&function(e){return void 0===(0,iX.Z)([".","\\","[","]","|","^","$","(",")","?","*","+","{"],t=>-1!==e.source.indexOf(t))}(n)&&e.push({str:n.source,idx:r,tokenType:t}),e)},[]);return(0,nN.Z)(e,(e,n)=>{(0,nN.Z)(r,({str:r,idx:i,tokenType:a})=>{if(n${a.name}<- can never be matched. +Because it appears AFTER the Token Type ->${e.name}<-in the lexer's definition. +See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;t.push({message:r,type:t6.UNREACHABLE_PATTERN,tokenTypes:[e,a]})}})}),t}(a))}(e,i))}),(0,n$.Z)(this.lexerDefinitionErrors)){let n;aI(e),this.TRACE_INIT("analyzeTokenTypes",()=>{n=function(e,t){let r,n,i,a,s,o,l,u,c,d,h,f;let p=(t=(0,iL.Z)(t,{useSticky:ar,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r","\n"],tracer:(e,t)=>t()})).tracer;p("initCharCodeToOptimizedIndexMap",()=>{(function(){if((0,n$.Z)(ap)){ap=Array(65536);for(let e=0;e<65536;e++)ap[e]=e>255?255+~~(e/255):e}})()}),p("Reject Lexer.NA",()=>{r=i_(e,e=>e[i8]===a$.NA)});let m=!1;p("Transform Patterns",()=>{m=!1,n=(0,nL.Z)(r,e=>{let r=e[i8];if(n2(r)){let e=r.source;return 1!==e.length||"^"===e||"$"===e||"."===e||r.ignoreCase?2!==e.length||"\\"!==e[0]||im(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],e[1])?t.useSticky?as(r):aa(r):e[1]:e}if((0,iP.Z)(r))return m=!0,{exec:r};if("object"==typeof r)return m=!0,r;else if("string"==typeof r){if(1===r.length)return r;{let e=new RegExp(r.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"));return t.useSticky?as(e):aa(e)}}else throw Error("non exhaustive match")})}),p("misc mapping",()=>{i=(0,nL.Z)(r,e=>e.tokenTypeIdx),a=(0,nL.Z)(r,e=>{let t=e.GROUP;if(t!==a$.SKIPPED){if((0,nD.Z)(t))return t;if((0,i$.Z)(t))return!1;else throw Error("non exhaustive match")}}),s=(0,nL.Z)(r,e=>{let t=e.LONGER_ALT;if(t)return(0,iu.Z)(t)?(0,nL.Z)(t,e=>iD(r,e)):[iD(r,t)]}),o=(0,nL.Z)(r,e=>e.PUSH_MODE),l=(0,nL.Z)(r,e=>(0,nw.Z)(e,"POP_MODE"))}),p("Line Terminator Handling",()=>{let e=ad(t.lineTerminatorCharacters);u=(0,nL.Z)(r,e=>!1),"onlyOffset"!==t.positionTracking&&(u=(0,nL.Z)(r,t=>(0,nw.Z)(t,"LINE_BREAKS")?!!t.LINE_BREAKS:!1===ac(t,e)&&i6(e,t.PATTERN)))}),p("Misc Mapping #2",()=>{c=(0,nL.Z)(r,ao),d=(0,nL.Z)(n,al),h=(0,iZ.Z)(r,(e,t)=>{let r=t.GROUP;return(0,nD.Z)(r)&&r!==a$.SKIPPED&&(e[r]=[]),e},{}),f=(0,nL.Z)(n,(e,t)=>({pattern:n[t],longerAlt:s[t],canLineTerminator:u[t],isCustom:c[t],short:d[t],group:a[t],push:o[t],pop:l[t],tokenTypeIdx:i[t],tokenType:r[t]}))});let g=!0,y=[];return!t.safeMode&&p("First Char Optimization",()=>{y=(0,iZ.Z)(r,(e,r,n)=>{if("string"==typeof r.PATTERN)ah(e,am(r.PATTERN.charCodeAt(0)),f[n]);else if((0,iu.Z)(r.START_CHARS_HINT)){let t;(0,nN.Z)(r.START_CHARS_HINT,r=>{let i=am("string"==typeof r?r.charCodeAt(0):r);t!==i&&(t=i,ah(e,i,f[n]))})}else if(n2(r.PATTERN)){if(r.PATTERN.unicode)g=!1,t.ensureOptimizations&&iQ(`${i7} Unable to analyze < ${r.PATTERN.toString()} > pattern. + The regexp unicode flag is not currently supported by the regexp-to-ast library. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{let i=function(e,t=!1){try{let t=i2(e);return function e(t,r,n){switch(t.type){case"Disjunction":for(let i=0;i{if("number"==typeof e)i3(e,r,n);else if(!0===n)for(let t=e.from;t<=e.to;t++)i3(t,r,n);else{for(let t=e.from;t<=e.to&&t=af){let t=e.from>=af?e.from:af,n=e.to,i=am(t),a=am(n);for(let e=i;e<=a;e++)r[e]=e}}});break;case"Group":e(a.value,r,n);break;default:throw Error("Non Exhaustive Match")}let s=void 0!==a.quantifier&&0===a.quantifier.atLeast;if("Group"===a.type&&!1===function e(t){let r=t.quantifier;return!!r&&0===r.atLeast||!!t.value&&((0,iu.Z)(t.value)?iT(t.value,e):e(t.value))}(a)||"Group"!==a.type&&!1===s)break}break;default:throw Error("non exhaustive match!")}return(0,nC.Z)(r)}(t.value,{},t.flags.ignoreCase)}catch(r){if(r.message===i4)t&&iJ(`${i7} Unable to optimize: < ${e.toString()} > + Complement Sets cannot be automatically optimized. + This will disable the lexer's first char optimizations. + See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let r="";t&&(r="\n This will disable the lexer's first char optimizations.\n See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details."),iQ(`${i7} + Failed parsing: < ${e.toString()} > + Using the @chevrotain/regexp-to-ast library + Please open an issue at: https://github.com/chevrotain/chevrotain/issues`+r)}}return[]}(r.PATTERN,t.ensureOptimizations);(0,n$.Z)(i)&&(g=!1),(0,nN.Z)(i,t=>{ah(e,t,f[n])})}}else t.ensureOptimizations&&iQ(`${i7} TokenType: <${r.name}> is using a custom token pattern without providing parameter. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),g=!1;return e},[])}),{emptyGroups:h,patternIdxToConfig:f,charCodeToPatternIdxToConfig:y,hasCustom:m,canBeOptimized:g}}(e,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:this.TRACE_INIT})}),this.patternIdxToConfig[r]=n.patternIdxToConfig,this.charCodeToPatternIdxToConfig[r]=n.charCodeToPatternIdxToConfig,this.emptyGroups=nV({},this.emptyGroups,n.emptyGroups),this.hasCustom=n.hasCustom||this.hasCustom,this.canModeBeOptimized[r]=n.canBeOptimized}})}),this.defaultMode=r.defaultMode,!(0,n$.Z)(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling)throw Error("Errors detected in definition of Lexer:\n"+(0,nL.Z)(this.lexerDefinitionErrors,e=>e.message).join("-----------------------\n"));(0,nN.Z)(this.lexerDefinitionWarning,e=>{iJ(e.message)}),this.TRACE_INIT("Choosing sub-methods implementations",()=>{if(ar?(this.chopInput=ag.Z,this.match=this.matchWithTest):(this.updateLastIndex=ay.Z,this.match=this.matchWithExec),n&&(this.handleModes=ay.Z),!1===this.trackStartLines&&(this.computeNewColumn=ag.Z),!1===this.trackEndLines&&(this.updateTokenEndLineColumnLocation=ay.Z),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else if(/onlyOffset/i.test(this.config.positionTracking))this.createTokenInstance=this.createOffsetOnlyToken;else throw Error(`Invalid config option: "${this.config.positionTracking}"`);this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)}),this.TRACE_INIT("Failed Optimization Warnings",()=>{let e=(0,iZ.Z)(this.canModeBeOptimized,(e,t,r)=>(!1===t&&e.push(r),e),[]);if(t.ensureOptimizations&&!(0,n$.Z)(e))throw Error(`Lexer Modes: < ${e.join(", ")} > cannot be optimized. + Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. + Or inspect the console log for details on how to resolve these issues.`)}),this.TRACE_INIT("clearRegExpParserCache",()=>{i0={}}),this.TRACE_INIT("toFastProperties",()=>{nO(this)})})}tokenize(e,t=this.defaultMode){if(!(0,n$.Z)(this.lexerDefinitionErrors))throw Error("Unable to Tokenize because Errors detected in definition of Lexer:\n"+(0,nL.Z)(this.lexerDefinitionErrors,e=>e.message).join("-----------------------\n"));return this.tokenizeInternal(e,t)}tokenizeInternal(e,t){let r,n,i,a,s,o,l,u,c,d,h,f,p,m,g,y,T;let v=e,E=v.length,R=0,A=0,k=Array(this.hasCustom?0:Math.floor(e.length/10)),I=[],x=this.trackStartLines?1:void 0,S=this.trackStartLines?1:void 0,N=function(e){let t={},r=(0,nK.Z)(e);return(0,nN.Z)(r,r=>{let n=e[r];if((0,iu.Z)(n))t[r]=[];else throw Error("non exhaustive match")}),t}(this.emptyGroups),C=this.trackStartLines,$=this.config.lineTerminatorsPattern,L=0,w=[],b=[],O=[],_=[];function P(){return w}function M(e){let t=b[am(e)];return void 0===t?_:t}Object.freeze(_);let D=e=>{if(1===O.length&&void 0===e.tokenType.PUSH_MODE){let t=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);I.push({offset:e.startOffset,line:e.startLine,column:e.startColumn,length:e.image.length,message:t})}else{O.pop();let e=(0,aT.Z)(O);w=this.patternIdxToConfig[e],b=this.charCodeToPatternIdxToConfig[e],L=w.length;let t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;y=b&&t?M:P}};function Z(e){O.push(e),b=this.charCodeToPatternIdxToConfig[e],L=(w=this.patternIdxToConfig[e]).length,L=w.length;let t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;y=b&&t?M:P}Z.call(this,t);let U=this.config.recoveryEnabled;for(;Ro.length){o=a,l=u,T=t;break}}}break}}if(null!==o){if(c=o.length,void 0!==(d=T.group)&&(h=T.tokenTypeIdx,f=this.createTokenInstance(o,R,h,T.tokenType,x,S,c),this.handlePayload(f,l),!1===d?A=this.addToken(k,A,f):N[d].push(f)),e=this.chopInput(e,c),R+=c,S=this.computeNewColumn(S,c),!0===C&&!0===T.canLineTerminator){let e,t,r=0;$.lastIndex=0;do!0===(e=$.test(o))&&(t=$.lastIndex-1,r++);while(!0===e);0!==r&&(x+=r,S=c-t,this.updateTokenEndLineColumnLocation(f,d,t,r,x,S,c))}this.handleModes(T,D,Z,f)}else{let t=R,r=x,i=S,a=!1===U;for(;!1===a&&R ${aL(e)} <--`:`token of type --> ${e.name} <--`;return`Expecting ${i} but found --> '${t.image}' <--`},buildNotAllInputParsedMessage:({firstRedundant:e,ruleName:t})=>"Redundant input, expecting EOF but found: "+e.image,buildNoViableAltMessage({expectedPathsPerAlt:e,actual:t,previous:r,customUserDescription:n,ruleName:i}){let a="Expecting: ",s="\nbut found: '"+iq(t).image+"'";if(n)return a+n+s;{let t=(0,iZ.Z)(e,(e,t)=>e.concat(t),[]),r=(0,nL.Z)(t,e=>`[${(0,nL.Z)(e,e=>aL(e)).join(", ")}]`),n=(0,nL.Z)(r,(e,t)=>` ${t+1}. ${e}`);return a+`one of these possible Token sequences: +${n.join("\n")}`+s}},buildEarlyExitMessage({expectedIterationPaths:e,actual:t,customUserDescription:r,ruleName:n}){let i="Expecting: ",a="\nbut found: '"+iq(t).image+"'";if(r)return i+r+a;{let t=(0,nL.Z)(e,e=>`[${(0,nL.Z)(e,e=>aL(e)).join(",")}]`);return i+`expecting at least one iteration which starts with one of these possible Token sequences:: + <${t.join(" ,")}>`+a}}};Object.freeze(aV);let aW={buildRuleNotFoundError:(e,t)=>"Invalid grammar, reference to a rule which is not defined: ->"+t.nonTerminalName+"<-\ninside top level rule: ->"+e.name+"<-"},aH={buildDuplicateFoundError(e,t){var r;let n=e.name,i=iq(t),a=i.idx,s=iE(i);let o=(r=i)instanceof ii?r.terminalType.name:r instanceof n7?r.nonTerminalName:"",l=`->${s}${a>0?a:""}<- ${o?`with argument: ->${o}<-`:""} + appears more than once (${t.length} times) in the top level rule: ->${n}<-. + For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES + `;return l=(l=l.replace(/[ \t]+/g," ")).replace(/\s\s+/g,"\n")},buildNamespaceConflictError:e=>`Namespace conflict found in grammar. +The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${e.name}>. +To resolve this make sure each Terminal and Non-Terminal names are unique +This is easy to accomplish by using the convention that Terminal names start with an uppercase letter +and Non-Terminal names start with a lower case letter.`,buildAlternationPrefixAmbiguityError(e){let t=(0,nL.Z)(e.prefixPath,e=>aL(e)).join(", "),r=0===e.alternation.idx?"":e.alternation.idx;return`Ambiguous alternatives: <${e.ambiguityIndices.join(" ,")}> due to common lookahead prefix +in inside <${e.topLevelRule.name}> Rule, +<${t}> may appears as a prefix path in all these alternatives. +See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX +For Further details.`},buildAlternationAmbiguityError(e){let t=(0,nL.Z)(e.prefixPath,e=>aL(e)).join(", "),r=0===e.alternation.idx?"":e.alternation.idx,n=`Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(" ,")}> in inside <${e.topLevelRule.name}> Rule, +<${t}> may appears as a prefix path in all these alternatives. +`;return n=n+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES +`+"For Further details."},buildEmptyRepetitionError(e){let t=iE(e.repetition);return 0!==e.repetition.idx&&(t+=e.repetition.idx),`The repetition <${t}> within Rule <${e.topLevelRule.name}> can never consume any tokens. +This could lead to an infinite loop.`},buildTokenNameError:e=>"deprecated",buildEmptyAlternationError:e=>`Ambiguous empty alternative: <${e.emptyChoiceIdx+1}> in inside <${e.topLevelRule.name}> Rule. +Only the last alternative may be an empty alternative.`,buildTooManyAlternativesError:e=>`An Alternation cannot have more than 256 alternatives: + inside <${e.topLevelRule.name}> Rule. + has ${e.alternation.definition.length+1} alternatives.`,buildLeftRecursionError(e){let t=e.topLevelRule.name,r=(0,nL.Z)(e.leftRecursionPath,e=>e.name),n=`${t} --> ${r.concat([t]).join(" --\x3e ")}`;return`Left Recursion found in grammar. +rule: <${t}> can be invoked from itself (directly or indirectly) +without consuming any Tokens. The grammar path that causes this is: + ${n} + To fix this refactor your grammar to remove the left recursion. +see: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError:e=>"deprecated",buildDuplicateRuleNameError(e){let t;return t=e.topLevelRule instanceof n3?e.topLevelRule.name:e.topLevelRule,`Duplicate definition, rule: ->${t}<- is already defined in the grammar: ->${e.grammarName}<-`}};class az extends ia{constructor(e,t){super(),this.nameToTopRule=e,this.errMsgProvider=t,this.errors=[]}resolveRefs(){(0,nN.Z)((0,nC.Z)(this.nameToTopRule),e=>{this.currTopLevel=e,e.accept(this)})}visitNonTerminal(e){let t=this.nameToTopRule[e.nonTerminalName];if(t)e.referencedRule=t;else{let t=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,e);this.errors.push({message:t,type:rt.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}}}let aY=function(e,t){return(0,iV.Z)((0,nL.Z)(e,t),1)};var aq=r("49790");let aX=function(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i{!1===(0,n$.Z)(e.definition)&&(n=a(e.definition))}),n;else if(t instanceof ii)r.push(t.terminalType);else throw Error("non exhaustive match");i++}return n.push({partialPath:r,suffixDef:nM(e,i)}),n}function se(e,t,r,n){let i="EXIT_NONE_TERMINAL",a=[i],s="EXIT_ALTERNATIVE",o=!1,l=t.length,u=l-n-1,c=[],d=[];for(d.push({idx:-1,def:e,ruleStack:[],occurrenceStack:[]});!(0,n$.Z)(d);){let e=d.pop();if(e===s){o&&(0,aT.Z)(d).idx<=u&&d.pop();continue}let n=e.def,h=e.idx,f=e.ruleStack,p=e.occurrenceStack;if((0,n$.Z)(n))continue;let m=n[0];if(m===i){let e={idx:h,def:nM(n),ruleStack:a1(f),occurrenceStack:a1(p)};d.push(e)}else if(m instanceof ii){if(h=0;e--){let t={idx:h,def:m.definition[e].definition.concat(nM(n)),ruleStack:f,occurrenceStack:p};d.push(t),d.push(s)}else if(m instanceof n5)d.push({idx:h,def:m.definition.concat(nM(n)),ruleStack:f,occurrenceStack:p});else if(m instanceof n3)d.push(function(e,t,r,n){let i=(0,nb.Z)(r);i.push(e.name);let a=(0,nb.Z)(n);return a.push(1),{idx:t,def:e.definition,ruleStack:i,occurrenceStack:a}}(m,h,f,p));else throw Error("non exhaustive match")}return c}function st(e){if(e instanceof n9||"Option"===e)return t8.OPTION;if(e instanceof ie||"Repetition"===e)return t8.REPETITION;if(e instanceof n6||"RepetitionMandatory"===e)return t8.REPETITION_MANDATORY;else if(e instanceof n8||"RepetitionMandatoryWithSeparator"===e)return t8.REPETITION_MANDATORY_WITH_SEPARATOR;else if(e instanceof it||"RepetitionWithSeparator"===e)return t8.REPETITION_WITH_SEPARATOR;else if(e instanceof ir||"Alternation"===e)return t8.ALTERNATION;else throw Error("non exhaustive match")}function sr(e){let{occurrence:t,rule:r,prodType:n,maxLookahead:i}=e,a=st(n);return a===t8.ALTERNATION?sc(t,r,i):sd(t,r,a,i)}(e3=t8||(t8={}))[e3.OPTION=0]="OPTION",e3[e3.REPETITION=1]="REPETITION",e3[e3.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",e3[e3.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",e3[e3.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",e3[e3.ALTERNATION=5]="ALTERNATION";function sn(e,t,r,n){let i=e.length,a=iT(e,e=>iT(e,e=>1===e.length));if(t)return function(t){let n=(0,nL.Z)(t,e=>e.GATE);for(let t=0;t(0,ix.Z)(e)),r=(0,iZ.Z)(t,(e,t,r)=>((0,nN.Z)(t,t=>{!(0,nw.Z)(e,t.tokenTypeIdx)&&(e[t.tokenTypeIdx]=r),(0,nN.Z)(t.categoryMatches,t=>{!(0,nw.Z)(e,t)&&(e[t]=r)})}),e),{});return function(){return r[this.LA(1).tokenTypeIdx]}}}function si(e,t,r){let n=iT(e,e=>1===e.length),i=e.length;if(!n||r)return function(){t:for(let r=0;r(e[t.tokenTypeIdx]=!0,(0,nN.Z)(t.categoryMatches,t=>{e[t]=!0}),e),[]);return function(){return!0===e[this.LA(1).tokenTypeIdx]}}}}class sa extends iR{constructor(e,t,r){super(),this.topProd=e,this.targetOccurrence=t,this.targetProdType=r}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(e,t,r,n){return e.idx===this.targetOccurrence&&this.targetProdType===t&&(this.restDef=r.concat(n),!0)}walkOption(e,t,r){!this.checkIsTarget(e,t8.OPTION,t,r)&&super.walkOption(e,t,r)}walkAtLeastOne(e,t,r){!this.checkIsTarget(e,t8.REPETITION_MANDATORY,t,r)&&super.walkOption(e,t,r)}walkAtLeastOneSep(e,t,r){!this.checkIsTarget(e,t8.REPETITION_MANDATORY_WITH_SEPARATOR,t,r)&&super.walkOption(e,t,r)}walkMany(e,t,r){!this.checkIsTarget(e,t8.REPETITION,t,r)&&super.walkOption(e,t,r)}walkManySep(e,t,r){!this.checkIsTarget(e,t8.REPETITION_WITH_SEPARATOR,t,r)&&super.walkOption(e,t,r)}}class ss extends ia{constructor(e,t,r){super(),this.targetOccurrence=e,this.targetProdType=t,this.targetRef=r,this.result=[]}checkIsTarget(e,t){e.idx===this.targetOccurrence&&this.targetProdType===t&&(void 0===this.targetRef||e===this.targetRef)&&(this.result=e.definition)}visitOption(e){this.checkIsTarget(e,t8.OPTION)}visitRepetition(e){this.checkIsTarget(e,t8.REPETITION)}visitRepetitionMandatory(e){this.checkIsTarget(e,t8.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(e){this.checkIsTarget(e,t8.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(e){this.checkIsTarget(e,t8.REPETITION_WITH_SEPARATOR)}visitAlternation(e){this.checkIsTarget(e,t8.ALTERNATION)}}function so(e){let t=Array(e);for(let r=0;ra8([e],1)),n=so(r.length),i=(0,nL.Z)(r,e=>{let t={};return(0,nN.Z)(e,e=>{let r=sl(e.partialPath);(0,nN.Z)(r,e=>{t[e]=!0})}),t}),a=r;for(let e=1;e<=t;e++){let r=a;a=so(r.length);for(let s=0;s{let t=sl(e.partialPath);(0,nN.Z)(t,e=>{i[s][e]=!0})})}}}}return n}function sc(e,t,r,n){let i=new ss(e,t8.ALTERNATION,n);return t.accept(i),su(i.result,r)}function sd(e,t,r,n){let i=new ss(e,r);t.accept(i);let a=i.result,s=new sa(t,e,r).startWalking(),o=new n5({definition:a});return su([o,new n5({definition:s})],n)}function sh(e,t){r:for(let r=0;riT(e,e=>iT(e,e=>(0,n$.Z)(e.categoryMatches))))}function sp(e){return`${iE(e)}_#_${e.idx}_#_${sm(e)}`}function sm(e){return e instanceof ii?e.terminalType.name:e instanceof n7?e.nonTerminalName:""}class sg extends ia{constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(e){this.allProductions.push(e)}visitOption(e){this.allProductions.push(e)}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}visitAlternation(e){this.allProductions.push(e)}visitTerminal(e){this.allProductions.push(e)}}class sy extends ia{constructor(){super(...arguments),this.alternations=[]}visitAlternation(e){this.alternations.push(e)}}class sT extends ia{constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}}let sv="MismatchedTokenException",sE="NoViableAltException",sR="EarlyExitException",sA="NotAllInputParsedException",sk=[sv,sE,sR,sA];function sI(e){return im(sk,e.name)}Object.freeze(sk);class sx extends Error{constructor(e,t){super(e),this.token=t,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}class sS extends sx{constructor(e,t,r){super(e,t),this.previousToken=r,this.name=sv}}class sN extends sx{constructor(e,t,r){super(e,t),this.previousToken=r,this.name=sE}}class sC extends sx{constructor(e,t){super(e,t),this.name=sA}}class s$ extends sx{constructor(e,t,r){super(e,t),this.previousToken=r,this.name=sR}}let sL={},sw="InRuleRecoveryException";class sb extends Error{constructor(e){super(e),this.name=sw}}function sO(e,t,r,n,i,a,s){let o=this.getKeyForAutomaticLookahead(n,i),l=this.firstAfterRepMap[o];if(void 0===l){let e=this.getCurrRuleFullName();l=new a(this.getGAstProductions()[e],i).startWalking(),this.firstAfterRepMap[o]=l}let u=l.token,c=l.occurrence,d=l.isEndOfRule;if(1===this.RULE_STACK.length&&d&&void 0===u&&(u=aB,c=1),void 0!==u&&void 0!==c)this.shouldInRepetitionRecoveryBeTried(u,c,s)&&this.tryInRepetitionRecovery(e,t,r,u)}let s_=256,sP=512,sM=768,sD=1024,sZ=1280,sU=1536;function sF(e,t,r){return r|t|e}class sG{constructor(e){var t;this.maxLookahead=null!==(t=null==e?void 0:e.maxLookahead)&&void 0!==t?t:s7.maxLookahead}validate(e){let t=this.validateNoLeftRecursion(e.rules);if((0,n$.Z)(t)){let r=this.validateEmptyOrAlternatives(e.rules),n=this.validateAmbiguousAlternationAlternatives(e.rules,this.maxLookahead);return[...t,...r,...n,...this.validateSomeNonEmptyLookaheadPath(e.rules,this.maxLookahead)]}return t}validateNoLeftRecursion(e){return aY(e,e=>(function e(t,r,n,i=[]){let a=[],s=function e(t){let r=[];if((0,n$.Z)(t))return r;let n=iq(t);if(n instanceof n7)r.push(n.referencedRule);else if(n instanceof n5||n instanceof n9||n instanceof n6||n instanceof n8||n instanceof it||n instanceof ie)r=r.concat(e(n.definition));else if(n instanceof ir)r=(0,ix.Z)((0,nL.Z)(n.definition,t=>e(t.definition)));else if(n instanceof ii);else throw Error("non exhaustive match");let i=iv(n),a=t.length>1;if(!i||!a)return r;{let n=nM(t);return r.concat(e(n))}}(r.definition);if((0,n$.Z)(s))return[];{let r=t.name;im(s,t)&&a.push({message:n.buildLeftRecursionError({topLevelRule:t,leftRecursionPath:i}),type:rt.LEFT_RECURSION,ruleName:r});let o=aY(iz(s,i.concat([t])),r=>{let a=(0,nb.Z)(i);return a.push(r),e(t,r,n,a)});return a.concat(o)}})(e,e,aH))}validateEmptyOrAlternatives(e){return aY(e,e=>(function(e,t){let r=new sy;return e.accept(r),aY(r.alternations,r=>aY(a1(r.definition),(n,i)=>{let a=se([n],[],aE,1);return(0,n$.Z)(a)?[{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:r,emptyChoiceIdx:i}),type:rt.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:r.idx,alternative:i+1}]:[]}))})(e,aH))}validateAmbiguousAlternationAlternatives(e,t){return aY(e,e=>(function(e,t,r){let n=new sy;e.accept(n);let i=n.alternations;return aY(i=i_(i,e=>!0===e.ignoreAmbiguities),n=>{let i=n.idx,a=sc(i,e,n.maxLookahead||t,n),s=function(e,t,r,n){let i=[],a=(0,iZ.Z)(e,(r,n,a)=>!0===t.definition[a].ignoreAmbiguities?r:((0,nN.Z)(n,n=>{let s=[a];(0,nN.Z)(e,(e,r)=>{a!==r&&sh(e,n)&&!0!==t.definition[r].ignoreAmbiguities&&s.push(r)}),s.length>1&&!sh(i,n)&&(i.push(n),r.push({alts:s,path:n}))}),r),[]);return(0,nL.Z)(a,e=>{let i=(0,nL.Z)(e.alts,e=>e+1);return{message:n.buildAlternationAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:i,prefixPath:e.path}),type:rt.AMBIGUOUS_ALTS,ruleName:r.name,occurrence:t.idx,alternatives:e.alts}})}(a,n,e,r),o=function(e,t,r,n){let i=(0,iZ.Z)(e,(e,t,r)=>{let n=(0,nL.Z)(t,e=>({idx:r,path:e}));return e.concat(n)},[]);return iY(aY(i,e=>{if(!0===t.definition[e.idx].ignoreAmbiguities)return[];let a=e.idx,s=e.path,o=(0,iU.Z)(i,e=>{var r,n;return!0!==t.definition[e.idx].ignoreAmbiguities&&e.idx{let r=n[t];return e===r||r.categoryMatchesMap[e.tokenTypeIdx]}))});return(0,nL.Z)(o,e=>{let i=[e.idx+1,a+1],s=0===t.idx?"":t.idx;return{message:n.buildAlternationPrefixAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:i,prefixPath:e.path}),type:rt.AMBIGUOUS_PREFIX_ALTS,ruleName:r.name,occurrence:s,alternatives:i}})}))}(a,n,e,r);return s.concat(o)})})(e,t,aH))}validateSomeNonEmptyLookaheadPath(e,t){return function(e,t,r){let n=[];return(0,nN.Z)(e,e=>{let i=new sT;e.accept(i);let a=i.allProductions;(0,nN.Z)(a,i=>{let a=st(i),s=i.maxLookahead||t,o=sd(i.idx,e,a,s)[0];if((0,n$.Z)((0,ix.Z)(o))){let t=r.buildEmptyRepetitionError({topLevelRule:e,repetition:i});n.push({message:t,type:rt.NO_NON_EMPTY_LOOKAHEAD,ruleName:e.name})}})}),n}(e,t,aH)}buildLookaheadForAlternation(e){return function(e,t,r,n,i,a){let s=sc(e,t,r),o=sf(s)?aR:aE;return a(s,n,o,i)}(e.prodOccurrence,e.rule,e.maxLookahead,e.hasPredicates,e.dynamicTokensEnabled,sn)}buildLookaheadForOptional(e){return function(e,t,r,n,i,a){let s=sd(e,t,i,r),o=sf(s)?aR:aE;return a(s[0],o,n)}(e.prodOccurrence,e.rule,e.maxLookahead,e.dynamicTokensEnabled,st(e.prodType),si)}}let sB=new class e extends ia{constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(e){this.dslMethods.option.push(e)}visitRepetitionWithSeparator(e){this.dslMethods.repetitionWithSeparator.push(e)}visitRepetitionMandatory(e){this.dslMethods.repetitionMandatory.push(e)}visitRepetitionMandatoryWithSeparator(e){this.dslMethods.repetitionMandatoryWithSeparator.push(e)}visitRepetition(e){this.dslMethods.repetition.push(e)}visitAlternation(e){this.dslMethods.alternation.push(e)}};function sK(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset(0,iP.Z)(e.GATE));return a.hasPredicates=s,r.definition.push(a),(0,nN.Z)(i,e=>{let t=new n5({definition:[]});a.definition.push(t),(0,nw.Z)(e,"IGNORE_AMBIGUITIES")?t.ignoreAmbiguities=e.IGNORE_AMBIGUITIES:(0,nw.Z)(e,"GATE")&&(t.ignoreAmbiguities=!0),this.recordingProdStack.push(t),e.ALT.call(this),this.recordingProdStack.pop()}),sz}function s1(e){return 0===e?"":`${e}`}function s2(e){if(e<0||e>sY){let t=Error(`Invalid DSL Method idx value: <${e}> + Idx value must be a none negative value smaller than ${sY+1}`);throw t.KNOWN_RECORDER_ERROR=!0,t}}let s4=aK(aB,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(s4);let s7=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:aV,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),s3=Object.freeze({recoveryValueFunc:()=>void 0,resyncEnabled:!0});function s5(e){return function(){return e}}(e9=rt||(rt={}))[e9.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",e9[e9.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",e9[e9.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",e9[e9.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",e9[e9.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",e9[e9.LEFT_RECURSION=5]="LEFT_RECURSION",e9[e9.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",e9[e9.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",e9[e9.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e9[e9.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",e9[e9.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",e9[e9.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",e9[e9.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",e9[e9.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION";class s9{static performSelfAnalysis(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{let e;this.selfAnalysisDone=!0;let t=this.className;this.TRACE_INIT("toFastProps",()=>{nO(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),(0,nN.Z)(this.definedRulesNames,e=>{let t;let r=this[e].originalGrammarAction;this.TRACE_INIT(`${e} Rule`,()=>{t=this.topLevelRuleRecord(e,r)}),this.gastProductionsCache[e]=t})}finally{this.disableRecording()}});let r=[];if(this.TRACE_INIT("Grammar Resolving",()=>{r=function(e){let t=(0,iL.Z)(e,{errMsgProvider:aW}),r={};return(0,nN.Z)(e.rules,e=>{r[e.name]=e}),function(e,t){let r=new az(e,t);return r.resolveRefs(),r.errors}(r,t.errMsgProvider)}({rules:(0,nC.Z)(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(r)}),this.TRACE_INIT("Grammar Validations",()=>{if((0,n$.Z)(r)&&!1===this.skipValidations){var e;let r=(e={rules:(0,nC.Z)(this.gastProductionsCache),tokenTypes:(0,nC.Z)(this.tokensMap),errMsgProvider:aH,grammarName:t},function(e,t,r,n){let i=aY(e,e=>(function(e,t){let r=new sg;e.accept(r);let n=nq(a0(r.allProductions,sp),e=>e.length>1);return(0,nL.Z)((0,nC.Z)(n),r=>{let n=iq(r),i=t.buildDuplicateFoundError(e,r),a=iE(n),s={message:i,type:rt.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:a,occurrence:n.idx},o=sm(n);return o&&(s.parameter=o),s})})(e,r)),a=function(e,t,r){let n=[],i=(0,nL.Z)(t,e=>e.name);return(0,nN.Z)(e,e=>{let t=e.name;if(im(i,t)){let i=r.buildNamespaceConflictError(e);n.push({message:i,type:rt.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:t})}}),n}(e,t,r),s=aY(e,e=>(function(e,t){let r=new sy;return e.accept(r),aY(r.alternations,r=>r.definition.length>255?[{message:t.buildTooManyAlternativesError({topLevelRule:e,alternation:r}),type:rt.TOO_MANY_ALTS,ruleName:e.name,occurrence:r.idx}]:[])})(e,r)),o=aY(e,t=>(function(e,t,r,n){let i=[];if((0,iZ.Z)(t,(t,r)=>r.name===e.name?t+1:t,0)>1){let t=n.buildDuplicateRuleNameError({topLevelRule:e,grammarName:r});i.push({message:t,type:rt.DUPLICATE_RULE_NAME,ruleName:e.name})}return i})(t,e,n,r));return i.concat(a,s,o)}((e=(0,iL.Z)(e,{errMsgProvider:aH})).rules,e.tokenTypes,e.errMsgProvider,e.grammarName)),n=function(e){let t=e.lookaheadStrategy.validate({rules:e.rules,tokenTypes:e.tokenTypes,grammarName:e.grammarName});return(0,nL.Z)(t,e=>Object.assign({type:rt.CUSTOM_LOOKAHEAD_VALIDATION},e))}({lookaheadStrategy:this.lookaheadStrategy,rules:(0,nC.Z)(this.gastProductionsCache),tokenTypes:(0,nC.Z)(this.tokensMap),grammarName:t});this.definitionErrors=this.definitionErrors.concat(r,n)}}),(0,n$.Z)(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{let e=function(e){let t={};return(0,nN.Z)(e,e=>{nV(t,new iC(e).startWalking())}),t}((0,nC.Z)(this.gastProductionsCache));this.resyncFollows=e}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var e,t;null===(t=(e=this.lookaheadStrategy).initialize)||void 0===t||t.call(e,{rules:(0,nC.Z)(this.gastProductionsCache)}),this.preComputeLookaheadFunctions((0,nC.Z)(this.gastProductionsCache))})),!s9.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,n$.Z)(this.definitionErrors))throw e=(0,nL.Z)(this.definitionErrors,e=>e.message),Error(`Parser Definition Errors detected: + ${e.join("\n-------------------------------\n")}`)})}constructor(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;if(this.initErrorHandler(t),this.initLexerAdapter(),this.initLooksAhead(t),this.initRecognizerEngine(e,t),this.initRecoverable(t),this.initTreeBuilder(t),this.initContentAssist(),this.initGastRecorder(t),this.initPerformanceTracer(t),(0,nw.Z)(t,"ignoredIssues"))throw Error("The IParserConfig property has been deprecated.\n Please use the flag on the relevant DSL method instead.\n See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES\n For further details.");this.skipValidations=(0,nw.Z)(t,"skipValidations")?t.skipValidations:s7.skipValidations}}s9.DEFER_DEFINITION_ERRORS_HANDLING=!1,!function(e,t){t.forEach(t=>{let r=t.prototype;Object.getOwnPropertyNames(r).forEach(n=>{if("constructor"===n)return;let i=Object.getOwnPropertyDescriptor(r,n);i&&(i.get||i.set)?Object.defineProperty(e.prototype,n,i):e.prototype[n]=t.prototype[n]})})}(s9,[class e{initRecoverable(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,nw.Z)(e,"recoveryEnabled")?e.recoveryEnabled:s7.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=sO)}getTokenToInsert(e){let t=aK(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return t.isInsertedInRecovery=!0,t}canTokenTypeBeInsertedInRecovery(e){return!0}canTokenTypeBeDeletedInRecovery(e){return!0}tryInRepetitionRecovery(e,t,r,n){let i=this.findReSyncTokenType(),a=this.exportLexerState(),s=[],o=!1,l=this.LA(1),u=this.LA(1),c=()=>{let e=this.LA(0),t=new sS(this.errorMessageProvider.buildMismatchTokenMessage({expected:n,actual:l,previous:e,ruleName:this.getCurrRuleFullName()}),l,this.LA(0));t.resyncedTokens=a1(s),this.SAVE_ERROR(t)};for(;!o;){if(this.tokenMatcher(u,n)){c();return}if(r.call(this)){c(),e.apply(this,t);return}else this.tokenMatcher(u,i)?o=!0:(u=this.SKIP_TOKEN(),this.addToResyncTokens(u,s))}this.importLexerState(a)}shouldInRepetitionRecoveryBeTried(e,t,r){return!(!1===r||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t)))&&!0}getFollowsForInRuleRecovery(e,t){let r=this.getCurrentGrammarPath(e,t);return this.getNextPossibleTokenTypes(r)}tryInRuleRecovery(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t))return this.getTokenToInsert(e);if(this.canRecoverWithSingleTokenDeletion(e)){let e=this.SKIP_TOKEN();return this.consumeToken(),e}throw new sb("sad sad panda")}canPerformInRuleRecovery(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)}canRecoverWithSingleTokenInsertion(e,t){if(!this.canTokenTypeBeInsertedInRecovery(e)||(0,n$.Z)(t))return!1;let r=this.LA(1);return void 0!==(0,iX.Z)(t,e=>this.tokenMatcher(r,e))}canRecoverWithSingleTokenDeletion(e){return!!this.canTokenTypeBeDeletedInRecovery(e)&&this.tokenMatcher(this.LA(2),e)}isInCurrentRuleReSyncSet(e){let t=this.getCurrFollowKey();return im(this.getFollowSetFromFollowKey(t),e)}findReSyncTokenType(){let e=this.flattenFollowSet(),t=this.LA(1),r=2;for(;;){let n=(0,iX.Z)(e,e=>aE(t,e));if(void 0!==n)return n;t=this.LA(r),r++}}getCurrFollowKey(){if(1===this.RULE_STACK.length)return sL;let e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),r=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(r)}}buildFullFollowKeyStack(){let e=this.RULE_STACK,t=this.RULE_OCCURRENCE_STACK;return(0,nL.Z)(e,(r,n)=>0===n?sL:{ruleName:this.shortRuleNameToFullName(r),idxInCallingRule:t[n],inRule:this.shortRuleNameToFullName(e[n-1])})}flattenFollowSet(){let e=(0,nL.Z)(this.buildFullFollowKeyStack(),e=>this.getFollowSetFromFollowKey(e));return(0,ix.Z)(e)}getFollowSetFromFollowKey(e){if(e===sL)return[aB];let t=e.ruleName+e.idxInCallingRule+iN+e.inRule;return this.resyncFollows[t]}addToResyncTokens(e,t){return!this.tokenMatcher(e,aB)&&t.push(e),t}reSyncTo(e){let t=[],r=this.LA(1);for(;!1===this.tokenMatcher(r,e);)r=this.SKIP_TOKEN(),this.addToResyncTokens(r,t);return a1(t)}attemptInRepetitionRecovery(e,t,r,n,i,a,s){}getCurrentGrammarPath(e,t){let r=this.getHumanReadableRuleStack(),n=(0,nb.Z)(this.RULE_OCCURRENCE_STACK);return{ruleStack:r,occurrenceStack:n,lastTok:e,lastTokOccurrence:t}}getHumanReadableRuleStack(){return(0,nL.Z)(this.RULE_STACK,e=>this.shortRuleNameToFullName(e))}},class e{initLooksAhead(e){this.dynamicTokensEnabled=(0,nw.Z)(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:s7.dynamicTokensEnabled,this.maxLookahead=(0,nw.Z)(e,"maxLookahead")?e.maxLookahead:s7.maxLookahead,this.lookaheadStrategy=(0,nw.Z)(e,"lookaheadStrategy")?e.lookaheadStrategy:new sG({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(e){(0,nN.Z)(e,e=>{this.TRACE_INIT(`${e.name} Rule Lookahead`,()=>{let{alternation:t,repetition:r,option:n,repetitionMandatory:i,repetitionMandatoryWithSeparator:a,repetitionWithSeparator:s}=function(e){sB.reset(),e.accept(sB);let t=sB.dslMethods;return sB.reset(),t}(e);(0,nN.Z)(t,t=>{let r=0===t.idx?"":t.idx;this.TRACE_INIT(`${iE(t)}${r}`,()=>{var r,n;let i=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:t.idx,rule:e,maxLookahead:t.maxLookahead||this.maxLookahead,hasPredicates:t.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled});let a=(r=this.fullRuleNameToShort[e.name],n=s_,t.idx|n|r);this.setLaFuncCache(a,i)})}),(0,nN.Z)(r,t=>{this.computeLookaheadFunc(e,t.idx,sM,"Repetition",t.maxLookahead,iE(t))}),(0,nN.Z)(n,t=>{this.computeLookaheadFunc(e,t.idx,sP,"Option",t.maxLookahead,iE(t))}),(0,nN.Z)(i,t=>{this.computeLookaheadFunc(e,t.idx,sD,"RepetitionMandatory",t.maxLookahead,iE(t))}),(0,nN.Z)(a,t=>{this.computeLookaheadFunc(e,t.idx,sU,"RepetitionMandatoryWithSeparator",t.maxLookahead,iE(t))}),(0,nN.Z)(s,t=>{this.computeLookaheadFunc(e,t.idx,sZ,"RepetitionWithSeparator",t.maxLookahead,iE(t))})})})}computeLookaheadFunc(e,t,r,n,i,a){this.TRACE_INIT(`${a}${0===t?"":t}`,()=>{var a;let s=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:t,rule:e,maxLookahead:i||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:n});let o=(a=this.fullRuleNameToShort[e.name],t|r|a);this.setLaFuncCache(o,s)})}getKeyForAutomaticLookahead(e,t){return t|e|this.getLastExplicitRuleShortName()}getLaFuncFromCache(e){return this.lookAheadFuncsCache.get(e)}setLaFuncCache(e,t){this.lookAheadFuncsCache.set(e,t)}},class e{initTreeBuilder(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=(0,nw.Z)(e,"nodeLocationTracking")?e.nodeLocationTracking:s7.nodeLocationTracking,this.outputCst){if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sj,this.setNodeLocationFromNode=sj,this.cstPostRule=ay.Z,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=ay.Z,this.setNodeLocationFromNode=ay.Z,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sK,this.setNodeLocationFromNode=sK,this.cstPostRule=ay.Z,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=ay.Z,this.setNodeLocationFromNode=ay.Z,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=ay.Z,this.setNodeLocationFromNode=ay.Z,this.cstPostRule=ay.Z,this.setInitialNodeLocation=ay.Z;else throw Error(`Invalid config option: "${e.nodeLocationTracking}"`)}else this.cstInvocationStateUpdate=ay.Z,this.cstFinallyStateUpdate=ay.Z,this.cstPostTerminal=ay.Z,this.cstPostNonTerminal=ay.Z,this.cstPostRule=ay.Z}setInitialNodeLocationOnlyOffsetRecovery(e){e.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(e){let t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(e){let t={name:e,children:Object.create(null)};this.setInitialNodeLocation(t),this.CST_STACK.push(t)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(e){let t=this.LA(0),r=e.location;r.startOffset<=t.startOffset==!0?(r.endOffset=t.endOffset,r.endLine=t.endLine,r.endColumn=t.endColumn):(r.startOffset=NaN,r.startLine=NaN,r.startColumn=NaN)}cstPostRuleOnlyOffset(e){let t=this.LA(0),r=e.location;r.startOffset<=t.startOffset==!0?r.endOffset=t.endOffset:r.startOffset=NaN}cstPostTerminal(e,t){var r,n,i;let a=this.CST_STACK[this.CST_STACK.length-1];r=a,n=t,i=e,void 0===r.children[i]?r.children[i]=[n]:r.children[i].push(n),this.setNodeLocationFromToken(a.location,t)}cstPostNonTerminal(e,t){var r,n,i;let a=this.CST_STACK[this.CST_STACK.length-1];r=a,n=t,i=e,void 0===r.children[n]?r.children[n]=[i]:r.children[n].push(i),this.setNodeLocationFromNode(a.location,e.location)}getBaseCstVisitorConstructor(){if((0,i$.Z)(this.baseCstVisitorConstructor)){let e=function(e,t){let r=function(){};return sV(r,e+"BaseSemantics"),r.prototype={visit:function(e,t){if((0,iu.Z)(e)&&(e=e[0]),!(0,i$.Z)(e))return this[e.name](e.children,t)},validateVisitor:function(){let e=function(e,t){return function(e,t){let r=(0,iU.Z)(t,t=>!1===(0,iP.Z)(e[t]));return iY((0,nL.Z)(r,t=>({msg:`Missing visitor method: <${t}> on ${e.constructor.name} CST Visitor.`,type:re.MISSING_METHOD,methodName:t})))}(e,t)}(this,t);if(!(0,n$.Z)(e)){let t=(0,nL.Z)(e,e=>e.msg);throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>: + ${t.join("\n\n").replace(/\n/g,"\n ")}`)}}},r.prototype.constructor=r,r._RULE_NAMES=t,r}(this.className,(0,nK.Z)(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if((0,i$.Z)(this.baseCstVisitorWithDefaultsConstructor)){let e=function(e,t,r){let n=function(){};sV(n,e+"BaseSemanticsWithDefaults");let i=Object.create(r.prototype);return(0,nN.Z)(t,e=>{i[e]=sW}),n.prototype=i,n.prototype.constructor=n,n}(this.className,(0,nK.Z)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-1]}getPreviousExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-2]}getLastExplicitRuleOccurrenceIndex(){let e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]}},class e{initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(e){if(!0!==this.selfAnalysisDone)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):s4}LA(e){let t=this.currIdx+e;return t<0||this.tokVectorLength<=t?s4:this.tokVector[t]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(e){this.currIdx=e}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}},class e{initRecognizerEngine(e,t){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=aR,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,nw.Z)(t,"serializedGrammar"))throw Error("The Parser's configuration can no longer contain a property.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n For Further details.");if((0,iu.Z)(e)){if((0,n$.Z)(e))throw Error("A Token Vocabulary cannot be empty.\n Note that the first argument for the parser constructor\n is no longer a Token vector (since v4.0).");if("number"==typeof e[0].startOffset)throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n For Further details.")}if((0,iu.Z)(e))this.tokensMap=(0,iZ.Z)(e,(e,t)=>(e[t.name]=t,e),{});else if((0,nw.Z)(e,"modes")&&iT((0,ix.Z)((0,nC.Z)(e.modes)),aN)){let t=iI((0,ix.Z)((0,nC.Z)(e.modes)));this.tokensMap=(0,iZ.Z)(t,(e,t)=>(e[t.name]=t,e),{})}else if((0,sH.Z)(e))this.tokensMap=(0,nb.Z)(e);else throw Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=aB;let r=iT((0,nw.Z)(e,"modes")?(0,ix.Z)((0,nC.Z)(e.modes)):(0,nC.Z)(e),e=>(0,n$.Z)(e.categoryMatches));this.tokenMatcher=r?aR:aE,aI((0,nC.Z)(this.tokensMap))}defineRule(e,t,r){let n;if(this.selfAnalysisDone)throw Error(`Grammar rule <${e}> may not be defined after the 'performSelfAnalysis' method has been called' +Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);let i=(0,nw.Z)(r,"resyncEnabled")?r.resyncEnabled:s3.resyncEnabled,a=(0,nw.Z)(r,"recoveryValueFunc")?r.recoveryValueFunc:s3.recoveryValueFunc,s=this.ruleShortNameIdx<<12;return this.ruleShortNameIdx++,this.shortRuleNameToFull[s]=e,this.fullRuleNameToShort[e]=s,Object.assign(n=!0===this.outputCst?function(...r){try{this.ruleInvocationStateUpdate(s,e,this.subruleIdx),t.apply(this,r);let n=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(n),n}catch(e){return this.invokeRuleCatch(e,i,a)}finally{this.ruleFinallyStateUpdate()}}:function(...r){try{return this.ruleInvocationStateUpdate(s,e,this.subruleIdx),t.apply(this,r)}catch(e){return this.invokeRuleCatch(e,i,a)}finally{this.ruleFinallyStateUpdate()}},{ruleName:e,originalGrammarAction:t})}invokeRuleCatch(e,t,r){let n=1===this.RULE_STACK.length,i=t&&!this.isBackTracking()&&this.recoveryEnabled;if(sI(e)){if(i){let t=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(t)){if(e.resyncedTokens=this.reSyncTo(t),!this.outputCst)return r(e);{let e=this.CST_STACK[this.CST_STACK.length-1];return e.recoveredNode=!0,e}}if(this.outputCst){let t=this.CST_STACK[this.CST_STACK.length-1];t.recoveredNode=!0,e.partialCstResult=t}throw e}if(n)return this.moveToTerminatedState(),r(e);else;}throw e}optionInternal(e,t){let r=this.getKeyForAutomaticLookahead(sP,t);return this.optionInternalLogic(e,t,r)}optionInternalLogic(e,t,r){let n,i=this.getLaFuncFromCache(r);if("function"!=typeof e){n=e.DEF;let t=e.GATE;if(void 0!==t){let e=i;i=()=>t.call(this)&&e.call(this)}}else n=e;if(!0===i.call(this))return n.call(this)}atLeastOneInternal(e,t){let r=this.getKeyForAutomaticLookahead(sD,e);return this.atLeastOneInternalLogic(e,t,r)}atLeastOneInternalLogic(e,t,r){let n,i=this.getLaFuncFromCache(r);if("function"!=typeof t){n=t.DEF;let e=t.GATE;if(void 0!==e){let t=i;i=()=>e.call(this)&&t.call(this)}}else n=t;if(!0===i.call(this)){let e=this.doSingleRepetition(n);for(;!0===i.call(this)&&!0===e;)e=this.doSingleRepetition(n)}else throw this.raiseEarlyExitException(e,t8.REPETITION_MANDATORY,t.ERR_MSG);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[e,t],i,sD,e,a9)}atLeastOneSepFirstInternal(e,t){let r=this.getKeyForAutomaticLookahead(sU,e);this.atLeastOneSepFirstInternalLogic(e,t,r)}atLeastOneSepFirstInternalLogic(e,t,r){let n=t.DEF,i=t.SEP;if(!0===this.getLaFuncFromCache(r).call(this)){n.call(this);let t=()=>this.tokenMatcher(this.LA(1),i);for(;!0===this.tokenMatcher(this.LA(1),i);)this.CONSUME(i),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,i,t,n,a6],t,sU,e,a6)}else throw this.raiseEarlyExitException(e,t8.REPETITION_MANDATORY_WITH_SEPARATOR,t.ERR_MSG)}manyInternal(e,t){let r=this.getKeyForAutomaticLookahead(sM,e);return this.manyInternalLogic(e,t,r)}manyInternalLogic(e,t,r){let n,i=this.getLaFuncFromCache(r);if("function"!=typeof t){n=t.DEF;let e=t.GATE;if(void 0!==e){let t=i;i=()=>e.call(this)&&t.call(this)}}else n=t;let a=!0;for(;!0===i.call(this)&&!0===a;)a=this.doSingleRepetition(n);this.attemptInRepetitionRecovery(this.manyInternal,[e,t],i,sM,e,a3,a)}manySepFirstInternal(e,t){let r=this.getKeyForAutomaticLookahead(sZ,e);this.manySepFirstInternalLogic(e,t,r)}manySepFirstInternalLogic(e,t,r){let n=t.DEF,i=t.SEP;if(!0===this.getLaFuncFromCache(r).call(this)){n.call(this);let t=()=>this.tokenMatcher(this.LA(1),i);for(;!0===this.tokenMatcher(this.LA(1),i);)this.CONSUME(i),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,i,t,n,a5],t,sZ,e,a5)}}repetitionSepSecondInternal(e,t,r,n,i){for(;r();)this.CONSUME(t),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,t,r,n,i],r,sU,e,i)}doSingleRepetition(e){let t=this.getLexerPosition();return e.call(this),this.getLexerPosition()>t}orInternal(e,t){let r=this.getKeyForAutomaticLookahead(s_,t),n=(0,iu.Z)(e)?e:e.DEF,i=this.getLaFuncFromCache(r).call(this,n);if(void 0!==i)return n[i].ALT.call(this);this.raiseNoAltException(t,e.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),0===this.RULE_STACK.length&&!1===this.isAtEndOfInput()){let e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new sC(t,e))}}subruleInternal(e,t,r){let n;try{let i=void 0!==r?r.ARGS:void 0;return this.subruleIdx=t,n=e.apply(this,i),this.cstPostNonTerminal(n,void 0!==r&&void 0!==r.LABEL?r.LABEL:e.ruleName),n}catch(t){throw this.subruleInternalError(t,r,e.ruleName)}}subruleInternalError(e,t,r){throw sI(e)&&void 0!==e.partialCstResult&&(this.cstPostNonTerminal(e.partialCstResult,void 0!==t&&void 0!==t.LABEL?t.LABEL:r),delete e.partialCstResult),e}consumeInternal(e,t,r){let n;try{let t=this.LA(1);!0===this.tokenMatcher(t,e)?(this.consumeToken(),n=t):this.consumeInternalError(e,t,r)}catch(r){n=this.consumeInternalRecovery(e,t,r)}return this.cstPostTerminal(void 0!==r&&void 0!==r.LABEL?r.LABEL:e.name,n),n}consumeInternalError(e,t,r){let n;let i=this.LA(0);throw n=void 0!==r&&r.ERR_MSG?r.ERR_MSG:this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:i,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new sS(n,t,i))}consumeInternalRecovery(e,t,r){if(this.recoveryEnabled&&"MismatchedTokenException"===r.name&&!this.isBackTracking()){let n=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,n)}catch(e){if(e.name===sw)throw r;throw e}}else throw r}saveRecogState(){let e=this.errors,t=(0,nb.Z)(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:t,CST_STACK:this.CST_STACK}}reloadRecogState(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK}ruleInvocationStateUpdate(e,t,r){this.RULE_OCCURRENCE_STACK.push(r),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t)}isBackTracking(){return 0!==this.isBackTrackingStack.length}getCurrRuleFullName(){let e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]}shortRuleNameToFullName(e){return this.shortRuleNameToFull[e]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),aB)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}},class e{ACTION(e){return e.call(this)}consume(e,t,r){return this.consumeInternal(t,e,r)}subrule(e,t,r){return this.subruleInternal(t,e,r)}option(e,t){return this.optionInternal(t,e)}or(e,t){return this.orInternal(t,e)}many(e,t){return this.manyInternal(e,t)}atLeastOne(e,t){return this.atLeastOneInternal(e,t)}CONSUME(e,t){return this.consumeInternal(e,0,t)}CONSUME1(e,t){return this.consumeInternal(e,1,t)}CONSUME2(e,t){return this.consumeInternal(e,2,t)}CONSUME3(e,t){return this.consumeInternal(e,3,t)}CONSUME4(e,t){return this.consumeInternal(e,4,t)}CONSUME5(e,t){return this.consumeInternal(e,5,t)}CONSUME6(e,t){return this.consumeInternal(e,6,t)}CONSUME7(e,t){return this.consumeInternal(e,7,t)}CONSUME8(e,t){return this.consumeInternal(e,8,t)}CONSUME9(e,t){return this.consumeInternal(e,9,t)}SUBRULE(e,t){return this.subruleInternal(e,0,t)}SUBRULE1(e,t){return this.subruleInternal(e,1,t)}SUBRULE2(e,t){return this.subruleInternal(e,2,t)}SUBRULE3(e,t){return this.subruleInternal(e,3,t)}SUBRULE4(e,t){return this.subruleInternal(e,4,t)}SUBRULE5(e,t){return this.subruleInternal(e,5,t)}SUBRULE6(e,t){return this.subruleInternal(e,6,t)}SUBRULE7(e,t){return this.subruleInternal(e,7,t)}SUBRULE8(e,t){return this.subruleInternal(e,8,t)}SUBRULE9(e,t){return this.subruleInternal(e,9,t)}OPTION(e){return this.optionInternal(e,0)}OPTION1(e){return this.optionInternal(e,1)}OPTION2(e){return this.optionInternal(e,2)}OPTION3(e){return this.optionInternal(e,3)}OPTION4(e){return this.optionInternal(e,4)}OPTION5(e){return this.optionInternal(e,5)}OPTION6(e){return this.optionInternal(e,6)}OPTION7(e){return this.optionInternal(e,7)}OPTION8(e){return this.optionInternal(e,8)}OPTION9(e){return this.optionInternal(e,9)}OR(e){return this.orInternal(e,0)}OR1(e){return this.orInternal(e,1)}OR2(e){return this.orInternal(e,2)}OR3(e){return this.orInternal(e,3)}OR4(e){return this.orInternal(e,4)}OR5(e){return this.orInternal(e,5)}OR6(e){return this.orInternal(e,6)}OR7(e){return this.orInternal(e,7)}OR8(e){return this.orInternal(e,8)}OR9(e){return this.orInternal(e,9)}MANY(e){this.manyInternal(0,e)}MANY1(e){this.manyInternal(1,e)}MANY2(e){this.manyInternal(2,e)}MANY3(e){this.manyInternal(3,e)}MANY4(e){this.manyInternal(4,e)}MANY5(e){this.manyInternal(5,e)}MANY6(e){this.manyInternal(6,e)}MANY7(e){this.manyInternal(7,e)}MANY8(e){this.manyInternal(8,e)}MANY9(e){this.manyInternal(9,e)}MANY_SEP(e){this.manySepFirstInternal(0,e)}MANY_SEP1(e){this.manySepFirstInternal(1,e)}MANY_SEP2(e){this.manySepFirstInternal(2,e)}MANY_SEP3(e){this.manySepFirstInternal(3,e)}MANY_SEP4(e){this.manySepFirstInternal(4,e)}MANY_SEP5(e){this.manySepFirstInternal(5,e)}MANY_SEP6(e){this.manySepFirstInternal(6,e)}MANY_SEP7(e){this.manySepFirstInternal(7,e)}MANY_SEP8(e){this.manySepFirstInternal(8,e)}MANY_SEP9(e){this.manySepFirstInternal(9,e)}AT_LEAST_ONE(e){this.atLeastOneInternal(0,e)}AT_LEAST_ONE1(e){return this.atLeastOneInternal(1,e)}AT_LEAST_ONE2(e){this.atLeastOneInternal(2,e)}AT_LEAST_ONE3(e){this.atLeastOneInternal(3,e)}AT_LEAST_ONE4(e){this.atLeastOneInternal(4,e)}AT_LEAST_ONE5(e){this.atLeastOneInternal(5,e)}AT_LEAST_ONE6(e){this.atLeastOneInternal(6,e)}AT_LEAST_ONE7(e){this.atLeastOneInternal(7,e)}AT_LEAST_ONE8(e){this.atLeastOneInternal(8,e)}AT_LEAST_ONE9(e){this.atLeastOneInternal(9,e)}AT_LEAST_ONE_SEP(e){this.atLeastOneSepFirstInternal(0,e)}AT_LEAST_ONE_SEP1(e){this.atLeastOneSepFirstInternal(1,e)}AT_LEAST_ONE_SEP2(e){this.atLeastOneSepFirstInternal(2,e)}AT_LEAST_ONE_SEP3(e){this.atLeastOneSepFirstInternal(3,e)}AT_LEAST_ONE_SEP4(e){this.atLeastOneSepFirstInternal(4,e)}AT_LEAST_ONE_SEP5(e){this.atLeastOneSepFirstInternal(5,e)}AT_LEAST_ONE_SEP6(e){this.atLeastOneSepFirstInternal(6,e)}AT_LEAST_ONE_SEP7(e){this.atLeastOneSepFirstInternal(7,e)}AT_LEAST_ONE_SEP8(e){this.atLeastOneSepFirstInternal(8,e)}AT_LEAST_ONE_SEP9(e){this.atLeastOneSepFirstInternal(9,e)}RULE(e,t,r=s3){if(im(this.definedRulesNames,e)){let t={message:aH.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),type:rt.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(t)}this.definedRulesNames.push(e);let n=this.defineRule(e,t,r);return this[e]=n,n}OVERRIDE_RULE(e,t,r=s3){let n=function(e,t,r){let n;let i=[];return!im(t,e)&&(n=`Invalid rule override, rule: ->${e}<- cannot be overridden in the grammar: ->${r}<-as it is not defined in any of the super grammars `,i.push({message:n,type:rt.INVALID_RULE_OVERRIDE,ruleName:e})),i}(e,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(n);let i=this.defineRule(e,t,r);return this[e]=i,i}BACKTRACK(e,t){return function(){this.isBackTrackingStack.push(1);let r=this.saveRecogState();try{return e.apply(this,t),!0}catch(e){if(sI(e))return!1;throw e}finally{this.reloadRecogState(r),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){var e;return e=(0,nC.Z)(this.gastProductionsCache),(0,nL.Z)(e,function e(t){function r(t){return(0,nL.Z)(t,e)}if(t instanceof n7){let e={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return(0,nD.Z)(t.label)&&(e.label=t.label),e}if(t instanceof n5)return{type:"Alternative",definition:r(t.definition)};if(t instanceof n9)return{type:"Option",idx:t.idx,definition:r(t.definition)};else if(t instanceof n6)return{type:"RepetitionMandatory",idx:t.idx,definition:r(t.definition)};else if(t instanceof n8)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:e(new ii({terminalType:t.separator})),definition:r(t.definition)};else if(t instanceof it)return{type:"RepetitionWithSeparator",idx:t.idx,separator:e(new ii({terminalType:t.separator})),definition:r(t.definition)};else if(t instanceof ie)return{type:"Repetition",idx:t.idx,definition:r(t.definition)};else if(t instanceof ir)return{type:"Alternation",idx:t.idx,definition:r(t.definition)};else if(t instanceof ii){var n;let e={type:"Terminal",name:t.terminalType.name,label:function(e){return(0,nD.Z)(e.LABEL)&&""!==e.LABEL}(n=t.terminalType)?n.LABEL:n.name,idx:t.idx};(0,nD.Z)(t.label)&&(e.terminalLabel=t.label);let r=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(e.pattern=n2(r)?r.source:r),e}else if(t instanceof n3)return{type:"Rule",name:t.name,orgText:t.orgText,definition:r(t.definition)};else throw Error("non exhaustive match")})}},class e{initErrorHandler(e){this._errors=[],this.errorMessageProvider=(0,nw.Z)(e,"errorMessageProvider")?e.errorMessageProvider:s7.errorMessageProvider}SAVE_ERROR(e){if(sI(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,nb.Z)(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return(0,nb.Z)(this._errors)}set errors(e){this._errors=e}raiseEarlyExitException(e,t,r){let n=this.getCurrRuleFullName(),i=sd(e,this.getGAstProductions()[n],t,this.maxLookahead)[0],a=[];for(let e=1;e<=this.maxLookahead;e++)a.push(this.LA(e));let s=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:i,actual:a,previous:this.LA(0),customUserDescription:r,ruleName:n});throw this.SAVE_ERROR(new s$(s,this.LA(1),this.LA(0)))}raiseNoAltException(e,t){let r=this.getCurrRuleFullName(),n=sc(e,this.getGAstProductions()[r],this.maxLookahead),i=[];for(let e=1;e<=this.maxLookahead;e++)i.push(this.LA(e));let a=this.LA(0),s=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:n,actual:i,previous:a,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new sN(s,this.LA(1),a))}},class e{initContentAssist(){}computeContentAssist(e,t){let r=this.gastProductionsCache[e];if((0,i$.Z)(r))throw Error(`Rule ->${e}<- does not exist in this grammar.`);return se([r],t,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(e){let t=iq(e.ruleStack);return new a4(this.getGAstProductions()[t],e).startWalking()}},class e{initGastRecorder(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",()=>{for(let e=0;e<10;e++){let t=e>0?e:"";this[`CONSUME${t}`]=function(t,r){return this.consumeInternalRecord(t,e,r)},this[`SUBRULE${t}`]=function(t,r){return this.subruleInternalRecord(t,e,r)},this[`OPTION${t}`]=function(t){return this.optionInternalRecord(t,e)},this[`OR${t}`]=function(t){return this.orInternalRecord(t,e)},this[`MANY${t}`]=function(t){this.manyInternalRecord(e,t)},this[`MANY_SEP${t}`]=function(t){this.manySepFirstInternalRecord(e,t)},this[`AT_LEAST_ONE${t}`]=function(t){this.atLeastOneInternalRecord(e,t)},this[`AT_LEAST_ONE_SEP${t}`]=function(t){this.atLeastOneSepFirstInternalRecord(e,t)}}this.consume=function(e,t,r){return this.consumeInternalRecord(t,e,r)},this.subrule=function(e,t,r){return this.subruleInternalRecord(t,e,r)},this.option=function(e,t){return this.optionInternalRecord(t,e)},this.or=function(e,t){return this.orInternalRecord(t,e)},this.many=function(e,t){this.manyInternalRecord(e,t)},this.atLeastOne=function(e,t){this.atLeastOneInternalRecord(e,t)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD})}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",()=>{for(let e=0;e<10;e++){let t=e>0?e:"";delete this[`CONSUME${t}`],delete this[`SUBRULE${t}`],delete this[`OPTION${t}`],delete this[`OR${t}`],delete this[`MANY${t}`],delete this[`MANY_SEP${t}`],delete this[`AT_LEAST_ONE${t}`],delete this[`AT_LEAST_ONE_SEP${t}`]}delete this.consume,delete this.subrule,delete this.option,delete this.or,delete this.many,delete this.atLeastOne,delete this.ACTION,delete this.BACKTRACK,delete this.LA})}ACTION_RECORD(e){}BACKTRACK_RECORD(e,t){return()=>!0}LA_RECORD(e){return s4}topLevelRuleRecord(e,t){try{let r=new n3({definition:[],name:e});return r.name=e,this.recordingProdStack.push(r),t.call(this),this.recordingProdStack.pop(),r}catch(e){if(!0!==e.KNOWN_RECORDER_ERROR)try{e.message=e.message+'\n This error was thrown during the "grammar recording phase" For more info see:\n https://chevrotain.io/docs/guide/internals.html#grammar-recording'}catch(e){}throw e}}optionInternalRecord(e,t){return sJ.call(this,n9,e,t)}atLeastOneInternalRecord(e,t){sJ.call(this,n6,t,e)}atLeastOneSepFirstInternalRecord(e,t){sJ.call(this,n8,t,e,!0)}manyInternalRecord(e,t){sJ.call(this,ie,t,e)}manySepFirstInternalRecord(e,t){sJ.call(this,it,t,e,!0)}orInternalRecord(e,t){return s0.call(this,e,t)}subruleInternalRecord(e,t,r){if(s2(t),!e||!1===(0,nw.Z)(e,"ruleName")){let r=Error(` argument is invalid expecting a Parser method reference but got: <${JSON.stringify(e)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw r.KNOWN_RECORDER_ERROR=!0,r}let n=(0,aT.Z)(this.recordingProdStack),i=new n7({idx:t,nonTerminalName:e.ruleName,label:null==r?void 0:r.LABEL,referencedRule:void 0});return n.definition.push(i),this.outputCst?sQ:sz}consumeInternalRecord(e,t,r){if(s2(t),!ax(e)){let r=Error(` argument is invalid expecting a TokenType reference but got: <${JSON.stringify(e)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw r.KNOWN_RECORDER_ERROR=!0,r}let n=(0,aT.Z)(this.recordingProdStack),i=new ii({idx:t,terminalType:e,label:null==r?void 0:r.LABEL});return n.definition.push(i),sX}},class e{initPerformanceTracer(e){if((0,nw.Z)(e,"traceInitPerf")){let t=e.traceInitPerf,r="number"==typeof t;this.traceInitMaxIdent=r?t:1/0,this.traceInitPerf=r?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=s7.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(e,t){if(!0!==this.traceInitPerf)return t();{this.traceInitIndent++;let r=Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${e}>`);let{time:n,value:i}=av(t),a=n>10?console.warn:console.log;return this.traceInitIndent time: ${n}ms`),this.traceInitIndent--,i}}}]);class s6 extends s9{constructor(e,t=s7){let r=(0,nb.Z)(t);r.outputCst=!1,super(e,r)}}function s8(e,t,r){return`${e.name}_${t}_${r}`}class oe{constructor(e){this.target=e}isEpsilon(){return!1}}class ot extends oe{constructor(e,t){super(e),this.tokenType=t}}class or extends oe{constructor(e){super(e)}isEpsilon(){return!0}}class on extends oe{constructor(e,t,r){super(e),this.rule=t,this.followState=r}isEpsilon(){return!0}}function oi(e,t,r){if(r instanceof ii)return oc(e,t,r.terminalType,r);if(r instanceof n7)return function(e,t,r){let n=r.referencedRule,i=e.ruleToStartState.get(n),a=oh(e,t,r,{type:1}),s=oh(e,t,r,{type:1});return of(a,new on(i,n,s)),{left:a,right:s}}(e,t,r);if(r instanceof ir)return function(e,t,r){let n=oh(e,t,r,{type:1});ol(e,n);let i=(0,nL.Z)(r.definition,r=>oi(e,t,r));return ou(e,t,n,r,...i)}(e,t,r);else if(r instanceof n9)return function(e,t,r){let n=oh(e,t,r,{type:1});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r));return function(e,t,r,n){let i=n.left;return od(i,n.right),e.decisionMap[s8(t,"Option",r.idx)]=i,n}(e,t,r,i)}(e,t,r);else if(r instanceof ie)return function(e,t,r){let n=oh(e,t,r,{type:5});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r));return oo(e,t,r,i)}(e,t,r);else if(r instanceof it)return function(e,t,r){let n=oh(e,t,r,{type:5});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r)),a=oc(e,t,r.separator,r);return oo(e,t,r,i,a)}(e,t,r);else if(r instanceof n6)return function(e,t,r){let n=oh(e,t,r,{type:4});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r));return os(e,t,r,i)}(e,t,r);else if(r instanceof n8)return function(e,t,r){let n=oh(e,t,r,{type:4});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r)),a=oc(e,t,r.separator,r);return os(e,t,r,i,a)}(e,t,r);else return oa(e,t,r)}function oa(e,t,r){let n=(0,iU.Z)((0,nL.Z)(r.definition,r=>oi(e,t,r)),e=>void 0!==e);return 1===n.length?n[0]:0===n.length?void 0:function(e,t){let r=t.length;for(let n=0;ne.alt)}get key(){let e="";for(let t in this.map)e+=t+":";return e}}function og(e,t=!0){return`${t?`a${e.alt}`:""}s${e.state.stateNumber}:${e.stack.map(e=>e.stateNumber.toString()).join("_")}`}var oy=r("50540");class oT{constructor(){this.predicates=[]}is(e){return e>=this.predicates.length||this.predicates[e]}set(e,t){this.predicates[e]=t}toString(){let e="",t=this.predicates.length;for(let r=0;rconsole.log(e)}initialize(e){this.atn=function(e){let t={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:[]};(function(e,t){let r=t.length;for(let n=0;n{let i=n.toString(),a=r[i];return void 0!==a?a:(a={atnStartState:e,decision:t,states:{}},r[i]=a,a)}}(e.decisionStates[n],n);return r}(this.atn)}validateAmbiguousAlternationAlternatives(){return[]}validateEmptyOrAlternatives(){return[]}buildLookaheadForAlternation(e){let{prodOccurrence:t,rule:r,hasPredicates:n,dynamicTokensEnabled:i}=e,a=this.dfas,s=this.logging,o=s8(r,"Alternation",t),l=this.atn.decisionMap[o].decision,u=(0,nL.Z)(sr({maxLookahead:1,occurrence:t,prodType:"Alternation",rule:r}),e=>(0,nL.Z)(e,e=>e[0]));if(oR(u,!1)&&!i){let e=(0,iZ.Z)(u,(e,t,r)=>((0,nN.Z)(t,t=>{t&&(e[t.tokenTypeIdx]=r,(0,nN.Z)(t.categoryMatches,t=>{e[t]=r}))}),e),{});return n?function(t){var r;let n=e[this.LA(1).tokenTypeIdx];if(void 0!==t&&void 0!==n){let e=null===(r=t[n])||void 0===r?void 0:r.GATE;if(void 0!==e&&!1===e.call(this))return}return n}:function(){return e[this.LA(1).tokenTypeIdx]}}if(n)return function(e){let t=new oT,r=void 0===e?0:e.length;for(let n=0;n(0,nL.Z)(e,e=>e[0]));if(oR(u)&&u[0][0]&&!i){let e=u[0],t=(0,ix.Z)(e);if(1===t.length&&(0,n$.Z)(t[0].categoryMatches)){let e=t[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===e}}{let e=(0,iZ.Z)(t,(e,t)=>(void 0!==t&&(e[t.tokenTypeIdx]=!0,(0,nN.Z)(t.categoryMatches,t=>{e[t]=!0})),e),{});return function(){return!0===e[this.LA(1).tokenTypeIdx]}}}return function(){let e=oA.call(this,a,l,ov,s);return"object"!=typeof e&&0===e}}}function oR(e,t=!0){let r=new Set;for(let n of e){let e=new Set;for(let i of n){if(void 0===i){if(!t)return!1;break}for(let t of[i.tokenTypeIdx].concat(i.categoryMatches))if(r.has(t)){if(!e.has(t))return!1}else r.add(t),e.add(t)}}return!0}function oA(e,t,r,n){let i=e[t](r),a=i.start;if(void 0===a){let e=function(e){let t=new om,r=e.transitions.length;for(let n=0;ne.state.transitions).filter(e=>e instanceof ot).map(e=>e.tokenType),i=e=>e.tokenTypeIdx,n&&n.length?(0,ik.Z)(n,(0,nH.Z)(i,2)):[]),tokenPath:e}}(s,i,o);if(!0===t.isAcceptState)return t.prediction;i=t,s.push(o),o=this.LA(a++)}}function oI(e,t,r,n,i,a){let s=function(e,t,r){let n;let i=new om,a=[];for(let n of e.elements){if(!1===r.is(n.alt))continue;if(7===n.state.type){a.push(n);continue}let e=n.state.transitions.length;for(let r=0;r0&&!function(e){for(let t of e.elements)if(7===t.state.type)return!0;return!1}(n))for(let e of a)n.add(e);return n}(t.configs,r,i);if(0===s.size)return oN(e,t,r,op),op;let o=oS(s),l=function(e,t){let r;for(let n of e.elements)if(!0===t.is(n.alt)){if(void 0===r)r=n.alt;else if(r!==n.alt)return}return r}(s,i);if(void 0!==l)o.isAcceptState=!0,o.prediction=l,o.configs.uniqueAlt=l;else if(function(e){if(function(e){for(let t of e.elements)if(7!==t.state.type)return!1;return!0}(e))return!0;let t=function(e){let t=new Map;for(let r of e){let e=og(r,!1),n=t.get(e);void 0===n&&(n={},t.set(e,n)),n[r.alt]=!0}return t}(e.elements);return function(e){for(let t of Array.from(e.values()))if(Object.keys(t).length>1)return!0;return!1}(t)&&!function(e){for(let t of Array.from(e.values()))if(1===Object.keys(t).length)return!0;return!1}(t)}(s)){let t=(0,oy.Z)(s.alts);o.isAcceptState=!0,o.prediction=t,o.configs.uniqueAlt=t,ox.apply(this,[e,n,s.alts,a])}return o=oN(e,t,r,o)}function ox(e,t,r,n){let i=[];for(let e=1;e<=t;e++)i.push(this.LA(e).tokenType);let a=e.atnStartState,s=a.rule;n(function(e){let t=(0,nL.Z)(e.prefixPath,e=>aL(e)).join(", "),r=0===e.production.idx?"":e.production.idx,n=`Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(", ")}> in <${function(e){if(e instanceof n7)return"SUBRULE";if(e instanceof n9)return"OPTION";if(e instanceof ir)return"OR";else if(e instanceof n6)return"AT_LEAST_ONE";else if(e instanceof n8)return"AT_LEAST_ONE_SEP";else if(e instanceof it)return"MANY_SEP";else if(e instanceof ie)return"MANY";else if(e instanceof ii)return"CONSUME";else throw Error("non exhaustive match")}(e.production)}${r}> inside <${e.topLevelRule.name}> Rule, +<${t}> may appears as a prefix path in all these alternatives. +`;return n=n+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES +`+"For Further details."}({topLevelRule:s,ambiguityIndices:r,production:a.production,prefixPath:i}))}function oS(e){return{configs:e,edges:{},isAcceptState:!1,prediction:-1}}function oN(e,t,r,n){return n=oC(e,n),t.edges[r.tokenTypeIdx]=n,n}function oC(e,t){if(t===op)return t;let r=t.configs.key,n=e.states[r];return void 0!==n?n:(t.configs.finalize(),e.states[r]=t,t)}function o$(e,t){let r=e.state;if(7===r.type){if(e.stack.length>0){let r=[...e.stack];o$({state:r.pop(),alt:e.alt,stack:r},t)}else t.add(e);return}!r.epsilonOnlyTransitions&&t.add(e);let n=r.transitions.length;for(let i=0;i0&&(n.arguments=r),n},tf.is=function(e){return ny.defined(e)&&ny.string(e.title)&&ny.string(e.command)},(tp=rR||(rR={})).replace=function(e,t){return{range:e,newText:t}},tp.insert=function(e,t){return{range:{start:e,end:e},newText:t}},tp.del=function(e){return{range:e,newText:""}},tp.is=function(e){return ny.objectLiteral(e)&&ny.string(e.newText)&&ro.is(e.range)},(tm=rA||(rA={})).create=function(e,t,r){let n={label:e};return void 0!==t&&(n.needsConfirmation=t),void 0!==r&&(n.description=r),n},tm.is=function(e){return ny.objectLiteral(e)&&ny.string(e.label)&&(ny.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(ny.string(e.description)||void 0===e.description)},(rk||(rk={})).is=function(e){return ny.string(e)},(tg=rI||(rI={})).replace=function(e,t,r){return{range:e,newText:t,annotationId:r}},tg.insert=function(e,t,r){return{range:{start:e,end:e},newText:t,annotationId:r}},tg.del=function(e,t){return{range:e,newText:"",annotationId:t}},tg.is=function(e){return rR.is(e)&&(rA.is(e.annotationId)||rk.is(e.annotationId))},(ty=rx||(rx={})).create=function(e,t){return{textDocument:e,edits:t}},ty.is=function(e){return ny.defined(e)&&rb.is(e.textDocument)&&Array.isArray(e.edits)},(tT=rS||(rS={})).create=function(e,t,r){let n={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(n.options=t),void 0!==r&&(n.annotationId=r),n},tT.is=function(e){return e&&"create"===e.kind&&ny.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||ny.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||ny.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||rk.is(e.annotationId))},(tv=rN||(rN={})).create=function(e,t,r,n){let i={kind:"rename",oldUri:e,newUri:t};return void 0!==r&&(void 0!==r.overwrite||void 0!==r.ignoreIfExists)&&(i.options=r),void 0!==n&&(i.annotationId=n),i},tv.is=function(e){return e&&"rename"===e.kind&&ny.string(e.oldUri)&&ny.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||ny.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||ny.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||rk.is(e.annotationId))},(tE=rC||(rC={})).create=function(e,t,r){let n={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(n.options=t),void 0!==r&&(n.annotationId=r),n},tE.is=function(e){return e&&"delete"===e.kind&&ny.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||ny.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||ny.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||rk.is(e.annotationId))},(r$||(r$={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(e=>ny.string(e.kind)?rS.is(e)||rN.is(e)||rC.is(e):rx.is(e)))},(tR=rL||(rL={})).create=function(e){return{uri:e}},tR.is=function(e){return ny.defined(e)&&ny.string(e.uri)},(tA=rw||(rw={})).create=function(e,t){return{uri:e,version:t}},tA.is=function(e){return ny.defined(e)&&ny.string(e.uri)&&ny.integer(e.version)},(tk=rb||(rb={})).create=function(e,t){return{uri:e,version:t}},tk.is=function(e){return ny.defined(e)&&ny.string(e.uri)&&(null===e.version||ny.integer(e.version))},(tI=rO||(rO={})).create=function(e,t,r,n){return{uri:e,languageId:t,version:r,text:n}},tI.is=function(e){return ny.defined(e)&&ny.string(e.uri)&&ny.string(e.languageId)&&ny.integer(e.version)&&ny.string(e.text)},(tx=r_||(r_={})).PlainText="plaintext",tx.Markdown="markdown",tx.is=function(e){return e===tx.PlainText||e===tx.Markdown},(rP||(rP={})).is=function(e){return ny.objectLiteral(e)&&r_.is(e.kind)&&ny.string(e.value)},(tS=rM||(rM={})).Text=1,tS.Method=2,tS.Function=3,tS.Constructor=4,tS.Field=5,tS.Variable=6,tS.Class=7,tS.Interface=8,tS.Module=9,tS.Property=10,tS.Unit=11,tS.Value=12,tS.Enum=13,tS.Keyword=14,tS.Snippet=15,tS.Color=16,tS.File=17,tS.Reference=18,tS.Folder=19,tS.EnumMember=20,tS.Constant=21,tS.Struct=22,tS.Event=23,tS.Operator=24,tS.TypeParameter=25,(tN=rD||(rD={})).PlainText=1,tN.Snippet=2,(rZ||(rZ={})).Deprecated=1,(tC=rU||(rU={})).create=function(e,t,r){return{newText:e,insert:t,replace:r}},tC.is=function(e){return e&&ny.string(e.newText)&&ro.is(e.insert)&&ro.is(e.replace)},(t$=rF||(rF={})).asIs=1,t$.adjustIndentation=2,(rG||(rG={})).is=function(e){return e&&(ny.string(e.detail)||void 0===e.detail)&&(ny.string(e.description)||void 0===e.description)},(rB||(rB={})).create=function(e){return{label:e}},(rK||(rK={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(tL=rj||(rj={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},tL.is=function(e){return ny.string(e)||ny.objectLiteral(e)&&ny.string(e.language)&&ny.string(e.value)},(rV||(rV={})).is=function(e){return!!e&&ny.objectLiteral(e)&&(rP.is(e.contents)||rj.is(e.contents)||ny.typedArray(e.contents,rj.is))&&(void 0===e.range||ro.is(e.range))},(rW||(rW={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(rH||(rH={})).create=function(e,t,...r){let n={label:e};return ny.defined(t)&&(n.documentation=t),ny.defined(r)?n.parameters=r:n.parameters=[],n},(tw=rz||(rz={})).Text=1,tw.Read=2,tw.Write=3,(rY||(rY={})).create=function(e,t){let r={range:e};return ny.number(t)&&(r.kind=t),r},(tb=rq||(rq={})).File=1,tb.Module=2,tb.Namespace=3,tb.Package=4,tb.Class=5,tb.Method=6,tb.Property=7,tb.Field=8,tb.Constructor=9,tb.Enum=10,tb.Interface=11,tb.Function=12,tb.Variable=13,tb.Constant=14,tb.String=15,tb.Number=16,tb.Boolean=17,tb.Array=18,tb.Object=19,tb.Key=20,tb.Null=21,tb.EnumMember=22,tb.Struct=23,tb.Event=24,tb.Operator=25,tb.TypeParameter=26,(rX||(rX={})).Deprecated=1,(rQ||(rQ={})).create=function(e,t,r,n,i){let a={name:e,kind:t,location:{uri:n,range:r}};return i&&(a.containerName=i),a},(rJ||(rJ={})).create=function(e,t,r,n){return void 0!==n?{name:e,kind:t,location:{uri:r,range:n}}:{name:e,kind:t,location:{uri:r}}},(tO=r0||(r0={})).create=function(e,t,r,n,i,a){let s={name:e,detail:t,kind:r,range:n,selectionRange:i};return void 0!==a&&(s.children=a),s},tO.is=function(e){return e&&ny.string(e.name)&&ny.number(e.kind)&&ro.is(e.range)&&ro.is(e.selectionRange)&&(void 0===e.detail||ny.string(e.detail))&&(void 0===e.deprecated||ny.boolean(e.deprecated))&&(void 0===e.children||Array.isArray(e.children))&&(void 0===e.tags||Array.isArray(e.tags))},(t_=r1||(r1={})).Empty="",t_.QuickFix="quickfix",t_.Refactor="refactor",t_.RefactorExtract="refactor.extract",t_.RefactorInline="refactor.inline",t_.RefactorRewrite="refactor.rewrite",t_.Source="source",t_.SourceOrganizeImports="source.organizeImports",t_.SourceFixAll="source.fixAll",(tP=r2||(r2={})).Invoked=1,tP.Automatic=2,(tM=r4||(r4={})).create=function(e,t,r){let n={diagnostics:e};return null!=t&&(n.only=t),null!=r&&(n.triggerKind=r),n},tM.is=function(e){return ny.defined(e)&&ny.typedArray(e.diagnostics,rv.is)&&(void 0===e.only||ny.typedArray(e.only,ny.string))&&(void 0===e.triggerKind||e.triggerKind===r2.Invoked||e.triggerKind===r2.Automatic)},(tD=r7||(r7={})).create=function(e,t,r){let n={title:e},i=!0;return"string"==typeof t?(i=!1,n.kind=t):rE.is(t)?n.command=t:n.edit=t,i&&void 0!==r&&(n.kind=r),n},tD.is=function(e){return e&&ny.string(e.title)&&(void 0===e.diagnostics||ny.typedArray(e.diagnostics,rv.is))&&(void 0===e.kind||ny.string(e.kind))&&(void 0!==e.edit||void 0!==e.command)&&(void 0===e.command||rE.is(e.command))&&(void 0===e.isPreferred||ny.boolean(e.isPreferred))&&(void 0===e.edit||r$.is(e.edit))},(tZ=r3||(r3={})).create=function(e,t){let r={range:e};return ny.defined(t)&&(r.data=t),r},tZ.is=function(e){return ny.defined(e)&&ro.is(e.range)&&(ny.undefined(e.command)||rE.is(e.command))},(tU=r5||(r5={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},tU.is=function(e){return ny.defined(e)&&ny.uinteger(e.tabSize)&&ny.boolean(e.insertSpaces)},(tF=r9||(r9={})).create=function(e,t,r){return{range:e,target:t,data:r}},tF.is=function(e){return ny.defined(e)&&ro.is(e.range)&&(ny.undefined(e.target)||ny.string(e.target))},(tG=r6||(r6={})).create=function(e,t){return{range:e,parent:t}},tG.is=function(e){return ny.objectLiteral(e)&&ro.is(e.range)&&(void 0===e.parent||tG.is(e.parent))},(tB=r8||(r8={})).namespace="namespace",tB.type="type",tB.class="class",tB.enum="enum",tB.interface="interface",tB.struct="struct",tB.typeParameter="typeParameter",tB.parameter="parameter",tB.variable="variable",tB.property="property",tB.enumMember="enumMember",tB.event="event",tB.function="function",tB.method="method",tB.macro="macro",tB.keyword="keyword",tB.modifier="modifier",tB.comment="comment",tB.string="string",tB.number="number",tB.regexp="regexp",tB.operator="operator",tB.decorator="decorator",(tK=ne||(ne={})).declaration="declaration",tK.definition="definition",tK.readonly="readonly",tK.static="static",tK.deprecated="deprecated",tK.abstract="abstract",tK.async="async",tK.modification="modification",tK.documentation="documentation",tK.defaultLibrary="defaultLibrary",(nt||(nt={})).is=function(e){return ny.objectLiteral(e)&&(void 0===e.resultId||"string"==typeof e.resultId)&&Array.isArray(e.data)&&(0===e.data.length||"number"==typeof e.data[0])},(tj=nr||(nr={})).create=function(e,t){return{range:e,text:t}},tj.is=function(e){return null!=e&&ro.is(e.range)&&ny.string(e.text)},(tV=nn||(nn={})).create=function(e,t,r){return{range:e,variableName:t,caseSensitiveLookup:r}},tV.is=function(e){return null!=e&&ro.is(e.range)&&ny.boolean(e.caseSensitiveLookup)&&(ny.string(e.variableName)||void 0===e.variableName)},(tW=ni||(ni={})).create=function(e,t){return{range:e,expression:t}},tW.is=function(e){return null!=e&&ro.is(e.range)&&(ny.string(e.expression)||void 0===e.expression)},(tH=na||(na={})).create=function(e,t){return{frameId:e,stoppedLocation:t}},tH.is=function(e){return ny.defined(e)&&ro.is(e.stoppedLocation)},(tz=ns||(ns={})).Type=1,tz.Parameter=2,tz.is=function(e){return 1===e||2===e},(tY=no||(no={})).create=function(e){return{value:e}},tY.is=function(e){return ny.objectLiteral(e)&&(void 0===e.tooltip||ny.string(e.tooltip)||rP.is(e.tooltip))&&(void 0===e.location||rl.is(e.location))&&(void 0===e.command||rE.is(e.command))},(tq=nl||(nl={})).create=function(e,t,r){let n={position:e,label:t};return void 0!==r&&(n.kind=r),n},tq.is=function(e){return ny.objectLiteral(e)&&rs.is(e.position)&&(ny.string(e.label)||ny.typedArray(e.label,no.is))&&(void 0===e.kind||ns.is(e.kind))&&void 0===e.textEdits||ny.typedArray(e.textEdits,rR.is)&&(void 0===e.tooltip||ny.string(e.tooltip)||rP.is(e.tooltip))&&(void 0===e.paddingLeft||ny.boolean(e.paddingLeft))&&(void 0===e.paddingRight||ny.boolean(e.paddingRight))},(nu||(nu={})).createSnippet=function(e){return{kind:"snippet",value:e}},(nc||(nc={})).create=function(e,t,r,n){return{insertText:e,filterText:t,range:r,command:n}},(nd||(nd={})).create=function(e){return{items:e}},(tX=nh||(nh={})).Invoked=0,tX.Automatic=1,(nf||(nf={})).create=function(e,t){return{range:e,text:t}},(np||(np={})).create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}},(nm||(nm={})).is=function(e){return ny.objectLiteral(e)&&rn.is(e.uri)&&ny.string(e.name)},(tQ=ng||(ng={})).create=function(e,t,r,n){return new oL(e,t,r,n)},tQ.is=function(e){return!!(ny.defined(e)&&ny.string(e.uri)&&(ny.undefined(e.languageId)||ny.string(e.languageId))&&ny.uinteger(e.lineCount)&&ny.func(e.getText)&&ny.func(e.positionAt)&&ny.func(e.offsetAt))},tQ.applyEdits=function(e,t){let r=e.getText(),n=function e(t,r){if(t.length<=1)return t;let n=t.length/2|0,i=t.slice(0,n),a=t.slice(n);e(i,r),e(a,r);let s=0,o=0,l=0;for(;s=r(i[s],a[o])?t[l++]=i[s++]:t[l++]=a[o++];for(;s{let r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r}),i=r.length;for(let t=n.length-1;t>=0;t--){let a=n[t],s=e.offsetAt(a.range.start),o=e.offsetAt(a.range.end);if(o<=i)r=r.substring(0,s)+a.newText+r.substring(o,r.length);else throw Error("Overlapping edit");i=s}return r};class oL{constructor(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,r=!0;for(let n=0;n0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),r=0,n=t.length;if(0===n)return rs.create(0,e);for(;re?n=i:r=i+1}let i=r-1;return rs.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line],n=e.line+1=0&&t.content.splice(r,1)}}construct(e){let t=this.current;"string"==typeof e.$type&&(this.current.astNode=e),e.$cstNode=t;let r=this.nodeStack.pop();(null==r?void 0:r.content.length)===0&&this.removeNode(r)}addHiddenTokens(e){for(let t of e){let e=new oO(t.startOffset,t.image.length,y(t),t.tokenType,!0);e.root=this.rootNode,this.addHiddenToken(this.rootNode,e)}}addHiddenToken(e,t){let{offset:r,end:n}=t;for(let i=0;is&&n=0;e--){let t=this.content[e];if(!t.hidden)return t}return this.content[this.content.length-1]}}class oP extends Array{constructor(e){super(),this.parent=e,Object.setPrototypeOf(this,oP.prototype)}push(...e){return this.addParents(e),super.push(...e)}unshift(...e){return this.addParents(e),super.unshift(...e)}splice(e,t,...r){return this.addParents(r),super.splice(e,t,...r)}addParents(e){for(let t of e)t.container=this.parent}}class oM extends o_{get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(e){super(),this._text="",this._text=null!=e?e:""}}let oD=Symbol("Datatype");function oZ(e){return e.$type===oD}let oU=e=>e.endsWith("\u200B")?e:e+"\u200B";class oF{constructor(e){this._unorderedGroups=new Map,this.lexer=e.parser.Lexer;let t=this.lexer.definition;this.wrapper=new oW(t,Object.assign(Object.assign({},e.parser.ParserConfig),{errorMessageProvider:e.parser.ParserErrorMessageProvider}))}alternatives(e,t){this.wrapper.wrapOr(e,t)}optional(e,t){this.wrapper.wrapOption(e,t)}many(e,t){this.wrapper.wrapMany(e,t)}atLeastOne(e,t){this.wrapper.wrapAtLeastOne(e,t)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}}class oG extends oF{get current(){return this.stack[this.stack.length-1]}constructor(e){super(e),this.nodeBuilder=new ow,this.stack=[],this.assignmentMap=new Map,this.linker=e.references.Linker,this.converter=e.parser.ValueConverter,this.astReflection=e.shared.AstReflection}rule(e,t){let r=e.fragment?void 0:ez(e)?oD:eq(e),n=this.wrapper.DEFINE_RULE(oU(e.name),this.startImplementation(r,t).bind(this));return e.entry&&(this.mainRule=n),n}parse(e){this.nodeBuilder.buildRootNode(e);let t=this.lexer.tokenize(e);this.wrapper.input=t.tokens;let r=this.mainRule.call(this.wrapper,{});return this.nodeBuilder.addHiddenTokens(t.hidden),this.unorderedGroups.clear(),{value:r,lexerErrors:t.errors,parserErrors:this.wrapper.errors}}startImplementation(e,t){return r=>{let n;if(!this.isRecording()){let t={$type:e};this.stack.push(t),e===oD&&(t.value="")}try{n=t(r)}catch(e){n=void 0}return!this.isRecording()&&void 0===n&&(n=this.construct()),n}}consume(e,t,r){let n=this.wrapper.wrapConsume(e,t);if(!this.isRecording()&&this.isValidToken(n)){let e=this.nodeBuilder.buildLeafNode(n,r),{assignment:t,isCrossRef:i}=this.getAssignment(r),a=this.current;if(t){let a=en(r)?n.image:this.converter.convert(n.image,e);this.assign(t.operator,t.feature,a,e,i)}else if(oZ(a)){let t=n.image;!en(r)&&(t=this.converter.convert(t,e).toString()),a.value+=t}}}isValidToken(e){return!e.isInsertedInRecovery&&!isNaN(e.startOffset)&&"number"==typeof e.endOffset&&!isNaN(e.endOffset)}subrule(e,t,r,n){let i;!this.isRecording()&&(i=this.nodeBuilder.buildCompositeNode(r));let a=this.wrapper.wrapSubrule(e,t,n);!this.isRecording()&&i&&i.length>0&&this.performSubruleAssignment(a,r,i)}performSubruleAssignment(e,t,r){let{assignment:n,isCrossRef:i}=this.getAssignment(t);if(n)this.assign(n.operator,n.feature,e,r,i);else if(!n){let t=this.current;if(oZ(t))t.value+=e.toString();else if("object"==typeof e&&e){let r=e.$type,n=this.assignWithoutOverride(e,t);r&&(n.$type=r);this.stack.pop(),this.stack.push(n)}}}action(e,t){if(!this.isRecording()){let r=this.current;if(!r.$cstNode&&t.feature&&t.operator){let e=(r=this.construct(!1)).$cstNode.feature;this.nodeBuilder.buildCompositeNode(e)}this.stack.pop(),this.stack.push({$type:e}),t.feature&&t.operator&&this.assign(t.operator,t.feature,r,r.$cstNode,!1)}}construct(e=!0){if(this.isRecording())return;let t=this.current;return(!function(e){for(let[t,r]of Object.entries(e))!t.startsWith("$")&&(Array.isArray(r)?r.forEach((r,i)=>{n(r)&&(r.$container=e,r.$containerProperty=t,r.$containerIndex=i)}):n(r)&&(r.$container=e,r.$containerProperty=t))}(t),this.nodeBuilder.construct(t),e&&this.stack.pop(),oZ(t))?this.converter.convert(t.value,t.$cstNode):(!function(e,t){let r=e.getTypeMetaData(t.$type);for(let e of r.properties)void 0!==e.defaultValue&&void 0===t[e.name]&&(t[e.name]=function e(t){return Array.isArray(t)?[...t.map(e)]:t}(e.defaultValue))}(this.astReflection,t),t)}getAssignment(e){if(!this.assignmentMap.has(e)){let t=eT(e,Y);this.assignmentMap.set(e,{assignment:t,isCrossRef:!!t&&Q(t.terminal)})}return this.assignmentMap.get(e)}assign(e,t,r,n,i){let a;let s=this.current;switch(a=i&&"string"==typeof r?this.linker.buildReference(s,t,n,r):r,e){case"=":s[t]=a;break;case"?=":s[t]=!0;break;case"+=":!Array.isArray(s[t])&&(s[t]=[]),s[t].push(a)}}assignWithoutOverride(e,t){for(let[r,n]of Object.entries(t)){let t=e[r];void 0===t?e[r]=n:Array.isArray(t)&&Array.isArray(n)&&(n.push(...t),e[r]=n)}return e}get definitionErrors(){return this.wrapper.definitionErrors}}class oB{buildMismatchTokenMessage(e){return aV.buildMismatchTokenMessage(e)}buildNotAllInputParsedMessage(e){return aV.buildNotAllInputParsedMessage(e)}buildNoViableAltMessage(e){return aV.buildNoViableAltMessage(e)}buildEarlyExitMessage(e){return aV.buildEarlyExitMessage(e)}}class oK extends oB{buildMismatchTokenMessage({expected:e,actual:t}){let r=e.LABEL?"`"+e.LABEL+"`":e.name.endsWith(":KW")?`keyword '${e.name.substring(0,e.name.length-3)}'`:`token of type '${e.name}'`;return`Expecting ${r} but found \`${t.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:e}){return`Expecting end of file but found \`${e.image}\`.`}}class oj extends oF{constructor(){super(...arguments),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(e){this.resetState();let t=this.lexer.tokenize(e);return this.tokens=t.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(e,t){let r=this.wrapper.DEFINE_RULE(oU(e.name),this.startImplementation(t).bind(this));return e.entry&&(this.mainRule=r),r}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(e){return t=>{let r=this.keepStackSize();try{e(t)}finally{this.resetStackSize(r)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){let e=this.elementStack.length;return this.stackSize=e,e}resetStackSize(e){this.removeUnexpectedElements(),this.stackSize=e}consume(e,t,r){this.wrapper.wrapConsume(e,t),!this.isRecording()&&(this.lastElementStack=[...this.elementStack,r],this.nextTokenIndex=this.currIdx+1)}subrule(e,t,r,n){this.before(r),this.wrapper.wrapSubrule(e,t,n),this.after(r)}before(e){!this.isRecording()&&this.elementStack.push(e)}after(e){if(!this.isRecording()){let t=this.elementStack.lastIndexOf(e);t>=0&&this.elementStack.splice(t)}}get currIdx(){return this.wrapper.currIdx}}let oV={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new oK};class oW extends s6{constructor(e,t){super(e,Object.assign(Object.assign(Object.assign({},oV),{lookaheadStrategy:t&&"maxLookahead"in t?new sG({maxLookahead:t.maxLookahead}):new oE}),t))}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(e,t){return this.RULE(e,t)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(e,t){return this.consume(e,t)}wrapSubrule(e,t,r){return this.subrule(e,t,{ARGS:[r]})}wrapOr(e,t){this.or(e,t)}wrapOption(e,t){this.option(e,t)}wrapMany(e,t){this.many(e,t)}wrapAtLeastOne(e,t){this.atLeastOne(e,t)}}function oH(e,t,r){return function(e,t){let r=ej(t,!1);for(let n of p(t.rules).filter(Z).filter(e=>r.has(e))){let t=Object.assign(Object.assign({},e),{consume:1,optional:1,subrule:1,many:1,or:1});t.rules.set(n.name,e.parser.rule(n,oz(t,n.definition)))}}({parser:t,tokens:r,rules:new Map,ruleNames:new Map},e),t}function oz(e,t,r=!1){let n;if(en(t))n=function(e,t){let r=e.consume++,n=e.tokens[t.value];if(!n)throw Error("Could not find token for keyword: "+t.value);return()=>e.parser.consume(r,n,t)}(e,t);else if(V(t))n=function(e,t){let r=eq(t);return()=>e.parser.action(r,t)}(e,t);else if(Y(t))n=oz(e,t.terminal);else if(Q(t))n=function e(t,r,n=r.terminal){if(n){if(eo(n)&&Z(n.rule.ref)){let e=t.subrule++;return i=>t.parser.subrule(e,oQ(t,n.rule.ref),r,i)}else if(eo(n)&&G(n.rule.ref)){let e=t.consume++,i=oJ(t,n.rule.ref.name);return()=>t.parser.consume(e,i,r)}else if(en(n)){let e=t.consume++,i=oJ(t,n.value);return()=>t.parser.consume(e,i,r)}else throw Error("Could not build cross reference parser")}{if(!r.type.ref)throw Error("Could not resolve reference to type: "+r.type.$refText);let n=eH(r.type.ref),i=null==n?void 0:n.terminal;if(!i)throw Error("Could not find name assignment for type: "+eq(r.type.ref));return e(t,r,i)}}(e,t);else if(eo(t))n=function(e,t){let r=t.rule.ref;if(Z(r)){let n=e.subrule++,i=t.arguments.length>0?function(e,t){let r=t.map(e=>oY(e.value));return t=>{let n={};for(let i=0;i({});return a=>e.parser.subrule(n,oQ(e,r),t,i(a))}if(G(r)){let n=e.consume++,i=oJ(e,r.name);return()=>e.parser.consume(n,i,t)}if(r)A(r);else throw new R(t.$cstNode,`Undefined rule type: ${t.$type}`)}(e,t);else if(H(t))n=function(e,t){if(1===t.elements.length)return oz(e,t.elements[0]);{let r=[];for(let n of t.elements){let t={ALT:oz(e,n,!0)},i=oq(n);i&&(t.GATE=oY(i)),r.push(t)}let n=e.or++;return t=>e.parser.alternatives(n,r.map(e=>{let r={ALT:()=>e.ALT(t)},n=e.GATE;return n&&(r.GATE=()=>n(t)),r}))}}(e,t);else if(ef(t))n=function(e,t){if(1===t.elements.length)return oz(e,t.elements[0]);let r=[];for(let n of t.elements){let t={ALT:oz(e,n,!0)},i=oq(n);i&&(t.GATE=oY(i)),r.push(t)}let n=e.or++,i=(e,t)=>{let r=t.getRuleStack().join("-");return`uGroup_${e}_${r}`},a=oX(e,oq(t),t=>e.parser.alternatives(n,r.map((r,a)=>{let s={ALT:()=>!0},o=e.parser;s.ALT=()=>{if(r.ALT(t),!o.isRecording()){let e=i(n,o);!o.unorderedGroups.get(e)&&o.unorderedGroups.set(e,[]);let t=o.unorderedGroups.get(e);void 0===(null==t?void 0:t[a])&&(t[a]=!0)}};let l=r.GATE;return l?s.GATE=()=>l(t):s.GATE=()=>{let e=o.unorderedGroups.get(i(n,o));return!(null==e?void 0:e[a])},s})),"*");return t=>{a(t),!e.parser.isRecording()&&e.parser.unorderedGroups.delete(i(n,e.parser))}}(e,t);else if(et(t))n=function(e,t){let r=t.elements.map(t=>oz(e,t));return e=>r.forEach(t=>t(e))}(e,t);else{var i;if(i=t,ey.isInstance(i,J)){let r=e.consume++;n=()=>e.parser.consume(r,aB,t)}else throw new R(t.$cstNode,`Unexpected element type: ${t.$type}`)}return oX(e,r?void 0:oq(t),n,t.cardinality)}function oY(e){var t,r,n,i,a;if(t=e,ey.isInstance(t,L)){let t=oY(e.left),r=oY(e.right);return e=>t(e)||r(e)}if(r=e,ey.isInstance(r,$)){let t=oY(e.left),r=oY(e.right);return e=>t(e)&&r(e)}else{;if(n=e,ey.isInstance(n,P)){let t=oY(e.value);return e=>!t(e)}else{;if(i=e,ey.isInstance(i,M)){let t=e.parameter.ref.name;return e=>void 0!==e&&!0===e[t]}else{;if(a=e,ey.isInstance(a,C)){let t=!!e.true;return()=>t}}}}A(e)}function oq(e){if(et(e))return e.guardCondition}function oX(e,t,r,n){let i=t&&oY(t);if(!n){if(!i)return r;{let t=e.or++;return n=>e.parser.alternatives(t,[{ALT:()=>r(n),GATE:()=>i(n)},{ALT:s5(),GATE:()=>!i(n)}])}}if("*"===n){let t=e.many++;return n=>e.parser.many(t,{DEF:()=>r(n),GATE:i?()=>i(n):void 0})}if("+"===n){let t=e.many++;if(!i)return n=>e.parser.atLeastOne(t,{DEF:()=>r(n)});{let n=e.or++;return a=>e.parser.alternatives(n,[{ALT:()=>e.parser.atLeastOne(t,{DEF:()=>r(a)}),GATE:()=>i(a)},{ALT:s5(),GATE:()=>!i(a)}])}}if("?"===n){let t=e.optional++;return n=>e.parser.optional(t,{DEF:()=>r(n),GATE:i?()=>i(n):void 0})}else A(n)}function oQ(e,t){let r=function(e,t){if(Z(t))return t.name;if(e.ruleNames.has(t))return e.ruleNames.get(t);{let r=t,n=r.$container,i=t.$type;for(;!Z(n);)(et(n)||H(n)||ef(n))&&(i=n.elements.indexOf(r).toString()+":"+i),r=n,n=n.$container;return i=n.name+":"+i,e.ruleNames.set(t,i),i}}(e,t),n=e.rules.get(r);if(!n)throw Error(`Rule "${r}" not found."`);return n}function oJ(e,t){let r=e.tokens[t];if(!r)throw Error(`Token "${t}" not found."`);return r}class o0{buildTokens(e,t){let r=p(ej(e,!1)),n=this.buildTerminalTokens(r),i=this.buildKeywordTokens(r,n,t);return n.forEach(e=>{let t=e.PATTERN;"object"==typeof t&&t&&"test"in t&&eB(t)?i.unshift(e):i.push(e)}),i}buildTerminalTokens(e){return e.filter(G).filter(e=>!e.fragment).map(e=>this.buildTerminalToken(e)).toArray()}buildTerminalToken(e){let t=eX(e),r=this.requiresCustomPattern(t)?this.regexPatternFunction(t):t,n={name:e.name,PATTERN:r,LINE_BREAKS:!0};return e.hidden&&(n.GROUP=eB(t)?a$.SKIPPED:"hidden"),n}requiresCustomPattern(e){return!!e.flags.includes("u")||!!(e.source.includes("?<=")||e.source.includes("?(t.lastIndex=r,t.exec(e))}buildKeywordTokens(e,t,r){return e.filter(Z).flatMap(e=>eR(e).filter(en)).distinct(e=>e.value).toArray().sort((e,t)=>t.value.length-e.value.length).map(e=>this.buildKeywordToken(e,t,!!(null==r?void 0:r.caseInsensitive)))}buildKeywordToken(e,t,r){return{name:e.value,PATTERN:this.buildKeywordPattern(e,r),LONGER_ALT:this.findLongerAlt(e,t)}}buildKeywordPattern(e,t){var r;return t?new RegExp((r=e.value,Array.prototype.map.call(r,e=>/\w/.test(e)?`[${e.toLowerCase()}${e.toUpperCase()}]`:eK(e)).join(""))):e.value}findLongerAlt(e,t){return t.reduce((t,r)=>{let n=null==r?void 0:r.PATTERN;return(null==n?void 0:n.source)&&function(e,t){let r=function(e){"string"==typeof e&&(e=new RegExp(e));let t=e,r=e.source,n=0;return new RegExp(function e(){let i="",a;function s(e){i+=r.substr(n,e),n+=e}function o(e){i+="(?:"+r.substr(n,e)+"|$)",n+=e}for(;n",n)-n+1);break;default:o(2)}break;case"[":(a=/\[(?:\\.|.)*?\]/g).lastIndex=n,o((a=a.exec(r)||[])[0].length);break;case"|":case"^":case"$":case"*":case"+":case"?":s(1);break;case"{":(a=/\{\d+,?\d*\}/g).lastIndex=n,(a=a.exec(r))?s(a[0].length):o(1);break;case"(":if("?"===r[n+1])switch(r[n+2]){case":":i+="(?:",n+=3,i+=e()+"|$)";break;case"=":i+="(?=",n+=3,i+=e()+")";break;case"!":a=n,n+=3,e(),i+=r.substr(a,n-a);break;case"<":switch(r[n+3]){case"=":case"!":a=n,n+=4,e(),i+=r.substr(a,n-a);break;default:s(r.indexOf(">",n)-n+1),i+=e()+"|$)"}}else s(1),i+=e()+"|$)";break;case")":return++n,i;default:o(1)}return i}(),e.flags)}(e),n=t.match(r);return!!n&&n[0].length>0}("^"+n.source+"$",e.value)&&t.push(r),t},[])}}class o1{convert(e,t){let r=t.grammarSource;if(Q(r)&&(r=function(e){if(e.terminal)return e.terminal;if(e.type.ref){let t=eH(e.type.ref);return null==t?void 0:t.terminal}}(r)),eo(r)){let n=r.rule.ref;if(!n)throw Error("This cst node was not parsed by a rule.");return this.runConverter(n,e,t)}return e}runConverter(e,t,r){var n,i,a,s,o;switch(e.name.toUpperCase()){case"INT":return nT.convertInt(t);case"STRING":return nT.convertString(t);case"ID":return nT.convertID(t)}switch(null===(n=G(i=e)?null!==(s=null===(a=i.type)||void 0===a?void 0:a.name)&&void 0!==s?s:"string":ez(i)?i.name:null!==(o=eY(i))&&void 0!==o?o:i.name)||void 0===n?void 0:n.toLowerCase()){case"number":return nT.convertNumber(t);case"boolean":return nT.convertBoolean(t);case"bigint":return nT.convertBigint(t);case"date":return nT.convertDate(t);default:return t}}}(tJ=nT||(nT={})).convertString=function(e){let t="";for(let r=1;r=10&&(o4=t,await new Promise(e=>{"undefined"==typeof setImmediate?setTimeout(e,0):setImmediate(e)})),e.isCancellationRequested)throw o7}class o9{constructor(){this.promise=new Promise((e,t)=>{this.resolve=t=>(e(t),this),this.reject=e=>(t(e),this)})}}class o6{constructor(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(let t of e)if(o6.isIncremental(t)){let e=lt(t.range),r=this.offsetAt(e.start),n=this.offsetAt(e.end);this._content=this._content.substring(0,r)+t.text+this._content.substring(n,this._content.length);let i=Math.max(e.start.line,0),a=Math.max(e.end.line,0),s=this._lineOffsets,o=o8(t.text,!1,r);if(a-i===o.length)for(let e=0,t=o.length;ee?n=i:r=i+1}let i=r-1;return e=this.ensureBeforeEOL(e,t[i]),{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line];if(e.character<=0)return r;let n=e.line+1t&&le(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){return null!=e&&"string"==typeof e.text&&void 0!==e.range&&(void 0===e.rangeLength||"number"==typeof e.rangeLength)}static isFull(e){return null!=e&&"string"==typeof e.text&&void 0===e.range&&void 0===e.rangeLength}}(t0=nv||(nv={})).create=function(e,t,r,n){return new o6(e,t,r,n)},t0.update=function(e,t,r){if(e instanceof o6)return e.update(t,r),e;throw Error("TextDocument.update: document must be created by TextDocument.create")},t0.applyEdits=function(e,t){let r=e.getText(),n=function e(t,r){if(t.length<=1)return t;let n=t.length/2|0,i=t.slice(0,n),a=t.slice(n);e(i,r),e(a,r);let s=0,o=0,l=0;for(;s=r(i[s],a[o])?t[l++]=i[s++]:t[l++]=a[o++];for(;s{let r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r}),i=0,a=[];for(let t of n){let n=e.offsetAt(t.range.start);if(ni&&a.push(r.substring(i,n));t.newText.length&&a.push(t.newText),i=e.offsetAt(t.range.end)}return a.push(r.substr(i)),a.join("")};function o8(e,t,r=0){let n=t?[r]:[];for(let t=0;tr.line||t.line===r.line&&t.character>r.character?{start:r,end:t}:e}function lr(e){let t=lt(e.range);return t!==e.range?{newText:e.newText,range:t}:e}(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,a=-1,s=0,o=0;o<=e.length;++o){if(o2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),a=o,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,a=o,s=0;continue}}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),i=o-a-1;a=o,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var n={resolve:function(){for(var e,n,i="",a=!1,s=arguments.length-1;s>=-1&&!a;s--)s>=0?e=arguments[s]:(void 0===n&&(n=process.cwd()),e=n),t(e),0!==e.length&&(i=e+"/"+i,a=47===e.charCodeAt(0));return i=r(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;iu){if(47===r.charCodeAt(o+d))return r.slice(o+d+1);if(0===d)return r.slice(o+d)}else s>u&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var h=e.charCodeAt(i+d);if(h!==r.charCodeAt(o+d))break;47===h&&(c=d)}var f="";for(d=i+c+1;d<=a;++d)d!==a&&47!==e.charCodeAt(d)||(0===f.length?f+="..":f+="/..");return f.length>0?f+r.slice(o+c):(o+=c,47===r.charCodeAt(o)&&++o,r.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,a=!0,s=e.length-1;s>=1;--s)if(47===(r=e.charCodeAt(s))){if(!a){i=s;break}}else a=!1;return -1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,i=0,a=-1,s=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var o=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!s){i=n+1;break}}else -1===l&&(s=!1,l=n+1),o>=0&&(u===r.charCodeAt(o)?-1==--o&&(a=n):(o=-1,a=l))}return i===a?a=l:-1===a&&(a=e.length),e.slice(i,a)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else -1===a&&(s=!1,a=n+1);return -1===a?"":e.slice(i,a)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,a=!0,s=0,o=e.length-1;o>=0;--o){var l=e.charCodeAt(o);if(47!==l)-1===i&&(a=!1,i=o+1),46===l?-1===r?r=o:1!==s&&(s=1):-1!==r&&(s=-1);else if(!a){n=o+1;break}}return -1===r||-1===i||0===s||1===s&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){var t,r,n,i;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=0,n=(r=e).dir||r.root,i=r.base||(r.name||"")+(r.ext||""),n?n===r.root?n+i:n+"/"+i:i},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var n,i=e.charCodeAt(0),a=47===i;a?(r.root="/",n=1):n=0;for(var s=-1,o=0,l=-1,u=!0,c=e.length-1,d=0;c>=n;--c)if(47!==(i=e.charCodeAt(c)))-1===l&&(u=!1,l=c+1),46===i?-1===s?s=c:1!==d&&(d=1):-1!==s&&(d=-1);else if(!u){o=c+1;break}return -1===s||-1===l||0===d||1===d&&s===l-1&&s===o+1?-1!==l&&(r.base=r.name=0===o&&a?e.slice(1,l):e.slice(o,l)):(0===o&&a?(r.name=e.slice(1,s),r.base=e.slice(1,l)):(r.name=e.slice(o,s),r.base=e.slice(o,l)),r.ext=e.slice(s,l)),o>0?r.dir=e.slice(0,o-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{let e;(r.r(n),r.d(n,{URI:()=>l,Utils:()=>v}),"object"==typeof process)?e="win32"===process.platform:"object"==typeof navigator&&(e=navigator.userAgent.indexOf("Windows")>=0);let t=/^\w[\w\d+.-]*$/,i=/^\//,a=/^\/\//;function s(e,r){if(!e.scheme&&r)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!t.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!i.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let o=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class l{static isUri(e){return e instanceof l||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}scheme;authority;path;query;fragment;constructor(e,t,r,n,i,a=!1){var o,l;"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(o=e,l=a,o||l?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,r||""),this.query=n||"",this.fragment=i||"",s(this,a))}get fsPath(){return p(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:r,path:n,query:i,fragment:a}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===r?r=this.authority:null===r&&(r=""),void 0===n?n=this.path:null===n&&(n=""),void 0===i?i=this.query:null===i&&(i=""),void 0===a?a=this.fragment:null===a&&(a=""),t===this.scheme&&r===this.authority&&n===this.path&&i===this.query&&a===this.fragment?this:new c(t,r,n,i,a)}static parse(e,t=!1){let r=o.exec(e);return r?new c(r[2]||"",y(r[4]||""),y(r[5]||""),y(r[7]||""),y(r[9]||""),t):new c("","","","","")}static file(t){let r="";if(e&&(t=t.replace(/\\/g,"/")),"/"===t[0]&&"/"===t[1]){let e=t.indexOf("/",2);-1===e?(r=t.substring(2),t="/"):(r=t.substring(2,e),t=t.substring(e)||"/")}return new c("file",r,t,"","")}static from(e){let t=new c(e.scheme,e.authority,e.path,e.query,e.fragment);return s(t,!0),t}toString(e=!1){return m(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof l)return e;{let t=new c(e);return t._formatted=e.external,t._fsPath=e._sep===u?e.fsPath:null,t}}return e}}let u=e?1:void 0;class c extends l{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=p(this,!1)),this._fsPath}toString(e=!1){return e?m(this,!0):(this._formatted||(this._formatted=m(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let d={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function h(e,t,r){let n,i=-1;for(let a=0;a=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s||r&&91===s||r&&93===s||r&&58===s)-1!==i&&(n+=encodeURIComponent(e.substring(i,a)),i=-1),void 0!==n&&(n+=e.charAt(a));else{void 0===n&&(n=e.substr(0,a));let t=d[s];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,a)),i=-1),n+=t):-1===i&&(i=a)}}return -1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function f(e){let t;for(let r=0;r1&&"file"===t.scheme?`//${t.authority}${t.path}`:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&90>=t.path.charCodeAt(1)||t.path.charCodeAt(1)>=97&&122>=t.path.charCodeAt(1))&&58===t.path.charCodeAt(2)?r?t.path.substr(1):t.path[1].toLowerCase()+t.path.substr(2):t.path,e&&(n=n.replace(/\//g,"\\")),n}function m(e,t){let r=t?f:h,n="",{scheme:i,authority:a,path:s,query:o,fragment:l}=e;if(i&&(n+=i,n+=":"),(a||"file"===i)&&(n+="//"),a){let e=a.indexOf("@");if(-1!==e){let t=a.substr(0,e);a=a.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=r(t,!1,!1):(n+=r(t.substr(0,e),!1,!1),n+=":",n+=r(t.substr(e+1),!1,!0)),n+="@"}-1===(e=(a=a.toLowerCase()).lastIndexOf(":"))?n+=r(a,!1,!0):(n+=r(a.substr(0,e),!1,!0),n+=a.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){let e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){let e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}n+=r(s,!0,!1)}return o&&(n+="?",n+=r(o,!1,!1)),l&&(n+="#",n+=t?l:h(l,!1,!1)),n}let g=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function y(e){return e.match(g)?e.replace(g,e=>(function e(t){try{return decodeURIComponent(t)}catch{return t.length>3?t.substr(0,3)+e(t.substr(3)):t}})(e)):e}var T,v,E=r(470);let R=E.posix||E;(T=v||(v={})).joinPath=function(e,...t){return e.with({path:R.join(e.path,...t)})},T.resolvePath=function(e,...t){let r=e.path,n=!1;"/"!==r[0]&&(r="/"+r,n=!0);let i=R.resolve(r,...t);return n&&"/"===i[0]&&!e.authority&&(i=i.substring(1)),e.with({path:i})},T.dirname=function(e){if(0===e.path.length||"/"===e.path)return e;let t=R.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)&&(t=""),e.with({path:t})},T.basename=function(e){return R.basename(e.path)},T.extname=function(e){return R.extname(e.path)}})(),nE=n})();let{URI:ln,Utils:li}=nE;(t1=nR||(nR={})).basename=li.basename,t1.dirname=li.dirname,t1.extname=li.extname,t1.joinPath=li.joinPath,t1.resolvePath=li.resolvePath,t1.equals=function(e,t){return(null==e?void 0:e.toString())===(null==t?void 0:t.toString())},t1.relative=function(e,t){let r="string"==typeof e?e:e.path,n="string"==typeof t?t:t.path,i=r.split("/").filter(e=>e.length>0),a=n.split("/").filter(e=>e.length>0),s=0;for(;snull!=r?r:r=nv.create(e.toString(),n.getServices(e).LanguageMetaData.languageId,0,null!=t?t:"")}}class ls{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return p(this.documentMap.values())}addDocument(e){let t=e.uri.toString();if(this.documentMap.has(t))throw Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){let t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let r=this.getDocument(e);return r?r:(r=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(r),r)}createDocument(e,t,r){if(r)return this.langiumDocumentFactory.fromString(t,e,r).then(e=>(this.addDocument(e),e));{let r=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(r),r}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){let t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=nA.Changed,r.precomputedScopes=void 0,r.references=[],r.diagnostics=void 0),r}deleteDocument(e){let t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=nA.Changed,this.documentMap.delete(t)),r}}class lo{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=o2.CancellationToken.None){for(let r of eA(e.parseResult.value))await o5(t),eI(r).forEach(t=>this.doLink(t,e))}doLink(e,t){let r=e.reference;if(void 0===r._ref)try{let t=this.getCandidate(e);if(a(t))r._ref=t;else if(r._nodeDescription=t,this.langiumDocuments().hasDocument(t.documentUri)){let n=this.loadAstNode(t);r._ref=null!=n?n:this.createLinkingError(e,t)}}catch(t){r._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${r.$refText}': ${t}`})}t.references.push(r)}unlink(e){for(let t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){let t=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return null!=t?t:this.createLinkingError(e)}buildReference(e,t,r,i){let s=this,o={$refNode:r,$refText:i,get ref(){var l,u;if(n(this._ref))return this._ref;if("object"==typeof(u=this._nodeDescription)&&null!==u&&"string"==typeof u.name&&"string"==typeof u.type&&"string"==typeof u.path){let r=s.loadAstNode(this._nodeDescription);this._ref=null!=r?r:s.createLinkingError({reference:o,container:e,property:t},this._nodeDescription)}else if(void 0===this._ref){let r=s.getLinkedNode({reference:o,container:e,property:t});if(r.error&&ev(e).state=e.end)return t.ref}}if(r){let t=this.nameProvider.getNameNode(r);if(t&&(t===e||function(e,t){for(;e.container;)if((e=e.container)===t)return!0;return!1}(e,t)))return r}}}findDeclarationNode(e){let t=this.findDeclaration(e);if(null==t?void 0:t.$cstNode){let e=this.nameProvider.getNameNode(t);return null!=e?e:t.$cstNode}}findReferences(e,t){let r=[];if(t.includeDeclaration){let t=this.getReferenceToSelf(e);t&&r.push(t)}let n=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(n=n.filter(e=>nR.equals(e.sourceUri,t.documentUri))),r.push(...n),p(r)}getReferenceToSelf(e){let t=this.nameProvider.getNameNode(e);if(t){let r=ev(e),n=this.nodeLocator.getAstNodePath(e);return{sourceUri:r.uri,sourcePath:n,targetUri:r.uri,targetPath:n,segment:T(t),local:!0}}}}class lc{constructor(e){if(this.map=new Map,e)for(let[t,r]of e)this.add(t,r)}get size(){return t5.sum(p(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,t){if(void 0===t)return this.map.delete(e);{let r=this.map.get(e);if(r){let n=r.indexOf(t);if(n>=0)return 1===r.length?this.map.delete(e):r.splice(n,1),!0}return!1}}get(e){var t;return null!==(t=this.map.get(e))&&void 0!==t?t:[]}has(e,t){if(void 0===t)return this.map.has(e);{let r=this.map.get(e);return!!r&&r.indexOf(t)>=0}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach((t,r)=>t.forEach(t=>e(t,r,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return p(this.map.entries()).flatMap(([e,t])=>t.map(t=>[e,t]))}keys(){return p(this.map.keys())}values(){return p(this.map.values()).flat()}entriesGroupedByKey(){return p(this.map.entries())}}class ld{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(let[t,r]of e)this.set(t,r)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){let t=this.map.get(e);return void 0!==t&&(this.map.delete(e),this.inverse.delete(t),!0)}}class lh{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=o2.CancellationToken.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,r=eE,n=o2.CancellationToken.None){let i=[];for(let a of(this.exportNode(e,i,t),r(e)))await o5(n),this.exportNode(a,i,t);return i}exportNode(e,t,r){let n=this.nameProvider.getName(e);n&&t.push(this.descriptions.createDescription(e,n,r))}async computeLocalScopes(e,t=o2.CancellationToken.None){let r=e.parseResult.value,n=new lc;for(let i of eR(r))await o5(t),this.processNode(i,e,n);return n}processNode(e,t,r){let n=e.$container;if(n){let i=this.nameProvider.getName(e);i&&r.add(n,this.descriptions.createDescription(e,i,t))}}}class lf{constructor(e,t,r){var n;this.elements=e,this.outerScope=t,this.caseInsensitive=null!==(n=null==r?void 0:r.caseInsensitive)&&void 0!==n&&n}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){let t=this.caseInsensitive?this.elements.find(t=>t.name.toLowerCase()===e.toLowerCase()):this.elements.find(t=>t.name===e);return t?t:this.outerScope?this.outerScope.getElement(e):void 0}}class lp{constructor(e,t,r){var n;for(let t of(this.elements=new Map,this.caseInsensitive=null!==(n=null==r?void 0:r.caseInsensitive)&&void 0!==n&&n,e)){let e=this.caseInsensitive?t.name.toLowerCase():t.name;this.elements.set(e,t)}this.outerScope=t}getElement(e){let t=this.caseInsensitive?e.toLowerCase():e,r=this.elements.get(t);return r?r:this.outerScope?this.outerScope.getElement(e):void 0}getAllElements(){let e=p(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class lm{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw Error("This cache has already been disposed")}}class lg extends lm{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(!!t){let r=t();return this.cache.set(e,r),r}}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class ly extends lm{constructor(e){super(),this.cache=new Map,this.converter=null!=e?e:e=>e}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,r){this.throwIfDisposed(),this.cacheForContext(e).set(t,r)}get(e,t,r){this.throwIfDisposed();let n=this.cacheForContext(e);if(n.has(t))return n.get(t);if(!!r){let e=r();return n.set(t,e),e}}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){let t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){let t=this.converter(e),r=this.cache.get(t);return!r&&(r=new Map,this.cache.set(t,r)),r}}class lT extends lg{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}class lv{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new lT(e.shared)}getScope(e){let t=[],r=this.reflection.getReferenceType(e),n=ev(e.container).precomputedScopes;if(n){let i=e.container;do{let e=n.get(i);e.length>0&&t.push(p(e).filter(e=>this.reflection.isSubtype(e.type,r))),i=i.$container}while(i)}let i=this.getGlobalScope(r,e);for(let e=t.length-1;e>=0;e--)i=this.createScope(t[e],i);return i}createScope(e,t,r){return new lf(p(e),t,r)}createScopeForNodes(e,t,r){return new lf(p(e).map(e=>{let t=this.nameProvider.getName(e);if(t)return this.descriptions.createDescription(e,t)}).nonNullable(),t,r)}getGlobalScope(e,t){return this.globalScopeCache.get(e,()=>new lp(this.indexManager.allElements(e)))}}function lE(e){return"object"==typeof e&&!!e&&("$ref"in e||"$error"in e)}class lR{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){let r=null==t?void 0:t.replacer,n=(e,r)=>this.replacer(e,r,t),i=r?(e,t)=>r(e,t,n):n;try{return this.currentDocument=ev(e),JSON.stringify(e,i,null==t?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){let r=JSON.parse(e);return this.linkNode(r,r,t),r}replacer(e,t,{refText:r,sourceText:a,textRegions:s,comments:o,uriConverter:l}){var u,c,d,h;if(!this.ignoreProperties.has(e)){if(i(t)){let e=t.ref,n=r?t.$refText:void 0;if(!e)return{$error:null!==(c=null===(u=t.error)||void 0===u?void 0:u.message)&&void 0!==c?c:"Could not resolve reference",$refText:n};{let r=ev(e),i="";this.currentDocument&&this.currentDocument!==r&&(i=l?l(r.uri,t):r.uri.toString());let a=this.astNodeLocator.getAstNodePath(e);return{$ref:`${i}#${a}`,$refText:n}}}if(!n(t))return t;else{let r;if(s&&(r=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),(!e||t.$document)&&(null==r?void 0:r.$textRegion)&&(r.$textRegion.documentURI=null===(d=this.currentDocument)||void 0===d?void 0:d.uri.toString())),a&&!e&&(null!=r||(r=Object.assign({},t)),r.$sourceText=null===(h=t.$cstNode)||void 0===h?void 0:h.text),o){null!=r||(r=Object.assign({},t));let e=this.commentProvider.getComment(t);e&&(r.$comment=e.replace(/\r/g,""))}return null!=r?r:t}}}addAstNodeRegionWithAssignmentsTo(e){let t=e=>({offset:e.offset,end:e.end,length:e.length,range:e.range});if(e.$cstNode){let r=(e.$textRegion=t(e.$cstNode)).assignments={};return Object.keys(e).filter(e=>!e.startsWith("$")).forEach(n=>{var i,a;let s=(i=e.$cstNode,a=n,i&&a?eW(i,a,i.astNode,!0):[]).map(t);0!==s.length&&(r[n]=s)}),e}}linkNode(e,t,r,i,a,s){for(let[i,a]of Object.entries(e))if(Array.isArray(a))for(let s=0;s{try{await e.call(t,r,n,i)}catch(t){if(t===o7)throw t;console.error("An error occurred during validation:",t);let e=t instanceof Error?t.message:String(t);t instanceof Error&&t.stack&&console.error(t.stack),n("error","An error occurred during validation: "+e,{node:r})}}}addEntry(e,t){if("AstNode"===e){this.entries.add("AstNode",t);return}for(let r of this.reflection.getAllSubTypes(e))this.entries.add(r,t)}getChecks(e,t){let r=p(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(r=r.filter(e=>t.includes(e.category))),r.map(e=>e.check)}}class lx{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},r=o2.CancellationToken.None){let n=e.parseResult,i=[];if(await o5(r),!t.categories||t.categories.includes("built-in")){if(this.processLexingErrors(n,i,t),t.stopAfterLexingErrors&&i.some(e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===nI.LexingError}))return i;if(this.processParsingErrors(n,i,t),t.stopAfterParsingErrors&&i.some(e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===nI.ParsingError}))return i;if(this.processLinkingErrors(e,i,t),t.stopAfterLinkingErrors&&i.some(e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===nI.LinkingError}))return i}try{i.push(...await this.validateAst(n.value,t,r))}catch(e){if(e===o7)throw e;console.error("An error occurred during validation:",e)}return await o5(r),i}processLexingErrors(e,t,r){for(let r of e.lexerErrors){let e={severity:lS("error"),range:{start:{line:r.line-1,character:r.column-1},end:{line:r.line-1,character:r.column+r.length-1}},message:r.message,data:{code:nI.LexingError},source:this.getSource()};t.push(e)}}processParsingErrors(e,t,r){for(let r of e.parserErrors){let e;if(isNaN(r.token.startOffset)){if("previousToken"in r){let t=r.previousToken;if(isNaN(t.startOffset)){let t={line:0,character:0};e={start:t,end:t}}else{let r={line:t.endLine-1,character:t.endColumn};e={start:r,end:r}}}}else e=y(r.token);if(e){let n={severity:lS("error"),range:e,message:r.message,data:{code:nI.ParsingError},source:this.getSource()};t.push(n)}}}processLinkingErrors(e,t,r){for(let r of e.references){let e=r.error;if(e){let r={node:e.container,property:e.property,index:e.index,data:{code:nI.LinkingError,containerType:e.container.$type,property:e.property,refText:e.reference.$refText}};t.push(this.toDiagnostic("error",e.message,r))}}}async validateAst(e,t,r=o2.CancellationToken.None){let n=[],i=(e,t,r)=>{n.push(this.toDiagnostic(e,t,r))};return await Promise.all(eA(e).map(async e=>{for(let n of(await o5(r),this.validationRegistry.getChecks(e.$type,t.categories)))await n(e,i,r)})),n}toDiagnostic(e,t,r){return{message:t,range:function(e){let t;return e.range?e.range:("string"==typeof e.property?t=eV(e.node.$cstNode,e.property,e.index):"string"==typeof e.keyword&&(t=function(e,t,r){if(!e)return;let n=function(e,t,r){let n;if(e.astNode!==r)return[];if(en(e.grammarSource)&&e.grammarSource.value===t)return[e];let i=g(e).iterator(),a=[];do if(!(n=i.next()).done){let e=n.value;e.astNode===r?en(e.grammarSource)&&e.grammarSource.value===t&&a.push(e):i.prune()}while(!n.done);return a}(e,t,null==e?void 0:e.astNode);if(0!==n.length)return r=void 0!==r?Math.max(0,Math.min(r,n.length-1)):0,n[r]}(e.node.$cstNode,e.keyword,e.index)),null!=t||(t=e.node.$cstNode),t)?t.range:{start:{line:0,character:0},end:{line:0,character:0}}}(r),severity:lS(e),code:r.code,codeDescription:r.codeDescription,tags:r.tags,relatedInformation:r.relatedInformation,data:r.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function lS(e){switch(e){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw Error("Invalid diagnostic severity: "+e)}}(t4=nI||(nI={})).LexingError="lexing-error",t4.ParsingError="parsing-error",t4.LinkingError="linking-error";class lN{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,r=ev(e)){let n;null!=t||(t=this.nameProvider.getName(e));let i=this.astNodeLocator.getAstNodePath(e);if(!t)throw Error(`Node at path ${i} has no name.`);let a=()=>{var t;return null!=n?n:n=T(null!==(t=this.nameProvider.getNameNode(e))&&void 0!==t?t:e.$cstNode)};return{node:e,name:t,get nameSegment(){return a()},selectionSegment:T(e.$cstNode),type:e.$type,documentUri:r.uri,path:i}}}class lC{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=o2.CancellationToken.None){let r=[];for(let n of eA(e.parseResult.value))await o5(t),eI(n).filter(e=>!a(e)).forEach(e=>{let t=this.createDescription(e);t&&r.push(t)});return r}createDescription(e){let t=e.reference.$nodeDescription,r=e.reference.$refNode;if(!t||!r)return;let n=ev(e.container).uri;return{sourceUri:n,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:T(r),local:nR.equals(t.documentUri,n)}}}class l${constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){let t=this.getAstNodePath(e.$container),r=this.getPathSegment(e);return t+this.segmentSeparator+r}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw Error("Missing '$containerProperty' in AST node.");return void 0!==t?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce((e,t)=>{if(!e||0===t.length)return e;let r=t.indexOf(this.indexSeparator);if(r>0){let n=t.substring(0,r),i=parseInt(t.substring(r+1)),a=e[n];return null==a?void 0:a[i]}return e[t]},e)}}class lL{constructor(e){this._ready=new o9,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,r;this.workspaceConfig=null!==(r=null===(t=e.capabilities.workspace)||void 0===t?void 0:t.configuration)&&void 0!==r&&r}async initialized(e){if(this.workspaceConfig){if(e.register){let t=this.serviceRegistry.all;e.register({section:t.map(e=>this.toSectionName(e.LanguageMetaData.languageId))})}if(e.fetchConfiguration){let t=this.serviceRegistry.all.map(e=>({section:this.toSectionName(e.LanguageMetaData.languageId)})),r=await e.fetchConfiguration(t);t.forEach((e,t)=>{this.updateSectionConfiguration(e.section,r[t])})}}this._ready.resolve()}updateConfiguration(e){if(!!e.settings)Object.keys(e.settings).forEach(t=>{this.updateSectionConfiguration(t,e.settings[t])})}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;let r=this.toSectionName(e);if(this.settings[r])return this.settings[r][t]}toSectionName(e){return`${e}`}}(nx||(nx={})).create=function(e){return{dispose:async()=>await e()}};class lw{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new lc,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=nA.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},r=o2.CancellationToken.None){var n,i;for(let r of e){let e=r.uri.toString();if(r.state===nA.Validated){if("boolean"==typeof t.validation&&t.validation)r.state=nA.IndexedReferences,r.diagnostics=void 0,this.buildState.delete(e);else if("object"==typeof t.validation){let a=this.buildState.get(e),s=null===(n=null==a?void 0:a.result)||void 0===n?void 0:n.validationChecks;if(s){let n=(null!==(i=t.validation.categories)&&void 0!==i?i:nk.all).filter(e=>!s.includes(e));n.length>0&&(this.buildState.set(e,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:n})},result:a.result}),r.state=nA.IndexedReferences)}}}else this.buildState.delete(e)}this.currentState=nA.Changed,await this.emitUpdate(e.map(e=>e.uri),[]),await this.buildDocuments(e,t,r)}async update(e,t,r=o2.CancellationToken.None){for(let e of(this.currentState=nA.Changed,t))this.langiumDocuments.deleteDocument(e),this.buildState.delete(e.toString()),this.indexManager.remove(e);for(let t of e){if(!this.langiumDocuments.invalidateDocument(t)){let e=this.langiumDocumentFactory.fromModel({$type:"INVALID"},t);e.state=nA.Changed,this.langiumDocuments.addDocument(e)}this.buildState.delete(t.toString())}let n=p(e).concat(t).map(e=>e.toString()).toSet();this.langiumDocuments.all.filter(e=>!n.has(e.uri.toString())&&this.shouldRelink(e,n)).forEach(e=>{this.serviceRegistry.getServices(e.uri).references.Linker.unlink(e),e.state=Math.min(e.state,nA.ComputedScopes),e.diagnostics=void 0}),await this.emitUpdate(e,t),await o5(r);let i=this.langiumDocuments.all.filter(e=>{var t;return e.stater(e,t)))}shouldRelink(e,t){return!!e.references.some(e=>void 0!==e.error)||this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),nx.create(()=>{let t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)})}async buildDocuments(e,t,r){this.prepareBuild(e,t),await this.runCancelable(e,nA.Parsed,r,e=>this.langiumDocumentFactory.update(e,r)),await this.runCancelable(e,nA.IndexedContent,r,e=>this.indexManager.updateContent(e,r)),await this.runCancelable(e,nA.ComputedScopes,r,async e=>{let t=this.serviceRegistry.getServices(e.uri).references.ScopeComputation;e.precomputedScopes=await t.computeLocalScopes(e,r)}),await this.runCancelable(e,nA.Linked,r,e=>this.serviceRegistry.getServices(e.uri).references.Linker.link(e,r)),await this.runCancelable(e,nA.IndexedReferences,r,e=>this.indexManager.updateReferences(e,r));let n=e.filter(e=>this.shouldValidate(e));for(let t of(await this.runCancelable(n,nA.Validated,r,e=>this.validate(e,r)),e)){let e=this.buildState.get(t.uri.toString());e&&(e.completed=!0)}}prepareBuild(e,t){for(let r of e){let e=r.uri.toString(),n=this.buildState.get(e);(!n||n.completed)&&this.buildState.set(e,{completed:!1,options:t,result:null==n?void 0:n.result})}}async runCancelable(e,t,r,n){let i=e.filter(e=>e.state{this.buildPhaseListeners.delete(e,t)})}waitUntil(e,t,r){let n;if(t&&"path"in t?n=t:r=t,null!=r||(r=o2.CancellationToken.None),n){let t=this.langiumDocuments.getDocument(n);if(t&&t.state>e)return Promise.resolve(n)}return this.currentState>=e?Promise.resolve(void 0):r.isCancellationRequested?Promise.reject(o7):new Promise((t,i)=>{let a=this.onBuildPhase(e,()=>{if(a.dispose(),s.dispose(),n){let e=this.langiumDocuments.getDocument(n);t(null==e?void 0:e.uri)}else t(void 0)}),s=r.onCancellationRequested(()=>{a.dispose(),s.dispose(),i(o7)})})}async notifyBuildPhase(e,t,r){if(0!==e.length)for(let n of this.buildPhaseListeners.get(t))await o5(r),await n(e,r)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,t){var r,n;let i=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,a=this.getBuildOptions(e).validation,s="object"==typeof a?a:void 0,o=await i.validateDocument(e,s,t);e.diagnostics?e.diagnostics.push(...o):e.diagnostics=o;let l=this.buildState.get(e.uri.toString());if(l){null!==(r=l.result)&&void 0!==r||(l.result={});let e=null!==(n=null==s?void 0:s.categories)&&void 0!==n?n:nk.all;l.result.validationChecks?l.result.validationChecks.push(...e):l.result.validationChecks=[...e]}}getBuildOptions(e){var t,r;return null!==(r=null===(t=this.buildState.get(e.uri.toString()))||void 0===t?void 0:t.options)&&void 0!==r?r:{}}}class lb{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new ly,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){let r=ev(e).uri,n=[];return this.referenceIndex.forEach(e=>{e.forEach(e=>{nR.equals(e.targetUri,r)&&e.targetPath===t&&n.push(e)})}),p(n)}allElements(e,t){let r=p(this.symbolIndex.keys());return t&&(r=r.filter(e=>!t||t.has(e))),r.map(t=>this.getFileDescriptions(t,e)).flat()}getFileDescriptions(e,t){var r;return t?this.symbolByTypeIndex.get(e,t,()=>{var r;return(null!==(r=this.symbolIndex.get(e))&&void 0!==r?r:[]).filter(e=>this.astReflection.isSubtype(e.type,t))}):null!==(r=this.symbolIndex.get(e))&&void 0!==r?r:[]}remove(e){let t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=o2.CancellationToken.None){let r=this.serviceRegistry.getServices(e.uri),n=await r.references.ScopeComputation.computeExports(e,t),i=e.uri.toString();this.symbolIndex.set(i,n),this.symbolByTypeIndex.clear(i)}async updateReferences(e,t=o2.CancellationToken.None){let r=this.serviceRegistry.getServices(e.uri),n=await r.workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),n)}isAffected(e,t){let r=this.referenceIndex.get(e.uri.toString());return!!r&&r.some(e=>!e.local&&t.has(e.targetUri.toString()))}}class lO{constructor(e){this.initialBuildOptions={},this._ready=new o9,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=null!==(t=e.workspaceFolders)&&void 0!==t?t:void 0}initialized(e){return this.mutex.write(e=>{var t;return this.initializeWorkspace(null!==(t=this.folders)&&void 0!==t?t:[],e)})}async initializeWorkspace(e,t=o2.CancellationToken.None){let r=await this.performStartup(e);await o5(t),await this.documentBuilder.build(r,this.initialBuildOptions,t)}async performStartup(e){let t=this.serviceRegistry.all.flatMap(e=>e.LanguageMetaData.fileExtensions),r=[],n=e=>{r.push(e),!this.langiumDocuments.hasDocument(e.uri)&&this.langiumDocuments.addDocument(e)};return await this.loadAdditionalDocuments(e,n),await Promise.all(e.map(e=>[e,this.getRootFolder(e)]).map(async e=>this.traverseFolder(...e,t,n))),this._ready.resolve(),r}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return ln.parse(e.uri)}async traverseFolder(e,t,r,n){let i=await this.fileSystemProvider.readDirectory(t);await Promise.all(i.map(async t=>{this.includeEntry(e,t,r)&&(t.isDirectory?await this.traverseFolder(e,t.uri,r,n):t.isFile&&n(await this.langiumDocuments.getOrCreateDocument(t.uri)))}))}includeEntry(e,t,r){let n=nR.basename(t.uri);if(n.startsWith("."))return!1;if(t.isDirectory)return"node_modules"!==n&&"out"!==n;if(t.isFile){let e=nR.extname(t.uri);return r.includes(e)}return!1}}class l_{constructor(e){let t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);let r=lM(t)?Object.values(t):t;this.chevrotainLexer=new a$(r,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;let r=this.chevrotainLexer.tokenize(e);return{tokens:r.tokens,errors:r.errors,hidden:null!==(t=r.groups.hidden)&&void 0!==t?t:[]}}toTokenTypeDictionary(e){if(lM(e))return e;let t=lP(e)?Object.values(e.modes).flat():e,r={};return t.forEach(e=>r[e.name]=e),r}}function lP(e){return e&&"modes"in e&&"defaultMode"in e}function lM(e){var t;return!(Array.isArray(t=e)&&(0===t.length||"name"in t[0]))&&!lP(e)}function lD(e){let t="";return(t="string"==typeof e?e:e.text).split(eU)}let lZ=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,lU=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu,lF=/\S/,lG=/\s*$/;function lB(e,t){let r=e.substring(t).match(lF);return r?t+r.index:e.length}function lK(e){let t=e.tokens[e.index],r=t,n=t,i=[];for(;t&&"break"!==t.type&&"tag"!==t.type;)i.push(function(e){return"inline-tag"===e.tokens[e.index].type?lj(e,!0):lV(e)}(e)),n=t,t=e.tokens[e.index];return new lq(i,ro.create(r.range.start,n.range.end))}function lj(e,t){let r=e.tokens[e.index++],n=r.content.substring(1),i=e.tokens[e.index];if((null==i?void 0:i.type)==="text"){if(t){let i=lV(e);return new lY(n,new lq([i],i.range),t,ro.create(r.range.start,i.range.end))}{let i=lK(e);return new lY(n,i,t,ro.create(r.range.start,i.range.end))}}{let e=r.range;return new lY(n,new lq([],e),t,e)}}function lV(e){let t=e.tokens[e.index++];return new lX(t.content,t.range)}function lW(e){if(!e)return lW({start:"/**",end:"*/",line:"*"});let{start:t,end:r,line:n}=e;return{start:lH(t,!0),end:lH(r,!1),line:lH(n,!0)}}function lH(e,t){if("string"!=typeof e&&"object"!=typeof e)return e;{let r="string"==typeof e?eK(e):e.source;return t?RegExp(`^\\s*${r}`):RegExp(`\\s*${r}\\s*$`)}}class lz{constructor(e,t){this.elements=e,this.range=t}getTag(e){return this.getAllTags().find(t=>t.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(let t of this.elements)if(0===e.length)e=t.toString();else{let r=t.toString();e+=lQ(e)+r}return e.trim()}toMarkdown(e){let t="";for(let r of this.elements)if(0===t.length)t=r.toMarkdown(e);else{let n=r.toMarkdown(e);t+=lQ(t)+n}return t.trim()}}class lY{constructor(e,t,r,n){this.name=e,this.content=t,this.inline=r,this.range=n}toString(){let e=`@${this.name}`,t=this.content.toString();return(1===this.content.inlines.length?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e} +${t}`),this.inline)?`{${e}}`:e}toMarkdown(e){var t,r;return null!==(r=null===(t=null==e?void 0:e.renderTag)||void 0===t?void 0:t.call(e,this))&&void 0!==r?r:this.toMarkdownDefault(e)}toMarkdownDefault(e){let t=this.content.toMarkdown(e);if(this.inline){let r=function(e,t,r){var n,i;if("linkplain"===e||"linkcode"===e||"link"===e){let a=t.indexOf(" "),s=t;if(a>0){let e=lB(t,a);s=t.substring(e),t=t.substring(0,a)}return("linkcode"===e||"link"===e&&"code"===r.link)&&(s=`\`${s}\``),null!==(i=null===(n=r.renderLink)||void 0===n?void 0:n.call(r,t,s))&&void 0!==i?i:function(e,t){try{return ln.parse(e,!0),`[${t}](${e})`}catch(t){return e}}(t,s)}}(this.name,t,null!=e?e:{});if("string"==typeof r)return r}let r="";(null==e?void 0:e.tag)==="italic"||(null==e?void 0:e.tag)===void 0?r="*":(null==e?void 0:e.tag)==="bold"?r="**":(null==e?void 0:e.tag)==="bold-italic"&&(r="***");let n=`${r}@${this.name}${r}`;return(1===this.content.inlines.length?n=`${n} \u{2014} ${t}`:this.content.inlines.length>1&&(n=`${n} +${t}`),this.inline)?`{${n}}`:n}}class lq{constructor(e,t){this.inlines=e,this.range=t}toString(){let e="";for(let t=0;tr.range.start.line&&(e+="\n")}return e}toMarkdown(e){let t="";for(let r=0;rn.range.start.line&&(t+="\n")}return t}}class lX{constructor(e,t){this.text=e,this.range=t}toString(){return this.text}toMarkdown(){return this.text}}function lQ(e){return e.endsWith("\n")?"\n":"\n\n"}class lJ{constructor(e){this.indexManager=e.shared.workspace.IndexManager,this.commentProvider=e.documentation.CommentProvider}getDocumentation(e){let t=this.commentProvider.getComment(e);if(t&&function(e,t){let r=lW(void 0),n=lD(e);if(0===n.length)return!1;let i=n[0],a=n[n.length-1],s=r.start,o=r.end;return!!(null==s?void 0:s.exec(i))&&!!(null==o?void 0:o.exec(a))}(t))return(function(e,t,r){let n,i;"string"==typeof e?(i=void 0,n=void 0):(i=e.range.start,n=t),!i&&(i=rs.create(0,0));let a=lD(e);return function(e){var t,r,n,i;let a=rs.create(e.position.line,e.position.character);if(0===e.tokens.length)return new lz([],ro.create(a,a));let s=[];for(;e.index=c.length){if(i.length>0){let e=rs.create(a,s);i.push({type:"break",content:"",range:ro.create(e,e)})}}else{lZ.lastIndex=d;let e=lZ.exec(c);if(e){let t=e[0],r=e[1],n=rs.create(a,s+d),o=rs.create(a,s+d+t.length);i.push({type:"tag",content:r,range:ro.create(n,o)}),d+=t.length,d=lB(c,d)}if(d0&&i.push({type:"text",content:t.substring(a,e),range:ro.create(rs.create(r,a+n),rs.create(r,e+n))});let l=o.length+1,u=s[1];if(i.push({type:"inline-tag",content:u,range:ro.create(rs.create(r,a+l+n),rs.create(r,a+l+u.length+n))}),l+=u.length,4===s.length){l+=s[2].length;let e=s[3];i.push({type:"text",content:e,range:ro.create(rs.create(r,a+l+n),rs.create(r,a+l+e.length+n))})}else i.push({type:"text",content:"",range:ro.create(rs.create(r,a+l+n),rs.create(r,a+l+n))});a=e+s[0].length}let s=t.substring(a);s.length>0&&i.push({type:"text",content:s,range:ro.create(rs.create(r,a+n),rs.create(r,a+n+s.length))})}return i}(t,e,a,s+d))}}a++,s=0}return i.length>0&&"break"===i[i.length-1].type?i.slice(0,-1):i}({lines:a,position:i,options:lW(n)}),position:i})})(t).toMarkdown({renderLink:(t,r)=>this.documentationLinkRenderer(e,t,r),renderTag:t=>this.documentationTagRenderer(e,t)})}documentationLinkRenderer(e,t,r){var n;let i=null!==(n=this.findNameInPrecomputedScopes(e,t))&&void 0!==n?n:this.findNameInGlobalScope(e,t);if(!!i&&!!i.nameSegment){let e=i.nameSegment.range.start.line+1,t=i.nameSegment.range.start.character+1,n=i.documentUri.with({fragment:`L${e},${t}`});return`[${r}](${n.toString()})`}}documentationTagRenderer(e,t){}findNameInPrecomputedScopes(e,t){let r=ev(e).precomputedScopes;if(!r)return;let n=e;do{let e=r.get(n).find(e=>e.name===t);if(e)return e;n=n.$container}while(n)}findNameInGlobalScope(e,t){return this.indexManager.allElements().find(e=>e.name===t)}}class l0{constructor(e){this.grammarConfig=()=>e.parser.GrammarConfig}getComment(e){var t;return"string"==typeof e.$comment?e.$comment:null===(t=function(e,t){if(e){let r=function(e,t=!0){for(;e.container;){let r=e.container,n=r.content.indexOf(e);for(;n>0;){n--;let e=r.content[n];if(t||!e.hidden)return e}e=r}}(e,!0);if(r&&E(r,t))return r;if(u(e)){let r=e.content.findIndex(e=>!e.hidden);for(let n=r-1;n>=0;n--){let r=e.content[n];if(E(r,t))return r}}}}(e.$cstNode,this.grammarConfig().multilineCommentRules))||void 0===t?void 0:t.text}}r("27135");class l1{constructor(e){this.syncParser=e.parser.LangiumParser}parse(e){return Promise.resolve(this.syncParser.parse(e))}}class l2{constructor(){this.previousTokenSource=new o2.CancellationTokenSource,this.writeQueue=[],this.readQueue=[],this.done=!0}write(e){this.cancelWrite();let t=new o2.CancellationTokenSource;return this.previousTokenSource=t,this.enqueue(this.writeQueue,e,t.token)}read(e){return this.enqueue(this.readQueue,e)}enqueue(e,t,r){let n=new o9,i={action:t,deferred:n,cancellationToken:null!=r?r:o2.CancellationToken.None};return e.push(i),this.performNextOperation(),n.promise}async performNextOperation(){if(!this.done)return;let e=[];if(this.writeQueue.length>0)e.push(this.writeQueue.shift());else{if(!(this.readQueue.length>0))return;e.push(...this.readQueue.splice(0,this.readQueue.length))}this.done=!1,await Promise.all(e.map(async({action:e,deferred:t,cancellationToken:r})=>{try{let n=await Promise.resolve().then(()=>e(r));t.resolve(n)}catch(e){if(e===o7)t.resolve(void 0);else t.reject(e)}})),this.done=!0,this.performNextOperation()}cancelWrite(){this.previousTokenSource.cancel()}}class l4{constructor(e){this.grammarElementIdMap=new ld,this.tokenTypeIdMap=new ld,this.grammar=e.Grammar,this.lexer=e.parser.Lexer,this.linker=e.references.Linker}dehydrate(e){return{lexerErrors:e.lexerErrors.map(e=>Object.assign({},e)),parserErrors:e.parserErrors.map(e=>Object.assign({},e)),value:this.dehydrateAstNode(e.value,this.createDehyrationContext(e.value))}}createDehyrationContext(e){let t=new Map,r=new Map;for(let r of eA(e))t.set(r,{});if(e.$cstNode)for(let t of g(e.$cstNode))r.set(t,{});return{astNodes:t,cstNodes:r}}dehydrateAstNode(e,t){let r=t.astNodes.get(e);for(let[a,s]of(r.$type=e.$type,r.$containerIndex=e.$containerIndex,r.$containerProperty=e.$containerProperty,void 0!==e.$cstNode&&(r.$cstNode=this.dehydrateCstNode(e.$cstNode,t)),Object.entries(e))){if(!a.startsWith("$"))if(Array.isArray(s)){let e=[];for(let o of(r[a]=e,s))n(o)?e.push(this.dehydrateAstNode(o,t)):i(o)?e.push(this.dehydrateReference(o,t)):e.push(o)}else n(s)?r[a]=this.dehydrateAstNode(s,t):i(s)?r[a]=this.dehydrateReference(s,t):void 0!==s&&(r[a]=s)}return r}dehydrateReference(e,t){let r={};return r.$refText=e.$refText,e.$refNode&&(r.$refNode=t.cstNodes.get(e.$refNode)),r}dehydrateCstNode(e,t){let r=t.cstNodes.get(e);return u(e)?r.fullText=e.fullText:r.grammarSource=this.getGrammarElementId(e.grammarSource),r.hidden=e.hidden,r.astNode=t.astNodes.get(e.astNode),o(e)?r.content=e.content.map(e=>this.dehydrateCstNode(e,t)):l(e)&&(r.tokenType=e.tokenType.name,r.offset=e.offset,r.length=e.length,r.startLine=e.range.start.line,r.startColumn=e.range.start.character,r.endLine=e.range.end.line,r.endColumn=e.range.end.character),r}hydrate(e){let t=e.value,r=this.createHydrationContext(t);return"$cstNode"in t&&this.hydrateCstNode(t.$cstNode,r),{lexerErrors:e.lexerErrors,parserErrors:e.parserErrors,value:this.hydrateAstNode(t,r)}}createHydrationContext(e){let t;let r=new Map,n=new Map;for(let t of eA(e))r.set(t,{});if(e.$cstNode)for(let r of g(e.$cstNode)){let e;"fullText"in r?t=e=new oM(r.fullText):"content"in r?e=new o_:"tokenType"in r&&(e=this.hydrateCstLeafNode(r)),e&&(n.set(r,e),e.root=t)}return{astNodes:r,cstNodes:n}}hydrateAstNode(e,t){let r=t.astNodes.get(e);for(let[a,s]of(r.$type=e.$type,r.$containerIndex=e.$containerIndex,r.$containerProperty=e.$containerProperty,e.$cstNode&&(r.$cstNode=t.cstNodes.get(e.$cstNode)),Object.entries(e))){if(!a.startsWith("$"))if(Array.isArray(s)){let e=[];for(let o of(r[a]=e,s))n(o)?e.push(this.setParent(this.hydrateAstNode(o,t),r)):i(o)?e.push(this.hydrateReference(o,r,a,t)):e.push(o)}else n(s)?r[a]=this.setParent(this.hydrateAstNode(s,t),r):i(s)?r[a]=this.hydrateReference(s,r,a,t):void 0!==s&&(r[a]=s)}return r}setParent(e,t){return e.$container=t,e}hydrateReference(e,t,r,n){return this.linker.buildReference(t,r,n.cstNodes.get(e.$refNode),e.$refText)}hydrateCstNode(e,t,r=0){let n=t.cstNodes.get(e);if("number"==typeof e.grammarSource&&(n.grammarSource=this.getGrammarElement(e.grammarSource)),n.astNode=t.astNodes.get(e.astNode),o(n))for(let i of e.content){let e=this.hydrateCstNode(i,t,r++);n.content.push(e)}return n}hydrateCstLeafNode(e){let t=this.getTokenType(e.tokenType),r=e.offset,n=e.length,i=e.startLine,a=e.startColumn,s=e.endLine,o=e.endColumn;return new oO(r,n,{start:{line:i,character:a},end:{line:s,character:o}},t,e.hidden)}getTokenType(e){return this.lexer.definition[e]}getGrammarElementId(e){return 0===this.grammarElementIdMap.size&&this.createGrammarElementIdMap(),this.grammarElementIdMap.get(e)}getGrammarElement(e){0===this.grammarElementIdMap.size&&this.createGrammarElementIdMap();let t=this.grammarElementIdMap.getKey(e);if(t)return t;throw Error("Invalid grammar element id: "+e)}createGrammarElementIdMap(){let e=0;for(let r of eA(this.grammar)){var t;if(t=r,ey.isInstance(t,N))this.grammarElementIdMap.set(r,e++)}}}function l7(e){return{documentation:{CommentProvider:e=>new l0(e),DocumentationProvider:e=>new lJ(e)},parser:{AsyncParser:e=>new l1(e),GrammarConfig:e=>(function(e){let t=[];for(let n of e.Grammar.rules){var r;if(G(n)&&(r=n).hidden&&!eX(r).test(" ")&&function(e){try{return"string"==typeof e&&(e=new RegExp(e)),e=e.toString(),eG.reset(e),eG.visit(eF.pattern(e)),eG.multiline}catch(e){return!1}}(eX(n)))t.push(n.name)}return{multilineCommentRules:t,nameRegexp:v}})(e),LangiumParser:e=>(function(e){let t=function(e){let t=e.Grammar,r=e.parser.Lexer;return oH(t,new oG(e),r.definition)}(e);return t.finalize(),t})(e),CompletionParser:e=>(function(e){let t=e.Grammar,r=e.parser.Lexer,n=new oj(e);return oH(t,n,r.definition),n.finalize(),n})(e),ValueConverter:()=>new o1,TokenBuilder:()=>new o0,Lexer:e=>new l_(e),ParserErrorMessageProvider:()=>new oK},workspace:{AstNodeLocator:()=>new l$,AstNodeDescriptionProvider:e=>new lN(e),ReferenceDescriptionProvider:e=>new lC(e)},references:{Linker:e=>new lo(e),NameProvider:()=>new ll,ScopeProvider:e=>new lv(e),ScopeComputation:e=>new lh(e),References:e=>new lu(e)},serializer:{Hydrator:e=>new l4(e),JsonSerializer:e=>new lR(e)},validation:{DocumentValidator:e=>new lx(e),ValidationRegistry:e=>new lI(e)},shared:()=>e.shared}}function l3(e){return{ServiceRegistry:()=>new lA,workspace:{LangiumDocuments:e=>new ls(e),LangiumDocumentFactory:e=>new la(e),DocumentBuilder:e=>new lw(e),IndexManager:e=>new lb(e),WorkspaceManager:e=>new lO(e),FileSystemProvider:t=>e.fileSystemProvider(t),WorkspaceLock:()=>new l2,ConfigurationProvider:e=>new lL(e)}}}function l5(e,t,r,n,i,a,s,o,l){return l6([e,t,r,n,i,a,s,o,l].reduce(ut,{}))}(nS||(nS={})).merge=(e,t)=>ut(ut({},e),t);let l9=Symbol("isProxy");function l6(e,t){let r=new Proxy({},{deleteProperty:()=>!1,get:(n,i)=>ue(n,i,e,t||r),getOwnPropertyDescriptor:(n,i)=>(ue(n,i,e,t||r),Object.getOwnPropertyDescriptor(n,i)),has:(t,r)=>r in e,ownKeys:()=>[...Reflect.ownKeys(e),l9]});return r[l9]=!0,r}let l8=Symbol();function ue(e,t,r,n){if(t in e){if(e[t]instanceof Error)throw Error("Construction failure. Please make sure that your dependencies are constructable.",{cause:e[t]});if(e[t]===l8)throw Error('Cycle detected. Please make "'+String(t)+'" lazy. See https://langium.org/docs/configuration-services/#resolving-cyclic-dependencies');return e[t]}if(t in r){let i=r[t];e[t]=l8;try{e[t]="function"==typeof i?i(n):l6(i,n)}catch(r){throw e[t]=r instanceof Error?r:void 0,r}return e[t]}}function ut(e,t){if(t){for(let[r,n]of Object.entries(t))if(void 0!==n){let t=e[r];null!==t&&null!==n&&"object"==typeof t&&"object"==typeof n?e[r]=ut(t,n):e[r]=n}}return e}class ur{readFile(){throw Error("No file system is available.")}async readDirectory(){return[]}}let un={fileSystemProvider:()=>new ur},ui={Grammar:()=>void 0,LanguageMetaData:()=>({caseInsensitive:!1,fileExtensions:[".langium"],languageId:"langium"})},ua={AstReflection:()=>new eg};function us(e){var t;let r=function(){let e=l5(l3(un),ua),t=l5(l7({shared:e}),ui);return e.ServiceRegistry.register(t),t}(),n=r.serializer.JsonSerializer.deserialize(e);return r.shared.workspace.LangiumDocumentFactory.fromModel(n,ln.parse(`memory://${null!==(t=n.name)&&void 0!==t?t:"grammar"}.langium`)),n}},91201:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(2147);let i=function(e,t,r){for(var i=-1,a=e.length;++ic});var n=r("73722"),i=r("89774"),a=r("50949"),s=r("92383"),o=r("58641"),l=r("37706");let u=function(e,t,r,n){if(!(0,o.Z)(e))return e;t=(0,a.Z)(t,e);for(var u=-1,c=t.length,d=c-1,h=e;null!=h&&++u2?t[2]:void 0;for(u&&(0,a.Z)(t[0],t[1],u)&&(n=1);++rc});var n,i=r("69547"),a=r("71581"),s=r("87074"),o=r("81208"),l=r("59578"),u=Math.max;let c=(n=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var a=null==r?0:(0,l.Z)(r);return a<0&&(a=u(n+a,0)),(0,o.Z)(e,(0,i.Z)(t,3),a)},function(e,t,r){var o=Object(e);if(!(0,a.Z)(e)){var l=(0,i.Z)(t,3);e=(0,s.Z)(e),t=function(e){return l(o[e],e,o)}}var u=n(e,t,r);return u>-1?o[l?e[u]:u]:void 0})},71134:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(39446);let i=function(e){return(null==e?0:e.length)?(0,n.Z)(e,1):[]}},29072:function(e,t,r){r.d(t,{Z:()=>s});var n=Object.prototype.hasOwnProperty;let i=function(e,t){return null!=e&&n.call(e,t)};var a=r("87825");let s=function(e,t){return null!=e&&(0,a.Z)(e,t,i)}},27884:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(65182),i=r(31739),a=r(75887);let s=function(e){return"string"==typeof e||!(0,i.Z)(e)&&(0,a.Z)(e)&&"[object String]"==(0,n.Z)(e)}},59685:function(e,t,r){r.d(t,{Z:function(){return n}});let n=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},97345:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(96248),i=r(69547),a=r(10301),s=r(31739);let o=function(e,t){return((0,s.Z)(e)?n.Z:a.Z)(e,(0,i.Z)(t,3))}},50540:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(91201),i=r(23278),a=r(94675);let s=function(e){return e&&e.length?(0,n.Z)(e,a.Z,i.Z):void 0}},29116:function(e,t,r){r.d(t,{Z:()=>m});var n=/\s/;let i=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t};var a=/^\s+/,s=r("58641"),o=r("2147"),l=0/0,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt;let f=function(e){if("number"==typeof e)return e;if((0,o.Z)(e))return l;if((0,s.Z)(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=(0,s.Z)(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,i(t)+1).replace(a,""):t;var n=c.test(e);return n||d.test(e)?h(e.slice(2),n?2:8):u.test(e)?l:+e};var p=1/0;let m=function(e){return e?(e=f(e))===p||e===-p?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},59578:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(29116);let i=function(e){var t=(0,n.Z)(e),r=t%1;return t==t?r?t-r:t:0}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/3935e01c.8c961f36.js b/pr-preview/pr-3/assets/js/3935e01c.8c961f36.js new file mode 100644 index 0000000..47a8eed --- /dev/null +++ b/pr-preview/pr-3/assets/js/3935e01c.8c961f36.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["297"],{79837:function(e){e.exports=JSON.parse('{"tag":{"label":"Executive","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/executive","description":"Content related to policies and strategic alignment","allTagsPath":"/nr-pies/pr-preview/pr-3/docs/tags","count":1,"items":[{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","permalink":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/393be207.df396416.js b/pr-preview/pr-3/assets/js/393be207.df396416.js new file mode 100644 index 0000000..cc5ab66 --- /dev/null +++ b/pr-preview/pr-3/assets/js/393be207.df396416.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9969"],{89958:function(e,n,t){t.r(n),t.d(n,{metadata:()=>a,contentTitle:()=>i,default:()=>d,assets:()=>l,toc:()=>s,frontMatter:()=>p});var a=JSON.parse('{"type":"mdx","permalink":"/nr-pies/pr-preview/pr-3/markdown-page","source":"@site/src/pages/markdown-page.md","title":"Markdown page example","description":"Markdown page example","frontMatter":{"title":"Markdown page example"},"unlisted":false}'),r=t("85893"),o=t("50065");let p={title:"Markdown page example"},i=void 0,l={},s=[{value:"Markdown page example",id:"markdown-page-example",level:2}];function c(e){let n={h2:"h2",p:"p",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"markdown-page-example",children:"Markdown page example"}),"\n",(0,r.jsx)(n.p,{children:"You don't need React to write simple standalone pages."})]})}function d(e={}){let{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},50065:function(e,n,t){t.d(n,{Z:function(){return i},a:function(){return p}});var a=t(67294);let r={},o=a.createContext(r);function p(e){let n=a.useContext(o);return a.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:p(e.components),a.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/4013.8822434d.js b/pr-preview/pr-3/assets/js/4013.8822434d.js new file mode 100644 index 0000000..937b860 --- /dev/null +++ b/pr-preview/pr-3/assets/js/4013.8822434d.js @@ -0,0 +1,151 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4013"],{73265:function(e,t,s){s.d(t,{Z:function(){return u}});var r=s(53763),i=s(26652);let u=(e,t)=>r.Z.lang.round(i.Z.parse(e)[t])},10626:function(e,t,s){s.d(t,{j:function(){return n},q:function(){return u}});var r=s(5995),i=s(27818),u=(0,r.eW)((e,t)=>{let s;return"sandbox"===t&&(s=(0,i.Ys)("#i"+e)),("sandbox"===t?(0,i.Ys)(s.nodes()[0].contentDocument.body):(0,i.Ys)("body")).select(`[id="${e}"]`)},"getDiagramElement"),n=(0,r.eW)((e,t,s,i)=>{e.attr("class",s);let{width:u,height:n,x:l,y:c}=a(e,t);(0,r.v2)(e,n,u,i);let h=o(l,c,u,n,t);e.attr("viewBox",h),r.cM.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),a=(0,r.eW)((e,t)=>{let s=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*t,height:s.height+2*t,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),o=(0,r.eW)((e,t,s,r,i)=>`${e-i} ${t-i} ${s} ${r}`,"createViewBox")},4465:function(e,t,s){s.d(t,{diagram:function(){return eD}});var r,i,u=s(10626),n=s(16972),a=s(88984);s(33071);var o=s(28162);s(16302),s(80587),s(4511),s(92719);var l=s(7690),c=s(5995),h=s(27818),d=s(73265),p=s(13328),A=0,g=(0,c.nV)(),f=new Map,y=[],b=new Map,k=[],E=new Map,m=new Map,D=0,x=!0,C=[],T=(0,c.eW)(e=>c.SY.sanitizeText(e,g),"sanitizeText"),F=(0,c.eW)(function(e){for(let t of f.values())if(t.id===e)return t.domId;return e},"lookUpDomId"),S=(0,c.eW)(function(e,t,s,r,i,u,a={},l){let h;if(!e||0===e.trim().length)return;let d=f.get(e);if(void 0===d&&(d={id:e,labelType:"text",domId:"flowchart-"+e+"-"+A,styles:[],classes:[]},f.set(e,d)),A++,void 0!==t?(g=(0,c.nV)(),h=T(t.text.trim()),d.labelType=t.type,h.startsWith('"')&&h.endsWith('"')&&(h=h.substring(1,h.length-1)),d.text=h):void 0===d.text&&(d.text=e),void 0!==s&&(d.type=s),null!=r&&r.forEach(function(e){d.styles.push(e)}),null!=i&&i.forEach(function(e){d.classes.push(e)}),void 0!==u&&(d.dir=u),void 0===d.props?d.props=a:void 0!==a&&Object.assign(d.props,a),void 0!==l){let t;t=l.includes("\n")?l+"\n":"{\n"+l+"\n}";let s=(0,n.z)(t,{schema:n.A});if(s.shape){if(s.shape!==s.shape.toLowerCase()||s.shape.includes("_"))throw Error(`No such shape: ${s.shape}. Shape names should be lowercase.`);if(!(0,o.dW)(s.shape))throw Error(`No such shape: ${s.shape}.`);d.type=s?.shape}s?.label&&(d.text=s?.label),s?.icon&&(d.icon=s?.icon,!s.label?.trim()&&d.text===e&&(d.text="")),s?.form&&(d.form=s?.form),s?.pos&&(d.pos=s?.pos),s?.img&&(d.img=s?.img,!s.label?.trim()&&d.text===e&&(d.text="")),s?.constraint&&(d.constraint=s.constraint),s.w&&(d.assetWidth=Number(s.w)),s.h&&(d.assetHeight=Number(s.h))}},"addVertex"),_=(0,c.eW)(function(e,t,s){let r={start:e,end:t,type:void 0,text:"",labelType:"text"};c.cM.info("abc78 Got edge...",r);let i=s.text;if(void 0!==i&&(r.text=T(i.text.trim()),r.text.startsWith('"')&&r.text.endsWith('"')&&(r.text=r.text.substring(1,r.text.length-1)),r.labelType=i.type),void 0!==s&&(r.type=s.type,r.stroke=s.stroke,r.length=s.length>10?10:s.length),y.length<(g.maxEdges??500))c.cM.info("Pushing edge..."),y.push(r);else throw Error(`Edge limit exceeded. ${y.length} edges found, but the limit is ${g.maxEdges}. + +Initialize mermaid with maxEdges set to a higher number to allow more edges. +You cannot set this config via configuration inside the diagram as it is a secure config. +You have to call mermaid.initialize.`)},"addSingleLink"),B=(0,c.eW)(function(e,t,s){for(let r of(c.cM.info("addLink",e,t,s),e))for(let e of t)_(r,e,s)},"addLink"),v=(0,c.eW)(function(e,t){e.forEach(function(e){"default"===e?y.defaultInterpolate=t:y[e].interpolate=t})},"updateLinkInterpolate"),w=(0,c.eW)(function(e,t){e.forEach(function(e){if("number"==typeof e&&e>=y.length)throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${y.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);"default"===e?y.defaultStyle=t:(y[e].style=t,(y[e]?.style?.length??0)>0&&!y[e]?.style?.some(e=>e?.startsWith("fill"))&&y[e]?.style?.push("fill:none"))})},"updateLink"),$=(0,c.eW)(function(e,t){e.split(",").forEach(function(e){let s=b.get(e);void 0===s&&(s={id:e,styles:[],textStyles:[]},b.set(e,s)),null!=t&&t.forEach(function(e){if(/color/.exec(e)){let t=e.replace("fill","bgFill");s.textStyles.push(t)}s.styles.push(e)})})},"addClass"),L=(0,c.eW)(function(e){r=e,/.*/.exec(r)&&(r="LR"),/.*v/.exec(r)&&(r="TB"),"TD"===r&&(r="TB")},"setDirection"),W=(0,c.eW)(function(e,t){for(let s of e.split(",")){let e=f.get(s);e&&e.classes.push(t);let r=E.get(s);r&&r.classes.push(t)}},"setClass"),I=(0,c.eW)(function(e,t){if(void 0!==t)for(let s of(t=T(t),e.split(",")))m.set("gen-1"===i?F(s):s,t)},"setTooltip"),R=(0,c.eW)(function(e,t,s){let r=F(e);if("loose"!==(0,c.nV)().securityLevel||void 0===t)return;let i=[];if("string"==typeof s){i=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e")),e.classed("hover",!0)}).on("mouseout",function(){t.transition().duration(500).style("opacity",0),(0,h.Ys)(this).classed("hover",!1)})},"setupToolTips");C.push(K);var j=(0,c.eW)(function(e="gen-1"){f=new Map,b=new Map,y=[],C=[K],k=[],E=new Map,D=0,m=new Map,x=!0,i=e,g=(0,c.nV)(),(0,c.ZH)()},"clear"),z=(0,c.eW)(e=>{i=e||"gen-2"},"setGen"),H=(0,c.eW)(function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},"defaultStyle"),q=(0,c.eW)(function(e,t,s){let r=e.text.trim(),u=s.text;function n(e){let t;let s={boolean:{},number:{},string:{}},r=[];return{nodeList:e.filter(function(e){let i=typeof e;return e.stmt&&"dir"===e.stmt?(t=e.value,!1):""!==e.trim()&&(i in s?!s[i].hasOwnProperty(e)&&(s[i][e]=!0):!r.includes(e)&&r.push(e))}),dir:t}}e===s&&/\s/.exec(s.text)&&(r=void 0),(0,c.eW)(n,"uniq");let{nodeList:a,dir:o}=n(t.flat());if("gen-1"===i)for(let e=0;e2e3)return{result:!1,count:0};if(Q[Z]=t,k[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r=0){let s=J(e,t);if(s.result)return{result:!0,count:i+s.count};i+=s.count}r+=1}return{result:!1,count:i}},"indexNodes2"),ee=(0,c.eW)(function(e){return Q[e]},"getDepthFirstPos"),et=(0,c.eW)(function(){Z=-1,k.length>0&&J("none",k.length-1)},"indexNodes"),es=(0,c.eW)(function(){return k},"getSubGraphs"),er=(0,c.eW)(()=>!!x&&(x=!1,!0),"firstGraph"),ei=(0,c.eW)(e=>{let t=e.trim(),s="arrow_open";switch(t[0]){case"<":s="arrow_point",t=t.slice(1);break;case"x":s="arrow_cross",t=t.slice(1);break;case"o":s="arrow_circle",t=t.slice(1)}let r="normal";return t.includes("=")&&(r="thick"),t.includes(".")&&(r="dotted"),{type:s,stroke:r}},"destructStartLink"),eu=(0,c.eW)((e,t)=>{let s=t.length,r=0;for(let i=0;i{let t=e.trim(),s=t.slice(0,-1),r="arrow_open";switch(t.slice(-1)){case"x":r="arrow_cross",t.startsWith("x")&&(r="double_"+r,s=s.slice(1));break;case">":r="arrow_point",t.startsWith("<")&&(r="double_"+r,s=s.slice(1));break;case"o":r="arrow_circle",t.startsWith("o")&&(r="double_"+r,s=s.slice(1))}let i="normal",u=s.length-1;s.startsWith("=")&&(i="thick"),s.startsWith("~")&&(i="invisible");let n=eu(".",s);return n&&(i="dotted",u=n),{type:r,stroke:i,length:u}},"destructEndLink"),ea=(0,c.eW)((e,t)=>{let s;let r=en(e);if(t){if((s=ei(t)).stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===s.type)s.type=r.type;else{if(s.type!==r.type)return{type:"INVALID",stroke:"INVALID"};s.type="double_"+s.type}return"double_arrow"===s.type&&(s.type="double_arrow_point"),s.length=r.length,s}return r},"destructLink"),eo=(0,c.eW)((e,t)=>{for(let s of e)if(s.nodes.includes(t))return!0;return!1},"exists"),el=(0,c.eW)((e,t)=>{let s=[];return e.nodes.forEach((r,i)=>{!eo(t,r)&&s.push(e.nodes[i])}),{nodes:s}},"makeUniq"),ec=(0,c.eW)(e=>{if(e.img)return"imageSquare";if(e.icon)return"circle"===e.form?"iconCircle":"square"===e.form?"iconSquare":"rounded"===e.form?"iconRounded":"icon";switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}},"getTypeFromVertex"),eh=(0,c.eW)((e,t)=>e.find(e=>e.id===t),"findNode"),ed=(0,c.eW)(e=>{let t="none",s="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":s=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":s=t=e.replace("double_","")}return{arrowTypeStart:t,arrowTypeEnd:s}},"destructEdgeType"),ep=(0,c.eW)((e,t,s,r,i,u)=>{let n=s.get(e.id),a=r.get(e.id)??!1,o=eh(t,e.id);if(o)o.cssStyles=e.styles,o.cssCompiledStyles=eA(e.classes),o.cssClasses=e.classes.join(" ");else{let s={id:e.id,label:e.text,labelStyle:"",parentId:n,padding:i.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:eA(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:u,link:e.link,linkTarget:e.linkTarget,tooltip:P(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};a?t.push({...s,isGroup:!0,shape:"rect"}):t.push({...s,isGroup:!1,shape:ec(e)})}},"addNodeFromVertex");function eA(e){let t=[];for(let s of e){let e=b.get(s);e?.styles&&(t=[...t,...e.styles??[]].map(e=>e.trim())),e?.textStyles&&(t=[...t,...e.textStyles??[]].map(e=>e.trim()))}return t}(0,c.eW)(eA,"getCompiledStyles");var eg=(0,c.eW)(()=>{let e=(0,c.nV)(),t=[],s=[],r=es(),i=new Map,u=new Map;for(let e=r.length-1;e>=0;e--){let t=r[e];for(let e of(t.nodes.length>0&&u.set(t.id,!0),t.nodes))i.set(e,t.id)}for(let s=r.length-1;s>=0;s--){let u=r[s];t.push({id:u.id,label:u.title,labelStyle:"",parentId:i.get(u.id),padding:8,cssCompiledStyles:eA(u.classes),cssClasses:u.classes.join(" "),shape:"rect",dir:u.dir,isGroup:!0,look:e.look})}U().forEach(s=>{ep(s,t,i,u,e,e.look||"classic")});let n=G();return n.forEach((t,r)=>{let{arrowTypeStart:i,arrowTypeEnd:u}=ed(t.type),a=[...n.defaultStyle??[]];t.style&&a.push(...t.style);let o={id:(0,l.Ln)(t.start,t.end,{counter:r,prefix:"L"}),start:t.start,end:t.end,type:t.type??"normal",label:t.text,labelpos:"c",thickness:t.stroke,minlen:t.length,classes:t?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:t?.stroke==="invisible"?"none":i,arrowTypeEnd:t?.stroke==="invisible"?"none":u,arrowheadStyle:"fill: #333",labelStyle:a,style:a,pattern:t.stroke,look:e.look};s.push(o)}),{nodes:t,edges:s,other:{},config:e}},"getData"),ef={defaultConfig:(0,c.eW)(()=>c.Fy.flowchart,"defaultConfig"),setAccTitle:c.GN,getAccTitle:c.eu,getAccDescription:c.Mx,getData:eg,setAccDescription:c.U$,addVertex:S,lookUpDomId:F,addLink:B,updateLinkInterpolate:v,updateLink:w,addClass:$,setDirection:L,setClass:W,setTooltip:I,getTooltip:P,setClickEvent:M,setLink:N,bindFunctions:O,getDirection:V,getVertices:U,getEdges:G,getClasses:Y,clear:j,setGen:z,defaultStyle:H,addSubGraph:q,getDepthFirstPos:ee,indexNodes:et,getSubGraphs:es,destructLink:ea,lex:{firstGraph:er},exists:eo,makeUniq:el,setDiagramTitle:c.g2,getDiagramTitle:c.Kr},ey=(0,c.eW)(function(e,t){return t.db.getClasses()},"getClasses"),eb=(0,c.eW)(async function(e,t,s,r){let i;c.cM.info("REF0:"),c.cM.info("Drawing state diagram (v2)",t);let{securityLevel:n,flowchart:o,layout:d}=(0,c.nV)();"sandbox"===n&&(i=(0,h.Ys)("#i"+t));let p="sandbox"===n?i.nodes()[0].contentDocument:document;c.cM.debug("Before getData: ");let A=r.db.getData();c.cM.debug("Data: ",A);let g=(0,u.q)(t,n),f=V();A.type=r.type,A.layoutAlgorithm=(0,a._b)(d),"dagre"===A.layoutAlgorithm&&"elk"===d&&c.cM.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),A.direction=f,A.nodeSpacing=o?.nodeSpacing||50,A.rankSpacing=o?.rankSpacing||50,A.markers=["point","circle","cross"],A.diagramId=t,c.cM.debug("REF1:",A),await (0,a.sY)(A,g);let y=A.config.flowchart?.diagramPadding??8;for(let e of(l.w8.insertTitle(g,"flowchartTitleText",o?.titleTopMargin||0,r.db.getDiagramTitle()),(0,u.j)(g,y,"flowchart",o?.useMaxWidth||!1),A.nodes)){let s=(0,h.Ys)(`#${t} [id="${e.id}"]`);if(!s||!e.link)continue;let r=p.createElementNS("http://www.w3.org/2000/svg","a");r.setAttributeNS("http://www.w3.org/2000/svg","class",e.cssClasses),r.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===n?r.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):e.linkTarget&&r.setAttributeNS("http://www.w3.org/2000/svg","target",e.linkTarget);let i=s.insert(function(){return r},":first-child"),u=s.select(".label-container");u&&i.append(function(){return u.node()});let a=s.select(".label");a&&i.append(function(){return a.node()})}},"draw"),ek=function(){var e=(0,c.eW)(function(e,t,s,r){for(s=s||{},r=e.length;r--;s[e[r]]=t);return s},"o"),t=[1,4],s=[1,3],r=[1,5],i=[1,8,9,10,11,27,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],u=[2,2],n=[1,13],a=[1,14],o=[1,15],l=[1,16],h=[1,23],d=[1,25],p=[1,26],A=[1,27],g=[1,49],f=[1,48],y=[1,29],b=[1,30],k=[1,31],E=[1,32],m=[1,33],D=[1,44],x=[1,46],C=[1,42],T=[1,47],F=[1,43],S=[1,50],_=[1,45],B=[1,51],v=[1,52],w=[1,34],$=[1,35],L=[1,36],W=[1,37],I=[1,57],R=[1,8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],N=[1,61],P=[1,60],M=[1,62],O=[8,9,11,75,77],V=[1,77],U=[1,90],G=[1,95],Y=[1,94],K=[1,91],j=[1,87],z=[1,93],H=[1,89],q=[1,96],X=[1,92],Z=[1,97],Q=[1,88],J=[8,9,10,11,40,75,77],ee=[8,9,10,11,40,46,75,77],et=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,88,101,104,105,108,110,113,114,115],es=[8,9,11,44,60,75,77,88,101,104,105,108,110,113,114,115],er=[44,60,88,101,104,105,108,110,113,114,115],ei=[1,123],eu=[1,122],en=[1,130],ea=[1,144],eo=[1,145],el=[1,146],ec=[1,147],eh=[1,132],ed=[1,134],ep=[1,138],eA=[1,139],eg=[1,140],ef=[1,141],ey=[1,142],eb=[1,143],ek=[1,148],eE=[1,149],em=[1,128],eD=[1,129],ex=[1,136],eC=[1,131],eT=[1,135],eF=[1,133],eS=[8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],e_=[1,151],eB=[1,153],ev=[8,9,11],ew=[8,9,10,11,14,44,60,88,104,105,108,110,113,114,115],e$=[1,173],eL=[1,169],eW=[1,170],eI=[1,174],eR=[1,171],eN=[1,172],eP=[77,115,118],eM=[8,9,10,11,12,14,27,29,32,44,60,75,83,84,85,86,87,88,89,104,108,110,113,114,115],eO=[10,105],eV=[31,49,51,53,55,57,62,64,66,67,69,71,115,116,117],eU=[1,242],eG=[1,240],eY=[1,244],eK=[1,238],ej=[1,239],ez=[1,241],eH=[1,243],eq=[1,245],eX=[1,263],eZ=[8,9,11,105],eQ=[8,9,10,11,60,83,104,105,108,109,110,111],eJ={trace:(0,c.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,edgeTextToken:78,STR:79,MD_STR:80,textToken:81,keywords:82,STYLE:83,LINKSTYLE:84,CLASSDEF:85,CLASS:86,CLICK:87,DOWN:88,UP:89,textNoTagsToken:90,stylesOpt:91,"idString[vertex]":92,"idString[class]":93,CALLBACKNAME:94,CALLBACKARGS:95,HREF:96,LINK_TARGET:97,"STR[link]":98,"STR[tooltip]":99,alphaNum:100,DEFAULT:101,numList:102,INTERPOLATE:103,NUM:104,COMMA:105,style:106,styleComponent:107,NODE_STRING:108,UNIT:109,BRKT:110,PCT:111,idStringToken:112,MINUS:113,MULT:114,UNICODE_TEXT:115,TEXT:116,TAGSTART:117,EDGE_TEXT:118,alphaNumToken:119,direction_tb:120,direction_bt:121,direction_rl:122,direction_lr:123,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",79:"STR",80:"MD_STR",83:"STYLE",84:"LINKSTYLE",85:"CLASSDEF",86:"CLASS",87:"CLICK",88:"DOWN",89:"UP",92:"idString[vertex]",93:"idString[class]",94:"CALLBACKNAME",95:"CALLBACKARGS",96:"HREF",97:"LINK_TARGET",98:"STR[link]",99:"STR[tooltip]",101:"DEFAULT",103:"INTERPOLATE",104:"NUM",105:"COMMA",108:"NODE_STRING",109:"UNIT",110:"BRKT",111:"PCT",113:"MINUS",114:"MULT",115:"UNICODE_TEXT",116:"TEXT",117:"TAGSTART",118:"EDGE_TEXT",120:"direction_tb",121:"direction_bt",122:"direction_rl",123:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[76,1],[76,2],[76,1],[76,1],[72,1],[73,3],[30,1],[30,2],[30,1],[30,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[102,1],[102,3],[91,1],[91,3],[106,1],[106,2],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[81,1],[81,1],[81,1],[81,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[78,1],[78,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[47,1],[47,2],[100,1],[100,2],[33,1],[33,1],[33,1],[33,1]],performAction:(0,c.eW)(function(e,t,s,r,i,u,n){var a=u.length-1;switch(i){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(u[a])||u[a].length>0)&&u[a-1].push(u[a]),this.$=u[a-1];break;case 4:case 181:case 44:case 54:case 76:case 179:this.$=u[a];break;case 11:r.setDirection("TB"),this.$="TB";break;case 12:r.setDirection(u[a-1]),this.$=u[a-1];break;case 27:this.$=u[a-1].nodes;break;case 33:this.$=r.addSubGraph(u[a-6],u[a-1],u[a-4]);break;case 34:this.$=r.addSubGraph(u[a-3],u[a-1],u[a-3]);break;case 35:this.$=r.addSubGraph(void 0,u[a-1],void 0);break;case 37:this.$=u[a].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=u[a].trim(),r.setAccDescription(this.$);break;case 43:case 131:this.$=u[a-1]+u[a];break;case 45:r.addVertex(u[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a]),r.addLink(u[a-3].stmt,u[a-1],u[a-2]),this.$={stmt:u[a-1],nodes:u[a-1].concat(u[a-3].nodes)};break;case 46:r.addLink(u[a-2].stmt,u[a],u[a-1]),this.$={stmt:u[a],nodes:u[a].concat(u[a-2].nodes)};break;case 47:r.addLink(u[a-3].stmt,u[a-1],u[a-2]),this.$={stmt:u[a-1],nodes:u[a-1].concat(u[a-3].nodes)};break;case 48:this.$={stmt:u[a-1],nodes:u[a-1]};break;case 49:r.addVertex(u[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a]),this.$={stmt:u[a-1],nodes:u[a-1],shapeData:u[a]};break;case 50:this.$={stmt:u[a],nodes:u[a]};break;case 51:case 126:case 128:this.$=[u[a]];break;case 52:r.addVertex(u[a-5][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a-4]),this.$=u[a-5].concat(u[a]);break;case 53:this.$=u[a-4].concat(u[a]);break;case 55:this.$=u[a-2],r.setClass(u[a-2],u[a]);break;case 56:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"square");break;case 57:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"doublecircle");break;case 58:this.$=u[a-5],r.addVertex(u[a-5],u[a-2],"circle");break;case 59:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"ellipse");break;case 60:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"stadium");break;case 61:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"subroutine");break;case 62:this.$=u[a-7],r.addVertex(u[a-7],u[a-1],"rect",void 0,void 0,void 0,Object.fromEntries([[u[a-5],u[a-3]]]));break;case 63:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"cylinder");break;case 64:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"round");break;case 65:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"diamond");break;case 66:this.$=u[a-5],r.addVertex(u[a-5],u[a-2],"hexagon");break;case 67:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"odd");break;case 68:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"trapezoid");break;case 69:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"inv_trapezoid");break;case 70:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"lean_right");break;case 71:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"lean_left");break;case 72:this.$=u[a],r.addVertex(u[a]);break;case 73:u[a-1].text=u[a],this.$=u[a-1];break;case 74:case 75:u[a-2].text=u[a-1],this.$=u[a-2];break;case 77:var o=r.destructLink(u[a],u[a-2]);this.$={type:o.type,stroke:o.stroke,length:o.length,text:u[a-1]};break;case 78:case 84:case 99:case 101:this.$={text:u[a],type:"text"};break;case 79:case 85:case 100:this.$={text:u[a-1].text+""+u[a],type:u[a-1].type};break;case 80:case 86:this.$={text:u[a],type:"string"};break;case 81:case 87:case 102:this.$={text:u[a],type:"markdown"};break;case 82:var o=r.destructLink(u[a]);this.$={type:o.type,stroke:o.stroke,length:o.length};break;case 83:this.$=u[a-1];break;case 103:this.$=u[a-4],r.addClass(u[a-2],u[a]);break;case 104:this.$=u[a-4],r.setClass(u[a-2],u[a]);break;case 105:case 113:this.$=u[a-1],r.setClickEvent(u[a-1],u[a]);break;case 106:case 114:this.$=u[a-3],r.setClickEvent(u[a-3],u[a-2]),r.setTooltip(u[a-3],u[a]);break;case 107:this.$=u[a-2],r.setClickEvent(u[a-2],u[a-1],u[a]);break;case 108:this.$=u[a-4],r.setClickEvent(u[a-4],u[a-3],u[a-2]),r.setTooltip(u[a-4],u[a]);break;case 109:this.$=u[a-2],r.setLink(u[a-2],u[a]);break;case 110:this.$=u[a-4],r.setLink(u[a-4],u[a-2]),r.setTooltip(u[a-4],u[a]);break;case 111:this.$=u[a-4],r.setLink(u[a-4],u[a-2],u[a]);break;case 112:this.$=u[a-6],r.setLink(u[a-6],u[a-4],u[a]),r.setTooltip(u[a-6],u[a-2]);break;case 115:this.$=u[a-1],r.setLink(u[a-1],u[a]);break;case 116:this.$=u[a-3],r.setLink(u[a-3],u[a-2]),r.setTooltip(u[a-3],u[a]);break;case 117:this.$=u[a-3],r.setLink(u[a-3],u[a-2],u[a]);break;case 118:this.$=u[a-5],r.setLink(u[a-5],u[a-4],u[a]),r.setTooltip(u[a-5],u[a-2]);break;case 119:this.$=u[a-4],r.addVertex(u[a-2],void 0,void 0,u[a]);break;case 120:this.$=u[a-4],r.updateLink([u[a-2]],u[a]);break;case 121:this.$=u[a-4],r.updateLink(u[a-2],u[a]);break;case 122:this.$=u[a-8],r.updateLinkInterpolate([u[a-6]],u[a-2]),r.updateLink([u[a-6]],u[a]);break;case 123:this.$=u[a-8],r.updateLinkInterpolate(u[a-6],u[a-2]),r.updateLink(u[a-6],u[a]);break;case 124:this.$=u[a-6],r.updateLinkInterpolate([u[a-4]],u[a]);break;case 125:this.$=u[a-6],r.updateLinkInterpolate(u[a-4],u[a]);break;case 127:case 129:u[a-2].push(u[a]),this.$=u[a-2];break;case 180:case 182:this.$=u[a-1]+""+u[a];break;case 183:this.$={stmt:"dir",value:"TB"};break;case 184:this.$={stmt:"dir",value:"BT"};break;case 185:this.$={stmt:"dir",value:"RL"};break;case 186:this.$={stmt:"dir",value:"LR"}}},"anonymous"),table:[{3:1,4:2,9:t,10:s,12:r},{1:[3]},e(i,u,{5:6}),{4:7,9:t,10:s,12:r},{4:8,9:t,10:s,12:r},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{8:[1,54],9:[1,55],10:I,15:53,18:56},e(R,[2,3]),e(R,[2,4]),e(R,[2,5]),e(R,[2,6]),e(R,[2,7]),e(R,[2,8]),{8:N,9:P,11:M,21:58,41:59,72:63,75:[1,64],77:[1,65]},{8:N,9:P,11:M,21:66},{8:N,9:P,11:M,21:67},{8:N,9:P,11:M,21:68},{8:N,9:P,11:M,21:69},{8:N,9:P,11:M,21:70},{8:N,9:P,10:[1,71],11:M,21:72},e(R,[2,36]),{35:[1,73]},{37:[1,74]},e(R,[2,39]),e(O,[2,50],{18:75,39:76,10:I,40:V}),{10:[1,78]},{10:[1,79]},{10:[1,80]},{10:[1,81]},{14:U,44:G,60:Y,79:[1,85],88:K,94:[1,82],96:[1,83],100:84,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},e(R,[2,183]),e(R,[2,184]),e(R,[2,185]),e(R,[2,186]),e(J,[2,51]),e(J,[2,54],{46:[1,98]}),e(ee,[2,72],{112:111,29:[1,99],44:g,48:[1,100],50:[1,101],52:[1,102],54:[1,103],56:[1,104],58:[1,105],60:f,63:[1,106],65:[1,107],67:[1,108],68:[1,109],70:[1,110],88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),e(et,[2,179]),e(et,[2,140]),e(et,[2,141]),e(et,[2,142]),e(et,[2,143]),e(et,[2,144]),e(et,[2,145]),e(et,[2,146]),e(et,[2,147]),e(et,[2,148]),e(et,[2,149]),e(et,[2,150]),e(i,[2,12]),e(i,[2,18]),e(i,[2,19]),{9:[1,112]},e(es,[2,26],{18:113,10:I}),e(R,[2,27]),{42:114,43:38,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(R,[2,40]),e(R,[2,41]),e(R,[2,42]),e(er,[2,76],{73:115,62:[1,117],74:[1,116]}),{76:118,78:119,79:[1,120],80:[1,121],115:ei,118:eu},e([44,60,62,74,88,101,104,105,108,110,113,114,115],[2,82]),e(R,[2,28]),e(R,[2,29]),e(R,[2,30]),e(R,[2,31]),e(R,[2,32]),{10:en,12:ea,14:eo,27:el,28:124,32:ec,44:eh,60:ed,75:ep,79:[1,126],80:[1,127],82:137,83:eA,84:eg,85:ef,86:ey,87:eb,88:ek,89:eE,90:125,104:em,108:eD,110:ex,113:eC,114:eT,115:eF},e(eS,u,{5:150}),e(R,[2,37]),e(R,[2,38]),e(O,[2,48],{44:e_}),e(O,[2,49],{18:152,10:I,40:eB}),e(J,[2,44]),{44:g,47:154,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{101:[1,155],102:156,104:[1,157]},{44:g,47:158,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{44:g,47:159,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,105],{10:[1,160],95:[1,161]}),{79:[1,162]},e(ev,[2,113],{119:164,10:[1,163],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,115],{10:[1,165]}),e(ew,[2,181]),e(ew,[2,168]),e(ew,[2,169]),e(ew,[2,170]),e(ew,[2,171]),e(ew,[2,172]),e(ew,[2,173]),e(ew,[2,174]),e(ew,[2,175]),e(ew,[2,176]),e(ew,[2,177]),e(ew,[2,178]),{44:g,47:166,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{30:167,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:175,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:177,50:[1,176],67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:178,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:179,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:180,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{108:[1,181]},{30:182,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:183,65:[1,184],67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:185,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:186,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:187,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},e(et,[2,180]),e(i,[2,20]),e(es,[2,25]),e(O,[2,46],{39:188,18:189,10:I,40:V}),e(er,[2,73],{10:[1,190]}),{10:[1,191]},{30:192,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{77:[1,193],78:194,115:ei,118:eu},e(eP,[2,78]),e(eP,[2,80]),e(eP,[2,81]),e(eP,[2,166]),e(eP,[2,167]),{8:N,9:P,10:en,11:M,12:ea,14:eo,21:196,27:el,29:[1,195],32:ec,44:eh,60:ed,75:ep,82:137,83:eA,84:eg,85:ef,86:ey,87:eb,88:ek,89:eE,90:197,104:em,108:eD,110:ex,113:eC,114:eT,115:eF},e(eM,[2,99]),e(eM,[2,101]),e(eM,[2,102]),e(eM,[2,155]),e(eM,[2,156]),e(eM,[2,157]),e(eM,[2,158]),e(eM,[2,159]),e(eM,[2,160]),e(eM,[2,161]),e(eM,[2,162]),e(eM,[2,163]),e(eM,[2,164]),e(eM,[2,165]),e(eM,[2,88]),e(eM,[2,89]),e(eM,[2,90]),e(eM,[2,91]),e(eM,[2,92]),e(eM,[2,93]),e(eM,[2,94]),e(eM,[2,95]),e(eM,[2,96]),e(eM,[2,97]),e(eM,[2,98]),{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,198],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},{10:I,18:199},{44:[1,200]},e(J,[2,43]),{10:[1,201],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{10:[1,202]},{10:[1,203],105:[1,204]},e(eO,[2,126]),{10:[1,205],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{10:[1,206],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{79:[1,207]},e(ev,[2,107],{10:[1,208]}),e(ev,[2,109],{10:[1,209]}),{79:[1,210]},e(ew,[2,182]),{79:[1,211],97:[1,212]},e(J,[2,55],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),{31:[1,213],67:e$,81:214,115:eI,116:eR,117:eN},e(eV,[2,84]),e(eV,[2,86]),e(eV,[2,87]),e(eV,[2,151]),e(eV,[2,152]),e(eV,[2,153]),e(eV,[2,154]),{49:[1,215],67:e$,81:214,115:eI,116:eR,117:eN},{30:216,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{51:[1,217],67:e$,81:214,115:eI,116:eR,117:eN},{53:[1,218],67:e$,81:214,115:eI,116:eR,117:eN},{55:[1,219],67:e$,81:214,115:eI,116:eR,117:eN},{57:[1,220],67:e$,81:214,115:eI,116:eR,117:eN},{60:[1,221]},{64:[1,222],67:e$,81:214,115:eI,116:eR,117:eN},{66:[1,223],67:e$,81:214,115:eI,116:eR,117:eN},{30:224,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{31:[1,225],67:e$,81:214,115:eI,116:eR,117:eN},{67:e$,69:[1,226],71:[1,227],81:214,115:eI,116:eR,117:eN},{67:e$,69:[1,229],71:[1,228],81:214,115:eI,116:eR,117:eN},e(O,[2,45],{18:152,10:I,40:eB}),e(O,[2,47],{44:e_}),e(er,[2,75]),e(er,[2,74]),{62:[1,230],67:e$,81:214,115:eI,116:eR,117:eN},e(er,[2,77]),e(eP,[2,79]),{30:231,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},e(eS,u,{5:232}),e(eM,[2,100]),e(R,[2,35]),{43:233,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{10:I,18:234},{10:eU,60:eG,83:eY,91:235,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:246,103:[1,247],104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:248,103:[1,249],104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{104:[1,250]},{10:eU,60:eG,83:eY,91:251,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{44:g,47:252,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,106]),{79:[1,253]},{79:[1,254],97:[1,255]},e(ev,[2,114]),e(ev,[2,116],{10:[1,256]}),e(ev,[2,117]),e(ee,[2,56]),e(eV,[2,85]),e(ee,[2,57]),{51:[1,257],67:e$,81:214,115:eI,116:eR,117:eN},e(ee,[2,64]),e(ee,[2,59]),e(ee,[2,60]),e(ee,[2,61]),{108:[1,258]},e(ee,[2,63]),e(ee,[2,65]),{66:[1,259],67:e$,81:214,115:eI,116:eR,117:eN},e(ee,[2,67]),e(ee,[2,68]),e(ee,[2,70]),e(ee,[2,69]),e(ee,[2,71]),e([10,44,60,88,101,104,105,108,110,113,114,115],[2,83]),{31:[1,260],67:e$,81:214,115:eI,116:eR,117:eN},{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,261],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},e(J,[2,53]),{43:262,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,119],{105:eX}),e(eZ,[2,128],{107:264,10:eU,60:eG,83:eY,104:eK,108:ej,109:ez,110:eH,111:eq}),e(eQ,[2,130]),e(eQ,[2,132]),e(eQ,[2,133]),e(eQ,[2,134]),e(eQ,[2,135]),e(eQ,[2,136]),e(eQ,[2,137]),e(eQ,[2,138]),e(eQ,[2,139]),e(ev,[2,120],{105:eX}),{10:[1,265]},e(ev,[2,121],{105:eX}),{10:[1,266]},e(eO,[2,127]),e(ev,[2,103],{105:eX}),e(ev,[2,104],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),e(ev,[2,108]),e(ev,[2,110],{10:[1,267]}),e(ev,[2,111]),{97:[1,268]},{51:[1,269]},{62:[1,270]},{66:[1,271]},{8:N,9:P,11:M,21:272},e(R,[2,34]),e(J,[2,52]),{10:eU,60:eG,83:eY,104:eK,106:273,107:237,108:ej,109:ez,110:eH,111:eq},e(eQ,[2,131]),{14:U,44:G,60:Y,88:K,100:274,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},{14:U,44:G,60:Y,88:K,100:275,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},{97:[1,276]},e(ev,[2,118]),e(ee,[2,58]),{30:277,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},e(ee,[2,66]),e(eS,u,{5:278}),e(eZ,[2,129],{107:264,10:eU,60:eG,83:eY,104:eK,108:ej,109:ez,110:eH,111:eq}),e(ev,[2,124],{119:164,10:[1,279],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,125],{119:164,10:[1,280],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,112]),{31:[1,281],67:e$,81:214,115:eI,116:eR,117:eN},{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,282],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},{10:eU,60:eG,83:eY,91:283,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:284,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},e(ee,[2,62]),e(R,[2,33]),e(ev,[2,122],{105:eX}),e(ev,[2,123],{105:eX})],defaultActions:{},parseError:(0,c.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var s=Error(e);throw s.hash=t,s}},"parseError"),parse:(0,c.eW)(function(e){var t=this,s=[0],r=[],i=[null],u=[],n=this.table,a="",o=0,l=0,h=0,d=u.slice.call(arguments,1),p=Object.create(this.lexer),A={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(A.yy[g]=this.yy[g]);p.setInput(e,A.yy),A.yy.lexer=p,A.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;u.push(f);var y=p.options&&p.options.ranges;"function"==typeof A.yy.parseError?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(){var e;return"number"!=typeof(e=r.pop()||p.lex()||1)&&(e instanceof Array&&(e=(r=e).pop()),e=t.symbols_[e]||e),e}(0,c.eW)(function(e){s.length=s.length-2*e,i.length=i.length-e,u.length=u.length-e},"popStack"),(0,c.eW)(b,"lex");for(var k,E,m,D,x,C,T,F,S,_={};;){if(m=s[s.length-1],this.defaultActions[m]?D=this.defaultActions[m]:(null==k&&(k=b()),D=n[m]&&n[m][k]),void 0===D||!D.length||!D[0]){var B="";for(C in S=[],n[m])this.terminals_[C]&&C>2&&S.push("'"+this.terminals_[C]+"'");B=p.showPosition?"Parse error on line "+(o+1)+":\n"+p.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(B,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:f,expected:S})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+m+", token: "+k);switch(D[0]){case 1:s.push(k),i.push(p.yytext),u.push(p.yylloc),s.push(D[1]),k=null,E?(k=E,E=null):(l=p.yyleng,a=p.yytext,o=p.yylineno,f=p.yylloc,h>0&&h--);break;case 2:if(T=this.productions_[D[1]][1],_.$=i[i.length-T],_._$={first_line:u[u.length-(T||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(T||1)].first_column,last_column:u[u.length-1].last_column},y&&(_._$.range=[u[u.length-(T||1)].range[0],u[u.length-1].range[1]]),void 0!==(x=this.performAction.apply(_,[a,l,o,A.yy,D[1],i,u].concat(d))))return x;T&&(s=s.slice(0,-1*T*2),i=i.slice(0,-1*T),u=u.slice(0,-1*T)),s.push(this.productions_[D[1]][0]),i.push(_.$),u.push(_._$),F=n[s[s.length-2]][s[s.length-1]],s.push(F);break;case 3:return!0}}return!0},"parse")},e1={EOF:1,parseError:(0,c.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,c.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,c.eW)(function(e){var t=e.length,s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===r.length?this.yylloc.first_column:0)+r[r.length-s.length].length-s[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.eW)(function(){return this._more=!0,this},"more"),reject:(0,c.eW)(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})},"reject"),less:(0,c.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,c.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,c.eW)(function(e,t){var s,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var u in i)this[u]=i[u];return!1},"test_match"),next:(0,c.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,s,r,i=this._currentRules(),u=0;ut[0].length)){if(t=s,r=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(s,i[u])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,i[r]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,c.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,c.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,c.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,c.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,c.eW)(function(e,t,s,r){switch(s){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 12:case 14:case 17:case 20:case 23:case 33:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),t.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,"
    "),40;case 11:return 40;case 13:this.begin("callbackname");break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 94;case 18:return 95;case 19:return"MD_STR";case 21:this.begin("md_string");break;case 22:return"STR";case 24:this.pushState("string");break;case 25:return 83;case 26:return 101;case 27:return 84;case 28:return 103;case 29:return 85;case 30:return 86;case 31:return 96;case 32:this.begin("click");break;case 34:return 87;case 35:case 36:case 37:return e.lex.firstGraph()&&this.begin("dir"),12;case 38:return 27;case 39:return 32;case 40:case 41:case 42:case 43:return 97;case 44:return this.popState(),13;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),14;case 55:return 120;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 104;case 60:case 101:return 110;case 61:return 46;case 62:return 60;case 63:case 102:return 44;case 64:return 8;case 65:return 105;case 66:case 100:return 114;case 67:case 70:case 73:return this.popState(),77;case 68:return this.pushState("edgeText"),75;case 69:case 72:case 75:return 118;case 71:return this.pushState("thickEdgeText"),75;case 74:return this.pushState("dottedEdgeText"),75;case 76:return 77;case 77:return this.popState(),53;case 78:case 114:return"TEXT";case 79:return this.pushState("ellipseText"),52;case 80:return this.popState(),55;case 81:return this.pushState("text"),54;case 82:return this.popState(),57;case 83:return this.pushState("text"),56;case 84:return 58;case 85:return this.pushState("text"),67;case 86:return this.popState(),64;case 87:return this.pushState("text"),63;case 88:return this.popState(),49;case 89:return this.pushState("text"),48;case 90:return this.popState(),69;case 91:return this.popState(),71;case 92:return 116;case 93:return this.pushState("trapText"),68;case 94:return this.pushState("trapText"),70;case 95:return 117;case 96:return 67;case 97:return 89;case 98:return"SEP";case 99:return 88;case 103:return 108;case 104:return 113;case 105:return 115;case 106:return this.popState(),62;case 107:return this.pushState("text"),62;case 108:return this.popState(),51;case 109:return this.pushState("text"),50;case 110:return this.popState(),31;case 111:return this.pushState("text"),29;case 112:return this.popState(),66;case 113:return this.pushState("text"),65;case 115:return"QUOTE";case 116:return 9;case 117:return 10;case 118:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},href:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},click:{rules:[21,24,33,34,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dottedEdgeText:{rules:[21,24,73,75,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},thickEdgeText:{rules:[21,24,70,72,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},edgeText:{rules:[21,24,67,69,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},trapText:{rules:[21,24,76,79,81,83,87,89,90,91,92,93,94,107,109,111,113],inclusive:!1},ellipseText:{rules:[21,24,76,77,78,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},text:{rules:[21,24,76,79,80,81,82,83,86,87,88,89,93,94,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr:{rules:[3,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_title:{rules:[1,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},md_string:{rules:[19,20,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},string:{rules:[21,22,23,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,70,71,73,74,76,79,81,83,84,85,87,89,93,94,95,96,97,98,99,100,101,102,103,104,105,107,109,111,113,115,116,117,118],inclusive:!0}}};function e0(){this.yy={}}return eJ.lexer=e1,(0,c.eW)(e0,"Parser"),e0.prototype=eJ,eJ.Parser=e0,new e0}();ek.parser=ek;var eE=(0,c.eW)((e,t)=>{let s=d.Z,r=s(e,"r"),i=s(e,"g"),u=s(e,"b");return p.Z(r,i,u,t)},"fade"),em=(0,c.eW)(e=>`.label { + font-family: ${e.fontFamily}; + color: ${e.nodeTextColor||e.textColor}; + } + .cluster-label text { + fill: ${e.titleColor}; + } + .cluster-label span { + color: ${e.titleColor}; + } + .cluster-label span p { + background-color: transparent; + } + + .label text,span { + fill: ${e.nodeTextColor||e.textColor}; + color: ${e.nodeTextColor||e.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label { + text-anchor: middle; + } + // .flowchart-label .text-outer-tspan { + // text-anchor: middle; + // } + // .flowchart-label .text-inner-tspan { + // text-anchor: start; + // } + + .node .katex path { + fill: #000; + stroke: #000; + stroke-width: 1px; + } + + .rough-node .label,.node .label, .image-shape .label, .icon-shape .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + + .root .anchor path { + fill: ${e.lineColor} !important; + stroke-width: 0; + stroke: ${e.lineColor}; + } + + .arrowheadPath { + fill: ${e.arrowheadColor}; + } + + .edgePath .path { + stroke: ${e.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${e.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${e.edgeLabelBackground}; + p { + background-color: ${e.edgeLabelBackground}; + } + rect { + opacity: 0.5; + background-color: ${e.edgeLabelBackground}; + fill: ${e.edgeLabelBackground}; + } + text-align: center; + } + + /* For html labels only */ + .labelBkg { + background-color: ${eE(e.edgeLabelBackground,.5)}; + // background-color: + } + + .cluster rect { + fill: ${e.clusterBkg}; + stroke: ${e.clusterBorder}; + stroke-width: 1px; + } + + .cluster text { + fill: ${e.titleColor}; + } + + .cluster span { + color: ${e.titleColor}; + } + /* .cluster div { + color: ${e.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${e.fontFamily}; + font-size: 12px; + background: ${e.tertiaryColor}; + border: 1px solid ${e.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; + } + + rect.text { + fill: none; + stroke-width: 0; + } + + .icon-shape, .image-shape { + background-color: ${e.edgeLabelBackground}; + p { + background-color: ${e.edgeLabelBackground}; + padding: 2px; + } + rect { + opacity: 0.5; + background-color: ${e.edgeLabelBackground}; + fill: ${e.edgeLabelBackground}; + } + text-align: center; + } +`,"getStyles"),eD={parser:ek,db:ef,renderer:{getClasses:ey,draw:eb},styles:em,init:(0,c.eW)(e=>{!e.flowchart&&(e.flowchart={}),e.layout&&(0,c.Y4)({layout:e.layout}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,c.Y4)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),ef.clear(),ef.setGen("gen-2")},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/40a9f62a.026c30ec.js b/pr-preview/pr-3/assets/js/40a9f62a.026c30ec.js new file mode 100644 index 0000000..da75c6a --- /dev/null +++ b/pr-preview/pr-3/assets/js/40a9f62a.026c30ec.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3657"],{43422:function(s,e,t){t.r(e),t.d(e,{metadata:()=>r,contentTitle:()=>a,default:()=>l,assets:()=>u,toc:()=>c,frontMatter:()=>o});var r=JSON.parse('{"id":"docusaurus/tutorial_basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","source":"@site/docs/docusaurus/tutorial_basics/congratulations.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/congratulations","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/congratulations.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":6,"frontMatter":{"sidebar_position":6},"sidebar":"tutorialSidebar","previous":{"title":"Deploy your site","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site"},"next":{"title":"Tutorial - Extras","permalink":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---extras"}}'),n=t("85893"),i=t("50065");let o={sidebar_position:6},a="Congratulations!",u={},c=[{value:"What's next?",id:"whats-next",level:2}];function d(s){let e={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.a)(),...s.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.header,{children:(0,n.jsx)(e.h1,{id:"congratulations",children:"Congratulations!"})}),"\n",(0,n.jsxs)(e.p,{children:["You have just learned the ",(0,n.jsx)(e.strong,{children:"basics of Docusaurus"})," and made some changes to the ",(0,n.jsx)(e.strong,{children:"initial template"}),"."]}),"\n",(0,n.jsxs)(e.p,{children:["Docusaurus has ",(0,n.jsx)(e.strong,{children:"much more to offer"}),"!"]}),"\n",(0,n.jsxs)(e.p,{children:["Have ",(0,n.jsx)(e.strong,{children:"5 more minutes"}),"? Take a look at ",(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions",children:"versioning"})})," and ",(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site",children:"i18n"})}),"."]}),"\n",(0,n.jsxs)(e.p,{children:["Anything ",(0,n.jsx)(e.strong,{children:"unclear"})," or ",(0,n.jsx)(e.strong,{children:"buggy"})," in this tutorial? ",(0,n.jsx)(e.a,{href:"https://github.com/facebook/docusaurus/discussions/4610",children:"Please report it!"})]}),"\n",(0,n.jsx)(e.h2,{id:"whats-next",children:"What's next?"}),"\n",(0,n.jsxs)(e.ul,{children:["\n",(0,n.jsxs)(e.li,{children:["Read the ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/",children:"official documentation"})]}),"\n",(0,n.jsxs)(e.li,{children:["Modify your site configuration with ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/api/docusaurus-config",children:(0,n.jsx)(e.code,{children:"docusaurus.config.js"})})]}),"\n",(0,n.jsxs)(e.li,{children:["Add navbar and footer items with ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/api/themes/configuration",children:(0,n.jsx)(e.code,{children:"themeConfig"})})]}),"\n",(0,n.jsxs)(e.li,{children:["Add a custom ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/styling-layout",children:"Design and Layout"})]}),"\n",(0,n.jsxs)(e.li,{children:["Add a ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/search",children:"search bar"})]}),"\n",(0,n.jsxs)(e.li,{children:["Find inspirations in the ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/showcase",children:"Docusaurus showcase"})]}),"\n",(0,n.jsxs)(e.li,{children:["Get involved in the ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/community/support",children:"Docusaurus Community"})]}),"\n"]})]})}function l(s={}){let{wrapper:e}={...(0,i.a)(),...s.components};return e?(0,n.jsx)(e,{...s,children:(0,n.jsx)(d,{...s})}):d(s)}},50065:function(s,e,t){t.d(e,{Z:function(){return a},a:function(){return o}});var r=t(67294);let n={},i=r.createContext(n);function o(s){let e=r.useContext(i);return r.useMemo(function(){return"function"==typeof s?s(e):{...e,...s}},[e,s])}function a(s){let e;return e=s.disableParentContext?"function"==typeof s.components?s.components(n):s.components||n:o(s.components),r.createElement(i.Provider,{value:e},s.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/4294.327c1ce5.js b/pr-preview/pr-3/assets/js/4294.327c1ce5.js new file mode 100644 index 0000000..b29cbbb --- /dev/null +++ b/pr-preview/pr-3/assets/js/4294.327c1ce5.js @@ -0,0 +1,101 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4294"],{71639:function(e,t,n){"use strict";e.exports=n(29281)},47114:function(e,t,n){"use strict";var i=n(85670),r={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(r.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&7>=i.isMsie()&&i.mixin(r.input,{marginTop:"-1px"}),e.exports=r},13312:function(e,t,n){"use strict";var i="aaDataset",r="aaValue",s="aaDatum",o=n(85670),a=n(33855),u=n(26619),c=n(47114),l=n(6823);function h(e){(e=e||{}).templates=e.templates||{},!e.source&&o.error("missing source"),e.name&&!function(e){return/^[_a-zA-Z0-9-]+$/.test(e)}(e.name)&&o.error("invalid dataset name: "+e.name),this.query=null,this._isEmpty=!0,this.highlight=!!e.highlight,this.name=void 0===e.name||null===e.name?o.getUniqueId():e.name,this.source=e.source,this.displayFn=function(e){return e=e||"value",o.isFunction(e)?e:function(t){return t[e]}}(e.display||e.displayKey),this.debounce=e.debounce,this.cache=!1!==e.cache,this.templates=function(e,t){return{empty:e.empty&&o.templatify(e.empty),header:e.header&&o.templatify(e.header),footer:e.footer&&o.templatify(e.footer),suggestion:e.suggestion||function(e){return"

    "+t(e)+"

    "}}}(e.templates,this.displayFn),this.css=o.mixin({},c,e.appendTo?c.appendTo:{}),this.cssClasses=e.cssClasses=o.mixin({},c.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var t=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=e.$menu&&e.$menu.find(t+"-"+this.name).length>0?a.element(e.$menu.find(t+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=e.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(e){return a.element(e).data(i)},h.extractValue=function(e){return a.element(e).data(r)},h.extractDatum=function(e){var t=a.element(e).data(s);return"string"==typeof t&&(t=JSON.parse(t)),t},o.mixin(h.prototype,l,{_render:function(e,t){if(!!this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=t&&t.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html((function(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),c.templates.empty.apply(this,t)}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html((function(){var e,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return e=a.element(p).css(this.css.suggestions),n=o.map(t,function(e){var t,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(t=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[e].concat(l)))).data(i,c.name),t.data(r,c.displayFn(e)||void 0),t.data(s,JSON.stringify(e)),t.children().each(function(){a.element(this).css(h.css.suggestionChild)}),t}),e.append.apply(e,n),e}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(t&&!Array.isArray(t))throw TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",e)}function h(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.header.apply(this,t)}function p(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.footer.apply(this,t)}},getRoot:function(){return this.$el},update:function(e){function t(t){if(!this.canceled&&e===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(e,t,n),this._render.apply(this,[e,t].concat(n))}}if(this.query=e,this.canceled=!1,this.shouldFetchFromCache(e))t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){!n.canceled&&n.source(e,t.bind(n))};this.debounce?(clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(function(){n.debounceTimeout=null,i()},this.debounce)):i()}},cacheSuggestions:function(e,t,n){this.cachedQuery=e,this.cachedSuggestions=t,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(e){return this.cache&&this.cachedQuery===e&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}});e.exports=h},35445:function(e,t,n){"use strict";var i=n(85670),r=n(33855),s=n(6823),o=n(13312),a=n(47114);function u(e){var t,n,s,o=this;!(e=e||{}).menu&&i.error("menu is required"),!i.isArray(e.datasets)&&!i.isObject(e.datasets)&&i.error("1 or more datasets required"),!e.datasets&&i.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=e.minLength||0,this.templates={},this.appendTo=e.appendTo||!1,this.css=i.mixin({},a,e.appendTo?a.appendTo:{}),this.cssClasses=e.cssClasses=i.mixin({},a.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||i.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),t=i.bind(this._onSuggestionClick,this),n=i.bind(this._onSuggestionMouseEnter,this),s=i.bind(this._onSuggestionMouseLeave,this);var c=i.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=r.element(e.menu).on("mouseenter.aa",c,n).on("mouseleave.aa",c,s).on("click.aa",c,t),this.$container=e.appendTo?e.wrapper:this.$menu,e.templates&&e.templates.header&&(this.templates.header=i.templatify(e.templates.header),this.$menu.prepend(this.templates.header())),e.templates&&e.templates.empty&&(this.templates.empty=i.templatify(e.templates.empty),this.$empty=r.element('
    '),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(e.datasets,function(t){return function(e,t,n){return new u.Dataset(i.mixin({$menu:e,cssClasses:n},t))}(o.$menu,t,e.cssClasses)}),i.each(this.datasets,function(e){var t=e.getRoot();t&&0===t.parent().length&&o.$menu.append(t),e.onSync("rendered",o._onRendered,o)}),e.templates&&e.templates.footer&&(this.templates.footer=i.templatify(e.templates.footer),this.$menu.append(this.templates.footer()));var l=this;r.element(window).resize(function(){l._redraw()})}i.mixin(u.prototype,s,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",r.element(e.currentTarget))},_onSuggestionMouseEnter:function(e){var t=r.element(e.currentTarget);if(!t.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout(function(){n._setCursor(t,!1)},0)}},_onSuggestionMouseLeave:function(e){if(!e.relatedTarget||!(r.element(e.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0))this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(e,t){if(this.isEmpty=i.every(this.datasets,function(e){return e.isEmpty()}),this.isEmpty){if(t.length>=this.minLength&&this.trigger("empty"),this.$empty){if(t.length=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(e,t){e.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",t)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(e){var t,n,i,r;if(!!this.isOpen){if(n=this._getCursor(),t=this._getSuggestions(),this._removeCursor(),-1==(i=((i=t.index(n)+e)+1)%(t.length+1)-1)){this.trigger("cursorRemoved");return}i<-1&&(i=t.length-1);this._setCursor(r=t.eq(i),!0),this._ensureVisible(r)}},_ensureVisible:function(e){var t,n,i,r;n=(t=e.position().top)+e.height()+parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),t<0?this.$menu.scrollTop(i+t):r',dropdown:'',dataset:'
    ',suggestions:'',suggestion:'
    '}},21286:function(e,t,n){"use strict";i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var i,r=n(85670),s=n(33855),o=n(6823);function a(e){var t,n,o,a,u=this;!(e=e||{}).input&&r.error("input is missing"),t=r.bind(this._onBlur,this),n=r.bind(this._onFocus,this),o=r.bind(this._onKeydown,this),a=r.bind(this._onInput,this),this.$hint=s.element(e.hint),this.$input=s.element(e.input).on("blur.aa",t).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=r.noop),r.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(e){if(!i[e.which||e.keyCode])r.defer(r.bind(u._onInput,u,e))}):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=function(e){return s.element('').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),fontWeight:e.css("font-weight"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),textIndent:e.css("text-indent"),textRendering:e.css("text-rendering"),textTransform:e.css("text-transform")}).insertAfter(e)}(this.$input)}a.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},r.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(e){var t=i[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(e,t){var n,i,r;switch(e){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!u(t);break;case"up":case"down":n=!u(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;if("tab"===e)n=!u(t);else n=!0;return n},_checkInputValue:function(){var e,t,n;n=!!(t=function(e,t){return a.normalizeQuery(e)===a.normalizeQuery(t)}(e=this.getInputValue(),this.query))&&!!this.query&&this.query.length!==e.length,this.query=e,t?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(e){this.query=e},getInputValue:function(){return this.$input.val()},setInputValue:function(e,t){void 0===e&&(e=this.query),this.$input.val(e),t?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(e){this.$input.attr("aria-activedescendant",e)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n;e=this.getInputValue(),n=e!==(t=this.getHint())&&0===t.indexOf(e),!(""!==e&&n&&!this.hasOverflow())&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,t,n;return(e=this.$input.val().length,t=this.$input[0].selectionStart,r.isNumber(t))?t===e:!document.selection||((n=document.selection.createRange()).moveStart("character",-e),e===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}});function u(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}e.exports=a},33068:function(e,t,n){"use strict";var i="aaAttrs",r=n(85670),s=n(33855),o=n(47368),a=n(21286),u=n(35445),c=n(26619),l=n(47114);function h(e){if(!(e=e||{}).input&&r.error("missing input"),this.isActivated=!1,this.debug=!!e.debug,this.autoselect=!!e.autoselect,this.autoselectOnBlur=!!e.autoselectOnBlur,this.openOnFocus=!!e.openOnFocus,this.minLength=r.isNumber(e.minLength)?e.minLength:1,this.autoWidth=void 0===e.autoWidth||!!e.autoWidth,this.clearOnSelected=!!e.clearOnSelected,this.tabAutocomplete=void 0===e.tabAutocomplete||!!e.tabAutocomplete,e.hint=!!e.hint,e.hint&&e.appendTo)throw Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=e.css=r.mixin({},l,e.appendTo?l.appendTo:{}),this.cssClasses=e.cssClasses=r.mixin({},l.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix=r.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=e.listboxId=[this.cssClasses.root,"listbox",r.getUniqueId()].join("-");var t,n,a=function(e){t=s.element(e.input),n=s.element(c.wrapper.replace("%ROOT%",e.cssClasses.root)).css(e.css.wrapper),!e.appendTo&&"block"===t.css("display")&&"table"===t.parent().css("display")&&n.css("display","table-cell");var t,n,o,a,u=c.dropdown.replace("%PREFIX%",e.cssClasses.prefix).replace("%DROPDOWN_MENU%",e.cssClasses.dropdownMenu);o=s.element(u).css(e.css.dropdown).attr({role:"listbox",id:e.listboxId}),e.templates&&e.templates.dropdownMenu&&o.html(r.templatify(e.templates.dropdownMenu)()),(a=t.clone().css(e.css.hint).css(function(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}(t))).val("").addClass(r.className(e.cssClasses.prefix,e.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData(),t.data(i,{"aria-autocomplete":t.attr("aria-autocomplete"),"aria-expanded":t.attr("aria-expanded"),"aria-owns":t.attr("aria-owns"),autocomplete:t.attr("autocomplete"),dir:t.attr("dir"),role:t.attr("role"),spellcheck:t.attr("spellcheck"),style:t.attr("style"),type:t.attr("type")}),t.addClass(r.className(e.cssClasses.prefix,e.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":e.datasets&&e.datasets[0]&&e.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":e.ariaLabel,"aria-owns":e.listboxId}).css(e.hint?e.css.input:e.css.inputWithNoHint);try{!t.attr("dir")&&t.attr("dir","auto")}catch(e){}return(n=e.appendTo?n.appendTo(s.element(e.appendTo).eq(0)).eq(0):t.wrap(n).parent()).prepend(e.hint?a:null).append(o),{wrapper:n,input:t,hint:a,menu:o}}(e);this.$node=a.wrapper;var u=this.$input=a.input;t=a.menu,n=a.hint,e.dropdownMenuContainer&&s.element(e.dropdownMenuContainer).css("position","relative").append(t.css("top","0")),u.on("blur.aa",function(e){var n=document.activeElement;r.isMsie()&&(t[0]===n||t[0].contains(n))&&(e.preventDefault(),e.stopImmediatePropagation(),r.defer(function(){u.focus()}))}),t.on("mousedown.aa",function(e){e.preventDefault()}),this.eventBus=e.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:e.appendTo,wrapper:this.$node,menu:t,datasets:e.datasets,templates:e.templates,cssClasses:e.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(e),this._setLanguageDirection()}r.mixin(h.prototype,{_bindKeyboardShortcuts:function(e){if(!!e.keyboardShortcuts){var t=this.$input,n=[];r.each(e.keyboardShortcuts,function(e){"string"==typeof e&&(e=e.toUpperCase().charCodeAt(0)),n.push(e)}),s.element(document).keydown(function(e){var i=e.target||e.srcElement,r=i.tagName;if(i.isContentEditable||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r)return;var s=e.which||e.keyCode;if(-1!==n.indexOf(s))t.focus(),e.stopPropagation(),e.preventDefault()})}},_onSuggestionClicked:function(e,t){var n;(n=this.dropdown.getDatumForSuggestion(t))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(e,t){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(t&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var e=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",e.width+"px");var t=this.$node[0].getBoundingClientRect(),n=e.bottom-t.top;this.$node.css("top",n+"px");var i=e.left-t.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var e=this.input.getQuery();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){e=this.dropdown.getDatumForCursor(),t=this.dropdown.getDatumForTopSuggestion();var e,t,n={selectionMethod:"blur"};!this.debug&&(this.autoselectOnBlur&&e?this._select(e,n):this.autoselectOnBlur&&t?this._select(t,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(e,t){n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var n,i,r={selectionMethod:"enterKey"};n?(this._select(n,r),t.preventDefault()):this.autoselect&&i&&(this._select(i,r),t.preventDefault())},_onTabKeyed:function(e,t){var n;if(!this.tabAutocomplete){this.dropdown.close();return}(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),t.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(e,t){this.input.clearHintIfInvalid(),t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var e=this.input.getLanguageDirection();this.dir!==e&&(this.dir=e,this.$node.css("direction",e),this.dropdown.setLanguageDirection(e))},_updateHint:function(){var e,t,n,i;(e=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(t=this.input.getInputValue(),n=a.normalizeQuery(t),(i=RegExp("^(?:"+r.escapeRegExChars(n)+")(.+$)","i").exec(e.value))?this.input.setHint(t+i[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(e){var t,n,i,r;t=this.input.getHint(),n=this.input.getQuery(),i=e||this.input.isCursorAtEnd(),t&&n!==t&&i&&((r=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(e,t){void 0!==e.value&&this.input.setQuery(e.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(e.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",e.raw,e.datasetName,t).isDefaultPrevented()&&(this.dropdown.close(),r.defer(r.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var e=this.input.getInputValue();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(e){e=r.toStr(e),this.isActivated?this.input.setInputValue(e):(this.input.setQuery(e),this.input.setInputValue(e,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(e,t){var n=e.find(r.className(t.prefix,t.input));r.each(n.data(i),function(e,t){void 0===e?n.removeAttr(t):n.attr(t,e)}),n.detach().removeClass(r.className(t.prefix,t.input,!0)).insertAfter(e),n.removeData&&n.removeData(i),e.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}});h.Dropdown=u,h.Input=a,h.sources=n(86331),e.exports=h},33855:function(e){"use strict";e.exports={element:null}},22926:function(e){"use strict";e.exports=function(e){var t=e.match(/Algolia for JavaScript \((\d+\.)(\d+\.)(\d+)\)/)||e.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(t)return[t[1],t[2],t[3]]}},85670:function(e,t,n){"use strict";var i,r=n(33855);function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}e.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(e){if(void 0===e&&(e=navigator.userAgent),/(msie|trident)/i.test(e)){var t=e.match(/(msie |rv:)(\d+(.\d+)?)/i);if(t)return t[2]}return!1},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(e){return"number"==typeof e},toStr:function(e){return null==e?"":e+""},cloneDeep:function(e){var t=this.mixin({},e),n=this;return this.each(t,function(e,i){e&&(n.isArray(e)?t[i]=[].concat(e):n.isObject(e)&&(t[i]=n.cloneDeep(e)))}),t},error:function(e){throw Error(e)},every:function(e,t){var n=!0;return e?(this.each(e,function(i,r){n&&(n=t.call(null,i,r,e)&&n)}),!!n):n},any:function(e,t){var n=!1;return e?(this.each(e,function(i,r){if(t.call(null,i,r,e))return n=!0,!1}),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(e){if(this.isFunction(e))return e;var t=r.element(e);return"SCRIPT"===t.prop("tagName")?function(){return t.text()}:function(){return String(e)}},defer:function(e){setTimeout(e,0)},noop:function(){},formatPrefix:function(e,t){return t?"":e+"-"},className:function(e,t,n){return(n?"":".")+e+t},escapeHighlightedString:function(e,t,n){t=t||"";var i=document.createElement("div");i.appendChild(document.createTextNode(t)),n=n||"";var r=document.createElement("div");r.appendChild(document.createTextNode(n));var o=document.createElement("div");return o.appendChild(document.createTextNode(e)),o.innerHTML.replace(RegExp(s(i.innerHTML),"g"),t).replace(RegExp(s(r.innerHTML),"g"),n)}}},42683:function(e,t,n){"use strict";var i=n(85670),r=n(93489),s=n(22926);e.exports=function(e,t){var n=s(e.as._ua);return n&&n[0]>=3&&n[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),function(n,r){e.search(n,t,function(e,t){if(e){i.error(e.message);return}r(t.hits,t)})}}},86331:function(e,t,n){"use strict";e.exports={hits:n(42683),popularIn:n(82226)}},82226:function(e,t,n){"use strict";var i=n(85670),r=n(93489),s=n(22926);e.exports=function(e,t,n,o){var a=s(e.as._ua);if(a&&a[0]>=3&&a[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(e){return e[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){e.search(a,t,function(e,a){if(e){i.error(e.message);return}if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var d=s(c.as._ua);d&&d[0]>=3&&d[1]>20&&(t.additionalUA="autocomplete.js "+r),c.search(u(h),p,function(e,t){if(e){i.error(e.message);return}var n=[];if(o.includeAll){var r=o.allTitle||"All departments";n.push(i.mixin({facet:{value:r,count:t.nbHits}},i.cloneDeep(h)))}i.each(t.facets,function(e,t){i.each(e,function(e,r){n.push(i.mixin({facet:{facet:t,value:r,count:e}},i.cloneDeep(h)))})});for(var s=1;s]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,y=/^(?:body|html)$/i,x=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],w=h.createElement("table"),S=h.createElement("tr"),C={tr:h.createElement("tbody"),tbody:w,thead:w,tfoot:w,td:S,th:S,"*":h.createElement("div")},E=/complete|loaded|interactive/,_=/^[\w-]*$/,k={},T=k.toString,O={},L=h.createElement("div"),A={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},$=Array.isArray||function(e){return e instanceof Array};function P(e){return null==e?String(e):k[T.call(e)]||"object"}function I(e){return"function"==P(e)}function Q(e){return null!=e&&e==e.window}function R(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function N(e){return"object"==P(e)}function D(e){return N(e)&&!Q(e)&&Object.getPrototypeOf(e)==Object.prototype}function F(e){var t=!!e&&"length"in e&&e.length,n=i.type(e);return"function"!=n&&!Q(e)&&("array"==n||0===t||"number"==typeof t&&t>0&&t-1 in e)}O.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var i,r=e.parentNode,s=!r;return s&&(r=L).appendChild(e),i=~O.qsa(r,t).indexOf(e),s&&L.removeChild(e),i};function j(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function H(e){return e in d?d[e]:d[e]=RegExp("(^|\\s)"+e+"(\\s|$)")}function V(e,t){return"number"!=typeof t||f[j(e)]?t:t+"px"}s=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},o=function(e){return c.call(e,function(t,n){return e.indexOf(t)==n})};function B(e){return"children"in e?l.call(e.children):i.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function M(e,t){var n,i=e?e.length:0;for(n=0;n")),t===n&&(n=g.test(e)&&RegExp.$1),!(n in C)&&(n="*"),(a=C[n]).innerHTML=""+e,s=i.each(l.call(a.childNodes),function(){a.removeChild(this)})),D(r)&&(o=i(s),i.each(r,function(e,t){b.indexOf(e)>-1?o[e](t):o.attr(e,t)})),s},O.Z=function(e,t){return new M(e,t)},O.isZ=function(e){return e instanceof O.Z},O.init=function(e,n){var r,s;if(!e)return O.Z();if("string"==typeof e){if("<"==(e=e.trim())[0]&&g.test(e))r=O.fragment(e,RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}else{if(I(e))return i(h).ready(e);if(O.isZ(e))return e;if($(e)){;s=e,r=c.call(s,function(e){return null!=e})}else if(N(e))r=[e],e=null;else if(g.test(e))r=O.fragment(e.trim(),RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}return O.Z(r,e)},i=function(e,t){return O.init(e,t)};function q(e,t){return null==t?i(e):i(e).filter(t)}function z(e,t,n,i){return I(t)?t.call(e,n,i):t}function K(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function W(e,n){var i=e.className||"",r=i&&i.baseVal!==t;if(t===n)return r?i.baseVal:i;r?i.baseVal=n:e.className=n}function U(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?i.parseJSON(e):e):e}catch(t){return e}}return i.extend=function(e){var i,r=l.call(arguments,1);return"boolean"==typeof e&&(i=e,e=r.shift()),r.forEach(function(r){!function e(i,r,s){for(n in r)s&&(D(r[n])||$(r[n]))?(D(r[n])&&!D(i[n])&&(i[n]={}),$(r[n])&&!$(i[n])&&(i[n]=[]),e(i[n],r[n],s)):r[n]!==t&&(i[n]=r[n])}(e,r,i)}),e},O.qsa=function(e,t){var n,i="#"==t[0],r=!i&&"."==t[0],s=i||r?t.slice(1):t,o=_.test(s);return e.getElementById&&o&&i?(n=e.getElementById(s))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:l.call(o&&!i&&e.getElementsByClassName?r?e.getElementsByClassName(s):e.getElementsByTagName(t):e.querySelectorAll(t))},i.contains=h.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},i.type=P,i.isFunction=I,i.isWindow=Q,i.isArray=$,i.isPlainObject=D,i.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},i.isNumeric=function(e){var t=Number(e),n=typeof e;return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},i.inArray=function(e,t,n){return a.indexOf.call(t,e,n)},i.camelCase=s,i.trim=function(e){return null==e?"":String.prototype.trim.call(e)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(e,t){var n,r,s,o,a=[];if(F(e))for(s=0;s0?i.fn.concat.apply([],n):n},i.each=function(e,t){var n,i;if(F(e))for(n=0;n=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(e){return a.every.call(this,function(t,n){return!1!==e.call(t,n,t)}),this},filter:function(e){return I(e)?this.not(this.not(e)):i(c.call(this,function(t){return O.matches(t,e)}))},add:function(e,t){return i(o(this.concat(i(e,t))))},is:function(e){return this.length>0&&O.matches(this[0],e)},not:function(e){var n=[];if(I(e)&&e.call!==t)this.each(function(t){!e.call(this,t)&&n.push(this)});else{var r="string"==typeof e?this.filter(e):F(e)&&I(e.item)?l.call(e):i(e);this.forEach(function(e){0>r.indexOf(e)&&n.push(e)})}return i(n)},has:function(e){return this.filter(function(){return N(e)?i.contains(this,e):i(this).find(e).size()})},eq:function(e){return -1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!N(e)?e:i(e)},last:function(){var e=this[this.length-1];return e&&!N(e)?e:i(e)},find:function(e){var t,n=this;return t=e?"object"==typeof e?i(e).filter(function(){var e=this;return a.some.call(n,function(t){return i.contains(t,e)})}):1==this.length?i(O.qsa(this[0],e)):this.map(function(){return O.qsa(this,e)}):i()},closest:function(e,t){var n=[],r="object"==typeof e&&i(e);return this.each(function(i,s){for(;s&&!(r?r.indexOf(s)>=0:O.matches(s,e));)s=s!==t&&!R(s)&&s.parentNode;s&&0>n.indexOf(s)&&n.push(s)}),i(n)},parents:function(e){for(var t=[],n=this;n.length>0;)n=i.map(n,function(e){if((e=e.parentNode)&&!R(e)&&0>t.indexOf(e))return t.push(e),e});return q(t,e)},parent:function(e){return q(o(this.pluck("parentNode")),e)},children:function(e){return q(this.map(function(){return B(this)}),e)},contents:function(){return this.map(function(){return this.contentDocument||l.call(this.childNodes)})},siblings:function(e){return q(this.map(function(e,t){return c.call(B(t.parentNode),function(e){return e!==t})}),e)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return i.map(this,function(t){return t[e]})},show:function(){return this.each(function(){if("none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")){var e,t,n;this.style.display=(!p[e=this.nodeName]&&(t=h.createElement(e),h.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),p[e]=n),p[e])}})},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=I(e);if(this[0]&&!t)var n=i(e).get(0),r=n.parentNode||this.length>1;return this.each(function(s){i(this).wrapAll(t?e.call(this,s):r?n.cloneNode(!0):n)})},wrapAll:function(e){if(this[0]){var t;for(i(this[0]).before(e=i(e));(t=e.children()).length;)e=t.first();i(e).append(this)}return this},wrapInner:function(e){var t=I(e);return this.each(function(n){var r=i(this),s=r.contents(),o=t?e.call(this,n):e;s.length?s.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){i(this).replaceWith(i(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var n=i(this);(t===e?"none"==n.css("display"):e)?n.show():n.hide()})},prev:function(e){return i(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return i(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each(function(t){var n=this.innerHTML;i(this).empty().append(z(this,e,t,n))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){var n=z(this,e,t,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(e,i){var r;return"string"!=typeof e||1 in arguments?this.each(function(t){if(1===this.nodeType){if(N(e))for(n in e)K(this,n,e[n]);else K(this,e,z(this,i,t,this.getAttribute(e)))}}):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(e))?r:t},removeAttr:function(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){K(this,e)},this)})},prop:function(e,t){return e=A[e]||e,1 in arguments?this.each(function(n){this[e]=z(this,t,n,this[e])}):this[0]&&this[0][e]},removeProp:function(e){return e=A[e]||e,this.each(function(){delete this[e]})},data:function(e,n){var i="data-"+e.replace(x,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,n):this.attr(i);return null!==r?U(r):t},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=z(this,e,t,this.value)})):this[0]&&(this[0].multiple?i(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=i(this),r=z(this,t,e,n.offset()),s=n.offsetParent().offset(),o={top:r.top-s.top,left:r.left-s.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+e.pageXOffset,top:n.top+e.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(e,t){if(arguments.length<2){var r=this[0];if("string"==typeof e){if(!r)return;return r.style[s(e)]||getComputedStyle(r,"").getPropertyValue(e)}if($(e)){if(!r)return;var o={},a=getComputedStyle(r,"");return i.each(e,function(e,t){o[t]=r.style[s(t)]||a.getPropertyValue(t)}),o}}var u="";if("string"==P(e))t||0===t?u=j(e)+":"+V(e,t):this.each(function(){this.style.removeProperty(j(e))});else for(n in e)e[n]||0===e[n]?u+=j(n)+":"+V(n,e[n])+";":this.each(function(){this.style.removeProperty(j(n))});return this.each(function(){this.style.cssText+=";"+u})},index:function(e){return e?this.indexOf(i(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&a.some.call(this,function(e){return this.test(W(e))},H(e))},addClass:function(e){return e?this.each(function(t){if("className"in this){r=[];var n=W(this);z(this,e,t,n).split(/\s+/g).forEach(function(e){!i(this).hasClass(e)&&r.push(e)},this),r.length&&W(this,n+(n?" ":"")+r.join(" "))}}):this},removeClass:function(e){return this.each(function(n){if("className"in this){if(t===e)return W(this,"");z(this,e,n,r=W(this)).split(/\s+/g).forEach(function(e){r=r.replace(H(e)," ")}),W(this,r.trim())}})},toggleClass:function(e,n){return e?this.each(function(r){var s=i(this);z(this,e,r,W(this)).split(/\s+/g).forEach(function(e){(t===n?!s.hasClass(e):n)?s.addClass(e):s.removeClass(e)})}):this},scrollTop:function(e){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),n=this.offset(),r=y.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(i(e).css("margin-top"))||0,n.left-=parseFloat(i(e).css("margin-left"))||0,r.top+=parseFloat(i(t[0]).css("border-top-width"))||0,r.left+=parseFloat(i(t[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||h.body;e&&!y.test(e.nodeName)&&"static"==i(e).css("position");)e=e.offsetParent;return e})}},i.fn.detach=i.fn.remove,["width","height"].forEach(function(e){var n=e.replace(/./,function(e){return e[0].toUpperCase()});i.fn[e]=function(r){var s,o=this[0];return t===r?Q(o)?o["inner"+n]:R(o)?o.documentElement["scroll"+n]:(s=this.offset())&&s[e]:this.each(function(t){(o=i(this)).css(e,z(this,r,t,o[e]()))})}}),["after","prepend","before","append"].forEach(function(n,r){var s=r%2;i.fn[n]=function(){var n,o,a=i.map(arguments,function(e){var r=[];return"array"==(n=P(e))?(e.forEach(function(e){return e.nodeType!==t?r.push(e):i.zepto.isZ(e)?r=r.concat(e.get()):void(r=r.concat(O.fragment(e)))}),r):"object"==n||null==e?e:O.fragment(e)}),u=this.length>1;return a.length<1?this:this.each(function(t,n){o=s?n:n.parentNode,n=0==r?n.nextSibling:1==r?n.firstChild:2==r?n:null;var c=i.contains(h.documentElement,o);a.forEach(function(t){if(u)t=t.cloneNode(!0);else if(!o)return i(t).remove();o.insertBefore(t,n),c&&!function e(t,n){n(t);for(var i=0,r=t.childNodes.length;i":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(n,i){var r=n.length,s=0,o=null,a=null,l="",h=[],p=!1,d=0,f=0,g="{{",m="}}";function v(){l.length>0&&(h.push({tag:"_t",text:new String(l)}),l="")}function y(n,i){if(v(),n&&function(){for(var n=!0,i=f;i"==r.tag&&(r.indent=h[s].text.toString()),h.splice(s,1));else!i&&h.push({tag:"\n"});p=!1,f=h.length}for(i&&(g=(i=i.split(" "))[0],m=i[1]),d=0;d":f,"<":function(t,n){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(t.nodes,i);var r=n.partials[f(t,n)];r.subs=i.subs,r.partials=i.partials},$:function(t,n){var i={subs:{},code:"",partials:n.partials,prefix:t.n};e.walk(t.nodes,i),n.subs[t.n]=i.code,!n.inPartial&&(n.code+='t.sub("'+p(t.n)+'",c,p,i);')},"\n":function(e,t){t.code+=m('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+d(e.n)+'("'+p(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=m('"'+p(e.text)+'"')},"{":g,"&":g},e.walk=function(t,n){for(var i,r=0,s=t.length;r0;){if(c=n.shift(),u&&"<"==u.tag&&!(c.tag in l))throw Error("Illegal content in < super tag.");if(e.tags[c.tag]<=e.tags.$||function(e,t){for(var n=0,i=t.length;n0)throw Error("missing closing tag: "+r.pop().n);return o}(t,"",[],(i=i||{}).sectionTags||[])},e.cache={},e.cacheKey=function(e,t){return[e,!!t.asString,!!t.disableLambda,t.delimiters,!!t.modelGet].join("||")},e.compile=function(t,n){n=n||{};var i=e.cacheKey(t,n),r=this.cache[i];if(r){var s=r.partials;for(var o in s)delete s[o].instance;return r}return r=this.generate(this.parse(this.scan(t,n.delimiters),t,n),t,n),this.cache[i]=r}}(t)},5485:function(e,t,n){var i=n(49397);i.Template=n(22882).Template,i.template=i.Template,e.exports=i},22882:function(e,t){!function(e){function t(e,t,n){var i;return t&&"object"==typeof t&&(void 0!==t[e]?i=t[e]:n&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}e.Template=function(e,t,n,i){e=e||{},this.r=e.code||this.r,this.c=n,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,t,n){return""},v:function(e){return e=u(e),a.test(e)?e.replace(n,"&").replace(i,"<").replace(r,">").replace(s,"'").replace(o,"""):e},t:u,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},ep:function(e,t){var n=this.partials[e],i=t[n.name];if(n.instance&&n.base==i)return n.instance;if("string"==typeof i){if(!this.c)throw Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,n.subs){for(key in!t.stackText&&(t.stackText={}),n.subs)!t.stackText[key]&&(t.stackText[key]=void 0!==this.activeSub&&t.stackText[this.activeSub]?t.stackText[this.activeSub]:this.text);i=function(e,t,n,i,r,s){function o(){}function a(){}o.prototype=e,a.prototype=e.subs;var u,c=new o;for(u in c.subs=new a,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=s,t)!i[u]&&(i[u]=t[u]);for(u in i)c.subs[u]=i[u];for(u in r=r||{},c.stackPartials=r,n)!r[u]&&(r[u]=n[u]);for(u in r)c.partials[u]=r[u];return c}(i,n.subs,n.partials,this.stackSubs,this.stackPartials,t.stackText)}return this.partials[e].instance=i,i},rp:function(e,t,n,i){var r=this.ep(e,n);return r?r.ri(t,n,i):""},rs:function(e,t,n){var i=e[e.length-1];if(!c(i)){n(e,t,this);return}for(var r=0;r=0;c--)if(void 0!==(s=t(e,o=n[c],u))){a=!0;break}return a?(!r&&"function"==typeof s&&(s=this.mv(s,n,i)),s):!r&&""},ls:function(e,t,n,i,r){var s=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(u(e.call(t,i)),t,n)),this.options.delimiters=s,!1},ct:function(e,t,n){if(this.options.disableLambda)throw Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,n)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,t,n,i,r,s,o){var a,u=t[t.length-1],c=e.call(u);if("function"==typeof c)return!!i||(a=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,u,n,a.substring(r,s),o));return c},mv:function(e,t,n){var i=t[t.length-1],r=e.call(i);return"function"==typeof r?this.ct(u(r.call(i)),i,n):r},sub:function(e,t,n,i){var r=this.subs[e];r&&(this.activeSub=e,r(t,n,this,i),this.activeSub=!1)}};var n=/&/g,i=//g,s=/\'/g,o=/\"/g,a=/[&<>\"\']/;function u(e){return String(null==e?"":e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)},70624:function(e,t,n){"use strict";var i,r,s,o=[n(47936),n(64785),n(28291),n(2709),n(42506),n(79176)],a=-1,u=[],c=!1;function l(){if(!!i&&!!r)i=!1,r.length?u=r.concat(u):a=-1,u.length&&h()}function h(){if(!i){c=!1,i=!0;for(var e=u.length,t=setTimeout(l);e;){for(r=u,u=[];r&&++a1)for(var n=1;n0){var c=A.utils.clone(t)||{};c.position=[o,u],c.index=r.length,r.push(new A.Token(n.slice(o,s),c))}o=s+1}}return r},A.tokenizer.separator=/[\s\-]+/,A.Pipeline=function(){this._stack=[]},A.Pipeline.registeredFunctions=Object.create(null),A.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&A.utils.warn("Overwriting existing registered function: "+t),e.label=t,A.Pipeline.registeredFunctions[e.label]=e},A.Pipeline.warnIfFunctionNotRegistered=function(e){!(e.label&&e.label in this.registeredFunctions)&&A.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},A.Pipeline.load=function(e){var t=new A.Pipeline;return e.forEach(function(e){var n=A.Pipeline.registeredFunctions[e];if(n)t.add(n);else throw Error("Cannot load unregistered function: "+e)}),t},A.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){A.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},A.Pipeline.prototype.after=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},A.Pipeline.prototype.before=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");this._stack.splice(n,0,t)},A.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);if(-1!=t)this._stack.splice(t,1)},A.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(se&&(n=r),s!=e);){;i=n-t,r=t+Math.floor(i/2),s=this.elements[2*r]}return s==e||s>e?2*r:sa?c+=2:o==a&&(t+=n[u+1]*i[c+1],u+=2,c+=2);return t},A.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},A.Vector.prototype.toArray=function(){for(var e=Array(this.elements.length/2),t=1,n=0;t0){var s,o=r.str.charAt(0);o in r.node.edges?s=r.node.edges[o]:(s=new A.TokenSet,r.node.edges[o]=s),1==r.str.length&&(s.final=!0),i.push({node:s,editsRemaining:r.editsRemaining,str:r.str.slice(1)})}if(0!=r.editsRemaining){if("*"in r.node.edges)var a=r.node.edges["*"];else{var a=new A.TokenSet;r.node.edges["*"]=a}if(0==r.str.length&&(a.final=!0),i.push({node:a,editsRemaining:r.editsRemaining-1,str:r.str}),r.str.length>1&&i.push({node:r.node,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)}),1==r.str.length&&(r.node.final=!0),r.str.length>=1){if("*"in r.node.edges)var u=r.node.edges["*"];else{var u=new A.TokenSet;r.node.edges["*"]=u}1==r.str.length&&(u.final=!0),i.push({node:u,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)})}if(r.str.length>1){var c,l=r.str.charAt(0),h=r.str.charAt(1);h in r.node.edges?c=r.node.edges[h]:(c=new A.TokenSet,r.node.edges[h]=c),1==r.str.length&&(c.final=!0),i.push({node:c,editsRemaining:r.editsRemaining-1,str:l+r.str.slice(2)})}}}return n},A.TokenSet.fromString=function(e){for(var t=new A.TokenSet,n=t,i=0,r=e.length;i=e;t--){var n=this.uncheckedNodes[t],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}},A.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},A.Index.prototype.search=function(e){return this.query(function(t){new A.QueryParser(e,t).parse()})},A.Index.prototype.query=function(e){for(var t=new A.Query(this.fields),n=Object.create(null),i=Object.create(null),r=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a1?this._b=1:this._b=e},A.Builder.prototype.k1=function(e){this._k1=e},A.Builder.prototype.add=function(e,t){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var r=0;r=this.length)return A.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},A.QueryLexer.prototype.width=function(){return this.pos-this.start},A.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},A.QueryLexer.prototype.backup=function(){this.pos-=1},A.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do t=(e=this.next()).charCodeAt(0);while(t>47&&t<58);e!=A.QueryLexer.EOS&&this.backup()},A.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(A.QueryLexer.TERM)),e.ignore(),e.more())return A.QueryLexer.lexText},A.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.EDIT_DISTANCE),A.QueryLexer.lexText},A.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.BOOST),A.QueryLexer.lexText},A.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(A.QueryLexer.TERM)},A.QueryLexer.termSeparator=A.tokenizer.separator,A.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==A.QueryLexer.EOS)return A.QueryLexer.lexEOS;if(92==t.charCodeAt(0)){e.escapeCharacter();continue}if(":"==t)return A.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexBoost;if("+"==t&&1===e.width()||"-"==t&&1===e.width())return e.emit(A.QueryLexer.PRESENCE),A.QueryLexer.lexText;if(t.match(A.QueryLexer.termSeparator))return A.QueryLexer.lexTerm}},A.QueryParser=function(e,t){this.lexer=new A.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},A.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=A.QueryParser.parseClause;e;)e=e(this);return this.query},A.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},A.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},A.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},A.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(void 0!=t)switch(t.type){case A.QueryLexer.PRESENCE:return A.QueryParser.parsePresence;case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new A.QueryParseError(n,t.start,t.end)}},A.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(void 0!=t){switch(t.str){case"-":e.currentClause.presence=A.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=A.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new A.QueryParseError(n,t.start,t.end)}var i=e.peekLexeme();if(void 0==i){var n="expecting term or field, found nothing";throw new A.QueryParseError(n,t.start,t.end)}switch(i.type){case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new A.QueryParseError(n,i.start,i.end)}}},A.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(void 0!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),i="unrecognised field '"+t.str+"', possible fields: "+n;throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.fields=[t.str];var r=e.peekLexeme();if(void 0==r){var i="expecting term, found nothing";throw new A.QueryParseError(i,t.start,t.end)}if(r.type===A.QueryLexer.TERM)return A.QueryParser.parseTerm;var i="expecting term, found '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}},A.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(void 0!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(void 0==n){e.nextClause();return}switch(n.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new A.QueryParseError(i,n.start,n.end)}}},A.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.editDistance=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},A.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="boost must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.boost=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},O=0,L=function(){return A},"function"==typeof define&&define.amd?define(L):e.exports=L()}()},75322:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>v});var i=n("5485"),r=n.n(i),s=n("74802");s.Z.tokenizer.separator=/[\s\-/]+/;let o=class e{constructor(e,t,n="/",i){this.searchDocs=e,this.lunrIndex=s.Z.Index.load(t),this.baseUrl=n,this.maxHits=i}getLunrResult(e){return this.lunrIndex.query(function(t){let n=s.Z.tokenizer(e);t.term(n,{boost:10}),t.term(n,{wildcard:s.Z.Query.wildcard.TRAILING})})}getHit(e,t,n){return{hierarchy:{lvl0:e.pageTitle||e.title,lvl1:0===e.type?null:e.title},url:e.url,version:e.version,_snippetResult:n?{content:{value:n,matchLevel:"full"}}:null,_highlightResult:{hierarchy:{lvl0:{value:0===e.type?t||e.title:e.pageTitle},lvl1:0===e.type?null:{value:t||e.title}}}}}getTitleHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title.substring(0,i)+''+e.title.substring(i,r)+""+e.title.substring(r,e.title.length);return this.getHit(e,s)}getKeywordHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title+"
    Keywords: "+e.keywords.substring(0,i)+''+e.keywords.substring(i,r)+""+e.keywords.substring(r,e.keywords.length)+"";return this.getHit(e,s)}getContentHit(e,t){let n=t[0],i=t[0]+t[1],r=n,s=i,o=!0,a=!0;for(let t=0;t<3;t++){let t=e.content.lastIndexOf(" ",r-2),n=e.content.lastIndexOf(".",r-2);if(n>0&&n>t){r=n+1,o=!1;break}if(t<0){r=0,o=!1;break}r=t+1}for(let t=0;t<10;t++){let t=e.content.indexOf(" ",s+1),n=e.content.indexOf(".",s+1);if(n>0&&n",u+=e.content.substring(i,s),a&&(u+=" ..."),this.getHit(e,null,u)}search(e){return new Promise((t,n)=>{let i=this.getLunrResult(e),r=[];i.length>this.maxHits&&(i.length=this.maxHits),this.titleHitsRes=[],this.contentHitsRes=[],i.forEach(t=>{let n=this.searchDocs[t.ref],{metadata:i}=t.matchData;for(let s in i)if(i[s].title){if(!this.titleHitsRes.includes(t.ref)){let o=i[s].title.position[0];r.push(this.getTitleHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}else if(i[s].content){let e=i[s].content.position[0];r.push(this.getContentHit(n,e))}else if(i[s].keywords){let o=i[s].keywords.position[0];r.push(this.getKeywordHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}),r.length>this.maxHits&&(r.length=this.maxHits),t(r)})}};var a=n("71639"),u=n.n(a);let c="algolia-docsearch",l=`${c}-suggestion`,h=`${c}-footer`,p={suggestion:` +
    +
    + {{{category}}} +
    +
    +
    + {{{subcategory}}} +
    + {{#isTextOrSubcategoryNonEmpty}} +
    +
    {{{subcategory}}}
    +
    {{{title}}}
    + {{#text}}
    {{{text}}}
    {{/text}} + {{#version}}
    {{version}}
    {{/version}} +
    + {{/isTextOrSubcategoryNonEmpty}} +
    +
    + `,suggestionSimple:` +
    +
    + {{^isLvl0}} + {{{category}}} + {{^isLvl1}} + {{^isLvl1EmptyOrDuplicate}} + + {{{subcategory}}} + + {{/isLvl1EmptyOrDuplicate}} + {{/isLvl1}} + {{/isLvl0}} +
    + {{#isLvl2}} + {{{title}}} + {{/isLvl2}} + {{#isLvl1}} + {{{subcategory}}} + {{/isLvl1}} + {{#isLvl0}} + {{{category}}} + {{/isLvl0}} +
    +
    +
    + {{#text}} +
    +
    {{{text}}}
    +
    + {{/text}} +
    +
    + `,footer:` +
    +
    + `,empty:` +
    +
    +
    +
    +
    + No results found for query "{{query}}" +
    +
    +
    +
    +
    + `,searchBox:` + + + + `};var d=n("7939"),f=n.n(d);let g={mergeKeyWithParent(e,t){if(void 0===e[t]||"object"!=typeof e[t])return e;let n=f().extend({},e,e[t]);return delete n[t],n},groupBy(e,t){let n={};return f().each(e,(e,i)=>{if(void 0===i[t])throw Error(`[groupBy]: Object has no key ${t}`);let r=i[t];"string"==typeof r&&(r=r.toLowerCase()),!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=[]),n[r].push(i)}),n},values:e=>Object.keys(e).map(t=>e[t]),flatten(e){let t=[];return e.forEach(e=>{if(!Array.isArray(e)){t.push(e);return}e.forEach(e=>{t.push(e)})}),t},flattenAndFlagFirst(e,t){let n=this.values(e).map(e=>e.map((e,n)=>(e[t]=0===n,e)));return this.flatten(n)},compact(e){let t=[];return e.forEach(e=>{if(!!e)t.push(e)}),t},getHighlightedValue:(e,t)=>e._highlightResult&&e._highlightResult.hierarchy_camel&&e._highlightResult.hierarchy_camel[t]&&e._highlightResult.hierarchy_camel[t].matchLevel&&"none"!==e._highlightResult.hierarchy_camel[t].matchLevel&&e._highlightResult.hierarchy_camel[t].value?e._highlightResult.hierarchy_camel[t].value:e._highlightResult&&e._highlightResult&&e._highlightResult[t]&&e._highlightResult[t].value?e._highlightResult[t].value:e[t],getSnippetedValue(e,t){if(!e._snippetResult||!e._snippetResult[t]||!e._snippetResult[t].value)return e[t];let n=e._snippetResult[t].value;return n[0]!==n[0].toUpperCase()&&(n=`\u{2026}${n}`),-1===[".","!","?"].indexOf(n[n.length-1])&&(n=`${n}\u{2026}`),n},deepClone:e=>JSON.parse(JSON.stringify(e))};class m{constructor({searchDocs:e,searchIndex:t,inputSelector:n,debug:i=!1,baseUrl:r="/",queryDataCallback:s=null,autocompleteOptions:a={debug:!1,hint:!1,autoselect:!0},transformData:c=!1,queryHook:l=!1,handleSelected:h=!1,enhancedSearchInput:d=!1,layout:g="column",maxHits:v=5}){this.input=m.getInputFromSelector(n),this.queryDataCallback=s||null;let y=!!a&&!!a.debug&&a.debug;a.debug=i||y,this.autocompleteOptions=a,this.autocompleteOptions.cssClasses=this.autocompleteOptions.cssClasses||{},this.autocompleteOptions.cssClasses.prefix=this.autocompleteOptions.cssClasses.prefix||"ds";let x=this.input&&"function"==typeof this.input.attr&&this.input.attr("aria-label");this.autocompleteOptions.ariaLabel=this.autocompleteOptions.ariaLabel||x||"search input",this.isSimpleLayout="simple"===g,this.client=new o(e,t,r,v),d&&(this.input=m.injectSearchBox(this.input)),this.autocomplete=u()(this.input,a,[{source:this.getAutocompleteSource(c,l),templates:{suggestion:m.getSuggestionTemplate(this.isSimpleLayout),footer:p.footer,empty:m.getEmptyTemplate()}}]);this.handleSelected=h||this.handleSelected,h&&f()(".algolia-autocomplete").on("click",".ds-suggestions a",e=>{e.preventDefault()}),this.autocomplete.on("autocomplete:selected",this.handleSelected.bind(null,this.autocomplete.autocomplete)),this.autocomplete.on("autocomplete:shown",this.handleShown.bind(null,this.input)),d&&m.bindSearchBoxEvent(),document.addEventListener("keydown",e=>{(e.ctrlKey||e.metaKey)&&"k"==e.key&&(this.input.focus(),e.preventDefault())})}static injectSearchBox(e){e.before(p.searchBox);let t=e.prev().prev().find("input");return e.remove(),t}static bindSearchBoxEvent(){f()('.searchbox [type="reset"]').on("click",function(){f()("input#docsearch").focus(),f()(this).addClass("hide"),u().autocomplete.setVal("")}),f()("input#docsearch").on("keyup",()=>{let e=document.querySelector("input#docsearch"),t=document.querySelector('.searchbox [type="reset"]');t.className="searchbox__reset",0===e.value.length&&(t.className+=" hide")})}static getInputFromSelector(e){let t=f()(e).filter("input");return t.length?f()(t[0]):null}getAutocompleteSource(e,t){return(n,i)=>{t&&(n=t(n)||n),this.client.search(n).then(t=>{this.queryDataCallback&&"function"==typeof this.queryDataCallback&&this.queryDataCallback(t),e&&(t=e(t)||t),i(m.formatHits(t))})}}static formatHits(e){let t=g.deepClone(e).map(e=>(e._highlightResult&&(e._highlightResult=g.mergeKeyWithParent(e._highlightResult,"hierarchy")),g.mergeKeyWithParent(e,"hierarchy"))),n=g.groupBy(t,"lvl0");return f().each(n,(e,t)=>{let i=g.groupBy(t,"lvl1"),r=g.flattenAndFlagFirst(i,"isSubCategoryHeader");n[e]=r}),(n=g.flattenAndFlagFirst(n,"isCategoryHeader")).map(e=>{let t=m.formatURL(e),n=g.getHighlightedValue(e,"lvl0"),i=g.getHighlightedValue(e,"lvl1")||n,r=g.compact([g.getHighlightedValue(e,"lvl2")||i,g.getHighlightedValue(e,"lvl3"),g.getHighlightedValue(e,"lvl4"),g.getHighlightedValue(e,"lvl5"),g.getHighlightedValue(e,"lvl6")]).join(''),s=g.getSnippetedValue(e,"content"),o=i&&""!==i||r&&""!==r,a=!i||""===i||i===n,u=r&&""!==r&&r!==i,c=!u&&i&&""!==i&&i!==n,l=e.version;return{isLvl0:!c&&!u,isLvl1:c,isLvl2:u,isLvl1EmptyOrDuplicate:a,isCategoryHeader:e.isCategoryHeader,isSubCategoryHeader:e.isSubCategoryHeader,isTextOrSubcategoryNonEmpty:o,category:n,subcategory:i,title:r,text:s,url:t,version:l}})}static formatURL(e){let{url:t,anchor:n}=e;if(t){if(-1!==t.indexOf("#"));else if(n)return`${e.url}#${e.anchor}`;return t}return n?`#${e.anchor}`:(console.warn("no anchor nor url for : ",JSON.stringify(e)),null)}static getEmptyTemplate(){return e=>r().compile(p.empty).render(e)}static getSuggestionTemplate(e){let t=e?p.suggestionSimple:p.suggestion,n=r().compile(t);return e=>n.render(e)}handleSelected(e,t,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if("click"!==r.selectionMethod)e.setVal(""),window.location.assign(n.url)}handleShown(e){let t=e.offset().left+e.width()/2,n=f()(document).width()/2;isNaN(n)&&(n=900);let i=t-n>=0?"algolia-autocomplete-right":"algolia-autocomplete-left",r=t-n<0?"algolia-autocomplete-right":"algolia-autocomplete-left",s=f()(".algolia-autocomplete");!s.hasClass(i)&&s.addClass(i),s.hasClass(r)&&s.removeClass(r)}}let v=m}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/447.c6aeb1bf.js b/pr-preview/pr-3/assets/js/447.c6aeb1bf.js new file mode 100644 index 0000000..fe4d69f --- /dev/null +++ b/pr-preview/pr-3/assets/js/447.c6aeb1bf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["447"],{17232:function(t,e,i){i.d(e,{diagram:function(){return L}});var a=i(5995),n=i(27818),s=function(){var t=(0,a.eW)(function(t,e,i,a){for(i=i||{},a=t.length;a--;i[t[a]]=e);return i},"o"),e=[1,3],i=[1,4],n=[1,5],s=[1,6],r=[1,7],l=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],o=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],h=[55,56,57],c=[2,36],d=[1,37],u=[1,36],x=[1,38],g=[1,35],f=[1,43],y=[1,41],p=[1,14],T=[1,23],m=[1,18],q=[1,19],_=[1,20],A=[1,21],b=[1,22],k=[1,24],S=[1,25],F=[1,26],P=[1,27],v=[1,28],C=[1,29],W=[1,32],L=[1,33],E=[1,34],D=[1,39],z=[1,40],I=[1,42],w=[1,44],N=[1,62],B=[1,61],R=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],$=[1,65],U=[1,66],O=[1,67],M=[1,68],Q=[1,69],X=[1,70],Y=[1,71],Z=[1,72],H=[1,73],j=[1,74],K=[1,75],G=[1,76],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],tt=[1,91],te=[1,92],ti=[1,99],ta=[1,93],tn=[1,96],ts=[1,94],tr=[1,95],tl=[1,97],to=[1,98],th=[1,102],tc=[10,55,56,57],td=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],tu={trace:(0,a.eW)(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:(0,a.eW)(function(t,e,i,a,n,s,r){var l=s.length-1;switch(n){case 23:case 68:this.$=s[l];break;case 24:this.$=s[l-1]+""+s[l];break;case 26:this.$=s[l-1]+s[l];break;case 27:this.$=[s[l].trim()];break;case 28:s[l-2].push(s[l].trim()),this.$=s[l-2];break;case 29:this.$=s[l-4],a.addClass(s[l-2],s[l]);break;case 37:this.$=[];break;case 42:this.$=s[l].trim(),a.setDiagramTitle(this.$);break;case 43:this.$=s[l].trim(),a.setAccTitle(this.$);break;case 44:case 45:this.$=s[l].trim(),a.setAccDescription(this.$);break;case 46:a.addSection(s[l].substr(8)),this.$=s[l].substr(8);break;case 47:a.addPoint(s[l-3],"",s[l-1],s[l],[]);break;case 48:a.addPoint(s[l-4],s[l-3],s[l-1],s[l],[]);break;case 49:a.addPoint(s[l-4],"",s[l-2],s[l-1],s[l]);break;case 50:a.addPoint(s[l-5],s[l-4],s[l-2],s[l-1],s[l]);break;case 51:a.setXAxisLeftText(s[l-2]),a.setXAxisRightText(s[l]);break;case 52:s[l-1].text+=" \u27F6 ",a.setXAxisLeftText(s[l-1]);break;case 53:a.setXAxisLeftText(s[l]);break;case 54:a.setYAxisBottomText(s[l-2]),a.setYAxisTopText(s[l]);break;case 55:s[l-1].text+=" \u27F6 ",a.setYAxisBottomText(s[l-1]);break;case 56:a.setYAxisBottomText(s[l]);break;case 57:a.setQuadrant1Text(s[l]);break;case 58:a.setQuadrant2Text(s[l]);break;case 59:a.setQuadrant3Text(s[l]);break;case 60:a.setQuadrant4Text(s[l]);break;case 64:case 66:this.$={text:s[l],type:"text"};break;case 65:this.$={text:s[l-1].text+""+s[l],type:s[l-1].type};break;case 67:this.$={text:s[l],type:"markdown"};break;case 69:this.$=s[l-1]+""+s[l]}},"anonymous"),table:[{18:e,26:1,27:2,28:i,55:n,56:s,57:r},{1:[3]},{18:e,26:8,27:2,28:i,55:n,56:s,57:r},{18:e,26:9,27:2,28:i,55:n,56:s,57:r},t(l,[2,33],{29:10}),t(o,[2,61]),t(o,[2,62]),t(o,[2,63]),{1:[2,30]},{1:[2,31]},t(h,c,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:u,10:x,12:g,13:f,14:y,18:p,25:T,35:m,37:q,39:_,41:A,42:b,48:k,50:S,51:F,52:P,53:v,54:C,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),t(l,[2,34]),{27:45,55:n,56:s,57:r},t(h,[2,37]),t(h,c,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:u,10:x,12:g,13:f,14:y,18:p,25:T,35:m,37:q,39:_,41:A,42:b,48:k,50:S,51:F,52:P,53:v,54:C,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),t(h,[2,39]),t(h,[2,40]),t(h,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(h,[2,45]),t(h,[2,46]),{18:[1,50]},{4:d,5:u,10:x,12:g,13:f,14:y,43:51,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:52,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:53,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:54,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:55,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:56,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,44:[1,57],47:[1,58],58:60,59:59,63:E,64:D,65:z,66:I,67:w},t(R,[2,64]),t(R,[2,66]),t(R,[2,67]),t(R,[2,70]),t(R,[2,71]),t(R,[2,72]),t(R,[2,73]),t(R,[2,74]),t(R,[2,75]),t(R,[2,76]),t(R,[2,77]),t(R,[2,78]),t(R,[2,79]),t(R,[2,80]),t(l,[2,35]),t(h,[2,38]),t(h,[2,42]),t(h,[2,43]),t(h,[2,44]),{3:64,4:$,5:U,6:O,7:M,8:Q,9:X,10:Y,11:Z,12:H,13:j,14:K,15:G,21:63},t(h,[2,53],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,49:[1,77],63:E,64:D,65:z,66:I,67:w}),t(h,[2,56],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,49:[1,78],63:E,64:D,65:z,66:I,67:w}),t(h,[2,57],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,58],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,59],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,60],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),{45:[1,79]},{44:[1,80]},t(R,[2,65]),t(R,[2,81]),t(R,[2,82]),t(R,[2,83]),{3:82,4:$,5:U,6:O,7:M,8:Q,9:X,10:Y,11:Z,12:H,13:j,14:K,15:G,18:[1,81]},t(V,[2,23]),t(V,[2,1]),t(V,[2,2]),t(V,[2,3]),t(V,[2,4]),t(V,[2,5]),t(V,[2,6]),t(V,[2,7]),t(V,[2,8]),t(V,[2,9]),t(V,[2,10]),t(V,[2,11]),t(V,[2,12]),t(h,[2,52],{58:31,43:83,4:d,5:u,10:x,12:g,13:f,14:y,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),t(h,[2,55],{58:31,43:84,4:d,5:u,10:x,12:g,13:f,14:y,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),{46:[1,85]},{45:[1,86]},{4:J,5:tt,6:te,8:ti,11:ta,13:tn,16:89,17:ts,18:tr,19:tl,20:to,22:88,23:87},t(V,[2,24]),t(h,[2,51],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,54],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,47],{22:88,16:89,23:100,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to}),{46:[1,101]},t(h,[2,29],{10:th}),t(tc,[2,27],{16:103,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to}),t(td,[2,25]),t(td,[2,13]),t(td,[2,14]),t(td,[2,15]),t(td,[2,16]),t(td,[2,17]),t(td,[2,18]),t(td,[2,19]),t(td,[2,20]),t(td,[2,21]),t(td,[2,22]),t(h,[2,49],{10:th}),t(h,[2,48],{22:88,16:89,23:104,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to}),{4:J,5:tt,6:te,8:ti,11:ta,13:tn,16:89,17:ts,18:tr,19:tl,20:to,22:105},t(td,[2,26]),t(h,[2,50],{10:th}),t(tc,[2,28],{16:103,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to})],defaultActions:{8:[2,30],9:[2,31]},parseError:(0,a.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,a.eW)(function(t){var e=this,i=[0],n=[],s=[null],r=[],l=this.table,o="",h=0,c=0,d=0,u=r.slice.call(arguments,1),x=Object.create(this.lexer),g={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(g.yy[f]=this.yy[f]);x.setInput(t,g.yy),g.yy.lexer=x,g.yy.parser=this,void 0===x.yylloc&&(x.yylloc={});var y=x.yylloc;r.push(y);var p=x.options&&x.options.ranges;"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function T(){var t;return"number"!=typeof(t=n.pop()||x.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}(0,a.eW)(function(t){i.length=i.length-2*t,s.length=s.length-t,r.length=r.length-t},"popStack"),(0,a.eW)(T,"lex");for(var m,q,_,A,b,k,S,F,P,v={};;){if(_=i[i.length-1],this.defaultActions[_]?A=this.defaultActions[_]:(null==m&&(m=T()),A=l[_]&&l[_][m]),void 0===A||!A.length||!A[0]){var C="";for(k in P=[],l[_])this.terminals_[k]&&k>2&&P.push("'"+this.terminals_[k]+"'");C=x.showPosition?"Parse error on line "+(h+1)+":\n"+x.showPosition()+"\nExpecting "+P.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(C,{text:x.match,token:this.terminals_[m]||m,line:x.yylineno,loc:y,expected:P})}if(A[0]instanceof Array&&A.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+m);switch(A[0]){case 1:i.push(m),s.push(x.yytext),r.push(x.yylloc),i.push(A[1]),m=null,q?(m=q,q=null):(c=x.yyleng,o=x.yytext,h=x.yylineno,y=x.yylloc,d>0&&d--);break;case 2:if(S=this.productions_[A[1]][1],v.$=s[s.length-S],v._$={first_line:r[r.length-(S||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(S||1)].first_column,last_column:r[r.length-1].last_column},p&&(v._$.range=[r[r.length-(S||1)].range[0],r[r.length-1].range[1]]),void 0!==(b=this.performAction.apply(v,[o,c,h,g.yy,A[1],s,r].concat(u))))return b;S&&(i=i.slice(0,-1*S*2),s=s.slice(0,-1*S),r=r.slice(0,-1*S)),i.push(this.productions_[A[1]][0]),s.push(v.$),r.push(v._$),F=l[i[i.length-2]][i[i.length-1]],i.push(F);break;case 3:return!0}}return!0},"parse")},tx={EOF:1,parseError:(0,a.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.eW)(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},"setInput"),input:(0,a.eW)(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},"input"),unput:(0,a.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===a.length?this.yylloc.first_column:0)+a[a.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,a.eW)(function(){return this._more=!0,this},"more"),reject:(0,a.eW)(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})},"reject"),less:(0,a.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.eW)(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,"")},"upcomingInput"),showPosition:(0,a.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.eW)(function(t,e){var i,a,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},"test_match"),next:(0,a.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,a,n=this._currentRules(),s=0;se[0].length)){if(e=i,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,n[a]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,a.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,a.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,a.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.eW)(function(t,e,i,a){switch(i){case 0:case 1:case 3:break;case 2:return 55;case 4:return this.begin("title"),35;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),37;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),39;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 23:case 25:case 31:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 24:this.begin("string");break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;case 29:return this.begin("point_start"),44;case 30:return this.begin("point_x"),45;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;case 34:return 28;case 35:return 4;case 36:return 11;case 37:return 64;case 38:return 10;case 39:case 40:return 65;case 41:return 14;case 42:return 13;case 43:return 67;case 44:return 66;case 45:return 12;case 46:return 8;case 47:return 5;case 48:return 18;case 49:return 56;case 50:return 63;case 51:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}};function tg(){this.yy={}}return tu.lexer=tx,(0,a.eW)(tg,"Parser"),tg.prototype=tu,tu.Parser=tg,new tg}();s.parser=s;var r=(0,a.xN)(),l=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{(0,a.eW)(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:a.vZ.quadrantChart?.chartWidth||500,chartWidth:a.vZ.quadrantChart?.chartHeight||500,titlePadding:a.vZ.quadrantChart?.titlePadding||10,titleFontSize:a.vZ.quadrantChart?.titleFontSize||20,quadrantPadding:a.vZ.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:a.vZ.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:a.vZ.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:a.vZ.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:a.vZ.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:a.vZ.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:a.vZ.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:a.vZ.quadrantChart?.pointTextPadding||5,pointLabelFontSize:a.vZ.quadrantChart?.pointLabelFontSize||12,pointRadius:a.vZ.quadrantChart?.pointRadius||5,xAxisPosition:a.vZ.quadrantChart?.xAxisPosition||"top",yAxisPosition:a.vZ.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:a.vZ.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:a.vZ.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:r.quadrant1Fill,quadrant2Fill:r.quadrant2Fill,quadrant3Fill:r.quadrant3Fill,quadrant4Fill:r.quadrant4Fill,quadrant1TextFill:r.quadrant1TextFill,quadrant2TextFill:r.quadrant2TextFill,quadrant3TextFill:r.quadrant3TextFill,quadrant4TextFill:r.quadrant4TextFill,quadrantPointFill:r.quadrantPointFill,quadrantPointTextFill:r.quadrantPointTextFill,quadrantXAxisTextFill:r.quadrantXAxisTextFill,quadrantYAxisTextFill:r.quadrantYAxisTextFill,quadrantTitleFill:r.quadrantTitleFill,quadrantInternalBorderStrokeFill:r.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:r.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,a.cM.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}addClass(t,e){this.classes.set(t,e)}setConfig(t){a.cM.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){a.cM.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,e,i,a){let n=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,s={top:"top"===t&&e?n:0,bottom:"bottom"===t&&e?n:0},r=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,l={left:"left"===this.config.yAxisPosition&&i?r:0,right:"right"===this.config.yAxisPosition&&i?r:0},o=this.config.titleFontSize+2*this.config.titlePadding,h={top:a?o:0},c=this.config.quadrantPadding+l.left,d=this.config.quadrantPadding+s.top+h.top,u=this.config.chartWidth-2*this.config.quadrantPadding-l.left-l.right,x=this.config.chartHeight-2*this.config.quadrantPadding-s.top-s.bottom-h.top;return{xAxisSpace:s,yAxisSpace:l,titleSpace:h,quadrantSpace:{quadrantLeft:c,quadrantTop:d,quadrantWidth:u,quadrantHalfWidth:u/2,quadrantHeight:x,quadrantHalfHeight:x/2}}}getAxisLabels(t,e,i,a){let{quadrantSpace:n,titleSpace:s}=a,{quadrantHalfHeight:r,quadrantHeight:l,quadrantLeft:o,quadrantHalfWidth:h,quadrantTop:c,quadrantWidth:d}=n,u=!!this.data.xAxisRightText,x=!!this.data.yAxisTopText,g=[];return this.data.xAxisLeftText&&e&&g.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&e&&g.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+h+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&i&&g.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+l-(x?r/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&i&&g.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+r-(x?r/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),g}getQuadrants(t){let{quadrantSpace:e}=t,{quadrantHalfHeight:i,quadrantLeft:a,quadrantHalfWidth:n,quadrantTop:s}=e,r=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:s,width:n,height:i,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:s,width:n,height:i,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:s+i,width:n,height:i,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:s+i,width:n,height:i,fill:this.themeConfig.quadrant4Fill}];for(let t of r)t.text.x=t.x+t.width/2,0===this.data.points.length?(t.text.y=t.y+t.height/2,t.text.horizontalPos="middle"):(t.text.y=t.y+this.config.quadrantTextTopPadding,t.text.horizontalPos="top");return r}getQuadrantPoints(t){let{quadrantSpace:e}=t,{quadrantHeight:i,quadrantLeft:a,quadrantTop:s,quadrantWidth:r}=e,l=(0,n.BYU)().domain([0,1]).range([a,r+a]),o=(0,n.BYU)().domain([0,1]).range([i+s,s]);return this.data.points.map(t=>{let e=this.classes.get(t.className);return e&&(t={...e,...t}),{x:l(t.x),y:o(t.y),fill:t.color??this.themeConfig.quadrantPointFill,radius:t.radius??this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:l(t.x),y:o(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:t.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:t.strokeWidth??"0px"}})}getBorders(t){let e=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:i}=t,{quadrantHalfHeight:a,quadrantHeight:n,quadrantLeft:s,quadrantHalfWidth:r,quadrantTop:l,quadrantWidth:o}=i;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-e,y1:l,x2:s+o+e,y2:l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s+o,y1:l+e,x2:s+o,y2:l+n-e},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-e,y1:l+n,x2:s+o+e,y2:l+n},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s,y1:l+e,x2:s,y2:l+n-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+r,y1:l+e,x2:s+r,y2:l+n-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+e,y1:l+a,x2:s+o-e,y2:l+a}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let t=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),e=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),i=this.config.showTitle&&!!this.data.titleText,a=this.data.points.length>0?"bottom":this.config.xAxisPosition,n=this.calculateSpace(a,t,e,i);return{points:this.getQuadrantPoints(n),quadrants:this.getQuadrants(n),axisLabels:this.getAxisLabels(a,t,e,n),borderLines:this.getBorders(n),title:this.getTitle(i)}}},o=class extends Error{static{(0,a.eW)(this,"InvalidStyleError")}constructor(t,e,i){super(`value for ${t} ${e} is invalid, please use a valid ${i}`),this.name="InvalidStyleError"}};function h(t){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t)}function c(t){return!/^\d+$/.test(t)}function d(t){return!/^\d+px$/.test(t)}(0,a.eW)(h,"validateHexCode"),(0,a.eW)(c,"validateNumber"),(0,a.eW)(d,"validateSizeInPixels");var u=(0,a.nV)();function x(t){return(0,a.oO)(t.trim(),u)}(0,a.eW)(x,"textSanitizer");var g=new l;function f(t){g.setData({quadrant1Text:x(t.text)})}function y(t){g.setData({quadrant2Text:x(t.text)})}function p(t){g.setData({quadrant3Text:x(t.text)})}function T(t){g.setData({quadrant4Text:x(t.text)})}function m(t){g.setData({xAxisLeftText:x(t.text)})}function q(t){g.setData({xAxisRightText:x(t.text)})}function _(t){g.setData({yAxisTopText:x(t.text)})}function A(t){g.setData({yAxisBottomText:x(t.text)})}function b(t){let e={};for(let i of t){let[t,a]=i.trim().split(/\s*:\s*/);if("radius"===t){if(c(a))throw new o(t,a,"number");e.radius=parseInt(a)}else if("color"===t){if(h(a))throw new o(t,a,"hex code");e.color=a}else if("stroke-color"===t){if(h(a))throw new o(t,a,"hex code");e.strokeColor=a}else if("stroke-width"===t){if(d(a))throw new o(t,a,"number of pixels (eg. 10px)");e.strokeWidth=a}else throw Error(`style named ${t} is not supported.`)}return e}function k(t,e,i,a,n){let s=b(n);g.addPoints([{x:i,y:a,text:x(t.text),className:e,...s}])}function S(t,e){g.addClass(t,b(e))}function F(t){g.setConfig({chartWidth:t})}function P(t){g.setConfig({chartHeight:t})}function v(){let{themeVariables:t,quadrantChart:e}=(0,a.nV)();return e&&g.setConfig(e),g.setThemeConfig({quadrant1Fill:t.quadrant1Fill,quadrant2Fill:t.quadrant2Fill,quadrant3Fill:t.quadrant3Fill,quadrant4Fill:t.quadrant4Fill,quadrant1TextFill:t.quadrant1TextFill,quadrant2TextFill:t.quadrant2TextFill,quadrant3TextFill:t.quadrant3TextFill,quadrant4TextFill:t.quadrant4TextFill,quadrantPointFill:t.quadrantPointFill,quadrantPointTextFill:t.quadrantPointTextFill,quadrantXAxisTextFill:t.quadrantXAxisTextFill,quadrantYAxisTextFill:t.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:t.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:t.quadrantInternalBorderStrokeFill,quadrantTitleFill:t.quadrantTitleFill}),g.setData({titleText:(0,a.Kr)()}),g.build()}(0,a.eW)(f,"setQuadrant1Text"),(0,a.eW)(y,"setQuadrant2Text"),(0,a.eW)(p,"setQuadrant3Text"),(0,a.eW)(T,"setQuadrant4Text"),(0,a.eW)(m,"setXAxisLeftText"),(0,a.eW)(q,"setXAxisRightText"),(0,a.eW)(_,"setYAxisTopText"),(0,a.eW)(A,"setYAxisBottomText"),(0,a.eW)(b,"parseStyles"),(0,a.eW)(k,"addPoint"),(0,a.eW)(S,"addClass"),(0,a.eW)(F,"setWidth"),(0,a.eW)(P,"setHeight"),(0,a.eW)(v,"getQuadrantData");var C={setWidth:F,setHeight:P,setQuadrant1Text:f,setQuadrant2Text:y,setQuadrant3Text:p,setQuadrant4Text:T,setXAxisLeftText:m,setXAxisRightText:q,setYAxisTopText:_,setYAxisBottomText:A,parseStyles:b,addPoint:k,addClass:S,getQuadrantData:v,clear:(0,a.eW)(function(){g.clear(),(0,a.ZH)()},"clear"),setAccTitle:a.GN,getAccTitle:a.eu,setDiagramTitle:a.g2,getDiagramTitle:a.Kr,getAccDescription:a.Mx,setAccDescription:a.U$},W=(0,a.eW)((t,e,i,s)=>{let r;function l(t){return"top"===t?"hanging":"middle"}function o(t){return"left"===t?"start":"middle"}function h(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,a.eW)(l,"getDominantBaseLine"),(0,a.eW)(o,"getTextAnchor"),(0,a.eW)(h,"getTransformation");let c=(0,a.nV)();a.cM.debug("Rendering quadrant chart\n"+t);let d=c.securityLevel;"sandbox"===d&&(r=(0,n.Ys)("#i"+e));let u=("sandbox"===d?(0,n.Ys)(r.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id="${e}"]`),x=u.append("g").attr("class","main"),g=c.quadrantChart?.chartWidth??500,f=c.quadrantChart?.chartHeight??500;(0,a.v2)(u,f,g,c.quadrantChart?.useMaxWidth??!0),u.attr("viewBox","0 0 "+g+" "+f),s.db.setHeight(f),s.db.setWidth(g);let y=s.db.getQuadrantData(),p=x.append("g").attr("class","quadrants"),T=x.append("g").attr("class","border"),m=x.append("g").attr("class","data-points"),q=x.append("g").attr("class","labels"),_=x.append("g").attr("class","title");y.title&&_.append("text").attr("x",0).attr("y",0).attr("fill",y.title.fill).attr("font-size",y.title.fontSize).attr("dominant-baseline",l(y.title.horizontalPos)).attr("text-anchor",o(y.title.verticalPos)).attr("transform",h(y.title)).text(y.title.text),y.borderLines&&T.selectAll("line").data(y.borderLines).enter().append("line").attr("x1",t=>t.x1).attr("y1",t=>t.y1).attr("x2",t=>t.x2).attr("y2",t=>t.y2).style("stroke",t=>t.strokeFill).style("stroke-width",t=>t.strokeWidth);let A=p.selectAll("g.quadrant").data(y.quadrants).enter().append("g").attr("class","quadrant");A.append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill),A.append("text").attr("x",0).attr("y",0).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>l(t.text.horizontalPos)).attr("text-anchor",t=>o(t.text.verticalPos)).attr("transform",t=>h(t.text)).text(t=>t.text.text),q.selectAll("g.label").data(y.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(t=>t.text).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>l(t.horizontalPos)).attr("text-anchor",t=>o(t.verticalPos)).attr("transform",t=>h(t));let b=m.selectAll("g.data-point").data(y.points).enter().append("g").attr("class","data-point");b.append("circle").attr("cx",t=>t.x).attr("cy",t=>t.y).attr("r",t=>t.radius).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeColor).attr("stroke-width",t=>t.strokeWidth),b.append("text").attr("x",0).attr("y",0).text(t=>t.text.text).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>l(t.text.horizontalPos)).attr("text-anchor",t=>o(t.text.verticalPos)).attr("transform",t=>h(t.text))},"draw"),L={parser:s,db:C,renderer:{draw:W},styles:(0,a.eW)(()=>"","styles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/455d01c6.1cd1e0f1.js b/pr-preview/pr-3/assets/js/455d01c6.1cd1e0f1.js new file mode 100644 index 0000000..f8bf3aa --- /dev/null +++ b/pr-preview/pr-3/assets/js/455d01c6.1cd1e0f1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5706"],{29240:function(e,t,r){r.r(t),r.d(t,{metadata:()=>s,contentTitle:()=>i,default:()=>d,assets:()=>u,toc:()=>c,frontMatter:()=>n});var s=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_blog_post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","source":"@site/docs/docusaurus/tutorial_basics/create_a_blog_post.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_blog_post","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_blog_post.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":3,"frontMatter":{"sidebar_position":3},"sidebar":"tutorialSidebar","previous":{"title":"Create a Document","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document"},"next":{"title":"Markdown Features","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features"}}'),a=r("85893"),o=r("50065");let n={sidebar_position:3},i="Create a Blog Post",u={},c=[{value:"Create your first Post",id:"create-your-first-post",level:2}];function l(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"create-a-blog-post",children:"Create a Blog Post"})}),"\n",(0,a.jsxs)(t.p,{children:["Docusaurus creates a ",(0,a.jsx)(t.strong,{children:"page for each blog post"}),", but also a ",(0,a.jsx)(t.strong,{children:"blog index page"}),", a ",(0,a.jsx)(t.strong,{children:"tag system"}),", an ",(0,a.jsx)(t.strong,{children:"RSS"})," feed..."]}),"\n",(0,a.jsx)(t.h2,{id:"create-your-first-post",children:"Create your first Post"}),"\n",(0,a.jsxs)(t.p,{children:["Create a file at ",(0,a.jsx)(t.code,{children:"blog/2021-02-28-greetings.md"}),":"]}),"\n",(0,a.jsx)(t.pre,{children:(0,a.jsx)(t.code,{className:"language-md",metastring:'title="blog/2021-02-28-greetings.md"',children:"---\nslug: greetings\ntitle: Greetings!\nauthors:\n - name: Joel Marcey\n title: Co-creator of Docusaurus 1\n url: https://github.com/JoelMarcey\n image_url: https://github.com/JoelMarcey.png\n - name: S\xe9bastien Lorber\n title: Docusaurus maintainer\n url: https://sebastienlorber.com\n image_url: https://github.com/slorber.png\ntags: [greetings]\n---\n\nCongratulations, you have made your first post!\n\nFeel free to play around and edit this post as much as you like.\n"})}),"\n",(0,a.jsxs)(t.p,{children:["A new blog post is now available at ",(0,a.jsx)(t.a,{href:"http://localhost:3000/blog/greetings",children:"http://localhost:3000/blog/greetings"}),"."]})]})}function d(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}},50065:function(e,t,r){r.d(t,{Z:function(){return i},a:function(){return n}});var s=r(67294);let a={},o=s.createContext(a);function n(e){let t=s.useContext(o);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:n(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/4825bf29.3627fb0a.js b/pr-preview/pr-3/assets/js/4825bf29.3627fb0a.js new file mode 100644 index 0000000..a33a0eb --- /dev/null +++ b/pr-preview/pr-3/assets/js/4825bf29.3627fb0a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4420"],{13987:function(e){e.exports=JSON.parse('{"tag":{"label":"Business","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/business","description":"Content related to business cases and rationale","allTagsPath":"/nr-pies/pr-preview/pr-3/docs/tags","count":2,"items":[{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","permalink":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started"},{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","permalink":"/nr-pies/pr-preview/pr-3/docs/intro/terminology"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/4842.6de26794.js b/pr-preview/pr-3/assets/js/4842.6de26794.js new file mode 100644 index 0000000..a006d49 --- /dev/null +++ b/pr-preview/pr-3/assets/js/4842.6de26794.js @@ -0,0 +1,117 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4842"],{18825:function(t,e,a){a.d(e,{A:function(){return i}});var r=a(5995),i=class{constructor(t){this.init=t,this.records=this.init()}static{(0,r.eW)(this,"ImperativeState")}reset(){this.records=this.init()}}},98711:function(t,e,a){a.d(e,{AD:function(){return h},AE:function(){return c},Mu:function(){return s},O:function(){return n},kc:function(){return d},rB:function(){return l},yU:function(){return o}});var r=a(5995),i=a(17967),s=(0,r.eW)((t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),n=(0,r.eW)((t,e)=>{s(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),o=(0,r.eW)((t,e)=>{let a=e.text.replace(r.Vw," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),e.class&&i.attr("class",e.class);let s=i.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(a),i},"drawText"),c=(0,r.eW)((t,e,a,r)=>{let s=t.append("image");s.attr("x",e),s.attr("y",a);let n=(0,i.sanitizeUrl)(r);s.attr("xlink:href",n)},"drawImage"),l=(0,r.eW)((t,e,a,r)=>{let s=t.append("use");s.attr("x",e),s.attr("y",a);let n=(0,i.sanitizeUrl)(r);s.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),d=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},52521:function(t,e,a){a.d(e,{diagram:function(){return tj}});var r=a(98711),i=a(18825),s=a(7690),n=a(5995),o=a(27818),c=a(17967),l=function(){var t=(0,n.eW)(function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a},"o"),e=[1,2],a=[1,3],r=[1,4],i=[2,4],s=[1,9],o=[1,11],c=[1,13],l=[1,14],d=[1,16],h=[1,17],p=[1,18],g=[1,24],u=[1,25],x=[1,26],y=[1,27],m=[1,28],b=[1,29],f=[1,30],T=[1,31],E=[1,32],w=[1,33],I=[1,34],L=[1,35],P=[1,36],_=[1,37],k=[1,38],v=[1,39],M=[1,41],A=[1,42],N=[1,43],S=[1,44],O=[1,45],D=[1,46],W=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],R=[4,5,16,50,52,53],Y=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],C=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],B=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],V=[68,69,70],F=[1,122],q={trace:(0,n.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:(0,n.eW)(function(t,e,a,r,i,s,n){var o=s.length-1;switch(i){case 3:return r.apply(s[o]),s[o];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:s[o-1].push(s[o]),this.$=s[o-1];break;case 6:case 7:case 11:case 12:case 62:this.$=s[o];break;case 15:s[o].type="createParticipant",this.$=s[o];break;case 16:s[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(s[o-2])}),s[o-1].push({type:"boxEnd",boxText:s[o-2]}),this.$=s[o-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(s[o-2]),sequenceIndexStep:Number(s[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(s[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:s[o-1].actor};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:s[o-1].actor};break;case 29:r.setDiagramTitle(s[o].substring(6)),this.$=s[o].substring(6);break;case 30:r.setDiagramTitle(s[o].substring(7)),this.$=s[o].substring(7);break;case 31:this.$=s[o].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=s[o].trim(),r.setAccDescription(this.$);break;case 34:s[o-1].unshift({type:"loopStart",loopText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.LOOP_START}),s[o-1].push({type:"loopEnd",loopText:s[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=s[o-1];break;case 35:s[o-1].unshift({type:"rectStart",color:r.parseMessage(s[o-2]),signalType:r.LINETYPE.RECT_START}),s[o-1].push({type:"rectEnd",color:r.parseMessage(s[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=s[o-1];break;case 36:s[o-1].unshift({type:"optStart",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.OPT_START}),s[o-1].push({type:"optEnd",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=s[o-1];break;case 37:s[o-1].unshift({type:"altStart",altText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.ALT_START}),s[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=s[o-1];break;case 38:s[o-1].unshift({type:"parStart",parText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.PAR_START}),s[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=s[o-1];break;case 39:s[o-1].unshift({type:"parStart",parText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),s[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=s[o-1];break;case 40:s[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.CRITICAL_START}),s[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=s[o-1];break;case 41:s[o-1].unshift({type:"breakStart",breakText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.BREAK_START}),s[o-1].push({type:"breakEnd",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=s[o-1];break;case 43:this.$=s[o-3].concat([{type:"option",optionText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},s[o]]);break;case 45:this.$=s[o-3].concat([{type:"and",parText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.PAR_AND},s[o]]);break;case 47:this.$=s[o-3].concat([{type:"else",altText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.ALT_ELSE},s[o]]);break;case 48:s[o-3].draw="participant",s[o-3].type="addParticipant",s[o-3].description=r.parseMessage(s[o-1]),this.$=s[o-3];break;case 49:s[o-1].draw="participant",s[o-1].type="addParticipant",this.$=s[o-1];break;case 50:s[o-3].draw="actor",s[o-3].type="addParticipant",s[o-3].description=r.parseMessage(s[o-1]),this.$=s[o-3];break;case 51:s[o-1].draw="actor",s[o-1].type="addParticipant",this.$=s[o-1];break;case 52:s[o-1].type="destroyParticipant",this.$=s[o-1];break;case 53:this.$=[s[o-1],{type:"addNote",placement:s[o-2],actor:s[o-1].actor,text:s[o]}];break;case 54:s[o-2]=[].concat(s[o-1],s[o-1]).slice(0,2),s[o-2][0]=s[o-2][0].actor,s[o-2][1]=s[o-2][1].actor,this.$=[s[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:s[o-2].slice(0,2),text:s[o]}];break;case 55:this.$=[s[o-1],{type:"addLinks",actor:s[o-1].actor,text:s[o]}];break;case 56:this.$=[s[o-1],{type:"addALink",actor:s[o-1].actor,text:s[o]}];break;case 57:this.$=[s[o-1],{type:"addProperties",actor:s[o-1].actor,text:s[o]}];break;case 58:this.$=[s[o-1],{type:"addDetails",actor:s[o-1].actor,text:s[o]}];break;case 61:this.$=[s[o-2],s[o]];break;case 63:this.$=r.PLACEMENT.LEFTOF;break;case 64:this.$=r.PLACEMENT.RIGHTOF;break;case 65:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:s[o-1].actor}];break;case 66:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:s[o-4].actor}];break;case 67:this.$=[s[o-3],s[o-1],{type:"addMessage",from:s[o-3].actor,to:s[o-1].actor,signalType:s[o-2],msg:s[o]}];break;case 68:this.$={type:"addParticipant",actor:s[o]};break;case 69:this.$=r.LINETYPE.SOLID_OPEN;break;case 70:this.$=r.LINETYPE.DOTTED_OPEN;break;case 71:this.$=r.LINETYPE.SOLID;break;case 72:this.$=r.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=r.LINETYPE.DOTTED;break;case 74:this.$=r.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=r.LINETYPE.SOLID_CROSS;break;case 76:this.$=r.LINETYPE.DOTTED_CROSS;break;case 77:this.$=r.LINETYPE.SOLID_POINT;break;case 78:this.$=r.LINETYPE.DOTTED_POINT;break;case 79:this.$=r.parseMessage(s[o].trim().substring(1))}},"anonymous"),table:[{3:1,4:e,5:a,6:r},{1:[3]},{3:5,4:e,5:a,6:r},{3:6,4:e,5:a,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:o,8:8,9:10,12:12,13:c,14:l,17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},t(W,[2,5]),{9:47,12:12,13:c,14:l,17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},t(W,[2,7]),t(W,[2,8]),t(W,[2,14]),{12:48,50:_,52:k,53:v},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:D},{22:55,70:D},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(W,[2,29]),t(W,[2,30]),{32:[1,61]},{34:[1,62]},t(W,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:D},{22:72,70:D},{22:73,70:D},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:D},{22:90,70:D},{22:91,70:D},{22:92,70:D},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(W,[2,6]),t(W,[2,15]),t(R,[2,9],{10:93}),t(W,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(W,[2,21]),{5:[1,97]},{5:[1,98]},t(W,[2,24]),t(W,[2,25]),t(W,[2,26]),t(W,[2,27]),t(W,[2,28]),t(W,[2,31]),t(W,[2,32]),t(Y,i,{7:99}),t(Y,i,{7:100}),t(Y,i,{7:101}),t(C,i,{40:102,7:103}),t(B,i,{42:104,7:105}),t(B,i,{7:105,42:106}),t($,i,{45:107,7:108}),t(Y,i,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:D},t(V,[2,69]),t(V,[2,70]),t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),t(V,[2,77]),t(V,[2,78]),{22:118,70:D},{22:120,58:119,70:D},{70:[2,63]},{70:[2,64]},{56:121,81:F},{56:123,81:F},{56:124,81:F},{56:125,81:F},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:_,52:k,53:v},{5:[1,131]},t(W,[2,19]),t(W,[2,20]),t(W,[2,22]),t(W,[2,23]),{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,132],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,133],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,134],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{16:[1,135]},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,46],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,49:[1,136],50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{16:[1,137]},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,44],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,48:[1,138],50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{16:[1,139]},{16:[1,140]},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,42],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,47:[1,141],50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,142],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{15:[1,143]},t(W,[2,49]),{15:[1,144]},t(W,[2,51]),t(W,[2,52]),{22:145,70:D},{22:146,70:D},{56:147,81:F},{56:148,81:F},{56:149,81:F},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(W,[2,16]),t(R,[2,10]),{12:151,50:_,52:k,53:v},t(R,[2,12]),t(R,[2,13]),t(W,[2,18]),t(W,[2,34]),t(W,[2,35]),t(W,[2,36]),t(W,[2,37]),{15:[1,152]},t(W,[2,38]),{15:[1,153]},t(W,[2,39]),t(W,[2,40]),{15:[1,154]},t(W,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:F},{56:158,81:F},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:D},t(R,[2,11]),t(C,i,{7:103,40:160}),t(B,i,{7:105,42:161}),t($,i,{7:108,45:162}),t(W,[2,48]),t(W,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:(0,n.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},"parseError"),parse:(0,n.eW)(function(t){var e=this,a=[0],r=[],i=[null],s=[],o=this.table,c="",l=0,d=0,h=0,p=s.slice.call(arguments,1),g=Object.create(this.lexer),u={yy:{}};for(var x in this.yy)Object.prototype.hasOwnProperty.call(this.yy,x)&&(u.yy[x]=this.yy[x]);g.setInput(t,u.yy),u.yy.lexer=g,u.yy.parser=this,void 0===g.yylloc&&(g.yylloc={});var y=g.yylloc;s.push(y);var m=g.options&&g.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(){var t;return"number"!=typeof(t=r.pop()||g.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,n.eW)(function(t){a.length=a.length-2*t,i.length=i.length-t,s.length=s.length-t},"popStack"),(0,n.eW)(b,"lex");for(var f,T,E,w,I,L,P,_,k,v={};;){if(E=a[a.length-1],this.defaultActions[E]?w=this.defaultActions[E]:(null==f&&(f=b()),w=o[E]&&o[E][f]),void 0===w||!w.length||!w[0]){var M="";for(L in k=[],o[E])this.terminals_[L]&&L>2&&k.push("'"+this.terminals_[L]+"'");M=g.showPosition?"Parse error on line "+(l+1)+":\n"+g.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:g.match,token:this.terminals_[f]||f,line:g.yylineno,loc:y,expected:k})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+f);switch(w[0]){case 1:a.push(f),i.push(g.yytext),s.push(g.yylloc),a.push(w[1]),f=null,T?(f=T,T=null):(d=g.yyleng,c=g.yytext,l=g.yylineno,y=g.yylloc,h>0&&h--);break;case 2:if(P=this.productions_[w[1]][1],v.$=i[i.length-P],v._$={first_line:s[s.length-(P||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(P||1)].first_column,last_column:s[s.length-1].last_column},m&&(v._$.range=[s[s.length-(P||1)].range[0],s[s.length-1].range[1]]),void 0!==(I=this.performAction.apply(v,[c,d,l,u.yy,w[1],i,s].concat(p))))return I;P&&(a=a.slice(0,-1*P*2),i=i.slice(0,-1*P),s=s.slice(0,-1*P)),a.push(this.productions_[w[1]][0]),i.push(v.$),s.push(v._$),_=o[a[a.length-2]][a[a.length-1]],a.push(_);break;case 3:return!0}}return!0},"parse")},z={EOF:1,parseError:(0,n.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,n.eW)(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},"setInput"),input:(0,n.eW)(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},"input"),unput:(0,n.eW)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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),a.length-1&&(this.yylineno-=a.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:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[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},"unput"),more:(0,n.eW)(function(){return this._more=!0,this},"more"),reject:(0,n.eW)(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})},"reject"),less:(0,n.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,n.eW)(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,"")},"upcomingInput"),showPosition:(0,n.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,n.eW)(function(t,e){var a,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],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var s in i)this[s]=i[s];return!1},"test_match"),next:(0,n.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,a,r,i=this._currentRules(),s=0;se[0].length)){if(e=a,r=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[r]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,n.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,n.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,n.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.eW)(function(t,e,a,r){switch(a){case 0:case 51:case 66:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 52:return e.yytext=e.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 75;case 56:return 76;case 57:return 71;case 58:return 72;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 80;case 63:return 81;case 64:return 68;case 65:return 69;case 67:return"INVALID"}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\<->\->:\n,;]+?([\-]*[^\<->\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\<->\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\<->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}};function H(){this.yy={}}return q.lexer=z,(0,n.eW)(H,"Parser"),H.prototype=q,q.Parser=H,new H}();l.parser=l;var d=new i.A(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),h=(0,n.eW)(function(t){d.records.boxes.push({name:t.text,wrap:t.wrap??A(),fill:t.color,actorKeys:[]}),d.records.currentBox=d.records.boxes.slice(-1)[0]},"addBox"),p=(0,n.eW)(function(t,e,a,r){let i=d.records.currentBox,s=d.records.actors.get(t);if(s){if(d.records.currentBox&&s.box&&d.records.currentBox!==s.box)throw Error(`A same participant should only be defined in one Box: ${s.name} can't be in '${s.box.name}' and in '${d.records.currentBox.name}' at the same time.`);if(i=s.box?s.box:d.records.currentBox,s.box=i,s&&e===s.name&&null==a)return}if(a?.text==null&&(a={text:e,type:r}),(null==r||null==a.text)&&(a={text:e,type:r}),d.records.actors.set(t,{box:i,name:e,description:a.text,wrap:a.wrap??A(),prevActor:d.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r??"participant"}),d.records.prevActor){let e=d.records.actors.get(d.records.prevActor);e&&(e.nextActor=t)}d.records.currentBox&&d.records.currentBox.actorKeys.push(t),d.records.prevActor=t},"addActor"),g=(0,n.eW)(t=>{let e;let a=0;if(!t)return 0;for(e=0;eg(t??"")){let e=Error("Trying to inactivate an inactive participant ("+t+")");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 d.records.messages.push({from:t,to:e,message:a?.text??"",wrap:a?.wrap??A(),type:r,activate:i}),!0},"addSignal"),y=(0,n.eW)(function(){return d.records.boxes.length>0},"hasAtLeastOneBox"),m=(0,n.eW)(function(){return d.records.boxes.some(t=>t.name)},"hasAtLeastOneBoxWithTitle"),b=(0,n.eW)(function(){return d.records.messages},"getMessages"),f=(0,n.eW)(function(){return d.records.boxes},"getBoxes"),T=(0,n.eW)(function(){return d.records.actors},"getActors"),E=(0,n.eW)(function(){return d.records.createdActors},"getCreatedActors"),w=(0,n.eW)(function(){return d.records.destroyedActors},"getDestroyedActors"),I=(0,n.eW)(function(t){return d.records.actors.get(t)},"getActor"),L=(0,n.eW)(function(){return[...d.records.actors.keys()]},"getActorKeys"),P=(0,n.eW)(function(){d.records.sequenceNumbersEnabled=!0},"enableSequenceNumbers"),_=(0,n.eW)(function(){d.records.sequenceNumbersEnabled=!1},"disableSequenceNumbers"),k=(0,n.eW)(()=>d.records.sequenceNumbersEnabled,"showSequenceNumbers"),v=(0,n.eW)(function(t){d.records.wrapEnabled=t},"setWrap"),M=(0,n.eW)(t=>{if(void 0===t)return{};t=t.trim();let e=null!==/^:?wrap:/.exec(t)||null===/^:?nowrap:/.exec(t)&&void 0;return{cleanedText:(void 0===e?t:t.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:e}},"extractWrap"),A=(0,n.eW)(()=>void 0!==d.records.wrapEnabled?d.records.wrapEnabled:n.nV().sequence?.wrap??!1,"autoWrap"),N=(0,n.eW)(function(){d.reset(),(0,n.ZH)()},"clear"),S=(0,n.eW)(function(t){let{wrap:e,cleanedText:a}=M(t.trim()),r={text:a,wrap:e};return n.cM.debug(`parseMessage: ${JSON.stringify(r)}`),r},"parseMessage"),O=(0,n.eW)(function(t){let e=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(t),a=e?.[1]?e[1].trim():"transparent",r=e?.[2]?e[2].trim():void 0;if(window?.CSS)!window.CSS.supports("color",a)&&(a="transparent",r=t.trim());else{let e=new Option().style;e.color=a,e.color!==a&&(a="transparent",r=t.trim())}let{wrap:i,cleanedText:s}=M(r);return{text:s?(0,n.oO)(s,(0,n.nV)()):void 0,color:a,wrap:i}},"parseBoxData"),D={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34},W=(0,n.eW)(function(t,e,a){let r={actor:t,placement:e,message:a.text,wrap:a.wrap??A()},i=[].concat(t,t);d.records.notes.push(r),d.records.messages.push({from:i[0],to:i[1],message:a.text,wrap:a.wrap??A(),type:D.NOTE,placement:e})},"addNote"),R=(0,n.eW)(function(t,e){let a=I(t);try{let t=(0,n.oO)(e.text,(0,n.nV)());t=(t=t.replace(/&/g,"&")).replace(/=/g,"=");let r=JSON.parse(t);C(a,r)}catch(t){n.cM.error("error while parsing actor link text",t)}},"addLinks"),Y=(0,n.eW)(function(t,e){let a=I(t);try{let t={},r=(0,n.oO)(e.text,(0,n.nV)()),i=r.indexOf("@"),s=(r=(r=r.replace(/&/g,"&")).replace(/=/g,"=")).slice(0,i-1).trim(),o=r.slice(i+1).trim();t[s]=o,C(a,t)}catch(t){n.cM.error("error while parsing actor link text",t)}},"addALink");function C(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}(0,n.eW)(C,"insertLinks");var B=(0,n.eW)(function(t,e){let a=I(t);try{let t=(0,n.oO)(e.text,(0,n.nV)()),r=JSON.parse(t);$(a,r)}catch(t){n.cM.error("error while parsing actor properties text",t)}},"addProperties");function $(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}function V(){d.records.currentBox=void 0}(0,n.eW)($,"insertProperties"),(0,n.eW)(V,"boxEnd");var F=(0,n.eW)(function(t,e){let a=I(t),r=document.getElementById(e.text);try{let t=r.innerHTML,e=JSON.parse(t);e.properties&&$(a,e.properties),e.links&&C(a,e.links)}catch(t){n.cM.error("error while parsing actor details text",t)}},"addDetails"),q=(0,n.eW)(function(t,e){if(t?.properties!==void 0)return t.properties[e]},"getActorProperty"),z=(0,n.eW)(function(t){if(Array.isArray(t))t.forEach(function(t){z(t)});else switch(t.type){case"sequenceIndex":d.records.messages.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":p(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(d.records.actors.has(t.actor))throw Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");d.records.lastCreated=t.actor,p(t.actor,t.actor,t.description,t.draw),d.records.createdActors.set(t.actor,d.records.messages.length);break;case"destroyParticipant":d.records.lastDestroyed=t.actor,d.records.destroyedActors.set(t.actor,d.records.messages.length);break;case"activeStart":case"activeEnd":x(t.actor,void 0,void 0,t.signalType);break;case"addNote":W(t.actor,t.placement,t.text);break;case"addLinks":R(t.actor,t.text);break;case"addALink":Y(t.actor,t.text);break;case"addProperties":B(t.actor,t.text);break;case"addDetails":F(t.actor,t.text);break;case"addMessage":if(d.records.lastCreated){if(t.to!==d.records.lastCreated)throw Error("The created participant "+d.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");d.records.lastCreated=void 0}else if(d.records.lastDestroyed){if(t.to!==d.records.lastDestroyed&&t.from!==d.records.lastDestroyed)throw Error("The destroyed participant "+d.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");d.records.lastDestroyed=void 0}x(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":h(t.boxData);break;case"boxEnd":V();break;case"loopStart":x(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":x(void 0,void 0,void 0,t.signalType);break;case"rectStart":x(void 0,void 0,t.color,t.signalType);break;case"optStart":x(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":x(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,n.GN)(t.text);break;case"parStart":case"and":x(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":x(void 0,void 0,t.criticalText,t.signalType);break;case"option":x(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":x(void 0,void 0,t.breakText,t.signalType);break;case"breakEnd":x(void 0,void 0,void 0,t.signalType)}},"apply"),H={addActor:p,addMessage:u,addSignal:x,addLinks:R,addDetails:F,addProperties:B,autoWrap:A,setWrap:v,enableSequenceNumbers:P,disableSequenceNumbers:_,showSequenceNumbers:k,getMessages:b,getActors:T,getCreatedActors:E,getDestroyedActors:w,getActor:I,getActorKeys:L,getActorProperty:q,getAccTitle:n.eu,getBoxes:f,getDiagramTitle:n.Kr,setDiagramTitle:n.g2,getConfig:(0,n.eW)(()=>(0,n.nV)().sequence,"getConfig"),clear:N,parseMessage:S,parseBoxData:O,LINETYPE:D,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:W,setAccTitle:n.GN,apply:z,setAccDescription:n.U$,getAccDescription:n.Mx,hasAtLeastOneBox:y,hasAtLeastOneBoxWithTitle:m},U=(0,n.eW)(t=>`.actor { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + } + + text.actor > tspan { + fill: ${t.actorTextColor}; + stroke: none; + } + + .actor-line { + stroke: ${t.actorLineColor}; + } + + .messageLine0 { + stroke-width: 1.5; + stroke-dasharray: none; + stroke: ${t.signalColor}; + } + + .messageLine1 { + stroke-width: 1.5; + stroke-dasharray: 2, 2; + stroke: ${t.signalColor}; + } + + #arrowhead path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; + } + + .sequenceNumber { + fill: ${t.sequenceNumberColor}; + } + + #sequencenumber { + fill: ${t.signalColor}; + } + + #crosshead path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; + } + + .messageText { + fill: ${t.signalTextColor}; + stroke: none; + } + + .labelBox { + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBkgColor}; + } + + .labelText, .labelText > tspan { + fill: ${t.labelTextColor}; + stroke: none; + } + + .loopText, .loopText > tspan { + fill: ${t.loopTextColor}; + stroke: none; + } + + .loopLine { + stroke-width: 2px; + stroke-dasharray: 2, 2; + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBorderColor}; + } + + .note { + //stroke: #decc93; + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; + } + + .noteText, .noteText > tspan { + fill: ${t.noteTextColor}; + stroke: none; + } + + .activation0 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .activation1 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .activation2 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .actorPopupMenu { + position: absolute; + } + + .actorPopupMenuPanel { + position: absolute; + fill: ${t.actorBkg}; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4)); +} + .actor-man line { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + } + .actor-man circle, line { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + stroke-width: 2px; + } +`,"getStyles"),j="actor-top",K="actor-bottom",G="actor-man",X=(0,n.eW)(function(t,e){return(0,r.Mu)(t,e)},"drawRect"),J=(0,n.eW)(function(t,e,a,r,i){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};let s=e.links,n=e.actorCnt,o=e.rectData;var l="none";i&&(l="block !important");let d=t.append("g");d.attr("id","actor"+n+"_popup"),d.attr("class","actorPopupMenu"),d.attr("display",l);var h="";void 0!==o.class&&(h=" "+o.class);let p=o.width>a?o.width:a,g=d.append("rect");if(g.attr("class","actorPopupMenuPanel"+h),g.attr("x",o.x),g.attr("y",o.height),g.attr("fill",o.fill),g.attr("stroke",o.stroke),g.attr("width",p),g.attr("height",o.height),g.attr("rx",o.rx),g.attr("ry",o.ry),null!=s){var u=20;for(let t in s){var x=d.append("a"),y=(0,c.sanitizeUrl)(s[t]);x.attr("xlink:href",y),x.attr("target","_blank"),tw(r)(t,x,o.x+10,o.height+u,p,20,{class:"actor"},r),u+=30}}return g.attr("height",u),{height:o.height+u,width:p}},"drawPopup"),Z=(0,n.eW)(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),Q=(0,n.eW)(async function(t,e,a=null){let r=t.append("foreignObject"),i=await (0,n.uT)(e.text,(0,n.iE)()),s=r.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();if(r.attr("height",Math.round(s.height)).attr("width",Math.round(s.width)),"noteText"===e.class){let a=t.node().firstChild;a.setAttribute("height",s.height+2*e.textMargin);let i=a.getBBox();r.attr("x",Math.round(i.x+i.width/2-s.width/2)).attr("y",Math.round(i.y+i.height/2-s.height/2))}else if(a){let{startx:t,stopx:i,starty:n}=a;if(t>i){let e=t;t=i,i=e}r.attr("x",Math.round(t+Math.abs(t-i)/2-s.width/2)),"loopText"===e.class?r.attr("y",Math.round(n)):r.attr("y",Math.round(n-s.height))}return[r]},"drawKatex"),tt=(0,n.eW)(function(t,e){let a=0,r=0,i=e.text.split(n.SY.lineBreakRegex),[o,c]=(0,s.VG)(e.fontSize),l=[],d=0,h=(0,n.eW)(()=>e.y,"yfunc");if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=(0,n.eW)(()=>Math.round(e.y+e.textMargin),"yfunc");break;case"middle":case"center":h=(0,n.eW)(()=>Math.round(e.y+(a+r+e.textMargin)/2),"yfunc");break;case"bottom":case"end":h=(0,n.eW)(()=>Math.round(e.y+(a+r+2*e.textMargin)-e.textMargin),"yfunc")}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[n,p]of i.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==o&&(d=n*o);let i=t.append("text");i.attr("x",e.x),i.attr("y",h()),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!==c&&i.style("font-size",c),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!==d&&i.attr("dy",d);let g=p||s.$m;if(e.tspan){let t=i.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else i.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(i._groups||i)[0][0].getBBox().height,a=r),l.push(i)}return l},"drawText"),te=(0,n.eW)(function(t,e){function a(t,e,a,r,i){return t+","+e+" "+(t+a)+","+e+" "+(t+a)+","+(e+r-i)+" "+(t+a-1.2*i)+","+(e+r)+" "+t+","+(e+r)}(0,n.eW)(a,"genPoints");let r=t.append("polygon");return r.attr("points",a(e.x,e.y,e.width,e.height,7)),r.attr("class","labelBox"),e.y=e.y+e.height/2,tt(t,e),r},"drawLabel"),ta=-1,tr=(0,n.eW)((t,e,a,r)=>{if(!!t.select)a.forEach(a=>{let i=e.get(a),s=t.select("#actor"+i.actorCnt);!r.mirrorActors&&i.stopy?s.attr("y2",i.stopy+i.height/2):r.mirrorActors&&s.attr("y2",i.stopy)})},"fixLifeLineHeights"),ti=(0,n.eW)(function(t,e,a,i){let s=i?e.stopy:e.starty,o=e.x+e.width/2,c=s+e.height,l=t.append("g").lower();var d=l;!i&&(ta++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",Z(`actor${ta}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+ta).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=l.append("g"),e.actorCnt=ta,null!=e.links&&d.attr("id","root-"+ta));let h=(0,r.kc)();var p="actor";e.properties?.class?p=e.properties.class:h.fill="#eaeaea",i?p+=` ${K}`:p+=` ${j}`,h.x=e.x,h.y=s,h.width=e.width,h.height=e.height,h.class=p,h.rx=3,h.ry=3,h.name=e.name;let g=X(d,h);if(e.rectData=h,e.properties?.icon){let t=e.properties.icon.trim();"@"===t.charAt(0)?(0,r.rB)(d,h.x+h.width-20,h.y+10,t.substr(1)):(0,r.AE)(d,h.x+h.width-20,h.y+10,t)}tE(a,(0,n.l0)(e.description))(e.description,d,h.x,h.y,h.width,h.height,{class:"actor actor-box"},a);let u=e.height;if(g.node){let t=g.node().getBBox();e.height=t.height,u=t.height}return u},"drawActorTypeParticipant"),ts=(0,n.eW)(function(t,e,a,i){let s=i?e.stopy:e.starty,o=e.x+e.width/2,c=s+80,l=t.append("g").lower();!i&&(ta++,l.append("line").attr("id","actor"+ta).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=ta);let d=t.append("g"),h=G;i?h+=` ${K}`:h+=` ${j}`,d.attr("class",h),d.attr("name",e.name);let p=(0,r.kc)();p.x=e.x,p.y=s,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",p.rx=3,p.ry=3,d.append("line").attr("id","actor-man-torso"+ta).attr("x1",o).attr("y1",s+25).attr("x2",o).attr("y2",s+45),d.append("line").attr("id","actor-man-arms"+ta).attr("x1",o-18).attr("y1",s+33).attr("x2",o+18).attr("y2",s+33),d.append("line").attr("x1",o-18).attr("y1",s+60).attr("x2",o).attr("y2",s+45),d.append("line").attr("x1",o).attr("y1",s+45).attr("x2",o+18-2).attr("y2",s+60);let g=d.append("circle");g.attr("cx",e.x+e.width/2),g.attr("cy",s+10),g.attr("r",15),g.attr("width",e.width),g.attr("height",e.height);let u=d.node().getBBox();return e.height=u.height,tE(a,(0,n.l0)(e.description))(e.description,d,p.x,p.y+35,p.width,p.height,{class:`actor ${G}`},a),e.height},"drawActorTypeActor"),tn=(0,n.eW)(async function(t,e,a,r){switch(e.type){case"actor":return await ts(t,e,a,r);case"participant":return await ti(t,e,a,r)}},"drawActor"),to=(0,n.eW)(function(t,e,a){let r=t.append("g");th(r,e),e.name&&tE(a)(e.name,r,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},a),r.lower()},"drawBox"),tc=(0,n.eW)(function(t){return t.append("g")},"anchorElement"),tl=(0,n.eW)(function(t,e,a,i,s){let n=(0,r.kc)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+s%3,n.width=e.stopx-e.startx,n.height=a-e.starty,X(o,n)},"drawActivation"),td=(0,n.eW)(async function(t,e,a,i){let{boxMargin:s,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:l,messageFontFamily:d,messageFontSize:h,messageFontWeight:p}=i,g=t.append("g"),u=(0,n.eW)(function(t,e,a,r){return g.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")},"drawLoopLine");u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(t){u(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")});let x=(0,r.AD)();x.text=a,x.x=e.startx,x.y=e.starty,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=c||20,x.textMargin=o,x.class="labelText",te(g,x),(x=tf()).text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+s+o,x.anchor="middle",x.valign="middle",x.textMargin=o,x.class="loopText",x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=!0;let y=(0,n.l0)(x.text)?await Q(g,x,e):tt(g,x);if(void 0!==e.sectionTitles){for(let[t,a]of Object.entries(e.sectionTitles))if(a.message){x.text=a.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[t].y+s+o,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=e.wrap,(0,n.l0)(x.text)?(e.starty=e.sections[t].y,await Q(g,x,e)):tt(g,x);let r=Math.round(y.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));e.sections[t].height+=r-(s+o)}}return e.height=Math.round(e.stopy-e.starty),g},"drawLoop"),th=(0,n.eW)(function(t,e){(0,r.O)(t,e)},"drawBackgroundRect"),tp=(0,n.eW)(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")},"insertDatabaseIcon"),tg=(0,n.eW)(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")},"insertComputerIcon"),tu=(0,n.eW)(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")},"insertClockIcon"),tx=(0,n.eW)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")},"insertArrowHead"),ty=(0,n.eW)(function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).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")},"insertArrowFilledHead"),tm=(0,n.eW)(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)},"insertSequenceNumber"),tb=(0,n.eW)(function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.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")},"insertArrowCrossHead"),tf=(0,n.eW)(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}},"getTextObj"),tT=(0,n.eW)(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),tE=function(){function t(t,e,a,r,s,n,o){i(e.append("text").attr("x",a+s/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,r,o,c,l,d){let{actorFontSize:h,actorFontFamily:p,actorFontWeight:g}=d,[u,x]=(0,s.VG)(h),y=t.split(n.SY.lineBreakRegex);for(let t=0;tt.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))},"getHeight"),clear:(0,n.eW)(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:(0,n.eW)(function(t){this.boxes.push(t)},"addBox"),addActor:(0,n.eW)(function(t){this.actors.push(t)},"addActor"),addLoop:(0,n.eW)(function(t){this.loops.push(t)},"addLoop"),addMessage:(0,n.eW)(function(t){this.messages.push(t)},"addMessage"),addNote:(0,n.eW)(function(t){this.notes.push(t)},"addNote"),lastActor:(0,n.eW)(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:(0,n.eW)(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:(0,n.eW)(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:(0,n.eW)(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:(0,n.eW)(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,tW((0,n.nV)())},"init"),updateVal:(0,n.eW)(function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])},"updateVal"),updateBounds:(0,n.eW)(function(t,e,a,r){let i=this,s=0;function o(o){return(0,n.eW)(function(n){s++;let c=i.sequenceItems.length-s+1;i.updateVal(n,"starty",e-c*tL.boxMargin,Math.min),i.updateVal(n,"stopy",r+c*tL.boxMargin,Math.max),i.updateVal(tP.data,"startx",t-c*tL.boxMargin,Math.min),i.updateVal(tP.data,"stopx",a+c*tL.boxMargin,Math.max),"activation"!==o&&(i.updateVal(n,"startx",t-c*tL.boxMargin,Math.min),i.updateVal(n,"stopx",a+c*tL.boxMargin,Math.max),i.updateVal(tP.data,"starty",e-c*tL.boxMargin,Math.min),i.updateVal(tP.data,"stopy",r+c*tL.boxMargin,Math.max))},"updateItemBounds")}(0,n.eW)(o,"updateFn"),this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},"updateBounds"),insert:(0,n.eW)(function(t,e,a,r){let i=n.SY.getMin(t,a),s=n.SY.getMax(t,a),o=n.SY.getMin(e,r),c=n.SY.getMax(e,r);this.updateVal(tP.data,"startx",i,Math.min),this.updateVal(tP.data,"starty",o,Math.min),this.updateVal(tP.data,"stopx",s,Math.max),this.updateVal(tP.data,"stopy",c,Math.max),this.updateBounds(i,o,s,c)},"insert"),newActivation:(0,n.eW)(function(t,e,a){let r=a.get(t.from),i=tR(t.from).length||0,s=r.x+r.width/2+(i-1)*tL.activationWidth/2;this.activations.push({startx:s,starty:this.verticalPos+2,stopx:s+tL.activationWidth,stopy:void 0,actor:t.from,anchored:tI.anchorElement(e)})},"newActivation"),endActivation:(0,n.eW)(function(t){let e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:(0,n.eW)(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}},"createLoop"),newLoop:(0,n.eW)(function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},"newLoop"),endLoop:(0,n.eW)(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:(0,n.eW)(function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},"isLoopOverlap"),addSectionToLoop:(0,n.eW)(function(t){let e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:tP.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:(0,n.eW)(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:(0,n.eW)(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:(0,n.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=n.SY.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:(0,n.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,n.eW)(function(){return{bounds:this.data,models:this.models}},"getBounds")},t_=(0,n.eW)(async function(t,e){tP.bumpVerticalPos(tL.boxMargin),e.height=tL.boxMargin,e.starty=tP.getVerticalPos();let a=(0,r.kc)();a.x=e.startx,a.y=e.starty,a.width=e.width||tL.width,a.class="note";let i=t.append("g"),s=tI.drawRect(i,a),o=(0,r.AD)();o.x=e.startx,o.y=e.starty,o.width=a.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=tL.noteFontFamily,o.fontSize=tL.noteFontSize,o.fontWeight=tL.noteFontWeight,o.anchor=tL.noteAlign,o.textMargin=tL.noteMargin,o.valign="center";let c=Math.round(((0,n.l0)(o.text)?await Q(i,o):tt(i,o)).map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));s.attr("height",c+2*tL.noteMargin),e.height+=c+2*tL.noteMargin,tP.bumpVerticalPos(c+2*tL.noteMargin),e.stopy=e.starty+c+2*tL.noteMargin,e.stopx=e.startx+a.width,tP.insert(e.startx,e.starty,e.stopx,e.stopy),tP.models.addNote(e)},"drawNote"),tk=(0,n.eW)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),tv=(0,n.eW)(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),tM=(0,n.eW)(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");async function tA(t,e){let a;tP.bumpVerticalPos(10);let{startx:r,stopx:i,message:o}=e,c=n.SY.splitBreaks(o).length,l=(0,n.l0)(o),d=l?await (0,n.nH)(o,(0,n.nV)()):s.w8.calculateTextDimensions(o,tk(tL));if(!l){let t=d.height/c;e.height+=t,tP.bumpVerticalPos(t)}let h=d.height-10,p=d.width;if(r===i){a=tP.getVerticalPos()+h,!tL.rightAngles&&(h+=tL.boxMargin,a=tP.getVerticalPos()+h),h+=30;let t=n.SY.getMax(p/2,tL.width/2);tP.insert(r-t,tP.getVerticalPos()-10+h,i+t,tP.getVerticalPos()+30+h)}else h+=tL.boxMargin,a=tP.getVerticalPos()+h,tP.insert(r,a-10,i,a);return tP.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,tP.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),a}(0,n.eW)(tA,"boundMessage");var tN=(0,n.eW)(async function(t,e,a,i){let o;let{startx:c,stopx:l,starty:d,message:h,type:p,sequenceIndex:g,sequenceVisible:u}=e,x=s.w8.calculateTextDimensions(h,tk(tL)),y=(0,r.AD)();y.x=c,y.y=d+10,y.width=l-c,y.class="messageText",y.dy="1em",y.text=h,y.fontFamily=tL.messageFontFamily,y.fontSize=tL.messageFontSize,y.fontWeight=tL.messageFontWeight,y.anchor=tL.messageAlign,y.valign="center",y.textMargin=tL.wrapPadding,y.tspan=!1,(0,n.l0)(y.text)?await Q(t,y,{startx:c,stopx:l,starty:a}):tt(t,y);let m=x.width;c===l?o=tL.rightAngles?t.append("path").attr("d",`M ${c},${a} H ${c+n.SY.getMax(tL.width/2,m/2)} V ${a+25} H ${c}`):t.append("path").attr("d","M "+c+","+a+" C "+(c+60)+","+(a-10)+" "+(c+60)+","+(a+30)+" "+c+","+(a+20)):((o=t.append("line")).attr("x1",c),o.attr("y1",a),o.attr("x2",l),o.attr("y2",a)),p===i.db.LINETYPE.DOTTED||p===i.db.LINETYPE.DOTTED_CROSS||p===i.db.LINETYPE.DOTTED_POINT||p===i.db.LINETYPE.DOTTED_OPEN||p===i.db.LINETYPE.BIDIRECTIONAL_DOTTED?(o.style("stroke-dasharray","3, 3"),o.attr("class","messageLine1")):o.attr("class","messageLine0");let b="";tL.arrowMarkerAbsolute&&(b=(b=(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),o.attr("stroke-width",2),o.attr("stroke","none"),o.style("fill","none"),(p===i.db.LINETYPE.SOLID||p===i.db.LINETYPE.DOTTED)&&o.attr("marker-end","url("+b+"#arrowhead)"),(p===i.db.LINETYPE.BIDIRECTIONAL_SOLID||p===i.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(o.attr("marker-start","url("+b+"#arrowhead)"),o.attr("marker-end","url("+b+"#arrowhead)")),(p===i.db.LINETYPE.SOLID_POINT||p===i.db.LINETYPE.DOTTED_POINT)&&o.attr("marker-end","url("+b+"#filled-head)"),(p===i.db.LINETYPE.SOLID_CROSS||p===i.db.LINETYPE.DOTTED_CROSS)&&o.attr("marker-end","url("+b+"#crosshead)"),(u||tL.showSequenceNumbers)&&(o.attr("marker-start","url("+b+"#sequencenumber)"),t.append("text").attr("x",c).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(g))},"drawMessage"),tS=(0,n.eW)(function(t,e,a,r,i,s,o){let c,l=0,d=0;let h=0;for(let t of r){let r=e.get(t),s=r.box;c&&c!=s&&(!o&&tP.models.addBox(c),d+=tL.boxMargin+c.margin),s&&s!=c&&(!o&&(s.x=l+d,s.y=i),d+=s.margin),r.width=r.width||tL.width,r.height=n.SY.getMax(r.height||tL.height,tL.height),r.margin=r.margin||tL.actorMargin,h=n.SY.getMax(h,r.height),a.get(r.name)&&(d+=r.width/2),r.x=l+d,r.starty=tP.getVerticalPos(),tP.insert(r.x,i,r.x+r.width,r.height),l+=r.width+d,r.box&&(r.box.width=l+s.margin-r.box.x),d=r.margin,c=r.box,tP.models.addActor(r)}c&&!o&&tP.models.addBox(c),tP.bumpVerticalPos(h)},"addActorRenderingData"),tO=(0,n.eW)(async function(t,e,a,r){if(r){let r=0;for(let i of(tP.bumpVerticalPos(2*tL.boxMargin),a)){let a=e.get(i);!a.stopy&&(a.stopy=tP.getVerticalPos());let s=await tI.drawActor(t,a,tL,!0);r=n.SY.getMax(r,s)}tP.bumpVerticalPos(r+tL.boxMargin)}else for(let r of a){let a=e.get(r);await tI.drawActor(t,a,tL,!1)}},"drawActors"),tD=(0,n.eW)(function(t,e,a,r){let i=0,s=0;for(let n of a){let a=e.get(n),o=tF(a),c=tI.drawPopup(t,a,o,tL,tL.forceMenus,r);c.height>i&&(i=c.height),c.width+a.x>s&&(s=c.width+a.x)}return{maxHeight:i,maxWidth:s}},"drawActorsPopup"),tW=(0,n.eW)(function(t){(0,n.Yc)(tL,t),t.fontFamily&&(tL.actorFontFamily=tL.noteFontFamily=tL.messageFontFamily=t.fontFamily),t.fontSize&&(tL.actorFontSize=tL.noteFontSize=tL.messageFontSize=t.fontSize),t.fontWeight&&(tL.actorFontWeight=tL.noteFontWeight=tL.messageFontWeight=t.fontWeight)},"setConf"),tR=(0,n.eW)(function(t){return tP.activations.filter(function(e){return e.actor===t})},"actorActivations"),tY=(0,n.eW)(function(t,e){let a=e.get(t),r=tR(t),i=r.reduce(function(t,e){return n.SY.getMin(t,e.startx)},a.x+a.width/2-1);return[i,r.reduce(function(t,e){return n.SY.getMax(t,e.stopx)},a.x+a.width/2+1)]},"activationBounds");function tC(t,e,a,r,i){tP.bumpVerticalPos(a);let o=r;if(e.id&&e.message&&t[e.id]){let a=t[e.id].width,i=tk(tL);e.message=s.w8.wrapLabel(`[${e.message}]`,a-2*tL.wrapPadding,i),e.width=a,e.wrap=!0;let c=s.w8.calculateTextDimensions(e.message,i),l=n.SY.getMax(c.height,tL.labelBoxHeight);o=r+l,n.cM.debug(`${l} - ${e.message}`)}i(e),tP.bumpVerticalPos(o)}function tB(t,e,a,r,i,s,o){function c(a,r){a.x{t.add(e.from),t.add(e.to)}),y=y.filter(e=>t.has(e))}tS(h,p,g,y,0,m,!1);let w=await tU(m,p,E,r);function I(t,e){let a=tP.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),tI.drawActivation(h,a,e,tL,tR(t.from).length),tP.insert(a.startx,e-10,a.stopx,e)}tI.insertArrowHead(h),tI.insertArrowCrossHead(h),tI.insertArrowFilledHead(h),tI.insertSequenceNumber(h),(0,n.eW)(I,"activeEnd");let L=1,P=1,_=[],k=[],v=0;for(let t of m){let e,a,i;switch(t.type){case r.db.LINETYPE.NOTE:tP.resetVerticalPos(),a=t.noteModel,await t_(h,a);break;case r.db.LINETYPE.ACTIVE_START:tP.newActivation(t,h,p);break;case r.db.LINETYPE.ACTIVE_END:I(t,tP.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.LOOP_END:e=tP.endLoop(),await tI.drawLoop(h,e,"loop",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.RECT_START:tC(w,t,tL.boxMargin,tL.boxMargin,t=>tP.newLoop(void 0,t.message));break;case r.db.LINETYPE.RECT_END:e=tP.endLoop(),k.push(e),tP.models.addLoop(e),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos());break;case r.db.LINETYPE.OPT_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.OPT_END:e=tP.endLoop(),await tI.drawLoop(h,e,"opt",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.ALT_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.ALT_ELSE:tC(w,t,tL.boxMargin+tL.boxTextMargin,tL.boxMargin,t=>tP.addSectionToLoop(t));break;case r.db.LINETYPE.ALT_END:e=tP.endLoop(),await tI.drawLoop(h,e,"alt",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t)),tP.saveVerticalPos();break;case r.db.LINETYPE.PAR_AND:tC(w,t,tL.boxMargin+tL.boxTextMargin,tL.boxMargin,t=>tP.addSectionToLoop(t));break;case r.db.LINETYPE.PAR_END:e=tP.endLoop(),await tI.drawLoop(h,e,"par",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.AUTONUMBER:L=t.message.start||L,P=t.message.step||P,t.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.CRITICAL_OPTION:tC(w,t,tL.boxMargin+tL.boxTextMargin,tL.boxMargin,t=>tP.addSectionToLoop(t));break;case r.db.LINETYPE.CRITICAL_END:e=tP.endLoop(),await tI.drawLoop(h,e,"critical",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.BREAK_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.BREAK_END:e=tP.endLoop(),await tI.drawLoop(h,e,"break",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;default:try{(i=t.msgModel).starty=tP.getVerticalPos(),i.sequenceIndex=L,i.sequenceVisible=r.db.showSequenceNumbers();let e=await tA(h,i);tB(t,i,e,v,p,g,u),_.push({messageModel:i,lineStartY:e}),tP.models.addMessage(i)}catch(t){n.cM.error("error while drawing message",t)}}[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,r.db.LINETYPE.BIDIRECTIONAL_SOLID,r.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(L+=P),v++}for(let t of(n.cM.debug("createdActors",g),n.cM.debug("destroyedActors",u),await tO(h,p,y,!1),_))await tN(h,t.messageModel,t.lineStartY,r);for(let t of(tL.mirrorActors&&await tO(h,p,y,!0),k.forEach(t=>tI.drawBackgroundRect(h,t)),tr(h,p,y,tL),tP.models.boxes))t.height=tP.getVerticalPos()-t.y,tP.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)",tI.drawBox(h,t,tL);f&&tP.bumpVerticalPos(tL.boxMargin);let M=tD(h,p,y,d),{bounds:A}=tP.getBounds();void 0===A.startx&&(A.startx=0),void 0===A.starty&&(A.starty=0),void 0===A.stopx&&(A.stopx=0),void 0===A.stopy&&(A.stopy=0);let N=A.stopy-A.starty;N{let a=tk(tL),r=e.actorKeys.reduce((e,a)=>e+=t.get(a).width+(t.get(a).margin||0),0);r-=2*tL.boxTextMargin,e.wrap&&(e.name=s.w8.wrapLabel(e.name,r-2*tL.wrapPadding,a));let o=s.w8.calculateTextDimensions(e.name,a);i=n.SY.getMax(o.height,i);let c=n.SY.getMax(r,o.width+2*tL.wrapPadding);if(e.margin=tL.boxTextMargin,rt.textMaxHeight=i),n.SY.getMax(r,tL.height)}(0,n.eW)(tq,"calculateActorMargins");var tz=(0,n.eW)(async function(t,e,a){let r=e.get(t.from),i=e.get(t.to),o=r.x,c=i.x,l=t.wrap&&t.message,d=(0,n.l0)(t.message)?await (0,n.nH)(t.message,(0,n.nV)()):s.w8.calculateTextDimensions(l?s.w8.wrapLabel(t.message,tL.width,tv(tL)):t.message,tv(tL)),h={width:l?tL.width:n.SY.getMax(tL.width,d.width+2*tL.noteMargin),height:0,startx:r.x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(h.width=l?n.SY.getMax(tL.width,d.width):n.SY.getMax(r.width/2+i.width/2,d.width+2*tL.noteMargin),h.startx=o+(r.width+tL.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(h.width=l?n.SY.getMax(tL.width,d.width+2*tL.noteMargin):n.SY.getMax(r.width/2+i.width/2,d.width+2*tL.noteMargin),h.startx=o-h.width+(r.width-tL.actorMargin)/2):t.to===t.from?(d=s.w8.calculateTextDimensions(l?s.w8.wrapLabel(t.message,n.SY.getMax(tL.width,r.width),tv(tL)):t.message,tv(tL)),h.width=l?n.SY.getMax(tL.width,r.width):n.SY.getMax(r.width,tL.width,d.width+2*tL.noteMargin),h.startx=o+(r.width-h.width)/2):(h.width=Math.abs(o+r.width/2-(c+i.width/2))+tL.actorMargin,h.startx=o2,g=(0,n.eW)(t=>l?-t:t,"adjustValue");t.from===t.to?h=d:(t.activate&&!p&&(h+=g(tL.activationWidth/2-1)),![a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)&&(h+=g(3)),[a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(d-=g(3)));let u=[r,i,o,c],x=Math.abs(d-h);t.wrap&&t.message&&(t.message=s.w8.wrapLabel(t.message,n.SY.getMax(x+2*tL.wrapPadding,tL.width),tk(tL)));let y=s.w8.calculateTextDimensions(t.message,tk(tL));return{width:n.SY.getMax(t.wrap?0:y.width+2*tL.wrapPadding,x+2*tL.wrapPadding,tL.width),height:0,startx:d,stopx:h,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,u),toBounds:Math.max.apply(null,u)}},"buildMessageModel"),tU=(0,n.eW)(async function(t,e,a,r){let i,o,c;let l={},d=[];for(let a of t){switch(a.id=s.w8.random({length:10}),a.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:d.push({id:a.id,msg:a.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:a.message&&(l[(i=d.pop()).id]=i,l[a.id]=i,d.push(i));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:l[(i=d.pop()).id]=i;break;case r.db.LINETYPE.ACTIVE_START:{let t=e.get(a.from?a.from:a.to.actor),r=tR(a.from?a.from:a.to.actor).length,i=t.x+t.width/2+(r-1)*tL.activationWidth/2,s={startx:i,stopx:i+tL.activationWidth,actor:a.from,enabled:!0};tP.activations.push(s)}break;case r.db.LINETYPE.ACTIVE_END:{let t=tP.activations.map(t=>t.actor).lastIndexOf(a.from);tP.activations.splice(t,1).splice(0,1)}}void 0!==a.placement?(o=await tz(a,e,r),a.noteModel=o,d.forEach(t=>{(i=t).from=n.SY.getMin(i.from,o.startx),i.to=n.SY.getMax(i.to,o.startx+o.width),i.width=n.SY.getMax(i.width,Math.abs(i.from-i.to))-tL.labelBoxWidth})):(c=tH(a,e,r),a.msgModel=c,c.startx&&c.stopx&&d.length>0&&d.forEach(t=>{if(i=t,c.startx===c.stopx){let t=e.get(a.from),r=e.get(a.to);i.from=n.SY.getMin(t.x-c.width/2,t.x-t.width/2,i.from),i.to=n.SY.getMax(r.x+c.width/2,r.x+t.width/2,i.to),i.width=n.SY.getMax(i.width,Math.abs(i.to-i.from))-tL.labelBoxWidth}else i.from=n.SY.getMin(c.startx,i.from),i.to=n.SY.getMax(c.stopx,i.to),i.width=n.SY.getMax(i.width,c.width)-tL.labelBoxWidth}))}return tP.activations=[],n.cM.debug("Loop type widths:",l),l},"calculateLoopBounds"),tj={parser:l,db:H,renderer:{bounds:tP,drawActors:tO,drawActorsPopup:tD,setConf:tW,draw:t$},styles:U,init:(0,n.eW)(({wrap:t})=>{H.setWrap(t)},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/495.8bd643d2.js b/pr-preview/pr-3/assets/js/495.8bd643d2.js new file mode 100644 index 0000000..3a0a6db --- /dev/null +++ b/pr-preview/pr-3/assets/js/495.8bd643d2.js @@ -0,0 +1,88 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["495"],{84182:function(t,e,i){var n,r;n=0,r=function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){!i.o(t,e)&&Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(e,i){e.exports=t},function(t,e,i){"use strict";var n=i(0).FDLayoutConstants;function r(){}for(var o in n)r[o]=n[o];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=n.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,i){"use strict";var n=i(0).FDLayoutEdge;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraph;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraphManager;function r(t){n.call(this,t)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).FDLayoutNode,r=i(0).IMath;function o(t,e,i,r){n.call(this,t,e,i,r)}for(var s in o.prototype=Object.create(n.prototype),n)o[s]=n[s];o.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?this.moveBy(this.displacementX,this.displacementY):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},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,n=this.getChild().getNodes(),r=0;r0)this.positionNodesRadially(i);else{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),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},v.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%l.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=l.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=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,n=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,n),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},v.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i1)for(s=0;sn&&(n=Math.floor(s.y)),o=Math.floor(s.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(c.WORLD_CENTER_X-s.x/2,c.WORLD_CENTER_Y-s.y/2))},v.radialLayout=function(t,e,i){var n=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);v.branchRadialLayout(e,null,0,359,0,n);var r=y.calculateBounds(t),o=new E;o.setDeviceOrgX(r.getMinX()),o.setDeviceOrgY(r.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var s=0;s1;){var E=y[0];y.splice(0,1);var _=g.indexOf(E);_>=0&&g.splice(_,1),p--,u--}s=null!=e?(g.indexOf(y[0])+1)%p:0;for(var m=Math.abs(n-i)/u,N=s;d!=u;N=++N%p){var A=g[N].getOtherEnd(t);if(A!=e){var L=(i+d*m)%360,T=(L+m)%360;v.branchRadialLayout(A,t,L,T,r+o,o),d++}}},v.maxDiagonalInTree=function(t){for(var e=p.MIN_VALUE,i=0;ie&&(e=n)}return e},v.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},v.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],n=this.graphManager.getAllNodes(),r=0;r1){var n="DummyCompound_"+i;t.memberGroups[n]=e[i];var r=e[i][0].getParent(),o=new s(t.graphManager);o.id=n,o.paddingLeft=r.paddingLeft||0,o.paddingRight=r.paddingRight||0,o.paddingBottom=r.paddingBottom||0,o.paddingTop=r.paddingTop||0,t.idToDummyNode[n]=o;var a=t.getGraphManager().add(t.newGraph(),o),h=r.getChild();h.add(o);for(var l=0;l=0;t--){var e=this.compoundOrder[t],i=e.id,n=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,n,r)}},v.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var n=t.idToDummyNode[i],r=n.paddingLeft,o=n.paddingTop;t.adjustLocations(e[i],n.rect.x,n.rect.y,r,o)})},v.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var n=i.getNodes(),r=0;r0)return this.toBeTiled[e]=!1,!1;if(null==o.getChild()){this.toBeTiled[o.id]=!1;continue}if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}return this.toBeTiled[e]=!0,!0},v.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,n=0;nh&&(h=c.rect.height)}i+=h+t.verticalPadding}},v.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(n){var r=e[n];i.tiledMemberPack[n]=i.tileNodes(t[n],r.paddingLeft+r.paddingRight),r.rect.width=i.tiledMemberPack[n].width,r.rect.height=i.tiledMemberPack[n].height})},v.prototype.tileNodes=function(t,e){var i={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:h.TILING_PADDING_VERTICAL,horizontalPadding:h.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.height0&&(r+=t.horizontalPadding),t.rowWidth[i]=r,t.width0&&(o+=t.verticalPadding);var s=0;o>t.rowHeight[i]&&(s=t.rowHeight[i],t.rowHeight[i]=o,s=t.rowHeight[i]-s),t.height+=s,t.rows[i].push(e)},v.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,n=0;ni&&(e=n,i=t.rowWidth[n]);return e},v.prototype.canAddHorizontal=function(t,e,i){var n,r,o=this.getShortestRowIndex(t);if(o<0)return!0;var s=t.rowWidth[o];if(s+t.horizontalPadding+e<=t.width)return!0;var a=0;return t.rowHeight[o]0&&(a=i+t.verticalPadding-t.rowHeight[o]),n=t.width-s>=e+t.horizontalPadding?(t.height+a)/(s+e+t.horizontalPadding):(t.height+a)/t.width,a=i+t.verticalPadding,(r=t.widtho&&e!=i){n.splice(-1,1),t.rows[i].push(r),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var s=Number.MIN_VALUE,a=0;as&&(s=n[a].height);e>0&&(s+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=s,t.rowHeight[i]0)for(var u=s;u<=a;u++)g[0]+=this.grid[u][h-1].length+this.grid[u][h].length-1;if(a0)for(var u=h;u<=c;u++)g[3]+=this.grid[s-1][u].length+this.grid[s][u].length-1;for(var d=p.MAX_VALUE,f=0;f0&&(s=i.getGraphManager().add(i.newGraph(),o),this.processChildrenList(s,g,i))}},g.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",g)};"undefined"!=typeof cytoscape&&d(cytoscape),t.exports=d}])},t.exports=r(i(84182))},82241:function(t){var e,i;e=0,i=function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){!i.o(t,e)&&Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=26)}([function(t,e,i){"use strict";function n(){}n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(8),o=i(9);function s(t,e,i){n.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var a in s.prototype=Object.create(n.prototype),n)s[a]=n[a];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.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"},s.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),n=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==n)break;i=i.getOwner().getParent()}return null},s.prototype.updateLength=function(){var t=[,,,,];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],1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(13),s=i(0),a=i(16),h=i(4);function l(t,e,i,s){null==i&&null==s&&(s=e),n.call(this,s),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=s,this.edges=[],this.graphManager=t,null!=i&&null!=e?this.rect=new o(e.x,e.y,i.width,i.height):this.rect=new o}for(var c in l.prototype=Object.create(n.prototype),n)l[c]=n[c];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.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},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(n.target==t){if(n.source!=i)throw"Incorrect edge source!";e.push(n)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(!(n.source==i||n.target==i))throw"Incorrect edge source and/or target";(n.target==t||n.source==t)&&e.push(n)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child){for(var e=this.child.getNodes(),i=0;ie&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>i&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-i)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-i),this.setHeight(this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>s.WORLD_BOUNDARY?e=s.WORLD_BOUNDARY:e<-s.WORLD_BOUNDARY&&(e=-s.WORLD_BOUNDARY);var i=this.rect.y;i>s.WORLD_BOUNDARY?i=s.WORLD_BOUNDARY:i<-s.WORLD_BOUNDARY&&(i=-s.WORLD_BOUNDARY);var n=new h(e,i),r=t.inverseTransformPoint(n);this.setLocation(r.x,r.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";function n(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(t){this.x=t},n.prototype.setY=function(t){this.y=t},n.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(0),s=i(6),a=i(3),h=i(1),l=i(13),c=i(12),g=i(11);function u(t,e,i){n.call(this,i),this.estimatedSize=r.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof s?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in u.prototype=Object.create(n.prototype),n)u[d]=n[d];u.prototype.getNodes=function(){return this.nodes},u.prototype.getEdges=function(){return this.edges},u.prototype.getGraphManager=function(){return this.graphManager},u.prototype.getParent=function(){return this.parent},u.prototype.getLeft=function(){return this.left},u.prototype.getRight=function(){return this.right},u.prototype.getTop=function(){return this.top},u.prototype.getBottom=function(){return this.bottom},u.prototype.isConnected=function(){return this.isConnected},u.prototype.add=function(t,e,i){if(null==e&&null==i){if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(t)>-1)throw"Node already in graph!";return t.owner=this,this.getNodes().push(t),t}if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(!(e.owner==i.owner&&e.owner==this))throw"Both owners must be this graph!";return e.owner!=i.owner?null:(t.source=e,t.target=i,t.isInterGraph=!1,this.getEdges().push(t),e.edges.push(t),i!=e&&i.edges.push(t),t)},u.prototype.remove=function(t){if(t instanceof a){if(null==t)throw"Node is null!";if(!(null!=t.owner&&t.owner==this))throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var e,i=t.edges.slice(),n=i.length,r=0;r-1&&l>-1))throw"Source and/or target doesn't know this edge!";e.source.edges.splice(s,1),e.target!=e.source&&e.target.edges.splice(l,1);var o=e.source.owner.getEdges().indexOf(e);if(-1==o)throw"Not in owner's edge list!";e.source.owner.getEdges().splice(o,1)}},u.prototype.updateLeftTop=function(){for(var t,e,i,n=r.MAX_VALUE,o=r.MAX_VALUE,s=this.getNodes(),a=s.length,h=0;ht&&(n=t),o>e&&(o=e)}return n==r.MAX_VALUE?null:(i=void 0!=s[0].getParent().paddingLeft?s[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=n-i,new c(this.left,this.top))},u.prototype.updateBounds=function(t){for(var e,i,n,o,s,a=r.MAX_VALUE,h=-r.MAX_VALUE,c=r.MAX_VALUE,g=-r.MAX_VALUE,u=this.nodes,d=u.length,p=0;pe&&(a=e),hn&&(c=n),ge&&(s=e),an&&(h=n),c=this.nodes.length){var h=0;r.forEach(function(t){t.owner==i&&h++}),h==this.nodes.length&&(this.isConnected=!0)}},t.exports=u},function(t,e,i){"use strict";var n,r=i(1);function o(t){n=i(5),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,n,r){if(null==i&&null==n&&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=i,n=e,i=t;var o=n.getOwner(),s=r.getOwner();if(!(null!=o&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(null!=s&&s.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==s)return i.isInterGraph=!1,o.add(i,n,r);if(i.isInterGraph=!0,i.source=n,i.target=r,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),!(null!=i.source&&null!=i.target))throw"Edge source and/or target is null!";if(!(-1==i.source.edges.indexOf(i)&&-1==i.target.edges.indexOf(i)))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof n){if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||null!=t.parent&&t.parent.graphManager==this))throw"Invalid parent node!";for(var e,i,o=[],s=(o=o.concat(t.getEdges())).length,a=0;a=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var s=o*i[0],a=i[1]/o;i[0]s?(i[0]=n,i[1]=h,i[2]=o,i[3]=_):ro?(i[0]=a,i[1]=r,i[2]=E,i[3]=s):no?(i[0]=c,i[1]=g):(i[0]=l,i[1]=h),L=!0):O===I&&(n>o?(i[0]=a,i[1]=h):(i[0]=u,i[1]=g),L=!0),-D===I?(o>n?(i[2]=v,i[3]=_):(i[2]=E,i[3]=y),T=!0):D===I&&(o>n?(i[2]=f,i[3]=y):(i[2]=m,i[3]=_),T=!0),L&&T)return!1;if(n>o?r>s?(w=this.getCardinalDirection(O,I,4),R=this.getCardinalDirection(D,I,2)):(w=this.getCardinalDirection(-O,I,3),R=this.getCardinalDirection(-D,I,1)):r>s?(w=this.getCardinalDirection(-O,I,1),R=this.getCardinalDirection(-D,I,3)):(w=this.getCardinalDirection(O,I,2),R=this.getCardinalDirection(D,I,4)),!L)switch(w){case 1:M=h,C=n+-p/I,i[0]=C,i[1]=M;break;case 2:C=u,M=r+d*I,i[0]=C,i[1]=M;break;case 3:M=g,C=n+p/I,i[0]=C,i[1]=M;break;case 4:C=c,M=r+-d*I,i[0]=C,i[1]=M}if(!T)switch(R){case 1:G=y,x=o+-A/I,i[2]=x,i[3]=G;break;case 2:x=m,G=s+N*I,i[2]=x,i[3]=G;break;case 3:G=_,x=o+A/I,i[2]=x,i[3]=G;break;case 4:x=v,G=s+-N*I,i[2]=x,i[3]=G}}return!1},r.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},r.getIntersection=function(t,e,i,r){if(null==r)return this.getIntersection2(t,e,i);var o=t.x,s=t.y,a=e.x,h=e.y,l=i.x,c=i.y,g=r.x,u=r.y,d=void 0,p=void 0,f=void 0,y=void 0,E=void 0,v=void 0,_=void 0,m=void 0,N=void 0;return(f=h-s,E=o-a,_=a*s-o*h,y=u-c,v=l-g,m=g*c-l*u,0==(N=f*v-y*E))?null:new n(d=(E*m-v*_)/N,p=(y*_-f*m)/N)},r.angleOfVector=function(t,e,i,n){var r=void 0;return t!==i?(r=Math.atan((n-e)/(i-t)),i0?1:t<0?-1:0},n.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},n.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=n},function(t,e,i){"use strict";function n(){}n.MAX_VALUE=0x7fffffff,n.MIN_VALUE=-0x80000000,t.exports=n},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i0&&e;){for(a.push(l[0]);a.length>0&&e;){var c=a[0];a.splice(0,1),s.add(c);for(var g=c.getEdges(),o=0;o-1&&l.splice(f,1)}s=new Set,h=new Map}else t=[]}return t},u.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,n=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r0){for(var r=this.edgeToDummyNodes.get(i),o=0;o=0&&e.splice(g,1),a.getNeighborsList().forEach(function(t){if(0>i.indexOf(t)){var e=n.get(t)-1;1==e&&l.push(t),n.set(t,e)}})}i=i.concat(l),(1==e.length||2==e.length)&&(r=!0,o=e[0])}return o},u.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=u},function(t,e,i){"use strict";function n(){}n.seed=1,n.x=0,n.nextDouble=function(){return n.x=1e4*Math.sin(n.seed++),n.x-Math.floor(n.x)},t.exports=n},function(t,e,i){"use strict";var n=i(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,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},r.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},r.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},r.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},r.prototype.inverseTransformPoint=function(t){return new n(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r},function(t,e,i){"use strict";var n=i(15),r=i(7),o=i(0),s=i(8),a=i(9);function h(){n.call(this),this.useSmartIdealEdgeLengthCalculation=r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=r.DEFAULT_EDGE_LENGTH,this.springConstant=r.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=r.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=r.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=r.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*r.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=r.MAX_ITERATIONS}for(var l in h.prototype=Object.create(n.prototype),n)h[l]=n[l];h.prototype.initParameters=function(){n.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,n,s,a,h=this.getGraphManager().getAllEdges(),l=0;lr.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*r.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-r.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>r.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(r.COOLING_ADAPTATION_FACTOR,1-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*(1-r.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i0)||void 0===arguments[0]||arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&s&&this.updateGrid(),o=new Set,t=0;t(h=e.getEstimatedSize()*this.gravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*o):(s>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=2>Math.abs(this.totalDisplacement-this.oldTotalDisplacement)),t=this.totalDisplacement=a.length||l>=a[0].length))for(var c=0;ct}}]),t}();t.exports=o},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=i,this.match_score=n,this.mismatch_penalty=r,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=Array(this.iMax);for(var s=0;s=0;i--){var n=this.listeners[i];n.event===t&&n.callback===e&&this.listeners.splice(i,1)}},r.emit=function(t,e){for(var i=0;i2&&I.push("'"+this.terminals_[T]+"'");R=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(R,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:I})}if(A[0]instanceof Array&&A.length>1)throw Error("Parse Error: multiple actions possible at state: "+N+", token: "+_);switch(A[0]){case 1:i.push(_),r.push(d.yytext),o.push(d.yylloc),i.push(A[1]),_=null,m?(_=m,m=null):(c=d.yyleng,h=d.yytext,l=d.yylineno,y=d.yylloc,g>0&&g--);break;case 2:if(O=this.productions_[A[1]][1],w.$=r[r.length-O],w._$={first_line:o[o.length-(O||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(O||1)].first_column,last_column:o[o.length-1].last_column},E&&(w._$.range=[o[o.length-(O||1)].range[0],o[o.length-1].range[1]]),void 0!==(L=this.performAction.apply(w,[h,c,l,p.yy,A[1],r,o].concat(u))))return L;O&&(i=i.slice(0,-1*O*2),r=r.slice(0,-1*O),o=o.slice(0,-1*O)),i.push(this.productions_[A[1]][0]),r.push(w.$),o.push(w._$),D=a[i[i.length-2]][i[i.length-1]],i.push(D);break;case 3:return!0}}return!0},"parse")},_={EOF:1,parseError:(0,s.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,s.eW)(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},"setInput"),input:(0,s.eW)(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},"input"),unput:(0,s.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,s.eW)(function(){return this._more=!0,this},"more"),reject:(0,s.eW)(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})},"reject"),less:(0,s.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s.eW)(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,"")},"upcomingInput"),showPosition:(0,s.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s.eW)(function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var o in r)this[o]=r[o];return!1},"test_match"),next:(0,s.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),o=0;oe[0].length)){if(e=i,n=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[o])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,s.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,s.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,s.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.eW)(function(t,e,i,n){switch(i){case 0:return t.getLogger().trace("Found comment",e.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5: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:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 27:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return t.getLogger().trace("Long description:",e.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function m(){this.yy={}}return v.lexer=_,(0,s.eW)(m,"Parser"),m.prototype=v,v.Parser=m,new m}();d.parser=d;var p=[],f=0,y={},E=(0,s.eW)(()=>{p=[],f=0,y={}},"clear"),v=(0,s.eW)(function(t){for(let e=p.length-1;e>=0;e--)if(p[e].levelp.length>0?p[0]:null,"getMindmap"),m=(0,s.eW)((t,e,i,n)=>{s.cM.info("addNode",t,e,i,n);let r=(0,s.nV)(),o=r.mindmap?.padding??s.vZ.mindmap.padding;switch(n){case N.ROUNDED_RECT:case N.RECT:case N.HEXAGON:o*=2}let a={id:f++,nodeId:(0,s.oO)(e,r),level:t,descr:(0,s.oO)(i,r),type:n,children:[],width:r.mindmap?.maxNodeWidth??s.vZ.mindmap.maxNodeWidth,padding:o},h=v(t);if(h)h.children.push(a),p.push(a);else if(0===p.length)p.push(a);else throw Error('There can be only one root. No parent could be found for ("'+a.descr+'")')},"addNode"),N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},A=(0,s.eW)((t,e)=>{switch(s.cM.debug("In get type",t,e),t){case"[":return N.RECT;case"(":return")"===e?N.ROUNDED_RECT:N.CLOUD;case"((":return N.CIRCLE;case")":return N.CLOUD;case"))":return N.BANG;case"{{":return N.HEXAGON;default:return N.DEFAULT}},"getType"),L=(0,s.eW)((t,e)=>{y[t]=e},"setElementForId"),T=(0,s.eW)(t=>{if(!t)return;let e=(0,s.nV)(),i=p[p.length-1];t.icon&&(i.icon=(0,s.oO)(t.icon,e)),t.class&&(i.class=(0,s.oO)(t.class,e))},"decorateNode"),O=(0,s.eW)(t=>{switch(t){case N.DEFAULT:return"no-border";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded-rect";case N.CIRCLE:return"circle";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),D=(0,s.eW)(()=>s.cM,"getLogger"),I=(0,s.eW)(t=>y[t],"getElementById"),w=(0,s.eW)(function(t,e,i,n){e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 ${i.height-5} v${-i.height+10} q0,-5 5,-5 h${i.width-10} q5,0 5,5 v${i.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",i.height).attr("x2",i.width).attr("y2",i.height)},"defaultBkg"),R=(0,s.eW)(function(t,e,i){e.append("rect").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("height",i.height).attr("width",i.width)},"rectBkg"),C=(0,s.eW)(function(t,e,i){let n=i.width,r=i.height,o=.15*n,s=.25*n,a=.35*n,h=.2*n;e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 0 a${o},${o} 0 0,1 ${.25*n},${-1*n*.1} + a${a},${a} 1 0,1 ${.4*n},${-1*n*.1} + a${s},${s} 1 0,1 ${.35*n},${1*n*.2} + + a${o},${o} 1 0,1 ${.15*n},${1*r*.35} + a${h},${h} 1 0,1 ${-1*n*.15},${1*r*.65} + + a${s},${o} 1 0,1 ${-1*n*.25},${.15*n} + a${a},${a} 1 0,1 ${-1*n*.5},0 + a${o},${o} 1 0,1 ${-1*n*.25},${-1*n*.15} + + a${o},${o} 1 0,1 ${-1*n*.1},${-1*r*.35} + a${h},${h} 1 0,1 ${.1*n},${-1*r*.65} + + H0 V0 Z`)},"cloudBkg"),M=(0,s.eW)(function(t,e,i){let n=i.width,r=i.height,o=.15*n;e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 0 a${o},${o} 1 0,0 ${.25*n},${-1*r*.1} + a${o},${o} 1 0,0 ${.25*n},0 + a${o},${o} 1 0,0 ${.25*n},0 + a${o},${o} 1 0,0 ${.25*n},${1*r*.1} + + a${o},${o} 1 0,0 ${.15*n},${1*r*.33} + a${.8*o},${.8*o} 1 0,0 0,${1*r*.34} + a${o},${o} 1 0,0 ${-1*n*.15},${1*r*.33} + + a${o},${o} 1 0,0 ${-1*n*.25},${.15*r} + a${o},${o} 1 0,0 ${-1*n*.25},0 + a${o},${o} 1 0,0 ${-1*n*.25},0 + a${o},${o} 1 0,0 ${-1*n*.25},${-1*r*.15} + + a${o},${o} 1 0,0 ${-1*n*.1},${-1*r*.33} + a${.8*o},${.8*o} 1 0,0 0,${-1*r*.34} + a${o},${o} 1 0,0 ${.1*n},${-1*r*.33} + + H0 V0 Z`)},"bangBkg"),x=(0,s.eW)(function(t,e,i){e.append("circle").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("r",i.width/2)},"circleBkg");function G(t,e,i,n,r){return t.insert("polygon",":first-child").attr("points",n.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+(r.width-e)/2+", "+i+")")}(0,s.eW)(G,"insertPolygonShape");var S=(0,s.eW)(function(t,e,i){let n=i.height,r=n/4,o=i.width-i.padding+2*r,s=[{x:r,y:0},{x:o-r,y:0},{x:o,y:-n/2},{x:o-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}];G(e,o,n,s,i)},"hexagonBkg"),b=(0,s.eW)(function(t,e,i){e.append("rect").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("height",i.height).attr("rx",i.padding).attr("ry",i.padding).attr("width",i.width)},"roundedRectBkg"),F=(0,s.eW)(async function(t,e,i,o,s){let a=s.htmlLabels,h=o%11,l=e.append("g");i.section=h;let c="section-"+h;h<0&&(c+=" section-root"),l.attr("class",(i.class?i.class+" ":"")+"mindmap-node "+c);let g=l.append("g"),u=l.append("g"),d=i.descr.replace(/()/g,"\n");await (0,n.rw)(u,d,{useHtmlLabels:a,width:i.width,classes:"mindmap-node-label"},s),!a&&u.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");let p=u.node().getBBox(),[f]=(0,r.VG)(s.fontSize);if(i.height=p.height+.55*f+i.padding,i.width=p.width+2*i.padding,i.icon){if(i.type===t.nodeType.CIRCLE)i.height+=50,i.width+=50,l.append("foreignObject").attr("height","50px").attr("width",i.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+h+" "+i.icon),u.attr("transform","translate("+i.width/2+", "+(i.height/2-1.5*i.padding)+")");else{i.width+=50;let t=i.height;i.height=Math.max(t,60);let e=Math.abs(i.height-t);l.append("foreignObject").attr("width","60px").attr("height",i.height).attr("style","text-align: center;margin-top:"+e/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+h+" "+i.icon),u.attr("transform","translate("+(25+i.width/2)+", "+(e/2+i.padding/2)+")")}}else if(a){let t=(i.width-p.width)/2,e=(i.height-p.height)/2;u.attr("transform","translate("+t+", "+e+")")}else{let t=i.width/2,e=i.padding/2;u.attr("transform","translate("+t+", "+e+")")}switch(i.type){case t.nodeType.DEFAULT:w(t,g,i,h);break;case t.nodeType.ROUNDED_RECT:b(t,g,i,h);break;case t.nodeType.RECT:R(t,g,i,h);break;case t.nodeType.CIRCLE:g.attr("transform","translate("+i.width/2+", "+ +i.height/2+")"),x(t,g,i,h);break;case t.nodeType.CLOUD:C(t,g,i,h);break;case t.nodeType.BANG:M(t,g,i,h);break;case t.nodeType.HEXAGON:S(t,g,i,h)}return t.setElementForId(i.id,l),i.height},"drawNode"),P=(0,s.eW)(function(t,e){let i=t.getElementById(e.id),n=e.x||0,r=e.y||0;i.attr("transform","translate("+n+","+r+")")},"positionNode");async function U(t,e,i,n,r){await F(t,e,i,n,r),i.children&&await Promise.all(i.children.map((i,o)=>U(t,e,i,n<0?o:n,r)))}function Y(t,e){e.edges().map((e,i)=>{let n=e.data();if(e[0]._private.bodyBounds){let r=e[0]._private.rscratch;s.cM.trace("Edge: ",i,n),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-"+n.section+" edge-depth-"+n.depth)}})}function k(t,e,i,n){e.add({group:"nodes",data:{id:t.id.toString(),labelText:t.descr,height:t.height,width:t.width,level:n,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach(r=>{k(r,e,i,n+1),e.add({group:"edges",data:{id:`${t.id}_${r.id}`,source:t.id,target:r.id,depth:n,section:r.section}})})}function X(t,e){return new Promise(i=>{let n=(0,l.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),r=(0,a.Z)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});n.remove(),k(t,r,e,0),r.nodes().forEach(function(t){t.layoutDimensions=()=>{let 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=>{s.cM.info("Ready",t),i(r)})})}function W(t,e){e.nodes().map((e,i)=>{let n=e.data();n.x=e.position().x,n.y=e.position().y,P(t,n);let r=t.getElementById(n.nodeId);s.cM.info("Id:",i,"Position: (",e.position().x,", ",e.position().y,")",n),r.attr("transform",`translate(${e.position().x-n.width/2}, ${e.position().y-n.height/2})`),r.attr("attr",`apa-${i})`)})}a.Z.use(h),(0,s.eW)(U,"drawNodes"),(0,s.eW)(Y,"drawEdges"),(0,s.eW)(k,"addNodes"),(0,s.eW)(X,"layoutMindmap"),(0,s.eW)(W,"positionNodes");var B=(0,s.eW)(async(t,e,i,n)=>{s.cM.debug("Rendering mindmap diagram\n"+t);let r=n.db,a=r.getMindmap();if(!a)return;let h=(0,s.nV)();h.htmlLabels=!1;let l=(0,o.P)(e),c=l.append("g");c.attr("class","mindmap-edges");let g=l.append("g");g.attr("class","mindmap-nodes"),await U(r,g,a,-1,h);let u=await X(a,h);Y(c,u),W(r,u),(0,s.j7)(void 0,l,h.mindmap?.padding??s.vZ.mindmap.padding,h.mindmap?.useMaxWidth??s.vZ.mindmap.useMaxWidth)},"draw"),$=(0,s.eW)(t=>{let e="";for(let e=0;e` + .edge { + stroke-width: 3; + } + ${$(t)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${t.git0}; + } + .section-root text { + fill: ${t.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .mindmap-node-label { + dy: 1em; + alignment-baseline: middle; + text-anchor: middle; + dominant-baseline: middle; + text-align: center; + } +`,"getStyles"),j={db:{clear:E,addNode:m,getMindmap:_,nodeType:N,getType:A,setElementForId:L,decorateNode:T,type2Str:O,getLogger:D,getElementById:I},renderer:{draw:B},parser:d,styles:H}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/5146.0f8244c6.js b/pr-preview/pr-3/assets/js/5146.0f8244c6.js new file mode 100644 index 0000000..30c5f39 --- /dev/null +++ b/pr-preview/pr-3/assets/js/5146.0f8244c6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5146"],{63898:function(e,t,r){r.d(t,{default:function(){return aY}});class a{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class n{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new n(t,a.range(this,e))}}class i{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+e,a=t&&t.loc;if(a&&a.start<=a.end){var n,s,o,l,h=a.lexer.input;n=a.start,s=a.end,n===h.length?r+=" at end of input: ":r+=" at position "+(n+1)+": ";var m=h.slice(n,s).replace(/[^]/g,"$&\u0332");o=n>15?"\u2026"+h.slice(n-15,n):h.slice(0,n),r+=o+m+(l=s+15":">","<":"<",'"':""","'":"'"},q=/[&><"']/g,N=function e(t){if("ordgroup"===t.type)return 1===t.body.length?e(t.body[0]):t;if("color"===t.type)return 1===t.body.length?e(t.body[0]):t;if("font"===t.type)return e(t.body);else return t},I=function(e){if(!e)throw Error("Expected non-null, but got "+String(e));return e},H={contains:function(e,t){return -1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(q,e=>C[e])},hyphenate:function(e){return e.replace(B,"-$1").toLowerCase()},getBaseElem:N,isCharacterBox:function(e){var t=N(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"===t[2]&&/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}},R={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};class O{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},R)if(R.hasOwnProperty(t)){var r=R[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:function(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}(r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),!!a&&"ignore"!==a){if(!0===a||"error"===a)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e)+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e)+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e)+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(e){a="error"}if(!a||"ignore"===a)return!1;if(!0===a||"error"===a)return!0;if("warn"===a)return"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e)+"]"),!1;else return"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e)+"]"),!1}isTrusted(e){if(e.url&&!e.protocol){var t=H.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}return!!("function"==typeof this.trust?this.trust(e):this.trust)}}class E{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return L[D[this.id]]}sub(){return L[V[this.id]]}fracNum(){return L[P[this.id]]}fracDen(){return L[F[this.id]]}cramp(){return L[G[this.id]]}text(){return L[U[this.id]]}isTight(){return this.size>=2}}var L=[new E(0,0,!1),new E(1,0,!0),new E(2,1,!1),new E(3,1,!0),new E(4,2,!1),new E(5,2,!0),new E(6,3,!1),new E(7,3,!0)],D=[4,5,4,5,6,7,6,7],V=[5,5,5,5,7,7,7,7],P=[2,3,4,5,6,7,6,7],F=[3,3,5,5,7,7,7,7],G=[1,1,3,3,5,5,7,7],U=[0,1,2,3,2,3,2,3],Y={DISPLAY:L[0],TEXT:L[2],SCRIPT:L[4],SCRIPTSCRIPT:L[6]},X=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],W=[];function _(e){for(var t=0;t=W[t]&&e<=W[t+1])return!0;return!1}X.forEach(e=>e.blocks.forEach(e=>W.push(...e)));var j=function(e,t,r){t*=1e3;var a,n,i,s,o,l,h,m,c,p,u,d,g="";switch(e){case"sqrtMain":;n=80,g="M95,"+(622+(a=t)+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+a/2.075+" -"+a+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+a)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+a)+" "+n+"h400000v"+(40+a)+"h-400000z";break;case"sqrtSize1":;s=80,g="M263,"+(601+(i=t)+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+i/2.084+" -"+i+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+i)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+i)+" "+s+"h400000v"+(40+i)+"h-400000z";break;case"sqrtSize2":;l=80,g="M983 "+(10+(o=t)+80)+"\nl"+o/3.13+" -"+o+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+o)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+o)+" "+l+"h400000v"+(40+o)+"h-400000z";break;case"sqrtSize3":;m=80,g="M424,"+(2398+(h=t)+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+h/4.223+" -"+h+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+h)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+h)+" "+m+"\nh400000v"+(40+h)+"h-400000z";break;case"sqrtSize4":;p=80,g="M473,"+(2713+(c=t)+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+c/5.298+" -"+c+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+c)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+c)+" "+p+"h400000v"+(40+c)+"H1017.7z";break;case"sqrtTall":;d=80,g="M702 "+((u=t)+80)+"H400000"+(40+u)+"\nH742v"+(r-54-d-u)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+d+"H400000v"+(40+u)+"H742z"}return g},$=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t)+" H367z";case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t)+" H478z";default:return""}},Z={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},K=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw Error("Unknown stretchy delimiter.")}};class J{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return H.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText()).join("")}}var Q={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ee={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},et={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function er(e,t,r){if(!Q[t])throw Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=Q[t][a];if(!n&&e[0]in et&&(a=et[e[0]].charCodeAt(0),n=Q[t][a]),!n&&"text"===r&&_(a)&&(n=Q[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var ea={},en=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],ei=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],es=function(e,t){return t.size<2?e:en[e-1][t.size-1]};class eo{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||eo.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=ei[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new eo(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:es(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:ei[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=es(eo.BASESIZE,e);return this.size===t&&this.textSize===eo.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==eo.BASESIZE?["sizing","reset-size"+this.size,"size"+eo.BASESIZE]:[]}fontMetrics(){return!this._fontMetrics&&(this._fontMetrics=function(e){var t;if(!ea[t=e>=5?0:e>=3?1:2]){var r=ea[t]={cssEmPerMu:ee.quad[t]/18};for(var a in ee)ee.hasOwnProperty(a)&&(r[a]=ee[a][t])}return ea[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}eo.BASESIZE=6;var el={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},eh={ex:!0,em:!0,mu:!0},em=function(e){return"string"!=typeof e&&(e=e.unit),e in el||e in eh||"ex"===e},ec=function(e,t){var r,a;if(e.unit in el)r=el[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else if("em"===e.unit)r=a.fontMetrics().quad;else throw new i("Invalid unit: '"+e.unit+"'");a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},ep=function(e){return+e.toFixed(4)+"em"},eu=function(e){return e.filter(e=>e).join(" ")},ed=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},eg=function(e){var t=document.createElement(e);for(var r in t.className=eu(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n"};class ev{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ed.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return H.contains(this.classes,e)}toNode(){return eg.call(this,"span")}toMarkup(){return ef.call(this,"span")}}class eb{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ed.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return H.contains(this.classes,e)}toNode(){return eg.call(this,"a")}toMarkup(){return ef.call(this,"a")}}class ey{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return H.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=''+H.escape(this.alt))+'=n[0]&&e<=n[1])return r.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ex[this.text])}hasClass(e){return H.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=ep(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=eu(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=H.hyphenate(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+H.escape(r)+'"');var n=H.escape(this.text);return e?(t+=">",t+=n,t+=""):n}}class ek{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r':''}}class eM{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="","\\gt",!0),eC(eq,eI,"rel","\u2208","\\in",!0),eC(eq,eI,"rel","\uE020","\\@not"),eC(eq,eI,"rel","\u2282","\\subset",!0),eC(eq,eI,"rel","\u2283","\\supset",!0),eC(eq,eI,"rel","\u2286","\\subseteq",!0),eC(eq,eI,"rel","\u2287","\\supseteq",!0),eC(eq,"ams","rel","\u2288","\\nsubseteq",!0),eC(eq,"ams","rel","\u2289","\\nsupseteq",!0),eC(eq,eI,"rel","\u22A8","\\models"),eC(eq,eI,"rel","\u2190","\\leftarrow",!0),eC(eq,eI,"rel","\u2264","\\le"),eC(eq,eI,"rel","\u2264","\\leq",!0),eC(eq,eI,"rel","<","\\lt",!0),eC(eq,eI,"rel","\u2192","\\rightarrow",!0),eC(eq,eI,"rel","\u2192","\\to"),eC(eq,"ams","rel","\u2271","\\ngeq",!0),eC(eq,"ams","rel","\u2270","\\nleq",!0),eC(eq,eI,eP,"\xa0","\\ "),eC(eq,eI,eP,"\xa0","\\space"),eC(eq,eI,eP,"\xa0","\\nobreakspace"),eC(eN,eI,eP,"\xa0","\\ "),eC(eN,eI,eP,"\xa0"," "),eC(eN,eI,eP,"\xa0","\\space"),eC(eN,eI,eP,"\xa0","\\nobreakspace"),eC(eq,eI,eP,null,"\\nobreak"),eC(eq,eI,eP,null,"\\allowbreak"),eC(eq,eI,eV,",",","),eC(eq,eI,eV,";",";"),eC(eq,"ams","bin","\u22BC","\\barwedge",!0),eC(eq,"ams","bin","\u22BB","\\veebar",!0),eC(eq,eI,"bin","\u2299","\\odot",!0),eC(eq,eI,"bin","\u2295","\\oplus",!0),eC(eq,eI,"bin","\u2297","\\otimes",!0),eC(eq,eI,eF,"\u2202","\\partial",!0),eC(eq,eI,"bin","\u2298","\\oslash",!0),eC(eq,"ams","bin","\u229A","\\circledcirc",!0),eC(eq,"ams","bin","\u22A1","\\boxdot",!0),eC(eq,eI,"bin","\u25B3","\\bigtriangleup"),eC(eq,eI,"bin","\u25BD","\\bigtriangledown"),eC(eq,eI,"bin","\u2020","\\dagger"),eC(eq,eI,"bin","\u22C4","\\diamond"),eC(eq,eI,"bin","\u22C6","\\star"),eC(eq,eI,"bin","\u25C3","\\triangleleft"),eC(eq,eI,"bin","\u25B9","\\triangleright"),eC(eq,eI,eD,"{","\\{"),eC(eN,eI,eF,"{","\\{"),eC(eN,eI,eF,"{","\\textbraceleft"),eC(eq,eI,eR,"}","\\}"),eC(eN,eI,eF,"}","\\}"),eC(eN,eI,eF,"}","\\textbraceright"),eC(eq,eI,eD,"{","\\lbrace"),eC(eq,eI,eR,"}","\\rbrace"),eC(eq,eI,eD,"[","\\lbrack",!0),eC(eN,eI,eF,"[","\\lbrack",!0),eC(eq,eI,eR,"]","\\rbrack",!0),eC(eN,eI,eF,"]","\\rbrack",!0),eC(eq,eI,eD,"(","\\lparen",!0),eC(eq,eI,eR,")","\\rparen",!0),eC(eN,eI,eF,"<","\\textless",!0),eC(eN,eI,eF,">","\\textgreater",!0),eC(eq,eI,eD,"\u230A","\\lfloor",!0),eC(eq,eI,eR,"\u230B","\\rfloor",!0),eC(eq,eI,eD,"\u2308","\\lceil",!0),eC(eq,eI,eR,"\u2309","\\rceil",!0),eC(eq,eI,eF,"\\","\\backslash"),eC(eq,eI,eF,"\u2223","|"),eC(eq,eI,eF,"\u2223","\\vert"),eC(eN,eI,eF,"|","\\textbar",!0),eC(eq,eI,eF,"\u2225","\\|"),eC(eq,eI,eF,"\u2225","\\Vert"),eC(eN,eI,eF,"\u2225","\\textbardbl"),eC(eN,eI,eF,"~","\\textasciitilde"),eC(eN,eI,eF,"\\","\\textbackslash"),eC(eN,eI,eF,"^","\\textasciicircum"),eC(eq,eI,"rel","\u2191","\\uparrow",!0),eC(eq,eI,"rel","\u21D1","\\Uparrow",!0),eC(eq,eI,"rel","\u2193","\\downarrow",!0),eC(eq,eI,"rel","\u21D3","\\Downarrow",!0),eC(eq,eI,"rel","\u2195","\\updownarrow",!0),eC(eq,eI,"rel","\u21D5","\\Updownarrow",!0),eC(eq,eI,eL,"\u2210","\\coprod"),eC(eq,eI,eL,"\u22C1","\\bigvee"),eC(eq,eI,eL,"\u22C0","\\bigwedge"),eC(eq,eI,eL,"\u2A04","\\biguplus"),eC(eq,eI,eL,"\u22C2","\\bigcap"),eC(eq,eI,eL,"\u22C3","\\bigcup"),eC(eq,eI,eL,"\u222B","\\int"),eC(eq,eI,eL,"\u222B","\\intop"),eC(eq,eI,eL,"\u222C","\\iint"),eC(eq,eI,eL,"\u222D","\\iiint"),eC(eq,eI,eL,"\u220F","\\prod"),eC(eq,eI,eL,"\u2211","\\sum"),eC(eq,eI,eL,"\u2A02","\\bigotimes"),eC(eq,eI,eL,"\u2A01","\\bigoplus"),eC(eq,eI,eL,"\u2A00","\\bigodot"),eC(eq,eI,eL,"\u222E","\\oint"),eC(eq,eI,eL,"\u222F","\\oiint"),eC(eq,eI,eL,"\u2230","\\oiiint"),eC(eq,eI,eL,"\u2A06","\\bigsqcup"),eC(eq,eI,eL,"\u222B","\\smallint"),eC(eN,eI,eO,"\u2026","\\textellipsis"),eC(eq,eI,eO,"\u2026","\\mathellipsis"),eC(eN,eI,eO,"\u2026","\\ldots",!0),eC(eq,eI,eO,"\u2026","\\ldots",!0),eC(eq,eI,eO,"\u22EF","\\@cdots",!0),eC(eq,eI,eO,"\u22F1","\\ddots",!0),eC(eq,eI,eF,"\u22EE","\\varvdots"),eC(eq,eI,eH,"\u02CA","\\acute"),eC(eq,eI,eH,"\u02CB","\\grave"),eC(eq,eI,eH,"\xa8","\\ddot"),eC(eq,eI,eH,"~","\\tilde"),eC(eq,eI,eH,"\u02C9","\\bar"),eC(eq,eI,eH,"\u02D8","\\breve"),eC(eq,eI,eH,"\u02C7","\\check"),eC(eq,eI,eH,"^","\\hat"),eC(eq,eI,eH,"\u20D7","\\vec"),eC(eq,eI,eH,"\u02D9","\\dot"),eC(eq,eI,eH,"\u02DA","\\mathring"),eC(eq,eI,eE,"\uE131","\\@imath"),eC(eq,eI,eE,"\uE237","\\@jmath"),eC(eq,eI,eF,"\u0131","\u0131"),eC(eq,eI,eF,"\u0237","\u0237"),eC(eN,eI,eF,"\u0131","\\i",!0),eC(eN,eI,eF,"\u0237","\\j",!0),eC(eN,eI,eF,"\xdf","\\ss",!0),eC(eN,eI,eF,"\xe6","\\ae",!0),eC(eN,eI,eF,"\u0153","\\oe",!0),eC(eN,eI,eF,"\xf8","\\o",!0),eC(eN,eI,eF,"\xc6","\\AE",!0),eC(eN,eI,eF,"\u0152","\\OE",!0),eC(eN,eI,eF,"\xd8","\\O",!0),eC(eN,eI,eH,"\u02CA","\\'"),eC(eN,eI,eH,"\u02CB","\\`"),eC(eN,eI,eH,"\u02C6","\\^"),eC(eN,eI,eH,"\u02DC","\\~"),eC(eN,eI,eH,"\u02C9","\\="),eC(eN,eI,eH,"\u02D8","\\u"),eC(eN,eI,eH,"\u02D9","\\."),eC(eN,eI,eH,"\xb8","\\c"),eC(eN,eI,eH,"\u02DA","\\r"),eC(eN,eI,eH,"\u02C7","\\v"),eC(eN,eI,eH,"\xa8",'\\"'),eC(eN,eI,eH,"\u02DD","\\H"),eC(eN,eI,eH,"\u25EF","\\textcircled");var eG={"--":!0,"---":!0,"``":!0,"''":!0};eC(eN,eI,eF,"\u2013","--",!0),eC(eN,eI,eF,"\u2013","\\textendash"),eC(eN,eI,eF,"\u2014","---",!0),eC(eN,eI,eF,"\u2014","\\textemdash"),eC(eN,eI,eF,"\u2018","`",!0),eC(eN,eI,eF,"\u2018","\\textquoteleft"),eC(eN,eI,eF,"\u2019","'",!0),eC(eN,eI,eF,"\u2019","\\textquoteright"),eC(eN,eI,eF,"\u201C","``",!0),eC(eN,eI,eF,"\u201C","\\textquotedblleft"),eC(eN,eI,eF,"\u201D","''",!0),eC(eN,eI,eF,"\u201D","\\textquotedblright"),eC(eq,eI,eF,"\xb0","\\degree",!0),eC(eN,eI,eF,"\xb0","\\degree"),eC(eN,eI,eF,"\xb0","\\textdegree",!0),eC(eq,eI,eF,"\xa3","\\pounds"),eC(eq,eI,eF,"\xa3","\\mathsterling",!0),eC(eN,eI,eF,"\xa3","\\pounds"),eC(eN,eI,eF,"\xa3","\\textsterling",!0),eC(eq,"ams",eF,"\u2720","\\maltese"),eC(eN,"ams",eF,"\u2720","\\maltese");for(var eU='0123456789/@."',eY=0;eY{if(eu(e.classes)!==eu(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},tr=function(e){for(var t=0,r=0,a=0,n=0;nt&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},ta=function(e,t,r,a){var n=new ev(e,t,r,a);return tr(n),n},tn=(e,t,r,a)=>new ev(e,t,r,a),ti=function(e){var t=new J(e);return tr(t),t},ts=function(e){if("individualShift"===e.positionType){for(var t,r=e.children,a=[r[0]],n=-r[0].shift-r[0].elem.depth,i=n,s=1;s0)return te(n,l,a,t,i.concat(h));if(o){if("boldsymbol"===o){var m,c,p,u,d,g,f=(m=n,c=a,p=0,u=0,"textord"!==r&&e9(m,"Math-BoldItalic",c).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"});d=f.fontName,g=[f.fontClass]}else s?(d=tl[o].fontName,g=[o]):(d=to(o,t.fontWeight,t.fontShape),g=[o,t.fontWeight,t.fontShape]);if(e9(n,d,a).metrics)return te(n,d,a,t,i.concat(g));if(eG.hasOwnProperty(n)&&"Typewriter"===d.slice(0,10)){for(var v=[],b=0;b{var r=ta(["mspace"],[],t),a=ec(e,t);return r.style.marginRight=ep(a),r},staticSvg:function(e,t){var[r,a,n]=th[e],i=tn(["overlay"],[new ek([new eS(r)],{width:ep(a),height:ep(n),style:"width:"+ep(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"})],t);return i.height=n,i.style.height=ep(n),i.style.width=ep(a),i},svgData:th,tryCombineChars:e=>{for(var t=0;t{var r=t.classes[0],a=e.classes[0];"mbin"===r&&H.contains(tz,a)?t.classes[0]="mord":"mbin"===a&&H.contains(tM,r)&&(e.classes[0]="mord")},{node:m},c,p),tC(n,(e,t)=>{var r=tI(t),a=tI(e),n=r&&a?e.hasClass("mtight")?tg[r][a]:td[r][a]:null;if(n)return tm.makeGlue(n,l)},{node:m},c,p),n},tC=function e(t,r,a,n,i){n&&t.push(n);for(var s=0;s{t.splice(n+1,0,e),s++})}n&&t.pop()},tq=function(e){return e instanceof J||e instanceof eb||e instanceof ev&&e.hasClass("enclosing")?e:null},tN=function e(t,r){var a=tq(t);if(a){var n=a.children;if(n.length){if("right"===r)return e(n[n.length-1],"right");if("left"===r)return e(n[0],"left")}}return t},tI=function(e,t){return e?(t&&(e=tN(e,t)),tT[e.classes[0]]||null):null},tH=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return tS(t.concat(r))},tR=function(e,t,r){if(!e)return tS();if(tv[e.type]){var a=tv[e.type](e,t);if(r&&t.size!==r.size){a=tS(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i("Got group of unknown type: '"+e.type+"'")};function tO(e,t){var r=tS(["base"],e,t),a=tS(["strut"]);return a.style.height=ep(r.height+r.depth),r.depth&&(a.style.verticalAlign=ep(-r.depth)),r.children.unshift(a),r}function tE(e,t){var r,a,n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);var i=tB(e,t,"root");2===i.length&&i[1].hasClass("tag")&&(r=i.pop());for(var s=[],o=[],l=0;l0&&(s.push(tO(o,t)),o=[]),s.push(i[l]));o.length>0&&s.push(tO(o,t)),n?((a=tO(tB(n,t,!0))).classes=["tag"],s.push(a)):r&&s.push(r);var m=tS(["katex-html"],s);if(m.setAttribute("aria-hidden","true"),a){var c=a.children[0];c.style.height=ep(m.height+m.depth),m.depth&&(c.style.verticalAlign=ep(-m.depth))}return m}function tL(e){return new J(e)}class tD{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=eu(this.classes));for(var r=0;r0&&(e+=' class ="'+H.escape(eu(this.classes))+'"'),e+=">";for(var r=0;r"}toText(){return this.children.map(e=>e.toText()).join("")}}class tV{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return H.escape(this.toText())}toText(){return this.text}}var tP={MathNode:tD,TextNode:tV,SpaceNode:class e{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",ep(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:tL},tF=function(e,t,r){return eB[t][e]&&eB[t][e].replace&&55349!==e.charCodeAt(0)&&!(eG.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6)))&&(e=eB[t][e].replace),new tP.TextNode(e)},tG=function(e){return 1===e.length?e[0]:new tP.MathNode("mrow",e)},tU=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily){if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"sans-serif-bold-italic";if("textit"===t.fontShape)return"sans-serif-italic";else if("textbf"===t.fontWeight)return"bold-sans-serif";else return"sans-serif"}if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";else if("textit"===t.fontShape)return"italic";else if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var a=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";else if("mathbb"===r)return"double-struck";else if("mathfrak"===r)return"fraktur";else if("mathscr"===r||"mathcal"===r)return"script";else if("mathsf"===r)return"sans-serif";else if("mathtt"===r)return"monospace";var n=e.text;return H.contains(["\\imath","\\jmath"],n)?null:(eB[a][n]&&eB[a][n].replace&&(n=eB[a][n].replace),er(n,tm.fontMap[r].fontName,a))?tm.fontMap[r].variant:null},tY=function(e,t,r){if(1===e.length){var a,n=tW(e[0],t);return r&&n instanceof tD&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i=[],s=0;s0&&(m.text=m.text.slice(0,1)+"\u0338"+m.text.slice(1),i.pop())}}}i.push(o),a=o}return i},tX=function(e,t,r){return tG(tY(e,t,r))},tW=function(e,t){if(!e)return new tP.MathNode("mrow");if(tb[e.type])return tb[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function t_(e,t,r,a,n){var i,s=tY(e,r);i=1===s.length&&s[0]instanceof tD&&H.contains(["mrow","mtable"],s[0].type)?s[0]:new tP.MathNode("mrow",s);var o=new tP.MathNode("annotation",[new tP.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new tP.MathNode("semantics",[i,o]),h=new tP.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block"),tm.makeSpan([n?"katex":"katex-mathml"],[h])}var tj=function(e){return new eo({style:e.displayMode?Y.DISPLAY:Y.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},t$=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=tm.makeSpan(r,[e])}return e},tZ=function(e,t,r){var a,n=tj(r);if("mathml"===r.output)return t_(e,t,n,r.displayMode,!0);if("html"===r.output){var i=tE(e,n);a=tm.makeSpan(["katex"],[i])}else{var s=t_(e,t,n,r.displayMode,!1),o=tE(e,n);a=tm.makeSpan(["katex"],[s,o])}return t$(a,r)},tK=function(e,t,r){var a=tE(e,tj(r));return t$(tm.makeSpan(["katex"],[a]),r)},tJ={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},tQ={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},t0={encloseSpan:function(e,t,r,a,n){var i,s=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=tm.makeSpan(["stretchy",t],[],n),"fbox"===t){var o=n.color&&n.getColor();o&&(i.style.borderColor=o)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new eM({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new eM({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ek(l,{width:"100%",height:ep(s)});i=tm.makeSvgSpan([],[h],n)}return i.height=s,i.style.height=ep(s),i},mathMLnode:function(e){var t=new tP.MathNode("mo",[new tP.TextNode(tJ[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},svgSpan:function(e,t){var{span:r,minWidth:a,height:n}=function(){var r=4e5,a=e.label.slice(1);if(H.contains(["widehat","widecheck","widetilde","utilde"],a)){var n,i,s,o,l="ordgroup"===(o=e.base).type?o.body.length:1;if(l>5)"widehat"===a||"widecheck"===a?(n=420,r=2364,s=.42,i=a+"4"):(n=312,r=2340,s=.34,i="tilde4");else{var h=[1,1,2,2,3,3][l];"widehat"===a||"widecheck"===a?(r=[0,1062,2364,2364,2364][h],n=[0,239,300,360,420][h],s=[0,.24,.3,.3,.36,.42][h],i=a+h):(r=[0,600,1033,2339,2340][h],n=[0,260,286,306,312][h],s=[0,.26,.286,.3,.306,.34][h],i="tilde"+h)}var m=new ek([new eS(i)],{width:"100%",height:ep(s),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:tm.makeSvgSpan([],[m],t),minWidth:0,height:s}}var c,p,u=[],d=tQ[a],[g,f,v]=d,b=v/1e3,y=g.length;if(1===y){var x=d[3];c=["hide-tail"],p=[x]}else if(2===y)c=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else if(3===y)c=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error("Correct katexImagesData or update code here to support\n "+y+" children.");for(var w=0;w0&&(r.style.minWidth=ep(a)),r}};function t1(e,t){if(!e||e.type!==t)throw Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function t4(e){var t=t5(e);if(!t)throw Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function t5(e){return e&&("atom"===e.type||eT.hasOwnProperty(e.type))?e:null}var t6=(e,t)=>{e&&"supsub"===e.type?(o=(l=t1(e.base,"accent")).base,e.base=o,h=function(e){if(e instanceof ev)return e;throw Error("Expected span but got "+String(e)+".")}(tR(e,t)),e.base=l):o=(l=t1(e,"accent")).base;var r=tR(o,t.havingCrampedStyle()),a=l.isShifty&&H.isCharacterBox(o),n=0;a&&(n=ez(tR(H.getBaseElem(o),t.havingCrampedStyle())).skew);var i="\\c"===l.label,s=i?r.height+r.depth:Math.min(r.height,t.fontMetrics().xHeight);if(l.isStretchy)m=t0.svgSpan(l,t),m=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:n>0?{width:"calc(100% - "+ep(2*n)+")",marginLeft:ep(2*n)}:void 0}]},t);else{"\\vec"===l.label?(c=tm.staticSvg("vec",t),p=tm.svgData.vec[1]):((c=ez(c=tm.makeOrd({mode:l.mode,text:l.label},t,"textord"))).italic=0,p=c.width,i&&(s+=c.depth)),m=tm.makeSpan(["accent-body"],[c]);var o,l,h,m,c,p,u="\\textcircled"===l.label;u&&(m.classes.push("accent-full"),s=r.height);var d=n;!u&&(d-=p/2),m.style.left=ep(d),"\\textcircled"===l.label&&(m.style.top=".2em"),m=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:-s},{type:"elem",elem:m}]},t)}var g=tm.makeSpan(["mord","accent"],[m],t);return h?(h.children[0]=g,h.height=Math.max(g.height,h.height),h.classes[0]="mord",h):g},t7=(e,t)=>{var r=e.isStretchy?t0.mathMLnode(e.label):new tP.MathNode("mo",[tF(e.label,e.mode)]),a=new tP.MathNode("mover",[tW(e.base,t),r]);return a.setAttribute("accent","true"),a},t3=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ty({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=tw(t[0]),a=!t3.test(e.funcName),n=!a||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:t6,mathmlBuilder:t7}),ty({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],a=e.parser.mode;return"math"===a&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:t6,mathmlBuilder:t7}),ty({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(e,t)=>{var r=tR(e.base,t),a=t0.svgSpan(e,t),n="\\utilde"===e.label?.12:0,i=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=t0.mathMLnode(e.label),a=new tP.MathNode("munder",[tW(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var t8=e=>{var t=new tP.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ty({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a,funcName:n}=e;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a,n=t.style,i=t.havingStyle(n.sup()),s=tm.wrapFragment(tR(e.body,i,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";s.classes.push(o+"-arrow-pad"),e.below&&(i=t.havingStyle(n.sub()),(r=tm.wrapFragment(tR(e.below,i,t),t)).classes.push(o+"-arrow-pad"));var l=t0.svgSpan(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((s.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=s.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:m},{type:"elem",elem:l,shift:h}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),tm.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder(e,t){var r,a=t0.mathMLnode(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=t8(tW(e.body,t));if(e.below){var i=t8(tW(e.below,t));r=new tP.MathNode("munderover",[a,i,n])}else r=new tP.MathNode("mover",[a,n])}else if(e.below){var s=t8(tW(e.below,t));r=new tP.MathNode("munder",[a,s])}else r=t8(),r=new tP.MathNode("mover",[a,r]);return r}});var t2=tm.makeSpan;function t9(e,t){var r=tB(e.body,t,!0);return t2([e.mclass],r,t)}function re(e,t){var r,a=tY(e.body,t);return"minner"===e.mclass?r=new tP.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new tP.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new tP.MathNode("mo",a),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ty({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:tk(n),isCharacterBox:H.isCharacterBox(n)}},htmlBuilder:t9,mathmlBuilder:re});var rt=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"===t.type&&("bin"===t.family||"rel"===t.family)?"m"+t.family:"mord"};ty({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:rt(t[0]),body:tk(t[1]),isCharacterBox:H.isCharacterBox(t[1])}}}),ty({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:a,funcName:n}=e,i=t[1],s=t[0];r="\\stackrel"!==n?rt(i):"mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:tk(i)},l={type:"supsub",mode:s.mode,base:o,sup:"\\underset"===n?null:s,sub:"\\underset"===n?s:null};return{type:"mclass",mode:a.mode,mclass:r,body:[l],isCharacterBox:H.isCharacterBox(l)}},htmlBuilder:t9,mathmlBuilder:re}),ty({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:rt(t[0]),body:tk(t[0])}},htmlBuilder(e,t){var r=tB(e.body,t,!0),a=tm.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=tY(e.body,t),a=new tP.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var rr={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ra=()=>({type:"styling",body:[],mode:"math",style:"display"}),rn=e=>"textord"===e.type&&"@"===e.text,ri=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;ty({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),a=tm.wrapFragment(tR(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=ep(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new tP.MathNode("mrow",[tW(e.label,t)]);return(r=new tP.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new tP.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),ty({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=tm.wrapFragment(tR(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new tP.MathNode("mrow",[tW(e.fragment,t)])}),ty({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var r,{parser:a}=e,n=t1(t[0],"ordgroup").body,s="",o=0;o=1114111)throw new i("\\@char with invalid code point "+s);l<=65535?r=String.fromCharCode(l):(l-=65536,r=String.fromCharCode((l>>10)+55296,(1023&l)+56320));return{type:"textord",mode:a.mode,text:r}}});var rs=(e,t)=>{var r=tB(e.body,t.withColor(e.color),!1);return tm.makeFragment(r)},ro=(e,t)=>{var r=tY(e.body,t.withColor(e.color)),a=new tP.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};ty({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=t1(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:tk(n)}},htmlBuilder:rs,mathmlBuilder:ro}),ty({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=t1(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:rs,mathmlBuilder:ro}),ty({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:a}=e,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&t1(n,"size").value}},htmlBuilder(e,t){var r=tm.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ep(ec(e.size,t)))),r},mathmlBuilder(e,t){var r=new tP.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ep(ec(e.size,t)))),r}});var rl={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},rh=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},rm=e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t},rc=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};ty({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(rl[a.text])return("\\global"===r||"\\\\globallong"===r)&&(a.text=rl[a.text]),t1(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",a)}}),ty({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var t,{parser:r,funcName:a}=e,n=r.gullet.popToken(),s=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new i("Expected a control sequence",n);for(var o=0,l=[[]];"{"!==r.gullet.future().text;)if("#"===(n=r.gullet.popToken()).text){if("{"===r.gullet.future().text){t=r.gullet.future(),l[o].push("{");break}if(n=r.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new i('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==o+1)throw new i('Argument number "'+n.text+'" out of order');o++,l.push([])}else if("EOF"===n.text)throw new i("Expected a macro definition");else l[o].push(n.text);var{tokens:h}=r.gullet.consumeArg();return t&&h.unshift(t),("\\edef"===a||"\\xdef"===a)&&(h=r.gullet.expandTokens(h)).reverse(),r.gullet.macros.set(s,{tokens:h,numArgs:o,delimiters:l},a===rl[a]),{type:"internal",mode:r.mode}}}),ty({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rh(t.gullet.popToken());t.gullet.consumeSpaces();var n=rm(t);return rc(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),ty({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rh(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return rc(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var rp=function(e,t,r){var a=er(eB.math[e]&&eB.math[e].replace||e,t,r);if(!a)throw Error("Unsupported symbol "+e+" and font size "+t+".");return a},ru=function(e,t,r,a){var n=r.havingBaseStyle(t),i=tm.makeSpan(a.concat(n.sizingClasses(r)),[e],r),s=n.sizeMultiplier/r.sizeMultiplier;return i.height*=s,i.depth*=s,i.maxFontSize=n.sizeMultiplier,i},rd=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ep(n),e.height-=n,e.depth+=n},rg=function(e,t,r,a,n,i){var s=ru(tm.makeSymbol(e,"Main-Regular",n,a),t,a,i);return r&&rd(s,a,t),s},rf=function(e,t,r,a,n,i){var s,o,l,h,m=(s=e,o=t,l=n,h=a,tm.makeSymbol(s,"Size"+o+"-Regular",l,h)),c=ru(tm.makeSpan(["delimsizing","size"+t],[m],a),Y.TEXT,a,i);return r&&rd(c,a,Y.TEXT),c},rv=function(e,t,r){var a;return a="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:tm.makeSpan(["delimsizinginner",a],[tm.makeSpan([],[tm.makeSymbol(e,t,r)])])}},rb=function(e,t,r){var a=Q["Size4-Regular"][e.charCodeAt(0)]?Q["Size4-Regular"][e.charCodeAt(0)][4]:Q["Size1-Regular"][e.charCodeAt(0)][4],n=new ek([new eS("inner",$(e,Math.round(1e3*t)))],{width:ep(a),height:ep(t),style:"width:"+ep(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),i=tm.makeSvgSpan([],[n],r);return i.height=t,i.style.height=ep(t),i.style.width=ep(a),{type:"elem",elem:i}},ry={type:"kern",size:-.008},rx=["|","\\lvert","\\rvert","\\vert"],rw=["\\|","\\lVert","\\rVert","\\Vert"],rk=function(e,t,r,a,n,i){var s,o,l,h,m="",c=0;s=l=h=e,o=null;var p="Size1-Regular";"\\uparrow"===e?l=h="\u23D0":"\\Uparrow"===e?l=h="\u2016":"\\downarrow"===e?s=l="\u23D0":"\\Downarrow"===e?s=l="\u2016":"\\updownarrow"===e?(s="\\uparrow",l="\u23D0",h="\\downarrow"):"\\Updownarrow"===e?(s="\\Uparrow",l="\u2016",h="\\Downarrow"):H.contains(rx,e)?(l="\u2223",m="vert",c=333):H.contains(rw,e)?(l="\u2225",m="doublevert",c=556):"["===e||"\\lbrack"===e?(s="\u23A1",l="\u23A2",h="\u23A3",p="Size4-Regular",m="lbrack",c=667):"]"===e||"\\rbrack"===e?(s="\u23A4",l="\u23A5",h="\u23A6",p="Size4-Regular",m="rbrack",c=667):"\\lfloor"===e||"\u230A"===e?(l=s="\u23A2",h="\u23A3",p="Size4-Regular",m="lfloor",c=667):"\\lceil"===e||"\u2308"===e?(s="\u23A1",l=h="\u23A2",p="Size4-Regular",m="lceil",c=667):"\\rfloor"===e||"\u230B"===e?(l=s="\u23A5",h="\u23A6",p="Size4-Regular",m="rfloor",c=667):"\\rceil"===e||"\u2309"===e?(s="\u23A4",l=h="\u23A5",p="Size4-Regular",m="rceil",c=667):"("===e||"\\lparen"===e?(s="\u239B",l="\u239C",h="\u239D",p="Size4-Regular",m="lparen",c=875):")"===e||"\\rparen"===e?(s="\u239E",l="\u239F",h="\u23A0",p="Size4-Regular",m="rparen",c=875):"\\{"===e||"\\lbrace"===e?(s="\u23A7",o="\u23A8",h="\u23A9",l="\u23AA",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(s="\u23AB",o="\u23AC",h="\u23AD",l="\u23AA",p="Size4-Regular"):"\\lgroup"===e||"\u27EE"===e?(s="\u23A7",h="\u23A9",l="\u23AA",p="Size4-Regular"):"\\rgroup"===e||"\u27EF"===e?(s="\u23AB",h="\u23AD",l="\u23AA",p="Size4-Regular"):"\\lmoustache"===e||"\u23B0"===e?(s="\u23A7",h="\u23AD",l="\u23AA",p="Size4-Regular"):("\\rmoustache"===e||"\u23B1"===e)&&(s="\u23AB",h="\u23A9",l="\u23AA",p="Size4-Regular");var u=rp(s,p,n),d=u.height+u.depth,g=rp(l,p,n),f=g.height+g.depth,v=rp(h,p,n),b=v.height+v.depth,y=0,x=1;if(null!==o){var w=rp(o,p,n);y=w.height+w.depth,x=2}var k=d+b+y,S=Math.max(0,Math.ceil((t-k)/(x*f))),M=k+S*x*f,z=a.fontMetrics().axisHeight;r&&(z*=a.sizeMultiplier);var A=M/2-z,T=[];if(m.length>0){var B=Math.round(1e3*M),C=K(m,Math.round(1e3*(M-d-b))),q=new eS(m,C),N=(c/1e3).toFixed(3)+"em",I=(B/1e3).toFixed(3)+"em",R=new ek([q],{width:N,height:I,viewBox:"0 0 "+c+" "+B}),O=tm.makeSvgSpan([],[R],a);O.height=B/1e3,O.style.width=N,O.style.height=I,T.push({type:"elem",elem:O})}else{if(T.push(rv(h,p,n)),T.push(ry),null===o)T.push(rb(l,M-d-b+.016,a));else{var E=(M-d-b-y)/2+.016;T.push(rb(l,E,a)),T.push(ry),T.push(rv(o,p,n)),T.push(ry),T.push(rb(l,E,a))}T.push(ry),T.push(rv(s,p,n))}var L=a.havingBaseStyle(Y.TEXT),D=tm.makeVList({positionType:"bottom",positionData:A,children:T},L);return ru(tm.makeSpan(["delimsizing","mult"],[D],L),Y.TEXT,a,i)},rS=function(e,t,r,a,n){var i=j(e,a,r),s=new ek([new eS(e,i)],{width:"400em",height:ep(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return tm.makeSvgSpan(["hide-tail"],[s],n)},rM=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],rz=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],rA=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],rT=[0,1.2,1.8,2.4,3],rB=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],rC=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"stack"}],rq=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],rN=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";else throw Error("Add support for delim type '"+e.type+"' here.")},rI=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size),i=n;it)return r[i]}return r[r.length-1]},rH=function(e,t,r,a,n,i){"<"===e||"\\lt"===e||"\u27E8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27E9"===e)&&(e="\\rangle"),s=H.contains(rA,e)?rB:H.contains(rM,e)?rq:rC;var s,o=rI(e,t,s,a);return"small"===o.type?rg(e,o.style,r,a,n,i):"large"===o.type?rf(e,o.size,r,a,n,i):rk(e,t,r,a,n,i)},rR={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=rI("\\surd",e*n.sizeMultiplier,rq,n),s=n.sizeMultiplier,o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===i.type?(m=1e3+1e3*o+80,e<1?s=1:e<1.4&&(s=.7),l=(1+o+.08)/s,h=(1+o)/s,(r=rS("sqrtMain",l,m,o,t)).style.minWidth="0.853em",a=.833/s):"large"===i.type?(m=1080*rT[i.size],h=(rT[i.size]+o)/s,l=(rT[i.size]+o+.08)/s,(r=rS("sqrtSize"+i.size,l,m,o,t)).style.minWidth="1.02em",a=1/s):(l=e+o+.08,h=e+o,(r=rS("sqrtTall",l,m=Math.floor(1e3*e+o)+80,o,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=ep(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*s}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"\u27E8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27E9"===e)&&(e="\\rangle"),H.contains(rM,e)||H.contains(rA,e))return rf(e,t,!1,r,a,n);if(H.contains(rz,e))return rk(e,rT[t],!1,r,a,n);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:rT,customSizedDelim:rH,leftRightDelim:function(e,t,r,a,n,i){var s=a.fontMetrics().axisHeight*a.sizeMultiplier,o=5/a.fontMetrics().ptPerEm,l=Math.max(t-s,r+s);return rH(e,Math.max(l/500*901,2*l-o),!0,a,n,i)}},rO={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},rE=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function rL(e,t){var r=t5(e);if(r&&H.contains(rE,r.text))return r;if(r)throw new i("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e);throw new i("Invalid delimiter type '"+e.type+"'",e)}function rD(e){if(!e.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}ty({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=rL(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:rO[e.funcName].size,mclass:rO[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?tm.makeSpan([e.mclass]):rR.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(tF(e.delim,e.mode));var r=new tP.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=ep(rR.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),ty({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:rL(t[0],e).text,color:r}}}),ty({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rL(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=t1(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{rD(e);for(var r,a,n=tB(e.body,t,!0,["mopen","mclose"]),i=0,s=0,o=!1,l=0;l{rD(e);var r=tY(e.body,t);if("."!==e.left){var a=new tP.MathNode("mo",[tF(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new tP.MathNode("mo",[tF(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return tG(r)}}),ty({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rL(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=tH(t,[]);else{r=rR.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};r.isMiddle=a}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?tF("|","text"):tF(e.delim,e.mode),a=new tP.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var rV=(e,t)=>{var r,a,n=tm.wrapFragment(tR(e.body,t),t),i=e.label.slice(1),s=t.sizeMultiplier,o=0,l=H.isCharacterBox(e.body);if("sout"===i)(r=tm.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,o=-.5*t.fontMetrics().xHeight;else if("phase"===i){var h,m=ec({number:.6,unit:"pt"},t),c=ec({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=n.height+n.depth+m+c;n.style.paddingLeft=ep(p/2+m);var u=Math.floor(1e3*p*s);var d=new ek([new eS("phase","M400000 "+(h=u)+" H0 L"+h/2+" 0 l65 45 L145 "+(h-80)+" H400000z")],{width:"400em",height:ep(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=tm.makeSvgSpan(["hide-tail"],[d],t)).style.height=ep(p),o=n.depth+m+c}else{/cancel/.test(i)?!l&&n.classes.push("cancel-pad"):"angl"===i?n.classes.push("anglpad"):n.classes.push("boxpad");var g=0,f=0,v=0;/box/.test(i)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),f=g=t.fontMetrics().fboxsep+("colorbox"===i?0:v)):"angl"===i?(g=4*(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),f=Math.max(0,.25-n.depth)):f=g=l?.2:0,r=t0.encloseSpan(n,i,g,f,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=ep(v)):"angl"===i&&.049!==v&&(r.style.borderTopWidth=ep(v),r.style.borderRightWidth=ep(v)),o=n.depth+f,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var b=/cancel|phase/.test(i)?["svg-align"]:[];a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:r,shift:o,wrapperClasses:b}]},t)}return(/cancel/.test(i)&&(a.height=n.height,a.depth=n.depth),/cancel/.test(i)&&!l)?tm.makeSpan(["mord","cancel-lap"],[a],t):tm.makeSpan(["mord"],[a],t)},rP=(e,t)=>{var r=0,a=new tP.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[tW(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};ty({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t1(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:s}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t1(t[0],"color-token").color,s=t1(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),ty({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var rF={};function rG(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function r_(e){if(-1===e.indexOf("ed"))return -1===e.indexOf("*")}function rj(e,t,r){var{hskipBeforeAndAfter:a,addJot:s,cols:o,arraystretch:l,colSeparationType:h,autoTag:m,singleRow:c,emptySingleRow:p,maxNumCols:u,leqno:d}=t;if(e.gullet.beginGroup(),!c&&e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var g=e.gullet.expandMacroAsText("\\arraystretch");if(null==g)l=1;else if(!(l=parseFloat(g))||l<0)throw new i("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var f=[],v=[f],b=[],y=[],x=null!=m?[]:void 0;function w(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new n("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(!!m&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),y.push(rX(e));;){var S=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),S={type:"ordgroup",mode:e.mode,body:S},r&&(S={type:"styling",mode:e.mode,style:r,body:[S]}),f.push(S);var M=e.fetch().text;if("&"===M){if(u&&f.length===u){if(c||h)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if("\\end"===M){k(),1===f.length&&"styling"===S.type&&0===S.body[0].body.length&&(v.length>1||!p)&&v.pop(),y.length0&&(x+=.25),c.push({pos:x,isDashed:e[t]})}for(w(l[0]),r=0;r0&&(M<(B+=y)&&(M=B),B=0),e.addJot&&(M+=f),z.height=S,z.depth=M,x+=S,z.pos=x,x+=M+B,m[r]=z,w(l[r+1])}var C=x/2+t.fontMetrics().axisHeight,q=e.cols||[],N=[],I=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r=h)){var U=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(U=H.deflt(D.pregap,d))&&((n=tm.makeSpan(["arraycolsep"],[])).style.width=ep(U),N.push(n));var X=[];for(r=0;r0){for(var $=tm.makeLineSpan("hline",t,p),Z=tm.makeLineSpan("hdashline",t,p),K=[{type:"elem",elem:m,shift:0}];c.length>0;){var J=c.pop(),Q=J.pos-C;J.isDashed?K.push({type:"elem",elem:Z,shift:Q}):K.push({type:"elem",elem:$,shift:Q})}m=tm.makeVList({positionType:"individualShift",children:K},t)}if(0===I.length)return tm.makeSpan(["mord"],[m],t);var ee=tm.makeVList({positionType:"individualShift",children:I},t);return ee=tm.makeSpan(["tag"],[ee],t),tm.makeFragment([m,ee])},rK={c:"center ",l:"left ",r:"right "},rJ=function(e,t){for(var r=[],a=new tP.MathNode("mtd",[],["mtr-glue"]),n=new tP.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var u=e.cols,d="",g=!1,f=0,v=u.length;"separator"===u[0].type&&(c+="top ",f=1),"separator"===u[u.length-1].type&&(c+="bottom ",v-=1);for(var b=f;b0?"left ":"")+(S[S.length-1].length>0?"right ":"");for(var M=1;M-1?"alignat":"align",s="split"===e.envName,o=rj(e.parser,{cols:a,addJot:!0,autoTag:s?void 0:r_(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var m="",c=0;c0&&p&&(g=1),a[u]={type:"align",align:d,pregap:g,postgap:0}}return o.colSeparationType=p?"align":"alignat",o};rG({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(t5(t[0])?[t[0]]:t1(t[0],"ordgroup").body).map(function(e){var t=t4(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)}),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return rj(e.parser,a,r$(e.envName))},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,-1==="lcr".indexOf(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var s=rj(e.parser,a,r$(e.envName)),o=Math.max(0,...s.body.map(e=>e.length));return s.cols=Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=rj(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(t5(t[0])?[t[0]]:t1(t[0],"ordgroup").body).map(function(e){var t=t4(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)});if(r.length>1)throw new i("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=rj(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new i("{subarray} can contain only one column");return a},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=rj(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r$(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rQ,htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){H.contains(["gather","gather*"],e.envName)&&rW(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:r_(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return rj(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rQ,htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){rW(e);var t={autoTag:r_(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return rj(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(rW(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"===r||"\\\\"===r)e.consume();else if("\\end"===r){0===t[t.length-1].length&&t.pop();break}else throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],n=[a],s=0;s-1);else if("<>AV".indexOf(m)>-1)for(var p=0;p<2;p++){for(var u=!0,d=h+1;dAV=|." after @',o[h]);var g={type:"styling",body:[function(e,t,r){var a=rr[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n=r.callFunction("\\\\cdleft",[t[0]],[]),i=r.callFunction("\\Big",[{type:"atom",text:a,mode:"math",family:"rel"}],[]),s=r.callFunction("\\\\cdright",[t[1]],[]);return r.callFunction("\\\\cdparent",[{type:"ordgroup",mode:"math",body:[n,i,s]}],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}(m,c,e)],mode:"math",style:"display"};a.push(g),l=ra()}else l.body.push(o[h]);s%2==0?a.push(l):a.shift(),a=[],n.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var f=Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:f,colSeparationType:"CD",hLinesBeforeRow:Array(n.length+1).fill([])}}(e.parser)),htmlBuilder:rZ,mathmlBuilder:rJ}),rU["\\nonumber"]="\\gdef\\@eqnsw{0}",rU["\\notag"]="\\nonumber",ty({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new i(e.funcName+" valid only within array environment")}});ty({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];if("ordgroup"!==n.type)throw new i("Invalid environment name",n);for(var s="",o=0;o{var r=e.font,a=t.withFont(r);return tR(e.body,a)},r1=(e,t)=>{var r=e.font,a=t.withFont(r);return tW(e.body,a)},r4={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ty({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=tw(t[0]),i=a;return i in r4&&(i=r4[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:r0,mathmlBuilder:r1}),ty({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=H.isCharacterBox(a);return{type:"mclass",mode:r.mode,mclass:rt(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),ty({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a,breakOnTokenText:n}=e,{mode:i}=r,s=r.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:r0,mathmlBuilder:r1});var r5=(e,t)=>{var r=t;return"display"===e?r=r.id>=Y.SCRIPT.id?r.text():Y.DISPLAY:"text"===e&&r.size===Y.DISPLAY.size?r=Y.TEXT:"script"===e?r=Y.SCRIPT:"scriptscript"===e&&(r=Y.SCRIPTSCRIPT),r},r6=(e,t)=>{var r,a,n,i,s,o,l,h,m,c,p,u=r5(e.size,t.style),d=u.fracNum(),g=u.fracDen();r=t.havingStyle(d);var f=tR(e.numer,r,t);if(e.continued){var v=8.5/t.fontMetrics().ptPerEm,b=3.5/t.fontMetrics().ptPerEm;f.height=f.height0?3*i:7*i,l=t.fontMetrics().denom1):(n>0?(s=t.fontMetrics().num2,o=i):(s=t.fontMetrics().num3,o=3*i),l=t.fontMetrics().denom2),a){var x=t.fontMetrics().axisHeight;s-f.depth-(x+.5*n){var r=new tP.MathNode("mfrac",[tW(e.numer,t),tW(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=ec(e.barSize,t);r.setAttribute("linethickness",ep(a))}}else r.setAttribute("linethickness","0px");var n=r5(e.size,t.style);if(n.size!==t.style.size){r=new tP.MathNode("mstyle",[r]);var i=n.size===Y.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var s=[];if(null!=e.leftDelim){var o=new tP.MathNode("mo",[new tP.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),null!=e.rightDelim){var l=new tP.MathNode("mo",[new tP.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return tG(s)}return r};ty({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:a,funcName:n}=e,i=t[0],s=t[1],o=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,o="(",l=")";break;case"\\\\bracefrac":r=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,o="[",l="]";break;default:throw Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:a.mode,continued:!1,numer:i,denom:s,hasBarLine:r,leftDelim:o,rightDelim:l,size:h,barSize:null}},htmlBuilder:r6,mathmlBuilder:r7}),ty({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ty({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:a,token:n}=e;switch(a){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:n}}});var r3=["display","text","script","scriptscript"],r8=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};ty({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:a}=e,n=t[4],i=t[5],s=tw(t[0]),o="atom"===s.type&&"open"===s.family?r8(s.text):null,l=tw(t[1]),h="atom"===l.type&&"close"===l.family?r8(l.text):null,m=t1(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var p="auto",u=t[3];return"ordgroup"===u.type?u.body.length>0&&(p=r3[Number(t1(u.body[0],"textord").text)]):p=r3[Number((u=t1(u,"textord")).text)],{type:"genfrac",mode:a.mode,numer:n,denom:i,continued:!1,hasBarLine:r,barSize:c,leftDelim:o,rightDelim:h,size:p}},htmlBuilder:r6,mathmlBuilder:r7}),ty({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:a,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:t1(t[0],"size").value,token:n}}}),ty({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=I(t1(t[1],"infix").size),s=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:r6,mathmlBuilder:r7});var r2=(e,t)=>{var r,a,n,i=t.style;"supsub"===e.type?(r=e.sup?tR(e.sup,t.havingStyle(i.sup()),t):tR(e.sub,t.havingStyle(i.sub()),t),a=t1(e.base,"horizBrace")):a=t1(e,"horizBrace");var s=tR(a.base,t.havingBaseStyle(Y.DISPLAY)),o=t0.svgSpan(a,t);if(a.isOver?(n=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(n=tm.makeVList({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=tm.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t);n=a.isOver?tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):tm.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return tm.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t)};ty({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:r2,mathmlBuilder:(e,t)=>{var r=t0.mathMLnode(e.label);return new tP.MathNode(e.isOver?"mover":"munder",[tW(e.base,t),r])}}),ty({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=t1(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:tk(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=tB(e.body,t,!1);return tm.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=tX(e.body,t);return!(r instanceof tD)&&(r=new tD("mrow",[r])),r.setAttribute("href",e.href),r}}),ty({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t1(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;inew tP.MathNode("mrow",tY(e.body,t))}),ty({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:a,funcName:n,token:s}=e,o=t1(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=o,r={command:"\\htmlClass",class:o};break;case"\\htmlId":h.id=o,r={command:"\\htmlId",id:o};break;case"\\htmlStyle":h.style=o,r={command:"\\htmlStyle",style:o};break;case"\\htmlData":for(var m=o.split(","),c=0;c{var r=tB(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=tm.makeSpan(a,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&n.setAttribute(i,e.attributes[i]);return n},mathmlBuilder:(e,t)=>tX(e.body,t)}),ty({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:tk(t[0]),mathml:tk(t[1])}},htmlBuilder:(e,t)=>{var r=tB(e.html,t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tX(e.mathml,t)});var r9=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!em(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ty({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:a}=e,n={number:0,unit:"em"},s={number:.9,unit:"em"},o={number:0,unit:"em"},l="";if(r[0]){for(var h=t1(r[0],"raw").string.split(","),m=0;m{var r=ec(e.height,t),a=0;e.totalheight.number>0&&(a=ec(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=ec(e.width,t));var i={height:ep(r+a)};n>0&&(i.width=ep(n)),a>0&&(i.verticalAlign=ep(-a));var s=new ey(e.src,e.alt,i);return s.height=r,s.depth=a,s},mathmlBuilder:(e,t)=>{var r=new tP.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=ec(e.height,t),n=0;if(e.totalheight.number>0&&(n=ec(e.totalheight,t)-a,r.setAttribute("valign",ep(-n))),r.setAttribute("height",ep(a+n)),e.width.number>0){var i=ec(e.width,t);r.setAttribute("width",ep(i))}return r.setAttribute("src",e.src),r}}),ty({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t1(t[0],"size");if(r.settings.strict){var i="m"===a[1],s="mu"===n.value.unit;i?(!s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+n.value.unit)+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:(e,t)=>tm.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=ec(e.dimension,t);return new tP.SpaceNode(r)}}),ty({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(e,t)=>{"clap"===e.alignment?(r=tm.makeSpan([],[tR(e.body,t)]),r=tm.makeSpan(["inner"],[r],t)):r=tm.makeSpan(["inner"],[tR(e.body,t)]);var r,a=tm.makeSpan(["fix"],[]),n=tm.makeSpan([e.alignment],[r,a],t),i=tm.makeSpan(["strut"]);return i.style.height=ep(n.height+n.depth),n.depth&&(i.style.verticalAlign=ep(-n.depth)),n.children.unshift(i),n=tm.makeSpan(["thinbox"],[n],t),tm.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new tP.MathNode("mpadded",[tW(e.body,t)]);if("rlap"!==e.alignment){var a="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),ty({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:a}=e,n=a.mode;a.switchMode("math");var i="\\("===r?"\\)":"$",s=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:s}}}),ty({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});var ae=(e,t)=>{switch(t.style.size){case Y.DISPLAY.size:return e.display;case Y.TEXT.size:return e.text;case Y.SCRIPT.size:return e.script;case Y.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ty({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:tk(t[0]),text:tk(t[1]),script:tk(t[2]),scriptscript:tk(t[3])}},htmlBuilder:(e,t)=>{var r=tB(ae(e,t),t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tX(ae(e,t),t)});var at=(e,t,r,a,n,i,s)=>{e=tm.makeSpan([],[e]);var o,l,h,m=r&&H.isCharacterBox(r);if(t){var c=tR(t,a.havingStyle(n.sup()),a);l={elem:c,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var p=tR(r,a.havingStyle(n.sub()),a);o={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-p.height)}}if(l&&o){var u=a.fontMetrics().bigOpSpacing5+o.elem.height+o.elem.depth+o.kern+e.depth+s;h=tm.makeVList({positionType:"bottom",positionData:u,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ep(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(o){var d=e.height-s;h=tm.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ep(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var g=e.depth+s;h=tm.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var f=[h];if(o&&0!==i&&!m){var v=tm.makeSpan(["mspace"],[],a);v.style.marginRight=ep(i),f.unshift(v)}return tm.makeSpan(["mop","op-limits"],f,a)},ar=["\\smallint"],aa=(e,t)=>{var r,a,n,i,s=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=t1(e.base,"op"),s=!0):n=t1(e,"op");var o=t.style,l=!1;if(o.size===Y.DISPLAY.size&&n.symbol&&!H.contains(ar,n.name)&&(l=!0),n.symbol){var h=l?"Size2-Regular":"Size1-Regular",m="";if(("\\oiint"===n.name||"\\oiiint"===n.name)&&(m=n.name.slice(1),n.name="oiint"===m?"\\iint":"\\iiint"),i=tm.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),m.length>0){var c=i.italic,p=tm.staticSvg(m+"Size"+(l?"2":"1"),t);i=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:p,shift:l?.08:0}]},t),n.name="\\"+m,i.classes.unshift("mop"),i.italic=c}}else if(n.body){var u=tB(n.body,t,!0);1===u.length&&u[0]instanceof ew?(i=u[0]).classes[0]="mop":i=tm.makeSpan(["mop"],u,t)}else{for(var d=[],g=1;g{var r;if(e.symbol)r=new tD("mo",[tF(e.name,e.mode)]),H.contains(ar,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new tD("mo",tY(e.body,t));else{r=new tD("mi",[new tV(e.name.slice(1))]);var a=new tD("mo",[tF("\u2061","text")]);r=e.parentIsSupSub?new tD("mrow",[r,a]):tL([r,a])}return r},ai={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};ty({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=ai[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tk(a)}},htmlBuilder:aa,mathmlBuilder:an});var as={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};ty({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=as[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:aa,mathmlBuilder:an});var ao=(e,t)=>{var r,a,n,i,s=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=t1(e.base,"operatorname"),s=!0):n=t1(e,"operatorname"),n.body.length>0){for(var o=tB(n.body.map(e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),t.withFont("mathrm"),!0),l=0;l{var{parser:r,funcName:a}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:tk(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:ao,mathmlBuilder:(e,t)=>{for(var r=tY(e.body,t.withFont("mathrm")),a=!0,n=0;ne.toText()).join("");r=[new tP.TextNode(o)]}var l=new tP.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new tP.MathNode("mo",[tF("\u2061","text")]);return e.parentIsSupSub?new tP.MathNode("mrow",[l,h]):tP.newDocumentFragment([l,h])}}),rU["\\operatorname"]="\\@ifstar\\operatornamewithlimits\\operatorname@",tx({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?tm.makeFragment(tB(e.body,t,!1)):tm.makeSpan(["mord"],tB(e.body,t,!0),t),mathmlBuilder:(e,t)=>tX(e.body,t,!0)}),ty({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,a=t[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(e,t){var r=tR(e.body,t.havingCrampedStyle()),a=tm.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return tm.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new tP.MathNode("mo",[new tP.TextNode("\u203E")]);r.setAttribute("stretchy","true");var a=new tP.MathNode("mover",[tW(e.body,t),r]);return a.setAttribute("accent","true"),a}}),ty({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"phantom",mode:r.mode,body:tk(a)}},htmlBuilder:(e,t)=>{var r=tB(e.body,t.withPhantom(),!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=tY(e.body,t);return new tP.MathNode("mphantom",r)}}),ty({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=tm.makeSpan([],[tR(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=tY(tk(e.body),t),a=new tP.MathNode("mphantom",r),n=new tP.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),ty({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=tm.makeSpan(["inner"],[tR(e.body,t.withPhantom())]),a=tm.makeSpan(["fix"],[]);return tm.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=tY(tk(e.body),t),a=new tP.MathNode("mphantom",r),n=new tP.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),ty({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=t1(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=tR(e.body,t),a=ec(e.dy,t);return tm.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new tP.MathNode("mpadded",[tW(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),ty({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ty({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:a}=e,n=r[0],i=t1(t[0],"size"),s=t1(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&t1(n,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=tm.makeSpan(["mord","rule"],[],t),a=ec(e.width,t),n=ec(e.height,t),i=e.shift?ec(e.shift,t):0;return r.style.borderRightWidth=ep(a),r.style.borderTopWidth=ep(n),r.style.bottom=ep(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ec(e.width,t),a=ec(e.height,t),n=e.shift?ec(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new tP.MathNode("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",ep(r)),s.setAttribute("height",ep(a));var o=new tP.MathNode("mpadded",[s]);return n>=0?o.setAttribute("height",ep(n)):(o.setAttribute("height",ep(n)),o.setAttribute("depth",ep(-n))),o.setAttribute("voffset",ep(n)),o}});var ah=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ty({type:"sizing",names:ah,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:ah.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return al(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=tY(e.body,r),n=new tP.MathNode("mstyle",a);return n.setAttribute("mathsize",ep(r.sizeMultiplier)),n}}),ty({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:a}=e,n=!1,i=!1,s=r[0]&&t1(r[0],"ordgroup");if(s){for(var o="",l=0;l{var r=tm.makeSpan([],[tR(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new tP.MathNode("mpadded",[tW(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ty({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a}=e,n=r[0],i=t[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(e,t){var r=tR(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=tm.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.idr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var c=o.height-r.height-i-l;r.style.paddingLeft=ep(h);var p=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:o},{type:"kern",size:l}]},t);if(!e.index)return tm.makeSpan(["mord","sqrt"],[p],t);var u=t.havingStyle(Y.SCRIPTSCRIPT),d=tR(e.index,u,t),g=.6*(p.height-p.depth),f=tm.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=tm.makeSpan(["root"],[f]);return tm.makeSpan(["mord","sqrt"],[v,p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new tP.MathNode("mroot",[tW(r,t),tW(a,t)]):new tP.MathNode("msqrt",[tW(r,t)])}});var am={display:Y.DISPLAY,text:Y.TEXT,script:Y.SCRIPT,scriptscript:Y.SCRIPTSCRIPT};ty({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!0,r),s=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:s,body:i}},htmlBuilder(e,t){var r=am[e.style],a=t.havingStyle(r).withFont("");return al(e.body,a,t)},mathmlBuilder(e,t){var r=am[e.style],a=t.havingStyle(r),n=tY(e.body,a),i=new tP.MathNode("mstyle",n),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",s[0]),i.setAttribute("displaystyle",s[1]),i}});var ac=function(e,t){var r=e.base;if(!r)return null;if("op"===r.type)return r.limits&&(t.style.size===Y.DISPLAY.size||r.alwaysHandleSupSub)?aa:null;if("operatorname"===r.type)return r.alwaysHandleSupSub&&(t.style.size===Y.DISPLAY.size||r.limits)?ao:null;else if("accent"===r.type)return H.isCharacterBox(r.base)?t6:null;else if("horizBrace"===r.type)return!e.sub===r.isOver?r2:null;else return null};tx({type:"supsub",htmlBuilder(e,t){var r,a,n,i,s=ac(e,t);if(s)return s(e,t);var{base:o,sup:l,sub:h}=e,m=tR(o,t),c=t.fontMetrics(),p=0,u=0,d=o&&H.isCharacterBox(o);if(l){var g=t.havingStyle(t.style.sup());r=tR(l,g,t),!d&&(p=m.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(h){var f=t.havingStyle(t.style.sub());a=tR(h,f,t),!d&&(u=m.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}n=t.style===Y.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var v=t.sizeMultiplier,b=ep(.5/c.ptPerEm/v),y=null;if(a){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(m instanceof ew||x)&&(y=ep(-m.italic))}if(r&&a){p=Math.max(p,n,r.depth+.25*c.xHeight),u=Math.max(u,c.sub2);var w=4*c.defaultRuleThickness;if(p-r.depth-(a.height-u)0&&(p+=k,u-=k)}var S=[{type:"elem",elem:a,shift:u,marginRight:b,marginLeft:y},{type:"elem",elem:r,shift:-p,marginRight:b}];i=tm.makeVList({positionType:"individualShift",children:S},t)}else if(a){u=Math.max(u,c.sub1,a.height-.8*c.xHeight);var M=[{type:"elem",elem:a,marginLeft:y,marginRight:b}];i=tm.makeVList({positionType:"shift",positionData:u,children:M},t)}else if(r)p=Math.max(p,n,r.depth+.25*c.xHeight),i=tm.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:r,marginRight:b}]},t);else throw Error("supsub must have either sup or sub.");var z=tI(m,"right")||"mord";return tm.makeSpan([z],[m,tm.makeSpan(["msupsub"],[i])],t)},mathmlBuilder(e,t){var r,a,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,r=e.base.isOver),e.base&&("op"===e.base.type||"operatorname"===e.base.type)&&(e.base.parentIsSupSub=!0);var i=[tW(e.base,t)];if(e.sub&&i.push(tW(e.sub,t)),e.sup&&i.push(tW(e.sup,t)),n)a=r?"mover":"munder";else if(e.sub){if(e.sup){var s=e.base;a=s&&"op"===s.type&&s.limits&&t.style===Y.DISPLAY?"munderover":s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(t.style===Y.DISPLAY||s.limits)?"munderover":"msubsup"}else{var o=e.base;a=o&&"op"===o.type&&o.limits&&(t.style===Y.DISPLAY||o.alwaysHandleSupSub)?"munder":o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(o.limits||t.style===Y.DISPLAY)?"munder":"msub"}}else{var l=e.base;a=l&&"op"===l.type&&l.limits&&(t.style===Y.DISPLAY||l.alwaysHandleSupSub)?"mover":l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===Y.DISPLAY)?"mover":"msup"}return new tP.MathNode(a,i)}}),tx({type:"atom",htmlBuilder:(e,t)=>tm.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new tP.MathNode("mo",[tF(e.text,e.mode)]);if("bin"===e.family){var a=tU(e,t);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===e.family?r.setAttribute("separator","true"):("open"===e.family||"close"===e.family)&&r.setAttribute("stretchy","false");return r}});var ap={mi:"italic",mn:"normal",mtext:"normal"};tx({type:"mathord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new tP.MathNode("mi",[tF(e.text,e.mode,t)]),a=tU(e,t)||"italic";return a!==ap[r.type]&&r.setAttribute("mathvariant",a),r}}),tx({type:"textord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=tF(e.text,e.mode,t),n=tU(e,t)||"normal";return n!==ap[(r="text"===e.mode?new tP.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new tP.MathNode("mn",[a]):"\\prime"===e.text?new tP.MathNode("mo",[a]):new tP.MathNode("mi",[a])).type]&&r.setAttribute("mathvariant",n),r}});var au={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ad={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tx({type:"spacing",htmlBuilder(e,t){if(ad.hasOwnProperty(e.text)){var r=ad[e.text].className||"";if("text"!==e.mode)return tm.makeSpan(["mspace",r],[tm.mathsym(e.text,e.mode,t)],t);var a=tm.makeOrd(e,t,"textord");return a.classes.push(r),a}if(au.hasOwnProperty(e.text))return tm.makeSpan(["mspace",au[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){var r;if(ad.hasOwnProperty(e.text))r=new tP.MathNode("mtext",[new tP.TextNode("\xa0")]);else if(au.hasOwnProperty(e.text))return new tP.MathNode("mspace");else throw new i('Unknown type of space "'+e.text+'"');return r}});var ag=()=>{var e=new tP.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};tx({type:"tag",mathmlBuilder(e,t){var r=new tP.MathNode("mtable",[new tP.MathNode("mtr",[ag(),new tP.MathNode("mtd",[tX(e.body,t)]),ag(),new tP.MathNode("mtd",[tX(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var af={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},av={"\\textbf":"textbf","\\textmd":"textmd"},ab={"\\textit":"textit","\\textup":"textup"},ay=(e,t)=>{var r=e.font;if(!r)return t;if(af[r])return t.withTextFontFamily(af[r]);if(av[r])return t.withTextFontWeight(av[r]);else if("\\emph"===r)return"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit");return t.withTextFontShape(ab[r])};ty({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"text",mode:r.mode,body:tk(n),font:a}},htmlBuilder(e,t){var r=ay(e,t),a=tB(e.body,r,!0);return tm.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=ay(e,t);return tX(e.body,r)}}),ty({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tR(e.body,t),a=tm.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new tP.MathNode("mo",[new tP.TextNode("\u203E")]);r.setAttribute("stretchy","true");var a=new tP.MathNode("munder",[tW(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),ty({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tR(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return tm.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new tP.MathNode("mpadded",[tW(e.body,t)],["vcenter"])}),ty({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=ax(e),a=[],n=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"\u2423":"\xa0"),aw="[ \r\n ]",ak="[\u0300-\u036F]",aS=RegExp(ak+"+$"),aM="("+aw+"+)|\\\\(\n|[ \r ]+\n?)[ \r ]*|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+ak+"*|[\uD800-\uDBFF][\uDC00-\uDFFF]"+ak+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|(\\\\[a-zA-Z@]+)"+aw)+"*|\\\\[^\uD800-\uDFFF])";class az{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=RegExp(aM,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new n("EOF",new a(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new n(e[t],new a(this,t,t+1)));var s=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[s]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return -1===o?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new n(s,new a(this,t,this.tokenRegex.lastIndex))}}class aA{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}s=function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}},rU["\\noexpand"]=s,o=function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}},rU["\\expandafter"]=o,l=function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}},rU["\\@firstoftwo"]=l,h=function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}},rU["\\@secondoftwo"]=h,m=function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}},rU["\\@ifnextchar"]=m,rU["\\@ifstar"]="\\@ifnextchar *{\\@firstoftwo{#1}}",c=function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}},rU["\\TextOrMath"]=c;var aT={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};p=function(e){var t,r,a=e.popToken(),n="";if("'"===a.text)t=8,a=e.popToken();else if('"'===a.text)t=16,a=e.popToken();else if("`"===a.text){if("\\"===(a=e.popToken()).text[0])n=a.text.charCodeAt(1);else if("EOF"===a.text)throw new i("\\char` missing argument");else n=a.text.charCodeAt(0)}else t=10;if(t){if(null==(n=aT[a.text])||n>=t)throw new i("Invalid base-"+t+" digit "+a.text);for(;null!=(r=aT[e.future().text])&&r{var a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");var n=a[0].text,s=e.isDefined(n);if(s&&!t)throw new i("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!s&&!r)throw new i("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var o=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+l);o=parseInt(l),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:o}),""};u=e=>aB(e,!1,!0),rU["\\newcommand"]=u,d=e=>aB(e,!0,!1),rU["\\renewcommand"]=d,g=e=>aB(e,!0,!0),rU["\\providecommand"]=g,f=e=>(console.log(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rU["\\message"]=f,v=e=>(console.error(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rU["\\errmessage"]=v,b=e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),tf[r],eB.math[r],eB.text[r]),""},rU["\\show"]=b,rU["\\bgroup"]="{",rU["\\egroup"]="}",rU["~"]="\\nobreakspace",rU["\\lq"]="`",rU["\\rq"]="'",rU["\\aa"]="\\r a",rU["\\AA"]="\\r A",rU["\\textcopyright"]="\\html@mathml{\\textcircled{c}}{\\char`\xa9}",rU["\\copyright"]="\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}",rU["\\textregistered"]="\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}",rU["\u212C"]="\\mathscr{B}",rU["\u2130"]="\\mathscr{E}",rU["\u2131"]="\\mathscr{F}",rU["\u210B"]="\\mathscr{H}",rU["\u2110"]="\\mathscr{I}",rU["\u2112"]="\\mathscr{L}",rU["\u2133"]="\\mathscr{M}",rU["\u211B"]="\\mathscr{R}",rU["\u212D"]="\\mathfrak{C}",rU["\u210C"]="\\mathfrak{H}",rU["\u2128"]="\\mathfrak{Z}",rU["\\Bbbk"]="\\Bbb{k}",rU["\xb7"]="\\cdotp",rU["\\llap"]="\\mathllap{\\textrm{#1}}",rU["\\rlap"]="\\mathrlap{\\textrm{#1}}",rU["\\clap"]="\\mathclap{\\textrm{#1}}",rU["\\mathstrut"]="\\vphantom{(}",rU["\\underbar"]="\\underline{\\text{#1}}",rU["\\not"]='\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}',rU["\\neq"]="\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}",rU["\\ne"]="\\neq",rU["\u2260"]="\\neq",rU["\\notin"]="\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}",rU["\u2209"]="\\notin",rU["\u2258"]="\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}",rU["\u2259"]="\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}",rU["\u225A"]="\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}",rU["\u225B"]="\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}",rU["\u225D"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}",rU["\u225E"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}",rU["\u225F"]="\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}",rU["\u27C2"]="\\perp",rU["\u203C"]="\\mathclose{!\\mkern-0.8mu!}",rU["\u220C"]="\\notni",rU["\u231C"]="\\ulcorner",rU["\u231D"]="\\urcorner",rU["\u231E"]="\\llcorner",rU["\u231F"]="\\lrcorner",rU["\xa9"]="\\copyright",rU["\xae"]="\\textregistered",rU["\uFE0F"]="\\textregistered",rU["\\ulcorner"]='\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}',rU["\\urcorner"]='\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}',rU["\\llcorner"]='\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}',rU["\\lrcorner"]='\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}',rU["\\vdots"]="\\mathord{\\varvdots\\rule{0pt}{15pt}}",rU["\u22EE"]="\\vdots",rU["\\varGamma"]="\\mathit{\\Gamma}",rU["\\varDelta"]="\\mathit{\\Delta}",rU["\\varTheta"]="\\mathit{\\Theta}",rU["\\varLambda"]="\\mathit{\\Lambda}",rU["\\varXi"]="\\mathit{\\Xi}",rU["\\varPi"]="\\mathit{\\Pi}",rU["\\varSigma"]="\\mathit{\\Sigma}",rU["\\varUpsilon"]="\\mathit{\\Upsilon}",rU["\\varPhi"]="\\mathit{\\Phi}",rU["\\varPsi"]="\\mathit{\\Psi}",rU["\\varOmega"]="\\mathit{\\Omega}",rU["\\substack"]="\\begin{subarray}{c}#1\\end{subarray}",rU["\\colon"]="\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax",rU["\\boxed"]="\\fbox{$\\displaystyle{#1}$}",rU["\\iff"]="\\DOTSB\\;\\Longleftrightarrow\\;",rU["\\implies"]="\\DOTSB\\;\\Longrightarrow\\;",rU["\\impliedby"]="\\DOTSB\\;\\Longleftarrow\\;";var aC={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};y=function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in aC?t=aC[r]:"\\not"===r.slice(0,4)?t="\\dotsb":r in eB.math&&H.contains(["bin","rel"],eB.math[r].group)&&(t="\\dotsb"),t},rU["\\dots"]=y;var aq={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};x=function(e){return e.future().text in aq?"\\ldots\\,":"\\ldots"},rU["\\dotso"]=x,w=function(e){var t=e.future().text;return t in aq&&","!==t?"\\ldots\\,":"\\ldots"},rU["\\dotsc"]=w,k=function(e){return e.future().text in aq?"\\@cdots\\,":"\\@cdots"},rU["\\cdots"]=k,rU["\\dotsb"]="\\cdots",rU["\\dotsm"]="\\cdots",rU["\\dotsi"]="\\!\\cdots",rU["\\dotsx"]="\\ldots\\,",rU["\\DOTSI"]="\\relax",rU["\\DOTSB"]="\\relax",rU["\\DOTSX"]="\\relax",rU["\\tmspace"]="\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax",rU["\\,"]="\\tmspace+{3mu}{.1667em}",rU["\\thinspace"]="\\,",rU["\\>"]="\\mskip{4mu}",rU["\\:"]="\\tmspace+{4mu}{.2222em}",rU["\\medspace"]="\\:",rU["\\;"]="\\tmspace+{5mu}{.2777em}",rU["\\thickspace"]="\\;",rU["\\!"]="\\tmspace-{3mu}{.1667em}",rU["\\negthinspace"]="\\!",rU["\\negmedspace"]="\\tmspace-{4mu}{.2222em}",rU["\\negthickspace"]="\\tmspace-{5mu}{.277em}",rU["\\enspace"]="\\kern.5em ",rU["\\enskip"]="\\hskip.5em\\relax",rU["\\quad"]="\\hskip1em\\relax",rU["\\qquad"]="\\hskip2em\\relax",rU["\\tag"]="\\@ifstar\\tag@literal\\tag@paren",rU["\\tag@paren"]="\\tag@literal{({#1})}",S=e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"},rU["\\tag@literal"]=S,rU["\\bmod"]="\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}",rU["\\pod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)",rU["\\pmod"]="\\pod{{\\rm mod}\\mkern6mu#1}",rU["\\mod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1",rU["\\newline"]="\\\\\\relax",rU["\\TeX"]="\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}";var aN=ep(Q["Main-Regular"][84][1]-.7*Q["Main-Regular"][65][1]);M="\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+aN+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}",rU["\\LaTeX"]=M,z="\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+aN+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}",rU["\\KaTeX"]=z,rU["\\hspace"]="\\@ifstar\\@hspacer\\@hspace",rU["\\@hspace"]="\\hskip #1\\relax",rU["\\@hspacer"]="\\rule{0pt}{0pt}\\hskip #1\\relax",rU["\\ordinarycolon"]=":",rU["\\vcentcolon"]="\\mathrel{\\mathop\\ordinarycolon}",rU["\\dblcolon"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}',rU["\\coloneqq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}',rU["\\Coloneqq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}',rU["\\coloneq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}',rU["\\Coloneq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}',rU["\\eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}',rU["\\Eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}',rU["\\eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}',rU["\\Eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}',rU["\\colonapprox"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}',rU["\\Colonapprox"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}',rU["\\colonsim"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}',rU["\\Colonsim"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}',rU["\u2237"]="\\dblcolon",rU["\u2239"]="\\eqcolon",rU["\u2254"]="\\coloneqq",rU["\u2255"]="\\eqqcolon",rU["\u2A74"]="\\Coloneqq",rU["\\ratio"]="\\vcentcolon",rU["\\coloncolon"]="\\dblcolon",rU["\\colonequals"]="\\coloneqq",rU["\\coloncolonequals"]="\\Coloneqq",rU["\\equalscolon"]="\\eqqcolon",rU["\\equalscoloncolon"]="\\Eqqcolon",rU["\\colonminus"]="\\coloneq",rU["\\coloncolonminus"]="\\Coloneq",rU["\\minuscolon"]="\\eqcolon",rU["\\minuscoloncolon"]="\\Eqcolon",rU["\\coloncolonapprox"]="\\Colonapprox",rU["\\coloncolonsim"]="\\Colonsim",rU["\\simcolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rU["\\simcoloncolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",rU["\\approxcolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rU["\\approxcoloncolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",rU["\\notni"]="\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}",rU["\\limsup"]="\\DOTSB\\operatorname*{lim\\,sup}",rU["\\liminf"]="\\DOTSB\\operatorname*{lim\\,inf}",rU["\\injlim"]="\\DOTSB\\operatorname*{inj\\,lim}",rU["\\projlim"]="\\DOTSB\\operatorname*{proj\\,lim}",rU["\\varlimsup"]="\\DOTSB\\operatorname*{\\overline{lim}}",rU["\\varliminf"]="\\DOTSB\\operatorname*{\\underline{lim}}",rU["\\varinjlim"]="\\DOTSB\\operatorname*{\\underrightarrow{lim}}",rU["\\varprojlim"]="\\DOTSB\\operatorname*{\\underleftarrow{lim}}",rU["\\gvertneqq"]="\\html@mathml{\\@gvertneqq}{\u2269}",rU["\\lvertneqq"]="\\html@mathml{\\@lvertneqq}{\u2268}",rU["\\ngeqq"]="\\html@mathml{\\@ngeqq}{\u2271}",rU["\\ngeqslant"]="\\html@mathml{\\@ngeqslant}{\u2271}",rU["\\nleqq"]="\\html@mathml{\\@nleqq}{\u2270}",rU["\\nleqslant"]="\\html@mathml{\\@nleqslant}{\u2270}",rU["\\nshortmid"]="\\html@mathml{\\@nshortmid}{\u2224}",rU["\\nshortparallel"]="\\html@mathml{\\@nshortparallel}{\u2226}",rU["\\nsubseteqq"]="\\html@mathml{\\@nsubseteqq}{\u2288}",rU["\\nsupseteqq"]="\\html@mathml{\\@nsupseteqq}{\u2289}",rU["\\varsubsetneq"]="\\html@mathml{\\@varsubsetneq}{\u228A}",rU["\\varsubsetneqq"]="\\html@mathml{\\@varsubsetneqq}{\u2ACB}",rU["\\varsupsetneq"]="\\html@mathml{\\@varsupsetneq}{\u228B}",rU["\\varsupsetneqq"]="\\html@mathml{\\@varsupsetneqq}{\u2ACC}",rU["\\imath"]="\\html@mathml{\\@imath}{\u0131}",rU["\\jmath"]="\\html@mathml{\\@jmath}{\u0237}",rU["\\llbracket"]="\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}",rU["\\rrbracket"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}",rU["\u27E6"]="\\llbracket",rU["\u27E7"]="\\rrbracket",rU["\\lBrace"]="\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}",rU["\\rBrace"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}",rU["\u2983"]="\\lBrace",rU["\u2984"]="\\rBrace",rU["\\minuso"]="\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}",rU["\u29B5"]="\\minuso",rU["\\darr"]="\\downarrow",rU["\\dArr"]="\\Downarrow",rU["\\Darr"]="\\Downarrow",rU["\\lang"]="\\langle",rU["\\rang"]="\\rangle",rU["\\uarr"]="\\uparrow",rU["\\uArr"]="\\Uparrow",rU["\\Uarr"]="\\Uparrow",rU["\\N"]="\\mathbb{N}",rU["\\R"]="\\mathbb{R}",rU["\\Z"]="\\mathbb{Z}",rU["\\alef"]="\\aleph",rU["\\alefsym"]="\\aleph",rU["\\Alpha"]="\\mathrm{A}",rU["\\Beta"]="\\mathrm{B}",rU["\\bull"]="\\bullet",rU["\\Chi"]="\\mathrm{X}",rU["\\clubs"]="\\clubsuit",rU["\\cnums"]="\\mathbb{C}",rU["\\Complex"]="\\mathbb{C}",rU["\\Dagger"]="\\ddagger",rU["\\diamonds"]="\\diamondsuit",rU["\\empty"]="\\emptyset",rU["\\Epsilon"]="\\mathrm{E}",rU["\\Eta"]="\\mathrm{H}",rU["\\exist"]="\\exists",rU["\\harr"]="\\leftrightarrow",rU["\\hArr"]="\\Leftrightarrow",rU["\\Harr"]="\\Leftrightarrow",rU["\\hearts"]="\\heartsuit",rU["\\image"]="\\Im",rU["\\infin"]="\\infty",rU["\\Iota"]="\\mathrm{I}",rU["\\isin"]="\\in",rU["\\Kappa"]="\\mathrm{K}",rU["\\larr"]="\\leftarrow",rU["\\lArr"]="\\Leftarrow",rU["\\Larr"]="\\Leftarrow",rU["\\lrarr"]="\\leftrightarrow",rU["\\lrArr"]="\\Leftrightarrow",rU["\\Lrarr"]="\\Leftrightarrow",rU["\\Mu"]="\\mathrm{M}",rU["\\natnums"]="\\mathbb{N}",rU["\\Nu"]="\\mathrm{N}",rU["\\Omicron"]="\\mathrm{O}",rU["\\plusmn"]="\\pm",rU["\\rarr"]="\\rightarrow",rU["\\rArr"]="\\Rightarrow",rU["\\Rarr"]="\\Rightarrow",rU["\\real"]="\\Re",rU["\\reals"]="\\mathbb{R}",rU["\\Reals"]="\\mathbb{R}",rU["\\Rho"]="\\mathrm{P}",rU["\\sdot"]="\\cdot",rU["\\sect"]="\\S",rU["\\spades"]="\\spadesuit",rU["\\sub"]="\\subset",rU["\\sube"]="\\subseteq",rU["\\supe"]="\\supseteq",rU["\\Tau"]="\\mathrm{T}",rU["\\thetasym"]="\\vartheta",rU["\\weierp"]="\\wp",rU["\\Zeta"]="\\mathrm{Z}",rU["\\argmin"]="\\DOTSB\\operatorname*{arg\\,min}",rU["\\argmax"]="\\DOTSB\\operatorname*{arg\\,max}",rU["\\plim"]="\\DOTSB\\mathop{\\operatorname{plim}}\\limits",rU["\\bra"]="\\mathinner{\\langle{#1}|}",rU["\\ket"]="\\mathinner{|{#1}\\rangle}",rU["\\braket"]="\\mathinner{\\langle{#1}\\rangle}",rU["\\Bra"]="\\left\\langle#1\\right|",rU["\\Ket"]="\\left|#1\\right\\rangle";var aI=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",s),n.length&&r.macros.set("\\|",o));var i=t;return!t&&n.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?n:a,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};A=aI(!1),rU["\\bra@ket"]=A,T=aI(!0),rU["\\bra@set"]=T,rU["\\Braket"]="\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}",rU["\\Set"]="\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}",rU["\\set"]="\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}",rU["\\angln"]="{\\angl n}",rU["\\blue"]="\\textcolor{##6495ed}{#1}",rU["\\orange"]="\\textcolor{##ffa500}{#1}",rU["\\pink"]="\\textcolor{##ff00af}{#1}",rU["\\red"]="\\textcolor{##df0030}{#1}",rU["\\green"]="\\textcolor{##28ae7b}{#1}",rU["\\gray"]="\\textcolor{gray}{#1}",rU["\\purple"]="\\textcolor{##9d38bd}{#1}",rU["\\blueA"]="\\textcolor{##ccfaff}{#1}",rU["\\blueB"]="\\textcolor{##80f6ff}{#1}",rU["\\blueC"]="\\textcolor{##63d9ea}{#1}",rU["\\blueD"]="\\textcolor{##11accd}{#1}",rU["\\blueE"]="\\textcolor{##0c7f99}{#1}",rU["\\tealA"]="\\textcolor{##94fff5}{#1}",rU["\\tealB"]="\\textcolor{##26edd5}{#1}",rU["\\tealC"]="\\textcolor{##01d1c1}{#1}",rU["\\tealD"]="\\textcolor{##01a995}{#1}",rU["\\tealE"]="\\textcolor{##208170}{#1}",rU["\\greenA"]="\\textcolor{##b6ffb0}{#1}",rU["\\greenB"]="\\textcolor{##8af281}{#1}",rU["\\greenC"]="\\textcolor{##74cf70}{#1}",rU["\\greenD"]="\\textcolor{##1fab54}{#1}",rU["\\greenE"]="\\textcolor{##0d923f}{#1}",rU["\\goldA"]="\\textcolor{##ffd0a9}{#1}",rU["\\goldB"]="\\textcolor{##ffbb71}{#1}",rU["\\goldC"]="\\textcolor{##ff9c39}{#1}",rU["\\goldD"]="\\textcolor{##e07d10}{#1}",rU["\\goldE"]="\\textcolor{##a75a05}{#1}",rU["\\redA"]="\\textcolor{##fca9a9}{#1}",rU["\\redB"]="\\textcolor{##ff8482}{#1}",rU["\\redC"]="\\textcolor{##f9685d}{#1}",rU["\\redD"]="\\textcolor{##e84d39}{#1}",rU["\\redE"]="\\textcolor{##bc2612}{#1}",rU["\\maroonA"]="\\textcolor{##ffbde0}{#1}",rU["\\maroonB"]="\\textcolor{##ff92c6}{#1}",rU["\\maroonC"]="\\textcolor{##ed5fa6}{#1}",rU["\\maroonD"]="\\textcolor{##ca337c}{#1}",rU["\\maroonE"]="\\textcolor{##9e034e}{#1}",rU["\\purpleA"]="\\textcolor{##ddd7ff}{#1}",rU["\\purpleB"]="\\textcolor{##c6b9fc}{#1}",rU["\\purpleC"]="\\textcolor{##aa87ff}{#1}",rU["\\purpleD"]="\\textcolor{##7854ab}{#1}",rU["\\purpleE"]="\\textcolor{##543b78}{#1}",rU["\\mintA"]="\\textcolor{##f5f9e8}{#1}",rU["\\mintB"]="\\textcolor{##edf2df}{#1}",rU["\\mintC"]="\\textcolor{##e0e5cc}{#1}",rU["\\grayA"]="\\textcolor{##f6f7f7}{#1}",rU["\\grayB"]="\\textcolor{##f0f1f2}{#1}",rU["\\grayC"]="\\textcolor{##e3e5e6}{#1}",rU["\\grayD"]="\\textcolor{##d6d8da}{#1}",rU["\\grayE"]="\\textcolor{##babec2}{#1}",rU["\\grayF"]="\\textcolor{##888d93}{#1}",rU["\\grayG"]="\\textcolor{##626569}{#1}",rU["\\grayH"]="\\textcolor{##3b3e40}{#1}",rU["\\grayI"]="\\textcolor{##21242c}{#1}",rU["\\kaBlue"]="\\textcolor{##314453}{#1}",rU["\\kaGreen"]="\\textcolor{##71B307}{#1}";var aH={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class aR{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new aA(rU,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new az(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,a;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new n("EOF",r.loc)),this.pushTokens(a),t.range(r,"")}consumeSpaces(){for(;;)if(" "===this.future().text)this.stack.pop();else break}consumeArg(e){var t,r=[],a=e&&e.length>0;!a&&this.consumeSpaces();var n=this.future(),s=0,o=0;do{if(t=this.popToken(),r.push(t),"{"===t.text)++s;else if("}"===t.text){if(-1==--s)throw new i("Extra }",t)}else if("EOF"===t.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&a?e[o]:"}")+"'",t);if(e&&a){if((0===s||1===s&&"{"===e[o])&&t.text===e[o]){if(++o===e.length){r.splice(-o,o);break}}else o=0}}while(0!==s||a);return"{"===n.text&&"}"===r[r.length-1].text&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:t}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,a=t.noexpand?null:this._getExpansion(r);if(null==a||e&&a.unexpandable){if(e&&null==a&&"\\"===r[0]&&!this.isDefined(r))throw new i("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){n=n.slice();for(var o=n.length-1;o>=0;--o){var l=n[o];if("#"===l.text){if(0===o)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--o]).text)n.splice(o+1,1);else if(/^[1-9]$/.test(l.text))n.splice(o,2,...s[+l.text-1]);else throw new i("Not a valid argument number",l)}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw Error()}expandMacro(e){return this.macros.has(e)?this.expandTokens([new n(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var a="function"==typeof t?t(this):t;if("string"==typeof a){var n=0;if(-1!==a.indexOf("#")){for(var i=a.replace(/##/g,"");-1!==i.indexOf("#"+(n+1));)++n}for(var s=new az(a,this.settings),o=[],l=s.lex();"EOF"!==l.text;)o.push(l),l=s.lex();return o.reverse(),{tokens:o,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||tf.hasOwnProperty(e)||eB.math.hasOwnProperty(e)||eB.text.hasOwnProperty(e)||aH.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:tf.hasOwnProperty(e)&&!tf[e].primitive}}var aO=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,aE=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9",\u2090:"a",\u2091:"e",\u2095:"h",\u1D62:"i",\u2C7C:"j",\u2096:"k",\u2097:"l",\u2098:"m",\u2099:"n",\u2092:"o",\u209A:"p",\u1D63:"r",\u209B:"s",\u209C:"t",\u1D64:"u",\u1D65:"v",\u2093:"x",\u1D66:"\u03B2",\u1D67:"\u03B3",\u1D68:"\u03C1",\u1D69:"\u03D5",\u1D6A:"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9",\u1D2C:"A",\u1D2E:"B",\u1D30:"D",\u1D31:"E",\u1D33:"G",\u1D34:"H",\u1D35:"I",\u1D36:"J",\u1D37:"K",\u1D38:"L",\u1D39:"M",\u1D3A:"N",\u1D3C:"O",\u1D3E:"P",\u1D3F:"R",\u1D40:"T",\u1D41:"U",\u2C7D:"V",\u1D42:"W",\u1D43:"a",\u1D47:"b",\u1D9C:"c",\u1D48:"d",\u1D49:"e",\u1DA0:"f",\u1D4D:"g",\u02B0:"h",\u2071:"i",\u02B2:"j",\u1D4F:"k",\u02E1:"l",\u1D50:"m",\u207F:"n",\u1D52:"o",\u1D56:"p",\u02B3:"r",\u02E2:"s",\u1D57:"t",\u1D58:"u",\u1D5B:"v",\u02B7:"w",\u02E3:"x",\u02B8:"y",\u1DBB:"z",\u1D5D:"\u03B2",\u1D5E:"\u03B3",\u1D5F:"\u03B4",\u1D60:"\u03D5",\u1D61:"\u03C7",\u1DBF:"\u03B8"}),aL={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},aD={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308",\u01DF:"a\u0308\u0304","\xe3":"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C","\xe2":"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304","\xe5":"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307","\xe7":"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C","\xea":"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C","\xee":"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300","\xf1":"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308",\u022B:"o\u0308\u0304","\xf5":"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C","\xf4":"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C","\xfb":"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307","\xfd":"y\u0301",\u1EF3:"y\u0300","\xff":"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308",\u01DE:"A\u0308\u0304","\xc3":"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C","\xc2":"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304","\xc5":"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307","\xc7":"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C","\xca":"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C","\xce":"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300","\xd1":"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308",\u022A:"O\u0308\u0304","\xd5":"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C","\xd4":"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C","\xdb":"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307","\xdd":"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class aV{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new aR(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){!this.settings.globalGroup&&this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),!this.settings.globalGroup&&this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new n("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==aV.endOfExpression.indexOf(a.text)||t&&a.text===t||e&&tf[a.text]&&tf[a.text].infix)break;var n=this.parseAtom(t);if(n){if("internal"===n.type)continue}else break;r.push(n)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var o,l,h=eB[this.mode][t].group,m=a.range(e);o=l=eA.hasOwnProperty(h)?{type:"atom",mode:this.mode,family:h,loc:m,text:t}:{type:h,mode:this.mode,loc:m,text:t}}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(_(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0))+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),s)for(var c=0;c2&&O.push("'"+this.terminals_[x]+"'");C=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+O.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(C,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:f,expected:O})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+b);switch(S[0]){case 1:i.push(b),s.push(d.yytext),r.push(d.yylloc),i.push(S[1]),b=null,k?(b=k,k=null):(h=d.yyleng,l=d.yytext,c=d.yylineno,f=d.yylloc,u>0&&u--);break;case 2:if(L=this.productions_[S[1]][1],v.$=s[s.length-L],v._$={first_line:r[r.length-(L||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(L||1)].first_column,last_column:r[r.length-1].last_column},m&&(v._$.range=[r[r.length-(L||1)].range[0],r[r.length-1].range[1]]),void 0!==(N=this.performAction.apply(v,[l,h,c,p.yy,S[1],s,r].concat(g))))return N;L&&(i=i.slice(0,-1*L*2),s=s.slice(0,-1*L),r=r.slice(0,-1*L)),i.push(this.productions_[S[1]][0]),s.push(v.$),r.push(v._$),D=a[i[i.length-2]][i[i.length-1]],i.push(D);break;case 3:return!0}}return!0},"parse")},S={EOF:1,parseError:(0,o.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,o.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,o.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,o.eW)(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.eW)(function(){return this._more=!0,this},"more"),reject:(0,o.eW)(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})},"reject"),less:(0,o.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,o.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,o.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,o.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,o.eW)(function(e,t){var i,n,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var r in s)this[r]=s[r];return!1},"test_match"),next:(0,o.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,i,n,s=this._currentRules(),r=0;rt[0].length)){if(t=i,n=r,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,s[r])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,s[n]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,o.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,o.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,o.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,o.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,o.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.eW)(function(e,t,i,n){switch(i){case 0:return this.pushState("shapeData"),t.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:return t.yytext=t.yytext.replace(/\n\s*/g,"
    "),24;case 4:return 24;case 5:case 10:case 29:case 32:this.popState();break;case 6:return e.getLogger().trace("Found comment",t.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 11:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return e.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:e.getLogger().trace("end icon"),this.popState();break;case 16:return e.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return e.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:case 21:case 22:case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 30:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 33:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 36:case 39:case 40:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 37:case 38:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 41:case 42:return e.getLogger().trace("Long description:",t.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};function N(){this.yy={}}return E.lexer=S,(0,o.eW)(N,"Parser"),N.prototype=E,E.Parser=N,new N}();h.parser=h;var u=[],g=[],d=0,p={},y=(0,o.eW)(()=>{u=[],g=[],d=0,p={}},"clear"),f=(0,o.eW)(e=>{if(0===u.length)return null;let t=u[0].level,i=null;for(let e=u.length-1;e>=0;e--)if(u[e].level===t&&!i&&(i=u[e]),u[e].levele.parentId===n.id))){let t={id:s.id,parentId:n.id,label:(0,o.oO)(s.label??"",i),isGroup:!1,ticket:s?.ticket,priority:s?.priority,assigned:s?.assigned,icon:s?.icon,shape:"kanbanItem",level:s.level,rx:5,ry:5,cssStyles:["text-align: left"]};e.push(t)}}return{nodes:e,edges:[],other:{},config:(0,o.nV)()}},"getData"),b=(0,o.eW)((e,t,i,s,r)=>{let a=(0,o.nV)(),l=a.mindmap?.padding??o.vZ.mindmap.padding;switch(s){case k.ROUNDED_RECT:case k.RECT:case k.HEXAGON:l*=2}let c={id:(0,o.oO)(t,a)||"kbn"+d++,level:e,label:(0,o.oO)(i,a),width:a.mindmap?.maxNodeWidth??o.vZ.mindmap.maxNodeWidth,padding:l,isGroup:!1};if(void 0!==r){let e;e=r.includes("\n")?r+"\n":"{\n"+r+"\n}";let t=(0,n.z)(e,{schema:n.A});if(t.shape&&(t.shape!==t.shape.toLowerCase()||t.shape.includes("_")))throw Error(`No such shape: ${t.shape}. Shape names should be lowercase.`);t?.shape&&"kanbanItem"===t.shape&&(c.shape=t?.shape),t?.label&&(c.label=t?.label),t?.icon&&(c.icon=t?.icon),t?.assigned&&(c.assigned=t?.assigned),t?.ticket&&(c.ticket=t?.ticket),t?.priority&&(c.priority=t?.priority)}let h=f(e);h?c.parentId=h.id||"kbn"+d++:g.push(c),u.push(c)},"addNode"),k={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},E=(0,o.eW)((e,t)=>{switch(o.cM.debug("In get type",e,t),e){case"[":return k.RECT;case"(":return")"===t?k.ROUNDED_RECT:k.CLOUD;case"((":return k.CIRCLE;case")":return k.CLOUD;case"))":return k.BANG;case"{{":return k.HEXAGON;default:return k.DEFAULT}},"getType"),S=(0,o.eW)((e,t)=>{p[e]=t},"setElementForId"),N=(0,o.eW)(e=>{if(!e)return;let t=(0,o.nV)(),i=u[u.length-1];e.icon&&(i.icon=(0,o.oO)(e.icon,t)),e.class&&(i.cssClasses=(0,o.oO)(e.class,t))},"decorateNode"),x=(0,o.eW)(e=>{switch(e){case k.DEFAULT:return"no-border";case k.RECT:return"rect";case k.ROUNDED_RECT:return"rounded-rect";case k.CIRCLE:return"circle";case k.CLOUD:return"cloud";case k.BANG:return"bang";case k.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),L=(0,o.eW)(()=>o.cM,"getLogger"),D=(0,o.eW)(e=>p[e],"getElementById"),O=(0,o.eW)(async(e,t,i,n)=>{o.cM.debug("Rendering kanban diagram\n"+e);let a=n.db.getData(),l=(0,o.nV)();l.htmlLabels=!1;let c=(0,r.P)(t),h=c.append("g");h.attr("class","sections");let u=c.append("g");u.attr("class","items");let g=a.nodes.filter(e=>e.isGroup),d=0,p=[],y=25;for(let e of g){let t=l?.kanban?.sectionWidth||200;d+=1,e.x=t*d+(d-1)*10/2,e.width=t,e.y=0,e.height=3*t,e.rx=5,e.ry=5,e.cssClasses=e.cssClasses+" section-"+d;let i=await (0,s.us)(h,e);y=Math.max(y,i?.labelBBox?.height),p.push(i)}let f=0;for(let e of g){let t=p[f];f+=1;let i=l?.kanban?.sectionWidth||200,n=-(3*i)/2+y,r=n;for(let t of a.nodes.filter(t=>t.parentId===e.id)){if(t.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");t.x=e.x,t.width=i-15;let n=(await (0,s.Lf)(u,t,{config:l})).node().getBBox();t.y=r+n.height/2,await (0,s.aH)(t),r=t.y+n.height/2+5}let o=t.cluster.select("rect"),c=Math.max(r-n+30,50)+(y-25);o.attr("height",c)}(0,o.j7)(void 0,c,l.mindmap?.padding??o.vZ.kanban.padding,l.mindmap?.useMaxWidth??o.vZ.kanban.useMaxWidth)},"draw"),v=(0,o.eW)(e=>{let t="";for(let t=0;te.darkMode?(0,c.Z)(t,i):(0,l.Z)(t,i),"adjuster");for(let n=0;n` + .edge { + stroke-width: 3; + } + ${v(e)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${e.git0}; + } + .section-root text { + fill: ${e.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .cluster-label, .label { + color: ${e.textColor}; + fill: ${e.textColor}; + } + .kanban-label { + dy: 1em; + alignment-baseline: middle; + text-anchor: middle; + dominant-baseline: middle; + text-align: center; + } +`,"getStyles"),I={db:{clear:y,addNode:b,getSections:m,getData:_,nodeType:k,getType:E,setElementForId:S,decorateNode:N,type2Str:x,getLogger:L,getElementById:D},renderer:{draw:O},parser:h,styles:C}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/5187c925.6159aa09.js b/pr-preview/pr-3/assets/js/5187c925.6159aa09.js new file mode 100644 index 0000000..7940093 --- /dev/null +++ b/pr-preview/pr-3/assets/js/5187c925.6159aa09.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2556"],{40162:function(e,t,n){n.r(t),n.d(t,{metadata:()=>i,contentTitle:()=>a,default:()=>h,assets:()=>c,toc:()=>d,frontMatter:()=>o});var i=JSON.parse('{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","source":"@site/docs/spec/formatting.md","sourceDirName":"spec","slug":"/spec/formatting","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/formatting","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/formatting.md","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1731109362000,"sidebarPosition":1,"frontMatter":{"id":"formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","sidebar_position":1,"tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Terminology","permalink":"/nr-pies/pr-preview/pr-3/docs/intro/terminology"},"next":{"title":"Data Types","permalink":"/nr-pies/pr-preview/pr-3/docs/category/data-types"}}'),r=n("85893"),s=n("50065");let o={id:"formatting",title:"Formatting",description:"The syntax, encoding and file format used by PIES",sidebar_position:1,tags:["developer"]},a=void 0,c={},d=[{value:"JSON Schema Primer",id:"json-schema-primer",level:2},{value:"References",id:"references",level:2}];function l(e){let t={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["Every data standard must have a core set of fundamental data types that content will be transmitted in. Since the\nPermitting Interoperability Exchange Specification is built on top of the ",(0,r.jsx)(t.a,{href:"https://json-schema.org/",children:"JSON Schema"}),"\nstandard, it will leverage the conventions specified in that standard, including\n",(0,r.jsx)(t.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," which defines JSON. The PIES specification will be compliant\nto the ",(0,r.jsx)(t.code,{children:"draft 07"})," specification of the JSON Schema standard. While there exists more recent draft versions, notably the\n",(0,r.jsx)(t.code,{children:"draft 2020-12"})," standard, features that were introduced after ",(0,r.jsx)(t.code,{children:"draft 07"})," will not be defined and used at this time in\norder to maximize compatibility with implementor systems."]}),"\n",(0,r.jsx)(t.h2,{id:"json-schema-primer",children:"JSON Schema Primer"}),"\n",(0,r.jsx)(t.p,{children:"A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way\nto explicitly define the structural expectations for a specific type of document. While JSON Schema is good for\ndescribing expected structures, describing conceptual relationships between related topics and domains"}),"\n",(0,r.jsx)(t.p,{children:"A JSON Schema will typically contain the following attributes:"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$schema"})," - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be ",(0,r.jsx)(t.code,{children:"https://json-schema.org/draft-07/schema"}),"."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$id"})," - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$comment"})," - A free text field for conveying out of band information about the schema. Comments are useful for\nspecification readers and editors to understand further nuances for certain properties and structures, but should not\nbe relied upon for implementation as they may be skipped over or stripped when parsed by machines."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"title"})," - The intent of the schema. This should be brief and concise."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"description"})," - A brief description about the schema. This should provide a quick overview for the context of usage."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"properties"})," - A set of attributes that are expected to show up in this document type."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"required"})," - An array defining the set of ",(0,r.jsx)(t.code,{children:"properties"})," that must be present for the document to be considered valid.\nAnything defined that is not in this array is implied to be optional."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"type"})," - The type primitive constraint for the property."]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://json-schema.org/draft-07",children:"Draft 07"})}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," (JSON)"]}),"\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://ajv.js.org/guide/schema-language.html#json-schema",children:"JSON Schema Version Comparison"})}),"\n"]})]})}function h(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},50065:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return o}});var i=n(67294);let r={},s=i.createContext(r);function o(e){let t=i.useContext(s);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/5347.d0b974c5.js b/pr-preview/pr-3/assets/js/5347.d0b974c5.js new file mode 100644 index 0000000..8f61795 --- /dev/null +++ b/pr-preview/pr-3/assets/js/5347.d0b974c5.js @@ -0,0 +1,46 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5347"],{41093:function(t,e,r){r.d(e,{diagram:()=>Z});var a=r("7690"),i=r("5995"),n=r("50043"),s=r("27818"),o=r("49235");let l=[];for(let t=0;t<256;++t)l.push((t+256).toString(16).slice(1));let c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,h=function(t){var e;let r;if(!("string"==typeof(e=t)&&c.test(e)))throw TypeError("Invalid UUID");let a=new Uint8Array(16);return a[0]=(r=parseInt(t.slice(0,8),16))>>>24,a[1]=r>>>16&255,a[2]=r>>>8&255,a[3]=255&r,a[4]=(r=parseInt(t.slice(9,13),16))>>>8,a[5]=255&r,a[6]=(r=parseInt(t.slice(14,18),16))>>>8,a[7]=255&r,a[8]=(r=parseInt(t.slice(19,23),16))>>>8,a[9]=255&r,a[10]=(r=parseInt(t.slice(24,36),16))/0x10000000000&255,a[11]=r/0x100000000&255,a[12]=r>>>24&255,a[13]=r>>>16&255,a[14]=r>>>8&255,a[15]=255&r,a};function d(t,e){return t<>>32-e}let u=function(t,e,r){function a(t,e,a,i){var n;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));let e=[];for(let r=0;r>>0;c=l,l=o,o=d(s,30)>>>0,s=n,n=i}r[0]=r[0]+n>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+l>>>0,r[4]=r[4]+c>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]});var y=function(){var t=(0,i.eW)(function(t,e,r,a){for(r=r||{},a=t.length;a--;r[t[a]]=e);return r},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],a=[1,11],n=[1,12],s=[1,13],o=[1,14],l=[1,15],c=[1,21],h=[1,22],d=[1,23],u=[1,24],y=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],_=[1,34],f=[27,28,46,47],E=[41,42,43,44,45],g=[17,34],m=[1,54],O=[1,53],b=[17,34,36,38],k={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:(0,i.eW)(function(t,e,r,a,i,n,s){var o=n.length-1;switch(i){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=n[o];break;case 8:a.addEntity(n[o-4]),a.addEntity(n[o-2]),a.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 9:a.addEntity(n[o-3]),a.addAttributes(n[o-3],n[o-1]);break;case 10:a.addEntity(n[o-2]);break;case 11:a.addEntity(n[o]);break;case 12:a.addEntity(n[o-6],n[o-4]),a.addAttributes(n[o-6],n[o-1]);break;case 13:a.addEntity(n[o-5],n[o-3]);break;case 14:a.addEntity(n[o-3],n[o-1]);break;case 15:case 16:this.$=n[o].trim(),a.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),a.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=n[o].replace(/"/g,"");break;case 21:case 29:this.$=[n[o]];break;case 22:n[o].push(n[o-1]),this.$=n[o];break;case 23:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 24:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 26:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 30:n[o-2].push(n[o]),this.$=n[o-2];break;case 33:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-2]};break;case 34:this.$=a.Cardinality.ZERO_OR_ONE;break;case 35:this.$=a.Cardinality.ZERO_OR_MORE;break;case 36:this.$=a.Cardinality.ONE_OR_MORE;break;case 37:this.$=a.Cardinality.ONLY_ONE;break;case 38:this.$=a.Cardinality.MD_PARENT;break;case 39:this.$=a.Identification.NON_IDENTIFYING;break;case 40:this.$=a.Identification.IDENTIFYING}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:a,24:n,26:s,27:o,28:l},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:a,24:n,26:s,27:o,28:l},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:c,42:h,43:d,44:u,45:y}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:o,28:l},{16:30,17:[1,31],29:32,30:33,34:_},{11:35,27:o,28:l},{40:36,46:[1,37],47:[1,38]},t(f,[2,34]),t(f,[2,35]),t(f,[2,36]),t(f,[2,37]),t(f,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:_},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:c,42:h,43:d,44:u,45:y},t(E,[2,39]),t(E,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(g,[2,23],{32:50,33:51,35:52,37:m,38:O}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(g,[2,24],{33:56,36:[1,57],38:O}),t(g,[2,25]),t(b,[2,29]),t(g,[2,32]),t(b,[2,31]),{16:58,17:[1,59],29:32,30:33,34:_},t(g,[2,26]),{35:60,37:m},{17:[1,61]},t(e,[2,13]),t(b,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:(0,i.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var r=Error(t);throw r.hash=e,r}},"parseError"),parse:(0,i.eW)(function(t){var e=this,r=[0],a=[],n=[null],s=[],o=this.table,l="",c=0,h=0,d=0,u=s.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(p.yy[_]=this.yy[_]);y.setInput(t,p.yy),p.yy.lexer=y,p.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var f=y.yylloc;s.push(f);var E=y.options&&y.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(){var t;return"number"!=typeof(t=a.pop()||y.lex()||1)&&(t instanceof Array&&(t=(a=t).pop()),t=e.symbols_[t]||t),t}(0,i.eW)(function(t){r.length=r.length-2*t,n.length=n.length-t,s.length=s.length-t},"popStack"),(0,i.eW)(g,"lex");for(var m,O,b,k,R,N,x,T,M,A={};;){if(b=r[r.length-1],this.defaultActions[b]?k=this.defaultActions[b]:(null==m&&(m=g()),k=o[b]&&o[b][m]),void 0===k||!k.length||!k[0]){var w="";for(N in M=[],o[b])this.terminals_[N]&&N>2&&M.push("'"+this.terminals_[N]+"'");w=y.showPosition?"Parse error on line "+(c+1)+":\n"+y.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(w,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:f,expected:M})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(k[0]){case 1:r.push(m),n.push(y.yytext),s.push(y.yylloc),r.push(k[1]),m=null,O?(m=O,O=null):(h=y.yyleng,l=y.yytext,c=y.yylineno,f=y.yylloc,d>0&&d--);break;case 2:if(x=this.productions_[k[1]][1],A.$=n[n.length-x],A._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column},E&&(A._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(R=this.performAction.apply(A,[l,h,c,p.yy,k[1],n,s].concat(u))))return R;x&&(r=r.slice(0,-1*x*2),n=n.slice(0,-1*x),s=s.slice(0,-1*x)),r.push(this.productions_[k[1]][0]),n.push(A.$),s.push(A._$),T=o[r[r.length-2]][r[r.length-1]],r.push(T);break;case 3:return!0}}return!0},"parse")},R={EOF:1,parseError:(0,i.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,i.eW)(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},"setInput"),input:(0,i.eW)(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},"input"),unput:(0,i.eW)(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[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},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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})},"reject"),less:(0,i.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,i.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.eW)(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,"")},"upcomingInput"),showPosition:(0,i.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,i.eW)(function(t,e){var r,a,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))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var n in i)this[n]=i[n];return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,r,a,i=this._currentRules(),n=0;ne[0].length)){if(e=r,a=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,i[n])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[a]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,i.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,i.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(t,e,r,a){switch(r){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;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 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return e.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/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,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,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],inclusive:!0}}};function N(){this.yy={}}return k.lexer=R,(0,i.eW)(N,"Parser"),N.prototype=k,k.Parser=N,new N}();y.parser=y;var p=new Map,_=[],f=(0,i.eW)(function(t,e){return p.has(t)?!p.get(t).alias&&e&&(p.get(t).alias=e,i.cM.info(`Add alias '${e}' to entity '${t}'`)):(p.set(t,{attributes:[],alias:e}),i.cM.info("Added new entity :",t)),p.get(t)},"addEntity"),E=(0,i.eW)(()=>p,"getEntities"),g=(0,i.eW)(function(t,e){let r,a=f(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.cM.debug("Added attribute ",e[r].attributeName)},"addAttributes"),m=(0,i.eW)(function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};_.push(n),i.cM.debug("Added new relationship :",n)},"addRelationship"),O=(0,i.eW)(()=>_,"getRelationships"),b=(0,i.eW)(function(){p=new Map,_=[],(0,i.ZH)()},"clear"),k={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:(0,i.eW)(()=>(0,i.nV)().er,"getConfig"),addEntity:f,addAttributes:g,getEntities:E,addRelationship:m,getRelationships:O,clear:b,setAccTitle:i.GN,getAccTitle:i.eu,setAccDescription:i.U$,getAccDescription:i.Mx,setDiagramTitle:i.g2,getDiagramTitle:i.Kr},R={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},N=(0,i.eW)(function(t,e){let r;t.append("defs").append("marker").attr("id",R.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",R.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",R.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",R.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",R.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",R.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"insertMarkers"),x={ERMarkers:R,insertMarkers:N},T=/[^\dA-Za-z](\W)*/g,M={},A=new Map,w=(0,i.eW)(function(t){for(let e of Object.keys(t))M[e]=t[e]},"setConf"),I=(0,i.eW)((t,e,r)=>{let a=M.entityPadding/3,n=M.entityPadding/3,s=.85*M.fontSize,o=e.node().getBBox(),l=[],c=!1,h=!1,d=0,u=0,y=0,p=0,_=o.height+2*a,f=1;r.forEach(t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(c=!0),void 0!==t.attributeComment&&(h=!0)}),r.forEach(r=>{let n=`${e.node().id}-attr-${f}`,o=0,E=(0,i.UO)(r.attributeType),g=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(E),m=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=g,O.nn=m;let b=g.node().getBBox(),k=m.node().getBBox();if(d=Math.max(d,b.width),u=Math.max(u,k.width),o=Math.max(b.height,k.height),c){let e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;let l=a.node().getBBox();y=Math.max(y,l.width),o=Math.max(o,l.height)}if(h){let e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;let a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,l.push(O),_+=o+2*a,f+=1});let E=4;c&&(E+=2),h&&(E+=2);let g=d+u+y+p,m={width:Math.max(M.minEntityWidth,Math.max(o.width+2*M.entityPadding,g+n*E)),height:r.length>0?_:Math.max(M.minEntityHeight,o.height+2*M.entityPadding)};if(r.length>0){let r=Math.max(0,(m.width-g-n*E)/(E/2));e.attr("transform","translate("+m.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";l.forEach(e=>{let o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");let l=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(l.attr("x"))+parseFloat(l.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");let f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a),E=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(c){e.kn.attr("transform","translate("+(E+n)+","+o+")");let l=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",E).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a);E=parseFloat(l.attr("x"))+parseFloat(l.attr("width"))}h&&(e.cn.attr("transform","translate("+(E+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",E).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"})}else m.height=Math.max(M.minEntityHeight,_),e.attr("transform","translate("+m.width/2+","+m.height/2+")");return m},"drawAttributes"),S=(0,i.eW)(function(t,e,r){let a;return[...e.keys()].forEach(function(n){let s=B(n,"entity");A.set(n,s);let o=t.append("g").attr("id",s);a=void 0===a?s:a;let l="text-"+s,c=o.append("text").classed("er entityLabel",!0).attr("id",l).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.nV)().fontFamily).style("font-size",M.fontSize+"px").text(e.get(n).alias??n),{width:h,height:d}=I(o,c,e.get(n).attributes),u=o.insert("rect","#"+l).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",d).node().getBBox();r.setNode(s,{width:u.width,height:u.height,shape:"rect",id:s})}),a},"drawEntities"),v=(0,i.eW)(function(t,e){e.nodes().forEach(function(r){void 0!==r&&void 0!==e.node(r)&&t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")})},"adjustEntities"),D=(0,i.eW)(function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},"getEdgeName"),$=(0,i.eW)(function(t,e){return t.forEach(function(t){e.setEdge(A.get(t.entityA),A.get(t.entityB),{relationship:t},D(t))}),t},"addRelationships"),W=0,L=(0,i.eW)(function(t,e,r,a,n){W++;let o=r.edge(A.get(e.entityA),A.get(e.entityB),D(e)),l=(0,s.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(s.$0Z),c=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",l(o.points)).style("stroke",M.stroke).style("fill","none");e.relSpec.relType===n.db.Identification.NON_IDENTIFYING&&c.attr("stroke-dasharray","8,8");let h="";switch(M.arrowMarkerAbsolute&&(h=(h=(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),e.relSpec.cardA){case n.db.Cardinality.ZERO_OR_ONE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ZERO_OR_ONE_END+")");break;case n.db.Cardinality.ZERO_OR_MORE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ZERO_OR_MORE_END+")");break;case n.db.Cardinality.ONE_OR_MORE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ONE_OR_MORE_END+")");break;case n.db.Cardinality.ONLY_ONE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ONLY_ONE_END+")");break;case n.db.Cardinality.MD_PARENT:c.attr("marker-end","url("+h+"#"+x.ERMarkers.MD_PARENT_END+")")}switch(e.relSpec.cardB){case n.db.Cardinality.ZERO_OR_ONE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ZERO_OR_ONE_START+")");break;case n.db.Cardinality.ZERO_OR_MORE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ZERO_OR_MORE_START+")");break;case n.db.Cardinality.ONE_OR_MORE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ONE_OR_MORE_START+")");break;case n.db.Cardinality.ONLY_ONE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ONLY_ONE_START+")");break;case n.db.Cardinality.MD_PARENT:c.attr("marker-start","url("+h+"#"+x.ERMarkers.MD_PARENT_START+")")}let d=c.node().getTotalLength(),u=c.node().getPointAtLength(.5*d),y="rel"+W,p=e.roleA.split(/
    /g),_=t.append("text").classed("er relationshipLabel",!0).attr("id",y).attr("x",u.x).attr("y",u.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.nV)().fontFamily).style("font-size",M.fontSize+"px");if(1==p.length)_.text(e.roleA);else{let t=-(.5*(p.length-1));p.forEach((e,r)=>{_.append("tspan").attr("x",u.x).attr("dy",`${0===r?t:1}em`).text(e)})}let f=_.node().getBBox();t.insert("rect","#"+y).classed("er relationshipLabelBox",!0).attr("x",u.x-f.width/2).attr("y",u.y-f.height/2).attr("width",f.width).attr("height",f.height)},"drawRelationshipFromLayout"),C=(0,i.eW)(function(t,e,r,l){let c,h;M=(0,i.nV)().er,i.cM.info("Drawing ER diagram");let d=(0,i.nV)().securityLevel;"sandbox"===d&&(c=(0,s.Ys)("#i"+e));let u=("sandbox"===d?(0,s.Ys)(c.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select(`[id='${e}']`);x.insertMarkers(u,M),h=new n.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:M.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let y=S(u,l.db.getEntities(),h),p=$(l.db.getRelationships(),h);(0,o.bK)(h),v(u,h),p.forEach(function(t){L(u,t,h,y,l)});let _=M.diagramPadding;a.w8.insertTitle(u,"entityTitleText",M.titleTopMargin,l.db.getDiagramTitle());let f=u.node().getBBox(),E=f.width+2*_,g=f.height+2*_;(0,i.v2)(u,g,E,M.useMaxWidth),u.attr("viewBox",`${f.x-_} ${f.y-_} ${E} ${g}`)},"draw");function B(t="",e=""){let r=t.replace(T,"");return`${Y(e)}${Y(r)}${u(t,"28e9f9db-3c8d-5aa5-9faf-44286ae5937c")}`}function Y(t=""){return t.length>0?`${t}-`:""}(0,i.eW)(B,"generateId"),(0,i.eW)(Y,"strWithHyphen");var P=(0,i.eW)(t=>` + .entityBox { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + } + + .attributeBoxOdd { + fill: ${t.attributeBackgroundColorOdd}; + stroke: ${t.nodeBorder}; + } + + .attributeBoxEven { + fill: ${t.attributeBackgroundColorEven}; + stroke: ${t.nodeBorder}; + } + + .relationshipLabelBox { + fill: ${t.tertiaryColor}; + opacity: 0.7; + background-color: ${t.tertiaryColor}; + rect { + opacity: 0.5; + } + } + + .relationshipLine { + stroke: ${t.lineColor}; + } + + .entityTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } + #MD_PARENT_START { + fill: #f5f5f5 !important; + stroke: ${t.lineColor} !important; + stroke-width: 1; + } + #MD_PARENT_END { + fill: #f5f5f5 !important; + stroke: ${t.lineColor} !important; + stroke-width: 1; + } + +`,"getStyles"),Z={parser:y,db:k,renderer:{setConf:w,draw:C},styles:P}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/54329717.c2c4f3f5.js b/pr-preview/pr-3/assets/js/54329717.c2c4f3f5.js new file mode 100644 index 0000000..a58c626 --- /dev/null +++ b/pr-preview/pr-3/assets/js/54329717.c2c4f3f5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1858"],{74088:function(e,t,r){r.r(t),r.d(t,{metadata:()=>s,contentTitle:()=>o,default:()=>u,assets:()=>c,toc:()=>l,frontMatter:()=>i});var s=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_document","title":"Create a Document","description":"Documents are groups of pages connected through:","source":"@site/docs/docusaurus/tutorial_basics/create_a_document.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_document","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_document.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Create a Page","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page"},"next":{"title":"Create a Blog Post","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post"}}'),n=r("85893"),a=r("50065");let i={sidebar_position:2},o="Create a Document",c={},l=[{value:"Create your first Doc",id:"create-your-first-doc",level:2},{value:"Configure the Sidebar",id:"configure-the-sidebar",level:2}];function d(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"create-a-document",children:"Create a Document"})}),"\n",(0,n.jsxs)(t.p,{children:["Documents are ",(0,n.jsx)(t.strong,{children:"groups of pages"})," connected through:"]}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:["a ",(0,n.jsx)(t.strong,{children:"sidebar"})]}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.strong,{children:"previous/next navigation"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.strong,{children:"versioning"})}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"create-your-first-doc",children:"Create your first Doc"}),"\n",(0,n.jsxs)(t.p,{children:["Create a Markdown file at ",(0,n.jsx)(t.code,{children:"docs/hello.md"}),":"]}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md"',children:"# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,n.jsxs)(t.p,{children:["A new document is now available at ",(0,n.jsx)(t.a,{href:"http://localhost:3000/docs/hello",children:"http://localhost:3000/docs/hello"}),"."]}),"\n",(0,n.jsx)(t.h2,{id:"configure-the-sidebar",children:"Configure the Sidebar"}),"\n",(0,n.jsxs)(t.p,{children:["Docusaurus automatically ",(0,n.jsx)(t.strong,{children:"creates a sidebar"})," from the ",(0,n.jsx)(t.code,{children:"docs"})," folder."]}),"\n",(0,n.jsx)(t.p,{children:"Add metadata to customize the sidebar label and position:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md" {1-4}',children:"---\nsidebar_label: 'Hi!'\nsidebar_position: 3\n---\n\n# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,n.jsxs)(t.p,{children:["It is also possible to create your sidebar explicitly in ",(0,n.jsx)(t.code,{children:"sidebars.js"}),":"]}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-js",metastring:'title="sidebars.js"',children:"export default {\n tutorialSidebar: [\n 'intro',\n // highlight-next-line\n 'hello',\n {\n type: 'category',\n label: 'Tutorial',\n items: ['tutorial_basics/create-a-document']\n }\n ]\n};\n"})})]})}function u(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},50065:function(e,t,r){r.d(t,{Z:function(){return o},a:function(){return i}});var s=r(67294);let n={},a=s.createContext(n);function i(e){let t=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/5516.22baa0ea.js b/pr-preview/pr-3/assets/js/5516.22baa0ea.js new file mode 100644 index 0000000..3bcf44b --- /dev/null +++ b/pr-preview/pr-3/assets/js/5516.22baa0ea.js @@ -0,0 +1,252 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5516"],{28734:function(t){var e,i;e=0,i=function(){return function(t,e){var i=e.prototype,n=i.format;i.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return n.bind(this)(t);var r=this.$utils(),s=(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 i.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return i.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 n.bind(this)(s)}}},t.exports=i()},10285:function(t){var e,i;e=0,i=function(){"use strict";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|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,n=/\d\d/,r=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},c=function(t){return function(e){this[t]=+e}},l=[/[+-]\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),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],d=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var i,n=a.meridiem;if(n){for(var r=1;r<=24;r+=1)if(t.indexOf(n(r,0,e))>-1){i=r>12;break}}else i=t===(e?"pm":"PM");return i},h={A:[s,function(t){this.afternoon=u(t,!1)}],a:[s,function(t){this.afternoon=u(t,!0)}],Q:[i,function(t){this.month=3*(t-1)+1}],S:[i,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[r,c("seconds")],ss:[r,c("seconds")],m:[r,c("minutes")],mm:[r,c("minutes")],H:[r,c("hours")],h:[r,c("hours")],HH:[r,c("hours")],hh:[r,c("hours")],D:[r,c("day")],DD:[n,c("day")],Do:[s,function(t){var e=a.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var n=1;n<=31;n+=1)e(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],w:[r,c("week")],ww:[n,c("week")],M:[r,c("month")],MM:[n,c("month")],MMM:[s,function(t){var e=d("months"),i=(d("monthsShort")||e.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(i<1)throw Error();this.month=i%12||i}],MMMM:[s,function(t){var e=d("months").indexOf(t)+1;if(e<1)throw Error();this.month=e%12||e}],Y:[/[+-]?\d+/,c("year")],YY:[n,function(t){this.year=o(t)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l};return function(i,n,r){r.p.customParseFormat=!0,i&&i.parseTwoDigitYear&&(o=i.parseTwoDigitYear);var s=n.prototype,c=s.parse;s.parse=function(i){var n=i.date,s=i.utc,o=i.args;this.$u=s;var l=o[1];if("string"==typeof l){var d=!0===o[2],u=!0===o[3],f=o[2];u&&(f=o[2]),a=this.$locale(),!d&&f&&(a=r.Ls[f]),this.$d=function(i,n,r,s){try{if(["x","X"].indexOf(n)>-1)return new Date(("X"===n?1e3:1)*i);var o=(function(i){var n,r;n=i,r=a&&a.formats;for(var s=(i=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,i,n){var s=n&&n.toUpperCase();return i||r[n]||t[n]||r[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,i){return e||i.slice(1)})})).match(e),o=s.length,c=0;c0?l-1:g.getMonth());var x,w=u||0,_=f||0,W=y||0,$=k||0;return m?new Date(Date.UTC(T,v,b,w,_,W,$+60*m.offset*1e3)):r?new Date(Date.UTC(T,v,b,w,_,W,$)):(x=new Date(T,v,b,w,_,W,$),p&&(x=s(x).week(p).toDate()),x)}catch(t){return new Date("")}}(n,l,s,r),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),(d||u)&&n!=this.format(l)&&(this.$d=new Date("")),a={}}else if(l instanceof Array)for(var y=l.length,k=1;k<=y;k+=1){o[1]=l[k-1];var m=r.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}k===y&&(this.$d=new Date(""))}else c.call(this,i)}}},t.exports=i()},59542:function(t){var e,i;e=0,i=function(){return function(t,e,i){var n=function(t){return t.add(4-t.isoWeekday(),"day")},r=e.prototype;r.isoWeekYear=function(){return n(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),"day");var e,r,s,a=n(this),o=(e=this.isoWeekYear(),s=4-(r=(this.$u?i.utc:i)().year(e).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(s+=7),r.add(s,"day"));return a.diff(o,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var s=r.startOf;r.startOf=function(t,e){var i=this.$utils(),n=!!i.u(e)||e;return"isoweek"===i.p(t)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(t,e)}}},t.exports=i()},6907:function(t,e,i){"use strict";i.d(e,{diagram:function(){return tI}});var n,r,s,a=i(7690),o=i(5995),c=i(17967),l=i(27484),d=i(59542),u=i(10285),h=i(28734),f=i(27818),y=function(){var t=(0,o.eW)(function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],n=[1,27],r=[1,28],s=[1,29],a=[1,30],c=[1,31],l=[1,32],d=[1,33],u=[1,34],h=[1,9],f=[1,10],y=[1,11],k=[1,12],m=[1,13],p=[1,14],g=[1,15],b=[1,16],T=[1,19],v=[1,20],x=[1,21],w=[1,22],_=[1,23],W=[1,25],$=[1,35],D={trace:(0,o.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:(0,o.eW)(function(t,e,i,n,r,s,a){var o=s.length-1;switch(r){case 1:return s[o-1];case 2:case 6:case 7:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 8:n.setWeekday("monday");break;case 9:n.setWeekday("tuesday");break;case 10:n.setWeekday("wednesday");break;case 11:n.setWeekday("thursday");break;case 12:n.setWeekday("friday");break;case 13:n.setWeekday("saturday");break;case 14:n.setWeekday("sunday");break;case 15:n.setWeekend("friday");break;case 16:n.setWeekend("saturday");break;case 17:n.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 18:n.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 19:n.TopAxis(),this.$=s[o].substr(8);break;case 20:n.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 21:n.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 22:n.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 23:n.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 24:n.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 27:n.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 28:this.$=s[o].trim(),n.setAccTitle(this.$);break;case 29:case 30:this.$=s[o].trim(),n.setAccDescription(this.$);break;case 31:n.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 33:n.addTask(s[o-1],s[o]),this.$="task";break;case 34:this.$=s[o-1],n.setClickEvent(s[o-1],s[o],null);break;case 35:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],s[o]);break;case 36:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],null),n.setLink(s[o-2],s[o]);break;case 37:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-2],s[o-1]),n.setLink(s[o-3],s[o]);break;case 38:this.$=s[o-2],n.setClickEvent(s[o-2],s[o],null),n.setLink(s[o-2],s[o-1]);break;case 39:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-1],s[o]),n.setLink(s[o-3],s[o-2]);break;case 40:this.$=s[o-1],n.setLink(s[o-1],s[o]);break;case 41:case 47:this.$=s[o-1]+" "+s[o];break;case 42:case 43:case 45:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 44:case 46:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:n,14:r,15:s,16:a,17:c,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:T,31:v,33:x,35:w,36:_,37:24,38:W,40:$},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:i,13:n,14:r,15:s,16:a,17:c,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:T,31:v,33:x,35:w,36:_,37:24,38:W,40:$},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:(0,o.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,o.eW)(function(t){var e=this,i=[0],n=[],r=[null],s=[],a=this.table,c="",l=0,d=0,u=0,h=s.slice.call(arguments,1),f=Object.create(this.lexer),y={yy:{}};for(var k in this.yy)Object.prototype.hasOwnProperty.call(this.yy,k)&&(y.yy[k]=this.yy[k]);f.setInput(t,y.yy),y.yy.lexer=f,y.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;s.push(m);var p=f.options&&f.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(){var t;return"number"!=typeof(t=n.pop()||f.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}(0,o.eW)(function(t){i.length=i.length-2*t,r.length=r.length-t,s.length=s.length-t},"popStack"),(0,o.eW)(g,"lex");for(var b,T,v,x,w,_,W,$,D,S={};;){if(v=i[i.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==b&&(b=g()),x=a[v]&&a[v][b]),void 0===x||!x.length||!x[0]){var C="";for(_ in D=[],a[v])this.terminals_[_]&&_>2&&D.push("'"+this.terminals_[_]+"'");C=f.showPosition?"Parse error on line "+(l+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(C,{text:f.match,token:this.terminals_[b]||b,line:f.yylineno,loc:m,expected:D})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+b);switch(x[0]){case 1:i.push(b),r.push(f.yytext),s.push(f.yylloc),i.push(x[1]),b=null,T?(b=T,T=null):(d=f.yyleng,c=f.yytext,l=f.yylineno,m=f.yylloc,u>0&&u--);break;case 2:if(W=this.productions_[x[1]][1],S.$=r[r.length-W],S._$={first_line:s[s.length-(W||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(W||1)].first_column,last_column:s[s.length-1].last_column},p&&(S._$.range=[s[s.length-(W||1)].range[0],s[s.length-1].range[1]]),void 0!==(w=this.performAction.apply(S,[c,d,l,y.yy,x[1],r,s].concat(h))))return w;W&&(i=i.slice(0,-1*W*2),r=r.slice(0,-1*W),s=s.slice(0,-1*W)),i.push(this.productions_[x[1]][0]),r.push(S.$),s.push(S._$),$=a[i[i.length-2]][i[i.length-1]],i.push($);break;case 3:return!0}}return!0},"parse")},S={EOF:1,parseError:(0,o.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,o.eW)(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},"setInput"),input:(0,o.eW)(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},"input"),unput:(0,o.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.eW)(function(){return this._more=!0,this},"more"),reject:(0,o.eW)(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})},"reject"),less:(0,o.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,o.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,o.eW)(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,"")},"upcomingInput"),showPosition:(0,o.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,o.eW)(function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},"test_match"),next:(0,o.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,o.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,o.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,o.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,o.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,o.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.eW)(function(t,e,i,n){switch(i){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 43;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 22:return 42;case 23:this.begin("click");break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/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,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,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],inclusive:!0}}};function C(){this.yy={}}return D.lexer=S,(0,o.eW)(C,"Parser"),C.prototype=D,D.Parser=C,new C}();y.parser=y;l.extend(d),l.extend(u),l.extend(h);var k={friday:5,saturday:6},m="",p="",g=void 0,b="",T=[],v=[],x=new Map,w=[],_=[],W="",$="",D=["active","done","crit","milestone"],S=[],C=!1,E=!1,M="sunday",Y="saturday",A=0,L=(0,o.eW)(function(){w=[],_=[],W="",S=[],th=0,n=void 0,r=void 0,tm=[],m="",p="",$="",g=void 0,b="",T=[],v=[],C=!1,E=!1,A=0,x=new Map,(0,o.ZH)(),M="sunday",Y="saturday"},"clear"),I=(0,o.eW)(function(t){p=t},"setAxisFormat"),F=(0,o.eW)(function(){return p},"getAxisFormat"),O=(0,o.eW)(function(t){g=t},"setTickInterval"),P=(0,o.eW)(function(){return g},"getTickInterval"),B=(0,o.eW)(function(t){b=t},"setTodayMarker"),z=(0,o.eW)(function(){return b},"getTodayMarker"),N=(0,o.eW)(function(t){m=t},"setDateFormat"),H=(0,o.eW)(function(){C=!0},"enableInclusiveEndDates"),V=(0,o.eW)(function(){return C},"endDatesAreInclusive"),j=(0,o.eW)(function(){E=!0},"enableTopAxis"),G=(0,o.eW)(function(){return E},"topAxisEnabled"),Z=(0,o.eW)(function(t){$=t},"setDisplayMode"),U=(0,o.eW)(function(){return $},"getDisplayMode"),R=(0,o.eW)(function(){return m},"getDateFormat"),q=(0,o.eW)(function(t){T=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),Q=(0,o.eW)(function(){return T},"getIncludes"),X=(0,o.eW)(function(t){v=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),K=(0,o.eW)(function(){return v},"getExcludes"),J=(0,o.eW)(function(){return x},"getLinks"),tt=(0,o.eW)(function(t){W=t,w.push(t)},"addSection"),te=(0,o.eW)(function(){return w},"getSections"),ti=(0,o.eW)(function(){let t=tv(),e=0;for(;!t&&e<10;)t=tv(),e++;return _=tm},"getTasks"),tn=(0,o.eW)(function(t,e,i,n){return!n.includes(t.format(e.trim()))&&(!!(i.includes("weekends")&&(t.isoWeekday()===k[Y]||t.isoWeekday()===k[Y]+1)||i.includes(t.format("dddd").toLowerCase()))||i.includes(t.format(e.trim())))},"isInvalidDate"),tr=(0,o.eW)(function(t){M=t},"setWeekday"),ts=(0,o.eW)(function(){return M},"getWeekday"),ta=(0,o.eW)(function(t){Y=t},"setWeekend"),to=(0,o.eW)(function(t,e,i,n){let r,s;if(!i.length||t.manualEndTime)return;r=(r=t.startTime instanceof Date?l(t.startTime):l(t.startTime,e,!0)).add(1,"d");let[a,o]=tc(r,s=t.endTime instanceof Date?l(t.endTime):l(t.endTime,e,!0),e,i,n);t.endTime=a.toDate(),t.renderEndTime=o},"checkTaskDates"),tc=(0,o.eW)(function(t,e,i,n,r){let s=!1,a=null;for(;t<=e;)!s&&(a=e.toDate()),(s=tn(t,i,n,r))&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},"fixTaskDates"),tl=(0,o.eW)(function(t,e,i){i=i.trim();let n=/^after\s+(?[\d\w- ]+)/.exec(i);if(null!==n){let t=null;for(let e of n.groups.ids.split(" ")){let i=tb(e);void 0!==i&&(!t||i.endTime>t.endTime)&&(t=i)}if(t)return t.endTime;let e=new Date;return e.setHours(0,0,0,0),e}let r=l(i,e.trim(),!0);if(r.isValid())return r.toDate();{o.cM.debug("Invalid date:"+i),o.cM.debug("With date format:"+e.trim());let t=new Date(i);if(void 0===t||isNaN(t.getTime())||-1e4>t.getFullYear()||t.getFullYear()>1e4)throw Error("Invalid date:"+i);return t}},"getStartDate"),td=(0,o.eW)(function(t){let e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),tu=(0,o.eW)(function(t,e,i,n=!1){i=i.trim();let r=/^until\s+(?[\d\w- ]+)/.exec(i);if(null!==r){let t=null;for(let e of r.groups.ids.split(" ")){let i=tb(e);void 0!==i&&(!t||i.startTime{window.open(i,"_self")}),x.set(t,i))}),tw(t,"clickable")},"setLink"),tw=(0,o.eW)(function(t,e){t.split(",").forEach(function(t){let i=tb(t);void 0!==i&&i.classes.push(e)})},"setClass"),t_=(0,o.eW)(function(t,e,i){if("loose"!==(0,o.nV)().securityLevel||void 0===e)return;let n=[];if("string"==typeof i){n=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t{a.w8.runFunc(e,...n)})},"setClickFun"),tW=(0,o.eW)(function(t,e){S.push(function(){let i=document.querySelector(`[id="${t}"]`);null!==i&&i.addEventListener("click",function(){e()})},function(){let i=document.querySelector(`[id="${t}-text"]`);null!==i&&i.addEventListener("click",function(){e()})})},"pushFun"),t$=(0,o.eW)(function(t,e,i){t.split(",").forEach(function(t){t_(t,e,i)}),tw(t,"clickable")},"setClickEvent"),tD=(0,o.eW)(function(t){S.forEach(function(e){e(t)})},"bindFunctions"),tS={getConfig:(0,o.eW)(()=>(0,o.nV)().gantt,"getConfig"),clear:L,setDateFormat:N,getDateFormat:R,enableInclusiveEndDates:H,endDatesAreInclusive:V,enableTopAxis:j,topAxisEnabled:G,setAxisFormat:I,getAxisFormat:F,setTickInterval:O,getTickInterval:P,setTodayMarker:B,getTodayMarker:z,setAccTitle:o.GN,getAccTitle:o.eu,setDiagramTitle:o.g2,getDiagramTitle:o.Kr,setDisplayMode:Z,getDisplayMode:U,setAccDescription:o.U$,getAccDescription:o.Mx,addSection:tt,getSections:te,getTasks:ti,addTask:tg,findTaskById:tb,addTaskOrg:tT,setIncludes:q,getIncludes:Q,setExcludes:X,getExcludes:K,setClickEvent:t$,setLink:tx,getLinks:J,bindFunctions:tD,parseDuration:td,isInvalidDate:tn,setWeekday:tr,getWeekday:ts,setWeekend:ta};function tC(t,e,i){let n=!0;for(;n;)n=!1,i.forEach(function(i){let r=RegExp("^\\s*"+i+"\\s*$");t[0].match(r)&&(e[i]=!0,t.shift(1),n=!0)})}(0,o.eW)(tC,"getTaskTags");var tE=(0,o.eW)(function(){o.cM.debug("Something is calling, setConf, remove the call")},"setConf"),tM={monday:f.Ox9,tuesday:f.YDX,wednesday:f.EFj,thursday:f.Igq,friday:f.y2j,saturday:f.LqH,sunday:f.Zyz},tY=(0,o.eW)((t,e)=>{let i=[...t].map(()=>-1/0),n=[...t].sort((t,e)=>t.startTime-e.startTime||t.order-e.order),r=0;for(let t of n)for(let n=0;n=i[n]){i[n]=t.endTime,t.order=n+e,n>r&&(r=n);break}return r},"getMaxIntersections"),tA=(0,o.eW)(function(t,e,i,n){let r;let a=(0,o.nV)().gantt,c=(0,o.nV)().securityLevel;"sandbox"===c&&(r=(0,f.Ys)("#i"+e));let d="sandbox"===c?(0,f.Ys)(r.nodes()[0].contentDocument.body):(0,f.Ys)("body"),u="sandbox"===c?r.nodes()[0].contentDocument:document,h=u.getElementById(e);void 0===(s=h.parentElement.offsetWidth)&&(s=1200),void 0!==a.useWidth&&(s=a.useWidth);let y=n.db.getTasks(),k=[];for(let t of y)k.push(t.type);k=D(k);let m={},p=2*a.topPadding;if("compact"===n.db.getDisplayMode()||"compact"===a.displayMode){let t={};for(let e of y)void 0===t[e.section]?t[e.section]=[e]:t[e.section].push(e);let e=0;for(let i of Object.keys(t)){let n=tY(t[i],e)+1;e+=n,p+=n*(a.barHeight+a.barGap),m[i]=n}}else for(let t of(p+=y.length*(a.barHeight+a.barGap),k))m[t]=y.filter(e=>e.type===t).length;h.setAttribute("viewBox","0 0 "+s+" "+p);let g=d.select(`[id="${e}"]`),b=(0,f.Xf)().domain([(0,f.VV$)(y,function(t){return t.startTime}),(0,f.Fp7)(y,function(t){return t.endTime})]).rangeRound([0,s-a.leftPadding-a.rightPadding]);function T(t,e){let i=t.startTime,n=e.startTime,r=0;return i>n?r=1:it.order))].map(e=>t.find(t=>t.order===e));g.append("g").selectAll("rect").data(u).enter().append("rect").attr("x",0).attr("y",function(t,e){return(e=t.order)*i+r-2}).attr("width",function(){return d-a.rightPadding/2}).attr("height",i).attr("class",function(t){for(let[e,i]of k.entries())if(t.type===i)return"section section"+e%a.numberSectionStyles;return"section section0"});let h=g.append("g").selectAll("rect").data(t).enter(),y=n.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?b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))-.5*c:b(t.startTime)+s}).attr("y",function(t,e){return(e=t.order)*i+r}).attr("width",function(t){return t.milestone?c:b(t.renderEndTime||t.endTime)-b(t.startTime)}).attr("height",c).attr("transform-origin",function(t,e){return e=t.order,(b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))).toString()+"px "+(e*i+r+.5*c).toString()+"px"}).attr("class",function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let i=0;for(let[e,n]of k.entries())t.type===n&&(i=e%a.numberSectionStyles);let n="";return t.active?t.crit?n+=" activeCrit":n=" active":t.done?n=t.crit?" doneCrit":" done":t.crit&&(n+=" crit"),0===n.length&&(n=" task"),t.milestone&&(n=" milestone "+n),n+=i,"task"+(n+=" "+e)}),h.append("text").attr("id",function(t){return t.id+"-text"}).text(function(t){return t.task}).attr("font-size",a.fontSize).attr("x",function(t){let e=b(t.startTime),i=b(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(b(t.endTime)-b(t.startTime))-.5*c),t.milestone&&(i=e+c);let n=this.getBBox().width;return n>i-e?i+n+1.5*a.leftPadding>d?e+s-5:i+s+5:(i-e)/2+e+s}).attr("y",function(t,e){return(e=t.order)*i+a.barHeight/2+(a.fontSize/2-2)+r}).attr("text-height",c).attr("class",function(t){let e=b(t.startTime),i=b(t.endTime);t.milestone&&(i=e+c);let n=this.getBBox().width,r="";t.classes.length>0&&(r=t.classes.join(" "));let s=0;for(let[e,i]of k.entries())t.type===i&&(s=e%a.numberSectionStyles);let o="";return(t.active&&(o=t.crit?"activeCritText"+s:"activeText"+s),t.done?o=t.crit?o+" doneCritText"+s:o+" doneText"+s:t.crit&&(o=o+" critText"+s),t.milestone&&(o+=" milestoneText"),n>i-e)?i+n+1.5*a.leftPadding>d?r+" taskTextOutsideLeft taskTextOutside"+s+" "+o:r+" taskTextOutsideRight taskTextOutside"+s+" "+o+" width-"+n:r+" taskText taskText"+s+" "+o+" width-"+n}),"sandbox"===(0,o.nV)().securityLevel){let t=(0,f.Ys)("#i"+e).nodes()[0].contentDocument;h.filter(function(t){return y.has(t.id)}).each(function(e){var i=t.querySelector("#"+e.id),n=t.querySelector("#"+e.id+"-text");let r=i.parentNode;var s=t.createElement("a");s.setAttribute("xlink:href",y.get(e.id)),s.setAttribute("target","_top"),r.appendChild(s),s.appendChild(i),s.appendChild(n)})}}function w(t,e,i,r,s,c,d,u){let h,f;if(0===d.length&&0===u.length)return;for(let{startTime:t,endTime:e}of c)(void 0===h||tf)&&(f=e);if(!h||!f)return;if(l(f).diff(l(h),"year")>5){o.cM.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let y=n.db.getDateFormat(),k=[],m=null,p=l(h);for(;p.valueOf()<=f;)n.db.isInvalidDate(p,y,d,u)?m?m.end=p:m={start:p,end:p}:m&&(k.push(m),m=null),p=p.add(1,"d");g.append("g").selectAll("rect").data(k).enter().append("rect").attr("id",function(t){return"exclude-"+t.start.format("YYYY-MM-DD")}).attr("x",function(t){return b(t.start)+i}).attr("y",a.gridLineStartPadding).attr("width",function(t){return b(t.end.add(1,"day"))-b(t.start)}).attr("height",s-e-a.gridLineStartPadding).attr("transform-origin",function(e,n){return(b(e.start)+i+.5*(b(e.end)-b(e.start))).toString()+"px "+(n*t+.5*s).toString()+"px"}).attr("class","exclude-range")}function _(t,e,i,r){let s=(0,f.LLu)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d")),o=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(n.db.getTickInterval()||a.tickInterval);if(null!==o){let t=o[1],e=o[2],i=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":s.ticks(f.U8T.every(t));break;case"second":s.ticks(f.S1K.every(t));break;case"minute":s.ticks(f.Z_i.every(t));break;case"hour":s.ticks(f.WQD.every(t));break;case"day":s.ticks(f.rr1.every(t));break;case"week":s.ticks(tM[i].every(t));break;case"month":s.ticks(f.F0B.every(t))}}if(g.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(s).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),n.db.topAxisEnabled()||a.topAxis){let i=(0,f.F5q)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));if(null!==o){let t=o[1],e=o[2],r=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":i.ticks(f.U8T.every(t));break;case"second":i.ticks(f.S1K.every(t));break;case"minute":i.ticks(f.Z_i.every(t));break;case"hour":i.ticks(f.WQD.every(t));break;case"day":i.ticks(f.rr1.every(t));break;case"week":i.ticks(tM[r].every(t));break;case"month":i.ticks(f.F0B.every(t))}}g.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(i).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function W(t,e){let i=0,n=Object.keys(m).map(t=>[t,m[t]]);g.append("g").selectAll("text").data(n).enter().append(function(t){let e=t[0].split(o.SY.lineBreakRegex),i=-(e.length-1)/2,n=u.createElementNS("http://www.w3.org/2000/svg","text");for(let[t,r]of(n.setAttribute("dy",i+"em"),e.entries())){let e=u.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=r,n.appendChild(e)}return n}).attr("x",10).attr("y",function(r,s){if(!(s>0))return r[1]*t/2+e;for(let a=0;a` + .mermaid-main-font { + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .exclude-range { + fill: ${t.excludeBkgColor}; + } + + .section { + stroke: none; + opacity: 0.2; + } + + .section0 { + fill: ${t.sectionBkgColor}; + } + + .section2 { + fill: ${t.sectionBkgColor2}; + } + + .section1, + .section3 { + fill: ${t.altSectionBkgColor}; + opacity: 0.2; + } + + .sectionTitle0 { + fill: ${t.titleColor}; + } + + .sectionTitle1 { + fill: ${t.titleColor}; + } + + .sectionTitle2 { + fill: ${t.titleColor}; + } + + .sectionTitle3 { + fill: ${t.titleColor}; + } + + .sectionTitle { + text-anchor: start; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + + /* Grid and axis */ + + .grid .tick { + stroke: ${t.gridColor}; + opacity: 0.8; + shape-rendering: crispEdges; + } + + .grid .tick text { + font-family: ${t.fontFamily}; + fill: ${t.textColor}; + } + + .grid path { + stroke-width: 0; + } + + + /* Today line */ + + .today { + fill: none; + stroke: ${t.todayLineColor}; + stroke-width: 2px; + } + + + /* Task styling */ + + /* Default task */ + + .task { + stroke-width: 2; + } + + .taskText { + text-anchor: middle; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .taskTextOutsideRight { + fill: ${t.taskTextDarkColor}; + text-anchor: start; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .taskTextOutsideLeft { + fill: ${t.taskTextDarkColor}; + text-anchor: end; + } + + + /* Special case clickable */ + + .task.clickable { + cursor: pointer; + } + + .taskText.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideLeft.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideRight.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + + /* Specific task settings for the sections*/ + + .taskText0, + .taskText1, + .taskText2, + .taskText3 { + fill: ${t.taskTextColor}; + } + + .task0, + .task1, + .task2, + .task3 { + fill: ${t.taskBkgColor}; + stroke: ${t.taskBorderColor}; + } + + .taskTextOutside0, + .taskTextOutside2 + { + fill: ${t.taskTextOutsideColor}; + } + + .taskTextOutside1, + .taskTextOutside3 { + fill: ${t.taskTextOutsideColor}; + } + + + /* Active task */ + + .active0, + .active1, + .active2, + .active3 { + fill: ${t.activeTaskBkgColor}; + stroke: ${t.activeTaskBorderColor}; + } + + .activeText0, + .activeText1, + .activeText2, + .activeText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Completed task */ + + .done0, + .done1, + .done2, + .done3 { + stroke: ${t.doneTaskBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + } + + .doneText0, + .doneText1, + .doneText2, + .doneText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Tasks on the critical line */ + + .crit0, + .crit1, + .crit2, + .crit3 { + stroke: ${t.critBorderColor}; + fill: ${t.critBkgColor}; + stroke-width: 2; + } + + .activeCrit0, + .activeCrit1, + .activeCrit2, + .activeCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.activeTaskBkgColor}; + stroke-width: 2; + } + + .doneCrit0, + .doneCrit1, + .doneCrit2, + .doneCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + cursor: pointer; + shape-rendering: crispEdges; + } + + .milestone { + transform: rotate(45deg) scale(0.8,0.8); + } + + .milestoneText { + font-style: italic; + } + .doneCritText0, + .doneCritText1, + .doneCritText2, + .doneCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .activeCritText0, + .activeCritText1, + .activeCritText2, + .activeCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .titleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.titleColor||t.textColor}; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } +`,"getStyles"),tI={parser:y,db:tS,renderer:{setConf:tE,draw:tA},styles:tL}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/555.22a9c9df.js b/pr-preview/pr-3/assets/js/555.22a9c9df.js new file mode 100644 index 0000000..0800c26 --- /dev/null +++ b/pr-preview/pr-3/assets/js/555.22a9c9df.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["555"],{65521:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(16124);let i=function(e){return(0,r.Z)(e,4)}},30714:function(e,t,n){n.r(t),n.d(t,{render:()=>D});var r=n("33071"),i=n("28162");n("16302"),n("80587");var a=n("4511");n("92719"),n("7690");var d=n("5995"),c=n("49235"),o=n("61925"),s=n("65521"),l=n("97345");function g(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:function(e){return l.Z(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return!o.Z(n)&&(i.value=n),!o.Z(r)&&(i.parent=r),i})}(e),edges:function(e){return l.Z(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return!o.Z(t.name)&&(r.name=t.name),!o.Z(n)&&(r.value=n),r})}(e)};return!o.Z(e.graph())&&(t.value=s.Z(e.graph())),t}n("61135");var f=n("50043"),h=new Map,u=new Map,p=new Map,w=(0,d.eW)(()=>{u.clear(),p.clear(),h.clear()},"clear"),M=(0,d.eW)((e,t)=>{let n=u.get(t)||[];return d.cM.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),v=(0,d.eW)((e,t)=>{let n=u.get(t)||[];return d.cM.info("Descendants of ",t," is ",n),d.cM.info("Edge is ",e),e.v!==t&&e.w!==t&&(n?n.includes(e.v)||M(e.v,t)||M(e.w,t)||n.includes(e.w):(d.cM.debug("Tilt, ",t,",not in descendants"),!1))},"edgeInCluster"),y=(0,d.eW)((e,t,n,r)=>{d.cM.warn("Copying children of ",e,"root",r,"data",t.node(e),r);let i=t.children(e)||[];e!==r&&i.push(e),d.cM.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(i=>{if(t.children(i).length>0)y(i,t,n,r);else{let a=t.node(i);d.cM.info("cp ",i," to ",r," with parent ",e),n.setNode(i,a),r!==t.parent(i)&&(d.cM.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(d.cM.debug("Setting parent",i,e),n.setParent(i,e)):(d.cM.info("In copy ",e,"root",r,"data",t.node(e),r),d.cM.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));let c=t.edges(i);d.cM.debug("Copying Edges",c),c.forEach(i=>{d.cM.info("Edge",i);let a=t.edge(i.v,i.w,i.name);d.cM.info("Edge data",a,r);try{v(i,r)?(d.cM.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),d.cM.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):d.cM.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(e){d.cM.error(e)}})}d.cM.debug("Removing node",i),t.removeNode(i)})},"copy"),X=(0,d.eW)((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)p.set(i,e),r=[...r,...X(i,t)];return r},"extractDescendants"),m=(0,d.eW)((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),d=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>d.some(t=>e.v===t.v&&e.w===t.w))},"findCommonEdges"),b=(0,d.eW)((e,t,n)=>{let r;let i=t.children(e);if(d.cM.trace("Searching children of id ",e,i),i.length<1)return e;for(let e of i){let i=b(e,t,n),a=m(t,n,i);if(i){if(!(a.length>0))return i;r=i}}return r},"findNonClusterChild"),E=(0,d.eW)(e=>h.has(e)&&h.get(e).externalConnections?h.has(e)?h.get(e).id:e:e,"getAnchorId"),N=(0,d.eW)((e,t)=>{if(!e||t>10){d.cM.debug("Opting out, no graph ");return}d.cM.debug("Opting in, graph ");for(let t of(e.nodes().forEach(function(t){e.children(t).length>0&&(d.cM.warn("Cluster identified",t," Replacement id in edges: ",b(t,e,t)),u.set(t,X(t,e)),h.set(t,{id:b(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){let n=e.children(t),r=e.edges();n.length>0?(d.cM.debug("Cluster identified",t,u),r.forEach(e=>{let n=M(e.v,t);n^M(e.w,t)&&(d.cM.warn("Edge: ",e," leaves cluster ",t),d.cM.warn("Descendants of XXX ",t,": ",u.get(t)),h.get(t).externalConnections=!0)})):d.cM.debug("Not a cluster ",t,u)}),h.keys())){let n=h.get(t).id,r=e.parent(n);r!==t&&h.has(r)&&!h.get(r).externalConnections&&(h.get(t).id=r)}e.edges().forEach(function(t){let n=e.edge(t);d.cM.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),d.cM.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(d.cM.warn("Fix XXX",h,"ids:",t.v,t.w,"Translating: ",h.get(t.v)," --- ",h.get(t.w)),h.get(t.v)||h.get(t.w)){if(d.cM.warn("Fixing and trying - removing XXX",t.v,t.w,t.name),r=E(t.v),i=E(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v){let i=e.parent(r);h.get(i).externalConnections=!0,n.fromCluster=t.v}if(i!==t.w){let r=e.parent(i);h.get(r).externalConnections=!0,n.toCluster=t.w}d.cM.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name)}}),d.cM.warn("Adjusted Graph",g(e)),C(e,0),d.cM.trace(h)},"adjustClustersAndEdges"),C=(0,d.eW)((e,t)=>{if(d.cM.warn("extractor - ",t,g(e),e.children("D")),t>10){d.cM.error("Bailing out");return}let n=e.nodes(),r=!1;for(let t of n){let n=e.children(t);r=r||n.length>0}if(!r){d.cM.debug("Done, no node has children",e.nodes());return}for(let r of(d.cM.debug("Nodes = ",n,t),n))if(d.cM.debug("Extracting node",r,h,h.has(r)&&!h.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),h.has(r)){if(!h.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){d.cM.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";h.get(r)?.clusterData?.dir&&(n=h.get(r).clusterData.dir,d.cM.warn("Fixing dir",h.get(r).clusterData.dir,n));let i=new f.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});d.cM.warn("Old graph before copy",g(e)),y(r,e,i,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:h.get(r).clusterData,label:h.get(r).label,graph:i}),d.cM.warn("New graph after copy node: (",r,")",g(i)),d.cM.debug("Old graph after copy",g(e))}else d.cM.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!h.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),d.cM.debug(h)}else d.cM.debug("Not a cluster",r,t);for(let r of(n=e.nodes(),d.cM.warn("New list of nodes",n),n)){let n=e.node(r);d.cM.warn(" Now next level",r,n),n?.clusterNode&&C(n.graph,t+1)}},"extractor"),x=(0,d.eW)((e,t)=>{if(0===t.length)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=e.children(t),i=x(e,r);n=[...n,...i]}),n},"sorter"),S=(0,d.eW)(e=>x(e,e.children()),"sortNodesByHierarchy"),I=(0,d.eW)(async(e,t,n,o,s,l)=>{d.cM.warn("Graph in recursive render:XAX",g(t),s);let f=t.graph().rankdir;d.cM.trace("Dir in recursive render - dir:",f);let u=e.insert("g").attr("class","root");t.nodes()?d.cM.info("Recursive render XXX",t.nodes()):d.cM.info("No nodes found for",t),t.edges().length>0&&d.cM.info("Recursive edges",t.edge(t.edges()[0]));let p=u.insert("g").attr("class","clusters"),w=u.insert("g").attr("class","edgePaths"),M=u.insert("g").attr("class","edgeLabels"),v=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(e){let r=t.node(e);if(void 0!==s){let n=JSON.parse(JSON.stringify(s.clusterData));d.cM.trace("Setting data for parent cluster XXX\n Node.id = ",e,"\n data=",n.height,"\nParent cluster",s.height),t.setNode(s.id,n),!t.parent(e)&&(d.cM.trace("Setting parent",e,s.id),t.setParent(e,s.id,n))}if(d.cM.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r?.clusterNode){d.cM.info("Cluster identified XBX",e,r.width,t.node(e));let{ranksep:a,nodesep:c}=t.graph();r.graph.setGraph({...r.graph.graph(),ranksep:a+25,nodesep:c});let s=await I(v,r.graph,n,o,t.node(e),l),g=s.elem;(0,i.jr)(r,g),r.diff=s.diff||0,d.cM.info("New compound node after recursive render XAX",e,"width",r.width,"height",r.height),(0,i.Yn)(g,r)}else t.children(e).length>0?(d.cM.trace("Cluster - the non recursive path XBX",e,r.id,r,r.width,"Graph:",t),d.cM.trace(b(r.id,t)),h.set(r.id,{id:b(r.id,t),node:r})):(d.cM.trace("Node - the non recursive path XAX",e,v,t.node(e),f),await (0,i.Lf)(v,t.node(e),{config:l,dir:f}))}));let y=(0,d.eW)(async()=>{let e=t.edges().map(async function(e){let n=t.edge(e.v,e.w,e.name);d.cM.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),d.cM.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),d.cM.info("Fix",h,"ids:",e.v,e.w,"Translating: ",h.get(e.v),h.get(e.w)),await (0,r.I_)(M,n)});await Promise.all(e)},"processEdges");await y(),d.cM.info("Graph before layout:",JSON.stringify(g(t))),d.cM.info("############################################# XXX"),d.cM.info("### Layout ### XXX"),d.cM.info("############################################# XXX"),(0,c.bK)(t),d.cM.info("Graph after layout:",JSON.stringify(g(t)));let X=0,{subGraphTitleTotalMargin:m}=(0,a.L)(l);return await Promise.all(S(t).map(async function(e){let n=t.node(e);if(d.cM.info("Position XBX => "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n?.clusterNode)n.y+=m,d.cM.info("A tainted cluster node XBX1",e,n.id,n.width,n.height,n.x,n.y,t.parent(e)),h.get(n.id).node=n,(0,i.aH)(n);else if(t.children(e).length>0){d.cM.info("A pure cluster node XBX1",e,n.id,n.x,n.y,n.width,n.height,t.parent(e)),n.height+=m,t.node(n.parentId);let r=n?.padding/2||0,a=n?.labelBBox?.height||0;d.cM.debug("OffsetY",a-r||0,"labelHeight",a,"halfPadding",r),await (0,i.us)(p,n),h.get(n.id).node=n}else{let e=t.node(n.parentId);n.y+=m/2,d.cM.info("A regular node XBX1 - using the padding",n.id,"parent",n.parentId,n.width,n.height,n.x,n.y,"offsetY",n.offsetY,"parent",e,e?.offsetY,n),(0,i.aH)(n)}})),t.edges().forEach(function(e){let i=t.edge(e);d.cM.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(i),i),i.points.forEach(e=>e.y+=m/2);let a=t.node(e.v);var c=t.node(e.w);let s=(0,r.QP)(w,i,h,n,a,c,o);(0,r.Jj)(i,s)}),t.nodes().forEach(function(e){let n=t.node(e);d.cM.info(e,n.type,n.diff),n.isGroup&&(X=n.diff)}),d.cM.warn("Returning from recursive render XAX",u,X),{elem:u,diff:X}},"recursiveRender"),D=(0,d.eW)(async(e,t)=>{let n=new f.k({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.config?.flowchart?.nodeSpacing||e.nodeSpacing,ranksep:e.config?.rankSpacing||e.config?.flowchart?.rankSpacing||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),a=t.select("g");(0,r.DQ)(a,e.markers,e.type,e.diagramId),(0,i.gU)(),(0,r.ZH)(),(0,i.ZH)(),w(),e.nodes.forEach(e=>{n.setNode(e.id,{...e}),e.parentId&&n.setParent(e.id,e.parentId)}),d.cM.debug("Edges:",e.edges),e.edges.forEach(e=>{if(e.start===e.end){let t=e.start,r=t+"---"+t+"---1",i=t+"---"+t+"---2",a=n.node(t);n.setNode(r,{domId:r,id:r,parentId:a.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),n.setParent(r,a.parentId),n.setNode(i,{domId:i,id:i,parentId:a.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),n.setParent(i,a.parentId);let d=structuredClone(e),c=structuredClone(e),o=structuredClone(e);d.label="",d.arrowTypeEnd="none",d.id=t+"-cyclic-special-1",c.arrowTypeEnd="none",c.id=t+"-cyclic-special-mid",o.label="",a.isGroup&&(d.fromCluster=t,o.toCluster=t),o.id=t+"-cyclic-special-2",n.setEdge(t,r,d,t+"-cyclic-special-0"),n.setEdge(r,i,c,t+"-cyclic-special-1"),n.setEdge(i,t,o,t+"-cycH});var i=n("5995"),r=n("27818");function s(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}function o(t){return t.target.depth}function l(t,e){return t.sourceLinks.length?t.depth:e-1}function h(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let i=-1;for(let r of t)(r=+e(r,++i,t))&&(n+=r)}return n}function a(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n=r)&&(n=r)}return n}function c(t){return function(){return t}}function u(t,e){return y(t.source,e.source)||t.index-e.index}function f(t,e){return y(t.target,e.target)||t.index-e.index}function y(t,e){return t.y0-e.y0}function p(t){return t.value}function d(t){return t.index}function g(t){return t.nodes}function _(t){return t.links}function x(t,e){let n=t.get(e);if(!n)throw Error("missing: "+e);return n}function m({nodes:t}){for(let e of t){let t=e.y0,n=t;for(let n of e.sourceLinks)n.y0=t+n.width/2,t+=n.width;for(let t of e.targetLinks)t.y1=n+t.width/2,n+=t.width}}var k=Math.PI,v=2*k,b=v-1e-6;function S(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function w(){return new S}S.prototype=w.prototype={constructor:S,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,s){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+s)},arcTo:function(t,e,n,i,r){t=+t,e=+e,n=+n,i=+i,r=+r;var s=this._x1,o=this._y1,l=n-t,h=i-e,a=s-t,c=o-e,u=a*a+c*c;if(r<0)throw Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(u>1e-6){if(Math.abs(c*l-h*a)>1e-6&&r){var f=n-s,y=i-o,p=l*l+h*h,d=Math.sqrt(p),g=Math.sqrt(u),_=r*Math.tan((k-Math.acos((p+u-(f*f+y*y))/(2*d*g)))/2),x=_/g,m=_/d;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*a)+","+(e+x*c)),this._+="A"+r+","+r+",0,0,"+ +(c*f>a*y)+","+(this._x1=t+m*l)+","+(this._y1=e+m*h)}else this._+="L"+(this._x1=t)+","+(this._y1=e)}else;},arc:function(t,e,n,i,r,s){t=+t,e=+e,n=+n,s=!!s;var o=n*Math.cos(i),l=n*Math.sin(i),h=t+o,a=e+l,c=1^s,u=s?i-r:r-i;if(n<0)throw Error("negative radius: "+n);null===this._x1?this._+="M"+h+","+a:(Math.abs(this._x1-h)>1e-6||Math.abs(this._y1-a)>1e-6)&&(this._+="L"+h+","+a),n&&(u<0&&(u=u%v+v),u>b?this._+="A"+n+","+n+",0,1,"+c+","+(t-o)+","+(e-l)+"A"+n+","+n+",0,1,"+c+","+(this._x1=h)+","+(this._y1=a):u>1e-6&&(this._+="A"+n+","+n+",0,"+ +(u>=k)+","+c+","+(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 E=Array.prototype.slice;function W(t){return function(){return t}}function A(t){return t[0]}function L(t){return t[1]}function M(t){return t.source}function I(t){return t.target}function T(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e=(e+i)/2,n,e,r,i,r)}function P(t){return[t.source.x1,t.y0]}function C(t){return[t.target.x0,t.y1]}var N=function(){var t=(0,i.eW)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[1,9],n=[1,10],r=[1,5,10,12],s={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:(0,i.eW)(function(t,e,n,i,r,s,o){var l=s.length-1;switch(r){case 7:let h=i.findOrCreateNode(s[l-4].trim().replaceAll('""','"')),a=i.findOrCreateNode(s[l-2].trim().replaceAll('""','"')),c=parseFloat(s[l].trim());i.addLink(h,a,c);break;case 8:case 9:case 11:this.$=s[l];break;case 10:this.$=s[l-1]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:n},{1:[2,6],7:11,10:[1,12]},t(n,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(r,[2,8]),t(r,[2,9]),{19:[1,16]},t(r,[2,11]),{1:[2,1]},{1:[2,5]},t(n,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:n},{15:18,16:7,17:8,18:e,20:n},{18:[1,19]},t(n,[2,3]),{12:[1,20]},t(r,[2,10]),{15:21,16:7,17:8,18:e,20:n},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:(0,i.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,i.eW)(function(t){var e=this,n=[0],r=[],s=[null],o=[],l=this.table,h="",a=0,c=0,u=0,f=o.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(p.yy[d]=this.yy[d]);y.setInput(t,p.yy),p.yy.lexer=y,p.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;o.push(g);var _=y.options&&y.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(){var t;return"number"!=typeof(t=r.pop()||y.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,i.eW)(function(t){n.length=n.length-2*t,s.length=s.length-t,o.length=o.length-t},"popStack"),(0,i.eW)(x,"lex");for(var m,k,v,b,S,w,E,W,A,L={};;){if(v=n[n.length-1],this.defaultActions[v]?b=this.defaultActions[v]:(null==m&&(m=x()),b=l[v]&&l[v][m]),void 0===b||!b.length||!b[0]){var M="";for(w in A=[],l[v])this.terminals_[w]&&w>2&&A.push("'"+this.terminals_[w]+"'");M=y.showPosition?"Parse error on line "+(a+1)+":\n"+y.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(M,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:g,expected:A})}if(b[0]instanceof Array&&b.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(b[0]){case 1:n.push(m),s.push(y.yytext),o.push(y.yylloc),n.push(b[1]),m=null,k?(m=k,k=null):(c=y.yyleng,h=y.yytext,a=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(E=this.productions_[b[1]][1],L.$=s[s.length-E],L._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},_&&(L._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),void 0!==(S=this.performAction.apply(L,[h,c,a,p.yy,b[1],s,o].concat(f))))return S;E&&(n=n.slice(0,-1*E*2),s=s.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[b[1]][0]),s.push(L.$),o.push(L._$),W=l[n[n.length-2]][n[n.length-1]],n.push(W);break;case 3:return!0}}return!0},"parse")},o={EOF:1,parseError:(0,i.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,i.eW)(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},"setInput"),input:(0,i.eW)(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},"input"),unput:(0,i.eW)(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},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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})},"reject"),less:(0,i.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,i.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.eW)(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,"")},"upcomingInput"),showPosition:(0,i.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,i.eW)(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 s in r)this[s]=r[s];return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,n,i,r=this._currentRules(),s=0;se[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[i]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,i.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,i.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(t,e,n,i){switch(n){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};function l(){this.yy={}}return s.lexer=o,(0,i.eW)(l,"Parser"),l.prototype=s,s.Parser=l,new l}();N.parser=N;var O=[],$=[],D=new Map,j=(0,i.eW)(()=>{O=[],$=[],D=new Map,(0,i.ZH)()},"clear"),z=class{constructor(t,e,n=0){this.source=t,this.target=e,this.value=n}static{(0,i.eW)(this,"SankeyLink")}},F=(0,i.eW)((t,e,n)=>{O.push(new z(t,e,n))},"addLink"),U=class{constructor(t){this.ID=t}static{(0,i.eW)(this,"SankeyNode")}},Y=(0,i.eW)(t=>{t=i.SY.sanitizeText(t,(0,i.nV)());let e=D.get(t);return void 0===e&&(e=new U(t),D.set(t,e),$.push(e)),e},"findOrCreateNode"),V=(0,i.eW)(()=>$,"getNodes"),G=(0,i.eW)(()=>O,"getLinks"),K=(0,i.eW)(()=>({nodes:$.map(t=>({id:t.ID})),links:O.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),X={nodesMap:D,getConfig:(0,i.eW)(()=>(0,i.nV)().sankey,"getConfig"),getNodes:V,getLinks:G,getGraph:K,addLink:F,findOrCreateNode:Y,getAccTitle:i.eu,setAccTitle:i.GN,getAccDescription:i.Mx,setAccDescription:i.U$,getDiagramTitle:i.Kr,setDiagramTitle:i.g2,clear:j},q=class t{static{(0,i.eW)(this,"Uid")}static{this.count=0}static next(e){return new t(e+ ++t.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}},Q={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?s(t.sourceLinks,o)-1:0},justify:l},R=(0,i.eW)(function(t,e,n,o){let k,v;let{securityLevel:b,sankey:S}=(0,i.nV)(),N=i.Fy.sankey;"sandbox"===b&&(k=(0,r.Ys)("#i"+e));let O="sandbox"===b?(0,r.Ys)(k.nodes()[0].contentDocument.body):(0,r.Ys)("body"),$="sandbox"===b?O.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`),D=S?.width??N.width,j=S?.height??N.width,z=S?.useMaxWidth??N.useMaxWidth,F=S?.nodeAlignment??N.nodeAlignment,U=S?.prefix??N.prefix,Y=S?.suffix??N.suffix,V=S?.showValues??N.showValues,G=o.db.getGraph(),K=Q[F];(function(){let t,e,n=0,i=0,r=1,o=1,k=24,v=8,b,S=d,w=l,E=g,W=_,A=6;function L(){let l={nodes:E.apply(null,arguments),links:W.apply(null,arguments)};return function({nodes:t,links:n}){for(let[e,n]of t.entries())n.index=e,n.sourceLinks=[],n.targetLinks=[];let i=new Map(t.map((e,n)=>[S(e,n,t),e]));for(let[t,e]of n.entries()){e.index=t;let{source:n,target:r}=e;"object"!=typeof n&&(n=e.source=x(i,n)),"object"!=typeof r&&(r=e.target=x(i,r)),n.sourceLinks.push(e),r.targetLinks.push(e)}if(null!=e)for(let{sourceLinks:n,targetLinks:i}of t)n.sort(e),i.sort(e)}(l),function({nodes:t}){for(let e of t)e.value=void 0===e.fixedValue?Math.max(h(e.sourceLinks,p),h(e.targetLinks,p)):e.fixedValue}(l),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{target:e}of(t.depth=r,t.sourceLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(l),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{source:e}of(t.height=r,t.targetLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(l),function(l){let c=function({nodes:e}){let i=a(e,t=>t.depth)+1,s=(r-n-k)/(i-1),o=Array(i);for(let t of e){let e=Math.max(0,Math.min(i-1,Math.floor(w.call(null,t,i))));t.layer=e,t.x0=n+e*s,t.x1=t.x0+k,o[e]?o[e].push(t):o[e]=[t]}if(t)for(let e of o)e.sort(t);return o}(l);b=Math.min(v,(o-i)/(a(c,t=>t.length)-1)),!function(t){let n=s(t,t=>(o-i-(t.length-1)*b)/h(t,p));for(let r of t){let t=i;for(let e of r)for(let i of(e.y0=t,e.y1=t+e.value*n,t=e.y1+b,e.sourceLinks))i.width=i.value*n;t=(o-t+b)/(r.length+1);for(let e=0;e=0;--s){let r=e[s];for(let t of r){let e=0,i=0;for(let{target:n,value:r}of t.sourceLinks){let s=r*(n.layer-t.layer);e+=function(t,e){let n=e.y0-(e.targetLinks.length-1)*b/2;for(let{source:i,width:r}of e.targetLinks){if(i===t)break;n+=r+b}for(let{target:i,width:r}of t.sourceLinks){if(i===e)break;n-=r}return n}(t,n)*s,i+=s}if(!(i>0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,P(t)}void 0===t&&r.sort(y),M(r,i)}})(c,n,i),function(e,n,i){for(let r=1,s=e.length;r0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,P(t)}void 0===t&&s.sort(y),M(s,i)}}(c,n,i)}}(l),m(l),l}L.update=function(t){return m(t),t},L.nodeId=function(t){return arguments.length?(S="function"==typeof t?t:c(t),L):S},L.nodeAlign=function(t){return arguments.length?(w="function"==typeof t?t:c(t),L):w},L.nodeSort=function(e){return arguments.length?(t=e,L):t},L.nodeWidth=function(t){return arguments.length?(k=+t,L):k},L.nodePadding=function(t){return arguments.length?(v=b=+t,L):v},L.nodes=function(t){return arguments.length?(E="function"==typeof t?t:c(t),L):E},L.links=function(t){return arguments.length?(W="function"==typeof t?t:c(t),L):W},L.linkSort=function(t){return arguments.length?(e=t,L):e},L.size=function(t){return arguments.length?(n=i=0,r=+t[0],o=+t[1],L):[r-n,o-i]},L.extent=function(t){return arguments.length?(n=+t[0][0],r=+t[1][0],i=+t[0][1],o=+t[1][1],L):[[n,i],[r,o]]},L.iterations=function(t){return arguments.length?(A=+t,L):A};function M(t,e){let n=t.length>>1,r=t[n];T(t,r.y0-b,n-1,e),I(t,r.y1+b,n+1,e),T(t,o,t.length-1,e),I(t,i,0,e)}function I(t,e,n,i){for(;n1e-6&&(r.y0+=s,r.y1+=s),e=r.y1+b}}function T(t,e,n,i){for(;n>=0;--n){let r=t[n],s=(r.y1-e)*i;s>1e-6&&(r.y0-=s,r.y1-=s),e=r.y0-b}}function P({sourceLinks:t,targetLinks:n}){if(void 0===e){for(let{source:{sourceLinks:t}}of n)t.sort(f);for(let{target:{targetLinks:e}}of t)e.sort(u)}}return L})().nodeId(t=>t.id).nodeWidth(10).nodePadding(10+(V?15:0)).nodeAlign(K).extent([[0,0],[D,j]])(G);let X=(0,r.PKp)(r.K2I);$.append("g").attr("class","nodes").selectAll(".node").data(G.nodes).join("g").attr("class","node").attr("id",t=>(t.uid=q.next("node-")).id).attr("transform",function(t){return"translate("+t.x0+","+t.y0+")"}).attr("x",t=>t.x0).attr("y",t=>t.y0).append("rect").attr("height",t=>t.y1-t.y0).attr("width",t=>t.x1-t.x0).attr("fill",t=>X(t.id));let R=(0,i.eW)(({id:t,value:e})=>V?`${t} +${U}${Math.round(100*e)/100}${Y}`:t,"getText");$.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(G.nodes).join("text").attr("x",t=>t.x0(t.y1+t.y0)/2).attr("dy",`${V?"0":"0.35"}em`).attr("text-anchor",t=>t.x0(t.uid=q.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",t=>t.source.x1).attr("x2",t=>t.target.x0);t.append("stop").attr("offset","0%").attr("stop-color",t=>X(t.source.id)),t.append("stop").attr("offset","100%").attr("stop-color",t=>X(t.target.id))}switch(B){case"gradient":v=(0,i.eW)(t=>t.uid,"coloring");break;case"source":v=(0,i.eW)(t=>X(t.source.id),"coloring");break;case"target":v=(0,i.eW)(t=>X(t.target.id),"coloring");break;default:v=B}Z.append("path").attr("d",(function(t){var e=M,n=I,i=A,r=L,s=null;function o(){var o,l=E.call(arguments),h=e.apply(this,l),a=n.apply(this,l);if(!s&&(s=o=w()),t(s,+i.apply(this,(l[0]=h,l)),+r.apply(this,l),+i.apply(this,(l[0]=a,l)),+r.apply(this,l)),o)return s=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(i="function"==typeof t?t:W(+t),o):i},o.y=function(t){return arguments.length?(r="function"==typeof t?t:W(+t),o):r},o.context=function(t){return arguments.length?(s=null==t?null:t,o):s},o})(T).source(P).target(C)).attr("stroke",v).attr("stroke-width",t=>Math.max(1,t.width)),(0,i.j7)(void 0,$,0,z)},"draw"),Z=(0,i.eW)(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim(),"prepareTextForParsing"),B=N.parse.bind(N);N.parse=t=>B(Z(t));var H={parser:N,db:X,renderer:{draw:R}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/5823.0f393977.js b/pr-preview/pr-3/assets/js/5823.0f393977.js new file mode 100644 index 0000000..16b25c6 --- /dev/null +++ b/pr-preview/pr-3/assets/js/5823.0f393977.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5823"],{94641:function(n,t,r){r.d(t,{Z:()=>o});var e=r("79401");function u(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new e.Z;++t-1}},46592:function(n,t,r){r.d(t,{Z:function(){return e}});let e=function(n,t,r){for(var e=-1,u=null==n?0:n.length;++eR});var e=r("11395"),u=r("29227"),o=r("89774"),c=r("29919"),i=r("87074"),f=r("40038"),a=r("49307"),l=r("76177"),Z=r("524"),v=r("6630"),s=r("91095"),b=r("78982"),d=r("23302"),j=Object.prototype.hasOwnProperty;let p=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&j.call(n,"index")&&(r.index=n.index,r.input=n.input),r};var h=r("21914");let y=function(n,t){var r=t?(0,h.Z)(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)};var g=/\w*$/;let w=function(n){var t=new n.constructor(n.source,g.exec(n));return t.lastIndex=n.lastIndex,t};var A=r("3958"),_=A.Z?A.Z.prototype:void 0,O=_?_.valueOf:void 0,m=r("32025");let S=function(n,t,r){var e,u=n.constructor;switch(t){case"[object ArrayBuffer]":return(0,h.Z)(n);case"[object Boolean]":case"[object Date]":return new u(+n);case"[object DataView]":return y(n,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,m.Z)(n,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(n);case"[object RegExp]":return w(n);case"[object Symbol]":;return e=n,O?Object(O.call(e)):{}}};var k=r("62799"),E=r("31739"),x=r("25162"),I=r("75887"),U=r("44026"),B=r("74413"),C=B.Z&&B.Z.isMap,D=C?(0,U.Z)(C):function(n){return(0,I.Z)(n)&&"[object Map]"==(0,d.Z)(n)},F=r("58641"),M=B.Z&&B.Z.isSet,z=M?(0,U.Z)(M):function(n){return(0,I.Z)(n)&&"[object Set]"==(0,d.Z)(n)},L="[object Arguments]",P="[object Function]",$="[object Object]",N={};N[L]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[$]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[P]=N["[object WeakMap]"]=!1;let R=function n(t,r,j,h,y,g){var w,A=1&r,_=2&r,O=4&r;if(j&&(w=y?j(t,h,y,g):j(t)),void 0!==w)return w;if(!(0,F.Z)(t))return t;var m=(0,E.Z)(t);if(m){if(w=p(t),!A)return(0,l.Z)(t,w)}else{var I,U,B,C,M,R,V,G,W=(0,d.Z)(t),q=W==P||"[object GeneratorFunction]"==W;if((0,x.Z)(t))return(0,a.Z)(t,A);if(W==$||W==L||q&&!y){if(w=_||q?{}:(0,k.Z)(t),!A){;return _?(B=t,C=(I=w,U=t,I&&(0,c.Z)(U,(0,f.Z)(U),I)),(0,c.Z)(B,(0,v.Z)(B),C)):(V=t,G=(M=w,R=t,M&&(0,c.Z)(R,(0,i.Z)(R),M)),(0,c.Z)(V,(0,Z.Z)(V),G))}}else{if(!N[W])return y?t:{};w=S(t,W,A)}}g||(g=new e.Z);var H=g.get(t);if(H)return H;g.set(t,w),z(t)?t.forEach(function(e){w.add(n(e,r,j,e,t,g))}):D(t)&&t.forEach(function(e,u){w.set(u,n(e,r,j,u,t,g))});var J=O?_?b.Z:s.Z:_?f.Z:i.Z,K=m?void 0:J(t);return(0,u.Z)(K||t,function(e,u){K&&(e=t[u=e]),(0,o.Z)(w,u,n(e,r,j,u,t,g))}),w}},20869:function(n,t,r){r.d(t,{Z:()=>i});var e,u,o=r("50929"),c=r("71581");let i=(e=o.Z,function(n,t){if(null==n)return n;if(!(0,c.Z)(n))return e(n,t);for(var r=n.length,o=-1,i=Object(n);(u?o--:++oa});var e=r("293"),u=r("3958"),o=r("45988"),c=r("31739"),i=u.Z?u.Z.isConcatSpreadable:void 0;let f=function(n){return(0,c.Z)(n)||(0,o.Z)(n)||!!(i&&n&&n[i])},a=function n(t,r,u,o,c){var i=-1,a=t.length;for(u||(u=f),c||(c=[]);++i0&&u(l)?r>1?n(l,r-1,u,o,c):(0,e.Z)(c,l):!o&&(c[c.length]=l)}return c}},50929:function(n,t,r){r.d(t,{Z:function(){return o}});var e=r(45467),u=r(87074);let o=function(n,t){return n&&(0,e.Z)(n,t,u.Z)}},73722:function(n,t,r){r.d(t,{Z:function(){return o}});var e=r(50949),u=r(37706);let o=function(n,t){t=(0,e.Z)(t,n);for(var r=0,o=t.length;null!=n&&rc});var e=r("81208");let u=function(n){return n!=n},o=function(n,t,r){for(var e=r-1,u=n.length;++eW});var e=r("11395"),u=r("94641"),o=r("93130"),c=r("99976");let i=function(n,t,r,e,i,f){var a=1&r,l=n.length,Z=t.length;if(l!=Z&&!(a&&Z>l))return!1;var v=f.get(n),s=f.get(t);if(v&&s)return v==t&&s==n;var b=-1,d=!0,j=2&r?new u.Z:void 0;for(f.set(n,t),f.set(t,n);++bZ});var e=r("94641"),u=r("37479"),o=r("46592"),c=r("99976"),i=r("88521"),f=r("6446"),a=r("92840"),l=i.Z&&1/(0,a.Z)(new i.Z([,-0]))[1]==1/0?function(n){return new i.Z(n)}:f.Z;let Z=function(n,t,r){var i=-1,f=u.Z,Z=n.length,v=!0,s=[],b=s;if(r)v=!1,f=o.Z;else if(Z>=200){var d=t?null:l(n);if(d)return(0,a.Z)(d);v=!1,f=c.Z,b=new e.Z}else b=t?[]:s;n:for(;++is});var e,u,o,c=r("31739"),i=r("46699"),f=r("65269"),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g;var Z=(e=function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(a,function(n,r,e,u){t.push(e?u.replace(l,"$1"):r||n)}),t},o=(u=(0,f.Z)(e,function(n){return 500===o.size&&o.clear(),n})).cache,u),v=r("22501");let s=function(n,t){return(0,c.Z)(n)?n:(0,i.Z)(n,t)?[n]:Z((0,v.Z)(n))}},91095:function(n,t,r){r.d(t,{Z:function(){return c}});var e=r(78467),u=r(524),o=r(87074);let c=function(n){return(0,e.Z)(n,o.Z,u.Z)}},78982:function(n,t,r){r.d(t,{Z:function(){return c}});var e=r(78467),u=r(6630),o=r(40038);let c=function(n){return(0,e.Z)(n,o.Z,u.Z)}},524:function(n,t,r){r.d(t,{Z:function(){return i}});var e=r(87276),u=r(27e3),o=Object.prototype.propertyIsEnumerable,c=Object.getOwnPropertySymbols;let i=c?function(n){return null==n?[]:(n=Object(n),(0,e.Z)(c(n),function(t){return o.call(n,t)}))}:u.Z},6630:function(n,t,r){r.d(t,{Z:function(){return i}});var e=r(293),u=r(53754),o=r(524),c=r(27e3);let i=Object.getOwnPropertySymbols?function(n){for(var t=[];n;)(0,e.Z)(t,(0,o.Z)(n)),n=(0,u.Z)(n);return t}:c.Z},87825:function(n,t,r){r.d(t,{Z:function(){return a}});var e=r(50949),u=r(45988),o=r(31739),c=r(92383),i=r(49666),f=r(37706);let a=function(n,t,r){t=(0,e.Z)(t,n);for(var a=-1,l=t.length,Z=!1;++ao});let e=function(n,t){return null!=n&&t in Object(n)};var u=r("87825");let o=function(n,t){return null!=n&&(0,u.Z)(n,t,e)}},2147:function(n,t,r){r.d(t,{Z:function(){return o}});var e=r(65182),u=r(75887);let o=function(n){return"symbol"==typeof n||(0,u.Z)(n)&&"[object Symbol]"==(0,e.Z)(n)}},61925:function(n,t,r){r.d(t,{Z:function(){return e}});let e=function(n){return void 0===n}},87074:function(n,t,r){r.d(t,{Z:function(){return c}});var e=r(12895),u=r(22769),o=r(71581);let c=function(n){return(0,o.Z)(n)?(0,e.Z)(n):(0,u.Z)(n)}},6446:function(n,t,r){r.d(t,{Z:function(){return e}});let e=function(){}},81748:function(n,t,r){r.d(t,{Z:()=>f});let e=function(n,t,r,e){var u=-1,o=null==n?0:n.length;for(e&&o&&(r=n[++u]);++uZ});var e=r("3958"),u=r("96248"),o=r("31739"),c=r("2147"),i=1/0,f=e.Z?e.Z.prototype:void 0,a=f?f.toString:void 0;let l=function n(t){if("string"==typeof t)return t;if((0,o.Z)(t))return(0,u.Z)(t,n)+"";if((0,c.Z)(t))return a?a.call(t):"";var r=t+"";return"0"==r&&1/t==-i?"-0":r},Z=function(n){return null==n?"":l(n)}},96433:function(n,t,r){r.d(t,{Z:()=>o});var e=r("96248"),u=r("87074");let o=function(n){var t,r;return null==n?[]:(t=n,r=(0,u.Z)(n),(0,e.Z)(r,function(n){return t[n]}))}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/5e95c892.ab8a9d20.js b/pr-preview/pr-3/assets/js/5e95c892.ab8a9d20.js new file mode 100644 index 0000000..f3a4c06 --- /dev/null +++ b/pr-preview/pr-3/assets/js/5e95c892.ab8a9d20.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3432"],{71359:function(e,r,n){n.r(r),n.d(r,{default:function(){return p}});var s=n(85893);n(67294);var u=n(67026),c=n(14713),t=n(84681),a=n(18790),i=n(37647);function p(e){return(0,s.jsx)(c.FG,{className:(0,u.Z)(t.k.wrapper.docsPages),children:(0,s.jsx)(i.Z,{children:(0,a.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/6059.ef52e876.js b/pr-preview/pr-3/assets/js/6059.ef52e876.js new file mode 100644 index 0000000..b8030d9 --- /dev/null +++ b/pr-preview/pr-3/assets/js/6059.ef52e876.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6059"],{29050:function(r,e,s){s.d(e,{diagram:function(){return l}});var a=s(91040);s(10626),s(88984),s(33071),s(28162),s(16302),s(80587),s(4511),s(92719),s(7690);var n=s(5995),l={parser:a.P0,db:a.pl,renderer:a.b0,styles:a.Ee,init:(0,n.eW)(r=>{!r.class&&(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.pl.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/61e401e3.e8faf5f7.js b/pr-preview/pr-3/assets/js/61e401e3.e8faf5f7.js new file mode 100644 index 0000000..5baa383 --- /dev/null +++ b/pr-preview/pr-3/assets/js/61e401e3.e8faf5f7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2830"],{78911:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Data Types","description":"Data Types","slug":"/category/data-types","permalink":"/nr-pies/pr-preview/pr-3/docs/category/data-types","sidebar":"docSidebar","navigation":{"previous":{"title":"Formatting","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/formatting"},"next":{"title":"Code","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/code"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/6211.1fa42cab.js b/pr-preview/pr-3/assets/js/6211.1fa42cab.js new file mode 100644 index 0000000..5a350bb --- /dev/null +++ b/pr-preview/pr-3/assets/js/6211.1fa42cab.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6211"],{58446:function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{!o&&null!=n.return&&n.return()}finally{if(s)throw a}}}}var d,p,f,g,v,y,b="undefined"==typeof window?null:window,x=b?b.navigator:null;b&&b.document;var w=r(""),E=r({}),k=r(function(){}),C="undefined"==typeof HTMLElement?"undefined":r(HTMLElement),S=function(e){return e&&e.instanceString&&T(e.instanceString)?e.instanceString():null},D=function(e){return null!=e&&r(e)==w},T=function(e){return null!=e&&r(e)===k},P=function(e){return!A(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},_=function(e){return null!=e&&r(e)===E&&!P(e)&&e.constructor===Object},M=function(e){return null!=e&&r(e)===r(1)&&!isNaN(e)},B=function(e){if("undefined"!==C)return null!=e&&e instanceof HTMLElement},A=function(e){return N(e)||I(e)},N=function(e){return"collection"===S(e)&&e._private.single},I=function(e){return"collection"===S(e)&&!e._private.single},O=function(e){return"core"===S(e)},L=function(e){return"stylesheet"===S(e)},R=function(e){return null==e||!!(""===e||e.match(/^\s+$/))||!1},z=function(e){var t;return null!=(t=e)&&r(t)===E&&T(e.then)},V=function(e,t){!t&&(t=function(){if(1==arguments.length)return arguments[0];if(0==arguments.length)return"undefined";for(var e=[],t=0;tt?1:0},Z=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n,r,i,a,o,s,l,u,c=RegExp("^"+G+"$").exec(e);if(c){if((r=parseInt(c[1]))<0?r=(360- -1*r%360)%360:r>360&&(r%=360),r/=360,(i=parseFloat(c[2]))<0||i>100)return;if(i/=100,(a=parseFloat(c[3]))<0||a>100)return;if(a/=100,void 0!==(o=c[4])&&((o=parseFloat(o))<0||o>1))return;if(0===i)s=l=u=Math.round(255*a);else{var h=a<.5?a*(1+i):a+i-a*i,d=2*a-h;s=Math.round(255*t(d,h,r+1/3)),l=Math.round(255*t(d,h,r)),u=Math.round(255*t(d,h,r-1/3))}n=[s,l,u,o]}return n},J=function(e){var t,n=RegExp("^"+W+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var a=n[i];if("%"===a[a.length-1]&&(r[i]=!0),a=parseFloat(a),r[i]&&(a=a/100*255),a<0||a>255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},ee=function(e){return(P(e)?e:null)||et[e.toLowerCase()]||$(e)||J(e)||Q(e)},et={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]},en=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&r>=a}function g(){var e,n,r,i,o=eu();if(f(o))return v(o);s=setTimeout(g,(n=(e=o)-l,r=e-u,i=t-n,h?eM(i,a-r):i))}function v(e){return(s=void 0,d&&r)?p(e):(r=i=void 0,o)}function y(){var e,n=eu(),a=f(n);if(r=arguments,i=this,l=n,a){if(void 0===s){;return u=e=l,s=setTimeout(g,t),c?p(e):o}if(h)return clearTimeout(s),s=setTimeout(g,t),p(l)}return void 0===s&&(s=setTimeout(g,t)),o}return y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v(eu())},y},eA=b?b.performance:null,eN=eA&&eA.now?function(){return eA.now()}:function(){return Date.now()},eI=function(){if(b){if(b.requestAnimationFrame)return function(e){b.requestAnimationFrame(e)};if(b.mozRequestAnimationFrame)return function(e){b.mozRequestAnimationFrame(e)};else if(b.webkitRequestAnimationFrame)return function(e){b.webkitRequestAnimationFrame(e)};else if(b.msRequestAnimationFrame)return function(e){b.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout(function(){e(eN())},1e3/60)}}(),eO=function(e){return eI(e)},eL=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261,r=n;!(t=e.next()).done;){;r=65599*r+t.value|0}return r},eR=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261;return 65599*t+e|0},ez=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5381;return(t<<5)+t+e|0},eV=function(e){return 2097152*e[0]+e[1]},eF=function(e,t){return[eR(e[0],t[0]),ez(e[1],t[1])]},ej=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return eL({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},e8=function(e){e.splice(0,e.length)},e7=function(e,t){for(var n=0;n2)||void 0===arguments[2]||arguments[2];if(void 0===e||void 0===t||!O(e)){eJ("An element must have a core reference and parameters set");return}var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"!==r&&"edges"!==r){eJ("An element must be of type `nodes` or `edges`; you specified `"+r+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new ta,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];P(t.classes)?l=t.classes:D(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw Error("lo must be non-negative");for(null==a&&(a=e.length);io(t,e[s=r((i+a)/2)])?a=s:i=s+1;return[].splice.apply(e,[i,i-i].concat(t)),t},o=function(e,t,r){return null==r&&(r=n),e.push(t),f(e,0,e.length-1,r)},a=function(e,t){var r,i;return null==t&&(t=n),r=e.pop(),e.length?(i=e[0],e[0]=r,g(e,0,t)):i=r,i},l=function(e,t,r){var i;return null==r&&(r=n),i=e[0],e[0]=t,g(e,0,r),i},s=function(e,t,r){var i;return null==r&&(r=n),e.length&&0>r(e[0],t)&&(t=(i=[e[0],t])[0],e[0]=i[1],g(e,0,r)),t},i=function(e,t){var i,a,o,s,l,u;for(null==t&&(t=n),s=(function(){u=[];for(var t=0,n=r(e.length/2);0<=n?tn;0<=n?t++:t--)u.push(t);return u}).apply(this).reverse(),l=[],a=0,o=s.length;ar(o=f[h],s)&&(u(l,o,0,null,r),l.pop(),s=l[l.length-1]);return l}for(i(e,r),v=[],d=0,g=c(t,e.length);0<=g?dg;0<=g?++d:--d)v.push(a(e,r));return v},f=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t;){if(0>i(a,o=e[s=r-1>>1])){e[r]=o,r=s;continue}break}return e[r]=a},g=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;ir(e[i],e[s]))&&(i=s),e[t]=e[i],i=2*(t=i)+1;return e[t]=o,f(e,l,t,r)},t=function(){function e(e){this.cmp=null!=e?e:n,this.nodes=[]}return e.push=o,e.pop=a,e.replace=l,e.pushpop=s,e.heapify=i,e.updateItem=p,e.nlargest=h,e.nsmallest=d,e.prototype.push=function(e){return o(this.nodes,e,this.cmp)},e.prototype.pop=function(){return a(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return -1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return l(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return s(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return i(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return p(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return(t=new e).nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),v=0,y=function(){return t},e.exports=y()}).call(ea)}(oH={exports:{}},oH.exports),oH.exports),tc=e9({root:null,weight:function(e){return 1},directed:!1}),th=e9({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),td=e9({weight:function(e){return 1},directed:!1}),tp=e9({weight:function(e){return 1},directed:!1,root:null}),tf=Math.sqrt(2),tg=function(e,t,n){0===n.length&&eJ("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n.length-1;l>=0;l--){var u=n[l],c=u[1],h=u[2];(t[c]===o&&t[h]===s||t[c]===s&&t[h]===o)&&n.splice(l,1)}for(var d=0;dr;)t=tg(Math.floor(Math.random()*t.length),e,t),n--;return t},ty=function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},tm=function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},tb=function(e){return{x:e[0],y:e[1]}},tx=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];r?e=e.slice(t,n):(n0&&e.splice(0,t));for(var o=0,s=e.length-1;s>=0;s--){var l=e[s];a?!isFinite(l)&&(e[s]=-1/0,o++):e.splice(s,1)}i&&e.sort(function(e,t){return e-t});var u=e.length,c=Math.floor(u/2);return u%2!=0?e[c+1+o]:(e[c-1+o]+e[c+o])/2},tC=function(e,t){return Math.atan2(t,e)-Math.PI/2},tS=Math.log2||function(e){return Math.log(e)/Math.log(2)},tD=function(e){return e>0?1:e<0?-1:0},tT=function(e,t){return Math.sqrt(tP(e,t))},tP=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},t_=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},tO=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},tL=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},tR=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},tz=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tV=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var o=l(a,4);t=o[0],n=o[1],r=o[2],i=o[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tF=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},tj=function(e,t){return!(e.x1>t.x2)&&!(t.x1>e.x2)&&!(e.x2t.y2)&&!(t.y1>e.y2)&&!0},tq=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},tX=function(e,t){return tq(e,t.x1,t.y1)&&tq(e,t.x2,t.y2)},tY=function(e,t,n,r,i,a,o){var s,l,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"auto",c="auto"===u?nr(i,a):u,h=i/2,d=a/2,p=(c=Math.min(c,h,d))!==h,f=c!==d;if(p){var g=n-h+c-o,v=r-d-o,y=n+h-c+o;if((s=t9(e,t,n,r,g,v,y,v,!1)).length>0)return s}if(f){var b=n+h+o,x=r-d+c-o,w=r+d-c+o;if((s=t9(e,t,n,r,b,x,b,w,!1)).length>0)return s}if(p){var E=n-h+c-o,k=r+d+o,C=n+h-c+o;if((s=t9(e,t,n,r,E,k,C,k,!1)).length>0)return s}if(f){var S=n-h-o,D=r-d+c-o,T=r+d-c+o;if((s=t9(e,t,n,r,S,D,S,T,!1)).length>0)return s}var P=n-h+c,_=r-d+c;if((l=t3(e,t,n,r,P,_,c+o)).length>0&&l[0]<=P&&l[1]<=_)return[l[0],l[1]];var M=n+h-c,B=r-d+c;if((l=t3(e,t,n,r,M,B,c+o)).length>0&&l[0]>=M&&l[1]<=B)return[l[0],l[1]];var A=n+h-c,N=r+d-c;if((l=t3(e,t,n,r,A,N,c+o)).length>0&&l[0]>=A&&l[1]>=N)return[l[0],l[1]];var I=n-h+c,O=r+d-c;return(l=t3(e,t,n,r,I,O,c+o)).length>0&&l[0]<=I&&l[1]>=O?[l[0],l[1]]:[]},tW=function(e,t,n,r,i,a,o){var s=Math.min(n,i),l=Math.max(n,i),u=Math.min(r,a),c=Math.max(r,a);return s-o<=e&&e<=l+o&&u-o<=t&&t<=c+o},tH=function(e,t,n,r,i,a,o,s,l){var u={x1:Math.min(n,o,i)-l,x2:Math.max(n,o,i)+l,y1:Math.min(r,s,a)-l,y2:Math.max(r,s,a)+l};return!(eu.x2)&&!(tu.y2)&&!0},tG=function(e,t,n,r){var i=t*t-4*e*(n-=r);if(i<0)return[];var a=Math.sqrt(i),o=2*e;return[(-t+a)/o,(-t-a)/o]},tU=function(e,t,n,r,i){var a,o,s,l,u,c,h,d;if(0===e&&(e=1e-5),t/=e,n/=e,r/=e,a=(o=(3*n-t*t)/9)*o*o+(s=(-(27*r)+t*(9*n-t*t*2))/54)*s,i[1]=0,h=t/3,a>0){u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=(c=s-Math.sqrt(a))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+u+c,h+=(u+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+u)/2,i[3]=h,i[5]=-h;return}if(i[5]=i[3]=0,0===a){d=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=-h+2*d,i[4]=i[2]=-(d+h);return}l=Math.acos(s/Math.sqrt(l=(o=-o)*o*o)),d=2*Math.sqrt(o),i[0]=-h+d*Math.cos(l/3),i[2]=-h+d*Math.cos((l+2*Math.PI)/3),i[4]=-h+d*Math.cos((l+4*Math.PI)/3)},tK=function(e,t,n,r,i,a,o,s){var l,u,c=[];tU(1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s,9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,c);for(var h=[],d=0;d<6;d+=2)1e-7>Math.abs(c[d+1])&&c[d]>=0&&c[d]<=1&&h.push(c[d]);h.push(1),h.push(0);for(var p=-1,f=0;f=0?ul?(e-i)*(e-i)+(t-a)*(t-a):u-h},t$=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e)||!(e>=a))&&(!(r<=e)||!(e<=a)))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0&&!0},tQ=function(e,t,n,r,i,a,o,s,l){var u,c,h=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 d=Math.cos(-u),p=Math.sin(-u),f=0;f0?t0(t1(h,-l)):h)},tJ=function(e,t,n,r,i,a,o,s){for(var l=Array(2*n.length),u=0;u=0&&f<=1&&v.push(f),g>=0&&g<=1&&v.push(g),0===v.length)return[];var y=v[0]*s[0]+e,b=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,b]:[y,b,v[1]*s[0]+e,v[1]*s[1]+t]:[y,b]},t4=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},t9=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,f=s-a,g=h*d-f*u,v=c*d-p*u,y=f*c-h*p;if(0!==y){var b=g/y,x=v/y,w=-.001,E=1.001;return -.001<=b&&b<=E&&w<=x&&x<=E?[e+b*c,t+b*p]:l?[e+b*c,t+b*p]:[]}return 0!==g&&0!==v?[]:t4(e,n,o)===o?[o,s]:t4(e,n,i)===i?[i,a]:t4(i,o,n)===n?[n,r]:[]},t6=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,f=[],g=Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0?t0(t1(g,-s)):g}else u=n;for(var b=0;b2){for(var p=[c[0],c[1]],f=Math.pow(p[0]-e,2)+Math.pow(p[1]-t,2),g=1;gu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(y)[0]:y.edgesTo(b)[0]);h[y=y.id()]>h[g]+w&&(h[y]=h[g]+w,0>d.nodes.indexOf(y)?d.push(y):d.updateItem(y),u[y]=0,l[y]=[]),h[y]==h[g]+w&&(u[y]=u[y]+u[g],l[y].push(g))}else for(var E=0;E0;){for(var D=n.pop(),T=0;T0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i},nk=function(e,t){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:nD,s=r,l=0;l=2?nA(e,t,n,0,n_,nM):nA(e,t,n,0,nP)},squaredEuclidean:function(e,t,n){return nA(e,t,n,0,n_)},manhattan:function(e,t,n){return nA(e,t,n,0,nP)},max:function(e,t,n){return nA(e,t,n,-1/0,nB)}};function nI(e,t,n,r,i,a){var o;return(o=T(e)?e:nN[e]||nN.euclidean,0===t&&T(e))?o(i,a):o(t,n,r,i,a)}nN["squared-euclidean"]=nN.squaredEuclidean,nN.squaredeuclidean=nN.squaredEuclidean;var nO=e9({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),nL=function(e){return nO(e)},nR=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)};return nI(e,r.length,a,function(e){return r[e](t)},n,t)},nz=function(e,t,n){for(var r=n.length,i=Array(r),a=Array(r),o=Array(t),s=null,l=0;ln)return!1;return!0},nq=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var f=t[s],g=t[r[s]];o="dendrogram"===i.mode?{left:f,right:g,key:f.key}:{value:f.value.concat(g.value),key:f.key},e[f.index]=o,e.splice(g.index,1),t[f.key]=o;for(var v=0;vn[g.key][y.key]&&(a=n[g.key][y.key])):"max"===i.linkage?(a=n[f.key][y.key],n[f.key][y.key]0&&r.push(i);return r},n8=function(e,t,n){for(var r=[],i=0;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;ul&&(s=u,l=c)}n[i]=a[s]}return r=n8(e,t,n)},re=function(e){for(var t,n,r,i,a,o,s,l=this.cy(),u=this.nodes(),c=n3(e),h={},d=0;d=T?(P=T,T=M,_=B):M>P&&(P=M);for(var A=0;A0?1:0;C[s%c.minIterations*t+z]=V,R+=V}if(R>0&&(s>=c.minIterations-1||s==c.maxIterations-1)){for(var F=0,j=0;j1)}});var u=Object.keys(t).filter(function(e){return t[e].cutVertex}).map(function(t){return e.getElementById(t)});return{cut:e.spawn(u),components:i}},rr=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach(function(e){var n=e.target().id();n!==s&&(!(n in t)&&o(n),!t[n].explored&&(t[s].low=Math.min(t[s].low,t[n].low)))}),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach(function(e){if(e.isNode()){var n=e.id();!(n in t)&&o(n)}}),{cut:a,components:r}},ri={};[tl,{dijkstra:function(e){if(!_(e)){var t=arguments;e={root:t[0],weight:t[1],directed:t[2]}}var n=tc(e),r=n.root,i=n.weight,a=n.directed,o=this,s=D(r)?this.filter(r)[0]:r[0],l={},u={},c={},h=this.byGroup(),d=h.nodes,p=h.edges;p.unmergeBy(function(e){return e.isLoop()});for(var f=function(e){return l[e.id()]},g=new tu(function(e,t){return f(e)-f(t)}),v=0;v0;){var b=g.pop(),x=f(b);if(c[b.id()]=x,x!==1/0)for(var w=b.neighborhood().intersect(d),E=0;E0)for(n.unshift(t);u[i];){var a=u[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},{kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=Array(i),o=function(e){for(var t=0;t0;){if(n=(t=g.pop()).id(),v.delete(n),w++,n===h){for(var E=[],k=o,C=h,S=b[C];E.unshift(k),null!=S&&E.unshift(S),null!=(k=y[C]);){;S=b[C=k.id()]}return{found:!0,distance:d[n],path:this.spawn(E),steps:w}}f[n]=!0;for(var D=t._private.edges,T=0;TS&&(d[C]=S,g[C]=k,v[C]=b),!i){var T=k*l+E;!i&&d[T]>S&&(d[T]=S,g[T]=E,v[T]=b)}}}for(var P=0;P1&&void 0!==arguments[1]?arguments[1]:a,r=y(e),i=[],s=r;;){if(null==s)return t.spawn();var l=v(s),u=l.edge,c=l.pred;if(i.unshift(s[0]),s.same(n)&&i.length>0)break;null!=u&&i.unshift(u),s=c}return o.spawn(i)},hasNegativeWeightCycle:p,negativeWeightCycles:f}}},{kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy(function(e){return e.isLoop()});var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/tf);if(i<2){eJ("At least 2 nodes are required for Karger-Stein algorithm");return}for(var l=[],u=0;u1||o>1)&&(l=!0),u[r]=[],e.outgoers().forEach(function(e){e.isEdge()&&u[r].push(e.id())})}else c[r]=[void 0,e.target().id()]}):this.forEach(function(e){var r=e.id();e.isNode()?(e.degree(!0)%2&&(t?n?l=!0:n=r:t=r),u[r]=[],e.connectedEdges().forEach(function(e){return u[r].push(e.id())})):c[r]=[e.source().id(),e.target().id()]});var h={found:!1,trail:void 0};if(l)return h;if(n&&t){if(s){if(r&&n!=r)return h;r=n}else{if(r&&n!=r&&t!=r)return h;!r&&(r=n)}}else!r&&(r=this[0].id());var d=function(e){for(var t,n,r,i=e,a=[e];u[i].length;)n=c[t=u[i].shift()][0],i!=(r=c[t][1])?(u[r]=u[r].filter(function(e){return e!=t}),i=r):!s&&i!=n&&(u[n]=u[n].filter(function(e){return e!=t}),i=n),a.unshift(t),a.unshift(i);return a},p=[],f=[];for(f=d(r);1!=f.length;)0==u[f[0]].length?(p.unshift(this.getElementById(f.shift())),p.unshift(this.getElementById(f.shift()))):f=d(f.shift()).concat(f);for(var g in p.unshift(this.getElementById(f.shift())),u)if(u[g].length)return h;return h.found=!0,h.trail=this.spawn(p,!0),h}},{hopcroftTarjanBiconnected:rn,htbc:rn,htb:rn,hopcroftTarjanBiconnectedComponents:rn},{tarjanStronglyConnected:rr,tsc:rr,tscc:rr,tarjanStronglyConnectedComponents:rr}].forEach(function(e){Z(ri,e)});var ra=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};ra.prototype={fulfill:function(e){return ro(this,1,"fulfillValue",e)},reject:function(e){return ro(this,2,"rejectReason",e)},then:function(e,t){var n=new ra;return this.onFulfilled.push(ru(e,n,"fulfill")),this.onRejected.push(ru(t,n,"reject")),rs(this),n.proxy}};var ro=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,rs(e)),e},rs=function(e){1===e.state?rl(e,"onFulfilled",e.fulfillValue):2===e.state&&rl(e,"onRejected",e.rejectReason)},rl=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e-1},rR.prototype.set=function(e,t){var n=this.__data__,r=rO(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var rz=r_(el,"Map"),rV=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},rF=function(e,t){var n=e.__data__;return rV(t)?n["string"==typeof t?"string":"hash"]:n.map};function rj(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t0&&this.spawn(n).updateStyle().emit("class"),this},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){!P(e)&&(e=e.match(/\S+/g)||[]);for(var n=void 0===t,r=[],i=0,a=this.length;i0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},t),n}};ii.className=ii.classNames=ii.classes;var ia={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:Y,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};ia.variable="(?:[\\w-.]|(?:\\\\"+ia.metaChar+"))+",ia.className="(?:[\\w-]|(?:\\\\"+ia.metaChar+"))+",ia.value=ia.string+"|"+ia.number,ia.id=ia.variable,!function(){var e,t,n;for(n=0,e=ia.comparatorOp.split("|");n=0)&&"="!==t)ia.comparatorOp+="|\\!"+t}}();var io=function(){return{checks:[]}},is={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},il=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(e,t){var n;return n=e.selector,-1*K(n,t.selector)}),iu=function(){for(var e,t={},n=0;n=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0&&l.edgeCount>0)return e1("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(l.edgeCount>1)return e1("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===l.edgeCount&&e1("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return D(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(r,a){var o=r.type,s=r.value;switch(o){case is.GROUP:var l=e(s);return l.substring(0,l.length-1);case is.DATA_COMPARE:return"["+r.field+n(e(r.operator))+t(s)+"]";case is.DATA_BOOL:var u=r.operator,c=r.field;return"["+e(u)+c+"]";case is.DATA_EXIST:return"["+r.field+"]";case is.META_COMPARE:var h=r.operator;return"[["+r.field+n(e(h))+t(s)+"]]";case is.STATE:return s;case is.ID:return"#"+s;case is.CLASS:return"."+s;case is.PARENT:case is.CHILD:return i(r.parent,a)+n(">")+i(r.child,a);case is.ANCESTOR:case is.DESCENDANT:return i(r.ancestor,a)+" "+i(r.descendant,a);case is.COMPOUND_SPLIT:var d=i(r.left,a),p=i(r.subject,a),f=i(r.right,a);return d+(d.length>0?" ":"")+p+f;case is.TRUE:return""}},i=function(e,t){return e.checks.reduce(function(n,i,a){return n+(t===e&&0===a?"$":"")+r(i,t)},"")},a="",o=0;o1&&o0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function iP(e,t,n){if(n.isParent()){for(var r=n._private.children,i=0;i1)||void 0===arguments[1]||arguments[1];return iT(this,e,t,iP)},iD.forEachUp=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return iT(this,e,t,i_)},iD.forEachUpAndDown=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return iT(this,e,t,iM)},iD.ancestors=iD.parents,(o$=oQ={data:it.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:it.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:it.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:it.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:it.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:it.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=o$.data,o$.removeAttr=o$.removeData;var iB={};function iA(e){return function(t){if(void 0===t&&(t=!0),0===this.length)return;if(!(!this.isNode()||this.removed())){for(var n=0,r=this[0],i=r._private.edges,a=0;at}),minIndegree:iN("indegree",function(e,t){return et}),minOutdegree:iN("outdegree",function(e,t){return et})}),Z(iB,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0;c&&(u=u[0]);var h=c?u.position():{x:0,y:0};void 0!==t?l.position(e,t+h[e]):void 0!==i&&l.position({x:i.x+h.x,y:i.y+h.y})}else{var d=n.position(),p=o?n.parent():null,f=p&&p.length>0;f&&(p=p[0]);var g=f?p.position():{x:0,y:0};return(i={x:d.x-g.x,y:d.y-g.y},void 0===e)?i:i[e]}}else if(!a)return;return this}}).modelPosition=oJ.point=oJ.position,oJ.modelPositions=oJ.points=oJ.positions,oJ.renderedPoint=oJ.renderedPosition,oJ.relativePoint=oJ.relativePosition;o1=o2={},o2.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},o2.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp(function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,!e&&t.emitAndNotify("bounds")}}),this):this},o2.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes()||!e&&t.batching())return this;for(var n=0;n0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,f=y(i.height.val-a.h,u,c),g=f.biasDiff,v=f.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"===n.units)switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}else if("px"===n.units)return n.pfValue;else return 0}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-g+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}(r),!t.batching()&&(i.compoundBoundsClean=!0))}return this};var iL=function(e){return e===1/0||e===-1/0?0:e},iR=function(e,t,n,r,i){if(r-t!=0&&i-n!=0&&null!=t&&null!=n&&null!=r&&null!=i)e.x1=te.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},iz=function(e,t){return null==t?e:iR(e,t.x1,t.y1,t.x2,t.y2)},iV=function(e,t,n){return te(e,t,n)},iF=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,tz(u,1),iR(e,u.x1,u.y1,u.x2,u.y2)}}},ij=function(e,t,n){if(!t.cy().headless()){a=n?n+"-":"";var r=t._private,i=r.rstyle;if(t.pstyle(a+"label").strValue){var a,o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=iV(i,"labelWidth",n),p=iV(i,"labelHeight",n),f=iV(i,"labelX",n),g=iV(i,"labelY",n),v=t.pstyle(a+"text-margin-x").pfValue,y=t.pstyle(a+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle(a+"text-rotation"),w=t.pstyle("text-outline-width").pfValue,E=t.pstyle("text-border-width").pfValue/2,k=t.pstyle("text-background-padding").pfValue,C=d/2,S=p/2;if(b)o=f-C,s=f+C,l=g-S,u=g+S;else{switch(c.value){case"left":o=f-d,s=f;break;case"center":o=f-C,s=f+C;break;case"right":o=f,s=f+d}switch(h.value){case"top":l=g-p,u=g;break;case"center":l=g-S,u=g+S;break;case"bottom":l=g,u=g+p}}o+=v-Math.max(w,E)-k-2,s+=v+Math.max(w,E)+k+2,l+=y-Math.max(w,E)-k-2,u+=y+Math.max(w,E)+k+2;var D=n||"main",T=r.labelBounds,P=T[D]=T[D]||{};P.x1=o,P.y1=l,P.x2=s,P.y2=u,P.w=s-o,P.h=u-l;var _=b&&"autorotate"===x.strValue,M=null!=x.pfValue&&0!==x.pfValue;if(_||M){var B=_?iV(r.rstyle,"labelAngle",n):x.pfValue,A=Math.cos(B),N=Math.sin(B),I=(o+s)/2,O=(l+u)/2;if(!b){switch(c.value){case"left":I=s;break;case"right":I=o}switch(h.value){case"top":O=u;break;case"bottom":O=l}}var L=function(e,t){return{x:(e-=I)*A-(t-=O)*N+I,y:e*N+t*A+O}},R=L(o,l),z=L(o,u),V=L(s,l),F=L(s,u);o=Math.min(R.x,z.x,V.x,F.x),s=Math.max(R.x,z.x,V.x,F.x),l=Math.min(R.y,z.y,V.y,F.y),u=Math.max(R.y,z.y,V.y,F.y)}var j=D+"Rot",q=T[j]=T[j]||{};q.x1=o,q.y1=l,q.x2=s,q.y2=u,q.w=s-o,q.h=u-l,iR(e,o,l,s,u),iR(r.labelBounds.all,o,l,s,u)}return e}},iq=function(e,t){if(!t.cy().headless()){var n=t.pstyle("outline-opacity").value,r=t.pstyle("outline-width").value;if(n>0&&r>0){var i=t.pstyle("outline-offset").value,a=t.pstyle("shape").value,o=r+i,s=(e.w+2*o)/e.w,l=(e.h+2*o)/e.h,u=0;["diamond","pentagon","round-triangle"].includes(a)?(s=(e.w+2.4*o)/e.w,u=-o/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(a)?s=(e.w+2.4*o)/e.w:"star"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.6*o)/e.h,u=-o/3.8):"triangle"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.4*o)/e.h,u=-o/1.4):"vee"===a&&(s=(e.w+4.4*o)/e.w,l=(e.h+3.8*o)/e.h,u=-(.5*o));var c=e.h*l-e.h,h=e.w*s-e.w;if(tV(e,[Math.ceil(c/2),Math.ceil(h/2)]),0!==u){var d,p,f,g=(d=e,p=0,f=u,{x1:d.x1+0,x2:d.x2+p,y1:d.y1+f,y2:d.y2+f,w:d.w,h:d.h});tL(e,g)}}}},iX=function(e,t){var n=e._private.cy,r=n.styleEnabled(),i=n.headless(),a=tI(),o=e._private,s=e.isNode(),l=e.isEdge(),u=o.rstyle,c=s&&r?e.pstyle("bounds-expansion").pfValue:[0],h=function(e){return"none"!==e.pstyle("display").value},d=!r||h(e)&&(!l||h(e.source())&&h(e.target()));if(d){var p=0,f=0;r&&t.includeOverlays&&0!==(p=e.pstyle("overlay-opacity").value)&&(f=e.pstyle("overlay-padding").value);var g=0,v=0;r&&t.includeUnderlays&&0!==(g=e.pstyle("underlay-opacity").value)&&(v=e.pstyle("underlay-padding").value);var y=Math.max(f,v),b=0,x=0;if(r&&(x=(b=e.pstyle("width").pfValue)/2),s&&t.includeNodes){var w=e.position();P=w.x,_=w.y;var E=e.outerWidth()/2,k=e.outerHeight()/2;C=P-E,S=P+E,iR(a,C,D=_-k,S,T=_+k),r&&t.includeOutlines&&iq(a,e)}else if(l&&t.includeEdges){if(r&&!i){var C,S,D,T,P,_,M,B=e.pstyle("curve-style").strValue;if(C=Math.min(u.srcX,u.midX,u.tgtX),S=Math.max(u.srcX,u.midX,u.tgtX),D=Math.min(u.srcY,u.midY,u.tgtY),T=Math.max(u.srcY,u.midY,u.tgtY),C-=x,S+=x,iR(a,C,D-=x,S,T+=x),"haystack"===B){var A=u.haystackPts;if(A&&2===A.length){if(C=A[0].x,D=A[0].y,S=A[1].x,T=A[1].y,C>S){var N=C;C=S,S=N}if(D>T){var I=D;D=T,T=I}iR(a,C-x,D-x,S+x,T+x)}}else if("bezier"===B||"unbundled-bezier"===B||B.endsWith("segments")||B.endsWith("taxi")){switch(B){case"bezier":case"unbundled-bezier":M=u.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":M=u.linePts}if(null!=M)for(var O=0;OS){var V=C;C=S,S=V}if(D>T){var F=D;D=T,T=F}C-=x,S+=x,iR(a,C,D-=x,S,T+=x)}}if(r&&t.includeEdges&&l&&(iF(a,e,"mid-source"),iF(a,e,"mid-target"),iF(a,e,"source"),iF(a,e,"target")),r&&"yes"===e.pstyle("ghost").value){var j=e.pstyle("ghost-offset-x").pfValue,q=e.pstyle("ghost-offset-y").pfValue;iR(a,a.x1+j,a.y1+q,a.x2+j,a.y2+q)}var X=o.bodyBounds=o.bodyBounds||{};tF(X,a),tV(X,c),tz(X,1),r&&(C=a.x1,S=a.x2,D=a.y1,T=a.y2,iR(a,C-y,D-y,S+y,T+y));var Y=o.overlayBounds=o.overlayBounds||{};tF(Y,a),tV(Y,c),tz(Y,1);var W=o.labelBounds=o.labelBounds||{};null!=W.all?tO(W.all):W.all=tI(),r&&t.includeLabels&&(t.includeMainLabels&&ij(a,e,null),l&&(t.includeSourceLabels&&ij(a,e,"source"),t.includeTargetLabels&&ij(a,e,"target")))}return a.x1=iL(a.x1),a.y1=iL(a.y1),a.x2=iL(a.x2),a.y2=iL(a.y2),a.w=iL(a.x2-a.x1),a.h=iL(a.y2-a.y1),a.w>0&&a.h>0&&d&&(tV(a,c),tz(a,1)),a},iY=function(e){var t,n=0,r=function(e){return(e?1:0)<0&&void 0!==arguments[0]?arguments[0]:i8,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},ae.removeAllListeners=function(){return this.removeListener("*")},ae.emit=ae.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,!P(t)&&(t=[t]),ar(this,function(e,a){null!=n&&(i=(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}]).length);for(var o=0;o1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&D(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=0;rr&&(r=o,n=a)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=0;i=0&&i1)||void 0===arguments[1]||arguments[1],n=this[0],r=n.cy();if(!!r.styleEnabled()){if(n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}}},numericStyle:function(e){var t=this[0];if(!!t.cy().styleEnabled()){if(t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}}},numericStyleUnits:function(e){var t=this[0];if(!!t.cy().styleEnabled()){if(t)return t.pstyle(e).units}},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];if(n)return t.style().getRenderedStyle(n,e)},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(_(e))r.applyBypass(this,e,!1),this.emitAndNotify("style");else if(D(e)){if(void 0===t){var i=this[0];return i?r.getStylePropertyValue(i,e):void 0}r.applyBypass(this,e,t,!1),this.emitAndNotify("style")}else if(void 0===e){var a=this[0];return a?r.getRawStyle(a):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style();if(void 0===e)for(var r=0;r0&&t.push(c[0]),t.push(s[0])}}return this.spawn(t,!0).filter(e)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),aS.neighbourhood=aS.neighborhood,aS.closedNeighbourhood=aS.closedNeighborhood,aS.openNeighbourhood=aS.openNeighborhood,Z(aS,{source:iS(function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t},"source"),target:iS(function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t},"target"),sources:a_({attr:"source"}),targets:a_({attr:"target"})}),Z(aS,{edgesWith:iS(aM(),"edgesWith"),edgesTo:iS(aM({thisIsSrc:!0}),"edgesTo")}),Z(aS,{connectedEdges:iS(function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),aS.componentsOf=aS.components;var aA=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0===e){eJ("A collection must have a reference to the core");return}var i=new tr,a=!1;if(t){if(t.length>0&&_(t[0])&&!N(t[0])){a=!0;for(var o=[],s=new ta,l=0,u=t.length;l0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=this.cy(),r=n._private,i=[],a=[],o=0,s=this.length;o0){for(var N,I,O,L=N.length===this.length?this:new aA(n,N),z=0;z0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=[],r={},i=this._private.cy;function a(e){var i=r[e.id()];if(!(t&&e.removed())&&!i){r[e.id()]=!0;e.isNode()?(n.push(e),!function(e){for(var t=e._private.edges,n=0;n0&&(e?w.emitAndNotify("remove"):t&&w.emit("remove"));for(var E=0;E1e-4&&Math.abs(l.v)>1e-4;);return o?function(e){return c[e*(c.length-1)|0]}:h}}(),aO=function(e,t,n,r){var i=function(e,t,n,r){var i=.1,a="undefined"!=typeof Float32Array;if(4!=arguments.length)return!1;for(var o=0;o<4;++o)if("number"!=typeof arguments[o]||isNaN(arguments[o])||!isFinite(arguments[o]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var s=a?new Float32Array(11):Array(11);function l(e,t){return 1-3*t+3*e}function u(e,t){return 3*t-6*e}function c(e){return 3*e}function h(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}function d(e,t,n){return 3*(1-3*n+3*t)*e*e+2*(3*n-6*t)*e+3*t}var p=!1,f=function(a){return(!p&&(p=!0,(e!==t||n!==r)&&function(){for(var t=0;t<11;++t)s[t]=h(t*i,e,n)}()),e===t&&n===r)?a:0===a?0:1===a?1:h(function(t){for(var r=0,a=1,o=10;a!==o&&s[a]<=t;++a)r+=i;var l=r+(t-s[--a])/(s[a+1]-s[a])*i,u=d(l,e,n);return u>=.001?function(t,r){for(var i=0;i<4;++i){var a=d(r,e,n);if(0===a)break;var o=h(r,e,n)-t;r-=o/a}return r}(t,l):0===u?l:function(t,r,i){var a,o,s=0;do(a=h(o=r+(i-r)/2,e,n)-t)>0?i=o:r=o;while(Math.abs(a)>1e-7&&++s<10);return o}(t,r,r+i)}(a),t,r)};f.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var g="generateBezier("+[e,t,n,r]+")";return f.toString=function(){return g},f}(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},aL={linear:function(e,t,n){return e+(t-e)*n},ease:aO(.25,.1,.25,1),"ease-in":aO(.42,0,1,1),"ease-out":aO(0,0,.58,1),"ease-in-out":aO(.42,0,.58,1),"ease-in-sine":aO(.47,0,.745,.715),"ease-out-sine":aO(.39,.575,.565,1),"ease-in-out-sine":aO(.445,.05,.55,.95),"ease-in-quad":aO(.55,.085,.68,.53),"ease-out-quad":aO(.25,.46,.45,.94),"ease-in-out-quad":aO(.455,.03,.515,.955),"ease-in-cubic":aO(.55,.055,.675,.19),"ease-out-cubic":aO(.215,.61,.355,1),"ease-in-out-cubic":aO(.645,.045,.355,1),"ease-in-quart":aO(.895,.03,.685,.22),"ease-out-quart":aO(.165,.84,.44,1),"ease-in-out-quart":aO(.77,0,.175,1),"ease-in-quint":aO(.755,.05,.855,.06),"ease-out-quint":aO(.23,1,.32,1),"ease-in-out-quint":aO(.86,0,.07,1),"ease-in-expo":aO(.95,.05,.795,.035),"ease-out-expo":aO(.19,1,.22,1),"ease-in-out-expo":aO(1,0,0,1),"ease-in-circ":aO(.6,.04,.98,.335),"ease-out-circ":aO(.075,.82,.165,1),"ease-in-out-circ":aO(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return aL.linear;var r=aI(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":aO};function aR(e,t,n,r,i){if(1===r||t===n)return n;var a=i(t,n,r);return null==e?a:((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max)),a)}function az(e,t){return null==e.pfValue&&null==e.value?e:null!=e.pfValue&&(null==t||"%"!==t.type.units)?e.pfValue:e.value}function aV(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=az(e,i),s=az(t,i);if(M(o)&&M(s))return aR(a,o,s,n,r);if(P(o)&&P(s)){for(var l=[],u=0;u=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;if(d.stopped){a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames);continue}if(!!d.playing||!!d.applying)d.playing&&d.applying&&(d.applying=!1),!d.started&&!function(e,t,n,r){var i=t._private;i.started=!0,i.startTime=n-i.progress*i.duration}(0,h,e),!function(e,t,n,r){var i,a,o,s,l=!r,u=e._private,c=t._private,h=c.easing,d=c.startTime,p=(r?e:e.cy()).style();if(!c.easingImpl){if(null==h)c.easingImpl=aL.linear;else{if(D(h)){;i=p.parse("transition-timing-function",h).value}else i=h;D(i)?(a=i,o=[]):(a=i[1],o=i.slice(2).map(function(e){return+e})),o.length>0?("spring"===a&&o.push(c.duration),c.easingImpl=aL[a].apply(null,o)):c.easingImpl=aL[a]}}var f=c.easingImpl;if(s=0===c.duration?1:(n-d)/c.duration,c.applying&&(s=c.progress),s<0?s=0:s>1&&(s=1),null==c.delay){var g=c.startPosition,v=c.position;if(v&&l&&!e.locked()){var y={};aF(g.x,v.x)&&(y.x=aV(g.x,v.x,s,f)),aF(g.y,v.y)&&(y.y=aV(g.y,v.y,s,f)),e.position(y)}var b=c.startPan,x=c.pan,w=u.pan,E=null!=x&&r;E&&(aF(b.x,x.x)&&(w.x=aV(b.x,x.x,s,f)),aF(b.y,x.y)&&(w.y=aV(b.y,x.y,s,f)),e.emit("pan"));var k=c.startZoom,C=c.zoom,S=null!=C&&r;S&&(aF(k,C)&&(u.zoom=tN(u.minZoom,aV(k,C,s,f),u.maxZoom)),e.emit("zoom")),(E||S)&&e.emit("viewport");var T=c.style;if(T&&T.length>0&&l){for(var P=0;P0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var aq={animate:it.animate(),animation:it.animation(),animated:it.animated(),clearQueue:it.clearQueue(),delay:it.delay(),delayAnimation:it.delayAnimation(),stop:it.stop(),addToAnimationPool:function(e){if(!!this.styleEnabled())this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,!!e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender(function(t,n){aj(n,e)},t.beforeRenderPriorities.animations):!function t(){if(!!e._private.animationsRunning)eO(function(n){aj(n,e),t()})}()}}},aX={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&N(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},aY=function(e){return D(e)?new iE(e):e},aW={createEmitter:function(){var e=this._private;return!e.emitter&&(e.emitter=new i7(aX,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,aY(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,aY(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,aY(t),n),this},once:function(e,t,n){return this.emitter().one(e,aY(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};it.eventAliasesOn(aW);var aH={png:function(e){var t=this._private.renderer;return e=e||{},t.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};aH.jpeg=aH.jpg;var aG={layout:function(e){if(null==e){eJ("Layout options must be specified to make a layout");return}if(null==e.name){eJ("A `name` must be specified to make a layout");return}var t,n=e.name,r=this.extension("layout",n);if(null==r){eJ("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?");return}return t=D(e.eles)?this.$(e.eles):null!=e.eles?e.eles:this.$(),new r(Z({},e,{cy:this,eles:t}))}};aG.createLayout=aG.makeLayout=aG.layout;var aU=e9({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),aK={renderTo:function(e,t,n,r){return this._private.renderer.renderTo(e,t,n,r),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(e){var t=this.extension("renderer",e.name);if(null==t){eJ("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}void 0!==e.wheelSensitivity&&e1("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 n=aU(e);n.cy=this,this._private.renderer=new t(n),this.notify("init")},destroyRenderer:function(){this.notify("destroy");var e=this.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);this._private.renderer=null,this.mutableElements().forEach(function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};aK.invalidateDimensions=aK.resize;var aZ={collection:function(e,t){if(D(e))return this.$(e);if(A(e))return e.collection();if(P(e))return!t&&(t={}),new aA(this,e,t.unique,t.removed);return new aA(this)},nodes:function(e){var t=this.$(function(e){return e.isNode()});return e?t.filter(e):t},edges:function(e){var t=this.$(function(e){return e.isEdge()});return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};aZ.elements=aZ.filter=aZ.$;var a$={};a$.apply=function(e){for(var t=this._private.cy.collection(),n=0;n0;if(h||c&&d){var p=void 0;h&&d?p=l.properties:h?p=l.properties:d&&(p=l.mappedProperties);for(var f=0;f1&&(v=1),o.color){var E=r.valueMin[0],k=r.valueMax[0],C=r.valueMin[1],S=r.valueMax[1],D=r.valueMin[2],T=r.valueMax[2],P=null==r.valueMin[3]?1:r.valueMin[3],_=[Math.round(E+(k-E)*v),Math.round(C+(S-C)*v),Math.round(D+(T-D)*v),Math.round(P+((null==r.valueMax[3]?1:r.valueMax[3])-P)*v)];g={bypass:r.bypass,name:r.name,value:_,strValue:"rgb("+_[0]+", "+_[1]+", "+_[2]+")"}}else{if(!o.number)return!1;var B=r.valueMin+(r.valueMax-r.valueMin)*v;g=this.parse(r.name,B,r.bypass,h)}if(!g)return f(),!1;g.mapping=r,r=g;break;case a.data:for(var A=r.field.split("."),N=c.data,I=0;I0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()}).then(function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1})}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},a$.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},a$.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,function(e){return e.triggersZOrder},function(){i._private.cy.notify("zorder",e)})},a$.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,function(e){return e.triggersBounds},function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),i.triggersBoundsOfParallelBeziers&&"curve-style"===t&&("bezier"===n||"bezier"===r)&&e.parallelEdges().forEach(function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()}),i.triggersBoundsOfConnectedEdges&&"display"===t&&("none"===n||"none"===r)&&e.connectedEdges().forEach(function(e){e.dirtyBoundingBoxCache()})})},a$.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var aQ={};aQ.applyBypass=function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?i.substr(t.length):""}function o(){n=n.length>r.length?n.substr(r.length):""}for(i=i.replace(/[/][*](\s|.)+?[*][/]/g,"");!i.match(/^\s*$/);){;var s=i.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!s){e1("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+i);break}t=s[0];var l=s[1];if("core"!==l&&new iE(l).invalid){e1("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),a();continue}var u=s[2],c=!1;n=u;for(var h=[];!n.match(/^\s*$/);){;var d=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!d){e1("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+u),c=!0;break}r=d[0];var p=d[1],f=d[2];if(!this.properties[p]){e1("Skipping property: Invalid property name in: "+r),o();continue}if(!this.parse(p,f)){e1("Skipping property: Invalid property definition in: "+r),o();continue}h.push({name:p,val:f}),o()}if(c){a();break}this.selector(l);for(var g=0;g=7&&"d"===t[0]&&(g=new RegExp(o.data.regex).exec(t))){if(n)return!1;var u=o.data;return{name:e,value:g,strValue:""+t,mapped:u,field:g[1],bypass:n}}else if(t.length>=10&&"m"===t[0]&&(v=new RegExp(o.mapData.regex).exec(t))){if(n||l.multiple)return!1;var c=o.mapData;if(!(l.color||l.number))return!1;var h=this.parse(e,v[4]);if(!h||h.mapped)return!1;var d=this.parse(e,v[5]);if(!d||d.mapped)return!1;if(h.pfValue===d.pfValue||h.strValue===d.strValue)return e1("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+h.strValue+"`"),this.parse(e,h.strValue);if(l.color){var p=h.value,f=d.value;if(p[0]===f[0]&&p[1]===f[1]&&p[2]===f[2]&&(p[3]===f[3]||(null==p[3]||1===p[3])&&(null==f[3]||1===f[3])))return!1}return{name:e,value:v,strValue:""+t,mapped:c,field:v[1],fieldMin:parseFloat(v[2]),fieldMax:parseFloat(v[3]),valueMin:h.value,valueMax:d.value,bypass:n}}if(l.multiple&&"multiple"!==r){if(y=s?t.split(/\s+/):P(t)?t:[t],l.evenMultiple&&y.length%2!=0)return null;for(var g,v,y,b=[],x=[],w=[],E="",k=!1,C=0;C0?" ":"")+S.strValue}if(l.validate&&!l.validate(b,x))return null;if(l.singleEnum&&k)return 1===b.length&&D(b[0])?{name:e,value:b[0],strValue:b[0],bypass:n}:null;return{name:e,value:b,pfValue:w,strValue:E,bypass:n,units:x}}var _=function(){for(var r=0;rl.max||l.strictMax&&t===l.max))return null;var L={name:e,value:t,strValue:""+t+(A||""),units:A,bypass:n};if(l.unitless||"px"!==A&&"em"!==A?L.pfValue=t:L.pfValue="px"!==A&&A?this.getEmSizeInPixels()*t:t,("ms"===A||"s"===A)&&(L.pfValue="ms"===A?t:1e3*t),"deg"===A||"rad"===A)L.pfValue="rad"===A?t:Math.PI*t/180;return"%"===A&&(L.pfValue=t/100),L}if(l.propList){var R=[],z=""+t;if("none"===z);else{for(var V=z.split(/\s*,\s*|\s+/),j=0;j0&&l>0&&!isNaN(r.w)&&!isNaN(r.h)&&r.w>0&&r.h>0){i=(i=(i=Math.min((s-2*t)/r.w,(l-2*t)/r.h))>this._private.maxZoom?this._private.maxZoom:i)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(!r.zoomingEnabled&&(o=!0),M(e)?n=e:_(e)&&(n=e.level,null!=e.position?t=ty(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null!=t&&!r.panningEnabled&&(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;M(l.x)&&(t.pan.x=l.x,o=!1),M(l.y)&&(t.pan.y=l.y,o=!1),!o&&i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(!this._private.panningEnabled)return;if(D(e)){var n=e;e=this.mutableElements().filter(n)}else!A(e)&&(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container,i=this;return n.sizeCache=n.sizeCache||(r?(e=i.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};a6.centre=a6.center,a6.autolockNodes=a6.autolock,a6.autoungrabifyNodes=a6.autoungrabify;var a8={data:it.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:it.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:it.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:it.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};a8.attr=a8.data,a8.removeAttr=a8.removeData;var a7=function(e){var t=this,n=(e=Z({},e)).container;n&&!B(n)&&B(n[0])&&(n=n[0]);var r=n?n._cyreg:null;r=r||{},r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==b&&void 0!==n&&!e.headless,o=e;o.layout=Z({name:a?"grid":"null"},o.layout),o.renderer=Z({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:o,elements:new aA(this),listeners:[],aniEles:new aA(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:M(o.zoom)?o.zoom:1,pan:{x:_(o.pan)&&M(o.pan.x)?o.pan.x:0,y:_(o.pan)&&M(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});l.styleEnabled&&t.setStyle([]);var u=Z({},o,o.renderer);t.initRenderer(u);var c=function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(_(e)||P(e))&&t.add(e),t.one("layoutready",function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")}).one("layoutstop",function(){t.one("done",r),t.emit("done")});var a=Z({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()};!function(e,t){if(e.some(z))return rh.all(e).then(t);t(e)}([o.style,o.elements],function(e){var n=e[0],a=e[1];l.styleEnabled&&t.style().append(n),c(a,function(){t.startAnimationLoop(),l.ready=!0,T(o.ready)&&t.on("ready",o.ready);for(var e=0;e0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach(function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch(function(){for(var n=Object.keys(e),r=0;r0,s=tI(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(A(t.roots))e=t.roots;else if(P(t.roots)){for(var l=[],u=0;u0;){var _=C.shift(),M=function(e,n){for(var i=or(e),a=e.incomers().filter(function(e){return e.isNode()&&r.has(e)}),o=-1,s=e.id(),l=0;l0&&f[0].length<=3?u/2:0),h=2*Math.PI/f[r].length*i;return 0===r&&1===f[0].length&&(c=1),{x:W.x+c*Math.cos(h),y:W.y+c*Math.sin(h)}}),this};var oo={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function os(e){this.options=Z({},oo,e)}os.prototype.run=function(){var e,t=this.options,n=t.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o=tI(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),u=0,c=0;c1&&t.avoidOverlap){var d=Math.cos(l)-1,p=Math.sin(l)-0;e=Math.max(Math.sqrt((u*=1.75)*u/(d*d+p*p)),e)}return r.nodes().layoutPositions(this,t,function(n,r){var a=t.startAngle+r*l*(i?1:-1),o=e*Math.cos(a),u=e*Math.sin(a);return{x:s.x+o,y:s.y+u}}),this};var ol={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function ou(e){this.options=Z({},ol,e)}ou.prototype.run=function(){for(var e=this.options,t=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,n=e.cy,r=e.eles,i=r.nodes().not(":parent"),a=tI(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),o={x:a.x1+a.w/2,y:a.y1+a.h/2},s=[],l=0,u=0;u0&&Math.abs(v[0].value-b.value)>=f&&(v=[],g.push(v)),v.push(b)}var x=l+e.minNodeSpacing;if(!e.avoidOverlap){var w=g.length>0&&g[0].length>1,E=(Math.min(a.w,a.h)/2-x)/(g.length+w?1:0);x=Math.min(x,E)}for(var k=0,C=0;C1&&e.avoidOverlap){var P,_=Math.cos(T)-1,M=Math.sin(T)-0;k=Math.max(Math.sqrt(x*x/(_*_+M*M)),k)}S.r=k,k+=x}if(e.equidistant){for(var B=0,A=0,N=0;N=e.numIter)&&(om(r,e),r.temperature=r.temperature*e.coolingFactor,!(r.temperature=e.animationThreshold&&a(),eO(t)):(oM(r,e),s())}();else{for(;u;)u=o(l),l++;oM(r,e),s()}return this},oh.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},oh.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var od=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=tI(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0){o.graphSet.push(C);for(var u=0;ur.count?0:r.graph},of=function e(t,n,r,i){var a=i.graphSet[r];if(-10){var s=r.nodeOverlap*o,l=Math.sqrt(i*i+a*a),u=s*i/l,c=s*a/l}else{var h=ok(e,i,a),d=ok(t,-1*i,-1*a),p=d.x-h.x,f=d.y-h.y,g=p*p+f*f,l=Math.sqrt(g),s=(e.nodeRepulsion+t.nodeRepulsion)/g,u=s*p/l,c=s*f/l}!e.isLocked&&(e.offsetX-=u,e.offsetY-=c),!t.isLocked&&(t.offsetX+=u,t.offsetY+=c)}},oE=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else var i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else var a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},ok=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):(0>n&&(s<=-1*l||s>=l)&&(u.x=r-a*t/2/n,u.y=i-a/2),u)},oC=function(e,t){for(var n=0;n1){var f=t.gravity*h/p,g=t.gravity*d/p;c.offsetX+=f,c.offsetY+=g}}}}},oD=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else var i={x:e,y:t};return i},o_=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;if((null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(d+=f+t.componentSpacing,h=0,p=0,f=0)}}},oB={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function oA(e){this.options=Z({},oB,e)}oA.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,r=n.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var i=tI(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()});if(0===i.h||0===i.w)n.nodes().layoutPositions(this,e,function(e){return{x:i.x1,y:i.y1}});else{var a=r.size(),o=Math.sqrt(a*i.h/i.w),s=Math.round(o),l=Math.round(i.w/i.h*o),u=function(e){if(null==e)return Math.min(s,l);Math.min(s,l)==s?s=e:l=e},c=function(e){if(null==e)return Math.max(s,l);Math.max(s,l)==s?s=e:l=e},h=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=h&&null!=d)s=h,l=d;else if(null!=h&&null==d)l=Math.ceil(a/(s=h));else if(null==h&&null!=d)s=Math.ceil(a/(l=d));else if(l*s>a){var p=u(),f=c();(p-1)*f>=a?u(p-1):(f-1)*p>=a&&c(f-1)}else for(;l*s=a?c(v+1):u(g+1)}var y=i.w/l,b=i.h/s;if(e.condense&&(y=0,b=0),e.avoidOverlap)for(var x=0;x=l&&(B=0,M++)},N={},I=0;I=0;w--){var E=l[w];E.isNode()?y(E)||x(E):function(n){var r,i=n._private,a=i.rscratch,l=n.pstyle("width").pfValue,c=n.pstyle("arrow-scale").value,p=l/2+d,f=p*p,g=2*p,b=i.source,x=i.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var w=a.allpts,E=0;E+3(r=tZ(e,t,w[E],w[E+1],w[E+2],w[E+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType){for(var w=a.allpts,E=0;E+5(r=tK(e,t,w[E],w[E+1],w[E+2],w[E+3],w[E+4],w[E+5])))return v(n,r),!0}for(var b=b||i.source,x=x||i.target,k=o.getArrowWidth(l,c),C=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}],E=0;E0&&(y(b),y(x))}(E)||x(E)||x(E,"source")||x(E,"target")}return u},oY.getAllInBox=function(e,t,n,r){var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r);e=o,n=s;for(var c=tI({x1:e,y1:t=l,x2:n,y2:r=u}),h=0;h0?-(Math.PI-e.ang):Math.PI+e.ang},sp=function(e,t,n,r,i){if(e!==v?sh(t,e,su):sd(sc,su),sh(t,n,sc),o7=su.nx*sc.ny-su.ny*sc.nx,se=su.nx*sc.nx- -(su.ny*sc.ny),1e-6>Math.abs(sr=Math.asin(Math.max(-1,Math.min(1,o7))))){o6=t.x,o8=t.y,sa=ss=0;return}st=1,sn=!1,se<0?sr<0?sr=Math.PI+sr:(sr=Math.PI-sr,st=-1,sn=!0):sr>0&&(st=-1,sn=!0),ss=void 0!==t.radius?t.radius:r,si=sr/2,sl=Math.min(su.len/2,sc.len/2),sa=i?(so=Math.abs(Math.cos(si)*ss/Math.sin(si)))>sl?Math.abs((so=sl)*Math.sin(si)/Math.cos(si)):ss:Math.abs((so=Math.min(sl,ss))*Math.sin(si)/Math.cos(si)),f=t.x+sc.nx*so,g=t.y+sc.ny*so,o6=f-sc.ny*sa*st,o8=g+sc.nx*sa*st,d=t.x+su.nx*so,p=t.y+su.ny*so,v=t};function sf(e,t){0===t.radius?e.lineTo(t.cx,t.cy):e.arc(t.cx,t.cy,t.radius,t.startAngle,t.endAngle,t.counterClockwise)}function sg(e,t,n,r){var i=!(arguments.length>4)||void 0===arguments[4]||arguments[4];return 0===r||0===t.radius?{cx:t.x,cy:t.y,radius:0,startX:t.x,startY:t.y,stopX:t.x,stopY:t.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(sp(e,t,n,r,i),{cx:o6,cy:o8,radius:sa,startX:d,startY:p,stopX:f,stopY:g,startAngle:su.ang+Math.PI/2*st,endAngle:sc.ang-Math.PI/2*st,counterClockwise:sn})}var sv={};function sy(e){var t=[];if(null!=e){for(var n=0;n0?Math.max(e-t,0):Math.min(e+t,0)},D=S(k,g?(h+p)/2:0),T=S(C,g?(d+f)/2:0),P=!1;"auto"===y?v=Math.abs(D)>Math.abs(T)?a:i:y===u||y===l?(v=i,P=!0):(y===o||y===s)&&(v=a,P=!0);var _=v===i,M=_?T:D,B=_?C:k,A=tD(B),N=!1;!(P&&(x||w<0))&&(y===l&&B<0||y===u&&B>0||y===o&&B>0||y===s&&B<0)&&(A*=-1,M=A*Math.abs(M),N=!0);var I=function(e){return Math.abs(e)=Math.abs(M)},O=I(n=x?(w<0?1+w:w)*M:(w<0?M:0)+w*A),L=I(Math.abs(M)-Math.abs(n));if((O||L)&&!N){if(_){var R=Math.abs(k)<=p/2;if(Math.abs(B)<=d/2){var z=(c.x1+c.x2)/2,V=c.y1,F=c.y2;r.segpts=[z,V,z,F]}else if(R){var j=(c.y1+c.y2)/2,q=c.x1,X=c.x2;r.segpts=[q,j,X,j]}else r.segpts=[c.x1,c.y2]}else{var Y=Math.abs(C)<=f/2;if(Math.abs(B)<=h/2){var W=(c.y1+c.y2)/2,H=c.x1,G=c.x2;r.segpts=[H,W,G,W]}else if(Y){var U=(c.x1+c.x2)/2,K=c.y1,Z=c.y2;r.segpts=[U,K,U,Z]}else r.segpts=[c.x2,c.y1]}}else if(_){var $=c.y1+n+(g?d/2*A:0),Q=c.x1,J=c.x2;r.segpts=[Q,$,J,$]}else{var ee=c.x1+n+(g?h/2*A:0),et=c.y1,en=c.y2;r.segpts=[ee,et,ee,en]}if(r.isRound){var er=e.pstyle("taxi-radius").value,ei="arc-radius"===e.pstyle("radius-type").value[0];r.radii=Array(r.segpts.length/2).fill(er),r.isArcRadius=Array(r.segpts.length/2).fill(ei)}},sv.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=t.srcCornerRadius,d=t.tgtCornerRadius,p=t.srcRs,f=t.tgtRs,g=!M(n.startX)||!M(n.startY),v=!M(n.arrowStartX)||!M(n.arrowStartY),y=!M(n.endX)||!M(n.endY),b=!M(n.arrowEndX)||!M(n.arrowEndY),x=3*(this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth),w=tT({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),E=wd.poolIndex()){var p=h;h=d,d=p}var f=s.srcPos=h.position(),g=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),b=s.tgtW=d.outerWidth(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)],k=s.srcCornerRadius="auto"===h.pstyle("corner-radius").value?"auto":h.pstyle("corner-radius").pfValue,C=s.tgtCornerRadius="auto"===d.pstyle("corner-radius").value?"auto":d.pstyle("corner-radius").pfValue,S=s.tgtRs=d._private.rscratch,D=s.srcRs=h._private.rscratch;s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var T=0;T0){var W=tP(l,tb(t)),H=tP(l,tb(Y)),G=W;H2&&tP(l,{x:Y[2],y:Y[3]})0){var eo=tP(u,tb(t)),es=tP(u,tb(ea)),el=eo;es2&&tP(u,{x:ea[2],y:ea[3]})=l||b){c={cp:g,segment:y};break}}if(c)break}var x=c.cp,w=c.segment,E=(l-d)/w.length,k=w.t1-w.t0,C=i?w.t0+k*E:w.t1-k*E;C=tN(0,C,1),t=tB(x.p0,x.p1,x.p2,C),u=sk(x.p0,x.p1,x.p2,C);break;case"straight":case"segments":case"haystack":for(var S,D,T,P,_=0,M=r.allpts.length,B=0;B+3=l));B+=2);var A=(l-P)/T;t=tA(S,D,A=tN(0,A,1)),u=sE(S,D)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,u)}};l("source"),l("target"),this.applyLabelDimensions(e)}},sx.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},sx.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=te(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=i.width,h=i.height+(l-1)*(a-1)*u;tt(n.rstyle,"labelWidth",t,c),tt(n.rscratch,"labelWidth",t,c),tt(n.rstyle,"labelHeight",t,h),tt(n.rscratch,"labelHeight",t,h),tt(n.rscratch,"labelLineHeight",t,u*a)},sx.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(tt(n.rscratch,e,t,r),r):te(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,d="anywhere"===e.pstyle("text-overflow-wrap").value,p=[],f=/[\s\u200b]+|$/g,g=0;gc){var b,x=v.matchAll(f),w="",E=0,k=h(x);try{for(k.s();!(b=k.n()).done;){var C=b.value,S=C[0],D=v.substring(E,C.index);E=C.index+S.length;var T=0===w.length?D:w+D+S;this.calculateLabelDimensions(e,T).width<=c?w+=D+S:(w&&p.push(w),w=D+S)}}catch(e){k.e(e)}finally{k.f()}!w.match(/^[\s\u200b]+$/)&&p.push(w)}else p.push(v)}o("labelWrapCachedLines",p),i=o("labelWrapCachedText",p.join("\n")),o("labelWrapKey",l)}else if("ellipsis"===s){var P=e.pstyle("text-max-width").pfValue,_="",M=!1;if(this.calculateLabelDimensions(e,i).widthP);B++){;_+=i[B],B===i.length-1&&(M=!0)}return!M&&(_+="\u2026"),_}return i},sx.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},sx.calculateLabelDimensions=function(e,t){var n=this.cy.window().document,r=eq(t,e._private.labelDimsKey),i=this.labelDimCache||(this.labelDimCache=[]),a=i[r];if(null!=a)return a;var o=e.pstyle("font-style").strValue,s=e.pstyle("font-size").pfValue,l=e.pstyle("font-family").strValue,u=e.pstyle("font-weight").strValue,c=this.labelCalcCanvas,h=this.labelCalcCanvasContext;if(!c){c=this.labelCalcCanvas=n.createElement("canvas"),h=this.labelCalcCanvasContext=c.getContext("2d");var d=c.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none"}h.font="".concat(o," ").concat(u," ").concat(s,"px ").concat(l);for(var p=0,f=0,g=t.split("\n"),v=0;ve.width()||28>e.height()))return!sS&&(e1("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),sS=!0),"rectangle";if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"round-rectangle"===t||"cutrectangle"===t||"cut-rectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t};var sD={};sD.registerCalculationListeners=function(){var e=this.cy,t=e.collection(),n=this,r=function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(t.merge(e),n)for(var r=0;r=C.desktopTapThreshold2}var v=P(e);w&&(C.hoverData.tapholdCancelled=!0);t=!0,T(u,["mousemove","vmousemove","tapdrag"],e,{x:a[0],y:a[1]});var y=function(){C.data.bgActivePosistion=void 0,!C.hoverData.selecting&&n.emit({originalEvent:e,type:"boxstart",position:{x:a[0],y:a[1]}}),l[4]=1,C.hoverData.selecting=!0,C.redrawHint("select",!0),C.redraw()};if(3===C.hoverData.which){if(w){var b={originalEvent:e,type:"cxtdrag",position:{x:a[0],y:a[1]}};h?h.emit(b):n.emit(b),C.hoverData.cxtDragged=!0,(!C.hoverData.cxtOver||u!==C.hoverData.cxtOver)&&(C.hoverData.cxtOver&&C.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:a[0],y:a[1]}}),C.hoverData.cxtOver=u,u&&u.emit({originalEvent:e,type:"cxtdragover",position:{x:a[0],y:a[1]}}))}}else if(C.hoverData.dragging){if(t=!0,n.panningEnabled()&&n.userPanningEnabled()){if(C.hoverData.justStartedPan){var x=C.hoverData.mdownPos;E={x:(a[0]-x[0])*r,y:(a[1]-x[1])*r},C.hoverData.justStartedPan=!1}else E={x:d[0]*r,y:d[1]*r};n.panBy(E),n.emit("dragpan"),C.hoverData.dragged=!0}a=C.projectIntoViewport(e.clientX,e.clientY)}else if(1==l[4]&&(null==h||h.pannable()))w&&(!C.hoverData.dragging&&n.boxSelectionEnabled()&&(v||!n.panningEnabled()||!n.userPanningEnabled())?y():!C.hoverData.selecting&&n.panningEnabled()&&n.userPanningEnabled()&&_(h,C.hoverData.downs)&&(C.hoverData.dragging=!0,C.hoverData.justStartedPan=!0,l[4]=0,C.data.bgActivePosistion=tb(o),C.redrawHint("select",!0),C.redraw()),h&&h.pannable()&&h.active()&&h.unactivate());else{if(h&&h.pannable()&&h.active()&&h.unactivate(),(!h||!h.grabbed())&&u!=c&&(c&&T(c,["mouseout","tapdragout"],e,{x:a[0],y:a[1]}),u&&T(u,["mouseover","tapdragover"],e,{x:a[0],y:a[1]}),C.hoverData.last=u),h){if(w){if(n.boxSelectionEnabled()&&v)h&&h.grabbed()&&(F(p),h.emit("freeon"),p.emit("free"),C.dragData.didDrag&&(h.emit("dragfreeon"),p.emit("dragfree"))),y();else if(h&&h.grabbed()&&C.nodeIsDraggable(h)){var w,E,k,S=!C.dragData.didDrag;S&&C.redrawHint("eles",!0),C.dragData.didDrag=!0,!C.hoverData.draggingEles&&V(p,{inDragLayer:!0});var D={x:0,y:0};if(M(d[0])&&M(d[1])&&(D.x+=d[0],D.y+=d[1],S)){var B=C.hoverData.dragDelta;B&&M(B[0])&&M(B[1])&&(D.x+=B[0],D.y+=B[1])}C.hoverData.draggingEles=!0,p.silentShift(D).emit("position drag"),C.redrawHint("drag",!0),C.redraw()}}else{;0===(k=C.hoverData.dragDelta=C.hoverData.dragDelta||[]).length?(k.push(d[0]),k.push(d[1])):(k[0]+=d[0],k[1]+=d[1])}}t=!0}if(l[2]=a[0],l[3]=a[1],t)return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1}},!1),C.registerBinding(S,"mouseup",function(r){if((1!==C.hoverData.which||1===r.which||!C.hoverData.capture)&&!!C.hoverData.capture){C.hoverData.capture=!1;var i=C.cy,a=C.projectIntoViewport(r.clientX,r.clientY),o=C.selection,s=C.findNearestElement(a[0],a[1],!0,!1),l=C.dragData.possibleDragElements,u=C.hoverData.down,c=P(r);if(C.data.bgActivePosistion&&(C.redrawHint("select",!0),C.redraw()),C.hoverData.tapholdCancelled=!0,C.data.bgActivePosistion=void 0,u&&u.unactivate(),3===C.hoverData.which){var h={originalEvent:r,type:"cxttapend",position:{x:a[0],y:a[1]}};if(u?u.emit(h):i.emit(h),!C.hoverData.cxtDragged){var d={originalEvent:r,type:"cxttap",position:{x:a[0],y:a[1]}};u?u.emit(d):i.emit(d)}C.hoverData.cxtDragged=!1,C.hoverData.which=null}else if(1===C.hoverData.which){if(T(s,["mouseup","tapend","vmouseup"],r,{x:a[0],y:a[1]}),!C.dragData.didDrag&&!C.hoverData.dragged&&!C.hoverData.selecting&&!C.hoverData.isOverThresholdDrag&&(T(u,["click","tap","vclick"],r,{x:a[0],y:a[1]}),t=!1,r.timeStamp-n<=i.multiClickDebounceTime()?(e&&clearTimeout(e),t=!0,n=null,T(u,["dblclick","dbltap","vdblclick"],r,{x:a[0],y:a[1]})):(e=setTimeout(function(){!t&&T(u,["oneclick","onetap","voneclick"],r,{x:a[0],y:a[1]})},i.multiClickDebounceTime()),n=r.timeStamp)),null==u&&!C.dragData.didDrag&&!C.hoverData.selecting&&!C.hoverData.dragged&&!P(r)&&(i.$(D).unselect(["tapunselect"]),l.length>0&&C.redrawHint("eles",!0),C.dragData.possibleDragElements=l=i.collection()),s==u&&!C.dragData.didDrag&&!C.hoverData.selecting&&null!=s&&s._private.selectable&&(C.hoverData.dragging||("additive"===i.selectionType()||c?s.selected()?s.unselect(["tapunselect"]):s.select(["tapselect"]):!c&&(i.$(D).unmerge(s).unselect(["tapunselect"]),s.select(["tapselect"]))),C.redrawHint("eles",!0)),C.hoverData.selecting){var p=i.collection(C.getAllInBox(o[0],o[1],o[2],o[3]));C.redrawHint("select",!0),p.length>0&&C.redrawHint("eles",!0),i.emit({type:"boxend",originalEvent:r,position:{x:a[0],y:a[1]}});var f=function(e){return e.selectable()&&!e.selected()};"additive"===i.selectionType()||!c&&i.$(D).unmerge(p).unselect(),p.emit("box").stdFilter(f).select().emit("boxselect"),C.redraw()}if(C.hoverData.dragging&&(C.hoverData.dragging=!1,C.redrawHint("select",!0),C.redrawHint("eles",!0),C.redraw()),!o[4]){C.redrawHint("drag",!0),C.redrawHint("eles",!0);var g=u&&u.grabbed();F(l),g&&(u.emit("freeon"),l.emit("free"),C.dragData.didDrag&&(u.emit("dragfreeon"),l.emit("dragfree")))}}o[4]=0,C.hoverData.down=null,C.hoverData.cxtStarted=!1,C.hoverData.draggingEles=!1,C.hoverData.selecting=!1,C.hoverData.isOverThresholdDrag=!1,C.dragData.didDrag=!1,C.hoverData.dragged=!1,C.hoverData.dragDelta=[],C.hoverData.mdownPos=null,C.hoverData.mdownGPos=null,C.hoverData.which=null}},!1);var U=function(e){if(!C.scrollingPage){var t=C.cy,n=t.zoom(),r=t.pan(),i=C.projectIntoViewport(e.clientX,e.clientY),a=[i[0]*n+r.x,i[1]*n+r.y];if(C.hoverData.draggingEles||C.hoverData.dragging||C.hoverData.cxtStarted||0!==C.selection[4]){e.preventDefault();return}if(t.panningEnabled()&&t.userPanningEnabled()&&t.zoomingEnabled()&&t.userZoomingEnabled()){e.preventDefault(),C.data.wheelZooming=!0,clearTimeout(C.data.wheelTimeout),C.data.wheelTimeout=setTimeout(function(){C.data.wheelZooming=!1,C.redrawHint("eles",!0),C.redraw()},150),o=(null!=e.deltaY?-(e.deltaY/250):null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3)*C.wheelSensitivity,1===e.deltaMode&&(o*=33);var o,s=t.zoom()*Math.pow(10,o);"gesturechange"===e.type&&(s=C.gestureStartZoom*e.scale),t.zoom({level:s,renderedPosition:{x:a[0],y:a[1]}}),t.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};C.registerBinding(C.container,"wheel",U,!0),C.registerBinding(S,"scroll",function(e){C.scrollingPage=!0,clearTimeout(C.scrollingPageTimeout),C.scrollingPageTimeout=setTimeout(function(){C.scrollingPage=!1},250)},!0),C.registerBinding(C.container,"gesturestart",function(e){C.gestureStartZoom=C.cy.zoom(),!C.hasTouchStarted&&e.preventDefault()},!0),C.registerBinding(C.container,"gesturechange",function(e){!C.hasTouchStarted&&U(e)},!0),C.registerBinding(C.container,"mouseout",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseout",position:{x:t[0],y:t[1]}})},!1),C.registerBinding(C.container,"mouseover",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseover",position:{x:t[0],y:t[1]}})},!1);var K=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},Z=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(C.registerBinding(C.container,"touchstart",v=function(e){if(C.hasTouchStarted=!0,!!G(e)){q(),C.touchData.capture=!0,C.data.bgActivePosistion=void 0;var t=C.cy,n=C.touchData.now,v=C.touchData.earlier;if(e.touches[0]){var y=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);n[0]=y[0],n[1]=y[1]}if(e.touches[1]){var y=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);n[2]=y[0],n[3]=y[1]}if(e.touches[2]){var y=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);n[4]=y[0],n[5]=y[1]}if(e.touches[1]){C.touchData.singleTouchMoved=!0,F(C.dragData.touchDragEles);var b=C.findContainerClientCoords();h=b[0],d=b[1],p=b[2],f=b[3],r=e.touches[0].clientX-h,i=e.touches[0].clientY-d,a=e.touches[1].clientX-h,o=e.touches[1].clientY-d,g=0<=r&&r<=p&&0<=a&&a<=p&&0<=i&&i<=f&&0<=o&&o<=f;var x=t.pan(),w=t.zoom();s=K(r,i,a,o),l=Z(r,i,a,o),c=[((u=[(r+a)/2,(i+o)/2])[0]-x.x)/w,(u[1]-x.y)/w];if(l<4e4&&!e.touches[2]){var E=C.findNearestElement(n[0],n[1],!0,!0),k=C.findNearestElement(n[2],n[3],!0,!0);E&&E.isNode()?(E.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=E):k&&k.isNode()?(k.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=k):t.emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!0,C.touchData.cxtDragged=!1,C.data.bgActivePosistion=void 0,C.redraw();return}}if(e.touches[2])t.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var S=C.findNearestElements(n[0],n[1],!0,!0),D=S[0];if(null!=D&&(D.activate(),C.touchData.start=D,C.touchData.starts=S,C.nodeIsGrabbable(D))){var P=C.dragData.touchDragEles=t.collection(),_=null;C.redrawHint("eles",!0),C.redrawHint("drag",!0),D.selected()?V(_=t.$(function(e){return e.selected()&&C.nodeIsGrabbable(e)}),{addToList:P}):V(D,{addToList:P}),O(D);var M=function(t){return{originalEvent:e,type:t,position:{x:n[0],y:n[1]}}};D.emit(M("grabon")),_?_.forEach(function(e){e.emit(M("grab"))}):D.emit(M("grab"))}T(D,["touchstart","tapstart","vmousedown"],e,{x:n[0],y:n[1]}),null==D&&(C.data.bgActivePosistion={x:y[0],y:y[1]},C.redrawHint("select",!0),C.redraw()),C.touchData.singleTouchMoved=!1,C.touchData.singleTouchStartTime=+new Date,clearTimeout(C.touchData.tapholdTimeout),C.touchData.tapholdTimeout=setTimeout(function(){!1===C.touchData.singleTouchMoved&&!C.pinching&&!C.touchData.selecting&&T(C.touchData.start,["taphold"],e,{x:n[0],y:n[1]})},C.tapholdDuration)}if(e.touches.length>=1){for(var B=C.touchData.startPosition=[null,null,null,null,null,null],A=0;A=C.touchTapThreshold2}if(t&&C.touchData.cxt){e.preventDefault();var P=e.touches[0].clientX-h,B=e.touches[0].clientY-d,A=e.touches[1].clientX-h,N=e.touches[1].clientY-d,I=Z(P,B,A,N),O=I/l;if(O>=2.25||I>=22500){C.touchData.cxt=!1,C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var L={originalEvent:e,type:"cxttapend",position:{x:p[0],y:p[1]}};C.touchData.start?(C.touchData.start.unactivate().emit(L),C.touchData.start=null):u.emit(L)}}if(t&&C.touchData.cxt){var L={originalEvent:e,type:"cxtdrag",position:{x:p[0],y:p[1]}};C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.touchData.start?C.touchData.start.emit(L):u.emit(L),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxtDragged=!0;var R=C.findNearestElement(p[0],p[1],!0,!0);(!C.touchData.cxtOver||R!==C.touchData.cxtOver)&&(C.touchData.cxtOver&&C.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:p[0],y:p[1]}}),C.touchData.cxtOver=R,R&&R.emit({originalEvent:e,type:"cxtdragover",position:{x:p[0],y:p[1]}}))}else if(t&&e.touches[2]&&u.boxSelectionEnabled())e.preventDefault(),C.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,!C.touchData.selecting&&u.emit({originalEvent:e,type:"boxstart",position:{x:p[0],y:p[1]}}),C.touchData.selecting=!0,C.touchData.didSelect=!0,n[4]=1,n&&0!==n.length&&void 0!==n[0]?(n[2]=(p[0]+p[2]+p[4])/3,n[3]=(p[1]+p[3]+p[5])/3):(n[0]=(p[0]+p[2]+p[4])/3,n[1]=(p[1]+p[3]+p[5])/3,n[2]=(p[0]+p[2]+p[4])/3+1,n[3]=(p[1]+p[3]+p[5])/3+1),C.redrawHint("select",!0),C.redraw();else if(t&&e.touches[1]&&!C.touchData.didSelect&&u.zoomingEnabled()&&u.panningEnabled()&&u.userZoomingEnabled()&&u.userPanningEnabled()){e.preventDefault(),C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var z=C.dragData.touchDragEles;if(z){C.redrawHint("drag",!0);for(var j=0;j0&&!C.hoverData.draggingEles&&!C.swipePanning&&null!=C.data.bgActivePosistion&&(C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.redraw())}},!1),C.registerBinding(S,"touchcancel",b=function(e){var t=C.touchData.start;C.touchData.capture=!1,t&&t.unactivate()}),C.registerBinding(S,"touchend",x=function(e){var t,n=C.touchData.start;if(!!C.touchData.capture){0===e.touches.length&&(C.touchData.capture=!1),e.preventDefault();var r=C.selection;C.swipePanning=!1,C.hoverData.draggingEles=!1;var i=C.cy,a=i.zoom(),o=C.touchData.now,s=C.touchData.earlier;if(e.touches[0]){var l=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);o[0]=l[0],o[1]=l[1]}if(e.touches[1]){var l=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);o[2]=l[0],o[3]=l[1]}if(e.touches[2]){var l=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);o[4]=l[0],o[5]=l[1]}if(n&&n.unactivate(),C.touchData.cxt){if(t={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}},n?n.emit(t):i.emit(t),!C.touchData.cxtDragged){var u={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};n?n.emit(u):i.emit(u)}C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!1,C.touchData.start=null,C.redraw();return}if(!e.touches[2]&&i.boxSelectionEnabled()&&C.touchData.selecting){C.touchData.selecting=!1;var c=i.collection(C.getAllInBox(r[0],r[1],r[2],r[3]));r[0]=void 0,r[1]=void 0,r[2]=void 0,r[3]=void 0,r[4]=0,C.redrawHint("select",!0),i.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}});c.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),c.nonempty()&&C.redrawHint("eles",!0),C.redraw()}if(null!=n&&n.unactivate(),e.touches[2])C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);else if(e.touches[1]);else if(e.touches[0]);else if(!e.touches[0]){C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var h=C.dragData.touchDragEles;if(null!=n){var d=n._private.grabbed;F(h),C.redrawHint("drag",!0),C.redrawHint("eles",!0),d&&(n.emit("freeon"),h.emit("free"),C.dragData.didDrag&&(n.emit("dragfreeon"),h.emit("dragfree"))),T(n,["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]}),n.unactivate(),C.touchData.start=null}else T(C.findNearestElement(o[0],o[1],!0,!0),["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]});var p=C.touchData.startPosition[0]-o[0],f=C.touchData.startPosition[1]-o[1];!C.touchData.singleTouchMoved&&(!n&&i.$(":selected").unselect(["tapunselect"]),T(n,["tap","vclick"],e,{x:o[0],y:o[1]}),w=!1,e.timeStamp-k<=i.multiClickDebounceTime()?(E&&clearTimeout(E),w=!0,k=null,T(n,["dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(E=setTimeout(function(){!w&&T(n,["onetap","voneclick"],e,{x:o[0],y:o[1]})},i.multiClickDebounceTime()),k=e.timeStamp)),null!=n&&!C.dragData.didDrag&&n._private.selectable&&(p*p+f*f)*a*a0)return g[0]}return null}(e,t,f);if(null!=g){var v=tM(f[5],f[3],f[1],g);if(f.isTop&&v<=t||f.isBottom&&t<=v)return!0}}return!1}}},sB.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:ne(4,0),draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i,this.points,a)},intersectLine:function(e,t,n,r,i,a,o,s){var l=e-(n/2+o),u=t-(r/2+o),c=e+(n/2+o),h=t9(i,a,e,t,l,u,c,u,!1);return h.length>0?h:tY(i,a,e,t,n,r,o,s)},checkPoint:function(e,t,n,r,i,a,o,s){var l=2*(s="auto"===s?nr(r,i):s);if(tQ(e,t,this.points,a,o,r,i-l,[0,-1],n)||tQ(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!(t$(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||t5(e,t,l,l,a+r/2-s,o+i/2-s,n)||t5(e,t,l,l,a-r/2+s,o+i/2-s,n))||!1}}},sB.registerNodeShapes=function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",ne(3,0)),this.generateRoundPolygon("round-triangle",ne(3,0)),this.generatePolygon("rectangle",ne(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",ne(5,0)),this.generateRoundPolygon("round-pentagon",ne(5,0)),this.generatePolygon("hexagon",ne(6,0)),this.generateRoundPolygon("round-hexagon",ne(6,0)),this.generatePolygon("heptagon",ne(7,0)),this.generateRoundPolygon("round-heptagon",ne(7,0)),this.generatePolygon("octagon",ne(8,0)),this.generateRoundPolygon("round-octagon",ne(8,0));var r=Array(20),i=nn(5,0),a=nn(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;st.className.indexOf(o)&&(t.className=(t.className||"")+" "+o),!s){var l=r.createElement("style");l.id=a,l.textContent="."+o+" { position: relative; }",i.insertBefore(l,i.children[0])}"static"===n.getComputedStyle(t).getPropertyValue("position")&&e1("A Cytoscape container has style position:static and so can not use UI extensions properly")}this.selection=[void 0,void 0,void 0,void 0,0],this.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],this.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},this.dragData={possibleDragElements:[]},this.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]},this.redraws=0,this.showFps=e.showFps,this.debug=e.debug,this.hideEdgesOnViewport=e.hideEdgesOnViewport,this.textureOnViewport=e.textureOnViewport,this.wheelSensitivity=e.wheelSensitivity,this.motionBlurEnabled=e.motionBlur,this.forcedPixelRatio=M(e.pixelRatio)?e.pixelRatio:null,this.motionBlur=e.motionBlur,this.motionBlurOpacity=e.motionBlurOpacity,this.motionBlurTransparency=1-this.motionBlurOpacity,this.motionBlurPxRatio=1,this.mbPxRBlurry=1,this.minMbLowQualFrames=4,this.fullQualityMb=!1,this.clearedForMotionBlur=[],this.desktopTapThreshold=e.desktopTapThreshold,this.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,this.touchTapThreshold=e.touchTapThreshold,this.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,this.tapholdDuration=500,this.bindings=[],this.beforeRenderCallbacks=[],this.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},this.registerNodeShapes(),this.registerArrowShapes(),this.registerCalculationListeners()},sO.notify=function(e,t){var n=this.cy;if(!this.destroyed){if("init"===e){this.load();return}if("destroy"===e){this.destroy();return}("add"===e||"remove"===e||"move"===e&&n.hasCompoundNodes()||"load"===e||"zorder"===e||"mount"===e)&&this.invalidateCachedZSortedEles(),"viewport"===e&&this.redrawHint("select",!0),("load"===e||"resize"===e||"mount"===e)&&(this.invalidateContainerClientCoordsCache(),this.matchCanvasSize(this.container)),this.redrawHint("eles",!0),this.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},sO.destroy=function(){this.destroyed=!0,this.cy.stopAnimationLoop();for(var e=0;e=e.deqFastCost*g)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(f>=e.deqNoDrawCost*sL)break;var v=e.deq(t,h,c);if(v.length>0)for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())},i(t))}}},sz=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ;i(this,e),this.idsByKey=new tr,this.keyForId=new tr,this.cachesByLvl=new tr,this.lvls=[],this.getKey=t,this.doesEleInvalidateKey=n}return o(e,[{key:"getIdsFor",value:function(e){null==e&&eJ("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return!n&&(n=new ta,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return!r&&(r=new tr,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach(function(n){return t.deleteCache(e,n)})}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),sV={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},sF=e9({getKey:null,doesEleInvalidateKey:eZ,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:eK,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),sj=function(e,t){this.renderer=e,this.onDequeues=[];var n=sF(t);Z(this,n),this.lookup=new sz(n.getKey,n.doesEleInvalidateKey),this.setupDequeueing()},sq=sj.prototype;sq.reasons=sV,sq.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},sq.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},sq.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new tu(function(e,t){return t.reqs-e.reqs})},sq.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},sq.getElement=function(e,t,n,r,i){var a,o,s,l=this,u=this.renderer,c=u.cy.zoom(),h=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed()||!l.allowEdgeTxrCaching&&e.isEdge()||!l.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(tS(c*n))),r<-4)r=-4;else if(c>=7.99||r>3)return null;var d=Math.pow(2,r),p=t.h*d,f=t.w*d,g=u.eleTextBiggerThanMin(e,d);if(!this.isVisible(e,g))return null;var v=h.get(e,r);if(v&&v.invalidated&&(v.invalidated=!1,v.texture.invalidatedWidth-=v.width),v)return v;if(a=p<=25?25:p<=50?50:50*Math.ceil(p/50),p>1024||f>1024)return null;var y=l.getTextureQueue(a),b=y[y.length-2],x=function(){return l.recycleTexture(a,f)||l.addTexture(a,f)};!b&&(b=y[y.length-1]),!b&&(b=x()),b.width-b.usedWidthr;_--)T=l.getElement(e,t,n,_,sV.downscale);P()}else{if(!E&&!k&&!C)for(var M=r-1;M>=-4;M--){var B=h.get(e,M);if(B){s=B;break}}if(w(s))return l.queueElement(e,r),s;b.context.translate(b.usedWidth,0),b.context.scale(d,d),this.drawElement(b.context,e,t,g,!1),b.context.scale(1/d,1/d),b.context.translate(-b.usedWidth,0)}return v={x:b.usedWidth,texture:b,level:r,scale:d,width:f,height:p,scaledLabelShown:g},b.usedWidth+=Math.ceil(f+8),b.eleCaches.push(v),h.set(e,r,v),l.checkTextureFullness(b),v},sq.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},sq.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?e6(t,e):e.fullnessChecks++},sq.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;e6(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,e8(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),e6(r,a),n.push(a),a}},sq.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},sq.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=[],i=this.lookup,a=0;a<1;a++)if(t.size()>0){var o=t.pop(),s=o.key,l=o.eles[0],u=i.hasCache(l,o.level);if(n[s]=null,u)continue;r.push(o);var c=this.getBoundingBox(l);this.getElement(l,c,e,o.level,sV.dequeue)}else break;return r},sq.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=eU,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},sq.onDequeue=function(e){this.onDequeues.push(e)},sq.offDequeue=function(e){e6(this.onDequeues,e)},sq.setupDequeueing=sR({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null}a.validateLayersElesOrdering(n,e);var l=a.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[],h=a.levelIsComplete(n,e);if(h)return c;!function(){var t=function(t){if(a.validateLayersElesOrdering(t,e),a.levelIsComplete(t,e))return i=l[t],!0},r=function(e){if(!i)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};r(1),r(-1);for(var o=c.length-1;o>=0;o--){var s=c[o];s.invalid&&e6(c,s)}}();var d=function(){if(!r){r=tI();for(var t=0;t=f||!tX(p.bb,y.boundingBox()))&&!(p=function(e){var t=(e=e||{}).after;if(d(),r.w*u*(r.h*u)>16e6)return null;var i=a.makeLayer(r,n);if(null!=t){var o=c.indexOf(t)+1;c.splice(o,0,i)}else(void 0===e.insert||e.insert)&&c.unshift(i);return i}({insert:!0,after:p})))return null;i||g?a.queueLayer(p,y):a.drawEleInLayer(p,y,n,t),p.eles.push(y),x[n]=p}return i?i:g?null:c},sY.getEleLevelForLayerLevel=function(e,t){return e},sY.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();if(0!==o.w&&0!==o.h&&!!t.visible())n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,!0),i.setImgSmoothing(a,!0)},sY.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0||a.invalid)return!1;r+=a.eles.length}return r===t.length&&!0},sY.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(!!n)for(var r=0;r0){e=!0;break}}return e},sY.invalidateElements=function(e){var t=this;if(0===e.length)return;if(t.lastInvalidationTime=eN(),0!==e.length&&!!t.haveLayers())t.updateElementsInLayers(e,function(e,n,r){t.invalidateLayer(e)})},sY.invalidateLayer=function(e){if(this.lastInvalidationTime=eN(),!e.invalid){var t=e.level,n=e.eles;e6(this.layersByLevel[t],e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var r=0;r3)||void 0===arguments[3]||arguments[3],a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=!(arguments.length>5)||void 0===arguments[5]||arguments[5],s=this,l=t._private.rscratch;if(!(o&&!t.visible()||l.badLine||null==l.allpts||isNaN(l.allpts[0]))){n&&(r=n,e.translate(-r.x1,-r.y1));var u=o?t.pstyle("opacity").value:1,c=o?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,f=t.pstyle("line-cap").value,g=t.pstyle("line-outline-width").value,v=t.pstyle("line-outline-color").value,y=u*c,b=u*c,x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;"straight-triangle"===h?(s.eleStrokeStyle(e,t,n),s.drawEdgeTrianglePath(t,e,l.allpts)):(e.lineWidth=p,e.lineCap=f,s.eleStrokeStyle(e,t,n),s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")},w=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;s.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var E=t.pstyle("ghost-offset-x").pfValue,k=t.pstyle("ghost-offset-y").pfValue,C=y*t.pstyle("ghost-opacity").value;e.translate(E,k),x(C),w(C),e.translate(-E,-k)}else!function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;if(e.lineWidth=p+g,e.lineCap=f,g>0)s.colorStrokeStyle(e,v[0],v[1],v[2],n);else{e.lineCap="butt";return}"straight-triangle"===h?s.drawEdgeTrianglePath(t,e,l.allpts):(s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")}();!function(){if(!!a)s.drawEdgeUnderlay(e,t)}(),x(),w(),!function(){if(!!a)s.drawEdgeOverlay(e,t)}(),s.drawElementText(e,t,null,i),n&&e.translate(r.x1,r.y1)}};var s6=function(e){if(!["overlay","underlay"].includes(e))throw Error("Invalid state");return function(t,n){if(!n.visible())return;var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this.usePaths(),a=n._private.rscratch,o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-color")).value;t.lineWidth=2*o,"self"!==a.edgeType||i?t.lineCap="round":t.lineCap="butt",this.colorStrokeStyle(t,s[0],s[1],s[2],r),this.drawEdgePath(n,t,a.allpts,"solid")}}};s9.drawEdgeOverlay=s6("overlay"),s9.drawEdgeUnderlay=s6("underlay"),s9.drawEdgePath=function(e,t,n,r){var i=e._private.rscratch,a=t,o=!1,s=this.usePaths(),l=e.pstyle("line-dash-pattern").pfValue,u=e.pstyle("line-dash-offset").pfValue;if(s){var c=n.join("$");i.pathCacheKey&&i.pathCacheKey===c?(f=t=i.pathCache,o=!0):(f=t=new Path2D,i.pathCacheKey=c,i.pathCache=f)}if(a.setLineDash)switch(r){case"dotted":a.setLineDash([1,1]);break;case"dashed":a.setLineDash(l),a.lineDashOffset=u;break;case"solid":a.setLineDash([])}if(!o&&!i.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35&&void 0!==arguments[5]?arguments[5]:5,o=arguments.length>6?arguments[6]:void 0;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),o?e.stroke():e.fill()}s7.eleTextBiggerThanMin=function(e,t){return!t&&(t=Math.pow(2,Math.ceil(tS(e.cy().zoom()*this.getPixelRatio())))),!(e.pstyle("font-size").pfValue*t5)||void 0===arguments[5]||arguments[5];if(null==r){if(o&&!this.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=this.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p=!n;n&&(a=n,e.translate(-a.x1,-a.y1)),null==i?(this.drawText(e,t,null,p,o),t.isEdge()&&(this.drawText(e,t,"source",p,o),this.drawText(e,t,"target",p,o))):this.drawText(e,t,i,p,o),n&&e.translate(a.x1,a.y1)},s7.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2)||void 0===arguments[2]||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},s7.getTextAngle=function(e,t){var n,r=e._private.rscratch,i=t?t+"-":"",a=e.pstyle(i+"text-rotation"),o=te(r,"labelAngle",t);return n="autorotate"===a.strValue?e.isEdge()?o:0:"none"===a.strValue?0:a.pfValue},s7.drawText=function(e,t,n){var r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s=te(a,"labelX",n),l=te(a,"labelY",n),u=this.getLabelText(t,n);if(null!=u&&""!==u&&!isNaN(s)&&!isNaN(l)){this.setupTextStyle(e,t,i);var c,h,d,p=n?n+"-":"",f=te(a,"labelWidth",n),g=te(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle("text-halign").value,w=t.pstyle("text-valign").value;switch(b&&(x="center",w="center"),s+=v,l+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(c=s,h=l,e.translate(c,h),e.rotate(d),s=0,l=0),w){case"top":break;case"center":l+=g/2;break;case"bottom":l+=g}var E=t.pstyle("text-background-opacity").value,k=t.pstyle("text-border-opacity").value,C=t.pstyle("text-border-width").pfValue,S=t.pstyle("text-background-padding").pfValue,D=0===t.pstyle("text-background-shape").strValue.indexOf("round");if(E>0||C>0&&k>0){var T=s-S;switch(x){case"left":T-=f;break;case"center":T-=f/2}var P=l-g-S,_=f+2*S,M=g+2*S;if(E>0){var B=e.fillStyle,A=t.pstyle("text-background-color").value;e.fillStyle="rgba("+A[0]+","+A[1]+","+A[2]+","+E*o+")",D?le(e,T,P,_,M,2):e.fillRect(T,P,_,M),e.fillStyle=B}if(C>0&&k>0){var N=e.strokeStyle,I=e.lineWidth,O=t.pstyle("text-border-color").value,L=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+O[0]+","+O[1]+","+O[2]+","+k*o+")",e.lineWidth=C,e.setLineDash)switch(L){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=C/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(D?le(e,T,P,_,M,2,"stroke"):e.strokeRect(T,P,_,M),"double"===L){var R=C/2;D?le(e,T+R,P+R,_-2*R,M-2*R,2,"stroke"):e.strokeRect(T+R,P+R,_-2*R,M-2*R)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=N}}var z=2*t.pstyle("text-outline-width").pfValue;if(z>0&&(e.lineWidth=z),"wrap"===t.pstyle("text-wrap").value){var V=te(a,"labelWrapCachedLines",n),F=te(a,"labelLineHeight",n),j=f/2,q=this.getLabelJustification(t);switch("auto"===q||("left"===x?"left"===q?s+=-f:"center"===q&&(s+=-j):"center"===x?"left"===q?s+=-j:"right"===q&&(s+=j):"right"===x&&("center"===q?s+=j:"right"===q&&(s+=f))),w){case"top":l-=(V.length-1)*F;break;case"center":case"bottom":l-=(V.length-1)*F}for(var X=0;X0&&e.strokeText(V[X],s,l),e.fillText(V[X],s,l),l+=F}else z>0&&e.strokeText(u,s,l),e.fillText(u,s,l);0!==d&&(e.rotate(-d),e.translate(-c,-h))}}};var lt={};lt.drawNode=function(e,t,n){var r,i,a,o,s=!(arguments.length>3)||void 0===arguments[3]||arguments[3],l=!(arguments.length>4)||void 0===arguments[4]||arguments[4],u=!(arguments.length>5)||void 0===arguments[5]||arguments[5],c=this,h=t._private,d=h.rscratch,p=t.position();if(!!M(p.x)&&!!M(p.y)&&(!u||!!t.visible())){var f=u?t.effectiveOpacity():1,g=c.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(o=n,e.translate(-o.x1,-o.y1));for(var b=t.pstyle("background-image").value,x=Array(b.length),w=Array(b.length),E=0,k=0;k0&&void 0!==arguments[0]?arguments[0]:P;c.eleFillStyle(e,t,n)},W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R;c.colorStrokeStyle(e,_[0],_[1],_[2],t)},H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j;c.colorStrokeStyle(e,V[0],V[1],V[2],t)},G=function(e,t,n,r){var i,a=c.nodePathCache=c.nodePathCache||[],o=eX("polygon"===n?n+","+r.join(","):n,""+t,""+e,""+X),s=a[o],l=!1;return null!=s?(i=s,l=!0,d.pathCache=i):(i=new Path2D,a[o]=d.pathCache=i),{path:i,cacheHit:l}},U=t.pstyle("shape").strValue,K=t.pstyle("shape-polygon-points").pfValue;if(g){e.translate(p.x,p.y);var Z=G(r,i,U,K);a=Z.path,v=Z.cacheHit}var $=function(){if(!v){var n=p;g&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(t)].draw(a||e,n.x,n.y,r,i,X,d)}g?e.fill(a):e.fill()},Q=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=h.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;c.hasPie(t)&&(c.drawPie(e,t,a),n&&!g&&c.nodeShapes[c.getNodeShape(t)].draw(e,p.x,p.y,r,i,X,d))},ee=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,n=D>0?0:255;0!==D&&(c.colorFillStyle(e,n,n,n,(D>0?D:-D)*t),g?e.fill(a):e.fill())},et=function(){if(T>0){if(e.lineWidth=T,e.lineCap=N,e.lineJoin=A,e.setLineDash)switch(B){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash(O),e.lineDashOffset=L;break;case"solid":case"double":e.setLineDash([])}if("center"!==I){if(e.save(),e.lineWidth*=2,"inside"===I)g?e.clip(a):e.clip();else{var t=new Path2D;t.rect(-r/2-T,-i/2-T,r+2*T,i+2*T),t.addPath(a),e.clip(t,"evenodd")}g?e.stroke(a):e.stroke(),e.restore()}else g?e.stroke(a):e.stroke();if("double"===B){e.lineWidth=T/3;var n=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",g?e.stroke(a):e.stroke(),e.globalCompositeOperation=n}e.setLineDash&&e.setLineDash([])}},en=function(){if(z>0){if(e.lineWidth=z,e.lineCap="butt",e.setLineDash)switch(F){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}var n=p;g&&(n={x:0,y:0});var a=c.getNodeShape(t),o=T;"inside"===I&&(o=0),"outside"===I&&(o*=2);var s=(r+o+(z+q))/r,l=(i+o+(z+q))/i,u=r*s,h=i*l,d=c.nodeShapes[a].points;if(g&&(S=G(u,h,a,d).path),"ellipse"===a)c.drawEllipsePath(S||e,n.x,n.y,u,h);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(a)){var f=0,v=0,y=0;"round-diamond"===a?f=(o+q+z)*1.4:"round-heptagon"===a?(f=(o+q+z)*1.075,y=-(o/2+q+z)/35):"round-hexagon"===a?f=(o+q+z)*1.12:"round-pentagon"===a?(f=(o+q+z)*1.13,y=-(o/2+q+z)/15):"round-tag"===a?(f=(o+q+z)*1.12,v=(o/2+z+q)*.07):"round-triangle"===a&&(f=Math.PI/2*(o+q+z),y=-(o+q/2+z)/Math.PI),0!==f&&(s=(r+f)/r,u=r*s,!["round-hexagon","round-tag"].includes(a)&&(l=(i+f)/i,h=i*l)),X="auto"===X?ni(u,h):X;for(var b=u/2,x=h/2,w=X+(o+z+q)/2,E=Array(d.length/2),k=Array(d.length/2),C=0;C0){if(r=r||n.position(),null==i||null==a){var h=n.padding();i=n.width()+2*h,a=n.height()+2*h}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o,c),t.fill()}}}};lt.drawNodeOverlay=ln("overlay"),lt.drawNodeUnderlay=ln("underlay"),lt.hasPie=function(e){return(e=e[0])._private.hasPie},lt.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=Math.min(t.width(),t.height())/2,u=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var c=1;c<=i.pieBackgroundN;c++){var h=t.pstyle("pie-"+c+"-background-size").value,d=t.pstyle("pie-"+c+"-background-color").value,p=t.pstyle("pie-"+c+"-background-opacity").value*n,f=h/100;f+u>1&&(f=1-u);var g=1.5*Math.PI+2*Math.PI*u,v=g+2*Math.PI*f;if(0!==h&&!(u>=1)&&!(u+f>1))e.beginPath(),e.moveTo(o,s),e.arc(o,s,l,g,v),e.closePath(),this.colorFillStyle(e,d[0],d[1],d[2],p),e.fill(),u+=f}};var lr={};lr.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=this.cy.window(),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(t.devicePixelRatio||1)/n},lr.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var b=l.style(),x=l.zoom(),w=void 0!==i?i:x,E=l.pan(),k={x:E.x,y:E.y},C={zoom:x,pan:{x:E.x,y:E.y}},S=o.prevViewport;!(void 0===S||C.zoom!==S.zoom||C.pan.x!==S.pan.x||C.pan.y!==S.pan.y)&&!(g&&!f)&&(o.motionBlurPxRatio=1),a&&(k=a),w*=s,k.x*=s,k.y*=s;var D=o.getCachedZSortedEles();function T(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function P(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,l=w,c=o.canvasWidth,h=o.canvasHeight):(s={x:E.x*p,y:E.y*p},l=x*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?T(e,0,0,c,h):!t&&(void 0===r||r)&&e.clearRect(0,0,c,h),!n&&(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(!h&&(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var _=o.data.bufferContexts[o.TEXTURE_BUFFER];_.setTransform(1,0,0,1,0,0),_.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:_,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult});var C=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight};C.mpan={x:(0-C.pan.x)/C.zoom,y:(0-C.pan.y)/C.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var M=u.contexts[o.NODE],B=o.textureCache.texture,C=o.textureCache.viewport;M.setTransform(1,0,0,1,0,0),d?T(M,0,0,C.width,C.height):M.clearRect(0,0,C.width,C.height);var A=b.core("outside-texture-bg-color").value,N=b.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,A[0],A[1],A[2],N),M.fillRect(0,0,C.width,C.height);var x=l.zoom();P(M,!1),M.clearRect(C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s),M.drawImage(B,C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),L=o.hideEdgesOnViewport&&O,R=[];if(R[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,R[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),R[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,R[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||R[o.NODE]){var z=d&&!R[o.NODE]&&1!==p,M=t||(z?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]);P(M,d&&!z?"motionBlur":void 0),L?o.drawCachedNodes(M,D.nondrag,s,I):o.drawLayeredElements(M,D.nondrag,s,I),o.debug&&o.drawDebugPoints(M,D.nondrag),!n&&!d&&(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||R[o.DRAG])){var z=d&&!R[o.DRAG]&&1!==p,M=t||(z?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]);P(M,d&&!z?"motionBlur":void 0),L?o.drawCachedNodes(M,D.drag,s,I):o.drawCachedElements(M,D.drag,s,I),o.debug&&o.drawDebugPoints(M,D.drag),!n&&!d&&(c[o.DRAG]=!1)}if(o.showFps||!r&&c[o.SELECT_BOX]&&!n){var M=t||u.contexts[o.SELECT_BOX];if(P(M),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){var x=o.cy.zoom(),V=b.core("selection-box-border-width").value/x;M.lineWidth=V,M.fillStyle="rgba("+b.core("selection-box-color").value[0]+","+b.core("selection-box-color").value[1]+","+b.core("selection-box-color").value[2]+","+b.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]),V>0&&(M.strokeStyle="rgba("+b.core("selection-box-border-color").value[0]+","+b.core("selection-box-border-color").value[1]+","+b.core("selection-box-border-color").value[2]+","+b.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){var x=o.cy.zoom(),F=u.bgActivePosistion;M.fillStyle="rgba("+b.core("active-bg-color").value[0]+","+b.core("active-bg-color").value[1]+","+b.core("active-bg-color").value[2]+","+b.core("active-bg-opacity").value+")",M.beginPath(),M.arc(F.x,F.y,b.core("active-bg-size").pfValue/x,0,2*Math.PI),M.fill()}var j=o.lastRedrawTime;if(o.showFps&&j){var q=Math.round(1e3/(j=Math.round(j)));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 = "+j+" ms = "+q+" fps",0,20);M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(q/60,1),20)}!n&&(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var X=u.contexts[o.NODE],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],W=u.contexts[o.DRAG],H=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],G=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):T(e,0,0,o.canvasWidth,o.canvasHeight);e.drawImage(t,0,0,o.canvasWidth*p,o.canvasHeight*p,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||R[o.NODE])&&(G(X,Y,R[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||R[o.DRAG])&&(G(W,H,R[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=C,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(o.motionBlurTimeout=setTimeout(function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()},100)),!t&&l.emit("render")};var li={};li.drawPolygonPath=function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var f=t.pan(),g={x:f.x*l,y:f.y*l};l*=t.zoom(),d.translate(g.x,g.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-g.x,-g.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h};function lc(e){var t=e.indexOf(",");return e.substr(t+1)}function lh(e,t,n){var r=function(){return t.toDataURL(n,e.quality)};switch(e.output){case"blob-promise":return new rh(function(r,i){try{t.toBlob(function(e){null!=e?r(e):i(Error("`canvas.toBlob()` sent a null value in its callback"))},n,e.quality)}catch(e){i(e)}});case"blob":return function(e,t){for(var n=atob(e),r=new ArrayBuffer(n.length),i=new Uint8Array(r),a=0;a{!e.state&&(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,a.bH.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/6cca1acc.862a884f.js b/pr-preview/pr-3/assets/js/6cca1acc.862a884f.js new file mode 100644 index 0000000..e9a5502 --- /dev/null +++ b/pr-preview/pr-3/assets/js/6cca1acc.862a884f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1460"],{19991:function(e,n,r){r.r(n),r.d(n,{metadata:()=>t,contentTitle:()=>d,default:()=>l,assets:()=>c,toc:()=>o,frontMatter:()=>a});var t=JSON.parse('{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","source":"@site/docs/spec/primitive_types.md","sourceDirName":"spec","slug":"/spec/primitive_types","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/primitive_types.md","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1731114929000,"sidebarPosition":4,"frontMatter":{"id":"primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","sidebar_position":4,"tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Project Bundle","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle"}}'),s=r("85893"),i=r("50065");let a={id:"primitive_types",title:"Primitive Types",description:"Fundamental basic data types supported by JSON Schema",sidebar_position:4,tags:["developer"]},d=void 0,c={},o=[{value:"String",id:"string",level:2},{value:"Date and Time",id:"date-and-time",level:3},{value:"Email",id:"email",level:3},{value:"Hostname",id:"hostname",level:3},{value:"IP Address",id:"ip-address",level:3},{value:"Resource Identifier",id:"resource-identifier",level:3},{value:"URI Template",id:"uri-template",level:3},{value:"Regular Expression",id:"regular-expression",level:3},{value:"Numeric",id:"numeric",level:2},{value:"Object",id:"object",level:2},{value:"Array",id:"array",level:2},{value:"Boolean",id:"boolean",level:2},{value:"Null",id:"null",level:2},{value:"References",id:"references",level:2},{value:"Government Standards",id:"government-standards",level:3},{value:"Technical Standards",id:"technical-standards",level:3},{value:"Errata",id:"errata",level:3}];function h(e){let n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.p,{children:["The JSON Schema specifies fundamental\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"data types"}),"\nthat can be used and defined within a schema."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string",children:"string"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric#number",children:"number"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric#integer",children:"integer"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/object",children:"object"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/array",children:"array"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/boolean",children:"boolean"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/null",children:"null"})}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["These types are consistent with what can be expected within the standardized JavaScript Object Notation (JSON) format\n(",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"}),"). Most implementation languages support these constructs, but\nmay represent them with different names. We recommend referring to the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"JSON schema data types"})," documentation as a primary\nsource for standards representation guidance, followed by the ",(0,s.jsx)(n.a,{href:"#government-standards",children:"government standards guidance"})," and\nensuring that the content represent meets both."]}),"\n",(0,s.jsx)(n.h2,{id:"string",children:"String"}),"\n",(0,s.jsxs)(n.p,{children:["Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as\nspecified in ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3629",children:"RFC 3629"}),", which is an extension of the ",(0,s.jsx)(n.a,{href:"https://www.iso.org/standard/76835.html",children:"ISO 10646-1"}),"\nstandard."]}),"\n",(0,s.jsxs)(n.p,{children:["Strings may be optionally constrained by properties such as ",(0,s.jsx)(n.code,{children:"minLength"}),", ",(0,s.jsx)(n.code,{children:"maxLength"})," and by Regular Expression\n",(0,s.jsx)(n.code,{children:"pattern"}),". In addition, there are common\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#built-in-formats",children:"built-in"})," ",(0,s.jsx)(n.code,{children:"format"})," types that a\nstring may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation\nfor more detail on the available built-in format types."]}),"\n",(0,s.jsx)(n.h3,{id:"date-and-time",children:"Date and Time"}),"\n",(0,s.jsxs)(n.p,{children:["Date and/or time formats shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6",children:"RFC 3339, section 5.6"})," format, also commonly known as\n",(0,s.jsx)(n.a,{href:"https://www.iso.org/iso-8601-date-and-time-format.html",children:"ISO 8601"}),". Unless otherwise specified, ",(0,s.jsx)(n.code,{children:"date-time"})," shall be\ninternally stored and represented in a format compatible with ",(0,s.jsx)(n.a,{href:"https://en.wikipedia.org/wiki/Unix_time",children:"unix/epoch"}),"\ntime."]}),"\n",(0,s.jsxs)(n.p,{children:["If the time is specified, such as when either the ",(0,s.jsx)(n.code,{children:"time"})," or ",(0,s.jsx)(n.code,{children:"date-time"})," formats are used, the time representations\nshall be encoded in UTC time. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#dates-and-times",children:"JSON Schema documentation"})," for more\nspecific examples."]}),"\n",(0,s.jsx)(n.admonition,{type:"warning",children:(0,s.jsxs)(n.p,{children:["Note that the ",(0,s.jsx)(n.code,{children:"duration"})," format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard."]})}),"\n",(0,s.jsx)(n.h3,{id:"email",children:"Email"}),"\n",(0,s.jsxs)(n.p,{children:["Email addresses with format ",(0,s.jsx)(n.code,{children:"email"})," shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.2",children:"RFC 5321, section 4.1.2"})," format. Emails may also be\nconveyed in internationalized format ",(0,s.jsx)(n.code,{children:"idn-email"})," which will be compliant to\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6531",children:"RFC 6531"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#email-addresses",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"hostname",children:"Hostname"}),"\n",(0,s.jsxs)(n.p,{children:["Hostnames with format ",(0,s.jsx)(n.code,{children:"hostname"})," shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc1123#section-2",children:"RFC 1123, section 2.1"})," format. Hostnames may also be conveyed\nin internationalized format ",(0,s.jsx)(n.code,{children:"idn-hostname"})," which will be compliant to\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5890#section-2.3.2.3",children:"RFC 5890, section 2.3.2.3"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#hostnames",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"ip-address",children:"IP Address"}),"\n",(0,s.jsxs)(n.p,{children:["IP Addresses may either be formatted in ",(0,s.jsx)(n.code,{children:"ipv4"})," or ",(0,s.jsx)(n.code,{children:"ipv6"})," formats. If IPv4 is used, it shall comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2673#section-3.2",children:"RFC 2673, section 3.2"}),". If IPv6 is used, it shall comply\nwith ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2373#section-2.2",children:"RFC 2373, section 2.2"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#ip-addresses",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"resource-identifier",children:"Resource Identifier"}),"\n",(0,s.jsxs)(n.p,{children:["Universal resource identifiers will use format ",(0,s.jsx)(n.code,{children:"uri"})," and comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3986",children:"RFC 3986"}),". There are other less commonly used formats described in the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#resource-identifiers",children:"JSON Schema documentation"}),"."]}),"\n",(0,s.jsxs)(n.admonition,{type:"warning",children:[(0,s.jsxs)(n.p,{children:["Note that the ",(0,s.jsx)(n.code,{children:"uuid"})," format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard.\nInstead, uuid strings shall be constrained with the equivalent uuid versioned regular expression ",(0,s.jsx)(n.code,{children:"pattern"}),". For most\ncases, uuid v4 will be used. When a uuid is used, it shall comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc4122",children:"RFC 4122"}),". The regular expression to be used when specifying uuids will\nbe ",(0,s.jsx)(n.code,{children:"/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i"})," in order to remain version agnostic and maximize\ncompatibility."]}),(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsxs)(n.p,{children:["While there is ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc9562",children:"RFC 9562"})," which extends RFC 4122 by adding in uuid\nversions 6-8, these are likely not supportable with the ",(0,s.jsx)(n.code,{children:"uuid"})," format yet and will require further review if and when\nthese newer uuid versions are used."]})})]}),"\n",(0,s.jsx)(n.h3,{id:"uri-template",children:"URI Template"}),"\n",(0,s.jsxs)(n.p,{children:["URI Templates with format ",(0,s.jsx)(n.code,{children:"uri-template"})," provide a way to specify a Unique Resource Identifier that contains parameters\nthat must be substituted in before the URI may be resolved. This should comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6570",children:"RFC 6570"}),". Check the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#uri-template",children:"JSON Schema documentation"})," for\nmore details."]}),"\n",(0,s.jsx)(n.h3,{id:"regular-expression",children:"Regular Expression"}),"\n",(0,s.jsxs)(n.p,{children:["Regular expressions with format ",(0,s.jsx)(n.code,{children:"regex"})," should comply with the\n",(0,s.jsx)(n.a,{href:"https://ecma-international.org/publications-and-standards/standards/ecma-262/",children:"ECMA 262"})," dialect. Check the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#regular-expressions",children:"JSON Schema documentation"})," for\nmore details."]}),"\n",(0,s.jsx)(n.h2,{id:"numeric",children:"Numeric"}),"\n",(0,s.jsxs)(n.p,{children:["Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to\ndifferentiate between integers and floating-point values. It is not possible to reliably infer if the value is an\ninteger or floating-point value solely based on the presence of a decimal point. As such, we recommend using a ",(0,s.jsx)(n.code,{children:"number"}),"\ntype in lieu of the ",(0,s.jsx)(n.code,{children:"integer"})," type for most scenarios that do not require integer level precision."]}),"\n",(0,s.jsxs)(n.p,{children:["Numbers and integers may be optionally constrained by properties such as ",(0,s.jsx)(n.code,{children:"multipleOf"}),", ",(0,s.jsx)(n.code,{children:"minimum"}),", ",(0,s.jsx)(n.code,{children:"maximum"}),",\n",(0,s.jsx)(n.code,{children:"exclusiveMinimum"})," and ",(0,s.jsx)(n.code,{children:"exclusiveMaximum"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric",children:"JSON Schema documentation"})," for more specific\nexamples."]}),"\n",(0,s.jsx)(n.h2,{id:"object",children:"Object"}),"\n",(0,s.jsxs)(n.p,{children:["Objects are used for unordered key-value mappings. In JSON, the key shall always be a ",(0,s.jsx)(n.a,{href:"#string",children:"string"}),', and a\nkey-value pair is conventionally called a "property". As objects can have various requirements, nestings, and\nstructuring, there is extensive documentation outlining how objects can constrain the key namings, define the required\nand/or expected properties, as well as define relationships and inclusion of other schemas into its own definition.']}),"\n",(0,s.jsxs)(n.p,{children:["More specific details on what can be done can be found in the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/object",children:"JSON Schema documentation"}),"."]}),"\n",(0,s.jsx)(n.h2,{id:"array",children:"Array"}),"\n",(0,s.jsxs)(n.p,{children:["Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such,\narray definitions may either constrain the type of elements with the ",(0,s.jsx)(n.code,{children:"items"})," keyword, or use the ",(0,s.jsx)(n.code,{children:"contains"})," keyword to\nprovide a looser expectation of what kinds of elements are expected."]}),"\n",(0,s.jsxs)(n.p,{children:["Other array constraints such as ",(0,s.jsx)(n.code,{children:"uniqueness"}),", ",(0,s.jsx)(n.code,{children:"minContains"}),", ",(0,s.jsx)(n.code,{children:"maxContains"}),", ",(0,s.jsx)(n.code,{children:"minItems"})," and ",(0,s.jsx)(n.code,{children:"maxItems"})," may also be used\nto describe the boundaries of the array. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/array",children:"JSON Schema documentation"})," for more specific examples."]}),"\n",(0,s.jsx)(n.h2,{id:"boolean",children:"Boolean"}),"\n",(0,s.jsxs)(n.p,{children:["Booleans are used to represent only two possible values: ",(0,s.jsx)(n.code,{children:"true"})," or ",(0,s.jsx)(n.code,{children:"false"}),". While certain languages may evaluate other\nvalues to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first\nprior to encoding. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/boolean",children:"JSON Schema documentation"})," for more details."]}),"\n",(0,s.jsx)(n.h2,{id:"null",children:"Null"}),"\n",(0,s.jsxs)(n.p,{children:["Null is used to represent no value, and can only have a single acceptable value ",(0,s.jsx)(n.code,{children:"null"}),". Note that null does not equate\nto the absence of a value, or undefined. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/null",children:"JSON Schema documentation"})," for more details."]}),"\n",(0,s.jsx)(n.h2,{id:"references",children:"References"}),"\n",(0,s.jsx)(n.h3,{id:"government-standards",children:"Government Standards"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/assets/gov/government/services-for-government-and-broader-public-sector/information-technology-services/standards-files/address_data_standards_-_mailing_delivery_residential.pdf",children:"Address Data Standards: Mailing, Delivery and Residential"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/assets/gov/government/services-for-government-and-broader-public-sector/information-technology-services/standards-files/date_and_time_standard.pdf",children:"Date and Time Standard"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/health-information-standards/standards-catalogue/date-time",children:"B.C. Health Information Standards for Date and Time"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://bcgov.github.io/data-publication/pages/dsg_naming_describing.html",children:"Naming and Describing"})}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"technical-standards",children:"Technical Standards"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://ecma-international.org/publications-and-standards/standards/ecma-262/",children:"ECMA 262"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"JSON Schema Types"})}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc1123",children:"RFC 1123"})," (Internet Hosts)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2373",children:"RFC 2373"})," (IPv6)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2673",children:"RFC 2673"})," (IPv4)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3339",children:"RFC 3339"})," (Date and Time)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3629",children:"RFC 3629"})," (UTF-8)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3986",children:"RFC 3986"})," (URI)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc4122",children:"RFC 4122"})," (UUID v1-5)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5321",children:"RFC 5321"})," (Email/SMTP)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5890",children:"RFC 5890"})," (Internationalized Domain Names)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6531",children:"RFC 6531"})," (Internationalized Email)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6570",children:"RFC 6570"})," (URI Template)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," (JSON)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc9562",children:"RFC 9562"})," (UUID v6-8)"]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"errata",children:"Errata"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://ajv.js.org/guide/schema-language.html#json-schema",children:"JSON Schema Version Comparison"})}),"\n"]})]})}function l(e={}){let{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},50065:function(e,n,r){r.d(n,{Z:function(){return d},a:function(){return a}});var t=r(67294);let s={},i=t.createContext(s);function a(e){let n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/709.4491edf1.js b/pr-preview/pr-3/assets/js/709.4491edf1.js new file mode 100644 index 0000000..9d4ecec --- /dev/null +++ b/pr-preview/pr-3/assets/js/709.4491edf1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["709"],{91167:function(r,e,s){s.d(e,{diagram:function(){return l}});var a=s(91040);s(10626),s(88984),s(33071),s(28162),s(16302),s(80587),s(4511),s(92719),s(7690);var n=s(5995),l={parser:a.P0,db:a.pl,renderer:a.b0,styles:a.Ee,init:(0,n.eW)(r=>{!r.class&&(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.pl.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/72af4c84.b75d945c.js b/pr-preview/pr-3/assets/js/72af4c84.b75d945c.js new file mode 100644 index 0000000..3a35bde --- /dev/null +++ b/pr-preview/pr-3/assets/js/72af4c84.b75d945c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8652"],{20021:function(e,s,r){r.r(s),r.d(s,{metadata:()=>t,contentTitle:()=>a,default:()=>c,assets:()=>l,toc:()=>u,frontMatter:()=>n});var t=JSON.parse('{"id":"docusaurus/tutorial_basics/deploy_your_site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","source":"@site/docs/docusaurus/tutorial_basics/deploy_your_site.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/deploy_your_site","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/deploy_your_site.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":5,"frontMatter":{"sidebar_position":5},"sidebar":"tutorialSidebar","previous":{"title":"Markdown Features","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features"},"next":{"title":"Congratulations!","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations"}}'),o=r("85893"),i=r("50065");let n={sidebar_position:5},a="Deploy your site",l={},u=[{value:"Build your site",id:"build-your-site",level:2},{value:"Deploy your site",id:"deploy-your-site-1",level:2}];function d(e){let s={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"deploy-your-site",children:"Deploy your site"})}),"\n",(0,o.jsxs)(s.p,{children:["Docusaurus is a ",(0,o.jsx)(s.strong,{children:"static-site-generator"})," (also called ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://jamstack.org/",children:"Jamstack"})}),")."]}),"\n",(0,o.jsxs)(s.p,{children:["It builds your site as simple ",(0,o.jsx)(s.strong,{children:"static HTML, JavaScript and CSS files"}),"."]}),"\n",(0,o.jsx)(s.h2,{id:"build-your-site",children:"Build your site"}),"\n",(0,o.jsxs)(s.p,{children:["Build your site ",(0,o.jsx)(s.strong,{children:"for production"}),":"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run build\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The static files are generated in the ",(0,o.jsx)(s.code,{children:"build"})," folder."]}),"\n",(0,o.jsx)(s.h2,{id:"deploy-your-site-1",children:"Deploy your site"}),"\n",(0,o.jsx)(s.p,{children:"Test your production build locally:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run serve\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"build"})," folder is now served at ",(0,o.jsx)(s.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,o.jsxs)(s.p,{children:["You can now deploy the ",(0,o.jsx)(s.code,{children:"build"})," folder ",(0,o.jsx)(s.strong,{children:"almost anywhere"})," easily, ",(0,o.jsx)(s.strong,{children:"for free"})," or very small cost (read the ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://docusaurus.io/docs/deployment",children:"Deployment Guide"})}),")."]})]})}function c(e={}){let{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},50065:function(e,s,r){r.d(s,{Z:function(){return a},a:function(){return n}});var t=r(67294);let o={},i=t.createContext(o);function n(e){let s=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:n(e.components),t.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/7408.c4a276ca.js b/pr-preview/pr-3/assets/js/7408.c4a276ca.js new file mode 100644 index 0000000..0f9d147 --- /dev/null +++ b/pr-preview/pr-3/assets/js/7408.c4a276ca.js @@ -0,0 +1,56 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7408"],{14238:function(t,e,i){i.d(e,{diagram:function(){return U}});var n=i(5995),r=i(27818),s=i(77845),a=i(86750),l=i(35035),o=function(){var t=(0,n.eW)(function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},"o"),e=[6,8,10,11,12,14,16,17,20,21],i=[1,9],r=[1,10],s=[1,11],a=[1,12],l=[1,13],o=[1,16],c=[1,17],h={trace:(0,n.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:(0,n.eW)(function(t,e,i,n,r,s,a){var l=s.length-1;switch(r){case 1:return s[l-1];case 2:case 6:case 7:this.$=[];break;case 3:s[l-1].push(s[l]),this.$=s[l-1];break;case 4:case 5:this.$=s[l];break;case 8:n.getCommonDb().setDiagramTitle(s[l].substr(6)),this.$=s[l].substr(6);break;case 9:this.$=s[l].trim(),n.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=s[l].trim(),n.getCommonDb().setAccDescription(this.$);break;case 12:n.addSection(s[l].substr(8)),this.$=s[l].substr(8);break;case 15:n.addTask(s[l],0,""),this.$=s[l];break;case 16:n.addEvent(s[l].substr(2)),this.$=s[l]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:r,14:s,16:a,17:l,18:14,19:15,20:o,21:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:i,12:r,14:s,16:a,17:l,18:14,19:15,20:o,21:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:(0,n.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,n.eW)(function(t){var e=this,i=[0],r=[],s=[null],a=[],l=this.table,o="",c=0,h=0,d=0,u=a.slice.call(arguments,1),p=Object.create(this.lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=this.yy[g]);p.setInput(t,y.yy),y.yy.lexer=p,y.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;a.push(f);var m=p.options&&p.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,n.eW)(function(t){i.length=i.length-2*t,s.length=s.length-t,a.length=a.length-t},"popStack"),(0,n.eW)(x,"lex");for(var b,_,k,w,v,W,S,$,M,E={};;){if(k=i[i.length-1],this.defaultActions[k]?w=this.defaultActions[k]:(null==b&&(b=x()),w=l[k]&&l[k][b]),void 0===w||!w.length||!w[0]){var I="";for(W in M=[],l[k])this.terminals_[W]&&W>2&&M.push("'"+this.terminals_[W]+"'");I=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(I,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:f,expected:M})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+b);switch(w[0]){case 1:i.push(b),s.push(p.yytext),a.push(p.yylloc),i.push(w[1]),b=null,_?(b=_,_=null):(h=p.yyleng,o=p.yytext,c=p.yylineno,f=p.yylloc,d>0&&d--);break;case 2:if(S=this.productions_[w[1]][1],E.$=s[s.length-S],E._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},m&&(E._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),void 0!==(v=this.performAction.apply(E,[o,h,c,y.yy,w[1],s,a].concat(u))))return v;S&&(i=i.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),i.push(this.productions_[w[1]][0]),s.push(E.$),a.push(E._$),$=l[i[i.length-2]][i[i.length-1]],i.push($);break;case 3:return!0}}return!0},"parse")},d={EOF:1,parseError:(0,n.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,n.eW)(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},"setInput"),input:(0,n.eW)(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},"input"),unput:(0,n.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,n.eW)(function(){return this._more=!0,this},"more"),reject:(0,n.eW)(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})},"reject"),less:(0,n.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,n.eW)(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,"")},"upcomingInput"),showPosition:(0,n.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,n.eW)(function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},"test_match"),next:(0,n.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,n.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,n.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,n.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.eW)(function(t,e,i,n){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\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:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};function u(){this.yy={}}return h.lexer=d,(0,n.eW)(u,"Parser"),u.prototype=h,h.Parser=u,new u}();o.parser=o;var c={};(0,n.r2)(c,{addEvent:()=>k,addSection:()=>m,addTask:()=>_,addTaskOrg:()=>w,clear:()=>f,default:()=>W,getCommonDb:()=>g,getSections:()=>x,getTasks:()=>b});var h="",d=0,u=[],p=[],y=[],g=(0,n.eW)(()=>n.LJ,"getCommonDb"),f=(0,n.eW)(function(){u.length=0,p.length=0,h="",y.length=0,(0,n.ZH)()},"clear"),m=(0,n.eW)(function(t){h=t,u.push(t)},"addSection"),x=(0,n.eW)(function(){return u},"getSections"),b=(0,n.eW)(function(){let t=v(),e=0;for(;!t&&e<100;)t=v(),e++;return p.push(...y),p},"getTasks"),_=(0,n.eW)(function(t,e,i){let n={id:d++,section:h,type:h,task:t,score:e||0,events:i?[i]:[]};y.push(n)},"addTask"),k=(0,n.eW)(function(t){y.find(t=>t.id===d-1).events.push(t)},"addEvent"),w=(0,n.eW)(function(t){let e={section:h,type:h,description:t,task:t,classes:[]};p.push(e)},"addTaskOrg"),v=(0,n.eW)(function(){let t=(0,n.eW)(function(t){return y[t].processed},"compileTask"),e=!0;for(let[i,n]of y.entries())t(i),e=e&&n.processed;return e},"compileTasks"),W={clear:f,getCommonDb:g,addSection:m,getSections:x,getTasks:b,addTask:_,addTaskOrg:w,addEvent:k},S=(0,n.eW)(function(t,e){let i=t.append("rect");return i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),i.attr("rx",e.rx),i.attr("ry",e.ry),void 0!==e.class&&i.attr("class",e.class),i},"drawRect"),$=(0,n.eW)(function(t,e){let i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),s=t.append("g");function a(t){let i=(0,r.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function l(t){let i=(0,r.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).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 s.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"),s.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"),(0,n.eW)(a,"smile"),(0,n.eW)(l,"sad"),(0,n.eW)(o,"ambivalent"),e.score>3?a(s):e.score<3?l(s):o(s),i},"drawFace"),M=(0,n.eW)(function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},"drawCircle"),E=(0,n.eW)(function(t,e){let i=e.text.replace(//gi," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),void 0!==e.class&&n.attr("class",e.class);let r=n.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(i),n},"drawText"),I=(0,n.eW)(function(t,e){function i(t,e,i,n,r){return t+","+e+" "+(t+i)+","+e+" "+(t+i)+","+(e+n-r)+" "+(t+i-1.2*r)+","+(e+n)+" "+t+","+(e+n)}(0,n.eW)(i,"genPoints");let r=t.append("polygon");r.attr("points",i(e.x,e.y,50,20,7)),r.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,E(t,e)},"drawLabel"),T=(0,n.eW)(function(t,e,i){let n=t.append("g"),r=P();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=i.width,r.height=i.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,S(n,r),H(i)(e.text,n,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},i,e.colour)},"drawSection"),A=-1,N=(0,n.eW)(function(t,e,i){let n=e.x+i.width/2,r=t.append("g");A++;r.append("line").attr("id","task"+A).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),$(r,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=P();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width,s.height=i.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,S(r,s),H(i)(e.task,r,s.x,s.y,s.width,s.height,{class:"task"},i,e.colour)},"drawTask"),C=(0,n.eW)(function(t,e){S(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},"drawBackgroundRect"),L=(0,n.eW)(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),P=(0,n.eW)(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),H=function(){function t(t,e,i,n,s,a,l,o){r(e.append("text").attr("x",i+s/2).attr("y",n+a/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,n,s,a,l,o,c){let{taskFontSize:h,taskFontFamily:d}=o,u=t.split(//gi);for(let t=0;t)/).reverse(),s=[],a=i.attr("y"),l=parseFloat(i.attr("dy")),o=i.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",l+"em");for(let r=0;re||"
    "===t)&&(s.pop(),o.text(s.join(" ").trim()),s="
    "===t?[""]:[t],o=i.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))})}(0,n.eW)(j,"wrap");var D=(0,n.eW)(function(t,e,i,n){let r=i%12-1,s=t.append("g");e.section=r,s.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+r);let a=s.append("g"),l=s.append("g"),o=l.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(j,e.width).node().getBBox(),c=n.fontSize?.replace?n.fontSize.replace("px",""):n.fontSize;return e.height=o.height+.55*c+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,l.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),R(a,e,r,n),e},"drawNode"),z=(0,n.eW)(function(t,e,i){let n=t.append("g"),r=n.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(j,e.width).node().getBBox(),s=i.fontSize?.replace?i.fontSize.replace("px",""):i.fontSize;return n.remove(),r.height+.55*s+e.padding},"getVirtualNodeHeight"),R=(0,n.eW)(function(t,e,i){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${-e.height+10} 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-"+i).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},"defaultBkg"),B={initGraphics:O,drawNode:D,getVirtualNodeHeight:z},F=(0,n.eW)(function(t,e,i,s){let a;let l=(0,n.nV)(),o=l.leftMargin??50;n.cM.debug("timeline",s.db);let c=l.securityLevel;"sandbox"===c&&(a=(0,r.Ys)("#i"+e));let h=("sandbox"===c?(0,r.Ys)(a.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);h.append("g");let d=s.db.getTasks(),u=s.db.getCommonDb().getDiagramTitle();n.cM.debug("task",d),B.initGraphics(h);let p=s.db.getSections();n.cM.debug("sections",p);let y=0,g=0,f=0,m=0,x=50+o,b=50;m=50;let _=0,k=!0;p.forEach(function(t){let e={number:_,descr:t,section:_,width:150,padding:20,maxHeight:y},i=B.getVirtualNodeHeight(h,e,l);n.cM.debug("sectionHeight before draw",i),y=Math.max(y,i+20)});let w=0,v=0;for(let[t,e]of(n.cM.debug("tasks.length",d.length),d.entries())){let i={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:g},r=B.getVirtualNodeHeight(h,i,l);n.cM.debug("taskHeight before draw",r),g=Math.max(g,r+20),w=Math.max(w,e.events.length);let s=0;for(let t of e.events){let i={descr:t,section:e.section,number:e.section,width:150,padding:20,maxHeight:50};s+=B.getVirtualNodeHeight(h,i,l)}v=Math.max(v,s)}n.cM.debug("maxSectionHeight before draw",y),n.cM.debug("maxTaskHeight before draw",g),p&&p.length>0?p.forEach(t=>{let e=d.filter(e=>e.section===t),i={number:_,descr:t,section:_,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:y};n.cM.debug("sectionNode",i);let r=h.append("g"),s=B.drawNode(r,i,_,l);n.cM.debug("sectionNode output",s),r.attr("transform",`translate(${x}, ${m})`),b+=y+50,e.length>0&&V(h,e,_,x,b,g,l,w,v,y,!1),x+=200*Math.max(e.length,1),b=m,_++}):(k=!1,V(h,d,_,x,b,g,l,w,v,y,!0));let W=h.node().getBBox();n.cM.debug("bounds",W),u&&h.append("text").text(u).attr("x",W.width/2-o).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),f=k?y+g+150:g+100,h.append("g").attr("class","lineWrapper").append("line").attr("x1",o).attr("y1",f).attr("x2",W.width+3*o).attr("y2",f).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,n.j7)(void 0,h,l.timeline?.padding??50,l.timeline?.useMaxWidth??!1)},"draw"),V=(0,n.eW)(function(t,e,i,r,s,a,l,o,c,h,d){for(let o of e){let e={descr:o.task,section:i,number:i,width:150,padding:20,maxHeight:a};n.cM.debug("taskNode",e);let u=t.append("g").attr("class","taskWrapper"),p=B.drawNode(u,e,i,l).height;if(n.cM.debug("taskHeight after draw",p),u.attr("transform",`translate(${r}, ${s})`),a=Math.max(a,p),o.events){let e=t.append("g").attr("class","lineWrapper"),n=a;s+=100,Y(t,o.events,i,r,s,l),s-=100,e.append("line").attr("x1",r+95).attr("y1",s+a).attr("x2",r+95).attr("y2",s+a+(d?a:h)+c+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}r+=200,d&&!l.timeline?.disableMulticolor&&i++}},"drawTasks"),Y=(0,n.eW)(function(t,e,i,r,s,a){let l=0,o=s;for(let o of(s+=100,e)){let e={descr:o,section:i,number:i,width:150,padding:20,maxHeight:50};n.cM.debug("eventNode",e);let c=t.append("g").attr("class","eventWrapper"),h=B.drawNode(c,e,i,a).height;l+=h,c.attr("transform",`translate(${r}, ${s})`),s=s+10+h}return s=o,l},"drawEvents"),Z={setConf:(0,n.eW)(()=>{},"setConf"),draw:F},q=(0,n.eW)(t=>{let e="";for(let e=0;e` + .edge { + stroke-width: 3; + } + ${q(t)} + .section-root rect, .section-root path, .section-root circle { + fill: ${t.git0}; + } + .section-root text { + fill: ${t.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .eventWrapper { + filter: brightness(120%); + } +`,"getStyles"),U={db:c,renderer:Z,parser:o,styles:G}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/7554.0efa1e71.js b/pr-preview/pr-3/assets/js/7554.0efa1e71.js new file mode 100644 index 0000000..75ae4b2 --- /dev/null +++ b/pr-preview/pr-3/assets/js/7554.0efa1e71.js @@ -0,0 +1,29 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7554"],{17646:function(e,t,i){function a(e,t){e.accDescr&&t.setAccDescription?.(e.accDescr),e.accTitle&&t.setAccTitle?.(e.accTitle),e.title&&t.setDiagramTitle?.(e.title)}i.d(t,{A:function(){return a}}),(0,i(5995).eW)(a,"populateCommonDb")},37279:function(e,t,i){i.d(t,{diagram:function(){return k}});var a=i(17646),l=i(7690),r=i(94159),n=i(5995),s=i(3194),c=i(27818),o=n.vZ.pie,p={sections:new Map,showData:!1,config:o},d=p.sections,u=p.showData,g=structuredClone(o),f=(0,n.eW)(()=>structuredClone(g),"getConfig"),h=(0,n.eW)(()=>{d=new Map,u=p.showData,(0,n.ZH)()},"clear"),x=(0,n.eW)(({label:e,value:t})=>{!d.has(e)&&(d.set(e,t),n.cM.debug(`added new section: ${e}, with value: ${t}`))},"addSection"),m=(0,n.eW)(()=>d,"getSections"),w=(0,n.eW)(e=>{u=e},"setShowData"),S=(0,n.eW)(()=>u,"getShowData"),T={getConfig:f,clear:h,setDiagramTitle:n.g2,getDiagramTitle:n.Kr,setAccTitle:n.GN,getAccTitle:n.eu,setAccDescription:n.U$,getAccDescription:n.Mx,addSection:x,getSections:m,setShowData:w,getShowData:S},$=(0,n.eW)((e,t)=>{(0,a.A)(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},"populateDb"),y={parse:(0,n.eW)(async e=>{let t=await (0,s.Qc)("pie",e);n.cM.debug(t),$(t,T)},"parse")},D=(0,n.eW)(e=>` + .pieCircle{ + stroke: ${e.pieStrokeColor}; + stroke-width : ${e.pieStrokeWidth}; + opacity : ${e.pieOpacity}; + } + .pieOuterCircle{ + stroke: ${e.pieOuterStrokeColor}; + stroke-width: ${e.pieOuterStrokeWidth}; + fill: none; + } + .pieTitleText { + text-anchor: middle; + font-size: ${e.pieTitleTextSize}; + fill: ${e.pieTitleTextColor}; + font-family: ${e.fontFamily}; + } + .slice { + font-family: ${e.fontFamily}; + fill: ${e.pieSectionTextColor}; + font-size:${e.pieSectionTextSize}; + // fill: white; + } + .legend text { + fill: ${e.pieLegendTextColor}; + font-family: ${e.fontFamily}; + font-size: ${e.pieLegendTextSize}; + } +`,"getStyles"),C=(0,n.eW)(e=>{let t=[...e.entries()].map(e=>({label:e[0],value:e[1]})).sort((e,t)=>t.value-e.value);return(0,c.ve8)().value(e=>e.value)(t)},"createPieArcs"),W=(0,n.eW)((e,t,i,a)=>{n.cM.debug("rendering pie chart\n"+e);let s=a.db,o=(0,n.nV)(),p=(0,l.Rb)(s.getConfig(),o.pie),d=(0,r.P)(t),u=d.append("g");u.attr("transform","translate(225,225)");let{themeVariables:g}=o,[f]=(0,l.VG)(g.pieOuterStrokeWidth);f??=2;let h=p.textPosition,x=185,m=(0,c.Nb1)().innerRadius(0).outerRadius(x),w=(0,c.Nb1)().innerRadius(x*h).outerRadius(x*h);u.append("circle").attr("cx",0).attr("cy",0).attr("r",x+f/2).attr("class","pieOuterCircle");let S=s.getSections(),T=C(S),$=[g.pie1,g.pie2,g.pie3,g.pie4,g.pie5,g.pie6,g.pie7,g.pie8,g.pie9,g.pie10,g.pie11,g.pie12],y=(0,c.PKp)($);u.selectAll("mySlices").data(T).enter().append("path").attr("d",m).attr("fill",e=>y(e.data.label)).attr("class","pieCircle");let D=0;S.forEach(e=>{D+=e}),u.selectAll("mySlices").data(T).enter().append("text").text(e=>(e.data.value/D*100).toFixed(0)+"%").attr("transform",e=>"translate("+w.centroid(e)+")").style("text-anchor","middle").attr("class","slice"),u.append("text").text(s.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");let W=u.selectAll(".legend").data(y.domain()).enter().append("g").attr("class","legend").attr("transform",(e,t)=>{let i=22,a=22*y.domain().length/2;return"translate(216,"+(t*i-a)+")"});W.append("rect").attr("width",18).attr("height",18).style("fill",y).style("stroke",y),W.data(T).append("text").attr("x",22).attr("y",14).text(e=>{let{label:t,value:i}=e.data;return s.getShowData()?`${t} [${i}]`:t});let k=512+Math.max(...W.selectAll("text").nodes().map(e=>e?.getBoundingClientRect().width??0));d.attr("viewBox",`0 0 ${k} 450`),(0,n.v2)(d,450,k,p.useMaxWidth)},"draw"),k={parser:y,db:T,renderer:{draw:W},styles:D}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/7614.6338e782.js b/pr-preview/pr-3/assets/js/7614.6338e782.js new file mode 100644 index 0000000..6a9ddfe --- /dev/null +++ b/pr-preview/pr-3/assets/js/7614.6338e782.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7614"],{79726:function(t,e,a){a.d(e,{diagram:function(){return L}});var n,i=a(2785);a(10626),a(88984),a(33071),a(28162),a(16302),a(80587),a(4511),a(92719);var r=a(7690),d=a(5995),s=a(27818),o=a(49235),g=a(50043),l={},p=(0,d.eW)((t,e)=>{l[t]=e},"set"),h=(0,d.eW)(t=>l[t],"get"),c=(0,d.eW)(()=>Object.keys(l),"keys"),x=(0,d.eW)(()=>c().length,"size"),V=p,u=(0,d.eW)(t=>t.append("circle").attr("class","start-state").attr("r",(0,d.nV)().state.sizeUnit).attr("cx",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit).attr("cy",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit),"drawStartState"),f=(0,d.eW)(t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,d.nV)().state.textHeight).attr("class","divider").attr("x2",2*(0,d.nV)().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),y=(0,d.eW)((t,e)=>{let a=t.append("text").attr("x",2*(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.textHeight+2*(0,d.nV)().state.padding).attr("font-size",(0,d.nV)().state.fontSize).attr("class","state-title").text(e.id),n=a.node().getBBox();return t.insert("rect",":first-child").attr("x",(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.padding).attr("width",n.width+2*(0,d.nV)().state.padding).attr("height",n.height+2*(0,d.nV)().state.padding).attr("rx",(0,d.nV)().state.radius),a},"drawSimpleState"),w=(0,d.eW)((t,e)=>{let a=(0,d.eW)(function(t,e,a){let n=t.append("tspan").attr("x",2*(0,d.nV)().state.padding).text(e);!a&&n.attr("dy",(0,d.nV)().state.textHeight)},"addTspan"),n=t.append("text").attr("x",2*(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.textHeight+1.3*(0,d.nV)().state.padding).attr("font-size",(0,d.nV)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=n.height,r=t.append("text").attr("x",(0,d.nV)().state.padding).attr("y",i+.4*(0,d.nV)().state.padding+(0,d.nV)().state.dividerMargin+(0,d.nV)().state.textHeight).attr("class","state-description"),s=!0,o=!0;e.descriptions.forEach(function(t){!s&&(a(r,t,o),o=!1),s=!1});let g=t.append("line").attr("x1",(0,d.nV)().state.padding).attr("y1",(0,d.nV)().state.padding+i+(0,d.nV)().state.dividerMargin/2).attr("y2",(0,d.nV)().state.padding+i+(0,d.nV)().state.dividerMargin/2).attr("class","descr-divider"),l=r.node().getBBox(),p=Math.max(l.width,n.width);return g.attr("x2",p+3*(0,d.nV)().state.padding),t.insert("rect",":first-child").attr("x",(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.padding).attr("width",p+2*(0,d.nV)().state.padding).attr("height",l.height+i+2*(0,d.nV)().state.padding).attr("rx",(0,d.nV)().state.radius),t},"drawDescrState"),b=(0,d.eW)((t,e,a)=>{let n;let i=(0,d.nV)().state.padding,r=2*(0,d.nV)().state.padding,s=t.node().getBBox(),o=s.width,g=s.x,l=t.append("text").attr("x",0).attr("y",(0,d.nV)().state.titleShift).attr("font-size",(0,d.nV)().state.fontSize).attr("class","state-title").text(e.id),p=l.node().getBBox().width+r,h=Math.max(p,o);h===o&&(h+=r);let c=t.node().getBBox();e.doc,n=g-i,p>o&&(n=(o-h)/2+i),Math.abs(g-c.x)o&&(n=g-(p-o)/2);let x=1-(0,d.nV)().state.textHeight;return t.insert("rect",":first-child").attr("x",n).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",c.height+(0,d.nV)().state.textHeight+(0,d.nV)().state.titleShift+1).attr("rx","0"),l.attr("x",n+i),p<=o&&l.attr("x",g+(h-r)/2-p/2+i),t.insert("rect",":first-child").attr("x",n).attr("y",(0,d.nV)().state.titleShift-(0,d.nV)().state.textHeight-(0,d.nV)().state.padding).attr("width",h).attr("height",3*(0,d.nV)().state.textHeight).attr("rx",(0,d.nV)().state.radius),t.insert("rect",":first-child").attr("x",n).attr("y",(0,d.nV)().state.titleShift-(0,d.nV)().state.textHeight-(0,d.nV)().state.padding).attr("width",h).attr("height",c.height+3+2*(0,d.nV)().state.textHeight).attr("rx",(0,d.nV)().state.radius),t},"addTitleAndBox"),B=(0,d.eW)(t=>(t.append("circle").attr("class","end-state-outer").attr("r",(0,d.nV)().state.sizeUnit+(0,d.nV)().state.miniPadding).attr("cx",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+(0,d.nV)().state.miniPadding).attr("cy",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+(0,d.nV)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,d.nV)().state.sizeUnit).attr("cx",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+2).attr("cy",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+2)),"drawEndState"),m=(0,d.eW)((t,e)=>{let a=(0,d.nV)().state.forkWidth,n=(0,d.nV)().state.forkHeight;if(e.parentId){let t=a;a=n,n=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",n).attr("x",(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.padding)},"drawForkJoinState"),k=(0,d.eW)((t,e,a,n)=>{let i=0,r=n.append("text");r.style("text-anchor","start"),r.attr("class","noteText");let s=t.replace(/\r\n/g,"
    "),o=(s=s.replace(/\n/g,"
    ")).split(d.SY.lineBreakRegex),g=1.25*(0,d.nV)().state.noteMargin;for(let t of o){let n=t.trim();if(n.length>0){let t=r.append("tspan");t.text(n),0===g&&(g+=t.node().getBBox().height),i+=g,t.attr("x",e+(0,d.nV)().state.noteMargin),t.attr("y",a+i+1.25*(0,d.nV)().state.noteMargin)}}return{textWidth:r.node().getBBox().width,textHeight:i}},"_drawLongText"),M=(0,d.eW)((t,e)=>{e.attr("class","state-note");let a=e.append("rect").attr("x",0).attr("y",(0,d.nV)().state.padding),{textWidth:n,textHeight:i}=k(t,0,0,e.append("g"));return a.attr("height",i+2*(0,d.nV)().state.noteMargin),a.attr("width",n+2*(0,d.nV)().state.noteMargin),a},"drawNote"),S=(0,d.eW)(function(t,e){let a=e.id,n={id:a,label:e.id,width:0,height:0},i=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&u(i),"end"===e.type&&B(i),("fork"===e.type||"join"===e.type)&&m(i,e),"note"===e.type&&M(e.note.text,i),"divider"===e.type&&f(i),"default"===e.type&&0===e.descriptions.length&&y(i,e),"default"===e.type&&e.descriptions.length>0&&w(i,e);let r=i.node().getBBox();return n.width=r.width+2*(0,d.nV)().state.padding,n.height=r.height+2*(0,d.nV)().state.padding,V(a,n),n},"drawState"),W=0,E=(0,d.eW)(function(t,e,a){let n=(0,d.eW)(function(t){switch(t){case i.bH.relationType.AGGREGATION:return"aggregation";case i.bH.relationType.EXTENSION:return"extension";case i.bH.relationType.COMPOSITION:return"composition";case i.bH.relationType.DEPENDENCY:return"dependency"}},"getRelationType");e.points=e.points.filter(t=>!Number.isNaN(t.y));let o=e.points,g=(0,s.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(s.$0Z),l=t.append("path").attr("d",g(o)).attr("id","edge"+W).attr("class","transition"),p="";if((0,d.nV)().state.arrowMarkerAbsolute&&(p=(p=(p=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),l.attr("marker-end","url("+p+"#"+n(i.bH.relationType.DEPENDENCY)+"End)"),void 0!==a.title){let n=t.append("g").attr("class","stateLabel"),{x:i,y:s}=r.w8.calcLabelPosition(e.points),o=d.SY.getRows(a.title),g=0,l=[],p=0,h=0;for(let t=0;t<=o.length;t++){let e=n.append("text").attr("text-anchor","middle").text(o[t]).attr("x",i).attr("y",s+g),a=e.node().getBBox();p=Math.max(p,a.width),h=Math.min(h,a.x),d.cM.info(a.x,i,s+g),0===g&&(g=e.node().getBBox().height,d.cM.info("Title height",g,s)),l.push(e)}let c=g*o.length;if(o.length>1){let t=(o.length-1)*g*.5;l.forEach((e,a)=>e.attr("y",s+a*g-t)),c=g*o.length}let x=n.node().getBBox();n.insert("rect",":first-child").attr("class","box").attr("x",i-p/2-(0,d.nV)().state.padding/2).attr("y",s-c/2-(0,d.nV)().state.padding/2-3.5).attr("width",p+(0,d.nV)().state.padding).attr("height",c+(0,d.nV)().state.padding),d.cM.info(x)}W++},"drawEdge"),N={},v=(0,d.eW)(function(){},"setConf"),H=(0,d.eW)(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")},"insertMarkers"),z=(0,d.eW)(function(t,e,a,i){let r;n=(0,d.nV)().state;let o=(0,d.nV)().securityLevel;"sandbox"===o&&(r=(0,s.Ys)("#i"+e));let g="sandbox"===o?(0,s.Ys)(r.nodes()[0].contentDocument.body):(0,s.Ys)("body"),l="sandbox"===o?r.nodes()[0].contentDocument:document;d.cM.debug("Rendering diagram "+t);let p=g.select(`[id='${e}']`);H(p),D(i.db.getRootDoc(),p,void 0,!1,g,l,i);let h=n.padding,c=p.node().getBBox(),x=c.width+2*h,V=c.height+2*h;(0,d.v2)(p,V,1.75*x,n.useMaxWidth),p.attr("viewBox",`${c.x-n.padding} ${c.y-n.padding} `+x+" "+V)},"draw"),T=(0,d.eW)(t=>t?t.length*n.fontSizeFactor:1,"getLabelWidth"),D=(0,d.eW)((t,e,a,i,r,s,l)=>{let p;let h=new g.k({compound:!0,multigraph:!0}),c=!0;for(p=0;p{let e=t.parentElement,a=0,n=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),Number.isNaN(n=parseInt(e.getAttribute("data-x-shift"),10))&&(n=0)),t.setAttribute("x1",0-n+8),t.setAttribute("x2",a-n-8)})):d.cM.debug("No Node "+t+": "+JSON.stringify(h.node(t)))});let w=y.getBBox();h.edges().forEach(function(t){void 0!==t&&void 0!==h.edge(t)&&(d.cM.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(h.edge(t))),E(e,h.edge(t),h.edge(t).relation))}),w=y.getBBox();let B={id:a||"root",label:a||"root",width:0,height:0};return B.width=w.width+2*n.padding,B.height=w.height+2*n.padding,d.cM.debug("Doc rendered",B,h),B},"renderDoc"),L={parser:i.J8,db:i.bH,renderer:{setConf:v,draw:z},styles:i.Ee,init:(0,d.eW)(t=>{!t.state&&(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.bH.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/7717.62fafe66.js b/pr-preview/pr-3/assets/js/7717.62fafe66.js new file mode 100644 index 0000000..b0e7bff --- /dev/null +++ b/pr-preview/pr-3/assets/js/7717.62fafe66.js @@ -0,0 +1,19 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7717"],{54301:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={schemaItem:"schemaItem_buZn",schemaName:"schemaName_Rg3q",strikethrough:"strikethrough_g4yO"}},72893:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={constant:"constant_erHY"}},80740:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={deprecated:"deprecated_iwIh"}},27177:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={readOnly:"readOnly_RjRF"}},96043:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={required:"required_k7Xu"}},28728:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={writeOnly:"writeOnly_QX6I"}},69655:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;t.Cache=class e{constructor(e={}){this._stats={hits:0,misses:0},this._data={},this._stdTTL=e.stdTTL}get stats(){return this._stats}get(e){let t=this._data[e];if(t&&(!this._stdTTL||new Date().getTime()-t.ts{!r&&(r="#");let a=this._runner.computeRef({val:e,jsonPointer:r,pointerStack:n});if(void 0!==a)this._resolveRef({ref:a,val:e,parentPath:t,pointerStack:n,parentPointer:r,cacheKey:r,resolvingPointer:this.jsonPointer});else if("object"==typeof e)for(let i in e){if(!e.hasOwnProperty(i))continue;let u=e[i],l=o.addToJSONPointer(r,i);a=this._runner.computeRef({key:i,val:u,jsonPointer:l,pointerStack:n}),t.push(i),void 0!==a?this._resolveRef({ref:a,val:u,parentPath:t,parentPointer:l,pointerStack:n,cacheKey:o.uriToJSONPointer(a),resolvingPointer:this.jsonPointer}):"object"==typeof u&&this.computeGraph(u,t,l,n),t.pop()}},this._resolveRef=e=>{let{pointerStack:t,parentPath:r,parentPointer:a,ref:u}=e;if(o.uriIsJSONPointer(u)){if(this._runner.dereferenceInline){let e;let l=o.uriToJSONPointer(u);try{e=(0,n.pointerToPath)(l)}catch(e){this._resolved.errors.push({code:"PARSE_POINTER",message:`'${u}' JSON pointer is invalid`,uri:this._runner.baseUri,uriStack:this._runner.uriStack,pointerStack:[],path:[]});return}let s=e.length>0;for(let t in e)if(r[t]!==e[t]){s=!1;break}if(s)return;!this.pointerStemGraph.hasNode(l)&&this.pointerStemGraph.addNode(l);let c="#",f="";for(let t=0;t{if(t&&"object"==typeof t&&"string"==typeof t.$ref)return t.$ref};class g{constructor(e,r=new o.DepGraph({circular:!0}),u={}){this.ctx={},this.computeRef=e=>{let t=this.getRef(e.key,e.val);if(void 0===t)return;let r=new f.ExtendedURI(t);if("#"!==t[0]){if(this.isFile(r)){let e=r.toString();!r.is("absolute")&&(e=this.baseUri.toString()?(0,i.join)((0,i.dirname)(this.baseUri.toString()),(0,i.stripRoot)(e)):""),e&&(r=new c((0,i.toFSPath)(e)).fragment(r.fragment()))}else(r.scheme().includes("http")||""===r.scheme()&&this.baseUri.scheme().includes("http"))&&""!==this.baseUri.authority()&&""===r.authority()&&(r=r.absoluteTo(this.baseUri))}return(String(r).length>0&&this.isFile(this.baseUri)&&this.isFile(r)&&this.baseUri.path()===r.path()&&(r=new f.ExtendedURI(`#${r.fragment()}`)),this.transformRef)?this.transformRef(Object.assign(Object.assign({},e),{ref:r,uri:this.baseUri}),this.ctx):r},this.atMaxUriDepth=()=>this.uriStack.length>=100,this.lookupUri=e=>n.__awaiter(this,void 0,void 0,function*(){let{ref:t}=e,r=t.scheme();!this.resolvers[r]&&this.isFile(t)&&(r="file");let n=this.resolvers[r];if(!n)throw Error(`No resolver defined for scheme '${t.scheme()||"file"}' in ref ${t.toString()}`);let a=yield n.resolve(t,this.ctx);if(this.parseResolveResult)try{a=(yield this.parseResolveResult({uriResult:a,result:a,targetAuthority:t,parentAuthority:this.baseUri,parentPath:e.parentPath,fragment:e.fragment})).result}catch(e){throw Error(`Could not parse remote reference response for '${t.toString()}' - ${String(e)}`)}return new g(a,this.graph,{depth:this.depth+1,baseUri:t.toString(),root:t,uriStack:this.uriStack,uriCache:this.uriCache,resolvers:this.resolvers,transformRef:this.transformRef,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult,dereferenceRemote:this.dereferenceRemote,dereferenceInline:this.dereferenceInline,ctx:this.ctx})}),this.lookupAndResolveUri=e=>n.__awaiter(this,void 0,void 0,function*(){let{val:t,ref:r,resolvingPointer:n,parentPointer:i,pointerStack:o}=e,u=e.parentPath?e.parentPath.slice():[],l=this.computeUriCacheKey(r),c={uri:r,pointerStack:o,targetPath:n===i?[]:u};if(this.uriStack.includes(l))c.resolved={result:t,graph:this.graph,refMap:{},errors:[],runner:this};else{let e;let n=this.baseUri.toString(),i=n&&0!==this.depth?n:null;try{if(this.atMaxUriDepth())throw Error(`Max uri depth (${this.uriStack.length}) reached. Halting, this is probably a circular loop.`);e=yield this.lookupUri({ref:r.clone().fragment(""),fragment:r.fragment(),cacheKey:l,parentPath:u}),i&&(e.uriStack=e.uriStack.concat(i))}catch(e){c.error={code:"RESOLVE_URI",message:String(e),uri:r,uriStack:i?this.uriStack.concat(i):this.uriStack,pointerStack:o,path:u}}if(e&&(c.resolved=yield e.resolve({jsonPointer:p.uriToJSONPointer(r),parentPath:u}),c.resolved.errors.length)){for(let e of c.resolved.errors)if("POINTER_MISSING"===e.code&&e.path.join("/")===r.fragment().slice(1)){let n=r.fragment?(0,a.trimStart)(e.path,(0,a.trimStart)(r.fragment(),"/").split("/")):e.path;n&&n.length?s(c.resolved.result,n,t):c.resolved.result&&(c.resolved.result=t)}}}return c}),this.id=v+=1,this.depth=u.depth||0,this._source=e,this.resolvers=u.resolvers||{};let l=u.baseUri||"",h=new c(l||"");this.isFile(h)&&(h=new c((0,i.toFSPath)(l))),this.baseUri=h,this.uriStack=u.uriStack||[],this.uriCache=u.uriCache||new d.Cache,this.root=u.root&&u.root.toString()||this.baseUri.toString()||"root",this.graph=r,!this.graph.hasNode(this.root)&&this.graph.addNode(this.root,{refMap:{},data:this._source}),this.baseUri&&0===this.depth&&this.uriCache.set(this.computeUriCacheKey(this.baseUri),this),this.getRef=u.getRef||t.defaultGetRef,this.transformRef=u.transformRef,this.depth?this.dereferenceInline=!0:this.dereferenceInline=void 0===u.dereferenceInline||u.dereferenceInline,this.dereferenceRemote=void 0===u.dereferenceRemote||u.dereferenceRemote,this.parseResolveResult=u.parseResolveResult,this.transformDereferenceResult=u.transformDereferenceResult,this.ctx=u.ctx,this.lookupUri=m(this.lookupUri,{serializer:this._cacheKeySerializer,cache:{create:()=>this.uriCache}})}get source(){return this._source}resolve(e){return n.__awaiter(this,void 0,void 0,function*(){let t;let r={result:this.source,graph:this.graph,refMap:{},errors:[],runner:this},n=e&&e.jsonPointer&&e.jsonPointer.trim();if(n&&"#"!==n&&"#/"!==n){try{t=(0,a.pointerToPath)(n)}catch(e){return r.errors.push({code:"PARSE_POINTER",message:`'${n}' JSON pointer is invalid`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:[]}),r}r.result=l(r.result,t)}if(void 0===r.result)return r.errors.push({code:"POINTER_MISSING",message:`'${n}' does not exist @ '${this.baseUri.toString()}'`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:t||[]}),r;let i=new h.ResolveCrawler(this,n,r);i.computeGraph(r.result,t,n||"");let o=[];if(i.resolvers.length&&(o=yield Promise.all(i.resolvers)),o.length)for(let e of o){let n=e.targetPath;if(!n.length&&(n=t||[]),r.refMap[String(this.baseUri.clone().fragment((0,a.pathToPointer)(n)))]=String(e.uri),this._setGraphNodeEdge(String(this.root),(0,a.pathToPointer)(n),String(e.uri)),e.error&&r.errors.push(e.error),!!e.resolved)e.resolved.errors&&(r.errors=r.errors.concat(e.resolved.errors)),void 0!==e.resolved.result&&(this._source=(0,u.default)(this._source,t=>{if(e.resolved){if(!n.length)return e.resolved.result;s(t,n,e.resolved.result),this._setGraphNodeData(String(e.uri),e.resolved.result)}}))}if("object"==typeof this._source?(this.dereferenceInline&&(this._source=(0,u.default)(this._source,e=>{let t=[];try{for(let n of t=i.pointerGraph.overallOrder()){let t=i.pointerGraph.dependantsOf(n);if(!t.length)continue;let o=(0,a.pointerToPath)(n),c=0===o.length?(0,u.original)(e):l(e,o);for(let u of t){let t;let l=(0,a.pointerToPath)(u);for(let e of i.pointerStemGraph.dependenciesOf(n))if((0,a.startsWith)(l,(0,a.pointerToPath)(e))){t=!0;break}!t&&(r.refMap[(0,a.pathToPointer)(l)]=(0,a.pathToPointer)(o),this._setGraphNodeEdge(this.root,(0,a.pathToPointer)(l),(0,a.pathToPointer)(o)),void 0!==c?(s(e,l,c),this._setGraphNodeData((0,a.pathToPointer)(o),c)):r.errors.push({code:"POINTER_MISSING",message:`'${n}' does not exist`,path:l,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[]}))}}}catch(e){}})),t?r.result=l(this._source,t):r.result=this._source):r.result=this._source,this.transformDereferenceResult){let a=new c(n||"");try{let{result:t,error:n}=yield this.transformDereferenceResult({source:this.source,result:r.result,targetAuthority:a,parentAuthority:this.baseUri,parentPath:e&&e.parentPath||[],fragment:a.fragment()});if(r.result=t,n)throw Error(`Could not transform dereferenced result for '${a.toString()}' - ${String(n)}`)}catch(e){r.errors.push({code:"TRANSFORM_DEREFERENCED",message:`Error: Could not transform dereferenced result for '${this.baseUri.toString()}${""!==a.fragment()?`#${a.fragment()}`:""}' - ${String(e)}`,uri:a,uriStack:this.uriStack,pointerStack:[],path:t})}}return this._setGraphNodeData(this.root,this._source),r})}_cacheKeySerializer(e){return e&&"object"==typeof e&&e.cacheKey?e.cacheKey:JSON.stringify(arguments)}computeUriCacheKey(e){return e.clone().fragment("").toString()}isFile(e){let t=e.scheme();if("file"===t)return!0;if(t){if(!this.resolvers[t])return!0}else{if("/"===e.toString().charAt(0))return!0;if(this.baseUri){let e=this.baseUri.scheme();return!!(!e||"file"===e||!this.resolvers[e])}}return!1}_setGraphNodeData(e,t){if(!this.graph.hasNode(e))return;let r=this.graph.getNodeData(e)||{};r.data=t,this.graph.setNodeData(e,r)}_setGraphNodeEdge(e,t,r){if(!this.graph.hasNode(e))return;let n=this.graph.getNodeData(e)||{};n.refMap=n.refMap||{},n.refMap[t]=r,this.graph.setNodeData(e,n)}}t.ResolveRunner=g},16283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedURI=void 0;let n=r(54998);t.ExtendedURI=class e extends n{constructor(e){super(e),this._value=e.trim()}get length(){return this._value.length}}},32234:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriIsJSONPointer=t.uriToJSONPointer=t.addToJSONPointer=void 0;let r=(e,t,r)=>{let n=e.toString(),a="",i=n,o=0,u=i.indexOf(t);for(;u>-1;)a+=n.substring(o,o+u)+r,i=i.substring(u+t.length,i.length),o+=u+t.length,u=i.indexOf(t);return i.length>0&&(a+=n.substring(n.length-i.length,n.length)),a},n=e=>r(r(e,"~","~0"),"/","~1");t.addToJSONPointer=(e,t)=>`${e}/${n(t)}`;t.uriToJSONPointer=e=>"length"in e&&0===e.length?"":""!==e.fragment()?`#${e.fragment()}`:""===e.href()?"#":"";t.uriIsJSONPointer=e=>(!("length"in e)||e.length>0)&&""===e.path()},85504:function(e,t,r){"use strict";r.r(t),r.d(t,{getLocationForJsonPath:()=>eh,ERRORS_ROOT:()=>en,getLastPathSegment:()=>ed,decycle:()=>eu,encodeUriPointer:()=>$,extractPointerFromRef:()=>es,getFirstPrimitiveProperty:()=>ec,parseTree:()=>em,toPropertyPath:()=>ek,trapAccess:()=>eI,isExternalRef:()=>K,decodePointerFragment:()=>eo,safeStringify:()=>eP,startsWith:()=>ew,KEYS:()=>eA,BUNDLE_ROOT:()=>er,safeParse:()=>ej,renameObjectKey:()=>eg,extractSourceFromRef:()=>Z,resolveInlineRefWithLocation:()=>et,pointerToPath:()=>B,resolveExternalRef:()=>eE,isPlainObject:()=>A,stringify:()=>eS,traverse:()=>W,resolveInlineRef:()=>ee,parseWithPointers:()=>ep,isLocalRef:()=>D,decodePointer:()=>J,encodePointerUriFragment:()=>z,remapRefs:()=>G,hasRef:()=>R,reparentBundleTarget:()=>e_,getJsonPathForPosition:()=>ef,trimStart:()=>eR,resolveExternalRefWithLocation:()=>eO,encodePointer:()=>el,bundleTarget:()=>ea,decodePointerUriFragment:()=>J,pathToPointer:()=>F,encodePointerFragment:()=>T});var n,a,i,o,u,l,s,c,f,d,h,p=r("96486"),m=r("75966");function v(e,t){void 0===t&&(t=!1);var r=e.length,n=0,a="",i=0,o=16,u=0,l=0,s=0,c=0,f=0;function d(){if(a="",f=0,i=n,l=u,c=s,n>=r)return i=r,o=17;var t=e.charCodeAt(n);if(g(t)){do n++,a+=String.fromCharCode(t),t=e.charCodeAt(n);while(g(t));return o=15}if(y(t))return n++,a+=String.fromCharCode(t),13===t&&10===e.charCodeAt(n)&&(n++,a+="\n"),u++,s=n,o=14;switch(t){case 123:return n++,o=1;case 125:return n++,o=2;case 91:return n++,o=3;case 93:return n++,o=4;case 58:return n++,o=6;case 44:return n++,o=5;case 34:return n++,a=function(){for(var t="",a=n;;){if(n>=r){t+=e.substring(a,n),f=2;break}var i=e.charCodeAt(n);if(34===i){t+=e.substring(a,n),n++;break}if(92===i){if(t+=e.substring(a,n),++n>=r){f=2;break}switch(e.charCodeAt(n++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:var o=function(t,r){for(var a=0,i=0;a<4||!r;){var o=e.charCodeAt(n);if(o>=48&&o<=57)i=16*i+o-48;else if(o>=65&&o<=70)i=16*i+o-65+10;else if(o>=97&&o<=102)i=16*i+o-97+10;else break;n++,a++}return a=0?t+=String.fromCharCode(o):f=4;break;default:f=5}a=n;continue}if(i>=0&&i<=31){if(y(i)){t+=e.substring(a,n),f=2;break}f=6}n++}return t}(),o=10;case 47:var d=n-1;if(47===e.charCodeAt(n+1)){for(n+=2;n=12&&e<=15);return e}:d,getToken:function(){return o},getTokenValue:function(){return a},getTokenOffset:function(){return i},getTokenLength:function(){return n-i},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return i-c},getTokenError:function(){return f}}}function g(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function y(e){return 10===e||13===e||8232===e||8233===e}function _(e){return e>=48&&e<=57}(l||(l={})).DEFAULT={allowTrailingComma:!1};var b=function e(t,r,n){var a,i,o;if(void 0===n&&(n=!1),a=t,i=r,void 0===(o=n)&&(o=!1),i>=a.offset&&i0){for(var a=n.getToken();17!==a;){if(-1!==t.indexOf(a)){_();break}if(-1!==r.indexOf(a))break;a=_()}}}function E(e){var t=n.getTokenValue();return e?d(t):u(t),_(),!0}function O(){switch(n.getToken()){case 3:return function(){c(),_();for(var e=!1;4!==n.getToken()&&17!==n.getToken();){if(5===n.getToken()){if(!e&&b(4,[],[]),h(","),_(),4===n.getToken()&&y)break}else e&&b(6,[],[]);!O()&&b(4,[],[4,5]),e=!0}return f(),4!==n.getToken()?b(8,[4],[]):_(),!0}();case 1:return function(){o(),_();for(var e=!1;2!==n.getToken()&&17!==n.getToken();){if(5===n.getToken()){if(!e&&b(4,[],[]),h(","),_(),2===n.getToken()&&y)break}else e&&b(6,[],[]);!(10!==n.getToken()?(b(3,[],[2,5]),!1):(E(!1),6===n.getToken()?(h(":"),_(),!O()&&b(4,[],[2,5])):b(5,[],[2,5]),!0))&&b(4,[],[2,5]),e=!0}return s(),2!==n.getToken()?b(7,[2],[]):_(),!0}();case 10:return E(!0);default:return function(){switch(n.getToken()){case 11:var e=0;try{e=JSON.parse(n.getTokenValue()),"number"!=typeof e&&(b(2),e=0)}catch(e){b(2)}d(e);break;case 7:d(null);break;case 8:d(!0);break;case 9:d(!1);break;default:return!1}return _(),!0}()}}if(_(),17===n.getToken())return!!r.allowEmptyContent||(b(4,[],[]),!1);return O()?(17!==n.getToken()&&b(9,[],[]),!0):(b(4,[],[]),!1)};let j=Math.floor(Date.now()/36e5),x=`__object_order_${j}__`,P=Symbol.for(x);String(P);let w={defineProperty:(e,t,r)=>(!Object.prototype.hasOwnProperty.call(e,t)&&P in e?e[P].push(t):"value"in r&&t===P&&-1===r.value.lastIndexOf(P)&&r.value.push(P),Reflect.defineProperty(e,t,r)),deleteProperty(e,t){let r=Object.prototype.hasOwnProperty.call(e,t),n=Reflect.deleteProperty(e,t);if(n&&r&&P in e){let r=e[P].indexOf(t);-1!==r&&e[P].splice(r,1)}return n},ownKeys:e=>P in e?e[P]:Reflect.ownKeys(e),set(e,t,r){let n=Object.prototype.hasOwnProperty.call(e,t),a=Reflect.set(e,t,r);return a&&!n&&P in e&&e[P].push(t),a}};function S(e){return null!==e&&"object"==typeof e}(n=s||(s={})).None="none",n.Declared="declared",n.InheritedFromService="inheritedFromService",(a=c||(c={})).Unspecified="unspecified",a.Simple="simple",a.Matrix="matrix",a.Label="label",a.Form="form",a.CommaDelimited="commaDelimited",a.SpaceDelimited="spaceDelimited",a.PipeDelimited="pipeDelimited",a.DeepObject="deepObject",a.TabDelimited="tabDelimited",(i=f||(f={}))[i.Error=0]="Error",i[i.Warning=1]="Warning",i[i.Information=2]="Information",i[i.Hint=3]="Hint",(o=d||(d={})).Article="article",o.HttpService="http_service",o.HttpServer="http_server",o.HttpOperation="http_operation",o.HttpCallback="http_callback",o.Model="model",o.Generic="generic",o.Unknown="unknown",o.TableOfContents="table_of_contents",o.SpectralRuleset="spectral_ruleset",o.Styleguide="styleguide",o.Image="image",o.StoplightResolutions="stoplight_resolutions",o.StoplightOverride="stoplight_override",(u=h||(h={})).Json="json",u.Markdown="markdown",u.Yaml="yaml",u.Javascript="javascript",u.Apng="apng",u.Avif="avif",u.Bmp="bmp",u.Gif="gif",u.Jpeg="jpeg",u.Png="png",u.Svg="svg",u.Webp="webp";var k=r("87668"),C=r.n(k);function A(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype||"function"==typeof e.constructor&&Function.toString.call(Object)===Function.toString.call(e.constructor)}function M(e){if("string"!=typeof e.$ref)throw TypeError("$ref should be a string")}let I=e=>A(e)&&"$ref"in e,R=e=>I(e)&&"string"==typeof e.$ref,D=e=>e.length>0&&("#"===e||/^#\S*$/.test(e)),N=(e,t,r)=>{let n=e.toString(),a="",i=n,o=0,u=i.indexOf(t);for(;u>-1;)a+=n.substring(o,o+u)+r,i=i.substring(u+t.length,i.length),o+=u+t.length,u=i.indexOf(t);return i.length>0&&(a+=n.substring(n.length-i.length,n.length)),a},T=e=>"number"==typeof e?e:N(N(e,"~","~0"),"/","~1"),L=/[^a-zA–Z0–9_.!~*'()\/\-\u{D800}-\u{DFFF}]/gu;function $(e){return e.replace(L,encodeURIComponent)}let z=e=>{let t=T(e);return"number"==typeof t?t:$(t)},F=e=>U(e),U=e=>{if(e&&"object"!=typeof e)throw TypeError("Invalid type: path must be an array of segments.");return 0===e.length?"#":`#/${e.map(z).join("/")}`};function Q(e){try{return decodeURIComponent(e)}catch(t){return e}}let q=/%[0-9a-f]+/gi,J=e=>{let t;try{t=decodeURIComponent(e)}catch(r){t=e.replace(q,Q)}return N(N(t,"~1","/"),"~0","~")},B=e=>H(e),H=e=>{if("string"!=typeof e)throw TypeError("Invalid type: JSON Pointers are represented as strings.");if(0===e.length||"#"!==e[0])throw URIError("Invalid JSON Pointer syntax; URI fragment identifiers must begin with a hash.");if(1===e.length)return[];if("/"!==e[1])throw URIError("Invalid JSON Pointer syntax.");return(e=>{let t=e.length,r=[],n=-1;for(;++n{let n={value:e,path:r};for(let a of(t.onEnter&&t.onEnter(n),Object.keys(e))){let n=e[a];t.onProperty&&t.onProperty({parent:e,parentPath:r,property:a,propertyValue:n}),"object"==typeof n&&null!==n&&V(n,t,r.concat(a))}t.onLeave&&t.onLeave(n)},W=(e,t)=>{"object"==typeof e&&null!==e&&V(e,"function"==typeof t?{onProperty:t}:t,[])};function G(e,t,r){W(e,{onProperty({property:e,propertyValue:n,parent:a}){"$ref"===e&&"string"==typeof n&&n.startsWith(t)&&(a.$ref=`${r}${n.slice(t.length)}`)}})}let K=e=>e.length>0&&"#"!==e[0],Z=e=>{if("string"!=typeof e||0===e.length||!K(e))return null;let t=e.indexOf("#");return -1===t?e:e.slice(0,t)};function X(e,t){return A(t)&&A(e)&&("summary"in e||"description"in e)?Object.assign(Object.assign(Object.assign({},t),"description"in e?{description:e.description}:null),"summary"in e?{summary:e.summary}:null):t}function*Y(e,t,r){for(let[n,a]of(I(e.value)&&(M(e.value),yield[-1,e.value]),t.entries()))(function(e,t,r){if(!A(e)&&!Array.isArray(e)||!(t in e))throw ReferenceError(`Could not resolve '${r}'`)})(e.value,a,r),e.value=e.value[a],I(e.value)&&(M(e.value),yield[n,e.value])}function ee(e,t){return et(e,t).value}function et(e,t){return function e(t,r,n,a){if(null!==Z(r))throw ReferenceError("Cannot resolve external references");let i=B(r),o=[...i];"#"===r&&I(t)&&(M(t),i.unshift(...B(t.$ref)));let u={value:t};for(let[l,s]of Y(u,i,r)){if(n.includes(s))return{source:null,location:null!=a?a:o,value:n[n.length-1]};n.push(s);let r=e(t,s.$ref,n,o);u.value=r.value,(o=r.location).push(...i.slice(l+1))}return{source:null,location:o,value:n.length>0?X(n[n.length-1],u.value):u.value}}(e,t,[])}let er="#/__bundled__",en="#/__errors__",ea=({document:e,path:t,bundleRoot:r="#/__bundled__",errorsRoot:n="#/__errors__",cloneDocument:a=!0,keyProvider:i},o)=>{if(t===r||t===n)throw Error("Roots do not make any sense");return ei(a?(0,p.cloneDeep)(e):e,B(r),B(n),t,i)(t,{[t]:!0},o)},ei=(e,t,r,n,a)=>{let i=new Set,o=(u,l,s,c={},f={},d={})=>{let h=B(u),m=(0,p.get)(e,h);W(s||m,{onEnter:({value:r})=>{if(R(r)&&D(r.$ref)){let s,h,m,v,g;let y=r.$ref;if(!d[y]){if(y===u&&(c[y]="#"),c[y])return void(r.$ref=c[y]);try{let r;s=B(y),a&&(r=a({document:e,path:s})),r||(r=(({document:e,path:t})=>0===t.length?"root":Array.isArray((0,p.get)(e,t.slice(0,-1)))?`${t[t.length-2]}_${t[t.length-1]}`:String(t[t.length-1]))({document:e,path:s})),m=r;let n=1;for(;i.has(m);)if(m=`${r}_${++n}`,n>20)throw Error(`Keys ${r}_2 through ${r}_20 already taken.`);i.add(m),h=[...t,m],v=F(h)}catch(e){d[y]=e instanceof Error?e.message:String(e)}if(s&&h&&v){if("object"==typeof e&&null!==e&&!(g=(0,p.get)(e,s)))try{g=ee(Object(e),y)}catch(e){}void 0!==g&&(c[y]=v,r.$ref=v,(0,p.has)(f,h)||(Array.isArray(g)?(0,p.set)(f,h,Array(g.length).fill(null)):"object"==typeof g&&(0,p.setWith)(f,h,{},Object),(0,p.set)(f,h,g),"#"===y?function(e,t,r,n){let a=r.map(e=>`[${JSON.stringify(e)}]`).join(""),i=JSON.parse(JSON.stringify((0,p.omit)(Object(e),a))),o={};(0,p.set)(t,n,i),(0,p.set)(i,r,o),G(i,"#",F(n)),o.$ref="#"}(e,f,B(n),h):l[y]||(l[y]=!0,o(u,l,g,c,f,d),l[y]=!1)))}}}}});let v=(0,p.get)(f,t);return v&&Object.keys(v).length&&(0,p.set)(m,t,v),(Object.keys(d).length||(0,p.has)(e,r))&&(0,p.set)(m,r,(0,p.has)(e,r)?(0,p.get)(e,r):d),m};return o},eo=e=>N(N(e,"~1","/"),"~0","~"),eu=(e,t)=>{let r=new WeakMap;return function e(n,a){let i;if(t&&(n=t(n)),A(n)||Array.isArray(n)){let t=r.get(n);return t?{$ref:t}:(r.set(n,F(a)),Array.isArray(n)?i=n.map((t,r)=>e(t,[...a,String(r)])):(i={},Object.keys(n).forEach(t=>{i[t]=e(n[t],[...a,t])})),r.delete(n),i)}return n}(e,[])},el=e=>N(N(e,"~","~0"),"//","/~1"),es=e=>{if("string"!=typeof e||0===e.length)return null;let t=e.indexOf("#");return -1===t?null:e.slice(t)},ec=e=>{let t=v(e,!0);if(t.scan(),1!==t.getToken()||(t.scan(),2===t.getToken()))return;if(10!==t.getToken())throw SyntaxError("Unexpected character");let r=t.getTokenValue();if(t.scan(),6!==t.getToken())throw SyntaxError("Colon expected");switch(t.scan(),t.getToken()){case 10:return[r,t.getTokenValue()];case 11:return[r,Number(t.getTokenValue())];case 8:return[r,!0];case 9:return[r,!1];case 7:return[r,null];case 16:throw SyntaxError("Unexpected character");case 17:throw SyntaxError("Unexpected end of file");default:return}},ef=({lineMap:e,ast:t},r)=>{let n=e[r.line],a=e[r.line+1];if(void 0===n)return;let i=b(t,void 0===a?n+r.character:Math.min(a,n+r.character),!0);if(void 0===i)return;let o=E(i);return 0!==o.length?o:void 0};function ed(e){return eo(e.split("/").pop()||"")}let eh=({ast:e},t,r=!1)=>{let n=function(e,t,r){e:for(let n of t){let t=Number.isInteger(Number(n))?Number(n):n;if("string"==typeof t||"number"==typeof t&&"array"!==e.type){if("object"!==e.type||!Array.isArray(e.children))return r?e:void 0;for(let r of e.children)if(Array.isArray(r.children)&&r.children[0].value===String(t)&&2===r.children.length){e=r.children[1];continue e}return r?e:void 0}if("array"!==e.type||t<0||!Array.isArray(e.children)||t>=e.children.length)return r?e:void 0;e=e.children[t]}return e}(e,t,r);if(void 0!==n&&void 0!==n.range)return{range:n.range}},ep=(e,t={disallowComments:!0})=>{let r=[],{ast:n,data:a,lineMap:i}=em(e,r,t);return{data:a,diagnostics:r,ast:n,lineMap:i}};function em(e,t=[],r){let n=ev(e),a={type:"array",offset:-1,length:-1,children:[],parent:void 0},i=null,o=[],u=new WeakMap,l=[];function s(e){"property"===a.type&&(a.length=e-a.offset,a=a.parent)}function c(e,t,r){return{start:{line:e,character:t},end:{line:e,character:t+r}}}function d(e){return a.children.push(e),e}function h(e){Array.isArray(o)?o.push(e):null!==i&&(o[i]=e)}function p(e){h(e),l.push(o),o=e,i=null}function m(){o=l.pop()}O(e,{onObjectBegin:(e,t,n,i)=>{a=d({type:"object",offset:e,length:-1,parent:a,children:[],range:c(n,i,t)}),!1===r.ignoreDuplicateKeys&&u.set(a,[]),p(!0===r.preserveKeyOrder?function(e,t=Reflect.ownKeys(e)){(function(e,t){if(function(){return"undefined"==typeof process||!S(process)||S(process.env),!1}()&&!function(e){if(!S(e))return!1;if(void 0!==e[Symbol.toStringTag]){let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}return"Object"===function(e){let t=e[Symbol.toStringTag];if("string"==typeof t)return t;let r=Reflect.apply(Object.prototype.toString,e,[]);return r.slice(8,r.length-1)}(e)}(e))throw TypeError(t)})(e);let r=new Proxy(e,w);return function(e,t){P in e?(e[P].length=0,e[P].push(...t),!0):Reflect.defineProperty(e,P,{configurable:!0,value:t})}(r,t),r}({}):{})},onObjectProperty:(e,n,l,s,h)=>{if((a=d({type:"property",offset:n,length:-1,parent:a,children:[]})).children.push({type:"string",value:e,offset:n,length:l,parent:a}),!1===r.ignoreDuplicateKeys){let r=u.get(a.parent);r&&(0!==r.length&&r.includes(e)?t.push({range:c(s,h,l),message:"DuplicateKey",severity:f.Error,path:function e(t,r=[]){return"property"===t.type&&r.unshift(t.children[0].value),void 0!==t.parent?("array"===t.parent.type&&void 0!==t.parent.parent&&r.unshift(t.parent.children.indexOf(t)),e(t.parent,r)):r}(a),code:20}):r.push(e))}!0===r.preserveKeyOrder&&function(e,t){if(!(t in e))return;let r=e[P],n=r.indexOf(t);-1!==n&&(r.splice(n,1),r.push(t))}(o,e),i=e},onObjectEnd:(e,t,n,i)=>{!1===r.ignoreDuplicateKeys&&u.delete(a),a.length=e+t-a.offset,a.range&&(a.range.end.line=n,a.range.end.character=i+t),a=a.parent,s(e+t),o=l.pop()},onArrayBegin:(e,t,r,n)=>{a=d({type:"array",offset:e,length:-1,parent:a,children:[],range:c(r,n,t)}),p([])},onArrayEnd:(e,t,r,n)=>{a.length=e+t-a.offset,a.range&&(a.range.end.line=r,a.range.end.character=n+t),a=a.parent,s(e+t),o=l.pop()},onLiteralValue:(e,t,r,n,i)=>{d({type:function(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}(e),offset:t,length:r,parent:a,value:e,range:c(n,i,r)}),s(t+r),h(e)},onSeparator:(e,t)=>{"property"===a.type&&(":"===e?a.colonOffset=t:","===e&&s(t))},onError:(e,r,n,a,i)=>{t.push({range:c(a,i,n),message:function(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return""}(e),severity:f.Error,code:e})}},r);let v=a.children[0];return v&&delete v.parent,{ast:v,data:o[0],lineMap:n}}let ev=e=>{let t=[0],r=0;for(;r{if(!e||!Object.hasOwnProperty.call(e,t)||t===r)return e;let n={};for(let[a,i]of Object.entries(e))a===t?n[r]=i:a in n||(n[a]=i);return n};function ey(e){return A(e)||Array.isArray(e)}function e_(e,t,r){if(r.length<=1||t.length<=1)throw Error("Source/target path must not be empty and point at root");if(0===t.indexOf(r))throw Error("Target path cannot be contained within source");let n=B(t),a=e;for(let e of n){if(!ey(a))return;a=a[e]}if(!ey(a))return;let i=B(r),o=e;for(let[e,t]of i.entries()){if(!ey(o)||t in o)return;let r=e===i.length-1?a:{};o[t]=r,o=r}delete e[n[0]],function e(t,r,n){for(let a of Object.keys(t)){let i=t[a];if("$ref"!==a)ey(i)&&e(i,r,n);else{if("string"!=typeof i||!D(i))continue;0===i.indexOf(r)&&(t[a]=i.replace(r,n))}}}(e,t,r)}async function eb(e,t,r,n,a){let i=function(e,t){let r=Z(t);return null===r?e:(0,m.isAbsolute)(r)?r:(0,m.join)((0,m.dirname)(e),r)}(t,r),o=es(r)||"#",u=await e[i],l=B(o),s=[...l],c={value:u};for(let[r,u]of Y(c,l,o)){if(n.includes(u))return{source:t,location:null!=a?a:s,value:n[n.length-1]};n.push(u);let o=await eb(e,i,u.$ref,n,s);({source:i,location:s}=o),c.value=o.value,s.push(...l.slice(r+1))}return{source:i,location:s,value:n.length>0?X(n[n.length-1],c.value):c.value}}async function eE(e,t,r){return(await eO(e,t,r)).value}function eO(e,t,r){return eb(e,t,r,[])}let ej=(e,t)=>{if("string"!=typeof e)return e;try{let r=ex(e);return"string"==typeof r?r:JSON.parse(e,t)}catch(e){return}},ex=e=>{let t=Number(e);return Number.isFinite(t)?String(t)===e?t:e:NaN},eP=(e,t,r)=>{if("string"==typeof e)return e;try{return JSON.stringify(e,t,r)}catch(n){return C()(e,t,r)}},ew=(e,t)=>{if(e instanceof Array){if(t instanceof Array){if(t.length>e.length)return!1;for(let r in t){if(!t.hasOwnProperty(r))continue;let n=parseInt(e[r]),a=parseInt(t[r]);if(isNaN(n)&&isNaN(a)){if(e[r]!==t[r])return!1}else if(n!==a)return!1}}}else{if("string"!=typeof e)return!1;if("string"==typeof t)return e.startsWith(t)}return!0},eS=(e,t,r)=>{let n=eP(e,t,r);if(void 0===n)throw Error("The value could not be stringified");return n};function ek(e){return e.replace(/^(\/|#\/)/,"").split("/").map(eo).map(eC).join(".")}function eC(e){return e.includes(".")?`["${e.replace(/"/g,'\\"')}"]`:e}let eA=Symbol.for(x),eM={ownKeys:e=>eA in e?e[eA]:Reflect.ownKeys(e)},eI=e=>new Proxy(e,eM);function eR(e,t){if("string"==typeof e&&"string"==typeof t)return(0,p.trimStart)(e,t);if(!(e&&Array.isArray(e)&&e.length&&t&&Array.isArray(t)&&t.length))return e;let r=0;for(let n in e)if(e.hasOwnProperty(n)){if(e[n]!==t[n])break;r++}return e.slice(r)}},75966:function(e,t,r){"use strict";function n(e){let t="";return e.absolute&&("file"===e.protocol?(e.drive&&(t+=e.drive),t+="/"):(t+=e.protocol+"://",e.origin&&(t+=e.origin+"/"))),""===(t+=e.path.join("/"))&&(t="."),t}function a(e,t,r,n){this.message=e,this.expected=t,this.found=r,this.location=n,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,a)}r.r(t),r.d(t,{basename:function(){return c},deserializeSrn:function(){return E},dirname:function(){return f},extname:function(){return d},format:function(){return n},isAbsolute:function(){return h},isURL:function(){return p},join:function(){return m},normalize:function(){return u},parse:function(){return o},relative:function(){return v},resolve:function(){return g},sep:function(){return y},serializeSrn:function(){return O},startsWithWindowsDrive:function(){return _},stripRoot:function(){return b},toFSPath:function(){return u}}),!function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(a,Error),a.buildMessage=function(e,t){var r,n={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t,r="";for(t=0;t0){for(t=1,r=1;tx&&(x=O,P=[]),P.push(e))}function M(){var t,r,n,a,i,o,l,s,c,f,p,m,v,y,_,b,E,j,x,P,w,S,k,C,M,L,z,F,U,Q,q,J;return r=O,(n=I())!==u&&(a=R())!==u&&(i=N())!==u&&(o=T())!==u?(l=n,s=a,c=i,f=o,r=n={protocol:l,origin:s,absolute:!0,...c,...f}):(O=r,r=u),r===u&&(r=O,(n=I())!==u&&(a=R())!==u&&((p="")!==u&&(p={drive:null}),(i=p)!==u)?r=n={protocol:n,origin:a,absolute:!0,...i,path:[]}:(O=r,r=u)),(t=r)===u&&(m=O,("file://"===e.substr(O,7).toLowerCase()?(b=e.substr(O,7),O+=7):(b=u,A(d)),b===u&&("file:"===e.substr(O,5).toLowerCase()?(b=e.substr(O,5),O+=5):(b=u,A(h))),b!==u&&(b="file"),(v=b)!==u&&(y=D())!==u&&(_=T())!==u)?(j=v,x=y,P=_,m=v={protocol:j,origin:null,absolute:!0,...x,...P}):(O=m,m=u),(t=m)===u)&&(w=O,(S=D())!==u&&(k=T())!==u?(C=S,M=k,w=S={protocol:"file",origin:null,absolute:!0,...C,...M}):(O=w,w=u),(t=w)===u)&&(L=O,(Q=O,46===e.charCodeAt(O)?(q=".",O++):(q=u,A(g)),q!==u&&(J=$())!==u?Q=q=[q,J]:(O=Q,Q=u),(U=Q)===u&&(U=""),(z=U)!==u&&(F=T())!==u)?L=z={protocol:null,origin:null,absolute:!1,drive:null,...F}:(O=L,L=u),t=L),t}function I(){var t,r,n,a,i;return"http://"===e.substr(O,7).toLowerCase()?(r=e.substr(O,7),O+=7):(r=u,A(c)),r!==u&&(r="http"),(t=r)===u&&("https://"===e.substr(O,8).toLowerCase()?(a=e.substr(O,8),O+=8):(a=u,A(f)),a!==u&&(a="https"),t=a),t}function R(){var t,r,n;if(t=O,r=[],(n=z())!==u)for(;n!==u;)r.push(n),n=z();else r=u;return(t=r!==u?e.substring(t,O):r)===u&&(t=O,(r="")!==u&&(r=null),t=r),t}function D(){var t,r,n,a,i;return r=O,(n=$())===u&&(n=null),n!==u?(p.test(e.charAt(O))?(a=e.charAt(O),O++):(a=u,A(m)),a!==u?(58===e.charCodeAt(O)?(i=":",O++):(i=u,A(v)),i!==u&&$()!==u?r=n={drive:a.toLowerCase()+":"}:(O=r,r=u)):(O=r,r=u)):(O=r,r=u),(t=r)===u&&(t=N()),t}function N(){var e;return(e=$())!==u&&(e={drive:null}),e}function T(){var e;return(e=function e(){var t,r,n;return t=O,(r=L())!==u&&$()!==u&&(n=e())!==u?t=r=[r,...n]:(O=t,t=u),t===u&&(t=O,(r=L())!==u&&(r=[r]),t=r),t}())!==u&&(e={path:e}),e}function L(){var t,r,n;if(t=O,r=[],(n=z())!==u)for(;n!==u;)r.push(n),n=z();else r=u;return(t=r!==u?e.substring(t,O):r)===u&&(t=""),t}function $(){var t;return 47===e.charCodeAt(O)?(t="/",O++):(t=u,A(y)),t===u&&(92===e.charCodeAt(O)?(t="\\",O++):(t=u,A(_))),t}function z(){var t;return b.test(e.charAt(O))?(t=e.charAt(O),O++):(t=u,A(E)),t}if((r=s())!==u&&O===e.length)return r;throw r!==u&&O""!==e&&"."!==e);let r=[];for(let n of t)".."===n&&r.length&&".."!==r[r.length-1]?r.pop():".."===n&&e.absolute||r.push(n);return e.path=r,e}function s(e){let t=e.lastIndexOf(".");".."===e&&(t=-1),"."===e&&(t=-1);let r=e,n="";return t>0&&(r=e.slice(0,t),n=e.slice(t)),{name:r,ext:n}}let c=(e,t)=>{let r=l(o(e)).path.pop();if(!r)return"";let{name:n,ext:a}=s(r);return!0===t||t===a?n:`${n}${a}`},f=e=>{let t=l(o(e));return t.path.pop(),n(l(t))},d=e=>{let t=l(o(e)).path.pop();if(!t)return"";let{ext:r}=s(t);return r};function h(e){return o(e).absolute}function p(e){let t=o(e);return"http"===t.protocol||"https"===t.protocol}let m=(...e)=>{if(0===e.length)return".";let t=e.map(o),r=Object.assign({},t[0]);for(let n=1;nnull!==o(e).drive,b=e=>o(e).path.filter(Boolean).join("/");function E(e){let t,r;let[n,a,i,...o]=e.split("/"),u=o.length?`/${o.join("/")}`:void 0;return u&&(t=o.find(e=>e.includes(".")))&&(r=s(t).ext),{shortcode:n,orgSlug:a,projectSlug:i,uri:u,file:t,ext:r}}function O({shortcode:e,orgSlug:t,projectSlug:r,uri:n=""}){return[e,t,r,n.replace(/^\//,"")].filter(Boolean).join("/")}},45357:function(e,t){function r(e,t,r,n){var i={};return function(o){if(!i[o]){var u={},l=[],s=[];for(s.push({node:o,processed:!1});s.length>0;){var c=s[s.length-1],f=c.processed,d=c.node;if(f)s.pop(),l.pop(),u[d]=!1,i[d]=!0,(!t||0===e[d].length)&&r.push(d);else{if(i[d]){s.pop();continue}if(u[d]){if(n){s.pop();continue}throw l.push(d),new a(l)}u[d]=!0,l.push(d);for(var h=e[d],p=h.length-1;p>=0;p--)s.push({node:h[p],processed:!1});c.processed=!0}}}}}var n=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};n.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){!this.hasNode(e)&&(2==arguments.length?this.nodes[e]=t:this.nodes[e]=e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach(function(t){Object.keys(t).forEach(function(r){var n=t[r].indexOf(e);n>=0&&t[r].splice(n,1)},this)}))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw Error("Node does not exist: "+e)},setNodeData:function(e,t){if(this.hasNode(e))this.nodes[e]=t;else throw Error("Node does not exist: "+e)},addDependency:function(e,t){if(!this.hasNode(e))throw Error("Node does not exist: "+e);if(!this.hasNode(t))throw Error("Node does not exist: "+t);return -1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var r;this.hasNode(e)&&(r=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(r,1),this.hasNode(t)&&(r=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(r,1)},clone:function(){var e=this,t=new n;return Object.keys(e.nodes).forEach(function(r){t.nodes[r]=e.nodes[r],t.outgoingEdges[r]=e.outgoingEdges[r].slice(0),t.incomingEdges[r]=e.incomingEdges[r].slice(0)}),t},directDependenciesOf:function(e){if(this.hasNode(e))return this.outgoingEdges[e].slice(0);throw Error("Node does not exist: "+e)},directDependantsOf:function(e){if(this.hasNode(e))return this.incomingEdges[e].slice(0);throw Error("Node does not exist: "+e)},dependenciesOf:function(e,t){if(this.hasNode(e)){var n=[];r(this.outgoingEdges,t,n,this.circular)(e);var a=n.indexOf(e);return a>=0&&n.splice(a,1),n}throw Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var n=[];r(this.incomingEdges,t,n,this.circular)(e);var a=n.indexOf(e);return a>=0&&n.splice(a,1),n}throw Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,n=[],a=Object.keys(this.nodes);if(0===a.length)return n;if(!this.circular){var i=r(this.outgoingEdges,!1,[],this.circular);a.forEach(function(e){i(e)})}var o=r(this.outgoingEdges,e,n,this.circular);return a.filter(function(e){return 0===t.incomingEdges[e].length}).forEach(function(e){o(e)}),this.circular&&a.filter(function(e){return -1===n.indexOf(e)}).forEach(function(e){o(e)}),n},entryNodes:function(){var e=this;return Object.keys(this.nodes).filter(function(t){return 0===e.incomingEdges[t].length})}},n.prototype.directDependentsOf=n.prototype.directDependantsOf,n.prototype.dependentsOf=n.prototype.dependantsOf;var a=t.DepGraphCycleError=function(e){var t=Error("Dependency Cycle Found: "+e.join(" -> "));return t.cyclePath=e,Object.setPrototypeOf(t,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(t,a),t};a.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(a,Error)},53316:function(e){function t(e,t,r,n){var a,i=null==(a=n)||"number"==typeof a||"boolean"==typeof a?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function r(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return void 0===i&&(i=e.apply(this,n),t.set(a,i)),i}function n(e,t,r,n,a){return r.bind(t,e,n,a)}function a(e,n){var a,i,o,u,l,s=1===e.length?t:r;return a=e,i=this,o=s,u=n.cache.create(),l=n.serializer,o.bind(i,a,u,l)}function i(){return JSON.stringify(arguments)}function o(){this.cache=Object.create(null)}o.prototype.has=function(e){return e in this.cache},o.prototype.get=function(e){return this.cache[e]},o.prototype.set=function(e,t){this.cache[e]=t};var u={create:function(){return new o}};e.exports=function(e,t){var r=t&&t.cache?t.cache:u,n=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:a)(e,{cache:r,serializer:n})},e.exports.strategies={variadic:function(e,t){var n,a,i,o,u;return n=e,a=this,i=r,o=t.cache.create(),u=t.serializer,i.bind(a,n,o,u)},monadic:function(e,r){var n,a,i,o,u;return n=e,a=this,i=t,o=r.cache.create(),u=r.serializer,i.bind(a,n,o,u)}}},8041:function(e,t){function r(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function u(e,t){return 2===o(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===o(e)?e.get(t):e[t]}function s(e,t,r){var n=o(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return q&&e instanceof Map}function d(e){return J&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=X(e);delete t[W];for(var r=Z(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&i(e,function(e,t){return m(t,!0)},!0)),e}function v(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=Y[e];return t||r(18,e),t}function _(e,t){Y[e]||(Y[e]=t)}function b(){return U}function E(e,t){t&&(y("Patches"),e.o=[],e.v=[],e.s=t)}function O(e){j(e),e.p.forEach(P),e.p=null}function j(e){e===U&&(U=e.l)}function x(e){return U={p:[],l:U,h:e,_:!0,m:0}}function P(e){var t=e[W];0===t.t||1===t.t?t.j():t.O=!0}function w(e,t){t.m=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.S||y("ES5").P(t,e,i),i?(n[W].g&&(O(t),r(4)),a(e)&&(e=S(t,e),t.l||C(t,e)),t.o&&y("Patches").M(n[W].u,e,t.o,t.v)):e=S(t,n,[]),O(t),t.o&&t.s(t.o,t.v),e!==H?e:void 0}function S(e,t,r){if(g(t))return t;var n=t[W];if(!n)return i(t,function(a,i){return k(e,n,t,a,i,r)},!0),t;if(n.A!==e)return t;if(!n.g)return C(e,n.u,!0),n.u;if(!n.R){n.R=!0,n.A.m--;var a=4===n.t||5===n.t?n.i=p(n.k):n.i,o=a,u=!1;3===n.t&&(o=new Set(a),a.clear(),u=!0),i(o,function(t,i){return k(e,n,a,t,i,r,u)}),C(e,a,!1),r&&e.o&&y("Patches").F(n,r,e.o,e.v)}return n.i}function k(e,t,r,i,o,l,c){if(n(o)){var f=S(e,o,l&&t&&3!==t.t&&!u(t.N,i)?l.concat(i):void 0);if(s(r,i,f),!n(f))return;e._=!1}else c&&r.add(o);if(a(o)&&!g(o)){if(!e.h.D&&e.m<1)return;S(e,o),t&&t.A.l||C(e,o)}}function C(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e._&&m(t,r)}function A(e,t){var r=e[W];return(r?h(r):e)[t]}function M(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function I(e){e.g||(e.g=!0,e.l&&I(e.l))}function R(e){e.i||(e.i=p(e.u))}function D(e,t,r){var n,a,i,o,u,l,s,c,h,p=f(t)?y("MapSet").K(t,r):d(t)?y("MapSet").$(t,r):e.S?(n=t,a=r,u=o={t:(i=Array.isArray(n))?1:0,A:a?a.A:U,g:!1,R:!1,N:{},l:a,u:n,k:null,i:null,j:null,C:!1},l=ee,i&&(u=[o],l=et),c=(s=Proxy.revocable(u,l)).revoke,h=s.proxy,o.k=h,o.j=c,h):y("ES5").I(t,r);return(r?r.A:U).p.push(p),p}function N(e){return n(e)||r(22,e),function e(t){if(!a(t))return t;var r,n=t[W],u=o(t);if(n){if(!n.g&&(n.t<4||!y("ES5").J(n)))return n.u;n.R=!0,r=T(t,u),n.R=!1}else r=T(t,u);return i(r,function(t,a){n&&l(n.u,t)===a||s(r,t,e(a))}),3===u?new Set(r):r}(e)}function T(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function L(){function e(e,t){var r=o[e];return r?r.enumerable=t:o[e]=r={configurable:!0,enumerable:t,get:function(){return ee.get(this[W],e)},set:function(t){ee.set(this[W],e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var n=e[t][W];if(!n.g)switch(n.t){case 5:a(n)&&I(n);break;case 4:r(n)&&I(n)}}}function r(e){for(var t=e.u,r=e.k,n=Z(r),a=n.length-1;a>=0;a--){var i=n[a];if(i!==W){var o=t[i];if(void 0===o&&!u(t,i))return!0;var l=r[i],s=l&&l[W];if(s?s.u!==o:!c(l,o))return!0}}var f=!!t[W];return n.length!==Z(t).length+(f?0:1)}function a(e){var t=e.k;if(t.length!==e.u.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n1?a-1:0),o=1;o1?n-1:0),i=1;i=0;r--){var r,a=t[r];if(0===a.path.length&&"replace"===a.op){e=a.value;break}}r>-1&&(t=t.slice(r+1));var i=y("Patches").W;return n(e)?i(e,t):this.produce(e,function(e){return i(e,t)})},e}(),en=new er,ea=en.produce,ei=en.produceWithPatches.bind(en),eo=en.setAutoFreeze.bind(en),eu=en.setUseProxies.bind(en),el=en.applyPatches.bind(en),es=en.createDraft.bind(en),ec=en.finishDraft.bind(en);t.Immer=er,t.applyPatches=el,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=es,t.current=N,t.default=ea,t.enableAllPlugins=function(){L(),z(),$()},t.enableES5=L,t.enableMapSet=z,t.enablePatches=$,t.finishDraft=ec,t.freeze=m,t.immerable=V,t.isDraft=n,t.isDraftable=a,t.nothing=H,t.original=function(e){return n(e)||r(23,e),e[W].u},t.produce=ea,t.produceWithPatches=ei,t.setAutoFreeze=eo,t.setUseProxies=eu},66312:function(e,t,r){"use strict";e.exports=r(8041)},1989:function(e,t,r){var n=r(51789),a=r(80401),i=r(57667),o=r(21327),u=r(81866);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1}},54705:function(e,t,r){var n=r(18470);e.exports=function(e,t){var r=this.__data__,a=n(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}},24785:function(e,t,r){var n=r(1989),a=r(38407),i=r(57071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||a),string:new n}}},11285:function(e,t,r){var n=r(45050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).get(e)}},49916:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).has(e)}},95265:function(e,t,r){var n=r(45050);e.exports=function(e,t){var r=n(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}},24523:function(e,t,r){var n=r(88306);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},94536:function(e,t,r){var n=r(10852)(Object,"create");e.exports=n},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,r){var n=r(31957),a="object"==typeof self&&self&&self.Object===Object&&self,i=n||a||Function("return this")();e.exports=i},55514:function(e,t,r){var n=r(24523),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,function(e,r,n,a){t.push(n?a.replace(i,"$1"):r||e)}),t});e.exports=o},40327:function(e,t,r){var n=r(33448),a=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},27361:function(e,t,r){var n=r(97786);e.exports=function(e,t,r){var a=null==e?void 0:n(e,t);return void 0===a?r:a}},1469:function(e){var t=Array.isArray;e.exports=t},23560:function(e,t,r){var n=r(44239),a=r(13218);e.exports=function(e){if(!a(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,r){var n=r(44239),a=r(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==n(e)}},96486:function(e,t,r){e=r.nmd(e),(function(){var n,a="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",u=1/0,l=0/0,s=0xfffffffe,c=0x7fffffff,f=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],d="[object Arguments]",h="[object Array]",p="[object Boolean]",m="[object Date]",v="[object Error]",g="[object Function]",y="[object GeneratorFunction]",_="[object Map]",b="[object Number]",E="[object Object]",O="[object Promise]",j="[object RegExp]",x="[object Set]",P="[object String]",w="[object Symbol]",S="[object WeakMap]",k="[object ArrayBuffer]",C="[object DataView]",A="[object Float32Array]",M="[object Float64Array]",I="[object Int8Array]",R="[object Int16Array]",D="[object Int32Array]",N="[object Uint8Array]",T="[object Uint8ClampedArray]",L="[object Uint16Array]",$="[object Uint32Array]",z=/\b__p \+= '';/g,F=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Q=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,J=RegExp(Q.source),B=RegExp(q.source),H=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,W=/<%=([\s\S]+?)%>/g,G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,Z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(X.source),ee=/^\s+/,et=/\s/,er=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,ea=/,? & /,ei=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,eo=/[()=,{}\[\]\/\s]/,eu=/\\(\\)?/g,el=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,es=/\w*$/,ec=/^[-+]0x[0-9a-f]+$/i,ef=/^0b[01]+$/i,ed=/^\[object .+?Constructor\]$/,eh=/^0o[0-7]+$/i,ep=/^(?:0|[1-9]\d*)$/,em=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ev=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,ey="\ud800-\udfff",e_="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",eE="a-z\\xdf-\\xf6\\xf8-\\xff",eO="A-Z\\xc0-\\xd6\\xd8-\\xde",ej="\\ufe0e\\ufe0f",ex="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",eP="['\u2019]",ew="["+ex+"]",eS="["+e_+"]",ek="["+eE+"]",eC="[^"+ey+ex+"\\d+"+eb+eE+eO+"]",eA="\ud83c[\udffb-\udfff]",eM="[^"+ey+"]",eI="(?:\ud83c[\udde6-\uddff]){2}",eR="[\ud800-\udbff][\udc00-\udfff]",eD="["+eO+"]",eN="\\u200d",eT="(?:"+ek+"|"+eC+")",eL="(?:"+eD+"|"+eC+")",e$="(?:"+eP+"(?:d|ll|m|re|s|t|ve))?",ez="(?:"+eP+"(?:D|LL|M|RE|S|T|VE))?",eF="(?:"+eS+"|"+eA+")?",eU="["+ej+"]?",eQ="(?:"+eN+"(?:"+[eM,eI,eR].join("|")+")"+eU+eF+")*",eq=eU+eF+eQ,eJ="(?:"+["["+eb+"]",eI,eR].join("|")+")"+eq,eB="(?:"+[eM+eS+"?",eS,eI,eR,"["+ey+"]"].join("|")+")",eH=RegExp(eP,"g"),eV=RegExp(eS,"g"),eW=RegExp(eA+"(?="+eA+")|"+eB+eq,"g"),eG=RegExp([eD+"?"+ek+"+"+e$+"(?="+[ew,eD,"$"].join("|")+")",eL+"+"+ez+"(?="+[ew,eD+eT,"$"].join("|")+")",eD+"?"+eT+"+"+e$,eD+"+"+ez,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",eJ].join("|"),"g"),eK=RegExp("["+eN+ey+e_+ej+"]"),eZ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eX=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eY=-1,e0={};e0[A]=e0[M]=e0[I]=e0[R]=e0[D]=e0[N]=e0[T]=e0[L]=e0[$]=!0,e0[d]=e0[h]=e0[k]=e0[p]=e0[C]=e0[m]=e0[v]=e0[g]=e0[_]=e0[b]=e0[E]=e0[j]=e0[x]=e0[P]=e0[S]=!1;var e1={};e1[d]=e1[h]=e1[k]=e1[C]=e1[p]=e1[m]=e1[A]=e1[M]=e1[I]=e1[R]=e1[D]=e1[_]=e1[b]=e1[E]=e1[j]=e1[x]=e1[P]=e1[w]=e1[N]=e1[T]=e1[L]=e1[$]=!0,e1[v]=e1[g]=e1[S]=!1;var e2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e6=parseFloat,e4=parseInt,e5="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,e3="object"==typeof self&&self&&self.Object===Object&&self,e9=e5||e3||Function("return this")(),e7=t&&!t.nodeType&&t,e8=e7&&e&&!e.nodeType&&e,te=e8&&e8.exports===e7,tt=te&&e5.process,tr=function(){try{var e=e8&&e8.require&&e8.require("util").types;if(e)return e;return tt&&tt.binding&&tt.binding("util")}catch(e){}}(),tn=tr&&tr.isArrayBuffer,ta=tr&&tr.isDate,ti=tr&&tr.isMap,to=tr&&tr.isRegExp,tu=tr&&tr.isSet,tl=tr&&tr.isTypedArray;function ts(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function tc(e,t,r,n){for(var a=-1,i=null==e?0:e.length;++a-1}function tv(e,t,r){for(var n=-1,a=null==e?0:e.length;++n-1;);return r}function tz(e,t){for(var r=e.length;r--&&tP(t,e[r],0)>-1;);return r}var tF=tA({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"}),tU=tA({"&":"&","<":"<",">":">",'"':""","'":"'"});function tQ(e){return"\\"+e2[e]}function tq(e){return eK.test(e)}function tJ(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function tB(e,t){return function(r){return e(t(r))}}function tH(e,t){for(var r=-1,n=e.length,a=0,i=[];++r",""":'"',"'":"'"}),tX=function e(t){var r,et,ey,e_,eb=(t=null==t?e9:tX.defaults(e9.Object(),t,tX.pick(e9,eX))).Array,eE=t.Date,eO=t.Error,ej=t.Function,ex=t.Math,eP=t.Object,ew=t.RegExp,eS=t.String,ek=t.TypeError,eC=eb.prototype,eA=ej.prototype,eM=eP.prototype,eI=t["__core-js_shared__"],eR=eA.toString,eD=eM.hasOwnProperty,eN=0;var eT=(r=/[^.]+$/.exec(eI&&eI.keys&&eI.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",eL=eM.toString,e$=eR.call(eP),ez=e9._,eF=ew("^"+eR.call(eD).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eU=te?t.Buffer:n,eQ=t.Symbol,eq=t.Uint8Array,eJ=eU?eU.allocUnsafe:n,eB=tB(eP.getPrototypeOf,eP),eW=eP.create,eK=eM.propertyIsEnumerable,e2=eC.splice,e5=eQ?eQ.isConcatSpreadable:n,e3=eQ?eQ.iterator:n,e7=eQ?eQ.toStringTag:n,e8=function(){try{var e=ab(eP,"defineProperty");return e({},"",{}),e}catch(e){}}(),tt=t.clearTimeout!==e9.clearTimeout&&t.clearTimeout,tr=eE&&eE.now!==e9.Date.now&&eE.now,tO=t.setTimeout!==e9.setTimeout&&t.setTimeout,tA=ex.ceil,tY=ex.floor,t0=eP.getOwnPropertySymbols,t1=eU?eU.isBuffer:n,t2=t.isFinite,t6=eC.join,t4=tB(eP.keys,eP),t5=ex.max,t3=ex.min,t9=eE.now,t7=t.parseInt,t8=ex.random,re=eC.reverse,rt=ab(t,"DataView"),rr=ab(t,"Map"),rn=ab(t,"Promise"),ra=ab(t,"Set"),ri=ab(t,"WeakMap"),ro=ab(eP,"create"),ru=ri&&new ri,rl={},rs=aH(rt),rc=aH(rr),rf=aH(rn),rd=aH(ra),rh=aH(ri),rp=eQ?eQ.prototype:n,rm=rp?rp.valueOf:n,rv=rp?rp.toString:n;function rg(e){if(i1(e)&&!iJ(e)&&!(e instanceof rE)){if(e instanceof rb)return e;if(eD.call(e,"__wrapped__"))return aV(e)}return new rb(e)}var ry=function(){function e(){}return function(t){if(!i0(t))return{};if(eW)return eW(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function r_(){}function rb(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function rE(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}rg.templateSettings={escape:H,evaluate:V,interpolate:W,variable:"",imports:{_:rg}},rg.prototype=r_.prototype,rg.prototype.constructor=rg,rb.prototype=ry(r_.prototype),rb.prototype.constructor=rb;function rO(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1},rj.prototype.set=function(e,t){var r=this.__data__,n=rR(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function rP(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new rx;++t=t?e:t)),e}function rz(e,t,r,a,i,o){var u,l=1&t,s=2&t,c=4&t;if(r&&(u=i?r(e,a,i,o):r(e)),n!==u)return u;if(!i0(e))return e;var f=iJ(e);if(f){if(u=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&eD.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!l)return nW(e,u)}else{var h,v,O=aj(e),S=O==g||O==y;if(iW(e))return nQ(e,l);if(O==E||O==d||S&&!i){if(u=s||S?{}:aP(e),!l){;return s?function(e,t){return nG(e,aO(e),t)}(e,(h=u,v=e,h&&nG(v,oO(v),h))):function(e,t){return nG(e,aE(e),t)}(e,rN(u,e))}}else{if(!e1[O])return i?e:{};u=function(e,t,r){var n,a,i,o,u,l=e.constructor;switch(t){case k:return nq(e);case p:case m:return new l(+e);case C:;return n=e,a=r?nq(n.buffer):n.buffer,new n.constructor(a,n.byteOffset,n.byteLength);case A:case M:case I:case R:case D:case N:case T:case L:case $:return nJ(e,r);case _:return new l;case b:case P:return new l(e);case j:;return(o=new(i=e).constructor(i.source,es.exec(i))).lastIndex=i.lastIndex,o;case x:return new l;case w:;return u=e,rm?eP(rm.call(u)):{}}}(e,O,l)}}o||(o=new rw);var z=o.get(e);if(z)return z;o.set(e,u),i3(e)?e.forEach(function(n){u.add(rz(n,t,r,n,e,o))}):i2(e)&&e.forEach(function(n,a){u.set(a,rz(n,t,r,a,e,o))});var F=c?s?ah:ad:s?oO:oE,U=f?n:F(e);return tf(U||e,function(n,a){U&&(n=e[a=n]),rI(u,a,rz(n,t,r,a,e,o))}),u}function rF(e,t,r){var a=r.length;if(null==e)return!a;for(e=eP(e);a--;){var i=r[a],o=t[i],u=e[i];if(n===u&&!(i in e)||!o(u))return!1}return!0}function rU(e,t,r){if("function"!=typeof e)throw new ek(a);return az(function(){e.apply(n,r)},t)}function rQ(e,t,r,n){var a=-1,i=tm,o=!0,u=e.length,l=[],s=t.length;if(!u)return l;r&&(t=tg(t,tN(r))),n?(i=tv,o=!1):t.length>=200&&(i=tL,o=!1,t=new rP(t));t:for(;++a0&&r(u)?t>1?rW(u,t-1,r,n,a):ty(a,u):!n&&(a[a.length]=u)}return a}var rG=nY(),rK=nY(!0);function rZ(e,t){return e&&rG(e,t,oE)}function rX(e,t){return e&&rK(e,t,oE)}function rY(e,t){return tp(t,function(t){return iZ(e[t])})}function r0(e,t){t=nz(t,e);for(var r=0,a=t.length;null!=e&&rt}function r4(e,t){return null!=e&&eD.call(e,t)}function r5(e,t){return null!=e&&t in eP(e)}function r3(e,t,r){for(var a=r?tv:tm,i=e[0].length,o=e.length,u=o,l=eb(o),s=1/0,c=[];u--;){var f=e[u];u&&t&&(f=tg(f,tN(t))),s=t3(f.length,s),l[u]=!r&&(t||i>=120&&f.length>=120)?new rP(u&&f):n}f=e[0];var d=-1,h=l[0];t:for(;++d=u)return l;return l*("desc"==r[n]?-1:1)}}return e.index-t.index}(e,t,r)})}function nf(e,t,r){for(var n=-1,a=t.length,i={};++n-1;)u!==e&&e2.call(u,l,1),e2.call(e,l,1)}return e}function nh(e,t){for(var r=e?t.length:0,n=r-1;r--;){var a=t[r];if(r==n||a!==i){var i=a;aS(a)?e2.call(e,a,1):nM(e,a)}}return e}function np(e,t){return e+tY(t8()*(t-e+1))}function nm(e,t){var r="";if(!e||t<1||t>0x1fffffffffffff)return r;do t%2&&(r+=e),(t=tY(t/2))&&(e+=e);while(t);return r}function nv(e,t){return aF(aN(e,t,oV),e+"")}function ng(e){return rk(oA(e))}function ny(e,t){var r=oA(e);return aq(r,r$(t,0,r.length))}function n_(e,t,r,a){if(!i0(e))return e;t=nz(t,e);for(var i=-1,o=t.length,u=o-1,l=e;null!=l&&++ia?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=eb(a);++n>>1,o=e[i];null!==o&&!i7(o)&&(r?o<=t:o=200){var s=t?null:aa(e);if(s)return tV(s);o=!1,a=tL,l=new rP}else l=t?[]:u;t:for(;++n=a?e:nj(e,t,r)}var nU=tt||function(e){return e9.clearTimeout(e)};function nQ(e,t){if(t)return e.slice();var r=e.length,n=eJ?eJ(r):new e.constructor(r);return e.copy(n),n}function nq(e){var t=new e.constructor(e.byteLength);return new eq(t).set(new eq(e)),t}function nJ(e,t){var r=t?nq(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function nB(e,t){if(e!==t){var r=n!==e,a=null===e,i=e==e,o=i7(e),u=n!==t,l=null===t,s=t==t,c=i7(t);if(!l&&!c&&!o&&e>t||o&&u&&s&&!l&&!c||a&&u&&s||!r&&s||!i)return 1;if(!a&&!o&&!c&&e1?r[i-1]:n,u=i>2?r[2]:n;for(o=e.length>3&&"function"==typeof o?(i--,o):n,u&&ak(r[0],r[1],u)&&(o=i<3?n:o,i=1),t=eP(t);++a-1?i[o?t[u]:u]:n}}function n4(e){return af(function(t){var r=t.length,i=r,o=rb.prototype.thru;for(e&&t.reverse();i--;){var u=t[i];if("function"!=typeof u)throw new ek(a);if(o&&!l&&"wrapper"==am(u))var l=new rb([],!0)}for(i=l?i:r;++i1&&_.reverse(),f&&sl))return!1;var c=o.get(e),f=o.get(t);if(c&&f)return c==t&&f==e;var d=-1,h=!0,p=2&r?new rP:n;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(er,"{\n/* [wrapped with "+t+"] */\n")}(a,function(e,t){return tf(f,function(r){var n="_."+r[0];t&r[1]&&!tm(e,n)&&e.push(n)}),e.sort()}((n=a.match(en))?n[1].split(ea):[],r)))}function aQ(e){var t=0,r=0;return function(){var a=t9(),i=16-(a-r);if(r=a,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function aq(e,t){var r=-1,a=e.length,i=a-1;for(t=n===t?a:t;++r1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ia(e,r)});function id(e){var t=rg(e);return t.__chain__=!0,t}function ih(e,t){return t(e)}var ip=af(function(e){var t=e.length,r=t?e[0]:0,a=this.__wrapped__,i=function(t){return rL(t,e)};return!(t>1)&&!this.__actions__.length&&a instanceof rE&&aS(r)?((a=a.slice(r,+r+(t?1:0))).__actions__.push({func:ih,args:[i],thisArg:n}),new rb(a,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e})):this.thru(i)}),im=nK(function(e,t,r){eD.call(e,r)?++e[r]:rT(e,r,1)}),iv=n6(aZ),ig=n6(aX);function iy(e,t){return(iJ(e)?tf:rq)(e,ag(t,3))}function i_(e,t){return(iJ(e)?td:rJ)(e,ag(t,3))}var ib=nK(function(e,t,r){eD.call(e,r)?e[r].push(t):rT(e,r,[t])}),iE=nv(function(e,t,r){var n=-1,a="function"==typeof t,i=iH(e)?eb(e.length):[];return rq(e,function(e){i[++n]=a?ts(t,e,r):r9(e,t,r)}),i}),iO=nK(function(e,t,r){rT(e,r,t)});function ij(e,t){return(iJ(e)?tg:ni)(e,ag(t,3))}var ix=nK(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),iP=nv(function(e,t){if(null==e)return[];var r=t.length;return r>1&&ak(e,t[0],t[1])?t=[]:r>2&&ak(t[0],t[1],t[2])&&(t=[t[0]]),nc(e,rW(t,1),[])}),iw=tr||function(){return e9.Date.now()};function iS(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,ao(e,128,n,n,n,n,t)}function ik(e,t){var r;if("function"!=typeof t)throw new ek(a);return e=oa(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var iC=nv(function(e,t,r){var n=1;if(r.length){var a=tH(r,av(iC));n|=32}return ao(e,n,t,r,a)}),iA=nv(function(e,t,r){var n=3;if(r.length){var a=tH(r,av(iA));n|=32}return ao(t,n,e,r,a)});function iM(e,t,r){var i,o,u,l,s,c,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new ek(a);function m(t){var r=i,a=o;return i=o=n,f=t,l=e.apply(a,r)}t=oo(t)||0,i0(r)&&(d=!!r.leading,u=(h="maxWait"in r)?t5(oo(r.maxWait)||0,t):u,p="trailing"in r?!!r.trailing:p);function v(e){var r=e-c,a=e-f;return n===c||r>=t||r<0||h&&a>=u}function g(){var e,r,n,a,i=iw();if(v(i))return y(i);s=az(g,(r=(e=i)-c,n=e-f,a=t-r,h?t3(a,u-n):a))}function y(e){return(s=n,p&&i)?m(e):(i=o=n,l)}function _(){var e,r=iw(),a=v(r);if(i=arguments,o=this,c=r,a){if(n===s){;return f=e=c,s=az(g,t),d?m(e):l}if(h)return nU(s),s=az(g,t),m(c)}return n===s&&(s=az(g,t)),l}return _.cancel=function(){n!==s&&nU(s),f=0,i=c=o=s=n},_.flush=function(){return n===s?l:y(iw())},_}var iI=nv(function(e,t){return rU(e,1,t)}),iR=nv(function(e,t,r){return rU(e,oo(t)||0,r)});function iD(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ek(a);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(iD.Cache||rx),r}function iN(e){if("function"!=typeof e)throw new ek(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}iD.Cache=rx;var iT=nv(function(e,t){var r=(t=1==t.length&&iJ(t[0])?tg(t[0],tN(ag())):tg(rW(t,1),tN(ag()))).length;return nv(function(n){for(var a=-1,i=t3(n.length,r);++a=t}),iq=r7(function(){return arguments}())?r7:function(e){return i1(e)&&eD.call(e,"callee")&&!eK.call(e,"callee")},iJ=eb.isArray,iB=tn?tN(tn):function(e){return i1(e)&&r2(e)==k};function iH(e){return null!=e&&iY(e.length)&&!iZ(e)}function iV(e){return i1(e)&&iH(e)}var iW=t1||o3,iG=ta?tN(ta):function(e){return i1(e)&&r2(e)==m};function iK(e){if(!i1(e))return!1;var t=r2(e);return t==v||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!i4(e)}function iZ(e){if(!i0(e))return!1;var t=r2(e);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iX(e){return"number"==typeof e&&e==oa(e)}function iY(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function i0(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function i1(e){return null!=e&&"object"==typeof e}var i2=ti?tN(ti):function(e){return i1(e)&&aj(e)==_};function i6(e){return"number"==typeof e||i1(e)&&r2(e)==b}function i4(e){if(!i1(e)||r2(e)!=E)return!1;var t=eB(e);if(null===t)return!0;var r=eD.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&eR.call(r)==e$}var i5=to?tN(to):function(e){return i1(e)&&r2(e)==j},i3=tu?tN(tu):function(e){return i1(e)&&aj(e)==x};function i9(e){return"string"==typeof e||!iJ(e)&&i1(e)&&r2(e)==P}function i7(e){return"symbol"==typeof e||i1(e)&&r2(e)==w}var i8=tl?tN(tl):function(e){return i1(e)&&iY(e.length)&&!!e0[r2(e)]},oe=at(na),ot=at(function(e,t){return e<=t});function or(e){if(!e)return[];if(iH(e))return i9(e)?tG(e):nW(e);if(e3&&e[e3])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[e3]());var t=aj(e);return(t==_?tJ:t==x?tV:oA)(e)}function on(e){return e?(e=oo(e))===u||e===-u?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function oa(e){var t=on(e),r=t%1;return t==t?r?t-r:t:0}function oi(e){return e?r$(oa(e),0,0xffffffff):0}function oo(e){if("number"==typeof e)return e;if(i7(e))return l;if(i0(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i0(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tD(e);var r=ef.test(e);return r||eh.test(e)?e4(e.slice(2),r?2:8):ec.test(e)?l:+e}function ou(e){return nG(e,oO(e))}function ol(e){return null==e?"":nC(e)}var os=nZ(function(e,t){if(aI(t)||iH(t)){nG(t,oE(t),e);return}for(var r in t)eD.call(t,r)&&rI(e,r,t[r])}),oc=nZ(function(e,t){nG(t,oO(t),e)}),of=nZ(function(e,t,r,n){nG(t,oO(t),e,n)}),od=nZ(function(e,t,r,n){nG(t,oE(t),e,n)}),oh=af(rL),op=nv(function(e,t){e=eP(e);var r=-1,a=t.length,i=a>2?t[2]:n;for(i&&ak(t[0],t[1],i)&&(a=1);++r1),t}),nG(e,ah(e),r),n&&(r=rz(r,7,as));for(var a=t.length;a--;)nM(r,t[a]);return r}),ow=af(function(e,t){var r;return null==e?{}:nf(r=e,t,function(e,t){return og(r,t)})});function oS(e,t){if(null==e)return{};var r=tg(ah(e),function(e){return[e]});return t=ag(t),nf(e,r,function(e,r){return t(e,r[0])})}var ok=ai(oE),oC=ai(oO);function oA(e){return null==e?[]:tT(e,oE(e))}var oM=n1(function(e,t,r){return t=t.toLowerCase(),e+(r?oI(t):t)});function oI(e){return oF(ol(e).toLowerCase())}function oR(e){return(e=ol(e))&&e.replace(em,tF).replace(eV,"")}var oD=n1(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),oN=n1(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),oT=n0("toLowerCase"),oL=n1(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),o$=n1(function(e,t,r){return e+(r?" ":"")+oF(t)}),oz=n1(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),oF=n0("toUpperCase");function oU(e,t,r){if(e=ol(e),t=r?n:t,n===t){var a;return(a=e,eZ.test(a))?e.match(eG)||[]:e.match(ei)||[]}return e.match(t)||[]}var oQ=nv(function(e,t){try{return ts(e,n,t)}catch(e){return iK(e)?e:new eO(e)}}),oq=af(function(e,t){return tf(t,function(t){rT(e,t=aB(t),iC(e[t],e))}),e});function oJ(e){return function(){return e}}var oB=n4(),oH=n4(!0);function oV(e){return e}function oW(e){return nr("function"==typeof e?e:rz(e,1))}var oG=nv(function(e,t){return function(r){return r9(r,e,t)}}),oK=nv(function(e,t){return function(r){return r9(e,r,t)}});function oZ(e,t,r){var n=oE(t),a=rY(t,n);null==r&&!(i0(t)&&(a.length||!n.length))&&(r=t,t=e,e=this,a=rY(t,oE(t)));var i=!(i0(r)&&"chain"in r)||!!r.chain,o=iZ(e);return tf(a,function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=e(this.__wrapped__);return(r.__actions__=nW(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,ty([this.value()],arguments))})}),e}function oX(){}var oY=n7(tg),o0=n7(th),o1=n7(tE);function o2(e){var t;return aC(e)?tC(aB(e)):(t=e,function(e){return r0(e,t)})}var o6=ae(),o4=ae(!0);function o5(){return[]}function o3(){return!1}var o9=n9(function(e,t){return e+t},0),o7=an("ceil"),o8=n9(function(e,t){return e/t},1),ue=an("floor"),ut=n9(function(e,t){return e*t},1),ur=an("round"),un=n9(function(e,t){return e-t},0);return rg.after=function(e,t){if("function"!=typeof t)throw new ek(a);return e=oa(e),function(){if(--e<1)return t.apply(this,arguments)}},rg.ary=iS,rg.assign=os,rg.assignIn=oc,rg.assignInWith=of,rg.assignWith=od,rg.at=oh,rg.before=ik,rg.bind=iC,rg.bindAll=oq,rg.bindKey=iA,rg.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return iJ(e)?e:[e]},rg.chain=id,rg.chunk=function(e,t,r){t=(r?ak(e,t,r):n===t)?1:t5(oa(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var i=0,o=0,u=eb(tA(a/t));ii?0:i+r),(a=n===a||a>i?i:oa(a))<0&&(a+=i),a=r>a?0:oi(a);r>>0)?(e=ol(e))&&("string"==typeof t||null!=t&&!i5(t))&&!(t=nC(t))&&tq(e)?nF(tG(e),0,r):e.split(t,r):[]},rg.spread=function(e,t){if("function"!=typeof e)throw new ek(a);return t=null==t?0:t5(oa(t),0),nv(function(r){var n=r[t],a=nF(r,0,t);return n&&ty(a,n),ts(e,this,a)})},rg.tail=function(e){var t=null==e?0:e.length;return t?nj(e,1,t):[]},rg.take=function(e,t,r){return e&&e.length?nj(e,0,(t=r||n===t?1:oa(t))<0?0:t):[]},rg.takeRight=function(e,t,r){var a=null==e?0:e.length;return a?nj(e,(t=a-(t=r||n===t?1:oa(t)))<0?0:t,a):[]},rg.takeRightWhile=function(e,t){return e&&e.length?nR(e,ag(t,3),!1,!0):[]},rg.takeWhile=function(e,t){return e&&e.length?nR(e,ag(t,3)):[]},rg.tap=function(e,t){return t(e),e},rg.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new ek(a);return i0(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),iM(e,t,{leading:n,maxWait:t,trailing:i})},rg.thru=ih,rg.toArray=or,rg.toPairs=ok,rg.toPairsIn=oC,rg.toPath=function(e){return iJ(e)?tg(e,aB):i7(e)?[e]:nW(aJ(ol(e)))},rg.toPlainObject=ou,rg.transform=function(e,t,r){var n=iJ(e),a=n||iW(e)||i8(e);if(t=ag(t,4),null==r){var i=e&&e.constructor;r=a?n?new i:[]:i0(e)?iZ(i)?ry(eB(e)):{}:{}}return(a?tf:rZ)(e,function(e,n,a){return t(r,e,n,a)}),r},rg.unary=function(e){return iS(e,1)},rg.union=a8,rg.unionBy=ie,rg.unionWith=it,rg.uniq=function(e){return e&&e.length?nA(e):[]},rg.uniqBy=function(e,t){return e&&e.length?nA(e,ag(t,2)):[]},rg.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?nA(e,n,t):[]},rg.unset=function(e,t){return null==e||nM(e,t)},rg.unzip=ir,rg.unzipWith=ia,rg.update=function(e,t,r){return null==e?e:nI(e,t,n$(r))},rg.updateWith=function(e,t,r,a){return a="function"==typeof a?a:n,null==e?e:nI(e,t,n$(r),a)},rg.values=oA,rg.valuesIn=function(e){return null==e?[]:tT(e,oO(e))},rg.without=ii,rg.words=oU,rg.wrap=function(e,t){return iL(n$(t),e)},rg.xor=io,rg.xorBy=iu,rg.xorWith=il,rg.zip=is,rg.zipObject=function(e,t){return nT(e||[],t||[],rI)},rg.zipObjectDeep=function(e,t){return nT(e||[],t||[],n_)},rg.zipWith=ic,rg.entries=ok,rg.entriesIn=oC,rg.extend=oc,rg.extendWith=of,oZ(rg,rg),rg.add=o9,rg.attempt=oQ,rg.camelCase=oM,rg.capitalize=oI,rg.ceil=o7,rg.clamp=function(e,t,r){return n===r&&(r=t,t=n),n!==r&&(r=(r=oo(r))==r?r:0),n!==t&&(t=(t=oo(t))==t?t:0),r$(oo(e),t,r)},rg.clone=function(e){return rz(e,4)},rg.cloneDeep=function(e){return rz(e,5)},rg.cloneDeepWith=function(e,t){return rz(e,5,t="function"==typeof t?t:n)},rg.cloneWith=function(e,t){return rz(e,4,t="function"==typeof t?t:n)},rg.conformsTo=function(e,t){return null==t||rF(e,t,oE(t))},rg.deburr=oR,rg.defaultTo=function(e,t){return null==e||e!=e?t:e},rg.divide=o8,rg.endsWith=function(e,t,r){e=ol(e),t=nC(t);var a=e.length,i=r=n===r?a:r$(oa(r),0,a);return(r-=t.length)>=0&&e.slice(r,i)==t},rg.eq=iF,rg.escape=function(e){return(e=ol(e))&&B.test(e)?e.replace(q,tU):e},rg.escapeRegExp=function(e){return(e=ol(e))&&Y.test(e)?e.replace(X,"\\$&"):e},rg.every=function(e,t,r){var a=iJ(e)?th:rB;return r&&ak(e,t,r)&&(t=n),a(e,ag(t,3))},rg.find=iv,rg.findIndex=aZ,rg.findKey=function(e,t){return tj(e,ag(t,3),rZ)},rg.findLast=ig,rg.findLastIndex=aX,rg.findLastKey=function(e,t){return tj(e,ag(t,3),rX)},rg.floor=ue,rg.forEach=iy,rg.forEachRight=i_,rg.forIn=function(e,t){return null==e?e:rG(e,ag(t,3),oO)},rg.forInRight=function(e,t){return null==e?e:rK(e,ag(t,3),oO)},rg.forOwn=function(e,t){return e&&rZ(e,ag(t,3))},rg.forOwnRight=function(e,t){return e&&rX(e,ag(t,3))},rg.get=ov,rg.gt=iU,rg.gte=iQ,rg.has=function(e,t){return null!=e&&ax(e,t,r4)},rg.hasIn=og,rg.head=a0,rg.identity=oV,rg.includes=function(e,t,r,n){e=iH(e)?e:oA(e),r=r&&!n?oa(r):0;var a=e.length;return r<0&&(r=t5(a+r,0)),i9(e)?r<=a&&e.indexOf(t,r)>-1:!!a&&tP(e,t,r)>-1},rg.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var a=null==r?0:oa(r);return a<0&&(a=t5(n+a,0)),tP(e,t,a)},rg.inRange=function(e,t,r){var a,i,o;return t=on(t),n===r?(r=t,t=0):r=on(r),(a=e=oo(e))>=t3(i=t,o=r)&&a=-0x1fffffffffffff&&e<=0x1fffffffffffff},rg.isSet=i3,rg.isString=i9,rg.isSymbol=i7,rg.isTypedArray=i8,rg.isUndefined=function(e){return n===e},rg.isWeakMap=function(e){return i1(e)&&aj(e)==S},rg.isWeakSet=function(e){return i1(e)&&"[object WeakSet]"==r2(e)},rg.join=function(e,t){return null==e?"":t6.call(e,t)},rg.kebabCase=oD,rg.last=a4,rg.lastIndexOf=function(e,t,r){var a=null==e?0:e.length;if(!a)return -1;var i=a;return n!==r&&(i=(i=oa(r))<0?t5(a+i,0):t3(i,a-1)),t==t?function(e,t,r){for(var n=r+1;n--&&e[n]!==t;);return n}(e,t,i):tx(e,tS,i,!0)},rg.lowerCase=oN,rg.lowerFirst=oT,rg.lt=oe,rg.lte=ot,rg.max=function(e){return e&&e.length?rH(e,oV,r6):n},rg.maxBy=function(e,t){return e&&e.length?rH(e,ag(t,2),r6):n},rg.mean=function(e){return tk(e,oV)},rg.meanBy=function(e,t){return tk(e,ag(t,2))},rg.min=function(e){return e&&e.length?rH(e,oV,na):n},rg.minBy=function(e,t){return e&&e.length?rH(e,ag(t,2),na):n},rg.stubArray=o5,rg.stubFalse=o3,rg.stubObject=function(){return{}},rg.stubString=function(){return""},rg.stubTrue=function(){return!0},rg.multiply=ut,rg.nth=function(e,t){return e&&e.length?ns(e,oa(t)):n},rg.noConflict=function(){return e9._===this&&(e9._=ez),this},rg.noop=oX,rg.now=iw,rg.pad=function(e,t,r){e=ol(e);var n=(t=oa(t))?tW(e):0;if(!t||n>=t)return e;var a=(t-n)/2;return n8(tY(a),r)+e+n8(tA(a),r)},rg.padEnd=function(e,t,r){e=ol(e);var n=(t=oa(t))?tW(e):0;return t&&nt){var a=e;e=t,t=a}if(r||e%1||t%1){var i=t8();return t3(e+i*(t-e+e6("1e-"+((i+"").length-1))),t)}return np(e,t)},rg.reduce=function(e,t,r){var n=iJ(e)?t_:tM,a=arguments.length<3;return n(e,ag(t,4),r,a,rq)},rg.reduceRight=function(e,t,r){var n=iJ(e)?tb:tM,a=arguments.length<3;return n(e,ag(t,4),r,a,rJ)},rg.repeat=function(e,t,r){return t=(r?ak(e,t,r):n===t)?1:oa(t),nm(ol(e),t)},rg.replace=function(){var e=arguments,t=ol(e[0]);return e.length<3?t:t.replace(e[1],e[2])},rg.result=function(e,t,r){t=nz(t,e);var a=-1,i=t.length;for(!i&&(i=1,e=n);++a0x1fffffffffffff)return[];var r=0xffffffff,n=t3(e,0xffffffff);t=ag(t),e-=0xffffffff;for(var a=tR(n,t);++r=o)return e;var l=r-tW(a);if(l<1)return a;var s=u?nF(u,0,l).join(""):e.slice(0,l);if(n===i)return s+a;if(u&&(l+=s.length-l),i5(i)){if(e.slice(l).search(i)){var c,f=s;for(!i.global&&(i=ew(i.source,ol(es.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;s=s.slice(0,n===d?l:d)}}else if(e.indexOf(nC(i),l)!=l){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+a},rg.unescape=function(e){return(e=ol(e))&&J.test(e)?e.replace(Q,tZ):e},rg.uniqueId=function(e){var t=++eN;return ol(e)+t},rg.upperCase=oz,rg.upperFirst=oF,rg.each=iy,rg.eachRight=i_,rg.first=a0,oZ(rg,(e_={},rZ(rg,function(e,t){!eD.call(rg.prototype,t)&&(e_[t]=e)}),e_),{chain:!1}),rg.VERSION="4.17.21",tf(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){rg[e].placeholder=rg}),tf(["drop","take"],function(e,t){rE.prototype[e]=function(r){r=n===r?1:t5(oa(r),0);var a=this.__filtered__&&!t?new rE(this):this.clone();return a.__filtered__?a.__takeCount__=t3(r,a.__takeCount__):a.__views__.push({size:t3(r,0xffffffff),type:e+(a.__dir__<0?"Right":"")}),a},rE.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tf(["filter","map","takeWhile"],function(e,t){var r=t+1,n=1==r||3==r;rE.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ag(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),tf(["head","last"],function(e,t){var r="take"+(t?"Right":"");rE.prototype[e]=function(){return this[r](1).value()[0]}}),tf(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");rE.prototype[e]=function(){return this.__filtered__?new rE(this):this[r](1)}}),rE.prototype.compact=function(){return this.filter(oV)},rE.prototype.find=function(e){return this.filter(e).head()},rE.prototype.findLast=function(e){return this.reverse().find(e)},rE.prototype.invokeMap=nv(function(e,t){return"function"==typeof e?new rE(this):this.map(function(r){return r9(r,e,t)})}),rE.prototype.reject=function(e){return this.filter(iN(ag(e)))},rE.prototype.slice=function(e,t){e=oa(e);var r=this;return r.__filtered__&&(e>0||t<0)?new rE(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),n!==t&&(r=(t=oa(t))<0?r.dropRight(-t):r.take(t-e)),r)},rE.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},rE.prototype.toArray=function(){return this.take(0xffffffff)},rZ(rE.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),i=rg[a?"take"+("last"==t?"Right":""):t],o=a||/^find/.test(t);if(!!i)rg.prototype[t]=function(){var t=this.__wrapped__,u=a?[1]:arguments,l=t instanceof rE,s=u[0],c=l||iJ(t),f=function(e){var t=i.apply(rg,ty([e],u));return a&&d?t[0]:t};c&&r&&"function"==typeof s&&1!=s.length&&(l=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=o&&!d,m=l&&!h;if(!o&&c){t=m?t:new rE(this);var v=e.apply(t,u);return v.__actions__.push({func:ih,args:[f],thisArg:n}),new rb(v,d)}return p&&m?e.apply(this,u):(v=this.thru(f),p?a?v.value()[0]:v.value():v)}}),tf(["pop","push","shift","sort","splice","unshift"],function(e){var t=eC[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);rg.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var a=this.value();return t.apply(iJ(a)?a:[],e)}return this[r](function(r){return t.apply(iJ(r)?r:[],e)})}}),rZ(rE.prototype,function(e,t){var r=rg[t];if(r){var n=r.name+"";!eD.call(rl,n)&&(rl[n]=[]),rl[n].push({name:t,func:r})}}),rl[n5(n,2).name]=[{name:"wrapper",func:n}],rE.prototype.clone=function(){var e=new rE(this.__wrapped__);return e.__actions__=nW(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=nW(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=nW(this.__views__),e},rE.prototype.reverse=function(){if(this.__filtered__){var e=new rE(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},rE.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=iJ(e),n=t<0,a=r?e.length:0,i=function(e,t,r){for(var n=-1,a=r.length;++n=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}},rg.prototype.plant=function(e){for(var t,r=this;r instanceof r_;){var a=aV(r);a.__index__=0,a.__values__=n,t?i.__wrapped__=a:t=a;var i=a;r=r.__wrapped__}return i.__wrapped__=e,t},rg.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof rE){var t=e;return this.__actions__.length&&(t=new rE(this)),(t=t.reverse()).__actions__.push({func:ih,args:[a7],thisArg:n}),new rb(t,this.__chain__)}return this.thru(a7)},rg.prototype.toJSON=rg.prototype.valueOf=rg.prototype.value=function(){return nD(this.__wrapped__,this.__actions__)},rg.prototype.first=rg.prototype.head,e3&&(rg.prototype[e3]=function(){return this}),rg}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(e9._=tX,define(function(){return tX})):e8?((e8.exports=tX)._=tX,e7._=tX):e9._=tX}).call(this)},88306:function(e,t,r){var n=r(83369);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(a.Cache||n),r}a.Cache=n,e.exports=a},36968:function(e,t,r){var n=r(10611);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},79833:function(e,t,r){var n=r(80531);e.exports=function(e){return null==e?"":n(e)}},87668:function(e,t,r){"use strict";let n=r(74725);e.exports=n,n.default=n},74725:function(e){"use strict";e.exports=function(e,r,n){var a,i="";if(t="",arguments.length>1){if("number"==typeof n)for(a=0;a100)return e.replace(n,i);for(var t="",o=0,u=0;un;)e[r]=e[r-1],r--;e[r]=n}return e}},2251:function(e){var t,r;t=this,r=function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,r,n=e.toLowerCase().split(":"),a=n.length,i=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[a-1]&&""===n[a-2]&&n.pop(),a=n.length,-1!==n[a-1].indexOf(".")&&(i=7),t=0;t1)r.splice(0,1);else break;n[o]=r.join("")}var l=-1,s=0,c=0,f=-1,d=!1;for(o=0;os&&(l=f,s=c)):"0"===n[o]&&(d=!0,f=o,c=1);c>s&&(l=f,s=c),s>1&&n.splice(l,s,""),a=n.length;var h="";for(""===n[0]&&(h=":"),o=0;o=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return!1;var a=r.list[e.slice(t+1)];return!!a&&a.indexOf(" "+e.slice(n+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1||e.lastIndexOf(".",t-1)>=0)return!1;var n=r.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return null;var a=r.list[e.slice(t+1)];return!a||0>a.indexOf(" "+e.slice(n+1,t)+" ")?null:e.slice(n+1)},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return r},e.exports?e.exports=r():"function"==typeof define&&define.amd?define(r):t.SecondLevelDomains=r(t)},54998:function(e,t,r){var n,a;n=this,a=function(e,t,r,n){"use strict";var a,i=n&&n.URI;function o(e,t){var r=arguments.length>=1,n=arguments.length>=2;if(!(this instanceof o)){if(r)return n?new o(e,t):new o(e);return new o}if(void 0===e){if(r)throw TypeError("undefined is not a valid argument for URI");"undefined"!=typeof location?e=location.href+"":e=""}if(null===e&&r)throw TypeError("null is not a valid argument for URI");return(this.href(e),void 0!==t)?this.absoluteTo(t):this}o.version="1.19.11";var u=o.prototype,l=Object.prototype.hasOwnProperty;function s(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function f(e){return"Array"===c(e)}function d(e,t){var r,n,a={};if("RegExp"===c(t))a=null;else if(f(t))for(r=0,n=t.length;r]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,o.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},o.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,o.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},o.hostProtocols=["http","https"],o.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,o.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},o.getDomAttribute=function(e){if(!e||!e.nodeName)return;var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return o.domAttributes[t]},o.encode=g,o.decode=decodeURIComponent,o.iso8859=function(){o.encode=escape,o.decode=unescape},o.unicode=function(){o.encode=g,o.decode=decodeURIComponent},o.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},o.encodeQuery=function(e,t){var r=o.encode(e+"");return void 0===t&&(t=o.escapeQuerySpace),t?r.replace(/%20/g,"+"):r},o.decodeQuery=function(e,t){e+="",void 0===t&&(t=o.escapeQuerySpace);try{return o.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var y={encode:"encode",decode:"decode"},_=function(e,t){return function(r){try{return o[t](r+"").replace(o.characters[e][t].expression,function(r){return o.characters[e][t].map[r]})}catch(e){return r}}};for(a in y)o[a+"PathSegment"]=_("pathname",y[a]),o[a+"UrnPathSegment"]=_("urnpath",y[a]);var b=function(e,t,r){return function(n){a=r?function(e){return o[t](o[r](e))}:o[t];for(var a,i=(n+"").split(e),u=0,l=i.length;u-1&&(t.fragment=e.substring(r+1)||null,e=e.substring(0,r)),(r=e.indexOf("?"))>-1&&(t.query=e.substring(r+1)||null,e=e.substring(0,r)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=o.parseAuthority(e,t)):(r=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,r)||null,t.protocol&&!t.protocol.match(o.protocol_expression)?t.protocol=void 0:"//"===e.substring(r+1,r+3).replace(/\\/g,"/")?(e=e.substring(r+3),e=o.parseAuthority(e,t)):(e=e.substring(r+1),t.urn=!0)),t.path=e,t},o.parseHost=function(e,t){!e&&(e="");var r,n,a=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===a&&(a=e.length),"["===e.charAt(0))r=e.indexOf("]"),t.hostname=e.substring(1,r)||null,t.port=e.substring(r+2,a)||null,"/"===t.port&&(t.port=null);else{var i=e.indexOf(":"),u=e.indexOf("/"),l=e.indexOf(":",i+1);-1!==l&&(-1===u||l-1?a:e.length-1);return i>-1&&(-1===a||i-1?h.slice(0,p)+h.slice(p).replace(i,""):h.replace(i,"")).length<=s[0].length||r.ignore&&r.ignore.test(h))){d=c+h.length;var v=t(h,c,d,e);if(void 0===v){n.lastIndex=d;continue}v=String(v),e=e.slice(0,c)+v+e.slice(d),n.lastIndex=c+v.length}}return n.lastIndex=0,e},o.ensureValidHostname=function(t,r){var n=!!t,a=!1;if(r&&(a=h(o.hostProtocols,r)),a&&!n)throw TypeError("Hostname cannot be empty, if protocol is "+r);if(t&&t.match(o.invalid_hostname_characters)){if(!e)throw TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(o.invalid_hostname_characters))throw TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},o.ensureValidPort=function(e){if(!e)return;var t,r=Number(e);if(t=r,!/^[0-9]+$/.test(t)||!(r>0)||!(r<65536))throw TypeError('Port "'+e+'" is not a valid port')},o.noConflict=function(e){if(e){var t={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(t.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(t.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=n.SecondLevelDomains.noConflict()),t}return n.URI===this&&(n.URI=i),this},u.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=o.build(this._parts),this._deferred_build=!1),this},u.clone=function(){return new o(this)},u.valueOf=u.toString=function(){return this.build(!1)._string},u.protocol=E("protocol"),u.username=E("username"),u.password=E("password"),u.hostname=E("hostname"),u.port=E("port"),u.query=O("query","?"),u.fragment=O("fragment","#"),u.search=function(e,t){var r=this.query(e,t);return"string"==typeof r&&r.length?"?"+r:r},u.hash=function(e,t){var r=this.fragment(e,t);return"string"==typeof r&&r.length?"#"+r:r},u.pathname=function(e,t){if(void 0!==e&&!0!==e)return this._parts.urn?this._parts.path=e?o.recodeUrnPath(e):"":this._parts.path=e?o.recodePath(e):"/",this.build(!t),this;var r=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?o.decodeUrnPath:o.decodePath)(r):r},u.path=u.pathname,u.href=function(e,t){if(void 0===e)return this.toString();this._string="",this._parts=o._parts();var r,n=e instanceof o,a="object"==typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName){var i=o.getDomAttribute(e);e=e[i]||"",a=!1}if(!n&&a&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=o.parse(String(e),this._parts);else if(n||a){var u=n?e._parts:e;for(r in u){if("query"!==r)l.call(this._parts,r)&&(this._parts[r]=u[r])}u.query&&this.query(u.query,!1)}else throw TypeError("invalid input");return this.build(!t),this},u.is=function(e){var t=!1,n=!1,a=!1,i=!1,u=!1,l=!1,s=!1,c=!this._parts.urn;switch(this._parts.hostname&&(c=!1,n=o.ip4_expression.test(this._parts.hostname),a=o.ip6_expression.test(this._parts.hostname),u=(i=!(t=n||a))&&r&&r.has(this._parts.hostname),l=i&&o.idn_expression.test(this._parts.hostname),s=i&&o.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return c;case"absolute":return!c;case"domain":case"name":return i;case"sld":return u;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return a;case"idn":return l;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return s}return null};var j=u.protocol,x=u.port,P=u.hostname;u.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(o.protocol_expression))throw TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return j.call(this,e,t)},u.scheme=u.protocol,u.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),o.ensureValidPort(e))),x.call(this,e,t))},u.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var r={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==o.parseHost(e,r))throw TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=r.hostname,this._parts.preventInvalidHostname&&o.ensureValidHostname(e,this._parts.protocol)}return P.call(this,e,t)},u.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var r=this.protocol();return this.authority()?(r?r+"://":"")+this.authority():""}var n=o(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},u.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildHost(this._parts):"";if("/"!==o.parseHost(e,this._parts))throw TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},u.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildAuthority(this._parts):"";if("/"!==o.parseAuthority(e,this._parts))throw TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},u.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e)return"@"!==e[e.length-1]&&(e+="@"),o.parseUserinfo(e,this._parts),this.build(!t),this;var r=o.buildUserinfo(this._parts);return r?r.substring(0,r.length-1):r},u.resource=function(e,t){var r;return void 0===e?this.path()+this.search()+this.hash():(r=o.parse(e),this._parts.path=r.path,this._parts.query=r.query,this._parts.fragment=r.fragment,this.build(!t),this)},u.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,r)||""}var n=this._parts.hostname.length-this.domain().length,a=RegExp("^"+s(this._parts.hostname.substring(0,n)));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw TypeError("Domains cannot contain colons");return e&&o.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,e),this.build(!t),this},u.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.match(/\./g);if(r&&r.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(t).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!e)throw TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw TypeError("Domains cannot contain colons");if(o.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var a=RegExp(s(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(a,e)}return this.build(!t),this},u.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n,a=this._parts.hostname.lastIndexOf("."),i=this._parts.hostname.substring(a+1);return!0!==t&&r&&r.list[i.toLowerCase()]&&r.get(this._parts.hostname)||i}if(e){if(e.match(/[^a-zA-Z0-9-]/)){if(r&&r.is(e))n=RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(n,e);else throw TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]')}else if(!this._parts.hostname||this.is("IP"))throw ReferenceError("cannot set TLD on non-domain host");else n=RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(n,e)}else throw TypeError("cannot set TLD empty");return this.build(!t),this},u.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var r=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,r)||(this._parts.hostname?"/":"");return e?o.decodePath(n):n}var a=this._parts.path.length-this.filename().length,i=RegExp("^"+s(this._parts.path.substring(0,a)));return!this.is("relative")&&(!e&&(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=o.recodePath(e),this._parts.path=this._parts.path.replace(i,e),this.build(!t),this},u.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var r=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(r+1);return e?o.decodePathSegment(n):n}var a=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(a=!0);var i=RegExp(s(this.filename())+"$");return e=o.recodePath(e),this._parts.path=this._parts.path.replace(i,e),a?this.normalizePath(t):this.build(!t),this},u.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var r,n,a=this.filename(),i=a.lastIndexOf(".");return -1===i?"":(r=a.substring(i+1),n=/^[a-z0-9%]+$/i.test(r)?r:"",e?o.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var u,l=this.suffix();if(l)u=e?RegExp(s(l)+"$"):RegExp(s("."+l)+"$");else{if(!e)return this;this._parts.path+="."+o.recodePath(e)}return u&&(e=o.recodePath(e),this._parts.path=this._parts.path.replace(u,e)),this.build(!t),this},u.segment=function(e,t,r){var n=this._parts.urn?":":"/",a=this.path(),i="/"===a.substring(0,1),o=a.split(n);if(void 0!==e&&"number"!=typeof e&&(r=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw Error('Bad segment "'+e+'", must be 0-based integer');if(i&&o.shift(),e<0&&(e=Math.max(o.length+e,0)),void 0===t)return void 0===e?o:o[e];if(null===e||void 0===o[e]){if(f(t)){o=[];for(var u=0,l=t.length;u= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=35,p=Math.floor,m=String.fromCharCode;function v(e){throw RangeError(d[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(f,".")).split("."),t).join(".")}function _(e){for(var t,r,n=[],a=0,i=e.length;a=55296&&t<=56319&&a65535&&(e-=65536,t+=m(e>>>10&1023|55296),e=56320|1023&e),t+=m(e)}).join("")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,r){var n=0;for(e=r?p(e/700):e>>1,e+=p(e/t);e>26*h>>1;n+=36)e=p(e/h);return p(n+(h+1)*e/(e+38))}function j(e){var t,r,n,a,i,o,u,l,s,c,f,d=[],h=e.length,m=0,g=128,y=72;for((n=e.lastIndexOf("-"))<0&&(n=0),a=0;a=128&&v("not-basic"),d.push(e.charCodeAt(a));for(i=n>0?n+1:0;i=h&&v("invalid-input"),((s=(t=e.charCodeAt(i++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36)>=36||s>p((0x7fffffff-m)/u))&&v("overflow"),m+=s*u,s<(c=l<=y?1:l>=y+26?26:l-y))break;u>p(0x7fffffff/(f=36-c))&&v("overflow"),u*=f}y=O(m-o,r=d.length+1,0==o),p(m/r)>0x7fffffff-g&&v("overflow"),g+=p(m/r),m%=r,d.splice(m++,0,g)}return b(d)}function x(e){var t,r,n,a,i,o,u,l,s,c,f,d,h,g,y,b=[];for(o=0,d=(e=_(e)).length,t=128,r=0,i=72;o=t&&fp((0x7fffffff-r)/(h=n+1))&&v("overflow"),r+=(u-t)*h,t=u,o=0;o0x7fffffff&&v("overflow"),f==t){for(l=r,s=36;!(l<(c=s<=i?1:s>=i+26?26:s-i));s+=36){;y=l-c,g=36-c,b.push(m(E(c+y%g,0))),l=p(y/g)}b.push(m(E(l,0))),i=O(r,h,n==a),r=0,++n}++r,++t}return b.join("")}if(u={version:"1.3.2",ucs2:{decode:_,encode:b},decode:j,encode:x,toASCII:function(e){return y(e,function(e){return c.test(e)?"xn--"+x(e):e})},toUnicode:function(e){return y(e,function(e){return s.test(e)?j(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return u});else if(a&&i){if(e.exports==a)i.exports=u;else for(l in u)u.hasOwnProperty(l)&&(a[l]=u[l])}else n.punycode=u}(this)},5525:function(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>o});var n=r("85893");r("67294");var a=r("67026");let i="tabItem_Ymn6";function o(e){let{children:t,hidden:r,className:o}=e;return(0,n.jsx)("div",{role:"tabpanel",className:(0,a.Z)(i,o),hidden:r,children:t})}},47902:function(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>b});var n=r("85893"),a=r("67294"),i=r("67026"),o=r("69599"),u=r("16550"),l=r("32000"),s=r("4520"),c=r("38341"),f=r("76009");function d(e){return a.Children.toArray(e).filter(e=>"\n"!==e).map(e=>{if(!e||a.isValidElement(e)&&function(e){let{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)})?.filter(Boolean)??[]}function h(e){let{value:t,tabValues:r}=e;return r.some(e=>e.value===t)}var p=r("7227");let m="tabList__CuJ",v="tabItem_LNqP";function g(e){let{className:t,block:r,selectedValue:a,selectValue:u,tabValues:l}=e,s=[],{blockElementScrollPositionUntilNextRender:c}=(0,o.o5)(),f=e=>{let t=e.currentTarget,r=l[s.indexOf(t)].value;r!==a&&(c(t),u(r))},d=e=>{let t=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{let r=s.indexOf(e.currentTarget)+1;t=s[r]??s[0];break}case"ArrowLeft":{let r=s.indexOf(e.currentTarget)-1;t=s[r]??s[s.length-1]}}t?.focus()};return(0,n.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,i.Z)("tabs",{"tabs--block":r},t),children:l.map(e=>{let{value:t,label:r,attributes:o}=e;return(0,n.jsx)("li",{role:"tab",tabIndex:a===t?0:-1,"aria-selected":a===t,ref:e=>s.push(e),onKeyDown:d,onClick:f,...o,className:(0,i.Z)("tabs__item",v,o?.className,{"tabs__item--active":a===t}),children:r??t},t)})})}function y(e){let{lazy:t,children:r,selectedValue:o}=e,u=(Array.isArray(r)?r:[r]).filter(Boolean);if(t){let e=u.find(e=>e.props.value===o);return e?(0,a.cloneElement)(e,{className:(0,i.Z)("margin-top--md",e.props.className)}):null}return(0,n.jsx)("div",{className:"margin-top--md",children:u.map((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==o}))})}function _(e){let t=function(e){let{defaultValue:t,queryString:r=!1,groupId:n}=e,i=function(e){let{values:t,children:r}=e;return(0,a.useMemo)(()=>{let e=t??d(r).map(e=>{let{props:{value:t,label:r,attributes:n,default:a}}=e;return{value:t,label:r,attributes:n,default:a}});return!function(e){let t=(0,c.lx)(e,(e,t)=>e.value===t.value);if(t.length>0)throw Error(`Docusaurus error: Duplicate values "${t.map(e=>e.value).join(", ")}" found in . Every value needs to be unique.`)}(e),e},[t,r])}(e),[o,p]=(0,a.useState)(()=>(function(e){let{defaultValue:t,tabValues:r}=e;if(0===r.length)throw Error("Docusaurus error: the component requires at least one children component");if(t){if(!h({value:t,tabValues:r}))throw Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${r.map(e=>e.value).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}let n=r.find(e=>e.default)??r[0];if(!n)throw Error("Unexpected error: 0 tabValues");return n.value})({defaultValue:t,tabValues:i})),[m,v]=function(e){let{queryString:t=!1,groupId:r}=e,n=(0,u.k6)(),i=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:t,groupId:r}),o=(0,s._X)(i);return[o,(0,a.useCallback)(e=>{if(!i)return;let t=new URLSearchParams(n.location.search);t.set(i,e),n.replace({...n.location,search:t.toString()})},[i,n])]}({queryString:r,groupId:n}),[g,y]=function(e){var t;let{groupId:r}=e;let n=(t=r)?`docusaurus.tab.${t}`:null,[i,o]=(0,f.Nk)(n);return[i,(0,a.useCallback)(e=>{if(!!n)o.set(e)},[n,o])]}({groupId:n}),_=(()=>{let e=m??g;return h({value:e,tabValues:i})?e:null})();return(0,l.Z)(()=>{_&&p(_)},[_]),{selectedValue:o,selectValue:(0,a.useCallback)(e=>{if(!h({value:e,tabValues:i}))throw Error(`Can't select invalid tab value=${e}`);p(e),v(e),y(e)},[v,y,i]),tabValues:i}}(e);return(0,n.jsxs)("div",{className:(0,i.Z)("tabs-container",m),children:[(0,n.jsx)(g,{...t,...e}),(0,n.jsx)(y,{...t,...e})]})}function b(e){let t=(0,p.Z)();return(0,n.jsx)(_,{...e,children:d(e.children)},String(t))}},5503:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.TypeLabel,null),"\xa0:\xa0",a.default.createElement(o.FalseLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.default,{values:{id:"json-schema.labels.false"}},"Always invalid")))};let a=n(r(67294)),i=n(r(96025)),o=r(13046)},78724:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=(0,u.useJSVOptionsContext)(),n="boolean"!=typeof t,c=n?t.description:void 0;return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.TypeLabel,null),"\xa0:\xa0",a.default.createElement(o.TrueLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.default,{values:{id:"json-schema.labels.true"}},"Always valid")),n&&a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(l.QualifierMessages,{schema:t,options:r})),void 0!==c&&a.default.createElement(s.CreateDescription,{description:c}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046),u=r(91386),l=r(34412),s=r(980)},79015:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,s=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.BooleanLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},71697:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{description:t}=e,{DescriptionComponent:r}=(0,i.useJSVOptionsContext)();return a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},r?a.default.createElement(r,{description:t}):t)};let a=n(r(67294)),i=r(91386)},76423:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,s=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.IntegerLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},5968:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,description:r}=e,n=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.NullLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:n})),void 0!==r&&a.default.createElement(l.CreateDescription,{description:r}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},33235:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,description:r,nullable:n}=e,s=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.NumberLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:n})),void 0!==r&&a.default.createElement(l.CreateDescription,{description:r}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},8634:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,s=(0,o.useJSVOptionsContext)(),c=t.format;return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.StringLabel,{format:c}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},47418:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{value:t,schema:r}=e,{ValueComponent:n}=(0,i.useJSVOptionsContext)();return n?a.default.createElement(n,{value:t,schema:r}):(0,o.printSchemaType)(t)};let a=n(r(67294)),i=r(91386),o=r(51697)},62767:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=Object.entries(t.dependencies).reduce((e,t)=>{let[r,n]=t;return Array.isArray(n)?e.dependentRequired[r]=n:e.dependentSchemas[r]=n,e},{dependentRequired:{},dependentSchemas:{}});return a.default.createElement(a.default.Fragment,null,Object.keys(r.dependentRequired).length>0&&a.default.createElement(i.DependentRequired,{schema:{dependentRequired:r.dependentRequired}}),Object.keys(r.dependentSchemas).length>0&&a.default.createElement(i.DependentSchemas,{schema:{dependentSchemas:r.dependentSchemas}}))};let a=n(r(67294)),i=r(80976)},41294:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r={allOf:Object.entries(t.dependentRequired).map(e=>{let[t,r]=e;return{if:{type:"object",required:[t]},then:{type:"object",required:r}}})};return a.default.createElement(i.AllOfSchema,{schema:r})};let a=n(r(67294)),i=r(33829)},60920:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r={allOf:Object.entries(t.dependentSchemas).map(e=>{let[t,r]=e;return{if:{type:"object",required:[t]},then:r}})};return a.default.createElement(i.AllOfSchema,{schema:r})};let a=n(r(67294)),i=r(33829)},98895:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.then,n=void 0!==t.else,c=[{value:"schema_if",label:a.default.createElement(s.IfLabel,null)},r&&{value:"schema_then",label:a.default.createElement(s.ThenLabel,null)},n&&{value:"schema_else",label:a.default.createElement(s.ElseLabel,null)}].filter(e=>"boolean"!=typeof e);return a.default.createElement(o.default,{defaultValue:"schema_if",values:c},c.map(e=>a.default.createElement(i.default,{value:e.value,key:e.value},function(e,t){switch(e){case"schema_if":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/if"},a.default.createElement(u.CreateNodes,{schema:t.if}));case"schema_then":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/then"},a.default.createElement(u.CreateNodes,{schema:t.then}));case"schema_else":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/else"},a.default.createElement(u.CreateNodes,{schema:t.else}))}}(e.value,t))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(13046)},80976:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaConditional=t.Dependencies=t.DependentSchemas=t.DependentRequired=t.IfElseThen=void 0;var a=r(98895);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return n(a).default}});var i=r(41294);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return n(i).default}});var o=r(60920);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return n(o).default}});var u=r(62767);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return n(u).default}});var l=r(84078);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return n(l).default}})},84078:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.if,n=void 0!==t.dependentRequired,l=void 0!==t.dependentSchemas,s=void 0!==t.dependencies,c=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.schemaConditional"}},"Conditional subschemas"));return a.default.createElement(u.Collapsible,{summary:c,detailsProps:{open:!1}},r&&a.default.createElement(o.IfElseThen,{schema:t}),n&&a.default.createElement(o.DependentRequired,{schema:t}),l&&a.default.createElement(o.DependentSchemas,{schema:t}),s&&a.default.createElement(o.Dependencies,{schema:t}))};let a=n(r(67294)),i=n(r(96025)),o=r(80976),u=r(57485)},82495:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.additionalItems;if(void 0===r||"boolean"==typeof r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(t.items)?t.items.length:1;return a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},a.default.createElement(o.CreateEdge,{key:"array_additionalItems",name:a.default.createElement(l,{count:n}),schema:r,required:void 0!==t.minItems&&n>=t.minItems-1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(e){let{count:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.additionalItemsEntry",count:t}},"items[{count},...]"))}},62378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.contains;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.containsEntry"}},"items[..., x, ...]"));return a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},a.default.createElement(o.CreateEdge,{key:"contains",name:n,schema:r,required:void 0!==t.minContains&&t.minContains>0})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386)},31776:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,p=(0,f.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(d.TypeLabel,null),"\xa0:\xa0",a.default.createElement(d.ArrayLabel,null),a.default.createElement(u.default,{schema:t}),a.default.createElement(i.default,{schema:t}),a.default.createElement(l.default,{schema:t}),a.default.createElement(s.default,{schema:t}),a.default.createElement(o.default,{schema:t}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(c.QualifierMessages,{schema:t,options:p,nullable:r})),void 0!==n&&a.default.createElement(h.CreateDescription,{description:n}))};let a=n(r(67294)),i=n(r(59167)),o=n(r(62378)),u=n(r(69038)),l=n(r(82495)),s=n(r(78570)),c=r(34412),f=r(91386),d=r(13046),h=r(980)},59167:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.items;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(t.prefixItems)?t.prefixItems.length:0,i=Array.isArray(r),s=Array.isArray(r)?r:[r],c=s.length;return a.default.createElement("ul",null,s.map((e,r)=>a.default.createElement(u.SchemaHierarchyComponent,{key:`array_items_${r}`,innerJsonPointer:`/items${i?`/${r}`:""}`},a.default.createElement(o.CreateEdge,{name:a.default.createElement(l,{index:n+r,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=c}))))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(e){let{index:t,isArray:r}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.itemsEntry",index:r?t:"x"}},"items[{index}]"))}},69038:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.prefixItems;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(r),i=Array.isArray(r)?r.length:1,s=Array.isArray(r)?r:[r];return a.default.createElement("ul",null,s.map((e,r)=>a.default.createElement(u.SchemaHierarchyComponent,{key:`schema_hierarchy_${r}`,innerJsonPointer:`/prefixItems${n?`/${r}`:""}`},a.default.createElement(o.CreateEdge,{key:`array_prefixItems_${r}`,name:a.default.createElement(l,{count:r}),schema:e,required:void 0!==t.minItems&&t.minItems>=i}))))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(e){let{count:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.prefixItemsEntry",count:t}},"items[{count}]"))}},78570:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.unevaluatedItems;return void 0===r||"boolean"==typeof r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},a.default.createElement(o.CreateEdge,{key:"array_unevaluatedItems",name:a.default.createElement(l,null),schema:r,required:!1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(){return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.unevaluatedItemsEntry"}},"items[y]"))}},32087:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateArray=void 0;var a=r(31776);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return n(a).default}})},980:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateValue=t.CreateDescription=t.CreateAlwaysInvalid=t.CreateAlwaysValid=t.CreateNull=t.CreateInteger=t.CreateNumber=t.CreateBoolean=t.CreateString=t.CreateArray=t.CreateObject=t.SchemaConditional=t.SchemaComposition=void 0;var a=r(33829);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return a.SchemaComposition}});var i=r(80976);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var o=r(53021);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return o.CreateObject}});var u=r(32087);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return u.CreateArray}});var l=r(8634);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return n(l).default}});var s=r(79015);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return n(s).default}});var c=r(33235);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return n(c).default}});var f=r(76423);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return n(f).default}});var d=r(5968);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return n(d).default}});var h=r(78724);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return n(h).default}});var p=r(5503);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return n(p).default}});var m=r(71697);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return n(m).default}});var v=r(47418);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return n(v).default}})},58714:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.additionalProperties;return void 0===r||"boolean"==typeof r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},a.default.createElement(o.CreateEdge,{key:"object_additionalProperties",name:a.default.createElement(l,null),schema:r,required:!1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(){return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.additionalProperties"}},"property name*"))}},6067:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,m=(0,d.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.TypeLabel,null),"\xa0:\xa0",a.default.createElement(h.ObjectLabel,null),a.default.createElement(s.default,{schema:t}),a.default.createElement(o.default,{schema:t}),a.default.createElement(u.default,{schema:t}),a.default.createElement(l.default,{schema:t}),a.default.createElement(i.default,{schema:t}),a.default.createElement(c.default,{schema:t}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(f.QualifierMessages,{schema:t,options:m,nullable:r})),void 0!==n&&a.default.createElement(p.CreateDescription,{description:n}))};let a=n(r(67294)),i=n(r(58714)),o=n(r(75030)),u=n(r(23694)),l=n(r(47078)),s=n(r(95014)),c=n(r(54026)),f=r(34412),d=r(91386),h=r(13046),p=r(980)},23694:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.patternProperties;return void 0===r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,Object.entries(r).map(e=>{let[t,r]=e;return a.default.createElement(o.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,u.encodeStringForJSONPointer)(t)}`},a.default.createElement(i.CreateEdge,{name:a.default.createElement("code",null,t),schema:r,required:!1}))}))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(34412)},75030:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.properties;return void 0===r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,Object.entries(r).map(e=>{let[r,n]=e;return a.default.createElement(o.SchemaHierarchyComponent,{key:`object_properties_${r}`,innerJsonPointer:`/properties/${(0,u.encodeStringForJSONPointer)(r)}`},a.default.createElement(i.CreateEdge,{name:a.default.createElement("strong",null,r),schema:n,required:!!Array.isArray(t.required)&&t.required.includes(r)}))}))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(34412)},47078:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.propertyNames;if(void 0===r||"boolean"==typeof r||void 0===r.pattern)return a.default.createElement(a.default.Fragment,null);let n=r.pattern,u={...r};return delete u.pattern,a.default.createElement("ul",null,a.default.createElement(o.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},a.default.createElement(i.CreateEdge,{key:"propertyNames",name:a.default.createElement("code",null,n),schema:u,required:!1})))};let a=n(r(67294)),i=r(57485),o=r(91386)},54026:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.unevaluatedProperties;return void 0===r||"boolean"==typeof r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},a.default.createElement(o.CreateEdge,{key:"object_unevaluatedProperties",name:a.default.createElement(l,null),schema:r,required:!1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(){return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.unevaluatedProperties"}},"property name*"))}},95014:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.required||[],n=Object.keys(t.properties||{}),l=r.filter(e=>!n.includes(e));return 0===l.length?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,l.map((e,t)=>a.default.createElement(o.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,u.encodeStringForJSONPointer)(e)}`},a.default.createElement(i.CreateEdge,{name:a.default.createElement("strong",null,e),schema:!0,required:!0}))))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(34412)},53021:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateObject=void 0;var a=r(6067);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return n(a).default}})},47549:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.allOf,n="allOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(o.default,null,r.map((e,t)=>a.default.createElement(i.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},a.default.createElement(u.CreateNodes,{schema:e}))))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(34412)},27090:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.anyOf,n="anyOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(o.default,null,r.map((e,t)=>a.default.createElement(i.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},a.default.createElement(u.CreateNodes,{schema:e}))))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(34412)},33829:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaComposition=t.NotSchema=t.OneOfSchema=t.AnyOfSchema=t.AllOfSchema=void 0;var a=r(47549);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return n(a).default}});var i=r(27090);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return n(i).default}});var o=r(89207);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return n(o).default}});var u=r(55165);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return n(u).default}});var l=r(51885);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return n(l).default}})},55165:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.not;return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--danger"},"not"),a.default.createElement("br",null),a.default.createElement(o.SchemaHierarchyComponent,{innerJsonPointer:"/not"},a.default.createElement(i.CreateNodes,{schema:r})))};let a=n(r(67294)),i=r(57485),o=r(91386)},89207:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.oneOf,n="oneOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(o.default,null,r.map((e,t)=>a.default.createElement(i.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},a.default.createElement(u.CreateNodes,{schema:e}))))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(34412)},51885:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement(a.default.Fragment,null,void 0!==t.oneOf&&a.default.createElement(i.OneOfSchema,{schema:t}),void 0!==t.anyOf&&a.default.createElement(i.AnyOfSchema,{schema:t}),void 0!==t.allOf&&a.default.createElement(i.AllOfSchema,{schema:t}),void 0!==t.not&&a.default.createElement(i.NotSchema,{schema:t}))};let a=n(r(67294)),i=r(33829)},60100:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{summary:t,children:r,detailsProps:n}=e;return a.default.createElement(i.default,{summary:a.default.createElement("summary",null,t),...n},r)};let a=n(r(67294)),i=n(r(63922))},65168:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{name:t,schema:r,required:n}=e;return a.default.createElement(i.SchemaItem,{name:t,schema:r,required:n})};let a=n(r(67294)),i=r(57485)},36796:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;if("boolean"==typeof t)return a.default.createElement(u.CreateValidOrInvalid,{schema:t});let r=(0,l.isSchemaComposition)(t),n=(0,l.isSchemaConditional)(t);return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.CreateTypes,{schema:t}),r&&a.default.createElement(o.SchemaComposition,{schema:t}),n&&a.default.createElement(o.SchemaConditional,{schema:t}))};let a=n(r(67294)),i=r(57485),o=r(980),u=r(57485),l=r(34412)},47605:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=(0,l.detectedTypes)(t),n=r.includes("null");if(1===r.length||n&&2===r.length){let e=r.find(e=>"null"!==e)||r[0];return a.default.createElement(s,{schema:t,type:e,nullable:n})}if(r.length>1){let e=r.filter(e=>"null"!==e).map(e=>({value:e,label:a.default.createElement(u.TypeLabelSwitch,{type:e})}));return a.default.createElement(c,{schema:t,types:e,nullable:n})}return(0,l.isSchemaComposition)(t)?a.default.createElement(a.default.Fragment,null):a.default.createElement(u.CreateValidOrInvalid,{schema:t})};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(34412);function s(e){let{schema:t,type:r,nullable:n}=e;return a.default.createElement(u.RenderProvidedType,{schema:t,type:r,nullable:n})}function c(e){let{schema:t,types:r,nullable:n}=e;return a.default.createElement(o.default,{defaultValue:r[0].value,values:r,key:"multiple_types"},r.map(e=>a.default.createElement(i.default,{key:e.value,value:e.value},a.default.createElement(u.RenderProvidedType,{type:e.value,schema:t,nullable:n}))))}},28753:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement(a.default.Fragment,null,t&&a.default.createElement(i.CreateAlwaysValid,{schema:t}),!t&&a.default.createElement(i.CreateAlwaysInvalid,null))};let a=n(r(67294)),i=r(980)},4730:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,type:r,nullable:n}=e,o={description:t.description,nullable:n};switch(r){case"array":return a.default.createElement(i.CreateArray,{schema:t,...o});case"object":return a.default.createElement(i.CreateObject,{schema:t,...o});case"string":return a.default.createElement(i.CreateString,{schema:t,...o});case"boolean":return a.default.createElement(i.CreateBoolean,{schema:t,...o});case"number":return a.default.createElement(i.CreateNumber,{schema:t,...o});case"integer":return a.default.createElement(i.CreateInteger,{schema:t,...o});default:return a.default.createElement(i.CreateNull,{schema:t,...o})}};let a=n(r(67294)),i=r(980)},39492:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,name:r,required:n}=e,{jsonPointer:c,level:f}=(0,o.useSchemaHierarchyContext)(),d="boolean"!=typeof t&&!0===t.deprecated,h="boolean"!=typeof t&&!0===t.readOnly,p="boolean"!=typeof t&&!0===t.writeOnly,m="boolean"!=typeof t&&(void 0!==t.const||Array.isArray(t.enum)&&1===t.enum.length),v=!d&&n,g=a.default.createElement(a.default.Fragment,null,r,"\xa0",a.default.createElement(l.GenerateFriendlyName,{schema:t}),v&&a.default.createElement(a.default.Fragment,null,"\xa0"),v&&a.default.createElement(u.RequiredLabel,null),d&&a.default.createElement(a.default.Fragment,null,"\xa0"),d&&a.default.createElement(u.DeprecatedLabel,null),h&&a.default.createElement(a.default.Fragment,null,"\xa0"),h&&a.default.createElement(u.ReadOnlyLabel,null),p&&a.default.createElement(a.default.Fragment,null,"\xa0"),p&&a.default.createElement(u.WriteOnlyLabel,null),m&&a.default.createElement(a.default.Fragment,null,"\xa0"),m&&a.default.createElement(u.ConstantLabel,null));return a.default.createElement("li",{className:s.default.schemaItem,id:c,"data-level":f},a.default.createElement(i.Collapsible,{summary:g,detailsProps:{open:!1}},a.default.createElement(a.default.Fragment,null,a.default.createElement(i.CreateNodes,{schema:t}))))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(13046),l=r(34412),s=n(r(54301))},15212:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{type:t,...r}=e;switch(t){case"string":return a.default.createElement(i.StringLabel,{...r});case"number":return a.default.createElement(i.NumberLabel,{...r});case"boolean":return a.default.createElement(i.BooleanLabel,{...r});case"object":return a.default.createElement(i.ObjectLabel,{...r});case"array":return a.default.createElement(i.ArrayLabel,{...r});case"integer":return a.default.createElement(i.IntegerLabel,{...r});case"null":return a.default.createElement(i.NullLabel,{...r});case!0:return a.default.createElement(i.TrueLabel,{...r});case!1:return a.default.createElement(i.FalseLabel,{...r});default:return a.default.createElement("span",{style:{opacity:"0.6"}},t)}};let a=n(r(67294)),i=r(13046)},57485:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaItem=t.RenderProvidedType=t.TypeLabelSwitch=t.CreateTypes=t.CreateValidOrInvalid=t.CreateEdge=t.CreateNodes=t.Collapsible=void 0;var a=r(60100);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return n(a).default}});var i=r(36796);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return n(i).default}});var o=r(65168);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return n(o).default}});var u=r(28753);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return n(u).default}});var l=r(47605);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return n(l).default}});var s=r(15212);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return n(s).default}});var c=r(4730);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return n(c).default}});var f=r(39492);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return n(f).default}})},91386:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(43747),t),a(r(35942),t)},43747:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSVOptionsContextProvider=t.useJSVOptionsContext=t.JSVOptionsContext=void 0;let n=r(67294);t.JSVOptionsContext=(0,n.createContext)({fullSchema:!1,showExamples:!1,qualifierMessagesOrder:void 0,DescriptionComponent:void 0,UnresolvedRefsComponent:void 0});t.useJSVOptionsContext=()=>(0,n.useContext)(t.JSVOptionsContext),t.JSVOptionsContextProvider=t.JSVOptionsContext.Provider},35942:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaHierarchyContextProvider=t.useSchemaHierarchyContext=t.SchemaHierarchyContext=void 0,t.SchemaHierarchyComponent=function(e){let{innerJsonPointer:r,children:n}=e,{jsonPointer:a,level:i}=(0,t.useSchemaHierarchyContext)();return o.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${a}${r}`,level:i+1}},n)};let o=i(r(67294));t.SchemaHierarchyContext=(0,o.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,o.useContext)(t.SchemaHierarchyContext),t.SchemaHierarchyContextProvider=t.SchemaHierarchyContext.Provider},98477:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,resolverOptions:r,viewerOptions:n}=e,[a,i]=(0,o.useState)(void 0),[l,s]=(0,o.useState)(void 0);return((0,o.useEffect)(()=>{new u.Resolver().resolve(t,r).then(e=>{s(e.result)}).catch(e=>{i(e)})},[]),void 0!==a)?o.default.createElement(f,{error:a}):void 0===l?o.default.createElement(c.LoadingLabel,null):o.default.createElement(d,{schema:l,viewerOptions:n,className:e.className})};let o=i(r(67294)),u=r(60819),l=r(57485),s=r(91386),c=r(13046);function f(e){let{error:t}=e;return o.default.createElement("div",null,o.default.createElement(c.ErrorOccurredLabel,{error:t}))}function d(e){let{schema:t,viewerOptions:r}=e,n="boolean"!=typeof t&&void 0!==t.title?t.title:"Schema",a={fullSchema:t,...r};return o.default.createElement(s.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},o.default.createElement(s.JSVOptionsContextProvider,{value:a},o.default.createElement(l.Collapsible,{summary:o.default.createElement("strong",null,n),detailsProps:{open:!0,className:e.className||"json-schema-viewer"}},o.default.createElement(l.CreateNodes,{schema:t}))))}},48123:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.and"}},"AND")),e)};let a=n(r(67294)),i=n(r(96025))},71176:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.array"}},"array"))};let a=n(r(67294)),i=n(r(96025))},84097:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.boolean"}},"boolean"))};let a=n(r(67294)),i=n(r(96025))},67107:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.constant},a.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(72893))},19090:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.deprecated},a.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(80740))},42571:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.else"}},"Else"))};let a=n(r(67294)),i=n(r(96025))},2750:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{error:t}=e;return a.default.createElement(i.default,{values:{id:"json-schema.labels.errorOccurred",message:t.message}},"Something bad happens : {message}")};let a=n(r(67294)),i=n(r(96025))},48105:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.false"}},"none"))};let a=n(r(67294)),i=n(r(96025))},77587:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.if"}},"If"))};let a=n(r(67294)),i=n(r(96025))},41035:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.integer"}},"integer"))};let a=n(r(67294)),i=n(r(96025))},205:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("div",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.loading"}},"Loading ...."))};let a=n(r(67294)),i=n(r(96025))},95336:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.not"}},"NOT"))};let a=n(r(67294)),i=n(r(96025))},25411:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.null"}},"null"))};let a=n(r(67294)),i=n(r(96025))},72116:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.number"}},"number"))};let a=n(r(67294)),i=n(r(96025))},52513:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.object"}},"object"))};let a=n(r(67294)),i=n(r(96025))},36053:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.or"}},"OR")),e)};let a=n(r(67294)),i=n(r(96025))},49085:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.readOnly},a.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(27177))},88628:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.required},a.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(96043))},18659:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{format:t}=e;return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.string"}},"string"),void 0!==t&&a.default.createElement(a.default.Fragment,null,"\xa0",`(${t})`))};let a=n(r(67294)),i=n(r(96025))},71653:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.then"}},"Then"))};let a=n(r(67294)),i=n(r(96025))},32626:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.true"}},"any"))};let a=n(r(67294)),i=n(r(96025))},60943:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.type",count:1}},"type"))};let a=n(r(67294)),i=n(r(96025))},42332:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.writeOnly},a.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(28728))},7378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.xor"}},"XOR")),e)};let a=n(r(67294)),i=n(r(96025))},13046:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstantLabel=t.XorLabel=t.NotLabel=t.OrLabel=t.AndLabel=t.NullLabel=t.IntegerLabel=t.NumberLabel=t.BooleanLabel=t.StringLabel=t.FalseLabel=t.TrueLabel=t.WriteOnlyLabel=t.ReadOnlyLabel=t.DeprecatedLabel=t.RequiredLabel=t.ErrorOccurredLabel=t.LoadingLabel=t.ElseLabel=t.ThenLabel=t.IfLabel=t.TypeLabel=t.ArrayLabel=t.ObjectLabel=void 0;var a=r(52513);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return n(a).default}});var i=r(71176);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return n(i).default}});var o=r(60943);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return n(o).default}});var u=r(77587);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return n(u).default}});var l=r(71653);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return n(l).default}});var s=r(42571);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return n(s).default}});var c=r(205);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return n(c).default}});var f=r(2750);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return n(f).default}});var d=r(88628);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return n(d).default}});var h=r(19090);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return n(h).default}});var p=r(49085);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return n(p).default}});var m=r(42332);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return n(m).default}});var v=r(32626);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return n(v).default}});var g=r(48105);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return n(g).default}});var y=r(18659);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return n(y).default}});var _=r(84097);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return n(_).default}});var b=r(72116);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return n(b).default}});var E=r(41035);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return n(E).default}});var O=r(25411);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return n(O).default}});var j=r(48123);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return n(j).default}});var x=r(36053);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return n(x).default}});var P=r(95336);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return n(P).default}});var w=r(7378);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return n(w).default}});var S=r(67107);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return n(S).default}})},60588:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minContains&&void 0!==t.maxContains,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contains"}},"Must contain : "));return a.default.createElement("div",{key:r?"minContainsAndmaxContains":void 0!==t.minContains?"minContains":"maxContains"},n,"\xa0",void 0!==t.minContains&&a.default.createElement(u,{value:t.minContains}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxContains&&a.default.createElement(l,{value:t.maxContains}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minContains",count:t}},"at least {count} valid item(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxContains",count:t}},"at most {count} valid item(s)"))}},17978:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minItems&&void 0!==t.maxItems,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.lengthItems"}},"Length :"));return a.default.createElement("div",{key:r?"minItemsAndmaxItems":void 0!==t.minItems?"minItems":"maxItems"},n,"\xa0",void 0!==t.minItems&&a.default.createElement(u,{value:t.minItems}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxItems&&a.default.createElement(l,{value:t.maxItems}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minItems",count:t}},">= {count}"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxItems",count:t}},"<= {count}"))}},63454:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItems"}},"Unique items :")),t=a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItemsOnly"}},"yes"));return a.default.createElement("div",{key:"uniqueItems"},e,"\xa0",t)};let a=n(r(67294)),i=n(r(96025))},51947:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.const"}},"Constant value :"));return a.default.createElement("div",{key:"const"},r,"\xa0",a.default.createElement(o.CreateValue,{value:t.const,schema:t}))};let a=n(r(67294)),i=n(r(96025)),o=r(980)},5757:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contentEncoding"}},"Encoding :"));return a.default.createElement("div",{key:"contentEncoding"},r,"\xa0",(0,o.printSchemaType)(t.contentEncoding))};let a=n(r(67294)),i=n(r(96025)),o=r(51697)},27620:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contentMediaType"}},"Media type :"));return a.default.createElement("div",{key:"contentMediaType"},r,"\xa0",(0,o.printSchemaType)(t.contentMediaType))};let a=n(r(67294)),i=n(r(96025)),o=r(51697)},25626:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contentSchema"}},"Decoded content must be validated against this schema :"));return a.default.createElement("div",{key:"contentSchema"},r,"\xa0",a.default.createElement(o.Collapsible,{summary:a.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},a.default.createElement(o.CreateNodes,{schema:t.contentSchema}))))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386)},46325:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.default"}},"Default value :"));return a.default.createElement("div",{key:"default"},r,"\xa0",a.default.createElement(o.CreateValue,{value:t.default,schema:t}))};let a=n(r(67294)),i=n(r(96025)),o=r(980)},50023:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.deprecated"}},"Deprecated");return a.default.createElement("div",{key:"deprecated"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},26378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.enum"}},"Possible values :"));return a.default.createElement("div",{key:"enum"},r,"\xa0",a.default.createElement("ul",null,t.enum.map((e,r)=>a.default.createElement("li",{key:r},a.default.createElement(o.CreateValue,{value:e,schema:t})))))};let a=n(r(67294)),i=n(r(96025)),o=r(980)},4861:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.examples"}},"Example values :")),n=t.examples.map((e,t)=>({id:t,value:e,label:a.default.createElement(i.default,{values:{id:"json-schema.labels.exampleItem",index:t}},"Example {index}")}));return a.default.createElement("div",{key:"examples"},r,"\xa0",a.default.createElement(u.default,null,n.map(e=>a.default.createElement(o.default,{key:e.id,value:e.id.toString(),label:e.label},a.default.createElement(l.CreateValue,{value:e.value,schema:t})))))};let a=n(r(67294)),i=n(r(96025)),o=n(r(5525)),u=n(r(47902)),l=r(980)},98847:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraItems"}},"No extra item(s) are authorized in this array");return a.default.createElement("div",{key:"no-extra-items"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},57587:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraProperties"}},"No extra propertie(s) are authorized in this object");return a.default.createElement("div",{key:"no-extra-properties"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},81933:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.nullable"}},"Nullable");return a.default.createElement("div",{key:"nullable"},"\u2753\xa0",e)};let a=n(r(67294)),i=n(r(96025))},24690:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.exclusiveMinimum||t.minimum,n=void 0!==t.exclusiveMinimum,s=t.exclusiveMaximum||t.maximum,c=void 0!==t.exclusiveMaximum,f=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.numberMinimumMaximum"}},"Possible values :"));return a.default.createElement("div",{key:"number-range"},f,"\xa0",void 0!==r&&a.default.createElement("code",null,a.default.createElement(u,{exclusive:n,value:r})),void 0!==r&&void 0!==s&&a.default.createElement(o.AndLabel,null),void 0!==s&&a.default.createElement("code",null,a.default.createElement(l,{exclusive:c,value:s})))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t,exclusive:r}=e;return r?a.default.createElement(i.default,{values:{id:"json-schema.keywords.minimumExlusive",count:t}},"> {count}"):a.default.createElement(i.default,{values:{id:"json-schema.keywords.minimum",count:t}},">= {count}")}function l(e){let{value:t,exclusive:r}=e;return r?a.default.createElement(i.default,{values:{id:"json-schema.keywords.maximumExlusive",count:t}},"< {count}"):a.default.createElement(i.default,{values:{id:"json-schema.keywords.maximum",count:t}},"<= {count}")}},77698:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement("div",{key:"multipleOf"},a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.multipleOf"}},"Possible values :")),"\xa0",a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.multipleOf",count:t.multipleOf}},"multiple of {count}")))};let a=n(r(67294)),i=n(r(96025))},42053:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minProperties&&void 0!==t.maxProperties,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.lengthProperties"}},"Length :"));return a.default.createElement("div",{key:r?"minPropertiesAndMaxProperties":void 0!==t.minProperties?"minProperties":"maxProperties"},n,"\xa0",void 0!==t.minProperties&&a.default.createElement(u,{value:t.minProperties}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxProperties&&a.default.createElement(l,{value:t.maxProperties}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minProperties",count:t}},">= {count} propertie(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxProperties",count:t}},"<= {count} propertie(s)"))}},48313:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement("div",{key:"pattern"},a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.pattern"}},"Pattern :")),"\xa0",a.default.createElement("code",null,t.pattern))};let a=n(r(67294)),i=n(r(96025))},45740:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ORDER=t.CHECKS_MAP=void 0;let u=o(r(67294)),l=i(r(51697)),s=r(54580);t.CHECKS_MAP={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>u.default.createElement(l.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>u.default.createElement(l.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>u.default.createElement(l.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>u.default.createElement(l.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return(0,s.isArrayNotEmpty)(t.enum)},Component:e=>{let{schema:t}=e;return u.default.createElement(l.EnumQM,{key:"enum",schema:t})}},stringLength:{match:e=>{let{schema:t}=e;return void 0!==t.minLength||void 0!==t.maxLength},Component:e=>{let{schema:t}=e;return u.default.createElement(l.StringLengthQM,{key:"stringLength",schema:t})}},objectProperties:{match:e=>{let{schema:t}=e;return void 0!==t.minProperties||void 0!==t.maxProperties},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>u.default.createElement(l.NoExtraPropertiesQM,{key:"no-extra-properties"})},arrayItems:{match:e=>{let{schema:t}=e;return void 0!==t.minItems||void 0!==t.maxItems},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ArrayNumberOfItemsQM,{key:"arrayItems",schema:t})}},arrayContains:{match:e=>{let{schema:t}=e;return void 0!==t.minContains||void 0!==t.maxContains},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ArrayContainsNumberQM,{key:"arrayContains",schema:t})}},"no-extra-items":{match:e=>{let{schema:t}=e;return!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems},Component:()=>u.default.createElement(l.NoExtraItemsQM,{key:"no-extra-items"})},"number-range":{match:e=>{let{schema:t}=e;return void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum},Component:e=>{let{schema:t}=e;return u.default.createElement(l.NumberBoundsQM,{key:"number-range",schema:t})}},pattern:{match:e=>{let{schema:t}=e;return void 0!==t.pattern},Component:e=>{let{schema:t}=e;return u.default.createElement(l.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return u.default.createElement(l.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>u.default.createElement(l.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return u.default.createElement(l.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ConstantQM,{key:"const",schema:t})}},examples:{match:e=>{let{schema:t,options:r}=e;return!0===r.showExamples&&(0,s.isArrayNotEmpty)(t.examples)},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,s.hasUnresolvedRefs)(t)},Component:e=>u.default.createElement(l.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.DEFAULT_ORDER=["nullable","deprecated","readOnly","writeOnly","enum","stringLength","objectProperties","no-extra-properties","arrayItems","arrayContains","no-extra-items","number-range","pattern","multipleOf","uniqueItems","contentEncoding","contentMediaType","contentSchema","default","const","examples","unsolvedRefs"]},74722:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.readOnly"}},"read only");return a.default.createElement("div",{key:"readOnly"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},97296:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minLength&&void 0!==t.maxLength,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.length"}},"Length :"));return a.default.createElement("div",{key:r?"minLengthAndmaxLength":void 0!==t.minLength?"minLength":"maxLength"},n,"\xa0",void 0!==t.minLength&&a.default.createElement(u,{value:t.minLength}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxLength&&a.default.createElement(l,{value:t.maxLength}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minLength",count:t}},">= {count} character(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxLength",count:t}},"<= {count} character(s)"))}},29793:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,options:{UnresolvedRefsComponent:r}}=e,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.unsolvedRefs"}},"Unsolved ref(s) :")),o=[t.$ref,t.$dynamicRef,t.$recursiveRef].filter(e=>void 0!==e).join(" ");return a.default.createElement("div",{key:"unsolvedRefs"},r?a.default.createElement(r,{schema:t}):a.default.createElement(a.default.Fragment,null,n,"\xa0",o))};let a=n(r(67294)),i=n(r(96025))},41082:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.writeOnly"}},"write only");return a.default.createElement("div",{key:"writeOnly"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},51697:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QUALIFIERS_DEFAULT_ORDER=t.QUALIFIERS_MAP=t.UnsolvedRefsQM=t.ContentSchemaQM=t.ContentEncodingQM=t.ContentMediaTypeQM=t.NullableQM=t.WriteOnlyQM=t.ReadOnlyQM=t.DeprecatedQM=t.ExamplesQM=t.ConstantQM=t.DefaultValueQM=t.ArrayUniqueItemsQM=t.MultipleOfQM=t.PatternQM=t.NumberBoundsQM=t.NoExtraItemsQM=t.ArrayContainsNumberQM=t.ArrayNumberOfItemsQM=t.NoExtraPropertiesQM=t.ObjectPropertiesQM=t.StringLengthQM=t.EnumQM=void 0,t.printSchemaType=function(e){return["string","number","bigint","boolean"].includes(typeof e)?a.default.createElement("code",null,e.toString()):a.default.createElement(i.default,{language:"json"},`${JSON.stringify(e)}`)};let a=n(r(67294)),i=n(r(45056));var o=r(26378);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return n(o).default}});var u=r(97296);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return n(u).default}});var l=r(42053);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return n(l).default}});var s=r(57587);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return n(s).default}});var c=r(17978);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return n(c).default}});var f=r(60588);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return n(f).default}});var d=r(98847);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return n(d).default}});var h=r(24690);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return n(h).default}});var p=r(48313);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return n(p).default}});var m=r(77698);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return n(m).default}});var v=r(63454);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return n(v).default}});var g=r(46325);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return n(g).default}});var y=r(51947);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return n(y).default}});var _=r(4861);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return n(_).default}});var b=r(50023);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return n(b).default}});var E=r(74722);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return n(E).default}});var O=r(41082);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return n(O).default}});var j=r(81933);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return n(j).default}});var x=r(27620);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return n(x).default}});var P=r(5757);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return n(P).default}});var w=r(25626);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return n(w).default}});var S=r(29793);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return n(S).default}});var k=r(45740);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return k.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return k.DEFAULT_ORDER}})},54580:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayNotEmpty=t.hasUnresolvedRefs=t.isNull=t.isBoolean=t.isSchemaConditional=t.isSchemaComposition=t.isInteger=t.isNumeric=t.isStringType=t.isArrayType=t.isObjectType=void 0,t.detectedTypes=function(e){let r=Array.isArray(e.type)?e.type:void 0!==e.type?[e.type]:[];return 0!==r.length?[...new Set(r)]:[...function*(e){(0,t.isNull)(e)&&(yield"null"),(0,t.isObjectType)(e)&&(yield"object"),(0,t.isArrayType)(e)&&(yield"array"),(0,t.isStringType)(e)&&(yield"string"),(0,t.isBoolean)(e)&&(yield"boolean"),(0,t.isInteger)(e)&&(yield"integer"),!(0,t.isInteger)(e)&&(0,t.isNumeric)(e)&&(yield"number")}(e)]};t.isObjectType=e=>"boolean"!=typeof e&&("object"===e.type||void 0!==e.properties||void 0!==e.additionalProperties||void 0!==e.patternProperties||void 0!==e.propertyNames||void 0!==e.minProperties||void 0!==e.maxProperties||void 0!==e.required||void 0!==e.unevaluatedProperties);t.isArrayType=e=>{var t;return"boolean"!=typeof e&&("array"===e.type||void 0!==e.items||void 0!==e.minItems||void 0!==e.maxItems||void 0!==e.additionalItems||void 0!==e.contains||void 0!==e.minContains||void 0!==e.maxContains||void 0!==e.prefixItems||void 0!==e.unevaluatedItems||Array.isArray(e.const)||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>Array.isArray(e))))};t.isStringType=e=>{var t;return"boolean"!=typeof e&&("string"===e.type||void 0!==e.minLength||void 0!==e.maxLength||void 0!==e.pattern||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"string"==typeof e))||"string"==typeof e.const)};t.isNumeric=e=>{var t;return"boolean"!=typeof e&&("number"===e.type||void 0!==e.multipleOf||void 0!==e.minimum||void 0!==e.exclusiveMinimum||void 0!==e.maximum||void 0!==e.exclusiveMaximum||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"number"==typeof e))||"number"==typeof e.const)};t.isInteger=e=>{var t;return"boolean"!=typeof e&&("integer"===e.type||1===e.multipleOf||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"bigint"==typeof e))||"bigint"==typeof e.const)};t.isSchemaComposition=e=>"boolean"!=typeof e&&(void 0!==e.allOf||void 0!==e.anyOf||void 0!==e.oneOf||void 0!==e.not);t.isSchemaConditional=e=>"boolean"!=typeof e&&(void 0!==e.if||void 0!==e.dependencies||void 0!==e.dependentRequired||void 0!==e.dependentSchemas);t.isBoolean=e=>{var t;return"boolean"!=typeof e&&("boolean"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"boolean"==typeof e))||"boolean"==typeof e.const)};t.isNull=e=>{var t;return"boolean"!=typeof e&&("null"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>null===e))||null===e.const)};t.hasUnresolvedRefs=e=>"boolean"!=typeof e&&(void 0!==e.$ref||void 0!==e.$dynamicRef||void 0!==e.$recursiveRef);t.isArrayNotEmpty=e=>void 0!==e&&e.length>0},94555:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStringForJSONPointer=function(e){return e.replace(/~/g,"~0").replace(/\//g,"~1").replace(/%/g,"%25")}},1086:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;let a=n(r(67294)),i=r(34412),o=r(57485),u=r(13046);function l(e,t){return!(t<=1)&&e!==t-1}function s(e){let{schema:t}=e;if("boolean"==typeof t)return a.default.createElement(o.TypeLabelSwitch,{type:t});if(t.title)return a.default.createElement(a.default.Fragment,null,t.title);let r=(0,i.detectedTypes)(t);return 0===r.length?a.default.createElement(c,{schema:t}):a.default.createElement(a.default.Fragment,null,r.map((e,n)=>a.default.createElement(a.default.Fragment,{key:n},a.default.createElement(f,{schema:t,type:e}),l(n,r.length)&&a.default.createElement(u.OrLabel,null))))}function c(e){let{schema:t}=e;if(void 0!==t.not)return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.NotLabel,null)," ( ",a.default.createElement(s,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){let e=t.anyOf?a.default.createElement(u.OrLabel,null):t.oneOf?a.default.createElement(u.XorLabel,null):a.default.createElement(u.AndLabel,null),r=t.allOf||t.anyOf||t.oneOf;return a.default.createElement(a.default.Fragment,null,r.map((t,n)=>a.default.createElement(a.default.Fragment,{key:n},a.default.createElement(s,{schema:t}),l(n,r.length)&&e)))}return a.default.createElement(o.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:r}=e;if("string"===r&&void 0!==t.format)return a.default.createElement(o.TypeLabelSwitch,{type:t.format});if("array"===r)return a.default.createElement(d,{schema:t});if(!["array","object"].includes(r)){if(void 0!==t.const)return a.default.createElement("code",null,`${JSON.stringify(t.const)}`);if(void 0!==t.enum&&1===t.enum.length)return a.default.createElement("code",null,`${JSON.stringify(t.enum[0])}`)}return a.default.createElement(o.TypeLabelSwitch,{type:r})}function d(e){let{schema:t}=e;if([void 0,!1].includes(t.items)&&[void 0,!1].includes(t.prefixItems)&&void 0===t.contains)return a.default.createElement(o.TypeLabelSwitch,{type:"array"});let r=[];if(Array.isArray(t.prefixItems)&&r.push(...t.prefixItems.map((e,t)=>a.default.createElement(s,{schema:e,key:`prefixItems_${t}`}))),void 0!==t.items&&"boolean"!=typeof t.items){let e=Array.isArray(t.items)?t.items:[t.items];r.push(...e.map((e,t)=>a.default.createElement(s,{schema:e,key:`items_${t}`})))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&r.push(a.default.createElement(s,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&r.push(a.default.createElement(s,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&r.push(a.default.createElement(a.default.Fragment,{key:"before_contains"},"..."),a.default.createElement(s,{schema:t.contains,key:"contains"})),!(!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems)&&r.push(a.default.createElement(a.default.Fragment,{key:"open_tuple"},"...")),a.default.createElement(a.default.Fragment,null,"(",r.map((e,t)=>a.default.createElement(a.default.Fragment,{key:t},e,l(t,r.length)&&",")),")[]")}},9672:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{options:t}=e,r=t.qualifierMessagesOrder||i.QUALIFIERS_DEFAULT_ORDER;return a.default.createElement(a.default.Fragment,null,r.filter(t=>i.QUALIFIERS_MAP[t].match(e)).map(t=>i.QUALIFIERS_MAP[t].Component(e)))};let a=n(r(67294)),i=r(51697)},34412:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QualifierMessages=t.GenerateFriendlyName=void 0;var o=r(1086);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(o).default}});var u=r(9672);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(u).default}}),a(r(54580),t),a(r(94555),t)}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/7960.1b235a33.js b/pr-preview/pr-3/assets/js/7960.1b235a33.js new file mode 100644 index 0000000..1396e18 --- /dev/null +++ b/pr-preview/pr-3/assets/js/7960.1b235a33.js @@ -0,0 +1,215 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7960"],{10626:function(t,e,s){s.d(e,{j:function(){return a},q:function(){return n}});var i=s(5995),r=s(27818),n=(0,i.eW)((t,e)=>{let s;return"sandbox"===e&&(s=(0,r.Ys)("#i"+t)),("sandbox"===e?(0,r.Ys)(s.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select(`[id="${t}"]`)},"getDiagramElement"),a=(0,i.eW)((t,e,s,r)=>{t.attr("class",s);let{width:n,height:a,x:c,y:h}=o(t,e);(0,i.v2)(t,a,n,r);let u=l(c,h,n,a,e);t.attr("viewBox",u),i.cM.debug(`viewBox configured: ${u} with padding: ${e}`)},"setupViewPortForSVG"),o=(0,i.eW)((t,e)=>{let s=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*e,height:s.height+2*e,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),l=(0,i.eW)((t,e,s,i,r)=>`${t-r} ${e-r} ${s} ${i}`,"createViewBox")},2785:function(t,e,s){s.d(e,{Ee:function(){return tY},J8:function(){return l},_$:function(){return R},bH:function(){return tB}});var i=s(10626),r=s(88984),n=s(7690),a=s(5995),o=function(){var t=(0,a.eW)(function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},"o"),e=[1,2],s=[1,3],i=[1,4],r=[2,4],n=[1,9],o=[1,11],l=[1,16],c=[1,17],h=[1,18],u=[1,19],d=[1,32],p=[1,20],y=[1,21],f=[1,22],g=[1,23],S=[1,24],m=[1,26],_=[1,27],b=[1,28],T=[1,29],k=[1,30],E=[1,31],x=[1,34],$=[1,35],C=[1,36],D=[1,37],v=[1,33],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],A=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],I=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],W={trace:(0,a.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement: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,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"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:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:(0,a.eW)(function(t,e,s,i,r,n,a){var o=n.length-1;switch(r){case 3:return i.setRootDoc(n[o]),n[o];case 4:this.$=[];break;case 5:"nl"!=n[o]&&(n[o-1].push(n[o]),this.$=n[o-1]);break;case 6:case 7:case 12:this.$=n[o];break;case 8:this.$="nl";break;case 13:let l=n[o-1];l.description=i.trimColon(n[o]),this.$=l;break;case 14:this.$={stmt:"relation",state1:n[o-2],state2:n[o]};break;case 15:let c=i.trimColon(n[o]);this.$={stmt:"relation",state1:n[o-3],state2:n[o-1],description:c};break;case 19:this.$={stmt:"state",id:n[o-3],type:"default",description:"",doc:n[o-1]};break;case 20:var h=n[o],u=n[o-2].trim();if(n[o].match(":")){var d=n[o].split(":");h=d[0],u=[u,d[1]]}this.$={stmt:"state",id:h,type:"default",description:u};break;case 21:this.$={stmt:"state",id:n[o-3],type:"default",description:n[o-5],doc:n[o-1]};break;case 22:this.$={stmt:"state",id:n[o],type:"fork"};break;case 23:this.$={stmt:"state",id:n[o],type:"join"};break;case 24:this.$={stmt:"state",id:n[o],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:n[o-1].trim(),note:{position:n[o-2].trim(),text:n[o].trim()}};break;case 29:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 30:case 31:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:n[o-1].trim(),classes:n[o].trim()};break;case 34:this.$={stmt:"style",id:n[o-1].trim(),styleClass:n[o].trim()};break;case 35:this.$={stmt:"applyClass",id:n[o-1].trim(),styleClass:n[o].trim()};break;case 36:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:n[o].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:n[o-2].trim(),classes:[n[o].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:n[o-2].trim(),classes:[n[o].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:e,5:s,6:i},{1:[3]},{3:5,4:e,5:s,6:i},{3:6,4:e,5:s,6:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:l,17:c,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,7]),t(L,[2,8]),t(L,[2,9]),t(L,[2,10]),t(L,[2,11]),t(L,[2,12],{14:[1,39],15:[1,40]}),t(L,[2,16]),{18:[1,41]},t(L,[2,18],{20:[1,42]}),{23:[1,43]},t(L,[2,22]),t(L,[2,23]),t(L,[2,24]),t(L,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(L,[2,28]),{34:[1,48]},{36:[1,49]},t(L,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(A,[2,42],{55:[1,54]}),t(A,[2,43],{55:[1,55]}),t(L,[2,36]),t(L,[2,37]),t(L,[2,38]),t(L,[2,39]),t(L,[2,6]),t(L,[2,13]),{13:56,24:d,54:v},t(L,[2,17]),t(I,r,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(L,[2,29]),t(L,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(L,[2,14],{14:[1,67]}),{4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,21:[1,68],22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(L,[2,32]),t(L,[2,33]),t(L,[2,34]),t(L,[2,35]),t(A,[2,44]),t(A,[2,45]),t(L,[2,15]),t(L,[2,19]),t(I,r,{7:72}),t(L,[2,26]),t(L,[2,27]),{4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,21:[1,73],22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:(0,a.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var s=Error(t);throw s.hash=e,s}},"parseError"),parse:(0,a.eW)(function(t){var e=this,s=[0],i=[],r=[null],n=[],o=this.table,l="",c=0,h=0,u=0,d=n.slice.call(arguments,1),p=Object.create(this.lexer),y={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(y.yy[f]=this.yy[f]);p.setInput(t,y.yy),y.yy.lexer=p,y.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;n.push(g);var S=p.options&&p.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function m(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}(0,a.eW)(function(t){s.length=s.length-2*t,r.length=r.length-t,n.length=n.length-t},"popStack"),(0,a.eW)(m,"lex");for(var _,b,T,k,E,x,$,C,D,v={};;){if(T=s[s.length-1],this.defaultActions[T]?k=this.defaultActions[T]:(null==_&&(_=m()),k=o[T]&&o[T][_]),void 0===k||!k.length||!k[0]){var L="";for(x in D=[],o[T])this.terminals_[x]&&x>2&&D.push("'"+this.terminals_[x]+"'");L=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(L,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:g,expected:D})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+T+", token: "+_);switch(k[0]){case 1:s.push(_),r.push(p.yytext),n.push(p.yylloc),s.push(k[1]),_=null,b?(_=b,b=null):(h=p.yyleng,l=p.yytext,c=p.yylineno,g=p.yylloc,u>0&&u--);break;case 2:if($=this.productions_[k[1]][1],v.$=r[r.length-$],v._$={first_line:n[n.length-($||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-($||1)].first_column,last_column:n[n.length-1].last_column},S&&(v._$.range=[n[n.length-($||1)].range[0],n[n.length-1].range[1]]),void 0!==(E=this.performAction.apply(v,[l,h,c,y.yy,k[1],r,n].concat(d))))return E;$&&(s=s.slice(0,-1*$*2),r=r.slice(0,-1*$),n=n.slice(0,-1*$)),s.push(this.productions_[k[1]][0]),r.push(v.$),n.push(v._$),C=o[s[s.length-2]][s[s.length-1]],s.push(C);break;case 3:return!0}}return!0},"parse")},w={EOF:1,parseError:(0,a.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.eW)(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},"setInput"),input:(0,a.eW)(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},"input"),unput:(0,a.eW)(function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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),s.length-1&&(this.yylineno-=s.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:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[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},"unput"),more:(0,a.eW)(function(){return this._more=!0,this},"more"),reject:(0,a.eW)(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})},"reject"),less:(0,a.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.eW)(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,"")},"upcomingInput"),showPosition:(0,a.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.eW)(function(t,e){var s,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],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var n in r)this[n]=r[n];return!1},"test_match"),next:(0,a.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,s,i,r=this._currentRules(),n=0;ne[0].length)){if(e=s,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,r[n])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[i]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,a.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,a.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,a.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.eW)(function(t,e,s,i){switch(s){case 0:return 41;case 1:case 42:return 48;case 2:case 43:return 49;case 3:case 44:return 50;case 4:case 45:return 51;case 5:case 6:case 8:case 9:case 10:case 11:case 54:case 56:case 62:break;case 7:case 77:return 5;case 12:case 32:return this.pushState("SCALE"),17;case 13:case 33:return 18;case 14:case 20:case 34:case 49:case 52:this.popState();break;case 15:return this.begin("acc_title"),33;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),35;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),38;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),39;case 25:return this.popState(),40;case 26:return this.pushState("CLASS"),45;case 27:return this.popState(),this.pushState("CLASS_STYLE"),46;case 28:return this.popState(),47;case 29:return this.pushState("STYLE"),42;case 30:return this.popState(),this.pushState("STYLEDEF_STYLES"),43;case 31:return this.popState(),44;case 35:this.pushState("STATE");break;case 36:case 39:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 37:case 40:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 46:this.pushState("STATE_STRING");break;case 47:return this.pushState("STATE_ID"),"AS";case 48:case 64:return this.popState(),"ID";case 50:return"STATE_DESCR";case 51:return 19;case 53:return this.popState(),this.pushState("struct"),20;case 55:return this.popState(),21;case 57:return this.begin("NOTE"),29;case 58:return this.popState(),this.pushState("NOTE_ID"),56;case 59:return this.popState(),this.pushState("NOTE_ID"),57;case 60:this.popState(),this.pushState("FLOATING_NOTE");break;case 61:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 63:return"NOTE_TEXT";case 65:return this.popState(),this.pushState("NOTE_TEXT"),24;case 66:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 67:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 68:case 69:return 6;case 70:return 16;case 71:return 54;case 72:return 24;case 73:return e.yytext=e.yytext.trim(),14;case 74:return 15;case 75:return 28;case 76:return 55;case 78:return"INVALID"}},"anonymous"),rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\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,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,29,35,42,43,44,45,54,55,56,57,71,72,73,74,75],inclusive:!1},FLOATING_NOTE_ID:{rules:[64],inclusive:!1},FLOATING_NOTE:{rules:[61,62,63],inclusive:!1},NOTE_TEXT:{rules:[66,67],inclusive:!1},NOTE_ID:{rules:[65],inclusive:!1},NOTE:{rules:[58,59,60],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[31],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[30],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,33,34],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[48],inclusive:!1},STATE_STRING:{rules:[49,50],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,36,37,38,39,40,41,46,47,51,52,53],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,35,53,57,68,69,70,71,72,73,74,76,77,78],inclusive:!0}}};function O(){this.yy={}}return W.lexer=w,(0,a.eW)(O,"Parser"),O.prototype=W,W.Parser=O,new O}();o.parser=o;var l=o,c="TB",h="state",u="relation",d="default",p="divider",y="fill:none",f="fill: #333",g="text",S="normal",m="rect",_="rectWithTitle",b="divider",T="roundedWithTitle",k="statediagram",E=`${k}-state`,x="transition",$=`${x} note-edge`,C=`${k}-note`,D=`${k}-cluster`,v=`${k}-cluster-alt`,L="parent",A="note",I="----",W=`${I}${A}`,w=`${I}${L}`,O=(0,a.eW)((t,e=c)=>{if(!t.doc)return e;let s=e;for(let e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir"),N=(0,a.eW)(function(t,e){return e.db.extract(e.db.getRootDocV2()),e.db.getClasses()},"getClasses"),R={getClasses:N,draw:(0,a.eW)(async function(t,e,s,o){a.cM.info("REF0:"),a.cM.info("Drawing state diagram (v2)",e);let{securityLevel:l,state:c,layout:h}=(0,a.nV)();o.db.extract(o.db.getRootDocV2());let u=o.db.getData(),d=(0,i.q)(e,l);u.type=o.type,u.layoutAlgorithm=h,u.nodeSpacing=c?.nodeSpacing||50,u.rankSpacing=c?.rankSpacing||50,u.markers=["barb"],u.diagramId=e,await (0,r.sY)(u,d);n.w8.insertTitle(d,"statediagramTitleText",c?.titleTopMargin??25,o.db.getDiagramTitle()),(0,i.j)(d,8,k,c?.useMaxWidth??!0)},"draw"),getDir:O},B=new Map,Y=0;function F(t="",e=0,s="",i=I){let r=null!==s&&s.length>0?`${i}${s}`:"";return`state-${t}${r}-${e}`}(0,a.eW)(F,"stateDomId");var P=(0,a.eW)((t,e,s,i,r,n,o,l)=>{a.cM.trace("items",e),e.forEach(e=>{switch(e.stmt){case h:case d:z(t,e,s,i,r,n,o,l);break;case u:{z(t,e.state1,s,i,r,n,o,l),z(t,e.state2,s,i,r,n,o,l);let c={id:"edge"+Y,start:e.state1.id,end:e.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:y,labelStyle:"",label:a.SY.sanitizeText(e.description,(0,a.nV)()),arrowheadStyle:f,labelpos:"c",labelType:g,thickness:S,classes:x,look:o};r.push(c),Y++}}})},"setupDoc"),M=(0,a.eW)((t,e=c)=>{let s=e;if(t.doc)for(let e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir");function G(t,e,s){if(!e.id||""===e.id||""===e.id)return;e.cssClasses&&(!Array.isArray(e.cssCompiledStyles)&&(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(t=>{if(s.get(t)){let i=s.get(t);e.cssCompiledStyles=[...e.cssCompiledStyles,...i.styles]}}));let i=t.find(t=>t.id===e.id);i?Object.assign(i,e):t.push(e)}function j(t){return t?.classes?.join(" ")??""}function V(t){return t?.styles??[]}(0,a.eW)(G,"insertOrUpdateNode"),(0,a.eW)(j,"getClassesFromDbInfo"),(0,a.eW)(V,"getStylesFromDbInfo");var z=(0,a.eW)((t,e,s,i,r,n,o,l)=>{let c=e.id,h=s.get(c),u=j(h),k=V(h);if(a.cM.info("dataFetcher parsedItem",e,h,k),"root"!==c){let s=m;!0===e.start?s="stateStart":!1===e.start&&(s="stateEnd"),e.type!==d&&(s=e.type),!B.get(c)&&B.set(c,{id:c,shape:s,description:a.SY.sanitizeText(c,(0,a.nV)()),cssClasses:`${u} ${E}`,cssStyles:k});let h=B.get(c);e.description&&(Array.isArray(h.description)?(h.shape=_,h.description.push(e.description)):h.description?.length>0?(h.shape=_,h.description===c?h.description=[e.description]:h.description=[h.description,e.description]):(h.shape=m,h.description=e.description),h.description=a.SY.sanitizeTextOrArray(h.description,(0,a.nV)())),h.description?.length===1&&h.shape===_&&("group"===h.type?h.shape=T:h.shape=m),!h.type&&e.doc&&(a.cM.info("Setting cluster for XCX",c,M(e)),h.type="group",h.isGroup=!0,h.dir=M(e),h.shape=e.type===p?b:T,h.cssClasses=`${h.cssClasses} ${D} ${n?v:""}`);let x={labelStyle:"",shape:h.shape,label:h.description,cssClasses:h.cssClasses,cssCompiledStyles:[],cssStyles:h.cssStyles,id:c,dir:h.dir,domId:F(c,Y),type:h.type,isGroup:"group"===h.type,padding:8,rx:10,ry:10,look:o};if(x.shape===b&&(x.label=""),t&&"root"!==t.id&&(a.cM.trace("Setting node ",c," to be child of its parent ",t.id),x.parentId=t.id),x.centerLabel=!0,e.note){let t={labelStyle:"",shape:"note",label:e.note.text,cssClasses:C,cssStyles:[],cssCompilesStyles:[],id:c+W+"-"+Y,domId:F(c,Y,A),type:h.type,isGroup:"group"===h.type,padding:(0,a.nV)().flowchart.padding,look:o,position:e.note.position},s=c+w,n={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:h.cssClasses,cssStyles:[],id:c+w,domId:F(c,Y,L),type:"group",isGroup:!0,padding:16,look:o,position:e.note.position};Y++,n.id=s,t.parentId=s,G(i,n,l),G(i,t,l),G(i,x,l);let u=c,d=t.id;"left of"===e.note.position&&(u=t.id,d=c),r.push({id:u+"-"+d,start:u,end:d,arrowhead:"none",arrowTypeEnd:"",style:y,labelStyle:"",classes:$,arrowheadStyle:f,labelpos:"c",labelType:g,thickness:S,look:o})}else G(i,x,l)}e.doc&&(a.cM.trace("Adding nodes children "),P(e,e.doc,s,i,r,!n,o,l))},"dataFetcher"),U=(0,a.eW)(()=>{B.clear(),Y=0},"reset"),H="start",X="color",J="fill";function K(){return new Map}(0,a.eW)(K,"newClassesList");var q=[],Z=[],Q="LR",tt=[],te=K(),ts=(0,a.eW)(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),ti={root:ts()},tr=ti.root,tn=0,ta=0,to=(0,a.eW)(t=>JSON.parse(JSON.stringify(t)),"clone"),tl=(0,a.eW)(t=>{a.cM.info("Setting root doc",t),tt=t},"setRootDoc"),tc=(0,a.eW)(()=>tt,"getRootDoc"),th=(0,a.eW)((t,e,s)=>{if(e.stmt===u)th(t,e.state1,!0),th(t,e.state2,!1);else if(e.stmt===h&&("[*]"===e.id?(e.id=s?t.id+"_start":t.id+"_end",e.start=s):e.id=e.id.trim()),e.doc){let t;let s=[],i=[];for(t=0;t0&&i.length>0){let t={stmt:h,id:(0,n.Ox)(),type:"divider",doc:to(i)};s.push(to(t)),e.doc=s}e.doc.forEach(t=>th(e,t,!0))}},"docTranslator"),tu=(0,a.eW)(()=>(th({id:"root"},{id:"root",doc:tt},!0),{id:"root",doc:tt}),"getRootDocV2"),td=(0,a.eW)(t=>{let e;e=t.doc?t.doc:t,a.cM.info(e),ty(!0),a.cM.info("Extract initial document:",e),e.forEach(t=>{switch(a.cM.warn("Statement",t.stmt),t.stmt){case h:tp(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case u:tx(t.state1,t.state2,t.description);break;case"classDef":tv(t.id.trim(),t.classes);break;case"style":{let e=t.id.trim().split(","),s=t.styleClass.split(",");e.forEach(t=>{let e=tf(t);if(void 0===e){let s=t.trim();tp(s),e=tf(s)}e.styles=s.map(t=>t.replace(/;/g,"")?.trim())})}break;case"applyClass":tA(t.id.trim(),t.styleClass)}});let s=tg(),i=(0,a.nV)().look;U(),z(void 0,tu(),s,q,Z,!0,i,te),q.forEach(t=>{if(Array.isArray(t.label)){if(t.description=t.label.slice(1),t.isGroup&&t.description.length>0)throw Error("Group nodes can only have label. Remove the additional description for node ["+t.id+"]");t.label=t.label[0]}})},"extract"),tp=(0,a.eW)(function(t,e=d,s=null,i=null,r=null,n=null,o=null,l=null){let c=t?.trim();if(tr.states.has(c)?(!tr.states.get(c).doc&&(tr.states.get(c).doc=s),!tr.states.get(c).type&&(tr.states.get(c).type=e)):(a.cM.info("Adding state ",c,i),tr.states.set(c,{id:c,descriptions:[],type:e,doc:s,note:r,classes:[],styles:[],textStyles:[]})),i&&(a.cM.info("Setting state description",c,i),"string"==typeof i&&t$(c,i.trim()),"object"==typeof i&&i.forEach(t=>t$(c,t.trim()))),r){let t=tr.states.get(c);t.note=r,t.note.text=a.SY.sanitizeText(t.note.text,(0,a.nV)())}if(n&&(a.cM.info("Setting state classes",c,n),("string"==typeof n?[n]:n).forEach(t=>tA(c,t.trim()))),o&&(a.cM.info("Setting state styles",c,o),("string"==typeof o?[o]:o).forEach(t=>tI(c,t.trim()))),l){a.cM.info("Setting state styles",c,o);("string"==typeof l?[l]:l).forEach(t=>tW(c,t.trim()))}},"addState"),ty=(0,a.eW)(function(t){q=[],Z=[],tr=(ti={root:ts()}).root,tn=0,te=K(),!t&&(0,a.ZH)()},"clear"),tf=(0,a.eW)(function(t){return tr.states.get(t)},"getState"),tg=(0,a.eW)(function(){return tr.states},"getStates"),tS=(0,a.eW)(function(){a.cM.info("Documents = ",ti)},"logDocuments"),tm=(0,a.eW)(function(){return tr.relations},"getRelations");function t_(t=""){let e=t;return"[*]"===t&&(tn++,e=`${H}${tn}`),e}function tb(t="",e=d){return"[*]"===t?H:e}function tT(t=""){let e=t;return"[*]"===t&&(tn++,e=`end${tn}`),e}function tk(t="",e=d){return"[*]"===t?"end":e}function tE(t,e,s){let i=t_(t.id.trim()),r=tb(t.id.trim(),t.type),n=t_(e.id.trim()),o=tb(e.id.trim(),e.type);tp(i,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),tp(n,o,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),tr.relations.push({id1:i,id2:n,relationTitle:a.SY.sanitizeText(s,(0,a.nV)())})}(0,a.eW)(t_,"startIdIfNeeded"),(0,a.eW)(tb,"startTypeIfNeeded"),(0,a.eW)(tT,"endIdIfNeeded"),(0,a.eW)(tk,"endTypeIfNeeded"),(0,a.eW)(tE,"addRelationObjs");var tx=(0,a.eW)(function(t,e,s){if("object"==typeof t)tE(t,e,s);else{let i=t_(t.trim()),r=tb(t),n=tT(e.trim()),o=tk(e);tp(i,r),tp(n,o),tr.relations.push({id1:i,id2:n,title:a.SY.sanitizeText(s,(0,a.nV)())})}},"addRelation"),t$=(0,a.eW)(function(t,e){let s=tr.states.get(t),i=e.startsWith(":")?e.replace(":","").trim():e;s.descriptions.push(a.SY.sanitizeText(i,(0,a.nV)()))},"addDescription"),tC=(0,a.eW)(function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},"cleanupLabel"),tD=(0,a.eW)(()=>"divider-id-"+ ++ta,"getDividerId"),tv=(0,a.eW)(function(t,e=""){!te.has(t)&&te.set(t,{id:t,styles:[],textStyles:[]});let s=te.get(t);null!=e&&e.split(",").forEach(t=>{let e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(X).exec(t)){let t=e.replace(J,"bgFill").replace(X,J);s.textStyles.push(t)}s.styles.push(e)})},"addStyleClass"),tL=(0,a.eW)(function(){return te},"getClasses"),tA=(0,a.eW)(function(t,e){t.split(",").forEach(function(t){let s=tf(t);if(void 0===s){let e=t.trim();tp(e),s=tf(e)}s.classes.push(e)})},"setCssClass"),tI=(0,a.eW)(function(t,e){let s=tf(t);void 0!==s&&s.styles.push(e)},"setStyle"),tW=(0,a.eW)(function(t,e){let s=tf(t);void 0!==s&&s.textStyles.push(e)},"setTextStyle"),tw=(0,a.eW)(()=>Q,"getDirection"),tO=(0,a.eW)(t=>{Q=t},"setDirection"),tN=(0,a.eW)(t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),"trimColon"),tR=(0,a.eW)(()=>{let t=(0,a.nV)();return{nodes:q,edges:Z,other:{},config:t,direction:O(tu())}},"getData"),tB={getConfig:(0,a.eW)(()=>(0,a.nV)().state,"getConfig"),getData:tR,addState:tp,clear:ty,getState:tf,getStates:tg,getRelations:tm,getClasses:tL,getDirection:tw,addRelation:tx,getDividerId:tD,setDirection:tO,cleanupLabel:tC,lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:tS,getRootDoc:tc,setRootDoc:tl,getRootDocV2:tu,extract:td,trimColon:tN,getAccTitle:a.eu,setAccTitle:a.GN,getAccDescription:a.Mx,setAccDescription:a.U$,addStyleClass:tv,setCssClass:tA,addDescription:t$,setDiagramTitle:a.g2,getDiagramTitle:a.Kr},tY=(0,a.eW)(t=>` +defs #statediagram-barbEnd { + fill: ${t.transitionColor}; + stroke: ${t.transitionColor}; + } +g.stateGroup text { + fill: ${t.nodeBorder}; + stroke: none; + font-size: 10px; +} +g.stateGroup text { + fill: ${t.textColor}; + stroke: none; + font-size: 10px; + +} +g.stateGroup .state-title { + font-weight: bolder; + fill: ${t.stateLabelColor}; +} + +g.stateGroup rect { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; +} + +g.stateGroup line { + stroke: ${t.lineColor}; + stroke-width: 1; +} + +.transition { + stroke: ${t.transitionColor}; + stroke-width: 1; + fill: none; +} + +.stateGroup .composit { + fill: ${t.background}; + border-bottom: 1px +} + +.stateGroup .alt-composit { + fill: #e0e0e0; + border-bottom: 1px +} + +.state-note { + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; + + text { + fill: ${t.noteTextColor}; + stroke: none; + font-size: 10px; + } +} + +.stateLabel .box { + stroke: none; + stroke-width: 0; + fill: ${t.mainBkg}; + opacity: 0.5; +} + +.edgeLabel .label rect { + fill: ${t.labelBackgroundColor}; + opacity: 0.5; +} +.edgeLabel { + background-color: ${t.edgeLabelBackground}; + p { + background-color: ${t.edgeLabelBackground}; + } + rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; +} +.edgeLabel .label text { + fill: ${t.transitionLabelColor||t.tertiaryTextColor}; +} +.label div .edgeLabel { + color: ${t.transitionLabelColor||t.tertiaryTextColor}; +} + +.stateLabel text { + fill: ${t.stateLabelColor}; + font-size: 10px; + font-weight: bold; +} + +.node circle.state-start { + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; +} + +.node .fork-join { + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; +} + +.node circle.state-end { + fill: ${t.innerEndBackground}; + stroke: ${t.background}; + stroke-width: 1.5 +} +.end-state-inner { + fill: ${t.compositeBackground||t.background}; + // stroke: ${t.background}; + stroke-width: 1.5 +} + +.node rect { + fill: ${t.stateBkg||t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: 1px; +} +.node polygon { + fill: ${t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder};; + stroke-width: 1px; +} +#statediagram-barbEnd { + fill: ${t.lineColor}; +} + +.statediagram-cluster rect { + fill: ${t.compositeTitleBackground}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: 1px; +} + +.cluster-label, .nodeLabel { + color: ${t.stateLabelColor}; + // line-height: 1; +} + +.statediagram-cluster rect.outer { + rx: 5px; + ry: 5px; +} +.statediagram-state .divider { + stroke: ${t.stateBorder||t.nodeBorder}; +} + +.statediagram-state .title-state { + rx: 5px; + ry: 5px; +} +.statediagram-cluster.statediagram-cluster .inner { + fill: ${t.compositeBackground||t.background}; +} +.statediagram-cluster.statediagram-cluster-alt .inner { + fill: ${t.altBackground?t.altBackground:"#efefef"}; +} + +.statediagram-cluster .inner { + rx:0; + ry:0; +} + +.statediagram-state rect.basic { + rx: 5px; + ry: 5px; +} +.statediagram-state rect.divider { + stroke-dasharray: 10,10; + fill: ${t.altBackground?t.altBackground:"#efefef"}; +} + +.note-edge { + stroke-dasharray: 5; +} + +.statediagram-note rect { + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; + stroke-width: 1px; + rx: 0; + ry: 0; +} +.statediagram-note rect { + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; + stroke-width: 1px; + rx: 0; + ry: 0; +} + +.statediagram-note text { + fill: ${t.noteTextColor}; +} + +.statediagram-note .nodeLabel { + color: ${t.noteTextColor}; +} +.statediagram .edgeLabel { + color: red; // ${t.noteTextColor}; +} + +#dependencyStart, #dependencyEnd { + fill: ${t.lineColor}; + stroke: ${t.lineColor}; + stroke-width: 1; +} + +.statediagramTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; +} +`,"getStyles")}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/7ebe7d13.55233532.js b/pr-preview/pr-3/assets/js/7ebe7d13.55233532.js new file mode 100644 index 0000000..bc5da98 --- /dev/null +++ b/pr-preview/pr-3/assets/js/7ebe7d13.55233532.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5704"],{71601:function(r){r.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Tutorial - Extras","slug":"/category/tutorial---extras","permalink":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---extras","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Congratulations!","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations"},"next":{"title":"Manage Docs Versions","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/8588.ceccfba1.js b/pr-preview/pr-3/assets/js/8588.ceccfba1.js new file mode 100644 index 0000000..5e44da5 --- /dev/null +++ b/pr-preview/pr-3/assets/js/8588.ceccfba1.js @@ -0,0 +1,47 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8588"],{15461:function(e,t,i){i.d(t,{diagram:function(){return B}});var r=i(5995),n=i(27818),s=i(49235),a=i(50043),l=function(){var e=(0,r.eW)(function(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i},"o"),t=[1,3],i=[1,4],n=[1,5],s=[1,6],a=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],l=[1,18],h=[2,7],o=[1,22],c=[1,23],u=[1,24],y=[1,25],d=[1,26],p=[1,27],_=[1,20],g=[1,28],E=[1,29],R=[62,63],m=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],f=[1,47],I=[1,48],S=[1,49],b=[1,50],k=[1,51],N=[1,52],T=[1,53],x=[53,54],A=[1,64],v=[1,60],w=[1,61],W=[1,62],q=[1,63],$=[1,65],O=[1,69],C=[1,70],L=[1,67],M=[1,68],F=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],D={trace:(0,r.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:(0,r.eW)(function(e,t,i,r,n,s,a){var l=s.length-1;switch(n){case 4:this.$=s[l].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[l].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[l-3],s[l-4]);break;case 14:r.setNewReqId(s[l-2]);break;case 15:r.setNewReqText(s[l-2]);break;case 16:r.setNewReqRisk(s[l-2]);break;case 17:r.setNewReqVerifyMethod(s[l-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[l-3]);break;case 34:r.setNewElementType(s[l-2]);break;case 35:r.setNewElementDocRef(s[l-2]);break;case 38:r.addRelationship(s[l-2],s[l],s[l-4]);break;case 39:r.addRelationship(s[l-2],s[l-4],s[l]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES}},"anonymous"),table:[{3:1,4:2,6:t,9:i,11:n,13:s},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:i,11:n,13:s},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:t,9:i,11:n,13:s},{1:[2,2]},{4:17,5:l,7:13,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:l,7:31,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:32,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:33,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:34,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:35,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(R,[2,20]),e(R,[2,21]),e(R,[2,22]),e(R,[2,23]),e(R,[2,24]),e(R,[2,25]),e(m,[2,49]),e(m,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:f,56:I,57:S,58:b,59:k,60:N,61:T},{52:54,55:f,56:I,57:S,58:b,59:k,60:N,61:T},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(x,[2,40]),e(x,[2,41]),e(x,[2,42]),e(x,[2,43]),e(x,[2,44]),e(x,[2,45]),e(x,[2,46]),{54:[1,58]},{5:A,20:59,21:v,24:w,26:W,28:q,30:$},{5:O,30:C,46:66,47:L,49:M},{23:71,62:g,63:E},{23:72,62:g,63:E},e(F,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:A,20:77,21:v,24:w,26:W,28:q,30:$},e(F,[2,19]),e(F,[2,33]),{22:[1,78]},{22:[1,79]},{5:O,30:C,46:80,47:L,49:M},e(F,[2,37]),e(F,[2,38]),e(F,[2,39]),{23:81,62:g,63:E},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(F,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(F,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:A,20:106,21:v,24:w,26:W,28:q,30:$},{5:A,20:107,21:v,24:w,26:W,28:q,30:$},{5:A,20:108,21:v,24:w,26:W,28:q,30:$},{5:A,20:109,21:v,24:w,26:W,28:q,30:$},{5:O,30:C,46:110,47:L,49:M},{5:O,30:C,46:111,47:L,49:M},e(F,[2,14]),e(F,[2,15]),e(F,[2,16]),e(F,[2,17]),e(F,[2,34]),e(F,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:(0,r.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var i=Error(e);throw i.hash=t,i}},"parseError"),parse:(0,r.eW)(function(e){var t=this,i=[0],n=[],s=[null],a=[],l=this.table,h="",o=0,c=0,u=0,y=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(p.yy[_]=this.yy[_]);d.setInput(e,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var E=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(){var e;return"number"!=typeof(e=n.pop()||d.lex()||1)&&(e instanceof Array&&(e=(n=e).pop()),e=t.symbols_[e]||e),e}(0,r.eW)(function(e){i.length=i.length-2*e,s.length=s.length-e,a.length=a.length-e},"popStack"),(0,r.eW)(R,"lex");for(var m,f,I,S,b,k,N,T,x,A={};;){if(I=i[i.length-1],this.defaultActions[I]?S=this.defaultActions[I]:(null==m&&(m=R()),S=l[I]&&l[I][m]),void 0===S||!S.length||!S[0]){var v="";for(k in x=[],l[I])this.terminals_[k]&&k>2&&x.push("'"+this.terminals_[k]+"'");v=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(v,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:g,expected:x})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+I+", token: "+m);switch(S[0]){case 1:i.push(m),s.push(d.yytext),a.push(d.yylloc),i.push(S[1]),m=null,f?(m=f,f=null):(c=d.yyleng,h=d.yytext,o=d.yylineno,g=d.yylloc,u>0&&u--);break;case 2:if(N=this.productions_[S[1]][1],A.$=s[s.length-N],A._$={first_line:a[a.length-(N||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(N||1)].first_column,last_column:a[a.length-1].last_column},E&&(A._$.range=[a[a.length-(N||1)].range[0],a[a.length-1].range[1]]),void 0!==(b=this.performAction.apply(A,[h,c,o,p.yy,S[1],s,a].concat(y))))return b;N&&(i=i.slice(0,-1*N*2),s=s.slice(0,-1*N),a=a.slice(0,-1*N)),i.push(this.productions_[S[1]][0]),s.push(A.$),a.push(A._$),T=l[i[i.length-2]][i[i.length-1]],i.push(T);break;case 3:return!0}}return!0},"parse")},P={EOF:1,parseError:(0,r.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,r.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,r.eW)(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.eW)(function(){return this._more=!0,this},"more"),reject:(0,r.eW)(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})},"reject"),less:(0,r.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,r.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,r.eW)(function(e,t){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},"test_match"),next:(0,r.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,i,r,n=this._currentRules(),s=0;st[0].length)){if(t=i,r=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,n[s])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,n[r]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,r.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,r.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,r.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,r.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,r.eW)(function(e,t,i,r){switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return t.yytext=t.yytext.trim(),62}},"anonymous"),rules:[/^(?: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:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,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,50],inclusive:!0}}};function V(){this.yy={}}return D.lexer=P,(0,r.eW)(V,"Parser"),V.prototype=D,D.Parser=V,new V}();l.parser=l;var h=[],o={},c=new Map,u={},y=new Map,d=(0,r.eW)((e,t)=>(!c.has(e)&&c.set(e,{name:e,type:t,id:o.id,text:o.text,risk:o.risk,verifyMethod:o.verifyMethod}),o={},c.get(e)),"addRequirement"),p=(0,r.eW)(()=>c,"getRequirements"),_=(0,r.eW)(e=>{void 0!==o&&(o.id=e)},"setNewReqId"),g=(0,r.eW)(e=>{void 0!==o&&(o.text=e)},"setNewReqText"),E=(0,r.eW)(e=>{void 0!==o&&(o.risk=e)},"setNewReqRisk"),R=(0,r.eW)(e=>{void 0!==o&&(o.verifyMethod=e)},"setNewReqVerifyMethod"),m=(0,r.eW)(e=>(!y.has(e)&&(y.set(e,{name:e,type:u.type,docRef:u.docRef}),r.cM.info("Added new requirement: ",e)),u={},y.get(e)),"addElement"),f=(0,r.eW)(()=>y,"getElements"),I=(0,r.eW)(e=>{void 0!==u&&(u.type=e)},"setNewElementType"),S=(0,r.eW)(e=>{void 0!==u&&(u.docRef=e)},"setNewElementDocRef"),b=(0,r.eW)((e,t,i)=>{h.push({type:e,src:t,dst:i})},"addRelationship"),k=(0,r.eW)(()=>h,"getRelationships"),N=(0,r.eW)(()=>{h=[],o={},c=new Map,u={},y=new Map,(0,r.ZH)()},"clear"),T={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"},getConfig:(0,r.eW)(()=>(0,r.nV)().req,"getConfig"),addRequirement:d,getRequirements:p,setNewReqId:_,setNewReqText:g,setNewReqRisk:E,setNewReqVerifyMethod:R,setAccTitle:r.GN,getAccTitle:r.eu,setAccDescription:r.U$,getAccDescription:r.Mx,addElement:m,getElements:f,setNewElementType:I,setNewElementDocRef:S,addRelationship:b,getRelationships:k,clear:N},x=(0,r.eW)(e=>` + + marker { + fill: ${e.relationColor}; + stroke: ${e.relationColor}; + } + + marker.cross { + stroke: ${e.lineColor}; + } + + svg { + font-family: ${e.fontFamily}; + font-size: ${e.fontSize}; + } + + .reqBox { + fill: ${e.requirementBackground}; + fill-opacity: 1.0; + stroke: ${e.requirementBorderColor}; + stroke-width: ${e.requirementBorderSize}; + } + + .reqTitle, .reqLabel{ + fill: ${e.requirementTextColor}; + } + .reqLabelBox { + fill: ${e.relationLabelBackground}; + fill-opacity: 1.0; + } + + .req-title-line { + stroke: ${e.requirementBorderColor}; + stroke-width: ${e.requirementBorderSize}; + } + .relationshipLine { + stroke: ${e.relationColor}; + stroke-width: 1; + } + .relationshipLabel { + fill: ${e.relationLabelColor}; + } + +`,"getStyles"),A={CONTAINS:"contains",ARROW:"arrow"},v=(0,r.eW)((e,t)=>{let i=e.append("defs").append("marker").attr("id",A.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",A.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0 + L${t.line_height},${t.line_height/2} + M${t.line_height},${t.line_height/2} + L0,${t.line_height}`).attr("stroke-width",1)},"insertLineEndings"),w={ReqMarkers:A,insertLineEndings:v},W={},q=0,$=(0,r.eW)((e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",W.rect_min_width+"px").attr("height",W.rect_min_height+"px"),"newRectNode"),O=(0,r.eW)((e,t,i)=>{let r=W.rect_min_width/2,n=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",r).attr("y",W.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach(e=>{0==s?n.append("tspan").attr("text-anchor","middle").attr("x",W.rect_min_width/2).attr("dy",0).text(e):n.append("tspan").attr("text-anchor","middle").attr("x",W.rect_min_width/2).attr("dy",.75*W.line_height).text(e),s++});let a=1.5*W.rect_padding+s*W.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",W.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:n,y:a}},"newTitleNode"),C=(0,r.eW)((e,t,i,r)=>{let n=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",W.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),s=0,a=[];return i.forEach(e=>{let t=e.length;for(;t>30&&s<3;){let i=e.substring(0,30);t=(e=e.substring(30,e.length)).length,a[a.length]=i,s++}if(3==s){let e=a[a.length-1];a[a.length-1]=e.substring(0,e.length-4)+"..."}else a[a.length]=e;s=0}),a.forEach(e=>{n.append("tspan").attr("x",W.rect_padding).attr("dy",W.line_height).text(e)}),n},"newBodyNode"),L=(0,r.eW)((e,t,i,r)=>{let n=t.node().getTotalLength(),s=t.node().getPointAtLength(.5*n),a="rel"+q;q++;let l=e.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();e.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-l.width/2).attr("y",s.y-l.height/2).attr("width",l.width).attr("height",l.height).attr("fill","white").attr("fill-opacity","85%")},"addEdgeLabel"),M=(0,r.eW)(function(e,t,i,s,a){let l=i.edge(Y(t.src),Y(t.dst)),h=(0,n.jvg)().x(function(e){return e.x}).y(function(e){return e.y}),o=e.insert("path","#"+s).attr("class","er relationshipLine").attr("d",h(l.points)).attr("fill","none");t.type==a.db.Relationships.CONTAINS?o.attr("marker-start","url("+r.SY.getUrl(W.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(o.attr("stroke-dasharray","10,7"),o.attr("marker-end","url("+r.SY.getUrl(W.arrowMarkerAbsolute)+"#"+w.ReqMarkers.ARROW+"_line_ending)")),L(e,o,W,`<<${t.type}>>`)},"drawRelationshipFromLayout"),F=(0,r.eW)((e,t,i)=>{e.forEach((e,n)=>{n=Y(n),r.cM.info("Added new requirement: ",n);let s=i.append("g").attr("id",n),a=$(s,"req-"+n),l=[],h=O(s,n+"_title",[`<<${e.type}>>`,`${e.name}`]);l.push(h.titleNode),l.push(C(s,n+"_body",[`Id: ${e.id}`,`Text: ${e.text}`,`Risk: ${e.risk}`,`Verification: ${e.verifyMethod}`],h.y));let o=a.node().getBBox();t.setNode(n,{width:o.width,height:o.height,shape:"rect",id:n})})},"drawReqs"),D=(0,r.eW)((e,t,i)=>{e.forEach((e,r)=>{let n=Y(r),s=i.append("g").attr("id",n),a="element-"+n,l=$(s,a),h=[],o=O(s,a+"_title",["<>",`${r}`]);h.push(o.titleNode),h.push(C(s,a+"_body",[`Type: ${e.type||"Not Specified"}`,`Doc Ref: ${e.docRef||"None"}`],o.y));let c=l.node().getBBox();t.setNode(n,{width:c.width,height:c.height,shape:"rect",id:n})})},"drawElements"),P=(0,r.eW)((e,t)=>(e.forEach(function(e){let i=Y(e.src),r=Y(e.dst);t.setEdge(i,r,{relationship:e})}),e),"addRelationships"),V=(0,r.eW)(function(e,t){t.nodes().forEach(function(i){void 0!==i&&void 0!==t.node(i)&&(e.select("#"+i),e.select("#"+i).attr("transform","translate("+(t.node(i).x-t.node(i).width/2)+","+(t.node(i).y-t.node(i).height/2)+" )"))})},"adjustEntities"),Y=(0,r.eW)(e=>e.replace(/\s/g,"").replace(/\./g,"_"),"elementString"),U=(0,r.eW)((e,t,i,l)=>{let h;let o=(W=(0,r.nV)().requirement).securityLevel;"sandbox"===o&&(h=(0,n.Ys)("#i"+t));let c=("sandbox"===o?(0,n.Ys)(h.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${t}']`);w.insertLineEndings(c,W);let u=new a.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:W.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}}),y=l.db.getRequirements(),d=l.db.getElements(),p=l.db.getRelationships();F(y,u,c),D(d,u,c),P(p,u),(0,s.bK)(u),V(c,u),p.forEach(function(e){M(c,e,u,t,l)});let _=W.rect_padding,g=c.node().getBBox(),E=g.width+2*_,R=g.height+2*_;(0,r.v2)(c,R,E,W.useMaxWidth),c.attr("viewBox",`${g.x-_} ${g.y-_} ${E} ${R}`)},"draw"),B={parser:l,db:T,renderer:{draw:U},styles:x}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/8751.5372316c.js b/pr-preview/pr-3/assets/js/8751.5372316c.js new file mode 100644 index 0000000..28f187a --- /dev/null +++ b/pr-preview/pr-3/assets/js/8751.5372316c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8751"],{57327:function(e,n,r){r.d(n,{createGitGraphServices:function(){return s.z}});var s=r(57820);r(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/879.1c63c3a0.js b/pr-preview/pr-3/assets/js/879.1c63c3a0.js new file mode 100644 index 0000000..d32a8b3 --- /dev/null +++ b/pr-preview/pr-3/assets/js/879.1c63c3a0.js @@ -0,0 +1 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["879"],{87594:function(e,t){function n(e){let t,n=[];for(let s of e.split(",").map(e=>e.trim()))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,r]=t;if(s&&r){s=parseInt(s);let e=s<(r=parseInt(r))?1:-1;("-"===o||".."===o||"\u2025"===o)&&(r+=e);for(let t=s;t!==r;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},45056:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>H});var s=n("85893"),o=n("67294"),r=n("7227"),a=n("67026"),l=n("84239"),c=n("30140");function i(){let{prism:e}=(0,c.L)(),{colorMode:t}=(0,l.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var u=n("84681"),d=n("87594"),m=n.n(d);let p=/title=(?["'])(?.*?)\1/,f=/\{(?<range>[\d,-]+)\}/,b={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},h={...b,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(b);function j(e,t){let n=e.map(e=>{let{start:n,end:s}=h[e];return`(?:${n}\\s*(${t.flatMap(e=>[e.line,e.block?.start,e.block?.end].filter(Boolean)).join("|")})\\s*${s})`}).join("|");return RegExp(`^\\s*(?:${n})\\s*$`)}let x="codeBlockContainer_Ckt0";function k(e){let{as:t,...n}=e,o=function(e){let t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach(e=>{let[s,o]=e,r=t[s];r&&"string"==typeof o&&(n[r]=o)}),n}(i());return(0,s.jsx)(t,{...n,style:o,className:(0,a.Z)(n.className,x,u.k.common.codeBlock)})}let v={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function B(e){let{children:t,className:n}=e;return(0,s.jsx)(k,{as:"pre",tabIndex:0,className:(0,a.Z)(v.codeBlockStandalone,"thin-scrollbar",n),children:(0,s.jsx)("code",{className:v.codeBlockLines,children:t})})}var y=n("85346");let C={attributes:!0,characterData:!0,childList:!0,subtree:!0};var w=n("83229");let N={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function E(e){let{line:t,classNames:n,showLineNumbers:o,getLineProps:r,getTokenProps:l}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");let c=r({line:t,className:(0,a.Z)(n,o&&N.codeLine)}),i=t.map((e,t)=>(0,s.jsx)("span",{...l({token:e})},t));return(0,s.jsxs)("span",{...c,children:[o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:N.codeLineNumber}),(0,s.jsx)("span",{className:N.codeLineContent,children:i})]}):i,(0,s.jsx)("br",{})]})}var L=n("96025");function S(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",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"})})}function _(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}let A={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function I(e){let{code:t,className:n}=e,[r,l]=(0,o.useState)(!1),c=(0,o.useRef)(void 0),i=(0,o.useCallback)(()=>{!function(e){let{target:t=document.body}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);let n=document.createElement("textarea"),s=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";let o=document.getSelection(),r=o.rangeCount>0&&o.getRangeAt(0);t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}n.remove(),r&&(o.removeAllRanges(),o.addRange(r)),s&&s.focus()}(t),l(!0),c.current=window.setTimeout(()=>{l(!1)},1e3)},[t]);return(0,o.useEffect)(()=>()=>window.clearTimeout(c.current),[]),(0,s.jsx)("button",{type:"button","aria-label":r?(0,L.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,L.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,L.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,a.Z)("clean-btn",n,A.copyButton,r&&A.copyButtonCopied),onClick:i,children:(0,s.jsxs)("span",{className:A.copyButtonIcons,"aria-hidden":"true",children:[(0,s.jsx)(S,{className:A.copyButtonIcon}),(0,s.jsx)(_,{className:A.copyButtonSuccessIcon})]})})}function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("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"})})}let Z={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function $(e){let{className:t,onClick:n,isEnabled:o}=e,r=(0,L.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,s.jsx)("button",{type:"button",onClick:n,className:(0,a.Z)("clean-btn",t,o&&Z.wordWrapButtonEnabled),"aria-label":r,title:r,children:(0,s.jsx)(T,{className:Z.wordWrapButtonIcon,"aria-hidden":"true"})})}function M(e){var t,n,r;let{children:l,className:u="",metastring:d,title:b,showLineNumbers:h,language:x}=e,{prism:{defaultLanguage:B,magicComments:N}}=(0,c.L)();let L=(t=x??function(e){let t=e.split(" ").find(e=>e.startsWith("language-"));return t?.replace(/language-/,"")}(u)??B,t?.toLowerCase()),S=i(),_=function(){let[e,t]=(0,o.useState)(!1),[n,s]=(0,o.useState)(!1),r=(0,o.useRef)(null),a=(0,o.useCallback)(()=>{let n=r.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t(e=>!e)},[r,e]),l=(0,o.useCallback)(()=>{let{scrollWidth:e,clientWidth:t}=r.current;s(e>t||r.current.querySelector("code").hasAttribute("style"))},[r]);return!function(e,t){let[n,s]=(0,o.useState)(),r=(0,o.useCallback)(()=>{s(e.current?.closest("[role=tabpanel][hidden]"))},[e,s]);(0,o.useEffect)(()=>{r()},[r]),!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,s=(0,y.zX)(t),r=(0,y.Ql)(n);(0,o.useEffect)(()=>{let t=new MutationObserver(s);return e&&t.observe(e,r),()=>t.disconnect()},[e,s,r])}(n,e=>{e.forEach(e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),r())})},{attributes:!0,characterData:!1,childList:!1,subtree:!1})}(r,l),(0,o.useEffect)(()=>{l()},[e,l]),(0,o.useEffect)(()=>(window.addEventListener("resize",l,{passive:!0}),()=>{window.removeEventListener("resize",l)}),[l]),{codeBlockRef:r,isEnabled:e,isCodeScrollable:n,toggle:a}}();let A=(n=d,(n?.match(p)?.groups.title??"")||b),{lineClassNames:T,code:Z}=function(e,t){let n=e.replace(/\n$/,""),{language:s,magicComments:o,metastring:r}=t;if(r&&f.test(r)){let e=r.match(f).groups.range;if(0===o.length)throw Error(`A highlight range has been given in code block's metastring (\`\`\` ${r}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);let t=o[0].className;return{lineClassNames:Object.fromEntries(m()(e).filter(e=>e>0).map(e=>[e-1,[t]])),code:n}}if(void 0===s)return{lineClassNames:{},code:n};let a=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return j(["js","jsBlock"],t);case"jsx":case"tsx":return j(["js","jsBlock","jsx"],t);case"html":return j(["js","jsBlock","html"],t);case"python":case"py":case"bash":return j(["bash"],t);case"markdown":case"md":return j(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return j(["tex"],t);case"lua":case"haskell":case"sql":return j(["lua"],t);case"wasm":return j(["wasm"],t);case"vb":case"vba":case"visual-basic":return j(["vb","rem"],t);case"vbnet":return j(["vbnet","rem"],t);case"batch":return j(["rem"],t);case"basic":return j(["rem","f90"],t);case"fsharp":return j(["js","ml"],t);case"ocaml":case"sml":return j(["ml"],t);case"fortran":return j(["f90"],t);case"cobol":return j(["cobol"],t);default:return j(g,t)}}(s,o),l=n.split("\n"),c=Object.fromEntries(o.map(e=>[e.className,{start:0,range:""}])),i=Object.fromEntries(o.filter(e=>e.line).map(e=>{let{className:t,line:n}=e;return[n,t]})),u=Object.fromEntries(o.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.start,t]})),d=Object.fromEntries(o.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.end,t]}));for(let e=0;e<l.length;){let t=l[e].match(a);if(!t){e+=1;continue}let n=t.slice(1).find(e=>void 0!==e);i[n]?c[i[n]].range+=`${e},`:u[n]?c[u[n]].start=e:d[n]&&(c[d[n]].range+=`${c[d[n]].start}-${e-1},`),l.splice(e,1)}n=l.join("\n");let p={};return Object.entries(c).forEach(e=>{let[t,{range:n}]=e;m()(n).forEach(e=>{p[e]??=[],p[e].push(t)})}),{lineClassNames:p,code:n}}(l,{metastring:d,language:L,magicComments:N});let M=h??(r=d,!!r?.includes("showLineNumbers"));return(0,s.jsxs)(k,{as:"div",className:(0,a.Z)(u,L&&!u.includes(`language-${L}`)&&`language-${L}`),children:[A&&(0,s.jsx)("div",{className:v.codeBlockTitle,children:A}),(0,s.jsxs)("div",{className:v.codeBlockContent,children:[(0,s.jsx)(w.y$,{theme:S,code:Z,language:L??"text",children:e=>{let{className:t,style:n,tokens:o,getLineProps:r,getTokenProps:l}=e;return(0,s.jsx)("pre",{tabIndex:0,ref:_.codeBlockRef,className:(0,a.Z)(t,v.codeBlock,"thin-scrollbar"),style:n,children:(0,s.jsx)("code",{className:(0,a.Z)(v.codeBlockLines,M&&v.codeBlockLinesWithNumbering),children:o.map((e,t)=>(0,s.jsx)(E,{line:e,getLineProps:r,getTokenProps:l,classNames:T[t],showLineNumbers:M},t))})})}}),(0,s.jsxs)("div",{className:v.buttonGroup,children:[(_.isEnabled||_.isCodeScrollable)&&(0,s.jsx)($,{className:v.codeButton,onClick:()=>_.toggle(),isEnabled:_.isEnabled}),(0,s.jsx)(I,{className:v.codeButton,code:Z})]})]})]})}function H(e){var t;let{children:n,...a}=e,l=(0,r.Z)();let c=(t=n,o.Children.toArray(t).some(e=>(0,o.isValidElement)(e))?t:Array.isArray(t)?t.join(""):t);return(0,s.jsx)("string"==typeof c?M:B,{...a,children:c},String(l))}},63922:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>p});var s=n("85893"),o=n("67294"),r=n("67026"),a=n("41065"),l=n("7227"),c=n("57455");let i={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function u(e){return!!e&&("SUMMARY"===e.tagName||u(e.parentElement))}function d(e){let{summary:t,children:n,...d}=e;(0,a.Z)().collectAnchor(d.id);let m=(0,l.Z)(),p=(0,o.useRef)(null),{collapsed:f,setCollapsed:b}=(0,c.u)({initialState:!d.open}),[h,g]=(0,o.useState)(d.open),j=o.isValidElement(t)?t:(0,s.jsx)("summary",{children:t??"Details"});return(0,s.jsxs)("details",{...d,ref:p,open:h,"data-collapsed":f,className:(0,r.Z)(i.details,m&&i.isBrowser,d.className),onMouseDown:e=>{u(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();let t=e.target;if(!!(u(t)&&function e(t,n){return!!t&&(t===n||e(t.parentElement,n))}(t,p.current)))e.preventDefault(),f?(b(!1),g(!0)):b(!0)},children:[j,(0,s.jsx)(c.z,{lazy:!1,collapsed:f,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{b(e),g(!e)},children:(0,s.jsx)("div",{className:i.collapsibleContent,children:n})})]})}let m="details_b_Ee";function p(e){let{...t}=e;return(0,s.jsx)(d,{...t,className:(0,r.Z)("alert alert--info",m,t.className)})}},50065:function(e,t,n){"use strict";n.d(t,{Z:function(){return l},a:function(){return a}});var s=n(67294);let o={},r=s.createContext(o);function a(e){let t=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/9090.faf0ba39.js b/pr-preview/pr-3/assets/js/9090.faf0ba39.js new file mode 100644 index 0000000..cf5db83 --- /dev/null +++ b/pr-preview/pr-3/assets/js/9090.faf0ba39.js @@ -0,0 +1,36 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9090"],{44867:function(t,e,i){var r,n;r=0,n=function(t){var e,i;return e={658:t=>{t.exports=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];return i.forEach(function(e){Object.keys(e).forEach(function(i){return t[i]=e[i]})}),t}},548:(t,e,i)=>{var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],r=!0,n=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);r=!0);}catch(t){n=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(n)throw o}}return i}(t,e);throw TypeError("Invalid attempt to destructure non-iterable instance")},n=i(140).layoutBase.LinkedList,o={};o.getTopMostNodes=function(t){for(var e={},i=0;i<t.length;i++)e[t[i].id()]=!0;return t.filter(function(t,i){"number"==typeof t&&(t=i);for(var r=t.parent()[0];null!=r;){if(e[r.id()])return!1;r=r.parent()[0]}return!0})},o.connectComponents=function(t,e,i,r){var o=new n,a=new Set,s=[],h=void 0,l=void 0,d=void 0,c=!1,g=1,u=[],f=[];do!function(){var r=t.collection();f.push(r);var n=i[0],p=t.collection();p.merge(n).merge(n.descendants().intersection(e)),s.push(n),p.forEach(function(t){o.push(t),a.add(t),r.merge(t)});for(;0!=o.length;)!function(){n=o.shift();var l=t.collection();n.neighborhood().nodes().forEach(function(t){e.intersection(n.edgesWith(t)).length>0&&l.merge(t)});for(var d=0;d<l.length;d++){var c=l[d];null!=(h=i.intersection(c.union(c.ancestors())))&&!a.has(h[0])&&h.union(h.descendants()).forEach(function(t){o.push(t),a.add(t),r.merge(t),i.has(t)&&s.push(t)})}}();if(r.forEach(function(t){e.intersection(t.connectedEdges()).forEach(function(t){r.has(t.source())&&r.has(t.target())&&r.merge(t)})}),s.length==i.length&&(c=!0),!c||c&&g>1){d=(l=s[0]).connectedEdges().length,s.forEach(function(t){t.connectedEdges().length<d&&(d=t.connectedEdges().length,l=t)}),u.push(l.id());var v=t.collection();v.merge(s[0]),s.forEach(function(t){v.merge(t)}),s=[],i=i.difference(v),g++}}();while(!c);return r&&u.length>0&&r.set("dummy"+(r.size+1),u),f},o.relocateComponent=function(t,e,i){if(!i.fixedNodeConstraint){var n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY;if("draft"==i.quality){var h=!0,l=!1,d=void 0;try{for(var c,g=e.nodeIndexes[Symbol.iterator]();!(h=(c=g.next()).done);h=!0){var u=c.value,f=r(u,2),p=f[0],v=f[1],y=i.cy.getElementById(p);if(y){var m=y.boundingBox(),E=e.xCoords[v]-m.w/2,N=e.xCoords[v]+m.w/2,T=e.yCoords[v]-m.h/2,A=e.yCoords[v]+m.h/2;E<n&&(n=E),N>o&&(o=N),T<a&&(a=T),A>s&&(s=A)}}}catch(t){l=!0,d=t}finally{try{!h&&g.return&&g.return()}finally{if(l)throw d}}var L=t.x-(o+n)/2,w=t.y-(s+a)/2;e.xCoords=e.xCoords.map(function(t){return t+L}),e.yCoords=e.yCoords.map(function(t){return t+w})}else{Object.keys(e).forEach(function(t){var i=e[t],r=i.getRect().x,h=i.getRect().x+i.getRect().width,l=i.getRect().y,d=i.getRect().y+i.getRect().height;r<n&&(n=r),h>o&&(o=h),l<a&&(a=l),d>s&&(s=d)});var _=t.x-(o+n)/2,I=t.y-(s+a)/2;Object.keys(e).forEach(function(t){var i=e[t];i.setCenter(i.getCenterX()+_,i.getCenterY()+I)})}}},o.calcBoundingBox=function(t,e,i,r){for(var n=Number.MAX_SAFE_INTEGER,o=Number.MIN_SAFE_INTEGER,a=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER,h=void 0,l=void 0,d=void 0,c=void 0,g=t.descendants().not(":parent"),u=g.length,f=0;f<u;f++){var p=g[f];h=e[r.get(p.id())]-p.width()/2,l=e[r.get(p.id())]+p.width()/2,d=i[r.get(p.id())]-p.height()/2,c=i[r.get(p.id())]+p.height()/2,n>h&&(n=h),o<l&&(o=l),a>d&&(a=d),s<c&&(s=c)}var v={};return v.topLeftX=n,v.topLeftY=a,v.width=o-n,v.height=s-a,v},o.calcParentsWithoutChildren=function(t,e){var i=t.collection();return e.nodes(":parent").forEach(function(t){var e=!1;t.children().forEach(function(t){"none"!=t.css("display")&&(e=!0)}),!e&&i.merge(t)}),i},t.exports=o},816:(t,e,i)=>{var r=i(548),n=i(140).CoSELayout,o=i(140).CoSENode,a=i(140).layoutBase.PointD,s=i(140).layoutBase.DimensionD,h=i(140).layoutBase.LayoutConstants,l=i(140).layoutBase.FDLayoutConstants,d=i(140).CoSEConstants;t.exports={coseLayout:function(t,e){var i,c,g=t.cy,u=t.eles,f=u.nodes(),p=u.edges(),v=void 0,y=void 0,m=void 0,E={};t.randomize&&(v=e.nodeIndexes,y=e.xCoords,m=e.yCoords);var N=function(t){return"function"==typeof t},T=function(t,e){return N(t)?t(e):t},A=r.calcParentsWithoutChildren(g,u);null!=t.nestingFactor&&(d.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(d.DEFAULT_GRAVITY_STRENGTH=l.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(d.MAX_ITERATIONS=l.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(d.DEFAULT_GRAVITY_RANGE_FACTOR=l.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(d.DEFAULT_COMPOUND_GRAVITY_STRENGTH=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(d.DEFAULT_COOLING_FACTOR_INCREMENTAL=l.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),null!=t.tilingCompareBy&&(d.TILING_COMPARE_BY=t.tilingCompareBy),"proof"==t.quality?h.QUALITY=2:h.QUALITY=0,d.NODE_DIMENSIONS_INCLUDE_LABELS=l.NODE_DIMENSIONS_INCLUDE_LABELS=h.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,d.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!t.randomize,d.ANIMATE=l.ANIMATE=h.ANIMATE=t.animate,d.TILE=t.tile,d.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,d.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal,d.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!0,d.PURE_INCREMENTAL=!t.randomize,h.DEFAULT_UNIFORM_LEAF_NODE_SIZES=t.uniformNodeDimensions,"transformed"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,d.ENFORCE_CONSTRAINTS=!1,d.APPLY_LAYOUT=!1),"enforced"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!0,d.APPLY_LAYOUT=!1),"cose"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!1,d.APPLY_LAYOUT=!0),"all"==t.step&&(t.randomize?d.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!0,d.APPLY_LAYOUT=!0),t.fixedNodeConstraint||t.alignmentConstraint||t.relativePlacementConstraint?d.TREE_REDUCTION_ON_INCREMENTAL=!1:d.TREE_REDUCTION_ON_INCREMENTAL=!0;var L=new n,w=L.newGraphManager();return!function t(e,i,n,h){for(var l=i.length,d=0;d<l;d++){var c=i[d],g=null;0==c.intersection(A).length&&(g=c.children());var u=void 0,f=c.layoutDimensions({nodeDimensionsIncludeLabels:h.nodeDimensionsIncludeLabels});if(null!=c.outerWidth()&&null!=c.outerHeight()){if(h.randomize){if(c.isParent()){var p=r.calcBoundingBox(c,y,m,v);u=0==c.intersection(A).length?e.add(new o(n.graphManager,new a(p.topLeftX,p.topLeftY),new s(p.width,p.height))):e.add(new o(n.graphManager,new a(p.topLeftX,p.topLeftY),new s(parseFloat(f.w),parseFloat(f.h))))}else u=e.add(new o(n.graphManager,new a(y[v.get(c.id())]-f.w/2,m[v.get(c.id())]-f.h/2),new s(parseFloat(f.w),parseFloat(f.h))))}else u=e.add(new o(n.graphManager,new a(c.position("x")-f.w/2,c.position("y")-f.h/2),new s(parseFloat(f.w),parseFloat(f.h))))}else u=e.add(new o(this.graphManager));if(u.id=c.data("id"),u.nodeRepulsion=T(h.nodeRepulsion,c),u.paddingLeft=parseInt(c.css("padding")),u.paddingTop=parseInt(c.css("padding")),u.paddingRight=parseInt(c.css("padding")),u.paddingBottom=parseInt(c.css("padding")),h.nodeDimensionsIncludeLabels&&(u.labelWidth=c.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).w,u.labelHeight=c.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).h,u.labelPosVertical=c.css("text-valign"),u.labelPosHorizontal=c.css("text-halign")),E[c.data("id")]=u,isNaN(u.rect.x)&&(u.rect.x=0),isNaN(u.rect.y)&&(u.rect.y=0),null!=g&&g.length>0){var N=void 0;t(N=n.getGraphManager().add(n.newGraph(),u),g,n,h)}}}(w.addRoot(),r.getTopMostNodes(f),L,t),!function(e,i,r){for(var n=0,o=0,a=0;a<r.length;a++){var s=r[a],h=E[s.data("source")],c=E[s.data("target")];if(h&&c&&h!==c&&0==h.getEdgesBetween(c).length){var g=i.add(e.newEdge(),h,c);g.id=s.id(),g.idealLength=T(t.idealEdgeLength,s),g.edgeElasticity=T(t.edgeElasticity,s),n+=g.idealLength,o++}}null!=t.idealEdgeLength&&(o>0?d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=n/o:N(t.idealEdgeLength)?d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=50:d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=t.idealEdgeLength,d.MIN_REPULSION_DIST=l.MIN_REPULSION_DIST=l.DEFAULT_EDGE_LENGTH/10,d.DEFAULT_RADIAL_SEPARATION=l.DEFAULT_EDGE_LENGTH)}(L,w,p),i=L,(c=t).fixedNodeConstraint&&(i.constraints.fixedNodeConstraint=c.fixedNodeConstraint),c.alignmentConstraint&&(i.constraints.alignmentConstraint=c.alignmentConstraint),c.relativePlacementConstraint&&(i.constraints.relativePlacementConstraint=c.relativePlacementConstraint),L.runLayout(),E}}},212:(t,e,i)=>{var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=i(658),o=i(548),a=i(657).spectralLayout,s=i(816).coseLayout,h=Object.freeze({quality:"default",randomize:!0,animate:!0,animationDuration:1e3,animationEasing:void 0,fit:!0,padding:30,nodeDimensionsIncludeLabels:!1,uniformNodeDimensions:!1,packComponents:!0,step:"all",samplingType:!0,sampleSize:25,nodeSeparation:75,piTol:1e-7,nodeRepulsion:function(t){return 4500},idealEdgeLength:function(t){return 50},edgeElasticity:function(t){return .45},nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,tilingCompareBy:void 0,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.3,fixedNodeConstraint:void 0,alignmentConstraint:void 0,relativePlacementConstraint:void 0,ready:function(){},stop:function(){}}),l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.options=n({},h,e)}return r(t,[{key:"run",value:function(){var t=this.options,e=t.cy,i=t.eles,r=[],n=[],h=void 0,l=[];t.fixedNodeConstraint&&(!Array.isArray(t.fixedNodeConstraint)||0==t.fixedNodeConstraint.length)&&(t.fixedNodeConstraint=void 0),t.alignmentConstraint&&(t.alignmentConstraint.vertical&&(!Array.isArray(t.alignmentConstraint.vertical)||0==t.alignmentConstraint.vertical.length)&&(t.alignmentConstraint.vertical=void 0),t.alignmentConstraint.horizontal&&(!Array.isArray(t.alignmentConstraint.horizontal)||0==t.alignmentConstraint.horizontal.length)&&(t.alignmentConstraint.horizontal=void 0)),t.relativePlacementConstraint&&(!Array.isArray(t.relativePlacementConstraint)||0==t.relativePlacementConstraint.length)&&(t.relativePlacementConstraint=void 0),(t.fixedNodeConstraint||t.alignmentConstraint||t.relativePlacementConstraint)&&(t.tile=!1,t.packComponents=!1);var d=void 0,c=!1;if(e.layoutUtilities&&t.packComponents&&(!(d=e.layoutUtilities("get"))&&(d=e.layoutUtilities()),c=!0),i.nodes().length>0){if(c){var g=o.getTopMostNodes(t.eles.nodes());if((h=o.connectComponents(e,t.eles,g)).forEach(function(t){var e=t.boundingBox();l.push({x:e.x1+e.w/2,y:e.y1+e.h/2})}),t.randomize&&h.forEach(function(e){t.eles=e,r.push(a(t))}),"default"==t.quality||"proof"==t.quality){var u=e.collection();if(t.tile){var f=new Map,p=0,v={nodeIndexes:f,xCoords:[],yCoords:[]},y=[];if(h.forEach(function(t,e){0==t.edges().length&&(t.nodes().forEach(function(e,i){u.merge(t.nodes()[i]),!e.isParent()&&(v.nodeIndexes.set(t.nodes()[i].id(),p++),v.xCoords.push(t.nodes()[0].position().x),v.yCoords.push(t.nodes()[0].position().y))}),y.push(e))}),u.length>1){var m=u.boundingBox();l.push({x:m.x1+m.w/2,y:m.y1+m.h/2}),h.push(u),r.push(v);for(var E=y.length-1;E>=0;E--)h.splice(y[E],1),r.splice(y[E],1),l.splice(y[E],1)}}h.forEach(function(e,i){t.eles=e,n.push(s(t,r[i])),o.relocateComponent(l[i],n[i],t)})}else h.forEach(function(e,i){o.relocateComponent(l[i],r[i],t)});var N=new Set;if(h.length>1){var T=[],A=i.filter(function(t){return"none"==t.css("display")});h.forEach(function(e,i){var a=void 0;if("draft"==t.quality&&(a=r[i].nodeIndexes),e.nodes().not(A).length>0){var s={};s.edges=[],s.nodes=[];var h=void 0;e.nodes().not(A).forEach(function(e){if("draft"==t.quality){if(e.isParent()){var l=o.calcBoundingBox(e,r[i].xCoords,r[i].yCoords,a);s.nodes.push({x:l.topLeftX,y:l.topLeftY,width:l.width,height:l.height})}else h=a.get(e.id()),s.nodes.push({x:r[i].xCoords[h]-e.boundingbox().w/2,y:r[i].yCoords[h]-e.boundingbox().h/2,width:e.boundingbox().w,height:e.boundingbox().h})}else n[i][e.id()]&&s.nodes.push({x:n[i][e.id()].getLeft(),y:n[i][e.id()].getTop(),width:n[i][e.id()].getWidth(),height:n[i][e.id()].getHeight()})}),e.edges().forEach(function(e){var h=e.source(),l=e.target();if("none"!=h.css("display")&&"none"!=l.css("display")){if("draft"==t.quality){var d=a.get(h.id()),c=a.get(l.id()),g=[],u=[];if(h.isParent()){var f=o.calcBoundingBox(h,r[i].xCoords,r[i].yCoords,a);g.push(f.topLeftX+f.width/2),g.push(f.topLeftY+f.height/2)}else g.push(r[i].xCoords[d]),g.push(r[i].yCoords[d]);if(l.isParent()){var p=o.calcBoundingBox(l,r[i].xCoords,r[i].yCoords,a);u.push(p.topLeftX+p.width/2),u.push(p.topLeftY+p.height/2)}else u.push(r[i].xCoords[c]),u.push(r[i].yCoords[c]);s.edges.push({startX:g[0],startY:g[1],endX:u[0],endY:u[1]})}else n[i][h.id()]&&n[i][l.id()]&&s.edges.push({startX:n[i][h.id()].getCenterX(),startY:n[i][h.id()].getCenterY(),endX:n[i][l.id()].getCenterX(),endY:n[i][l.id()].getCenterY()})}}),s.nodes.length>0&&(T.push(s),N.add(i))}});var L=d.packComponents(T,t.randomize).shifts;if("draft"==t.quality)r.forEach(function(t,e){var i=t.xCoords.map(function(t){return t+L[e].dx}),r=t.yCoords.map(function(t){return t+L[e].dy});t.xCoords=i,t.yCoords=r});else{var w=0;N.forEach(function(t){Object.keys(n[t]).forEach(function(e){var i=n[t][e];i.setCenter(i.getCenterX()+L[w].dx,i.getCenterY()+L[w].dy)}),w++})}}}else{var _=t.eles.boundingBox();if(l.push({x:_.x1+_.w/2,y:_.y1+_.h/2}),t.randomize){var I=a(t);r.push(I)}"default"==t.quality||"proof"==t.quality?(n.push(s(t,r[0])),o.relocateComponent(l[0],n[0],t)):o.relocateComponent(l[0],r[0],t)}}var C=function(e,i){if("default"==t.quality||"proof"==t.quality){"number"==typeof e&&(e=i);var o=void 0,a=void 0,s=e.data("id");return n.forEach(function(t){s in t&&(o={x:t[s].getRect().getCenterX(),y:t[s].getRect().getCenterY()},a=t[s])}),t.nodeDimensionsIncludeLabels&&(a.labelWidth&&("left"==a.labelPosHorizontal?o.x+=a.labelWidth/2:"right"==a.labelPosHorizontal&&(o.x-=a.labelWidth/2)),a.labelHeight&&("top"==a.labelPosVertical?o.y+=a.labelHeight/2:"bottom"==a.labelPosVertical&&(o.y-=a.labelHeight/2))),void 0==o&&(o={x:e.position("x"),y:e.position("y")}),{x:o.x,y:o.y}}var h=void 0;return r.forEach(function(t){var i=t.nodeIndexes.get(e.id());void 0!=i&&(h={x:t.xCoords[i],y:t.yCoords[i]})}),void 0==h&&(h={x:e.position("x"),y:e.position("y")}),{x:h.x,y:h.y}};if("default"==t.quality||"proof"==t.quality||t.randomize){var M=o.calcParentsWithoutChildren(e,i),x=i.filter(function(t){return"none"==t.css("display")});t.eles=i.not(x),i.nodes().not(":parent").not(x).layoutPositions(this,t,C),M.length>0&&M.forEach(function(t){t.position(C(t))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),t}();t.exports=l},657:(t,e,i)=>{var r=i(548),n=i(140).layoutBase.Matrix,o=i(140).layoutBase.SVD;t.exports={spectralLayout:function(t){var e=t.cy,i=t.eles,a=i.nodes(),s=i.nodes(":parent"),h=new Map,l=new Map,d=new Map,c=[],g=[],u=[],f=[],p=[],v=[],y=[],m=[],E=void 0,N=t.piTol,T=t.samplingType,A=t.nodeSeparation,L=void 0,w=function(){for(var t=0,e=0,i=!1;e<L;){t=Math.floor(Math.random()*E),i=!1;for(var r=0;r<e;r++)if(f[r]==t){i=!0;break}if(!i)f[e]=t,e++}},_=function(t,e,i){for(var r=[],n=0,o=0,a=0,s=void 0,h=[],d=0,g=1,u=0;u<E;u++)h[u]=1e8;for(r[o]=t,h[t]=0;o>=n;){for(var f=c[a=r[n++]],y=0;y<f.length;y++)1e8==h[s=l.get(f[y])]&&(h[s]=h[a]+1,r[++o]=s);v[a][e]=h[a]*A}if(i){for(var m=0;m<E;m++)v[m][e]<p[m]&&(p[m]=v[m][e]);for(var N=0;N<E;N++)p[N]>d&&(d=p[N],g=N)}return g};r.connectComponents(e,i,r.getTopMostNodes(a),h),s.forEach(function(t){r.connectComponents(e,i,r.getTopMostNodes(t.descendants().intersection(i)),h)});for(var I=0,C=0;C<a.length;C++)!a[C].isParent()&&l.set(a[C].id(),I++);var M=!0,x=!1,O=void 0;try{for(var D,R=h.keys()[Symbol.iterator]();!(M=(D=R.next()).done);M=!0){var b=D.value;l.set(b,I++)}}catch(t){x=!0,O=t}finally{try{!M&&R.return&&R.return()}finally{if(x)throw O}}for(var G=0;G<l.size;G++)c[G]=[];s.forEach(function(t){for(var e=t.children().intersection(i);0==e.nodes(":childless").length;)e=e.nodes()[0].children().intersection(i);var r=0,n=e.nodes(":childless")[0].connectedEdges().length;e.nodes(":childless").forEach(function(t,e){t.connectedEdges().length<n&&(n=t.connectedEdges().length,r=e)}),d.set(t.id(),e.nodes(":childless")[r].id())}),a.forEach(function(t){var e=void 0;e=t.isParent()?l.get(d.get(t.id())):l.get(t.id()),t.neighborhood().nodes().forEach(function(r){i.intersection(t.edgesWith(r)).length>0&&(r.isParent()?c[e].push(d.get(r.id())):c[e].push(r.id()))})});var F=function(t){var i=l.get(t),r=void 0;h.get(t).forEach(function(n){r=e.getElementById(n).isParent()?d.get(n):n,c[i].push(r),c[l.get(r)].push(t)})},S=!0,P=!1,U=void 0;try{for(var Y,k=h.keys()[Symbol.iterator]();!(S=(Y=k.next()).done);S=!0){var H=Y.value;F(H)}}catch(t){P=!0,U=t}finally{try{!S&&k.return&&k.return()}finally{if(P)throw U}}E=l.size;var X=void 0;if(E>2){L=E<t.sampleSize?E:t.sampleSize;for(var W=0;W<E;W++)v[W]=[];for(var z=0;z<L;z++)m[z]=[];return"draft"==t.quality||"all"==t.step?(!function(t){var e=void 0;if(t){e=Math.floor(Math.random()*E);for(var i=0;i<E;i++)p[i]=1e8;for(var r=0;r<L;r++)f[r]=e,e=_(e,r,t)}else{w();for(var n=0;n<L;n++)_(f[n],n,t,!1)}for(var o=0;o<E;o++)for(var a=0;a<L;a++)v[o][a]*=v[o][a];for(var s=0;s<L;s++)y[s]=[];for(var h=0;h<L;h++)for(var l=0;l<L;l++)y[h][l]=v[f[l]][h]}(T),!function(){for(var t=o.svd(y),e=t.S,i=t.U,r=t.V,a=e[0]*e[0]*e[0],s=[],h=0;h<L;h++){s[h]=[];for(var l=0;l<L;l++)s[h][l]=0,h==l&&(s[h][l]=e[h]/(e[h]*e[h]+a/(e[h]*e[h])))}m=n.multMat(n.multMat(r,s),n.transpose(i))}(),!function(){for(var t=void 0,e=void 0,i=[],r=[],o=[],a=[],s=0;s<E;s++)i[s]=Math.random(),r[s]=Math.random();i=n.normalize(i),r=n.normalize(r);for(var h=0,l=1e-9,d=1e-9,c=void 0;;){h++;for(var f=0;f<E;f++)o[f]=i[f];if(i=n.multGamma(n.multL(n.multGamma(o),v,m)),t=n.dotProduct(o,i),i=n.normalize(i),(c=Math.abs((l=n.dotProduct(o,i))/d))<=1+N&&c>=1)break;d=l}for(var p=0;p<E;p++)o[p]=i[p];for(h=0,d=1e-9;;){h++;for(var y=0;y<E;y++)a[y]=r[y];if(a=n.minusOp(a,n.multCons(o,n.dotProduct(o,a))),r=n.multGamma(n.multL(n.multGamma(a),v,m)),e=n.dotProduct(a,r),r=n.normalize(r),(c=Math.abs((l=n.dotProduct(a,r))/d))<=1+N&&c>=1)break;d=l}for(var T=0;T<E;T++)a[T]=r[T];g=n.multCons(o,Math.sqrt(Math.abs(t))),u=n.multCons(a,Math.sqrt(Math.abs(e)))}()):l.forEach(function(t,i){g.push(e.getElementById(i).position("x")),u.push(e.getElementById(i).position("y"))}),X={nodeIndexes:l,xCoords:g,yCoords:u}}var V=l.keys(),B=e.getElementById(V.next().value),j=B.position(),q=B.outerWidth();if(g.push(j.x),u.push(j.y),2==E){var $=e.getElementById(V.next().value).outerWidth();g.push(j.x+q/2+$/2+t.idealEdgeLength),u.push(j.y)}return X={nodeIndexes:l,xCoords:g,yCoords:u}}}},579:(t,e,i)=>{var r=i(212),n=function(t){if(!!t)t("layout","fcose",r)};"undefined"!=typeof cytoscape&&n(cytoscape),t.exports=n},140:e=>{e.exports=t}},i={},function t(r){var n=i[r];if(void 0!==n)return n.exports;var o=i[r]={exports:{}};return e[r](o,o.exports,t),o.exports}(579)},t.exports=n(i(26914))},26914:function(t,e,i){var r,n;r=0,n=function(t){var e,i;return e={45:(t,e,i)=>{var r={};r.layoutBase=i(551),r.CoSEConstants=i(806),r.CoSEEdge=i(767),r.CoSEGraph=i(880),r.CoSEGraphManager=i(578),r.CoSELayout=i(765),r.CoSENode=i(991),r.ConstraintHandler=i(902),t.exports=r},806:(t,e,i)=>{var r=i(551).FDLayoutConstants;function n(){}for(var o in r)n[o]=r[o];n.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,n.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,n.DEFAULT_COMPONENT_SEPERATION=60,n.TILE=!0,n.TILING_PADDING_VERTICAL=10,n.TILING_PADDING_HORIZONTAL=10,n.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,n.ENFORCE_CONSTRAINTS=!0,n.APPLY_LAYOUT=!0,n.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,n.TREE_REDUCTION_ON_INCREMENTAL=!0,n.PURE_INCREMENTAL=n.DEFAULT_INCREMENTAL,t.exports=n},767:(t,e,i)=>{var r=i(551).FDLayoutEdge;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},880:(t,e,i)=>{var r=i(551).LGraph;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},578:(t,e,i)=>{var r=i(551).LGraphManager;function n(t){r.call(this,t)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},765:(t,e,i)=>{var r=i(551).FDLayout,n=i(578),o=i(880),a=i(991),s=i(767),h=i(806),l=i(902),d=i(551).FDLayoutConstants,c=i(551).LayoutConstants,g=i(551).Point,u=i(551).PointD,f=i(551).DimensionD,p=i(551).Layout,v=i(551).Integer,y=i(551).IGeometry,m=i(551).LGraph,E=i(551).Transform,N=i(551).LinkedList;function T(){r.call(this),this.toBeTiled={},this.constraints={}}for(var A in T.prototype=Object.create(r.prototype),r)T[A]=r[A];T.prototype.newGraphManager=function(){var t=new n(this);return this.graphManager=t,t},T.prototype.newGraph=function(t){return new o(null,this.graphManager,t)},T.prototype.newNode=function(t){return new a(this.graphManager,t)},T.prototype.newEdge=function(t){return new s(null,null,t)},T.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),!this.isSubLayout&&(h.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=h.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=d.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=d.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=d.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},T.prototype.initSpringEmbedder=function(){r.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/d.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},T.prototype.layout=function(){return c.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},T.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(h.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 i=this.getFlatForest();if(i.length>0)this.positionNodesRadially(i);else{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),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(l.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),h.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},T.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%d.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(),h.PURE_INCREMENTAL?this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=d.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()),h.PURE_INCREMENTAL?this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},T.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i<t.length;i++){var r=t[i].rect,n=t[i].id;e[n]={id:n,x:r.getCenterX(),y:r.getCenterY(),w:r.width,h:r.height}}return e},T.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===d.ANIMATE)this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},T.prototype.moveNodes=function(){for(var t,e=this.getAllNodes(),i=0;i<e.length;i++)(t=e[i]).calculateDisplacement();Object.keys(this.constraints).length>0&&this.updateDisplacements();for(var i=0;i<e.length;i++)(t=e[i]).move()},T.prototype.initConstraintVariables=function(){var t=this;this.idToNodeMap=new Map,this.fixedNodeSet=new Set;for(var e=this.graphManager.getAllNodes(),i=0;i<e.length;i++){var r=e[i];this.idToNodeMap.set(r.id,r)}if(this.constraints.fixedNodeConstraint){this.constraints.fixedNodeConstraint.forEach(function(e){t.fixedNodeSet.add(e.nodeId)});for(var r,e=this.graphManager.getAllNodes(),i=0;i<e.length;i++)if(null!=(r=e[i]).getChild()){var n=function e(i){for(var r,n=i.getChild().getNodes(),o=0,a=0;a<n.length;a++)null==(r=n[a]).getChild()?t.fixedNodeSet.has(r.id)&&(o+=100):o+=e(r);return o}(r);n>0&&(r.fixedNodeWeight=n)}}if(this.constraints.relativePlacementConstraint){var o=new Map,a=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(e){t.fixedNodesOnHorizontal.add(e),t.fixedNodesOnVertical.add(e)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical){for(var s=this.constraints.alignmentConstraint.vertical,i=0;i<s.length;i++)this.dummyToNodeForVerticalAlignment.set("dummy"+i,[]),s[i].forEach(function(e){o.set(e,"dummy"+i),t.dummyToNodeForVerticalAlignment.get("dummy"+i).push(e),t.fixedNodeSet.has(e)&&t.fixedNodesOnHorizontal.add("dummy"+i)})}if(this.constraints.alignmentConstraint.horizontal){for(var l=this.constraints.alignmentConstraint.horizontal,i=0;i<l.length;i++)this.dummyToNodeForHorizontalAlignment.set("dummy"+i,[]),l[i].forEach(function(e){a.set(e,"dummy"+i),t.dummyToNodeForHorizontalAlignment.get("dummy"+i).push(e),t.fixedNodeSet.has(e)&&t.fixedNodesOnVertical.add("dummy"+i)})}}if(h.RELAX_MOVEMENT_ON_CONSTRAINTS)this.shuffle=function(t){var e,i,r;for(r=t.length-1;r>=2*t.length/3;r--)e=Math.floor(Math.random()*(r+1)),i=t[r],t[r]=t[e],t[e]=i;return t},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(e){if(e.left){var i=o.has(e.left)?o.get(e.left):e.left,r=o.has(e.right)?o.get(e.right):e.right;!t.nodesInRelativeHorizontal.includes(i)&&(t.nodesInRelativeHorizontal.push(i),t.nodeToRelativeConstraintMapHorizontal.set(i,[]),t.dummyToNodeForVerticalAlignment.has(i)?t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(i)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(i).getCenterX())),!t.nodesInRelativeHorizontal.includes(r)&&(t.nodesInRelativeHorizontal.push(r),t.nodeToRelativeConstraintMapHorizontal.set(r,[]),t.dummyToNodeForVerticalAlignment.has(r)?t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(r)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(r).getCenterX())),t.nodeToRelativeConstraintMapHorizontal.get(i).push({right:r,gap:e.gap}),t.nodeToRelativeConstraintMapHorizontal.get(r).push({left:i,gap:e.gap})}else{var n=a.has(e.top)?a.get(e.top):e.top,s=a.has(e.bottom)?a.get(e.bottom):e.bottom;!t.nodesInRelativeVertical.includes(n)&&(t.nodesInRelativeVertical.push(n),t.nodeToRelativeConstraintMapVertical.set(n,[]),t.dummyToNodeForHorizontalAlignment.has(n)?t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(n)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(n).getCenterY())),!t.nodesInRelativeVertical.includes(s)&&(t.nodesInRelativeVertical.push(s),t.nodeToRelativeConstraintMapVertical.set(s,[]),t.dummyToNodeForHorizontalAlignment.has(s)?t.nodeToTempPositionMapVertical.set(s,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(s)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(s,t.idToNodeMap.get(s).getCenterY())),t.nodeToRelativeConstraintMapVertical.get(n).push({bottom:s,gap:e.gap}),t.nodeToRelativeConstraintMapVertical.get(s).push({top:n,gap:e.gap})}});else{var d=new Map,c=new Map;this.constraints.relativePlacementConstraint.forEach(function(t){if(t.left){var e=o.has(t.left)?o.get(t.left):t.left,i=o.has(t.right)?o.get(t.right):t.right;d.has(e)?d.get(e).push(i):d.set(e,[i]),d.has(i)?d.get(i).push(e):d.set(i,[e])}else{var r=a.has(t.top)?a.get(t.top):t.top,n=a.has(t.bottom)?a.get(t.bottom):t.bottom;c.has(r)?c.get(r).push(n):c.set(r,[n]),c.has(n)?c.get(n).push(r):c.set(n,[r])}});var g=function(t,e){var i=[],r=[],n=new N,o=new Set,a=0;return t.forEach(function(s,h){if(!o.has(h)){i[a]=[],r[a]=!1;var l=h;for(n.push(l),o.add(l),i[a].push(l);0!=n.length;)l=n.shift(),e.has(l)&&(r[a]=!0),t.get(l).forEach(function(t){!o.has(t)&&(n.push(t),o.add(t),i[a].push(t))});a++}}),{components:i,isFixed:r}},u=g(d,t.fixedNodesOnHorizontal);this.componentsOnHorizontal=u.components,this.fixedComponentsOnHorizontal=u.isFixed;var f=g(c,t.fixedNodesOnVertical);this.componentsOnVertical=f.components,this.fixedComponentsOnVertical=f.isFixed}}},T.prototype.updateDisplacements=function(){var t=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(e){var i=t.idToNodeMap.get(e.nodeId);i.displacementX=0,i.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical){for(var e=this.constraints.alignmentConstraint.vertical,i=0;i<e.length;i++){for(var r=0,n=0;n<e[i].length;n++){if(this.fixedNodeSet.has(e[i][n])){r=0;break}r+=this.idToNodeMap.get(e[i][n]).displacementX}for(var o=r/e[i].length,n=0;n<e[i].length;n++)this.idToNodeMap.get(e[i][n]).displacementX=o}}if(this.constraints.alignmentConstraint.horizontal){for(var a=this.constraints.alignmentConstraint.horizontal,i=0;i<a.length;i++){for(var s=0,n=0;n<a[i].length;n++){if(this.fixedNodeSet.has(a[i][n])){s=0;break}s+=this.idToNodeMap.get(a[i][n]).displacementY}for(var l=s/a[i].length,n=0;n<a[i].length;n++)this.idToNodeMap.get(a[i][n]).displacementY=l}}}if(this.constraints.relativePlacementConstraint){if(h.RELAX_MOVEMENT_ON_CONSTRAINTS)this.totalIterations%10==0&&(this.shuffle(this.nodesInRelativeHorizontal),this.shuffle(this.nodesInRelativeVertical)),this.nodesInRelativeHorizontal.forEach(function(e){if(!t.fixedNodesOnHorizontal.has(e)){var i=0;i=t.dummyToNodeForVerticalAlignment.has(e)?t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(e)[0]).displacementX:t.idToNodeMap.get(e).displacementX,t.nodeToRelativeConstraintMapHorizontal.get(e).forEach(function(r){if(r.right){var n=t.nodeToTempPositionMapHorizontal.get(r.right)-t.nodeToTempPositionMapHorizontal.get(e)-i;n<r.gap&&(i-=r.gap-n)}else{var n=t.nodeToTempPositionMapHorizontal.get(e)-t.nodeToTempPositionMapHorizontal.get(r.left)+i;n<r.gap&&(i+=r.gap-n)}}),t.nodeToTempPositionMapHorizontal.set(e,t.nodeToTempPositionMapHorizontal.get(e)+i),t.dummyToNodeForVerticalAlignment.has(e)?t.dummyToNodeForVerticalAlignment.get(e).forEach(function(e){t.idToNodeMap.get(e).displacementX=i}):t.idToNodeMap.get(e).displacementX=i}}),this.nodesInRelativeVertical.forEach(function(e){if(!t.fixedNodesOnHorizontal.has(e)){var i=0;i=t.dummyToNodeForHorizontalAlignment.has(e)?t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(e)[0]).displacementY:t.idToNodeMap.get(e).displacementY,t.nodeToRelativeConstraintMapVertical.get(e).forEach(function(r){if(r.bottom){var n=t.nodeToTempPositionMapVertical.get(r.bottom)-t.nodeToTempPositionMapVertical.get(e)-i;n<r.gap&&(i-=r.gap-n)}else{var n=t.nodeToTempPositionMapVertical.get(e)-t.nodeToTempPositionMapVertical.get(r.top)+i;n<r.gap&&(i+=r.gap-n)}}),t.nodeToTempPositionMapVertical.set(e,t.nodeToTempPositionMapVertical.get(e)+i),t.dummyToNodeForHorizontalAlignment.has(e)?t.dummyToNodeForHorizontalAlignment.get(e).forEach(function(e){t.idToNodeMap.get(e).displacementY=i}):t.idToNodeMap.get(e).displacementY=i}});else{for(var i=0;i<this.componentsOnHorizontal.length;i++){var d=this.componentsOnHorizontal[i];if(this.fixedComponentsOnHorizontal[i])for(var n=0;n<d.length;n++)this.dummyToNodeForVerticalAlignment.has(d[n])?this.dummyToNodeForVerticalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementX=0}):this.idToNodeMap.get(d[n]).displacementX=0;else{for(var c=0,g=0,n=0;n<d.length;n++)if(this.dummyToNodeForVerticalAlignment.has(d[n])){var u=this.dummyToNodeForVerticalAlignment.get(d[n]);c+=u.length*this.idToNodeMap.get(u[0]).displacementX,g+=u.length}else c+=this.idToNodeMap.get(d[n]).displacementX,g++;for(var f=c/g,n=0;n<d.length;n++)this.dummyToNodeForVerticalAlignment.has(d[n])?this.dummyToNodeForVerticalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementX=f}):this.idToNodeMap.get(d[n]).displacementX=f}}for(var i=0;i<this.componentsOnVertical.length;i++){var d=this.componentsOnVertical[i];if(this.fixedComponentsOnVertical[i])for(var n=0;n<d.length;n++)this.dummyToNodeForHorizontalAlignment.has(d[n])?this.dummyToNodeForHorizontalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementY=0}):this.idToNodeMap.get(d[n]).displacementY=0;else{for(var c=0,g=0,n=0;n<d.length;n++)if(this.dummyToNodeForHorizontalAlignment.has(d[n])){var u=this.dummyToNodeForHorizontalAlignment.get(d[n]);c+=u.length*this.idToNodeMap.get(u[0]).displacementY,g+=u.length}else c+=this.idToNodeMap.get(d[n]).displacementY,g++;for(var f=c/g,n=0;n<d.length;n++)this.dummyToNodeForHorizontalAlignment.has(d[n])?this.dummyToNodeForHorizontalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementY=f}):this.idToNodeMap.get(d[n]).displacementY=f}}}}},T.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,i=[],r=this.graphManager.getGraphs(),n=r.length;for(e=0;e<n;e++)(t=r[e]).updateConnected(),!t.isConnected&&(i=i.concat(t.getNodes()));return i},T.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e=new Set;for(o=0;o<t.length;o++){var i=t[o];if(!e.has(i)){var r=i.getSource(),n=i.getTarget();if(r==n)i.getBendpoints().push(new u),i.getBendpoints().push(new u),this.createDummyNodesForBendpoints(i),e.add(i);else{var o,a,s=[];if(s=(s=s.concat(r.getEdgeListToNode(n))).concat(n.getEdgeListToNode(r)),!e.has(s[0])){if(s.length>1)for(a=0;a<s.length;a++){var h=s[a];h.getBendpoints().push(new u),this.createDummyNodesForBendpoints(h)}s.forEach(function(t){e.add(t)})}}}if(e.size==t.length)break}},T.prototype.positionNodesRadially=function(t){for(var e=new g(0,0),i=Math.ceil(Math.sqrt(t.length)),r=0,n=0,o=0,a=new u(0,0),s=0;s<t.length;s++){s%i==0&&(o=0,n=r,0!=s&&(n+=h.DEFAULT_COMPONENT_SEPERATION),r=0);var l=t[s],d=p.findCenterOfTree(l);e.x=o,e.y=n,(a=T.radialLayout(l,d,e)).y>r&&(r=Math.floor(a.y)),o=Math.floor(a.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(c.WORLD_CENTER_X-a.x/2,c.WORLD_CENTER_Y-a.y/2))},T.radialLayout=function(t,e,i){var r=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);T.branchRadialLayout(e,null,0,359,0,r);var n=m.calculateBounds(t),o=new E;o.setDeviceOrgX(n.getMinX()),o.setDeviceOrgY(n.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var a=0;a<t.length;a++)t[a].transform(o);var s=new u(n.getMaxX(),n.getMaxY());return o.inverseTransformPoint(s)},T.branchRadialLayout=function(t,e,i,r,n,o){var a,s=(r-i+1)/2;s<0&&(s+=180);var h=(s+i)%360*y.TWO_PI/360,l=n*Math.cos(h),d=n*Math.sin(h);t.setCenter(l,d);var c=[],g=(c=c.concat(t.getEdges())).length;null!=e&&g--;for(var u=0,f=c.length,p=t.getEdgesBetween(e);p.length>1;){var v=p[0];p.splice(0,1);var m=c.indexOf(v);m>=0&&c.splice(m,1),f--,g--}a=null!=e?(c.indexOf(p[0])+1)%f:0;for(var E=Math.abs(r-i)/g,N=a;u!=g;N=++N%f){var A=c[N].getOtherEnd(t);if(A!=e){var L=(i+u*E)%360,w=(L+E)%360;T.branchRadialLayout(A,t,L,w,n+o,o),u++}}},T.maxDiagonalInTree=function(t){for(var e=v.MIN_VALUE,i=0;i<t.length;i++){var r=t[i].getDiagonal();r>e&&(e=r)}return e},T.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},T.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],r=this.graphManager.getAllNodes(),n=0;n<r.length;n++){var o=r[n],s=o.getParent();0===this.getNodeDegreeWithChildren(o)&&(void 0==s.id||!this.getToBeTiled(s))&&i.push(o)}for(var n=0;n<i.length;n++){var o=i[n],h=o.getParent().id;void 0===e[h]&&(e[h]=[]),e[h]=e[h].concat(o)}Object.keys(e).forEach(function(i){if(e[i].length>1){var r="DummyCompound_"+i;t.memberGroups[r]=e[i];var n=e[i][0].getParent(),o=new a(t.graphManager);o.id=r,o.paddingLeft=n.paddingLeft||0,o.paddingRight=n.paddingRight||0,o.paddingBottom=n.paddingBottom||0,o.paddingTop=n.paddingTop||0,t.idToDummyNode[r]=o;var s=t.getGraphManager().add(t.newGraph(),o),h=n.getChild();h.add(o);for(var l=0;l<e[i].length;l++){var d=e[i][l];h.remove(d),s.add(d)}}})},T.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var i=0;i<this.compoundOrder.length;i++)e[this.compoundOrder[i].id]=this.compoundOrder[i],t[this.compoundOrder[i].id]=[].concat(this.compoundOrder[i].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[i].getChild()),this.compoundOrder[i].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e)},T.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(i){var r=t.idToDummyNode[i];if(e[i]=t.tileNodes(t.memberGroups[i],r.paddingLeft+r.paddingRight),r.rect.width=e[i].width,r.rect.height=e[i].height,r.setCenter(e[i].centerX,e[i].centerY),r.labelMarginLeft=0,r.labelMarginTop=0,h.NODE_DIMENSIONS_INCLUDE_LABELS){var n=r.rect.width,o=r.rect.height;r.labelWidth&&("left"==r.labelPosHorizontal?(r.rect.x-=r.labelWidth,r.setWidth(n+r.labelWidth),r.labelMarginLeft=r.labelWidth):"center"==r.labelPosHorizontal&&r.labelWidth>n?(r.rect.x-=(r.labelWidth-n)/2,r.setWidth(r.labelWidth),r.labelMarginLeft=(r.labelWidth-n)/2):"right"==r.labelPosHorizontal&&r.setWidth(n+r.labelWidth)),r.labelHeight&&("top"==r.labelPosVertical?(r.rect.y-=r.labelHeight,r.setHeight(o+r.labelHeight),r.labelMarginTop=r.labelHeight):"center"==r.labelPosVertical&&r.labelHeight>o?(r.rect.y-=(r.labelHeight-o)/2,r.setHeight(r.labelHeight),r.labelMarginTop=(r.labelHeight-o)/2):"bottom"==r.labelPosVertical&&r.setHeight(o+r.labelHeight))}})},T.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],i=e.id,r=e.paddingLeft,n=e.paddingTop,o=e.labelMarginLeft,a=e.labelMarginTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,r,n,o,a)}},T.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var r=t.idToDummyNode[i],n=r.paddingLeft,o=r.paddingTop,a=r.labelMarginLeft,s=r.labelMarginTop;t.adjustLocations(e[i],r.rect.x,r.rect.y,n,o,a,s)})},T.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var r=i.getNodes(),n=0;n<r.length;n++){var o=r[n];if(this.getNodeDegree(o)>0)return this.toBeTiled[e]=!1,!1;if(null==o.getChild()){this.toBeTiled[o.id]=!1;continue}if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}return this.toBeTiled[e]=!0,!0},T.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,r=0;r<e.length;r++){var n=e[r];n.getSource().id!==n.getTarget().id&&(i+=1)}return i},T.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var i=t.getChild().getNodes(),r=0;r<i.length;r++){var n=i[r];e+=this.getNodeDegreeWithChildren(n)}return e},T.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},T.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var i=t[e];null!=i.getChild()&&this.fillCompexOrderByDFS(i.getChild().getNodes()),this.getToBeTiled(i)&&this.compoundOrder.push(i)}},T.prototype.adjustLocations=function(t,e,i,r,n,o,a){e+=r+o,i+=n+a;for(var s=e,h=0;h<t.rows.length;h++){var l=t.rows[h];e=s;for(var d=0,c=0;c<l.length;c++){var g=l[c];g.rect.x=e,g.rect.y=i,e+=g.rect.width+t.horizontalPadding,g.rect.height>d&&(d=g.rect.height)}i+=d+t.verticalPadding}},T.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(r){var n=e[r];if(i.tiledMemberPack[r]=i.tileNodes(t[r],n.paddingLeft+n.paddingRight),n.rect.width=i.tiledMemberPack[r].width,n.rect.height=i.tiledMemberPack[r].height,n.setCenter(i.tiledMemberPack[r].centerX,i.tiledMemberPack[r].centerY),n.labelMarginLeft=0,n.labelMarginTop=0,h.NODE_DIMENSIONS_INCLUDE_LABELS){var o=n.rect.width,a=n.rect.height;n.labelWidth&&("left"==n.labelPosHorizontal?(n.rect.x-=n.labelWidth,n.setWidth(o+n.labelWidth),n.labelMarginLeft=n.labelWidth):"center"==n.labelPosHorizontal&&n.labelWidth>o?(n.rect.x-=(n.labelWidth-o)/2,n.setWidth(n.labelWidth),n.labelMarginLeft=(n.labelWidth-o)/2):"right"==n.labelPosHorizontal&&n.setWidth(o+n.labelWidth)),n.labelHeight&&("top"==n.labelPosVertical?(n.rect.y-=n.labelHeight,n.setHeight(a+n.labelHeight),n.labelMarginTop=n.labelHeight):"center"==n.labelPosVertical&&n.labelHeight>a?(n.rect.y-=(n.labelHeight-a)/2,n.setHeight(n.labelHeight),n.labelMarginTop=(n.labelHeight-a)/2):"bottom"==n.labelPosVertical&&n.setHeight(a+n.labelHeight))}})},T.prototype.tileNodes=function(t,e){var i,r=this.tileNodesByFavoringDim(t,e,!0),n=this.tileNodesByFavoringDim(t,e,!1),o=this.getOrgRatio(r);return i=this.getOrgRatio(n)<o?n:r},T.prototype.getOrgRatio=function(t){var e=t.width/t.height;return e<1&&(e=1/e),e},T.prototype.calcIdealRowWidth=function(t,e){var i,r=h.TILING_PADDING_VERTICAL,n=h.TILING_PADDING_HORIZONTAL,o=t.length,a=0,s=0,l=0;t.forEach(function(t){a+=t.getWidth(),s+=t.getHeight(),t.getWidth()>l&&(l=t.getWidth())});var d=a/o,c=Math.pow(r-n,2)+4*(d+n)*(s/o+r)*o,g=(n-r+Math.sqrt(c))/(2*(d+n));e?(i=Math.ceil(g))==g&&i++:i=Math.floor(g);var u=i*(d+n)-n;return l>u&&(u=l),u+=2*n},T.prototype.tileNodesByFavoringDim=function(t,e,i){var r=h.TILING_PADDING_VERTICAL,n=h.TILING_PADDING_HORIZONTAL,o=h.TILING_COMPARE_BY,a={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:r,horizontalPadding:n,centerX:0,centerY:0};o&&(a.idealRowWidth=this.calcIdealRowWidth(t,i));var s=function(t){return t.rect.width*t.rect.height},l=function(t,e){return s(e)-s(t)};t.sort(function(t,e){var i=l;return a.idealRowWidth?(i=o)(t.id,e.id):i(t,e)});for(var d=0,c=0,g=0;g<t.length;g++){var u=t[g];d+=u.getCenterX(),c+=u.getCenterY()}a.centerX=d/t.length,a.centerY=c/t.length;for(var g=0;g<t.length;g++){var u=t[g];if(0==a.rows.length)this.insertNodeToRow(a,u,0,e);else if(this.canAddHorizontal(a,u.rect.width,u.rect.height)){var f=a.rows.length-1;!a.idealRowWidth&&(f=this.getShortestRowIndex(a)),this.insertNodeToRow(a,u,f,e)}else this.insertNodeToRow(a,u,a.rows.length,e);this.shiftToLastRow(a)}return a},T.prototype.insertNodeToRow=function(t,e,i,r){i==t.rows.length&&(t.rows.push([]),t.rowWidth.push(r),t.rowHeight.push(0));var n=t.rowWidth[i]+e.rect.width;t.rows[i].length>0&&(n+=t.horizontalPadding),t.rowWidth[i]=n,t.width<n&&(t.width=n);var o=e.rect.height;i>0&&(o+=t.verticalPadding);var a=0;o>t.rowHeight[i]&&(a=t.rowHeight[i],t.rowHeight[i]=o,a=t.rowHeight[i]-a),t.height+=a,t.rows[i].push(e)},T.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]<i&&(e=r,i=t.rowWidth[r]);return e},T.prototype.getLongestRowIndex=function(t){for(var e=-1,i=Number.MIN_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]>i&&(e=r,i=t.rowWidth[r]);return e},T.prototype.canAddHorizontal=function(t,e,i){if(t.idealRowWidth){var r,n,o=t.rows.length-1;return t.rowWidth[o]+e+t.horizontalPadding<=t.idealRowWidth}var a=this.getShortestRowIndex(t);if(a<0)return!0;var s=t.rowWidth[a];if(s+t.horizontalPadding+e<=t.width)return!0;var h=0;return t.rowHeight[a]<i&&a>0&&(h=i+t.verticalPadding-t.rowHeight[a]),r=t.width-s>=e+t.horizontalPadding?(t.height+h)/(s+e+t.horizontalPadding):(t.height+h)/t.width,h=i+t.verticalPadding,(n=t.width<e?(t.height+h)/e:(t.height+h)/t.width)<1&&(n=1/n),r<1&&(r=1/r),r<n},T.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),i=t.rowWidth.length-1,r=t.rows[e],n=r[r.length-1],o=n.width+t.horizontalPadding;if(t.width-t.rowWidth[i]>o&&e!=i){r.splice(-1,1),t.rows[i].push(n),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var a=Number.MIN_VALUE,s=0;s<r.length;s++)r[s].height>a&&(a=r[s].height);e>0&&(a+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=a,t.rowHeight[i]<n.height+t.verticalPadding&&(t.rowHeight[i]=n.height+t.verticalPadding);var l=t.rowHeight[e]+t.rowHeight[i];t.height+=l-h,this.shiftToLastRow(t)}},T.prototype.tilingPreLayout=function(){h.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},T.prototype.tilingPostLayout=function(){h.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},T.prototype.reduceTrees=function(){for(var t,e=[],i=!0;i;){var r=this.graphManager.getAllNodes(),n=[];i=!1;for(var o=0;o<r.length;o++)if(1==(t=r[o]).getEdges().length&&!t.getEdges()[0].isInterGraph&&null==t.getChild()){if(h.PURE_INCREMENTAL){var a=t.getEdges()[0].getOtherEnd(t),s=new f(t.getCenterX()-a.getCenterX(),t.getCenterY()-a.getCenterY());n.push([t,t.getEdges()[0],t.getOwner(),s])}else n.push([t,t.getEdges()[0],t.getOwner()]);i=!0}if(!0==i){for(var l=[],d=0;d<n.length;d++)1==n[d][0].getEdges().length&&(l.push(n[d]),n[d][0].getOwner().remove(n[d][0]));e.push(l),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=e},T.prototype.growTree=function(t){for(var e,i=t.length,r=t[i-1],n=0;n<r.length;n++)e=r[n],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()},T.prototype.findPlaceforPrunedNode=function(t){var e=t[0];if(r=e==t[1].source?t[1].target:t[1].source,h.PURE_INCREMENTAL)e.setCenter(r.getCenterX()+t[3].getWidth(),r.getCenterY()+t[3].getHeight());else{var i,r,n,o,a=r.startX,s=r.finishX,l=r.startY,c=r.finishY,g=[0,0,0,0];if(l>0)for(var u=a;u<=s;u++)g[0]+=this.grid[u][l-1].length+this.grid[u][l].length-1;if(s<this.grid.length-1)for(var u=l;u<=c;u++)g[1]+=this.grid[s+1][u].length+this.grid[s][u].length-1;if(c<this.grid[0].length-1)for(var u=a;u<=s;u++)g[2]+=this.grid[u][c+1].length+this.grid[u][c].length-1;if(a>0)for(var u=l;u<=c;u++)g[3]+=this.grid[a-1][u].length+this.grid[a][u].length-1;for(var f=v.MAX_VALUE,p=0;p<g.length;p++)g[p]<f?(f=g[p],n=1,o=p):g[p]==f&&n++;if(3==n&&0==f)0==g[0]&&0==g[1]&&0==g[2]?i=1:0==g[0]&&0==g[1]&&0==g[3]?i=0:0==g[0]&&0==g[2]&&0==g[3]?i=3:0==g[1]&&0==g[2]&&0==g[3]&&(i=2);else if(2==n&&0==f){var y=Math.floor(2*Math.random());i=0==g[0]&&0==g[1]?0==y?0:1:0==g[0]&&0==g[2]?0==y?0:2:0==g[0]&&0==g[3]?0==y?0:3:0==g[1]&&0==g[2]?0==y?1:2:0==g[1]&&0==g[3]?0==y?1:3:0==y?2:3}else if(4==n&&0==f){var y=Math.floor(4*Math.random());i=y}else i=o;0==i?e.setCenter(r.getCenterX(),r.getCenterY()-r.getHeight()/2-d.DEFAULT_EDGE_LENGTH-e.getHeight()/2):1==i?e.setCenter(r.getCenterX()+r.getWidth()/2+d.DEFAULT_EDGE_LENGTH+e.getWidth()/2,r.getCenterY()):2==i?e.setCenter(r.getCenterX(),r.getCenterY()+r.getHeight()/2+d.DEFAULT_EDGE_LENGTH+e.getHeight()/2):e.setCenter(r.getCenterX()-r.getWidth()/2-d.DEFAULT_EDGE_LENGTH-e.getWidth()/2,r.getCenterY())}},t.exports=T},991:(t,e,i)=>{var r=i(551).FDLayoutNode,n=i(551).IMath;function o(t,e,i,n){r.call(this,t,e,i,n)}for(var a in o.prototype=Object.create(r.prototype),r)o[a]=r[a];o.prototype.calculateDisplacement=function(){var t=this.graphManager.getLayout();null!=this.getChild()&&this.fixedNodeWeight?(this.displacementX+=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(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*n.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*n.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,r=this.getChild().getNodes(),n=0;n<r.length;n++)null==(i=r[n]).getChild()?(i.displacementX+=t,i.displacementY+=e):i.propogateDisplacementToChildren(t,e)},o.prototype.move=function(){var t=this.graphManager.getLayout();(null==this.child||0==this.child.getNodes().length)&&(this.moveBy(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},o.prototype.setPred1=function(t){this.pred1=t},o.prototype.getPred1=function(){return pred1},o.prototype.getPred2=function(){return pred2},o.prototype.setNext=function(t){this.next=t},o.prototype.getNext=function(){return next},o.prototype.setProcessed=function(t){this.processed=t},o.prototype.isProcessed=function(){return processed},t.exports=o},902:(t,e,i)=>{function r(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}var n=i(806),o=i(551).LinkedList,a=i(551).Matrix,s=i(551).SVD;function h(){}h.handleConstraints=function(t){var e={};e.fixedNodeConstraint=t.constraints.fixedNodeConstraint,e.alignmentConstraint=t.constraints.alignmentConstraint,e.relativePlacementConstraint=t.constraints.relativePlacementConstraint;for(var i=new Map,h=new Map,l=[],d=[],c=t.getAllNodes(),g=0,u=0;u<c.length;u++){var f=c[u];null==f.getChild()&&(h.set(f.id,g++),l.push(f.getCenterX()),d.push(f.getCenterY()),i.set(f.id,f))}e.relativePlacementConstraint&&e.relativePlacementConstraint.forEach(function(t){!t.gap&&0!=t.gap&&(t.left?t.gap=n.DEFAULT_EDGE_LENGTH+i.get(t.left).getWidth()/2+i.get(t.right).getWidth()/2:t.gap=n.DEFAULT_EDGE_LENGTH+i.get(t.top).getHeight()/2+i.get(t.bottom).getHeight()/2)});var p=function(t){var e=0,i=0;return t.forEach(function(t){e+=l[h.get(t)],i+=d[h.get(t)]}),{x:e/t.size,y:i/t.size}},v=function(t,e,i,n,a){var s=new Map;t.forEach(function(t,e){s.set(e,0)}),t.forEach(function(t,e){t.forEach(function(t){s.set(t.id,s.get(t.id)+1)})});var c=new Map,g=new Map,u=new o;s.forEach(function(t,r){0==t?(u.push(r),!i&&("horizontal"==e?c.set(r,h.has(r)?l[h.get(r)]:n.get(r)):c.set(r,h.has(r)?d[h.get(r)]:n.get(r)))):c.set(r,Number.NEGATIVE_INFINITY),i&&g.set(r,new Set([r]))}),i&&a.forEach(function(t){var r=[];if(t.forEach(function(t){i.has(t)&&r.push(t)}),r.length>0){var o=0;r.forEach(function(t){"horizontal"==e?c.set(t,h.has(t)?l[h.get(t)]:n.get(t)):c.set(t,h.has(t)?d[h.get(t)]:n.get(t)),o+=c.get(t)}),o/=r.length,t.forEach(function(t){!i.has(t)&&c.set(t,o)})}else{var a=0;t.forEach(function(t){"horizontal"==e?a+=h.has(t)?l[h.get(t)]:n.get(t):a+=h.has(t)?d[h.get(t)]:n.get(t)}),a/=t.length,t.forEach(function(t){c.set(t,a)})}});for(;0!=u.length;)!function(){var r=u.shift();t.get(r).forEach(function(t){if(c.get(t.id)<c.get(r)+t.gap){if(i&&i.has(t.id)){var o=void 0;if(o="horizontal"==e?h.has(t.id)?l[h.get(t.id)]:n.get(t.id):h.has(t.id)?d[h.get(t.id)]:n.get(t.id),c.set(t.id,o),o<c.get(r)+t.gap){var a=c.get(r)+t.gap-o;g.get(r).forEach(function(t){c.set(t,c.get(t)-a)})}}else c.set(t.id,c.get(r)+t.gap)}s.set(t.id,s.get(t.id)-1),0==s.get(t.id)&&u.push(t.id),i&&g.set(t.id,function(t,e){var i=new Set(t),r=!0,n=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var h=a.value;i.add(h)}}catch(t){n=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(n)throw o}}return i}(g.get(r),g.get(t.id)))})}();if(i){var f=new Set;t.forEach(function(t,e){0==t.length&&f.add(e)});var p=[];g.forEach(function(t,e){if(f.has(e)){var n=!1,o=!0,a=!1,s=void 0;try{for(var h,l=t[Symbol.iterator]();!(o=(h=l.next()).done);o=!0){var d=h.value;i.has(d)&&(n=!0)}}catch(t){a=!0,s=t}finally{try{!o&&l.return&&l.return()}finally{if(a)throw s}}if(!n){var c=!1,g=void 0;p.forEach(function(e,i){e.has([].concat(r(t))[0])&&(c=!0,g=i)}),c?t.forEach(function(t){p[g].add(t)}):p.push(new Set(t))}}}),p.forEach(function(t,i){var r=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,g=!0,u=!1,f=void 0;try{for(var p,v=t[Symbol.iterator]();!(g=(p=v.next()).done);g=!0){var y=p.value,m=void 0;m="horizontal"==e?h.has(y)?l[h.get(y)]:n.get(y):h.has(y)?d[h.get(y)]:n.get(y);var E=c.get(y);m<r&&(r=m),m>a&&(a=m),E<o&&(o=E),E>s&&(s=E)}}catch(t){u=!0,f=t}finally{try{!g&&v.return&&v.return()}finally{if(u)throw f}}var N=(r+a)/2-(o+s)/2,T=!0,A=!1,L=void 0;try{for(var w,_=t[Symbol.iterator]();!(T=(w=_.next()).done);T=!0){var I=w.value;c.set(I,c.get(I)+N)}}catch(t){A=!0,L=t}finally{try{!T&&_.return&&_.return()}finally{if(A)throw L}}})}return c},y=function(t){var e=0,i=0,r=0,n=0;if(t.forEach(function(t){t.left?l[h.get(t.left)]-l[h.get(t.right)]>=0?e++:i++:d[h.get(t.top)]-d[h.get(t.bottom)]>=0?r++:n++}),e>i&&r>n)for(var o=0;o<h.size;o++)l[o]=-1*l[o],d[o]=-1*d[o];else if(e>i)for(var a=0;a<h.size;a++)l[a]=-1*l[a];else if(r>n)for(var s=0;s<h.size;s++)d[s]=-1*d[s]},m=function(t){var e=[],i=new o,r=new Set,n=0;return t.forEach(function(o,a){if(!r.has(a)){e[n]=[];var s=a;for(i.push(s),r.add(s),e[n].push(s);0!=i.length;)s=i.shift(),t.get(s).forEach(function(t){!r.has(t.id)&&(i.push(t.id),r.add(t.id),e[n].push(t.id))});n++}}),e},E=function(t){var e=new Map;return t.forEach(function(t,i){e.set(i,[])}),t.forEach(function(t,i){t.forEach(function(t){e.get(i).push(t),e.get(t.id).push({id:i,gap:t.gap,direction:t.direction})})}),e},N=function(t){var e=new Map;return t.forEach(function(t,i){e.set(i,[])}),t.forEach(function(t,i){t.forEach(function(t){e.get(t.id).push({id:i,gap:t.gap,direction:t.direction})})}),e},T=[],A=[],L=!1,w=!1,_=new Set,I=new Map,C=new Map,M=[];if(e.fixedNodeConstraint&&e.fixedNodeConstraint.forEach(function(t){_.add(t.nodeId)}),e.relativePlacementConstraint&&(e.relativePlacementConstraint.forEach(function(t){t.left?(I.has(t.left)?I.get(t.left).push({id:t.right,gap:t.gap,direction:"horizontal"}):I.set(t.left,[{id:t.right,gap:t.gap,direction:"horizontal"}]),!I.has(t.right)&&I.set(t.right,[])):(I.has(t.top)?I.get(t.top).push({id:t.bottom,gap:t.gap,direction:"vertical"}):I.set(t.top,[{id:t.bottom,gap:t.gap,direction:"vertical"}]),!I.has(t.bottom)&&I.set(t.bottom,[]))}),M=m(C=E(I))),n.TRANSFORM_ON_CONSTRAINT_HANDLING){if(e.fixedNodeConstraint&&e.fixedNodeConstraint.length>1)e.fixedNodeConstraint.forEach(function(t,e){T[e]=[t.position.x,t.position.y],A[e]=[l[h.get(t.nodeId)],d[h.get(t.nodeId)]]}),L=!0;else if(e.alignmentConstraint)!function(){var t=0;if(e.alignmentConstraint.vertical){for(var i=e.alignmentConstraint.vertical,n=0;n<i.length;n++)!function(e){var n=new Set;i[e].forEach(function(t){n.add(t)});var o=new Set([].concat(r(n)).filter(function(t){return _.has(t)})),a=void 0;a=o.size>0?l[h.get(o.values().next().value)]:p(n).x,i[e].forEach(function(e){T[t]=[a,d[h.get(e)]],A[t]=[l[h.get(e)],d[h.get(e)]],t++})}(n);L=!0}if(e.alignmentConstraint.horizontal){for(var o=e.alignmentConstraint.horizontal,a=0;a<o.length;a++)!function(e){var i=new Set;o[e].forEach(function(t){i.add(t)});var n=new Set([].concat(r(i)).filter(function(t){return _.has(t)})),a=void 0;a=n.size>0?l[h.get(n.values().next().value)]:p(i).y,o[e].forEach(function(e){T[t]=[l[h.get(e)],a],A[t]=[l[h.get(e)],d[h.get(e)]],t++})}(a);L=!0}e.relativePlacementConstraint&&(w=!0)}();else if(e.relativePlacementConstraint){for(var x=0,O=0,D=0;D<M.length;D++)M[D].length>x&&(x=M[D].length,O=D);if(x<C.size/2)y(e.relativePlacementConstraint),L=!1,w=!1;else{var R=new Map,b=new Map,G=[];M[O].forEach(function(t){I.get(t).forEach(function(e){"horizontal"==e.direction?(R.has(t)?R.get(t).push(e):R.set(t,[e]),!R.has(e.id)&&R.set(e.id,[]),G.push({left:t,right:e.id})):(b.has(t)?b.get(t).push(e):b.set(t,[e]),!b.has(e.id)&&b.set(e.id,[]),G.push({top:t,bottom:e.id}))})}),y(G),w=!1;var F=v(R,"horizontal"),S=v(b,"vertical");M[O].forEach(function(t,e){A[e]=[l[h.get(t)],d[h.get(t)]],T[e]=[],F.has(t)?T[e][0]=F.get(t):T[e][0]=l[h.get(t)],S.has(t)?T[e][1]=S.get(t):T[e][1]=d[h.get(t)]}),L=!0}}if(L){for(var P=void 0,U=a.transpose(T),Y=a.transpose(A),k=0;k<U.length;k++)U[k]=a.multGamma(U[k]),Y[k]=a.multGamma(Y[k]);var H=a.multMat(U,a.transpose(Y)),X=s.svd(H);P=a.multMat(X.V,a.transpose(X.U));for(var W=0;W<h.size;W++){var z=[l[W],d[W]],V=[P[0][0],P[1][0]],B=[P[0][1],P[1][1]];l[W]=a.dotProduct(z,V),d[W]=a.dotProduct(z,B)}w&&y(e.relativePlacementConstraint)}}if(n.ENFORCE_CONSTRAINTS){if(e.fixedNodeConstraint&&e.fixedNodeConstraint.length>0){var j={x:0,y:0};e.fixedNodeConstraint.forEach(function(t,e){var i,r,n={x:l[h.get(t.nodeId)],y:d[h.get(t.nodeId)]};var o=(i=t.position,r=n,{x:i.x-r.x,y:i.y-r.y});j.x+=o.x,j.y+=o.y}),j.x/=e.fixedNodeConstraint.length,j.y/=e.fixedNodeConstraint.length,l.forEach(function(t,e){l[e]+=j.x}),d.forEach(function(t,e){d[e]+=j.y}),e.fixedNodeConstraint.forEach(function(t){l[h.get(t.nodeId)]=t.position.x,d[h.get(t.nodeId)]=t.position.y})}if(e.alignmentConstraint){if(e.alignmentConstraint.vertical){for(var q=e.alignmentConstraint.vertical,$=0;$<q.length;$++)!function(t){var e=new Set;q[t].forEach(function(t){e.add(t)});var i=new Set([].concat(r(e)).filter(function(t){return _.has(t)})),n=void 0;n=i.size>0?l[h.get(i.values().next().value)]:p(e).x,e.forEach(function(t){!_.has(t)&&(l[h.get(t)]=n)})}($)}if(e.alignmentConstraint.horizontal){for(var Z=e.alignmentConstraint.horizontal,Q=0;Q<Z.length;Q++)!function(t){var e=new Set;Z[t].forEach(function(t){e.add(t)});var i=new Set([].concat(r(e)).filter(function(t){return _.has(t)})),n=void 0;n=i.size>0?d[h.get(i.values().next().value)]:p(e).y,e.forEach(function(t){!_.has(t)&&(d[h.get(t)]=n)})}(Q)}}e.relativePlacementConstraint&&!function(){var t=new Map,i=new Map,r=new Map,n=new Map,o=new Map,a=new Map,s=new Set,c=new Set;if(_.forEach(function(t){s.add(t),c.add(t)}),e.alignmentConstraint){if(e.alignmentConstraint.vertical){for(var g=e.alignmentConstraint.vertical,u=function(e){r.set("dummy"+e,[]),g[e].forEach(function(i){t.set(i,"dummy"+e),r.get("dummy"+e).push(i),_.has(i)&&s.add("dummy"+e)}),o.set("dummy"+e,l[h.get(g[e][0])])},f=0;f<g.length;f++)u(f)}if(e.alignmentConstraint.horizontal){for(var p=e.alignmentConstraint.horizontal,y=function(t){n.set("dummy"+t,[]),p[t].forEach(function(e){i.set(e,"dummy"+t),n.get("dummy"+t).push(e),_.has(e)&&c.add("dummy"+t)}),a.set("dummy"+t,d[h.get(p[t][0])])},T=0;T<p.length;T++)y(T)}}var A=new Map,L=new Map,w=function(e){I.get(e).forEach(function(r){var n=void 0,o=void 0;"horizontal"==r.direction?(n=t.get(e)?t.get(e):e,o=t.get(r.id)?{id:t.get(r.id),gap:r.gap,direction:r.direction}:r,A.has(n)?A.get(n).push(o):A.set(n,[o]),!A.has(o.id)&&A.set(o.id,[])):(n=i.get(e)?i.get(e):e,o=i.get(r.id)?{id:i.get(r.id),gap:r.gap,direction:r.direction}:r,L.has(n)?L.get(n).push(o):L.set(n,[o]),!L.has(o.id)&&L.set(o.id,[]))})},C=!0,M=!1,x=void 0;try{for(var O,D=I.keys()[Symbol.iterator]();!(C=(O=D.next()).done);C=!0){var R=O.value;w(R)}}catch(t){M=!0,x=t}finally{try{!C&&D.return&&D.return()}finally{if(M)throw x}}var b=E(A),G=E(L),F=m(b),S=m(G),P=N(A),U=N(L),Y=[],k=[];F.forEach(function(t,e){Y[e]=[],t.forEach(function(t){0==P.get(t).length&&Y[e].push(t)})}),S.forEach(function(t,e){k[e]=[],t.forEach(function(t){0==U.get(t).length&&k[e].push(t)})});var H=v(A,"horizontal",s,o,Y),X=v(L,"vertical",c,a,k),W=function(t){r.get(t)?r.get(t).forEach(function(e){l[h.get(e)]=H.get(t)}):l[h.get(t)]=H.get(t)},z=!0,V=!1,B=void 0;try{for(var j,q=H.keys()[Symbol.iterator]();!(z=(j=q.next()).done);z=!0){var $=j.value;W($)}}catch(t){V=!0,B=t}finally{try{!z&&q.return&&q.return()}finally{if(V)throw B}}var Z=function(t){n.get(t)?n.get(t).forEach(function(e){d[h.get(e)]=X.get(t)}):d[h.get(t)]=X.get(t)},Q=!0,J=!1,K=void 0;try{for(var tt,te=X.keys()[Symbol.iterator]();!(Q=(tt=te.next()).done);Q=!0){var $=tt.value;Z($)}}catch(t){J=!0,K=t}finally{try{!Q&&te.return&&te.return()}finally{if(J)throw K}}}()}for(var J=0;J<c.length;J++){var K=c[J];null==K.getChild()&&K.setCenter(l[h.get(K.id)],d[h.get(K.id)])}},t.exports=h},551:e=>{e.exports=t}},i={},function t(r){var n=i[r];if(void 0!==n)return n.exports;var o=i[r]={exports:{}};return e[r](o,o.exports,t),o.exports}(45)},t.exports=n(i(13035))},13035:function(t){var e,i;e=0,i=function(){return function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){!i.o(t,e)&&Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28)}([function(t,e,i){"use strict";function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(8),o=i(9);function a(t,e,i){r.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var s in a.prototype=Object.create(r.prototype),r)a[s]=r[s];a.prototype.getSource=function(){return this.source},a.prototype.getTarget=function(){return this.target},a.prototype.isInterGraph=function(){return this.isInterGraph},a.prototype.getLength=function(){return this.length},a.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},a.prototype.getBendpoints=function(){return this.bendpoints},a.prototype.getLca=function(){return this.lca},a.prototype.getSourceInLca=function(){return this.sourceInLca},a.prototype.getTargetInLca=function(){return this.targetInLca},a.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"},a.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),r=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==r)break;i=i.getOwner().getParent()}return null},a.prototype.updateLength=function(){var t=[,,,,];this.isOverlapingSourceAndTarget=n.getIntersection(this.target.getRect(),this.source.getRect(),t),!this.isOverlapingSourceAndTarget&&(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},a.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=a},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(13),a=i(0),s=i(16),h=i(5);function l(t,e,i,a){null==i&&null==a&&(a=e),r.call(this,a),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=n.MIN_VALUE,this.inclusionTreeDepth=n.MAX_VALUE,this.vGraphObject=a,this.edges=[],this.graphManager=t,null!=i&&null!=e?this.rect=new o(e.x,e.y,i.width,i.height):this.rect=new o}for(var d in l.prototype=Object.create(r.prototype),r)l[d]=r[d];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.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},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(r.target==t){if(r.source!=i)throw"Incorrect edge source!";e.push(r)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(!(r.source==i||r.target==i))throw"Incorrect edge source and/or target";(r.target==t||r.source==t)&&e.push(r)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child){for(var e=this.child.getNodes(),i=0;i<e.length;i++)e[i].withChildren().forEach(function(e){t.add(e)})}return t},l.prototype.getNoOfChildren=function(){var t=0;if(null==this.child)t=1;else{for(var e=this.child.getNodes(),i=0;i<e.length;i++)t+=e[i].getNoOfChildren()}return 0==t&&(t=1),t},l.prototype.getEstimatedSize=function(){if(this.estimatedSize==n.MIN_VALUE)throw"assert failed";return this.estimatedSize},l.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)},l.prototype.scatter=function(){var t,e,i=-a.INITIAL_WORLD_BOUNDARY,r=a.INITIAL_WORLD_BOUNDARY;t=a.WORLD_CENTER_X+s.nextDouble()*(r-i)+i;var n=-a.INITIAL_WORLD_BOUNDARY,o=a.INITIAL_WORLD_BOUNDARY;e=a.WORLD_CENTER_Y+s.nextDouble()*(o-n)+n,this.rect.x=t,this.rect.y=e},l.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()),a.NODE_DIMENSIONS_INCLUDE_LABELS){var e=t.getRight()-t.getLeft(),i=t.getBottom()-t.getTop();this.labelWidth&&("left"==this.labelPosHorizontal?(this.rect.x-=this.labelWidth,this.setWidth(e+this.labelWidth)):"center"==this.labelPosHorizontal&&this.labelWidth>e?(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)):"right"==this.labelPosHorizontal&&this.setWidth(e+this.labelWidth)),this.labelHeight&&("top"==this.labelPosVertical?(this.rect.y-=this.labelHeight,this.setHeight(i+this.labelHeight)):"center"==this.labelPosVertical&&this.labelHeight>i?(this.rect.y-=(this.labelHeight-i)/2,this.setHeight(this.labelHeight)):"bottom"==this.labelPosVertical&&this.setHeight(i+this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==n.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>a.WORLD_BOUNDARY?e=a.WORLD_BOUNDARY:e<-a.WORLD_BOUNDARY&&(e=-a.WORLD_BOUNDARY);var i=this.rect.y;i>a.WORLD_BOUNDARY?i=a.WORLD_BOUNDARY:i<-a.WORLD_BOUNDARY&&(i=-a.WORLD_BOUNDARY);var r=new h(e,i),n=t.inverseTransformPoint(r);this.setLocation(n.x,n.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";var r=i(0);function n(){}for(var o in r)n[o]=r[o];n.MAX_ITERATIONS=2500,n.DEFAULT_EDGE_LENGTH=50,n.DEFAULT_SPRING_STRENGTH=.45,n.DEFAULT_REPULSION_STRENGTH=4500,n.DEFAULT_GRAVITY_STRENGTH=.4,n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,n.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,n.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,n.COOLING_ADAPTATION_FACTOR=.33,n.ADAPTATION_LOWER_NODE_LIMIT=1e3,n.ADAPTATION_UPPER_NODE_LIMIT=5e3,n.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,n.MAX_NODE_DISPLACEMENT=3*n.MAX_NODE_DISPLACEMENT_INCREMENTAL,n.MIN_REPULSION_DIST=n.DEFAULT_EDGE_LENGTH/10,n.CONVERGENCE_CHECK_PERIOD=100,n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,n.MIN_EDGE_LENGTH=1,n.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=n},function(t,e,i){"use strict";function r(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(0),a=i(7),s=i(3),h=i(1),l=i(13),d=i(12),c=i(11);function g(t,e,i){r.call(this,i),this.estimatedSize=n.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof a?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var u in g.prototype=Object.create(r.prototype),r)g[u]=r[u];g.prototype.getNodes=function(){return this.nodes},g.prototype.getEdges=function(){return this.edges},g.prototype.getGraphManager=function(){return this.graphManager},g.prototype.getParent=function(){return this.parent},g.prototype.getLeft=function(){return this.left},g.prototype.getRight=function(){return this.right},g.prototype.getTop=function(){return this.top},g.prototype.getBottom=function(){return this.bottom},g.prototype.isConnected=function(){return this.isConnected},g.prototype.add=function(t,e,i){if(null==e&&null==i){if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(t)>-1)throw"Node already in graph!";return t.owner=this,this.getNodes().push(t),t}if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(!(e.owner==i.owner&&e.owner==this))throw"Both owners must be this graph!";return e.owner!=i.owner?null:(t.source=e,t.target=i,t.isInterGraph=!1,this.getEdges().push(t),e.edges.push(t),i!=e&&i.edges.push(t),t)},g.prototype.remove=function(t){if(t instanceof s){if(null==t)throw"Node is null!";if(!(null!=t.owner&&t.owner==this))throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var e,i=t.edges.slice(),r=i.length,n=0;n<r;n++)(e=i[n]).isInterGraph?this.graphManager.remove(e):e.source.owner.remove(e);var o=this.nodes.indexOf(t);if(-1==o)throw"Node not in owner node list!";this.nodes.splice(o,1)}else if(t instanceof h){var e=t;if(null==e)throw"Edge is null!";if(!(null!=e.source&&null!=e.target))throw"Source and/or target is null!";if(!(null!=e.source.owner&&null!=e.target.owner&&e.source.owner==this&&e.target.owner==this))throw"Source and/or target owner is invalid!";var a=e.source.edges.indexOf(e),l=e.target.edges.indexOf(e);if(!(a>-1&&l>-1))throw"Source and/or target doesn't know this edge!";e.source.edges.splice(a,1),e.target!=e.source&&e.target.edges.splice(l,1);var o=e.source.owner.getEdges().indexOf(e);if(-1==o)throw"Not in owner's edge list!";e.source.owner.getEdges().splice(o,1)}},g.prototype.updateLeftTop=function(){for(var t,e,i,r=n.MAX_VALUE,o=n.MAX_VALUE,a=this.getNodes(),s=a.length,h=0;h<s;h++){var l=a[h];t=l.getTop(),e=l.getLeft(),r>t&&(r=t),o>e&&(o=e)}return r==n.MAX_VALUE?null:(i=void 0!=a[0].getParent().paddingLeft?a[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=r-i,new d(this.left,this.top))},g.prototype.updateBounds=function(t){for(var e,i,r,o,a,s=n.MAX_VALUE,h=-n.MAX_VALUE,d=n.MAX_VALUE,c=-n.MAX_VALUE,g=this.nodes,u=g.length,f=0;f<u;f++){var p=g[f];t&&null!=p.child&&p.updateBounds(),e=p.getLeft(),i=p.getRight(),r=p.getTop(),o=p.getBottom(),s>e&&(s=e),h<i&&(h=i),d>r&&(d=r),c<o&&(c=o)}var v=new l(s,d,h-s,c-d);s==n.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),a=void 0!=g[0].getParent().paddingLeft?g[0].getParent().paddingLeft:this.margin,this.left=v.x-a,this.right=v.x+v.width+a,this.top=v.y-a,this.bottom=v.y+v.height+a},g.calculateBounds=function(t){for(var e,i,r,o,a=n.MAX_VALUE,s=-n.MAX_VALUE,h=n.MAX_VALUE,d=-n.MAX_VALUE,c=t.length,g=0;g<c;g++){var u=t[g];e=u.getLeft(),i=u.getRight(),r=u.getTop(),o=u.getBottom(),a>e&&(a=e),s<i&&(s=i),h>r&&(h=r),d<o&&(d=o)}return new l(a,h,s-a,d-h)},g.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},g.prototype.getEstimatedSize=function(){if(this.estimatedSize==n.MIN_VALUE)throw"assert failed";return this.estimatedSize},g.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,i=e.length,r=0;r<i;r++)t+=e[r].calcEstimatedSize();return 0==t?this.estimatedSize=o.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=t/Math.sqrt(this.nodes.length),this.estimatedSize},g.prototype.updateConnected=function(){var t,e,i=this;if(0==this.nodes.length){this.isConnected=!0;return}var r=new c,n=new Set,o=this.nodes[0];for(o.withChildren().forEach(function(t){r.push(t),n.add(t)});0!==r.length;){for(var a=(t=(o=r.shift()).getEdges()).length,s=0;s<a;s++)null!=(e=t[s].getOtherEndInGraph(o,this))&&!n.has(e)&&e.withChildren().forEach(function(t){r.push(t),n.add(t)})}if(this.isConnected=!1,n.size>=this.nodes.length){var h=0;n.forEach(function(t){t.owner==i&&h++}),h==this.nodes.length&&(this.isConnected=!0)}},t.exports=g},function(t,e,i){"use strict";var r,n=i(1);function o(t){r=i(6),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,r,n){if(null==i&&null==r&&null==n){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}n=i,r=e,i=t;var o=r.getOwner(),a=n.getOwner();if(!(null!=o&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(null!=a&&a.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==a)return i.isInterGraph=!1,o.add(i,r,n);if(i.isInterGraph=!0,i.source=r,i.target=n,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),!(null!=i.source&&null!=i.target))throw"Edge source and/or target is null!";if(!(-1==i.source.edges.indexOf(i)&&-1==i.target.edges.indexOf(i)))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof r){if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||null!=t.parent&&t.parent.graphManager==this))throw"Invalid parent node!";for(var e,i,o=[],a=(o=o.concat(t.getEdges())).length,s=0;s<a;s++)e=o[s],t.remove(e);var h=[];a=(h=h.concat(t.getNodes())).length;for(var s=0;s<a;s++)i=h[s],t.remove(i);t==this.rootGraph&&this.setRootGraph(null);var l=this.graphs.indexOf(t);this.graphs.splice(l,1),t.parent=null}else if(t instanceof n){if(null==(e=t))throw"Edge is null!";if(!e.isInterGraph)throw"Not an inter-graph edge!";if(!(null!=e.source&&null!=e.target))throw"Source and/or target is null!";if(!(-1!=e.source.edges.indexOf(e)&&-1!=e.target.edges.indexOf(e)))throw"Source and/or target doesn't know this edge!";var l=e.source.edges.indexOf(e);if(e.source.edges.splice(l,1),l=e.target.edges.indexOf(e),e.target.edges.splice(l,1),!(null!=e.source.owner&&null!=e.source.owner.getGraphManager()))throw"Edge owner graph or owner graph manager is null!";if(-1==e.source.owner.getGraphManager().edges.indexOf(e))throw"Not in owner graph manager's edge list!";var l=e.source.owner.getGraphManager().edges.indexOf(e);e.source.owner.getGraphManager().edges.splice(l,1)}},o.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},o.prototype.getGraphs=function(){return this.graphs},o.prototype.getAllNodes=function(){if(null==this.allNodes){for(var t=[],e=this.getGraphs(),i=e.length,r=0;r<i;r++)t=t.concat(e[r].getNodes());this.allNodes=t}return this.allNodes},o.prototype.resetAllNodes=function(){this.allNodes=null},o.prototype.resetAllEdges=function(){this.allEdges=null},o.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},o.prototype.getAllEdges=function(){if(null==this.allEdges){var t=[],e=this.getGraphs();e.length;for(var i=0;i<e.length;i++)t=t.concat(e[i].getEdges());t=t.concat(this.edges),this.allEdges=t}return this.allEdges},o.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},o.prototype.setAllNodesToApplyGravitation=function(t){if(null!=this.allNodesToApplyGravitation)throw"assert failed";this.allNodesToApplyGravitation=t},o.prototype.getRoot=function(){return this.rootGraph},o.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"))},o.prototype.getLayout=function(){return this.layout},o.prototype.isOneAncestorOfOther=function(t,e){if(!(null!=t&&null!=e))throw"assert failed";if(t==e)return!0;for(var i,r=t.getOwner();null!=(i=r.getParent());){;if(i==e)return!0;if(null==(r=i.getOwner()))break}for(r=e.getOwner();null!=(i=r.getParent());){;if(i==t)return!0;if(null==(r=i.getOwner()))break}return!1},o.prototype.calcLowestCommonAncestors=function(){for(var t,e,i,r,n,o=this.getAllEdges(),a=o.length,s=0;s<a;s++){if(e=(t=o[s]).source,i=t.target,t.lca=null,t.sourceInLca=e,t.targetInLca=i,e==i){t.lca=e.getOwner();continue}for(r=e.getOwner();null==t.lca;){for(t.targetInLca=i,n=i.getOwner();null==t.lca;){if(n==r){t.lca=n;break}if(n==this.rootGraph)break;if(null!=t.lca)throw"assert failed";t.targetInLca=n.getParent(),n=t.targetInLca.getOwner()}if(r==this.rootGraph)break;null==t.lca&&(t.sourceInLca=r.getParent(),r=t.sourceInLca.getOwner())}if(null==t.lca)throw"assert failed"}},o.prototype.calcLowestCommonAncestor=function(t,e){if(t==e)return t.getOwner();for(var i=t.getOwner();null!=i;){;for(var r=e.getOwner();null!=r;){;if(r==i)return r;r=r.getParent().getOwner()}i=i.getParent().getOwner()}return i},o.prototype.calcInclusionTreeDepths=function(t,e){null==t&&null==e&&(t=this.rootGraph,e=1);for(var i,r=t.getNodes(),n=r.length,o=0;o<n;o++)(i=r[o]).inclusionTreeDepth=e,null!=i.child&&this.calcInclusionTreeDepths(i.child,e+1)},o.prototype.includesInvalidEdge=function(){for(var t,e=[],i=this.edges.length,r=0;r<i;r++)t=this.edges[r],this.isOneAncestorOfOther(t.source,t.target)&&e.push(t);for(var r=0;r<e.length;r++)this.remove(e[r]);return!1},t.exports=o},function(t,e,i){"use strict";var r=i(12);function n(){}n.calcSeparationAmount=function(t,e,i,r){if(!t.intersects(e))throw"assert failed";var n=[,,];this.decideDirectionsForOverlappingNodes(t,e,n),i[0]=Math.min(t.getRight(),e.getRight())-Math.max(t.x,e.x),i[1]=Math.min(t.getBottom(),e.getBottom())-Math.max(t.y,e.y),t.getX()<=e.getX()&&t.getRight()>=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var a=o*i[0],s=i[1]/o;i[0]<s?s=i[0]:a=i[1],i[0]=-1*n[0]*(s/2+r),i[1]=-1*n[1]*(a/2+r)},n.decideDirectionsForOverlappingNodes=function(t,e,i){t.getCenterX()<e.getCenterX()?i[0]=-1:i[0]=1,t.getCenterY()<e.getCenterY()?i[1]=-1:i[1]=1},n.getIntersection2=function(t,e,i){var r=t.getCenterX(),n=t.getCenterY(),o=e.getCenterX(),a=e.getCenterY();if(t.intersects(e))return i[0]=r,i[1]=n,i[2]=o,i[3]=a,!0;var s=t.getX(),h=t.getY(),l=t.getRight(),d=t.getX(),c=t.getBottom(),g=t.getRight(),u=t.getWidthHalf(),f=t.getHeightHalf(),p=e.getX(),v=e.getY(),y=e.getRight(),m=e.getX(),E=e.getBottom(),N=e.getRight(),T=e.getWidthHalf(),A=e.getHeightHalf(),L=!1,w=!1;if(r===o)n>a?(i[0]=r,i[1]=h,i[2]=o,i[3]=E):n<a&&(i[0]=r,i[1]=c,i[2]=o,i[3]=v);else if(n===a)r>o?(i[0]=s,i[1]=n,i[2]=y,i[3]=a):r<o&&(i[0]=l,i[1]=n,i[2]=p,i[3]=a);else{var _=t.height/t.width,I=e.height/e.width,C=(a-n)/(o-r),M=void 0,x=void 0,O=void 0,D=void 0,R=void 0,b=void 0;if(-_===C?(r>o?(i[0]=d,i[1]=c):(i[0]=l,i[1]=h),L=!0):_===C&&(r>o?(i[0]=s,i[1]=h):(i[0]=g,i[1]=c),L=!0),-I===C?(o>r?(i[2]=m,i[3]=E):(i[2]=y,i[3]=v),w=!0):I===C&&(o>r?(i[2]=p,i[3]=v):(i[2]=N,i[3]=E),w=!0),L&&w)return!1;if(r>o?n>a?(M=this.getCardinalDirection(_,C,4),x=this.getCardinalDirection(I,C,2)):(M=this.getCardinalDirection(-_,C,3),x=this.getCardinalDirection(-I,C,1)):n>a?(M=this.getCardinalDirection(-_,C,1),x=this.getCardinalDirection(-I,C,3)):(M=this.getCardinalDirection(_,C,2),x=this.getCardinalDirection(I,C,4)),!L)switch(M){case 1:D=h,O=r+-f/C,i[0]=O,i[1]=D;break;case 2:O=g,D=n+u*C,i[0]=O,i[1]=D;break;case 3:D=c,O=r+f/C,i[0]=O,i[1]=D;break;case 4:O=d,D=n+-u*C,i[0]=O,i[1]=D}if(!w)switch(x){case 1:b=v,R=o+-A/C,i[2]=R,i[3]=b;break;case 2:R=N,b=a+T*C,i[2]=R,i[3]=b;break;case 3:b=E,R=o+A/C,i[2]=R,i[3]=b;break;case 4:R=m,b=a+-T*C,i[2]=R,i[3]=b}}return!1},n.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},n.getIntersection=function(t,e,i,n){if(null==n)return this.getIntersection2(t,e,i);var o=t.x,a=t.y,s=e.x,h=e.y,l=i.x,d=i.y,c=n.x,g=n.y,u=void 0,f=void 0,p=void 0,v=void 0,y=void 0,m=void 0,E=void 0,N=void 0,T=void 0;return(p=h-a,y=o-s,E=s*a-o*h,v=g-d,m=l-c,N=c*d-l*g,0==(T=p*m-v*y))?null:new r(u=(y*N-m*E)/T,f=(v*E-p*N)/T)},n.angleOfVector=function(t,e,i,r){var n=void 0;return t!==i?(n=Math.atan((r-e)/(i-t)),i<t?n+=Math.PI:r<e&&(n+=this.TWO_PI)):n=r<e?this.ONE_AND_HALF_PI:this.HALF_PI,n},n.doIntersect=function(t,e,i,r){var n=t.x,o=t.y,a=e.x,s=e.y,h=i.x,l=i.y,d=r.x,c=r.y,g=(a-n)*(c-l)-(d-h)*(s-o);if(0===g)return!1;var u=((c-l)*(d-n)+(h-d)*(c-o))/g,f=((o-s)*(d-n)+(a-n)*(c-o))/g;return 0<u&&u<1&&0<f&&f<1},n.findCircleLineIntersections=function(t,e,i,r,n,o,a){var s=(i-t)*(i-t)+(r-e)*(r-e),h=2*((t-n)*(i-t)+(e-o)*(r-e)),l=(t-n)*(t-n)+(e-o)*(e-o)-a*a;if(!(h*h-4*s*l>=0))return null;var d=(-h+Math.sqrt(h*h-4*s*l))/(2*s),c=(-h-Math.sqrt(h*h-4*s*l))/(2*s);return d>=0&&d<=1?[d]:c>=0&&c<=1?[c]:null},n.HALF_PI=.5*Math.PI,n.ONE_AND_HALF_PI=1.5*Math.PI,n.TWO_PI=2*Math.PI,n.THREE_PI=3*Math.PI,t.exports=n},function(t,e,i){"use strict";function r(){}r.sign=function(t){return t>0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=r},function(t,e,i){"use strict";function r(){}r.MAX_VALUE=0x7fffffff,r.MIN_VALUE=-0x80000000,t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=function(t){return{value:t,next:null,prev:null}},o=function(t,e,i,r){return null!==t?t.next=e:r.head=e,null!==i?i.prev=e:r.tail=e,e.prev=t,e.next=i,r.length++,e},a=function(t,e){var i=t.prev,r=t.next;return null!==i?i.next=r:e.head=r,null!==r?r.prev=i:e.tail=i,t.prev=t.next=null,e.length--,t},s=function(){function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.length=0,this.head=null,this.tail=null,null!=e&&e.forEach(function(t){return i.push(t)})}return r(t,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,e){return o(e.prev,n(t),e,this)}},{key:"insertAfter",value:function(t,e){return o(e,n(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,n(t),null,this)}},{key:"unshift",value:function(t){return o(null,n(t),this.head,this)}},{key:"remove",value:function(t){return a(t,this)}},{key:"pop",value:function(){return a(this.tail,this).value}},{key:"popNode",value:function(){return a(this.tail,this)}},{key:"shift",value:function(){return a(this.head,this).value}},{key:"shiftNode",value:function(){return a(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var e=1,i=this.head;e<t;)i=i.next,e++;return i.value}}},{key:"set_object_at",value:function(t,e){if(t<=this.length()){for(var i=1,r=this.head;i<t;)r=r.next,i++;r.value=e}}}]),t}();t.exports=s},function(t,e,i){"use strict";function r(t,e,i){this.x=null,this.y=null,null==t&&null==e&&null==i?(this.x=0,this.y=0):"number"==typeof t&&"number"==typeof e&&null==i?(this.x=t,this.y=e):"Point"==t.constructor.name&&null==e&&null==i&&(i=t,this.x=i.x,this.y=i.y)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.getLocation=function(){return new r(this.x,this.y)},r.prototype.setLocation=function(t,e,i){"Point"==t.constructor.name&&null==e&&null==i?(i=t,this.setLocation(i.x,i.y)):"number"==typeof t&&"number"==typeof e&&null==i&&(parseInt(t)==t&&parseInt(e)==e?this.move(t,e):(this.x=Math.floor(t+.5),this.y=Math.floor(e+.5)))},r.prototype.move=function(t,e){this.x=t,this.y=e},r.prototype.translate=function(t,e){this.x+=t,this.y+=e},r.prototype.equals=function(t){return"Point"==t.constructor.name?this.x==t.x&&this.y==t.y:this==t},r.prototype.toString=function(){return new r().constructor.name+"[x="+this.x+",y="+this.y+"]"},t.exports=r},function(t,e,i){"use strict";function r(t,e,i,r){this.x=0,this.y=0,this.width=0,this.height=0,null!=t&&null!=e&&null!=i&&null!=r&&(this.x=t,this.y=e,this.width=i,this.height=r)}r.prototype.getX=function(){return this.x},r.prototype.setX=function(t){this.x=t},r.prototype.getY=function(){return this.y},r.prototype.setY=function(t){this.y=t},r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},r.prototype.getRight=function(){return this.x+this.width},r.prototype.getBottom=function(){return this.y+this.height},r.prototype.intersects=function(t){return!(this.getRight()<t.x||this.getBottom()<t.y||t.getRight()<this.x||t.getBottom()<this.y)&&!0},r.prototype.getCenterX=function(){return this.x+this.width/2},r.prototype.getMinX=function(){return this.getX()},r.prototype.getMaxX=function(){return this.getX()+this.width},r.prototype.getCenterY=function(){return this.y+this.height/2},r.prototype.getMinY=function(){return this.getY()},r.prototype.getMaxY=function(){return this.getY()+this.height},r.prototype.getWidthHalf=function(){return this.width/2},r.prototype.getHeightHalf=function(){return this.height/2},t.exports=r},function(t,e,i){"use strict";var r="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 n(){}n.lastID=0,n.createID=function(t){return n.isPrimitive(t)?t:null!=t.uniqueID?t.uniqueID:(t.uniqueID=n.getString(),n.lastID++,t.uniqueID)},n.getString=function(t){return null==t&&(t=n.lastID),"Object#"+t},n.isPrimitive=function(t){var e=void 0===t?"undefined":r(t);return null==t||"object"!=e&&"function"!=e},t.exports=n},function(t,e,i){"use strict";function r(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}var n=i(0),o=i(7),a=i(3),s=i(1),h=i(6),l=i(5),d=i(17),c=i(29);function g(t){c.call(this),this.layoutQuality=n.QUALITY,this.createBendsAsNeeded=n.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=n.DEFAULT_INCREMENTAL,this.animationOnLayout=n.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=n.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=n.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=n.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new o(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=t&&(this.isRemoteUse=t)}g.RANDOM_SEED=1,g.prototype=Object.create(c.prototype),g.prototype.getGraphManager=function(){return this.graphManager},g.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},g.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},g.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},g.prototype.newGraphManager=function(){var t=new o(this);return this.graphManager=t,t},g.prototype.newGraph=function(t){return new h(null,this.graphManager,t)},g.prototype.newNode=function(t){return new a(this.graphManager,t)},g.prototype.newEdge=function(t){return new s(null,null,t)},g.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},g.prototype.runLayout=function(){var t;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),t=!this.checkLayoutSuccess()&&this.layout(),"during"!==n.ANIMATE&&(t&&!this.isSubLayout&&this.doPostLayout(),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,t)},g.prototype.doPostLayout=function(){!this.incremental&&this.transform(),this.update()},g.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var t,e,i=this.graphManager.getAllEdges(),r=0;r<i.length;r++)i[r];for(var n=this.graphManager.getRoot().getNodes(),r=0;r<n.length;r++)n[r];this.update(this.graphManager.getRoot())}},g.prototype.update=function(t){if(null==t)this.update2();else if(t instanceof a){if(null!=t.getChild()){for(var e=t.getChild().getNodes(),i=0;i<e.length;i++)update(e[i])}null!=t.vGraphObject&&t.vGraphObject.update(t)}else t instanceof s?null!=t.vGraphObject&&t.vGraphObject.update(t):t instanceof h&&null!=t.vGraphObject&&t.vGraphObject.update(t)},g.prototype.initParameters=function(){!this.isSubLayout&&(this.layoutQuality=n.QUALITY,this.animationDuringLayout=n.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=n.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=n.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=n.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=n.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=n.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},g.prototype.transform=function(t){if(void 0==t)this.transform(new l(0,0));else{var e=new d,i=this.graphManager.getRoot().updateLeftTop();if(null!=i){e.setWorldOrgX(t.x),e.setWorldOrgY(t.y),e.setDeviceOrgX(i.x),e.setDeviceOrgY(i.y);for(var r=this.getAllNodes(),n=0;n<r.length;n++)r[n].transform(e)}}},g.prototype.positionNodesRandomly=function(t){if(void 0==t)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else{for(var e,i,r=t.getNodes(),n=0;n<r.length;n++)null==(i=(e=r[n]).getChild())?e.scatter():0==i.getNodes().length?e.scatter():(this.positionNodesRandomly(i),e.updateBounds())}},g.prototype.getFlatForest=function(){for(var t=[],e=!0,i=this.graphManager.getRoot().getNodes(),n=!0,o=0;o<i.length;o++)null!=i[o].getChild()&&(n=!1);if(!n)return t;var a=new Set,s=[],h=new Map,l=[];for(l=l.concat(i);l.length>0&&e;){for(s.push(l[0]);s.length>0&&e;){var d=s[0];s.splice(0,1),a.add(d);for(var c=d.getEdges(),o=0;o<c.length;o++){var g=c[o].getOtherEnd(d);if(h.get(d)!=g){if(a.has(g)){e=!1;break}s.push(g),h.set(g,d)}}}if(e){var u=[].concat(r(a));t.push(u);for(var o=0;o<u.length;o++){var f=u[o],p=l.indexOf(f);p>-1&&l.splice(p,1)}a=new Set,h=new Map}else t=[]}return t},g.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,r=this.graphManager.calcLowestCommonAncestor(t.source,t.target),n=0;n<t.bendpoints.length;n++){var o=this.newNode(null);o.setRect(new Point(0,0),new Dimension(1,1)),r.add(o);var a=this.newEdge(null);this.graphManager.add(a,i,o),e.add(o),i=o}var a=this.newEdge(null);return this.graphManager.add(a,i,t.target),this.edgeToDummyNodes.set(t,e),t.isInterGraph()?this.graphManager.remove(t):r.remove(t),e},g.prototype.createBendpointsFromDummyNodes=function(){var t=[];t=t.concat(this.graphManager.getAllEdges()),t=[].concat(r(this.edgeToDummyNodes.keys())).concat(t);for(var e=0;e<t.length;e++){var i=t[e];if(i.bendpoints.length>0){for(var n=this.edgeToDummyNodes.get(i),o=0;o<n.length;o++){var a=n[o],s=new l(a.getCenterX(),a.getCenterY()),h=i.bendpoints.get(o);h.x=s.x,h.y=s.y,a.getOwner().remove(a)}this.graphManager.add(i,i.source,i.target)}}},g.transform=function(t,e,i,r){if(void 0==i||void 0==r)return t<=50?(n=9*e/500,o=e/10):(n=9*e/50,o=-8*e),n*t+o;var n,o,a=e;return t<=50?a-=(e-e/i)/50*(50-t):a+=(e*r-e)/50*(t-50),a},g.findCenterOfTree=function(t){var e=[];e=e.concat(t);var i=[],r=new Map,n=!1,o=null;(1==e.length||2==e.length)&&(n=!0,o=e[0]);for(var a=0;a<e.length;a++){var s=e[a],h=s.getNeighborsList().size;r.set(s,s.getNeighborsList().size),1==h&&i.push(s)}var l=[];for(l=l.concat(i);!n;){var d=[];d=d.concat(l),l=[];for(var a=0;a<e.length;a++){var s=e[a],c=e.indexOf(s);c>=0&&e.splice(c,1),s.getNeighborsList().forEach(function(t){if(0>i.indexOf(t)){var e=r.get(t)-1;1==e&&l.push(t),r.set(t,e)}})}i=i.concat(l),(1==e.length||2==e.length)&&(n=!0,o=e[0])}return o},g.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=g},function(t,e,i){"use strict";function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},t.exports=r},function(t,e,i){"use strict";var r=i(5);function n(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}n.prototype.getWorldOrgX=function(){return this.lworldOrgX},n.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},n.prototype.getWorldOrgY=function(){return this.lworldOrgY},n.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},n.prototype.getWorldExtX=function(){return this.lworldExtX},n.prototype.setWorldExtX=function(t){this.lworldExtX=t},n.prototype.getWorldExtY=function(){return this.lworldExtY},n.prototype.setWorldExtY=function(t){this.lworldExtY=t},n.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},n.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},n.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},n.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},n.prototype.getDeviceExtX=function(){return this.ldeviceExtX},n.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},n.prototype.getDeviceExtY=function(){return this.ldeviceExtY},n.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},n.prototype.transformX=function(t){var e=0,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},n.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},n.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},n.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},n.prototype.inverseTransformPoint=function(t){return new r(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=n},function(t,e,i){"use strict";var r=i(15),n=i(4),o=i(0),a=i(8),s=i(9);function h(){r.call(this),this.useSmartIdealEdgeLengthCalculation=n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=n.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=n.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=n.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=n.MAX_ITERATIONS}for(var l in h.prototype=Object.create(r.prototype),r)h[l]=r[l];h.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,r,a,s,h,l=this.getGraphManager().getAllEdges(),d=0;d<l.length;d++)e=(t=l[d]).idealLength,t.isInterGraph&&(r=t.getSource(),a=t.getTarget(),s=t.getSourceInLca().getEstimatedSize(),h=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=s+h-2*o.SIMPLE_NODE_SIZE),i=t.getLca().getInclusionTreeDepth(),t.idealLength+=e*n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(r.getInclusionTreeDepth()+a.getInclusionTreeDepth()-2*i))},h.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>n.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*n.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-n.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>n.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(n.COOLING_ADAPTATION_FACTOR,1-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*(1-n.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i<e.length;i++)t=e[i],this.calcSpringForce(t,t.idealLength)},h.prototype.calcRepulsionForces=function(){var t,e,i,r,o,a=!(arguments.length>0)||void 0===arguments[0]||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&a&&this.updateGrid(),o=new Set,t=0;t<h.length;t++)i=h[t],this.calculateRepulsionForceOfANode(i,o,a,s),o.add(i);else for(t=0;t<h.length;t++)for(i=h[t],e=t+1;e<h.length;e++){if(r=h[e],i.getOwner()==r.getOwner())this.calcRepulsionForce(i,r)}},h.prototype.calcGravitationalForces=function(){for(var t,e=this.getAllNodesToApplyGravitation(),i=0;i<e.length;i++)t=e[i],this.calcGravitationalForce(t)},h.prototype.moveNodes=function(){for(var t=this.getAllNodes(),e=0;e<t.length;e++)t[e].move()},h.prototype.calcSpringForce=function(t,e){var i,r,n,o,a=t.getSource(),s=t.getTarget();if(this.uniformLeafNodeSizes&&null==a.getChild()&&null==s.getChild())t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;0!=(i=t.getLength())&&(n=(r=t.edgeElasticity*(i-e))*(t.lengthX/i),o=r*(t.lengthY/i),a.springForceX+=n,a.springForceY+=o,s.springForceX-=n,s.springForceY-=o)},h.prototype.calcRepulsionForce=function(t,e){var i,r,o,h,l,d,c,g=t.getRect(),u=e.getRect(),f=[,,],p=[,,,,];if(g.intersects(u)){a.calcSeparationAmount(g,u,f,n.DEFAULT_EDGE_LENGTH/2),d=2*f[0],c=2*f[1];var v=t.noOfChildren*e.noOfChildren/(t.noOfChildren+e.noOfChildren);t.repulsionForceX-=v*d,t.repulsionForceY-=v*c,e.repulsionForceX+=v*d,e.repulsionForceY+=v*c}else this.uniformLeafNodeSizes&&null==t.getChild()&&null==e.getChild()?(i=u.getCenterX()-g.getCenterX(),r=u.getCenterY()-g.getCenterY()):(a.getIntersection(g,u,p),i=p[2]-p[0],r=p[3]-p[1]),Math.abs(i)<n.MIN_REPULSION_DIST&&(i=s.sign(i)*n.MIN_REPULSION_DIST),Math.abs(r)<n.MIN_REPULSION_DIST&&(r=s.sign(r)*n.MIN_REPULSION_DIST),h=Math.sqrt(o=i*i+r*r),d=(l=(t.nodeRepulsion/2+e.nodeRepulsion/2)*t.noOfChildren*e.noOfChildren/o)*i/h,c=l*r/h,t.repulsionForceX-=d,t.repulsionForceY-=c,e.repulsionForceX+=d,e.repulsionForceY+=c},h.prototype.calcGravitationalForce=function(t){var e,i,r,n,o,a,s,h;i=((e=t.getOwner()).getRight()+e.getLeft())/2,r=(e.getTop()+e.getBottom())/2,n=t.getCenterX()-i,o=t.getCenterY()-r,a=Math.abs(n)+t.getWidth()/2,s=Math.abs(o)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(a>(h=e.getEstimatedSize()*this.gravityRangeFactor)||s>h)&&(t.gravitationForceX=-this.gravityConstant*n,t.gravitationForceY=-this.gravityConstant*o):(a>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||s>h)&&(t.gravitationForceX=-this.gravityConstant*n*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=2>Math.abs(this.totalDisplacement-this.oldTotalDisplacement)),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||e},h.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},h.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,e=this.graphManager.getAllNodes(),i=0;i<e.length;i++)(t=e[i]).noOfChildren=t.getNoOfChildren()},h.prototype.calcGrid=function(t){var e=0,i=0;e=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),i=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var r=Array(e),n=0;n<e;n++)r[n]=Array(i);for(var n=0;n<e;n++)for(var o=0;o<i;o++)r[n][o]=[];return r},h.prototype.addNodeToGrid=function(t,e,i){var r=0,n=0,o=0,a=0;r=parseInt(Math.floor((t.getRect().x-e)/this.repulsionRange)),n=parseInt(Math.floor((t.getRect().width+t.getRect().x-e)/this.repulsionRange)),o=parseInt(Math.floor((t.getRect().y-i)/this.repulsionRange)),a=parseInt(Math.floor((t.getRect().height+t.getRect().y-i)/this.repulsionRange));for(var s=r;s<=n;s++)for(var h=o;h<=a;h++)this.grid[s][h].push(t),t.setGridCoordinates(r,n,o,a)},h.prototype.updateGrid=function(){var t,e,i=this.getAllNodes();for(t=0,this.grid=this.calcGrid(this.graphManager.getRoot());t<i.length;t++)e=i[t],this.addNodeToGrid(e,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},h.prototype.calculateRepulsionForceOfANode=function(t,e,i,r){if(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&i||r){var o,a=new Set;t.surrounding=[];for(var s=this.grid,h=t.startX-1;h<t.finishX+2;h++)for(var l=t.startY-1;l<t.finishY+2;l++)if(!(h<0||l<0||h>=s.length||l>=s[0].length))for(var d=0;d<s[h][l].length;d++){if(o=s[h][l][d],t.getOwner()==o.getOwner()&&t!=o){if(!e.has(o)&&!a.has(o)){var c=Math.abs(t.getCenterX()-o.getCenterX())-(t.getWidth()/2+o.getWidth()/2),g=Math.abs(t.getCenterY()-o.getCenterY())-(t.getHeight()/2+o.getHeight()/2);c<=this.repulsionRange&&g<=this.repulsionRange&&a.add(o)}}}t.surrounding=[].concat(function(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}(a))}for(h=0;h<t.surrounding.length;h++)this.calcRepulsionForce(t,t.surrounding[h])},h.prototype.calcRepulsionRange=function(){return 0},t.exports=h},function(t,e,i){"use strict";var r=i(1),n=i(4);function o(t,e,i){r.call(this,t,e,i),this.idealLength=n.DEFAULT_EDGE_LENGTH,this.edgeElasticity=n.DEFAULT_SPRING_STRENGTH}for(var a in o.prototype=Object.create(r.prototype),r)o[a]=r[a];t.exports=o},function(t,e,i){"use strict";var r=i(3),n=i(4);function o(t,e,i,o){r.call(this,t,e,i,o),this.nodeRepulsion=n.DEFAULT_REPULSION_STRENGTH,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 o.prototype=Object.create(r.prototype),r)o[a]=r[a];o.prototype.setGridCoordinates=function(t,e,i,r){this.startX=t,this.finishX=e,this.startY=i,this.finishY=r},t.exports=o},function(t,e,i){"use strict";function r(t,e){this.width=0,this.height=0,null!==t&&null!==e&&(this.height=e,this.width=t)}r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},t.exports=r},function(t,e,i){"use strict";var r=i(14);function n(){this.map={},this.keys=[]}n.prototype.put=function(t,e){var i=r.createID(t);!this.contains(i)&&(this.map[i]=e,this.keys.push(t))},n.prototype.contains=function(t){return r.createID(t),null!=this.map[t]},n.prototype.get=function(t){var e=r.createID(t);return this.map[e]},n.prototype.keySet=function(){return this.keys},t.exports=n},function(t,e,i){"use strict";var r=i(14);function n(){this.set={}}n.prototype.add=function(t){var e=r.createID(t);!this.contains(e)&&(this.set[e]=t)},n.prototype.remove=function(t){delete this.set[r.createID(t)]},n.prototype.clear=function(){this.set={}},n.prototype.contains=function(t){return this.set[r.createID(t)]==t},n.prototype.isEmpty=function(){return 0===this.size()},n.prototype.size=function(){return Object.keys(this.set).length},n.prototype.addAllTo=function(t){for(var e=Object.keys(this.set),i=e.length,r=0;r<i;r++)t.push(this.set[e[r]])},n.prototype.size=function(){return Object.keys(this.set).length},n.prototype.addAll=function(t){for(var e=t.length,i=0;i<e;i++){var r=t[i];this.add(r)}},t.exports=n},function(t,e,i){"use strict";function r(){}r.multMat=function(t,e){for(var i=[],r=0;r<t.length;r++){i[r]=[];for(var n=0;n<e[0].length;n++){i[r][n]=0;for(var o=0;o<t[0].length;o++)i[r][n]+=t[r][o]*e[o][n]}}return i},r.transpose=function(t){for(var e=[],i=0;i<t[0].length;i++){e[i]=[];for(var r=0;r<t.length;r++)e[i][r]=t[r][i]}return e},r.multCons=function(t,e){for(var i=[],r=0;r<t.length;r++)i[r]=t[r]*e;return i},r.minusOp=function(t,e){for(var i=[],r=0;r<t.length;r++)i[r]=t[r]-e[r];return i},r.dotProduct=function(t,e){for(var i=0,r=0;r<t.length;r++)i+=t[r]*e[r];return i},r.mag=function(t){return Math.sqrt(this.dotProduct(t,t))},r.normalize=function(t){for(var e=[],i=this.mag(t),r=0;r<t.length;r++)e[r]=t[r]/i;return e},r.multGamma=function(t){for(var e=[],i=0,r=0;r<t.length;r++)i+=t[r];i*=-1/t.length;for(var n=0;n<t.length;n++)e[n]=i+t[n];return e},r.multL=function(t,e,i){for(var r=[],n=[],o=[],a=0;a<e[0].length;a++){for(var s=0,h=0;h<e.length;h++)s+=-.5*e[h][a]*t[h];n[a]=s}for(var l=0;l<i.length;l++){for(var d=0,c=0;c<i.length;c++)d+=i[l][c]*n[c];o[l]=d}for(var g=0;g<e.length;g++){for(var u=0,f=0;f<e[0].length;f++)u+=e[g][f]*o[f];r[g]=u}return r},t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=i(11),o=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),(null!==i||void 0!==i)&&(this.compareFunction=this._defaultCompareFunction);var r=void 0;r=e instanceof n?e.size():e.length,this._quicksort(e,0,r-1)}return r(t,[{key:"_quicksort",value:function(t,e,i){if(e<i){var r=this._partition(t,e,i);this._quicksort(t,e,r),this._quicksort(t,r+1,i)}}},{key:"_partition",value:function(t,e,i){for(var r=this._get(t,e),n=e,o=i;;){for(;this.compareFunction(r,this._get(t,o));)o--;for(;this.compareFunction(this._get(t,n),r);)n++;if(!(n<o))return o;this._swap(t,n,o),n++,o--}}},{key:"_get",value:function(t,e){return t instanceof n?t.get_object_at(e):t[e]}},{key:"_set",value:function(t,e,i){t instanceof n?t.set_object_at(e,i):t[e]=i}},{key:"_swap",value:function(t,e,i){var r=this._get(t,e);this._set(t,e,this._get(t,i)),this._set(t,i,r)}},{key:"_defaultCompareFunction",value:function(t,e){return e>t}}]),t}();t.exports=o},function(t,e,i){"use strict";function r(){}r.svd=function(t){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=t.length,this.n=t[0].length;var e=Math.min(this.m,this.n);this.s=function(t){for(var e=[];t-- >0;)e.push(0);return e}(Math.min(this.m+1,this.n)),this.U=function t(e){if(0==e.length)return 0;for(var i=[],r=0;r<e[0];r++)i.push(t(e.slice(1)));return i}([this.m,e]),this.V=function t(e){if(0==e.length)return 0;for(var i=[],r=0;r<e[0];r++)i.push(t(e.slice(1)));return i}([this.n,this.n]);for(var i=function(t){for(var e=[];t-- >0;)e.push(0);return e}(this.n),n=function(t){for(var e=[];t-- >0;)e.push(0);return e}(this.m),o=Math.min(this.m-1,this.n),a=Math.max(0,Math.min(this.n-2,this.m)),s=0;s<Math.max(o,a);s++){if(s<o){this.s[s]=0;for(var h=s;h<this.m;h++)this.s[s]=r.hypot(this.s[s],t[h][s]);if(0!==this.s[s]){t[s][s]<0&&(this.s[s]=-this.s[s]);for(var l=s;l<this.m;l++)t[l][s]/=this.s[s];t[s][s]+=1}this.s[s]=-this.s[s]}for(var d=s+1;d<this.n;d++){;if(p=s<o,v=0!==this.s[s],p&&v){for(var c=0,g=s;g<this.m;g++)c+=t[g][s]*t[g][d];c=-c/t[s][s];for(var u=s;u<this.m;u++)t[u][d]+=c*t[u][s]}i[d]=t[s][d]}if(y=!0,m=s<o,y&&m)for(var f=s;f<this.m;f++)this.U[f][s]=t[f][s];if(s<a){i[s]=0;for(var p,v,y,m,E,N,T=s+1;T<this.n;T++)i[s]=r.hypot(i[s],i[T]);if(0!==i[s]){i[s+1]<0&&(i[s]=-i[s]);for(var A=s+1;A<this.n;A++)i[A]/=i[s];i[s+1]+=1}if(i[s]=-i[s],E=s+1<this.m,N=0!==i[s],E&&N){for(var L=s+1;L<this.m;L++)n[L]=0;for(var w=s+1;w<this.n;w++)for(var _=s+1;_<this.m;_++)n[_]+=i[w]*t[_][w];for(var I=s+1;I<this.n;I++){for(var C=-i[I]/i[s+1],M=s+1;M<this.m;M++)t[M][I]+=C*n[M]}}for(var x=s+1;x<this.n;x++)this.V[x][s]=i[x]}}var O=Math.min(this.n,this.m+1);o<this.n&&(this.s[o]=t[o][o]),this.m<O&&(this.s[O-1]=0),a+1<O&&(i[a]=t[a][O-1]),i[O-1]=0;for(var D=o;D<e;D++){for(var R=0;R<this.m;R++)this.U[R][D]=0;this.U[D][D]=1}for(var b=o-1;b>=0;b--)if(0!==this.s[b]){for(var G=b+1;G<e;G++){for(var F=0,S=b;S<this.m;S++)F+=this.U[S][b]*this.U[S][G];F=-F/this.U[b][b];for(var P=b;P<this.m;P++)this.U[P][G]+=F*this.U[P][b]}for(var U=b;U<this.m;U++)this.U[U][b]=-this.U[U][b];this.U[b][b]=1+this.U[b][b];for(var Y=0;Y<b-1;Y++)this.U[Y][b]=0}else{for(var k=0;k<this.m;k++)this.U[k][b]=0;this.U[b][b]=1}for(var H=this.n-1;H>=0;H--){;if(tc=H<a,tg=0!==i[H],tc&&tg)for(var X=H+1;X<e;X++){for(var W=0,z=H+1;z<this.n;z++)W+=this.V[z][H]*this.V[z][X];W=-W/this.V[H+1][H];for(var V=H+1;V<this.n;V++)this.V[V][X]+=W*this.V[V][H]}for(var B=0;B<this.n;B++)this.V[B][H]=0;this.V[H][H]=1}for(var j=O-1,q=0;O>0;){var $=void 0,Z=void 0;for($=O-2;$>=-1&&-1!==$;$--){;if(Math.abs(i[$])<=16033346880071782e-307+2220446049250313e-31*(Math.abs(this.s[$])+Math.abs(this.s[$+1]))){i[$]=0;break}}if($===O-2)Z=4;else{var Q=void 0;for(Q=O-1;Q>=$&&Q!==$;Q--){;var J=(Q!==O?Math.abs(i[Q]):0)+(Q!==$+1?Math.abs(i[Q-1]):0);if(Math.abs(this.s[Q])<=16033346880071782e-307+2220446049250313e-31*J){this.s[Q]=0;break}}Q===$?Z=3:Q===O-1?Z=1:(Z=2,$=Q)}switch($++,Z){case 1:var K=i[O-2];i[O-2]=0;for(var tt=O-2;tt>=$;tt--){var te=r.hypot(this.s[tt],K),ti=this.s[tt]/te,tr=K/te;this.s[tt]=te,tt!==$&&(K=-tr*i[tt-1],i[tt-1]=ti*i[tt-1]);for(var tn=0;tn<this.n;tn++)te=ti*this.V[tn][tt]+tr*this.V[tn][O-1],this.V[tn][O-1]=-tr*this.V[tn][tt]+ti*this.V[tn][O-1],this.V[tn][tt]=te}break;case 2:var to=i[$-1];i[$-1]=0;for(var ta=$;ta<O;ta++){var ts=r.hypot(this.s[ta],to),th=this.s[ta]/ts,tl=to/ts;this.s[ta]=ts,to=-tl*i[ta],i[ta]=th*i[ta];for(var td=0;td<this.m;td++)ts=th*this.U[td][ta]+tl*this.U[td][$-1],this.U[td][$-1]=-tl*this.U[td][ta]+th*this.U[td][$-1],this.U[td][ta]=ts}break;case 3:var tc,tg,tu,tf,tp=Math.max(Math.max(Math.max(Math.max(Math.abs(this.s[O-1]),Math.abs(this.s[O-2])),Math.abs(i[O-2])),Math.abs(this.s[$])),Math.abs(i[$])),tv=this.s[O-1]/tp,ty=this.s[O-2]/tp,tm=i[O-2]/tp,tE=this.s[$]/tp,tN=i[$]/tp,tT=((ty+tv)*(ty-tv)+tm*tm)/2,tA=tv*tm*(tv*tm),tL=0;if(tu=0!==tT,tf=0!==tA,tu||tf)tL=Math.sqrt(tT*tT+tA),tT<0&&(tL=-tL),tL=tA/(tT+tL);for(var tw=(tE+tv)*(tE-tv)+tL,t_=tE*tN,tI=$;tI<O-1;tI++){var tC=r.hypot(tw,t_),tM=tw/tC,tx=t_/tC;tI!==$&&(i[tI-1]=tC),tw=tM*this.s[tI]+tx*i[tI],i[tI]=tM*i[tI]-tx*this.s[tI],t_=tx*this.s[tI+1],this.s[tI+1]=tM*this.s[tI+1];for(var tO=0;tO<this.n;tO++)tC=tM*this.V[tO][tI]+tx*this.V[tO][tI+1],this.V[tO][tI+1]=-tx*this.V[tO][tI]+tM*this.V[tO][tI+1],this.V[tO][tI]=tC;if(tC=r.hypot(tw,t_),tM=tw/tC,tx=t_/tC,this.s[tI]=tC,tw=tM*i[tI]+tx*this.s[tI+1],this.s[tI+1]=-tx*i[tI]+tM*this.s[tI+1],t_=tx*i[tI+1],i[tI+1]=tM*i[tI+1],tI<this.m-1)for(var tD=0;tD<this.m;tD++)tC=tM*this.U[tD][tI]+tx*this.U[tD][tI+1],this.U[tD][tI+1]=-tx*this.U[tD][tI]+tM*this.U[tD][tI+1],this.U[tD][tI]=tC}i[O-2]=tw;break;case 4:if(this.s[$]<=0&&(this.s[$]=this.s[$]<0?-this.s[$]:0,1))for(var tR=0;tR<=j;tR++)this.V[tR][$]=-this.V[tR][$];for(;$<j&&!(this.s[$]>=this.s[$+1]);){;var tb=this.s[$];if(this.s[$]=this.s[$+1],this.s[$+1]=tb,$<this.n-1)for(var tG=0;tG<this.n;tG++)tb=this.V[tG][$+1],this.V[tG][$+1]=this.V[tG][$],this.V[tG][$]=tb;if($<this.m-1)for(var tF=0;tF<this.m;tF++)tb=this.U[tF][$+1],this.U[tF][$+1]=this.U[tF][$],this.U[tF][$]=tb;$++}q=0,O--}}return{U:this.U,V:this.V,S:this.s}},r.hypot=function(t,e){var i=void 0;return Math.abs(t)>Math.abs(e)?(i=e/t,i=Math.abs(t)*Math.sqrt(1+i*i)):0!=e?(i=t/e,i=Math.abs(e)*Math.sqrt(1+i*i)):i=0,i},t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=function(){function t(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=i,this.match_score=r,this.mismatch_penalty=n,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=Array(this.iMax);for(var a=0;a<this.iMax;a++){this.grid[a]=Array(this.jMax);for(var s=0;s<this.jMax;s++)this.grid[a][s]=0}this.tracebackGrid=Array(this.iMax);for(var h=0;h<this.iMax;h++){this.tracebackGrid[h]=Array(this.jMax);for(var l=0;l<this.jMax;l++)this.tracebackGrid[h][l]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return r(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 i=1;i<this.iMax;i++)for(var r=1;r<this.jMax;r++){var n=void 0,o=[n=this.sequence1[i-1]===this.sequence2[r-1]?this.grid[i-1][r-1]+this.match_score:this.grid[i-1][r-1]+this.mismatch_penalty,this.grid[i-1][r]+this.gap_penalty,this.grid[i][r-1]+this.gap_penalty],a=this.arrayAllMaxIndexes(o);this.grid[i][r]=o[a[0]],this.tracebackGrid[i][r]=[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],i=this.tracebackGrid[e.pos[0]][e.pos[1]];i[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}),i[1]&&t.push({pos:[e.pos[0]-1,e.pos[1]],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:"-"+e.seq2}),i[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 i=[],r=-1;-1!==(r=t.indexOf(e,r+1));)i.push(r);return i}},{key:"arrayAllMaxIndexes",value:function(t){return this.getAllIndexes(t,Math.max.apply(null,t))}}]),t}();t.exports=n},function(t,e,i){"use strict";var r=function(){};r.FDLayout=i(18),r.FDLayoutConstants=i(4),r.FDLayoutEdge=i(19),r.FDLayoutNode=i(20),r.DimensionD=i(21),r.HashMap=i(22),r.HashSet=i(23),r.IGeometry=i(8),r.IMath=i(9),r.Integer=i(10),r.Point=i(12),r.PointD=i(5),r.RandomSeed=i(16),r.RectangleD=i(13),r.Transform=i(17),r.UniqueIDGeneretor=i(14),r.Quicksort=i(25),r.LinkedList=i(11),r.LGraphObject=i(2),r.LGraph=i(6),r.LEdge=i(1),r.LGraphManager=i(7),r.LNode=i(3),r.Layout=i(15),r.LayoutConstants=i(0),r.NeedlemanWunsch=i(27),r.Matrix=i(24),r.SVD=i(26),t.exports=r},function(t,e,i){"use strict";function r(){this.listeners=[]}var n=r.prototype;n.addListener=function(t,e){this.listeners.push({event:t,callback:e})},n.removeListener=function(t,e){for(var i=this.listeners.length;i>=0;i--){var r=this.listeners[i];r.event===t&&r.callback===e&&this.listeners.splice(i,1)}},n.emit=function(t,e){for(var i=0;i<this.listeners.length;i++){var r=this.listeners[i];t===r.event&&r.callback(e)}},t.exports=r}])},t.exports=i()},96026:function(t,e,i){"use strict";i.d(e,{diagram:function(){return tg}});var r=i(16302),n=i(92719),o=i(17646),a=i(18825);i(7690);var s=i(94159),h=i(5995),l=i(3194),d=i(58446),c=i(44867),g=i(27818),u={L:"left",R:"right",T:"top",B:"bottom"},f={L:(0,h.eW)(t=>`${t},${t/2} 0,${t} 0,0`,"L"),R:(0,h.eW)(t=>`0,${t/2} ${t},0 ${t},${t}`,"R"),T:(0,h.eW)(t=>`0,0 ${t},0 ${t/2},${t}`,"T"),B:(0,h.eW)(t=>`${t/2},0 ${t},${t} 0,${t}`,"B")},p={L:(0,h.eW)((t,e)=>t-e+2,"L"),R:(0,h.eW)((t,e)=>t-2,"R"),T:(0,h.eW)((t,e)=>t-e+2,"T"),B:(0,h.eW)((t,e)=>t-2,"B")},v=(0,h.eW)(function(t){return m(t)?"L"===t?"R":"L":"T"===t?"B":"T"},"getOppositeArchitectureDirection"),y=(0,h.eW)(function(t){return"L"===t||"R"===t||"T"===t||"B"===t},"isArchitectureDirection"),m=(0,h.eW)(function(t){return"L"===t||"R"===t},"isArchitectureDirectionX"),E=(0,h.eW)(function(t){return"T"===t||"B"===t},"isArchitectureDirectionY"),N=(0,h.eW)(function(t,e){let i=m(t)&&E(e),r=E(t)&&m(e);return i||r},"isArchitectureDirectionXY"),T=(0,h.eW)(function(t){let e=t[0],i=t[1],r=m(e)&&E(i),n=E(e)&&m(i);return r||n},"isArchitecturePairXY"),A=(0,h.eW)(function(t){return"LL"!==t&&"RR"!==t&&"TT"!==t&&"BB"!==t},"isValidArchitectureDirectionPair"),L=(0,h.eW)(function(t,e){let i=`${t}${e}`;return A(i)?i:void 0},"getArchitectureDirectionPair"),w=(0,h.eW)(function([t,e],i){let r=i[0],n=i[1];if(m(r))return E(n)?[t+("L"===r?-1:1),e+("T"===n?1:-1)]:[t+("L"===r?-1:1),e];return m(n)?[t+("L"===n?1:-1),e+("T"===r?1:-1)]:[t,e+("T"===r?1:-1)]},"shiftPositionByArchitectureDirectionPair"),_=(0,h.eW)(function(t){if("LT"===t||"TL"===t)return[1,1];if("BL"===t||"LB"===t)return[1,-1];if("BR"===t||"RB"===t)return[-1,-1];else return[-1,1]},"getArchitectureDirectionXYFactors"),I=(0,h.eW)(function(t){return"service"===t.type},"isArchitectureService"),C=(0,h.eW)(function(t){return"junction"===t.type},"isArchitectureJunction"),M=(0,h.eW)(t=>t.data(),"edgeData"),x=(0,h.eW)(t=>t.data(),"nodeData"),O=h.vZ.architecture,D=new a.A(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:O,dataStructures:void 0,elements:{}})),R=(0,h.eW)(()=>{D.reset(),(0,h.ZH)()},"clear"),b=(0,h.eW)(function({id:t,icon:e,in:i,title:r,iconText:n}){if(void 0!==D.records.registeredIds[t])throw Error(`The service id [${t}] is already in use by another ${D.records.registeredIds[t]}`);if(void 0!==i){if(t===i)throw Error(`The service [${t}] cannot be placed within itself`);if(void 0===D.records.registeredIds[i])throw Error(`The service [${t}]'s parent does not exist. Please make sure the parent is created before this service`);if("node"===D.records.registeredIds[i])throw Error(`The service [${t}]'s parent is not a group`)}D.records.registeredIds[t]="node",D.records.nodes[t]={id:t,type:"service",icon:e,iconText:n,title:r,edges:[],in:i}},"addService"),G=(0,h.eW)(()=>Object.values(D.records.nodes).filter(I),"getServices"),F=(0,h.eW)(function({id:t,in:e}){D.records.registeredIds[t]="node",D.records.nodes[t]={id:t,type:"junction",edges:[],in:e}},"addJunction"),S=(0,h.eW)(()=>Object.values(D.records.nodes).filter(C),"getJunctions"),P=(0,h.eW)(()=>Object.values(D.records.nodes),"getNodes"),U=(0,h.eW)(t=>D.records.nodes[t],"getNode"),Y=(0,h.eW)(function({id:t,icon:e,in:i,title:r}){if(void 0!==D.records.registeredIds[t])throw Error(`The group id [${t}] is already in use by another ${D.records.registeredIds[t]}`);if(void 0!==i){if(t===i)throw Error(`The group [${t}] cannot be placed within itself`);if(void 0===D.records.registeredIds[i])throw Error(`The group [${t}]'s parent does not exist. Please make sure the parent is created before this group`);if("node"===D.records.registeredIds[i])throw Error(`The group [${t}]'s parent is not a group`)}D.records.registeredIds[t]="group",D.records.groups[t]={id:t,icon:e,title:r,in:i}},"addGroup"),k=(0,h.eW)(()=>Object.values(D.records.groups),"getGroups"),H=(0,h.eW)(function({lhsId:t,rhsId:e,lhsDir:i,rhsDir:r,lhsInto:n,rhsInto:o,lhsGroup:a,rhsGroup:s,title:h}){if(!y(i))throw Error(`Invalid direction given for left hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${i}`);if(!y(r))throw Error(`Invalid direction given for right hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${r}`);if(void 0===D.records.nodes[t]&&void 0===D.records.groups[t])throw Error(`The left-hand id [${t}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(void 0===D.records.nodes[e]&&void 0===D.records.groups[t])throw Error(`The right-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);let l=D.records.nodes[t].in,d=D.records.nodes[e].in;if(a&&l&&d&&l==d)throw Error(`The left-hand id [${t}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(s&&l&&d&&l==d)throw Error(`The right-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);D.records.edges.push({lhsId:t,lhsDir:i,lhsInto:n,lhsGroup:a,rhsId:e,rhsDir:r,rhsInto:o,rhsGroup:s,title:h}),D.records.nodes[t]&&D.records.nodes[e]&&(D.records.nodes[t].edges.push(D.records.edges[D.records.edges.length-1]),D.records.nodes[e].edges.push(D.records.edges[D.records.edges.length-1]))},"addEdge"),X=(0,h.eW)(()=>D.records.edges,"getEdges"),W=(0,h.eW)(()=>{if(void 0===D.records.dataStructures){let t=Object.entries(D.records.nodes).reduce((t,[e,i])=>(t[e]=i.edges.reduce((t,i)=>{if(i.lhsId===e){let e=L(i.lhsDir,i.rhsDir);e&&(t[e]=i.rhsId)}else{let e=L(i.rhsDir,i.lhsDir);e&&(t[e]=i.lhsId)}return t},{}),t),{}),e=Object.keys(t)[0],i={[e]:1},r=Object.keys(t).reduce((t,i)=>i===e?t:{...t,[i]:1},{}),n=(0,h.eW)(e=>{let n={[e]:[0,0]},o=[e];for(;o.length>0;){let e=o.shift();if(e){i[e]=1,delete r[e];let a=t[e],[s,h]=n[e];Object.entries(a).forEach(([t,e])=>{!i[e]&&(n[e]=w([s,h],t),o.push(e))})}}return n},"BFS"),o=[n(e)];for(;Object.keys(r).length>0;)o.push(n(Object.keys(r)[0]));D.records.dataStructures={adjList:t,spatialMaps:o}}return D.records.dataStructures},"getDataStructures"),z=(0,h.eW)((t,e)=>{D.records.elements[t]=e},"setElementForId"),V=(0,h.eW)(t=>D.records.elements[t],"getElementById"),B={clear:R,setDiagramTitle:h.g2,getDiagramTitle:h.Kr,setAccTitle:h.GN,getAccTitle:h.eu,setAccDescription:h.U$,getAccDescription:h.Mx,addService:b,getServices:G,addJunction:F,getJunctions:S,getNodes:P,getNode:U,addGroup:Y,getGroups:k,addEdge:H,getEdges:X,setElementForId:z,getElementById:V,getDataStructures:W};function j(t){let e=(0,h.nV)().architecture;return e?.[t]?e[t]:O[t]}(0,h.eW)(j,"getConfigField");var q=(0,h.eW)((t,e)=>{(0,o.A)(t,e),t.groups.map(e.addGroup),t.services.map(t=>e.addService({...t,type:"service"})),t.junctions.map(t=>e.addJunction({...t,type:"junction"})),t.edges.map(e.addEdge)},"populateDb"),$={parse:(0,h.eW)(async t=>{let e=await (0,l.Qc)("architecture",t);h.cM.debug(e),q(e,B)},"parse")},Z=(0,h.eW)(t=>` + .edge { + stroke-width: ${t.archEdgeWidth}; + stroke: ${t.archEdgeColor}; + fill: none; + } + + .arrow { + fill: ${t.archEdgeArrowColor}; + } + + .node-bkg { + fill: none; + stroke: ${t.archGroupBorderColor}; + stroke-width: ${t.archGroupBorderWidth}; + stroke-dasharray: 8; + } + .node-icon-text { + display: flex; + align-items: center; + } + + .node-icon-text > div { + color: #fff; + margin: 1px; + height: fit-content; + text-align: center; + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + } +`,"getStyles"),Q=(0,h.eW)(t=>`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${t}</g>`,"wrapIcon"),J={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:Q('<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},server:{body:Q('<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>')},disk:{body:Q('<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>')},internet:{body:Q('<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},cloud:{body:Q('<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},unknown:r.cN,blank:{body:Q("")}}},K=(0,h.eW)(async function(t,e){let i=j("padding"),r=j("iconSize"),o=r/2,a=r/6,s=a/2;await Promise.all(e.edges().map(async e=>{let{source:r,sourceDir:l,sourceArrow:d,sourceGroup:c,target:g,targetDir:u,targetArrow:v,targetGroup:y,label:A}=M(e),{x:w,y:I}=e[0].sourceEndpoint(),{x:C,y:x}=e[0].midpoint(),{x:O,y:D}=e[0].targetEndpoint(),R=i+4;if(c&&(m(l)?w+="L"===l?-R:R:I+="T"===l?-R:R+18),y&&(m(u)?O+="L"===u?-R:R:D+="T"===u?-R:R+18),!c&&B.getNode(r)?.type==="junction"&&(m(l)?w+="L"===l?o:-o:I+="T"===l?o:-o),!y&&B.getNode(g)?.type==="junction"&&(m(u)?O+="L"===u?o:-o:D+="T"===u?o:-o),e[0]._private.rscratch){let e=t.insert("g");if(e.insert("path").attr("d",`M ${w},${I} L ${C},${x} L${O},${D} `).attr("class","edge"),d){let t=m(l)?p[l](w,a):w-s,i=E(l)?p[l](I,a):I-s;e.insert("polygon").attr("points",f[l](a)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(v){let t=m(u)?p[u](O,a):O-s,i=E(u)?p[u](D,a):D-s;e.insert("polygon").attr("points",f[u](a)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(A){let t=N(l,u)?"XY":m(l)?"X":"Y",i=0;i="X"===t?Math.abs(w-O):"Y"===t?Math.abs(I-D)/1.5:Math.abs(w-O)/2;let r=e.append("g");if(await (0,n.rw)(r,A,{useHtmlLabels:!1,width:i,classes:"architecture-service-label"},(0,h.nV)()),r.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),"X"===t)r.attr("transform","translate("+C+", "+x+")");else if("Y"===t)r.attr("transform","translate("+C+", "+x+") rotate(-90)");else if("XY"===t){let t=L(l,u);if(t&&T(t)){let e=r.node().getBoundingClientRect(),[i,n]=_(t);r.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*i*n*45})`);let o=r.node().getBoundingClientRect();r.attr("transform",` + translate(${C}, ${x-e.height/2}) + translate(${i*o.width/2}, ${n*o.height/2}) + rotate(${-1*i*n*45}, 0, ${e.height/2}) + `)}}}}}))},"drawEdges"),tt=(0,h.eW)(async function(t,e){let i=.75*j("padding"),o=j("fontSize"),a=j("iconSize")/2;await Promise.all(e.nodes().map(async e=>{let s=x(e);if("group"===s.type){let{h:l,w:d,x1:c,y1:g}=e.boundingBox();t.append("rect").attr("x",c+a).attr("y",g+a).attr("width",d).attr("height",l).attr("class","node-bkg");let u=t.append("g"),f=c,p=g;if(s.icon){let t=u.append("g");t.html(`<g>${await (0,r.s4)(s.icon,{height:i,width:i,fallbackPrefix:J.prefix})}</g>`),t.attr("transform","translate("+(f+a+1)+", "+(p+a+1)+")"),f+=i,p+=o/2-1-2}if(s.label){let t=u.append("g");await (0,n.rw)(t,s.label,{useHtmlLabels:!1,width:d,classes:"architecture-service-label"},(0,h.nV)()),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),t.attr("transform","translate("+(f+a+4)+", "+(p+a+2)+")")}}}))},"drawGroups"),te=(0,h.eW)(async function(t,e,i){for(let o of i){let i=e.append("g"),a=j("iconSize");if(o.title){let t=i.append("g");await (0,n.rw)(t,o.title,{useHtmlLabels:!1,width:1.5*a,classes:"architecture-service-label"},(0,h.nV)()),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),t.attr("transform","translate("+a/2+", "+a+")")}let s=i.append("g");if(o.icon)s.html(`<g>${await (0,r.s4)(o.icon,{height:a,width:a,fallbackPrefix:J.prefix})}</g>`);else if(o.iconText){s.html(`<g>${await (0,r.s4)("blank",{height:a,width:a,fallbackPrefix:J.prefix})}</g>`);let t=s.append("g").append("foreignObject").attr("width",a).attr("height",a).append("div").attr("class","node-icon-text").attr("style",`height: ${a}px;`).append("div").html(o.iconText),e=parseInt(window.getComputedStyle(t.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;t.attr("style",`-webkit-line-clamp: ${Math.floor((a-2)/e)};`)}else s.append("path").attr("class","node-bkg").attr("id","node-"+o.id).attr("d",`M0 ${a} v${-a} q0,-5 5,-5 h${a} q5,0 5,5 v${a} H0 Z`);i.attr("class","architecture-service");let{width:l,height:d}=i._groups[0][0].getBBox();o.width=l,o.height=d,t.setElementForId(o.id,i)}return 0},"drawServices"),ti=(0,h.eW)(function(t,e,i){i.forEach(i=>{let r=e.append("g"),n=j("iconSize");r.append("g").append("rect").attr("id","node-"+i.id).attr("fill-opacity","0").attr("width",n).attr("height",n),r.attr("class","architecture-junction");let{width:o,height:a}=r._groups[0][0].getBBox();r.width=o,r.height=a,t.setElementForId(i.id,r)})},"drawJunctions");function tr(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"service",id:t.id,icon:t.icon,label:t.title,parent:t.in,width:j("iconSize"),height:j("iconSize")},classes:"node-service"})})}function tn(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"junction",id:t.id,parent:t.in,width:j("iconSize"),height:j("iconSize")},classes:"node-junction"})})}function to(t,e){e.nodes().map(e=>{let i=x(e);if("group"!==i.type)i.x=e.position().x,i.y=e.position().y,t.getElementById(i.id).attr("transform","translate("+(i.x||0)+","+(i.y||0)+")")})}function ta(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"group",id:t.id,icon:t.icon,label:t.title,parent:t.in},classes:"node-group"})})}function ts(t,e){t.forEach(t=>{let{lhsId:i,rhsId:r,lhsInto:n,lhsGroup:o,rhsInto:a,lhsDir:s,rhsDir:h,rhsGroup:l,title:d}=t,c=N(t.lhsDir,t.rhsDir)?"segments":"straight",g={id:`${i}-${r}`,label:d,source:i,sourceDir:s,sourceArrow:n,sourceGroup:o,sourceEndpoint:"L"===s?"0 50%":"R"===s?"100% 50%":"T"===s?"50% 0":"50% 100%",target:r,targetDir:h,targetArrow:a,targetGroup:l,targetEndpoint:"L"===h?"0 50%":"R"===h?"100% 50%":"T"===h?"50% 0":"50% 100%"};e.add({group:"edges",data:g,classes:c})})}function th(t){let[e,i]=t.map(t=>{let e={},i={};return Object.entries(t).forEach(([t,[r,n]])=>{!e[n]&&(e[n]=[]),!i[r]&&(i[r]=[]),e[n].push(t),i[r].push(t)}),{horiz:Object.values(e).filter(t=>t.length>1),vert:Object.values(i).filter(t=>t.length>1)}}).reduce(([t,e],{horiz:i,vert:r})=>[[...t,...i],[...e,...r]],[[],[]]);return{horizontal:e,vertical:i}}function tl(t){let e=[],i=(0,h.eW)(t=>`${t[0]},${t[1]}`,"posToStr"),r=(0,h.eW)(t=>t.split(",").map(t=>parseInt(t)),"strToPos");return t.forEach(t=>{let n=Object.fromEntries(Object.entries(t).map(([t,e])=>[i(e),t])),o=[i([0,0])],a={},s={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;o.length>0;){let t=o.shift();if(t){a[t]=1;let h=n[t];if(h){let l=r(t);Object.entries(s).forEach(([t,r])=>{let s=i([l[0]+r[0],l[1]+r[1]]),d=n[s];d&&!a[s]&&(o.push(s),e.push({[u[t]]:d,[u[v(t)]]:h,gap:1.5*j("iconSize")}))})}}}}),e}function td(t,e,i,r,{spatialMaps:n}){return new Promise(o=>{let a=(0,g.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),s=(0,d.Z)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight",label:"data(label)","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${j("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${j("padding")}px`}}]});a.remove(),ta(i,s),tr(t,s),tn(e,s),ts(r,s);let l=th(n),c=tl(n),u=s.layout({name:"fcose",quality:"proof",styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(t){let[e,i]=t.connectedNodes(),{parent:r}=x(e),{parent:n}=x(i);return r===n?1.5*j("iconSize"):.5*j("iconSize")},edgeElasticity(t){let[e,i]=t.connectedNodes(),{parent:r}=x(e),{parent:n}=x(i);return r===n?.45:.001},alignmentConstraint:l,relativePlacementConstraint:c});u.one("layoutstop",()=>{function t(t,e,i,r){let n,o;let{x:a,y:s}=t,{x:h,y:l}=e;o=(r-s+(a-i)*(s-l)/(a-h))/Math.sqrt(1+Math.pow((s-l)/(a-h),2)),n=Math.sqrt(Math.pow(r-s,2)+Math.pow(i-a,2)-Math.pow(o,2))/Math.sqrt(Math.pow(h-a,2)+Math.pow(l-s,2));let d=(h-a)*(r-s)-(l-s)*(i-a);switch(!0){case d>=0:d=1;break;case d<0:d=-1}let c=(h-a)*(i-a)+(l-s)*(r-s);switch(!0){case c>=0:c=1;break;case c<0:c=-1}return{distances:o=Math.abs(o)*d,weights:n*=c}}for(let e of((0,h.eW)(t,"getSegmentWeights"),s.startBatch(),Object.values(s.edges())))if(e.data?.()){let{x:i,y:r}=e.source().position(),{x:n,y:o}=e.target().position();if(i!==n&&r!==o){let i=e.sourceEndpoint(),r=e.targetEndpoint(),{sourceDir:n}=M(e),[o,a]=E(n)?[i.x,r.y]:[r.x,i.y],{weights:s,distances:h}=t(i,r,o,a);e.style("segment-distances",h),e.style("segment-weights",s)}}s.endBatch(),u.run()}),u.run(),s.ready(t=>{h.cM.info("Ready",t),o(s)})})}(0,r.ef)([{name:J.prefix,icons:J}]),d.Z.use(c),(0,h.eW)(tr,"addServices"),(0,h.eW)(tn,"addJunctions"),(0,h.eW)(to,"positionNodes"),(0,h.eW)(ta,"addGroups"),(0,h.eW)(ts,"addEdges"),(0,h.eW)(th,"getAlignments"),(0,h.eW)(tl,"getRelativeConstraints"),(0,h.eW)(td,"layoutArchitecture");var tc=(0,h.eW)(async(t,e,i,r)=>{let n=r.db,o=n.getServices(),a=n.getJunctions(),l=n.getGroups(),d=n.getEdges(),c=n.getDataStructures(),g=(0,s.P)(e),u=g.append("g");u.attr("class","architecture-edges");let f=g.append("g");f.attr("class","architecture-services");let p=g.append("g");p.attr("class","architecture-groups"),await te(n,f,o),ti(n,f,a);let v=await td(o,a,l,d,c);await K(u,v),await tt(p,v),to(n,v),(0,h.j7)(void 0,g,j("padding"),j("useMaxWidth"))},"draw"),tg={parser:$,db:B,renderer:{draw:tc},styles:Z}},17646:function(t,e,i){"use strict";function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}i.d(e,{A:function(){return r}}),(0,i(5995).eW)(r,"populateCommonDb")},18825:function(t,e,i){"use strict";i.d(e,{A:function(){return n}});var r=i(5995),n=class{constructor(t){this.init=t,this.records=this.init()}static{(0,r.eW)(this,"ImperativeState")}reset(){this.records=this.init()}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/9196.fbd1abba.js b/pr-preview/pr-3/assets/js/9196.fbd1abba.js new file mode 100644 index 0000000..c984b30 --- /dev/null +++ b/pr-preview/pr-3/assets/js/9196.fbd1abba.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9196"],{74593:function(e,t,n){n.d(t,{Z:function(){return s}});var i=n(85893);n(67294);var r=n(67026),o=n(96025),a=n(34403);function s(e){let{className:t}=e;return(0,i.jsx)("main",{className:(0,r.Z)("container margin-vert--xl",t),children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,i.jsx)(a.Z,{as:"h1",className:"hero__title",children:(0,i.jsx)(o.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},95672:function(e,t,n){n.r(t),n.d(t,{default:function(){return l}});var i=n(85893);n(67294);var r=n(96025),o=n(14713),a=n(37647),s=n(74593);function l(){let e=(0,r.translate)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.d,{title:e}),(0,i.jsx)(a.Z,{children:(0,i.jsx)(s.Z,{})})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/9220.eca32452.js b/pr-preview/pr-3/assets/js/9220.eca32452.js new file mode 100644 index 0000000..695ed64 --- /dev/null +++ b/pr-preview/pr-3/assets/js/9220.eca32452.js @@ -0,0 +1,24 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9220"],{17646:function(t,e,a){function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}a.d(e,{A:function(){return r}}),(0,a(5995).eW)(r,"populateCommonDb")},26629:function(t,e,a){a.d(e,{diagram:function(){return C}});var r=a(17646),l=a(7690),o=a(94159),i=a(5995),c=a(3194),n={packet:[]},s=structuredClone(n),d=i.vZ.packet,k=(0,i.eW)(()=>{let t=(0,l.Rb)({...d,...(0,i.iE)().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),p=(0,i.eW)(()=>s.packet,"getPacket"),b={pushWord:(0,i.eW)(t=>{t.length>0&&s.packet.push(t)},"pushWord"),getPacket:p,getConfig:k,clear:(0,i.eW)(()=>{(0,i.ZH)(),s=structuredClone(n)},"clear"),setAccTitle:i.GN,getAccTitle:i.eu,setDiagramTitle:i.g2,getDiagramTitle:i.Kr,getAccDescription:i.Mx,setAccDescription:i.U$},u=(0,i.eW)(t=>{(0,r.A)(t,b);let e=-1,a=[],l=1,{bitsPerRow:o}=b.getConfig();for(let{start:r,end:c,label:n}of t.blocks){if(c&&c<r)throw Error(`Packet block ${r} - ${c} is invalid. End must be greater than start.`);if(r!==e+1)throw Error(`Packet block ${r} - ${c??r} is not contiguous. It should start from ${e+1}.`);for(e=c??r,i.cM.debug(`Packet block ${r} - ${e} with label ${n}`);a.length<=o+1&&b.getPacket().length<1e4;){let[t,e]=f({start:r,end:c,label:n},l,o);if(a.push(t),t.end+1===l*o&&(b.pushWord(a),a=[],l++),!e)break;({start:r,end:c,label:n}=e)}}b.pushWord(a)},"populate"),f=(0,i.eW)((t,e,a)=>{if(void 0===t.end&&(t.end=t.start),t.start>t.end)throw Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*a?[t,void 0]:[{start:t.start,end:e*a-1,label:t.label},{start:e*a,end:t.end,label:t.label}]},"getNextFittingBlock"),g={parse:(0,i.eW)(async t=>{let e=await (0,c.Qc)("packet",t);i.cM.debug(e),u(e)},"parse")},h=(0,i.eW)((t,e,a,r)=>{let l=r.db,c=l.getConfig(),{rowHeight:n,paddingY:s,bitWidth:d,bitsPerRow:k}=c,p=l.getPacket(),b=l.getDiagramTitle(),u=n+s,f=u*(p.length+1)-(b?0:n),g=d*k+2,h=(0,o.P)(e);for(let[t,e]of(h.attr("viewbox",`0 0 ${g} ${f}`),(0,i.v2)(h,f,g,c.useMaxWidth),p.entries()))x(h,e,t,c);h.append("text").text(b).attr("x",g/2).attr("y",f-u/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),x=(0,i.eW)((t,e,a,{rowHeight:r,paddingX:l,paddingY:o,bitWidth:i,bitsPerRow:c,showBits:n})=>{let s=t.append("g"),d=a*(r+o)+o;for(let t of e){let e=t.start%c*i+1,a=(t.end-t.start+1)*i-l;if(s.append("rect").attr("x",e).attr("y",d).attr("width",a).attr("height",r).attr("class","packetBlock"),s.append("text").attr("x",e+a/2).attr("y",d+r/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(t.label),!n)continue;let o=t.end===t.start,k=d-2;s.append("text").attr("x",e+(o?a/2:0)).attr("y",k).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",o?"middle":"start").text(t.start),!o&&s.append("text").attr("x",e+a).attr("y",k).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(t.end)}},"drawWord"),$={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},C={parser:g,db:b,renderer:{draw:h},styles:(0,i.eW)(({packet:t}={})=>{let e=(0,l.Rb)($,t);return` + .packetByte { + font-size: ${e.byteFontSize}; + } + .packetByte.start { + fill: ${e.startByteColor}; + } + .packetByte.end { + fill: ${e.endByteColor}; + } + .packetLabel { + fill: ${e.labelColor}; + font-size: ${e.labelFontSize}; + } + .packetTitle { + fill: ${e.titleColor}; + font-size: ${e.titleFontSize}; + } + .packetBlock { + stroke: ${e.blockStrokeColor}; + stroke-width: ${e.blockStrokeWidth}; + fill: ${e.blockFillColor}; + } + `},"styles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/9604fc81.e2a5328c.js b/pr-preview/pr-3/assets/js/9604fc81.e2a5328c.js new file mode 100644 index 0000000..57fef2a --- /dev/null +++ b/pr-preview/pr-3/assets/js/9604fc81.e2a5328c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8788"],{11871:function(e,s,n){n.r(s),n.d(s,{metadata:()=>r,contentTitle:()=>d,default:()=>u,assets:()=>a,toc:()=>c,frontMatter:()=>t});var r=JSON.parse('{"id":"docusaurus/tutorial_extras/manage_docs_versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","source":"@site/docs/docusaurus/tutorial_extras/manage_docs_versions.md","sourceDirName":"docusaurus/tutorial_extras","slug":"/docusaurus/tutorial_extras/manage_docs_versions","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_extras/manage_docs_versions.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Extras","permalink":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---extras"},"next":{"title":"Translate your site","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site"}}'),o=n("85893"),i=n("50065");let t={sidebar_position:1},d="Manage Docs Versions",a={},c=[{value:"Create a docs version",id:"create-a-docs-version",level:2},{value:"Add a Version Dropdown",id:"add-a-version-dropdown",level:2},{value:"Update an existing version",id:"update-an-existing-version",level:2}];function l(e){let s={code:"code",h1:"h1",h2:"h2",header:"header",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"manage-docs-versions",children:"Manage Docs Versions"})}),"\n",(0,o.jsx)(s.p,{children:"Docusaurus can manage multiple versions of your docs."}),"\n",(0,o.jsx)(s.h2,{id:"create-a-docs-version",children:"Create a docs version"}),"\n",(0,o.jsx)(s.p,{children:"Release a version 1.0 of your project:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run docusaurus docs:version 1.0\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"docs"})," folder is copied into ",(0,o.jsx)(s.code,{children:"versioned_docs/version-1.0"})," and ",(0,o.jsx)(s.code,{children:"versions.json"})," is created."]}),"\n",(0,o.jsx)(s.p,{children:"Your docs now have 2 versions:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.code,{children:"1.0"})," at ",(0,o.jsx)(s.code,{children:"http://localhost:3000/docs/"})," for the version 1.0 docs"]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.code,{children:"current"})," at ",(0,o.jsx)(s.code,{children:"http://localhost:3000/docs/next/"})," for the ",(0,o.jsx)(s.strong,{children:"upcoming, unreleased docs"})]}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"add-a-version-dropdown",children:"Add a Version Dropdown"}),"\n",(0,o.jsx)(s.p,{children:"To navigate seamlessly across versions, add a version dropdown."}),"\n",(0,o.jsxs)(s.p,{children:["Modify the ",(0,o.jsx)(s.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:'export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: "docsVersionDropdown",\n },\n // highlight-end\n ],\n },\n },\n};\n'})}),"\n",(0,o.jsx)(s.p,{children:"The docs version dropdown appears in your navbar:"}),"\n",(0,o.jsx)(s.p,{children:(0,o.jsx)(s.img,{alt:"Docs Version Dropdown",src:n(73652).Z+"",width:"370",height:"302"})}),"\n",(0,o.jsx)(s.h2,{id:"update-an-existing-version",children:"Update an existing version"}),"\n",(0,o.jsx)(s.p,{children:"It is possible to edit versioned docs in their respective folder:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.code,{children:"versioned_docs/version-1.0/hello.md"})," updates ",(0,o.jsx)(s.code,{children:"http://localhost:3000/docs/hello"})]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.code,{children:"docs/hello.md"})," updates ",(0,o.jsx)(s.code,{children:"http://localhost:3000/docs/next/hello"})]}),"\n"]})]})}function u(e={}){let{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},73652:function(e,s,n){n.d(s,{Z:function(){return r}});let r=n.p+"assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png"},50065:function(e,s,n){n.d(s,{Z:function(){return d},a:function(){return t}});var r=n(67294);let o={},i=r.createContext(o);function t(e){let s=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:t(e.components),r.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/9870.76e4cafc.js b/pr-preview/pr-3/assets/js/9870.76e4cafc.js new file mode 100644 index 0000000..46ffa22 --- /dev/null +++ b/pr-preview/pr-3/assets/js/9870.76e4cafc.js @@ -0,0 +1,63 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9870"],{17646:function(t,e,r){function a(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}r.d(e,{A:function(){return a}}),(0,r(5995).eW)(a,"populateCommonDb")},18825:function(t,e,r){r.d(e,{A:function(){return o}});var a=r(5995),o=class{constructor(t){this.init=t,this.records=this.init()}static{(0,a.eW)(this,"ImperativeState")}reset(){this.records=this.init()}}},56981:function(t,e,r){r.d(e,{diagram:function(){return tb}});var a=r(17646),o=r(18825),i=r(7690),c=r(5995),n=r(3194),s=r(27818),h={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},d=c.vZ.gitGraph,l=(0,c.eW)(()=>(0,i.Rb)({...d,...(0,c.iE)().gitGraph}),"getConfig"),$=new o.A(()=>{let t=l(),e=t.mainBranchName,r=t.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:r}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function m(){return(0,i.MX)({length:7})}function g(t,e){let r=Object.create(null);return t.reduce((t,a)=>{let o=e(a);return!r[o]&&(r[o]=!0,t.push(a)),t},[])}(0,c.eW)(m,"getID"),(0,c.eW)(g,"uniqBy");var y=(0,c.eW)(function(t){$.records.direction=t},"setDirection"),p=(0,c.eW)(function(t){c.cM.debug("options str",t),t=(t=t?.trim())||"{}";try{$.records.options=JSON.parse(t)}catch(t){c.cM.error("error while parsing gitGraph options",t.message)}},"setOptions"),f=(0,c.eW)(function(){return $.records.options},"getOptions"),x=(0,c.eW)(function(t){let e=t.msg,r=t.id,a=t.type,o=t.tags;c.cM.info("commit",e,r,a,o),c.cM.debug("Entering commit:",e,r,a,o);let i=l();r=c.SY.sanitizeText(r,i),e=c.SY.sanitizeText(e,i),o=o?.map(t=>c.SY.sanitizeText(t,i));let n={id:r||$.records.seq+"-"+m(),message:e,seq:$.records.seq++,type:a??h.NORMAL,tags:o??[],parents:null==$.records.head?[]:[$.records.head.id],branch:$.records.currBranch};$.records.head=n,c.cM.info("main branch",i.mainBranchName),$.records.commits.set(n.id,n),$.records.branches.set($.records.currBranch,n.id),c.cM.debug("in pushCommit "+n.id)},"commit"),u=(0,c.eW)(function(t){let e=t.name,r=t.order;if(e=c.SY.sanitizeText(e,l()),$.records.branches.has(e))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);$.records.branches.set(e,null!=$.records.head?$.records.head.id:null),$.records.branchConfig.set(e,{name:e,order:r}),B(e),c.cM.debug("in createBranch")},"branch"),b=(0,c.eW)(t=>{let e=t.branch,r=t.id,a=t.type,o=t.tags,i=l();e=c.SY.sanitizeText(e,i),r&&(r=c.SY.sanitizeText(r,i));let n=$.records.branches.get($.records.currBranch),s=$.records.branches.get(e),d=n?$.records.commits.get(n):void 0,g=s?$.records.commits.get(s):void 0;if(d&&g&&d.branch===e)throw Error(`Cannot merge branch '${e}' into itself.`);if($.records.currBranch===e){let t=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(void 0===d||!d){let t=Error(`Incorrect usage of "merge". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},t}if(!$.records.branches.has(e)){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},t}if(void 0===g||!g){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},t}if(d===g){let t=Error('Incorrect usage of "merge". Both branches have same head');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(r&&$.records.commits.has(r)){let t=Error('Incorrect usage of "merge". Commit with id:'+r+" already exists, use different custom Id");throw t.hash={text:`merge ${e} ${r} ${a} ${o?.join(" ")}`,token:`merge ${e} ${r} ${a} ${o?.join(" ")}`,expected:[`merge ${e} ${r}_UNIQUE ${a} ${o?.join(" ")}`]},t}let y={id:r||`${$.records.seq}-${m()}`,message:`merged branch ${e} into ${$.records.currBranch}`,seq:$.records.seq++,parents:null==$.records.head?[]:[$.records.head.id,s||""],branch:$.records.currBranch,type:h.MERGE,customType:a,customId:!!r,tags:o??[]};$.records.head=y,$.records.commits.set(y.id,y),$.records.branches.set($.records.currBranch,y.id),c.cM.debug($.records.branches),c.cM.debug("in mergeBranch")},"merge"),w=(0,c.eW)(function(t){let e=t.id,r=t.targetId,a=t.tags,o=t.parent;c.cM.debug("Entering cherryPick:",e,r,a);let i=l();if(e=c.SY.sanitizeText(e,i),r=c.SY.sanitizeText(r,i),a=a?.map(t=>c.SY.sanitizeText(t,i)),o=c.SY.sanitizeText(o,i),!e||!$.records.commits.has(e)){let t=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let n=$.records.commits.get(e);if(void 0===n||!n)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let s=n.branch;if(n.type===h.MERGE&&!o)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!r||!$.records.commits.has(r)){if(s===$.records.currBranch){let t=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let t=$.records.branches.get($.records.currBranch);if(void 0===t||!t){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let i=$.records.commits.get(t);if(void 0===i||!i){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let d={id:$.records.seq+"-"+m(),message:`cherry-picked ${n?.message} into ${$.records.currBranch}`,seq:$.records.seq++,parents:null==$.records.head?[]:[$.records.head.id,n.id],branch:$.records.currBranch,type:h.CHERRY_PICK,tags:a?a.filter(Boolean):[`cherry-pick:${n.id}${n.type===h.MERGE?`|parent:${o}`:""}`]};$.records.head=d,$.records.commits.set(d.id,d),$.records.branches.set($.records.currBranch,d.id),c.cM.debug($.records.branches),c.cM.debug("in cherryPick")}},"cherryPick"),B=(0,c.eW)(function(t){if(t=c.SY.sanitizeText(t,l()),$.records.branches.has(t)){$.records.currBranch=t;let e=$.records.branches.get($.records.currBranch);void 0!==e&&e?$.records.head=$.records.commits.get(e)??null:$.records.head=null}else{let e=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw e.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},e}},"checkout");function E(t,e,r){let a=t.indexOf(e);-1===a?t.push(r):t.splice(a,1,r)}function k(t){let e=t.reduce((t,e)=>t.seq>e.seq?t:e,t[0]),r="";t.forEach(function(t){t===e?r+=" *":r+=" |"});let a=[r,e.id,e.seq];for(let t in $.records.branches)$.records.branches.get(t)===e.id&&a.push(t);if(c.cM.debug(a.join(" ")),e.parents&&2==e.parents.length&&e.parents[0]&&e.parents[1]){let r=$.records.commits.get(e.parents[0]);E(t,e,r),e.parents[1]&&t.push($.records.commits.get(e.parents[1]))}else if(0==e.parents.length)return;else if(e.parents[0]){let r=$.records.commits.get(e.parents[0]);E(t,e,r)}k(t=g(t,t=>t.id))}(0,c.eW)(E,"upsert"),(0,c.eW)(k,"prettyPrintCommitHistory");var M=(0,c.eW)(function(){c.cM.debug($.records.commits),k([v()[0]])},"prettyPrint"),C=(0,c.eW)(function(){$.reset(),(0,c.ZH)()},"clear"),L=(0,c.eW)(function(){return[...$.records.branchConfig.values()].map((t,e)=>null!==t.order&&void 0!==t.order?t:{...t,order:parseFloat(`0.${e}`)}).sort((t,e)=>(t.order??0)-(e.order??0)).map(({name:t})=>({name:t}))},"getBranchesAsObjArray"),T=(0,c.eW)(function(){return $.records.branches},"getBranches"),W=(0,c.eW)(function(){return $.records.commits},"getCommits"),v=(0,c.eW)(function(){let t=[...$.records.commits.values()];return t.forEach(function(t){c.cM.debug(t.id)}),t.sort((t,e)=>t.seq-e.seq),t},"getCommitsArray"),R=(0,c.eW)(function(){return $.records.currBranch},"getCurrentBranch"),P=(0,c.eW)(function(){return $.records.direction},"getDirection"),A={commitType:h,getConfig:l,setDirection:y,setOptions:p,getOptions:f,commit:x,branch:u,merge:b,cherryPick:w,checkout:B,prettyPrint:M,clear:C,getBranchesAsObjArray:L,getBranches:T,getCommits:W,getCommitsArray:v,getCurrentBranch:R,getDirection:P,getHead:(0,c.eW)(function(){return $.records.head},"getHead"),setAccTitle:c.GN,getAccTitle:c.eu,getAccDescription:c.Mx,setAccDescription:c.U$,setDiagramTitle:c.g2,getDiagramTitle:c.Kr},I=(0,c.eW)((t,e)=>{for(let r of((0,a.A)(t,e),t.dir&&e.setDirection(t.dir),t.statements))G(r,e)},"populate"),G=(0,c.eW)((t,e)=>{let r={Commit:(0,c.eW)(t=>e.commit(S(t)),"Commit"),Branch:(0,c.eW)(t=>e.branch(O(t)),"Branch"),Merge:(0,c.eW)(t=>e.merge(q(t)),"Merge"),Checkout:(0,c.eW)(t=>e.checkout(H(t)),"Checkout"),CherryPicking:(0,c.eW)(t=>e.cherryPick(z(t)),"CherryPicking")}[t.$type];r?r(t):c.cM.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),S=(0,c.eW)(t=>({id:t.id,msg:t.message??"",type:void 0!==t.type?h[t.type]:h.NORMAL,tags:t.tags??void 0}),"parseCommit"),O=(0,c.eW)(t=>({name:t.name,order:t.order??0}),"parseBranch"),q=(0,c.eW)(t=>({branch:t.branch,id:t.id??"",type:void 0!==t.type?h[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),H=(0,c.eW)(t=>t.branch,"parseCheckout"),z=(0,c.eW)(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),Y={parse:(0,c.eW)(async t=>{let e=await (0,n.Qc)("gitGraph",t);c.cM.debug(e),I(e,A)},"parse")},D=(0,c.nV)(),N=D?.gitGraph,j=new Map,_=new Map,K=new Map,F=[],U=0,V="LR",Q=(0,c.eW)(()=>{j.clear(),_.clear(),K.clear(),U=0,F=[],V="LR"},"clear"),X=(0,c.eW)(t=>{let e=document.createElementNS("http://www.w3.org/2000/svg","text");return("string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach(t=>{let r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),r.setAttribute("class","row"),r.textContent=t.trim(),e.appendChild(r)}),e},"drawText"),Z=(0,c.eW)(t=>{let e,r,a;return"BT"===V?(r=(0,c.eW)((t,e)=>t<=e,"comparisonFunc"),a=1/0):(r=(0,c.eW)((t,e)=>t>=e,"comparisonFunc"),a=0),t.forEach(t=>{let o="TB"===V||"BT"==V?_.get(t)?.y:_.get(t)?.x;void 0!==o&&r(o,a)&&(e=t,a=o)}),e},"findClosestParent"),J=(0,c.eW)(t=>{let e="",r=1/0;return t.forEach(t=>{let a=_.get(t).y;a<=r&&(e=t,r=a)}),e||void 0},"findClosestParentBT"),tt=(0,c.eW)((t,e,r)=>{let a=r,o=r,i=[];t.forEach(t=>{let r=e.get(t);if(!r)throw Error(`Commit not found for key ${t}`);r.parents.length?o=Math.max(a=tr(r),o):i.push(r),ta(r,a)}),a=o,i.forEach(t=>{to(t,a,r)}),t.forEach(t=>{let r=e.get(t);if(r?.parents.length){let t=J(r.parents);(a=_.get(t).y-40)<=o&&(o=a);let e=j.get(r.branch).pos,i=a-10;_.set(r.id,{x:e,y:i})}})},"setParallelBTPos"),te=(0,c.eW)(t=>{let e=Z(t.parents.filter(t=>null!==t));if(!e)throw Error(`Closest parent not found for commit ${t.id}`);let r=_.get(e)?.y;if(void 0===r)throw Error(`Closest parent position not found for commit ${t.id}`);return r},"findClosestParentPos"),tr=(0,c.eW)(t=>te(t)+40,"calculateCommitPosition"),ta=(0,c.eW)((t,e)=>{let r=j.get(t.branch);if(!r)throw Error(`Branch not found for commit ${t.id}`);let a=r.pos,o=e+10;return _.set(t.id,{x:a,y:o}),{x:a,y:o}},"setCommitPosition"),to=(0,c.eW)((t,e,r)=>{let a=j.get(t.branch);if(!a)throw Error(`Branch not found for commit ${t.id}`);let o=a.pos;_.set(t.id,{x:o,y:e+r})},"setRootPosition"),ti=(0,c.eW)((t,e,r,a,o,i)=>{if(i===h.HIGHLIGHT)t.append("rect").attr("x",r.x-10).attr("y",r.y-10).attr("width",20).attr("height",20).attr("class",`commit ${e.id} commit-highlight${o%8} ${a}-outer`),t.append("rect").attr("x",r.x-6).attr("y",r.y-6).attr("width",12).attr("height",12).attr("class",`commit ${e.id} commit${o%8} ${a}-inner`);else if(i===h.CHERRY_PICK)t.append("circle").attr("cx",r.x).attr("cy",r.y).attr("r",10).attr("class",`commit ${e.id} ${a}`),t.append("circle").attr("cx",r.x-3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${a}`),t.append("circle").attr("cx",r.x+3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${a}`),t.append("line").attr("x1",r.x+3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${a}`),t.append("line").attr("x1",r.x-3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${a}`);else{let c=t.append("circle");if(c.attr("cx",r.x),c.attr("cy",r.y),c.attr("r",e.type===h.MERGE?9:10),c.attr("class",`commit ${e.id} commit${o%8}`),i===h.MERGE){let i=t.append("circle");i.attr("cx",r.x),i.attr("cy",r.y),i.attr("r",6),i.attr("class",`commit ${a} ${e.id} commit${o%8}`)}i===h.REVERSE&&t.append("path").attr("d",`M ${r.x-5},${r.y-5}L${r.x+5},${r.y+5}M${r.x-5},${r.y+5}L${r.x+5},${r.y-5}`).attr("class",`commit ${a} ${e.id} commit${o%8}`)}},"drawCommitBullet"),tc=(0,c.eW)((t,e,r,a)=>{if(e.type!==h.CHERRY_PICK&&(e.customId&&e.type===h.MERGE||e.type!==h.MERGE)&&N?.showCommitLabel){let o=t.append("g"),i=o.insert("rect").attr("class","commit-label-bkg"),c=o.append("text").attr("x",a).attr("y",r.y+25).attr("class","commit-label").text(e.id),n=c.node()?.getBBox();if(n&&(i.attr("x",r.posWithOffset-n.width/2-2).attr("y",r.y+13.5).attr("width",n.width+4).attr("height",n.height+4),"TB"===V||"BT"===V?(i.attr("x",r.x-(n.width+16+5)).attr("y",r.y-12),c.attr("x",r.x-(n.width+16)).attr("y",r.y+n.height-12)):c.attr("x",r.posWithOffset-n.width/2),N.rotateCommitLabel)){if("TB"===V||"BT"===V)c.attr("transform","rotate(-45, "+r.x+", "+r.y+")"),i.attr("transform","rotate(-45, "+r.x+", "+r.y+")");else{let t=-7.5-(n.width+10)/25*9.5,e=10+n.width/25*8.5;o.attr("transform","translate("+t+", "+e+") rotate(-45, "+a+", "+r.y+")")}}}},"drawCommitLabel"),tn=(0,c.eW)((t,e,r,a)=>{if(e.tags.length>0){let o=0,i=0,c=0,n=[];for(let a of e.tags.reverse()){let e=t.insert("polygon"),s=t.append("circle"),h=t.append("text").attr("y",r.y-16-o).attr("class","tag-label").text(a),d=h.node()?.getBBox();if(!d)throw Error("Tag bbox not found");i=Math.max(i,d.width),c=Math.max(c,d.height),h.attr("x",r.posWithOffset-d.width/2),n.push({tag:h,hole:s,rect:e,yOffset:o}),o+=20}for(let{tag:t,hole:e,rect:o,yOffset:s}of n){let n=c/2,h=r.y-19.2-s;if(o.attr("class","tag-label-bkg").attr("points",` + ${a-i/2-2},${h+2} + ${a-i/2-2},${h-2} + ${r.posWithOffset-i/2-4},${h-n-2} + ${r.posWithOffset+i/2+4},${h-n-2} + ${r.posWithOffset+i/2+4},${h+n+2} + ${r.posWithOffset-i/2-4},${h+n+2}`),e.attr("cy",h).attr("cx",a-i/2+2).attr("r",1.5).attr("class","tag-hole"),"TB"===V||"BT"===V){let c=a+s;o.attr("class","tag-label-bkg").attr("points",` + ${r.x},${c+2} + ${r.x},${c-2} + ${r.x+10},${c-n-2} + ${r.x+10+i+4},${c-n-2} + ${r.x+10+i+4},${c+n+2} + ${r.x+10},${c+n+2}`).attr("transform","translate(12,12) rotate(45, "+r.x+","+a+")"),e.attr("cx",r.x+2).attr("cy",c).attr("transform","translate(12,12) rotate(45, "+r.x+","+a+")"),t.attr("x",r.x+5).attr("y",c+3).attr("transform","translate(14,14) rotate(45, "+r.x+","+a+")")}}}},"drawCommitTags"),ts=(0,c.eW)(t=>{switch(t.customType??t.type){case h.NORMAL:return"commit-normal";case h.REVERSE:return"commit-reverse";case h.HIGHLIGHT:return"commit-highlight";case h.MERGE:return"commit-merge";case h.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),th=(0,c.eW)((t,e,r,a)=>{let o={x:0,y:0};if(t.parents.length>0){let r=Z(t.parents);if(r){let i=a.get(r)??o;return"TB"===e?i.y+40:"BT"===e?(a.get(t.id)??o).y-40:i.x+40}}else{if("TB"===e)return 30;if("BT"===e)return(a.get(t.id)??o).y-40}return 0},"calculatePosition"),td=(0,c.eW)((t,e,r)=>{let a="BT"===V&&r?e:e+10,o="TB"===V||"BT"===V?a:j.get(t.branch)?.pos,i="TB"===V||"BT"===V?j.get(t.branch)?.pos:a;if(void 0===i||void 0===o)throw Error(`Position were undefined for commit ${t.id}`);return{x:i,y:o,posWithOffset:a}},"getCommitPosition"),tl=(0,c.eW)((t,e,r)=>{if(!N)throw Error("GitGraph config not found");let a=t.append("g").attr("class","commit-bullets"),o=t.append("g").attr("class","commit-labels"),i="TB"===V||"BT"===V?30:0,n=[...e.keys()],s=N?.parallelCommits??!1,h=n.sort((0,c.eW)((t,r)=>{let a=e.get(t)?.seq,o=e.get(r)?.seq;return void 0!==a&&void 0!==o?a-o:0},"sortKeys"));"BT"===V&&(s&&tt(h,e,i),h=h.reverse()),h.forEach(t=>{let c=e.get(t);if(!c)throw Error(`Commit not found for key ${t}`);s&&(i=th(c,V,i,_));let n=td(c,i,s);if(r){let t=ts(c),e=c.customType??c.type,r=j.get(c.branch)?.index??0;ti(a,c,n,t,r,e),tc(o,c,n,i),tn(o,c,n,i)}"TB"===V||"BT"===V?_.set(c.id,{x:n.x,y:n.posWithOffset}):_.set(c.id,{x:n.posWithOffset,y:n.y}),(i="BT"===V&&s?i+40:i+40+10)>U&&(U=i)})},"drawCommits"),t$=(0,c.eW)((t,e,r,a,o)=>{let i=("TB"===V||"BT"===V?r.x<a.x:r.y<a.y)?e.branch:t.branch,n=(0,c.eW)(t=>t.branch===i,"isOnBranchToGetCurve"),s=(0,c.eW)(r=>r.seq>t.seq&&r.seq<e.seq,"isBetweenCommits");return[...o.values()].some(t=>s(t)&&n(t))},"shouldRerouteArrow"),tm=(0,c.eW)((t,e,r=0)=>{let a=t+Math.abs(t-e)/2;if(r>5)return a;if(F.every(t=>Math.abs(t-a)>=10))return F.push(a),a;let o=Math.abs(t-e);return tm(t,e-o/5,r+1)},"findLane"),tg=(0,c.eW)((t,e,r,a)=>{let o;let i=_.get(e.id),c=_.get(r.id);if(void 0===i||void 0===c)throw Error(`Commit positions not found for commits ${e.id} and ${r.id}`);let n=t$(e,r,i,c,a),s="",d="",l=0,$=0,m=j.get(r.branch)?.index;if(r.type===h.MERGE&&e.id!==r.parents[0]&&(m=j.get(e.branch)?.index),n){s="A 10 10, 0, 0, 0,",d="A 10 10, 0, 0, 1,",l=10,$=10;let t=i.y<c.y?tm(i.y,c.y):tm(c.y,i.y),r=i.x<c.x?tm(i.x,c.x):tm(c.x,i.x);"TB"===V?i.x<c.x?o=`M ${i.x} ${i.y} L ${r-l} ${i.y} ${d} ${r} ${i.y+$} L ${r} ${c.y-l} ${s} ${r+$} ${c.y} L ${c.x} ${c.y}`:(m=j.get(e.branch)?.index,o=`M ${i.x} ${i.y} L ${r+l} ${i.y} ${s} ${r} ${i.y+$} L ${r} ${c.y-l} ${d} ${r-$} ${c.y} L ${c.x} ${c.y}`):"BT"===V?i.x<c.x?o=`M ${i.x} ${i.y} L ${r-l} ${i.y} ${s} ${r} ${i.y-$} L ${r} ${c.y+l} ${d} ${r+$} ${c.y} L ${c.x} ${c.y}`:(m=j.get(e.branch)?.index,o=`M ${i.x} ${i.y} L ${r+l} ${i.y} ${d} ${r} ${i.y-$} L ${r} ${c.y+l} ${s} ${r-$} ${c.y} L ${c.x} ${c.y}`):i.y<c.y?o=`M ${i.x} ${i.y} L ${i.x} ${t-l} ${s} ${i.x+$} ${t} L ${c.x-l} ${t} ${d} ${c.x} ${t+$} L ${c.x} ${c.y}`:(m=j.get(e.branch)?.index,o=`M ${i.x} ${i.y} L ${i.x} ${t+l} ${d} ${i.x+$} ${t} L ${c.x-l} ${t} ${s} ${c.x} ${t-$} L ${c.x} ${c.y}`)}else s="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",l=20,$=20,"TB"===V?(i.x<c.x&&(o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y-l} ${s} ${i.x+$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${d} ${c.x} ${i.y+$} L ${c.x} ${c.y}`),i.x>c.x&&(s="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",l=20,$=20,o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y-l} ${d} ${i.x-$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x+l} ${i.y} ${s} ${c.x} ${i.y+$} L ${c.x} ${c.y}`),i.x===c.x&&(o=`M ${i.x} ${i.y} L ${c.x} ${c.y}`)):"BT"===V?(i.x<c.x&&(o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y+l} ${d} ${i.x+$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${s} ${c.x} ${i.y-$} L ${c.x} ${c.y}`),i.x>c.x&&(s="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",l=20,$=20,o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y+l} ${s} ${i.x-$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${s} ${c.x} ${i.y-$} L ${c.x} ${c.y}`),i.x===c.x&&(o=`M ${i.x} ${i.y} L ${c.x} ${c.y}`)):(i.y<c.y&&(o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${d} ${c.x} ${i.y+$} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${i.x} ${c.y-l} ${s} ${i.x+$} ${c.y} L ${c.x} ${c.y}`),i.y>c.y&&(o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${s} ${c.x} ${i.y-$} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${i.x} ${c.y+l} ${d} ${i.x+$} ${c.y} L ${c.x} ${c.y}`),i.y===c.y&&(o=`M ${i.x} ${i.y} L ${c.x} ${c.y}`));if(void 0===o)throw Error("Line definition not found");t.append("path").attr("d",o).attr("class","arrow arrow"+m%8)},"drawArrow"),ty=(0,c.eW)((t,e)=>{let r=t.append("g").attr("class","commit-arrows");[...e.keys()].forEach(t=>{let a=e.get(t);a.parents&&a.parents.length>0&&a.parents.forEach(t=>{tg(r,e.get(t),a,e)})})},"drawArrows"),tp=(0,c.eW)((t,e)=>{let r=t.append("g");e.forEach((t,e)=>{let a=e%8,o=j.get(t.name)?.pos;if(void 0===o)throw Error(`Position not found for branch ${t.name}`);let i=r.append("line");i.attr("x1",0),i.attr("y1",o),i.attr("x2",U),i.attr("y2",o),i.attr("class","branch branch"+a),"TB"===V?(i.attr("y1",30),i.attr("x1",o),i.attr("y2",U),i.attr("x2",o)):"BT"===V&&(i.attr("y1",U),i.attr("x1",o),i.attr("y2",30),i.attr("x2",o)),F.push(o);let c=X(t.name),n=r.insert("rect"),s=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+a);s.node().appendChild(c);let h=c.getBBox();n.attr("class","branchLabelBkg label"+a).attr("rx",4).attr("ry",4).attr("x",-h.width-4-(N?.rotateCommitLabel===!0?30:0)).attr("y",-h.height/2+8).attr("width",h.width+18).attr("height",h.height+4),s.attr("transform","translate("+(-h.width-14-(N?.rotateCommitLabel===!0?30:0))+", "+(o-h.height/2-1)+")"),"TB"===V?(n.attr("x",o-h.width/2-10).attr("y",0),s.attr("transform","translate("+(o-h.width/2-5)+", 0)")):"BT"===V?(n.attr("x",o-h.width/2-10).attr("y",U),s.attr("transform","translate("+(o-h.width/2-5)+", "+U+")")):n.attr("transform","translate(-19, "+(o-h.height/2)+")")})},"drawBranches"),tf=(0,c.eW)(function(t,e,r,a,o){return j.set(t,{pos:e,index:r}),e+=50+(o?40:0)+("TB"===V||"BT"===V?a.width/2:0)},"setBranchPosition"),tx=(0,c.eW)(function(t,e,r,a){if(Q(),c.cM.debug("in gitgraph renderer",t+"\n","id:",e,r),!N)throw Error("GitGraph config not found");let o=N.rotateCommitLabel??!1,n=a.db;K=n.getCommits();let h=n.getBranchesAsObjArray();V=n.getDirection();let d=(0,s.Ys)(`[id="${e}"]`),l=0;h.forEach((t,e)=>{let r=X(t.name),a=d.append("g"),i=a.insert("g").attr("class","branchLabel"),c=i.insert("g").attr("class","label branch-label");c.node()?.appendChild(r);let n=r.getBBox();l=tf(t.name,l,e,n,o),c.remove(),i.remove(),a.remove()}),tl(d,K,!1),N.showBranches&&tp(d,h),ty(d,K),tl(d,K,!0),i.w8.insertTitle(d,"gitTitleText",N.titleTopMargin??0,n.getDiagramTitle()),(0,c.Rw)(void 0,d,N.diagramPadding,N.useMaxWidth)},"draw"),tu=(0,c.eW)(t=>` + .commit-id, + .commit-msg, + .branch-label { + fill: lightgrey; + color: lightgrey; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + } + ${[0,1,2,3,4,5,6,7].map(e=>` + .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; } + .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; } + .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; } + .label${e} { fill: ${t["git"+e]}; } + .arrow${e} { stroke: ${t["git"+e]}; } + `).join("\n")} + + .branch { + stroke-width: 1; + stroke: ${t.lineColor}; + stroke-dasharray: 2; + } + .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};} + .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; } + .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};} + .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; } + .tag-hole { fill: ${t.textColor}; } + + .commit-merge { + stroke: ${t.primaryColor}; + fill: ${t.primaryColor}; + } + .commit-reverse { + stroke: ${t.primaryColor}; + fill: ${t.primaryColor}; + stroke-width: 3; + } + .commit-highlight-outer { + } + .commit-highlight-inner { + stroke: ${t.primaryColor}; + fill: ${t.primaryColor}; + } + + .arrow { stroke-width: 8; stroke-linecap: round; fill: none} + .gitTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } +`,"getStyles"),tb={parser:Y,db:A,renderer:{draw:tx},styles:tu}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/992aa281.5ffa00cd.js b/pr-preview/pr-3/assets/js/992aa281.5ffa00cd.js new file mode 100644 index 0000000..0d27727 --- /dev/null +++ b/pr-preview/pr-3/assets/js/992aa281.5ffa00cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9277"],{45067:function(e,i,r){r.r(i),r.d(i,{metadata:()=>t,contentTitle:()=>m,default:()=>j,assets:()=>f,toc:()=>g,frontMatter:()=>u});var t=JSON.parse('{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","source":"@site/docs/spec/data/parcel_id.mdx","sourceDirName":"spec/data","slug":"/spec/data/parcel_id","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/parcel_id.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Code","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/code"},"next":{"title":"Project Bundle","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle"}}'),a=r("85893"),n=r("50065"),s=r("45056"),d=r("98477"),l=r.n(d),c=r("47902"),o=r("5525"),h=JSON.parse('{"legal_description":"legal_description","parcel_name":"parcel_name","pid":[123456789,456789123],"pin":987654321}'),p=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/parcel_id.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","type":"object","properties":{"legal_description":{"type":"string","description":"The full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.","maxLength":2000},"parcel_name":{"type":"string","description":"The same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK."},"pid":{"type":"array","items":{"type":"integer","description":"Parcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.","minimum":0,"maximum":999999999},"minItems":1,"uniqueItems":true},"pin":{"type":"integer","description":"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.","minimum":0,"maximum":999999999}},"anyOf":[{"title":"pid","required":["pid"]},{"title":"pin","required":["pin"]}]}');let u={id:"parcel_id",title:"Parcel Identifier",description:"An identifier for a specific area with clear boundaries.",tags:["developer"]},m=void 0,f={},g=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"Parcel ID (PID)",id:"parcel-id-pid",level:3},{value:"References",id:"references",level:2}];function x(e){let i={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.p,{children:"An identifier for a specific area with clear boundaries."}),"\n",(0,a.jsx)(i.p,{children:"There a multiple ways to identify a parcel. Most common are the Parcel ID (PID) or Parcel Identification Number (PIN)."}),"\n",(0,a.jsx)(i.h2,{id:"scope",children:"Scope"}),"\n",(0,a.jsx)(i.p,{children:"Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the\nland title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being\nentered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier."}),"\n",(0,a.jsx)(i.p,{children:"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier."}),"\n",(0,a.jsx)(i.h2,{id:"structure",children:"Structure"}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsxs)(i.li,{children:["A valid Parcel Identifier shall at minimum contain either a ",(0,a.jsx)(i.code,{children:"pin"})," or at least one ",(0,a.jsx)(i.code,{children:"pid"}),"."]}),"\n",(0,a.jsxs)(i.li,{children:["A Parcel Identifier may contain a ",(0,a.jsx)(i.code,{children:"legal_description"})," and/or a ",(0,a.jsx)(i.code,{children:"parcel_name"}),"."]}),"\n"]}),"\n",(0,a.jsxs)(i.table,{children:[(0,a.jsx)(i.thead,{children:(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.th,{children:"Name"}),(0,a.jsx)(i.th,{children:"Cardinality"}),(0,a.jsx)(i.th,{children:"Type"}),(0,a.jsx)(i.th,{children:"Description & Constraints"})]})}),(0,a.jsxs)(i.tbody,{children:[(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"legal_description"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"string"})}),(0,a.jsx)(i.td,{children:"The full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"parcel_name"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"string"})}),(0,a.jsx)(i.td,{children:"The same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"pid"}),(0,a.jsx)(i.td,{children:"0..*"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"integer"})}),(0,a.jsx)(i.td,{children:"Parcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"pin"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"integer"})}),(0,a.jsx)(i.td,{children:"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier."})]})]})]}),"\n",(0,a.jsx)(i.h2,{id:"specification",children:"Specification"}),"\n",(0,a.jsxs)(c.default,{queryString:"tab",children:[(0,a.jsx)(o.default,{value:"schema",label:"Schema",default:!0,children:(0,a.jsx)(l(),{schema:p,viewerOptions:{showExamples:!0}})}),(0,a.jsx)(o.default,{value:"source",label:"Source",children:(0,a.jsx)(s.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})}),(0,a.jsx)(o.default,{value:"example",label:"Example",children:(0,a.jsx)(s.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(h,null,2)})})]}),"\n",(0,a.jsx)(i.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,a.jsx)(i.h3,{id:"parcel-id-pid",children:"Parcel ID (PID)"}),"\n",(0,a.jsxs)(i.p,{children:["Parcel IDs are stored as numeric values from ",(0,a.jsx)(i.a,{href:"https://help.ltsa.ca/parcelmap-bc/parcels",children:"ParcelMap BC (PMBC)"}),". During\nthe PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes\npadded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see ",(0,a.jsx)(i.a,{href:"https://catalogue.data.gov.bc.ca/group/47fa4daf-78d1-4c64-a0d2-51638a04910d",children:"BC Data Catalogue"}),") and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes:"]}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsxs)(i.li,{children:[(0,a.jsx)(i.code,{children:"parcel_id_formatted"})," (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits."]}),"\n",(0,a.jsxs)(i.li,{children:[(0,a.jsx)(i.code,{children:"parcel_id_number"})," (numeric, 10): The Parcel ID as a number, without leading zeroes."]}),"\n"]}),"\n",(0,a.jsxs)(i.p,{children:["Should these alternatives be encountered, they must be transformed into a standard JSON ",(0,a.jsx)(i.code,{children:"integer"})," primitive type."]}),"\n",(0,a.jsx)(i.h2,{id:"references",children:"References"}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsx)(i.li,{children:(0,a.jsx)(i.a,{href:"https://catalogue.data.gov.bc.ca/group/47fa4daf-78d1-4c64-a0d2-51638a04910d",children:"BC Data Catalogue"})}),"\n",(0,a.jsx)(i.li,{children:(0,a.jsx)(i.a,{href:"https://help.ltsa.ca/parcelmap-bc/parcels",children:"ParcelMap BC - Parcels"})}),"\n"]})]})}function j(e={}){let{wrapper:i}={...(0,n.a)(),...e.components};return i?(0,a.jsx)(i,{...e,children:(0,a.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/9990.85fe3b52.js b/pr-preview/pr-3/assets/js/9990.85fe3b52.js new file mode 100644 index 0000000..46dc739 --- /dev/null +++ b/pr-preview/pr-3/assets/js/9990.85fe3b52.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9990"],{74802:function(n,e,u){u.d(e,{Z:function(){return s}});let s=u(31336)},47936:function(){}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/a6b6c0c0.e7228123.js b/pr-preview/pr-3/assets/js/a6b6c0c0.e7228123.js new file mode 100644 index 0000000..df5ce77 --- /dev/null +++ b/pr-preview/pr-3/assets/js/a6b6c0c0.e7228123.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3349"],{64770:function(e){e.exports=JSON.parse('{"tag":{"label":"Developer","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/developer","description":"Content related to technical structure and implementation","allTagsPath":"/nr-pies/pr-preview/pr-3/docs/tags","count":6,"items":[{"id":"spec/data/code","title":"Code","description":"A code type","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/code"},{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/formatting"},{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id"},{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types"},{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle"},{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","permalink":"/nr-pies/pr-preview/pr-3/docs/intro/terminology"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/a7456010.aa2fcbf9.js b/pr-preview/pr-3/assets/js/a7456010.aa2fcbf9.js new file mode 100644 index 0000000..950d19f --- /dev/null +++ b/pr-preview/pr-3/assets/js/a7456010.aa2fcbf9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7365"],{62050:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/a7bd4aaa.8577d8fc.js b/pr-preview/pr-3/assets/js/a7bd4aaa.8577d8fc.js new file mode 100644 index 0000000..aad2964 --- /dev/null +++ b/pr-preview/pr-3/assets/js/a7bd4aaa.8577d8fc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5211"],{58688:function(n,e,s){s.r(e),s.d(e,{default:()=>u});var r=s("85893");s("67294");var t=s("14713"),i=s("68529"),o=s("18790"),c=s("84315");function a(n){var e,s;let{version:i}=n;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{version:i.version,tag:(e=i.pluginId,s=i.version,`docs-${e}-${s}`)}),(0,r.jsx)(t.d,{children:i.noIndex&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(n){let{version:e,route:s}=n;return(0,r.jsx)(t.FG,{className:e.className,children:(0,r.jsx)(i.q,{version:e,children:(0,o.H)(s.routes)})})}function u(n){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a,{...n}),(0,r.jsx)(l,{...n})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/a94703ab.f3460f41.js b/pr-preview/pr-3/assets/js/a94703ab.f3460f41.js new file mode 100644 index 0000000..ddbc127 --- /dev/null +++ b/pr-preview/pr-3/assets/js/a94703ab.f3460f41.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9914"],{32001:function(e,t,n){n.r(t),n.d(t,{default:()=>ec});var a=n("85893"),i=n("67294"),r=n("67026"),l=n("14713"),o=n("84681"),s=n("69369"),d=n("85609"),c=n("96025"),u=n("69599"),m=n("10346");let b={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function h(){let{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e,[n,a]=(0,i.useState)(!1),r=(0,i.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,u.Ct)();return(0,u.RF)((e,n)=>{let{scrollY:i}=e,l=n?.scrollY;if(!!l)r.current?r.current=!1:i>=l?(o(),a(!1)):i<t?a(!1):i+window.innerHeight<document.documentElement.scrollHeight&&a(!0)}),(0,m.S)(e=>{e.location.hash&&(r.current=!0,a(!1))}),{shown:n,scrollToTop:()=>l(0)}}({threshold:300});return(0,a.jsx)("button",{"aria-label":(0,c.translate)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,r.Z)("clean-btn",o.k.common.backToTopButton,b.backToTopButton,e&&b.backToTopButtonShow),type:"button",onClick:t})}var p=n("17504"),x=n("16550"),f=n("54704"),j=n("30140"),_=n("44987");function k(e){return(0,a.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,a.jsxs)("g",{fill:"#7a7a7a",children:[(0,a.jsx)("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"}),(0,a.jsx)("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"})]})})}let g="collapseSidebarButton_PEFL",v="collapseSidebarButtonIcon_kv0_";function S(e){let{onClick:t}=e;return(0,a.jsx)("button",{type:"button",title:(0,c.translate)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.translate)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,r.Z)("button button--secondary button--outline",g),onClick:t,children:(0,a.jsx)(k,{className:v})})}var C=n("22093"),N=n("85346");let T=Symbol("EmptyContext"),I=i.createContext(T);function L(e){let{children:t}=e,[n,r]=(0,i.useState)(null),l=(0,i.useMemo)(()=>({expandedItem:n,setExpandedItem:r}),[n]);return(0,a.jsx)(I.Provider,{value:l,children:t})}var Z=n("57455"),y=n("79246"),B=n("83012"),A=n("7227");function w(e){let{collapsed:t,categoryLabel:n,onClick:i}=e;return(0,a.jsx)("button",{"aria-label":t?(0,c.translate)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.translate)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),"aria-expanded":!t,type:"button",className:"clean-btn menu__caret",onClick:i})}function H(e){let{item:t,onItemClick:n,activePath:l,level:d,index:c,...u}=e,{items:m,label:b,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),_=function(e){let t=(0,A.Z)();return(0,i.useMemo)(()=>{if(e.href&&!e.linkUnlisted)return e.href;if(!t&&!!e.collapsible)return(0,s.LM)(e)},[e,t])}(t),k=(0,s._F)(t,l),g=(0,y.Mg)(x,l),{collapsed:v,setCollapsed:S}=(0,Z.u)({initialState:()=>!!h&&!k&&t.collapsed}),{expandedItem:C,setExpandedItem:L}=function(){let e=(0,i.useContext)(I);if(e===T)throw new N.i6("DocSidebarItemsExpandedStateProvider");return e}(),H=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!v;L(e?null:c),S(e)};return!function(e){let{isActive:t,collapsed:n,updateCollapsed:a}=e,r=(0,N.D9)(t);(0,i.useEffect)(()=>{t&&!r&&n&&a(!1)},[t,r,n,a])}({isActive:k,collapsed:v,updateCollapsed:H}),(0,i.useEffect)(()=>{h&&null!=C&&C!==c&&f&&S(!0)},[h,C,c,S,f]),(0,a.jsxs)("li",{className:(0,r.Z)(o.k.docs.docSidebarItemCategory,o.k.docs.docSidebarItemCategoryLevel(d),"menu__list-item",{"menu__list-item--collapsed":v},p),children:[(0,a.jsxs)("div",{className:(0,r.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":g}),children:[(0,a.jsx)(B.Z,{className:(0,r.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{n?.(t),x?H(!1):(e.preventDefault(),H())}:()=>{n?.(t)},"aria-current":g?"page":void 0,role:h&&!x?"button":void 0,"aria-expanded":h&&!x?!v:void 0,href:h?_??"#":_,...u,children:b}),x&&h&&(0,a.jsx)(w,{collapsed:v,categoryLabel:b,onClick:e=>{e.preventDefault(),H()}})]}),(0,a.jsx)(Z.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:v,children:(0,a.jsx)(V,{items:m,tabIndex:v?-1:0,onItemClick:n,activePath:l,level:d+1})})]})}var E=n("63150"),M=n("62425");let W={menuExternalLink:"menuExternalLink_NmtK"};function F(e){let{item:t,onItemClick:n,activePath:i,level:l,index:d,...c}=e,{href:u,label:m,className:b,autoAddBaseUrl:h}=t,p=(0,s._F)(t,i),x=(0,E.Z)(u);return(0,a.jsx)("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(l),"menu__list-item",b),children:(0,a.jsxs)(B.Z,{className:(0,r.Z)("menu__link",!x&&W.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:u,...x&&{onClick:n?()=>n(t):void 0},...c,children:[m,!x&&(0,a.jsx)(M.Z,{})]})},m)}let R={menuHtmlItem:"menuHtmlItem_M9Kj"};function D(e){let{item:t,level:n,index:i}=e,{value:l,defaultStyle:s,className:d}=t;return(0,a.jsx)("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(n),s&&[R.menuHtmlItem,"menu__list-item"],d),dangerouslySetInnerHTML:{__html:l}},i)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,a.jsx)(H,{item:t,...n});case"html":return(0,a.jsx)(D,{item:t,...n});default:return(0,a.jsx)(F,{item:t,...n})}}let V=(0,i.memo)(function(e){let{items:t,...n}=e,i=(0,s.f)(t,n.activePath);return(0,a.jsx)(L,{children:i.map((e,t)=>(0,a.jsx)(P,{item:e,index:t,...n},t))})}),U={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function K(e){let{path:t,sidebar:n,className:l}=e,s=function(){let{isActive:e}=(0,C.n)(),[t,n]=(0,i.useState)(e);return(0,u.RF)(t=>{let{scrollY:a}=t;e&&n(0===a)},[e]),e&&t}();return(0,a.jsx)("nav",{"aria-label":(0,c.translate)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,r.Z)("menu thin-scrollbar",U.menu,s&&U.menuWithAnnouncementBar,l),children:(0,a.jsx)("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:n,activePath:t,level:1})})})}let z={sidebar:"sidebar_njMd",sidebarWithHideableNavbar:"sidebarWithHideableNavbar_wUlq",sidebarHidden:"sidebarHidden_VK0M",sidebarLogo:"sidebarLogo_isFc"},G=i.memo(function(e){let{path:t,sidebar:n,onCollapse:i,isHidden:l}=e,{navbar:{hideOnScroll:o},docs:{sidebar:{hideable:s}}}=(0,j.L)();return(0,a.jsxs)("div",{className:(0,r.Z)(z.sidebar,o&&z.sidebarWithHideableNavbar,l&&z.sidebarHidden),children:[o&&(0,a.jsx)(_.Z,{tabIndex:-1,className:z.sidebarLogo}),(0,a.jsx)(K,{path:t,sidebar:n}),s&&(0,a.jsx)(S,{onClick:i})]})});var Y=n("11179"),q=n("71915");let J=e=>{let{sidebar:t,path:n}=e,i=(0,q.e)();return(0,a.jsx)("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&i.toggle(),"link"===e.type&&i.toggle()},level:1})})},O=i.memo(function(e){return(0,a.jsx)(Y.Zo,{component:J,props:e})});function Q(e){let t=(0,f.i)();return(0,a.jsxs)(a.Fragment,{children:[("desktop"===t||"ssr"===t)&&(0,a.jsx)(G,{...e}),"mobile"===t&&(0,a.jsx)(O,{...e})]})}let X="expandButton_TmdG",$="expandButtonIcon_i1dp";function ee(e){let{toggleSidebar:t}=e;return(0,a.jsx)("div",{className:X,title:(0,c.translate)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.translate)({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,children:(0,a.jsx)(k,{className:$})})}let et={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function en(e){let{children:t}=e,n=(0,d.V)();return(0,a.jsx)(i.Fragment,{children:t},n?.name??"noSidebar")}function ea(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:l}=e,{pathname:s}=(0,x.TH)(),[d,c]=(0,i.useState)(!1),u=(0,i.useCallback)(()=>{d&&c(!1),!d&&(0,p.n)()&&c(!0),l(e=>!e)},[l,d]);return(0,a.jsx)("aside",{className:(0,r.Z)(o.k.docs.docSidebarContainer,et.docSidebarContainer,n&&et.docSidebarContainerHidden),onTransitionEnd:e=>{if(!!e.currentTarget.classList.contains(et.docSidebarContainer))n&&c(!0)},children:(0,a.jsx)(en,{children:(0,a.jsxs)("div",{className:(0,r.Z)(et.sidebarViewport,d&&et.sidebarViewportHidden),children:[(0,a.jsx)(Q,{sidebar:t,path:s,onCollapse:u,isHidden:d}),d&&(0,a.jsx)(ee,{toggleSidebar:u})]})})})}let ei={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function er(e){let{hiddenSidebarContainer:t,children:n}=e,i=(0,d.V)();return(0,a.jsx)("main",{className:(0,r.Z)(ei.docMainContainer,(t||!i)&&ei.docMainContainerEnhanced),children:(0,a.jsx)("div",{className:(0,r.Z)("container padding-top--md padding-bottom--lg",ei.docItemWrapper,t&&ei.docItemWrapperEnhanced),children:n})})}let el="docRoot_UBD9",eo="docsWrapper_hBAB";function es(e){let{children:t}=e,n=(0,d.V)(),[r,l]=(0,i.useState)(!1);return(0,a.jsxs)("div",{className:eo,children:[(0,a.jsx)(h,{}),(0,a.jsxs)("div",{className:el,children:[n&&(0,a.jsx)(ea,{sidebar:n.items,hiddenSidebarContainer:r,setHiddenSidebarContainer:l}),(0,a.jsx)(er,{hiddenSidebarContainer:r,children:t})]})]})}var ed=n("74593");function ec(e){let t=(0,s.SN)(e);if(!t)return(0,a.jsx)(ed.Z,{});let{docElement:n,sidebarName:i,sidebarItems:c}=t;return(0,a.jsx)(l.FG,{className:(0,r.Z)(o.k.page.docsDocPage),children:(0,a.jsx)(d.b,{name:i,items:c,children:(0,a.jsx)(es,{children:n})})})}},74593:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(85893);n(67294);var i=n(67026),r=n(96025),l=n(34403);function o(e){let{className:t}=e;return(0,a.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,a.jsx)(l.Z,{as:"h1",className:"hero__title",children:(0,a.jsx)(r.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"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/pr-preview/pr-3/assets/js/aba21aa0.5546b266.js b/pr-preview/pr-3/assets/js/aba21aa0.5546b266.js new file mode 100644 index 0000000..02a12e1 --- /dev/null +++ b/pr-preview/pr-3/assets/js/aba21aa0.5546b266.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5112"],{42418:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/b06371b7.027811e1.js b/pr-preview/pr-3/assets/js/b06371b7.027811e1.js new file mode 100644 index 0000000..1f25b23 --- /dev/null +++ b/pr-preview/pr-3/assets/js/b06371b7.027811e1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3811"],{4809:function(e,i,t){t.r(i),t.d(i,{metadata:()=>n,contentTitle:()=>o,default:()=>h,assets:()=>d,toc:()=>c,frontMatter:()=>a});var n=JSON.parse('{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","source":"@site/docs/intro/terminology.md","sourceDirName":"intro","slug":"/intro/terminology","permalink":"/nr-pies/pr-preview/pr-3/docs/intro/terminology","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/intro/terminology.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732324298000,"frontMatter":{"id":"terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","tags":["business","developer"]},"sidebar":"docSidebar","previous":{"title":"Getting Started","permalink":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started"},"next":{"title":"Formatting","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/formatting"}}'),s=t("85893"),r=t("50065");let a={id:"terminology",title:"Terminology",description:"The definitions of specific technical terms and concepts used in PIES",tags:["business","developer"]},o=void 0,d={},c=[{value:"Acronyms",id:"acronyms",level:2},{value:"Concepts",id:"concepts",level:2},{value:"Actors",id:"actors",level:3},{value:"Definitions",id:"definitions",level:3},{value:"Process Tracking",id:"process-tracking",level:3},{value:"Structure",id:"structure",level:2}];function l(e){let i={h2:"h2",h3:"h3",mermaid:"mermaid",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.p,{children:"This page provides an overview and guide to the PIES resources, operations and concepts used for representing and\ncommunicating coded, structured data within this specification. Collectively, these concepts are used to provide a\ncommon definition and framework for traversing the coded concepts within PIES."}),"\n",(0,s.jsx)(i.h2,{id:"acronyms",children:"Acronyms"}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"})]})}),(0,s.jsx)(i.tbody,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"LOB"}),(0,s.jsx)(i.td,{children:"Line of Business"})]})})]}),"\n",(0,s.jsx)(i.h2,{id:"concepts",children:"Concepts"}),"\n",(0,s.jsx)(i.p,{children:"The following terms outline the main concepts used within this specification and aim to provide a common lexicon for\nunderstanding and terminology usage."}),"\n",(0,s.jsx)(i.h3,{id:"actors",children:"Actors"}),"\n",(0,s.jsx)(i.p,{children:"This section discusses the various roles that a person, group or an organization may act as within the context of PIES."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Applicant"}),(0,s.jsx)(i.td,{children:"A person, group or organization seeking an authorization to perform a set of activities."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Decision Maker"}),(0,s.jsx)(i.td,{children:"A statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Interested Party"}),(0,s.jsx)(i.td,{children:"A person, or group which may be impacted by an authorization decision."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Local Government"}),(0,s.jsx)(i.td,{children:"A Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Navigator"}),(0,s.jsx)(i.td,{children:"An established role which focuses on delivering dedicated support to applicants on application submissions."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Proponent"}),(0,s.jsx)(i.td,{children:"A synonym for an applicant."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Referral Agency"}),(0,s.jsx)(i.td,{children:"A provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Subject Matter Expert"}),(0,s.jsx)(i.td,{children:"A subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy."})]})]})]}),"\n",(0,s.jsx)(i.h3,{id:"definitions",children:"Definitions"}),"\n",(0,s.jsx)(i.p,{children:"This section outlines the definitions and common vocabulary used for representing specific concepts within PIES."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"}),(0,s.jsx)(i.th,{children:"???"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Activity"}),(0,s.jsx)(i.td,{children:"A single, specific defined intent of action an area of intent. An activity may require one or more authorizations, e.g., a housing development project."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Activity Bundling"}),(0,s.jsx)(i.td,{children:"The act of identifying the set of permits required for a certain activity."}),(0,s.jsx)(i.td,{children:"This should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Application"}),(0,s.jsx)(i.td,{children:"A submitted form(s) with the intent to obtain or amend an authorization."}),(0,s.jsx)(i.td,{children:"This might be getting muddled with the concept of a project."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Area of Intent"}),(0,s.jsx)(i.td,{children:"A set of one or more parcels which define the location(s) an activity is to be performed."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Authorization"}),(0,s.jsx)(i.td,{children:"The act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title."}),(0,s.jsx)(i.td,{children:"We might need to expand this definition over time as this is the formal umbrella term for many things."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Caseload"}),(0,s.jsx)(i.td,{children:"Work happening with the LOB to facilitate, capture and maintain a permit."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Disposition"}),(0,s.jsx)(i.td,{children:"The final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state."}),(0,s.jsx)(i.td,{children:"First attempt at defining - needs review"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Parcel"}),(0,s.jsx)(i.td,{children:"A polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions."}),(0,s.jsx)(i.td,{children:"Rephrased from LTSA page"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Permit"}),(0,s.jsx)(i.td,{children:"An official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Project"}),(0,s.jsx)(i.td,{children:"A set of applications required for a permit"}),(0,s.jsx)(i.td,{children:"Is this a fancy synonym for an activity bundle?"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Submission"}),(0,s.jsx)(i.td,{children:"The completed output of a single form as answered by an applicant."}),(0,s.jsx)(i.td,{children:'Add a note like "Submissions require an adjective declaring their application context"?'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Workload"}),(0,s.jsx)(i.td,{children:"A quantifiable measurement of the number of client-driven applications in the queue."}),(0,s.jsx)(i.td,{})]})]})]}),"\n",(0,s.jsx)(i.p,{children:"The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they\ninteract with specific parts of the process."}),"\n",(0,s.jsx)(i.mermaid,{value:'---\ntitle: Actor-Process Workflow\n---\n%% v11 broke and made all links have arrow heads\n%% Ref: https://github.com/mermaid-js/mermaid/issues/5813\nflowchart TB\n Activity@{ shape: dbl-circ }\n Applicant@{ shape: stadium }\n AOI@{ shape: rect, label: "Area of\n Interest" }\n DM@{ shape: stadium, label: "Decision\n Maker" }\n IP@{ shape: stadium, label: "Interested\n Party" }\n Issues@{ shape: diamond }\n LG@{ shape: stadium, label: "Local\n Government" }\n Navigator@{ shape: stadium }\n Parcel@{ shape: docs }\n Permit@{ shape: docs }\n SME@{ shape: stadium, label: "Subject\n Matter Expert" }\n Submission@{ shape: docs }\n\n Activity ==>|Within an| AOI\n AOI ---|Defined by| Parcel\n Applicant --\x3e|Seeking| Activity\n Applicant ==>|Completes an| Application\n Application --\x3e|Requesting for an| Authorization\n Application ==>|Notifies| RA & DM\n Authorization ==>|Grants permission for| Activity\n Authorization --\x3e|May impact| IP\n DM ==> Issues ==> Authorization\n DM <-..->|Communicates with| LG\n IP <-..->|Consults with| DM\n Navigator -.->|Identifies| Authorization\n Navigator -.->|Assists| Applicant\n Navigator <-.->|Coordinates with| DM\n Navigator <-.->|Works with| SME\n SME -.->|Informs| DM\n Parcel ---|Constrains an| Authorization\n\n subgraph Application\n Submission\n end\n subgraph Authorization\n Permit\n end\n subgraph RA[Referral Agency]\n DM\n LG\n Navigator\n SME\n end'}),"\n",(0,s.jsx)(i.h3,{id:"process-tracking",children:"Process Tracking"}),"\n",(0,s.jsx)(i.p,{children:"This section outlines the definitions and common vocabulary used for representing specific concepts within a process."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"}),(0,s.jsx)(i.th,{children:"???"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Lifecycle"}),(0,s.jsx)(i.td,{children:"Represents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end."}),(0,s.jsx)(i.td,{children:'Highest level concept; answers the "why"'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Phase"}),(0,s.jsx)(i.td,{children:"A distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle."}),(0,s.jsx)(i.td,{children:"Defines an ordering of related stages."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Stage"}),(0,s.jsx)(i.td,{children:"A discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase."}),(0,s.jsx)(i.td,{children:"Provides an ordering of higher level states within a phase of work"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"State"}),(0,s.jsx)(i.td,{children:'A description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.'}),(0,s.jsx)(i.td,{children:'Larger general "where is this at" concept'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Status"}),(0,s.jsx)(i.td,{children:'A description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.'}),(0,s.jsx)(i.td,{children:'Detailed "what is happening now" concept'})]})]})]}),"\n",(0,s.jsx)(i.p,{children:"The following diagram outlines a high level categorization map between all of the process terms and how they relate to\neach other."}),"\n",(0,s.jsx)(i.mermaid,{value:"---\ntitle: Process Tracking Concept Map\n---\nflowchart LR\n Status@{ shape: processes }\n\n subgraph Lifecycle\n subgraph Phase\n subgraph Stage\n subgraph State\n Status\n end\n end\n end\n end\n"}),"\n",(0,s.jsx)(i.h2,{id:"structure",children:"Structure"}),"\n",(0,s.jsx)(i.p,{children:"The following terms describe the structural definitions of the specification ordered from specific to general."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Data Type"}),(0,s.jsx)(i.td,{children:"A primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Identifiers"}),(0,s.jsx)(i.td,{children:'Identifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations.'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Vocabulary"}),(0,s.jsx)(i.td,{children:'A vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher."'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Schema"}),(0,s.jsx)(i.td,{children:"A schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Format"}),(0,s.jsx)(i.td,{children:'The format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML.'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"API"}),(0,s.jsx)(i.td,{children:"An application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web."})]})]})]})]})}function h(e={}){let{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},50065:function(e,i,t){t.d(i,{Z:function(){return o},a:function(){return a}});var n=t(67294);let s={},r=n.createContext(s);function a(e){let i=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(i):{...i,...e}},[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/bb64f159.09ebecef.js b/pr-preview/pr-3/assets/js/bb64f159.09ebecef.js new file mode 100644 index 0000000..dd9827b --- /dev/null +++ b/pr-preview/pr-3/assets/js/bb64f159.09ebecef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["707"],{59437:function(e,t,s){s.r(t),s.d(t,{metadata:()=>i,contentTitle:()=>u,default:()=>g,assets:()=>m,toc:()=>f,frontMatter:()=>h});var i=JSON.parse('{"id":"spec/data/code","title":"Code","description":"A code type","source":"@site/docs/spec/data/code.mdx","sourceDirName":"spec/data","slug":"/spec/data/code","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/code","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/code.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"code","title":"Code","description":"A code type","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Data Types","permalink":"/nr-pies/pr-preview/pr-3/docs/category/data-types"},"next":{"title":"Parcel Identifier","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id"}}'),n=s("85893"),r=s("50065"),a=s("45056"),c=s("98477"),d=s.n(c),o=s("47902"),l=s("5525"),p=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/code.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Code","description":"Code Data Type","type":"string","pattern":"^[^\\\\s]+( [^\\\\s]+)*$"}');let h={id:"code",title:"Code",description:"A code type",tags:["developer"]},u=void 0,m={},f=[{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function v(e){let t={code:"code",h2:"h2",p:"p",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"Indicates that the value is taken from a set of controlled strings defined elsewhere. Technically, a code is restricted\nto a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace\nother than single spaces in the contents."}),"\n",(0,n.jsx)(t.p,{children:"This data type is intended to represent a finite set of controlled strings which represents a specific, discrete\nconcept, element or idea."}),"\n",(0,n.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,n.jsxs)(t.p,{children:["Type: ",(0,n.jsx)(t.code,{children:"string"})]}),"\n",(0,n.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,n.jsxs)(o.default,{queryString:"tab",children:[(0,n.jsx)(l.default,{value:"schema",label:"Schema",default:!0,children:(0,n.jsx)(d(),{schema:p,viewerOptions:{showExamples:!0}})}),(0,n.jsx)(l.default,{value:"source",label:"Source",children:(0,n.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})]}),"\n",(0,n.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,n.jsx)(t.p,{children:"TBD"}),"\n",(0,n.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,n.jsx)(t.p,{children:"TBD"})]})}function g(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/ca7707bd.77fc42a4.js b/pr-preview/pr-3/assets/js/ca7707bd.77fc42a4.js new file mode 100644 index 0000000..7bb2d0c --- /dev/null +++ b/pr-preview/pr-3/assets/js/ca7707bd.77fc42a4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5668"],{46610:function(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docSidebar":[{"type":"category","label":"Introduction","collapsed":false,"items":[{"type":"link","label":"Getting Started","href":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started","docId":"intro/getting_started","unlisted":false},{"type":"link","label":"Terminology","href":"/nr-pies/pr-preview/pr-3/docs/intro/terminology","docId":"intro/terminology","unlisted":false}],"collapsible":true},{"type":"category","label":"Specification","collapsed":false,"items":[{"type":"link","label":"Formatting","href":"/nr-pies/pr-preview/pr-3/docs/spec/formatting","docId":"spec/formatting","unlisted":false},{"type":"category","label":"Data Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Code","href":"/nr-pies/pr-preview/pr-3/docs/spec/data/code","docId":"spec/data/code","unlisted":false},{"type":"link","label":"Parcel Identifier","href":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id","docId":"spec/data/parcel_id","unlisted":false},{"type":"link","label":"Project Bundle","href":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle","docId":"spec/data/project_bundle","unlisted":false}],"href":"/nr-pies/pr-preview/pr-3/docs/category/data-types"},{"type":"link","label":"Primitive Types","href":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types","docId":"spec/primitive_types","unlisted":false}],"collapsible":true}],"tutorialSidebar":[{"type":"category","label":"Docusaurus Tutorial","items":[{"type":"link","label":"Tutorial Intro","href":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro","docId":"docusaurus/intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page","docId":"docusaurus/tutorial_basics/create_a_page","unlisted":false},{"type":"link","label":"Create a Document","href":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document","docId":"docusaurus/tutorial_basics/create_a_document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post","docId":"docusaurus/tutorial_basics/create_a_blog_post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features","docId":"docusaurus/tutorial_basics/markdown_features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site","docId":"docusaurus/tutorial_basics/deploy_your_site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations","docId":"docusaurus/tutorial_basics/congratulations","unlisted":false}],"href":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions","docId":"docusaurus/tutorial_extras/manage_docs_versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site","docId":"docusaurus/tutorial_extras/translate_your_site","unlisted":false}],"href":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---extras"}],"collapsed":true,"collapsible":true}]},"docs":{"docusaurus/intro":{"id":"docusaurus/intro","title":"Tutorial Intro","description":"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/congratulations":{"id":"docusaurus/tutorial_basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_blog_post":{"id":"docusaurus/tutorial_basics/create_a_blog_post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_document":{"id":"docusaurus/tutorial_basics/create_a_document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_page":{"id":"docusaurus/tutorial_basics/create_a_page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/deploy_your_site":{"id":"docusaurus/tutorial_basics/deploy_your_site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/markdown_features":{"id":"docusaurus/tutorial_basics/markdown_features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional","sidebar":"tutorialSidebar"},"docusaurus/tutorial_extras/manage_docs_versions":{"id":"docusaurus/tutorial_extras/manage_docs_versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"tutorialSidebar"},"docusaurus/tutorial_extras/translate_your_site":{"id":"docusaurus/tutorial_extras/translate_your_site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"tutorialSidebar"},"intro/getting_started":{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","sidebar":"docSidebar"},"intro/terminology":{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","sidebar":"docSidebar"},"spec/data/code":{"id":"spec/data/code","title":"Code","description":"A code type","sidebar":"docSidebar"},"spec/data/parcel_id":{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","sidebar":"docSidebar"},"spec/data/project_bundle":{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","sidebar":"docSidebar"},"spec/formatting":{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","sidebar":"docSidebar"},"spec/primitive_types":{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","sidebar":"docSidebar"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/df203c0f.f29e98af.js b/pr-preview/pr-3/assets/js/df203c0f.f29e98af.js new file mode 100644 index 0000000..17e80ae --- /dev/null +++ b/pr-preview/pr-3/assets/js/df203c0f.f29e98af.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["815"],{75094:function(e,n,t){t.d(n,{Z:()=>y});var i=t("85893"),l=t("67294"),r=t("67026"),a=t("96025"),s=t("84681");let o={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function c(e){let{type:n,className:t,children:l}=e;return(0,i.jsx)("div",{className:(0,r.Z)(s.k.common.admonition,s.k.common.admonitionType(n),o.admonition,t),children:l})}function d(e){let{icon:n,title:t}=e;return(0,i.jsxs)("div",{className:o.admonitionHeading,children:[(0,i.jsx)("span",{className:o.admonitionIcon,children:n}),t]})}function u(e){let{children:n}=e;return n?(0,i.jsx)("div",{className:o.admonitionContent,children:n}):null}function h(e){let{type:n,icon:t,title:l,children:r,className:a}=e;return(0,i.jsxs)(c,{type:n,className:a,children:[l||t?(0,i.jsx)(d,{title:l,icon:t}):null,(0,i.jsx)(u,{children:r})]})}let m={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function f(e){return(0,i.jsx)(h,{...m,...e,className:(0,r.Z)("alert alert--secondary",e.className),children:e.children})}let g={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function x(e){return(0,i.jsx)(h,{...g,...e,className:(0,r.Z)("alert alert--success",e.className),children:e.children})}let p={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function j(e){return(0,i.jsx)(h,{...p,...e,className:(0,r.Z)("alert alert--info",e.className),children:e.children})}function v(e){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,i.jsx)("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"})})}let b={icon:(0,i.jsx)(v,{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})},N={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})},w={icon:(0,i.jsx)(v,{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})},T={note:f,tip:x,info:j,warning:function(e){return(0,i.jsx)(h,{...b,...e,className:(0,r.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,i.jsx)(h,{...N,...e,className:(0,r.Z)("alert alert--danger",e.className),children:e.children})},secondary:e=>(0,i.jsx)(f,{title:"secondary",...e}),important:e=>(0,i.jsx)(j,{title:"important",...e}),success:e=>(0,i.jsx)(x,{title:"success",...e}),caution:function(e){return(0,i.jsx)(h,{...w,...e,className:(0,r.Z)("alert alert--warning",e.className),children:e.children})}};function y(e){let n=function(e){let{mdxAdmonitionTitle:n,rest:t}=function(e){let n=l.Children.toArray(e),t=n.find(e=>l.isValidElement(e)&&"mdxAdmonitionTitle"===e.type),r=n.filter(e=>e!==t);return{mdxAdmonitionTitle:t?.props.children,rest:r.length>0?(0,i.jsx)(i.Fragment,{children:r}):null}}(e.children),r=e.title??n;return{...e,...r&&{title:r},children:t}}(e),t=function(e){let n=T[e];return n?n:(console.warn(`No admonition component found for admonition type "${e}". Using Info as fallback.`),T.info)}(n.type);return(0,i.jsx)(t,{...n})}},15133:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(85893);t(67294);var l=t(67026),r=t(30202),a=t(84681),s=t(75094);function o(e){let{className:n}=e;return(0,i.jsx)(s.Z,{type:"caution",title:(0,i.jsx)(r.cI,{}),className:(0,l.Z)(n,a.k.common.unlistedBanner),children:(0,i.jsx)(r.eU,{})})}function c(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.T$,{}),(0,i.jsx)(o,{...e})]})}},58223:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});var i=t(85893);t(67294);var l=t(67026),r=t(83012),a=t(43115),s=t(14713),o=t(84681),c=t(96025),d=t(84315),u=t(15133),h=t(34403);function m(e){let{doc:n}=e;return(0,i.jsxs)("article",{className:"margin-vert--lg",children:[(0,i.jsx)(r.Z,{to:n.permalink,children:(0,i.jsx)(h.Z,{as:"h2",children:n.title})}),n.description&&(0,i.jsx)("p",{children:n.description})]})}function f(e){let{title:n,tag:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.d,{title:n,description:t.description}),(0,i.jsx)(d.Z,{tag:"doc_tag_doc_list"})]})}function g(e){let{tag:n,title:t}=e;return(0,i.jsx)(s.FG,{className:(0,l.Z)(o.k.page.docsTagDocListPage),children:(0,i.jsx)("div",{className:"container margin-vert--lg",children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("main",{className:"col col--8 col--offset-2",children:[n.unlisted&&(0,i.jsx)(u.Z,{}),(0,i.jsxs)("header",{className:"margin-bottom--xl",children:[(0,i.jsx)(h.Z,{as:"h1",children:t}),n.description&&(0,i.jsx)("p",{children:n.description}),(0,i.jsx)(r.Z,{href:n.allTagsPath,children:(0,i.jsx)(c.default,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View all tags"})})]}),(0,i.jsx)("section",{className:"margin-vert--lg",children:n.items.map(e=>(0,i.jsx)(m,{doc:e},e.id))})]})})})})}function x(e){let n=function(e){let n=function(){let{selectMessage:e}=(0,a.c)();return n=>e(n,(0,c.translate)({id:"theme.docs.tagDocListPageTitle.nDocsTagged",description:'Pluralized label for "{count} docs tagged". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One doc tagged|{count} docs tagged"},{count:n}))}();return(0,c.translate)({id:"theme.docs.tagDocListPageTitle",description:"The title of the page for a docs tag",message:'{nDocsTagged} with "{tagName}"'},{nDocsTagged:n(e.tag.count),tagName:e.tag.label})}(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f,{...e,title:n}),(0,i.jsx)(g,{...e,title:n})]})}},30202:function(e,n,t){t.d(n,{T$:function(){return o},cI:function(){return a},eU:function(){return s},ht:function(){return c},xo:function(){return d}});var i=t(85893);t(67294);var l=t(96025),r=t(94819);function a(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function s(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function o(){return(0,i.jsx)(r.Z,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function c(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function d(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}},43115:function(e,n,t){t.d(n,{c:function(){return o}});var i=t(67294),l=t(2933);let r=["zero","one","two","few","many","other"];function a(e){return r.filter(n=>e.includes(n))}let s={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function o(){let e=function(){let{i18n:{currentLocale:e}}=(0,l.Z)();return(0,i.useMemo)(()=>{try{return function(e){let n=new Intl.PluralRules(e);return{locale:e,pluralForms:a(n.resolvedOptions().pluralCategories),select:e=>n.select(e)}}(e)}catch(n){return console.error(`Failed to use Intl.PluralRules for locale "${e}". +Docusaurus will fallback to the default (English) implementation. +Error: ${n.message} +`),s}},[e])}();return{selectMessage:(n,t)=>(function(e,n,t){let i=e.split("|");if(1===i.length)return i[0];i.length>t.pluralForms.length&&console.error(`For locale=${t.locale}, a maximum of ${t.pluralForms.length} plural forms are expected (${t.pluralForms.join(",")}), but the message contains ${i.length}: ${e}`);let l=t.select(n);return i[Math.min(t.pluralForms.indexOf(l),i.length-1)]})(t,n,e)}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/fa6dc6d9.4595a616.js b/pr-preview/pr-3/assets/js/fa6dc6d9.4595a616.js new file mode 100644 index 0000000..fd809d4 --- /dev/null +++ b/pr-preview/pr-3/assets/js/fa6dc6d9.4595a616.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7376"],{9905:function(e,t,r){r.r(t),r.d(t,{metadata:()=>i,contentTitle:()=>j,default:()=>b,assets:()=>m,toc:()=>f,frontMatter:()=>u});var i=JSON.parse('{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","source":"@site/docs/spec/data/project_bundle.mdx","sourceDirName":"spec/data","slug":"/spec/data/project_bundle","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/project_bundle.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-3/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Parcel Identifier","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id"},"next":{"title":"Primitive Types","permalink":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types"}}'),n=r("85893"),s=r("50065"),a=r("45056"),o=r("98477"),d=r.n(o),c=r("47902"),l=r("5525"),p=JSON.parse('{"project_id":"c09d5aab-0f10-4727-a520-adbd57db084f","project_name":"The Hudson, Capitol Park","project_description":"project_description"}'),h=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/project_bundle.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Project Bundle","description":"An identifier for a specific area with clear boundaries.","type":"object","properties":{"project_id":{"type":"string","description":"A unique key to track all permits related to a project or activity across all permitting systems.","pattern":"/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i"},"project_name":{"type":"string","description":"Short name of the project."},"project_description":{"type":"string","description":"Full description of the project. This may contain information to better understand a project."}},"required":["project_id","project_name"]}');let u={id:"project_bundle",title:"Project Bundle",description:"A set of one or more permits related to an activity.",tags:["developer"]},j=void 0,m={},f=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function x(e){let t={code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"A set of one or more permits related to an activity."}),"\n",(0,n.jsx)(t.p,{children:"A project is defined by an activity with one or more permits. Grouping of a primary authorization with secondary or associated authorizations that are triggered or required by the primary authorization. For example: major mine permit (primary) and associated auxiliary (secondary) permits such as License to Cut, Water Use, and or Road Use."}),"\n",(0,n.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,n.jsx)(t.p,{children:"This data type is intended to represent a grouping of related permits that are related to a specific activity."}),"\n",(0,n.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Cardinality"}),(0,n.jsx)(t.th,{children:"Type"}),(0,n.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"project_id"}),(0,n.jsx)(t.td,{children:"1..1"}),(0,n.jsx)(t.td,{children:(0,n.jsx)(t.code,{children:"uuid"})}),(0,n.jsx)(t.td,{children:"A unique key to track all permits related to a project or activity across all permitting systems."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"project_name"}),(0,n.jsx)(t.td,{children:"1..1"}),(0,n.jsx)(t.td,{children:(0,n.jsx)(t.code,{children:"string"})}),(0,n.jsx)(t.td,{children:"Short name of the project."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"project_description"}),(0,n.jsx)(t.td,{children:"0..1"}),(0,n.jsx)(t.td,{children:(0,n.jsx)(t.code,{children:"string"})}),(0,n.jsx)(t.td,{children:"Full description of the project. This may contain information to better understand a project."})]})]})]}),"\n",(0,n.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,n.jsxs)(c.default,{queryString:"tab",children:[(0,n.jsx)(l.default,{value:"schema",label:"Schema",default:!0,children:(0,n.jsx)(d(),{schema:h,viewerOptions:{showExamples:!0}})}),(0,n.jsx)(l.default,{value:"source",label:"Source",children:(0,n.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(h,null,2)})}),(0,n.jsx)(l.default,{value:"example",label:"Example",children:(0,n.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})]}),"\n",(0,n.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,n.jsx)(t.p,{children:"TBD"}),"\n",(0,n.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,n.jsx)(t.p,{children:"TBD"})]})}function b(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/fe557f77.3246354c.js b/pr-preview/pr-3/assets/js/fe557f77.3246354c.js new file mode 100644 index 0000000..f55327c --- /dev/null +++ b/pr-preview/pr-3/assets/js/fe557f77.3246354c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["249"],{15775:function(e,n,r){r.r(n),r.d(n,{metadata:()=>t,contentTitle:()=>i,default:()=>u,assets:()=>l,toc:()=>d,frontMatter:()=>o});var t=JSON.parse('{"id":"docusaurus/tutorial_extras/translate_your_site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","source":"@site/docs/docusaurus/tutorial_extras/translate_your_site.md","sourceDirName":"docusaurus/tutorial_extras","slug":"/docusaurus/tutorial_extras/translate_your_site","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_extras/translate_your_site.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Manage Docs Versions","permalink":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions"}}'),s=r("85893"),a=r("50065");let o={sidebar_position:2},i="Translate your site",l={},d=[{value:"Configure i18n",id:"configure-i18n",level:2},{value:"Translate a doc",id:"translate-a-doc",level:2},{value:"Start your localized site",id:"start-your-localized-site",level:2},{value:"Add a Locale Dropdown",id:"add-a-locale-dropdown",level:2},{value:"Build your localized site",id:"build-your-localized-site",level:2}];function c(e){let n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",header:"header",img:"img",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"translate-your-site",children:"Translate your site"})}),"\n",(0,s.jsxs)(n.p,{children:["Let's translate ",(0,s.jsx)(n.code,{children:"docs/intro.md"})," to French."]}),"\n",(0,s.jsx)(n.h2,{id:"configure-i18n",children:"Configure i18n"}),"\n",(0,s.jsxs)(n.p,{children:["Modify ",(0,s.jsx)(n.code,{children:"docusaurus.config.js"})," to add support for the ",(0,s.jsx)(n.code,{children:"fr"})," locale:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"export default {\n i18n: {\n defaultLocale: 'en',\n locales: ['en', 'fr'],\n },\n};\n"})}),"\n",(0,s.jsx)(n.h2,{id:"translate-a-doc",children:"Translate a doc"}),"\n",(0,s.jsxs)(n.p,{children:["Copy the ",(0,s.jsx)(n.code,{children:"docs/intro.md"})," file to the ",(0,s.jsx)(n.code,{children:"i18n/fr"})," folder:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/\n\ncp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md\n"})}),"\n",(0,s.jsxs)(n.p,{children:["Translate ",(0,s.jsx)(n.code,{children:"i18n/fr/docusaurus-plugin-content-docs/current/intro.md"})," in French."]}),"\n",(0,s.jsx)(n.h2,{id:"start-your-localized-site",children:"Start your localized site"}),"\n",(0,s.jsx)(n.p,{children:"Start your site on the French locale:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm run start -- --locale fr\n"})}),"\n",(0,s.jsxs)(n.p,{children:["Your localized site is accessible at ",(0,s.jsx)(n.a,{href:"http://localhost:3000/fr/",children:"http://localhost:3000/fr/"})," and the ",(0,s.jsx)(n.code,{children:"Getting Started"})," page is translated."]}),"\n",(0,s.jsx)(n.admonition,{type:"caution",children:(0,s.jsx)(n.p,{children:"In development, you can only use one locale at a time."})}),"\n",(0,s.jsx)(n.h2,{id:"add-a-locale-dropdown",children:"Add a Locale Dropdown"}),"\n",(0,s.jsx)(n.p,{children:"To navigate seamlessly across languages, add a locale dropdown."}),"\n",(0,s.jsxs)(n.p,{children:["Modify the ",(0,s.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'localeDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,s.jsx)(n.p,{children:"The locale dropdown now appears in your navbar:"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{alt:"Locale Dropdown",src:r(6750).Z+"",width:"370",height:"302"})}),"\n",(0,s.jsx)(n.h2,{id:"build-your-localized-site",children:"Build your localized site"}),"\n",(0,s.jsx)(n.p,{children:"Build your site for a specific locale:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm run build -- --locale fr\n"})}),"\n",(0,s.jsx)(n.p,{children:"Or build your site to include all the locales at once:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm run build\n"})})]})}function u(e={}){let{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},6750:function(e,n,r){r.d(n,{Z:function(){return t}});let t=r.p+"assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png"},50065:function(e,n,r){r.d(n,{Z:function(){return i},a:function(){return o}});var t=r(67294);let s={},a=t.createContext(s);function o(e){let n=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/main.5ac5ddf1.js b/pr-preview/pr-3/assets/js/main.5ac5ddf1.js new file mode 100644 index 0000000..b21cd45 --- /dev/null +++ b/pr-preview/pr-3/assets/js/main.5ac5ddf1.js @@ -0,0 +1,36 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6909"],{3601:function(e,t,n){"use strict";n.r(t)},17686:function(e,t,n){"use strict";n.r(t)},31381:function(e,t,n){"use strict";n.d(t,{PP:()=>j,Ep:()=>f,lX:()=>w,q_:()=>C,ob:()=>p});var r=n("16019");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()}let 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 h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n("21835");function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){var n,r;return(n=e,r=t,0===n.toLowerCase().indexOf(r.toLowerCase())&&-1!=="/?#".indexOf(n.charAt(r.length)))?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,l,s,u,c,d;if("string"==typeof e){;s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t}else 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(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}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 h(){var e=null,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=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var g=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function m(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t,n=window.history;var 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,x=i.getUserConfirmation,k=void 0===x?m:x,S=i.keyLength,_=void 0===S?6:S,E=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return E&&(o=c(o,E)),p(o,r,n)}function T(){return Math.random().toString(36).substr(2,_)}var j=h();function N(e){(0,r.Z)(B,e),B.length=n.length,j.notifyListeners(B.location,B.action)}function O(e){if(!(void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")))L(C(e.state))}function A(){L(C(v()))}var P=!1;function L(e){P?(P=!1,N()):j.confirmTransitionTo(e,"POP",k,function(t){t?N({action:"POP",location:e}):function(e){var t=B.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&&(P=!0,M(a))}(e)})}var R=C(v()),I=[R.key];function F(e){return E+f(e)}function M(e){n.go(e)}var D=0;function z(e){1===(D+=e)&&1===e?(window.addEventListener(y,O),o&&window.addEventListener(b,A)):0===D&&(window.removeEventListener(y,O),o&&window.removeEventListener(b,A))}var $=!1,B={length:n.length,action:"POP",location:R,createHref:F,push:function(e,t){var r="PUSH",o=p(e,t,T(),B.location);j.confirmTransitionTo(o,r,k,function(e){if(e){var t=F(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(B.location.key),u=I.slice(0,s+1);u.push(o.key),I=u,N({action:r,location:o})}}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",o=p(e,t,T(),B.location);j.confirmTransitionTo(o,r,k,function(e){if(e){var t=F(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(B.location.key);-1!==s&&(I[s]=o.key),N({action:r,location:o})}}else window.location.replace(t)}})},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return!$&&(z(1),$=!0),function(){return $&&($=!1,z(-1)),t()}},listen:function(e){var t=j.appendListener(e);return z(1),function(){z(-1),t()}}};return B}var x="hashchange",k={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 _(){var e=window.location.href,t=e.indexOf("#");return -1===t?"":e.substring(t+1)}function E(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t=window.history;window.navigator.userAgent.indexOf("Firefox");var n=e,a=n.getUserConfirmation,o=void 0===a?m:a,i=n.hashType,u=e.basename?d(s(e.basename)):"",y=k[void 0===i?"slash":i],b=y.encodePath,v=y.decodePath;function w(){var e=v(_());return u&&(e=c(e,u)),p(e)}var C=h();function T(e){(0,r.Z)(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var j=!1,N=null;function O(){var e=_(),t=b(e);if(e!==t)E(t);else{var n,r,a=w(),i=z.location;if(!j&&(n=i,r=a,n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash)||N===f(a))return;N=null,function(e){j?(j=!1,T()):C.confirmTransitionTo(e,"POP",o,function(t){t?T({action:"POP",location:e}):function(e){var t=z.location,n=R.lastIndexOf(f(t));-1===n&&(n=0);var r=R.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(j=!0,I(a))}(e)})}(a)}}var A=_(),P=b(A);A!==P&&E(P);var L=w(),R=[f(L)];function I(e){t.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?window.addEventListener(x,O):0===F&&window.removeEventListener(x,O)}var D=!1,z={length:t.length,action:"POP",location:L,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+b(u+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);if(_()!==a){N=t,o=a,window.location.hash=o;var o,i=R.lastIndexOf(f(z.location)),l=R.slice(0,i+1);l.push(t),R=l,T({action:n,location:r})}else T()}})},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);_()!==a&&(N=t,E(a));var o=R.indexOf(f(z.location));-1!==o&&(R[o]=t),T({action:n,location:r})}})},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return!D&&(M(1),D=!0),function(){return D&&(D=!1,M(-1)),t()}},listen:function(e){var t=C.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function T(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=t.keyLength,s=void 0===l?6:l,u=h();function c(e){(0,r.Z)(b,e),b.length=b.entries.length,u.notifyListeners(b.location,b.action)}function d(){return Math.random().toString(36).substr(2,s)}var g=T(void 0===i?0:i,0,o.length-1),m=o.map(function(e){return"string"==typeof e?p(e,void 0,d()):p(e,void 0,e.key||d())});function y(e){var t=T(b.index+e,0,b.entries.length-1),r=b.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?c({action:"POP",location:r,index:t}):c()})}var b={length:m.length,action:"POP",location:m[g],index:g,entries:m,createHref:f,push:function(e,t){var r="PUSH",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){if(e){var t=b.index+1,n=b.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),c({action:r,location:a,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){e&&(b.entries[b.index]=a,c({action:r,location:a}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t<b.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return b}},8679:function(e,t,n){"use strict";var r=n(59864),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,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),m=0;m<i.length;++m){var y=i[m];if(!o[y]&&!(r&&r[y])&&!(g&&g[y])&&!(l&&l[y])){var b=f(n,y);try{u(t,y,b)}catch(e){}}}}return t}},41143:function(e){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=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=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},813:function(e){var t,n;t=0,n=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=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},a=function(){function e(n){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=void 0,t=[];return void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):e=Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:e=[],e.forEach(function(e){var n=t.filter(function(t){return t.contains(e)}).length>0;-1===t.indexOf(e)&&!n&&t.push(e)}),t}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{!r.isIframeBlank(e)&&(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){!--r&&t()})},function(e){!e&&t()})}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),l=i.length,s=0;i=Array.prototype.slice.call(i);var u=function(){--l<=0&&o(s)};!l&&u(),i.forEach(function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,function(e){n(t)&&(s++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return(r.forEach(function(e,t){e.val===n&&(a=t,o=e.handled)}),this.compareNodeIframe(e,t,n))?(!1!==a||o?!1!==a&&!o&&(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach(function(e){!e.handled&&a.getIframeContents(e.val,function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){var o,i=this,l=this.createIterator(t,e,r),s=[],u=[],c=void 0,d=void 0;for(;d=(o=i.getIteratorNode(l)).prevNode,c=o.node;)this.iframes&&this.forEachIframe(t,function(e){return i.checkIframeFilter(c,d,e,s)},function(t){i.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(c);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;!i&&a(),o.forEach(function(o){var l=function(){r.iterateThroughNodes(e,o,t,n,function(){--i<=0&&a()})};r.iframes?r.waitForIframes(o,l):l()})}}],[{key:"matches",value:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!n)return!1;var r=!1;return("string"==typeof t?[t]:t).every(function(t){return!n.call(e,t)||(r=!0,!1)}),r}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;if(!!this.opt.debug)(void 0===r?"undefined":e(r))==="object"&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==l&&(e=e.replace(RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(l)+")","gm"+n),r+("("+this.processSynomyms(i))+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105","A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010D","C\xc7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119","E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012B","I\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014D","O\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016B","U\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xff","Y\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010DC\xc7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012BI\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014DO\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016BU\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xffY\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],r=[];return e.split("").forEach(function(a){n.every(function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,a="string"==typeof n?[]:n.limiters,o="";switch(a.forEach(function(e){o+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(o="\\s"+(o||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf")))+"]*"+e+"[^"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,l=parseInt(e.start,10)-i;return(r=(l=l>o?o:l)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),l<0||r-l<0||l>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every(function(i,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach(function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)}),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0})}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];){if(!!n(a[i],t)){var l=a.index;if(0!==i)for(var s=1;s<i;s++)l+=a[s].length;r((t=o.wrapRangeInTextNode(t,l,l+a[i].length)).previousSibling),e.lastIndex=0}}}),a()})}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){for(var l=void 0;null!==(l=e.exec(t.value))&&""!==l[i];){var s=l.index;if(0!==i)for(var u=1;u<i;u++)s+=l[u].length;var c=s+l[i].length;o.wrapRangeInMappedTextNode(t,s,c,function(e){return n(l[i],e)},function(t,n){e.lastIndex=n,r(t)})}a()})}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var a=this;this.getTextNodes(function(o){var i=o.value.length;e.forEach(function(e,r){var l=a.checkWhitespaceRanges(e,i,o.value),s=l.start,u=l.end;l.valid&&a.wrapRangeInMappedTextNode(o,s,u,function(n){return t(n,e,o.value.substring(s,u),r)},function(t){n(t,e)})}),r()})}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(!!e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,a="wrapMatches";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,function(e,t){return n.opt.filter(t,e,r)},function(e){r++,n.opt.each(e)},function(){0===r&&n.opt.noMatch(e),n.opt.done(r)})}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,a="wrapMatches",o=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=o.keywords,l=o.length,s=this.opt.caseSensitive?"":"i";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===l?this.opt.done(r):!function e(t){var o=RegExp(n.createRegExp(t),"gm"+s),u=0;n.log('Searching with expression "'+o+'"'),n[a](o,1,function(e,a){return n.opt.filter(a,t,r,u)},function(e){u++,r++,n.opt.each(e)},function(){0===u&&n.opt.noMatch(t),i[l-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])})}(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,function(e,t,r,a){return n.opt.filter(e,t,r,a)},function(e,t){r++,n.opt.each(e,t)},function(){n.opt.done(r)})):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(e){t.unwrapMatches(e)},function(e){var r=a.matches(e,n),o=t.matchesExclude(e);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new a(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();return function(e){var t=this,n=new o(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}},e.exports=n()},74865:function(e){var t,n;t=0,n=function(){var e,t,n,r={};r.version="0.2.0";var a=r.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 o(e,t,n){return e<t?t:e>n?n:e}function i(e){return(-1+e)*100}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();e=o(e,a.minimum,1),r.status=1===e?null:e;var n=r.render(!t),i=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,l(function(t){""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),s(i,function(e,t,n){var r;if("translate3d"===a.positionUsing)r={transform:"translate3d("+(-1+e)*100+"%,0,0)"};else if("translate"===a.positionUsing)r={transform:"translate("+(-1+e)*100+"%,0)"};else r={"margin-left":(-1+e)*100+"%"};return r.transition="all "+t+"ms "+n,r}(e,u,c)),1===e?(s(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){s(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){!r.status&&r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,o=t.querySelector(a.barSelector),i=e?"-100":function(e){return(-1+e)*100}(r.status||0),l=document.querySelector(a.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&p(n),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.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=(n=[],function(e){n.push(e),1==n.length&&!function e(){var t=n.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){r=function(n){return t[n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[n]=function(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}(n))}(r),n.style[r]=a}return function(e,t){var r,a,o=arguments;if(2==o.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,o[1],o[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 r},"function"==typeof define&&define.amd?define(n):e.exports=n()},14779:function(e,t,n){var r=n(5826);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=d;var a=RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var c=n[0],d=n[1],f=n.index;if(l+=e.slice(i,f),i=f+c.length,d){l+=d[1];continue}var p=e[i],h=n[2],g=n[3],m=n[4],y=n[5],b=n[6],v=n[7];l&&(r.push(l),l="");var w=null!=h&&null!=p&&p!==h,x="+"===b||"*"===b,k="?"===b||"*"===b,S=h||u,_=m||y,E=h||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||o++,prefix:h||"",delimiter:S,optional:k,repeat:x,partial:w,asterisk:!!v,pattern:_?function(e){return e.replace(/([=!:$\/()])/g,"\\$1")}(_):v?".*":function(e,t){return!t||t.indexOf(e)>-1?"[^"+s(e)+"]+?":s(t)+"|(?:(?!"+s(t)+")[^"+s(e)+"])+?"}(S,E)})}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=Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=RegExp("^(?:"+e[a].pattern+")$",c(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c,d=e[u];if("string"==typeof d){o+=d;continue}var f=l[d.name];if(null==f){if(d.optional){d.partial&&(o+=d.prefix);continue}throw TypeError('Expected "'+d.name+'" to be defined')}if(r(f)){if(!d.repeat)throw TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(d.optional)continue;throw TypeError('Expected "'+d.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(c=s(f[p]),!n[u].test(c))throw TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===p?d.prefix:d.delimiter)+c}continue}if(c=d.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):s(f),!n[u].test(c))throw TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+c+'"');o+=d.prefix+c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e,t){return e.keys=t,e}function c(e){return e&&e.sensitive?"":"i"}function d(e,t,n){!r(t)&&(n=t||n,t=[]);for(var a,o,i=(n=n||{}).strict,l=!1!==n.end,u="",d=0;d<e.length;d++){var f=e[d];if("string"==typeof f)u+=s(f);else{var p=s(f.prefix),h="(?:"+f.pattern+")";t.push(f),f.repeat&&(h+="(?:"+p+h+")*"),u+=h=f.optional?f.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var g=s(n.delimiter||"/"),m=u.slice(-g.length)===g;return!i&&(u=(m?u.slice(0,-g.length):u)+"(?:"+g+"(?=$))?"),l?u+="$":u+=i&&m?"":"(?="+g+"|$)",a=RegExp("^"+u,c(n)),o=t,a.keys=o,a}function f(e,t,n){var a,i,l;if(!r(t)&&(n=t||n,t=[]),n=n||{},e instanceof RegExp)return function(e,t){var n,r,a=e.source.match(/\((?!\?)/g);if(a)for(var o=0;o<a.length;o++)t.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return n=e,r=t,n.keys=r,n}(e,t);if(r(e))return function(e,t,n){for(var r,a,o=[],i=0;i<e.length;i++)o.push(f(e[i],t,n).source);return r=RegExp("(?:"+o.join("|")+")",c(n)),a=t,r.keys=a,r}(e,t,n);return a=e,i=t,d(o(a,l=n),i,l)}},96854:function(){!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),h=f.indexOf(p);if(h>-1){++a;var g=f.substring(0,h),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(h+p.length),b=[];g&&b.push.apply(b,i([g])),b.push(m),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},23099:function(){Prism.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}},70037:function(e,t,n){var r={"./prism-mermaid":"23099"};function a(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=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="70037"},92703:function(e,t,n){"use strict";var r=n(50414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=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}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64448:function(e,t,n){"use strict";var r,a,o,i,l,s,u=n(67294),c=n(63840);function d(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 f=new Set,p={};function h(e,t){g(e,t),g(e+"Capture",t)}function g(e,t){for(p[e]=t,e=0;e<t.length;e++)f.add(t[e])}var m=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),y=Object.prototype.hasOwnProperty,b=/^[: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]*$/,v={},w={};function x(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 k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new x(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];k[t]=new x(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new x(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new x(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){k[e]=new x(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new x(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new x(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new x(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new x(e,5,!1,e.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function _(e){return e[1].toUpperCase()}function E(e,t,n,r){var a,o=k.hasOwnProperty(t)?k[t]:null;if(null!==o?0!==o.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":if(r)return!1;if(null!==n)return!n.acceptsBooleans;return"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,o,r)&&(n=null),r||null===o?(a=t,(!!y.call(w,a)||!y.call(v,a)&&(b.test(a)?w[a]=!0:(v[a]=!0,!1)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!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(S,_);k[t]=new x(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(S,_);k[t]=new x(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(S,_);k[t]=new x(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new x(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new x(e,1,!1,e.toLowerCase(),null,!0,!0)});var C=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),j=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),L=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var $=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}var U,Z=Object.assign;function H(e){if(void 0===U)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var W=!1;function V(e,t){if(!e||W)return"";W=!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(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.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]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=G(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=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(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 X(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(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 ee(e,t){null!=(t=t.checked)&&E(e,"checked",t,!1)}function et(e,t){ee(e,t);var n=q(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){e.removeAttribute("value");return}t.hasOwnProperty("value")?er(e,t.type,n):t.hasOwnProperty("defaultValue")&&er(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function en(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 er(e,t,n){("number"!==t||K(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ea=Array.isArray;function eo(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(a=0,n=""+q(n),t=null;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function ei(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return Z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function el(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(d(92));if(ea(n)){if(1<n.length)throw Error(d(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function es(e,t){var n=q(t.value),r=q(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 eu(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ec(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 ed(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ec(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ef,ep,eh=(ef=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ep=ep||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ep.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 ef(e,t,n,r)})}:ef);function eg(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var em={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ey=["Webkit","ms","Moz","O"];function eb(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||em.hasOwnProperty(e)&&em[e]?(""+t).trim():t+"px"}function ev(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=eb(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(em).forEach(function(e){ey.forEach(function(t){em[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=em[e]})});var ew=Z({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 ex(e,t){if(t){if(ew[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function ek(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}}var eS=null;function e_(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eE=null,eC=null,eT=null;function ej(e){if(e=rF(e)){if("function"!=typeof eE)throw Error(d(280));var t=e.stateNode;t&&(t=rD(t),eE(e.stateNode,e.type,t))}}function eN(e){eC?eT?eT.push(e):eT=[e]:eC=e}function eO(){if(eC){var e=eC,t=eT;if(eT=eC=null,ej(e),t)for(e=0;e<t.length;e++)ej(t[e])}}function eA(e,t){return e(t)}function eP(){}var eL=!1;function eR(e,t,n){if(eL)return e(t,n);eL=!0;try{return eA(e,t,n)}finally{eL=!1,(null!==eC||null!==eT)&&(eP(),eO())}}function eI(e,t){var n=e.stateNode;if(null===n)return null;var r=rD(n);if(null===r)return null;switch(n=r[t],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;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(d(231,t,typeof n));return n}var eF=!1;if(m)try{var eM={};Object.defineProperty(eM,"passive",{get:function(){eF=!0}}),window.addEventListener("test",eM,eM),window.removeEventListener("test",eM,eM)}catch(e){eF=!1}function eD(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var ez=!1,e$=null,eB=!1,eU=null,eZ={onError:function(e){ez=!0,e$=e}};function eH(e,t,n,r,a,o,i,l,s){ez=!1,e$=null,eD.apply(eZ,arguments)}function eW(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function eV(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 eq(e){if(eW(e)!==e)throw Error(d(188))}function eG(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=eW(e)))throw Error(d(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 eq(a),e;if(o===r)return eq(a),t;o=o.sibling}throw Error(d(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i){for(l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i)throw Error(d(189))}}if(n.alternate!==r)throw Error(d(190))}if(3!==n.tag)throw Error(d(188));return n.stateNode.current===n?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var n=e(t);if(null!==n)return n;t=t.sibling}return null}(e):null}var eY=c.unstable_scheduleCallback,eQ=c.unstable_cancelCallback,eK=c.unstable_shouldYield,eX=c.unstable_requestPaint,eJ=c.unstable_now,e0=c.unstable_getCurrentPriorityLevel,e1=c.unstable_ImmediatePriority,e2=c.unstable_UserBlockingPriority,e3=c.unstable_NormalPriority,e4=c.unstable_LowPriority,e5=c.unstable_IdlePriority,e9=null,e6=null,e8=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e7(e)/te|0)|0},e7=Math.log,te=Math.LN2,tt=64,tn=4194304;function tr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function ta(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=0xfffffff&n;if(0!==i){var l=i&~a;0!==l?r=tr(l):0!=(o&=i)&&(r=tr(o))}else 0!=(i=n&~a)?r=tr(i):0!==o&&(r=tr(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-e8(t)),r|=e[n],t&=~a;return r}function to(e){return 0!=(e=-0x40000001&e.pendingLanes)?e:0x40000000&e?0x40000000:0}function ti(){var e=tt;return 0==(4194240&(tt<<=1))&&(tt=64),e}function tl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ts(e,t,n){e.pendingLanes|=t,0x20000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,e[t=31-e8(t)]=n}function tu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-e8(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var tc=0;function td(e){return 1<(e&=-e)?4<e?0!=(0xfffffff&e)?16:0x20000000:4:1}var tf,tp,th,tg,tm,ty=!1,tb=[],tv=null,tw=null,tx=null,tk=new Map,tS=new Map,t_=[],tE="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 tC(e,t){switch(e){case"focusin":case"focusout":tv=null;break;case"dragenter":case"dragleave":tw=null;break;case"mouseover":case"mouseout":tx=null;break;case"pointerover":case"pointerout":tk.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tS.delete(t.pointerId)}}function tT(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=rF(t))&&tp(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function tj(e){var t=rI(e.target);if(null!==t){var n=eW(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=eV(n))){e.blockedOn=t,tm(e.priority,function(){th(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tN(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=t$(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rF(n))&&tp(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);eS=r,n.target.dispatchEvent(r),eS=null;t.shift()}return!0}function tO(e,t,n){tN(e)&&n.delete(t)}function tA(){ty=!1,null!==tv&&tN(tv)&&(tv=null),null!==tw&&tN(tw)&&(tw=null),null!==tx&&tN(tx)&&(tx=null),tk.forEach(tO),tS.forEach(tO)}function tP(e,t){e.blockedOn===t&&(e.blockedOn=null,ty||(ty=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tA)))}function tL(e){function t(t){return tP(t,e)}if(0<tb.length){tP(tb[0],e);for(var n=1;n<tb.length;n++){var r=tb[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==tv&&tP(tv,e),null!==tw&&tP(tw,e),null!==tx&&tP(tx,e),tk.forEach(t),tS.forEach(t),n=0;n<t_.length;n++)(r=t_[n]).blockedOn===e&&(r.blockedOn=null);for(;0<t_.length&&null===(n=t_[0]).blockedOn;)tj(n),null===n.blockedOn&&t_.shift()}var tR=C.ReactCurrentBatchConfig,tI=!0;function tF(e,t,n,r){var a=tc,o=tR.transition;tR.transition=null;try{tc=1,tD(e,t,n,r)}finally{tc=a,tR.transition=o}}function tM(e,t,n,r){var a=tc,o=tR.transition;tR.transition=null;try{tc=4,tD(e,t,n,r)}finally{tc=a,tR.transition=o}}function tD(e,t,n,r){if(tI){var a=t$(e,t,n,r);if(null===a)rl(e,t,r,tz,n),tC(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return tv=tT(tv,e,t,n,r,a),!0;case"dragenter":return tw=tT(tw,e,t,n,r,a),!0;case"mouseover":return tx=tT(tx,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return tk.set(o,tT(tk.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,tS.set(o,tT(tS.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(tC(e,r),4&t&&-1<tE.indexOf(e)){for(;null!==a;){var o=rF(a);if(null!==o&&tf(o),null===(o=t$(e,t,n,r))&&rl(e,t,r,tz,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else rl(e,t,r,null,n)}}var tz=null;function t$(e,t,n,r){if(tz=null,null!==(e=rI(e=e_(r)))){if(null===(t=eW(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=eV(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return tz=e,null}function tB(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e0()){case e1:return 1;case e2:return 4;case e3:case e4:return 16;case e5:return 0x20000000;default:return 16}default:return 16}}var tU=null,tZ=null,tH=null;function tW(){if(tH)return tH;var e,t,n=tZ,r=n.length,a="value"in tU?tU.value:tU.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 tH=a.slice(e,1<t?1-t:void 0)}function tV(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 tq(){return!0}function tG(){return!1}function tY(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)?tq:tG,this.isPropagationStopped=tG,this}return Z(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=tq)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tq)},persist:function(){},isPersistent:tq}),t}var tQ,tK,tX,tJ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t0=tY(tJ),t1=Z({},tJ,{view:0,detail:0}),t2=tY(t1),t3=Z({},t1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:na,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!==tX&&(tX&&"mousemove"===e.type?(tQ=e.screenX-tX.screenX,tK=e.screenY-tX.screenY):tK=tQ=0,tX=e),tQ)},movementY:function(e){return"movementY"in e?e.movementY:tK}}),t4=tY(t3),t5=tY(Z({},t3,{dataTransfer:0})),t9=tY(Z({},t1,{relatedTarget:0})),t6=tY(Z({},tJ,{animationName:0,elapsedTime:0,pseudoElement:0})),t8=tY(Z({},tJ,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),t7=tY(Z({},tJ,{data:0})),ne={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nt={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"},nn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=nn[e])&&!!t[e]}function na(){return nr}var no=tY(Z({},t1,{key:function(e){if(e.key){var t=ne[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tV(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:na,charCode:function(e){return"keypress"===e.type?tV(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tV(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ni=tY(Z({},t3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nl=tY(Z({},t1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:na})),ns=tY(Z({},tJ,{propertyName:0,elapsedTime:0,pseudoElement:0})),nu=tY(Z({},t3,{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})),nc=[9,13,27,32],nd=m&&"CompositionEvent"in window,nf=null;m&&"documentMode"in document&&(nf=document.documentMode);var np=m&&"TextEvent"in window&&!nf,nh=m&&(!nd||nf&&8<nf&&11>=nf),ng=!1;function nm(e,t){switch(e){case"keyup":return -1!==nc.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ny(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nb=!1,nv={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 nw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nv[e.type]:"textarea"===t}function nx(e,t,n,r){eN(r),0<(t=ru(t,"onChange")).length&&(n=new t0("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nk=null,nS=null;function n_(e){rt(e,0)}function nE(e){if(Q(rM(e)))return e}function nC(e,t){if("change"===e)return t}var nT=!1;if(m){if(m){var nj="oninput"in document;if(!nj){var nN=document.createElement("div");nN.setAttribute("oninput","return;"),nj="function"==typeof nN.oninput}r=nj}else r=!1;nT=r&&(!document.documentMode||9<document.documentMode)}function nO(){nk&&(nk.detachEvent("onpropertychange",nA),nS=nk=null)}function nA(e){if("value"===e.propertyName&&nE(nS)){var t=[];nx(t,nS,e,e_(e)),eR(n_,t)}}function nP(e,t,n){"focusin"===e?(nO(),nk=t,nS=n,nk.attachEvent("onpropertychange",nA)):"focusout"===e&&nO()}function nL(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nE(nS)}function nR(e,t){if("click"===e)return nE(t)}function nI(e,t){if("input"===e||"change"===e)return nE(t)}var nF="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nM(e,t){if(nF(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++){var a=n[r];if(!y.call(t,a)||!nF(e[a],t[a]))return!1}return!0}function nD(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nz(e,t){var n,r=nD(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=nD(r)}}function n$(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=K(e.document)}return t}function nB(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 nU=m&&"documentMode"in document&&11>=document.documentMode,nZ=null,nH=null,nW=null,nV=!1;function nq(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nV||null==nZ||nZ!==K(r)||(r="selectionStart"in(r=nZ)&&nB(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nW&&nM(nW,r)||(nW=r,0<(r=ru(nH,"onSelect")).length&&(t=new t0("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nZ)))}function nG(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nY={animationend:nG("Animation","AnimationEnd"),animationiteration:nG("Animation","AnimationIteration"),animationstart:nG("Animation","AnimationStart"),transitionend:nG("Transition","TransitionEnd")},nQ={},nK={};function nX(e){if(nQ[e])return nQ[e];if(!nY[e])return e;var t,n=nY[e];for(t in n)if(n.hasOwnProperty(t)&&t in nK)return nQ[e]=n[t];return e}m&&(nK=document.createElement("div").style,"AnimationEvent"in window||(delete nY.animationend.animation,delete nY.animationiteration.animation,delete nY.animationstart.animation),"TransitionEvent"in window||delete nY.transitionend.transition);var nJ=nX("animationend"),n0=nX("animationiteration"),n1=nX("animationstart"),n2=nX("transitionend"),n3=new Map,n4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function n5(e,t){n3.set(e,t),h(t,[e])}for(var n9=0;n9<n4.length;n9++){var n6=n4[n9];n5(n6.toLowerCase(),"on"+(n6[0].toUpperCase()+n6.slice(1)))}n5(nJ,"onAnimationEnd"),n5(n0,"onAnimationIteration"),n5(n1,"onAnimationStart"),n5("dblclick","onDoubleClick"),n5("focusin","onFocus"),n5("focusout","onBlur"),n5(n2,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var n8="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),n7=new Set("cancel close invalid load scroll toggle".split(" ").concat(n8));function re(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,!function(e,t,n,r,a,o,i,l,s){if(eH.apply(this,arguments),ez){if(ez){var u=e$;ez=!1,e$=null}else throw Error(d(198));eB||(eB=!0,eU=u)}}(r,t,void 0,e),e.currentTarget=null}function rt(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;re(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;re(a,l,u),o=s}}}if(eB)throw e=eU,eB=!1,eU=null,e}function rn(e,t){var n=t[rP];void 0===n&&(n=t[rP]=new Set);var r=e+"__bubble";n.has(r)||(ri(t,e,2,!1),n.add(r))}function rr(e,t,n){var r=0;t&&(r|=4),ri(n,e,r,t)}var ra="_reactListening"+Math.random().toString(36).slice(2);function ro(e){if(!e[ra]){e[ra]=!0,f.forEach(function(t){"selectionchange"!==t&&(n7.has(t)||rr(t,!1,e),rr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ra]||(t[ra]=!0,rr("selectionchange",!1,t))}}function ri(e,t,n,r){switch(tB(t)){case 1:var a=tF;break;case 4:a=tM;break;default:a=tD}n=a.bind(null,t,n,e),a=void 0,eF&&("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 rl(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=rI(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}eR(function(){var r=o,a=e_(n),i=[];e:{var l=n3.get(e);if(void 0!==l){var s=t0,u=e;switch(e){case"keypress":if(0===tV(n))break e;case"keydown":case"keyup":s=no;break;case"focusin":u="focus",s=t9;break;case"focusout":u="blur",s=t9;break;case"beforeblur":case"afterblur":s=t9;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=t4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=t5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=nl;break;case nJ:case n0:case n1:s=t6;break;case n2:s=ns;break;case"scroll":s=t2;break;case"wheel":s=nu;break;case"copy":case"cut":case"paste":s=t8;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=ni}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&null!=(g=eI(h,f))&&c.push(rs(h,g,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){e:if(l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&n!==eS&&(u=n.relatedTarget||n.fromElement)&&(rI(u)||u[rA]))){if((s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(u=n.relatedTarget||n.toElement,s=r,null!==(u=u?rI(u):null)&&(d=eW(u),u!==d||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=t4,g="onMouseLeave",f="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=ni,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:rM(s),p=null==u?l:rM(u),(l=new c(g,h+"leave",s,n,a)).target=d,l.relatedTarget=p,g=null,rI(a)===r&&((c=new c(f,h+"enter",u,n,a)).target=p,c.relatedTarget=d,g=c),d=g,s&&u)t:{for(c=s,f=u,h=0,p=c;p;p=rc(p))h++;for(p=0,g=f;g;g=rc(g))p++;for(;0<h-p;)c=rc(c),h--;for(;0<p-h;)f=rc(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break t;c=rc(c),f=rc(f)}c=null}else c=null;null!==s&&rd(i,l,s,c,!1),null!==u&&null!==d&&rd(i,d,u,c,!0)}}e:{if("select"===(s=(l=r?rM(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m,y=nC;else if(nw(l)){if(nT)y=nI;else{y=nL;var b=nP}}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=nR);if(y&&(y=y(e,r))){nx(i,y,n,a);break e}b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&er(l,"number",l.value)}switch(b=r?rM(r):window,e){case"focusin":(nw(b)||"true"===b.contentEditable)&&(nZ=b,nH=r,nW=null);break;case"focusout":nW=nH=nZ=null;break;case"mousedown":nV=!0;break;case"contextmenu":case"mouseup":case"dragend":nV=!1,nq(i,n,a);break;case"selectionchange":if(nU)break;case"keydown":case"keyup":nq(i,n,a)}if(nd)t:{switch(e){case"compositionstart":var v="onCompositionStart";break t;case"compositionend":v="onCompositionEnd";break t;case"compositionupdate":v="onCompositionUpdate";break t}v=void 0}else nb?nm(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(nh&&"ko"!==n.locale&&(nb||"onCompositionStart"!==v?"onCompositionEnd"===v&&nb&&(m=tW()):(tZ="value"in(tU=a)?tU.value:tU.textContent,nb=!0)),0<(b=ru(r,v)).length&&(v=new t7(v,e,null,n,a),i.push({event:v,listeners:b}),m?v.data=m:null!==(m=ny(n))&&(v.data=m))),(m=np?function(e,t){switch(e){case"compositionend":return ny(t);case"keypress":if(32!==t.which)return null;return ng=!0," ";case"textInput":return" "===(e=t.data)&&ng?null:e;default:return null}}(e,n):function(e,t){if(nb)return"compositionend"===e||!nd&&nm(e,t)?(e=tW(),tH=tZ=tU=null,nb=!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 nh&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=ru(r,"onBeforeInput")).length&&(a=new t7("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=m)}rt(i,t)})}function rs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ru(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=eI(e,n))&&r.unshift(rs(e,o,a)),null!=(o=eI(e,t))&&r.push(rs(e,o,a))),e=e.return}return r}function rc(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function rd(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=eI(n,o))&&i.unshift(rs(n,s,l)):a||null!=(s=eI(n,o))&&i.push(rs(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var rf=/\r\n?/g,rp=/\u0000|\uFFFD/g;function rh(e){return("string"==typeof e?e:""+e).replace(rf,"\n").replace(rp,"")}function rg(e,t,n){if(t=rh(t),rh(e)!==t&&n)throw Error(d(425))}function rm(){}var ry=null,rb=null;function rv(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var rw="function"==typeof setTimeout?setTimeout:void 0,rx="function"==typeof clearTimeout?clearTimeout:void 0,rk="function"==typeof Promise?Promise:void 0,rS="function"==typeof queueMicrotask?queueMicrotask:void 0!==rk?function(e){return rk.resolve(null).then(e).catch(r_)}:rw;function r_(e){setTimeout(function(){throw e})}function rE(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType){if("/$"===(n=a.data)){if(0===r){e.removeChild(a),tL(t);return}r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++}n=a}while(n);tL(t)}function rC(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function rT(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 rj=Math.random().toString(36).slice(2),rN="__reactFiber$"+rj,rO="__reactProps$"+rj,rA="__reactContainer$"+rj,rP="__reactEvents$"+rj,rL="__reactListeners$"+rj,rR="__reactHandles$"+rj;function rI(e){var t=e[rN];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rA]||n[rN]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=rT(e);null!==e;){if(n=e[rN])return n;e=rT(e)}return t}n=(e=n).parentNode}return null}function rF(e){return(e=e[rN]||e[rA])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function rM(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function rD(e){return e[rO]||null}var rz=[],r$=-1;function rB(e){return{current:e}}function rU(e){0>r$||(e.current=rz[r$],rz[r$]=null,r$--)}function rZ(e,t){rz[++r$]=e.current,e.current=t}var rH={},rW=rB(rH),rV=rB(!1),rq=rH;function rG(e,t){var n=e.type.contextTypes;if(!n)return rH;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 rY(e){return null!=(e=e.childContextTypes)}function rQ(){rU(rV),rU(rW)}function rK(e,t,n){if(rW.current!==rH)throw Error(d(168));rZ(rW,t),rZ(rV,n)}function rX(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case N:return"Fragment";case j:return"Portal";case A:return"Profiler";case O:return"StrictMode";case I:return"Suspense";case F:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case L:return(t.displayName||"Context")+".Consumer";case P:return(t._context.displayName||"Context")+".Provider";case R:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case M:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case D:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(t);case 8:return t===O?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",a));return Z({},n,r)}function rJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rH,rq=rW.current,rZ(rW,e),rZ(rV,rV.current),!0}function r0(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(e=rX(e,t,rq),r.__reactInternalMemoizedMergedChildContext=e,rU(rV),rU(rW),rZ(rW,e)):rU(rV),rZ(rV,n)}var r1=null,r2=!1,r3=!1;function r4(e){null===r1?r1=[e]:r1.push(e)}function r5(){if(!r3&&null!==r1){r3=!0;var e=0,t=tc;try{var n=r1;for(tc=1;e<n.length;e++){var r=n[e];do r=r(!0);while(null!==r)}r1=null,r2=!1}catch(t){throw null!==r1&&(r1=r1.slice(e+1)),eY(e1,r5),t}finally{tc=t,r3=!1}}return null}var r9=[],r6=0,r8=null,r7=0,ae=[],at=0,an=null,ar=1,aa="";function ao(e,t){r9[r6++]=r7,r9[r6++]=r8,r8=e,r7=t}function ai(e,t,n){ae[at++]=ar,ae[at++]=aa,ae[at++]=an,an=e;var r=ar;e=aa;var a=32-e8(r)-1;r&=~(1<<a),n+=1;var o=32-e8(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,ar=1<<32-e8(t)+a|n<<a|r,aa=o+e}else ar=1<<o|n<<a|r,aa=e}function al(e){null!==e.return&&(ao(e,1),ai(e,1,0))}function as(e){for(;e===r8;)r8=r9[--r6],r9[r6]=null,r7=r9[--r6],r9[r6]=null;for(;e===an;)an=ae[--at],ae[at]=null,aa=ae[--at],ae[at]=null,ar=ae[--at],ae[at]=null}var au=null,ac=null,ad=!1,af=null;function ap(e,t){var n=lY(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ah(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,au=e,ac=rC(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,au=e,ac=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==an?{id:ar,overflow:aa}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:0x40000000},(n=lY(18,null,null,0)).stateNode=t,n.return=e,e.child=n,au=e,ac=null,!0);default:return!1}}function ag(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function am(e){if(ad){var t=ac;if(t){var n=t;if(!ah(e,t)){if(ag(e))throw Error(d(418));t=rC(n.nextSibling);var r=au;t&&ah(e,t)?ap(r,n):(e.flags=-4097&e.flags|2,ad=!1,au=e)}}else{if(ag(e))throw Error(d(418));e.flags=-4097&e.flags|2,ad=!1,au=e}}}function ay(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;au=e}function ab(e){if(e!==au)return!1;if(!ad)return ay(e),ad=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!rv(e.type,e.memoizedProps)),t&&(t=ac)){if(ag(e))throw av(),Error(d(418));for(;t;)ap(e,t),t=rC(t.nextSibling)}if(ay(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,n=e.data;if("/$"===n){if(0===t){ac=rC(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ac=null}}else ac=au?rC(e.stateNode.nextSibling):null;return!0}function av(){for(var e=ac;e;)e=rC(e.nextSibling)}function aw(){ac=au=null,ad=!1}function ax(e){null===af?af=[e]:af.push(e)}var ak=C.ReactCurrentBatchConfig;function aS(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(d(309));var r=n.stateNode}if(!r)throw Error(d(147,e));var a=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=a.refs;null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(d(284));if(!n._owner)throw Error(d(290,e))}return e}function a_(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aE(e){return(0,e._init)(e._payload)}function aC(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}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=lK(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):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=l1(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){var o=n.type;return o===N?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===D&&aE(o)===t.type)?((r=a(t,n.props)).ref=aS(e,t,n),r.return=e,r):((r=lX(n.type,n.key,n.props,null,e.mode,r)).ref=aS(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=l2(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function c(e,t,n,r,o){return null===t||7!==t.tag?((t=lJ(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=l1(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case T:return(n=lX(t.type,t.key,t.props,null,e.mode,n)).ref=aS(e,null,t),n.return=e,n;case j:return(t=l2(t,e.mode,n)).return=e,t;case D:return f(e,(0,t._init)(t._payload),n)}if(ea(t)||B(t))return(t=lJ(t,e.mode,n,null)).return=e,t;a_(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===a?s(e,t,n,r):null;case j:return n.key===a?u(e,t,n,r):null;case D:return p(e,t,(a=n._init)(n._payload),r)}if(ea(n)||B(n))return null!==a?null:c(e,t,n,r,null);a_(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case T:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case j:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case D:return h(e,t,n,(0,r._init)(r._payload),a)}if(ea(r)||B(r))return c(t,e=e.get(n)||null,r,a,null);a_(t,r)}return null}return function l(s,u,c,g){if("object"==typeof c&&null!==c&&c.type===N&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case T:e:{for(var m=c.key,y=u;null!==y;){if(y.key===m){if((m=c.type)===N){if(7===y.tag){n(s,y.sibling),(u=a(y,c.props.children)).return=s,s=u;break e}}else if(y.elementType===m||"object"==typeof m&&null!==m&&m.$$typeof===D&&aE(m)===y.type){n(s,y.sibling),(u=a(y,c.props)).ref=aS(s,y,c),u.return=s,s=u;break e}n(s,y);break}t(s,y);y=y.sibling}c.type===N?((u=lJ(c.props.children,s.mode,g,c.key)).return=s,s=u):((g=lX(c.type,c.key,c.props,null,s.mode,g)).ref=aS(s,u,c),g.return=s,s=g)}return i(s);case j:e:{for(y=c.key;null!==u;){if(u.key===y){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(s,u.sibling),(u=a(u,c.children||[])).return=s,s=u;break e}else{n(s,u);break}}t(s,u);u=u.sibling}(u=l2(c,s.mode,g)).return=s,s=u}return i(s);case D:return l(s,u,(y=c._init)(c._payload),g)}if(ea(c))return function(a,i,l,s){for(var u=null,c=null,d=i,g=i=0,m=null;null!==d&&g<l.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var y=p(a,d,l[g],s);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(a,d),i=o(y,i,g),null===c?u=y:c.sibling=y,c=y,d=m}if(g===l.length)return n(a,d),ad&&ao(a,g),u;if(null===d){for(;g<l.length;g++)null!==(d=f(a,l[g],s))&&(i=o(d,i,g),null===c?u=d:c.sibling=d,c=d);return ad&&ao(a,g),u}for(d=r(a,d);g<l.length;g++)null!==(m=h(d,a,g,l[g],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=o(m,i,g),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach(function(e){return t(a,e)}),ad&&ao(a,g),u}(s,u,c,g);if(B(c))return function(a,i,l,s){var u=B(l);if("function"!=typeof u)throw Error(d(150));if(null==(l=u.call(l)))throw Error(d(151));for(var c=u=null,g=i,m=i=0,y=null,b=l.next();null!==g&&!b.done;m++,b=l.next()){g.index>m?(y=g,g=null):y=g.sibling;var v=p(a,g,b.value,s);if(null===v){null===g&&(g=y);break}e&&g&&null===v.alternate&&t(a,g),i=o(v,i,m),null===c?u=v:c.sibling=v,c=v,g=y}if(b.done)return n(a,g),ad&&ao(a,m),u;if(null===g){for(;!b.done;m++,b=l.next())null!==(b=f(a,b.value,s))&&(i=o(b,i,m),null===c?u=b:c.sibling=b,c=b);return ad&&ao(a,m),u}for(g=r(a,g);!b.done;m++,b=l.next())null!==(b=h(g,a,m,b.value,s))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),i=o(b,i,m),null===c?u=b:c.sibling=b,c=b);return e&&g.forEach(function(e){return t(a,e)}),ad&&ao(a,m),u}(s,u,c,g);a_(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(u=a(u,c)).return=s):(n(s,u),(u=l1(c,s.mode,g)).return=s),i(s=u)):n(s,u)}}var aT=aC(!0),aj=aC(!1),aN=rB(null),aO=null,aA=null,aP=null;function aL(){aP=aA=aO=null}function aR(e){var t=aN.current;rU(aN),e._currentValue=t}function aI(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function aF(e,t){aO=e,aP=aA=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ii=!0),e.firstContext=null)}function aM(e){var t=e._currentValue;if(aP!==e){if(e={context:e,memoizedValue:t,next:null},null===aA){if(null===aO)throw Error(d(308));aA=e,aO.dependencies={lanes:0,firstContext:e}}else aA=aA.next=e}return t}var aD=null;function az(e){null===aD?aD=[e]:aD.push(e)}function a$(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,az(t)):(n.next=a.next,a.next=n),t.interleaved=n,aB(e,r)}function aB(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}var aU=!1;function aZ(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function aH(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 aW(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function aV(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&i4)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,aB(e,n)}return null===(a=r.interleaved)?(t.next=t,az(r)):(t.next=a.next,a.next=t),r.interleaved=t,aB(e,n)}function aq(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}function aG(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;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function aY(e,t,n,r){var a=e.updateQueue;aU=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,g=l;switch(f=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(p,d,f):h))break e;d=Z({},d,f);break e;case 2:aU=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;else l=(f=l).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do i|=a.lane,a=a.next;while(a!==t)}else null===o&&(a.shared.lanes=0);ln|=i,e.lanes=i,e.memoizedState=d}}function aQ(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(d(191,a));a.call(r)}}}var aK={},aX=rB(aK),aJ=rB(aK),a0=rB(aK);function a1(e){if(e===aK)throw Error(d(174));return e}function a2(e,t){switch(rZ(a0,t),rZ(aJ,e),rZ(aX,aK),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ed(null,"");break;default:t=(e=8===e?t.parentNode:t).namespaceURI||null,t=ed(t,e=e.tagName)}rU(aX),rZ(aX,t)}function a3(){rU(aX),rU(aJ),rU(a0)}function a4(e){a1(a0.current);var t=a1(aX.current),n=ed(t,e.type);t!==n&&(rZ(aJ,e),rZ(aX,n))}function a5(e){aJ.current===e&&(rU(aX),rU(aJ))}var a9=rB(0);function a6(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!=(128&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 a8=[];function a7(){for(var e=0;e<a8.length;e++)a8[e]._workInProgressVersionPrimary=null;a8.length=0}var oe=C.ReactCurrentDispatcher,ot=C.ReactCurrentBatchConfig,on=0,or=null,oa=null,oo=null,oi=!1,ol=!1,os=0,ou=0;function oc(){throw Error(d(321))}function od(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nF(e[n],t[n]))return!1;return!0}function of(e,t,n,r,a,o){if(on=o,or=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oe.current=null===e||null===e.memoizedState?oY:oQ,e=n(r,a),ol){o=0;do{if(ol=!1,os=0,25<=o)throw Error(d(301));o+=1,oo=oa=null,t.updateQueue=null,oe.current=oK,e=n(r,a)}while(ol)}if(oe.current=oG,t=null!==oa&&null!==oa.next,on=0,oo=oa=or=null,oi=!1,t)throw Error(d(300));return e}function op(){var e=0!==os;return os=0,e}function oh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===oo?or.memoizedState=oo=e:oo=oo.next=e,oo}function og(){if(null===oa){var e=or.alternate;e=null!==e?e.memoizedState:null}else e=oa.next;var t=null===oo?or.memoizedState:oo.next;if(null!==t)oo=t,oa=e;else{if(null===e)throw Error(d(310));e={memoizedState:(oa=e).memoizedState,baseState:oa.baseState,baseQueue:oa.baseQueue,queue:oa.queue,next:null},null===oo?or.memoizedState=oo=e:oo=oo.next=e}return oo}function om(e,t){return"function"==typeof t?t(e):t}function oy(e){var t=og(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=oa,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}r.baseQueue=a=o,n.pending=null}if(null!==a){o=a.next,r=r.baseState;var l=i=null,s=null,u=o;do{var c=u.lane;if((on&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===s?(l=s=f,i=r):s=s.next=f,or.lanes|=c,ln|=c}u=u.next}while(null!==u&&u!==o);null===s?i=r:s.next=l,nF(r,t.memoizedState)||(ii=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do o=a.lane,or.lanes|=o,ln|=o,a=a.next;while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ob(e){var t=og(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);nF(o,t.memoizedState)||(ii=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ov(){}function ow(e,t){var n=or,r=og(),a=t(),o=!nF(r.memoizedState,a);if(o&&(r.memoizedState=a,ii=!0),r=r.queue,oP(oS.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==oo&&1&oo.memoizedState.tag){if(n.flags|=2048,oT(9,ok.bind(null,n,r,a,t),void 0,null),null===i5)throw Error(d(349));0!=(30&on)||ox(n,t,a)}return a}function ox(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=or.updateQueue)?(t={lastEffect:null,stores:null},or.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ok(e,t,n,r){t.value=n,t.getSnapshot=r,o_(t)&&oE(e)}function oS(e,t,n){return n(function(){o_(t)&&oE(e)})}function o_(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nF(e,n)}catch(e){return!0}}function oE(e){var t=aB(e,1);null!==t&&lk(t,e,1,-1)}function oC(e){var t=oh();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:om,lastRenderedState:e},t.queue=e,e=e.dispatch=oH.bind(null,or,e),[t.memoizedState,e]}function oT(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=or.updateQueue)?(t={lastEffect:null,stores:null},or.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 oj(){return og().memoizedState}function oN(e,t,n,r){var a=oh();or.flags|=e,a.memoizedState=oT(1|t,n,void 0,void 0===r?null:r)}function oO(e,t,n,r){var a=og();r=void 0===r?null:r;var o=void 0;if(null!==oa){var i=oa.memoizedState;if(o=i.destroy,null!==r&&od(r,i.deps)){a.memoizedState=oT(t,n,o,r);return}}or.flags|=e,a.memoizedState=oT(1|t,n,o,r)}function oA(e,t){return oN(8390656,8,e,t)}function oP(e,t){return oO(2048,8,e,t)}function oL(e,t){return oO(4,2,e,t)}function oR(e,t){return oO(4,4,e,t)}function oI(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function oF(e,t,n){return n=null!=n?n.concat([e]):null,oO(4,4,oI.bind(null,t,e),n)}function oM(){}function oD(e,t){var n=og();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&od(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oz(e,t){var n=og();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&od(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function o$(e,t,n){return 0==(21&on)?(e.baseState&&(e.baseState=!1,ii=!0),e.memoizedState=n):(nF(n,t)||(n=ti(),or.lanes|=n,ln|=n,e.baseState=!0),t)}function oB(e,t){var n=tc;tc=0!==n&&4>n?n:4,e(!0);var r=ot.transition;ot.transition={};try{e(!1),t()}finally{tc=n,ot.transition=r}}function oU(){return og().memoizedState}function oZ(e,t,n){var r=lx(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oW(e)?oV(t,n):null!==(n=a$(e,t,n,r))&&(lk(n,e,r,lw()),oq(n,t,r))}function oH(e,t,n){var r=lx(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oW(e))oV(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,nF(l,i)){var s=t.interleaved;null===s?(a.next=a,az(t)):(a.next=s.next,s.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(n=a$(e,t,a,r))&&(lk(n,e,r,a=lw()),oq(n,t,r))}}function oW(e){var t=e.alternate;return e===or||null!==t&&t===or}function oV(e,t){ol=oi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function oq(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}var oG={readContext:aM,useCallback:oc,useContext:oc,useEffect:oc,useImperativeHandle:oc,useInsertionEffect:oc,useLayoutEffect:oc,useMemo:oc,useReducer:oc,useRef:oc,useState:oc,useDebugValue:oc,useDeferredValue:oc,useTransition:oc,useMutableSource:oc,useSyncExternalStore:oc,useId:oc,unstable_isNewReconciler:!1},oY={readContext:aM,useCallback:function(e,t){return oh().memoizedState=[e,void 0===t?null:t],e},useContext:aM,useEffect:oA,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oN(4194308,4,oI.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oN(4194308,4,e,t)},useInsertionEffect:function(e,t){return oN(4,2,e,t)},useMemo:function(e,t){var n=oh();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=oh();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=oZ.bind(null,or,e),[r.memoizedState,e]},useRef:function(e){var t=oh();return e={current:e},t.memoizedState=e},useState:oC,useDebugValue:oM,useDeferredValue:function(e){return oh().memoizedState=e},useTransition:function(){var e=oC(!1),t=e[0];return e=oB.bind(null,e[1]),oh().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=or,a=oh();if(ad){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===i5)throw Error(d(349));0!=(30&on)||ox(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oA(oS.bind(null,r,o,e),[e]),r.flags|=2048,oT(9,ok.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=oh(),t=i5.identifierPrefix;if(ad){var n=aa,r=ar;t=":"+t+"R"+(n=(r&~(1<<32-e8(r)-1)).toString(32)+n),0<(n=os++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ou++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oQ={readContext:aM,useCallback:oD,useContext:aM,useEffect:oP,useImperativeHandle:oF,useInsertionEffect:oL,useLayoutEffect:oR,useMemo:oz,useReducer:oy,useRef:oj,useState:function(){return oy(om)},useDebugValue:oM,useDeferredValue:function(e){return o$(og(),oa.memoizedState,e)},useTransition:function(){return[oy(om)[0],og().memoizedState]},useMutableSource:ov,useSyncExternalStore:ow,useId:oU,unstable_isNewReconciler:!1},oK={readContext:aM,useCallback:oD,useContext:aM,useEffect:oP,useImperativeHandle:oF,useInsertionEffect:oL,useLayoutEffect:oR,useMemo:oz,useReducer:ob,useRef:oj,useState:function(){return ob(om)},useDebugValue:oM,useDeferredValue:function(e){var t=og();return null===oa?t.memoizedState=e:o$(t,oa.memoizedState,e)},useTransition:function(){return[ob(om)[0],og().memoizedState]},useMutableSource:ov,useSyncExternalStore:ow,useId:oU,unstable_isNewReconciler:!1};function oX(e,t){if(e&&e.defaultProps)for(var n in t=Z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}function oJ(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var o0={isMounted:function(e){return!!(e=e._reactInternals)&&eW(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=lw(),a=lx(e),o=aW(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=aV(e,o,a))&&(lk(t,e,a,r),aq(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=lw(),a=lx(e),o=aW(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=aV(e,o,a))&&(lk(t,e,a,r),aq(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=lw(),r=lx(e),a=aW(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=aV(e,a,r))&&(lk(t,e,r,n),aq(t,e,r))}};function o1(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||!nM(n,r)||!nM(a,o)}function o2(e,t,n){var r=!1,a=rH,o=t.contextType;return"object"==typeof o&&null!==o?o=aM(o):(a=rY(t)?rq:rW.current,o=(r=null!=(r=t.contextTypes))?rG(e,a):rH),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=o0,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function o3(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&&o0.enqueueReplaceState(t,t.state,null)}function o4(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},aZ(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=aM(o):(o=rY(t)?rq:rW.current,a.context=rG(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(oJ(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&&o0.enqueueReplaceState(a,a.state,null),aY(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function o5(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}(r),r=r.return;while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function o9(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function o6(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var o8="function"==typeof WeakMap?WeakMap:Map;function o7(e,t,n){(n=aW(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){lc||(lc=!0,ld=r),o6(e,t)},n}function ie(e,t,n){(n=aW(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){o6(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){o6(e,t),"function"!=typeof r&&(null===lf?lf=new Set([this]):lf.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function it(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new o8;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=lZ.bind(null,e,t,n),t.then(e,e))}function ir(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ia(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=aW(-1,1)).tag=2,aV(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var io=C.ReactCurrentOwner,ii=!1;function il(e,t,n,r){t.child=null===e?aj(t,null,n,r):aT(t,e.child,n,r)}function is(e,t,n,r,a){n=n.render;var o=t.ref;return(aF(t,a),r=of(e,t,n,r,o,a),n=op(),null===e||ii)?(ad&&n&&al(t),t.flags|=1,il(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,ij(e,t,a))}function iu(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||lQ(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=lX(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,ic(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:nM)(i,r)&&e.ref===t.ref)return ij(e,t,a)}return t.flags|=1,(e=lK(o,r)).ref=t.ref,e.return=t,t.child=e}function ic(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(nM(o,r)&&e.ref===t.ref){if(ii=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,ij(e,t,a);else 0!=(131072&e.flags)&&(ii=!0)}}return ih(e,t,n,r,a)}function id(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},rZ(i7,i8),i8|=n;else{if(0==(0x40000000&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=0x40000000,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,rZ(i7,i8),i8|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,rZ(i7,i8),i8|=r}}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,rZ(i7,i8),i8|=r;return il(e,t,a,n),t.child}function ip(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ih(e,t,n,r,a){var o=rY(n)?rq:rW.current;return(o=rG(t,o),aF(t,a),n=of(e,t,n,r,o,a),r=op(),null===e||ii)?(ad&&r&&al(t),t.flags|=1,il(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,ij(e,t,a))}function ig(e,t,n,r,a){if(rY(n)){var o=!0;rJ(t)}else o=!1;if(aF(t,a),null===t.stateNode)iT(e,t),o2(t,n,r),o4(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;u="object"==typeof u&&null!==u?aM(u):rG(t,u=rY(n)?rq:rW.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)&&o3(t,i,r,u),aU=!1;var f=t.memoizedState;i.state=f,aY(t,r,i,a),s=t.memoizedState,l!==r||f!==s||rV.current||aU?("function"==typeof c&&(oJ(t,n,c,r),s=t.memoizedState),(l=aU||o1(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|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,aH(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:oX(t.type,l),i.props=u,d=t.pendingProps,f=i.context,s="object"==typeof(s=n.contextType)&&null!==s?aM(s):rG(t,s=rY(n)?rq:rW.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)&&o3(t,i,r,s),aU=!1,f=t.memoizedState,i.state=f,aY(t,r,i,a);var h=t.memoizedState;l!==d||f!==h||rV.current||aU?("function"==typeof p&&(oJ(t,n,p,r),h=t.memoizedState),(u=aU||o1(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("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|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,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|=1024),r=!1)}return im(e,t,n,r,o,a)}function im(e,t,n,r,a,o){ip(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&r0(t,n,!1),ij(e,t,o);r=t.stateNode,io.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=aT(t,e.child,null,o),t.child=aT(t,null,l,o)):il(e,t,l,o),t.memoizedState=r.state,a&&r0(t,n,!0),t.child}function iy(e){var t=e.stateNode;t.pendingContext?rK(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rK(e,t.context,!1),a2(e,t.containerInfo)}function ib(e,t,n,r,a){return aw(),ax(a),t.flags|=256,il(e,t,n,r),t.child}var iv={dehydrated:null,treeContext:null,retryLane:0};function iw(e){return{baseLanes:e,cachePool:null,transitions:null}}function ix(e,t,n){var r,a=t.pendingProps,o=a9.current,i=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),rZ(a9,1&o),null===e)return(am(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=0x40000000,null):(l=a.children,e=a.fallback,i?(a=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=l0(l,a,0,null),e=lJ(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=iw(n),t.memoizedState=iv,e):ik(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,i){if(n)return 256&t.flags?(t.flags&=-257,iS(e,t,i,r=o9(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=l0({mode:"visible",children:r.children},a,0,null),o=lJ(o,a,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&aT(t,e.child,null,i),t.child.memoizedState=iw(i),t.memoizedState=iv,o);if(0==(1&t.mode))return iS(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,iS(e,t,i,r=o9(o=Error(d(419)),r,void 0))}if(l=0!=(i&e.childLanes),ii||l){if(null!==(r=i5)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:a=32;break;case 0x20000000:a=0x10000000;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|i))?0:a)&&a!==o.retryLane&&(o.retryLane=a,aB(e,a),lk(r,e,a,-1))}return lI(),iS(e,t,i,r=o9(Error(d(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=lW.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ac=rC(a.nextSibling),au=t,ad=!0,af=null,null!==e&&(ae[at++]=ar,ae[at++]=aa,ae[at++]=an,ar=e.id,aa=e.overflow,an=t),t=ik(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,o,n);if(i){i=a.fallback,l=t.mode,r=(o=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&l)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=lK(o,s)).subtreeFlags=0xe00000&o.subtreeFlags,null!==r?i=lK(r,i):(i=lJ(i,l,n,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,l=null===(l=e.child.memoizedState)?iw(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=iv,a}return e=(i=e.child).sibling,a=lK(i,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function ik(e,t){return(t=l0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function iS(e,t,n,r){return null!==r&&ax(r),aT(t,e.child,null,n),e=ik(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function i_(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),aI(e.return,t,n)}function iE(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function iC(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(il(e,t,r.children,n),0!=(2&(r=a9.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&i_(e,n,t);else if(19===e.tag)i_(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rZ(a9,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===a6(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iE(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===a6(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}iE(t,!0,n,null,o);break;case"together":iE(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function iT(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ij(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ln|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=lK(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=lK(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iN(e,t){if(!ad)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 iO(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0xe00000&a.subtreeFlags,r|=0xe00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}a=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}},o=function(){},i=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,a1(aX.current);var o,i=null;switch(n){case"input":a=X(e,a),r=X(e,r),i=[];break;case"select":a=Z({},a,{value:void 0}),r=Z({},r,{value:void 0}),i=[];break;case"textarea":a=ei(e,a),r=ei(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=rm)}for(u in ex(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u]){if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null))}for(u in r){var s=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l)){if("style"===u){if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(u,n)),n=s}else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(p.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&rn("scroll",e),i||l===s||(i=[])):(i=i||[]).push(u,s))}}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},l=function(e,t,n,r){n!==r&&(t.flags|=4)};var iA=!1,iP=!1,iL="function"==typeof WeakSet?WeakSet:Set,iR=null;function iI(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null)}catch(n){lU(e,t,n)}else n.current=null}}function iF(e,t,n){try{n()}catch(n){lU(e,t,n)}}var iM=!1;function iD(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&iF(t,n,o)}a=a.next}while(a!==r)}}function iz(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function i$(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag;e=n;"function"==typeof t?t(e):t.current=e}}function iB(e){return 5===e.tag||3===e.tag||4===e.tag}function iU(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iB(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var iZ=null,iH=!1;function iW(e,t,n){for(n=n.child;null!==n;)iV(e,t,n),n=n.sibling}function iV(e,t,n){if(e6&&"function"==typeof e6.onCommitFiberUnmount)try{e6.onCommitFiberUnmount(e9,n)}catch(e){}switch(n.tag){case 5:iP||iI(n,t);case 6:var r=iZ,a=iH;iZ=null,iW(e,t,n),iZ=r,iH=a,null!==iZ&&(iH?(e=iZ,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):iZ.removeChild(n.stateNode));break;case 18:null!==iZ&&(iH?(e=iZ,n=n.stateNode,8===e.nodeType?rE(e.parentNode,n):1===e.nodeType&&rE(e,n),tL(e)):rE(iZ,n.stateNode));break;case 4:r=iZ,a=iH,iZ=n.stateNode.containerInfo,iH=!0,iW(e,t,n),iZ=r,iH=a;break;case 0:case 11:case 14:case 15:if(!iP&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)?iF(n,t,i):0!=(4&o)&&iF(n,t,i)),a=a.next}while(a!==r)}iW(e,t,n);break;case 1:if(!iP&&(iI(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){lU(n,t,e)}iW(e,t,n);break;case 21:default:iW(e,t,n);break;case 22:1&n.mode?(iP=(r=iP)||null!==n.memoizedState,iW(e,t,n),iP=r):iW(e,t,n)}}function iq(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new iL),t.forEach(function(t){var r=lV.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function iG(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var o=t,i=o;e:for(;null!==i;){switch(i.tag){case 5:iZ=i.stateNode,iH=!1;break e;case 3:case 4:iZ=i.stateNode.containerInfo,iH=!0;break e}i=i.return}if(null===iZ)throw Error(d(160));iV(e,o,a),iZ=null,iH=!1;var l=a.alternate;null!==l&&(l.return=null),a.return=null}catch(e){lU(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)iY(t,e),t=t.sibling}function iY(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(iG(t,e),iQ(e),4&r){try{iD(3,e,e.return),iz(3,e)}catch(t){lU(e,e.return,t)}try{iD(5,e,e.return)}catch(t){lU(e,e.return,t)}}break;case 1:iG(t,e),iQ(e),512&r&&null!==n&&iI(n,n.return);break;case 5:if(iG(t,e),iQ(e),512&r&&null!==n&&iI(n,n.return),32&e.flags){var a=e.stateNode;try{eg(a,"")}catch(t){lU(e,e.return,t)}}if(4&r&&null!=(a=e.stateNode)){var o=e.memoizedProps,i=null!==n?n.memoizedProps:o,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===o.type&&null!=o.name&&ee(a,o),ek(l,i);var u=ek(l,o);for(i=0;i<s.length;i+=2){var c=s[i],f=s[i+1];"style"===c?ev(a,f):"dangerouslySetInnerHTML"===c?eh(a,f):"children"===c?eg(a,f):E(a,c,f,u)}switch(l){case"input":et(a,o);break;case"textarea":es(a,o);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var h=o.value;null!=h?eo(a,!!o.multiple,h,!1):!!o.multiple!==p&&(null!=o.defaultValue?eo(a,!!o.multiple,o.defaultValue,!0):eo(a,!!o.multiple,o.multiple?[]:"",!1))}a[rO]=o}catch(t){lU(e,e.return,t)}}break;case 6:if(iG(t,e),iQ(e),4&r){if(null===e.stateNode)throw Error(d(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){lU(e,e.return,t)}}break;case 3:if(iG(t,e),iQ(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{tL(t.containerInfo)}catch(t){lU(e,e.return,t)}break;case 4:default:iG(t,e),iQ(e);break;case 13:iG(t,e),iQ(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,o&&(null===a.alternate||null===a.alternate.memoizedState)&&(ll=eJ())),4&r&&iq(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(iP=(u=iP)||c,iG(t,e),iP=u):iG(t,e),iQ(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&0!=(1&e.mode))for(iR=e,c=e.child;null!==c;){for(f=iR=c;null!==iR;){switch(h=(p=iR).child,p.tag){case 0:case 11:case 14:case 15:iD(4,p,p.return);break;case 1:iI(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){lU(r,n,e)}}break;case 5:iI(p,p.return);break;case 22:if(null!==p.memoizedState){iX(f);continue}}null!==h?(h.return=p,iR=h):iX(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{a=f.stateNode,u?(o=a.style,"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"):(l=f.stateNode,i=null!=(s=f.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=eb("display",i))}catch(t){lU(e,e.return,t)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){lU(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:iG(t,e),iQ(e),4&r&&iq(e);case 21:}}function iQ(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(iB(n)){var r=n;break e}n=n.return}throw Error(d(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(eg(a,""),r.flags&=-33);var o=iU(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,o,a);break;case 3:case 4:var i=r.stateNode.containerInfo,l=iU(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=rm));else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,l,i);break;default:throw Error(d(161))}}catch(t){lU(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function iK(e){for(;null!==iR;){var t=iR;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:iP||iz(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!iP){if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:oX(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var o=t.updateQueue;null!==o&&aQ(t,o,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}aQ(t,i,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&tL(f)}}}break;default:throw Error(d(163))}iP||512&t.flags&&i$(t)}catch(e){lU(t,t.return,e)}}if(t===e){iR=null;break}if(null!==(n=t.sibling)){n.return=t.return,iR=n;break}iR=t.return}}function iX(e){for(;null!==iR;){var t=iR;if(t===e){iR=null;break}var n=t.sibling;if(null!==n){n.return=t.return,iR=n;break}iR=t.return}}function iJ(e){for(;null!==iR;){var t=iR;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{iz(4,t)}catch(e){lU(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(e){lU(t,a,e)}}var o=t.return;try{i$(t)}catch(e){lU(t,o,e)}break;case 5:var i=t.return;try{i$(t)}catch(e){lU(t,i,e)}}}catch(e){lU(t,t.return,e)}if(t===e){iR=null;break}var l=t.sibling;if(null!==l){l.return=t.return,iR=l;break}iR=t.return}}var i0=Math.ceil,i1=C.ReactCurrentDispatcher,i2=C.ReactCurrentOwner,i3=C.ReactCurrentBatchConfig,i4=0,i5=null,i9=null,i6=0,i8=0,i7=rB(0),le=0,lt=null,ln=0,lr=0,la=0,lo=null,li=null,ll=0,ls=1/0,lu=null,lc=!1,ld=null,lf=null,lp=!1,lh=null,lg=0,lm=0,ly=null,lb=-1,lv=0;function lw(){return 0!=(6&i4)?eJ():-1!==lb?lb:lb=eJ()}function lx(e){return 0==(1&e.mode)?1:0!=(2&i4)&&0!==i6?i6&-i6:null!==ak.transition?(0===lv&&(lv=ti()),lv):0!==(e=tc)?e:e=void 0===(e=window.event)?16:tB(e.type)}function lk(e,t,n,r){if(50<lm)throw lm=0,ly=null,Error(d(185));ts(e,n,r),(0==(2&i4)||e!==i5)&&(e===i5&&(0==(2&i4)&&(lr|=n),4===le&&lT(e,i6)),lS(e,r),1===n&&0===i4&&0==(1&t.mode)&&(ls=eJ()+500,r2&&r5()))}function lS(e,t){var n,r=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-e8(o),l=1<<i,s=a[i];-1===s?(0==(l&n)||0!=(l&r))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var a=ta(e,e===i5?i6:0);if(0===a)null!==r&&eQ(r),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(null!=r&&eQ(r),1===t){;0===e.tag?(n=lj.bind(null,e),r2=!0,r4(n)):r4(lj.bind(null,e)),rS(function(){0==(6&i4)&&r5()}),r=null}else{switch(td(a)){case 1:r=e1;break;case 4:r=e2;break;case 16:default:r=e3;break;case 0x20000000:r=e5}r=function(e,t){return eY(e,t)}(r,l_.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function l_(e,t){if(lb=-1,lv=0,0!=(6&i4))throw Error(d(327));var n=e.callbackNode;if(l$()&&e.callbackNode!==n)return null;var r=ta(e,e===i5?i6:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=lF(e,r);else{t=r;var a=i4;i4|=2;var o=lR();for((i5!==e||i6!==t)&&(lu=null,ls=eJ()+500,lP(e,t));;)try{(function(){for(;null!==i9&&!eK();)lM(i9)})();break}catch(t){lL(e,t)}aL(),i1.current=o,i4=a,null!==i9?t=0:(i5=null,i6=0,t=le)}if(0!==t){if(2===t&&0!==(a=to(e))&&(r=a,t=lE(e,a)),1===t)throw n=lt,lP(e,0),lT(e,r),lS(e,eJ()),n;if(6===t)lT(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!nF(o(),a))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=lF(e,r))&&0!==(o=to(e))&&(r=o,t=lE(e,o)),1===t))throw n=lt,lP(e,0),lT(e,r),lS(e,eJ()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(d(345));case 2:case 5:lz(e,li,lu);break;case 3:if(lT(e,r),(0x7c00000&r)===r&&10<(t=ll+500-eJ())){if(0!==ta(e,0))break;if(((a=e.suspendedLanes)&r)!==r){lw(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=rw(lz.bind(null,e,li,lu),t);break}lz(e,li,lu);break;case 4:if(lT(e,r),(4194240&r)===r)break;for(a=-1,t=e.eventTimes;0<r;){var i=31-e8(r);o=1<<i,(i=t[i])>a&&(a=i),r&=~o}if(r=a,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*i0(r/1960))-r)){e.timeoutHandle=rw(lz.bind(null,e,li,lu),r);break}lz(e,li,lu);break;default:throw Error(d(329))}}}return lS(e,eJ()),e.callbackNode===n?l_.bind(null,e):null}function lE(e,t){var n=lo;return e.current.memoizedState.isDehydrated&&(lP(e,t).flags|=256),2!==(e=lF(e,t))&&(t=li,li=n,null!==t&&lC(t)),e}function lC(e){null===li?li=e:li.push.apply(li,e)}function lT(e,t){for(t&=~la,t&=~lr,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-e8(t),r=1<<n;e[n]=-1,t&=~r}}function lj(e){if(0!=(6&i4))throw Error(d(327));l$();var t=ta(e,0);if(0==(1&t))return lS(e,eJ()),null;var n=lF(e,t);if(0!==e.tag&&2===n){var r=to(e);0!==r&&(t=r,n=lE(e,r))}if(1===n)throw n=lt,lP(e,0),lT(e,t),lS(e,eJ()),n;if(6===n)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,lz(e,li,lu),lS(e,eJ()),null}function lN(e,t){var n=i4;i4|=1;try{return e(t)}finally{0===(i4=n)&&(ls=eJ()+500,r2&&r5())}}function lO(e){null!==lh&&0===lh.tag&&0==(6&i4)&&l$();var t=i4;i4|=1;var n=i3.transition,r=tc;try{if(i3.transition=null,tc=1,e)return e()}finally{tc=r,i3.transition=n,0==(6&(i4=t))&&r5()}}function lA(){i8=i7.current,rU(i7)}function lP(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,rx(n)),null!==i9)for(n=i9.return;null!==n;){var r=n;switch(as(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&rQ();break;case 3:a3(),rU(rV),rU(rW),a7();break;case 5:a5(r);break;case 4:a3();break;case 13:case 19:rU(a9);break;case 10:aR(r.type._context);break;case 22:case 23:lA()}n=n.return}if(i5=e,i9=e=lK(e.current,null),i6=i8=t,le=0,lt=null,la=lr=ln=0,li=lo=null,null!==aD){for(t=0;t<aD.length;t++)if(null!==(r=(n=aD[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}aD=null}return e}function lL(e,t){for(;;){var n=i9;try{if(aL(),oe.current=oG,oi){for(var r=or.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}oi=!1}if(on=0,oo=oa=or=null,ol=!1,os=0,i2.current=null,null===n||null===n.return){le=1,lt=t,i9=null;break}e:{var o=e,i=n.return,l=n,s=t;if(t=i6,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s,c=l,f=c.tag;if(0==(1&c.mode)&&(0===f||11===f||15===f)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ir(i);if(null!==h){h.flags&=-257,ia(h,i,l,o,t),1&h.mode&&it(o,u,t),t=h,s=u;var g=t.updateQueue;if(null===g){var m=new Set;m.add(s),t.updateQueue=m}else g.add(s);break e}if(0==(1&t)){it(o,u,t),lI();break e}s=Error(d(426))}else if(ad&&1&l.mode){var y=ir(i);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),ia(y,i,l,o,t),ax(o5(s,l));break e}}o=s=o5(s,l),4!==le&&(le=2),null===lo?lo=[o]:lo.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var b=o7(o,s,t);aG(o,b);break e;case 1:l=s;var v=o.type,w=o.stateNode;if(0==(128&o.flags)&&("function"==typeof v.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===lf||!lf.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=ie(o,l,t);aG(o,x);break e}}o=o.return}while(null!==o)}lD(n)}catch(e){t=e,i9===n&&null!==n&&(i9=n=n.return);continue}break}}function lR(){var e=i1.current;return i1.current=oG,null===e?oG:e}function lI(){(0===le||3===le||2===le)&&(le=4),null===i5||0==(0xfffffff&ln)&&0==(0xfffffff&lr)||lT(i5,i6)}function lF(e,t){var n=i4;i4|=2;var r=lR();for((i5!==e||i6!==t)&&(lu=null,lP(e,t));;)try{(function(){for(;null!==i9;)lM(i9)})();break}catch(t){lL(e,t)}if(aL(),i4=n,i1.current=r,null!==i9)throw Error(d(261));return i5=null,i6=0,le}function lM(e){var t=s(e.alternate,e,i8);e.memoizedProps=e.pendingProps,null===t?lD(e):i9=t,i2.current=null}function lD(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=function(e,t,n){var r=t.pendingProps;switch(as(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return iO(t),null;case 1:case 17:return rY(t.type)&&rQ(),iO(t),null;case 3:return r=t.stateNode,a3(),rU(rV),rU(rW),a7(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(ab(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==af&&(lC(af),af=null))),o(e,t),iO(t),null;case 5:a5(t);var s=a1(a0.current);if(n=t.type,null!==e&&null!=t.stateNode)i(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(d(166));return iO(t),null}if(e=a1(aX.current),ab(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[rN]=t,r[rO]=u,e=0!=(1&t.mode),n){case"dialog":rn("cancel",r),rn("close",r);break;case"iframe":case"object":case"embed":rn("load",r);break;case"video":case"audio":for(s=0;s<n8.length;s++)rn(n8[s],r);break;case"source":rn("error",r);break;case"img":case"image":case"link":rn("error",r),rn("load",r);break;case"details":rn("toggle",r);break;case"input":J(r,u),rn("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},rn("invalid",r);break;case"textarea":el(r,u),rn("invalid",r)}for(var c in ex(n,u),s=null,u)if(u.hasOwnProperty(c)){var f=u[c];"children"===c?"string"==typeof f?r.textContent!==f&&(!0!==u.suppressHydrationWarning&&rg(r.textContent,f,e),s=["children",f]):"number"==typeof f&&r.textContent!==""+f&&(!0!==u.suppressHydrationWarning&&rg(r.textContent,f,e),s=["children",""+f]):p.hasOwnProperty(c)&&null!=f&&"onScroll"===c&&rn("scroll",r)}switch(n){case"input":Y(r),en(r,u,!0);break;case"textarea":Y(r),eu(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=rm)}r=s,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===s.nodeType?s:s.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ec(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[rN]=t,e[rO]=r,a(e,t,!1,!1),t.stateNode=e;e:{switch(c=ek(n,r),n){case"dialog":rn("cancel",e),rn("close",e),s=r;break;case"iframe":case"object":case"embed":rn("load",e),s=r;break;case"video":case"audio":for(s=0;s<n8.length;s++)rn(n8[s],e);s=r;break;case"source":rn("error",e),s=r;break;case"img":case"image":case"link":rn("error",e),rn("load",e),s=r;break;case"details":rn("toggle",e),s=r;break;case"input":J(e,r),s=X(e,r),rn("invalid",e);break;case"option":default:s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Z({},r,{value:void 0}),rn("invalid",e);break;case"textarea":el(e,r),s=ei(e,r),rn("invalid",e)}for(u in ex(n,s),f=s)if(f.hasOwnProperty(u)){var h=f[u];"style"===u?ev(e,h):"dangerouslySetInnerHTML"===u?null!=(h=h?h.__html:void 0)&&eh(e,h):"children"===u?"string"==typeof h?("textarea"!==n||""!==h)&&eg(e,h):"number"==typeof h&&eg(e,""+h):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?null!=h&&"onScroll"===u&&rn("scroll",e):null!=h&&E(e,u,h,c))}switch(n){case"input":Y(e),en(e,r,!1);break;case"textarea":Y(e),eu(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?eo(e,!!r.multiple,u,!1):null!=r.defaultValue&&eo(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=rm)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return iO(t),null;case 6:if(e&&null!=t.stateNode)l(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(d(166));if(n=a1(a0.current),a1(aX.current),ab(t)){if(r=t.stateNode,n=t.memoizedProps,r[rN]=t,(u=r.nodeValue!==n)&&null!==(e=au))switch(e.tag){case 3:rg(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&rg(r.nodeValue,n,0!=(1&e.mode))}u&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[rN]=t,t.stateNode=r}return iO(t),null;case 13:if(rU(a9),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ad&&null!==ac&&0!=(1&t.mode)&&0==(128&t.flags))av(),aw(),t.flags|=98560,u=!1;else if(u=ab(t),null!==r&&null!==r.dehydrated){if(null===e){if(!u)throw Error(d(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(d(317));u[rN]=t}else aw(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;iO(t),u=!1}else null!==af&&(lC(af),af=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=n,t;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&a9.current)?0===le&&(le=3):lI())),null!==t.updateQueue&&(t.flags|=4),iO(t),null;case 4:return a3(),o(e,t),null===e&&ro(t.stateNode.containerInfo),iO(t),null;case 10:return aR(t.type._context),iO(t),null;case 19:if(rU(a9),null===(u=t.memoizedState))return iO(t),null;if(r=0!=(128&t.flags),null===(c=u.rendering)){if(r)iN(u,!1);else{if(0!==le||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=a6(e))){for(t.flags|=128,iN(u,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)u=n,e=r,u.flags&=0xe00002,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return rZ(a9,1&a9.current|2),t.child}e=e.sibling}null!==u.tail&&eJ()>ls&&(t.flags|=128,r=!0,iN(u,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=a6(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),iN(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!ad)return iO(t),null}else 2*eJ()-u.renderingStartTime>ls&&0x40000000!==n&&(t.flags|=128,r=!0,iN(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=u.last)?n.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eJ(),t.sibling=null,n=a9.current,rZ(a9,r?1&n|2:1&n),t;return iO(t),null;case 22:case 23:return lA(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(0x40000000&i8)&&(iO(t),6&t.subtreeFlags&&(t.flags|=8192)):iO(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(n,t,i8))){i9=n;return}}else{if(null!==(n=function(e,t){switch(as(t),t.tag){case 1:return rY(t.type)&&rQ(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return a3(),rU(rV),rU(rW),a7(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return a5(t),null;case 13:if(rU(a9),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));aw()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return rU(a9),null;case 4:return a3(),null;case 10:return aR(t.type._context),null;case 22:case 23:return lA(),null;default:return null}}(n,t))){n.flags&=32767,i9=n;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{le=6,i9=null;return}}if(null!==(t=t.sibling)){i9=t;return}i9=t=e}while(null!==t);0===le&&(le=5)}function lz(e,t,n){var r=tc,a=i3.transition;try{i3.transition=null,tc=1,function(e,t,n,r){do l$();while(null!==lh);if(0!=(6&i4))throw Error(d(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(!function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-e8(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,o),e===i5&&(i9=i5=null,i6=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||lp||(lp=!0,lq(e3,function(){return l$(),null})),o=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||o){o=i3.transition,i3.transition=null;var i,l,s,u=tc;tc=1;var c=i4;i4|=4,i2.current=null,!function(e,t){if(ry=tI,nB(e=n$())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var l=0,s=-1,u=-1,c=0,f=0,p=e,h=null;t:for(;;){for(;p!==n||0!==o&&3!==p.nodeType||(s=l+o),p!==i||0!==r&&3!==p.nodeType||(u=l+r),3===p.nodeType&&(l+=p.nodeValue.length),null!==(a=p.firstChild);){;h=p,p=a}for(;;){if(p===e)break t;if(h===n&&++c===o&&(s=l),h===i&&++f===r&&(u=l),null!==(a=p.nextSibling))break;h=(p=h).parentNode}p=a}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(rb={focusedElem:e,selectionRange:n},tI=!1,iR=t;null!==iR;)if(e=(t=iR).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,iR=e;else for(;null!==iR;){t=iR;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,y=g.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:oX(t.type,m),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(d(163))}}catch(e){lU(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,iR=e;break}iR=t.return}g=iM,iM=!1}(e,n),iY(n,e),!function(e){var t=n$(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&nB(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=nz(n,o);var i=nz(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(rb),tI=!!ry,rb=ry=null,e.current=n,i=n,l=e,s=a,iR=i,function e(t,n,r){for(var a=0!=(1&t.mode);null!==iR;){var o=iR,i=o.child;if(22===o.tag&&a){var l=null!==o.memoizedState||iA;if(!l){var s=o.alternate,u=null!==s&&null!==s.memoizedState||iP;s=iA;var c=iP;if(iA=l,(iP=u)&&!c)for(iR=o;null!==iR;)u=(l=iR).child,22===l.tag&&null!==l.memoizedState?iJ(o):null!==u?(u.return=l,iR=u):iJ(o);for(;null!==i;)iR=i,e(i,n,r),i=i.sibling;iR=o,iA=s,iP=c}iK(t,n,r)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,iR=i):iK(t,n,r)}}(i,l,s),eX(),i4=c,tc=u,i3.transition=o}else e.current=n;if(lp&&(lp=!1,lh=e,lg=a),0===(o=e.pendingLanes)&&(lf=null),!function(e){if(e6&&"function"==typeof e6.onCommitFiberRoot)try{e6.onCommitFiberRoot(e9,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode,r),lS(e,eJ()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((a=t[n]).value,{componentStack:a.stack,digest:a.digest});if(lc)throw lc=!1,e=ld,ld=null,e;0!=(1&lg)&&0!==e.tag&&l$(),0!=(1&(o=e.pendingLanes))?e===ly?lm++:(lm=0,ly=e):lm=0,r5()}(e,t,n,r)}finally{i3.transition=a,tc=r}return null}function l$(){if(null!==lh){var e=td(lg),t=i3.transition,n=tc;try{if(i3.transition=null,tc=16>e?16:e,null===lh)var r=!1;else{if(e=lh,lh=null,lg=0,0!=(6&i4))throw Error(d(331));var a=i4;for(i4|=4,iR=e.current;null!==iR;){var o=iR,i=o.child;if(0!=(16&iR.flags)){var l=o.deletions;if(null!==l){for(var s=0;s<l.length;s++){var u=l[s];for(iR=u;null!==iR;){var c=iR;switch(c.tag){case 0:case 11:case 15:iD(8,c,o)}var f=c.child;if(null!==f)f.return=c,iR=f;else for(;null!==iR;){var p=(c=iR).sibling,h=c.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&(delete n[rN],delete n[rO],delete n[rP],delete n[rL],delete n[rR]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===u){iR=null;break}if(null!==p){p.return=h,iR=p;break}iR=h}}}var g=o.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}iR=o}}if(0!=(2064&o.subtreeFlags)&&null!==i)i.return=o,iR=i;else for(;null!==iR;){if(o=iR,0!=(2048&o.flags))switch(o.tag){case 0:case 11:case 15:iD(9,o,o.return)}var b=o.sibling;if(null!==b){b.return=o.return,iR=b;break}iR=o.return}}var v=e.current;for(iR=v;null!==iR;){var w=(i=iR).child;if(0!=(2064&i.subtreeFlags)&&null!==w)w.return=i,iR=w;else for(i=v;null!==iR;){if(l=iR,0!=(2048&l.flags))try{switch(l.tag){case 0:case 11:case 15:iz(9,l)}}catch(e){lU(l,l.return,e)}if(l===i){iR=null;break}var x=l.sibling;if(null!==x){x.return=l.return,iR=x;break}iR=l.return}}if(i4=a,r5(),e6&&"function"==typeof e6.onPostCommitFiberRoot)try{e6.onPostCommitFiberRoot(e9,e)}catch(e){}r=!0}return r}finally{tc=n,i3.transition=t}}return!1}function lB(e,t,n){t=o7(e,t=o5(n,t),1),e=aV(e,t,1),t=lw(),null!==e&&(ts(e,1,t),lS(e,t))}function lU(e,t,n){if(3===e.tag)lB(e,e,n);else for(;null!==t;){if(3===t.tag){lB(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===lf||!lf.has(r))){e=ie(t,e=o5(n,e),1),t=aV(t,e,1),e=lw(),null!==t&&(ts(t,1,e),lS(t,e));break}}t=t.return}}function lZ(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=lw(),e.pingedLanes|=e.suspendedLanes&n,i5===e&&(i6&n)===n&&(4===le||3===le&&(0x7c00000&i6)===i6&&500>eJ()-ll?lP(e,0):la|=n),lS(e,t)}function lH(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tn,0==(0x7c00000&(tn<<=1))&&(tn=4194304)));var n=lw();null!==(e=aB(e,t))&&(ts(e,t,n),lS(e,n))}function lW(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),lH(e,n)}function lV(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(t),lH(e,n)}function lq(e,t){return eY(e,t)}function lG(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lY(e,t,n,r){return new lG(e,t,n,r)}function lQ(e){return!(!(e=e.prototype)||!e.isReactComponent)}s=function(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps||rV.current)ii=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return ii=!1,function(e,t,n){switch(t.tag){case 3:iy(t),aw();break;case 5:a4(t);break;case 1:rY(t.type)&&rJ(t);break;case 4:a2(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;rZ(aN,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return rZ(a9,1&a9.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return ix(e,t,n);return rZ(a9,1&a9.current),null!==(e=ij(e,t,n))?e.sibling:null}rZ(a9,1&a9.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return iC(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),rZ(a9,a9.current),!r)return null;break;case 22:case 23:return t.lanes=0,id(e,t,n)}return ij(e,t,n)}(e,t,n);ii=0!=(131072&e.flags)}}else ii=!1,ad&&0!=(1048576&t.flags)&&ai(t,r7,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;iT(e,t),e=t.pendingProps;var a=rG(t,rW.current);aF(t,n),a=of(null,t,r,e,a,n);var o=op();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rY(r)?(o=!0,rJ(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,aZ(t),a.updater=o0,t.stateNode=a,a._reactInternals=t,o4(t,r,e,n),t=im(null,t,r,!0,o,n)):(t.tag=0,ad&&o&&al(t),il(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(iT(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return lQ(e)?1:0;if(null!=e){if((e=e.$$typeof)===R)return 11;if(e===M)return 14}return 2}(r),e=oX(r,e),a){case 0:t=ih(null,t,r,e,n);break e;case 1:t=ig(null,t,r,e,n);break e;case 11:t=is(null,t,r,e,n);break e;case 14:t=iu(null,t,r,oX(r.type,e),n);break e}throw Error(d(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),ih(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),ig(e,t,r,a,n);case 3:e:{if(iy(t),null===e)throw Error(d(387));r=t.pendingProps,a=(o=t.memoizedState).element,aH(e,t),aY(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){a=o5(Error(d(423)),t),t=ib(e,t,r,n,a);break e}else if(r!==a){a=o5(Error(d(424)),t),t=ib(e,t,r,n,a);break e}else for(ac=rC(t.stateNode.containerInfo.firstChild),au=t,ad=!0,af=null,n=aj(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(aw(),r===a){t=ij(e,t,n);break e}il(e,t,r,n)}t=t.child}return t;case 5:return a4(t),null===e&&am(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children,rv(r,a)?i=null:null!==o&&rv(r,o)&&(t.flags|=32),ip(e,t),il(e,t,i,n),t.child;case 6:return null===e&&am(t),null;case 13:return ix(e,t,n);case 4:return a2(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=aT(t,null,r,n):il(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),is(e,t,r,a,n);case 7:return il(e,t,t.pendingProps,n),t.child;case 8:case 12:return il(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,rZ(aN,r._currentValue),r._currentValue=i,null!==o){if(nF(o.value,i)){if(o.children===a.children&&!rV.current){t=ij(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){i=o.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===o.tag){(s=aW(-1,n&-n)).tag=2;var u=o.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),aI(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===o.tag)i=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(d(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),aI(i,n,t),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===t){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}il(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,aF(t,n),r=r(a=aM(a)),t.flags|=1,il(e,t,r,n),t.child;case 14:return a=oX(r=t.type,t.pendingProps),a=oX(r.type,a),iu(e,t,r,a,n);case 15:return ic(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),iT(e,t),t.tag=1,rY(r)?(e=!0,rJ(t)):e=!1,aF(t,n),o2(t,r,a),o4(t,r,a,n),im(null,t,r,!0,e,n);case 19:return iC(e,t,n);case 22:return id(e,t,n)}throw Error(d(156,t.tag))};function lK(e,t){var n=e.alternate;return null===n?((n=lY(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.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&e.flags,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 lX(e,t,n,r,a,o){var i=2;if(r=e,"function"==typeof e)lQ(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case N:return lJ(n.children,a,o,t);case O:i=8,a|=8;break;case A:return(e=lY(12,n,t,2|a)).elementType=A,e.lanes=o,e;case I:return(e=lY(13,n,t,a)).elementType=I,e.lanes=o,e;case F:return(e=lY(19,n,t,a)).elementType=F,e.lanes=o,e;case z:return l0(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:i=10;break e;case L:i=9;break e;case R:i=11;break e;case M:i=14;break e;case D:i=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=lY(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function lJ(e,t,n,r){return(e=lY(7,e,r,t)).lanes=n,e}function l0(e,t,n,r){return(e=lY(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={isHidden:!1},e}function l1(e,t,n){return(e=lY(6,e,null,t)).lanes=n,e}function l2(e,t,n){return(t=lY(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function l3(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tl(0),this.expirationTimes=tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tl(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function l4(e,t,n,r,a,o,i,l,s){return e=new l3(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lY(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},aZ(o),e}function l5(e){if(!e)return rH;e=e._reactInternals;e:{if(eW(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rY(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var n=e.type;if(rY(n))return rX(e,n,t)}return t}function l9(e,t,n,r,a,o,i,l,s){return(e=l4(n,r,!0,e,a,o,i,l,s)).context=l5(null),n=e.current,r=lw(),(o=aW(r,a=lx(n))).callback=null!=t?t:null,aV(n,o,a),e.current.lanes=a,ts(e,a,r),lS(e,r),e}function l6(e,t,n,r){var a=t.current,o=lw(),i=lx(a);return n=l5(n),null===t.context?t.context=n:t.pendingContext=n,(t=aW(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=aV(a,t,i))&&(lk(e,a,i,o),aq(e,a,i)),i}function l8(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function l7(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function se(e,t){l7(e,t),(e=e.alternate)&&l7(e,t)}var st="function"==typeof reportError?reportError:function(e){console.error(e)};function sn(e){this._internalRoot=e}function sr(e){this._internalRoot=e}function sa(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function so(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function si(){}sr.prototype.render=sn.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));l6(e,t,null,null)},sr.prototype.unmount=sn.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lO(function(){l6(null,e,null,null)}),t[rA]=null}},sr.prototype.unstable_scheduleHydration=function(e){if(e){var t=tg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<t_.length&&0!==t&&t<t_[n].priority;n++);t_.splice(n,0,e),0===n&&tj(e)}};function sl(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=l8(i);l.call(e)}}l6(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=l8(i);o.call(e)}}var i=l9(t,r,e,0,null,!1,!1,"",si);return e._reactRootContainer=i,e[rA]=i.current,ro(8===e.nodeType?e.parentNode:e),lO(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=l8(s);l.call(e)}}var s=l4(e,0,!1,null,null,!1,!1,"",si);return e._reactRootContainer=s,e[rA]=s.current,ro(8===e.nodeType?e.parentNode:e),lO(function(){l6(t,s,n,r)}),s}(n,t,e,a,r);return l8(i)}tf=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=tr(t.pendingLanes);0!==n&&(tu(t,1|n),lS(t,eJ()),0==(6&i4)&&(ls=eJ()+500,r5()))}break;case 13:lO(function(){var t=aB(e,1);null!==t&&lk(t,e,1,lw())}),se(e,1)}},tp=function(e){if(13===e.tag){var t=aB(e,0x8000000);null!==t&&lk(t,e,0x8000000,lw()),se(e,0x8000000)}},th=function(e){if(13===e.tag){var t=lx(e),n=aB(e,t);null!==n&&lk(n,e,t,lw()),se(e,t)}},tg=function(){return tc},tm=function(e,t){var n=tc;try{return tc=e,t()}finally{tc=n}},eE=function(e,t,n){switch(t){case"input":if(et(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=rD(r);if(!a)throw Error(d(90));Q(r),et(r,a)}}}break;case"textarea":es(e,n);break;case"select":null!=(t=n.value)&&eo(e,!!n.multiple,t,!1)}},eA=lN,eP=lO;var ss={findFiberByHostInstance:rI,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},su={bundleType:ss.bundleType,version:ss.version,rendererPackageName:ss.rendererPackageName,rendererConfig:ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eG(e))?null:e.stateNode},findFiberByHostInstance:ss.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sc.isDisabled&&sc.supportsFiber)try{e9=sc.inject(su),e6=sc}catch(e){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[rF,rM,rD,eN,eO,lN]},t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!sa(t))throw Error(d(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:j,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!sa(e))throw Error(d(299));var n=!1,r="",a=st;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=l4(e,1,!1,null,null,n,!1,r,a),e[rA]=t.current,ro(8===e.nodeType?e.parentNode:e),new sn(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return e=null===(e=eG(t))?null:e.stateNode},t.flushSync=function(e){return lO(e)},t.hydrate=function(e,t,n){if(!so(t))throw Error(d(200));return sl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!sa(e))throw Error(d(405));var r=null!=n&&n.hydratedSources||null,a=!1,o="",i=st;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=l9(t,null,e,1,null!=n?n:null,a,!1,o,i),e[rA]=t.current,ro(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new sr(t)},t.render=function(e,t,n){if(!so(t))throw Error(d(200));return sl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!so(e))throw Error(d(40));return!!e._reactRootContainer&&(lO(function(){sl(null,null,e,!1,function(){e._reactRootContainer=null,e[rA]=null})}),!0)},t.unstable_batchedUpdates=lN,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!so(n))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return sl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},20745:function(e,t,n){"use strict";var r=n(73935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},73935:function(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(e){console.error(e)}}(),e.exports=n(64448)},69590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,i){if(o===i)return!0;if(o&&i&&"object"==typeof o&&"object"==typeof i){var l,s,u,c;if(o.constructor!==i.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(!e(o[s],i[s]))return!1;return!0}if(n&&o instanceof Map&&i instanceof Map){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=o.entries();!(s=c.next()).done;)if(!e(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&i instanceof Set){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(i)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(o[s]!==i[s])return!1;return!0}if(o.constructor===RegExp)return o.source===i.source&&o.flags===i.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof i.valueOf)return o.valueOf()===i.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof i.toString)return o.toString()===i.toString();if((l=(u=Object.keys(o)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&o instanceof Element)return!1;for(s=l;0!=s--;){if("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!o.$$typeof){if(!e(o[u[s]],i[u[s]]))return!1}}return!0}return o!=o&&i!=i}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},70405:function(e,t,n){"use strict";n.d(t,{B6:function(){return Z},ql:function(){return K}});var r=n(67294),a=n(45697),o=n.n(a),i=n(69590),l=n.n(i),s=n(41143),u=n.n(s),c=n(96774),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}).apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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 m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={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(m).map(function(e){return m[e]}),x={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(x).reduce(function(e,t){return e[x[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},_=function(e){var t=S(e,m.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},E=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)},{})},C=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()},T=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},j=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.default.push(n):e.priority.push(n),e},{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},A=[m.NOSCRIPT,m.SCRIPT,m.STYLE],P=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,"'")},L=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},"")},R=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[x[n]||n]=e[n],t},t)},I=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=x[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},F=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){var e,n,a,o;return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=R(n,a),[r.createElement(m.TITLE,o,e)]},toString:function(){var r,a,o,i,l,s;return r=e,a=t.title,o=t.titleAttributes,i=n,l=L(o),s=j(a),l?"<"+r+' data-rh="true" '+l+">"+P(s,i)+"</"+r+">":"<"+r+' data-rh="true">'+P(s,i)+"</"+r+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return R(t)},toString:function(){return L(t)}};default:return{toComponent:function(){return I(e,t)},toString:function(){var r,a,o;return r=e,a=t,o=n,a.reduce(function(e,t){var n=Object.keys(t).filter(function(e){return!("innerHTML"===e||"cssText"===e)}).reduce(function(e,n){var r=void 0===t[n]?n:n+'="'+P(t[n],o)+'"';return e?e+" "+r:r},""),a=t.innerHTML||t.cssText||"",i=-1===A.indexOf(r);return e+"<"+r+' data-rh="true" '+n+(i?"/>":">"+a+"</"+r+">")},"")}}}},M=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=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,h,g,w,x,k,S,_=(h=(p=e).linkTags,g=p.scriptTags,w=p.encode,x=N(p.metaTags,v),k=N(h,y),S=N(g,b),{priorityMethods:{toComponent:function(){return[].concat(I(m.META,x.priority),I(m.LINK,k.priority),I(m.SCRIPT,S.priority))},toString:function(){return F(m.META,x.priority,w)+" "+F(m.LINK,k.priority,w)+" "+F(m.SCRIPT,S.priority,w)}},metaTags:x.default,linkTags:k.default,scriptTags:S.default});f=_.priorityMethods,u=_.linkTags,c=_.metaTags,d=_.scriptTags}return{priority:f,base:F(m.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(m.LINK,u,r),meta:F(m.META,c,r),noscript:F(m.NOSCRIPT,o,r),script:F(m.SCRIPT,d,r),style:F(m.STYLE,i,r),title:F(m.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},D=[],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?D:n.instances},add:function(e){(n.canUseDOM?D:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?D:n.instances).indexOf(e);(n.canUseDOM?D:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),B=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),U="undefined"!=typeof document,Z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new z(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);Z.canUseDOM=U,Z.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},Z.defaultProps={context:{}},Z.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(m.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(","))}},V=function(e,t){var n,r,a=e.baseTag,o=e.htmlAttributes,i=e.linkTags,l=e.metaTags,s=e.noscriptTags,u=e.onChangeClientState,c=e.scriptTags,d=e.styleTags,f=e.title,p=e.titleAttributes;W(m.BODY,e.bodyAttributes),W(m.HTML,o),n=f,r=p,void 0!==n&&document.title!==n&&(document.title=j(n)),W(m.TITLE,r);var h={baseTag:H(m.BASE,a),linkTags:H(m.LINK,i),metaTags:H(m.META,l),noscriptTags:H(m.NOSCRIPT,s),scriptTags:H(m.SCRIPT,c),styleTags:H(m.STYLE,d)},g={},y={};Object.keys(h).forEach(function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(g[e]=n),r.length&&(y[e]=h[e].oldTags)}),t&&t(),u(e,g,y)},q=null,G=function(e){function t(){for(var t,n=arguments.length,r=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={baseTag:(e=["href"],(t=n.helmetInstances.get().map(function(e){var t=f({},e.props);return delete t.context,t})).filter(function(e){return void 0!==e[m.BASE]}).map(function(e){return e[m.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},[])),bodyAttributes:E("bodyAttributes",t),defer:S(t,"defer"),encode:S(t,"encodeSpecialCharacters"),htmlAttributes:E("htmlAttributes",t),linkTags:C(m.LINK,["rel","href"],t),metaTags:C(m.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:C(m.NOSCRIPT,["innerHTML"],t),onChangeClientState:S(t,"onChangeClientState")||function(){},scriptTags:C(m.SCRIPT,["src","innerHTML"],t),styleTags:C(m.STYLE,["cssText"],t),title:_(t),titleAttributes:E("titleAttributes",t),prioritizeSeoTags:T(t,"prioritizeSeoTags")};Z.canUseDOM?(q&&cancelAnimationFrame(q),o.defer?q=requestAnimationFrame(function(){V(o,function(){q=null})}):(V(o),q=null)):M&&(a=M(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);G.propTypes={context:B.isRequired},G.displayName="HelmetDispatcher";var Y=["children"],Q=["children"],K=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 m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw 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 m.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case m.BODY:return f({},a,{bodyAttributes:f({},o)});case m.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=g(r,Y),l=Object.keys(i).reduce(function(e,t){return e[k[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case m.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.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=g(e,Q),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof z||(o=new z(o.context,o.instances)),o?r.createElement(G,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,function(e){return r.createElement(G,f({},a,{context:e}))})},t}(r.Component);K.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},K.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},K.displayName="Helmet"},69921:function(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,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(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 m:case g:case s:return e;default:return t}}case a:return t}}}function k(e){return x(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=m,t.Memo=g,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},59864:function(e,t,n){"use strict";e.exports=n(69921)},68356:function(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 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}).apply(this,arguments)}var l=n(67294),s=[],u=[],c=l.createContext(null);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(e){t.error=e}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){var n;return l.createElement((n=e)&&n.__esModule?n.default:n,t)}function h(e,t){if(!t.loading)throw Error("react-loadable requires a `loading` component");var d,f,h=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),g=null;function m(){return!g&&(g=e(h.loader)),g.promise}return s.push(m),"function"==typeof h.webpack&&u.push(function(){if((0,h.webpack)().every(function(e){return void 0!==e&&void 0!==n.m[e]}))return m()}),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}),g=e(h.loader),r._loadModule()}),m(),r.state={error:g.error,pastDelay:!1,timedOut:!1,loading:g.loading,loaded:g.loaded},r}r(n,t),n.preload=function(){return m()};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&&Array.isArray(h.modules)&&h.modules.forEach(function(t){e.context.report(t)}),!!g.loading){var t=function(t){if(!!e._mounted)e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout(function(){t({pastDelay:!0})},h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout(function(){t({timedOut:!0})},h.timeout));var n=function(){t({error:g.error,loaded:g.loaded,loading:g.loading}),e._clearTimeouts()};g.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(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextType",c),f}function g(e){return h(d,e)}g.Map=function(e){if("function"!=typeof e.render)throw Error("LoadableMap requires a `render(loaded, props)` function");return h(f,e)};var m=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return l.createElement(c.Provider,{value:{report:this.props.report}},l.Children.only(this.props.children))},t}(l.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then(function(){if(e.length)return y(e)})}g.Capture=m,g.preloadAll=function(){return new Promise(function(e,t){y(s).then(e,t)})},g.preloadReady=function(){return new Promise(function(e,t){y(u).then(e,e)})},e.exports=g},18790:function(e,t,n){"use strict";n.d(t,{H:function(){return i},f:function(){return function e(t,n,a){return void 0===a&&(a=[]),t.some(function(t){var o=t.path?(0,r.LX)(n,t):a.length?a[a.length-1].match:r.F0.computeRootMatch(n);return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,n,a)),o}),a}}});var r=n(16550),a=n(16019),o=n(67294);function i(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}},73727:function(e,t,n){"use strict";n.d(t,{OL:function(){return w},UT:function(){return d},VK:function(){return c},rU:function(){return y}});var r=n(16550),a=n(35091),o=n(67294),i=n(31381),l=n(16019),s=n(70443),u=n(21835),c=function(e){function t(){for(var t,n=arguments.length,r=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),d=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.q_)(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),f=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},h=function(e){return e},g=o.forwardRef;void 0===g&&(g=h);var m=g(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){var t;try{a&&a(e)}catch(t){throw e.preventDefault(),t}if(!e.defaultPrevented&&0===e.button&&(!u||"_self"===u)&&!((t=e).metaKey||t.altKey||t.ctrlKey||t.shiftKey))e.preventDefault(),r()}});return h!==g?c.ref=t||n:c.ref=n,o.createElement("a",c)}),y=g(function(e,t){var n=e.component,a=void 0===n?m:n,c=e.replace,d=e.to,y=e.innerRef,b=(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=p(f(d,e.location),e.location),s=r?n.createHref(r):"",m=(0,l.Z)({},b,{href:s,navigate:function(){var t=f(d,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(p(t));(c||r?n.replace:n.push)(t)}});return h!==g?m.ref=t||y:m.innerRef=y,o.createElement(a,m)})}),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v(function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,h=e.className,g=e.exact,m=e.isActive,w=e.location,x=e.sensitive,k=e.strict,S=e.style,_=e.to,E=e.innerRef,C=(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=p(f(_,n),n),s=i.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),j=T?(0,r.LX)(n.pathname,{path:T,exact:g,sensitive:x,strict:k}):null,N=!!(m?m(j,n):j),O="function"==typeof h?h(N):h,A="function"==typeof S?S(N):S;N&&(O=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(O,c),A=(0,l.Z)({},A,d));var P=(0,l.Z)({"aria-current":N&&a||null,className:O,style:A,to:i},C);return b!==v?P.ref=t||E:P.innerRef=E,o.createElement(y,P)})})},16550:function(e,t,n){"use strict";n.d(t,{AW:function(){return x},F0:function(){return y},LX:function(){return w},TH:function(){return C},k6:function(){return E},rs:function(){return S},s6:function(){return m}});var r=n(35091),a=n(67294),o=n(45697),i=n.n(o),l=n(31381),s=n(21835),u=n(16019),c=n(14779),d=n.n(c);n(59864),n(70443),n(8679);var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},p=a.createContext||function(e,t){var n,o,l,s="__create-react-context-"+(f[n="__global_unique_id__"]=(f[n]||0)+1)+"__",u=function(e){function n(){for(var t,n,r,a=arguments.length,o=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.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r,a,o=this.props.value,i=e.value;if((n=o)===(r=i)?0!==n||1/n==1/r:n!=n&&r!=r)a=0;else{a="function"==typeof t?t(o,i):0x3fffffff;0!=(a|=0)&&this.emitter.set(e.value,a)}}},a.render=function(){return this.props.children},n}(a.Component);u.childContextTypes=((o={})[s]=i().object.isRequired,o);var c=function(t){function n(){for(var e,n=arguments.length,r=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)!=0&&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?0x3fffffff:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?0x3fffffff:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){var e;return(Array.isArray(e=this.props.children)?e[0]:e)(this.state.value)},n}(a.Component);return c.contextTypes=((l={})[s]=i().object,l),{Provider:u,Consumer:c}},h=function(e){var t=p();return t.displayName=e,t},g=h("Router-History"),m=h("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.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(m.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(g.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var b={},v=0;function w(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=b[n]||(b[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return v<1e4&&(r[e]=o,v++),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(m.Consumer,null,function(t){t||(0,s.Z)(!1);var n,r=e.props.location||t.location,o=e.props.computedMatch?e.props.computedMatch:e.props.path?w(r.pathname,e.props):t.match,i=(0,u.Z)({},t,{location:r,match:o}),l=e.props,c=l.children,d=l.component,f=l.render;if(Array.isArray(c)&&(n=c,0===a.Children.count(n)))c=null;return a.createElement(m.Provider,{value:i},i.match?c?"function"==typeof c?c(i):c:d?a.createElement(d,i):f?f(i):null:"function"==typeof c?c(i):null)})},t}(a.Component);function k(e){return"/"===e.charAt(0)?e:"/"+e}a.Component;var S=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(m.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?w(o.pathname,(0,u.Z)({},e.props,{path:i})):t.match}}),r?a.cloneElement(n,{location:o,computedMatch:r}):null})},t}(a.Component),_=a.useContext;function E(){return _(g)}function C(){return _(m).location}},75251:function(e,t,n){"use strict";var r=n(67294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},72408:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,g(w,y.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,a)&&!_.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;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(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function N(e,t,a){if(null==e)return e;var o=[],i=0;return!function e(t,a,o,i,l){var s,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var f=!1;if(null===t)f=!0;else switch(d){case"string":case"number":f=!0;break;case"object":switch(t.$$typeof){case n:case r:f=!0}}if(f){;return l=l(f=t),t=""===i?"."+j(f,0):i,x(l)?(o="",null!=t&&(o=t.replace(T,"$&/")+"/"),e(l,a,o,"",function(e){return e})):null!=l&&(C(l)&&(s=l,u=o+(!l.key||f&&f.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+t,l={$$typeof:n,type:s.type,key:u,ref:s.ref,props:s.props,_owner:s._owner}),a.push(l)),1}if(f=0,i=""===i?".":i+":",x(t))for(var h=0;h<t.length;h++){var g=i+j(d=t[h],h);f+=e(d,a,o,g,l)}else{;if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=p&&c[p]||c["@@iterator"])?c:null))for(t=g.call(t),h=0;!(d=t.next()).done;)g=i+j(d=d.value,h++),f+=e(d,a,o,g,l);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return f}(e,o,"","",function(e){return t.call(a,e,i++)}),o}function O(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A={current:null},P={transition:null};function L(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:P,ReactCurrentOwner:S},t.act=L,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=g({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)k.call(t,u)&&!_.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=L,t.useCallback=function(e,t){return A.current.useCallback(e,t)},t.useContext=function(e){return A.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},t.useEffect=function(e,t){return A.current.useEffect(e,t)},t.useId=function(){return A.current.useId()},t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return A.current.useMemo(e,t)},t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},t.useRef=function(e){return A.current.useRef(e)},t.useState=function(e){return A.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return A.current.useTransition()},t.version="18.3.1"},67294:function(e,t,n){"use strict";e.exports=n(72408)},85893:function(e,t,n){"use strict";e.exports=n(75251)},60053:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,p=null,h=3,g=!1,m=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function k(e){if(y=!1,x(e),!m){if(null!==r(c))m=!0,L(S);else{var t=r(d);null!==t&&R(k,t.startTime-e)}}}function S(e,n){m=!1,y&&(y=!1,v(C),C=-1),g=!0;var o=h;try{for(x(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!N());){var i=p.callback;if("function"==typeof i){p.callback=null,h=p.priorityLevel;var l=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(c)&&a(c),x(n)}else a(c);p=r(c)}if(null!==p)var s=!0;else{var u=r(d);null!==u&&R(k,u.startTime-n),s=!1}return s}finally{p=null,h=o,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _=!1,E=null,C=-1,T=5,j=-1;function N(){return!(t.unstable_now()-j<T)}function O(){if(null!==E){var e=t.unstable_now();j=e;var n=!0;try{n=E(!0,e)}finally{n?i():(_=!1,E=null)}}else _=!1}if("function"==typeof w)i=function(){w(O)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,P=A.port2;A.port1.onmessage=O,i=function(){P.postMessage(null)}}else i=function(){b(O,0)};function L(e){E=e,_||(_=!0,i())}function R(e,n){C=b(function(){e(t.unstable_now())},n)}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(){m||g||(m=!0,L(S))},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"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch(o="object"==typeof o&&null!==o?"number"==typeof(o=o.delay)&&0<o?i+o:i:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>i?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(y?(v(C),C=-1):y=!0,R(k,o-i))):(e.sortIndex=l,n(c,e),m||g||(m=!0,L(S))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},96774:function(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}},94143:function(e,t,n){"use strict";n.d(t,{Z:()=>f}),n("67294");var r=n("85893"),a=n("68356"),o=n.n(a),i=n("37138");let l={"13a2fed5":[()=>n.e("8516").then(n.t.bind(n,68799,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-3-docs-category-tutorial-basics-4f1.json",68799],0xdf1d46:[()=>n.e("2751").then(n.bind(n,12777)),"@site/docs/docusaurus/tutorial_basics/markdown_features.mdx",12777],"14eb3368":[()=>Promise.all([n.e("6212"),n.e("1983")]).then(n.bind(n,39140)),"@theme/DocCategoryGeneratedIndexPage",39140],0x11113f9:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("2247"),n.e("7048")]).then(n.bind(n,25628)),"@theme/DocItem",25628],"1df93b7f":[()=>Promise.all([n.e("6212"),n.e("8706")]).then(n.bind(n,12408)),"@site/src/pages/index.tsx",12408],"1f391b9e":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("2247"),n.e("2493")]).then(n.bind(n,8402)),"@theme/MDXPage",8402],"21038ea1":[()=>n.e("9597").then(n.bind(n,11958)),"@site/docs/docusaurus/intro.md",11958],"21cb2624":[()=>n.e("287").then(n.bind(n,35244)),"@site/docs/intro/getting_started.md",35244],"34829b29":[()=>n.e("4494").then(n.bind(n,76687)),"@site/docs/docusaurus/tutorial_basics/create_a_page.md",76687],"3720c009":[()=>Promise.all([n.e("6212"),n.e("2898")]).then(n.bind(n,94190)),"@theme/DocTagsListPage",94190],"3935e01c":[()=>n.e("297").then(n.t.bind(n,79837,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-3-docs-tags-executive-21c.json",79837],"393be207":[()=>n.e("9969").then(n.bind(n,89958)),"@site/src/pages/markdown-page.md",89958],"40a9f62a":[()=>n.e("3657").then(n.bind(n,43422)),"@site/docs/docusaurus/tutorial_basics/congratulations.md",43422],"455d01c6":[()=>n.e("5706").then(n.bind(n,29240)),"@site/docs/docusaurus/tutorial_basics/create_a_blog_post.md",29240],"4825bf29":[()=>n.e("4420").then(n.t.bind(n,13987,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-3-docs-tags-business-d62.json",13987],"5187c925":[()=>n.e("2556").then(n.bind(n,40162)),"@site/docs/spec/formatting.md",40162],0x33d0175:[()=>n.e("1858").then(n.bind(n,74088)),"@site/docs/docusaurus/tutorial_basics/create_a_document.md",74088],"560bc526":[()=>n.e("7755").then(n.t.bind(n,69110,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-3-docs-tags-a58.json",69110],"5e95c892":[()=>n.e("3432").then(n.bind(n,71359)),"@theme/DocsRoot",71359],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,75150)),"@generated/docusaurus.config",75150],"61e401e3":[()=>n.e("2830").then(n.t.bind(n,78911,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-3-docs-category-data-types-955.json",78911],"6cca1acc":[()=>n.e("1460").then(n.bind(n,19991)),"@site/docs/spec/primitive_types.md",19991],"72af4c84":[()=>n.e("8652").then(n.bind(n,20021)),"@site/docs/docusaurus/tutorial_basics/deploy_your_site.md",20021],"7ebe7d13":[()=>n.e("5704").then(n.t.bind(n,71601,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-3-docs-category-tutorial-extras-c4a.json",71601],"9604fc81":[()=>n.e("8788").then(n.bind(n,11871)),"@site/docs/docusaurus/tutorial_extras/manage_docs_versions.md",11871],"992aa281":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("9277")]).then(n.bind(n,45067)),"@site/docs/spec/data/parcel_id.mdx",45067],a6b6c0c0:[()=>n.e("3349").then(n.t.bind(n,64770,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-3-docs-tags-developer-324.json",64770],a7456010:[()=>n.e("7365").then(n.t.bind(n,62050,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",62050],a7bd4aaa:[()=>n.e("5211").then(n.bind(n,58688)),"@theme/DocVersionRoot",58688],a94703ab:[()=>Promise.all([n.e("6212"),n.e("9914")]).then(n.bind(n,32001)),"@theme/DocRoot",32001],aba21aa0:[()=>n.e("5112").then(n.t.bind(n,42418,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",42418],b06371b7:[()=>n.e("3811").then(n.bind(n,4809)),"@site/docs/intro/terminology.md",4809],bb64f159:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("707")]).then(n.bind(n,59437)),"@site/docs/spec/data/code.mdx",59437],ca7707bd:[()=>n.e("5668").then(n.t.bind(n,46610,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-3-docs-e9f.json",46610],df203c0f:[()=>Promise.all([n.e("6212"),n.e("815")]).then(n.bind(n,58223)),"@theme/DocTagDocListPage",58223],fa6dc6d9:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("7376")]).then(n.bind(n,9905)),"@site/docs/spec/data/project_bundle.mdx",9905],fe557f77:[()=>n.e("249").then(n.bind(n,15775)),"@site/docs/docusaurus/tutorial_extras/translate_your_site.md",15775]};function s(e){let{error:t,retry:n,pastDelay:a}=e;return t?(0,r.jsxs)("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%"},children:[(0,r.jsx)("p",{children:String(t)}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):a?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,r.jsx)("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",children:(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,r.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n("96464"),c=n("54879");function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e("9196").then(n.bind(n,95672)),modules:["@theme/NotFound"],webpack:()=>[95672],render(e,t){let n=e.default;return(0,r.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,r.jsx)(n,{...t})})}});let a=i[`${e}-${t}`],d={},f=[],p=[];return Object.entries((0,u.Z)(a)).forEach(e=>{let[t,n]=e,r=l[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))}),o().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){let o=JSON.parse(JSON.stringify(a));Object.entries(t).forEach(t=>{let[n,r]=t,a=r.default;if(!a)throw 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 i=o,l=n.split(".");l.slice(0,-1).forEach(e=>{i=i[e]}),i[l[l.length-1]]=a});let i=o.__comp;delete o.__comp;let l=o.__context;delete o.__context;let s=o.__props;return delete o.__props,(0,r.jsx)(c.z,{value:l,children:(0,r.jsx)(i,{...o,...s,...n})})}})}let f=[{path:"/nr-pies/pr-preview/pr-3/markdown-page",component:d("/nr-pies/pr-preview/pr-3/markdown-page","775"),exact:!0},{path:"/nr-pies/pr-preview/pr-3/docs",component:d("/nr-pies/pr-preview/pr-3/docs","2a9"),routes:[{path:"/nr-pies/pr-preview/pr-3/docs",component:d("/nr-pies/pr-preview/pr-3/docs","b6e"),routes:[{path:"/nr-pies/pr-preview/pr-3/docs/tags",component:d("/nr-pies/pr-preview/pr-3/docs/tags","f3b"),exact:!0},{path:"/nr-pies/pr-preview/pr-3/docs/tags/business",component:d("/nr-pies/pr-preview/pr-3/docs/tags/business","971"),exact:!0},{path:"/nr-pies/pr-preview/pr-3/docs/tags/developer",component:d("/nr-pies/pr-preview/pr-3/docs/tags/developer","5ed"),exact:!0},{path:"/nr-pies/pr-preview/pr-3/docs/tags/executive",component:d("/nr-pies/pr-preview/pr-3/docs/tags/executive","8db"),exact:!0},{path:"/nr-pies/pr-preview/pr-3/docs",component:d("/nr-pies/pr-preview/pr-3/docs","f61"),routes:[{path:"/nr-pies/pr-preview/pr-3/docs/category/data-types",component:d("/nr-pies/pr-preview/pr-3/docs/category/data-types","be5"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/category/tutorial---basics",component:d("/nr-pies/pr-preview/pr-3/docs/category/tutorial---basics","122"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/category/tutorial---extras",component:d("/nr-pies/pr-preview/pr-3/docs/category/tutorial---extras","65e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro",component:d("/nr-pies/pr-preview/pr-3/docs/docusaurus/intro","8ff"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations",component:d("/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations","a6a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post",component:d("/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post","ca0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document",component:d("/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document","e8c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page",component:d("/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page","5fe"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site",component:d("/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site","aee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features",component:d("/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features","ded"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions",component:d("/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions","5da"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site",component:d("/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site","f58"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/intro/getting_started",component:d("/nr-pies/pr-preview/pr-3/docs/intro/getting_started","5a3"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/intro/terminology",component:d("/nr-pies/pr-preview/pr-3/docs/intro/terminology","61b"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/spec/data/code",component:d("/nr-pies/pr-preview/pr-3/docs/spec/data/code","f22"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id",component:d("/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id","4a6"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle",component:d("/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle","3d0"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/spec/formatting",component:d("/nr-pies/pr-preview/pr-3/docs/spec/formatting","45d"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types",component:d("/nr-pies/pr-preview/pr-3/docs/spec/primitive_types","047"),exact:!0,sidebar:"docSidebar"}]}]}]},{path:"/nr-pies/pr-preview/pr-3/",component:d("/nr-pies/pr-preview/pr-3/","391"),exact:!0},{path:"*",component:d("*")}]},50258:function(e,t,n){"use strict";n.d(t,{_:function(){return o},t:function(){return i}});var r=n(85893),a=n(67294);let o=a.createContext(!1);function i(e){let{children:t}=e,[n,i]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{i(!0)},[]),(0,r.jsx)(o.Provider,{value:n,children:t})}},52465:function(e,t,n){"use strict";var r=n("85893"),a=n("67294"),o=n("20745"),i=n("70405"),l=n("73727"),s=n("75150"),u=n("57565");let c=[n(3601),n(21569),n(21987),n(17686)];var d=n("94143"),f=n("16550"),p=n("18790");function h(e){let{children:t}=e;return(0,r.jsx)(r.Fragment,{children:t})}var g=n("94819"),m=n("2933"),y=n("4757"),b=n("30140"),v=n("14713"),w=n("28910"),x=n("16959"),k=n("8365"),S=n("84315");function _(){let{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),a=(0,w.l)(),o=n[e].htmlLang,i=e=>e.replace("-","_");return(0,r.jsxs)(g.Z,{children:[Object.entries(n).map(e=>{let[t,{htmlLang:n}]=e;return(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)}),(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,r.jsx)("meta",{property:"og:locale",content:i(o)}),Object.values(n).filter(e=>o!==e.htmlLang).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:i(e.htmlLang)},`meta-og-${e.htmlLang}`))]})}function E(e){let{permalink:t}=e,{siteConfig:{url:n}}=(0,m.Z)(),a=function(){let{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:r}=(0,f.TH)();return e+(0,k.applyTrailingSlash)((0,y.ZP)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:a;return(0,r.jsxs)(g.Z,{children:[(0,r.jsx)("meta",{property:"og:url",content:o}),(0,r.jsx)("link",{rel:"canonical",href:o})]})}function C(){let{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(g.Z,{children:[(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("body",{className:x.h})]}),n&&(0,r.jsx)(v.d,{image:n}),(0,r.jsx)(E,{}),(0,r.jsx)(_,{}),(0,r.jsx)(S.Z,{tag:"default",locale:e}),(0,r.jsx)(g.Z,{children:t.map((e,t)=>(0,r.jsx)("meta",{...e},t))})]})}let T=new Map;var j=n("50258"),N=n("31716"),O=n("32000");function A(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let a=c.map(t=>{let r=t.default?.[e]??t[e];return r?.(...n)});return()=>a.forEach(e=>e?.())}let P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,O.Z)(()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;let r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;let{hash:i}=t;if(i){let e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),A("onRouteDidUpdate",{previousLocation:r,location:n}))},[r,n]),t};function L(e){return Promise.all(Array.from(new Set([e,decodeURI(e)])).map(e=>(0,p.f)(d.Z,e)).flat().map(e=>e.route.component.preload?.()))}class R extends a.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.Z.canUseDOM?A("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;let n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=A("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),L(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){let{children:e,location:t}=this.props;return(0,r.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,r.jsx)(f.AW,{location:t,render:()=>e})})}}let I="__docusaurus-base-url-issue-banner-suggestion-container";function F(){var e,t;let{siteConfig:{baseUrl:n}}=(0,m.Z)();return(0,r.jsx)(r.Fragment,{children:!u.Z.canUseDOM&&(0,r.jsx)(g.Z,{children:(0,r.jsx)("script",{children:(e=n,` +document.addEventListener('DOMContentLoaded', function maybeInsertBanner() { + var shouldInsert = typeof window['docusaurus'] === 'undefined'; + shouldInsert && insertBanner(); +}); + +function insertBanner() { + var bannerContainer = document.createElement('div'); + bannerContainer.id = '__docusaurus-base-url-issue-banner-container'; + var bannerHtml = ${JSON.stringify((t=e,` +<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;"> + <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p> + <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> + <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${t}</span> ${"/"===t?" (default value)":""}</p> + <p>We suggest trying baseUrl = <span id="${I}" style="font-weight: bold; color: green;"></span></p> +</div> +`)).replace(/</g,"\\<")}; + bannerContainer.innerHTML = bannerHtml; + document.body.prepend(bannerContainer); + var suggestionContainer = document.getElementById('${I}'); + var actualHomePagePath = window.location.pathname; + var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/' + ? actualHomePagePath + : actualHomePagePath + '/'; + suggestionContainer.innerHTML = suggestedBaseUrl; +} +`)})})})}function M(){let{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.Z)(),{pathname:n}=(0,f.TH)();return t&&n===e?(0,r.jsx)(F,{}):null}function D(){let{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,m.Z)(),i=(0,y.ZP)(e),{htmlLang:l,direction:s}=o[a];return(0,r.jsxs)(g.Z,{children:[(0,r.jsx)("html",{lang:l,dir:s}),(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,r.jsx)("link",{rel:"icon",href:i})]})}var z=n("16893"),$=n("7227");function B(){let e=(0,$.Z)();return(0,r.jsx)(g.Z,{children:(0,r.jsx)("html",{"data-has-hydrated":e})})}let U=(0,p.H)(d.Z);function Z(){let e=function(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,p.f)(d.Z,e.pathname).some(e=>{let{route:t}=e;return!0===t.exact}))return T.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}((0,f.TH)());return(0,r.jsx)(R,{location:e,children:U})}var H=n("37138");let W=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("undefined"==typeof document){n();return}let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var V=n("96464");let q=new Set,G=new Set,Y=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,Q=e=>!Y()&&!G.has(e)&&!q.has(e),K=e=>!Y()&&!G.has(e),X=e=>Object.entries(H).filter(t=>{let[n]=t;return n.replace(/-[^-]+$/,"")===e}).flatMap(e=>{let[,t]=e;return Object.values((0,V.Z)(t))}),J=Object.freeze({prefetch:e=>!!Q(e)&&(q.add(e),Promise.all((0,p.f)(d.Z,e).flatMap(e=>X(e.route.path)).map(e=>{let t=n.gca(e);if(t&&!t.includes("undefined"))return W(t).catch(()=>{});return Promise.resolve()}))),preload:e=>!!K(e)&&(G.add(e),L(e))});e=n.hmd(e);if(u.Z.canUseDOM){window.docusaurus=J;let t=document.getElementById("__docusaurus"),n=(0,r.jsx)(i.B6,{children:(0,r.jsx)(function(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,r.jsx)(l.UT,{children:t}):(0,r.jsx)(l.VK,{children:t})},{children:(0,r.jsx)(function(){return(0,r.jsx)(z.Z,{children:(0,r.jsx)(N.M,{children:(0,r.jsxs)(j.t,{children:[(0,r.jsxs)(h,{children:[(0,r.jsx)(D,{}),(0,r.jsx)(C,{}),(0,r.jsx)(M,{}),(0,r.jsx)(Z,{})]}),(0,r.jsx)(B,{})]})})})},{})})}),u=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},c=()=>{if(window.docusaurusRoot){window.docusaurusRoot.render(n);return}window.docusaurusRoot=o.hydrateRoot(t,n,{onRecoverableError:u})};L(window.location.pathname).then(()=>{(0,a.startTransition)(c)}),e.hot&&e.hot.accept()}},31716:function(e,t,n){"use strict";n.d(t,{_:()=>d,M:()=>f});var r=n("85893"),a=n("67294"),o=n("75150"),i=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/nr-pies/pr-preview/pr-3/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/nr-pies/pr-preview/pr-3/docs","mainDocId":"intro/getting_started","docs":[{"id":"docusaurus/intro","path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/congratulations","path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_blog_post","path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_document","path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_page","path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/deploy_your_site","path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/markdown_features","path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_extras/manage_docs_versions","path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_extras/translate_your_site","path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site","sidebar":"tutorialSidebar"},{"id":"intro/getting_started","path":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started","sidebar":"docSidebar"},{"id":"intro/terminology","path":"/nr-pies/pr-preview/pr-3/docs/intro/terminology","sidebar":"docSidebar"},{"id":"spec/data/code","path":"/nr-pies/pr-preview/pr-3/docs/spec/data/code","sidebar":"docSidebar"},{"id":"spec/data/parcel_id","path":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id","sidebar":"docSidebar"},{"id":"spec/data/project_bundle","path":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle","sidebar":"docSidebar"},{"id":"spec/formatting","path":"/nr-pies/pr-preview/pr-3/docs/spec/formatting","sidebar":"docSidebar"},{"id":"spec/primitive_types","path":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types","sidebar":"docSidebar"},{"id":"/category/data-types","path":"/nr-pies/pr-preview/pr-3/docs/category/data-types","sidebar":"docSidebar"},{"id":"/category/tutorial---basics","path":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---basics","sidebar":"tutorialSidebar"},{"id":"/category/tutorial---extras","path":"/nr-pies/pr-preview/pr-3/docs/category/tutorial---extras","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"docSidebar":{"link":{"path":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started","label":"intro/getting_started"}},"tutorialSidebar":{"link":{"path":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro","label":"docusaurus/intro"}}}}],"breadcrumbs":true}},"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1732661161639.json","lunrIndex":"lunr-index-1732661161639.json"}}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}'),s=n("62627"),u=JSON.parse('{"docusaurusVersion":"3.6.1","siteVersion":"0.1.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.1"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.1"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.1"},"docusaurus-lunr-search":{"type":"package","name":"docusaurus-lunr-search","version":"3.5.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"3.6.1"},"docusaurus-json-schema-plugin":{"type":"package","name":"docusaurus-json-schema-plugin","version":"1.12.2"}}}');let c={siteConfig:o.default,siteMetadata:u,globalData:i,i18n:l,codeTranslations:s},d=a.createContext(c);function f(e){let{children:t}=e;return(0,r.jsx)(d.Provider,{value:c,children:t})}},16893:function(e,t,n){"use strict";n.d(t,{Z:()=>g});var r=n("85893"),a=n("67294"),o=n("57565"),i=n("94819"),l=n("8365"),s=n("37647"),u=n("54879");function c(e){let{error:t,tryAgain:n}=e;return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,r.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,r.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,r.jsx)(d,{error:t})]})}function d(e){let{error:t}=e,n=(0,l.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function f(e){let{children:t}=e;return(0,r.jsx)(u.z,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function p(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)(f,{children:(0,r.jsxs)(g,{fallback:()=>(0,r.jsx)(c,{error:t,tryAgain:n}),children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("title",{children:"Page Error"})}),(0,r.jsx)(s.Z,{children:(0,r.jsx)(c,{error:t,tryAgain:n})})]})})}let h=e=>(0,r.jsx)(p,{...e});class g extends a.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){let{children:e}=this.props,{error:t}=this.state;return t?(this.props.fallback??h)({error:t,tryAgain:()=>this.setState({error:null})}):e??null}}},57565:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let 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}},94819:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893);n(67294);var a=n(70405);function o(e){return(0,r.jsx)(a.ql,{...e})}},83012:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(85893),a=n(67294),o=n(73727),i=n(8365),l=n(2933),s=n(63150),u=n(57565),c=n(41065),d=n(4757);let f=e=>e.startsWith("/"),p=a.forwardRef(function(e,t){var n;let{isNavLink:p,to:h,href:g,activeClassName:m,isActive:y,"data-noBrokenLinkCheck":b,autoAddBaseUrl:v=!0,...w}=e,{siteConfig:x}=(0,l.Z)(),{trailingSlash:k,baseUrl:S}=x,_=x.future.experimental_router,{withBaseUrl:E}=(0,d.Cg)(),C=(0,c.Z)(),T=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,()=>T.current);let j=h||g,N=(0,s.Z)(j),O=j?.replace("pathname://","");let A=void 0!==O?(n=O,v&&f(n)?E(n):n):void 0;"hash"===_&&A?.startsWith("./")&&(A=A?.slice(1)),A&&N&&(A=(0,i.applyTrailingSlash)(A,{trailingSlash:k,baseUrl:S}));let P=(0,a.useRef)(!1),L=p?o.OL:o.rU,R=u.Z.canUseIntersectionObserver,I=(0,a.useRef)(),F=()=>{!P.current&&null!=A&&(window.docusaurus.preload(A),P.current=!0)};(0,a.useEffect)(()=>(!R&&N&&u.Z.canUseDOM&&null!=A&&window.docusaurus.prefetch(A),()=>{R&&I.current&&I.current.disconnect()}),[I,A,R,N]);let M=A?.startsWith("#")??!1,D=!w.target||"_self"===w.target,z=!A||!N||!D||M&&"hash"!==_;!b&&(M||!z)&&C.collectLink(A),w.id&&C.collectAnchor(w.id);let $={};return z?(0,r.jsx)("a",{ref:T,href:A,...j&&!N&&{target:"_blank",rel:"noopener noreferrer"},...w,...$}):(0,r.jsx)(L,{...w,onMouseEnter:F,onTouchStart:F,innerRef:e=>{T.current=e,R&&e&&N&&(I.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(I.current.unobserve(e),I.current.disconnect(),null!=A&&window.docusaurus.prefetch(A))})}),I.current.observe(e))},to:A,...p&&{isActive:y,activeClassName:m},...$})})},96025:function(e,t,n){"use strict";n.r(t),n.d(t,{translate:()=>s,default:()=>u});var r=n("85893"),a=n("67294");function o(e,t){let n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){let n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,a.isValidElement)(e))?n.map((e,t)=>(0,a.isValidElement)(e)?a.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n("62627");function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:a}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),Error("The Docusaurus <Translate> component only accept simple string values");let i=l({message:t,id:n});return(0,r.jsx)(r.Fragment,{children:o(i,a)})}},57710:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});let r="default"},63150:function(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:function(){return a},b:function(){return r}})},4757:function(e,t,n){"use strict";n.d(t,{Cg:function(){return i},ZP:function(){return l}});var r=n(67294),a=n(2933),o=n(63150);function i(){let{siteConfig:e}=(0,a.Z)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router;return{withBaseUrl:(0,r.useCallback)((e,r)=>(function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:l}=e;if(!r||r.startsWith("#")||(0,o.b)(r))return r;if("hash"===l)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;let s=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+s:s})({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i])}}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{withBaseUrl:n}=i();return n(e,t)}},41065:function(e,t,n){"use strict";n.d(t,{Z:()=>i}),n("85893");var r=n("67294");let a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2933:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(31716);function o(){return(0,r.useContext)(a._)}},51672:function(e,t,n){"use strict";n.d(t,{OD:function(){return o},eZ:function(){return i}});var r=n(2933),a=n(57710);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){let{globalData:e}=(0,r.Z)();return e}()[e];if(!n&&t.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.m,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=o(e),i=r?.[t];if(!i&&n.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},7227:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(50258);function o(){return(0,r.useContext)(a._)}},32e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67294);let a=n(57565).Z.canUseDOM?r.useLayoutEffect:r.useEffect},96464:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){let t={};return!function e(n,a){Object.entries(n).forEach(n=>{let[o,i]=n,l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i})}(e),t}},54879:function(e,t,n){"use strict";n.d(t,{_:function(){return o},z:function(){return i}});var r=n(85893),a=n(67294);let o=a.createContext(null);function i(e){let{children:t,value:n}=e,i=a.useContext(o),l=(0,a.useMemo)(()=>(function(e){let{parent:t,value:n}=e;if(!t){if(n){if(!("plugin"in n))throw Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute")}else throw Error("Unexpected: no Docusaurus route context found");return n}let r={...t.data,...n?.data};return{plugin:t.plugin,data:r}})({parent:i,value:n}),[i,n]);return(0,r.jsx)(o.Provider,{value:l,children:t})}},93896:function(e,t,n){"use strict";n.d(t,{J:function(){return b},L5:function(){return y}});var r=n(85893),a=n(67294),o=n(81723),i=n(57710),l=n(30140),s=n(76009),u=n(85346);let c=e=>`docs-preferred-version-${e}`,d=(e,t,n)=>{(0,s.WA)(c(e),{persistence:t}).set(n)},f=(e,t)=>(0,s.WA)(c(e),{persistence:t}).get(),p=(e,t)=>{(0,s.WA)(c(e),{persistence:t}).del()},h=e=>Object.fromEntries(e.map(e=>[e,{preferredVersionName:null}])),g=a.createContext(null);function m(e){let{children:t}=e,n=function(){let e=(0,o._r)(),t=(0,l.L)().docs.versionPersistence,n=(0,a.useMemo)(()=>Object.keys(e),[e]),[r,i]=(0,a.useState)(()=>h(n));return(0,a.useEffect)(()=>{i(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;return Object.fromEntries(t.map(e=>[e,function(e){let t=f(e,n);return r[e].versions.some(e=>e.name===t)?{preferredVersionName:t}:(p(e,n),{preferredVersionName:null})}(e)]))}({allDocsData:e,versionPersistence:t,pluginIds:n}))},[e,t,n]),[r,(0,a.useMemo)(()=>({savePreferredVersion:function(e,n){d(e,t,n),i(t=>({...t,[e]:{preferredVersionName:n}}))}}),[t])]}();return(0,r.jsx)(g.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return(0,r.jsx)(m,{children:t})}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.m,t=(0,o.zh)(e),[n,r]=function(){let e=(0,a.useContext)(g);if(!e)throw new u.i6("DocsPreferredVersionContextProvider");return e}(),{preferredVersionName:l}=n[e],s=t.versions.find(e=>e.name===l)??null;return{preferredVersion:s,savePreferredVersionName:(0,a.useCallback)(t=>{r.savePreferredVersion(e,t)},[r,e])}}},85609:function(e,t,n){"use strict";n.d(t,{V:function(){return u},b:function(){return s}});var r=n(85893),a=n(67294),o=n(85346);let i=Symbol("EmptyContext"),l=a.createContext(i);function s(e){let{children:t,name:n,items:o}=e,i=(0,a.useMemo)(()=>n&&o?{name:n,items:o}:null,[n,o]);return(0,r.jsx)(l.Provider,{value:i,children:t})}function u(){let e=(0,a.useContext)(l);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},69369:function(e,t,n){"use strict";n.d(t,{LM:function(){return p},MN:function(){return E},SN:function(){return _},_F:function(){return y},f:function(){return b},jA:function(){return h},lO:function(){return x},oz:function(){return k},s1:function(){return w},vY:function(){return S},xz:function(){return f}});var r=n(67294),a=n(16550),o=n(18790),i=n(81723),l=n(79246),s=n(38341),u=n(93896),c=n(68529),d=n(85609);function f(e){let t=(0,c.E)();if(!e)return;let n=t.docs[e];if(!n)throw Error(`no version doc found by id=${e}`);return n}function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(let t of e.items){let e=p(t);if(e)return e}}(e):void 0:e.href}function h(){let{pathname:e}=(0,a.TH)(),t=(0,d.V)();if(!t)throw Error("Unexpected: cant find current sidebar in context");let n=v({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}let g=(e,t)=>void 0!==e&&(0,l.Mg)(e,t),m=(e,t)=>e.some(e=>y(e,t));function y(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||m(e.items,t))}function b(e,t){return(0,r.useMemo)(()=>e.filter(e=>(function e(t,n){switch(t.type){case"category":return y(t,n)||t.items.some(t=>e(t,n));case"link":return!t.unlisted||y(t,n);default:return!0}})(e,t)),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e,a=[];return!function e(t){for(let o of t)if("category"===o.type&&((0,l.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,l.Mg)(o.href,n))return!(r&&"category"!==o.type)&&a.unshift(o),!0;return!1}(t),a}function w(){let e=(0,d.V)(),{pathname:t}=(0,a.TH)();return!1!==i.gA()?.pluginData.breadcrumbs&&e?v({sidebarItems:e.items,pathname:t}):null}function x(e){let{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,u.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)(()=>(0,s.jj)([t,n,a].filter(Boolean)),[t,n,a])}function k(e,t){let n=x(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}". +Available sidebar ids are: +- ${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}function S(e,t){let n=x(t);return(0,r.useMemo)(()=>{let 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 Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map(e=>e.name).join(", ")}". +Available doc ids are: +- ${(0,s.jj)(t.map(e=>e.id)).join("\n- ")}`)}return r},[e,n])}function _(e){let{route:t}=e,n=(0,a.TH)(),r=(0,c.E)(),i=t.routes,l=i.find(e=>(0,a.LX)(n.pathname,e));if(!l)return null;let s=l.sidebar,u=s?r.docsSidebars[s]:void 0;return{docElement:(0,o.H)(i),sidebarName:s,sidebarItems:u}}function E(e){return e.filter(e=>"category"!==e.type&&"link"!==e.type||!!p(e))}},68529:function(e,t,n){"use strict";n.d(t,{E:function(){return s},q:function(){return l}});var r=n(85893),a=n(67294),o=n(85346);let i=a.createContext(null);function l(e){let{children:t,version:n}=e;return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},81723:function(e,t,n){"use strict";n.d(t,{Jo:()=>h,zh:()=>u,yW:()=>f,gB:()=>d,Iw:()=>p,gA:()=>c,_r:()=>s});var r=n("16550"),a=n("51672");let o=e=>e.versions.find(e=>e.isLast);function i(e,t){var n,a;let o=(n=e,a=t,[...n.versions].sort((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0).find(e=>!!(0,r.LX)(a,{path:e.path,exact:!1,strict:!1}))),i=o?.docs.find(e=>!!r.LX(t,{path:e.path,exact:!0,strict:!1})),l=i?function(t){let n={};return e.versions.forEach(e=>{e.docs.forEach(r=>{r.id===t&&(n[e.name]=r)})}),n}(i.id):{};return{activeVersion:o,activeDoc:i,alternateDocVersions:l}}let l={},s=()=>(0,a.OD)("docusaurus-plugin-content-docs")??l,u=e=>{try{return(0,a.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw Error(`You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled${"Default"===e?"":` (pluginId=${e}`}`,{cause:t})}};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=s(),{pathname:n}=(0,r.TH)();return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},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 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 d(e){return u(e).versions}function f(e){return o(u(e))}function p(e){let t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}function h(e){let t=u(e),{pathname:n}=(0,r.TH)();return function(e,t){let n=o(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},21987:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(74865),a=n.n(r);a().configure({showSpinner:!1});let o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){let e=window.setTimeout(()=>{a().start()},200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},21569:function(e,t,n){"use strict";var r=n("83229"),a=n("75150");!function(e){let{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t,o=globalThis.Prism;globalThis.Prism=e,r.forEach(e=>{"php"===e&&n(96854),n(70037)(`./prism-${e}`)}),delete globalThis.Prism,void 0!==o&&(globalThis.Prism=e)}(r.p1)},34403:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("85893");n("67294");var a=n("67026"),o=n("96025"),i=n("30140"),l=n("83012"),s=n("41065");let u={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};function c(e){let{as:t,id:n,...c}=e,d=(0,s.Z)(),{navbar:{hideOnScroll:f}}=(0,i.L)();if("h1"===t||!n)return(0,r.jsx)(t,{...c,id:void 0});d.collectAnchor(n);let p=(0,o.translate)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,r.jsxs)(t,{...c,className:(0,a.Z)("anchor",f?u.anchorWithHideOnScrollNavbar:u.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,r.jsx)(l.Z,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200B"})]})}},62425:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n("85893");n("67294");let a="iconExternalLink_nPIU";function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,r.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a,children:(0,r.jsx)("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"})})}},37647:function(e,t,n){"use strict";n.d(t,{Z:()=>e7});var r=n("85893"),a=n("67294"),o=n("67026"),i=n("16893"),l=n("14713"),s=n("16550"),u=n("96025"),c=n("10346");let d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}let p=(0,u.translate)({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 h(e){let t=e.children??p,{containerRef:n,onClick:o}=function(){let e=(0,a.useRef)(null),{action:t}=(0,s.k6)(),n=(0,a.useCallback)(e=>{e.preventDefault();let t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&f(t)},[]);return(0,c.S)(n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)}),{containerRef:e,onClick:n}}();return(0,r.jsx)("div",{ref:n,role:"region","aria-label":p,children:(0,r.jsx)("a",{...e,href:`#${d}`,onClick:o,children:t})})}var g=n("84681"),m=n("16959");let y="skipToContent_fXgn";function b(){return(0,r.jsx)(h,{className:y})}var v=n("30140"),w=n("22093");function x(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...l}=e;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...l,children:(0,r.jsx)("g",{stroke:a,strokeWidth:o,children:(0,r.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}let k="closeButton_CVFx";function S(e){return(0,r.jsx)("button",{type:"button","aria-label":(0,u.translate)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",k,e.className),children:(0,r.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}let _="content_knG7";function E(e){let{announcementBar:t}=(0,v.L)(),{content:n}=t;return(0,r.jsx)("div",{...e,className:(0,o.Z)(_,e.className),dangerouslySetInnerHTML:{__html:n}})}let C={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){let{announcementBar:e}=(0,v.L)(),{isActive:t,close:n}=(0,w.n)();if(!t)return null;let{backgroundColor:a,textColor:o,isCloseable:i}=e;return(0,r.jsxs)("div",{className:C.announcementBar,style:{backgroundColor:a,color:o},role:"banner",children:[i&&(0,r.jsx)("div",{className:C.announcementBarPlaceholder}),(0,r.jsx)(E,{className:C.announcementBarContent}),i&&(0,r.jsx)(S,{onClick:n,className:C.announcementBarClose})]})}var j=n("71915"),N=n("69599"),O=n("85346"),A=n("11179");let P=a.createContext(null);function L(e){let{children:t}=e,n=function(){let e=(0,j.e)(),t=(0,A.HY)(),[n,r]=(0,a.useState)(!1),o=null!==t.component,i=(0,O.D9)(o);return(0,a.useEffect)(()=>{o&&!i&&r(!0)},[o,i]),(0,a.useEffect)(()=>{if(!o){r(!1);return}!e.shown&&r(!0)},[e.shown,o]),(0,a.useMemo)(()=>[n,r],[n])}();return(0,r.jsx)(P.Provider,{value:n,children:t})}function R(){let e=(0,a.useContext)(P);if(!e)throw new O.i6("NavbarSecondaryMenuDisplayProvider");let[t,n]=e,o=(0,a.useCallback)(()=>n(!1),[n]),i=(0,A.HY)();return(0,a.useMemo)(()=>({shown:t,hide:o,content:function(e){if(e.component){let t=e.component;return(0,r.jsx)(t,{...e.props})}}(i)}),[o,i,t])}function I(e){let{header:t,primaryMenu:n,secondaryMenu:a}=e,{shown:i}=R();return(0,r.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,r.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i}),children:[(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:a})]})]})}var F=n("84239"),M=n("7227");function D(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("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 z(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("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"})})}let $={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"},B=a.memo(function(e){let{className:t,buttonClassName:n,value:a,onChange:i}=e,l=(0,M.Z)(),s=(0,u.translate)({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"===a?(0,u.translate)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,u.translate)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,r.jsx)("div",{className:(0,o.Z)($.toggle,t),children:(0,r.jsxs)("button",{className:(0,o.Z)("clean-btn",$.toggleButton,!l&&$.toggleButtonDisabled,n),type:"button",onClick:()=>i("dark"===a?"light":"dark"),disabled:!l,title:s,"aria-label":s,"aria-live":"polite","aria-pressed":"dark"===a?"true":"false",children:[(0,r.jsx)(D,{className:(0,o.Z)($.toggleIcon,$.lightToggleIcon)}),(0,r.jsx)(z,{className:(0,o.Z)($.toggleIcon,$.darkToggleIcon)})]})})}),U={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function Z(e){let{className:t}=e,n=(0,v.L)().navbar.style,a=(0,v.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:i}=(0,F.I)();return a?null:(0,r.jsx)(B,{className:t,buttonClassName:"dark"===n?U.darkNavbarColorModeToggle:void 0,value:o,onChange:i})}var H=n("44987");function W(){return(0,r.jsx)(H.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function V(){let e=(0,j.e)();return(0,r.jsx)("button",{type:"button","aria-label":(0,u.translate)({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(),children:(0,r.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function q(){return(0,r.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,r.jsx)(W,{}),(0,r.jsx)(Z,{className:"margin-right--md"}),(0,r.jsx)(V,{})]})}var G=n("83012"),Y=n("4757"),Q=n("63150");function K(e,t){return void 0!==e&&void 0!==t&&RegExp(e,"gi").test(t)}var X=n("62425");function J(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:l,isDropdownLink:s,prependBaseUrlToHref:u,...c}=e,d=(0,Y.ZP)(a),f=(0,Y.ZP)(t),p=(0,Y.ZP)(o,{forcePrependBaseUrl:!0}),h=i&&o&&!(0,Q.Z)(o),g=l?{dangerouslySetInnerHTML:{__html:l}}:{children:(0,r.jsxs)(r.Fragment,{children:[i,h&&(0,r.jsx)(X.Z,{...s&&{width:12,height:12}})]})};return o?(0,r.jsx)(G.Z,{href:u?p:o,...c,...g}):(0,r.jsx)(G.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?K(n,t.pathname):t.pathname.startsWith(f)},...c,...g})}function ee(e){let{className:t,isDropdownItem:n=!1,...a}=e,i=(0,r.jsx)(J,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...a});return n?(0,r.jsx)("li",{children:i}):i}function et(e){let{className:t,isDropdownItem:n,...a}=e;return(0,r.jsx)("li",{className:"menu__list-item",children:(0,r.jsx)(J,{className:(0,o.Z)("menu__link",t),...a})})}function en(e){let{mobile:t=!1,position:n,...a}=e;return(0,r.jsx)(t?et:ee,{...a,activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var er=n("57455"),ea=n("79246"),eo=n("2933");let ei="dropdownNavbarItemMobile_S0Fm";function el(e){let{items:t,position:n,className:i,onClick:l,...s}=e,u=(0,a.useRef)(null),[c,d]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=e=>{if(!(!u.current||u.current.contains(e.target)))d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}},[u]),(0,r.jsxs)("div",{ref:u,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,r.jsx)(J,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.Z)("navbar__link",i),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,r.jsx)("ul",{className:"dropdown__menu",children:t.map((e,t)=>(0,a.createElement)(eT,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t}))})]})}function es(e){var t,n;let{items:i,className:l,position:u,onClick:c,...d}=e,f=function(){let{siteConfig:{baseUrl:e}}=(0,eo.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}();let p=(t=i,n=f,t.some(e=>{var t,r;return t=e,r=n,!!((0,ea.Mg)(t.to,r)||K(t.activeBaseRegex,r)||t.activeBasePath&&r.startsWith(t.activeBasePath))||!1})),{collapsed:h,toggleCollapsed:g,setCollapsed:m}=(0,er.u)({initialState:()=>!p});return(0,a.useEffect)(()=>{p&&m(!p)},[f,p,m]),(0,r.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":h}),children:[(0,r.jsx)(J,{role:"button",className:(0,o.Z)(ei,"menu__link menu__link--sublist menu__link--sublist-caret",l),...d,onClick:e=>{e.preventDefault(),g()},children:d.children??d.label}),(0,r.jsx)(er.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:h,children:i.map((e,t)=>(0,a.createElement)(eT,{mobile:!0,isDropdownItem:!0,onClick:c,activeClassName:"menu__link--active",...e,key:t}))})]})}function eu(e){let{mobile:t=!1,...n}=e;return(0,r.jsx)(t?es:el,{...n})}var ec=n("28910");function ed(e){let{width:t=20,height:n=20,...a}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...a,children:(0,r.jsx)("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"})})}let ef="iconLanguage_nlXk",ep=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r);else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(r&&(r+=" "),r+=t);return r};var eh=n("51672"),eg=n("813"),em=n.n(eg);function ey(){let e=(0,s.TH)(),t=(0,s.k6)(),{siteConfig:{baseUrl:n}}=(0,eo.Z)(),[r,o]=(0,a.useState)({wordToHighlight:"",isTitleSuggestion:!1,titleText:""});return(0,a.useEffect)(()=>{if(!e.state?.highlightState||0===e.state.highlightState.wordToHighlight.length)return;o(e.state.highlightState);let{highlightState:n,...r}=e.state;t.replace({...e,state:r})},[e.state?.highlightState,t,e]),(0,a.useEffect)(()=>{if(0===r.wordToHighlight.length)return;let e=document.getElementsByTagName("article")[0]??document.getElementsByTagName("main")[0];if(!e)return;let t=new(em())(e),n={ignoreJoiners:!0};return t.mark(r.wordToHighlight,n),()=>t.unmark(n)},[r,n]),null}let eb=e=>{let t;let o=(0,a.useRef)(!1),i=(0,a.useRef)(null),[l,u]=(0,a.useState)(!1),c=(0,s.k6)(),{siteConfig:d={}}=(0,eo.Z)(),f=(d.plugins||[]).find(e=>Array.isArray(e)&&"string"==typeof e[0]&&e[0].includes("docusaurus-lunr-search")),p=(0,M.Z)(),{baseUrl:h}=d,g=f&&f[1]?.assetUrl||h,m=(e,t,n,r)=>{new n({searchDocs:e,searchIndex:t,baseUrl:h,inputSelector:"#search_input_react",handleSelected:(e,t,n)=>{let a=n.url||"/";document.createElement("a").href=a,e.setVal(""),t.target.blur();let o="";if(r.highlightResult)try{let e=(n.text||n.subcategory||n.title).match(RegExp("<span.+span>\\w*","g"));if(e&&e.length>0){let t=document.createElement("div");t.innerHTML=e[0],o=t.textContent}}catch(e){console.log(e)}c.push(a,{highlightState:{wordToHighlight:o}})},maxHits:r.maxHits})},y=(0,eh.eZ)("docusaurus-lunr-search"),b=()=>fetch(`${g}${y.fileNames.searchDoc}`).then(e=>e.json()),v=()=>fetch(`${g}${y.fileNames.lunrIndex}`).then(e=>e.json()),w=()=>{!o.current&&(Promise.all([b(),v(),Promise.all([n.e("4294"),n.e("9990")]).then(n.bind(n,75322)),Promise.all([n.e("6212"),n.e("2061")]).then(n.bind(n,68544))]).then(e=>{let[t,n,{default:r}]=e,{searchDocs:a,options:o}=t;if(!!a&&0!==a.length)m(a,n,r,o),u(!0)}),o.current=!0)},x=(0,a.useCallback)(t=>{!i.current.contains(t.target)&&i.current.focus(),e.handleSearchBarToggle&&e.handleSearchBarToggle(!e.isSearchBarExpanded)},[e.isSearchBarExpanded]);return p&&(w(),t=window.navigator.platform.startsWith("Mac")?"Search \u2318+K":"Search Ctrl+K"),(0,a.useEffect)(()=>{e.autoFocus&&l&&i.current.focus()},[l]),(0,r.jsxs)("div",{className:"navbar__search",children:[(0,r.jsx)("span",{"aria-label":"expand searchbar",role:"button",className:ep("search-icon",{"search-icon-hidden":e.isSearchBarExpanded}),onClick:x,onKeyDown:x,tabIndex:0}),(0,r.jsx)("input",{id:"search_input_react",type:"search",placeholder:l?t:"Loading...","aria-label":"Search",className:ep("navbar__search-input",{"search-bar-expanded":e.isSearchBarExpanded},{"search-bar":!e.isSearchBarExpanded}),onClick:w,onMouseOver:w,onFocus:x,onBlur:x,ref:i,disabled:!l}),(0,r.jsx)(ey,{})]},"search-box")},ev="navbarSearchContainer_Bca1";function ew(e){let{children:t,className:n}=e;return(0,r.jsx)("div",{className:(0,o.Z)(n,ev),children:t})}var ex=n("81723"),ek=n("69369");let eS=e=>e.docs.find(t=>t.id===e.mainDocId);var e_=n("93896");function eE(e,t){var n;return t.alternateDocVersions[e.name]??(n=e).docs.find(e=>e.id===n.mainDocId)}let eC={default:en,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,queryString:o="",...i}=e,{i18n:{currentLocale:l,locales:c,localeConfigs:d}}=(0,eo.Z)(),f=(0,ec.l)(),{search:p,hash:h}=(0,s.TH)(),g=[...n,...c.map(e=>{let n=`pathname://${f.createUrl({locale:e,fullyQualified:!1})}`,r=`${n}${p}${h}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:r,target:"_self",autoAddBaseUrl:!1,className:e===l?t?"menu__link--active":"dropdown__link--active":""}}),...a],m=t?(0,u.translate)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[l].label;return(0,r.jsx)(eu,{...i,mobile:t,label:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ed,{className:ef}),m]}),items:g})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,r.jsx)(ew,{className:n,children:(0,r.jsx)(eb,{})})},dropdown:eu,html:function(e){let{value:t,className:n,mobile:a=!1,isDropdownItem:i=!1}=e;return(0,r.jsx)(i?"li":"div",{className:(0,o.Z)({navbar__item:!a&&!i,"menu__list-item":a},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e,{activeDoc:i}=(0,ex.Iw)(a),l=(0,ek.vY)(t,a),s=i?.path===l?.path;return null===l||l.unlisted&&!s?null:(0,r.jsx)(en,{exact:!0,...o,isActive:()=>s||!!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,{activeDoc:i}=(0,ex.Iw)(a),l=(0,ek.oz)(t,a).link;if(!l)throw Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,r.jsx)(en,{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,i=(0,ek.lO)(a)[0],l=t??i.label,s=n??eS(i).path;return(0,r.jsx)(en,{...o,label:l,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...l}=e,{search:c,hash:d}=(0,s.TH)(),f=(0,ex.Iw)(n),p=(0,ex.gB)(n),{savePreferredVersionName:h}=(0,e_.J)(n),g=[...o,...p.map(function(e){let t=eE(e,f);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>h(e.name)}}),...i],m=(0,ek.lO)(n)[0],y=t&&g.length>1?(0,u.translate)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):m.label,b=t&&g.length>1?void 0:eE(m,f).path;return g.length<=1?(0,r.jsx)(en,{...l,mobile:t,label:y,to:b,isActive:a?()=>!1:void 0}):(0,r.jsx)(eu,{...l,mobile:t,label:y,to:b,items:g,isActive:a?()=>!1:void 0})}};function eT(e){var t,n;let{type:a,...o}=e;let i=eC[t=a,n=o,t&&"default"!==t?t:"items"in n?"dropdown":"default"];if(!i)throw Error(`No NavbarItem component found for type "${a}".`);return(0,r.jsx)(i,{...o})}function ej(){let e=(0,j.e)(),t=(0,v.L)().navbar.items;return(0,r.jsx)("ul",{className:"menu__list",children:t.map((t,n)=>(0,a.createElement)(eT,{mobile:!0,...t,onClick:()=>e.toggle(),key:n}))})}function eN(e){return(0,r.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,r.jsx)(u.default,{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)",children:"\u2190 Back to main menu"})})}function eO(){let e=0===(0,v.L)().navbar.items.length,t=R();return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(eN,{onClick:()=>t.hide()}),t.content]})}function eA(){let e=(0,j.e)();return(!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(0,a.useEffect)(()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[e])}(e.shown),e.shouldRender)?(0,r.jsx)(I,{header:(0,r.jsx)(q,{}),primaryMenu:(0,r.jsx)(ej,{}),secondaryMenu:(0,r.jsx)(eO,{})}):null}let eP={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function eL(e){return(0,r.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function eR(e){let{children:t}=e,{navbar:{hideOnScroll:n,style:i}}=(0,v.L)(),l=(0,j.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){let[t,n]=(0,a.useState)(e),r=(0,a.useRef)(!1),o=(0,a.useRef)(0),i=(0,a.useCallback)(e=>{null!==e&&(o.current=e.getBoundingClientRect().height)},[]);return(0,N.RF)((t,a)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current){n(!0);return}if(r.current){r.current=!1;return}let l=a?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)}),(0,c.S)(t=>{if(!e)return;let a=t.location.hash;if(a?document.getElementById(a.substring(1)):void 0){r.current=!0,n(!1);return}n(!0)}),{navbarRef:i,isNavbarVisible:t}}(n);return(0,r.jsxs)("nav",{ref:s,"aria-label":(0,u.translate)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[eP.navbarHideable,!d&&eP.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":l.shown}),children:[t,(0,r.jsx)(eL,{onClick:l.toggle}),(0,r.jsx)(eA,{})]})}var eI=n("78720");function eF(e){let{width:t=30,height:n=30,className:a,...o}=e;return(0,r.jsx)("svg",{className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,r.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function eM(){let{toggle:e,shown:t}=(0,j.e)();return(0,r.jsx)("button",{onClick:e,"aria-label":(0,u.translate)({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",children:(0,r.jsx)(eF,{})})}let eD="colorModeToggle_DEke";function ez(e){let{items:t}=e;return(0,r.jsx)(r.Fragment,{children:t.map((e,t)=>(0,r.jsx)(eI.QW,{onError:t=>Error(`A theme navbar item failed to render. +Please double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config: +${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,r.jsx)(eT,{...e})},t))})}function e$(e){let{left:t,right:n}=e;return(0,r.jsxs)("div",{className:"navbar__inner",children:[(0,r.jsx)("div",{className:"navbar__items",children:t}),(0,r.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function eB(){let e=(0,j.e)(),t=(0,v.L)().navbar.items,[n,a]=function(e){function t(e){return(e.position??"right")==="left"}let n=e.filter(t);return[n,e.filter(e=>!t(e))]}(t),o=t.find(e=>"search"===e.type);return(0,r.jsx)(e$,{left:(0,r.jsxs)(r.Fragment,{children:[!e.disabled&&(0,r.jsx)(eM,{}),(0,r.jsx)(W,{}),(0,r.jsx)(ez,{items:n})]}),right:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ez,{items:a}),(0,r.jsx)(Z,{className:eD}),!o&&(0,r.jsx)(ew,{children:(0,r.jsx)(eb,{})})]})})}function eU(){return(0,r.jsx)(eR,{children:(0,r.jsx)(eB,{})})}function eZ(e){let{item:t}=e,{to:n,href:a,label:o,prependBaseUrlToHref:i,...l}=t,s=(0,Y.ZP)(n),u=(0,Y.ZP)(a,{forcePrependBaseUrl:!0});return(0,r.jsxs)(G.Z,{className:"footer__link-item",...a?{href:i?u:a}:{to:s},...l,children:[o,a&&!(0,Q.Z)(a)&&(0,r.jsx)(X.Z,{})]})}function eH(e){let{item:t}=e;return t.html?(0,r.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)("li",{className:"footer__item",children:(0,r.jsx)(eZ,{item:t})},t.href??t.to)}function eW(e){let{column:t}=e;return(0,r.jsxs)("div",{className:"col footer__col",children:[(0,r.jsx)("div",{className:"footer__title",children:t.title}),(0,r.jsx)("ul",{className:"footer__items clean-list",children:t.items.map((e,t)=>(0,r.jsx)(eH,{item:e},t))})]})}function eV(e){let{columns:t}=e;return(0,r.jsx)("div",{className:"row footer__links",children:t.map((e,t)=>(0,r.jsx)(eW,{column:e},t))})}function eq(){return(0,r.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function eG(e){let{item:t}=e;return t.html?(0,r.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)(eZ,{item:t})}function eY(e){let{links:t}=e;return(0,r.jsx)("div",{className:"footer__links text--center",children:(0,r.jsx)("div",{className:"footer__links",children:t.map((e,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(eG,{item:e}),t.length!==n+1&&(0,r.jsx)(eq,{})]},n))})})}function eQ(e){let{links:t}=e;return"title"in t[0]?(0,r.jsx)(eV,{columns:t}):(0,r.jsx)(eY,{links:t})}var eK=n("16561");let eX={footerLogoLink:"footerLogoLink_BH7S"};function eJ(e){let{logo:t}=e,{withBaseUrl:n}=(0,Y.Cg)(),a={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,r.jsx)(eK.Z,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:a,width:t.width,height:t.height,style:t.style})}function e0(e){let{logo:t}=e;return t.href?(0,r.jsx)(G.Z,{href:t.href,className:eX.footerLogoLink,target:t.target,children:(0,r.jsx)(eJ,{logo:t})}):(0,r.jsx)(eJ,{logo:t})}function e1(e){let{copyright:t}=e;return(0,r.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function e2(e){let{style:t,links:n,logo:a,copyright:i}=e;return(0,r.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,r.jsxs)("div",{className:"container container-fluid",children:[n,(a||i)&&(0,r.jsxs)("div",{className:"footer__bottom text--center",children:[a&&(0,r.jsx)("div",{className:"margin-bottom--sm",children:a}),i]})]})})}let e3=a.memo(function(){let{footer:e}=(0,v.L)();if(!e)return null;let{copyright:t,links:n,logo:a,style:o}=e;return(0,r.jsx)(e2,{style:o,links:n&&n.length>0&&(0,r.jsx)(eQ,{links:n}),logo:a&&(0,r.jsx)(e0,{logo:a}),copyright:t&&(0,r.jsx)(e1,{copyright:t})})}),e4=(0,O.Qc)([F.S,w.p,N.OC,e_.L5,l.VC,function(e){let{children:t}=e;return(0,r.jsx)(A.n2,{children:(0,r.jsx)(j.M,{children:(0,r.jsx)(L,{children:t})})})}]);function e5(e){let{children:t}=e;return(0,r.jsx)(e4,{children:t})}var e9=n("34403");function e6(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)("main",{className:"container margin-vert--xl",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(e9.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(u.default,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,r.jsx)("div",{className:"margin-vert--lg",children:(0,r.jsx)(eI.Cw,{onClick:n,className:"button button--primary shadow--lw"})}),(0,r.jsx)("hr",{}),(0,r.jsx)("div",{className:"margin-vert--md",children:(0,r.jsx)(eI.aG,{error:t})})]})})})}let e8="mainWrapper_z2l0";function e7(e){let{children:t,noFooter:n,wrapperClassName:a,title:s,description:u}=e;return(0,m.t)(),(0,r.jsxs)(e5,{children:[(0,r.jsx)(l.d,{title:s,description:u}),(0,r.jsx)(b,{}),(0,r.jsx)(T,{}),(0,r.jsx)(eU,{}),(0,r.jsx)("div",{id:d,className:(0,o.Z)(g.k.wrapper.main,e8,a),children:(0,r.jsx)(i.Z,{fallback:e=>(0,r.jsx)(e6,{...e}),children:t})}),!n&&(0,r.jsx)(e3,{})]})}},44987:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(85893);n(67294);var a=n(83012),o=n(4757),i=n(2933),l=n(30140),s=n(16561);function u(e){let{logo:t,alt:n,imageClassName:a}=e,i={light:(0,o.ZP)(t.src),dark:(0,o.ZP)(t.srcDark||t.src)},l=(0,r.jsx)(s.Z,{className:t.className,sources:i,height:t.height,width:t.width,alt:n,style:t.style});return a?(0,r.jsx)("div",{className:a,children:l}):l}function c(e){let{siteConfig:{title:t}}=(0,i.Z)(),{navbar:{title:n,logo:s}}=(0,l.L)(),{imageClassName:c,titleClassName:d,...f}=e,p=(0,o.ZP)(s?.href||"/"),h=s?.alt??(n?"":t);return(0,r.jsxs)(a.Z,{to:p,...f,...s?.target&&{target:s.target},children:[s&&(0,r.jsx)(u,{logo:s,alt:h,imageClassName:c}),null!=n&&(0,r.jsx)("b",{className:d,children:n})]})}},84315:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893);n(67294);var a=n(94819);function o(e){let{locale:t,version:n,tag:o}=e;return(0,r.jsxs)(a.Z,{children:[t&&(0,r.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,r.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,r.jsx)("meta",{name:"docusaurus_tag",content:o}),t&&(0,r.jsx)("meta",{name:"docsearch:language",content:t}),n&&(0,r.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,r.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},16561:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("85893"),a=n("67294"),o=n("67026"),i=n("7227"),l=n("84239");let s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};function u(e){let{className:t,children:n}=e,u=(0,i.Z)(),{colorMode:c}=(0,l.I)();return(0,r.jsx)(r.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map(e=>{let i=n({theme:e,className:(0,o.Z)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,r.jsx)(a.Fragment,{children:i},e)})})}function c(e){let{sources:t,className:n,alt:a,...o}=e;return(0,r.jsx)(u,{className:n,children:e=>{let{theme:n,className:i}=e;return(0,r.jsx)("img",{src:t[n],alt:a,className:i,...o})}})}},57455:function(e,t,n){"use strict";n.d(t,{u:function(){return s},z:function(){return h}});var r=n(85893),a=n(67294),o=n(57565),i=n(32e3),l=n(17504);function s(e){let{initialState:t}=e,[n,r]=(0,a.useState)(t??!1),o=(0,a.useCallback)(()=>{r(e=>!e)},[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}let u={display:"none",overflow:"hidden",height:"0px"},c={display:"block",overflow:"visible",height:"auto"};function d(e,t){let n=t?u:c;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{as:t="div",collapsed:n,children:i,animation:s,onCollapseTransitionEnd:f,className:p,disableSSRStyle:h}=e,g=(0,a.useRef)(null);return!function(e){let{collapsibleRef:t,collapsed:n,animation:r}=e,o=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t.current;function a(){let t=function(){let t=e.scrollHeight,n=r?.duration??function(e){if((0,l.n)())return 1;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}(t),a=r?.easing??"ease-in-out";return{transition:`height ${n}ms ${a}`,height:`${t}px`}}();e.style.transition=t.transition,e.style.height=t.height}if(!o.current){d(e,n),o.current=!0;return}return e.style.willChange="height",function(){let t=requestAnimationFrame(()=>{n?(a(),requestAnimationFrame(()=>{e.style.height=u.height,e.style.overflow=u.overflow})):(e.style.display="block",requestAnimationFrame(()=>{a()}))});return()=>cancelAnimationFrame(t)}()},[t,n,r])}({collapsibleRef:g,collapsed:n,animation:s}),(0,r.jsx)(t,{ref:g,style:h?void 0:function(e){if(!o.Z.canUseDOM)return e?u:c}(n),onTransitionEnd:e=>{if("height"===e.propertyName)d(g.current,n),f?.(n)},className:p,children:i})}function p(e){let{collapsed:t,...n}=e,[o,l]=(0,a.useState)(!t),[s,u]=(0,a.useState)(t);return(0,i.Z)(()=>{!t&&l(!0)},[t]),(0,i.Z)(()=>{o&&u(t)},[o,t]),o?(0,r.jsx)(f,{...n,collapsed:s}):null}function h(e){let{lazy:t,...n}=e;return(0,r.jsx)(t?p:f,{...n})}},22093:function(e,t,n){"use strict";n.d(t,{n:function(){return g},p:function(){return h}});var r=n(85893),a=n(67294),o=n(7227),i=n(76009),l=n(85346),s=n(30140);let u=(0,i.WA)("docusaurus.announcement.dismiss"),c=(0,i.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),f=e=>u.set(String(e)),p=a.createContext(null);function h(e){let{children:t}=e,n=function(){let{announcementBar:e}=(0,s.L)(),t=(0,o.Z)(),[n,r]=(0,a.useState)(()=>!!t&&d());(0,a.useEffect)(()=>{r(d())},[]);let i=(0,a.useCallback)(()=>{f(!0),r(!0)},[]);return(0,a.useEffect)(()=>{if(!e)return;let{id:t}=e,n=c.get();"annoucement-bar"===n&&(n="announcement-bar");let a=t!==n;c.set(t),a&&f(!1),(a||!d())&&r(!1)},[e]),(0,a.useMemo)(()=>({isActive:!!e&&!n,close:i}),[e,n,i])}();return(0,r.jsx)(p.Provider,{value:n,children:t})}function g(){let e=(0,a.useContext)(p);if(!e)throw new l.i6("AnnouncementBarProvider");return e}},84239:function(e,t,n){"use strict";n.d(t,{I:function(){return y},S:function(){return m}});var r=n(85893),a=n(67294),o=n(57565),i=n(85346),l=n(76009),s=n(30140);let u=a.createContext(void 0),c="theme",d=(0,l.WA)(c),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,h=e=>o.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),g=e=>{d.set(p(e))};function m(e){let{children:t}=e,n=function(){let{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[r,o]=(0,a.useState)(h(e));(0,a.useEffect)(()=>{t&&d.del()},[t]);let i=(0,a.useCallback)(function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{persist:a=!0}=r;t?(o(t),a&&g(t)):(n?o(window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light):o(e),d.del())},[n,e]);(0,a.useEffect)(()=>{document.documentElement.setAttribute("data-theme",p(r))},[r]),(0,a.useEffect)(()=>{if(t)return;let e=e=>{if(e.key!==c)return;let t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[t,i]);let l=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(t&&!n)return;let e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{if(window.matchMedia("print").matches||l.current){l.current=window.matchMedia("print").matches;return}i(null)};return e.addListener(r),()=>e.removeListener(r)},[i,t,n]),(0,a.useMemo)(()=>({colorMode:r,setColorMode:i,get isDarkTheme(){return r===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}}),[r,i])}();return(0,r.jsx)(u.Provider,{value:n,children:t})}function y(){let e=(0,a.useContext)(u);if(null==e)throw new i.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},71915:function(e,t,n){"use strict";n.d(t,{M:function(){return d},e:function(){return f}});var r=n(85893),a=n(67294),o=n(11179),i=n(54704),l=n(4520),s=n(30140),u=n(85346);let c=a.createContext(void 0);function d(e){let{children:t}=e,n=function(){let e=function(){let e=(0,o.HY)(),{items:t}=(0,s.L)().navbar;return 0===t.length&&!e.component}(),t=(0,i.i)(),n=!e&&"mobile"===t,[r,u]=(0,a.useState)(!1);(0,l.Rb)(()=>{if(r)return u(!1),!1});let c=(0,a.useCallback)(()=>{u(e=>!e)},[]);return(0,a.useEffect)(()=>{"desktop"===t&&u(!1)},[t]),(0,a.useMemo)(()=>({disabled:e,shouldRender:n,toggle:c,shown:r}),[e,n,c,r])}();return(0,r.jsx)(c.Provider,{value:n,children:t})}function f(){let e=a.useContext(c);if(void 0===e)throw new u.i6("NavbarMobileSidebarProvider");return e}},11179:function(e,t,n){"use strict";n.d(t,{HY:function(){return s},Zo:function(){return u},n2:function(){return l}});var r=n(85893),a=n(67294),o=n(85346);let i=a.createContext(null);function l(e){let{children:t}=e,n=(0,a.useState)({component:null,props:null});return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e,r=(0,a.useContext)(i);if(!r)throw new o.i6("NavbarSecondaryMenuContentProvider");let[,l]=r,s=(0,o.Ql)(n);return(0,a.useEffect)(()=>{l({component:t,props:s})},[l,t,s]),(0,a.useEffect)(()=>()=>l({component:null,props:null}),[l]),null}},16959:function(e,t,n){"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n("67294");let 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)}},[])}},54704:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(67294),a=n(57565);let o={desktop:"desktop",mobile:"mobile"};function i(){let{desktopBreakpoint:e=996}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,r.useState)(()=>"ssr");return(0,r.useEffect)(()=>{function t(){n(function(e){if(!a.Z.canUseDOM)throw Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(e))}return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),t}},84681:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});let r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-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",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",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:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},17504:function(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:function(){return r}})},78720:function(e,t,n){"use strict";n.d(t,{QW:()=>f,aG:()=>d,Ac:()=>c,Cw:()=>u});var r=n("85893"),a=n("67294"),o=n("96025"),i=n("8365");let l="errorBoundaryError_a6uf",s="errorBoundaryFallback_VBag";function u(e){return(0,r.jsx)("button",{type:"button",...e,children:(0,r.jsx)(o.default,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function c(e){let{error:t,tryAgain:n}=e;return(0,r.jsxs)("div",{className:s,children:[(0,r.jsx)("p",{children:t.message}),(0,r.jsx)(u,{onClick:n})]})}function d(e){let{error:t}=e,n=(0,i.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{className:l,children:n})}class f extends a.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}},4520:function(e,t,n){"use strict";n.d(t,{Rb:function(){return i},_X:function(){return l}});var r=n(67294),a=n(16550),o=n(85346);function i(e){!function(e){let t=(0,a.k6)(),n=(0,o.zX)(e);(0,r.useEffect)(()=>t.block((e,t)=>n(e,t)),[t,n])}((t,n)=>{if("POP"===n)return e(t,n)})}function l(e){return function(e){let t=(0,a.k6)();return(0,r.useSyncExternalStore)(t.listen,()=>e(t),()=>e(t))}(t=>null===e?null:new URLSearchParams(t.location.search).get(e))}},38341:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e,t)=>e===t;return e.filter((n,r)=>e.findIndex(e=>t(e,n))!==r)}function a(e){return Array.from(new Set(e))}n.d(t,{jj:function(){return a},lx:function(){return r}})},14713:function(e,t,n){"use strict";n.d(t,{FG:()=>f,d:()=>c,VC:()=>p});var r=n("85893"),a=n("67294"),o=n("67026"),i=n("94819"),l=n("54879"),s=n("4757"),u=n("2933");function c(e){let{title:t,description:n,keywords:a,image:o,children:l}=e,c=function(e){let{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.Cg)(),f=o?d(o,{absolute:!0}):void 0;return(0,r.jsxs)(i.Z,{children:[t&&(0,r.jsx)("title",{children:c}),t&&(0,r.jsx)("meta",{property:"og:title",content:c}),n&&(0,r.jsx)("meta",{name:"description",content:n}),n&&(0,r.jsx)("meta",{property:"og:description",content:n}),a&&(0,r.jsx)("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),f&&(0,r.jsx)("meta",{property:"og:image",content:f}),f&&(0,r.jsx)("meta",{name:"twitter:image",content:f}),l]})}let d=a.createContext(void 0);function f(e){let{className:t,children:n}=e,l=a.useContext(d),s=(0,o.Z)(l,t);return(0,r.jsxs)(d.Provider,{value:s,children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("html",{className:s})}),n]})}function p(e){var t;let{children:n}=e,i=function(){let e=a.useContext(l._);if(!e)throw Error("Unexpected: no Docusaurus route context found");return e}();let s=(t=i.plugin.name,`plugin-${t.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`),u=`plugin-id-${i.plugin.id}`;return(0,r.jsx)(f,{className:(0,o.Z)(s,u),children:n})}},85346:function(e,t,n){"use strict";n.d(t,{D9:function(){return l},Qc:function(){return c},Ql:function(){return u},i6:function(){return s},zX:function(){return i}});var r=n(85893),a=n(67294),o=n(32e3);function i(e){let t=(0,a.useRef)(e);return(0,o.Z)(()=>{t.current=e},[e]),(0,a.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[])}function l(e){let t=(0,a.useRef)();return(0,o.Z)(()=>{t.current=e}),t.current}class s 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 u(e){let t=Object.entries(e);return t.sort((e,t)=>e[0].localeCompare(t[0])),(0,a.useMemo)(()=>e,t.flat())}function c(e){return t=>{let{children:n}=t;return(0,r.jsx)(r.Fragment,{children:e.reduceRight((e,t)=>(0,r.jsx)(t,{children:e}),n)})}}},79246:function(e,t,n){"use strict";n.d(t,{Mg:function(){return i},Ns:function(){return l}});var r=n(67294),a=n(94143),o=n(2933);function i(e,t){let n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){let{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;let n=t.find(r);return n?n:e(t.filter(a).flatMap(e=>e.routes??[]))}(n)})({routes:a.Z,baseUrl:e}),[e])}},69599:function(e,t,n){"use strict";n.d(t,{Ct:function(){return g},OC:function(){return c},RF:function(){return p},o5:function(){return h}});var r=n(85893),a=n(67294),o=n(57565),i=n(7227),l=n(32e3),s=n(85346);let u=a.createContext(void 0);function c(e){let{children:t}=e,n=function(){let e=(0,a.useRef)(!0);return(0,a.useMemo)(()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}}),[])}();return(0,r.jsx)(u.Provider,{value:n,children:t})}function d(){let e=(0,a.useContext)(u);if(null==e)throw new s.i6("ScrollControllerProvider");return e}let f=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{scrollEventsEnabledRef:n}=d(),r=(0,a.useRef)(f()),o=(0,s.zX)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=f();o(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)},[o,n,...t])}function h(){let e=d(),t=function(){let e=(0,a.useRef)({elem:null,top:0}),t=(0,a.useCallback)(t=>{e.current={elem:t,top:t.getBoundingClientRect().top}},[]),n=(0,a.useCallback)(()=>{let{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};let r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}},[]);return(0,a.useMemo)(()=>({save:t,restore:n}),[n,t])}(),n=(0,a.useRef)(void 0),r=(0,a.useCallback)(r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{let{restored:r}=t.restore();if(n.current=void 0,r){let t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}},[e,t]);return(0,l.Z)(()=>{queueMicrotask(()=>n.current?.())}),{blockElementScrollPositionUntilNextRender:r}}function g(){let e=(0,a.useRef)(null),t=(0,i.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{var r;e.current=t?(r=n,window.scrollTo({top:r,behavior:"smooth"}),()=>{}):function(e){let t=null,n=document.documentElement.scrollTop>e;return!function r(){let a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor((a-e)*.85)+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},76009:function(e,t,n){"use strict";n.d(t,{WA:()=>u,Nk:()=>c});var r=n("67294"),a=JSON.parse('{"d":"localStorage","u":""}');let o=a.d;function i(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;let o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}let l=!1,s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){var n;let r=(n=e,`${n}${a.u}`);if("undefined"==typeof window)return function(e){function t(){throw Error(`Illegal storage API usage for storage key "${e}". +Docusaurus storage APIs are not supposed to be called on the server-rendering process. +Please only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(r);let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;if("undefined"==typeof window)throw Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(e){return function(e){!l&&(console.warn(`Docusaurus browser storage is not available. +Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,e),l=!0)}(e),null}}(t?.persistence);return null===u?s:{get:()=>{try{return u.getItem(r)}catch(e){return console.error(`Docusaurus storage error, can't get key=${r}`,e),null}},set:e=>{try{let t=u.getItem(r);u.setItem(r,e),i({key:r,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${r}=${e}`,t)}},del:()=>{try{let e=u.getItem(r);u.removeItem(r),i({key:r,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${r}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===r&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${r}`,e),()=>{}}}}}function c(e,t){let n=(0,r.useRef)(()=>null===e?s:u(e,t)).current(),a=(0,r.useCallback)(e=>"undefined"==typeof window?()=>{}:n.listen(e),[n]);return[(0,r.useSyncExternalStore)(a,()=>"undefined"==typeof window?null:n.get(),()=>null),n]}},28910:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2933),a=n(16550),o=n(8365);function i(){let{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){var n;let{locale:r,fullyQualified:a}=e;return`${a?t:""}${(n=r)===i?`${c}`:`${c}${n}/`}${d}`}}}},10346:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(67294),a=n(16550),o=n(85346);function i(e){let t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)(()=>{if(!!n)t!==n&&i({location:t,previousLocation:n})},[i,t,n])}},30140:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(2933);function a(){return(0,r.Z)().siteConfig.themeConfig}},84994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){var n;let{trailingSlash:r,baseUrl:i}=t;if(e.startsWith("#"))return e;if(void 0===r)return e;let[l]=e.split(/[#?]/);let s="/"===l||l===i?l:(n=l,r?a(n):o(n));return e.replace(l,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(18411);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},64202:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8365:function(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=void 0;let r=n(28395);var a,o=n(84994);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(o).default}}),n(18411);var i=n(64202);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},18411:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},75150:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});let r={title:"Permitting Interoperability Exchange Specification",tagline:"An easy as pie way to exchange standardized permitting information. \uD83E\uDD67",favicon:"img/favicon.ico",url:"https://bcgov.github.io",baseUrl:"/nr-pies/pr-preview/pr-3/",organizationName:"bcgov",projectName:"nr-pies",deploymentBranch:"gh-pages",trailingSlash:!1,onBrokenLinks:"throw",onBrokenMarkdownLinks:"throw",future:{experimental_faster:{swcJsLoader:!0,swcJsMinimizer:!0,swcHtmlMinimizer:!0,lightningCssMinimizer:!0,mdxCrossCompilerCache:!0,rspackBundler:!0},experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},plugins:[["/home/runner/work/nr-pies/nr-pies/node_modules/docusaurus-lunr-search/src/index.js",{enableHighlight:!0}],"@docusaurus/theme-mermaid"],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/bcgov/nr-pies/tree/main/",showLastUpdateAuthor:!0,showLastUpdateTime:!0,tags:"tags.yaml",onInlineTags:"throw"},blog:!1,theme:{customCss:"./src/css/custom.css"}}]],markdown:{mermaid:!0,format:"mdx",mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}},themeConfig:{image:"img/BCID_H_rgb_pos.png",announcementBar:{id:"announcement",content:"The PIES specification is still baking... \uD83E\uDD67",backgroundColor:"#FEF1D8",textColor:"#000000",isCloseable:!0},navbar:{hideOnScroll:!1,title:"NR-PIES",logo:{alt:"Government of B.C.",src:"img/BCID_H_rgb_pos.png",srcDark:"img/BCID_H_rgb_rev.png"},items:[{type:"docSidebar",sidebarId:"docSidebar",position:"right",label:"Docs"},{href:"https://github.com/bcgov/nr-pies",position:"right",className:"header-github-logo","aria-label":"GitHub Repo"}]},footer:{logo:{alt:"Creative Commons Attribution 4.0 International License",src:"img/cc-by.png",href:"https://creativecommons.org/licenses/by/4.0/",target:"_blank",width:80,height:15,className:"footer-logo-license"},links:[{label:"Home",href:"https://www2.gov.bc.ca/gov/content/home"},{label:"About gov.bc.ca",href:"https://www2.gov.bc.ca/gov/content/about-gov-bc-ca"},{label:"Disclaimer",href:"https://www2.gov.bc.ca/gov/content/home/disclaimer"},{label:"Privacy",href:"https://www2.gov.bc.ca/gov/content/home/privacy"},{label:"Accessibility",href:"https://www2.gov.bc.ca/gov/content/home/accessible-government"},{label:"Copyright",href:"https://www2.gov.bc.ca/gov/content/home/copyright"},{label:"Contact us",href:"https://www2.gov.bc.ca/gov/content/home/get-help-with-government-services"},{label:"Docusaurus",to:"docs/docusaurus/intro"}],copyright:"Copyright \xa9 2024 Government of British Columbia. Built with Docusaurus.",style:"light"},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:["mermaid"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:4},mermaid:{theme:{light:"default",dark:"dark"},options:{}},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},blog:{sidebar:{groupByYear:!0}},metadata:[]},themes:["docusaurus-json-schema-plugin"],baseUrlIssueBanner:!0,onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1}},16019:function(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}).apply(null,arguments)}n.d(t,{Z:function(){return r}})},35091:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},70443:function(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,{Z:function(){return r}})},67026:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r)}return a}(e))&&(r&&(r+=" "),r+=t);return r}},83229:function(e,t,n){"use strict";let r,a,o,i,l;n.d(t,{p1:function(){return K},y$:function(){return eD}});var s,u,c,d,f,p,h,g,m,y,b,v,w,x,k,S,_,E,C,T,j,N,O,A,P,L,R=n(67294),I=n(67026),F=Object.create,M=Object.defineProperty,D=Object.defineProperties,z=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyDescriptors,B=Object.getOwnPropertyNames,U=Object.getOwnPropertySymbols,Z=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,V=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||(t={}))H.call(t,n)&&V(e,n,t[n]);if(U)for(var n of U(t))W.call(t,n)&&V(e,n,t[n]);return e},G=(e,t)=>D(e,$(t)),Y=(e,t)=>{var n={};for(var r in e)H.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&U)for(var r of U(e))0>t.indexOf(r)&&W.call(e,r)&&(n[r]=e[r]);return n},Q=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of B(t))!H.call(e,a)&&a!==n&&M(e,a,{get:()=>t[a],enumerable:!(r=z(t,a))||r.enumerable});return e};var K=(l=null!=(o=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=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(n[o=r.util.objId(t)])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":if(n[o=r.util.objId(t)])return n[o];return 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};if(r.hooks.run("before-tokenize",o),!o.grammar)throw Error('The language "'+o.language+'" has no grammar.');return 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 s in n)t[s]=n[s];delete t.rest}var u=new i;return l(u,u.head,e),function e(t,n,i,s,u,c){for(var d in i){if(!!i.hasOwnProperty(d)&&!!i[d]){var f=i[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(c&&c.cause==d+","+p)return;var h=f[p],g=h.inside,m=!!h.lookbehind,y=!!h.greedy,b=h.alias;if(y&&!h.pattern.global){var v=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,v+"g")}for(var w=h.pattern||h,x=s.next,k=u;x!==n.tail&&(!c||!(k>=c.reach));k+=x.value.length,x=x.next){;var S,_=x.value;if(n.length>t.length)return;if(!(_ instanceof a)){var E=1;if(y){if(!(S=o(w,k,t,m))||S.index>=t.length)break;var C=S.index,T=S.index+S[0].length,j=k;for(j+=x.value.length;C>=j;)j+=(x=x.next).value.length;if(j-=x.value.length,k=j,x.value instanceof a)continue;for(var N=x;N!==n.tail&&(j<T||"string"==typeof N.value);N=N.next)E++,j+=N.value.length;E--,_=t.slice(k,j),S.index-=k}else if(!(S=o(w,0,_,m)))continue;var C=S.index,O=S[0],A=_.slice(0,C),P=_.slice(C+O.length),L=k+_.length;c&&L>c.reach&&(c.reach=L);var R=x.prev;if(A&&(R=l(n,R,A),k+=A.length),function(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}(n,R,E),x=l(n,R,new a(d,g?r.tokenize(O,g):O,b,O)),P&&l(n,x,P),E>1){var I={cause:d+","+p,reach:L};e(t,n,i,x.prev,k,I),c&&I.reach>c.reach&&(c.reach=I.reach)}}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},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(){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 l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,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}();t.exports=n,n.default=n}},function(){return a||(0,r[B(r)[0]])((a={exports:{}}).exports,a),a.exports})())?F(Z(o)):{},Q(!i&&o&&o.__esModule?l:M(l,"default",{value:o,enumerable:!0}),o));K.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},K.languages.markup.tag.inside["attr-value"].inside.entity=K.languages.markup.entity,K.languages.markup.doctype.inside["internal-subset"].inside=K.languages.markup,K.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(K.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:K.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:K.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},K.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(K.languages.markup.tag,"addAttribute",{value:function(e,t){K.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:K.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),K.languages.html=K.languages.markup,K.languages.mathml=K.languages.markup,K.languages.svg=K.languages.markup,K.languages.xml=K.languages.extend("markup",{}),K.languages.ssml=K.languages.xml,K.languages.atom=K.languages.xml,K.languages.rss=K.languages.xml,s=K,u={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},d=RegExp((d="(?:[^\\\\-]|"+(c=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+d),f={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},s.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:d,inside:{escape:c,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":u,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:c}},"special-escape":u,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":f}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:c,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":f}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},K.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:/[{}[\];(),.:]/},K.languages.javascript=K.languages.extend("clike",{"class-name":[K.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}|\?\?=?|\?\.?|[~:]/}),K.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,K.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:K.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:K.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:K.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:K.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:K.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),K.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:K.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"}}),K.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),K.languages.markup&&(K.languages.markup.tag.addInlined("script","javascript"),K.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")),K.languages.js=K.languages.javascript,K.languages.actionscript=K.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),K.languages.actionscript["class-name"].alias="function",delete K.languages.actionscript.parameter,delete K.languages.actionscript["literal-property"],K.languages.markup&&K.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:K.languages.markup}}),h=/#(?!\{).+/,g={pattern:/#\{[^}]+\}/,alias:"variable"},(p=K).languages.coffeescript=p.languages.extend("javascript",{comment:h,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:g}}],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"}}),p.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:h,interpolation:g}}}),p.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:p.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:g}}]}),p.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete p.languages.coffeescript["template-string"],p.languages.coffee=p.languages.coffeescript,Object.defineProperty(y=(m=K).languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=m.languages[e]){var a,o=a[r];if((o=o||(a=m.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var i=0,l=o.length;i<l;i++)o[i]instanceof RegExp&&(o[i]={pattern:o[i]}),n(o[i]);else n(o)}})}}),y.addSupport(["java","javascript","php"],y),v=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(v=((b=K).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+v.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+v.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+v.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+v.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:v,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:/[(){};:,]/},b.languages.css.atrule.inside.rest=b.languages.css,b.languages.markup))&&(v.tag.addInlined("style","css"),v.tag.addAttribute("style","css")),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(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("\\[(?:[^[\\]\"']|"+t.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":[t,{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}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={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|RebeccaPurple|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:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(K),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+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){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e}),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}(K),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,i=(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,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",a=0,o=t.classes.length;a<o;a++){var u=t.classes[a],u=/language-(.+)/.exec(u);if(u){r=u[1];break}}var c,d=e.languages[r];d?t.content=e.highlight(n=(n=(n=t.content).replace(i,"")).replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):l[t]||e}),d,r):r&&"none"!==r&&e.plugins.autoloader&&(c="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(K),K.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:K.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+/},K.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"])&&"("===function(e){return t[n+e]}(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=function(e){return t[n+e]}(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===function(e){return t[n+e]}(0).content&&(n++,p(function(e){return t[n+e]}(0),"property-mutation"),0<a.length)){var l=f(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,r){r=r||0;for(var a=0;a<e.length;a++){var o=t[n+(a+r)];if(!o||o.type!==e[a])return}return 1}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)}}),K.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(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}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 s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in s&&function t(n){for(var i=0,s=n.length;i<s;i++){var u,c,d,f=n[i];"string"!=typeof f&&(Array.isArray(u=f.content)?"template-string"===f.type?(f=u[1],3===u.length&&"string"!=typeof f&&"embedded-code"===f.type&&(c=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(f),f=Array.isArray(f=f.alias)?f[0]:f,d=e.languages[f])&&(u[1]=function(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},s=l(s.map(function(e){if("string"==typeof e)return e;for(var n,r,e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n}).join(""),n,i),d=Object.keys(c);return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,f,p,h,g,m,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(m=(g="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=g.substring(0,m),h=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(h,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,h),p=g.substring(m+i.length),h=[],s&&h.push(s),h.push(f),p&&(t(g=[p]),h.push.apply(h,g)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(h)),o+=h.length-1):y.content=h)):Array.isArray(m=y.content)?t(m):t([m])}}(s),new e.Token(i,s,"language-"+i,t)}(c,d,f))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(K),(w=K).languages.typescript=w.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/}),w.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 w.languages.typescript.parameter,delete w.languages.typescript["literal-property"],x=w.languages.extend("typescript",{}),delete x["class-name"],w.languages.typescript["class-name"].inside=x,w.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:x}}}}),w.languages.ts=w.languages.typescript,S=(k=K).languages.javascript,E="(@(?:arg|argument|param|property)\\s+(?:"+(_=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",k.languages.jsdoc=k.languages.extend("javadoclike",{parameter:{pattern:RegExp(E+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),k.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(E+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:S,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return _})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+_),lookbehind:!0,inside:{string:S.string,number:S.number,boolean:S.boolean,keyword:k.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:S,alias:"language-javascript"}}}}),k.languages.javadoclike.addSupport("javascript",k.languages.jsdoc),(C=K).languages.flow=C.languages.extend("javascript",{}),C.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),C.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete C.languages.flow.parameter,C.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(C.languages.flow.keyword)||(C.languages.flow.keyword=[C.languages.flow.keyword]),C.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),K.languages.n4js=K.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),K.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),K.languages.n4jsd=K.languages.n4js,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],a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(K),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 RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return a}),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(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],a=0;a<n.length;a++){var o=n[a],l=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<r.length&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"!==o.content[o.content.length-1].content&&r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):0<r.length&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:0<r.length&&0<r[r.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:l=!0),(l||"string"==typeof o)&&0<r.length&&0===r[r.length-1].openedBraces&&(l=i(o),a<n.length-1&&("string"==typeof n[a+1]||"plain-text"===n[a+1].type)&&(l+=i(n[a+1]),n.splice(a+1,1)),0<a&&("string"==typeof n[a-1]||"plain-text"===n[a-1].type)&&(l=i(n[a-1])+l,n.splice(a-1,1),a--),n[a]=new e.Token("plain-text",l,null,l)),o.content&&"string"!=typeof o.content&&t(o.content)}}(t.tokens)})}(K),j=(T=K).util.clone(T.languages.typescript),(j=(T.languages.tsx=T.languages.extend("jsx",j),delete T.languages.tsx.parameter,delete T.languages.tsx["literal-property"],T.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+j.pattern.source+")",j.pattern.flags),j.lookbehind=!0,K.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},K.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=K.languages.swift}),(N=K).languages.kotlin=N.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete N.languages.kotlin["class-name"],O={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:N.languages.kotlin}},N.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:O},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:O},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete N.languages.kotlin.string,N.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),N.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),N.languages.kt=N.languages.kotlin,N.languages.kts=N.languages.kotlin,K.languages.c=K.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|[?:~]|[-+*/%&|^!=<>]=?/}),K.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),K.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},K.languages.c.string],char:K.languages.c.char,comment:K.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:K.languages.c}}}}),K.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 K.languages.c.boolean,K.languages.objectivec=K.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 K.languages.objectivec["class-name"],K.languages.objc=K.languages.objectivec,K.languages.reason=K.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/}),K.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 K.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(K),K.languages.go=K.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/}),K.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete K.languages.go["class-name"],A=K,P=/\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/,L=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return P.source}),A.languages.cpp=A.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return P.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:P,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/}),A.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 L})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),A.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:A.languages.cpp}}}}),A.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),A.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:A.languages.extend("cpp",{})}}),A.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},A.languages.cpp["base-clause"]),K.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:/[{}[\];(),.:]/},K.languages.python["string-interpolation"].inside.interpolation.inside.rest=K.languages.python,K.languages.py=K.languages.python,K.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"}},K.languages.webmanifest=K.languages.json;((e,t)=>{for(var n in t)M(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>X,duotoneDark:()=>J,duotoneLight:()=>ee,github:()=>et,gruvboxMaterialDark:()=>eC,gruvboxMaterialLight:()=>eT,jettwaveDark:()=>ek,jettwaveLight:()=>eS,nightOwl:()=>en,nightOwlLight:()=>er,oceanicNext:()=>eh,okaidia:()=>eg,oneDark:()=>e_,oneLight:()=>eE,palenight:()=>em,shadesOfPurple:()=>ey,synthwave84:()=>eb,ultramin:()=>ev,vsDark:()=>ew,vsLight:()=>ex});var X={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)"}}]},J={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"}}]},ee={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{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:"#896724"}}]},et={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"}}]},en={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},er={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},ea="#D8DEE9",eo="#999999",ei="#c5a5c5",el="#5a9bcf",es="#8dc891",eu="#d7deea",ec="#ff8b50",ed="#fc929e",ef="#79b6f2",ep="#FAC863",eh={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:ei}},{types:["attr-value"],style:{color:es}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:eo}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:el}},{types:["boolean"],style:{color:ec}},{types:["tag"],style:{color:ed}},{types:["string"],style:{color:es}},{types:["punctuation"],style:{color:es}},{types:["selector","char","builtin","inserted"],style:{color:ea}},{types:["function"],style:{color:ef}},{types:["operator","entity","url","variable"],style:{color:eu}},{types:["keyword"],style:{color:ei}},{types:["atrule","class-name"],style:{color:ep}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},eg={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},em={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},ey={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},eb={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ev={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},ew={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ex={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},ek={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},eS={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},e_={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{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:"hsl(220, 14%, 71%)"}}]},eE={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{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:"hsl(230, 8%, 24%)"}}]},eC={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},eT={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},ej=(e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:a}=n;return r&&!r.includes(t)?e:(n.types.forEach(t=>{let n=q(q({},e[t]),a);e[t]=n}),e)},{});return r.root=n,r.plain=G(q({},n),{backgroundColor:void 0}),r},eN=(e,t)=>{let[n,r]=(0,R.useState)(ej(t,e)),a=(0,R.useRef)(),o=(0,R.useRef)();return(0,R.useEffect)(()=>{(t!==a.current||e!==o.current)&&(a.current=t,o.current=e,r(ej(t,e)))},[e,t]),n},eO=e=>(0,R.useCallback)(t=>{var{className:n,style:r,line:a}=t;let o=G(q({},Y(t,["className","style","line"])),{className:(0,I.Z)("token-line",n)});return"object"==typeof e&&"plain"in e&&(o.style=e.plain),"object"==typeof r&&(o.style=q(q({},o.style||{}),r)),o},[e]),eA=e=>{let t=(0,R.useCallback)(({types:t,empty:n})=>{if(null!=e){if(1===t.length&&"plain"===t[0])return null!=n?{display:"inline-block"}:void 0;if(1===t.length&&null!=n)return e[t[0]];return Object.assign(null!=n?{display:"inline-block"}:{},...t.map(t=>e[t]))}},[e]);return(0,R.useCallback)(e=>{var{token:n,className:r,style:a}=e;let o=G(q({},Y(e,["token","className","style"])),{className:(0,I.Z)("token",...n.types,r),children:n.content,style:t(n)});return null!=a&&(o.style=q(q({},o.style||{}),a)),o},[t])},eP=/\r\n|\r|\n/,eL=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eR=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eI=e=>{let t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,l=[],s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e;let u=t[i],c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=eR(u,c.type),c.alias&&(u=eR(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}let d=e.split(eP),f=d.length;l.push({types:u,content:d[0]});for(let e=1;e<f;e++)eL(l),s.push(l=[]),l.push({types:u,content:d[e]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return eL(l),s},eF=({prism:e,code:t,grammar:n,language:r})=>{let a=(0,R.useRef)(e);return(0,R.useMemo)(()=>{if(null==n)return eI([t]);let e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),eI(e.tokens)},[t,n,r])},eM=({children:e,language:t,code:n,theme:r,prism:a})=>{let o=t.toLowerCase(),i=eN(o,r),l=eO(i),s=eA(i),u=a.languages[o];return e({tokens:eF({prism:a,language:o,code:n,grammar:u}),className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},eD=e=>(0,R.createElement)(eM,G(q({},e),{prism:e.prism||K,theme:e.theme||ew,code:e.code,language:e.language}))},21835:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r="Invariant failed";function a(e,t){var n;if(!e)throw Error(r)}},28395:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return R},__assign:function(){return o},__asyncDelegator:function(){return E},__asyncGenerator:function(){return _},__asyncValues:function(){return C},__await:function(){return S},__awaiter:function(){return h},__classPrivateFieldGet:function(){return A},__classPrivateFieldIn:function(){return L},__classPrivateFieldSet:function(){return P},__createBinding:function(){return m},__decorate:function(){return l},__disposeResources:function(){return F},__esDecorate:function(){return u},__exportStar:function(){return y},__extends:function(){return a},__generator:function(){return g},__importDefault:function(){return O},__importStar:function(){return N},__makeTemplateObject:function(){return T},__metadata:function(){return p},__param:function(){return s},__propKey:function(){return d},__read:function(){return v},__rest:function(){return i},__runInitializers:function(){return c},__setFunctionName:function(){return f},__spread:function(){return w},__spreadArray:function(){return k},__spreadArrays:function(){return x},__values:function(){return b},default:function(){return M}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function l(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var l=r.kind,s="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,c=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),d,f=!1,p=n.length-1;p>=0;p--){var h={};for(var g in r)h[g]="access"===g?{}:r[g];for(var g in r.access)h.access[g]=r.access[g];h.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var m=(0,n[p])("accessor"===l?{get:c.get,set:c.set}:c[s],h);if("accessor"===l){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(d=i(m.get))&&(c.get=d),(d=i(m.set))&&(c.set=d),(d=i(m.init))&&a.unshift(d)}else(d=i(m))&&("field"===l?a.unshift(d):c[s]=d)}u&&Object.defineProperty(u,r.name,c),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,l)}s((r=r.apply(e,t||[])).next())})}function g(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}var m=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(t,n)&&m(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function x(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),a=0,t=0;t<n;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)r[a]=o[i];return r}function k(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)(r||!(a in t))&&(!r&&(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||l(e,t)})},t&&(r[e]=t(r[e])))}function l(e,t){try{(function(e){e.value instanceof S?Promise.resolve(e.value.v).then(s,u):c(o[0][2],e)})(a[e](t))}catch(e){c(o[0][3],e)}}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}function E(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function C(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,a){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,a,(t=e[n](t)).done,t.value)})}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var j=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function N(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&m(t,e,n);return j(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function P(e,t,n,r,a){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){var r,a;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function F(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,function(e){return t(e),a()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}let M={__extends:a,__assign:o,__rest:i,__decorate:l,__param:s,__metadata:p,__awaiter:h,__generator:g,__createBinding:m,__exportStar:y,__values:b,__read:v,__spread:w,__spreadArrays:x,__spreadArray:k,__await:S,__asyncGenerator:_,__asyncDelegator:E,__asyncValues:C,__makeTemplateObject:T,__importStar:N,__importDefault:O,__classPrivateFieldGet:A,__classPrivateFieldSet:P,__classPrivateFieldIn:L,__addDisposableResource:R,__disposeResources:F}},62627:function(e){"use strict";e.exports={}},37138:function(e){"use strict";e.exports=JSON.parse('{"/nr-pies/pr-preview/pr-3/markdown-page-775":{"__comp":"1f391b9e","__context":{"plugin":"a7456010"},"content":"393be207"},"/nr-pies/pr-preview/pr-3/docs-2a9":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/nr-pies/pr-preview/pr-3/docs-b6e":{"__comp":"a7bd4aaa","__props":"ca7707bd"},"/nr-pies/pr-preview/pr-3/docs/tags-f3b":{"__comp":"3720c009","__props":"560bc526"},"/nr-pies/pr-preview/pr-3/docs/tags/business-971":{"__comp":"df203c0f","__props":"4825bf29"},"/nr-pies/pr-preview/pr-3/docs/tags/developer-5ed":{"__comp":"df203c0f","__props":"a6b6c0c0"},"/nr-pies/pr-preview/pr-3/docs/tags/executive-8db":{"__comp":"df203c0f","__props":"3935e01c"},"/nr-pies/pr-preview/pr-3/docs-f61":{"__comp":"a94703ab"},"/nr-pies/pr-preview/pr-3/docs/category/data-types-be5":{"__comp":"14eb3368","__props":"61e401e3"},"/nr-pies/pr-preview/pr-3/docs/category/tutorial---basics-122":{"__comp":"14eb3368","__props":"13a2fed5"},"/nr-pies/pr-preview/pr-3/docs/category/tutorial---extras-65e":{"__comp":"14eb3368","__props":"7ebe7d13"},"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro-8ff":{"__comp":"17896441","content":"21038ea1"},"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations-a6a":{"__comp":"17896441","content":"40a9f62a"},"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post-ca0":{"__comp":"17896441","content":"455d01c6"},"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document-e8c":{"__comp":"17896441","content":"54329717"},"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page-5fe":{"__comp":"17896441","content":"34829b29"},"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site-aee":{"__comp":"17896441","content":"72af4c84"},"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features-ded":{"__comp":"17896441","content":"14622022"},"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions-5da":{"__comp":"17896441","content":"9604fc81"},"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site-f58":{"__comp":"17896441","content":"fe557f77"},"/nr-pies/pr-preview/pr-3/docs/intro/getting_started-5a3":{"__comp":"17896441","content":"21cb2624"},"/nr-pies/pr-preview/pr-3/docs/intro/terminology-61b":{"__comp":"17896441","content":"b06371b7"},"/nr-pies/pr-preview/pr-3/docs/spec/data/code-f22":{"__comp":"17896441","content":"bb64f159"},"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id-4a6":{"__comp":"17896441","content":"992aa281"},"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle-3d0":{"__comp":"17896441","content":"fa6dc6d9"},"/nr-pies/pr-preview/pr-3/docs/spec/formatting-45d":{"__comp":"17896441","content":"5187c925"},"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types-047":{"__comp":"17896441","content":"6cca1acc"},"/nr-pies/pr-preview/pr-3/-391":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,["6212"],function(){return e(e.s="52465")}),e.O()}]); \ No newline at end of file diff --git a/pr-preview/pr-3/assets/js/runtime~main.25f35103.js b/pr-preview/pr-3/assets/js/runtime~main.25f35103.js new file mode 100644 index 0000000..6c5d3a5 --- /dev/null +++ b/pr-preview/pr-3/assets/js/runtime~main.25f35103.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,t,r,n,c,a,f,o,d={},u={};function i(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={id:e,loaded:!1,exports:{}};return d[e].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=d,i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var c=Object.create(null);i.r(c);var a={};e=e||[null,t({}),t([]),t(t)];for(var f=2&n&&r;"object"==typeof f&&!~e.indexOf(f);f=t(f))Object.getOwnPropertyNames(f).forEach(function(e){a[e]=function(){return r[e]}});return a.default=function(){return r},i.d(c,a),c},i.d=function(e,t){for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce(function(t,r){return i.f[r](e,t),t},[]))},i.hmd=function(e){return!(e=Object.create(e)).children&&(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},i.u=function(e){return"assets/js/"+(({1460:"6cca1acc",1858:"54329717",1983:"14eb3368",249:"fe557f77",2493:"1f391b9e",2556:"5187c925",2751:"14622022",2830:"61e401e3",287:"21cb2624",2898:"3720c009",297:"3935e01c",3349:"a6b6c0c0",3432:"5e95c892",3657:"40a9f62a",3811:"b06371b7",4420:"4825bf29",4494:"34829b29",5112:"aba21aa0",5211:"a7bd4aaa",5668:"ca7707bd",5704:"7ebe7d13",5706:"455d01c6",7048:"17896441",707:"bb64f159",7365:"a7456010",7376:"fa6dc6d9",7755:"560bc526",815:"df203c0f",8516:"13a2fed5",8652:"72af4c84",8706:"1df93b7f",8788:"9604fc81",9277:"992aa281",9597:"21038ea1",9914:"a94703ab",9969:"393be207"})[e]||e)+"."+({1173:"5f14408a",1460:"862a884f",161:"d05026b2",1773:"1a0bf1ab",1824:"d9e8ca59",1858:"c2c4f3f5",1983:"9c7921b4",1996:"9a0f09ed",2036:"b404ef9a",2061:"4824b421",2247:"60b05b5d",2260:"bcfdf19b",249:"3246354c",2493:"046a0919",2556:"6159aa09",2751:"08fc2707",2830:"e8faf5f7",287:"5d84323d",2898:"a7cce29b",297:"8c961f36",3085:"8f380f56",3349:"e7228123",3361:"71b6c106",3389:"3f02942d",3432:"ab8a9d20",3657:"026c30ec",367:"ca369069",3811:"027811e1",3917:"a37f0ca0",4013:"8822434d",4294:"327c1ce5",4420:"3627fb0a",447:"c6aeb1bf",4494:"45c7d727",4842:"6de26794",495:"8bd643d2",5112:"5546b266",5146:"0f8244c6",5155:"57bccbae",5211:"8577d8fc",5347:"d0b974c5",5516:"22baa0ea",555:"22a9c9df",5668:"77fc42a4",5696:"c0b87015",5704:"55233532",5706:"1cd1e0f1",5823:"0f393977",6059:"ef52e876",6211:"1fa42cab",6788:"2916c3d6",7048:"72a0dee3",707:"09ebecef",709:"4491edf1",7365:"aa2fcbf9",7376:"4595a616",7408:"c4a276ca",7554:"0efa1e71",7614:"6338e782",7717:"62fafe66",7755:"b9ae4da2",7960:"1b235a33",815:"f29e98af",8516:"3b50f6e1",8588:"ceccfba1",8652:"b75d945c",8706:"a81e42d3",8751:"5372316c",8788:"e2a5328c",879:"1c63c3a0",9090:"faf0ba39",9196:"fbd1abba",9220:"eca32452",9277:"5ffa00cd",9597:"94ac7e42",9870:"76e4cafc",9914:"f3460f41",9969:"df396416",9990:"85fe3b52"})[e]+".js"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},n="nr-pies:",i.l=function(e,t,c,a){if(r[e]){r[e].push(t);return}if(void 0!==c){for(var f,o,d=document.getElementsByTagName("script"),u=0;u<d.length;u++){var b=d[u];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==n+c){f=b;break}}}!f&&(o=!0,(f=document.createElement("script")).charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.setAttribute("data-webpack",n+c),f.src=e),r[e]=[t];var l=function(t,n){f.onerror=f.onload=null,clearTimeout(s);var c=r[e];if(delete r[e],f.parentNode&&f.parentNode.removeChild(f),c&&c.forEach(function(e){return e(n)}),t)return t(n)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=l.bind(null,f.onerror),f.onload=l.bind(null,f.onload),o&&document.head.appendChild(f)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},c=[],i.O=function(e,t,r,n){if(t){n=n||0;for(var a=c.length;a>0&&c[a-1][2]>n;a--)c[a]=c[a-1];c[a]=[t,r,n];return}for(var f=1/0,a=0;a<c.length;a++){for(var t=c[a][0],r=c[a][1],n=c[a][2],o=!0,d=0;d<t.length;d++)(!1&n||f>=n)&&Object.keys(i.O).every(function(e){return i.O[e](t[d])})?t.splice(d--,1):(o=!1,n<f&&(f=n));if(o){c.splice(a--,1);var u=r();void 0!==u&&(e=u)}}return e},i.p="/nr-pies/pr-preview/pr-3/",i.rv=function(){return"1.0.14"},i.gca=function(e){return e=({0xdf1d46:"2751",0x11113f9:"7048",0x33d0175:"1858",fe557f77:"249","21cb2624":"287","3935e01c":"297",bb64f159:"707",df203c0f:"815","6cca1acc":"1460","14eb3368":"1983","1f391b9e":"2493","5187c925":"2556","61e401e3":"2830","3720c009":"2898",a6b6c0c0:"3349","5e95c892":"3432","40a9f62a":"3657",b06371b7:"3811","4825bf29":"4420","34829b29":"4494",aba21aa0:"5112",a7bd4aaa:"5211",ca7707bd:"5668","7ebe7d13":"5704","455d01c6":"5706",a7456010:"7365",fa6dc6d9:"7376","560bc526":"7755","13a2fed5":"8516","72af4c84":"8652","1df93b7f":"8706","9604fc81":"8788","992aa281":"9277","21038ea1":"9597",a94703ab:"9914","393be207":"9969"})[e]||e,i.p+i.u(e)},a={2580:0,6212:0},i.f.j=function(e,t){var r=i.o(a,e)?a[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(/^(2580|6212)$/.test(e))a[e]=0;else{var n=new Promise(function(t,n){r=a[e]=[t,n]});t.push(r[2]=n);var c=i.p+i.u(e),f=Error();i.l(c,function(t){if(i.o(a,e)&&(0!==(r=a[e])&&(a[e]=void 0),r)){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",f.name="ChunkLoadError",f.type=n,f.request=c,r[1](f)}},"chunk-"+e,e)}}},i.O.j=function(e){return 0===a[e]},f=function(e,t){var r=t[0],n=t[1],c=t[2],f,o,d=0;if(r.some(function(e){return 0!==a[e]})){for(f in n)i.o(n,f)&&(i.m[f]=n[f]);if(c)var u=c(i)}for(e&&e(t);d<r.length;d++)o=r[d],i.o(a,o)&&a[o]&&a[o][0](),a[o]=0;return i.O(u)},(o=self.webpackChunknr_pies=self.webpackChunknr_pies||[]).forEach(f.bind(null,0)),o.push=f.bind(null,o.push.bind(o))})(); \ No newline at end of file diff --git a/pr-preview/pr-3/docs/category/data-types.html b/pr-preview/pr-3/docs/category/data-types.html new file mode 100644 index 0000000..c10b0fd --- /dev/null +++ b/pr-preview/pr-3/docs/category/data-types.html @@ -0,0 +1 @@ +<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page" data-has-hydrated=false><meta charset=UTF-8><meta name=generator content="Docusaurus v3.6.1"><title data-rh=true>Data Types | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/pr-preview/pr-3/docs/category/tutorial---basics.html b/pr-preview/pr-3/docs/category/tutorial---basics.html new file mode 100644 index 0000000..5584fa2 --- /dev/null +++ b/pr-preview/pr-3/docs/category/tutorial---basics.html @@ -0,0 +1 @@ +Tutorial - Basics | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/pr-preview/pr-3/docs/category/tutorial---extras.html b/pr-preview/pr-3/docs/category/tutorial---extras.html new file mode 100644 index 0000000..28dfcc8 --- /dev/null +++ b/pr-preview/pr-3/docs/category/tutorial---extras.html @@ -0,0 +1 @@ +Tutorial - Extras | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/pr-preview/pr-3/docs/docusaurus/intro.html b/pr-preview/pr-3/docs/docusaurus/intro.html new file mode 100644 index 0000000..2749c44 --- /dev/null +++ b/pr-preview/pr-3/docs/docusaurus/intro.html @@ -0,0 +1,33 @@ +Tutorial Intro | Permitting Interoperability Exchange Specification

    Tutorial Intro

    +

    Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get +started, please review the following:

    + +

    Everything else below this line includes the original tutorial documentation for setting up and using Docusaurus.

    +
    +

    Let's discover Docusaurus in less than 5 minutes.

    +

    Getting Started

    +

    Get started by creating a new site.

    +

    Or try Docusaurus immediately with docusaurus.new.

    +

    What you'll need

    +
      +
    • Node.js version 18.0 or above: +
        +
      • When installing Node.js, you are recommended to check all checkboxes related to dependencies.
      • +
      +
    • +
    +

    Generate a new site

    +

    Generate a new Docusaurus site using the classic template.

    +

    The classic template will automatically be added to your project after you run the command:

    +
    npm init docusaurus@latest my-website classic
    +

    You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

    +

    The command also installs all necessary dependencies you need to run Docusaurus.

    +

    Start your site

    +

    Run the development server:

    +
    cd my-website
    npm run start
    +

    The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

    +

    The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.

    +

    Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations.html b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations.html new file mode 100644 index 0000000..00d94c4 --- /dev/null +++ b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations.html @@ -0,0 +1,15 @@ +Congratulations! | Permitting Interoperability Exchange Specification

    Congratulations!

    +

    You have just learned the basics of Docusaurus and made some changes to the initial template.

    +

    Docusaurus has much more to offer!

    +

    Have 5 more minutes? Take a look at versioning and i18n.

    +

    Anything unclear or buggy in this tutorial? Please report it!

    +

    What's next?

    +
    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post.html b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post.html new file mode 100644 index 0000000..a8faf66 --- /dev/null +++ b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post.html @@ -0,0 +1,6 @@ +Create a Blog Post | Permitting Interoperability Exchange Specification

    Create a Blog Post

    +

    Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...

    +

    Create your first Post

    +

    Create a file at blog/2021-02-28-greetings.md:

    +
    blog/2021-02-28-greetings.md
    ---
    slug: greetings
    title: Greetings!
    authors:
    - name: Joel Marcey
    title: Co-creator of Docusaurus 1
    url: https://github.com/JoelMarcey
    image_url: https://github.com/JoelMarcey.png
    - name: Sébastien Lorber
    title: Docusaurus maintainer
    url: https://sebastienlorber.com
    image_url: https://github.com/slorber.png
    tags: [greetings]
    ---

    Congratulations, you have made your first post!

    Feel free to play around and edit this post as much as you like.
    +

    A new blog post is now available at http://localhost:3000/blog/greetings.

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document.html b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document.html new file mode 100644 index 0000000..069af29 --- /dev/null +++ b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document.html @@ -0,0 +1,17 @@ +Create a Document | Permitting Interoperability Exchange Specification

    Create a Document

    +

    Documents are groups of pages connected through:

    +
      +
    • a sidebar
    • +
    • previous/next navigation
    • +
    • versioning
    • +
    +

    Create your first Doc

    +

    Create a Markdown file at docs/hello.md:

    +
    docs/hello.md
    # Hello

    This is my **first Docusaurus document**!
    +

    A new document is now available at http://localhost:3000/docs/hello.

    +

    Configure the Sidebar

    +

    Docusaurus automatically creates a sidebar from the docs folder.

    +

    Add metadata to customize the sidebar label and position:

    +
    docs/hello.md
    ---
    sidebar_label: 'Hi!'
    sidebar_position: 3
    ---

    # Hello

    This is my **first Docusaurus document**!
    +

    It is also possible to create your sidebar explicitly in sidebars.js:

    +
    sidebars.js
    export default {
    tutorialSidebar: [
    'intro',
    'hello',
    {
    type: 'category',
    label: 'Tutorial',
    items: ['tutorial_basics/create-a-document']
    }
    ]
    };
    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page.html b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page.html new file mode 100644 index 0000000..8bd5744 --- /dev/null +++ b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page.html @@ -0,0 +1,22 @@ +Create a Page | Permitting Interoperability Exchange Specification

    Create a Page

    +

    Add Markdown or React files to src/pages to create a standalone page:

    +
      +
    • src/pages/index.jslocalhost:3000/
    • +
    • src/pages/foo.mdlocalhost:3000/foo
    • +
    • src/pages/foo/bar.jslocalhost:3000/foo/bar
    • +
    +
    +
      +
    • Please use snake_case when naming files with multiple subjects in order to be consistent with the rest of the +repository.
    • +
    • When you create a new .md or .mdx file, please make sure to add in the appropriate +Front Matter so that your content is properly categorized.
    • +
    +

    Create your first React Page

    +

    Create a file at src/pages/my-react-page.js:

    +
    src/pages/my-react-page.js
    import React from 'react';
    import Layout from '@theme/Layout';

    export default function MyReactPage() {
    return (
    <Layout>
    <h1>My React page</h1>
    <p>This is a React page</p>
    </Layout>
    );
    }
    +

    A new page is now available at http://localhost:3000/my-react-page.

    +

    Create your first Markdown Page

    +

    Create a file at src/pages/my-markdown-page.md:

    +
    src/pages/my-markdown-page.md
    # My Markdown page

    This is a Markdown page
    +

    A new page is now available at http://localhost:3000/my-markdown-page.

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site.html b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site.html new file mode 100644 index 0000000..f5ab487 --- /dev/null +++ b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site.html @@ -0,0 +1,12 @@ +Deploy your site | Permitting Interoperability Exchange Specification

    Deploy your site

    +

    Docusaurus is a static-site-generator (also called Jamstack).

    +

    It builds your site as simple static HTML, JavaScript and CSS files.

    +

    Build your site

    +

    Build your site for production:

    +
    npm run build
    +

    The static files are generated in the build folder.

    +

    Deploy your site

    +

    Test your production build locally:

    +
    npm run serve
    +

    The build folder is now served at http://localhost:3000/.

    +

    You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features.html b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features.html new file mode 100644 index 0000000..efb870d --- /dev/null +++ b/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features.html @@ -0,0 +1,48 @@ +Markdown Features | Permitting Interoperability Exchange Specification

    Markdown Features

    +

    Docusaurus supports Markdown and a few additional +features.

    +

    Front Matter

    +

    Markdown documents have metadata at the top called Front Matter:

    +
    my-doc.md
    ---
    id: my_doc_id
    title: My document title
    description: My document description
    slug: /my-custom-url
    tags:
    - developer
    ---

    ## Markdown heading

    Markdown text with [links](./hello.md)
    +

    We recommend that all markdown pages should have at minimum a title, description and tags array defined. An id +may be specified, but can be derived off of the filename when omitted.

    + +

    Regular Markdown links are supported, using url paths or relative file paths.

    +
    Let's see how to [Create a page](/create_a_page).
    +
    Let's see how to [Create a page](./create_a_page.md).
    +

    Result: Let's see how to Create a page.

    +

    Images

    +

    Regular Markdown images are supported.

    +

    You can use absolute paths to reference images in the static directory (static/img/docusaurus.png):

    +
    ![Docusaurus logo](/img/docusaurus.png)
    +

    Docusaurus logo

    +

    You can reference images relative to the current file as well. This is particularly useful to colocate images close to +the Markdown files using them:

    +
    ![Docusaurus logo](./img/docusaurus.png)
    +

    Code Blocks

    +

    Markdown code blocks are supported with Syntax highlighting.

    +
    ```jsx title="src/components/HelloDocusaurus.js"
    function HelloDocusaurus() {
    return <h1>Hello, Docusaurus!</h1>;
    }
    ```
    +
    src/components/HelloDocusaurus.js
    function HelloDocusaurus() {
    return <h1>Hello, Docusaurus!</h1>;
    }
    +

    Admonitions

    +

    Docusaurus has a special syntax to create admonitions and callouts:

    +
    :::tip[My tip]

    Use this awesome feature option

    :::

    :::danger[Take care]

    This action is dangerous

    :::
    +
    My tip

    Use this awesome feature option

    +
    Take care

    This action is dangerous

    +

    Mermaid Graphs

    +

    Our Docusaurus instance supports diagramming and charting through Mermaid. The following +are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, +visit their documentation for more details under the Diagram Syntax section on the +sidebar.

    +

    State Machine

    +
    ```mermaid
    graph TD
    A-->B
    A-->C
    B-->D
    C-->D
    ```
    + +

    Flowchart

    +
    ```mermaid
    graph LR
    A[PIES] -->|Get spec| B(Stakeholder approval)
    B --> C{Purpose}
    B --> G[/Further Analysis/]
    C ==>|One| D[Document Exchange]
    C -->|Two| E[Event Alerts]
    C -->|Three| F[Aggregation]
    subgraph identification
    A
    B
    end
    subgraph execution
    C
    D
    E
    F
    G
    end
    ```
    + +

    MDX and React Components

    +

    MDX can make your documentation more interactive and allows using any React components +inside Markdown:

    +
    export const Highlight = ({children, color}) => (
    <span
    style={{
    backgroundColor: color,
    borderRadius: '20px',
    color: '#fff',
    padding: '10px',
    cursor: 'pointer',
    }}
    onClick={() => {
    alert(`You clicked the color ${color} with label ${children}`)
    }}>
    {children}
    </span>
    );

    This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !

    This is <Highlight color="#1877F2">Facebook blue</Highlight> !
    + +

    This is Docusaurus green !

    +

    This is Facebook blue !

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions.html b/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions.html new file mode 100644 index 0000000..bf4dc5e --- /dev/null +++ b/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions.html @@ -0,0 +1,23 @@ +Manage Docs Versions | Permitting Interoperability Exchange Specification

    Manage Docs Versions

    +

    Docusaurus can manage multiple versions of your docs.

    +

    Create a docs version

    +

    Release a version 1.0 of your project:

    +
    npm run docusaurus docs:version 1.0
    +

    The docs folder is copied into versioned_docs/version-1.0 and versions.json is created.

    +

    Your docs now have 2 versions:

    +
      +
    • 1.0 at http://localhost:3000/docs/ for the version 1.0 docs
    • +
    • current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs
    • +
    +

    Add a Version Dropdown

    +

    To navigate seamlessly across versions, add a version dropdown.

    +

    Modify the docusaurus.config.js file:

    +
    docusaurus.config.js
    export default {
    themeConfig: {
    navbar: {
    items: [
    {
    type: "docsVersionDropdown",
    },
    ],
    },
    },
    };
    +

    The docs version dropdown appears in your navbar:

    +

    Docs Version Dropdown

    +

    Update an existing version

    +

    It is possible to edit versioned docs in their respective folder:

    +
      +
    • versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello
    • +
    • docs/hello.md updates http://localhost:3000/docs/next/hello
    • +
    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site.html b/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site.html new file mode 100644 index 0000000..54282d6 --- /dev/null +++ b/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site.html @@ -0,0 +1,25 @@ +Translate your site | Permitting Interoperability Exchange Specification

    Translate your site

    +

    Let's translate docs/intro.md to French.

    +

    Configure i18n

    +

    Modify docusaurus.config.js to add support for the fr locale:

    +
    docusaurus.config.js
    export default {
    i18n: {
    defaultLocale: 'en',
    locales: ['en', 'fr'],
    },
    };
    +

    Translate a doc

    +

    Copy the docs/intro.md file to the i18n/fr folder:

    +
    mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/

    cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md
    +

    Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.

    +

    Start your localized site

    +

    Start your site on the French locale:

    +
    npm run start -- --locale fr
    +

    Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated.

    +
    caution

    In development, you can only use one locale at a time.

    +

    Add a Locale Dropdown

    +

    To navigate seamlessly across languages, add a locale dropdown.

    +

    Modify the docusaurus.config.js file:

    +
    docusaurus.config.js
    export default {
    themeConfig: {
    navbar: {
    items: [
    {
    type: 'localeDropdown',
    },
    ],
    },
    },
    };
    +

    The locale dropdown now appears in your navbar:

    +

    Locale Dropdown

    +

    Build your localized site

    +

    Build your site for a specific locale:

    +
    npm run build -- --locale fr
    +

    Or build your site to include all the locales at once:

    +
    npm run build
    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/intro/getting_started.html b/pr-preview/pr-3/docs/intro/getting_started.html new file mode 100644 index 0000000..8a8e94e --- /dev/null +++ b/pr-preview/pr-3/docs/intro/getting_started.html @@ -0,0 +1,72 @@ +Getting Started | Permitting Interoperability Exchange Specification

    Getting Started

    Welcome! This site repository contains common schemas related to permitting in the Natural Resources Sector for the +Province of British Columbia. The intent of these are to standardize the way permitting in the Natural Resource Sector +is described as data to enable quality and interoperability.

    +

    Hosting this specification in the open will encourage collaboration, adoption and enable versioning.

    +

    These will be reviewed and updated with relevant partners, data custodians, stewards and sector permitting teams.

    +

    Purpose

    +

    Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as +many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting +reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems +can't integrate without a common language.

    +

    This standard specifies the foundational set of core descriptive data types and elements required to enable the +compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the +purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for +policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on +permitting.

    +

    Objectives

    +

    The main objective of PIES is to deliver a published specification to enable better data quality and system +interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or +usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes +across the sector.

    +
      +
    • Make it easier to connect and work with the information in different permitting systems. +
        +
      • Reduce the effort and cost of systems integrations and automation.
      • +
      • Unlock the ability to provide consistent progress tracking to proponents.
      • +
      +
    • +
    • Create technical guidelines that help various systems communicate smoothly and consistently.
    • +
    • Support different ways for systems to communicate with each other.
    • +
    • Unlock potential for evidence-based policy and transformative potential of AI.
    • +
    +

    Getting Everyone on the Same Page

    +
      +
    • Set up a working group for people interested to contribute and adopt PIES. See MS Teams.
    • +
    • Create clear rules for data governance.
    • +
    • Develop a common language so everyone understands the same terms.
    • +
    • Gather feedback to ensure data is represented accurately and clearly.
    • +
    +

    Documentation

    +
      +
    • Share best practices for documenting government data standards.
    • +
    • Identify and list common permitting concepts and data types.
    • +
    • Create a plan for implementing solutions using transformations and microservices.
    • +
    +

    And of course, PIES are delicious! 😄

    +

    Goals

    +
      +
    • Enable a cross sector view +
        +
      • Through appropriate data access
      • +
      • Creates a single point of validated reporting
      • +
      +
    • +
    • Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement +
        +
      • Data quality
      • +
      • Data and information consistency
      • +
      • Identify processing times
      • +
      • Data harmonization cross sector level reporting
      • +
      • Activity bundling and linking
      • +
      • Coordinated First Nations Consultation
      • +
      +
    • +
    +

    Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to +achieve interoperability (the ability for the systems to understand the key elements of information they need to share +and talk to each other in a common language).

    +

    An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will +focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems +into the data standards.

    +

    Schemas

    +

    TBD

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/intro/terminology.html b/pr-preview/pr-3/docs/intro/terminology.html new file mode 100644 index 0000000..1d1d679 --- /dev/null +++ b/pr-preview/pr-3/docs/intro/terminology.html @@ -0,0 +1,26 @@ +Terminology | Permitting Interoperability Exchange Specification

    Terminology

    This page provides an overview and guide to the PIES resources, operations and concepts used for representing and +communicating coded, structured data within this specification. Collectively, these concepts are used to provide a +common definition and framework for traversing the coded concepts within PIES.

    +

    Acronyms

    +
    TermDefinition
    LOBLine of Business
    +

    Concepts

    +

    The following terms outline the main concepts used within this specification and aim to provide a common lexicon for +understanding and terminology usage.

    +

    Actors

    +

    This section discusses the various roles that a person, group or an organization may act as within the context of PIES.

    +
    TermDefinition
    ApplicantA person, group or organization seeking an authorization to perform a set of activities.
    Decision MakerA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions.
    Interested PartyA person, or group which may be impacted by an authorization decision.
    Local GovernmentA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction.
    NavigatorAn established role which focuses on delivering dedicated support to applicants on application submissions.
    ProponentA synonym for an applicant.
    Referral AgencyA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application.
    Subject Matter ExpertA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy.
    +

    Definitions

    +

    This section outlines the definitions and common vocabulary used for representing specific concepts within PIES.

    +
    TermDefinition???
    ActivityA single, specific defined intent of action an area of intent. An activity may require one or more authorizations, e.g., a housing development project.
    Activity BundlingThe act of identifying the set of permits required for a certain activity.This should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship
    ApplicationA submitted form(s) with the intent to obtain or amend an authorization.This might be getting muddled with the concept of a project.
    Area of IntentA set of one or more parcels which define the location(s) an activity is to be performed.
    AuthorizationThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.We might need to expand this definition over time as this is the formal umbrella term for many things.
    CaseloadWork happening with the LOB to facilitate, capture and maintain a permit.
    DispositionThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.First attempt at defining - needs review
    ParcelA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.Rephrased from LTSA page
    PermitAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization.
    ProjectA set of applications required for a permitIs this a fancy synonym for an activity bundle?
    SubmissionThe completed output of a single form as answered by an applicant.Add a note like "Submissions require an adjective declaring their application context"?
    WorkloadA quantifiable measurement of the number of client-driven applications in the queue.
    +

    The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they +interact with specific parts of the process.

    + +

    Process Tracking

    +

    This section outlines the definitions and common vocabulary used for representing specific concepts within a process.

    +
    TermDefinition???
    LifecycleRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.Highest level concept; answers the "why"
    PhaseA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.Defines an ordering of related stages.
    StageA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.Provides an ordering of higher level states within a phase of work
    StateA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.Larger general "where is this at" concept
    StatusA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.Detailed "what is happening now" concept
    +

    The following diagram outlines a high level categorization map between all of the process terms and how they relate to +each other.

    + +

    Structure

    +

    The following terms describe the structural definitions of the specification ordered from specific to general.

    +
    TermDefinition
    Data TypeA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date.
    IdentifiersIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations.
    VocabularyA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher."
    SchemaA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema.
    FormatThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML.
    APIAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web.
    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/spec/data/code.html b/pr-preview/pr-3/docs/spec/data/code.html new file mode 100644 index 0000000..83a4704 --- /dev/null +++ b/pr-preview/pr-3/docs/spec/data/code.html @@ -0,0 +1,13 @@ +Code | Permitting Interoperability Exchange Specification

    Code

    Indicates that the value is taken from a set of controlled strings defined elsewhere. Technically, a code is restricted +to a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace +other than single spaces in the contents.

    +

    This data type is intended to represent a finite set of controlled strings which represents a specific, discrete +concept, element or idea.

    +

    Structure

    +

    Type: string

    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/spec/data/parcel_id.html b/pr-preview/pr-3/docs/spec/data/parcel_id.html new file mode 100644 index 0000000..038b748 --- /dev/null +++ b/pr-preview/pr-3/docs/spec/data/parcel_id.html @@ -0,0 +1,30 @@ +Parcel Identifier | Permitting Interoperability Exchange Specification

    Parcel Identifier

    An identifier for a specific area with clear boundaries.

    +

    There a multiple ways to identify a parcel. Most common are the Parcel ID (PID) or Parcel Identification Number (PIN).

    +

    Scope

    +

    Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the +land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being +entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.

    +

    The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.

    +

    Structure

    +
      +
    • A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.
    • +
    • A Parcel Identifier may contain a legal_description and/or a parcel_name.
    • +
    +
    NameCardinalityTypeDescription & Constraints
    legal_description0..1stringThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.
    parcel_name0..1stringThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK.
    pid0..*integerParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.
    pin0..1integerThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.
    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    Parcel ID (PID)

    +

    Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During +the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes +padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes:

    +
      +
    • parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.
    • +
    • parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes.
    • +
    +

    Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type.

    +

    References

    +
    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/spec/data/project_bundle.html b/pr-preview/pr-3/docs/spec/data/project_bundle.html new file mode 100644 index 0000000..5b8ab88 --- /dev/null +++ b/pr-preview/pr-3/docs/spec/data/project_bundle.html @@ -0,0 +1,12 @@ +Project Bundle | Permitting Interoperability Exchange Specification

    Project Bundle

    A set of one or more permits related to an activity.

    +

    A project is defined by an activity with one or more permits. Grouping of a primary authorization with secondary or associated authorizations that are triggered or required by the primary authorization. For example: major mine permit (primary) and associated auxiliary (secondary) permits such as License to Cut, Water Use, and or Road Use.

    +

    Scope

    +

    This data type is intended to represent a grouping of related permits that are related to a specific activity.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    project_id1..1uuidA unique key to track all permits related to a project or activity across all permitting systems.
    project_name1..1stringShort name of the project.
    project_description0..1stringFull description of the project. This may contain information to better understand a project.
    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/spec/formatting.html b/pr-preview/pr-3/docs/spec/formatting.html new file mode 100644 index 0000000..f1f414f --- /dev/null +++ b/pr-preview/pr-3/docs/spec/formatting.html @@ -0,0 +1,31 @@ +Formatting | Permitting Interoperability Exchange Specification

    Formatting

    Every data standard must have a core set of fundamental data types that content will be transmitted in. Since the +Permitting Interoperability Exchange Specification is built on top of the JSON Schema +standard, it will leverage the conventions specified in that standard, including +RFC 8259 which defines JSON. The PIES specification will be compliant +to the draft 07 specification of the JSON Schema standard. While there exists more recent draft versions, notably the +draft 2020-12 standard, features that were introduced after draft 07 will not be defined and used at this time in +order to maximize compatibility with implementor systems.

    +

    JSON Schema Primer

    +

    A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way +to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for +describing expected structures, describing conceptual relationships between related topics and domains

    +

    A JSON Schema will typically contain the following attributes:

    +
      +
    • $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.
    • +
    • $id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.
    • +
    • $comment - A free text field for conveying out of band information about the schema. Comments are useful for +specification readers and editors to understand further nuances for certain properties and structures, but should not +be relied upon for implementation as they may be skipped over or stripped when parsed by machines.
    • +
    • title - The intent of the schema. This should be brief and concise.
    • +
    • description - A brief description about the schema. This should provide a quick overview for the context of usage.
    • +
    • properties - A set of attributes that are expected to show up in this document type.
    • +
    • required - An array defining the set of properties that must be present for the document to be considered valid. +Anything defined that is not in this array is implied to be optional.
    • +
    • type - The type primitive constraint for the property.
    • +
    +

    References

    +
    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/spec/primitive_types.html b/pr-preview/pr-3/docs/spec/primitive_types.html new file mode 100644 index 0000000..ca17ce4 --- /dev/null +++ b/pr-preview/pr-3/docs/spec/primitive_types.html @@ -0,0 +1,143 @@ +Primitive Types | Permitting Interoperability Exchange Specification

    Primitive Types

    The JSON Schema specifies fundamental +data types +that can be used and defined within a schema.

    + +

    These types are consistent with what can be expected within the standardized JavaScript Object Notation (JSON) format +(RFC 8259). Most implementation languages support these constructs, but +may represent them with different names. We recommend referring to the +JSON schema data types documentation as a primary +source for standards representation guidance, followed by the government standards guidance and +ensuring that the content represent meets both.

    +

    String

    +

    Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as +specified in RFC 3629, which is an extension of the ISO 10646-1 +standard.

    +

    Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expression +pattern. In addition, there are common +built-in format types that a +string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation +for more detail on the available built-in format types.

    +

    Date and Time

    +

    Date and/or time formats shall be represented in +RFC 3339, section 5.6 format, also commonly known as +ISO 8601. Unless otherwise specified, date-time shall be +internally stored and represented in a format compatible with unix/epoch +time.

    +

    If the time is specified, such as when either the time or date-time formats are used, the time representations +shall be encoded in UTC time. Reference the +JSON Schema documentation for more +specific examples.

    +
    warning

    Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard.

    +

    Email

    +

    Email addresses with format email shall be represented in +RFC 5321, section 4.1.2 format. Emails may also be +conveyed in internationalized format idn-email which will be compliant to +RFC 6531. Reference the +JSON Schema documentation for more +details.

    +

    Hostname

    +

    Hostnames with format hostname shall be represented in +RFC 1123, section 2.1 format. Hostnames may also be conveyed +in internationalized format idn-hostname which will be compliant to +RFC 5890, section 2.3.2.3. Reference the +JSON Schema documentation for more +details.

    +

    IP Address

    +

    IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply with +RFC 2673, section 3.2. If IPv6 is used, it shall comply +with RFC 2373, section 2.2. Reference the +JSON Schema documentation for more +details.

    +

    Resource Identifier

    +

    Universal resource identifiers will use format uri and comply with +RFC 3986. There are other less commonly used formats described in the +JSON Schema documentation.

    +
    warning

    Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. +Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most +cases, uuid v4 will be used. When a uuid is used, it shall comply with +RFC 4122. The regular expression to be used when specifying uuids will +be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize +compatibility.

    info

    While there is RFC 9562 which extends RFC 4122 by adding in uuid +versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when +these newer uuid versions are used.

    +

    URI Template

    +

    URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters +that must be substituted in before the URI may be resolved. This should comply with +RFC 6570. Check the +JSON Schema documentation for +more details.

    +

    Regular Expression

    +

    Regular expressions with format regex should comply with the +ECMA 262 dialect. Check the +JSON Schema documentation for +more details.

    +

    Numeric

    +

    Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to +differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an +integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a number +type in lieu of the integer type for most scenarios that do not require integer level precision.

    +

    Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum, +exclusiveMinimum and exclusiveMaximum. Reference the +JSON Schema documentation for more specific +examples.

    +

    Object

    +

    Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a +key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and +structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required +and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition.

    +

    More specific details on what can be done can be found in the +JSON Schema documentation.

    +

    Array

    +

    Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, +array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to +provide a looser expectation of what kinds of elements are expected.

    +

    Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used +to describe the boundaries of the array. Reference the +JSON Schema documentation for more specific examples.

    +

    Boolean

    +

    Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other +values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first +prior to encoding. Reference the +JSON Schema documentation for more details.

    +

    Null

    +

    Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate +to the absence of a value, or undefined. Reference the +JSON Schema documentation for more details.

    +

    References

    +

    Government Standards

    + +

    Technical Standards

    + +

    Errata

    +
    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/tags.html b/pr-preview/pr-3/docs/tags.html new file mode 100644 index 0000000..61f7939 --- /dev/null +++ b/pr-preview/pr-3/docs/tags.html @@ -0,0 +1 @@ +Tags | Permitting Interoperability Exchange Specification
    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/tags/business.html b/pr-preview/pr-3/docs/tags/business.html new file mode 100644 index 0000000..75702e6 --- /dev/null +++ b/pr-preview/pr-3/docs/tags/business.html @@ -0,0 +1 @@ +2 docs tagged with "Business" | Permitting Interoperability Exchange Specification

    2 docs tagged with "Business"

    Content related to business cases and rationale

    View all tags

    Terminology

    The definitions of specific technical terms and concepts used in PIES

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/tags/developer.html b/pr-preview/pr-3/docs/tags/developer.html new file mode 100644 index 0000000..b01fb09 --- /dev/null +++ b/pr-preview/pr-3/docs/tags/developer.html @@ -0,0 +1 @@ +6 docs tagged with "Developer" | Permitting Interoperability Exchange Specification

    6 docs tagged with "Developer"

    Content related to technical structure and implementation

    View all tags

    Formatting

    The syntax, encoding and file format used by PIES

    Terminology

    The definitions of specific technical terms and concepts used in PIES

    \ No newline at end of file diff --git a/pr-preview/pr-3/docs/tags/executive.html b/pr-preview/pr-3/docs/tags/executive.html new file mode 100644 index 0000000..9b5e4b7 --- /dev/null +++ b/pr-preview/pr-3/docs/tags/executive.html @@ -0,0 +1 @@ +One doc tagged with "Executive" | Permitting Interoperability Exchange Specification

    One doc tagged with "Executive"

    Content related to policies and strategic alignment

    View all tags
    \ No newline at end of file diff --git a/pr-preview/pr-3/editor.worker.js b/pr-preview/pr-3/editor.worker.js new file mode 100644 index 0000000..aaa3918 --- /dev/null +++ b/pr-preview/pr-3/editor.worker.js @@ -0,0 +1 @@ +(()=>{"use strict";let e,t,i,n,r,s,o;var a,l,u,h,d,c,g,m,f,p,b,_,v,y,C,L,w,N,E,S,R,A,x,M,k,O,T,I,P,D,K,F,q,V,B,U,W,H,z,$,j,G,Q,Y,X,J,Z,ee,et,ei,en,er,es,eo,ea,el,eu,eh,ed,ec,eg,em,ef,ep,eb,e_,ev,ey,eC,eL,ew,eN,eE,eS,eR,eA,ex,eM,ek,eO,eT,eI,eP,eD,eK,eF,eq,eV,eB,eU,eW,eH,ez,e$,ej,eG,eQ,eY,eX,eJ,eZ,e1,e0,e2,e4,e5,e7,e9,e6,e8,e3,te,tt,ti,tn,tr,ts,to,ta,tl={};tl.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();let tu=new class e{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(tm.isErrorNoTelemetry(e))throw new tm(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function th(e){!function(e){return e instanceof tg||e instanceof Error&&e.name===tc&&e.message===tc}(e)&&tu.onUnexpectedError(e)}function td(e){if(e instanceof Error){let{name:t,message:i}=e;return{$isError:!0,name:t,message:i,stack:e.stacktrace||e.stack,noTelemetry:tm.isErrorNoTelemetry(e)}}return e}let tc="Canceled";class tg extends Error{constructor(){super(tc),this.name=this.message}}class tm extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof tm)return e;let t=new tm;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class tf extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,tf.prototype)}}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let i=Object.freeze([]);function*n(e){yield e}e.empty=function(){return i},e.single=n;e.wrap=function(e){return t(e)?e:n(e)};e.from=function(e){return e||i};e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]};e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done};e.first=function(e){return e[Symbol.iterator]().next().value};e.some=function(e,t){for(let i of e)if(t(i))return!0;return!1};e.find=function(e,t){for(let i of e)if(t(i))return i};e.filter=function*(e,t){for(let i of e)t(i)&&(yield i)};e.map=function*(e,t){let i=0;for(let n of e)yield t(n,i++)};e.concat=function*(...e){for(let t of e)for(let e of t)yield e};e.reduce=function(e,t,i){let n=i;for(let i of e)n=t(n,i);return n};e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);tr}]}}(eg||(eg={}));let tp=null;function tb(e){return null==tp||tp.trackDisposable(e),e}function t_(e){null==tp||tp.markAsDisposed(e)}function tv(e,t){null==tp||tp.setParent(e,t)}function ty(e){if(eg.is(e)){let t=[];for(let i of e)if(i)try{i.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function tC(e){let t=tb({dispose:function(e){let t;let i=this,n=!1;return function(){return n?t:(n=!0,t=e.apply(i,arguments),t)}}(()=>{t_(t),e()})});return t}class tL{constructor(){this._toDispose=new Set,this._isDisposed=!1,tb(this)}dispose(){if(!this._isDisposed)t_(this),this._isDisposed=!0,this.clear()}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{ty(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return tv(e,this),this._isDisposed?!tL.DISABLE_DISPOSED_WARNING&&console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){if(!!e)this._toDispose.has(e)&&(this._toDispose.delete(e),tv(e,null))}}tL.DISABLE_DISPOSED_WARNING=!1;class tw{constructor(){this._store=new tL,tb(this),tv(this._store,this)}dispose(){t_(this),this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}tw.None=Object.freeze({dispose(){}}),Symbol.iterator;class tN{constructor(e){this.element=e,this.next=tN.Undefined,this.prev=tN.Undefined}}tN.Undefined=new tN(void 0);class tE{constructor(){this._first=tN.Undefined,this._last=tN.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===tN.Undefined}clear(){let e=this._first;for(;e!==tN.Undefined;){let t=e.next;e.prev=tN.Undefined,e.next=tN.Undefined,e=t}this._first=tN.Undefined,this._last=tN.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let i=new tN(e);if(this._first===tN.Undefined)this._first=i,this._last=i;else if(t){let e=this._last;this._last=i,i.prev=e,e.next=i}else{let e=this._first;this._first=i,i.next=e,e.prev=i}this._size+=1;let n=!1;return()=>{!n&&(n=!0,this._remove(i))}}shift(){if(this._first!==tN.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==tN.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==tN.Undefined&&e.next!==tN.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===tN.Undefined&&e.next===tN.Undefined?(this._first=tN.Undefined,this._last=tN.Undefined):e.next===tN.Undefined?(this._last=this._last.prev,this._last.next=tN.Undefined):e.prev===tN.Undefined&&(this._first=this._first.next,this._first.prev=tN.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==tN.Undefined;)yield e.element,e=e.next}}let tS=globalThis.performance&&"function"==typeof globalThis.performance.now;class tR{static create(e){return new tR(e)}constructor(e){this._now=tS&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}!function(e){function t(e){}e.None=()=>tw.None;function i(e){return(t,i=null,n)=>{let r,s=!1;return r=e(e=>s?void 0:(r?r.dispose():s=!0,t.call(i,e)),null,n),s&&r.dispose(),r}}function n(e,t,i){return s((i,n=null,r)=>e(e=>i.call(n,t(e)),null,r),i)}e.defer=function(e,t){return o(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=i,e.map=n;function r(e,t,i){return s((i,n=null,r)=>e(e=>t(e)&&i.call(n,e),null,r),i)}e.forEach=function(e,t,i){return s((i,n=null,r)=>e(e=>{t(e),i.call(n,e)},null,r),i)},e.filter=r;e.signal=function(e){return e};e.any=function(...e){return(t,i=null,n)=>(function(e,t){return t instanceof Array?t.push(e):t&&t.add(e),e})(function(...e){let t=tC(()=>ty(e));return!function(e,t){if(!!tp)for(let i of e)tp.setParent(i,t)}(e,t),t}(...e.map(e=>e(e=>t.call(i,e)))),n)};function s(e,i){let n;let r={onWillAddFirstListener(){n=e(s.fire,s)},onDidRemoveLastListener(){null==n||n.dispose()}};!i&&t(r);let s=new tT(r);return null==i||i.add(s),s.event}e.reduce=function(e,t,i,r){let s=i;return n(e,e=>s=t(s,e),r)};function o(e,i,n=100,r=!1,s=!1,a,l){let u,h,d,c;let g=0,m={leakWarningThreshold:a,onWillAddFirstListener(){u=e(e=>{g++,d=i(d,e),r&&!c&&(f.fire(d),d=void 0),h=()=>{let e=d;d=void 0,c=void 0,(!r||g>1)&&f.fire(e),g=0},"number"==typeof n?(clearTimeout(c),c=setTimeout(h,n)):void 0===c&&(c=0,queueMicrotask(h))})},onWillRemoveListener(){s&&g>0&&(null==h||h())},onDidRemoveLastListener(){h=void 0,u.dispose()}};!l&&t(m);let f=new tT(m);return null==l||l.add(f),f.event}e.debounce=o;e.accumulate=function(t,i=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],i,void 0,!0,void 0,n)};e.latch=function(e,t=(e,t)=>e===t,i){let n,s=!0;return r(e,e=>{let i=s||!t(e,n);return s=!1,n=e,i},i)};e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]};e.buffer=function(e,t=!1,i=[],n){let r=i.slice(),s=e(e=>{r?r.push(e):a.fire(e)});n&&n.add(s);let o=()=>{null==r||r.forEach(e=>a.fire(e)),r=null},a=new tT({onWillAddFirstListener(){!s&&(s=e(e=>a.fire(e)),n&&n.add(s))},onDidAddFirstListener(){r&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return n&&n.add(a),a.event};e.chain=function(e,t){return(i,n,r)=>{let s=t(new l);return e(function(e){let t=s.evaluate(e);t!==a&&i.call(n,t)},void 0,r)}};let a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:a),this}reduce(e,t){let i=t;return this.steps.push(t=>i=e(i,t)),this}latch(e=(e,t)=>e===t){let t,i=!0;return this.steps.push(n=>{let r=i||!e(n,t);return i=!1,t=n,r?n:a}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new tT({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return r.event};e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new tT({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return r.event};e.toPromise=function(e){return new Promise(t=>i(e)(t))};e.fromPromise=function(e){let t=new tT;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event};e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))};e.runAndSubscribeWithStore=function(e,t){let i=null;function n(e){null==i||i.dispose(),t(e,i=new tL)}n(void 0);let r=e(e=>n(e));return tC(()=>{r.dispose(),null==i||i.dispose()})};class u{constructor(e,i){this._observable=e,this._counter=0,this._hasChanged=!1;let n={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};!i&&t(n),this.emitter=new tT(n),i&&i.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new u(e,t).emitter.event};e.fromObservableLight=function(e){return t=>{let i=0,n=!1,r={beginUpdate(){i++},endUpdate(){0==--i&&(e.reportChanges(),n&&(n=!1,t()))},handlePossibleChange(){},handleChange(){n=!0}};return e.addObserver(r),e.reportChanges(),{dispose(){e.removeObserver(r)}}}}}(em||(em={}));class tA{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${tA._idPool++}`,tA.all.add(this)}start(e){this._stopWatch=new tR,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}tA.all=new Set,tA._idPool=0;class tx{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let i=this.threshold;if(i<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class tM{static create(){var e;return new tM(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class tk{constructor(e){this.value=e}}let tO=(e,t)=>{if(e instanceof tk)t(e);else for(let i=0;i{var n,r,s,o,a;let l,u;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),tw.None;if(this._disposed)return tw.None;t&&(e=e.bind(t));let h=new tk(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(h.stack=tM.create(),l=this._leakageMon.check(h.stack,this._size+1)),this._listeners?this._listeners instanceof tk?(null!==(a=this._deliveryQueue)&&void 0!==a||(this._deliveryQueue=new tI),this._listeners=[this._listeners,h]):this._listeners.push(h):(null===(r=null===(n=this._options)||void 0===n?void 0:n.onWillAddFirstListener)||void 0===r||r.call(n,this),this._listeners=h,null===(o=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===o||o.call(s,this)),this._size++;let d=tC(()=>{null==l||l(),this._removeListener(h)});return i instanceof tL?i.add(d):Array.isArray(i)&&i.push(d),d}),this._event}_removeListener(e){var t,i,n,r;if(null===(i=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===i||i.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(r=null===(n=this._options)||void 0===n?void 0:n.onDidRemoveLastListener)||void 0===r||r.call(n,this),this._size=0;return}let s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;let a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}class tI{constructor(){this.i=-1,this.end=0}enqueue(e,t,i){this.i=0,this.end=i,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}Object.prototype.hasOwnProperty;function tP(e){let t=[];for(let i of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[i]&&t.push(i);return t}let tD="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function tK(e,t,...i){var n,r;let s;return n=t,s=0===(r=i).length?n:n.replace(/\{(\d+)\}/g,(e,t)=>{let i=r[t[0]],n=e;return"string"==typeof i?n=i:("number"==typeof i||"boolean"==typeof i||null==i)&&(n=String(i)),n}),tD&&(s="\uFF3B"+s.replace(/[aouei]/g,"$&$&")+"\uFF3D"),s}let tF=!1,tq=!1,tV=!1,tB=!1,tU=!1,tW=!1,tH=!1,tz=!1;let t$="en";let tj="object"==typeof self?self:"object"==typeof tl.g?tl.g:{};void 0!==tj.vscode&&void 0!==tj.vscode.process?r=tj.vscode.process:"undefined"!=typeof process&&(r=process);let tG="string"==typeof(null===(ef=null==r?void 0:r.versions)||void 0===ef?void 0:ef.electron)&&(null==r?void 0:r.type)==="renderer";if("object"!=typeof navigator||tG){if("object"==typeof r){tF="win32"===r.platform,tq="darwin"===r.platform,!(tV="linux"===r.platform)||!r.env.SNAP||r.env.SNAP_REVISION,!r.env.CI&&r.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=r.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),i=t.availableLanguages["*"];t.locale,t.osLocale;t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else{;tF=(n=navigator.userAgent).indexOf("Windows")>=0,tq=n.indexOf("Macintosh")>=0,(n.indexOf("Macintosh")>=0||n.indexOf("iPad")>=0||n.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,tV=n.indexOf("Linux")>=0,null==n||n.indexOf("Mobi"),tU=!0;let e=void(m=tK({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));navigator.language}tq||tF;let tQ=tF,tY=tq;tU&&tj.importScripts;let tX=n,tJ="function"==typeof tj.postMessage&&!tj.importScripts;(()=>{if(tJ){let e=[];tj.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{let n=++t;e.push({id:n,callback:i}),tj.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})();let tZ=!!(tX&&tX.indexOf("Chrome")>=0);tX&&tX.indexOf("Firefox"),!tZ&&tX&&tX.indexOf("Safari"),tX&&tX.indexOf("Edg/"),tX&&tX.indexOf("Android");class t1{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function t0(e){return e>=65&&e<=90}function t2(e){return 55296<=e&&e<=56319}function t4(e){return 56320<=e&&e<=57343}function t5(e,t){return(e-55296<<10)+(t-56320)+65536}let t7=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class t9{static getInstance(){return!t9._INSTANCE&&(t9._INSTANCE=new t9),t9._INSTANCE}constructor(){this._data=function(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}()}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,i=t.length/3,n=1;for(;n<=i;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}t9._INSTANCE=null;class t6{static getInstance(e){return ep.cache.get(Array.from(e))}static getLocales(){return ep._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}ep=t6,t6.ambiguousCharacterData=new t1(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),t6.cache=new class e{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function i(e){let t=new Map;for(let i=0;i!e.startsWith("_")&&e in n);0===r.length&&(r=["_default"]);for(let e of r)t=function(e,t){if(!e)return t;let i=new Map;for(let[n,r]of e)t.has(n)&&i.set(n,r);return i}(t,i(n[e]));let s=function(e,t){let i=new Map(e);for(let[e,n]of t)i.set(e,n);return i}(i(n._common),t);return new ep(s)}),t6._locales=new t1(()=>Object.keys(ep.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class t8{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return!this._data&&(this._data=new Set(t8.getRawData())),this._data}static isInvisibleCharacter(e){return t8.getData().has(e)}static get codePoints(){return t8.getData()}}t8._data=void 0;class t3{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.method=i,this.args=n,this.type=0}}class ie{constructor(e,t,i,n){this.vsWorker=e,this.seq=t,this.res=i,this.err=n,this.type=1}}class it{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.eventName=i,this.arg=n,this.type=2}}class ii{constructor(e,t,i){this.vsWorker=e,this.req=t,this.event=i,this.type=3}}class ir{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class is{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,r)=>{this._pendingReplies[i]={resolve:n,reject:r},this._send(new t3(this._workerId,i,e,t))})}listen(e,t){let i=null,n=new tT({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,n),this._send(new it(this._workerId,i,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new ir(this._workerId,i)),i=null}});return n.event}handleMessage(e){if(!!e&&!!e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId))this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;e.err.$isError&&((i=Error()).name=e.err.name,i.message=e.err.message,i.stack=e.err.stack),t.reject(i);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send(new ie(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=td(e.detail)),this._send(new ie(this._workerId,t,void 0,td(e)))})}_handleSubscribeEventMessage(e){let t=e.req,i=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new ii(this._workerId,t,e))});this._pendingEvents.set(t,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let i=0;i{e(t,i)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(ia(e)){let i=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof i)throw Error(`Missing dynamic event ${e} on request handler.`);return i}if(io(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,i,n){this._protocol.setWorkerId(e);let r=function(e,t,i){let n=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},r=e=>function(t){return i(e,t)},s={};for(let t of e){if(ia(t)){s[t]=r(t);continue}if(io(t)){s[t]=i(t,void 0);continue}s[t]=n(t)}return s}(n,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(tP(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{(0,globalThis.require)([i],i=>{if(this._requestHandler=i.create(r),!this._requestHandler){t(Error("No RequestHandler!"));return}e(tP(this._requestHandler))},t)}))}}class iu{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function ih(e,t){return(t<<5)-t+e|0}function id(e,t,i=32){let n=i-t;return(e<>>n)>>>0}function ic(e,t=0,i=e.byteLength,n=0){for(let r=0;re.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class im{constructor(){this._h0=0x67452301,this._h1=0xefcdab89,this._h2=0x98badcfe,this._h3=0x10325476,this._h4=0xc3d2e1f0,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,i;let n=e.length;if(0===n)return;let r=this._buff,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,i=-1,o=0):(t=e.charCodeAt(0),i=0);;){let a=t;if(t2(t)){if(i+1>>6:(i<65536?e[t++]=224|(61440&i)>>>12:(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12),e[t++]=128|(4032&i)>>>6),e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return!this._finished&&(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),ig(this._h0)+ig(this._h1)+ig(this._h2)+ig(this._h3)+ig(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,ic(this._buff,this._buffLen),this._buffLen>56&&(this._step(),ic(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/0x100000000),!1),this._buffDV.setUint32(60,e%0x100000000,!1),this._step()}_step(){let e,t,i;let n=im._bigBlock32,r=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,r.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,id(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let r=0;r<80;r++)r<20?(e=o&a|~o&l,t=0x5a827999):r<40?(e=o^a^l,t=0x6ed9eba1):r<60?(e=o&a|o&l|a&l,t=0x8f1bbcdc):(e=o^a^l,t=0xca62c1d6),i=id(s,5)+e+u+t+n.getUint32(4*r,!1)&0xffffffff,u=l,l=a,a=id(o,30),o=s,s=i;this._h0=this._h0+s&0xffffffff,this._h1=this._h1+o&0xffffffff,this._h2=this._h2+a&0xffffffff,this._h3=this._h3+l&0xffffffff,this._h4=this._h4+u&0xffffffff}}im._bigBlock32=new DataView(new ArrayBuffer(320));class ip{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new iu(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=0x40000000,this.m_modifiedStart=0x40000000}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class iy{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;let[n,r,s]=iy._getElements(e),[o,a,l]=iy._getElements(t);this._hasStrings=s&&l,this._originalStringElements=n,this._originalElementsOrHash=r,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(iy._isStringArray(t)){let e=new Int32Array(t.length);for(let i=0,n=t.length;i=e&&n>=i&&this.ElementsAreEqual(t,n);)t--,n--;if(e>t||i>n){let r;return i<=n?(ib.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new iu(e,0,i,n-i+1)]):e<=t?(ib.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),r=[new iu(e,t-e+1,i,0)]):(ib.Assert(e===t+1,"originalStart should only be one more than originalEnd"),ib.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}let s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,i,n,s,o,r),l=s[0],u=o[0];if(null!==a)return a;if(!r[0]){let s=this.ComputeDiffRecursive(e,l,i,u,r),o=[];return o=r[0]?[new iu(l+1,t-(l+1)+1,u+1,n-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,n,r),this.ConcatenateChanges(s,o)}return[new iu(e,t-e+1,i,n-i+1)]}WALKTRACE(e,t,i,n,r,s,o,a,l,u,h,d,c,g,m,f,p,b){let _=null,v=null,y=new iv,C=t,L=i,w=c[0]-f[0]-n,N=-0x40000000,E=this.m_forwardHistory.length-1;do{let t=w+e;t===C||t=0&&(e=(l=this.m_forwardHistory[E])[0],C=1,L=l.length-1)}while(--E>=-1);if(_=y.getReverseChanges(),b[0]){let e=c[0]+1,t=f[0]+1;if(null!==_&&_.length>0){let i=_[_.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}v=[new iu(e,d-e+1,t,m-t+1)]}else{y=new iv,C=s,L=o,w=c[0]-f[0]-a,N=0x40000000,E=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+r;e===C||e=u[e+1]?(g=(h=u[e+1]-1)-w-a,h>N&&y.MarkNextChange(),N=h+1,y.AddOriginalElement(h+1,g+1),w=e+1-r):(g=(h=u[e-1])-w-a,h>N&&y.MarkNextChange(),N=h,y.AddModifiedElement(h+1,g+1),w=e-1-r),E>=0&&(r=(u=this.m_reverseHistory[E])[0],C=1,L=u.length-1)}while(--E>=-1);v=y.getChanges()}return this.ConcatenateChanges(_,v)}ComputeRecursionPoint(e,t,i,n,r,s,o){let a=0,l=0,u=0,h=0,d=0,c=0;e--,i--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let g=t-e+(n-i),m=g+1,f=new Int32Array(m),p=new Int32Array(m),b=n-i,_=t-e,v=e-i,y=t-n,C=(_-b)%2==0;f[b]=e,p[_]=t,o[0]=!1;for(let L=1;L<=g/2+1;L++){let g=0,w=0;u=this.ClipDiagonalBound(b-L,L,b,m),h=this.ClipDiagonalBound(b+L,L,b,m);for(let e=u;e<=h;e+=2){l=(a=e===u||eg+w&&(g=a,w=l),!C&&Math.abs(e-_)<=L-1&&a>=p[e]){if(r[0]=a,s[0]=l,i<=p[e]&&L<=1448)return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,C,o);return null}}let N=(g-e+(w-i)-L)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,N)){if(o[0]=!0,r[0]=g,s[0]=w,!(N>0)||!(L<=1448))return e++,i++,[new iu(e,t-e+1,i,n-i+1)];break}d=this.ClipDiagonalBound(_-L,L,_,m),c=this.ClipDiagonalBound(_+L,L,_,m);for(let g=d;g<=c;g+=2){l=(a=g===d||g=p[g+1]?p[g+1]-1:p[g-1])-(g-_)-y;let m=a;for(;a>e&&l>i&&this.ElementsAreEqual(a,l);)a--,l--;if(p[g]=a,C&&Math.abs(g-b)<=L&&a<=f[g]){if(r[0]=a,s[0]=l,m>=f[g]&&L<=1448)return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,C,o);return null}}if(L<=1447){let e=new Int32Array(h-u+2);e[0]=b-u+1,i_.Copy2(f,u,e,1,h-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(c-d+2))[0]=_-d+1,i_.Copy2(p,d,e,1,c-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,C,o)}PrettifyChanges(e){for(let t=0;t0,o=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;t--){let i=e[t],n=0,r=0;if(t>0){let i=e[t-1];n=i.originalStart+i.originalLength,r=i.modifiedStart+i.modifiedLength}let s=i.originalLength>0,o=i.modifiedLength>0,a=0,l=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){let t=i.originalStart-e,u=i.modifiedStart-e;if(tl&&(l=h,a=e)}i.originalStart-=a,i.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t0&&i>a&&(a=i,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let r=0;r=this._originalElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return!!(e<=0)||!!(e>=this._modifiedElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){let r=this._OriginalRegionIsBoundary(e,t)?1:0;return r+(this._ModifiedRegionIsBoundary(i,n)?1:0)}ConcatenateChanges(e,t){let i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){let n=Array(e.length+t.length-1);return i_.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],i_.Copy(t,1,n,e.length,t.length-1),n}{let i=Array(e.length+t.length);return i_.Copy(e,0,i,0,e.length),i_.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,i){if(ib.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),ib.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return i[0]=null,!1;{let n=e.originalStart,r=e.originalLength,s=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new iu(n,r,s,o),!0}}ClipDiagonalBound(e,t,i,n){if(e>=0&&et.cwd()}}else"undefined"!=typeof process?e={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:e={get platform(){return tQ?"win32":tY?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let iC=e.cwd,iL=e.env,iw=e.platform;class iN extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let r=-1!==e.indexOf(".")?"property":"argument",s=`The "${e}" ${r} ${n} of type ${t}`;super(s+=`. Received type ${typeof i}`),this.code="ERR_INVALID_ARG_TYPE"}}function iE(e,t){if("string"!=typeof e)throw new iN(t,"string",e)}let iS="win32"===iw;function iR(e){return 47===e||92===e}function iA(e){return 47===e}function ix(e){return e>=65&&e<=90||e>=97&&e<=122}function iM(e,t,i,n){let r="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=r.lastIndexOf(i);-1===e?(r="",s=0):s=(r=r.slice(0,e)).length-1-r.lastIndexOf(i),o=u,a=0;continue}if(0!==r.length){r="",s=0,o=u,a=0;continue}}t&&(r+=r.length>0?`${i}..`:"..",s=2)}else r.length>0?r+=`${i}${e.slice(o+1,u)}`:r=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return r}function ik(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new iN(t,"Object",e)}(t,"pathObject");let i=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${n}`:`${i}${e}${n}`:n}let iO={resolve(...e){let t="",i="",n=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(iE(s=e[r],"path"),0===s.length)continue}else 0===t.length?s=iC():(void 0===(s=iL[`=${t}`]||iC())||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===s.charCodeAt(2))&&(s=`${t}\\`);let o=s.length,a=0,l="",u=!1,h=s.charCodeAt(0);if(1===o)iR(h)&&(a=1,u=!0);else if(iR(h)){if(u=!0,iR(s.charCodeAt(1))){let e=2,t=2;for(;e2&&iR(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(n){if(t.length>0)break}else if(i=`${s.slice(a)}\\${i}`,n=u,u&&t.length>0)break}return i=iM(i,!n,"\\",iR),n?`${t}\\${i}`:`${t}${i}`||"."},normalize(e){let t;iE(e,"path");let i=e.length;if(0===i)return".";let n=0,r=!1,s=e.charCodeAt(0);if(1===i)return iA(s)?"\\":e;if(iR(s)){if(r=!0,iR(e.charCodeAt(1))){let r=2,s=2;for(;r2&&iR(e.charCodeAt(2))&&(r=!0,n=3));let o=n0&&iR(e.charCodeAt(i-1))&&(o+="\\"),void 0===t)?r?`\\${o}`:o:r?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){iE(e,"path");let t=e.length;if(0===t)return!1;let i=e.charCodeAt(0);return iR(i)||t>2&&ix(i)&&58===e.charCodeAt(1)&&iR(e.charCodeAt(2))},join(...e){let t,i;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i=r:t+=`\\${r}`)}if(void 0===t)return".";let n=!0,r=0;if("string"==typeof i&&iR(i.charCodeAt(0))){++r;let e=i.length;e>1&&iR(i.charCodeAt(1))&&(++r,e>2&&(iR(i.charCodeAt(2))?++r:n=!1))}if(n){for(;r=2&&(t=`\\${t.slice(r)}`)}return iO.normalize(t)},relative(e,t){if(iE(e,"from"),iE(t,"to"),e===t)return"";let i=iO.resolve(e),n=iO.resolve(t);if(i===n)return"";if(e=i.toLowerCase(),t=n.toLowerCase(),e===t)return"";let r=0;for(;rr&&92===e.charCodeAt(s-1);)s--;let o=s-r,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,h=oh){if(92===t.charCodeAt(a+c))return n.slice(a+c+1);if(2===c)return n.slice(a+c)}o>h&&(92===e.charCodeAt(r+c)?d=c:2===c&&(d=3)),-1===d&&(d=0)}let g="";for(c=r+d+1;c<=s;++c)(c===s||92===e.charCodeAt(c))&&(g+=0===g.length?"..":"\\..");return(a+=d,g.length>0)?`${g}${n.slice(a,l)}`:(92===n.charCodeAt(a)&&++a,n.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=iO.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(ix(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){iE(e,"path");let t=e.length;if(0===t)return".";let i=-1,n=0,r=e.charCodeAt(0);if(1===t)return iR(r)?e:".";if(iR(r)){if(i=n=1,iR(e.charCodeAt(1))){let r=2,s=2;for(;r2&&iR(e.charCodeAt(2))?3:2);let s=-1,o=!0;for(let i=t-1;i>=n;--i)if(iR(e.charCodeAt(i))){if(!o){s=i;break}}else o=!1;if(-1===s){if(-1===i)return".";s=i}return e.slice(0,s)},basename(e,t){let i;void 0!==t&&iE(t,"ext"),iE(e,"path");let n=0,r=-1,s=!0;if(e.length>=2&&ix(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=n;--i){let l=e.charCodeAt(i);if(iR(l)){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=i):(o=-1,r=a))}return n===r?r=a:-1===r&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=n;--i)if(iR(e.charCodeAt(i))){if(!s){n=i+1;break}}else -1===r&&(s=!1,r=i+1);return -1===r?"":e.slice(n,r)},extname(e){iE(e,"path");let t=0,i=-1,n=0,r=-1,s=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&ix(e.charCodeAt(0))&&(t=n=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(iR(t)){if(!s){n=a+1;break}continue}-1===r&&(s=!1,r=a+1),46===t?-1===i?i=a:1!==o&&(o=1):-1!==i&&(o=-1)}return -1===i||-1===r||0===o||1===o&&i===r-1&&i===n+1?"":e.slice(i,r)},format:ik.bind(null,"\\"),parse(e){iE(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let i=e.length,n=0,r=e.charCodeAt(0);if(1===i)return iR(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(iR(r)){if(n=1,iR(e.charCodeAt(1))){let t=2,r=2;for(;t0&&(t.root=e.slice(0,n));let s=-1,o=n,a=-1,l=!0,u=e.length-1,h=0;for(;u>=n;--u){if(iR(r=e.charCodeAt(u))){if(!l){o=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===r?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1)}return -1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),o>0&&o!==n?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},iT=(()=>{if(iS){let e=/\\/g;return()=>{let t=iC().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>iC()})(),iI={resolve(...e){let t="",i=!1;for(let n=e.length-1;n>=-1&&!i;n--){let r=n>=0?e[n]:iT();if(iE(r,"path"),0!==r.length)t=`${r}/${t}`,i=47===r.charCodeAt(0)}return(t=iM(t,!i,"/",iA),i)?`/${t}`:t.length>0?t:"."},normalize(e){if(iE(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);if(0===(e=iM(e,!t,"/",iA)).length)return t?"/":i?"./":".";return i&&(e+="/"),t?`/${e}`:e},isAbsolute:e=>(iE(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":iI.normalize(t)},relative(e,t){if(iE(e,"from"),iE(t,"to"),e===t)return"";if(e=iI.resolve(e),t=iI.resolve(t),e===t)return"";let i=e.length,n=i-1,r=t.length-1,s=ns){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else n>s&&(47===e.charCodeAt(1+a)?o=a:0===a&&(o=0))}let l="";for(a=1+o+1;a<=i;++a)(a===i||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(iE(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){i=t;break}}else n=!1;return -1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){let i;void 0!==t&&iE(t,"ext"),iE(e,"path");let n=0,r=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){let l=e.charCodeAt(i);if(47===l){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=i):(o=-1,r=a))}return n===r?r=a:-1===r&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){n=i+1;break}}else -1===r&&(s=!1,r=i+1);return -1===r?"":e.slice(n,r)},extname(e){iE(e,"path");let t=-1,i=0,n=-1,r=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!r){i=o+1;break}continue}-1===n&&(r=!1,n=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===n||0===s||1===s&&t===n-1&&t===i+1?"":e.slice(t,n)},format:ik.bind(null,"/"),parse(e){let t;iE(e,"path");let i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;let n=47===e.charCodeAt(0);n?(i.root="/",t=1):t=0;let r=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){s=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===t?-1===r?r=l:1!==u&&(u=1):-1!==r&&(u=-1)}if(-1!==o){let t=0===s&&n?1:s;-1===r||0===u||1===u&&r===o-1&&r===s+1?i.base=i.name=e.slice(t,o):(i.name=e.slice(t,r),i.base=e.slice(t,o),i.ext=e.slice(r,o))}return s>0?i.dir=e.slice(0,s-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};iI.win32=iO.win32=iO,iI.posix=iO.posix=iI,iS?iO.normalize:iI.normalize,iS?iO.resolve:iI.resolve,iS?iO.relative:iI.relative,iS?iO.dirname:iI.dirname,iS?iO.basename:iI.basename,iS?iO.extname:iI.extname,iS?iO.sep:iI.sep;let iP=/^\w[\w\d+.-]*$/,iD=/^\//,iK=/^\/\//,iF="/",iq=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class iV{static isUri(e){return e instanceof iV||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,i,n,r,s=!1){if("object"==typeof e)this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||"";else{var o,a;this.scheme=(o=e,a=s,o||a?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==iF&&(t=iF+t):t=iF}return t}(this.scheme,i||""),this.query=n||"",this.fragment=r||"",!function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!iP.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!iD.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(iK.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,s)}}get fsPath(){return i$(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:r,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===r?r=this.query:null===r&&(r=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&i===this.authority&&n===this.path&&r===this.query&&s===this.fragment)?this:new iU(t,i,n,r,s)}static parse(e,t=!1){let i=iq.exec(e);return i?new iU(i[2]||"",iQ(i[4]||""),iQ(i[5]||""),iQ(i[7]||""),iQ(i[9]||""),t):new iU("","","","","")}static file(e){let t="";if(tQ&&(e=e.replace(/\\/g,iF)),e[0]===iF&&e[1]===iF){let i=e.indexOf(iF,2);-1===i?(t=e.substring(2),e=iF):(t=e.substring(2,i),e=e.substring(i)||iF)}return new iU("file",t,e,"","")}static from(e,t){return new iU(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){let i;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return i=tQ&&"file"===e.scheme?iV.file(iO.join(i$(e,!0),...t)).path:iI.join(e.path,...t),e.with({path:i})}toString(e=!1){return ij(this,e)}toJSON(){return this}static revive(e){var t,i;if(!e)return e;if(e instanceof iV)return e;{let n=new iU(e);return n._formatted=null!==(t=e.external)&&void 0!==t?t:null,n._fsPath=e._sep===iB&&null!==(i=e.fsPath)&&void 0!==i?i:null,n}}}let iB=tQ?1:void 0;class iU extends iV{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return!this._fsPath&&(this._fsPath=i$(this,!1)),this._fsPath}toString(e=!1){return e?ij(this,!0):(!this._formatted&&(this._formatted=ij(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=iB),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let iW={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function iH(e,t,i){let n;let r=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||i&&91===o||i&&93===o||i&&58===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,s)),r=-1),void 0!==n&&(n+=e.charAt(s));else{void 0===n&&(n=e.substr(0,s));let t=iW[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,s)),r=-1),n+=t):-1===r&&(r=s)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function iz(e){let t;for(let i=0;i1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,tQ&&(i=i.replace(/\//g,"\\")),i}function ij(e,t){let i=t?iz:iH,n="",{scheme:r,authority:s,path:o,query:a,fragment:l}=e;if(r&&(n+=r,n+=":"),(s||"file"===r)&&(n+=iF,n+=iF),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=i(t,!1,!1):(n+=i(t.substr(0,e),!1,!1),n+=":",n+=i(t.substr(e+1),!1,!0)),n+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?n+=i(s,!1,!0):(n+=i(s.substr(0,e),!1,!0),n+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}n+=i(o,!0,!1)}return a&&(n+="?",n+=i(a,!1,!1)),l&&(n+="#",n+=t?l:iH(l,!1,!1)),n}let iG=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function iQ(e){return e.match(iG)?e.replace(iG,e=>(function e(t){try{return decodeURIComponent(t)}catch(i){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class iY{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new iY(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return iY.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return iY.isBefore(this,e)}static isBefore(e,t){return!!(e.lineNumberi||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return iX.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return iX.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))&&!0}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))&&!0}containsRange(e){return iX.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))&&!0}strictContainsRange(e){return iX.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))&&!0}plusRange(e){return iX.plusRange(this,e)}static plusRange(e,t){let i,n,r,s;return t.startLineNumbere.endLineNumber?(r=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,s=e.endColumn),new iX(i,n,r,s)}intersectRanges(e){return iX.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,r=e.endLineNumber,s=e.endColumn,o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(il?(r=l,s=u):r===l&&(s=Math.min(s,u)),i>r||i===r&&n>s)?null:new iX(i,n,r,s)}equalsRange(e){return iX.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return iX.getEndPosition(this)}static getEndPosition(e){return new iY(e.endLineNumber,e.endColumn)}getStartPosition(){return iX.getStartPosition(this)}static getStartPosition(e){return new iY(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new iX(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new iX(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return iX.collapseToStart(this)}static collapseToStart(e){return new iX(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return iX.collapseToEnd(this)}static collapseToEnd(e){return new iX(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new iX(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new iX(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new iX(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}function iJ(e,t){return(i,n)=>t(e(i),e(n))}(f=eb||(eb={})).isLessThan=function(e){return e<0},f.isLessThanOrEqual=function(e){return e<=0},f.isGreaterThan=function(e){return e>0},f.isNeitherLessOrGreaterThan=function(e){return 0===e},f.greaterThan=1,f.lessThan=-1,f.neitherLessOrGreaterThan=0;let iZ=(e,t)=>e-t;class i1{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new i1(t=>this.iterate(i=>!e(i)||t(i)))}map(e){return new i1(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t;let i=!0;return this.iterate(n=>((i||eb.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}function i0(e){return e<0?0:e>255?255:0|e}function i2(e){return e<0?0:e>0xffffffff?0xffffffff:0|e}i1.empty=new i1(e=>{});class i4{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=i2(e);let i=this.values,n=this.prefixSum,r=t.length;return 0!==r&&(this.values=new Uint32Array(i.length+r),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e),e+r),this.values.set(t,e),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=i2(e),t=i2(t),this.values[e]!==t&&(this.values[e]=t,e-1=i.length)return!1;let r=i.length-e;return t>=r&&(t=r),0!==t&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=i2(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,r=0,s=0;for(;t<=i;)if(n=t+(i-t)/2|0,s=(r=this.prefixSum[n])-this.values[n],e=r)t=n+1;else break;return new i5(n,e-s)}}class i5{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class i7{constructor(e,t,i,n){this._uri=e,this._lines=t,this._eol=i,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){for(let t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new iY(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,i=new Uint32Array(t);for(let n=0;n/?"){if(!(e.indexOf(i)>=0))t+="\\"+i}return RegExp(t+="\\s]+)","g")}(),i6=new tE;function i8(e,t,i,n,r){if(!r&&(r=eg.first(i6)),i.length>r.maxLen){let s=e-r.maxLen/2;return s<0?s=0:n+=s,i=i.substring(s,e+r.maxLen/2),i8(e,t,i,n,r)}let s=Date.now(),o=e-1-n,a=-1,l=null;for(let e=1;!(Date.now()-s>=r.timeBudget);e++){;let n=o-r.windowSize*e;t.lastIndex=Math.max(0,n);let s=function(e,t,i,n){let r;for(;r=e.exec(t);){let t=r.index||0;if(t<=i&&e.lastIndex>=i)return r;if(n>0&&t>n)break}return null}(t,i,o,a);if(!s&&l)break;if(l=s,n<=0)break;a=n}if(l){let e={word:l[0],startColumn:n+1+l.index,endColumn:n+1+l.index+l[0].length};return t.lastIndex=0,e}return null}i6.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class i3{constructor(e){let t=i0(e);this._defaultValue=t,this._asciiMap=i3._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let i=i0(t);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class ne{constructor(e,t,i){let n=new Uint8Array(e*t);for(let r=0,s=e*t;rt&&(t=s),r>i&&(i=r),o>i&&(i=o)}t++;let n=new ne(++i,t,0);for(let t=0,i=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let ni=null;function nn(){return null===ni&&(ni=new nt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),ni}let nr=null;class ns{static _createLink(e,t,i,n,r){let s=r-1;do{let i=t.charCodeAt(s);if(2!==e.get(i))break;s--}while(s>n);if(n>0){let e=t.charCodeAt(n-1),i=t.charCodeAt(s);(40===e&&41===i||91===e&&93===i||123===e&&125===i)&&s--}return{range:{startLineNumber:i,startColumn:n+1,endLineNumber:i,endColumn:s+2},url:t.substring(n,s+1)}}static computeLinks(e,t=nn()){let i=function(){if(null===nr){nr=new i3(0);let e=" <>'\"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026";for(let t=0;t=0?((n+=i?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}no.INSTANCE=new no;let na=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(p=e_||(e_={})).isCancellationToken=function(e){return e===p.None||e===p.Cancelled||e instanceof nl||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},p.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:em.None}),p.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:na});class nl{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?na:(!this._emitter&&(this._emitter=new tT),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class nu{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return!this._token&&(this._token=new nl),this._token}cancel(){this._token?this._token instanceof nl&&this._token.cancel():this._token=e_.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof nl&&this._token.dispose():this._token=e_.None}}class nh{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let nd=new nh,nc=new nh,ng=new nh,nm=Array(230),nf={},np=[],nb=Object.create(null),n_=Object.create(null),nv=[],ny=[];for(let e=0;e<=193;e++)nv[e]=-1;for(let e=0;e<=132;e++)ny[e]=-1;!function(){let e=[],t=[];for(let i of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,r,s,o,a,l,u,h,d]=i;if(!t[r]&&(t[r]=!0,np[r]=s,nb[s]=r,n_[s.toLowerCase()]=r,n&&(nv[r]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(ny[o]=r))),!e[o]){if(e[o]=!0,!a)throw Error(`String representation missing for key code ${o} around scan code ${s}`);nd.define(o,a),nc.define(o,h||a),ng.define(o,d||h||a)}l&&(nm[l]=o),u&&(nf[u]=o)}ny[3]=46}(),(b=ev||(ev={})).toString=function(e){return nd.keyCodeToStr(e)},b.fromString=function(e){return nd.strToKeyCode(e)},b.toUserSettingsUS=function(e){return nc.keyCodeToStr(e)},b.toUserSettingsGeneral=function(e){return ng.keyCodeToStr(e)},b.fromUserSettings=function(e){return nc.strToKeyCode(e)||ng.strToKeyCode(e)},b.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return nd.keyCodeToStr(e)};class nC extends iX{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return nC.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new nC(this.startLineNumber,this.startColumn,e,t):new nC(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new iY(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new iY(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new nC(e,t,this.endLineNumber,this.endColumn):new nC(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new nC(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new nC(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new nC(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new nC(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;i{if(this._tokenizationSupports.get(e)===t)this._tokenizationSupports.delete(e),this.handleChange([e])})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let n=new nS(this,e,t);return this._factories.set(e,n),tC(()=>{let t=this._factories.get(e);if(!!t&&t===n)this._factories.delete(e),t.dispose()})}getOrCreate(e){return nE(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(yield i.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved||!1}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},(L=eR||(eR={}))[L.Unknown=0]="Unknown",L[L.Disabled=1]="Disabled",L[L.Enabled=2]="Enabled",(w=eA||(eA={}))[w.Invoke=1]="Invoke",w[w.Auto=2]="Auto",(N=ex||(ex={}))[N.None=0]="None",N[N.KeepWhitespace=1]="KeepWhitespace",N[N.InsertAsSnippet=4]="InsertAsSnippet",(E=eM||(eM={}))[E.Method=0]="Method",E[E.Function=1]="Function",E[E.Constructor=2]="Constructor",E[E.Field=3]="Field",E[E.Variable=4]="Variable",E[E.Class=5]="Class",E[E.Struct=6]="Struct",E[E.Interface=7]="Interface",E[E.Module=8]="Module",E[E.Property=9]="Property",E[E.Event=10]="Event",E[E.Operator=11]="Operator",E[E.Unit=12]="Unit",E[E.Value=13]="Value",E[E.Constant=14]="Constant",E[E.Enum=15]="Enum",E[E.EnumMember=16]="EnumMember",E[E.Keyword=17]="Keyword",E[E.Text=18]="Text",E[E.Color=19]="Color",E[E.File=20]="File",E[E.Reference=21]="Reference",E[E.Customcolor=22]="Customcolor",E[E.Folder=23]="Folder",E[E.TypeParameter=24]="TypeParameter",E[E.User=25]="User",E[E.Issue=26]="Issue",E[E.Snippet=27]="Snippet",(S=ek||(ek={}))[S.Deprecated=1]="Deprecated",(R=eO||(eO={}))[R.Invoke=0]="Invoke",R[R.TriggerCharacter=1]="TriggerCharacter",R[R.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(A=eT||(eT={}))[A.EXACT=0]="EXACT",A[A.ABOVE=1]="ABOVE",A[A.BELOW=2]="BELOW",(x=eI||(eI={}))[x.NotSet=0]="NotSet",x[x.ContentFlush=1]="ContentFlush",x[x.RecoverFromMarkers=2]="RecoverFromMarkers",x[x.Explicit=3]="Explicit",x[x.Paste=4]="Paste",x[x.Undo=5]="Undo",x[x.Redo=6]="Redo",(M=eP||(eP={}))[M.LF=1]="LF",M[M.CRLF=2]="CRLF",(k=eD||(eD={}))[k.Text=0]="Text",k[k.Read=1]="Read",k[k.Write=2]="Write",(O=eK||(eK={}))[O.None=0]="None",O[O.Keep=1]="Keep",O[O.Brackets=2]="Brackets",O[O.Advanced=3]="Advanced",O[O.Full=4]="Full",(T=eF||(eF={}))[T.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",T[T.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",T[T.accessibilitySupport=2]="accessibilitySupport",T[T.accessibilityPageSize=3]="accessibilityPageSize",T[T.ariaLabel=4]="ariaLabel",T[T.ariaRequired=5]="ariaRequired",T[T.autoClosingBrackets=6]="autoClosingBrackets",T[T.autoClosingComments=7]="autoClosingComments",T[T.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",T[T.autoClosingDelete=9]="autoClosingDelete",T[T.autoClosingOvertype=10]="autoClosingOvertype",T[T.autoClosingQuotes=11]="autoClosingQuotes",T[T.autoIndent=12]="autoIndent",T[T.automaticLayout=13]="automaticLayout",T[T.autoSurround=14]="autoSurround",T[T.bracketPairColorization=15]="bracketPairColorization",T[T.guides=16]="guides",T[T.codeLens=17]="codeLens",T[T.codeLensFontFamily=18]="codeLensFontFamily",T[T.codeLensFontSize=19]="codeLensFontSize",T[T.colorDecorators=20]="colorDecorators",T[T.colorDecoratorsLimit=21]="colorDecoratorsLimit",T[T.columnSelection=22]="columnSelection",T[T.comments=23]="comments",T[T.contextmenu=24]="contextmenu",T[T.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",T[T.cursorBlinking=26]="cursorBlinking",T[T.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",T[T.cursorStyle=28]="cursorStyle",T[T.cursorSurroundingLines=29]="cursorSurroundingLines",T[T.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",T[T.cursorWidth=31]="cursorWidth",T[T.disableLayerHinting=32]="disableLayerHinting",T[T.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",T[T.domReadOnly=34]="domReadOnly",T[T.dragAndDrop=35]="dragAndDrop",T[T.dropIntoEditor=36]="dropIntoEditor",T[T.emptySelectionClipboard=37]="emptySelectionClipboard",T[T.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",T[T.extraEditorClassName=39]="extraEditorClassName",T[T.fastScrollSensitivity=40]="fastScrollSensitivity",T[T.find=41]="find",T[T.fixedOverflowWidgets=42]="fixedOverflowWidgets",T[T.folding=43]="folding",T[T.foldingStrategy=44]="foldingStrategy",T[T.foldingHighlight=45]="foldingHighlight",T[T.foldingImportsByDefault=46]="foldingImportsByDefault",T[T.foldingMaximumRegions=47]="foldingMaximumRegions",T[T.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",T[T.fontFamily=49]="fontFamily",T[T.fontInfo=50]="fontInfo",T[T.fontLigatures=51]="fontLigatures",T[T.fontSize=52]="fontSize",T[T.fontWeight=53]="fontWeight",T[T.fontVariations=54]="fontVariations",T[T.formatOnPaste=55]="formatOnPaste",T[T.formatOnType=56]="formatOnType",T[T.glyphMargin=57]="glyphMargin",T[T.gotoLocation=58]="gotoLocation",T[T.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",T[T.hover=60]="hover",T[T.inDiffEditor=61]="inDiffEditor",T[T.inlineSuggest=62]="inlineSuggest",T[T.letterSpacing=63]="letterSpacing",T[T.lightbulb=64]="lightbulb",T[T.lineDecorationsWidth=65]="lineDecorationsWidth",T[T.lineHeight=66]="lineHeight",T[T.lineNumbers=67]="lineNumbers",T[T.lineNumbersMinChars=68]="lineNumbersMinChars",T[T.linkedEditing=69]="linkedEditing",T[T.links=70]="links",T[T.matchBrackets=71]="matchBrackets",T[T.minimap=72]="minimap",T[T.mouseStyle=73]="mouseStyle",T[T.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",T[T.mouseWheelZoom=75]="mouseWheelZoom",T[T.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",T[T.multiCursorModifier=77]="multiCursorModifier",T[T.multiCursorPaste=78]="multiCursorPaste",T[T.multiCursorLimit=79]="multiCursorLimit",T[T.occurrencesHighlight=80]="occurrencesHighlight",T[T.overviewRulerBorder=81]="overviewRulerBorder",T[T.overviewRulerLanes=82]="overviewRulerLanes",T[T.padding=83]="padding",T[T.pasteAs=84]="pasteAs",T[T.parameterHints=85]="parameterHints",T[T.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",T[T.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",T[T.quickSuggestions=88]="quickSuggestions",T[T.quickSuggestionsDelay=89]="quickSuggestionsDelay",T[T.readOnly=90]="readOnly",T[T.readOnlyMessage=91]="readOnlyMessage",T[T.renameOnType=92]="renameOnType",T[T.renderControlCharacters=93]="renderControlCharacters",T[T.renderFinalNewline=94]="renderFinalNewline",T[T.renderLineHighlight=95]="renderLineHighlight",T[T.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",T[T.renderValidationDecorations=97]="renderValidationDecorations",T[T.renderWhitespace=98]="renderWhitespace",T[T.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",T[T.roundedSelection=100]="roundedSelection",T[T.rulers=101]="rulers",T[T.scrollbar=102]="scrollbar",T[T.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",T[T.scrollBeyondLastLine=104]="scrollBeyondLastLine",T[T.scrollPredominantAxis=105]="scrollPredominantAxis",T[T.selectionClipboard=106]="selectionClipboard",T[T.selectionHighlight=107]="selectionHighlight",T[T.selectOnLineNumbers=108]="selectOnLineNumbers",T[T.showFoldingControls=109]="showFoldingControls",T[T.showUnused=110]="showUnused",T[T.snippetSuggestions=111]="snippetSuggestions",T[T.smartSelect=112]="smartSelect",T[T.smoothScrolling=113]="smoothScrolling",T[T.stickyScroll=114]="stickyScroll",T[T.stickyTabStops=115]="stickyTabStops",T[T.stopRenderingLineAfter=116]="stopRenderingLineAfter",T[T.suggest=117]="suggest",T[T.suggestFontSize=118]="suggestFontSize",T[T.suggestLineHeight=119]="suggestLineHeight",T[T.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",T[T.suggestSelection=121]="suggestSelection",T[T.tabCompletion=122]="tabCompletion",T[T.tabIndex=123]="tabIndex",T[T.unicodeHighlighting=124]="unicodeHighlighting",T[T.unusualLineTerminators=125]="unusualLineTerminators",T[T.useShadowDOM=126]="useShadowDOM",T[T.useTabStops=127]="useTabStops",T[T.wordBreak=128]="wordBreak",T[T.wordSeparators=129]="wordSeparators",T[T.wordWrap=130]="wordWrap",T[T.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",T[T.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",T[T.wordWrapColumn=133]="wordWrapColumn",T[T.wordWrapOverride1=134]="wordWrapOverride1",T[T.wordWrapOverride2=135]="wordWrapOverride2",T[T.wrappingIndent=136]="wrappingIndent",T[T.wrappingStrategy=137]="wrappingStrategy",T[T.showDeprecated=138]="showDeprecated",T[T.inlayHints=139]="inlayHints",T[T.editorClassName=140]="editorClassName",T[T.pixelRatio=141]="pixelRatio",T[T.tabFocusMode=142]="tabFocusMode",T[T.layoutInfo=143]="layoutInfo",T[T.wrappingInfo=144]="wrappingInfo",T[T.defaultColorDecorators=145]="defaultColorDecorators",T[T.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",T[T.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose",(I=eq||(eq={}))[I.TextDefined=0]="TextDefined",I[I.LF=1]="LF",I[I.CRLF=2]="CRLF",(P=eV||(eV={}))[P.LF=0]="LF",P[P.CRLF=1]="CRLF",(D=eB||(eB={}))[D.Left=1]="Left",D[D.Right=2]="Right",(K=eU||(eU={}))[K.None=0]="None",K[K.Indent=1]="Indent",K[K.IndentOutdent=2]="IndentOutdent",K[K.Outdent=3]="Outdent",(F=eW||(eW={}))[F.Both=0]="Both",F[F.Right=1]="Right",F[F.Left=2]="Left",F[F.None=3]="None",(q=eH||(eH={}))[q.Type=1]="Type",q[q.Parameter=2]="Parameter",(V=ez||(ez={}))[V.Automatic=0]="Automatic",V[V.Explicit=1]="Explicit",(B=e$||(e$={}))[B.DependsOnKbLayout=-1]="DependsOnKbLayout",B[B.Unknown=0]="Unknown",B[B.Backspace=1]="Backspace",B[B.Tab=2]="Tab",B[B.Enter=3]="Enter",B[B.Shift=4]="Shift",B[B.Ctrl=5]="Ctrl",B[B.Alt=6]="Alt",B[B.PauseBreak=7]="PauseBreak",B[B.CapsLock=8]="CapsLock",B[B.Escape=9]="Escape",B[B.Space=10]="Space",B[B.PageUp=11]="PageUp",B[B.PageDown=12]="PageDown",B[B.End=13]="End",B[B.Home=14]="Home",B[B.LeftArrow=15]="LeftArrow",B[B.UpArrow=16]="UpArrow",B[B.RightArrow=17]="RightArrow",B[B.DownArrow=18]="DownArrow",B[B.Insert=19]="Insert",B[B.Delete=20]="Delete",B[B.Digit0=21]="Digit0",B[B.Digit1=22]="Digit1",B[B.Digit2=23]="Digit2",B[B.Digit3=24]="Digit3",B[B.Digit4=25]="Digit4",B[B.Digit5=26]="Digit5",B[B.Digit6=27]="Digit6",B[B.Digit7=28]="Digit7",B[B.Digit8=29]="Digit8",B[B.Digit9=30]="Digit9",B[B.KeyA=31]="KeyA",B[B.KeyB=32]="KeyB",B[B.KeyC=33]="KeyC",B[B.KeyD=34]="KeyD",B[B.KeyE=35]="KeyE",B[B.KeyF=36]="KeyF",B[B.KeyG=37]="KeyG",B[B.KeyH=38]="KeyH",B[B.KeyI=39]="KeyI",B[B.KeyJ=40]="KeyJ",B[B.KeyK=41]="KeyK",B[B.KeyL=42]="KeyL",B[B.KeyM=43]="KeyM",B[B.KeyN=44]="KeyN",B[B.KeyO=45]="KeyO",B[B.KeyP=46]="KeyP",B[B.KeyQ=47]="KeyQ",B[B.KeyR=48]="KeyR",B[B.KeyS=49]="KeyS",B[B.KeyT=50]="KeyT",B[B.KeyU=51]="KeyU",B[B.KeyV=52]="KeyV",B[B.KeyW=53]="KeyW",B[B.KeyX=54]="KeyX",B[B.KeyY=55]="KeyY",B[B.KeyZ=56]="KeyZ",B[B.Meta=57]="Meta",B[B.ContextMenu=58]="ContextMenu",B[B.F1=59]="F1",B[B.F2=60]="F2",B[B.F3=61]="F3",B[B.F4=62]="F4",B[B.F5=63]="F5",B[B.F6=64]="F6",B[B.F7=65]="F7",B[B.F8=66]="F8",B[B.F9=67]="F9",B[B.F10=68]="F10",B[B.F11=69]="F11",B[B.F12=70]="F12",B[B.F13=71]="F13",B[B.F14=72]="F14",B[B.F15=73]="F15",B[B.F16=74]="F16",B[B.F17=75]="F17",B[B.F18=76]="F18",B[B.F19=77]="F19",B[B.F20=78]="F20",B[B.F21=79]="F21",B[B.F22=80]="F22",B[B.F23=81]="F23",B[B.F24=82]="F24",B[B.NumLock=83]="NumLock",B[B.ScrollLock=84]="ScrollLock",B[B.Semicolon=85]="Semicolon",B[B.Equal=86]="Equal",B[B.Comma=87]="Comma",B[B.Minus=88]="Minus",B[B.Period=89]="Period",B[B.Slash=90]="Slash",B[B.Backquote=91]="Backquote",B[B.BracketLeft=92]="BracketLeft",B[B.Backslash=93]="Backslash",B[B.BracketRight=94]="BracketRight",B[B.Quote=95]="Quote",B[B.OEM_8=96]="OEM_8",B[B.IntlBackslash=97]="IntlBackslash",B[B.Numpad0=98]="Numpad0",B[B.Numpad1=99]="Numpad1",B[B.Numpad2=100]="Numpad2",B[B.Numpad3=101]="Numpad3",B[B.Numpad4=102]="Numpad4",B[B.Numpad5=103]="Numpad5",B[B.Numpad6=104]="Numpad6",B[B.Numpad7=105]="Numpad7",B[B.Numpad8=106]="Numpad8",B[B.Numpad9=107]="Numpad9",B[B.NumpadMultiply=108]="NumpadMultiply",B[B.NumpadAdd=109]="NumpadAdd",B[B.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",B[B.NumpadSubtract=111]="NumpadSubtract",B[B.NumpadDecimal=112]="NumpadDecimal",B[B.NumpadDivide=113]="NumpadDivide",B[B.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",B[B.ABNT_C1=115]="ABNT_C1",B[B.ABNT_C2=116]="ABNT_C2",B[B.AudioVolumeMute=117]="AudioVolumeMute",B[B.AudioVolumeUp=118]="AudioVolumeUp",B[B.AudioVolumeDown=119]="AudioVolumeDown",B[B.BrowserSearch=120]="BrowserSearch",B[B.BrowserHome=121]="BrowserHome",B[B.BrowserBack=122]="BrowserBack",B[B.BrowserForward=123]="BrowserForward",B[B.MediaTrackNext=124]="MediaTrackNext",B[B.MediaTrackPrevious=125]="MediaTrackPrevious",B[B.MediaStop=126]="MediaStop",B[B.MediaPlayPause=127]="MediaPlayPause",B[B.LaunchMediaPlayer=128]="LaunchMediaPlayer",B[B.LaunchMail=129]="LaunchMail",B[B.LaunchApp2=130]="LaunchApp2",B[B.Clear=131]="Clear",B[B.MAX_VALUE=132]="MAX_VALUE",(U=ej||(ej={}))[U.Hint=1]="Hint",U[U.Info=2]="Info",U[U.Warning=4]="Warning",U[U.Error=8]="Error",(W=eG||(eG={}))[W.Unnecessary=1]="Unnecessary",W[W.Deprecated=2]="Deprecated",(H=eQ||(eQ={}))[H.Inline=1]="Inline",H[H.Gutter=2]="Gutter",(z=eY||(eY={}))[z.UNKNOWN=0]="UNKNOWN",z[z.TEXTAREA=1]="TEXTAREA",z[z.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",z[z.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",z[z.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",z[z.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",z[z.CONTENT_TEXT=6]="CONTENT_TEXT",z[z.CONTENT_EMPTY=7]="CONTENT_EMPTY",z[z.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",z[z.CONTENT_WIDGET=9]="CONTENT_WIDGET",z[z.OVERVIEW_RULER=10]="OVERVIEW_RULER",z[z.SCROLLBAR=11]="SCROLLBAR",z[z.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",z[z.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",($=eX||(eX={}))[$.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",$[$.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",$[$.TOP_CENTER=2]="TOP_CENTER",(j=eJ||(eJ={}))[j.Left=1]="Left",j[j.Center=2]="Center",j[j.Right=4]="Right",j[j.Full=7]="Full",(G=eZ||(eZ={}))[G.Left=0]="Left",G[G.Right=1]="Right",G[G.None=2]="None",G[G.LeftOfInjectedText=3]="LeftOfInjectedText",G[G.RightOfInjectedText=4]="RightOfInjectedText",(Q=e1||(e1={}))[Q.Off=0]="Off",Q[Q.On=1]="On",Q[Q.Relative=2]="Relative",Q[Q.Interval=3]="Interval",Q[Q.Custom=4]="Custom",(Y=e0||(e0={}))[Y.None=0]="None",Y[Y.Text=1]="Text",Y[Y.Blocks=2]="Blocks",(X=e2||(e2={}))[X.Smooth=0]="Smooth",X[X.Immediate=1]="Immediate",(J=e4||(e4={}))[J.Auto=1]="Auto",J[J.Hidden=2]="Hidden",J[J.Visible=3]="Visible",(Z=e5||(e5={}))[Z.LTR=0]="LTR",Z[Z.RTL=1]="RTL",(ee=e7||(e7={}))[ee.Invoke=1]="Invoke",ee[ee.TriggerCharacter=2]="TriggerCharacter",ee[ee.ContentChange=3]="ContentChange",(et=e9||(e9={}))[et.File=0]="File",et[et.Module=1]="Module",et[et.Namespace=2]="Namespace",et[et.Package=3]="Package",et[et.Class=4]="Class",et[et.Method=5]="Method",et[et.Property=6]="Property",et[et.Field=7]="Field",et[et.Constructor=8]="Constructor",et[et.Enum=9]="Enum",et[et.Interface=10]="Interface",et[et.Function=11]="Function",et[et.Variable=12]="Variable",et[et.Constant=13]="Constant",et[et.String=14]="String",et[et.Number=15]="Number",et[et.Boolean=16]="Boolean",et[et.Array=17]="Array",et[et.Object=18]="Object",et[et.Key=19]="Key",et[et.Null=20]="Null",et[et.EnumMember=21]="EnumMember",et[et.Struct=22]="Struct",et[et.Event=23]="Event",et[et.Operator=24]="Operator",et[et.TypeParameter=25]="TypeParameter",(ei=e6||(e6={}))[ei.Deprecated=1]="Deprecated",(en=e8||(e8={}))[en.Hidden=0]="Hidden",en[en.Blink=1]="Blink",en[en.Smooth=2]="Smooth",en[en.Phase=3]="Phase",en[en.Expand=4]="Expand",en[en.Solid=5]="Solid",(er=e3||(e3={}))[er.Line=1]="Line",er[er.Block=2]="Block",er[er.Underline=3]="Underline",er[er.LineThin=4]="LineThin",er[er.BlockOutline=5]="BlockOutline",er[er.UnderlineThin=6]="UnderlineThin",(es=te||(te={}))[es.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",es[es.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",es[es.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",es[es.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eo=tt||(tt={}))[eo.None=0]="None",eo[eo.Same=1]="Same",eo[eo.Indent=2]="Indent",eo[eo.DeepIndent=3]="DeepIndent";class nx{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}nx.CtrlCmd=2048,nx.Shift=1024,nx.Alt=512,nx.WinCtrl=256;class nM extends i3{constructor(e){super(0);for(let t=0,i=e.length;t(!t.hasOwnProperty(i)&&(t[i]=e(i)),t[i])}(e=>new nM(e)),(ea=ti||(ti={}))[ea.Left=1]="Left",ea[ea.Center=2]="Center",ea[ea.Right=4]="Right",ea[ea.Full=7]="Full",(el=tn||(tn={}))[el.Left=1]="Left",el[el.Right=2]="Right",(eu=tr||(tr={}))[eu.Inline=1]="Inline",eu[eu.Gutter=2]="Gutter",(eh=ts||(ts={}))[eh.Both=0]="Both",eh[eh.Right=1]="Right",eh[eh.Left=2]="Left",eh[eh.None=3]="None";class nk{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let i=e.length;do{var n,r,s,o,a;if(this._prevMatchStartIndex+this._prevMatchLength===i||!(t=this._searchRegex.exec(e)))break;let l=t.index,u=t[0].length;if(l===this._prevMatchStartIndex&&u===this._prevMatchLength){if(0===u){(function(e,t,i){let n=e.charCodeAt(i);if(t2(n)&&i+165535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=l,this._prevMatchLength=u,!this._wordSeparators||(n=this._wordSeparators,r=e,s=i,function(e,t,i,n,r){if(0===n)return!0;let s=t.charCodeAt(n-1);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let i=t.charCodeAt(n);if(0!==e.get(i))return!0}return!1}(n,r,0,o=l,a=u)&&function(e,t,i,n,r){if(n+r===i)return!0;let s=t.charCodeAt(n+r);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let i=t.charCodeAt(n+r-1);if(0!==e.get(i))return!0}return!1}(n,r,s,o,a)))return t}while(t);return null}}function nO(e){!e()&&(e(),th(new tf("Assertion Failed")))}function nT(e,t){let i=0;for(;iString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`}(Array.from(l))}`,"g")),h=[],d=!1,c=0,g=0,m=0;e:for(let t=s;t<=o;t++){let i=e.getLineContent(t),n=i.length;u.reset(0);do if(r=u.next(i)){let e=r.index,s=r.index+r[0].length;e>0&&t2(i.charCodeAt(e-1))&&e--,s+1=1e3){d=!0;break e}h.push(new iX(t,e+1,t,s+1))}}while(r)}return{ranges:h,hasMore:d,ambiguousCharacterCount:c,invisibleCharacterCount:g,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let i=new nP(t);switch(i.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),r=i.ambiguousCharacters.getPrimaryConfusable(n),s=t6.getLocales().filter(e=>!t6.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(r),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class nP{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=t6.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of t8.codePoints)!nD(String.fromCodePoint(t))&&e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,r=!1;if(t)for(let e of t){var s;let t=e.codePointAt(0);let i=(s=e,t7.test(s));n=n||i,!i&&!this.ambiguousCharacters.isAmbiguous(t)&&!t8.isInvisibleCharacter(t)&&(r=!0)}return!n&&r?0:this.options.invisibleCharacters&&!nD(e)&&t8.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function nD(e){return" "===e||"\n"===e||" "===e}class nK{constructor(e,t,i){this.changes=e,this.moves=t,this.hitTimeout=i}}class nF{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class nq{static addRange(e,t){let i=0;for(;it))return new nq(e,t)}static ofLength(e){return new nq(0,e)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new tf(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new nq(this.start+e,this.endExclusive+e)}deltaStart(e){return new nq(this.start+e,this.endExclusive)}deltaEnd(e){return new nq(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tt)throw new tf(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),i=nB(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){let i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{let n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){let t=nV(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],i=0,n=0,r=null;for(;i=s.startLineNumber?r=new nH(r.startLineNumber,Math.max(r.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(r),r=s)}return null!==r&&t.push(r),new nz(t)}subtractFrom(e){let t=nU(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=nB(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new nz([e]);let n=[],r=e.startLineNumber;for(let e=t;er&&n.push(new nH(r,t.startLineNumber)),r=t.endLineNumberExclusive}return re.toString()).join(", ")}getIntersection(e){let t=[],i=0,n=0;for(;it.delta(e)))}}class n${static inverse(e,t,i){let n=[],r=1,s=1;for(let t of e){let e=new nj(new nH(r,t.original.startLineNumber),new nH(s,t.modified.startLineNumber),void 0);!e.modified.isEmpty&&n.push(e),r=t.original.endLineNumberExclusive,s=t.modified.endLineNumberExclusive}let o=new nj(new nH(r,t+1),new nH(s,i+1),void 0);return!o.modified.isEmpty&&n.push(o),n}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new n$(this.modified,this.original)}join(e){return new n$(this.original.join(e.original),this.modified.join(e.modified))}}class nj extends n${constructor(e,t,i){super(e,t),this.innerChanges=i}flip(){var e;return new nj(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}}class nG{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new nG(this.modifiedRange,this.originalRange)}}class nQ{computeDiff(e,t,i){var n;let r=new n0(e,t,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),s=[],o=null;for(let e of r.changes){let t,i;t=0===e.originalEndLineNumber?new nH(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new nH(e.originalStartLineNumber,e.originalEndLineNumber+1);let r=new nj(t,i=0===e.modifiedEndLineNumber?new nH(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new nH(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1),null===(n=e.charChanges)||void 0===n?void 0:n.map(e=>new nG(new iX(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new iX(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));o&&(o.modified.endLineNumberExclusive===r.modified.startLineNumber||o.original.endLineNumberExclusive===r.original.startLineNumber)&&(r=new nj(o.original.join(r.original),o.modified.join(r.modified),o.innerChanges&&r.innerChanges?o.innerChanges.concat(r.innerChanges):void 0),s.pop()),s.push(r),o=r}return nO(()=>nT(s,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class nZ{constructor(e,t,i,n,r,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=i,this.originalEndColumn=n,this.modifiedStartLineNumber=r,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,i){let n=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=i.getStartLineNumber(e.modifiedStart),l=i.getStartColumn(e.modifiedStart),u=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1);return new nZ(n,r,s,o,a,l,u,i.getEndColumn(e.modifiedStart+e.modifiedLength-1))}}class n1{constructor(e,t,i,n,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=n,this.charChanges=r}static createFromDiffResult(e,t,i,n,r,s,o){let a,l,u,h,d;if(0===t.originalLength?(a=i.getStartLineNumber(t.originalStart)-1,l=0):(a=i.getStartLineNumber(t.originalStart),l=i.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=n.getStartLineNumber(t.modifiedStart)-1,h=0):(u=n.getStartLineNumber(t.modifiedStart),h=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){let s=i.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=nY(s,a,r,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],i=t[0];for(let n=1,r=e.length;nMath.min(s,r.modifiedStart-(i.modifiedStart+i.modifiedLength))?(i.originalLength=r.originalStart+r.originalLength-i.originalStart,i.modifiedLength=r.modifiedStart+r.modifiedLength-i.modifiedStart):(t.push(r),i=r)}return t}(e)),d=[];for(let t=0,i=e.length;t1&&o>1;){let n=e.charCodeAt(i-2);if(n!==t.charCodeAt(o-2))break;i--,o--}(i>1||o>1)&&this._pushTrimWhitespaceCharChange(n,r+1,1,i,s+1,1,o)}{let i=n4(e,1),o=n4(t,1),a=e.length+1,l=t.length+1;for(;i=0;i--){let t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return -1}(e);return -1===i?t:i+2}function n5(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-t{i.push(n9.fromOffsetPairs(e?e.getEndExclusives():n6.zero,n?n.getStarts():new n6(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),i}static fromOffsetPairs(e,t){return new n9(new nq(e.offset1,t.offset1),new nq(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new n9(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new n9(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new n9(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new n9(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new n9(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(!!t&&!!i)return new n9(t,i)}getStarts(){return new n6(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new n6(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class n6{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}}n6.zero=new n6(0,0),n6.max=new n6(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class n8{isValid(){return!0}}n8.instance=new n8;class n3{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new tf("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&l>0&&3===s.get(a-1,l-1)&&(u+=o.get(a-1,l-1)),u+=n?n(a,l):1):u=-1;let c=Math.max(h,d,u);if(c===u){let e=a>0&&l>0?o.get(a-1,l-1):0;o.set(a,l,e+1),s.set(a,l,3)}else c===h?(o.set(a,l,0),s.set(a,l,1)):c===d&&(o.set(a,l,0),s.set(a,l,2));r.set(a,l,c)}let a=[],l=e.length,u=t.length;function h(e,t){(e+1!==l||t+1!==u)&&a.push(new n9(new nq(e+1,l),new nq(t+1,u))),l=e,u=t}let d=e.length-1,c=t.length-1;for(;d>=0&&c>=0;)3===s.get(d,c)?(h(d,c),d--,c--):1===s.get(d,c)?d--:c--;return h(-1,-1),a.reverse(),new n7(a,!1)}}class rr{compute(e,t,i=n8.instance){if(0===e.length||0===t.length)return n7.trivial(e,t);function n(i,n){for(;ie.length||c>t.length)continue;let g=n(d,c);s.set(a,g);let m=d===r?o.get(a+1):o.get(a-1);if(o.set(a,g!==d?new rs(m,d,c,g-d):m),s.get(a)===e.length&&s.get(a)-a===t.length)break t}}let l=o.get(a),u=[],h=e.length,d=t.length;for(;;){let e=l?l.x+l.length:0,t=l?l.y+l.length:0;if((e!==h||t!==d)&&u.push(new n9(new nq(e,h),new nq(t,d))),!l)break;h=l.x,d=l.y,l=l.prev}return u.reverse(),new n7(u,!1)}}class rs{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class ro{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class ra{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class rl{constructor(e,t){this.uri=e,this.value=t}}class ru{constructor(e,t){if(this[to]="ResourceMap",e instanceof ru)this.map=new Map(e.map),this.toKey=null!=t?t:ru.defaultToKey;else{if(Array.isArray(e))for(let[i,n]of(this.map=new Map,this.toKey=null!=t?t:ru.defaultToKey,e))this.set(i,n);else this.map=new Map,this.toKey=null!=e?e:ru.defaultToKey}}set(e,t){return this.map.set(this.toKey(e),new rl(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[i,n]of(void 0!==t&&(e=e.bind(t)),this.map))e(n.value,n.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(to=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}ru.defaultToKey=e=>e.toString(),ta=Symbol.toStringTag,Symbol.iterator;class rh{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);!i&&(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){let i=this.map.get(e);if(!!i)i.delete(t),0===i.size&&this.map.delete(e)}forEach(e,t){let i=this.map.get(e);if(!!i)i.forEach(t)}get(e){let t=this.map.get(e);return t?t:new Set}}class rd{constructor(e,t,i){this.lines=e,this.considerWhitespaceChanges=i,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let n=!1;t.start>0&&t.endExclusive>=e.length&&(t=new nq(t.start-1,t.endExclusive),n=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=rf(e>0?this.elements[e-1]:-1),i=rf(et<=e);return new iY(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return iX.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!rc(this.elements[e]))return;let t=e;for(;t>0&&rc(this.elements[t-1]);)t--;let i=e;for(;it<=e.start))&&void 0!==t?t:0;return new nq(n,null!==(i=function(e,t){let i=nU(e,t);return i===e.length?void 0:e[i]}(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==i?i:this.elements.length)}}function rc(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let rg={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function rm(e){return rg[e]}function rf(e){if(10===e)return 7;if(13===e)return 6;if(rt(e))return 5;else if(e>=97&&e<=122)return 0;else if(e>=65&&e<=90)return 1;else if(e>=48&&e<=57)return 2;else if(-1===e)return 3;else return 4}function rp(e,t,i){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let n=new rr().compute(new rd([e],new nq(0,1),!1),new rd([t],new nq(0,1),!1),i),r=0;for(let t of n9.invert(n.diffs,e.length))t.seq1Range.forEach(t=>{!rt(e.charCodeAt(t))&&r++});let s=function(t){let i=0;for(let n=0;nt.length?e:t);return r/s>.6&&s>10}function rb(e,t,i){let n=i;return n=function(e,t,i){if(0===i.length)return i;let n=[];n.push(i[0]);for(let r=1;r0&&(o=o.delta(r))}r.push(o)}return n.length>0&&r.push(n[n.length-1]),r}(e,t,n),n=function(e,t,i){if(!e.getBoundaryScore||!t.getBoundaryScore)return i;for(let n=0;n0?i[n-1]:void 0,s=i[n],o=n+1=n.start&&e.seq2Range.start-s>=r.start&&i.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=u,a=n)}return e.delta(a)}class rv{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:ry(this.lines[e-1]);return 1e3-(t+(e===this.lines.length?0:ry(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function ry(e){let t=0;for(;te===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,r=e.length;ne===t))return new nK([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new nK([new nj(new nH(1,e.length+1),new nH(1,t.length+1),[new nG(new iX(1,1,e.length,e[0].length+1),new iX(1,1,t.length,t[0].length+1))])],[],!1);let n=0===i.maxComputationTimeMs?n8.instance:new n3(i.maxComputationTimeMs),r=!i.ignoreTrimWhitespace,s=new Map;function o(e){let t=s.get(e);return void 0===t&&(t=s.size,s.set(e,t)),t}let a=e.map(e=>o(e.trim())),l=t.map(e=>o(e.trim())),u=new rv(a,e),h=new rv(l,t),d=(()=>u.length+h.length<1700?this.dynamicProgrammingDiffing.compute(u,h,n,(i,n)=>e[i]===t[n]?0===t[n].length?.1:1+Math.log(1+t[n].length):.99):this.myersDiffingAlgorithm.compute(u,h))(),c=d.diffs,g=d.hitTimeout;c=rb(u,h,c),c=function(e,t,i){let n,r=i;if(0===r.length)return r;let s=0;do{n=!1;let t=[r[0]];for(let i=1;i5)||!!(i.seq1Range.length+i.seq2Range.length>5))||!1})(o,s)?(n=!0,t[t.length-1]=t[t.length-1].join(s)):t.push(s)}r=t}while(s++<10&&n);return r}(u,0,c);let m=[],f=i=>{if(!!r)for(let s=0;si.seq1Range.start-p==i.seq2Range.start-b),f(i.seq1Range.start-p),p=i.seq1Range.endExclusive,b=i.seq2Range.endExclusive;let s=this.refineDiff(e,t,i,n,r);for(let e of(s.hitTimeout&&(g=!0),s.mappings))m.push(e)}f(e.length-p);let _=rL(m,e,t),v=[];return i.computeMoves&&(v=this.computeMoves(_,e,t,a,l,n,r)),nO(()=>{function i(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let i=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>i.length+1)&&!0}function n(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)&&!0}for(let r of _){if(!r.innerChanges)return!1;for(let n of r.innerChanges)if(!(i(n.modifiedRange.getStartPosition(),t)&&i(n.modifiedRange.getEndPosition(),t)&&i(n.originalRange.getStartPosition(),e)&&i(n.originalRange.getEndPosition(),e)))return!1;if(!n(r.modified,t)||!n(r.original,e))return!1}return!0}),new nK(_,v,g)}computeMoves(e,t,i,n,r,s,o){return(function(e,t,i,n,r,s){let{moves:o,excludedChanges:a}=function(e,t,i,n){let r=[],s=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new ri(e.original,t,e)),o=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new ri(e.modified,i,e))),a=new Set;for(let e of s){let t,i=-1;for(let n of o){let r=e.computeSimilarity(n);r>i&&(i=r,t=n)}if(i>.9&&t&&(o.delete(t),r.push(new n$(e.range,t.range)),a.add(e.source),a.add(t.source)),!n.isValid())break}return{moves:r,excludedChanges:a}}(e,t,i,s);return s.isValid()?(!function(e,t){for(let i of t)e.push(i)}(o,function(e,t,i,n,r,s){var o;let a=[],l=new rh;for(let i of e)for(let e=i.original.startLineNumber;ee.modified.startLineNumber,iZ)),e)){let e=[];for(let n=t.modified.startLineNumber;n{for(let i of e)if(i.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&i.modifiedLineRange.endLineNumberExclusive+1===r.endLineNumberExclusive){i.originalLineRange=new nH(i.originalLineRange.startLineNumber,t.endLineNumberExclusive),i.modifiedLineRange=new nH(i.modifiedLineRange.startLineNumber,r.endLineNumberExclusive),s.push(i);return}let i={modifiedLineRange:r,originalLineRange:t};u.push(i),s.push(i)}),e=s}if(!s.isValid())return[]}u.sort((o=iJ(e=>e.modifiedLineRange.length,iZ),(e,t)=>-o(e,t)));let h=new nz,d=new nz;for(let e of u){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,i=h.subtractFrom(e.modifiedLineRange),n=d.subtractFrom(e.originalLineRange).getWithDelta(t);for(let e of i.getIntersection(n).ranges){if(e.length<3)continue;let i=e.delta(-t);a.push(new n$(i,e)),h.addRange(e),d.addRange(i)}}a.sort(iJ(e=>e.original.startLineNumber,iZ));let c=new nW(e);for(let t=0;te.original.startLineNumber<=l.original.startLineNumber),g=nV(e,e=>e.modified.startLineNumber<=l.modified.startLineNumber),m=Math.max(l.original.startLineNumber-u.original.startLineNumber,l.modified.startLineNumber-g.modified.startLineNumber),f=c.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumbern.length||t>r.length||h.contains(t)||d.contains(e)||!rp(n[e-1],r[t-1],s))break}for(i>0&&(d.addRange(new nH(l.original.startLineNumber-i,l.original.startLineNumber)),h.addRange(new nH(l.modified.startLineNumber-i,l.modified.startLineNumber))),o=0;on.length||t>r.length||h.contains(t)||d.contains(e)||!rp(n[e-1],r[t-1],s))break}o>0&&(d.addRange(new nH(l.original.endLineNumberExclusive,l.original.endLineNumberExclusive+o)),h.addRange(new nH(l.modified.endLineNumberExclusive,l.modified.endLineNumberExclusive+o))),(i>0||o>0)&&(a[t]=new n$(new nH(l.original.startLineNumber-i,l.original.endLineNumberExclusive+o),new nH(l.modified.startLineNumber-i,l.modified.endLineNumberExclusive+o)))}return a}(e.filter(e=>!a.has(e)),n,r,t,i,s)),o=function(e,t){let i=new nW(e);return t=t.filter(t=>{let n=i.findLastMonotonous(e=>e.original.endLineNumberExclusivee.modified.endLineNumberExclusivee.original.startLineNumber,iZ));let t=[e[0]];for(let i=1;i=0&&o>=0&&s+o<=2){t[t.length-1]=n.join(r);continue}t.push(r)}return t}(o)).filter(e=>e.original.toOffsetRange().slice(t).map(e=>e.trim()).join("\n").length>=10))):[]})(e,t,i,n,r,s).map(e=>{let n=rL(this.refineDiff(t,i,new n9(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o).mappings,t,i,!0);return new nF(e,n)})}refineDiff(e,t,i,n,r){let s=new rd(e,i.seq1Range,r),o=new rd(t,i.seq2Range,r),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,n):this.myersDiffingAlgorithm.compute(s,o,n),l=a.diffs;return l=rb(s,o,l),l=function(e,t,i){let n=[];for(let e of i){let t=n[n.length-1];if(!t){n.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?n[n.length-1]=new n9(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):n.push(e)}return n}(0,0,l=function(e,t,i){let n,r=[];function s(){if(!n)return;let e=n.s1Range.length-n.deleted;n.s2Range.length,n.added,Math.max(n.deleted,n.added)+(n.count-1)>e&&r.push(new n9(n.s1Range,n.s2Range)),n=void 0}for(let r of i){function o(e,t){var i,o,a,l;if(!n||!n.s1Range.containsRange(e)||!n.s2Range.containsRange(t)){if(n&&!(n.s1Range.endExclusive0||t.length>0;){let n;let r=e[0],s=t[0];n=r&&(!s||r.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=n.seq1Range.start?i[i.length-1]=i[i.length-1].join(n):i.push(n)}return i}(i,r)}(s,o,l)),{mappings:(l=function(e,t,i){let n,r=i;if(0===r.length)return r;let s=0;do{n=!1;let i=[r[0]];for(let s=1;s5||r.length>500)return!1;let s=e.getText(r).trim();if(s.length>20||s.split(/\r\n|\r|\n/).length>1)return!1;let l=e.countLinesIn(i.seq1Range),u=i.seq1Range.length,h=t.countLinesIn(i.seq2Range),d=i.seq2Range.length,c=e.countLinesIn(n.seq1Range),g=n.seq1Range.length,m=t.countLinesIn(n.seq2Range),f=n.seq2Range.length;function p(e){return Math.min(e,130)}return!!(Math.pow(Math.pow(p(40*l+u),1.5)+Math.pow(p(40*h+d),1.5),1.5)+Math.pow(Math.pow(p(40*c+g),1.5)+Math.pow(p(40*m+f),1.5),1.5)>74184.96480721243)||!1})(a,o)?(n=!0,i[i.length-1]=i[i.length-1].join(o)):i.push(o)}r=i}while(s++<10&&n);let o=[];return!function(e,t){for(let i=0;i{let r=i;function s(e){return e.length>0&&e.trim().length<=3&&i.seq1Range.length+i.seq2Range.length>100}let a=e.extendToFullLines(i.seq1Range),l=e.getText(new nq(a.start,i.seq1Range.start));s(l)&&(r=r.deltaStart(-l.length));let u=e.getText(new nq(i.seq1Range.endExclusive,a.endExclusive));s(u)&&(r=r.deltaEnd(u.length));let h=n9.fromOffsetPairs(t?t.getEndExclusives():n6.zero,n?n.getStarts():n6.max),d=r.intersect(h);o.push(d)}),o}(s,o,l)).map(e=>new nG(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range))),hitTimeout:a.hitTimeout}}}function rL(e,t,i,n=!1){let r=[];for(let n of function*(e,t){let i,n;for(let r of e)void 0!==n&&t(n,r)?i.push(r):(i&&(yield i),i=[r]),n=r;i&&(yield i)}(e.map(e=>(function(e,t,i){let n=0,r=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+n<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+n<=e.modifiedRange.endLineNumber&&(r=-1),e.modifiedRange.startColumn-1>=i[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(n=1);let s=new nH(e.originalRange.startLineNumber+n,e.originalRange.endLineNumber+1+r);return new nj(s,new nH(e.modifiedRange.startLineNumber+n,e.modifiedRange.endLineNumber+1+r),[e])})(e,t,i)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=n[0],t=n[n.length-1];r.push(new nj(e.original.join(t.original),e.modified.join(t.modified),n.map(e=>e.innerChanges[0])))}return nO(()=>(!!n||!(r.length>0)||r[0].original.startLineNumber===r[0].modified.startLineNumber)&&nT(r,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivenew nQ,getDefault:()=>new rC};function rN(e,t){let i=Math.pow(10,t);return Math.round(e*i)/i}class rE{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=rN(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class rS{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rN(Math.max(Math.min(1,t),0),3),this.l=rN(Math.max(Math.min(1,i),0),3),this.a=rN(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,n=e.b/255,r=e.a,s=Math.max(t,i,n),o=Math.min(t,i,n),a=0,l=0,u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(i-n)/h+(i1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t,i,n;let r=e.h/360,{s,l:o,a}=e;if(0===s)t=i=n=o;else{let e=o<.5?o*(1+s):o+s-o*s,a=2*o-e;t=rS._hue2rgb(a,e,r+1/3),i=rS._hue2rgb(a,e,r),n=rS._hue2rgb(a,e,r-1/3)}return new rE(Math.round(255*t),Math.round(255*i),Math.round(255*n),a)}}class rR{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rN(Math.max(Math.min(1,t),0),3),this.v=rN(Math.max(Math.min(1,i),0),3),this.a=rN(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let i=e.r/255,n=e.g/255,r=e.b/255,s=Math.max(i,n,r),o=s-Math.min(i,n,r);return new rR(Math.round(60*(t=0===o?0:s===i?((n-r)/o%6+6)%6:s===n?(r-i)/o+2:(i-n)/o+4)),0===s?0:o/s,s,e.a)}static toRGBA(e){let{h:t,s:i,v:n,a:r}=e,s=n*i,o=s*(1-Math.abs(t/60%2-1)),a=n-s,[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),new rE(l=Math.round((l+a)*255),u=Math.round((u+a)*255),h=Math.round((h+a)*255),r)}}class rA{static fromHex(e){return rA.Format.CSS.parseHex(e)||rA.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:rS.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:rR.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof rE)this.rgba=e;else if(e instanceof rS)this._hsla=e,this.rgba=rS.toRGBA(e);else if(e instanceof rR)this._hsva=e,this.rgba=rR.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&rE.equals(this.rgba,e.rgba)&&rS.equals(this.hsla,e.hsla)&&rR.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=rA._relativeLuminanceForComponent(this.rgba.r),t=rA._relativeLuminanceForComponent(this.rgba.g),i=rA._relativeLuminanceForComponent(this.rgba.b);return rN(.2126*e+.7152*t+.0722*i,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){let t=this.getRelativeLuminance();return t>e.getRelativeLuminance()}isDarkerThan(e){let t=this.getRelativeLuminance();return tthis._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;i<1?(i=1,n=!0):i>e&&(i=e,n=!0)}return n?{lineNumber:t,column:i}:e}}class rK{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new rD(iV.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!!this._models[e])this._models[e].onEvents(t)}acceptRemovedModel(e){if(!!this._models[e])delete this._models[e]}computeUnicodeHighlights(e,t,i){return rP(this,void 0,void 0,function*(){let n=this._getModel(e);return n?nI.computeUnicodeHighlights(n,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,i,n){return rP(this,void 0,void 0,function*(){let r=this._getModel(e),s=this._getModel(t);return r&&s?rK.computeDiff(r,s,i,n):null})}static computeDiff(e,t,i,n){let r="advanced"===n?rw.getDefault():rw.getLegacy(),s=e.getLinesContent(),o=t.getLinesContent(),a=r.computeDiff(s,o,i);function l(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:l(a.changes),moves:a.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,l(e.changes)])}}static _modelsAreIdentical(e,t){let i=e.getLineCount();if(i!==t.getLineCount())return!1;for(let n=1;n<=i;n++){let i=e.getLineContent(n);if(i!==t.getLineContent(n))return!1}return!0}computeMoreMinimalEdits(e,t,i){return rP(this,void 0,void 0,function*(){let n,r=this._getModel(e);if(!r)return t;let s=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return iX.compareRangesUsingStarts(e.range,t.range);let i=e.range?0:1;return i-(t.range?0:1)});let o=0;for(let e=1;erK._diffLimit){s.push({range:e,text:h});continue}let o=(a=t,l=h,u=i,new iy(new ip(a),new ip(l)).ComputeDiff(u).changes),c=r.offsetAt(iX.lift(e).getStartPosition());for(let e of o){let t=r.positionAt(c+e.originalStart),i=r.positionAt(c+e.originalStart+e.originalLength),n={text:h.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};r.getValueInRange(n.range)!==n.text&&s.push(n)}}return"number"==typeof n&&s.push({eol:n,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(e){return rP(this,void 0,void 0,function*(){var t;let i=this._getModel(e);if(!i)return null;return(t=i)&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?ns.computeLinks(t):[]})}computeDefaultDocumentColors(e){return rP(this,void 0,void 0,function*(){var t;let i=this._getModel(e);if(!i)return null;return(t=i)&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],i=rI(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let n of i){let i;let r=n.filter(e=>void 0!==e),s=r[1],o=r[2];if(!!o){if("rgb"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;i=rO(rk(e,n),rI(o,t),!1)}else if("rgba"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=rO(rk(e,n),rI(o,t),!0)}else if("hsl"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;i=rT(rk(e,n),rI(o,t),!1)}else if("hsla"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=rT(rk(e,n),rI(o,t),!0)}else"#"===s&&(i=function(e,t){if(!e)return;let i=rA.Format.CSS.parseHex(t);if(!!i)return{range:e,color:rM(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}(rk(e,n),s+o));i&&t.push(i)}}return t}(t):[]})}textualSuggest(e,t,i,n){return rP(this,void 0,void 0,function*(){let r=new tR,s=new RegExp(i,n),o=new Set;i:for(let i of e){let e=this._getModel(i);if(!!e)for(let i of e.words(s)){if(i!==t&&!!isNaN(Number(i))){if(o.add(i),o.size>rK._suggestionsLimit)break i}}}return{words:Array.from(o),duration:r.elapsed()}})}computeWordRanges(e,t,i,n){return rP(this,void 0,void 0,function*(){let r=this._getModel(e);if(!r)return Object.create(null);let s=new RegExp(i,n),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},n={};for(let t of e)n[t]=i(t);return n}(i,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve(tP(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}rK._diffLimit=1e5,rK._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:nu,Emitter:tT,KeyCode:e$,KeyMod:nx,Position:iY,Range:iX,Selection:nC,SelectionDirection:e5,MarkerSeverity:ej,MarkerTag:eG,Uri:iV,Token:nR});let rF=!1;globalThis.onmessage=e=>{!rF&&!function(e){if(rF)return;rF=!0;let t=new il(e=>{globalThis.postMessage(e)},e=>new rK(e,null));globalThis.onmessage=e=>{t.onmessage(e.data)}}(null)}})(); \ No newline at end of file diff --git a/pr-preview/pr-3/img/BCID_H_rgb_pos.png b/pr-preview/pr-3/img/BCID_H_rgb_pos.png new file mode 100644 index 0000000..07e4176 Binary files /dev/null and b/pr-preview/pr-3/img/BCID_H_rgb_pos.png differ diff --git a/pr-preview/pr-3/img/BCID_H_rgb_rev.png b/pr-preview/pr-3/img/BCID_H_rgb_rev.png new file mode 100644 index 0000000..d4b812e Binary files /dev/null and b/pr-preview/pr-3/img/BCID_H_rgb_rev.png differ diff --git a/pr-preview/pr-3/img/cc-by.png b/pr-preview/pr-3/img/cc-by.png new file mode 100644 index 0000000..fbc6ccf Binary files /dev/null and b/pr-preview/pr-3/img/cc-by.png differ diff --git a/pr-preview/pr-3/img/docusaurus.png b/pr-preview/pr-3/img/docusaurus.png new file mode 100644 index 0000000..f458149 Binary files /dev/null and b/pr-preview/pr-3/img/docusaurus.png differ diff --git a/pr-preview/pr-3/img/favicon.ico b/pr-preview/pr-3/img/favicon.ico new file mode 100644 index 0000000..1841396 Binary files /dev/null and b/pr-preview/pr-3/img/favicon.ico differ diff --git a/pr-preview/pr-3/img/favicon.png b/pr-preview/pr-3/img/favicon.png new file mode 100644 index 0000000..20742f9 Binary files /dev/null and b/pr-preview/pr-3/img/favicon.png differ diff --git a/pr-preview/pr-3/img/gear-tools.svg b/pr-preview/pr-3/img/gear-tools.svg new file mode 100644 index 0000000..179298d --- /dev/null +++ b/pr-preview/pr-3/img/gear-tools.svg @@ -0,0 +1,100 @@ + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + + + + + + + + + diff --git a/pr-preview/pr-3/img/logo.svg b/pr-preview/pr-3/img/logo.svg new file mode 100644 index 0000000..9db6d0d --- /dev/null +++ b/pr-preview/pr-3/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-3/img/opensource-icon.svg b/pr-preview/pr-3/img/opensource-icon.svg new file mode 100644 index 0000000..f80e731 --- /dev/null +++ b/pr-preview/pr-3/img/opensource-icon.svg @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/pr-preview/pr-3/img/undraw-code-review.svg b/pr-preview/pr-3/img/undraw-code-review.svg new file mode 100644 index 0000000..d55fc31 --- /dev/null +++ b/pr-preview/pr-3/img/undraw-code-review.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-3/index.html b/pr-preview/pr-3/index.html new file mode 100644 index 0000000..06229f8 --- /dev/null +++ b/pr-preview/pr-3/index.html @@ -0,0 +1 @@ +Welcome to Permitting Interoperability Exchange Specification | Permitting Interoperability Exchange Specification

    Permitting Interoperability Exchange Specification

    An easy as pie way to exchange standardized permitting information. 🥧

    Easy to Use

    PIES was designed from the ground up to be easily understood and installed in your application quickly.

    Interoperable

    PIES lets you focus on your data. Let your systems communicate to each other with ease.

    Open Source

    Want to improve PIES? We welcome your contributions!

    \ No newline at end of file diff --git a/pr-preview/pr-3/json.worker.js b/pr-preview/pr-3/json.worker.js new file mode 100644 index 0000000..ac556ac --- /dev/null +++ b/pr-preview/pr-3/json.worker.js @@ -0,0 +1 @@ +(()=>{"use strict";let e,t,n,r,i,s,o;var a,l,u,h,c,d,f,m,g,p,v,b,y,_,C,S,w,L,x,E,N,A,k,R,T,M,O,I,P,F,V,D,q,K,j,U,B,$,W,H,z,G,J,X,Q,Z,Y,ee,et,en,er,ei,es,eo,ea,el,eu,eh,ec,ed,ef,em,eg,ep,ev,eb,ey,e_,eC,eS,ew,eL,ex,eE,eN,eA,ek,eR,eT,eM,eO,eI,eP,eF,eV,eD,eq,eK,ej,eU,eB,e$,eW,eH,ez,eG,eJ,eX,eQ,eZ,eY,e1,e0,e2,e4,e5,e7,e9,e6,e8,e3,te,tt,tn,tr,ti,ts,to,ta,tl,tu,th,tc,td,tf,tm,tg,tp,tv,tb,ty,t_,tC,tS,tw,tL,tx,tE,tN,tA,tk,tR,tT,tM,tO,tI,tP,tF,tV,tD,tq,tK,tj,tU,tB,t$,tW,tH,tz,tG,tJ,tX,tQ,tZ,tY,t1,t0,t2,t4,t5,t7,t9,t6,t8,t3,ne,nt,nn,nr,ni,ns,no,na,nl,nu,nh,nc,nd,nf,nm,ng,np,nv,nb,ny,n_,nC,nS,nw,nL,nx,nE,nN,nA,nk,nR,nT,nM,nO,nI,nP,nF,nV,nD,nq,nK,nj,nU,nB,n$,nW,nH,nz,nG,nJ,nX,nQ,nZ,nY,n1,n0,n2,n4,n5,n7,n9,n6,n8,n3,re,rt,rn,rr,ri,rs={};rs.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();let ro=new class e{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(rc.isErrorNoTelemetry(e))throw new rc(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function ra(e){!function(e){return e instanceof rh||e instanceof Error&&e.name===ru&&e.message===ru}(e)&&ro.onUnexpectedError(e)}function rl(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:rc.isErrorNoTelemetry(e)}}return e}let ru="Canceled";class rh extends Error{constructor(){super(ru),this.name=this.message}}class rc extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof rc)return e;let t=new rc;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class rd extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,rd.prototype)}}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let n=Object.freeze([]);function*r(e){yield e}e.empty=function(){return n},e.single=r;e.wrap=function(e){return t(e)?e:r(e)};e.from=function(e){return e||n};e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]};e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done};e.first=function(e){return e[Symbol.iterator]().next().value};e.some=function(e,t){for(let n of e)if(t(n))return!0;return!1};e.find=function(e,t){for(let n of e)if(t(n))return n};e.filter=function*(e,t){for(let n of e)t(n)&&(yield n)};e.map=function*(e,t){let n=0;for(let r of e)yield t(r,n++)};e.concat=function*(...e){for(let t of e)for(let e of t)yield e};e.reduce=function(e,t,n){let r=n;for(let n of e)r=t(r,n);return r};e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);ti}]}}(ts||(ts={}));let rf=null;function rm(e){return null==rf||rf.trackDisposable(e),e}function rg(e){null==rf||rf.markAsDisposed(e)}function rp(e,t){null==rf||rf.setParent(e,t)}function rv(e){if(ts.is(e)){let t=[];for(let n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function rb(e){let t=rm({dispose:function(e){let t;let n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments),t)}}(()=>{rg(t),e()})});return t}class ry{constructor(){this._toDispose=new Set,this._isDisposed=!1,rm(this)}dispose(){if(!this._isDisposed)rg(this),this._isDisposed=!0,this.clear()}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{rv(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return rp(e,this),this._isDisposed?!ry.DISABLE_DISPOSED_WARNING&&console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){if(!!e)this._toDispose.has(e)&&(this._toDispose.delete(e),rp(e,null))}}ry.DISABLE_DISPOSED_WARNING=!1;class r_{constructor(){this._store=new ry,rm(this),rp(this._store,this)}dispose(){rg(this),this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}r_.None=Object.freeze({dispose(){}}),Symbol.iterator;class rC{constructor(e){this.element=e,this.next=rC.Undefined,this.prev=rC.Undefined}}rC.Undefined=new rC(void 0);class rS{constructor(){this._first=rC.Undefined,this._last=rC.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===rC.Undefined}clear(){let e=this._first;for(;e!==rC.Undefined;){let t=e.next;e.prev=rC.Undefined,e.next=rC.Undefined,e=t}this._first=rC.Undefined,this._last=rC.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new rC(e);if(this._first===rC.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{!r&&(r=!0,this._remove(n))}}shift(){if(this._first!==rC.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==rC.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==rC.Undefined&&e.next!==rC.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===rC.Undefined&&e.next===rC.Undefined?(this._first=rC.Undefined,this._last=rC.Undefined):e.next===rC.Undefined?(this._last=this._last.prev,this._last.next=rC.Undefined):e.prev===rC.Undefined&&(this._first=this._first.next,this._first.prev=rC.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==rC.Undefined;)yield e.element,e=e.next}}let rw=globalThis.performance&&"function"==typeof globalThis.performance.now;class rL{static create(e){return new rL(e)}constructor(e){this._now=rw&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}!function(e){function t(e){}e.None=()=>r_.None;function n(e){return(t,n=null,r)=>{let i,s=!1;return i=e(e=>s?void 0:(i?i.dispose():s=!0,t.call(n,e)),null,r),s&&i.dispose(),i}}function r(e,t,n){return s((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i),n)}e.defer=function(e,t){return o(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=n,e.map=r;function i(e,t,n){return s((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i),n)}e.forEach=function(e,t,n){return s((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i),n)},e.filter=i;e.signal=function(e){return e};e.any=function(...e){return(t,n=null,r)=>(function(e,t){return t instanceof Array?t.push(e):t&&t.add(e),e})(function(...e){let t=rb(()=>rv(e));return!function(e,t){if(!!rf)for(let n of e)rf.setParent(n,t)}(e,t),t}(...e.map(e=>e(e=>t.call(n,e)))),r)};function s(e,n){let r;let i={onWillAddFirstListener(){r=e(s.fire,s)},onDidRemoveLastListener(){null==r||r.dispose()}};!n&&t(i);let s=new rR(i);return null==n||n.add(s),s.event}e.reduce=function(e,t,n,i){let s=n;return r(e,e=>s=t(s,e),i)};function o(e,n,r=100,i=!1,s=!1,a,l){let u,h,c,d;let f=0,m={leakWarningThreshold:a,onWillAddFirstListener(){u=e(e=>{f++,c=n(c,e),i&&!d&&(g.fire(c),c=void 0),h=()=>{let e=c;c=void 0,d=void 0,(!i||f>1)&&g.fire(e),f=0},"number"==typeof r?(clearTimeout(d),d=setTimeout(h,r)):void 0===d&&(d=0,queueMicrotask(h))})},onWillRemoveListener(){s&&f>0&&(null==h||h())},onDidRemoveLastListener(){h=void 0,u.dispose()}};!l&&t(m);let g=new rR(m);return null==l||l.add(g),g.event}e.debounce=o;e.accumulate=function(t,n=0,r){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],n,void 0,!0,void 0,r)};e.latch=function(e,t=(e,t)=>e===t,n){let r,s=!0;return i(e,e=>{let n=s||!t(e,r);return s=!1,r=e,n},n)};e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,e=>!n(e),r)]};e.buffer=function(e,t=!1,n=[],r){let i=n.slice(),s=e(e=>{i?i.push(e):a.fire(e)});r&&r.add(s);let o=()=>{null==i||i.forEach(e=>a.fire(e)),i=null},a=new rR({onWillAddFirstListener(){!s&&(s=e(e=>a.fire(e)),r&&r.add(s))},onDidAddFirstListener(){i&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return r&&r.add(a),a.event};e.chain=function(e,t){return(n,r,i)=>{let s=t(new l);return e(function(e){let t=s.evaluate(e);t!==a&&n.call(r,t)},void 0,i)}};let a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:a),this}reduce(e,t){let n=t;return this.steps.push(t=>n=e(n,t)),this}latch(e=(e,t)=>e===t){let t,n=!0;return this.steps.push(r=>{let i=n||!e(r,t);return n=!1,t=r,i?r:a}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new rR({onWillAddFirstListener:()=>e.on(t,r),onDidRemoveLastListener:()=>e.removeListener(t,r)});return i.event};e.fromDOMEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new rR({onWillAddFirstListener:()=>e.addEventListener(t,r),onDidRemoveLastListener:()=>e.removeEventListener(t,r)});return i.event};e.toPromise=function(e){return new Promise(t=>n(e)(t))};e.fromPromise=function(e){let t=new rR;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event};e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))};e.runAndSubscribeWithStore=function(e,t){let n=null;function r(e){null==n||n.dispose(),t(e,n=new ry)}r(void 0);let i=e(e=>r(e));return rb(()=>{i.dispose(),null==n||n.dispose()})};class u{constructor(e,n){this._observable=e,this._counter=0,this._hasChanged=!1;let r={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};!n&&t(r),this.emitter=new rR(r),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new u(e,t).emitter.event};e.fromObservableLight=function(e){return t=>{let n=0,r=!1,i={beginUpdate(){n++},endUpdate(){0==--n&&(e.reportChanges(),r&&(r=!1,t()))},handlePossibleChange(){},handleChange(){r=!0}};return e.addObserver(i),e.reportChanges(),{dispose(){e.removeObserver(i)}}}}}(to||(to={}));class rx{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${rx._idPool++}`,rx.all.add(this)}start(e){this._stopWatch=new rL,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}rx.all=new Set,rx._idPool=0;class rE{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let n=this.threshold;if(n<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class rN{static create(){var e;return new rN(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class rA{constructor(e){this.value=e}}let rk=(e,t)=>{if(e instanceof rA)t(e);else for(let n=0;n{var r,i,s,o,a;let l,u;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),r_.None;if(this._disposed)return r_.None;t&&(e=e.bind(t));let h=new rA(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(h.stack=rN.create(),l=this._leakageMon.check(h.stack,this._size+1)),this._listeners?this._listeners instanceof rA?(null!==(a=this._deliveryQueue)&&void 0!==a||(this._deliveryQueue=new rT),this._listeners=[this._listeners,h]):this._listeners.push(h):(null===(i=null===(r=this._options)||void 0===r?void 0:r.onWillAddFirstListener)||void 0===i||i.call(r,this),this._listeners=h,null===(o=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===o||o.call(s,this)),this._size++;let c=rb(()=>{null==l||l(),this._removeListener(h)});return n instanceof ry?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}_removeListener(e){var t,n,r,i;if(null===(n=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===n||n.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(i=null===(r=this._options)||void 0===r?void 0:r.onDidRemoveLastListener)||void 0===i||i.call(r,this),this._size=0;return}let s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;let a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}class rT{constructor(){this.i=-1,this.end=0}enqueue(e,t,n){this.i=0,this.end=n,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}Object.prototype.hasOwnProperty;function rM(e){let t=[];for(let n of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[n]&&t.push(n);return t}let rO="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function rI(e,t,...n){var r,i;let s;return r=t,s=0===(i=n).length?r:r.replace(/\{(\d+)\}/g,(e,t)=>{let n=i[t[0]],r=e;return"string"==typeof n?r=n:("number"==typeof n||"boolean"==typeof n||null==n)&&(r=String(n)),r}),rO&&(s="\uFF3B"+s.replace(/[aouei]/g,"$&$&")+"\uFF3D"),s}let rP=!1,rF=!1,rV=!1,rD=!1,rq=!1,rK=!1,rj=!1,rU=!1;let rB="en";let r$="object"==typeof self?self:"object"==typeof rs.g?rs.g:{};void 0!==r$.vscode&&void 0!==r$.vscode.process?i=r$.vscode.process:"undefined"!=typeof process&&(i=process);let rW="string"==typeof(null===(ta=null==i?void 0:i.versions)||void 0===ta?void 0:ta.electron)&&(null==i?void 0:i.type)==="renderer";if("object"!=typeof navigator||rW){if("object"==typeof i){rP="win32"===i.platform,rF="darwin"===i.platform,!(rV="linux"===i.platform)||!i.env.SNAP||i.env.SNAP_REVISION,!i.env.CI&&i.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=i.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),n=t.availableLanguages["*"];t.locale,t.osLocale;t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else{;rP=(r=navigator.userAgent).indexOf("Windows")>=0,rF=r.indexOf("Macintosh")>=0,(r.indexOf("Macintosh")>=0||r.indexOf("iPad")>=0||r.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,rV=r.indexOf("Linux")>=0,null==r||r.indexOf("Mobi"),rq=!0;let e=void(m=rI({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));navigator.language}rF||rP;let rH=rP,rz=rF;rq&&r$.importScripts;let rG=r,rJ="function"==typeof r$.postMessage&&!r$.importScripts;(()=>{if(rJ){let e=[];r$.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n{let r=++t;e.push({id:r,callback:n}),r$.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();let rX=!!(rG&&rG.indexOf("Chrome")>=0);rG&&rG.indexOf("Firefox"),!rX&&rG&&rG.indexOf("Safari"),rG&&rG.indexOf("Edg/"),rG&&rG.indexOf("Android");class rQ{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function rZ(e){return e>=65&&e<=90}function rY(e){return 55296<=e&&e<=56319}function r1(e){return 56320<=e&&e<=57343}function r0(e,t){return(e-55296<<10)+(t-56320)+65536}let r2=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class r4{static getInstance(){return!r4._INSTANCE&&(r4._INSTANCE=new r4),r4._INSTANCE}constructor(){this._data=function(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}()}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,n=t.length/3,r=1;for(;r<=n;)if(et[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}r4._INSTANCE=null;class r5{static getInstance(e){return tl.cache.get(Array.from(e))}static getLocales(){return tl._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}tl=r5,r5.ambiguousCharacterData=new rQ(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),r5.cache=new class e{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function n(e){let t=new Map;for(let n=0;n!e.startsWith("_")&&e in r);0===i.length&&(i=["_default"]);for(let e of i)t=function(e,t){if(!e)return t;let n=new Map;for(let[r,i]of e)t.has(r)&&n.set(r,i);return n}(t,n(r[e]));let s=function(e,t){let n=new Map(e);for(let[e,r]of t)n.set(e,r);return n}(n(r._common),t);return new tl(s)}),r5._locales=new rQ(()=>Object.keys(tl.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class r7{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return!this._data&&(this._data=new Set(r7.getRawData())),this._data}static isInvisibleCharacter(e){return r7.getData().has(e)}static get codePoints(){return r7.getData()}}r7._data=void 0;class r9{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class r6{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class r8{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class r3{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class ie{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class it{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new r9(this._workerId,n,e,t))})}listen(e,t){let n=null,r=new rR({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new r8(this._workerId,n,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new ie(this._workerId,n)),n=null}});return r.event}handleMessage(e){if(!!e&&!!e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId))this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&((n=Error()).name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),t.reject(n);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send(new r6(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=rl(e.detail)),this._send(new r6(this._workerId,t,void 0,rl(e)))})}_handleSubscribeEventMessage(e){let t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new r3(this._workerId,t,e))});this._pendingEvents.set(t,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let n=0;n{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(ii(e)){let n=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on request handler.`);return n}if(ir(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,n,r){this._protocol.setWorkerId(e);let i=function(e,t,n){let r=e=>function(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)},s={};for(let t of e){if(ii(t)){s[t]=i(t);continue}if(ir(t)){s[t]=n(t,void 0);continue}s[t]=r(t)}return s}(r,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(rM(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{(0,globalThis.require)([n],n=>{if(this._requestHandler=n.create(i),!this._requestHandler){t(Error("No RequestHandler!"));return}e(rM(this._requestHandler))},t)}))}}class io{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function ia(e,t){return(t<<5)-t+e|0}function il(e,t,n=32){let r=n-t;return(e<>>r)>>>0}function iu(e,t=0,n=e.byteLength,r=0){for(let i=0;ie.toString(16).padStart(2,"0")).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class ic{constructor(){this._h0=0x67452301,this._h1=0xefcdab89,this._h2=0x98badcfe,this._h3=0x10325476,this._h4=0xc3d2e1f0,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,n;let r=e.length;if(0===r)return;let i=this._buff,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,n=-1,o=0):(t=e.charCodeAt(0),n=0);;){let a=t;if(rY(t)){if(n+1>>6:(n<65536?e[t++]=224|(61440&n)>>>12:(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12),e[t++]=128|(4032&n)>>>6),e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return!this._finished&&(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),ih(this._h0)+ih(this._h1)+ih(this._h2)+ih(this._h3)+ih(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,iu(this._buff,this._buffLen),this._buffLen>56&&(this._step(),iu(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/0x100000000),!1),this._buffDV.setUint32(60,e%0x100000000,!1),this._step()}_step(){let e,t,n;let r=ic._bigBlock32,i=this._buffDV;for(let e=0;e<64;e+=4)r.setUint32(e,i.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)r.setUint32(e,il(r.getUint32(e-12,!1)^r.getUint32(e-32,!1)^r.getUint32(e-56,!1)^r.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let i=0;i<80;i++)i<20?(e=o&a|~o&l,t=0x5a827999):i<40?(e=o^a^l,t=0x6ed9eba1):i<60?(e=o&a|o&l|a&l,t=0x8f1bbcdc):(e=o^a^l,t=0xca62c1d6),n=il(s,5)+e+u+t+r.getUint32(4*i,!1)&0xffffffff,u=l,l=a,a=il(o,30),o=s,s=n;this._h0=this._h0+s&0xffffffff,this._h1=this._h1+o&0xffffffff,this._h2=this._h2+a&0xffffffff,this._h3=this._h3+l&0xffffffff,this._h4=this._h4+u&0xffffffff}}ic._bigBlock32=new DataView(new ArrayBuffer(320));class id{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new io(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=0x40000000,this.m_modifiedStart=0x40000000}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class iv{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;let[r,i,s]=iv._getElements(e),[o,a,l]=iv._getElements(t);this._hasStrings=s&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(iv._isStringArray(t)){let e=new Int32Array(t.length);for(let n=0,r=t.length;n=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let i;return n<=r?(im.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new io(e,0,n,r-n+1)]):e<=t?(im.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new io(e,t-e+1,n,0)]):(im.Assert(e===t+1,"originalStart should only be one more than originalEnd"),im.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}let s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,n,r,s,o,i),l=s[0],u=o[0];if(null!==a)return a;if(!i[0]){let s=this.ComputeDiffRecursive(e,l,n,u,i),o=[];return o=i[0]?[new io(l+1,t-(l+1)+1,u+1,r-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,r,i),this.ConcatenateChanges(s,o)}return[new io(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,s,o,a,l,u,h,c,d,f,m,g,p,v){let b=null,y=null,_=new ip,C=t,S=n,w=d[0]-g[0]-r,L=-0x40000000,x=this.m_forwardHistory.length-1;do{let t=w+e;t===C||t=0&&(e=(l=this.m_forwardHistory[x])[0],C=1,S=l.length-1)}while(--x>=-1);if(b=_.getReverseChanges(),v[0]){let e=d[0]+1,t=g[0]+1;if(null!==b&&b.length>0){let n=b[b.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new io(e,c-e+1,t,m-t+1)]}else{_=new ip,C=s,S=o,w=d[0]-g[0]-a,L=0x40000000,x=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+i;e===C||e=u[e+1]?(f=(h=u[e+1]-1)-w-a,h>L&&_.MarkNextChange(),L=h+1,_.AddOriginalElement(h+1,f+1),w=e+1-i):(f=(h=u[e-1])-w-a,h>L&&_.MarkNextChange(),L=h,_.AddModifiedElement(h+1,f+1),w=e-1-i),x>=0&&(i=(u=this.m_reverseHistory[x])[0],C=1,S=u.length-1)}while(--x>=-1);y=_.getChanges()}return this.ConcatenateChanges(b,y)}ComputeRecursionPoint(e,t,n,r,i,s,o){let a=0,l=0,u=0,h=0,c=0,d=0;e--,n--,i[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let f=t-e+(r-n),m=f+1,g=new Int32Array(m),p=new Int32Array(m),v=r-n,b=t-e,y=e-n,_=t-r,C=(b-v)%2==0;g[v]=e,p[b]=t,o[0]=!1;for(let S=1;S<=f/2+1;S++){let f=0,w=0;u=this.ClipDiagonalBound(v-S,S,v,m),h=this.ClipDiagonalBound(v+S,S,v,m);for(let e=u;e<=h;e+=2){l=(a=e===u||ef+w&&(f=a,w=l),!C&&Math.abs(e-b)<=S-1&&a>=p[e]){if(i[0]=a,s[0]=l,n<=p[e]&&S<=1448)return this.WALKTRACE(v,u,h,y,b,c,d,_,g,p,a,t,i,l,r,s,C,o);return null}}let L=(f-e+(w-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,L)){if(o[0]=!0,i[0]=f,s[0]=w,!(L>0)||!(S<=1448))return e++,n++,[new io(e,t-e+1,n,r-n+1)];break}c=this.ClipDiagonalBound(b-S,S,b,m),d=this.ClipDiagonalBound(b+S,S,b,m);for(let f=c;f<=d;f+=2){l=(a=f===c||f=p[f+1]?p[f+1]-1:p[f-1])-(f-b)-_;let m=a;for(;a>e&&l>n&&this.ElementsAreEqual(a,l);)a--,l--;if(p[f]=a,C&&Math.abs(f-v)<=S&&a<=g[f]){if(i[0]=a,s[0]=l,m>=g[f]&&S<=1448)return this.WALKTRACE(v,u,h,y,b,c,d,_,g,p,a,t,i,l,r,s,C,o);return null}}if(S<=1447){let e=new Int32Array(h-u+2);e[0]=v-u+1,ig.Copy2(g,u,e,1,h-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(d-c+2))[0]=b-c+1,ig.Copy2(p,c,e,1,d-c+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,u,h,y,b,c,d,_,g,p,a,t,i,l,r,s,C,o)}PrettifyChanges(e){for(let t=0;t0,o=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){let n=e[t],r=0,i=0;if(t>0){let n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}let s=n.originalLength>0,o=n.modifiedLength>0,a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){let t=n.originalStart-e,u=n.modifiedStart-e;if(tl&&(l=h,a=e)}n.originalStart-=a,n.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,n=e.length;t0&&n>a&&(a=n,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return!!(e<=0)||!!(e>=this._modifiedElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){let i=this._OriginalRegionIsBoundary(e,t)?1:0;return i+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){let r=Array(e.length+t.length-1);return ig.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],ig.Copy(t,1,r,e.length,t.length-1),r}{let n=Array(e.length+t.length);return ig.Copy(e,0,n,0,e.length),ig.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(im.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),im.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return n[0]=null,!1;{let r=e.originalStart,i=e.originalLength,s=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new io(r,i,s,o),!0}}ClipDiagonalBound(e,t,n,r){if(e>=0&&et.cwd()}}else"undefined"!=typeof process?e={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:e={get platform(){return rH?"win32":rz?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let ib=e.cwd,iy=e.env,i_=e.platform;class iC extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";let i=-1!==e.indexOf(".")?"property":"argument",s=`The "${e}" ${i} ${r} of type ${t}`;super(s+=`. Received type ${typeof n}`),this.code="ERR_INVALID_ARG_TYPE"}}function iS(e,t){if("string"!=typeof e)throw new iC(t,"string",e)}let iw="win32"===i_;function iL(e){return 47===e||92===e}function ix(e){return 47===e}function iE(e){return e>=65&&e<=90||e>=97&&e<=122}function iN(e,t,n,r){let i="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=i.lastIndexOf(n);-1===e?(i="",s=0):s=(i=i.slice(0,e)).length-1-i.lastIndexOf(n),o=u,a=0;continue}if(0!==i.length){i="",s=0,o=u,a=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",s=2)}else i.length>0?i+=`${n}${e.slice(o+1,u)}`:i=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return i}function iA(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new iC(t,"Object",e)}(t,"pathObject");let n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}let ik={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(iS(s=e[i],"path"),0===s.length)continue}else 0===t.length?s=ib():(void 0===(s=iy[`=${t}`]||ib())||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===s.charCodeAt(2))&&(s=`${t}\\`);let o=s.length,a=0,l="",u=!1,h=s.charCodeAt(0);if(1===o)iL(h)&&(a=1,u=!0);else if(iL(h)){if(u=!0,iL(s.charCodeAt(1))){let e=2,t=2;for(;e2&&iL(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(r){if(t.length>0)break}else if(n=`${s.slice(a)}\\${n}`,r=u,u&&t.length>0)break}return n=iN(n,!r,"\\",iL),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){let t;iS(e,"path");let n=e.length;if(0===n)return".";let r=0,i=!1,s=e.charCodeAt(0);if(1===n)return ix(s)?"\\":e;if(iL(s)){if(i=!0,iL(e.charCodeAt(1))){let i=2,s=2;for(;i2&&iL(e.charCodeAt(2))&&(i=!0,r=3));let o=r0&&iL(e.charCodeAt(n-1))&&(o+="\\"),void 0===t)?i?`\\${o}`:o:i?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){iS(e,"path");let t=e.length;if(0===t)return!1;let n=e.charCodeAt(0);return iL(n)||t>2&&iE(n)&&58===e.charCodeAt(1)&&iL(e.charCodeAt(2))},join(...e){let t,n;if(0===e.length)return".";for(let r=0;r0&&(void 0===t?t=n=i:t+=`\\${i}`)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&iL(n.charCodeAt(0))){++i;let e=n.length;e>1&&iL(n.charCodeAt(1))&&(++i,e>2&&(iL(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i=2&&(t=`\\${t.slice(i)}`)}return ik.normalize(t)},relative(e,t){if(iS(e,"from"),iS(t,"to"),e===t)return"";let n=ik.resolve(e),r=ik.resolve(t);if(n===r)return"";if(e=n.toLowerCase(),t=r.toLowerCase(),e===t)return"";let i=0;for(;ii&&92===e.charCodeAt(s-1);)s--;let o=s-i,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,h=oh){if(92===t.charCodeAt(a+d))return r.slice(a+d+1);if(2===d)return r.slice(a+d)}o>h&&(92===e.charCodeAt(i+d)?c=d:2===d&&(c=3)),-1===c&&(c=0)}let f="";for(d=i+c+1;d<=s;++d)(d===s||92===e.charCodeAt(d))&&(f+=0===f.length?"..":"\\..");return(a+=c,f.length>0)?`${f}${r.slice(a,l)}`:(92===r.charCodeAt(a)&&++a,r.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=ik.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(iE(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){iS(e,"path");let t=e.length;if(0===t)return".";let n=-1,r=0,i=e.charCodeAt(0);if(1===t)return iL(i)?e:".";if(iL(i)){if(n=r=1,iL(e.charCodeAt(1))){let i=2,s=2;for(;i2&&iL(e.charCodeAt(2))?3:2);let s=-1,o=!0;for(let n=t-1;n>=r;--n)if(iL(e.charCodeAt(n))){if(!o){s=n;break}}else o=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){let n;void 0!==t&&iS(t,"ext"),iS(e,"path");let r=0,i=-1,s=!0;if(e.length>=2&&iE(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){let l=e.charCodeAt(n);if(iL(l)){if(!s){r=n+1;break}}else -1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(iL(e.charCodeAt(n))){if(!s){r=n+1;break}}else -1===i&&(s=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){iS(e,"path");let t=0,n=-1,r=0,i=-1,s=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&iE(e.charCodeAt(0))&&(t=r=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(iL(t)){if(!s){r=a+1;break}continue}-1===i&&(s=!1,i=a+1),46===t?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1)}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:iA.bind(null,"\\"),parse(e){iS(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let n=e.length,r=0,i=e.charCodeAt(0);if(1===n)return iL(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(iL(i)){if(r=1,iL(e.charCodeAt(1))){let t=2,i=2;for(;t0&&(t.root=e.slice(0,r));let s=-1,o=r,a=-1,l=!0,u=e.length-1,h=0;for(;u>=r;--u){if(iL(i=e.charCodeAt(u))){if(!l){o=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===i?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1)}return -1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),o>0&&o!==r?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},iR=(()=>{if(iw){let e=/\\/g;return()=>{let t=ib().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>ib()})(),iT={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:iR();if(iS(i,"path"),0!==i.length)t=`${i}/${t}`,n=47===i.charCodeAt(0)}return(t=iN(t,!n,"/",ix),n)?`/${t}`:t.length>0?t:"."},normalize(e){if(iS(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);if(0===(e=iN(e,!t,"/",ix)).length)return t?"/":n?"./":".";return n&&(e+="/"),t?`/${e}`:e},isAbsolute:e=>(iS(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=r:t+=`/${r}`)}return void 0===t?".":iT.normalize(t)},relative(e,t){if(iS(e,"from"),iS(t,"to"),e===t)return"";if(e=iT.resolve(e),t=iT.resolve(t),e===t)return"";let n=e.length,r=n-1,i=t.length-1,s=rs){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else r>s&&(47===e.charCodeAt(1+a)?o=a:0===a&&(o=0))}let l="";for(a=1+o+1;a<=n;++a)(a===n||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(iS(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return -1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){let n;void 0!==t&&iS(t,"ext"),iS(e,"path");let r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){let l=e.charCodeAt(n);if(47===l){if(!s){r=n+1;break}}else -1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else -1===i&&(s=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){iS(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!i){n=o+1;break}continue}-1===r&&(i=!1,r=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:iA.bind(null,"/"),parse(e){let t;iS(e,"path");let n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;let r=47===e.charCodeAt(0);r?(n.root="/",t=1):t=0;let i=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){s=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===t?-1===i?i=l:1!==u&&(u=1):-1!==i&&(u=-1)}if(-1!==o){let t=0===s&&r?1:s;-1===i||0===u||1===u&&i===o-1&&i===s+1?n.base=n.name=e.slice(t,o):(n.name=e.slice(t,i),n.base=e.slice(t,o),n.ext=e.slice(i,o))}return s>0?n.dir=e.slice(0,s-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};iT.win32=ik.win32=ik,iT.posix=ik.posix=iT,iw?ik.normalize:iT.normalize,iw?ik.resolve:iT.resolve,iw?ik.relative:iT.relative,iw?ik.dirname:iT.dirname,iw?ik.basename:iT.basename,iw?ik.extname:iT.extname,iw?ik.sep:iT.sep;let iM=/^\w[\w\d+.-]*$/,iO=/^\//,iI=/^\/\//,iP="/",iF=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class iV{static isUri(e){return e instanceof iV||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,n,r,i,s=!1){if("object"==typeof e)this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||"";else{var o,a;this.scheme=(o=e,a=s,o||a?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==iP&&(t=iP+t):t=iP}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",!function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!iM.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!iO.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(iI.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,s)}}get fsPath(){return iB(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment)?this:new iq(t,n,r,i,s)}static parse(e,t=!1){let n=iF.exec(e);return n?new iq(n[2]||"",iH(n[4]||""),iH(n[5]||""),iH(n[7]||""),iH(n[9]||""),t):new iq("","","","","")}static file(e){let t="";if(rH&&(e=e.replace(/\\/g,iP)),e[0]===iP&&e[1]===iP){let n=e.indexOf(iP,2);-1===n?(t=e.substring(2),e=iP):(t=e.substring(2,n),e=e.substring(n)||iP)}return new iq("file",t,e,"","")}static from(e,t){return new iq(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){let n;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return n=rH&&"file"===e.scheme?iV.file(ik.join(iB(e,!0),...t)).path:iT.join(e.path,...t),e.with({path:n})}toString(e=!1){return i$(this,e)}toJSON(){return this}static revive(e){var t,n;if(!e)return e;if(e instanceof iV)return e;{let r=new iq(e);return r._formatted=null!==(t=e.external)&&void 0!==t?t:null,r._fsPath=e._sep===iD&&null!==(n=e.fsPath)&&void 0!==n?n:null,r}}}let iD=rH?1:void 0;class iq extends iV{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return!this._fsPath&&(this._fsPath=iB(this,!1)),this._fsPath}toString(e=!1){return e?i$(this,!0):(!this._formatted&&(this._formatted=i$(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=iD),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let iK={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function ij(e,t,n){let r;let i=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),void 0!==r&&(r+=e.charAt(s));else{void 0===r&&(r=e.substr(0,s));let t=iK[o];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=t):-1===i&&(i=s)}}return -1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function iU(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,rH&&(n=n.replace(/\//g,"\\")),n}function i$(e,t){let n=t?iU:ij,r="",{scheme:i,authority:s,path:o,query:a,fragment:l}=e;if(i&&(r+=i,r+=":"),(s||"file"===i)&&(r+=iP,r+=iP),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=":",r+=n(t.substr(e+1),!1,!0)),r+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?r+=n(s,!1,!0):(r+=n(s.substr(0,e),!1,!0),r+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=n(o,!0,!1)}return a&&(r+="?",r+=n(a,!1,!1)),l&&(r+="#",r+=t?l:ij(l,!1,!1)),r}let iW=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function iH(e){return e.match(iW)?e.replace(iW,e=>(function e(t){try{return decodeURIComponent(t)}catch(n){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class iz{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new iz(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return iz.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return iz.isBefore(this,e)}static isBefore(e,t){return!!(e.lineNumbern||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return iG.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return iG.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))&&!0}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))&&!0}containsRange(e){return iG.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))&&!0}strictContainsRange(e){return iG.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))&&!0}plusRange(e){return iG.plusRange(this,e)}static plusRange(e,t){let n,r,i,s;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,s=e.endColumn),new iG(n,r,i,s)}intersectRanges(e){return iG.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,s=e.endColumn,o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(nl?(i=l,s=u):i===l&&(s=Math.min(s,u)),n>i||n===i&&r>s)?null:new iG(n,r,i,s)}equalsRange(e){return iG.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return iG.getEndPosition(this)}static getEndPosition(e){return new iz(e.endLineNumber,e.endColumn)}getStartPosition(){return iG.getStartPosition(this)}static getStartPosition(e){return new iz(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new iG(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new iG(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return iG.collapseToStart(this)}static collapseToStart(e){return new iG(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return iG.collapseToEnd(this)}static collapseToEnd(e){return new iG(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new iG(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new iG(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new iG(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}function iJ(e,t){return(n,r)=>t(e(n),e(r))}(g=tu||(tu={})).isLessThan=function(e){return e<0},g.isLessThanOrEqual=function(e){return e<=0},g.isGreaterThan=function(e){return e>0},g.isNeitherLessOrGreaterThan=function(e){return 0===e},g.greaterThan=1,g.lessThan=-1,g.neitherLessOrGreaterThan=0;let iX=(e,t)=>e-t;class iQ{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new iQ(t=>this.iterate(n=>!e(n)||t(n)))}map(e){return new iQ(t=>this.iterate(n=>t(e(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t;let n=!0;return this.iterate(r=>((n||tu.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}}function iZ(e){return e<0?0:e>255?255:0|e}function iY(e){return e<0?0:e>0xffffffff?0xffffffff:0|e}iQ.empty=new iQ(e=>{});class i1{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=iY(e);let n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=iY(e),t=iY(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;let i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=iY(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,s=(i=this.prefixSum[r])-this.values[r],e=i)t=r+1;else break;return new i0(r,e-s)}}class i0{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class i2{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){for(let t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new iz(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r/?"){if(!(e.indexOf(n)>=0))t+="\\"+n}return RegExp(t+="\\s]+)","g")}(),i5=new rS;function i7(e,t,n,r,i){if(!i&&(i=ts.first(i5)),n.length>i.maxLen){let s=e-i.maxLen/2;return s<0?s=0:r+=s,n=n.substring(s,e+i.maxLen/2),i7(e,t,n,r,i)}let s=Date.now(),o=e-1-r,a=-1,l=null;for(let e=1;!(Date.now()-s>=i.timeBudget);e++){;let r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);let s=function(e,t,n,r){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)break}return null}(t,n,o,a);if(!s&&l)break;if(l=s,r<=0)break;a=r}if(l){let e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}i5.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class i9{constructor(e){let t=iZ(e);this._defaultValue=t,this._asciiMap=i9._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let n=iZ(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class i6{constructor(e,t,n){let r=new Uint8Array(e*t);for(let i=0,s=e*t;it&&(t=s),i>n&&(n=i),o>n&&(n=o)}t++;let r=new i6(++n,t,0);for(let t=0,n=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let i3=null;function se(){return null===i3&&(i3=new i8([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),i3}let st=null;class sn{static _createLink(e,t,n,r,i){let s=i-1;do{let n=t.charCodeAt(s);if(2!==e.get(n))break;s--}while(s>r);if(r>0){let e=t.charCodeAt(r-1),n=t.charCodeAt(s);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&s--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:s+2},url:t.substring(r,s+1)}}static computeLinks(e,t=se()){let n=function(){if(null===st){st=new i9(0);let e=" <>'\"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026";for(let t=0;t=0?((r+=n?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null}}sr.INSTANCE=new sr;let si=Object.freeze(function(e,t){let n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});(p=th||(th={})).isCancellationToken=function(e){return e===p.None||e===p.Cancelled||e instanceof ss||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},p.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:to.None}),p.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:si});class ss{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?si:(!this._emitter&&(this._emitter=new rR),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class so{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return!this._token&&(this._token=new ss),this._token}cancel(){this._token?this._token instanceof ss&&this._token.cancel():this._token=th.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof ss&&this._token.dispose():this._token=th.None}}class sa{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let sl=new sa,su=new sa,sh=new sa,sc=Array(230),sd={},sf=[],sm=Object.create(null),sg=Object.create(null),sp=[],sv=[];for(let e=0;e<=193;e++)sp[e]=-1;for(let e=0;e<=132;e++)sv[e]=-1;!function(){let e=[],t=[];for(let n of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[r,i,s,o,a,l,u,h,c]=n;if(!t[i]&&(t[i]=!0,sf[i]=s,sm[s]=i,sg[s.toLowerCase()]=i,r&&(sp[i]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(sv[o]=i))),!e[o]){if(e[o]=!0,!a)throw Error(`String representation missing for key code ${o} around scan code ${s}`);sl.define(o,a),su.define(o,h||a),sh.define(o,c||h||a)}l&&(sc[l]=o),u&&(sd[u]=o)}sv[3]=46}(),(v=tc||(tc={})).toString=function(e){return sl.keyCodeToStr(e)},v.fromString=function(e){return sl.strToKeyCode(e)},v.toUserSettingsUS=function(e){return su.keyCodeToStr(e)},v.toUserSettingsGeneral=function(e){return sh.keyCodeToStr(e)},v.fromUserSettings=function(e){return su.strToKeyCode(e)||sh.strToKeyCode(e)},v.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return sl.keyCodeToStr(e)};class sb extends iG{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return sb.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new sb(this.startLineNumber,this.startColumn,e,t):new sb(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new iz(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new iz(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new sb(e,t,this.endLineNumber,this.endColumn):new sb(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new sb(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new sb(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new sb(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new sb(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{if(this._tokenizationSupports.get(e)===t)this._tokenizationSupports.delete(e),this.handleChange([e])})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();let r=new sw(this,e,t);return this._factories.set(e,r),rb(()=>{let t=this._factories.get(e);if(!!t&&t===r)this._factories.delete(e),t.dispose()})}getOrCreate(e){return sS(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved||!1}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},(S=ty||(ty={}))[S.Unknown=0]="Unknown",S[S.Disabled=1]="Disabled",S[S.Enabled=2]="Enabled",(w=t_||(t_={}))[w.Invoke=1]="Invoke",w[w.Auto=2]="Auto",(L=tC||(tC={}))[L.None=0]="None",L[L.KeepWhitespace=1]="KeepWhitespace",L[L.InsertAsSnippet=4]="InsertAsSnippet",(x=tS||(tS={}))[x.Method=0]="Method",x[x.Function=1]="Function",x[x.Constructor=2]="Constructor",x[x.Field=3]="Field",x[x.Variable=4]="Variable",x[x.Class=5]="Class",x[x.Struct=6]="Struct",x[x.Interface=7]="Interface",x[x.Module=8]="Module",x[x.Property=9]="Property",x[x.Event=10]="Event",x[x.Operator=11]="Operator",x[x.Unit=12]="Unit",x[x.Value=13]="Value",x[x.Constant=14]="Constant",x[x.Enum=15]="Enum",x[x.EnumMember=16]="EnumMember",x[x.Keyword=17]="Keyword",x[x.Text=18]="Text",x[x.Color=19]="Color",x[x.File=20]="File",x[x.Reference=21]="Reference",x[x.Customcolor=22]="Customcolor",x[x.Folder=23]="Folder",x[x.TypeParameter=24]="TypeParameter",x[x.User=25]="User",x[x.Issue=26]="Issue",x[x.Snippet=27]="Snippet",(E=tw||(tw={}))[E.Deprecated=1]="Deprecated",(N=tL||(tL={}))[N.Invoke=0]="Invoke",N[N.TriggerCharacter=1]="TriggerCharacter",N[N.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(A=tx||(tx={}))[A.EXACT=0]="EXACT",A[A.ABOVE=1]="ABOVE",A[A.BELOW=2]="BELOW",(k=tE||(tE={}))[k.NotSet=0]="NotSet",k[k.ContentFlush=1]="ContentFlush",k[k.RecoverFromMarkers=2]="RecoverFromMarkers",k[k.Explicit=3]="Explicit",k[k.Paste=4]="Paste",k[k.Undo=5]="Undo",k[k.Redo=6]="Redo",(R=tN||(tN={}))[R.LF=1]="LF",R[R.CRLF=2]="CRLF",(T=tA||(tA={}))[T.Text=0]="Text",T[T.Read=1]="Read",T[T.Write=2]="Write",(M=tk||(tk={}))[M.None=0]="None",M[M.Keep=1]="Keep",M[M.Brackets=2]="Brackets",M[M.Advanced=3]="Advanced",M[M.Full=4]="Full",(O=tR||(tR={}))[O.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",O[O.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",O[O.accessibilitySupport=2]="accessibilitySupport",O[O.accessibilityPageSize=3]="accessibilityPageSize",O[O.ariaLabel=4]="ariaLabel",O[O.ariaRequired=5]="ariaRequired",O[O.autoClosingBrackets=6]="autoClosingBrackets",O[O.autoClosingComments=7]="autoClosingComments",O[O.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",O[O.autoClosingDelete=9]="autoClosingDelete",O[O.autoClosingOvertype=10]="autoClosingOvertype",O[O.autoClosingQuotes=11]="autoClosingQuotes",O[O.autoIndent=12]="autoIndent",O[O.automaticLayout=13]="automaticLayout",O[O.autoSurround=14]="autoSurround",O[O.bracketPairColorization=15]="bracketPairColorization",O[O.guides=16]="guides",O[O.codeLens=17]="codeLens",O[O.codeLensFontFamily=18]="codeLensFontFamily",O[O.codeLensFontSize=19]="codeLensFontSize",O[O.colorDecorators=20]="colorDecorators",O[O.colorDecoratorsLimit=21]="colorDecoratorsLimit",O[O.columnSelection=22]="columnSelection",O[O.comments=23]="comments",O[O.contextmenu=24]="contextmenu",O[O.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",O[O.cursorBlinking=26]="cursorBlinking",O[O.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",O[O.cursorStyle=28]="cursorStyle",O[O.cursorSurroundingLines=29]="cursorSurroundingLines",O[O.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",O[O.cursorWidth=31]="cursorWidth",O[O.disableLayerHinting=32]="disableLayerHinting",O[O.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",O[O.domReadOnly=34]="domReadOnly",O[O.dragAndDrop=35]="dragAndDrop",O[O.dropIntoEditor=36]="dropIntoEditor",O[O.emptySelectionClipboard=37]="emptySelectionClipboard",O[O.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",O[O.extraEditorClassName=39]="extraEditorClassName",O[O.fastScrollSensitivity=40]="fastScrollSensitivity",O[O.find=41]="find",O[O.fixedOverflowWidgets=42]="fixedOverflowWidgets",O[O.folding=43]="folding",O[O.foldingStrategy=44]="foldingStrategy",O[O.foldingHighlight=45]="foldingHighlight",O[O.foldingImportsByDefault=46]="foldingImportsByDefault",O[O.foldingMaximumRegions=47]="foldingMaximumRegions",O[O.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",O[O.fontFamily=49]="fontFamily",O[O.fontInfo=50]="fontInfo",O[O.fontLigatures=51]="fontLigatures",O[O.fontSize=52]="fontSize",O[O.fontWeight=53]="fontWeight",O[O.fontVariations=54]="fontVariations",O[O.formatOnPaste=55]="formatOnPaste",O[O.formatOnType=56]="formatOnType",O[O.glyphMargin=57]="glyphMargin",O[O.gotoLocation=58]="gotoLocation",O[O.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",O[O.hover=60]="hover",O[O.inDiffEditor=61]="inDiffEditor",O[O.inlineSuggest=62]="inlineSuggest",O[O.letterSpacing=63]="letterSpacing",O[O.lightbulb=64]="lightbulb",O[O.lineDecorationsWidth=65]="lineDecorationsWidth",O[O.lineHeight=66]="lineHeight",O[O.lineNumbers=67]="lineNumbers",O[O.lineNumbersMinChars=68]="lineNumbersMinChars",O[O.linkedEditing=69]="linkedEditing",O[O.links=70]="links",O[O.matchBrackets=71]="matchBrackets",O[O.minimap=72]="minimap",O[O.mouseStyle=73]="mouseStyle",O[O.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",O[O.mouseWheelZoom=75]="mouseWheelZoom",O[O.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",O[O.multiCursorModifier=77]="multiCursorModifier",O[O.multiCursorPaste=78]="multiCursorPaste",O[O.multiCursorLimit=79]="multiCursorLimit",O[O.occurrencesHighlight=80]="occurrencesHighlight",O[O.overviewRulerBorder=81]="overviewRulerBorder",O[O.overviewRulerLanes=82]="overviewRulerLanes",O[O.padding=83]="padding",O[O.pasteAs=84]="pasteAs",O[O.parameterHints=85]="parameterHints",O[O.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",O[O.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",O[O.quickSuggestions=88]="quickSuggestions",O[O.quickSuggestionsDelay=89]="quickSuggestionsDelay",O[O.readOnly=90]="readOnly",O[O.readOnlyMessage=91]="readOnlyMessage",O[O.renameOnType=92]="renameOnType",O[O.renderControlCharacters=93]="renderControlCharacters",O[O.renderFinalNewline=94]="renderFinalNewline",O[O.renderLineHighlight=95]="renderLineHighlight",O[O.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",O[O.renderValidationDecorations=97]="renderValidationDecorations",O[O.renderWhitespace=98]="renderWhitespace",O[O.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",O[O.roundedSelection=100]="roundedSelection",O[O.rulers=101]="rulers",O[O.scrollbar=102]="scrollbar",O[O.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",O[O.scrollBeyondLastLine=104]="scrollBeyondLastLine",O[O.scrollPredominantAxis=105]="scrollPredominantAxis",O[O.selectionClipboard=106]="selectionClipboard",O[O.selectionHighlight=107]="selectionHighlight",O[O.selectOnLineNumbers=108]="selectOnLineNumbers",O[O.showFoldingControls=109]="showFoldingControls",O[O.showUnused=110]="showUnused",O[O.snippetSuggestions=111]="snippetSuggestions",O[O.smartSelect=112]="smartSelect",O[O.smoothScrolling=113]="smoothScrolling",O[O.stickyScroll=114]="stickyScroll",O[O.stickyTabStops=115]="stickyTabStops",O[O.stopRenderingLineAfter=116]="stopRenderingLineAfter",O[O.suggest=117]="suggest",O[O.suggestFontSize=118]="suggestFontSize",O[O.suggestLineHeight=119]="suggestLineHeight",O[O.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",O[O.suggestSelection=121]="suggestSelection",O[O.tabCompletion=122]="tabCompletion",O[O.tabIndex=123]="tabIndex",O[O.unicodeHighlighting=124]="unicodeHighlighting",O[O.unusualLineTerminators=125]="unusualLineTerminators",O[O.useShadowDOM=126]="useShadowDOM",O[O.useTabStops=127]="useTabStops",O[O.wordBreak=128]="wordBreak",O[O.wordSeparators=129]="wordSeparators",O[O.wordWrap=130]="wordWrap",O[O.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",O[O.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",O[O.wordWrapColumn=133]="wordWrapColumn",O[O.wordWrapOverride1=134]="wordWrapOverride1",O[O.wordWrapOverride2=135]="wordWrapOverride2",O[O.wrappingIndent=136]="wrappingIndent",O[O.wrappingStrategy=137]="wrappingStrategy",O[O.showDeprecated=138]="showDeprecated",O[O.inlayHints=139]="inlayHints",O[O.editorClassName=140]="editorClassName",O[O.pixelRatio=141]="pixelRatio",O[O.tabFocusMode=142]="tabFocusMode",O[O.layoutInfo=143]="layoutInfo",O[O.wrappingInfo=144]="wrappingInfo",O[O.defaultColorDecorators=145]="defaultColorDecorators",O[O.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",O[O.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose",(I=tT||(tT={}))[I.TextDefined=0]="TextDefined",I[I.LF=1]="LF",I[I.CRLF=2]="CRLF",(P=tM||(tM={}))[P.LF=0]="LF",P[P.CRLF=1]="CRLF",(F=tO||(tO={}))[F.Left=1]="Left",F[F.Right=2]="Right",(V=tI||(tI={}))[V.None=0]="None",V[V.Indent=1]="Indent",V[V.IndentOutdent=2]="IndentOutdent",V[V.Outdent=3]="Outdent",(D=tP||(tP={}))[D.Both=0]="Both",D[D.Right=1]="Right",D[D.Left=2]="Left",D[D.None=3]="None",(q=tF||(tF={}))[q.Type=1]="Type",q[q.Parameter=2]="Parameter",(K=tV||(tV={}))[K.Automatic=0]="Automatic",K[K.Explicit=1]="Explicit",(j=tD||(tD={}))[j.DependsOnKbLayout=-1]="DependsOnKbLayout",j[j.Unknown=0]="Unknown",j[j.Backspace=1]="Backspace",j[j.Tab=2]="Tab",j[j.Enter=3]="Enter",j[j.Shift=4]="Shift",j[j.Ctrl=5]="Ctrl",j[j.Alt=6]="Alt",j[j.PauseBreak=7]="PauseBreak",j[j.CapsLock=8]="CapsLock",j[j.Escape=9]="Escape",j[j.Space=10]="Space",j[j.PageUp=11]="PageUp",j[j.PageDown=12]="PageDown",j[j.End=13]="End",j[j.Home=14]="Home",j[j.LeftArrow=15]="LeftArrow",j[j.UpArrow=16]="UpArrow",j[j.RightArrow=17]="RightArrow",j[j.DownArrow=18]="DownArrow",j[j.Insert=19]="Insert",j[j.Delete=20]="Delete",j[j.Digit0=21]="Digit0",j[j.Digit1=22]="Digit1",j[j.Digit2=23]="Digit2",j[j.Digit3=24]="Digit3",j[j.Digit4=25]="Digit4",j[j.Digit5=26]="Digit5",j[j.Digit6=27]="Digit6",j[j.Digit7=28]="Digit7",j[j.Digit8=29]="Digit8",j[j.Digit9=30]="Digit9",j[j.KeyA=31]="KeyA",j[j.KeyB=32]="KeyB",j[j.KeyC=33]="KeyC",j[j.KeyD=34]="KeyD",j[j.KeyE=35]="KeyE",j[j.KeyF=36]="KeyF",j[j.KeyG=37]="KeyG",j[j.KeyH=38]="KeyH",j[j.KeyI=39]="KeyI",j[j.KeyJ=40]="KeyJ",j[j.KeyK=41]="KeyK",j[j.KeyL=42]="KeyL",j[j.KeyM=43]="KeyM",j[j.KeyN=44]="KeyN",j[j.KeyO=45]="KeyO",j[j.KeyP=46]="KeyP",j[j.KeyQ=47]="KeyQ",j[j.KeyR=48]="KeyR",j[j.KeyS=49]="KeyS",j[j.KeyT=50]="KeyT",j[j.KeyU=51]="KeyU",j[j.KeyV=52]="KeyV",j[j.KeyW=53]="KeyW",j[j.KeyX=54]="KeyX",j[j.KeyY=55]="KeyY",j[j.KeyZ=56]="KeyZ",j[j.Meta=57]="Meta",j[j.ContextMenu=58]="ContextMenu",j[j.F1=59]="F1",j[j.F2=60]="F2",j[j.F3=61]="F3",j[j.F4=62]="F4",j[j.F5=63]="F5",j[j.F6=64]="F6",j[j.F7=65]="F7",j[j.F8=66]="F8",j[j.F9=67]="F9",j[j.F10=68]="F10",j[j.F11=69]="F11",j[j.F12=70]="F12",j[j.F13=71]="F13",j[j.F14=72]="F14",j[j.F15=73]="F15",j[j.F16=74]="F16",j[j.F17=75]="F17",j[j.F18=76]="F18",j[j.F19=77]="F19",j[j.F20=78]="F20",j[j.F21=79]="F21",j[j.F22=80]="F22",j[j.F23=81]="F23",j[j.F24=82]="F24",j[j.NumLock=83]="NumLock",j[j.ScrollLock=84]="ScrollLock",j[j.Semicolon=85]="Semicolon",j[j.Equal=86]="Equal",j[j.Comma=87]="Comma",j[j.Minus=88]="Minus",j[j.Period=89]="Period",j[j.Slash=90]="Slash",j[j.Backquote=91]="Backquote",j[j.BracketLeft=92]="BracketLeft",j[j.Backslash=93]="Backslash",j[j.BracketRight=94]="BracketRight",j[j.Quote=95]="Quote",j[j.OEM_8=96]="OEM_8",j[j.IntlBackslash=97]="IntlBackslash",j[j.Numpad0=98]="Numpad0",j[j.Numpad1=99]="Numpad1",j[j.Numpad2=100]="Numpad2",j[j.Numpad3=101]="Numpad3",j[j.Numpad4=102]="Numpad4",j[j.Numpad5=103]="Numpad5",j[j.Numpad6=104]="Numpad6",j[j.Numpad7=105]="Numpad7",j[j.Numpad8=106]="Numpad8",j[j.Numpad9=107]="Numpad9",j[j.NumpadMultiply=108]="NumpadMultiply",j[j.NumpadAdd=109]="NumpadAdd",j[j.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",j[j.NumpadSubtract=111]="NumpadSubtract",j[j.NumpadDecimal=112]="NumpadDecimal",j[j.NumpadDivide=113]="NumpadDivide",j[j.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",j[j.ABNT_C1=115]="ABNT_C1",j[j.ABNT_C2=116]="ABNT_C2",j[j.AudioVolumeMute=117]="AudioVolumeMute",j[j.AudioVolumeUp=118]="AudioVolumeUp",j[j.AudioVolumeDown=119]="AudioVolumeDown",j[j.BrowserSearch=120]="BrowserSearch",j[j.BrowserHome=121]="BrowserHome",j[j.BrowserBack=122]="BrowserBack",j[j.BrowserForward=123]="BrowserForward",j[j.MediaTrackNext=124]="MediaTrackNext",j[j.MediaTrackPrevious=125]="MediaTrackPrevious",j[j.MediaStop=126]="MediaStop",j[j.MediaPlayPause=127]="MediaPlayPause",j[j.LaunchMediaPlayer=128]="LaunchMediaPlayer",j[j.LaunchMail=129]="LaunchMail",j[j.LaunchApp2=130]="LaunchApp2",j[j.Clear=131]="Clear",j[j.MAX_VALUE=132]="MAX_VALUE",(U=tq||(tq={}))[U.Hint=1]="Hint",U[U.Info=2]="Info",U[U.Warning=4]="Warning",U[U.Error=8]="Error",(B=tK||(tK={}))[B.Unnecessary=1]="Unnecessary",B[B.Deprecated=2]="Deprecated",($=tj||(tj={}))[$.Inline=1]="Inline",$[$.Gutter=2]="Gutter",(W=tU||(tU={}))[W.UNKNOWN=0]="UNKNOWN",W[W.TEXTAREA=1]="TEXTAREA",W[W.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",W[W.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",W[W.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",W[W.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",W[W.CONTENT_TEXT=6]="CONTENT_TEXT",W[W.CONTENT_EMPTY=7]="CONTENT_EMPTY",W[W.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",W[W.CONTENT_WIDGET=9]="CONTENT_WIDGET",W[W.OVERVIEW_RULER=10]="OVERVIEW_RULER",W[W.SCROLLBAR=11]="SCROLLBAR",W[W.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",W[W.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(H=tB||(tB={}))[H.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",H[H.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",H[H.TOP_CENTER=2]="TOP_CENTER",(z=t$||(t$={}))[z.Left=1]="Left",z[z.Center=2]="Center",z[z.Right=4]="Right",z[z.Full=7]="Full",(G=tW||(tW={}))[G.Left=0]="Left",G[G.Right=1]="Right",G[G.None=2]="None",G[G.LeftOfInjectedText=3]="LeftOfInjectedText",G[G.RightOfInjectedText=4]="RightOfInjectedText",(J=tH||(tH={}))[J.Off=0]="Off",J[J.On=1]="On",J[J.Relative=2]="Relative",J[J.Interval=3]="Interval",J[J.Custom=4]="Custom",(X=tz||(tz={}))[X.None=0]="None",X[X.Text=1]="Text",X[X.Blocks=2]="Blocks",(Q=tG||(tG={}))[Q.Smooth=0]="Smooth",Q[Q.Immediate=1]="Immediate",(Z=tJ||(tJ={}))[Z.Auto=1]="Auto",Z[Z.Hidden=2]="Hidden",Z[Z.Visible=3]="Visible",(Y=tX||(tX={}))[Y.LTR=0]="LTR",Y[Y.RTL=1]="RTL",(ee=tQ||(tQ={}))[ee.Invoke=1]="Invoke",ee[ee.TriggerCharacter=2]="TriggerCharacter",ee[ee.ContentChange=3]="ContentChange",(et=tZ||(tZ={}))[et.File=0]="File",et[et.Module=1]="Module",et[et.Namespace=2]="Namespace",et[et.Package=3]="Package",et[et.Class=4]="Class",et[et.Method=5]="Method",et[et.Property=6]="Property",et[et.Field=7]="Field",et[et.Constructor=8]="Constructor",et[et.Enum=9]="Enum",et[et.Interface=10]="Interface",et[et.Function=11]="Function",et[et.Variable=12]="Variable",et[et.Constant=13]="Constant",et[et.String=14]="String",et[et.Number=15]="Number",et[et.Boolean=16]="Boolean",et[et.Array=17]="Array",et[et.Object=18]="Object",et[et.Key=19]="Key",et[et.Null=20]="Null",et[et.EnumMember=21]="EnumMember",et[et.Struct=22]="Struct",et[et.Event=23]="Event",et[et.Operator=24]="Operator",et[et.TypeParameter=25]="TypeParameter",(en=tY||(tY={}))[en.Deprecated=1]="Deprecated",(er=t1||(t1={}))[er.Hidden=0]="Hidden",er[er.Blink=1]="Blink",er[er.Smooth=2]="Smooth",er[er.Phase=3]="Phase",er[er.Expand=4]="Expand",er[er.Solid=5]="Solid",(ei=t0||(t0={}))[ei.Line=1]="Line",ei[ei.Block=2]="Block",ei[ei.Underline=3]="Underline",ei[ei.LineThin=4]="LineThin",ei[ei.BlockOutline=5]="BlockOutline",ei[ei.UnderlineThin=6]="UnderlineThin",(es=t2||(t2={}))[es.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",es[es.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",es[es.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",es[es.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eo=t4||(t4={}))[eo.None=0]="None",eo[eo.Same=1]="Same",eo[eo.Indent=2]="Indent",eo[eo.DeepIndent=3]="DeepIndent";class sE{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}sE.CtrlCmd=2048,sE.Shift=1024,sE.Alt=512,sE.WinCtrl=256;class sN extends i9{constructor(e){super(0);for(let t=0,n=e.length;t(!t.hasOwnProperty(n)&&(t[n]=e(n)),t[n])}(e=>new sN(e)),(ea=t5||(t5={}))[ea.Left=1]="Left",ea[ea.Center=2]="Center",ea[ea.Right=4]="Right",ea[ea.Full=7]="Full",(el=t7||(t7={}))[el.Left=1]="Left",el[el.Right=2]="Right",(eu=t9||(t9={}))[eu.Inline=1]="Inline",eu[eu.Gutter=2]="Gutter",(eh=t6||(t6={}))[eh.Both=0]="Both",eh[eh.Right=1]="Right",eh[eh.Left=2]="Left",eh[eh.None=3]="None";class sA{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let n=e.length;do{var r,i,s,o,a;if(this._prevMatchStartIndex+this._prevMatchLength===n||!(t=this._searchRegex.exec(e)))break;let l=t.index,u=t[0].length;if(l===this._prevMatchStartIndex&&u===this._prevMatchLength){if(0===u){(function(e,t,n){let r=e.charCodeAt(n);if(rY(r)&&n+165535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=l,this._prevMatchLength=u,!this._wordSeparators||(r=this._wordSeparators,i=e,s=n,function(e,t,n,r,i){if(0===r)return!0;let s=t.charCodeAt(r-1);if(0!==e.get(s)||13===s||10===s)return!0;if(i>0){let n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}(r,i,0,o=l,a=u)&&function(e,t,n,r,i){if(r+i===n)return!0;let s=t.charCodeAt(r+i);if(0!==e.get(s)||13===s||10===s)return!0;if(i>0){let n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}(r,i,s,o,a)))return t}while(t);return null}}function sk(e){!e()&&(e(),ra(new rd("Assertion Failed")))}function sR(e,t){let n=0;for(;nString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`}(Array.from(l))}`,"g")),h=[],c=!1,d=0,f=0,m=0;e:for(let t=s;t<=o;t++){let n=e.getLineContent(t),r=n.length;u.reset(0);do if(i=u.next(n)){let e=i.index,s=i.index+i[0].length;e>0&&rY(n.charCodeAt(e-1))&&e--,s+1=1e3){c=!0;break e}h.push(new iG(t,e+1,t,s+1))}}while(i)}return{ranges:h,hasMore:c,ambiguousCharacterCount:d,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let n=new sM(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),s=r5.getLocales().filter(e=>!r5.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class sM{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=r5.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of r7.codePoints)!sO(String.fromCodePoint(t))&&e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(let e of t){var s;let t=e.codePointAt(0);let n=(s=e,r2.test(s));r=r||n,!n&&!this.ambiguousCharacters.isAmbiguous(t)&&!r7.isInvisibleCharacter(t)&&(i=!0)}return!r&&i?0:this.options.invisibleCharacters&&!sO(e)&&r7.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function sO(e){return" "===e||"\n"===e||" "===e}class sI{constructor(e,t,n){this.changes=e,this.moves=t,this.hitTimeout=n}}class sP{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class sF{static addRange(e,t){let n=0;for(;nt))return new sF(e,t)}static ofLength(e){return new sF(0,e)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new rd(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new sF(this.start+e,this.endExclusive+e)}deltaStart(e){return new sF(this.start+e,this.endExclusive)}deltaEnd(e){return new sF(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tt)throw new rd(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),n=sD(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===n)this._normalizedRanges.splice(t,0,e);else if(t===n-1){let n=this._normalizedRanges[t];this._normalizedRanges[t]=n.join(e)}else{let r=this._normalizedRanges[t].join(this._normalizedRanges[n-1]).join(e);this._normalizedRanges.splice(t,n-t,r)}}contains(e){let t=sV(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],n=0,r=0,i=null;for(;n=s.startLineNumber?i=new sj(i.startLineNumber,Math.max(i.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(i),i=s)}return null!==i&&t.push(i),new sU(t)}subtractFrom(e){let t=sq(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),n=sD(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===n)return new sU([e]);let r=[],i=e.startLineNumber;for(let e=t;ei&&r.push(new sj(i,t.startLineNumber)),i=t.endLineNumberExclusive}return ie.toString()).join(", ")}getIntersection(e){let t=[],n=0,r=0;for(;nt.delta(e)))}}class sB{static inverse(e,t,n){let r=[],i=1,s=1;for(let t of e){let e=new s$(new sj(i,t.original.startLineNumber),new sj(s,t.modified.startLineNumber),void 0);!e.modified.isEmpty&&r.push(e),i=t.original.endLineNumberExclusive,s=t.modified.endLineNumberExclusive}let o=new s$(new sj(i,t+1),new sj(s,n+1),void 0);return!o.modified.isEmpty&&r.push(o),r}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new sB(this.modified,this.original)}join(e){return new sB(this.original.join(e.original),this.modified.join(e.modified))}}class s$ extends sB{constructor(e,t,n){super(e,t),this.innerChanges=n}flip(){var e;return new s$(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}}class sW{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new sW(this.modifiedRange,this.originalRange)}}class sH{computeDiff(e,t,n){var r;let i=new sZ(e,t,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),s=[],o=null;for(let e of i.changes){let t,n;t=0===e.originalEndLineNumber?new sj(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new sj(e.originalStartLineNumber,e.originalEndLineNumber+1);let i=new s$(t,n=0===e.modifiedEndLineNumber?new sj(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new sj(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1),null===(r=e.charChanges)||void 0===r?void 0:r.map(e=>new sW(new iG(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new iG(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));o&&(o.modified.endLineNumberExclusive===i.modified.startLineNumber||o.original.endLineNumberExclusive===i.original.startLineNumber)&&(i=new s$(o.original.join(i.original),o.modified.join(i.modified),o.innerChanges&&i.innerChanges?o.innerChanges.concat(i.innerChanges):void 0),s.pop()),s.push(i),o=i}return sk(()=>sR(s,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class sX{constructor(e,t,n,r,i,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),u=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1);return new sX(r,i,s,o,a,l,u,n.getEndColumn(e.modifiedStart+e.modifiedLength-1))}}class sQ{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,s,o){let a,l,u,h,c;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=r.getStartLineNumber(t.modifiedStart)-1,h=0):(u=r.getStartLineNumber(t.modifiedStart),h=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){let s=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=sz(s,a,i,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],n=t[0];for(let r=1,i=e.length;rMath.min(s,i.modifiedStart-(n.modifiedStart+n.modifiedLength))?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(e)),c=[];for(let t=0,n=e.length;t1&&o>1;){let r=e.charCodeAt(n-2);if(r!==t.charCodeAt(o-2))break;n--,o--}(n>1||o>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,s+1,1,o)}{let n=s1(e,1),o=s1(t,1),a=e.length+1,l=t.length+1;for(;n=0;n--){let t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return -1}(e);return -1===n?t:n+2}function s0(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-t{n.push(s4.fromOffsetPairs(e?e.getEndExclusives():s5.zero,r?r.getStarts():new s5(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),n}static fromOffsetPairs(e,t){return new s4(new sF(e.offset1,t.offset1),new sF(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new s4(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new s4(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new s4(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new s4(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new s4(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),n=this.seq2Range.intersect(e.seq2Range);if(!!t&&!!n)return new s4(t,n)}getStarts(){return new s5(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new s5(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class s5{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}}s5.zero=new s5(0,0),s5.max=new s5(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class s7{isValid(){return!0}}s7.instance=new s7;class s9{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new rd("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&l>0&&3===s.get(a-1,l-1)&&(u+=o.get(a-1,l-1)),u+=r?r(a,l):1):u=-1;let d=Math.max(h,c,u);if(d===u){let e=a>0&&l>0?o.get(a-1,l-1):0;o.set(a,l,e+1),s.set(a,l,3)}else d===h?(o.set(a,l,0),s.set(a,l,1)):d===c&&(o.set(a,l,0),s.set(a,l,2));i.set(a,l,d)}let a=[],l=e.length,u=t.length;function h(e,t){(e+1!==l||t+1!==u)&&a.push(new s4(new sF(e+1,l),new sF(t+1,u))),l=e,u=t}let c=e.length-1,d=t.length-1;for(;c>=0&&d>=0;)3===s.get(c,d)?(h(c,d),c--,d--):1===s.get(c,d)?c--:d--;return h(-1,-1),a.reverse(),new s2(a,!1)}}class ot{compute(e,t,n=s7.instance){if(0===e.length||0===t.length)return s2.trivial(e,t);function r(n,r){for(;ne.length||d>t.length)continue;let f=r(c,d);s.set(a,f);let m=c===i?o.get(a+1):o.get(a-1);if(o.set(a,f!==c?new on(m,c,d,f-c):m),s.get(a)===e.length&&s.get(a)-a===t.length)break t}}let l=o.get(a),u=[],h=e.length,c=t.length;for(;;){let e=l?l.x+l.length:0,t=l?l.y+l.length:0;if((e!==h||t!==c)&&u.push(new s4(new sF(e,h),new sF(t,c))),!l)break;h=l.x,c=l.y,l=l.prev}return u.reverse(),new s2(u,!1)}}class on{constructor(e,t,n,r){this.prev=e,this.x=t,this.y=n,this.length=r}}class or{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class oi{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class os{constructor(e,t){this.uri=e,this.value=t}}class oo{constructor(e,t){if(this[t8]="ResourceMap",e instanceof oo)this.map=new Map(e.map),this.toKey=null!=t?t:oo.defaultToKey;else{if(Array.isArray(e))for(let[n,r]of(this.map=new Map,this.toKey=null!=t?t:oo.defaultToKey,e))this.set(n,r);else this.map=new Map,this.toKey=null!=e?e:oo.defaultToKey}}set(e,t){return this.map.set(this.toKey(e),new os(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[n,r]of(void 0!==t&&(e=e.bind(t)),this.map))e(r.value,r.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(t8=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}oo.defaultToKey=e=>e.toString(),t3=Symbol.toStringTag,Symbol.iterator;class oa{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);!n&&(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){let n=this.map.get(e);if(!!n)n.delete(t),0===n.size&&this.map.delete(e)}forEach(e,t){let n=this.map.get(e);if(!!n)n.forEach(t)}get(e){let t=this.map.get(e);return t?t:new Set}}class ol{constructor(e,t,n){this.lines=e,this.considerWhitespaceChanges=n,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let r=!1;t.start>0&&t.endExclusive>=e.length&&(t=new sF(t.start-1,t.endExclusive),r=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=od(e>0?this.elements[e-1]:-1),n=od(et<=e);return new iz(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return iG.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!ou(this.elements[e]))return;let t=e;for(;t>0&&ou(this.elements[t-1]);)t--;let n=e;for(;nt<=e.start))&&void 0!==t?t:0;return new sF(r,null!==(n=function(e,t){let n=sq(e,t);return n===e.length?void 0:e[n]}(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==n?n:this.elements.length)}}function ou(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let oh={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function oc(e){return oh[e]}function od(e){if(10===e)return 7;if(13===e)return 6;if(s8(e))return 5;else if(e>=97&&e<=122)return 0;else if(e>=65&&e<=90)return 1;else if(e>=48&&e<=57)return 2;else if(-1===e)return 3;else return 4}function of(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let r=new ot().compute(new ol([e],new sF(0,1),!1),new ol([t],new sF(0,1),!1),n),i=0;for(let t of s4.invert(r.diffs,e.length))t.seq1Range.forEach(t=>{!s8(e.charCodeAt(t))&&i++});let s=function(t){let n=0;for(let r=0;rt.length?e:t);return i/s>.6&&s>10}function om(e,t,n){let r=n;return r=function(e,t,n){if(0===n.length)return n;let r=[];r.push(n[0]);for(let i=1;i0&&(o=o.delta(i))}i.push(o)}return r.length>0&&i.push(r[r.length-1]),i}(e,t,r),r=function(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r0?n[r-1]:void 0,s=n[r],o=r+1=r.start&&e.seq2Range.start-s>=i.start&&n.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=u,a=r)}return e.delta(a)}class op{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:ov(this.lines[e-1]);return 1e3-(t+(e===this.lines.length?0:ov(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function ov(e){let t=0;for(;te===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;re===t))return new sI([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new sI([new s$(new sj(1,e.length+1),new sj(1,t.length+1),[new sW(new iG(1,1,e.length,e[0].length+1),new iG(1,1,t.length,t[0].length+1))])],[],!1);let r=0===n.maxComputationTimeMs?s7.instance:new s9(n.maxComputationTimeMs),i=!n.ignoreTrimWhitespace,s=new Map;function o(e){let t=s.get(e);return void 0===t&&(t=s.size,s.set(e,t)),t}let a=e.map(e=>o(e.trim())),l=t.map(e=>o(e.trim())),u=new op(a,e),h=new op(l,t),c=(()=>u.length+h.length<1700?this.dynamicProgrammingDiffing.compute(u,h,r,(n,r)=>e[n]===t[r]?0===t[r].length?.1:1+Math.log(1+t[r].length):.99):this.myersDiffingAlgorithm.compute(u,h))(),d=c.diffs,f=c.hitTimeout;d=om(u,h,d),d=function(e,t,n){let r,i=n;if(0===i.length)return i;let s=0;do{r=!1;let t=[i[0]];for(let n=1;n5)||!!(n.seq1Range.length+n.seq2Range.length>5))||!1})(o,s)?(r=!0,t[t.length-1]=t[t.length-1].join(s)):t.push(s)}i=t}while(s++<10&&r);return i}(u,0,d);let m=[],g=n=>{if(!!i)for(let s=0;sn.seq1Range.start-p==n.seq2Range.start-v),g(n.seq1Range.start-p),p=n.seq1Range.endExclusive,v=n.seq2Range.endExclusive;let s=this.refineDiff(e,t,n,r,i);for(let e of(s.hitTimeout&&(f=!0),s.mappings))m.push(e)}g(e.length-p);let b=oy(m,e,t),y=[];return n.computeMoves&&(y=this.computeMoves(b,e,t,a,l,r,i)),sk(()=>{function n(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let n=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>n.length+1)&&!0}function r(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)&&!0}for(let i of b){if(!i.innerChanges)return!1;for(let r of i.innerChanges)if(!(n(r.modifiedRange.getStartPosition(),t)&&n(r.modifiedRange.getEndPosition(),t)&&n(r.originalRange.getStartPosition(),e)&&n(r.originalRange.getEndPosition(),e)))return!1;if(!r(i.modified,t)||!r(i.original,e))return!1}return!0}),new sI(b,y,f)}computeMoves(e,t,n,r,i,s,o){return(function(e,t,n,r,i,s){let{moves:o,excludedChanges:a}=function(e,t,n,r){let i=[],s=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new s3(e.original,t,e)),o=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new s3(e.modified,n,e))),a=new Set;for(let e of s){let t,n=-1;for(let r of o){let i=e.computeSimilarity(r);i>n&&(n=i,t=r)}if(n>.9&&t&&(o.delete(t),i.push(new sB(e.range,t.range)),a.add(e.source),a.add(t.source)),!r.isValid())break}return{moves:i,excludedChanges:a}}(e,t,n,s);return s.isValid()?(!function(e,t){for(let n of t)e.push(n)}(o,function(e,t,n,r,i,s){var o;let a=[],l=new oa;for(let n of e)for(let e=n.original.startLineNumber;ee.modified.startLineNumber,iX)),e)){let e=[];for(let r=t.modified.startLineNumber;r{for(let n of e)if(n.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&n.modifiedLineRange.endLineNumberExclusive+1===i.endLineNumberExclusive){n.originalLineRange=new sj(n.originalLineRange.startLineNumber,t.endLineNumberExclusive),n.modifiedLineRange=new sj(n.modifiedLineRange.startLineNumber,i.endLineNumberExclusive),s.push(n);return}let n={modifiedLineRange:i,originalLineRange:t};u.push(n),s.push(n)}),e=s}if(!s.isValid())return[]}u.sort((o=iJ(e=>e.modifiedLineRange.length,iX),(e,t)=>-o(e,t)));let h=new sU,c=new sU;for(let e of u){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,n=h.subtractFrom(e.modifiedLineRange),r=c.subtractFrom(e.originalLineRange).getWithDelta(t);for(let e of n.getIntersection(r).ranges){if(e.length<3)continue;let n=e.delta(-t);a.push(new sB(n,e)),h.addRange(e),c.addRange(n)}}a.sort(iJ(e=>e.original.startLineNumber,iX));let d=new sK(e);for(let t=0;te.original.startLineNumber<=l.original.startLineNumber),f=sV(e,e=>e.modified.startLineNumber<=l.modified.startLineNumber),m=Math.max(l.original.startLineNumber-u.original.startLineNumber,l.modified.startLineNumber-f.modified.startLineNumber),g=d.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumberr.length||t>i.length||h.contains(t)||c.contains(e)||!of(r[e-1],i[t-1],s))break}for(n>0&&(c.addRange(new sj(l.original.startLineNumber-n,l.original.startLineNumber)),h.addRange(new sj(l.modified.startLineNumber-n,l.modified.startLineNumber))),o=0;or.length||t>i.length||h.contains(t)||c.contains(e)||!of(r[e-1],i[t-1],s))break}o>0&&(c.addRange(new sj(l.original.endLineNumberExclusive,l.original.endLineNumberExclusive+o)),h.addRange(new sj(l.modified.endLineNumberExclusive,l.modified.endLineNumberExclusive+o))),(n>0||o>0)&&(a[t]=new sB(new sj(l.original.startLineNumber-n,l.original.endLineNumberExclusive+o),new sj(l.modified.startLineNumber-n,l.modified.endLineNumberExclusive+o)))}return a}(e.filter(e=>!a.has(e)),r,i,t,n,s)),o=function(e,t){let n=new sK(e);return t=t.filter(t=>{let r=n.findLastMonotonous(e=>e.original.endLineNumberExclusivee.modified.endLineNumberExclusivee.original.startLineNumber,iX));let t=[e[0]];for(let n=1;n=0&&o>=0&&s+o<=2){t[t.length-1]=r.join(i);continue}t.push(i)}return t}(o)).filter(e=>e.original.toOffsetRange().slice(t).map(e=>e.trim()).join("\n").length>=10))):[]})(e,t,n,r,i,s).map(e=>{let r=oy(this.refineDiff(t,n,new s4(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o).mappings,t,n,!0);return new sP(e,r)})}refineDiff(e,t,n,r,i){let s=new ol(e,n.seq1Range,i),o=new ol(t,n.seq2Range,i),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,r):this.myersDiffingAlgorithm.compute(s,o,r),l=a.diffs;return l=om(s,o,l),l=function(e,t,n){let r=[];for(let e of n){let t=r[r.length-1];if(!t){r.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?r[r.length-1]=new s4(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):r.push(e)}return r}(0,0,l=function(e,t,n){let r,i=[];function s(){if(!r)return;let e=r.s1Range.length-r.deleted;r.s2Range.length,r.added,Math.max(r.deleted,r.added)+(r.count-1)>e&&i.push(new s4(r.s1Range,r.s2Range)),r=void 0}for(let i of n){function o(e,t){var n,o,a,l;if(!r||!r.s1Range.containsRange(e)||!r.s2Range.containsRange(t)){if(r&&!(r.s1Range.endExclusive0||t.length>0;){let r;let i=e[0],s=t[0];r=i&&(!s||i.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=r.seq1Range.start?n[n.length-1]=n[n.length-1].join(r):n.push(r)}return n}(n,i)}(s,o,l)),{mappings:(l=function(e,t,n){let r,i=n;if(0===i.length)return i;let s=0;do{r=!1;let n=[i[0]];for(let s=1;s5||i.length>500)return!1;let s=e.getText(i).trim();if(s.length>20||s.split(/\r\n|\r|\n/).length>1)return!1;let l=e.countLinesIn(n.seq1Range),u=n.seq1Range.length,h=t.countLinesIn(n.seq2Range),c=n.seq2Range.length,d=e.countLinesIn(r.seq1Range),f=r.seq1Range.length,m=t.countLinesIn(r.seq2Range),g=r.seq2Range.length;function p(e){return Math.min(e,130)}return!!(Math.pow(Math.pow(p(40*l+u),1.5)+Math.pow(p(40*h+c),1.5),1.5)+Math.pow(Math.pow(p(40*d+f),1.5)+Math.pow(p(40*m+g),1.5),1.5)>74184.96480721243)||!1})(a,o)?(r=!0,n[n.length-1]=n[n.length-1].join(o)):n.push(o)}i=n}while(s++<10&&r);let o=[];return!function(e,t){for(let n=0;n{let i=n;function s(e){return e.length>0&&e.trim().length<=3&&n.seq1Range.length+n.seq2Range.length>100}let a=e.extendToFullLines(n.seq1Range),l=e.getText(new sF(a.start,n.seq1Range.start));s(l)&&(i=i.deltaStart(-l.length));let u=e.getText(new sF(n.seq1Range.endExclusive,a.endExclusive));s(u)&&(i=i.deltaEnd(u.length));let h=s4.fromOffsetPairs(t?t.getEndExclusives():s5.zero,r?r.getStarts():s5.max),c=i.intersect(h);o.push(c)}),o}(s,o,l)).map(e=>new sW(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range))),hitTimeout:a.hitTimeout}}}function oy(e,t,n,r=!1){let i=[];for(let r of function*(e,t){let n,r;for(let i of e)void 0!==r&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}(e.map(e=>(function(e,t,n){let r=0,i=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1),e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);let s=new sj(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i);return new s$(s,new sj(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i),[e])})(e,t,n)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=r[0],t=r[r.length-1];i.push(new s$(e.original.join(t.original),e.modified.join(t.modified),r.map(e=>e.innerChanges[0])))}return sk(()=>(!!r||!(i.length>0)||i[0].original.startLineNumber===i[0].modified.startLineNumber)&&sR(i,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivenew sH,getDefault:()=>new ob};function oC(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}class oS{constructor(e,t,n,r=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=oC(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class ow{constructor(e,t,n,r){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=oC(Math.max(Math.min(1,t),0),3),this.l=oC(Math.max(Math.min(1,n),0),3),this.a=oC(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=e.a,s=Math.max(t,n,r),o=Math.min(t,n,r),a=0,l=0,u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(n-r)/h+(n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){let t,n,r;let i=e.h/360,{s,l:o,a}=e;if(0===s)t=n=r=o;else{let e=o<.5?o*(1+s):o+s-o*s,a=2*o-e;t=ow._hue2rgb(a,e,i+1/3),n=ow._hue2rgb(a,e,i),r=ow._hue2rgb(a,e,i-1/3)}return new oS(Math.round(255*t),Math.round(255*n),Math.round(255*r),a)}}class oL{constructor(e,t,n,r){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=oC(Math.max(Math.min(1,t),0),3),this.v=oC(Math.max(Math.min(1,n),0),3),this.a=oC(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let n=e.r/255,r=e.g/255,i=e.b/255,s=Math.max(n,r,i),o=s-Math.min(n,r,i);return new oL(Math.round(60*(t=0===o?0:s===n?((r-i)/o%6+6)%6:s===r?(i-n)/o+2:(n-r)/o+4)),0===s?0:o/s,s,e.a)}static toRGBA(e){let{h:t,s:n,v:r,a:i}=e,s=r*n,o=s*(1-Math.abs(t/60%2-1)),a=r-s,[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),new oS(l=Math.round((l+a)*255),u=Math.round((u+a)*255),h=Math.round((h+a)*255),i)}}class ox{static fromHex(e){return ox.Format.CSS.parseHex(e)||ox.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:ow.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:oL.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof oS)this.rgba=e;else if(e instanceof ow)this._hsla=e,this.rgba=ow.toRGBA(e);else if(e instanceof oL)this._hsva=e,this.rgba=oL.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&oS.equals(this.rgba,e.rgba)&&ow.equals(this.hsla,e.hsla)&&oL.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=ox._relativeLuminanceForComponent(this.rgba.r),t=ox._relativeLuminanceForComponent(this.rgba.g),n=ox._relativeLuminanceForComponent(this.rgba.b);return oC(.2126*e+.7152*t+.0722*n,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){let t=this.getRelativeLuminance();return t>e.getRelativeLuminance()}isDarkerThan(e){let t=this.getRelativeLuminance();return tthis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class oI{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new oO(iV.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!!this._models[e])this._models[e].onEvents(t)}acceptRemovedModel(e){if(!!this._models[e])delete this._models[e]}computeUnicodeHighlights(e,t,n){return oM(this,void 0,void 0,function*(){let r=this._getModel(e);return r?sT.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,n,r){return oM(this,void 0,void 0,function*(){let i=this._getModel(e),s=this._getModel(t);return i&&s?oI.computeDiff(i,s,n,r):null})}static computeDiff(e,t,n,r){let i="advanced"===r?o_.getDefault():o_.getLegacy(),s=e.getLinesContent(),o=t.getLinesContent(),a=i.computeDiff(s,o,n);function l(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:l(a.changes),moves:a.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,l(e.changes)])}}static _modelsAreIdentical(e,t){let n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){let n=e.getLineContent(r);if(n!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t,n){return oM(this,void 0,void 0,function*(){let r,i=this._getModel(e);if(!i)return t;let s=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return iG.compareRangesUsingStarts(e.range,t.range);let n=e.range?0:1;return n-(t.range?0:1)});let o=0;for(let e=1;eoI._diffLimit){s.push({range:e,text:h});continue}let o=(a=t,l=h,u=n,new iv(new id(a),new id(l)).ComputeDiff(u).changes),d=i.offsetAt(iG.lift(e).getStartPosition());for(let e of o){let t=i.positionAt(d+e.originalStart),n=i.positionAt(d+e.originalStart+e.originalLength),r={text:h.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}};i.getValueInRange(r.range)!==r.text&&s.push(r)}}return"number"==typeof r&&s.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(e){return oM(this,void 0,void 0,function*(){var t;let n=this._getModel(e);if(!n)return null;return(t=n)&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?sn.computeLinks(t):[]})}computeDefaultDocumentColors(e){return oM(this,void 0,void 0,function*(){var t;let n=this._getModel(e);if(!n)return null;return(t=n)&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],n=oT(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(let r of n){let n;let i=r.filter(e=>void 0!==e),s=i[1],o=i[2];if(!!o){if("rgb"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;n=ok(oA(e,r),oT(o,t),!1)}else if("rgba"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=ok(oA(e,r),oT(o,t),!0)}else if("hsl"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;n=oR(oA(e,r),oT(o,t),!1)}else if("hsla"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=oR(oA(e,r),oT(o,t),!0)}else"#"===s&&(n=function(e,t){if(!e)return;let n=ox.Format.CSS.parseHex(t);if(!!n)return{range:e,color:oN(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}(oA(e,r),s+o));n&&t.push(n)}}return t}(t):[]})}textualSuggest(e,t,n,r){return oM(this,void 0,void 0,function*(){let i=new rL,s=new RegExp(n,r),o=new Set;n:for(let n of e){let e=this._getModel(n);if(!!e)for(let n of e.words(s)){if(n!==t&&!!isNaN(Number(n))){if(o.add(n),o.size>oI._suggestionsLimit)break n}}}return{words:Array.from(o),duration:i.elapsed()}})}computeWordRanges(e,t,n,r){return oM(this,void 0,void 0,function*(){let i=this._getModel(e);if(!i)return Object.create(null);let s=new RegExp(n,r),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(let t of e)r[t]=n(t);return r}(n,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:r,getMirrorModels:()=>this._getModels()},t),Promise.resolve(rM(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}oI._diffLimit=1e5,oI._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:so,Emitter:rR,KeyCode:tD,KeyMod:sE,Position:iz,Range:iG,Selection:sb,SelectionDirection:tX,MarkerSeverity:tq,MarkerTag:tK,Uri:iV,Token:sL});let oP=!1;function oF(e){if(oP)return;oP=!0;let t=new is(e=>{globalThis.postMessage(e)},t=>new oI(t,e));globalThis.onmessage=e=>{t.onmessage(e.data)}}function oV(e,t){void 0===t&&(t=!1);var n=e.length,r=0,i="",s=0,o=16,a=0,l=0,u=0,h=0,c=0;function d(){if(i="",c=0,s=r,l=a,h=u,r>=n)return s=n,o=17;var t=e.charCodeAt(r);if(oD(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(oD(t));return o=15}if(oq(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),a++,u=r,o=14;switch(t){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,i=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),c=2;break}var s=e.charCodeAt(r);if(34===s){t+=e.substring(i,r),r++;break}if(92===s){if(t+=e.substring(i,r),++r>=n){c=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:var o=function(t,n){for(var i=0,s=0;i<4||!n;){var o=e.charCodeAt(r);if(o>=48&&o<=57)s=16*s+o-48;else if(o>=65&&o<=70)s=16*s+o-65+10;else if(o>=97&&o<=102)s=16*s+o-97+10;else break;r++,i++}return i=0?t+=String.fromCharCode(o):c=4;break;default:c=5}i=r;continue}if(s>=0&&s<=31){if(oq(s)){t+=e.substring(i,r),c=2;break}c=6}r++}return t}(),o=10;case 47:var d=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r=12&&e<=15);return e}:d,getToken:function(){return o},getTokenValue:function(){return i},getTokenOffset:function(){return s},getTokenLength:function(){return r-s},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return s-h},getTokenError:function(){return c}}}function oD(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function oq(e){return 10===e||13===e||8232===e||8233===e}function oK(e){return e>=48&&e<=57}globalThis.onmessage=e=>{!oP&&oF(null)};function oj(e,t){for(var n="",r=0;r0){for(var i=r.getToken();17!==i;){if(-1!==t.indexOf(i)){v();break}if(-1!==n.indexOf(i))break;i=v()}}}function y(e){var t=r.getTokenValue();return e?c(t):a(t),v(),!0}function _(){switch(r.getToken()){case 3:return function(){u(),v();for(var e=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(!e&&b(4,[],[]),d(","),v(),4===r.getToken()&&p)break}else e&&b(6,[],[]);!_()&&b(4,[],[4,5]),e=!0}return h(),4!==r.getToken()?b(8,[4],[]):v(),!0}();case 1:return function(){o(),v();for(var e=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(!e&&b(4,[],[]),d(","),v(),2===r.getToken()&&p)break}else e&&b(6,[],[]);!(10!==r.getToken()?(b(3,[],[2,5]),!1):(y(!1),6===r.getToken()?(d(":"),v(),!_()&&b(4,[],[2,5])):b(5,[],[2,5]),!0))&&b(4,[],[2,5]),e=!0}return l(),2!==r.getToken()?b(7,[2],[]):v(),!0}();case 10:return y(!0);default:return function(){switch(r.getToken()){case 11:var e=Number(r.getTokenValue());isNaN(e)&&(b(2),e=0),c(e);break;case 7:c(null);break;case 8:c(!0);break;case 9:c(!1);break;default:return!1}return v(),!0}()}}if(v(),17===r.getToken())return n.allowEmptyContent||(b(4,[],[]),0);_()?(17!==r.getToken()&&b(9,[],[]),!0):(b(4,[],[]),!1)}(e,{onObjectBegin:function(){var e={};o(e),s.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=s.pop()},onArrayBegin:function(){var e=[];o(e),s.push(i),i=e,r=null},onArrayEnd:function(){i=s.pop()},onLiteralValue:o,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},o$=function e(t,n,r){var i,s,o;if(void 0===r&&(r=!1),i=t,s=n,void 0===(o=r)&&(o=!1),s>=i.offset&&s0?e.lastIndexOf(t)===n:0===n&&e===t}function oZ(e){var t="";(function(e,t){if(e.length0&&(i.arguments=n),i},eA.is=function(e){return n5.defined(e)&&n5.string(e.title)&&n5.string(e.command)},(ek=nb||(nb={})).replace=function(e,t){return{range:e,newText:t}},ek.insert=function(e,t){return{range:{start:e,end:e},newText:t}},ek.del=function(e){return{range:e,newText:""}},ek.is=function(e){return n5.objectLiteral(e)&&n5.string(e.newText)&&ni.is(e.range)},(eR=ny||(ny={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},eR.is=function(e){return void 0!==e&&n5.objectLiteral(e)&&n5.string(e.label)&&(n5.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(n5.string(e.description)||void 0===e.description)},(n_||(n_={})).is=function(e){return"string"==typeof e},(eT=nC||(nC={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},eT.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},eT.del=function(e,t){return{range:e,newText:"",annotationId:t}},eT.is=function(e){return nb.is(e)&&(ny.is(e.annotationId)||n_.is(e.annotationId))},(eM=nS||(nS={})).create=function(e,t){return{textDocument:e,edits:t}},eM.is=function(e){return n5.defined(e)&&nk.is(e.textDocument)&&Array.isArray(e.edits)},(eO=nw||(nw={})).create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},eO.is=function(e){return e&&"create"===e.kind&&n5.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||n5.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||n5.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||n_.is(e.annotationId))},(eI=nL||(nL={})).create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},eI.is=function(e){return e&&"rename"===e.kind&&n5.string(e.oldUri)&&n5.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||n5.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||n5.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||n_.is(e.annotationId))},(eP=nx||(nx={})).create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},eP.is=function(e){return e&&"delete"===e.kind&&n5.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||n5.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||n5.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||n_.is(e.annotationId))},(nE||(nE={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return n5.string(e.kind)?nw.is(e)||nL.is(e)||nx.is(e):nS.is(e)}))};var oY=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=nb.insert(e,t):n_.is(n)?(i=n,r=nC.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=nC.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=nb.replace(e,t):n_.is(n)?(i=n,r=nC.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=nC.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=nb.del(e):n_.is(t)?(r=t,n=nC.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=nC.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),o1=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(n_.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id "+n+" is already in use.");if(void 0===t)throw Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new o1(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(nS.is(e)){var n=new oY(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new oY(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(nk.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new oY(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new oY(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new o1,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,s;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ny.is(t)||n_.is(t)?r=t:n=t,void 0===r?i=nw.create(e,n):(s=n_.is(r)?r:this._changeAnnotations.manage(r),i=nw.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s},e.prototype.renameFile=function(e,t,n,r){var i,s,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ny.is(n)||n_.is(n)?i=n:r=n,void 0===i?s=nL.create(e,t,r):(o=n_.is(i)?i:this._changeAnnotations.manage(i),s=nL.create(e,t,r,o)),this._workspaceEdit.documentChanges.push(s),void 0!==o)return o},e.prototype.deleteFile=function(e,t,n){var r,i,s;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ny.is(t)||n_.is(t)?r=t:n=t,void 0===r?i=nx.create(e,n):(s=n_.is(r)?r:this._changeAnnotations.manage(r),i=nx.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s}}(),(eF=nN||(nN={})).create=function(e){return{uri:e}},eF.is=function(e){return n5.defined(e)&&n5.string(e.uri)},(eV=nA||(nA={})).create=function(e,t){return{uri:e,version:t}},eV.is=function(e){return n5.defined(e)&&n5.string(e.uri)&&n5.integer(e.version)},(eD=nk||(nk={})).create=function(e,t){return{uri:e,version:t}},eD.is=function(e){return n5.defined(e)&&n5.string(e.uri)&&(null===e.version||n5.integer(e.version))},(eq=nR||(nR={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},eq.is=function(e){return n5.defined(e)&&n5.string(e.uri)&&n5.string(e.languageId)&&n5.integer(e.version)&&n5.string(e.text)},(eK=nT||(nT={})).PlainText="plaintext",eK.Markdown="markdown",(ej=nT||(nT={})).is=function(e){return e===ej.PlainText||e===ej.Markdown},(nM||(nM={})).is=function(e){return n5.objectLiteral(e)&&nT.is(e.kind)&&n5.string(e.value)},(eU=nO||(nO={})).Text=1,eU.Method=2,eU.Function=3,eU.Constructor=4,eU.Field=5,eU.Variable=6,eU.Class=7,eU.Interface=8,eU.Module=9,eU.Property=10,eU.Unit=11,eU.Value=12,eU.Enum=13,eU.Keyword=14,eU.Snippet=15,eU.Color=16,eU.File=17,eU.Reference=18,eU.Folder=19,eU.EnumMember=20,eU.Constant=21,eU.Struct=22,eU.Event=23,eU.Operator=24,eU.TypeParameter=25,(eB=nI||(nI={})).PlainText=1,eB.Snippet=2,(nP||(nP={})).Deprecated=1,(e$=nF||(nF={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},e$.is=function(e){return e&&n5.string(e.newText)&&ni.is(e.insert)&&ni.is(e.replace)},(eW=nV||(nV={})).asIs=1,eW.adjustIndentation=2,(nD||(nD={})).create=function(e){return{label:e}},(nq||(nq={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(eH=nK||(nK={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},eH.is=function(e){return n5.string(e)||n5.objectLiteral(e)&&n5.string(e.language)&&n5.string(e.value)},(nj||(nj={})).is=function(e){return!!e&&n5.objectLiteral(e)&&(nM.is(e.contents)||nK.is(e.contents)||n5.typedArray(e.contents,nK.is))&&(void 0===e.range||ni.is(e.range))},(nU||(nU={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(nB||(nB={})).create=function(e,t){for(var n=[],r=2;r=n(i[o],s[a])?t[l++]=i[o++]:t[l++]=s[a++];for(;o=0;s--){var o=r[s],a=e.offsetAt(o.range.start),l=e.offsetAt(o.range.end);if(l<=i)n=n.substring(0,a)+o.newText+n.substring(l,n.length);else throw Error("Overlapping edit");i=a}return n};var o0=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return nr.create(0,e);for(;ne?r=i:n=i+1}var s=n-1;return nr.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1e?r=i:n=i+1}let i=n-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1=n(i[o],s[a])?t[l++]=i[o++]:t[l++]=s[a++];for(;o{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),i=0,s=[];for(let t of r){let r=e.offsetAt(t.range.start);if(ri&&s.push(n.substring(i,r));t.newText.length&&s.push(t.newText),i=e.offsetAt(t.range.end)}return s.push(n.substr(i)),s.join("")};function o4(e,t,n=0){let r=t?[n]:[];for(let t=0;tn.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function o7(e){let t=o5(e.range);return t!==e.range?{newText:e.newText,range:t}:e}(e6=n9||(n9={}))[e6.Undefined=0]="Undefined",e6[e6.EnumValueMismatch=1]="EnumValueMismatch",e6[e6.Deprecated=2]="Deprecated",e6[e6.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e6[e6.UnexpectedEndOfString=258]="UnexpectedEndOfString",e6[e6.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e6[e6.InvalidUnicode=260]="InvalidUnicode",e6[e6.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e6[e6.InvalidCharacter=262]="InvalidCharacter",e6[e6.PropertyExpected=513]="PropertyExpected",e6[e6.CommaExpected=514]="CommaExpected",e6[e6.ColonExpected=515]="ColonExpected",e6[e6.ValueExpected=516]="ValueExpected",e6[e6.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e6[e6.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e6[e6.TrailingComma=519]="TrailingComma",e6[e6.DuplicateKey=520]="DuplicateKey",e6[e6.CommentNotPermitted=521]="CommentNotPermitted",e6[e6.SchemaResolveError=768]="SchemaResolveError",(n6||(n6={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[nT.Markdown,nT.PlainText],commitCharactersSupport:!0}}}};function o9(e,t,...n){var r,i;let s;return r=t,s=0===(i=n).length?r:r.replace(/\{(\d+)\}/g,(e,t)=>{let n=t[0];return void 0!==i[n]?i[n]:e})}function o6(e){return o9}var o8=(e8=function(e,t){return(e8=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}e8(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});var o3={"color-hex":{errorMessage:o9("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:o9("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:o9("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:o9("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:o9("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}))$/},hostname:{errorMessage:o9("hostnameFormatWarning","String is not a hostname."),pattern:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i},ipv4:{errorMessage:o9("ipv4FormatWarning","String is not an IPv4 address."),pattern:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/},ipv6:{errorMessage:o9("ipv6FormatWarning","String is not an IPv6 address."),pattern:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i}},ae=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),at=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return o8(t,e),t}(ae),an=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return o8(t,e),t}(ae),ar=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return o8(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(ae),ai=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return o8(t,e),t}(ae),as=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return o8(t,e),t}(ae),ao=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.type="property",i.colonOffset=-1,i.keyNode=r,i}return o8(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(ae),aa=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return o8(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(ae);function al(e){return oX(e)?e?{}:{not:{}}:e}(te=n8||(n8={}))[te.Key=0]="Key",te[te.Enum=1]="Enum";var au=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||am(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),ah=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),ac=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0;t=e.offset&&t=0;)s.splice(t,1),t=s.indexOf(e)};if(t.properties)for(var p=0,v=Object.keys(t.properties);p0)for(var A=0;At.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)}),oG(t.minProperties)&&e.properties.length=i.length&&n.propertiesValueMatches++}if(e.items.length>i.length){if("object"==typeof t.additionalItems)for(var u=i.length;ut.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)}),!0===t.uniqueItems){var m=oH(e);m.some(function(e,t){return t!==m.lastIndexOf(e)})&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("uniqueItemsWarning","Array has duplicate items.")})}})(e,t,n,r);break;case"string":(function(e,t,n,r){if(oG(t.minLength)&&e.value.lengtht.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)}),"string"==typeof t.pattern){var i=oZ(t.pattern);!(null==i?void 0:i.test(e.value))&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||o9("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}if(t.format)switch(t.format){case"uri":case"uri-reference":var s=void 0;if(e.value){var o=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);o?!o[2]&&"uri"===t.format&&(s=o9("uriSchemeMissing","URI with a scheme is expected.")):s=o9("uriMissing","URI is expected.")}else s=o9("uriEmpty","URI expected.");s&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||o9("uriFormatWarning","String is not a URI: {0}",s)});break;case"color-hex":case"date-time":case"date":case"time":case"email":case"hostname":case"ipv4":case"ipv6":var a=o3[t.format];(!e.value||!a.pattern.exec(e.value))&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||a.errorMessage})}})(e,t,n,r);break;case"number":(function(e,t,n,r){var i=e.value;function s(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(oG(t.multipleOf)){var o=-1;if(Number.isInteger(t.multipleOf))o=i%t.multipleOf;else{var a=s(t.multipleOf),l=s(i);if(a&&l){var u=Math.pow(10,Math.abs(l.multiplier-a.multiplier));l.multiplier=f&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",f)});var m=c(t.minimum,t.exclusiveMinimum);oG(m)&&ig&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("maximumWarning","Value is above the maximum of {0}.",g)})})(e,t,n,r);break;case"property":return ap(e.valueNode,t,n,r)}(function(){function i(t){return e.type===t||"integer"===t&&"number"===e.type&&e.isInteger}if(Array.isArray(t.type)?!t.type.some(i)&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||o9("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&!i(t.type)&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||o9("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}),Array.isArray(t.allOf))for(var s,o,a,l,u,h,c=0,d=t.allOf;c0?o={schema:l,validationResult:u,matchingSchemas:h}:0===c&&(o.matchingSchemas.merge(h),o.validationResult.mergeEnumValues(u))}else o.matchingSchemas.merge(h),o.validationResult.propertiesMatches+=u.propertiesMatches,o.validationResult.propertiesValueMatches+=u.propertiesValueMatches}else o={schema:l,validationResult:u,matchingSchemas:h}}return s.length>1&&i&&n.problems.push({location:{offset:e.offset,length:1},message:o9("oneOfWarning","Matches multiple schemas when only one must validate.")}),o&&(n.merge(o.validationResult),n.propertiesMatches+=o.validationResult.propertiesMatches,n.propertiesValueMatches+=o.validationResult.propertiesValueMatches,r.merge(o.matchingSchemas)),s.length};Array.isArray(t.anyOf)&&y(t.anyOf,!1),Array.isArray(t.oneOf)&&y(t.oneOf,!0);var _=function(t){var i=new ac,s=r.newSub();ap(e,al(t),i,s),n.merge(i),n.propertiesMatches+=i.propertiesMatches,n.propertiesValueMatches+=i.propertiesValueMatches,r.merge(s)},C=al(t.if);if(C){;s=C,o=al(t.then),a=al(t.else),l=al(s),u=new ac,ap(e,l,u,h=r.newSub()),r.merge(h),u.hasProblems()?a&&_(a):o&&_(o)}if(Array.isArray(t.enum)){for(var S=oH(e),w=!1,L=0,x=t.enum;L=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var r=n(e);if(r)return r}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var r,i=this,s={items:[],isIncomplete:!1},o=e.getText(),a=e.offsetAt(t),l=n.getNodeFromOffset(a,!0);if(this.isInComment(e,l?l.offset:0,a))return Promise.resolve(s);if(l&&a===l.offset+l.length&&a>0){var u=o[a-1];("object"===l.type&&"}"===u||"array"===l.type&&"]"===u)&&(l=l.parent)}var h=this.getCurrentWord(e,a);if(l&&("string"===l.type||"number"===l.type||"boolean"===l.type||"null"===l.type))r=ni.create(e.positionAt(l.offset),e.positionAt(l.offset+l.length));else{var c=a-h.length;c>0&&'"'===o[c-1]&&c--,r=ni.create(e.positionAt(c),t)}var d={},f={add:function(e){var t=e.label,n=d[t];if(n)!n.documentation&&(n.documentation=e.documentation),!n.detail&&(n.detail=e.detail);else{if((t=t.replace(/[\n]/g,"\u21B5")).length>60){var i=t.substr(0,57).trim()+"...";!d[i]&&(t=i)}r&&void 0!==e.insertText&&(e.textEdit=nb.replace(r,e.insertText)),e.label=t,d[t]=e,s.items.push(e)}},setAsIncomplete:function(){s.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return s.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then(function(t){var u=[],c=!0,m="",g=void 0;if(l&&"string"===l.type){var p=l.parent;p&&"property"===p.type&&p.keyNode===l&&(c=!p.valueNode,g=p,m=o.substr(l.offset+1,l.length-2),p&&(l=p.parent))}if(l&&"object"===l.type){if(l.offset===a)return s;l.properties.forEach(function(e){(!g||g!==e)&&(d[e.keyNode.value]=nD.create("__"))});var v="";c&&(v=i.evaluateSeparatorAfter(e,e.offsetAt(r.end))),t?i.getPropertyCompletions(t,n,l,c,v,f):i.getSchemaLessPropertyCompletions(n,l,m,f);var b=oW(l);i.contributions.forEach(function(t){var n=t.collectPropertyCompletions(e.uri,b,h,c,""===v,f);n&&u.push(n)}),!t&&h.length>0&&'"'!==o.charAt(a-h.length-1)&&(f.add({kind:nO.Property,label:i.getLabelForValue(h),insertText:i.getInsertTextForProperty(h,void 0,!1,v),insertTextFormat:nI.Snippet,documentation:""}),f.setAsIncomplete())}var y={};return t?i.getValueCompletions(t,n,l,a,e,f,y):i.getSchemaLessValueCompletions(n,l,a,e,f),i.contributions.length>0&&i.getContributedValueCompletions(n,l,a,e,f,u),i.promiseConstructor.all(u).then(function(){if(0===f.getNumberOfProposals()){var t=a;l&&("string"===l.type||"number"===l.type||"boolean"===l.type||"null"===l.type)&&(t=l.offset+l.length);var n=i.evaluateSeparatorAfter(e,t);i.addFillerValueCompletions(y,n,f)}return s})})},e.prototype.getPropertyCompletions=function(e,t,n,r,i,s){var o=this;t.getMatchingSchemas(e.schema,n.offset).forEach(function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach(function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:nO.Property,label:e,insertText:o.getInsertTextForProperty(e,n,r,i),insertTextFormat:nI.Snippet,filterText:o.getFilterTextForValue(e),documentation:o.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&oQ(a.insertText,"$1".concat(i))&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),s.add(a)}});var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var l=function(e,t){void 0===t&&(t=void 0);var n={kind:nO.Property,label:e,insertText:o.getInsertTextForProperty(e,void 0,r,i),insertTextFormat:nI.Snippet,filterText:o.getFilterTextForValue(e),documentation:t||o.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&oQ(n.insertText,"$1".concat(i))&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),s.add(n)};if(a.enum)for(var u=0;u(t.colonOffset||0)){var u=t.valueNode;if(u&&(n>u.offset+u.length||"object"===u.type||"array"===u.type))return;var h=t.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&l(e.valueNode),!0}),"$schema"===h&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,i)}if("array"===t.type){if(t.parent&&"property"===t.parent.type){var c=t.parent.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===c&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(l),!0})}else t.items.forEach(l)}},e.prototype.getValueCompletions=function(e,t,n,r,i,s,o){var a=r,l=void 0,u=void 0;if(n&&("string"===n.type||"number"===n.type||"boolean"===n.type||"null"===n.type)&&(a=n.offset+n.length,u=n,n=n.parent),!n){this.addSchemaValueCompletions(e.schema,"",s,o);return}if("property"===n.type&&r>(n.colonOffset||0)){var h=n.valueNode;if(h&&r>h.offset+h.length)return;l=n.keyNode.value,n=n.parent}if(n&&(void 0!==l||"array"===n.type)){for(var c=this.evaluateSeparatorAfter(i,a),d=t.getMatchingSchemas(e.schema,n.offset,u),f=0;f(t.colonOffset||0)){var o=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var l=oW(t.parent);this.contributions.forEach(function(e){var t=e.collectValueCompletions(r.uri,l,o,i);t&&s.push(t)})}}}else this.contributions.forEach(function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&s.push(t)})},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.anyOf)&&e.anyOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.oneOf)&&e.oneOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var s=!1;if(oJ(e.default)){for(var o=e.type,a=e.default,l=r;l>0;l--)a=[a],o="array";n.add({kind:this.getSuggestionKind(o),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:nI.Snippet,detail:o9("json.suggest.default","Default value")}),s=!0}Array.isArray(e.examples)&&e.examples.forEach(function(o){for(var a=e.type,l=o,u=r;u>0;u--)l=[l],a="array";n.add({kind:i.getSuggestionKind(a),label:i.getLabelForValue(l),insertText:i.getInsertTextForValue(l,t),insertTextFormat:nI.Snippet}),s=!0}),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach(function(o){var a,l,u=e.type,h=o.body,c=o.label;if(oJ(h)){e.type;for(var d=r;d>0;d--)h=[h];a=i.getInsertTextForSnippetValue(h,t),l=i.getFilterTextForSnippetValue(h),c=c||i.getLabelForSnippetValue(h)}else{if("string"!=typeof o.bodyText)return;for(var f="",m="",g="",d=r;d>0;d--)f=f+g+"[\n",m=m+"\n"+g+"]",g+=" ",u="array";a=f+g+o.bodyText.split("\n").join("\n"+g)+m+t,c=c||a,l=a.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(u),label:c,documentation:i.fromMarkup(o.markdownDescription)||o.description,insertText:a,insertTextFormat:nI.Snippet,filterText:l}),s=!0}),!s&&"object"==typeof e.items&&!Array.isArray(e.items)&&r<5&&this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(oJ(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:nI.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r0?t[0]:void 0}if(!e)return nO.Value;switch(e){case"string":default:return nO.Value;case"object":return nO.Module;case"property":return nO.Property}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i,s=this.getInsertTextForValue(e,"");if(!n)return s;var o=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var a=t.defaultSnippets[0].body;oJ(a)&&(i=this.getInsertTextForSnippetValue(a,""))}o+=t.defaultSnippets.length}if(t.enum&&(!i&&1===t.enum.length&&(i=this.getInsertTextForGuessedValue(t.enum[0],"")),o+=t.enum.length),oJ(t.default)&&(!i&&(i=this.getInsertTextForGuessedValue(t.default,"")),o++),Array.isArray(t.examples)&&t.examples.length&&(!i&&(i=this.getInsertTextForGuessedValue(t.examples[0],"")),o+=t.examples.length),0===o){var l=Array.isArray(t.type)?t.type[0]:t.type;switch(!l&&(t.properties?l="object":t.items&&(l="array")),l){case"boolean":i="$1";break;case"string":i='"$1"';break;case"object":i="{$1}";break;case"array":i="[$1]";break;case"number":case"integer":i="${1:0}";break;case"null":i="${1:null}";break;default:return s}}}return(!i||o>1)&&(i="$1"),s+": "+i+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=oV(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=oV(t.getText(),!0),i=e.items,s=i.length-1;s>=0;s--){var o=i[s];if(n>o.offset+o.length){if(r.setPosition(o.offset+o.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength())return s+1;return s}if(n>=o.offset)return s}return 0},e.prototype.isInComment=function(e,t,n){var r=oV(e.getText(),!1);r.setPosition(t);for(var i=r.scan();17!==i&&r.getTokenOffset()+r.getTokenLength()i.offset+1&&r=0;h--){var c=this.contributions[h].getInfoContribution(e.uri,u);if(c)return c.then(function(e){return l(e)})}return this.schemaService.getSchemaForResource(e.uri,n).then(function(e){if(e&&i){var t=n.getMatchingSchemas(e.schema,i.offset),r=void 0,s=void 0,o=void 0,a=void 0;t.every(function(e){if(e.node===i&&!e.inverted&&e.schema&&(r=r||e.schema.title,s=s||e.schema.markdownDescription||aC(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(oH(i));e.schema.markdownEnumDescriptions?o=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(o=aC(e.schema.enumDescriptions[t])),o&&"string"!=typeof(a=e.schema.enum[t])&&(a=JSON.stringify(a))}return!0});var u="";return r&&(u=aC(r)),s&&(u.length>0&&(u+="\n\n"),u+=s),o&&(u.length>0&&(u+="\n\n"),u+="`".concat(function(e){return -1!==e.indexOf("`")?"`` "+e+" ``":e}(a),"`: ").concat(o)),l([u])}return null})},e}();function aC(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var aS=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=!1!==e.validate,this.commentSeverity=e.allowComments?void 0:nf.Error)},e.prototype.doValidation=function(e,t,n,r){var i=this;if(!this.validationEnabled)return this.promise.resolve([]);var s=[],o={},a=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;!o[t]&&(o[t]=!0,s.push(e))},l=function(r){var o=(null==n?void 0:n.trailingCommas)?aL(n.trailingCommas):nf.Error,l=(null==n?void 0:n.comments)?aL(n.comments):i.commentSeverity,u=(null==n?void 0:n.schemaValidation)?aL(n.schemaValidation):nf.Warning,h=(null==n?void 0:n.schemaRequest)?aL(n.schemaRequest):nf.Warning;if(r){if(r.errors.length&&t.root&&h){var c=t.root,d="object"===c.type?c.properties[0]:void 0;if(d&&"$schema"===d.keyNode.value){var f=d.valueNode||d,m=ni.create(e.positionAt(f.offset),e.positionAt(f.offset+f.length));a(np.create(m,r.errors[0],h,n9.SchemaResolveError))}else{var m=ni.create(e.positionAt(c.offset),e.positionAt(c.offset+1));a(np.create(m,r.errors[0],h,n9.SchemaResolveError))}}else if(u){var g=t.validate(e,r.schema,u);g&&g.forEach(a)}(function e(t){if(t&&"object"==typeof t){if(oX(t.allowComments))return t.allowComments;if(t.allOf)for(var n=0,r=t.allOf;n=97&&e<=102)?e-97+10:0}var aE=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var s=n.resultLimit||Number.MAX_VALUE,o=e.uri;if(("vscode://defaultsettings/keybindings.json"===o||oQ(o.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var a=[],l=0,u=i.items;l0){s--;var o=ns.create(e.uri,aN(e,t)),a=n?n+"."+t.keyNode.value:t.keyNode.value;b.push({name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),location:o,containerName:n}),g.push({node:i,containerName:a})}else v=!0}})};p0){s--;var o=aN(e,t),a={name:String(i),kind:r.getSymbolKind(t.type),range:o,selectionRange:o,children:[]};n.push(a),v.push({result:a.children,node:t})}else y=!0}}):"object"===t.type&&t.properties.forEach(function(t){var i=t.valueNode;if(i){if(s>0){s--;var o=aN(e,t),a=aN(e,t.keyNode),l=[],u={name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),range:o,selectionRange:a,children:l,detail:r.getDetail(i)};n.push(u),v.push({result:l,node:i})}else y=!0}})};b{var e={470:e=>{function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,s=-1,o=0,a=0;a<=e.length;++a){if(a2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),s=a,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,s=a,o=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(s+1,a):r=e.slice(s+1,a),i=a-s-1;s=a,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r,i="",s=!1,o=arguments.length-1;o>=-1&&!s;o--)o>=0?e=arguments[o]:(void 0===r&&(r=process.cwd()),e=r),t(e),0!==e.length&&(i=e+"/"+i,s=47===e.charCodeAt(0));return i=n(i,!s),s?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(a+c))return n.slice(a+c+1);if(0===c)return n.slice(a+c)}else o>u&&(47===e.charCodeAt(i+c)?h=c:0===c&&(h=0));break}var d=e.charCodeAt(i+c);if(d!==n.charCodeAt(a+c))break;47===d&&(h=c)}var f="";for(c=i+h+1;c<=s;++c)c!==s&&47!==e.charCodeAt(c)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(a+h):(a+=h,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,s=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!s){i=o;break}}else s=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,s=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else -1===l&&(o=!1,l=r+1),a>=0&&(u===n.charCodeAt(a)?-1==--a&&(s=r):(a=-1,s=l))}return i===s?s=l:-1===s&&(s=e.length),e.slice(i,s)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else -1===s&&(o=!1,s=r+1);return -1===s?"":e.slice(i,s)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,s=!0,o=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(s=!1,i=a+1),46===l?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1);else if(!s){r=a+1;break}}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){var t,n,r,i;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=0,r=(n=e).dir||n.root,i=n.base||(n.name||"")+(n.ext||""),r?r===n.root?r+i:r+"/"+i:i},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),s=47===i;s?(n.root="/",r=1):r=0;for(var o=-1,a=0,l=-1,u=!0,h=e.length-1,c=0;h>=r;--h)if(47!==(i=e.charCodeAt(h)))-1===l&&(u=!1,l=h+1),46===i?-1===o?o=h:1!==c&&(c=1):-1!==o&&(c=-1);else if(!u){a=h+1;break}return -1===o||-1===l||0===c||1===c&&o===l-1&&o===a+1?-1!==l&&(n.base=n.name=0===a&&s?e.slice(1,l):e.slice(a,l)):(0===a&&s?(n.name=e.slice(1,o),n.base=e.slice(1,l)):(n.name=e.slice(a,o),n.base=e.slice(a,l)),n.ext=e.slice(o,l)),a>0?n.dir=e.slice(0,a-1):s&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},447:(e,t,n)=>{(n.r(t),n.d(t,{URI:()=>f,Utils:()=>w}),"object"==typeof process)?i="win32"===process.platform:"object"==typeof navigator&&(i=navigator.userAgent.indexOf("Windows")>=0);var r,i,s,o,a=(s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=/^\w[\w\d+.-]*$/,u=/^\//,h=/^\/\//;function c(e,t){if(!e.scheme&&t)throw Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(e.authority,'", path: "').concat(e.path,'", query: "').concat(e.query,'", fragment: "').concat(e.fragment,'"}'));if(e.scheme&&!l.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!u.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(h.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,f=function(){function e(e,t,n,r,i,s){var o,a;void 0===s&&(s=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(o=e,a=s,o||a?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",c(this,s))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"string"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return y(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,s=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment?this:new g(t,n,r,i,s)},e.parse=function(e,t){void 0===t&&(t=!1);var n=d.exec(e);return n?new g(n[2]||"",S(n[4]||""),S(n[5]||""),S(n[7]||""),S(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(i&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){var n=e.indexOf("/",2);-1===n?(t=e.substring(2),e="/"):(t=e.substring(2,n),e=e.substring(n)||"/")}return new g("file",t,e,"","")},e.from=function(e){var t=new g(e.scheme,e.authority,e.path,e.query,e.fragment);return c(t,!0),t},e.prototype.toString=function(e){return void 0===e&&(e=!1),_(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=i?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=y(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(f),p=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function v(e,t){for(var n=void 0,r=-1,i=0;i=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var o=p[s];void 0!==o?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=o):-1===r&&(r=i)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function b(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//".concat(e.authority).concat(e.path):47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i&&(n=n.replace(/\//g,"\\")),n}function _(e,t){var n,r=t?b:v,i="",s=e.scheme,o=e.authority,a=e.path,l=e.query,u=e.fragment;if(s&&(i+=s,i+=":"),(o||"file"===s)&&(i+="//"),o){var h=o.indexOf("@");if(-1!==h){var c=o.substr(0,h);o=o.substr(h+1),-1===(h=c.indexOf(":"))?i+=r(c,!1):(i+=r(c.substr(0,h),!1),i+=":",i+=r(c.substr(h+1),!1)),i+="@"}-1===(h=(o=o.toLowerCase()).indexOf(":"))?i+=r(o,!1):(i+=r(o.substr(0,h),!1),i+=o.substr(h))}return a&&(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)?(n=a.charCodeAt(1))>=65&&n<=90&&(a="/".concat(String.fromCharCode(n+32),":").concat(a.substr(3))):a.length>=2&&58===a.charCodeAt(1)&&(n=a.charCodeAt(0))>=65&&n<=90&&(a="".concat(String.fromCharCode(n+32),":").concat(a.substr(2))),i+=r(a,!0)),l&&(i+="?",i+=r(l,!1)),u&&(i+="#",i+=t?u:v(u,!1)),i}var C=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(C)?e.replace(C,function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)}):e}var w,L=n(470),x=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,s=t.length;i{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)})();var aM=function(){function e(e,t){this.globWrappers=[];try{for(var n=0;n0&&("/"===r[0]&&(r=r.substring(1)),this.globWrappers.push({regexp:function(e,t){if("string"!=typeof e)throw TypeError("Expected a string");for(var n,r=String(e),i="",s=!!t&&!!t.extended,o=!!t&&!!t.globstar,a=!1,l=t&&"string"==typeof t.flags?t.flags:"",u=0,h=r.length;u1&&("/"===c||void 0===c||"{"===c||","===c)&&("/"===f||void 0===f||","===f||"}"===f)?("/"===f?u++:"/"===c&&i.endsWith("\\/")&&(i=i.substr(0,i.length-2)),i+="((?:[^/]*(?:/|$))*)"):i+="([^/]*)":i+=".*";break;default:i+=n}return(!l||!~l.indexOf("g"))&&(i="^"+i+"$"),new RegExp(i,l)}("**/"+r,{extended:!0,globstar:!0}),include:i}))}this.uris=t}catch(e){this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0,r=this.globWrappers;n0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){var t=this;this.cachedSchemaForResource=void 0;for(var n=!1,r=[e=aD(e)],i=Object.keys(this.schemasById).map(function(e){return t.schemasById[e]});r.length;){for(var s=r.pop(),o=0;o1&&(n=r[1]),oQ(n,".")&&(n=n.substr(0,n.length-1)),new aI({},[o9("json.schema.nocontent","Unable to load schema from '{0}': {1}.",aq(e),n)])})},e.prototype.resolveSchemaContent=function(e,t){var n=this,r=e.errors.slice(0),i=e.schema;if(i.$schema){var s=aD(i.$schema);if("http://json-schema.org/draft-03/schema"===s)return this.promise.resolve(new aP({},[o9("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===s?r.push(o9("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported.")):"https://json-schema.org/draft/2020-12/schema"===s&&r.push(o9("json.schema.draft202012.notsupported","Draft 2020-12 schemas are not yet fully supported."))}var o=this.contextService,a=function(e,t){t=decodeURIComponent(t);var n=e;return"/"===t[0]&&(t=t.substring(1)),t.split("/").some(function(e){return!(n=n[e=e.replace(/~1/g,"/").replace(/~0/g,"~")])}),n},l=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&"id"!==n&&"$id"!==n&&(e[n]=t[n])},u=function(e,t,n,i){var s,o,u,h;if(void 0===i||0===i.length)s=t;else if("/"===i.charAt(0))s=a(t,i);else{;o=t,u=n,h=i,u.anchors||(u.anchors=d(o)),s=u.anchors.get(h)}s?l(e,s):r.push(o9("json.schema.invalidid","$ref '{0}' in '{1}' can not be resolved.",i,n.uri))},h=function(e,t,i,s){o&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(t)&&(t=o.resolveRelativePath(t,s.uri)),t=aD(t);var a=n.getOrAddSchemaHandle(t);return a.getUnresolvedSchema().then(function(n){if(s.dependencies.add(t),n.errors.length){var o=i?t+"#"+i:t;r.push(o9("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,n.errors[0]))}return u(e,n.schema,a,i),c(e,n.schema,a)})},c=function(e,t,r){var i=[];return n.traverseNodes(e,function(e){for(var n=new Set;e.$ref;){var s=e.$ref,o=s.split("#",2);if(delete e.$ref,o[0].length>0){i.push(h(e,o[0],o[1],r));return}!n.has(s)&&(u(e,t,r,o[1]),n.add(s))}}),n.promise.all(i)},d=function(e){var t=new Map;return n.traverseNodes(e,function(e){var n=e.$id||e.id;if("string"==typeof n&&"#"===n.charAt(0)){var i=n.substring(1);t.has(i)?r.push(o9("json.schema.duplicateid","Duplicate id declaration: '{0}'",n)):t.set(i,e)}}),t};return c(i,i,t).then(function(e){return new aP(i,r)})},e.prototype.traverseNodes=function(e,t){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var n=new Set,r=[e],i=r.pop();i;)!n.has(i)&&(n.add(i),t(i),!function(){for(var e=[],t=0;t0?this.createCombinedSchema(e,i).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:s},s},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map(function(e){return{$ref:e}})};return this.addSchemaHandle(n,r)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var r=n.id||"schemaservice://untitled/matchingSchemas/"+aV++;return this.addSchemaHandle(r,n).getResolvedSchema().then(function(e){return t.getMatchingSchemas(e.schema).filter(function(e){return!e.inverted})})}return this.getSchemaForResource(e.uri,t).then(function(e){return e?t.getMatchingSchemas(e.schema).filter(function(e){return!e.inverted}):[]})},e}(),aV=0;function aD(e){try{return aR.parse(e).toString(!0)}catch(t){return e}}function aq(e){try{var t=aR.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}function aK(e,t){var n=[],r=[],i=[],s=-1,o=oV(e.getText(),!1),a=o.scan();function l(e){n.push(e),r.push(i.length)}for(;17!==a;){switch(a){case 1:case 3:var u=e.positionAt(o.getTokenOffset()).line,h={startLine:u,endLine:u,kind:1===a?"object":"array"};i.push(h);break;case 2:case 4:var c=2===a?"object":"array";if(i.length>0&&i[i.length-1].kind===c){var h=i.pop(),d=e.positionAt(o.getTokenOffset()).line;h&&d>h.startLine+1&&s!==h.startLine&&(h.endLine=d-1,l(h),s=h.startLine)}break;case 13:var u=e.positionAt(o.getTokenOffset()).line,f=e.positionAt(o.getTokenOffset()+o.getTokenLength()).line;1===o.getTokenError()&&u+1=0&&i[g].kind!==nh.Region;)g--;if(g>=0){var h=i[g];i.length=g,d>h.startLine&&s!==h.startLine&&(h.endLine=d,l(h),s=h.startLine)}}}}a=o.scan()}var p=t&&t.rangeLimit;if("number"!=typeof p||n.length<=p)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var v=[],b=0;bp){C=g;break}_+=S}}for(var w=[],g=0;g=l&&s<=u&&a.push(r(l,u)),a.push(r(o.offset,o.offset+o.length));break;case"number":case"boolean":case"null":case"property":a.push(r(o.offset,o.offset+o.length))}if("property"===o.type||o.parent&&"array"===o.parent.type){var h=function(e,t){return(i.setPosition(e),i.scan()===t)?i.getTokenOffset()+i.getTokenLength():-1}(o.offset+o.length,5);-1!==h&&a.push(r(o.offset,h))}o=o.parent}for(var c=void 0,d=a.length-1;d>=0;d--)c=n2.create(a[d],c);return!c&&(c=n2.create(ni.create(t,t))),c})}function aU(e,t){var n=[];return t.visit(function(r){var i;if("property"===r.type&&"$ref"===r.keyNode.value&&(null===(i=r.valueNode)||void 0===i?void 0:i.type)==="string"){var s=function(e,t){var n=function(e){return"#"===e?[]:"#"!==e[0]||"/"!==e[1]?null:e.substring(2).split(/\//).map(aB)}(t);return n?function e(t,n){if(!n)return null;if(0===t.length)return n;var r=t.shift();if(n&&"object"===n.type){var i=n.properties.find(function(e){return e.keyNode.value===r});return i?e(t,i.valueNode):null}if(n&&"array"===n.type&&r.match(/^(0|[1-9][0-9]*)$/)){var s=Number.parseInt(r),o=n.items[s];return o?e(t,o):null}return null}(n,e.root):null}(t,r.valueNode.value);if(s){var o=e.positionAt(s.offset);n.push({target:"".concat(e.uri,"#").concat(o.line+1,",").concat(o.character+1),range:function(e,t){return ni.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}(e,r.valueNode)})}}return!0}),Promise.resolve(n)}function aB(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}"undefined"!=typeof fetch&&(ri=function(e){return fetch(e).then(e=>e.text())});var a$=class{_ctx;_languageService;_languageSettings;_languageId;constructor(e,t){var n,r,i,s,o,a,l;this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=(r=(n={workspaceContext:{resolveRelativePath:(e,t)=>(function(e,t){if(47===t.charCodeAt(0)){let n=aR.parse(e),r=t.split("/");return n.with({path:aW(r)}).toString()}return function(e,...t){let n=aR.parse(e),r=n.path.split("/");for(let e of t)r.push(...e.split("/"));return n.with({path:aW(r)}).toString()}(e,t)})(t.substr(0,t.lastIndexOf("/")+1),e)},schemaRequestService:t.enableSchemaRequest?ri:void 0}).promiseConstructor||Promise,(i=new aF(n.schemaRequestService,n.workspaceContext,r)).setSchemaContributions(aA),s=new ay(i,n.contributions,r,n.clientCapabilities),o=new a_(i,n.contributions,r),a=new aE(i),{configure:function(e){i.clearExternalSchemas(),e.schemas&&e.schemas.forEach(function(e){i.registerExternalSchema(e.uri,e.fileMatch,e.schema)}),l.configure(e)},resetSchema:function(e){return i.onResourceChange(e)},doValidation:(l=new aS(i,r)).doValidation.bind(l),getLanguageStatus:l.getLanguageStatus.bind(l),parseJSONDocument:function(e){return function(e,t){var n=[],r=-1,i=e.getText(),s=oV(i,!1),o=t&&t.collectComments?[]:void 0;function a(){for(;;){var t=s.scan();switch(function(){switch(s.getTokenError()){case 4:return u(o9("InvalidUnicode","Invalid unicode sequence in string."),n9.InvalidUnicode);case 5:return u(o9("InvalidEscapeCharacter","Invalid escape character in string."),n9.InvalidEscapeCharacter);case 3:return u(o9("UnexpectedEndOfNumber","Unexpected end of number."),n9.UnexpectedEndOfNumber);case 1:return u(o9("UnexpectedEndOfComment","Unexpected end of comment."),n9.UnexpectedEndOfComment);case 2:return u(o9("UnexpectedEndOfString","Unexpected end of string."),n9.UnexpectedEndOfString);case 6:return u(o9("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),n9.InvalidCharacter)};}(),t){case 12:case 13:Array.isArray(o)&&o.push(ni.create(e.positionAt(s.getTokenOffset()),e.positionAt(s.getTokenOffset()+s.getTokenLength())));break;case 15:case 14:break;default:return t}}}function l(t,i,s,o,a){if(void 0===a&&(a=nf.Error),0===n.length||s!==r){var l=ni.create(e.positionAt(s),e.positionAt(o));n.push(np.create(l,t,a,i,e.languageId)),r=s}}function u(e,t,n,r,o){void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===o&&(o=[]);var u=s.getTokenOffset(),c=s.getTokenOffset()+s.getTokenLength();if(u===c&&u>0){for(u--;u>0&&/\s/.test(i.charAt(u));)u--;c=u+1}if(l(e,t,u,c),n&&h(n,!1),r.length+o.length>0){for(var d=s.getToken();17!==d;){if(-1!==r.indexOf(d)){a();break}if(-1!==o.indexOf(d))break;d=a()}}return n}function h(e,t){return e.length=s.getTokenOffset()+s.getTokenLength()-e.offset,t&&a(),e}var c=new as(void 0,0,0);function d(e){if(10===s.getToken()){var t=new as(e,s.getTokenOffset());return t.value=s.getTokenValue(),h(t,!0)}}function f(t){return function(e){if(3===s.getToken()){var t=new ar(e,s.getTokenOffset());a();for(var n=!1;4!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){!n&&u(o9("ValueExpected","Value expected"),n9.ValueExpected);var r=s.getTokenOffset();if(a(),4===s.getToken()){n&&l(o9("TrailingComma","Trailing comma"),n9.TrailingComma,r,r+1);continue}}else n&&u(o9("ExpectedComma","Expected comma"),n9.CommaExpected);var i=f(t);i?t.items.push(i):u(o9("PropertyExpected","Value expected"),n9.ValueExpected,void 0,[],[4,5]),n=!0}return 4!==s.getToken()?u(o9("ExpectedCloseBracket","Expected comma or closing bracket"),n9.CommaOrCloseBacketExpected,t):h(t,!0)}}(t)||function(t){if(1===s.getToken()){var n=new aa(t,s.getTokenOffset()),r=Object.create(null);a();for(var i=!1;2!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){!i&&u(o9("PropertyExpected","Property expected"),n9.PropertyExpected);var o=s.getTokenOffset();if(a(),2===s.getToken()){i&&l(o9("TrailingComma","Trailing comma"),n9.TrailingComma,o,o+1);continue}}else i&&u(o9("ExpectedComma","Expected comma"),n9.CommaExpected);var m=function(t,n){var r=new ao(t,s.getTokenOffset(),c),i=d(r);if(!i){if(16!==s.getToken())return;u(o9("DoubleQuotesExpected","Property keys must be doublequoted"),n9.Undefined);var o=new as(r,s.getTokenOffset(),s.getTokenLength());o.value=s.getTokenValue(),i=o,a()}r.keyNode=i;var h=n[i.value];if(h?(l(o9("DuplicateKeyWarning","Duplicate object key"),n9.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,nf.Warning),"object"==typeof h&&l(o9("DuplicateKeyWarning","Duplicate object key"),n9.DuplicateKey,h.keyNode.offset,h.keyNode.offset+h.keyNode.length,nf.Warning),n[i.value]=!0):n[i.value]=r,6===s.getToken())r.colonOffset=s.getTokenOffset(),a();else if(u(o9("ColonExpected","Colon expected"),n9.ColonExpected),10===s.getToken()&&e.positionAt(i.offset+i.length).line0&&!oU(e,s-1);)s--;for(var r,i,s,o,a,l,u=a;uo)&&e.substring(r,i)!==n&&v.push({offset:r,length:i-r,content:n})}var y=p();if(17!==y){var _=f.getTokenOffset()+s;b(oj(l,r),s,_)}for(;17!==y;){for(var C=f.getTokenOffset()+f.getTokenLength()+s,S=p(),w="",L=!1;!c&&(12===S||13===S);)b(" ",C,f.getTokenOffset()+s),C=f.getTokenOffset()+f.getTokenLength()+s,w=(L=12===S)?g():"",S=p();if(2===S)1!==y&&(d--,w=g());else if(4===S)3!==y&&(d--,w=g());else{switch(y){case 3:case 1:d++,w=g();break;case 5:case 12:w=g();break;case 13:c?w=g():!L&&(w=" ");break;case 6:!L&&(w=" ");break;case 10:if(6===S){!L&&(w="");break}case 7:case 8:case 9:case 11:case 2:case 4:12===S||13===S?!L&&(w=" "):5!==S&&17!==S&&(m=!0);break;case 16:m=!0}c&&(12===S||13===S)&&(w=g())}17===S&&(w=n.insertFinalNewline?h:""),b(w,C,f.getTokenOffset()+s),y=S}return v}(r,i,a)).map(function(t){return nb.replace(ni.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)})}}),this._languageService.configure(this._languageSettings)}async doValidation(e){let t=this._getTextDocument(e);if(t){let e=this._languageService.parseJSONDocument(t);return this._languageService.doValidation(t,e,this._languageSettings)}return Promise.resolve([])}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doComplete(n,t,r)}async doResolve(e){return this._languageService.doResolve(e)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doHover(n,t,r)}async format(e,t,n){let r=this._getTextDocument(e);return r?Promise.resolve(this._languageService.format(r,t,n)):[]}async resetSchema(e){return Promise.resolve(this._languageService.resetSchema(e))}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t);return Promise.resolve(this._languageService.findDocumentSymbols(t,n))}async findDocumentColors(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t);return Promise.resolve(this._languageService.findDocumentColors(t,n))}async getColorPresentations(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.parseJSONDocument(r);return Promise.resolve(this._languageService.getColorPresentations(r,i,t,n))}async getFoldingRanges(e,t){let n=this._getTextDocument(e);return n?Promise.resolve(this._languageService.getFoldingRanges(n,t)):[]}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseJSONDocument(n);return Promise.resolve(this._languageService.getSelectionRanges(n,t,r))}_getTextDocument(e){for(let t of this._ctx.getMirrorModels())if(t.uri.toString()===e)return n7.create(e,this._languageId,t.version,t.getValue());return null}};function aW(e){let t=[];for(let n of e)0===n.length||1===n.length&&46===n.charCodeAt(0)||(2===n.length&&46===n.charCodeAt(0)&&46===n.charCodeAt(1)?t.pop():t.push(n));e.length>1&&0===e[e.length-1].length&&t.push("");let n=t.join("/");return 0===e[0].length&&(n="/"+n),n}self.onmessage=()=>{oF((e,t)=>new a$(e,t))}})(); \ No newline at end of file diff --git a/pr-preview/pr-3/lunr-index-1732661161639.json b/pr-preview/pr-3/lunr-index-1732661161639.json new file mode 100644 index 0000000..c7710a9 --- /dev/null +++ b/pr-preview/pr-3/lunr-index-1732661161639.json @@ -0,0 +1 @@ +{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,878.632]],["content/0",[]],["keywords/0",[]],["title/1",[1,783.685,2,783.685]],["content/1",[3,7.559,4,8.337,5,9.518,6,4.118,7,7.559,8,9.518,9,7.559,10,9.518,11,6.514,12,9.518,13,7.559,14,7.559,15,9.518,16,9.518,17,9.518,18,9.518,19,6.051,20,9.518,21,8.337,22,8.337]],["keywords/1",[]],["title/2",[23,686.431,24,686.431]],["content/2",[]],["keywords/2",[]],["title/3",[25,536.321,26,477.272]],["content/3",[6,5.123,19,5.742,26,7.211,27,4.462,28,7.211,29,11.84,30,11.84,31,11.84]],["keywords/3",[]],["title/4",[32,686.431,33,536.321]],["content/4",[34,13.848,35,5.436,36,11.209,37,11.209,38,9.818,39,8.902,40,8.902,41,11.209,42,7.216,43,9.818]],["keywords/4",[]],["title/5",[6,278.207,28,391.608,44,440.058]],["content/5",[6,3.358,19,5.269,28,4.727,33,5.312,38,6.799,43,6.799,44,5.312,45,2.573,46,12.539,47,8.63,48,6.164,49,6.799,50,5.312,51,6.618,52,11.898,53,4.727,54,7.762,55,7.762,56,6.799,57,3.129,58,7.762,59,7.762,60,9.518,61,6.164,62,5.312,63,6.799,64,7.762]],["keywords/5",[]],["title/6",[6,339.065,26,477.272]],["content/6",[6,4.261,19,3.28,26,5.998,27,2.549,32,5.924,33,4.629,48,5.371,51,7.074,52,8.627,53,5.998,56,8.627,60,5.924,65,6.341,66,9.849,67,9.849,68,9.849,69,5.924,70,6.763,71,6.74,72,4.629,73,6.763,74,4.958,75,3.913,76,3.417,77,4.958,78,4.958,79,6.763,80,5.924,81,5.924,82,6.763,83,5.924,84,3.417,85,5.371,86,5.924,87,6.763,88,6.763]],["keywords/6",[]],["title/7",[27,242.345,89,563.226,90,510.664]],["content/7",[]],["keywords/7",[]],["title/8",[27,242.345,90,510.664,91,339.047]],["content/8",[0,5.456,19,4.495,27,2.348,28,3.794,85,4.947,89,5.456,90,8.793,91,3.284,92,3.147,93,9.27,94,9.27,95,9.27,96,9.27,97,5.456,98,11.072,99,7.577,100,4.263,101,6.796,102,6.229,103,6.229,104,6.229,105,6.229,106,5.456,107,7.362,108,6.229,109,9.27,110,6.229,111,6.229,112,6.229,113,4.567,114,6.229,115,6.229,116,5.456,117,5.456,118,6.229,119,4.947,120,6.229,121,6.229,122,6.229,123,3.794,124,4.01,125,6.229]],["keywords/8",[]],["title/9",[27,295.358,84,395.894]],["content/9",[]],["keywords/9",[]],["title/10",[27,205.466,84,275.404,91,287.453,126,399.67]],["content/10",[27,2.855,28,4.614,84,5.397,92,3.827,123,4.614,124,4.877,126,11.077,127,9.357,128,10.683,129,10.683,130,7.575,131,7.575,132,4.877,133,5.184,134,6.635,135,7.575,136,5.418,137,6.635,138,7.575,139,7.575,140,7.575,141,7.575,142,7.575,143,7.575,144,6.635]],["keywords/10",[]],["title/11",[27,205.466,84,275.404,91,287.453,145,300.708]],["content/11",[27,3.642,28,5.886,84,7.509,92,4.882,123,5.886,124,6.222,127,11.039,136,3.896,144,8.465,145,8.504,146,12.603]],["keywords/11",[]],["title/12",[6,339.065,147,622.372]],["content/12",[]],["keywords/12",[]],["title/13",[6,339.065,75,453.443]],["content/13",[6,4.85,44,7.671,51,6.827,53,6.827,75,8.695,92,5.663,148,9.818,149,9.818,150,7.216]],["keywords/13",[]],["title/14",[6,339.065,147,622.372]],["content/14",[3,7.129,51,5.467,53,5.467,75,7.825,76,4.535,77,8.8,81,7.863,119,7.129,123,7.31,147,9.533,148,7.863,150,7.728,151,8.977,152,8.977,153,8.977,154,8.977,155,8.977,156,7.863,157,8.977]],["keywords/14",[]],["title/15",[27,295.358,158,259.835]],["content/15",[]],["keywords/15",[]],["title/16",[27,242.345,91,339.047,159,372.056]],["content/16",[19,5.075,27,3.944,28,6.374,91,5.518,92,5.287,123,6.374,124,6.738,136,4.219,145,5.773,158,4.398,160,11.62,161,9.167,162,10.466]],["keywords/16",[]],["title/17",[7,622.372,163,622.372]],["content/17",[11,4.73,13,5.489,19,4.852,23,6.054,24,6.054,27,3.771,48,5.489,57,2.787,91,3.644,132,4.45,133,4.73,136,5.93,150,4.45,158,3.317,159,3.999,160,6.054,161,8.764,163,9.339,164,4.209,165,5.489,166,7.946,167,6.912,168,6.912,169,6.912,170,6.912,171,6.912,172,5.067,173,6.054,174,10.005,175,6.912,176,6.912,177,6.912]],["keywords/17",[]],["title/18",[35,311.811,159,372.056,178,643.023]],["content/18",[]],["keywords/18",[]],["title/19",[27,242.345,35,311.811,159,372.056]],["content/19",[19,4.118,27,3.201,35,6.376,50,5.812,51,5.172,53,5.172,123,5.172,150,5.468,159,7.608,179,8.493,180,14.767,181,8.493,182,7.439,183,7.439,184,8.493,185,7.439,186,8.493,187,8.493,188,8.493,189,8.493,190,8.493]],["keywords/19",[]],["title/20",[35,311.811,164,391.608,191,471.406]],["content/20",[9,8.938,11,5.587,35,6.246,57,3.291,74,5.985,92,4.124,132,5.256,133,5.587,136,6.509,159,4.723,164,4.972,191,8.251,192,7.151,193,6.483,194,8.938,195,7.151,196,8.164,197,7.151]],["keywords/20",[]],["title/21",[35,311.811,198,510.664,199,643.023]],["content/21",[35,5.341,85,8.747,150,7.09,159,6.373,172,8.074,183,9.647,198,10.878,200,8.747,201,11.014,202,11.014,203,11.014]],["keywords/21",[]],["title/22",[25,536.321,26,477.272]],["content/22",[]],["keywords/22",[]],["title/23",[204,878.632]],["content/23",[57,3.138,61,3.936,100,3.392,204,4.342,205,7.869,206,4.957,207,4.342,208,4.957,209,7.783,210,5.706,211,3.936,212,4.957,213,4.957,214,5.706,215,3.936,216,4.957,217,6.818,218,3.191,219,6.818,220,4.74,221,3.634,222,2.868,223,4.957,224,3.936,225,4.342,226,4.342,227,4.957,228,4.957,229,4.957,230,3.191,231,4.104,232,4.342,233,4.957,234,3.392,235,4.957,236,4.342,237,2.614,238,3.392,239,2.614,240,3.191,241,4.957,242,3.191,243,4.342,244,3.019,245,3.634,246,3.191,247,7.632,248,3.936,249,3.936,250,4.957,251,3.019,252,4.957,253,3.936,254,3.936,255,4.957,256,4.957,257,2.614,258,4.342,259,3.936,260,7.783,261,3.936,262,4.957,263,4.957,264,4.957]],["keywords/23",[]],["title/24",[265,686.491]],["content/24",[21,4.556,22,7.08,27,1.961,61,4.131,71,3.56,156,7.08,205,4.677,211,4.131,218,3.349,220,3.168,222,3.01,230,3.349,231,5.226,232,4.556,234,8.768,239,2.743,246,3.349,247,4.131,249,6.419,253,4.131,257,2.743,258,4.556,259,4.131,261,4.131,265,3.56,266,4.556,267,3.168,268,4.556,269,5.202,270,2.172,271,3.349,272,3.168,273,8.083,274,5.202,275,5.202,276,5.202,277,5.202,278,5.925,279,5.202,280,4.131,281,5.202,282,5.202,283,6.419,284,5.202,285,5.202,286,4.131,287,5.202,288,4.131,289,4.556,290,4.556,291,5.202,292,5.202,293,3.56,294,5.202,295,5.202,296,3.814,297,5.202,298,8.083,299,4.556,300,3.814,301,5.202]],["keywords/24",[]],["title/25",[25,373.093,84,275.404,302,477.517,303,432.955]],["content/25",[71,5.892,231,6.154,237,4.539,238,5.892,242,5.542,267,5.243,271,5.542,302,7.541,303,6.837,304,7.541,305,5.892,306,8.609,307,6.837,308,8.609,309,7.541,310,6.837,311,8.609,312,8.609,313,8.609,314,8.609,315,8.609,316,8.609,317,8.609,318,7.541,319,4.175,320,8.609,321,8.609]],["keywords/25",[]],["title/26",[158,332.588]],["content/26",[45,3.063,136,3.725,158,3.063,205,5.346,231,6.452,237,4.872,267,5.627,300,6.774,322,8.093,323,9.24,324,9.24,325,6.774,326,9.24,327,8.093,328,6.323,329,9.24,330,9.24,331,6.323,332,9.24,333,9.24,334,9.24,335,9.24]],["keywords/26",[]],["title/27",[336,878.632]],["content/27",[33,3.289,65,3.094,78,3.523,80,6.653,91,2.534,113,3.523,205,2.781,211,6.032,220,2.927,222,4.395,225,4.209,226,6.653,231,6.534,234,6.446,237,2.534,238,3.289,239,4.005,245,3.523,247,3.817,249,6.032,257,2.534,261,3.817,267,2.927,271,3.094,278,3.523,286,6.032,293,3.289,296,3.523,300,3.523,322,4.209,336,4.209,337,7.596,338,4.806,339,4.806,340,3.817,341,4.209,342,3.817,343,7.596,344,3.817,345,4.209,346,2.651,347,4.806,348,4.806,349,4.806,350,4.806,351,4.209,352,4.806,353,4.806,354,4.806,355,3.289,356,4.806,357,3.817,358,4.806,359,4.806,360,4.806,361,4.806,362,6.653,363,3.817,364,4.806,365,7.596,366,4.806,367,4.806,368,4.806,369,4.806,370,4.806,371,4.806,372,4.806,373,4.209]],["keywords/27",[]],["title/28",[374,365.871]],["content/28",[375,9.329]],["keywords/28",[]],["title/29",[145,432.268,376,686.431]],["content/29",[]],["keywords/29",[]],["title/30",[377,686.431,378,622.372]],["content/30",[13,5.807,39,5.807,65,4.707,84,3.694,97,6.405,99,8.306,107,5.807,116,9.125,136,2.948,145,7.296,158,4.024,165,5.807,240,4.707,244,7.391,251,4.453,377,6.405,378,5.807,379,7.312,380,6.405,381,7.312,382,5.004,383,7.312,384,6.405,385,6.405,386,7.312,387,5.807,388,5.361,389,7.312,390,7.312,391,7.312,392,7.312]],["keywords/30",[]],["title/31",[393,878.632]],["content/31",[27,5.171,45,3.063,84,4.668,92,4.668,107,7.338,145,5.096,310,10.896,393,8.093,394,5.948,395,5.346,396,9.718,397,8.093,398,13.72,399,9.24,400,9.24,401,9.24]],["keywords/31",[]],["title/32",[402,878.632]],["content/32",[19,5.557,45,4.329,69,7.34,92,5.789,145,6.321,149,7.34,214,6.144,394,5.395,395,4.849,396,6.655,397,7.34,402,12.295,403,8.38,404,4.465,405,8.38,406,8.38,407,7.34,408,8.38,409,8.38,410,8.38,411,8.38]],["keywords/32",[]],["title/33",[62,536.321,412,686.431]],["content/33",[62,6.232,134,10.615,136,6.096,137,10.615,145,5.023,395,5.269,412,7.976,413,6.676,414,7.976,415,9.106,416,9.106,417,12.119,418,12.119,419,12.119,420,9.106]],["keywords/33",[]],["title/34",[421,878.632]],["content/34",[19,4.232,27,3.29,45,3.906,136,4.749,376,10.318,413,6.399,421,7.645,422,8.728,423,8.728,424,8.728,425,11.78,426,11.78,427,9.355,428,8.728,429,11.78,430,10.318,431,11.78,432,7.645]],["keywords/34",[]],["title/35",[433,574.526,434,622.372]],["content/35",[19,4.175,45,2.854,78,6.311,158,2.854,163,6.837,362,7.541,395,6.753,413,6.311,433,8.556,435,8.609,436,9.268,437,11.671,438,5.243,439,7.541,440,5.892,441,5.049,442,5.896,443,7.541,444,8.609,445,8.609,446,8.609,447,4.981]],["keywords/35",[]],["title/36",[448,622.372,449,686.431]],["content/36",[136,4.601,433,8.366,434,9.063,450,11.412,451,11.412,452,11.412,453,9.996,454,14.002,455,9.996]],["keywords/36",[]],["title/37",[456,1003.116]],["content/37",[136,3.018,345,6.557,433,5.488,434,5.945,453,10.769,455,11.709,457,7.486,458,7.486,459,7.486,460,7.486,461,7.486,462,6.557,463,9.279,464,7.486,465,7.486,466,7.486,467,7.486,468,7.486,469,7.486,470,7.486,471,7.486,472,7.486,473,7.486,474,10.593,475,5.945,476,9.279,477,7.486,478,7.486,479,7.486,480,7.486,481,7.486]],["keywords/37",[]],["title/38",[126,471.406,482,563.226,483,563.226]],["content/38",[19,2.934,45,2.006,126,4.435,132,3.895,136,5.978,145,3.337,158,2.006,166,4.805,280,4.805,414,5.299,441,2.618,463,9.531,482,5.299,483,5.299,484,5.299,485,6.05,486,6.05,487,6.05,488,10.881,489,12.949,490,6.05,491,6.05,492,6.05,493,6.05,494,6.05,495,6.05,496,5.299,497,6.05,498,6.05,499,6.05,500,6.05,501,6.05,502,6.05,503,6.05,504,9.07,505,6.05,506,6.05,507,6.05,508,6.05,509,6.05,510,6.05,511,6.05]],["keywords/38",[]],["title/39",[62,686.491]],["content/39",[]],["keywords/39",[]],["title/40",[512,610.909]],["content/40",[57,5.379,513,7.36]],["keywords/40",[]],["title/41",[270,418.768]],["content/41",[136,5.268,514,13.067,515,10.377]],["keywords/41",[]],["title/42",[331,536.321,516,453.443]],["content/42",[375,9.329]],["keywords/42",[]],["title/43",[404,390.887]],["content/43",[375,9.329]],["keywords/43",[]],["title/44",[517,878.632]],["content/44",[]],["keywords/44",[]],["title/45",[6,339.065,518,574.526]],["content/45",[]],["keywords/45",[]],["title/46",[7,622.372,519,686.431]],["content/46",[76,6.431,132,6.318,133,6.717,136,6.028,164,5.977,193,7.794,194,10.11,395,5.679,519,8.596,520,10.11,521,9.814,522,12.73]],["keywords/46",[]],["title/47",[159,453.443,518,574.526]],["content/47",[83,10.718,92,4.668,150,5.948,182,8.093,518,6.774,523,9.24,524,9.24,525,9.24,526,13.72,527,13.72,528,12.018,529,9.24,530,9.24,531,12.237,532,8.093]],["keywords/47",[]],["title/48",[6,278.207,26,391.608,76,324.836]],["content/48",[6,5.294,25,6.323,26,8.356,45,3.063,51,5.627,53,5.627,65,5.948,76,7.378,84,4.668,272,5.627,518,6.774,520,7.338,532,8.093,533,9.24,534,9.24,535,9.24,536,6.774]],["keywords/48",[]],["title/49",[76,324.836,164,391.608,191,471.406]],["content/49",[9,8.938,11,5.587,57,3.291,74,5.985,76,5.685,92,4.124,123,4.972,132,5.256,133,5.587,136,6.509,164,4.972,191,8.251,192,7.151,193,6.483,194,8.938,195,7.151,197,7.151,238,5.587,537,8.164]],["keywords/49",[]],["title/50",[6,278.207,75,372.056,76,324.836]],["content/50",[6,5.621,51,7.913,53,7.913,75,8.755,76,7.246,230,6.521,270,4.229,520,8.045,538,10.13]],["keywords/50",[]],["title/51",[539,1003.116]],["content/51",[86,11.213,254,10.166,540,8.241,541,12.801]],["keywords/51",[]],["title/52",[328,686.491]],["content/52",[45,3.47,237,5.518,257,5.518,266,9.167,270,4.369,271,6.738,328,7.162,438,6.374,517,9.167,540,6.738,542,7.162,543,7.162,544,10.466,545,10.466,546,10.466]],["keywords/52",[]],["title/53",[547,878.632]],["content/53",[14,3.312,45,1.383,65,2.685,74,3.057,75,2.413,76,3.425,100,7.428,200,3.312,220,2.54,224,7.835,242,2.685,257,3.575,259,3.312,267,2.54,268,3.653,270,1.741,289,3.653,293,2.854,305,5.862,307,3.312,325,6.28,344,3.312,351,3.653,378,5.384,395,2.413,447,2.413,462,5.938,540,2.685,543,5.862,548,4.17,549,6.78,550,9.866,551,6.78,552,3.057,553,3.057,554,4.17,555,4.17,556,3.057,557,5.938,558,3.653,559,4.17,560,6.78,561,4.17,562,4.17,563,4.17,564,4.17,565,4.17,566,4.17,567,4.17,568,4.17,569,3.653,570,4.17,571,2.413,572,3.653,573,3.653,574,4.17,575,4.17,576,7.958,577,3.653,578,3.653,579,4.17,580,6.78,581,3.653,582,4.17,583,4.17,584,4.17,585,4.17,586,3.653,587,6.78,588,6.78,589,4.17,590,4.17,591,3.057,592,2.685,593,4.17]],["keywords/53",[]],["title/54",[594,645.781]],["content/54",[4,2.037,14,1.847,25,1.592,33,2.821,42,1.497,45,1.841,50,3.799,57,0.938,65,1.497,71,1.592,84,1.175,91,1.226,99,1.592,100,5.258,113,1.705,117,2.037,158,0.771,164,1.416,200,1.847,205,4.917,215,1.847,217,2.037,218,1.497,220,2.51,224,3.274,230,1.497,237,1.226,242,3.574,244,1.416,246,4.323,251,3.381,267,1.416,270,3.207,272,1.416,293,1.592,307,1.847,319,1.999,328,2.821,340,3.274,344,3.274,346,1.283,355,1.592,357,3.274,373,2.037,430,3.611,432,2.037,436,1.847,438,1.416,441,1.783,447,1.346,448,1.847,484,2.037,516,1.346,536,3.022,540,3.574,542,2.821,543,3.799,547,2.037,552,3.022,553,1.705,556,7.183,557,2.037,558,3.611,569,3.611,571,4.445,572,2.037,576,6.741,577,3.611,578,2.037,592,1.497,594,3.574,595,1.847,596,5.882,597,4.862,598,1.847,599,2.326,600,1.847,601,2.326,602,2.326,603,2.326,604,2.037,605,2.326,606,4.122,607,1.705,608,2.326,609,2.326,610,2.326,611,2.326,612,2.326,613,2.326,614,5.551,615,4.122,616,3.274,617,4.122,618,2.326,619,2.326,620,2.326,621,4.122,622,2.326,623,2.326,624,2.326,625,2.326,626,2.326,627,2.037,628,2.326,629,2.326,630,2.326,631,2.326,632,2.037,633,2.326,634,2.326,635,2.326,636,2.326,637,2.326,638,2.037,639,2.326,640,2.037,641,2.326,642,2.326,643,2.326,644,2.326,645,2.037,646,2.326,647,2.326,648,2.326,649,2.326,650,2.037,651,1.847,652,2.326,653,1.847,654,2.326,655,2.037,656,2.326,657,2.037,658,2.326,659,2.326,660,2.326,661,2.326,662,2.326,663,2.326,664,2.326,665,1.592,666,2.326,667,2.326,668,2.326,669,2.037,670,1.847,671,1.497,672,2.326,673,2.326,674,2.326]],["keywords/54",[]],["title/55",[220,477.272,288,622.372]],["content/55",[42,3.455,44,2.156,45,1.044,71,2.156,72,6.357,78,3.934,100,4.798,198,2.502,219,2.759,220,5.657,237,1.661,242,3.455,244,3.268,251,5.657,257,1.661,265,2.156,270,2.927,296,2.309,319,3.4,328,5.667,355,4.798,407,6.141,436,2.502,438,1.918,442,2.711,447,1.823,448,8.569,476,2.759,540,3.455,542,3.673,543,5.667,576,5.14,594,5.331,595,2.502,598,4.262,627,2.759,632,2.759,645,2.759,655,2.759,657,2.759,669,2.759,670,5.568,671,2.028,675,8.28,676,3.15,677,10.109,678,3.15,679,2.028,680,3.15,681,2.502,682,3.15,683,3.15,684,3.15,685,3.15,686,3.15,687,3.15,688,3.15,689,7.011,690,10.109,691,3.15,692,4.567,693,5.367,694,3.15,695,3.15,696,2.759,697,3.15,698,5.367,699,5.367,700,3.15,701,3.15,702,3.15,703,3.15,704,3.15,705,3.15,706,2.759,707,2.502,708,2.309,709,3.15,710,3.15,711,3.15,712,3.15,713,3.15,714,3.15,715,3.15,716,3.15]],["keywords/55",[]],["title/56",[512,610.909]],["content/56",[3,1.978,44,1.705,45,2.339,57,3.852,62,4.011,72,1.705,76,1.258,77,1.826,92,1.258,106,2.182,165,3.478,166,1.978,185,2.182,214,1.826,218,1.604,221,1.826,222,2.534,230,3.773,231,6.442,234,1.705,237,3.719,239,3.09,243,2.182,245,4.297,251,2.667,257,1.313,270,2.447,278,1.826,283,1.978,305,1.705,327,2.182,346,3.891,374,2.931,384,2.182,404,0.971,413,1.826,438,1.517,440,2.997,443,2.182,449,2.182,512,1.517,513,1.374,536,1.826,540,5.173,543,1.705,553,1.826,573,3.836,576,1.826,591,1.826,594,4.541,595,3.478,607,1.826,671,1.604,679,2.819,707,3.478,717,2.491,718,1.826,719,2.491,720,2.491,721,4.38,722,1.978,723,1.826,724,1.705,725,2.491,726,2.491,727,2.491,728,2.491,729,5.861,730,4.38,731,3.836,732,1.517,733,2.491,734,2.491,735,3.211,736,2.491,737,1.826,738,2.491,739,2.182,740,2.491,741,2.491,742,2.491,743,2.491,744,2.491,745,2.491,746,2.491,747,2.491,748,2.491,749,2.491,750,2.491,751,2.491,752,1.604,753,2.491,754,2.491,755,2.491,756,2.491,757,2.491,758,2.491,759,2.491,760,2.491,761,2.491,762,2.491,763,2.491,764,2.491,765,2.491,766,2.491,767,2.491,768,5.861,769,4.38,770,2.491,771,2.491,772,2.124,773,4.059,774,2.491,775,2.491,776,1.978,777,4.38,778,2.491,779,4.38,780,2.491,781,2.491,782,2.491,783,2.491,784,7.054,785,2.491,786,2.491,787,2.491,788,2.491,789,1.705,790,2.491,791,2.491,792,2.491,793,2.491,794,2.491]],["keywords/56",[]],["title/57",[50,536.321,357,622.372]],["content/57",[]],["keywords/57",[]],["title/58",[681,796.636]],["content/58",[42,9.014,57,4.601,205,6.603,231,6.017,270,4.764,305,7.81,319,5.534,556,8.366,731,9.996]],["keywords/58",[]],["title/59",[773,506.744]],["content/59",[]],["keywords/59",[]],["title/60",[374,234.533,772,311.811,795,643.023]],["content/60",[35,1.807,42,2.399,45,2.05,57,2.492,63,3.264,77,2.732,119,2.96,158,3.056,173,3.264,215,2.96,218,2.399,222,2.156,242,3.98,244,2.27,251,5.614,257,1.965,267,2.27,270,2.581,271,2.399,304,3.264,331,2.551,342,2.96,355,2.551,374,4.623,385,3.264,388,4.532,396,2.96,438,2.27,439,3.264,512,5.614,528,3.264,553,2.732,586,3.264,591,2.732,596,3.264,600,2.96,607,2.732,650,3.264,671,2.399,679,5.099,707,2.96,708,2.732,718,2.732,732,2.27,737,2.732,772,4.957,796,3.727,797,3.727,798,6.291,799,3.727,800,3.727,801,3.727,802,4.231,803,5.415,804,2.732,805,2.551,806,6.758,807,3.727,808,3.727,809,3.727,810,3.727,811,2.551,812,3.727,813,3.727,814,3.727,815,3.727,816,3.727,817,3.727,818,3.264,819,3.727,820,3.727,821,3.727,822,3.727,823,3.727,824,3.727,825,3.727,826,6.182,827,3.727,828,3.727,829,3.727,830,3.727,831,3.727,832,3.264,833,3.727,834,3.727,835,3.727,836,3.727,837,3.264]],["keywords/60",[]],["title/61",[404,390.887]],["content/61",[35,5.851,374,4.401,804,8.846,838,12.067,839,10.569,840,12.067,841,10.569]],["keywords/61",[]],["title/62",[512,610.909]],["content/62",[42,5.123,50,9.397,57,3.208,101,8.106,205,6.398,222,4.604,234,5.446,244,6.734,253,6.32,271,5.123,288,6.32,363,6.32,513,6.099,556,5.834,732,4.846,735,5.834,802,5.446,842,6.97,843,6.97,844,7.958,845,11.057,846,7.958,847,7.958,848,7.958,849,6.97,850,6.97]],["keywords/62",[]],["title/63",[270,418.768]],["content/63",[136,5.268,515,10.377,851,11.445]],["keywords/63",[]],["title/64",[331,536.321,516,453.443]],["content/64",[375,9.329]],["keywords/64",[]],["title/65",[404,390.887]],["content/65",[375,9.329]],["keywords/65",[]],["title/66",[57,315.96,718,574.526]],["content/66",[]],["keywords/66",[]],["title/67",[346,432.268,571,453.443]],["content/67",[]],["keywords/67",[]],["title/68",[681,796.636]],["content/68",[99,9.361,346,7.11,382,4.73,404,2.693,475,5.489,552,5.067,571,8.51,651,10.237,653,5.489,665,8.048,732,4.209,852,10.3,853,5.489,854,5.489,855,6.912,856,6.054,857,6.054,858,6.054,859,6.054,860,7.335,861,6.054,862,6.054,863,6.054,864,6.054,865,6.054]],["keywords/68",[]],["title/69",[512,610.909]],["content/69",[57,1.521,75,2.182,99,7.587,101,4.577,113,2.765,207,3.304,237,1.989,244,3.802,303,2.995,342,2.995,346,6.115,382,2.581,387,2.995,404,1.47,475,2.995,513,3.444,536,4.577,552,2.765,571,7.958,598,2.995,651,8.804,653,2.995,665,5.467,692,2.08,696,3.304,723,4.577,732,2.297,789,2.581,802,4.273,803,3.304,842,3.304,843,3.304,849,6.997,850,3.304,852,8.133,853,2.995,854,2.995,856,3.304,857,3.304,858,3.304,859,3.304,860,8.128,861,3.304,862,3.304,863,9.711,864,5.468,865,5.468,866,3.772,867,3.772,868,6.243,869,3.772,870,3.772,871,3.772,872,6.243,873,3.772,874,3.772,875,3.772,876,3.772,877,3.304,878,3.304,879,3.772,880,3.772,881,2.428,882,3.772,883,3.772,884,3.772,885,3.772,886,3.772,887,3.304]],["keywords/69",[]],["title/70",[270,418.768]],["content/70",[136,5.268,515,10.377,851,11.445]],["keywords/70",[]],["title/71",[331,536.321,516,453.443]],["content/71",[]],["keywords/71",[]],["title/72",[382,440.058,571,372.056,860,471.406]],["content/72",[57,1.952,124,3.118,221,5.602,230,4.92,231,4.991,236,4.242,239,2.553,254,3.846,280,3.846,296,3.55,300,3.55,305,3.314,309,4.242,310,3.846,325,5.602,382,7.356,438,2.949,496,8.291,513,2.671,571,6.219,581,4.242,597,4.242,616,7.518,665,5.23,671,3.118,718,3.55,723,3.55,772,2.348,773,5.43,789,5.23,832,4.242,853,3.846,854,3.846,860,3.55,877,8.291,878,4.242,881,3.118,888,6.069,889,4.843,890,4.843,891,10.749,892,9.466,893,4.843,894,4.843,895,4.843,896,4.843,897,4.843,898,7.642,899,4.843,900,4.843,901,4.843,902,4.843,903,4.843,904,4.843,905,4.843,906,4.843]],["keywords/72",[]],["title/73",[404,390.887]],["content/73",[231,6.616,571,7.26,616,11.773,907,12.547]],["keywords/73",[]],["title/74",[513,553.303]],["content/74",[45,2.219,57,3.94,124,4.308,158,2.219,222,3.872,237,3.528,240,4.308,319,5.598,374,2.441,394,4.308,404,2.608,427,5.314,441,2.895,442,3.38,513,7.003,542,4.579,592,4.308,604,5.861,692,3.691,706,5.861,739,5.861,752,4.308,772,3.245,773,6.413,806,4.906,908,6.692,909,5.861,910,5.861,911,5.314,912,5.314,913,5.861,914,5.861,915,6.692,916,6.692,917,6.692,918,6.692,919,6.692,920,6.692,921,6.692,922,6.692]],["keywords/74",[]],["title/75",[272,477.272,724,536.321]],["content/75",[45,1.987,158,1.987,221,4.393,239,3.16,240,5.798,248,4.759,270,2.502,272,8.805,319,4.367,374,3.285,395,3.467,404,2.335,440,4.101,441,2.593,447,3.467,516,3.467,592,3.858,640,5.249,692,5.967,724,7.404,737,4.393,772,2.906,773,6.515,776,4.759,789,4.101,804,4.393,923,4.759,924,5.249,925,5.993,926,5.993,927,5.993,928,5.993,929,5.993,930,5.993,931,5.993,932,5.993,933,5.993,934,2.906,935,5.249,936,5.993,937,4.393,938,5.249]],["keywords/75",[]],["title/76",[939,878.632]],["content/76",[158,2.934,319,4.292,374,3.228,404,3.449,441,3.829,442,4.471,447,5.121,692,4.882,708,6.489,773,6.784,923,7.029,934,4.292,937,6.489,939,12.575,940,6.489,941,7.752,942,8.851,943,7.029,944,7.752,945,7.752,946,7.752]],["keywords/76",[]],["title/77",[947,878.632]],["content/77",[158,2.894,319,4.232,374,3.183,404,3.401,441,3.776,442,4.409,447,6.816,692,4.814,708,6.399,773,6.736,923,6.932,934,4.232,937,6.399,943,6.932,944,7.645,945,7.645,947,12.504,948,7.645,949,8.728,950,7.645,951,8.728]],["keywords/77",[]],["title/78",[940,574.526,952,686.431]],["content/78",[45,3.87,158,2.854,374,3.14,404,3.355,441,3.725,442,4.349,447,6.753,692,6.437,773,5.896,805,7.987,912,6.837,934,4.175,940,6.311,952,7.541,953,11.671,954,11.671,955,6.837,956,7.541,957,8.609,958,7.541,959,8.609]],["keywords/78",[]],["title/79",[210,574.526,346,432.268]],["content/79",[35,4.959,45,3.966,49,3.884,72,3.035,158,1.47,210,3.251,239,2.338,240,2.855,246,2.855,248,3.521,272,2.7,346,2.446,374,2.598,394,4.586,395,4.122,513,2.446,516,2.566,638,3.884,679,2.855,692,3.93,735,9.889,737,3.251,752,2.855,772,2.15,773,5.166,804,3.251,805,4.876,811,3.035,818,3.884,887,9.811,911,3.521,912,5.658,934,2.15,935,3.884,937,3.251,938,3.884,955,5.658,960,4.434,961,3.884,962,4.434,963,4.434,964,4.434,965,5.658,966,4.434,967,4.434,968,4.434,969,6.24,970,11.202,971,4.434,972,8.93,973,4.434,974,4.434,975,4.434,976,4.434,977,4.434,978,3.884,979,4.434,980,4.434,981,4.434]],["keywords/79",[]],["title/80",[47,622.372,811,536.321]],["content/80",[40,7.029,47,9.443,158,2.934,210,6.489,218,5.698,240,5.698,257,4.667,346,4.882,374,3.228,441,3.829,442,4.471,732,5.39,773,4.471,802,6.057,805,6.057,811,9.19,934,4.292,955,7.029,982,8.851,983,8.851,984,8.851,985,8.851,986,7.752]],["keywords/80",[]],["title/81",[394,504.517,965,622.372]],["content/81",[40,8.452,158,3.528,374,3.882,394,6.851,441,4.604,442,5.376,773,5.376,805,7.283,934,5.161,965,8.452,987,10.642,988,10.642,989,10.642,990,10.642]],["keywords/81",[]],["title/82",[888,796.636]],["content/82",[39,4.759,45,1.987,57,3.631,158,1.987,172,4.393,246,3.858,270,2.502,286,4.759,299,5.249,319,2.906,341,10.537,355,4.101,374,2.186,387,4.759,404,2.335,427,4.759,440,4.101,441,2.593,516,3.467,592,5.798,665,6.163,671,3.858,723,9.454,752,3.858,772,2.906,806,4.393,881,7.744,888,4.759,909,5.249,934,2.906,991,9.005,992,10.819,993,5.993,994,5.993,995,5.993,996,5.993,997,5.993,998,5.993,999,5.993,1000,5.993,1001,5.993,1002,5.993,1003,5.993,1004,5.993]],["keywords/82",[]],["title/83",[265,686.491]],["content/83",[45,2.242,101,4.958,158,3.265,214,4.958,246,6.341,251,5.998,265,7.949,270,2.823,293,4.629,363,10.133,374,3.592,380,5.924,441,2.926,442,3.417,512,4.119,513,3.731,542,4.629,594,4.354,607,4.958,670,5.371,692,3.731,752,4.354,772,3.28,789,4.629,798,5.371,806,4.958,881,6.341,914,5.924,934,3.28,1005,6.763,1006,6.763,1007,6.763,1008,6.763,1009,6.763,1010,6.763,1011,6.763,1012,6.763,1013,6.763]],["keywords/83",[]],["title/84",[388,735.393]],["content/84",[11,4.629,45,3.851,57,3.971,72,4.629,158,2.242,205,3.913,245,9.354,257,3.566,270,2.823,278,4.958,283,5.371,319,3.28,374,2.467,388,9.942,404,2.636,440,4.629,441,2.926,592,6.341,594,4.354,679,4.354,732,4.119,752,4.354,772,3.28,798,7.822,802,4.629,837,5.924,934,3.28,1014,9.849,1015,6.763,1016,6.763,1017,6.763,1018,6.763,1019,6.763,1020,6.763,1021,6.763]],["keywords/84",[]],["title/85",[722,796.636]],["content/85",[45,2.779,91,4.419,158,2.779,172,6.144,238,5.735,318,7.34,319,4.064,374,4.179,404,3.266,441,3.626,442,4.234,600,6.655,722,9.1,772,4.064,776,6.655,881,7.377,934,4.064,1022,8.38,1023,11.459,1024,11.459,1025,11.459,1026,7.34,1027,8.38,1028,8.38]],["keywords/85",[]],["title/86",[1029,878.632]],["content/86",[45,3.204,158,3.204,319,4.686,340,7.675,374,3.525,404,3.766,441,4.181,442,4.882,516,5.592,881,9.029,934,4.686,1026,8.465,1029,12.285,1030,9.664,1031,9.664,1032,9.664]],["keywords/86",[]],["title/87",[404,390.887]],["content/87",[]],["keywords/87",[]],["title/88",[239,413.213,325,574.526]],["content/88",[222,6.158,231,5.611,239,7.069,272,6.481,679,6.851,724,7.283,940,7.802,1033,10.642,1034,10.642,1035,10.642,1036,10.642,1037,10.642,1038,10.642]],["keywords/88",[]],["title/89",[239,413.213,290,686.431]],["content/89",[374,2.667,591,5.361,724,5.004,735,7.638,811,5.004,839,6.405,910,6.405,911,5.807,913,6.405,924,6.405,941,6.405,943,8.274,946,6.405,948,6.405,950,6.405,956,6.405,958,6.405,961,6.405,969,6.405,978,6.405,986,6.405,1039,7.312,1040,7.312,1041,7.312,1042,7.312,1043,7.312,1044,7.312,1045,7.312,1046,7.312,1047,7.312,1048,7.312,1049,7.312,1050,7.312,1051,7.312,1052,7.312,1053,7.312,1054,7.312,1055,7.312,1056,7.312]],["keywords/89",[]],["title/90",[1057,1003.116]],["content/90",[35,6.208,374,4.669,772,6.208,841,11.213]],["keywords/90",[]]],"invertedIndex":[["",{"_index":136,"title":{},"content":{"10":{"position":[[175,1],[184,1],[292,2],[295,1]]},"11":{"position":[[80,1]]},"16":{"position":[[57,1]]},"17":{"position":[[189,1],[339,1],[358,1],[378,1],[462,1],[464,1],[466,2]]},"20":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[218,2],[221,2],[224,2],[227,2],[230,2]]},"26":{"position":[[242,2]]},"30":{"position":[[200,2]]},"33":{"position":[[149,1],[199,1],[201,3],[268,1],[318,1]]},"34":{"position":[[117,3],[167,3]]},"36":{"position":[[57,3]]},"37":{"position":[[282,3]]},"38":{"position":[[129,1],[157,1],[274,2],[295,1],[392,2],[481,1],[566,1],[597,1],[622,1]]},"41":{"position":[[22,4]]},"46":{"position":[[100,1],[108,1],[154,2],[157,2]]},"49":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[203,2],[206,2],[209,2],[212,2],[215,2]]},"63":{"position":[[29,4]]},"70":{"position":[[29,4]]}},"keywords":{}}],["0",{"_index":887,"title":{},"content":{"69":{"position":[[765,4]]},"79":{"position":[[550,4],[564,2],[576,2],[588,2],[600,2]]}},"keywords":{}}],["0..1",{"_index":849,"title":{},"content":{"62":{"position":[[243,4]]},"69":{"position":[[229,4],[525,4],[1119,4]]}},"keywords":{}}],["02",{"_index":94,"title":{},"content":{"8":{"position":[[28,2],[59,2]]}},"keywords":{}}],["07",{"_index":938,"title":{},"content":{"75":{"position":[[545,2]]},"79":{"position":[[259,2]]}},"keywords":{}}],["07/schema.$id",{"_index":810,"title":{},"content":{"60":{"position":[[543,13]]}},"keywords":{}}],["07rfc",{"_index":838,"title":{},"content":{"61":{"position":[[7,5]]}},"keywords":{}}],["1",{"_index":106,"title":{},"content":{"8":{"position":[[177,1]]},"56":{"position":[[744,1]]}},"keywords":{}}],["1..1",{"_index":845,"title":{},"content":{"62":{"position":[[63,4],[184,4]]}},"keywords":{}}],["1.0",{"_index":180,"title":{},"content":{"19":{"position":[[19,3],[73,3],[133,3],[200,3],[251,3]]}},"keywords":{}}],["1.0/hello.md",{"_index":201,"title":{},"content":{"21":{"position":[[91,12]]}},"keywords":{}}],["10",{"_index":904,"title":{},"content":{"72":{"position":[[646,4]]}},"keywords":{}}],["10646",{"_index":915,"title":{},"content":{"74":{"position":[[177,5]]}},"keywords":{}}],["10px",{"_index":497,"title":{},"content":{"38":{"position":[[247,7]]}},"keywords":{}}],["1123",{"_index":948,"title":{},"content":{"77":{"position":[[59,5]]},"89":{"position":[[30,4]]}},"keywords":{}}],["12",{"_index":900,"title":{},"content":{"72":{"position":[[502,4]]}},"keywords":{}}],["18.0",{"_index":36,"title":{},"content":{"4":{"position":[[17,4]]}},"keywords":{}}],["1standard",{"_index":916,"title":{},"content":{"74":{"position":[[183,10]]}},"keywords":{}}],["2",{"_index":185,"title":{},"content":{"19":{"position":[[187,1]]},"56":{"position":[[752,1]]}},"keywords":{}}],["2.1",{"_index":949,"title":{},"content":{"77":{"position":[[73,3]]}},"keywords":{}}],["2.2",{"_index":959,"title":{},"content":{"78":{"position":[[179,4]]}},"keywords":{}}],["2.3.2.3",{"_index":951,"title":{},"content":{"77":{"position":[[201,8]]}},"keywords":{}}],["20px",{"_index":494,"title":{},"content":{"38":{"position":[[215,7]]}},"keywords":{}}],["2373",{"_index":958,"title":{},"content":{"78":{"position":[[165,5]]},"89":{"position":[[55,4]]}},"keywords":{}}],["262",{"_index":989,"title":{},"content":{"81":{"position":[[66,3]]}},"keywords":{}}],["262json",{"_index":1040,"title":{},"content":{"89":{"position":[[6,7]]}},"keywords":{}}],["2673",{"_index":956,"title":{},"content":{"78":{"position":[[104,5]]},"89":{"position":[[70,4]]}},"keywords":{}}],["28",{"_index":95,"title":{},"content":{"8":{"position":[[31,2],[62,2]]}},"keywords":{}}],["3",{"_index":171,"title":{},"content":{"17":{"position":[[183,1]]}},"keywords":{}}],["3.2",{"_index":957,"title":{},"content":{"78":{"position":[[118,4]]}},"keywords":{}}],["3166",{"_index":740,"title":{},"content":{"56":{"position":[[739,4]]}},"keywords":{}}],["3339",{"_index":924,"title":{},"content":{"75":{"position":[[53,5]]},"89":{"position":[[85,4]]}},"keywords":{}}],["3629",{"_index":913,"title":{},"content":{"74":{"position":[[138,5]]},"89":{"position":[[109,4]]}},"keywords":{}}],["3986",{"_index":961,"title":{},"content":{"79":{"position":[[71,5]]},"89":{"position":[[125,4]]}},"keywords":{}}],["4.1.2",{"_index":942,"title":{},"content":{"76":{"position":[[76,5]]}},"keywords":{}}],["4122",{"_index":969,"title":{},"content":{"79":{"position":[[480,5],[727,4]]},"89":{"position":[[139,4]]}},"keywords":{}}],["5)rfc",{"_index":1050,"title":{},"content":{"89":{"position":[[153,5]]}},"keywords":{}}],["5.6",{"_index":925,"title":{},"content":{"75":{"position":[[67,3]]}},"keywords":{}}],["515112",{"_index":743,"title":{},"content":{"56":{"position":[[776,6]]}},"keywords":{}}],["5321",{"_index":941,"title":{},"content":{"76":{"position":[[62,5]]},"89":{"position":[[159,4]]}},"keywords":{}}],["5890",{"_index":950,"title":{},"content":{"77":{"position":[[187,5]]},"89":{"position":[[180,4]]}},"keywords":{}}],["6",{"_index":980,"title":{},"content":{"79":{"position":[[759,1]]}},"keywords":{}}],["600",{"_index":216,"title":{},"content":{"23":{"position":[[89,3]]}},"keywords":{}}],["6531",{"_index":946,"title":{},"content":{"76":{"position":[[186,5]]},"89":{"position":[[221,4]]}},"keywords":{}}],["6570",{"_index":986,"title":{},"content":{"80":{"position":[[206,5]]},"89":{"position":[[255,4]]}},"keywords":{}}],["8",{"_index":911,"title":{},"content":{"74":{"position":[[108,1]]},"79":{"position":[[761,2]]},"89":{"position":[[307,2]]}},"keywords":{}}],["8)rfc",{"_index":1047,"title":{},"content":{"89":{"position":[[119,5]]}},"keywords":{}}],["8259",{"_index":839,"title":{},"content":{"61":{"position":[[13,4]]},"89":{"position":[[278,4]]}},"keywords":{}}],["8601",{"_index":928,"title":{},"content":{"75":{"position":[[105,5]]}},"keywords":{}}],["9562",{"_index":978,"title":{},"content":{"79":{"position":[[704,4]]},"89":{"position":[[293,4]]}},"keywords":{}}],["9a",{"_index":970,"title":{},"content":{"79":{"position":[[555,2],[567,2],[579,2],[591,2],[603,2]]}},"keywords":{}}],["a[pi",{"_index":458,"title":{},"content":{"37":{"position":[[21,7]]}},"keywords":{}}],["abil",{"_index":286,"title":{},"content":{"24":{"position":[[529,7]]},"27":{"position":[[555,7],[884,7]]},"82":{"position":[[108,7]]}},"keywords":{}}],["abov",{"_index":37,"title":{},"content":{"4":{"position":[[25,6]]}},"keywords":{}}],["absenc",{"_index":1031,"title":{},"content":{"86":{"position":[[125,7]]}},"keywords":{}}],["absolut",{"_index":403,"title":{},"content":{"32":{"position":[[53,8]]}},"keywords":{}}],["accept",{"_index":1026,"title":{},"content":{"85":{"position":[[154,8]]},"86":{"position":[[64,10]]}},"keywords":{}}],["access",{"_index":533,"title":{},"content":{"48":{"position":[[94,10]]}},"keywords":{}}],["accesscr",{"_index":339,"title":{},"content":{"27":{"position":[[53,13]]}},"keywords":{}}],["accommod",{"_index":897,"title":{},"content":{"72":{"position":[[370,11]]}},"keywords":{}}],["accur",{"_index":320,"title":{},"content":{"25":{"position":[[239,10]]}},"keywords":{}}],["accuraci",{"_index":644,"title":{},"content":{"54":{"position":[[1596,8]]}},"keywords":{}}],["achiev",{"_index":362,"title":{},"content":{"27":{"position":[[437,7],[525,7]]},"35":{"position":[[126,8]]}},"keywords":{}}],["acronym",{"_index":539,"title":{"51":{"position":[[0,9]]}},"content":{},"keywords":{}}],["act",{"_index":552,"title":{},"content":{"53":{"position":[[86,3]]},"54":{"position":[[317,3],[782,3]]},"68":{"position":[[284,3]]},"69":{"position":[[1057,3]]}},"keywords":{}}],["action",{"_index":430,"title":{},"content":{"34":{"position":[[147,6],[228,6]]},"54":{"position":[[180,6],[1349,6]]}},"keywords":{}}],["activ",{"_index":556,"title":{},"content":{"53":{"position":[[224,11]]},"54":{"position":[[131,11],[209,8],[295,8],[378,9],[735,8],[831,8],[1759,9],[2011,8]]},"58":{"position":[[102,9]]},"62":{"position":[[131,8]]}},"keywords":{}}],["actor",{"_index":547,"title":{"53":{"position":[[0,7]]}},"content":{"54":{"position":[[2375,6]]}},"keywords":{}}],["ad",{"_index":49,"title":{},"content":{"5":{"position":[[104,5]]},"79":{"position":[[735,6]]}},"keywords":{}}],["adapt",{"_index":263,"title":{},"content":{"23":{"position":[[821,5]]}},"keywords":{}}],["add",{"_index":164,"title":{"20":{"position":[[0,3]]},"49":{"position":[[0,3]]}},"content":{"17":{"position":[[67,3]]},"20":{"position":[[41,3]]},"46":{"position":[[32,3]]},"49":{"position":[[42,3]]},"54":{"position":[[2106,3]]}},"keywords":{}}],["addit",{"_index":706,"title":{},"content":{"55":{"position":[[1277,10]]},"74":{"position":[[313,9]]}},"keywords":{}}],["address",{"_index":940,"title":{"78":{"position":[[3,8]]}},"content":{"76":{"position":[[7,9]]},"78":{"position":[[4,9]]},"88":{"position":[[1,7]]}},"keywords":{}}],["adject",{"_index":659,"title":{},"content":{"54":{"position":[[2151,9]]}},"keywords":{}}],["admonit",{"_index":421,"title":{"34":{"position":[[0,12]]}},"content":{"34":{"position":[[43,11]]}},"keywords":{}}],["adopt",{"_index":309,"title":{},"content":{"25":{"position":[[64,5]]},"72":{"position":[[83,8]]}},"keywords":{}}],["agenc",{"_index":580,"title":{},"content":{"53":{"position":[[861,6],[923,6]]}},"keywords":{}}],["agnost",{"_index":975,"title":{},"content":{"79":{"position":[[643,8]]}},"keywords":{}}],["agreement",{"_index":622,"title":{},"content":{"54":{"position":[[976,10]]}},"keywords":{}}],["ai",{"_index":301,"title":{},"content":{"24":{"position":[[825,3]]}},"keywords":{}}],["aim",{"_index":544,"title":{},"content":{"52":{"position":[[82,3]]}},"keywords":{}}],["air",{"_index":884,"title":{},"content":{"69":{"position":[[738,3]]}},"keywords":{}}],["alert",{"_index":471,"title":{},"content":{"37":{"position":[[178,7]]}},"keywords":{}}],["alert(`y",{"_index":501,"title":{},"content":{"38":{"position":[[297,10]]}},"keywords":{}}],["allow",{"_index":485,"title":{},"content":{"38":{"position":[[54,6]]}},"keywords":{}}],["alon",{"_index":213,"title":{},"content":{"23":{"position":[[69,5]]}},"keywords":{}}],["along",{"_index":761,"title":{},"content":{"56":{"position":[[1213,5]]}},"keywords":{}}],["alpha",{"_index":741,"title":{},"content":{"56":{"position":[[746,5]]}},"keywords":{}}],["altern",{"_index":906,"title":{},"content":{"72":{"position":[[716,12]]}},"keywords":{}}],["alway",{"_index":1006,"title":{},"content":{"83":{"position":[[75,6]]}},"keywords":{}}],["amend",{"_index":611,"title":{},"content":{"54":{"position":[[574,5]]}},"keywords":{}}],["american",{"_index":745,"title":{},"content":{"56":{"position":[[796,8]]}},"keywords":{}}],["amp",{"_index":843,"title":{},"content":{"62":{"position":[[35,5]]},"69":{"position":[[194,5]]}},"keywords":{}}],["analysi",{"_index":345,"title":{},"content":{"27":{"position":[[142,8]]},"37":{"position":[[110,10]]}},"keywords":{}}],["analyt",{"_index":225,"title":{},"content":{"23":{"position":[[196,9]]},"27":{"position":[[474,9]]}},"keywords":{}}],["and/or",{"_index":789,"title":{},"content":{"56":{"position":[[1978,6]]},"69":{"position":[[137,6]]},"72":{"position":[[204,6],[457,6]]},"75":{"position":[[6,6]]},"83":{"position":[[340,6]]}},"keywords":{}}],["annot",{"_index":796,"title":{},"content":{"60":{"position":[[43,8]]}},"keywords":{}}],["answer",{"_index":657,"title":{},"content":{"54":{"position":[[2080,8]]},"55":{"position":[[381,7]]}},"keywords":{}}],["anyth",{"_index":834,"title":{},"content":{"60":{"position":[[1361,8]]}},"keywords":{}}],["anywher",{"_index":152,"title":{},"content":{"14":{"position":[[156,8]]}},"keywords":{}}],["api",{"_index":784,"title":{},"content":{"56":{"position":[[1894,3],[1935,5],[2072,4],[2121,4]]}},"keywords":{}}],["appear",{"_index":197,"title":{},"content":{"20":{"position":[[261,7]]},"49":{"position":[[244,7]]}},"keywords":{}}],["applic",{"_index":576,"title":{},"content":{"53":{"position":[[775,10],[789,11],[841,10],[959,12],[1042,12]]},"54":{"position":[[513,11],[1306,12],[1391,12],[1945,12],[2095,10],[2177,11],[2271,12]]},"55":{"position":[[210,11],[964,11],[1247,11]]},"56":{"position":[[1901,11]]}},"keywords":{}}],["application/json",{"_index":781,"title":{},"content":{"56":{"position":[[1828,17]]}},"keywords":{}}],["appropri",{"_index":338,"title":{},"content":{"27":{"position":[[36,11]]}},"keywords":{}}],["approv",{"_index":462,"title":{},"content":{"37":{"position":[[60,9]]},"53":{"position":[[392,10],[648,8]]}},"keywords":{}}],["area",{"_index":597,"title":{},"content":{"54":{"position":[[190,4],[659,4],[1528,5]]},"72":{"position":[[116,5]]}},"keywords":{}}],["around",{"_index":121,"title":{},"content":{"8":{"position":[[476,6]]}},"keywords":{}}],["array",{"_index":388,"title":{"84":{"position":[[0,6]]}},"content":{"30":{"position":[[351,5]]},"60":{"position":[[1262,5],[1398,5]]},"84":{"position":[[1,6],[61,5],[116,5],[307,5],[444,6]]}},"keywords":{}}],["asiso",{"_index":927,"title":{},"content":{"75":{"position":[[99,5]]}},"keywords":{}}],["assign",{"_index":859,"title":{},"content":{"68":{"position":[[180,7]]},"69":{"position":[[953,7]]}},"keywords":{}}],["associ",{"_index":780,"title":{},"content":{"56":{"position":[[1770,10]]}},"keywords":{}}],["at"",{"_index":704,"title":{},"content":{"55":{"position":[[1168,8]]}},"keywords":{}}],["attempt",{"_index":637,"title":{},"content":{"54":{"position":[[1445,7]]}},"keywords":{}}],["attribut",{"_index":803,"title":{},"content":{"60":{"position":[[388,11],[1186,10]]},"69":{"position":[[391,9]]}},"keywords":{}}],["author",{"_index":100,"title":{},"content":{"8":{"position":[[116,8]]},"23":{"position":[[577,13]]},"53":{"position":[[190,13],[316,9],[376,15],[490,13],[1153,13]]},"54":{"position":[[242,15],[583,14],[764,13],[879,14],[1913,14]]},"55":{"position":[[229,13],[979,13],[1262,14]]}},"keywords":{}}],["autom",{"_index":279,"title":{},"content":{"24":{"position":[[324,8]]}},"keywords":{}}],["automat",{"_index":48,"title":{},"content":{"5":{"position":[[87,13]]},"6":{"position":[[438,13]]},"17":{"position":[[12,13]]}},"keywords":{}}],["automation.unlock",{"_index":285,"title":{},"content":{"24":{"position":[[507,17]]}},"keywords":{}}],["avail",{"_index":124,"title":{},"content":{"8":{"position":[[548,9]]},"10":{"position":[[317,9]]},"11":{"position":[[143,9]]},"16":{"position":[[131,9]]},"72":{"position":[[357,9]]},"74":{"position":[[509,9]]}},"keywords":{}}],["awesom",{"_index":426,"title":{},"content":{"34":{"position":[[94,7],[189,7]]}},"keywords":{}}],["b",{"_index":453,"title":{},"content":{"36":{"position":[[39,1]]},"37":{"position":[[70,1],[90,1],[243,1]]}},"keywords":{}}],["b(stakehold",{"_index":461,"title":{},"content":{"37":{"position":[[46,13]]}},"keywords":{}}],["b.c.'",{"_index":208,"title":{},"content":{"23":{"position":[[32,6]]}},"keywords":{}}],["backgroundcolor",{"_index":492,"title":{},"content":{"38":{"position":[[177,16]]}},"keywords":{}}],["band",{"_index":816,"title":{},"content":{"60":{"position":[[708,4]]}},"keywords":{}}],["barfind",{"_index":17,"title":{},"content":{"1":{"position":[[175,7]]}},"keywords":{}}],["base",{"_index":299,"title":{},"content":{"24":{"position":[[780,5]]},"82":{"position":[[272,5]]}},"keywords":{}}],["bc",{"_index":616,"title":{},"content":{"54":{"position":[[875,3],[1822,3]]},"72":{"position":[[56,2],[223,2],[305,2]]},"73":{"position":[[1,2],[28,2]]}},"keywords":{}}],["be",{"_index":653,"title":{},"content":{"54":{"position":[[1876,5]]},"68":{"position":[[232,5]]},"69":{"position":[[1005,5]]}},"keywords":{}}],["befor",{"_index":984,"title":{},"content":{"80":{"position":[[147,6]]}},"keywords":{}}],["begin",{"_index":683,"title":{},"content":{"55":{"position":[[340,9]]}},"keywords":{}}],["behalf",{"_index":895,"title":{},"content":{"72":{"position":[[264,6]]}},"keywords":{}}],["belong",{"_index":603,"title":{},"content":{"54":{"position":[[436,6]]}},"keywords":{}}],["best",{"_index":323,"title":{},"content":{"26":{"position":[[7,4]]}},"keywords":{}}],["better",{"_index":253,"title":{},"content":{"23":{"position":[[683,6]]},"24":{"position":[[78,6]]},"62":{"position":[[320,6]]}},"keywords":{}}],["between",{"_index":671,"title":{},"content":{"54":{"position":[[2359,7]]},"55":{"position":[[1597,7]]},"56":{"position":[[1495,7]]},"60":{"position":[[301,7]]},"72":{"position":[[584,7]]},"82":{"position":[[133,7]]}},"keywords":{}}],["block",{"_index":412,"title":{"33":{"position":[[5,7]]}},"content":{"33":{"position":[[15,6]]}},"keywords":{}}],["blog",{"_index":89,"title":{"7":{"position":[[9,4]]}},"content":{"8":{"position":[[531,4]]}},"keywords":{}}],["blog/2021",{"_index":93,"title":{},"content":{"8":{"position":[[18,9],[49,9]]}},"keywords":{}}],["blue",{"_index":511,"title":{},"content":{"38":{"position":[[617,4]]}},"keywords":{}}],["blue</highlight>",{"_index":508,"title":{},"content":{"38":{"position":[[543,22]]}},"keywords":{}}],["boolean",{"_index":722,"title":{"85":{"position":[[0,8]]}},"content":{"56":{"position":[[283,8]]},"85":{"position":[[1,8],[191,8]]}},"keywords":{}}],["border",{"_index":673,"title":{},"content":{"54":{"position":[[2396,8]]}},"keywords":{}}],["borderradiu",{"_index":493,"title":{},"content":{"38":{"position":[[201,13]]}},"keywords":{}}],["both",{"_index":736,"title":{},"content":{"56":{"position":[[572,4]]}},"keywords":{}}],["boundari",{"_index":1021,"title":{},"content":{"84":{"position":[[426,10]]}},"keywords":{}}],["brief",{"_index":826,"title":{},"content":{"60":{"position":[[1032,5],[1066,5]]}},"keywords":{}}],["british",{"_index":856,"title":{},"content":{"68":{"position":[[148,7]]},"69":{"position":[[921,7]]}},"keywords":{}}],["broader",{"_index":689,"title":{},"content":{"55":{"position":[[490,7],[1107,7],[1456,7]]}},"keywords":{}}],["build",{"_index":75,"title":{"13":{"position":[[0,5]]},"50":{"position":[[0,5]]}},"content":{"6":{"position":[[247,6]]},"13":{"position":[[1,5],[42,5],[88,5]]},"14":{"position":[[22,5],[58,5],[136,5]]},"50":{"position":[[1,5],[49,5],[75,5],[136,5]]},"53":{"position":[[639,8]]},"69":{"position":[[721,8]]}},"keywords":{}}],["built",{"_index":922,"title":{},"content":{"74":{"position":[[519,5]]}},"keywords":{}}],["bundl",{"_index":357,"title":{"57":{"position":[[8,6]]}},"content":{"27":{"position":[[350,8]]},"54":{"position":[[304,8],[2020,7]]}},"keywords":{}}],["busi",{"_index":254,"title":{},"content":{"23":{"position":[[690,8]]},"51":{"position":[[28,8]]},"72":{"position":[[107,8]]}},"keywords":{}}],["c",{"_index":455,"title":{},"content":{"36":{"position":[[48,1]]},"37":{"position":[[121,1],[156,1],[186,1],[268,1]]}},"keywords":{}}],["call",{"_index":380,"title":{},"content":{"30":{"position":[[45,6]]},"83":{"position":[[134,6]]}},"keywords":{}}],["callout",{"_index":423,"title":{},"content":{"34":{"position":[[59,9]]}},"keywords":{}}],["can't",{"_index":235,"title":{},"content":{"23":{"position":[[351,5]]}},"keywords":{}}],["canada",{"_index":742,"title":{},"content":{"56":{"position":[[763,6]]}},"keywords":{}}],["captur",{"_index":629,"title":{},"content":{"54":{"position":[[1185,7]]}},"keywords":{}}],["cardin",{"_index":842,"title":{},"content":{"62":{"position":[[6,11]]},"69":{"position":[[165,11]]}},"keywords":{}}],["care",{"_index":429,"title":{},"content":{"34":{"position":[[136,5],[218,4]]}},"keywords":{}}],["carri",{"_index":649,"title":{},"content":{"54":{"position":[[1738,5]]}},"keywords":{}}],["case",{"_index":967,"title":{},"content":{"79":{"position":[[406,6]]}},"keywords":{}}],["caseload",{"_index":626,"title":{},"content":{"54":{"position":[[1133,8]]}},"keywords":{}}],["cast",{"_index":1027,"title":{},"content":{"85":{"position":[[218,6]]}},"keywords":{}}],["catalogu",{"_index":896,"title":{},"content":{"72":{"position":[[313,10]]}},"keywords":{}}],["catalogueparcelmap",{"_index":907,"title":{},"content":{"73":{"position":[[9,18]]}},"keywords":{}}],["categor",{"_index":716,"title":{},"content":{"55":{"position":[[1578,14]]}},"keywords":{}}],["categori",{"_index":176,"title":{},"content":{"17":{"position":[[386,11]]}},"keywords":{}}],["caution",{"_index":535,"title":{},"content":{"48":{"position":[[179,7]]}},"keywords":{}}],["cd",{"_index":67,"title":{},"content":{"6":{"position":[[30,2],[64,2]]}},"keywords":{}}],["certain",{"_index":600,"title":{},"content":{"54":{"position":[[370,7]]},"60":{"position":[[835,7]]},"85":{"position":[[79,7]]}},"keywords":{}}],["chang",{"_index":68,"title":{},"content":{"6":{"position":[[75,7],[470,8]]}},"keywords":{}}],["characterist",{"_index":252,"title":{},"content":{"23":{"position":[[637,15]]}},"keywords":{}}],["chart",{"_index":437,"title":{},"content":{"35":{"position":[[50,8],[188,6]]}},"keywords":{}}],["check",{"_index":40,"title":{},"content":{"4":{"position":[[80,5]]},"80":{"position":[[212,5]]},"81":{"position":[[79,5]]}},"keywords":{}}],["checkbox",{"_index":41,"title":{},"content":{"4":{"position":[[90,10]]}},"keywords":{}}],["children",{"_index":488,"title":{},"content":{"38":{"position":[[131,11],[346,13],[367,10]]}},"keywords":{}}],["class",{"_index":880,"title":{},"content":{"69":{"position":[[684,5]]}},"keywords":{}}],["classic",{"_index":46,"title":{},"content":{"5":{"position":[[42,7],[65,7],[192,7]]}},"keywords":{}}],["classif",{"_index":729,"title":{},"content":{"56":{"position":[[432,14],[676,14],[814,14]]}},"keywords":{}}],["clear",{"_index":313,"title":{},"content":{"25":{"position":[[96,5]]}},"keywords":{}}],["clearli",{"_index":321,"title":{},"content":{"25":{"position":[[254,8]]}},"keywords":{}}],["click",{"_index":502,"title":{},"content":{"38":{"position":[[308,7]]}},"keywords":{}}],["client",{"_index":666,"title":{},"content":{"54":{"position":[[2257,6]]}},"keywords":{}}],["close",{"_index":410,"title":{},"content":{"32":{"position":[[296,5]]}},"keywords":{}}],["co",{"_index":104,"title":{},"content":{"8":{"position":[[152,2]]}},"keywords":{}}],["code",{"_index":62,"title":{"33":{"position":[[0,4]]},"39":{"position":[[0,4]]}},"content":{"5":{"position":[[312,4]]},"33":{"position":[[10,4]]},"56":{"position":[[661,4],[754,4],[844,4]]}},"keywords":{}}],["codelist",{"_index":728,"title":{},"content":{"56":{"position":[[420,8]]}},"keywords":{}}],["collect",{"_index":219,"title":{},"content":{"23":{"position":[[132,8],[320,11]]},"55":{"position":[[699,10]]}},"keywords":{}}],["coloc",{"_index":409,"title":{},"content":{"32":{"position":[[280,8]]}},"keywords":{}}],["color",{"_index":489,"title":{},"content":{"38":{"position":[[143,7],[194,6],[223,6],[320,5],[326,8]]}},"keywords":{}}],["color="#1877f2">facebook",{"_index":507,"title":{},"content":{"38":{"position":[[505,37]]}},"keywords":{}}],["color="#25c2a0">docusauru",{"_index":505,"title":{},"content":{"38":{"position":[[417,39]]}},"keywords":{}}],["columbia",{"_index":857,"title":{},"content":{"68":{"position":[[156,9]]},"69":{"position":[[929,9]]}},"keywords":{}}],["column",{"_index":758,"title":{},"content":{"56":{"position":[[1164,6]]}},"keywords":{}}],["come",{"_index":645,"title":{},"content":{"54":{"position":[[1626,4]]},"55":{"position":[[524,5]]}},"keywords":{}}],["command",{"_index":52,"title":{},"content":{"5":{"position":[[144,8],[220,7],[233,7],[330,7]]},"6":{"position":[[67,7],[239,7]]}},"keywords":{}}],["comment",{"_index":586,"title":{},"content":{"53":{"position":[[1027,8]]},"60":{"position":[[743,8]]}},"keywords":{}}],["common",{"_index":237,"title":{},"content":{"23":{"position":[[377,6]]},"25":{"position":[[138,6]]},"26":{"position":[[82,6]]},"27":{"position":[[672,6]]},"52":{"position":[[99,6]]},"54":{"position":[[43,6]]},"55":{"position":[[43,6]]},"56":{"position":[[260,6],[1364,6],[1846,6],[2051,6]]},"69":{"position":[[703,6]]},"74":{"position":[[419,6]]}},"keywords":{}}],["commonbuilt",{"_index":920,"title":{},"content":{"74":{"position":[[333,11]]}},"keywords":{}}],["commonli",{"_index":737,"title":{},"content":{"56":{"position":[[647,8]]},"60":{"position":[[18,8]]},"75":{"position":[[84,8]]},"79":{"position":[[98,8]]}},"keywords":{}}],["commun",{"_index":22,"title":{},"content":{"1":{"position":[[253,9]]},"24":{"position":[[646,11],[722,11]]}},"keywords":{}}],["comparison",{"_index":841,"title":{},"content":{"61":{"position":[[44,10]]},"90":{"position":[[21,10]]}},"keywords":{}}],["compat",{"_index":248,"title":{},"content":{"23":{"position":[[507,13]]},"75":{"position":[[204,10]]},"79":{"position":[[665,14]]}},"keywords":{}}],["compil",{"_index":876,"title":{},"content":{"69":{"position":[[449,12]]}},"keywords":{}}],["complet",{"_index":655,"title":{},"content":{"54":{"position":[[2043,9]]},"55":{"position":[[164,8]]}},"keywords":{}}],["complex",{"_index":206,"title":{},"content":{"23":{"position":[[17,7]]}},"keywords":{}}],["compli",{"_index":805,"title":{},"content":{"60":{"position":[[459,8]]},"78":{"position":[[89,6],[149,6]]},"79":{"position":[[56,6],[465,6]]},"80":{"position":[[191,6]]},"81":{"position":[[46,6]]}},"keywords":{}}],["compliant",{"_index":937,"title":{},"content":{"75":{"position":[[524,9]]},"76":{"position":[[170,9]]},"77":{"position":[[171,9]]},"79":{"position":[[238,9]]}},"keywords":{}}],["compon",{"_index":483,"title":{"38":{"position":[[14,11]]}},"content":{"38":{"position":[[77,10]]}},"keywords":{}}],["concept",{"_index":328,"title":{"52":{"position":[[0,9]]}},"content":{"26":{"position":[[100,8]]},"52":{"position":[[38,8]]},"54":{"position":[[92,8],[637,7]]},"55":{"position":[[92,8],[372,8],[1177,7],[1525,7]]}},"keywords":{}}],["conceptu",{"_index":800,"title":{},"content":{"60":{"position":[[276,10]]}},"keywords":{}}],["concise.descript",{"_index":827,"title":{},"content":{"60":{"position":[[1042,19]]}},"keywords":{}}],["condit",{"_index":698,"title":{},"content":{"55":{"position":[[948,9],[1221,9]]}},"keywords":{}}],["configur",{"_index":7,"title":{"17":{"position":[[0,9]]},"46":{"position":[[0,9]]}},"content":{"1":{"position":[[49,13]]}},"keywords":{}}],["congratul",{"_index":0,"title":{"0":{"position":[[0,16]]}},"content":{"8":{"position":[[410,16]]}},"keywords":{}}],["connect",{"_index":282,"title":{},"content":{"24":{"position":[[381,7]]}},"keywords":{}}],["consid",{"_index":833,"title":{},"content":{"60":{"position":[[1343,10]]}},"keywords":{}}],["consist",{"_index":278,"title":{},"content":{"24":{"position":[[281,12],[548,10]]},"27":{"position":[[445,11]]},"56":{"position":[[932,10]]},"84":{"position":[[79,7]]}},"keywords":{}}],["consistencyidentifi",{"_index":353,"title":{},"content":{"27":{"position":[[258,19]]}},"keywords":{}}],["consistently.support",{"_index":295,"title":{},"content":{"24":{"position":[[671,20]]}},"keywords":{}}],["const",{"_index":487,"title":{},"content":{"38":{"position":[[113,5]]}},"keywords":{}}],["constrain",{"_index":752,"title":{},"content":{"56":{"position":[[985,11]]},"74":{"position":[[221,11]]},"79":{"position":[[322,11]]},"82":{"position":[[487,11]]},"83":{"position":[[293,9]]},"84":{"position":[[145,9]]}},"keywords":{}}],["constraint",{"_index":837,"title":{},"content":{"60":{"position":[[1456,10]]},"84":{"position":[[313,11]]}},"keywords":{}}],["constraintslegal_descript",{"_index":869,"title":{},"content":{"69":{"position":[[200,28]]}},"keywords":{}}],["constraintsproject_id",{"_index":844,"title":{},"content":{"62":{"position":[[41,21]]}},"keywords":{}}],["consult",{"_index":360,"title":{},"content":{"27":{"position":[[396,12]]}},"keywords":{}}],["contain",{"_index":802,"title":{},"content":{"60":{"position":[[366,7],[615,7]]},"62":{"position":[[297,7]]},"69":{"position":[[44,7],[109,7]]},"80":{"position":[[99,8]]},"84":{"position":[[211,8]]}},"keywords":{}}],["content",{"_index":528,"title":{},"content":{"47":{"position":[[88,7],[153,7],[221,7]]},"60":{"position":[[93,8]]}},"keywords":{}}],["context",{"_index":553,"title":{},"content":{"53":{"position":[[104,7]]},"54":{"position":[[1833,7]]},"56":{"position":[[528,7]]},"60":{"position":[[1147,7]]}},"keywords":{}}],["context"",{"_index":661,"title":{},"content":{"54":{"position":[[2189,14]]}},"keywords":{}}],["contribut",{"_index":308,"title":{},"content":{"25":{"position":[[49,10]]}},"keywords":{}}],["convention",{"_index":1008,"title":{},"content":{"83":{"position":[[119,14]]}},"keywords":{}}],["convey",{"_index":708,"title":{},"content":{"55":{"position":[[1334,8]]},"60":{"position":[[691,9]]},"76":{"position":[[109,8]]},"77":{"position":[[107,8]]}},"keywords":{}}],["copi",{"_index":182,"title":{},"content":{"19":{"position":[[98,6]]},"47":{"position":[[1,4]]}},"keywords":{}}],["core",{"_index":243,"title":{},"content":{"23":{"position":[[443,4]]},"56":{"position":[[1288,4]]}},"keywords":{}}],["cost",{"_index":156,"title":{},"content":{"14":{"position":[[196,4]]},"24":{"position":[[148,5],[474,4]]}},"keywords":{}}],["cours",{"_index":334,"title":{},"content":{"26":{"position":[[214,7]]}},"keywords":{}}],["cp",{"_index":530,"title":{},"content":{"47":{"position":[[110,2]]}},"keywords":{}}],["creat",{"_index":27,"title":{"7":{"position":[[0,6]]},"8":{"position":[[0,6]]},"9":{"position":[[0,6]]},"10":{"position":[[0,6]]},"11":{"position":[[0,6]]},"15":{"position":[[0,6]]},"16":{"position":[[0,6]]},"19":{"position":[[0,6]]}},"content":{"3":{"position":[[16,8]]},"6":{"position":[[151,7]]},"8":{"position":[[1,6]]},"10":{"position":[[1,6]]},"11":{"position":[[1,6]]},"16":{"position":[[1,6]]},"17":{"position":[[26,7],[264,6]]},"19":{"position":[[158,8]]},"24":{"position":[[592,6]]},"31":{"position":[[97,7],[149,7],[213,6]]},"34":{"position":[[36,6]]}},"keywords":{}}],["creator",{"_index":105,"title":{},"content":{"8":{"position":[[155,7]]}},"keywords":{}}],["cross",{"_index":337,"title":{},"content":{"27":{"position":[[10,5],[313,5]]}},"keywords":{}}],["crown",{"_index":864,"title":{},"content":{"68":{"position":[[389,5]]},"69":{"position":[[365,5],[1178,5]]}},"keywords":{}}],["csv",{"_index":782,"title":{},"content":{"56":{"position":[[1880,4]]}},"keywords":{}}],["current",{"_index":407,"title":{},"content":{"32":{"position":[[227,7]]},"55":{"position":[[940,7],[1213,7],[1306,7]]}},"keywords":{}}],["cursor",{"_index":498,"title":{},"content":{"38":{"position":[[255,7]]}},"keywords":{}}],["custom",{"_index":13,"title":{},"content":{"1":{"position":[[138,6]]},"17":{"position":[[83,9]]},"30":{"position":[[167,6]]}},"keywords":{}}],["c{purpos",{"_index":464,"title":{},"content":{"37":{"position":[[79,10]]}},"keywords":{}}],["d",{"_index":478,"title":{},"content":{"37":{"position":[[270,1]]}},"keywords":{}}],["d[document",{"_index":467,"title":{},"content":{"37":{"position":[[135,10]]}},"keywords":{}}],["danger",{"_index":431,"title":{},"content":{"34":{"position":[[157,9],[238,9]]}},"keywords":{}}],["danger[tak",{"_index":428,"title":{},"content":{"34":{"position":[[121,14]]}},"keywords":{}}],["dash",{"_index":892,"title":{},"content":{"72":{"position":[[211,7],[464,7],[577,6]]}},"keywords":{}}],["data",{"_index":231,"title":{},"content":{"23":{"position":[[282,4],[460,4]]},"24":{"position":[[85,4],[199,4],[276,4]]},"25":{"position":[[112,4],[219,4]]},"26":{"position":[[49,4],[113,4]]},"27":{"position":[[48,4],[225,4],[773,4],[862,4],[905,4],[936,4]]},"56":{"position":[[150,4],[251,4],[267,4],[390,4],[1091,4],[1119,4],[1208,4],[1247,4],[1442,4],[1740,5],[1853,4],[1993,4],[2067,4]]},"58":{"position":[[6,4]]},"72":{"position":[[226,4],[256,4],[308,4]]},"73":{"position":[[4,4]]},"88":{"position":[[9,4]]}},"keywords":{}}],["databas",{"_index":768,"title":{},"content":{"56":{"position":[[1456,8],[2020,9],[2102,9]]}},"keywords":{}}],["date",{"_index":724,"title":{"75":{"position":[[0,4]]}},"content":{"56":{"position":[[313,5]]},"75":{"position":[[1,4],[139,4],[295,4]]},"88":{"position":[[118,4]]},"89":{"position":[[90,5]]}},"keywords":{}}],["decim",{"_index":991,"title":{},"content":{"82":{"position":[[1,8],[299,7]]}},"keywords":{}}],["decis",{"_index":224,"title":{},"content":{"23":{"position":[[186,9]]},"53":{"position":[[236,8],[263,8],[415,10],[504,9]]},"54":{"position":[[1238,8],[1278,8]]}},"keywords":{}}],["declar",{"_index":660,"title":{},"content":{"54":{"position":[[2161,9]]}},"keywords":{}}],["dedic",{"_index":575,"title":{},"content":{"53":{"position":[[754,9]]}},"keywords":{}}],["default",{"_index":133,"title":{},"content":{"10":{"position":[[144,7]]},"17":{"position":[[331,7]]},"20":{"position":[[133,7]]},"46":{"position":[[92,7]]},"49":{"position":[[133,7]]}},"keywords":{}}],["defaultlocal",{"_index":521,"title":{},"content":{"46":{"position":[[110,14]]}},"keywords":{}}],["defin",{"_index":251,"title":{},"content":{"23":{"position":[[614,6]]},"30":{"position":[[357,8]]},"54":{"position":[[162,7],[709,6],[1456,8]]},"55":{"position":[[587,7],[627,7],[729,7],[819,7],[1413,7]]},"56":{"position":[[206,8],[1472,8]]},"60":{"position":[[35,7],[135,6],[1268,8],[1370,7]]},"83":{"position":[[320,6],[379,6]]}},"keywords":{}}],["definit",{"_index":594,"title":{"54":{"position":[[0,12]]}},"content":{"54":{"position":[[27,11],[120,10],[1059,10]]},"55":{"position":[[27,11],[125,10],[1121,11],[1470,11]]},"56":{"position":[[45,11],[952,12],[1230,11],[1336,10]]},"83":{"position":[[444,11]]},"84":{"position":[[122,11]]}},"keywords":{}}],["definitionapplic",{"_index":554,"title":{},"content":{"53":{"position":[[127,19]]}},"keywords":{}}],["definitiondata",{"_index":717,"title":{},"content":{"56":{"position":[[118,14]]}},"keywords":{}}],["definitionlob",{"_index":541,"title":{},"content":{"51":{"position":[[6,13]]}},"keywords":{}}],["degre",{"_index":643,"title":{},"content":{"54":{"position":[[1585,7]]}},"keywords":{}}],["delici",{"_index":335,"title":{},"content":{"26":{"position":[[231,10]]}},"keywords":{}}],["deliv",{"_index":268,"title":{},"content":{"24":{"position":[[34,7]]},"53":{"position":[[743,10]]}},"keywords":{}}],["deliveri",{"_index":1034,"title":{},"content":{"88":{"position":[[34,8]]}},"keywords":{}}],["depend",{"_index":43,"title":{},"content":{"4":{"position":[[112,13]]},"5":{"position":[[366,12]]}},"keywords":{}}],["deploy",{"_index":147,"title":{"12":{"position":[[0,6]]},"14":{"position":[[0,6]]}},"content":{"14":{"position":[[125,6],[211,10]]}},"keywords":{}}],["deriv",{"_index":390,"title":{},"content":{"30":{"position":[[400,7]]}},"keywords":{}}],["describ",{"_index":679,"title":{},"content":{"55":{"position":[[280,8]]},"56":{"position":[[21,8],[1551,9]]},"60":{"position":[[233,10],[265,10],[416,9]]},"79":{"position":[[120,9]]},"84":{"position":[[413,8]]},"88":{"position":[[142,10]]}},"keywords":{}}],["descript",{"_index":244,"title":{},"content":{"23":{"position":[[448,11]]},"30":{"position":[[120,12],[145,11],[330,11]]},"54":{"position":[[483,11]]},"55":{"position":[[921,11],[1194,11]]},"60":{"position":[[1072,11]]},"62":{"position":[[23,11],[260,11]]},"69":{"position":[[182,11],[256,11]]}},"keywords":{}}],["design",{"_index":14,"title":{},"content":{"1":{"position":[[145,6]]},"53":{"position":[[305,10]]},"54":{"position":[[1517,10]]}},"keywords":{}}],["detail",{"_index":442,"title":{},"content":{"35":{"position":[[159,7],[241,7]]},"55":{"position":[[1288,7],[1482,8]]},"74":{"position":[[495,6]]},"76":{"position":[[240,8]]},"77":{"position":[[258,8]]},"78":{"position":[[232,8]]},"80":{"position":[[256,8]]},"81":{"position":[[123,8]]},"83":{"position":[[471,7]]},"85":{"position":[[298,8]]},"86":{"position":[[207,8]]}},"keywords":{}}],["develop",{"_index":65,"title":{},"content":{"6":{"position":[[9,11],[299,11]]},"27":{"position":[[743,9]]},"30":{"position":[[186,9]]},"48":{"position":[[190,12]]},"53":{"position":[[618,12]]},"54":{"position":[[274,11]]}},"keywords":{}}],["diagram",{"_index":436,"title":{},"content":{"35":{"position":[[34,11],[259,7]]},"54":{"position":[[2314,7]]},"55":{"position":[[1548,7]]}},"keywords":{}}],["dialect",{"_index":990,"title":{},"content":{"81":{"position":[[70,8]]}},"keywords":{}}],["dictionari",{"_index":762,"title":{},"content":{"56":{"position":[[1252,11]]}},"keywords":{}}],["differ",{"_index":283,"title":{},"content":{"24":{"position":[[422,9],[692,9]]},"56":{"position":[[1503,9]]},"84":{"position":[[90,9]]}},"keywords":{}}],["differenti",{"_index":994,"title":{},"content":{"82":{"position":[[119,13]]}},"keywords":{}}],["difficult",{"_index":228,"title":{},"content":{"23":{"position":[[245,9]]}},"keywords":{}}],["digit",{"_index":854,"title":{},"content":{"68":{"position":[[64,5]]},"69":{"position":[[841,5]]},"72":{"position":[[558,5]]}},"keywords":{}}],["digits.parcel_id_numb",{"_index":903,"title":{},"content":{"72":{"position":[[612,23]]}},"keywords":{}}],["direct",{"_index":264,"title":{},"content":{"23":{"position":[[840,9]]}},"keywords":{}}],["directori",{"_index":69,"title":{},"content":{"6":{"position":[[87,9]]},"32":{"position":[[102,9]]}},"keywords":{}}],["discret",{"_index":694,"title":{},"content":{"55":{"position":[[674,9]]}},"keywords":{}}],["discuss",{"_index":548,"title":{},"content":{"53":{"position":[[14,9]]}},"keywords":{}}],["display",{"_index":88,"title":{},"content":{"6":{"position":[[456,8]]}},"keywords":{}}],["disposit",{"_index":630,"title":{},"content":{"54":{"position":[[1216,11]]}},"keywords":{}}],["distinct",{"_index":686,"title":{},"content":{"55":{"position":[[417,8]]}},"keywords":{}}],["distribut",{"_index":894,"title":{},"content":{"72":{"position":[[239,11]]}},"keywords":{}}],["district",{"_index":568,"title":{},"content":{"53":{"position":[[558,8]]}},"keywords":{}}],["divis",{"_index":688,"title":{},"content":{"55":{"position":[[436,8]]}},"keywords":{}}],["doc",{"_index":159,"title":{"16":{"position":[[18,4]]},"18":{"position":[[7,4]]},"19":{"position":[[9,4]]},"47":{"position":[[12,4]]}},"content":{"17":{"position":[[53,4]]},"19":{"position":[[83,4],[173,4],[332,4]]},"20":{"position":[[239,4]]},"21":{"position":[[34,4]]}},"keywords":{}}],["doc.md",{"_index":381,"title":{},"content":{"30":{"position":[[70,6]]}},"keywords":{}}],["docs/curr",{"_index":529,"title":{},"content":{"47":{"position":[[96,13]]}},"keywords":{}}],["docs/current/intro.md",{"_index":531,"title":{},"content":{"47":{"position":[[161,21],[229,21]]}},"keywords":{}}],["docs/hello.md",{"_index":160,"title":{},"content":{"16":{"position":[[27,14],[43,13]]},"17":{"position":[[126,13]]}},"keywords":{}}],["docs/intro.md",{"_index":83,"title":{},"content":{"6":{"position":[[374,13]]},"47":{"position":[[10,13],[113,13]]}},"keywords":{}}],["docs:vers",{"_index":181,"title":{},"content":{"19":{"position":[[60,12]]}},"keywords":{}}],["docscurr",{"_index":187,"title":{},"content":{"19":{"position":[[255,11]]}},"keywords":{}}],["document",{"_index":158,"title":{"15":{"position":[[9,8]]},"26":{"position":[[0,14]]}},"content":{"16":{"position":[[95,11],[115,8]]},"17":{"position":[[227,11],[451,10]]},"26":{"position":[[26,11]]},"30":{"position":[[10,9],[105,8],[136,8]]},"35":{"position":[[218,13]]},"38":{"position":[[19,13]]},"54":{"position":[[1702,8]]},"60":{"position":[[79,9],[193,9],[1234,8],[1328,8]]},"74":{"position":[[472,13]]},"75":{"position":[[403,13]]},"76":{"position":[[217,13]]},"77":{"position":[[235,13]]},"78":{"position":[[209,13]]},"79":{"position":[[148,14]]},"80":{"position":[[233,13]]},"81":{"position":[[100,13]]},"82":{"position":[[614,13]]},"83":{"position":[[253,13],[530,14]]},"84":{"position":[[476,13]]},"85":{"position":[[275,13]]},"86":{"position":[[184,13]]}},"keywords":{}}],["documentationmodifi",{"_index":5,"title":{},"content":{"1":{"position":[[19,19]]}},"keywords":{}}],["docusauru",{"_index":19,"title":{},"content":{"1":{"position":[[203,10],[242,10]]},"3":{"position":[[45,10]]},"5":{"position":[[16,10],[395,11]]},"6":{"position":[[159,10]]},"8":{"position":[[166,10],[291,10]]},"16":{"position":[[84,10]]},"17":{"position":[[1,10],[216,10]]},"19":{"position":[[49,10]]},"32":{"position":[[142,12],[337,12]]},"34":{"position":[[1,10]]},"35":{"position":[[5,10]]},"38":{"position":[[580,10]]}},"keywords":{}}],["docusaurus!</h1>",{"_index":419,"title":{},"content":{"33":{"position":[[175,23],[294,23]]}},"keywords":{}}],["docusaurus.config.j",{"_index":194,"title":{},"content":{"20":{"position":[[77,20],[105,20]]},"46":{"position":[[8,20],[64,20]]},"49":{"position":[[77,20],[105,20]]}},"keywords":{}}],["docusaurus.config.jsadd",{"_index":8,"title":{},"content":{"1":{"position":[[68,23]]}},"keywords":{}}],["docusaurus.new",{"_index":31,"title":{},"content":{"3":{"position":[[73,15]]}},"keywords":{}}],["docusaurus@latest",{"_index":55,"title":{},"content":{"5":{"position":[[163,17]]}},"keywords":{}}],["domain",{"_index":591,"title":{},"content":{"53":{"position":[[1137,7]]},"56":{"position":[[1026,7]]},"60":{"position":[[328,7]]},"89":{"position":[[204,6]]}},"keywords":{}}],["done",{"_index":1012,"title":{},"content":{"83":{"position":[[494,4]]}},"keywords":{}}],["draft",{"_index":804,"title":{},"content":{"60":{"position":[[430,5]]},"61":{"position":[[1,5]]},"75":{"position":[[539,5]]},"79":{"position":[[253,5]]}},"keywords":{}}],["driven",{"_index":667,"title":{},"content":{"54":{"position":[[2264,6]]}},"keywords":{}}],["dropdown",{"_index":191,"title":{"20":{"position":[[14,9]]},"49":{"position":[[13,9]]}},"content":{"20":{"position":[[55,9],[252,8]]},"49":{"position":[[55,9],[231,8]]}},"keywords":{}}],["dublin",{"_index":763,"title":{},"content":{"56":{"position":[[1281,6]]}},"keywords":{}}],["durat",{"_index":936,"title":{},"content":{"75":{"position":[[468,8]]}},"keywords":{}}],["dure",{"_index":878,"title":{},"content":{"69":{"position":[[485,6]]},"72":{"position":[[67,6]]}},"keywords":{}}],["e",{"_index":479,"title":{},"content":{"37":{"position":[[272,1]]}},"keywords":{}}],["e.g",{"_index":598,"title":{},"content":{"54":{"position":[[258,5]]},"55":{"position":[[1031,6],[1343,6]]},"69":{"position":[[697,5]]}},"keywords":{}}],["e[ev",{"_index":470,"title":{},"content":{"37":{"position":[[170,7]]}},"keywords":{}}],["each",{"_index":296,"title":{},"content":{"24":{"position":[[739,4]]},"27":{"position":[[656,4]]},"55":{"position":[[1653,4]]},"72":{"position":[[592,4]]}},"keywords":{}}],["easier",{"_index":281,"title":{},"content":{"24":{"position":[[371,6]]}},"keywords":{}}],["easili",{"_index":153,"title":{},"content":{"14":{"position":[[165,7]]}},"keywords":{}}],["ecma",{"_index":1039,"title":{},"content":{"89":{"position":[[1,4]]}},"keywords":{}}],["ecosystem",{"_index":250,"title":{},"content":{"23":{"position":[[591,11]]}},"keywords":{}}],["edit",{"_index":85,"title":{},"content":{"6":{"position":[[404,4]]},"8":{"position":[[487,4]]},"21":{"position":[[19,4]]}},"keywords":{}}],["editor",{"_index":63,"title":{},"content":{"5":{"position":[[317,7]]},"60":{"position":[[793,7]]}},"keywords":{}}],["effort",{"_index":273,"title":{},"content":{"24":{"position":[[158,6],[463,6]]}},"keywords":{}}],["element",{"_index":245,"title":{},"content":{"23":{"position":[[475,8]]},"27":{"position":[[601,8]]},"56":{"position":[[1096,8],[1124,9],[1380,8]]},"84":{"position":[[38,9],[67,8],[167,8],[277,8]]}},"keywords":{}}],["email",{"_index":939,"title":{"76":{"position":[[0,6]]}},"content":{"76":{"position":[[1,5],[29,5],[90,6],[150,5]]}},"keywords":{}}],["email)rfc",{"_index":1053,"title":{},"content":{"89":{"position":[[245,9]]}},"keywords":{}}],["email/smtp)rfc",{"_index":1051,"title":{},"content":{"89":{"position":[[164,15]]}},"keywords":{}}],["en",{"_index":522,"title":{},"content":{"46":{"position":[[125,5],[140,6]]}},"keywords":{}}],["enabl",{"_index":247,"title":{},"content":{"23":{"position":[[496,6],[676,6],[797,8]]},"24":{"position":[[71,6]]},"27":{"position":[[1,6]]}},"keywords":{}}],["encod",{"_index":776,"title":{},"content":{"56":{"position":[[1667,9]]},"75":{"position":[[357,7]]},"85":{"position":[[240,9]]}},"keywords":{}}],["encount",{"_index":898,"title":{},"content":{"72":{"position":[[417,11],[732,12]]}},"keywords":{}}],["end",{"_index":476,"title":{},"content":{"37":{"position":[[245,3],[278,3]]},"55":{"position":[[353,4]]}},"keywords":{}}],["enhanc",{"_index":277,"title":{},"content":{"24":{"position":[[268,7]]}},"keywords":{}}],["ensur",{"_index":318,"title":{},"content":{"25":{"position":[[212,6]]},"85":{"position":[[179,6]]}},"keywords":{}}],["enter",{"_index":861,"title":{},"content":{"68":{"position":[[238,7]]},"69":{"position":[[1011,7]]}},"keywords":{}}],["entir",{"_index":680,"title":{},"content":{"55":{"position":[[293,6]]}},"keywords":{}}],["entiti",{"_index":570,"title":{},"content":{"53":{"position":[[601,6]]}},"keywords":{}}],["entri",{"_index":727,"title":{},"content":{"56":{"position":[[409,5]]}},"keywords":{}}],["equat",{"_index":1030,"title":{},"content":{"86":{"position":[[111,6]]}},"keywords":{}}],["equival",{"_index":964,"title":{},"content":{"79":{"position":[[343,10]]}},"keywords":{}}],["errata",{"_index":1057,"title":{"90":{"position":[[0,7]]}},"content":{},"keywords":{}}],["essenti",{"_index":634,"title":{},"content":{"54":{"position":[[1322,11]]}},"keywords":{}}],["establish",{"_index":573,"title":{},"content":{"53":{"position":[[709,11]]},"56":{"position":[[896,11],[1313,11]]}},"keywords":{}}],["evalu",{"_index":1025,"title":{},"content":{"85":{"position":[[101,8],[204,9]]}},"keywords":{}}],["everyon",{"_index":302,"title":{"25":{"position":[[8,8]]}},"content":{"25":{"position":[[157,8]]}},"keywords":{}}],["evid",{"_index":258,"title":{},"content":{"23":{"position":[[727,8]]},"24":{"position":[[771,8]]}},"keywords":{}}],["exampl",{"_index":440,"title":{},"content":{"35":{"position":[[105,8]]},"56":{"position":[[704,8],[1268,8]]},"75":{"position":[[435,9]]},"82":{"position":[[646,9]]},"84":{"position":[[508,9]]}},"keywords":{}}],["exchang",{"_index":468,"title":{},"content":{"37":{"position":[[146,9]]}},"keywords":{}}],["exclusivemaximum",{"_index":1004,"title":{},"content":{"82":{"position":[[571,17]]}},"keywords":{}}],["execut",{"_index":477,"title":{},"content":{"37":{"position":[[258,9]]}},"keywords":{}}],["exist",{"_index":199,"title":{"21":{"position":[[10,8]]}},"content":{},"keywords":{}}],["expand",{"_index":623,"title":{},"content":{"54":{"position":[[1047,6]]}},"keywords":{}}],["expect",{"_index":798,"title":{},"content":{"60":{"position":[[157,12],[244,8],[1206,8]]},"83":{"position":[[347,8]]},"84":{"position":[[248,11],[290,9]]}},"keywords":{}}],["expert",{"_index":588,"title":{},"content":{"53":{"position":[[1070,6],[1094,6]]}},"keywords":{}}],["explicitli",{"_index":173,"title":{},"content":{"17":{"position":[[284,10]]},"60":{"position":[[124,10]]}},"keywords":{}}],["export",{"_index":132,"title":{},"content":{"10":{"position":[[137,6]]},"17":{"position":[[324,6]]},"20":{"position":[[126,6]]},"38":{"position":[[106,6]]},"46":{"position":[[85,6]]},"49":{"position":[[126,6]]}},"keywords":{}}],["express",{"_index":965,"title":{"81":{"position":[[8,11]]}},"content":{"79":{"position":[[377,10],[498,10]]},"81":{"position":[[9,11]]}},"keywords":{}}],["expressionpattern",{"_index":919,"title":{},"content":{"74":{"position":[[291,18]]}},"keywords":{}}],["extend",{"_index":979,"title":{},"content":{"79":{"position":[[715,7]]}},"keywords":{}}],["extens",{"_index":914,"title":{},"content":{"74":{"position":[[156,9]]},"83":{"position":[[243,9]]}},"keywords":{}}],["f",{"_index":480,"title":{},"content":{"37":{"position":[[274,1]]}},"keywords":{}}],["f[aggreg",{"_index":473,"title":{},"content":{"37":{"position":[[202,14]]}},"keywords":{}}],["f]{12}$/i",{"_index":973,"title":{},"content":{"79":{"position":[[606,9]]}},"keywords":{}}],["f]{4",{"_index":972,"title":{},"content":{"79":{"position":[[570,5],[582,5],[594,5]]}},"keywords":{}}],["f]{8",{"_index":971,"title":{},"content":{"79":{"position":[[558,5]]}},"keywords":{}}],["fabric",{"_index":875,"title":{},"content":{"69":{"position":[[442,6]]}},"keywords":{}}],["facebook",{"_index":510,"title":{},"content":{"38":{"position":[[608,8]]}},"keywords":{}}],["facilit",{"_index":628,"title":{},"content":{"54":{"position":[[1173,11]]}},"keywords":{}}],["fals",{"_index":1024,"title":{},"content":{"85":{"position":[[66,6],[134,6]]}},"keywords":{}}],["fanci",{"_index":654,"title":{},"content":{"54":{"position":[[1990,5]]}},"keywords":{}}],["featur",{"_index":376,"title":{"29":{"position":[[9,8]]}},"content":{"34":{"position":[[102,7],[197,7]]}},"keywords":{}}],["feedback",{"_index":317,"title":{},"content":{"25":{"position":[[200,8]]}},"keywords":{}}],["feel",{"_index":118,"title":{},"content":{"8":{"position":[[458,4]]}},"keywords":{}}],["fff",{"_index":495,"title":{},"content":{"38":{"position":[[230,7]]}},"keywords":{}}],["field",{"_index":815,"title":{},"content":{"60":{"position":[[681,5]]}},"keywords":{}}],["file",{"_index":92,"title":{},"content":{"8":{"position":[[10,4]]},"10":{"position":[[10,4]]},"11":{"position":[[10,4]]},"13":{"position":[[61,5]]},"16":{"position":[[19,4]]},"20":{"position":[[98,5]]},"31":{"position":[[67,4]]},"32":{"position":[[235,4],[318,5]]},"47":{"position":[[24,4]]},"49":{"position":[[98,5]]},"56":{"position":[[1681,4]]}},"keywords":{}}],["filenam",{"_index":391,"title":{},"content":{"30":{"position":[[419,8]]}},"keywords":{}}],["filesystem",{"_index":791,"title":{},"content":{"56":{"position":[[2006,11]]}},"keywords":{}}],["final",{"_index":631,"title":{},"content":{"54":{"position":[[1232,5]]}},"keywords":{}}],["first",{"_index":91,"title":{"8":{"position":[[12,5]]},"10":{"position":[[12,5]]},"11":{"position":[[12,5]]},"16":{"position":[[12,5]]}},"content":{"8":{"position":[[446,5]]},"16":{"position":[[76,7]]},"17":{"position":[[208,7]]},"27":{"position":[[382,5]]},"54":{"position":[[1439,5]]},"85":{"position":[[225,5]]}},"keywords":{}}],["flexibl",{"_index":262,"title":{},"content":{"23":{"position":[[806,11]]}},"keywords":{}}],["float",{"_index":992,"title":{},"content":{"82":{"position":[[13,8],[154,8],[244,8]]}},"keywords":{}}],["flowchart",{"_index":456,"title":{"37":{"position":[[0,10]]}},"content":{},"keywords":{}}],["fm",{"_index":748,"title":{},"content":{"56":{"position":[[853,2]]}},"keywords":{}}],["focu",{"_index":368,"title":{},"content":{"27":{"position":[[807,5]]}},"keywords":{}}],["focus",{"_index":574,"title":{},"content":{"53":{"position":[[732,7]]}},"keywords":{}}],["folder",{"_index":150,"title":{},"content":{"13":{"position":[[94,7]]},"14":{"position":[[64,6],[142,6]]},"17":{"position":[[58,7]]},"19":{"position":[[88,6]]},"21":{"position":[[59,7]]},"47":{"position":[[44,7]]}},"keywords":{}}],["follow",{"_index":438,"title":{},"content":{"35":{"position":[[80,9]]},"52":{"position":[[5,9]]},"54":{"position":[[2304,9]]},"55":{"position":[[1538,9]]},"56":{"position":[[5,9]]},"60":{"position":[[378,9]]},"72":{"position":[[392,9]]}},"keywords":{}}],["footer",{"_index":10,"title":{},"content":{"1":{"position":[[103,6]]}},"keywords":{}}],["form",{"_index":617,"title":{},"content":{"54":{"position":[[911,6],[2072,4]]}},"keywords":{}}],["form(",{"_index":609,"title":{},"content":{"54":{"position":[[537,7]]}},"keywords":{}}],["formal",{"_index":606,"title":{},"content":{"54":{"position":[[462,6],[1095,6]]}},"keywords":{}}],["format",{"_index":773,"title":{"59":{"position":[[0,10]]}},"content":{"56":{"position":[[1598,6],[1609,6],[1686,6],[1758,7],[1858,7]]},"72":{"position":[[169,6],[349,7],[402,7],[521,9]]},"74":{"position":[[110,7],[348,6],[426,7],[528,6]]},"75":{"position":[[18,7],[71,7],[197,6],[305,7],[477,6]]},"76":{"position":[[22,6],[82,7],[139,6]]},"77":{"position":[[16,6],[77,7],[137,6]]},"78":{"position":[[28,9],[54,8]]},"79":{"position":[[41,6],[112,7],[191,6],[811,6]]},"80":{"position":[[20,6]]},"81":{"position":[[26,6]]}},"keywords":{}}],["format"",{"_index":775,"title":{},"content":{"56":{"position":[[1639,12]]}},"keywords":{}}],["found",{"_index":1013,"title":{},"content":{"83":{"position":[[506,5]]}},"keywords":{}}],["foundat",{"_index":241,"title":{},"content":{"23":{"position":[[423,12]]}},"keywords":{}}],["fr",{"_index":520,"title":{},"content":{"46":{"position":[[52,2],[147,6]]},"48":{"position":[[66,2]]},"50":{"position":[[67,2]]}},"keywords":{}}],["free",{"_index":119,"title":{},"content":{"8":{"position":[[463,4]]},"14":{"position":[[177,4]]},"60":{"position":[[671,4]]}},"keywords":{}}],["french",{"_index":532,"title":{},"content":{"47":{"position":[[254,7]]},"48":{"position":[[24,6]]}},"keywords":{}}],["front",{"_index":377,"title":{"30":{"position":[[0,5]]}},"content":{"30":{"position":[[52,5]]}},"keywords":{}}],["full",{"_index":850,"title":{},"content":{"62":{"position":[[255,4]]},"69":{"position":[[245,4]]}},"keywords":{}}],["function",{"_index":134,"title":{},"content":{"10":{"position":[[152,8]]},"33":{"position":[[122,8],[241,8]]}},"keywords":{}}],["fundament",{"_index":719,"title":{},"content":{"56":{"position":[[179,11]]}},"keywords":{}}],["further",{"_index":818,"title":{},"content":{"60":{"position":[[815,7]]},"79":{"position":[[839,7]]}},"keywords":{}}],["g",{"_index":481,"title":{},"content":{"37":{"position":[[276,1]]}},"keywords":{}}],["g[/further",{"_index":465,"title":{},"content":{"37":{"position":[[99,10]]}},"keywords":{}}],["gain",{"_index":348,"title":{},"content":{"27":{"position":[[169,4]]}},"keywords":{}}],["gap",{"_index":347,"title":{},"content":{"27":{"position":[[163,5]]}},"keywords":{}}],["gener",{"_index":44,"title":{"5":{"position":[[0,8]]}},"content":{"5":{"position":[[1,8]]},"13":{"position":[[71,9]]},"55":{"position":[[1140,7]]},"56":{"position":[[103,8]]}},"keywords":{}}],["get",{"_index":25,"title":{"3":{"position":[[0,7]]},"22":{"position":[[0,7]]},"25":{"position":[[0,7]]}},"content":{"48":{"position":[[142,7]]},"54":{"position":[[612,7]]}},"keywords":{}}],["given",{"_index":584,"title":{},"content":{"53":{"position":[[984,5]]}},"keywords":{}}],["global",{"_index":733,"title":{},"content":{"56":{"position":[[521,6]]}},"keywords":{}}],["go",{"_index":696,"title":{},"content":{"55":{"position":[[788,2]]},"69":{"position":[[495,5]]}},"keywords":{}}],["goal",{"_index":336,"title":{"27":{"position":[[0,6]]}},"content":{"27":{"position":[[426,4]]}},"keywords":{}}],["good",{"_index":799,"title":{},"content":{"60":{"position":[[224,4]]}},"keywords":{}}],["govern",{"_index":325,"title":{"88":{"position":[[0,10]]}},"content":{"26":{"position":[[38,10]]},"53":{"position":[[520,10],[897,11],[912,10]]},"72":{"position":[[95,11],[289,10]]}},"keywords":{}}],["governance.develop",{"_index":315,"title":{},"content":{"25":{"position":[[117,18]]}},"keywords":{}}],["grant",{"_index":614,"title":{},"content":{"54":{"position":[[789,8],[987,6],[1717,6]]}},"keywords":{}}],["graph",{"_index":434,"title":{"35":{"position":[[8,7]]}},"content":{"36":{"position":[[12,5]]},"37":{"position":[[12,5]]}},"keywords":{}}],["green",{"_index":509,"title":{},"content":{"38":{"position":[[591,5]]}},"keywords":{}}],["green</highlight>",{"_index":506,"title":{},"content":{"38":{"position":[[457,23]]}},"keywords":{}}],["greet",{"_index":98,"title":{},"content":{"8":{"position":[[88,9],[105,10],[394,11]]}},"keywords":{}}],["greetings.md",{"_index":96,"title":{},"content":{"8":{"position":[[34,13],[65,12]]}},"keywords":{}}],["group",{"_index":305,"title":{},"content":{"25":{"position":[[18,5]]},"53":{"position":[[57,5],[157,5],[456,5]]},"56":{"position":[[1110,5]]},"58":{"position":[[43,8]]},"72":{"position":[[597,5]]}},"keywords":{}}],["gt",{"_index":463,"title":{},"content":{"37":{"position":[[74,4],[94,4]]},"38":{"position":[[151,5],[289,5],[360,6]]}},"keywords":{}}],["gt;b",{"_index":451,"title":{},"content":{"36":{"position":[[24,5]]}},"keywords":{}}],["gt;c",{"_index":452,"title":{},"content":{"36":{"position":[[33,5]]}},"keywords":{}}],["gt;d",{"_index":454,"title":{},"content":{"36":{"position":[[42,5],[51,5]]}},"keywords":{}}],["gt;|get",{"_index":459,"title":{},"content":{"37":{"position":[[31,8]]}},"keywords":{}}],["gt;|one",{"_index":466,"title":{},"content":{"37":{"position":[[123,11]]}},"keywords":{}}],["gt;|three",{"_index":472,"title":{},"content":{"37":{"position":[[190,11]]}},"keywords":{}}],["gt;|two",{"_index":469,"title":{},"content":{"37":{"position":[[160,9]]}},"keywords":{}}],["guid",{"_index":157,"title":{},"content":{"14":{"position":[[222,7]]}},"keywords":{}}],["guidelin",{"_index":291,"title":{},"content":{"24":{"position":[[609,10]]}},"keywords":{}}],["happen",{"_index":627,"title":{},"content":{"54":{"position":[[1147,9]]},"55":{"position":[[1505,9]]}},"keywords":{}}],["harmon",{"_index":343,"title":{},"content":{"27":{"position":[[115,10],[299,13]]}},"keywords":{}}],["head",{"_index":384,"title":{},"content":{"30":{"position":[[212,7]]},"56":{"position":[[1171,8]]}},"keywords":{}}],["health",{"_index":1037,"title":{},"content":{"88":{"position":[[85,6]]}},"keywords":{}}],["hello",{"_index":161,"title":{},"content":{"16":{"position":[[59,5]]},"17":{"position":[[191,5],[369,8]]}},"keywords":{}}],["hellodocusauru",{"_index":417,"title":{},"content":{"33":{"position":[[131,17],[250,17]]}},"keywords":{}}],["help",{"_index":292,"title":{},"content":{"24":{"position":[[625,4]]}},"keywords":{}}],["here",{"_index":604,"title":{},"content":{"54":{"position":[[443,4]]},"74":{"position":[[434,5]]}},"keywords":{}}],["hi",{"_index":169,"title":{},"content":{"17":{"position":[[159,5]]}},"keywords":{}}],["high",{"_index":669,"title":{},"content":{"54":{"position":[[2333,4]]},"55":{"position":[[1567,4]]}},"keywords":{}}],["higher",{"_index":697,"title":{},"content":{"55":{"position":[[870,6]]}},"keywords":{}}],["highest",{"_index":684,"title":{},"content":{"55":{"position":[[358,7]]}},"keywords":{}}],["highlight",{"_index":414,"title":{},"content":{"33":{"position":[[48,13]]},"38":{"position":[[119,9]]}},"keywords":{}}],["hostnam",{"_index":947,"title":{"77":{"position":[[0,9]]}},"content":{"77":{"position":[[1,9],[23,8],[85,9],[148,8]]}},"keywords":{}}],["hosts)rfc",{"_index":1043,"title":{},"content":{"89":{"position":[[45,9]]}},"keywords":{}}],["hous",{"_index":599,"title":{},"content":{"54":{"position":[[266,7]]}},"keywords":{}}],["http://localhost:3000",{"_index":81,"title":{},"content":{"6":{"position":[[344,23]]},"14":{"position":[[88,23]]}},"keywords":{}}],["http://localhost:3000/blog/greet",{"_index":125,"title":{},"content":{"8":{"position":[[561,37]]}},"keywords":{}}],["http://localhost:3000/doc",{"_index":186,"title":{},"content":{"19":{"position":[[207,27]]}},"keywords":{}}],["http://localhost:3000/docs/hello",{"_index":162,"title":{},"content":{"16":{"position":[[144,33]]}},"keywords":{}}],["http://localhost:3000/docs/hellodocs/hello.md",{"_index":202,"title":{},"content":{"21":{"position":[[112,45]]}},"keywords":{}}],["http://localhost:3000/docs/next",{"_index":188,"title":{},"content":{"19":{"position":[[270,32]]}},"keywords":{}}],["http://localhost:3000/docs/next/hello",{"_index":203,"title":{},"content":{"21":{"position":[[166,37]]}},"keywords":{}}],["http://localhost:3000/fr",{"_index":534,"title":{},"content":{"48":{"position":[[108,25]]}},"keywords":{}}],["http://localhost:3000/mi",{"_index":144,"title":{},"content":{"10":{"position":[[330,24]]},"11":{"position":[[156,24]]}},"keywords":{}}],["https://github.com/joelmarcey",{"_index":108,"title":{},"content":{"8":{"position":[[184,29]]}},"keywords":{}}],["https://github.com/joelmarcey.png",{"_index":110,"title":{},"content":{"8":{"position":[[225,33]]}},"keywords":{}}],["https://github.com/slorber.png",{"_index":115,"title":{},"content":{"8":{"position":[[357,30]]}},"keywords":{}}],["https://json",{"_index":808,"title":{},"content":{"60":{"position":[[513,12]]}},"keywords":{}}],["https://sebastienlorber.com",{"_index":114,"title":{},"content":{"8":{"position":[[318,27]]}},"keywords":{}}],["i18n",{"_index":519,"title":{"46":{"position":[[10,5]]}},"content":{"46":{"position":[[102,5]]}},"keywords":{}}],["i18n/fr",{"_index":523,"title":{},"content":{"47":{"position":[[36,7]]}},"keywords":{}}],["i18n/fr/docusauru",{"_index":526,"title":{},"content":{"47":{"position":[[62,18],[127,18],[195,18]]}},"keywords":{}}],["id",{"_index":382,"title":{"72":{"position":[[7,2]]}},"content":{"30":{"position":[[81,3]]},"68":{"position":[[8,2]]},"69":{"position":[[785,2]]},"72":{"position":[[8,3],[345,3],[518,2],[662,2]]}},"keywords":{}}],["ideal",{"_index":812,"title":{},"content":{"60":{"position":[[607,7]]}},"keywords":{}}],["identif",{"_index":475,"title":{},"content":{"37":{"position":[[226,14]]},"68":{"position":[[354,14]]},"69":{"position":[[1143,14]]}},"keywords":{}}],["identifi",{"_index":346,"title":{"67":{"position":[[7,10]]},"79":{"position":[[9,11]]}},"content":{"27":{"position":[[154,8]]},"54":{"position":[[324,11]]},"56":{"position":[[319,11],[331,11],[465,11],[1810,12]]},"68":{"position":[[45,11],[95,10],[330,11],[416,11]]},"69":{"position":[[16,10],[94,10],[822,11],[868,10],[1103,11],[1205,11]]},"79":{"position":[[20,11]]},"80":{"position":[[83,10]]}},"keywords":{}}],["idmay",{"_index":389,"title":{},"content":{"30":{"position":[[369,5]]}},"keywords":{}}],["idn",{"_index":944,"title":{},"content":{"76":{"position":[[146,3]]},"77":{"position":[[144,3]]}},"keywords":{}}],["ie",{"_index":256,"title":{},"content":{"23":{"position":[[712,4]]}},"keywords":{}}],["imag",{"_index":402,"title":{"32":{"position":[[0,7]]}},"content":{"32":{"position":[[18,6],[81,6],[204,6],[289,6]]}},"keywords":{}}],["image_url",{"_index":109,"title":{},"content":{"8":{"position":[[214,10],[346,10]]}},"keywords":{}}],["immedi",{"_index":30,"title":{},"content":{"3":{"position":[[56,11]]}},"keywords":{}}],["impact",{"_index":565,"title":{},"content":{"53":{"position":[[475,8]]}},"keywords":{}}],["implement",{"_index":331,"title":{"42":{"position":[[0,14]]},"64":{"position":[[0,14]]},"71":{"position":[[0,14]]}},"content":{"26":{"position":[[142,12]]},"60":{"position":[[904,14]]}},"keywords":{}}],["impli",{"_index":835,"title":{},"content":{"60":{"position":[[1407,7]]}},"keywords":{}}],["import",{"_index":129,"title":{},"content":{"10":{"position":[[74,6],[101,6]]}},"keywords":{}}],["improv",{"_index":261,"title":{},"content":{"23":{"position":[[778,12]]},"24":{"position":[[294,7]]},"27":{"position":[[213,11]]}},"keywords":{}}],["includ",{"_index":230,"title":{},"content":{"23":{"position":[[272,9]]},"24":{"position":[[216,8]]},"50":{"position":[[94,7]]},"54":{"position":[[918,9]]},"56":{"position":[[564,7],[1866,7],[2077,7]]},"72":{"position":[[182,8],[435,8]]}},"keywords":{}}],["inclus",{"_index":1011,"title":{},"content":{"83":{"position":[[404,9]]}},"keywords":{}}],["inconsist",{"_index":233,"title":{},"content":{"23":{"position":[[299,15]]}},"keywords":{}}],["indic",{"_index":635,"title":{},"content":{"54":{"position":[[1334,9]]}},"keywords":{}}],["individu",{"_index":756,"title":{},"content":{"56":{"position":[[1080,10]]}},"keywords":{}}],["industri",{"_index":746,"title":{},"content":{"56":{"position":[[805,8]]}},"keywords":{}}],["infer",{"_index":996,"title":{},"content":{"82":{"position":[[208,5]]}},"keywords":{}}],["info",{"_index":977,"title":{},"content":{"79":{"position":[[680,4]]}},"keywords":{}}],["inform",{"_index":222,"title":{},"content":{"23":{"position":[[159,11]]},"24":{"position":[[407,11]]},"27":{"position":[[246,11],[613,11]]},"56":{"position":[[228,11],[1523,12]]},"60":{"position":[[713,11]]},"62":{"position":[[305,11]]},"74":{"position":[[39,12]]},"88":{"position":[[92,11]]}},"keywords":{}}],["init",{"_index":54,"title":{},"content":{"5":{"position":[[158,4]]}},"keywords":{}}],["initi",{"_index":764,"title":{},"content":{"56":{"position":[[1302,10]]}},"keywords":{}}],["input",{"_index":585,"title":{},"content":{"53":{"position":[[1017,5]]}},"keywords":{}}],["inrfc",{"_index":923,"title":{},"content":{"75":{"position":[[47,5]]},"76":{"position":[[56,5]]},"77":{"position":[[53,5]]}},"keywords":{}}],["insid",{"_index":486,"title":{},"content":{"38":{"position":[[88,6]]}},"keywords":{}}],["insight",{"_index":349,"title":{},"content":{"27":{"position":[[174,8]]}},"keywords":{}}],["inspection"",{"_index":712,"title":{},"content":{"55":{"position":[[1390,18]]}},"keywords":{}}],["inspir",{"_index":18,"title":{},"content":{"1":{"position":[[183,12]]}},"keywords":{}}],["instal",{"_index":38,"title":{},"content":{"4":{"position":[[37,10]]},"5":{"position":[[343,8]]}},"keywords":{}}],["instanc",{"_index":435,"title":{},"content":{"35":{"position":[[16,8]]}},"keywords":{}}],["instead",{"_index":963,"title":{},"content":{"79":{"position":[[291,8]]}},"keywords":{}}],["intak",{"_index":223,"title":{},"content":{"23":{"position":[[176,6]]}},"keywords":{}}],["integ",{"_index":723,"title":{},"content":{"56":{"position":[[292,8]]},"69":{"position":[[770,7],[1124,7]]},"72":{"position":[[791,7]]},"82":{"position":[[141,8],[233,7],[370,7],[422,7],[460,8]]}},"keywords":{}}],["integr",{"_index":61,"title":{},"content":{"5":{"position":[[284,10]]},"23":{"position":[[357,9]]},"24":{"position":[[490,12]]}},"keywords":{}}],["intellig",{"_index":255,"title":{},"content":{"23":{"position":[[699,12]]}},"keywords":{}}],["intend",{"_index":731,"title":{},"content":{"56":{"position":[[481,8],[583,8]]},"58":{"position":[[19,8]]}},"keywords":{}}],["intent",{"_index":596,"title":{},"content":{"54":{"position":[[170,6],[198,7],[554,6],[667,6]]},"60":{"position":[[995,6]]}},"keywords":{}}],["interact",{"_index":484,"title":{},"content":{"38":{"position":[[38,11]]},"54":{"position":[[2418,8]]}},"keywords":{}}],["interchang",{"_index":372,"title":{},"content":{"27":{"position":[[867,11]]}},"keywords":{}}],["interest",{"_index":307,"title":{},"content":{"25":{"position":[[35,10]]},"53":{"position":[[426,10]]},"54":{"position":[[1011,8]]}},"keywords":{}}],["interfac",{"_index":786,"title":{},"content":{"56":{"position":[[1925,9]]}},"keywords":{}}],["intern",{"_index":931,"title":{},"content":{"75":{"position":[[158,10]]}},"keywords":{}}],["internation",{"_index":943,"title":{},"content":{"76":{"position":[[121,17]]},"77":{"position":[[119,17]]},"89":{"position":[[185,18],[226,18]]}},"keywords":{}}],["internet",{"_index":1042,"title":{},"content":{"89":{"position":[[35,9]]}},"keywords":{}}],["interoper",{"_index":249,"title":{},"content":{"23":{"position":[[525,16]]},"24":{"position":[[109,17],[302,17]]},"27":{"position":[[533,16],[694,16]]}},"keywords":{}}],["intro",{"_index":24,"title":{"2":{"position":[[9,5]]}},"content":{"17":{"position":[[360,8]]}},"keywords":{}}],["involv",{"_index":21,"title":{},"content":{"1":{"position":[[226,8]]},"24":{"position":[[165,8]]}},"keywords":{}}],["ip",{"_index":952,"title":{"78":{"position":[[0,2]]}},"content":{"78":{"position":[[1,2]]}},"keywords":{}}],["ipv4",{"_index":953,"title":{},"content":{"78":{"position":[[41,4],[66,4]]}},"keywords":{}}],["ipv4)rfc",{"_index":1045,"title":{},"content":{"89":{"position":[[75,9]]}},"keywords":{}}],["ipv6",{"_index":954,"title":{},"content":{"78":{"position":[[49,4],[126,4]]}},"keywords":{}}],["ipv6)rfc",{"_index":1044,"title":{},"content":{"89":{"position":[[60,9]]}},"keywords":{}}],["iso",{"_index":739,"title":{},"content":{"56":{"position":[[735,3]]},"74":{"position":[[173,3]]}},"keywords":{}}],["issu",{"_index":562,"title":{},"content":{"53":{"position":[[370,5]]}},"keywords":{}}],["it'",{"_index":605,"title":{},"content":{"54":{"position":[[451,4]]}},"keywords":{}}],["item",{"_index":11,"title":{},"content":{"1":{"position":[[110,5]]},"17":{"position":[[417,6]]},"20":{"position":[[168,6]]},"49":{"position":[[168,6]]},"84":{"position":[[185,5]]}},"keywords":{}}],["joel",{"_index":102,"title":{},"content":{"8":{"position":[[133,4]]}},"keywords":{}}],["json",{"_index":772,"title":{"60":{"position":[[0,4]]}},"content":{"56":{"position":[[1585,4],[1874,5]]},"60":{"position":[[3,4],[63,4],[209,4],[339,4],[447,4]]},"72":{"position":[[786,4]]},"74":{"position":[[460,4]]},"75":{"position":[[555,4]]},"79":{"position":[[269,4]]},"82":{"position":[[93,4]]},"83":{"position":[[55,5]]},"84":{"position":[[48,4]]},"85":{"position":[[166,4]]},"90":{"position":[[1,4]]}},"keywords":{}}],["json)json",{"_index":840,"title":{},"content":{"61":{"position":[[18,10]]}},"keywords":{}}],["json)rfc",{"_index":1055,"title":{},"content":{"89":{"position":[[283,9]]}},"keywords":{}}],["jsx",{"_index":415,"title":{},"content":{"33":{"position":[[63,6]]}},"keywords":{}}],["jurisdict",{"_index":572,"title":{},"content":{"53":{"position":[[682,13]]},"54":{"position":[[1546,13]]}},"keywords":{}}],["key",{"_index":363,"title":{},"content":{"27":{"position":[[597,3]]},"62":{"position":[[82,3]]},"83":{"position":[[32,3],[65,3],[101,3],[307,3]]}},"keywords":{}}],["keyword",{"_index":1014,"title":{},"content":{"84":{"position":[[191,8],[220,7]]}},"keywords":{}}],["kind",{"_index":1016,"title":{},"content":{"84":{"position":[[268,5]]}},"keywords":{}}],["known",{"_index":926,"title":{},"content":{"75":{"position":[[93,5]]}},"keywords":{}}],["label",{"_index":166,"title":{},"content":{"17":{"position":[[105,5],[398,6]]},"38":{"position":[[340,5]]},"56":{"position":[[1069,6]]}},"keywords":{}}],["lack",{"_index":993,"title":{},"content":{"82":{"position":[[98,5]]}},"keywords":{}}],["land",{"_index":651,"title":{},"content":{"54":{"position":[[1777,4]]},"68":{"position":[[18,4],[122,4],[273,4],[395,4]]},"69":{"position":[[317,4],[371,4],[795,4],[895,4],[1046,4],[1184,4]]}},"keywords":{}}],["languag",{"_index":238,"title":{},"content":{"23":{"position":[[384,9]]},"25":{"position":[[145,8]]},"27":{"position":[[679,10]]},"49":{"position":[[31,10]]},"85":{"position":[[87,9]]}},"keywords":{}}],["larger",{"_index":699,"title":{},"content":{"55":{"position":[[1004,6],[1133,6]]}},"keywords":{}}],["layout",{"_index":130,"title":{},"content":{"10":{"position":[[108,6]]}},"keywords":{}}],["layoutadd",{"_index":15,"title":{},"content":{"1":{"position":[[156,9]]}},"keywords":{}}],["lead",{"_index":905,"title":{},"content":{"72":{"position":[[686,7]]}},"keywords":{}}],["leas",{"_index":620,"title":{},"content":{"54":{"position":[[955,6]]}},"keywords":{}}],["left",{"_index":901,"title":{},"content":{"72":{"position":[[536,4]]}},"keywords":{}}],["legal",{"_index":870,"title":{},"content":{"69":{"position":[[250,5]]}},"keywords":{}}],["legal_descript",{"_index":867,"title":{},"content":{"69":{"position":[[119,17]]}},"keywords":{}}],["legisl",{"_index":561,"title":{},"content":{"53":{"position":[[355,11]]}},"keywords":{}}],["less",{"_index":962,"title":{},"content":{"79":{"position":[[93,4]]}},"keywords":{}}],["let'",{"_index":398,"title":{},"content":{"31":{"position":[[80,5],[132,5],[196,5]]}},"keywords":{}}],["level",{"_index":355,"title":{},"content":{"27":{"position":[[326,5]]},"54":{"position":[[2338,5]]},"55":{"position":[[366,5],[877,5],[1572,5]]},"60":{"position":[[436,5]]},"82":{"position":[[430,5]]}},"keywords":{}}],["lexicon",{"_index":545,"title":{},"content":{"52":{"position":[[106,7]]}},"keywords":{}}],["licens",{"_index":618,"title":{},"content":{"54":{"position":[[938,8]]}},"keywords":{}}],["lieu",{"_index":1000,"title":{},"content":{"82":{"position":[[358,4]]}},"keywords":{}}],["lifecycl",{"_index":675,"title":{},"content":{"55":{"position":[[136,12],[263,9],[454,10],[616,10]]}},"keywords":{}}],["line",{"_index":86,"title":{},"content":{"6":{"position":[[414,6]]},"51":{"position":[[20,4]]}},"keywords":{}}],["link",{"_index":393,"title":{"31":{"position":[[0,6]]}},"content":{"31":{"position":[[18,5]]}},"keywords":{}}],["linkingcoordin",{"_index":358,"title":{},"content":{"27":{"position":[[363,18]]}},"keywords":{}}],["links](./hello.md",{"_index":386,"title":{},"content":{"30":{"position":[[239,19]]}},"keywords":{}}],["list",{"_index":327,"title":{},"content":{"26":{"position":[[77,4]]},"56":{"position":[[666,5]]}},"keywords":{}}],["load",{"_index":515,"title":{},"content":{"41":{"position":[[14,7]]},"63":{"position":[[21,7]]},"70":{"position":[[21,7]]}},"keywords":{}}],["lob",{"_index":373,"title":{},"content":{"27":{"position":[[915,3]]},"54":{"position":[[1166,3]]}},"keywords":{}}],["local",{"_index":76,"title":{"48":{"position":[[11,9]]},"49":{"position":[[6,6]]},"50":{"position":[[11,9]]}},"content":{"6":{"position":[[267,7]]},"14":{"position":[[28,8]]},"46":{"position":[[55,7],[131,8]]},"48":{"position":[[31,7],[59,6],[76,9],[224,6]]},"49":{"position":[[48,6],[224,6]]},"50":{"position":[[32,7],[60,6],[110,7]]},"53":{"position":[[514,5],[891,5]]},"56":{"position":[[512,5]]}},"keywords":{}}],["localedropdown",{"_index":537,"title":{},"content":{"49":{"position":[[185,17]]}},"keywords":{}}],["locat",{"_index":641,"title":{},"content":{"54":{"position":[[1534,8]]}},"keywords":{}}],["location(",{"_index":613,"title":{},"content":{"54":{"position":[[720,11]]}},"keywords":{}}],["logo](./img/docusaurus.png",{"_index":411,"title":{},"content":{"32":{"position":[[350,27]]}},"keywords":{}}],["logo](/img/docusaurus.png",{"_index":406,"title":{},"content":{"32":{"position":[[155,26]]}},"keywords":{}}],["looser",{"_index":1015,"title":{},"content":{"84":{"position":[[241,6]]}},"keywords":{}}],["lorber",{"_index":112,"title":{},"content":{"8":{"position":[[277,6]]}},"keywords":{}}],["lr",{"_index":457,"title":{},"content":{"37":{"position":[[18,2]]}},"keywords":{}}],["lt;/layout>",{"_index":143,"title":{},"content":{"10":{"position":[[276,15]]}},"keywords":{}}],["lt;/span>",{"_index":503,"title":{},"content":{"38":{"position":[[378,13]]}},"keywords":{}}],["lt;h1>hello",{"_index":418,"title":{},"content":{"33":{"position":[[158,16],[277,16]]}},"keywords":{}}],["lt;h1>mi",{"_index":139,"title":{},"content":{"10":{"position":[[201,12]]}},"keywords":{}}],["lt;highlight",{"_index":504,"title":{},"content":{"38":{"position":[[403,13],[491,13]]}},"keywords":{}}],["lt;layout>",{"_index":138,"title":{},"content":{"10":{"position":[[186,14]]}},"keywords":{}}],["lt;p>thi",{"_index":141,"title":{},"content":{"10":{"position":[[236,13]]}},"keywords":{}}],["lt;span",{"_index":490,"title":{},"content":{"38":{"position":[[159,8]]}},"keywords":{}}],["ltsa",{"_index":648,"title":{},"content":{"54":{"position":[[1673,4]]}},"keywords":{}}],["machin",{"_index":449,"title":{"36":{"position":[[6,8]]}},"content":{"56":{"position":[[1052,7]]}},"keywords":{}}],["machines.titl",{"_index":825,"title":{},"content":{"60":{"position":[[974,14]]}},"keywords":{}}],["made",{"_index":117,"title":{},"content":{"8":{"position":[[436,4]]},"54":{"position":[[1258,4]]}},"keywords":{}}],["mail",{"_index":1033,"title":{},"content":{"88":{"position":[[25,8]]}},"keywords":{}}],["main",{"_index":266,"title":{},"content":{"24":{"position":[[5,4]]},"52":{"position":[[33,4]]}},"keywords":{}}],["maintain",{"_index":113,"title":{},"content":{"8":{"position":[[302,10]]},"27":{"position":[[826,13]]},"54":{"position":[[1197,8]]},"69":{"position":[[466,10]]}},"keywords":{}}],["make",{"_index":280,"title":{},"content":{"24":{"position":[[363,4]]},"38":{"position":[[9,4]]},"72":{"position":[[328,5]]}},"keywords":{}}],["maker",{"_index":557,"title":{},"content":{"53":{"position":[[245,5],[272,5]]},"54":{"position":[[1287,5]]}},"keywords":{}}],["manag",{"_index":178,"title":{"18":{"position":[[0,6]]}},"content":{},"keywords":{}}],["mandatori",{"_index":274,"title":{},"content":{"24":{"position":[[189,9]]}},"keywords":{}}],["mani",{"_index":217,"title":{},"content":{"23":{"position":[[119,4],[259,4]]},"54":{"position":[[1120,4]]}},"keywords":{}}],["map",{"_index":670,"title":{},"content":{"54":{"position":[[2355,3]]},"55":{"position":[[1098,3],[1443,7],[1593,3]]},"83":{"position":[[42,9]]}},"keywords":{}}],["marcey",{"_index":103,"title":{},"content":{"8":{"position":[[138,6]]}},"keywords":{}}],["markdown",{"_index":145,"title":{"11":{"position":[[18,8]]},"29":{"position":[[0,8]]}},"content":{"11":{"position":[[31,8],[63,8],[85,8],[109,8],[181,8]]},"16":{"position":[[10,8]]},"30":{"position":[[1,8],[203,8],[220,8],[283,8]]},"31":{"position":[[9,8]]},"32":{"position":[[9,8],[309,8]]},"33":{"position":[[1,8]]},"38":{"position":[[95,9]]}},"keywords":{}}],["matter",{"_index":378,"title":{"30":{"position":[[6,7]]}},"content":{"30":{"position":[[58,7]]},"53":{"position":[[1063,6],[1087,6]]}},"keywords":{}}],["max",{"_index":855,"title":{},"content":{"68":{"position":[[70,3]]}},"keywords":{}}],["maxcontain",{"_index":1018,"title":{},"content":{"84":{"position":[[358,12]]}},"keywords":{}}],["maxim",{"_index":976,"title":{},"content":{"79":{"position":[[656,8]]}},"keywords":{}}],["maximum,exclusiveminimum",{"_index":1003,"title":{},"content":{"82":{"position":[[542,24]]}},"keywords":{}}],["maxitem",{"_index":1020,"title":{},"content":{"84":{"position":[[384,8]]}},"keywords":{}}],["maxlength",{"_index":918,"title":{},"content":{"74":{"position":[[266,9]]}},"keywords":{}}],["mdx",{"_index":482,"title":{"38":{"position":[[0,3]]}},"content":{"38":{"position":[[1,3]]}},"keywords":{}}],["measur",{"_index":664,"title":{},"content":{"54":{"position":[[2228,11]]}},"keywords":{}}],["media",{"_index":777,"title":{},"content":{"56":{"position":[[1696,5],[1799,5]]}},"keywords":{}}],["member",{"_index":693,"title":{},"content":{"55":{"position":[[595,6],[827,6]]}},"keywords":{}}],["mermaid",{"_index":433,"title":{"35":{"position":[[0,7]]}},"content":{"35":{"position":[[67,8],[141,8]]},"36":{"position":[[1,10]]},"37":{"position":[[1,10]]}},"keywords":{}}],["metadata",{"_index":165,"title":{},"content":{"17":{"position":[[71,8]]},"30":{"position":[[25,8]]},"56":{"position":[[1293,8],[1371,8]]}},"keywords":{}}],["microservic",{"_index":333,"title":{},"content":{"26":{"position":[[191,14]]}},"keywords":{}}],["mincontain",{"_index":1017,"title":{},"content":{"84":{"position":[[345,12]]}},"keywords":{}}],["minimum",{"_index":387,"title":{},"content":{"30":{"position":[[313,7]]},"69":{"position":[[36,7]]},"82":{"position":[[533,8]]}},"keywords":{}}],["ministri",{"_index":560,"title":{},"content":{"53":{"position":[[346,8],[881,9]]}},"keywords":{}}],["minitem",{"_index":1019,"title":{},"content":{"84":{"position":[[371,8]]}},"keywords":{}}],["minlength",{"_index":917,"title":{},"content":{"74":{"position":[[255,10]]}},"keywords":{}}],["mkdir",{"_index":524,"title":{},"content":{"47":{"position":[[53,5]]}},"keywords":{}}],["model",{"_index":767,"title":{},"content":{"56":{"position":[[1447,5]]}},"keywords":{}}],["modern",{"_index":652,"title":{},"content":{"54":{"position":[[1855,14]]}},"keywords":{}}],["modifi",{"_index":193,"title":{},"content":{"20":{"position":[[66,6]]},"46":{"position":[[1,6]]},"49":{"position":[[66,6]]}},"keywords":{}}],["more",{"_index":441,"title":{},"content":{"35":{"position":[[154,4],[236,4]]},"38":{"position":[[33,4]]},"54":{"position":[[237,4],[690,4]]},"74":{"position":[[490,4]]},"75":{"position":[[421,4]]},"76":{"position":[[235,4]]},"77":{"position":[[253,4]]},"78":{"position":[[227,4]]},"80":{"position":[[251,4]]},"81":{"position":[[118,4]]},"82":{"position":[[632,4]]},"83":{"position":[[457,4]]},"84":{"position":[[494,4]]},"85":{"position":[[293,4]]},"86":{"position":[[202,4]]}},"keywords":{}}],["ms",{"_index":311,"title":{},"content":{"25":{"position":[[80,2]]}},"keywords":{}}],["much",{"_index":122,"title":{},"content":{"8":{"position":[[505,4]]}},"keywords":{}}],["muddl",{"_index":612,"title":{},"content":{"54":{"position":[[620,7]]}},"keywords":{}}],["multipleof",{"_index":1002,"title":{},"content":{"82":{"position":[[521,11]]}},"keywords":{}}],["municip",{"_index":566,"title":{},"content":{"53":{"position":[[533,12]]}},"keywords":{}}],["my_doc_id",{"_index":383,"title":{},"content":{"30":{"position":[[85,9]]}},"keywords":{}}],["myreactpag",{"_index":135,"title":{},"content":{"10":{"position":[[161,13]]}},"keywords":{}}],["naic",{"_index":747,"title":{},"content":{"56":{"position":[[836,7]]}},"keywords":{}}],["name",{"_index":101,"title":{},"content":{"8":{"position":[[127,5],[261,5]]},"62":{"position":[[1,4],[202,4]]},"69":{"position":[[160,4],[617,4]]},"83":{"position":[[311,8]]}},"keywords":{}}],["names)rfc",{"_index":1052,"title":{},"content":{"89":{"position":[[211,9]]}},"keywords":{}}],["namespac",{"_index":754,"title":{},"content":{"56":{"position":[[1013,9]]}},"keywords":{}}],["nation",{"_index":359,"title":{},"content":{"27":{"position":[[388,7]]}},"keywords":{}}],["natur",{"_index":209,"title":{},"content":{"23":{"position":[[39,7],[545,7]]}},"keywords":{}}],["navbar",{"_index":9,"title":{},"content":{"1":{"position":[[92,6]]},"20":{"position":[[158,7],[277,7]]},"49":{"position":[[158,7],[260,7]]}},"keywords":{}}],["navig",{"_index":74,"title":{},"content":{"6":{"position":[[191,8]]},"20":{"position":[[4,8]]},"49":{"position":[[4,8]]},"53":{"position":[[696,9]]}},"keywords":{}}],["necessari",{"_index":64,"title":{},"content":{"5":{"position":[[356,9]]}},"keywords":{}}],["need",{"_index":33,"title":{"4":{"position":[[12,5]]}},"content":{"5":{"position":[[383,4]]},"6":{"position":[[183,4]]},"27":{"position":[[630,4]]},"54":{"position":[[1039,4],[1467,5]]}},"keywords":{}}],["nest",{"_index":1010,"title":{},"content":{"83":{"position":[[207,9]]}},"keywords":{}}],["network",{"_index":792,"title":{},"content":{"56":{"position":[[2042,8]]}},"keywords":{}}],["new",{"_index":28,"title":{"5":{"position":[[11,3]]}},"content":{"3":{"position":[[27,3]]},"5":{"position":[[12,3]]},"8":{"position":[[527,3]]},"10":{"position":[[301,3]]},"11":{"position":[[127,3]]},"16":{"position":[[111,3]]}},"keywords":{}}],["newer",{"_index":981,"title":{},"content":{"79":{"position":[[872,5]]}},"keywords":{}}],["newli",{"_index":73,"title":{},"content":{"6":{"position":[[145,5]]}},"keywords":{}}],["next",{"_index":2,"title":{"1":{"position":[[7,6]]}},"content":{},"keywords":{}}],["nine",{"_index":853,"title":{},"content":{"68":{"position":[[59,4]]},"69":{"position":[[836,4]]},"72":{"position":[[553,4]]}},"keywords":{}}],["node.j",{"_index":34,"title":{},"content":{"4":{"position":[[1,7],[48,8]]}},"keywords":{}}],["nomenclature.$com",{"_index":814,"title":{},"content":{"60":{"position":[[645,21]]}},"keywords":{}}],["normal",{"_index":807,"title":{},"content":{"60":{"position":[[501,8]]}},"keywords":{}}],["north",{"_index":744,"title":{},"content":{"56":{"position":[[790,5]]}},"keywords":{}}],["note",{"_index":516,"title":{"42":{"position":[[15,6]]},"64":{"position":[[15,6]]},"71":{"position":[[15,6]]}},"content":{"54":{"position":[[2112,4]]},"75":{"position":[[454,4]]},"79":{"position":[[172,4]]},"82":{"position":[[83,4]]},"86":{"position":[[87,4]]}},"keywords":{}}],["notic",{"_index":583,"title":{},"content":{"53":{"position":[[944,7]]}},"keywords":{}}],["now",{"_index":123,"title":{},"content":{"8":{"position":[[544,3]]},"10":{"position":[[313,3]]},"11":{"position":[[139,3]]},"14":{"position":[[74,3],[121,3]]},"16":{"position":[[127,3]]},"19":{"position":[[178,3]]},"49":{"position":[[240,3]]}},"keywords":{}}],["now"",{"_index":715,"title":{},"content":{"55":{"position":[[1515,9]]}},"keywords":{}}],["npm",{"_index":53,"title":{},"content":{"5":{"position":[[154,3]]},"6":{"position":[[44,3],[225,3]]},"13":{"position":[[34,3]]},"14":{"position":[[38,3]]},"19":{"position":[[41,3]]},"48":{"position":[[40,3]]},"50":{"position":[[41,3],[128,3]]}},"keywords":{}}],["nr",{"_index":212,"title":{},"content":{"23":{"position":[[63,5]]}},"keywords":{}}],["nrm",{"_index":276,"title":{},"content":{"24":{"position":[[242,3]]}},"keywords":{}}],["nuanc",{"_index":819,"title":{},"content":{"60":{"position":[[823,7]]}},"keywords":{}}],["null",{"_index":1029,"title":{"86":{"position":[[0,5]]}},"content":{"86":{"position":[[1,4],[81,5],[97,4]]}},"keywords":{}}],["number",{"_index":665,"title":{},"content":{"54":{"position":[[2247,6]]},"68":{"position":[[74,6],[192,7],[369,6]]},"69":{"position":[[847,6],[965,7],[1158,6]]},"72":{"position":[[564,7],[670,7]]},"82":{"position":[[28,7],[448,7]]}},"keywords":{}}],["numbertyp",{"_index":999,"title":{},"content":{"82":{"position":[[344,10]]}},"keywords":{}}],["numer",{"_index":888,"title":{"82":{"position":[[0,8]]}},"content":{"72":{"position":[[26,7],[636,9]]},"82":{"position":[[68,7]]}},"keywords":{}}],["obdc",{"_index":793,"title":{},"content":{"56":{"position":[[2085,4]]}},"keywords":{}}],["object",{"_index":265,"title":{"24":{"position":[[0,11]]},"83":{"position":[[0,7]]}},"content":{"24":{"position":[[10,9]]},"55":{"position":[[544,10]]},"83":{"position":[[1,7],[168,7],[281,7]]}},"keywords":{}}],["obtain",{"_index":610,"title":{},"content":{"54":{"position":[[564,6]]}},"keywords":{}}],["obviou",{"_index":813,"title":{},"content":{"60":{"position":[[626,7]]}},"keywords":{}}],["occur",{"_index":682,"title":{},"content":{"55":{"position":[[329,5]]}},"keywords":{}}],["offici",{"_index":4,"title":{},"content":{"1":{"position":[[10,8]]},"54":{"position":[[1693,8]]}},"keywords":{}}],["omit",{"_index":392,"title":{},"content":{"30":{"position":[[433,8]]}},"keywords":{}}],["on",{"_index":536,"title":{},"content":{"48":{"position":[[220,3]]},"54":{"position":[[230,3],[683,3]]},"56":{"position":[[163,3]]},"69":{"position":[[77,3],[570,4]]}},"keywords":{}}],["onc",{"_index":538,"title":{},"content":{"50":{"position":[[121,5]]}},"keywords":{}}],["onclick",{"_index":500,"title":{},"content":{"38":{"position":[[277,11]]}},"keywords":{}}],["open",{"_index":82,"title":{},"content":{"6":{"position":[[369,4]]}},"keywords":{}}],["oper",{"_index":879,"title":{},"content":{"69":{"position":[[501,11]]}},"keywords":{}}],["opportun",{"_index":351,"title":{},"content":{"27":{"position":[[195,13]]},"53":{"position":[[994,11]]}},"keywords":{}}],["option",{"_index":427,"title":{},"content":{"34":{"position":[[110,6],[205,6]]},"74":{"position":[[210,10]]},"82":{"position":[[476,10]]}},"keywords":{}}],["optional.typ",{"_index":836,"title":{},"content":{"60":{"position":[[1421,13]]}},"keywords":{}}],["order",{"_index":72,"title":{},"content":{"6":{"position":[[121,5]]},"55":{"position":[[173,7],[638,8],[684,7],[750,5],[858,8]]},"56":{"position":[[78,7]]},"79":{"position":[[619,5]]},"84":{"position":[[30,7]]}},"keywords":{}}],["organ",{"_index":551,"title":{},"content":{"53":{"position":[[69,12],[166,12]]}},"keywords":{}}],["other.unlock",{"_index":297,"title":{},"content":{"24":{"position":[[744,12]]}},"keywords":{}}],["otherwis",{"_index":930,"title":{},"content":{"75":{"position":[[118,9]]}},"keywords":{}}],["out",{"_index":650,"title":{},"content":{"54":{"position":[[1744,3]]},"60":{"position":[[701,3]]}},"keywords":{}}],["outcom",{"_index":632,"title":{},"content":{"54":{"position":[[1250,7]]},"55":{"position":[[558,9]]}},"keywords":{}}],["outlin",{"_index":542,"title":{},"content":{"52":{"position":[[21,7]]},"54":{"position":[[14,8],[2322,8]]},"55":{"position":[[14,8],[1556,8]]},"74":{"position":[[399,7]]},"83":{"position":[[267,9]]}},"keywords":{}}],["output",{"_index":656,"title":{},"content":{"54":{"position":[[2053,6]]}},"keywords":{}}],["over",{"_index":215,"title":{},"content":{"23":{"position":[[84,4]]},"54":{"position":[[1070,4]]},"60":{"position":[[942,4]]}},"keywords":{}}],["overview",{"_index":828,"title":{},"content":{"60":{"position":[[1130,8]]}},"keywords":{}}],["ownership",{"_index":882,"title":{},"content":{"69":{"position":[[710,10]]}},"keywords":{}}],["p",{"_index":525,"title":{},"content":{"47":{"position":[[60,1]]}},"keywords":{}}],["pad",{"_index":496,"title":{},"content":{"38":{"position":[[238,8]]},"72":{"position":[[191,6],[444,6],[546,6]]}},"keywords":{}}],["page",{"_index":84,"title":{"9":{"position":[[9,4]]},"10":{"position":[[24,5]]},"11":{"position":[[27,5]]},"25":{"position":[[29,5]]}},"content":{"6":{"position":[[394,5]]},"10":{"position":[[305,4],[361,5]]},"11":{"position":[[94,4],[118,4],[131,4],[190,5]]},"30":{"position":[[292,5]]},"31":{"position":[[222,5]]},"48":{"position":[[158,4]]},"54":{"position":[[1678,4]]}},"keywords":{}}],["page</h1>",{"_index":140,"title":{},"content":{"10":{"position":[[220,15]]}},"keywords":{}}],["page</p>",{"_index":142,"title":{},"content":{"10":{"position":[[261,14]]}},"keywords":{}}],["page.j",{"_index":128,"title":{},"content":{"10":{"position":[[37,8],[66,7]]}},"keywords":{}}],["page.md",{"_index":146,"title":{},"content":{"11":{"position":[[40,8],[72,7]]}},"keywords":{}}],["page](./create_a_page.md",{"_index":400,"title":{},"content":{"31":{"position":[[159,26]]}},"keywords":{}}],["page](/create_a_pag",{"_index":399,"title":{},"content":{"31":{"position":[[107,22]]}},"keywords":{}}],["pair",{"_index":1007,"title":{},"content":{"83":{"position":[[111,4]]}},"keywords":{}}],["paramet",{"_index":982,"title":{},"content":{"80":{"position":[[108,10]]}},"keywords":{}}],["parcel",{"_index":571,"title":{"67":{"position":[[0,6]]},"72":{"position":[[0,6]]}},"content":{"53":{"position":[[662,6]]},"54":{"position":[[695,7],[845,6],[1480,6],[1560,7],[1792,6]]},"68":{"position":[[1,6],[38,6],[108,6],[203,7],[323,6],[347,6],[409,6]]},"69":{"position":[[9,6],[87,6],[275,6],[610,6],[677,6],[778,6],[815,6],[881,6],[976,7],[1096,6],[1136,6],[1198,6]]},"72":{"position":[[1,6],[338,6],[511,6],[655,6]]},"73":{"position":[[33,7]]}},"keywords":{}}],["parcel_id_format",{"_index":899,"title":{},"content":{"72":{"position":[[473,19]]}},"keywords":{}}],["parcel_nam",{"_index":868,"title":{},"content":{"69":{"position":[[146,12],[513,11]]}},"keywords":{}}],["parcelmap",{"_index":889,"title":{},"content":{"72":{"position":[[46,9]]}},"keywords":{}}],["park",{"_index":886,"title":{},"content":{"69":{"position":[[755,5]]}},"keywords":{}}],["pars",{"_index":824,"title":{},"content":{"60":{"position":[[964,6]]}},"keywords":{}}],["part",{"_index":674,"title":{},"content":{"54":{"position":[[2441,5]]}},"keywords":{}}],["parti",{"_index":564,"title":{},"content":{"53":{"position":[[437,5]]}},"keywords":{}}],["particular",{"_index":753,"title":{},"content":{"56":{"position":[[1002,10]]}},"keywords":{}}],["particularli",{"_index":408,"title":{},"content":{"32":{"position":[[257,12]]}},"keywords":{}}],["pass",{"_index":678,"title":{},"content":{"55":{"position":[[247,4]]}},"keywords":{}}],["path",{"_index":396,"title":{},"content":{"31":{"position":[[49,5],[72,6]]},"32":{"position":[[62,5]]},"60":{"position":[[595,4]]}},"keywords":{}}],["pattern",{"_index":966,"title":{},"content":{"79":{"position":[[388,8]]}},"keywords":{}}],["peopl",{"_index":306,"title":{},"content":{"25":{"position":[[28,6]]}},"keywords":{}}],["perform",{"_index":344,"title":{},"content":{"27":{"position":[[134,7]]},"53":{"position":[[207,7]]},"54":{"position":[[753,10],[812,7]]}},"keywords":{}}],["period",{"_index":687,"title":{},"content":{"55":{"position":[[426,6]]}},"keywords":{}}],["perman",{"_index":862,"title":{},"content":{"68":{"position":[[313,9]]},"69":{"position":[[1086,9]]}},"keywords":{}}],["permiss",{"_index":615,"title":{},"content":{"54":{"position":[[798,10],[1724,10]]}},"keywords":{}}],["permit",{"_index":205,"title":{},"content":{"23":{"position":[[1,10],[93,6],[224,10],[332,10],[562,10],[656,11],[759,10],[853,11]]},"24":{"position":[[246,10],[432,10]]},"26":{"position":[[89,10]]},"27":{"position":[[499,10]]},"54":{"position":[[347,7],[930,7],[1208,7],[1683,6],[1844,10],[1973,6]]},"58":{"position":[[63,7]]},"62":{"position":[[99,7],[151,10]]},"84":{"position":[[53,7]]}},"keywords":{}}],["person",{"_index":550,"title":{},"content":{"53":{"position":[[49,7],[149,7],[292,7],[445,7]]}},"keywords":{}}],["phase",{"_index":677,"title":{},"content":{"55":{"position":[[195,6],[409,5],[467,5],[570,5],[839,6],[899,5]]}},"keywords":{}}],["pi",{"_index":267,"title":{},"content":{"24":{"position":[[23,4]]},"25":{"position":[[70,5]]},"26":{"position":[[222,4]]},"27":{"position":[[421,4]]},"53":{"position":[[115,5]]},"54":{"position":[[108,5]]},"60":{"position":[[476,5]]}},"keywords":{}}],["pid",{"_index":860,"title":{"72":{"position":[[10,6]]}},"content":{"68":{"position":[[188,3],[302,3]]},"69":{"position":[[553,4],[600,4],[649,3],[761,3],[961,3],[1075,3]]},"72":{"position":[[134,4]]}},"keywords":{}}],["pid.a",{"_index":866,"title":{},"content":{"69":{"position":[[81,5]]}},"keywords":{}}],["piec",{"_index":721,"title":{},"content":{"56":{"position":[[242,5],[1513,6]]}},"keywords":{}}],["pin",{"_index":863,"title":{},"content":{"68":{"position":[[376,5]]},"69":{"position":[[61,3],[589,3],[629,4],[657,4],[1115,3],[1165,5]]}},"keywords":{}}],["plan",{"_index":330,"title":{},"content":{"26":{"position":[[133,4]]}},"keywords":{}}],["platform",{"_index":371,"title":{},"content":{"27":{"position":[[849,8]]}},"keywords":{}}],["play",{"_index":120,"title":{},"content":{"8":{"position":[[471,4]]}},"keywords":{}}],["pleas",{"_index":921,"title":{},"content":{"74":{"position":[[440,6]]}},"keywords":{}}],["plugin",{"_index":527,"title":{},"content":{"47":{"position":[[81,6],[146,6],[214,6]]}},"keywords":{}}],["pmbc",{"_index":877,"title":{},"content":{"69":{"position":[[480,4]]},"72":{"position":[[59,7],[78,4],[251,4]]}},"keywords":{}}],["point",{"_index":341,"title":{},"content":{"27":{"position":[[76,5]]},"82":{"position":[[22,5],[163,5],[253,5],[307,6]]}},"keywords":{}}],["pointer",{"_index":499,"title":{},"content":{"38":{"position":[[263,10]]}},"keywords":{}}],["polici",{"_index":259,"title":{},"content":{"23":{"position":[[740,6]]},"24":{"position":[[786,6]]},"53":{"position":[[1192,7]]}},"keywords":{}}],["polygon",{"_index":639,"title":{},"content":{"54":{"position":[[1489,7]]}},"keywords":{}}],["popul",{"_index":873,"title":{},"content":{"69":{"position":[[410,9]]}},"keywords":{}}],["posit",{"_index":167,"title":{},"content":{"17":{"position":[[115,9]]}},"keywords":{}}],["possibl",{"_index":172,"title":{},"content":{"17":{"position":[[252,8]]},"21":{"position":[[7,8]]},"82":{"position":[[187,8]]},"85":{"position":[[41,8]]}},"keywords":{}}],["post",{"_index":90,"title":{"7":{"position":[[14,4]]},"8":{"position":[[18,5]]}},"content":{"8":{"position":[[452,5],[497,4],[536,4]]}},"keywords":{}}],["potenti",{"_index":298,"title":{},"content":{"24":{"position":[[757,9],[812,9]]}},"keywords":{}}],["powershel",{"_index":59,"title":{},"content":{"5":{"position":[[249,11]]}},"keywords":{}}],["practic",{"_index":324,"title":{},"content":{"26":{"position":[[12,9]]}},"keywords":{}}],["precis",{"_index":1001,"title":{},"content":{"82":{"position":[[436,10]]}},"keywords":{}}],["predefin",{"_index":787,"title":{},"content":{"56":{"position":[[1946,10]]}},"keywords":{}}],["presenc",{"_index":998,"title":{},"content":{"82":{"position":[[285,8]]}},"keywords":{}}],["present",{"_index":832,"title":{},"content":{"60":{"position":[[1312,7]]},"72":{"position":[[156,12]]}},"keywords":{}}],["primarili",{"_index":871,"title":{},"content":{"69":{"position":[[289,9]]}},"keywords":{}}],["primer",{"_index":795,"title":{"60":{"position":[[12,7]]}},"content":{},"keywords":{}}],["primit",{"_index":718,"title":{"66":{"position":[[0,9]]}},"content":{"56":{"position":[[140,9]]},"60":{"position":[[1446,9]]},"72":{"position":[[799,9]]}},"keywords":{}}],["principl",{"_index":720,"title":{},"content":{"56":{"position":[[191,10]]}},"keywords":{}}],["prior",{"_index":1028,"title":{},"content":{"85":{"position":[[231,5]]}},"keywords":{}}],["process",{"_index":220,"title":{"55":{"position":[[0,7]]}},"content":{"23":{"position":[[141,7],[770,7]]},"24":{"position":[[333,9]]},"27":{"position":[[278,10]]},"53":{"position":[[1167,10]]},"54":{"position":[[469,7],[2454,8]]},"55":{"position":[[110,8],[309,10],[775,7],[1011,7],[1616,7]]}},"keywords":{}}],["product",{"_index":148,"title":{},"content":{"13":{"position":[[21,11]]},"14":{"position":[[11,10]]}},"keywords":{}}],["program",{"_index":785,"title":{},"content":{"56":{"position":[[1913,11]]}},"keywords":{}}],["progress",{"_index":287,"title":{},"content":{"24":{"position":[[559,8]]}},"keywords":{}}],["project",{"_index":50,"title":{"57":{"position":[[0,7]]}},"content":{"5":{"position":[[118,7]]},"19":{"position":[[31,8]]},"54":{"position":[[286,8],[650,8],[1928,7]]},"62":{"position":[[120,7],[214,8],[279,8],[340,8]]}},"keywords":{}}],["project_descript",{"_index":848,"title":{},"content":{"62":{"position":[[223,19]]}},"keywords":{}}],["project_nam",{"_index":846,"title":{},"content":{"62":{"position":[[171,12]]}},"keywords":{}}],["prompt",{"_index":58,"title":{},"content":{"5":{"position":[[241,7]]}},"keywords":{}}],["properti",{"_index":806,"title":{},"content":{"60":{"position":[[487,8],[843,10],[1288,10],[1475,9]]},"74":{"position":[[236,10]]},"82":{"position":[[502,10]]},"83":{"position":[[356,11]]}},"keywords":{}}],["propon",{"_index":289,"title":{},"content":{"24":{"position":[[580,11]]},"53":{"position":[[814,9]]}},"keywords":{}}],["protocol",{"_index":788,"title":{},"content":{"56":{"position":[[1957,8]]}},"keywords":{}}],["provid",{"_index":257,"title":{},"content":{"23":{"position":[[717,9]]},"24":{"position":[[540,7]]},"27":{"position":[[105,7]]},"52":{"position":[[89,7]]},"53":{"position":[[608,9],[1009,7]]},"55":{"position":[[846,8]]},"56":{"position":[[343,7]]},"60":{"position":[[1114,7]]},"80":{"position":[[40,7]]},"84":{"position":[[231,7]]}},"keywords":{}}],["provinc",{"_index":569,"title":{},"content":{"53":{"position":[[578,9]]},"54":{"position":[[863,8],[1810,8]]}},"keywords":{}}],["provinci",{"_index":581,"title":{},"content":{"53":{"position":[[870,10]]},"72":{"position":[[278,10]]}},"keywords":{}}],["publish",{"_index":269,"title":{},"content":{"24":{"position":[[44,9]]}},"keywords":{}}],["purpos",{"_index":204,"title":{"23":{"position":[[0,8]]}},"content":{"23":{"position":[[625,7]]}},"keywords":{}}],["qualiti",{"_index":232,"title":{},"content":{"23":{"position":[[287,7]]},"24":{"position":[[90,7]]}},"keywords":{}}],["qualitydata",{"_index":352,"title":{},"content":{"27":{"position":[[230,11]]}},"keywords":{}}],["quantifi",{"_index":663,"title":{},"content":{"54":{"position":[[2215,12]]}},"keywords":{}}],["queue",{"_index":668,"title":{},"content":{"54":{"position":[[2291,6]]}},"keywords":{}}],["quick",{"_index":439,"title":{},"content":{"35":{"position":[[99,5]]},"60":{"position":[[1124,5]]}},"keywords":{}}],["quot;approved"",{"_index":702,"title":{},"content":{"55":{"position":[[1061,22]]}},"keywords":{}}],["quot;ca"",{"_index":738,"title":{},"content":{"56":{"position":[[713,14]]}},"keywords":{}}],["quot;docsversiondropdown"",{"_index":196,"title":{},"content":{"20":{"position":[[185,32]]}},"keywords":{}}],["quot;pend",{"_index":709,"title":{},"content":{"55":{"position":[[1350,13]]}},"keywords":{}}],["quot;property"",{"_index":1009,"title":{},"content":{"83":{"position":[[143,21]]}},"keywords":{}}],["quot;publisher."",{"_index":766,"title":{},"content":{"56":{"position":[[1394,22]]}},"keywords":{}}],["quot;seri",{"_index":774,"title":{},"content":{"56":{"position":[[1619,19]]}},"keywords":{}}],["quot;submiss",{"_index":658,"title":{},"content":{"54":{"position":[[2122,17]]}},"keywords":{}}],["quot;submitted"",{"_index":701,"title":{},"content":{"55":{"position":[[1038,22]]}},"keywords":{}}],["quot;und",{"_index":711,"title":{},"content":{"55":{"position":[[1378,11]]}},"keywords":{}}],["quot;what",{"_index":714,"title":{},"content":{"55":{"position":[[1491,10]]}},"keywords":{}}],["quot;wher",{"_index":703,"title":{},"content":{"55":{"position":[[1148,11]]}},"keywords":{}}],["quot;why"",{"_index":685,"title":{},"content":{"55":{"position":[[393,15]]}},"keywords":{}}],["radio",{"_index":749,"title":{},"content":{"56":{"position":[[856,5]]}},"keywords":{}}],["rang",{"_index":444,"title":{},"content":{"35":{"position":[[179,5]]}},"keywords":{}}],["react",{"_index":126,"title":{"10":{"position":[[18,5]]},"38":{"position":[[8,5]]}},"content":{"10":{"position":[[31,5],[60,5],[81,5],[92,8],[214,5],[255,5],[355,5]]},"38":{"position":[[71,5]]}},"keywords":{}}],["read",{"_index":3,"title":{},"content":{"1":{"position":[[1,4]]},"14":{"position":[[201,5]]},"56":{"position":[[1970,7]]}},"keywords":{}}],["readabl",{"_index":755,"title":{},"content":{"56":{"position":[[1060,8]]}},"keywords":{}}],["reader",{"_index":817,"title":{},"content":{"60":{"position":[[781,7]]}},"keywords":{}}],["readi",{"_index":79,"title":{},"content":{"6":{"position":[[319,5]]}},"keywords":{}}],["reason",{"_index":229,"title":{},"content":{"23":{"position":[[264,7]]}},"keywords":{}}],["receiv",{"_index":582,"title":{},"content":{"53":{"position":[[935,8]]}},"keywords":{}}],["recommend",{"_index":39,"title":{},"content":{"4":{"position":[[65,11]]},"30":{"position":[[264,9]]},"82":{"position":[[326,9]]}},"keywords":{}}],["record",{"_index":872,"title":{},"content":{"69":{"position":[[299,8],[344,8]]}},"keywords":{}}],["reduc",{"_index":284,"title":{},"content":{"24":{"position":[[452,6]]}},"keywords":{}}],["refer",{"_index":404,"title":{"43":{"position":[[0,11]]},"61":{"position":[[0,11]]},"65":{"position":[[0,11]]},"73":{"position":[[0,11]]},"87":{"position":[[0,11]]}},"content":{"32":{"position":[[71,9],[194,9]]},"56":{"position":[[370,9]]},"68":{"position":[[288,6]]},"69":{"position":[[1061,6]]},"74":{"position":[[447,5]]},"75":{"position":[[378,9]]},"76":{"position":[[192,9]]},"77":{"position":[[210,9]]},"78":{"position":[[184,9]]},"82":{"position":[[589,9]]},"84":{"position":[[451,9]]},"85":{"position":[[250,9]]},"86":{"position":[[159,9]]}},"keywords":{}}],["referr",{"_index":579,"title":{},"content":{"53":{"position":[[852,8]]}},"keywords":{}}],["refin",{"_index":601,"title":{},"content":{"54":{"position":[[403,8]]}},"keywords":{}}],["reform",{"_index":227,"title":{},"content":{"23":{"position":[[235,6]]}},"keywords":{}}],["regard",{"_index":633,"title":{},"content":{"54":{"position":[[1293,9]]}},"keywords":{}}],["regex",{"_index":987,"title":{},"content":{"81":{"position":[[33,5]]}},"keywords":{}}],["region",{"_index":567,"title":{},"content":{"53":{"position":[[549,8]]}},"keywords":{}}],["regist",{"_index":852,"title":{},"content":{"68":{"position":[[29,8],[133,8],[251,10]]},"69":{"position":[[328,9],[806,8],[906,8],[1024,10]]}},"keywords":{}}],["registrar",{"_index":858,"title":{},"content":{"68":{"position":[[170,9]]},"69":{"position":[[943,9]]}},"keywords":{}}],["registri",{"_index":865,"title":{},"content":{"68":{"position":[[400,8]]},"69":{"position":[[376,9],[1189,8]]}},"keywords":{}}],["regular",{"_index":394,"title":{"81":{"position":[[0,7]]}},"content":{"31":{"position":[[1,7]]},"32":{"position":[[1,7]]},"74":{"position":[[283,7]]},"79":{"position":[[369,7],[490,7]]},"81":{"position":[[1,7]]}},"keywords":{}}],["rel",{"_index":397,"title":{},"content":{"31":{"position":[[58,8]]},"32":{"position":[[211,8]]}},"keywords":{}}],["relat",{"_index":42,"title":{},"content":{"4":{"position":[[101,7]]},"54":{"position":[[2344,10]]},"55":{"position":[[650,7],[1643,6]]},"58":{"position":[[55,7],[80,7]]},"60":{"position":[[309,7]]},"62":{"position":[[107,7]]}},"keywords":{}}],["relationship",{"_index":607,"title":{},"content":{"54":{"position":[[500,12]]},"56":{"position":[[1481,13]]},"60":{"position":[[287,13]]},"83":{"position":[[386,13]]}},"keywords":{}}],["releas",{"_index":179,"title":{},"content":{"19":{"position":[[1,7]]}},"keywords":{}}],["reli",{"_index":820,"title":{},"content":{"60":{"position":[[888,6]]}},"keywords":{}}],["reliabl",{"_index":995,"title":{},"content":{"82":{"position":[[199,8]]}},"keywords":{}}],["reload",{"_index":87,"title":{},"content":{"6":{"position":[[430,7]]}},"keywords":{}}],["remain",{"_index":974,"title":{},"content":{"79":{"position":[[628,6]]}},"keywords":{}}],["rephras",{"_index":647,"title":{},"content":{"54":{"position":[[1658,9]]}},"keywords":{}}],["report",{"_index":226,"title":{},"content":{"23":{"position":[[210,9]]},"27":{"position":[[95,9],[460,9]]}},"keywords":{}}],["reportingact",{"_index":356,"title":{},"content":{"27":{"position":[[332,17]]}},"keywords":{}}],["repres",{"_index":319,"title":{},"content":{"25":{"position":[[227,11]]},"54":{"position":[[70,12],[1415,11]]},"55":{"position":[[70,12],[149,10],[478,9]]},"58":{"position":[[31,9]]},"74":{"position":[[21,9],[89,11],[379,10]]},"75":{"position":[[35,11],[180,11]]},"76":{"position":[[44,11]]},"77":{"position":[[41,11]]},"82":{"position":[[43,11]]},"84":{"position":[[20,9]]},"85":{"position":[[22,9]]},"86":{"position":[[17,9]]}},"keywords":{}}],["represent",{"_index":640,"title":{},"content":{"54":{"position":[[1497,14]]},"75":{"position":[[332,15]]}},"keywords":{}}],["requir",{"_index":246,"title":{},"content":{"23":{"position":[[484,8]]},"24":{"position":[[177,9]]},"54":{"position":[[222,7],[355,8],[1958,8],[2140,7]]},"79":{"position":[[831,7]]},"82":{"position":[[414,7]]},"83":{"position":[[193,13],[331,8]]}},"keywords":{}}],["residentiald",{"_index":1035,"title":{},"content":{"88":{"position":[[47,15]]}},"keywords":{}}],["resolv",{"_index":985,"title":{},"content":{"80":{"position":[[169,9]]}},"keywords":{}}],["resourc",{"_index":210,"title":{"79":{"position":[[0,8]]}},"content":{"23":{"position":[[47,8],[553,8]]},"79":{"position":[[11,8]]},"80":{"position":[[74,8]]}},"keywords":{}}],["respect",{"_index":200,"title":{},"content":{"21":{"position":[[48,10]]},"53":{"position":[[335,10]]},"54":{"position":[[1376,7]]}},"keywords":{}}],["rest",{"_index":794,"title":{},"content":{"56":{"position":[[2116,4]]}},"keywords":{}}],["result",{"_index":401,"title":{},"content":{"31":{"position":[[188,7]]}},"keywords":{}}],["return",{"_index":137,"title":{},"content":{"10":{"position":[[177,6]]},"33":{"position":[[151,6],[270,6]]}},"keywords":{}}],["review",{"_index":638,"title":{},"content":{"54":{"position":[[1473,6]]},"79":{"position":[[847,6]]}},"keywords":{}}],["review"",{"_index":710,"title":{},"content":{"55":{"position":[[1364,13]]}},"keywords":{}}],["rfc",{"_index":912,"title":{},"content":{"74":{"position":[[134,3]]},"78":{"position":[[161,3]]},"79":{"position":[[700,3],[723,3]]}},"keywords":{}}],["right",{"_index":621,"title":{},"content":{"54":{"position":[[962,5],[1004,6]]}},"keywords":{}}],["road",{"_index":885,"title":{},"content":{"69":{"position":[[749,5]]}},"keywords":{}}],["role",{"_index":549,"title":{},"content":{"53":{"position":[[36,5],[721,4]]}},"keywords":{}}],["round",{"_index":672,"title":{},"content":{"54":{"position":[[2388,7]]}},"keywords":{}}],["rule",{"_index":314,"title":{},"content":{"25":{"position":[[102,5]]}},"keywords":{}}],["run",{"_index":51,"title":{},"content":{"5":{"position":[[136,3],[391,3]]},"6":{"position":[[1,3],[48,3],[229,3]]},"13":{"position":[[38,3]]},"14":{"position":[[42,3]]},"19":{"position":[[45,3]]},"48":{"position":[[44,3]]},"50":{"position":[[45,3],[132,3]]}},"keywords":{}}],["same",{"_index":303,"title":{"25":{"position":[[24,4]]}},"content":{"25":{"position":[[182,4]]},"69":{"position":[[541,4]]}},"keywords":{}}],["scalabl",{"_index":370,"title":{},"content":{"27":{"position":[[840,8]]}},"keywords":{}}],["scenario",{"_index":909,"title":{},"content":{"74":{"position":[[61,10]]},"82":{"position":[[392,9]]}},"keywords":{}}],["schema",{"_index":374,"title":{"28":{"position":[[0,8]]},"60":{"position":[[5,6]]}},"content":{"56":{"position":[[1417,6],[1426,6],[1465,6],[1536,7],[1590,7]]},"60":{"position":[[8,6],[214,6],[344,6],[401,7],[452,6],[583,7],[735,7],[1009,7],[1094,7]]},"61":{"position":[[29,6]]},"74":{"position":[[465,6]]},"75":{"position":[[396,6],[560,6]]},"76":{"position":[[210,6]]},"77":{"position":[[228,6]]},"78":{"position":[[202,6]]},"79":{"position":[[141,6],[274,6]]},"80":{"position":[[226,6]]},"81":{"position":[[93,6]]},"82":{"position":[[607,6]]},"83":{"position":[[423,7],[523,6]]},"84":{"position":[[469,6]]},"85":{"position":[[171,7],[268,6]]},"86":{"position":[[177,6]]},"89":{"position":[[14,6]]},"90":{"position":[[6,6]]}},"keywords":{}}],["schema.org/draft",{"_index":809,"title":{},"content":{"60":{"position":[[526,16]]}},"keywords":{}}],["schemasourc",{"_index":514,"title":{},"content":{"41":{"position":[[1,12]]}},"keywords":{}}],["schemasourceexampl",{"_index":851,"title":{},"content":{"63":{"position":[[1,19]]},"70":{"position":[[1,19]]}},"keywords":{}}],["scheme",{"_index":730,"title":{},"content":{"56":{"position":[[447,7],[691,8]]}},"keywords":{}}],["scope",{"_index":681,"title":{"58":{"position":[[0,6]]},"68":{"position":[[0,6]]}},"content":{"55":{"position":[[300,5]]}},"keywords":{}}],["sdm",{"_index":559,"title":{},"content":{"53":{"position":[[278,5]]}},"keywords":{}}],["seamlessli",{"_index":192,"title":{},"content":{"20":{"position":[[13,10]]},"49":{"position":[[13,10]]}},"keywords":{}}],["search",{"_index":16,"title":{},"content":{"1":{"position":[[168,6]]}},"keywords":{}}],["section",{"_index":447,"title":{},"content":{"35":{"position":[[274,7]]},"53":{"position":[[6,7]]},"54":{"position":[[6,7]]},"55":{"position":[[6,7]]},"75":{"position":[[59,7]]},"76":{"position":[[68,7]]},"77":{"position":[[65,7],[193,7]]},"78":{"position":[[110,7],[171,7]]}},"keywords":{}}],["sector",{"_index":211,"title":{},"content":{"23":{"position":[[56,6]]},"24":{"position":[[354,7]]},"27":{"position":[[16,6],[319,6]]}},"keywords":{}}],["see",{"_index":310,"title":{},"content":{"25":{"position":[[76,3]]},"31":{"position":[[86,3],[138,3],[202,3]]},"72":{"position":[[300,4]]}},"keywords":{}}],["seek",{"_index":555,"title":{},"content":{"53":{"position":[[179,7]]}},"keywords":{}}],["semant",{"_index":751,"title":{},"content":{"56":{"position":[[943,8]]}},"keywords":{}}],["separ",{"_index":367,"title":{},"content":{"27":{"position":[[753,10]]}},"keywords":{}}],["sequenc",{"_index":676,"title":{},"content":{"55":{"position":[[181,10]]}},"keywords":{}}],["sequenti",{"_index":695,"title":{},"content":{"55":{"position":[[739,10]]}},"keywords":{}}],["serv",{"_index":77,"title":{},"content":{"6":{"position":[[279,6]]},"14":{"position":[[46,5],[78,6]]},"56":{"position":[[595,5]]},"60":{"position":[[105,6]]}},"keywords":{}}],["server",{"_index":66,"title":{},"content":{"6":{"position":[[21,7],[311,7]]}},"keywords":{}}],["servic",{"_index":893,"title":{},"content":{"72":{"position":[[231,7]]}},"keywords":{}}],["set",{"_index":242,"title":{},"content":{"23":{"position":[[436,3]]},"25":{"position":[[1,3]]},"53":{"position":[[217,3]]},"54":{"position":[[340,3],[676,3],[1938,3]]},"55":{"position":[[498,3],[692,3]]},"60":{"position":[[1179,3],[1281,3]]}},"keywords":{}}],["shall",{"_index":692,"title":{},"content":{"55":{"position":[[576,5],[808,5],[1092,5],[1430,5]]},"69":{"position":[[27,5]]},"74":{"position":[[80,5]]},"75":{"position":[[26,5],[149,5],[348,5]]},"76":{"position":[[35,5]]},"77":{"position":[[32,5]]},"78":{"position":[[83,5],[143,5]]},"79":{"position":[[313,5],[459,5]]},"83":{"position":[[69,5]]}},"keywords":{}}],["share",{"_index":322,"title":{},"content":{"26":{"position":[[1,5]]},"27":{"position":[[638,5]]}},"keywords":{}}],["shift",{"_index":260,"title":{},"content":{"23":{"position":[[747,7],[830,6]]}},"keywords":{}}],["short",{"_index":847,"title":{},"content":{"62":{"position":[[196,5]]}},"keywords":{}}],["shorthand",{"_index":725,"title":{},"content":{"56":{"position":[[353,9]]}},"keywords":{}}],["show",{"_index":830,"title":{},"content":{"60":{"position":[[1218,4]]}},"keywords":{}}],["showcaseget",{"_index":20,"title":{},"content":{"1":{"position":[[214,11]]}},"keywords":{}}],["sidebar",{"_index":163,"title":{"17":{"position":[[14,8]]}},"content":{"17":{"position":[[36,7],[97,7],[276,7]]},"35":{"position":[[289,8]]}},"keywords":{}}],["sidebar_label",{"_index":168,"title":{},"content":{"17":{"position":[[144,14]]}},"keywords":{}}],["sidebar_posit",{"_index":170,"title":{},"content":{"17":{"position":[[165,17]]}},"keywords":{}}],["sidebars.j",{"_index":174,"title":{},"content":{"17":{"position":[[298,12],[312,11]]}},"keywords":{}}],["similar",{"_index":563,"title":{},"content":{"53":{"position":[[407,7]]}},"keywords":{}}],["singl",{"_index":340,"title":{},"content":{"27":{"position":[[69,6]]},"54":{"position":[[145,7],[2065,6]]},"86":{"position":[[57,6]]}},"keywords":{}}],["site",{"_index":6,"title":{"5":{"position":[[15,5]]},"6":{"position":[[11,5]]},"12":{"position":[[12,4]]},"13":{"position":[[11,5]]},"14":{"position":[[12,5]]},"45":{"position":[[15,4]]},"48":{"position":[[21,5]]},"50":{"position":[[21,5]]}},"content":{"1":{"position":[[44,4]]},"3":{"position":[[31,5]]},"5":{"position":[[27,4]]},"6":{"position":[[170,5],[425,4]]},"13":{"position":[[12,4]]},"48":{"position":[[12,4],[86,4]]},"50":{"position":[[12,4],[86,4]]}},"keywords":{}}],["skip",{"_index":822,"title":{},"content":{"60":{"position":[[934,7]]}},"keywords":{}}],["slug",{"_index":97,"title":{},"content":{"8":{"position":[[82,5]]},"30":{"position":[[157,5]]}},"keywords":{}}],["small",{"_index":155,"title":{},"content":{"14":{"position":[[190,5]]}},"keywords":{}}],["sme",{"_index":589,"title":{},"content":{"53":{"position":[[1101,5]]}},"keywords":{}}],["smoothli",{"_index":294,"title":{},"content":{"24":{"position":[[658,8]]}},"keywords":{}}],["softwar",{"_index":593,"title":{},"content":{"53":{"position":[[1178,9]]}},"keywords":{}}],["sole",{"_index":997,"title":{},"content":{"82":{"position":[[265,6]]}},"keywords":{}}],["solut",{"_index":332,"title":{},"content":{"26":{"position":[[155,9]]}},"keywords":{}}],["space",{"_index":207,"title":{},"content":{"23":{"position":[[25,6]]},"69":{"position":[[742,6]]}},"keywords":{}}],["spec",{"_index":460,"title":{},"content":{"37":{"position":[[40,5]]}},"keywords":{}}],["special",{"_index":422,"title":{},"content":{"34":{"position":[[18,7]]}},"keywords":{}}],["specialist",{"_index":590,"title":{},"content":{"53":{"position":[[1112,10]]}},"keywords":{}}],["specif",{"_index":270,"title":{"41":{"position":[[0,14]]},"63":{"position":[[0,14]]},"70":{"position":[[0,14]]}},"content":{"24":{"position":[[54,13]]},"50":{"position":[[23,8]]},"52":{"position":[[64,13]]},"53":{"position":[[1128,8]]},"54":{"position":[[83,8],[153,8],[822,8],[1750,8],[2432,8]]},"55":{"position":[[83,8],[535,8],[607,8]]},"56":{"position":[[64,13],[91,8],[400,8]]},"58":{"position":[[93,8]]},"60":{"position":[[176,8],[767,13]]},"75":{"position":[[426,8]]},"82":{"position":[[637,8]]},"83":{"position":[[462,8]]},"84":{"position":[[499,8]]}},"keywords":{}}],["specifi",{"_index":240,"title":{},"content":{"23":{"position":[[409,9]]},"30":{"position":[[378,10]]},"74":{"position":[[121,9]]},"75":{"position":[[128,10],[252,10]]},"79":{"position":[[525,10]]},"80":{"position":[[57,7]]}},"keywords":{}}],["spot",{"_index":350,"title":{},"content":{"27":{"position":[[190,4]]}},"keywords":{}}],["spreadsheet",{"_index":759,"title":{},"content":{"56":{"position":[[1185,11]]}},"keywords":{}}],["sql",{"_index":769,"title":{},"content":{"56":{"position":[[1567,4],[2094,3]]}},"keywords":{}}],["src/components/hellodocusaurus.j",{"_index":420,"title":{},"content":{"33":{"position":[[207,33]]}},"keywords":{}}],["src/pages/mi",{"_index":127,"title":{},"content":{"10":{"position":[[18,12],[47,12]]},"11":{"position":[[18,12],[50,12]]}},"keywords":{}}],["stabl",{"_index":369,"title":{},"content":{"27":{"position":[[818,7]]}},"keywords":{}}],["stage",{"_index":690,"title":{},"content":{"55":{"position":[[505,6],[658,7],[666,5],[723,5],[802,5],[1115,5]]}},"keywords":{}}],["standard",{"_index":239,"title":{"88":{"position":[[11,10]]},"89":{"position":[[10,10]]}},"content":{"23":{"position":[[400,8]]},"24":{"position":[[204,8]]},"27":{"position":[[778,10],[941,10]]},"56":{"position":[[626,9],[908,12],[1786,12]]},"72":{"position":[[777,8]]},"75":{"position":[[567,9]]},"79":{"position":[[281,9]]},"88":{"position":[[14,10],[104,9]]}},"keywords":{}}],["standardb.c",{"_index":1036,"title":{},"content":{"88":{"position":[[72,12]]}},"keywords":{}}],["standards.identifi",{"_index":326,"title":{},"content":{"26":{"position":[[54,18]]}},"keywords":{}}],["start",{"_index":26,"title":{"3":{"position":[[8,8]]},"6":{"position":[[0,5]]},"22":{"position":[[8,7]]},"48":{"position":[[0,5]]}},"content":{"3":{"position":[[5,7]]},"6":{"position":[[52,5],[233,5]]},"48":{"position":[[1,5],[48,5],[150,7]]}},"keywords":{}}],["state",{"_index":448,"title":{"36":{"position":[[0,5]]}},"content":{"54":{"position":[[1432,6]]},"55":{"position":[[713,7],[759,6],[883,6],[913,5],[1086,5],[1314,5],[1464,5]]}},"keywords":{}}],["static",{"_index":149,"title":{},"content":{"13":{"position":[[54,6]]},"32":{"position":[[95,6]]}},"keywords":{}}],["static/img/docusaurus.png",{"_index":405,"title":{},"content":{"32":{"position":[[112,28]]}},"keywords":{}}],["station",{"_index":750,"title":{},"content":{"56":{"position":[[862,9]]}},"keywords":{}}],["statu",{"_index":705,"title":{},"content":{"55":{"position":[[1185,6]]}},"keywords":{}}],["status",{"_index":713,"title":{},"content":{"55":{"position":[[1421,8]]}},"keywords":{}}],["statutori",{"_index":558,"title":{},"content":{"53":{"position":[[253,9]]},"54":{"position":[[994,9],[1268,9]]}},"keywords":{}}],["store",{"_index":221,"title":{},"content":{"23":{"position":[[153,5]]},"56":{"position":[[1711,7]]},"72":{"position":[[16,6],[146,5]]},"75":{"position":[[169,6]]}},"keywords":{}}],["strata",{"_index":883,"title":{},"content":{"69":{"position":[[730,7]]}},"keywords":{}}],["strategi",{"_index":365,"title":{},"content":{"27":{"position":[[711,8],[793,8]]}},"keywords":{}}],["string",{"_index":513,"title":{"74":{"position":[[0,7]]}},"content":{"40":{"position":[[7,6]]},"56":{"position":[[301,7]]},"62":{"position":[[189,6],[248,6]]},"69":{"position":[[234,6],[530,6]]},"72":{"position":[[493,8]]},"74":{"position":[[1,7],[72,7],[195,7],[368,6]]},"79":{"position":[[305,7]]},"83":{"position":[[87,7]]}},"keywords":{}}],["strip",{"_index":823,"title":{},"content":{"60":{"position":[[950,8]]}},"keywords":{}}],["structur",{"_index":512,"title":{"40":{"position":[[0,10]]},"56":{"position":[[0,10]]},"62":{"position":[[0,10]]},"69":{"position":[[0,10]]}},"content":{"56":{"position":[[34,10]]},"60":{"position":[[68,10],[146,10],[253,11],[858,11]]},"83":{"position":[[221,12]]}},"keywords":{}}],["style",{"_index":491,"title":{},"content":{"38":{"position":[[168,8]]}},"keywords":{}}],["subgraph",{"_index":474,"title":{},"content":{"37":{"position":[[217,8],[249,8]]}},"keywords":{}}],["subject",{"_index":587,"title":{},"content":{"53":{"position":[[1055,7],[1079,7]]}},"keywords":{}}],["submiss",{"_index":577,"title":{},"content":{"53":{"position":[[801,12]]},"54":{"position":[[1645,12],[2028,10]]}},"keywords":{}}],["submit",{"_index":608,"title":{},"content":{"54":{"position":[[527,9]]}},"keywords":{}}],["substitut",{"_index":983,"title":{},"content":{"80":{"position":[[132,11]]}},"keywords":{}}],["such",{"_index":592,"title":{},"content":{"53":{"position":[[1145,4]]},"54":{"position":[[1769,4]]},"74":{"position":[[247,4]]},"75":{"position":[[263,4]]},"82":{"position":[[317,5],[513,4]]},"84":{"position":[[110,5],[325,4]]}},"keywords":{}}],["support",{"_index":395,"title":{},"content":{"31":{"position":[[28,10]]},"32":{"position":[[29,10]]},"33":{"position":[[26,9]]},"35":{"position":[[25,8],[195,10]]},"46":{"position":[[36,7]]},"53":{"position":[[764,7]]},"75":{"position":[[491,9]]},"79":{"position":[[205,9],[785,11]]}},"keywords":{}}],["sure",{"_index":602,"title":{},"content":{"54":{"position":[[416,4]]}},"keywords":{}}],["surveyor",{"_index":646,"title":{},"content":{"54":{"position":[[1636,8]]}},"keywords":{}}],["synonym",{"_index":578,"title":{},"content":{"53":{"position":[[826,7]]},"54":{"position":[[1996,7]]}},"keywords":{}}],["syntax",{"_index":413,"title":{},"content":{"33":{"position":[[41,6]]},"34":{"position":[[26,6]]},"35":{"position":[[267,6]]},"56":{"position":[[1659,7]]}},"keywords":{}}],["system",{"_index":234,"title":{},"content":{"23":{"position":[[343,7]]},"24":{"position":[[102,6],[257,7],[443,8],[482,7],[638,7],[711,7]]},"27":{"position":[[510,7],[571,7],[919,7]]},"56":{"position":[[829,6]]},"62":{"position":[[162,8]]}},"keywords":{}}],["sébastien",{"_index":111,"title":{},"content":{"8":{"position":[[267,9]]}},"keywords":{}}],["tabular",{"_index":760,"title":{},"content":{"56":{"position":[[1200,7]]}},"keywords":{}}],["tag",{"_index":116,"title":{},"content":{"8":{"position":[[388,5]]},"30":{"position":[[178,5],[346,4]]}},"keywords":{}}],["take",{"_index":432,"title":{},"content":{"34":{"position":[[213,4]]},"54":{"position":[[898,4]]}},"keywords":{}}],["taken",{"_index":636,"title":{},"content":{"54":{"position":[[1365,5]]}},"keywords":{}}],["talk",{"_index":364,"title":{},"content":{"27":{"position":[[648,4]]}},"keywords":{}}],["tantali",{"_index":874,"title":{},"content":{"69":{"position":[[425,8]]}},"keywords":{}}],["tbd",{"_index":375,"title":{},"content":{"28":{"position":[[1,3]]},"42":{"position":[[1,3]]},"43":{"position":[[1,3]]},"64":{"position":[[1,3]]},"65":{"position":[[1,3]]}},"keywords":{}}],["td",{"_index":450,"title":{},"content":{"36":{"position":[[18,2]]}},"keywords":{}}],["teams.creat",{"_index":312,"title":{},"content":{"25":{"position":[[83,12]]}},"keywords":{}}],["technic",{"_index":290,"title":{"89":{"position":[[0,9]]}},"content":{"24":{"position":[[599,9]]}},"keywords":{}}],["technolog",{"_index":366,"title":{},"content":{"27":{"position":[[724,10]]}},"keywords":{}}],["templat",{"_index":47,"title":{"80":{"position":[[4,9]]}},"content":{"5":{"position":[[50,9],[73,8]]},"80":{"position":[[5,9],[31,8]]}},"keywords":{}}],["template)rfc",{"_index":1054,"title":{},"content":{"89":{"position":[[265,12]]}},"keywords":{}}],["tenur",{"_index":619,"title":{},"content":{"54":{"position":[[947,7]]}},"keywords":{}}],["term",{"_index":540,"title":{},"content":{"51":{"position":[[1,4]]},"52":{"position":[[15,5]]},"53":{"position":[[122,4]]},"54":{"position":[[115,4],[1111,4],[1892,4]]},"55":{"position":[[120,4],[1624,5]]},"56":{"position":[[15,5],[113,4],[921,5],[1038,5],[1327,4]]}},"keywords":{}}],["termin",{"_index":60,"title":{},"content":{"5":{"position":[[261,9],[295,8]]},"6":{"position":[[204,8]]}},"keywords":{}}],["terminolog",{"_index":517,"title":{"44":{"position":[[0,11]]}},"content":{"52":{"position":[[136,11]]}},"keywords":{}}],["terms.gath",{"_index":316,"title":{},"content":{"25":{"position":[[187,12]]}},"keywords":{}}],["test",{"_index":151,"title":{},"content":{"14":{"position":[[1,4]]}},"keywords":{}}],["text",{"_index":385,"title":{},"content":{"30":{"position":[[229,4]]},"60":{"position":[[676,4]]}},"keywords":{}}],["textual",{"_index":908,"title":{},"content":{"74":{"position":[[31,7]]}},"keywords":{}}],["theecma",{"_index":988,"title":{},"content":{"81":{"position":[[58,7]]}},"keywords":{}}],["thejson",{"_index":934,"title":{},"content":{"75":{"position":[[388,7]]},"76":{"position":[[202,7]]},"77":{"position":[[220,7]]},"78":{"position":[[194,7]]},"79":{"position":[[133,7]]},"80":{"position":[[218,7]]},"81":{"position":[[85,7]]},"82":{"position":[[599,7]]},"83":{"position":[[515,7]]},"84":{"position":[[461,7]]},"85":{"position":[[260,7]]},"86":{"position":[[169,7]]}},"keywords":{}}],["theme/layout",{"_index":131,"title":{},"content":{"10":{"position":[[120,16]]}},"keywords":{}}],["themeconfig",{"_index":195,"title":{},"content":{"20":{"position":[[143,12]]},"49":{"position":[[143,12]]}},"keywords":{}}],["themeconfigadd",{"_index":12,"title":{},"content":{"1":{"position":[[121,14]]}},"keywords":{}}],["thing",{"_index":625,"title":{},"content":{"54":{"position":[[1125,7]]}},"keywords":{}}],["thought",{"_index":757,"title":{},"content":{"56":{"position":[[1146,7]]}},"keywords":{}}],["three",{"_index":902,"title":{},"content":{"72":{"position":[[606,5]]}},"keywords":{}}],["through",{"_index":78,"title":{},"content":{"6":{"position":[[289,7]]},"27":{"position":[[28,7]]},"35":{"position":[[59,7]]},"55":{"position":[[252,8],[791,8]]}},"keywords":{}}],["time",{"_index":272,"title":{"75":{"position":[[9,5]]}},"content":{"24":{"position":[[142,5]]},"48":{"position":[[236,5]]},"54":{"position":[[1075,4]]},"75":{"position":[[13,4],[144,4],[244,4],[287,4],[300,4],[327,4],[372,5],[509,4]]},"79":{"position":[[223,4]]},"88":{"position":[[67,4]]}},"keywords":{}}],["time)rfc",{"_index":1046,"title":{},"content":{"89":{"position":[[100,8]]}},"keywords":{}}],["timenam",{"_index":1038,"title":{},"content":{"88":{"position":[[127,10]]}},"keywords":{}}],["timesdata",{"_index":354,"title":{},"content":{"27":{"position":[[289,9]]}},"keywords":{}}],["tip",{"_index":425,"title":{},"content":{"34":{"position":[[80,4],[176,3]]}},"keywords":{}}],["tip[mi",{"_index":424,"title":{},"content":{"34":{"position":[[70,9]]}},"keywords":{}}],["titl",{"_index":99,"title":{},"content":{"8":{"position":[[98,6],[145,6],[284,6]]},"30":{"position":[[95,6],[114,5],[323,6]]},"54":{"position":[[1023,6]]},"68":{"position":[[23,5],[127,5],[223,5],[262,6],[278,5]]},"69":{"position":[[322,5],[800,5],[900,5],[996,5],[1035,6],[1051,5]]}},"keywords":{}}],["title="src/components/hellodocusaurus.js"",{"_index":416,"title":{},"content":{"33":{"position":[[70,51]]}},"keywords":{}}],["top",{"_index":379,"title":{},"content":{"30":{"position":[[41,3]]}},"keywords":{}}],["topic",{"_index":801,"title":{},"content":{"60":{"position":[[317,6]]}},"keywords":{}}],["torfc",{"_index":945,"title":{},"content":{"76":{"position":[[180,5]]},"77":{"position":[[181,5]]}},"keywords":{}}],["track",{"_index":288,"title":{"55":{"position":[[8,9]]}},"content":{"24":{"position":[[568,8]]},"62":{"position":[[89,5]]}},"keywords":{}}],["transform",{"_index":300,"title":{},"content":{"24":{"position":[[797,14]]},"26":{"position":[[171,15]]},"27":{"position":[[895,9]]},"72":{"position":[[758,11]]}},"keywords":{}}],["translat",{"_index":518,"title":{"45":{"position":[[0,9]]},"47":{"position":[[0,9]]}},"content":{"47":{"position":[[185,9]]},"48":{"position":[[166,11]]}},"keywords":{}}],["transmit",{"_index":778,"title":{},"content":{"56":{"position":[[1722,12]]}},"keywords":{}}],["tri",{"_index":29,"title":{},"content":{"3":{"position":[[41,3]]}},"keywords":{}}],["true",{"_index":1023,"title":{},"content":{"85":{"position":[[58,4],[126,4]]}},"keywords":{}}],["tutori",{"_index":23,"title":{"2":{"position":[[0,8]]}},"content":{"17":{"position":[[405,11]]}},"keywords":{}}],["tutorial_basics/cr",{"_index":177,"title":{},"content":{"17":{"position":[[424,24]]}},"keywords":{}}],["tutorialsidebar",{"_index":175,"title":{},"content":{"17":{"position":[[341,16]]}},"keywords":{}}],["two",{"_index":1022,"title":{},"content":{"85":{"position":[[37,3]]}},"keywords":{}}],["type",{"_index":57,"title":{"66":{"position":[[10,5]]}},"content":{"5":{"position":[[210,4]]},"17":{"position":[[380,5]]},"20":{"position":[[179,5]]},"23":{"position":[[100,5],[465,5]]},"40":{"position":[[1,5]]},"49":{"position":[[179,5]]},"54":{"position":[[1905,4]]},"56":{"position":[[133,4],[155,4],[220,4],[272,5],[1702,4],[1805,4],[2058,5]]},"58":{"position":[[11,4]]},"60":{"position":[[185,4],[1441,4]]},"62":{"position":[[18,4]]},"69":{"position":[[177,4]]},"72":{"position":[[809,5]]},"74":{"position":[[355,5],[535,6]]},"82":{"position":[[60,4],[378,4]]},"84":{"position":[[100,6],[159,4]]}},"keywords":{}}],["type.requir",{"_index":831,"title":{},"content":{"60":{"position":[[1243,13]]}},"keywords":{}}],["types.cr",{"_index":329,"title":{},"content":{"26":{"position":[[118,12]]}},"keywords":{}}],["typesrfc",{"_index":1041,"title":{},"content":{"89":{"position":[[21,8]]}},"keywords":{}}],["typic",{"_index":707,"title":{},"content":{"55":{"position":[[1324,9]]},"56":{"position":[[455,9],[975,9]]},"60":{"position":[[356,9]]}},"keywords":{}}],["uid",{"_index":734,"title":{},"content":{"56":{"position":[[536,6]]}},"keywords":{}}],["ultim",{"_index":361,"title":{},"content":{"27":{"position":[[410,10]]}},"keywords":{}}],["umbrella",{"_index":624,"title":{},"content":{"54":{"position":[[1102,8]]}},"keywords":{}}],["uml",{"_index":770,"title":{},"content":{"56":{"position":[[1572,4]]}},"keywords":{}}],["undefin",{"_index":1032,"title":{},"content":{"86":{"position":[[148,10]]}},"keywords":{}}],["under",{"_index":446,"title":{},"content":{"35":{"position":[[249,5]]}},"keywords":{}}],["understand",{"_index":271,"title":{},"content":{"24":{"position":[[127,10]]},"25":{"position":[[166,11]]},"27":{"position":[[582,10]]},"52":{"position":[[118,13]]},"60":{"position":[[804,10]]},"62":{"position":[[327,10]]}},"keywords":{}}],["uniqu",{"_index":732,"title":{},"content":{"56":{"position":[[496,6]]},"60":{"position":[[563,6]]},"62":{"position":[[75,6]]},"68":{"position":[[86,8]]},"69":{"position":[[859,8]]},"80":{"position":[[67,6]]},"84":{"position":[[333,11]]}},"keywords":{}}],["unit",{"_index":726,"title":{},"content":{"56":{"position":[[382,4]]}},"keywords":{}}],["univers",{"_index":960,"title":{},"content":{"79":{"position":[[1,9]]}},"keywords":{}}],["unix/epochtim",{"_index":932,"title":{},"content":{"75":{"position":[[220,15]]}},"keywords":{}}],["unless",{"_index":929,"title":{},"content":{"75":{"position":[[111,6]]}},"keywords":{}}],["unord",{"_index":1005,"title":{},"content":{"83":{"position":[[22,9]]}},"keywords":{}}],["unreleas",{"_index":190,"title":{},"content":{"19":{"position":[[321,10]]}},"keywords":{}}],["up",{"_index":304,"title":{},"content":{"25":{"position":[[5,2]]},"60":{"position":[[1223,2]]}},"keywords":{}}],["upcom",{"_index":189,"title":{},"content":{"19":{"position":[[311,9]]}},"keywords":{}}],["updat",{"_index":198,"title":{"21":{"position":[[0,6]]}},"content":{"21":{"position":[[104,7],[158,7]]},"55":{"position":[[1234,6]]}},"keywords":{}}],["upon",{"_index":821,"title":{},"content":{"60":{"position":[[895,4]]}},"keywords":{}}],["uri",{"_index":811,"title":{"80":{"position":[[0,3]]}},"content":{"60":{"position":[[570,3]]},"79":{"position":[[48,3]]},"80":{"position":[[1,3],[27,3],[158,3]]},"89":{"position":[[260,4]]}},"keywords":{}}],["uri)rfc",{"_index":1048,"title":{},"content":{"89":{"position":[[130,8]]}},"keywords":{}}],["url",{"_index":107,"title":{},"content":{"8":{"position":[[179,4],[313,4]]},"30":{"position":[[174,3]]},"31":{"position":[[45,3]]}},"keywords":{}}],["us",{"_index":45,"title":{},"content":{"5":{"position":[[32,5]]},"26":{"position":[[165,5]]},"31":{"position":[[39,5]]},"32":{"position":[[49,3],[270,6],[324,5]]},"34":{"position":[[85,3],[180,3]]},"35":{"position":[[135,5]]},"38":{"position":[[61,5]]},"48":{"position":[[216,3]]},"52":{"position":[[47,4]]},"53":{"position":[[631,3]]},"54":{"position":[[61,4],[1782,4],[1882,4]]},"55":{"position":[[61,4]]},"56":{"position":[[621,4],[656,4],[1561,5],[1998,5]]},"60":{"position":[[27,4],[756,6]]},"74":{"position":[[13,4]]},"75":{"position":[[317,5]]},"78":{"position":[[74,5],[134,5]]},"79":{"position":[[37,3],[107,4],[429,5],[450,5],[515,4],[896,5]]},"82":{"position":[[336,5]]},"83":{"position":[[13,4]]},"84":{"position":[[12,4],[203,3],[405,4]]},"85":{"position":[[14,4]]},"86":{"position":[[9,4]]}},"keywords":{}}],["usabl",{"_index":275,"title":{},"content":{"24":{"position":[[228,6]]}},"keywords":{}}],["usag",{"_index":546,"title":{},"content":{"52":{"position":[[148,6]]}},"keywords":{}}],["usage.properti",{"_index":829,"title":{},"content":{"60":{"position":[[1158,16]]}},"keywords":{}}],["usual",{"_index":691,"title":{},"content":{"55":{"position":[[516,7]]}},"keywords":{}}],["utc",{"_index":933,"title":{},"content":{"75":{"position":[[368,3]]}},"keywords":{}}],["utf",{"_index":910,"title":{},"content":{"74":{"position":[[104,3]]},"89":{"position":[[114,4]]}},"keywords":{}}],["uuid",{"_index":735,"title":{},"content":{"56":{"position":[[547,7],[577,5]]},"62":{"position":[[68,4]]},"79":{"position":[[186,4],[300,4],[354,4],[413,4],[442,4],[536,5],[745,4],[806,4],[878,4]]},"89":{"position":[[144,5],[298,5]]}},"keywords":{}}],["v1",{"_index":1049,"title":{},"content":{"89":{"position":[[150,2]]}},"keywords":{}}],["v4",{"_index":968,"title":{},"content":{"79":{"position":[[418,2]]}},"keywords":{}}],["v6",{"_index":1056,"title":{},"content":{"89":{"position":[[304,2]]}},"keywords":{}}],["valid",{"_index":342,"title":{},"content":{"27":{"position":[[85,9]]},"60":{"position":[[1354,6]]},"69":{"position":[[3,5]]}},"keywords":{}}],["valu",{"_index":881,"title":{},"content":{"69":{"position":[[690,6]]},"72":{"position":[[34,6]]},"82":{"position":[[76,6],[169,7],[221,5],[259,5]]},"83":{"position":[[36,5],[105,5]]},"85":{"position":[[50,7],[116,6]]},"86":{"position":[[30,6],[75,5],[138,6]]}},"keywords":{}}],["vari",{"_index":642,"title":{},"content":{"54":{"position":[[1577,7]]}},"keywords":{}}],["varieti",{"_index":765,"title":{},"content":{"56":{"position":[[1353,7]]}},"keywords":{}}],["variou",{"_index":293,"title":{},"content":{"24":{"position":[[630,7]]},"27":{"position":[[491,7]]},"53":{"position":[[28,7]]},"54":{"position":[[903,7]]},"83":{"position":[[185,7]]}},"keywords":{}}],["veri",{"_index":154,"title":{},"content":{"14":{"position":[[185,4]]}},"keywords":{}}],["verifi",{"_index":797,"title":{},"content":{"60":{"position":[[56,6]]}},"keywords":{}}],["version",{"_index":35,"title":{"18":{"position":[[12,8]]},"19":{"position":[[14,8]]},"20":{"position":[[6,7]]},"21":{"position":[[19,8]]}},"content":{"4":{"position":[[9,7]]},"19":{"position":[[11,7],[189,9],[243,7]]},"20":{"position":[[31,9],[47,7],[244,7]]},"21":{"position":[[24,9]]},"60":{"position":[[634,10]]},"61":{"position":[[36,7]]},"79":{"position":[[359,9],[635,7],[750,8],[883,8]]},"90":{"position":[[13,7]]}},"keywords":{}}],["versioned_docs/vers",{"_index":183,"title":{},"content":{"19":{"position":[[110,22]]},"21":{"position":[[68,22]]}},"keywords":{}}],["versions.json",{"_index":184,"title":{},"content":{"19":{"position":[[141,13]]}},"keywords":{}}],["view",{"_index":80,"title":{},"content":{"6":{"position":[[336,4]]},"27":{"position":[[23,4],[126,4]]}},"keywords":{}}],["visit",{"_index":445,"title":{},"content":{"35":{"position":[[206,5]]}},"keywords":{}}],["vocabulari",{"_index":595,"title":{},"content":{"54":{"position":[[50,10]]},"55":{"position":[[50,10]]},"56":{"position":[[872,10],[885,10]]}},"keywords":{}}],["voic",{"_index":890,"title":{},"content":{"72":{"position":[[122,6]]}},"keywords":{}}],["warn",{"_index":935,"title":{},"content":{"75":{"position":[[446,7]]},"79":{"position":[[164,7]]}},"keywords":{}}],["way",{"_index":218,"title":{},"content":{"23":{"position":[[124,4]]},"24":{"position":[[702,4]]},"54":{"position":[[971,4]]},"56":{"position":[[363,3]]},"60":{"position":[[117,3]]},"80":{"position":[[50,3]]}},"keywords":{}}],["web",{"_index":779,"title":{},"content":{"56":{"position":[[1753,4],[2134,4]]}},"keywords":{}}],["websit",{"_index":56,"title":{},"content":{"5":{"position":[[184,7]]},"6":{"position":[[36,7],[259,7]]}},"keywords":{}}],["well",{"_index":214,"title":{},"content":{"23":{"position":[[79,4],[606,4]]},"32":{"position":[[243,5]]},"56":{"position":[[639,4]]},"83":{"position":[[371,4]]}},"keywords":{}}],["what'",{"_index":1,"title":{"1":{"position":[[0,6]]}},"content":{},"keywords":{}}],["wide",{"_index":443,"title":{},"content":{"35":{"position":[[174,4]]},"56":{"position":[[614,6]]}},"keywords":{}}],["within",{"_index":543,"title":{},"content":{"52":{"position":[[52,6]]},"53":{"position":[[93,6],[567,6],[669,6]]},"54":{"position":[[101,6],[852,6],[1799,6]]},"55":{"position":[[101,6],[445,6],[890,6],[993,6]]},"56":{"position":[[503,6]]}},"keywords":{}}],["without",{"_index":236,"title":{},"content":{"23":{"position":[[367,7]]},"72":{"position":[[678,7]]}},"keywords":{}}],["withrfc",{"_index":955,"title":{},"content":{"78":{"position":[[96,7]]},"79":{"position":[[63,7],[472,7]]},"80":{"position":[[198,7]]}},"keywords":{}}],["work",{"_index":71,"title":{},"content":{"6":{"position":[[104,7],[130,4]]},"24":{"position":[[393,4]]},"25":{"position":[[10,7]]},"54":{"position":[[1142,4]]},"55":{"position":[[908,4]]}},"keywords":{}}],["workflow",{"_index":700,"title":{},"content":{"55":{"position":[[1022,8]]}},"keywords":{}}],["workload",{"_index":662,"title":{},"content":{"54":{"position":[[2204,8]]}},"keywords":{}}],["write",{"_index":790,"title":{},"content":{"56":{"position":[[1985,7]]}},"keywords":{}}],["xml",{"_index":783,"title":{},"content":{"56":{"position":[[1889,4]]}},"keywords":{}}],["xsd",{"_index":771,"title":{},"content":{"56":{"position":[[1577,4]]}},"keywords":{}}],["you'll",{"_index":32,"title":{"4":{"position":[[5,6]]}},"content":{"6":{"position":[[176,6]]}},"keywords":{}}],["you'r",{"_index":70,"title":{},"content":{"6":{"position":[[97,6]]}},"keywords":{}}],["zero",{"_index":891,"title":{},"content":{"72":{"position":[[198,5],[451,5],[541,4],[694,7]]}},"keywords":{}}]],"pipeline":["stemmer"]} \ No newline at end of file diff --git a/pr-preview/pr-3/lunr-index.json b/pr-preview/pr-3/lunr-index.json new file mode 100644 index 0000000..c7710a9 --- /dev/null +++ b/pr-preview/pr-3/lunr-index.json @@ -0,0 +1 @@ +{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,878.632]],["content/0",[]],["keywords/0",[]],["title/1",[1,783.685,2,783.685]],["content/1",[3,7.559,4,8.337,5,9.518,6,4.118,7,7.559,8,9.518,9,7.559,10,9.518,11,6.514,12,9.518,13,7.559,14,7.559,15,9.518,16,9.518,17,9.518,18,9.518,19,6.051,20,9.518,21,8.337,22,8.337]],["keywords/1",[]],["title/2",[23,686.431,24,686.431]],["content/2",[]],["keywords/2",[]],["title/3",[25,536.321,26,477.272]],["content/3",[6,5.123,19,5.742,26,7.211,27,4.462,28,7.211,29,11.84,30,11.84,31,11.84]],["keywords/3",[]],["title/4",[32,686.431,33,536.321]],["content/4",[34,13.848,35,5.436,36,11.209,37,11.209,38,9.818,39,8.902,40,8.902,41,11.209,42,7.216,43,9.818]],["keywords/4",[]],["title/5",[6,278.207,28,391.608,44,440.058]],["content/5",[6,3.358,19,5.269,28,4.727,33,5.312,38,6.799,43,6.799,44,5.312,45,2.573,46,12.539,47,8.63,48,6.164,49,6.799,50,5.312,51,6.618,52,11.898,53,4.727,54,7.762,55,7.762,56,6.799,57,3.129,58,7.762,59,7.762,60,9.518,61,6.164,62,5.312,63,6.799,64,7.762]],["keywords/5",[]],["title/6",[6,339.065,26,477.272]],["content/6",[6,4.261,19,3.28,26,5.998,27,2.549,32,5.924,33,4.629,48,5.371,51,7.074,52,8.627,53,5.998,56,8.627,60,5.924,65,6.341,66,9.849,67,9.849,68,9.849,69,5.924,70,6.763,71,6.74,72,4.629,73,6.763,74,4.958,75,3.913,76,3.417,77,4.958,78,4.958,79,6.763,80,5.924,81,5.924,82,6.763,83,5.924,84,3.417,85,5.371,86,5.924,87,6.763,88,6.763]],["keywords/6",[]],["title/7",[27,242.345,89,563.226,90,510.664]],["content/7",[]],["keywords/7",[]],["title/8",[27,242.345,90,510.664,91,339.047]],["content/8",[0,5.456,19,4.495,27,2.348,28,3.794,85,4.947,89,5.456,90,8.793,91,3.284,92,3.147,93,9.27,94,9.27,95,9.27,96,9.27,97,5.456,98,11.072,99,7.577,100,4.263,101,6.796,102,6.229,103,6.229,104,6.229,105,6.229,106,5.456,107,7.362,108,6.229,109,9.27,110,6.229,111,6.229,112,6.229,113,4.567,114,6.229,115,6.229,116,5.456,117,5.456,118,6.229,119,4.947,120,6.229,121,6.229,122,6.229,123,3.794,124,4.01,125,6.229]],["keywords/8",[]],["title/9",[27,295.358,84,395.894]],["content/9",[]],["keywords/9",[]],["title/10",[27,205.466,84,275.404,91,287.453,126,399.67]],["content/10",[27,2.855,28,4.614,84,5.397,92,3.827,123,4.614,124,4.877,126,11.077,127,9.357,128,10.683,129,10.683,130,7.575,131,7.575,132,4.877,133,5.184,134,6.635,135,7.575,136,5.418,137,6.635,138,7.575,139,7.575,140,7.575,141,7.575,142,7.575,143,7.575,144,6.635]],["keywords/10",[]],["title/11",[27,205.466,84,275.404,91,287.453,145,300.708]],["content/11",[27,3.642,28,5.886,84,7.509,92,4.882,123,5.886,124,6.222,127,11.039,136,3.896,144,8.465,145,8.504,146,12.603]],["keywords/11",[]],["title/12",[6,339.065,147,622.372]],["content/12",[]],["keywords/12",[]],["title/13",[6,339.065,75,453.443]],["content/13",[6,4.85,44,7.671,51,6.827,53,6.827,75,8.695,92,5.663,148,9.818,149,9.818,150,7.216]],["keywords/13",[]],["title/14",[6,339.065,147,622.372]],["content/14",[3,7.129,51,5.467,53,5.467,75,7.825,76,4.535,77,8.8,81,7.863,119,7.129,123,7.31,147,9.533,148,7.863,150,7.728,151,8.977,152,8.977,153,8.977,154,8.977,155,8.977,156,7.863,157,8.977]],["keywords/14",[]],["title/15",[27,295.358,158,259.835]],["content/15",[]],["keywords/15",[]],["title/16",[27,242.345,91,339.047,159,372.056]],["content/16",[19,5.075,27,3.944,28,6.374,91,5.518,92,5.287,123,6.374,124,6.738,136,4.219,145,5.773,158,4.398,160,11.62,161,9.167,162,10.466]],["keywords/16",[]],["title/17",[7,622.372,163,622.372]],["content/17",[11,4.73,13,5.489,19,4.852,23,6.054,24,6.054,27,3.771,48,5.489,57,2.787,91,3.644,132,4.45,133,4.73,136,5.93,150,4.45,158,3.317,159,3.999,160,6.054,161,8.764,163,9.339,164,4.209,165,5.489,166,7.946,167,6.912,168,6.912,169,6.912,170,6.912,171,6.912,172,5.067,173,6.054,174,10.005,175,6.912,176,6.912,177,6.912]],["keywords/17",[]],["title/18",[35,311.811,159,372.056,178,643.023]],["content/18",[]],["keywords/18",[]],["title/19",[27,242.345,35,311.811,159,372.056]],["content/19",[19,4.118,27,3.201,35,6.376,50,5.812,51,5.172,53,5.172,123,5.172,150,5.468,159,7.608,179,8.493,180,14.767,181,8.493,182,7.439,183,7.439,184,8.493,185,7.439,186,8.493,187,8.493,188,8.493,189,8.493,190,8.493]],["keywords/19",[]],["title/20",[35,311.811,164,391.608,191,471.406]],["content/20",[9,8.938,11,5.587,35,6.246,57,3.291,74,5.985,92,4.124,132,5.256,133,5.587,136,6.509,159,4.723,164,4.972,191,8.251,192,7.151,193,6.483,194,8.938,195,7.151,196,8.164,197,7.151]],["keywords/20",[]],["title/21",[35,311.811,198,510.664,199,643.023]],["content/21",[35,5.341,85,8.747,150,7.09,159,6.373,172,8.074,183,9.647,198,10.878,200,8.747,201,11.014,202,11.014,203,11.014]],["keywords/21",[]],["title/22",[25,536.321,26,477.272]],["content/22",[]],["keywords/22",[]],["title/23",[204,878.632]],["content/23",[57,3.138,61,3.936,100,3.392,204,4.342,205,7.869,206,4.957,207,4.342,208,4.957,209,7.783,210,5.706,211,3.936,212,4.957,213,4.957,214,5.706,215,3.936,216,4.957,217,6.818,218,3.191,219,6.818,220,4.74,221,3.634,222,2.868,223,4.957,224,3.936,225,4.342,226,4.342,227,4.957,228,4.957,229,4.957,230,3.191,231,4.104,232,4.342,233,4.957,234,3.392,235,4.957,236,4.342,237,2.614,238,3.392,239,2.614,240,3.191,241,4.957,242,3.191,243,4.342,244,3.019,245,3.634,246,3.191,247,7.632,248,3.936,249,3.936,250,4.957,251,3.019,252,4.957,253,3.936,254,3.936,255,4.957,256,4.957,257,2.614,258,4.342,259,3.936,260,7.783,261,3.936,262,4.957,263,4.957,264,4.957]],["keywords/23",[]],["title/24",[265,686.491]],["content/24",[21,4.556,22,7.08,27,1.961,61,4.131,71,3.56,156,7.08,205,4.677,211,4.131,218,3.349,220,3.168,222,3.01,230,3.349,231,5.226,232,4.556,234,8.768,239,2.743,246,3.349,247,4.131,249,6.419,253,4.131,257,2.743,258,4.556,259,4.131,261,4.131,265,3.56,266,4.556,267,3.168,268,4.556,269,5.202,270,2.172,271,3.349,272,3.168,273,8.083,274,5.202,275,5.202,276,5.202,277,5.202,278,5.925,279,5.202,280,4.131,281,5.202,282,5.202,283,6.419,284,5.202,285,5.202,286,4.131,287,5.202,288,4.131,289,4.556,290,4.556,291,5.202,292,5.202,293,3.56,294,5.202,295,5.202,296,3.814,297,5.202,298,8.083,299,4.556,300,3.814,301,5.202]],["keywords/24",[]],["title/25",[25,373.093,84,275.404,302,477.517,303,432.955]],["content/25",[71,5.892,231,6.154,237,4.539,238,5.892,242,5.542,267,5.243,271,5.542,302,7.541,303,6.837,304,7.541,305,5.892,306,8.609,307,6.837,308,8.609,309,7.541,310,6.837,311,8.609,312,8.609,313,8.609,314,8.609,315,8.609,316,8.609,317,8.609,318,7.541,319,4.175,320,8.609,321,8.609]],["keywords/25",[]],["title/26",[158,332.588]],["content/26",[45,3.063,136,3.725,158,3.063,205,5.346,231,6.452,237,4.872,267,5.627,300,6.774,322,8.093,323,9.24,324,9.24,325,6.774,326,9.24,327,8.093,328,6.323,329,9.24,330,9.24,331,6.323,332,9.24,333,9.24,334,9.24,335,9.24]],["keywords/26",[]],["title/27",[336,878.632]],["content/27",[33,3.289,65,3.094,78,3.523,80,6.653,91,2.534,113,3.523,205,2.781,211,6.032,220,2.927,222,4.395,225,4.209,226,6.653,231,6.534,234,6.446,237,2.534,238,3.289,239,4.005,245,3.523,247,3.817,249,6.032,257,2.534,261,3.817,267,2.927,271,3.094,278,3.523,286,6.032,293,3.289,296,3.523,300,3.523,322,4.209,336,4.209,337,7.596,338,4.806,339,4.806,340,3.817,341,4.209,342,3.817,343,7.596,344,3.817,345,4.209,346,2.651,347,4.806,348,4.806,349,4.806,350,4.806,351,4.209,352,4.806,353,4.806,354,4.806,355,3.289,356,4.806,357,3.817,358,4.806,359,4.806,360,4.806,361,4.806,362,6.653,363,3.817,364,4.806,365,7.596,366,4.806,367,4.806,368,4.806,369,4.806,370,4.806,371,4.806,372,4.806,373,4.209]],["keywords/27",[]],["title/28",[374,365.871]],["content/28",[375,9.329]],["keywords/28",[]],["title/29",[145,432.268,376,686.431]],["content/29",[]],["keywords/29",[]],["title/30",[377,686.431,378,622.372]],["content/30",[13,5.807,39,5.807,65,4.707,84,3.694,97,6.405,99,8.306,107,5.807,116,9.125,136,2.948,145,7.296,158,4.024,165,5.807,240,4.707,244,7.391,251,4.453,377,6.405,378,5.807,379,7.312,380,6.405,381,7.312,382,5.004,383,7.312,384,6.405,385,6.405,386,7.312,387,5.807,388,5.361,389,7.312,390,7.312,391,7.312,392,7.312]],["keywords/30",[]],["title/31",[393,878.632]],["content/31",[27,5.171,45,3.063,84,4.668,92,4.668,107,7.338,145,5.096,310,10.896,393,8.093,394,5.948,395,5.346,396,9.718,397,8.093,398,13.72,399,9.24,400,9.24,401,9.24]],["keywords/31",[]],["title/32",[402,878.632]],["content/32",[19,5.557,45,4.329,69,7.34,92,5.789,145,6.321,149,7.34,214,6.144,394,5.395,395,4.849,396,6.655,397,7.34,402,12.295,403,8.38,404,4.465,405,8.38,406,8.38,407,7.34,408,8.38,409,8.38,410,8.38,411,8.38]],["keywords/32",[]],["title/33",[62,536.321,412,686.431]],["content/33",[62,6.232,134,10.615,136,6.096,137,10.615,145,5.023,395,5.269,412,7.976,413,6.676,414,7.976,415,9.106,416,9.106,417,12.119,418,12.119,419,12.119,420,9.106]],["keywords/33",[]],["title/34",[421,878.632]],["content/34",[19,4.232,27,3.29,45,3.906,136,4.749,376,10.318,413,6.399,421,7.645,422,8.728,423,8.728,424,8.728,425,11.78,426,11.78,427,9.355,428,8.728,429,11.78,430,10.318,431,11.78,432,7.645]],["keywords/34",[]],["title/35",[433,574.526,434,622.372]],["content/35",[19,4.175,45,2.854,78,6.311,158,2.854,163,6.837,362,7.541,395,6.753,413,6.311,433,8.556,435,8.609,436,9.268,437,11.671,438,5.243,439,7.541,440,5.892,441,5.049,442,5.896,443,7.541,444,8.609,445,8.609,446,8.609,447,4.981]],["keywords/35",[]],["title/36",[448,622.372,449,686.431]],["content/36",[136,4.601,433,8.366,434,9.063,450,11.412,451,11.412,452,11.412,453,9.996,454,14.002,455,9.996]],["keywords/36",[]],["title/37",[456,1003.116]],["content/37",[136,3.018,345,6.557,433,5.488,434,5.945,453,10.769,455,11.709,457,7.486,458,7.486,459,7.486,460,7.486,461,7.486,462,6.557,463,9.279,464,7.486,465,7.486,466,7.486,467,7.486,468,7.486,469,7.486,470,7.486,471,7.486,472,7.486,473,7.486,474,10.593,475,5.945,476,9.279,477,7.486,478,7.486,479,7.486,480,7.486,481,7.486]],["keywords/37",[]],["title/38",[126,471.406,482,563.226,483,563.226]],["content/38",[19,2.934,45,2.006,126,4.435,132,3.895,136,5.978,145,3.337,158,2.006,166,4.805,280,4.805,414,5.299,441,2.618,463,9.531,482,5.299,483,5.299,484,5.299,485,6.05,486,6.05,487,6.05,488,10.881,489,12.949,490,6.05,491,6.05,492,6.05,493,6.05,494,6.05,495,6.05,496,5.299,497,6.05,498,6.05,499,6.05,500,6.05,501,6.05,502,6.05,503,6.05,504,9.07,505,6.05,506,6.05,507,6.05,508,6.05,509,6.05,510,6.05,511,6.05]],["keywords/38",[]],["title/39",[62,686.491]],["content/39",[]],["keywords/39",[]],["title/40",[512,610.909]],["content/40",[57,5.379,513,7.36]],["keywords/40",[]],["title/41",[270,418.768]],["content/41",[136,5.268,514,13.067,515,10.377]],["keywords/41",[]],["title/42",[331,536.321,516,453.443]],["content/42",[375,9.329]],["keywords/42",[]],["title/43",[404,390.887]],["content/43",[375,9.329]],["keywords/43",[]],["title/44",[517,878.632]],["content/44",[]],["keywords/44",[]],["title/45",[6,339.065,518,574.526]],["content/45",[]],["keywords/45",[]],["title/46",[7,622.372,519,686.431]],["content/46",[76,6.431,132,6.318,133,6.717,136,6.028,164,5.977,193,7.794,194,10.11,395,5.679,519,8.596,520,10.11,521,9.814,522,12.73]],["keywords/46",[]],["title/47",[159,453.443,518,574.526]],["content/47",[83,10.718,92,4.668,150,5.948,182,8.093,518,6.774,523,9.24,524,9.24,525,9.24,526,13.72,527,13.72,528,12.018,529,9.24,530,9.24,531,12.237,532,8.093]],["keywords/47",[]],["title/48",[6,278.207,26,391.608,76,324.836]],["content/48",[6,5.294,25,6.323,26,8.356,45,3.063,51,5.627,53,5.627,65,5.948,76,7.378,84,4.668,272,5.627,518,6.774,520,7.338,532,8.093,533,9.24,534,9.24,535,9.24,536,6.774]],["keywords/48",[]],["title/49",[76,324.836,164,391.608,191,471.406]],["content/49",[9,8.938,11,5.587,57,3.291,74,5.985,76,5.685,92,4.124,123,4.972,132,5.256,133,5.587,136,6.509,164,4.972,191,8.251,192,7.151,193,6.483,194,8.938,195,7.151,197,7.151,238,5.587,537,8.164]],["keywords/49",[]],["title/50",[6,278.207,75,372.056,76,324.836]],["content/50",[6,5.621,51,7.913,53,7.913,75,8.755,76,7.246,230,6.521,270,4.229,520,8.045,538,10.13]],["keywords/50",[]],["title/51",[539,1003.116]],["content/51",[86,11.213,254,10.166,540,8.241,541,12.801]],["keywords/51",[]],["title/52",[328,686.491]],["content/52",[45,3.47,237,5.518,257,5.518,266,9.167,270,4.369,271,6.738,328,7.162,438,6.374,517,9.167,540,6.738,542,7.162,543,7.162,544,10.466,545,10.466,546,10.466]],["keywords/52",[]],["title/53",[547,878.632]],["content/53",[14,3.312,45,1.383,65,2.685,74,3.057,75,2.413,76,3.425,100,7.428,200,3.312,220,2.54,224,7.835,242,2.685,257,3.575,259,3.312,267,2.54,268,3.653,270,1.741,289,3.653,293,2.854,305,5.862,307,3.312,325,6.28,344,3.312,351,3.653,378,5.384,395,2.413,447,2.413,462,5.938,540,2.685,543,5.862,548,4.17,549,6.78,550,9.866,551,6.78,552,3.057,553,3.057,554,4.17,555,4.17,556,3.057,557,5.938,558,3.653,559,4.17,560,6.78,561,4.17,562,4.17,563,4.17,564,4.17,565,4.17,566,4.17,567,4.17,568,4.17,569,3.653,570,4.17,571,2.413,572,3.653,573,3.653,574,4.17,575,4.17,576,7.958,577,3.653,578,3.653,579,4.17,580,6.78,581,3.653,582,4.17,583,4.17,584,4.17,585,4.17,586,3.653,587,6.78,588,6.78,589,4.17,590,4.17,591,3.057,592,2.685,593,4.17]],["keywords/53",[]],["title/54",[594,645.781]],["content/54",[4,2.037,14,1.847,25,1.592,33,2.821,42,1.497,45,1.841,50,3.799,57,0.938,65,1.497,71,1.592,84,1.175,91,1.226,99,1.592,100,5.258,113,1.705,117,2.037,158,0.771,164,1.416,200,1.847,205,4.917,215,1.847,217,2.037,218,1.497,220,2.51,224,3.274,230,1.497,237,1.226,242,3.574,244,1.416,246,4.323,251,3.381,267,1.416,270,3.207,272,1.416,293,1.592,307,1.847,319,1.999,328,2.821,340,3.274,344,3.274,346,1.283,355,1.592,357,3.274,373,2.037,430,3.611,432,2.037,436,1.847,438,1.416,441,1.783,447,1.346,448,1.847,484,2.037,516,1.346,536,3.022,540,3.574,542,2.821,543,3.799,547,2.037,552,3.022,553,1.705,556,7.183,557,2.037,558,3.611,569,3.611,571,4.445,572,2.037,576,6.741,577,3.611,578,2.037,592,1.497,594,3.574,595,1.847,596,5.882,597,4.862,598,1.847,599,2.326,600,1.847,601,2.326,602,2.326,603,2.326,604,2.037,605,2.326,606,4.122,607,1.705,608,2.326,609,2.326,610,2.326,611,2.326,612,2.326,613,2.326,614,5.551,615,4.122,616,3.274,617,4.122,618,2.326,619,2.326,620,2.326,621,4.122,622,2.326,623,2.326,624,2.326,625,2.326,626,2.326,627,2.037,628,2.326,629,2.326,630,2.326,631,2.326,632,2.037,633,2.326,634,2.326,635,2.326,636,2.326,637,2.326,638,2.037,639,2.326,640,2.037,641,2.326,642,2.326,643,2.326,644,2.326,645,2.037,646,2.326,647,2.326,648,2.326,649,2.326,650,2.037,651,1.847,652,2.326,653,1.847,654,2.326,655,2.037,656,2.326,657,2.037,658,2.326,659,2.326,660,2.326,661,2.326,662,2.326,663,2.326,664,2.326,665,1.592,666,2.326,667,2.326,668,2.326,669,2.037,670,1.847,671,1.497,672,2.326,673,2.326,674,2.326]],["keywords/54",[]],["title/55",[220,477.272,288,622.372]],["content/55",[42,3.455,44,2.156,45,1.044,71,2.156,72,6.357,78,3.934,100,4.798,198,2.502,219,2.759,220,5.657,237,1.661,242,3.455,244,3.268,251,5.657,257,1.661,265,2.156,270,2.927,296,2.309,319,3.4,328,5.667,355,4.798,407,6.141,436,2.502,438,1.918,442,2.711,447,1.823,448,8.569,476,2.759,540,3.455,542,3.673,543,5.667,576,5.14,594,5.331,595,2.502,598,4.262,627,2.759,632,2.759,645,2.759,655,2.759,657,2.759,669,2.759,670,5.568,671,2.028,675,8.28,676,3.15,677,10.109,678,3.15,679,2.028,680,3.15,681,2.502,682,3.15,683,3.15,684,3.15,685,3.15,686,3.15,687,3.15,688,3.15,689,7.011,690,10.109,691,3.15,692,4.567,693,5.367,694,3.15,695,3.15,696,2.759,697,3.15,698,5.367,699,5.367,700,3.15,701,3.15,702,3.15,703,3.15,704,3.15,705,3.15,706,2.759,707,2.502,708,2.309,709,3.15,710,3.15,711,3.15,712,3.15,713,3.15,714,3.15,715,3.15,716,3.15]],["keywords/55",[]],["title/56",[512,610.909]],["content/56",[3,1.978,44,1.705,45,2.339,57,3.852,62,4.011,72,1.705,76,1.258,77,1.826,92,1.258,106,2.182,165,3.478,166,1.978,185,2.182,214,1.826,218,1.604,221,1.826,222,2.534,230,3.773,231,6.442,234,1.705,237,3.719,239,3.09,243,2.182,245,4.297,251,2.667,257,1.313,270,2.447,278,1.826,283,1.978,305,1.705,327,2.182,346,3.891,374,2.931,384,2.182,404,0.971,413,1.826,438,1.517,440,2.997,443,2.182,449,2.182,512,1.517,513,1.374,536,1.826,540,5.173,543,1.705,553,1.826,573,3.836,576,1.826,591,1.826,594,4.541,595,3.478,607,1.826,671,1.604,679,2.819,707,3.478,717,2.491,718,1.826,719,2.491,720,2.491,721,4.38,722,1.978,723,1.826,724,1.705,725,2.491,726,2.491,727,2.491,728,2.491,729,5.861,730,4.38,731,3.836,732,1.517,733,2.491,734,2.491,735,3.211,736,2.491,737,1.826,738,2.491,739,2.182,740,2.491,741,2.491,742,2.491,743,2.491,744,2.491,745,2.491,746,2.491,747,2.491,748,2.491,749,2.491,750,2.491,751,2.491,752,1.604,753,2.491,754,2.491,755,2.491,756,2.491,757,2.491,758,2.491,759,2.491,760,2.491,761,2.491,762,2.491,763,2.491,764,2.491,765,2.491,766,2.491,767,2.491,768,5.861,769,4.38,770,2.491,771,2.491,772,2.124,773,4.059,774,2.491,775,2.491,776,1.978,777,4.38,778,2.491,779,4.38,780,2.491,781,2.491,782,2.491,783,2.491,784,7.054,785,2.491,786,2.491,787,2.491,788,2.491,789,1.705,790,2.491,791,2.491,792,2.491,793,2.491,794,2.491]],["keywords/56",[]],["title/57",[50,536.321,357,622.372]],["content/57",[]],["keywords/57",[]],["title/58",[681,796.636]],["content/58",[42,9.014,57,4.601,205,6.603,231,6.017,270,4.764,305,7.81,319,5.534,556,8.366,731,9.996]],["keywords/58",[]],["title/59",[773,506.744]],["content/59",[]],["keywords/59",[]],["title/60",[374,234.533,772,311.811,795,643.023]],["content/60",[35,1.807,42,2.399,45,2.05,57,2.492,63,3.264,77,2.732,119,2.96,158,3.056,173,3.264,215,2.96,218,2.399,222,2.156,242,3.98,244,2.27,251,5.614,257,1.965,267,2.27,270,2.581,271,2.399,304,3.264,331,2.551,342,2.96,355,2.551,374,4.623,385,3.264,388,4.532,396,2.96,438,2.27,439,3.264,512,5.614,528,3.264,553,2.732,586,3.264,591,2.732,596,3.264,600,2.96,607,2.732,650,3.264,671,2.399,679,5.099,707,2.96,708,2.732,718,2.732,732,2.27,737,2.732,772,4.957,796,3.727,797,3.727,798,6.291,799,3.727,800,3.727,801,3.727,802,4.231,803,5.415,804,2.732,805,2.551,806,6.758,807,3.727,808,3.727,809,3.727,810,3.727,811,2.551,812,3.727,813,3.727,814,3.727,815,3.727,816,3.727,817,3.727,818,3.264,819,3.727,820,3.727,821,3.727,822,3.727,823,3.727,824,3.727,825,3.727,826,6.182,827,3.727,828,3.727,829,3.727,830,3.727,831,3.727,832,3.264,833,3.727,834,3.727,835,3.727,836,3.727,837,3.264]],["keywords/60",[]],["title/61",[404,390.887]],["content/61",[35,5.851,374,4.401,804,8.846,838,12.067,839,10.569,840,12.067,841,10.569]],["keywords/61",[]],["title/62",[512,610.909]],["content/62",[42,5.123,50,9.397,57,3.208,101,8.106,205,6.398,222,4.604,234,5.446,244,6.734,253,6.32,271,5.123,288,6.32,363,6.32,513,6.099,556,5.834,732,4.846,735,5.834,802,5.446,842,6.97,843,6.97,844,7.958,845,11.057,846,7.958,847,7.958,848,7.958,849,6.97,850,6.97]],["keywords/62",[]],["title/63",[270,418.768]],["content/63",[136,5.268,515,10.377,851,11.445]],["keywords/63",[]],["title/64",[331,536.321,516,453.443]],["content/64",[375,9.329]],["keywords/64",[]],["title/65",[404,390.887]],["content/65",[375,9.329]],["keywords/65",[]],["title/66",[57,315.96,718,574.526]],["content/66",[]],["keywords/66",[]],["title/67",[346,432.268,571,453.443]],["content/67",[]],["keywords/67",[]],["title/68",[681,796.636]],["content/68",[99,9.361,346,7.11,382,4.73,404,2.693,475,5.489,552,5.067,571,8.51,651,10.237,653,5.489,665,8.048,732,4.209,852,10.3,853,5.489,854,5.489,855,6.912,856,6.054,857,6.054,858,6.054,859,6.054,860,7.335,861,6.054,862,6.054,863,6.054,864,6.054,865,6.054]],["keywords/68",[]],["title/69",[512,610.909]],["content/69",[57,1.521,75,2.182,99,7.587,101,4.577,113,2.765,207,3.304,237,1.989,244,3.802,303,2.995,342,2.995,346,6.115,382,2.581,387,2.995,404,1.47,475,2.995,513,3.444,536,4.577,552,2.765,571,7.958,598,2.995,651,8.804,653,2.995,665,5.467,692,2.08,696,3.304,723,4.577,732,2.297,789,2.581,802,4.273,803,3.304,842,3.304,843,3.304,849,6.997,850,3.304,852,8.133,853,2.995,854,2.995,856,3.304,857,3.304,858,3.304,859,3.304,860,8.128,861,3.304,862,3.304,863,9.711,864,5.468,865,5.468,866,3.772,867,3.772,868,6.243,869,3.772,870,3.772,871,3.772,872,6.243,873,3.772,874,3.772,875,3.772,876,3.772,877,3.304,878,3.304,879,3.772,880,3.772,881,2.428,882,3.772,883,3.772,884,3.772,885,3.772,886,3.772,887,3.304]],["keywords/69",[]],["title/70",[270,418.768]],["content/70",[136,5.268,515,10.377,851,11.445]],["keywords/70",[]],["title/71",[331,536.321,516,453.443]],["content/71",[]],["keywords/71",[]],["title/72",[382,440.058,571,372.056,860,471.406]],["content/72",[57,1.952,124,3.118,221,5.602,230,4.92,231,4.991,236,4.242,239,2.553,254,3.846,280,3.846,296,3.55,300,3.55,305,3.314,309,4.242,310,3.846,325,5.602,382,7.356,438,2.949,496,8.291,513,2.671,571,6.219,581,4.242,597,4.242,616,7.518,665,5.23,671,3.118,718,3.55,723,3.55,772,2.348,773,5.43,789,5.23,832,4.242,853,3.846,854,3.846,860,3.55,877,8.291,878,4.242,881,3.118,888,6.069,889,4.843,890,4.843,891,10.749,892,9.466,893,4.843,894,4.843,895,4.843,896,4.843,897,4.843,898,7.642,899,4.843,900,4.843,901,4.843,902,4.843,903,4.843,904,4.843,905,4.843,906,4.843]],["keywords/72",[]],["title/73",[404,390.887]],["content/73",[231,6.616,571,7.26,616,11.773,907,12.547]],["keywords/73",[]],["title/74",[513,553.303]],["content/74",[45,2.219,57,3.94,124,4.308,158,2.219,222,3.872,237,3.528,240,4.308,319,5.598,374,2.441,394,4.308,404,2.608,427,5.314,441,2.895,442,3.38,513,7.003,542,4.579,592,4.308,604,5.861,692,3.691,706,5.861,739,5.861,752,4.308,772,3.245,773,6.413,806,4.906,908,6.692,909,5.861,910,5.861,911,5.314,912,5.314,913,5.861,914,5.861,915,6.692,916,6.692,917,6.692,918,6.692,919,6.692,920,6.692,921,6.692,922,6.692]],["keywords/74",[]],["title/75",[272,477.272,724,536.321]],["content/75",[45,1.987,158,1.987,221,4.393,239,3.16,240,5.798,248,4.759,270,2.502,272,8.805,319,4.367,374,3.285,395,3.467,404,2.335,440,4.101,441,2.593,447,3.467,516,3.467,592,3.858,640,5.249,692,5.967,724,7.404,737,4.393,772,2.906,773,6.515,776,4.759,789,4.101,804,4.393,923,4.759,924,5.249,925,5.993,926,5.993,927,5.993,928,5.993,929,5.993,930,5.993,931,5.993,932,5.993,933,5.993,934,2.906,935,5.249,936,5.993,937,4.393,938,5.249]],["keywords/75",[]],["title/76",[939,878.632]],["content/76",[158,2.934,319,4.292,374,3.228,404,3.449,441,3.829,442,4.471,447,5.121,692,4.882,708,6.489,773,6.784,923,7.029,934,4.292,937,6.489,939,12.575,940,6.489,941,7.752,942,8.851,943,7.029,944,7.752,945,7.752,946,7.752]],["keywords/76",[]],["title/77",[947,878.632]],["content/77",[158,2.894,319,4.232,374,3.183,404,3.401,441,3.776,442,4.409,447,6.816,692,4.814,708,6.399,773,6.736,923,6.932,934,4.232,937,6.399,943,6.932,944,7.645,945,7.645,947,12.504,948,7.645,949,8.728,950,7.645,951,8.728]],["keywords/77",[]],["title/78",[940,574.526,952,686.431]],["content/78",[45,3.87,158,2.854,374,3.14,404,3.355,441,3.725,442,4.349,447,6.753,692,6.437,773,5.896,805,7.987,912,6.837,934,4.175,940,6.311,952,7.541,953,11.671,954,11.671,955,6.837,956,7.541,957,8.609,958,7.541,959,8.609]],["keywords/78",[]],["title/79",[210,574.526,346,432.268]],["content/79",[35,4.959,45,3.966,49,3.884,72,3.035,158,1.47,210,3.251,239,2.338,240,2.855,246,2.855,248,3.521,272,2.7,346,2.446,374,2.598,394,4.586,395,4.122,513,2.446,516,2.566,638,3.884,679,2.855,692,3.93,735,9.889,737,3.251,752,2.855,772,2.15,773,5.166,804,3.251,805,4.876,811,3.035,818,3.884,887,9.811,911,3.521,912,5.658,934,2.15,935,3.884,937,3.251,938,3.884,955,5.658,960,4.434,961,3.884,962,4.434,963,4.434,964,4.434,965,5.658,966,4.434,967,4.434,968,4.434,969,6.24,970,11.202,971,4.434,972,8.93,973,4.434,974,4.434,975,4.434,976,4.434,977,4.434,978,3.884,979,4.434,980,4.434,981,4.434]],["keywords/79",[]],["title/80",[47,622.372,811,536.321]],["content/80",[40,7.029,47,9.443,158,2.934,210,6.489,218,5.698,240,5.698,257,4.667,346,4.882,374,3.228,441,3.829,442,4.471,732,5.39,773,4.471,802,6.057,805,6.057,811,9.19,934,4.292,955,7.029,982,8.851,983,8.851,984,8.851,985,8.851,986,7.752]],["keywords/80",[]],["title/81",[394,504.517,965,622.372]],["content/81",[40,8.452,158,3.528,374,3.882,394,6.851,441,4.604,442,5.376,773,5.376,805,7.283,934,5.161,965,8.452,987,10.642,988,10.642,989,10.642,990,10.642]],["keywords/81",[]],["title/82",[888,796.636]],["content/82",[39,4.759,45,1.987,57,3.631,158,1.987,172,4.393,246,3.858,270,2.502,286,4.759,299,5.249,319,2.906,341,10.537,355,4.101,374,2.186,387,4.759,404,2.335,427,4.759,440,4.101,441,2.593,516,3.467,592,5.798,665,6.163,671,3.858,723,9.454,752,3.858,772,2.906,806,4.393,881,7.744,888,4.759,909,5.249,934,2.906,991,9.005,992,10.819,993,5.993,994,5.993,995,5.993,996,5.993,997,5.993,998,5.993,999,5.993,1000,5.993,1001,5.993,1002,5.993,1003,5.993,1004,5.993]],["keywords/82",[]],["title/83",[265,686.491]],["content/83",[45,2.242,101,4.958,158,3.265,214,4.958,246,6.341,251,5.998,265,7.949,270,2.823,293,4.629,363,10.133,374,3.592,380,5.924,441,2.926,442,3.417,512,4.119,513,3.731,542,4.629,594,4.354,607,4.958,670,5.371,692,3.731,752,4.354,772,3.28,789,4.629,798,5.371,806,4.958,881,6.341,914,5.924,934,3.28,1005,6.763,1006,6.763,1007,6.763,1008,6.763,1009,6.763,1010,6.763,1011,6.763,1012,6.763,1013,6.763]],["keywords/83",[]],["title/84",[388,735.393]],["content/84",[11,4.629,45,3.851,57,3.971,72,4.629,158,2.242,205,3.913,245,9.354,257,3.566,270,2.823,278,4.958,283,5.371,319,3.28,374,2.467,388,9.942,404,2.636,440,4.629,441,2.926,592,6.341,594,4.354,679,4.354,732,4.119,752,4.354,772,3.28,798,7.822,802,4.629,837,5.924,934,3.28,1014,9.849,1015,6.763,1016,6.763,1017,6.763,1018,6.763,1019,6.763,1020,6.763,1021,6.763]],["keywords/84",[]],["title/85",[722,796.636]],["content/85",[45,2.779,91,4.419,158,2.779,172,6.144,238,5.735,318,7.34,319,4.064,374,4.179,404,3.266,441,3.626,442,4.234,600,6.655,722,9.1,772,4.064,776,6.655,881,7.377,934,4.064,1022,8.38,1023,11.459,1024,11.459,1025,11.459,1026,7.34,1027,8.38,1028,8.38]],["keywords/85",[]],["title/86",[1029,878.632]],["content/86",[45,3.204,158,3.204,319,4.686,340,7.675,374,3.525,404,3.766,441,4.181,442,4.882,516,5.592,881,9.029,934,4.686,1026,8.465,1029,12.285,1030,9.664,1031,9.664,1032,9.664]],["keywords/86",[]],["title/87",[404,390.887]],["content/87",[]],["keywords/87",[]],["title/88",[239,413.213,325,574.526]],["content/88",[222,6.158,231,5.611,239,7.069,272,6.481,679,6.851,724,7.283,940,7.802,1033,10.642,1034,10.642,1035,10.642,1036,10.642,1037,10.642,1038,10.642]],["keywords/88",[]],["title/89",[239,413.213,290,686.431]],["content/89",[374,2.667,591,5.361,724,5.004,735,7.638,811,5.004,839,6.405,910,6.405,911,5.807,913,6.405,924,6.405,941,6.405,943,8.274,946,6.405,948,6.405,950,6.405,956,6.405,958,6.405,961,6.405,969,6.405,978,6.405,986,6.405,1039,7.312,1040,7.312,1041,7.312,1042,7.312,1043,7.312,1044,7.312,1045,7.312,1046,7.312,1047,7.312,1048,7.312,1049,7.312,1050,7.312,1051,7.312,1052,7.312,1053,7.312,1054,7.312,1055,7.312,1056,7.312]],["keywords/89",[]],["title/90",[1057,1003.116]],["content/90",[35,6.208,374,4.669,772,6.208,841,11.213]],["keywords/90",[]]],"invertedIndex":[["",{"_index":136,"title":{},"content":{"10":{"position":[[175,1],[184,1],[292,2],[295,1]]},"11":{"position":[[80,1]]},"16":{"position":[[57,1]]},"17":{"position":[[189,1],[339,1],[358,1],[378,1],[462,1],[464,1],[466,2]]},"20":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[218,2],[221,2],[224,2],[227,2],[230,2]]},"26":{"position":[[242,2]]},"30":{"position":[[200,2]]},"33":{"position":[[149,1],[199,1],[201,3],[268,1],[318,1]]},"34":{"position":[[117,3],[167,3]]},"36":{"position":[[57,3]]},"37":{"position":[[282,3]]},"38":{"position":[[129,1],[157,1],[274,2],[295,1],[392,2],[481,1],[566,1],[597,1],[622,1]]},"41":{"position":[[22,4]]},"46":{"position":[[100,1],[108,1],[154,2],[157,2]]},"49":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[203,2],[206,2],[209,2],[212,2],[215,2]]},"63":{"position":[[29,4]]},"70":{"position":[[29,4]]}},"keywords":{}}],["0",{"_index":887,"title":{},"content":{"69":{"position":[[765,4]]},"79":{"position":[[550,4],[564,2],[576,2],[588,2],[600,2]]}},"keywords":{}}],["0..1",{"_index":849,"title":{},"content":{"62":{"position":[[243,4]]},"69":{"position":[[229,4],[525,4],[1119,4]]}},"keywords":{}}],["02",{"_index":94,"title":{},"content":{"8":{"position":[[28,2],[59,2]]}},"keywords":{}}],["07",{"_index":938,"title":{},"content":{"75":{"position":[[545,2]]},"79":{"position":[[259,2]]}},"keywords":{}}],["07/schema.$id",{"_index":810,"title":{},"content":{"60":{"position":[[543,13]]}},"keywords":{}}],["07rfc",{"_index":838,"title":{},"content":{"61":{"position":[[7,5]]}},"keywords":{}}],["1",{"_index":106,"title":{},"content":{"8":{"position":[[177,1]]},"56":{"position":[[744,1]]}},"keywords":{}}],["1..1",{"_index":845,"title":{},"content":{"62":{"position":[[63,4],[184,4]]}},"keywords":{}}],["1.0",{"_index":180,"title":{},"content":{"19":{"position":[[19,3],[73,3],[133,3],[200,3],[251,3]]}},"keywords":{}}],["1.0/hello.md",{"_index":201,"title":{},"content":{"21":{"position":[[91,12]]}},"keywords":{}}],["10",{"_index":904,"title":{},"content":{"72":{"position":[[646,4]]}},"keywords":{}}],["10646",{"_index":915,"title":{},"content":{"74":{"position":[[177,5]]}},"keywords":{}}],["10px",{"_index":497,"title":{},"content":{"38":{"position":[[247,7]]}},"keywords":{}}],["1123",{"_index":948,"title":{},"content":{"77":{"position":[[59,5]]},"89":{"position":[[30,4]]}},"keywords":{}}],["12",{"_index":900,"title":{},"content":{"72":{"position":[[502,4]]}},"keywords":{}}],["18.0",{"_index":36,"title":{},"content":{"4":{"position":[[17,4]]}},"keywords":{}}],["1standard",{"_index":916,"title":{},"content":{"74":{"position":[[183,10]]}},"keywords":{}}],["2",{"_index":185,"title":{},"content":{"19":{"position":[[187,1]]},"56":{"position":[[752,1]]}},"keywords":{}}],["2.1",{"_index":949,"title":{},"content":{"77":{"position":[[73,3]]}},"keywords":{}}],["2.2",{"_index":959,"title":{},"content":{"78":{"position":[[179,4]]}},"keywords":{}}],["2.3.2.3",{"_index":951,"title":{},"content":{"77":{"position":[[201,8]]}},"keywords":{}}],["20px",{"_index":494,"title":{},"content":{"38":{"position":[[215,7]]}},"keywords":{}}],["2373",{"_index":958,"title":{},"content":{"78":{"position":[[165,5]]},"89":{"position":[[55,4]]}},"keywords":{}}],["262",{"_index":989,"title":{},"content":{"81":{"position":[[66,3]]}},"keywords":{}}],["262json",{"_index":1040,"title":{},"content":{"89":{"position":[[6,7]]}},"keywords":{}}],["2673",{"_index":956,"title":{},"content":{"78":{"position":[[104,5]]},"89":{"position":[[70,4]]}},"keywords":{}}],["28",{"_index":95,"title":{},"content":{"8":{"position":[[31,2],[62,2]]}},"keywords":{}}],["3",{"_index":171,"title":{},"content":{"17":{"position":[[183,1]]}},"keywords":{}}],["3.2",{"_index":957,"title":{},"content":{"78":{"position":[[118,4]]}},"keywords":{}}],["3166",{"_index":740,"title":{},"content":{"56":{"position":[[739,4]]}},"keywords":{}}],["3339",{"_index":924,"title":{},"content":{"75":{"position":[[53,5]]},"89":{"position":[[85,4]]}},"keywords":{}}],["3629",{"_index":913,"title":{},"content":{"74":{"position":[[138,5]]},"89":{"position":[[109,4]]}},"keywords":{}}],["3986",{"_index":961,"title":{},"content":{"79":{"position":[[71,5]]},"89":{"position":[[125,4]]}},"keywords":{}}],["4.1.2",{"_index":942,"title":{},"content":{"76":{"position":[[76,5]]}},"keywords":{}}],["4122",{"_index":969,"title":{},"content":{"79":{"position":[[480,5],[727,4]]},"89":{"position":[[139,4]]}},"keywords":{}}],["5)rfc",{"_index":1050,"title":{},"content":{"89":{"position":[[153,5]]}},"keywords":{}}],["5.6",{"_index":925,"title":{},"content":{"75":{"position":[[67,3]]}},"keywords":{}}],["515112",{"_index":743,"title":{},"content":{"56":{"position":[[776,6]]}},"keywords":{}}],["5321",{"_index":941,"title":{},"content":{"76":{"position":[[62,5]]},"89":{"position":[[159,4]]}},"keywords":{}}],["5890",{"_index":950,"title":{},"content":{"77":{"position":[[187,5]]},"89":{"position":[[180,4]]}},"keywords":{}}],["6",{"_index":980,"title":{},"content":{"79":{"position":[[759,1]]}},"keywords":{}}],["600",{"_index":216,"title":{},"content":{"23":{"position":[[89,3]]}},"keywords":{}}],["6531",{"_index":946,"title":{},"content":{"76":{"position":[[186,5]]},"89":{"position":[[221,4]]}},"keywords":{}}],["6570",{"_index":986,"title":{},"content":{"80":{"position":[[206,5]]},"89":{"position":[[255,4]]}},"keywords":{}}],["8",{"_index":911,"title":{},"content":{"74":{"position":[[108,1]]},"79":{"position":[[761,2]]},"89":{"position":[[307,2]]}},"keywords":{}}],["8)rfc",{"_index":1047,"title":{},"content":{"89":{"position":[[119,5]]}},"keywords":{}}],["8259",{"_index":839,"title":{},"content":{"61":{"position":[[13,4]]},"89":{"position":[[278,4]]}},"keywords":{}}],["8601",{"_index":928,"title":{},"content":{"75":{"position":[[105,5]]}},"keywords":{}}],["9562",{"_index":978,"title":{},"content":{"79":{"position":[[704,4]]},"89":{"position":[[293,4]]}},"keywords":{}}],["9a",{"_index":970,"title":{},"content":{"79":{"position":[[555,2],[567,2],[579,2],[591,2],[603,2]]}},"keywords":{}}],["a[pi",{"_index":458,"title":{},"content":{"37":{"position":[[21,7]]}},"keywords":{}}],["abil",{"_index":286,"title":{},"content":{"24":{"position":[[529,7]]},"27":{"position":[[555,7],[884,7]]},"82":{"position":[[108,7]]}},"keywords":{}}],["abov",{"_index":37,"title":{},"content":{"4":{"position":[[25,6]]}},"keywords":{}}],["absenc",{"_index":1031,"title":{},"content":{"86":{"position":[[125,7]]}},"keywords":{}}],["absolut",{"_index":403,"title":{},"content":{"32":{"position":[[53,8]]}},"keywords":{}}],["accept",{"_index":1026,"title":{},"content":{"85":{"position":[[154,8]]},"86":{"position":[[64,10]]}},"keywords":{}}],["access",{"_index":533,"title":{},"content":{"48":{"position":[[94,10]]}},"keywords":{}}],["accesscr",{"_index":339,"title":{},"content":{"27":{"position":[[53,13]]}},"keywords":{}}],["accommod",{"_index":897,"title":{},"content":{"72":{"position":[[370,11]]}},"keywords":{}}],["accur",{"_index":320,"title":{},"content":{"25":{"position":[[239,10]]}},"keywords":{}}],["accuraci",{"_index":644,"title":{},"content":{"54":{"position":[[1596,8]]}},"keywords":{}}],["achiev",{"_index":362,"title":{},"content":{"27":{"position":[[437,7],[525,7]]},"35":{"position":[[126,8]]}},"keywords":{}}],["acronym",{"_index":539,"title":{"51":{"position":[[0,9]]}},"content":{},"keywords":{}}],["act",{"_index":552,"title":{},"content":{"53":{"position":[[86,3]]},"54":{"position":[[317,3],[782,3]]},"68":{"position":[[284,3]]},"69":{"position":[[1057,3]]}},"keywords":{}}],["action",{"_index":430,"title":{},"content":{"34":{"position":[[147,6],[228,6]]},"54":{"position":[[180,6],[1349,6]]}},"keywords":{}}],["activ",{"_index":556,"title":{},"content":{"53":{"position":[[224,11]]},"54":{"position":[[131,11],[209,8],[295,8],[378,9],[735,8],[831,8],[1759,9],[2011,8]]},"58":{"position":[[102,9]]},"62":{"position":[[131,8]]}},"keywords":{}}],["actor",{"_index":547,"title":{"53":{"position":[[0,7]]}},"content":{"54":{"position":[[2375,6]]}},"keywords":{}}],["ad",{"_index":49,"title":{},"content":{"5":{"position":[[104,5]]},"79":{"position":[[735,6]]}},"keywords":{}}],["adapt",{"_index":263,"title":{},"content":{"23":{"position":[[821,5]]}},"keywords":{}}],["add",{"_index":164,"title":{"20":{"position":[[0,3]]},"49":{"position":[[0,3]]}},"content":{"17":{"position":[[67,3]]},"20":{"position":[[41,3]]},"46":{"position":[[32,3]]},"49":{"position":[[42,3]]},"54":{"position":[[2106,3]]}},"keywords":{}}],["addit",{"_index":706,"title":{},"content":{"55":{"position":[[1277,10]]},"74":{"position":[[313,9]]}},"keywords":{}}],["address",{"_index":940,"title":{"78":{"position":[[3,8]]}},"content":{"76":{"position":[[7,9]]},"78":{"position":[[4,9]]},"88":{"position":[[1,7]]}},"keywords":{}}],["adject",{"_index":659,"title":{},"content":{"54":{"position":[[2151,9]]}},"keywords":{}}],["admonit",{"_index":421,"title":{"34":{"position":[[0,12]]}},"content":{"34":{"position":[[43,11]]}},"keywords":{}}],["adopt",{"_index":309,"title":{},"content":{"25":{"position":[[64,5]]},"72":{"position":[[83,8]]}},"keywords":{}}],["agenc",{"_index":580,"title":{},"content":{"53":{"position":[[861,6],[923,6]]}},"keywords":{}}],["agnost",{"_index":975,"title":{},"content":{"79":{"position":[[643,8]]}},"keywords":{}}],["agreement",{"_index":622,"title":{},"content":{"54":{"position":[[976,10]]}},"keywords":{}}],["ai",{"_index":301,"title":{},"content":{"24":{"position":[[825,3]]}},"keywords":{}}],["aim",{"_index":544,"title":{},"content":{"52":{"position":[[82,3]]}},"keywords":{}}],["air",{"_index":884,"title":{},"content":{"69":{"position":[[738,3]]}},"keywords":{}}],["alert",{"_index":471,"title":{},"content":{"37":{"position":[[178,7]]}},"keywords":{}}],["alert(`y",{"_index":501,"title":{},"content":{"38":{"position":[[297,10]]}},"keywords":{}}],["allow",{"_index":485,"title":{},"content":{"38":{"position":[[54,6]]}},"keywords":{}}],["alon",{"_index":213,"title":{},"content":{"23":{"position":[[69,5]]}},"keywords":{}}],["along",{"_index":761,"title":{},"content":{"56":{"position":[[1213,5]]}},"keywords":{}}],["alpha",{"_index":741,"title":{},"content":{"56":{"position":[[746,5]]}},"keywords":{}}],["altern",{"_index":906,"title":{},"content":{"72":{"position":[[716,12]]}},"keywords":{}}],["alway",{"_index":1006,"title":{},"content":{"83":{"position":[[75,6]]}},"keywords":{}}],["amend",{"_index":611,"title":{},"content":{"54":{"position":[[574,5]]}},"keywords":{}}],["american",{"_index":745,"title":{},"content":{"56":{"position":[[796,8]]}},"keywords":{}}],["amp",{"_index":843,"title":{},"content":{"62":{"position":[[35,5]]},"69":{"position":[[194,5]]}},"keywords":{}}],["analysi",{"_index":345,"title":{},"content":{"27":{"position":[[142,8]]},"37":{"position":[[110,10]]}},"keywords":{}}],["analyt",{"_index":225,"title":{},"content":{"23":{"position":[[196,9]]},"27":{"position":[[474,9]]}},"keywords":{}}],["and/or",{"_index":789,"title":{},"content":{"56":{"position":[[1978,6]]},"69":{"position":[[137,6]]},"72":{"position":[[204,6],[457,6]]},"75":{"position":[[6,6]]},"83":{"position":[[340,6]]}},"keywords":{}}],["annot",{"_index":796,"title":{},"content":{"60":{"position":[[43,8]]}},"keywords":{}}],["answer",{"_index":657,"title":{},"content":{"54":{"position":[[2080,8]]},"55":{"position":[[381,7]]}},"keywords":{}}],["anyth",{"_index":834,"title":{},"content":{"60":{"position":[[1361,8]]}},"keywords":{}}],["anywher",{"_index":152,"title":{},"content":{"14":{"position":[[156,8]]}},"keywords":{}}],["api",{"_index":784,"title":{},"content":{"56":{"position":[[1894,3],[1935,5],[2072,4],[2121,4]]}},"keywords":{}}],["appear",{"_index":197,"title":{},"content":{"20":{"position":[[261,7]]},"49":{"position":[[244,7]]}},"keywords":{}}],["applic",{"_index":576,"title":{},"content":{"53":{"position":[[775,10],[789,11],[841,10],[959,12],[1042,12]]},"54":{"position":[[513,11],[1306,12],[1391,12],[1945,12],[2095,10],[2177,11],[2271,12]]},"55":{"position":[[210,11],[964,11],[1247,11]]},"56":{"position":[[1901,11]]}},"keywords":{}}],["application/json",{"_index":781,"title":{},"content":{"56":{"position":[[1828,17]]}},"keywords":{}}],["appropri",{"_index":338,"title":{},"content":{"27":{"position":[[36,11]]}},"keywords":{}}],["approv",{"_index":462,"title":{},"content":{"37":{"position":[[60,9]]},"53":{"position":[[392,10],[648,8]]}},"keywords":{}}],["area",{"_index":597,"title":{},"content":{"54":{"position":[[190,4],[659,4],[1528,5]]},"72":{"position":[[116,5]]}},"keywords":{}}],["around",{"_index":121,"title":{},"content":{"8":{"position":[[476,6]]}},"keywords":{}}],["array",{"_index":388,"title":{"84":{"position":[[0,6]]}},"content":{"30":{"position":[[351,5]]},"60":{"position":[[1262,5],[1398,5]]},"84":{"position":[[1,6],[61,5],[116,5],[307,5],[444,6]]}},"keywords":{}}],["asiso",{"_index":927,"title":{},"content":{"75":{"position":[[99,5]]}},"keywords":{}}],["assign",{"_index":859,"title":{},"content":{"68":{"position":[[180,7]]},"69":{"position":[[953,7]]}},"keywords":{}}],["associ",{"_index":780,"title":{},"content":{"56":{"position":[[1770,10]]}},"keywords":{}}],["at"",{"_index":704,"title":{},"content":{"55":{"position":[[1168,8]]}},"keywords":{}}],["attempt",{"_index":637,"title":{},"content":{"54":{"position":[[1445,7]]}},"keywords":{}}],["attribut",{"_index":803,"title":{},"content":{"60":{"position":[[388,11],[1186,10]]},"69":{"position":[[391,9]]}},"keywords":{}}],["author",{"_index":100,"title":{},"content":{"8":{"position":[[116,8]]},"23":{"position":[[577,13]]},"53":{"position":[[190,13],[316,9],[376,15],[490,13],[1153,13]]},"54":{"position":[[242,15],[583,14],[764,13],[879,14],[1913,14]]},"55":{"position":[[229,13],[979,13],[1262,14]]}},"keywords":{}}],["autom",{"_index":279,"title":{},"content":{"24":{"position":[[324,8]]}},"keywords":{}}],["automat",{"_index":48,"title":{},"content":{"5":{"position":[[87,13]]},"6":{"position":[[438,13]]},"17":{"position":[[12,13]]}},"keywords":{}}],["automation.unlock",{"_index":285,"title":{},"content":{"24":{"position":[[507,17]]}},"keywords":{}}],["avail",{"_index":124,"title":{},"content":{"8":{"position":[[548,9]]},"10":{"position":[[317,9]]},"11":{"position":[[143,9]]},"16":{"position":[[131,9]]},"72":{"position":[[357,9]]},"74":{"position":[[509,9]]}},"keywords":{}}],["awesom",{"_index":426,"title":{},"content":{"34":{"position":[[94,7],[189,7]]}},"keywords":{}}],["b",{"_index":453,"title":{},"content":{"36":{"position":[[39,1]]},"37":{"position":[[70,1],[90,1],[243,1]]}},"keywords":{}}],["b(stakehold",{"_index":461,"title":{},"content":{"37":{"position":[[46,13]]}},"keywords":{}}],["b.c.'",{"_index":208,"title":{},"content":{"23":{"position":[[32,6]]}},"keywords":{}}],["backgroundcolor",{"_index":492,"title":{},"content":{"38":{"position":[[177,16]]}},"keywords":{}}],["band",{"_index":816,"title":{},"content":{"60":{"position":[[708,4]]}},"keywords":{}}],["barfind",{"_index":17,"title":{},"content":{"1":{"position":[[175,7]]}},"keywords":{}}],["base",{"_index":299,"title":{},"content":{"24":{"position":[[780,5]]},"82":{"position":[[272,5]]}},"keywords":{}}],["bc",{"_index":616,"title":{},"content":{"54":{"position":[[875,3],[1822,3]]},"72":{"position":[[56,2],[223,2],[305,2]]},"73":{"position":[[1,2],[28,2]]}},"keywords":{}}],["be",{"_index":653,"title":{},"content":{"54":{"position":[[1876,5]]},"68":{"position":[[232,5]]},"69":{"position":[[1005,5]]}},"keywords":{}}],["befor",{"_index":984,"title":{},"content":{"80":{"position":[[147,6]]}},"keywords":{}}],["begin",{"_index":683,"title":{},"content":{"55":{"position":[[340,9]]}},"keywords":{}}],["behalf",{"_index":895,"title":{},"content":{"72":{"position":[[264,6]]}},"keywords":{}}],["belong",{"_index":603,"title":{},"content":{"54":{"position":[[436,6]]}},"keywords":{}}],["best",{"_index":323,"title":{},"content":{"26":{"position":[[7,4]]}},"keywords":{}}],["better",{"_index":253,"title":{},"content":{"23":{"position":[[683,6]]},"24":{"position":[[78,6]]},"62":{"position":[[320,6]]}},"keywords":{}}],["between",{"_index":671,"title":{},"content":{"54":{"position":[[2359,7]]},"55":{"position":[[1597,7]]},"56":{"position":[[1495,7]]},"60":{"position":[[301,7]]},"72":{"position":[[584,7]]},"82":{"position":[[133,7]]}},"keywords":{}}],["block",{"_index":412,"title":{"33":{"position":[[5,7]]}},"content":{"33":{"position":[[15,6]]}},"keywords":{}}],["blog",{"_index":89,"title":{"7":{"position":[[9,4]]}},"content":{"8":{"position":[[531,4]]}},"keywords":{}}],["blog/2021",{"_index":93,"title":{},"content":{"8":{"position":[[18,9],[49,9]]}},"keywords":{}}],["blue",{"_index":511,"title":{},"content":{"38":{"position":[[617,4]]}},"keywords":{}}],["blue</highlight>",{"_index":508,"title":{},"content":{"38":{"position":[[543,22]]}},"keywords":{}}],["boolean",{"_index":722,"title":{"85":{"position":[[0,8]]}},"content":{"56":{"position":[[283,8]]},"85":{"position":[[1,8],[191,8]]}},"keywords":{}}],["border",{"_index":673,"title":{},"content":{"54":{"position":[[2396,8]]}},"keywords":{}}],["borderradiu",{"_index":493,"title":{},"content":{"38":{"position":[[201,13]]}},"keywords":{}}],["both",{"_index":736,"title":{},"content":{"56":{"position":[[572,4]]}},"keywords":{}}],["boundari",{"_index":1021,"title":{},"content":{"84":{"position":[[426,10]]}},"keywords":{}}],["brief",{"_index":826,"title":{},"content":{"60":{"position":[[1032,5],[1066,5]]}},"keywords":{}}],["british",{"_index":856,"title":{},"content":{"68":{"position":[[148,7]]},"69":{"position":[[921,7]]}},"keywords":{}}],["broader",{"_index":689,"title":{},"content":{"55":{"position":[[490,7],[1107,7],[1456,7]]}},"keywords":{}}],["build",{"_index":75,"title":{"13":{"position":[[0,5]]},"50":{"position":[[0,5]]}},"content":{"6":{"position":[[247,6]]},"13":{"position":[[1,5],[42,5],[88,5]]},"14":{"position":[[22,5],[58,5],[136,5]]},"50":{"position":[[1,5],[49,5],[75,5],[136,5]]},"53":{"position":[[639,8]]},"69":{"position":[[721,8]]}},"keywords":{}}],["built",{"_index":922,"title":{},"content":{"74":{"position":[[519,5]]}},"keywords":{}}],["bundl",{"_index":357,"title":{"57":{"position":[[8,6]]}},"content":{"27":{"position":[[350,8]]},"54":{"position":[[304,8],[2020,7]]}},"keywords":{}}],["busi",{"_index":254,"title":{},"content":{"23":{"position":[[690,8]]},"51":{"position":[[28,8]]},"72":{"position":[[107,8]]}},"keywords":{}}],["c",{"_index":455,"title":{},"content":{"36":{"position":[[48,1]]},"37":{"position":[[121,1],[156,1],[186,1],[268,1]]}},"keywords":{}}],["call",{"_index":380,"title":{},"content":{"30":{"position":[[45,6]]},"83":{"position":[[134,6]]}},"keywords":{}}],["callout",{"_index":423,"title":{},"content":{"34":{"position":[[59,9]]}},"keywords":{}}],["can't",{"_index":235,"title":{},"content":{"23":{"position":[[351,5]]}},"keywords":{}}],["canada",{"_index":742,"title":{},"content":{"56":{"position":[[763,6]]}},"keywords":{}}],["captur",{"_index":629,"title":{},"content":{"54":{"position":[[1185,7]]}},"keywords":{}}],["cardin",{"_index":842,"title":{},"content":{"62":{"position":[[6,11]]},"69":{"position":[[165,11]]}},"keywords":{}}],["care",{"_index":429,"title":{},"content":{"34":{"position":[[136,5],[218,4]]}},"keywords":{}}],["carri",{"_index":649,"title":{},"content":{"54":{"position":[[1738,5]]}},"keywords":{}}],["case",{"_index":967,"title":{},"content":{"79":{"position":[[406,6]]}},"keywords":{}}],["caseload",{"_index":626,"title":{},"content":{"54":{"position":[[1133,8]]}},"keywords":{}}],["cast",{"_index":1027,"title":{},"content":{"85":{"position":[[218,6]]}},"keywords":{}}],["catalogu",{"_index":896,"title":{},"content":{"72":{"position":[[313,10]]}},"keywords":{}}],["catalogueparcelmap",{"_index":907,"title":{},"content":{"73":{"position":[[9,18]]}},"keywords":{}}],["categor",{"_index":716,"title":{},"content":{"55":{"position":[[1578,14]]}},"keywords":{}}],["categori",{"_index":176,"title":{},"content":{"17":{"position":[[386,11]]}},"keywords":{}}],["caution",{"_index":535,"title":{},"content":{"48":{"position":[[179,7]]}},"keywords":{}}],["cd",{"_index":67,"title":{},"content":{"6":{"position":[[30,2],[64,2]]}},"keywords":{}}],["certain",{"_index":600,"title":{},"content":{"54":{"position":[[370,7]]},"60":{"position":[[835,7]]},"85":{"position":[[79,7]]}},"keywords":{}}],["chang",{"_index":68,"title":{},"content":{"6":{"position":[[75,7],[470,8]]}},"keywords":{}}],["characterist",{"_index":252,"title":{},"content":{"23":{"position":[[637,15]]}},"keywords":{}}],["chart",{"_index":437,"title":{},"content":{"35":{"position":[[50,8],[188,6]]}},"keywords":{}}],["check",{"_index":40,"title":{},"content":{"4":{"position":[[80,5]]},"80":{"position":[[212,5]]},"81":{"position":[[79,5]]}},"keywords":{}}],["checkbox",{"_index":41,"title":{},"content":{"4":{"position":[[90,10]]}},"keywords":{}}],["children",{"_index":488,"title":{},"content":{"38":{"position":[[131,11],[346,13],[367,10]]}},"keywords":{}}],["class",{"_index":880,"title":{},"content":{"69":{"position":[[684,5]]}},"keywords":{}}],["classic",{"_index":46,"title":{},"content":{"5":{"position":[[42,7],[65,7],[192,7]]}},"keywords":{}}],["classif",{"_index":729,"title":{},"content":{"56":{"position":[[432,14],[676,14],[814,14]]}},"keywords":{}}],["clear",{"_index":313,"title":{},"content":{"25":{"position":[[96,5]]}},"keywords":{}}],["clearli",{"_index":321,"title":{},"content":{"25":{"position":[[254,8]]}},"keywords":{}}],["click",{"_index":502,"title":{},"content":{"38":{"position":[[308,7]]}},"keywords":{}}],["client",{"_index":666,"title":{},"content":{"54":{"position":[[2257,6]]}},"keywords":{}}],["close",{"_index":410,"title":{},"content":{"32":{"position":[[296,5]]}},"keywords":{}}],["co",{"_index":104,"title":{},"content":{"8":{"position":[[152,2]]}},"keywords":{}}],["code",{"_index":62,"title":{"33":{"position":[[0,4]]},"39":{"position":[[0,4]]}},"content":{"5":{"position":[[312,4]]},"33":{"position":[[10,4]]},"56":{"position":[[661,4],[754,4],[844,4]]}},"keywords":{}}],["codelist",{"_index":728,"title":{},"content":{"56":{"position":[[420,8]]}},"keywords":{}}],["collect",{"_index":219,"title":{},"content":{"23":{"position":[[132,8],[320,11]]},"55":{"position":[[699,10]]}},"keywords":{}}],["coloc",{"_index":409,"title":{},"content":{"32":{"position":[[280,8]]}},"keywords":{}}],["color",{"_index":489,"title":{},"content":{"38":{"position":[[143,7],[194,6],[223,6],[320,5],[326,8]]}},"keywords":{}}],["color="#1877f2">facebook",{"_index":507,"title":{},"content":{"38":{"position":[[505,37]]}},"keywords":{}}],["color="#25c2a0">docusauru",{"_index":505,"title":{},"content":{"38":{"position":[[417,39]]}},"keywords":{}}],["columbia",{"_index":857,"title":{},"content":{"68":{"position":[[156,9]]},"69":{"position":[[929,9]]}},"keywords":{}}],["column",{"_index":758,"title":{},"content":{"56":{"position":[[1164,6]]}},"keywords":{}}],["come",{"_index":645,"title":{},"content":{"54":{"position":[[1626,4]]},"55":{"position":[[524,5]]}},"keywords":{}}],["command",{"_index":52,"title":{},"content":{"5":{"position":[[144,8],[220,7],[233,7],[330,7]]},"6":{"position":[[67,7],[239,7]]}},"keywords":{}}],["comment",{"_index":586,"title":{},"content":{"53":{"position":[[1027,8]]},"60":{"position":[[743,8]]}},"keywords":{}}],["common",{"_index":237,"title":{},"content":{"23":{"position":[[377,6]]},"25":{"position":[[138,6]]},"26":{"position":[[82,6]]},"27":{"position":[[672,6]]},"52":{"position":[[99,6]]},"54":{"position":[[43,6]]},"55":{"position":[[43,6]]},"56":{"position":[[260,6],[1364,6],[1846,6],[2051,6]]},"69":{"position":[[703,6]]},"74":{"position":[[419,6]]}},"keywords":{}}],["commonbuilt",{"_index":920,"title":{},"content":{"74":{"position":[[333,11]]}},"keywords":{}}],["commonli",{"_index":737,"title":{},"content":{"56":{"position":[[647,8]]},"60":{"position":[[18,8]]},"75":{"position":[[84,8]]},"79":{"position":[[98,8]]}},"keywords":{}}],["commun",{"_index":22,"title":{},"content":{"1":{"position":[[253,9]]},"24":{"position":[[646,11],[722,11]]}},"keywords":{}}],["comparison",{"_index":841,"title":{},"content":{"61":{"position":[[44,10]]},"90":{"position":[[21,10]]}},"keywords":{}}],["compat",{"_index":248,"title":{},"content":{"23":{"position":[[507,13]]},"75":{"position":[[204,10]]},"79":{"position":[[665,14]]}},"keywords":{}}],["compil",{"_index":876,"title":{},"content":{"69":{"position":[[449,12]]}},"keywords":{}}],["complet",{"_index":655,"title":{},"content":{"54":{"position":[[2043,9]]},"55":{"position":[[164,8]]}},"keywords":{}}],["complex",{"_index":206,"title":{},"content":{"23":{"position":[[17,7]]}},"keywords":{}}],["compli",{"_index":805,"title":{},"content":{"60":{"position":[[459,8]]},"78":{"position":[[89,6],[149,6]]},"79":{"position":[[56,6],[465,6]]},"80":{"position":[[191,6]]},"81":{"position":[[46,6]]}},"keywords":{}}],["compliant",{"_index":937,"title":{},"content":{"75":{"position":[[524,9]]},"76":{"position":[[170,9]]},"77":{"position":[[171,9]]},"79":{"position":[[238,9]]}},"keywords":{}}],["compon",{"_index":483,"title":{"38":{"position":[[14,11]]}},"content":{"38":{"position":[[77,10]]}},"keywords":{}}],["concept",{"_index":328,"title":{"52":{"position":[[0,9]]}},"content":{"26":{"position":[[100,8]]},"52":{"position":[[38,8]]},"54":{"position":[[92,8],[637,7]]},"55":{"position":[[92,8],[372,8],[1177,7],[1525,7]]}},"keywords":{}}],["conceptu",{"_index":800,"title":{},"content":{"60":{"position":[[276,10]]}},"keywords":{}}],["concise.descript",{"_index":827,"title":{},"content":{"60":{"position":[[1042,19]]}},"keywords":{}}],["condit",{"_index":698,"title":{},"content":{"55":{"position":[[948,9],[1221,9]]}},"keywords":{}}],["configur",{"_index":7,"title":{"17":{"position":[[0,9]]},"46":{"position":[[0,9]]}},"content":{"1":{"position":[[49,13]]}},"keywords":{}}],["congratul",{"_index":0,"title":{"0":{"position":[[0,16]]}},"content":{"8":{"position":[[410,16]]}},"keywords":{}}],["connect",{"_index":282,"title":{},"content":{"24":{"position":[[381,7]]}},"keywords":{}}],["consid",{"_index":833,"title":{},"content":{"60":{"position":[[1343,10]]}},"keywords":{}}],["consist",{"_index":278,"title":{},"content":{"24":{"position":[[281,12],[548,10]]},"27":{"position":[[445,11]]},"56":{"position":[[932,10]]},"84":{"position":[[79,7]]}},"keywords":{}}],["consistencyidentifi",{"_index":353,"title":{},"content":{"27":{"position":[[258,19]]}},"keywords":{}}],["consistently.support",{"_index":295,"title":{},"content":{"24":{"position":[[671,20]]}},"keywords":{}}],["const",{"_index":487,"title":{},"content":{"38":{"position":[[113,5]]}},"keywords":{}}],["constrain",{"_index":752,"title":{},"content":{"56":{"position":[[985,11]]},"74":{"position":[[221,11]]},"79":{"position":[[322,11]]},"82":{"position":[[487,11]]},"83":{"position":[[293,9]]},"84":{"position":[[145,9]]}},"keywords":{}}],["constraint",{"_index":837,"title":{},"content":{"60":{"position":[[1456,10]]},"84":{"position":[[313,11]]}},"keywords":{}}],["constraintslegal_descript",{"_index":869,"title":{},"content":{"69":{"position":[[200,28]]}},"keywords":{}}],["constraintsproject_id",{"_index":844,"title":{},"content":{"62":{"position":[[41,21]]}},"keywords":{}}],["consult",{"_index":360,"title":{},"content":{"27":{"position":[[396,12]]}},"keywords":{}}],["contain",{"_index":802,"title":{},"content":{"60":{"position":[[366,7],[615,7]]},"62":{"position":[[297,7]]},"69":{"position":[[44,7],[109,7]]},"80":{"position":[[99,8]]},"84":{"position":[[211,8]]}},"keywords":{}}],["content",{"_index":528,"title":{},"content":{"47":{"position":[[88,7],[153,7],[221,7]]},"60":{"position":[[93,8]]}},"keywords":{}}],["context",{"_index":553,"title":{},"content":{"53":{"position":[[104,7]]},"54":{"position":[[1833,7]]},"56":{"position":[[528,7]]},"60":{"position":[[1147,7]]}},"keywords":{}}],["context"",{"_index":661,"title":{},"content":{"54":{"position":[[2189,14]]}},"keywords":{}}],["contribut",{"_index":308,"title":{},"content":{"25":{"position":[[49,10]]}},"keywords":{}}],["convention",{"_index":1008,"title":{},"content":{"83":{"position":[[119,14]]}},"keywords":{}}],["convey",{"_index":708,"title":{},"content":{"55":{"position":[[1334,8]]},"60":{"position":[[691,9]]},"76":{"position":[[109,8]]},"77":{"position":[[107,8]]}},"keywords":{}}],["copi",{"_index":182,"title":{},"content":{"19":{"position":[[98,6]]},"47":{"position":[[1,4]]}},"keywords":{}}],["core",{"_index":243,"title":{},"content":{"23":{"position":[[443,4]]},"56":{"position":[[1288,4]]}},"keywords":{}}],["cost",{"_index":156,"title":{},"content":{"14":{"position":[[196,4]]},"24":{"position":[[148,5],[474,4]]}},"keywords":{}}],["cours",{"_index":334,"title":{},"content":{"26":{"position":[[214,7]]}},"keywords":{}}],["cp",{"_index":530,"title":{},"content":{"47":{"position":[[110,2]]}},"keywords":{}}],["creat",{"_index":27,"title":{"7":{"position":[[0,6]]},"8":{"position":[[0,6]]},"9":{"position":[[0,6]]},"10":{"position":[[0,6]]},"11":{"position":[[0,6]]},"15":{"position":[[0,6]]},"16":{"position":[[0,6]]},"19":{"position":[[0,6]]}},"content":{"3":{"position":[[16,8]]},"6":{"position":[[151,7]]},"8":{"position":[[1,6]]},"10":{"position":[[1,6]]},"11":{"position":[[1,6]]},"16":{"position":[[1,6]]},"17":{"position":[[26,7],[264,6]]},"19":{"position":[[158,8]]},"24":{"position":[[592,6]]},"31":{"position":[[97,7],[149,7],[213,6]]},"34":{"position":[[36,6]]}},"keywords":{}}],["creator",{"_index":105,"title":{},"content":{"8":{"position":[[155,7]]}},"keywords":{}}],["cross",{"_index":337,"title":{},"content":{"27":{"position":[[10,5],[313,5]]}},"keywords":{}}],["crown",{"_index":864,"title":{},"content":{"68":{"position":[[389,5]]},"69":{"position":[[365,5],[1178,5]]}},"keywords":{}}],["csv",{"_index":782,"title":{},"content":{"56":{"position":[[1880,4]]}},"keywords":{}}],["current",{"_index":407,"title":{},"content":{"32":{"position":[[227,7]]},"55":{"position":[[940,7],[1213,7],[1306,7]]}},"keywords":{}}],["cursor",{"_index":498,"title":{},"content":{"38":{"position":[[255,7]]}},"keywords":{}}],["custom",{"_index":13,"title":{},"content":{"1":{"position":[[138,6]]},"17":{"position":[[83,9]]},"30":{"position":[[167,6]]}},"keywords":{}}],["c{purpos",{"_index":464,"title":{},"content":{"37":{"position":[[79,10]]}},"keywords":{}}],["d",{"_index":478,"title":{},"content":{"37":{"position":[[270,1]]}},"keywords":{}}],["d[document",{"_index":467,"title":{},"content":{"37":{"position":[[135,10]]}},"keywords":{}}],["danger",{"_index":431,"title":{},"content":{"34":{"position":[[157,9],[238,9]]}},"keywords":{}}],["danger[tak",{"_index":428,"title":{},"content":{"34":{"position":[[121,14]]}},"keywords":{}}],["dash",{"_index":892,"title":{},"content":{"72":{"position":[[211,7],[464,7],[577,6]]}},"keywords":{}}],["data",{"_index":231,"title":{},"content":{"23":{"position":[[282,4],[460,4]]},"24":{"position":[[85,4],[199,4],[276,4]]},"25":{"position":[[112,4],[219,4]]},"26":{"position":[[49,4],[113,4]]},"27":{"position":[[48,4],[225,4],[773,4],[862,4],[905,4],[936,4]]},"56":{"position":[[150,4],[251,4],[267,4],[390,4],[1091,4],[1119,4],[1208,4],[1247,4],[1442,4],[1740,5],[1853,4],[1993,4],[2067,4]]},"58":{"position":[[6,4]]},"72":{"position":[[226,4],[256,4],[308,4]]},"73":{"position":[[4,4]]},"88":{"position":[[9,4]]}},"keywords":{}}],["databas",{"_index":768,"title":{},"content":{"56":{"position":[[1456,8],[2020,9],[2102,9]]}},"keywords":{}}],["date",{"_index":724,"title":{"75":{"position":[[0,4]]}},"content":{"56":{"position":[[313,5]]},"75":{"position":[[1,4],[139,4],[295,4]]},"88":{"position":[[118,4]]},"89":{"position":[[90,5]]}},"keywords":{}}],["decim",{"_index":991,"title":{},"content":{"82":{"position":[[1,8],[299,7]]}},"keywords":{}}],["decis",{"_index":224,"title":{},"content":{"23":{"position":[[186,9]]},"53":{"position":[[236,8],[263,8],[415,10],[504,9]]},"54":{"position":[[1238,8],[1278,8]]}},"keywords":{}}],["declar",{"_index":660,"title":{},"content":{"54":{"position":[[2161,9]]}},"keywords":{}}],["dedic",{"_index":575,"title":{},"content":{"53":{"position":[[754,9]]}},"keywords":{}}],["default",{"_index":133,"title":{},"content":{"10":{"position":[[144,7]]},"17":{"position":[[331,7]]},"20":{"position":[[133,7]]},"46":{"position":[[92,7]]},"49":{"position":[[133,7]]}},"keywords":{}}],["defaultlocal",{"_index":521,"title":{},"content":{"46":{"position":[[110,14]]}},"keywords":{}}],["defin",{"_index":251,"title":{},"content":{"23":{"position":[[614,6]]},"30":{"position":[[357,8]]},"54":{"position":[[162,7],[709,6],[1456,8]]},"55":{"position":[[587,7],[627,7],[729,7],[819,7],[1413,7]]},"56":{"position":[[206,8],[1472,8]]},"60":{"position":[[35,7],[135,6],[1268,8],[1370,7]]},"83":{"position":[[320,6],[379,6]]}},"keywords":{}}],["definit",{"_index":594,"title":{"54":{"position":[[0,12]]}},"content":{"54":{"position":[[27,11],[120,10],[1059,10]]},"55":{"position":[[27,11],[125,10],[1121,11],[1470,11]]},"56":{"position":[[45,11],[952,12],[1230,11],[1336,10]]},"83":{"position":[[444,11]]},"84":{"position":[[122,11]]}},"keywords":{}}],["definitionapplic",{"_index":554,"title":{},"content":{"53":{"position":[[127,19]]}},"keywords":{}}],["definitiondata",{"_index":717,"title":{},"content":{"56":{"position":[[118,14]]}},"keywords":{}}],["definitionlob",{"_index":541,"title":{},"content":{"51":{"position":[[6,13]]}},"keywords":{}}],["degre",{"_index":643,"title":{},"content":{"54":{"position":[[1585,7]]}},"keywords":{}}],["delici",{"_index":335,"title":{},"content":{"26":{"position":[[231,10]]}},"keywords":{}}],["deliv",{"_index":268,"title":{},"content":{"24":{"position":[[34,7]]},"53":{"position":[[743,10]]}},"keywords":{}}],["deliveri",{"_index":1034,"title":{},"content":{"88":{"position":[[34,8]]}},"keywords":{}}],["depend",{"_index":43,"title":{},"content":{"4":{"position":[[112,13]]},"5":{"position":[[366,12]]}},"keywords":{}}],["deploy",{"_index":147,"title":{"12":{"position":[[0,6]]},"14":{"position":[[0,6]]}},"content":{"14":{"position":[[125,6],[211,10]]}},"keywords":{}}],["deriv",{"_index":390,"title":{},"content":{"30":{"position":[[400,7]]}},"keywords":{}}],["describ",{"_index":679,"title":{},"content":{"55":{"position":[[280,8]]},"56":{"position":[[21,8],[1551,9]]},"60":{"position":[[233,10],[265,10],[416,9]]},"79":{"position":[[120,9]]},"84":{"position":[[413,8]]},"88":{"position":[[142,10]]}},"keywords":{}}],["descript",{"_index":244,"title":{},"content":{"23":{"position":[[448,11]]},"30":{"position":[[120,12],[145,11],[330,11]]},"54":{"position":[[483,11]]},"55":{"position":[[921,11],[1194,11]]},"60":{"position":[[1072,11]]},"62":{"position":[[23,11],[260,11]]},"69":{"position":[[182,11],[256,11]]}},"keywords":{}}],["design",{"_index":14,"title":{},"content":{"1":{"position":[[145,6]]},"53":{"position":[[305,10]]},"54":{"position":[[1517,10]]}},"keywords":{}}],["detail",{"_index":442,"title":{},"content":{"35":{"position":[[159,7],[241,7]]},"55":{"position":[[1288,7],[1482,8]]},"74":{"position":[[495,6]]},"76":{"position":[[240,8]]},"77":{"position":[[258,8]]},"78":{"position":[[232,8]]},"80":{"position":[[256,8]]},"81":{"position":[[123,8]]},"83":{"position":[[471,7]]},"85":{"position":[[298,8]]},"86":{"position":[[207,8]]}},"keywords":{}}],["develop",{"_index":65,"title":{},"content":{"6":{"position":[[9,11],[299,11]]},"27":{"position":[[743,9]]},"30":{"position":[[186,9]]},"48":{"position":[[190,12]]},"53":{"position":[[618,12]]},"54":{"position":[[274,11]]}},"keywords":{}}],["diagram",{"_index":436,"title":{},"content":{"35":{"position":[[34,11],[259,7]]},"54":{"position":[[2314,7]]},"55":{"position":[[1548,7]]}},"keywords":{}}],["dialect",{"_index":990,"title":{},"content":{"81":{"position":[[70,8]]}},"keywords":{}}],["dictionari",{"_index":762,"title":{},"content":{"56":{"position":[[1252,11]]}},"keywords":{}}],["differ",{"_index":283,"title":{},"content":{"24":{"position":[[422,9],[692,9]]},"56":{"position":[[1503,9]]},"84":{"position":[[90,9]]}},"keywords":{}}],["differenti",{"_index":994,"title":{},"content":{"82":{"position":[[119,13]]}},"keywords":{}}],["difficult",{"_index":228,"title":{},"content":{"23":{"position":[[245,9]]}},"keywords":{}}],["digit",{"_index":854,"title":{},"content":{"68":{"position":[[64,5]]},"69":{"position":[[841,5]]},"72":{"position":[[558,5]]}},"keywords":{}}],["digits.parcel_id_numb",{"_index":903,"title":{},"content":{"72":{"position":[[612,23]]}},"keywords":{}}],["direct",{"_index":264,"title":{},"content":{"23":{"position":[[840,9]]}},"keywords":{}}],["directori",{"_index":69,"title":{},"content":{"6":{"position":[[87,9]]},"32":{"position":[[102,9]]}},"keywords":{}}],["discret",{"_index":694,"title":{},"content":{"55":{"position":[[674,9]]}},"keywords":{}}],["discuss",{"_index":548,"title":{},"content":{"53":{"position":[[14,9]]}},"keywords":{}}],["display",{"_index":88,"title":{},"content":{"6":{"position":[[456,8]]}},"keywords":{}}],["disposit",{"_index":630,"title":{},"content":{"54":{"position":[[1216,11]]}},"keywords":{}}],["distinct",{"_index":686,"title":{},"content":{"55":{"position":[[417,8]]}},"keywords":{}}],["distribut",{"_index":894,"title":{},"content":{"72":{"position":[[239,11]]}},"keywords":{}}],["district",{"_index":568,"title":{},"content":{"53":{"position":[[558,8]]}},"keywords":{}}],["divis",{"_index":688,"title":{},"content":{"55":{"position":[[436,8]]}},"keywords":{}}],["doc",{"_index":159,"title":{"16":{"position":[[18,4]]},"18":{"position":[[7,4]]},"19":{"position":[[9,4]]},"47":{"position":[[12,4]]}},"content":{"17":{"position":[[53,4]]},"19":{"position":[[83,4],[173,4],[332,4]]},"20":{"position":[[239,4]]},"21":{"position":[[34,4]]}},"keywords":{}}],["doc.md",{"_index":381,"title":{},"content":{"30":{"position":[[70,6]]}},"keywords":{}}],["docs/curr",{"_index":529,"title":{},"content":{"47":{"position":[[96,13]]}},"keywords":{}}],["docs/current/intro.md",{"_index":531,"title":{},"content":{"47":{"position":[[161,21],[229,21]]}},"keywords":{}}],["docs/hello.md",{"_index":160,"title":{},"content":{"16":{"position":[[27,14],[43,13]]},"17":{"position":[[126,13]]}},"keywords":{}}],["docs/intro.md",{"_index":83,"title":{},"content":{"6":{"position":[[374,13]]},"47":{"position":[[10,13],[113,13]]}},"keywords":{}}],["docs:vers",{"_index":181,"title":{},"content":{"19":{"position":[[60,12]]}},"keywords":{}}],["docscurr",{"_index":187,"title":{},"content":{"19":{"position":[[255,11]]}},"keywords":{}}],["document",{"_index":158,"title":{"15":{"position":[[9,8]]},"26":{"position":[[0,14]]}},"content":{"16":{"position":[[95,11],[115,8]]},"17":{"position":[[227,11],[451,10]]},"26":{"position":[[26,11]]},"30":{"position":[[10,9],[105,8],[136,8]]},"35":{"position":[[218,13]]},"38":{"position":[[19,13]]},"54":{"position":[[1702,8]]},"60":{"position":[[79,9],[193,9],[1234,8],[1328,8]]},"74":{"position":[[472,13]]},"75":{"position":[[403,13]]},"76":{"position":[[217,13]]},"77":{"position":[[235,13]]},"78":{"position":[[209,13]]},"79":{"position":[[148,14]]},"80":{"position":[[233,13]]},"81":{"position":[[100,13]]},"82":{"position":[[614,13]]},"83":{"position":[[253,13],[530,14]]},"84":{"position":[[476,13]]},"85":{"position":[[275,13]]},"86":{"position":[[184,13]]}},"keywords":{}}],["documentationmodifi",{"_index":5,"title":{},"content":{"1":{"position":[[19,19]]}},"keywords":{}}],["docusauru",{"_index":19,"title":{},"content":{"1":{"position":[[203,10],[242,10]]},"3":{"position":[[45,10]]},"5":{"position":[[16,10],[395,11]]},"6":{"position":[[159,10]]},"8":{"position":[[166,10],[291,10]]},"16":{"position":[[84,10]]},"17":{"position":[[1,10],[216,10]]},"19":{"position":[[49,10]]},"32":{"position":[[142,12],[337,12]]},"34":{"position":[[1,10]]},"35":{"position":[[5,10]]},"38":{"position":[[580,10]]}},"keywords":{}}],["docusaurus!</h1>",{"_index":419,"title":{},"content":{"33":{"position":[[175,23],[294,23]]}},"keywords":{}}],["docusaurus.config.j",{"_index":194,"title":{},"content":{"20":{"position":[[77,20],[105,20]]},"46":{"position":[[8,20],[64,20]]},"49":{"position":[[77,20],[105,20]]}},"keywords":{}}],["docusaurus.config.jsadd",{"_index":8,"title":{},"content":{"1":{"position":[[68,23]]}},"keywords":{}}],["docusaurus.new",{"_index":31,"title":{},"content":{"3":{"position":[[73,15]]}},"keywords":{}}],["docusaurus@latest",{"_index":55,"title":{},"content":{"5":{"position":[[163,17]]}},"keywords":{}}],["domain",{"_index":591,"title":{},"content":{"53":{"position":[[1137,7]]},"56":{"position":[[1026,7]]},"60":{"position":[[328,7]]},"89":{"position":[[204,6]]}},"keywords":{}}],["done",{"_index":1012,"title":{},"content":{"83":{"position":[[494,4]]}},"keywords":{}}],["draft",{"_index":804,"title":{},"content":{"60":{"position":[[430,5]]},"61":{"position":[[1,5]]},"75":{"position":[[539,5]]},"79":{"position":[[253,5]]}},"keywords":{}}],["driven",{"_index":667,"title":{},"content":{"54":{"position":[[2264,6]]}},"keywords":{}}],["dropdown",{"_index":191,"title":{"20":{"position":[[14,9]]},"49":{"position":[[13,9]]}},"content":{"20":{"position":[[55,9],[252,8]]},"49":{"position":[[55,9],[231,8]]}},"keywords":{}}],["dublin",{"_index":763,"title":{},"content":{"56":{"position":[[1281,6]]}},"keywords":{}}],["durat",{"_index":936,"title":{},"content":{"75":{"position":[[468,8]]}},"keywords":{}}],["dure",{"_index":878,"title":{},"content":{"69":{"position":[[485,6]]},"72":{"position":[[67,6]]}},"keywords":{}}],["e",{"_index":479,"title":{},"content":{"37":{"position":[[272,1]]}},"keywords":{}}],["e.g",{"_index":598,"title":{},"content":{"54":{"position":[[258,5]]},"55":{"position":[[1031,6],[1343,6]]},"69":{"position":[[697,5]]}},"keywords":{}}],["e[ev",{"_index":470,"title":{},"content":{"37":{"position":[[170,7]]}},"keywords":{}}],["each",{"_index":296,"title":{},"content":{"24":{"position":[[739,4]]},"27":{"position":[[656,4]]},"55":{"position":[[1653,4]]},"72":{"position":[[592,4]]}},"keywords":{}}],["easier",{"_index":281,"title":{},"content":{"24":{"position":[[371,6]]}},"keywords":{}}],["easili",{"_index":153,"title":{},"content":{"14":{"position":[[165,7]]}},"keywords":{}}],["ecma",{"_index":1039,"title":{},"content":{"89":{"position":[[1,4]]}},"keywords":{}}],["ecosystem",{"_index":250,"title":{},"content":{"23":{"position":[[591,11]]}},"keywords":{}}],["edit",{"_index":85,"title":{},"content":{"6":{"position":[[404,4]]},"8":{"position":[[487,4]]},"21":{"position":[[19,4]]}},"keywords":{}}],["editor",{"_index":63,"title":{},"content":{"5":{"position":[[317,7]]},"60":{"position":[[793,7]]}},"keywords":{}}],["effort",{"_index":273,"title":{},"content":{"24":{"position":[[158,6],[463,6]]}},"keywords":{}}],["element",{"_index":245,"title":{},"content":{"23":{"position":[[475,8]]},"27":{"position":[[601,8]]},"56":{"position":[[1096,8],[1124,9],[1380,8]]},"84":{"position":[[38,9],[67,8],[167,8],[277,8]]}},"keywords":{}}],["email",{"_index":939,"title":{"76":{"position":[[0,6]]}},"content":{"76":{"position":[[1,5],[29,5],[90,6],[150,5]]}},"keywords":{}}],["email)rfc",{"_index":1053,"title":{},"content":{"89":{"position":[[245,9]]}},"keywords":{}}],["email/smtp)rfc",{"_index":1051,"title":{},"content":{"89":{"position":[[164,15]]}},"keywords":{}}],["en",{"_index":522,"title":{},"content":{"46":{"position":[[125,5],[140,6]]}},"keywords":{}}],["enabl",{"_index":247,"title":{},"content":{"23":{"position":[[496,6],[676,6],[797,8]]},"24":{"position":[[71,6]]},"27":{"position":[[1,6]]}},"keywords":{}}],["encod",{"_index":776,"title":{},"content":{"56":{"position":[[1667,9]]},"75":{"position":[[357,7]]},"85":{"position":[[240,9]]}},"keywords":{}}],["encount",{"_index":898,"title":{},"content":{"72":{"position":[[417,11],[732,12]]}},"keywords":{}}],["end",{"_index":476,"title":{},"content":{"37":{"position":[[245,3],[278,3]]},"55":{"position":[[353,4]]}},"keywords":{}}],["enhanc",{"_index":277,"title":{},"content":{"24":{"position":[[268,7]]}},"keywords":{}}],["ensur",{"_index":318,"title":{},"content":{"25":{"position":[[212,6]]},"85":{"position":[[179,6]]}},"keywords":{}}],["enter",{"_index":861,"title":{},"content":{"68":{"position":[[238,7]]},"69":{"position":[[1011,7]]}},"keywords":{}}],["entir",{"_index":680,"title":{},"content":{"55":{"position":[[293,6]]}},"keywords":{}}],["entiti",{"_index":570,"title":{},"content":{"53":{"position":[[601,6]]}},"keywords":{}}],["entri",{"_index":727,"title":{},"content":{"56":{"position":[[409,5]]}},"keywords":{}}],["equat",{"_index":1030,"title":{},"content":{"86":{"position":[[111,6]]}},"keywords":{}}],["equival",{"_index":964,"title":{},"content":{"79":{"position":[[343,10]]}},"keywords":{}}],["errata",{"_index":1057,"title":{"90":{"position":[[0,7]]}},"content":{},"keywords":{}}],["essenti",{"_index":634,"title":{},"content":{"54":{"position":[[1322,11]]}},"keywords":{}}],["establish",{"_index":573,"title":{},"content":{"53":{"position":[[709,11]]},"56":{"position":[[896,11],[1313,11]]}},"keywords":{}}],["evalu",{"_index":1025,"title":{},"content":{"85":{"position":[[101,8],[204,9]]}},"keywords":{}}],["everyon",{"_index":302,"title":{"25":{"position":[[8,8]]}},"content":{"25":{"position":[[157,8]]}},"keywords":{}}],["evid",{"_index":258,"title":{},"content":{"23":{"position":[[727,8]]},"24":{"position":[[771,8]]}},"keywords":{}}],["exampl",{"_index":440,"title":{},"content":{"35":{"position":[[105,8]]},"56":{"position":[[704,8],[1268,8]]},"75":{"position":[[435,9]]},"82":{"position":[[646,9]]},"84":{"position":[[508,9]]}},"keywords":{}}],["exchang",{"_index":468,"title":{},"content":{"37":{"position":[[146,9]]}},"keywords":{}}],["exclusivemaximum",{"_index":1004,"title":{},"content":{"82":{"position":[[571,17]]}},"keywords":{}}],["execut",{"_index":477,"title":{},"content":{"37":{"position":[[258,9]]}},"keywords":{}}],["exist",{"_index":199,"title":{"21":{"position":[[10,8]]}},"content":{},"keywords":{}}],["expand",{"_index":623,"title":{},"content":{"54":{"position":[[1047,6]]}},"keywords":{}}],["expect",{"_index":798,"title":{},"content":{"60":{"position":[[157,12],[244,8],[1206,8]]},"83":{"position":[[347,8]]},"84":{"position":[[248,11],[290,9]]}},"keywords":{}}],["expert",{"_index":588,"title":{},"content":{"53":{"position":[[1070,6],[1094,6]]}},"keywords":{}}],["explicitli",{"_index":173,"title":{},"content":{"17":{"position":[[284,10]]},"60":{"position":[[124,10]]}},"keywords":{}}],["export",{"_index":132,"title":{},"content":{"10":{"position":[[137,6]]},"17":{"position":[[324,6]]},"20":{"position":[[126,6]]},"38":{"position":[[106,6]]},"46":{"position":[[85,6]]},"49":{"position":[[126,6]]}},"keywords":{}}],["express",{"_index":965,"title":{"81":{"position":[[8,11]]}},"content":{"79":{"position":[[377,10],[498,10]]},"81":{"position":[[9,11]]}},"keywords":{}}],["expressionpattern",{"_index":919,"title":{},"content":{"74":{"position":[[291,18]]}},"keywords":{}}],["extend",{"_index":979,"title":{},"content":{"79":{"position":[[715,7]]}},"keywords":{}}],["extens",{"_index":914,"title":{},"content":{"74":{"position":[[156,9]]},"83":{"position":[[243,9]]}},"keywords":{}}],["f",{"_index":480,"title":{},"content":{"37":{"position":[[274,1]]}},"keywords":{}}],["f[aggreg",{"_index":473,"title":{},"content":{"37":{"position":[[202,14]]}},"keywords":{}}],["f]{12}$/i",{"_index":973,"title":{},"content":{"79":{"position":[[606,9]]}},"keywords":{}}],["f]{4",{"_index":972,"title":{},"content":{"79":{"position":[[570,5],[582,5],[594,5]]}},"keywords":{}}],["f]{8",{"_index":971,"title":{},"content":{"79":{"position":[[558,5]]}},"keywords":{}}],["fabric",{"_index":875,"title":{},"content":{"69":{"position":[[442,6]]}},"keywords":{}}],["facebook",{"_index":510,"title":{},"content":{"38":{"position":[[608,8]]}},"keywords":{}}],["facilit",{"_index":628,"title":{},"content":{"54":{"position":[[1173,11]]}},"keywords":{}}],["fals",{"_index":1024,"title":{},"content":{"85":{"position":[[66,6],[134,6]]}},"keywords":{}}],["fanci",{"_index":654,"title":{},"content":{"54":{"position":[[1990,5]]}},"keywords":{}}],["featur",{"_index":376,"title":{"29":{"position":[[9,8]]}},"content":{"34":{"position":[[102,7],[197,7]]}},"keywords":{}}],["feedback",{"_index":317,"title":{},"content":{"25":{"position":[[200,8]]}},"keywords":{}}],["feel",{"_index":118,"title":{},"content":{"8":{"position":[[458,4]]}},"keywords":{}}],["fff",{"_index":495,"title":{},"content":{"38":{"position":[[230,7]]}},"keywords":{}}],["field",{"_index":815,"title":{},"content":{"60":{"position":[[681,5]]}},"keywords":{}}],["file",{"_index":92,"title":{},"content":{"8":{"position":[[10,4]]},"10":{"position":[[10,4]]},"11":{"position":[[10,4]]},"13":{"position":[[61,5]]},"16":{"position":[[19,4]]},"20":{"position":[[98,5]]},"31":{"position":[[67,4]]},"32":{"position":[[235,4],[318,5]]},"47":{"position":[[24,4]]},"49":{"position":[[98,5]]},"56":{"position":[[1681,4]]}},"keywords":{}}],["filenam",{"_index":391,"title":{},"content":{"30":{"position":[[419,8]]}},"keywords":{}}],["filesystem",{"_index":791,"title":{},"content":{"56":{"position":[[2006,11]]}},"keywords":{}}],["final",{"_index":631,"title":{},"content":{"54":{"position":[[1232,5]]}},"keywords":{}}],["first",{"_index":91,"title":{"8":{"position":[[12,5]]},"10":{"position":[[12,5]]},"11":{"position":[[12,5]]},"16":{"position":[[12,5]]}},"content":{"8":{"position":[[446,5]]},"16":{"position":[[76,7]]},"17":{"position":[[208,7]]},"27":{"position":[[382,5]]},"54":{"position":[[1439,5]]},"85":{"position":[[225,5]]}},"keywords":{}}],["flexibl",{"_index":262,"title":{},"content":{"23":{"position":[[806,11]]}},"keywords":{}}],["float",{"_index":992,"title":{},"content":{"82":{"position":[[13,8],[154,8],[244,8]]}},"keywords":{}}],["flowchart",{"_index":456,"title":{"37":{"position":[[0,10]]}},"content":{},"keywords":{}}],["fm",{"_index":748,"title":{},"content":{"56":{"position":[[853,2]]}},"keywords":{}}],["focu",{"_index":368,"title":{},"content":{"27":{"position":[[807,5]]}},"keywords":{}}],["focus",{"_index":574,"title":{},"content":{"53":{"position":[[732,7]]}},"keywords":{}}],["folder",{"_index":150,"title":{},"content":{"13":{"position":[[94,7]]},"14":{"position":[[64,6],[142,6]]},"17":{"position":[[58,7]]},"19":{"position":[[88,6]]},"21":{"position":[[59,7]]},"47":{"position":[[44,7]]}},"keywords":{}}],["follow",{"_index":438,"title":{},"content":{"35":{"position":[[80,9]]},"52":{"position":[[5,9]]},"54":{"position":[[2304,9]]},"55":{"position":[[1538,9]]},"56":{"position":[[5,9]]},"60":{"position":[[378,9]]},"72":{"position":[[392,9]]}},"keywords":{}}],["footer",{"_index":10,"title":{},"content":{"1":{"position":[[103,6]]}},"keywords":{}}],["form",{"_index":617,"title":{},"content":{"54":{"position":[[911,6],[2072,4]]}},"keywords":{}}],["form(",{"_index":609,"title":{},"content":{"54":{"position":[[537,7]]}},"keywords":{}}],["formal",{"_index":606,"title":{},"content":{"54":{"position":[[462,6],[1095,6]]}},"keywords":{}}],["format",{"_index":773,"title":{"59":{"position":[[0,10]]}},"content":{"56":{"position":[[1598,6],[1609,6],[1686,6],[1758,7],[1858,7]]},"72":{"position":[[169,6],[349,7],[402,7],[521,9]]},"74":{"position":[[110,7],[348,6],[426,7],[528,6]]},"75":{"position":[[18,7],[71,7],[197,6],[305,7],[477,6]]},"76":{"position":[[22,6],[82,7],[139,6]]},"77":{"position":[[16,6],[77,7],[137,6]]},"78":{"position":[[28,9],[54,8]]},"79":{"position":[[41,6],[112,7],[191,6],[811,6]]},"80":{"position":[[20,6]]},"81":{"position":[[26,6]]}},"keywords":{}}],["format"",{"_index":775,"title":{},"content":{"56":{"position":[[1639,12]]}},"keywords":{}}],["found",{"_index":1013,"title":{},"content":{"83":{"position":[[506,5]]}},"keywords":{}}],["foundat",{"_index":241,"title":{},"content":{"23":{"position":[[423,12]]}},"keywords":{}}],["fr",{"_index":520,"title":{},"content":{"46":{"position":[[52,2],[147,6]]},"48":{"position":[[66,2]]},"50":{"position":[[67,2]]}},"keywords":{}}],["free",{"_index":119,"title":{},"content":{"8":{"position":[[463,4]]},"14":{"position":[[177,4]]},"60":{"position":[[671,4]]}},"keywords":{}}],["french",{"_index":532,"title":{},"content":{"47":{"position":[[254,7]]},"48":{"position":[[24,6]]}},"keywords":{}}],["front",{"_index":377,"title":{"30":{"position":[[0,5]]}},"content":{"30":{"position":[[52,5]]}},"keywords":{}}],["full",{"_index":850,"title":{},"content":{"62":{"position":[[255,4]]},"69":{"position":[[245,4]]}},"keywords":{}}],["function",{"_index":134,"title":{},"content":{"10":{"position":[[152,8]]},"33":{"position":[[122,8],[241,8]]}},"keywords":{}}],["fundament",{"_index":719,"title":{},"content":{"56":{"position":[[179,11]]}},"keywords":{}}],["further",{"_index":818,"title":{},"content":{"60":{"position":[[815,7]]},"79":{"position":[[839,7]]}},"keywords":{}}],["g",{"_index":481,"title":{},"content":{"37":{"position":[[276,1]]}},"keywords":{}}],["g[/further",{"_index":465,"title":{},"content":{"37":{"position":[[99,10]]}},"keywords":{}}],["gain",{"_index":348,"title":{},"content":{"27":{"position":[[169,4]]}},"keywords":{}}],["gap",{"_index":347,"title":{},"content":{"27":{"position":[[163,5]]}},"keywords":{}}],["gener",{"_index":44,"title":{"5":{"position":[[0,8]]}},"content":{"5":{"position":[[1,8]]},"13":{"position":[[71,9]]},"55":{"position":[[1140,7]]},"56":{"position":[[103,8]]}},"keywords":{}}],["get",{"_index":25,"title":{"3":{"position":[[0,7]]},"22":{"position":[[0,7]]},"25":{"position":[[0,7]]}},"content":{"48":{"position":[[142,7]]},"54":{"position":[[612,7]]}},"keywords":{}}],["given",{"_index":584,"title":{},"content":{"53":{"position":[[984,5]]}},"keywords":{}}],["global",{"_index":733,"title":{},"content":{"56":{"position":[[521,6]]}},"keywords":{}}],["go",{"_index":696,"title":{},"content":{"55":{"position":[[788,2]]},"69":{"position":[[495,5]]}},"keywords":{}}],["goal",{"_index":336,"title":{"27":{"position":[[0,6]]}},"content":{"27":{"position":[[426,4]]}},"keywords":{}}],["good",{"_index":799,"title":{},"content":{"60":{"position":[[224,4]]}},"keywords":{}}],["govern",{"_index":325,"title":{"88":{"position":[[0,10]]}},"content":{"26":{"position":[[38,10]]},"53":{"position":[[520,10],[897,11],[912,10]]},"72":{"position":[[95,11],[289,10]]}},"keywords":{}}],["governance.develop",{"_index":315,"title":{},"content":{"25":{"position":[[117,18]]}},"keywords":{}}],["grant",{"_index":614,"title":{},"content":{"54":{"position":[[789,8],[987,6],[1717,6]]}},"keywords":{}}],["graph",{"_index":434,"title":{"35":{"position":[[8,7]]}},"content":{"36":{"position":[[12,5]]},"37":{"position":[[12,5]]}},"keywords":{}}],["green",{"_index":509,"title":{},"content":{"38":{"position":[[591,5]]}},"keywords":{}}],["green</highlight>",{"_index":506,"title":{},"content":{"38":{"position":[[457,23]]}},"keywords":{}}],["greet",{"_index":98,"title":{},"content":{"8":{"position":[[88,9],[105,10],[394,11]]}},"keywords":{}}],["greetings.md",{"_index":96,"title":{},"content":{"8":{"position":[[34,13],[65,12]]}},"keywords":{}}],["group",{"_index":305,"title":{},"content":{"25":{"position":[[18,5]]},"53":{"position":[[57,5],[157,5],[456,5]]},"56":{"position":[[1110,5]]},"58":{"position":[[43,8]]},"72":{"position":[[597,5]]}},"keywords":{}}],["gt",{"_index":463,"title":{},"content":{"37":{"position":[[74,4],[94,4]]},"38":{"position":[[151,5],[289,5],[360,6]]}},"keywords":{}}],["gt;b",{"_index":451,"title":{},"content":{"36":{"position":[[24,5]]}},"keywords":{}}],["gt;c",{"_index":452,"title":{},"content":{"36":{"position":[[33,5]]}},"keywords":{}}],["gt;d",{"_index":454,"title":{},"content":{"36":{"position":[[42,5],[51,5]]}},"keywords":{}}],["gt;|get",{"_index":459,"title":{},"content":{"37":{"position":[[31,8]]}},"keywords":{}}],["gt;|one",{"_index":466,"title":{},"content":{"37":{"position":[[123,11]]}},"keywords":{}}],["gt;|three",{"_index":472,"title":{},"content":{"37":{"position":[[190,11]]}},"keywords":{}}],["gt;|two",{"_index":469,"title":{},"content":{"37":{"position":[[160,9]]}},"keywords":{}}],["guid",{"_index":157,"title":{},"content":{"14":{"position":[[222,7]]}},"keywords":{}}],["guidelin",{"_index":291,"title":{},"content":{"24":{"position":[[609,10]]}},"keywords":{}}],["happen",{"_index":627,"title":{},"content":{"54":{"position":[[1147,9]]},"55":{"position":[[1505,9]]}},"keywords":{}}],["harmon",{"_index":343,"title":{},"content":{"27":{"position":[[115,10],[299,13]]}},"keywords":{}}],["head",{"_index":384,"title":{},"content":{"30":{"position":[[212,7]]},"56":{"position":[[1171,8]]}},"keywords":{}}],["health",{"_index":1037,"title":{},"content":{"88":{"position":[[85,6]]}},"keywords":{}}],["hello",{"_index":161,"title":{},"content":{"16":{"position":[[59,5]]},"17":{"position":[[191,5],[369,8]]}},"keywords":{}}],["hellodocusauru",{"_index":417,"title":{},"content":{"33":{"position":[[131,17],[250,17]]}},"keywords":{}}],["help",{"_index":292,"title":{},"content":{"24":{"position":[[625,4]]}},"keywords":{}}],["here",{"_index":604,"title":{},"content":{"54":{"position":[[443,4]]},"74":{"position":[[434,5]]}},"keywords":{}}],["hi",{"_index":169,"title":{},"content":{"17":{"position":[[159,5]]}},"keywords":{}}],["high",{"_index":669,"title":{},"content":{"54":{"position":[[2333,4]]},"55":{"position":[[1567,4]]}},"keywords":{}}],["higher",{"_index":697,"title":{},"content":{"55":{"position":[[870,6]]}},"keywords":{}}],["highest",{"_index":684,"title":{},"content":{"55":{"position":[[358,7]]}},"keywords":{}}],["highlight",{"_index":414,"title":{},"content":{"33":{"position":[[48,13]]},"38":{"position":[[119,9]]}},"keywords":{}}],["hostnam",{"_index":947,"title":{"77":{"position":[[0,9]]}},"content":{"77":{"position":[[1,9],[23,8],[85,9],[148,8]]}},"keywords":{}}],["hosts)rfc",{"_index":1043,"title":{},"content":{"89":{"position":[[45,9]]}},"keywords":{}}],["hous",{"_index":599,"title":{},"content":{"54":{"position":[[266,7]]}},"keywords":{}}],["http://localhost:3000",{"_index":81,"title":{},"content":{"6":{"position":[[344,23]]},"14":{"position":[[88,23]]}},"keywords":{}}],["http://localhost:3000/blog/greet",{"_index":125,"title":{},"content":{"8":{"position":[[561,37]]}},"keywords":{}}],["http://localhost:3000/doc",{"_index":186,"title":{},"content":{"19":{"position":[[207,27]]}},"keywords":{}}],["http://localhost:3000/docs/hello",{"_index":162,"title":{},"content":{"16":{"position":[[144,33]]}},"keywords":{}}],["http://localhost:3000/docs/hellodocs/hello.md",{"_index":202,"title":{},"content":{"21":{"position":[[112,45]]}},"keywords":{}}],["http://localhost:3000/docs/next",{"_index":188,"title":{},"content":{"19":{"position":[[270,32]]}},"keywords":{}}],["http://localhost:3000/docs/next/hello",{"_index":203,"title":{},"content":{"21":{"position":[[166,37]]}},"keywords":{}}],["http://localhost:3000/fr",{"_index":534,"title":{},"content":{"48":{"position":[[108,25]]}},"keywords":{}}],["http://localhost:3000/mi",{"_index":144,"title":{},"content":{"10":{"position":[[330,24]]},"11":{"position":[[156,24]]}},"keywords":{}}],["https://github.com/joelmarcey",{"_index":108,"title":{},"content":{"8":{"position":[[184,29]]}},"keywords":{}}],["https://github.com/joelmarcey.png",{"_index":110,"title":{},"content":{"8":{"position":[[225,33]]}},"keywords":{}}],["https://github.com/slorber.png",{"_index":115,"title":{},"content":{"8":{"position":[[357,30]]}},"keywords":{}}],["https://json",{"_index":808,"title":{},"content":{"60":{"position":[[513,12]]}},"keywords":{}}],["https://sebastienlorber.com",{"_index":114,"title":{},"content":{"8":{"position":[[318,27]]}},"keywords":{}}],["i18n",{"_index":519,"title":{"46":{"position":[[10,5]]}},"content":{"46":{"position":[[102,5]]}},"keywords":{}}],["i18n/fr",{"_index":523,"title":{},"content":{"47":{"position":[[36,7]]}},"keywords":{}}],["i18n/fr/docusauru",{"_index":526,"title":{},"content":{"47":{"position":[[62,18],[127,18],[195,18]]}},"keywords":{}}],["id",{"_index":382,"title":{"72":{"position":[[7,2]]}},"content":{"30":{"position":[[81,3]]},"68":{"position":[[8,2]]},"69":{"position":[[785,2]]},"72":{"position":[[8,3],[345,3],[518,2],[662,2]]}},"keywords":{}}],["ideal",{"_index":812,"title":{},"content":{"60":{"position":[[607,7]]}},"keywords":{}}],["identif",{"_index":475,"title":{},"content":{"37":{"position":[[226,14]]},"68":{"position":[[354,14]]},"69":{"position":[[1143,14]]}},"keywords":{}}],["identifi",{"_index":346,"title":{"67":{"position":[[7,10]]},"79":{"position":[[9,11]]}},"content":{"27":{"position":[[154,8]]},"54":{"position":[[324,11]]},"56":{"position":[[319,11],[331,11],[465,11],[1810,12]]},"68":{"position":[[45,11],[95,10],[330,11],[416,11]]},"69":{"position":[[16,10],[94,10],[822,11],[868,10],[1103,11],[1205,11]]},"79":{"position":[[20,11]]},"80":{"position":[[83,10]]}},"keywords":{}}],["idmay",{"_index":389,"title":{},"content":{"30":{"position":[[369,5]]}},"keywords":{}}],["idn",{"_index":944,"title":{},"content":{"76":{"position":[[146,3]]},"77":{"position":[[144,3]]}},"keywords":{}}],["ie",{"_index":256,"title":{},"content":{"23":{"position":[[712,4]]}},"keywords":{}}],["imag",{"_index":402,"title":{"32":{"position":[[0,7]]}},"content":{"32":{"position":[[18,6],[81,6],[204,6],[289,6]]}},"keywords":{}}],["image_url",{"_index":109,"title":{},"content":{"8":{"position":[[214,10],[346,10]]}},"keywords":{}}],["immedi",{"_index":30,"title":{},"content":{"3":{"position":[[56,11]]}},"keywords":{}}],["impact",{"_index":565,"title":{},"content":{"53":{"position":[[475,8]]}},"keywords":{}}],["implement",{"_index":331,"title":{"42":{"position":[[0,14]]},"64":{"position":[[0,14]]},"71":{"position":[[0,14]]}},"content":{"26":{"position":[[142,12]]},"60":{"position":[[904,14]]}},"keywords":{}}],["impli",{"_index":835,"title":{},"content":{"60":{"position":[[1407,7]]}},"keywords":{}}],["import",{"_index":129,"title":{},"content":{"10":{"position":[[74,6],[101,6]]}},"keywords":{}}],["improv",{"_index":261,"title":{},"content":{"23":{"position":[[778,12]]},"24":{"position":[[294,7]]},"27":{"position":[[213,11]]}},"keywords":{}}],["includ",{"_index":230,"title":{},"content":{"23":{"position":[[272,9]]},"24":{"position":[[216,8]]},"50":{"position":[[94,7]]},"54":{"position":[[918,9]]},"56":{"position":[[564,7],[1866,7],[2077,7]]},"72":{"position":[[182,8],[435,8]]}},"keywords":{}}],["inclus",{"_index":1011,"title":{},"content":{"83":{"position":[[404,9]]}},"keywords":{}}],["inconsist",{"_index":233,"title":{},"content":{"23":{"position":[[299,15]]}},"keywords":{}}],["indic",{"_index":635,"title":{},"content":{"54":{"position":[[1334,9]]}},"keywords":{}}],["individu",{"_index":756,"title":{},"content":{"56":{"position":[[1080,10]]}},"keywords":{}}],["industri",{"_index":746,"title":{},"content":{"56":{"position":[[805,8]]}},"keywords":{}}],["infer",{"_index":996,"title":{},"content":{"82":{"position":[[208,5]]}},"keywords":{}}],["info",{"_index":977,"title":{},"content":{"79":{"position":[[680,4]]}},"keywords":{}}],["inform",{"_index":222,"title":{},"content":{"23":{"position":[[159,11]]},"24":{"position":[[407,11]]},"27":{"position":[[246,11],[613,11]]},"56":{"position":[[228,11],[1523,12]]},"60":{"position":[[713,11]]},"62":{"position":[[305,11]]},"74":{"position":[[39,12]]},"88":{"position":[[92,11]]}},"keywords":{}}],["init",{"_index":54,"title":{},"content":{"5":{"position":[[158,4]]}},"keywords":{}}],["initi",{"_index":764,"title":{},"content":{"56":{"position":[[1302,10]]}},"keywords":{}}],["input",{"_index":585,"title":{},"content":{"53":{"position":[[1017,5]]}},"keywords":{}}],["inrfc",{"_index":923,"title":{},"content":{"75":{"position":[[47,5]]},"76":{"position":[[56,5]]},"77":{"position":[[53,5]]}},"keywords":{}}],["insid",{"_index":486,"title":{},"content":{"38":{"position":[[88,6]]}},"keywords":{}}],["insight",{"_index":349,"title":{},"content":{"27":{"position":[[174,8]]}},"keywords":{}}],["inspection"",{"_index":712,"title":{},"content":{"55":{"position":[[1390,18]]}},"keywords":{}}],["inspir",{"_index":18,"title":{},"content":{"1":{"position":[[183,12]]}},"keywords":{}}],["instal",{"_index":38,"title":{},"content":{"4":{"position":[[37,10]]},"5":{"position":[[343,8]]}},"keywords":{}}],["instanc",{"_index":435,"title":{},"content":{"35":{"position":[[16,8]]}},"keywords":{}}],["instead",{"_index":963,"title":{},"content":{"79":{"position":[[291,8]]}},"keywords":{}}],["intak",{"_index":223,"title":{},"content":{"23":{"position":[[176,6]]}},"keywords":{}}],["integ",{"_index":723,"title":{},"content":{"56":{"position":[[292,8]]},"69":{"position":[[770,7],[1124,7]]},"72":{"position":[[791,7]]},"82":{"position":[[141,8],[233,7],[370,7],[422,7],[460,8]]}},"keywords":{}}],["integr",{"_index":61,"title":{},"content":{"5":{"position":[[284,10]]},"23":{"position":[[357,9]]},"24":{"position":[[490,12]]}},"keywords":{}}],["intellig",{"_index":255,"title":{},"content":{"23":{"position":[[699,12]]}},"keywords":{}}],["intend",{"_index":731,"title":{},"content":{"56":{"position":[[481,8],[583,8]]},"58":{"position":[[19,8]]}},"keywords":{}}],["intent",{"_index":596,"title":{},"content":{"54":{"position":[[170,6],[198,7],[554,6],[667,6]]},"60":{"position":[[995,6]]}},"keywords":{}}],["interact",{"_index":484,"title":{},"content":{"38":{"position":[[38,11]]},"54":{"position":[[2418,8]]}},"keywords":{}}],["interchang",{"_index":372,"title":{},"content":{"27":{"position":[[867,11]]}},"keywords":{}}],["interest",{"_index":307,"title":{},"content":{"25":{"position":[[35,10]]},"53":{"position":[[426,10]]},"54":{"position":[[1011,8]]}},"keywords":{}}],["interfac",{"_index":786,"title":{},"content":{"56":{"position":[[1925,9]]}},"keywords":{}}],["intern",{"_index":931,"title":{},"content":{"75":{"position":[[158,10]]}},"keywords":{}}],["internation",{"_index":943,"title":{},"content":{"76":{"position":[[121,17]]},"77":{"position":[[119,17]]},"89":{"position":[[185,18],[226,18]]}},"keywords":{}}],["internet",{"_index":1042,"title":{},"content":{"89":{"position":[[35,9]]}},"keywords":{}}],["interoper",{"_index":249,"title":{},"content":{"23":{"position":[[525,16]]},"24":{"position":[[109,17],[302,17]]},"27":{"position":[[533,16],[694,16]]}},"keywords":{}}],["intro",{"_index":24,"title":{"2":{"position":[[9,5]]}},"content":{"17":{"position":[[360,8]]}},"keywords":{}}],["involv",{"_index":21,"title":{},"content":{"1":{"position":[[226,8]]},"24":{"position":[[165,8]]}},"keywords":{}}],["ip",{"_index":952,"title":{"78":{"position":[[0,2]]}},"content":{"78":{"position":[[1,2]]}},"keywords":{}}],["ipv4",{"_index":953,"title":{},"content":{"78":{"position":[[41,4],[66,4]]}},"keywords":{}}],["ipv4)rfc",{"_index":1045,"title":{},"content":{"89":{"position":[[75,9]]}},"keywords":{}}],["ipv6",{"_index":954,"title":{},"content":{"78":{"position":[[49,4],[126,4]]}},"keywords":{}}],["ipv6)rfc",{"_index":1044,"title":{},"content":{"89":{"position":[[60,9]]}},"keywords":{}}],["iso",{"_index":739,"title":{},"content":{"56":{"position":[[735,3]]},"74":{"position":[[173,3]]}},"keywords":{}}],["issu",{"_index":562,"title":{},"content":{"53":{"position":[[370,5]]}},"keywords":{}}],["it'",{"_index":605,"title":{},"content":{"54":{"position":[[451,4]]}},"keywords":{}}],["item",{"_index":11,"title":{},"content":{"1":{"position":[[110,5]]},"17":{"position":[[417,6]]},"20":{"position":[[168,6]]},"49":{"position":[[168,6]]},"84":{"position":[[185,5]]}},"keywords":{}}],["joel",{"_index":102,"title":{},"content":{"8":{"position":[[133,4]]}},"keywords":{}}],["json",{"_index":772,"title":{"60":{"position":[[0,4]]}},"content":{"56":{"position":[[1585,4],[1874,5]]},"60":{"position":[[3,4],[63,4],[209,4],[339,4],[447,4]]},"72":{"position":[[786,4]]},"74":{"position":[[460,4]]},"75":{"position":[[555,4]]},"79":{"position":[[269,4]]},"82":{"position":[[93,4]]},"83":{"position":[[55,5]]},"84":{"position":[[48,4]]},"85":{"position":[[166,4]]},"90":{"position":[[1,4]]}},"keywords":{}}],["json)json",{"_index":840,"title":{},"content":{"61":{"position":[[18,10]]}},"keywords":{}}],["json)rfc",{"_index":1055,"title":{},"content":{"89":{"position":[[283,9]]}},"keywords":{}}],["jsx",{"_index":415,"title":{},"content":{"33":{"position":[[63,6]]}},"keywords":{}}],["jurisdict",{"_index":572,"title":{},"content":{"53":{"position":[[682,13]]},"54":{"position":[[1546,13]]}},"keywords":{}}],["key",{"_index":363,"title":{},"content":{"27":{"position":[[597,3]]},"62":{"position":[[82,3]]},"83":{"position":[[32,3],[65,3],[101,3],[307,3]]}},"keywords":{}}],["keyword",{"_index":1014,"title":{},"content":{"84":{"position":[[191,8],[220,7]]}},"keywords":{}}],["kind",{"_index":1016,"title":{},"content":{"84":{"position":[[268,5]]}},"keywords":{}}],["known",{"_index":926,"title":{},"content":{"75":{"position":[[93,5]]}},"keywords":{}}],["label",{"_index":166,"title":{},"content":{"17":{"position":[[105,5],[398,6]]},"38":{"position":[[340,5]]},"56":{"position":[[1069,6]]}},"keywords":{}}],["lack",{"_index":993,"title":{},"content":{"82":{"position":[[98,5]]}},"keywords":{}}],["land",{"_index":651,"title":{},"content":{"54":{"position":[[1777,4]]},"68":{"position":[[18,4],[122,4],[273,4],[395,4]]},"69":{"position":[[317,4],[371,4],[795,4],[895,4],[1046,4],[1184,4]]}},"keywords":{}}],["languag",{"_index":238,"title":{},"content":{"23":{"position":[[384,9]]},"25":{"position":[[145,8]]},"27":{"position":[[679,10]]},"49":{"position":[[31,10]]},"85":{"position":[[87,9]]}},"keywords":{}}],["larger",{"_index":699,"title":{},"content":{"55":{"position":[[1004,6],[1133,6]]}},"keywords":{}}],["layout",{"_index":130,"title":{},"content":{"10":{"position":[[108,6]]}},"keywords":{}}],["layoutadd",{"_index":15,"title":{},"content":{"1":{"position":[[156,9]]}},"keywords":{}}],["lead",{"_index":905,"title":{},"content":{"72":{"position":[[686,7]]}},"keywords":{}}],["leas",{"_index":620,"title":{},"content":{"54":{"position":[[955,6]]}},"keywords":{}}],["left",{"_index":901,"title":{},"content":{"72":{"position":[[536,4]]}},"keywords":{}}],["legal",{"_index":870,"title":{},"content":{"69":{"position":[[250,5]]}},"keywords":{}}],["legal_descript",{"_index":867,"title":{},"content":{"69":{"position":[[119,17]]}},"keywords":{}}],["legisl",{"_index":561,"title":{},"content":{"53":{"position":[[355,11]]}},"keywords":{}}],["less",{"_index":962,"title":{},"content":{"79":{"position":[[93,4]]}},"keywords":{}}],["let'",{"_index":398,"title":{},"content":{"31":{"position":[[80,5],[132,5],[196,5]]}},"keywords":{}}],["level",{"_index":355,"title":{},"content":{"27":{"position":[[326,5]]},"54":{"position":[[2338,5]]},"55":{"position":[[366,5],[877,5],[1572,5]]},"60":{"position":[[436,5]]},"82":{"position":[[430,5]]}},"keywords":{}}],["lexicon",{"_index":545,"title":{},"content":{"52":{"position":[[106,7]]}},"keywords":{}}],["licens",{"_index":618,"title":{},"content":{"54":{"position":[[938,8]]}},"keywords":{}}],["lieu",{"_index":1000,"title":{},"content":{"82":{"position":[[358,4]]}},"keywords":{}}],["lifecycl",{"_index":675,"title":{},"content":{"55":{"position":[[136,12],[263,9],[454,10],[616,10]]}},"keywords":{}}],["line",{"_index":86,"title":{},"content":{"6":{"position":[[414,6]]},"51":{"position":[[20,4]]}},"keywords":{}}],["link",{"_index":393,"title":{"31":{"position":[[0,6]]}},"content":{"31":{"position":[[18,5]]}},"keywords":{}}],["linkingcoordin",{"_index":358,"title":{},"content":{"27":{"position":[[363,18]]}},"keywords":{}}],["links](./hello.md",{"_index":386,"title":{},"content":{"30":{"position":[[239,19]]}},"keywords":{}}],["list",{"_index":327,"title":{},"content":{"26":{"position":[[77,4]]},"56":{"position":[[666,5]]}},"keywords":{}}],["load",{"_index":515,"title":{},"content":{"41":{"position":[[14,7]]},"63":{"position":[[21,7]]},"70":{"position":[[21,7]]}},"keywords":{}}],["lob",{"_index":373,"title":{},"content":{"27":{"position":[[915,3]]},"54":{"position":[[1166,3]]}},"keywords":{}}],["local",{"_index":76,"title":{"48":{"position":[[11,9]]},"49":{"position":[[6,6]]},"50":{"position":[[11,9]]}},"content":{"6":{"position":[[267,7]]},"14":{"position":[[28,8]]},"46":{"position":[[55,7],[131,8]]},"48":{"position":[[31,7],[59,6],[76,9],[224,6]]},"49":{"position":[[48,6],[224,6]]},"50":{"position":[[32,7],[60,6],[110,7]]},"53":{"position":[[514,5],[891,5]]},"56":{"position":[[512,5]]}},"keywords":{}}],["localedropdown",{"_index":537,"title":{},"content":{"49":{"position":[[185,17]]}},"keywords":{}}],["locat",{"_index":641,"title":{},"content":{"54":{"position":[[1534,8]]}},"keywords":{}}],["location(",{"_index":613,"title":{},"content":{"54":{"position":[[720,11]]}},"keywords":{}}],["logo](./img/docusaurus.png",{"_index":411,"title":{},"content":{"32":{"position":[[350,27]]}},"keywords":{}}],["logo](/img/docusaurus.png",{"_index":406,"title":{},"content":{"32":{"position":[[155,26]]}},"keywords":{}}],["looser",{"_index":1015,"title":{},"content":{"84":{"position":[[241,6]]}},"keywords":{}}],["lorber",{"_index":112,"title":{},"content":{"8":{"position":[[277,6]]}},"keywords":{}}],["lr",{"_index":457,"title":{},"content":{"37":{"position":[[18,2]]}},"keywords":{}}],["lt;/layout>",{"_index":143,"title":{},"content":{"10":{"position":[[276,15]]}},"keywords":{}}],["lt;/span>",{"_index":503,"title":{},"content":{"38":{"position":[[378,13]]}},"keywords":{}}],["lt;h1>hello",{"_index":418,"title":{},"content":{"33":{"position":[[158,16],[277,16]]}},"keywords":{}}],["lt;h1>mi",{"_index":139,"title":{},"content":{"10":{"position":[[201,12]]}},"keywords":{}}],["lt;highlight",{"_index":504,"title":{},"content":{"38":{"position":[[403,13],[491,13]]}},"keywords":{}}],["lt;layout>",{"_index":138,"title":{},"content":{"10":{"position":[[186,14]]}},"keywords":{}}],["lt;p>thi",{"_index":141,"title":{},"content":{"10":{"position":[[236,13]]}},"keywords":{}}],["lt;span",{"_index":490,"title":{},"content":{"38":{"position":[[159,8]]}},"keywords":{}}],["ltsa",{"_index":648,"title":{},"content":{"54":{"position":[[1673,4]]}},"keywords":{}}],["machin",{"_index":449,"title":{"36":{"position":[[6,8]]}},"content":{"56":{"position":[[1052,7]]}},"keywords":{}}],["machines.titl",{"_index":825,"title":{},"content":{"60":{"position":[[974,14]]}},"keywords":{}}],["made",{"_index":117,"title":{},"content":{"8":{"position":[[436,4]]},"54":{"position":[[1258,4]]}},"keywords":{}}],["mail",{"_index":1033,"title":{},"content":{"88":{"position":[[25,8]]}},"keywords":{}}],["main",{"_index":266,"title":{},"content":{"24":{"position":[[5,4]]},"52":{"position":[[33,4]]}},"keywords":{}}],["maintain",{"_index":113,"title":{},"content":{"8":{"position":[[302,10]]},"27":{"position":[[826,13]]},"54":{"position":[[1197,8]]},"69":{"position":[[466,10]]}},"keywords":{}}],["make",{"_index":280,"title":{},"content":{"24":{"position":[[363,4]]},"38":{"position":[[9,4]]},"72":{"position":[[328,5]]}},"keywords":{}}],["maker",{"_index":557,"title":{},"content":{"53":{"position":[[245,5],[272,5]]},"54":{"position":[[1287,5]]}},"keywords":{}}],["manag",{"_index":178,"title":{"18":{"position":[[0,6]]}},"content":{},"keywords":{}}],["mandatori",{"_index":274,"title":{},"content":{"24":{"position":[[189,9]]}},"keywords":{}}],["mani",{"_index":217,"title":{},"content":{"23":{"position":[[119,4],[259,4]]},"54":{"position":[[1120,4]]}},"keywords":{}}],["map",{"_index":670,"title":{},"content":{"54":{"position":[[2355,3]]},"55":{"position":[[1098,3],[1443,7],[1593,3]]},"83":{"position":[[42,9]]}},"keywords":{}}],["marcey",{"_index":103,"title":{},"content":{"8":{"position":[[138,6]]}},"keywords":{}}],["markdown",{"_index":145,"title":{"11":{"position":[[18,8]]},"29":{"position":[[0,8]]}},"content":{"11":{"position":[[31,8],[63,8],[85,8],[109,8],[181,8]]},"16":{"position":[[10,8]]},"30":{"position":[[1,8],[203,8],[220,8],[283,8]]},"31":{"position":[[9,8]]},"32":{"position":[[9,8],[309,8]]},"33":{"position":[[1,8]]},"38":{"position":[[95,9]]}},"keywords":{}}],["matter",{"_index":378,"title":{"30":{"position":[[6,7]]}},"content":{"30":{"position":[[58,7]]},"53":{"position":[[1063,6],[1087,6]]}},"keywords":{}}],["max",{"_index":855,"title":{},"content":{"68":{"position":[[70,3]]}},"keywords":{}}],["maxcontain",{"_index":1018,"title":{},"content":{"84":{"position":[[358,12]]}},"keywords":{}}],["maxim",{"_index":976,"title":{},"content":{"79":{"position":[[656,8]]}},"keywords":{}}],["maximum,exclusiveminimum",{"_index":1003,"title":{},"content":{"82":{"position":[[542,24]]}},"keywords":{}}],["maxitem",{"_index":1020,"title":{},"content":{"84":{"position":[[384,8]]}},"keywords":{}}],["maxlength",{"_index":918,"title":{},"content":{"74":{"position":[[266,9]]}},"keywords":{}}],["mdx",{"_index":482,"title":{"38":{"position":[[0,3]]}},"content":{"38":{"position":[[1,3]]}},"keywords":{}}],["measur",{"_index":664,"title":{},"content":{"54":{"position":[[2228,11]]}},"keywords":{}}],["media",{"_index":777,"title":{},"content":{"56":{"position":[[1696,5],[1799,5]]}},"keywords":{}}],["member",{"_index":693,"title":{},"content":{"55":{"position":[[595,6],[827,6]]}},"keywords":{}}],["mermaid",{"_index":433,"title":{"35":{"position":[[0,7]]}},"content":{"35":{"position":[[67,8],[141,8]]},"36":{"position":[[1,10]]},"37":{"position":[[1,10]]}},"keywords":{}}],["metadata",{"_index":165,"title":{},"content":{"17":{"position":[[71,8]]},"30":{"position":[[25,8]]},"56":{"position":[[1293,8],[1371,8]]}},"keywords":{}}],["microservic",{"_index":333,"title":{},"content":{"26":{"position":[[191,14]]}},"keywords":{}}],["mincontain",{"_index":1017,"title":{},"content":{"84":{"position":[[345,12]]}},"keywords":{}}],["minimum",{"_index":387,"title":{},"content":{"30":{"position":[[313,7]]},"69":{"position":[[36,7]]},"82":{"position":[[533,8]]}},"keywords":{}}],["ministri",{"_index":560,"title":{},"content":{"53":{"position":[[346,8],[881,9]]}},"keywords":{}}],["minitem",{"_index":1019,"title":{},"content":{"84":{"position":[[371,8]]}},"keywords":{}}],["minlength",{"_index":917,"title":{},"content":{"74":{"position":[[255,10]]}},"keywords":{}}],["mkdir",{"_index":524,"title":{},"content":{"47":{"position":[[53,5]]}},"keywords":{}}],["model",{"_index":767,"title":{},"content":{"56":{"position":[[1447,5]]}},"keywords":{}}],["modern",{"_index":652,"title":{},"content":{"54":{"position":[[1855,14]]}},"keywords":{}}],["modifi",{"_index":193,"title":{},"content":{"20":{"position":[[66,6]]},"46":{"position":[[1,6]]},"49":{"position":[[66,6]]}},"keywords":{}}],["more",{"_index":441,"title":{},"content":{"35":{"position":[[154,4],[236,4]]},"38":{"position":[[33,4]]},"54":{"position":[[237,4],[690,4]]},"74":{"position":[[490,4]]},"75":{"position":[[421,4]]},"76":{"position":[[235,4]]},"77":{"position":[[253,4]]},"78":{"position":[[227,4]]},"80":{"position":[[251,4]]},"81":{"position":[[118,4]]},"82":{"position":[[632,4]]},"83":{"position":[[457,4]]},"84":{"position":[[494,4]]},"85":{"position":[[293,4]]},"86":{"position":[[202,4]]}},"keywords":{}}],["ms",{"_index":311,"title":{},"content":{"25":{"position":[[80,2]]}},"keywords":{}}],["much",{"_index":122,"title":{},"content":{"8":{"position":[[505,4]]}},"keywords":{}}],["muddl",{"_index":612,"title":{},"content":{"54":{"position":[[620,7]]}},"keywords":{}}],["multipleof",{"_index":1002,"title":{},"content":{"82":{"position":[[521,11]]}},"keywords":{}}],["municip",{"_index":566,"title":{},"content":{"53":{"position":[[533,12]]}},"keywords":{}}],["my_doc_id",{"_index":383,"title":{},"content":{"30":{"position":[[85,9]]}},"keywords":{}}],["myreactpag",{"_index":135,"title":{},"content":{"10":{"position":[[161,13]]}},"keywords":{}}],["naic",{"_index":747,"title":{},"content":{"56":{"position":[[836,7]]}},"keywords":{}}],["name",{"_index":101,"title":{},"content":{"8":{"position":[[127,5],[261,5]]},"62":{"position":[[1,4],[202,4]]},"69":{"position":[[160,4],[617,4]]},"83":{"position":[[311,8]]}},"keywords":{}}],["names)rfc",{"_index":1052,"title":{},"content":{"89":{"position":[[211,9]]}},"keywords":{}}],["namespac",{"_index":754,"title":{},"content":{"56":{"position":[[1013,9]]}},"keywords":{}}],["nation",{"_index":359,"title":{},"content":{"27":{"position":[[388,7]]}},"keywords":{}}],["natur",{"_index":209,"title":{},"content":{"23":{"position":[[39,7],[545,7]]}},"keywords":{}}],["navbar",{"_index":9,"title":{},"content":{"1":{"position":[[92,6]]},"20":{"position":[[158,7],[277,7]]},"49":{"position":[[158,7],[260,7]]}},"keywords":{}}],["navig",{"_index":74,"title":{},"content":{"6":{"position":[[191,8]]},"20":{"position":[[4,8]]},"49":{"position":[[4,8]]},"53":{"position":[[696,9]]}},"keywords":{}}],["necessari",{"_index":64,"title":{},"content":{"5":{"position":[[356,9]]}},"keywords":{}}],["need",{"_index":33,"title":{"4":{"position":[[12,5]]}},"content":{"5":{"position":[[383,4]]},"6":{"position":[[183,4]]},"27":{"position":[[630,4]]},"54":{"position":[[1039,4],[1467,5]]}},"keywords":{}}],["nest",{"_index":1010,"title":{},"content":{"83":{"position":[[207,9]]}},"keywords":{}}],["network",{"_index":792,"title":{},"content":{"56":{"position":[[2042,8]]}},"keywords":{}}],["new",{"_index":28,"title":{"5":{"position":[[11,3]]}},"content":{"3":{"position":[[27,3]]},"5":{"position":[[12,3]]},"8":{"position":[[527,3]]},"10":{"position":[[301,3]]},"11":{"position":[[127,3]]},"16":{"position":[[111,3]]}},"keywords":{}}],["newer",{"_index":981,"title":{},"content":{"79":{"position":[[872,5]]}},"keywords":{}}],["newli",{"_index":73,"title":{},"content":{"6":{"position":[[145,5]]}},"keywords":{}}],["next",{"_index":2,"title":{"1":{"position":[[7,6]]}},"content":{},"keywords":{}}],["nine",{"_index":853,"title":{},"content":{"68":{"position":[[59,4]]},"69":{"position":[[836,4]]},"72":{"position":[[553,4]]}},"keywords":{}}],["node.j",{"_index":34,"title":{},"content":{"4":{"position":[[1,7],[48,8]]}},"keywords":{}}],["nomenclature.$com",{"_index":814,"title":{},"content":{"60":{"position":[[645,21]]}},"keywords":{}}],["normal",{"_index":807,"title":{},"content":{"60":{"position":[[501,8]]}},"keywords":{}}],["north",{"_index":744,"title":{},"content":{"56":{"position":[[790,5]]}},"keywords":{}}],["note",{"_index":516,"title":{"42":{"position":[[15,6]]},"64":{"position":[[15,6]]},"71":{"position":[[15,6]]}},"content":{"54":{"position":[[2112,4]]},"75":{"position":[[454,4]]},"79":{"position":[[172,4]]},"82":{"position":[[83,4]]},"86":{"position":[[87,4]]}},"keywords":{}}],["notic",{"_index":583,"title":{},"content":{"53":{"position":[[944,7]]}},"keywords":{}}],["now",{"_index":123,"title":{},"content":{"8":{"position":[[544,3]]},"10":{"position":[[313,3]]},"11":{"position":[[139,3]]},"14":{"position":[[74,3],[121,3]]},"16":{"position":[[127,3]]},"19":{"position":[[178,3]]},"49":{"position":[[240,3]]}},"keywords":{}}],["now"",{"_index":715,"title":{},"content":{"55":{"position":[[1515,9]]}},"keywords":{}}],["npm",{"_index":53,"title":{},"content":{"5":{"position":[[154,3]]},"6":{"position":[[44,3],[225,3]]},"13":{"position":[[34,3]]},"14":{"position":[[38,3]]},"19":{"position":[[41,3]]},"48":{"position":[[40,3]]},"50":{"position":[[41,3],[128,3]]}},"keywords":{}}],["nr",{"_index":212,"title":{},"content":{"23":{"position":[[63,5]]}},"keywords":{}}],["nrm",{"_index":276,"title":{},"content":{"24":{"position":[[242,3]]}},"keywords":{}}],["nuanc",{"_index":819,"title":{},"content":{"60":{"position":[[823,7]]}},"keywords":{}}],["null",{"_index":1029,"title":{"86":{"position":[[0,5]]}},"content":{"86":{"position":[[1,4],[81,5],[97,4]]}},"keywords":{}}],["number",{"_index":665,"title":{},"content":{"54":{"position":[[2247,6]]},"68":{"position":[[74,6],[192,7],[369,6]]},"69":{"position":[[847,6],[965,7],[1158,6]]},"72":{"position":[[564,7],[670,7]]},"82":{"position":[[28,7],[448,7]]}},"keywords":{}}],["numbertyp",{"_index":999,"title":{},"content":{"82":{"position":[[344,10]]}},"keywords":{}}],["numer",{"_index":888,"title":{"82":{"position":[[0,8]]}},"content":{"72":{"position":[[26,7],[636,9]]},"82":{"position":[[68,7]]}},"keywords":{}}],["obdc",{"_index":793,"title":{},"content":{"56":{"position":[[2085,4]]}},"keywords":{}}],["object",{"_index":265,"title":{"24":{"position":[[0,11]]},"83":{"position":[[0,7]]}},"content":{"24":{"position":[[10,9]]},"55":{"position":[[544,10]]},"83":{"position":[[1,7],[168,7],[281,7]]}},"keywords":{}}],["obtain",{"_index":610,"title":{},"content":{"54":{"position":[[564,6]]}},"keywords":{}}],["obviou",{"_index":813,"title":{},"content":{"60":{"position":[[626,7]]}},"keywords":{}}],["occur",{"_index":682,"title":{},"content":{"55":{"position":[[329,5]]}},"keywords":{}}],["offici",{"_index":4,"title":{},"content":{"1":{"position":[[10,8]]},"54":{"position":[[1693,8]]}},"keywords":{}}],["omit",{"_index":392,"title":{},"content":{"30":{"position":[[433,8]]}},"keywords":{}}],["on",{"_index":536,"title":{},"content":{"48":{"position":[[220,3]]},"54":{"position":[[230,3],[683,3]]},"56":{"position":[[163,3]]},"69":{"position":[[77,3],[570,4]]}},"keywords":{}}],["onc",{"_index":538,"title":{},"content":{"50":{"position":[[121,5]]}},"keywords":{}}],["onclick",{"_index":500,"title":{},"content":{"38":{"position":[[277,11]]}},"keywords":{}}],["open",{"_index":82,"title":{},"content":{"6":{"position":[[369,4]]}},"keywords":{}}],["oper",{"_index":879,"title":{},"content":{"69":{"position":[[501,11]]}},"keywords":{}}],["opportun",{"_index":351,"title":{},"content":{"27":{"position":[[195,13]]},"53":{"position":[[994,11]]}},"keywords":{}}],["option",{"_index":427,"title":{},"content":{"34":{"position":[[110,6],[205,6]]},"74":{"position":[[210,10]]},"82":{"position":[[476,10]]}},"keywords":{}}],["optional.typ",{"_index":836,"title":{},"content":{"60":{"position":[[1421,13]]}},"keywords":{}}],["order",{"_index":72,"title":{},"content":{"6":{"position":[[121,5]]},"55":{"position":[[173,7],[638,8],[684,7],[750,5],[858,8]]},"56":{"position":[[78,7]]},"79":{"position":[[619,5]]},"84":{"position":[[30,7]]}},"keywords":{}}],["organ",{"_index":551,"title":{},"content":{"53":{"position":[[69,12],[166,12]]}},"keywords":{}}],["other.unlock",{"_index":297,"title":{},"content":{"24":{"position":[[744,12]]}},"keywords":{}}],["otherwis",{"_index":930,"title":{},"content":{"75":{"position":[[118,9]]}},"keywords":{}}],["out",{"_index":650,"title":{},"content":{"54":{"position":[[1744,3]]},"60":{"position":[[701,3]]}},"keywords":{}}],["outcom",{"_index":632,"title":{},"content":{"54":{"position":[[1250,7]]},"55":{"position":[[558,9]]}},"keywords":{}}],["outlin",{"_index":542,"title":{},"content":{"52":{"position":[[21,7]]},"54":{"position":[[14,8],[2322,8]]},"55":{"position":[[14,8],[1556,8]]},"74":{"position":[[399,7]]},"83":{"position":[[267,9]]}},"keywords":{}}],["output",{"_index":656,"title":{},"content":{"54":{"position":[[2053,6]]}},"keywords":{}}],["over",{"_index":215,"title":{},"content":{"23":{"position":[[84,4]]},"54":{"position":[[1070,4]]},"60":{"position":[[942,4]]}},"keywords":{}}],["overview",{"_index":828,"title":{},"content":{"60":{"position":[[1130,8]]}},"keywords":{}}],["ownership",{"_index":882,"title":{},"content":{"69":{"position":[[710,10]]}},"keywords":{}}],["p",{"_index":525,"title":{},"content":{"47":{"position":[[60,1]]}},"keywords":{}}],["pad",{"_index":496,"title":{},"content":{"38":{"position":[[238,8]]},"72":{"position":[[191,6],[444,6],[546,6]]}},"keywords":{}}],["page",{"_index":84,"title":{"9":{"position":[[9,4]]},"10":{"position":[[24,5]]},"11":{"position":[[27,5]]},"25":{"position":[[29,5]]}},"content":{"6":{"position":[[394,5]]},"10":{"position":[[305,4],[361,5]]},"11":{"position":[[94,4],[118,4],[131,4],[190,5]]},"30":{"position":[[292,5]]},"31":{"position":[[222,5]]},"48":{"position":[[158,4]]},"54":{"position":[[1678,4]]}},"keywords":{}}],["page</h1>",{"_index":140,"title":{},"content":{"10":{"position":[[220,15]]}},"keywords":{}}],["page</p>",{"_index":142,"title":{},"content":{"10":{"position":[[261,14]]}},"keywords":{}}],["page.j",{"_index":128,"title":{},"content":{"10":{"position":[[37,8],[66,7]]}},"keywords":{}}],["page.md",{"_index":146,"title":{},"content":{"11":{"position":[[40,8],[72,7]]}},"keywords":{}}],["page](./create_a_page.md",{"_index":400,"title":{},"content":{"31":{"position":[[159,26]]}},"keywords":{}}],["page](/create_a_pag",{"_index":399,"title":{},"content":{"31":{"position":[[107,22]]}},"keywords":{}}],["pair",{"_index":1007,"title":{},"content":{"83":{"position":[[111,4]]}},"keywords":{}}],["paramet",{"_index":982,"title":{},"content":{"80":{"position":[[108,10]]}},"keywords":{}}],["parcel",{"_index":571,"title":{"67":{"position":[[0,6]]},"72":{"position":[[0,6]]}},"content":{"53":{"position":[[662,6]]},"54":{"position":[[695,7],[845,6],[1480,6],[1560,7],[1792,6]]},"68":{"position":[[1,6],[38,6],[108,6],[203,7],[323,6],[347,6],[409,6]]},"69":{"position":[[9,6],[87,6],[275,6],[610,6],[677,6],[778,6],[815,6],[881,6],[976,7],[1096,6],[1136,6],[1198,6]]},"72":{"position":[[1,6],[338,6],[511,6],[655,6]]},"73":{"position":[[33,7]]}},"keywords":{}}],["parcel_id_format",{"_index":899,"title":{},"content":{"72":{"position":[[473,19]]}},"keywords":{}}],["parcel_nam",{"_index":868,"title":{},"content":{"69":{"position":[[146,12],[513,11]]}},"keywords":{}}],["parcelmap",{"_index":889,"title":{},"content":{"72":{"position":[[46,9]]}},"keywords":{}}],["park",{"_index":886,"title":{},"content":{"69":{"position":[[755,5]]}},"keywords":{}}],["pars",{"_index":824,"title":{},"content":{"60":{"position":[[964,6]]}},"keywords":{}}],["part",{"_index":674,"title":{},"content":{"54":{"position":[[2441,5]]}},"keywords":{}}],["parti",{"_index":564,"title":{},"content":{"53":{"position":[[437,5]]}},"keywords":{}}],["particular",{"_index":753,"title":{},"content":{"56":{"position":[[1002,10]]}},"keywords":{}}],["particularli",{"_index":408,"title":{},"content":{"32":{"position":[[257,12]]}},"keywords":{}}],["pass",{"_index":678,"title":{},"content":{"55":{"position":[[247,4]]}},"keywords":{}}],["path",{"_index":396,"title":{},"content":{"31":{"position":[[49,5],[72,6]]},"32":{"position":[[62,5]]},"60":{"position":[[595,4]]}},"keywords":{}}],["pattern",{"_index":966,"title":{},"content":{"79":{"position":[[388,8]]}},"keywords":{}}],["peopl",{"_index":306,"title":{},"content":{"25":{"position":[[28,6]]}},"keywords":{}}],["perform",{"_index":344,"title":{},"content":{"27":{"position":[[134,7]]},"53":{"position":[[207,7]]},"54":{"position":[[753,10],[812,7]]}},"keywords":{}}],["period",{"_index":687,"title":{},"content":{"55":{"position":[[426,6]]}},"keywords":{}}],["perman",{"_index":862,"title":{},"content":{"68":{"position":[[313,9]]},"69":{"position":[[1086,9]]}},"keywords":{}}],["permiss",{"_index":615,"title":{},"content":{"54":{"position":[[798,10],[1724,10]]}},"keywords":{}}],["permit",{"_index":205,"title":{},"content":{"23":{"position":[[1,10],[93,6],[224,10],[332,10],[562,10],[656,11],[759,10],[853,11]]},"24":{"position":[[246,10],[432,10]]},"26":{"position":[[89,10]]},"27":{"position":[[499,10]]},"54":{"position":[[347,7],[930,7],[1208,7],[1683,6],[1844,10],[1973,6]]},"58":{"position":[[63,7]]},"62":{"position":[[99,7],[151,10]]},"84":{"position":[[53,7]]}},"keywords":{}}],["person",{"_index":550,"title":{},"content":{"53":{"position":[[49,7],[149,7],[292,7],[445,7]]}},"keywords":{}}],["phase",{"_index":677,"title":{},"content":{"55":{"position":[[195,6],[409,5],[467,5],[570,5],[839,6],[899,5]]}},"keywords":{}}],["pi",{"_index":267,"title":{},"content":{"24":{"position":[[23,4]]},"25":{"position":[[70,5]]},"26":{"position":[[222,4]]},"27":{"position":[[421,4]]},"53":{"position":[[115,5]]},"54":{"position":[[108,5]]},"60":{"position":[[476,5]]}},"keywords":{}}],["pid",{"_index":860,"title":{"72":{"position":[[10,6]]}},"content":{"68":{"position":[[188,3],[302,3]]},"69":{"position":[[553,4],[600,4],[649,3],[761,3],[961,3],[1075,3]]},"72":{"position":[[134,4]]}},"keywords":{}}],["pid.a",{"_index":866,"title":{},"content":{"69":{"position":[[81,5]]}},"keywords":{}}],["piec",{"_index":721,"title":{},"content":{"56":{"position":[[242,5],[1513,6]]}},"keywords":{}}],["pin",{"_index":863,"title":{},"content":{"68":{"position":[[376,5]]},"69":{"position":[[61,3],[589,3],[629,4],[657,4],[1115,3],[1165,5]]}},"keywords":{}}],["plan",{"_index":330,"title":{},"content":{"26":{"position":[[133,4]]}},"keywords":{}}],["platform",{"_index":371,"title":{},"content":{"27":{"position":[[849,8]]}},"keywords":{}}],["play",{"_index":120,"title":{},"content":{"8":{"position":[[471,4]]}},"keywords":{}}],["pleas",{"_index":921,"title":{},"content":{"74":{"position":[[440,6]]}},"keywords":{}}],["plugin",{"_index":527,"title":{},"content":{"47":{"position":[[81,6],[146,6],[214,6]]}},"keywords":{}}],["pmbc",{"_index":877,"title":{},"content":{"69":{"position":[[480,4]]},"72":{"position":[[59,7],[78,4],[251,4]]}},"keywords":{}}],["point",{"_index":341,"title":{},"content":{"27":{"position":[[76,5]]},"82":{"position":[[22,5],[163,5],[253,5],[307,6]]}},"keywords":{}}],["pointer",{"_index":499,"title":{},"content":{"38":{"position":[[263,10]]}},"keywords":{}}],["polici",{"_index":259,"title":{},"content":{"23":{"position":[[740,6]]},"24":{"position":[[786,6]]},"53":{"position":[[1192,7]]}},"keywords":{}}],["polygon",{"_index":639,"title":{},"content":{"54":{"position":[[1489,7]]}},"keywords":{}}],["popul",{"_index":873,"title":{},"content":{"69":{"position":[[410,9]]}},"keywords":{}}],["posit",{"_index":167,"title":{},"content":{"17":{"position":[[115,9]]}},"keywords":{}}],["possibl",{"_index":172,"title":{},"content":{"17":{"position":[[252,8]]},"21":{"position":[[7,8]]},"82":{"position":[[187,8]]},"85":{"position":[[41,8]]}},"keywords":{}}],["post",{"_index":90,"title":{"7":{"position":[[14,4]]},"8":{"position":[[18,5]]}},"content":{"8":{"position":[[452,5],[497,4],[536,4]]}},"keywords":{}}],["potenti",{"_index":298,"title":{},"content":{"24":{"position":[[757,9],[812,9]]}},"keywords":{}}],["powershel",{"_index":59,"title":{},"content":{"5":{"position":[[249,11]]}},"keywords":{}}],["practic",{"_index":324,"title":{},"content":{"26":{"position":[[12,9]]}},"keywords":{}}],["precis",{"_index":1001,"title":{},"content":{"82":{"position":[[436,10]]}},"keywords":{}}],["predefin",{"_index":787,"title":{},"content":{"56":{"position":[[1946,10]]}},"keywords":{}}],["presenc",{"_index":998,"title":{},"content":{"82":{"position":[[285,8]]}},"keywords":{}}],["present",{"_index":832,"title":{},"content":{"60":{"position":[[1312,7]]},"72":{"position":[[156,12]]}},"keywords":{}}],["primarili",{"_index":871,"title":{},"content":{"69":{"position":[[289,9]]}},"keywords":{}}],["primer",{"_index":795,"title":{"60":{"position":[[12,7]]}},"content":{},"keywords":{}}],["primit",{"_index":718,"title":{"66":{"position":[[0,9]]}},"content":{"56":{"position":[[140,9]]},"60":{"position":[[1446,9]]},"72":{"position":[[799,9]]}},"keywords":{}}],["principl",{"_index":720,"title":{},"content":{"56":{"position":[[191,10]]}},"keywords":{}}],["prior",{"_index":1028,"title":{},"content":{"85":{"position":[[231,5]]}},"keywords":{}}],["process",{"_index":220,"title":{"55":{"position":[[0,7]]}},"content":{"23":{"position":[[141,7],[770,7]]},"24":{"position":[[333,9]]},"27":{"position":[[278,10]]},"53":{"position":[[1167,10]]},"54":{"position":[[469,7],[2454,8]]},"55":{"position":[[110,8],[309,10],[775,7],[1011,7],[1616,7]]}},"keywords":{}}],["product",{"_index":148,"title":{},"content":{"13":{"position":[[21,11]]},"14":{"position":[[11,10]]}},"keywords":{}}],["program",{"_index":785,"title":{},"content":{"56":{"position":[[1913,11]]}},"keywords":{}}],["progress",{"_index":287,"title":{},"content":{"24":{"position":[[559,8]]}},"keywords":{}}],["project",{"_index":50,"title":{"57":{"position":[[0,7]]}},"content":{"5":{"position":[[118,7]]},"19":{"position":[[31,8]]},"54":{"position":[[286,8],[650,8],[1928,7]]},"62":{"position":[[120,7],[214,8],[279,8],[340,8]]}},"keywords":{}}],["project_descript",{"_index":848,"title":{},"content":{"62":{"position":[[223,19]]}},"keywords":{}}],["project_nam",{"_index":846,"title":{},"content":{"62":{"position":[[171,12]]}},"keywords":{}}],["prompt",{"_index":58,"title":{},"content":{"5":{"position":[[241,7]]}},"keywords":{}}],["properti",{"_index":806,"title":{},"content":{"60":{"position":[[487,8],[843,10],[1288,10],[1475,9]]},"74":{"position":[[236,10]]},"82":{"position":[[502,10]]},"83":{"position":[[356,11]]}},"keywords":{}}],["propon",{"_index":289,"title":{},"content":{"24":{"position":[[580,11]]},"53":{"position":[[814,9]]}},"keywords":{}}],["protocol",{"_index":788,"title":{},"content":{"56":{"position":[[1957,8]]}},"keywords":{}}],["provid",{"_index":257,"title":{},"content":{"23":{"position":[[717,9]]},"24":{"position":[[540,7]]},"27":{"position":[[105,7]]},"52":{"position":[[89,7]]},"53":{"position":[[608,9],[1009,7]]},"55":{"position":[[846,8]]},"56":{"position":[[343,7]]},"60":{"position":[[1114,7]]},"80":{"position":[[40,7]]},"84":{"position":[[231,7]]}},"keywords":{}}],["provinc",{"_index":569,"title":{},"content":{"53":{"position":[[578,9]]},"54":{"position":[[863,8],[1810,8]]}},"keywords":{}}],["provinci",{"_index":581,"title":{},"content":{"53":{"position":[[870,10]]},"72":{"position":[[278,10]]}},"keywords":{}}],["publish",{"_index":269,"title":{},"content":{"24":{"position":[[44,9]]}},"keywords":{}}],["purpos",{"_index":204,"title":{"23":{"position":[[0,8]]}},"content":{"23":{"position":[[625,7]]}},"keywords":{}}],["qualiti",{"_index":232,"title":{},"content":{"23":{"position":[[287,7]]},"24":{"position":[[90,7]]}},"keywords":{}}],["qualitydata",{"_index":352,"title":{},"content":{"27":{"position":[[230,11]]}},"keywords":{}}],["quantifi",{"_index":663,"title":{},"content":{"54":{"position":[[2215,12]]}},"keywords":{}}],["queue",{"_index":668,"title":{},"content":{"54":{"position":[[2291,6]]}},"keywords":{}}],["quick",{"_index":439,"title":{},"content":{"35":{"position":[[99,5]]},"60":{"position":[[1124,5]]}},"keywords":{}}],["quot;approved"",{"_index":702,"title":{},"content":{"55":{"position":[[1061,22]]}},"keywords":{}}],["quot;ca"",{"_index":738,"title":{},"content":{"56":{"position":[[713,14]]}},"keywords":{}}],["quot;docsversiondropdown"",{"_index":196,"title":{},"content":{"20":{"position":[[185,32]]}},"keywords":{}}],["quot;pend",{"_index":709,"title":{},"content":{"55":{"position":[[1350,13]]}},"keywords":{}}],["quot;property"",{"_index":1009,"title":{},"content":{"83":{"position":[[143,21]]}},"keywords":{}}],["quot;publisher."",{"_index":766,"title":{},"content":{"56":{"position":[[1394,22]]}},"keywords":{}}],["quot;seri",{"_index":774,"title":{},"content":{"56":{"position":[[1619,19]]}},"keywords":{}}],["quot;submiss",{"_index":658,"title":{},"content":{"54":{"position":[[2122,17]]}},"keywords":{}}],["quot;submitted"",{"_index":701,"title":{},"content":{"55":{"position":[[1038,22]]}},"keywords":{}}],["quot;und",{"_index":711,"title":{},"content":{"55":{"position":[[1378,11]]}},"keywords":{}}],["quot;what",{"_index":714,"title":{},"content":{"55":{"position":[[1491,10]]}},"keywords":{}}],["quot;wher",{"_index":703,"title":{},"content":{"55":{"position":[[1148,11]]}},"keywords":{}}],["quot;why"",{"_index":685,"title":{},"content":{"55":{"position":[[393,15]]}},"keywords":{}}],["radio",{"_index":749,"title":{},"content":{"56":{"position":[[856,5]]}},"keywords":{}}],["rang",{"_index":444,"title":{},"content":{"35":{"position":[[179,5]]}},"keywords":{}}],["react",{"_index":126,"title":{"10":{"position":[[18,5]]},"38":{"position":[[8,5]]}},"content":{"10":{"position":[[31,5],[60,5],[81,5],[92,8],[214,5],[255,5],[355,5]]},"38":{"position":[[71,5]]}},"keywords":{}}],["read",{"_index":3,"title":{},"content":{"1":{"position":[[1,4]]},"14":{"position":[[201,5]]},"56":{"position":[[1970,7]]}},"keywords":{}}],["readabl",{"_index":755,"title":{},"content":{"56":{"position":[[1060,8]]}},"keywords":{}}],["reader",{"_index":817,"title":{},"content":{"60":{"position":[[781,7]]}},"keywords":{}}],["readi",{"_index":79,"title":{},"content":{"6":{"position":[[319,5]]}},"keywords":{}}],["reason",{"_index":229,"title":{},"content":{"23":{"position":[[264,7]]}},"keywords":{}}],["receiv",{"_index":582,"title":{},"content":{"53":{"position":[[935,8]]}},"keywords":{}}],["recommend",{"_index":39,"title":{},"content":{"4":{"position":[[65,11]]},"30":{"position":[[264,9]]},"82":{"position":[[326,9]]}},"keywords":{}}],["record",{"_index":872,"title":{},"content":{"69":{"position":[[299,8],[344,8]]}},"keywords":{}}],["reduc",{"_index":284,"title":{},"content":{"24":{"position":[[452,6]]}},"keywords":{}}],["refer",{"_index":404,"title":{"43":{"position":[[0,11]]},"61":{"position":[[0,11]]},"65":{"position":[[0,11]]},"73":{"position":[[0,11]]},"87":{"position":[[0,11]]}},"content":{"32":{"position":[[71,9],[194,9]]},"56":{"position":[[370,9]]},"68":{"position":[[288,6]]},"69":{"position":[[1061,6]]},"74":{"position":[[447,5]]},"75":{"position":[[378,9]]},"76":{"position":[[192,9]]},"77":{"position":[[210,9]]},"78":{"position":[[184,9]]},"82":{"position":[[589,9]]},"84":{"position":[[451,9]]},"85":{"position":[[250,9]]},"86":{"position":[[159,9]]}},"keywords":{}}],["referr",{"_index":579,"title":{},"content":{"53":{"position":[[852,8]]}},"keywords":{}}],["refin",{"_index":601,"title":{},"content":{"54":{"position":[[403,8]]}},"keywords":{}}],["reform",{"_index":227,"title":{},"content":{"23":{"position":[[235,6]]}},"keywords":{}}],["regard",{"_index":633,"title":{},"content":{"54":{"position":[[1293,9]]}},"keywords":{}}],["regex",{"_index":987,"title":{},"content":{"81":{"position":[[33,5]]}},"keywords":{}}],["region",{"_index":567,"title":{},"content":{"53":{"position":[[549,8]]}},"keywords":{}}],["regist",{"_index":852,"title":{},"content":{"68":{"position":[[29,8],[133,8],[251,10]]},"69":{"position":[[328,9],[806,8],[906,8],[1024,10]]}},"keywords":{}}],["registrar",{"_index":858,"title":{},"content":{"68":{"position":[[170,9]]},"69":{"position":[[943,9]]}},"keywords":{}}],["registri",{"_index":865,"title":{},"content":{"68":{"position":[[400,8]]},"69":{"position":[[376,9],[1189,8]]}},"keywords":{}}],["regular",{"_index":394,"title":{"81":{"position":[[0,7]]}},"content":{"31":{"position":[[1,7]]},"32":{"position":[[1,7]]},"74":{"position":[[283,7]]},"79":{"position":[[369,7],[490,7]]},"81":{"position":[[1,7]]}},"keywords":{}}],["rel",{"_index":397,"title":{},"content":{"31":{"position":[[58,8]]},"32":{"position":[[211,8]]}},"keywords":{}}],["relat",{"_index":42,"title":{},"content":{"4":{"position":[[101,7]]},"54":{"position":[[2344,10]]},"55":{"position":[[650,7],[1643,6]]},"58":{"position":[[55,7],[80,7]]},"60":{"position":[[309,7]]},"62":{"position":[[107,7]]}},"keywords":{}}],["relationship",{"_index":607,"title":{},"content":{"54":{"position":[[500,12]]},"56":{"position":[[1481,13]]},"60":{"position":[[287,13]]},"83":{"position":[[386,13]]}},"keywords":{}}],["releas",{"_index":179,"title":{},"content":{"19":{"position":[[1,7]]}},"keywords":{}}],["reli",{"_index":820,"title":{},"content":{"60":{"position":[[888,6]]}},"keywords":{}}],["reliabl",{"_index":995,"title":{},"content":{"82":{"position":[[199,8]]}},"keywords":{}}],["reload",{"_index":87,"title":{},"content":{"6":{"position":[[430,7]]}},"keywords":{}}],["remain",{"_index":974,"title":{},"content":{"79":{"position":[[628,6]]}},"keywords":{}}],["rephras",{"_index":647,"title":{},"content":{"54":{"position":[[1658,9]]}},"keywords":{}}],["report",{"_index":226,"title":{},"content":{"23":{"position":[[210,9]]},"27":{"position":[[95,9],[460,9]]}},"keywords":{}}],["reportingact",{"_index":356,"title":{},"content":{"27":{"position":[[332,17]]}},"keywords":{}}],["repres",{"_index":319,"title":{},"content":{"25":{"position":[[227,11]]},"54":{"position":[[70,12],[1415,11]]},"55":{"position":[[70,12],[149,10],[478,9]]},"58":{"position":[[31,9]]},"74":{"position":[[21,9],[89,11],[379,10]]},"75":{"position":[[35,11],[180,11]]},"76":{"position":[[44,11]]},"77":{"position":[[41,11]]},"82":{"position":[[43,11]]},"84":{"position":[[20,9]]},"85":{"position":[[22,9]]},"86":{"position":[[17,9]]}},"keywords":{}}],["represent",{"_index":640,"title":{},"content":{"54":{"position":[[1497,14]]},"75":{"position":[[332,15]]}},"keywords":{}}],["requir",{"_index":246,"title":{},"content":{"23":{"position":[[484,8]]},"24":{"position":[[177,9]]},"54":{"position":[[222,7],[355,8],[1958,8],[2140,7]]},"79":{"position":[[831,7]]},"82":{"position":[[414,7]]},"83":{"position":[[193,13],[331,8]]}},"keywords":{}}],["residentiald",{"_index":1035,"title":{},"content":{"88":{"position":[[47,15]]}},"keywords":{}}],["resolv",{"_index":985,"title":{},"content":{"80":{"position":[[169,9]]}},"keywords":{}}],["resourc",{"_index":210,"title":{"79":{"position":[[0,8]]}},"content":{"23":{"position":[[47,8],[553,8]]},"79":{"position":[[11,8]]},"80":{"position":[[74,8]]}},"keywords":{}}],["respect",{"_index":200,"title":{},"content":{"21":{"position":[[48,10]]},"53":{"position":[[335,10]]},"54":{"position":[[1376,7]]}},"keywords":{}}],["rest",{"_index":794,"title":{},"content":{"56":{"position":[[2116,4]]}},"keywords":{}}],["result",{"_index":401,"title":{},"content":{"31":{"position":[[188,7]]}},"keywords":{}}],["return",{"_index":137,"title":{},"content":{"10":{"position":[[177,6]]},"33":{"position":[[151,6],[270,6]]}},"keywords":{}}],["review",{"_index":638,"title":{},"content":{"54":{"position":[[1473,6]]},"79":{"position":[[847,6]]}},"keywords":{}}],["review"",{"_index":710,"title":{},"content":{"55":{"position":[[1364,13]]}},"keywords":{}}],["rfc",{"_index":912,"title":{},"content":{"74":{"position":[[134,3]]},"78":{"position":[[161,3]]},"79":{"position":[[700,3],[723,3]]}},"keywords":{}}],["right",{"_index":621,"title":{},"content":{"54":{"position":[[962,5],[1004,6]]}},"keywords":{}}],["road",{"_index":885,"title":{},"content":{"69":{"position":[[749,5]]}},"keywords":{}}],["role",{"_index":549,"title":{},"content":{"53":{"position":[[36,5],[721,4]]}},"keywords":{}}],["round",{"_index":672,"title":{},"content":{"54":{"position":[[2388,7]]}},"keywords":{}}],["rule",{"_index":314,"title":{},"content":{"25":{"position":[[102,5]]}},"keywords":{}}],["run",{"_index":51,"title":{},"content":{"5":{"position":[[136,3],[391,3]]},"6":{"position":[[1,3],[48,3],[229,3]]},"13":{"position":[[38,3]]},"14":{"position":[[42,3]]},"19":{"position":[[45,3]]},"48":{"position":[[44,3]]},"50":{"position":[[45,3],[132,3]]}},"keywords":{}}],["same",{"_index":303,"title":{"25":{"position":[[24,4]]}},"content":{"25":{"position":[[182,4]]},"69":{"position":[[541,4]]}},"keywords":{}}],["scalabl",{"_index":370,"title":{},"content":{"27":{"position":[[840,8]]}},"keywords":{}}],["scenario",{"_index":909,"title":{},"content":{"74":{"position":[[61,10]]},"82":{"position":[[392,9]]}},"keywords":{}}],["schema",{"_index":374,"title":{"28":{"position":[[0,8]]},"60":{"position":[[5,6]]}},"content":{"56":{"position":[[1417,6],[1426,6],[1465,6],[1536,7],[1590,7]]},"60":{"position":[[8,6],[214,6],[344,6],[401,7],[452,6],[583,7],[735,7],[1009,7],[1094,7]]},"61":{"position":[[29,6]]},"74":{"position":[[465,6]]},"75":{"position":[[396,6],[560,6]]},"76":{"position":[[210,6]]},"77":{"position":[[228,6]]},"78":{"position":[[202,6]]},"79":{"position":[[141,6],[274,6]]},"80":{"position":[[226,6]]},"81":{"position":[[93,6]]},"82":{"position":[[607,6]]},"83":{"position":[[423,7],[523,6]]},"84":{"position":[[469,6]]},"85":{"position":[[171,7],[268,6]]},"86":{"position":[[177,6]]},"89":{"position":[[14,6]]},"90":{"position":[[6,6]]}},"keywords":{}}],["schema.org/draft",{"_index":809,"title":{},"content":{"60":{"position":[[526,16]]}},"keywords":{}}],["schemasourc",{"_index":514,"title":{},"content":{"41":{"position":[[1,12]]}},"keywords":{}}],["schemasourceexampl",{"_index":851,"title":{},"content":{"63":{"position":[[1,19]]},"70":{"position":[[1,19]]}},"keywords":{}}],["scheme",{"_index":730,"title":{},"content":{"56":{"position":[[447,7],[691,8]]}},"keywords":{}}],["scope",{"_index":681,"title":{"58":{"position":[[0,6]]},"68":{"position":[[0,6]]}},"content":{"55":{"position":[[300,5]]}},"keywords":{}}],["sdm",{"_index":559,"title":{},"content":{"53":{"position":[[278,5]]}},"keywords":{}}],["seamlessli",{"_index":192,"title":{},"content":{"20":{"position":[[13,10]]},"49":{"position":[[13,10]]}},"keywords":{}}],["search",{"_index":16,"title":{},"content":{"1":{"position":[[168,6]]}},"keywords":{}}],["section",{"_index":447,"title":{},"content":{"35":{"position":[[274,7]]},"53":{"position":[[6,7]]},"54":{"position":[[6,7]]},"55":{"position":[[6,7]]},"75":{"position":[[59,7]]},"76":{"position":[[68,7]]},"77":{"position":[[65,7],[193,7]]},"78":{"position":[[110,7],[171,7]]}},"keywords":{}}],["sector",{"_index":211,"title":{},"content":{"23":{"position":[[56,6]]},"24":{"position":[[354,7]]},"27":{"position":[[16,6],[319,6]]}},"keywords":{}}],["see",{"_index":310,"title":{},"content":{"25":{"position":[[76,3]]},"31":{"position":[[86,3],[138,3],[202,3]]},"72":{"position":[[300,4]]}},"keywords":{}}],["seek",{"_index":555,"title":{},"content":{"53":{"position":[[179,7]]}},"keywords":{}}],["semant",{"_index":751,"title":{},"content":{"56":{"position":[[943,8]]}},"keywords":{}}],["separ",{"_index":367,"title":{},"content":{"27":{"position":[[753,10]]}},"keywords":{}}],["sequenc",{"_index":676,"title":{},"content":{"55":{"position":[[181,10]]}},"keywords":{}}],["sequenti",{"_index":695,"title":{},"content":{"55":{"position":[[739,10]]}},"keywords":{}}],["serv",{"_index":77,"title":{},"content":{"6":{"position":[[279,6]]},"14":{"position":[[46,5],[78,6]]},"56":{"position":[[595,5]]},"60":{"position":[[105,6]]}},"keywords":{}}],["server",{"_index":66,"title":{},"content":{"6":{"position":[[21,7],[311,7]]}},"keywords":{}}],["servic",{"_index":893,"title":{},"content":{"72":{"position":[[231,7]]}},"keywords":{}}],["set",{"_index":242,"title":{},"content":{"23":{"position":[[436,3]]},"25":{"position":[[1,3]]},"53":{"position":[[217,3]]},"54":{"position":[[340,3],[676,3],[1938,3]]},"55":{"position":[[498,3],[692,3]]},"60":{"position":[[1179,3],[1281,3]]}},"keywords":{}}],["shall",{"_index":692,"title":{},"content":{"55":{"position":[[576,5],[808,5],[1092,5],[1430,5]]},"69":{"position":[[27,5]]},"74":{"position":[[80,5]]},"75":{"position":[[26,5],[149,5],[348,5]]},"76":{"position":[[35,5]]},"77":{"position":[[32,5]]},"78":{"position":[[83,5],[143,5]]},"79":{"position":[[313,5],[459,5]]},"83":{"position":[[69,5]]}},"keywords":{}}],["share",{"_index":322,"title":{},"content":{"26":{"position":[[1,5]]},"27":{"position":[[638,5]]}},"keywords":{}}],["shift",{"_index":260,"title":{},"content":{"23":{"position":[[747,7],[830,6]]}},"keywords":{}}],["short",{"_index":847,"title":{},"content":{"62":{"position":[[196,5]]}},"keywords":{}}],["shorthand",{"_index":725,"title":{},"content":{"56":{"position":[[353,9]]}},"keywords":{}}],["show",{"_index":830,"title":{},"content":{"60":{"position":[[1218,4]]}},"keywords":{}}],["showcaseget",{"_index":20,"title":{},"content":{"1":{"position":[[214,11]]}},"keywords":{}}],["sidebar",{"_index":163,"title":{"17":{"position":[[14,8]]}},"content":{"17":{"position":[[36,7],[97,7],[276,7]]},"35":{"position":[[289,8]]}},"keywords":{}}],["sidebar_label",{"_index":168,"title":{},"content":{"17":{"position":[[144,14]]}},"keywords":{}}],["sidebar_posit",{"_index":170,"title":{},"content":{"17":{"position":[[165,17]]}},"keywords":{}}],["sidebars.j",{"_index":174,"title":{},"content":{"17":{"position":[[298,12],[312,11]]}},"keywords":{}}],["similar",{"_index":563,"title":{},"content":{"53":{"position":[[407,7]]}},"keywords":{}}],["singl",{"_index":340,"title":{},"content":{"27":{"position":[[69,6]]},"54":{"position":[[145,7],[2065,6]]},"86":{"position":[[57,6]]}},"keywords":{}}],["site",{"_index":6,"title":{"5":{"position":[[15,5]]},"6":{"position":[[11,5]]},"12":{"position":[[12,4]]},"13":{"position":[[11,5]]},"14":{"position":[[12,5]]},"45":{"position":[[15,4]]},"48":{"position":[[21,5]]},"50":{"position":[[21,5]]}},"content":{"1":{"position":[[44,4]]},"3":{"position":[[31,5]]},"5":{"position":[[27,4]]},"6":{"position":[[170,5],[425,4]]},"13":{"position":[[12,4]]},"48":{"position":[[12,4],[86,4]]},"50":{"position":[[12,4],[86,4]]}},"keywords":{}}],["skip",{"_index":822,"title":{},"content":{"60":{"position":[[934,7]]}},"keywords":{}}],["slug",{"_index":97,"title":{},"content":{"8":{"position":[[82,5]]},"30":{"position":[[157,5]]}},"keywords":{}}],["small",{"_index":155,"title":{},"content":{"14":{"position":[[190,5]]}},"keywords":{}}],["sme",{"_index":589,"title":{},"content":{"53":{"position":[[1101,5]]}},"keywords":{}}],["smoothli",{"_index":294,"title":{},"content":{"24":{"position":[[658,8]]}},"keywords":{}}],["softwar",{"_index":593,"title":{},"content":{"53":{"position":[[1178,9]]}},"keywords":{}}],["sole",{"_index":997,"title":{},"content":{"82":{"position":[[265,6]]}},"keywords":{}}],["solut",{"_index":332,"title":{},"content":{"26":{"position":[[155,9]]}},"keywords":{}}],["space",{"_index":207,"title":{},"content":{"23":{"position":[[25,6]]},"69":{"position":[[742,6]]}},"keywords":{}}],["spec",{"_index":460,"title":{},"content":{"37":{"position":[[40,5]]}},"keywords":{}}],["special",{"_index":422,"title":{},"content":{"34":{"position":[[18,7]]}},"keywords":{}}],["specialist",{"_index":590,"title":{},"content":{"53":{"position":[[1112,10]]}},"keywords":{}}],["specif",{"_index":270,"title":{"41":{"position":[[0,14]]},"63":{"position":[[0,14]]},"70":{"position":[[0,14]]}},"content":{"24":{"position":[[54,13]]},"50":{"position":[[23,8]]},"52":{"position":[[64,13]]},"53":{"position":[[1128,8]]},"54":{"position":[[83,8],[153,8],[822,8],[1750,8],[2432,8]]},"55":{"position":[[83,8],[535,8],[607,8]]},"56":{"position":[[64,13],[91,8],[400,8]]},"58":{"position":[[93,8]]},"60":{"position":[[176,8],[767,13]]},"75":{"position":[[426,8]]},"82":{"position":[[637,8]]},"83":{"position":[[462,8]]},"84":{"position":[[499,8]]}},"keywords":{}}],["specifi",{"_index":240,"title":{},"content":{"23":{"position":[[409,9]]},"30":{"position":[[378,10]]},"74":{"position":[[121,9]]},"75":{"position":[[128,10],[252,10]]},"79":{"position":[[525,10]]},"80":{"position":[[57,7]]}},"keywords":{}}],["spot",{"_index":350,"title":{},"content":{"27":{"position":[[190,4]]}},"keywords":{}}],["spreadsheet",{"_index":759,"title":{},"content":{"56":{"position":[[1185,11]]}},"keywords":{}}],["sql",{"_index":769,"title":{},"content":{"56":{"position":[[1567,4],[2094,3]]}},"keywords":{}}],["src/components/hellodocusaurus.j",{"_index":420,"title":{},"content":{"33":{"position":[[207,33]]}},"keywords":{}}],["src/pages/mi",{"_index":127,"title":{},"content":{"10":{"position":[[18,12],[47,12]]},"11":{"position":[[18,12],[50,12]]}},"keywords":{}}],["stabl",{"_index":369,"title":{},"content":{"27":{"position":[[818,7]]}},"keywords":{}}],["stage",{"_index":690,"title":{},"content":{"55":{"position":[[505,6],[658,7],[666,5],[723,5],[802,5],[1115,5]]}},"keywords":{}}],["standard",{"_index":239,"title":{"88":{"position":[[11,10]]},"89":{"position":[[10,10]]}},"content":{"23":{"position":[[400,8]]},"24":{"position":[[204,8]]},"27":{"position":[[778,10],[941,10]]},"56":{"position":[[626,9],[908,12],[1786,12]]},"72":{"position":[[777,8]]},"75":{"position":[[567,9]]},"79":{"position":[[281,9]]},"88":{"position":[[14,10],[104,9]]}},"keywords":{}}],["standardb.c",{"_index":1036,"title":{},"content":{"88":{"position":[[72,12]]}},"keywords":{}}],["standards.identifi",{"_index":326,"title":{},"content":{"26":{"position":[[54,18]]}},"keywords":{}}],["start",{"_index":26,"title":{"3":{"position":[[8,8]]},"6":{"position":[[0,5]]},"22":{"position":[[8,7]]},"48":{"position":[[0,5]]}},"content":{"3":{"position":[[5,7]]},"6":{"position":[[52,5],[233,5]]},"48":{"position":[[1,5],[48,5],[150,7]]}},"keywords":{}}],["state",{"_index":448,"title":{"36":{"position":[[0,5]]}},"content":{"54":{"position":[[1432,6]]},"55":{"position":[[713,7],[759,6],[883,6],[913,5],[1086,5],[1314,5],[1464,5]]}},"keywords":{}}],["static",{"_index":149,"title":{},"content":{"13":{"position":[[54,6]]},"32":{"position":[[95,6]]}},"keywords":{}}],["static/img/docusaurus.png",{"_index":405,"title":{},"content":{"32":{"position":[[112,28]]}},"keywords":{}}],["station",{"_index":750,"title":{},"content":{"56":{"position":[[862,9]]}},"keywords":{}}],["statu",{"_index":705,"title":{},"content":{"55":{"position":[[1185,6]]}},"keywords":{}}],["status",{"_index":713,"title":{},"content":{"55":{"position":[[1421,8]]}},"keywords":{}}],["statutori",{"_index":558,"title":{},"content":{"53":{"position":[[253,9]]},"54":{"position":[[994,9],[1268,9]]}},"keywords":{}}],["store",{"_index":221,"title":{},"content":{"23":{"position":[[153,5]]},"56":{"position":[[1711,7]]},"72":{"position":[[16,6],[146,5]]},"75":{"position":[[169,6]]}},"keywords":{}}],["strata",{"_index":883,"title":{},"content":{"69":{"position":[[730,7]]}},"keywords":{}}],["strategi",{"_index":365,"title":{},"content":{"27":{"position":[[711,8],[793,8]]}},"keywords":{}}],["string",{"_index":513,"title":{"74":{"position":[[0,7]]}},"content":{"40":{"position":[[7,6]]},"56":{"position":[[301,7]]},"62":{"position":[[189,6],[248,6]]},"69":{"position":[[234,6],[530,6]]},"72":{"position":[[493,8]]},"74":{"position":[[1,7],[72,7],[195,7],[368,6]]},"79":{"position":[[305,7]]},"83":{"position":[[87,7]]}},"keywords":{}}],["strip",{"_index":823,"title":{},"content":{"60":{"position":[[950,8]]}},"keywords":{}}],["structur",{"_index":512,"title":{"40":{"position":[[0,10]]},"56":{"position":[[0,10]]},"62":{"position":[[0,10]]},"69":{"position":[[0,10]]}},"content":{"56":{"position":[[34,10]]},"60":{"position":[[68,10],[146,10],[253,11],[858,11]]},"83":{"position":[[221,12]]}},"keywords":{}}],["style",{"_index":491,"title":{},"content":{"38":{"position":[[168,8]]}},"keywords":{}}],["subgraph",{"_index":474,"title":{},"content":{"37":{"position":[[217,8],[249,8]]}},"keywords":{}}],["subject",{"_index":587,"title":{},"content":{"53":{"position":[[1055,7],[1079,7]]}},"keywords":{}}],["submiss",{"_index":577,"title":{},"content":{"53":{"position":[[801,12]]},"54":{"position":[[1645,12],[2028,10]]}},"keywords":{}}],["submit",{"_index":608,"title":{},"content":{"54":{"position":[[527,9]]}},"keywords":{}}],["substitut",{"_index":983,"title":{},"content":{"80":{"position":[[132,11]]}},"keywords":{}}],["such",{"_index":592,"title":{},"content":{"53":{"position":[[1145,4]]},"54":{"position":[[1769,4]]},"74":{"position":[[247,4]]},"75":{"position":[[263,4]]},"82":{"position":[[317,5],[513,4]]},"84":{"position":[[110,5],[325,4]]}},"keywords":{}}],["support",{"_index":395,"title":{},"content":{"31":{"position":[[28,10]]},"32":{"position":[[29,10]]},"33":{"position":[[26,9]]},"35":{"position":[[25,8],[195,10]]},"46":{"position":[[36,7]]},"53":{"position":[[764,7]]},"75":{"position":[[491,9]]},"79":{"position":[[205,9],[785,11]]}},"keywords":{}}],["sure",{"_index":602,"title":{},"content":{"54":{"position":[[416,4]]}},"keywords":{}}],["surveyor",{"_index":646,"title":{},"content":{"54":{"position":[[1636,8]]}},"keywords":{}}],["synonym",{"_index":578,"title":{},"content":{"53":{"position":[[826,7]]},"54":{"position":[[1996,7]]}},"keywords":{}}],["syntax",{"_index":413,"title":{},"content":{"33":{"position":[[41,6]]},"34":{"position":[[26,6]]},"35":{"position":[[267,6]]},"56":{"position":[[1659,7]]}},"keywords":{}}],["system",{"_index":234,"title":{},"content":{"23":{"position":[[343,7]]},"24":{"position":[[102,6],[257,7],[443,8],[482,7],[638,7],[711,7]]},"27":{"position":[[510,7],[571,7],[919,7]]},"56":{"position":[[829,6]]},"62":{"position":[[162,8]]}},"keywords":{}}],["sébastien",{"_index":111,"title":{},"content":{"8":{"position":[[267,9]]}},"keywords":{}}],["tabular",{"_index":760,"title":{},"content":{"56":{"position":[[1200,7]]}},"keywords":{}}],["tag",{"_index":116,"title":{},"content":{"8":{"position":[[388,5]]},"30":{"position":[[178,5],[346,4]]}},"keywords":{}}],["take",{"_index":432,"title":{},"content":{"34":{"position":[[213,4]]},"54":{"position":[[898,4]]}},"keywords":{}}],["taken",{"_index":636,"title":{},"content":{"54":{"position":[[1365,5]]}},"keywords":{}}],["talk",{"_index":364,"title":{},"content":{"27":{"position":[[648,4]]}},"keywords":{}}],["tantali",{"_index":874,"title":{},"content":{"69":{"position":[[425,8]]}},"keywords":{}}],["tbd",{"_index":375,"title":{},"content":{"28":{"position":[[1,3]]},"42":{"position":[[1,3]]},"43":{"position":[[1,3]]},"64":{"position":[[1,3]]},"65":{"position":[[1,3]]}},"keywords":{}}],["td",{"_index":450,"title":{},"content":{"36":{"position":[[18,2]]}},"keywords":{}}],["teams.creat",{"_index":312,"title":{},"content":{"25":{"position":[[83,12]]}},"keywords":{}}],["technic",{"_index":290,"title":{"89":{"position":[[0,9]]}},"content":{"24":{"position":[[599,9]]}},"keywords":{}}],["technolog",{"_index":366,"title":{},"content":{"27":{"position":[[724,10]]}},"keywords":{}}],["templat",{"_index":47,"title":{"80":{"position":[[4,9]]}},"content":{"5":{"position":[[50,9],[73,8]]},"80":{"position":[[5,9],[31,8]]}},"keywords":{}}],["template)rfc",{"_index":1054,"title":{},"content":{"89":{"position":[[265,12]]}},"keywords":{}}],["tenur",{"_index":619,"title":{},"content":{"54":{"position":[[947,7]]}},"keywords":{}}],["term",{"_index":540,"title":{},"content":{"51":{"position":[[1,4]]},"52":{"position":[[15,5]]},"53":{"position":[[122,4]]},"54":{"position":[[115,4],[1111,4],[1892,4]]},"55":{"position":[[120,4],[1624,5]]},"56":{"position":[[15,5],[113,4],[921,5],[1038,5],[1327,4]]}},"keywords":{}}],["termin",{"_index":60,"title":{},"content":{"5":{"position":[[261,9],[295,8]]},"6":{"position":[[204,8]]}},"keywords":{}}],["terminolog",{"_index":517,"title":{"44":{"position":[[0,11]]}},"content":{"52":{"position":[[136,11]]}},"keywords":{}}],["terms.gath",{"_index":316,"title":{},"content":{"25":{"position":[[187,12]]}},"keywords":{}}],["test",{"_index":151,"title":{},"content":{"14":{"position":[[1,4]]}},"keywords":{}}],["text",{"_index":385,"title":{},"content":{"30":{"position":[[229,4]]},"60":{"position":[[676,4]]}},"keywords":{}}],["textual",{"_index":908,"title":{},"content":{"74":{"position":[[31,7]]}},"keywords":{}}],["theecma",{"_index":988,"title":{},"content":{"81":{"position":[[58,7]]}},"keywords":{}}],["thejson",{"_index":934,"title":{},"content":{"75":{"position":[[388,7]]},"76":{"position":[[202,7]]},"77":{"position":[[220,7]]},"78":{"position":[[194,7]]},"79":{"position":[[133,7]]},"80":{"position":[[218,7]]},"81":{"position":[[85,7]]},"82":{"position":[[599,7]]},"83":{"position":[[515,7]]},"84":{"position":[[461,7]]},"85":{"position":[[260,7]]},"86":{"position":[[169,7]]}},"keywords":{}}],["theme/layout",{"_index":131,"title":{},"content":{"10":{"position":[[120,16]]}},"keywords":{}}],["themeconfig",{"_index":195,"title":{},"content":{"20":{"position":[[143,12]]},"49":{"position":[[143,12]]}},"keywords":{}}],["themeconfigadd",{"_index":12,"title":{},"content":{"1":{"position":[[121,14]]}},"keywords":{}}],["thing",{"_index":625,"title":{},"content":{"54":{"position":[[1125,7]]}},"keywords":{}}],["thought",{"_index":757,"title":{},"content":{"56":{"position":[[1146,7]]}},"keywords":{}}],["three",{"_index":902,"title":{},"content":{"72":{"position":[[606,5]]}},"keywords":{}}],["through",{"_index":78,"title":{},"content":{"6":{"position":[[289,7]]},"27":{"position":[[28,7]]},"35":{"position":[[59,7]]},"55":{"position":[[252,8],[791,8]]}},"keywords":{}}],["time",{"_index":272,"title":{"75":{"position":[[9,5]]}},"content":{"24":{"position":[[142,5]]},"48":{"position":[[236,5]]},"54":{"position":[[1075,4]]},"75":{"position":[[13,4],[144,4],[244,4],[287,4],[300,4],[327,4],[372,5],[509,4]]},"79":{"position":[[223,4]]},"88":{"position":[[67,4]]}},"keywords":{}}],["time)rfc",{"_index":1046,"title":{},"content":{"89":{"position":[[100,8]]}},"keywords":{}}],["timenam",{"_index":1038,"title":{},"content":{"88":{"position":[[127,10]]}},"keywords":{}}],["timesdata",{"_index":354,"title":{},"content":{"27":{"position":[[289,9]]}},"keywords":{}}],["tip",{"_index":425,"title":{},"content":{"34":{"position":[[80,4],[176,3]]}},"keywords":{}}],["tip[mi",{"_index":424,"title":{},"content":{"34":{"position":[[70,9]]}},"keywords":{}}],["titl",{"_index":99,"title":{},"content":{"8":{"position":[[98,6],[145,6],[284,6]]},"30":{"position":[[95,6],[114,5],[323,6]]},"54":{"position":[[1023,6]]},"68":{"position":[[23,5],[127,5],[223,5],[262,6],[278,5]]},"69":{"position":[[322,5],[800,5],[900,5],[996,5],[1035,6],[1051,5]]}},"keywords":{}}],["title="src/components/hellodocusaurus.js"",{"_index":416,"title":{},"content":{"33":{"position":[[70,51]]}},"keywords":{}}],["top",{"_index":379,"title":{},"content":{"30":{"position":[[41,3]]}},"keywords":{}}],["topic",{"_index":801,"title":{},"content":{"60":{"position":[[317,6]]}},"keywords":{}}],["torfc",{"_index":945,"title":{},"content":{"76":{"position":[[180,5]]},"77":{"position":[[181,5]]}},"keywords":{}}],["track",{"_index":288,"title":{"55":{"position":[[8,9]]}},"content":{"24":{"position":[[568,8]]},"62":{"position":[[89,5]]}},"keywords":{}}],["transform",{"_index":300,"title":{},"content":{"24":{"position":[[797,14]]},"26":{"position":[[171,15]]},"27":{"position":[[895,9]]},"72":{"position":[[758,11]]}},"keywords":{}}],["translat",{"_index":518,"title":{"45":{"position":[[0,9]]},"47":{"position":[[0,9]]}},"content":{"47":{"position":[[185,9]]},"48":{"position":[[166,11]]}},"keywords":{}}],["transmit",{"_index":778,"title":{},"content":{"56":{"position":[[1722,12]]}},"keywords":{}}],["tri",{"_index":29,"title":{},"content":{"3":{"position":[[41,3]]}},"keywords":{}}],["true",{"_index":1023,"title":{},"content":{"85":{"position":[[58,4],[126,4]]}},"keywords":{}}],["tutori",{"_index":23,"title":{"2":{"position":[[0,8]]}},"content":{"17":{"position":[[405,11]]}},"keywords":{}}],["tutorial_basics/cr",{"_index":177,"title":{},"content":{"17":{"position":[[424,24]]}},"keywords":{}}],["tutorialsidebar",{"_index":175,"title":{},"content":{"17":{"position":[[341,16]]}},"keywords":{}}],["two",{"_index":1022,"title":{},"content":{"85":{"position":[[37,3]]}},"keywords":{}}],["type",{"_index":57,"title":{"66":{"position":[[10,5]]}},"content":{"5":{"position":[[210,4]]},"17":{"position":[[380,5]]},"20":{"position":[[179,5]]},"23":{"position":[[100,5],[465,5]]},"40":{"position":[[1,5]]},"49":{"position":[[179,5]]},"54":{"position":[[1905,4]]},"56":{"position":[[133,4],[155,4],[220,4],[272,5],[1702,4],[1805,4],[2058,5]]},"58":{"position":[[11,4]]},"60":{"position":[[185,4],[1441,4]]},"62":{"position":[[18,4]]},"69":{"position":[[177,4]]},"72":{"position":[[809,5]]},"74":{"position":[[355,5],[535,6]]},"82":{"position":[[60,4],[378,4]]},"84":{"position":[[100,6],[159,4]]}},"keywords":{}}],["type.requir",{"_index":831,"title":{},"content":{"60":{"position":[[1243,13]]}},"keywords":{}}],["types.cr",{"_index":329,"title":{},"content":{"26":{"position":[[118,12]]}},"keywords":{}}],["typesrfc",{"_index":1041,"title":{},"content":{"89":{"position":[[21,8]]}},"keywords":{}}],["typic",{"_index":707,"title":{},"content":{"55":{"position":[[1324,9]]},"56":{"position":[[455,9],[975,9]]},"60":{"position":[[356,9]]}},"keywords":{}}],["uid",{"_index":734,"title":{},"content":{"56":{"position":[[536,6]]}},"keywords":{}}],["ultim",{"_index":361,"title":{},"content":{"27":{"position":[[410,10]]}},"keywords":{}}],["umbrella",{"_index":624,"title":{},"content":{"54":{"position":[[1102,8]]}},"keywords":{}}],["uml",{"_index":770,"title":{},"content":{"56":{"position":[[1572,4]]}},"keywords":{}}],["undefin",{"_index":1032,"title":{},"content":{"86":{"position":[[148,10]]}},"keywords":{}}],["under",{"_index":446,"title":{},"content":{"35":{"position":[[249,5]]}},"keywords":{}}],["understand",{"_index":271,"title":{},"content":{"24":{"position":[[127,10]]},"25":{"position":[[166,11]]},"27":{"position":[[582,10]]},"52":{"position":[[118,13]]},"60":{"position":[[804,10]]},"62":{"position":[[327,10]]}},"keywords":{}}],["uniqu",{"_index":732,"title":{},"content":{"56":{"position":[[496,6]]},"60":{"position":[[563,6]]},"62":{"position":[[75,6]]},"68":{"position":[[86,8]]},"69":{"position":[[859,8]]},"80":{"position":[[67,6]]},"84":{"position":[[333,11]]}},"keywords":{}}],["unit",{"_index":726,"title":{},"content":{"56":{"position":[[382,4]]}},"keywords":{}}],["univers",{"_index":960,"title":{},"content":{"79":{"position":[[1,9]]}},"keywords":{}}],["unix/epochtim",{"_index":932,"title":{},"content":{"75":{"position":[[220,15]]}},"keywords":{}}],["unless",{"_index":929,"title":{},"content":{"75":{"position":[[111,6]]}},"keywords":{}}],["unord",{"_index":1005,"title":{},"content":{"83":{"position":[[22,9]]}},"keywords":{}}],["unreleas",{"_index":190,"title":{},"content":{"19":{"position":[[321,10]]}},"keywords":{}}],["up",{"_index":304,"title":{},"content":{"25":{"position":[[5,2]]},"60":{"position":[[1223,2]]}},"keywords":{}}],["upcom",{"_index":189,"title":{},"content":{"19":{"position":[[311,9]]}},"keywords":{}}],["updat",{"_index":198,"title":{"21":{"position":[[0,6]]}},"content":{"21":{"position":[[104,7],[158,7]]},"55":{"position":[[1234,6]]}},"keywords":{}}],["upon",{"_index":821,"title":{},"content":{"60":{"position":[[895,4]]}},"keywords":{}}],["uri",{"_index":811,"title":{"80":{"position":[[0,3]]}},"content":{"60":{"position":[[570,3]]},"79":{"position":[[48,3]]},"80":{"position":[[1,3],[27,3],[158,3]]},"89":{"position":[[260,4]]}},"keywords":{}}],["uri)rfc",{"_index":1048,"title":{},"content":{"89":{"position":[[130,8]]}},"keywords":{}}],["url",{"_index":107,"title":{},"content":{"8":{"position":[[179,4],[313,4]]},"30":{"position":[[174,3]]},"31":{"position":[[45,3]]}},"keywords":{}}],["us",{"_index":45,"title":{},"content":{"5":{"position":[[32,5]]},"26":{"position":[[165,5]]},"31":{"position":[[39,5]]},"32":{"position":[[49,3],[270,6],[324,5]]},"34":{"position":[[85,3],[180,3]]},"35":{"position":[[135,5]]},"38":{"position":[[61,5]]},"48":{"position":[[216,3]]},"52":{"position":[[47,4]]},"53":{"position":[[631,3]]},"54":{"position":[[61,4],[1782,4],[1882,4]]},"55":{"position":[[61,4]]},"56":{"position":[[621,4],[656,4],[1561,5],[1998,5]]},"60":{"position":[[27,4],[756,6]]},"74":{"position":[[13,4]]},"75":{"position":[[317,5]]},"78":{"position":[[74,5],[134,5]]},"79":{"position":[[37,3],[107,4],[429,5],[450,5],[515,4],[896,5]]},"82":{"position":[[336,5]]},"83":{"position":[[13,4]]},"84":{"position":[[12,4],[203,3],[405,4]]},"85":{"position":[[14,4]]},"86":{"position":[[9,4]]}},"keywords":{}}],["usabl",{"_index":275,"title":{},"content":{"24":{"position":[[228,6]]}},"keywords":{}}],["usag",{"_index":546,"title":{},"content":{"52":{"position":[[148,6]]}},"keywords":{}}],["usage.properti",{"_index":829,"title":{},"content":{"60":{"position":[[1158,16]]}},"keywords":{}}],["usual",{"_index":691,"title":{},"content":{"55":{"position":[[516,7]]}},"keywords":{}}],["utc",{"_index":933,"title":{},"content":{"75":{"position":[[368,3]]}},"keywords":{}}],["utf",{"_index":910,"title":{},"content":{"74":{"position":[[104,3]]},"89":{"position":[[114,4]]}},"keywords":{}}],["uuid",{"_index":735,"title":{},"content":{"56":{"position":[[547,7],[577,5]]},"62":{"position":[[68,4]]},"79":{"position":[[186,4],[300,4],[354,4],[413,4],[442,4],[536,5],[745,4],[806,4],[878,4]]},"89":{"position":[[144,5],[298,5]]}},"keywords":{}}],["v1",{"_index":1049,"title":{},"content":{"89":{"position":[[150,2]]}},"keywords":{}}],["v4",{"_index":968,"title":{},"content":{"79":{"position":[[418,2]]}},"keywords":{}}],["v6",{"_index":1056,"title":{},"content":{"89":{"position":[[304,2]]}},"keywords":{}}],["valid",{"_index":342,"title":{},"content":{"27":{"position":[[85,9]]},"60":{"position":[[1354,6]]},"69":{"position":[[3,5]]}},"keywords":{}}],["valu",{"_index":881,"title":{},"content":{"69":{"position":[[690,6]]},"72":{"position":[[34,6]]},"82":{"position":[[76,6],[169,7],[221,5],[259,5]]},"83":{"position":[[36,5],[105,5]]},"85":{"position":[[50,7],[116,6]]},"86":{"position":[[30,6],[75,5],[138,6]]}},"keywords":{}}],["vari",{"_index":642,"title":{},"content":{"54":{"position":[[1577,7]]}},"keywords":{}}],["varieti",{"_index":765,"title":{},"content":{"56":{"position":[[1353,7]]}},"keywords":{}}],["variou",{"_index":293,"title":{},"content":{"24":{"position":[[630,7]]},"27":{"position":[[491,7]]},"53":{"position":[[28,7]]},"54":{"position":[[903,7]]},"83":{"position":[[185,7]]}},"keywords":{}}],["veri",{"_index":154,"title":{},"content":{"14":{"position":[[185,4]]}},"keywords":{}}],["verifi",{"_index":797,"title":{},"content":{"60":{"position":[[56,6]]}},"keywords":{}}],["version",{"_index":35,"title":{"18":{"position":[[12,8]]},"19":{"position":[[14,8]]},"20":{"position":[[6,7]]},"21":{"position":[[19,8]]}},"content":{"4":{"position":[[9,7]]},"19":{"position":[[11,7],[189,9],[243,7]]},"20":{"position":[[31,9],[47,7],[244,7]]},"21":{"position":[[24,9]]},"60":{"position":[[634,10]]},"61":{"position":[[36,7]]},"79":{"position":[[359,9],[635,7],[750,8],[883,8]]},"90":{"position":[[13,7]]}},"keywords":{}}],["versioned_docs/vers",{"_index":183,"title":{},"content":{"19":{"position":[[110,22]]},"21":{"position":[[68,22]]}},"keywords":{}}],["versions.json",{"_index":184,"title":{},"content":{"19":{"position":[[141,13]]}},"keywords":{}}],["view",{"_index":80,"title":{},"content":{"6":{"position":[[336,4]]},"27":{"position":[[23,4],[126,4]]}},"keywords":{}}],["visit",{"_index":445,"title":{},"content":{"35":{"position":[[206,5]]}},"keywords":{}}],["vocabulari",{"_index":595,"title":{},"content":{"54":{"position":[[50,10]]},"55":{"position":[[50,10]]},"56":{"position":[[872,10],[885,10]]}},"keywords":{}}],["voic",{"_index":890,"title":{},"content":{"72":{"position":[[122,6]]}},"keywords":{}}],["warn",{"_index":935,"title":{},"content":{"75":{"position":[[446,7]]},"79":{"position":[[164,7]]}},"keywords":{}}],["way",{"_index":218,"title":{},"content":{"23":{"position":[[124,4]]},"24":{"position":[[702,4]]},"54":{"position":[[971,4]]},"56":{"position":[[363,3]]},"60":{"position":[[117,3]]},"80":{"position":[[50,3]]}},"keywords":{}}],["web",{"_index":779,"title":{},"content":{"56":{"position":[[1753,4],[2134,4]]}},"keywords":{}}],["websit",{"_index":56,"title":{},"content":{"5":{"position":[[184,7]]},"6":{"position":[[36,7],[259,7]]}},"keywords":{}}],["well",{"_index":214,"title":{},"content":{"23":{"position":[[79,4],[606,4]]},"32":{"position":[[243,5]]},"56":{"position":[[639,4]]},"83":{"position":[[371,4]]}},"keywords":{}}],["what'",{"_index":1,"title":{"1":{"position":[[0,6]]}},"content":{},"keywords":{}}],["wide",{"_index":443,"title":{},"content":{"35":{"position":[[174,4]]},"56":{"position":[[614,6]]}},"keywords":{}}],["within",{"_index":543,"title":{},"content":{"52":{"position":[[52,6]]},"53":{"position":[[93,6],[567,6],[669,6]]},"54":{"position":[[101,6],[852,6],[1799,6]]},"55":{"position":[[101,6],[445,6],[890,6],[993,6]]},"56":{"position":[[503,6]]}},"keywords":{}}],["without",{"_index":236,"title":{},"content":{"23":{"position":[[367,7]]},"72":{"position":[[678,7]]}},"keywords":{}}],["withrfc",{"_index":955,"title":{},"content":{"78":{"position":[[96,7]]},"79":{"position":[[63,7],[472,7]]},"80":{"position":[[198,7]]}},"keywords":{}}],["work",{"_index":71,"title":{},"content":{"6":{"position":[[104,7],[130,4]]},"24":{"position":[[393,4]]},"25":{"position":[[10,7]]},"54":{"position":[[1142,4]]},"55":{"position":[[908,4]]}},"keywords":{}}],["workflow",{"_index":700,"title":{},"content":{"55":{"position":[[1022,8]]}},"keywords":{}}],["workload",{"_index":662,"title":{},"content":{"54":{"position":[[2204,8]]}},"keywords":{}}],["write",{"_index":790,"title":{},"content":{"56":{"position":[[1985,7]]}},"keywords":{}}],["xml",{"_index":783,"title":{},"content":{"56":{"position":[[1889,4]]}},"keywords":{}}],["xsd",{"_index":771,"title":{},"content":{"56":{"position":[[1577,4]]}},"keywords":{}}],["you'll",{"_index":32,"title":{"4":{"position":[[5,6]]}},"content":{"6":{"position":[[176,6]]}},"keywords":{}}],["you'r",{"_index":70,"title":{},"content":{"6":{"position":[[97,6]]}},"keywords":{}}],["zero",{"_index":891,"title":{},"content":{"72":{"position":[[198,5],[451,5],[541,4],[694,7]]}},"keywords":{}}]],"pipeline":["stemmer"]} \ No newline at end of file diff --git a/pr-preview/pr-3/markdown-page.html b/pr-preview/pr-3/markdown-page.html new file mode 100644 index 0000000..98ed058 --- /dev/null +++ b/pr-preview/pr-3/markdown-page.html @@ -0,0 +1,2 @@ +Markdown page example | Permitting Interoperability Exchange Specification

    Markdown page example

    +

    You don't need React to write simple standalone pages.

    \ No newline at end of file diff --git a/pr-preview/pr-3/search-doc-1732661161639.json b/pr-preview/pr-3/search-doc-1732661161639.json new file mode 100644 index 0000000..9986ce9 --- /dev/null +++ b/pr-preview/pr-3/search-doc-1732661161639.json @@ -0,0 +1 @@ +{"searchDocs":[{"title":"Congratulations!","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations","content":"","keywords":"","version":"Next"},{"title":"What's next?​","type":1,"pageTitle":"Congratulations!","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations#whats-next","content":" Read the official documentationModify your site configuration with docusaurus.config.jsAdd navbar and footer items with themeConfigAdd a custom Design and LayoutAdd a search barFind inspirations in the Docusaurus showcaseGet involved in the Docusaurus Community ","version":"Next","tagName":"h2"},{"title":"Tutorial Intro","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro","content":"","keywords":"","version":"Next"},{"title":"Getting Started​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro#getting-started","content":" Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new. ","version":"Next","tagName":"h2"},{"title":"What you'll need​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro#what-youll-need","content":" Node.js version 18.0 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies. ","version":"Next","tagName":"h3"},{"title":"Generate a new site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro#generate-a-new-site","content":" Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus. ","version":"Next","tagName":"h2"},{"title":"Start your site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro#start-your-site","content":" Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes. ","version":"Next","tagName":"h2"},{"title":"Create a Blog Post","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post","content":"","keywords":"","version":"Next"},{"title":"Create your first Post​","type":1,"pageTitle":"Create a Blog Post","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post#create-your-first-post","content":" Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much as you like. A new blog post is now available at http://localhost:3000/blog/greetings. ","version":"Next","tagName":"h2"},{"title":"Create a Page","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page","content":"","keywords":"","version":"Next"},{"title":"Create your first React Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-react-page","content":" Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return ( <Layout> <h1>My React page</h1> <p>This is a React page</p> </Layout> ); } A new page is now available at http://localhost:3000/my-react-page. ","version":"Next","tagName":"h2"},{"title":"Create your first Markdown Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-markdown-page","content":" Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page. ","version":"Next","tagName":"h2"},{"title":"Deploy your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site","content":"","keywords":"","version":"Next"},{"title":"Build your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site#build-your-site","content":" Build your site for production: npm run build The static files are generated in the build folder. ","version":"Next","tagName":"h2"},{"title":"Deploy your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site#deploy-your-site-1","content":" Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide). ","version":"Next","tagName":"h2"},{"title":"Create a Document","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document","content":"","keywords":"","version":"Next"},{"title":"Create your first Doc​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document#create-your-first-doc","content":" Create a Markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello. ","version":"Next","tagName":"h2"},{"title":"Configure the Sidebar​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document#configure-the-sidebar","content":" Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js export default { tutorialSidebar: [ 'intro', 'hello', { type: 'category', label: 'Tutorial', items: ['tutorial_basics/create-a-document'] } ] }; ","version":"Next","tagName":"h2"},{"title":"Manage Docs Versions","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions","content":"","keywords":"","version":"Next"},{"title":"Create a docs version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions#create-a-docs-version","content":" Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docscurrent at http://localhost:3000/docs/next/ for the upcoming, unreleased docs ","version":"Next","tagName":"h2"},{"title":"Add a Version Dropdown​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions#add-a-version-dropdown","content":" To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: "docsVersionDropdown", }, ], }, }, }; The docs version dropdown appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Update an existing version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions#update-an-existing-version","content":" It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hellodocs/hello.md updates http://localhost:3000/docs/next/hello ","version":"Next","tagName":"h2"},{"title":"Getting Started","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started","content":"","keywords":"","version":"Next"},{"title":"Purpose​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#purpose","content":" Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems can't integrate without a common language. This standard specifies the foundational set of core descriptive data types and elements required to enable the compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on permitting. ","version":"Next","tagName":"h2"},{"title":"Objectives​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#objectives","content":" The main objective of PIES is to deliver a published specification to enable better data quality and system interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes across the sector. Make it easier to connect and work with the information in different permitting systems. Reduce the effort and cost of systems integrations and automation.Unlock the ability to provide consistent progress tracking to proponents. Create technical guidelines that help various systems communicate smoothly and consistently.Support different ways for systems to communicate with each other.Unlock potential for evidence-based policy and transformative potential of AI. ","version":"Next","tagName":"h2"},{"title":"Getting Everyone on the Same Page​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#getting-everyone-on-the-same-page","content":" Set up a working group for people interested to contribute and adopt PIES. See MS Teams.Create clear rules for data governance.Develop a common language so everyone understands the same terms.Gather feedback to ensure data is represented accurately and clearly. ","version":"Next","tagName":"h3"},{"title":"Documentation​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#documentation","content":" Share best practices for documenting government data standards.Identify and list common permitting concepts and data types.Create a plan for implementing solutions using transformations and microservices. And of course, PIES are delicious! 😄 ","version":"Next","tagName":"h3"},{"title":"Goals​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#goals","content":" Enable a cross sector view Through appropriate data accessCreates a single point of validated reporting Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement Data qualityData and information consistencyIdentify processing timesData harmonization cross sector level reportingActivity bundling and linkingCoordinated First Nations Consultation Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to achieve interoperability (the ability for the systems to understand the key elements of information they need to share and talk to each other in a common language). An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems into the data standards. ","version":"Next","tagName":"h2"},{"title":"Schemas​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#schemas","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Markdown Features","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features","content":"","keywords":"","version":"Next"},{"title":"Front Matter​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#front-matter","content":" Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my_doc_id title: My document title description: My document description slug: /my-custom-url tags: - developer --- ## Markdown heading Markdown text with [links](./hello.md) We recommend that all markdown pages should have at minimum a title, description and tags array defined. An idmay be specified, but can be derived off of the filename when omitted. ","version":"Next","tagName":"h2"},{"title":"Links​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#links","content":" Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create_a_page). Let's see how to [Create a page](./create_a_page.md). Result: Let's see how to Create a page. ","version":"Next","tagName":"h2"},{"title":"Images​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#images","content":" Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them: ![Docusaurus logo](./img/docusaurus.png) ","version":"Next","tagName":"h2"},{"title":"Code Blocks​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#code-blocks","content":" Markdown code blocks are supported with Syntax highlighting. ```jsx title="src/components/HelloDocusaurus.js" function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ``` src/components/HelloDocusaurus.js function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ","version":"Next","tagName":"h2"},{"title":"Admonitions​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#admonitions","content":" Docusaurus has a special syntax to create admonitions and callouts: :::tip[My tip] Use this awesome feature option ::: :::danger[Take care] This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous ","version":"Next","tagName":"h2"},{"title":"Mermaid Graphs​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#mermaid-graphs","content":" Our Docusaurus instance supports diagramming and charting through Mermaid. The following are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, visit their documentation for more details under the Diagram Syntax section on the sidebar. ","version":"Next","tagName":"h2"},{"title":"State Machine​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#state-machine","content":" ```mermaid graph TD A-->B A-->C B-->D C-->D ``` ","version":"Next","tagName":"h3"},{"title":"Flowchart​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#flowchart","content":" ```mermaid graph LR A[PIES] -->|Get spec| B(Stakeholder approval) B --> C{Purpose} B --> G[/Further Analysis/] C ==>|One| D[Document Exchange] C -->|Two| E[Event Alerts] C -->|Three| F[Aggregation] subgraph identification A B end subgraph execution C D E F G end ``` ","version":"Next","tagName":"h3"},{"title":"MDX and React Components​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#mdx-and-react-components","content":" MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( <span style={{ backgroundColor: color, borderRadius: '20px', color: '#fff', padding: '10px', cursor: 'pointer', }} onClick={() => { alert(`You clicked the color ${color} with label ${children}`) }}> {children} </span> ); This is <Highlight color="#25c2a0">Docusaurus green</Highlight> ! This is <Highlight color="#1877F2">Facebook blue</Highlight> ! This is Docusaurus green ! This is Facebook blue ! ","version":"Next","tagName":"h2"},{"title":"Code","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code","content":"","keywords":"","version":"Next"},{"title":"Structure​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code#structure","content":" Type: string ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code#specification","content":" SchemaSource Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Terminology","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology","content":"","keywords":"","version":"Next"},{"title":"Translate your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site","content":"","keywords":"","version":"Next"},{"title":"Configure i18n​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#configure-i18n","content":" Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js export default { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, }; ","version":"Next","tagName":"h2"},{"title":"Translate a doc​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#translate-a-doc","content":" Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French. ","version":"Next","tagName":"h2"},{"title":"Start your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#start-your-localized-site","content":" Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. caution In development, you can only use one locale at a time. ","version":"Next","tagName":"h2"},{"title":"Add a Locale Dropdown​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#add-a-locale-dropdown","content":" To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Build your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#build-your-localized-site","content":" Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build ","version":"Next","tagName":"h2"},{"title":"Acronyms​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#acronyms","content":" Term\tDefinitionLOB\tLine of Business ","version":"Next","tagName":"h2"},{"title":"Concepts​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#concepts","content":" The following terms outline the main concepts used within this specification and aim to provide a common lexicon for understanding and terminology usage. ","version":"Next","tagName":"h2"},{"title":"Actors​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#actors","content":" This section discusses the various roles that a person, group or an organization may act as within the context of PIES. Term\tDefinitionApplicant\tA person, group or organization seeking an authorization to perform a set of activities. Decision Maker\tA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions. Interested Party\tA person, or group which may be impacted by an authorization decision. Local Government\tA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction. Navigator\tAn established role which focuses on delivering dedicated support to applicants on application submissions. Proponent\tA synonym for an applicant. Referral Agency\tA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application. Subject Matter Expert\tA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy. ","version":"Next","tagName":"h3"},{"title":"Definitions​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#definitions","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within PIES. Term\tDefinition\t???Activity\tA single, specific defined intent of action an area of intent. An activity may require one or more authorizations, e.g., a housing development project. Activity Bundling\tThe act of identifying the set of permits required for a certain activity.\tThis should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship Application\tA submitted form(s) with the intent to obtain or amend an authorization.\tThis might be getting muddled with the concept of a project. Area of Intent\tA set of one or more parcels which define the location(s) an activity is to be performed. Authorization\tThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.\tWe might need to expand this definition over time as this is the formal umbrella term for many things. Caseload\tWork happening with the LOB to facilitate, capture and maintain a permit. Disposition\tThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.\tFirst attempt at defining - needs review Parcel\tA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.\tRephrased from LTSA page Permit\tAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization. Project\tA set of applications required for a permit\tIs this a fancy synonym for an activity bundle? Submission\tThe completed output of a single form as answered by an applicant.\tAdd a note like "Submissions require an adjective declaring their application context"? Workload\tA quantifiable measurement of the number of client-driven applications in the queue.\t The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they interact with specific parts of the process. ","version":"Next","tagName":"h3"},{"title":"Process Tracking​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#process-tracking","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within a process. Term\tDefinition\t???Lifecycle\tRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.\tHighest level concept; answers the "why" Phase\tA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.\tDefines an ordering of related stages. Stage\tA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.\tProvides an ordering of higher level states within a phase of work State\tA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.\tLarger general "where is this at" concept Status\tA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.\tDetailed "what is happening now" concept The following diagram outlines a high level categorization map between all of the process terms and how they relate to each other. ","version":"Next","tagName":"h3"},{"title":"Structure​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#structure","content":" The following terms describe the structural definitions of the specification ordered from specific to general. Term\tDefinitionData Type\tA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date. Identifiers\tIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations. Vocabulary\tA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher." Schema\tA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema. Format\tThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML. API\tAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web. ","version":"Next","tagName":"h2"},{"title":"Project Bundle","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#scope","content":" This data type is intended to represent a grouping of related permits that are related to a specific activity. ","version":"Next","tagName":"h2"},{"title":"Formatting","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/formatting","content":"","keywords":"","version":"Next"},{"title":"JSON Schema Primer​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-3/docs/spec/formatting#json-schema-primer","content":" A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for describing expected structures, describing conceptual relationships between related topics and domains A JSON Schema will typically contain the following attributes: $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.$id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.$comment - A free text field for conveying out of band information about the schema. Comments are useful for specification readers and editors to understand further nuances for certain properties and structures, but should not be relied upon for implementation as they may be skipped over or stripped when parsed by machines.title - The intent of the schema. This should be brief and concise.description - A brief description about the schema. This should provide a quick overview for the context of usage.properties - A set of attributes that are expected to show up in this document type.required - An array defining the set of properties that must be present for the document to be considered valid. Anything defined that is not in this array is implied to be optional.type - The type primitive constraint for the property. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-3/docs/spec/formatting#references","content":" Draft 07RFC 8259 (JSON)JSON Schema Version Comparison ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#structure","content":" Name\tCardinality\tType\tDescription & Constraintsproject_id\t1..1\tuuid\tA unique key to track all permits related to a project or activity across all permitting systems. project_name\t1..1\tstring\tShort name of the project. project_description\t0..1\tstring\tFull description of the project. This may contain information to better understand a project. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Primitive Types","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types","content":"","keywords":"","version":"Next"},{"title":"Parcel Identifier","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#scope","content":" Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#structure","content":" A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.A Parcel Identifier may contain a legal_description and/or a parcel_name. Name\tCardinality\tType\tDescription & Constraintslegal_description\t0..1\tstring\tThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations. parcel_name\t0..1\tstring\tThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK. pid\t0..*\tinteger\tParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. pin\t0..1\tinteger\tThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#implementation-notes","content":" ","version":"Next","tagName":"h2"},{"title":"Parcel ID (PID)​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#parcel-id-pid","content":" Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes: parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes. Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type. ","version":"Next","tagName":"h3"},{"title":"References​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#references","content":" BC Data CatalogueParcelMap BC - Parcels ","version":"Next","tagName":"h2"},{"title":"String​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#string","content":" Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as specified in RFC 3629, which is an extension of the ISO 10646-1standard. Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expressionpattern. In addition, there are commonbuilt-in format types that a string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation for more detail on the available built-in format types. ","version":"Next","tagName":"h2"},{"title":"Date and Time​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#date-and-time","content":" Date and/or time formats shall be represented inRFC 3339, section 5.6 format, also commonly known asISO 8601. Unless otherwise specified, date-time shall be internally stored and represented in a format compatible with unix/epochtime. If the time is specified, such as when either the time or date-time formats are used, the time representations shall be encoded in UTC time. Reference theJSON Schema documentation for more specific examples. warning Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. ","version":"Next","tagName":"h3"},{"title":"Email​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#email","content":" Email addresses with format email shall be represented inRFC 5321, section 4.1.2 format. Emails may also be conveyed in internationalized format idn-email which will be compliant toRFC 6531. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Hostname​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#hostname","content":" Hostnames with format hostname shall be represented inRFC 1123, section 2.1 format. Hostnames may also be conveyed in internationalized format idn-hostname which will be compliant toRFC 5890, section 2.3.2.3. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"IP Address​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#ip-address","content":" IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply withRFC 2673, section 3.2. If IPv6 is used, it shall comply with RFC 2373, section 2.2. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Resource Identifier​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#resource-identifier","content":" Universal resource identifiers will use format uri and comply withRFC 3986. There are other less commonly used formats described in theJSON Schema documentation. warning Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most cases, uuid v4 will be used. When a uuid is used, it shall comply withRFC 4122. The regular expression to be used when specifying uuids will be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize compatibility. info While there is RFC 9562 which extends RFC 4122 by adding in uuid versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when these newer uuid versions are used. ","version":"Next","tagName":"h3"},{"title":"URI Template​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#uri-template","content":" URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters that must be substituted in before the URI may be resolved. This should comply withRFC 6570. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Regular Expression​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#regular-expression","content":" Regular expressions with format regex should comply with theECMA 262 dialect. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Numeric​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#numeric","content":" Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a numbertype in lieu of the integer type for most scenarios that do not require integer level precision. Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum,exclusiveMinimum and exclusiveMaximum. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Object​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#object","content":" Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition. More specific details on what can be done can be found in theJSON Schema documentation. ","version":"Next","tagName":"h2"},{"title":"Array​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#array","content":" Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to provide a looser expectation of what kinds of elements are expected. Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used to describe the boundaries of the array. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Boolean​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#boolean","content":" Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first prior to encoding. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"Null​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#null","content":" Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate to the absence of a value, or undefined. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#references","content":" ","version":"Next","tagName":"h2"},{"title":"Government Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#government-standards","content":" Address Data Standards: Mailing, Delivery and ResidentialDate and Time StandardB.C. Health Information Standards for Date and TimeNaming and Describing ","version":"Next","tagName":"h3"},{"title":"Technical Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#technical-standards","content":" ECMA 262JSON Schema TypesRFC 1123 (Internet Hosts)RFC 2373 (IPv6)RFC 2673 (IPv4)RFC 3339 (Date and Time)RFC 3629 (UTF-8)RFC 3986 (URI)RFC 4122 (UUID v1-5)RFC 5321 (Email/SMTP)RFC 5890 (Internationalized Domain Names)RFC 6531 (Internationalized Email)RFC 6570 (URI Template)RFC 8259 (JSON)RFC 9562 (UUID v6-8) ","version":"Next","tagName":"h3"},{"title":"Errata​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#errata","content":" JSON Schema Version Comparison ","version":"Next","tagName":"h3"}],"options":{"enableHighlight":true,"id":"default"}} \ No newline at end of file diff --git a/pr-preview/pr-3/search-doc.json b/pr-preview/pr-3/search-doc.json new file mode 100644 index 0000000..9986ce9 --- /dev/null +++ b/pr-preview/pr-3/search-doc.json @@ -0,0 +1 @@ +{"searchDocs":[{"title":"Congratulations!","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations","content":"","keywords":"","version":"Next"},{"title":"What's next?​","type":1,"pageTitle":"Congratulations!","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulations#whats-next","content":" Read the official documentationModify your site configuration with docusaurus.config.jsAdd navbar and footer items with themeConfigAdd a custom Design and LayoutAdd a search barFind inspirations in the Docusaurus showcaseGet involved in the Docusaurus Community ","version":"Next","tagName":"h2"},{"title":"Tutorial Intro","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro","content":"","keywords":"","version":"Next"},{"title":"Getting Started​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro#getting-started","content":" Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new. ","version":"Next","tagName":"h2"},{"title":"What you'll need​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro#what-youll-need","content":" Node.js version 18.0 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies. ","version":"Next","tagName":"h3"},{"title":"Generate a new site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro#generate-a-new-site","content":" Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus. ","version":"Next","tagName":"h2"},{"title":"Start your site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/intro#start-your-site","content":" Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes. ","version":"Next","tagName":"h2"},{"title":"Create a Blog Post","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post","content":"","keywords":"","version":"Next"},{"title":"Create your first Post​","type":1,"pageTitle":"Create a Blog Post","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_post#create-your-first-post","content":" Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much as you like. A new blog post is now available at http://localhost:3000/blog/greetings. ","version":"Next","tagName":"h2"},{"title":"Create a Page","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page","content":"","keywords":"","version":"Next"},{"title":"Create your first React Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-react-page","content":" Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return ( <Layout> <h1>My React page</h1> <p>This is a React page</p> </Layout> ); } A new page is now available at http://localhost:3000/my-react-page. ","version":"Next","tagName":"h2"},{"title":"Create your first Markdown Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-markdown-page","content":" Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page. ","version":"Next","tagName":"h2"},{"title":"Deploy your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site","content":"","keywords":"","version":"Next"},{"title":"Build your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site#build-your-site","content":" Build your site for production: npm run build The static files are generated in the build folder. ","version":"Next","tagName":"h2"},{"title":"Deploy your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_site#deploy-your-site-1","content":" Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide). ","version":"Next","tagName":"h2"},{"title":"Create a Document","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document","content":"","keywords":"","version":"Next"},{"title":"Create your first Doc​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document#create-your-first-doc","content":" Create a Markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello. ","version":"Next","tagName":"h2"},{"title":"Configure the Sidebar​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_document#configure-the-sidebar","content":" Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js export default { tutorialSidebar: [ 'intro', 'hello', { type: 'category', label: 'Tutorial', items: ['tutorial_basics/create-a-document'] } ] }; ","version":"Next","tagName":"h2"},{"title":"Manage Docs Versions","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions","content":"","keywords":"","version":"Next"},{"title":"Create a docs version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions#create-a-docs-version","content":" Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docscurrent at http://localhost:3000/docs/next/ for the upcoming, unreleased docs ","version":"Next","tagName":"h2"},{"title":"Add a Version Dropdown​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions#add-a-version-dropdown","content":" To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: "docsVersionDropdown", }, ], }, }, }; The docs version dropdown appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Update an existing version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versions#update-an-existing-version","content":" It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hellodocs/hello.md updates http://localhost:3000/docs/next/hello ","version":"Next","tagName":"h2"},{"title":"Getting Started","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started","content":"","keywords":"","version":"Next"},{"title":"Purpose​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#purpose","content":" Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems can't integrate without a common language. This standard specifies the foundational set of core descriptive data types and elements required to enable the compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on permitting. ","version":"Next","tagName":"h2"},{"title":"Objectives​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#objectives","content":" The main objective of PIES is to deliver a published specification to enable better data quality and system interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes across the sector. Make it easier to connect and work with the information in different permitting systems. Reduce the effort and cost of systems integrations and automation.Unlock the ability to provide consistent progress tracking to proponents. Create technical guidelines that help various systems communicate smoothly and consistently.Support different ways for systems to communicate with each other.Unlock potential for evidence-based policy and transformative potential of AI. ","version":"Next","tagName":"h2"},{"title":"Getting Everyone on the Same Page​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#getting-everyone-on-the-same-page","content":" Set up a working group for people interested to contribute and adopt PIES. See MS Teams.Create clear rules for data governance.Develop a common language so everyone understands the same terms.Gather feedback to ensure data is represented accurately and clearly. ","version":"Next","tagName":"h3"},{"title":"Documentation​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#documentation","content":" Share best practices for documenting government data standards.Identify and list common permitting concepts and data types.Create a plan for implementing solutions using transformations and microservices. And of course, PIES are delicious! 😄 ","version":"Next","tagName":"h3"},{"title":"Goals​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#goals","content":" Enable a cross sector view Through appropriate data accessCreates a single point of validated reporting Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement Data qualityData and information consistencyIdentify processing timesData harmonization cross sector level reportingActivity bundling and linkingCoordinated First Nations Consultation Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to achieve interoperability (the ability for the systems to understand the key elements of information they need to share and talk to each other in a common language). An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems into the data standards. ","version":"Next","tagName":"h2"},{"title":"Schemas​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-3/docs/intro/getting_started#schemas","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Markdown Features","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features","content":"","keywords":"","version":"Next"},{"title":"Front Matter​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#front-matter","content":" Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my_doc_id title: My document title description: My document description slug: /my-custom-url tags: - developer --- ## Markdown heading Markdown text with [links](./hello.md) We recommend that all markdown pages should have at minimum a title, description and tags array defined. An idmay be specified, but can be derived off of the filename when omitted. ","version":"Next","tagName":"h2"},{"title":"Links​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#links","content":" Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create_a_page). Let's see how to [Create a page](./create_a_page.md). Result: Let's see how to Create a page. ","version":"Next","tagName":"h2"},{"title":"Images​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#images","content":" Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them: ![Docusaurus logo](./img/docusaurus.png) ","version":"Next","tagName":"h2"},{"title":"Code Blocks​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#code-blocks","content":" Markdown code blocks are supported with Syntax highlighting. ```jsx title="src/components/HelloDocusaurus.js" function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ``` src/components/HelloDocusaurus.js function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ","version":"Next","tagName":"h2"},{"title":"Admonitions​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#admonitions","content":" Docusaurus has a special syntax to create admonitions and callouts: :::tip[My tip] Use this awesome feature option ::: :::danger[Take care] This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous ","version":"Next","tagName":"h2"},{"title":"Mermaid Graphs​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#mermaid-graphs","content":" Our Docusaurus instance supports diagramming and charting through Mermaid. The following are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, visit their documentation for more details under the Diagram Syntax section on the sidebar. ","version":"Next","tagName":"h2"},{"title":"State Machine​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#state-machine","content":" ```mermaid graph TD A-->B A-->C B-->D C-->D ``` ","version":"Next","tagName":"h3"},{"title":"Flowchart​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#flowchart","content":" ```mermaid graph LR A[PIES] -->|Get spec| B(Stakeholder approval) B --> C{Purpose} B --> G[/Further Analysis/] C ==>|One| D[Document Exchange] C -->|Two| E[Event Alerts] C -->|Three| F[Aggregation] subgraph identification A B end subgraph execution C D E F G end ``` ","version":"Next","tagName":"h3"},{"title":"MDX and React Components​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_features#mdx-and-react-components","content":" MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( <span style={{ backgroundColor: color, borderRadius: '20px', color: '#fff', padding: '10px', cursor: 'pointer', }} onClick={() => { alert(`You clicked the color ${color} with label ${children}`) }}> {children} </span> ); This is <Highlight color="#25c2a0">Docusaurus green</Highlight> ! This is <Highlight color="#1877F2">Facebook blue</Highlight> ! This is Docusaurus green ! This is Facebook blue ! ","version":"Next","tagName":"h2"},{"title":"Code","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code","content":"","keywords":"","version":"Next"},{"title":"Structure​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code#structure","content":" Type: string ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code#specification","content":" SchemaSource Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/code#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Terminology","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology","content":"","keywords":"","version":"Next"},{"title":"Translate your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site","content":"","keywords":"","version":"Next"},{"title":"Configure i18n​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#configure-i18n","content":" Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js export default { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, }; ","version":"Next","tagName":"h2"},{"title":"Translate a doc​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#translate-a-doc","content":" Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French. ","version":"Next","tagName":"h2"},{"title":"Start your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#start-your-localized-site","content":" Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. caution In development, you can only use one locale at a time. ","version":"Next","tagName":"h2"},{"title":"Add a Locale Dropdown​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#add-a-locale-dropdown","content":" To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Build your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_site#build-your-localized-site","content":" Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build ","version":"Next","tagName":"h2"},{"title":"Acronyms​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#acronyms","content":" Term\tDefinitionLOB\tLine of Business ","version":"Next","tagName":"h2"},{"title":"Concepts​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#concepts","content":" The following terms outline the main concepts used within this specification and aim to provide a common lexicon for understanding and terminology usage. ","version":"Next","tagName":"h2"},{"title":"Actors​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#actors","content":" This section discusses the various roles that a person, group or an organization may act as within the context of PIES. Term\tDefinitionApplicant\tA person, group or organization seeking an authorization to perform a set of activities. Decision Maker\tA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions. Interested Party\tA person, or group which may be impacted by an authorization decision. Local Government\tA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction. Navigator\tAn established role which focuses on delivering dedicated support to applicants on application submissions. Proponent\tA synonym for an applicant. Referral Agency\tA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application. Subject Matter Expert\tA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy. ","version":"Next","tagName":"h3"},{"title":"Definitions​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#definitions","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within PIES. Term\tDefinition\t???Activity\tA single, specific defined intent of action an area of intent. An activity may require one or more authorizations, e.g., a housing development project. Activity Bundling\tThe act of identifying the set of permits required for a certain activity.\tThis should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship Application\tA submitted form(s) with the intent to obtain or amend an authorization.\tThis might be getting muddled with the concept of a project. Area of Intent\tA set of one or more parcels which define the location(s) an activity is to be performed. Authorization\tThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.\tWe might need to expand this definition over time as this is the formal umbrella term for many things. Caseload\tWork happening with the LOB to facilitate, capture and maintain a permit. Disposition\tThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.\tFirst attempt at defining - needs review Parcel\tA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.\tRephrased from LTSA page Permit\tAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization. Project\tA set of applications required for a permit\tIs this a fancy synonym for an activity bundle? Submission\tThe completed output of a single form as answered by an applicant.\tAdd a note like "Submissions require an adjective declaring their application context"? Workload\tA quantifiable measurement of the number of client-driven applications in the queue.\t The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they interact with specific parts of the process. ","version":"Next","tagName":"h3"},{"title":"Process Tracking​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#process-tracking","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within a process. Term\tDefinition\t???Lifecycle\tRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.\tHighest level concept; answers the "why" Phase\tA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.\tDefines an ordering of related stages. Stage\tA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.\tProvides an ordering of higher level states within a phase of work State\tA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.\tLarger general "where is this at" concept Status\tA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.\tDetailed "what is happening now" concept The following diagram outlines a high level categorization map between all of the process terms and how they relate to each other. ","version":"Next","tagName":"h3"},{"title":"Structure​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-3/docs/intro/terminology#structure","content":" The following terms describe the structural definitions of the specification ordered from specific to general. Term\tDefinitionData Type\tA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date. Identifiers\tIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations. Vocabulary\tA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher." Schema\tA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema. Format\tThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML. API\tAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web. ","version":"Next","tagName":"h2"},{"title":"Project Bundle","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#scope","content":" This data type is intended to represent a grouping of related permits that are related to a specific activity. ","version":"Next","tagName":"h2"},{"title":"Formatting","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/formatting","content":"","keywords":"","version":"Next"},{"title":"JSON Schema Primer​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-3/docs/spec/formatting#json-schema-primer","content":" A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for describing expected structures, describing conceptual relationships between related topics and domains A JSON Schema will typically contain the following attributes: $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.$id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.$comment - A free text field for conveying out of band information about the schema. Comments are useful for specification readers and editors to understand further nuances for certain properties and structures, but should not be relied upon for implementation as they may be skipped over or stripped when parsed by machines.title - The intent of the schema. This should be brief and concise.description - A brief description about the schema. This should provide a quick overview for the context of usage.properties - A set of attributes that are expected to show up in this document type.required - An array defining the set of properties that must be present for the document to be considered valid. Anything defined that is not in this array is implied to be optional.type - The type primitive constraint for the property. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-3/docs/spec/formatting#references","content":" Draft 07RFC 8259 (JSON)JSON Schema Version Comparison ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#structure","content":" Name\tCardinality\tType\tDescription & Constraintsproject_id\t1..1\tuuid\tA unique key to track all permits related to a project or activity across all permitting systems. project_name\t1..1\tstring\tShort name of the project. project_description\t0..1\tstring\tFull description of the project. This may contain information to better understand a project. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundle#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Primitive Types","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types","content":"","keywords":"","version":"Next"},{"title":"Parcel Identifier","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#scope","content":" Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#structure","content":" A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.A Parcel Identifier may contain a legal_description and/or a parcel_name. Name\tCardinality\tType\tDescription & Constraintslegal_description\t0..1\tstring\tThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations. parcel_name\t0..1\tstring\tThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK. pid\t0..*\tinteger\tParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. pin\t0..1\tinteger\tThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#implementation-notes","content":" ","version":"Next","tagName":"h2"},{"title":"Parcel ID (PID)​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#parcel-id-pid","content":" Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes: parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes. Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type. ","version":"Next","tagName":"h3"},{"title":"References​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_id#references","content":" BC Data CatalogueParcelMap BC - Parcels ","version":"Next","tagName":"h2"},{"title":"String​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#string","content":" Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as specified in RFC 3629, which is an extension of the ISO 10646-1standard. Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expressionpattern. In addition, there are commonbuilt-in format types that a string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation for more detail on the available built-in format types. ","version":"Next","tagName":"h2"},{"title":"Date and Time​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#date-and-time","content":" Date and/or time formats shall be represented inRFC 3339, section 5.6 format, also commonly known asISO 8601. Unless otherwise specified, date-time shall be internally stored and represented in a format compatible with unix/epochtime. If the time is specified, such as when either the time or date-time formats are used, the time representations shall be encoded in UTC time. Reference theJSON Schema documentation for more specific examples. warning Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. ","version":"Next","tagName":"h3"},{"title":"Email​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#email","content":" Email addresses with format email shall be represented inRFC 5321, section 4.1.2 format. Emails may also be conveyed in internationalized format idn-email which will be compliant toRFC 6531. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Hostname​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#hostname","content":" Hostnames with format hostname shall be represented inRFC 1123, section 2.1 format. Hostnames may also be conveyed in internationalized format idn-hostname which will be compliant toRFC 5890, section 2.3.2.3. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"IP Address​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#ip-address","content":" IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply withRFC 2673, section 3.2. If IPv6 is used, it shall comply with RFC 2373, section 2.2. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Resource Identifier​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#resource-identifier","content":" Universal resource identifiers will use format uri and comply withRFC 3986. There are other less commonly used formats described in theJSON Schema documentation. warning Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most cases, uuid v4 will be used. When a uuid is used, it shall comply withRFC 4122. The regular expression to be used when specifying uuids will be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize compatibility. info While there is RFC 9562 which extends RFC 4122 by adding in uuid versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when these newer uuid versions are used. ","version":"Next","tagName":"h3"},{"title":"URI Template​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#uri-template","content":" URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters that must be substituted in before the URI may be resolved. This should comply withRFC 6570. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Regular Expression​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#regular-expression","content":" Regular expressions with format regex should comply with theECMA 262 dialect. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Numeric​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#numeric","content":" Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a numbertype in lieu of the integer type for most scenarios that do not require integer level precision. Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum,exclusiveMinimum and exclusiveMaximum. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Object​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#object","content":" Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition. More specific details on what can be done can be found in theJSON Schema documentation. ","version":"Next","tagName":"h2"},{"title":"Array​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#array","content":" Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to provide a looser expectation of what kinds of elements are expected. Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used to describe the boundaries of the array. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Boolean​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#boolean","content":" Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first prior to encoding. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"Null​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#null","content":" Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate to the absence of a value, or undefined. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#references","content":" ","version":"Next","tagName":"h2"},{"title":"Government Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#government-standards","content":" Address Data Standards: Mailing, Delivery and ResidentialDate and Time StandardB.C. Health Information Standards for Date and TimeNaming and Describing ","version":"Next","tagName":"h3"},{"title":"Technical Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#technical-standards","content":" ECMA 262JSON Schema TypesRFC 1123 (Internet Hosts)RFC 2373 (IPv6)RFC 2673 (IPv4)RFC 3339 (Date and Time)RFC 3629 (UTF-8)RFC 3986 (URI)RFC 4122 (UUID v1-5)RFC 5321 (Email/SMTP)RFC 5890 (Internationalized Domain Names)RFC 6531 (Internationalized Email)RFC 6570 (URI Template)RFC 8259 (JSON)RFC 9562 (UUID v6-8) ","version":"Next","tagName":"h3"},{"title":"Errata​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-3/docs/spec/primitive_types#errata","content":" JSON Schema Version Comparison ","version":"Next","tagName":"h3"}],"options":{"enableHighlight":true,"id":"default"}} \ No newline at end of file diff --git a/pr-preview/pr-3/sitemap.xml b/pr-preview/pr-3/sitemap.xml new file mode 100644 index 0000000..a1f3276 --- /dev/null +++ b/pr-preview/pr-3/sitemap.xml @@ -0,0 +1 @@ +https://bcgov.github.io/nr-pies/pr-preview/pr-3/markdown-pageweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/tagsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/tags/businessweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/tags/developerweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/tags/executiveweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/category/data-typesweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/category/tutorial---basicsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/category/tutorial---extrasweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/docusaurus/introweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/congratulationsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_blog_postweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_documentweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/create_a_pageweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/deploy_your_siteweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_basics/markdown_featuresweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/manage_docs_versionsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/docusaurus/tutorial_extras/translate_your_siteweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/intro/getting_startedweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/intro/terminologyweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/spec/data/codeweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/spec/data/parcel_idweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/spec/data/project_bundleweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/spec/formattingweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/docs/spec/primitive_typesweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-3/weekly0.5 \ No newline at end of file diff --git a/pr-preview/pr-4/.nojekyll b/pr-preview/pr-4/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/pr-preview/pr-4/404.html b/pr-preview/pr-4/404.html new file mode 100644 index 0000000..96411e7 --- /dev/null +++ b/pr-preview/pr-4/404.html @@ -0,0 +1,13 @@ + + + + + +Page Not Found | Permitting Interoperability Exchange Specification + + + + +

    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/pr-preview/pr-4/assets/css/styles.cb95ee9c.css b/pr-preview/pr-4/assets/css/styles.cb95ee9c.css new file mode 100644 index 0000000..c8fc3aa --- /dev/null +++ b/pr-preview/pr-4/assets/css/styles.cb95ee9c.css @@ -0,0 +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))}body,ol ol,ol ul,ul ol,ul ul{margin:0}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)}.button,.dropdown__link,.searchbox,.text--truncate{white-space:nowrap}*,.algolia-autocomplete .ds-dropdown-menu *,.searchbox,.searchbox__input{box-sizing:border-box}.searchbox__reset:focus,.searchbox__submit:focus,body:not(.navigation-with-keyboard) :not(input):focus{outline:0}pre,table{overflow:auto}.markdown li,body{word-wrap:break-word}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_mC6p,.details_lb9f>summary,.dropdown__menu,.menu__list,.schemaItem_buZn{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}.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}html{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);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;text-size-adjust:100%}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,.tabItem_LNqP{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,.tabList__CuJ{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]){-webkit-text-decoration:none;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)}.deprecated_iwIh,.text--warning{color:var(--ifm-color-warning)}.required_k7Xu,.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_Gvgb,.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}.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[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;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}.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)}.algolia-autocomplete .algolia-docsearch-suggestion,.dropdown__link--active,.dropdown__link:hover,.menu__link:hover,.navbar__brand:hover,.navbar__link--active,.navbar__link:hover,.pagination-nav__link:hover,.pagination__link:hover,.tag_zVej:hover{-webkit-text-decoration:none;text-decoration:none}.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);-webkit-text-decoration:none;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}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color)}.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_BuS1>:last-child,.cardContainer_fWXF :last-child,.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child,.footer__items,.tabItem_Ymn6>:last-child{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;top:0;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;visibility:hidden;left:0}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color)}.menu__caret:before,.menu__link--sublist-caret:after{height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;content:"";filter:var(--ifm-menu-link-sublist-icon-filter)}.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),.schemaItem_buZn:focus,.schemaItem_buZn:hover{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)}.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)}.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)}.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:1rem;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-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-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-nav{display:grid;grid-gap:var(--ifm-spacing-horizontal);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)}.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)}.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;padding-left:0}.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}:root{--docusaurus-progress-bar-color:var(--ifm-color-primary);--bc-blue-10:#f1f8fe;--bc-blue-20:#d8eafd;--bc-blue-30:#c1ddfc;--bc-blue-40:#a8d0fb;--bc-blue-50:#91c4fa;--bc-blue-60:#7ab8f9;--bc-blue-70:#5595d9;--bc-blue-80:#3470b1;--bc-blue-90:#1e5189;--bc-blue-100:#013366;--bc-gold-10:#fef8e8;--bc-gold-20:#fef0d8;--bc-gold-30:#fde9c4;--bc-gold-40:#fce2b0;--bc-gold-50:#fbda9d;--bc-gold-60:#fbd389;--bc-gold-70:#facc75;--bc-gold-80:#f9c462;--bc-gold-90:#f8ba47;--bc-gold-100:#fcba19;--bc-gray-10:#faf9f8;--bc-gray-20:#f3f2f1;--bc-gray-30:#eceae8;--bc-gray-40:#e0dedc;--bc-gray-50:#d1cfcd;--bc-gray-60:#c6c5c3;--bc-gray-70:#9f9d9c;--bc-gray-80:#605e5c;--bc-gray-90:#3d3c3b;--bc-gray-100:#353433;--bc-gray-110:#252423;--bc-gray-white:#fff;--bc-primary-blue:var(--bc-blue-100);--bc-primary-gold:var(--bc-gold-100);--bc-primary-invert:var(--bc-gray-white);--docusaurus-highlighted-code-line-bg:#0000001a;--ifm-code-font-size:95%;--ifm-color-primary-dark:var(--bc-blue-80);--ifm-color-primary-darker:var(--bc-blue-90);--ifm-color-primary-darkest:var(--bc-blue-100);--ifm-color-primary-light:var(--bc-blue-60);--ifm-color-primary-lighter:var(--bc-blue-50);--ifm-color-primary-lightest:var(--bc-blue-40);--ifm-color-primary:var(--bc-blue-70);--ifm-font-family-base:BC Sans,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-footer-background-color:var(--bc-primary-invert);--ifm-footer-padding-vertical:1rem;--ifm-line-height-base:1.5;--ifm-table-cell-padding:0.6rem;--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}#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}a:has(.footer-logo-license){opacity:.9}footer{border-top:.063rem solid var(--bc-gray-50)}.header-github-logo:hover,.schemaName_Rg3q{opacity:.6}.header-github-logo:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat;content:"";display:flex;height:1.5rem;width:1.5rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary-dark)}:root[data-theme=dark]{--docusaurus-highlighted-code-line-bg:#0000004d;--ifm-breadcrumb-color-active:var(--bc-gold-40);--ifm-color-primary-dark:var(--bc-blue-50);--ifm-color-primary-darker:var(--bc-blue-60);--ifm-color-primary-darkest:var(--bc-blue-70);--ifm-color-primary-light:var(--bc-blue-30);--ifm-color-primary-lighter:var(--bc-blue-20);--ifm-color-primary-lightest:var(--bc-blue-10);--ifm-color-primary:var(--bc-blue-40);--ifm-footer-background-color:var(--bc-primary-blue);--ifm-link-color:var(--bc-gold-40);--ifm-menu-color-active:var(--bc-gold-40);--ifm-navbar-background-color:var(--bc-primary-blue);--ifm-navbar-link-hover-color:var(--bc-gold-40)}[data-theme=dark] footer{border-top:.063rem solid var(--bc-primary-gold)}[data-theme=dark] .header-github-logo:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat}[data-theme=dark] .navbar{border-bottom:.063rem solid var(--bc-primary-gold)}[data-theme=dark] .table-of-contents__link--active,[data-theme=dark] .table-of-contents__link:hover{color:var(--bc-gold-40)}.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)}.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}.searchbox,.searchbox__input,.tag_QGVx{display:inline-block}.tag_QGVx{margin:0 .4rem .5rem 0}.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}.algolia-docsearch-suggestion{border-bottom-color:#3a3dd1}.algolia-docsearch-suggestion--category-header{background-color:#4b54de}.algolia-docsearch-suggestion--highlight{color:#3a33d1}.algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight{background-color:#4d47d5}.aa-cursor .algolia-docsearch-suggestion--content{color:#272296}.aa-cursor .algolia-docsearch-suggestion{background:#ebebfb}.searchbox{height:32px!important;position:relative;visibility:visible!important;width:200px}.searchbox .algolia-autocomplete{display:block;height:100%;width:100%}.searchbox__wrapper{height:100%;position:relative;width:100%;z-index:999}.searchbox__input{appearance:none;background:#fff!important;border:0;border-radius:16px;box-shadow:inset 0 0 0 1px #ccc;font-size:12px;height:100%;padding:0 26px 0 32px;transition:box-shadow .4s,background .4s;vertical-align:middle;white-space:normal;width:100%}.searchbox__reset,.searchbox__submit{font-size:inherit;-webkit-user-select:none;position:absolute}.searchbox__input::-webkit-search-cancel-button,.searchbox__input::-webkit-search-decoration,.searchbox__input::-webkit-search-results-button,.searchbox__input::-webkit-search-results-decoration{display:none}.searchbox__input:hover{box-shadow:inset 0 0 0 1px #b3b3b3}.searchbox__input:active,.searchbox__input:focus{background:#fff;box-shadow:inset 0 0 0 1px #aaa;outline:0}.searchbox__input::placeholder{color:#aaa}.searchbox__submit{background-color:#458ee100;border:0;border-radius:16px 0 0 16px;height:100%;left:0;margin:0;padding:0;right:inherit;text-align:center;top:0;user-select:none;vertical-align:middle;width:32px}.searchbox__submit:before{content:"";display:inline-block;height:100%;margin-right:-4px;vertical-align:middle}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion,.dropdownNavbarItemMobile_S0Fm,.searchbox__submit:active,.searchbox__submit:hover{cursor:pointer}.searchbox__submit svg{height:14px;vertical-align:middle;width:14px;fill:#6d7e96}.searchbox__reset{background:none;border:0;cursor:pointer;display:block;margin:0;padding:0;right:8px;top:8px;user-select:none;fill:#00000080}.searchbox__reset.hide{display:none}.searchbox__reset svg{display:block;height:8px;margin:4px;width:8px}.searchbox__input:valid~.searchbox__reset{animation-duration:.15s;animation-name:a;display:block}@keyframes a{0%{opacity:0;transform:translate3d(-20%,0,0)}to{opacity:1;transform:none}}.algolia-autocomplete .ds-dropdown-menu:before{background:#373940;border-radius:2px;border-right:1px solid #373940;border-top:1px solid #373940;content:"";display:block;height:14px;position:absolute;top:-7px;transform:rotate(-45deg);width:14px;z-index:1000}.algolia-autocomplete .ds-dropdown-menu{box-shadow:0 1px 0 0 #0003,0 2px 3px 0 #0000001a}.algolia-autocomplete .ds-dropdown-menu .ds-suggestions{position:relative;z-index:1000}.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-]{background:#fff;border-radius:4px;overflow:auto;padding:0;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion{display:block;overflow:hidden;padding:0;position:relative}.algolia-autocomplete .ds-cursor .algolia-docsearch-suggestion--wrapper{background:#f1f1f1;box-shadow:inset -2px 0 0 #61dafb}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{background:#ffe564;padding:.1em .05em}.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl0 .algolia-docsearch-suggestion--highlight,.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl1 .algolia-docsearch-suggestion--highlight{background:inherit;color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{background:inherit;box-shadow:inset 0 -2px 0 0 #458ee1cc;color:inherit;padding:0 0 1px}.algolia-autocomplete .algolia-docsearch-suggestion--content{cursor:pointer;display:block;float:right;padding:5.33333px 0 5.33333px 10.66667px;position:relative;width:70%}.algolia-autocomplete .algolia-docsearch-suggestion--content:before{background:#ececec;content:"";display:block;height:100%;left:-1px;position:absolute;top:0;width:1px}.algolia-autocomplete .algolia-docsearch-suggestion--category-header{background-color:#373940;color:#fff;display:none;font-size:14px;font-weight:700;letter-spacing:.08em;margin:0;padding:5px 8px;position:relative;text-transform:uppercase}.algolia-autocomplete .algolia-docsearch-suggestion--wrapper{background-color:#fff;float:left;padding:8px 0 0;width:100%}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{color:#777;display:none;float:left;font-size:.9em;padding:5.33333px 10.66667px;position:relative;text-align:right;width:30%;word-wrap:break-word}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column:before{background:#ececec;content:"";display:block;height:100%;position:absolute;right:0;top:0;width:1px}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header,.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary{display:block}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight{background-color:inherit;color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--title{color:#02060c;font-size:.9em;font-weight:700;margin-bottom:4px}.algolia-autocomplete .algolia-docsearch-suggestion--text{color:#63676d;display:block;font-size:.85em;line-height:1.2em;padding-right:2px}.algolia-autocomplete .algolia-docsearch-suggestion--version{color:#a6aab1;display:block;font-size:.65em;padding-right:2px;padding-top:2px}.algolia-autocomplete .algolia-docsearch-suggestion--no-results{background-color:#373940;font-size:1.2em;margin-top:-8px;padding:8px 0;text-align:center;width:100%}.algolia-autocomplete .algolia-docsearch-suggestion--no-results .algolia-docsearch-suggestion--text{color:#fff;margin-top:4px}.algolia-autocomplete .algolia-docsearch-suggestion--no-results:before,.docSidebarContainer_YfHR,.navbarSearchContainer_Bca1:empty,.sidebarLogo_isFc,.themedComponent_mlkZ,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.algolia-autocomplete .algolia-docsearch-suggestion code{background-color:#ebebeb;border:none;border-radius:3px;color:#222;font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:90%;padding:1px 5px}.algolia-autocomplete .algolia-docsearch-suggestion code .algolia-docsearch-suggestion--highlight{background:none}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header{color:#fff;display:block}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--subcategory-column,.tocCollapsibleContent_vkbj a{display:block}.algolia-autocomplete .algolia-docsearch-footer{background-color:#fff;float:right;font-size:0;height:30px;line-height:0;width:100%;z-index:2000}.algolia-autocomplete .algolia-docsearch-footer--logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 18'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='url(%2523a)' d='M59.4.02h13.3a2.37 2.37 0 0 1 2.38 2.37V15.6a2.37 2.37 0 0 1-2.38 2.36H59.4a2.37 2.37 0 0 1-2.38-2.36V2.38A2.37 2.37 0 0 1 59.4.02'/%3E%3Cpath fill='%2523FFF' d='M66.26 4.56c-2.82 0-5.1 2.27-5.1 5.08 0 2.8 2.28 5.07 5.1 5.07 2.8 0 5.1-2.26 5.1-5.07 0-2.8-2.28-5.07-5.1-5.07zm0 8.65c-2 0-3.6-1.6-3.6-3.56 0-1.97 1.6-3.58 3.6-3.58 1.98 0 3.6 1.6 3.6 3.58a3.58 3.58 0 0 1-3.6 3.57zm0-6.4v2.66c0 .07.08.13.15.1l2.4-1.24c.04-.02.06-.1.03-.14a2.96 2.96 0 0 0-2.46-1.5.1.1 0 0 0-.1.1zm-3.33-1.96-.3-.3a.78.78 0 0 0-1.12 0l-.36.36a.77.77 0 0 0 0 1.1l.3.3c.05.05.13.04.17 0 .2-.25.4-.5.6-.7.23-.23.46-.43.7-.6.07-.04.07-.1.03-.16zm5-.8V3.4a.78.78 0 0 0-.78-.78h-1.83a.78.78 0 0 0-.78.78v.63c0 .07.06.12.14.1a5.7 5.7 0 0 1 1.58-.22c.52 0 1.04.07 1.54.2a.1.1 0 0 0 .13-.1z'/%3E%3Cpath fill='%2523182359' d='M102.16 13.76c0 1.46-.37 2.52-1.12 3.2-.75.67-1.9 1-3.44 1-.56 0-1.74-.1-2.67-.3l.34-1.7c.78.17 1.82.2 2.36.2.86 0 1.48-.16 1.84-.5.37-.36.55-.88.55-1.57v-.35a6 6 0 0 1-.84.3 4.2 4.2 0 0 1-1.2.17 4.5 4.5 0 0 1-1.6-.28 3.4 3.4 0 0 1-1.26-.82 3.7 3.7 0 0 1-.8-1.35c-.2-.54-.3-1.5-.3-2.2 0-.67.1-1.5.3-2.06a3.9 3.9 0 0 1 .9-1.43 4.1 4.1 0 0 1 1.45-.92 5.3 5.3 0 0 1 1.94-.37c.7 0 1.35.1 1.97.2a16 16 0 0 1 1.6.33v8.46zm-5.95-4.2c0 .9.2 1.88.6 2.3.4.4.9.62 1.53.62q.51 0 .96-.15a2.8 2.8 0 0 0 .73-.33V6.7a8.5 8.5 0 0 0-1.42-.17c-.76-.02-1.36.3-1.77.8-.4.5-.62 1.4-.62 2.23zm16.13 0c0 .72-.1 1.26-.32 1.85a4.4 4.4 0 0 1-.9 1.53c-.38.42-.85.75-1.4.98-.54.24-1.4.37-1.8.37-.43 0-1.27-.13-1.8-.36a4.1 4.1 0 0 1-1.4-.97 4.5 4.5 0 0 1-.92-1.52 5 5 0 0 1-.33-1.84c0-.72.1-1.4.32-2s.53-1.1.92-1.5c.4-.43.86-.75 1.4-.98a4.55 4.55 0 0 1 1.78-.34 4.7 4.7 0 0 1 1.8.34c.54.23 1 .55 1.4.97q.57.63.9 1.5c.23.6.35 1.3.35 2zm-2.2 0c0-.92-.2-1.7-.6-2.22-.38-.54-.94-.8-1.64-.8-.72 0-1.27.26-1.67.8s-.58 1.3-.58 2.22c0 .93.2 1.56.6 2.1.38.54.94.8 1.64.8s1.25-.26 1.65-.8c.4-.55.6-1.17.6-2.1m6.97 4.7c-3.5.02-3.5-2.8-3.5-3.27L113.57.92l2.15-.34v10c0 .25 0 1.87 1.37 1.88v1.8zm3.77 0h-2.15v-9.2l2.15-.33v9.54zM119.8 3.74c.7 0 1.3-.58 1.3-1.3 0-.7-.58-1.3-1.3-1.3-.73 0-1.3.6-1.3 1.3 0 .72.58 1.3 1.3 1.3m6.43 1c.7 0 1.3.1 1.78.27.5.18.88.42 1.17.73.28.3.5.74.6 1.18.13.46.2.95.2 1.5v5.47a25 25 0 0 1-1.5.25q-1.005.15-2.25.15a6.8 6.8 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.37-.27-.9-.27-1.44 0-.52.1-.85.3-1.2.2-.37.48-.67.83-.9a3.6 3.6 0 0 1 1.23-.5 7 7 0 0 1 2.2-.1l.83.16V8.4c0-.25-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.18-.34-.3-.58-.4a2.5 2.5 0 0 0-.92-.17c-.5 0-.94.06-1.35.13-.4.08-.75.16-1 .25l-.27-1.74c.27-.1.67-.18 1.2-.28a9.3 9.3 0 0 1 1.65-.14zm.18 7.74c.66 0 1.15-.04 1.5-.1V10.2a5.1 5.1 0 0 0-2-.1c-.23.03-.45.1-.64.2a1.17 1.17 0 0 0-.47.38c-.13.17-.18.26-.18.52 0 .5.17.8.5.98.32.2.74.3 1.3.3zM84.1 4.8c.72 0 1.3.08 1.8.26.48.17.87.42 1.15.73.3.3.5.72.6 1.17.14.45.2.94.2 1.47v5.48a25 25 0 0 1-1.5.26c-.67.1-1.42.14-2.25.14a6.8 6.8 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.38-.27-.9-.27-1.44 0-.53.1-.86.3-1.22s.5-.65.84-.88a3.6 3.6 0 0 1 1.24-.5 7 7 0 0 1 2.2-.1q.39.045.84.15v-.35c0-.24-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.17-.34-.3-.58-.4a2.5 2.5 0 0 0-.9-.15c-.5 0-.96.05-1.37.12-.4.07-.75.15-1 .24l-.26-1.75c.27-.08.67-.17 1.18-.26a9 9 0 0 1 1.66-.15zm.2 7.73c.65 0 1.14-.04 1.48-.1v-2.17a5.1 5.1 0 0 0-1.98-.1c-.24.03-.46.1-.65.18a1.17 1.17 0 0 0-.47.4c-.12.17-.17.26-.17.52 0 .5.18.8.5.98.32.2.75.3 1.3.3zm8.68 1.74c-3.5 0-3.5-2.82-3.5-3.28L89.45.92 91.6.6v10c0 .25 0 1.87 1.38 1.88v1.8z'/%3E%3Cpath fill='%25231D3657' d='M5.03 11.03c0 .7-.26 1.24-.76 1.64q-.75.6-2.1.6c-.88 0-1.6-.14-2.17-.42v-1.2c.36.16.74.3 1.14.38.4.1.78.15 1.13.15.5 0 .88-.1 1.12-.3a.94.94 0 0 0 .35-.77.98.98 0 0 0-.33-.74c-.22-.2-.68-.44-1.37-.72-.72-.3-1.22-.62-1.52-1C.23 8.27.1 7.82.1 7.3c0-.65.22-1.17.7-1.55.46-.37 1.08-.56 1.86-.56.76 0 1.5.16 2.25.48l-.4 1.05c-.7-.3-1.32-.44-1.87-.44-.4 0-.73.08-.94.26a.9.9 0 0 0-.33.72c0 .2.04.38.12.52.08.15.22.3.42.4.2.14.55.3 1.06.52.58.24 1 .47 1.27.67s.47.44.6.7c.12.26.18.57.18.92zM9 13.27c-.92 0-1.64-.27-2.16-.8-.52-.55-.78-1.3-.78-2.24 0-.97.24-1.73.72-2.3.5-.54 1.15-.82 2-.82.78 0 1.4.25 1.85.72.46.48.7 1.14.7 1.97v.67H7.35c0 .58.17 1.02.46 1.33.3.3.7.47 1.24.47.36 0 .68-.04.98-.1a5 5 0 0 0 .98-.33v1.02a3.9 3.9 0 0 1-.94.32 5.7 5.7 0 0 1-1.08.1zm-.22-5.2c-.4 0-.73.12-.97.38s-.37.62-.42 1.1h2.7c0-.48-.13-.85-.36-1.1-.23-.26-.54-.38-.94-.38zm7.7 5.1-.26-.84h-.05c-.28.36-.57.6-.86.74-.28.13-.65.2-1.1.2-.6 0-1.05-.16-1.38-.48-.32-.32-.5-.77-.5-1.34 0-.62.24-1.08.7-1.4.45-.3 1.14-.47 2.07-.5l1.02-.03V9.2c0-.37-.1-.65-.27-.84-.17-.2-.45-.28-.82-.28-.3 0-.6.04-.88.13a7 7 0 0 0-.8.33l-.4-.9a4.4 4.4 0 0 1 1.05-.4 5 5 0 0 1 1.08-.12c.76 0 1.33.18 1.7.5q.6.495.6 1.56v4h-.9zm-1.9-.87c.47 0 .83-.13 1.1-.38.3-.26.43-.62.43-1.08v-.52l-.76.03c-.6.03-1.02.13-1.3.3s-.4.45-.4.82c0 .26.08.47.24.6.16.16.4.23.7.23zm7.57-5.2c.25 0 .46.03.62.06l-.12 1.18a2.4 2.4 0 0 0-.56-.06c-.5 0-.92.16-1.24.5-.3.32-.47.75-.47 1.27v3.1h-1.27V7.23h1l.16 1.05h.05c.2-.36.45-.64.77-.85a1.83 1.83 0 0 1 1.02-.3zm4.12 6.17c-.9 0-1.58-.27-2.05-.8-.47-.52-.7-1.27-.7-2.25 0-1 .24-1.77.73-2.3.5-.54 1.2-.8 2.12-.8.63 0 1.2.1 1.7.34l-.4 1c-.52-.2-.96-.3-1.3-.3-1.04 0-1.55.68-1.55 2.05 0 .67.13 1.17.38 1.5.26.34.64.5 1.13.5a3.23 3.23 0 0 0 1.6-.4v1.1a2.5 2.5 0 0 1-.73.28 4.4 4.4 0 0 1-.93.08m8.28-.1h-1.27V9.5c0-.45-.1-.8-.28-1.02-.18-.23-.47-.34-.88-.34-.53 0-.9.16-1.16.48-.25.3-.38.85-.38 1.6v2.94h-1.26V4.8h1.26v2.12c0 .34-.02.7-.06 1.1h.08a1.76 1.76 0 0 1 .72-.67c.3-.16.66-.24 1.07-.24 1.43 0 2.15.74 2.15 2.2v3.86zM42.2 7.1c.74 0 1.32.28 1.73.82.4.53.62 1.3.62 2.26 0 .97-.2 1.73-.63 2.27-.42.54-1 .82-1.75.82s-1.33-.27-1.75-.8h-.08l-.23.7h-.94V4.8h1.26v2l-.02.64-.03.56h.05c.4-.6 1-.9 1.78-.9zm-.33 1.04c-.5 0-.88.15-1.1.45s-.34.8-.35 1.5v.08c0 .72.12 1.24.35 1.57.23.32.6.48 1.12.48.44 0 .78-.17 1-.53.24-.35.36-.87.36-1.53 0-1.35-.47-2.03-1.4-2.03zm3.24-.92h1.4l1.2 3.37c.18.47.3.92.36 1.34h.04l.18-.72 1.37-4H51l-2.53 6.73c-.46 1.23-1.23 1.85-2.3 1.85-.3 0-.56-.03-.83-.1v-1c.2.05.4.08.65.08.6 0 1.03-.36 1.28-1.06l.22-.56-2.4-5.94z'/%3E%3C/g%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100%;display:block;height:100%;margin-left:auto;margin-right:5px;overflow:hidden;text-indent:-9000px;width:110px}html[data-theme=dark] .algolia-docsearch-footer,html[data-theme=dark] .algolia-docsearch-suggestion--category-header,html[data-theme=dark] .algolia-docsearch-suggestion--wrapper{background:var(--ifm-background-color)!important;color:var(--ifm-font-color-base)!important}html[data-theme=dark] .algolia-docsearch-suggestion--title{color:var(--ifm-font-color-base)!important}html[data-theme=dark] .ds-cursor .algolia-docsearch-suggestion--wrapper{background:var(--ifm-background-surface-color)!important}mark{background-color:#add8e6}.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;-webkit-text-decoration:underline;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)}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.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}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}[data-theme=dark] .themedComponent--dark_xIcU,[data-theme=light] .themedComponent--light_NVdE,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_PEFL{display:none;margin:0}.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 var(--ifm-transition-fast) ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}.iconExternalLink_nPIU{margin-left:.3rem}.docMainContainer_TBSr,.docRoot_UBD9{display:flex;width:100%}.docsWrapper_hBAB{display:flex;flex:1 0 auto}.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}.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}.constant_erHY,.deprecated_iwIh,.readOnly_RjRF,.required_k7Xu,.writeOnly_QX6I{font-size:var(--ifm-code-font-size)}.tag_Nnez{display:inline-block;margin:.5rem .5rem 0 1rem}: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{left:0;position:absolute;top:0;fill:currentColor;height:inherit;opacity:inherit;transition:all var(--ifm-transition-fast) ease;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}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.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}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.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)}.readOnly_RjRF{color:var(--ifm-color-info-darker)}.writeOnly_QX6I{color:var(--ifm-color-primary-darker)}.constant_erHY{color:var(--ifm-color-secondary-darkest)}.schemaItem_buZn{border-left:thin solid var(--ifm-color-gray-500)!important;margin:0!important;padding:5px 0 5px 1rem;position:relative}[class^=schemaItem]:before{border-bottom:thin solid var(--ifm-color-gray-500);content:"";display:inline-block;height:.5rem;left:0;position:absolute;top:10px;vertical-align:top;width:.7rem}.strikethrough_g4yO{-webkit-text-decoration:line-through;text-decoration:line-through}.lastUpdated_JAkA{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}.errorBoundaryError_a6uf{color:red;white-space:pre-wrap}.errorBoundaryFallback_VBag{color:red;padding:.55rem}#__docusaurus-base-url-issue-banner-container{display:none}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.mainWrapper_z2l0{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.features_t9lD{align-items:center;display:flex;padding:2rem 0;width:100%}.featureSvg_GfXr{height:200px;width:200px}.heroBanner_qdFl{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_AeoN{align-items:center;display:flex;justify-content:center}:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.img_ev3q{height:auto}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_Rf37 svg{display:inline-block;height:1.6em;width:1.6em;fill:var(--ifm-alert-foreground-color)}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.breadcrumbHomeIcon_YNFT{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}.mdxPageWrapper_j9I6{justify-content:center}@media (min-width:601px){.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu{left:inherit!important;right:0!important}.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu:before{right:48px}.algolia-autocomplete .ds-dropdown-menu{background:#0000;border:none;border-radius:4px;height:auto;margin:6px 0 0;max-width:600px;min-width:500px;padding:0;position:relative;text-align:left;top:-6px;z-index:999}}@media (min-width:768px){.algolia-docsearch-suggestion{border-bottom-color:#7671df}.algolia-docsearch-suggestion--subcategory-column{border-right-color:#7671df;color:#4e4726}}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_TmdG{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_i1dp,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_TmdG:focus,.expandButton_TmdG: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%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;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);-webkit-text-decoration:none!important;text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_TmdG{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}.docSidebarContainer_YfHR{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_DPk8{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_TBSr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.navbarSearchContainer_Bca1{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_JAkA{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}}@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;width:max-content}.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}.navbarSearchContainer_Bca1{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media screen and (max-width:996px){.heroBanner_qdFl{padding:2rem}}@media (max-width:600px){.algolia-autocomplete .ds-dropdown-menu{display:block;left:auto!important;max-height:calc(100% - 5rem);max-width:calc(100% - 2rem);position:fixed!important;right:1rem!important;top:50px!important;width:600px;z-index:100}.algolia-autocomplete .ds-dropdown-menu:before{right:6rem}}@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 (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@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/pr-preview/pr-4/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png b/pr-preview/pr-4/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png new file mode 100644 index 0000000..97e4164 Binary files /dev/null and b/pr-preview/pr-4/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png differ diff --git a/pr-preview/pr-4/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png b/pr-preview/pr-4/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png new file mode 100644 index 0000000..e257edc Binary files /dev/null and b/pr-preview/pr-4/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png differ diff --git a/pr-preview/pr-4/assets/js/05b87bb5.1f1439eb.js b/pr-preview/pr-4/assets/js/05b87bb5.1f1439eb.js new file mode 100644 index 0000000..e8493ec --- /dev/null +++ b/pr-preview/pr-4/assets/js/05b87bb5.1f1439eb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[5932],{81263:e=>{e.exports=JSON.parse('{"tags":[{"label":"Business","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/business","description":"Content related to business cases and rationale","count":2},{"label":"Executive","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/executive","description":"Content related to policies and strategic alignment","count":1},{"label":"Developer","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/developer","description":"Content related to technical structure and implementation","count":6}]}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/1186.b65885c9.js b/pr-preview/pr-4/assets/js/1186.b65885c9.js new file mode 100644 index 0000000..72a3b4b --- /dev/null +++ b/pr-preview/pr-4/assets/js/1186.b65885c9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[1186],{86022:(t,e,a)=>{function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}a.d(e,{S:()=>r}),(0,a(45567).K2)(r,"populateCommonDb")},51186:(t,e,a)=>{a.d(e,{diagram:()=>x});var r=a(86022),n=a(85039),l=a(61021),o=a(45567),i=a(78731),c={packet:[]},s=structuredClone(c),d=o.UI.packet,p=(0,o.K2)((()=>{const t=(0,n.$t)({...d,...(0,o.zj)().packet});return t.showBits&&(t.paddingY+=10),t}),"getConfig"),k=(0,o.K2)((()=>s.packet),"getPacket"),b={pushWord:(0,o.K2)((t=>{t.length>0&&s.packet.push(t)}),"pushWord"),getPacket:k,getConfig:p,clear:(0,o.K2)((()=>{(0,o.IU)(),s=structuredClone(c)}),"clear"),setAccTitle:o.SV,getAccTitle:o.iN,setDiagramTitle:o.ke,getDiagramTitle:o.ab,getAccDescription:o.m7,setAccDescription:o.EI},g=(0,o.K2)((t=>{(0,r.S)(t,b);let e=-1,a=[],n=1;const{bitsPerRow:l}=b.getConfig();for(let{start:r,end:i,label:c}of t.blocks){if(i&&i{if(void 0===t.end&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*a?[t,void 0]:[{start:t.start,end:e*a-1,label:t.label},{start:e*a,end:t.end,label:t.label}]}),"getNextFittingBlock"),f={parse:(0,o.K2)((async t=>{const e=await(0,i.qg)("packet",t);o.Rm.debug(e),g(e)}),"parse")},u=(0,o.K2)(((t,e,a,r)=>{const n=r.db,i=n.getConfig(),{rowHeight:c,paddingY:s,bitWidth:d,bitsPerRow:p}=i,k=n.getPacket(),b=n.getDiagramTitle(),g=c+s,h=g*(k.length+1)-(b?0:c),f=d*p+2,u=(0,l.D)(e);u.attr("viewbox",`0 0 ${f} ${h}`),(0,o.a$)(u,h,f,i.useMaxWidth);for(const[l,o]of k.entries())$(u,o,l,i);u.append("text").text(b).attr("x",f/2).attr("y",h-g/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")}),"draw"),$=(0,o.K2)(((t,e,a,{rowHeight:r,paddingX:n,paddingY:l,bitWidth:o,bitsPerRow:i,showBits:c})=>{const s=t.append("g"),d=a*(r+l)+l;for(const p of e){const t=p.start%i*o+1,e=(p.end-p.start+1)*o-n;if(s.append("rect").attr("x",t).attr("y",d).attr("width",e).attr("height",r).attr("class","packetBlock"),s.append("text").attr("x",t+e/2).attr("y",d+r/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(p.label),!c)continue;const a=p.end===p.start,l=d-2;s.append("text").attr("x",t+(a?e/2:0)).attr("y",l).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",a?"middle":"start").text(p.start),a||s.append("text").attr("x",t+e).attr("y",l).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(p.end)}}),"drawWord"),w={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},x={parser:f,db:b,renderer:{draw:u},styles:(0,o.K2)((({packet:t}={})=>{const e=(0,n.$t)(w,t);return`\n\t.packetByte {\n\t\tfont-size: ${e.byteFontSize};\n\t}\n\t.packetByte.start {\n\t\tfill: ${e.startByteColor};\n\t}\n\t.packetByte.end {\n\t\tfill: ${e.endByteColor};\n\t}\n\t.packetLabel {\n\t\tfill: ${e.labelColor};\n\t\tfont-size: ${e.labelFontSize};\n\t}\n\t.packetTitle {\n\t\tfill: ${e.titleColor};\n\t\tfont-size: ${e.titleFontSize};\n\t}\n\t.packetBlock {\n\t\tstroke: ${e.blockStrokeColor};\n\t\tstroke-width: ${e.blockStrokeWidth};\n\t\tfill: ${e.blockFillColor};\n\t}\n\t`}),"styles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/14622022.8b796dcb.js b/pr-preview/pr-4/assets/js/14622022.8b796dcb.js new file mode 100644 index 0000000..419cb41 --- /dev/null +++ b/pr-preview/pr-4/assets/js/14622022.8b796dcb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[4634],{96804:(e,n,s)=>{s.r(n),s.d(n,{Highlight:()=>c,assets:()=>d,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"docusaurus/tutorial_basics/markdown_features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional","source":"@site/docs/docusaurus/tutorial_basics/markdown_features.mdx","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/markdown_features","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/markdown_features.mdx","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":4,"frontMatter":{"sidebar_position":4},"sidebar":"tutorialSidebar","previous":{"title":"Create a Blog Post","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post"},"next":{"title":"Deploy your site","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site"}}');var a=s(74848),i=s(28453);const t={sidebar_position:4},o="Markdown Features",d={},c=({children:e,color:n})=>(0,a.jsx)("span",{style:{backgroundColor:n,borderRadius:"20px",color:"#fff",padding:"10px",cursor:"pointer"},onClick:()=>{alert(`You clicked the color ${n} with label ${e}`)},children:e}),l=[{value:"Front Matter",id:"front-matter",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code Blocks",id:"code-blocks",level:2},{value:"Admonitions",id:"admonitions",level:2},{value:"Mermaid Graphs",id:"mermaid-graphs",level:2},{value:"State Machine",id:"state-machine",level:3},{value:"Flowchart",id:"flowchart",level:3},{value:"MDX and React Components",id:"mdx-and-react-components",level:2}];function u(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",mermaid:"mermaid",p:"p",pre:"pre",strong:"strong",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"markdown-features",children:"Markdown Features"})}),"\n",(0,a.jsxs)(n.p,{children:["Docusaurus supports ",(0,a.jsx)(n.strong,{children:(0,a.jsx)(n.a,{href:"https://daringfireball.net/projects/markdown/syntax",children:"Markdown"})})," and a few ",(0,a.jsx)(n.strong,{children:"additional\nfeatures"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"front-matter",children:"Front Matter"}),"\n",(0,a.jsxs)(n.p,{children:["Markdown documents have metadata at the top called ",(0,a.jsx)(n.a,{href:"https://jekyllrb.com/docs/front-matter/",children:"Front Matter"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",metastring:'title="my-doc.md"',children:"// highlight-start\n---\nid: my_doc_id\ntitle: My document title\ndescription: My document description\nslug: /my-custom-url\ntags:\n - developer\n---\n// highlight-end\n\n## Markdown heading\n\nMarkdown text with [links](./hello.md)\n"})}),"\n",(0,a.jsxs)(n.p,{children:["We recommend that all markdown pages should have at minimum a ",(0,a.jsx)(n.code,{children:"title"}),", ",(0,a.jsx)(n.code,{children:"description"})," and ",(0,a.jsx)(n.code,{children:"tags"})," array defined. An ",(0,a.jsx)(n.code,{children:"id"}),"\nmay be specified, but can be derived off of the filename when omitted."]}),"\n",(0,a.jsx)(n.h2,{id:"links",children:"Links"}),"\n",(0,a.jsx)(n.p,{children:"Regular Markdown links are supported, using url paths or relative file paths."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](/create_a_page).\n"})}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](./create_a_page.md).\n"})}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Result:"})," Let's see how to ",(0,a.jsx)(n.a,{href:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page",children:"Create a page"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"images",children:"Images"}),"\n",(0,a.jsx)(n.p,{children:"Regular Markdown images are supported."}),"\n",(0,a.jsxs)(n.p,{children:["You can use absolute paths to reference images in the static directory (",(0,a.jsx)(n.code,{children:"static/img/docusaurus.png"}),"):"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](/img/docusaurus.png)\n"})}),"\n",(0,a.jsx)(n.p,{children:(0,a.jsx)(n.img,{alt:"Docusaurus logo",src:s(14247).A+"",width:"200",height:"200"})}),"\n",(0,a.jsx)(n.p,{children:"You can reference images relative to the current file as well. This is particularly useful to colocate images close to\nthe Markdown files using them:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](./img/docusaurus.png)\n"})}),"\n",(0,a.jsx)(n.h2,{id:"code-blocks",children:"Code Blocks"}),"\n",(0,a.jsx)(n.p,{children:"Markdown code blocks are supported with Syntax highlighting."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:'```jsx title="src/components/HelloDocusaurus.js"\nfunction HelloDocusaurus() {\n return

    Hello, Docusaurus!

    ;\n}\n```\n'})}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return

    Hello, Docusaurus!

    ;\n}\n"})}),"\n",(0,a.jsx)(n.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,a.jsx)(n.p,{children:"Docusaurus has a special syntax to create admonitions and callouts:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:":::tip[My tip]\n\nUse this awesome feature option\n\n:::\n\n:::danger[Take care]\n\nThis action is dangerous\n\n:::\n"})}),"\n",(0,a.jsx)(n.admonition,{title:"My tip",type:"tip",children:(0,a.jsx)(n.p,{children:"Use this awesome feature option"})}),"\n",(0,a.jsx)(n.admonition,{title:"Take care",type:"danger",children:(0,a.jsx)(n.p,{children:"This action is dangerous"})}),"\n",(0,a.jsx)(n.h2,{id:"mermaid-graphs",children:"Mermaid Graphs"}),"\n",(0,a.jsxs)(n.p,{children:["Our Docusaurus instance supports ",(0,a.jsx)(n.strong,{children:"diagramming and charting"})," through ",(0,a.jsx)(n.a,{href:"https://mermaid.js.org",children:"Mermaid"}),". The following\nare some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported,\nvisit their ",(0,a.jsx)(n.a,{href:"https://mermaid.js.org/intro/",children:"documentation"})," for more details under the ",(0,a.jsx)(n.strong,{children:"Diagram Syntax"})," section on the\nsidebar."]}),"\n",(0,a.jsx)(n.h3,{id:"state-machine",children:"State Machine"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",children:"```mermaid\ngraph TD\n A--\x3eB\n A--\x3eC\n B--\x3eD\n C--\x3eD\n```\n"})}),"\n",(0,a.jsx)(n.mermaid,{value:"graph TD\n A--\x3eB\n A--\x3eC\n B--\x3eD\n C--\x3eD"}),"\n",(0,a.jsx)(n.h3,{id:"flowchart",children:"Flowchart"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",children:"```mermaid\ngraph LR\n A[PIES] --\x3e|Get spec| B(Stakeholder approval)\n B --\x3e C{Purpose}\n B --\x3e G[/Further Analysis/]\n C ==>|One| D[Document Exchange]\n C --\x3e|Two| E[Event Alerts]\n C --\x3e|Three| F[Aggregation]\n subgraph identification\n A\n B\n end\n subgraph execution\n C\n D\n E\n F\n G\n end\n```\n"})}),"\n",(0,a.jsx)(n.mermaid,{value:"graph LR\n A[PIES] --\x3e|Get spec| B(Stakeholder approval)\n B --\x3e C{Purpose}\n B --\x3e G[/Further Analysis/]\n C ==>|One| D[Document Exchange]\n C --\x3e|Two| E[Event Alerts]\n C --\x3e|Three| F[Aggregation]\n subgraph identification\n A\n B\n end\n subgraph execution\n C\n D\n E\n F\n G\n end"}),"\n",(0,a.jsx)(n.h2,{id:"mdx-and-react-components",children:"MDX and React Components"}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.a,{href:"https://mdxjs.com/",children:"MDX"})," can make your documentation more ",(0,a.jsx)(n.strong,{children:"interactive"})," and allows using any ",(0,a.jsx)(n.strong,{children:"React components\ninside Markdown"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",children:"export const Highlight = ({children, color}) => (\n {\n alert(`You clicked the color ${color} with label ${children}`)\n }}>\n {children}\n \n);\n\nThis is Docusaurus green !\n\nThis is Facebook blue !\n"})}),"\n","\n",(0,a.jsxs)(n.p,{children:["This is ",(0,a.jsx)(c,{color:"#25c2a0",children:"Docusaurus green"})," !"]}),"\n",(0,a.jsxs)(n.p,{children:["This is ",(0,a.jsx)(c,{color:"#1877F2",children:"Facebook blue"})," !"]})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},14247:(e,n,s)=>{s.d(n,{A:()=>r});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAT3UlEQVR42u1dCVQVV5pWXNt2N0czykl33KImZ7IgKgqIghq3KCDK+qowCek2c2K0Mx3idBxakzYxJnZiq3Gf6Bg7UdN2R51MxnTSia3gew9Rwccm7oqiiIK4sPxTt1hEHo9XvPVW1fed852Dr+67UNb/1f3/+9/731atAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO8i2CxGjDUJXzMGmcSZnmoHAF7B6GMJvYPNwq5gk1AmMS/YJMbaahtkNsRLbeghmoU4d7cDAO+NCEbhQCMjrZbe5q81bhdyVOwuXbtqZdDSZ+yau9oBgNcgGeIvmzDQJkUy1ix8ZKMtsWvuagcAXsNYs/iyLSNlIgk2GebLQjKJQ6R/32+mbcWYI8KTrm6HJwR4170yCV80Y6T1I4kklH122lFNG9e2wxMC3Ao/U1KnQLPgF2SK/xeri5TiIxlikX1DBXVANpoXSy/DzGCjYfdYs2FRiFkcxWxEu/GF0RAm3fT1Bv8JJyV+LLlV08ccnNuFCQeGAdrheWkkXxaSGueruZFDurlrzfn4QSbDGRgAqJD3JK4NMcU8oo3RIz1hOB4q6AZeCzKK0aoXCIs58DBBt9Esfip5Ke3UPkN1Eg8TdB8N+5grr+JRxPAJHiLoTgaZhf97MiuqvVqTgNPxEEEPcK0qBTIyNa6rnWw1CLooJjHMUZc6KMWnNs9xDg8Q9ACLQtMMvbhfeFi7tuoLZMhBz1NczaUw2H4OFizhAYFe5l0uM+61m53wgMAWM+C7aBr425Ey2c8umPpdxmO+oxQPWz8cvnOmTGf7Gf1DDHXs25lYxMrIfmafOdnvOe4WONZsk4XhaD7nkJpAPQN96w2a/cw+c7S/QYsC6vuq46D/CHD+7zQaRvDmYsXVbG6CEWmZQ5YGWRk0+8zR/phb1bg/9pkLgvVk/twso+EViETbfPw1PyuDHrDQ36n4o6GL1eHRn7skDhlrEnZyuvbKMN/TIglKM9AzmyfLbzL2sBjZz89sniJfg2G7Nvbwad+m3qB9OrQh/z0RTschzK1yXZAu8zi/CxQ9NJL4fT6d+kwdQG27drB6q9WxXbcO1GfaAPL78wswcBfx6Y2T6ZHxv5DJfuY1acj5Kl55JHHPtOCBaOozZQC18mltUxhWlNoyobjwDQVyng/hVhyBaYbBrEKhW0aNL2Y85LO2lB37daHhX86AAemAPC4z6R5sEt9j6nWXONr8vJ3D4qhj287tIRIIxMP7PmrKd151p1vV3MjRtmt7eiT0F+QbN4z6xQ6T/eO2XdrbbP8z3y5wtyAQT+VAxAh336wcczQVhPfsKM+ANJWsYp+xRFS7Hh2b/C6LSWBIEIgnsuh73T1b1VRA3ql/dxq5d5bd74/4OlJu21TgjtktCMT9uwbdFJDXjx5TBzQ5cigRR71I/hZJ7bpbTwf3mT4QxgSBuHtbrSHcnUlAlstwxXqdgcmjmsyTIJkIgag2SGcZ8qYCckcWyAUdTpBnsBr398yWKTAoCESd07xD3rFeHMdmqxztj81uNe5v6B+CYVAQiAeD9qPiIOkP/NIVN9l//nArg/ZNeNLh/nzjn7Tqr//rw2FQEIg6M+lN7RcY/LvR3PQHupdh6S9R+LH5ZMh8i17NfoeS81bSO6fX0cfn/ps2X/wL7bzyv/TNtYP0z5KjdLw0hwrKL1DR/Rt0r+q+Plys0d/HyMtDGib4nNlx5ur+QPcZuLPQTSa9bjk0oyuM2dX9adm4Zx57jeIzk+lXliX0Ru4KSjm1hlac/S/69MKXtP3yXvrr1b/Td8WplHbzOGWV5dPZO5fo+v0Slxi4ZgTiiUw66BoD/32BPQO/zI2Ba0cgbs6kg9aMPfFbWn5mM/258H80a+CaEYi7M+ngA7JR4ERpHgFqEogbM+lgDSelv0LfFx+B1SNIBxtzWsarlH27ABavZoF4YsOUHhliEuX4AlCOwsJC2rVrF7+JwjHGuU8Em4X9MHDn+afzOzRtzGVlZbR69WqKjY2lqKgoev/996m4uNihvqqrqyklJYU6dKhf3Kq/Pel6izuKK246bYQXLlygvXv30ldffUWZmZlO9cX6CAwMpI4dO1Lbtm3pueeeo61btzrUV1ZWFj3++ONWKxseffRRMpvNLe7vzTffrClF5ONDEydOhIuldb53ZqNTxpyfn08RERFWBsiM2mQytbi/+fPn29zCnJSU1KK+ioqKyNe3poTpU089RRs3bqTt27dTQEBAvUiuXr2quL8ff/xRFgYT7e7duxGk64E/FBsdFsfhw4epR48eNTsvO3WioKAgmjRpEvXu3Vv+rHPnzvTTTz8p7u/dd9+tqXwouS/Lly+nS5cuUUlJCa1fv17ui11j7pFSTJs2Tf4O+7tu3bpV//ndu3fr3v40Y8YMRX1VVFTQkCFD5O8sW7YMmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GRkZil2nrl27Um5ubpOTBuwaa/PNN9/Y7a/u97MRgsUmjcE+Y8JgbbZs2YJMut6oZGnJ6NGjHz5bQzKYggLlWXf2BmbxA/suC+LZbNKOHTsoLi6OWrduLXPz5s2K+2P5DNYXC5rz8h6sGbt8+bI8qrFrrI3S4JuNNOw7ycnJVtfffvvtZkcjTPNqnMtOb7BrRGPGjJFnlpiRfPDBB826VbbABNGrVy/rii/t2tGqVata7OY9++yz8ve7dOkiC41NAdfNng0dOlR2x5TCaDTKfwf77tKlS2UhsJiEuXFs0oCJ+9ChQ+pYauKOPel65sT0JJckCpXmJVhgzLLZM2fOpEWLFj00ArR0oqCp/AuLj9hI0lIwkbKRrG7mqy42YVyyZIl61mJhqYnruercdtUuI2HTzZs2baK1a9fSkSPOrURm8U1droOxb9++tGHDBixWxGJFkVJLjmEFYoMcCYuxmpsBQ5Cuu+Xu8+hk2SmoQ63L3ZFJ90w8cuD6YVi9KgWCTLrHuDB3uVwep5qqoQC1CASZdM8z+sQb9P6ZTbSjcD+KNnAvEGTSUfYHAkGQDoGhcBymeUGUHkUmHdS6wG5VlmFPOgjq/gAdEMQRbCCoZYEgkw5CIMikgxAIMukgBIJMOgiBIEgHIRBM84KgegSCTDoIgSCTzvcWXbNAv7bE0/oL0fSPG1F0+k4k3aoMp4rqmUSkL8LFAus563gCbb88h4ruR+hOCKoQCIJ07/CFDAP9rWg23a+GILgVCDLp3uGSghi6WREOMXAvEGTSPcrxUpzxtTRqQAQqEQgCck9WNzFQasksCEBVAkEm3WMjB8SBIB20QbhVmOYFbXBpQazLDYjlR25XhetGIJOyXuw5JntuF2TSNVd61EAlLpytqpa4sjCWJmSLMtdcidG2QKhV67CcxHVh2WJVLVcik65zjmVZ9QyRxmcKFHpSJMkoaGqOSHGnDPTGuXj53w1pLIvSnECk+yoPzRZPh2Un/r3x/YZZEifBxdLrcpOMB6JQyt3Fc7QokOb4OoJ0vdEs0LgTLRNGHQ/cnE07JZEcLo2SXTCtC2RCdmJ8aI64MNSSOI25YMik64COiqMxPy6M0cMI0oDCGmTSdeBWuUIcYbWBe6kGZrdacM/VIafF7sikazggb2nMYU8gJZURehJIVUhO0iPIpGt29HCdOBj/qDMXS3ohfIogXctLUDJd516xaeCvb8yhMv24WGekQP2VsFNJ3TDNq1G60r2qY4IkFLWLpIX3fMojIkEm3QsV0LMFlwuEcfS/P0N+ft29ypdf/qWnBEJhFiEJmXQIRDH7RQ2uP5fcW+zbt6PHBDIhJ/EluFhwsRRxzsl4OmgeTyZTiFdZXDzVUwLJd6uLhSBdO0H63huzdRWkM9fKreJAJl07SULGjy7H6iuTbhHXI5Ou8URhGBKFHCcKEZB7fxQ5iqUm/C41QSadk8WKrhHJJ4X6crFCLeKfkEnXiavl7HL31LJZutgPUrfcPSxXmIoNU3rcMGURsGGKpw1TyKTzKZTxmWJtnkT6OSOBxhyYRX6fPW9lML0C+3k9KdgUR47s4dSWW4kF3Gy5RSbdtXTUMEaM6NG84bVuRUNSAiThSCNNlkCDk/25FAfjqFE9XVO0IVtcW1uwoTLMInyEsj86FohSllaGU7mOyv5MPR7bIyRrXmcUjoNAQFR3h0BAVHeHQEBUdwchEFR3ByEQVHdHkA6BQCCY5oVAIBBk0tUrEH//Htwm/jyZSedWIMikc55JVxFdkkmHiwWBgAjSIRAQmXQQAkEmHYRAkEkHeRDIP0ujaOG5eJqWK8j8jfQzOyQHAkEmXfcC2XA12uaOuk1F0RAIgnRtC4Qd4XyifBZZ7kRaHefMRg5722wbjySsD9YX61MLx0OH5cwNnJwX1xXTvDoTyF3JeD8pjKHncx4Y+xTp51VXYuRrrM3CJk6ybUx22u2D/mLlPuquTc4RavqrVv2e9LthOcKqgPNRP0MmXQcCqZAMdsFZ28b/unTNf1QvGpceZ1cg48xx5NPOh4Z/PsVmG79tz1Prtj5q3ZPekD/4mZLaIZOu9dpXx+1XKBl3XFlFk9BMAw1+a4Tddo8Zhqkyk95EQbz5cLG0Xsk9S3TLUQfN8ddnErRS9seMIF3rZ4FYPC+QF3IFrQjkFjLpOAvE5UwsMGhFIBZk0rV+FsgJweMC+Vilp95a34uwBpl0rdffNXtWIKzS+9Hbs2hlYSwZThnkqWA2onx+LZr7KeDGFdxDsw3jwnIS18mnSWWLd9iIEmpJfMvtU8DIpHtwBMny/Ahii/8mBe88JxRb8BJIc3tCEUG6Nt0re/zgcozqBVLrfm3GNK+aC1Ef408cjBM5Po2qhfdS6dZTppBJd2/cEWoRuRQIY8/RfdWQSbfP3LlhSoPuxSGpcb7IpMO1UsIe/n1UkUm3OxrmCsF2jTs09aU+0kO5zQwcLhYHTBe5Fgdb1HirMlwLLtbdSVkv9lSS01ha93CCzMpP4UGQzve5g+7iHzk+z7CF97JWadIvr8EDqmJZcmTSvUSzd5aWKOX8swn1y+tVLpCD001JnezHHkdE/yYe1B17IkEm3U3BeTq/o8faK9Hy0nvVn3JrET5SvAxeeii/sfGwqqSY5DVk0j3sXh3jd/Rgm7V43+Ou8F7uSyyT+P1EizjdnkC+sDPk7x+TPrcvMukemr3K5DtA532PuyP3EZojvtvc9G6mggd3LcgoLAg49PD6FQTp7li5K6hGIE3tcVejQGSRWBKn2RpBLrXgAbK2vws0zu2PaV7t7P1whnV73NUuEHZstC2B3HFwtuVIkEn8cKxRiJFGkn8NyZgbGGw07IaROzmCZKtLIGyPu6oz6fY2VkkP5R4MEwJxlCGmOG4y6ferw525l5u2BHIdhsmRQOBiOUy2gNLhGCRb/M6ZIB3U8PZaZ5haNosbgRTcjXT8XnKFqbZGkK9gmDxtjlKPOLZwNs37j1uzHbwXYWlzOwMXwTCRKFSaKJyeK8huFU8jh5K6xNaJQqGUuVU2R476aVqzOAqGiaUmSnjmXiTXy0xePZOgLN7ISxymfL06pfhID+YcjJMTgXAah7xymu9CclfuR8jFJhTcy1EHSvgYlsE41VVq1NPccX0O1wJhFVcU3UuOmNzyfeWpcb7Ih/C1YYqnfAirsnijkt8l7iz/EZ1vUJQMnJif0NvRQnBrYZw8bZriRyDbrvE9euwpnqOs1E+OsNjhogsBh17sKT2YIhgnLxunRC7WZc3OF6ic4w1SN6WRLTJP0ehxOSRrXmfn6lwZxWgYJ8r+NKywmMbhdG5DLrkYp+ReqsbnGCa7qij1pzBOVDdh3HqN7zMN/3pjttLA/D9dVt8q6suoNmNNwl9gnPreRPV76c1czbE4WKJyUo6il8euFErxcWkROD9TUqdgk2EfjJOf3IgnRfLepViqrOY37mCbtKbmKhLH1pDvU9q6pVIi29SOmS19zWxNqC3MUM25W6Vg5KhmhRlaUavWHjgoxzAHs1scBe4ZclUOl4sjJt9AxrIoboVRUhmuNCA/F2ZJnOTRs0BC0wy9gk3iamyr5ad2lquCd1alZM2VGG6PNGBJQJbnCM+ze7+sSslKr56RPj7D0K92WQrWbnEiFLYsxZG1W2zEYMszeC0herUiQv77FGTIz7EDcRSVEPUYKMUnyGgYIY0qyVIAuVN6WMdrdyZiuYqXgvixRwX5KOjxmTWLHdnORLZchfnrEdLb9+XTCZKLEiv78GfvRXA0QsykmxXhlF8eST8UR9G6i9H0q7x4Cm10H2HZQoUkhmsSj0/IFnZOyBFeDctNGNoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsI3/BxVeQNnL1kBuAAAAAElFTkSuQmCC"},28453:(e,n,s)=>{s.d(n,{R:()=>t,x:()=>o});var r=s(96540);const a={},i=r.createContext(a);function t(e){const n=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:t(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/1477.7b88a9c9.js b/pr-preview/pr-4/assets/js/1477.7b88a9c9.js new file mode 100644 index 0000000..fa864a8 --- /dev/null +++ b/pr-preview/pr-4/assets/js/1477.7b88a9c9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[1477],{50053:(e,n,t)=>{t.d(n,{A:()=>i});var r=t(68675);const i=function(e){return(0,r.A)(e,4)}},81477:(e,n,t)=>{t.r(n),t.d(n,{render:()=>O});var r=t(6396),i=t(5081),a=(t(34483),t(52294),t(62392)),o=(t(86825),t(85039),t(45567)),d=t(62334),s=t(69592),c=t(50053),g=t(74722);t(37981);function l(e){var n={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:f(e),edges:h(e)};return s.A(e.graph())||(n.value=c.A(e.graph())),n}function f(e){return g.A(e.nodes(),(function(n){var t=e.node(n),r=e.parent(n),i={v:n};return s.A(t)||(i.value=t),s.A(r)||(i.parent=r),i}))}function h(e){return g.A(e.edges(),(function(n){var t=e.edge(n),r={v:n.v,w:n.w};return s.A(n.name)||(r.name=n.name),s.A(t)||(r.value=t),r}))}var p=t(697),u=new Map,m=new Map,w=new Map,R=(0,o.K2)((()=>{m.clear(),w.clear(),u.clear()}),"clear"),v=(0,o.K2)(((e,n)=>{const t=m.get(n)||[];return o.Rm.trace("In isDescendant",n," ",e," = ",t.includes(e)),t.includes(e)}),"isDescendant"),y=(0,o.K2)(((e,n)=>{const t=m.get(n)||[];return o.Rm.info("Descendants of ",n," is ",t),o.Rm.info("Edge is ",e),e.v!==n&&e.w!==n&&(t?t.includes(e.v)||v(e.v,n)||v(e.w,n)||t.includes(e.w):(o.Rm.debug("Tilt, ",n,",not in descendants"),!1))}),"edgeInCluster"),X=(0,o.K2)(((e,n,t,r)=>{o.Rm.warn("Copying children of ",e,"root",r,"data",n.node(e),r);const i=n.children(e)||[];e!==r&&i.push(e),o.Rm.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach((i=>{if(n.children(i).length>0)X(i,n,t,r);else{const a=n.node(i);o.Rm.info("cp ",i," to ",r," with parent ",e),t.setNode(i,a),r!==n.parent(i)&&(o.Rm.warn("Setting parent",i,n.parent(i)),t.setParent(i,n.parent(i))),e!==r&&i!==e?(o.Rm.debug("Setting parent",i,e),t.setParent(i,e)):(o.Rm.info("In copy ",e,"root",r,"data",n.node(e),r),o.Rm.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));const d=n.edges(i);o.Rm.debug("Copying Edges",d),d.forEach((i=>{o.Rm.info("Edge",i);const a=n.edge(i.v,i.w,i.name);o.Rm.info("Edge data",a,r);try{y(i,r)?(o.Rm.info("Copying as ",i.v,i.w,a,i.name),t.setEdge(i.v,i.w,a,i.name),o.Rm.info("newGraph edges ",t.edges(),t.edge(t.edges()[0]))):o.Rm.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(d){o.Rm.error(d)}}))}o.Rm.debug("Removing node",i),n.removeNode(i)}))}),"copy"),b=(0,o.K2)(((e,n)=>{const t=n.children(e);let r=[...t];for(const i of t)w.set(i,e),r=[...r,...b(i,n)];return r}),"extractDescendants"),E=(0,o.K2)(((e,n,t)=>{const r=e.edges().filter((e=>e.v===n||e.w===n)),i=e.edges().filter((e=>e.v===t||e.w===t)),a=r.map((e=>({v:e.v===n?t:e.v,w:e.w===n?n:e.w}))),o=i.map((e=>({v:e.v,w:e.w})));return a.filter((e=>o.some((n=>e.v===n.v&&e.w===n.w))))}),"findCommonEdges"),N=(0,o.K2)(((e,n,t)=>{const r=n.children(e);if(o.Rm.trace("Searching children of id ",e,r),r.length<1)return e;let i;for(const a of r){const e=N(a,n,t),r=E(n,t,e);if(e){if(!(r.length>0))return e;i=e}}return i}),"findNonClusterChild"),C=(0,o.K2)((e=>u.has(e)&&u.get(e).externalConnections&&u.has(e)?u.get(e).id:e),"getAnchorId"),x=(0,o.K2)(((e,n)=>{if(!e||n>10)o.Rm.debug("Opting out, no graph ");else{o.Rm.debug("Opting in, graph "),e.nodes().forEach((function(n){e.children(n).length>0&&(o.Rm.warn("Cluster identified",n," Replacement id in edges: ",N(n,e,n)),m.set(n,b(n,e)),u.set(n,{id:N(n,e,n),clusterData:e.node(n)}))})),e.nodes().forEach((function(n){const t=e.children(n),r=e.edges();t.length>0?(o.Rm.debug("Cluster identified",n,m),r.forEach((e=>{v(e.v,n)^v(e.w,n)&&(o.Rm.warn("Edge: ",e," leaves cluster ",n),o.Rm.warn("Descendants of XXX ",n,": ",m.get(n)),u.get(n).externalConnections=!0)}))):o.Rm.debug("Not a cluster ",n,m)}));for(let n of u.keys()){const t=u.get(n).id,r=e.parent(t);r!==n&&u.has(r)&&!u.get(r).externalConnections&&(u.get(n).id=r)}e.edges().forEach((function(n){const t=e.edge(n);o.Rm.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),o.Rm.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let r=n.v,i=n.w;if(o.Rm.warn("Fix XXX",u,"ids:",n.v,n.w,"Translating: ",u.get(n.v)," --- ",u.get(n.w)),u.get(n.v)||u.get(n.w)){if(o.Rm.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),r=C(n.v),i=C(n.w),e.removeEdge(n.v,n.w,n.name),r!==n.v){const i=e.parent(r);u.get(i).externalConnections=!0,t.fromCluster=n.v}if(i!==n.w){const r=e.parent(i);u.get(r).externalConnections=!0,t.toCluster=n.w}o.Rm.warn("Fix Replacing with XXX",r,i,n.name),e.setEdge(r,i,t,n.name)}})),o.Rm.warn("Adjusted Graph",l(e)),I(e,0),o.Rm.trace(u)}}),"adjustClustersAndEdges"),I=(0,o.K2)(((e,n)=>{if(o.Rm.warn("extractor - ",n,l(e),e.children("D")),n>10)return void o.Rm.error("Bailing out");let t=e.nodes(),r=!1;for(const i of t){const n=e.children(i);r=r||n.length>0}if(r){o.Rm.debug("Nodes = ",t,n);for(const r of t)if(o.Rm.debug("Extracting node",r,u,u.has(r)&&!u.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",n),u.has(r))if(!u.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){o.Rm.warn("Cluster without external connections, without a parent and with children",r,n);let t="TB"===e.graph().rankdir?"LR":"TB";u.get(r)?.clusterData?.dir&&(t=u.get(r).clusterData.dir,o.Rm.warn("Fixing dir",u.get(r).clusterData.dir,t));const i=new p.T({multigraph:!0,compound:!0}).setGraph({rankdir:t,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));o.Rm.warn("Old graph before copy",l(e)),X(r,e,i,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:u.get(r).clusterData,label:u.get(r).label,graph:i}),o.Rm.warn("New graph after copy node: (",r,")",l(i)),o.Rm.debug("Old graph after copy",l(e))}else o.Rm.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!u.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),n),o.Rm.debug(u);else o.Rm.debug("Not a cluster",r,n);t=e.nodes(),o.Rm.warn("New list of nodes",t);for(const r of t){const t=e.node(r);o.Rm.warn(" Now next level",r,t),t?.clusterNode&&I(t.graph,n+1)}}else o.Rm.debug("Done, no node has children",e.nodes())}),"extractor"),S=(0,o.K2)(((e,n)=>{if(0===n.length)return[];let t=Object.assign([],n);return n.forEach((n=>{const r=e.children(n),i=S(e,r);t=[...t,...i]})),t}),"sorter"),D=(0,o.K2)((e=>S(e,e.children())),"sortNodesByHierarchy"),A=(0,o.K2)((async(e,n,t,s,c,g)=>{o.Rm.warn("Graph in recursive render:XAX",l(n),c);const f=n.graph().rankdir;o.Rm.trace("Dir in recursive render - dir:",f);const h=e.insert("g").attr("class","root");n.nodes()?o.Rm.info("Recursive render XXX",n.nodes()):o.Rm.info("No nodes found for",n),n.edges().length>0&&o.Rm.info("Recursive edges",n.edge(n.edges()[0]));const p=h.insert("g").attr("class","clusters"),m=h.insert("g").attr("class","edgePaths"),w=h.insert("g").attr("class","edgeLabels"),R=h.insert("g").attr("class","nodes");await Promise.all(n.nodes().map((async function(e){const r=n.node(e);if(void 0!==c){const t=JSON.parse(JSON.stringify(c.clusterData));o.Rm.trace("Setting data for parent cluster XXX\n Node.id = ",e,"\n data=",t.height,"\nParent cluster",c.height),n.setNode(c.id,t),n.parent(e)||(o.Rm.trace("Setting parent",e,c.id),n.setParent(e,c.id,t))}if(o.Rm.info("(Insert) Node XXX"+e+": "+JSON.stringify(n.node(e))),r?.clusterNode){o.Rm.info("Cluster identified XBX",e,r.width,n.node(e));const{ranksep:a,nodesep:d}=n.graph();r.graph.setGraph({...r.graph.graph(),ranksep:a+25,nodesep:d});const c=await A(R,r.graph,t,s,n.node(e),g),l=c.elem;(0,i.lC)(r,l),r.diff=c.diff||0,o.Rm.info("New compound node after recursive render XAX",e,"width",r.width,"height",r.height),(0,i.U7)(l,r)}else n.children(e).length>0?(o.Rm.trace("Cluster - the non recursive path XBX",e,r.id,r,r.width,"Graph:",n),o.Rm.trace(N(r.id,n)),u.set(r.id,{id:N(r.id,n),node:r})):(o.Rm.trace("Node - the non recursive path XAX",e,R,n.node(e),f),await(0,i.on)(R,n.node(e),{config:g,dir:f}))})));const v=(0,o.K2)((async()=>{const e=n.edges().map((async function(e){const t=n.edge(e.v,e.w,e.name);o.Rm.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),o.Rm.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(n.edge(e))),o.Rm.info("Fix",u,"ids:",e.v,e.w,"Translating: ",u.get(e.v),u.get(e.w)),await(0,r.jP)(w,t)}));await Promise.all(e)}),"processEdges");await v(),o.Rm.info("Graph before layout:",JSON.stringify(l(n))),o.Rm.info("############################################# XXX"),o.Rm.info("### Layout ### XXX"),o.Rm.info("############################################# XXX"),(0,d.Zp)(n),o.Rm.info("Graph after layout:",JSON.stringify(l(n)));let y=0,{subGraphTitleTotalMargin:X}=(0,a.O)(g);return await Promise.all(D(n).map((async function(e){const t=n.node(e);if(o.Rm.info("Position XBX => "+e+": ("+t.x,","+t.y,") width: ",t.width," height: ",t.height),t?.clusterNode)t.y+=X,o.Rm.info("A tainted cluster node XBX1",e,t.id,t.width,t.height,t.x,t.y,n.parent(e)),u.get(t.id).node=t,(0,i.U_)(t);else if(n.children(e).length>0){o.Rm.info("A pure cluster node XBX1",e,t.id,t.x,t.y,t.width,t.height,n.parent(e)),t.height+=X,n.node(t.parentId);const r=t?.padding/2||0,a=t?.labelBBox?.height||0,d=a-r||0;o.Rm.debug("OffsetY",d,"labelHeight",a,"halfPadding",r),await(0,i.U)(p,t),u.get(t.id).node=t}else{const e=n.node(t.parentId);t.y+=X/2,o.Rm.info("A regular node XBX1 - using the padding",t.id,"parent",t.parentId,t.width,t.height,t.x,t.y,"offsetY",t.offsetY,"parent",e,e?.offsetY,t),(0,i.U_)(t)}}))),n.edges().forEach((function(e){const i=n.edge(e);o.Rm.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(i),i),i.points.forEach((e=>e.y+=X/2));const a=n.node(e.v);var d=n.node(e.w);const c=(0,r.Jo)(m,i,u,t,a,d,s);(0,r.T_)(i,c)})),n.nodes().forEach((function(e){const t=n.node(e);o.Rm.info(e,t.type,t.diff),t.isGroup&&(y=t.diff)})),o.Rm.warn("Returning from recursive render XAX",h,y),{elem:h,diff:y}}),"recursiveRender"),O=(0,o.K2)((async(e,n)=>{const t=new p.T({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.config?.flowchart?.nodeSpacing||e.nodeSpacing,ranksep:e.config?.rankSpacing||e.config?.flowchart?.rankSpacing||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),a=n.select("g");(0,r.g0)(a,e.markers,e.type,e.diagramId),(0,i.gh)(),(0,r.IU)(),(0,i.IU)(),R(),e.nodes.forEach((e=>{t.setNode(e.id,{...e}),e.parentId&&t.setParent(e.id,e.parentId)})),o.Rm.debug("Edges:",e.edges),e.edges.forEach((e=>{if(e.start===e.end){const n=e.start,r=n+"---"+n+"---1",i=n+"---"+n+"---2",a=t.node(n);t.setNode(r,{domId:r,id:r,parentId:a.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),t.setParent(r,a.parentId),t.setNode(i,{domId:i,id:i,parentId:a.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),t.setParent(i,a.parentId);const o=structuredClone(e),d=structuredClone(e),s=structuredClone(e);o.label="",o.arrowTypeEnd="none",o.id=n+"-cyclic-special-1",d.arrowTypeEnd="none",d.id=n+"-cyclic-special-mid",s.label="",a.isGroup&&(o.fromCluster=n,s.toCluster=n),s.id=n+"-cyclic-special-2",t.setEdge(n,r,o,n+"-cyclic-special-0"),t.setEdge(r,i,d,n+"-cyclic-special-1"),t.setEdge(i,n,s,n+"-cyc{n.d(t,{A:()=>g});n(96540);var s=n(34164),r=n(17559),i=n(26972),a=n(99169),l=n(28774),o=n(21312),c=n(86025),d=n(74848);function u(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("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 m={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function h(){const e=(0,c.Ay)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(l.A,{"aria-label":(0,o.translate)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(u,{className:m.breadcrumbHomeIcon})})})}const b={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function p(e){let{children:t,href:n,isLast:s}=e;const r="breadcrumbs__link";return s?(0,d.jsx)("span",{className:r,itemProp:"name",children:t}):n?(0,d.jsx)(l.A,{className:r,href:n,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:t})}):(0,d.jsx)("span",{className:r,children:t})}function x(e){let{children:t,active:n,index:r,addMicrodata:i}=e;return(0,d.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,s.A)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,d.jsx)("meta",{itemProp:"position",content:String(r+1)})]})}function g(){const e=(0,i.OF)(),t=(0,a.Dt)();return e?(0,d.jsx)("nav",{className:(0,s.A)(r.G.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,o.translate)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,d.jsx)(h,{}),e.map(((t,n)=>{const s=n===e.length-1,r="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,d.jsx)(x,{active:s,index:n,addMicrodata:!!r,children:(0,d.jsx)(p,{href:r,isLast:s,children:t.label})},n)}))]})}):null}},34136:(e,t,n)=>{n.r(t),n.d(t,{default:()=>w});n(96540);var s=n(1003),r=n(26972),i=n(86025),a=n(34164),l=n(28774),o=n(53465),c=n(16654),d=n(21312),u=n(51107);const m={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var h=n(74848);function b(e){let{href:t,children:n}=e;return(0,h.jsx)(l.A,{href:t,className:(0,a.A)("card padding--lg",m.cardContainer),children:n})}function p(e){let{href:t,icon:n,title:s,description:r}=e;return(0,h.jsxs)(b,{href:t,children:[(0,h.jsxs)(u.A,{as:"h2",className:(0,a.A)("text--truncate",m.cardTitle),title:s,children:[n," ",s]}),r&&(0,h.jsx)("p",{className:(0,a.A)("text--truncate",m.cardDescription),title:r,children:r})]})}function x(e){let{item:t}=e;const n=(0,r.Nr)(t),s=function(){const{selectMessage:e}=(0,o.W)();return t=>e(t,(0,d.translate)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,h.jsx)(p,{href:n,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:t.description??s(t.items.length)}):null}function g(e){let{item:t}=e;const n=(0,c.A)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",s=(0,r.cC)(t.docId??void 0);return(0,h.jsx)(p,{href:t.href,icon:n,title:t.label,description:t.description??s?.description})}function v(e){let{item:t}=e;switch(t.type){case"link":return(0,h.jsx)(g,{item:t});case"category":return(0,h.jsx)(x,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function f(e){let{className:t}=e;const n=(0,r.$S)();return(0,h.jsx)(j,{items:n.items,className:t})}function j(e){const{items:t,className:n}=e;if(!t)return(0,h.jsx)(f,{...e});const s=(0,r.d1)(t);return(0,h.jsx)("section",{className:(0,a.A)("row",n),children:s.map(((e,t)=>(0,h.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,h.jsx)(v,{item:e})},t)))})}var N=n(86929),A=n(51878),_=n(4267),L=n(71243);const T={generatedIndexPage:"generatedIndexPage_vN6x",list:"list_eTzJ",title:"title_kItE"};function k(e){let{categoryGeneratedIndex:t}=e;return(0,h.jsx)(s.be,{title:t.title,description:t.description,keywords:t.keywords,image:(0,i.Ay)(t.image)})}function y(e){let{categoryGeneratedIndex:t}=e;const n=(0,r.$S)();return(0,h.jsxs)("div",{className:T.generatedIndexPage,children:[(0,h.jsx)(A.A,{}),(0,h.jsx)(L.A,{}),(0,h.jsx)(_.A,{}),(0,h.jsxs)("header",{children:[(0,h.jsx)(u.A,{as:"h1",className:T.title,children:t.title}),t.description&&(0,h.jsx)("p",{children:t.description})]}),(0,h.jsx)("article",{className:"margin-top--lg",children:(0,h.jsx)(j,{items:n.items,className:T.list})}),(0,h.jsx)("footer",{className:"margin-top--lg",children:(0,h.jsx)(N.A,{previous:t.navigation.previous,next:t.navigation.next})})]})}function w(e){return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(k,{...e}),(0,h.jsx)(y,{...e})]})}},86929:(e,t,n)=>{n.d(t,{A:()=>o});n(96540);var s=n(21312),r=n(34164),i=n(28774),a=n(74848);function l(e){const{permalink:t,title:n,subLabel:s,isNext:l}=e;return(0,a.jsxs)(i.A,{className:(0,r.A)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,a.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,a.jsx)("div",{className:"pagination-nav__label",children:n})]})}function o(e){const{previous:t,next:n}=e;return(0,a.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.translate)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,a.jsx)(l,{...t,subLabel:(0,a.jsx)(s.default,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,a.jsx)(l,{...n,subLabel:(0,a.jsx)(s.default,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},4267:(e,t,n)=>{n.d(t,{A:()=>o});n(96540);var s=n(34164),r=n(21312),i=n(17559),a=n(23025),l=n(74848);function o(e){let{className:t}=e;const n=(0,a.r)();return n.badge?(0,l.jsx)("span",{className:(0,s.A)(t,i.G.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(r.default,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},51878:(e,t,n)=>{n.d(t,{A:()=>x});n(96540);var s=n(34164),r=n(44586),i=n(28774),a=n(21312),l=n(48295),o=n(17559),c=n(53886),d=n(23025),u=n(74848);const m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(a.default,{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:(0,u.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(a.default,{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:(0,u.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const t=m[e.versionMetadata.banner];return(0,u.jsx)(t,{...e})}function b(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,u.jsx)(a.default,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,u.jsx)("b",{children:(0,u.jsx)(i.A,{to:n,onClick:s,children:(0,u.jsx)(a.default,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function p(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:i}}=(0,r.A)(),{pluginId:a}=(0,l.vT)({failfast:!0}),{savePreferredVersionName:d}=(0,c.g1)(a),{latestDocSuggestion:m,latestVersionSuggestion:p}=(0,l.HW)(a),x=m??(g=p).docs.find((e=>e.id===g.mainDocId));var g;return(0,u.jsxs)("div",{className:(0,s.A)(t,o.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:i,versionMetadata:n})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(b,{versionLabel:p.label,to:x.path,onClick:()=>d(p.name)})})]})}function x(e){let{className:t}=e;const n=(0,d.r)();return n.banner?(0,u.jsx)(p,{className:t,versionMetadata:n}):null}},53465:(e,t,n)=>{n.d(t,{W:()=>c});var s=n(96540),r=n(44586);const i=["zero","one","two","few","many","other"];function a(e){return i.filter((t=>e.includes(t)))}const l={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,r.A)();return(0,s.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:a(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),l}}),[e])}function c(){const e=o();return{selectMessage:(t,n)=>function(e,t,n){const s=e.split("|");if(1===s.length)return s[0];s.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 ${s.length}: ${e}`);const r=n.select(t),i=n.pluralForms.indexOf(r);return s[Math.min(i,s.length-1)]}(n,t,e)}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/155.06026f0e.js b/pr-preview/pr-4/assets/js/155.06026f0e.js new file mode 100644 index 0000000..4f882b8 --- /dev/null +++ b/pr-preview/pr-4/assets/js/155.06026f0e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[155],{60155:(t,e,a)=>{a.d(e,{diagram:()=>Nt});var n=a(59347),i=a(85039),r=a(45567),s=a(20007),l=a(16750),o=function(){var t=(0,r.K2)((function(t,e,a,n){for(a=a||{},n=t.length;n--;a[t[n]]=e);return a}),"o"),e=[1,24],a=[1,25],n=[1,26],i=[1,27],s=[1,28],l=[1,63],o=[1,64],h=[1,65],d=[1,66],u=[1,67],p=[1,68],y=[1,69],g=[1,29],f=[1,30],b=[1,31],x=[1,32],_=[1,33],m=[1,34],E=[1,35],S=[1,36],A=[1,37],C=[1,38],w=[1,39],k=[1,40],O=[1,41],T=[1,42],v=[1,43],R=[1,44],D=[1,45],N=[1,46],P=[1,47],B=[1,48],I=[1,50],M=[1,51],j=[1,52],K=[1,53],L=[1,54],Y=[1,55],U=[1,56],F=[1,57],X=[1,58],z=[1,59],W=[1,60],Q=[14,42],$=[14,34,36,37,38,39,40,41,42,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,70,71,72,73,74],H=[12,14,34,36,37,38,39,40,41,42,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,70,71,72,73,74],q=[1,82],V=[1,83],G=[1,84],J=[1,85],Z=[12,14,42],tt=[12,14,33,42],et=[12,14,33,42,76,77,79,80],at=[12,33],nt=[34,36,37,38,39,40,41,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,70,71,72,73,74],it={trace:(0,r.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:(0,r.K2)((function(t,e,a,n,i,r,s){var l=r.length-1;switch(i){case 3:n.setDirection("TB");break;case 4:n.setDirection("BT");break;case 5:n.setDirection("RL");break;case 6:n.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:n.setC4Type(r[l-3]);break;case 19:n.setTitle(r[l].substring(6)),this.$=r[l].substring(6);break;case 20:n.setAccDescription(r[l].substring(15)),this.$=r[l].substring(15);break;case 21:this.$=r[l].trim(),n.setTitle(this.$);break;case 22:case 23:this.$=r[l].trim(),n.setAccDescription(this.$);break;case 28:r[l].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 29:r[l].splice(2,0,"SYSTEM"),n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 30:n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 31:r[l].splice(2,0,"CONTAINER"),n.addContainerBoundary(...r[l]),this.$=r[l];break;case 32:n.addDeploymentNode("node",...r[l]),this.$=r[l];break;case 33:n.addDeploymentNode("nodeL",...r[l]),this.$=r[l];break;case 34:n.addDeploymentNode("nodeR",...r[l]),this.$=r[l];break;case 35:n.popBoundaryParseStack();break;case 39:n.addPersonOrSystem("person",...r[l]),this.$=r[l];break;case 40:n.addPersonOrSystem("external_person",...r[l]),this.$=r[l];break;case 41:n.addPersonOrSystem("system",...r[l]),this.$=r[l];break;case 42:n.addPersonOrSystem("system_db",...r[l]),this.$=r[l];break;case 43:n.addPersonOrSystem("system_queue",...r[l]),this.$=r[l];break;case 44:n.addPersonOrSystem("external_system",...r[l]),this.$=r[l];break;case 45:n.addPersonOrSystem("external_system_db",...r[l]),this.$=r[l];break;case 46:n.addPersonOrSystem("external_system_queue",...r[l]),this.$=r[l];break;case 47:n.addContainer("container",...r[l]),this.$=r[l];break;case 48:n.addContainer("container_db",...r[l]),this.$=r[l];break;case 49:n.addContainer("container_queue",...r[l]),this.$=r[l];break;case 50:n.addContainer("external_container",...r[l]),this.$=r[l];break;case 51:n.addContainer("external_container_db",...r[l]),this.$=r[l];break;case 52:n.addContainer("external_container_queue",...r[l]),this.$=r[l];break;case 53:n.addComponent("component",...r[l]),this.$=r[l];break;case 54:n.addComponent("component_db",...r[l]),this.$=r[l];break;case 55:n.addComponent("component_queue",...r[l]),this.$=r[l];break;case 56:n.addComponent("external_component",...r[l]),this.$=r[l];break;case 57:n.addComponent("external_component_db",...r[l]),this.$=r[l];break;case 58:n.addComponent("external_component_queue",...r[l]),this.$=r[l];break;case 60:n.addRel("rel",...r[l]),this.$=r[l];break;case 61:n.addRel("birel",...r[l]),this.$=r[l];break;case 62:n.addRel("rel_u",...r[l]),this.$=r[l];break;case 63:n.addRel("rel_d",...r[l]),this.$=r[l];break;case 64:n.addRel("rel_l",...r[l]),this.$=r[l];break;case 65:n.addRel("rel_r",...r[l]),this.$=r[l];break;case 66:n.addRel("rel_b",...r[l]),this.$=r[l];break;case 67:r[l].splice(0,1),n.addRel("rel",...r[l]),this.$=r[l];break;case 68:n.updateElStyle("update_el_style",...r[l]),this.$=r[l];break;case 69:n.updateRelStyle("update_rel_style",...r[l]),this.$=r[l];break;case 70:n.updateLayoutConfig("update_layout_config",...r[l]),this.$=r[l];break;case 71:this.$=[r[l]];break;case 72:r[l].unshift(r[l-1]),this.$=r[l];break;case 73:case 75:this.$=r[l].trim();break;case 74:let t={};t[r[l-1].trim()]=r[l].trim(),this.$=t;break;case 76:this.$=""}}),"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:g,45:f,46:b,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:w,55:k,56:O,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:I,65:M,66:j,67:K,68:L,69:Y,70:U,71:F,72:X,73:z,74:W},{13:70,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:g,45:f,46:b,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:w,55:k,56:O,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:I,65:M,66:j,67:K,68:L,69:Y,70:U,71:F,72:X,73:z,74:W},{13:71,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:g,45:f,46:b,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:w,55:k,56:O,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:I,65:M,66:j,67:K,68:L,69:Y,70:U,71:F,72:X,73:z,74:W},{13:72,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:g,45:f,46:b,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:w,55:k,56:O,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:I,65:M,66:j,67:K,68:L,69:Y,70:U,71:F,72:X,73:z,74:W},{13:73,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:g,45:f,46:b,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:w,55:k,56:O,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:I,65:M,66:j,67:K,68:L,69:Y,70:U,71:F,72:X,73:z,74:W},{14:[1,74]},t(Q,[2,13],{43:23,29:49,30:61,32:62,20:75,34:l,36:o,37:h,38:d,39:u,40:p,41:y,44:g,45:f,46:b,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:w,55:k,56:O,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:I,65:M,66:j,67:K,68:L,69:Y,70:U,71:F,72:X,73:z,74:W}),t(Q,[2,14]),t($,[2,16],{12:[1,76]}),t(Q,[2,36],{12:[1,77]}),t(H,[2,19]),t(H,[2,20]),{25:[1,78]},{27:[1,79]},t(H,[2,23]),{35:80,75:81,76:q,77:V,79:G,80:J},{35:86,75:81,76:q,77:V,79:G,80:J},{35:87,75:81,76:q,77:V,79:G,80:J},{35:88,75:81,76:q,77:V,79:G,80:J},{35:89,75:81,76:q,77:V,79:G,80:J},{35:90,75:81,76:q,77:V,79:G,80:J},{35:91,75:81,76:q,77:V,79:G,80:J},{35:92,75:81,76:q,77:V,79:G,80:J},{35:93,75:81,76:q,77:V,79:G,80:J},{35:94,75:81,76:q,77:V,79:G,80:J},{35:95,75:81,76:q,77:V,79:G,80:J},{35:96,75:81,76:q,77:V,79:G,80:J},{35:97,75:81,76:q,77:V,79:G,80:J},{35:98,75:81,76:q,77:V,79:G,80:J},{35:99,75:81,76:q,77:V,79:G,80:J},{35:100,75:81,76:q,77:V,79:G,80:J},{35:101,75:81,76:q,77:V,79:G,80:J},{35:102,75:81,76:q,77:V,79:G,80:J},{35:103,75:81,76:q,77:V,79:G,80:J},{35:104,75:81,76:q,77:V,79:G,80:J},t(Z,[2,59]),{35:105,75:81,76:q,77:V,79:G,80:J},{35:106,75:81,76:q,77:V,79:G,80:J},{35:107,75:81,76:q,77:V,79:G,80:J},{35:108,75:81,76:q,77:V,79:G,80:J},{35:109,75:81,76:q,77:V,79:G,80:J},{35:110,75:81,76:q,77:V,79:G,80:J},{35:111,75:81,76:q,77:V,79:G,80:J},{35:112,75:81,76:q,77:V,79:G,80:J},{35:113,75:81,76:q,77:V,79:G,80:J},{35:114,75:81,76:q,77:V,79:G,80:J},{35:115,75:81,76:q,77:V,79:G,80:J},{20:116,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:g,45:f,46:b,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:w,55:k,56:O,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:I,65:M,66:j,67:K,68:L,69:Y,70:U,71:F,72:X,73:z,74:W},{12:[1,118],33:[1,117]},{35:119,75:81,76:q,77:V,79:G,80:J},{35:120,75:81,76:q,77:V,79:G,80:J},{35:121,75:81,76:q,77:V,79:G,80:J},{35:122,75:81,76:q,77:V,79:G,80:J},{35:123,75:81,76:q,77:V,79:G,80:J},{35:124,75:81,76:q,77:V,79:G,80:J},{35:125,75:81,76:q,77:V,79:G,80:J},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Q,[2,15]),t($,[2,17],{21:22,19:130,22:e,23:a,24:n,26:i,28:s}),t(Q,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:n,26:i,28:s,34:l,36:o,37:h,38:d,39:u,40:p,41:y,44:g,45:f,46:b,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:w,55:k,56:O,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:I,65:M,66:j,67:K,68:L,69:Y,70:U,71:F,72:X,73:z,74:W}),t(H,[2,21]),t(H,[2,22]),t(Z,[2,39]),t(tt,[2,71],{75:81,35:132,76:q,77:V,79:G,80:J}),t(et,[2,73]),{78:[1,133]},t(et,[2,75]),t(et,[2,76]),t(Z,[2,40]),t(Z,[2,41]),t(Z,[2,42]),t(Z,[2,43]),t(Z,[2,44]),t(Z,[2,45]),t(Z,[2,46]),t(Z,[2,47]),t(Z,[2,48]),t(Z,[2,49]),t(Z,[2,50]),t(Z,[2,51]),t(Z,[2,52]),t(Z,[2,53]),t(Z,[2,54]),t(Z,[2,55]),t(Z,[2,56]),t(Z,[2,57]),t(Z,[2,58]),t(Z,[2,60]),t(Z,[2,61]),t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,64]),t(Z,[2,65]),t(Z,[2,66]),t(Z,[2,67]),t(Z,[2,68]),t(Z,[2,69]),t(Z,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(at,[2,28]),t(at,[2,29]),t(at,[2,30]),t(at,[2,31]),t(at,[2,32]),t(at,[2,33]),t(at,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t($,[2,18]),t(Q,[2,38]),t(tt,[2,72]),t(et,[2,74]),t(Z,[2,24]),t(Z,[2,35]),t(nt,[2,25]),t(nt,[2,26],{12:[1,138]}),t(nt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:(0,r.K2)((function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)}),"parseError"),parse:(0,r.K2)((function(t){var e=this,a=[0],n=[],i=[null],s=[],l=this.table,o="",c=0,h=0,d=0,u=s.slice.call(arguments,1),p=Object.create(this.lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=this.yy[g]);p.setInput(t,y.yy),y.yy.lexer=p,y.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;s.push(f);var b=p.options&&p.options.ranges;function x(){var t;return"number"!=typeof(t=n.pop()||p.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,r.K2)((function(t){a.length=a.length-2*t,i.length=i.length-t,s.length=s.length-t}),"popStack"),(0,r.K2)(x,"lex");for(var _,m,E,S,A,C,w,k,O,T={};;){if(E=a[a.length-1],this.defaultActions[E]?S=this.defaultActions[E]:(null==_&&(_=x()),S=l[E]&&l[E][_]),void 0===S||!S.length||!S[0]){var v="";for(C in O=[],l[E])this.terminals_[C]&&C>2&&O.push("'"+this.terminals_[C]+"'");v=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+O.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(v,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:f,expected:O})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+_);switch(S[0]){case 1:a.push(_),i.push(p.yytext),s.push(p.yylloc),a.push(S[1]),_=null,m?(_=m,m=null):(h=p.yyleng,o=p.yytext,c=p.yylineno,f=p.yylloc,d>0&&d--);break;case 2:if(w=this.productions_[S[1]][1],T.$=i[i.length-w],T._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},b&&(T._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),void 0!==(A=this.performAction.apply(T,[o,h,c,y.yy,S[1],i,s].concat(u))))return A;w&&(a=a.slice(0,-1*w*2),i=i.slice(0,-1*w),s=s.slice(0,-1*w)),a.push(this.productions_[S[1]][0]),i.push(T.$),s.push(T._$),k=l[a[a.length-2]][a[a.length-1]],a.push(k);break;case 3:return!0}}return!0}),"parse")},rt=function(){return{EOF:1,parseError:(0,r.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,r.K2)((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}),"setInput"),input:(0,r.K2)((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}),"input"),unput:(0,r.K2)((function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.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:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[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}),"unput"),more:(0,r.K2)((function(){return this._more=!0,this}),"more"),reject:(0,r.K2)((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})}),"reject"),less:(0,r.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,r.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,r.K2)((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,"")}),"upcomingInput"),showPosition:(0,r.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,r.K2)((function(t,e){var a,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var r in i)this[r]=i[r];return!1}return!1}),"test_match"),next:(0,r.K2)((function(){if(this.done)return this.EOF;var t,e,a,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),r=0;re[0].length)){if(e=a,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,r.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,r.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,r.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,r.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,r.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,r.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,r.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{},performAction:(0,r.K2)((function(t,e,a,n){switch(a){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}}),"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\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:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,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,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}}}();function st(){this.yy={}}return it.lexer=rt,(0,r.K2)(st,"Parser"),st.prototype=it,it.Parser=st,new st}();o.parser=o;var h,d=o,u=[],p=[""],y="global",g="",f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],b=[],x="",_=!1,m=4,E=2,S=(0,r.K2)((function(){return h}),"getC4Type"),A=(0,r.K2)((function(t){let e=(0,r.jZ)(t,(0,r.D7)());h=e}),"setC4Type"),C=(0,r.K2)((function(t,e,a,n,i,r,s,l,o){if(null==t||null==e||null==a||null==n)return;let c={};const h=b.find((t=>t.from===e&&t.to===a));if(h?c=h:b.push(c),c.type=t,c.from=e,c.to=a,c.label={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 s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.sprite=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];c[t]=e}else c.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.link=o;c.wrap=$()}),"addRel"),w=(0,r.K2)((function(t,e,a,n,i,r,s){if(null===e||null===a)return;let l={};const o=u.find((t=>t.alias===e));if(o&&e===o.alias?l=o:(l.alias=e,u.push(l)),l.label=null==a?{text:""}:{text:a},null==n)l.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.descr={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.sprite=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.tags=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.link=s;l.typeC4Shape={text:t},l.parentBoundary=y,l.wrap=$()}),"addPersonOrSystem"),k=(0,r.K2)((function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={};const c=u.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,u.push(o)),o.label=null==a?{text:""}:{text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=$(),o.typeC4Shape={text:t},o.parentBoundary=y}),"addContainer"),O=(0,r.K2)((function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={};const c=u.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,u.push(o)),o.label=null==a?{text:""}:{text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=$(),o.typeC4Shape={text:t},o.parentBoundary=y}),"addComponent"),T=(0,r.K2)((function(t,e,a,n,i){if(null===t||null===e)return;let r={};const s=f.find((e=>e.alias===t));if(s&&t===s.alias?r=s:(r.alias=t,f.push(r)),r.label=null==e?{text:""}:{text:e},null==a)r.type={text:"system"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=y,r.wrap=$(),g=y,y=t,p.push(g)}),"addPersonOrSystemBoundary"),v=(0,r.K2)((function(t,e,a,n,i){if(null===t||null===e)return;let r={};const s=f.find((e=>e.alias===t));if(s&&t===s.alias?r=s:(r.alias=t,f.push(r)),r.label=null==e?{text:""}:{text:e},null==a)r.type={text:"container"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=y,r.wrap=$(),g=y,y=t,p.push(g)}),"addContainerBoundary"),R=(0,r.K2)((function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={};const c=f.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,f.push(o)),o.label=null==a?{text:""}:{text:a},null==n)o.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.type={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=y,o.wrap=$(),g=y,y=e,p.push(g)}),"addDeploymentNode"),D=(0,r.K2)((function(){y=g,p.pop(),g=p.pop(),p.push(g)}),"popBoundaryParseStack"),N=(0,r.K2)((function(t,e,a,n,i,r,s,l,o,c,h){let d=u.find((t=>t.alias===e));if(void 0!==d||(d=f.find((t=>t.alias===e)),void 0!==d)){if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];d[t]=e}else d.bgColor=a;if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];d[t]=e}else d.fontColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];d[t]=e}else d.borderColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];d[t]=e}else d.shadowing=r;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];d[t]=e}else d.shape=s;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];d[t]=e}else d.sprite=l;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];d[t]=e}else d.techn=o;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];d[t]=e}else d.legendText=c;if(null!=h)if("object"==typeof h){let[t,e]=Object.entries(h)[0];d[t]=e}else d.legendSprite=h}}),"updateElStyle"),P=(0,r.K2)((function(t,e,a,n,i,r,s){const l=b.find((t=>t.from===e&&t.to===a));if(void 0!==l){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]=e}else l.textColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.lineColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(r);if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(s)}}),"updateRelStyle"),B=(0,r.K2)((function(t,e,a){let n=m,i=E;if("object"==typeof e){const t=Object.values(e)[0];n=parseInt(t)}else n=parseInt(e);if("object"==typeof a){const t=Object.values(a)[0];i=parseInt(t)}else i=parseInt(a);n>=1&&(m=n),i>=1&&(E=i)}),"updateLayoutConfig"),I=(0,r.K2)((function(){return m}),"getC4ShapeInRow"),M=(0,r.K2)((function(){return E}),"getC4BoundaryInRow"),j=(0,r.K2)((function(){return y}),"getCurrentBoundaryParse"),K=(0,r.K2)((function(){return g}),"getParentBoundaryParse"),L=(0,r.K2)((function(t){return null==t?u:u.filter((e=>e.parentBoundary===t))}),"getC4ShapeArray"),Y=(0,r.K2)((function(t){return u.find((e=>e.alias===t))}),"getC4Shape"),U=(0,r.K2)((function(t){return Object.keys(L(t))}),"getC4ShapeKeys"),F=(0,r.K2)((function(t){return null==t?f:f.filter((e=>e.parentBoundary===t))}),"getBoundaries"),X=F,z=(0,r.K2)((function(){return b}),"getRels"),W=(0,r.K2)((function(){return x}),"getTitle"),Q=(0,r.K2)((function(t){_=t}),"setWrap"),$=(0,r.K2)((function(){return _}),"autoWrap"),H=(0,r.K2)((function(){u=[],f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],g="",y="global",p=[""],b=[],p=[""],x="",_=!1,m=4,E=2}),"clear"),q=(0,r.K2)((function(t){let e=(0,r.jZ)(t,(0,r.D7)());x=e}),"setTitle"),V={addPersonOrSystem:w,addPersonOrSystemBoundary:T,addContainer:k,addContainerBoundary:v,addComponent:O,addDeploymentNode:R,popBoundaryParseStack:D,addRel:C,updateElStyle:N,updateRelStyle:P,updateLayoutConfig:B,autoWrap:$,setWrap:Q,getC4ShapeArray:L,getC4Shape:Y,getC4ShapeKeys:U,getBoundaries:F,getBoundarys:X,getCurrentBoundaryParse:j,getParentBoundaryParse:K,getRels:z,getTitle:W,getC4Type:S,getC4ShapeInRow:I,getC4BoundaryInRow:M,setAccTitle:r.SV,getAccTitle:r.iN,getAccDescription:r.m7,setAccDescription:r.EI,getConfig:(0,r.K2)((()=>(0,r.D7)().c4),"getConfig"),clear:H,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:q,setC4Type:A},G=(0,r.K2)((function(t,e){return(0,n.tk)(t,e)}),"drawRect"),J=(0,r.K2)((function(t,e,a,n,i,r){const s=t.append("image");s.attr("width",e),s.attr("height",a),s.attr("x",n),s.attr("y",i);let o=r.startsWith("data:image/png;base64")?r:(0,l.J)(r);s.attr("xlink:href",o)}),"drawImage"),Z=(0,r.K2)(((t,e,a)=>{const n=t.append("g");let i=0;for(let r of e){let t=r.textColor?r.textColor:"#444444",e=r.lineColor?r.lineColor:"#444444",s=r.offsetX?parseInt(r.offsetX):0,l=r.offsetY?parseInt(r.offsetY):0,o="";if(0===i){let t=n.append("line");t.attr("x1",r.startPoint.x),t.attr("y1",r.startPoint.y),t.attr("x2",r.endPoint.x),t.attr("y2",r.endPoint.y),t.attr("stroke-width","1"),t.attr("stroke",e),t.style("fill","none"),"rel_b"!==r.type&&t.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==r.type&&"rel_b"!==r.type||t.attr("marker-start","url("+o+"#arrowend)"),i=-1}else{let t=n.append("path");t.attr("fill","none").attr("stroke-width","1").attr("stroke",e).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",r.startPoint.x).replaceAll("starty",r.startPoint.y).replaceAll("controlx",r.startPoint.x+(r.endPoint.x-r.startPoint.x)/2-(r.endPoint.x-r.startPoint.x)/4).replaceAll("controly",r.startPoint.y+(r.endPoint.y-r.startPoint.y)/2).replaceAll("stopx",r.endPoint.x).replaceAll("stopy",r.endPoint.y)),"rel_b"!==r.type&&t.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==r.type&&"rel_b"!==r.type||t.attr("marker-start","url("+o+"#arrowend)")}let c=a.messageFont();dt(a)(r.label.text,n,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+s,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+l,r.label.width,r.label.height,{fill:t},c),r.techn&&""!==r.techn.text&&(c=a.messageFont(),dt(a)("["+r.techn.text+"]",n,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+s,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+a.messageFontSize+5+l,Math.max(r.label.width,r.techn.width),r.techn.height,{fill:t,"font-style":"italic"},c))}}),"drawRels"),tt=(0,r.K2)((function(t,e,a){const n=t.append("g");let i=e.bgColor?e.bgColor:"none",r=e.borderColor?e.borderColor:"#444444",s=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1});let o={x:e.x,y:e.y,fill:i,stroke:r,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l};G(n,o);let c=a.boundaryFont();c.fontWeight="bold",c.fontSize=c.fontSize+2,c.fontColor=s,dt(a)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},c),e.type&&""!==e.type.text&&(c=a.boundaryFont(),c.fontColor=s,dt(a)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},c)),e.descr&&""!==e.descr.text&&(c=a.boundaryFont(),c.fontSize=c.fontSize-2,c.fontColor=s,dt(a)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},c))}),"drawBoundary"),et=(0,r.K2)((function(t,e,a){let i=e.bgColor?e.bgColor:a[e.typeC4Shape.text+"_bg_color"],r=e.borderColor?e.borderColor:a[e.typeC4Shape.text+"_border_color"],s=e.fontColor?e.fontColor:"#FFFFFF",l="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":l="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":l="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 c=(0,n.PB)();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":c.x=e.x,c.y=e.y,c.fill=i,c.width=e.width,c.height=e.height,c.stroke=r,c.rx=2.5,c.ry=2.5,c.attrs={"stroke-width":.5},G(o,c);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",i).attr("stroke-width","0.5").attr("stroke",r).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",r).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",i).attr("stroke-width","0.5").attr("stroke",r).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",r).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 h=ht(a,e.typeC4Shape.text);switch(o.append("text").attr("fill",s).attr("font-family",h.fontFamily).attr("font-size",h.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":J(o,48,48,e.x+e.width/2-24,e.y+e.image.Y,l)}let d=a[e.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=s,dt(a)(e.label.text,o,e.x,e.y+e.label.Y,e.width,e.height,{fill:s},d),d=a[e.typeC4Shape.text+"Font"](),d.fontColor=s,e.techn&&""!==e.techn?.text?dt(a)(e.techn.text,o,e.x,e.y+e.techn.Y,e.width,e.height,{fill:s,"font-style":"italic"},d):e.type&&""!==e.type.text&&dt(a)(e.type.text,o,e.x,e.y+e.type.Y,e.width,e.height,{fill:s,"font-style":"italic"},d),e.descr&&""!==e.descr.text&&(d=a.personFont(),d.fontColor=s,dt(a)(e.descr.text,o,e.x,e.y+e.descr.Y,e.width,e.height,{fill:s},d)),e.height}),"drawC4Shape"),at=(0,r.K2)((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")}),"insertDatabaseIcon"),nt=(0,r.K2)((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")}),"insertComputerIcon"),it=(0,r.K2)((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")}),"insertClockIcon"),rt=(0,r.K2)((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")}),"insertArrowHead"),st=(0,r.K2)((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")}),"insertArrowEnd"),lt=(0,r.K2)((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")}),"insertArrowFilledHead"),ot=(0,r.K2)((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)}),"insertDynamicNumber"),ct=(0,r.K2)((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")}),"insertArrowCrossHead"),ht=(0,r.K2)(((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]})),"getC4ShapeFont"),dt=function(){function t(t,e,a,i,r,s,l){n(e.append("text").attr("x",a+r/2).attr("y",i+s/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,a,i,s,l,o,c){const{fontSize:h,fontFamily:d,fontWeight:u}=c,p=t.split(r.Y2.lineBreakRegex);for(let r=0;r=this.data.widthLimit||a>=this.data.widthLimit||this.nextData.cnt>gt)&&(e=this.nextData.startx+t.margin+bt.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=a=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",a,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},_t(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}},_t=(0,r.K2)((function(t){(0,r.hH)(bt,t),t.fontFamily&&(bt.personFontFamily=bt.systemFontFamily=bt.messageFontFamily=t.fontFamily),t.fontSize&&(bt.personFontSize=bt.systemFontSize=bt.messageFontSize=t.fontSize),t.fontWeight&&(bt.personFontWeight=bt.systemFontWeight=bt.messageFontWeight=t.fontWeight)}),"setConf"),mt=(0,r.K2)(((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]})),"c4ShapeFont"),Et=(0,r.K2)((t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight})),"boundaryFont"),St=(0,r.K2)((t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight})),"messageFont");function At(t,e,a,n,s){if(!e[t].width)if(a)e[t].text=(0,i.bH)(e[t].text,s,n),e[t].textLines=e[t].text.split(r.Y2.lineBreakRegex).length,e[t].width=s,e[t].height=(0,i.ru)(e[t].text,n);else{let a=e[t].text.split(r.Y2.lineBreakRegex);e[t].textLines=a.length;let s=0;e[t].height=0,e[t].width=0;for(const r of a)e[t].width=Math.max((0,i.Un)(r,n),e[t].width),s=(0,i.ru)(r,n),e[t].height=e[t].height+s}}(0,r.K2)(At,"calcC4ShapeTextWH");var Ct=(0,r.K2)((function(t,e,a){e.x=a.data.startx,e.y=a.data.starty,e.width=a.data.stopx-a.data.startx,e.height=a.data.stopy-a.data.starty,e.label.y=bt.c4ShapeMargin-35;let n=e.wrap&&bt.wrap,r=Et(bt);r.fontSize=r.fontSize+2,r.fontWeight="bold",At("label",e,n,r,(0,i.Un)(e.label.text,r)),ut.drawBoundary(t,e,bt)}),"drawBoundary"),wt=(0,r.K2)((function(t,e,a,n){let r=0;for(const s of n){r=0;const n=a[s];let l=mt(bt,n.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,n.typeC4Shape.width=(0,i.Un)("\xab"+n.typeC4Shape.text+"\xbb",l),n.typeC4Shape.height=l.fontSize+2,n.typeC4Shape.Y=bt.c4ShapePadding,r=n.typeC4Shape.Y+n.typeC4Shape.height-4,n.image={width:0,height:0,Y:0},n.typeC4Shape.text){case"person":case"external_person":n.image.width=48,n.image.height=48,n.image.Y=r,r=n.image.Y+n.image.height}n.sprite&&(n.image.width=48,n.image.height=48,n.image.Y=r,r=n.image.Y+n.image.height);let o=n.wrap&&bt.wrap,c=bt.width-2*bt.c4ShapePadding,h=mt(bt,n.typeC4Shape.text);if(h.fontSize=h.fontSize+2,h.fontWeight="bold",At("label",n,o,h,c),n.label.Y=r+8,r=n.label.Y+n.label.height,n.type&&""!==n.type.text){n.type.text="["+n.type.text+"]",At("type",n,o,mt(bt,n.typeC4Shape.text),c),n.type.Y=r+5,r=n.type.Y+n.type.height}else if(n.techn&&""!==n.techn.text){n.techn.text="["+n.techn.text+"]",At("techn",n,o,mt(bt,n.techn.text),c),n.techn.Y=r+5,r=n.techn.Y+n.techn.height}let d=r,u=n.label.width;if(n.descr&&""!==n.descr.text){At("descr",n,o,mt(bt,n.typeC4Shape.text),c),n.descr.Y=r+20,r=n.descr.Y+n.descr.height,u=Math.max(n.label.width,n.descr.width),d=r-5*n.descr.textLines}u+=bt.c4ShapePadding,n.width=Math.max(n.width||bt.width,u,bt.width),n.height=Math.max(n.height||bt.height,d,bt.height),n.margin=n.margin||bt.c4ShapeMargin,t.insert(n),ut.drawC4Shape(e,n,bt)}t.bumpLastMargin(bt.c4ShapeMargin)}),"drawC4ShapeArray"),kt=class{static{(0,r.K2)(this,"Point")}constructor(t,e){this.x=t,this.y=e}},Ot=(0,r.K2)((function(t,e){let a=t.x,n=t.y,i=e.x,r=e.y,s=a+t.width/2,l=n+t.height/2,o=Math.abs(a-i),c=Math.abs(n-r),h=c/o,d=t.height/t.width,u=null;return n==r&&ai?u=new kt(a,l):a==i&&nr&&(u=new kt(s,n)),a>i&&n=h?new kt(a,l+h*t.width/2):new kt(s-o/c*t.height/2,n+t.height):a=h?new kt(a+t.width,l+h*t.width/2):new kt(s+o/c*t.height/2,n+t.height):ar?u=d>=h?new kt(a+t.width,l-h*t.width/2):new kt(s+t.height/2*o/c,n):a>i&&n>r&&(u=d>=h?new kt(a,l-t.width/2*h):new kt(s-t.height/2*o/c,n)),u}),"getIntersectPoint"),Tt=(0,r.K2)((function(t,e){let a={x:0,y:0};a.x=e.x+e.width/2,a.y=e.y+e.height/2;let n=Ot(t,a);return a.x=t.x+t.width/2,a.y=t.y+t.height/2,{startPoint:n,endPoint:Ot(e,a)}}),"getIntersectPoints"),vt=(0,r.K2)((function(t,e,a,n){let r=0;for(let s of e){r+=1;let t=s.wrap&&bt.wrap,e=St(bt);"C4Dynamic"===n.db.getC4Type()&&(s.label.text=r+": "+s.label.text);let l=(0,i.Un)(s.label.text,e);At("label",s,t,e,l),s.techn&&""!==s.techn.text&&(l=(0,i.Un)(s.techn.text,e),At("techn",s,t,e,l)),s.descr&&""!==s.descr.text&&(l=(0,i.Un)(s.descr.text,e),At("descr",s,t,e,l));let o=a(s.from),c=a(s.to),h=Tt(o,c);s.startPoint=h.startPoint,s.endPoint=h.endPoint}ut.drawRels(t,e,bt)}),"drawRels");function Rt(t,e,a,n,i){let r=new xt(i);r.data.widthLimit=a.data.widthLimit/Math.min(ft,n.length);for(let[s,l]of n.entries()){let n=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=n,n=l.image.Y+l.image.height);let o=l.wrap&&bt.wrap,c=Et(bt);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",At("label",l,o,c,r.data.widthLimit),l.label.Y=n+8,n=l.label.Y+l.label.height,l.type&&""!==l.type.text){l.type.text="["+l.type.text+"]",At("type",l,o,Et(bt),r.data.widthLimit),l.type.Y=n+5,n=l.type.Y+l.type.height}if(l.descr&&""!==l.descr.text){let t=Et(bt);t.fontSize=t.fontSize-2,At("descr",l,o,t,r.data.widthLimit),l.descr.Y=n+20,n=l.descr.Y+l.descr.height}if(0==s||s%ft==0){let t=a.data.startx+bt.diagramMarginX,e=a.data.stopy+bt.diagramMarginY+n;r.setData(t,t,e,e)}else{let t=r.data.stopx!==r.data.startx?r.data.stopx+bt.diagramMarginX:r.data.startx,e=r.data.starty;r.setData(t,t,e,e)}r.name=l.alias;let h=i.db.getC4ShapeArray(l.alias),d=i.db.getC4ShapeKeys(l.alias);d.length>0&&wt(r,t,h,d),e=l.alias;let u=i.db.getBoundarys(e);u.length>0&&Rt(t,e,r,u,i),"global"!==l.alias&&Ct(t,l,r),a.data.stopy=Math.max(r.data.stopy+bt.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(r.data.stopx+bt.c4ShapeMargin,a.data.stopx),pt=Math.max(pt,a.data.stopx),yt=Math.max(yt,a.data.stopy)}}(0,r.K2)(Rt,"drawInsideBoundary");var Dt={drawPersonOrSystemArray:wt,drawBoundary:Ct,setConf:_t,draw:(0,r.K2)((function(t,e,a,n){bt=(0,r.D7)().c4;const i=(0,r.D7)().securityLevel;let l;"sandbox"===i&&(l=(0,s.Ltv)("#i"+e));const o="sandbox"===i?(0,s.Ltv)(l.nodes()[0].contentDocument.body):(0,s.Ltv)("body");let c=n.db;n.db.setWrap(bt.wrap),gt=c.getC4ShapeInRow(),ft=c.getC4BoundaryInRow(),r.Rm.debug(`C:${JSON.stringify(bt,null,2)}`);const h="sandbox"===i?o.select(`[id="${e}"]`):(0,s.Ltv)(`[id="${e}"]`);ut.insertComputerIcon(h),ut.insertDatabaseIcon(h),ut.insertClockIcon(h);let d=new xt(n);d.setData(bt.diagramMarginX,bt.diagramMarginX,bt.diagramMarginY,bt.diagramMarginY),d.data.widthLimit=screen.availWidth,pt=bt.diagramMarginX,yt=bt.diagramMarginY;const u=n.db.getTitle();Rt(h,"",d,n.db.getBoundarys(""),n),ut.insertArrowHead(h),ut.insertArrowEnd(h),ut.insertArrowCrossHead(h),ut.insertArrowFilledHead(h),vt(h,n.db.getRels(),n.db.getC4Shape,n),d.data.stopx=pt,d.data.stopy=yt;const p=d.data;let y=p.stopy-p.starty+2*bt.diagramMarginY;const g=p.stopx-p.startx+2*bt.diagramMarginX;u&&h.append("text").text(u).attr("x",(p.stopx-p.startx)/2-4*bt.diagramMarginX).attr("y",p.starty+bt.diagramMarginY),(0,r.a$)(h,y,g,bt.useMaxWidth);const f=u?60:0;h.attr("viewBox",p.startx-bt.diagramMarginX+" -"+(bt.diagramMarginY+f)+" "+g+" "+(y+f)),r.Rm.debug("models:",p)}),"draw")},Nt={parser:d,db:V,renderer:Dt,styles:(0,r.K2)((t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`),"getStyles"),init:(0,r.K2)((({c4:t,wrap:e})=>{Dt.setConf(t),V.setWrap(e)}),"init")}},59347:(t,e,a)=>{a.d(e,{CP:()=>c,HT:()=>d,PB:()=>h,aC:()=>o,lC:()=>s,m:()=>l,tk:()=>r});var n=a(45567),i=a(16750),r=(0,n.K2)(((t,e)=>{const a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(const n in e.attrs)a.attr(n,e.attrs[n]);return e.class&&a.attr("class",e.class),a}),"drawRect"),s=(0,n.K2)(((t,e)=>{const a={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};r(t,a).lower()}),"drawBackgroundRect"),l=(0,n.K2)(((t,e)=>{const a=e.text.replace(n.H1," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(a),i}),"drawText"),o=(0,n.K2)(((t,e,a,n)=>{const r=t.append("image");r.attr("x",e),r.attr("y",a);const s=(0,i.J)(n);r.attr("xlink:href",s)}),"drawImage"),c=(0,n.K2)(((t,e,a,n)=>{const r=t.append("use");r.attr("x",e),r.attr("y",a);const s=(0,i.J)(n);r.attr("xlink:href",`#${s}`)}),"drawEmbeddedImage"),h=(0,n.K2)((()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0})),"getNoteRect"),d=(0,n.K2)((()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})),"getTextObj")}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/165.85ee84fd.js b/pr-preview/pr-4/assets/js/165.85ee84fd.js new file mode 100644 index 0000000..889b53d --- /dev/null +++ b/pr-preview/pr-4/assets/js/165.85ee84fd.js @@ -0,0 +1,2 @@ +/*! For license information please see 165.85ee84fd.js.LICENSE.txt */ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[165],{90165:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{A:()=>Xc});var h="undefined"==typeof window?null:window,p=h?h.navigator:null;h&&h.document;var f=r(""),g=r({}),v=r((function(){})),y="undefined"==typeof HTMLElement?"undefined":r(HTMLElement),m=function(e){return e&&e.instanceString&&x(e.instanceString)?e.instanceString():null},b=function(e){return null!=e&&r(e)==f},x=function(e){return null!=e&&r(e)===v},w=function(e){return!S(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},E=function(e){return null!=e&&r(e)===g&&!w(e)&&e.constructor===Object},k=function(e){return null!=e&&r(e)===r(1)&&!isNaN(e)},C=function(e){return"undefined"===y?void 0:null!=e&&e instanceof HTMLElement},S=function(e){return P(e)||D(e)},P=function(e){return"collection"===m(e)&&e._private.single},D=function(e){return"collection"===m(e)&&!e._private.single},T=function(e){return"core"===m(e)},_=function(e){return"stylesheet"===m(e)},M=function(e){return null==e||!(""!==e&&!e.match(/^\s+$/))},B=function(e){return function(e){return null!=e&&r(e)===g}(e)&&x(e.then)},N=function(e,t){t||(t=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var e=[],t=0;tt?1:0},Y=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n255)return;t.push(Math.floor(i))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t}(e)||function(e){var t,n,r,a,i,o,s,l;function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=new RegExp("^"+F+"$").exec(e);if(c){if((n=parseInt(c[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(c[2]))<0||r>100)return;if(r/=100,(a=parseFloat(c[3]))<0||a>100)return;if(a/=100,void 0!==(i=c[4])&&((i=parseFloat(i))<0||i>1))return;if(0===r)o=s=l=Math.round(255*a);else{var d=a<.5?a*(1+r):a+r-a*r,h=2*a-d;o=Math.round(255*u(h,d,n+1/3)),s=Math.round(255*u(h,d,n)),l=Math.round(255*u(h,d,n-1/3))}t=[o,s,l,i]}return t}(e)},W={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]},H=function(e){for(var t=e.map,n=e.keys,r=n.length,a=0;a=t||n<0||d&&e-u>=i}function g(){var e=J();if(f(e))return v(e);s=setTimeout(g,function(e){var n=t-(e-l);return d?Ee(n,i-(e-u)):n}(e))}function v(e){return s=void 0,h&&r?p(e):(r=a=void 0,o)}function y(){var e=J(),n=f(e);if(r=arguments,a=this,l=e,n){if(void 0===s)return function(e){return u=e,s=setTimeout(g,t),c?p(e):o}(l);if(d)return clearTimeout(s),s=setTimeout(g,t),p(l)}return void 0===s&&(s=setTimeout(g,t)),o}return t=xe(t)||0,G(n)&&(c=!!n.leading,i=(d="maxWait"in n)?we(xe(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=a=s=void 0},y.flush=function(){return void 0===s?o:v(J())},y},Ce=h?h.performance:null,Se=Ce&&Ce.now?function(){return Ce.now()}:function(){return Date.now()},Pe=function(){if(h){if(h.requestAnimationFrame)return function(e){h.requestAnimationFrame(e)};if(h.mozRequestAnimationFrame)return function(e){h.mozRequestAnimationFrame(e)};if(h.webkitRequestAnimationFrame)return function(e){h.webkitRequestAnimationFrame(e)};if(h.msRequestAnimationFrame)return function(e){h.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout((function(){e(Se())}),1e3/60)}}(),De=function(e){return Pe(e)},Te=Se,_e=9261,Me=5381,Be=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_e;!(t=e.next()).done;)n=65599*n+t.value|0;return n},Ne=function(e){return 65599*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:_e)+e|0},Ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Me;return(t<<5)+t+e|0},ze=function(e){return 2097152*e[0]+e[1]},Ae=function(e,t){return[Ne(e[0],t[0]),Ie(e[1],t[1])]},Le=function(e,t){var n={value:0,done:!1},r=0,a=e.length;return Be({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},nt=function(e){e.splice(0,e.length)},rt=function(e,t,n){return n&&(t=A(n,t)),e[t]},at=function(e,t,n,r){n&&(t=A(n,t)),e[t]=r},it="undefined"!=typeof Map?Map:function(){function e(){a(this,e),this._obj={}}return o(e,[{key:"set",value:function(e,t){return this._obj[e]=t,this}},{key:"delete",value:function(e){return this._obj[e]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(e){return void 0!==this._obj[e]}},{key:"get",value:function(e){return this._obj[e]}}]),e}(),ot=function(){function e(t){if(a(this,e),this._obj=Object.create(null),this.size=0,null!=t){var n;n=null!=t.instanceString&&t.instanceString()===this.instanceString()?t.toArray():t;for(var r=0;r2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&T(e)){var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===r||"edges"===r){this.length=1,this[0]=this;var a=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new st,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==a.position.x&&(a.position.x=0),null==a.position.y&&(a.position.y=0),t.renderedPosition){var i=t.renderedPosition,o=e.pan(),s=e.zoom();a.position={x:(i.x-o.x)/s,y:(i.y-o.y)/s}}var l=[];w(t.classes)?l=t.classes:b(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,a,i,o){var s;if(null==a&&(a=0),null==o&&(o=n),a<0)throw new Error("lo must be non-negative");for(null==i&&(i=e.length);an;0<=n?t++:t--)u.push(t);return u}.apply(this).reverse()).length;ig;0<=g?++h:--h)v.push(i(e,r));return v},f=function(e,t,r,a){var i,o,s;for(null==a&&(a=n),i=e[r];r>t&&a(i,o=e[s=r-1>>1])<0;)e[r]=o,r=s;return e[r]=i},g=function(e,t,r){var a,i,o,s,l;for(null==r&&(r=n),i=e.length,l=t,o=e[t],a=2*t+1;a0;){var k=y.pop(),C=g(k),S=k.id();if(d[S]=C,C!==1/0)for(var P=k.neighborhood().intersect(p),D=0;D0)for(n.unshift(t);c[a];){var i=c[a];n.unshift(i.edge),n.unshift(i.node),a=(r=i.node).id()}return o.spawn(n)}}}},gt={kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,a=n.length,i=new Array(a),o=n,s=function(e){for(var t=0;t0;){if(l=g.pop(),u=l.id(),v.delete(u),w++,u===d){for(var E=[],k=a,C=d,S=m[C];E.unshift(k),null!=S&&E.unshift(S),null!=(k=y[C]);)S=m[C=k.id()];return{found:!0,distance:h[u],path:this.spawn(E),steps:w}}f[u]=!0;for(var P=l._private.edges,D=0;DD&&(p[P]=D,y[P]=S,m[P]=w),!a){var T=S*u+C;!a&&p[T]>D&&(p[T]=D,y[T]=C,m[T]=w)}}}for(var _=0;_1&&void 0!==arguments[1]?arguments[1]:i,r=[],a=m(e);;){if(null==a)return t.spawn();var o=y(a),l=o.edge,u=o.pred;if(r.unshift(a[0]),a.same(n)&&r.length>0)break;null!=l&&r.unshift(l),a=u}return s.spawn(r)},hasNegativeWeightCycle:f,negativeWeightCycles:g}}},Et=Math.sqrt(2),kt=function(e,t,n){0===n.length&&Ke("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],a=r[1],i=r[2],o=t[a],s=t[i],l=n,u=l.length-1;u>=0;u--){var c=l[u],d=c[1],h=c[2];(t[d]===o&&t[h]===s||t[d]===s&&t[h]===o)&&l.splice(u,1)}for(var p=0;pr;){var a=Math.floor(Math.random()*t.length);t=kt(a,e,t),n--}return t},St={kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy((function(e){return e.isLoop()}));var a=n.length,i=r.length,o=Math.ceil(Math.pow(Math.log(a)/Math.LN2,2)),s=Math.floor(a/Et);if(!(a<2)){for(var l=[],u=0;u0?1:e<0?-1:0},Nt=function(e,t){return Math.sqrt(It(e,t))},It=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},zt=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Vt=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},Ft=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},jt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},qt=function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===i.length)t=n=r=a=i[0];else if(2===i.length)t=r=i[0],a=n=i[1];else if(4===i.length){var o=l(i,4);t=o[0],n=o[1],r=o[2],a=o[3]}return e.x1-=a,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Yt=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},Xt=function(e,t){return!(e.x1>t.x2)&&(!(t.x1>e.x2)&&(!(e.x2t.y2)&&!(t.y1>e.y2)))))))},Wt=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},Ht=function(e,t){return Wt(e,t.x1,t.y1)&&Wt(e,t.x2,t.y2)},Kt=function(e,t,n,r,a,i,o){var s,l,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"auto",c="auto"===u?hn(a,i):u,d=a/2,h=i/2,p=(c=Math.min(c,d,h))!==d,f=c!==h;if(p){var g=r-h-o;if((s=on(e,t,n,r,n-d+c-o,g,n+d-c+o,g,!1)).length>0)return s}if(f){var v=n+d+o;if((s=on(e,t,n,r,v,r-h+c-o,v,r+h-c+o,!1)).length>0)return s}if(p){var y=r+h+o;if((s=on(e,t,n,r,n-d+c-o,y,n+d-c+o,y,!1)).length>0)return s}if(f){var m=n-d-o;if((s=on(e,t,n,r,m,r-h+c-o,m,r+h-c+o,!1)).length>0)return s}var b=n-d+c,x=r-h+c;if((l=rn(e,t,n,r,b,x,c+o)).length>0&&l[0]<=b&&l[1]<=x)return[l[0],l[1]];var w=n+d-c,E=r-h+c;if((l=rn(e,t,n,r,w,E,c+o)).length>0&&l[0]>=w&&l[1]<=E)return[l[0],l[1]];var k=n+d-c,C=r+h-c;if((l=rn(e,t,n,r,k,C,c+o)).length>0&&l[0]>=k&&l[1]>=C)return[l[0],l[1]];var S=n-d+c,P=r+h-c;return(l=rn(e,t,n,r,S,P,c+o)).length>0&&l[0]<=S&&l[1]>=P?[l[0],l[1]]:[]},Gt=function(e,t,n,r,a,i,o){var s=o,l=Math.min(n,a),u=Math.max(n,a),c=Math.min(r,i),d=Math.max(r,i);return l-s<=e&&e<=u+s&&c-s<=t&&t<=d+s},Ut=function(e,t,n,r,a,i,o,s,l){var u=Math.min(n,o,a)-l,c=Math.max(n,o,a)+l,d=Math.min(r,s,i)-l,h=Math.max(r,s,i)+l;return!(ec||th)},Zt=function(e,t,n,r,a,i,o,s){var l=[];!function(e,t,n,r,a){var i,o,s,l,u,c,d,h;0===e&&(e=1e-5),s=-27*(r/=e)+(t/=e)*(9*(n/=e)-t*t*2),i=(o=(3*n-t*t)/9)*o*o+(s/=54)*s,a[1]=0,d=t/3,i>0?(u=(u=s+Math.sqrt(i))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=(c=s-Math.sqrt(i))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),a[0]=-d+u+c,d+=(u+c)/2,a[4]=a[2]=-d,d=Math.sqrt(3)*(-c+u)/2,a[3]=d,a[5]=-d):(a[5]=a[3]=0,0===i?(h=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),a[0]=2*h-d,a[4]=a[2]=-(h+d)):(l=(o=-o)*o*o,l=Math.acos(s/Math.sqrt(l)),h=2*Math.sqrt(o),a[0]=-d+h*Math.cos(l/3),a[2]=-d+h*Math.cos((l+2*Math.PI)/3),a[4]=-d+h*Math.cos((l+4*Math.PI)/3)))}(1*n*n-4*n*a+2*n*o+4*a*a-4*a*o+o*o+r*r-4*r*i+2*r*s+4*i*i-4*i*s+s*s,9*n*a-3*n*n-3*n*o-6*a*a+3*a*o+9*r*i-3*r*r-3*r*s-6*i*i+3*i*s,3*n*n-6*n*a+n*o-n*e+2*a*a+2*a*e-o*e+3*r*r-6*r*i+r*s-r*t+2*i*i+2*i*t-s*t,1*n*a-n*n+n*e-a*e+r*i-r*r+r*t-i*t,l);for(var u=[],c=0;c<6;c+=2)Math.abs(l[c+1])<1e-7&&l[c]>=0&&l[c]<=1&&u.push(l[c]);u.push(1),u.push(0);for(var d,h,p,f=-1,g=0;g=0?pl?(e-a)*(e-a)+(t-i)*(t-i):u-d},Qt=function(e,t,n){for(var r,a,i,o,s=0,l=0;l=e&&e>=i||r<=e&&e<=i))continue;(e-r)/(i-r)*(o-a)+a>t&&s++}return s%2!=0},Jt=function(e,t,n,r,a,i,o,s,l){var u,c=new Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var d,h=Math.cos(-u),p=Math.sin(-u),f=0;f0){var g=tn(c,-l);d=en(g)}else d=c;return Qt(e,t,d)},en=function(e){for(var t,n,r,a,i,o,s,l,u=new Array(e.length/2),c=0;c=0&&f<=1&&v.push(f),g>=0&&g<=1&&v.push(g),0===v.length)return[];var y=v[0]*s[0]+e,m=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,m]:[y,m,v[1]*s[0]+e,v[1]*s[1]+t]:[y,m]},an=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},on=function(e,t,n,r,a,i,o,s,l){var u=e-a,c=n-e,d=o-a,h=t-i,p=r-t,f=s-i,g=d*h-f*u,v=c*h-p*u,y=f*c-d*p;if(0!==y){var m=g/y,b=v/y,x=-.001;return x<=m&&m<=1.001&&x<=b&&b<=1.001||l?[e+m*c,t+m*p]:[]}return 0===g||0===v?an(e,n,o)===o?[o,s]:an(e,n,a)===a?[a,i]:an(a,o,n)===n?[n,r]:[]:[]},sn=function(e,t,n,r,a,i,o,s){var l,u,c,d,h,p,f=[],g=new Array(n.length),v=!0;if(null==i&&(v=!1),v){for(var y=0;y0){var m=tn(g,-s);u=en(m)}else u=g}else u=n;for(var b=0;bu&&(u=t)},d=function(e){return l[e]},h=0;h0?b.edgesTo(m)[0]:m.edgesTo(b)[0];var w=r(x);m=m.id(),h[m]>h[v]+w&&(h[m]=h[v]+w,p.nodes.indexOf(m)<0?p.push(m):p.updateItem(m),u[m]=0,l[m]=[]),h[m]==h[v]+w&&(u[m]=u[m]+u[v],l[m].push(v))}else for(var E=0;E0;){for(var P=n.pop(),D=0;D0&&o.push(n[s]);0!==o.length&&a.push(r.collection(o))}return a}(c,l,t,r);return b=function(e){for(var t=0;t5&&void 0!==arguments[5]?arguments[5]:In,o=r,s=0;s=2?Vn(e,t,n,0,Ln,On):Vn(e,t,n,0,An)},squaredEuclidean:function(e,t,n){return Vn(e,t,n,0,Ln)},manhattan:function(e,t,n){return Vn(e,t,n,0,An)},max:function(e,t,n){return Vn(e,t,n,-1/0,Rn)}};function jn(e,t,n,r,a,i){var o;return o=x(e)?e:Fn[e]||Fn.euclidean,0===t&&x(e)?o(a,i):o(t,n,r,a,i)}Fn["squared-euclidean"]=Fn.squaredEuclidean,Fn.squaredeuclidean=Fn.squaredEuclidean;var qn=et({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Yn=function(e){return qn(e)},Xn=function(e,t,n,r,a){var i="kMedoids"!==a?function(e){return n[e]}:function(e){return r[e](n)},o=n,s=t;return jn(e,r.length,i,(function(e){return r[e](t)}),o,s)},Wn=function(e,t,n){for(var r=n.length,a=new Array(r),i=new Array(r),o=new Array(t),s=null,l=0;ln)return!1}return!0},Zn=function(e,t,n){for(var r=0;ra&&(a=t[l][u],i=u);o[i].push(e[l])}for(var c=0;c=a.threshold||"dendrogram"===a.mode&&1===e.length)return!1;var p,f=t[o],g=t[r[o]];p="dendrogram"===a.mode?{left:f,right:g,key:f.key}:{value:f.value.concat(g.value),key:f.key},e[f.index]=p,e.splice(g.index,1),t[f.key]=p;for(var v=0;vn[g.key][y.key]&&(i=n[g.key][y.key])):"max"===a.linkage?(i=n[f.key][y.key],n[f.key][y.key]1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n0&&e.splice(0,t)):e=e.slice(t,n);for(var i=0,o=e.length-1;o>=0;o--){var s=e[o];a?isFinite(s)||(e[o]=-1/0,i++):e.splice(o,1)}r&&e.sort((function(e,t){return e-t}));var l=e.length,u=Math.floor(l/2);return l%2!=0?e[u+1+i]:(e[u-1+i]+e[u+i])/2}(e):"mean"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,a=0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,a=t;ao&&(i=l,o=t[a*e+l])}i>0&&r.push(i)}for(var u=0;u=D?(T=D,D=M,_=B):M>T&&(T=M);for(var N=0;N0?1:0;C[E%u.minIterations*t+R]=V,O+=V}if(O>0&&(E>=u.minIterations-1||E==u.maxIterations-1)){for(var F=0,j=0;j0&&r.push(a);return r}(t,i,o),X=function(e,t,n){for(var r=fr(e,t,n),a=0;al&&(s=u,l=c)}n[a]=i[s]}return fr(e,t,n)}(t,r,Y),W={},H=0;H1||o>1)&&(u=!0),c[t]=[],e.outgoers().forEach((function(e){e.isEdge()&&c[t].push(e.id())}))}else d[t]=[void 0,e.target().id()]})):l.forEach((function(e){var t=e.id();e.isNode()?(e.degree(!0)%2&&(n?r?u=!0:r=t:n=t),c[t]=[],e.connectedEdges().forEach((function(e){return c[t].push(e.id())}))):d[t]=[e.source().id(),e.target().id()]}));var h={found:!1,trail:void 0};if(u)return h;if(r&&n)if(s){if(a&&r!=a)return h;a=r}else{if(a&&r!=a&&n!=a)return h;a||(a=r)}else a||(a=l[0].id());var p=function(e){for(var t,n,r,a=e,i=[e];c[a].length;)t=c[a].shift(),n=d[t][0],a!=(r=d[t][1])?(c[r]=c[r].filter((function(e){return e!=t})),a=r):s||a==n||(c[n]=c[n].filter((function(e){return e!=t})),a=n),i.unshift(t),i.unshift(a);return i},f=[],g=[];for(g=p(a);1!=g.length;)0==c[g[0]].length?(f.unshift(l.getElementById(g.shift())),f.unshift(l.getElementById(g.shift()))):g=p(g.shift()).concat(g);for(var v in f.unshift(l.getElementById(g.shift())),c)if(c[v].length)return h;return h.found=!0,h.trail=this.spawn(f,!0),h}},br=function(){var e=this,t={},n=0,r=0,a=[],i=[],o={},s=function s(l,u,c){l===c&&(r+=1),t[u]={id:n,low:n++,cutVertex:!1};var d,h,p,f,g=e.getElementById(u).connectedEdges().intersection(e);0===g.size()?a.push(e.spawn(e.getElementById(u))):g.forEach((function(n){d=n.source().id(),h=n.target().id(),(p=d===u?h:d)!==c&&(f=n.id(),o[f]||(o[f]=!0,i.push({x:u,y:p,edge:n})),p in t?t[u].low=Math.min(t[u].low,t[p].id):(s(l,p,u),t[u].low=Math.min(t[u].low,t[p].low),t[u].id<=t[p].low&&(t[u].cutVertex=!0,function(n,r){for(var o=i.length-1,s=[],l=e.spawn();i[o].x!=n||i[o].y!=r;)s.push(i.pop().edge),o--;s.push(i.pop().edge),s.forEach((function(n){var r=n.connectedNodes().intersection(e);l.merge(n),r.forEach((function(n){var r=n.id(),a=n.connectedEdges().intersection(e);l.merge(n),t[r].cutVertex?l.merge(a.filter((function(e){return e.isLoop()}))):l.merge(a)}))})),a.push(l)}(u,p))))}))};e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||(r=0,s(n,n),t[n].cutVertex=r>1)}}));var l=Object.keys(t).filter((function(e){return t[e].cutVertex})).map((function(t){return e.getElementById(t)}));return{cut:e.spawn(l),components:a}},xr=function(){var e=this,t={},n=0,r=[],a=[],i=e.spawn(e),o=function o(s){if(a.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach((function(e){var n=e.target().id();n!==s&&(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))})),t[s].index===t[s].low){for(var l=e.spawn();;){var u=a.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),d=l.merge(c);r.push(d),i=i.difference(d)}};return e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||o(n)}})),{cut:i,components:r}},wr={};[ct,ft,gt,yt,bt,wt,St,vn,mn,xn,En,Nn,nr,cr,vr,mr,{hopcroftTarjanBiconnected:br,htbc:br,htb:br,hopcroftTarjanBiconnectedComponents:br},{tarjanStronglyConnected:xr,tsc:xr,tscc:xr,tarjanStronglyConnectedComponents:xr}].forEach((function(e){Y(wr,e)}));var Er=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};Er.prototype={fulfill:function(e){return kr(this,1,"fulfillValue",e)},reject:function(e){return kr(this,2,"rejectReason",e)},then:function(e,t){var n=this,r=new Er;return n.onFulfilled.push(Pr(e,r,"fulfill")),n.onRejected.push(Pr(t,r,"reject")),Cr(n),r.proxy}};var kr=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,Cr(e)),e},Cr=function(e){1===e.state?Sr(e,"onFulfilled",e.fulfillValue):2===e.state&&Sr(e,"onRejected",e.rejectReason)},Sr=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var a=function(){for(var e=0;e0:void 0}},clearQueue:function(){return function(){var e=this,t=void 0!==e.length?e:[e];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n-1};var ga=function(e,t){var n=this.__data__,r=ca(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function va(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0&&this.spawn(r).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){w(e)||(e=e.match(/\S+/g)||[]);for(var n=this,r=void 0===t,a=[],i=0,o=n.length;i0&&this.spawn(a).updateStyle().emit("class"),n},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};ai.className=ai.classNames=ai.classes;var ii={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:O,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};ii.variable="(?:[\\w-.]|(?:\\\\"+ii.metaChar+"))+",ii.className="(?:[\\w-]|(?:\\\\"+ii.metaChar+"))+",ii.value=ii.string+"|"+ii.number,ii.id=ii.variable,function(){var e,t,n;for(e=ii.comparatorOp.split("|"),n=0;n=0||"="!==t&&(ii.comparatorOp+="|\\!"+t)}();var oi=0,si=1,li=2,ui=3,ci=4,di=5,hi=6,pi=7,fi=8,gi=9,vi=10,yi=11,mi=12,bi=13,xi=14,wi=15,Ei=16,ki=17,Ci=18,Si=19,Pi=20,Di=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort((function(e,t){return function(e,t){return-1*q(e,t)}(e.selector,t.selector)})),Ti=function(){for(var e,t={},n=0;n0&&u.edgeCount>0)return Ue("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return Ue("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&Ue("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return b(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(r,i){var o=r.type,s=r.value;switch(o){case oi:var l=e(s);return l.substring(0,l.length-1);case ui:var u=r.field,c=r.operator;return"["+u+n(e(c))+t(s)+"]";case di:var d=r.operator,h=r.field;return"["+e(d)+h+"]";case ci:return"["+r.field+"]";case hi:var p=r.operator;return"[["+r.field+n(e(p))+t(s)+"]]";case pi:return s;case fi:return"#"+s;case gi:return"."+s;case ki:case wi:return a(r.parent,i)+n(">")+a(r.child,i);case Ci:case Ei:return a(r.ancestor,i)+" "+a(r.descendant,i);case Si:var f=a(r.left,i),g=a(r.subject,i),v=a(r.right,i);return f+(f.length>0?" ":"")+g+v;case Pi:return""}},a=function(e,t){return e.checks.reduce((function(n,a,i){return n+(t===e&&0===i?"$":"")+r(a,t)}),"")},i="",o=0;o1&&o=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(a=o||s?""+e:"",i=""+n),u&&(e=a=a.toLowerCase(),n=i=i.toLowerCase()),t){case"*=":r=a.indexOf(i)>=0;break;case"$=":r=a.indexOf(i,a.length-i.length)>=0;break;case"^=":r=0===a.indexOf(i);break;case"=":r=e===n;break;case">":d=!0,r=e>n;break;case">=":d=!0,r=e>=n;break;case"<":d=!0,r=e0;){var u=a.shift();t(u),i.add(u.id()),o&&r(a,i,u)}return e}function Gi(e,t,n){if(n.isParent())for(var r=n._private.children,a=0;a1&&void 0!==arguments[1])||arguments[1],Gi)},Hi.forEachUp=function(e){return Ki(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ui)},Hi.forEachUpAndDown=function(e){return Ki(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Zi)},Hi.ancestors=Hi.parents,(Yi=Xi={data:ni.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:ni.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:ni.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ni.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:ni.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:ni.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=Yi.data,Yi.removeAttr=Yi.removeData;var $i,Qi,Ji=Xi,eo={};function to(e){return function(t){var n=this;if(void 0===t&&(t=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var r=0,a=n[0],i=a._private.edges,o=0;ot})),minIndegree:no("indegree",(function(e,t){return et})),minOutdegree:no("outdegree",(function(e,t){return et}))}),Y(eo,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0,c=u;u&&(l=l[0]);var d=c?l.position():{x:0,y:0};return a={x:s.x-d.x,y:s.y-d.y},void 0===e?a:a[e]}for(var h=0;h0,v=g;g&&(f=f[0]);var y=v?f.position():{x:0,y:0};void 0!==t?p.position(e,t+y[e]):void 0!==a&&p.position({x:a.x+y.x,y:a.y+y.y})}}else if(!i)return;return this}},$i.modelPosition=$i.point=$i.position,$i.modelPositions=$i.points=$i.positions,$i.renderedPoint=$i.renderedPosition,$i.relativePoint=$i.relativePosition;var io,oo,so=Qi;io=oo={},oo.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),a=n.pan(),i=t.x1*r+a.x,o=t.x2*r+a.x,s=t.y1*r+a.y,l=t.y2*r+a.y;return{x1:i,x2:o,y1:s,y2:l,w:o-i,h:l-s}},oo.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp((function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}})),this):this},oo.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(e){if(e.isParent()){var t=e._private,n=e.children(),r="include"===e.pstyle("compound-sizing-wrt-labels").value,a={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},i=n.boundingBox({includeLabels:r,includeOverlays:!1,useCache:!1}),o=t.position;0!==i.w&&0!==i.h||((i={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue}).x1=o.x-i.w/2,i.x2=o.x+i.w/2,i.y1=o.y-i.h/2,i.y2=o.y+i.h/2);var s=a.width.left.value;"px"===a.width.left.units&&a.width.val>0&&(s=100*s/a.width.val);var l=a.width.right.value;"px"===a.width.right.units&&a.width.val>0&&(l=100*l/a.width.val);var u=a.height.top.value;"px"===a.height.top.units&&a.height.val>0&&(u=100*u/a.height.val);var c=a.height.bottom.value;"px"===a.height.bottom.units&&a.height.val>0&&(c=100*c/a.height.val);var d=y(a.width.val-i.w,s,l),h=d.biasDiff,p=d.biasComplementDiff,f=y(a.height.val-i.h,u,c),g=f.biasDiff,v=f.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(i.w,i.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(i.w,a.width.val),o.x=(-h+i.x1+i.x2+p)/2,t.autoHeight=Math.max(i.h,a.height.val),o.y=(-g+i.y1+i.y2+v)/2}function y(e,t,n){var r=0,a=0,i=t+n;return e>0&&i>0&&(r=t/i*e,a=n/i*e),{biasDiff:r,biasComplementDiff:a}}}for(var r=0;re.x2?r:e.x2,e.y1=ne.y2?a:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},co=function(e,t){return null==t?e:uo(e,t.x1,t.y1,t.x2,t.y2)},ho=function(e,t,n){return rt(e,t,n)},po=function(e,t,n){if(!t.cy().headless()){var r,a,i=t._private,o=i.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,a=o.srcY):"target"===n?(r=o.tgtX,a=o.tgtY):(r=o.midX,a=o.midY);var l=i.arrowBounds=i.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=a-s,u.x2=r+s,u.y2=a+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,jt(u,1),uo(e,u.x1,u.y1,u.x2,u.y2)}}},fo=function(e,t,n){if(!t.cy().headless()){var r;r=n?n+"-":"";var a=t._private,i=a.rstyle;if(t.pstyle(r+"label").strValue){var o,s,l,u,c=t.pstyle("text-halign"),d=t.pstyle("text-valign"),h=ho(i,"labelWidth",n),p=ho(i,"labelHeight",n),f=ho(i,"labelX",n),g=ho(i,"labelY",n),v=t.pstyle(r+"text-margin-x").pfValue,y=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle(r+"text-rotation"),x=t.pstyle("text-outline-width").pfValue,w=t.pstyle("text-border-width").pfValue/2,E=t.pstyle("text-background-padding").pfValue,k=p,C=h,S=C/2,P=k/2;if(m)o=f-S,s=f+S,l=g-P,u=g+P;else{switch(c.value){case"left":o=f-C,s=f;break;case"center":o=f-S,s=f+S;break;case"right":o=f,s=f+C}switch(d.value){case"top":l=g-k,u=g;break;case"center":l=g-P,u=g+P;break;case"bottom":l=g,u=g+k}}var D=v-Math.max(x,w)-E-2,T=v+Math.max(x,w)+E+2,_=y-Math.max(x,w)-E-2,M=y+Math.max(x,w)+E+2;o+=D,s+=T,l+=_,u+=M;var B=n||"main",N=a.labelBounds,I=N[B]=N[B]||{};I.x1=o,I.y1=l,I.x2=s,I.y2=u,I.w=s-o,I.h=u-l,I.leftPad=D,I.rightPad=T,I.topPad=_,I.botPad=M;var z=m&&"autorotate"===b.strValue,A=null!=b.pfValue&&0!==b.pfValue;if(z||A){var L=z?ho(a.rstyle,"labelAngle",n):b.pfValue,O=Math.cos(L),R=Math.sin(L),V=(o+s)/2,F=(l+u)/2;if(!m){switch(c.value){case"left":V=s;break;case"right":V=o}switch(d.value){case"top":F=u;break;case"bottom":F=l}}var j=function(e,t){return{x:(e-=V)*O-(t-=F)*R+V,y:e*R+t*O+F}},q=j(o,l),Y=j(o,u),X=j(s,l),W=j(s,u);o=Math.min(q.x,Y.x,X.x,W.x),s=Math.max(q.x,Y.x,X.x,W.x),l=Math.min(q.y,Y.y,X.y,W.y),u=Math.max(q.y,Y.y,X.y,W.y)}var H=B+"Rot",K=N[H]=N[H]||{};K.x1=o,K.y1=l,K.x2=s,K.y2=u,K.w=s-o,K.h=u-l,uo(e,o,l,s,u),uo(a.labelBounds.all,o,l,s,u)}return e}},go=function(e,t){var n,r,a,i,o,s,l,u=e._private.cy,c=u.styleEnabled(),d=u.headless(),h=Rt(),p=e._private,f=e.isNode(),g=e.isEdge(),v=p.rstyle,y=f&&c?e.pstyle("bounds-expansion").pfValue:[0],m=function(e){return"none"!==e.pstyle("display").value},b=!c||m(e)&&(!g||m(e.source())&&m(e.target()));if(b){var x=0;c&&t.includeOverlays&&0!==e.pstyle("overlay-opacity").value&&(x=e.pstyle("overlay-padding").value);var w=0;c&&t.includeUnderlays&&0!==e.pstyle("underlay-opacity").value&&(w=e.pstyle("underlay-padding").value);var E=Math.max(x,w),k=0;if(c&&(k=e.pstyle("width").pfValue/2),f&&t.includeNodes){var C=e.position();o=C.x,s=C.y;var S=e.outerWidth()/2,P=e.outerHeight()/2;uo(h,n=o-S,a=s-P,r=o+S,i=s+P),c&&t.includeOutlines&&function(e,t){if(!t.cy().headless()){var n,r,a,i=t.pstyle("outline-opacity").value,o=t.pstyle("outline-width").value;if(i>0&&o>0){var s=t.pstyle("outline-offset").value,l=t.pstyle("shape").value,u=o+s,c=(e.w+2*u)/e.w,d=(e.h+2*u)/e.h,h=0;["diamond","pentagon","round-triangle"].includes(l)?(c=(e.w+2.4*u)/e.w,h=-u/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(l)?c=(e.w+2.4*u)/e.w:"star"===l?(c=(e.w+2.8*u)/e.w,d=(e.h+2.6*u)/e.h,h=-u/3.8):"triangle"===l?(c=(e.w+2.8*u)/e.w,d=(e.h+2.4*u)/e.h,h=-u/1.4):"vee"===l&&(c=(e.w+4.4*u)/e.w,d=(e.h+3.8*u)/e.h,h=.5*-u);var p=e.h*d-e.h,f=e.w*c-e.w;if(qt(e,[Math.ceil(p/2),Math.ceil(f/2)]),0!==h){var g=(r=0,a=h,{x1:(n=e).x1+r,x2:n.x2+r,y1:n.y1+a,y2:n.y2+a,w:n.w,h:n.h});Vt(e,g)}}}}(h,e)}else if(g&&t.includeEdges)if(c&&!d){var D=e.pstyle("curve-style").strValue;if(n=Math.min(v.srcX,v.midX,v.tgtX),r=Math.max(v.srcX,v.midX,v.tgtX),a=Math.min(v.srcY,v.midY,v.tgtY),i=Math.max(v.srcY,v.midY,v.tgtY),uo(h,n-=k,a-=k,r+=k,i+=k),"haystack"===D){var T=v.haystackPts;if(T&&2===T.length){if(n=T[0].x,a=T[0].y,n>(r=T[1].x)){var _=n;n=r,r=_}if(a>(i=T[1].y)){var M=a;a=i,i=M}uo(h,n-k,a-k,r+k,i+k)}}else if("bezier"===D||"unbundled-bezier"===D||D.endsWith("segments")||D.endsWith("taxi")){var B;switch(D){case"bezier":case"unbundled-bezier":B=v.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":B=v.linePts}if(null!=B)for(var N=0;N(r=A.x)){var L=n;n=r,r=L}if((a=z.y)>(i=A.y)){var O=a;a=i,i=O}uo(h,n-=k,a-=k,r+=k,i+=k)}if(c&&t.includeEdges&&g&&(po(h,e,"mid-source"),po(h,e,"mid-target"),po(h,e,"source"),po(h,e,"target")),c)if("yes"===e.pstyle("ghost").value){var R=e.pstyle("ghost-offset-x").pfValue,V=e.pstyle("ghost-offset-y").pfValue;uo(h,h.x1+R,h.y1+V,h.x2+R,h.y2+V)}var F=p.bodyBounds=p.bodyBounds||{};Yt(F,h),qt(F,y),jt(F,1),c&&(n=h.x1,r=h.x2,a=h.y1,i=h.y2,uo(h,n-E,a-E,r+E,i+E));var j=p.overlayBounds=p.overlayBounds||{};Yt(j,h),qt(j,y),jt(j,1);var q=p.labelBounds=p.labelBounds||{};null!=q.all?((l=q.all).x1=1/0,l.y1=1/0,l.x2=-1/0,l.y2=-1/0,l.w=0,l.h=0):q.all=Rt(),c&&t.includeLabels&&(t.includeMainLabels&&fo(h,e,null),g&&(t.includeSourceLabels&&fo(h,e,"source"),t.includeTargetLabels&&fo(h,e,"target")))}return h.x1=lo(h.x1),h.y1=lo(h.y1),h.x2=lo(h.x2),h.y2=lo(h.y2),h.w=lo(h.x2-h.x1),h.h=lo(h.y2-h.y1),h.w>0&&h.h>0&&b&&(qt(h,y),jt(h,1)),h},vo=function(e){var t=0,n=function(e){return(e?1:0)<0&&void 0!==arguments[0]?arguments[0]:Lo,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},Ro.removeAllListeners=function(){return this.removeListener("*")},Ro.emit=Ro.trigger=function(e,t,n){var r=this.listeners,a=r.length;return this.emitting++,w(t)||(t=[t]),jo(this,(function(e,i){null!=n&&(r=[{event:i.event,type:i.type,namespace:i.namespace,callback:n}],a=r.length);for(var o=function(n){var a=r[n];if(a.type===i.type&&(!a.namespace||a.namespace===i.namespace||".*"===a.namespace)&&e.eventMatches(e.context,a,i)){var o=[i];null!=t&&function(e,t){for(var n=0;n1&&!r){var a=this.length-1,i=this[a],o=i._private.data.id;this[a]=void 0,this[e]=i,n.set(o,{ele:i,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var a=r.index;return this.unmergeAt(a),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&b(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--){e(this[t])&&this.unmergeAt(t)}return this},map:function(e,t){for(var n=[],r=this,a=0;ar&&(r=s,n=o)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,a=this,i=0;i=0&&a1&&void 0!==arguments[1])||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var a=n._private.style[e];return null!=a?a:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=!1,a=n.style();if(E(e)){var i=e;a.applyBypass(this,i,r),this.emitAndNotify("style")}else if(b(e)){if(void 0===t){var o=this[0];return o?a.getStylePropertyValue(o,e):void 0}a.applyBypass(this,e,t,r),this.emitAndNotify("style")}else if(void 0===e){var s=this[0];return s?a.getRawStyle(s):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=!1,r=t.style(),a=this;if(void 0===e)for(var i=0;i0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),hs.neighbourhood=hs.neighborhood,hs.closedNeighbourhood=hs.closedNeighborhood,hs.openNeighbourhood=hs.openNeighborhood,Y(hs,{source:Wi((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:Wi((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:vs({attr:"source"}),targets:vs({attr:"target"})}),Y(hs,{edgesWith:Wi(ys(),"edgesWith"),edgesTo:Wi(ys({thisIsSrc:!0}),"edgesTo")}),Y(hs,{connectedEdges:Wi((function(e){for(var t=[],n=0;n0);return i},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),hs.componentsOf=hs.components;var bs=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var a=new it,i=!1;if(t){if(t.length>0&&E(t[0])&&!P(t[0])){i=!0;for(var o=[],s=new st,l=0,u=t.length;l0&&void 0!==arguments[0])||arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.cy(),o=i._private,s=[],l=[],u=0,c=a.length;u0){for(var O=e.length===a.length?a:new bs(i,e),R=0;R0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=[],a={},i=n._private.cy;function o(e){var n=a[e.id()];t&&e.removed()||n||(a[e.id()]=!0,e.isNode()?(r.push(e),function(e){for(var t=e._private.edges,n=0;n0&&(e?k.emitAndNotify("remove"):t&&k.emit("remove"));for(var C=0;C=.001?function(t,r){for(var a=0;a<4;++a){var i=h(r,e,n);if(0===i)return r;r-=(d(r,e,n)-t)/i}return r}(t,o):0===l?o:function(t,r,a){var i,o,s=0;do{(i=d(o=r+(a-r)/2,e,n)-t)>0?a=o:r=o}while(Math.abs(i)>1e-7&&++s<10);return o}(t,r,r+a)}var f=!1;function g(){f=!0,e===t&&n===r||function(){for(var t=0;t<11;++t)s[t]=d(t*a,e,n)}()}var v=function(a){return f||g(),e===t&&n===r?a:0===a?0:1===a?1:d(p(a),t,r)};v.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var y="generateBezier("+[e,t,n,r]+")";return v.toString=function(){return y},v}var ks=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var a={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:a.v,dv:e(a)}}function n(n,r){var a={dx:n.v,dv:e(n)},i=t(n,.5*r,a),o=t(n,.5*r,i),s=t(n,r,o),l=1/6*(a.dx+2*(i.dx+o.dx)+s.dx),u=1/6*(a.dv+2*(i.dv+o.dv)+s.dv);return n.x=n.x+l*r,n.v=n.v+u*r,n}return function e(t,r,a){var i,o,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,d=1e-4;for(t=parseFloat(t)||500,r=parseFloat(r)||20,a=a||null,l.tension=t,l.friction=r,o=(i=null!==a)?(c=e(t,r))/a*.016:.016;s=n(s||l,o),u.push(1+s.x),c+=16,Math.abs(s.x)>d&&Math.abs(s.v)>d;);return i?function(e){return u[e*(u.length-1)|0]}:c}}(),Cs=function(e,t,n,r){var a=Es(e,t,n,r);return function(e,t,n){return e+(t-e)*a(n)}},Ss={linear:function(e,t,n){return e+(t-e)*n},ease:Cs(.25,.1,.25,1),"ease-in":Cs(.42,0,1,1),"ease-out":Cs(0,0,.58,1),"ease-in-out":Cs(.42,0,.58,1),"ease-in-sine":Cs(.47,0,.745,.715),"ease-out-sine":Cs(.39,.575,.565,1),"ease-in-out-sine":Cs(.445,.05,.55,.95),"ease-in-quad":Cs(.55,.085,.68,.53),"ease-out-quad":Cs(.25,.46,.45,.94),"ease-in-out-quad":Cs(.455,.03,.515,.955),"ease-in-cubic":Cs(.55,.055,.675,.19),"ease-out-cubic":Cs(.215,.61,.355,1),"ease-in-out-cubic":Cs(.645,.045,.355,1),"ease-in-quart":Cs(.895,.03,.685,.22),"ease-out-quart":Cs(.165,.84,.44,1),"ease-in-out-quart":Cs(.77,0,.175,1),"ease-in-quint":Cs(.755,.05,.855,.06),"ease-out-quint":Cs(.23,1,.32,1),"ease-in-out-quint":Cs(.86,0,.07,1),"ease-in-expo":Cs(.95,.05,.795,.035),"ease-out-expo":Cs(.19,1,.22,1),"ease-in-out-expo":Cs(1,0,0,1),"ease-in-circ":Cs(.6,.04,.98,.335),"ease-out-circ":Cs(.075,.82,.165,1),"ease-in-out-circ":Cs(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return Ss.linear;var r=ks(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":Cs};function Ps(e,t,n,r,a){if(1===r)return n;if(t===n)return n;var i=a(t,n,r);return null==e||((e.roundValue||e.color)&&(i=Math.round(i)),void 0!==e.min&&(i=Math.max(i,e.min)),void 0!==e.max&&(i=Math.min(i,e.max))),i}function Ds(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function Ts(e,t,n,r,a){var i=null!=a?a.type:null;n<0?n=0:n>1&&(n=1);var o=Ds(e,a),s=Ds(t,a);if(k(o)&&k(s))return Ps(i,o,s,n,r);if(w(o)&&w(s)){for(var l=[],u=0;u0?("spring"===d&&h.push(o.duration),o.easingImpl=Ss[d].apply(null,h)):o.easingImpl=Ss[d]}var p,f=o.easingImpl;if(p=0===o.duration?1:(n-l)/o.duration,o.applying&&(p=o.progress),p<0?p=0:p>1&&(p=1),null==o.delay){var g=o.startPosition,v=o.position;if(v&&a&&!e.locked()){var y={};Ms(g.x,v.x)&&(y.x=Ts(g.x,v.x,p,f)),Ms(g.y,v.y)&&(y.y=Ts(g.y,v.y,p,f)),e.position(y)}var m=o.startPan,x=o.pan,w=i.pan,E=null!=x&&r;E&&(Ms(m.x,x.x)&&(w.x=Ts(m.x,x.x,p,f)),Ms(m.y,x.y)&&(w.y=Ts(m.y,x.y,p,f)),e.emit("pan"));var k=o.startZoom,C=o.zoom,S=null!=C&&r;S&&(Ms(k,C)&&(i.zoom=Ot(i.minZoom,Ts(k,C,p,f),i.maxZoom)),e.emit("zoom")),(E||S)&&e.emit("viewport");var P=o.style;if(P&&P.length>0&&a){for(var D=0;D=0;t--){(0,e[t])()}e.splice(0,e.length)},c=i.length-1;c>=0;c--){var d=i[c],h=d._private;h.stopped?(i.splice(c,1),h.hooked=!1,h.playing=!1,h.started=!1,u(h.frames)):(h.playing||h.applying)&&(h.playing&&h.applying&&(h.applying=!1),h.started||Bs(0,d,e),_s(t,d,e,n),h.applying&&(h.applying=!1),u(h.frames),null!=h.step&&h.step(e),d.completed()&&(i.splice(c,1),h.hooked=!1,h.playing=!1,h.started=!1,u(h.completes)),s=!0)}return n||0!==i.length||0!==o.length||r.push(t),s}for(var i=!1,o=0;o0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var Is={animate:ni.animate(),animation:ni.animation(),animated:ni.animated(),clearQueue:ni.clearQueue(),delay:ni.delay(),delayAnimation:ni.delayAnimation(),stop:ni.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender((function(t,n){Ns(n,e)}),t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&De((function(n){Ns(n,e),t()}))}()}}},zs={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&P(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},As=function(e){return b(e)?new Fi(e):e},Ls={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new Oo(zs,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,As(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,As(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,As(t),n),this},once:function(e,t,n){return this.emitter().one(e,As(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};ni.eventAliasesOn(Ls);var Os={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};Os.jpeg=Os.jpg;var Rs={layout:function(e){var t=this;if(null!=e)if(null!=e.name){var n=e.name,r=t.extension("layout",n);if(null!=r){var a;a=b(e.eles)?t.$(e.eles):null!=e.eles?e.eles:t.$();var i=new r(Y({},e,{cy:t,eles:a}));return i}Ke("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Ke("A `name` must be specified to make a layout");else Ke("Layout options must be specified to make a layout")}};Rs.createLayout=Rs.makeLayout=Rs.layout;var Vs={notify:function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();null!=t&&r.merge(t)}else if(n.notificationsEnabled){var a=this.renderer();!this.destroyed()&&a&&a.notify(e,t)}},notifications:function(e){var t=this._private;return void 0===e?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach((function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)}))}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r0;)t.removeChild(t.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach((function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]}))},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};js.invalidateDimensions=js.resize;var qs={collection:function(e,t){return b(e)?this.$(e):S(e)?e.collection():w(e)?(t||(t={}),new bs(this,e,t.unique,t.removed)):new bs(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};qs.elements=qs.filter=qs.$;var Ys={},Xs="t";Ys.apply=function(e){for(var t=this,n=t._private.cy.collection(),r=0;r0;if(h||d&&p){var f=void 0;h&&p||h?f=u.properties:p&&(f=u.mappedProperties);for(var g=0;g1&&(v=1),s.color){var w=a.valueMin[0],E=a.valueMax[0],C=a.valueMin[1],S=a.valueMax[1],P=a.valueMin[2],D=a.valueMax[2],T=null==a.valueMin[3]?1:a.valueMin[3],_=null==a.valueMax[3]?1:a.valueMax[3],M=[Math.round(w+(E-w)*v),Math.round(C+(S-C)*v),Math.round(P+(D-P)*v),Math.round(T+(_-T)*v)];n={bypass:a.bypass,name:a.name,value:M,strValue:"rgb("+M[0]+", "+M[1]+", "+M[2]+")"}}else{if(!s.number)return!1;var B=a.valueMin+(a.valueMax-a.valueMin)*v;n=this.parse(a.name,B,a.bypass,h)}if(!n)return g(),!1;n.mapping=a,a=n;break;case o.data:for(var N=a.field.split("."),I=d.data,z=0;z0&&i>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()})).then((function(){return e.animation({style:s,duration:i,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(e,a),e.emitAndNotify("style"),r.transitioning=!1}))}else r.transitioning&&(this.removeBypasses(e,a),e.emitAndNotify("style"),r.transitioning=!1)},Ys.checkTrigger=function(e,t,n,r,a,i){var o=this.properties[t],s=a(o);null!=s&&s(n,r)&&i(o)},Ys.checkZOrderTrigger=function(e,t,n,r){var a=this;this.checkTrigger(e,t,n,r,(function(e){return e.triggersZOrder}),(function(){a._private.cy.notify("zorder",e)}))},Ys.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,(function(e){return e.triggersBounds}),(function(a){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),!a.triggersBoundsOfParallelBeziers||"curve-style"!==t||"bezier"!==n&&"bezier"!==r||e.parallelEdges().forEach((function(e){e.dirtyBoundingBoxCache()})),!a.triggersBoundsOfConnectedEdges||"display"!==t||"none"!==n&&"none"!==r||e.connectedEdges().forEach((function(e){e.dirtyBoundingBoxCache()}))}))},Ys.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var Ws={applyBypass:function(e,t,n,r){var a=[];if("*"===t||"**"===t){if(void 0!==n)for(var i=0;it.length?i.substr(t.length):""}function s(){n=n.length>r.length?n.substr(r.length):""}for(i=i.replace(/[/][*](\s|.)+?[*][/]/g,"");;){if(i.match(/^\s*$/))break;var l=i.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!l){Ue("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+i);break}t=l[0];var u=l[1];if("core"!==u)if(new Fi(u).invalid){Ue("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),o();continue}var c=l[2],d=!1;n=c;for(var h=[];;){if(n.match(/^\s*$/))break;var p=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!p){Ue("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+c),d=!0;break}r=p[0];var f=p[1],g=p[2];if(this.properties[f])a.parse(f,g)?(h.push({name:f,val:g}),s()):(Ue("Skipping property: Invalid property definition in: "+r),s());else Ue("Skipping property: Invalid property name in: "+r),s()}if(d){o();break}a.selector(u);for(var v=0;v=7&&"d"===t[0]&&(u=new RegExp(s.data.regex).exec(t))){if(n)return!1;var h=s.data;return{name:e,value:u,strValue:""+t,mapped:h,field:u[1],bypass:n}}if(t.length>=10&&"m"===t[0]&&(c=new RegExp(s.mapData.regex).exec(t))){if(n)return!1;if(d.multiple)return!1;var p=s.mapData;if(!d.color&&!d.number)return!1;var f=this.parse(e,c[4]);if(!f||f.mapped)return!1;var g=this.parse(e,c[5]);if(!g||g.mapped)return!1;if(f.pfValue===g.pfValue||f.strValue===g.strValue)return Ue("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+f.strValue+"`"),this.parse(e,f.strValue);if(d.color){var v=f.value,y=g.value;if(!(v[0]!==y[0]||v[1]!==y[1]||v[2]!==y[2]||v[3]!==y[3]&&(null!=v[3]&&1!==v[3]||null!=y[3]&&1!==y[3])))return!1}return{name:e,value:c,strValue:""+t,mapped:p,field:c[1],fieldMin:parseFloat(c[2]),fieldMax:parseFloat(c[3]),valueMin:f.value,valueMax:g.value,bypass:n}}}if(d.multiple&&"multiple"!==r){var m;if(m=l?t.split(/\s+/):w(t)?t:[t],d.evenMultiple&&m.length%2!=0)return null;for(var E=[],C=[],S=[],P="",D=!1,T=0;T0?" ":"")+_.strValue}return d.validate&&!d.validate(E,C)?null:d.singleEnum&&D?1===E.length&&b(E[0])?{name:e,value:E[0],strValue:E[0],bypass:n}:null:{name:e,value:E,pfValue:S,strValue:P,bypass:n,units:C}}var M,B,N=function(){for(var r=0;rd.max||d.strictMax&&t===d.max))return null;var V={name:e,value:t,strValue:""+t+(z||""),units:z,bypass:n};return d.unitless||"px"!==z&&"em"!==z?V.pfValue=t:V.pfValue="px"!==z&&z?this.getEmSizeInPixels()*t:t,"ms"!==z&&"s"!==z||(V.pfValue="ms"===z?t:1e3*t),"deg"!==z&&"rad"!==z||(V.pfValue="rad"===z?t:(M=t,Math.PI*M/180)),"%"===z&&(V.pfValue=t/100),V}if(d.propList){var F=[],j=""+t;if("none"===j);else{for(var q=j.split(/\s*,\s*|\s+/),Y=0;Y0&&l>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:o=(o=(o=Math.min((s-2*t)/n.w,(l-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:o)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,a=r.pan,i=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),k(e)?n=e:E(e)&&(n=e.level,null!=e.position?t=Pt(e.position,i,a):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?i=!0:(t.zoom=s,a.push("zoom"))}if(r&&(!i||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;k(l.x)&&(t.pan.x=l.x,o=!1),k(l.y)&&(t.pan.y=l.y,o=!1),o||a.push("pan")}return a.length>0&&(a.push("viewport"),this.emit(a.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(b(e)){var n=e;e=this.mutableElements().filter(n)}else S(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),a=this.width(),i=this.height();return{x:(a-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(i-t*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container,a=this;return n.sizeCache=n.sizeCache||(r?(e=a.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};tl.centre=tl.center,tl.autolockNodes=tl.autolock,tl.autoungrabifyNodes=tl.autoungrabify;var nl={data:ni.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:ni.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:ni.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ni.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};nl.attr=nl.data,nl.removeAttr=nl.removeData;var rl=function(e){var t=this,n=(e=Y({},e)).container;n&&!C(n)&&C(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{})&&r.cy&&(r.cy.destroy(),r={});var a=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var i=void 0!==h&&void 0!==n&&!e.headless,o=e;o.layout=Y({name:i?"grid":"null"},o.layout),o.renderer=Y({name:i?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:o,elements:new bs(this),listeners:[],aniEles:new bs(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?i:o.styleEnabled,zoom:k(o.zoom)?o.zoom:1,pan:{x:E(o.pan)&&k(o.pan.x)?o.pan.x:0,y:E(o.pan)&&k(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});l.styleEnabled&&t.setStyle([]);var u=Y({},o,o.renderer);t.initRenderer(u);!function(e,t){if(e.some(B))return Tr.all(e).then(t);t(e)}([o.style,o.elements],(function(e){var n=e[0],i=e[1];l.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var a=t.mutableElements();a.length>0&&a.remove(),null!=e&&(E(e)||w(e))&&t.add(e),t.one("layoutready",(function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")})).one("layoutstop",(function(){t.one("done",r),t.emit("done")}));var i=Y({},t._private.options.layout);i.eles=t.elements(),t.layout(i).run()}(i,(function(){t.startAnimationLoop(),l.ready=!0,x(o.ready)&&t.on("ready",o.ready);for(var e=0;e0,u=Rt(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(S(n.roots))e=n.roots;else if(w(n.roots)){for(var c=[],d=0;d0;){var N=_.shift(),I=T(N,M);if(I)N.outgoers().filter((function(e){return e.isNode()&&a.has(e)})).forEach(B);else if(null===I){Ue("Detected double maximal shift for node `"+N.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}D();var z=0;if(n.avoidOverlap)for(var A=0;A0&&y[0].length<=3?l/2:0),d=2*Math.PI/y[r].length*a;return 0===r&&1===y[0].length&&(c=1),{x:G+c*Math.cos(d),y:U+c*Math.sin(d)}}return{x:G+(a+1-(i+1)/2)*o,y:(r+1)*s}})),this};var cl={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function dl(e){this.options=Y({},cl,e)}dl.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,a=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,i=r.nodes().not(":parent");t.sort&&(i=i.sort(t.sort));for(var o,s=Rt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l=s.x1+s.w/2,u=s.y1+s.h/2,c=(void 0===t.sweep?2*Math.PI-2*Math.PI/i.length:t.sweep)/Math.max(1,i.length-1),d=0,h=0;h1&&t.avoidOverlap){d*=1.75;var v=Math.cos(c)-Math.cos(0),y=Math.sin(c)-Math.sin(0),m=Math.sqrt(d*d/(v*v+y*y));o=Math.max(m,o)}return r.nodes().layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*c*(a?1:-1),i=o*Math.cos(r),s=o*Math.sin(r);return{x:l+i,y:u+s}})),this};var hl,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(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function fl(e){this.options=Y({},pl,e)}fl.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,a=t.eles,i=a.nodes().not(":parent"),o=Rt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s=o.x1+o.w/2,l=o.y1+o.h/2,u=[],c=0,d=0;d0)Math.abs(m[0].value-x.value)>=v&&(m=[],y.push(m));m.push(x)}var w=c+t.minNodeSpacing;if(!t.avoidOverlap){var E=y.length>0&&y[0].length>1,k=(Math.min(o.w,o.h)/2-w)/(y.length+E?1:0);w=Math.min(w,k)}for(var C=0,S=0;S1&&t.avoidOverlap){var _=Math.cos(T)-Math.cos(0),M=Math.sin(T)-Math.sin(0),B=Math.sqrt(w*w/(_*_+M*M));C=Math.max(B,C)}P.r=C,C+=w}if(t.equidistant){for(var N=0,I=0,z=0;z=e.numIter)&&(kl(r,e),r.temperature=r.temperature*e.coolingFactor,!(r.temperature=e.animationThreshold&&i(),De(t)):(Al(r,e),s())}()}else{for(;u;)u=o(l),l++;Al(r,e),s()}return this},vl.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},vl.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var yl=function(e,t,n){for(var r=n.eles.edges(),a=n.eles.nodes(),i=Rt(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:a.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:i.w,clientHeight:i.h,boundingBox:i},s=n.eles.components(),l={},u=0;u0){o.graphSet.push(E);for(u=0;ur.count?0:r.graph},bl=function e(t,n,r,a){var i=a.graphSet[r];if(-10)var s=(u=r.nodeOverlap*o)*a/(g=Math.sqrt(a*a+i*i)),l=u*i/g;else{var u,c=Tl(e,a,i),d=Tl(t,-1*a,-1*i),h=d.x-c.x,p=d.y-c.y,f=h*h+p*p,g=Math.sqrt(f);s=(u=(e.nodeRepulsion+t.nodeRepulsion)/f)*h/g,l=u*p/g}e.isLocked||(e.offsetX-=s,e.offsetY-=l),t.isLocked||(t.offsetX+=s,t.offsetY+=l)}},Dl=function(e,t,n,r){if(n>0)var a=e.maxX-t.minX;else a=t.maxX-e.minX;if(r>0)var i=e.maxY-t.minY;else i=t.maxY-e.minY;return a>=0&&i>=0?Math.sqrt(a*a+i*i):0},Tl=function(e,t,n){var r=e.positionX,a=e.positionY,i=e.height||1,o=e.width||1,s=n/t,l=i/o,u={};return 0===t&&0n?(u.x=r,u.y=a+i/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=a-o*n/2/t,u):0=l)?(u.x=r+i*t/2/n,u.y=a+i/2,u):0>n&&(s<=-1*l||s>=l)?(u.x=r-i*t/2/n,u.y=a-i/2,u):u},_l=function(e,t){for(var n=0;n1){var f=t.gravity*d/p,g=t.gravity*h/p;c.offsetX+=f,c.offsetY+=g}}}}},Bl=function(e,t){var n=[],r=0,a=-1;for(n.push.apply(n,e.graphSet[0]),a+=e.graphSet[0].length;r<=a;){var i=n[r++],o=e.idToIndex[i],s=e.layoutNodes[o],l=s.children;if(0n)var a={x:n*e/r,y:n*t/r};else a={x:e,y:t};return a},zl=function e(t,n){var r=t.parentId;if(null!=r){var a=n.layoutNodes[n.idToIndex[r]],i=!1;return(null==a.maxX||t.maxX+a.padRight>a.maxX)&&(a.maxX=t.maxX+a.padRight,i=!0),(null==a.minX||t.minX-a.padLefta.maxY)&&(a.maxY=t.maxY+a.padBottom,i=!0),(null==a.minY||t.minY-a.padTopf&&(d+=p+t.componentSpacing,c=0,h=0,p=0)}}},Ll={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function Ol(e){this.options=Y({},Ll,e)}Ol.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));var i=Rt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===i.h||0===i.w)r.nodes().layoutPositions(this,t,(function(e){return{x:i.x1,y:i.y1}}));else{var o=a.size(),s=Math.sqrt(o*i.h/i.w),l=Math.round(s),u=Math.round(i.w/i.h*s),c=function(e){if(null==e)return Math.min(l,u);Math.min(l,u)==l?l=e:u=e},d=function(e){if(null==e)return Math.max(l,u);Math.max(l,u)==l?l=e:u=e},h=t.rows,p=null!=t.cols?t.cols:t.columns;if(null!=h&&null!=p)l=h,u=p;else if(null!=h&&null==p)l=h,u=Math.ceil(o/l);else if(null==h&&null!=p)u=p,l=Math.ceil(o/u);else if(u*l>o){var f=c(),g=d();(f-1)*g>=o?c(f-1):(g-1)*f>=o&&d(g-1)}else for(;u*l=o?d(y+1):c(v+1)}var m=i.w/u,b=i.h/l;if(t.condense&&(m=0,b=0),t.avoidOverlap)for(var x=0;x=u&&(B=0,M++)},I={},z=0;z(r=$t(e,t,x[w],x[w+1],x[w+2],x[w+3])))return v(n,r),!0}else if("bezier"===i.edgeType||"multibezier"===i.edgeType||"self"===i.edgeType||"compound"===i.edgeType)for(x=i.allpts,w=0;w+5(r=Zt(e,t,x[w],x[w+1],x[w+2],x[w+3],x[w+4],x[w+5])))return v(n,r),!0;m=m||a.source,b=b||a.target;var E=o.getArrowWidth(l,c),k=[{name:"source",x:i.arrowStartX,y:i.arrowStartY,angle:i.srcArrowAngle},{name:"target",x:i.arrowEndX,y:i.arrowEndY,angle:i.tgtArrowAngle},{name:"mid-source",x:i.midX,y:i.midY,angle:i.midsrcArrowAngle},{name:"mid-target",x:i.midX,y:i.midY,angle:i.midtgtArrowAngle}];for(w=0;w0&&(y(m),y(b))}function b(e,t,n){return rt(e,t,n)}function x(n,r){var a,i=n._private,o=f;a=r?r+"-":"",n.boundingBox();var s=i.labelBounds[r||"main"],l=n.pstyle(a+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var u=b(i.rscratch,"labelX",r),c=b(i.rscratch,"labelY",r),d=b(i.rscratch,"labelAngle",r),h=n.pstyle(a+"text-margin-x").pfValue,p=n.pstyle(a+"text-margin-y").pfValue,g=s.x1-o-h,y=s.x2+o-h,m=s.y1-o-p,x=s.y2+o-p;if(d){var w=Math.cos(d),E=Math.sin(d),k=function(e,t){return{x:(e-=u)*w-(t-=c)*E+u,y:e*E+t*w+c}},C=k(g,m),S=k(g,x),P=k(y,m),D=k(y,x),T=[C.x+h,C.y+p,P.x+h,P.y+p,D.x+h,D.y+p,S.x+h,S.y+p];if(Qt(e,t,T))return v(n),!0}else if(Wt(s,e,t))return v(n),!0}}n&&(l=l.interactive);for(var w=l.length-1;w>=0;w--){var E=l[w];E.isNode()?y(E)||x(E):m(E)||x(E)||x(E,"source")||x(E,"target")}return u},getAllInBox:function(e,t,n,r){for(var a,i,o=this.getCachedZSortedEles().interactive,s=[],l=Math.min(e,n),u=Math.max(e,n),c=Math.min(t,r),d=Math.max(t,r),h=Rt({x1:e=l,y1:t=c,x2:n=u,y2:r=d}),p=0;p0?-(Math.PI-i.ang):Math.PI+i.ang),vu(t,n,gu),Jl=fu.nx*gu.ny-fu.ny*gu.nx,eu=fu.nx*gu.nx-fu.ny*-gu.ny,ru=Math.asin(Math.max(-1,Math.min(1,Jl))),Math.abs(ru)<1e-6)return $l=t.x,Ql=t.y,void(iu=su=0);tu=1,nu=!1,eu<0?ru<0?ru=Math.PI+ru:(ru=Math.PI-ru,tu=-1,nu=!0):ru>0&&(tu=-1,nu=!0),su=void 0!==t.radius?t.radius:r,au=ru/2,lu=Math.min(fu.len/2,gu.len/2),a?(ou=Math.abs(Math.cos(au)*su/Math.sin(au)))>lu?(ou=lu,iu=Math.abs(ou*Math.sin(au)/Math.cos(au))):iu=su:(ou=Math.min(lu,su),iu=Math.abs(ou*Math.sin(au)/Math.cos(au))),du=t.x+gu.nx*ou,hu=t.y+gu.ny*ou,$l=du-gu.ny*iu*tu,Ql=hu+gu.nx*iu*tu,uu=t.x+fu.nx*ou,cu=t.y+fu.ny*ou,pu=t};function mu(e,t){0===t.radius?e.lineTo(t.cx,t.cy):e.arc(t.cx,t.cy,t.radius,t.startAngle,t.endAngle,t.counterClockwise)}function bu(e,t,n,r){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return 0===r||0===t.radius?{cx:t.x,cy:t.y,radius:0,startX:t.x,startY:t.y,stopX:t.x,stopY:t.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(yu(e,t,n,r,a),{cx:$l,cy:Ql,radius:iu,startX:uu,startY:cu,stopX:du,stopY:hu,startAngle:fu.ang+Math.PI/2*tu,endAngle:gu.ang-Math.PI/2*tu,counterClockwise:nu})}var xu={};function wu(e){var t=[];if(null!=e){for(var n=0;n0?Math.max(e-t,0):Math.min(e+t,0)},D=P(C,E),T=P(S,k),_=!1;"auto"===v?g=Math.abs(D)>Math.abs(T)?a:r:v===l||v===s?(g=r,_=!0):v!==i&&v!==o||(g=a,_=!0);var M,B=g===r,N=B?T:D,I=B?S:C,z=Bt(I),A=!1;(_&&(m||x)||!(v===s&&I<0||v===l&&I>0||v===i&&I>0||v===o&&I<0)||(N=(z*=-1)*Math.abs(N),A=!0),m)?M=(b<0?1+b:b)*N:M=(b<0?N:0)+b*z;var L=function(e){return Math.abs(e)=Math.abs(N)},O=L(M),R=L(Math.abs(N)-Math.abs(M));if((O||R)&&!A)if(B){var V=Math.abs(I)<=d/2,F=Math.abs(C)<=h/2;if(V){var j=(u.x1+u.x2)/2,q=u.y1,Y=u.y2;n.segpts=[j,q,j,Y]}else if(F){var X=(u.y1+u.y2)/2,W=u.x1,H=u.x2;n.segpts=[W,X,H,X]}else n.segpts=[u.x1,u.y2]}else{var K=Math.abs(I)<=c/2,G=Math.abs(S)<=p/2;if(K){var U=(u.y1+u.y2)/2,Z=u.x1,$=u.x2;n.segpts=[Z,U,$,U]}else if(G){var Q=(u.x1+u.x2)/2,J=u.y1,ee=u.y2;n.segpts=[Q,J,Q,ee]}else n.segpts=[u.x2,u.y1]}else if(B){var te=u.y1+M+(f?d/2*z:0),ne=u.x1,re=u.x2;n.segpts=[ne,te,re,te]}else{var ae=u.x1+M+(f?c/2*z:0),ie=u.y1,oe=u.y2;n.segpts=[ae,ie,ae,oe]}if(n.isRound){var se=e.pstyle("taxi-radius").value,le="arc-radius"===e.pstyle("radius-type").value[0];n.radii=new Array(n.segpts.length/2).fill(se),n.isArcRadius=new Array(n.segpts.length/2).fill(le)}},xu.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,a=t.tgtPos,i=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,d=t.srcCornerRadius,h=t.tgtCornerRadius,p=t.srcRs,f=t.tgtRs,g=!k(n.startX)||!k(n.startY),v=!k(n.arrowStartX)||!k(n.arrowStartY),y=!k(n.endX)||!k(n.endY),m=!k(n.arrowEndX)||!k(n.arrowEndY),b=3*(this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth),x=Nt({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=xh.poolIndex()){var p=d;d=h,h=p}var f=s.srcPos=d.position(),g=s.tgtPos=h.position(),v=s.srcW=d.outerWidth(),y=s.srcH=d.outerHeight(),m=s.tgtW=h.outerWidth(),b=s.tgtH=h.outerHeight(),x=s.srcShape=n.nodeShapes[t.getNodeShape(d)],w=s.tgtShape=n.nodeShapes[t.getNodeShape(h)],E=s.srcCornerRadius="auto"===d.pstyle("corner-radius").value?"auto":d.pstyle("corner-radius").pfValue,C=s.tgtCornerRadius="auto"===h.pstyle("corner-radius").value?"auto":h.pstyle("corner-radius").pfValue,S=s.tgtRs=h._private.rscratch,P=s.srcRs=d._private.rscratch;s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var D=0;D0){var H=u,K=It(H,Tt(t)),G=It(H,Tt(W)),U=K;if(G2)It(H,{x:W[2],y:W[3]})0){var le=c,ue=It(le,Tt(t)),ce=It(le,Tt(se)),de=ue;if(ce2)It(le,{x:se[2],y:se[3]})=u||m){c={cp:g,segment:y};break}}if(c)break}var b=c.cp,x=c.segment,w=(u-h)/x.length,E=x.t1-x.t0,k=s?x.t0+E*w:x.t1-E*w;k=Ot(0,k,1),t=Lt(b.p0,b.p1,b.p2,k),a=function(e,t,n,r){var a=Ot(0,r-.001,1),i=Ot(0,r+.001,1),o=Lt(e,t,n,a),s=Lt(e,t,n,i);return Du(o,s)}(b.p0,b.p1,b.p2,k);break;case"straight":case"segments":case"haystack":for(var C,S,P,D,T=0,_=r.allpts.length,M=0;M+3<_&&(s?(P={x:r.allpts[M],y:r.allpts[M+1]},D={x:r.allpts[M+2],y:r.allpts[M+3]}):(P={x:r.allpts[_-2-M],y:r.allpts[_-1-M]},D={x:r.allpts[_-4-M],y:r.allpts[_-3-M]}),S=T,!((T+=C=Nt(P,D))>=u));M+=2);var B=(u-S)/C;B=Ot(0,B,1),t=function(e,t,n,r){var a=t.x-e.x,i=t.y-e.y,o=Nt(e,t),s=a/o,l=i/o;return n=null==n?0:n,r=null!=r?r:n*o,{x:e.x+s*r,y:e.y+l*r}}(P,D,B),a=Du(P,D)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,a)}};u("source"),u("target"),this.applyLabelDimensions(e)}},Su.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Su.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),a=this.calculateLabelDimensions(e,r),i=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=rt(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=a.height/l,c=u*i,d=a.width,h=a.height+(l-1)*(i-1)*u;at(n.rstyle,"labelWidth",t,d),at(n.rscratch,"labelWidth",t,d),at(n.rstyle,"labelHeight",t,h),at(n.rscratch,"labelHeight",t,h),at(n.rscratch,"labelLineHeight",t,c)},Su.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",a=e.pstyle(r+"label").strValue,i=e.pstyle("text-transform").value,o=function(e,r){return r?(at(n.rscratch,e,t,r),r):rt(n.rscratch,e,t)};if(!a)return"";"none"==i||("uppercase"==i?a=a.toUpperCase():"lowercase"==i&&(a=a.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=a.split("\n"),c=e.pstyle("text-max-width").pfValue,h="anywhere"===e.pstyle("text-overflow-wrap").value,p=[],f=/[\s\u200b]+|$/g,g=0;gc){var b,x="",w=0,E=d(v.matchAll(f));try{for(E.s();!(b=E.n()).done;){var k=b.value,C=k[0],S=v.substring(w,k.index);w=k.index+C.length;var P=0===x.length?S:x+S+C;this.calculateLabelDimensions(e,P).width<=c?x+=S+C:(x&&p.push(x),x=S+C)}}catch(B){E.e(B)}finally{E.f()}x.match(/^[\s\u200b]+$/)||p.push(x)}else p.push(v)}o("labelWrapCachedLines",p),a=o("labelWrapCachedText",p.join("\n")),o("labelWrapKey",l)}else if("ellipsis"===s){var D=e.pstyle("text-max-width").pfValue,T="",_=!1;if(this.calculateLabelDimensions(e,a).widthD)break;T+=a[M],M===a.length-1&&(_=!0)}return _||(T+="\u2026"),T}return a},Su.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Su.calculateLabelDimensions=function(e,t){var n=this,r=n.cy.window().document,a=Le(t,e._private.labelDimsKey),i=n.labelDimCache||(n.labelDimCache=[]),o=i[a];if(null!=o)return o;var s=e.pstyle("font-style").strValue,l=e.pstyle("font-size").pfValue,u=e.pstyle("font-family").strValue,c=e.pstyle("font-weight").strValue,d=this.labelCalcCanvas,h=this.labelCalcCanvasContext;if(!d){d=this.labelCalcCanvas=r.createElement("canvas"),h=this.labelCalcCanvasContext=d.getContext("2d");var p=d.style;p.position="absolute",p.left="-9999px",p.top="-9999px",p.zIndex="-1",p.visibility="hidden",p.pointerEvents="none"}h.font="".concat(s," ").concat(c," ").concat(l,"px ").concat(u);for(var f=0,g=0,v=t.split("\n"),y=0;y1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var r=0;r=e.desktopTapThreshold2}var D=a(t);v&&(e.hoverData.tapholdCancelled=!0);n=!0,r(g,["mousemove","vmousemove","tapdrag"],t,{x:c[0],y:c[1]});var T=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:c[0],y:c[1]}}),f[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(v){var _={originalEvent:t,type:"cxtdrag",position:{x:c[0],y:c[1]}};b?b.emit(_):o.emit(_),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&g===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.hoverData.cxtOver=g,g&&g.emit({originalEvent:t,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}}else if(e.hoverData.dragging){if(n=!0,o.panningEnabled()&&o.userPanningEnabled()){var M;if(e.hoverData.justStartedPan){var B=e.hoverData.mdownPos;M={x:(c[0]-B[0])*s,y:(c[1]-B[1])*s},e.hoverData.justStartedPan=!1}else M={x:x[0]*s,y:x[1]*s};o.panBy(M),o.emit("dragpan"),e.hoverData.dragged=!0}c=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=f[4]||null!=b&&!b.pannable()){if(b&&b.pannable()&&b.active()&&b.unactivate(),b&&b.grabbed()||g==y||(y&&r(y,["mouseout","tapdragout"],t,{x:c[0],y:c[1]}),g&&r(g,["mouseover","tapdragover"],t,{x:c[0],y:c[1]}),e.hoverData.last=g),b)if(v){if(o.boxSelectionEnabled()&&D)b&&b.grabbed()&&(d(w),b.emit("freeon"),w.emit("free"),e.dragData.didDrag&&(b.emit("dragfreeon"),w.emit("dragfree"))),T();else if(b&&b.grabbed()&&e.nodeIsDraggable(b)){var N=!e.dragData.didDrag;N&&e.redrawHint("eles",!0),e.dragData.didDrag=!0,e.hoverData.draggingEles||u(w,{inDragLayer:!0});var I={x:0,y:0};if(k(x[0])&&k(x[1])&&(I.x+=x[0],I.y+=x[1],N)){var z=e.hoverData.dragDelta;z&&k(z[0])&&k(z[1])&&(I.x+=z[0],I.y+=z[1])}e.hoverData.draggingEles=!0,w.silentShift(I).emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else!function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(x[0]),t.push(x[1])):(t[0]+=x[0],t[1]+=x[1])}();n=!0}else if(v){if(e.hoverData.dragging||!o.boxSelectionEnabled()||!D&&o.panningEnabled()&&o.userPanningEnabled()){if(!e.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()){i(b,e.hoverData.downs)&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,f[4]=0,e.data.bgActivePosistion=Tt(h),e.redrawHint("select",!0),e.redraw())}}else T();b&&b.pannable()&&b.active()&&b.unactivate()}return f[2]=c[0],f[3]=c[1],n?(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),!1):void 0}}),!1),e.registerBinding(t,"mouseup",(function(t){if((1!==e.hoverData.which||1===t.which||!e.hoverData.capture)&&e.hoverData.capture){e.hoverData.capture=!1;var i=e.cy,o=e.projectIntoViewport(t.clientX,t.clientY),s=e.selection,l=e.findNearestElement(o[0],o[1],!0,!1),u=e.dragData.possibleDragElements,c=e.hoverData.down,h=a(t);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,c&&c.unactivate(),3===e.hoverData.which){var p={originalEvent:t,type:"cxttapend",position:{x:o[0],y:o[1]}};if(c?c.emit(p):i.emit(p),!e.hoverData.cxtDragged){var f={originalEvent:t,type:"cxttap",position:{x:o[0],y:o[1]}};c?c.emit(f):i.emit(f)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(r(l,["mouseup","tapend","vmouseup"],t,{x:o[0],y:o[1]}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||(r(c,["click","tap","vclick"],t,{x:o[0],y:o[1]}),x=!1,t.timeStamp-w<=i.multiClickDebounceTime()?(b&&clearTimeout(b),x=!0,w=null,r(c,["dblclick","dbltap","vdblclick"],t,{x:o[0],y:o[1]})):(b=setTimeout((function(){x||r(c,["oneclick","onetap","voneclick"],t,{x:o[0],y:o[1]})}),i.multiClickDebounceTime()),w=t.timeStamp)),null!=c||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||a(t)||(i.$(n).unselect(["tapunselect"]),u.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=u=i.collection()),l!=c||e.dragData.didDrag||e.hoverData.selecting||null!=l&&l._private.selectable&&(e.hoverData.dragging||("additive"===i.selectionType()||h?l.selected()?l.unselect(["tapunselect"]):l.select(["tapselect"]):h||(i.$(n).unmerge(l).unselect(["tapunselect"]),l.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var g=i.collection(e.getAllInBox(s[0],s[1],s[2],s[3]));e.redrawHint("select",!0),g.length>0&&e.redrawHint("eles",!0),i.emit({type:"boxend",originalEvent:t,position:{x:o[0],y:o[1]}});var v=function(e){return e.selectable()&&!e.selected()};"additive"===i.selectionType()||h||i.$(n).unmerge(g).unselect(),g.emit("box").stdFilter(v).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!s[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var y=c&&c.grabbed();d(u),y&&(c.emit("freeon"),u.emit("free"),e.dragData.didDrag&&(c.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null,e.hoverData.which=null}}),!1);var C,S,P,D,T,_,M,B,N,I,z,A,L,O=function(t){if(!e.scrollingPage){var n=e.cy,r=n.zoom(),a=n.pan(),i=e.projectIntoViewport(t.clientX,t.clientY),o=[i[0]*r+a.x,i[1]*r+a.y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4])t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),s=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,s*=e.wheelSensitivity,1===t.deltaMode&&(s*=33);var l=n.zoom()*Math.pow(10,s);"gesturechange"===t.type&&(l=e.gestureStartZoom*t.scale),n.zoom({level:l,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===t.type?"pinchzoom":"scrollzoom")}}};e.registerBinding(e.container,"wheel",O,!0),e.registerBinding(t,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"gesturestart",(function(t){e.gestureStartZoom=e.cy.zoom(),e.hasTouchStarted||t.preventDefault()}),!0),e.registerBinding(e.container,"gesturechange",(function(t){e.hasTouchStarted||O(t)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var R,V,F,j,q,Y,X,W=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},H=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",R=function(t){if(e.hasTouchStarted=!0,m(t)){p(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var n=e.cy,a=e.touchData.now,i=e.touchData.earlier;if(t.touches[0]){var o=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);a[0]=o[0],a[1]=o[1]}if(t.touches[1]){o=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY);a[2]=o[0],a[3]=o[1]}if(t.touches[2]){o=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY);a[4]=o[0],a[5]=o[1]}if(t.touches[1]){e.touchData.singleTouchMoved=!0,d(e.dragData.touchDragEles);var l=e.findContainerClientCoords();N=l[0],I=l[1],z=l[2],A=l[3],C=t.touches[0].clientX-N,S=t.touches[0].clientY-I,P=t.touches[1].clientX-N,D=t.touches[1].clientY-I,L=0<=C&&C<=z&&0<=P&&P<=z&&0<=S&&S<=A&&0<=D&&D<=A;var h=n.pan(),f=n.zoom();T=W(C,S,P,D),_=H(C,S,P,D),B=[((M=[(C+P)/2,(S+D)/2])[0]-h.x)/f,(M[1]-h.y)/f];if(_<4e4&&!t.touches[2]){var g=e.findNearestElement(a[0],a[1],!0,!0),v=e.findNearestElement(a[2],a[3],!0,!0);return g&&g.isNode()?(g.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:a[0],y:a[1]}}),e.touchData.start=g):v&&v.isNode()?(v.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:a[0],y:a[1]}}),e.touchData.start=v):n.emit({originalEvent:t,type:"cxttapstart",position:{x:a[0],y:a[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(t.touches[2])n.boxSelectionEnabled()&&t.preventDefault();else if(t.touches[1]);else if(t.touches[0]){var y=e.findNearestElements(a[0],a[1],!0,!0),b=y[0];if(null!=b&&(b.activate(),e.touchData.start=b,e.touchData.starts=y,e.nodeIsGrabbable(b))){var x=e.dragData.touchDragEles=n.collection(),w=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),b.selected()?(w=n.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),u(w,{addToList:x})):c(b,{addToList:x}),s(b);var E=function(e){return{originalEvent:t,type:e,position:{x:a[0],y:a[1]}}};b.emit(E("grabon")),w?w.forEach((function(e){e.emit(E("grab"))})):b.emit(E("grab"))}r(b,["touchstart","tapstart","vmousedown"],t,{x:a[0],y:a[1]}),null==b&&(e.data.bgActivePosistion={x:o[0],y:o[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||r(e.touchData.start,["taphold"],t,{x:a[0],y:a[1]})}),e.tapholdDuration)}if(t.touches.length>=1){for(var k=e.touchData.startPosition=[null,null,null,null,null,null],O=0;O=e.touchTapThreshold2}if(n&&e.touchData.cxt){t.preventDefault();var w=t.touches[0].clientX-N,E=t.touches[0].clientY-I,M=t.touches[1].clientX-N,z=t.touches[1].clientY-I,A=H(w,E,M,z);if(A/_>=2.25||A>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var O={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(O),e.touchData.start=null):o.emit(O)}}if(n&&e.touchData.cxt){O={originalEvent:t,type:"cxtdrag",position:{x:s[0],y:s[1]}};e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(O):o.emit(O),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var R=e.findNearestElement(s[0],s[1],!0,!0);e.touchData.cxtOver&&R===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:s[0],y:s[1]}}),e.touchData.cxtOver=R,R&&R.emit({originalEvent:t,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(n&&t.touches[2]&&o.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:s[0],y:s[1]}}),e.touchData.selecting=!0,e.touchData.didSelect=!0,a[4]=1,a&&0!==a.length&&void 0!==a[0]?(a[2]=(s[0]+s[2]+s[4])/3,a[3]=(s[1]+s[3]+s[5])/3):(a[0]=(s[0]+s[2]+s[4])/3,a[1]=(s[1]+s[3]+s[5])/3,a[2]=(s[0]+s[2]+s[4])/3+1,a[3]=(s[1]+s[3]+s[5])/3+1),e.redrawHint("select",!0),e.redraw();else if(n&&t.touches[1]&&!e.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var V=0;V0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(t,"touchcancel",F=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(t,"touchend",j=function(t){var a=e.touchData.start;if(e.touchData.capture){0===t.touches.length&&(e.touchData.capture=!1),t.preventDefault();var i=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,s=e.cy,l=s.zoom(),u=e.touchData.now,c=e.touchData.earlier;if(t.touches[0]){var h=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);u[0]=h[0],u[1]=h[1]}if(t.touches[1]){h=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY);u[2]=h[0],u[3]=h[1]}if(t.touches[2]){h=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY);u[4]=h[0],u[5]=h[1]}if(a&&a.unactivate(),e.touchData.cxt){if(o={originalEvent:t,type:"cxttapend",position:{x:u[0],y:u[1]}},a?a.emit(o):s.emit(o),!e.touchData.cxtDragged){var p={originalEvent:t,type:"cxttap",position:{x:u[0],y:u[1]}};a?a.emit(p):s.emit(p)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!t.touches[2]&&s.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var f=s.collection(e.getAllInBox(i[0],i[1],i[2],i[3]));i[0]=void 0,i[1]=void 0,i[2]=void 0,i[3]=void 0,i[4]=0,e.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:t,position:{x:u[0],y:u[1]}});f.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),f.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=a&&a.unactivate(),t.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(t.touches[1]);else if(t.touches[0]);else if(!t.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var g=e.dragData.touchDragEles;if(null!=a){var v=a._private.grabbed;d(g),e.redrawHint("drag",!0),e.redrawHint("eles",!0),v&&(a.emit("freeon"),g.emit("free"),e.dragData.didDrag&&(a.emit("dragfreeon"),g.emit("dragfree"))),r(a,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]}),a.unactivate(),e.touchData.start=null}else{var y=e.findNearestElement(u[0],u[1],!0,!0);r(y,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]})}var m=e.touchData.startPosition[0]-u[0],b=m*m,x=e.touchData.startPosition[1]-u[1],w=(b+x*x)*l*l;e.touchData.singleTouchMoved||(a||s.$(":selected").unselect(["tapunselect"]),r(a,["tap","vclick"],t,{x:u[0],y:u[1]}),q=!1,t.timeStamp-X<=s.multiClickDebounceTime()?(Y&&clearTimeout(Y),q=!0,X=null,r(a,["dbltap","vdblclick"],t,{x:u[0],y:u[1]})):(Y=setTimeout((function(){q||r(a,["onetap","voneclick"],t,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),X=t.timeStamp)),null!=a&&!e.dragData.didDrag&&a._private.selectable&&w2){for(var p=[c[0],c[1]],f=Math.pow(p[0]-e,2)+Math.pow(p[1]-t,2),g=1;g0)return g[0]}return null},p=Object.keys(d),f=0;f0?u:Kt(a,i,e,t,n,r,o,s)},checkPoint:function(e,t,n,r,a,i,o,s){var l=2*(s="auto"===s?hn(r,a):s);if(Jt(e,t,this.points,i,o,r,a-l,[0,-1],n))return!0;if(Jt(e,t,this.points,i,o,r-l,a,[0,-1],n))return!0;var u=r/2+2*n,c=a/2+2*n;return!!Qt(e,t,[i-u,o-c,i-u,o,i+u,o,i+u,o-c])||(!!nn(e,t,l,l,i+r/2-s,o+a/2-s,n)||!!nn(e,t,l,l,i-r/2+s,o+a/2-s,n))}}},Au.registerNodeShapes=function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",un(3,0)),this.generateRoundPolygon("round-triangle",un(3,0)),this.generatePolygon("rectangle",un(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",un(5,0)),this.generateRoundPolygon("round-pentagon",un(5,0)),this.generatePolygon("hexagon",un(6,0)),this.generateRoundPolygon("round-hexagon",un(6,0)),this.generatePolygon("heptagon",un(7,0)),this.generateRoundPolygon("round-heptagon",un(7,0)),this.generatePolygon("octagon",un(8,0)),this.generateRoundPolygon("round-octagon",un(8,0));var r=new Array(20),a=dn(5,0),i=dn(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s=e.deqFastCost*g)break}else if(a){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(f>=e.deqNoDrawCost*Fu)break;var v=e.deq(t,d,c);if(!(v.length>0))break;for(var y=0;y0&&(e.onDeqd(t,u),!a&&e.shouldRedraw(t,u,d,c)&&r())}),a(t))}}},qu=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xe;a(this,e),this.idsByKey=new it,this.keyForId=new it,this.cachesByLvl=new it,this.lvls=[],this.getKey=t,this.doesEleInvalidateKey=n}return o(e,[{key:"getIdsFor",value:function(e){null==e&&Ke("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new st,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new it,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),Yu={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},Xu=et({getKey:null,doesEleInvalidateKey:Xe,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:Ye,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Wu=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var r=Xu(t);Y(n,r),n.lookup=new qu(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},Hu=Wu.prototype;Hu.reasons=Yu,Hu.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},Hu.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},Hu.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new ht((function(e,t){return t.reqs-e.reqs}))},Hu.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},Hu.getElement=function(e,t,n,r,a){var i=this,o=this.renderer,s=o.cy.zoom(),l=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed())return null;if(!i.allowEdgeTxrCaching&&e.isEdge()||!i.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(Mt(s*n))),r<-4)r=-4;else if(s>=7.99||r>3)return null;var u=Math.pow(2,r),c=t.h*u,d=t.w*u,h=o.eleTextBiggerThanMin(e,u);if(!this.isVisible(e,h))return null;var p,f=l.get(e,r);if(f&&f.invalidated&&(f.invalidated=!1,f.texture.invalidatedWidth-=f.width),f)return f;if(p=c<=25?25:c<=50?50:50*Math.ceil(c/50),c>1024||d>1024)return null;var g=i.getTextureQueue(p),v=g[g.length-2],y=function(){return i.recycleTexture(p,d)||i.addTexture(p,d)};v||(v=g[g.length-1]),v||(v=y()),v.width-v.usedWidthr;D--)S=i.getElement(e,t,n,D,Yu.downscale);P()}else{var T;if(!x&&!w&&!E)for(var _=r-1;_>=-4;_--){var M=l.get(e,_);if(M){T=M;break}}if(b(T))return i.queueElement(e,r),T;v.context.translate(v.usedWidth,0),v.context.scale(u,u),this.drawElement(v.context,e,t,h,!1),v.context.scale(1/u,1/u),v.context.translate(-v.usedWidth,0)}return f={x:v.usedWidth,texture:v,level:r,scale:u,width:d,height:c,scaledLabelShown:h},v.usedWidth+=Math.ceil(d+8),v.eleCaches.push(f),l.set(e,r,f),i.checkTextureFullness(v),f},Hu.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},Hu.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?tt(t,e):e.fullnessChecks++},Hu.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;tt(n,e),e.retired=!0;for(var a=e.eleCaches,i=0;i=t)return i.retired=!1,i.usedWidth=0,i.invalidatedWidth=0,i.fullnessChecks=0,nt(i.eleCaches),i.context.setTransform(1,0,0,1,0,0),i.context.clearRect(0,0,i.width,i.height),tt(r,i),n.push(i),i}},Hu.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),a=this.getKey(e),i=r[a];if(i)i.level=Math.max(i.level,t),i.eles.merge(e),i.reqs++,n.updateItem(i);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:a};n.push(o),r[a]=o}},Hu.dequeue=function(e){for(var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),a=[],i=t.lookup,o=0;o<1&&n.size()>0;o++){var s=n.pop(),l=s.key,u=s.eles[0],c=i.hasCache(u,s.level);if(r[l]=null,!c){a.push(s);var d=t.getBoundingBox(u);t.getElement(u,d,e,s.level,Yu.dequeue)}}return a},Hu.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),a=n[r];null!=a&&(1===a.eles.length?(a.reqs=qe,t.updateItem(a),t.pop(),n[r]=null):a.eles.unmerge(e))},Hu.onDequeue=function(e){this.onDequeues.push(e)},Hu.offDequeue=function(e){tt(this.onDequeues,e)},Hu.setupDequeueing=ju({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null;r.validateLayersElesOrdering(n,e);var o,s,l=r.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(r.levelIsComplete(n,e))return c;!function(){var t=function(t){if(r.validateLayersElesOrdering(t,e),r.levelIsComplete(t,e))return s=l[t],!0},a=function(e){if(!s)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};a(1),a(-1);for(var i=c.length-1;i>=0;i--){var o=c[i];o.invalid&&tt(c,o)}}();var d=function(t){var a=(t=t||{}).after;!function(){if(!o){o=Rt();for(var t=0;t32767||s>32767)return null;if(i*s>16e6)return null;var l=r.makeLayer(o,n);if(null!=a){var d=c.indexOf(a)+1;c.splice(d,0,l)}else(void 0===t.insert||t.insert)&&c.unshift(l);return l};if(r.skipping&&!i)return null;for(var h=null,p=e.length/1,f=!i,g=0;g=p||!Ht(h.bb,v.boundingBox()))&&!(h=d({insert:!0,after:h})))return null;s||f?r.queueLayer(h,v):r.drawEleInLayer(h,v,n,t),h.eles.push(v),m[n]=h}}return s||(f?null:c)},Gu.getEleLevelForLayerLevel=function(e,t){return e},Gu.drawEleInLayer=function(e,t,n,r){var a=this.renderer,i=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),a.setImgSmoothing(i,!1),a.drawCachedElement(i,t,null,null,n,true),a.setImgSmoothing(i,!0))},Gu.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,a=0;a0)return!1;if(i.invalid)return!1;r+=i.eles.length}return r===t.length},Gu.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},Gu.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=Te(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)})))},Gu.invalidateLayer=function(e){if(this.lastInvalidationTime=Te(),!e.invalid){var t=e.level,n=e.eles,r=this.layersByLevel[t];tt(r,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var a=0;a3&&void 0!==arguments[3])||arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=t._private.rscratch;if((!i||t.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var l;n&&(l=n,e.translate(-l.x1,-l.y1));var u=i?t.pstyle("opacity").value:1,c=i?t.pstyle("line-opacity").value:1,d=t.pstyle("curve-style").value,h=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,f=t.pstyle("line-cap").value,g=t.pstyle("line-outline-width").value,v=t.pstyle("line-outline-color").value,y=u*c,m=u*c,b=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;"straight-triangle"===d?(o.eleStrokeStyle(e,t,n),o.drawEdgeTrianglePath(t,e,s.allpts)):(e.lineWidth=p,e.lineCap=f,o.eleStrokeStyle(e,t,n),o.drawEdgePath(t,e,s.allpts,h),e.lineCap="butt")},x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m;o.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var w=t.pstyle("ghost-offset-x").pfValue,E=t.pstyle("ghost-offset-y").pfValue,k=t.pstyle("ghost-opacity").value,C=y*k;e.translate(w,E),b(C),x(C),e.translate(-w,-E)}else!function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;e.lineWidth=p+g,e.lineCap=f,g>0?(o.colorStrokeStyle(e,v[0],v[1],v[2],n),"straight-triangle"===d?o.drawEdgeTrianglePath(t,e,s.allpts):(o.drawEdgePath(t,e,s.allpts,h),e.lineCap="butt")):e.lineCap="butt"}();a&&o.drawEdgeUnderlay(e,t),b(),x(),a&&o.drawEdgeOverlay(e,t),o.drawElementText(e,t,null,r),n&&e.translate(l.x1,l.y1)}}},hc=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var a=this,i=a.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(e,"-padding")).pfValue,l=n.pstyle("".concat(e,"-color")).value;t.lineWidth=s,"self"!==o.edgeType||i?t.lineCap="round":t.lineCap="butt",a.colorStrokeStyle(t,l[0],l[1],l[2],r),a.drawEdgePath(n,t,o.allpts,"solid")}}}};dc.drawEdgeOverlay=hc("overlay"),dc.drawEdgeUnderlay=hc("underlay"),dc.drawEdgePath=function(e,t,n,r){var a,i=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$");i.pathCacheKey&&i.pathCacheKey===h?(a=t=i.pathCache,s=!0):(a=t=new Path2D,i.pathCacheKey=h,i.pathCache=a)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!i.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var p=2;p+35&&void 0!==arguments[5]?arguments[5]:5,o=arguments.length>6?arguments[6]:void 0;e.beginPath(),e.moveTo(t+i,n),e.lineTo(t+r-i,n),e.quadraticCurveTo(t+r,n,t+r,n+i),e.lineTo(t+r,n+a-i),e.quadraticCurveTo(t+r,n+a,t+r-i,n+a),e.lineTo(t+i,n+a),e.quadraticCurveTo(t,n+a,t,n+a-i),e.lineTo(t,n+i),e.quadraticCurveTo(t,n,t+i,n),e.closePath(),o?e.stroke():e.fill()}fc.eleTextBiggerThanMin=function(e,t){if(!t){var n=e.cy().zoom(),r=this.getPixelRatio(),a=Math.ceil(Mt(n*r));t=Math.pow(2,a)}return!(e.pstyle("font-size").pfValue*t5&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(i&&!o.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=o.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),d=t.pstyle("source-label"),h=t.pstyle("target-label");if(u||(!c||!c.value)&&(!d||!d.value)&&(!h||!h.value))return;e.textAlign="center",e.textBaseline="bottom"}var p,f=!n;n&&(p=n,e.translate(-p.x1,-p.y1)),null==a?(o.drawText(e,t,null,f,i),t.isEdge()&&(o.drawText(e,t,"source",f,i),o.drawText(e,t,"target",f,i))):o.drawText(e,t,a,f,i),n&&e.translate(p.x1,p.y1)},fc.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2&&void 0!==arguments[2])||arguments[2],r=t.pstyle("font-style").strValue,a=t.pstyle("font-size").pfValue+"px",i=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+a+" "+i,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},fc.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",a=e.pstyle(r+"text-rotation"),i=rt(n,"labelAngle",t);return"autorotate"===a.strValue?e.isEdge()?i:0:"none"===a.strValue?0:a.pfValue},fc.drawText=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=t._private.rscratch,o=a?t.effectiveOpacity():1;if(!a||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s,l,u=rt(i,"labelX",n),c=rt(i,"labelY",n),d=this.getLabelText(t,n);if(null!=d&&""!==d&&!isNaN(u)&&!isNaN(c)){this.setupTextStyle(e,t,a);var h,p=n?n+"-":"",f=rt(i,"labelWidth",n),g=rt(i,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle("text-halign").value,x=t.pstyle("text-valign").value;switch(m&&(b="center",x="center"),u+=v,c+=y,0!==(h=r?this.getTextAngle(t,n):0)&&(s=u,l=c,e.translate(s,l),e.rotate(h),u=0,c=0),x){case"top":break;case"center":c+=g/2;break;case"bottom":c+=g}var w=t.pstyle("text-background-opacity").value,E=t.pstyle("text-border-opacity").value,k=t.pstyle("text-border-width").pfValue,C=t.pstyle("text-background-padding").pfValue,S=0===t.pstyle("text-background-shape").strValue.indexOf("round");if(w>0||k>0&&E>0){var P=u-C;switch(b){case"left":P-=f;break;case"center":P-=f/2}var D=c-g-C,T=f+2*C,_=g+2*C;if(w>0){var M=e.fillStyle,B=t.pstyle("text-background-color").value;e.fillStyle="rgba("+B[0]+","+B[1]+","+B[2]+","+w*o+")",S?gc(e,P,D,T,_,2):e.fillRect(P,D,T,_),e.fillStyle=M}if(k>0&&E>0){var N=e.strokeStyle,I=e.lineWidth,z=t.pstyle("text-border-color").value,A=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+z[0]+","+z[1]+","+z[2]+","+E*o+")",e.lineWidth=k,e.setLineDash)switch(A){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=k/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(S?gc(e,P,D,T,_,2,"stroke"):e.strokeRect(P,D,T,_),"double"===A){var L=k/2;S?gc(e,P+L,D+L,T-2*L,_-2*L,2,"stroke"):e.strokeRect(P+L,D+L,T-2*L,_-2*L)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=N}}var O=2*t.pstyle("text-outline-width").pfValue;if(O>0&&(e.lineWidth=O),"wrap"===t.pstyle("text-wrap").value){var R=rt(i,"labelWrapCachedLines",n),V=rt(i,"labelLineHeight",n),F=f/2,j=this.getLabelJustification(t);switch("auto"===j||("left"===b?"left"===j?u+=-f:"center"===j&&(u+=-F):"center"===b?"left"===j?u+=-F:"right"===j&&(u+=F):"right"===b&&("center"===j?u+=F:"right"===j&&(u+=f))),x){case"top":case"center":case"bottom":c-=(R.length-1)*V}for(var q=0;q0&&e.strokeText(R[q],u,c),e.fillText(R[q],u,c),c+=V}else O>0&&e.strokeText(d,u,c),e.fillText(d,u,c);0!==h&&(e.rotate(-h),e.translate(-s,-l))}}};var vc={drawNode:function(e,t,n){var r,a,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=this,u=t._private,c=u.rscratch,d=t.position();if(k(d.x)&&k(d.y)&&(!s||t.visible())){var h,p,f=s?t.effectiveOpacity():1,g=l.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,a=t.height()+2*y,n&&(p=n,e.translate(-p.x1,-p.y1));for(var m=t.pstyle("background-image").value,b=new Array(m.length),x=new Array(m.length),w=0,E=0;E0&&void 0!==arguments[0]?arguments[0]:T;l.eleFillStyle(e,t,n)},X=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L;l.colorStrokeStyle(e,_[0],_[1],_[2],t)},W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F;l.colorStrokeStyle(e,R[0],R[1],R[2],t)},H=function(e,t,n,r){var a,i=l.nodePathCache=l.nodePathCache||[],o=Oe("polygon"===n?n+","+r.join(","):n,""+t,""+e,""+q),s=i[o],u=!1;return null!=s?(a=s,u=!0,c.pathCache=a):(a=new Path2D,i[o]=c.pathCache=a),{path:a,cacheHit:u}},K=t.pstyle("shape").strValue,G=t.pstyle("shape-polygon-points").pfValue;if(g){e.translate(d.x,d.y);var U=H(r,a,K,G);h=U.path,v=U.cacheHit}var Z=function(){if(!v){var n=d;g&&(n={x:0,y:0}),l.nodeShapes[l.getNodeShape(t)].draw(h||e,n.x,n.y,r,a,q,c)}g?e.fill(h):e.fill()},$=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=u.backgrounding,i=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;l.hasPie(t)&&(l.drawPie(e,t,i),n&&(g||l.nodeShapes[l.getNodeShape(t)].draw(e,d.x,d.y,r,a,q,c)))},J=function(){var t=(P>0?P:-P)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:f),n=P>0?0:255;0!==P&&(l.colorFillStyle(e,n,n,n,t),g?e.fill(h):e.fill())},ee=function(){if(D>0){if(e.lineWidth=D,e.lineCap=N,e.lineJoin=B,e.setLineDash)switch(M){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash(z),e.lineDashOffset=A;break;case"solid":case"double":e.setLineDash([])}if("center"!==I){if(e.save(),e.lineWidth*=2,"inside"===I)g?e.clip(h):e.clip();else{var t=new Path2D;t.rect(-r/2-D,-a/2-D,r+2*D,a+2*D),t.addPath(h),e.clip(t,"evenodd")}g?e.stroke(h):e.stroke(),e.restore()}else g?e.stroke(h):e.stroke();if("double"===M){e.lineWidth=D/3;var n=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",g?e.stroke(h):e.stroke(),e.globalCompositeOperation=n}e.setLineDash&&e.setLineDash([])}},te=function(){if(O>0){if(e.lineWidth=O,e.lineCap="butt",e.setLineDash)switch(V){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}var n=d;g&&(n={x:0,y:0});var i=l.getNodeShape(t),o=D;"inside"===I&&(o=0),"outside"===I&&(o*=2);var s,u=(r+o+(O+j))/r,c=(a+o+(O+j))/a,h=r*u,p=a*c,f=l.nodeShapes[i].points;if(g)s=H(h,p,i,f).path;if("ellipse"===i)l.drawEllipsePath(s||e,n.x,n.y,h,p);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(i)){var v=0,y=0,m=0;"round-diamond"===i?v=1.4*(o+j+O):"round-heptagon"===i?(v=1.075*(o+j+O),m=-(o/2+j+O)/35):"round-hexagon"===i?v=1.12*(o+j+O):"round-pentagon"===i?(v=1.13*(o+j+O),m=-(o/2+j+O)/15):"round-tag"===i?(v=1.12*(o+j+O),y=.07*(o/2+O+j)):"round-triangle"===i&&(v=(o+j+O)*(Math.PI/2),m=-(o+j/2+O)/Math.PI),0!==v&&(h=r*(u=(r+v)/r),["round-hexagon","round-tag"].includes(i)||(p=a*(c=(a+v)/a)));for(var b=h/2,x=p/2,w=(q="auto"===q?pn(h,p):q)+(o+O+j)/2,E=new Array(f.length/2),k=new Array(f.length/2),C=0;C0){if(r=r||n.position(),null==a||null==i){var d=n.padding();a=n.width()+2*d,i=n.height()+2*d}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,a+2*o,i+2*o,c),t.fill()}}}};vc.drawNodeOverlay=yc("overlay"),vc.drawNodeUnderlay=yc("underlay"),vc.hasPie=function(e){return(e=e[0])._private.hasPie},vc.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var a=t.cy().style(),i=t.pstyle("pie-size"),o=r.x,s=r.y,l=t.width(),u=t.height(),c=Math.min(l,u)/2,d=0;this.usePaths()&&(o=0,s=0),"%"===i.units?c*=i.pfValue:void 0!==i.pfValue&&(c=i.pfValue/2);for(var h=1;h<=a.pieBackgroundN;h++){var p=t.pstyle("pie-"+h+"-background-size").value,f=t.pstyle("pie-"+h+"-background-color").value,g=t.pstyle("pie-"+h+"-background-opacity").value*n,v=p/100;v+d>1&&(v=1-d);var y=1.5*Math.PI+2*Math.PI*d,m=y+2*Math.PI*v;0===p||d>=1||d+v>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,c,y,m),e.closePath(),this.colorFillStyle(e,f[0],f[1],f[2],g),e.fill(),d+=v)}};var mc={};mc.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=this.cy.window(),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(t.devicePixelRatio||1)/n},mc.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,a=0;ao.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!d&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),x=void 0!==a?a:b,w=l.pan(),E={x:w.x,y:w.y},k={zoom:b,pan:{x:w.x,y:w.y}},C=o.prevViewport;void 0===C||k.zoom!==C.zoom||k.pan.x!==C.pan.x||k.pan.y!==C.pan.y||g&&!f||(o.motionBlurPxRatio=1),i&&(E=i),x*=s,E.x*=s,E.y*=s;var S=o.getCachedZSortedEles();function P(e,t,n,r,a){var i=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,a),e.globalCompositeOperation=i}function D(e,r){var s,l,c,d;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=E,l=x,c=o.canvasWidth,d=o.canvasHeight):(s={x:w.x*p,y:w.y*p},l=b*p,c=o.canvasWidth*p,d=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?P(e,0,0,c,d):t||void 0!==r&&!r||e.clearRect(0,0,c,d),n||(e.translate(s.x,s.y),e.scale(l,l)),i&&e.translate(i.x,i.y),a&&e.scale(a,a)}if(d||(o.textureDrawLastFrame=!1),d){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var T=o.data.bufferContexts[o.TEXTURE_BUFFER];T.setTransform(1,0,0,1,0,0),T.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:T,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(k=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-k.pan.x)/k.zoom,y:(0-k.pan.y)/k.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var _=u.contexts[o.NODE],M=o.textureCache.texture;k=o.textureCache.viewport;_.setTransform(1,0,0,1,0,0),h?P(_,0,0,k.width,k.height):_.clearRect(0,0,k.width,k.height);var B=m.core("outside-texture-bg-color").value,N=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(_,B[0],B[1],B[2],N),_.fillRect(0,0,k.width,k.height);b=l.zoom();D(_,!1),_.clearRect(k.mpan.x,k.mpan.y,k.width/k.zoom/s,k.height/k.zoom/s),_.drawImage(M,k.mpan.x,k.mpan.y,k.width/k.zoom/s,k.height/k.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),z=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),A=o.hideEdgesOnViewport&&z,L=[];if(L[o.NODE]=!c[o.NODE]&&h&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,L[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),L[o.DRAG]=!c[o.DRAG]&&h&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,L[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||L[o.NODE]){var O=h&&!L[o.NODE]&&1!==p;D(_=t||(O?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),h&&!O?"motionBlur":void 0),A?o.drawCachedNodes(_,S.nondrag,s,I):o.drawLayeredElements(_,S.nondrag,s,I),o.debug&&o.drawDebugPoints(_,S.nondrag),n||h||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||L[o.DRAG])){O=h&&!L[o.DRAG]&&1!==p;D(_=t||(O?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),h&&!O?"motionBlur":void 0),A?o.drawCachedNodes(_,S.drag,s,I):o.drawCachedElements(_,S.drag,s,I),o.debug&&o.drawDebugPoints(_,S.drag),n||h||(c[o.DRAG]=!1)}if(o.showFps||!r&&c[o.SELECT_BOX]&&!n){if(D(_=t||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){b=o.cy.zoom();var R=m.core("selection-box-border-width").value/b;_.lineWidth=R,_.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",_.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),R>0&&(_.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",_.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){b=o.cy.zoom();var V=u.bgActivePosistion;_.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",_.beginPath(),_.arc(V.x,V.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),_.fill()}var F=o.lastRedrawTime;if(o.showFps&&F){F=Math.round(F);var j=Math.round(1e3/F);_.setTransform(1,0,0,1,0,0),_.fillStyle="rgba(255, 0, 0, 0.75)",_.strokeStyle="rgba(255, 0, 0, 0.75)",_.lineWidth=1,_.fillText("1 frame = "+F+" ms = "+j+" fps",0,20);_.strokeRect(0,30,250,20),_.fillRect(0,30,250*Math.min(j/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(h&&1!==p){var q=u.contexts[o.NODE],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],X=u.contexts[o.DRAG],W=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],H=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):P(e,0,0,o.canvasWidth,o.canvasHeight);var r=p;e.drawImage(t,0,0,o.canvasWidth*r,o.canvasHeight*r,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||L[o.NODE])&&(H(q,Y,L[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||L[o.DRAG])&&(H(X,W,L[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=k,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),h&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!d,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()}),100)),t||l.emit("render")};for(var bc={drawPolygonPath:function(e,t,n,r,a,i){var o=r/2,s=a/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*i[0],n+s*i[1]);for(var l=1;l0&&i>0){h.clearRect(0,0,a,i),h.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)h.translate(-n.x1*l,-n.y1*l),h.scale(l,l),this.drawElements(h,p),h.scale(1/l,1/l),h.translate(n.x1*l,n.y1*l);else{var f=t.pan(),g={x:f.x*l,y:f.y*l};l*=t.zoom(),h.translate(g.x,g.y),h.scale(l,l),this.drawElements(h,p),h.scale(1/l,1/l),h.translate(-g.x,-g.y)}e.bg&&(h.globalCompositeOperation="destination-over",h.fillStyle=e.bg,h.rect(0,0,a,i),h.fill())}return d},Pc.png=function(e){return Tc(e,this.bufferCanvasImage(e),"image/png")},Pc.jpg=function(e){return Tc(e,this.bufferCanvasImage(e),"image/jpeg")};var _c={nodeShapeImpl:function(e,t,n,r,a,i,o,s){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,a,i);case"polygon":return this.drawPolygonPath(t,n,r,a,i,o);case"round-polygon":return this.drawRoundPolygonPath(t,n,r,a,i,o,s);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(t,n,r,a,i,s);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(t,n,r,a,i,o,s);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(t,n,r,a,i,s);case"barrel":return this.drawBarrelPath(t,n,r,a,i)}}},Mc=Nc,Bc=Nc.prototype;function Nc(e){var t=this,n=t.cy.window().document;t.data={canvases:new Array(Bc.CANVAS_LAYERS),contexts:new Array(Bc.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Bc.CANVAS_LAYERS),bufferCanvases:new Array(Bc.BUFFER_COUNT),bufferContexts:new Array(Bc.CANVAS_LAYERS)};var r="-webkit-tap-highlight-color",a="rgba(0,0,0,0)";t.data.canvasContainer=n.createElement("div");var i=t.data.canvasContainer.style;t.data.canvasContainer.style[r]=a,i.position="relative",i.zIndex="0",i.overflow="hidden";var o=e.cy.container();o.appendChild(t.data.canvasContainer),o.style[r]=a;var s={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};p&&p.userAgent.match(/msie|trident|edge/i)&&(s["-ms-touch-action"]="none",s["touch-action"]="none");for(var l=0;l{s.d(e,{A:()=>i});var n=s(72453),r=s(74886);const i=(t,e)=>n.A.lang.round(r.A.parse(t)[e])},79972:(t,e,s)=>{s.d(e,{A:()=>i,P:()=>u});var n=s(45567),r=s(20007),i=(0,n.K2)(((t,e)=>{let s;"sandbox"===e&&(s=(0,r.Ltv)("#i"+t));return("sandbox"===e?(0,r.Ltv)(s.nodes()[0].contentDocument.body):(0,r.Ltv)("body")).select(`[id="${t}"]`)}),"getDiagramElement"),u=(0,n.K2)(((t,e,s,r)=>{t.attr("class",s);const{width:i,height:u,x:c,y:l}=a(t,e);(0,n.a$)(t,u,i,r);const h=o(c,l,i,u,e);t.attr("viewBox",h),n.Rm.debug(`viewBox configured: ${h} with padding: ${e}`)}),"setupViewPortForSVG"),a=(0,n.K2)(((t,e)=>{const s=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*e,height:s.height+2*e,x:s.x,y:s.y}}),"calculateDimensionsWithPadding"),o=(0,n.K2)(((t,e,s,n,r)=>`${t-r} ${e-r} ${s} ${n}`),"createViewBox")},71689:(t,e,s)=>{s.d(e,{diagram:()=>Dt});var n,r,i=s(79972),u=s(79515),a=s(79740),o=(s(6396),s(5081)),c=(s(34483),s(52294),s(62392),s(86825),s(85039)),l=s(45567),h=s(20007),d=s(75937),p=s(25582),A=0,g=(0,l.D7)(),f=new Map,y=[],k=new Map,b=[],E=new Map,m=new Map,D=0,x=!0,C=[],T=(0,l.K2)((t=>l.Y2.sanitizeText(t,g)),"sanitizeText"),S=(0,l.K2)((function(t){for(const e of f.values())if(e.id===t)return e.domId;return t}),"lookUpDomId"),F=(0,l.K2)((function(t,e,s,n,r,i,a={},c){if(!t||0===t.trim().length)return;let h,d=f.get(t);if(void 0===d&&(d={id:t,labelType:"text",domId:"flowchart-"+t+"-"+A,styles:[],classes:[]},f.set(t,d)),A++,void 0!==e?(g=(0,l.D7)(),h=T(e.text.trim()),d.labelType=e.type,h.startsWith('"')&&h.endsWith('"')&&(h=h.substring(1,h.length-1)),d.text=h):void 0===d.text&&(d.text=t),void 0!==s&&(d.type=s),null!=n&&n.forEach((function(t){d.styles.push(t)})),null!=r&&r.forEach((function(t){d.classes.push(t)})),void 0!==i&&(d.dir=i),void 0===d.props?d.props=a:void 0!==a&&Object.assign(d.props,a),void 0!==c){let e;e=c.includes("\n")?c+"\n":"{\n"+c+"\n}";const s=(0,u.H)(e,{schema:u.r});if(s.shape){if(s.shape!==s.shape.toLowerCase()||s.shape.includes("_"))throw new Error(`No such shape: ${s.shape}. Shape names should be lowercase.`);if(!(0,o.aP)(s.shape))throw new Error(`No such shape: ${s.shape}.`);d.type=s?.shape}s?.label&&(d.text=s?.label),s?.icon&&(d.icon=s?.icon,s.label?.trim()||d.text!==t||(d.text="")),s?.form&&(d.form=s?.form),s?.pos&&(d.pos=s?.pos),s?.img&&(d.img=s?.img,s.label?.trim()||d.text!==t||(d.text="")),s?.constraint&&(d.constraint=s.constraint),s.w&&(d.assetWidth=Number(s.w)),s.h&&(d.assetHeight=Number(s.h))}}),"addVertex"),_=(0,l.K2)((function(t,e,s){const n={start:t,end:e,type:void 0,text:"",labelType:"text"};l.Rm.info("abc78 Got edge...",n);const r=s.text;if(void 0!==r&&(n.text=T(r.text.trim()),n.text.startsWith('"')&&n.text.endsWith('"')&&(n.text=n.text.substring(1,n.text.length-1)),n.labelType=r.type),void 0!==s&&(n.type=s.type,n.stroke=s.stroke,n.length=s.length>10?10:s.length),!(y.length<(g.maxEdges??500)))throw new Error(`Edge limit exceeded. ${y.length} edges found, but the limit is ${g.maxEdges}.\n\nInitialize mermaid with maxEdges set to a higher number to allow more edges.\nYou cannot set this config via configuration inside the diagram as it is a secure config.\nYou have to call mermaid.initialize.`);l.Rm.info("Pushing edge..."),y.push(n)}),"addSingleLink"),B=(0,l.K2)((function(t,e,s){l.Rm.info("addLink",t,e,s);for(const n of t)for(const t of e)_(n,t,s)}),"addLink"),v=(0,l.K2)((function(t,e){t.forEach((function(t){"default"===t?y.defaultInterpolate=e:y[t].interpolate=e}))}),"updateLinkInterpolate"),w=(0,l.K2)((function(t,e){t.forEach((function(t){if("number"==typeof t&&t>=y.length)throw new Error(`The index ${t} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${y.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);"default"===t?y.defaultStyle=e:(y[t].style=e,(y[t]?.style?.length??0)>0&&!y[t]?.style?.some((t=>t?.startsWith("fill")))&&y[t]?.style?.push("fill:none"))}))}),"updateLink"),$=(0,l.K2)((function(t,e){t.split(",").forEach((function(t){let s=k.get(t);void 0===s&&(s={id:t,styles:[],textStyles:[]},k.set(t,s)),null!=e&&e.forEach((function(t){if(/color/.exec(t)){const e=t.replace("fill","bgFill");s.textStyles.push(e)}s.styles.push(t)}))}))}),"addClass"),L=(0,l.K2)((function(t){/.*/.exec(n)&&(n="LR"),/.*v/.exec(n)&&(n="TB"),"TD"===n&&(n="TB")}),"setDirection"),R=(0,l.K2)((function(t,e){for(const s of t.split(",")){const t=f.get(s);t&&t.classes.push(e);const n=E.get(s);n&&n.classes.push(e)}}),"setClass"),I=(0,l.K2)((function(t,e){if(void 0!==e){e=T(e);for(const s of t.split(","))m.set("gen-1"===r?S(s):s,e)}}),"setTooltip"),K=(0,l.K2)((function(t,e,s){const n=S(t);if("loose"!==(0,l.D7)().securityLevel)return;if(void 0===e)return;let r=[];if("string"==typeof s){r=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0);(0,h.Ltv)(this).classed("hover",!1)}))}),"setupToolTips");C.push(Y);var j=(0,l.K2)((function(t="gen-1"){f=new Map,k=new Map,y=[],C=[Y],b=[],E=new Map,D=0,m=new Map,x=!0,r=t,g=(0,l.D7)(),(0,l.IU)()}),"clear"),X=(0,l.K2)((t=>{r=t||"gen-2"}),"setGen"),z=(0,l.K2)((function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}),"defaultStyle"),H=(0,l.K2)((function(t,e,s){let n=t.text.trim(),i=s.text;function u(t){const e={boolean:{},number:{},string:{}},s=[];let n;return{nodeList:t.filter((function(t){const r=typeof t;return t.stmt&&"dir"===t.stmt?(n=t.value,!1):""!==t.trim()&&(r in e?!e[r].hasOwnProperty(t)&&(e[r][t]=!0):!s.includes(t)&&s.push(t))})),dir:n}}t===s&&/\s/.exec(s.text)&&(n=void 0),(0,l.K2)(u,"uniq");const{nodeList:a,dir:o}=u(e.flat());if("gen-1"===r)for(let r=0;r2e3)return{result:!1,count:0};if(Z[Q]=e,b[e].id===t)return{result:!0,count:0};let n=0,r=1;for(;n=0){const s=J(t,e);if(s.result)return{result:!0,count:r+s.count};r+=s.count}n+=1}return{result:!1,count:r}}),"indexNodes2"),tt=(0,l.K2)((function(t){return Z[t]}),"getDepthFirstPos"),et=(0,l.K2)((function(){Q=-1,b.length>0&&J("none",b.length-1)}),"indexNodes"),st=(0,l.K2)((function(){return b}),"getSubGraphs"),nt=(0,l.K2)((()=>!!x&&(x=!1,!0)),"firstGraph"),rt=(0,l.K2)((t=>{let e=t.trim(),s="arrow_open";switch(e[0]){case"<":s="arrow_point",e=e.slice(1);break;case"x":s="arrow_cross",e=e.slice(1);break;case"o":s="arrow_circle",e=e.slice(1)}let n="normal";return e.includes("=")&&(n="thick"),e.includes(".")&&(n="dotted"),{type:s,stroke:n}}),"destructStartLink"),it=(0,l.K2)(((t,e)=>{const s=e.length;let n=0;for(let r=0;r{const e=t.trim();let s=e.slice(0,-1),n="arrow_open";switch(e.slice(-1)){case"x":n="arrow_cross",e.startsWith("x")&&(n="double_"+n,s=s.slice(1));break;case">":n="arrow_point",e.startsWith("<")&&(n="double_"+n,s=s.slice(1));break;case"o":n="arrow_circle",e.startsWith("o")&&(n="double_"+n,s=s.slice(1))}let r="normal",i=s.length-1;s.startsWith("=")&&(r="thick"),s.startsWith("~")&&(r="invisible");const u=it(".",s);return u&&(r="dotted",i=u),{type:n,stroke:r,length:i}}),"destructEndLink"),at=(0,l.K2)(((t,e)=>{const s=ut(t);let n;if(e){if(n=rt(e),n.stroke!==s.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===n.type)n.type=s.type;else{if(n.type!==s.type)return{type:"INVALID",stroke:"INVALID"};n.type="double_"+n.type}return"double_arrow"===n.type&&(n.type="double_arrow_point"),n.length=s.length,n}return s}),"destructLink"),ot=(0,l.K2)(((t,e)=>{for(const s of t)if(s.nodes.includes(e))return!0;return!1}),"exists"),ct=(0,l.K2)(((t,e)=>{const s=[];return t.nodes.forEach(((n,r)=>{ot(e,n)||s.push(t.nodes[r])})),{nodes:s}}),"makeUniq"),lt={firstGraph:nt},ht=(0,l.K2)((t=>{if(t.img)return"imageSquare";if(t.icon)return"circle"===t.form?"iconCircle":"square"===t.form?"iconSquare":"rounded"===t.form?"iconRounded":"icon";switch(t.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return t.type}}),"getTypeFromVertex"),dt=(0,l.K2)(((t,e)=>t.find((t=>t.id===e))),"findNode"),pt=(0,l.K2)((t=>{let e="none",s="arrow_point";switch(t){case"arrow_point":case"arrow_circle":case"arrow_cross":s=t;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":e=t.replace("double_",""),s=e}return{arrowTypeStart:e,arrowTypeEnd:s}}),"destructEdgeType"),At=(0,l.K2)(((t,e,s,n,r,i)=>{const u=s.get(t.id),a=n.get(t.id)??!1,o=dt(e,t.id);if(o)o.cssStyles=t.styles,o.cssCompiledStyles=gt(t.classes),o.cssClasses=t.classes.join(" ");else{const s={id:t.id,label:t.text,labelStyle:"",parentId:u,padding:r.flowchart?.padding||8,cssStyles:t.styles,cssCompiledStyles:gt(["default","node",...t.classes]),cssClasses:"default "+t.classes.join(" "),dir:t.dir,domId:t.domId,look:i,link:t.link,linkTarget:t.linkTarget,tooltip:P(t.id),icon:t.icon,pos:t.pos,img:t.img,assetWidth:t.assetWidth,assetHeight:t.assetHeight,constraint:t.constraint};a?e.push({...s,isGroup:!0,shape:"rect"}):e.push({...s,isGroup:!1,shape:ht(t)})}}),"addNodeFromVertex");function gt(t){let e=[];for(const s of t){const t=k.get(s);t?.styles&&(e=[...e,...t.styles??[]].map((t=>t.trim()))),t?.textStyles&&(e=[...e,...t.textStyles??[]].map((t=>t.trim())))}return e}(0,l.K2)(gt,"getCompiledStyles");var ft=(0,l.K2)((()=>{const t=(0,l.D7)(),e=[],s=[],n=st(),r=new Map,i=new Map;for(let a=n.length-1;a>=0;a--){const t=n[a];t.nodes.length>0&&i.set(t.id,!0);for(const e of t.nodes)r.set(e,t.id)}for(let a=n.length-1;a>=0;a--){const s=n[a];e.push({id:s.id,label:s.title,labelStyle:"",parentId:r.get(s.id),padding:8,cssCompiledStyles:gt(s.classes),cssClasses:s.classes.join(" "),shape:"rect",dir:s.dir,isGroup:!0,look:t.look})}U().forEach((s=>{At(s,e,r,i,t,t.look||"classic")}));const u=G();return u.forEach(((e,n)=>{const{arrowTypeStart:r,arrowTypeEnd:i}=pt(e.type),a=[...u.defaultStyle??[]];e.style&&a.push(...e.style);const o={id:(0,c.rY)(e.start,e.end,{counter:n,prefix:"L"}),start:e.start,end:e.end,type:e.type??"normal",label:e.text,labelpos:"c",thickness:e.stroke,minlen:e.length,classes:"invisible"===e?.stroke?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:"invisible"===e?.stroke?"none":r,arrowTypeEnd:"invisible"===e?.stroke?"none":i,arrowheadStyle:"fill: #333",labelStyle:a,style:a,pattern:e.stroke,look:t.look};s.push(o)})),{nodes:e,edges:s,other:{},config:t}}),"getData"),yt={defaultConfig:(0,l.K2)((()=>l.ME.flowchart),"defaultConfig"),setAccTitle:l.SV,getAccTitle:l.iN,getAccDescription:l.m7,getData:ft,setAccDescription:l.EI,addVertex:F,lookUpDomId:S,addLink:B,updateLinkInterpolate:v,updateLink:w,addClass:$,setDirection:L,setClass:R,setTooltip:I,getTooltip:P,setClickEvent:O,setLink:N,bindFunctions:M,getDirection:V,getVertices:U,getEdges:G,getClasses:W,clear:j,setGen:X,defaultStyle:z,addSubGraph:H,getDepthFirstPos:tt,indexNodes:et,getSubGraphs:st,destructLink:at,lex:lt,exists:ot,makeUniq:ct,setDiagramTitle:l.ke,getDiagramTitle:l.ab},kt={getClasses:(0,l.K2)((function(t,e){return e.db.getClasses()}),"getClasses"),draw:(0,l.K2)((async function(t,e,s,n){l.Rm.info("REF0:"),l.Rm.info("Drawing state diagram (v2)",e);const{securityLevel:r,flowchart:u,layout:o}=(0,l.D7)();let d;"sandbox"===r&&(d=(0,h.Ltv)("#i"+e));const p="sandbox"===r?d.nodes()[0].contentDocument:document;l.Rm.debug("Before getData: ");const A=n.db.getData();l.Rm.debug("Data: ",A);const g=(0,i.A)(e,r),f=V();A.type=n.type,A.layoutAlgorithm=(0,a.q7)(o),"dagre"===A.layoutAlgorithm&&"elk"===o&&l.Rm.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),A.direction=f,A.nodeSpacing=u?.nodeSpacing||50,A.rankSpacing=u?.rankSpacing||50,A.markers=["point","circle","cross"],A.diagramId=e,l.Rm.debug("REF1:",A),await(0,a.XX)(A,g);const y=A.config.flowchart?.diagramPadding??8;c._K.insertTitle(g,"flowchartTitleText",u?.titleTopMargin||0,n.db.getDiagramTitle()),(0,i.P)(g,y,"flowchart",u?.useMaxWidth||!1);for(const i of A.nodes){const t=(0,h.Ltv)(`#${e} [id="${i.id}"]`);if(!t||!i.link)continue;const s=p.createElementNS("http://www.w3.org/2000/svg","a");s.setAttributeNS("http://www.w3.org/2000/svg","class",i.cssClasses),s.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===r?s.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):i.linkTarget&&s.setAttributeNS("http://www.w3.org/2000/svg","target",i.linkTarget);const n=t.insert((function(){return s}),":first-child"),u=t.select(".label-container");u&&n.append((function(){return u.node()}));const a=t.select(".label");a&&n.append((function(){return a.node()}))}}),"draw")},bt=function(){var t=(0,l.K2)((function(t,e,s,n){for(s=s||{},n=t.length;n--;s[t[n]]=e);return s}),"o"),e=[1,4],s=[1,3],n=[1,5],r=[1,8,9,10,11,27,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],i=[2,2],u=[1,13],a=[1,14],o=[1,15],c=[1,16],h=[1,23],d=[1,25],p=[1,26],A=[1,27],g=[1,49],f=[1,48],y=[1,29],k=[1,30],b=[1,31],E=[1,32],m=[1,33],D=[1,44],x=[1,46],C=[1,42],T=[1,47],S=[1,43],F=[1,50],_=[1,45],B=[1,51],v=[1,52],w=[1,34],$=[1,35],L=[1,36],R=[1,37],I=[1,57],K=[1,8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],N=[1,61],P=[1,60],O=[1,62],M=[8,9,11,75,77],V=[1,77],U=[1,90],G=[1,95],W=[1,94],Y=[1,91],j=[1,87],X=[1,93],z=[1,89],H=[1,96],q=[1,92],Q=[1,97],Z=[1,88],J=[8,9,10,11,40,75,77],tt=[8,9,10,11,40,46,75,77],et=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,88,101,104,105,108,110,113,114,115],st=[8,9,11,44,60,75,77,88,101,104,105,108,110,113,114,115],nt=[44,60,88,101,104,105,108,110,113,114,115],rt=[1,123],it=[1,122],ut=[1,130],at=[1,144],ot=[1,145],ct=[1,146],lt=[1,147],ht=[1,132],dt=[1,134],pt=[1,138],At=[1,139],gt=[1,140],ft=[1,141],yt=[1,142],kt=[1,143],bt=[1,148],Et=[1,149],mt=[1,128],Dt=[1,129],xt=[1,136],Ct=[1,131],Tt=[1,135],St=[1,133],Ft=[8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],_t=[1,151],Bt=[1,153],vt=[8,9,11],wt=[8,9,10,11,14,44,60,88,104,105,108,110,113,114,115],$t=[1,173],Lt=[1,169],Rt=[1,170],It=[1,174],Kt=[1,171],Nt=[1,172],Pt=[77,115,118],Ot=[8,9,10,11,12,14,27,29,32,44,60,75,83,84,85,86,87,88,89,104,108,110,113,114,115],Mt=[10,105],Vt=[31,49,51,53,55,57,62,64,66,67,69,71,115,116,117],Ut=[1,242],Gt=[1,240],Wt=[1,244],Yt=[1,238],jt=[1,239],Xt=[1,241],zt=[1,243],Ht=[1,245],qt=[1,263],Qt=[8,9,11,105],Zt=[8,9,10,11,60,83,104,105,108,109,110,111],Jt={trace:(0,l.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,edgeTextToken:78,STR:79,MD_STR:80,textToken:81,keywords:82,STYLE:83,LINKSTYLE:84,CLASSDEF:85,CLASS:86,CLICK:87,DOWN:88,UP:89,textNoTagsToken:90,stylesOpt:91,"idString[vertex]":92,"idString[class]":93,CALLBACKNAME:94,CALLBACKARGS:95,HREF:96,LINK_TARGET:97,"STR[link]":98,"STR[tooltip]":99,alphaNum:100,DEFAULT:101,numList:102,INTERPOLATE:103,NUM:104,COMMA:105,style:106,styleComponent:107,NODE_STRING:108,UNIT:109,BRKT:110,PCT:111,idStringToken:112,MINUS:113,MULT:114,UNICODE_TEXT:115,TEXT:116,TAGSTART:117,EDGE_TEXT:118,alphaNumToken:119,direction_tb:120,direction_bt:121,direction_rl:122,direction_lr:123,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",79:"STR",80:"MD_STR",83:"STYLE",84:"LINKSTYLE",85:"CLASSDEF",86:"CLASS",87:"CLICK",88:"DOWN",89:"UP",92:"idString[vertex]",93:"idString[class]",94:"CALLBACKNAME",95:"CALLBACKARGS",96:"HREF",97:"LINK_TARGET",98:"STR[link]",99:"STR[tooltip]",101:"DEFAULT",103:"INTERPOLATE",104:"NUM",105:"COMMA",108:"NODE_STRING",109:"UNIT",110:"BRKT",111:"PCT",113:"MINUS",114:"MULT",115:"UNICODE_TEXT",116:"TEXT",117:"TAGSTART",118:"EDGE_TEXT",120:"direction_tb",121:"direction_bt",122:"direction_rl",123:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[76,1],[76,2],[76,1],[76,1],[72,1],[73,3],[30,1],[30,2],[30,1],[30,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[102,1],[102,3],[91,1],[91,3],[106,1],[106,2],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[81,1],[81,1],[81,1],[81,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[78,1],[78,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[47,1],[47,2],[100,1],[100,2],[33,1],[33,1],[33,1],[33,1]],performAction:(0,l.K2)((function(t,e,s,n,r,i,u){var a=i.length-1;switch(r){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(i[a])||i[a].length>0)&&i[a-1].push(i[a]),this.$=i[a-1];break;case 4:case 181:case 44:case 54:case 76:case 179:this.$=i[a];break;case 11:n.setDirection("TB"),this.$="TB";break;case 12:n.setDirection(i[a-1]),this.$=i[a-1];break;case 27:this.$=i[a-1].nodes;break;case 33:this.$=n.addSubGraph(i[a-6],i[a-1],i[a-4]);break;case 34:this.$=n.addSubGraph(i[a-3],i[a-1],i[a-3]);break;case 35:this.$=n.addSubGraph(void 0,i[a-1],void 0);break;case 37:this.$=i[a].trim(),n.setAccTitle(this.$);break;case 38:case 39:this.$=i[a].trim(),n.setAccDescription(this.$);break;case 43:case 131:this.$=i[a-1]+i[a];break;case 45:n.addVertex(i[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,i[a]),n.addLink(i[a-3].stmt,i[a-1],i[a-2]),this.$={stmt:i[a-1],nodes:i[a-1].concat(i[a-3].nodes)};break;case 46:n.addLink(i[a-2].stmt,i[a],i[a-1]),this.$={stmt:i[a],nodes:i[a].concat(i[a-2].nodes)};break;case 47:n.addLink(i[a-3].stmt,i[a-1],i[a-2]),this.$={stmt:i[a-1],nodes:i[a-1].concat(i[a-3].nodes)};break;case 48:this.$={stmt:i[a-1],nodes:i[a-1]};break;case 49:n.addVertex(i[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,i[a]),this.$={stmt:i[a-1],nodes:i[a-1],shapeData:i[a]};break;case 50:this.$={stmt:i[a],nodes:i[a]};break;case 51:case 126:case 128:this.$=[i[a]];break;case 52:n.addVertex(i[a-5][0],void 0,void 0,void 0,void 0,void 0,void 0,i[a-4]),this.$=i[a-5].concat(i[a]);break;case 53:this.$=i[a-4].concat(i[a]);break;case 55:this.$=i[a-2],n.setClass(i[a-2],i[a]);break;case 56:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"square");break;case 57:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"doublecircle");break;case 58:this.$=i[a-5],n.addVertex(i[a-5],i[a-2],"circle");break;case 59:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"ellipse");break;case 60:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"stadium");break;case 61:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"subroutine");break;case 62:this.$=i[a-7],n.addVertex(i[a-7],i[a-1],"rect",void 0,void 0,void 0,Object.fromEntries([[i[a-5],i[a-3]]]));break;case 63:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"cylinder");break;case 64:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"round");break;case 65:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"diamond");break;case 66:this.$=i[a-5],n.addVertex(i[a-5],i[a-2],"hexagon");break;case 67:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"odd");break;case 68:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"trapezoid");break;case 69:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"inv_trapezoid");break;case 70:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"lean_right");break;case 71:this.$=i[a-3],n.addVertex(i[a-3],i[a-1],"lean_left");break;case 72:this.$=i[a],n.addVertex(i[a]);break;case 73:i[a-1].text=i[a],this.$=i[a-1];break;case 74:case 75:i[a-2].text=i[a-1],this.$=i[a-2];break;case 77:var o=n.destructLink(i[a],i[a-2]);this.$={type:o.type,stroke:o.stroke,length:o.length,text:i[a-1]};break;case 78:case 84:case 99:case 101:this.$={text:i[a],type:"text"};break;case 79:case 85:case 100:this.$={text:i[a-1].text+""+i[a],type:i[a-1].type};break;case 80:case 86:this.$={text:i[a],type:"string"};break;case 81:case 87:case 102:this.$={text:i[a],type:"markdown"};break;case 82:o=n.destructLink(i[a]);this.$={type:o.type,stroke:o.stroke,length:o.length};break;case 83:this.$=i[a-1];break;case 103:this.$=i[a-4],n.addClass(i[a-2],i[a]);break;case 104:this.$=i[a-4],n.setClass(i[a-2],i[a]);break;case 105:case 113:this.$=i[a-1],n.setClickEvent(i[a-1],i[a]);break;case 106:case 114:this.$=i[a-3],n.setClickEvent(i[a-3],i[a-2]),n.setTooltip(i[a-3],i[a]);break;case 107:this.$=i[a-2],n.setClickEvent(i[a-2],i[a-1],i[a]);break;case 108:this.$=i[a-4],n.setClickEvent(i[a-4],i[a-3],i[a-2]),n.setTooltip(i[a-4],i[a]);break;case 109:this.$=i[a-2],n.setLink(i[a-2],i[a]);break;case 110:this.$=i[a-4],n.setLink(i[a-4],i[a-2]),n.setTooltip(i[a-4],i[a]);break;case 111:this.$=i[a-4],n.setLink(i[a-4],i[a-2],i[a]);break;case 112:this.$=i[a-6],n.setLink(i[a-6],i[a-4],i[a]),n.setTooltip(i[a-6],i[a-2]);break;case 115:this.$=i[a-1],n.setLink(i[a-1],i[a]);break;case 116:this.$=i[a-3],n.setLink(i[a-3],i[a-2]),n.setTooltip(i[a-3],i[a]);break;case 117:this.$=i[a-3],n.setLink(i[a-3],i[a-2],i[a]);break;case 118:this.$=i[a-5],n.setLink(i[a-5],i[a-4],i[a]),n.setTooltip(i[a-5],i[a-2]);break;case 119:this.$=i[a-4],n.addVertex(i[a-2],void 0,void 0,i[a]);break;case 120:this.$=i[a-4],n.updateLink([i[a-2]],i[a]);break;case 121:this.$=i[a-4],n.updateLink(i[a-2],i[a]);break;case 122:this.$=i[a-8],n.updateLinkInterpolate([i[a-6]],i[a-2]),n.updateLink([i[a-6]],i[a]);break;case 123:this.$=i[a-8],n.updateLinkInterpolate(i[a-6],i[a-2]),n.updateLink(i[a-6],i[a]);break;case 124:this.$=i[a-6],n.updateLinkInterpolate([i[a-4]],i[a]);break;case 125:this.$=i[a-6],n.updateLinkInterpolate(i[a-4],i[a]);break;case 127:case 129:i[a-2].push(i[a]),this.$=i[a-2];break;case 180:case 182:this.$=i[a-1]+""+i[a];break;case 183:this.$={stmt:"dir",value:"TB"};break;case 184:this.$={stmt:"dir",value:"BT"};break;case 185:this.$={stmt:"dir",value:"RL"};break;case 186:this.$={stmt:"dir",value:"LR"}}}),"anonymous"),table:[{3:1,4:2,9:e,10:s,12:n},{1:[3]},t(r,i,{5:6}),{4:7,9:e,10:s,12:n},{4:8,9:e,10:s,12:n},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:u,9:a,10:o,11:c,20:17,22:18,23:19,24:20,25:21,26:22,27:h,33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:k,85:b,86:E,87:m,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:R},t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),{8:[1,54],9:[1,55],10:I,15:53,18:56},t(K,[2,3]),t(K,[2,4]),t(K,[2,5]),t(K,[2,6]),t(K,[2,7]),t(K,[2,8]),{8:N,9:P,11:O,21:58,41:59,72:63,75:[1,64],77:[1,65]},{8:N,9:P,11:O,21:66},{8:N,9:P,11:O,21:67},{8:N,9:P,11:O,21:68},{8:N,9:P,11:O,21:69},{8:N,9:P,11:O,21:70},{8:N,9:P,10:[1,71],11:O,21:72},t(K,[2,36]),{35:[1,73]},{37:[1,74]},t(K,[2,39]),t(M,[2,50],{18:75,39:76,10:I,40:V}),{10:[1,78]},{10:[1,79]},{10:[1,80]},{10:[1,81]},{14:U,44:G,60:W,79:[1,85],88:Y,94:[1,82],96:[1,83],100:84,104:j,105:X,108:z,110:H,113:q,114:Q,115:Z,119:86},t(K,[2,183]),t(K,[2,184]),t(K,[2,185]),t(K,[2,186]),t(J,[2,51]),t(J,[2,54],{46:[1,98]}),t(tt,[2,72],{112:111,29:[1,99],44:g,48:[1,100],50:[1,101],52:[1,102],54:[1,103],56:[1,104],58:[1,105],60:f,63:[1,106],65:[1,107],67:[1,108],68:[1,109],70:[1,110],88:D,101:x,104:C,105:T,108:S,110:F,113:_,114:B,115:v}),t(et,[2,179]),t(et,[2,140]),t(et,[2,141]),t(et,[2,142]),t(et,[2,143]),t(et,[2,144]),t(et,[2,145]),t(et,[2,146]),t(et,[2,147]),t(et,[2,148]),t(et,[2,149]),t(et,[2,150]),t(r,[2,12]),t(r,[2,18]),t(r,[2,19]),{9:[1,112]},t(st,[2,26],{18:113,10:I}),t(K,[2,27]),{42:114,43:38,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v},t(K,[2,40]),t(K,[2,41]),t(K,[2,42]),t(nt,[2,76],{73:115,62:[1,117],74:[1,116]}),{76:118,78:119,79:[1,120],80:[1,121],115:rt,118:it},t([44,60,62,74,88,101,104,105,108,110,113,114,115],[2,82]),t(K,[2,28]),t(K,[2,29]),t(K,[2,30]),t(K,[2,31]),t(K,[2,32]),{10:ut,12:at,14:ot,27:ct,28:124,32:lt,44:ht,60:dt,75:pt,79:[1,126],80:[1,127],82:137,83:At,84:gt,85:ft,86:yt,87:kt,88:bt,89:Et,90:125,104:mt,108:Dt,110:xt,113:Ct,114:Tt,115:St},t(Ft,i,{5:150}),t(K,[2,37]),t(K,[2,38]),t(M,[2,48],{44:_t}),t(M,[2,49],{18:152,10:I,40:Bt}),t(J,[2,44]),{44:g,47:154,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v},{101:[1,155],102:156,104:[1,157]},{44:g,47:158,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v},{44:g,47:159,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v},t(vt,[2,105],{10:[1,160],95:[1,161]}),{79:[1,162]},t(vt,[2,113],{119:164,10:[1,163],14:U,44:G,60:W,88:Y,104:j,105:X,108:z,110:H,113:q,114:Q,115:Z}),t(vt,[2,115],{10:[1,165]}),t(wt,[2,181]),t(wt,[2,168]),t(wt,[2,169]),t(wt,[2,170]),t(wt,[2,171]),t(wt,[2,172]),t(wt,[2,173]),t(wt,[2,174]),t(wt,[2,175]),t(wt,[2,176]),t(wt,[2,177]),t(wt,[2,178]),{44:g,47:166,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v},{30:167,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{30:175,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{30:177,50:[1,176],67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{30:178,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{30:179,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{30:180,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{108:[1,181]},{30:182,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{30:183,65:[1,184],67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{30:185,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{30:186,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{30:187,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},t(et,[2,180]),t(r,[2,20]),t(st,[2,25]),t(M,[2,46],{39:188,18:189,10:I,40:V}),t(nt,[2,73],{10:[1,190]}),{10:[1,191]},{30:192,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{77:[1,193],78:194,115:rt,118:it},t(Pt,[2,78]),t(Pt,[2,80]),t(Pt,[2,81]),t(Pt,[2,166]),t(Pt,[2,167]),{8:N,9:P,10:ut,11:O,12:at,14:ot,21:196,27:ct,29:[1,195],32:lt,44:ht,60:dt,75:pt,82:137,83:At,84:gt,85:ft,86:yt,87:kt,88:bt,89:Et,90:197,104:mt,108:Dt,110:xt,113:Ct,114:Tt,115:St},t(Ot,[2,99]),t(Ot,[2,101]),t(Ot,[2,102]),t(Ot,[2,155]),t(Ot,[2,156]),t(Ot,[2,157]),t(Ot,[2,158]),t(Ot,[2,159]),t(Ot,[2,160]),t(Ot,[2,161]),t(Ot,[2,162]),t(Ot,[2,163]),t(Ot,[2,164]),t(Ot,[2,165]),t(Ot,[2,88]),t(Ot,[2,89]),t(Ot,[2,90]),t(Ot,[2,91]),t(Ot,[2,92]),t(Ot,[2,93]),t(Ot,[2,94]),t(Ot,[2,95]),t(Ot,[2,96]),t(Ot,[2,97]),t(Ot,[2,98]),{6:11,7:12,8:u,9:a,10:o,11:c,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,198],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:k,85:b,86:E,87:m,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:R},{10:I,18:199},{44:[1,200]},t(J,[2,43]),{10:[1,201],44:g,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:111,113:_,114:B,115:v},{10:[1,202]},{10:[1,203],105:[1,204]},t(Mt,[2,126]),{10:[1,205],44:g,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:111,113:_,114:B,115:v},{10:[1,206],44:g,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:111,113:_,114:B,115:v},{79:[1,207]},t(vt,[2,107],{10:[1,208]}),t(vt,[2,109],{10:[1,209]}),{79:[1,210]},t(wt,[2,182]),{79:[1,211],97:[1,212]},t(J,[2,55],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:S,110:F,113:_,114:B,115:v}),{31:[1,213],67:$t,81:214,115:It,116:Kt,117:Nt},t(Vt,[2,84]),t(Vt,[2,86]),t(Vt,[2,87]),t(Vt,[2,151]),t(Vt,[2,152]),t(Vt,[2,153]),t(Vt,[2,154]),{49:[1,215],67:$t,81:214,115:It,116:Kt,117:Nt},{30:216,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{51:[1,217],67:$t,81:214,115:It,116:Kt,117:Nt},{53:[1,218],67:$t,81:214,115:It,116:Kt,117:Nt},{55:[1,219],67:$t,81:214,115:It,116:Kt,117:Nt},{57:[1,220],67:$t,81:214,115:It,116:Kt,117:Nt},{60:[1,221]},{64:[1,222],67:$t,81:214,115:It,116:Kt,117:Nt},{66:[1,223],67:$t,81:214,115:It,116:Kt,117:Nt},{30:224,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},{31:[1,225],67:$t,81:214,115:It,116:Kt,117:Nt},{67:$t,69:[1,226],71:[1,227],81:214,115:It,116:Kt,117:Nt},{67:$t,69:[1,229],71:[1,228],81:214,115:It,116:Kt,117:Nt},t(M,[2,45],{18:152,10:I,40:Bt}),t(M,[2,47],{44:_t}),t(nt,[2,75]),t(nt,[2,74]),{62:[1,230],67:$t,81:214,115:It,116:Kt,117:Nt},t(nt,[2,77]),t(Pt,[2,79]),{30:231,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},t(Ft,i,{5:232}),t(Ot,[2,100]),t(K,[2,35]),{43:233,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v},{10:I,18:234},{10:Ut,60:Gt,83:Wt,91:235,104:Yt,106:236,107:237,108:jt,109:Xt,110:zt,111:Ht},{10:Ut,60:Gt,83:Wt,91:246,103:[1,247],104:Yt,106:236,107:237,108:jt,109:Xt,110:zt,111:Ht},{10:Ut,60:Gt,83:Wt,91:248,103:[1,249],104:Yt,106:236,107:237,108:jt,109:Xt,110:zt,111:Ht},{104:[1,250]},{10:Ut,60:Gt,83:Wt,91:251,104:Yt,106:236,107:237,108:jt,109:Xt,110:zt,111:Ht},{44:g,47:252,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v},t(vt,[2,106]),{79:[1,253]},{79:[1,254],97:[1,255]},t(vt,[2,114]),t(vt,[2,116],{10:[1,256]}),t(vt,[2,117]),t(tt,[2,56]),t(Vt,[2,85]),t(tt,[2,57]),{51:[1,257],67:$t,81:214,115:It,116:Kt,117:Nt},t(tt,[2,64]),t(tt,[2,59]),t(tt,[2,60]),t(tt,[2,61]),{108:[1,258]},t(tt,[2,63]),t(tt,[2,65]),{66:[1,259],67:$t,81:214,115:It,116:Kt,117:Nt},t(tt,[2,67]),t(tt,[2,68]),t(tt,[2,70]),t(tt,[2,69]),t(tt,[2,71]),t([10,44,60,88,101,104,105,108,110,113,114,115],[2,83]),{31:[1,260],67:$t,81:214,115:It,116:Kt,117:Nt},{6:11,7:12,8:u,9:a,10:o,11:c,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,261],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:k,85:b,86:E,87:m,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:R},t(J,[2,53]),{43:262,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v},t(vt,[2,119],{105:qt}),t(Qt,[2,128],{107:264,10:Ut,60:Gt,83:Wt,104:Yt,108:jt,109:Xt,110:zt,111:Ht}),t(Zt,[2,130]),t(Zt,[2,132]),t(Zt,[2,133]),t(Zt,[2,134]),t(Zt,[2,135]),t(Zt,[2,136]),t(Zt,[2,137]),t(Zt,[2,138]),t(Zt,[2,139]),t(vt,[2,120],{105:qt}),{10:[1,265]},t(vt,[2,121],{105:qt}),{10:[1,266]},t(Mt,[2,127]),t(vt,[2,103],{105:qt}),t(vt,[2,104],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:S,110:F,113:_,114:B,115:v}),t(vt,[2,108]),t(vt,[2,110],{10:[1,267]}),t(vt,[2,111]),{97:[1,268]},{51:[1,269]},{62:[1,270]},{66:[1,271]},{8:N,9:P,11:O,21:272},t(K,[2,34]),t(J,[2,52]),{10:Ut,60:Gt,83:Wt,104:Yt,106:273,107:237,108:jt,109:Xt,110:zt,111:Ht},t(Zt,[2,131]),{14:U,44:G,60:W,88:Y,100:274,104:j,105:X,108:z,110:H,113:q,114:Q,115:Z,119:86},{14:U,44:G,60:W,88:Y,100:275,104:j,105:X,108:z,110:H,113:q,114:Q,115:Z,119:86},{97:[1,276]},t(vt,[2,118]),t(tt,[2,58]),{30:277,67:$t,79:Lt,80:Rt,81:168,115:It,116:Kt,117:Nt},t(tt,[2,66]),t(Ft,i,{5:278}),t(Qt,[2,129],{107:264,10:Ut,60:Gt,83:Wt,104:Yt,108:jt,109:Xt,110:zt,111:Ht}),t(vt,[2,124],{119:164,10:[1,279],14:U,44:G,60:W,88:Y,104:j,105:X,108:z,110:H,113:q,114:Q,115:Z}),t(vt,[2,125],{119:164,10:[1,280],14:U,44:G,60:W,88:Y,104:j,105:X,108:z,110:H,113:q,114:Q,115:Z}),t(vt,[2,112]),{31:[1,281],67:$t,81:214,115:It,116:Kt,117:Nt},{6:11,7:12,8:u,9:a,10:o,11:c,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,282],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:k,85:b,86:E,87:m,88:D,101:x,104:C,105:T,108:S,110:F,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:R},{10:Ut,60:Gt,83:Wt,91:283,104:Yt,106:236,107:237,108:jt,109:Xt,110:zt,111:Ht},{10:Ut,60:Gt,83:Wt,91:284,104:Yt,106:236,107:237,108:jt,109:Xt,110:zt,111:Ht},t(tt,[2,62]),t(K,[2,33]),t(vt,[2,122],{105:qt}),t(vt,[2,123],{105:qt})],defaultActions:{},parseError:(0,l.K2)((function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)}),"parseError"),parse:(0,l.K2)((function(t){var e=this,s=[0],n=[],r=[null],i=[],u=this.table,a="",o=0,c=0,h=0,d=i.slice.call(arguments,1),p=Object.create(this.lexer),A={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(A.yy[g]=this.yy[g]);p.setInput(t,A.yy),A.yy.lexer=p,A.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;i.push(f);var y=p.options&&p.options.ranges;function k(){var t;return"number"!=typeof(t=n.pop()||p.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof A.yy.parseError?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.K2)((function(t){s.length=s.length-2*t,r.length=r.length-t,i.length=i.length-t}),"popStack"),(0,l.K2)(k,"lex");for(var b,E,m,D,x,C,T,S,F,_={};;){if(m=s[s.length-1],this.defaultActions[m]?D=this.defaultActions[m]:(null==b&&(b=k()),D=u[m]&&u[m][b]),void 0===D||!D.length||!D[0]){var B="";for(C in F=[],u[m])this.terminals_[C]&&C>2&&F.push("'"+this.terminals_[C]+"'");B=p.showPosition?"Parse error on line "+(o+1)+":\n"+p.showPosition()+"\nExpecting "+F.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(B,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:f,expected:F})}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+b);switch(D[0]){case 1:s.push(b),r.push(p.yytext),i.push(p.yylloc),s.push(D[1]),b=null,E?(b=E,E=null):(c=p.yyleng,a=p.yytext,o=p.yylineno,f=p.yylloc,h>0&&h--);break;case 2:if(T=this.productions_[D[1]][1],_.$=r[r.length-T],_._$={first_line:i[i.length-(T||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(T||1)].first_column,last_column:i[i.length-1].last_column},y&&(_._$.range=[i[i.length-(T||1)].range[0],i[i.length-1].range[1]]),void 0!==(x=this.performAction.apply(_,[a,c,o,A.yy,D[1],r,i].concat(d))))return x;T&&(s=s.slice(0,-1*T*2),r=r.slice(0,-1*T),i=i.slice(0,-1*T)),s.push(this.productions_[D[1]][0]),r.push(_.$),i.push(_._$),S=u[s[s.length-2]][s[s.length-1]],s.push(S);break;case 3:return!0}}return!0}),"parse")},te=function(){return{EOF:1,parseError:(0,l.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,l.K2)((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}),"setInput"),input:(0,l.K2)((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}),"input"),unput:(0,l.K2)((function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.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:s?(s.length===n.length?this.yylloc.first_column:0)+n[n.length-s.length].length-s[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}),"unput"),more:(0,l.K2)((function(){return this._more=!0,this}),"more"),reject:(0,l.K2)((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})}),"reject"),less:(0,l.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,l.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,l.K2)((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,"")}),"upcomingInput"),showPosition:(0,l.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,l.K2)((function(t,e){var s,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var i in r)this[i]=r[i];return!1}return!1}),"test_match"),next:(0,l.K2)((function(){if(this.done)return this.EOF;var t,e,s,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),i=0;ie[0].length)){if(e=s,n=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,r[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,l.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,l.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,l.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,l.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,l.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,l.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,l.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{},performAction:(0,l.K2)((function(t,e,s,n){switch(s){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 12:case 14:case 17:case 20:case 23:case 33:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),e.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:const s=/\n\s*/g;return e.yytext=e.yytext.replace(s,"
    "),40;case 11:return 40;case 13:this.begin("callbackname");break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 94;case 18:return 95;case 19:return"MD_STR";case 21:this.begin("md_string");break;case 22:return"STR";case 24:this.pushState("string");break;case 25:return 83;case 26:return 101;case 27:return 84;case 28:return 103;case 29:return 85;case 30:return 86;case 31:return 96;case 32:this.begin("click");break;case 34:return 87;case 35:case 36:case 37:return t.lex.firstGraph()&&this.begin("dir"),12;case 38:return 27;case 39:return 32;case 40:case 41:case 42:case 43:return 97;case 44:return this.popState(),13;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),14;case 55:return 120;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 104;case 60:case 101:return 110;case 61:return 46;case 62:return 60;case 63:case 102:return 44;case 64:return 8;case 65:return 105;case 66:case 100:return 114;case 67:case 70:case 73:return this.popState(),77;case 68:return this.pushState("edgeText"),75;case 69:case 72:case 75:return 118;case 71:return this.pushState("thickEdgeText"),75;case 74:return this.pushState("dottedEdgeText"),75;case 76:return 77;case 77:return this.popState(),53;case 78:case 114:return"TEXT";case 79:return this.pushState("ellipseText"),52;case 80:return this.popState(),55;case 81:return this.pushState("text"),54;case 82:return this.popState(),57;case 83:return this.pushState("text"),56;case 84:return 58;case 85:return this.pushState("text"),67;case 86:return this.popState(),64;case 87:return this.pushState("text"),63;case 88:return this.popState(),49;case 89:return this.pushState("text"),48;case 90:return this.popState(),69;case 91:return this.popState(),71;case 92:return 116;case 93:return this.pushState("trapText"),68;case 94:return this.pushState("trapText"),70;case 95:return 117;case 96:return 67;case 97:return 89;case 98:return"SEP";case 99:return 88;case 103:return 108;case 104:return 113;case 105:return 115;case 106:return this.popState(),62;case 107:return this.pushState("text"),62;case 108:return this.popState(),51;case 109:return this.pushState("text"),50;case 110:return this.popState(),31;case 111:return this.pushState("text"),29;case 112:return this.popState(),66;case 113:return this.pushState("text"),65;case 115:return"QUOTE";case 116:return 9;case 117:return 10;case 118:return 11}}),"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},href:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},click:{rules:[21,24,33,34,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dottedEdgeText:{rules:[21,24,73,75,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},thickEdgeText:{rules:[21,24,70,72,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},edgeText:{rules:[21,24,67,69,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},trapText:{rules:[21,24,76,79,81,83,87,89,90,91,92,93,94,107,109,111,113],inclusive:!1},ellipseText:{rules:[21,24,76,77,78,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},text:{rules:[21,24,76,79,80,81,82,83,86,87,88,89,93,94,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr:{rules:[3,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_title:{rules:[1,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},md_string:{rules:[19,20,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},string:{rules:[21,22,23,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,70,71,73,74,76,79,81,83,84,85,87,89,93,94,95,96,97,98,99,100,101,102,103,104,105,107,109,111,113,115,116,117,118],inclusive:!0}}}}();function ee(){this.yy={}}return Jt.lexer=te,(0,l.K2)(ee,"Parser"),ee.prototype=Jt,Jt.Parser=ee,new ee}();bt.parser=bt;var Et=bt,mt=(0,l.K2)(((t,e)=>{const s=d.A,n=s(t,"r"),r=s(t,"g"),i=s(t,"b");return p.A(n,r,i,e)}),"fade"),Dt={parser:Et,db:yt,renderer:kt,styles:(0,l.K2)((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 .cluster-label span p {\n background-color: transparent;\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 .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .katex path {\n fill: #000;\n stroke: #000;\n stroke-width: 1px;\n }\n\n .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n\n .root .anchor path {\n fill: ${t.lineColor} !important;\n stroke-width: 0;\n stroke: ${t.lineColor};\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 p {\n background-color: ${t.edgeLabelBackground};\n }\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${mt(t.edgeLabelBackground,.5)};\n // background-color:\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\n rect.text {\n fill: none;\n stroke-width: 0;\n }\n\n .icon-shape, .image-shape {\n background-color: ${t.edgeLabelBackground};\n p {\n background-color: ${t.edgeLabelBackground};\n padding: 2px;\n }\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n`),"getStyles"),init:(0,l.K2)((t=>{t.flowchart||(t.flowchart={}),t.layout&&(0,l.XV)({layout:t.layout}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,(0,l.XV)({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}}),yt.clear(),yt.setGen("gen-2")}),"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/1711.345f666c.js b/pr-preview/pr-4/assets/js/1711.345f666c.js new file mode 100644 index 0000000..b870f1f --- /dev/null +++ b/pr-preview/pr-4/assets/js/1711.345f666c.js @@ -0,0 +1 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[1711],{97375:function(t){t.exports=function(){"use strict";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 s=this.$utils(),r=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return s.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return s.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return s.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}}));return i.bind(this)(r)}}}()},90445:function(t){t.exports=function(){"use strict";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|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,i=/\d\d/,s=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},c=function(t){return function(e){this[t]=+e}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],d=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var n,i=a.meridiem;if(i){for(var s=1;s<=24;s+=1)if(t.indexOf(i(s,0,e))>-1){n=s>12;break}}else n=t===(e?"pm":"PM");return n},h={A:[r,function(t){this.afternoon=u(t,!1)}],a:[r,function(t){this.afternoon=u(t,!0)}],Q:[n,function(t){this.month=3*(t-1)+1}],S:[n,function(t){this.milliseconds=100*+t}],SS:[i,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[s,c("seconds")],ss:[s,c("seconds")],m:[s,c("minutes")],mm:[s,c("minutes")],H:[s,c("hours")],h:[s,c("hours")],HH:[s,c("hours")],hh:[s,c("hours")],D:[s,c("day")],DD:[i,c("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)}],w:[s,c("week")],ww:[i,c("week")],M:[s,c("month")],MM:[i,c("month")],MMM:[r,function(t){var e=d("months"),n=(d("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=d("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(t){this.year=o(t)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l};function f(n){var i,s;i=n,s=a&&a.formats;for(var r=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var r=i&&i.toUpperCase();return n||s[i]||t[i]||s[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),o=r.length,c=0;c-1)return new Date(("X"===e?1e3:1)*t);var s=f(e)(t),r=s.year,a=s.month,o=s.day,c=s.hours,l=s.minutes,d=s.seconds,u=s.milliseconds,h=s.zone,y=s.week,k=new Date,m=o||(r||a?1:k.getDate()),p=r||k.getFullYear(),g=0;r&&!a||(g=a>0?a-1:k.getMonth());var b,T=c||0,v=l||0,x=d||0,w=u||0;return h?new Date(Date.UTC(p,g,m,T,v,x,w+60*h.offset*1e3)):n?new Date(Date.UTC(p,g,m,T,v,x,w)):(b=new Date(p,g,m,T,v,x,w),y&&(b=i(b).week(y).toDate()),b)}catch(t){return new Date("")}}(e,o,i,n),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),d&&e!=this.format(o)&&(this.$d=new Date("")),a={}}else if(o instanceof Array)for(var h=o.length,y=1;y<=h;y+=1){r[1]=o[y-1];var k=n.apply(this,r);if(k.isValid()){this.$d=k.$d,this.$L=k.$L,this.init();break}y===h&&(this.$d=new Date(""))}else s.call(this,t)}}}()},68313:function(t){t.exports=function(){"use strict";var t="day";return function(e,n,i){var s=function(e){return e.add(4-e.isoWeekday(),t)},r=n.prototype;r.isoWeekYear=function(){return s(this).year()},r.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var n,r,a,o=s(this),c=(n=this.isoWeekYear(),a=4-(r=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(a+=7),r.add(a,t));return o.diff(c,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var a=r.startOf;r.startOf=function(t,e){var n=this.$utils(),i=!!n.u(e)||e;return"isoweek"===n.p(t)?i?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):a.bind(this)(t,e)}}}()},81711:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>Yt});var i=n(85039),s=n(45567),r=n(16750),a=n(74353),o=n(68313),c=n(90445),l=n(97375),d=n(20007),u=function(){var t=(0,s.K2)((function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n}),"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],i=[1,27],r=[1,28],a=[1,29],o=[1,30],c=[1,31],l=[1,32],d=[1,33],u=[1,34],h=[1,9],f=[1,10],y=[1,11],k=[1,12],m=[1,13],p=[1,14],g=[1,15],b=[1,16],T=[1,19],v=[1,20],x=[1,21],w=[1,22],_=[1,23],D=[1,25],$=[1,35],C={trace:(0,s.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:(0,s.K2)((function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.setWeekday("monday");break;case 9:i.setWeekday("tuesday");break;case 10:i.setWeekday("wednesday");break;case 11:i.setWeekday("thursday");break;case 12:i.setWeekday("friday");break;case 13:i.setWeekday("saturday");break;case 14:i.setWeekday("sunday");break;case 15:i.setWeekend("friday");break;case 16:i.setWeekend("saturday");break;case 17:i.setDateFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 18:i.enableInclusiveEndDates(),this.$=r[o].substr(18);break;case 19:i.TopAxis(),this.$=r[o].substr(8);break;case 20:i.setAxisFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 21:i.setTickInterval(r[o].substr(13)),this.$=r[o].substr(13);break;case 22:i.setExcludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 23:i.setIncludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 24:i.setTodayMarker(r[o].substr(12)),this.$=r[o].substr(12);break;case 27:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 28:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 29:case 30:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 31:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 33:i.addTask(r[o-1],r[o]),this.$="task";break;case 34:this.$=r[o-1],i.setClickEvent(r[o-1],r[o],null);break;case 35:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],r[o]);break;case 36:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],null),i.setLink(r[o-2],r[o]);break;case 37:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-2],r[o-1]),i.setLink(r[o-3],r[o]);break;case 38:this.$=r[o-2],i.setClickEvent(r[o-2],r[o],null),i.setLink(r[o-2],r[o-1]);break;case 39:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-1],r[o]),i.setLink(r[o-3],r[o-2]);break;case 40:this.$=r[o-1],i.setLink(r[o-1],r[o]);break;case 41:case 47:this.$=r[o-1]+" "+r[o];break;case 42:case 43:case 45:this.$=r[o-2]+" "+r[o-1]+" "+r[o];break;case 44:case 46:this.$=r[o-3]+" "+r[o-2]+" "+r[o-1]+" "+r[o]}}),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:i,14:r,15:a,16:o,17:c,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:T,31:v,33:x,35:w,36:_,37:24,38:D,40:$},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:i,14:r,15:a,16:o,17:c,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:T,31:v,33:x,35:w,36:_,37:24,38:D,40:$},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:(0,s.K2)((function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)}),"parseError"),parse:(0,s.K2)((function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,c="",l=0,d=0,u=0,h=a.slice.call(arguments,1),f=Object.create(this.lexer),y={yy:{}};for(var k in this.yy)Object.prototype.hasOwnProperty.call(this.yy,k)&&(y.yy[k]=this.yy[k]);f.setInput(t,y.yy),y.yy.lexer=f,y.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;a.push(m);var p=f.options&&f.options.ranges;function g(){var t;return"number"!=typeof(t=i.pop()||f.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,s.K2)((function(t){n.length=n.length-2*t,r.length=r.length-t,a.length=a.length-t}),"popStack"),(0,s.K2)(g,"lex");for(var b,T,v,x,w,_,D,$,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==b&&(b=g()),x=o[v]&&o[v][b]),void 0===x||!x.length||!x[0]){var K="";for(_ in C=[],o[v])this.terminals_[_]&&_>2&&C.push("'"+this.terminals_[_]+"'");K=f.showPosition?"Parse error on line "+(l+1)+":\n"+f.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(K,{text:f.match,token:this.terminals_[b]||b,line:f.yylineno,loc:m,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+b);switch(x[0]){case 1:n.push(b),r.push(f.yytext),a.push(f.yylloc),n.push(x[1]),b=null,T?(b=T,T=null):(d=f.yyleng,c=f.yytext,l=f.yylineno,m=f.yylloc,u>0&&u--);break;case 2:if(D=this.productions_[x[1]][1],S.$=r[r.length-D],S._$={first_line:a[a.length-(D||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(D||1)].first_column,last_column:a[a.length-1].last_column},p&&(S._$.range=[a[a.length-(D||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(S,[c,d,l,y.yy,x[1],r,a].concat(h))))return w;D&&(n=n.slice(0,-1*D*2),r=r.slice(0,-1*D),a=a.slice(0,-1*D)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),$=o[n[n.length-2]][n[n.length-1]],n.push($);break;case 3:return!0}}return!0}),"parse")},S=function(){return{EOF:1,parseError:(0,s.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,s.K2)((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}),"setInput"),input:(0,s.K2)((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}),"input"),unput:(0,s.K2)((function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,s.K2)((function(){return this._more=!0,this}),"more"),reject:(0,s.K2)((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})}),"reject"),less:(0,s.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,s.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,s.K2)((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,"")}),"upcomingInput"),showPosition:(0,s.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,s.K2)((function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1}),"test_match"),next:(0,s.K2)((function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,s.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,s.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,s.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,s.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,s.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,s.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,s.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.K2)((function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 43;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 22:return 42;case 23:this.begin("click");break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}}),"anonymous"),rules:[/^(?:%%\{)/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,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,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],inclusive:!0}}}}();function K(){this.yy={}}return C.lexer=S,(0,s.K2)(K,"Parser"),K.prototype=C,C.Parser=K,new K}();u.parser=u;var h=u;a.extend(o),a.extend(c),a.extend(l);var f,y,k={friday:5,saturday:6},m="",p="",g=void 0,b="",T=[],v=[],x=new Map,w=[],_=[],D="",$="",C=["active","done","crit","milestone"],S=[],K=!1,E=!1,M="sunday",A="saturday",L=0,Y=(0,s.K2)((function(){w=[],_=[],D="",S=[],ht=0,f=void 0,y=void 0,mt=[],m="",p="",$="",g=void 0,b="",T=[],v=[],K=!1,E=!1,L=0,x=new Map,(0,s.IU)(),M="sunday",A="saturday"}),"clear"),I=(0,s.K2)((function(t){p=t}),"setAxisFormat"),W=(0,s.K2)((function(){return p}),"getAxisFormat"),F=(0,s.K2)((function(t){g=t}),"setTickInterval"),O=(0,s.K2)((function(){return g}),"getTickInterval"),P=(0,s.K2)((function(t){b=t}),"setTodayMarker"),B=(0,s.K2)((function(){return b}),"getTodayMarker"),z=(0,s.K2)((function(t){m=t}),"setDateFormat"),N=(0,s.K2)((function(){K=!0}),"enableInclusiveEndDates"),G=(0,s.K2)((function(){return K}),"endDatesAreInclusive"),H=(0,s.K2)((function(){E=!0}),"enableTopAxis"),R=(0,s.K2)((function(){return E}),"topAxisEnabled"),j=(0,s.K2)((function(t){$=t}),"setDisplayMode"),U=(0,s.K2)((function(){return $}),"getDisplayMode"),V=(0,s.K2)((function(){return m}),"getDateFormat"),Z=(0,s.K2)((function(t){T=t.toLowerCase().split(/[\s,]+/)}),"setIncludes"),X=(0,s.K2)((function(){return T}),"getIncludes"),q=(0,s.K2)((function(t){v=t.toLowerCase().split(/[\s,]+/)}),"setExcludes"),Q=(0,s.K2)((function(){return v}),"getExcludes"),J=(0,s.K2)((function(){return x}),"getLinks"),tt=(0,s.K2)((function(t){D=t,w.push(t)}),"addSection"),et=(0,s.K2)((function(){return w}),"getSections"),nt=(0,s.K2)((function(){let t=vt();let e=0;for(;!t&&e<10;)t=vt(),e++;return _=mt}),"getTasks"),it=(0,s.K2)((function(t,e,n,i){return!i.includes(t.format(e.trim()))&&(!(!n.includes("weekends")||t.isoWeekday()!==k[A]&&t.isoWeekday()!==k[A]+1)||(!!n.includes(t.format("dddd").toLowerCase())||n.includes(t.format(e.trim()))))}),"isInvalidDate"),st=(0,s.K2)((function(t){M=t}),"setWeekday"),rt=(0,s.K2)((function(){return M}),"getWeekday"),at=(0,s.K2)((function(t){A=t}),"setWeekend"),ot=(0,s.K2)((function(t,e,n,i){if(!n.length||t.manualEndTime)return;let s,r;s=t.startTime instanceof Date?a(t.startTime):a(t.startTime,e,!0),s=s.add(1,"d"),r=t.endTime instanceof Date?a(t.endTime):a(t.endTime,e,!0);const[o,c]=ct(s,r,e,n,i);t.endTime=o.toDate(),t.renderEndTime=c}),"checkTaskDates"),ct=(0,s.K2)((function(t,e,n,i,s){let r=!1,a=null;for(;t<=e;)r||(a=e.toDate()),r=it(t,n,i,s),r&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]}),"fixTaskDates"),lt=(0,s.K2)((function(t,e,n){n=n.trim();const i=/^after\s+(?[\d\w- ]+)/.exec(n);if(null!==i){let t=null;for(const n of i.groups.ids.split(" ")){let e=bt(n);void 0!==e&&(!t||e.endTime>t.endTime)&&(t=e)}if(t)return t.endTime;const e=new Date;return e.setHours(0,0,0,0),e}let r=a(n,e.trim(),!0);if(r.isValid())return r.toDate();{s.Rm.debug("Invalid date:"+n),s.Rm.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime())||t.getFullYear()<-1e4||t.getFullYear()>1e4)throw new Error("Invalid date:"+n);return t}}),"getStartDate"),dt=(0,s.K2)((function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]}),"parseDuration"),ut=(0,s.K2)((function(t,e,n,i=!1){n=n.trim();const s=/^until\s+(?[\d\w- ]+)/.exec(n);if(null!==s){let t=null;for(const n of s.groups.ids.split(" ")){let e=bt(n);void 0!==e&&(!t||e.startTime{window.open(n,"_self")})),x.set(t,n))})),wt(t,"clickable")}),"setLink"),wt=(0,s.K2)((function(t,e){t.split(",").forEach((function(t){let n=bt(t);void 0!==n&&n.classes.push(e)}))}),"setClass"),_t=(0,s.K2)((function(t,e,n){if("loose"!==(0,s.D7)().securityLevel)return;if(void 0===e)return;let r=[];if("string"==typeof n){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t{i._K.runFunc(e,...r)}))}),"setClickFun"),Dt=(0,s.K2)((function(t,e){S.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()}))}))}),"pushFun"),$t=(0,s.K2)((function(t,e,n){t.split(",").forEach((function(t){_t(t,e,n)})),wt(t,"clickable")}),"setClickEvent"),Ct=(0,s.K2)((function(t){S.forEach((function(e){e(t)}))}),"bindFunctions"),St={getConfig:(0,s.K2)((()=>(0,s.D7)().gantt),"getConfig"),clear:Y,setDateFormat:z,getDateFormat:V,enableInclusiveEndDates:N,endDatesAreInclusive:G,enableTopAxis:H,topAxisEnabled:R,setAxisFormat:I,getAxisFormat:W,setTickInterval:F,getTickInterval:O,setTodayMarker:P,getTodayMarker:B,setAccTitle:s.SV,getAccTitle:s.iN,setDiagramTitle:s.ke,getDiagramTitle:s.ab,setDisplayMode:j,getDisplayMode:U,setAccDescription:s.EI,getAccDescription:s.m7,addSection:tt,getSections:et,getTasks:nt,addTask:gt,findTaskById:bt,addTaskOrg:Tt,setIncludes:Z,getIncludes:X,setExcludes:q,getExcludes:Q,setClickEvent:$t,setLink:xt,getLinks:J,bindFunctions:Ct,parseDuration:dt,isInvalidDate:it,setWeekday:st,getWeekday:rt,setWeekend:at};function Kt(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const s=new RegExp("^\\s*"+n+"\\s*$");t[0].match(s)&&(e[n]=!0,t.shift(1),i=!0)}))}(0,s.K2)(Kt,"getTaskTags");var Et,Mt=(0,s.K2)((function(){s.Rm.debug("Something is calling, setConf, remove the call")}),"setConf"),At={monday:d.ABi,tuesday:d.PGu,wednesday:d.GuW,thursday:d.Mol,friday:d.TUC,saturday:d.rGn,sunday:d.YPH},Lt=(0,s.K2)(((t,e)=>{let n=[...t].map((()=>-1/0)),i=[...t].sort(((t,e)=>t.startTime-e.startTime||t.order-e.order)),s=0;for(const r of i)for(let t=0;t=n[t]){n[t]=r.endTime,r.order=t+e,t>s&&(s=t);break}return s}),"getMaxIntersections"),Yt={parser:h,db:St,renderer:{setConf:Mt,draw:(0,s.K2)((function(t,e,n,i){const r=(0,s.D7)().gantt,o=(0,s.D7)().securityLevel;let c;"sandbox"===o&&(c=(0,d.Ltv)("#i"+e));const l="sandbox"===o?(0,d.Ltv)(c.nodes()[0].contentDocument.body):(0,d.Ltv)("body"),u="sandbox"===o?c.nodes()[0].contentDocument:document,h=u.getElementById(e);void 0===(Et=h.parentElement.offsetWidth)&&(Et=1200),void 0!==r.useWidth&&(Et=r.useWidth);const f=i.db.getTasks();let y=[];for(const s of f)y.push(s.type);y=$(y);const k={};let m=2*r.topPadding;if("compact"===i.db.getDisplayMode()||"compact"===r.displayMode){const t={};for(const n of f)void 0===t[n.section]?t[n.section]=[n]:t[n.section].push(n);let e=0;for(const n of Object.keys(t)){const i=Lt(t[n],e)+1;e+=i,m+=i*(r.barHeight+r.barGap),k[n]=i}}else{m+=f.length*(r.barHeight+r.barGap);for(const t of y)k[t]=f.filter((e=>e.type===t)).length}h.setAttribute("viewBox","0 0 "+Et+" "+m);const p=l.select(`[id="${e}"]`),g=(0,d.w7C)().domain([(0,d.jkA)(f,(function(t){return t.startTime})),(0,d.T9B)(f,(function(t){return t.endTime}))]).rangeRound([0,Et-r.leftPadding-r.rightPadding]);function b(t,e){const n=t.startTime,i=e.startTime;let s=0;return n>i?s=1:nt.order)))].map((e=>t.find((t=>t.order===e))));p.append("g").selectAll("rect").data(h).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+a-2})).attr("width",(function(){return u-r.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of y.entries())if(t.type===n)return"section section"+e%r.numberSectionStyles;return"section section0"}));const f=p.append("g").selectAll("rect").data(t).enter(),k=i.db.getLinks();f.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?g(t.startTime)+o+.5*(g(t.endTime)-g(t.startTime))-.5*c:g(t.startTime)+o})).attr("y",(function(t,e){return t.order*n+a})).attr("width",(function(t){return t.milestone?c:g(t.renderEndTime||t.endTime)-g(t.startTime)})).attr("height",c).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*c).toString()+"px"})).attr("class",(function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let n=0;for(const[s,a]of y.entries())t.type===a&&(n=s%r.numberSectionStyles);let i="";return t.active?t.crit?i+=" activeCrit":i=" active":t.done?i=t.crit?" doneCrit":" done":t.crit&&(i+=" crit"),0===i.length&&(i=" task"),t.milestone&&(i=" milestone "+i),i+=n,i+=" "+e,"task"+i})),f.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",r.fontSize).attr("x",(function(t){let e=g(t.startTime),n=g(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(g(t.endTime)-g(t.startTime))-.5*c),t.milestone&&(n=e+c);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",c).attr("class",(function(t){const e=g(t.startTime);let n=g(t.endTime);t.milestone&&(n=e+c);const i=this.getBBox().width;let s="";t.classes.length>0&&(s=t.classes.join(" "));let a=0;for(const[c,l]of y.entries())t.type===l&&(a=c%r.numberSectionStyles);let o="";return t.active&&(o=t.crit?"activeCritText"+a:"activeText"+a),t.done?o=t.crit?o+" doneCritText"+a:o+" doneText"+a:t.crit&&(o=o+" critText"+a),t.milestone&&(o+=" milestoneText"),i>n-e?n+i+1.5*r.leftPadding>u?s+" taskTextOutsideLeft taskTextOutside"+a+" "+o:s+" taskTextOutsideRight taskTextOutside"+a+" "+o+" width-"+i:s+" taskText taskText"+a+" "+o+" width-"+i}));if("sandbox"===(0,s.D7)().securityLevel){let t;t=(0,d.Ltv)("#i"+e);const n=t.nodes()[0].contentDocument;f.filter((function(t){return k.has(t.id)})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const s=e.parentNode;var r=n.createElement("a");r.setAttribute("xlink:href",k.get(t.id)),r.setAttribute("target","_top"),s.appendChild(r),r.appendChild(e),r.appendChild(i)}))}}function x(t,e,n,o,c,l,d,u){if(0===d.length&&0===u.length)return;let h,f;for(const{startTime:i,endTime:s}of l)(void 0===h||if)&&(f=s);if(!h||!f)return;if(a(f).diff(a(h),"year")>5)return void s.Rm.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");const y=i.db.getDateFormat(),k=[];let m=null,b=a(h);for(;b.valueOf()<=f;)i.db.isInvalidDate(b,y,d,u)?m?m.end=b:m={start:b,end:b}:m&&(k.push(m),m=null),b=b.add(1,"d");p.append("g").selectAll("rect").data(k).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",c-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*c).toString()+"px"})).attr("class","exclude-range")}function w(t,e,n,s){let a=(0,d.l78)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,d.DCK)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));const o=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||r.tickInterval);if(null!==o){const t=o[1],e=o[2],n=i.db.getWeekday()||r.weekday;switch(e){case"millisecond":a.ticks(d.t6C.every(t));break;case"second":a.ticks(d.ucG.every(t));break;case"minute":a.ticks(d.wXd.every(t));break;case"hour":a.ticks(d.Agd.every(t));break;case"day":a.ticks(d.UAC.every(t));break;case"week":a.ticks(At[n].every(t));break;case"month":a.ticks(d.Ui6.every(t))}}if(p.append("g").attr("class","grid").attr("transform","translate("+t+", "+(s-50)+")").call(a).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||r.topAxis){let n=(0,d.tlR)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,d.DCK)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));if(null!==o){const t=o[1],e=o[2],s=i.db.getWeekday()||r.weekday;switch(e){case"millisecond":n.ticks(d.t6C.every(t));break;case"second":n.ticks(d.ucG.every(t));break;case"minute":n.ticks(d.wXd.every(t));break;case"hour":n.ticks(d.Agd.every(t));break;case"day":n.ticks(d.UAC.every(t));break;case"week":n.ticks(At[s].every(t));break;case"month":n.ticks(d.Ui6.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 _(t,e){let n=0;const i=Object.keys(k).map((t=>[t,k[t]]));p.append("g").selectAll("text").data(i).enter().append((function(t){const e=t[0].split(s.Y2.lineBreakRegex),n=-(e.length-1)/2,i=u.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[s,r]of e.entries()){const t=u.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttribute("alignment-baseline","central"),t.setAttribute("x","10"),s>0&&t.setAttribute("dy","1em"),t.textContent=r,i.appendChild(t)}return i})).attr("x",10).attr("y",(function(s,r){if(!(r>0))return s[1]*t/2+e;for(let a=0;a`\n .mermaid-main-font {\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\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-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n }\n\n .grid .tick text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\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: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n }\n\n\n /* Special case clickable */\n\n .task.clickable {\n cursor: pointer;\n }\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\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.titleColor||t.textColor};\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n`),"getStyles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/17896441.6af3a9e6.js b/pr-preview/pr-4/assets/js/17896441.6af3a9e6.js new file mode 100644 index 0000000..a50e330 --- /dev/null +++ b/pr-preview/pr-4/assets/js/17896441.6af3a9e6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8401],{71243:(e,t,n)=>{n.d(t,{A:()=>v});n(96540);var s=n(34164),a=n(17559),i=n(26972),l=n(99169),o=n(28774),r=n(21312),c=n(86025),d=n(74848);function u(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("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 m={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function h(){const e=(0,c.Ay)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(o.A,{"aria-label":(0,r.translate)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(u,{className:m.breadcrumbHomeIcon})})})}const b={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function x(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,d.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,d.jsx)(o.A,{className:a,href:n,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:t})}):(0,d.jsx)("span",{className:a,children:t})}function p(e){let{children:t,active:n,index:a,addMicrodata:i}=e;return(0,d.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,s.A)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,d.jsx)("meta",{itemProp:"position",content:String(a+1)})]})}function v(){const e=(0,i.OF)(),t=(0,l.Dt)();return e?(0,d.jsx)("nav",{className:(0,s.A)(a.G.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,r.translate)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,d.jsx)(h,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,d.jsx)(p,{active:s,index:n,addMicrodata:!!a,children:(0,d.jsx)(x,{href:a,isLast:s,children:t.label})},n)}))]})}):null}},7838:(e,t,n)=>{n.r(t),n.d(t,{default:()=>S});var s=n(96540),a=n(1003),i=n(89532),l=n(74848);const o=s.createContext(null);function r(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,l.jsx)(o.Provider,{value:a,children:t})}function c(){const e=(0,s.useContext)(o);if(null===e)throw new i.dV("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:n}=c();return(0,l.jsx)(a.be,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n(34164),m=n(24581),h=n(86929);function b(){const{metadata:e}=c();return(0,l.jsx)(h.A,{previous:e.previous,next:e.next})}var x=n(51878),p=n(4267),v=n(17559),g=n(21312),j=n(56133);const f={tags:"tags_jXut",tag:"tag_QGVx"};function _(e){let{tags:t}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("b",{children:(0,l.jsx)(g.default,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,l.jsx)("ul",{className:(0,u.A)(f.tags,"padding--none","margin-left--sm"),children:t.map((e=>(0,l.jsx)("li",{className:f.tag,children:(0,l.jsx)(j.A,{...e})},e.permalink)))})]})}var A=n(12153);function N(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,tags:a}=e,i=a.length>0,o=!!(t||n||s);return i||o?(0,l.jsxs)("footer",{className:(0,u.A)(v.G.docs.docFooter,"docusaurus-mt-lg"),children:[i&&(0,l.jsx)("div",{className:(0,u.A)("row margin-top--sm",v.G.docs.docFooterTagsRow),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(_,{tags:a})})}),o&&(0,l.jsx)(A.A,{className:(0,u.A)("margin-top--sm",v.G.docs.docFooterEditMetaRow),editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s})]}):null}var C=n(41422),L=n(65195);const T={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function k(e){let{collapsed:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,className:(0,u.A)("clean-btn",T.tocCollapsibleButton,!t&&T.tocCollapsibleButtonExpanded,n.className),children:(0,l.jsx)(g.default,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const M={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function w(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:i,toggleCollapsed:o}=(0,C.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,u.A)(M.tocCollapsible,!i&&M.tocCollapsibleExpanded,n),children:[(0,l.jsx)(k,{collapsed:i,onClick:o}),(0,l.jsx)(C.N,{lazy:!0,className:M.tocCollapsibleContent,collapsed:i,children:(0,l.jsx)(L.A,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}const B={tocMobile:"tocMobile_ITEo"};function I(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(w,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.A)(v.G.docs.docTocMobile,B.tocMobile)})}var V=n(67763);function H(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(V.A,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:v.G.docs.docTocDesktop})}var y=n(51107),E=n(52944);function G(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=c();return t.hide_title||void 0!==n?null:e.title}();return(0,l.jsxs)("div",{className:(0,u.A)(v.G.docs.docMarkdown,"markdown"),children:[n&&(0,l.jsx)("header",{children:(0,l.jsx)(y.A,{as:"h1",children:n})}),(0,l.jsx)(E.A,{children:t})]})}var P=n(71243),F=n(41689);const R={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function D(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=c(),n=(0,m.l)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,l.jsx)(I,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,l.jsx)(H,{})}}(),{metadata:s}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,u.A)("col",!n.hidden&&R.docItemCol),children:[(0,l.jsx)(F.A,{metadata:s}),(0,l.jsx)(x.A,{}),(0,l.jsxs)("div",{className:R.docItemContainer,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(P.A,{}),(0,l.jsx)(p.A,{}),n.mobile,(0,l.jsx)(G,{children:t}),(0,l.jsx)(N,{})]}),(0,l.jsx)(b,{})]})]}),n.desktop&&(0,l.jsx)("div",{className:"col col--3",children:n.desktop})]})}function S(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(a.e3,{className:t,children:[(0,l.jsx)(d,{}),(0,l.jsx)(D,{children:(0,l.jsx)(n,{})})]})})}},86929:(e,t,n)=>{n.d(t,{A:()=>r});n(96540);var s=n(21312),a=n(34164),i=n(28774),l=n(74848);function o(e){const{permalink:t,title:n,subLabel:s,isNext:o}=e;return(0,l.jsxs)(i.A,{className:(0,a.A)("pagination-nav__link",o?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,l.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,l.jsx)("div",{className:"pagination-nav__label",children:n})]})}function r(e){const{previous:t,next:n}=e;return(0,l.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.translate)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,l.jsx)(o,{...t,subLabel:(0,l.jsx)(s.default,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,l.jsx)(o,{...n,subLabel:(0,l.jsx)(s.default,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},4267:(e,t,n)=>{n.d(t,{A:()=>r});n(96540);var s=n(34164),a=n(21312),i=n(17559),l=n(23025),o=n(74848);function r(e){let{className:t}=e;const n=(0,l.r)();return n.badge?(0,o.jsx)("span",{className:(0,s.A)(t,i.G.docs.docVersionBadge,"badge badge--secondary"),children:(0,o.jsx)(a.default,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},51878:(e,t,n)=>{n.d(t,{A:()=>p});n(96540);var s=n(34164),a=n(44586),i=n(28774),l=n(21312),o=n(48295),r=n(17559),c=n(53886),d=n(23025),u=n(74848);const m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(l.default,{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:(0,u.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(l.default,{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:(0,u.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const t=m[e.versionMetadata.banner];return(0,u.jsx)(t,{...e})}function b(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,u.jsx)(l.default,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,u.jsx)("b",{children:(0,u.jsx)(i.A,{to:n,onClick:s,children:(0,u.jsx)(l.default,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function x(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:i}}=(0,a.A)(),{pluginId:l}=(0,o.vT)({failfast:!0}),{savePreferredVersionName:d}=(0,c.g1)(l),{latestDocSuggestion:m,latestVersionSuggestion:x}=(0,o.HW)(l),p=m??(v=x).docs.find((e=>e.id===v.mainDocId));var v;return(0,u.jsxs)("div",{className:(0,s.A)(t,r.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:i,versionMetadata:n})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(b,{versionLabel:x.label,to:p.path,onClick:()=>d(x.name)})})]})}function p(e){let{className:t}=e;const n=(0,d.r)();return n.banner?(0,u.jsx)(x,{className:t,versionMetadata:n}):null}},56133:(e,t,n)=>{n.d(t,{A:()=>o});n(96540);var s=n(34164),a=n(28774);const i={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};var l=n(74848);function o(e){let{permalink:t,label:n,count:o,description:r}=e;return(0,l.jsxs)(a.A,{href:t,title:r,className:(0,s.A)(i.tag,o?i.tagWithCount:i.tagRegular),children:[n,o&&(0,l.jsx)("span",{children:o})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/17e78993.45f14e56.js b/pr-preview/pr-4/assets/js/17e78993.45f14e56.js new file mode 100644 index 0000000..15b00ee --- /dev/null +++ b/pr-preview/pr-4/assets/js/17e78993.45f14e56.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[190],{38597:e=>{e.exports=JSON.parse('{"tag":{"label":"Developer","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/developer","description":"Content related to technical structure and implementation","allTagsPath":"/nr-pies/pr-preview/pr-4/docs/tags","count":6,"items":[{"id":"spec/data/code","title":"Code","description":"A code type","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/code"},{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/formatting"},{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id"},{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types"},{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle"},{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","permalink":"/nr-pies/pr-preview/pr-4/docs/intro/terminology"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/1df93b7f.87728038.js b/pr-preview/pr-4/assets/js/1df93b7f.87728038.js new file mode 100644 index 0000000..0c72498 --- /dev/null +++ b/pr-preview/pr-4/assets/js/1df93b7f.87728038.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[4583],{28859:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(96540);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:a,...r}=e;return l.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 410 410","aria-labelledby":a},r),t?l.createElement("title",{id:a},t):null,l.createElement("path",{d:"m170.87 1031.5 9.78-15.68 2.793.41c6.71.983 14.376 1.53 21.5 1.536 6.946 0 9.727-.186 21.773-1.498l3.68-.401 9.019 14.61c4.96 8.035 9.391 15.12 9.848 15.743.8 1.09 1.1 1.06 8.147-.834 9.955-2.674 21.658-6.796 31.384-11.053 10.684-4.676 26.554-13.377 26.545-14.554 0-.249-1.89-8.384-4.196-18.079l-4.192-17.627 6.189-5.04c7.72-6.288 18.256-16.833 24.25-24.267 2.512-3.116 4.96-5.666 5.44-5.666s8.577 1.794 17.992 3.987c9.414 2.193 17.229 3.987 17.364 3.987.656 0 7.029-11.441 11.345-20.367 5.822-12.042 10.109-23.404 13.476-35.725 1.932-7.069 2.33-9.28 1.734-9.641a7831 7831 0 0 1-15.8-9.86c-11.99-7.494-14.998-9.636-14.886-10.6 1.88-16.198 1.798-37.2-.184-46.976-.31-1.527.457-2.098 14.819-11.04 8.33-5.187 15.437-9.619 15.794-9.849 1.356-.875-4.375-20.435-9.99-34.097-4.045-9.84-12.99-27.37-16.257-31.863-.055-.076-8.227 1.796-18.158 4.16l-18.057 4.297-1.84-2.31c-8.956-11.238-18.167-20.533-28.98-29.244-2.446-1.97-4.447-3.682-4.447-3.804s1.794-7.943 3.987-17.38 3.986-17.561 3.986-18.053c0-1.727-18.082-11.504-31.407-16.981-13.568-5.577-33.22-11.348-34.108-10.015-.23.346-4.663 7.455-9.85 15.797-6.133 9.86-9.713 15.061-10.232 14.862-.44-.169-5.945-.651-12.233-1.072-9.181-.615-13.63-.613-22.581.01-6.132.428-11.85.918-12.706 1.089-1.46.291-2.16-.662-10.983-14.92-5.184-8.377-9.622-15.457-9.862-15.733-.982-1.131-20.802 4.688-33.332 9.786-13.335 5.426-32.257 15.65-32.27 17.437-.01.529 1.786 8.493 3.979 17.7 2.192 9.205 3.986 17.076 3.986 17.492s-2.277 2.514-5.06 4.663c-6.51 5.027-20.55 19.068-25.577 25.577-2.15 2.783-4.346 5.056-4.882 5.05-.535-.005-8.702-1.783-18.147-3.951l-17.173-3.942-1.041 1.345c-1.851 2.39-8.942 15.27-12.051 21.892-4.235 9.016-8.77 21.493-11.704 32.192-1.374 5.008-2.497 9.29-2.497 9.514s7.057 4.802 15.682 10.171l15.682 9.762-.368 3.68c-1.643 16.424-1.58 30.111.194 42.751l.49 3.499-12.62 7.817c-6.94 4.299-14.05 8.724-15.797 9.833l-3.178 2.017 2.066 7.828c2.782 10.54 7.088 22.75 11.33 32.126 3.587 7.93 11.007 21.498 13.2 24.138l1.227 1.477 17.787-4.231 17.787-4.232 1.533 1.95c8.328 10.588 19.1 21.55 28.675 29.177 3.304 2.631 4.97 4.361 4.796 4.98-.828 2.955-7.71 33.854-7.71 34.616 0 1.819 20.232 12.64 33.12 17.715 9.996 3.937 27.986 9.49 30.972 9.562.95.023 3.428-3.5 11.007-15.651zm16.613-46.558c-46.751-6.362-86.28-34.575-106.5-76.015-10.372-21.253-14.31-38.23-14.299-61.64.011-23.477 3.747-39.693 14.111-61.253 6.667-13.868 13.94-24.152 25.36-35.86 22.308-22.869 52.258-37.466 83.943-40.911 8.798-.957 29.532-.448 37.532.921 38.597 6.605 72.914 29.006 93.995 61.357 7.679 11.783 15.552 30.325 18.751 44.16 7.266 31.423 3.294 65.06-11.078 93.816-20.91 41.837-61.455 70.015-109 75.756-7.138.862-25.399.678-32.809-.33zm80.351-47.522c1.122-1.24 1.021-1.367-9.105-11.507-8.654-8.665-10.24-10.536-10.24-12.078 0-1.527 1.379-3.206 8.425-10.267 11.308-11.329 9.71-11.448 22.882 1.706 10.127 10.114 10.164 10.143 11.308 8.879 1.127-1.245 1.094-1.473-1.801-12.447l-2.95-11.179-5.852-5.945-5.853-5.945-11.086-2.59-11.086-2.588-34.988-34.88-34.988-34.88-2.016-8.412c-3.699-15.43-3.003-13.99-9.784-20.247l-6.051-5.584-10.98-3.067c-10.882-3.04-10.99-3.057-12.186-1.874-1.198 1.184-1.132 1.268 9.046 11.51 8.567 8.621 10.253 10.613 10.253 12.11 0 1.486-1.487 3.281-8.732 10.539-6.585 6.597-9.109 8.747-10.267 8.747-1.166 0-3.987-2.45-11.756-10.208-10.232-10.219-11.565-11.117-12.577-8.48-.204.533.942 6.03 2.546 12.218l2.918 11.25 5.9 5.83 5.902 5.831 11.154 2.62 11.154 2.619 34.888 35.007 34.888 35.007 2.598 11.157 2.598 11.157 6.14 5.66 6.14 5.662 10.54 2.92c5.796 1.606 10.84 2.939 11.21 2.962s1.183-.523 1.807-1.212zm-114.41-7.402c3.59-1.661 6.216-4.07 26.371-24.178l22.384-22.332-3.648-3.686-3.648-3.686-9.31 9.189c-8.476 8.366-9.505 9.19-11.485 9.19-1.62 0-2.5-.414-3.446-1.617-2.667-3.39-2.018-4.54 8.613-15.263l8.526-8.6-3.839-3.779-3.838-3.78-9.637 9.16c-10.391 9.875-11.546 10.503-14.397 7.825-.96-.902-1.42-2.03-1.42-3.482 0-1.948.857-3.012 9.198-11.415l9.197-9.266-3.686-3.647-3.685-3.647-22.096 22.069c-24.136 24.106-25.093 25.317-26.468 33.478-.961 5.708.077 9.974 3.55 14.594 2.966 3.946 8.952 9.735 12.46 12.05 5.636 3.72 13.364 4.034 20.303.824zm71.146-105.42-21.16-20.766-2.923 2.853-2.924 2.853 21.011 21.018 21.011 21.018 3.072-3.105 3.072-3.105zm25.617-15.806 15.337-15.8 7.277-2.378 7.276-2.379 6.406-9.319c3.523-5.126 6.5-9.602 6.615-9.947s-2.827-3.45-6.538-6.898l-6.747-6.27-9.47 6.787-9.471 6.788-2.358 6.752-2.357 6.751-16.095 16.094-16.095 16.094 4.735 4.762c2.603 2.62 5.052 4.763 5.442 4.763s7.609-7.11 16.044-15.8z",style:{fill:"#e12d0e"},transform:"translate(0 -642.36)"}))}},63439:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(96540);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:a,...r}=e;return l.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 126.8 122.88","aria-labelledby":a},r),t?l.createElement("title",{id:a},t):null,l.createElement("path",{d:"M69.4 78.06c3.92-1.6 6.86-4.61 8.47-8.23 1.65-3.71 1.89-8.04.32-12.12v-.01c-1.56-4.07-4.64-7.13-8.35-8.78-3.7-1.65-8.04-1.89-12.12-.32-4.07 1.56-7.13 4.64-8.78 8.35-1.65 3.7-1.89 8.04-.32 12.12v.01l.02-.01c.8 2.08 2.03 3.95 3.58 5.5 1.57 1.57 3.44 2.81 5.5 3.6 2.36.9 3.54 3.54 2.64 5.9l.02.01-13.75 35.83a4.59 4.59 0 0 1-5.92 2.66c-.14-.05-.27-.11-.4-.17-16.15-6.32-28.25-18.54-34.79-33.22-6.62-14.83-7.57-32.16-1.3-48.48.05-.14.11-.27.17-.4 6.32-16.15 18.54-28.25 33.22-34.79C52.44-1.1 69.78-2.05 86.1 4.22c12.31 4.72 22.3 12.87 29.3 22.93a63.6 63.6 0 0 1 11.38 35.56v.04h.02v1.09c0 .16-.01.31-.02.46-.05 3.64-.41 7.27-1.09 10.86a64 64 0 0 1-3.12 10.94l.02.01a63.3 63.3 0 0 1-14.36 22.12 63.5 63.5 0 0 1-22.12 14.36c-2.37.9-5.02-.29-5.92-2.66L66.43 84.09c-.9-2.37.29-5.02 2.66-5.92.1-.04.2-.08.31-.11m16.83-4.49a24.92 24.92 0 0 1-9.74 11.12l10.55 27.49c5.48-2.66 10.43-6.2 14.69-10.46a54.2 54.2 0 0 0 12.28-18.89l.02.01v-.01a54.702 54.702 0 0 0 3.61-18.64c-.01-.12-.01-.24-.01-.36v-1.09h.02c-.13-10.9-3.6-21.48-9.77-30.35-5.98-8.6-14.52-15.55-25.03-19.59-13.99-5.37-28.82-4.57-41.48 1.07-12.58 5.6-23.04 15.96-28.44 29.76-.03.11-.07.23-.11.34-5.37 13.99-4.57 28.82 1.07 41.49 5.06 11.37 14.01 21.01 25.88 26.75l10.56-27.5a25 25 0 0 1-4.59-3.61 24.9 24.9 0 0 1-5.66-8.73l.02-.01c-2.47-6.44-2.1-13.27.5-19.11a24.89 24.89 0 0 1 13.41-12.97c.3-.15.61-.28.95-.36 6.3-2.28 12.95-1.87 18.65.67A24.89 24.89 0 0 1 86.58 54c.15.3.28.62.36.95a25.02 25.02 0 0 1-.71 18.62",style:{fill:"#21552a"}}),l.createElement("path",{d:"M70.71 82.46c10.53-4.04 15.78-15.85 11.74-26.38-4.03-10.53-15.84-15.78-26.37-11.74-10.52 4.04-15.78 15.85-11.74 26.37 2.07 5.4 6.34 9.67 11.74 11.74l-13.75 35.83C12.01 106.65-3.13 72.65 8.51 42.33 20.14 12.01 54.15-3.13 84.47 8.51c23.16 8.89 37.47 30.84 37.74 54.23v1.09a58.9 58.9 0 0 1-3.91 20.64 58.77 58.77 0 0 1-33.82 33.82z",style:{fill:"#3fa652"}}))}},68804:(e,t,a)=>{a.d(t,{A:()=>w});var l,c,r,n,i,s,o,h,f,d,m,u,p,v,g,b,x,E,j,y=a(96540);function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:a,...w}=e;return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:926.622,height:600.085,"data-name":"Layer 1",viewBox:"0 0 926.622 600.085","aria-labelledby":a},w),t?y.createElement("title",{id:a},t):null,l||(l=y.createElement("circle",{cx:150.534,cy:254.872,r:24.561,fill:"#ffb8b8"})),c||(c=y.createElement("path",{fill:"#ffb8b8",d:"m67.543 549.197 6.219 10.566 43.712-18.96-9.179-15.593z"})),r||(r=y.createElement("path",{fill:"#2f2e41",d:"m69.406 544.472 12.248 20.807a15.386 15.386 0 0 1-5.455 21.065l-.431.254-20.052-34.067Z"})),n||(n=y.createElement("path",{fill:"#ffb8b8",d:"m139.6 587.26 12.26-.001 5.832-47.288-18.094.001z"})),i||(i=y.createElement("path",{fill:"#2f2e41",d:"M136.473 583.257h24.144a15.386 15.386 0 0 1 15.387 15.385v.5l-39.53.002ZM90.311 558.61a4.5 4.5 0 0 1-3.624-1.833l-11.823-16.059a4.5 4.5 0 0 1 1.124-6.41l52.614-35.142-31.746-83.474 67.889 5.602 2.286 71.734a36.05 36.05 0 0 1-18.045 32.423L92.56 558.005a4.5 4.5 0 0 1-2.249.605"})),s||(s=y.createElement("path",{fill:"#2f2e41",d:"M139.97 577.66a4.5 4.5 0 0 1-4.489-4.34l-2.488-69.882 30.809-1.623-2.453 70.384a4.487 4.487 0 0 1-4.2 4.333l-16.873 1.118a5 5 0 0 1-.306.01"})),o||(o=y.createElement("path",{fill:"#6c63ff",d:"M172.602 435.171c-7.839 0-35.217-8.816-44.721-11.959-1.422 1.138-9.234 6.979-18.352 5.911-5.626-.66-10.578-3.844-14.72-9.465-9.147-12.415 2.15-65.652 13.239-108.126a34.27 34.27 0 0 1 40.528-24.88 34.57 34.57 0 0 1 26.088 25.378c2.087 8.498.291 18.494-1.02 25.794-.616 3.431-1.103 6.142-.937 7.474.644 5.149 4.219 85.892 1.92 89.34-.245.367-.953.533-2.025.533"})),h||(h=y.createElement("path",{fill:"#ffb8b8",d:"M143.927 435.314a10.743 10.743 0 0 0 .941-16.445l.486-97.844-23.045 3.837 6.77 94.97a10.8 10.8 0 0 0 14.848 15.482"})),f||(f=y.createElement("path",{fill:"#6c63ff",d:"M149.257 383.86h-24.822a4.514 4.514 0 0 1-4.5-4.458l-.61-67.292a17.603 17.603 0 1 1 35.205.043l-.773 67.26a4.515 4.515 0 0 1-4.5 4.448"})),d||(d=y.createElement("path",{fill:"#2f2e41",d:"M144.28 279.331c-11.245.02-21.854-8.868-23.803-19.943a28.7 28.7 0 0 1 .92-13.014 34.954 34.954 0 0 1 47.935-21.953c3.008 1.362 5.971 3.317 7.349 6.318s.515 7.195-2.498 8.545c-1.97.883-4.44.45-6.187 1.716-2.51 1.82-1.864 5.692-.743 8.581s2.388 6.387.51 8.853c-1.751 2.297-5.25 2.226-8.005 1.361s-5.476-2.313-8.349-2.018c-4.19.43-7.201 4.598-7.759 8.773s.755 8.349 2.05 12.357Z"})),m||(m=y.createElement("path",{fill:"#ccc",d:"M259 600.085H1a1 1 0 1 1 0-2h258a1 1 0 0 1 0 2"})),u||(u=y.createElement("path",{fill:"#f2f2f2",d:"M910.122 434.548H269.283a16.52 16.52 0 0 1-16.5-16.5V22.894a12.1 12.1 0 0 1 12.088-12.088h649.454a12.31 12.31 0 0 1 12.297 12.297v394.945a16.52 16.52 0 0 1-16.5 16.5"})),p||(p=y.createElement("path",{fill:"#fff",d:"M889.402 413.716H292.157c-8.755 0-15.877-6.67-15.877-14.869V54.742c0-6.08 5.278-11.026 11.765-11.026H893.32c6.595 0 11.96 5.028 11.96 11.208v343.923c0 8.199-7.122 14.869-15.877 14.869"})),v||(v=y.createElement("path",{fill:"#3f3d56",d:"M926.392 24.95h-673.84v-8.4A16.574 16.574 0 0 1 269.112 0h640.72a16.574 16.574 0 0 1 16.56 16.55Z"})),g||(g=y.createElement("circle",{cx:282.647,cy:12.5,r:4.283,fill:"#fff"})),b||(b=y.createElement("circle",{cx:298.906,cy:12.5,r:4.283,fill:"#fff"})),x||(x=y.createElement("circle",{cx:315.165,cy:12.5,r:4.283,fill:"#fff"})),E||(E=y.createElement("path",{fill:"#ccc",d:"M576.61 118.954H459.802a6.566 6.566 0 0 1 0-13.132H576.61a6.566 6.566 0 1 1 0 13.132M721.757 118.954H604.949a6.566 6.566 0 0 1 0-13.132h116.808a6.566 6.566 0 1 1 0 13.132M721.757 143.837H518.552a6.566 6.566 0 1 1 0-13.133h203.205a6.566 6.566 0 1 1 0 13.133M576.61 93.727H459.802a6.566 6.566 0 0 1 0-13.133H576.61a6.566 6.566 0 1 1 0 13.133M640.89 94.072h-33.177a6.566 6.566 0 0 1 0-13.132h33.177a6.566 6.566 0 1 1 0 13.132M492.979 143.837h-33.177a6.566 6.566 0 0 1 0-13.133h33.177a6.566 6.566 0 1 1 0 13.133M576.61 351.954H459.802a6.566 6.566 0 0 1 0-13.132H576.61a6.566 6.566 0 1 1 0 13.132M721.757 351.954H604.949a6.566 6.566 0 0 1 0-13.132h116.808a6.566 6.566 0 1 1 0 13.132M721.757 376.837H518.552a6.566 6.566 0 1 1 0-13.133h203.205a6.566 6.566 0 1 1 0 13.133M576.61 326.727H459.802a6.566 6.566 0 0 1 0-13.133H576.61a6.566 6.566 0 1 1 0 13.133M640.89 327.072h-33.177a6.566 6.566 0 0 1 0-13.132h33.177a6.566 6.566 0 0 1 0 13.132M492.979 376.837h-33.177a6.566 6.566 0 0 1 0-13.133h33.177a6.566 6.566 0 1 1 0 13.133"})),j||(j=y.createElement("path",{fill:"#6c63ff",d:"M546.104 281.462a9.4 9.4 0 0 1-6.624-2.71l-43.908-43.36a9.15 9.15 0 0 1 0-13.023l43.73-43.184a9.7 9.7 0 0 1 13.644.043 9.69 9.69 0 0 1 0 13.686l-32.495 32.497a5.413 5.413 0 0 0 0 7.646l32.32 32.32a9.418 9.418 0 0 1-6.667 16.085M616.07 281.462a9.418 9.418 0 0 1-6.667-16.084l32.32-32.32a5.413 5.413 0 0 0 0-7.647l-32.496-32.497a9.68 9.68 0 0 1 0-13.686 9.7 9.7 0 0 1 13.643-.043l43.732 43.184a9.15 9.15 0 0 1 0 13.023l-43.91 43.36a9.4 9.4 0 0 1-6.623 2.71"})))}},25579:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var l=a(34164),c=a(28774),r=a(44586),n=a(24837),i=a(51107);const s={features:"features_t9lD",featureSvg:"featureSvg_GfXr"};var o=a(74848);const h=[{title:"Easy to Use",Svg:a(68804).A,description:(0,o.jsx)(o.Fragment,{children:"PIES was designed from the ground up to be easily understood and installed in your application quickly."})},{title:"Interoperable",Svg:a(28859).A,description:(0,o.jsx)(o.Fragment,{children:"PIES lets you focus on your data. Let your systems communicate to each other with ease."})},{title:"Open Source",Svg:a(63439).A,description:(0,o.jsxs)(o.Fragment,{children:["Want to improve PIES? We welcome your"," ",(0,o.jsx)("a",{href:"https://github.com/bcgov/nr-permit-interoperability-exchange-specification",children:"contributions"}),"!"]})}];function f(e){let{title:t,Svg:a,description:c}=e;return(0,o.jsxs)("div",{className:(0,l.A)("col col--4"),children:[(0,o.jsx)("div",{className:"text--center",children:(0,o.jsx)(a,{className:s.featureSvg,role:"img"})}),(0,o.jsxs)("div",{className:"text--center padding-horiz--md",children:[(0,o.jsx)(i.A,{as:"h3",children:t}),(0,o.jsx)("p",{children:c})]})]})}function d(){return(0,o.jsx)("section",{className:s.features,children:(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"row",children:h.map(((e,t)=>(0,o.jsx)(f,{...e},t)))})})})}const m={heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN"};function u(){const{siteConfig:e}=(0,r.A)();return(0,o.jsx)("header",{className:(0,l.A)("hero hero--primary",m.heroBanner),children:(0,o.jsxs)("div",{className:"container",children:[(0,o.jsx)(i.A,{as:"h1",className:"hero__title",children:e.title}),(0,o.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,o.jsx)("div",{className:m.buttons,children:(0,o.jsx)(c.A,{className:"button button--secondary button--lg",to:"/docs/intro/getting_started",children:"Get Started - 5min \u23f1\ufe0f"})})]})})}function p(){const{siteConfig:e}=(0,r.A)();return(0,o.jsxs)(n.A,{title:`Welcome to ${e.title}`,description:e.tagline,children:[(0,o.jsx)(u,{}),(0,o.jsx)("main",{children:(0,o.jsx)(d,{})})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/1f391b9e.b5d7e9e4.js b/pr-preview/pr-4/assets/js/1f391b9e.b5d7e9e4.js new file mode 100644 index 0000000..91f8824 --- /dev/null +++ b/pr-preview/pr-4/assets/js/1f391b9e.b5d7e9e4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[6061],{67973:(e,a,s)=>{s.r(a),s.d(a,{default:()=>x});s(96540);var t=s(34164),r=s(1003),d=s(17559),i=s(24837),l=s(52944),n=s(67763),c=s(41689),o=s(12153);const m={mdxPageWrapper:"mdxPageWrapper_j9I6"};var p=s(74848);function x(e){const{content:a}=e,{metadata:s,assets:x}=a,{title:g,editUrl:h,description:j,frontMatter:_,lastUpdatedBy:A,lastUpdatedAt:v}=s,{keywords:u,wrapperClassName:w,hide_table_of_contents:f}=_,N=x.image??_.image,k=!!(h||v||A);return(0,p.jsx)(r.e3,{className:(0,t.A)(w??d.G.wrapper.mdxPages,d.G.page.mdxPage),children:(0,p.jsxs)(i.A,{children:[(0,p.jsx)(r.be,{title:g,description:j,keywords:u,image:N}),(0,p.jsx)("main",{className:"container container--fluid margin-vert--lg",children:(0,p.jsxs)("div",{className:(0,t.A)("row",m.mdxPageWrapper),children:[(0,p.jsxs)("div",{className:(0,t.A)("col",!f&&"col--8"),children:[(0,p.jsx)(c.A,{metadata:s}),(0,p.jsx)("article",{children:(0,p.jsx)(l.A,{children:(0,p.jsx)(a,{})})}),k&&(0,p.jsx)(o.A,{className:(0,t.A)("margin-top--sm",d.G.pages.pageFooterEditMetaRow),editUrl:h,lastUpdatedAt:v,lastUpdatedBy:A})]}),!f&&a.toc.length>0&&(0,p.jsx)("div",{className:"col col--2",children:(0,p.jsx)(n.A,{toc:a.toc,minHeadingLevel:_.toc_min_heading_level,maxHeadingLevel:_.toc_max_heading_level})})]})})]})})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/21038ea1.50b46e37.js b/pr-preview/pr-4/assets/js/21038ea1.50b46e37.js new file mode 100644 index 0000000..435f494 --- /dev/null +++ b/pr-preview/pr-4/assets/js/21038ea1.50b46e37.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2484],{43894:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>a,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"docusaurus/intro","title":"Tutorial Intro","description":"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get","source":"@site/docs/docusaurus/intro.md","sourceDirName":"docusaurus","slug":"/docusaurus/intro","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/intro.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","next":{"title":"Tutorial - Basics","permalink":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---basics"}}');var s=t(74848),o=t(28453);const a={sidebar_position:1},i="Tutorial Intro",l={},d=[{value:"Getting Started",id:"getting-started",level:2},{value:"What you'll need",id:"what-youll-need",level:3},{value:"Generate a new site",id:"generate-a-new-site",level:2},{value:"Start your site",id:"start-your-site",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"tutorial-intro",children:"Tutorial Intro"})}),"\n",(0,s.jsx)(n.p,{children:"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get\nstarted, please review the following:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"./tutorial_basics/create_a_page",children:"Create a Page"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features",children:"Markdown Features"})}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"Everything else below this line includes the original tutorial documentation for setting up and using Docusaurus."}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsxs)(n.p,{children:["Let's discover ",(0,s.jsx)(n.strong,{children:"Docusaurus in less than 5 minutes"}),"."]}),"\n",(0,s.jsx)(n.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,s.jsxs)(n.p,{children:["Get started by ",(0,s.jsx)(n.strong,{children:"creating a new site"}),"."]}),"\n",(0,s.jsxs)(n.p,{children:["Or ",(0,s.jsx)(n.strong,{children:"try Docusaurus immediately"})," with ",(0,s.jsx)(n.strong,{children:(0,s.jsx)(n.a,{href:"https://docusaurus.new",children:"docusaurus.new"})}),"."]}),"\n",(0,s.jsx)(n.h3,{id:"what-youll-need",children:"What you'll need"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://nodejs.org/en/download/",children:"Node.js"})," version 18.0 or above:","\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"When installing Node.js, you are recommended to check all checkboxes related to dependencies."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"generate-a-new-site",children:"Generate a new site"}),"\n",(0,s.jsxs)(n.p,{children:["Generate a new Docusaurus site using the ",(0,s.jsx)(n.strong,{children:"classic template"}),"."]}),"\n",(0,s.jsx)(n.p,{children:"The classic template will automatically be added to your project after you run the command:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm init docusaurus@latest my-website classic\n"})}),"\n",(0,s.jsx)(n.p,{children:"You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor."}),"\n",(0,s.jsx)(n.p,{children:"The command also installs all necessary dependencies you need to run Docusaurus."}),"\n",(0,s.jsx)(n.h2,{id:"start-your-site",children:"Start your site"}),"\n",(0,s.jsx)(n.p,{children:"Run the development server:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"cd my-website\nnpm run start\n"})}),"\n",(0,s.jsxs)(n.p,{children:["The ",(0,s.jsx)(n.code,{children:"cd"})," command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there."]}),"\n",(0,s.jsxs)(n.p,{children:["The ",(0,s.jsx)(n.code,{children:"npm run start"})," command builds your website locally and serves it through a development server, ready for you to view at ",(0,s.jsx)(n.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,s.jsxs)(n.p,{children:["Open ",(0,s.jsx)(n.code,{children:"docs/intro.md"})," (this page) and edit some lines: the site ",(0,s.jsx)(n.strong,{children:"reloads automatically"})," and displays your changes."]})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},28453:(e,n,t)=>{t.d(n,{R:()=>a,x:()=>i});var r=t(96540);const s={},o=r.createContext(s);function a(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/2130.f1b8e328.js b/pr-preview/pr-4/assets/js/2130.f1b8e328.js new file mode 100644 index 0000000..701d810 --- /dev/null +++ b/pr-preview/pr-4/assets/js/2130.f1b8e328.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2130],{22130:(e,t,r)=>{r.d(t,{default:()=>Ja});class a{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class n{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new n(t,a.range(this,e))}}class i{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r,a,n="KaTeX parse error: "+e,o=t&&t.loc;if(o&&o.start<=o.end){var s=o.lexer.input;r=o.start,a=o.end,r===s.length?n+=" at end of input: ":n+=" at position "+(r+1)+": ";var l=s.slice(r,a).replace(/[^]/g,"$&\u0332");n+=(r>15?"\u2026"+s.slice(r-15,r):s.slice(0,r))+l+(a+15":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;var h=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},m={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(l,(e=>s[e]))},hyphenate:function(e){return e.replace(o,"-$1").toLowerCase()},getBaseElem:h,isCharacterBox:function(e){var t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}},c={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function p(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class u{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},c)if(c.hasOwnProperty(t)){var r=c[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:p(r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),a&&"ignore"!==a){if(!0===a||"error"===a)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(n){a="error"}return!(!a||"ignore"===a)&&(!0===a||"error"===a||("warn"===a?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){if(e.url&&!e.protocol){var t=m.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}var r="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(r)}}class d{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return g[f[this.id]]}sub(){return g[v[this.id]]}fracNum(){return g[b[this.id]]}fracDen(){return g[y[this.id]]}cramp(){return g[x[this.id]]}text(){return g[w[this.id]]}isTight(){return this.size>=2}}var g=[new d(0,0,!1),new d(1,0,!0),new d(2,1,!1),new d(3,1,!0),new d(4,2,!1),new d(5,2,!0),new d(6,3,!1),new d(7,3,!0)],f=[4,5,4,5,6,7,6,7],v=[5,5,5,5,7,7,7,7],b=[2,3,4,5,6,7,6,7],y=[3,3,5,5,7,7,7,7],x=[1,1,3,3,5,5,7,7],w=[0,1,2,3,2,3,2,3],k={DISPLAY:g[0],TEXT:g[2],SCRIPT:g[4],SCRIPTSCRIPT:g[6]},S=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];var M=[];function z(e){for(var t=0;t=M[t]&&e<=M[t+1])return!0;return!1}S.forEach((e=>e.blocks.forEach((e=>M.push(...e)))));var A=80,T={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class B{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return m.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText())).join("")}}var C={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},N={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},q={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"};function I(e,t,r){if(!C[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=C[t][a];if(!n&&e[0]in q&&(a=q[e[0]].charCodeAt(0),n=C[t][a]),n||"text"!==r||z(a)&&(n=C[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var R={};var H=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],O=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],E=function(e,t){return t.size<2?e:H[e-1][t.size-1]};class L{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||L.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=O[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new L(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:E(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:O[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=E(L.BASESIZE,e);return this.size===t&&this.textSize===L.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==L.BASESIZE?["sizing","reset-size"+this.size,"size"+L.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!R[t=e>=5?0:e>=3?1:2]){var r=R[t]={cssEmPerMu:N.quad[t]/18};for(var a in N)N.hasOwnProperty(a)&&(r[a]=N[a][t])}return R[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}L.BASESIZE=6;var D={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},V={ex:!0,em:!0,mu:!0},P=function(e){return"string"!=typeof e&&(e=e.unit),e in D||e in V||"ex"===e},F=function(e,t){var r;if(e.unit in D)r=D[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var a;if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else{if("em"!==e.unit)throw new i("Invalid unit: '"+e.unit+"'");r=a.fontMetrics().quad}a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},G=function(e){return+e.toFixed(4)+"em"},U=function(e){return e.filter((e=>e)).join(" ")},Y=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},X=function(e){var t=document.createElement(e);for(var r in t.className=U(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n"};class _{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Y.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m.contains(this.classes,e)}toNode(){return X.call(this,"span")}toMarkup(){return W.call(this,"span")}}class j{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Y.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m.contains(this.classes,e)}toNode(){return X.call(this,"a")}toMarkup(){return W.call(this,"a")}}class ${constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return m.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=''+m.escape(this.alt)+'=n[0]&&e<=n[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=Z[this.text])}hasClass(e){return m.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=G(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=U(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=m.hyphenate(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+m.escape(r)+'"');var n=m.escape(this.text);return e?(t+=">",t+=n,t+=""):n}}class J{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r':''}}class ee{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="","\\gt",!0),ie(oe,le,be,"\u2208","\\in",!0),ie(oe,le,be,"\ue020","\\@not"),ie(oe,le,be,"\u2282","\\subset",!0),ie(oe,le,be,"\u2283","\\supset",!0),ie(oe,le,be,"\u2286","\\subseteq",!0),ie(oe,le,be,"\u2287","\\supseteq",!0),ie(oe,he,be,"\u2288","\\nsubseteq",!0),ie(oe,he,be,"\u2289","\\nsupseteq",!0),ie(oe,le,be,"\u22a8","\\models"),ie(oe,le,be,"\u2190","\\leftarrow",!0),ie(oe,le,be,"\u2264","\\le"),ie(oe,le,be,"\u2264","\\leq",!0),ie(oe,le,be,"<","\\lt",!0),ie(oe,le,be,"\u2192","\\rightarrow",!0),ie(oe,le,be,"\u2192","\\to"),ie(oe,he,be,"\u2271","\\ngeq",!0),ie(oe,he,be,"\u2270","\\nleq",!0),ie(oe,le,ye,"\xa0","\\ "),ie(oe,le,ye,"\xa0","\\space"),ie(oe,le,ye,"\xa0","\\nobreakspace"),ie(se,le,ye,"\xa0","\\ "),ie(se,le,ye,"\xa0"," "),ie(se,le,ye,"\xa0","\\space"),ie(se,le,ye,"\xa0","\\nobreakspace"),ie(oe,le,ye,null,"\\nobreak"),ie(oe,le,ye,null,"\\allowbreak"),ie(oe,le,ve,",",","),ie(oe,le,ve,";",";"),ie(oe,he,ce,"\u22bc","\\barwedge",!0),ie(oe,he,ce,"\u22bb","\\veebar",!0),ie(oe,le,ce,"\u2299","\\odot",!0),ie(oe,le,ce,"\u2295","\\oplus",!0),ie(oe,le,ce,"\u2297","\\otimes",!0),ie(oe,le,xe,"\u2202","\\partial",!0),ie(oe,le,ce,"\u2298","\\oslash",!0),ie(oe,he,ce,"\u229a","\\circledcirc",!0),ie(oe,he,ce,"\u22a1","\\boxdot",!0),ie(oe,le,ce,"\u25b3","\\bigtriangleup"),ie(oe,le,ce,"\u25bd","\\bigtriangledown"),ie(oe,le,ce,"\u2020","\\dagger"),ie(oe,le,ce,"\u22c4","\\diamond"),ie(oe,le,ce,"\u22c6","\\star"),ie(oe,le,ce,"\u25c3","\\triangleleft"),ie(oe,le,ce,"\u25b9","\\triangleright"),ie(oe,le,fe,"{","\\{"),ie(se,le,xe,"{","\\{"),ie(se,le,xe,"{","\\textbraceleft"),ie(oe,le,pe,"}","\\}"),ie(se,le,xe,"}","\\}"),ie(se,le,xe,"}","\\textbraceright"),ie(oe,le,fe,"{","\\lbrace"),ie(oe,le,pe,"}","\\rbrace"),ie(oe,le,fe,"[","\\lbrack",!0),ie(se,le,xe,"[","\\lbrack",!0),ie(oe,le,pe,"]","\\rbrack",!0),ie(se,le,xe,"]","\\rbrack",!0),ie(oe,le,fe,"(","\\lparen",!0),ie(oe,le,pe,")","\\rparen",!0),ie(se,le,xe,"<","\\textless",!0),ie(se,le,xe,">","\\textgreater",!0),ie(oe,le,fe,"\u230a","\\lfloor",!0),ie(oe,le,pe,"\u230b","\\rfloor",!0),ie(oe,le,fe,"\u2308","\\lceil",!0),ie(oe,le,pe,"\u2309","\\rceil",!0),ie(oe,le,xe,"\\","\\backslash"),ie(oe,le,xe,"\u2223","|"),ie(oe,le,xe,"\u2223","\\vert"),ie(se,le,xe,"|","\\textbar",!0),ie(oe,le,xe,"\u2225","\\|"),ie(oe,le,xe,"\u2225","\\Vert"),ie(se,le,xe,"\u2225","\\textbardbl"),ie(se,le,xe,"~","\\textasciitilde"),ie(se,le,xe,"\\","\\textbackslash"),ie(se,le,xe,"^","\\textasciicircum"),ie(oe,le,be,"\u2191","\\uparrow",!0),ie(oe,le,be,"\u21d1","\\Uparrow",!0),ie(oe,le,be,"\u2193","\\downarrow",!0),ie(oe,le,be,"\u21d3","\\Downarrow",!0),ie(oe,le,be,"\u2195","\\updownarrow",!0),ie(oe,le,be,"\u21d5","\\Updownarrow",!0),ie(oe,le,ge,"\u2210","\\coprod"),ie(oe,le,ge,"\u22c1","\\bigvee"),ie(oe,le,ge,"\u22c0","\\bigwedge"),ie(oe,le,ge,"\u2a04","\\biguplus"),ie(oe,le,ge,"\u22c2","\\bigcap"),ie(oe,le,ge,"\u22c3","\\bigcup"),ie(oe,le,ge,"\u222b","\\int"),ie(oe,le,ge,"\u222b","\\intop"),ie(oe,le,ge,"\u222c","\\iint"),ie(oe,le,ge,"\u222d","\\iiint"),ie(oe,le,ge,"\u220f","\\prod"),ie(oe,le,ge,"\u2211","\\sum"),ie(oe,le,ge,"\u2a02","\\bigotimes"),ie(oe,le,ge,"\u2a01","\\bigoplus"),ie(oe,le,ge,"\u2a00","\\bigodot"),ie(oe,le,ge,"\u222e","\\oint"),ie(oe,le,ge,"\u222f","\\oiint"),ie(oe,le,ge,"\u2230","\\oiiint"),ie(oe,le,ge,"\u2a06","\\bigsqcup"),ie(oe,le,ge,"\u222b","\\smallint"),ie(se,le,ue,"\u2026","\\textellipsis"),ie(oe,le,ue,"\u2026","\\mathellipsis"),ie(se,le,ue,"\u2026","\\ldots",!0),ie(oe,le,ue,"\u2026","\\ldots",!0),ie(oe,le,ue,"\u22ef","\\@cdots",!0),ie(oe,le,ue,"\u22f1","\\ddots",!0),ie(oe,le,xe,"\u22ee","\\varvdots"),ie(oe,le,me,"\u02ca","\\acute"),ie(oe,le,me,"\u02cb","\\grave"),ie(oe,le,me,"\xa8","\\ddot"),ie(oe,le,me,"~","\\tilde"),ie(oe,le,me,"\u02c9","\\bar"),ie(oe,le,me,"\u02d8","\\breve"),ie(oe,le,me,"\u02c7","\\check"),ie(oe,le,me,"^","\\hat"),ie(oe,le,me,"\u20d7","\\vec"),ie(oe,le,me,"\u02d9","\\dot"),ie(oe,le,me,"\u02da","\\mathring"),ie(oe,le,de,"\ue131","\\@imath"),ie(oe,le,de,"\ue237","\\@jmath"),ie(oe,le,xe,"\u0131","\u0131"),ie(oe,le,xe,"\u0237","\u0237"),ie(se,le,xe,"\u0131","\\i",!0),ie(se,le,xe,"\u0237","\\j",!0),ie(se,le,xe,"\xdf","\\ss",!0),ie(se,le,xe,"\xe6","\\ae",!0),ie(se,le,xe,"\u0153","\\oe",!0),ie(se,le,xe,"\xf8","\\o",!0),ie(se,le,xe,"\xc6","\\AE",!0),ie(se,le,xe,"\u0152","\\OE",!0),ie(se,le,xe,"\xd8","\\O",!0),ie(se,le,me,"\u02ca","\\'"),ie(se,le,me,"\u02cb","\\`"),ie(se,le,me,"\u02c6","\\^"),ie(se,le,me,"\u02dc","\\~"),ie(se,le,me,"\u02c9","\\="),ie(se,le,me,"\u02d8","\\u"),ie(se,le,me,"\u02d9","\\."),ie(se,le,me,"\xb8","\\c"),ie(se,le,me,"\u02da","\\r"),ie(se,le,me,"\u02c7","\\v"),ie(se,le,me,"\xa8",'\\"'),ie(se,le,me,"\u02dd","\\H"),ie(se,le,me,"\u25ef","\\textcircled");var we={"--":!0,"---":!0,"``":!0,"''":!0};ie(se,le,xe,"\u2013","--",!0),ie(se,le,xe,"\u2013","\\textendash"),ie(se,le,xe,"\u2014","---",!0),ie(se,le,xe,"\u2014","\\textemdash"),ie(se,le,xe,"\u2018","`",!0),ie(se,le,xe,"\u2018","\\textquoteleft"),ie(se,le,xe,"\u2019","'",!0),ie(se,le,xe,"\u2019","\\textquoteright"),ie(se,le,xe,"\u201c","``",!0),ie(se,le,xe,"\u201c","\\textquotedblleft"),ie(se,le,xe,"\u201d","''",!0),ie(se,le,xe,"\u201d","\\textquotedblright"),ie(oe,le,xe,"\xb0","\\degree",!0),ie(se,le,xe,"\xb0","\\degree"),ie(se,le,xe,"\xb0","\\textdegree",!0),ie(oe,le,xe,"\xa3","\\pounds"),ie(oe,le,xe,"\xa3","\\mathsterling",!0),ie(se,le,xe,"\xa3","\\pounds"),ie(se,le,xe,"\xa3","\\textsterling",!0),ie(oe,he,xe,"\u2720","\\maltese"),ie(se,he,xe,"\u2720","\\maltese");for(var ke='0123456789/@."',Se=0;Se<14;Se++){var Me=ke.charAt(Se);ie(oe,le,xe,Me,Me)}for(var ze='0123456789!@*()-=+";:?/.,',Ae=0;Ae<25;Ae++){var Te=ze.charAt(Ae);ie(se,le,xe,Te,Te)}for(var Be="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ce=0;Ce<52;Ce++){var Ne=Be.charAt(Ce);ie(oe,le,de,Ne,Ne),ie(se,le,xe,Ne,Ne)}ie(oe,he,xe,"C","\u2102"),ie(se,he,xe,"C","\u2102"),ie(oe,he,xe,"H","\u210d"),ie(se,he,xe,"H","\u210d"),ie(oe,he,xe,"N","\u2115"),ie(se,he,xe,"N","\u2115"),ie(oe,he,xe,"P","\u2119"),ie(se,he,xe,"P","\u2119"),ie(oe,he,xe,"Q","\u211a"),ie(se,he,xe,"Q","\u211a"),ie(oe,he,xe,"R","\u211d"),ie(se,he,xe,"R","\u211d"),ie(oe,he,xe,"Z","\u2124"),ie(se,he,xe,"Z","\u2124"),ie(oe,le,de,"h","\u210e"),ie(se,le,de,"h","\u210e");for(var qe="",Ie=0;Ie<52;Ie++){var Re=Be.charAt(Ie);ie(oe,le,de,Re,qe=String.fromCharCode(55349,56320+Ie)),ie(se,le,xe,Re,qe),ie(oe,le,de,Re,qe=String.fromCharCode(55349,56372+Ie)),ie(se,le,xe,Re,qe),ie(oe,le,de,Re,qe=String.fromCharCode(55349,56424+Ie)),ie(se,le,xe,Re,qe),ie(oe,le,de,Re,qe=String.fromCharCode(55349,56580+Ie)),ie(se,le,xe,Re,qe),ie(oe,le,de,Re,qe=String.fromCharCode(55349,56684+Ie)),ie(se,le,xe,Re,qe),ie(oe,le,de,Re,qe=String.fromCharCode(55349,56736+Ie)),ie(se,le,xe,Re,qe),ie(oe,le,de,Re,qe=String.fromCharCode(55349,56788+Ie)),ie(se,le,xe,Re,qe),ie(oe,le,de,Re,qe=String.fromCharCode(55349,56840+Ie)),ie(se,le,xe,Re,qe),ie(oe,le,de,Re,qe=String.fromCharCode(55349,56944+Ie)),ie(se,le,xe,Re,qe),Ie<26&&(ie(oe,le,de,Re,qe=String.fromCharCode(55349,56632+Ie)),ie(se,le,xe,Re,qe),ie(oe,le,de,Re,qe=String.fromCharCode(55349,56476+Ie)),ie(se,le,xe,Re,qe))}ie(oe,le,de,"k",qe=String.fromCharCode(55349,56668)),ie(se,le,xe,"k",qe);for(var He=0;He<10;He++){var Oe=He.toString();ie(oe,le,de,Oe,qe=String.fromCharCode(55349,57294+He)),ie(se,le,xe,Oe,qe),ie(oe,le,de,Oe,qe=String.fromCharCode(55349,57314+He)),ie(se,le,xe,Oe,qe),ie(oe,le,de,Oe,qe=String.fromCharCode(55349,57324+He)),ie(se,le,xe,Oe,qe),ie(oe,le,de,Oe,qe=String.fromCharCode(55349,57334+He)),ie(se,le,xe,Oe,qe)}for(var Ee="\xd0\xde\xfe",Le=0;Le<3;Le++){var De=Ee.charAt(Le);ie(oe,le,de,De,De),ie(se,le,xe,De,De)}var Ve=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Pe=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Fe=function(e,t,r){return ne[r][e]&&ne[r][e].replace&&(e=ne[r][e].replace),{value:e,metrics:I(e,t,r)}},Ge=function(e,t,r,a,n){var i,o=Fe(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||a&&"mathit"===a.font)&&(l=0),i=new K(e,s.height,s.depth,l,s.skew,s.width,n)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new K(e,0,0,0,0,0,n);if(a){i.maxFontSize=a.sizeMultiplier,a.style.isTight()&&i.classes.push("mtight");var h=a.getColor();h&&(i.style.color=h)}return i},Ue=(e,t)=>{if(U(e.classes)!==U(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},Ye=function(e){for(var t=0,r=0,a=0,n=0;nt&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},Xe=function(e,t,r,a){var n=new _(e,t,r,a);return Ye(n),n},We=(e,t,r,a)=>new _(e,t,r,a),_e=function(e){var t=new B(e);return Ye(t),t},je=function(e,t,r){var a="";switch(e){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=e}return a+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},$e={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ze={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ke={fontMap:$e,makeSymbol:Ge,mathsym:function(e,t,r,a){return void 0===a&&(a=[]),"boldsymbol"===r.font&&Fe(e,"Main-Bold",t).metrics?Ge(e,"Main-Bold",t,r,a.concat(["mathbf"])):"\\"===e||"main"===ne[t][e].font?Ge(e,"Main-Regular",t,r,a):Ge(e,"AMS-Regular",t,r,a.concat(["amsrm"]))},makeSpan:Xe,makeSvgSpan:We,makeLineSpan:function(e,t,r){var a=Xe([e],[],t);return a.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a.style.borderBottomWidth=G(a.height),a.maxFontSize=1,a},makeAnchor:function(e,t,r,a){var n=new j(e,t,r,a);return Ye(n),n},makeFragment:_e,wrapFragment:function(e,t){return e instanceof B?Xe([],[e],t):e},makeVList:function(e,t){for(var{children:r,depth:a}=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],a=-t[0].shift-t[0].elem.depth,n=a,i=1;i0)return Ge(n,h,a,t,o.concat(m));if(l){var c,p;if("boldsymbol"===l){var u=function(e,t,r,a,n){return"textord"!==n&&Fe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(n,a,0,0,r);c=u.fontName,p=[u.fontClass]}else s?(c=$e[l].fontName,p=[l]):(c=je(l,t.fontWeight,t.fontShape),p=[l,t.fontWeight,t.fontShape]);if(Fe(n,c,a).metrics)return Ge(n,c,a,t,o.concat(p));if(we.hasOwnProperty(n)&&"Typewriter"===c.slice(0,10)){for(var d=[],g=0;g{var r=Xe(["mspace"],[],t),a=F(e,t);return r.style.marginRight=G(a),r},staticSvg:function(e,t){var[r,a,n]=Ze[e],i=new Q(r),o=new J([i],{width:G(a),height:G(n),style:"width:"+G(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"}),s=We(["overlay"],[o],t);return s.height=n,s.style.height=G(n),s.style.width=G(a),s},svgData:Ze,tryCombineChars:e=>{for(var t=0;t{var r=t.classes[0],a=e.classes[0];"mbin"===r&&m.contains(pt,a)?t.classes[0]="mord":"mbin"===a&&m.contains(ct,r)&&(e.classes[0]="mord")}),{node:c},p,u),ft(n,((e,t)=>{var r=yt(t),a=yt(e),n=r&&a?e.hasClass("mtight")?rt[r][a]:tt[r][a]:null;if(n)return Ke.makeGlue(n,l)}),{node:c},p,u),n},ft=function e(t,r,a,n,i){n&&t.push(n);for(var o=0;or=>{t.splice(e+1,0,r),o++})(o)}}n&&t.pop()},vt=function(e){return e instanceof B||e instanceof j||e instanceof _&&e.hasClass("enclosing")?e:null},bt=function e(t,r){var a=vt(t);if(a){var n=a.children;if(n.length){if("right"===r)return e(n[n.length-1],"right");if("left"===r)return e(n[0],"left")}}return t},yt=function(e,t){return e?(t&&(e=bt(e,t)),dt[e.classes[0]]||null):null},xt=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return mt(t.concat(r))},wt=function(e,t,r){if(!e)return mt();if(nt[e.type]){var a=nt[e.type](e,t);if(r&&t.size!==r.size){a=mt(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i("Got group of unknown type: '"+e.type+"'")};function kt(e,t){var r=mt(["base"],e,t),a=mt(["strut"]);return a.style.height=G(r.height+r.depth),r.depth&&(a.style.verticalAlign=G(-r.depth)),r.children.unshift(a),r}function St(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var a,n=gt(e,t,"root");2===n.length&&n[1].hasClass("tag")&&(a=n.pop());for(var i,o=[],s=[],l=0;l0&&(o.push(kt(s,t)),s=[]),o.push(n[l]));s.length>0&&o.push(kt(s,t)),r?((i=kt(gt(r,t,!0))).classes=["tag"],o.push(i)):a&&o.push(a);var m=mt(["katex-html"],o);if(m.setAttribute("aria-hidden","true"),i){var c=i.children[0];c.style.height=G(m.height+m.depth),m.depth&&(c.style.verticalAlign=G(-m.depth))}return m}function Mt(e){return new B(e)}class zt{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=U(this.classes));for(var r=0;r0&&(e+=' class ="'+m.escape(U(this.classes))+'"'),e+=">";for(var r=0;r"}toText(){return this.children.map((e=>e.toText())).join("")}}class At{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return m.escape(this.toText())}toText(){return this.text}}var Tt={MathNode:zt,TextNode:At,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",G(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:Mt},Bt=function(e,t,r){return!ne[t][e]||!ne[t][e].replace||55349===e.charCodeAt(0)||we.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=ne[t][e].replace),new Tt.TextNode(e)},Ct=function(e){return 1===e.length?e[0]:new Tt.MathNode("mrow",e)},Nt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var a=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var n=e.text;return m.contains(["\\imath","\\jmath"],n)?null:(ne[a][n]&&ne[a][n].replace&&(n=ne[a][n].replace),I(n,Ke.fontMap[r].fontName,a)?Ke.fontMap[r].variant:null)},qt=function(e,t,r){if(1===e.length){var a=Rt(e[0],t);return r&&a instanceof zt&&"mo"===a.type&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var n,i=[],o=0;o0&&(m.text=m.text.slice(0,1)+"\u0338"+m.text.slice(1),i.pop())}}}i.push(s),n=s}return i},It=function(e,t,r){return Ct(qt(e,t,r))},Rt=function(e,t){if(!e)return new Tt.MathNode("mrow");if(it[e.type])return it[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function Ht(e,t,r,a,n){var i,o=qt(e,r);i=1===o.length&&o[0]instanceof zt&&m.contains(["mrow","mtable"],o[0].type)?o[0]:new Tt.MathNode("mrow",o);var s=new Tt.MathNode("annotation",[new Tt.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new Tt.MathNode("semantics",[i,s]),h=new Tt.MathNode("math",[l]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block");var c=n?"katex":"katex-mathml";return Ke.makeSpan([c],[h])}var Ot=function(e){return new L({style:e.displayMode?k.DISPLAY:k.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Et=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=Ke.makeSpan(r,[e])}return e},Lt={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Dt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Vt=function(e,t,r,a,n){var i,o=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=Ke.makeSpan(["stretchy",t],[],n),"fbox"===t){var s=n.color&&n.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new ee({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new ee({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new J(l,{width:"100%",height:G(o)});i=Ke.makeSvgSpan([],[h],n)}return i.height=o,i.style.height=G(o),i},Pt=function(e){var t=new Tt.MathNode("mo",[new Tt.TextNode(Lt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Ft=function(e,t){var{span:r,minWidth:a,height:n}=function(){var r=4e5,a=e.label.slice(1);if(m.contains(["widehat","widecheck","widetilde","utilde"],a)){var n,i,o,s="ordgroup"===(d=e.base).type?d.body.length:1;if(s>5)"widehat"===a||"widecheck"===a?(n=420,r=2364,o=.42,i=a+"4"):(n=312,r=2340,o=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===a||"widecheck"===a?(r=[0,1062,2364,2364,2364][l],n=[0,239,300,360,420][l],o=[0,.24,.3,.3,.36,.42][l],i=a+l):(r=[0,600,1033,2339,2340][l],n=[0,260,286,306,312][l],o=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var h=new Q(i),c=new J([h],{width:"100%",height:G(o),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:Ke.makeSvgSpan([],[c],t),minWidth:0,height:o}}var p,u,d,g=[],f=Dt[a],[v,b,y]=f,x=y/1e3,w=v.length;if(1===w)p=["hide-tail"],u=[f[3]];else if(2===w)p=["halfarrow-left","halfarrow-right"],u=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");p=["brace-left","brace-center","brace-right"],u=["xMinYMin","xMidYMin","xMaxYMin"]}for(var k=0;k0&&(r.style.minWidth=G(a)),r};function Gt(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Ut(e){var t=Yt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Yt(e){return e&&("atom"===e.type||ae.hasOwnProperty(e.type))?e:null}var Xt=(e,t)=>{var r,a,n;e&&"supsub"===e.type?(r=(a=Gt(e.base,"accent")).base,e.base=r,n=function(e){if(e instanceof _)return e;throw new Error("Expected span but got "+String(e)+".")}(wt(e,t)),e.base=a):r=(a=Gt(e,"accent")).base;var i=wt(r,t.havingCrampedStyle()),o=0;if(a.isShifty&&m.isCharacterBox(r)){var s=m.getBaseElem(r);o=te(wt(s,t.havingCrampedStyle())).skew}var l,h="\\c"===a.label,c=h?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(a.isStretchy)l=Ft(a,t),l=Ke.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+G(2*o)+")",marginLeft:G(2*o)}:void 0}]},t);else{var p,u;"\\vec"===a.label?(p=Ke.staticSvg("vec",t),u=Ke.svgData.vec[1]):((p=te(p=Ke.makeOrd({mode:a.mode,text:a.label},t,"textord"))).italic=0,u=p.width,h&&(c+=p.depth)),l=Ke.makeSpan(["accent-body"],[p]);var d="\\textcircled"===a.label;d&&(l.classes.push("accent-full"),c=i.height);var g=o;d||(g-=u/2),l.style.left=G(g),"\\textcircled"===a.label&&(l.style.top=".2em"),l=Ke.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:l}]},t)}var f=Ke.makeSpan(["mord","accent"],[l],t);return n?(n.children[0]=f,n.height=Math.max(f.height,n.height),n.classes[0]="mord",n):f},Wt=(e,t)=>{var r=e.isStretchy?Pt(e.label):new Tt.MathNode("mo",[Bt(e.label,e.mode)]),a=new Tt.MathNode("mover",[Rt(e.base,t),r]);return a.setAttribute("accent","true"),a},_t=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));ot({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=lt(t[0]),a=!_t.test(e.funcName),n=!a||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:Xt,mathmlBuilder:Wt}),ot({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],a=e.parser.mode;return"math"===a&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Xt,mathmlBuilder:Wt}),ot({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(e,t)=>{var r=wt(e.base,t),a=Ft(e,t),n="\\utilde"===e.label?.12:0,i=Ke.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return Ke.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Pt(e.label),a=new Tt.MathNode("munder",[Rt(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var jt=e=>{var t=new Tt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ot({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a,funcName:n}=e;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a=t.style,n=t.havingStyle(a.sup()),i=Ke.wrapFragment(wt(e.body,n,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(o+"-arrow-pad"),e.below&&(n=t.havingStyle(a.sub()),(r=Ke.wrapFragment(wt(e.below,n,t),t)).classes.push(o+"-arrow-pad"));var s,l=Ft(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=i.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=Ke.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else s=Ke.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),Ke.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,a=Pt(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=jt(Rt(e.body,t));if(e.below){var i=jt(Rt(e.below,t));r=new Tt.MathNode("munderover",[a,i,n])}else r=new Tt.MathNode("mover",[a,n])}else if(e.below){var o=jt(Rt(e.below,t));r=new Tt.MathNode("munder",[a,o])}else r=jt(),r=new Tt.MathNode("mover",[a,r]);return r}});var $t=Ke.makeSpan;function Zt(e,t){var r=gt(e.body,t,!0);return $t([e.mclass],r,t)}function Kt(e,t){var r,a=qt(e.body,t);return"minner"===e.mclass?r=new Tt.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new Tt.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new Tt.MathNode("mo",a),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ot({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:ht(n),isCharacterBox:m.isCharacterBox(n)}},htmlBuilder:Zt,mathmlBuilder:Kt});var Jt=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};ot({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Jt(t[0]),body:ht(t[1]),isCharacterBox:m.isCharacterBox(t[1])}}}),ot({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:a,funcName:n}=e,i=t[1],o=t[0];r="\\stackrel"!==n?Jt(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:ht(i)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===n?null:o,sub:"\\underset"===n?o:null};return{type:"mclass",mode:a.mode,mclass:r,body:[l],isCharacterBox:m.isCharacterBox(l)}},htmlBuilder:Zt,mathmlBuilder:Kt}),ot({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Jt(t[0]),body:ht(t[0])}},htmlBuilder(e,t){var r=gt(e.body,t,!0),a=Ke.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=qt(e.body,t),a=new Tt.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var Qt={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},er=e=>"textord"===e.type&&"@"===e.text;function tr(e,t,r){var a=Qt[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n={type:"atom",text:a,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[n],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}ot({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),a=Ke.wrapFragment(wt(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=G(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new Tt.MathNode("mrow",[Rt(e.label,t)]);return(r=new Tt.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Tt.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),ot({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=Ke.wrapFragment(wt(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new Tt.MathNode("mrow",[Rt(e.fragment,t)])}),ot({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,a=Gt(t[0],"ordgroup").body,n="",o=0;o=1114111)throw new i("\\@char with invalid code point "+n);return l<=65535?s=String.fromCharCode(l):(l-=65536,s=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:r.mode,text:s}}});var rr=(e,t)=>{var r=gt(e.body,t.withColor(e.color),!1);return Ke.makeFragment(r)},ar=(e,t)=>{var r=qt(e.body,t.withColor(e.color)),a=new Tt.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};ot({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=Gt(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:ht(n)}},htmlBuilder:rr,mathmlBuilder:ar}),ot({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=Gt(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:rr,mathmlBuilder:ar}),ot({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:a}=e,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&Gt(n,"size").value}},htmlBuilder(e,t){var r=Ke.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=G(F(e.size,t)))),r},mathmlBuilder(e,t){var r=new Tt.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",G(F(e.size,t)))),r}});var nr={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},ir=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},or=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};ot({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(nr[a.text])return"\\global"!==r&&"\\\\globallong"!==r||(a.text=nr[a.text]),Gt(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",a)}}),ot({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=t.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new i("Expected a control sequence",a);for(var o,s=0,l=[[]];"{"!==t.gullet.future().text;)if("#"===(a=t.gullet.popToken()).text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[s].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new i('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new i('Argument number "'+a.text+'" out of order');s++,l.push([])}else{if("EOF"===a.text)throw new i("Expected a macro definition");l[s].push(a.text)}var{tokens:h}=t.gullet.consumeArg();return o&&h.unshift(o),"\\edef"!==r&&"\\xdef"!==r||(h=t.gullet.expandTokens(h)).reverse(),t.gullet.macros.set(n,{tokens:h,numArgs:s,delimiters:l},r===nr[r]),{type:"internal",mode:t.mode}}}),ot({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=ir(t.gullet.popToken());t.gullet.consumeSpaces();var n=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return or(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),ot({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=ir(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return or(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var sr=function(e,t,r){var a=I(ne.math[e]&&ne.math[e].replace||e,t,r);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return a},lr=function(e,t,r,a){var n=r.havingBaseStyle(t),i=Ke.makeSpan(a.concat(n.sizingClasses(r)),[e],r),o=n.sizeMultiplier/r.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=n.sizeMultiplier,i},hr=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=G(n),e.height-=n,e.depth+=n},mr=function(e,t,r,a,n,i){var o=function(e,t,r,a){return Ke.makeSymbol(e,"Size"+t+"-Regular",r,a)}(e,t,n,a),s=lr(Ke.makeSpan(["delimsizing","size"+t],[o],a),k.TEXT,a,i);return r&&hr(s,a,k.TEXT),s},cr=function(e,t,r){var a;return a="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Ke.makeSpan(["delimsizinginner",a],[Ke.makeSpan([],[Ke.makeSymbol(e,t,r)])])}},pr=function(e,t,r){var a=C["Size4-Regular"][e.charCodeAt(0)]?C["Size4-Regular"][e.charCodeAt(0)][4]:C["Size1-Regular"][e.charCodeAt(0)][4],n=new Q("inner",function(e,t){switch(e){case"\u239c":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"\u239f":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23a2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23a5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23aa":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23d0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new J([n],{width:G(a),height:G(t),style:"width:"+G(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Ke.makeSvgSpan([],[i],r);return o.height=t,o.style.height=G(t),o.style.width=G(a),{type:"elem",elem:o}},ur={type:"kern",size:-.008},dr=["|","\\lvert","\\rvert","\\vert"],gr=["\\|","\\lVert","\\rVert","\\Vert"],fr=function(e,t,r,a,n,i){var o,s,l,h,c="",p=0;o=l=h=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=h="\u23d0":"\\Uparrow"===e?l=h="\u2016":"\\downarrow"===e?o=l="\u23d0":"\\Downarrow"===e?o=l="\u2016":"\\updownarrow"===e?(o="\\uparrow",l="\u23d0",h="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",l="\u2016",h="\\Downarrow"):m.contains(dr,e)?(l="\u2223",c="vert",p=333):m.contains(gr,e)?(l="\u2225",c="doublevert",p=556):"["===e||"\\lbrack"===e?(o="\u23a1",l="\u23a2",h="\u23a3",u="Size4-Regular",c="lbrack",p=667):"]"===e||"\\rbrack"===e?(o="\u23a4",l="\u23a5",h="\u23a6",u="Size4-Regular",c="rbrack",p=667):"\\lfloor"===e||"\u230a"===e?(l=o="\u23a2",h="\u23a3",u="Size4-Regular",c="lfloor",p=667):"\\lceil"===e||"\u2308"===e?(o="\u23a1",l=h="\u23a2",u="Size4-Regular",c="lceil",p=667):"\\rfloor"===e||"\u230b"===e?(l=o="\u23a5",h="\u23a6",u="Size4-Regular",c="rfloor",p=667):"\\rceil"===e||"\u2309"===e?(o="\u23a4",l=h="\u23a5",u="Size4-Regular",c="rceil",p=667):"("===e||"\\lparen"===e?(o="\u239b",l="\u239c",h="\u239d",u="Size4-Regular",c="lparen",p=875):")"===e||"\\rparen"===e?(o="\u239e",l="\u239f",h="\u23a0",u="Size4-Regular",c="rparen",p=875):"\\{"===e||"\\lbrace"===e?(o="\u23a7",s="\u23a8",h="\u23a9",l="\u23aa",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="\u23ab",s="\u23ac",h="\u23ad",l="\u23aa",u="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(o="\u23a7",h="\u23a9",l="\u23aa",u="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(o="\u23ab",h="\u23ad",l="\u23aa",u="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(o="\u23a7",h="\u23ad",l="\u23aa",u="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(o="\u23ab",h="\u23a9",l="\u23aa",u="Size4-Regular");var d=sr(o,u,n),g=d.height+d.depth,f=sr(l,u,n),v=f.height+f.depth,b=sr(h,u,n),y=b.height+b.depth,x=0,w=1;if(null!==s){var S=sr(s,u,n);x=S.height+S.depth,w=2}var M=g+y+x,z=M+Math.max(0,Math.ceil((t-M)/(w*v)))*w*v,A=a.fontMetrics().axisHeight;r&&(A*=a.sizeMultiplier);var T=z/2-A,B=[];if(c.length>0){var C=z-g-y,N=Math.round(1e3*z),q=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(c,Math.round(1e3*C)),I=new Q(c,q),R=(p/1e3).toFixed(3)+"em",H=(N/1e3).toFixed(3)+"em",O=new J([I],{width:R,height:H,viewBox:"0 0 "+p+" "+N}),E=Ke.makeSvgSpan([],[O],a);E.height=N/1e3,E.style.width=R,E.style.height=H,B.push({type:"elem",elem:E})}else{if(B.push(cr(h,u,n)),B.push(ur),null===s){var L=z-g-y+.016;B.push(pr(l,L,a))}else{var D=(z-g-y-x)/2+.016;B.push(pr(l,D,a)),B.push(ur),B.push(cr(s,u,n)),B.push(ur),B.push(pr(l,D,a))}B.push(ur),B.push(cr(o,u,n))}var V=a.havingBaseStyle(k.TEXT),P=Ke.makeVList({positionType:"bottom",positionData:T,children:B},V);return lr(Ke.makeSpan(["delimsizing","mult"],[P],V),k.TEXT,a,i)},vr=.08,br=function(e,t,r,a,n){var i=function(e,t,r){t*=1e3;var a="";switch(e){case"sqrtMain":a=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,A);break;case"sqrtSize1":a=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,A);break;case"sqrtSize2":a=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,A);break;case"sqrtSize3":a=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,A);break;case"sqrtSize4":a=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,A);break;case"sqrtTall":a=function(e,t,r){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(r-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,A,r)}return a}(e,a,r),o=new Q(e,i),s=new J([o],{width:"400em",height:G(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Ke.makeSvgSpan(["hide-tail"],[s],n)},yr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],xr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],wr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],kr=[0,1.2,1.8,2.4,3],Sr=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Mr=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"stack"}],zr=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ar=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Tr=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size);nt)return r[n]}return r[r.length-1]},Br=function(e,t,r,a,n,i){var o;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),o=m.contains(wr,e)?Sr:m.contains(yr,e)?zr:Mr;var s=Tr(e,t,o,a);return"small"===s.type?function(e,t,r,a,n,i){var o=Ke.makeSymbol(e,"Main-Regular",n,a),s=lr(o,t,a,i);return r&&hr(s,a,t),s}(e,s.style,r,a,n,i):"large"===s.type?mr(e,s.size,r,a,n,i):fr(e,t,r,a,n,i)},Cr={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=Tr("\\surd",e*n.sizeMultiplier,zr,n),o=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===i.type?(e<1?o=1:e<1.4&&(o=.7),h=(1+s)/o,(r=br("sqrtMain",l=(1+s+vr)/o,m=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",a=.833/o):"large"===i.type?(m=1080*kr[i.size],h=(kr[i.size]+s)/o,l=(kr[i.size]+s+vr)/o,(r=br("sqrtSize"+i.size,l,m,s,t)).style.minWidth="1.02em",a=1/o):(l=e+s+vr,h=e+s,m=Math.floor(1e3*e+s)+80,(r=br("sqrtTall",l,m,s,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=G(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),m.contains(yr,e)||m.contains(wr,e))return mr(e,t,!1,r,a,n);if(m.contains(xr,e))return fr(e,kr[t],!1,r,a,n);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:kr,customSizedDelim:Br,leftRightDelim:function(e,t,r,a,n,i){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,s=5/a.fontMetrics().ptPerEm,l=Math.max(t-o,r+o),h=Math.max(l/500*901,2*l-s);return Br(e,h,!0,a,n,i)}},Nr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},qr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ir(e,t){var r=Yt(e);if(r&&m.contains(qr,r.text))return r;throw new i(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Rr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ot({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Ir(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Nr[e.funcName].size,mclass:Nr[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?Ke.makeSpan([e.mclass]):Cr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(Bt(e.delim,e.mode));var r=new Tt.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=G(Cr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),ot({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Ir(t[0],e).text,color:r}}}),ot({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Ir(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=Gt(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Rr(e);for(var r,a,n=gt(e.body,t,!0,["mopen","mclose"]),i=0,o=0,s=!1,l=0;l{Rr(e);var r=qt(e.body,t);if("."!==e.left){var a=new Tt.MathNode("mo",[Bt(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new Tt.MathNode("mo",[Bt(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return Ct(r)}}),ot({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Ir(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=xt(t,[]);else{r=Cr.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};r.isMiddle=a}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?Bt("|","text"):Bt(e.delim,e.mode),a=new Tt.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Hr=(e,t)=>{var r,a,n,i=Ke.wrapFragment(wt(e.body,t),t),o=e.label.slice(1),s=t.sizeMultiplier,l=0,h=m.isCharacterBox(e.body);if("sout"===o)(r=Ke.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===o){var c=F({number:.6,unit:"pt"},t),p=F({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var u=i.height+i.depth+c+p;i.style.paddingLeft=G(u/2+c);var d=Math.floor(1e3*u*s),g="M400000 "+(a=d)+" H0 L"+a/2+" 0 l65 45 L145 "+(a-80)+" H400000z",f=new J([new Q("phase",g)],{width:"400em",height:G(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});(r=Ke.makeSvgSpan(["hide-tail"],[f],t)).style.height=G(u),l=i.depth+c+p}else{/cancel/.test(o)?h||i.classes.push("cancel-pad"):"angl"===o?i.classes.push("anglpad"):i.classes.push("boxpad");var v=0,b=0,y=0;/box/.test(o)?(y=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=v=t.fontMetrics().fboxsep+("colorbox"===o?0:y)):"angl"===o?(v=4*(y=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),b=Math.max(0,.25-i.depth)):b=v=h?.2:0,r=Vt(i,o,v,b,t),/fbox|boxed|fcolorbox/.test(o)?(r.style.borderStyle="solid",r.style.borderWidth=G(y)):"angl"===o&&.049!==y&&(r.style.borderTopWidth=G(y),r.style.borderRightWidth=G(y)),l=i.depth+b,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=Ke.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:l},{type:"elem",elem:i,shift:0}]},t);else{var x=/cancel|phase/.test(o)?["svg-align"]:[];n=Ke.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:r,shift:l,wrapperClasses:x}]},t)}return/cancel/.test(o)&&(n.height=i.height,n.depth=i.depth),/cancel/.test(o)&&!h?Ke.makeSpan(["mord","cancel-lap"],[n],t):Ke.makeSpan(["mord"],[n],t)},Or=(e,t)=>{var r=0,a=new Tt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Rt(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};ot({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Gt(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:o}},htmlBuilder:Hr,mathmlBuilder:Or}),ot({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Gt(t[0],"color-token").color,o=Gt(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:Hr,mathmlBuilder:Or}),ot({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),ot({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:Hr,mathmlBuilder:Or}),ot({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Er={};function Lr(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function Gr(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Ur(e,t,r){var{hskipBeforeAndAfter:a,addJot:o,cols:s,arraystretch:l,colSeparationType:h,autoTag:m,singleRow:c,emptySingleRow:p,maxNumCols:u,leqno:d}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var g=e.gullet.expandMacroAsText("\\arraystretch");if(null==g)l=1;else if(!(l=parseFloat(g))||l<0)throw new i("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var f=[],v=[f],b=[],y=[],x=null!=m?[]:void 0;function w(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new n("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(Boolean(m)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),y.push(Pr(e));;){var S=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),S={type:"ordgroup",mode:e.mode,body:S},r&&(S={type:"styling",mode:e.mode,style:r,body:[S]}),f.push(S);var M=e.fetch().text;if("&"===M){if(u&&f.length===u){if(c||h)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===M){k(),1===f.length&&"styling"===S.type&&0===S.body[0].body.length&&(v.length>1||!p)&&v.pop(),y.length0&&(y+=.25),h.push({pos:y,isDashed:e[t]})}for(x(o[0]),r=0;r0&&(M<(B+=b)&&(M=B),B=0),e.addJot&&(M+=g),z.height=S,z.depth=M,y+=S,z.pos=y,y+=M+B,l[r]=z,x(o[r+1])}var C,N,q=y/2+t.fontMetrics().axisHeight,I=e.cols||[],R=[],H=[];if(e.tags&&e.tags.some((e=>e)))for(r=0;r=s)){var W=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(W=m.deflt(V.pregap,u))&&((C=Ke.makeSpan(["arraycolsep"],[])).style.width=G(W),R.push(C));var _=[];for(r=0;r0){for(var K=Ke.makeLineSpan("hline",t,c),J=Ke.makeLineSpan("hdashline",t,c),Q=[{type:"elem",elem:l,shift:0}];h.length>0;){var ee=h.pop(),te=ee.pos-q;ee.isDashed?Q.push({type:"elem",elem:J,shift:te}):Q.push({type:"elem",elem:K,shift:te})}l=Ke.makeVList({positionType:"individualShift",children:Q},t)}if(0===H.length)return Ke.makeSpan(["mord"],[l],t);var re=Ke.makeVList({positionType:"individualShift",children:H},t);return re=Ke.makeSpan(["tag"],[re],t),Ke.makeFragment([l,re])},Wr={c:"center ",l:"left ",r:"right "},_r=function(e,t){for(var r=[],a=new Tt.MathNode("mtd",[],["mtr-glue"]),n=new Tt.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var u=e.cols,d="",g=!1,f=0,v=u.length;"separator"===u[0].type&&(c+="top ",f=1),"separator"===u[u.length-1].type&&(c+="bottom ",v-=1);for(var b=f;b0?"left ":"",c+=S[S.length-1].length>0?"right ":"";for(var M=1;M-1?"alignat":"align",o="split"===e.envName,s=Ur(e.parser,{cols:a,addJot:!0,autoTag:o?void 0:Gr(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var m="",c=0;c0&&p&&(g=1),a[u]={type:"align",align:d,pregap:g,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};Lr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(Yt(t[0])?[t[0]]:Gt(t[0],"ordgroup").body).map((function(e){var t=Ut(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)})),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Ur(e.parser,a,Yr(e.envName))},htmlBuilder:Xr,mathmlBuilder:_r}),Lr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,-1==="lcr".indexOf(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var o=Ur(e.parser,a,Yr(e.envName)),s=Math.max(0,...o.body.map((e=>e.length)));return o.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:Xr,mathmlBuilder:_r}),Lr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Ur(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Xr,mathmlBuilder:_r}),Lr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(Yt(t[0])?[t[0]]:Gt(t[0],"ordgroup").body).map((function(e){var t=Ut(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)}));if(r.length>1)throw new i("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=Ur(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new i("{subarray} can contain only one column");return a},htmlBuilder:Xr,mathmlBuilder:_r}),Lr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Ur(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Yr(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Xr,mathmlBuilder:_r}),Lr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:jr,htmlBuilder:Xr,mathmlBuilder:_r}),Lr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){m.contains(["gather","gather*"],e.envName)&&Fr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Gr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Ur(e.parser,t,"display")},htmlBuilder:Xr,mathmlBuilder:_r}),Lr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:jr,htmlBuilder:Xr,mathmlBuilder:_r}),Lr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Fr(e);var t={autoTag:Gr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Ur(e.parser,t,"display")},htmlBuilder:Xr,mathmlBuilder:_r}),Lr({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Fr(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var a,n,o=[],s=[o],l=0;l-1);else{if(!("<>AV".indexOf(p)>-1))throw new i('Expected one of "<>AV=|." after @',h[c]);for(var d=0;d<2;d++){for(var g=!0,f=c+1;f{var r=e.font,a=t.withFont(r);return wt(e.body,a)},Kr=(e,t)=>{var r=e.font,a=t.withFont(r);return Rt(e.body,a)},Jr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ot({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=lt(t[0]),i=a;return i in Jr&&(i=Jr[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:Zr,mathmlBuilder:Kr}),ot({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=m.isCharacterBox(a);return{type:"mclass",mode:r.mode,mclass:Jt(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),ot({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a,breakOnTokenText:n}=e,{mode:i}=r,o=r.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:Zr,mathmlBuilder:Kr});var Qr=(e,t)=>{var r=t;return"display"===e?r=r.id>=k.SCRIPT.id?r.text():k.DISPLAY:"text"===e&&r.size===k.DISPLAY.size?r=k.TEXT:"script"===e?r=k.SCRIPT:"scriptscript"===e&&(r=k.SCRIPTSCRIPT),r},ea=(e,t)=>{var r,a=Qr(e.size,t.style),n=a.fracNum(),i=a.fracDen();r=t.havingStyle(n);var o=wt(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?3*c:7*c,d=t.fontMetrics().denom1):(m>0?(p=t.fontMetrics().num2,u=c):(p=t.fontMetrics().num3,u=3*c),d=t.fontMetrics().denom2),h){var x=t.fontMetrics().axisHeight;p-o.depth-(x+.5*m){var r=new Tt.MathNode("mfrac",[Rt(e.numer,t),Rt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=F(e.barSize,t);r.setAttribute("linethickness",G(a))}}else r.setAttribute("linethickness","0px");var n=Qr(e.size,t.style);if(n.size!==t.style.size){r=new Tt.MathNode("mstyle",[r]);var i=n.size===k.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var o=[];if(null!=e.leftDelim){var s=new Tt.MathNode("mo",[new Tt.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(r),null!=e.rightDelim){var l=new Tt.MathNode("mo",[new Tt.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return Ct(o)}return r};ot({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:a,funcName:n}=e,i=t[0],o=t[1],s=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:a.mode,continued:!1,numer:i,denom:o,hasBarLine:r,leftDelim:s,rightDelim:l,size:h,barSize:null}},htmlBuilder:ea,mathmlBuilder:ta}),ot({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ot({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:a,token:n}=e;switch(a){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:n}}});var ra=["display","text","script","scriptscript"],aa=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};ot({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:a}=e,n=t[4],i=t[5],o=lt(t[0]),s="atom"===o.type&&"open"===o.family?aa(o.text):null,l=lt(t[1]),h="atom"===l.type&&"close"===l.family?aa(l.text):null,m=Gt(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var p="auto",u=t[3];if("ordgroup"===u.type){if(u.body.length>0){var d=Gt(u.body[0],"textord");p=ra[Number(d.text)]}}else u=Gt(u,"textord"),p=ra[Number(u.text)];return{type:"genfrac",mode:a.mode,numer:n,denom:i,continued:!1,hasBarLine:r,barSize:c,leftDelim:s,rightDelim:h,size:p}},htmlBuilder:ea,mathmlBuilder:ta}),ot({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:a,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Gt(t[0],"size").value,token:n}}}),ot({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Gt(t[1],"infix").size),o=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:o,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ea,mathmlBuilder:ta});var na=(e,t)=>{var r,a,n=t.style;"supsub"===e.type?(r=e.sup?wt(e.sup,t.havingStyle(n.sup()),t):wt(e.sub,t.havingStyle(n.sub()),t),a=Gt(e.base,"horizBrace")):a=Gt(e,"horizBrace");var i,o=wt(a.base,t.havingBaseStyle(k.DISPLAY)),s=Ft(a,t);if(a.isOver?(i=Ke.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=Ke.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=Ke.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t);i=a.isOver?Ke.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Ke.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Ke.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t)};ot({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:na,mathmlBuilder:(e,t)=>{var r=Pt(e.label);return new Tt.MathNode(e.isOver?"mover":"munder",[Rt(e.base,t),r])}}),ot({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=Gt(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:ht(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=gt(e.body,t,!1);return Ke.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=It(e.body,t);return r instanceof zt||(r=new zt("mrow",[r])),r.setAttribute("href",e.href),r}}),ot({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=Gt(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;inew Tt.MathNode("mrow",qt(e.body,t))}),ot({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:a,funcName:n,token:o}=e,s=Gt(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=s,r={command:"\\htmlClass",class:s};break;case"\\htmlId":h.id=s,r={command:"\\htmlId",id:s};break;case"\\htmlStyle":h.style=s,r={command:"\\htmlStyle",style:s};break;case"\\htmlData":for(var m=s.split(","),c=0;c{var r=gt(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=Ke.makeSpan(a,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&n.setAttribute(i,e.attributes[i]);return n},mathmlBuilder:(e,t)=>It(e.body,t)}),ot({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:ht(t[0]),mathml:ht(t[1])}},htmlBuilder:(e,t)=>{var r=gt(e.html,t,!1);return Ke.makeFragment(r)},mathmlBuilder:(e,t)=>It(e.mathml,t)});var ia=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!P(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ot({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:a}=e,n={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var h=Gt(r[0],"raw").string.split(","),m=0;m{var r=F(e.height,t),a=0;e.totalheight.number>0&&(a=F(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=F(e.width,t));var i={height:G(r+a)};n>0&&(i.width=G(n)),a>0&&(i.verticalAlign=G(-a));var o=new $(e.src,e.alt,i);return o.height=r,o.depth=a,o},mathmlBuilder:(e,t)=>{var r=new Tt.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=F(e.height,t),n=0;if(e.totalheight.number>0&&(n=F(e.totalheight,t)-a,r.setAttribute("valign",G(-n))),r.setAttribute("height",G(a+n)),e.width.number>0){var i=F(e.width,t);r.setAttribute("width",G(i))}return r.setAttribute("src",e.src),r}}),ot({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=Gt(t[0],"size");if(r.settings.strict){var i="m"===a[1],o="mu"===n.value.unit;i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, not "+n.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:(e,t)=>Ke.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=F(e.dimension,t);return new Tt.SpaceNode(r)}}),ot({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=Ke.makeSpan([],[wt(e.body,t)]),r=Ke.makeSpan(["inner"],[r],t)):r=Ke.makeSpan(["inner"],[wt(e.body,t)]);var a=Ke.makeSpan(["fix"],[]),n=Ke.makeSpan([e.alignment],[r,a],t),i=Ke.makeSpan(["strut"]);return i.style.height=G(n.height+n.depth),n.depth&&(i.style.verticalAlign=G(-n.depth)),n.children.unshift(i),n=Ke.makeSpan(["thinbox"],[n],t),Ke.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new Tt.MathNode("mpadded",[Rt(e.body,t)]);if("rlap"!==e.alignment){var a="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),ot({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:a}=e,n=a.mode;a.switchMode("math");var i="\\("===r?"\\)":"$",o=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:o}}}),ot({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});var oa=(e,t)=>{switch(t.style.size){case k.DISPLAY.size:return e.display;case k.TEXT.size:return e.text;case k.SCRIPT.size:return e.script;case k.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ot({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:ht(t[0]),text:ht(t[1]),script:ht(t[2]),scriptscript:ht(t[3])}},htmlBuilder:(e,t)=>{var r=oa(e,t),a=gt(r,t,!1);return Ke.makeFragment(a)},mathmlBuilder:(e,t)=>{var r=oa(e,t);return It(r,t)}});var sa=(e,t,r,a,n,i,o)=>{e=Ke.makeSpan([],[e]);var s,l,h,c=r&&m.isCharacterBox(r);if(t){var p=wt(t,a.havingStyle(n.sup()),a);l={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-p.depth)}}if(r){var u=wt(r,a.havingStyle(n.sub()),a);s={elem:u,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-u.height)}}if(l&&s){var d=a.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=Ke.makeVList({positionType:"bottom",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:G(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:G(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(s){var g=e.height-o;h=Ke.makeVList({positionType:"top",positionData:g,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:G(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var f=e.depth+o;h=Ke.makeVList({positionType:"bottom",positionData:f,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:G(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var v=[h];if(s&&0!==i&&!c){var b=Ke.makeSpan(["mspace"],[],a);b.style.marginRight=G(i),v.unshift(b)}return Ke.makeSpan(["mop","op-limits"],v,a)},la=["\\smallint"],ha=(e,t)=>{var r,a,n,i=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=Gt(e.base,"op"),i=!0):n=Gt(e,"op");var o,s=t.style,l=!1;if(s.size===k.DISPLAY.size&&n.symbol&&!m.contains(la,n.name)&&(l=!0),n.symbol){var h=l?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==n.name&&"\\oiiint"!==n.name||(c=n.name.slice(1),n.name="oiint"===c?"\\iint":"\\iiint"),o=Ke.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),c.length>0){var p=o.italic,u=Ke.staticSvg(c+"Size"+(l?"2":"1"),t);o=Ke.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:u,shift:l?.08:0}]},t),n.name="\\"+c,o.classes.unshift("mop"),o.italic=p}}else if(n.body){var d=gt(n.body,t,!0);1===d.length&&d[0]instanceof K?(o=d[0]).classes[0]="mop":o=Ke.makeSpan(["mop"],d,t)}else{for(var g=[],f=1;f{var r;if(e.symbol)r=new zt("mo",[Bt(e.name,e.mode)]),m.contains(la,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new zt("mo",qt(e.body,t));else{r=new zt("mi",[new At(e.name.slice(1))]);var a=new zt("mo",[Bt("\u2061","text")]);r=e.parentIsSupSub?new zt("mrow",[r,a]):Mt([r,a])}return r},ca={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};ot({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=ca[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ha,mathmlBuilder:ma}),ot({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ht(a)}},htmlBuilder:ha,mathmlBuilder:ma});var pa={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};ot({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ha,mathmlBuilder:ma}),ot({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ha,mathmlBuilder:ma}),ot({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=pa[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ha,mathmlBuilder:ma});var ua=(e,t)=>{var r,a,n,i,o=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=Gt(e.base,"operatorname"),o=!0):n=Gt(e,"operatorname"),n.body.length>0){for(var s=n.body.map((e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=gt(s,t.withFont("mathrm"),!0),h=0;h{var{parser:r,funcName:a}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:ht(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:ua,mathmlBuilder:(e,t)=>{for(var r=qt(e.body,t.withFont("mathrm")),a=!0,n=0;ne.toText())).join("");r=[new Tt.TextNode(s)]}var l=new Tt.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new Tt.MathNode("mo",[Bt("\u2061","text")]);return e.parentIsSupSub?new Tt.MathNode("mrow",[l,h]):Tt.newDocumentFragment([l,h])}}),Vr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),st({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Ke.makeFragment(gt(e.body,t,!1)):Ke.makeSpan(["mord"],gt(e.body,t,!0),t),mathmlBuilder:(e,t)=>It(e.body,t,!0)}),ot({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,a=t[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(e,t){var r=wt(e.body,t.havingCrampedStyle()),a=Ke.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Ke.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return Ke.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new Tt.MathNode("mo",[new Tt.TextNode("\u203e")]);r.setAttribute("stretchy","true");var a=new Tt.MathNode("mover",[Rt(e.body,t),r]);return a.setAttribute("accent","true"),a}}),ot({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"phantom",mode:r.mode,body:ht(a)}},htmlBuilder:(e,t)=>{var r=gt(e.body,t.withPhantom(),!1);return Ke.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=qt(e.body,t);return new Tt.MathNode("mphantom",r)}}),ot({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Ke.makeSpan([],[wt(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=qt(ht(e.body),t),a=new Tt.MathNode("mphantom",r),n=new Tt.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),ot({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Ke.makeSpan(["inner"],[wt(e.body,t.withPhantom())]),a=Ke.makeSpan(["fix"],[]);return Ke.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=qt(ht(e.body),t),a=new Tt.MathNode("mphantom",r),n=new Tt.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),ot({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=Gt(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=wt(e.body,t),a=F(e.dy,t);return Ke.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new Tt.MathNode("mpadded",[Rt(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),ot({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ot({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:a}=e,n=r[0],i=Gt(t[0],"size"),o=Gt(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&Gt(n,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var r=Ke.makeSpan(["mord","rule"],[],t),a=F(e.width,t),n=F(e.height,t),i=e.shift?F(e.shift,t):0;return r.style.borderRightWidth=G(a),r.style.borderTopWidth=G(n),r.style.bottom=G(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=F(e.width,t),a=F(e.height,t),n=e.shift?F(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new Tt.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",G(r)),o.setAttribute("height",G(a));var s=new Tt.MathNode("mpadded",[o]);return n>=0?s.setAttribute("height",G(n)):(s.setAttribute("height",G(n)),s.setAttribute("depth",G(-n))),s.setAttribute("voffset",G(n)),s}});var ga=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ot({type:"sizing",names:ga,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:ga.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return da(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=qt(e.body,r),n=new Tt.MathNode("mstyle",a);return n.setAttribute("mathsize",G(r.sizeMultiplier)),n}}),ot({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:a}=e,n=!1,i=!1,o=r[0]&&Gt(r[0],"ordgroup");if(o)for(var s="",l=0;l{var r=Ke.makeSpan([],[wt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new Tt.MathNode("mpadded",[Rt(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ot({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a}=e,n=r[0],i=t[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(e,t){var r=wt(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=Ke.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.idr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var c=s.height-r.height-i-l;r.style.paddingLeft=G(h);var p=Ke.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var u=t.havingStyle(k.SCRIPTSCRIPT),d=wt(e.index,u,t),g=.6*(p.height-p.depth),f=Ke.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=Ke.makeSpan(["root"],[f]);return Ke.makeSpan(["mord","sqrt"],[v,p],t)}return Ke.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new Tt.MathNode("mroot",[Rt(r,t),Rt(a,t)]):new Tt.MathNode("msqrt",[Rt(r,t)])}});var fa={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT};ot({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!0,r),o=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:o,body:i}},htmlBuilder(e,t){var r=fa[e.style],a=t.havingStyle(r).withFont("");return da(e.body,a,t)},mathmlBuilder(e,t){var r=fa[e.style],a=t.havingStyle(r),n=qt(e.body,a),i=new Tt.MathNode("mstyle",n),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});st({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===k.DISPLAY.size||r.alwaysHandleSupSub)?ha:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===k.DISPLAY.size||r.limits)?ua:null:"accent"===r.type?m.isCharacterBox(r.base)?Xt:null:"horizBrace"===r.type&&!e.sub===r.isOver?na:null:null}(e,t);if(r)return r(e,t);var a,n,i,{base:o,sup:s,sub:l}=e,h=wt(o,t),c=t.fontMetrics(),p=0,u=0,d=o&&m.isCharacterBox(o);if(s){var g=t.havingStyle(t.style.sup());a=wt(s,g,t),d||(p=h.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(l){var f=t.havingStyle(t.style.sub());n=wt(l,f,t),d||(u=h.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}i=t.style===k.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var v,b=t.sizeMultiplier,y=G(.5/c.ptPerEm/b),x=null;if(n){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(h instanceof K||w)&&(x=G(-h.italic))}if(a&&n){p=Math.max(p,i,a.depth+.25*c.xHeight),u=Math.max(u,c.sub2);var S=4*c.defaultRuleThickness;if(p-a.depth-(n.height-u)0&&(p+=M,u-=M)}var z=[{type:"elem",elem:n,shift:u,marginRight:y,marginLeft:x},{type:"elem",elem:a,shift:-p,marginRight:y}];v=Ke.makeVList({positionType:"individualShift",children:z},t)}else if(n){u=Math.max(u,c.sub1,n.height-.8*c.xHeight);var A=[{type:"elem",elem:n,marginLeft:x,marginRight:y}];v=Ke.makeVList({positionType:"shift",positionData:u,children:A},t)}else{if(!a)throw new Error("supsub must have either sup or sub.");p=Math.max(p,i,a.depth+.25*c.xHeight),v=Ke.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:a,marginRight:y}]},t)}var T=yt(h,"right")||"mord";return Ke.makeSpan([T],[h,Ke.makeSpan(["msupsub"],[v])],t)},mathmlBuilder(e,t){var r,a=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(a=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var n,i=[Rt(e.base,t)];if(e.sub&&i.push(Rt(e.sub,t)),e.sup&&i.push(Rt(e.sup,t)),a)n=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;n=o&&"op"===o.type&&o.limits&&t.style===k.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===k.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;n=s&&"op"===s.type&&s.limits&&(t.style===k.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===k.DISPLAY)?"munder":"msub"}else{var l=e.base;n=l&&"op"===l.type&&l.limits&&(t.style===k.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===k.DISPLAY)?"mover":"msup"}return new Tt.MathNode(n,i)}}),st({type:"atom",htmlBuilder:(e,t)=>Ke.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new Tt.MathNode("mo",[Bt(e.text,e.mode)]);if("bin"===e.family){var a=Nt(e,t);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var va={mi:"italic",mn:"normal",mtext:"normal"};st({type:"mathord",htmlBuilder:(e,t)=>Ke.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new Tt.MathNode("mi",[Bt(e.text,e.mode,t)]),a=Nt(e,t)||"italic";return a!==va[r.type]&&r.setAttribute("mathvariant",a),r}}),st({type:"textord",htmlBuilder:(e,t)=>Ke.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=Bt(e.text,e.mode,t),n=Nt(e,t)||"normal";return r="text"===e.mode?new Tt.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new Tt.MathNode("mn",[a]):"\\prime"===e.text?new Tt.MathNode("mo",[a]):new Tt.MathNode("mi",[a]),n!==va[r.type]&&r.setAttribute("mathvariant",n),r}});var ba={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ya={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};st({type:"spacing",htmlBuilder(e,t){if(ya.hasOwnProperty(e.text)){var r=ya[e.text].className||"";if("text"===e.mode){var a=Ke.makeOrd(e,t,"textord");return a.classes.push(r),a}return Ke.makeSpan(["mspace",r],[Ke.mathsym(e.text,e.mode,t)],t)}if(ba.hasOwnProperty(e.text))return Ke.makeSpan(["mspace",ba[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!ya.hasOwnProperty(e.text)){if(ba.hasOwnProperty(e.text))return new Tt.MathNode("mspace");throw new i('Unknown type of space "'+e.text+'"')}return new Tt.MathNode("mtext",[new Tt.TextNode("\xa0")])}});var xa=()=>{var e=new Tt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};st({type:"tag",mathmlBuilder(e,t){var r=new Tt.MathNode("mtable",[new Tt.MathNode("mtr",[xa(),new Tt.MathNode("mtd",[It(e.body,t)]),xa(),new Tt.MathNode("mtd",[It(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var wa={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ka={"\\textbf":"textbf","\\textmd":"textmd"},Sa={"\\textit":"textit","\\textup":"textup"},Ma=(e,t)=>{var r=e.font;return r?wa[r]?t.withTextFontFamily(wa[r]):ka[r]?t.withTextFontWeight(ka[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(Sa[r]):t};ot({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"text",mode:r.mode,body:ht(n),font:a}},htmlBuilder(e,t){var r=Ma(e,t),a=gt(e.body,r,!0);return Ke.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=Ma(e,t);return It(e.body,r)}}),ot({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=wt(e.body,t),a=Ke.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Ke.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return Ke.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new Tt.MathNode("mo",[new Tt.TextNode("\u203e")]);r.setAttribute("stretchy","true");var a=new Tt.MathNode("munder",[Rt(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),ot({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=wt(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return Ke.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new Tt.MathNode("mpadded",[Rt(e.body,t)],["vcenter"])}),ot({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=za(e),a=[],n=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"\u2423":"\xa0"),Aa=at,Ta="[ \r\n\t]",Ba="(\\\\[a-zA-Z@]+)"+Ta+"*",Ca="[\u0300-\u036f]",Na=new RegExp(Ca+"+$"),qa="("+Ta+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff]"+Ca+"*|[\ud800-\udbff][\udc00-\udfff]"+Ca+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Ba+"|\\\\[^\ud800-\udfff])";class Ia{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(qa,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new n("EOF",new a(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new n(e[t],new a(this,t,t+1)));var o=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[o]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new n(o,new a(this,t,this.tokenRegex.lastIndex))}}class Ra{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Ha=Dr;Vr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Vr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Vr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Vr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Vr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Vr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Vr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Oa={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Vr("\\char",(function(e){var t,r=e.popToken(),a="";if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])a=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new i("\\char` missing argument");a=r.text.charCodeAt(0)}else t=10;if(t){if(null==(a=Oa[r.text])||a>=t)throw new i("Invalid base-"+t+" digit "+r.text);for(var n;null!=(n=Oa[e.future().text])&&n{var a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");var n=a[0].text,o=e.isDefined(n);if(o&&!t)throw new i("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!o&&!r)throw new i("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+l);s=parseInt(l),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:s}),""};Vr("\\newcommand",(e=>Ea(e,!1,!0))),Vr("\\renewcommand",(e=>Ea(e,!0,!1))),Vr("\\providecommand",(e=>Ea(e,!0,!0))),Vr("\\message",(e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Vr("\\errmessage",(e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Vr("\\show",(e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Aa[r],ne.math[r],ne.text[r]),""})),Vr("\\bgroup","{"),Vr("\\egroup","}"),Vr("~","\\nobreakspace"),Vr("\\lq","`"),Vr("\\rq","'"),Vr("\\aa","\\r a"),Vr("\\AA","\\r A"),Vr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),Vr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Vr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),Vr("\u212c","\\mathscr{B}"),Vr("\u2130","\\mathscr{E}"),Vr("\u2131","\\mathscr{F}"),Vr("\u210b","\\mathscr{H}"),Vr("\u2110","\\mathscr{I}"),Vr("\u2112","\\mathscr{L}"),Vr("\u2133","\\mathscr{M}"),Vr("\u211b","\\mathscr{R}"),Vr("\u212d","\\mathfrak{C}"),Vr("\u210c","\\mathfrak{H}"),Vr("\u2128","\\mathfrak{Z}"),Vr("\\Bbbk","\\Bbb{k}"),Vr("\xb7","\\cdotp"),Vr("\\llap","\\mathllap{\\textrm{#1}}"),Vr("\\rlap","\\mathrlap{\\textrm{#1}}"),Vr("\\clap","\\mathclap{\\textrm{#1}}"),Vr("\\mathstrut","\\vphantom{(}"),Vr("\\underbar","\\underline{\\text{#1}}"),Vr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Vr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Vr("\\ne","\\neq"),Vr("\u2260","\\neq"),Vr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Vr("\u2209","\\notin"),Vr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Vr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Vr("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),Vr("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),Vr("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),Vr("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),Vr("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),Vr("\u27c2","\\perp"),Vr("\u203c","\\mathclose{!\\mkern-0.8mu!}"),Vr("\u220c","\\notni"),Vr("\u231c","\\ulcorner"),Vr("\u231d","\\urcorner"),Vr("\u231e","\\llcorner"),Vr("\u231f","\\lrcorner"),Vr("\xa9","\\copyright"),Vr("\xae","\\textregistered"),Vr("\ufe0f","\\textregistered"),Vr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Vr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Vr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Vr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Vr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Vr("\u22ee","\\vdots"),Vr("\\varGamma","\\mathit{\\Gamma}"),Vr("\\varDelta","\\mathit{\\Delta}"),Vr("\\varTheta","\\mathit{\\Theta}"),Vr("\\varLambda","\\mathit{\\Lambda}"),Vr("\\varXi","\\mathit{\\Xi}"),Vr("\\varPi","\\mathit{\\Pi}"),Vr("\\varSigma","\\mathit{\\Sigma}"),Vr("\\varUpsilon","\\mathit{\\Upsilon}"),Vr("\\varPhi","\\mathit{\\Phi}"),Vr("\\varPsi","\\mathit{\\Psi}"),Vr("\\varOmega","\\mathit{\\Omega}"),Vr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Vr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Vr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Vr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Vr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Vr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var La={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Vr("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in La?t=La[r]:("\\not"===r.slice(0,4)||r in ne.math&&m.contains(["bin","rel"],ne.math[r].group))&&(t="\\dotsb"),t}));var Da={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Vr("\\dotso",(function(e){return e.future().text in Da?"\\ldots\\,":"\\ldots"})),Vr("\\dotsc",(function(e){var t=e.future().text;return t in Da&&","!==t?"\\ldots\\,":"\\ldots"})),Vr("\\cdots",(function(e){return e.future().text in Da?"\\@cdots\\,":"\\@cdots"})),Vr("\\dotsb","\\cdots"),Vr("\\dotsm","\\cdots"),Vr("\\dotsi","\\!\\cdots"),Vr("\\dotsx","\\ldots\\,"),Vr("\\DOTSI","\\relax"),Vr("\\DOTSB","\\relax"),Vr("\\DOTSX","\\relax"),Vr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Vr("\\,","\\tmspace+{3mu}{.1667em}"),Vr("\\thinspace","\\,"),Vr("\\>","\\mskip{4mu}"),Vr("\\:","\\tmspace+{4mu}{.2222em}"),Vr("\\medspace","\\:"),Vr("\\;","\\tmspace+{5mu}{.2777em}"),Vr("\\thickspace","\\;"),Vr("\\!","\\tmspace-{3mu}{.1667em}"),Vr("\\negthinspace","\\!"),Vr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Vr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Vr("\\enspace","\\kern.5em "),Vr("\\enskip","\\hskip.5em\\relax"),Vr("\\quad","\\hskip1em\\relax"),Vr("\\qquad","\\hskip2em\\relax"),Vr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Vr("\\tag@paren","\\tag@literal{({#1})}"),Vr("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Vr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Vr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Vr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Vr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Vr("\\newline","\\\\\\relax"),Vr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Va=G(C["Main-Regular"]["T".charCodeAt(0)][1]-.7*C["Main-Regular"]["A".charCodeAt(0)][1]);Vr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Va+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Vr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Va+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Vr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Vr("\\@hspace","\\hskip #1\\relax"),Vr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Vr("\\ordinarycolon",":"),Vr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Vr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Vr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Vr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Vr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Vr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Vr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Vr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Vr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Vr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Vr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Vr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Vr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Vr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Vr("\u2237","\\dblcolon"),Vr("\u2239","\\eqcolon"),Vr("\u2254","\\coloneqq"),Vr("\u2255","\\eqqcolon"),Vr("\u2a74","\\Coloneqq"),Vr("\\ratio","\\vcentcolon"),Vr("\\coloncolon","\\dblcolon"),Vr("\\colonequals","\\coloneqq"),Vr("\\coloncolonequals","\\Coloneqq"),Vr("\\equalscolon","\\eqqcolon"),Vr("\\equalscoloncolon","\\Eqqcolon"),Vr("\\colonminus","\\coloneq"),Vr("\\coloncolonminus","\\Coloneq"),Vr("\\minuscolon","\\eqcolon"),Vr("\\minuscoloncolon","\\Eqcolon"),Vr("\\coloncolonapprox","\\Colonapprox"),Vr("\\coloncolonsim","\\Colonsim"),Vr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),Vr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Vr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Vr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Vr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Vr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Vr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Vr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Vr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Vr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Vr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Vr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Vr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Vr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Vr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Vr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Vr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Vr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Vr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Vr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),Vr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),Vr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),Vr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),Vr("\\imath","\\html@mathml{\\@imath}{\u0131}"),Vr("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Vr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),Vr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),Vr("\u27e6","\\llbracket"),Vr("\u27e7","\\rrbracket"),Vr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Vr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Vr("\u2983","\\lBrace"),Vr("\u2984","\\rBrace"),Vr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29b5}}"),Vr("\u29b5","\\minuso"),Vr("\\darr","\\downarrow"),Vr("\\dArr","\\Downarrow"),Vr("\\Darr","\\Downarrow"),Vr("\\lang","\\langle"),Vr("\\rang","\\rangle"),Vr("\\uarr","\\uparrow"),Vr("\\uArr","\\Uparrow"),Vr("\\Uarr","\\Uparrow"),Vr("\\N","\\mathbb{N}"),Vr("\\R","\\mathbb{R}"),Vr("\\Z","\\mathbb{Z}"),Vr("\\alef","\\aleph"),Vr("\\alefsym","\\aleph"),Vr("\\Alpha","\\mathrm{A}"),Vr("\\Beta","\\mathrm{B}"),Vr("\\bull","\\bullet"),Vr("\\Chi","\\mathrm{X}"),Vr("\\clubs","\\clubsuit"),Vr("\\cnums","\\mathbb{C}"),Vr("\\Complex","\\mathbb{C}"),Vr("\\Dagger","\\ddagger"),Vr("\\diamonds","\\diamondsuit"),Vr("\\empty","\\emptyset"),Vr("\\Epsilon","\\mathrm{E}"),Vr("\\Eta","\\mathrm{H}"),Vr("\\exist","\\exists"),Vr("\\harr","\\leftrightarrow"),Vr("\\hArr","\\Leftrightarrow"),Vr("\\Harr","\\Leftrightarrow"),Vr("\\hearts","\\heartsuit"),Vr("\\image","\\Im"),Vr("\\infin","\\infty"),Vr("\\Iota","\\mathrm{I}"),Vr("\\isin","\\in"),Vr("\\Kappa","\\mathrm{K}"),Vr("\\larr","\\leftarrow"),Vr("\\lArr","\\Leftarrow"),Vr("\\Larr","\\Leftarrow"),Vr("\\lrarr","\\leftrightarrow"),Vr("\\lrArr","\\Leftrightarrow"),Vr("\\Lrarr","\\Leftrightarrow"),Vr("\\Mu","\\mathrm{M}"),Vr("\\natnums","\\mathbb{N}"),Vr("\\Nu","\\mathrm{N}"),Vr("\\Omicron","\\mathrm{O}"),Vr("\\plusmn","\\pm"),Vr("\\rarr","\\rightarrow"),Vr("\\rArr","\\Rightarrow"),Vr("\\Rarr","\\Rightarrow"),Vr("\\real","\\Re"),Vr("\\reals","\\mathbb{R}"),Vr("\\Reals","\\mathbb{R}"),Vr("\\Rho","\\mathrm{P}"),Vr("\\sdot","\\cdot"),Vr("\\sect","\\S"),Vr("\\spades","\\spadesuit"),Vr("\\sub","\\subset"),Vr("\\sube","\\subseteq"),Vr("\\supe","\\supseteq"),Vr("\\Tau","\\mathrm{T}"),Vr("\\thetasym","\\vartheta"),Vr("\\weierp","\\wp"),Vr("\\Zeta","\\mathrm{Z}"),Vr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Vr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Vr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Vr("\\bra","\\mathinner{\\langle{#1}|}"),Vr("\\ket","\\mathinner{|{#1}\\rangle}"),Vr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Vr("\\Bra","\\left\\langle#1\\right|"),Vr("\\Ket","\\left|#1\\right\\rangle");var Pa=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",o),n.length&&r.macros.set("\\|",s));var i=t;!t&&n.length&&("|"===r.future().text&&(r.popToken(),i=!0));return{tokens:i?n:a,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};Vr("\\bra@ket",Pa(!1)),Vr("\\bra@set",Pa(!0)),Vr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Vr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Vr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Vr("\\angln","{\\angl n}"),Vr("\\blue","\\textcolor{##6495ed}{#1}"),Vr("\\orange","\\textcolor{##ffa500}{#1}"),Vr("\\pink","\\textcolor{##ff00af}{#1}"),Vr("\\red","\\textcolor{##df0030}{#1}"),Vr("\\green","\\textcolor{##28ae7b}{#1}"),Vr("\\gray","\\textcolor{gray}{#1}"),Vr("\\purple","\\textcolor{##9d38bd}{#1}"),Vr("\\blueA","\\textcolor{##ccfaff}{#1}"),Vr("\\blueB","\\textcolor{##80f6ff}{#1}"),Vr("\\blueC","\\textcolor{##63d9ea}{#1}"),Vr("\\blueD","\\textcolor{##11accd}{#1}"),Vr("\\blueE","\\textcolor{##0c7f99}{#1}"),Vr("\\tealA","\\textcolor{##94fff5}{#1}"),Vr("\\tealB","\\textcolor{##26edd5}{#1}"),Vr("\\tealC","\\textcolor{##01d1c1}{#1}"),Vr("\\tealD","\\textcolor{##01a995}{#1}"),Vr("\\tealE","\\textcolor{##208170}{#1}"),Vr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Vr("\\greenB","\\textcolor{##8af281}{#1}"),Vr("\\greenC","\\textcolor{##74cf70}{#1}"),Vr("\\greenD","\\textcolor{##1fab54}{#1}"),Vr("\\greenE","\\textcolor{##0d923f}{#1}"),Vr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Vr("\\goldB","\\textcolor{##ffbb71}{#1}"),Vr("\\goldC","\\textcolor{##ff9c39}{#1}"),Vr("\\goldD","\\textcolor{##e07d10}{#1}"),Vr("\\goldE","\\textcolor{##a75a05}{#1}"),Vr("\\redA","\\textcolor{##fca9a9}{#1}"),Vr("\\redB","\\textcolor{##ff8482}{#1}"),Vr("\\redC","\\textcolor{##f9685d}{#1}"),Vr("\\redD","\\textcolor{##e84d39}{#1}"),Vr("\\redE","\\textcolor{##bc2612}{#1}"),Vr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Vr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Vr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Vr("\\maroonD","\\textcolor{##ca337c}{#1}"),Vr("\\maroonE","\\textcolor{##9e034e}{#1}"),Vr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Vr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Vr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Vr("\\purpleD","\\textcolor{##7854ab}{#1}"),Vr("\\purpleE","\\textcolor{##543b78}{#1}"),Vr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Vr("\\mintB","\\textcolor{##edf2df}{#1}"),Vr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Vr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Vr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Vr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Vr("\\grayD","\\textcolor{##d6d8da}{#1}"),Vr("\\grayE","\\textcolor{##babec2}{#1}"),Vr("\\grayF","\\textcolor{##888d93}{#1}"),Vr("\\grayG","\\textcolor{##626569}{#1}"),Vr("\\grayH","\\textcolor{##3b3e40}{#1}"),Vr("\\grayI","\\textcolor{##21242c}{#1}"),Vr("\\kaBlue","\\textcolor{##314453}{#1}"),Vr("\\kaGreen","\\textcolor{##71B307}{#1}");var Fa={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ga{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ra(Ha,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new Ia(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,a;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:a,end:r}=this.consumeArg(["]"]))}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new n("EOF",r.loc)),this.pushTokens(a),t.range(r,"")}consumeSpaces(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var a,n=this.future(),o=0,s=0;do{if(a=this.popToken(),t.push(a),"{"===a.text)++o;else if("}"===a.text){if(-1===--o)throw new i("Extra }",a)}else if("EOF"===a.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&r?e[s]:"}")+"'",a);if(e&&r)if((0===o||1===o&&"{"===e[s])&&a.text===e[s]){if(++s===e.length){t.splice(-s,s);break}}else s=0}while(0!==o||r);return"{"===n.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:a}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,a=t.noexpand?null:this._getExpansion(r);if(null==a||e&&a.unexpandable){if(e&&null==a&&"\\"===r[0]&&!this.isDefined(r))throw new i("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs)for(var s=(n=n.slice()).length-1;s>=0;--s){var l=n[s];if("#"===l.text){if(0===s)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--s]).text)n.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new i("Not a valid argument number",l);n.splice(s,2,...o[+l.text-1])}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new n(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var a="function"==typeof t?t(this):t;if("string"==typeof a){var n=0;if(-1!==a.indexOf("#"))for(var i=a.replace(/##/g,"");-1!==i.indexOf("#"+(n+1));)++n;for(var o=new Ia(a,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||Aa.hasOwnProperty(e)||ne.math.hasOwnProperty(e)||ne.text.hasOwnProperty(e)||Fa.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Aa.hasOwnProperty(e)&&!Aa[e].primitive}}var Ua=/^[\u208a\u208b\u208c\u208d\u208e\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u2090\u2091\u2095\u1d62\u2c7c\u2096\u2097\u2098\u2099\u2092\u209a\u1d63\u209b\u209c\u1d64\u1d65\u2093\u1d66\u1d67\u1d68\u1d69\u1d6a]/,Ya=Object.freeze({"\u208a":"+","\u208b":"-","\u208c":"=","\u208d":"(","\u208e":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1d62":"i","\u2c7c":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209a":"p","\u1d63":"r","\u209b":"s","\u209c":"t","\u1d64":"u","\u1d65":"v","\u2093":"x","\u1d66":"\u03b2","\u1d67":"\u03b3","\u1d68":"\u03c1","\u1d69":"\u03d5","\u1d6a":"\u03c7","\u207a":"+","\u207b":"-","\u207c":"=","\u207d":"(","\u207e":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1d2c":"A","\u1d2e":"B","\u1d30":"D","\u1d31":"E","\u1d33":"G","\u1d34":"H","\u1d35":"I","\u1d36":"J","\u1d37":"K","\u1d38":"L","\u1d39":"M","\u1d3a":"N","\u1d3c":"O","\u1d3e":"P","\u1d3f":"R","\u1d40":"T","\u1d41":"U","\u2c7d":"V","\u1d42":"W","\u1d43":"a","\u1d47":"b","\u1d9c":"c","\u1d48":"d","\u1d49":"e","\u1da0":"f","\u1d4d":"g","\u02b0":"h","\u2071":"i","\u02b2":"j","\u1d4f":"k","\u02e1":"l","\u1d50":"m","\u207f":"n","\u1d52":"o","\u1d56":"p","\u02b3":"r","\u02e2":"s","\u1d57":"t","\u1d58":"u","\u1d5b":"v","\u02b7":"w","\u02e3":"x","\u02b8":"y","\u1dbb":"z","\u1d5d":"\u03b2","\u1d5e":"\u03b3","\u1d5f":"\u03b4","\u1d60":"\u03d5","\u1d61":"\u03c7","\u1dbf":"\u03b8"}),Xa={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"},"\u0327":{text:"\\c"}},Wa={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u1e09":"c\u0327\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\xe7":"c\u0327","\u010f":"d\u030c","\u1e0b":"d\u0307","\u1e11":"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u1e1d":"e\u0327\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u0229":"e\u0327","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u0123":"g\u0327","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\u1e29":"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u0137":"k\u0327","\u013a":"l\u0301","\u013e":"l\u030c","\u013c":"l\u0327","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\u0146":"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u0157":"r\u0327","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u015f":"s\u0327","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\u0163":"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u1e08":"C\u0327\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\xc7":"C\u0327","\u010e":"D\u030c","\u1e0a":"D\u0307","\u1e10":"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u1e1c":"E\u0327\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u0228":"E\u0327","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u0122":"G\u0327","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\u1e28":"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0136":"K\u0327","\u0139":"L\u0301","\u013d":"L\u030c","\u013b":"L\u0327","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\u0145":"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u0156":"R\u0327","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u015e":"S\u0327","\u0164":"T\u030c","\u1e6a":"T\u0307","\u0162":"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"};class _a{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ga(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new n("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==_a.endOfExpression.indexOf(a.text))break;if(t&&a.text===t)break;if(e&&Aa[a.text]&&Aa[a.text].infix)break;var n=this.parseAtom(t);if(!n)break;"internal"!==n.type&&r.push(n)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,h=ne[this.mode][t].group,m=a.range(e);if(re.hasOwnProperty(h)){var c=h;l={type:"atom",mode:this.mode,family:c,loc:m,text:t}}else l={type:h,mode:this.mode,loc:m,text:t};o=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(z(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),s)for(var p=0;p{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>p,frontMatter:()=>r,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","source":"@site/docs/intro/getting_started.md","sourceDirName":"intro","slug":"/intro/getting_started","permalink":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/intro/getting_started.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Executive","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/executive","description":"Content related to policies and strategic alignment"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732324298000,"sidebarPosition":1,"frontMatter":{"id":"getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","sidebar_position":1,"tags":["business","executive"]},"sidebar":"docSidebar","next":{"title":"Terminology","permalink":"/nr-pies/pr-preview/pr-4/docs/intro/terminology"}}');var s=n(74848),a=n(28453);const r={id:"getting_started",title:"Getting Started",description:"Introduction to the Natural Resource Sector PIES",sidebar_position:1,tags:["business","executive"]},o=void 0,l={},c=[{value:"Purpose",id:"purpose",level:2},{value:"Objectives",id:"objectives",level:2},{value:"Getting Everyone on the Same Page",id:"getting-everyone-on-the-same-page",level:3},{value:"Documentation",id:"documentation",level:3},{value:"Goals",id:"goals",level:2},{value:"Schemas",id:"schemas",level:2}];function d(e){const t={h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Welcome! This site repository contains common schemas related to permitting in the Natural Resources Sector for the\nProvince of British Columbia. The intent of these are to standardize the way permitting in the Natural Resource Sector\nis described as data to enable quality and interoperability."}),"\n",(0,s.jsx)(t.p,{children:"Hosting this specification in the open will encourage collaboration, adoption and enable versioning."}),"\n",(0,s.jsx)(t.p,{children:"These will be reviewed and updated with relevant partners, data custodians, stewards and sector permitting teams."}),"\n",(0,s.jsx)(t.h2,{id:"purpose",children:"Purpose"}),"\n",(0,s.jsx)(t.p,{children:"Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as\nmany ways to collect, process and store information from intake to decision. Analytics and reporting and permitting\nreform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems\ncan't integrate without a common language."}),"\n",(0,s.jsx)(t.p,{children:"This standard specifies the foundational set of core descriptive data types and elements required to enable the\ncompatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the\npurpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for\npolicy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on\npermitting."}),"\n",(0,s.jsx)(t.h2,{id:"objectives",children:"Objectives"}),"\n",(0,s.jsx)(t.p,{children:"The main objective of PIES is to deliver a published specification to enable better data quality and system\ninteroperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or\nusable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes\nacross the sector."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["Make it easier to connect and work with the information in different permitting systems.","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Reduce the effort and cost of systems integrations and automation."}),"\n",(0,s.jsx)(t.li,{children:"Unlock the ability to provide consistent progress tracking to proponents."}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.li,{children:"Create technical guidelines that help various systems communicate smoothly and consistently."}),"\n",(0,s.jsx)(t.li,{children:"Support different ways for systems to communicate with each other."}),"\n",(0,s.jsx)(t.li,{children:"Unlock potential for evidence-based policy and transformative potential of AI."}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"getting-everyone-on-the-same-page",children:"Getting Everyone on the Same Page"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Set up a working group for people interested to contribute and adopt PIES. See MS Teams."}),"\n",(0,s.jsx)(t.li,{children:"Create clear rules for data governance."}),"\n",(0,s.jsx)(t.li,{children:"Develop a common language so everyone understands the same terms."}),"\n",(0,s.jsx)(t.li,{children:"Gather feedback to ensure data is represented accurately and clearly."}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"documentation",children:"Documentation"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Share best practices for documenting government data standards."}),"\n",(0,s.jsx)(t.li,{children:"Identify and list common permitting concepts and data types."}),"\n",(0,s.jsx)(t.li,{children:"Create a plan for implementing solutions using transformations and microservices."}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"And of course, PIES are delicious! \ud83d\ude04"}),"\n",(0,s.jsx)(t.h2,{id:"goals",children:"Goals"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["Enable a cross sector view","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Through appropriate data access"}),"\n",(0,s.jsx)(t.li,{children:"Creates a single point of validated reporting"}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Data quality"}),"\n",(0,s.jsx)(t.li,{children:"Data and information consistency"}),"\n",(0,s.jsx)(t.li,{children:"Identify processing times"}),"\n",(0,s.jsx)(t.li,{children:"Data harmonization cross sector level reporting"}),"\n",(0,s.jsx)(t.li,{children:"Activity bundling and linking"}),"\n",(0,s.jsx)(t.li,{children:"Coordinated First Nations Consultation"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to\nachieve interoperability (the ability for the systems to understand the key elements of information they need to share\nand talk to each other in a common language)."}),"\n",(0,s.jsx)(t.p,{children:"An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will\nfocus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems\ninto the data standards."}),"\n",(0,s.jsx)(t.h2,{id:"schemas",children:"Schemas"}),"\n",(0,s.jsx)(t.p,{children:"TBD"})]})}function p(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},28453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>o});var i=n(96540);const s={},a=i.createContext(s);function r(e){const t=i.useContext(a);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/2237.2b53a28c.js b/pr-preview/pr-4/assets/js/2237.2b53a28c.js new file mode 100644 index 0000000..e69e6bc --- /dev/null +++ b/pr-preview/pr-4/assets/js/2237.2b53a28c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2237],{23363:(e,t,n)=>{n.d(t,{A:()=>r});n(96540);var i=n(34164),s=n(21312),a=n(51107),o=n(74848);function r(e){let{className:t}=e;return(0,o.jsx)("main",{className:(0,i.A)("container margin-vert--xl",t),children:(0,o.jsx)("div",{className:"row",children:(0,o.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,o.jsx)(a.A,{as:"h1",className:"hero__title",children:(0,o.jsx)(s.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,o.jsx)("p",{children:(0,o.jsx)(s.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,o.jsx)("p",{children:(0,o.jsx)(s.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},82237:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});n(96540);var i=n(21312),s=n(1003),a=n(24837),o=n(23363),r=n(74848);function l(){const e=(0,i.translate)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.be,{title:e}),(0,r.jsx)(a.A,{children:(0,r.jsx)(o.A,{})})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/2247.0759aeee.js b/pr-preview/pr-4/assets/js/2247.0759aeee.js new file mode 100644 index 0000000..2ef1f55 --- /dev/null +++ b/pr-preview/pr-4/assets/js/2247.0759aeee.js @@ -0,0 +1 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2247],{26527:function(t,e,i){var r;r=function(t){return(()=>{"use strict";var e={658:t=>{t.exports=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),r=1;r{var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],r=!0,n=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);r=!0);}catch(h){n=!0,o=h}finally{try{!r&&a.return&&a.return()}finally{if(n)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=i(140).layoutBase.LinkedList,o={getTopMostNodes:function(t){for(var e={},i=0;i0&&l.merge(t)}));for(var c=0;c1){l=a[0],c=l.connectedEdges().length,a.forEach((function(t){t.connectedEdges().length0&&r.set("dummy"+(r.size+1),u),p},relocateComponent:function(t,e,i){if(!i.fixedNodeConstraint){var n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY;if("draft"==i.quality){var h=!0,l=!1,c=void 0;try{for(var d,g=e.nodeIndexes[Symbol.iterator]();!(h=(d=g.next()).done);h=!0){var u=d.value,p=r(u,2),f=p[0],v=p[1],y=i.cy.getElementById(f);if(y){var m=y.boundingBox(),E=e.xCoords[v]-m.w/2,N=e.xCoords[v]+m.w/2,T=e.yCoords[v]-m.h/2,A=e.yCoords[v]+m.h/2;Eo&&(o=N),Ta&&(a=A)}}}catch(C){l=!0,c=C}finally{try{!h&&g.return&&g.return()}finally{if(l)throw c}}var w=t.x-(o+n)/2,L=t.y-(a+s)/2;e.xCoords=e.xCoords.map((function(t){return t+w})),e.yCoords=e.yCoords.map((function(t){return t+L}))}else{Object.keys(e).forEach((function(t){var i=e[t],r=i.getRect().x,h=i.getRect().x+i.getRect().width,l=i.getRect().y,c=i.getRect().y+i.getRect().height;ro&&(o=h),la&&(a=c)}));var I=t.x-(o+n)/2,_=t.y-(a+s)/2;Object.keys(e).forEach((function(t){var i=e[t];i.setCenter(i.getCenterX()+I,i.getCenterY()+_)}))}}},calcBoundingBox:function(t,e,i,r){for(var n=Number.MAX_SAFE_INTEGER,o=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER,a=Number.MIN_SAFE_INTEGER,h=void 0,l=void 0,c=void 0,d=void 0,g=t.descendants().not(":parent"),u=g.length,p=0;p(h=e[r.get(f.id())]-f.width()/2)&&(n=h),o<(l=e[r.get(f.id())]+f.width()/2)&&(o=l),s>(c=i[r.get(f.id())]-f.height()/2)&&(s=c),a<(d=i[r.get(f.id())]+f.height()/2)&&(a=d)}var v={};return v.topLeftX=n,v.topLeftY=s,v.width=o-n,v.height=a-s,v},calcParentsWithoutChildren:function(t,e){var i=t.collection();return e.nodes(":parent").forEach((function(t){var e=!1;t.children().forEach((function(t){"none"!=t.css("display")&&(e=!0)})),e||i.merge(t)})),i}};t.exports=o},816:(t,e,i)=>{var r=i(548),n=i(140).CoSELayout,o=i(140).CoSENode,s=i(140).layoutBase.PointD,a=i(140).layoutBase.DimensionD,h=i(140).layoutBase.LayoutConstants,l=i(140).layoutBase.FDLayoutConstants,c=i(140).CoSEConstants;t.exports={coseLayout:function(t,e){var i=t.cy,d=t.eles,g=d.nodes(),u=d.edges(),p=void 0,f=void 0,v=void 0,y={};t.randomize&&(p=e.nodeIndexes,f=e.xCoords,v=e.yCoords);var m=function(t){return"function"==typeof t},E=function(t,e){return m(t)?t(e):t},N=r.calcParentsWithoutChildren(i,d);null!=t.nestingFactor&&(c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(c.DEFAULT_GRAVITY_STRENGTH=l.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(c.MAX_ITERATIONS=l.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(c.DEFAULT_GRAVITY_RANGE_FACTOR=l.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(c.DEFAULT_COOLING_FACTOR_INCREMENTAL=l.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),null!=t.tilingCompareBy&&(c.TILING_COMPARE_BY=t.tilingCompareBy),"proof"==t.quality?h.QUALITY=2:h.QUALITY=0,c.NODE_DIMENSIONS_INCLUDE_LABELS=l.NODE_DIMENSIONS_INCLUDE_LABELS=h.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,c.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!t.randomize,c.ANIMATE=l.ANIMATE=h.ANIMATE=t.animate,c.TILE=t.tile,c.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,c.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal,c.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!0,c.PURE_INCREMENTAL=!t.randomize,h.DEFAULT_UNIFORM_LEAF_NODE_SIZES=t.uniformNodeDimensions,"transformed"==t.step&&(c.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,c.ENFORCE_CONSTRAINTS=!1,c.APPLY_LAYOUT=!1),"enforced"==t.step&&(c.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,c.ENFORCE_CONSTRAINTS=!0,c.APPLY_LAYOUT=!1),"cose"==t.step&&(c.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,c.ENFORCE_CONSTRAINTS=!1,c.APPLY_LAYOUT=!0),"all"==t.step&&(t.randomize?c.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:c.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,c.ENFORCE_CONSTRAINTS=!0,c.APPLY_LAYOUT=!0),t.fixedNodeConstraint||t.alignmentConstraint||t.relativePlacementConstraint?c.TREE_REDUCTION_ON_INCREMENTAL=!1:c.TREE_REDUCTION_ON_INCREMENTAL=!0;var T=new n,A=T.newGraphManager();return function t(e,i,n,h){for(var l=i.length,c=0;c0&&t(n.getGraphManager().add(n.newGraph(),u),g,n,h)}}(A.addRoot(),r.getTopMostNodes(g),T,t),function(e,i,r){for(var n=0,o=0,s=0;s0?c.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=n/o:m(t.idealEdgeLength)?c.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=50:c.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=t.idealEdgeLength,c.MIN_REPULSION_DIST=l.MIN_REPULSION_DIST=l.DEFAULT_EDGE_LENGTH/10,c.DEFAULT_RADIAL_SEPARATION=l.DEFAULT_EDGE_LENGTH)}(T,A,u),function(t,e){e.fixedNodeConstraint&&(t.constraints.fixedNodeConstraint=e.fixedNodeConstraint),e.alignmentConstraint&&(t.constraints.alignmentConstraint=e.alignmentConstraint),e.relativePlacementConstraint&&(t.constraints.relativePlacementConstraint=e.relativePlacementConstraint)}(T,t),T.runLayout(),y}}},212:(t,e,i)=>{var r=function(){function t(t,e){for(var i=0;i0)if(d){var g=o.getTopMostNodes(t.eles.nodes());if((h=o.connectComponents(e,t.eles,g)).forEach((function(t){var e=t.boundingBox();l.push({x:e.x1+e.w/2,y:e.y1+e.h/2})})),t.randomize&&h.forEach((function(e){t.eles=e,r.push(s(t))})),"default"==t.quality||"proof"==t.quality){var u=e.collection();if(t.tile){var p=new Map,f=0,v={nodeIndexes:p,xCoords:[],yCoords:[]},y=[];if(h.forEach((function(t,e){0==t.edges().length&&(t.nodes().forEach((function(e,i){u.merge(t.nodes()[i]),e.isParent()||(v.nodeIndexes.set(t.nodes()[i].id(),f++),v.xCoords.push(t.nodes()[0].position().x),v.yCoords.push(t.nodes()[0].position().y))})),y.push(e))})),u.length>1){var m=u.boundingBox();l.push({x:m.x1+m.w/2,y:m.y1+m.h/2}),h.push(u),r.push(v);for(var E=y.length-1;E>=0;E--)h.splice(y[E],1),r.splice(y[E],1),l.splice(y[E],1)}}h.forEach((function(e,i){t.eles=e,n.push(a(t,r[i])),o.relocateComponent(l[i],n[i],t)}))}else h.forEach((function(e,i){o.relocateComponent(l[i],r[i],t)}));var N=new Set;if(h.length>1){var T=[],A=i.filter((function(t){return"none"==t.css("display")}));h.forEach((function(e,i){var s=void 0;if("draft"==t.quality&&(s=r[i].nodeIndexes),e.nodes().not(A).length>0){var a={edges:[],nodes:[]},h=void 0;e.nodes().not(A).forEach((function(e){if("draft"==t.quality)if(e.isParent()){var l=o.calcBoundingBox(e,r[i].xCoords,r[i].yCoords,s);a.nodes.push({x:l.topLeftX,y:l.topLeftY,width:l.width,height:l.height})}else h=s.get(e.id()),a.nodes.push({x:r[i].xCoords[h]-e.boundingbox().w/2,y:r[i].yCoords[h]-e.boundingbox().h/2,width:e.boundingbox().w,height:e.boundingbox().h});else n[i][e.id()]&&a.nodes.push({x:n[i][e.id()].getLeft(),y:n[i][e.id()].getTop(),width:n[i][e.id()].getWidth(),height:n[i][e.id()].getHeight()})})),e.edges().forEach((function(e){var h=e.source(),l=e.target();if("none"!=h.css("display")&&"none"!=l.css("display"))if("draft"==t.quality){var c=s.get(h.id()),d=s.get(l.id()),g=[],u=[];if(h.isParent()){var p=o.calcBoundingBox(h,r[i].xCoords,r[i].yCoords,s);g.push(p.topLeftX+p.width/2),g.push(p.topLeftY+p.height/2)}else g.push(r[i].xCoords[c]),g.push(r[i].yCoords[c]);if(l.isParent()){var f=o.calcBoundingBox(l,r[i].xCoords,r[i].yCoords,s);u.push(f.topLeftX+f.width/2),u.push(f.topLeftY+f.height/2)}else u.push(r[i].xCoords[d]),u.push(r[i].yCoords[d]);a.edges.push({startX:g[0],startY:g[1],endX:u[0],endY:u[1]})}else n[i][h.id()]&&n[i][l.id()]&&a.edges.push({startX:n[i][h.id()].getCenterX(),startY:n[i][h.id()].getCenterY(),endX:n[i][l.id()].getCenterX(),endY:n[i][l.id()].getCenterY()})})),a.nodes.length>0&&(T.push(a),N.add(i))}}));var w=c.packComponents(T,t.randomize).shifts;if("draft"==t.quality)r.forEach((function(t,e){var i=t.xCoords.map((function(t){return t+w[e].dx})),r=t.yCoords.map((function(t){return t+w[e].dy}));t.xCoords=i,t.yCoords=r}));else{var L=0;N.forEach((function(t){Object.keys(n[t]).forEach((function(e){var i=n[t][e];i.setCenter(i.getCenterX()+w[L].dx,i.getCenterY()+w[L].dy)})),L++}))}}}else{var I=t.eles.boundingBox();if(l.push({x:I.x1+I.w/2,y:I.y1+I.h/2}),t.randomize){var _=s(t);r.push(_)}"default"==t.quality||"proof"==t.quality?(n.push(a(t,r[0])),o.relocateComponent(l[0],n[0],t)):o.relocateComponent(l[0],r[0],t)}var C=function(e,i){if("default"==t.quality||"proof"==t.quality){"number"==typeof e&&(e=i);var o=void 0,s=void 0,a=e.data("id");return n.forEach((function(t){a in t&&(o={x:t[a].getRect().getCenterX(),y:t[a].getRect().getCenterY()},s=t[a])})),t.nodeDimensionsIncludeLabels&&(s.labelWidth&&("left"==s.labelPosHorizontal?o.x+=s.labelWidth/2:"right"==s.labelPosHorizontal&&(o.x-=s.labelWidth/2)),s.labelHeight&&("top"==s.labelPosVertical?o.y+=s.labelHeight/2:"bottom"==s.labelPosVertical&&(o.y-=s.labelHeight/2))),null==o&&(o={x:e.position("x"),y:e.position("y")}),{x:o.x,y:o.y}}var h=void 0;return r.forEach((function(t){var i=t.nodeIndexes.get(e.id());null!=i&&(h={x:t.xCoords[i],y:t.yCoords[i]})})),null==h&&(h={x:e.position("x"),y:e.position("y")}),{x:h.x,y:h.y}};if("default"==t.quality||"proof"==t.quality||t.randomize){var M=o.calcParentsWithoutChildren(e,i),x=i.filter((function(t){return"none"==t.css("display")}));t.eles=i.not(x),i.nodes().not(":parent").not(x).layoutPositions(this,t,C),M.length>0&&M.forEach((function(t){t.position(C(t))}))}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),t}();t.exports=l},657:(t,e,i)=>{var r=i(548),n=i(140).layoutBase.Matrix,o=i(140).layoutBase.SVD;t.exports={spectralLayout:function(t){var e=t.cy,i=t.eles,s=i.nodes(),a=i.nodes(":parent"),h=new Map,l=new Map,c=new Map,d=[],g=[],u=[],p=[],f=[],v=[],y=[],m=[],E=void 0,N=1e8,T=1e-9,A=t.piTol,w=t.samplingType,L=t.nodeSeparation,I=void 0,_=function(t,e,i){for(var r=[],n=0,o=0,s=0,a=void 0,h=[],c=0,g=1,u=0;u=n;){s=r[n++];for(var p=d[s],y=0;yc&&(c=f[T],g=T)}return g};r.connectComponents(e,i,r.getTopMostNodes(s),h),a.forEach((function(t){r.connectComponents(e,i,r.getTopMostNodes(t.descendants().intersection(i)),h)}));for(var C=0,M=0;M0&&(r.isParent()?d[e].push(c.get(r.id())):d[e].push(r.id()))}))}));var S=function(t){var i=l.get(t),r=void 0;h.get(t).forEach((function(n){r=e.getElementById(n).isParent()?c.get(n):n,d[i].push(r),d[l.get(r)].push(t)}))},P=!0,U=!1,Y=void 0;try{for(var k,H=h.keys()[Symbol.iterator]();!(P=(k=H.next()).done);P=!0)S(k.value)}catch(K){U=!0,Y=K}finally{try{!P&&H.return&&H.return()}finally{if(U)throw Y}}var X=void 0;if((E=l.size)>2){I=E=1)break;l=h}for(var p=0;p=1)break;l=h}for(var y=0;y{var r=i(212),n=function(t){t&&t("layout","fcose",r)};"undefined"!=typeof cytoscape&&n(cytoscape),t.exports=n},140:e=>{e.exports=t}},i={},r=function t(r){var n=i[r];if(void 0!==n)return n.exports;var o=i[r]={exports:{}};return e[r](o,o.exports,t),o.exports}(579);return r})()},t.exports=r(i(41709))},41709:function(t,e,i){var r;r=function(t){return(()=>{"use strict";var e={45:(t,e,i)=>{var r={};r.layoutBase=i(551),r.CoSEConstants=i(806),r.CoSEEdge=i(767),r.CoSEGraph=i(880),r.CoSEGraphManager=i(578),r.CoSELayout=i(765),r.CoSENode=i(991),r.ConstraintHandler=i(902),t.exports=r},806:(t,e,i)=>{var r=i(551).FDLayoutConstants;function n(){}for(var o in r)n[o]=r[o];n.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,n.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,n.DEFAULT_COMPONENT_SEPERATION=60,n.TILE=!0,n.TILING_PADDING_VERTICAL=10,n.TILING_PADDING_HORIZONTAL=10,n.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,n.ENFORCE_CONSTRAINTS=!0,n.APPLY_LAYOUT=!0,n.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,n.TREE_REDUCTION_ON_INCREMENTAL=!0,n.PURE_INCREMENTAL=n.DEFAULT_INCREMENTAL,t.exports=n},767:(t,e,i)=>{var r=i(551).FDLayoutEdge;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},880:(t,e,i)=>{var r=i(551).LGraph;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},578:(t,e,i)=>{var r=i(551).LGraphManager;function n(t){r.call(this,t)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},765:(t,e,i)=>{var r=i(551).FDLayout,n=i(578),o=i(880),s=i(991),a=i(767),h=i(806),l=i(902),c=i(551).FDLayoutConstants,d=i(551).LayoutConstants,g=i(551).Point,u=i(551).PointD,p=i(551).DimensionD,f=i(551).Layout,v=i(551).Integer,y=i(551).IGeometry,m=i(551).LGraph,E=i(551).Transform,N=i(551).LinkedList;function T(){r.call(this),this.toBeTiled={},this.constraints={}}for(var A in T.prototype=Object.create(r.prototype),r)T[A]=r[A];T.prototype.newGraphManager=function(){var t=new n(this);return this.graphManager=t,t},T.prototype.newGraph=function(t){return new o(null,this.graphManager,t)},T.prototype.newNode=function(t){return new s(this.graphManager,t)},T.prototype.newEdge=function(t){return new a(null,null,t)},T.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.isSubLayout||(h.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=h.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=c.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=c.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},T.prototype.initSpringEmbedder=function(){r.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/c.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},T.prototype.layout=function(){return d.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},T.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)h.TREE_REDUCTION_ON_INCREMENTAL&&(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),e=new Set(this.getAllNodes()),i=this.nodesWithGravity.filter((function(t){return e.has(t)})),this.graphManager.setAllNodesToApplyGravitation(i));else{var t=this.getFlatForest();if(t.length>0)this.positionNodesRadially(t);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),i=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(i),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(l.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),h.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},T.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%c.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(),h.PURE_INCREMENTAL?this.coolingFactor=c.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=c.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()),h.PURE_INCREMENTAL?this.coolingFactor=c.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=c.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},T.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i0&&this.updateDisplacements(),e=0;e0&&(r.fixedNodeWeight=o)}if(this.constraints.relativePlacementConstraint){var s=new Map,a=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach((function(e){t.fixedNodesOnHorizontal.add(e),t.fixedNodesOnVertical.add(e)})),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical){var l=this.constraints.alignmentConstraint.vertical;for(i=0;i=2*t.length/3;r--)e=Math.floor(Math.random()*(r+1)),i=t[r],t[r]=t[e],t[e]=i;return t},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach((function(e){if(e.left){var i=s.has(e.left)?s.get(e.left):e.left,r=s.has(e.right)?s.get(e.right):e.right;t.nodesInRelativeHorizontal.includes(i)||(t.nodesInRelativeHorizontal.push(i),t.nodeToRelativeConstraintMapHorizontal.set(i,[]),t.dummyToNodeForVerticalAlignment.has(i)?t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(i)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(i).getCenterX())),t.nodesInRelativeHorizontal.includes(r)||(t.nodesInRelativeHorizontal.push(r),t.nodeToRelativeConstraintMapHorizontal.set(r,[]),t.dummyToNodeForVerticalAlignment.has(r)?t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(r)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(r).getCenterX())),t.nodeToRelativeConstraintMapHorizontal.get(i).push({right:r,gap:e.gap}),t.nodeToRelativeConstraintMapHorizontal.get(r).push({left:i,gap:e.gap})}else{var n=a.has(e.top)?a.get(e.top):e.top,o=a.has(e.bottom)?a.get(e.bottom):e.bottom;t.nodesInRelativeVertical.includes(n)||(t.nodesInRelativeVertical.push(n),t.nodeToRelativeConstraintMapVertical.set(n,[]),t.dummyToNodeForHorizontalAlignment.has(n)?t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(n)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(n).getCenterY())),t.nodesInRelativeVertical.includes(o)||(t.nodesInRelativeVertical.push(o),t.nodeToRelativeConstraintMapVertical.set(o,[]),t.dummyToNodeForHorizontalAlignment.has(o)?t.nodeToTempPositionMapVertical.set(o,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(o)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(o,t.idToNodeMap.get(o).getCenterY())),t.nodeToRelativeConstraintMapVertical.get(n).push({bottom:o,gap:e.gap}),t.nodeToRelativeConstraintMapVertical.get(o).push({top:n,gap:e.gap})}}));else{var d=new Map,g=new Map;this.constraints.relativePlacementConstraint.forEach((function(t){if(t.left){var e=s.has(t.left)?s.get(t.left):t.left,i=s.has(t.right)?s.get(t.right):t.right;d.has(e)?d.get(e).push(i):d.set(e,[i]),d.has(i)?d.get(i).push(e):d.set(i,[e])}else{var r=a.has(t.top)?a.get(t.top):t.top,n=a.has(t.bottom)?a.get(t.bottom):t.bottom;g.has(r)?g.get(r).push(n):g.set(r,[n]),g.has(n)?g.get(n).push(r):g.set(n,[r])}}));var u=function(t,e){var i=[],r=[],n=new N,o=new Set,s=0;return t.forEach((function(a,h){if(!o.has(h)){i[s]=[],r[s]=!1;var l=h;for(n.push(l),o.add(l),i[s].push(l);0!=n.length;)l=n.shift(),e.has(l)&&(r[s]=!0),t.get(l).forEach((function(t){o.has(t)||(n.push(t),o.add(t),i[s].push(t))}));s++}})),{components:i,isFixed:r}},p=u(d,t.fixedNodesOnHorizontal);this.componentsOnHorizontal=p.components,this.fixedComponentsOnHorizontal=p.isFixed;var f=u(g,t.fixedNodesOnVertical);this.componentsOnVertical=f.components,this.fixedComponentsOnVertical=f.isFixed}}},T.prototype.updateDisplacements=function(){var t=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach((function(e){var i=t.idToNodeMap.get(e.nodeId);i.displacementX=0,i.displacementY=0})),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var e=this.constraints.alignmentConstraint.vertical,i=0;i1)for(a=0;ar&&(r=Math.floor(s.y)),o=Math.floor(s.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(d.WORLD_CENTER_X-s.x/2,d.WORLD_CENTER_Y-s.y/2))},T.radialLayout=function(t,e,i){var r=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);T.branchRadialLayout(e,null,0,359,0,r);var n=m.calculateBounds(t),o=new E;o.setDeviceOrgX(n.getMinX()),o.setDeviceOrgY(n.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var s=0;s1;){var v=f[0];f.splice(0,1);var m=c.indexOf(v);m>=0&&c.splice(m,1),p--,d--}g=null!=e?(c.indexOf(f[0])+1)%p:0;for(var E=Math.abs(r-i)/d,N=g;u!=d;N=++N%p){var A=c[N].getOtherEnd(t);if(A!=e){var w=(i+u*E)%360,L=(w+E)%360;T.branchRadialLayout(A,t,w,L,n+o,o),u++}}},T.maxDiagonalInTree=function(t){for(var e=v.MIN_VALUE,i=0;ie&&(e=r)}return e},T.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},T.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],r=this.graphManager.getAllNodes(),n=0;n1){var r="DummyCompound_"+i;t.memberGroups[r]=e[i];var n=e[i][0].getParent(),o=new s(t.graphManager);o.id=r,o.paddingLeft=n.paddingLeft||0,o.paddingRight=n.paddingRight||0,o.paddingBottom=n.paddingBottom||0,o.paddingTop=n.paddingTop||0,t.idToDummyNode[r]=o;var a=t.getGraphManager().add(t.newGraph(),o),h=n.getChild();h.add(o);for(var l=0;ln?(r.rect.x-=(r.labelWidth-n)/2,r.setWidth(r.labelWidth),r.labelMarginLeft=(r.labelWidth-n)/2):"right"==r.labelPosHorizontal&&r.setWidth(n+r.labelWidth)),r.labelHeight&&("top"==r.labelPosVertical?(r.rect.y-=r.labelHeight,r.setHeight(o+r.labelHeight),r.labelMarginTop=r.labelHeight):"center"==r.labelPosVertical&&r.labelHeight>o?(r.rect.y-=(r.labelHeight-o)/2,r.setHeight(r.labelHeight),r.labelMarginTop=(r.labelHeight-o)/2):"bottom"==r.labelPosVertical&&r.setHeight(o+r.labelHeight))}}))},T.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],i=e.id,r=e.paddingLeft,n=e.paddingTop,o=e.labelMarginLeft,s=e.labelMarginTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,r,n,o,s)}},T.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach((function(i){var r=t.idToDummyNode[i],n=r.paddingLeft,o=r.paddingTop,s=r.labelMarginLeft,a=r.labelMarginTop;t.adjustLocations(e[i],r.rect.x,r.rect.y,n,o,s,a)}))},T.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var r=i.getNodes(),n=0;n0)return this.toBeTiled[e]=!1,!1;if(null!=o.getChild()){if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}else this.toBeTiled[o.id]=!1}return this.toBeTiled[e]=!0,!0},T.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,r=0;rc&&(c=g.rect.height)}i+=c+t.verticalPadding}},T.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach((function(r){var n=e[r];if(i.tiledMemberPack[r]=i.tileNodes(t[r],n.paddingLeft+n.paddingRight),n.rect.width=i.tiledMemberPack[r].width,n.rect.height=i.tiledMemberPack[r].height,n.setCenter(i.tiledMemberPack[r].centerX,i.tiledMemberPack[r].centerY),n.labelMarginLeft=0,n.labelMarginTop=0,h.NODE_DIMENSIONS_INCLUDE_LABELS){var o=n.rect.width,s=n.rect.height;n.labelWidth&&("left"==n.labelPosHorizontal?(n.rect.x-=n.labelWidth,n.setWidth(o+n.labelWidth),n.labelMarginLeft=n.labelWidth):"center"==n.labelPosHorizontal&&n.labelWidth>o?(n.rect.x-=(n.labelWidth-o)/2,n.setWidth(n.labelWidth),n.labelMarginLeft=(n.labelWidth-o)/2):"right"==n.labelPosHorizontal&&n.setWidth(o+n.labelWidth)),n.labelHeight&&("top"==n.labelPosVertical?(n.rect.y-=n.labelHeight,n.setHeight(s+n.labelHeight),n.labelMarginTop=n.labelHeight):"center"==n.labelPosVertical&&n.labelHeight>s?(n.rect.y-=(n.labelHeight-s)/2,n.setHeight(n.labelHeight),n.labelMarginTop=(n.labelHeight-s)/2):"bottom"==n.labelPosVertical&&n.setHeight(s+n.labelHeight))}}))},T.prototype.tileNodes=function(t,e){var i=this.tileNodesByFavoringDim(t,e,!0),r=this.tileNodesByFavoringDim(t,e,!1),n=this.getOrgRatio(i);return this.getOrgRatio(r)a&&(a=t.getWidth())}));var l,c=o/n,d=s/n,g=Math.pow(i-r,2)+4*(c+r)*(d+i)*n,u=(r-i+Math.sqrt(g))/(2*(c+r));e?(l=Math.ceil(u))==u&&l++:l=Math.floor(u);var p=l*(c+r)-r;return a>p&&(p=a),p+=2*r},T.prototype.tileNodesByFavoringDim=function(t,e,i){var r=h.TILING_PADDING_VERTICAL,n=h.TILING_PADDING_HORIZONTAL,o=h.TILING_COMPARE_BY,s={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:r,horizontalPadding:n,centerX:0,centerY:0};o&&(s.idealRowWidth=this.calcIdealRowWidth(t,i));var a=function(t){return t.rect.width*t.rect.height},l=function(t,e){return a(e)-a(t)};t.sort((function(t,e){var i=l;return s.idealRowWidth?(i=o)(t.id,e.id):i(t,e)}));for(var c=0,d=0,g=0;g0&&(o+=t.horizontalPadding),t.rowWidth[i]=o,t.width0&&(s+=t.verticalPadding);var a=0;s>t.rowHeight[i]&&(a=t.rowHeight[i],t.rowHeight[i]=s,a=t.rowHeight[i]-a),t.height+=a,t.rows[i].push(e)},T.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,r=0;ri&&(e=r,i=t.rowWidth[r]);return e},T.prototype.canAddHorizontal=function(t,e,i){if(t.idealRowWidth){var r=t.rows.length-1;return t.rowWidth[r]+e+t.horizontalPadding<=t.idealRowWidth}var n=this.getShortestRowIndex(t);if(n<0)return!0;var o=t.rowWidth[n];if(o+t.horizontalPadding+e<=t.width)return!0;var s,a,h=0;return t.rowHeight[n]0&&(h=i+t.verticalPadding-t.rowHeight[n]),s=t.width-o>=e+t.horizontalPadding?(t.height+h)/(o+e+t.horizontalPadding):(t.height+h)/t.width,h=i+t.verticalPadding,(a=t.widtho&&e!=i){r.splice(-1,1),t.rows[i].push(n),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var s=Number.MIN_VALUE,a=0;as&&(s=r[a].height);e>0&&(s+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=s,t.rowHeight[i]0)for(var d=n;d<=o;d++)l[0]+=this.grid[d][s-1].length+this.grid[d][s].length-1;if(o0)for(d=s;d<=a;d++)l[3]+=this.grid[n-1][d].length+this.grid[n][d].length-1;for(var g,u,p=v.MAX_VALUE,f=0;f{var r=i(551).FDLayoutNode,n=i(551).IMath;function o(t,e,i,n){r.call(this,t,e,i,n)}for(var s in o.prototype=Object.create(r.prototype),r)o[s]=r[s];o.prototype.calculateDisplacement=function(){var t=this.graphManager.getLayout();null!=this.getChild()&&this.fixedNodeWeight?(this.displacementX+=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(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*n.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*n.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,r=this.getChild().getNodes(),n=0;n{function r(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e0){var o=0;r.forEach((function(t){"horizontal"==e?(d.set(t,h.has(t)?l[h.get(t)]:n.get(t)),o+=d.get(t)):(d.set(t,h.has(t)?c[h.get(t)]:n.get(t)),o+=d.get(t))})),o/=r.length,t.forEach((function(t){i.has(t)||d.set(t,o)}))}else{var s=0;t.forEach((function(t){s+="horizontal"==e?h.has(t)?l[h.get(t)]:n.get(t):h.has(t)?c[h.get(t)]:n.get(t)})),s/=t.length,t.forEach((function(t){d.set(t,s)}))}}));for(var p=function(){var r=u.shift();t.get(r).forEach((function(t){if(d.get(t.id)s&&(s=m),Ea&&(a=E)}}catch(C){u=!0,p=C}finally{try{!g&&v.return&&v.return()}finally{if(u)throw p}}var N=(r+s)/2-(o+a)/2,T=!0,A=!1,w=void 0;try{for(var L,I=t[Symbol.iterator]();!(T=(L=I.next()).done);T=!0){var _=L.value;d.set(_,d.get(_)+N)}}catch(C){A=!0,w=C}finally{try{!T&&I.return&&I.return()}finally{if(A)throw w}}}))}return d},y=function(t){var e=0,i=0,r=0,n=0;if(t.forEach((function(t){t.left?l[h.get(t.left)]-l[h.get(t.right)]>=0?e++:i++:c[h.get(t.top)]-c[h.get(t.bottom)]>=0?r++:n++})),e>i&&r>n)for(var o=0;oi)for(var s=0;sn)for(var a=0;a1)e.fixedNodeConstraint.forEach((function(t,e){T[e]=[t.position.x,t.position.y],A[e]=[l[h.get(t.nodeId)],c[h.get(t.nodeId)]]})),w=!0;else if(e.alignmentConstraint)!function(){var t=0;if(e.alignmentConstraint.vertical){for(var i=e.alignmentConstraint.vertical,n=function(e){var n=new Set;i[e].forEach((function(t){n.add(t)}));var o=new Set([].concat(r(n)).filter((function(t){return I.has(t)}))),s=void 0;s=o.size>0?l[h.get(o.values().next().value)]:f(n).x,i[e].forEach((function(e){T[t]=[s,c[h.get(e)]],A[t]=[l[h.get(e)],c[h.get(e)]],t++}))},o=0;o0?l[h.get(n.values().next().value)]:f(i).y,s[e].forEach((function(e){T[t]=[l[h.get(e)],o],A[t]=[l[h.get(e)],c[h.get(e)]],t++}))},d=0;dx&&(x=M[D].length,O=D);if(x0){var j={x:0,y:0};e.fixedNodeConstraint.forEach((function(t,e){var i,r,n={x:l[h.get(t.nodeId)],y:c[h.get(t.nodeId)]},o=t.position,s=(r=n,{x:(i=o).x-r.x,y:i.y-r.y});j.x+=s.x,j.y+=s.y})),j.x/=e.fixedNodeConstraint.length,j.y/=e.fixedNodeConstraint.length,l.forEach((function(t,e){l[e]+=j.x})),c.forEach((function(t,e){c[e]+=j.y})),e.fixedNodeConstraint.forEach((function(t){l[h.get(t.nodeId)]=t.position.x,c[h.get(t.nodeId)]=t.position.y}))}if(e.alignmentConstraint){if(e.alignmentConstraint.vertical)for(var q=e.alignmentConstraint.vertical,$=function(t){var e=new Set;q[t].forEach((function(t){e.add(t)}));var i=new Set([].concat(r(e)).filter((function(t){return I.has(t)}))),n=void 0;n=i.size>0?l[h.get(i.values().next().value)]:f(e).x,e.forEach((function(t){I.has(t)||(l[h.get(t)]=n)}))},K=0;K0?c[h.get(i.values().next().value)]:f(e).y,e.forEach((function(t){I.has(t)||(c[h.get(t)]=n)}))},J=0;J{e.exports=t}},i={},r=function t(r){var n=i[r];if(void 0!==n)return n.exports;var o=i[r]={exports:{}};return e[r](o,o.exports,t),o.exports}(45);return r})()},t.exports=r(i(1917))},1917:function(t){var e;e=function(){return function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28)}([function(t,e,i){"use strict";function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(8),o=i(9);function s(t,e,i){r.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var a in s.prototype=Object.create(r.prototype),r)s[a]=r[a];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.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"},s.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),r=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==r)break;i=i.getOwner().getParent()}return null},s.prototype.updateLength=function(){var t=new Array(4);this.isOverlapingSourceAndTarget=n.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=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.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=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(13),s=i(0),a=i(16),h=i(5);function l(t,e,i,s){null==i&&null==s&&(s=e),r.call(this,s),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=n.MIN_VALUE,this.inclusionTreeDepth=n.MAX_VALUE,this.vGraphObject=s,this.edges=[],this.graphManager=t,this.rect=null!=i&&null!=e?new o(e.x,e.y,i.width,i.height):new o}for(var c in l.prototype=Object.create(r.prototype),r)l[c]=r[c];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.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},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach((function(r){if(r.target==t){if(r.source!=i)throw"Incorrect edge source!";e.push(r)}})),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach((function(r){if(r.source!=i&&r.target!=i)throw"Incorrect edge source and/or target";r.target!=t&&r.source!=t||e.push(r)})),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach((function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}})),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),i=0;ie?(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)):"right"==this.labelPosHorizontal&&this.setWidth(e+this.labelWidth)),this.labelHeight&&("top"==this.labelPosVertical?(this.rect.y-=this.labelHeight,this.setHeight(i+this.labelHeight)):"center"==this.labelPosVertical&&this.labelHeight>i?(this.rect.y-=(this.labelHeight-i)/2,this.setHeight(this.labelHeight)):"bottom"==this.labelPosVertical&&this.setHeight(i+this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==n.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>s.WORLD_BOUNDARY?e=s.WORLD_BOUNDARY:e<-s.WORLD_BOUNDARY&&(e=-s.WORLD_BOUNDARY);var i=this.rect.y;i>s.WORLD_BOUNDARY?i=s.WORLD_BOUNDARY:i<-s.WORLD_BOUNDARY&&(i=-s.WORLD_BOUNDARY);var r=new h(e,i),n=t.inverseTransformPoint(r);this.setLocation(n.x,n.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";var r=i(0);function n(){}for(var o in r)n[o]=r[o];n.MAX_ITERATIONS=2500,n.DEFAULT_EDGE_LENGTH=50,n.DEFAULT_SPRING_STRENGTH=.45,n.DEFAULT_REPULSION_STRENGTH=4500,n.DEFAULT_GRAVITY_STRENGTH=.4,n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,n.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,n.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,n.COOLING_ADAPTATION_FACTOR=.33,n.ADAPTATION_LOWER_NODE_LIMIT=1e3,n.ADAPTATION_UPPER_NODE_LIMIT=5e3,n.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,n.MAX_NODE_DISPLACEMENT=3*n.MAX_NODE_DISPLACEMENT_INCREMENTAL,n.MIN_REPULSION_DIST=n.DEFAULT_EDGE_LENGTH/10,n.CONVERGENCE_CHECK_PERIOD=100,n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,n.MIN_EDGE_LENGTH=1,n.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=n},function(t,e,i){"use strict";function r(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(0),s=i(7),a=i(3),h=i(1),l=i(13),c=i(12),d=i(11);function g(t,e,i){r.call(this,i),this.estimatedSize=n.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof s?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var u in g.prototype=Object.create(r.prototype),r)g[u]=r[u];g.prototype.getNodes=function(){return this.nodes},g.prototype.getEdges=function(){return this.edges},g.prototype.getGraphManager=function(){return this.graphManager},g.prototype.getParent=function(){return this.parent},g.prototype.getLeft=function(){return this.left},g.prototype.getRight=function(){return this.right},g.prototype.getTop=function(){return this.top},g.prototype.getBottom=function(){return this.bottom},g.prototype.isConnected=function(){return this.isConnected},g.prototype.add=function(t,e,i){if(null==e&&null==i){var r=t;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(r)>-1)throw"Node already in graph!";return r.owner=this,this.getNodes().push(r),r}var n=t;if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(e.owner!=i.owner||e.owner!=this)throw"Both owners must be this graph!";return e.owner!=i.owner?null:(n.source=e,n.target=i,n.isInterGraph=!1,this.getEdges().push(n),e.edges.push(n),i!=e&&i.edges.push(n),n)},g.prototype.remove=function(t){var e=t;if(t instanceof a){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 i=e.edges.slice(),r=i.length,n=0;n-1&&c>-1))throw"Source and/or target doesn't know this edge!";if(o.source.edges.splice(l,1),o.target!=o.source&&o.target.edges.splice(c,1),-1==(s=o.source.owner.getEdges().indexOf(o)))throw"Not in owner's edge list!";o.source.owner.getEdges().splice(s,1)}},g.prototype.updateLeftTop=function(){for(var t,e,i,r=n.MAX_VALUE,o=n.MAX_VALUE,s=this.getNodes(),a=s.length,h=0;h(t=l.getTop())&&(r=t),o>(e=l.getLeft())&&(o=e)}return r==n.MAX_VALUE?null:(i=null!=s[0].getParent().paddingLeft?s[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=r-i,new c(this.left,this.top))},g.prototype.updateBounds=function(t){for(var e,i,r,o,s,a=n.MAX_VALUE,h=-n.MAX_VALUE,c=n.MAX_VALUE,d=-n.MAX_VALUE,g=this.nodes,u=g.length,p=0;p(e=f.getLeft())&&(a=e),h<(i=f.getRight())&&(h=i),c>(r=f.getTop())&&(c=r),d<(o=f.getBottom())&&(d=o)}var v=new l(a,c,h-a,d-c);a==n.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),s=null!=g[0].getParent().paddingLeft?g[0].getParent().paddingLeft:this.margin,this.left=v.x-s,this.right=v.x+v.width+s,this.top=v.y-s,this.bottom=v.y+v.height+s},g.calculateBounds=function(t){for(var e,i,r,o,s=n.MAX_VALUE,a=-n.MAX_VALUE,h=n.MAX_VALUE,c=-n.MAX_VALUE,d=t.length,g=0;g(e=u.getLeft())&&(s=e),a<(i=u.getRight())&&(a=i),h>(r=u.getTop())&&(h=r),c<(o=u.getBottom())&&(c=o)}return new l(s,h,a-s,c-h)},g.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},g.prototype.getEstimatedSize=function(){if(this.estimatedSize==n.MIN_VALUE)throw"assert failed";return this.estimatedSize},g.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,i=e.length,r=0;r=this.nodes.length){var h=0;n.forEach((function(e){e.owner==t&&h++})),h==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},t.exports=g},function(t,e,i){"use strict";var r,n=i(1);function o(t){r=i(6),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,r,n){if(null==i&&null==r&&null==n){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}n=i,i=t;var o=(r=e).getOwner(),s=n.getOwner();if(null==o||o.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==s||s.getGraphManager()!=this)throw"Target not in this graph mgr!";if(o==s)return i.isInterGraph=!1,o.add(i,r,n);if(i.isInterGraph=!0,i.source=r,i.target=n,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),null==i.source||null==i.target)throw"Edge source and/or target is null!";if(-1!=i.source.edges.indexOf(i)||-1!=i.target.edges.indexOf(i))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof r){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 i,o=[],s=(o=o.concat(e.getEdges())).length,a=0;a=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var s=o*i[0],a=i[1]/o;i[0]s)return i[0]=r,i[1]=h,i[2]=o,i[3]=E,!1;if(no)return i[0]=a,i[1]=n,i[2]=y,i[3]=s,!1;if(ro?(i[0]=c,i[1]=d,w=!0):(i[0]=l,i[1]=h,w=!0):I===C&&(r>o?(i[0]=a,i[1]=h,w=!0):(i[0]=g,i[1]=d,w=!0)),-_===C?o>r?(i[2]=m,i[3]=E,L=!0):(i[2]=y,i[3]=v,L=!0):_===C&&(o>r?(i[2]=f,i[3]=v,L=!0):(i[2]=N,i[3]=E,L=!0)),w&&L)return!1;if(r>o?n>s?(M=this.getCardinalDirection(I,C,4),x=this.getCardinalDirection(_,C,2)):(M=this.getCardinalDirection(-I,C,3),x=this.getCardinalDirection(-_,C,1)):n>s?(M=this.getCardinalDirection(-I,C,1),x=this.getCardinalDirection(-_,C,3)):(M=this.getCardinalDirection(I,C,2),x=this.getCardinalDirection(_,C,4)),!w)switch(M){case 1:D=h,O=r+-p/C,i[0]=O,i[1]=D;break;case 2:O=g,D=n+u*C,i[0]=O,i[1]=D;break;case 3:D=d,O=r+p/C,i[0]=O,i[1]=D;break;case 4:O=c,D=n+-u*C,i[0]=O,i[1]=D}if(!L)switch(x){case 1:b=v,R=o+-A/C,i[2]=R,i[3]=b;break;case 2:R=N,b=s+T*C,i[2]=R,i[3]=b;break;case 3:b=E,R=o+A/C,i[2]=R,i[3]=b;break;case 4:R=m,b=s+-T*C,i[2]=R,i[3]=b}}return!1},n.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},n.getIntersection=function(t,e,i,n){if(null==n)return this.getIntersection2(t,e,i);var o,s,a,h,l,c,d,g=t.x,u=t.y,p=e.x,f=e.y,v=i.x,y=i.y,m=n.x,E=n.y;return 0==(d=(o=f-u)*(h=v-m)-(s=E-y)*(a=g-p))?null:new r((a*(c=m*y-v*E)-h*(l=p*u-g*f))/d,(s*l-o*c)/d)},n.angleOfVector=function(t,e,i,r){var n=void 0;return t!==i?(n=Math.atan((r-e)/(i-t)),i=0){var c=(-h+Math.sqrt(h*h-4*a*l))/(2*a),d=(-h-Math.sqrt(h*h-4*a*l))/(2*a);return c>=0&&c<=1?[c]:d>=0&&d<=1?[d]:null}return null},n.HALF_PI=.5*Math.PI,n.ONE_AND_HALF_PI=1.5*Math.PI,n.TWO_PI=2*Math.PI,n.THREE_PI=3*Math.PI,t.exports=n},function(t,e,i){"use strict";function r(){}r.sign=function(t){return t>0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=r},function(t,e,i){"use strict";function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i0&&e;){for(a.push(l[0]);a.length>0&&e;){var c=a[0];a.splice(0,1),s.add(c);var d=c.getEdges();for(o=0;o-1&&l.splice(f,1)}s=new Set,h=new Map}else t=[]}return t},g.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,r=this.graphManager.calcLowestCommonAncestor(t.source,t.target),n=0;n0){for(var n=this.edgeToDummyNodes.get(i),o=0;o=0&&e.splice(d,1),c.getNeighborsList().forEach((function(t){if(i.indexOf(t)<0){var e=r.get(t)-1;1==e&&h.push(t),r.set(t,e)}}))}i=i.concat(h),1!=e.length&&2!=e.length||(n=!0,o=e[0])}return o},g.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=g},function(t,e,i){"use strict";function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},t.exports=r},function(t,e,i){"use strict";var r=i(5);function n(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}n.prototype.getWorldOrgX=function(){return this.lworldOrgX},n.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},n.prototype.getWorldOrgY=function(){return this.lworldOrgY},n.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},n.prototype.getWorldExtX=function(){return this.lworldExtX},n.prototype.setWorldExtX=function(t){this.lworldExtX=t},n.prototype.getWorldExtY=function(){return this.lworldExtY},n.prototype.setWorldExtY=function(t){this.lworldExtY=t},n.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},n.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},n.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},n.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},n.prototype.getDeviceExtX=function(){return this.ldeviceExtX},n.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},n.prototype.getDeviceExtY=function(){return this.ldeviceExtY},n.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},n.prototype.transformX=function(t){var e=0,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},n.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},n.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},n.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},n.prototype.inverseTransformPoint=function(t){return new r(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=n},function(t,e,i){"use strict";var r=i(15),n=i(4),o=i(0),s=i(8),a=i(9);function h(){r.call(this),this.useSmartIdealEdgeLengthCalculation=n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=n.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=n.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=n.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=n.MAX_ITERATIONS}for(var l in h.prototype=Object.create(r.prototype),r)h[l]=r[l];h.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,r,s,a,h,l=this.getGraphManager().getAllEdges(),c=0;cn.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*n.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-n.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>n.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(n.COOLING_ADAPTATION_FACTOR,1-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*(1-n.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i0&&void 0!==arguments[0])||arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&s&&this.updateGrid(),o=new Set,t=0;t(h=e.getEstimatedSize()*this.gravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*n,t.gravitationForceY=-this.gravityConstant*o):(s>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*n*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=a.length||l>=a[0].length))for(var c=0;ct}}]),t}();t.exports=o},function(t,e,i){"use strict";function r(){}r.svd=function(t){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=t.length,this.n=t[0].length;var e=Math.min(this.m,this.n);this.s=function(t){for(var e=[];t-- >0;)e.push(0);return e}(Math.min(this.m+1,this.n)),this.U=function t(e){if(0==e.length)return 0;for(var i=[],r=0;r0;)e.push(0);return e}(this.n),s=function(t){for(var e=[];t-- >0;)e.push(0);return e}(this.m),a=Math.min(this.m-1,this.n),h=Math.max(0,Math.min(this.n-2,this.m)),l=0;l=0;x--)if(0!==this.s[x]){for(var O=x+1;O=0;P--){if(function(t,e){return t&&e}(P0;){var W=void 0,j=void 0;for(W=_-2;W>=-1&&-1!==W;W--)if(Math.abs(o[W])<=B+V*(Math.abs(this.s[W])+Math.abs(this.s[W+1]))){o[W]=0;break}if(W===_-2)j=4;else{var q=void 0;for(q=_-1;q>=W&&q!==W;q--){var $=(q!==_?Math.abs(o[q]):0)+(q!==W+1?Math.abs(o[q-1]):0);if(Math.abs(this.s[q])<=B+V*$){this.s[q]=0;break}}q===W?j=3:q===_-1?j=1:(j=2,W=q)}switch(W++,j){case 1:var K=o[_-2];o[_-2]=0;for(var Z=_-2;Z>=W;Z--){var Q=r.hypot(this.s[Z],K),J=this.s[Z]/Q,tt=K/Q;this.s[Z]=Q,Z!==W&&(K=-tt*o[Z-1],o[Z-1]=J*o[Z-1]);for(var et=0;et=this.s[W+1]);){var _t=this.s[W];if(this.s[W]=this.s[W+1],this.s[W+1]=_t,WMath.abs(e)?(i=e/t,i=Math.abs(t)*Math.sqrt(1+i*i)):0!=e?(i=t/e,i=Math.abs(e)*Math.sqrt(1+i*i)):i=0,i},t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=i,this.match_score=r,this.mismatch_penalty=n,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=new Array(this.iMax);for(var s=0;s=0;i--){var r=this.listeners[i];r.event===t&&r.callback===e&&this.listeners.splice(i,1)}},n.emit=function(t,e){for(var i=0;i{"use strict";i.d(e,{diagram:()=>dt});var r=i(34483),n=i(86825),o=i(86022),s=i(39676),a=(i(85039),i(61021)),h=i(45567),l=i(78731),c=i(90165),d=i(26527),g=i(20007),u={L:"left",R:"right",T:"top",B:"bottom"},p={L:(0,h.K2)((t=>`${t},${t/2} 0,${t} 0,0`),"L"),R:(0,h.K2)((t=>`0,${t/2} ${t},0 ${t},${t}`),"R"),T:(0,h.K2)((t=>`0,0 ${t},0 ${t/2},${t}`),"T"),B:(0,h.K2)((t=>`${t/2},0 ${t},${t} 0,${t}`),"B")},f={L:(0,h.K2)(((t,e)=>t-e+2),"L"),R:(0,h.K2)(((t,e)=>t-2),"R"),T:(0,h.K2)(((t,e)=>t-e+2),"T"),B:(0,h.K2)(((t,e)=>t-2),"B")},v=(0,h.K2)((function(t){return m(t)?"L"===t?"R":"L":"T"===t?"B":"T"}),"getOppositeArchitectureDirection"),y=(0,h.K2)((function(t){return"L"===t||"R"===t||"T"===t||"B"===t}),"isArchitectureDirection"),m=(0,h.K2)((function(t){return"L"===t||"R"===t}),"isArchitectureDirectionX"),E=(0,h.K2)((function(t){return"T"===t||"B"===t}),"isArchitectureDirectionY"),N=(0,h.K2)((function(t,e){const i=m(t)&&E(e),r=E(t)&&m(e);return i||r}),"isArchitectureDirectionXY"),T=(0,h.K2)((function(t){const e=t[0],i=t[1],r=m(e)&&E(i),n=E(e)&&m(i);return r||n}),"isArchitecturePairXY"),A=(0,h.K2)((function(t){return"LL"!==t&&"RR"!==t&&"TT"!==t&&"BB"!==t}),"isValidArchitectureDirectionPair"),w=(0,h.K2)((function(t,e){const i=`${t}${e}`;return A(i)?i:void 0}),"getArchitectureDirectionPair"),L=(0,h.K2)((function([t,e],i){const r=i[0],n=i[1];return m(r)?E(n)?[t+("L"===r?-1:1),e+("T"===n?1:-1)]:[t+("L"===r?-1:1),e]:m(n)?[t+("L"===n?1:-1),e+("T"===r?1:-1)]:[t,e+("T"===r?1:-1)]}),"shiftPositionByArchitectureDirectionPair"),I=(0,h.K2)((function(t){return"LT"===t||"TL"===t?[1,1]:"BL"===t||"LB"===t?[1,-1]:"BR"===t||"RB"===t?[-1,-1]:[-1,1]}),"getArchitectureDirectionXYFactors"),_=(0,h.K2)((function(t){return"service"===t.type}),"isArchitectureService"),C=(0,h.K2)((function(t){return"junction"===t.type}),"isArchitectureJunction"),M=(0,h.K2)((t=>t.data()),"edgeData"),x=(0,h.K2)((t=>t.data()),"nodeData"),O=h.UI.architecture,D=new s.m((()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:O,dataStructures:void 0,elements:{}}))),R=(0,h.K2)((()=>{D.reset(),(0,h.IU)()}),"clear"),b=(0,h.K2)((function({id:t,icon:e,in:i,title:r,iconText:n}){if(void 0!==D.records.registeredIds[t])throw new Error(`The service id [${t}] is already in use by another ${D.records.registeredIds[t]}`);if(void 0!==i){if(t===i)throw new Error(`The service [${t}] cannot be placed within itself`);if(void 0===D.records.registeredIds[i])throw new Error(`The service [${t}]'s parent does not exist. Please make sure the parent is created before this service`);if("node"===D.records.registeredIds[i])throw new Error(`The service [${t}]'s parent is not a group`)}D.records.registeredIds[t]="node",D.records.nodes[t]={id:t,type:"service",icon:e,iconText:n,title:r,edges:[],in:i}}),"addService"),G=(0,h.K2)((()=>Object.values(D.records.nodes).filter(_)),"getServices"),F=(0,h.K2)((function({id:t,in:e}){D.records.registeredIds[t]="node",D.records.nodes[t]={id:t,type:"junction",edges:[],in:e}}),"addJunction"),S=(0,h.K2)((()=>Object.values(D.records.nodes).filter(C)),"getJunctions"),P=(0,h.K2)((()=>Object.values(D.records.nodes)),"getNodes"),U=(0,h.K2)((t=>D.records.nodes[t]),"getNode"),Y=(0,h.K2)((function({id:t,icon:e,in:i,title:r}){if(void 0!==D.records.registeredIds[t])throw new Error(`The group id [${t}] is already in use by another ${D.records.registeredIds[t]}`);if(void 0!==i){if(t===i)throw new Error(`The group [${t}] cannot be placed within itself`);if(void 0===D.records.registeredIds[i])throw new Error(`The group [${t}]'s parent does not exist. Please make sure the parent is created before this group`);if("node"===D.records.registeredIds[i])throw new Error(`The group [${t}]'s parent is not a group`)}D.records.registeredIds[t]="group",D.records.groups[t]={id:t,icon:e,title:r,in:i}}),"addGroup"),k=(0,h.K2)((()=>Object.values(D.records.groups)),"getGroups"),H=(0,h.K2)((function({lhsId:t,rhsId:e,lhsDir:i,rhsDir:r,lhsInto:n,rhsInto:o,lhsGroup:s,rhsGroup:a,title:h}){if(!y(i))throw new Error(`Invalid direction given for left hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${i}`);if(!y(r))throw new Error(`Invalid direction given for right hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${r}`);if(void 0===D.records.nodes[t]&&void 0===D.records.groups[t])throw new Error(`The left-hand id [${t}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(void 0===D.records.nodes[e]&&void 0===D.records.groups[t])throw new Error(`The right-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);const l=D.records.nodes[t].in,c=D.records.nodes[e].in;if(s&&l&&c&&l==c)throw new Error(`The left-hand id [${t}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(a&&l&&c&&l==c)throw new Error(`The right-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const d={lhsId:t,lhsDir:i,lhsInto:n,lhsGroup:s,rhsId:e,rhsDir:r,rhsInto:o,rhsGroup:a,title:h};D.records.edges.push(d),D.records.nodes[t]&&D.records.nodes[e]&&(D.records.nodes[t].edges.push(D.records.edges[D.records.edges.length-1]),D.records.nodes[e].edges.push(D.records.edges[D.records.edges.length-1]))}),"addEdge"),X=(0,h.K2)((()=>D.records.edges),"getEdges"),z=(0,h.K2)((()=>{if(void 0===D.records.dataStructures){const t=Object.entries(D.records.nodes).reduce(((t,[e,i])=>(t[e]=i.edges.reduce(((t,i)=>{if(i.lhsId===e){const e=w(i.lhsDir,i.rhsDir);e&&(t[e]=i.rhsId)}else{const e=w(i.rhsDir,i.lhsDir);e&&(t[e]=i.lhsId)}return t}),{}),t)),{}),e=Object.keys(t)[0],i={[e]:1},r=Object.keys(t).reduce(((t,i)=>i===e?t:{...t,[i]:1}),{}),n=(0,h.K2)((e=>{const n={[e]:[0,0]},o=[e];for(;o.length>0;){const e=o.shift();if(e){i[e]=1,delete r[e];const s=t[e],[a,h]=n[e];Object.entries(s).forEach((([t,e])=>{i[e]||(n[e]=L([a,h],t),o.push(e))}))}}return n}),"BFS"),o=[n(e)];for(;Object.keys(r).length>0;)o.push(n(Object.keys(r)[0]));D.records.dataStructures={adjList:t,spatialMaps:o}}return D.records.dataStructures}),"getDataStructures"),V=(0,h.K2)(((t,e)=>{D.records.elements[t]=e}),"setElementForId"),B=(0,h.K2)((t=>D.records.elements[t]),"getElementById"),W={clear:R,setDiagramTitle:h.ke,getDiagramTitle:h.ab,setAccTitle:h.SV,getAccTitle:h.iN,setAccDescription:h.EI,getAccDescription:h.m7,addService:b,getServices:G,addJunction:F,getJunctions:S,getNodes:P,getNode:U,addGroup:Y,getGroups:k,addEdge:H,getEdges:X,setElementForId:V,getElementById:B,getDataStructures:z};function j(t){const e=(0,h.D7)().architecture;return e?.[t]?e[t]:O[t]}(0,h.K2)(j,"getConfigField");var q=(0,h.K2)(((t,e)=>{(0,o.S)(t,e),t.groups.map(e.addGroup),t.services.map((t=>e.addService({...t,type:"service"}))),t.junctions.map((t=>e.addJunction({...t,type:"junction"}))),t.edges.map(e.addEdge)}),"populateDb"),$={parse:(0,h.K2)((async t=>{const e=await(0,l.qg)("architecture",t);h.Rm.debug(e),q(e,W)}),"parse")},K=(0,h.K2)((t=>`\n .edge {\n stroke-width: ${t.archEdgeWidth};\n stroke: ${t.archEdgeColor};\n fill: none;\n }\n\n .arrow {\n fill: ${t.archEdgeArrowColor};\n }\n\n .node-bkg {\n fill: none;\n stroke: ${t.archGroupBorderColor};\n stroke-width: ${t.archGroupBorderWidth};\n stroke-dasharray: 8;\n }\n .node-icon-text {\n display: flex; \n align-items: center;\n }\n \n .node-icon-text > div {\n color: #fff;\n margin: 1px;\n height: fit-content;\n text-align: center;\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n }\n`),"getStyles"),Z=(0,h.K2)((t=>`${t}`),"wrapIcon"),Q={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:Z('')},server:{body:Z('')},disk:{body:Z('')},internet:{body:Z('')},cloud:{body:Z('')},unknown:r.Gc,blank:{body:Z("")}}},J=(0,h.K2)((async function(t,e){const i=j("padding"),r=j("iconSize"),o=r/2,s=r/6,a=s/2;await Promise.all(e.edges().map((async e=>{const{source:r,sourceDir:l,sourceArrow:c,sourceGroup:d,target:g,targetDir:u,targetArrow:v,targetGroup:y,label:A}=M(e);let{x:L,y:_}=e[0].sourceEndpoint();const{x:C,y:x}=e[0].midpoint();let{x:O,y:D}=e[0].targetEndpoint();const R=i+4;if(d&&(m(l)?L+="L"===l?-R:R:_+="T"===l?-R:R+18),y&&(m(u)?O+="L"===u?-R:R:D+="T"===u?-R:R+18),d||"junction"!==W.getNode(r)?.type||(m(l)?L+="L"===l?o:-o:_+="T"===l?o:-o),y||"junction"!==W.getNode(g)?.type||(m(u)?O+="L"===u?o:-o:D+="T"===u?o:-o),e[0]._private.rscratch){const e=t.insert("g");if(e.insert("path").attr("d",`M ${L},${_} L ${C},${x} L${O},${D} `).attr("class","edge"),c){const t=m(l)?f[l](L,s):L-a,i=E(l)?f[l](_,s):_-a;e.insert("polygon").attr("points",p[l](s)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(v){const t=m(u)?f[u](O,s):O-a,i=E(u)?f[u](D,s):D-a;e.insert("polygon").attr("points",p[u](s)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(A){const t=N(l,u)?"XY":m(l)?"X":"Y";let i=0;i="X"===t?Math.abs(L-O):"Y"===t?Math.abs(_-D)/1.5:Math.abs(L-O)/2;const r=e.append("g");if(await(0,n.GZ)(r,A,{useHtmlLabels:!1,width:i,classes:"architecture-service-label"},(0,h.D7)()),r.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),"X"===t)r.attr("transform","translate("+C+", "+x+")");else if("Y"===t)r.attr("transform","translate("+C+", "+x+") rotate(-90)");else if("XY"===t){const t=w(l,u);if(t&&T(t)){const e=r.node().getBoundingClientRect(),[i,n]=I(t);r.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*i*n*45})`);const o=r.node().getBoundingClientRect();r.attr("transform",`\n translate(${C}, ${x-e.height/2})\n translate(${i*o.width/2}, ${n*o.height/2})\n rotate(${-1*i*n*45}, 0, ${e.height/2})\n `)}}}}})))}),"drawEdges"),tt=(0,h.K2)((async function(t,e){const i=.75*j("padding"),o=j("fontSize"),s=j("iconSize")/2;await Promise.all(e.nodes().map((async e=>{const a=x(e);if("group"===a.type){const{h:l,w:c,x1:d,y1:g}=e.boundingBox();t.append("rect").attr("x",d+s).attr("y",g+s).attr("width",c).attr("height",l).attr("class","node-bkg");const u=t.append("g");let p=d,f=g;if(a.icon){const t=u.append("g");t.html(`${await(0,r.WY)(a.icon,{height:i,width:i,fallbackPrefix:Q.prefix})}`),t.attr("transform","translate("+(p+s+1)+", "+(f+s+1)+")"),p+=i,f+=o/2-1-2}if(a.label){const t=u.append("g");await(0,n.GZ)(t,a.label,{useHtmlLabels:!1,width:c,classes:"architecture-service-label"},(0,h.D7)()),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),t.attr("transform","translate("+(p+s+4)+", "+(f+s+2)+")")}}})))}),"drawGroups"),et=(0,h.K2)((async function(t,e,i){for(const o of i){const i=e.append("g"),s=j("iconSize");if(o.title){const t=i.append("g");await(0,n.GZ)(t,o.title,{useHtmlLabels:!1,width:1.5*s,classes:"architecture-service-label"},(0,h.D7)()),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),t.attr("transform","translate("+s/2+", "+s+")")}const a=i.append("g");if(o.icon)a.html(`${await(0,r.WY)(o.icon,{height:s,width:s,fallbackPrefix:Q.prefix})}`);else if(o.iconText){a.html(`${await(0,r.WY)("blank",{height:s,width:s,fallbackPrefix:Q.prefix})}`);const t=a.append("g").append("foreignObject").attr("width",s).attr("height",s).append("div").attr("class","node-icon-text").attr("style",`height: ${s}px;`).append("div").html(o.iconText),e=parseInt(window.getComputedStyle(t.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;t.attr("style",`-webkit-line-clamp: ${Math.floor((s-2)/e)};`)}else a.append("path").attr("class","node-bkg").attr("id","node-"+o.id).attr("d",`M0 ${s} v${-s} q0,-5 5,-5 h${s} q5,0 5,5 v${s} H0 Z`);i.attr("class","architecture-service");const{width:l,height:c}=i._groups[0][0].getBBox();o.width=l,o.height=c,t.setElementForId(o.id,i)}return 0}),"drawServices"),it=(0,h.K2)((function(t,e,i){i.forEach((i=>{const r=e.append("g"),n=j("iconSize");r.append("g").append("rect").attr("id","node-"+i.id).attr("fill-opacity","0").attr("width",n).attr("height",n),r.attr("class","architecture-junction");const{width:o,height:s}=r._groups[0][0].getBBox();r.width=o,r.height=s,t.setElementForId(i.id,r)}))}),"drawJunctions");function rt(t,e){t.forEach((t=>{e.add({group:"nodes",data:{type:"service",id:t.id,icon:t.icon,label:t.title,parent:t.in,width:j("iconSize"),height:j("iconSize")},classes:"node-service"})}))}function nt(t,e){t.forEach((t=>{e.add({group:"nodes",data:{type:"junction",id:t.id,parent:t.in,width:j("iconSize"),height:j("iconSize")},classes:"node-junction"})}))}function ot(t,e){e.nodes().map((e=>{const i=x(e);if("group"===i.type)return;i.x=e.position().x,i.y=e.position().y;t.getElementById(i.id).attr("transform","translate("+(i.x||0)+","+(i.y||0)+")")}))}function st(t,e){t.forEach((t=>{e.add({group:"nodes",data:{type:"group",id:t.id,icon:t.icon,label:t.title,parent:t.in},classes:"node-group"})}))}function at(t,e){t.forEach((t=>{const{lhsId:i,rhsId:r,lhsInto:n,lhsGroup:o,rhsInto:s,lhsDir:a,rhsDir:h,rhsGroup:l,title:c}=t,d=N(t.lhsDir,t.rhsDir)?"segments":"straight",g={id:`${i}-${r}`,label:c,source:i,sourceDir:a,sourceArrow:n,sourceGroup:o,sourceEndpoint:"L"===a?"0 50%":"R"===a?"100% 50%":"T"===a?"50% 0":"50% 100%",target:r,targetDir:h,targetArrow:s,targetGroup:l,targetEndpoint:"L"===h?"0 50%":"R"===h?"100% 50%":"T"===h?"50% 0":"50% 100%"};e.add({group:"edges",data:g,classes:d})}))}function ht(t){const e=t.map((t=>{const e={},i={};return Object.entries(t).forEach((([t,[r,n]])=>{e[n]||(e[n]=[]),i[r]||(i[r]=[]),e[n].push(t),i[r].push(t)})),{horiz:Object.values(e).filter((t=>t.length>1)),vert:Object.values(i).filter((t=>t.length>1))}})),[i,r]=e.reduce((([t,e],{horiz:i,vert:r})=>[[...t,...i],[...e,...r]]),[[],[]]);return{horizontal:i,vertical:r}}function lt(t){const e=[],i=(0,h.K2)((t=>`${t[0]},${t[1]}`),"posToStr"),r=(0,h.K2)((t=>t.split(",").map((t=>parseInt(t)))),"strToPos");return t.forEach((t=>{const n=Object.fromEntries(Object.entries(t).map((([t,e])=>[i(e),t]))),o=[i([0,0])],s={},a={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;o.length>0;){const t=o.shift();if(t){s[t]=1;const h=n[t];if(h){const l=r(t);Object.entries(a).forEach((([t,r])=>{const a=i([l[0]+r[0],l[1]+r[1]]),c=n[a];c&&!s[a]&&(o.push(a),e.push({[u[t]]:c,[u[v(t)]]:h,gap:1.5*j("iconSize")}))}))}}}})),e}function ct(t,e,i,r,{spatialMaps:n}){return new Promise((o=>{const s=(0,g.Ltv)("body").append("div").attr("id","cy").attr("style","display:none"),a=(0,c.A)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight",label:"data(label)","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${j("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${j("padding")}px`}}]});s.remove(),st(i,a),rt(t,a),nt(e,a),at(r,a);const l=ht(n),d=lt(n),u=a.layout({name:"fcose",quality:"proof",styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(t){const[e,i]=t.connectedNodes(),{parent:r}=x(e),{parent:n}=x(i);return r===n?1.5*j("iconSize"):.5*j("iconSize")},edgeElasticity(t){const[e,i]=t.connectedNodes(),{parent:r}=x(e),{parent:n}=x(i);return r===n?.45:.001},alignmentConstraint:l,relativePlacementConstraint:d});u.one("layoutstop",(()=>{function t(t,e,i,r){let n,o;const{x:s,y:a}=t,{x:h,y:l}=e;o=(r-a+(s-i)*(a-l)/(s-h))/Math.sqrt(1+Math.pow((a-l)/(s-h),2)),n=Math.sqrt(Math.pow(r-a,2)+Math.pow(i-s,2)-Math.pow(o,2));n/=Math.sqrt(Math.pow(h-s,2)+Math.pow(l-a,2));let c=(h-s)*(r-a)-(l-a)*(i-s);switch(!0){case c>=0:c=1;break;case c<0:c=-1}let d=(h-s)*(i-s)+(l-a)*(r-a);switch(!0){case d>=0:d=1;break;case d<0:d=-1}return o=Math.abs(o)*c,n*=d,{distances:o,weights:n}}(0,h.K2)(t,"getSegmentWeights"),a.startBatch();for(const e of Object.values(a.edges()))if(e.data?.()){const{x:i,y:r}=e.source().position(),{x:n,y:o}=e.target().position();if(i!==n&&r!==o){const i=e.sourceEndpoint(),r=e.targetEndpoint(),{sourceDir:n}=M(e),[o,s]=E(n)?[i.x,r.y]:[r.x,i.y],{weights:a,distances:h}=t(i,r,o,s);e.style("segment-distances",h),e.style("segment-weights",a)}}a.endBatch(),u.run()})),u.run(),a.ready((t=>{h.Rm.info("Ready",t),o(a)}))}))}(0,r.pC)([{name:Q.prefix,icons:Q}]),c.A.use(d),(0,h.K2)(rt,"addServices"),(0,h.K2)(nt,"addJunctions"),(0,h.K2)(ot,"positionNodes"),(0,h.K2)(st,"addGroups"),(0,h.K2)(at,"addEdges"),(0,h.K2)(ht,"getAlignments"),(0,h.K2)(lt,"getRelativeConstraints"),(0,h.K2)(ct,"layoutArchitecture");var dt={parser:$,db:W,renderer:{draw:(0,h.K2)((async(t,e,i,r)=>{const n=r.db,o=n.getServices(),s=n.getJunctions(),l=n.getGroups(),c=n.getEdges(),d=n.getDataStructures(),g=(0,a.D)(e),u=g.append("g");u.attr("class","architecture-edges");const p=g.append("g");p.attr("class","architecture-services");const f=g.append("g");f.attr("class","architecture-groups"),await et(n,p,o),it(n,p,s);const v=await ct(o,s,l,c,d);await J(u,v),await tt(f,v),ot(n,v),(0,h.ot)(void 0,g,j("padding"),j("useMaxWidth"))}),"draw")},styles:K}},86022:(t,e,i)=>{"use strict";function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}i.d(e,{S:()=>r}),(0,i(45567).K2)(r,"populateCommonDb")},39676:(t,e,i)=>{"use strict";i.d(e,{m:()=>n});var r=i(45567),n=class{constructor(t){this.init=t,this.records=this.init()}static{(0,r.K2)(this,"ImperativeState")}reset(){this.records=this.init()}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/2334.2951ae81.js b/pr-preview/pr-4/assets/js/2334.2951ae81.js new file mode 100644 index 0000000..b663b19 --- /dev/null +++ b/pr-preview/pr-4/assets/js/2334.2951ae81.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2334],{62334:(e,n,t)=>{t.d(n,{Zp:()=>Rn});var r=t(8058),o=t(28894),i=0;const u=function(e){var n=++i;return(0,o.A)(e)+n};var a=t(39142),s=t(34098),d=t(74722),c=Math.ceil,h=Math.max;const f=function(e,n,t,r){for(var o=-1,i=h(c((n-e)/(t||1)),0),u=Array(i);i--;)u[r?i:++o]=e,e+=t;return u};var v=t(6832),l=t(74342);const g=function(e){return function(n,t,r){return r&&"number"!=typeof r&&(0,v.A)(n,t,r)&&(t=r=void 0),n=(0,l.A)(n),void 0===t?(t=n,n=0):t=(0,l.A)(t),r=void 0===r?n0;--a)if(r=n[a].dequeue()){o=o.concat(_(e,n,t,r,!0));break}}return o}(t.graph,t.buckets,t.zeroIdx);return s.A(d.A(o,(function(n){return e.outEdges(n.v,n.w)})))}function _(e,n,t,o,i){var u=i?[]:void 0;return r.A(e.inEdges(o.v),(function(r){var o=e.edge(r),a=e.node(r.v);i&&u.push({v:r.v,w:r.w}),a.out-=o,E(n,t,a)})),r.A(e.outEdges(o.v),(function(r){var o=e.edge(r),i=r.w,u=e.node(i);u.in-=o,E(n,t,u)})),e.removeNode(o.v),u}function E(e,n,t){t.out?t.in?e[t.out-t.in+n].enqueue(t):e[e.length-1].enqueue(t):e[0].enqueue(t)}function x(e){var n="greedy"===e.graph().acyclicer?y(e,function(e){return function(n){return e.edge(n).weight}}(e)):function(e){var n=[],t={},o={};function i(u){Object.prototype.hasOwnProperty.call(o,u)||(o[u]=!0,t[u]=!0,r.A(e.outEdges(u),(function(e){Object.prototype.hasOwnProperty.call(t,e.w)?n.push(e):i(e.w)})),delete t[u])}return r.A(e.nodes(),i),n}(e);r.A(n,(function(n){var t=e.edge(n);e.removeEdge(n),t.forwardName=n.name,t.reversed=!0,e.setEdge(n.w,n.v,t,u("rev"))}))}var O=t(42837),k=t(99354),N=t(39188);const P=function(e,n){return(0,k.A)(e,n,(function(n,t){return(0,N.A)(e,t)}))};var j=t(76875),C=t(67525);const I=function(e){return(0,C.A)((0,j.A)(e,void 0,s.A),e+"")}((function(e,n){return null==e?{}:P(e,n)}));var L=t(23068),T=t(72559);const M=function(e,n){return e>n};var R=t(29008);const F=function(e){return e&&e.length?(0,T.A)(e,R.A,M):void 0};var D=t(26666),S=t(52528),G=t(79841),V=t(23958);const B=function(e,n){var t={};return n=(0,V.A)(n,3),(0,G.A)(e,(function(e,r,o){(0,S.A)(t,r,n(e,r,o))})),t};var q=t(69592),Y=t(86452),z=t(48585),$=t(41917);const J=function(){return $.A.Date.now()};function Z(e,n,t,r){var o;do{o=u(r)}while(e.hasNode(o));return t.dummy=n,e.setNode(o,t),o}function H(e){var n=new p.T({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.A(e.nodes(),(function(t){e.children(t).length||n.setNode(t,e.node(t))})),r.A(e.edges(),(function(t){n.setEdge(t,e.edge(t))})),n}function K(e,n){var t,r,o=e.x,i=e.y,u=n.x-o,a=n.y-i,s=e.width/2,d=e.height/2;if(!u&&!a)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*s>Math.abs(u)*d?(a<0&&(d=-d),t=d*u/a,r=d):(u<0&&(s=-s),t=s,r=s*a/u),{x:o+t,y:i+r}}function Q(e){var n=d.A(g(W(e)+1),(function(){return[]}));return r.A(e.nodes(),(function(t){var r=e.node(t),o=r.rank;q.A(o)||(n[o][r.order]=t)})),n}function U(e,n,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),Z(e,"border",o,n)}function W(e){return F(d.A(e.nodes(),(function(n){var t=e.node(n).rank;if(!q.A(t))return t})))}function X(e,n){var t=J();try{return n()}finally{console.log(e+" time: "+(J()-t)+"ms")}}function ee(e,n){return n()}function ne(e,n,t,r,o,i){var u={width:0,height:0,rank:i,borderType:n},a=o[n][i-1],s=Z(e,"border",u,t);o[n][i]=s,e.setParent(s,r),a&&e.setEdge(a,s,{weight:1})}function te(e){var n=e.graph().rankdir.toLowerCase();"bt"!==n&&"rl"!==n||function(e){r.A(e.nodes(),(function(n){ie(e.node(n))})),r.A(e.edges(),(function(n){var t=e.edge(n);r.A(t.points,ie),Object.prototype.hasOwnProperty.call(t,"y")&&ie(t)}))}(e),"lr"!==n&&"rl"!==n||(!function(e){r.A(e.nodes(),(function(n){ue(e.node(n))})),r.A(e.edges(),(function(n){var t=e.edge(n);r.A(t.points,ue),Object.prototype.hasOwnProperty.call(t,"x")&&ue(t)}))}(e),re(e))}function re(e){r.A(e.nodes(),(function(n){oe(e.node(n))})),r.A(e.edges(),(function(n){oe(e.edge(n))}))}function oe(e){var n=e.width;e.width=e.height,e.height=n}function ie(e){e.y=-e.y}function ue(e){var n=e.x;e.x=e.y,e.y=n}function ae(e){e.graph().dummyChains=[],r.A(e.edges(),(function(n){!function(e,n){var t=n.v,r=e.node(t).rank,o=n.w,i=e.node(o).rank,u=n.name,a=e.edge(n),s=a.labelRank;if(i===r+1)return;e.removeEdge(n);var d,c,h=void 0;for(c=0,++r;ru.lim&&(a=u,s=!0);var d=Ae.A(n.edges(),(function(n){return s===Be(e,e.node(n.v),a)&&s!==Be(e,e.node(n.w),a)}));return de(d,(function(e){return he(n,e)}))}function Ve(e,n,t,o){var i=t.v,u=t.w;e.removeEdge(i,u),e.setEdge(o.v,o.w,{}),Fe(e),Me(e,n),function(e,n){var t=pe.A(e.nodes(),(function(e){return!n.node(e).parent})),o=function(e,n){return Ie(e,n,"pre")}(e,t);o=o.slice(1),r.A(o,(function(t){var r=e.node(t).parent,o=n.edge(t,r),i=!1;o||(o=n.edge(r,t),i=!0),n.node(t).rank=n.node(r).rank+(i?o.minlen:-o.minlen)}))}(e,n)}function Be(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}function qe(e){switch(e.graph().ranker){case"network-simplex":default:ze(e);break;case"tight-tree":!function(e){ce(e),fe(e)}(e);break;case"longest-path":Ye(e)}}Te.initLowLimValues=Fe,Te.initCutValues=Me,Te.calcCutValue=Re,Te.leaveEdge=Se,Te.enterEdge=Ge,Te.exchangeEdges=Ve;var Ye=ce;function ze(e){Te(e)}var $e=t(38207),Je=t(89463);function Ze(e){var n=Z(e,"root",{},"_root"),t=function(e){var n={};function t(o,i){var u=e.children(o);u&&u.length&&r.A(u,(function(e){t(e,i+1)})),n[o]=i}return r.A(e.children(),(function(e){t(e,1)})),n}(e),o=F($e.A(t))-1,i=2*o+1;e.graph().nestingRoot=n,r.A(e.edges(),(function(n){e.edge(n).minlen*=i}));var u=function(e){return Je.A(e.edges(),(function(n,t){return n+e.edge(t).weight}),0)}(e)+1;r.A(e.children(),(function(r){He(e,n,i,u,o,t,r)})),e.graph().nodeRankFactor=i}function He(e,n,t,o,i,u,a){var s=e.children(a);if(s.length){var d=U(e,"_bt"),c=U(e,"_bb"),h=e.node(a);e.setParent(d,a),h.borderTop=d,e.setParent(c,a),h.borderBottom=c,r.A(s,(function(r){He(e,n,t,o,i,u,r);var s=e.node(r),h=s.borderTop?s.borderTop:r,f=s.borderBottom?s.borderBottom:r,v=s.borderTop?o:2*o,l=h!==f?1:i-u[a]+1;e.setEdge(d,h,{weight:v,minlen:l,nestingEdge:!0}),e.setEdge(f,c,{weight:v,minlen:l,nestingEdge:!0})})),e.parent(a)||e.setEdge(n,d,{weight:0,minlen:i+u[a]})}else a!==n&&e.setEdge(n,a,{weight:0,minlen:t})}var Ke=t(68675);const Qe=function(e){return(0,Ke.A)(e,5)};function Ue(e,n,t){var o=function(e){var n;for(;e.hasNode(n=u("_root")););return n}(e),i=new p.T({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(n){return e.node(n)}));return r.A(e.nodes(),(function(u){var a=e.node(u),s=e.parent(u);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(i.setNode(u),i.setParent(u,s||o),r.A(e[t](u),(function(n){var t=n.v===u?n.w:n.v,r=i.edge(t,u),o=q.A(r)?0:r.weight;i.setEdge(t,u,{weight:e.edge(n).weight+o})})),Object.prototype.hasOwnProperty.call(a,"minRank")&&i.setNode(u,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))})),i}var We=t(52851);const Xe=function(e,n,t){for(var r=-1,o=e.length,i=n.length,u={};++rn||i&&u&&s&&!a&&!d||r&&u&&s||!t&&s||!o)return 1;if(!r&&!i&&!d&&e=a?s:s*("desc"==t[r]?-1:1)}return e.index-n.index};const hn=function(e,n,t){n=n.length?(0,tn.A)(n,(function(e){return(0,Ce.A)(e)?function(n){return(0,rn.A)(n,1===e.length?e[0]:e)}:e})):[R.A];var r=-1;n=(0,tn.A)(n,(0,an.A)(V.A));var o=(0,on.A)(e,(function(e,t,o){return{criteria:(0,tn.A)(n,(function(n){return n(e)})),index:++r,value:e}}));return un(o,(function(e,n){return cn(e,n,t)}))};const fn=(0,t(24326).A)((function(e,n){if(null==e)return[];var t=n.length;return t>1&&(0,v.A)(e,n[0],n[1])?n=[]:t>2&&(0,v.A)(n[0],n[1],n[2])&&(n=[n[0]]),hn(e,(0,nn.A)(n,1),[])}));function vn(e,n){for(var t=0,r=1;r0;)n%2&&(t+=c[n+1]),c[n=n-1>>1]+=e.weight;h+=e.weight*t}))),h}function gn(e,n){var t={};return r.A(e,(function(e,n){var r=t[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:n};q.A(e.barycenter)||(r.barycenter=e.barycenter,r.weight=e.weight)})),r.A(n.edges(),(function(e){var n=t[e.v],r=t[e.w];q.A(n)||q.A(r)||(r.indegree++,n.out.push(t[e.w]))})),function(e){var n=[];function t(e){return function(n){n.merged||(q.A(n.barycenter)||q.A(e.barycenter)||n.barycenter>=e.barycenter)&&function(e,n){var t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight);n.weight&&(t+=n.barycenter*n.weight,r+=n.weight);e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}function o(n){return function(t){t.in.push(n),0==--t.indegree&&e.push(t)}}for(;e.length;){var i=e.pop();n.push(i),r.A(i.in.reverse(),t(i)),r.A(i.out,o(i))}return d.A(Ae.A(n,(function(e){return!e.merged})),(function(e){return I(e,["vs","i","barycenter","weight"])}))}(Ae.A(t,(function(e){return!e.indegree})))}function pn(e,n){var t,o=function(e,n){var t={lhs:[],rhs:[]};return r.A(e,(function(e){n(e)?t.lhs.push(e):t.rhs.push(e)})),t}(e,(function(e){return Object.prototype.hasOwnProperty.call(e,"barycenter")})),i=o.lhs,u=fn(o.rhs,(function(e){return-e.i})),a=[],d=0,c=0,h=0;i.sort((t=!!n,function(e,n){return e.barycentern.barycenter?1:t?n.i-e.i:e.i-n.i})),h=An(a,u,h),r.A(i,(function(e){h+=e.vs.length,a.push(e.vs),d+=e.barycenter*e.weight,c+=e.weight,h=An(a,u,h)}));var f={vs:s.A(a)};return c&&(f.barycenter=d/c,f.weight=c),f}function An(e,n,t){for(var r;n.length&&(r=D.A(n)).i<=t;)n.pop(),e.push(r.vs),t++;return t}function wn(e,n,t,o){var i=e.children(n),u=e.node(n),a=u?u.borderLeft:void 0,c=u?u.borderRight:void 0,h={};a&&(i=Ae.A(i,(function(e){return e!==a&&e!==c})));var f=function(e,n){return d.A(n,(function(n){var t=e.inEdges(n);if(t.length){var r=Je.A(t,(function(n,t){var r=e.edge(t),o=e.node(t.v);return{sum:n.sum+r.weight*o.order,weight:n.weight+r.weight}}),{sum:0,weight:0});return{v:n,barycenter:r.sum/r.weight,weight:r.weight}}return{v:n}}))}(e,i);r.A(f,(function(n){if(e.children(n.v).length){var r=wn(e,n.v,t,o);h[n.v]=r,Object.prototype.hasOwnProperty.call(r,"barycenter")&&(i=n,u=r,q.A(i.barycenter)?(i.barycenter=u.barycenter,i.weight=u.weight):(i.barycenter=(i.barycenter*i.weight+u.barycenter*u.weight)/(i.weight+u.weight),i.weight+=u.weight))}var i,u}));var v=gn(f,t);!function(e,n){r.A(e,(function(e){e.vs=s.A(e.vs.map((function(e){return n[e]?n[e].vs:e})))}))}(v,h);var l=pn(v,o);if(a&&(l.vs=s.A([a,l.vs,c]),e.predecessors(a).length)){var g=e.node(e.predecessors(a)[0]),p=e.node(e.predecessors(c)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+g.order+p.order)/(l.weight+2),l.weight+=2}return l}function bn(e){var n=W(e),t=mn(e,g(1,n+1),"inEdges"),o=mn(e,g(n-1,-1,-1),"outEdges"),i=function(e){var n={},t=Ae.A(e.nodes(),(function(n){return!e.children(n).length})),o=F(d.A(t,(function(n){return e.node(n).rank}))),i=d.A(g(o+1),(function(){return[]})),u=fn(t,(function(n){return e.node(n).rank}));return r.A(u,(function t(o){if(!z.A(n,o)){n[o]=!0;var u=e.node(o);i[u.rank].push(o),r.A(e.successors(o),t)}})),i}(e);_n(e,i);for(var u,a=Number.POSITIVE_INFINITY,s=0,c=0;c<4;++s,++c){yn(s%2?t:o,s%4>=2);var h=vn(e,i=Q(e));hs||d>n[o].lim));i=o,o=r;for(;(o=e.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(e,n,o.v,o.w),u=i.path,a=i.lca,s=0,d=u[s],c=!0;t!==o.w;){if(r=e.node(t),c){for(;(d=u[s])!==a&&e.node(d).maxRankt){var r=n;n=t,t=r}var o=e[n];o||(e[n]=o={}),o[t]=!0}function In(e,n,t){if(n>t){var r=n;n=t,t=r}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],t)}function Ln(e,n,t,o,i){var u={},a=function(e,n,t,o){var i=new p.T,u=e.graph(),a=function(e,n,t){return function(r,o,i){var u,a=r.node(o),s=r.node(i),d=0;if(d+=a.width/2,Object.prototype.hasOwnProperty.call(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":u=-a.width/2;break;case"r":u=a.width/2}if(u&&(d+=t?u:-u),u=0,d+=(a.dummy?n:e)/2,d+=(s.dummy?n:e)/2,d+=s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":u=s.width/2;break;case"r":u=-s.width/2}return u&&(d+=t?u:-u),u=0,d}}(u.nodesep,u.edgesep,o);return r.A(n,(function(n){var o;r.A(n,(function(n){var r=t[n];if(i.setNode(r),o){var u=t[o],s=i.edge(u,r);i.setEdge(u,r,Math.max(a(e,n,o),s||0))}o=n}))})),i}(e,n,t,i),s=i?"borderLeft":"borderRight";function d(e,n){for(var t=a.nodes(),r=t.pop(),o={};r;)o[r]?e(r):(o[r]=!0,t.push(r),t=t.concat(n(r))),r=t.pop()}return d((function(e){u[e]=a.inEdges(e).reduce((function(e,n){return Math.max(e,u[n.v]+a.edge(n))}),0)}),a.predecessors.bind(a)),d((function(n){var t=a.outEdges(n).reduce((function(e,n){return Math.min(e,u[n.w]-a.edge(n))}),Number.POSITIVE_INFINITY),r=e.node(n);t!==Number.POSITIVE_INFINITY&&r.borderType!==s&&(u[n]=Math.max(u[n],t))}),a.successors.bind(a)),r.A(o,(function(e){u[e]=u[t[e]]})),u}function Tn(e){var n,t=Q(e),o=O.A(jn(e,t),function(e,n){var t={};function o(n,o,i,u,a){var s;r.A(g(o,i),(function(o){s=n[o],e.node(s).dummy&&r.A(e.predecessors(s),(function(n){var r=e.node(n);r.dummy&&(r.ordera)&&Cn(t,n,s)}))}))}return Je.A(n,(function(n,t){var i,u=-1,a=0;return r.A(t,(function(r,s){if("border"===e.node(r).dummy){var d=e.predecessors(r);d.length&&(i=e.node(d[0]).order,o(t,a,s,u,i),a=s,u=i)}o(t,a,t.length,i,n.length)})),t})),t}(e,t)),i={};r.A(["u","d"],(function(u){n="u"===u?t:$e.A(t).reverse(),r.A(["l","r"],(function(t){"r"===t&&(n=d.A(n,(function(e){return $e.A(e).reverse()})));var a=("u"===u?e.predecessors:e.successors).bind(e),s=function(e,n,t,o){var i={},u={},a={};return r.A(n,(function(e){r.A(e,(function(e,n){i[e]=e,u[e]=e,a[e]=n}))})),r.A(n,(function(e){var n=-1;r.A(e,(function(e){var r=o(e);if(r.length){r=fn(r,(function(e){return a[e]}));for(var s=(r.length-1)/2,d=Math.floor(s),c=Math.ceil(s);d<=c;++d){var h=r[d];u[e]===e&&n{var n=t(" buildLayoutGraph",(()=>function(e){var n=new p.T({multigraph:!0,compound:!0}),t=$n(e.graph());return n.setGraph(O.A({},Dn,zn(t,Fn),I(t,Sn))),r.A(e.nodes(),(function(t){var r=$n(e.node(t));n.setNode(t,L.A(zn(r,Gn),Vn)),n.setParent(t,e.parent(t))})),r.A(e.edges(),(function(t){var r=$n(e.edge(t));n.setEdge(t,O.A({},qn,zn(r,Bn),I(r,Yn)))})),n}(e)));t(" runLayout",(()=>function(e,n){n(" makeSpaceForEdgeLabels",(()=>function(e){var n=e.graph();n.ranksep/=2,r.A(e.edges(),(function(t){var r=e.edge(t);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(e))),n(" removeSelfEdges",(()=>function(e){r.A(e.edges(),(function(n){if(n.v===n.w){var t=e.node(n.v);t.selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}}))}(e))),n(" acyclic",(()=>x(e))),n(" nestingGraph.run",(()=>Ze(e))),n(" rank",(()=>qe(H(e)))),n(" injectEdgeLabelProxies",(()=>function(e){r.A(e.edges(),(function(n){var t=e.edge(n);if(t.width&&t.height){var r=e.node(n.v),o={rank:(e.node(n.w).rank-r.rank)/2+r.rank,e:n};Z(e,"edge-proxy",o,"_ep")}}))}(e))),n(" removeEmptyRanks",(()=>function(e){var n=Y.A(d.A(e.nodes(),(function(n){return e.node(n).rank}))),t=[];r.A(e.nodes(),(function(r){var o=e.node(r).rank-n;t[o]||(t[o]=[]),t[o].push(r)}));var o=0,i=e.graph().nodeRankFactor;r.A(t,(function(n,t){q.A(n)&&t%i!=0?--o:o&&r.A(n,(function(n){e.node(n).rank+=o}))}))}(e))),n(" nestingGraph.cleanup",(()=>function(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,r.A(e.edges(),(function(n){e.edge(n).nestingEdge&&e.removeEdge(n)}))}(e))),n(" normalizeRanks",(()=>function(e){var n=Y.A(d.A(e.nodes(),(function(n){return e.node(n).rank})));r.A(e.nodes(),(function(t){var r=e.node(t);z.A(r,"rank")&&(r.rank-=n)}))}(e))),n(" assignRankMinMax",(()=>function(e){var n=0;r.A(e.nodes(),(function(t){var r=e.node(t);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,n=F(n,r.maxRank))})),e.graph().maxRank=n}(e))),n(" removeEdgeLabelProxies",(()=>function(e){r.A(e.nodes(),(function(n){var t=e.node(n);"edge-proxy"===t.dummy&&(e.edge(t.e).labelRank=t.rank,e.removeNode(n))}))}(e))),n(" normalize.run",(()=>ae(e))),n(" parentDummyChains",(()=>En(e))),n(" addBorderSegments",(()=>function(e){r.A(e.children(),(function n(t){var o=e.children(t),i=e.node(t);if(o.length&&r.A(o,n),Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var u=i.minRank,a=i.maxRank+1;ubn(e))),n(" insertSelfEdges",(()=>function(e){var n=Q(e);r.A(n,(function(n){var t=0;r.A(n,(function(n,o){var i=e.node(n);i.order=o+t,r.A(i.selfEdges,(function(n){Z(e,"selfedge",{width:n.label.width,height:n.label.height,rank:i.rank,order:o+ ++t,e:n.e,label:n.label},"_se")})),delete i.selfEdges}))}))}(e))),n(" adjustCoordinateSystem",(()=>function(e){var n=e.graph().rankdir.toLowerCase();"lr"!==n&&"rl"!==n||re(e)}(e))),n(" position",(()=>Mn(e))),n(" positionSelfEdges",(()=>function(e){r.A(e.nodes(),(function(n){var t=e.node(n);if("selfedge"===t.dummy){var r=e.node(t.e.v),o=r.x+r.width/2,i=r.y,u=t.x-o,a=r.height/2;e.setEdge(t.e,t.label),e.removeNode(n),t.label.points=[{x:o+2*u/3,y:i-a},{x:o+5*u/6,y:i-a},{x:o+u,y:i},{x:o+5*u/6,y:i+a},{x:o+2*u/3,y:i+a}],t.label.x=t.x,t.label.y=t.y}}))}(e))),n(" removeBorderNodes",(()=>function(e){r.A(e.nodes(),(function(n){if(e.children(n).length){var t=e.node(n),r=e.node(t.borderTop),o=e.node(t.borderBottom),i=e.node(D.A(t.borderLeft)),u=e.node(D.A(t.borderRight));t.width=Math.abs(u.x-i.x),t.height=Math.abs(o.y-r.y),t.x=i.x+t.width/2,t.y=r.y+t.height/2}})),r.A(e.nodes(),(function(n){"border"===e.node(n).dummy&&e.removeNode(n)}))}(e))),n(" normalize.undo",(()=>function(e){r.A(e.graph().dummyChains,(function(n){var t,r=e.node(n),o=r.edgeLabel;for(e.setEdge(r.edgeObj,o);r.dummy;)t=e.successors(n)[0],e.removeNode(n),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),n=t,r=e.node(n)}))}(e))),n(" fixupEdgeLabelCoords",(()=>function(e){r.A(e.edges(),(function(n){var t=e.edge(n);if(Object.prototype.hasOwnProperty.call(t,"x"))switch("l"!==t.labelpos&&"r"!==t.labelpos||(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}}))}(e))),n(" undoCoordinateSystem",(()=>te(e))),n(" translateGraph",(()=>function(e){var n=Number.POSITIVE_INFINITY,t=0,o=Number.POSITIVE_INFINITY,i=0,u=e.graph(),a=u.marginx||0,s=u.marginy||0;function d(e){var r=e.x,u=e.y,a=e.width,s=e.height;n=Math.min(n,r-a/2),t=Math.max(t,r+a/2),o=Math.min(o,u-s/2),i=Math.max(i,u+s/2)}r.A(e.nodes(),(function(n){d(e.node(n))})),r.A(e.edges(),(function(n){var t=e.edge(n);Object.prototype.hasOwnProperty.call(t,"x")&&d(t)})),n-=a,o-=s,r.A(e.nodes(),(function(t){var r=e.node(t);r.x-=n,r.y-=o})),r.A(e.edges(),(function(t){var i=e.edge(t);r.A(i.points,(function(e){e.x-=n,e.y-=o})),Object.prototype.hasOwnProperty.call(i,"x")&&(i.x-=n),Object.prototype.hasOwnProperty.call(i,"y")&&(i.y-=o)})),u.width=t-n+a,u.height=i-o+s}(e))),n(" assignNodeIntersects",(()=>function(e){r.A(e.edges(),(function(n){var t,r,o=e.edge(n),i=e.node(n.v),u=e.node(n.w);o.points?(t=o.points[0],r=o.points[o.points.length-1]):(o.points=[],t=u,r=i),o.points.unshift(K(i,t)),o.points.push(K(u,r))}))}(e))),n(" reversePoints",(()=>function(e){r.A(e.edges(),(function(n){var t=e.edge(n);t.reversed&&t.points.reverse()}))}(e))),n(" acyclic.undo",(()=>function(e){r.A(e.edges(),(function(n){var t=e.edge(n);if(t.reversed){e.removeEdge(n);var r=t.forwardName;delete t.reversed,delete t.forwardName,e.setEdge(n.w,n.v,t,r)}}))}(e)))}(n,t))),t(" updateInputGraph",(()=>function(e,n){r.A(e.nodes(),(function(t){var r=e.node(t),o=n.node(t);r&&(r.x=o.x,r.y=o.y,n.children(t).length&&(r.width=o.width,r.height=o.height))})),r.A(e.edges(),(function(t){var r=e.edge(t),o=n.edge(t);r.points=o.points,Object.prototype.hasOwnProperty.call(o,"x")&&(r.x=o.x,r.y=o.y)})),e.graph().width=n.graph().width,e.graph().height=n.graph().height}(e,n)))}))}var Fn=["nodesep","edgesep","ranksep","marginx","marginy"],Dn={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Sn=["acyclicer","ranker","rankdir","align"],Gn=["width","height"],Vn={width:0,height:0},Bn=["minlen","weight","width","height","labeloffset"],qn={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Yn=["labelpos"];function zn(e,n){return B(I(e,n),Number)}function $n(e){var n={};return r.A(e,(function(e,t){n[t.toLowerCase()]=e})),n}},37981:(e,n,t)=>{t.d(n,{T:()=>w});var r=t(39142),o=t(89610),i=t(27422),u=t(94092),a=t(66401),s=t(8058),d=t(69592),c=t(13588),h=t(24326),f=t(99902),v=t(53533);const l=(0,h.A)((function(e){return(0,f.A)((0,c.A)(e,1,v.A,!0))}));var g=t(38207),p=t(89463),A="\0";class w{constructor(e={}){this._isDirected=!Object.prototype.hasOwnProperty.call(e,"directed")||e.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(e,"multigraph")&&e.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.A(void 0),this._defaultEdgeLabelFn=r.A(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[A]={}),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(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return o.A(e)||(e=r.A(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return i.A(this._nodes)}sources(){var e=this;return u.A(this.nodes(),(function(n){return a.A(e._in[n])}))}sinks(){var e=this;return u.A(this.nodes(),(function(n){return a.A(e._out[n])}))}setNodes(e,n){var t=arguments,r=this;return s.A(e,(function(e){t.length>1?r.setNode(e,n):r.setNode(e)})),this}setNode(e,n){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=n),this):(this._nodes[e]=arguments.length>1?n:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=A,this._children[e]={},this._children[A][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var n=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],s.A(this.children(e),(e=>{this.setParent(e)})),delete this._children[e]),s.A(i.A(this._in[e]),n),delete this._in[e],delete this._preds[e],s.A(i.A(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,n){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(d.A(n))n=A;else{for(var t=n+="";!d.A(t);t=this.parent(t))if(t===e)throw new Error("Setting "+n+" as parent of "+e+" would create a cycle");this.setNode(n)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=n,this._children[n][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var n=this._parent[e];if(n!==A)return n}}children(e){if(d.A(e)&&(e=A),this._isCompound){var n=this._children[e];if(n)return i.A(n)}else{if(e===A)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var n=this._preds[e];if(n)return i.A(n)}successors(e){var n=this._sucs[e];if(n)return i.A(n)}neighbors(e){var n=this.predecessors(e);if(n)return l(n,this.successors(e))}isLeaf(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var t=this;s.A(this._nodes,(function(t,r){e(r)&&n.setNode(r,t)})),s.A(this._edgeObjs,(function(e){n.hasNode(e.v)&&n.hasNode(e.w)&&n.setEdge(e,t.edge(e))}));var r={};function o(e){var i=t.parent(e);return void 0===i||n.hasNode(i)?(r[e]=i,i):i in r?r[i]:o(i)}return this._isCompound&&s.A(n.nodes(),(function(e){n.setParent(e,o(e))})),n}setDefaultEdgeLabel(e){return o.A(e)||(e=r.A(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return g.A(this._edgeObjs)}setPath(e,n){var t=this,r=arguments;return p.A(e,(function(e,o){return r.length>1?t.setEdge(e,o,n):t.setEdge(e,o),o})),this}setEdge(){var e,n,t,r,o=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(e=i.v,n=i.w,t=i.name,2===arguments.length&&(r=arguments[1],o=!0)):(e=i,n=arguments[1],t=arguments[3],arguments.length>2&&(r=arguments[2],o=!0)),e=""+e,n=""+n,d.A(t)||(t=""+t);var u=y(this._isDirected,e,n,t);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,u))return o&&(this._edgeLabels[u]=r),this;if(!d.A(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(n),this._edgeLabels[u]=o?r:this._defaultEdgeLabelFn(e,n,t);var a=function(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};r&&(a.name=r);return a}(this._isDirected,e,n,t);return e=a.v,n=a.w,Object.freeze(a),this._edgeObjs[u]=a,b(this._preds[n],e),b(this._sucs[e],n),this._in[n][u]=a,this._out[e][u]=a,this._edgeCount++,this}edge(e,n,t){var r=1===arguments.length?_(this._isDirected,arguments[0]):y(this._isDirected,e,n,t);return this._edgeLabels[r]}hasEdge(e,n,t){var r=1===arguments.length?_(this._isDirected,arguments[0]):y(this._isDirected,e,n,t);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,n,t){var r=1===arguments.length?_(this._isDirected,arguments[0]):y(this._isDirected,e,n,t),o=this._edgeObjs[r];return o&&(e=o.v,n=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],m(this._preds[n],e),m(this._sucs[e],n),delete this._in[n][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,n){var t=this._in[e];if(t){var r=g.A(t);return n?u.A(r,(function(e){return e.v===n})):r}}outEdges(e,n){var t=this._out[e];if(t){var r=g.A(t);return n?u.A(r,(function(e){return e.w===n})):r}}nodeEdges(e,n){var t=this.inEdges(e,n);if(t)return t.concat(this.outEdges(e,n))}}function b(e,n){e[n]?e[n]++:e[n]=1}function m(e,n){--e[n]||delete e[n]}function y(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}return o+"\x01"+i+"\x01"+(d.A(r)?"\0":r)}function _(e,n){return y(e,n.v,n.w,n.name)}w.prototype._nodeCount=0,w.prototype._edgeCount=0},697:(e,n,t)=>{t.d(n,{T:()=>r.T});var r=t(37981)},72559:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(61882);const o=function(e,n,t){for(var o=-1,i=e.length;++o{t.d(n,{A:()=>r});const r=function(e,n){return e{t.d(n,{A:()=>i});var r=t(6240),o=t(38446);const i=function(e,n){var t=-1,i=(0,o.A)(e)?Array(e.length):[];return(0,r.A)(e,(function(e,r,o){i[++t]=n(e,r,o)})),i}},99354:(e,n,t)=>{t.d(n,{A:()=>c});var r=t(66318),o=t(52851),i=t(7819),u=t(25353),a=t(23149),s=t(30901);const d=function(e,n,t,r){if(!(0,a.A)(e))return e;for(var d=-1,c=(n=(0,i.A)(n,e)).length,h=c-1,f=e;null!=f&&++d{t.d(n,{A:()=>d});var r=t(24326),o=t(66984),i=t(6832),u=t(55615),a=Object.prototype,s=a.hasOwnProperty;const d=(0,r.A)((function(e,n){e=Object(e);var t=-1,r=n.length,d=r>2?n[2]:void 0;for(d&&(0,i.A)(n[0],n[1],d)&&(r=1);++t{t.d(n,{A:()=>c});var r=t(23958),o=t(38446),i=t(27422);const u=function(e){return function(n,t,u){var a=Object(n);if(!(0,o.A)(n)){var s=(0,r.A)(t,3);n=(0,i.A)(n),t=function(e){return s(a[e],e,a)}}var d=e(n,t,u);return d>-1?a[s?n[d]:d]:void 0}};var a=t(25707),s=t(18593),d=Math.max;const c=u((function(e,n,t){var o=null==e?0:e.length;if(!o)return-1;var i=null==t?0:(0,s.A)(t);return i<0&&(i=d(o+i,0)),(0,a.A)(e,(0,r.A)(n,3),i)}))},34098:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(13588);const o=function(e){return(null==e?0:e.length)?(0,r.A)(e,1):[]}},48585:(e,n,t)=>{t.d(n,{A:()=>u});var r=Object.prototype.hasOwnProperty;const o=function(e,n){return null!=e&&r.call(e,n)};var i=t(85054);const u=function(e,n){return null!=e&&(0,i.A)(e,n,o)}},9703:(e,n,t)=>{t.d(n,{A:()=>u});var r=t(88496),o=t(92049),i=t(53098);const u=function(e){return"string"==typeof e||!(0,o.A)(e)&&(0,i.A)(e)&&"[object String]"==(0,r.A)(e)}},26666:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},74722:(e,n,t)=>{t.d(n,{A:()=>a});var r=t(45572),o=t(23958),i=t(52568),u=t(92049);const a=function(e,n){return((0,u.A)(e)?r.A:i.A)(e,(0,o.A)(n,3))}},86452:(e,n,t)=>{t.d(n,{A:()=>u});var r=t(72559),o=t(36224),i=t(29008);const u=function(e){return e&&e.length?(0,r.A)(e,i.A,o.A):void 0}},74342:(e,n,t)=>{t.d(n,{A:()=>g});var r=/\s/;const o=function(e){for(var n=e.length;n--&&r.test(e.charAt(n)););return n};var i=/^\s+/;const u=function(e){return e?e.slice(0,o(e)+1).replace(i,""):e};var a=t(23149),s=t(61882),d=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt;const v=function(e){if("number"==typeof e)return e;if((0,s.A)(e))return NaN;if((0,a.A)(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=(0,a.A)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=u(e);var t=c.test(e);return t||h.test(e)?f(e.slice(2),t?2:8):d.test(e)?NaN:+e};var l=1/0;const g=function(e){return e?(e=v(e))===l||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},18593:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(74342);const o=function(e){var n=(0,r.A)(e),t=n%1;return n==n?t?n-t:n:0}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/2387.b11c70d9.js b/pr-preview/pr-4/assets/js/2387.b11c70d9.js new file mode 100644 index 0000000..352243d --- /dev/null +++ b/pr-preview/pr-4/assets/js/2387.b11c70d9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2387],{82387:(e,s,r)=>{r.d(s,{createGitGraphServices:()=>p.b});var p=r(82785);r(19369)}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/2763.58608ee6.js b/pr-preview/pr-4/assets/js/2763.58608ee6.js new file mode 100644 index 0000000..4c517c6 --- /dev/null +++ b/pr-preview/pr-4/assets/js/2763.58608ee6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2763],{86022:(e,t,a)=>{function i(e,t){e.accDescr&&t.setAccDescription?.(e.accDescr),e.accTitle&&t.setAccTitle?.(e.accTitle),e.title&&t.setDiagramTitle?.(e.title)}a.d(t,{S:()=>i}),(0,a(45567).K2)(i,"populateCommonDb")},62763:(e,t,a)=>{a.d(t,{diagram:()=>b});var i=a(86022),n=a(85039),r=a(61021),l=a(45567),s=a(78731),o=a(20007),c=l.UI.pie,p={sections:new Map,showData:!1,config:c},d=p.sections,g=p.showData,u=structuredClone(c),h=(0,l.K2)((()=>structuredClone(u)),"getConfig"),m=(0,l.K2)((()=>{d=new Map,g=p.showData,(0,l.IU)()}),"clear"),f=(0,l.K2)((({label:e,value:t})=>{d.has(e)||(d.set(e,t),l.Rm.debug(`added new section: ${e}, with value: ${t}`))}),"addSection"),S=(0,l.K2)((()=>d),"getSections"),x=(0,l.K2)((e=>{g=e}),"setShowData"),w=(0,l.K2)((()=>g),"getShowData"),D={getConfig:h,clear:m,setDiagramTitle:l.ke,getDiagramTitle:l.ab,setAccTitle:l.SV,getAccTitle:l.iN,setAccDescription:l.EI,getAccDescription:l.m7,addSection:f,getSections:S,setShowData:x,getShowData:w},T=(0,l.K2)(((e,t)=>{(0,i.S)(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)}),"populateDb"),$={parse:(0,l.K2)((async e=>{const t=await(0,s.qg)("pie",e);l.Rm.debug(t),T(t,D)}),"parse")},y=(0,l.K2)((e=>`\n .pieCircle{\n stroke: ${e.pieStrokeColor};\n stroke-width : ${e.pieStrokeWidth};\n opacity : ${e.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${e.pieOuterStrokeColor};\n stroke-width: ${e.pieOuterStrokeWidth};\n fill: none;\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${e.pieTitleTextSize};\n fill: ${e.pieTitleTextColor};\n font-family: ${e.fontFamily};\n }\n .slice {\n font-family: ${e.fontFamily};\n fill: ${e.pieSectionTextColor};\n font-size:${e.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${e.pieLegendTextColor};\n font-family: ${e.fontFamily};\n font-size: ${e.pieLegendTextSize};\n }\n`),"getStyles"),C=(0,l.K2)((e=>{const t=[...e.entries()].map((e=>({label:e[0],value:e[1]}))).sort(((e,t)=>t.value-e.value));return(0,o.rLf)().value((e=>e.value))(t)}),"createPieArcs"),b={parser:$,db:D,renderer:{draw:(0,l.K2)(((e,t,a,i)=>{l.Rm.debug("rendering pie chart\n"+e);const s=i.db,c=(0,l.D7)(),p=(0,n.$t)(s.getConfig(),c.pie),d=18,g=450,u=g,h=(0,r.D)(t),m=h.append("g");m.attr("transform","translate(225,225)");const{themeVariables:f}=c;let[S]=(0,n.I5)(f.pieOuterStrokeWidth);S??=2;const x=p.textPosition,w=Math.min(u,g)/2-40,D=(0,o.JLW)().innerRadius(0).outerRadius(w),T=(0,o.JLW)().innerRadius(w*x).outerRadius(w*x);m.append("circle").attr("cx",0).attr("cy",0).attr("r",w+S/2).attr("class","pieOuterCircle");const $=s.getSections(),y=C($),b=[f.pie1,f.pie2,f.pie3,f.pie4,f.pie5,f.pie6,f.pie7,f.pie8,f.pie9,f.pie10,f.pie11,f.pie12],k=(0,o.UMr)(b);m.selectAll("mySlices").data(y).enter().append("path").attr("d",D).attr("fill",(e=>k(e.data.label))).attr("class","pieCircle");let K=0;$.forEach((e=>{K+=e})),m.selectAll("mySlices").data(y).enter().append("text").text((e=>(e.data.value/K*100).toFixed(0)+"%")).attr("transform",(e=>"translate("+T.centroid(e)+")")).style("text-anchor","middle").attr("class","slice"),m.append("text").text(s.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");const v=m.selectAll(".legend").data(k.domain()).enter().append("g").attr("class","legend").attr("transform",((e,t)=>"translate(216,"+(22*t-22*k.domain().length/2)+")"));v.append("rect").attr("width",d).attr("height",d).style("fill",k).style("stroke",k),v.data(y).append("text").attr("x",22).attr("y",14).text((e=>{const{label:t,value:a}=e.data;return s.getShowData()?`${t} [${a}]`:t}));const A=512+Math.max(...v.selectAll("text").nodes().map((e=>e?.getBoundingClientRect().width??0)));h.attr("viewBox",`0 0 ${A} 450`),(0,l.a$)(h,g,A,p.useMaxWidth)}),"draw")},styles:y}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/3364.94ea38b4.js b/pr-preview/pr-4/assets/js/3364.94ea38b4.js new file mode 100644 index 0000000..3152ff8 --- /dev/null +++ b/pr-preview/pr-4/assets/js/3364.94ea38b4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[3364],{73364:(t,e,i)=>{i.d(e,{diagram:()=>v});var a=i(45567),n=i(20007),s=function(){var t=(0,a.K2)((function(t,e,i,a){for(i=i||{},a=t.length;a--;i[t[a]]=e);return i}),"o"),e=[1,3],i=[1,4],n=[1,5],s=[1,6],r=[1,7],o=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],l=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],h=[55,56,57],c=[2,36],d=[1,37],u=[1,36],x=[1,38],g=[1,35],f=[1,43],p=[1,41],y=[1,14],T=[1,23],m=[1,18],q=[1,19],A=[1,20],_=[1,21],b=[1,22],S=[1,24],k=[1,25],F=[1,26],P=[1,27],C=[1,28],L=[1,29],v=[1,32],I=[1,33],E=[1,34],D=[1,39],z=[1,40],w=[1,42],K=[1,44],U=[1,62],N=[1,61],R=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],B=[1,65],W=[1,66],$=[1,67],Q=[1,68],O=[1,69],X=[1,70],H=[1,71],M=[1,72],Y=[1,73],j=[1,74],G=[1,75],V=[1,76],Z=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],tt=[1,91],et=[1,92],it=[1,99],at=[1,93],nt=[1,96],st=[1,94],rt=[1,95],ot=[1,97],lt=[1,98],ht=[1,102],ct=[10,55,56,57],dt=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],ut={trace:(0,a.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:(0,a.K2)((function(t,e,i,a,n,s,r){var o=s.length-1;switch(n){case 23:case 68:this.$=s[o];break;case 24:case 69:this.$=s[o-1]+""+s[o];break;case 26:this.$=s[o-1]+s[o];break;case 27:this.$=[s[o].trim()];break;case 28:s[o-2].push(s[o].trim()),this.$=s[o-2];break;case 29:this.$=s[o-4],a.addClass(s[o-2],s[o]);break;case 37:this.$=[];break;case 42:this.$=s[o].trim(),a.setDiagramTitle(this.$);break;case 43:this.$=s[o].trim(),a.setAccTitle(this.$);break;case 44:case 45:this.$=s[o].trim(),a.setAccDescription(this.$);break;case 46:a.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 47:a.addPoint(s[o-3],"",s[o-1],s[o],[]);break;case 48:a.addPoint(s[o-4],s[o-3],s[o-1],s[o],[]);break;case 49:a.addPoint(s[o-4],"",s[o-2],s[o-1],s[o]);break;case 50:a.addPoint(s[o-5],s[o-4],s[o-2],s[o-1],s[o]);break;case 51:a.setXAxisLeftText(s[o-2]),a.setXAxisRightText(s[o]);break;case 52:s[o-1].text+=" \u27f6 ",a.setXAxisLeftText(s[o-1]);break;case 53:a.setXAxisLeftText(s[o]);break;case 54:a.setYAxisBottomText(s[o-2]),a.setYAxisTopText(s[o]);break;case 55:s[o-1].text+=" \u27f6 ",a.setYAxisBottomText(s[o-1]);break;case 56:a.setYAxisBottomText(s[o]);break;case 57:a.setQuadrant1Text(s[o]);break;case 58:a.setQuadrant2Text(s[o]);break;case 59:a.setQuadrant3Text(s[o]);break;case 60:a.setQuadrant4Text(s[o]);break;case 64:case 66:this.$={text:s[o],type:"text"};break;case 65:this.$={text:s[o-1].text+""+s[o],type:s[o-1].type};break;case 67:this.$={text:s[o],type:"markdown"}}}),"anonymous"),table:[{18:e,26:1,27:2,28:i,55:n,56:s,57:r},{1:[3]},{18:e,26:8,27:2,28:i,55:n,56:s,57:r},{18:e,26:9,27:2,28:i,55:n,56:s,57:r},t(o,[2,33],{29:10}),t(l,[2,61]),t(l,[2,62]),t(l,[2,63]),{1:[2,30]},{1:[2,31]},t(h,c,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:u,10:x,12:g,13:f,14:p,18:y,25:T,35:m,37:q,39:A,41:_,42:b,48:S,50:k,51:F,52:P,53:C,54:L,60:v,61:I,63:E,64:D,65:z,66:w,67:K}),t(o,[2,34]),{27:45,55:n,56:s,57:r},t(h,[2,37]),t(h,c,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:u,10:x,12:g,13:f,14:p,18:y,25:T,35:m,37:q,39:A,41:_,42:b,48:S,50:k,51:F,52:P,53:C,54:L,60:v,61:I,63:E,64:D,65:z,66:w,67:K}),t(h,[2,39]),t(h,[2,40]),t(h,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(h,[2,45]),t(h,[2,46]),{18:[1,50]},{4:d,5:u,10:x,12:g,13:f,14:p,43:51,58:31,60:v,61:I,63:E,64:D,65:z,66:w,67:K},{4:d,5:u,10:x,12:g,13:f,14:p,43:52,58:31,60:v,61:I,63:E,64:D,65:z,66:w,67:K},{4:d,5:u,10:x,12:g,13:f,14:p,43:53,58:31,60:v,61:I,63:E,64:D,65:z,66:w,67:K},{4:d,5:u,10:x,12:g,13:f,14:p,43:54,58:31,60:v,61:I,63:E,64:D,65:z,66:w,67:K},{4:d,5:u,10:x,12:g,13:f,14:p,43:55,58:31,60:v,61:I,63:E,64:D,65:z,66:w,67:K},{4:d,5:u,10:x,12:g,13:f,14:p,43:56,58:31,60:v,61:I,63:E,64:D,65:z,66:w,67:K},{4:d,5:u,8:U,10:x,12:g,13:f,14:p,18:N,44:[1,57],47:[1,58],58:60,59:59,63:E,64:D,65:z,66:w,67:K},t(R,[2,64]),t(R,[2,66]),t(R,[2,67]),t(R,[2,70]),t(R,[2,71]),t(R,[2,72]),t(R,[2,73]),t(R,[2,74]),t(R,[2,75]),t(R,[2,76]),t(R,[2,77]),t(R,[2,78]),t(R,[2,79]),t(R,[2,80]),t(o,[2,35]),t(h,[2,38]),t(h,[2,42]),t(h,[2,43]),t(h,[2,44]),{3:64,4:B,5:W,6:$,7:Q,8:O,9:X,10:H,11:M,12:Y,13:j,14:G,15:V,21:63},t(h,[2,53],{59:59,58:60,4:d,5:u,8:U,10:x,12:g,13:f,14:p,18:N,49:[1,77],63:E,64:D,65:z,66:w,67:K}),t(h,[2,56],{59:59,58:60,4:d,5:u,8:U,10:x,12:g,13:f,14:p,18:N,49:[1,78],63:E,64:D,65:z,66:w,67:K}),t(h,[2,57],{59:59,58:60,4:d,5:u,8:U,10:x,12:g,13:f,14:p,18:N,63:E,64:D,65:z,66:w,67:K}),t(h,[2,58],{59:59,58:60,4:d,5:u,8:U,10:x,12:g,13:f,14:p,18:N,63:E,64:D,65:z,66:w,67:K}),t(h,[2,59],{59:59,58:60,4:d,5:u,8:U,10:x,12:g,13:f,14:p,18:N,63:E,64:D,65:z,66:w,67:K}),t(h,[2,60],{59:59,58:60,4:d,5:u,8:U,10:x,12:g,13:f,14:p,18:N,63:E,64:D,65:z,66:w,67:K}),{45:[1,79]},{44:[1,80]},t(R,[2,65]),t(R,[2,81]),t(R,[2,82]),t(R,[2,83]),{3:82,4:B,5:W,6:$,7:Q,8:O,9:X,10:H,11:M,12:Y,13:j,14:G,15:V,18:[1,81]},t(Z,[2,23]),t(Z,[2,1]),t(Z,[2,2]),t(Z,[2,3]),t(Z,[2,4]),t(Z,[2,5]),t(Z,[2,6]),t(Z,[2,7]),t(Z,[2,8]),t(Z,[2,9]),t(Z,[2,10]),t(Z,[2,11]),t(Z,[2,12]),t(h,[2,52],{58:31,43:83,4:d,5:u,10:x,12:g,13:f,14:p,60:v,61:I,63:E,64:D,65:z,66:w,67:K}),t(h,[2,55],{58:31,43:84,4:d,5:u,10:x,12:g,13:f,14:p,60:v,61:I,63:E,64:D,65:z,66:w,67:K}),{46:[1,85]},{45:[1,86]},{4:J,5:tt,6:et,8:it,11:at,13:nt,16:89,17:st,18:rt,19:ot,20:lt,22:88,23:87},t(Z,[2,24]),t(h,[2,51],{59:59,58:60,4:d,5:u,8:U,10:x,12:g,13:f,14:p,18:N,63:E,64:D,65:z,66:w,67:K}),t(h,[2,54],{59:59,58:60,4:d,5:u,8:U,10:x,12:g,13:f,14:p,18:N,63:E,64:D,65:z,66:w,67:K}),t(h,[2,47],{22:88,16:89,23:100,4:J,5:tt,6:et,8:it,11:at,13:nt,17:st,18:rt,19:ot,20:lt}),{46:[1,101]},t(h,[2,29],{10:ht}),t(ct,[2,27],{16:103,4:J,5:tt,6:et,8:it,11:at,13:nt,17:st,18:rt,19:ot,20:lt}),t(dt,[2,25]),t(dt,[2,13]),t(dt,[2,14]),t(dt,[2,15]),t(dt,[2,16]),t(dt,[2,17]),t(dt,[2,18]),t(dt,[2,19]),t(dt,[2,20]),t(dt,[2,21]),t(dt,[2,22]),t(h,[2,49],{10:ht}),t(h,[2,48],{22:88,16:89,23:104,4:J,5:tt,6:et,8:it,11:at,13:nt,17:st,18:rt,19:ot,20:lt}),{4:J,5:tt,6:et,8:it,11:at,13:nt,16:89,17:st,18:rt,19:ot,20:lt,22:105},t(dt,[2,26]),t(h,[2,50],{10:ht}),t(ct,[2,28],{16:103,4:J,5:tt,6:et,8:it,11:at,13:nt,17:st,18:rt,19:ot,20:lt})],defaultActions:{8:[2,30],9:[2,31]},parseError:(0,a.K2)((function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)}),"parseError"),parse:(0,a.K2)((function(t){var e=this,i=[0],n=[],s=[null],r=[],o=this.table,l="",h=0,c=0,d=0,u=r.slice.call(arguments,1),x=Object.create(this.lexer),g={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(g.yy[f]=this.yy[f]);x.setInput(t,g.yy),g.yy.lexer=x,g.yy.parser=this,void 0===x.yylloc&&(x.yylloc={});var p=x.yylloc;r.push(p);var y=x.options&&x.options.ranges;function T(){var t;return"number"!=typeof(t=n.pop()||x.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,a.K2)((function(t){i.length=i.length-2*t,s.length=s.length-t,r.length=r.length-t}),"popStack"),(0,a.K2)(T,"lex");for(var m,q,A,_,b,S,k,F,P,C={};;){if(A=i[i.length-1],this.defaultActions[A]?_=this.defaultActions[A]:(null==m&&(m=T()),_=o[A]&&o[A][m]),void 0===_||!_.length||!_[0]){var L="";for(S in P=[],o[A])this.terminals_[S]&&S>2&&P.push("'"+this.terminals_[S]+"'");L=x.showPosition?"Parse error on line "+(h+1)+":\n"+x.showPosition()+"\nExpecting "+P.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(L,{text:x.match,token:this.terminals_[m]||m,line:x.yylineno,loc:p,expected:P})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+m);switch(_[0]){case 1:i.push(m),s.push(x.yytext),r.push(x.yylloc),i.push(_[1]),m=null,q?(m=q,q=null):(c=x.yyleng,l=x.yytext,h=x.yylineno,p=x.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[_[1]][1],C.$=s[s.length-k],C._$={first_line:r[r.length-(k||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(k||1)].first_column,last_column:r[r.length-1].last_column},y&&(C._$.range=[r[r.length-(k||1)].range[0],r[r.length-1].range[1]]),void 0!==(b=this.performAction.apply(C,[l,c,h,g.yy,_[1],s,r].concat(u))))return b;k&&(i=i.slice(0,-1*k*2),s=s.slice(0,-1*k),r=r.slice(0,-1*k)),i.push(this.productions_[_[1]][0]),s.push(C.$),r.push(C._$),F=o[i[i.length-2]][i[i.length-1]],i.push(F);break;case 3:return!0}}return!0}),"parse")},xt=function(){return{EOF:1,parseError:(0,a.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,a.K2)((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}),"setInput"),input:(0,a.K2)((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}),"input"),unput:(0,a.K2)((function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===a.length?this.yylloc.first_column:0)+a[a.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,a.K2)((function(){return this._more=!0,this}),"more"),reject:(0,a.K2)((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})}),"reject"),less:(0,a.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,a.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,a.K2)((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,"")}),"upcomingInput"),showPosition:(0,a.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,a.K2)((function(t,e){var i,a,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var s in n)this[s]=n[s];return!1}return!1}),"test_match"),next:(0,a.K2)((function(){if(this.done)return this.EOF;var t,e,i,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),s=0;se[0].length)){if(e=i,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[a]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,a.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,a.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,a.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,a.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,a.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,a.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,a.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.K2)((function(t,e,i,a){switch(i){case 0:case 1:case 3:break;case 2:return 55;case 4:return this.begin("title"),35;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),37;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),39;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 23:case 25:case 31:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 24:this.begin("string");break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;case 29:return this.begin("point_start"),44;case 30:return this.begin("point_x"),45;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;case 34:return 28;case 35:return 4;case 36:return 11;case 37:return 64;case 38:return 10;case 39:case 40:return 65;case 41:return 14;case 42:return 13;case 43:return 67;case 44:return 66;case 45:return 12;case 46:return 8;case 47:return 5;case 48:return 18;case 49:return 56;case 50:return 63;case 51:return 57}}),"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}}}();function gt(){this.yy={}}return ut.lexer=xt,(0,a.K2)(gt,"Parser"),gt.prototype=ut,ut.Parser=gt,new gt}();s.parser=s;var r=s,o=(0,a.P$)(),l=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{(0,a.K2)(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:a.UI.quadrantChart?.chartWidth||500,chartWidth:a.UI.quadrantChart?.chartHeight||500,titlePadding:a.UI.quadrantChart?.titlePadding||10,titleFontSize:a.UI.quadrantChart?.titleFontSize||20,quadrantPadding:a.UI.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:a.UI.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:a.UI.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:a.UI.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:a.UI.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:a.UI.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:a.UI.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:a.UI.quadrantChart?.pointTextPadding||5,pointLabelFontSize:a.UI.quadrantChart?.pointLabelFontSize||12,pointRadius:a.UI.quadrantChart?.pointRadius||5,xAxisPosition:a.UI.quadrantChart?.xAxisPosition||"top",yAxisPosition:a.UI.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:a.UI.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:a.UI.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:o.quadrant1Fill,quadrant2Fill:o.quadrant2Fill,quadrant3Fill:o.quadrant3Fill,quadrant4Fill:o.quadrant4Fill,quadrant1TextFill:o.quadrant1TextFill,quadrant2TextFill:o.quadrant2TextFill,quadrant3TextFill:o.quadrant3TextFill,quadrant4TextFill:o.quadrant4TextFill,quadrantPointFill:o.quadrantPointFill,quadrantPointTextFill:o.quadrantPointTextFill,quadrantXAxisTextFill:o.quadrantXAxisTextFill,quadrantYAxisTextFill:o.quadrantYAxisTextFill,quadrantTitleFill:o.quadrantTitleFill,quadrantInternalBorderStrokeFill:o.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:o.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,a.Rm.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}addClass(t,e){this.classes.set(t,e)}setConfig(t){a.Rm.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){a.Rm.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,e,i,a){const n=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,s={top:"top"===t&&e?n:0,bottom:"bottom"===t&&e?n:0},r=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,o={left:"left"===this.config.yAxisPosition&&i?r:0,right:"right"===this.config.yAxisPosition&&i?r:0},l=this.config.titleFontSize+2*this.config.titlePadding,h={top:a?l:0},c=this.config.quadrantPadding+o.left,d=this.config.quadrantPadding+s.top+h.top,u=this.config.chartWidth-2*this.config.quadrantPadding-o.left-o.right,x=this.config.chartHeight-2*this.config.quadrantPadding-s.top-s.bottom-h.top;return{xAxisSpace:s,yAxisSpace:o,titleSpace:h,quadrantSpace:{quadrantLeft:c,quadrantTop:d,quadrantWidth:u,quadrantHalfWidth:u/2,quadrantHeight:x,quadrantHalfHeight:x/2}}}getAxisLabels(t,e,i,a){const{quadrantSpace:n,titleSpace:s}=a,{quadrantHalfHeight:r,quadrantHeight:o,quadrantLeft:l,quadrantHalfWidth:h,quadrantTop:c,quadrantWidth:d}=n,u=Boolean(this.data.xAxisRightText),x=Boolean(this.data.yAxisTopText),g=[];return this.data.xAxisLeftText&&e&&g.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:l+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+c+o+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&e&&g.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:l+h+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+c+o+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&i&&g.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+l+d+this.config.quadrantPadding,y:c+o-(x?r/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&i&&g.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+l+d+this.config.quadrantPadding,y:c+r-(x?r/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),g}getQuadrants(t){const{quadrantSpace:e}=t,{quadrantHalfHeight:i,quadrantLeft:a,quadrantHalfWidth:n,quadrantTop:s}=e,r=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:s,width:n,height:i,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:s,width:n,height:i,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:s+i,width:n,height:i,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:s+i,width:n,height:i,fill:this.themeConfig.quadrant4Fill}];for(const o of r)o.text.x=o.x+o.width/2,0===this.data.points.length?(o.text.y=o.y+o.height/2,o.text.horizontalPos="middle"):(o.text.y=o.y+this.config.quadrantTextTopPadding,o.text.horizontalPos="top");return r}getQuadrantPoints(t){const{quadrantSpace:e}=t,{quadrantHeight:i,quadrantLeft:a,quadrantTop:s,quadrantWidth:r}=e,o=(0,n.m4Y)().domain([0,1]).range([a,r+a]),l=(0,n.m4Y)().domain([0,1]).range([i+s,s]);return this.data.points.map((t=>{const e=this.classes.get(t.className);e&&(t={...e,...t});return{x:o(t.x),y:l(t.y),fill:t.color??this.themeConfig.quadrantPointFill,radius:t.radius??this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:o(t.x),y:l(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:t.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:t.strokeWidth??"0px"}}))}getBorders(t){const e=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:i}=t,{quadrantHalfHeight:a,quadrantHeight:n,quadrantLeft:s,quadrantHalfWidth:r,quadrantTop:o,quadrantWidth:l}=i;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-e,y1:o,x2:s+l+e,y2:o},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s+l,y1:o+e,x2:s+l,y2:o+n-e},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-e,y1:o+n,x2:s+l+e,y2:o+n},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s,y1:o+e,x2:s,y2:o+n-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+r,y1:o+e,x2:s+r,y2:o+n-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+e,y1:o+a,x2:s+l-e,y2:o+a}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const t=this.config.showXAxis&&!(!this.data.xAxisLeftText&&!this.data.xAxisRightText),e=this.config.showYAxis&&!(!this.data.yAxisTopText&&!this.data.yAxisBottomText),i=this.config.showTitle&&!!this.data.titleText,a=this.data.points.length>0?"bottom":this.config.xAxisPosition,n=this.calculateSpace(a,t,e,i);return{points:this.getQuadrantPoints(n),quadrants:this.getQuadrants(n),axisLabels:this.getAxisLabels(a,t,e,n),borderLines:this.getBorders(n),title:this.getTitle(i)}}},h=class extends Error{static{(0,a.K2)(this,"InvalidStyleError")}constructor(t,e,i){super(`value for ${t} ${e} is invalid, please use a valid ${i}`),this.name="InvalidStyleError"}};function c(t){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t)}function d(t){return!/^\d+$/.test(t)}function u(t){return!/^\d+px$/.test(t)}(0,a.K2)(c,"validateHexCode"),(0,a.K2)(d,"validateNumber"),(0,a.K2)(u,"validateSizeInPixels");var x=(0,a.D7)();function g(t){return(0,a.jZ)(t.trim(),x)}(0,a.K2)(g,"textSanitizer");var f=new l;function p(t){f.setData({quadrant1Text:g(t.text)})}function y(t){f.setData({quadrant2Text:g(t.text)})}function T(t){f.setData({quadrant3Text:g(t.text)})}function m(t){f.setData({quadrant4Text:g(t.text)})}function q(t){f.setData({xAxisLeftText:g(t.text)})}function A(t){f.setData({xAxisRightText:g(t.text)})}function _(t){f.setData({yAxisTopText:g(t.text)})}function b(t){f.setData({yAxisBottomText:g(t.text)})}function S(t){const e={};for(const i of t){const[t,a]=i.trim().split(/\s*:\s*/);if("radius"===t){if(d(a))throw new h(t,a,"number");e.radius=parseInt(a)}else if("color"===t){if(c(a))throw new h(t,a,"hex code");e.color=a}else if("stroke-color"===t){if(c(a))throw new h(t,a,"hex code");e.strokeColor=a}else{if("stroke-width"!==t)throw new Error(`style named ${t} is not supported.`);if(u(a))throw new h(t,a,"number of pixels (eg. 10px)");e.strokeWidth=a}}return e}function k(t,e,i,a,n){const s=S(n);f.addPoints([{x:i,y:a,text:g(t.text),className:e,...s}])}function F(t,e){f.addClass(t,S(e))}function P(t){f.setConfig({chartWidth:t})}function C(t){f.setConfig({chartHeight:t})}function L(){const t=(0,a.D7)(),{themeVariables:e,quadrantChart:i}=t;return i&&f.setConfig(i),f.setThemeConfig({quadrant1Fill:e.quadrant1Fill,quadrant2Fill:e.quadrant2Fill,quadrant3Fill:e.quadrant3Fill,quadrant4Fill:e.quadrant4Fill,quadrant1TextFill:e.quadrant1TextFill,quadrant2TextFill:e.quadrant2TextFill,quadrant3TextFill:e.quadrant3TextFill,quadrant4TextFill:e.quadrant4TextFill,quadrantPointFill:e.quadrantPointFill,quadrantPointTextFill:e.quadrantPointTextFill,quadrantXAxisTextFill:e.quadrantXAxisTextFill,quadrantYAxisTextFill:e.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:e.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:e.quadrantInternalBorderStrokeFill,quadrantTitleFill:e.quadrantTitleFill}),f.setData({titleText:(0,a.ab)()}),f.build()}(0,a.K2)(p,"setQuadrant1Text"),(0,a.K2)(y,"setQuadrant2Text"),(0,a.K2)(T,"setQuadrant3Text"),(0,a.K2)(m,"setQuadrant4Text"),(0,a.K2)(q,"setXAxisLeftText"),(0,a.K2)(A,"setXAxisRightText"),(0,a.K2)(_,"setYAxisTopText"),(0,a.K2)(b,"setYAxisBottomText"),(0,a.K2)(S,"parseStyles"),(0,a.K2)(k,"addPoint"),(0,a.K2)(F,"addClass"),(0,a.K2)(P,"setWidth"),(0,a.K2)(C,"setHeight"),(0,a.K2)(L,"getQuadrantData");var v={parser:r,db:{setWidth:P,setHeight:C,setQuadrant1Text:p,setQuadrant2Text:y,setQuadrant3Text:T,setQuadrant4Text:m,setXAxisLeftText:q,setXAxisRightText:A,setYAxisTopText:_,setYAxisBottomText:b,parseStyles:S,addPoint:k,addClass:F,getQuadrantData:L,clear:(0,a.K2)((function(){f.clear(),(0,a.IU)()}),"clear"),setAccTitle:a.SV,getAccTitle:a.iN,setDiagramTitle:a.ke,getDiagramTitle:a.ab,getAccDescription:a.m7,setAccDescription:a.EI},renderer:{draw:(0,a.K2)(((t,e,i,s)=>{function r(t){return"top"===t?"hanging":"middle"}function o(t){return"left"===t?"start":"middle"}function l(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,a.K2)(r,"getDominantBaseLine"),(0,a.K2)(o,"getTextAnchor"),(0,a.K2)(l,"getTransformation");const h=(0,a.D7)();a.Rm.debug("Rendering quadrant chart\n"+t);const c=h.securityLevel;let d;"sandbox"===c&&(d=(0,n.Ltv)("#i"+e));const u=("sandbox"===c?(0,n.Ltv)(d.nodes()[0].contentDocument.body):(0,n.Ltv)("body")).select(`[id="${e}"]`),x=u.append("g").attr("class","main"),g=h.quadrantChart?.chartWidth??500,f=h.quadrantChart?.chartHeight??500;(0,a.a$)(u,f,g,h.quadrantChart?.useMaxWidth??!0),u.attr("viewBox","0 0 "+g+" "+f),s.db.setHeight(f),s.db.setWidth(g);const p=s.db.getQuadrantData(),y=x.append("g").attr("class","quadrants"),T=x.append("g").attr("class","border"),m=x.append("g").attr("class","data-points"),q=x.append("g").attr("class","labels"),A=x.append("g").attr("class","title");p.title&&A.append("text").attr("x",0).attr("y",0).attr("fill",p.title.fill).attr("font-size",p.title.fontSize).attr("dominant-baseline",r(p.title.horizontalPos)).attr("text-anchor",o(p.title.verticalPos)).attr("transform",l(p.title)).text(p.title.text),p.borderLines&&T.selectAll("line").data(p.borderLines).enter().append("line").attr("x1",(t=>t.x1)).attr("y1",(t=>t.y1)).attr("x2",(t=>t.x2)).attr("y2",(t=>t.y2)).style("stroke",(t=>t.strokeFill)).style("stroke-width",(t=>t.strokeWidth));const _=y.selectAll("g.quadrant").data(p.quadrants).enter().append("g").attr("class","quadrant");_.append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)),_.append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>r(t.text.horizontalPos))).attr("text-anchor",(t=>o(t.text.verticalPos))).attr("transform",(t=>l(t.text))).text((t=>t.text.text));q.selectAll("g.label").data(p.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((t=>t.text)).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>r(t.horizontalPos))).attr("text-anchor",(t=>o(t.verticalPos))).attr("transform",(t=>l(t)));const b=m.selectAll("g.data-point").data(p.points).enter().append("g").attr("class","data-point");b.append("circle").attr("cx",(t=>t.x)).attr("cy",(t=>t.y)).attr("r",(t=>t.radius)).attr("fill",(t=>t.fill)).attr("stroke",(t=>t.strokeColor)).attr("stroke-width",(t=>t.strokeWidth)),b.append("text").attr("x",0).attr("y",0).text((t=>t.text.text)).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>r(t.text.horizontalPos))).attr("text-anchor",(t=>o(t.text.verticalPos))).attr("transform",(t=>l(t.text)))}),"draw")},styles:(0,a.K2)((()=>""),"styles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/34829b29.eca9e1ff.js b/pr-preview/pr-4/assets/js/34829b29.eca9e1ff.js new file mode 100644 index 0000000..640937c --- /dev/null +++ b/pr-preview/pr-4/assets/js/34829b29.eca9e1ff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[814],{30493:(e,r,a)=>{a.r(r),a.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>p,frontMatter:()=>o,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","source":"@site/docs/docusaurus/tutorial_basics/create_a_page.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_page","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_page.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Basics","permalink":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---basics"},"next":{"title":"Create a Document","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document"}}');var s=a(74848),n=a(28453);const o={sidebar_position:1},c="Create a Page",i={},d=[{value:"Create your first React Page",id:"create-your-first-react-page",level:2},{value:"Create your first Markdown Page",id:"create-your-first-markdown-page",level:2}];function l(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"create-a-page",children:"Create a Page"})}),"\n",(0,s.jsxs)(r.p,{children:["Add ",(0,s.jsx)(r.strong,{children:"Markdown or React"})," files to ",(0,s.jsx)(r.code,{children:"src/pages"})," to create a ",(0,s.jsx)(r.strong,{children:"standalone page"}),":"]}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.code,{children:"src/pages/index.js"})," \u2192 ",(0,s.jsx)(r.code,{children:"localhost:3000/"})]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.code,{children:"src/pages/foo.md"})," \u2192 ",(0,s.jsx)(r.code,{children:"localhost:3000/foo"})]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.code,{children:"src/pages/foo/bar.js"})," \u2192 ",(0,s.jsx)(r.code,{children:"localhost:3000/foo/bar"})]}),"\n"]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:["Please use ",(0,s.jsx)(r.code,{children:"snake_case"})," when naming files with multiple subjects in order to be consistent with the rest of the\nrepository."]}),"\n",(0,s.jsxs)(r.li,{children:["When you create a new ",(0,s.jsx)(r.code,{children:".md"})," or ",(0,s.jsx)(r.code,{children:".mdx"})," file, please make sure to add in the appropriate\n",(0,s.jsx)(r.a,{href:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#front-matter",children:"Front Matter"})," so that your content is properly categorized."]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"create-your-first-react-page",children:"Create your first React Page"}),"\n",(0,s.jsxs)(r.p,{children:["Create a file at ",(0,s.jsx)(r.code,{children:"src/pages/my-react-page.js"}),":"]}),"\n",(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-jsx",metastring:'title="src/pages/my-react-page.js"',children:"import React from 'react';\nimport Layout from '@theme/Layout';\n\nexport default function MyReactPage() {\n return (\n \n

    My React page

    \n

    This is a React page

    \n
    \n );\n}\n"})}),"\n",(0,s.jsxs)(r.p,{children:["A new page is now available at ",(0,s.jsx)(r.a,{href:"http://localhost:3000/my-react-page",children:"http://localhost:3000/my-react-page"}),"."]}),"\n",(0,s.jsx)(r.h2,{id:"create-your-first-markdown-page",children:"Create your first Markdown Page"}),"\n",(0,s.jsxs)(r.p,{children:["Create a file at ",(0,s.jsx)(r.code,{children:"src/pages/my-markdown-page.md"}),":"]}),"\n",(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-mdx",metastring:'title="src/pages/my-markdown-page.md"',children:"# My Markdown page\n\nThis is a Markdown page\n"})}),"\n",(0,s.jsxs)(r.p,{children:["A new page is now available at ",(0,s.jsx)(r.a,{href:"http://localhost:3000/my-markdown-page",children:"http://localhost:3000/my-markdown-page"}),"."]})]})}function p(e={}){const{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},28453:(e,r,a)=>{a.d(r,{R:()=>o,x:()=>c});var t=a(96540);const s={},n=t.createContext(s);function o(e){const r=t.useContext(n);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/3624.620ea5f6.js b/pr-preview/pr-4/assets/js/3624.620ea5f6.js new file mode 100644 index 0000000..0923361 --- /dev/null +++ b/pr-preview/pr-4/assets/js/3624.620ea5f6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[3624],{62062:(t,n,r)=>{r.d(n,{A:()=>a});var e=r(29471);const o=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const c=function(t){return this.__data__.has(t)};function u(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e.A;++n{r.d(n,{A:()=>e});const e=function(t,n){for(var r=-1,e=null==t?0:t.length;++r{r.d(n,{A:()=>e});const e=function(t,n){for(var r=-1,e=null==t?0:t.length,o=0,c=[];++r{r.d(n,{A:()=>o});var e=r(60818);const o=function(t,n){return!!(null==t?0:t.length)&&(0,e.A)(t,n,0)>-1}},87809:(t,n,r)=>{r.d(n,{A:()=>e});const e=function(t,n,r){for(var e=-1,o=null==t?0:t.length;++e{r.d(n,{A:()=>e});const e=function(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r{r.d(n,{A:()=>e});const e=function(t,n){for(var r=-1,e=n.length,o=t.length;++r{r.d(n,{A:()=>e});const e=function(t,n){for(var r=-1,e=null==t?0:t.length;++r{r.d(n,{A:()=>Q});var e=r(11754),o=r(72641),c=r(52851),u=r(22031),a=r(27422);const i=function(t,n){return t&&(0,u.A)(n,(0,a.A)(n),t)};var f=r(55615);const A=function(t,n){return t&&(0,u.A)(n,(0,f.A)(n),t)};var s=r(80154),v=r(39759),l=r(14792);const b=function(t,n){return(0,u.A)(t,(0,l.A)(t),n)};var d=r(83511);const j=function(t,n){return(0,u.A)(t,(0,d.A)(t),n)};var p=r(19042),h=r(83973),y=r(9779),g=Object.prototype.hasOwnProperty;const w=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&g.call(t,"index")&&(r.index=t.index,r.input=t.input),r};var _=r(90565);const O=function(t,n){var r=n?(0,_.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)};var m=/\w*$/;const S=function(t){var n=new t.constructor(t.source,m.exec(t));return n.lastIndex=t.lastIndex,n};var k=r(241),E=k.A?k.A.prototype:void 0,x=E?E.valueOf:void 0;const I=function(t){return x?Object(x.call(t)):{}};var U=r(1801);const B=function(t,n,r){var e=t.constructor;switch(n){case"[object ArrayBuffer]":return(0,_.A)(t);case"[object Boolean]":case"[object Date]":return new e(+t);case"[object DataView]":return O(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,U.A)(t,r);case"[object Map]":case"[object Set]":return new e;case"[object Number]":case"[object String]":return new e(t);case"[object RegExp]":return S(t);case"[object Symbol]":return I(t)}};var C=r(18598),D=r(92049),F=r(99912),M=r(53098);const z=function(t){return(0,M.A)(t)&&"[object Map]"==(0,y.A)(t)};var L=r(52789),P=r(64841),$=P.A&&P.A.isMap;const N=$?(0,L.A)($):z;var R=r(23149);const V=function(t){return(0,M.A)(t)&&"[object Set]"==(0,y.A)(t)};var G=P.A&&P.A.isSet;const W=G?(0,L.A)(G):V;var q="[object Arguments]",H="[object Function]",J="[object Object]",K={};K[q]=K["[object Array]"]=K["[object ArrayBuffer]"]=K["[object DataView]"]=K["[object Boolean]"]=K["[object Date]"]=K["[object Float32Array]"]=K["[object Float64Array]"]=K["[object Int8Array]"]=K["[object Int16Array]"]=K["[object Int32Array]"]=K["[object Map]"]=K["[object Number]"]=K[J]=K["[object RegExp]"]=K["[object Set]"]=K["[object String]"]=K["[object Symbol]"]=K["[object Uint8Array]"]=K["[object Uint8ClampedArray]"]=K["[object Uint16Array]"]=K["[object Uint32Array]"]=!0,K["[object Error]"]=K[H]=K["[object WeakMap]"]=!1;const Q=function t(n,r,u,l,d,g){var _,O=1&r,m=2&r,S=4&r;if(u&&(_=d?u(n,l,d,g):u(n)),void 0!==_)return _;if(!(0,R.A)(n))return n;var k=(0,D.A)(n);if(k){if(_=w(n),!O)return(0,v.A)(n,_)}else{var E=(0,y.A)(n),x=E==H||"[object GeneratorFunction]"==E;if((0,F.A)(n))return(0,s.A)(n,O);if(E==J||E==q||x&&!d){if(_=m||x?{}:(0,C.A)(n),!O)return m?j(n,A(_,n)):b(n,i(_,n))}else{if(!K[E])return d?n:{};_=B(n,E,O)}}g||(g=new e.A);var I=g.get(n);if(I)return I;g.set(n,_),W(n)?n.forEach((function(e){_.add(t(e,r,u,e,n,g))})):N(n)&&n.forEach((function(e,o){_.set(o,t(e,r,u,o,n,g))}));var U=S?m?h.A:p.A:m?f.A:a.A,M=k?void 0:U(n);return(0,o.A)(M||n,(function(e,o){M&&(e=n[o=e]),(0,c.A)(_,o,t(e,r,u,o,n,g))})),_}},6240:(t,n,r)=>{r.d(n,{A:()=>c});var e=r(79841),o=r(38446);const c=function(t,n){return function(r,e){if(null==r)return r;if(!(0,o.A)(r))return t(r,e);for(var c=r.length,u=n?c:-1,a=Object(r);(n?u--:++u{r.d(n,{A:()=>o});var e=r(6240);const o=function(t,n){var r=[];return(0,e.A)(t,(function(t,e,o){n(t,e,o)&&r.push(t)})),r}},25707:(t,n,r)=>{r.d(n,{A:()=>e});const e=function(t,n,r,e){for(var o=t.length,c=r+(e?1:-1);e?c--:++c{r.d(n,{A:()=>f});var e=r(76912),o=r(241),c=r(52274),u=r(92049),a=o.A?o.A.isConcatSpreadable:void 0;const i=function(t){return(0,u.A)(t)||(0,c.A)(t)||!!(a&&t&&t[a])};const f=function t(n,r,o,c,u){var a=-1,f=n.length;for(o||(o=i),u||(u=[]);++a0&&o(A)?r>1?t(A,r-1,o,c,u):(0,e.A)(u,A):c||(u[u.length]=A)}return u}},79841:(t,n,r)=>{r.d(n,{A:()=>c});var e=r(4574),o=r(27422);const c=function(t,n){return t&&(0,e.A)(t,n,o.A)}},66318:(t,n,r)=>{r.d(n,{A:()=>c});var e=r(7819),o=r(30901);const c=function(t,n){for(var r=0,c=(n=(0,e.A)(n,t)).length;null!=t&&r{r.d(n,{A:()=>c});var e=r(76912),o=r(92049);const c=function(t,n,r){var c=n(t);return(0,o.A)(t)?c:(0,e.A)(c,r(t))}},60818:(t,n,r)=>{r.d(n,{A:()=>u});var e=r(25707);const o=function(t){return t!=t};const c=function(t,n,r){for(var e=r-1,o=t.length;++e{r.d(n,{A:()=>J});var e=r(11754),o=r(62062),c=r(63736),u=r(64099);const a=function(t,n,r,e,a,i){var f=1&r,A=t.length,s=n.length;if(A!=s&&!(f&&s>A))return!1;var v=i.get(t),l=i.get(n);if(v&&l)return v==n&&l==t;var b=-1,d=!0,j=2&r?new o.A:void 0;for(i.set(t,n),i.set(n,t);++b{r.d(n,{A:()=>e});const e=function(t){return function(n){return null==n?void 0:n[t]}}},99902:(t,n,r)=>{r.d(n,{A:()=>s});var e=r(62062),o=r(83149),c=r(87809),u=r(64099),a=r(39857),i=r(42302),f=r(29959);const A=a.A&&1/(0,f.A)(new a.A([,-0]))[1]==1/0?function(t){return new a.A(t)}:i.A;const s=function(t,n,r){var a=-1,i=o.A,s=t.length,v=!0,l=[],b=l;if(r)v=!1,i=c.A;else if(s>=200){var d=n?null:A(t);if(d)return(0,f.A)(d);v=!1,i=u.A,b=new e.A}else b=n?[]:l;t:for(;++a{r.d(n,{A:()=>e});const e=function(t,n){return t.has(n)}},99922:(t,n,r)=>{r.d(n,{A:()=>o});var e=r(29008);const o=function(t){return"function"==typeof t?t:e.A}},7819:(t,n,r)=>{r.d(n,{A:()=>A});var e=r(92049),o=r(86586),c=r(46632);var u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;const i=function(t){var n=(0,c.A)(t,(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(u,(function(t,r,e,o){n.push(e?o.replace(a,"$1"):r||t)})),n}));var f=r(28894);const A=function(t,n){return(0,e.A)(t)?t:(0,o.A)(t,n)?[t]:i((0,f.A)(t))}},19042:(t,n,r)=>{r.d(n,{A:()=>u});var e=r(33831),o=r(14792),c=r(27422);const u=function(t){return(0,e.A)(t,c.A,o.A)}},83973:(t,n,r)=>{r.d(n,{A:()=>u});var e=r(33831),o=r(83511),c=r(55615);const u=function(t){return(0,e.A)(t,c.A,o.A)}},14792:(t,n,r)=>{r.d(n,{A:()=>a});var e=r(2634),o=r(13153),c=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols;const a=u?function(t){return null==t?[]:(t=Object(t),(0,e.A)(u(t),(function(n){return c.call(t,n)})))}:o.A},83511:(t,n,r)=>{r.d(n,{A:()=>a});var e=r(76912),o=r(15647),c=r(14792),u=r(13153);const a=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)(0,e.A)(n,(0,c.A)(t)),t=(0,o.A)(t);return n}:u.A},85054:(t,n,r)=>{r.d(n,{A:()=>f});var e=r(7819),o=r(52274),c=r(92049),u=r(25353),a=r(5254),i=r(30901);const f=function(t,n,r){for(var f=-1,A=(n=(0,e.A)(n,t)).length,s=!1;++f{r.d(n,{A:()=>a});var e=r(92049),o=r(61882),c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;const a=function(t,n){if((0,e.A)(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!(0,o.A)(t))||(u.test(t)||!c.test(t)||null!=n&&t in Object(n))}},29959:(t,n,r)=>{r.d(n,{A:()=>e});const e=function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}},30901:(t,n,r)=>{r.d(n,{A:()=>o});var e=r(61882);const o=function(t){if("string"==typeof t||(0,e.A)(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},94092:(t,n,r)=>{r.d(n,{A:()=>a});var e=r(2634),o=r(51790),c=r(23958),u=r(92049);const a=function(t,n){return((0,u.A)(t)?e.A:o.A)(t,(0,c.A)(n,3))}},8058:(t,n,r)=>{r.d(n,{A:()=>a});var e=r(72641),o=r(6240),c=r(99922),u=r(92049);const a=function(t,n){return((0,u.A)(t)?e.A:o.A)(t,(0,c.A)(n))}},39188:(t,n,r)=>{r.d(n,{A:()=>c});const e=function(t,n){return null!=t&&n in Object(t)};var o=r(85054);const c=function(t,n){return null!=t&&(0,o.A)(t,n,e)}},61882:(t,n,r)=>{r.d(n,{A:()=>c});var e=r(88496),o=r(53098);const c=function(t){return"symbol"==typeof t||(0,o.A)(t)&&"[object Symbol]"==(0,e.A)(t)}},69592:(t,n,r)=>{r.d(n,{A:()=>e});const e=function(t){return void 0===t}},27422:(t,n,r)=>{r.d(n,{A:()=>u});var e=r(83607),o=r(69471),c=r(38446);const u=function(t){return(0,c.A)(t)?(0,e.A)(t):(0,o.A)(t)}},42302:(t,n,r)=>{r.d(n,{A:()=>e});const e=function(){}},89463:(t,n,r)=>{r.d(n,{A:()=>i});const e=function(t,n,r,e){var o=-1,c=null==t?0:t.length;for(e&&c&&(r=t[++o]);++o{r.d(n,{A:()=>e});const e=function(){return[]}},28894:(t,n,r)=>{r.d(n,{A:()=>A});var e=r(241),o=r(45572),c=r(92049),u=r(61882),a=e.A?e.A.prototype:void 0,i=a?a.toString:void 0;const f=function t(n){if("string"==typeof n)return n;if((0,c.A)(n))return(0,o.A)(n,t)+"";if((0,u.A)(n))return i?i.call(n):"";var r=n+"";return"0"==r&&1/n==-1/0?"-0":r};const A=function(t){return null==t?"":f(t)}},38207:(t,n,r)=>{r.d(n,{A:()=>u});var e=r(45572);const o=function(t,n){return(0,e.A)(n,(function(n){return t[n]}))};var c=r(27422);const u=function(t){return null==t?[]:o(t,(0,c.A)(t))}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/3720c009.e2b01194.js b/pr-preview/pr-4/assets/js/3720c009.e2b01194.js new file mode 100644 index 0000000..d11416c --- /dev/null +++ b/pr-preview/pr-4/assets/js/3720c009.e2b01194.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[4787],{30876:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});s(96540);var a=s(34164),r=s(1003),n=s(17559),l=s(21312);const i=()=>(0,l.translate)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});var c=s(56133),o=s(51107);const g={tag:"tag_Nnez"};var u=s(74848);function h(t){let{letterEntry:e}=t;return(0,u.jsxs)("article",{children:[(0,u.jsx)(o.A,{as:"h2",id:e.letter,children:e.letter}),(0,u.jsx)("ul",{className:"padding--none",children:e.tags.map((t=>(0,u.jsx)("li",{className:g.tag,children:(0,u.jsx)(c.A,{...t})},t.permalink)))}),(0,u.jsx)("hr",{})]})}function d(t){let{tags:e}=t;const s=function(t){const e={};return Object.values(t).forEach((t=>{const s=function(t){return t[0].toUpperCase()}(t.label);e[s]??=[],e[s].push(t)})),Object.entries(e).sort(((t,e)=>{let[s]=t,[a]=e;return s.localeCompare(a)})).map((t=>{let[e,s]=t;return{letter:e,tags:s.sort(((t,e)=>t.label.localeCompare(e.label)))}}))}(e);return(0,u.jsx)("section",{className:"margin-vert--lg",children:s.map((t=>(0,u.jsx)(h,{letterEntry:t},t.letter)))})}var j=s(41463);function m(t){let{title:e}=t;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r.be,{title:e}),(0,u.jsx)(j.A,{tag:"doc_tags_list"})]})}function x(t){let{tags:e,title:s}=t;return(0,u.jsx)(r.e3,{className:(0,a.A)(n.G.page.docsTagsListPage),children:(0,u.jsx)("div",{className:"container margin-vert--lg",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("main",{className:"col col--8 col--offset-2",children:[(0,u.jsx)(o.A,{as:"h1",children:s}),(0,u.jsx)(d,{tags:e})]})})})})}function p(t){const e=i();return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(m,{...t,title:e}),(0,u.jsx)(x,{...t,title:e})]})}},56133:(t,e,s)=>{s.d(e,{A:()=>i});s(96540);var a=s(34164),r=s(28774);const n={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};var l=s(74848);function i(t){let{permalink:e,label:s,count:i,description:c}=t;return(0,l.jsxs)(r.A,{href:e,title:c,className:(0,a.A)(n.tag,i?n.tagWithCount:n.tagRegular),children:[s,i&&(0,l.jsx)("span",{children:i})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/3840.f77930a9.js b/pr-preview/pr-4/assets/js/3840.f77930a9.js new file mode 100644 index 0000000..f35881e --- /dev/null +++ b/pr-preview/pr-4/assets/js/3840.f77930a9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[3840],{37981:(t,e,r)=>{r.d(e,{T:()=>f});var s=r(39142),a=r(89610),i=r(27422),n=r(94092),o=r(66401),l=r(8058),c=r(69592),d=r(13588),h=r(24326),g=r(99902),u=r(53533);const p=(0,h.A)((function(t){return(0,g.A)((0,d.A)(t,1,u.A,!0))}));var y=r(38207),b=r(89463),x="\0";class f{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=s.A(void 0),this._defaultEdgeLabelFn=s.A(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[x]={}),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 a.A(t)||(t=s.A(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return i.A(this._nodes)}sources(){var t=this;return n.A(this.nodes(),(function(e){return o.A(t._in[e])}))}sinks(){var t=this;return n.A(this.nodes(),(function(e){return o.A(t._out[e])}))}setNodes(t,e){var r=arguments,s=this;return l.A(t,(function(t){r.length>1?s.setNode(t,e):s.setNode(t)})),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(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]=x,this._children[t]={},this._children[x][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 Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],l.A(this.children(t),(t=>{this.setParent(t)})),delete this._children[t]),l.A(i.A(this._in[t]),e),delete this._in[t],delete this._preds[t],l.A(i.A(this._out[t]),e),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(c.A(e))e=x;else{for(var r=e+="";!c.A(r);r=this.parent(r))if(r===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!==x)return e}}children(t){if(c.A(t)&&(t=x),this._isCompound){var e=this._children[t];if(e)return i.A(e)}else{if(t===x)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return i.A(e)}successors(t){var e=this._sucs[t];if(e)return i.A(e)}neighbors(t){var e=this.predecessors(t);if(e)return p(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 r=this;l.A(this._nodes,(function(r,s){t(s)&&e.setNode(s,r)})),l.A(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))}));var s={};function a(t){var i=r.parent(t);return void 0===i||e.hasNode(i)?(s[t]=i,i):i in s?s[i]:a(i)}return this._isCompound&&l.A(e.nodes(),(function(t){e.setParent(t,a(t))})),e}setDefaultEdgeLabel(t){return a.A(t)||(t=s.A(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return y.A(this._edgeObjs)}setPath(t,e){var r=this,s=arguments;return b.A(t,(function(t,a){return s.length>1?r.setEdge(t,a,e):r.setEdge(t,a),a})),this}setEdge(){var t,e,r,s,a=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(t=i.v,e=i.w,r=i.name,2===arguments.length&&(s=arguments[1],a=!0)):(t=i,e=arguments[1],r=arguments[3],arguments.length>2&&(s=arguments[2],a=!0)),t=""+t,e=""+e,c.A(r)||(r=""+r);var n=_(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,n))return a&&(this._edgeLabels[n]=s),this;if(!c.A(r)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[n]=a?s:this._defaultEdgeLabelFn(t,e,r);var o=function(t,e,r,s){var a=""+e,i=""+r;if(!t&&a>i){var n=a;a=i,i=n}var o={v:a,w:i};s&&(o.name=s);return o}(this._isDirected,t,e,r);return t=o.v,e=o.w,Object.freeze(o),this._edgeObjs[n]=o,m(this._preds[e],t),m(this._sucs[t],e),this._in[e][n]=o,this._out[t][n]=o,this._edgeCount++,this}edge(t,e,r){var s=1===arguments.length?L(this._isDirected,arguments[0]):_(this._isDirected,t,e,r);return this._edgeLabels[s]}hasEdge(t,e,r){var s=1===arguments.length?L(this._isDirected,arguments[0]):_(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,s)}removeEdge(t,e,r){var s=1===arguments.length?L(this._isDirected,arguments[0]):_(this._isDirected,t,e,r),a=this._edgeObjs[s];return a&&(t=a.v,e=a.w,delete this._edgeLabels[s],delete this._edgeObjs[s],w(this._preds[e],t),w(this._sucs[t],e),delete this._in[e][s],delete this._out[t][s],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var s=y.A(r);return e?n.A(s,(function(t){return t.v===e})):s}}outEdges(t,e){var r=this._out[t];if(r){var s=y.A(r);return e?n.A(s,(function(t){return t.w===e})):s}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function m(t,e){t[e]?t[e]++:t[e]=1}function w(t,e){--t[e]||delete t[e]}function _(t,e,r,s){var a=""+e,i=""+r;if(!t&&a>i){var n=a;a=i,i=n}return a+"\x01"+i+"\x01"+(c.A(s)?"\0":s)}function L(t,e){return _(t,e.v,e.w,e.name)}f.prototype._nodeCount=0,f.prototype._edgeCount=0},697:(t,e,r)=>{r.d(e,{T:()=>s.T});var s=r(37981)},75937:(t,e,r)=>{r.d(e,{A:()=>i});var s=r(72453),a=r(74886);const i=(t,e)=>s.A.lang.round(a.A.parse(t)[e])},50053:(t,e,r)=>{r.d(e,{A:()=>a});var s=r(68675);const a=function(t){return(0,s.A)(t,4)}},53840:(t,e,r)=>{r.d(e,{diagram:()=>fe});var s=r(52294),a=r(62392),i=r(86825),n=r(85039),o=r(45567),l=r(50053),c=r(75937),d=r(25582),h=r(20007),g=r(697),u=function(){var t=(0,o.K2)((function(t,e,r,s){for(r=r||{},s=t.length;s--;r[t[s]]=e);return r}),"o"),e=[1,7],r=[1,13],s=[1,14],a=[1,15],i=[1,19],n=[1,16],l=[1,17],c=[1,18],d=[8,30],h=[8,21,28,29,30,31,32,40,44,47],g=[1,23],u=[1,24],p=[8,15,16,21,28,29,30,31,32,40,44,47],y=[8,15,16,21,27,28,29,30,31,32,40,44,47],b=[1,49],x={trace:(0,o.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:(0,o.K2)((function(t,e,r,s,a,i,n){var o=i.length-1;switch(a){case 4:s.getLogger().debug("Rule: separator (NL) ");break;case 5:s.getLogger().debug("Rule: separator (Space) ");break;case 6:s.getLogger().debug("Rule: separator (EOF) ");break;case 7:s.getLogger().debug("Rule: hierarchy: ",i[o-1]),s.setHierarchy(i[o-1]);break;case 8:s.getLogger().debug("Stop NL ");break;case 9:s.getLogger().debug("Stop EOF ");break;case 10:s.getLogger().debug("Stop NL2 ");break;case 11:s.getLogger().debug("Stop EOF2 ");break;case 12:s.getLogger().debug("Rule: statement: ",i[o]),"number"==typeof i[o].length?this.$=i[o]:this.$=[i[o]];break;case 13:s.getLogger().debug("Rule: statement #2: ",i[o-1]),this.$=[i[o-1]].concat(i[o]);break;case 14:s.getLogger().debug("Rule: link: ",i[o],t),this.$={edgeTypeStr:i[o],label:""};break;case 15:s.getLogger().debug("Rule: LABEL link: ",i[o-3],i[o-1],i[o]),this.$={edgeTypeStr:i[o],label:i[o-1]};break;case 18:const e=parseInt(i[o]),r=s.generateId();this.$={id:r,type:"space",label:"",width:e,children:[]};break;case 23:s.getLogger().debug("Rule: (nodeStatement link node) ",i[o-2],i[o-1],i[o]," typestr: ",i[o-1].edgeTypeStr);const a=s.edgeStrToEdgeData(i[o-1].edgeTypeStr);this.$=[{id:i[o-2].id,label:i[o-2].label,type:i[o-2].type,directions:i[o-2].directions},{id:i[o-2].id+"-"+i[o].id,start:i[o-2].id,end:i[o].id,label:i[o-1].label,type:"edge",directions:i[o].directions,arrowTypeEnd:a,arrowTypeStart:"arrow_open"},{id:i[o].id,label:i[o].label,type:s.typeStr2Type(i[o].typeStr),directions:i[o].directions}];break;case 24:s.getLogger().debug("Rule: nodeStatement (abc88 node size) ",i[o-1],i[o]),this.$={id:i[o-1].id,label:i[o-1].label,type:s.typeStr2Type(i[o-1].typeStr),directions:i[o-1].directions,widthInColumns:parseInt(i[o],10)};break;case 25:s.getLogger().debug("Rule: nodeStatement (node) ",i[o]),this.$={id:i[o].id,label:i[o].label,type:s.typeStr2Type(i[o].typeStr),directions:i[o].directions,widthInColumns:1};break;case 26:s.getLogger().debug("APA123",this?this:"na"),s.getLogger().debug("COLUMNS: ",i[o]),this.$={type:"column-setting",columns:"auto"===i[o]?-1:parseInt(i[o])};break;case 27:s.getLogger().debug("Rule: id-block statement : ",i[o-2],i[o-1]);s.generateId();this.$={...i[o-2],type:"composite",children:i[o-1]};break;case 28:s.getLogger().debug("Rule: blockStatement : ",i[o-2],i[o-1],i[o]);const n=s.generateId();this.$={id:n,type:"composite",label:"",children:i[o-1]};break;case 29:s.getLogger().debug("Rule: node (NODE_ID separator): ",i[o]),this.$={id:i[o]};break;case 30:s.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",i[o-1],i[o]),this.$={id:i[o-1],label:i[o].label,typeStr:i[o].typeStr,directions:i[o].directions};break;case 31:s.getLogger().debug("Rule: dirList: ",i[o]),this.$=[i[o]];break;case 32:s.getLogger().debug("Rule: dirList: ",i[o-1],i[o]),this.$=[i[o-1]].concat(i[o]);break;case 33:s.getLogger().debug("Rule: nodeShapeNLabel: ",i[o-2],i[o-1],i[o]),this.$={typeStr:i[o-2]+i[o],label:i[o-1]};break;case 34:s.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",i[o-3],i[o-2]," #3:",i[o-1],i[o]),this.$={typeStr:i[o-3]+i[o],label:i[o-2],directions:i[o-1]};break;case 35:case 36:this.$={type:"classDef",id:i[o-1].trim(),css:i[o].trim()};break;case 37:this.$={type:"applyClass",id:i[o-1].trim(),styleClass:i[o].trim()};break;case 38:this.$={type:"applyStyles",id:i[o-1].trim(),stylesStr:i[o].trim()}}}),"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:s,31:a,32:i,40:n,44:l,47:c},{8:[1,20]},t(d,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:e,28:r,29:s,31:a,32:i,40:n,44:l,47:c}),t(h,[2,16],{14:22,15:g,16:u}),t(h,[2,17]),t(h,[2,18]),t(h,[2,19]),t(h,[2,20]),t(h,[2,21]),t(h,[2,22]),t(p,[2,25],{27:[1,25]}),t(h,[2,26]),{19:26,26:12,32:i},{11:27,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:s,31:a,32:i,40:n,44:l,47:c},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},t(y,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},t(d,[2,13]),{26:35,32:i},{32:[2,14]},{17:[1,36]},t(p,[2,24]),{11:37,13:4,14:22,15:g,16:u,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:s,31:a,32:i,40:n,44:l,47:c},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},t(y,[2,30]),{18:[1,43]},{18:[1,44]},t(p,[2,23]),{18:[1,45]},{30:[1,46]},t(h,[2,28]),t(h,[2,35]),t(h,[2,36]),t(h,[2,37]),t(h,[2,38]),{37:[1,47]},{34:48,35:b},{15:[1,50]},t(h,[2,27]),t(y,[2,33]),{39:[1,51]},{34:52,35:b,39:[2,31]},{32:[2,15]},t(y,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:(0,o.K2)((function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)}),"parseError"),parse:(0,o.K2)((function(t){var e=this,r=[0],s=[],a=[null],i=[],n=this.table,l="",c=0,d=0,h=0,g=i.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(t,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var b=u.yylloc;i.push(b);var x=u.options&&u.options.ranges;function f(){var t;return"number"!=typeof(t=s.pop()||u.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,o.K2)((function(t){r.length=r.length-2*t,a.length=a.length-t,i.length=i.length-t}),"popStack"),(0,o.K2)(f,"lex");for(var m,w,_,L,k,S,v,E,D,C={};;){if(_=r[r.length-1],this.defaultActions[_]?L=this.defaultActions[_]:(null==m&&(m=f()),L=n[_]&&n[_][m]),void 0===L||!L.length||!L[0]){var R="";for(S in D=[],n[_])this.terminals_[S]&&S>2&&D.push("'"+this.terminals_[S]+"'");R=u.showPosition?"Parse error on line "+(c+1)+":\n"+u.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(R,{text:u.match,token:this.terminals_[m]||m,line:u.yylineno,loc:b,expected:D})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+m);switch(L[0]){case 1:r.push(m),a.push(u.yytext),i.push(u.yylloc),r.push(L[1]),m=null,w?(m=w,w=null):(d=u.yyleng,l=u.yytext,c=u.yylineno,b=u.yylloc,h>0&&h--);break;case 2:if(v=this.productions_[L[1]][1],C.$=a[a.length-v],C._$={first_line:i[i.length-(v||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(v||1)].first_column,last_column:i[i.length-1].last_column},x&&(C._$.range=[i[i.length-(v||1)].range[0],i[i.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[l,d,c,p.yy,L[1],a,i].concat(g))))return k;v&&(r=r.slice(0,-1*v*2),a=a.slice(0,-1*v),i=i.slice(0,-1*v)),r.push(this.productions_[L[1]][0]),a.push(C.$),i.push(C._$),E=n[r[r.length-2]][r[r.length-1]],r.push(E);break;case 3:return!0}}return!0}),"parse")},f=function(){return{EOF:1,parseError:(0,o.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,o.K2)((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}),"setInput"),input:(0,o.K2)((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}),"input"),unput:(0,o.K2)((function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===s.length?this.yylloc.first_column:0)+s[s.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,o.K2)((function(){return this._more=!0,this}),"more"),reject:(0,o.K2)((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})}),"reject"),less:(0,o.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,o.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,o.K2)((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,"")}),"upcomingInput"),showPosition:(0,o.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,o.K2)((function(t,e){var r,s,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var i in a)this[i]=a[i];return!1}return!1}),"test_match"),next:(0,o.K2)((function(){if(this.done)return this.EOF;var t,e,r,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;ie[0].length)){if(e=r,s=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,o.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,o.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,o.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,o.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,o.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,o.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,o.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{},performAction:(0,o.K2)((function(t,e,r,s){switch(r){case 0:return 10;case 1:return t.getLogger().debug("Found space-block"),31;case 2:return t.getLogger().debug("Found nl-block"),31;case 3:return t.getLogger().debug("Found space-block"),29;case 4:t.getLogger().debug(".",e.yytext);break;case 5:t.getLogger().debug("_",e.yytext);break;case 6:return 5;case 7:return e.yytext=-1,28;case 8:return e.yytext=e.yytext.replace(/columns\s+/,""),t.getLogger().debug("COLUMNS (LEX)",e.yytext),28;case 9:case 77:case 78:case 100:this.pushState("md_string");break;case 10:return"MD_STR";case 11:case 35:case 80:this.popState();break;case 12:this.pushState("string");break;case 13:t.getLogger().debug("LEX: POPPING STR:",e.yytext),this.popState();break;case 14:return t.getLogger().debug("LEX: STR end:",e.yytext),"STR";case 15:return e.yytext=e.yytext.replace(/space\:/,""),t.getLogger().debug("SPACE NUM (LEX)",e.yytext),21;case 16:return e.yytext="1",t.getLogger().debug("COLUMNS (LEX)",e.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:case 39:case 41:case 42:case 45:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),t.getLogger().debug("Lex: ))"),"NODE_DEND";case 43:return this.popState(),t.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),t.getLogger().debug("Lex: -)"),"NODE_DEND";case 46:return this.popState(),t.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),t.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),t.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:case 50:return this.popState(),t.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),t.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),t.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),t.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),t.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return t.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return t.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return t.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:case 60:case 61:case 62:case 65:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return t.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 63:return t.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return t.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 66:case 67:case 68:case 69:case 70:case 71:case 72:return this.pushState("NODE"),36;case 73:return t.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),t.getLogger().debug("LEX ARR START"),38;case 75:return t.getLogger().debug("Lex: NODE_ID",e.yytext),32;case 76:return t.getLogger().debug("Lex: EOF",e.yytext),8;case 79:return"NODE_DESCR";case 81:t.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:t.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return t.getLogger().debug("LEX: NODE_DESCR:",e.yytext),"NODE_DESCR";case 84:t.getLogger().debug("LEX POPPING"),this.popState();break;case 85:t.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (right): dir:",e.yytext),"DIR";case 87:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (left):",e.yytext),"DIR";case 88:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (x):",e.yytext),"DIR";case 89:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (y):",e.yytext),"DIR";case 90:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (up):",e.yytext),"DIR";case 91:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (down):",e.yytext),"DIR";case 92:return e.yytext="]>",t.getLogger().debug("Lex (ARROW_DIR end):",e.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 94:case 95:case 96:return t.getLogger().debug("Lex: LINK",e.yytext),15;case 97:case 98:case 99:return t.getLogger().debug("Lex: START_LINK",e.yytext),this.pushState("LLABEL"),16;case 101:return t.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 103:case 104:return this.popState(),t.getLogger().debug("Lex: LINK",e.yytext),15;case 105:return t.getLogger().debug("Lex: COLON",e.yytext),e.yytext=e.yytext.slice(1),27}}),"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}}}();function m(){this.yy={}}return x.lexer=f,(0,o.K2)(m,"Parser"),m.prototype=x,x.Parser=m,new m}();u.parser=u;var p=u,y=new Map,b=[],x=new Map,f="color",m="fill",w=(0,o.D7)(),_=new Map,L=(0,o.K2)((t=>o.Y2.sanitizeText(t,w)),"sanitizeText"),k=(0,o.K2)((function(t,e=""){let r=_.get(t);r||(r={id:t,styles:[],textStyles:[]},_.set(t,r)),null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(f).exec(t)){const t=e.replace(m,"bgFill").replace(f,m);r.textStyles.push(t)}r.styles.push(e)}))}),"addStyleClass"),S=(0,o.K2)((function(t,e=""){const r=y.get(t);null!=e&&(r.styles=e.split(","))}),"addStyle2Node"),v=(0,o.K2)((function(t,e){t.split(",").forEach((function(t){let r=y.get(t);if(void 0===r){const e=t.trim();r={id:e,type:"na",children:[]},y.set(e,r)}r.classes||(r.classes=[]),r.classes.push(e)}))}),"setCssClass"),E=(0,o.K2)(((t,e)=>{const r=t.flat(),s=[];for(const a of r)if(a.label&&(a.label=L(a.label)),"classDef"!==a.type)if("applyClass"!==a.type)if("applyStyles"!==a.type)if("column-setting"===a.type)e.columns=a.columns??-1;else if("edge"===a.type){const t=(x.get(a.id)??0)+1;x.set(a.id,t),a.id=t+"-"+a.id,b.push(a)}else{a.label||("composite"===a.type?a.label="":a.label=a.id);const t=y.get(a.id);if(void 0===t?y.set(a.id,a):("na"!==a.type&&(t.type=a.type),a.label!==a.id&&(t.label=a.label)),a.children&&E(a.children,a),"space"===a.type){const t=a.width??1;for(let e=0;e{o.Rm.debug("Clear called"),(0,o.IU)(),C={id:"root",type:"composite",children:[],columns:-1},y=new Map([["root",C]]),D=[],_=new Map,b=[],x=new Map}),"clear");function K(t){switch(o.Rm.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return o.Rm.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function N(t){return o.Rm.debug("typeStr2Type",t),"=="===t?"thick":"normal"}function T(t){switch(t.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}}(0,o.K2)(K,"typeStr2Type"),(0,o.K2)(N,"edgeTypeStr2Type"),(0,o.K2)(T,"edgeStrToEdgeData");var $=0,A=(0,o.K2)((()=>($++,"id-"+Math.random().toString(36).substr(2,12)+"-"+$)),"generateId"),I=(0,o.K2)((t=>{C.children=t,E(t,C),D=C.children}),"setHierarchy"),O=(0,o.K2)((t=>{const e=y.get(t);return e?e.columns?e.columns:e.children?e.children.length:-1:-1}),"getColumns"),B=(0,o.K2)((()=>[...y.values()]),"getBlocksFlat"),z=(0,o.K2)((()=>D||[]),"getBlocks"),M=(0,o.K2)((()=>b),"getEdges"),P=(0,o.K2)((t=>y.get(t)),"getBlock"),Y=(0,o.K2)((t=>{y.set(t.id,t)}),"setBlock"),F=(0,o.K2)((()=>console),"getLogger"),j=(0,o.K2)((function(){return _}),"getClasses"),W={getConfig:(0,o.K2)((()=>(0,o.zj)().block),"getConfig"),typeStr2Type:K,edgeTypeStr2Type:N,edgeStrToEdgeData:T,getLogger:F,getBlocksFlat:B,getBlocks:z,getEdges:M,setHierarchy:I,getBlock:P,setBlock:Y,getColumns:O,getClasses:j,clear:R,generateId:A},X=(0,o.K2)(((t,e)=>{const r=c.A,s=r(t,"r"),a=r(t,"g"),i=r(t,"b");return d.A(s,a,i,e)}),"fade"),H=(0,o.K2)((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,p {\n color: ${t.titleColor};\n }\n\n\n\n .label text,span,p {\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 .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${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 /* For html labels only */\n .labelBkg {\n background-color: ${X(t.edgeLabelBackground,.5)};\n // background-color:\n }\n\n .node .cluster {\n // fill: ${X(t.mainBkg,.5)};\n fill: ${X(t.clusterBkg,.5)};\n stroke: ${X(t.clusterBorder,.2)};\n box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span,p {\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`),"getStyles"),U=(0,o.K2)(((t,e,r,s)=>{e.forEach((e=>{Z[e](t,r,s)}))}),"insertMarkers"),Z={extension:(0,o.K2)(((t,e,r)=>{o.Rm.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).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",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")}),"extension"),composition:(0,o.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).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",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).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")}),"composition"),aggregation:(0,o.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).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",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).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"),dependency:(0,o.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).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",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).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")}),"dependency"),lollipop:(0,o.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)}),"lollipop"),point:(0,o.K2)(((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).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",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).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")}),"point"),circle:(0,o.K2)(((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")}),"circle"),cross:(0,o.K2)(((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")}),"cross"),barb:(0,o.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+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")}),"barb")},q=U,G=(0,o.D7)()?.block?.padding??8;function J(t,e){if(0===t||!Number.isInteger(t))throw new Error("Columns must be an integer !== 0.");if(e<0||!Number.isInteger(e))throw new Error("Position must be a non-negative integer."+e);if(t<0)return{px:e,py:0};if(1===t)return{px:0,py:e};return{px:e%t,py:Math.floor(e/t)}}(0,o.K2)(J,"calculateBlockPosition");var V=(0,o.K2)((t=>{let e=0,r=0;for(const s of t.children){const{width:a,height:i,x:n,y:l}=s.size??{width:0,height:0,x:0,y:0};o.Rm.debug("getMaxChildSize abc95 child:",s.id,"width:",a,"height:",i,"x:",n,"y:",l,s.type),"space"!==s.type&&(a>e&&(e=a/(t.widthInColumns??1)),i>r&&(r=i))}return{width:e,height:r}}),"getMaxChildSize");function Q(t,e,r=0,s=0){o.Rm.debug("setBlockSizes abc95 (start)",t.id,t?.size?.x,"block width =",t?.size,"sieblingWidth",r),t?.size?.width||(t.size={width:r,height:s,x:0,y:0});let a=0,i=0;if(t.children?.length>0){for(const r of t.children)Q(r,e);const n=V(t);a=n.width,i=n.height,o.Rm.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",a,i);for(const e of t.children)e.size&&(o.Rm.debug(`abc95 Setting size of children of ${t.id} id=${e.id} ${a} ${i} ${JSON.stringify(e.size)}`),e.size.width=a*(e.widthInColumns??1)+G*((e.widthInColumns??1)-1),e.size.height=i,e.size.x=0,e.size.y=0,o.Rm.debug(`abc95 updating size of ${t.id} children child:${e.id} maxWidth:${a} maxHeight:${i}`));for(const r of t.children)Q(r,e,a,i);const l=t.columns??-1;let c=0;for(const e of t.children)c+=e.widthInColumns??1;let d=t.children.length;l>0&&l0?Math.min(t.children.length,l):t.children.length;if(e>0){const r=(g-e*G-G)/e;o.Rm.debug("abc95 (growing to fit) width",t.id,g,t.size?.width,r);for(const e of t.children)e.size&&(e.size.width=r)}}t.size={width:g,height:u,x:0,y:0}}o.Rm.debug("setBlockSizes abc94 (done)",t.id,t?.size?.x,t?.size?.width,t?.size?.y,t?.size?.height)}function tt(t,e){o.Rm.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`);const r=t.columns??-1;if(o.Rm.debug("layoutBlocks columns abc95",t.id,"=>",r,t),t.children&&t.children.length>0){const s=t?.children[0]?.size?.width??0,a=t.children.length*s+(t.children.length-1)*G;o.Rm.debug("widthOfChildren 88",a,"posX");let i=0;o.Rm.debug("abc91 block?.size?.x",t.id,t?.size?.x);let n=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-G,l=0;for(const c of t.children){const s=t;if(!c.size)continue;const{width:a,height:d}=c.size,{px:h,py:g}=J(r,i);if(g!=l&&(l=g,n=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-G,o.Rm.debug("New row in layout for block",t.id," and child ",c.id,l)),o.Rm.debug(`abc89 layout blocks (child) id: ${c.id} Pos: ${i} (px, py) ${h},${g} (${s?.size?.x},${s?.size?.y}) parent: ${s.id} width: ${a}${G}`),s.size){const t=a/2;c.size.x=n+G+t,o.Rm.debug(`abc91 layout blocks (calc) px, pyid:${c.id} startingPos=X${n} new startingPosX${c.size.x} ${t} padding=${G} width=${a} halfWidth=${t} => x:${c.size.x} y:${c.size.y} ${c.widthInColumns} (width * (child?.w || 1)) / 2 ${a*(c?.widthInColumns??1)/2}`),n=c.size.x+t,c.size.y=s.size.y-s.size.height/2+g*(d+G)+d/2+G,o.Rm.debug(`abc88 layout blocks (calc) px, pyid:${c.id}startingPosX${n}${G}${t}=>x:${c.size.x}y:${c.size.y}${c.widthInColumns}(width * (child?.w || 1)) / 2${a*(c?.widthInColumns??1)/2}`)}c.children&&tt(c,e),i+=c?.widthInColumns??1,o.Rm.debug("abc88 columnsPos",c,i)}}o.Rm.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`)}function et(t,{minX:e,minY:r,maxX:s,maxY:a}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&"root"!==t.id){const{x:i,y:n,width:o,height:l}=t.size;i-o/2s&&(s=i+o/2),n+l/2>a&&(a=n+l/2)}if(t.children)for(const i of t.children)({minX:e,minY:r,maxX:s,maxY:a}=et(i,{minX:e,minY:r,maxX:s,maxY:a}));return{minX:e,minY:r,maxX:s,maxY:a}}function rt(t){const e=t.getBlock("root");if(!e)return;Q(e,t,0,0),tt(e,t),o.Rm.debug("getBlocks",JSON.stringify(e,null,2));const{minX:r,minY:s,maxX:a,maxY:i}=et(e);return{x:r,y:s,width:a-r,height:i-s}}function st(t,e){e&&t.attr("style",e)}function at(t){const e=(0,h.Ltv)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),s=t.label,a=t.isNode?"nodeLabel":"edgeLabel",i=r.append("span");return i.html(s),st(i,t.labelStyle),i.attr("class",a),st(r,t.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}(0,o.K2)(Q,"setBlockSizes"),(0,o.K2)(tt,"layoutBlocks"),(0,o.K2)(et,"findBounds"),(0,o.K2)(rt,"layout"),(0,o.K2)(st,"applyStyle"),(0,o.K2)(at,"addHtmlLabel");var it=(0,o.K2)(((t,e,r,s)=>{let a=t||"";if("object"==typeof a&&(a=a[0]),(0,o._3)((0,o.D7)().flowchart.htmlLabels)){a=a.replace(/\\n|\n/g,"
    "),o.Rm.debug("vertexText"+a);return at({isNode:s,label:(0,i.hE)((0,n.Sm)(a)),labelStyle:e.replace("fill:","color:")})}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let s=[];s="string"==typeof a?a.split(/\\n|\n|/gi):Array.isArray(a)?a:[];for(const e of s){const s=document.createElementNS("http://www.w3.org/2000/svg","tspan");s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),s.setAttribute("dy","1em"),s.setAttribute("x","0"),r?s.setAttribute("class","title-row"):s.setAttribute("class","row"),s.textContent=e.trim(),t.appendChild(s)}return t}}),"createLabel"),nt=(0,o.K2)(((t,e,r,s,a)=>{e.arrowTypeStart&<(t,"start",e.arrowTypeStart,r,s,a),e.arrowTypeEnd&<(t,"end",e.arrowTypeEnd,r,s,a)}),"addEdgeMarkers"),ot={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},lt=(0,o.K2)(((t,e,r,s,a,i)=>{const n=ot[r];if(!n)return void o.Rm.warn(`Unknown arrow type: ${r}`);const l="start"===e?"Start":"End";t.attr(`marker-${e}`,`url(${s}#${a}_${i}-${n}${l})`)}),"addEdgeMarker"),ct={},dt={},ht=(0,o.K2)(((t,e)=>{const r=(0,o.D7)(),s=(0,o._3)(r.flowchart.htmlLabels),a="markdown"===e.labelType?(0,i.GZ)(t,e.label,{style:e.labelStyle,useHtmlLabels:s,addSvgBackground:!0},r):it(e.label,e.labelStyle),n=t.insert("g").attr("class","edgeLabel"),l=n.insert("g").attr("class","label");l.node().appendChild(a);let c,d=a.getBBox();if(s){const t=a.children[0],e=(0,h.Ltv)(a);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}if(l.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),ct[e.id]=n,e.width=d.width,e.height=d.height,e.startLabelLeft){const r=it(e.startLabelLeft,e.labelStyle),s=t.insert("g").attr("class","edgeTerminals"),a=s.insert("g").attr("class","inner");c=a.node().appendChild(r);const i=r.getBBox();a.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),dt[e.id]||(dt[e.id]={}),dt[e.id].startLeft=s,gt(c,e.startLabelLeft)}if(e.startLabelRight){const r=it(e.startLabelRight,e.labelStyle),s=t.insert("g").attr("class","edgeTerminals"),a=s.insert("g").attr("class","inner");c=s.node().appendChild(r),a.node().appendChild(r);const i=r.getBBox();a.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),dt[e.id]||(dt[e.id]={}),dt[e.id].startRight=s,gt(c,e.startLabelRight)}if(e.endLabelLeft){const r=it(e.endLabelLeft,e.labelStyle),s=t.insert("g").attr("class","edgeTerminals"),a=s.insert("g").attr("class","inner");c=a.node().appendChild(r);const i=r.getBBox();a.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),s.node().appendChild(r),dt[e.id]||(dt[e.id]={}),dt[e.id].endLeft=s,gt(c,e.endLabelLeft)}if(e.endLabelRight){const r=it(e.endLabelRight,e.labelStyle),s=t.insert("g").attr("class","edgeTerminals"),a=s.insert("g").attr("class","inner");c=a.node().appendChild(r);const i=r.getBBox();a.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),s.node().appendChild(r),dt[e.id]||(dt[e.id]={}),dt[e.id].endRight=s,gt(c,e.endLabelRight)}return a}),"insertEdgeLabel");function gt(t,e){(0,o.D7)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,o.K2)(gt,"setTerminalWidth");var ut=(0,o.K2)(((t,e)=>{o.Rm.debug("Moving label abc88 ",t.id,t.label,ct[t.id],e);let r=e.updatedPath?e.updatedPath:e.originalPath;const s=(0,o.D7)(),{subGraphTitleTotalMargin:i}=(0,a.O)(s);if(t.label){const s=ct[t.id];let a=t.x,l=t.y;if(r){const s=n._K.calcLabelPosition(r);o.Rm.debug("Moving label "+t.label+" from (",a,",",l,") to (",s.x,",",s.y,") abc88"),e.updatedPath&&(a=s.x,l=s.y)}s.attr("transform",`translate(${a}, ${l+i/2})`)}if(t.startLabelLeft){const e=dt[t.id].startLeft;let s=t.x,a=t.y;if(r){const e=n._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);s=e.x,a=e.y}e.attr("transform",`translate(${s}, ${a})`)}if(t.startLabelRight){const e=dt[t.id].startRight;let s=t.x,a=t.y;if(r){const e=n._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);s=e.x,a=e.y}e.attr("transform",`translate(${s}, ${a})`)}if(t.endLabelLeft){const e=dt[t.id].endLeft;let s=t.x,a=t.y;if(r){const e=n._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);s=e.x,a=e.y}e.attr("transform",`translate(${s}, ${a})`)}if(t.endLabelRight){const e=dt[t.id].endRight;let s=t.x,a=t.y;if(r){const e=n._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);s=e.x,a=e.y}e.attr("transform",`translate(${s}, ${a})`)}}),"positionEdgeLabel"),pt=(0,o.K2)(((t,e)=>{const r=t.x,s=t.y,a=Math.abs(e.x-r),i=Math.abs(e.y-s),n=t.width/2,o=t.height/2;return a>=n||i>=o}),"outsideNode"),yt=(0,o.K2)(((t,e,r)=>{o.Rm.debug(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(r)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const s=t.x,a=t.y,i=Math.abs(s-r.x),n=t.width/2;let l=r.xMath.abs(s-e.x)*c){let t=r.y{o.Rm.debug("abc88 cutPathAtIntersect",t,e);let r=[],s=t[0],a=!1;return t.forEach((t=>{if(pt(e,t)||a)s=t,a||r.push(t);else{const i=yt(e,s,t);let n=!1;r.forEach((t=>{n=n||t.x===i.x&&t.y===i.y})),r.some((t=>t.x===i.x&&t.y===i.y))||r.push(i),a=!0}})),r}),"cutPathAtIntersect"),xt=(0,o.K2)((function(t,e,r,a,i,n,l){let c=r.points;o.Rm.debug("abc88 InsertEdge: edge=",r,"e=",e);let d=!1;const g=n.node(e.v);var u=n.node(e.w);u?.intersect&&g?.intersect&&(c=c.slice(1,r.points.length-1),c.unshift(g.intersect(c[0])),c.push(u.intersect(c[c.length-1]))),r.toCluster&&(o.Rm.debug("to cluster abc88",a[r.toCluster]),c=bt(r.points,a[r.toCluster].node),d=!0),r.fromCluster&&(o.Rm.debug("from cluster abc88",a[r.fromCluster]),c=bt(c.reverse(),a[r.fromCluster].node).reverse(),d=!0);const p=c.filter((t=>!Number.isNaN(t.y)));let y=h.qrM;!r.curve||"graph"!==i&&"flowchart"!==i||(y=r.curve);const{x:b,y:x}=(0,s.R)(r),f=(0,h.n8j)().x(b).y(x).curve(y);let m;switch(r.thickness){case"normal":m="edge-thickness-normal";break;case"thick":case"invisible":m="edge-thickness-thick";break;default:m=""}switch(r.pattern){case"solid":m+=" edge-pattern-solid";break;case"dotted":m+=" edge-pattern-dotted";break;case"dashed":m+=" edge-pattern-dashed"}const w=t.append("path").attr("d",f(p)).attr("id",r.id).attr("class"," "+m+(r.classes?" "+r.classes:"")).attr("style",r.style);let _="";((0,o.D7)().flowchart.arrowMarkerAbsolute||(0,o.D7)().state.arrowMarkerAbsolute)&&(_=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,_=_.replace(/\(/g,"\\("),_=_.replace(/\)/g,"\\)")),nt(w,r,_,l,i);let L={};return d&&(L.updatedPath=c),L.originalPath=r.points,L}),"insertEdge"),ft=(0,o.K2)((t=>{const e=new Set;for(const r of t)switch(r){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(r)}return e}),"expandAndDeduplicateDirections"),mt=(0,o.K2)(((t,e,r)=>{const s=ft(t),a=e.height+2*r.padding,i=a/2,n=e.width+2*i+r.padding,o=r.padding/2;return s.has("right")&&s.has("left")&&s.has("up")&&s.has("down")?[{x:0,y:0},{x:i,y:0},{x:n/2,y:2*o},{x:n-i,y:0},{x:n,y:0},{x:n,y:-a/3},{x:n+2*o,y:-a/2},{x:n,y:-2*a/3},{x:n,y:-a},{x:n-i,y:-a},{x:n/2,y:-a-2*o},{x:i,y:-a},{x:0,y:-a},{x:0,y:-2*a/3},{x:-2*o,y:-a/2},{x:0,y:-a/3}]:s.has("right")&&s.has("left")&&s.has("up")?[{x:i,y:0},{x:n-i,y:0},{x:n,y:-a/2},{x:n-i,y:-a},{x:i,y:-a},{x:0,y:-a/2}]:s.has("right")&&s.has("left")&&s.has("down")?[{x:0,y:0},{x:i,y:-a},{x:n-i,y:-a},{x:n,y:0}]:s.has("right")&&s.has("up")&&s.has("down")?[{x:0,y:0},{x:n,y:-i},{x:n,y:-a+i},{x:0,y:-a}]:s.has("left")&&s.has("up")&&s.has("down")?[{x:n,y:0},{x:0,y:-i},{x:0,y:-a+i},{x:n,y:-a}]:s.has("right")&&s.has("left")?[{x:i,y:0},{x:i,y:-o},{x:n-i,y:-o},{x:n-i,y:0},{x:n,y:-a/2},{x:n-i,y:-a},{x:n-i,y:-a+o},{x:i,y:-a+o},{x:i,y:-a},{x:0,y:-a/2}]:s.has("up")&&s.has("down")?[{x:n/2,y:0},{x:0,y:-o},{x:i,y:-o},{x:i,y:-a+o},{x:0,y:-a+o},{x:n/2,y:-a},{x:n,y:-a+o},{x:n-i,y:-a+o},{x:n-i,y:-o},{x:n,y:-o}]:s.has("right")&&s.has("up")?[{x:0,y:0},{x:n,y:-i},{x:0,y:-a}]:s.has("right")&&s.has("down")?[{x:0,y:0},{x:n,y:0},{x:0,y:-a}]:s.has("left")&&s.has("up")?[{x:n,y:0},{x:0,y:-i},{x:n,y:-a}]:s.has("left")&&s.has("down")?[{x:n,y:0},{x:0,y:0},{x:n,y:-a}]:s.has("right")?[{x:i,y:-o},{x:i,y:-o},{x:n-i,y:-o},{x:n-i,y:0},{x:n,y:-a/2},{x:n-i,y:-a},{x:n-i,y:-a+o},{x:i,y:-a+o},{x:i,y:-a+o}]:s.has("left")?[{x:i,y:0},{x:i,y:-o},{x:n-i,y:-o},{x:n-i,y:-a+o},{x:i,y:-a+o},{x:i,y:-a},{x:0,y:-a/2}]:s.has("up")?[{x:i,y:-o},{x:i,y:-a+o},{x:0,y:-a+o},{x:n/2,y:-a},{x:n,y:-a+o},{x:n-i,y:-a+o},{x:n-i,y:-o}]:s.has("down")?[{x:n/2,y:0},{x:0,y:-o},{x:i,y:-o},{x:i,y:-a+o},{x:n-i,y:-a+o},{x:n-i,y:-o},{x:n,y:-o}]:[{x:0,y:0}]}),"getArrowPoints");function wt(t,e){return t.intersect(e)}(0,o.K2)(wt,"intersectNode");var _t=wt;function Lt(t,e,r,s){var a=t.x,i=t.y,n=a-s.x,o=i-s.y,l=Math.sqrt(e*e*o*o+r*r*n*n),c=Math.abs(e*r*n/l);s.x0}(0,o.K2)(Et,"intersectLine"),(0,o.K2)(Dt,"sameSign");var Ct=Et,Rt=Kt;function Kt(t,e,r){var s=t.x,a=t.y,i=[],n=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){n=Math.min(n,t.x),o=Math.min(o,t.y)})):(n=Math.min(n,e.x),o=Math.min(o,e.y));for(var l=s-t.width/2-n,c=a-t.height/2-o,d=0;d1&&i.sort((function(t,e){var s=t.x-r.x,a=t.y-r.y,i=Math.sqrt(s*s+a*a),n=e.x-r.x,o=e.y-r.y,l=Math.sqrt(n*n+o*o);return i{var r,s,a=t.x,i=t.y,n=e.x-a,o=e.y-i,l=t.width/2,c=t.height/2;return Math.abs(o)*l>Math.abs(n)*c?(o<0&&(c=-c),r=0===o?0:c*n/o,s=c):(n<0&&(l=-l),r=l,s=0===n?0:l*o/n),{x:a+r,y:i+s}}),"intersectRect")},Tt=(0,o.K2)((async(t,e,r,s)=>{const a=(0,o.D7)();let l;const c=e.useHtmlLabels||(0,o._3)(a.flowchart.htmlLabels);l=r||"node default";const d=t.insert("g").attr("class",l).attr("id",e.domId||e.id),g=d.insert("g").attr("class","label").attr("style",e.labelStyle);let u;u=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const p=g.node();let y;y="markdown"===e.labelType?(0,i.GZ)(g,(0,o.jZ)((0,n.Sm)(u),a),{useHtmlLabels:c,width:e.width||a.flowchart.wrappingWidth,classes:"markdown-node-label"},a):p.appendChild(it((0,o.jZ)((0,n.Sm)(u),a),e.labelStyle,!1,s));let b=y.getBBox();const x=e.padding/2;if((0,o._3)(a.flowchart.htmlLabels)){const t=y.children[0],e=(0,h.Ltv)(y),r=t.getElementsByTagName("img");if(r){const t=""===u.replace(/]*>/g,"").trim();await Promise.all([...r].map((e=>new Promise((r=>{function s(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=a.fontSize?a.fontSize:window.getComputedStyle(document.body).fontSize,r=5,s=parseInt(t,10)*r+"px";e.style.minWidth=s,e.style.maxWidth=s}else e.style.width="100%";r(e)}(0,o.K2)(s,"setupImage"),setTimeout((()=>{e.complete&&s()})),e.addEventListener("error",s),e.addEventListener("load",s)})))))}b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}return c?g.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"):g.attr("transform","translate(0, "+-b.height/2+")"),e.centerLabel&&g.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"),g.insert("rect",":first-child"),{shapeSvg:d,bbox:b,halfPadding:x,label:g}}),"labelHelper"),$t=(0,o.K2)(((t,e)=>{const r=e.node().getBBox();t.width=r.width,t.height=r.height}),"updateNodeBounds");function At(t,e,r,s){return t.insert("polygon",":first-child").attr("points",s.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}(0,o.K2)(At,"insertPolygonShape");var It=(0,o.K2)((async(t,e)=>{e.useHtmlLabels||(0,o.D7)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:r,bbox:s,halfPadding:a}=await Tt(t,e,"node "+e.classes,!0);o.Rm.info("Classes = ",e.classes);const i=r.insert("rect",":first-child");return i.attr("rx",e.rx).attr("ry",e.ry).attr("x",-s.width/2-a).attr("y",-s.height/2-a).attr("width",s.width+e.padding).attr("height",s.height+e.padding),$t(e,i),e.intersect=function(t){return Nt.rect(e,t)},r}),"note"),Ot=(0,o.K2)((t=>t?" "+t:""),"formatClass"),Bt=(0,o.K2)(((t,e)=>`${e||"node default"}${Ot(t.classes)} ${Ot(t.class)}`),"getClassesFromNode"),zt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.width+e.padding+(s.height+e.padding),i=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}];o.Rm.info("Question main (Circle)");const n=At(r,a,a,i);return n.attr("style",e.style),$t(e,n),e.intersect=function(t){return o.Rm.warn("Intersect called"),Nt.polygon(e,i,t)},r}),"question"),Mt=(0,o.K2)(((t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),s=[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}];return r.insert("polygon",":first-child").attr("points",s.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 Nt.circle(e,14,t)},r}),"choice"),Pt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.height+e.padding,i=a/4,n=s.width+2*i+e.padding,o=[{x:i,y:0},{x:n-i,y:0},{x:n,y:-a/2},{x:n-i,y:-a},{x:i,y:-a},{x:0,y:-a/2}],l=At(r,n,a,o);return l.attr("style",e.style),$t(e,l),e.intersect=function(t){return Nt.polygon(e,o,t)},r}),"hexagon"),Yt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,void 0,!0),a=s.height+2*e.padding,i=a/2,n=s.width+2*i+e.padding,o=mt(e.directions,s,e),l=At(r,n,a,o);return l.attr("style",e.style),$t(e,l),e.intersect=function(t){return Nt.polygon(e,o,t)},r}),"block_arrow"),Ft=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.width+e.padding,i=s.height+e.padding,n=[{x:-i/2,y:0},{x:a,y:0},{x:a,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}];return At(r,a,i,n).attr("style",e.style),e.width=a+i,e.height=i,e.intersect=function(t){return Nt.polygon(e,n,t)},r}),"rect_left_inv_arrow"),jt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e),!0),a=s.width+e.padding,i=s.height+e.padding,n=[{x:-2*i/6,y:0},{x:a-i/6,y:0},{x:a+2*i/6,y:-i},{x:i/6,y:-i}],o=At(r,a,i,n);return o.attr("style",e.style),$t(e,o),e.intersect=function(t){return Nt.polygon(e,n,t)},r}),"lean_right"),Wt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.width+e.padding,i=s.height+e.padding,n=[{x:2*i/6,y:0},{x:a+i/6,y:0},{x:a-2*i/6,y:-i},{x:-i/6,y:-i}],o=At(r,a,i,n);return o.attr("style",e.style),$t(e,o),e.intersect=function(t){return Nt.polygon(e,n,t)},r}),"lean_left"),Xt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.width+e.padding,i=s.height+e.padding,n=[{x:-2*i/6,y:0},{x:a+2*i/6,y:0},{x:a-i/6,y:-i},{x:i/6,y:-i}],o=At(r,a,i,n);return o.attr("style",e.style),$t(e,o),e.intersect=function(t){return Nt.polygon(e,n,t)},r}),"trapezoid"),Ht=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.width+e.padding,i=s.height+e.padding,n=[{x:i/6,y:0},{x:a-i/6,y:0},{x:a+2*i/6,y:-i},{x:-2*i/6,y:-i}],o=At(r,a,i,n);return o.attr("style",e.style),$t(e,o),e.intersect=function(t){return Nt.polygon(e,n,t)},r}),"inv_trapezoid"),Ut=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.width+e.padding,i=s.height+e.padding,n=[{x:0,y:0},{x:a+i/2,y:0},{x:a,y:-i/2},{x:a+i/2,y:-i},{x:0,y:-i}],o=At(r,a,i,n);return o.attr("style",e.style),$t(e,o),e.intersect=function(t){return Nt.polygon(e,n,t)},r}),"rect_right_inv_arrow"),Zt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.width+e.padding,i=a/2,n=i/(2.5+a/50),o=s.height+n+e.padding,l="M 0,"+n+" a "+i+","+n+" 0,0,0 "+a+" 0 a "+i+","+n+" 0,0,0 "+-a+" 0 l 0,"+o+" a "+i+","+n+" 0,0,0 "+a+" 0 l 0,"+-o,c=r.attr("label-offset-y",n).insert("path",":first-child").attr("style",e.style).attr("d",l).attr("transform","translate("+-a/2+","+-(o/2+n)+")");return $t(e,c),e.intersect=function(t){const r=Nt.rect(e,t),s=r.x-e.x;if(0!=i&&(Math.abs(s)e.height/2-n)){let a=n*n*(1-s*s/(i*i));0!=a&&(a=Math.sqrt(a)),a=n-a,t.y-e.y>0&&(a=-a),r.y+=a}return r},r}),"cylinder"),qt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s,halfPadding:a}=await Tt(t,e,"node "+e.classes+" "+e.class,!0),i=r.insert("rect",":first-child"),n=e.positioned?e.width:s.width+e.padding,l=e.positioned?e.height:s.height+e.padding,c=e.positioned?-n/2:-s.width/2-a,d=e.positioned?-l/2:-s.height/2-a;if(i.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",d).attr("width",n).attr("height",l),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(Vt(i,e.props.borders,n,l),t.delete("borders")),t.forEach((t=>{o.Rm.warn(`Unknown node property ${t}`)}))}return $t(e,i),e.intersect=function(t){return Nt.rect(e,t)},r}),"rect"),Gt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s,halfPadding:a}=await Tt(t,e,"node "+e.classes,!0),i=r.insert("rect",":first-child"),n=e.positioned?e.width:s.width+e.padding,l=e.positioned?e.height:s.height+e.padding,c=e.positioned?-n/2:-s.width/2-a,d=e.positioned?-l/2:-s.height/2-a;if(i.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",d).attr("width",n).attr("height",l),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(Vt(i,e.props.borders,n,l),t.delete("borders")),t.forEach((t=>{o.Rm.warn(`Unknown node property ${t}`)}))}return $t(e,i),e.intersect=function(t){return Nt.rect(e,t)},r}),"composite"),Jt=(0,o.K2)((async(t,e)=>{const{shapeSvg:r}=await Tt(t,e,"label",!0);o.Rm.trace("Classes = ",e.class);const s=r.insert("rect",":first-child");if(s.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(Vt(s,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{o.Rm.warn(`Unknown node property ${t}`)}))}return $t(e,s),e.intersect=function(t){return Nt.rect(e,t)},r}),"labelRect");function Vt(t,e,r,s){const a=[],i=(0,o.K2)((t=>{a.push(t,0)}),"addBorder"),n=(0,o.K2)((t=>{a.push(0,t)}),"skipBorder");e.includes("t")?(o.Rm.debug("add top border"),i(r)):n(r),e.includes("r")?(o.Rm.debug("add right border"),i(s)):n(s),e.includes("b")?(o.Rm.debug("add bottom border"),i(r)):n(r),e.includes("l")?(o.Rm.debug("add left border"),i(s)):n(s),t.attr("stroke-dasharray",a.join(" "))}(0,o.K2)(Vt,"applyNodePropertyBorders");var Qt=(0,o.K2)(((t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";const s=t.insert("g").attr("class",r).attr("id",e.domId||e.id),a=s.insert("rect",":first-child"),i=s.insert("line"),n=s.insert("g").attr("class","label"),l=e.labelText.flat?e.labelText.flat():e.labelText;let c="";c="object"==typeof l?l[0]:l,o.Rm.info("Label text abc79",c,l,"object"==typeof l);const d=n.node().appendChild(it(c,e.labelStyle,!0,!0));let g={width:0,height:0};if((0,o._3)((0,o.D7)().flowchart.htmlLabels)){const t=d.children[0],e=(0,h.Ltv)(d);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}o.Rm.info("Text 2",l);const u=l.slice(1,l.length);let p=d.getBBox();const y=n.node().appendChild(it(u.join?u.join("
    "):u,e.labelStyle,!0,!0));if((0,o._3)((0,o.D7)().flowchart.htmlLabels)){const t=y.children[0],e=(0,h.Ltv)(y);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}const b=e.padding/2;return(0,h.Ltv)(y).attr("transform","translate( "+(g.width>p.width?0:(p.width-g.width)/2)+", "+(p.height+b+5)+")"),(0,h.Ltv)(d).attr("transform","translate( "+(g.width{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.height+e.padding,i=s.width+a/4+e.padding,n=r.insert("rect",":first-child").attr("style",e.style).attr("rx",a/2).attr("ry",a/2).attr("x",-i/2).attr("y",-a/2).attr("width",i).attr("height",a);return $t(e,n),e.intersect=function(t){return Nt.rect(e,t)},r}),"stadium"),ee=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s,halfPadding:a}=await Tt(t,e,Bt(e,void 0),!0),i=r.insert("circle",":first-child");return i.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",s.width/2+a).attr("width",s.width+e.padding).attr("height",s.height+e.padding),o.Rm.info("Circle main"),$t(e,i),e.intersect=function(t){return o.Rm.info("Circle intersect",e,s.width/2+a,t),Nt.circle(e,s.width/2+a,t)},r}),"circle"),re=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s,halfPadding:a}=await Tt(t,e,Bt(e,void 0),!0),i=r.insert("g",":first-child"),n=i.insert("circle"),l=i.insert("circle");return i.attr("class",e.class),n.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",s.width/2+a+5).attr("width",s.width+e.padding+10).attr("height",s.height+e.padding+10),l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",s.width/2+a).attr("width",s.width+e.padding).attr("height",s.height+e.padding),o.Rm.info("DoubleCircle main"),$t(e,n),e.intersect=function(t){return o.Rm.info("DoubleCircle intersect",e,s.width/2+a+5,t),Nt.circle(e,s.width/2+a+5,t)},r}),"doublecircle"),se=(0,o.K2)((async(t,e)=>{const{shapeSvg:r,bbox:s}=await Tt(t,e,Bt(e,void 0),!0),a=s.width+e.padding,i=s.height+e.padding,n=[{x:0,y:0},{x:a,y:0},{x:a,y:-i},{x:0,y:-i},{x:0,y:0},{x:-8,y:0},{x:a+8,y:0},{x:a+8,y:-i},{x:-8,y:-i},{x:-8,y:0}],o=At(r,a,i,n);return o.attr("style",e.style),$t(e,o),e.intersect=function(t){return Nt.polygon(e,n,t)},r}),"subroutine"),ae=(0,o.K2)(((t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),s=r.insert("circle",":first-child");return s.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),$t(e,s),e.intersect=function(t){return Nt.circle(e,7,t)},r}),"start"),ie=(0,o.K2)(((t,e,r)=>{const s=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let a=70,i=10;"LR"===r&&(a=10,i=70);const n=s.append("rect").attr("x",-1*a/2).attr("y",-1*i/2).attr("width",a).attr("height",i).attr("class","fork-join");return $t(e,n),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return Nt.rect(e,t)},s}),"forkJoin"),ne={rhombus:zt,composite:Gt,question:zt,rect:qt,labelRect:Jt,rectWithTitle:Qt,choice:Mt,circle:ee,doublecircle:re,stadium:te,hexagon:Pt,block_arrow:Yt,rect_left_inv_arrow:Ft,lean_right:jt,lean_left:Wt,trapezoid:Xt,inv_trapezoid:Ht,rect_right_inv_arrow:Ut,cylinder:Zt,start:ae,end:(0,o.K2)(((t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),s=r.insert("circle",":first-child"),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),s.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),$t(e,a),e.intersect=function(t){return Nt.circle(e,7,t)},r}),"end"),note:It,subroutine:se,fork:ie,join:ie,class_box:(0,o.K2)(((t,e)=>{const r=e.padding/2;let s;s=e.classes?"node "+e.classes:"node default";const a=t.insert("g").attr("class",s).attr("id",e.domId||e.id),i=a.insert("rect",":first-child"),n=a.insert("line"),l=a.insert("line");let c=0,d=4;const g=a.insert("g").attr("class","label");let u=0;const p=e.classData.annotations?.[0],y=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",b=g.node().appendChild(it(y,e.labelStyle,!0,!0));let x=b.getBBox();if((0,o._3)((0,o.D7)().flowchart.htmlLabels)){const t=b.children[0],e=(0,h.Ltv)(b);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}e.classData.annotations[0]&&(d+=x.height+4,c+=x.width);let f=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,o.D7)().flowchart.htmlLabels?f+="<"+e.classData.type+">":f+="<"+e.classData.type+">");const m=g.node().appendChild(it(f,e.labelStyle,!0,!0));(0,h.Ltv)(m).attr("class","classTitle");let w=m.getBBox();if((0,o._3)((0,o.D7)().flowchart.htmlLabels)){const t=m.children[0],e=(0,h.Ltv)(m);w=t.getBoundingClientRect(),e.attr("width",w.width),e.attr("height",w.height)}d+=w.height+4,w.width>c&&(c=w.width);const _=[];e.classData.members.forEach((t=>{const r=t.getDisplayDetails();let s=r.displayText;(0,o.D7)().flowchart.htmlLabels&&(s=s.replace(//g,">"));const a=g.node().appendChild(it(s,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0));let i=a.getBBox();if((0,o._3)((0,o.D7)().flowchart.htmlLabels)){const t=a.children[0],e=(0,h.Ltv)(a);i=t.getBoundingClientRect(),e.attr("width",i.width),e.attr("height",i.height)}i.width>c&&(c=i.width),d+=i.height+4,_.push(a)})),d+=8;const L=[];if(e.classData.methods.forEach((t=>{const r=t.getDisplayDetails();let s=r.displayText;(0,o.D7)().flowchart.htmlLabels&&(s=s.replace(//g,">"));const a=g.node().appendChild(it(s,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0));let i=a.getBBox();if((0,o._3)((0,o.D7)().flowchart.htmlLabels)){const t=a.children[0],e=(0,h.Ltv)(a);i=t.getBoundingClientRect(),e.attr("width",i.width),e.attr("height",i.height)}i.width>c&&(c=i.width),d+=i.height+4,L.push(a)})),d+=8,p){let t=(c-x.width)/2;(0,h.Ltv)(b).attr("transform","translate( "+(-1*c/2+t)+", "+-1*d/2+")"),u=x.height+4}let k=(c-w.width)/2;return(0,h.Ltv)(m).attr("transform","translate( "+(-1*c/2+k)+", "+(-1*d/2+u)+")"),u+=w.height+4,n.attr("class","divider").attr("x1",-c/2-r).attr("x2",c/2+r).attr("y1",-d/2-r+8+u).attr("y2",-d/2-r+8+u),u+=8,_.forEach((t=>{(0,h.Ltv)(t).attr("transform","translate( "+-c/2+", "+(-1*d/2+u+4)+")");const e=t?.getBBox();u+=(e?.height??0)+4})),u+=8,l.attr("class","divider").attr("x1",-c/2-r).attr("x2",c/2+r).attr("y1",-d/2-r+8+u).attr("y2",-d/2-r+8+u),u+=8,L.forEach((t=>{(0,h.Ltv)(t).attr("transform","translate( "+-c/2+", "+(-1*d/2+u)+")");const e=t?.getBBox();u+=(e?.height??0)+4})),i.attr("style",e.style).attr("class","outer title-state").attr("x",-c/2-r).attr("y",-d/2-r).attr("width",c+e.padding).attr("height",d+e.padding),$t(e,i),e.intersect=function(t){return Nt.rect(e,t)},a}),"class_box")},oe={},le=(0,o.K2)((async(t,e,r)=>{let s,a;if(e.link){let i;"sandbox"===(0,o.D7)().securityLevel?i="_top":e.linkTarget&&(i=e.linkTarget||"_blank"),s=t.insert("svg:a").attr("xlink:href",e.link).attr("target",i),a=await ne[e.shape](s,e,r)}else a=await ne[e.shape](t,e,r),s=a;return e.tooltip&&a.attr("title",e.tooltip),e.class&&a.attr("class","node default "+e.class),oe[e.id]=s,e.haveCallback&&oe[e.id].attr("class",oe[e.id].attr("class")+" clickable"),s}),"insertNode"),ce=(0,o.K2)((t=>{const e=oe[t.id];o.Rm.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r}),"positionNode");function de(t,e,r=!1){const s=t;let a="default";(s?.classes?.length||0)>0&&(a=(s?.classes??[]).join(" ")),a+=" flowchart-label";let i,l=0,c="";switch(s.type){case"round":l=5,c="rect";break;case"composite":l=0,c="composite",i=0;break;case"square":case"group":default:c="rect";break;case"diamond":c="question";break;case"hexagon":c="hexagon";break;case"block_arrow":c="block_arrow";break;case"odd":case"rect_left_inv_arrow":c="rect_left_inv_arrow";break;case"lean_right":c="lean_right";break;case"lean_left":c="lean_left";break;case"trapezoid":c="trapezoid";break;case"inv_trapezoid":c="inv_trapezoid";break;case"circle":c="circle";break;case"ellipse":c="ellipse";break;case"stadium":c="stadium";break;case"subroutine":c="subroutine";break;case"cylinder":c="cylinder";break;case"doublecircle":c="doublecircle"}const d=(0,n.sM)(s?.styles??[]),h=s.label,g=s.size??{width:0,height:0,x:0,y:0};return{labelStyle:d.labelStyle,shape:c,labelText:h,rx:l,ry:l,class:a,style:d.style,id:s.id,directions:s.directions,width:g.width,height:g.height,x:g.x,y:g.y,positioned:r,intersect:void 0,type:s.type,padding:i??(0,o.zj)()?.block?.padding??0}}async function he(t,e,r){const s=de(e,0,!1);if("group"===s.type)return;const a=(0,o.zj)(),i=await le(t,s,{config:a}),n=i.node().getBBox(),l=r.getBlock(s.id);l.size={width:n.width,height:n.height,x:0,y:0,node:i},r.setBlock(l),i.remove()}async function ge(t,e,r){const s=de(e,0,!0);if("space"!==r.getBlock(s.id).type){const r=(0,o.zj)();await le(t,s,{config:r}),e.intersect=s?.intersect,ce(s)}}async function ue(t,e,r,s){for(const a of e)await s(t,a,r),a.children&&await ue(t,a.children,r,s)}async function pe(t,e,r){await ue(t,e,r,he)}async function ye(t,e,r){await ue(t,e,r,ge)}async function be(t,e,r,s,a){const i=new g.T({multigraph:!0,compound:!0});i.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(const n of r)n.size&&i.setNode(n.id,{width:n.size.width,height:n.size.height,intersect:n.intersect});for(const n of e)if(n.start&&n.end){const e=s.getBlock(n.start),r=s.getBlock(n.end);if(e?.size&&r?.size){const s=e.size,o=r.size,l=[{x:s.x,y:s.y},{x:s.x+(o.x-s.x)/2,y:s.y+(o.y-s.y)/2},{x:o.x,y:o.y}];xt(t,{v:n.start,w:n.end,name:n.id},{...n,arrowTypeEnd:n.arrowTypeEnd,arrowTypeStart:n.arrowTypeStart,points:l,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",i,a),n.label&&(await ht(t,{...n,label:n.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:n.arrowTypeEnd,arrowTypeStart:n.arrowTypeStart,points:l,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),ut({...n,x:l[1].x,y:l[1].y},{originalPath:l}))}}}(0,o.K2)(de,"getNodeFromBlock"),(0,o.K2)(he,"calculateBlockSize"),(0,o.K2)(ge,"insertBlockPositioned"),(0,o.K2)(ue,"performOperations"),(0,o.K2)(pe,"calculateBlockSizes"),(0,o.K2)(ye,"insertBlocks"),(0,o.K2)(be,"insertEdges");var xe=(0,o.K2)((function(t,e){return e.db.getClasses()}),"getClasses"),fe={parser:p,db:W,renderer:{draw:(0,o.K2)((async function(t,e,r,s){const{securityLevel:a,block:i}=(0,o.zj)(),n=s.db;let l;"sandbox"===a&&(l=(0,h.Ltv)("#i"+e));const c="sandbox"===a?(0,h.Ltv)(l.nodes()[0].contentDocument.body):(0,h.Ltv)("body"),d="sandbox"===a?c.select(`[id="${e}"]`):(0,h.Ltv)(`[id="${e}"]`);q(d,["point","circle","cross"],s.type,e);const g=n.getBlocks(),u=n.getBlocksFlat(),p=n.getEdges(),y=d.insert("g").attr("class","block");await pe(y,g,n);const b=rt(n);if(await ye(y,g,n),await be(y,p,u,n,e),b){const t=b,e=Math.max(1,Math.round(t.width/t.height*.125)),r=t.height+e+10,s=t.width+10,{useMaxWidth:a}=i;(0,o.a$)(d,r,s,!!a),o.Rm.debug("Here Bounds",b,t),d.attr("viewBox",`${t.x-5} ${t.y-5} ${t.width+10} ${t.height+10}`)}}),"draw"),getClasses:xe},styles:H}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/393be207.f3966a2b.js b/pr-preview/pr-4/assets/js/393be207.f3966a2b.js new file mode 100644 index 0000000..b9a1d1e --- /dev/null +++ b/pr-preview/pr-4/assets/js/393be207.f3966a2b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[4134],{41943:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>d,frontMatter:()=>p,metadata:()=>a,toc:()=>i});const a=JSON.parse('{"type":"mdx","permalink":"/nr-pies/pr-preview/pr-4/markdown-page","source":"@site/src/pages/markdown-page.md","title":"Markdown page example","description":"Markdown page example","frontMatter":{"title":"Markdown page example"},"unlisted":false}');var o=t(74848),r=t(28453);const p={title:"Markdown page example"},s=void 0,c={},i=[{value:"Markdown page example",id:"markdown-page-example",level:2}];function l(e){const n={h2:"h2",p:"p",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h2,{id:"markdown-page-example",children:"Markdown page example"}),"\n",(0,o.jsx)(n.p,{children:"You don't need React to write simple standalone pages."})]})}function d(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},28453:(e,n,t)=>{t.d(n,{R:()=>p,x:()=>s});var a=t(96540);const o={},r=a.createContext(o);function p(e){const n=a.useContext(r);return a.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:p(e.components),a.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/40a9f62a.680115b2.js b/pr-preview/pr-4/assets/js/40a9f62a.680115b2.js new file mode 100644 index 0000000..96c59f0 --- /dev/null +++ b/pr-preview/pr-4/assets/js/40a9f62a.680115b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[522],{7837:(s,e,t)=>{t.r(e),t.d(e,{assets:()=>u,contentTitle:()=>a,default:()=>l,frontMatter:()=>i,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"docusaurus/tutorial_basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","source":"@site/docs/docusaurus/tutorial_basics/congratulations.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/congratulations","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/congratulations.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":6,"frontMatter":{"sidebar_position":6},"sidebar":"tutorialSidebar","previous":{"title":"Deploy your site","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site"},"next":{"title":"Tutorial - Extras","permalink":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---extras"}}');var n=t(74848),o=t(28453);const i={sidebar_position:6},a="Congratulations!",u={},c=[{value:"What's next?",id:"whats-next",level:2}];function d(s){const e={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,o.R)(),...s.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.header,{children:(0,n.jsx)(e.h1,{id:"congratulations",children:"Congratulations!"})}),"\n",(0,n.jsxs)(e.p,{children:["You have just learned the ",(0,n.jsx)(e.strong,{children:"basics of Docusaurus"})," and made some changes to the ",(0,n.jsx)(e.strong,{children:"initial template"}),"."]}),"\n",(0,n.jsxs)(e.p,{children:["Docusaurus has ",(0,n.jsx)(e.strong,{children:"much more to offer"}),"!"]}),"\n",(0,n.jsxs)(e.p,{children:["Have ",(0,n.jsx)(e.strong,{children:"5 more minutes"}),"? Take a look at ",(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions",children:"versioning"})})," and ",(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site",children:"i18n"})}),"."]}),"\n",(0,n.jsxs)(e.p,{children:["Anything ",(0,n.jsx)(e.strong,{children:"unclear"})," or ",(0,n.jsx)(e.strong,{children:"buggy"})," in this tutorial? ",(0,n.jsx)(e.a,{href:"https://github.com/facebook/docusaurus/discussions/4610",children:"Please report it!"})]}),"\n",(0,n.jsx)(e.h2,{id:"whats-next",children:"What's next?"}),"\n",(0,n.jsxs)(e.ul,{children:["\n",(0,n.jsxs)(e.li,{children:["Read the ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/",children:"official documentation"})]}),"\n",(0,n.jsxs)(e.li,{children:["Modify your site configuration with ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/api/docusaurus-config",children:(0,n.jsx)(e.code,{children:"docusaurus.config.js"})})]}),"\n",(0,n.jsxs)(e.li,{children:["Add navbar and footer items with ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/api/themes/configuration",children:(0,n.jsx)(e.code,{children:"themeConfig"})})]}),"\n",(0,n.jsxs)(e.li,{children:["Add a custom ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/styling-layout",children:"Design and Layout"})]}),"\n",(0,n.jsxs)(e.li,{children:["Add a ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/search",children:"search bar"})]}),"\n",(0,n.jsxs)(e.li,{children:["Find inspirations in the ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/showcase",children:"Docusaurus showcase"})]}),"\n",(0,n.jsxs)(e.li,{children:["Get involved in the ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/community/support",children:"Docusaurus Community"})]}),"\n"]})]})}function l(s={}){const{wrapper:e}={...(0,o.R)(),...s.components};return e?(0,n.jsx)(e,{...s,children:(0,n.jsx)(d,{...s})}):d(s)}},28453:(s,e,t)=>{t.d(e,{R:()=>i,x:()=>a});var r=t(96540);const n={},o=r.createContext(n);function i(s){const e=r.useContext(o);return r.useMemo((function(){return"function"==typeof s?s(e):{...e,...s}}),[e,s])}function a(s){let e;return e=s.disableParentContext?"function"==typeof s.components?s.components(n):s.components||n:i(s.components),r.createElement(o.Provider,{value:e},s.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/4445.91751e37.js b/pr-preview/pr-4/assets/js/4445.91751e37.js new file mode 100644 index 0000000..81fa265 --- /dev/null +++ b/pr-preview/pr-4/assets/js/4445.91751e37.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[4445],{14445:(t,e,n)=>{n.d(e,{diagram:()=>D});var i=n(79515),s=n(5081),r=(n(34483),n(62392),n(86825),n(85039),n(61021)),o=n(45567),a=n(3219),c=n(78041),l=n(75263),h=function(){var t=(0,o.K2)((function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n}),"o"),e=[1,4],n=[1,13],i=[1,12],s=[1,15],r=[1,16],a=[1,20],c=[1,19],l=[6,7,8],h=[1,26],u=[1,24],g=[1,25],d=[6,7,11],p=[1,31],y=[6,7,11,24],f=[1,6,13,16,17,20,23],m=[1,35],_=[1,36],b=[1,6,7,11,13,16,17,20,23],k=[1,38],E={trace:(0,o.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},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,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:(0,o.K2)((function(t,e,n,i,s,r,o){var a=r.length-1;switch(s){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: ",r[a-1].id),i.addNode(r[a-2].length,r[a-1].id,r[a-1].descr,r[a-1].type,r[a]);break;case 16:i.getLogger().info("Node: ",r[a].id),i.addNode(r[a-1].length,r[a].id,r[a].descr,r[a].type);break;case 17:i.getLogger().trace("Icon: ",r[a]),i.decorateNode({icon:r[a]});break;case 18:case 23:i.decorateNode({class:r[a]});break;case 19:i.getLogger().trace("SPACELIST");break;case 20:i.getLogger().trace("Node: ",r[a-1].id),i.addNode(0,r[a-1].id,r[a-1].descr,r[a-1].type,r[a]);break;case 21:i.getLogger().trace("Node: ",r[a].id),i.addNode(0,r[a].id,r[a].descr,r[a].type);break;case 22:i.decorateNode({icon:r[a]});break;case 27:i.getLogger().trace("node found ..",r[a-2]),this.$={id:r[a-1],descr:r[a-1],type:i.getType(r[a-2],r[a])};break;case 28:this.$={id:r[a],descr:r[a],type:0};break;case 29:i.getLogger().trace("node found ..",r[a-3]),this.$={id:r[a-3],descr:r[a-1],type:i.getType(r[a-2],r[a])};break;case 30:this.$=r[a-1]+r[a];break;case 31:this.$=r[a]}}),"anonymous"),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,16:s,17:r,18:17,19:18,20:a,23:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:n,12:21,13:i,14:14,16:s,17:r,18:17,19:18,20:a,23:c},{6:n,9:22,12:11,13:i,14:14,16:s,17:r,18:17,19:18,20:a,23:c},{6:h,7:u,10:23,11:g},t(d,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:a,23:c}),t(d,[2,19]),t(d,[2,21],{15:30,24:p}),t(d,[2,22]),t(d,[2,23]),t(y,[2,25]),t(y,[2,26]),t(y,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:u,10:34,11:g},{1:[2,7],6:n,12:21,13:i,14:14,16:s,17:r,18:17,19:18,20:a,23:c},t(f,[2,14],{7:m,11:_}),t(b,[2,8]),t(b,[2,9]),t(b,[2,10]),t(d,[2,16],{15:37,24:p}),t(d,[2,17]),t(d,[2,18]),t(d,[2,20],{24:k}),t(y,[2,31]),{21:[1,39]},{22:[1,40]},t(f,[2,13],{7:m,11:_}),t(b,[2,11]),t(b,[2,12]),t(d,[2,15],{24:k}),t(y,[2,30]),{22:[1,41]},t(y,[2,27]),t(y,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:(0,o.K2)((function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)}),"parseError"),parse:(0,o.K2)((function(t){var e=this,n=[0],i=[],s=[null],r=[],a=this.table,c="",l=0,h=0,u=0,g=r.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var f=d.yylloc;r.push(f);var m=d.options&&d.options.ranges;function _(){var t;return"number"!=typeof(t=i.pop()||d.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,o.K2)((function(t){n.length=n.length-2*t,s.length=s.length-t,r.length=r.length-t}),"popStack"),(0,o.K2)(_,"lex");for(var b,k,E,S,N,x,D,L,I,C={};;){if(E=n[n.length-1],this.defaultActions[E]?S=this.defaultActions[E]:(null==b&&(b=_()),S=a[E]&&a[E][b]),void 0===S||!S.length||!S[0]){var O="";for(x in I=[],a[E])this.terminals_[x]&&x>2&&I.push("'"+this.terminals_[x]+"'");O=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(O,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:f,expected:I})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+b);switch(S[0]){case 1:n.push(b),s.push(d.yytext),r.push(d.yylloc),n.push(S[1]),b=null,k?(b=k,k=null):(h=d.yyleng,c=d.yytext,l=d.yylineno,f=d.yylloc,u>0&&u--);break;case 2:if(D=this.productions_[S[1]][1],C.$=s[s.length-D],C._$={first_line:r[r.length-(D||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(D||1)].first_column,last_column:r[r.length-1].last_column},m&&(C._$.range=[r[r.length-(D||1)].range[0],r[r.length-1].range[1]]),void 0!==(N=this.performAction.apply(C,[c,h,l,p.yy,S[1],s,r].concat(g))))return N;D&&(n=n.slice(0,-1*D*2),s=s.slice(0,-1*D),r=r.slice(0,-1*D)),n.push(this.productions_[S[1]][0]),s.push(C.$),r.push(C._$),L=a[n[n.length-2]][n[n.length-1]],n.push(L);break;case 3:return!0}}return!0}),"parse")},S=function(){return{EOF:1,parseError:(0,o.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,o.K2)((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}),"setInput"),input:(0,o.K2)((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}),"input"),unput:(0,o.K2)((function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,o.K2)((function(){return this._more=!0,this}),"more"),reject:(0,o.K2)((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})}),"reject"),less:(0,o.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,o.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,o.K2)((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,"")}),"upcomingInput"),showPosition:(0,o.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,o.K2)((function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1}),"test_match"),next:(0,o.K2)((function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,o.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,o.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,o.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,o.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,o.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,o.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,o.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.K2)((function(t,e,n,i){switch(n){case 0:return this.pushState("shapeData"),e.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:const n=/\n\s*/g;return e.yytext=e.yytext.replace(n,"
    "),24;case 4:return 24;case 5:case 10:case 29:case 32:this.popState();break;case 6:return t.getLogger().trace("Found comment",e.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 11:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return t.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:t.getLogger().trace("end icon"),this.popState();break;case 16:return t.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return t.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:case 21:case 22:case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 30:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 33:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 36:case 39:case 40:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 37:case 38:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 41:case 42:return t.getLogger().trace("Long description:",e.yytext),21}}),"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}}}();function N(){this.yy={}}return E.lexer=S,(0,o.K2)(N,"Parser"),N.prototype=E,E.Parser=N,new N}();h.parser=h;var u=h,g=[],d=[],p=0,y={},f=(0,o.K2)((()=>{g=[],d=[],p=0,y={}}),"clear"),m=(0,o.K2)((t=>{if(0===g.length)return null;const e=g[0].level;let n=null;for(let i=g.length-1;i>=0;i--)if(g[i].level!==e||n||(n=g[i]),g[i].levelt.parentId===i.id));for(const r of s){const e={id:r.id,parentId:i.id,label:(0,o.jZ)(r.label??"",n),isGroup:!1,ticket:r?.ticket,priority:r?.priority,assigned:r?.assigned,icon:r?.icon,shape:"kanbanItem",level:r.level,rx:5,ry:5,cssStyles:["text-align: left"]};t.push(e)}}return{nodes:t,edges:[],other:{},config:(0,o.D7)()}}),"getData"),k=(0,o.K2)(((t,e,n,s,r)=>{const a=(0,o.D7)();let c=a.mindmap?.padding??o.UI.mindmap.padding;switch(s){case E.ROUNDED_RECT:case E.RECT:case E.HEXAGON:c*=2}const l={id:(0,o.jZ)(e,a)||"kbn"+p++,level:t,label:(0,o.jZ)(n,a),width:a.mindmap?.maxNodeWidth??o.UI.mindmap.maxNodeWidth,padding:c,isGroup:!1};if(void 0!==r){let t;t=r.includes("\n")?r+"\n":"{\n"+r+"\n}";const e=(0,i.H)(t,{schema:i.r});if(e.shape&&(e.shape!==e.shape.toLowerCase()||e.shape.includes("_")))throw new Error(`No such shape: ${e.shape}. Shape names should be lowercase.`);e?.shape&&"kanbanItem"===e.shape&&(l.shape=e?.shape),e?.label&&(l.label=e?.label),e?.icon&&(l.icon=e?.icon),e?.assigned&&(l.assigned=e?.assigned),e?.ticket&&(l.ticket=e?.ticket),e?.priority&&(l.priority=e?.priority)}const h=m(t);h?l.parentId=h.id||"kbn"+p++:d.push(l),g.push(l)}),"addNode"),E={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},S={clear:f,addNode:k,getSections:_,getData:b,nodeType:E,getType:(0,o.K2)(((t,e)=>{switch(o.Rm.debug("In get type",t,e),t){case"[":return E.RECT;case"(":return")"===e?E.ROUNDED_RECT:E.CLOUD;case"((":return E.CIRCLE;case")":return E.CLOUD;case"))":return E.BANG;case"{{":return E.HEXAGON;default:return E.DEFAULT}}),"getType"),setElementForId:(0,o.K2)(((t,e)=>{y[t]=e}),"setElementForId"),decorateNode:(0,o.K2)((t=>{if(!t)return;const e=(0,o.D7)(),n=g[g.length-1];t.icon&&(n.icon=(0,o.jZ)(t.icon,e)),t.class&&(n.cssClasses=(0,o.jZ)(t.class,e))}),"decorateNode"),type2Str:(0,o.K2)((t=>{switch(t){case E.DEFAULT:return"no-border";case E.RECT:return"rect";case E.ROUNDED_RECT:return"rounded-rect";case E.CIRCLE:return"circle";case E.CLOUD:return"cloud";case E.BANG:return"bang";case E.HEXAGON:return"hexgon";default:return"no-border"}}),"type2Str"),getLogger:(0,o.K2)((()=>o.Rm),"getLogger"),getElementById:(0,o.K2)((t=>y[t]),"getElementById")},N={draw:(0,o.K2)((async(t,e,n,i)=>{o.Rm.debug("Rendering kanban diagram\n"+t);const a=i.db.getData(),c=(0,o.D7)();c.htmlLabels=!1;const l=(0,r.D)(e),h=l.append("g");h.attr("class","sections");const u=l.append("g");u.attr("class","items");const g=a.nodes.filter((t=>t.isGroup));let d=0;const p=[];let y=25;for(const r of g){const t=c?.kanban?.sectionWidth||200;d+=1,r.x=t*d+10*(d-1)/2,r.width=t,r.y=0,r.height=3*t,r.rx=5,r.ry=5,r.cssClasses=r.cssClasses+" section-"+d;const e=await(0,s.U)(h,r);y=Math.max(y,e?.labelBBox?.height),p.push(e)}let f=0;for(const r of g){const t=p[f];f+=1;const e=c?.kanban?.sectionWidth||200,n=3*-e/2+y;let i=n;const o=a.nodes.filter((t=>t.parentId===r.id));for(const a of o){if(a.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");a.x=r.x,a.width=e-15;const t=(await(0,s.on)(u,a,{config:c})).node().getBBox();a.y=i+t.height/2,await(0,s.U_)(a),i=a.y+t.height/2+5}const l=t.cluster.select("rect"),h=Math.max(i-n+30,50)+(y-25);l.attr("height",h)}(0,o.ot)(void 0,l,c.mindmap?.padding??o.UI.kanban.padding,c.mindmap?.useMaxWidth??o.UI.kanban.useMaxWidth)}),"draw")},x=(0,o.K2)((t=>{let e="";for(let i=0;it.darkMode?(0,l.A)(e,n):(0,c.A)(e,n)),"adjuster");for(let i=0;i`\n .edge {\n stroke-width: 3;\n }\n ${x(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 .cluster-label, .label {\n color: ${t.textColor};\n fill: ${t.textColor};\n }\n .kanban-label {\n dy: 1em;\n alignment-baseline: middle;\n text-anchor: middle;\n dominant-baseline: middle;\n text-align: center;\n }\n`),"getStyles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/4449.e3b9ca01.js b/pr-preview/pr-4/assets/js/4449.e3b9ca01.js new file mode 100644 index 0000000..78f4fba --- /dev/null +++ b/pr-preview/pr-4/assets/js/4449.e3b9ca01.js @@ -0,0 +1 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[4449],{87799:function(t,e,i){var n;n=function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(e,i){e.exports=t},function(t,e,i){"use strict";var n=i(0).FDLayoutConstants;function r(){}for(var o in n)r[o]=n[o];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=n.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,i){"use strict";var n=i(0).FDLayoutEdge;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraph;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraphManager;function r(t){n.call(this,t)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).FDLayoutNode,r=i(0).IMath;function o(t,e,i,r){n.call(this,t,e,i,r)}for(var s in o.prototype=Object.create(n.prototype),n)o[s]=n[s];o.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},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,n=this.getChild().getNodes(),r=0;r0)this.positionNodesRadially(t);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),i=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(i),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},_.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%l.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=l.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=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,n=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,n),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},_.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i1)for(a=0;an&&(n=Math.floor(s.y)),o=Math.floor(s.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(c.WORLD_CENTER_X-s.x/2,c.WORLD_CENTER_Y-s.y/2))},_.radialLayout=function(t,e,i){var n=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);_.branchRadialLayout(e,null,0,359,0,n);var r=y.calculateBounds(t),o=new E;o.setDeviceOrgX(r.getMinX()),o.setDeviceOrgY(r.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var s=0;s1;){var E=y[0];y.splice(0,1);var m=c.indexOf(E);m>=0&&c.splice(m,1),p--,g--}u=null!=e?(c.indexOf(y[0])+1)%p:0;for(var v=Math.abs(n-i)/g,N=u;d!=g;N=++N%p){var A=c[N].getOtherEnd(t);if(A!=e){var L=(i+d*v)%360,T=(L+v)%360;_.branchRadialLayout(A,t,L,T,r+o,o),d++}}},_.maxDiagonalInTree=function(t){for(var e=p.MIN_VALUE,i=0;ie&&(e=n)}return e},_.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},_.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],n=this.graphManager.getAllNodes(),r=0;r1){var n="DummyCompound_"+i;t.memberGroups[n]=e[i];var r=e[i][0].getParent(),o=new s(t.graphManager);o.id=n,o.paddingLeft=r.paddingLeft||0,o.paddingRight=r.paddingRight||0,o.paddingBottom=r.paddingBottom||0,o.paddingTop=r.paddingTop||0,t.idToDummyNode[n]=o;var a=t.getGraphManager().add(t.newGraph(),o),h=r.getChild();h.add(o);for(var l=0;l=0;t--){var e=this.compoundOrder[t],i=e.id,n=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,n,r)}},_.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach((function(i){var n=t.idToDummyNode[i],r=n.paddingLeft,o=n.paddingTop;t.adjustLocations(e[i],n.rect.x,n.rect.y,r,o)}))},_.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var n=i.getNodes(),r=0;r0)return this.toBeTiled[e]=!1,!1;if(null!=o.getChild()){if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}else this.toBeTiled[o.id]=!1}return this.toBeTiled[e]=!0,!0},_.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,n=0;nh&&(h=c.rect.height)}i+=h+t.verticalPadding}},_.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach((function(n){var r=e[n];i.tiledMemberPack[n]=i.tileNodes(t[n],r.paddingLeft+r.paddingRight),r.rect.width=i.tiledMemberPack[n].width,r.rect.height=i.tiledMemberPack[n].height}))},_.prototype.tileNodes=function(t,e){var i={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:h.TILING_PADDING_VERTICAL,horizontalPadding:h.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.height0&&(o+=t.horizontalPadding),t.rowWidth[i]=o,t.width0&&(s+=t.verticalPadding);var a=0;s>t.rowHeight[i]&&(a=t.rowHeight[i],t.rowHeight[i]=s,a=t.rowHeight[i]-a),t.height+=a,t.rows[i].push(e)},_.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,n=0;ni&&(e=n,i=t.rowWidth[n]);return e},_.prototype.canAddHorizontal=function(t,e,i){var n=this.getShortestRowIndex(t);if(n<0)return!0;var r=t.rowWidth[n];if(r+t.horizontalPadding+e<=t.width)return!0;var o,s,a=0;return t.rowHeight[n]0&&(a=i+t.verticalPadding-t.rowHeight[n]),o=t.width-r>=e+t.horizontalPadding?(t.height+a)/(r+e+t.horizontalPadding):(t.height+a)/t.width,a=i+t.verticalPadding,(s=t.widtho&&e!=i){n.splice(-1,1),t.rows[i].push(r),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var s=Number.MIN_VALUE,a=0;as&&(s=n[a].height);e>0&&(s+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=s,t.rowHeight[i]0)for(var c=r;c<=o;c++)h[0]+=this.grid[c][s-1].length+this.grid[c][s].length-1;if(o0)for(c=s;c<=a;c++)h[3]+=this.grid[r-1][c].length+this.grid[r][c].length-1;for(var g,u,d=p.MAX_VALUE,f=0;f0&&(s=i.getGraphManager().add(i.newGraph(),o),this.processChildrenList(s,g,i))}},g.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",g)};"undefined"!=typeof cytoscape&&d(cytoscape),t.exports=d}])},t.exports=n(i(87799))},23143:function(t){var e;e=function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=26)}([function(t,e,i){"use strict";function n(){}n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(8),o=i(9);function s(t,e,i){n.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var a in s.prototype=Object.create(n.prototype),n)s[a]=n[a];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.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"},s.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),n=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==n)break;i=i.getOwner().getParent()}return null},s.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=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.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=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(13),s=i(0),a=i(16),h=i(4);function l(t,e,i,s){null==i&&null==s&&(s=e),n.call(this,s),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=s,this.edges=[],this.graphManager=t,this.rect=null!=i&&null!=e?new o(e.x,e.y,i.width,i.height):new o}for(var c in l.prototype=Object.create(n.prototype),n)l[c]=n[c];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.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},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach((function(n){if(n.target==t){if(n.source!=i)throw"Incorrect edge source!";e.push(n)}})),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach((function(n){if(n.source!=i&&n.target!=i)throw"Incorrect edge source and/or target";n.target!=t&&n.source!=t||e.push(n)})),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach((function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}})),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),i=0;ie&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>i&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-i)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-i),this.setHeight(this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>s.WORLD_BOUNDARY?e=s.WORLD_BOUNDARY:e<-s.WORLD_BOUNDARY&&(e=-s.WORLD_BOUNDARY);var i=this.rect.y;i>s.WORLD_BOUNDARY?i=s.WORLD_BOUNDARY:i<-s.WORLD_BOUNDARY&&(i=-s.WORLD_BOUNDARY);var n=new h(e,i),r=t.inverseTransformPoint(n);this.setLocation(r.x,r.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";function n(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(t){this.x=t},n.prototype.setY=function(t){this.y=t},n.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(0),s=i(6),a=i(3),h=i(1),l=i(13),c=i(12),g=i(11);function u(t,e,i){n.call(this,i),this.estimatedSize=r.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof s?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in u.prototype=Object.create(n.prototype),n)u[d]=n[d];u.prototype.getNodes=function(){return this.nodes},u.prototype.getEdges=function(){return this.edges},u.prototype.getGraphManager=function(){return this.graphManager},u.prototype.getParent=function(){return this.parent},u.prototype.getLeft=function(){return this.left},u.prototype.getRight=function(){return this.right},u.prototype.getTop=function(){return this.top},u.prototype.getBottom=function(){return this.bottom},u.prototype.isConnected=function(){return this.isConnected},u.prototype.add=function(t,e,i){if(null==e&&null==i){var n=t;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(n)>-1)throw"Node already in graph!";return n.owner=this,this.getNodes().push(n),n}var r=t;if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(e.owner!=i.owner||e.owner!=this)throw"Both owners must be this graph!";return e.owner!=i.owner?null:(r.source=e,r.target=i,r.isInterGraph=!1,this.getEdges().push(r),e.edges.push(r),i!=e&&i.edges.push(r),r)},u.prototype.remove=function(t){var e=t;if(t instanceof a){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 i=e.edges.slice(),n=i.length,r=0;r-1&&c>-1))throw"Source and/or target doesn't know this edge!";if(o.source.edges.splice(l,1),o.target!=o.source&&o.target.edges.splice(c,1),-1==(s=o.source.owner.getEdges().indexOf(o)))throw"Not in owner's edge list!";o.source.owner.getEdges().splice(s,1)}},u.prototype.updateLeftTop=function(){for(var t,e,i,n=r.MAX_VALUE,o=r.MAX_VALUE,s=this.getNodes(),a=s.length,h=0;h(t=l.getTop())&&(n=t),o>(e=l.getLeft())&&(o=e)}return n==r.MAX_VALUE?null:(i=null!=s[0].getParent().paddingLeft?s[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=n-i,new c(this.left,this.top))},u.prototype.updateBounds=function(t){for(var e,i,n,o,s,a=r.MAX_VALUE,h=-r.MAX_VALUE,c=r.MAX_VALUE,g=-r.MAX_VALUE,u=this.nodes,d=u.length,p=0;p(e=f.getLeft())&&(a=e),h<(i=f.getRight())&&(h=i),c>(n=f.getTop())&&(c=n),g<(o=f.getBottom())&&(g=o)}var y=new l(a,c,h-a,g-c);a==r.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),s=null!=u[0].getParent().paddingLeft?u[0].getParent().paddingLeft:this.margin,this.left=y.x-s,this.right=y.x+y.width+s,this.top=y.y-s,this.bottom=y.y+y.height+s},u.calculateBounds=function(t){for(var e,i,n,o,s=r.MAX_VALUE,a=-r.MAX_VALUE,h=r.MAX_VALUE,c=-r.MAX_VALUE,g=t.length,u=0;u(e=d.getLeft())&&(s=e),a<(i=d.getRight())&&(a=i),h>(n=d.getTop())&&(h=n),c<(o=d.getBottom())&&(c=o)}return new l(s,h,a-s,c-h)},u.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},u.prototype.getEstimatedSize=function(){if(this.estimatedSize==r.MIN_VALUE)throw"assert failed";return this.estimatedSize},u.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,i=e.length,n=0;n=this.nodes.length){var h=0;r.forEach((function(e){e.owner==t&&h++})),h==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},t.exports=u},function(t,e,i){"use strict";var n,r=i(1);function o(t){n=i(5),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,n,r){if(null==i&&null==n&&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=i,i=t;var o=(n=e).getOwner(),s=r.getOwner();if(null==o||o.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==s||s.getGraphManager()!=this)throw"Target not in this graph mgr!";if(o==s)return i.isInterGraph=!1,o.add(i,n,r);if(i.isInterGraph=!0,i.source=n,i.target=r,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),null==i.source||null==i.target)throw"Edge source and/or target is null!";if(-1!=i.source.edges.indexOf(i)||-1!=i.target.edges.indexOf(i))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof n){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 i,o=[],s=(o=o.concat(e.getEdges())).length,a=0;a=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var s=o*i[0],a=i[1]/o;i[0]s)return i[0]=n,i[1]=h,i[2]=o,i[3]=m,!1;if(ro)return i[0]=a,i[1]=r,i[2]=E,i[3]=s,!1;if(no?(i[0]=c,i[1]=g,L=!0):(i[0]=l,i[1]=h,L=!0):O===I&&(n>o?(i[0]=a,i[1]=h,L=!0):(i[0]=u,i[1]=g,L=!0)),-D===I?o>n?(i[2]=_,i[3]=m,T=!0):(i[2]=E,i[3]=y,T=!0):D===I&&(o>n?(i[2]=f,i[3]=y,T=!0):(i[2]=v,i[3]=m,T=!0)),L&&T)return!1;if(n>o?r>s?(w=this.getCardinalDirection(O,I,4),R=this.getCardinalDirection(D,I,2)):(w=this.getCardinalDirection(-O,I,3),R=this.getCardinalDirection(-D,I,1)):r>s?(w=this.getCardinalDirection(-O,I,1),R=this.getCardinalDirection(-D,I,3)):(w=this.getCardinalDirection(O,I,2),R=this.getCardinalDirection(D,I,4)),!L)switch(w){case 1:M=h,C=n+-p/I,i[0]=C,i[1]=M;break;case 2:C=u,M=r+d*I,i[0]=C,i[1]=M;break;case 3:M=g,C=n+p/I,i[0]=C,i[1]=M;break;case 4:C=c,M=r+-d*I,i[0]=C,i[1]=M}if(!T)switch(R){case 1:G=y,x=o+-A/I,i[2]=x,i[3]=G;break;case 2:x=v,G=s+N*I,i[2]=x,i[3]=G;break;case 3:G=m,x=o+A/I,i[2]=x,i[3]=G;break;case 4:x=_,G=s+-N*I,i[2]=x,i[3]=G}}return!1},r.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},r.getIntersection=function(t,e,i,r){if(null==r)return this.getIntersection2(t,e,i);var o,s,a,h,l,c,g,u=t.x,d=t.y,p=e.x,f=e.y,y=i.x,E=i.y,_=r.x,m=r.y;return 0==(g=(o=f-d)*(h=y-_)-(s=m-E)*(a=u-p))?null:new n((a*(c=_*E-y*m)-h*(l=p*d-u*f))/g,(s*l-o*c)/g)},r.angleOfVector=function(t,e,i,n){var r=void 0;return t!==i?(r=Math.atan((n-e)/(i-t)),i0?1:t<0?-1:0},n.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},n.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=n},function(t,e,i){"use strict";function n(){}n.MAX_VALUE=2147483647,n.MIN_VALUE=-2147483648,t.exports=n},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i0&&e;){for(a.push(l[0]);a.length>0&&e;){var c=a[0];a.splice(0,1),s.add(c);var g=c.getEdges();for(o=0;o-1&&l.splice(f,1)}s=new Set,h=new Map}else t=[]}return t},u.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,n=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r0){for(var r=this.edgeToDummyNodes.get(i),o=0;o=0&&e.splice(g,1),c.getNeighborsList().forEach((function(t){if(i.indexOf(t)<0){var e=n.get(t)-1;1==e&&h.push(t),n.set(t,e)}}))}i=i.concat(h),1!=e.length&&2!=e.length||(r=!0,o=e[0])}return o},u.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=u},function(t,e,i){"use strict";function n(){}n.seed=1,n.x=0,n.nextDouble=function(){return n.x=1e4*Math.sin(n.seed++),n.x-Math.floor(n.x)},t.exports=n},function(t,e,i){"use strict";var n=i(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,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},r.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},r.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},r.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},r.prototype.inverseTransformPoint=function(t){return new n(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r},function(t,e,i){"use strict";var n=i(15),r=i(7),o=i(0),s=i(8),a=i(9);function h(){n.call(this),this.useSmartIdealEdgeLengthCalculation=r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=r.DEFAULT_EDGE_LENGTH,this.springConstant=r.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=r.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=r.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=r.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*r.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=r.MAX_ITERATIONS}for(var l in h.prototype=Object.create(n.prototype),n)h[l]=n[l];h.prototype.initParameters=function(){n.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,n,s,a,h=this.getGraphManager().getAllEdges(),l=0;lr.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*r.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-r.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>r.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(r.COOLING_ADAPTATION_FACTOR,1-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*(1-r.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i0&&void 0!==arguments[0])||arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&s&&this.updateGrid(),o=new Set,t=0;t(h=e.getEstimatedSize()*this.gravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*o):(s>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=a.length||l>=a[0].length))for(var c=0;ct}}]),t}();t.exports=o},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=i,this.match_score=n,this.mismatch_penalty=r,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=new Array(this.iMax);for(var s=0;s=0;i--){var n=this.listeners[i];n.event===t&&n.callback===e&&this.listeners.splice(i,1)}},r.emit=function(t,e){for(var i=0;i{"use strict";i.d(e,{diagram:()=>X});var n=i(86825),r=i(85039),o=i(61021),s=i(45567),a=i(90165),h=i(43457),l=i(20007),c=i(3219),g=i(78041),u=i(75263),d=function(){var t=(0,s.K2)((function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i}),"o"),e=[1,4],i=[1,13],n=[1,12],r=[1,15],o=[1,16],a=[1,20],h=[1,19],l=[6,7,8],c=[1,26],g=[1,24],u=[1,25],d=[6,7,11],p=[1,6,13,15,16,19,22],f=[1,33],y=[1,34],E=[1,6,7,11,13,15,16,19,22],_={trace:(0,s.K2)((function(){}),"trace"),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:(0,s.K2)((function(t,e,i,n,r,o,s){var a=o.length-1;switch(r){case 6:case 7:return n;case 8:n.getLogger().trace("Stop NL ");break;case 9:n.getLogger().trace("Stop EOF ");break;case 11:n.getLogger().trace("Stop NL2 ");break;case 12:n.getLogger().trace("Stop EOF2 ");break;case 15:n.getLogger().info("Node: ",o[a].id),n.addNode(o[a-1].length,o[a].id,o[a].descr,o[a].type);break;case 16:n.getLogger().trace("Icon: ",o[a]),n.decorateNode({icon:o[a]});break;case 17:case 21:n.decorateNode({class:o[a]});break;case 18:n.getLogger().trace("SPACELIST");break;case 19:n.getLogger().trace("Node: ",o[a].id),n.addNode(0,o[a].id,o[a].descr,o[a].type);break;case 20:n.decorateNode({icon:o[a]});break;case 25:n.getLogger().trace("node found ..",o[a-2]),this.$={id:o[a-1],descr:o[a-1],type:n.getType(o[a-2],o[a])};break;case 26:this.$={id:o[a],descr:o[a],type:n.nodeType.DEFAULT};break;case 27:n.getLogger().trace("node found ..",o[a-3]),this.$={id:o[a-3],descr:o[a-1],type:n.getType(o[a-2],o[a])}}}),"anonymous"),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:i,7:[1,10],9:9,12:11,13:n,14:14,15:r,16:o,17:17,18:18,19:a,22:h},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:i,12:21,13:n,14:14,15:r,16:o,17:17,18:18,19:a,22:h},{6:i,9:22,12:11,13:n,14:14,15:r,16:o,17:17,18:18,19:a,22:h},{6:c,7:g,10:23,11:u},t(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:a,22:h}),t(d,[2,18]),t(d,[2,19]),t(d,[2,20]),t(d,[2,21]),t(d,[2,23]),t(d,[2,24]),t(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:c,7:g,10:32,11:u},{1:[2,7],6:i,12:21,13:n,14:14,15:r,16:o,17:17,18:18,19:a,22:h},t(p,[2,14],{7:f,11:y}),t(E,[2,8]),t(E,[2,9]),t(E,[2,10]),t(d,[2,15]),t(d,[2,16]),t(d,[2,17]),{20:[1,35]},{21:[1,36]},t(p,[2,13],{7:f,11:y}),t(E,[2,11]),t(E,[2,12]),{21:[1,37]},t(d,[2,25]),t(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:(0,s.K2)((function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)}),"parseError"),parse:(0,s.K2)((function(t){var e=this,i=[0],n=[],r=[null],o=[],a=this.table,h="",l=0,c=0,g=0,u=o.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(p.yy[f]=this.yy[f]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;o.push(y);var E=d.options&&d.options.ranges;function _(){var t;return"number"!=typeof(t=n.pop()||d.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,s.K2)((function(t){i.length=i.length-2*t,r.length=r.length-t,o.length=o.length-t}),"popStack"),(0,s.K2)(_,"lex");for(var m,v,N,A,L,T,O,D,I,w={};;){if(N=i[i.length-1],this.defaultActions[N]?A=this.defaultActions[N]:(null==m&&(m=_()),A=a[N]&&a[N][m]),void 0===A||!A.length||!A[0]){var R="";for(T in I=[],a[N])this.terminals_[T]&&T>2&&I.push("'"+this.terminals_[T]+"'");R=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(R,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:y,expected:I})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+N+", token: "+m);switch(A[0]){case 1:i.push(m),r.push(d.yytext),o.push(d.yylloc),i.push(A[1]),m=null,v?(m=v,v=null):(c=d.yyleng,h=d.yytext,l=d.yylineno,y=d.yylloc,g>0&&g--);break;case 2:if(O=this.productions_[A[1]][1],w.$=r[r.length-O],w._$={first_line:o[o.length-(O||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(O||1)].first_column,last_column:o[o.length-1].last_column},E&&(w._$.range=[o[o.length-(O||1)].range[0],o[o.length-1].range[1]]),void 0!==(L=this.performAction.apply(w,[h,c,l,p.yy,A[1],r,o].concat(u))))return L;O&&(i=i.slice(0,-1*O*2),r=r.slice(0,-1*O),o=o.slice(0,-1*O)),i.push(this.productions_[A[1]][0]),r.push(w.$),o.push(w._$),D=a[i[i.length-2]][i[i.length-1]],i.push(D);break;case 3:return!0}}return!0}),"parse")},m=function(){return{EOF:1,parseError:(0,s.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,s.K2)((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}),"setInput"),input:(0,s.K2)((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}),"input"),unput:(0,s.K2)((function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,s.K2)((function(){return this._more=!0,this}),"more"),reject:(0,s.K2)((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})}),"reject"),less:(0,s.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,s.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,s.K2)((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,"")}),"upcomingInput"),showPosition:(0,s.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,s.K2)((function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var o in r)this[o]=r[o];return!1}return!1}),"test_match"),next:(0,s.K2)((function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),o=0;oe[0].length)){if(e=i,n=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,s.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,s.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,s.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,s.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,s.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,s.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,s.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.K2)((function(t,e,i,n){switch(i){case 0:return t.getLogger().trace("Found comment",e.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5: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:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 27:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return t.getLogger().trace("Long description:",e.yytext),20}}),"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}}}();function v(){this.yy={}}return _.lexer=m,(0,s.K2)(v,"Parser"),v.prototype=_,_.Parser=v,new v}();d.parser=d;var p=d,f=[],y=0,E={},_=(0,s.K2)((()=>{f=[],y=0,E={}}),"clear"),m=(0,s.K2)((function(t){for(let e=f.length-1;e>=0;e--)if(f[e].levelf.length>0?f[0]:null),"getMindmap"),N=(0,s.K2)(((t,e,i,n)=>{s.Rm.info("addNode",t,e,i,n);const r=(0,s.D7)();let o=r.mindmap?.padding??s.UI.mindmap.padding;switch(n){case A.ROUNDED_RECT:case A.RECT:case A.HEXAGON:o*=2}const a={id:y++,nodeId:(0,s.jZ)(e,r),level:t,descr:(0,s.jZ)(i,r),type:n,children:[],width:r.mindmap?.maxNodeWidth??s.UI.mindmap.maxNodeWidth,padding:o},h=m(t);if(h)h.children.push(a),f.push(a);else{if(0!==f.length)throw new Error('There can be only one root. No parent could be found for ("'+a.descr+'")');f.push(a)}}),"addNode"),A={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},L={clear:_,addNode:N,getMindmap:v,nodeType:A,getType:(0,s.K2)(((t,e)=>{switch(s.Rm.debug("In get type",t,e),t){case"[":return A.RECT;case"(":return")"===e?A.ROUNDED_RECT:A.CLOUD;case"((":return A.CIRCLE;case")":return A.CLOUD;case"))":return A.BANG;case"{{":return A.HEXAGON;default:return A.DEFAULT}}),"getType"),setElementForId:(0,s.K2)(((t,e)=>{E[t]=e}),"setElementForId"),decorateNode:(0,s.K2)((t=>{if(!t)return;const e=(0,s.D7)(),i=f[f.length-1];t.icon&&(i.icon=(0,s.jZ)(t.icon,e)),t.class&&(i.class=(0,s.jZ)(t.class,e))}),"decorateNode"),type2Str:(0,s.K2)((t=>{switch(t){case A.DEFAULT:return"no-border";case A.RECT:return"rect";case A.ROUNDED_RECT:return"rounded-rect";case A.CIRCLE:return"circle";case A.CLOUD:return"cloud";case A.BANG:return"bang";case A.HEXAGON:return"hexgon";default:return"no-border"}}),"type2Str"),getLogger:(0,s.K2)((()=>s.Rm),"getLogger"),getElementById:(0,s.K2)((t=>E[t]),"getElementById")},T=(0,s.K2)((function(t,e,i,n){e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 ${i.height-5} v${10-i.height} q0,-5 5,-5 h${i.width-10} q5,0 5,5 v${i.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",i.height).attr("x2",i.width).attr("y2",i.height)}),"defaultBkg"),O=(0,s.K2)((function(t,e,i){e.append("rect").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("height",i.height).attr("width",i.width)}),"rectBkg"),D=(0,s.K2)((function(t,e,i){const n=i.width,r=i.height,o=.15*n,s=.25*n,a=.35*n,h=.2*n;e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 0 a${o},${o} 0 0,1 ${.25*n},${-1*n*.1}\n a${a},${a} 1 0,1 ${.4*n},${-1*n*.1}\n a${s},${s} 1 0,1 ${.35*n},${1*n*.2}\n\n a${o},${o} 1 0,1 ${.15*n},${1*r*.35}\n a${h},${h} 1 0,1 ${-1*n*.15},${1*r*.65}\n\n a${s},${o} 1 0,1 ${-1*n*.25},${.15*n}\n a${a},${a} 1 0,1 ${-1*n*.5},0\n a${o},${o} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${o},${o} 1 0,1 ${-1*n*.1},${-1*r*.35}\n a${h},${h} 1 0,1 ${.1*n},${-1*r*.65}\n\n H0 V0 Z`)}),"cloudBkg"),I=(0,s.K2)((function(t,e,i){const n=i.width,r=i.height,o=.15*n;e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 0 a${o},${o} 1 0,0 ${.25*n},${-1*r*.1}\n a${o},${o} 1 0,0 ${.25*n},0\n a${o},${o} 1 0,0 ${.25*n},0\n a${o},${o} 1 0,0 ${.25*n},${1*r*.1}\n\n a${o},${o} 1 0,0 ${.15*n},${1*r*.33}\n a${.8*o},${.8*o} 1 0,0 0,${1*r*.34}\n a${o},${o} 1 0,0 ${-1*n*.15},${1*r*.33}\n\n a${o},${o} 1 0,0 ${-1*n*.25},${.15*r}\n a${o},${o} 1 0,0 ${-1*n*.25},0\n a${o},${o} 1 0,0 ${-1*n*.25},0\n a${o},${o} 1 0,0 ${-1*n*.25},${-1*r*.15}\n\n a${o},${o} 1 0,0 ${-1*n*.1},${-1*r*.33}\n a${.8*o},${.8*o} 1 0,0 0,${-1*r*.34}\n a${o},${o} 1 0,0 ${.1*n},${-1*r*.33}\n\n H0 V0 Z`)}),"bangBkg"),w=(0,s.K2)((function(t,e,i){e.append("circle").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("r",i.width/2)}),"circleBkg");function R(t,e,i,n,r){return t.insert("polygon",":first-child").attr("points",n.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+(r.width-e)/2+", "+i+")")}(0,s.K2)(R,"insertPolygonShape");var C=(0,s.K2)((function(t,e,i){const n=i.height,r=n/4,o=i.width-i.padding+2*r;R(e,o,n,[{x:r,y:0},{x:o-r,y:0},{x:o,y:-n/2},{x:o-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}],i)}),"hexagonBkg"),M=(0,s.K2)((function(t,e,i){e.append("rect").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("height",i.height).attr("rx",i.padding).attr("ry",i.padding).attr("width",i.width)}),"roundedRectBkg"),x=(0,s.K2)((async function(t,e,i,o,s){const a=s.htmlLabels,h=o%11,l=e.append("g");i.section=h;let c="section-"+h;h<0&&(c+=" section-root"),l.attr("class",(i.class?i.class+" ":"")+"mindmap-node "+c);const g=l.append("g"),u=l.append("g"),d=i.descr.replace(/()/g,"\n");await(0,n.GZ)(u,d,{useHtmlLabels:a,width:i.width,classes:"mindmap-node-label"},s),a||u.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const p=u.node().getBBox(),[f]=(0,r.I5)(s.fontSize);if(i.height=p.height+1.1*f*.5+i.padding,i.width=p.width+2*i.padding,i.icon)if(i.type===t.nodeType.CIRCLE){i.height+=50,i.width+=50;l.append("foreignObject").attr("height","50px").attr("width",i.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+h+" "+i.icon),u.attr("transform","translate("+i.width/2+", "+(i.height/2-1.5*i.padding)+")")}else{i.width+=50;const t=i.height;i.height=Math.max(t,60);const e=Math.abs(i.height-t);l.append("foreignObject").attr("width","60px").attr("height",i.height).attr("style","text-align: center;margin-top:"+e/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+h+" "+i.icon),u.attr("transform","translate("+(25+i.width/2)+", "+(e/2+i.padding/2)+")")}else if(a){const t=(i.width-p.width)/2,e=(i.height-p.height)/2;u.attr("transform","translate("+t+", "+e+")")}else{const t=i.width/2,e=i.padding/2;u.attr("transform","translate("+t+", "+e+")")}switch(i.type){case t.nodeType.DEFAULT:T(t,g,i,h);break;case t.nodeType.ROUNDED_RECT:M(t,g,i,h);break;case t.nodeType.RECT:O(t,g,i,h);break;case t.nodeType.CIRCLE:g.attr("transform","translate("+i.width/2+", "+ +i.height/2+")"),w(t,g,i,h);break;case t.nodeType.CLOUD:D(t,g,i,h);break;case t.nodeType.BANG:I(t,g,i,h);break;case t.nodeType.HEXAGON:C(t,g,i,h)}return t.setElementForId(i.id,l),i.height}),"drawNode"),G=(0,s.K2)((function(t,e){const i=t.getElementById(e.id),n=e.x||0,r=e.y||0;i.attr("transform","translate("+n+","+r+")")}),"positionNode");async function S(t,e,i,n,r){await x(t,e,i,n,r),i.children&&await Promise.all(i.children.map(((i,o)=>S(t,e,i,n<0?o:n,r))))}function b(t,e){e.edges().map(((e,i)=>{const n=e.data();if(e[0]._private.bodyBounds){const r=e[0]._private.rscratch;s.Rm.trace("Edge: ",i,n),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-"+n.section+" edge-depth-"+n.depth)}}))}function F(t,e,i,n){e.add({group:"nodes",data:{id:t.id.toString(),labelText:t.descr,height:t.height,width:t.width,level:n,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach((r=>{F(r,e,i,n+1),e.add({group:"edges",data:{id:`${t.id}_${r.id}`,source:t.id,target:r.id,depth:n,section:r.section}})}))}function P(t,e){return new Promise((i=>{const n=(0,l.Ltv)("body").append("div").attr("id","cy").attr("style","display:none"),r=(0,a.A)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});n.remove(),F(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=>{s.Rm.info("Ready",t),i(r)}))}))}function U(t,e){e.nodes().map(((e,i)=>{const n=e.data();n.x=e.position().x,n.y=e.position().y,G(t,n);const r=t.getElementById(n.nodeId);s.Rm.info("Id:",i,"Position: (",e.position().x,", ",e.position().y,")",n),r.attr("transform",`translate(${e.position().x-n.width/2}, ${e.position().y-n.height/2})`),r.attr("attr",`apa-${i})`)}))}a.A.use(h),(0,s.K2)(S,"drawNodes"),(0,s.K2)(b,"drawEdges"),(0,s.K2)(F,"addNodes"),(0,s.K2)(P,"layoutMindmap"),(0,s.K2)(U,"positionNodes");var Y={draw:(0,s.K2)((async(t,e,i,n)=>{s.Rm.debug("Rendering mindmap diagram\n"+t);const r=n.db,a=r.getMindmap();if(!a)return;const h=(0,s.D7)();h.htmlLabels=!1;const l=(0,o.D)(e),c=l.append("g");c.attr("class","mindmap-edges");const g=l.append("g");g.attr("class","mindmap-nodes"),await S(r,g,a,-1,h);const u=await P(a,h);b(c,u),U(r,u),(0,s.ot)(void 0,l,h.mindmap?.padding??s.UI.mindmap.padding,h.mindmap?.useMaxWidth??s.UI.mindmap.useMaxWidth)}),"draw")},k=(0,s.K2)((t=>{let e="";for(let i=0;i`\n .edge {\n stroke-width: 3;\n }\n ${k(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 .mindmap-node-label {\n dy: 1em;\n alignment-baseline: middle;\n text-anchor: middle;\n dominant-baseline: middle;\n text-align: center;\n }\n`),"getStyles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/455d01c6.aea90293.js b/pr-preview/pr-4/assets/js/455d01c6.aea90293.js new file mode 100644 index 0000000..485f783 --- /dev/null +++ b/pr-preview/pr-4/assets/js/455d01c6.aea90293.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[143],{12868:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>n,metadata:()=>r,toc:()=>u});const r=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_blog_post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","source":"@site/docs/docusaurus/tutorial_basics/create_a_blog_post.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_blog_post","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_blog_post.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":3,"frontMatter":{"sidebar_position":3},"sidebar":"tutorialSidebar","previous":{"title":"Create a Document","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document"},"next":{"title":"Markdown Features","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features"}}');var a=s(74848),o=s(28453);const n={sidebar_position:3},i="Create a Blog Post",c={},u=[{value:"Create your first Post",id:"create-your-first-post",level:2}];function l(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"create-a-blog-post",children:"Create a Blog Post"})}),"\n",(0,a.jsxs)(t.p,{children:["Docusaurus creates a ",(0,a.jsx)(t.strong,{children:"page for each blog post"}),", but also a ",(0,a.jsx)(t.strong,{children:"blog index page"}),", a ",(0,a.jsx)(t.strong,{children:"tag system"}),", an ",(0,a.jsx)(t.strong,{children:"RSS"})," feed..."]}),"\n",(0,a.jsx)(t.h2,{id:"create-your-first-post",children:"Create your first Post"}),"\n",(0,a.jsxs)(t.p,{children:["Create a file at ",(0,a.jsx)(t.code,{children:"blog/2021-02-28-greetings.md"}),":"]}),"\n",(0,a.jsx)(t.pre,{children:(0,a.jsx)(t.code,{className:"language-md",metastring:'title="blog/2021-02-28-greetings.md"',children:"---\nslug: greetings\ntitle: Greetings!\nauthors:\n - name: Joel Marcey\n title: Co-creator of Docusaurus 1\n url: https://github.com/JoelMarcey\n image_url: https://github.com/JoelMarcey.png\n - name: S\xe9bastien Lorber\n title: Docusaurus maintainer\n url: https://sebastienlorber.com\n image_url: https://github.com/slorber.png\ntags: [greetings]\n---\n\nCongratulations, you have made your first post!\n\nFeel free to play around and edit this post as much as you like.\n"})}),"\n",(0,a.jsxs)(t.p,{children:["A new blog post is now available at ",(0,a.jsx)(t.a,{href:"http://localhost:3000/blog/greetings",children:"http://localhost:3000/blog/greetings"}),"."]})]})}function d(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}},28453:(e,t,s)=>{s.d(t,{R:()=>n,x:()=>i});var r=s(96540);const a={},o=r.createContext(a);function n(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:n(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/484.8846d316.js b/pr-preview/pr-4/assets/js/484.8846d316.js new file mode 100644 index 0000000..a0b72bc --- /dev/null +++ b/pr-preview/pr-4/assets/js/484.8846d316.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[484],{50484:(t,e,a)=>{a.d(e,{diagram:()=>L});var i,n=a(69664),r=(a(79972),a(79740),a(6396),a(5081),a(34483),a(52294),a(62392),a(86825),a(85039)),d=a(45567),s=a(20007),o=a(62334),g=a(697),p={},c=(0,d.K2)(((t,e)=>{p[t]=e}),"set"),h=(0,d.K2)((t=>p[t]),"get"),l=(0,d.K2)((()=>Object.keys(p)),"keys"),x=(0,d.K2)((()=>l().length),"size"),D={get:h,set:c,keys:l,size:x},u=(0,d.K2)((t=>t.append("circle").attr("class","start-state").attr("r",(0,d.D7)().state.sizeUnit).attr("cx",(0,d.D7)().state.padding+(0,d.D7)().state.sizeUnit).attr("cy",(0,d.D7)().state.padding+(0,d.D7)().state.sizeUnit)),"drawStartState"),f=(0,d.K2)((t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,d.D7)().state.textHeight).attr("class","divider").attr("x2",2*(0,d.D7)().state.textHeight).attr("y1",0).attr("y2",0)),"drawDivider"),y=(0,d.K2)(((t,e)=>{const a=t.append("text").attr("x",2*(0,d.D7)().state.padding).attr("y",(0,d.D7)().state.textHeight+2*(0,d.D7)().state.padding).attr("font-size",(0,d.D7)().state.fontSize).attr("class","state-title").text(e.id),i=a.node().getBBox();return t.insert("rect",":first-child").attr("x",(0,d.D7)().state.padding).attr("y",(0,d.D7)().state.padding).attr("width",i.width+2*(0,d.D7)().state.padding).attr("height",i.height+2*(0,d.D7)().state.padding).attr("rx",(0,d.D7)().state.radius),a}),"drawSimpleState"),w=(0,d.K2)(((t,e)=>{const a=(0,d.K2)((function(t,e,a){const i=t.append("tspan").attr("x",2*(0,d.D7)().state.padding).text(e);a||i.attr("dy",(0,d.D7)().state.textHeight)}),"addTspan"),i=t.append("text").attr("x",2*(0,d.D7)().state.padding).attr("y",(0,d.D7)().state.textHeight+1.3*(0,d.D7)().state.padding).attr("font-size",(0,d.D7)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),n=i.height,r=t.append("text").attr("x",(0,d.D7)().state.padding).attr("y",n+.4*(0,d.D7)().state.padding+(0,d.D7)().state.dividerMargin+(0,d.D7)().state.textHeight).attr("class","state-description");let s=!0,o=!0;e.descriptions.forEach((function(t){s||(a(r,t,o),o=!1),s=!1}));const g=t.append("line").attr("x1",(0,d.D7)().state.padding).attr("y1",(0,d.D7)().state.padding+n+(0,d.D7)().state.dividerMargin/2).attr("y2",(0,d.D7)().state.padding+n+(0,d.D7)().state.dividerMargin/2).attr("class","descr-divider"),p=r.node().getBBox(),c=Math.max(p.width,i.width);return g.attr("x2",c+3*(0,d.D7)().state.padding),t.insert("rect",":first-child").attr("x",(0,d.D7)().state.padding).attr("y",(0,d.D7)().state.padding).attr("width",c+2*(0,d.D7)().state.padding).attr("height",p.height+n+2*(0,d.D7)().state.padding).attr("rx",(0,d.D7)().state.radius),t}),"drawDescrState"),m=(0,d.K2)(((t,e,a)=>{const i=(0,d.D7)().state.padding,n=2*(0,d.D7)().state.padding,r=t.node().getBBox(),s=r.width,o=r.x,g=t.append("text").attr("x",0).attr("y",(0,d.D7)().state.titleShift).attr("font-size",(0,d.D7)().state.fontSize).attr("class","state-title").text(e.id),p=g.node().getBBox().width+n;let c,h=Math.max(p,s);h===s&&(h+=n);const l=t.node().getBBox();e.doc,c=o-i,p>s&&(c=(s-h)/2+i),Math.abs(o-l.x)s&&(c=o-(p-s)/2);const x=1-(0,d.D7)().state.textHeight;return t.insert("rect",":first-child").attr("x",c).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",l.height+(0,d.D7)().state.textHeight+(0,d.D7)().state.titleShift+1).attr("rx","0"),g.attr("x",c+i),p<=s&&g.attr("x",o+(h-n)/2-p/2+i),t.insert("rect",":first-child").attr("x",c).attr("y",(0,d.D7)().state.titleShift-(0,d.D7)().state.textHeight-(0,d.D7)().state.padding).attr("width",h).attr("height",3*(0,d.D7)().state.textHeight).attr("rx",(0,d.D7)().state.radius),t.insert("rect",":first-child").attr("x",c).attr("y",(0,d.D7)().state.titleShift-(0,d.D7)().state.textHeight-(0,d.D7)().state.padding).attr("width",h).attr("height",l.height+3+2*(0,d.D7)().state.textHeight).attr("rx",(0,d.D7)().state.radius),t}),"addTitleAndBox"),b=(0,d.K2)((t=>(t.append("circle").attr("class","end-state-outer").attr("r",(0,d.D7)().state.sizeUnit+(0,d.D7)().state.miniPadding).attr("cx",(0,d.D7)().state.padding+(0,d.D7)().state.sizeUnit+(0,d.D7)().state.miniPadding).attr("cy",(0,d.D7)().state.padding+(0,d.D7)().state.sizeUnit+(0,d.D7)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,d.D7)().state.sizeUnit).attr("cx",(0,d.D7)().state.padding+(0,d.D7)().state.sizeUnit+2).attr("cy",(0,d.D7)().state.padding+(0,d.D7)().state.sizeUnit+2))),"drawEndState"),B=(0,d.K2)(((t,e)=>{let a=(0,d.D7)().state.forkWidth,i=(0,d.D7)().state.forkHeight;if(e.parentId){let t=a;a=i,i=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",i).attr("x",(0,d.D7)().state.padding).attr("y",(0,d.D7)().state.padding)}),"drawForkJoinState"),k=(0,d.K2)(((t,e,a,i)=>{let n=0;const r=i.append("text");r.style("text-anchor","start"),r.attr("class","noteText");let s=t.replace(/\r\n/g,"
    ");s=s.replace(/\n/g,"
    ");const o=s.split(d.Y2.lineBreakRegex);let g=1.25*(0,d.D7)().state.noteMargin;for(const p of o){const t=p.trim();if(t.length>0){const i=r.append("tspan");if(i.text(t),0===g){g+=i.node().getBBox().height}n+=g,i.attr("x",e+(0,d.D7)().state.noteMargin),i.attr("y",a+n+1.25*(0,d.D7)().state.noteMargin)}}return{textWidth:r.node().getBBox().width,textHeight:n}}),"_drawLongText"),S=(0,d.K2)(((t,e)=>{e.attr("class","state-note");const a=e.append("rect").attr("x",0).attr("y",(0,d.D7)().state.padding),i=e.append("g"),{textWidth:n,textHeight:r}=k(t,0,0,i);return a.attr("height",r+2*(0,d.D7)().state.noteMargin),a.attr("width",n+2*(0,d.D7)().state.noteMargin),a}),"drawNote"),N=(0,d.K2)((function(t,e){const a=e.id,i={id:a,label:e.id,width:0,height:0},n=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&u(n),"end"===e.type&&b(n),"fork"!==e.type&&"join"!==e.type||B(n,e),"note"===e.type&&S(e.note.text,n),"divider"===e.type&&f(n),"default"===e.type&&0===e.descriptions.length&&y(n,e),"default"===e.type&&e.descriptions.length>0&&w(n,e);const r=n.node().getBBox();return i.width=r.width+2*(0,d.D7)().state.padding,i.height=r.height+2*(0,d.D7)().state.padding,D.set(a,i),i}),"drawState"),E=0,K=(0,d.K2)((function(t,e,a){const i=(0,d.K2)((function(t){switch(t){case n.iP.relationType.AGGREGATION:return"aggregation";case n.iP.relationType.EXTENSION:return"extension";case n.iP.relationType.COMPOSITION:return"composition";case n.iP.relationType.DEPENDENCY:return"dependency"}}),"getRelationType");e.points=e.points.filter((t=>!Number.isNaN(t.y)));const o=e.points,g=(0,s.n8j)().x((function(t){return t.x})).y((function(t){return t.y})).curve(s.qrM),p=t.append("path").attr("d",g(o)).attr("id","edge"+E).attr("class","transition");let c="";if((0,d.D7)().state.arrowMarkerAbsolute&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=c.replace(/\(/g,"\\("),c=c.replace(/\)/g,"\\)")),p.attr("marker-end","url("+c+"#"+i(n.iP.relationType.DEPENDENCY)+"End)"),void 0!==a.title){const i=t.append("g").attr("class","stateLabel"),{x:n,y:s}=r._K.calcLabelPosition(e.points),o=d.Y2.getRows(a.title);let g=0;const p=[];let c=0,h=0;for(let t=0;t<=o.length;t++){const e=i.append("text").attr("text-anchor","middle").text(o[t]).attr("x",n).attr("y",s+g),a=e.node().getBBox();if(c=Math.max(c,a.width),h=Math.min(h,a.x),d.Rm.info(a.x,n,s+g),0===g){const t=e.node().getBBox();g=t.height,d.Rm.info("Title height",g,s)}p.push(e)}let l=g*o.length;if(o.length>1){const t=(o.length-1)*g*.5;p.forEach(((e,a)=>e.attr("y",s+a*g-t))),l=g*o.length}const x=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",n-c/2-(0,d.D7)().state.padding/2).attr("y",s-l/2-(0,d.D7)().state.padding/2-3.5).attr("width",c+(0,d.D7)().state.padding).attr("height",l+(0,d.D7)().state.padding),d.Rm.info(x)}E++}),"drawEdge"),M={},v=(0,d.K2)((function(){}),"setConf"),R=(0,d.K2)((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")}),"insertMarkers"),z=(0,d.K2)((function(t,e,a,n){i=(0,d.D7)().state;const r=(0,d.D7)().securityLevel;let o;"sandbox"===r&&(o=(0,s.Ltv)("#i"+e));const g="sandbox"===r?(0,s.Ltv)(o.nodes()[0].contentDocument.body):(0,s.Ltv)("body"),p="sandbox"===r?o.nodes()[0].contentDocument:document;d.Rm.debug("Rendering diagram "+t);const c=g.select(`[id='${e}']`);R(c);const h=n.db.getRootDoc();T(h,c,void 0,!1,g,p,n);const l=i.padding,x=c.node().getBBox(),D=x.width+2*l,u=x.height+2*l,f=1.75*D;(0,d.a$)(c,u,f,i.useMaxWidth),c.attr("viewBox",`${x.x-i.padding} ${x.y-i.padding} `+D+" "+u)}),"draw"),H=(0,d.K2)((t=>t?t.length*i.fontSizeFactor:1),"getLabelWidth"),T=(0,d.K2)(((t,e,a,n,r,s,p)=>{const c=new g.T({compound:!0,multigraph:!0});let h,l=!0;for(h=0;h{const e=t.parentElement;let a=0,i=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),i=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(i)&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",a-i-8)}))}else d.Rm.debug("No Node "+t+": "+JSON.stringify(c.node(t)))}));let w=y.getBBox();c.edges().forEach((function(t){void 0!==t&&void 0!==c.edge(t)&&(d.Rm.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(c.edge(t))),K(e,c.edge(t),c.edge(t).relation))})),w=y.getBBox();const b={id:a||"root",label:a||"root",width:0,height:0};return b.width=w.width+2*i.padding,b.height=w.height+2*i.padding,d.Rm.debug("Doc rendered",b,c),b}),"renderDoc"),P={setConf:v,draw:z},L={parser:n.Zk,db:n.iP,renderer:P,styles:n.tM,init:(0,d.K2)((t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,n.iP.clear()}),"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/5187c925.f17695ed.js b/pr-preview/pr-4/assets/js/5187c925.f17695ed.js new file mode 100644 index 0000000..5efbf8a --- /dev/null +++ b/pr-preview/pr-4/assets/js/5187c925.f17695ed.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[3929],{22265:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>h,frontMatter:()=>o,metadata:()=>i,toc:()=>d});const i=JSON.parse('{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","source":"@site/docs/spec/formatting.md","sourceDirName":"spec","slug":"/spec/formatting","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/formatting","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/formatting.md","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1731109362000,"sidebarPosition":1,"frontMatter":{"id":"formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","sidebar_position":1,"tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Terminology","permalink":"/nr-pies/pr-preview/pr-4/docs/intro/terminology"},"next":{"title":"Data Types","permalink":"/nr-pies/pr-preview/pr-4/docs/category/data-types"}}');var r=n(74848),s=n(28453);const o={id:"formatting",title:"Formatting",description:"The syntax, encoding and file format used by PIES",sidebar_position:1,tags:["developer"]},a=void 0,c={},d=[{value:"JSON Schema Primer",id:"json-schema-primer",level:2},{value:"References",id:"references",level:2}];function l(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["Every data standard must have a core set of fundamental data types that content will be transmitted in. Since the\nPermitting Interoperability Exchange Specification is built on top of the ",(0,r.jsx)(t.a,{href:"https://json-schema.org/",children:"JSON Schema"}),"\nstandard, it will leverage the conventions specified in that standard, including\n",(0,r.jsx)(t.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," which defines JSON. The PIES specification will be compliant\nto the ",(0,r.jsx)(t.code,{children:"draft 07"})," specification of the JSON Schema standard. While there exists more recent draft versions, notably the\n",(0,r.jsx)(t.code,{children:"draft 2020-12"})," standard, features that were introduced after ",(0,r.jsx)(t.code,{children:"draft 07"})," will not be defined and used at this time in\norder to maximize compatibility with implementor systems."]}),"\n",(0,r.jsx)(t.h2,{id:"json-schema-primer",children:"JSON Schema Primer"}),"\n",(0,r.jsx)(t.p,{children:"A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way\nto explicitly define the structural expectations for a specific type of document. While JSON Schema is good for\ndescribing expected structures, describing conceptual relationships between related topics and domains"}),"\n",(0,r.jsx)(t.p,{children:"A JSON Schema will typically contain the following attributes:"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$schema"})," - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be ",(0,r.jsx)(t.code,{children:"https://json-schema.org/draft-07/schema"}),"."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$id"})," - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$comment"})," - A free text field for conveying out of band information about the schema. Comments are useful for\nspecification readers and editors to understand further nuances for certain properties and structures, but should not\nbe relied upon for implementation as they may be skipped over or stripped when parsed by machines."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"title"})," - The intent of the schema. This should be brief and concise."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"description"})," - A brief description about the schema. This should provide a quick overview for the context of usage."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"properties"})," - A set of attributes that are expected to show up in this document type."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"required"})," - An array defining the set of ",(0,r.jsx)(t.code,{children:"properties"})," that must be present for the document to be considered valid.\nAnything defined that is not in this array is implied to be optional."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"type"})," - The type primitive constraint for the property."]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://json-schema.org/draft-07",children:"Draft 07"})}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," (JSON)"]}),"\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://ajv.js.org/guide/schema-language.html#json-schema",children:"JSON Schema Version Comparison"})}),"\n"]})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},28453:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>a});var i=n(96540);const r={},s=i.createContext(r);function o(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/54329717.92822be8.js b/pr-preview/pr-4/assets/js/54329717.92822be8.js new file mode 100644 index 0000000..77f5aee --- /dev/null +++ b/pr-preview/pr-4/assets/js/54329717.92822be8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2687],{60232:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>c,contentTitle:()=>i,default:()=>u,frontMatter:()=>o,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_document","title":"Create a Document","description":"Documents are groups of pages connected through:","source":"@site/docs/docusaurus/tutorial_basics/create_a_document.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_document","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_document.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Create a Page","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page"},"next":{"title":"Create a Blog Post","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post"}}');var n=t(74848),a=t(28453);const o={sidebar_position:2},i="Create a Document",c={},l=[{value:"Create your first Doc",id:"create-your-first-doc",level:2},{value:"Configure the Sidebar",id:"configure-the-sidebar",level:2}];function d(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.header,{children:(0,n.jsx)(s.h1,{id:"create-a-document",children:"Create a Document"})}),"\n",(0,n.jsxs)(s.p,{children:["Documents are ",(0,n.jsx)(s.strong,{children:"groups of pages"})," connected through:"]}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["a ",(0,n.jsx)(s.strong,{children:"sidebar"})]}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.strong,{children:"previous/next navigation"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.strong,{children:"versioning"})}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"create-your-first-doc",children:"Create your first Doc"}),"\n",(0,n.jsxs)(s.p,{children:["Create a Markdown file at ",(0,n.jsx)(s.code,{children:"docs/hello.md"}),":"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-md",metastring:'title="docs/hello.md"',children:"# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,n.jsxs)(s.p,{children:["A new document is now available at ",(0,n.jsx)(s.a,{href:"http://localhost:3000/docs/hello",children:"http://localhost:3000/docs/hello"}),"."]}),"\n",(0,n.jsx)(s.h2,{id:"configure-the-sidebar",children:"Configure the Sidebar"}),"\n",(0,n.jsxs)(s.p,{children:["Docusaurus automatically ",(0,n.jsx)(s.strong,{children:"creates a sidebar"})," from the ",(0,n.jsx)(s.code,{children:"docs"})," folder."]}),"\n",(0,n.jsx)(s.p,{children:"Add metadata to customize the sidebar label and position:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-md",metastring:'title="docs/hello.md" {1-4}',children:"---\nsidebar_label: 'Hi!'\nsidebar_position: 3\n---\n\n# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,n.jsxs)(s.p,{children:["It is also possible to create your sidebar explicitly in ",(0,n.jsx)(s.code,{children:"sidebars.js"}),":"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-js",metastring:'title="sidebars.js"',children:"export default {\n tutorialSidebar: [\n 'intro',\n // highlight-next-line\n 'hello',\n {\n type: 'category',\n label: 'Tutorial',\n items: ['tutorial_basics/create-a-document']\n }\n ]\n};\n"})})]})}function u(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},28453:(e,s,t)=>{t.d(s,{R:()=>o,x:()=>i});var r=t(96540);const n={},a=r.createContext(n);function o(e){const s=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),r.createElement(a.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/5606.fd9bf99f.js b/pr-preview/pr-4/assets/js/5606.fd9bf99f.js new file mode 100644 index 0000000..bd05f9b --- /dev/null +++ b/pr-preview/pr-4/assets/js/5606.fd9bf99f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[5606],{65606:(r,s,e)=>{e.d(s,{diagram:()=>i});var a=e(96790),l=(e(79972),e(79740),e(6396),e(5081),e(34483),e(52294),e(62392),e(86825),e(85039),e(45567)),i={parser:a._$,db:a.z2,renderer:a.Lh,styles:a.tM,init:(0,l.K2)((r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.z2.clear()}),"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/5e95c892.acbc3991.js b/pr-preview/pr-4/assets/js/5e95c892.acbc3991.js new file mode 100644 index 0000000..da7335f --- /dev/null +++ b/pr-preview/pr-4/assets/js/5e95c892.acbc3991.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[9647],{7121:(e,s,r)=>{r.r(s),r.d(s,{default:()=>i});r(96540);var n=r(34164),u=r(1003),a=r(17559),c=r(22831),p=r(24837),t=r(74848);function i(e){return(0,t.jsx)(u.e3,{className:(0,n.A)(a.G.wrapper.docsPages),children:(0,t.jsx)(p.A,{children:(0,c.v)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/6452.bace0bcc.js b/pr-preview/pr-4/assets/js/6452.bace0bcc.js new file mode 100644 index 0000000..235659c --- /dev/null +++ b/pr-preview/pr-4/assets/js/6452.bace0bcc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[6452],{6452:(e,s,c)=>{c.d(s,{createPacketServices:()=>r.$});var r=c(71609);c(19369)}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/6790.d5dab092.js b/pr-preview/pr-4/assets/js/6790.d5dab092.js new file mode 100644 index 0000000..799cc4b --- /dev/null +++ b/pr-preview/pr-4/assets/js/6790.d5dab092.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[6790],{96790:(t,e,s)=>{s.d(e,{Lh:()=>ot,_$:()=>l,tM:()=>at,z2:()=>ut});var n=s(79972),i=s(79740),u=s(85039),a=s(45567),r=s(20007),o=function(){var t=(0,a.K2)((function(t,e,s,n){for(s=s||{},n=t.length;n--;s[t[n]]=e);return s}),"o"),e=[1,18],s=[1,19],n=[1,20],i=[1,41],u=[1,42],r=[1,26],o=[1,24],l=[1,25],c=[1,32],h=[1,33],p=[1,34],d=[1,45],A=[1,35],y=[1,36],g=[1,37],m=[1,38],C=[1,27],f=[1,28],E=[1,29],b=[1,30],k=[1,31],T=[1,44],D=[1,46],F=[1,43],B=[1,47],_=[1,9],S=[1,8,9],N=[1,58],L=[1,59],$=[1,60],x=[1,61],O=[1,62],v=[1,63],I=[1,64],K=[1,8,9,41],w=[1,76],R=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],P=[1,8,9,12,13,17,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],M=[13,58,84,99,101,102],G=[13,58,71,72,84,99,101,102],U=[13,58,66,67,68,69,70,84,99,101,102],Y=[1,98],z=[1,115],Q=[1,107],W=[1,113],X=[1,108],j=[1,109],V=[1,110],q=[1,111],H=[1,112],J=[1,114],Z=[22,58,59,80,84,85,86,87,88,89],tt=[1,8,9,39,41,44],et=[1,8,9,22],st=[1,143],nt=[1,8,9,59],it=[1,8,9,22,58,59,80,84,85,86,87,88,89],ut={trace:(0,a.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[19,1],[53,1]],performAction:(0,a.K2)((function(t,e,s,n,i,u,a){var r=u.length-1;switch(i){case 8:this.$=u[r-1];break;case 9:case 12:case 14:this.$=u[r];break;case 10:case 13:this.$=u[r-2]+"."+u[r];break;case 11:case 15:case 95:this.$=u[r-1]+u[r];break;case 16:case 17:this.$=u[r-1]+"~"+u[r]+"~";break;case 18:n.addRelation(u[r]);break;case 19:u[r-1].title=n.cleanupLabel(u[r]),n.addRelation(u[r-1]);break;case 30:this.$=u[r].trim(),n.setAccTitle(this.$);break;case 31:case 32:this.$=u[r].trim(),n.setAccDescription(this.$);break;case 33:n.addClassesToNamespace(u[r-3],u[r-1]);break;case 34:n.addClassesToNamespace(u[r-4],u[r-1]);break;case 35:this.$=u[r],n.addNamespace(u[r]);break;case 36:case 46:case 59:case 92:this.$=[u[r]];break;case 37:this.$=[u[r-1]];break;case 38:u[r].unshift(u[r-2]),this.$=u[r];break;case 40:n.setCssClass(u[r-2],u[r]);break;case 41:n.addMembers(u[r-3],u[r-1]);break;case 42:n.setCssClass(u[r-5],u[r-3]),n.addMembers(u[r-5],u[r-1]);break;case 43:this.$=u[r],n.addClass(u[r]);break;case 44:this.$=u[r-1],n.addClass(u[r-1]),n.setClassLabel(u[r-1],u[r]);break;case 45:n.addAnnotation(u[r],u[r-2]);break;case 47:u[r].push(u[r-1]),this.$=u[r];break;case 48:case 50:case 51:break;case 49:n.addMember(u[r-1],n.cleanupLabel(u[r]));break;case 52:this.$={id1:u[r-2],id2:u[r],relation:u[r-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:u[r-3],id2:u[r],relation:u[r-1],relationTitle1:u[r-2],relationTitle2:"none"};break;case 54:this.$={id1:u[r-3],id2:u[r],relation:u[r-2],relationTitle1:"none",relationTitle2:u[r-1]};break;case 55:this.$={id1:u[r-4],id2:u[r],relation:u[r-2],relationTitle1:u[r-3],relationTitle2:u[r-1]};break;case 56:n.addNote(u[r],u[r-1]);break;case 57:n.addNote(u[r]);break;case 58:this.$=u[r-2],n.defineClass(u[r-1],u[r]);break;case 60:this.$=u[r-2].concat([u[r]]);break;case 61:n.setDirection("TB");break;case 62:n.setDirection("BT");break;case 63:n.setDirection("RL");break;case 64:n.setDirection("LR");break;case 65:this.$={type1:u[r-2],type2:u[r],lineType:u[r-1]};break;case 66:this.$={type1:"none",type2:u[r],lineType:u[r-1]};break;case 67:this.$={type1:u[r-1],type2:"none",lineType:u[r]};break;case 68:this.$={type1:"none",type2:"none",lineType:u[r]};break;case 69:this.$=n.relationType.AGGREGATION;break;case 70:this.$=n.relationType.EXTENSION;break;case 71:this.$=n.relationType.COMPOSITION;break;case 72:this.$=n.relationType.DEPENDENCY;break;case 73:this.$=n.relationType.LOLLIPOP;break;case 74:this.$=n.lineType.LINE;break;case 75:this.$=n.lineType.DOTTED_LINE;break;case 76:case 82:this.$=u[r-2],n.setClickEvent(u[r-1],u[r]);break;case 77:case 83:this.$=u[r-3],n.setClickEvent(u[r-2],u[r-1]),n.setTooltip(u[r-2],u[r]);break;case 78:this.$=u[r-2],n.setLink(u[r-1],u[r]);break;case 79:this.$=u[r-3],n.setLink(u[r-2],u[r-1],u[r]);break;case 80:this.$=u[r-3],n.setLink(u[r-2],u[r-1]),n.setTooltip(u[r-2],u[r]);break;case 81:this.$=u[r-4],n.setLink(u[r-3],u[r-2],u[r]),n.setTooltip(u[r-3],u[r-1]);break;case 84:this.$=u[r-3],n.setClickEvent(u[r-2],u[r-1],u[r]);break;case 85:this.$=u[r-4],n.setClickEvent(u[r-3],u[r-2],u[r-1]),n.setTooltip(u[r-3],u[r]);break;case 86:this.$=u[r-3],n.setLink(u[r-2],u[r]);break;case 87:this.$=u[r-4],n.setLink(u[r-3],u[r-1],u[r]);break;case 88:this.$=u[r-4],n.setLink(u[r-3],u[r-1]),n.setTooltip(u[r-3],u[r]);break;case 89:this.$=u[r-5],n.setLink(u[r-4],u[r-2],u[r]),n.setTooltip(u[r-4],u[r-1]);break;case 90:this.$=u[r-2],n.setCssStyle(u[r-1],u[r]);break;case 91:n.setCssClass(u[r-1],u[r]);break;case 93:u[r-2].push(u[r]),this.$=u[r-2]}}),"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:s,37:n,38:22,42:i,43:23,46:u,47:r,49:o,50:l,52:c,54:h,55:p,58:d,60:A,61:y,62:g,63:m,73:C,74:f,76:E,80:b,81:k,84:T,99:D,101:F,102:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(_,[2,5],{8:[1,48]}),{8:[1,49]},t(S,[2,18],{22:[1,50]}),t(S,[2,20]),t(S,[2,21]),t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),t(S,[2,26]),t(S,[2,27]),t(S,[2,28]),t(S,[2,29]),{34:[1,51]},{36:[1,52]},t(S,[2,32]),t(S,[2,48],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:N,67:L,68:$,69:x,70:O,71:v,72:I}),{39:[1,65]},t(K,[2,39],{39:[1,67],44:[1,66]}),t(S,[2,50]),t(S,[2,51]),{16:68,58:d,84:T,99:D,101:F},{16:39,18:69,19:40,58:d,84:T,99:D,101:F,102:B},{16:39,18:70,19:40,58:d,84:T,99:D,101:F,102:B},{16:39,18:71,19:40,58:d,84:T,99:D,101:F,102:B},{58:[1,72]},{13:[1,73]},{16:39,18:74,19:40,58:d,84:T,99:D,101:F,102:B},{13:w,53:75},{56:77,58:[1,78]},t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),t(S,[2,64]),t(R,[2,12],{16:39,19:40,18:80,17:[1,79],20:[1,81],58:d,84:T,99:D,101:F,102:B}),t(R,[2,14],{20:[1,82]}),{15:83,16:84,58:d,84:T,99:D,101:F},{16:39,18:85,19:40,58:d,84:T,99:D,101:F,102:B},t(P,[2,118]),t(P,[2,119]),t(P,[2,120]),t(P,[2,121]),t([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,122]),t(_,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,18:21,38:22,43:23,16:39,19:40,5:86,33:e,35:s,37:n,42:i,46:u,47:r,49:o,50:l,52:c,54:h,55:p,58:d,60:A,61:y,62:g,63:m,73:C,74:f,76:E,80:b,81:k,84:T,99:D,101:F,102:B}),{5:87,10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:s,37:n,38:22,42:i,43:23,46:u,47:r,49:o,50:l,52:c,54:h,55:p,58:d,60:A,61:y,62:g,63:m,73:C,74:f,76:E,80:b,81:k,84:T,99:D,101:F,102:B},t(S,[2,19]),t(S,[2,30]),t(S,[2,31]),{13:[1,89],16:39,18:88,19:40,58:d,84:T,99:D,101:F,102:B},{51:90,64:56,65:57,66:N,67:L,68:$,69:x,70:O,71:v,72:I},t(S,[2,49]),{65:91,71:v,72:I},t(M,[2,68],{64:92,66:N,67:L,68:$,69:x,70:O}),t(G,[2,69]),t(G,[2,70]),t(G,[2,71]),t(G,[2,72]),t(G,[2,73]),t(U,[2,74]),t(U,[2,75]),{8:[1,94],24:95,40:93,43:23,46:u},{16:96,58:d,84:T,99:D,101:F},{45:97,49:Y},{48:[1,99]},{13:[1,100]},{13:[1,101]},{77:[1,102],79:[1,103]},{22:z,57:104,58:Q,80:W,82:105,83:106,84:X,85:j,86:V,87:q,88:H,89:J},{58:[1,116]},{13:w,53:117},t(S,[2,57]),t(S,[2,123]),{22:z,57:118,58:Q,59:[1,119],80:W,82:105,83:106,84:X,85:j,86:V,87:q,88:H,89:J},t(Z,[2,59]),{16:39,18:120,19:40,58:d,84:T,99:D,101:F,102:B},t(R,[2,15]),t(R,[2,16]),t(R,[2,17]),{39:[2,35]},{15:122,16:84,17:[1,121],39:[2,9],58:d,84:T,99:D,101:F},t(tt,[2,43],{11:123,12:[1,124]}),t(_,[2,7]),{9:[1,125]},t(et,[2,52]),{16:39,18:126,19:40,58:d,84:T,99:D,101:F,102:B},{13:[1,128],16:39,18:127,19:40,58:d,84:T,99:D,101:F,102:B},t(M,[2,67],{64:129,66:N,67:L,68:$,69:x,70:O}),t(M,[2,66]),{41:[1,130]},{24:95,40:131,43:23,46:u},{8:[1,132],41:[2,36]},t(K,[2,40],{39:[1,133]}),{41:[1,134]},{41:[2,46],45:135,49:Y},{16:39,18:136,19:40,58:d,84:T,99:D,101:F,102:B},t(S,[2,76],{13:[1,137]}),t(S,[2,78],{13:[1,139],75:[1,138]}),t(S,[2,82],{13:[1,140],78:[1,141]}),{13:[1,142]},t(S,[2,90],{59:st}),t(nt,[2,92],{83:144,22:z,58:Q,80:W,84:X,85:j,86:V,87:q,88:H,89:J}),t(it,[2,94]),t(it,[2,96]),t(it,[2,97]),t(it,[2,98]),t(it,[2,99]),t(it,[2,100]),t(it,[2,101]),t(it,[2,102]),t(it,[2,103]),t(it,[2,104]),t(S,[2,91]),t(S,[2,56]),t(S,[2,58],{59:st}),{58:[1,145]},t(R,[2,13]),{15:146,16:84,58:d,84:T,99:D,101:F},{39:[2,11]},t(tt,[2,44]),{13:[1,147]},{1:[2,4]},t(et,[2,54]),t(et,[2,53]),{16:39,18:148,19:40,58:d,84:T,99:D,101:F,102:B},t(M,[2,65]),t(S,[2,33]),{41:[1,149]},{24:95,40:150,41:[2,37],43:23,46:u},{45:151,49:Y},t(K,[2,41]),{41:[2,47]},t(S,[2,45]),t(S,[2,77]),t(S,[2,79]),t(S,[2,80],{75:[1,152]}),t(S,[2,83]),t(S,[2,84],{13:[1,153]}),t(S,[2,86],{13:[1,155],75:[1,154]}),{22:z,58:Q,80:W,82:156,83:106,84:X,85:j,86:V,87:q,88:H,89:J},t(it,[2,95]),t(Z,[2,60]),{39:[2,10]},{14:[1,157]},t(et,[2,55]),t(S,[2,34]),{41:[2,38]},{41:[1,158]},t(S,[2,81]),t(S,[2,85]),t(S,[2,87]),t(S,[2,88],{75:[1,159]}),t(nt,[2,93],{83:144,22:z,58:Q,80:W,84:X,85:j,86:V,87:q,88:H,89:J}),t(tt,[2,8]),t(K,[2,42]),t(S,[2,89])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,35],122:[2,11],125:[2,4],135:[2,47],146:[2,10],150:[2,38]},parseError:(0,a.K2)((function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)}),"parseError"),parse:(0,a.K2)((function(t){var e=this,s=[0],n=[],i=[null],u=[],r=this.table,o="",l=0,c=0,h=0,p=u.slice.call(arguments,1),d=Object.create(this.lexer),A={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(A.yy[y]=this.yy[y]);d.setInput(t,A.yy),A.yy.lexer=d,A.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;u.push(g);var m=d.options&&d.options.ranges;function C(){var t;return"number"!=typeof(t=n.pop()||d.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof A.yy.parseError?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,a.K2)((function(t){s.length=s.length-2*t,i.length=i.length-t,u.length=u.length-t}),"popStack"),(0,a.K2)(C,"lex");for(var f,E,b,k,T,D,F,B,_,S={};;){if(b=s[s.length-1],this.defaultActions[b]?k=this.defaultActions[b]:(null==f&&(f=C()),k=r[b]&&r[b][f]),void 0===k||!k.length||!k[0]){var N="";for(D in _=[],r[b])this.terminals_[D]&&D>2&&_.push("'"+this.terminals_[D]+"'");N=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(N,{text:d.match,token:this.terminals_[f]||f,line:d.yylineno,loc:g,expected:_})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+f);switch(k[0]){case 1:s.push(f),i.push(d.yytext),u.push(d.yylloc),s.push(k[1]),f=null,E?(f=E,E=null):(c=d.yyleng,o=d.yytext,l=d.yylineno,g=d.yylloc,h>0&&h--);break;case 2:if(F=this.productions_[k[1]][1],S.$=i[i.length-F],S._$={first_line:u[u.length-(F||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(F||1)].first_column,last_column:u[u.length-1].last_column},m&&(S._$.range=[u[u.length-(F||1)].range[0],u[u.length-1].range[1]]),void 0!==(T=this.performAction.apply(S,[o,c,l,A.yy,k[1],i,u].concat(p))))return T;F&&(s=s.slice(0,-1*F*2),i=i.slice(0,-1*F),u=u.slice(0,-1*F)),s.push(this.productions_[k[1]][0]),i.push(S.$),u.push(S._$),B=r[s[s.length-2]][s[s.length-1]],s.push(B);break;case 3:return!0}}return!0}),"parse")},at=function(){return{EOF:1,parseError:(0,a.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,a.K2)((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}),"setInput"),input:(0,a.K2)((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}),"input"),unput:(0,a.K2)((function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===n.length?this.yylloc.first_column:0)+n[n.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,a.K2)((function(){return this._more=!0,this}),"more"),reject:(0,a.K2)((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})}),"reject"),less:(0,a.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,a.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,a.K2)((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,"")}),"upcomingInput"),showPosition:(0,a.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,a.K2)((function(t,e){var s,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var u in i)this[u]=i[u];return!1}return!1}),"test_match"),next:(0,a.K2)((function(){if(this.done)return this.EOF;var t,e,s,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),u=0;ue[0].length)){if(e=s,n=u,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,i[u])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,a.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,a.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,a.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,a.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,a.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,a.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,a.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{},performAction:(0,a.K2)((function(t,e,s,n){switch(s){case 0:return 60;case 1:return 61;case 2:return 62;case 3:return 63;case 4:case 5:case 14:case 31:case 36:case 40:case 47:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 58:case 61:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 35:return 8;case 15:case 16:return 7;case 17:case 37:case 45:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 77;case 23:return 78;case 25:return"STR";case 26:this.begin("string");break;case 27:return 80;case 28:return 55;case 29:return this.begin("namespace"),42;case 30:case 39:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:case 43:return this.popState(),41;case 34:case 44:return"EOF_IN_STRUCT";case 38:return this.begin("class"),46;case 41:return this.popState(),this.popState(),41;case 42:return this.begin("class-body"),39;case 46:return"OPEN_IN_STRUCT";case 48:return"MEMBER";case 49:return 81;case 50:return 73;case 51:return 74;case 52:return 76;case 53:return 52;case 54:return 54;case 55:return 47;case 56:return 48;case 57:return 79;case 59:return"GENERICTYPE";case 60:this.begin("generic");break;case 62:return"BQUOTE_STR";case 63:this.begin("bqstring");break;case 64:case 65:case 66:case 67:return 75;case 68:case 69:return 67;case 70:case 71:return 69;case 72:return 68;case 73:return 66;case 74:return 70;case 75:return 71;case 76:return 72;case 77:return 22;case 78:return 44;case 79:return 99;case 80:return 17;case 81:return"PLUS";case 82:return 85;case 83:return 59;case 84:case 85:return 88;case 86:return 89;case 87:case 88:return"EQUALS";case 89:return 58;case 90:return 12;case 91:return 14;case 92:return"PUNCTUATION";case 93:return 84;case 94:return 101;case 95:case 96:return 87;case 97:return 9}}),"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}}}();function rt(){this.yy={}}return ut.lexer=at,(0,a.K2)(rt,"Parser"),rt.prototype=ut,ut.Parser=rt,new rt}();o.parser=o;var l=o,c=["#","+","~","-",""],h=class{static{(0,a.K2)(this,"ClassMember")}constructor(t,e){this.memberType=e,this.visibility="",this.classifier="",this.text="";const s=(0,a.jZ)(t,(0,a.D7)());this.parseMember(s)}getDisplayDetails(){let t=this.visibility+(0,a.QO)(this.id);"method"===this.memberType&&(t+=`(${(0,a.QO)(this.parameters.trim())})`,this.returnType&&(t+=" : "+(0,a.QO)(this.returnType))),t=t.trim();return{displayText:t,cssStyle:this.parseClassifier()}}parseMember(t){let e="";if("method"===this.memberType){const s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(t);if(s){const t=s[1]?s[1].trim():"";if(c.includes(t)&&(this.visibility=t),this.id=s[2],this.parameters=s[3]?s[3].trim():"",e=s[4]?s[4].trim():"",this.returnType=s[5]?s[5].trim():"",""===e){const t=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(t)&&(e=t,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const s=t.length,n=t.substring(0,1),i=t.substring(s-1);c.includes(n)&&(this.visibility=n),/[$*]/.exec(i)&&(e=i),this.id=t.substring(""===this.visibility?0:1,""===e?s:s-1)}this.classifier=e,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();const s=`${this.visibility?"\\"+this.visibility:""}${(0,a.QO)(this.id)}${"method"===this.memberType?`(${(0,a.QO)(this.parameters)})${this.returnType?" : "+(0,a.QO)(this.returnType):""}`:""}`;this.text=s.replaceAll("<","<").replaceAll(">",">"),this.text.startsWith("\\<")&&(this.text=this.text.replace("\\<","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},p="classId-",d=[],A=new Map,y=new Map,g=[],m=[],C=0,f=new Map,E=0,b=[],k=(0,a.K2)((t=>a.Y2.sanitizeText(t,(0,a.D7)())),"sanitizeText"),T=(0,a.K2)((function(t){const e=a.Y2.sanitizeText(t,(0,a.D7)());let s="",n=e;if(e.indexOf("~")>0){const t=e.split("~");n=k(t[0]),s=k(t[1])}return{className:n,type:s}}),"splitClassNameAndType"),D=(0,a.K2)((function(t,e){const s=a.Y2.sanitizeText(t,(0,a.D7)());e&&(e=k(e));const{className:n}=T(s);A.get(n).label=e,A.get(n).text=`${e}${A.get(n).type?`<${A.get(n).type}>`:""}`}),"setClassLabel"),F=(0,a.K2)((function(t){const e=a.Y2.sanitizeText(t,(0,a.D7)()),{className:s,type:n}=T(e);if(A.has(s))return;const i=a.Y2.sanitizeText(s,(0,a.D7)());A.set(i,{id:i,type:n,label:i,text:`${i}${n?`<${n}>`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:p+i+"-"+C}),C++}),"addClass"),B=(0,a.K2)((function(t,e){const s={id:`interface${m.length}`,label:t,classId:e};m.push(s)}),"addInterface"),_=(0,a.K2)((function(t){const e=a.Y2.sanitizeText(t,(0,a.D7)());if(A.has(e))return A.get(e).domId;throw new Error("Class not found: "+e)}),"lookUpDomId"),S=(0,a.K2)((function(){d=[],A=new Map,g=[],m=[],(b=[]).push(j),f=new Map,E=0,V="TB",(0,a.IU)()}),"clear"),N=(0,a.K2)((function(t){return A.get(t)}),"getClass"),L=(0,a.K2)((function(){return A}),"getClasses"),$=(0,a.K2)((function(){return d}),"getRelations"),x=(0,a.K2)((function(){return g}),"getNotes"),O=(0,a.K2)((function(t){a.Rm.debug("Adding relation: "+JSON.stringify(t));const e=[X.LOLLIPOP,X.AGGREGATION,X.COMPOSITION,X.DEPENDENCY,X.EXTENSION];t.relation.type1!==X.LOLLIPOP||e.includes(t.relation.type2)?t.relation.type2!==X.LOLLIPOP||e.includes(t.relation.type1)?(F(t.id1),F(t.id2)):(F(t.id1),B(t.id2,t.id1),t.id2="interface"+(m.length-1)):(F(t.id2),B(t.id1,t.id2),t.id1="interface"+(m.length-1)),t.id1=T(t.id1).className,t.id2=T(t.id2).className,t.relationTitle1=a.Y2.sanitizeText(t.relationTitle1.trim(),(0,a.D7)()),t.relationTitle2=a.Y2.sanitizeText(t.relationTitle2.trim(),(0,a.D7)()),d.push(t)}),"addRelation"),v=(0,a.K2)((function(t,e){const s=T(t).className;A.get(s).annotations.push(e)}),"addAnnotation"),I=(0,a.K2)((function(t,e){F(t);const s=T(t).className,n=A.get(s);if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?n.annotations.push(k(t.substring(2,t.length-2))):t.indexOf(")")>0?n.methods.push(new h(t,"method")):t&&n.members.push(new h(t,"attribute"))}}),"addMember"),K=(0,a.K2)((function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>I(t,e))))}),"addMembers"),w=(0,a.K2)((function(t,e){const s={id:`note${g.length}`,class:e,text:t};g.push(s)}),"addNote"),R=(0,a.K2)((function(t){return t.startsWith(":")&&(t=t.substring(1)),k(t.trim())}),"cleanupLabel"),P=(0,a.K2)((function(t,e){t.split(",").forEach((function(t){let s=t;/\d/.exec(t[0])&&(s=p+s);const n=A.get(s);n&&(n.cssClasses+=" "+e)}))}),"setCssClass"),M=(0,a.K2)((function(t,e){for(const s of t){let t=y.get(s);void 0===t&&(t={id:s,styles:[],textStyles:[]},y.set(s,t)),e&&e.forEach((function(e){if(/color/.exec(e)){const s=e.replace("fill","bgFill");t.textStyles.push(s)}t.styles.push(e)})),A.forEach((t=>{t.cssClasses.includes(s)&&t.styles.push(...e.flatMap((t=>t.split(","))))}))}}),"defineClass"),G=(0,a.K2)((function(t,e){t.split(",").forEach((function(t){void 0!==e&&(A.get(t).tooltip=k(e))}))}),"setTooltip"),U=(0,a.K2)((function(t,e){return e&&f.has(e)?f.get(e).classes.get(t).tooltip:A.get(t).tooltip}),"getTooltip"),Y=(0,a.K2)((function(t,e,s){const n=(0,a.D7)();t.split(",").forEach((function(t){let i=t;/\d/.exec(t[0])&&(i=p+i);const a=A.get(i);a&&(a.link=u._K.formatUrl(e,n),"sandbox"===n.securityLevel?a.linkTarget="_top":a.linkTarget="string"==typeof s?k(s):"_blank")})),P(t,"clickable")}),"setLink"),z=(0,a.K2)((function(t,e,s){t.split(",").forEach((function(t){Q(t,e,s),A.get(t).haveCallback=!0})),P(t,"clickable")}),"setClickEvent"),Q=(0,a.K2)((function(t,e,s){const n=a.Y2.sanitizeText(t,(0,a.D7)());if("loose"!==(0,a.D7)().securityLevel)return;if(void 0===e)return;const i=n;if(A.has(i)){const t=_(i);let n=[];if("string"==typeof s){n=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0);(0,r.Ltv)(this).classed("hover",!1)}))}),"setupToolTips");b.push(j);var V="TB",q=(0,a.K2)((()=>V),"getDirection"),H=(0,a.K2)((t=>{V=t}),"setDirection"),J=(0,a.K2)((function(t){f.has(t)||(f.set(t,{id:t,classes:new Map,children:{},domId:p+t+"-"+E}),E++)}),"addNamespace"),Z=(0,a.K2)((function(t){return f.get(t)}),"getNamespace"),tt=(0,a.K2)((function(){return f}),"getNamespaces"),et=(0,a.K2)((function(t,e){if(f.has(t))for(const s of e){const{className:e}=T(s);A.get(e).parent=t,f.get(t).classes.set(e,A.get(e))}}),"addClassesToNamespace"),st=(0,a.K2)((function(t,e){const s=A.get(t);if(e&&s)for(const n of e)n.includes(",")?s.styles.push(...n.split(",")):s.styles.push(n)}),"setCssStyle");function nt(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}(0,a.K2)(nt,"getArrowMarker");var it=(0,a.K2)((()=>{const t=[],e=[],s=(0,a.D7)();for(const i of f.keys()){const e=f.get(i);if(e){const n={id:e.id,label:e.id,isGroup:!0,padding:s.class.padding??16,shape:"rect",cssStyles:["fill: none","stroke: black"],look:s.look};t.push(n)}}for(const i of A.keys()){const e=A.get(i);if(e){const n=e;n.parentId=e.parent,n.look=s.look,t.push(n)}}let n=0;for(const i of g){n++;const u={id:i.id,label:i.text,isGroup:!1,shape:"note",padding:s.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${s.themeVariables.noteBkgColor}`,`stroke: ${s.themeVariables.noteBorderColor}`],look:s.look};t.push(u);const a=A.get(i.class)?.id??"";if(a){const t={id:`edgeNote${n}`,start:i.id,end:a,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:s.look};e.push(t)}}for(const i of m){const e={id:i.id,label:i.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:s.look};t.push(e)}n=0;for(const i of d){n++;const t={id:(0,u.rY)(i.id1,i.id2,{prefix:"id",counter:n}),start:i.id1,end:i.id2,type:"normal",label:i.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:nt(i.relation.type1),arrowTypeEnd:nt(i.relation.type2),startLabelRight:"none"===i.relationTitle1?"":i.relationTitle1,endLabelLeft:"none"===i.relationTitle2?"":i.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:i.style||"",pattern:1==i.relation.lineType?"dashed":"solid",look:s.look};e.push(t)}return{nodes:t,edges:e,other:{},config:s,direction:q()}}),"getData"),ut={setAccTitle:a.SV,getAccTitle:a.iN,getAccDescription:a.m7,setAccDescription:a.EI,getConfig:(0,a.K2)((()=>(0,a.D7)().class),"getConfig"),addClass:F,bindFunctions:W,clear:S,getClass:N,getClasses:L,getNotes:x,addAnnotation:v,addNote:w,getRelations:$,addRelation:O,getDirection:q,setDirection:H,addMember:I,addMembers:K,cleanupLabel:R,lineType:{LINE:0,DOTTED_LINE:1},relationType:X,setClickEvent:z,setCssClass:P,defineClass:M,setLink:Y,getTooltip:U,setTooltip:G,lookUpDomId:_,setDiagramTitle:a.ke,getDiagramTitle:a.ab,setClassLabel:D,addNamespace:J,addClassesToNamespace:et,getNamespace:Z,getNamespaces:tt,setCssStyle:st,getData:it},at=(0,a.K2)((t=>`g.classGroup text {\n fill: ${t.nodeBorder||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\n.labelBkg {\n background: ${t.mainBkg};\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-width: 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: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: transparent !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 line-height: initial;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`),"getStyles"),rt=(0,a.K2)(((t,e="TB")=>{if(!t.doc)return e;let s=e;for(const n of t.doc)"dir"===n.stmt&&(s=n.value);return s}),"getDir"),ot={getClasses:(0,a.K2)((function(t,e){return e.db.getClasses()}),"getClasses"),draw:(0,a.K2)((async function(t,e,s,r){a.Rm.info("REF0:"),a.Rm.info("Drawing class diagram (v3)",e);const{securityLevel:o,state:l,layout:c}=(0,a.D7)(),h=r.db.getData(),p=(0,n.A)(e,o);h.type=r.type,h.layoutAlgorithm=(0,i.q7)(c),h.nodeSpacing=l?.nodeSpacing||50,h.rankSpacing=l?.rankSpacing||50,h.markers=["aggregation","extension","composition","dependency","lollipop"],h.diagramId=e,await(0,i.XX)(h,p);u._K.insertTitle(p,"classDiagramTitleText",l?.titleTopMargin??25,r.db.getDiagramTitle()),(0,n.P)(p,8,"classDiagram",l?.useMaxWidth??!0)}),"draw"),getDir:rt}},79972:(t,e,s)=>{s.d(e,{A:()=>u,P:()=>a});var n=s(45567),i=s(20007),u=(0,n.K2)(((t,e)=>{let s;"sandbox"===e&&(s=(0,i.Ltv)("#i"+t));return("sandbox"===e?(0,i.Ltv)(s.nodes()[0].contentDocument.body):(0,i.Ltv)("body")).select(`[id="${t}"]`)}),"getDiagramElement"),a=(0,n.K2)(((t,e,s,i)=>{t.attr("class",s);const{width:u,height:a,x:l,y:c}=r(t,e);(0,n.a$)(t,a,u,i);const h=o(l,c,u,a,e);t.attr("viewBox",h),n.Rm.debug(`viewBox configured: ${h} with padding: ${e}`)}),"setupViewPortForSVG"),r=(0,n.K2)(((t,e)=>{const s=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*e,height:s.height+2*e,x:s.x,y:s.y}}),"calculateDimensionsWithPadding"),o=(0,n.K2)(((t,e,s,n,i)=>`${t-i} ${e-i} ${s} ${n}`),"createViewBox")}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/6cca1acc.afadabf2.js b/pr-preview/pr-4/assets/js/6cca1acc.afadabf2.js new file mode 100644 index 0000000..132e4c3 --- /dev/null +++ b/pr-preview/pr-4/assets/js/6cca1acc.afadabf2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[1170],{66616:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>d,default:()=>l,frontMatter:()=>a,metadata:()=>t,toc:()=>o});const t=JSON.parse('{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","source":"@site/docs/spec/primitive_types.md","sourceDirName":"spec","slug":"/spec/primitive_types","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/primitive_types.md","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1731114929000,"sidebarPosition":4,"frontMatter":{"id":"primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","sidebar_position":4,"tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Project Bundle","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle"}}');var s=r(74848),i=r(28453);const a={id:"primitive_types",title:"Primitive Types",description:"Fundamental basic data types supported by JSON Schema",sidebar_position:4,tags:["developer"]},d=void 0,c={},o=[{value:"String",id:"string",level:2},{value:"Date and Time",id:"date-and-time",level:3},{value:"Email",id:"email",level:3},{value:"Hostname",id:"hostname",level:3},{value:"IP Address",id:"ip-address",level:3},{value:"Resource Identifier",id:"resource-identifier",level:3},{value:"URI Template",id:"uri-template",level:3},{value:"Regular Expression",id:"regular-expression",level:3},{value:"Numeric",id:"numeric",level:2},{value:"Object",id:"object",level:2},{value:"Array",id:"array",level:2},{value:"Boolean",id:"boolean",level:2},{value:"Null",id:"null",level:2},{value:"References",id:"references",level:2},{value:"Government Standards",id:"government-standards",level:3},{value:"Technical Standards",id:"technical-standards",level:3},{value:"Errata",id:"errata",level:3}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.p,{children:["The JSON Schema specifies fundamental\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"data types"}),"\nthat can be used and defined within a schema."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string",children:"string"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric#number",children:"number"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric#integer",children:"integer"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/object",children:"object"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/array",children:"array"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/boolean",children:"boolean"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/null",children:"null"})}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["These types are consistent with what can be expected within the standardized JavaScript Object Notation (JSON) format\n(",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"}),"). Most implementation languages support these constructs, but\nmay represent them with different names. We recommend referring to the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"JSON schema data types"})," documentation as a primary\nsource for standards representation guidance, followed by the ",(0,s.jsx)(n.a,{href:"#government-standards",children:"government standards guidance"})," and\nensuring that the content represent meets both."]}),"\n",(0,s.jsx)(n.h2,{id:"string",children:"String"}),"\n",(0,s.jsxs)(n.p,{children:["Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as\nspecified in ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3629",children:"RFC 3629"}),", which is an extension of the ",(0,s.jsx)(n.a,{href:"https://www.iso.org/standard/76835.html",children:"ISO 10646-1"}),"\nstandard."]}),"\n",(0,s.jsxs)(n.p,{children:["Strings may be optionally constrained by properties such as ",(0,s.jsx)(n.code,{children:"minLength"}),", ",(0,s.jsx)(n.code,{children:"maxLength"})," and by Regular Expression\n",(0,s.jsx)(n.code,{children:"pattern"}),". In addition, there are common\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#built-in-formats",children:"built-in"})," ",(0,s.jsx)(n.code,{children:"format"})," types that a\nstring may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation\nfor more detail on the available built-in format types."]}),"\n",(0,s.jsx)(n.h3,{id:"date-and-time",children:"Date and Time"}),"\n",(0,s.jsxs)(n.p,{children:["Date and/or time formats shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6",children:"RFC 3339, section 5.6"})," format, also commonly known as\n",(0,s.jsx)(n.a,{href:"https://www.iso.org/iso-8601-date-and-time-format.html",children:"ISO 8601"}),". Unless otherwise specified, ",(0,s.jsx)(n.code,{children:"date-time"})," shall be\ninternally stored and represented in a format compatible with ",(0,s.jsx)(n.a,{href:"https://en.wikipedia.org/wiki/Unix_time",children:"unix/epoch"}),"\ntime."]}),"\n",(0,s.jsxs)(n.p,{children:["If the time is specified, such as when either the ",(0,s.jsx)(n.code,{children:"time"})," or ",(0,s.jsx)(n.code,{children:"date-time"})," formats are used, the time representations\nshall be encoded in UTC time. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#dates-and-times",children:"JSON Schema documentation"})," for more\nspecific examples."]}),"\n",(0,s.jsx)(n.admonition,{type:"warning",children:(0,s.jsxs)(n.p,{children:["Note that the ",(0,s.jsx)(n.code,{children:"duration"})," format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard."]})}),"\n",(0,s.jsx)(n.h3,{id:"email",children:"Email"}),"\n",(0,s.jsxs)(n.p,{children:["Email addresses with format ",(0,s.jsx)(n.code,{children:"email"})," shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.2",children:"RFC 5321, section 4.1.2"})," format. Emails may also be\nconveyed in internationalized format ",(0,s.jsx)(n.code,{children:"idn-email"})," which will be compliant to\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6531",children:"RFC 6531"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#email-addresses",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"hostname",children:"Hostname"}),"\n",(0,s.jsxs)(n.p,{children:["Hostnames with format ",(0,s.jsx)(n.code,{children:"hostname"})," shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc1123#section-2",children:"RFC 1123, section 2.1"})," format. Hostnames may also be conveyed\nin internationalized format ",(0,s.jsx)(n.code,{children:"idn-hostname"})," which will be compliant to\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5890#section-2.3.2.3",children:"RFC 5890, section 2.3.2.3"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#hostnames",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"ip-address",children:"IP Address"}),"\n",(0,s.jsxs)(n.p,{children:["IP Addresses may either be formatted in ",(0,s.jsx)(n.code,{children:"ipv4"})," or ",(0,s.jsx)(n.code,{children:"ipv6"})," formats. If IPv4 is used, it shall comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2673#section-3.2",children:"RFC 2673, section 3.2"}),". If IPv6 is used, it shall comply\nwith ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2373#section-2.2",children:"RFC 2373, section 2.2"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#ip-addresses",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"resource-identifier",children:"Resource Identifier"}),"\n",(0,s.jsxs)(n.p,{children:["Universal resource identifiers will use format ",(0,s.jsx)(n.code,{children:"uri"})," and comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3986",children:"RFC 3986"}),". There are other less commonly used formats described in the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#resource-identifiers",children:"JSON Schema documentation"}),"."]}),"\n",(0,s.jsxs)(n.admonition,{type:"warning",children:[(0,s.jsxs)(n.p,{children:["Note that the ",(0,s.jsx)(n.code,{children:"uuid"})," format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard.\nInstead, uuid strings shall be constrained with the equivalent uuid versioned regular expression ",(0,s.jsx)(n.code,{children:"pattern"}),". For most\ncases, uuid v4 will be used. When a uuid is used, it shall comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc4122",children:"RFC 4122"}),". The regular expression to be used when specifying uuids will\nbe ",(0,s.jsx)(n.code,{children:"/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i"})," in order to remain version agnostic and maximize\ncompatibility."]}),(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsxs)(n.p,{children:["While there is ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc9562",children:"RFC 9562"})," which extends RFC 4122 by adding in uuid\nversions 6-8, these are likely not supportable with the ",(0,s.jsx)(n.code,{children:"uuid"})," format yet and will require further review if and when\nthese newer uuid versions are used."]})})]}),"\n",(0,s.jsx)(n.h3,{id:"uri-template",children:"URI Template"}),"\n",(0,s.jsxs)(n.p,{children:["URI Templates with format ",(0,s.jsx)(n.code,{children:"uri-template"})," provide a way to specify a Unique Resource Identifier that contains parameters\nthat must be substituted in before the URI may be resolved. This should comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6570",children:"RFC 6570"}),". Check the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#uri-template",children:"JSON Schema documentation"})," for\nmore details."]}),"\n",(0,s.jsx)(n.h3,{id:"regular-expression",children:"Regular Expression"}),"\n",(0,s.jsxs)(n.p,{children:["Regular expressions with format ",(0,s.jsx)(n.code,{children:"regex"})," should comply with the\n",(0,s.jsx)(n.a,{href:"https://ecma-international.org/publications-and-standards/standards/ecma-262/",children:"ECMA 262"})," dialect. Check the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#regular-expressions",children:"JSON Schema documentation"})," for\nmore details."]}),"\n",(0,s.jsx)(n.h2,{id:"numeric",children:"Numeric"}),"\n",(0,s.jsxs)(n.p,{children:["Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to\ndifferentiate between integers and floating-point values. It is not possible to reliably infer if the value is an\ninteger or floating-point value solely based on the presence of a decimal point. As such, we recommend using a ",(0,s.jsx)(n.code,{children:"number"}),"\ntype in lieu of the ",(0,s.jsx)(n.code,{children:"integer"})," type for most scenarios that do not require integer level precision."]}),"\n",(0,s.jsxs)(n.p,{children:["Numbers and integers may be optionally constrained by properties such as ",(0,s.jsx)(n.code,{children:"multipleOf"}),", ",(0,s.jsx)(n.code,{children:"minimum"}),", ",(0,s.jsx)(n.code,{children:"maximum"}),",\n",(0,s.jsx)(n.code,{children:"exclusiveMinimum"})," and ",(0,s.jsx)(n.code,{children:"exclusiveMaximum"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric",children:"JSON Schema documentation"})," for more specific\nexamples."]}),"\n",(0,s.jsx)(n.h2,{id:"object",children:"Object"}),"\n",(0,s.jsxs)(n.p,{children:["Objects are used for unordered key-value mappings. In JSON, the key shall always be a ",(0,s.jsx)(n.a,{href:"#string",children:"string"}),', and a\nkey-value pair is conventionally called a "property". As objects can have various requirements, nestings, and\nstructuring, there is extensive documentation outlining how objects can constrain the key namings, define the required\nand/or expected properties, as well as define relationships and inclusion of other schemas into its own definition.']}),"\n",(0,s.jsxs)(n.p,{children:["More specific details on what can be done can be found in the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/object",children:"JSON Schema documentation"}),"."]}),"\n",(0,s.jsx)(n.h2,{id:"array",children:"Array"}),"\n",(0,s.jsxs)(n.p,{children:["Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such,\narray definitions may either constrain the type of elements with the ",(0,s.jsx)(n.code,{children:"items"})," keyword, or use the ",(0,s.jsx)(n.code,{children:"contains"})," keyword to\nprovide a looser expectation of what kinds of elements are expected."]}),"\n",(0,s.jsxs)(n.p,{children:["Other array constraints such as ",(0,s.jsx)(n.code,{children:"uniqueness"}),", ",(0,s.jsx)(n.code,{children:"minContains"}),", ",(0,s.jsx)(n.code,{children:"maxContains"}),", ",(0,s.jsx)(n.code,{children:"minItems"})," and ",(0,s.jsx)(n.code,{children:"maxItems"})," may also be used\nto describe the boundaries of the array. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/array",children:"JSON Schema documentation"})," for more specific examples."]}),"\n",(0,s.jsx)(n.h2,{id:"boolean",children:"Boolean"}),"\n",(0,s.jsxs)(n.p,{children:["Booleans are used to represent only two possible values: ",(0,s.jsx)(n.code,{children:"true"})," or ",(0,s.jsx)(n.code,{children:"false"}),". While certain languages may evaluate other\nvalues to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first\nprior to encoding. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/boolean",children:"JSON Schema documentation"})," for more details."]}),"\n",(0,s.jsx)(n.h2,{id:"null",children:"Null"}),"\n",(0,s.jsxs)(n.p,{children:["Null is used to represent no value, and can only have a single acceptable value ",(0,s.jsx)(n.code,{children:"null"}),". Note that null does not equate\nto the absence of a value, or undefined. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/null",children:"JSON Schema documentation"})," for more details."]}),"\n",(0,s.jsx)(n.h2,{id:"references",children:"References"}),"\n",(0,s.jsx)(n.h3,{id:"government-standards",children:"Government Standards"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/assets/gov/government/services-for-government-and-broader-public-sector/information-technology-services/standards-files/address_data_standards_-_mailing_delivery_residential.pdf",children:"Address Data Standards: Mailing, Delivery and Residential"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/assets/gov/government/services-for-government-and-broader-public-sector/information-technology-services/standards-files/date_and_time_standard.pdf",children:"Date and Time Standard"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/health-information-standards/standards-catalogue/date-time",children:"B.C. Health Information Standards for Date and Time"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://bcgov.github.io/data-publication/pages/dsg_naming_describing.html",children:"Naming and Describing"})}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"technical-standards",children:"Technical Standards"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://ecma-international.org/publications-and-standards/standards/ecma-262/",children:"ECMA 262"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"JSON Schema Types"})}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc1123",children:"RFC 1123"})," (Internet Hosts)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2373",children:"RFC 2373"})," (IPv6)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2673",children:"RFC 2673"})," (IPv4)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3339",children:"RFC 3339"})," (Date and Time)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3629",children:"RFC 3629"})," (UTF-8)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3986",children:"RFC 3986"})," (URI)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc4122",children:"RFC 4122"})," (UUID v1-5)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5321",children:"RFC 5321"})," (Email/SMTP)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5890",children:"RFC 5890"})," (Internationalized Domain Names)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6531",children:"RFC 6531"})," (Internationalized Email)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6570",children:"RFC 6570"})," (URI Template)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," (JSON)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc9562",children:"RFC 9562"})," (UUID v6-8)"]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"errata",children:"Errata"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://ajv.js.org/guide/schema-language.html#json-schema",children:"JSON Schema Version Comparison"})}),"\n"]})]})}function l(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},28453:(e,n,r)=>{r.d(n,{R:()=>a,x:()=>d});var t=r(96540);const s={},i=t.createContext(s);function a(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/6e1e6756.c5943d84.js b/pr-preview/pr-4/assets/js/6e1e6756.c5943d84.js new file mode 100644 index 0000000..747fd5a --- /dev/null +++ b/pr-preview/pr-4/assets/js/6e1e6756.c5943d84.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[1806],{36705:e=>{e.exports=JSON.parse('{"tag":{"label":"Business","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/business","description":"Content related to business cases and rationale","allTagsPath":"/nr-pies/pr-preview/pr-4/docs/tags","count":2,"items":[{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","permalink":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started"},{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","permalink":"/nr-pies/pr-preview/pr-4/docs/intro/terminology"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/7032.23e0aa7e.js b/pr-preview/pr-4/assets/js/7032.23e0aa7e.js new file mode 100644 index 0000000..d6a7401 --- /dev/null +++ b/pr-preview/pr-4/assets/js/7032.23e0aa7e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[7032],{39676:(t,e,a)=>{a.d(e,{m:()=>s});var r=a(45567),s=class{constructor(t){this.init=t,this.records=this.init()}static{(0,r.K2)(this,"ImperativeState")}reset(){this.records=this.init()}}},59347:(t,e,a)=>{a.d(e,{CP:()=>l,HT:()=>h,PB:()=>d,aC:()=>c,lC:()=>n,m:()=>o,tk:()=>i});var r=a(45567),s=a(16750),i=(0,r.K2)(((t,e)=>{const a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(const r in e.attrs)a.attr(r,e.attrs[r]);return e.class&&a.attr("class",e.class),a}),"drawRect"),n=(0,r.K2)(((t,e)=>{const a={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};i(t,a).lower()}),"drawBackgroundRect"),o=(0,r.K2)(((t,e)=>{const a=e.text.replace(r.H1," "),s=t.append("text");s.attr("x",e.x),s.attr("y",e.y),s.attr("class","legend"),s.style("text-anchor",e.anchor),e.class&&s.attr("class",e.class);const i=s.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.text(a),s}),"drawText"),c=(0,r.K2)(((t,e,a,r)=>{const i=t.append("image");i.attr("x",e),i.attr("y",a);const n=(0,s.J)(r);i.attr("xlink:href",n)}),"drawImage"),l=(0,r.K2)(((t,e,a,r)=>{const i=t.append("use");i.attr("x",e),i.attr("y",a);const n=(0,s.J)(r);i.attr("xlink:href",`#${n}`)}),"drawEmbeddedImage"),d=(0,r.K2)((()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0})),"getNoteRect"),h=(0,r.K2)((()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})),"getTextObj")},7032:(t,e,a)=>{a.d(e,{diagram:()=>Ut});var r=a(59347),s=a(39676),i=a(85039),n=a(45567),o=a(20007),c=a(16750),l=function(){var t=(0,n.K2)((function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a}),"o"),e=[1,2],a=[1,3],r=[1,4],s=[2,4],i=[1,9],o=[1,11],c=[1,13],l=[1,14],d=[1,16],h=[1,17],p=[1,18],g=[1,24],u=[1,25],x=[1,26],y=[1,27],m=[1,28],b=[1,29],T=[1,30],f=[1,31],E=[1,32],w=[1,33],I=[1,34],L=[1,35],_=[1,36],P=[1,37],k=[1,38],A=[1,39],v=[1,41],N=[1,42],M=[1,43],D=[1,44],O=[1,45],S=[1,46],K=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],R=[4,5,16,50,52,53],Y=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],C=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],B=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],V=[68,69,70],F=[1,122],W={trace:(0,n.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:(0,n.K2)((function(t,e,a,r,s,i,n){var o=i.length-1;switch(s){case 3:return r.apply(i[o]),i[o];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:i[o-1].push(i[o]),this.$=i[o-1];break;case 6:case 7:case 11:case 12:case 62:this.$=i[o];break;case 15:i[o].type="createParticipant",this.$=i[o];break;case 16:i[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(i[o-2])}),i[o-1].push({type:"boxEnd",boxText:i[o-2]}),this.$=i[o-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-2]),sequenceIndexStep:Number(i[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1].actor};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-1].actor};break;case 29:r.setDiagramTitle(i[o].substring(6)),this.$=i[o].substring(6);break;case 30:r.setDiagramTitle(i[o].substring(7)),this.$=i[o].substring(7);break;case 31:this.$=i[o].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=i[o].trim(),r.setAccDescription(this.$);break;case 34:i[o-1].unshift({type:"loopStart",loopText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.LOOP_START}),i[o-1].push({type:"loopEnd",loopText:i[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=i[o-1];break;case 35:i[o-1].unshift({type:"rectStart",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_START}),i[o-1].push({type:"rectEnd",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=i[o-1];break;case 36:i[o-1].unshift({type:"optStart",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_START}),i[o-1].push({type:"optEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=i[o-1];break;case 37:i[o-1].unshift({type:"altStart",altText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.ALT_START}),i[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=i[o-1];break;case 38:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 39:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 40:i[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.CRITICAL_START}),i[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=i[o-1];break;case 41:i[o-1].unshift({type:"breakStart",breakText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_START}),i[o-1].push({type:"breakEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=i[o-1];break;case 43:this.$=i[o-3].concat([{type:"option",optionText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},i[o]]);break;case 45:this.$=i[o-3].concat([{type:"and",parText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.PAR_AND},i[o]]);break;case 47:this.$=i[o-3].concat([{type:"else",altText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.ALT_ELSE},i[o]]);break;case 48:i[o-3].draw="participant",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 49:i[o-1].draw="participant",i[o-1].type="addParticipant",this.$=i[o-1];break;case 50:i[o-3].draw="actor",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 51:i[o-1].draw="actor",i[o-1].type="addParticipant",this.$=i[o-1];break;case 52:i[o-1].type="destroyParticipant",this.$=i[o-1];break;case 53:this.$=[i[o-1],{type:"addNote",placement:i[o-2],actor:i[o-1].actor,text:i[o]}];break;case 54:i[o-2]=[].concat(i[o-1],i[o-1]).slice(0,2),i[o-2][0]=i[o-2][0].actor,i[o-2][1]=i[o-2][1].actor,this.$=[i[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:i[o-2].slice(0,2),text:i[o]}];break;case 55:this.$=[i[o-1],{type:"addLinks",actor:i[o-1].actor,text:i[o]}];break;case 56:this.$=[i[o-1],{type:"addALink",actor:i[o-1].actor,text:i[o]}];break;case 57:this.$=[i[o-1],{type:"addProperties",actor:i[o-1].actor,text:i[o]}];break;case 58:this.$=[i[o-1],{type:"addDetails",actor:i[o-1].actor,text:i[o]}];break;case 61:this.$=[i[o-2],i[o]];break;case 63:this.$=r.PLACEMENT.LEFTOF;break;case 64:this.$=r.PLACEMENT.RIGHTOF;break;case 65:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1].actor}];break;case 66:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-4].actor}];break;case 67:this.$=[i[o-3],i[o-1],{type:"addMessage",from:i[o-3].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o]}];break;case 68:this.$={type:"addParticipant",actor:i[o]};break;case 69:this.$=r.LINETYPE.SOLID_OPEN;break;case 70:this.$=r.LINETYPE.DOTTED_OPEN;break;case 71:this.$=r.LINETYPE.SOLID;break;case 72:this.$=r.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=r.LINETYPE.DOTTED;break;case 74:this.$=r.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=r.LINETYPE.SOLID_CROSS;break;case 76:this.$=r.LINETYPE.DOTTED_CROSS;break;case 77:this.$=r.LINETYPE.SOLID_POINT;break;case 78:this.$=r.LINETYPE.DOTTED_POINT;break;case 79:this.$=r.parseMessage(i[o].trim().substring(1))}}),"anonymous"),table:[{3:1,4:e,5:a,6:r},{1:[3]},{3:5,4:e,5:a,6:r},{3:6,4:e,5:a,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],s,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:o,8:8,9:10,12:12,13:c,14:l,17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:I,44:L,46:_,50:P,52:k,53:A,54:v,59:N,60:M,61:D,62:O,70:S},t(K,[2,5]),{9:47,12:12,13:c,14:l,17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:I,44:L,46:_,50:P,52:k,53:A,54:v,59:N,60:M,61:D,62:O,70:S},t(K,[2,7]),t(K,[2,8]),t(K,[2,14]),{12:48,50:P,52:k,53:A},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(K,[2,29]),t(K,[2,30]),{32:[1,61]},{34:[1,62]},t(K,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:S},{22:90,70:S},{22:91,70:S},{22:92,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(K,[2,6]),t(K,[2,15]),t(R,[2,9],{10:93}),t(K,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(K,[2,21]),{5:[1,97]},{5:[1,98]},t(K,[2,24]),t(K,[2,25]),t(K,[2,26]),t(K,[2,27]),t(K,[2,28]),t(K,[2,31]),t(K,[2,32]),t(Y,s,{7:99}),t(Y,s,{7:100}),t(Y,s,{7:101}),t(C,s,{40:102,7:103}),t(B,s,{42:104,7:105}),t(B,s,{7:105,42:106}),t($,s,{45:107,7:108}),t(Y,s,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:S},t(V,[2,69]),t(V,[2,70]),t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),t(V,[2,77]),t(V,[2,78]),{22:118,70:S},{22:120,58:119,70:S},{70:[2,63]},{70:[2,64]},{56:121,81:F},{56:123,81:F},{56:124,81:F},{56:125,81:F},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:P,52:k,53:A},{5:[1,131]},t(K,[2,19]),t(K,[2,20]),t(K,[2,22]),t(K,[2,23]),{4:i,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,132],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:I,44:L,46:_,50:P,52:k,53:A,54:v,59:N,60:M,61:D,62:O,70:S},{4:i,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,133],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:I,44:L,46:_,50:P,52:k,53:A,54:v,59:N,60:M,61:D,62:O,70:S},{4:i,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,134],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:I,44:L,46:_,50:P,52:k,53:A,54:v,59:N,60:M,61:D,62:O,70:S},{16:[1,135]},{4:i,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,46],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:I,44:L,46:_,49:[1,136],50:P,52:k,53:A,54:v,59:N,60:M,61:D,62:O,70:S},{16:[1,137]},{4:i,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,44],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:I,44:L,46:_,48:[1,138],50:P,52:k,53:A,54:v,59:N,60:M,61:D,62:O,70:S},{16:[1,139]},{16:[1,140]},{4:i,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,42],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:I,44:L,46:_,47:[1,141],50:P,52:k,53:A,54:v,59:N,60:M,61:D,62:O,70:S},{4:i,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,142],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:T,38:f,39:E,41:w,43:I,44:L,46:_,50:P,52:k,53:A,54:v,59:N,60:M,61:D,62:O,70:S},{15:[1,143]},t(K,[2,49]),{15:[1,144]},t(K,[2,51]),t(K,[2,52]),{22:145,70:S},{22:146,70:S},{56:147,81:F},{56:148,81:F},{56:149,81:F},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(K,[2,16]),t(R,[2,10]),{12:151,50:P,52:k,53:A},t(R,[2,12]),t(R,[2,13]),t(K,[2,18]),t(K,[2,34]),t(K,[2,35]),t(K,[2,36]),t(K,[2,37]),{15:[1,152]},t(K,[2,38]),{15:[1,153]},t(K,[2,39]),t(K,[2,40]),{15:[1,154]},t(K,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:F},{56:158,81:F},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:S},t(R,[2,11]),t(C,s,{7:103,40:160}),t(B,s,{7:105,42:161}),t($,s,{7:108,45:162}),t(K,[2,48]),t(K,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:(0,n.K2)((function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)}),"parseError"),parse:(0,n.K2)((function(t){var e=this,a=[0],r=[],s=[null],i=[],o=this.table,c="",l=0,d=0,h=0,p=i.slice.call(arguments,1),g=Object.create(this.lexer),u={yy:{}};for(var x in this.yy)Object.prototype.hasOwnProperty.call(this.yy,x)&&(u.yy[x]=this.yy[x]);g.setInput(t,u.yy),u.yy.lexer=g,u.yy.parser=this,void 0===g.yylloc&&(g.yylloc={});var y=g.yylloc;i.push(y);var m=g.options&&g.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||g.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,n.K2)((function(t){a.length=a.length-2*t,s.length=s.length-t,i.length=i.length-t}),"popStack"),(0,n.K2)(b,"lex");for(var T,f,E,w,I,L,_,P,k,A={};;){if(E=a[a.length-1],this.defaultActions[E]?w=this.defaultActions[E]:(null==T&&(T=b()),w=o[E]&&o[E][T]),void 0===w||!w.length||!w[0]){var v="";for(L in k=[],o[E])this.terminals_[L]&&L>2&&k.push("'"+this.terminals_[L]+"'");v=g.showPosition?"Parse error on line "+(l+1)+":\n"+g.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[T]||T)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==T?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(v,{text:g.match,token:this.terminals_[T]||T,line:g.yylineno,loc:y,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+T);switch(w[0]){case 1:a.push(T),s.push(g.yytext),i.push(g.yylloc),a.push(w[1]),T=null,f?(T=f,f=null):(d=g.yyleng,c=g.yytext,l=g.yylineno,y=g.yylloc,h>0&&h--);break;case 2:if(_=this.productions_[w[1]][1],A.$=s[s.length-_],A._$={first_line:i[i.length-(_||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(_||1)].first_column,last_column:i[i.length-1].last_column},m&&(A._$.range=[i[i.length-(_||1)].range[0],i[i.length-1].range[1]]),void 0!==(I=this.performAction.apply(A,[c,d,l,u.yy,w[1],s,i].concat(p))))return I;_&&(a=a.slice(0,-1*_*2),s=s.slice(0,-1*_),i=i.slice(0,-1*_)),a.push(this.productions_[w[1]][0]),s.push(A.$),i.push(A._$),P=o[a[a.length-2]][a[a.length-1]],a.push(P);break;case 3:return!0}}return!0}),"parse")},q=function(){return{EOF:1,parseError:(0,n.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,n.K2)((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}),"setInput"),input:(0,n.K2)((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}),"input"),unput:(0,n.K2)((function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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),a.length-1&&(this.yylineno-=a.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,n.K2)((function(){return this._more=!0,this}),"more"),reject:(0,n.K2)((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})}),"reject"),less:(0,n.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,n.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,n.K2)((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,"")}),"upcomingInput"),showPosition:(0,n.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,n.K2)((function(t,e){var a,r,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(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],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var i in s)this[i]=s[i];return!1}return!1}),"test_match"),next:(0,n.K2)((function(){if(this.done)return this.EOF;var t,e,a,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),i=0;ie[0].length)){if(e=a,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,s[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[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})}),"next"),lex:(0,n.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,n.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,n.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,n.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,n.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,n.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,n.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.K2)((function(t,e,a,r){switch(a){case 0:case 51:case 66:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 52:return e.yytext=e.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 75;case 56:return 76;case 57:return 71;case 58:return 72;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 80;case 63:return 81;case 64:return 68;case 65:return 69;case 67:return"INVALID"}}),"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\<->\->:\n,;]+?([\-]*[^\<->\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\<->\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\<->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}}}();function z(){this.yy={}}return W.lexer=q,(0,n.K2)(z,"Parser"),z.prototype=W,W.Parser=z,new z}();l.parser=l;var d=l,h=new s.m((()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0}))),p=(0,n.K2)((function(t){h.records.boxes.push({name:t.text,wrap:t.wrap??M(),fill:t.color,actorKeys:[]}),h.records.currentBox=h.records.boxes.slice(-1)[0]}),"addBox"),g=(0,n.K2)((function(t,e,a,r){let s=h.records.currentBox;const i=h.records.actors.get(t);if(i){if(h.records.currentBox&&i.box&&h.records.currentBox!==i.box)throw new Error(`A same participant should only be defined in one Box: ${i.name} can't be in '${i.box.name}' and in '${h.records.currentBox.name}' at the same time.`);if(s=i.box?i.box:h.records.currentBox,i.box=s,i&&e===i.name&&null==a)return}if(null==a?.text&&(a={text:e,type:r}),null!=r&&null!=a.text||(a={text:e,type:r}),h.records.actors.set(t,{box:s,name:e,description:a.text,wrap:a.wrap??M(),prevActor:h.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r??"participant"}),h.records.prevActor){const e=h.records.actors.get(h.records.prevActor);e&&(e.nextActor=t)}h.records.currentBox&&h.records.currentBox.actorKeys.push(t),h.records.prevActor=t}),"addActor"),u=(0,n.K2)((t=>{let e,a=0;if(!t)return 0;for(e=0;e>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}}return h.records.messages.push({from:t,to:e,message:a?.text??"",wrap:a?.wrap??M(),type:r,activate:s}),!0}),"addSignal"),m=(0,n.K2)((function(){return h.records.boxes.length>0}),"hasAtLeastOneBox"),b=(0,n.K2)((function(){return h.records.boxes.some((t=>t.name))}),"hasAtLeastOneBoxWithTitle"),T=(0,n.K2)((function(){return h.records.messages}),"getMessages"),f=(0,n.K2)((function(){return h.records.boxes}),"getBoxes"),E=(0,n.K2)((function(){return h.records.actors}),"getActors"),w=(0,n.K2)((function(){return h.records.createdActors}),"getCreatedActors"),I=(0,n.K2)((function(){return h.records.destroyedActors}),"getDestroyedActors"),L=(0,n.K2)((function(t){return h.records.actors.get(t)}),"getActor"),_=(0,n.K2)((function(){return[...h.records.actors.keys()]}),"getActorKeys"),P=(0,n.K2)((function(){h.records.sequenceNumbersEnabled=!0}),"enableSequenceNumbers"),k=(0,n.K2)((function(){h.records.sequenceNumbersEnabled=!1}),"disableSequenceNumbers"),A=(0,n.K2)((()=>h.records.sequenceNumbersEnabled),"showSequenceNumbers"),v=(0,n.K2)((function(t){h.records.wrapEnabled=t}),"setWrap"),N=(0,n.K2)((t=>{if(void 0===t)return{};t=t.trim();const e=null!==/^:?wrap:/.exec(t)||null===/^:?nowrap:/.exec(t)&&void 0;return{cleanedText:(void 0===e?t:t.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:e}}),"extractWrap"),M=(0,n.K2)((()=>void 0!==h.records.wrapEnabled?h.records.wrapEnabled:(0,n.D7)().sequence?.wrap??!1),"autoWrap"),D=(0,n.K2)((function(){h.reset(),(0,n.IU)()}),"clear"),O=(0,n.K2)((function(t){const e=t.trim(),{wrap:a,cleanedText:r}=N(e),s={text:r,wrap:a};return n.Rm.debug(`parseMessage: ${JSON.stringify(s)}`),s}),"parseMessage"),S=(0,n.K2)((function(t){const e=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(t);let a=e?.[1]?e[1].trim():"transparent",r=e?.[2]?e[2].trim():void 0;if(window?.CSS)window.CSS.supports("color",a)||(a="transparent",r=t.trim());else{const e=(new Option).style;e.color=a,e.color!==a&&(a="transparent",r=t.trim())}const{wrap:s,cleanedText:i}=N(r);return{text:i?(0,n.jZ)(i,(0,n.D7)()):void 0,color:a,wrap:s}}),"parseBoxData"),K={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34},R=(0,n.K2)((function(t,e,a){const r={actor:t,placement:e,message:a.text,wrap:a.wrap??M()},s=[].concat(t,t);h.records.notes.push(r),h.records.messages.push({from:s[0],to:s[1],message:a.text,wrap:a.wrap??M(),type:K.NOTE,placement:e})}),"addNote"),Y=(0,n.K2)((function(t,e){const a=L(t);try{let t=(0,n.jZ)(e.text,(0,n.D7)());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"=");B(a,JSON.parse(t))}catch(r){n.Rm.error("error while parsing actor link text",r)}}),"addLinks"),C=(0,n.K2)((function(t,e){const a=L(t);try{const t={};let r=(0,n.jZ)(e.text,(0,n.D7)());const s=r.indexOf("@");r=r.replace(/&/g,"&"),r=r.replace(/=/g,"=");const i=r.slice(0,s-1).trim(),o=r.slice(s+1).trim();t[i]=o,B(a,t)}catch(r){n.Rm.error("error while parsing actor link text",r)}}),"addALink");function B(t,e){if(null==t.links)t.links=e;else for(const a in e)t.links[a]=e[a]}(0,n.K2)(B,"insertLinks");var $=(0,n.K2)((function(t,e){const a=L(t);try{const t=(0,n.jZ)(e.text,(0,n.D7)());V(a,JSON.parse(t))}catch(r){n.Rm.error("error while parsing actor properties text",r)}}),"addProperties");function V(t,e){if(null==t.properties)t.properties=e;else for(const a in e)t.properties[a]=e[a]}function F(){h.records.currentBox=void 0}(0,n.K2)(V,"insertProperties"),(0,n.K2)(F,"boxEnd");var W=(0,n.K2)((function(t,e){const a=L(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&V(a,e.properties),e.links&&B(a,e.links)}catch(s){n.Rm.error("error while parsing actor details text",s)}}),"addDetails"),q=(0,n.K2)((function(t,e){if(void 0!==t?.properties)return t.properties[e]}),"getActorProperty"),z=(0,n.K2)((function(t){if(Array.isArray(t))t.forEach((function(t){z(t)}));else switch(t.type){case"sequenceIndex":h.records.messages.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":g(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(h.records.actors.has(t.actor))throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");h.records.lastCreated=t.actor,g(t.actor,t.actor,t.description,t.draw),h.records.createdActors.set(t.actor,h.records.messages.length);break;case"destroyParticipant":h.records.lastDestroyed=t.actor,h.records.destroyedActors.set(t.actor,h.records.messages.length);break;case"activeStart":case"activeEnd":y(t.actor,void 0,void 0,t.signalType);break;case"addNote":R(t.actor,t.placement,t.text);break;case"addLinks":Y(t.actor,t.text);break;case"addALink":C(t.actor,t.text);break;case"addProperties":$(t.actor,t.text);break;case"addDetails":W(t.actor,t.text);break;case"addMessage":if(h.records.lastCreated){if(t.to!==h.records.lastCreated)throw new Error("The created participant "+h.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");h.records.lastCreated=void 0}else if(h.records.lastDestroyed){if(t.to!==h.records.lastDestroyed&&t.from!==h.records.lastDestroyed)throw new Error("The destroyed participant "+h.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");h.records.lastDestroyed=void 0}y(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":p(t.boxData);break;case"boxEnd":F();break;case"loopStart":y(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":y(void 0,void 0,void 0,t.signalType);break;case"rectStart":y(void 0,void 0,t.color,t.signalType);break;case"optStart":y(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":y(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,n.SV)(t.text);break;case"parStart":case"and":y(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":y(void 0,void 0,t.criticalText,t.signalType);break;case"option":y(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":y(void 0,void 0,t.breakText,t.signalType)}}),"apply"),H={addActor:g,addMessage:x,addSignal:y,addLinks:Y,addDetails:W,addProperties:$,autoWrap:M,setWrap:v,enableSequenceNumbers:P,disableSequenceNumbers:k,showSequenceNumbers:A,getMessages:T,getActors:E,getCreatedActors:w,getDestroyedActors:I,getActor:L,getActorKeys:_,getActorProperty:q,getAccTitle:n.iN,getBoxes:f,getDiagramTitle:n.ab,setDiagramTitle:n.ke,getConfig:(0,n.K2)((()=>(0,n.D7)().sequence),"getConfig"),clear:D,parseMessage:O,parseBoxData:S,LINETYPE:K,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:R,setAccTitle:n.SV,apply:z,setAccDescription:n.EI,getAccDescription:n.m7,hasAtLeastOneBox:m,hasAtLeastOneBoxWithTitle:b},j=(0,n.K2)((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`),"getStyles"),U="actor-top",J="actor-bottom",X="actor-man",G=(0,n.K2)((function(t,e){return(0,r.tk)(t,e)}),"drawRect"),Z=(0,n.K2)((function(t,e,a,r,s){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};const i=e.links,n=e.actorCnt,o=e.rectData;var l="none";s&&(l="block !important");const d=t.append("g");d.attr("id","actor"+n+"_popup"),d.attr("class","actorPopupMenu"),d.attr("display",l);var h="";void 0!==o.class&&(h=" "+o.class);let p=o.width>a?o.width:a;const g=d.append("rect");if(g.attr("class","actorPopupMenuPanel"+h),g.attr("x",o.x),g.attr("y",o.height),g.attr("fill",o.fill),g.attr("stroke",o.stroke),g.attr("width",p),g.attr("height",o.height),g.attr("rx",o.rx),g.attr("ry",o.ry),null!=i){var u=20;for(let t in i){var x=d.append("a"),y=(0,c.J)(i[t]);x.attr("xlink:href",y),x.attr("target","_blank"),It(r)(t,x,o.x+10,o.height+u,p,20,{class:"actor"},r),u+=30}}return g.attr("height",u),{height:o.height+u,width:p}}),"drawPopup"),Q=(0,n.K2)((function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"}),"popupMenuToggle"),tt=(0,n.K2)((async function(t,e,a=null){let r=t.append("foreignObject");const s=await(0,n.VJ)(e.text,(0,n.zj)()),i=r.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(s).node().getBoundingClientRect();if(r.attr("height",Math.round(i.height)).attr("width",Math.round(i.width)),"noteText"===e.class){const a=t.node().firstChild;a.setAttribute("height",i.height+2*e.textMargin);const s=a.getBBox();r.attr("x",Math.round(s.x+s.width/2-i.width/2)).attr("y",Math.round(s.y+s.height/2-i.height/2))}else if(a){let{startx:t,stopx:s,starty:n}=a;if(t>s){const e=t;t=s,s=e}r.attr("x",Math.round(t+Math.abs(t-s)/2-i.width/2)),"loopText"===e.class?r.attr("y",Math.round(n)):r.attr("y",Math.round(n-i.height))}return[r]}),"drawKatex"),et=(0,n.K2)((function(t,e){let a=0,r=0;const s=e.text.split(n.Y2.lineBreakRegex),[o,c]=(0,i.I5)(e.fontSize);let l=[],d=0,h=(0,n.K2)((()=>e.y),"yfunc");if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=(0,n.K2)((()=>Math.round(e.y+e.textMargin)),"yfunc");break;case"middle":case"center":h=(0,n.K2)((()=>Math.round(e.y+(a+r+e.textMargin)/2)),"yfunc");break;case"bottom":case"end":h=(0,n.K2)((()=>Math.round(e.y+(a+r+2*e.textMargin)-e.textMargin)),"yfunc")}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[n,p]of s.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==o&&(d=n*o);const s=t.append("text");s.attr("x",e.x),s.attr("y",h()),void 0!==e.anchor&&s.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&s.style("font-family",e.fontFamily),void 0!==c&&s.style("font-size",c),void 0!==e.fontWeight&&s.style("font-weight",e.fontWeight),void 0!==e.fill&&s.attr("fill",e.fill),void 0!==e.class&&s.attr("class",e.class),void 0!==e.dy?s.attr("dy",e.dy):0!==d&&s.attr("dy",d);const g=p||i.pe;if(e.tspan){const t=s.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else s.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(s._groups||s)[0][0].getBBox().height,a=r),l.push(s)}return l}),"drawText"),at=(0,n.K2)((function(t,e){function a(t,e,a,r,s){return t+","+e+" "+(t+a)+","+e+" "+(t+a)+","+(e+r-s)+" "+(t+a-1.2*s)+","+(e+r)+" "+t+","+(e+r)}(0,n.K2)(a,"genPoints");const r=t.append("polygon");return r.attr("points",a(e.x,e.y,e.width,e.height,7)),r.attr("class","labelBox"),e.y=e.y+e.height/2,et(t,e),r}),"drawLabel"),rt=-1,st=(0,n.K2)(((t,e,a,r)=>{t.select&&a.forEach((a=>{const s=e.get(a),i=t.select("#actor"+s.actorCnt);!r.mirrorActors&&s.stopy?i.attr("y2",s.stopy+s.height/2):r.mirrorActors&&i.attr("y2",s.stopy)}))}),"fixLifeLineHeights"),it=(0,n.K2)((function(t,e,a,s){const i=s?e.stopy:e.starty,o=e.x+e.width/2,c=i+e.height,l=t.append("g").lower();var d=l;s||(rt++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",Q(`actor${rt}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+rt).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=l.append("g"),e.actorCnt=rt,null!=e.links&&d.attr("id","root-"+rt));const h=(0,r.PB)();var p="actor";e.properties?.class?p=e.properties.class:h.fill="#eaeaea",p+=s?` ${J}`:` ${U}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=p,h.rx=3,h.ry=3,h.name=e.name;const g=G(d,h);if(e.rectData=h,e.properties?.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?(0,r.CP)(d,h.x+h.width-20,h.y+10,t.substr(1)):(0,r.aC)(d,h.x+h.width-20,h.y+10,t)}wt(a,(0,n.Wi)(e.description))(e.description,d,h.x,h.y,h.width,h.height,{class:"actor actor-box"},a);let u=e.height;if(g.node){const t=g.node().getBBox();e.height=t.height,u=t.height}return u}),"drawActorTypeParticipant"),nt=(0,n.K2)((function(t,e,a,s){const i=s?e.stopy:e.starty,o=e.x+e.width/2,c=i+80,l=t.append("g").lower();s||(rt++,l.append("line").attr("id","actor"+rt).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=rt);const d=t.append("g");let h=X;h+=s?` ${J}`:` ${U}`,d.attr("class",h),d.attr("name",e.name);const p=(0,r.PB)();p.x=e.x,p.y=i,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",p.rx=3,p.ry=3,d.append("line").attr("id","actor-man-torso"+rt).attr("x1",o).attr("y1",i+25).attr("x2",o).attr("y2",i+45),d.append("line").attr("id","actor-man-arms"+rt).attr("x1",o-18).attr("y1",i+33).attr("x2",o+18).attr("y2",i+33),d.append("line").attr("x1",o-18).attr("y1",i+60).attr("x2",o).attr("y2",i+45),d.append("line").attr("x1",o).attr("y1",i+45).attr("x2",o+18-2).attr("y2",i+60);const g=d.append("circle");g.attr("cx",e.x+e.width/2),g.attr("cy",i+10),g.attr("r",15),g.attr("width",e.width),g.attr("height",e.height);const u=d.node().getBBox();return e.height=u.height,wt(a,(0,n.Wi)(e.description))(e.description,d,p.x,p.y+35,p.width,p.height,{class:`actor ${X}`},a),e.height}),"drawActorTypeActor"),ot=(0,n.K2)((async function(t,e,a,r){switch(e.type){case"actor":return await nt(t,e,a,r);case"participant":return await it(t,e,a,r)}}),"drawActor"),ct=(0,n.K2)((function(t,e,a){const r=t.append("g");pt(r,e),e.name&&wt(a)(e.name,r,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},a),r.lower()}),"drawBox"),lt=(0,n.K2)((function(t){return t.append("g")}),"anchorElement"),dt=(0,n.K2)((function(t,e,a,s,i){const n=(0,r.PB)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+i%3,n.width=e.stopx-e.startx,n.height=a-e.starty,G(o,n)}),"drawActivation"),ht=(0,n.K2)((async function(t,e,a,s){const{boxMargin:i,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:l,messageFontFamily:d,messageFontSize:h,messageFontWeight:p}=s,g=t.append("g"),u=(0,n.K2)((function(t,e,a,r){return g.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")}),"drawLoopLine");u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){u(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let x=(0,r.HT)();x.text=a,x.x=e.startx,x.y=e.starty,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=c||20,x.textMargin=o,x.class="labelText",at(g,x),x=ft(),x.text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+i+o,x.anchor="middle",x.valign="middle",x.textMargin=o,x.class="loopText",x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=!0;let y=(0,n.Wi)(x.text)?await tt(g,x,e):et(g,x);if(void 0!==e.sectionTitles)for(const[r,m]of Object.entries(e.sectionTitles))if(m.message){x.text=m.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[r].y+i+o,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=e.wrap,(0,n.Wi)(x.text)?(e.starty=e.sections[r].y,await tt(g,x,e)):et(g,x);let t=Math.round(y.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[r].height+=t-(i+o)}return e.height=Math.round(e.stopy-e.starty),g}),"drawLoop"),pt=(0,n.K2)((function(t,e){(0,r.lC)(t,e)}),"drawBackgroundRect"),gt=(0,n.K2)((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")}),"insertDatabaseIcon"),ut=(0,n.K2)((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")}),"insertComputerIcon"),xt=(0,n.K2)((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")}),"insertClockIcon"),yt=(0,n.K2)((function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")}),"insertArrowHead"),mt=(0,n.K2)((function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).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")}),"insertArrowFilledHead"),bt=(0,n.K2)((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)}),"insertSequenceNumber"),Tt=(0,n.K2)((function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.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")}),"insertArrowCrossHead"),ft=(0,n.K2)((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}}),"getTextObj"),Et=(0,n.K2)((function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}}),"getNoteRect"),wt=function(){function t(t,e,a,r,i,n,o){s(e.append("text").attr("x",a+i/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,r,o,c,l,d){const{actorFontSize:h,actorFontFamily:p,actorFontWeight:g}=d,[u,x]=(0,i.I5)(h),y=t.split(n.Y2.lineBreakRegex);for(let i=0;it.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)))}),"getHeight"),clear:(0,n.K2)((function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]}),"clear"),addBox:(0,n.K2)((function(t){this.boxes.push(t)}),"addBox"),addActor:(0,n.K2)((function(t){this.actors.push(t)}),"addActor"),addLoop:(0,n.K2)((function(t){this.loops.push(t)}),"addLoop"),addMessage:(0,n.K2)((function(t){this.messages.push(t)}),"addMessage"),addNote:(0,n.K2)((function(t){this.notes.push(t)}),"addNote"),lastActor:(0,n.K2)((function(){return this.actors[this.actors.length-1]}),"lastActor"),lastLoop:(0,n.K2)((function(){return this.loops[this.loops.length-1]}),"lastLoop"),lastMessage:(0,n.K2)((function(){return this.messages[this.messages.length-1]}),"lastMessage"),lastNote:(0,n.K2)((function(){return this.notes[this.notes.length-1]}),"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:(0,n.K2)((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,Rt((0,n.D7)())}),"init"),updateVal:(0,n.K2)((function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])}),"updateVal"),updateBounds:(0,n.K2)((function(t,e,a,r){const s=this;let i=0;function o(o){return(0,n.K2)((function(n){i++;const c=s.sequenceItems.length-i+1;s.updateVal(n,"starty",e-c*_t.boxMargin,Math.min),s.updateVal(n,"stopy",r+c*_t.boxMargin,Math.max),s.updateVal(Pt.data,"startx",t-c*_t.boxMargin,Math.min),s.updateVal(Pt.data,"stopx",a+c*_t.boxMargin,Math.max),"activation"!==o&&(s.updateVal(n,"startx",t-c*_t.boxMargin,Math.min),s.updateVal(n,"stopx",a+c*_t.boxMargin,Math.max),s.updateVal(Pt.data,"starty",e-c*_t.boxMargin,Math.min),s.updateVal(Pt.data,"stopy",r+c*_t.boxMargin,Math.max))}),"updateItemBounds")}(0,n.K2)(o,"updateFn"),this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))}),"updateBounds"),insert:(0,n.K2)((function(t,e,a,r){const s=n.Y2.getMin(t,a),i=n.Y2.getMax(t,a),o=n.Y2.getMin(e,r),c=n.Y2.getMax(e,r);this.updateVal(Pt.data,"startx",s,Math.min),this.updateVal(Pt.data,"starty",o,Math.min),this.updateVal(Pt.data,"stopx",i,Math.max),this.updateVal(Pt.data,"stopy",c,Math.max),this.updateBounds(s,o,i,c)}),"insert"),newActivation:(0,n.K2)((function(t,e,a){const r=a.get(t.from),s=Yt(t.from).length||0,i=r.x+r.width/2+(s-1)*_t.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+_t.activationWidth,stopy:void 0,actor:t.from,anchored:Lt.anchorElement(e)})}),"newActivation"),endActivation:(0,n.K2)((function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from);return this.activations.splice(e,1)[0]}),"endActivation"),createLoop:(0,n.K2)((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}}),"createLoop"),newLoop:(0,n.K2)((function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))}),"newLoop"),endLoop:(0,n.K2)((function(){return this.sequenceItems.pop()}),"endLoop"),isLoopOverlap:(0,n.K2)((function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap}),"isLoopOverlap"),addSectionToLoop:(0,n.K2)((function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:Pt.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)}),"addSectionToLoop"),saveVerticalPos:(0,n.K2)((function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)}),"saveVerticalPos"),resetVerticalPos:(0,n.K2)((function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)}),"resetVerticalPos"),bumpVerticalPos:(0,n.K2)((function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=n.Y2.getMax(this.data.stopy,this.verticalPos)}),"bumpVerticalPos"),getVerticalPos:(0,n.K2)((function(){return this.verticalPos}),"getVerticalPos"),getBounds:(0,n.K2)((function(){return{bounds:this.data,models:this.models}}),"getBounds")},kt=(0,n.K2)((async function(t,e){Pt.bumpVerticalPos(_t.boxMargin),e.height=_t.boxMargin,e.starty=Pt.getVerticalPos();const a=(0,r.PB)();a.x=e.startx,a.y=e.starty,a.width=e.width||_t.width,a.class="note";const s=t.append("g"),i=Lt.drawRect(s,a),o=(0,r.HT)();o.x=e.startx,o.y=e.starty,o.width=a.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=_t.noteFontFamily,o.fontSize=_t.noteFontSize,o.fontWeight=_t.noteFontWeight,o.anchor=_t.noteAlign,o.textMargin=_t.noteMargin,o.valign="center";const c=(0,n.Wi)(o.text)?await tt(s,o):et(s,o),l=Math.round(c.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));i.attr("height",l+2*_t.noteMargin),e.height+=l+2*_t.noteMargin,Pt.bumpVerticalPos(l+2*_t.noteMargin),e.stopy=e.starty+l+2*_t.noteMargin,e.stopx=e.startx+a.width,Pt.insert(e.startx,e.starty,e.stopx,e.stopy),Pt.models.addNote(e)}),"drawNote"),At=(0,n.K2)((t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight})),"messageFont"),vt=(0,n.K2)((t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight})),"noteFont"),Nt=(0,n.K2)((t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight})),"actorFont");async function Mt(t,e){Pt.bumpVerticalPos(10);const{startx:a,stopx:r,message:s}=e,o=n.Y2.splitBreaks(s).length,c=(0,n.Wi)(s),l=c?await(0,n.Dl)(s,(0,n.D7)()):i._K.calculateTextDimensions(s,At(_t));if(!c){const t=l.height/o;e.height+=t,Pt.bumpVerticalPos(t)}let d,h=l.height-10;const p=l.width;if(a===r){d=Pt.getVerticalPos()+h,_t.rightAngles||(h+=_t.boxMargin,d=Pt.getVerticalPos()+h),h+=30;const t=n.Y2.getMax(p/2,_t.width/2);Pt.insert(a-t,Pt.getVerticalPos()-10+h,r+t,Pt.getVerticalPos()+30+h)}else h+=_t.boxMargin,d=Pt.getVerticalPos()+h,Pt.insert(a,d-10,r,d);return Pt.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,Pt.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),d}(0,n.K2)(Mt,"boundMessage");var Dt=(0,n.K2)((async function(t,e,a,s){const{startx:o,stopx:c,starty:l,message:d,type:h,sequenceIndex:p,sequenceVisible:g}=e,u=i._K.calculateTextDimensions(d,At(_t)),x=(0,r.HT)();x.x=o,x.y=l+10,x.width=c-o,x.class="messageText",x.dy="1em",x.text=d,x.fontFamily=_t.messageFontFamily,x.fontSize=_t.messageFontSize,x.fontWeight=_t.messageFontWeight,x.anchor=_t.messageAlign,x.valign="center",x.textMargin=_t.wrapPadding,x.tspan=!1,(0,n.Wi)(x.text)?await tt(t,x,{startx:o,stopx:c,starty:a}):et(t,x);const y=u.width;let m;o===c?m=_t.rightAngles?t.append("path").attr("d",`M ${o},${a} H ${o+n.Y2.getMax(_t.width/2,y/2)} V ${a+25} H ${o}`):t.append("path").attr("d","M "+o+","+a+" C "+(o+60)+","+(a-10)+" "+(o+60)+","+(a+30)+" "+o+","+(a+20)):(m=t.append("line"),m.attr("x1",o),m.attr("y1",a),m.attr("x2",c),m.attr("y2",a)),h===s.db.LINETYPE.DOTTED||h===s.db.LINETYPE.DOTTED_CROSS||h===s.db.LINETYPE.DOTTED_POINT||h===s.db.LINETYPE.DOTTED_OPEN||h===s.db.LINETYPE.BIDIRECTIONAL_DOTTED?(m.style("stroke-dasharray","3, 3"),m.attr("class","messageLine1")):m.attr("class","messageLine0");let b="";_t.arrowMarkerAbsolute&&(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,b=b.replace(/\(/g,"\\("),b=b.replace(/\)/g,"\\)")),m.attr("stroke-width",2),m.attr("stroke","none"),m.style("fill","none"),h!==s.db.LINETYPE.SOLID&&h!==s.db.LINETYPE.DOTTED||m.attr("marker-end","url("+b+"#arrowhead)"),h!==s.db.LINETYPE.BIDIRECTIONAL_SOLID&&h!==s.db.LINETYPE.BIDIRECTIONAL_DOTTED||(m.attr("marker-start","url("+b+"#arrowhead)"),m.attr("marker-end","url("+b+"#arrowhead)")),h!==s.db.LINETYPE.SOLID_POINT&&h!==s.db.LINETYPE.DOTTED_POINT||m.attr("marker-end","url("+b+"#filled-head)"),h!==s.db.LINETYPE.SOLID_CROSS&&h!==s.db.LINETYPE.DOTTED_CROSS||m.attr("marker-end","url("+b+"#crosshead)"),(g||_t.showSequenceNumbers)&&(m.attr("marker-start","url("+b+"#sequencenumber)"),t.append("text").attr("x",o).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(p))}),"drawMessage"),Ot=(0,n.K2)((function(t,e,a,r,s,i,o){let c,l=0,d=0,h=0;for(const p of r){const t=e.get(p),r=t.box;c&&c!=r&&(o||Pt.models.addBox(c),d+=_t.boxMargin+c.margin),r&&r!=c&&(o||(r.x=l+d,r.y=s),d+=r.margin),t.width=t.width||_t.width,t.height=n.Y2.getMax(t.height||_t.height,_t.height),t.margin=t.margin||_t.actorMargin,h=n.Y2.getMax(h,t.height),a.get(t.name)&&(d+=t.width/2),t.x=l+d,t.starty=Pt.getVerticalPos(),Pt.insert(t.x,s,t.x+t.width,t.height),l+=t.width+d,t.box&&(t.box.width=l+r.margin-t.box.x),d=t.margin,c=t.box,Pt.models.addActor(t)}c&&!o&&Pt.models.addBox(c),Pt.bumpVerticalPos(h)}),"addActorRenderingData"),St=(0,n.K2)((async function(t,e,a,r){if(r){let r=0;Pt.bumpVerticalPos(2*_t.boxMargin);for(const s of a){const a=e.get(s);a.stopy||(a.stopy=Pt.getVerticalPos());const i=await Lt.drawActor(t,a,_t,!0);r=n.Y2.getMax(r,i)}Pt.bumpVerticalPos(r+_t.boxMargin)}else for(const s of a){const a=e.get(s);await Lt.drawActor(t,a,_t,!1)}}),"drawActors"),Kt=(0,n.K2)((function(t,e,a,r){let s=0,i=0;for(const n of a){const a=e.get(n),o=Wt(a),c=Lt.drawPopup(t,a,o,_t,_t.forceMenus,r);c.height>s&&(s=c.height),c.width+a.x>i&&(i=c.width+a.x)}return{maxHeight:s,maxWidth:i}}),"drawActorsPopup"),Rt=(0,n.K2)((function(t){(0,n.hH)(_t,t),t.fontFamily&&(_t.actorFontFamily=_t.noteFontFamily=_t.messageFontFamily=t.fontFamily),t.fontSize&&(_t.actorFontSize=_t.noteFontSize=_t.messageFontSize=t.fontSize),t.fontWeight&&(_t.actorFontWeight=_t.noteFontWeight=_t.messageFontWeight=t.fontWeight)}),"setConf"),Yt=(0,n.K2)((function(t){return Pt.activations.filter((function(e){return e.actor===t}))}),"actorActivations"),Ct=(0,n.K2)((function(t,e){const a=e.get(t),r=Yt(t);return[r.reduce((function(t,e){return n.Y2.getMin(t,e.startx)}),a.x+a.width/2-1),r.reduce((function(t,e){return n.Y2.getMax(t,e.stopx)}),a.x+a.width/2+1)]}),"activationBounds");function Bt(t,e,a,r,s){Pt.bumpVerticalPos(a);let o=r;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,s=At(_t);e.message=i._K.wrapLabel(`[${e.message}]`,a-2*_t.wrapPadding,s),e.width=a,e.wrap=!0;const c=i._K.calculateTextDimensions(e.message,s),l=n.Y2.getMax(c.height,_t.labelBoxHeight);o=r+l,n.Rm.debug(`${l} - ${e.message}`)}s(e),Pt.bumpVerticalPos(o)}function $t(t,e,a,r,s,i,o){function c(a,r){a.x{t.add(e.from),t.add(e.to)})),y=y.filter((e=>t.has(e)))}Ot(h,p,g,y,0,m,!1);const w=await jt(m,p,E,r);function I(t,e){const a=Pt.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),Lt.drawActivation(h,a,e,_t,Yt(t.from).length),Pt.insert(a.startx,e-10,a.stopx,e)}Lt.insertArrowHead(h),Lt.insertArrowCrossHead(h),Lt.insertArrowFilledHead(h),Lt.insertSequenceNumber(h),(0,n.K2)(I,"activeEnd");let L=1,_=1;const P=[],k=[];let A=0;for(const o of m){let t,e,a;switch(o.type){case r.db.LINETYPE.NOTE:Pt.resetVerticalPos(),e=o.noteModel,await kt(h,e);break;case r.db.LINETYPE.ACTIVE_START:Pt.newActivation(o,h,p);break;case r.db.LINETYPE.ACTIVE_END:I(o,Pt.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:Bt(w,o,_t.boxMargin,_t.boxMargin+_t.boxTextMargin,(t=>Pt.newLoop(t)));break;case r.db.LINETYPE.LOOP_END:t=Pt.endLoop(),await Lt.drawLoop(h,t,"loop",_t),Pt.bumpVerticalPos(t.stopy-Pt.getVerticalPos()),Pt.models.addLoop(t);break;case r.db.LINETYPE.RECT_START:Bt(w,o,_t.boxMargin,_t.boxMargin,(t=>Pt.newLoop(void 0,t.message)));break;case r.db.LINETYPE.RECT_END:t=Pt.endLoop(),k.push(t),Pt.models.addLoop(t),Pt.bumpVerticalPos(t.stopy-Pt.getVerticalPos());break;case r.db.LINETYPE.OPT_START:Bt(w,o,_t.boxMargin,_t.boxMargin+_t.boxTextMargin,(t=>Pt.newLoop(t)));break;case r.db.LINETYPE.OPT_END:t=Pt.endLoop(),await Lt.drawLoop(h,t,"opt",_t),Pt.bumpVerticalPos(t.stopy-Pt.getVerticalPos()),Pt.models.addLoop(t);break;case r.db.LINETYPE.ALT_START:Bt(w,o,_t.boxMargin,_t.boxMargin+_t.boxTextMargin,(t=>Pt.newLoop(t)));break;case r.db.LINETYPE.ALT_ELSE:Bt(w,o,_t.boxMargin+_t.boxTextMargin,_t.boxMargin,(t=>Pt.addSectionToLoop(t)));break;case r.db.LINETYPE.ALT_END:t=Pt.endLoop(),await Lt.drawLoop(h,t,"alt",_t),Pt.bumpVerticalPos(t.stopy-Pt.getVerticalPos()),Pt.models.addLoop(t);break;case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:Bt(w,o,_t.boxMargin,_t.boxMargin+_t.boxTextMargin,(t=>Pt.newLoop(t))),Pt.saveVerticalPos();break;case r.db.LINETYPE.PAR_AND:Bt(w,o,_t.boxMargin+_t.boxTextMargin,_t.boxMargin,(t=>Pt.addSectionToLoop(t)));break;case r.db.LINETYPE.PAR_END:t=Pt.endLoop(),await Lt.drawLoop(h,t,"par",_t),Pt.bumpVerticalPos(t.stopy-Pt.getVerticalPos()),Pt.models.addLoop(t);break;case r.db.LINETYPE.AUTONUMBER:L=o.message.start||L,_=o.message.step||_,o.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:Bt(w,o,_t.boxMargin,_t.boxMargin+_t.boxTextMargin,(t=>Pt.newLoop(t)));break;case r.db.LINETYPE.CRITICAL_OPTION:Bt(w,o,_t.boxMargin+_t.boxTextMargin,_t.boxMargin,(t=>Pt.addSectionToLoop(t)));break;case r.db.LINETYPE.CRITICAL_END:t=Pt.endLoop(),await Lt.drawLoop(h,t,"critical",_t),Pt.bumpVerticalPos(t.stopy-Pt.getVerticalPos()),Pt.models.addLoop(t);break;case r.db.LINETYPE.BREAK_START:Bt(w,o,_t.boxMargin,_t.boxMargin+_t.boxTextMargin,(t=>Pt.newLoop(t)));break;case r.db.LINETYPE.BREAK_END:t=Pt.endLoop(),await Lt.drawLoop(h,t,"break",_t),Pt.bumpVerticalPos(t.stopy-Pt.getVerticalPos()),Pt.models.addLoop(t);break;default:try{a=o.msgModel,a.starty=Pt.getVerticalPos(),a.sequenceIndex=L,a.sequenceVisible=r.db.showSequenceNumbers();const t=await Mt(0,a);$t(o,a,t,A,p,g,u),P.push({messageModel:a,lineStartY:t}),Pt.models.addMessage(a)}catch(R){n.Rm.error("error while drawing message",R)}}[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,r.db.LINETYPE.BIDIRECTIONAL_SOLID,r.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(o.type)&&(L+=_),A++}n.Rm.debug("createdActors",g),n.Rm.debug("destroyedActors",u),await St(h,p,y,!1);for(const n of P)await Dt(h,n.messageModel,n.lineStartY,r);_t.mirrorActors&&await St(h,p,y,!0),k.forEach((t=>Lt.drawBackgroundRect(h,t))),st(h,p,y,_t);for(const n of Pt.models.boxes)n.height=Pt.getVerticalPos()-n.y,Pt.insert(n.x,n.y,n.x+n.width,n.height),n.startx=n.x,n.starty=n.y,n.stopx=n.startx+n.width,n.stopy=n.starty+n.height,n.stroke="rgb(0,0,0, 0.5)",Lt.drawBox(h,n,_t);T&&Pt.bumpVerticalPos(_t.boxMargin);const v=Kt(h,p,y,d),{bounds:N}=Pt.getBounds();void 0===N.startx&&(N.startx=0),void 0===N.starty&&(N.starty=0),void 0===N.stopx&&(N.stopx=0),void 0===N.stopy&&(N.stopy=0);let M=N.stopy-N.starty;M{const a=At(_t);let r=e.actorKeys.reduce(((e,a)=>e+(t.get(a).width+(t.get(a).margin||0))),0);r-=2*_t.boxTextMargin,e.wrap&&(e.name=i._K.wrapLabel(e.name,r-2*_t.wrapPadding,a));const o=i._K.calculateTextDimensions(e.name,a);s=n.Y2.getMax(o.height,s);const c=n.Y2.getMax(r,o.width+2*_t.wrapPadding);if(e.margin=_t.boxTextMargin,rt.textMaxHeight=s)),n.Y2.getMax(r,_t.height)}(0,n.K2)(qt,"calculateActorMargins");var zt=(0,n.K2)((async function(t,e,a){const r=e.get(t.from),s=e.get(t.to),o=r.x,c=s.x,l=t.wrap&&t.message;let d=(0,n.Wi)(t.message)?await(0,n.Dl)(t.message,(0,n.D7)()):i._K.calculateTextDimensions(l?i._K.wrapLabel(t.message,_t.width,vt(_t)):t.message,vt(_t));const h={width:l?_t.width:n.Y2.getMax(_t.width,d.width+2*_t.noteMargin),height:0,startx:r.x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(h.width=l?n.Y2.getMax(_t.width,d.width):n.Y2.getMax(r.width/2+s.width/2,d.width+2*_t.noteMargin),h.startx=o+(r.width+_t.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(h.width=l?n.Y2.getMax(_t.width,d.width+2*_t.noteMargin):n.Y2.getMax(r.width/2+s.width/2,d.width+2*_t.noteMargin),h.startx=o-h.width+(r.width-_t.actorMargin)/2):t.to===t.from?(d=i._K.calculateTextDimensions(l?i._K.wrapLabel(t.message,n.Y2.getMax(_t.width,r.width),vt(_t)):t.message,vt(_t)),h.width=l?n.Y2.getMax(_t.width,r.width):n.Y2.getMax(r.width,_t.width,d.width+2*_t.noteMargin),h.startx=o+(r.width-h.width)/2):(h.width=Math.abs(o+r.width/2-(c+s.width/2))+_t.actorMargin,h.startx=o2,g=(0,n.K2)((t=>l?-t:t),"adjustValue");t.from===t.to?h=d:(t.activate&&!p&&(h+=g(_t.activationWidth/2-1)),[a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(h+=g(3)),[a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(d-=g(3)));const u=[r,s,o,c],x=Math.abs(d-h);t.wrap&&t.message&&(t.message=i._K.wrapLabel(t.message,n.Y2.getMax(x+2*_t.wrapPadding,_t.width),At(_t)));const y=i._K.calculateTextDimensions(t.message,At(_t));return{width:n.Y2.getMax(t.wrap?0:y.width+2*_t.wrapPadding,x+2*_t.wrapPadding,_t.width),height:0,startx:d,stopx:h,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,u),toBounds:Math.max.apply(null,u)}}),"buildMessageModel"),jt=(0,n.K2)((async function(t,e,a,r){const s={},o=[];let c,l,d;for(const h of t){switch(h.id=i._K.random({length:10}),h.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:o.push({id:h.id,msg:h.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:h.message&&(c=o.pop(),s[c.id]=c,s[h.id]=c,o.push(c));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:c=o.pop(),s[c.id]=c;break;case r.db.LINETYPE.ACTIVE_START:{const t=e.get(h.from?h.from:h.to.actor),a=Yt(h.from?h.from:h.to.actor).length,r=t.x+t.width/2+(a-1)*_t.activationWidth/2,s={startx:r,stopx:r+_t.activationWidth,actor:h.from,enabled:!0};Pt.activations.push(s)}break;case r.db.LINETYPE.ACTIVE_END:{const t=Pt.activations.map((t=>t.actor)).lastIndexOf(h.from);Pt.activations.splice(t,1).splice(0,1)}}void 0!==h.placement?(l=await zt(h,e,r),h.noteModel=l,o.forEach((t=>{c=t,c.from=n.Y2.getMin(c.from,l.startx),c.to=n.Y2.getMax(c.to,l.startx+l.width),c.width=n.Y2.getMax(c.width,Math.abs(c.from-c.to))-_t.labelBoxWidth}))):(d=Ht(h,e,r),h.msgModel=d,d.startx&&d.stopx&&o.length>0&&o.forEach((t=>{if(c=t,d.startx===d.stopx){const t=e.get(h.from),a=e.get(h.to);c.from=n.Y2.getMin(t.x-d.width/2,t.x-t.width/2,c.from),c.to=n.Y2.getMax(a.x+d.width/2,a.x+t.width/2,c.to),c.width=n.Y2.getMax(c.width,Math.abs(c.to-c.from))-_t.labelBoxWidth}else c.from=n.Y2.getMin(d.startx,c.from),c.to=n.Y2.getMax(d.stopx,c.to),c.width=n.Y2.getMax(c.width,d.width)-_t.labelBoxWidth})))}return Pt.activations=[],n.Rm.debug("Loop type widths:",s),s}),"calculateLoopBounds"),Ut={parser:d,db:H,renderer:{bounds:Pt,drawActors:St,drawActorsPopup:Kt,setConf:Rt,draw:Vt},styles:j,init:(0,n.K2)((({wrap:t})=>{H.setWrap(t)}),"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/7060.3b7c8f1f.js b/pr-preview/pr-4/assets/js/7060.3b7c8f1f.js new file mode 100644 index 0000000..a22116f --- /dev/null +++ b/pr-preview/pr-4/assets/js/7060.3b7c8f1f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[7060],{27060:(t,n,e)=>{e.d(n,{diagram:()=>rt});var i=e(45567),s=e(20007);function r(t,n){let e;if(void 0===n)for(const i of t)null!=i&&(e>i||void 0===e&&i>=i)&&(e=i);else{let i=-1;for(let s of t)null!=(s=n(s,++i,t))&&(e>s||void 0===e&&s>=s)&&(e=s)}return e}function o(t){return t.target.depth}function c(t,n){return t.sourceLinks.length?t.depth:n-1}function a(t,n){let e=0;if(void 0===n)for(let i of t)(i=+i)&&(e+=i);else{let i=-1;for(let s of t)(s=+n(s,++i,t))&&(e+=s)}return e}function l(t,n){let e;if(void 0===n)for(const i of t)null!=i&&(e=i)&&(e=i);else{let i=-1;for(let s of t)null!=(s=n(s,++i,t))&&(e=s)&&(e=s)}return e}function h(t){return function(){return t}}function u(t,n){return y(t.source,n.source)||t.index-n.index}function f(t,n){return y(t.target,n.target)||t.index-n.index}function y(t,n){return t.y0-n.y0}function d(t){return t.value}function p(t){return t.index}function g(t){return t.nodes}function _(t){return t.links}function k(t,n){const e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function x({nodes:t}){for(const n of t){let t=n.y0,e=t;for(const i of n.sourceLinks)i.y0=t+i.width/2,t+=i.width;for(const i of n.targetLinks)i.y1=e+i.width/2,e+=i.width}}function m(){let t,n,e,i=0,s=0,o=1,m=1,v=24,b=8,w=p,L=c,S=g,E=_,A=6;function K(){const c={nodes:S.apply(null,arguments),links:E.apply(null,arguments)};return function({nodes:t,links:n}){for(const[e,s]of t.entries())s.index=e,s.sourceLinks=[],s.targetLinks=[];const i=new Map(t.map(((n,e)=>[w(n,e,t),n])));for(const[e,s]of n.entries()){s.index=e;let{source:t,target:n}=s;"object"!=typeof t&&(t=s.source=k(i,t)),"object"!=typeof n&&(n=s.target=k(i,n)),t.sourceLinks.push(s),n.targetLinks.push(s)}if(null!=e)for(const{sourceLinks:s,targetLinks:r}of t)s.sort(e),r.sort(e)}(c),function({nodes:t}){for(const n of t)n.value=void 0===n.fixedValue?Math.max(a(n.sourceLinks,d),a(n.targetLinks,d)):n.fixedValue}(c),function({nodes:t}){const n=t.length;let e=new Set(t),i=new Set,s=0;for(;e.size;){for(const t of e){t.depth=s;for(const{target:n}of t.sourceLinks)i.add(n)}if(++s>n)throw new Error("circular link");e=i,i=new Set}}(c),function({nodes:t}){const n=t.length;let e=new Set(t),i=new Set,s=0;for(;e.size;){for(const t of e){t.height=s;for(const{source:n}of t.targetLinks)i.add(n)}if(++s>n)throw new Error("circular link");e=i,i=new Set}}(c),function(e){const c=function({nodes:t}){const e=l(t,(t=>t.depth))+1,s=(o-i-v)/(e-1),r=new Array(e);for(const n of t){const t=Math.max(0,Math.min(e-1,Math.floor(L.call(null,n,e))));n.layer=t,n.x0=i+t*s,n.x1=n.x0+v,r[t]?r[t].push(n):r[t]=[n]}if(n)for(const i of r)i.sort(n);return r}(e);t=Math.min(b,(m-s)/(l(c,(t=>t.length))-1)),function(n){const e=r(n,(n=>(m-s-(n.length-1)*t)/a(n,d)));for(const i of n){let n=s;for(const s of i){s.y0=n,s.y1=n+s.value*e,n=s.y1+t;for(const t of s.sourceLinks)t.width=t.value*e}n=(m-n+t)/(i.length+1);for(let t=0;t0))continue;let s=(n/i-t.y0)*e;t.y0+=s,t.y1+=s,P(t)}void 0===n&&r.sort(y),T(r,i)}}function I(t,e,i){for(let s=t.length-2;s>=0;--s){const r=t[s];for(const t of r){let n=0,i=0;for(const{target:e,value:r}of t.sourceLinks){let s=r*(e.layer-t.layer);n+=$(t,e)*s,i+=s}if(!(i>0))continue;let s=(n/i-t.y0)*e;t.y0+=s,t.y1+=s,P(t)}void 0===n&&r.sort(y),T(r,i)}}function T(n,e){const i=n.length>>1,r=n[i];N(n,r.y0-t,i-1,e),D(n,r.y1+t,i+1,e),N(n,m,n.length-1,e),D(n,s,0,e)}function D(n,e,i,s){for(;i1e-6&&(r.y0+=o,r.y1+=o),e=r.y1+t}}function N(n,e,i,s){for(;i>=0;--i){const r=n[i],o=(r.y1-e)*s;o>1e-6&&(r.y0-=o,r.y1-=o),e=r.y0-t}}function P({sourceLinks:t,targetLinks:n}){if(void 0===e){for(const{source:{sourceLinks:t}}of n)t.sort(f);for(const{target:{targetLinks:n}}of t)n.sort(u)}}function C(t){if(void 0===e)for(const{sourceLinks:n,targetLinks:e}of t)n.sort(f),e.sort(u)}function O(n,e){let i=n.y0-(n.sourceLinks.length-1)*t/2;for(const{target:s,width:r}of n.sourceLinks){if(s===e)break;i+=r+t}for(const{source:t,width:s}of e.targetLinks){if(t===n)break;i-=s}return i}function $(n,e){let i=e.y0-(e.targetLinks.length-1)*t/2;for(const{source:s,width:r}of e.targetLinks){if(s===n)break;i+=r+t}for(const{target:t,width:s}of n.sourceLinks){if(t===e)break;i-=s}return i}return K.update=function(t){return x(t),t},K.nodeId=function(t){return arguments.length?(w="function"==typeof t?t:h(t),K):w},K.nodeAlign=function(t){return arguments.length?(L="function"==typeof t?t:h(t),K):L},K.nodeSort=function(t){return arguments.length?(n=t,K):n},K.nodeWidth=function(t){return arguments.length?(v=+t,K):v},K.nodePadding=function(n){return arguments.length?(b=t=+n,K):b},K.nodes=function(t){return arguments.length?(S="function"==typeof t?t:h(t),K):S},K.links=function(t){return arguments.length?(E="function"==typeof t?t:h(t),K):E},K.linkSort=function(t){return arguments.length?(e=t,K):e},K.size=function(t){return arguments.length?(i=s=0,o=+t[0],m=+t[1],K):[o-i,m-s]},K.extent=function(t){return arguments.length?(i=+t[0][0],o=+t[1][0],s=+t[0][1],m=+t[1][1],K):[[i,s],[o,m]]},K.iterations=function(t){return arguments.length?(A=+t,K):A},K}var v=Math.PI,b=2*v,w=1e-6,L=b-w;function S(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function E(){return new S}S.prototype=E.prototype={constructor:S,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,i){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(t,n,e,i,s,r){this._+="C"+ +t+","+ +n+","+ +e+","+ +i+","+(this._x1=+s)+","+(this._y1=+r)},arcTo:function(t,n,e,i,s){t=+t,n=+n,e=+e,i=+i,s=+s;var r=this._x1,o=this._y1,c=e-t,a=i-n,l=r-t,h=o-n,u=l*l+h*h;if(s<0)throw new Error("negative radius: "+s);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(u>w)if(Math.abs(h*c-a*l)>w&&s){var f=e-r,y=i-o,d=c*c+a*a,p=f*f+y*y,g=Math.sqrt(d),_=Math.sqrt(u),k=s*Math.tan((v-Math.acos((d+u-p)/(2*g*_)))/2),x=k/_,m=k/g;Math.abs(x-1)>w&&(this._+="L"+(t+x*l)+","+(n+x*h)),this._+="A"+s+","+s+",0,0,"+ +(h*f>l*y)+","+(this._x1=t+m*c)+","+(this._y1=n+m*a)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,i,s,r){t=+t,n=+n,r=!!r;var o=(e=+e)*Math.cos(i),c=e*Math.sin(i),a=t+o,l=n+c,h=1^r,u=r?i-s:s-i;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+a+","+l:(Math.abs(this._x1-a)>w||Math.abs(this._y1-l)>w)&&(this._+="L"+a+","+l),e&&(u<0&&(u=u%b+b),u>L?this._+="A"+e+","+e+",0,1,"+h+","+(t-o)+","+(n-c)+"A"+e+","+e+",0,1,"+h+","+(this._x1=a)+","+(this._y1=l):u>w&&(this._+="A"+e+","+e+",0,"+ +(u>=v)+","+h+","+(this._x1=t+e*Math.cos(s))+","+(this._y1=n+e*Math.sin(s))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};const A=E;var K=Array.prototype.slice;function M(t){return function(){return t}}function I(t){return t[0]}function T(t){return t[1]}function D(t){return t.source}function N(t){return t.target}function P(t){var n=D,e=N,i=I,s=T,r=null;function o(){var o,c=K.call(arguments),a=n.apply(this,c),l=e.apply(this,c);if(r||(r=o=A()),t(r,+i.apply(this,(c[0]=a,c)),+s.apply(this,c),+i.apply(this,(c[0]=l,c)),+s.apply(this,c)),o)return r=null,o+""||null}return o.source=function(t){return arguments.length?(n=t,o):n},o.target=function(t){return arguments.length?(e=t,o):e},o.x=function(t){return arguments.length?(i="function"==typeof t?t:M(+t),o):i},o.y=function(t){return arguments.length?(s="function"==typeof t?t:M(+t),o):s},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}function C(t,n,e,i,s){t.moveTo(n,e),t.bezierCurveTo(n=(n+i)/2,e,n,s,i,s)}function O(t){return[t.source.x1,t.y0]}function $(t){return[t.target.x0,t.y1]}function j(){return P(C).source(O).target($)}var z=function(){var t=(0,i.K2)((function(t,n,e,i){for(e=e||{},i=t.length;i--;e[t[i]]=n);return e}),"o"),n=[1,9],e=[1,10],s=[1,5,10,12],r={trace:(0,i.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:(0,i.K2)((function(t,n,e,i,s,r,o){var c=r.length-1;switch(s){case 7:const t=i.findOrCreateNode(r[c-4].trim().replaceAll('""','"')),n=i.findOrCreateNode(r[c-2].trim().replaceAll('""','"')),e=parseFloat(r[c].trim());i.addLink(t,n,e);break;case 8:case 9:case 11:this.$=r[c];break;case 10:this.$=r[c-1]}}),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:e},{1:[2,6],7:11,10:[1,12]},t(e,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(s,[2,8]),t(s,[2,9]),{19:[1,16]},t(s,[2,11]),{1:[2,1]},{1:[2,5]},t(e,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:e},{15:18,16:7,17:8,18:n,20:e},{18:[1,19]},t(e,[2,3]),{12:[1,20]},t(s,[2,10]),{15:21,16:7,17:8,18:n,20:e},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:(0,i.K2)((function(t,n){if(!n.recoverable){var e=new Error(t);throw e.hash=n,e}this.trace(t)}),"parseError"),parse:(0,i.K2)((function(t){var n=this,e=[0],s=[],r=[null],o=[],c=this.table,a="",l=0,h=0,u=0,f=o.slice.call(arguments,1),y=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);y.setInput(t,d.yy),d.yy.lexer=y,d.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;o.push(g);var _=y.options&&y.options.ranges;function k(){var t;return"number"!=typeof(t=s.pop()||y.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=n.symbols_[t]||t),t}"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,i.K2)((function(t){e.length=e.length-2*t,r.length=r.length-t,o.length=o.length-t}),"popStack"),(0,i.K2)(k,"lex");for(var x,m,v,b,w,L,S,E,A,K={};;){if(v=e[e.length-1],this.defaultActions[v]?b=this.defaultActions[v]:(null==x&&(x=k()),b=c[v]&&c[v][x]),void 0===b||!b.length||!b[0]){var M="";for(L in A=[],c[v])this.terminals_[L]&&L>2&&A.push("'"+this.terminals_[L]+"'");M=y.showPosition?"Parse error on line "+(l+1)+":\n"+y.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(M,{text:y.match,token:this.terminals_[x]||x,line:y.yylineno,loc:g,expected:A})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+x);switch(b[0]){case 1:e.push(x),r.push(y.yytext),o.push(y.yylloc),e.push(b[1]),x=null,m?(x=m,m=null):(h=y.yyleng,a=y.yytext,l=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(S=this.productions_[b[1]][1],K.$=r[r.length-S],K._$={first_line:o[o.length-(S||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(S||1)].first_column,last_column:o[o.length-1].last_column},_&&(K._$.range=[o[o.length-(S||1)].range[0],o[o.length-1].range[1]]),void 0!==(w=this.performAction.apply(K,[a,h,l,d.yy,b[1],r,o].concat(f))))return w;S&&(e=e.slice(0,-1*S*2),r=r.slice(0,-1*S),o=o.slice(0,-1*S)),e.push(this.productions_[b[1]][0]),r.push(K.$),o.push(K._$),E=c[e[e.length-2]][e[e.length-1]],e.push(E);break;case 3:return!0}}return!0}),"parse")},o=function(){return{EOF:1,parseError:(0,i.K2)((function(t,n){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,n)}),"parseError"),setInput:(0,i.K2)((function(t,n){return this.yy=n||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}),"setInput"),input:(0,i.K2)((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}),"input"),unput:(0,i.K2)((function(t){var n=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===i.length?this.yylloc.first_column:0)+i[i.length-e.length].length-e[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,i.K2)((function(){return this._more=!0,this}),"more"),reject:(0,i.K2)((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})}),"reject"),less:(0,i.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,i.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,i.K2)((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,"")}),"upcomingInput"),showPosition:(0,i.K2)((function(){var t=this.pastInput(),n=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+n+"^"}),"showPosition"),test_match:(0,i.K2)((function(t,n){var e,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1}),"test_match"),next:(0,i.K2)((function(){if(this.done)return this.EOF;var t,n,e,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;rn[0].length)){if(n=e,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,s[r])))return t;if(this._backtrack){n=!1;continue}return!1}if(!this.options.flex)break}return n?!1!==(t=this.test_match(n,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,i.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,i.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,i.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,i.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,i.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,i.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,i.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.K2)((function(t,n,e,i){switch(e){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}}),"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}}}();function c(){this.yy={}}return r.lexer=o,(0,i.K2)(c,"Parser"),c.prototype=r,r.Parser=c,new c}();z.parser=z;var U=z,F=[],W=[],G=new Map,V=(0,i.K2)((()=>{F=[],W=[],G=new Map,(0,i.IU)()}),"clear"),X=class{constructor(t,n,e=0){this.source=t,this.target=n,this.value=e}static{(0,i.K2)(this,"SankeyLink")}},Y=(0,i.K2)(((t,n,e)=>{F.push(new X(t,n,e))}),"addLink"),q=class{constructor(t){this.ID=t}static{(0,i.K2)(this,"SankeyNode")}},Q=(0,i.K2)((t=>{t=i.Y2.sanitizeText(t,(0,i.D7)());let n=G.get(t);return void 0===n&&(n=new q(t),G.set(t,n),W.push(n)),n}),"findOrCreateNode"),R=(0,i.K2)((()=>W),"getNodes"),B=(0,i.K2)((()=>F),"getLinks"),Z=(0,i.K2)((()=>({nodes:W.map((t=>({id:t.ID}))),links:F.map((t=>({source:t.source.ID,target:t.target.ID,value:t.value})))})),"getGraph"),H={nodesMap:G,getConfig:(0,i.K2)((()=>(0,i.D7)().sankey),"getConfig"),getNodes:R,getLinks:B,getGraph:Z,addLink:Y,findOrCreateNode:Q,getAccTitle:i.iN,setAccTitle:i.SV,getAccDescription:i.m7,setAccDescription:i.EI,getDiagramTitle:i.ab,setDiagramTitle:i.ke,clear:V},J=class t{static{(0,i.K2)(this,"Uid")}static{this.count=0}static next(n){return new t(n+ ++t.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}},tt={left:function(t){return t.depth},right:function(t,n){return n-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?r(t.sourceLinks,o)-1:0},justify:c},nt=(0,i.K2)((function(t,n,e,r){const{securityLevel:o,sankey:c}=(0,i.D7)(),a=i.ME.sankey;let l;"sandbox"===o&&(l=(0,s.Ltv)("#i"+n));const h="sandbox"===o?(0,s.Ltv)(l.nodes()[0].contentDocument.body):(0,s.Ltv)("body"),u="sandbox"===o?h.select(`[id="${n}"]`):(0,s.Ltv)(`[id="${n}"]`),f=c?.width??a.width,y=c?.height??a.width,d=c?.useMaxWidth??a.useMaxWidth,p=c?.nodeAlignment??a.nodeAlignment,g=c?.prefix??a.prefix,_=c?.suffix??a.suffix,k=c?.showValues??a.showValues,x=r.db.getGraph(),v=tt[p];m().nodeId((t=>t.id)).nodeWidth(10).nodePadding(10+(k?15:0)).nodeAlign(v).extent([[0,0],[f,y]])(x);const b=(0,s.UMr)(s.zt);u.append("g").attr("class","nodes").selectAll(".node").data(x.nodes).join("g").attr("class","node").attr("id",(t=>(t.uid=J.next("node-")).id)).attr("transform",(function(t){return"translate("+t.x0+","+t.y0+")"})).attr("x",(t=>t.x0)).attr("y",(t=>t.y0)).append("rect").attr("height",(t=>t.y1-t.y0)).attr("width",(t=>t.x1-t.x0)).attr("fill",(t=>b(t.id)));const w=(0,i.K2)((({id:t,value:n})=>k?`${t}\n${g}${Math.round(100*n)/100}${_}`:t),"getText");u.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(x.nodes).join("text").attr("x",(t=>t.x0(t.y1+t.y0)/2)).attr("dy",(k?"0":"0.35")+"em").attr("text-anchor",(t=>t.x0(t.uid=J.next("linearGradient-")).id)).attr("gradientUnits","userSpaceOnUse").attr("x1",(t=>t.source.x1)).attr("x2",(t=>t.target.x0));t.append("stop").attr("offset","0%").attr("stop-color",(t=>b(t.source.id))),t.append("stop").attr("offset","100%").attr("stop-color",(t=>b(t.target.id)))}let E;switch(S){case"gradient":E=(0,i.K2)((t=>t.uid),"coloring");break;case"source":E=(0,i.K2)((t=>b(t.source.id)),"coloring");break;case"target":E=(0,i.K2)((t=>b(t.target.id)),"coloring");break;default:E=S}L.append("path").attr("d",j()).attr("stroke",E).attr("stroke-width",(t=>Math.max(1,t.width))),(0,i.ot)(void 0,u,0,d)}),"draw"),et={draw:nt},it=(0,i.K2)((t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim()),"prepareTextForParsing"),st=U.parse.bind(U);U.parse=t=>st(it(t));var rt={parser:U,db:H,renderer:et}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/72af4c84.6a6710b2.js b/pr-preview/pr-4/assets/js/72af4c84.6a6710b2.js new file mode 100644 index 0000000..1dd4aee --- /dev/null +++ b/pr-preview/pr-4/assets/js/72af4c84.6a6710b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[5514],{51095:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>n,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"docusaurus/tutorial_basics/deploy_your_site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","source":"@site/docs/docusaurus/tutorial_basics/deploy_your_site.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/deploy_your_site","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/deploy_your_site.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":5,"frontMatter":{"sidebar_position":5},"sidebar":"tutorialSidebar","previous":{"title":"Markdown Features","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features"},"next":{"title":"Congratulations!","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations"}}');var o=r(74848),i=r(28453);const n={sidebar_position:5},a="Deploy your site",l={},d=[{value:"Build your site",id:"build-your-site",level:2},{value:"Deploy your site",id:"deploy-your-site-1",level:2}];function c(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"deploy-your-site",children:"Deploy your site"})}),"\n",(0,o.jsxs)(s.p,{children:["Docusaurus is a ",(0,o.jsx)(s.strong,{children:"static-site-generator"})," (also called ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://jamstack.org/",children:"Jamstack"})}),")."]}),"\n",(0,o.jsxs)(s.p,{children:["It builds your site as simple ",(0,o.jsx)(s.strong,{children:"static HTML, JavaScript and CSS files"}),"."]}),"\n",(0,o.jsx)(s.h2,{id:"build-your-site",children:"Build your site"}),"\n",(0,o.jsxs)(s.p,{children:["Build your site ",(0,o.jsx)(s.strong,{children:"for production"}),":"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run build\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The static files are generated in the ",(0,o.jsx)(s.code,{children:"build"})," folder."]}),"\n",(0,o.jsx)(s.h2,{id:"deploy-your-site-1",children:"Deploy your site"}),"\n",(0,o.jsx)(s.p,{children:"Test your production build locally:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run serve\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"build"})," folder is now served at ",(0,o.jsx)(s.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,o.jsxs)(s.p,{children:["You can now deploy the ",(0,o.jsx)(s.code,{children:"build"})," folder ",(0,o.jsx)(s.strong,{children:"almost anywhere"})," easily, ",(0,o.jsx)(s.strong,{children:"for free"})," or very small cost (read the ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://docusaurus.io/docs/deployment",children:"Deployment Guide"})}),")."]})]})}function u(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},28453:(e,s,r)=>{r.d(s,{R:()=>n,x:()=>a});var t=r(96540);const o={},i=t.createContext(o);function n(e){const s=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:n(e.components),t.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/7357.f25f5f38.js b/pr-preview/pr-4/assets/js/7357.f25f5f38.js new file mode 100644 index 0000000..6c7bae2 --- /dev/null +++ b/pr-preview/pr-4/assets/js/7357.f25f5f38.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[7357],{77357:(t,e,n)=>{n.d(e,{diagram:()=>J});var i=n(45567),s=n(20007),r=n(3219),a=n(78041),o=n(75263),c=function(){var t=(0,i.K2)((function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n}),"o"),e=[6,8,10,11,12,14,16,17,20,21],n=[1,9],s=[1,10],r=[1,11],a=[1,12],o=[1,13],c=[1,16],l=[1,17],h={trace:(0,i.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:(0,i.K2)((function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.getCommonDb().setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 9:this.$=r[o].trim(),i.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=r[o].trim(),i.getCommonDb().setAccDescription(this.$);break;case 12:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 15:i.addTask(r[o],0,""),this.$=r[o];break;case 16:i.addEvent(r[o].substr(2)),this.$=r[o]}}),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:s,14:r,16:a,17:o,18:14,19:15,20:c,21:l},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:n,12:s,14:r,16:a,17:o,18:14,19:15,20:c,21:l},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:(0,i.K2)((function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)}),"parseError"),parse:(0,i.K2)((function(t){var e=this,n=[0],s=[],r=[null],a=[],o=this.table,c="",l=0,h=0,d=0,u=a.slice.call(arguments,1),p=Object.create(this.lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=this.yy[g]);p.setInput(t,y.yy),y.yy.lexer=p,y.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;a.push(f);var m=p.options&&p.options.ranges;function x(){var t;return"number"!=typeof(t=s.pop()||p.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,i.K2)((function(t){n.length=n.length-2*t,r.length=r.length-t,a.length=a.length-t}),"popStack"),(0,i.K2)(x,"lex");for(var b,k,_,w,v,K,S,$,E,T={};;){if(_=n[n.length-1],this.defaultActions[_]?w=this.defaultActions[_]:(null==b&&(b=x()),w=o[_]&&o[_][b]),void 0===w||!w.length||!w[0]){var I="";for(K in E=[],o[_])this.terminals_[K]&&K>2&&E.push("'"+this.terminals_[K]+"'");I=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(I,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:f,expected:E})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+b);switch(w[0]){case 1:n.push(b),r.push(p.yytext),a.push(p.yylloc),n.push(w[1]),b=null,k?(b=k,k=null):(h=p.yyleng,c=p.yytext,l=p.yylineno,f=p.yylloc,d>0&&d--);break;case 2:if(S=this.productions_[w[1]][1],T.$=r[r.length-S],T._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},m&&(T._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),void 0!==(v=this.performAction.apply(T,[c,h,l,y.yy,w[1],r,a].concat(u))))return v;S&&(n=n.slice(0,-1*S*2),r=r.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[w[1]][0]),r.push(T.$),a.push(T._$),$=o[n[n.length-2]][n[n.length-1]],n.push($);break;case 3:return!0}}return!0}),"parse")},d=function(){return{EOF:1,parseError:(0,i.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,i.K2)((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}),"setInput"),input:(0,i.K2)((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}),"input"),unput:(0,i.K2)((function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,i.K2)((function(){return this._more=!0,this}),"more"),reject:(0,i.K2)((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})}),"reject"),less:(0,i.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,i.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,i.K2)((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,"")}),"upcomingInput"),showPosition:(0,i.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,i.K2)((function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1}),"test_match"),next:(0,i.K2)((function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,i.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,i.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,i.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,i.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,i.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,i.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,i.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.K2)((function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}}),"anonymous"),rules:[/^(?:%(?!\{)[^\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:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}}}();function u(){this.yy={}}return h.lexer=d,(0,i.K2)(u,"Parser"),u.prototype=h,h.Parser=u,new u}();c.parser=c;var l=c,h={};(0,i.VA)(h,{addEvent:()=>w,addSection:()=>x,addTask:()=>_,addTaskOrg:()=>v,clear:()=>m,default:()=>S,getCommonDb:()=>f,getSections:()=>b,getTasks:()=>k});var d="",u=0,p=[],y=[],g=[],f=(0,i.K2)((()=>i.Wt),"getCommonDb"),m=(0,i.K2)((function(){p.length=0,y.length=0,d="",g.length=0,(0,i.IU)()}),"clear"),x=(0,i.K2)((function(t){d=t,p.push(t)}),"addSection"),b=(0,i.K2)((function(){return p}),"getSections"),k=(0,i.K2)((function(){let t=K();let e=0;for(;!t&&e<100;)t=K(),e++;return y.push(...g),y}),"getTasks"),_=(0,i.K2)((function(t,e,n){const i={id:u++,section:d,type:d,task:t,score:e||0,events:n?[n]:[]};g.push(i)}),"addTask"),w=(0,i.K2)((function(t){g.find((t=>t.id===u-1)).events.push(t)}),"addEvent"),v=(0,i.K2)((function(t){const e={section:d,type:d,description:t,task:t,classes:[]};y.push(e)}),"addTaskOrg"),K=(0,i.K2)((function(){const t=(0,i.K2)((function(t){return g[t].processed}),"compileTask");let e=!0;for(const[n,i]of g.entries())t(n),e=e&&i.processed;return e}),"compileTasks"),S={clear:m,getCommonDb:f,addSection:x,getSections:b,getTasks:k,addTask:_,addTaskOrg:v,addEvent:w},$=(0,i.K2)((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}),"drawRect"),E=(0,i.K2)((function(t,e){const n=15,r=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",n).attr("stroke-width",2).attr("overflow","visible"),a=t.append("g");function o(t){const i=(0,s.JLW)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function c(t){const i=(0,s.JLW)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function l(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 a.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"),a.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"),(0,i.K2)(o,"smile"),(0,i.K2)(c,"sad"),(0,i.K2)(l,"ambivalent"),e.score>3?o(a):e.score<3?c(a):l(a),r}),"drawFace"),T=(0,i.K2)((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}),"drawCircle"),I=(0,i.K2)((function(t,e){const n=e.text.replace(//gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const s=i.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(n),i}),"drawText"),R=(0,i.K2)((function(t,e){function n(t,e,n,i,s){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-s)+" "+(t+n-1.2*s)+","+(e+i)+" "+t+","+(e+i)}(0,i.K2)(n,"genPoints");const s=t.append("polygon");s.attr("points",n(e.x,e.y,50,20,7)),s.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,I(t,e)}),"drawLabel"),A=(0,i.K2)((function(t,e,n){const i=t.append("g"),s=P();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=n.width,s.height=n.height,s.class="journey-section section-type-"+e.num,s.rx=3,s.ry=3,$(i,s),H(n)(e.text,i,s.x,s.y,s.width,s.height,{class:"journey-section section-type-"+e.num},n,e.colour)}),"drawSection"),L=-1,M=(0,i.K2)((function(t,e,n){const i=e.x+n.width/2,s=t.append("g");L++;s.append("line").attr("id","task"+L).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),E(s,{cx:i,cy:300+30*(5-e.score),score:e.score});const r=P();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width,r.height=n.height,r.class="task task-type-"+e.num,r.rx=3,r.ry=3,$(s,r),H(n)(e.task,s,r.x,r.y,r.width,r.height,{class:"task"},n,e.colour)}),"drawTask"),C=(0,i.K2)((function(t,e){$(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()}),"drawBackgroundRect"),N=(0,i.K2)((function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}}),"getTextObj"),P=(0,i.K2)((function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}}),"getNoteRect"),H=function(){function t(t,e,n,i,r,a,o,c){s(e.append("text").attr("x",n+r/2).attr("y",i+a/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function e(t,e,n,i,r,a,o,c,l){const{taskFontSize:h,taskFontFamily:d}=c,u=t.split(//gi);for(let p=0;p)/).reverse(),r=[],a=n.attr("y"),o=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",o+"em");for(let s=0;se||"
    "===t)&&(r.pop(),c.text(r.join(" ").trim()),r="
    "===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))}))}(0,i.K2)(j,"wrap");var D=(0,i.K2)((function(t,e,n,i){const s=n%12-1,r=t.append("g");e.section=s,r.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+s);const a=r.append("g"),o=r.append("g"),c=o.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(j,e.width).node().getBBox(),l=i.fontSize?.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=c.height+1.1*l*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,o.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),W(a,e,s,i),e}),"drawNode"),z=(0,i.K2)((function(t,e,n){const i=t.append("g"),s=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(j,e.width).node().getBBox(),r=n.fontSize?.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),s.height+1.1*r*.5+e.padding}),"getVirtualNodeHeight"),W=(0,i.K2)((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)}),"defaultBkg"),B={drawRect:$,drawCircle:T,drawSection:A,drawText:I,drawLabel:R,drawTask:M,drawBackgroundRect:C,getTextObj:N,getNoteRect:P,initGraphics:O,drawNode:D,getVirtualNodeHeight:z},F=(0,i.K2)((function(t,e,n,r){const a=(0,i.D7)(),o=a.leftMargin??50;i.Rm.debug("timeline",r.db);const c=a.securityLevel;let l;"sandbox"===c&&(l=(0,s.Ltv)("#i"+e));const h=("sandbox"===c?(0,s.Ltv)(l.nodes()[0].contentDocument.body):(0,s.Ltv)("body")).select("#"+e);h.append("g");const d=r.db.getTasks(),u=r.db.getCommonDb().getDiagramTitle();i.Rm.debug("task",d),B.initGraphics(h);const p=r.db.getSections();i.Rm.debug("sections",p);let y=0,g=0,f=0,m=0,x=50+o,b=50;m=50;let k=0,_=!0;p.forEach((function(t){const e={number:k,descr:t,section:k,width:150,padding:20,maxHeight:y},n=B.getVirtualNodeHeight(h,e,a);i.Rm.debug("sectionHeight before draw",n),y=Math.max(y,n+20)}));let w=0,v=0;i.Rm.debug("tasks.length",d.length);for(const[s,S]of d.entries()){const t={number:s,descr:S,section:S.section,width:150,padding:20,maxHeight:g},e=B.getVirtualNodeHeight(h,t,a);i.Rm.debug("taskHeight before draw",e),g=Math.max(g,e+20),w=Math.max(w,S.events.length);let n=0;for(const i of S.events){const t={descr:i,section:S.section,number:S.section,width:150,padding:20,maxHeight:50};n+=B.getVirtualNodeHeight(h,t,a)}v=Math.max(v,n)}i.Rm.debug("maxSectionHeight before draw",y),i.Rm.debug("maxTaskHeight before draw",g),p&&p.length>0?p.forEach((t=>{const e=d.filter((e=>e.section===t)),n={number:k,descr:t,section:k,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:y};i.Rm.debug("sectionNode",n);const s=h.append("g"),r=B.drawNode(s,n,k,a);i.Rm.debug("sectionNode output",r),s.attr("transform",`translate(${x}, 50)`),b+=y+50,e.length>0&&V(h,e,k,x,b,g,a,w,v,y,!1),x+=200*Math.max(e.length,1),b=50,k++})):(_=!1,V(h,d,k,x,b,g,a,w,v,y,!0));const K=h.node().getBBox();i.Rm.debug("bounds",K),u&&h.append("text").text(u).attr("x",K.width/2-o).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),f=_?y+g+150:g+100;h.append("g").attr("class","lineWrapper").append("line").attr("x1",o).attr("y1",f).attr("x2",K.width+3*o).attr("y2",f).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.ot)(void 0,h,a.timeline?.padding??50,a.timeline?.useMaxWidth??!1)}),"draw"),V=(0,i.K2)((function(t,e,n,s,r,a,o,c,l,h,d){for(const u of e){const e={descr:u.task,section:n,number:n,width:150,padding:20,maxHeight:a};i.Rm.debug("taskNode",e);const c=t.append("g").attr("class","taskWrapper"),p=B.drawNode(c,e,n,o).height;if(i.Rm.debug("taskHeight after draw",p),c.attr("transform",`translate(${s}, ${r})`),a=Math.max(a,p),u.events){const e=t.append("g").attr("class","lineWrapper");let i=a;r+=100,i+=G(t,u.events,n,s,r,o),r-=100,e.append("line").attr("x1",s+95).attr("y1",r+a).attr("x2",s+95).attr("y2",r+a+(d?a:h)+l+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}s+=200,d&&!o.timeline?.disableMulticolor&&n++}r-=10}),"drawTasks"),G=(0,i.K2)((function(t,e,n,s,r,a){let o=0;const c=r;r+=100;for(const l of e){const e={descr:l,section:n,number:n,width:150,padding:20,maxHeight:50};i.Rm.debug("eventNode",e);const c=t.append("g").attr("class","eventWrapper"),h=B.drawNode(c,e,n,a).height;o+=h,c.attr("transform",`translate(${s}, ${r})`),r=r+10+h}return r=c,o}),"drawEvents"),U={setConf:(0,i.K2)((()=>{}),"setConf"),draw:F},q=(0,i.K2)((t=>{let e="";for(let n=0;n`\n .edge {\n stroke-width: 3;\n }\n ${q(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`),"getStyles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/7595.5909c0c9.js b/pr-preview/pr-4/assets/js/7595.5909c0c9.js new file mode 100644 index 0000000..e2daefe --- /dev/null +++ b/pr-preview/pr-4/assets/js/7595.5909c0c9.js @@ -0,0 +1,2 @@ +/*! For license information please see 7595.5909c0c9.js.LICENSE.txt */ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[7595],{20899:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;t.Cache=class{constructor(e={}){this._stats={hits:0,misses:0},this._data={},this._stdTTL=e.stdTTL}get stats(){return this._stats}get(e){const t=this._data[e];if(t&&(!this._stdTTL||(new Date).getTime()-t.ts{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveCrawler=void 0;const n=r(2535),a=r(55131),o=r(58156),u=r(26672);t.ResolveCrawler=class{constructor(e,t,r){this._resolved=r,this.resolvers=[],this.pointerGraph=new a.DepGraph({circular:!0}),this.pointerStemGraph=new a.DepGraph({circular:!0}),this.computeGraph=(e,t=[],r="#",n=[])=>{r||(r="#");let a=this._runner.computeRef({val:e,jsonPointer:r,pointerStack:n});if(void 0!==a)this._resolveRef({ref:a,val:e,parentPath:t,pointerStack:n,parentPointer:r,cacheKey:r,resolvingPointer:this.jsonPointer});else if("object"==typeof e)for(const o in e){if(!e.hasOwnProperty(o))continue;const i=e[o],l=u.addToJSONPointer(r,o);a=this._runner.computeRef({key:o,val:i,jsonPointer:l,pointerStack:n}),t.push(o),void 0!==a?this._resolveRef({ref:a,val:i,parentPath:t,parentPointer:l,pointerStack:n,cacheKey:u.uriToJSONPointer(a),resolvingPointer:this.jsonPointer}):"object"==typeof i&&this.computeGraph(i,t,l,n),t.pop()}},this._resolveRef=e=>{const{pointerStack:t,parentPath:r,parentPointer:a,ref:i}=e;if(u.uriIsJSONPointer(i)){if(this._runner.dereferenceInline){const e=u.uriToJSONPointer(i);let s;try{s=(0,n.pointerToPath)(e)}catch(l){return void this._resolved.errors.push({code:"PARSE_POINTER",message:`'${i}' JSON pointer is invalid`,uri:this._runner.baseUri,uriStack:this._runner.uriStack,pointerStack:[],path:[]})}let c=s.length>0;for(const t in s)if(r[t]!==s[t]){c=!1;break}if(c)return;this.pointerStemGraph.hasNode(e)||this.pointerStemGraph.addNode(e);let f="#",d="";for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultGetRef=t.Cache=void 0;r(31635).__exportStar(r(90163),t);var n=r(20899);Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return n.Cache}});var a=r(65799);Object.defineProperty(t,"defaultGetRef",{enumerable:!0,get:function(){return a.defaultGetRef}})},90163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Resolver=void 0;const n=r(55131),a=r(20899),o=r(65799);t.Resolver=class{constructor(e={}){this.ctx={},this.uriCache=e.uriCache||new a.Cache,this.resolvers=e.resolvers||{},this.getRef=e.getRef,this.transformRef=e.transformRef,this.dereferenceInline=void 0===e.dereferenceInline||e.dereferenceInline,this.dereferenceRemote=void 0===e.dereferenceRemote||e.dereferenceRemote,this.parseResolveResult=e.parseResolveResult,this.transformDereferenceResult=e.transformDereferenceResult,this.ctx=e.ctx}resolve(e,t={}){const r=new n.DepGraph({circular:!0});return new o.ResolveRunner(e,r,Object.assign(Object.assign({uriCache:this.uriCache,resolvers:this.resolvers,getRef:this.getRef,transformRef:this.transformRef,dereferenceInline:this.dereferenceInline,dereferenceRemote:this.dereferenceRemote,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult},t),{ctx:Object.assign({},this.ctx||{},t.ctx||{})})).resolve(t)}}},65799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveRunner=t.defaultGetRef=void 0;const n=r(31635),a=r(2535),o=r(58851),u=r(55131),i=r(75878),l=r(58156),s=r(63560),c=r(84193),f=r(32735),d=r(20899),h=r(20349),p=r(26672),m=r(74987);let v=0;t.defaultGetRef=(e,t)=>{if(t&&"object"==typeof t&&"string"==typeof t.$ref)return t.$ref};class g{constructor(e,r=new u.DepGraph({circular:!0}),i={}){this.ctx={},this.computeRef=e=>{const t=this.getRef(e.key,e.val);if(void 0===t)return;let r=new f.ExtendedURI(t);if("#"!==t[0]){if(this.isFile(r)){let e=r.toString();r.is("absolute")||(e=this.baseUri.toString()?(0,o.join)((0,o.dirname)(this.baseUri.toString()),(0,o.stripRoot)(e)):""),e&&(r=new c((0,o.toFSPath)(e)).fragment(r.fragment()))}else(r.scheme().includes("http")||""===r.scheme()&&this.baseUri.scheme().includes("http"))&&""!==this.baseUri.authority()&&""===r.authority()&&(r=r.absoluteTo(this.baseUri))}return String(r).length>0&&this.isFile(this.baseUri)&&this.isFile(r)&&this.baseUri.path()===r.path()&&(r=new f.ExtendedURI(`#${r.fragment()}`)),this.transformRef?this.transformRef(Object.assign(Object.assign({},e),{ref:r,uri:this.baseUri}),this.ctx):r},this.atMaxUriDepth=()=>this.uriStack.length>=100,this.lookupUri=e=>n.__awaiter(this,void 0,void 0,(function*(){const{ref:t}=e;let r=t.scheme();!this.resolvers[r]&&this.isFile(t)&&(r="file");const n=this.resolvers[r];if(!n)throw new Error(`No resolver defined for scheme '${t.scheme()||"file"}' in ref ${t.toString()}`);let a=yield n.resolve(t,this.ctx);if(this.parseResolveResult)try{a=(yield this.parseResolveResult({uriResult:a,result:a,targetAuthority:t,parentAuthority:this.baseUri,parentPath:e.parentPath,fragment:e.fragment})).result}catch(o){throw new Error(`Could not parse remote reference response for '${t.toString()}' - ${String(o)}`)}return new g(a,this.graph,{depth:this.depth+1,baseUri:t.toString(),root:t,uriStack:this.uriStack,uriCache:this.uriCache,resolvers:this.resolvers,transformRef:this.transformRef,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult,dereferenceRemote:this.dereferenceRemote,dereferenceInline:this.dereferenceInline,ctx:this.ctx})})),this.lookupAndResolveUri=e=>n.__awaiter(this,void 0,void 0,(function*(){const{val:t,ref:r,resolvingPointer:n,parentPointer:o,pointerStack:u}=e,i=e.parentPath?e.parentPath.slice():[],l=this.computeUriCacheKey(r),c={uri:r,pointerStack:u,targetPath:n===o?[]:i};if(this.uriStack.includes(l))return c.resolved={result:t,graph:this.graph,refMap:{},errors:[],runner:this},c;{let e;const n=this.baseUri.toString(),o=n&&0!==this.depth?n:null;try{if(this.atMaxUriDepth())throw new Error(`Max uri depth (${this.uriStack.length}) reached. Halting, this is probably a circular loop.`);e=yield this.lookupUri({ref:r.clone().fragment(""),fragment:r.fragment(),cacheKey:l,parentPath:i}),o&&(e.uriStack=e.uriStack.concat(o))}catch(f){c.error={code:"RESOLVE_URI",message:String(f),uri:r,uriStack:o?this.uriStack.concat(o):this.uriStack,pointerStack:u,path:i}}if(e&&(c.resolved=yield e.resolve({jsonPointer:p.uriToJSONPointer(r),parentPath:i}),c.resolved.errors.length))for(const u of c.resolved.errors)if("POINTER_MISSING"===u.code&&u.path.join("/")===r.fragment().slice(1)){const e=r.fragment?(0,a.trimStart)(u.path,(0,a.trimStart)(r.fragment(),"/").split("/")):u.path;e&&e.length?s(c.resolved.result,e,t):c.resolved.result&&(c.resolved.result=t)}}return c})),this.id=v+=1,this.depth=i.depth||0,this._source=e,this.resolvers=i.resolvers||{};const l=i.baseUri||"";let h=new c(l||"");this.isFile(h)&&(h=new c((0,o.toFSPath)(l))),this.baseUri=h,this.uriStack=i.uriStack||[],this.uriCache=i.uriCache||new d.Cache,this.root=i.root&&i.root.toString()||this.baseUri.toString()||"root",this.graph=r,this.graph.hasNode(this.root)||this.graph.addNode(this.root,{refMap:{},data:this._source}),this.baseUri&&0===this.depth&&this.uriCache.set(this.computeUriCacheKey(this.baseUri),this),this.getRef=i.getRef||t.defaultGetRef,this.transformRef=i.transformRef,this.depth?this.dereferenceInline=!0:this.dereferenceInline=void 0===i.dereferenceInline||i.dereferenceInline,this.dereferenceRemote=void 0===i.dereferenceRemote||i.dereferenceRemote,this.parseResolveResult=i.parseResolveResult,this.transformDereferenceResult=i.transformDereferenceResult,this.ctx=i.ctx,this.lookupUri=m(this.lookupUri,{serializer:this._cacheKeySerializer,cache:{create:()=>this.uriCache}})}get source(){return this._source}resolve(e){return n.__awaiter(this,void 0,void 0,(function*(){const t={result:this.source,graph:this.graph,refMap:{},errors:[],runner:this};let r;const n=e&&e.jsonPointer&&e.jsonPointer.trim();if(n&&"#"!==n&&"#/"!==n){try{r=(0,a.pointerToPath)(n)}catch(f){return t.errors.push({code:"PARSE_POINTER",message:`'${n}' JSON pointer is invalid`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:[]}),t}t.result=l(t.result,r)}if(void 0===t.result)return t.errors.push({code:"POINTER_MISSING",message:`'${n}' does not exist @ '${this.baseUri.toString()}'`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:r||[]}),t;const o=new h.ResolveCrawler(this,n,t);o.computeGraph(t.result,r,n||"");let u=[];if(o.resolvers.length&&(u=yield Promise.all(o.resolvers)),u.length)for(const e of u){let n=e.targetPath;n.length||(n=r||[]),t.refMap[String(this.baseUri.clone().fragment((0,a.pathToPointer)(n)))]=String(e.uri),this._setGraphNodeEdge(String(this.root),(0,a.pathToPointer)(n),String(e.uri)),e.error&&t.errors.push(e.error),e.resolved&&(e.resolved.errors&&(t.errors=t.errors.concat(e.resolved.errors)),void 0!==e.resolved.result&&(this._source=(0,i.default)(this._source,(t=>{if(e.resolved){if(!n.length)return e.resolved.result;s(t,n,e.resolved.result),this._setGraphNodeData(String(e.uri),e.resolved.result)}}))))}if("object"==typeof this._source?(this.dereferenceInline&&(this._source=(0,i.default)(this._source,(e=>{let r=[];try{r=o.pointerGraph.overallOrder();for(const n of r){const r=o.pointerGraph.dependantsOf(n);if(!r.length)continue;const u=(0,a.pointerToPath)(n),c=0===u.length?(0,i.original)(e):l(e,u);for(const i of r){let r;const l=(0,a.pointerToPath)(i),f=o.pointerStemGraph.dependenciesOf(n);for(const e of f)if((0,a.startsWith)(l,(0,a.pointerToPath)(e))){r=!0;break}r||(t.refMap[(0,a.pathToPointer)(l)]=(0,a.pathToPointer)(u),this._setGraphNodeEdge(this.root,(0,a.pathToPointer)(l),(0,a.pathToPointer)(u)),void 0!==c?(s(e,l,c),this._setGraphNodeData((0,a.pathToPointer)(u),c)):t.errors.push({code:"POINTER_MISSING",message:`'${n}' does not exist`,path:l,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[]}))}}}catch(n){}}))),t.result=r?l(this._source,r):this._source):t.result=this._source,this.transformDereferenceResult){const a=new c(n||"");try{const{result:r,error:n}=yield this.transformDereferenceResult({source:this.source,result:t.result,targetAuthority:a,parentAuthority:this.baseUri,parentPath:e&&e.parentPath||[],fragment:a.fragment()});if(t.result=r,n)throw new Error(`Could not transform dereferenced result for '${a.toString()}' - ${String(n)}`)}catch(d){t.errors.push({code:"TRANSFORM_DEREFERENCED",message:`Error: Could not transform dereferenced result for '${this.baseUri.toString()}${""!==a.fragment()?`#${a.fragment()}`:""}' - ${String(d)}`,uri:a,uriStack:this.uriStack,pointerStack:[],path:r})}}return this._setGraphNodeData(this.root,this._source),t}))}_cacheKeySerializer(e){return e&&"object"==typeof e&&e.cacheKey?e.cacheKey:JSON.stringify(arguments)}computeUriCacheKey(e){return e.clone().fragment("").toString()}isFile(e){const t=e.scheme();if("file"===t)return!0;if(t){if(!this.resolvers[t])return!0}else{if("/"===e.toString().charAt(0))return!0;if(this.baseUri){const e=this.baseUri.scheme();return Boolean(!e||"file"===e||!this.resolvers[e])}}return!1}_setGraphNodeData(e,t){if(!this.graph.hasNode(e))return;const r=this.graph.getNodeData(e)||{};r.data=t,this.graph.setNodeData(e,r)}_setGraphNodeEdge(e,t,r){if(!this.graph.hasNode(e))return;const n=this.graph.getNodeData(e)||{};n.refMap=n.refMap||{},n.refMap[t]=r,this.graph.setNodeData(e,n)}}t.ResolveRunner=g},32735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedURI=void 0;const n=r(84193);t.ExtendedURI=class extends n{constructor(e){super(e),this._value=e.trim()}get length(){return this._value.length}}},26672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriIsJSONPointer=t.uriToJSONPointer=t.addToJSONPointer=void 0;const r=(e,t,r)=>{const n=e.toString();let a="",o=n,u=0,i=o.indexOf(t);for(;i>-1;)a+=n.substring(u,u+i)+r,o=o.substring(i+t.length,o.length),u+=i+t.length,i=o.indexOf(t);return o.length>0&&(a+=n.substring(n.length-o.length,n.length)),a};t.addToJSONPointer=(e,t)=>{return`${e}/${n=t,r(r(n,"~","~0"),"/","~1")}`;var n};t.uriToJSONPointer=e=>"length"in e&&0===e.length?"":""!==e.fragment()?`#${e.fragment()}`:""===e.href()?"#":"";t.uriIsJSONPointer=e=>(!("length"in e)||e.length>0)&&""===e.path()},2535:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BUNDLE_ROOT:()=>ne,ERRORS_ROOT:()=>ae,KEYS:()=>Re,bundleTarget:()=>oe,decodePointer:()=>V,decodePointerFragment:()=>ie,decodePointerUriFragment:()=>V,decycle:()=>le,encodePointer:()=>se,encodePointerFragment:()=>L,encodePointerUriFragment:()=>F,encodeUriPointer:()=>z,extractPointerFromRef:()=>ce,extractSourceFromRef:()=>X,getFirstPrimitiveProperty:()=>fe,getJsonPathForPosition:()=>de,getLastPathSegment:()=>he,getLocationForJsonPath:()=>pe,hasRef:()=>D,isExternalRef:()=>Z,isLocalRef:()=>N,isPlainObject:()=>A,parseTree:()=>ve,parseWithPointers:()=>me,pathToPointer:()=>U,pointerToPath:()=>B,remapRefs:()=>K,renameObjectKey:()=>be,reparentBundleTarget:()=>Oe,resolveExternalRef:()=>we,resolveExternalRefWithLocation:()=>Pe,resolveInlineRef:()=>te,resolveInlineRefWithLocation:()=>re,safeParse:()=>xe,safeStringify:()=>ke,startsWith:()=>Ce,stringify:()=>Ae,toPropertyPath:()=>Me,trapAccess:()=>Ne,traverse:()=>G,trimStart:()=>Te});var n,a=r(2543),o=r(58851);function u(e,t){void 0===t&&(t=!1);var r=e.length,n=0,a="",o=0,u=16,c=0,f=0,d=0,h=0,p=0;function m(t,r){for(var a=0,o=0;a=48&&u<=57)o=16*o+u-48;else if(u>=65&&u<=70)o=16*o+u-65+10;else{if(!(u>=97&&u<=102))break;o=16*o+u-97+10}n++,a++}return a=r)return o=r,u=17;var t=e.charCodeAt(n);if(i(t)){do{n++,a+=String.fromCharCode(t),t=e.charCodeAt(n)}while(i(t));return u=15}if(l(t))return n++,a+=String.fromCharCode(t),13===t&&10===e.charCodeAt(n)&&(n++,a+="\n"),c++,d=n,u=14;switch(t){case 123:return n++,u=1;case 125:return n++,u=2;case 91:return n++,u=3;case 93:return n++,u=4;case 58:return n++,u=6;case 44:return n++,u=5;case 34:return n++,a=function(){for(var t="",a=n;;){if(n>=r){t+=e.substring(a,n),p=2;break}var o=e.charCodeAt(n);if(34===o){t+=e.substring(a,n),n++;break}if(92!==o){if(o>=0&&o<=31){if(l(o)){t+=e.substring(a,n),p=2;break}p=6}n++}else{if(t+=e.substring(a,n),++n>=r){p=2;break}switch(e.charCodeAt(n++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var u=m(4,!0);u>=0?t+=String.fromCharCode(u):p=4;break;default:p=5}a=n}}return t}(),u=10;case 47:var v=n-1;if(47===e.charCodeAt(n+1)){for(n+=2;n=12&&e<=15);return e}:v,getToken:function(){return u},getTokenValue:function(){return a},getTokenOffset:function(){return o},getTokenLength:function(){return n-o},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return o-h},getTokenError:function(){return p}}}function i(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function l(e){return 10===e||13===e||8232===e||8233===e}function s(e){return e>=48&&e<=57}function c(e,t,r){void 0===r&&(r=n.DEFAULT);var a=u(e,!1);function o(e){return e?function(){return e(a.getTokenOffset(),a.getTokenLength(),a.getTokenStartLine(),a.getTokenStartCharacter())}:function(){return!0}}function i(e){return e?function(t){return e(t,a.getTokenOffset(),a.getTokenLength(),a.getTokenStartLine(),a.getTokenStartCharacter())}:function(){return!0}}var l=o(t.onObjectBegin),s=i(t.onObjectProperty),c=o(t.onObjectEnd),f=o(t.onArrayBegin),d=o(t.onArrayEnd),h=i(t.onLiteralValue),p=i(t.onSeparator),m=o(t.onComment),v=i(t.onError),g=r&&r.disallowComments,y=r&&r.allowTrailingComma;function _(){for(;;){var e=a.scan();switch(a.getTokenError()){case 4:b(14);break;case 5:b(15);break;case 3:b(13);break;case 1:g||b(11);break;case 2:b(12);break;case 6:b(16)}switch(e){case 12:case 13:g?b(10):m();break;case 16:b(1);break;case 15:case 14:break;default:return e}}}function b(e,t,r){if(void 0===t&&(t=[]),void 0===r&&(r=[]),v(e),t.length+r.length>0)for(var n=a.getToken();17!==n;){if(-1!==t.indexOf(n)){_();break}if(-1!==r.indexOf(n))break;n=_()}}function E(e){var t=a.getTokenValue();return e?h(t):s(t),_(),!0}function O(){switch(a.getToken()){case 3:return function(){f(),_();for(var e=!1;4!==a.getToken()&&17!==a.getToken();){if(5===a.getToken()){if(e||b(4,[],[]),p(","),_(),4===a.getToken()&&y)break}else e&&b(6,[],[]);O()||b(4,[],[4,5]),e=!0}return d(),4!==a.getToken()?b(8,[4],[]):_(),!0}();case 1:return function(){l(),_();for(var e=!1;2!==a.getToken()&&17!==a.getToken();){if(5===a.getToken()){if(e||b(4,[],[]),p(","),_(),2===a.getToken()&&y)break}else e&&b(6,[],[]);(10!==a.getToken()?(b(3,[],[2,5]),0):(E(!1),6===a.getToken()?(p(":"),_(),O()||b(4,[],[2,5])):b(5,[],[2,5]),1))||b(4,[],[2,5]),e=!0}return c(),2!==a.getToken()?b(7,[2],[]):_(),!0}();case 10:return E(!0);default:return function(){switch(a.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(a.getTokenValue()))&&(b(2),e=0)}catch(t){b(2)}h(e);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return _(),!0}()}}return _(),17===a.getToken()?!!r.allowEmptyContent||(b(4,[],[]),!1):O()?(17!==a.getToken()&&b(9,[],[]),!0):(b(4,[],[]),!1)}!function(e){e.DEFAULT={allowTrailingComma:!1}}(n||(n={}));var f=u,d=function e(t,r,n){if(void 0===n&&(n=!1),function(e,t,r){return void 0===r&&(r=!1),t>=e.offset&&t"}const v=`__object_order_${Math.floor(Date.now()/36e5)}__`,g=Symbol.for(v),y=(String(g),{defineProperty:(e,t,r)=>(!Object.prototype.hasOwnProperty.call(e,t)&&g in e?e[g].push(t):"value"in r&&t===g&&-1===r.value.lastIndexOf(g)&&r.value.push(g),Reflect.defineProperty(e,t,r)),deleteProperty(e,t){const r=Object.prototype.hasOwnProperty.call(e,t),n=Reflect.deleteProperty(e,t);if(n&&r&&g in e){const r=e[g].indexOf(t);-1!==r&&e[g].splice(r,1)}return n},ownKeys:e=>g in e?e[g]:Reflect.ownKeys(e),set(e,t,r){const n=Object.prototype.hasOwnProperty.call(e,t),a=Reflect.set(e,t,r);return a&&!n&&g in e&&e[g].push(t),a}});function _(e,t=Reflect.ownKeys(e)){O(e);const r=new Proxy(e,y);return function(e,t){g in e?(e[g].length=0,e[g].push(...t)):Reflect.defineProperty(e,g,{configurable:!0,value:t})}(r,t),r}function b(e){return null!==e&&"object"==typeof e}function E(e){if(!b(e))return!1;if(void 0!==e[Symbol.toStringTag]){const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}return"Object"===function(e){const t=e[Symbol.toStringTag];if("string"==typeof t)return t;const r=Reflect.apply(Object.prototype.toString,e,[]);return r.slice(8,r.length-1)}(e)}function O(e,t){if(function(){if("undefined"==typeof process||!b(process)||!b(process.env))return!1;return!1}()&&!E(e))throw new TypeError(t)}var j,w,P,x,S;!function(e){e.None="none",e.Declared="declared",e.InheritedFromService="inheritedFromService"}(j||(j={})),function(e){e.Unspecified="unspecified",e.Simple="simple",e.Matrix="matrix",e.Label="label",e.Form="form",e.CommaDelimited="commaDelimited",e.SpaceDelimited="spaceDelimited",e.PipeDelimited="pipeDelimited",e.DeepObject="deepObject",e.TabDelimited="tabDelimited"}(w||(w={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Information=2]="Information",e[e.Hint=3]="Hint"}(P||(P={})),function(e){e.Article="article",e.HttpService="http_service",e.HttpServer="http_server",e.HttpOperation="http_operation",e.HttpCallback="http_callback",e.Model="model",e.Generic="generic",e.Unknown="unknown",e.TableOfContents="table_of_contents",e.SpectralRuleset="spectral_ruleset",e.Styleguide="styleguide",e.Image="image",e.StoplightResolutions="stoplight_resolutions",e.StoplightOverride="stoplight_override"}(x||(x={})),function(e){e.Json="json",e.Markdown="markdown",e.Yaml="yaml",e.Javascript="javascript",e.Apng="apng",e.Avif="avif",e.Bmp="bmp",e.Gif="gif",e.Jpeg="jpeg",e.Png="png",e.Svg="svg",e.Webp="webp"}(S||(S={}));var k=r(12068),C=r.n(k);function A(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype||"function"==typeof e.constructor&&Function.toString.call(Object)===Function.toString.call(e.constructor)}function M(e,t,r){if(!A(e)&&!Array.isArray(e)||!(t in e))throw new ReferenceError(`Could not resolve '${r}'`)}function I(e){if("string"!=typeof e.$ref)throw new TypeError("$ref should be a string")}const R=e=>A(e)&&"$ref"in e,D=e=>R(e)&&"string"==typeof e.$ref,N=e=>e.length>0&&("#"===e||/^#\S*$/.test(e)),T=(e,t,r)=>{const n=e.toString();let a="",o=n,u=0,i=o.indexOf(t);for(;i>-1;)a+=n.substring(u,u+i)+r,o=o.substring(i+t.length,o.length),u+=i+t.length,i=o.indexOf(t);return o.length>0&&(a+=n.substring(n.length-o.length,n.length)),a},L=e=>"number"==typeof e?e:T(T(e,"~","~0"),"/","~1"),$=/[^a-zA\u2013Z0\u20139_.!~*'()\/\-\u{D800}-\u{DFFF}]/gu;function z(e){return e.replace($,encodeURIComponent)}const F=e=>{const t=L(e);return"number"==typeof t?t:z(t)},U=e=>Q(e),Q=e=>{if(e&&"object"!=typeof e)throw new TypeError("Invalid type: path must be an array of segments.");return 0===e.length?"#":`#/${e.map(F).join("/")}`};function q(e){try{return decodeURIComponent(e)}catch(t){return e}}const J=/%[0-9a-f]+/gi,V=e=>{let t;try{t=decodeURIComponent(e)}catch(r){t=e.replace(J,q)}return T(T(t,"~1","/"),"~0","~")},B=e=>H(e),H=e=>{if("string"!=typeof e)throw new TypeError("Invalid type: JSON Pointers are represented as strings.");if(0===e.length||"#"!==e[0])throw new URIError("Invalid JSON Pointer syntax; URI fragment identifiers must begin with a hash.");if(1===e.length)return[];if("/"!==e[1])throw new URIError("Invalid JSON Pointer syntax.");return(e=>{const t=e.length,r=[];let n=-1;for(;++n{const n={value:e,path:r};t.onEnter&&t.onEnter(n);for(const a of Object.keys(e)){const n=e[a];t.onProperty&&t.onProperty({parent:e,parentPath:r,property:a,propertyValue:n}),"object"==typeof n&&null!==n&&W(n,t,r.concat(a))}t.onLeave&&t.onLeave(n)},G=(e,t)=>{"object"==typeof e&&null!==e&&W(e,"function"==typeof t?{onProperty:t}:t,[])};function K(e,t,r){G(e,{onProperty({property:e,propertyValue:n,parent:a}){"$ref"===e&&"string"==typeof n&&n.startsWith(t)&&(a.$ref=`${r}${n.slice(t.length)}`)}})}const Z=e=>e.length>0&&"#"!==e[0],X=e=>{if("string"!=typeof e||0===e.length||!Z(e))return null;const t=e.indexOf("#");return-1===t?e:e.slice(0,t)};function Y(e,t){return A(t)&&A(e)&&("summary"in e||"description"in e)?Object.assign(Object.assign(Object.assign({},t),"description"in e?{description:e.description}:null),"summary"in e?{summary:e.summary}:null):t}function*ee(e,t,r){R(e.value)&&(I(e.value),yield[-1,e.value]);for(const[n,a]of t.entries())M(e.value,a,r),e.value=e.value[a],R(e.value)&&(I(e.value),yield[n,e.value])}function te(e,t){return re(e,t).value}function re(e,t){return function e(t,r,n,a){if(null!==X(r))throw new ReferenceError("Cannot resolve external references");const o=B(r);let u=[...o];"#"===r&&R(t)&&(I(t),o.unshift(...B(t.$ref)));const i={value:t};for(const[l,s]of ee(i,o,r)){if(n.includes(s))return{source:null,location:null!=a?a:u,value:n[n.length-1]};n.push(s);const r=e(t,s.$ref,n,u);i.value=r.value,(u=r.location).push(...o.slice(l+1))}return{source:null,location:u,value:n.length>0?Y(n[n.length-1],i.value):i.value}}(e,t,[])}const ne="#/__bundled__",ae="#/__errors__",oe=({document:e,path:t,bundleRoot:r="#/__bundled__",errorsRoot:n="#/__errors__",cloneDocument:o=!0,keyProvider:u},i)=>{if(t===r||t===n)throw new Error("Roots do not make any sense");const l=o?(0,a.cloneDeep)(e):e;return ue(l,B(r),B(n),t,u)(t,{[t]:!0},i)},ue=(e,t,r,n,o)=>{const u=new Set,i=(l,s,c,f={},d={},h={})=>{const p=B(l),m=(0,a.get)(e,p);G(c||m,{onEnter:({value:r})=>{if(D(r)&&N(r.$ref)){const c=r.$ref;if(h[c])return;if(c===l&&(f[c]="#"),f[c])return void(r.$ref=f[c]);let p,m,v,g,y;try{let r;p=B(c),o&&(r=o({document:e,path:p})),r||(r=(({document:e,path:t})=>0===t.length?"root":Array.isArray((0,a.get)(e,t.slice(0,-1)))?`${t[t.length-2]}_${t[t.length-1]}`:String(t[t.length-1]))({document:e,path:p})),v=r;let n=1;for(;u.has(v);)if(v=`${r}_${++n}`,n>20)throw new Error(`Keys ${r}_2 through ${r}_20 already taken.`);u.add(v),m=[...t,v],g=U(m)}catch(e){h[c]=e instanceof Error?e.message:String(e)}if(!p||!m||!g)return;if("object"==typeof e&&null!==e&&!(y=(0,a.get)(e,p)))try{y=te(Object(e),c)}catch(e){}void 0!==y&&(f[c]=g,r.$ref=g,(0,a.has)(d,m)||(Array.isArray(y)?(0,a.set)(d,m,new Array(y.length).fill(null)):"object"==typeof y&&(0,a.setWith)(d,m,{},Object),(0,a.set)(d,m,y),"#"===c?function(e,t,r,n){const o=r.map((e=>`[${JSON.stringify(e)}]`)).join(""),u=JSON.parse(JSON.stringify((0,a.omit)(Object(e),o))),i={};(0,a.set)(t,n,u),(0,a.set)(u,r,i),K(u,"#",U(n)),i.$ref="#"}(e,d,B(n),m):s[c]||(s[c]=!0,i(l,s,y,f,d,h),s[c]=!1)))}}});const v=(0,a.get)(d,t);return v&&Object.keys(v).length&&(0,a.set)(m,t,v),(Object.keys(h).length||(0,a.has)(e,r))&&(0,a.set)(m,r,(0,a.has)(e,r)?(0,a.get)(e,r):h),m};return i},ie=e=>T(T(e,"~1","/"),"~0","~"),le=(e,t)=>{const r=new WeakMap;return function e(n,a){let o;if(t&&(n=t(n)),A(n)||Array.isArray(n)){const t=r.get(n);return t?{$ref:t}:(r.set(n,U(a)),Array.isArray(n)?o=n.map(((t,r)=>e(t,[...a,String(r)]))):(o={},Object.keys(n).forEach((t=>{o[t]=e(n[t],[...a,t])}))),r.delete(n),o)}return n}(e,[])},se=e=>T(T(e,"~","~0"),"//","/~1"),ce=e=>{if("string"!=typeof e||0===e.length)return null;const t=e.indexOf("#");return-1===t?null:e.slice(t)},fe=e=>{const t=f(e,!0);if(t.scan(),1!==t.getToken())return;if(t.scan(),2===t.getToken())return;if(10!==t.getToken())throw new SyntaxError("Unexpected character");const r=t.getTokenValue();if(t.scan(),6!==t.getToken())throw new SyntaxError("Colon expected");switch(t.scan(),t.getToken()){case 10:return[r,t.getTokenValue()];case 11:return[r,Number(t.getTokenValue())];case 8:return[r,!0];case 9:return[r,!1];case 7:return[r,null];case 16:throw new SyntaxError("Unexpected character");case 17:throw new SyntaxError("Unexpected end of file");default:return}},de=({lineMap:e,ast:t},r)=>{const n=e[r.line],a=e[r.line+1];if(void 0===n)return;const o=d(t,void 0===a?n+r.character:Math.min(a,n+r.character),!0);if(void 0===o)return;const u=h(o);return 0!==u.length?u:void 0};function he(e){return ie(e.split("/").pop()||"")}const pe=({ast:e},t,r=!1)=>{const n=function(e,t,r){e:for(const n of t){const t=Number.isInteger(Number(n))?Number(n):n;if("string"==typeof t||"number"==typeof t&&"array"!==e.type){if("object"!==e.type||!Array.isArray(e.children))return r?e:void 0;for(const r of e.children)if(Array.isArray(r.children)&&r.children[0].value===String(t)&&2===r.children.length){e=r.children[1];continue e}return r?e:void 0}if("array"!==e.type||t<0||!Array.isArray(e.children)||t>=e.children.length)return r?e:void 0;e=e.children[t]}return e}(e,t,r);if(void 0!==n&&void 0!==n.range)return{range:n.range}},me=(e,t={disallowComments:!0})=>{const r=[],{ast:n,data:a,lineMap:o}=ve(e,r,t);return{data:a,diagnostics:r,ast:n,lineMap:o}};function ve(e,t=[],r){const n=ye(e);let a={type:"array",offset:-1,length:-1,children:[],parent:void 0},o=null,u=[];const i=new WeakMap,l=[];function s(e){"property"===a.type&&(a.length=e-a.offset,a=a.parent)}function c(e,t,r){return{start:{line:e,character:t},end:{line:e,character:t+r}}}function f(e){return a.children.push(e),e}function d(e){Array.isArray(u)?u.push(e):null!==o&&(u[o]=e)}function h(e){d(e),l.push(u),u=e,o=null}function v(){u=l.pop()}p(e,{onObjectBegin:(e,t,n,o)=>{a=f({type:"object",offset:e,length:-1,parent:a,children:[],range:c(n,o,t)}),!1===r.ignoreDuplicateKeys&&i.set(a,[]),h(function(e){return e?_({}):{}}(!0===r.preserveKeyOrder))},onObjectProperty:(e,n,l,s,d)=>{if((a=f({type:"property",offset:n,length:-1,parent:a,children:[]})).children.push({type:"string",value:e,offset:n,length:l,parent:a}),!1===r.ignoreDuplicateKeys){const r=i.get(a.parent);r&&(0!==r.length&&r.includes(e)?t.push({range:c(s,d,l),message:"DuplicateKey",severity:P.Error,path:_e(a),code:20}):r.push(e))}!0===r.preserveKeyOrder&&function(e,t){if(!(t in e))return;const r=e[g],n=r.indexOf(t);-1!==n&&(r.splice(n,1),r.push(t))}(u,e),o=e},onObjectEnd:(e,t,n,o)=>{!1===r.ignoreDuplicateKeys&&i.delete(a),a.length=e+t-a.offset,a.range&&(a.range.end.line=n,a.range.end.character=o+t),a=a.parent,s(e+t),v()},onArrayBegin:(e,t,r,n)=>{a=f({type:"array",offset:e,length:-1,parent:a,children:[],range:c(r,n,t)}),h([])},onArrayEnd:(e,t,r,n)=>{a.length=e+t-a.offset,a.range&&(a.range.end.line=r,a.range.end.character=n+t),a=a.parent,s(e+t),v()},onLiteralValue:(e,t,r,n,o)=>{f({type:ge(e),offset:t,length:r,parent:a,value:e,range:c(n,o,r)}),s(t+r),d(e)},onSeparator:(e,t)=>{"property"===a.type&&(":"===e?a.colonOffset=t:","===e&&s(t))},onError:(e,r,n,a,o)=>{t.push({range:c(a,o,n),message:m(e),severity:P.Error,code:e})}},r);const y=a.children[0];return y&&delete y.parent,{ast:y,data:u[0],lineMap:n}}function ge(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}const ye=e=>{const t=[0];let r=0;for(;r{if(!e||!Object.hasOwnProperty.call(e,t)||t===r)return e;const n={};for(const[a,o]of Object.entries(e))a===t?n[r]=o:a in n||(n[a]=o);return n};function Ee(e){return A(e)||Array.isArray(e)}function Oe(e,t,r){if(r.length<=1||t.length<=1)throw Error("Source/target path must not be empty and point at root");if(0===t.indexOf(r))throw Error("Target path cannot be contained within source");const n=B(t);let a=e;for(const i of n){if(!Ee(a))return;a=a[i]}if(!Ee(a))return;const o=B(r);let u=e;for(const[i,l]of o.entries()){if(!Ee(u)||l in u)return;const e=i===o.length-1?a:{};u[l]=e,u=e}delete e[n[0]],function e(t,r,n){for(const a of Object.keys(t)){const o=t[a];if("$ref"!==a)Ee(o)&&e(o,r,n);else{if("string"!=typeof o||!N(o))continue;0===o.indexOf(r)&&(t[a]=o.replace(r,n))}}}(e,t,r)}async function je(e,t,r,n,a){let u=function(e,t){const r=X(t);return null===r?e:(0,o.isAbsolute)(r)?r:(0,o.join)((0,o.dirname)(e),r)}(t,r);const i=ce(r)||"#",l=await e[u],s=B(i);let c=[...s];const f={value:l};for(const[o,d]of ee(f,s,i)){if(n.includes(d))return{source:t,location:null!=a?a:c,value:n[n.length-1]};n.push(d);const r=await je(e,u,d.$ref,n,c);({source:u,location:c}=r),f.value=r.value,c.push(...s.slice(o+1))}return{source:u,location:c,value:n.length>0?Y(n[n.length-1],f.value):f.value}}async function we(e,t,r){return(await Pe(e,t,r)).value}function Pe(e,t,r){return je(e,t,r,[])}const xe=(e,t)=>{if("string"!=typeof e)return e;try{const r=Se(e);return"string"==typeof r?r:JSON.parse(e,t)}catch(e){return}},Se=e=>{const t=Number(e);return Number.isFinite(t)?String(t)===e?t:e:NaN},ke=(e,t,r)=>{if("string"==typeof e)return e;try{return JSON.stringify(e,t,r)}catch(n){return C()(e,t,r)}},Ce=(e,t)=>{if(e instanceof Array){if(t instanceof Array){if(t.length>e.length)return!1;for(const r in t){if(!t.hasOwnProperty(r))continue;const n=parseInt(e[r]),a=parseInt(t[r]);if(isNaN(n)&&isNaN(a)){if(e[r]!==t[r])return!1}else if(n!==a)return!1}}}else{if("string"!=typeof e)return!1;if("string"==typeof t)return e.startsWith(t)}return!0},Ae=(e,t,r)=>{const n=ke(e,t,r);if(void 0===n)throw new Error("The value could not be stringified");return n};function Me(e){return e.replace(/^(\/|#\/)/,"").split("/").map(ie).map(Ie).join(".")}function Ie(e){return e.includes(".")?`["${e.replace(/"/g,'\\"')}"]`:e}const Re=Symbol.for(v),De={ownKeys:e=>Re in e?e[Re]:Reflect.ownKeys(e)},Ne=e=>new Proxy(e,De);function Te(e,t){if("string"==typeof e&&"string"==typeof t)return(0,a.trimStart)(e,t);if(!(e&&Array.isArray(e)&&e.length&&t&&Array.isArray(t)&&t.length))return e;let r=0;for(const n in e)if(e.hasOwnProperty(n)){if(e[n]!==t[n])break;r++}return e.slice(r)}},58851:(e,t,r)=>{"use strict";function n(e){let t="";return e.absolute&&("file"===e.protocol?(e.drive&&(t+=e.drive),t+="/"):(t+=e.protocol+"://",e.origin&&(t+=e.origin+"/"))),""===(t+=e.path.join("/"))&&(t="."),t}function a(e,t,r,n){this.message=e,this.expected=t,this.found=r,this.location=n,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,a)}r.r(t),r.d(t,{basename:()=>c,deserializeSrn:()=>E,dirname:()=>f,extname:()=>d,format:()=>n,isAbsolute:()=>h,isURL:()=>p,join:()=>m,normalize:()=>i,parse:()=>u,relative:()=>v,resolve:()=>g,sep:()=>y,serializeSrn:()=>O,startsWithWindowsDrive:()=>_,stripRoot:()=>b,toFSPath:()=>i}),function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(a,Error),a.buildMessage=function(e,t){var r={literal:function(e){return'"'+a(e.text)+'"'},class:function(e){var t,r="";for(t=0;t0){for(t=1,n=1;tW&&(W=B,G=[]),G.push(e))}function te(){var t;return(t=function(){var e,t,r,n,a;return e=B,(t=re())!==i&&(r=ne())!==i&&(n=oe())!==i&&(a=ue())!==i?e=t=c(t,r,n,a):(B=e,e=i),e===i&&(e=B,(t=re())!==i&&(r=ne())!==i&&(n=function(){var e;return(e=y)!==i&&(e=R()),e}())!==i?e=t=f(t,r,n):(B=e,e=i)),e}())===i&&(t=function(){var t,r,n,a;return t=B,(r=function(){var t;return e.substr(B,7).toLowerCase()===E?(t=e.substr(B,7),B+=7):(t=i,ee(O)),t===i&&(e.substr(B,5).toLowerCase()===j?(t=e.substr(B,5),B+=5):(t=i,ee(w))),t!==i&&(t=P()),t}())!==i&&(n=ae())!==i&&(a=ue())!==i?t=r=b(r,n,a):(B=t,t=i),t}())===i&&(t=function(){var e,t,r;return e=B,(t=ae())!==i&&(r=ue())!==i?e=t=x(t,r):(B=e,e=i),e}())===i&&(t=function(){var t,r;return t=B,function(){var t;return(t=function(){var t,r,n;return t=B,46===e.charCodeAt(B)?(r=$,B++):(r=i,ee(z)),r!==i&&(n=le())!==i?t=r=[r,n]:(B=t,t=i),t}())===i&&(t=y),t}()!==i&&(r=ue())!==i?t=D(r):(B=t,t=i),t}()),t}function re(){var t,r;return e.substr(B,7).toLowerCase()===d?(r=e.substr(B,7),B+=7):(r=i,ee(h)),r!==i&&(r=p()),(t=r)===i&&(t=function(){var t;return e.substr(B,8).toLowerCase()===m?(t=e.substr(B,8),B+=8):(t=i,ee(v)),t!==i&&(t=g()),t}()),t}function ne(){var t,r,n;if(t=B,r=[],(n=se())!==i)for(;n!==i;)r.push(n),n=se();else r=i;return(t=r!==i?e.substring(t,B):r)===i&&(t=B,(r=y)!==i&&(r=_()),t=r),t}function ae(){var t;return(t=function(){var t,r,n,a;return t=B,(r=le())===i&&(r=null),r!==i?(S.test(e.charAt(B))?(n=e.charAt(B),B++):(n=i,ee(k)),n!==i?(58===e.charCodeAt(B)?(a=C,B++):(a=i,ee(A)),a!==i&&le()!==i?t=r=M(n):(B=t,t=i)):(B=t,t=i)):(B=t,t=i),t}())===i&&(t=oe()),t}function oe(){var e;return(e=le())!==i&&(e=I()),e}function ue(){var e;return(e=function e(){var t,r,n;return t=B,(r=ie())!==i&&le()!==i&&(n=e())!==i?t=r=T(r,n):(B=t,t=i),t===i&&(t=B,(r=ie())!==i&&(r=L(r)),t=r),t}())!==i&&(e=N(e)),e}function ie(){var t,r,n;if(t=B,r=[],(n=se())!==i)for(;n!==i;)r.push(n),n=se();else r=i;return(t=r!==i?e.substring(t,B):r)===i&&(t=y),t}function le(){var t;return 47===e.charCodeAt(B)?(t=F,B++):(t=i,ee(U)),t===i&&(92===e.charCodeAt(B)?(t=Q,B++):(t=i,ee(q))),t}function se(){var t;return J.test(e.charAt(B))?(t=e.charAt(B),B++):(t=i,ee(V)),t}if((r=s())!==i&&B===e.length)return r;throw r!==i&&B""!==e&&"."!==e));const r=[];for(const n of t)".."===n&&r.length&&".."!==r[r.length-1]?r.pop():".."===n&&e.absolute||r.push(n);return e.path=r,e}function s(e){let t=e.lastIndexOf(".");".."===e&&(t=-1),"."===e&&(t=-1);let r=e,n="";return t>0&&(r=e.slice(0,t),n=e.slice(t)),{name:r,ext:n}}const c=(e,t)=>{const r=l(u(e)).path.pop();if(!r)return"";const{name:n,ext:a}=s(r);return!0===t||t===a?n:`${n}${a}`},f=e=>{const t=l(u(e));return t.path.pop(),n(l(t))},d=e=>{const t=l(u(e)).path.pop();if(!t)return"";const{ext:r}=s(t);return r};function h(e){return u(e).absolute}function p(e){const t=u(e);return"http"===t.protocol||"https"===t.protocol}const m=(...e)=>{if(0===e.length)return".";const t=e.map(u),r=Object.assign({},t[0]);for(let n=1;nnull!==u(e).drive,b=e=>u(e).path.filter(Boolean).join("/");function E(e){const[t,r,n,...a]=e.split("/"),o=a.length?`/${a.join("/")}`:void 0;let u,i;return o&&(u=a.find((e=>e.includes("."))))&&(i=s(u).ext),{shortcode:t,orgSlug:r,projectSlug:n,uri:o,file:u,ext:i}}function O({shortcode:e,orgSlug:t,projectSlug:r,uri:n=""}){return[e,t,r,n.replace(/^\//,"")].filter(Boolean).join("/")}},19365:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});r(96540);var n=r(34164);const a={tabItem:"tabItem_Ymn6"};var o=r(74848);function u(e){let{children:t,hidden:r,className:u}=e;return(0,o.jsx)("div",{role:"tabpanel",className:(0,n.A)(a.tabItem,u),hidden:r,children:t})}},11470:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>O});var n=r(96540),a=r(34164),o=r(23104),u=r(56347),i=r(205),l=r(57485),s=r(31682),c=r(70679);function f(e){return n.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,n.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function d(e){const{values:t,children:r}=e;return(0,n.useMemo)((()=>{const e=t??function(e){return f(e).map((e=>{let{props:{value:t,label:r,attributes:n,default:a}}=e;return{value:t,label:r,attributes:n,default:a}}))}(r);return function(e){const t=(0,s.XI)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[t,r])}function h(e){let{value:t,tabValues:r}=e;return r.some((e=>e.value===t))}function p(e){let{queryString:t=!1,groupId:r}=e;const a=(0,u.W6)(),o=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:t,groupId:r});return[(0,l.aZ)(o),(0,n.useCallback)((e=>{if(!o)return;const t=new URLSearchParams(a.location.search);t.set(o,e),a.replace({...a.location,search:t.toString()})}),[o,a])]}function m(e){const{defaultValue:t,queryString:r=!1,groupId:a}=e,o=d(e),[u,l]=(0,n.useState)((()=>function(e){let{defaultValue:t,tabValues:r}=e;if(0===r.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!h({value:t,tabValues:r}))throw new Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${r.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const n=r.find((e=>e.default))??r[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:t,tabValues:o}))),[s,f]=p({queryString:r,groupId:a}),[m,v]=function(e){let{groupId:t}=e;const r=function(e){return e?`docusaurus.tab.${e}`:null}(t),[a,o]=(0,c.Dv)(r);return[a,(0,n.useCallback)((e=>{r&&o.set(e)}),[r,o])]}({groupId:a}),g=(()=>{const e=s??m;return h({value:e,tabValues:o})?e:null})();(0,i.A)((()=>{g&&l(g)}),[g]);return{selectedValue:u,selectValue:(0,n.useCallback)((e=>{if(!h({value:e,tabValues:o}))throw new Error(`Can't select invalid tab value=${e}`);l(e),f(e),v(e)}),[f,v,o]),tabValues:o}}var v=r(92303);const g={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var y=r(74848);function _(e){let{className:t,block:r,selectedValue:n,selectValue:u,tabValues:i}=e;const l=[],{blockElementScrollPositionUntilNextRender:s}=(0,o.a_)(),c=e=>{const t=e.currentTarget,r=l.indexOf(t),a=i[r].value;a!==n&&(s(t),u(a))},f=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const r=l.indexOf(e.currentTarget)+1;t=l[r]??l[0];break}case"ArrowLeft":{const r=l.indexOf(e.currentTarget)-1;t=l[r]??l[l.length-1];break}}t?.focus()};return(0,y.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.A)("tabs",{"tabs--block":r},t),children:i.map((e=>{let{value:t,label:r,attributes:o}=e;return(0,y.jsx)("li",{role:"tab",tabIndex:n===t?0:-1,"aria-selected":n===t,ref:e=>l.push(e),onKeyDown:f,onClick:c,...o,className:(0,a.A)("tabs__item",g.tabItem,o?.className,{"tabs__item--active":n===t}),children:r??t},t)}))})}function b(e){let{lazy:t,children:r,selectedValue:o}=e;const u=(Array.isArray(r)?r:[r]).filter(Boolean);if(t){const e=u.find((e=>e.props.value===o));return e?(0,n.cloneElement)(e,{className:(0,a.A)("margin-top--md",e.props.className)}):null}return(0,y.jsx)("div",{className:"margin-top--md",children:u.map(((e,t)=>(0,n.cloneElement)(e,{key:t,hidden:e.props.value!==o})))})}function E(e){const t=m(e);return(0,y.jsxs)("div",{className:(0,a.A)("tabs-container",g.tabList),children:[(0,y.jsx)(_,{...t,...e}),(0,y.jsx)(b,{...t,...e})]})}function O(e){const t=(0,v.A)();return(0,y.jsx)(E,{...e,children:f(e.children)},String(t))}},13392:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.FalseLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(o.default,{values:{id:"json-schema.labels.false"}},"Always invalid")))};const a=n(r(96540)),o=n(r(21312)),u=r(19659)},1901:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;const r=(0,i.useJSVOptionsContext)(),n="boolean"!=typeof t,c=n?t.description:void 0;return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.TrueLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(o.default,{values:{id:"json-schema.labels.true"}},"Always valid")),n&&a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(l.QualifierMessages,{schema:t,options:r})),void 0!==c&&a.default.createElement(s.CreateDescription,{description:c}))};const a=n(r(96540)),o=n(r(21312)),u=r(19659),i=r(82008),l=r(95621),s=r(69364)},47176:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t,nullable:r,description:n}=e,s=(0,u.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.TypeLabel,null),"\xa0:\xa0",a.default.createElement(i.BooleanLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(o.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};const a=n(r(96540)),o=r(95621),u=r(82008),i=r(19659),l=r(69364)},31918:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{description:t}=e,{DescriptionComponent:r}=(0,o.useJSVOptionsContext)();return a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},r?a.default.createElement(r,{description:t}):t)};const a=n(r(96540)),o=r(82008)},99442:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t,nullable:r,description:n}=e,s=(0,u.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.TypeLabel,null),"\xa0:\xa0",a.default.createElement(i.IntegerLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(o.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};const a=n(r(96540)),o=r(95621),u=r(82008),i=r(19659),l=r(69364)},46231:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t,description:r}=e,n=(0,u.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.TypeLabel,null),"\xa0:\xa0",a.default.createElement(i.NullLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(o.QualifierMessages,{schema:t,options:n})),void 0!==r&&a.default.createElement(l.CreateDescription,{description:r}))};const a=n(r(96540)),o=r(95621),u=r(82008),i=r(19659),l=r(69364)},28219:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t,description:r,nullable:n}=e,s=(0,u.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.TypeLabel,null),"\xa0:\xa0",a.default.createElement(i.NumberLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(o.QualifierMessages,{schema:t,options:s,nullable:n})),void 0!==r&&a.default.createElement(l.CreateDescription,{description:r}))};const a=n(r(96540)),o=r(95621),u=r(82008),i=r(19659),l=r(69364)},81907:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t,nullable:r,description:n}=e,s=(0,u.useJSVOptionsContext)(),c=t.format;return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.TypeLabel,null),"\xa0:\xa0",a.default.createElement(i.StringLabel,{format:c}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(o.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};const a=n(r(96540)),o=r(95621),u=r(82008),i=r(19659),l=r(69364)},9145:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{value:t,schema:r}=e,{ValueComponent:n}=(0,o.useJSVOptionsContext)();if(n)return a.default.createElement(n,{value:t,schema:r});return(0,u.printSchemaType)(t)};const a=n(r(96540)),o=r(82008),u=r(44782)},94509:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.dependencies,n=Object.entries(r).reduce(((e,t)=>{let[r,n]=t;return Array.isArray(n)?e.dependentRequired[r]=n:e.dependentSchemas[r]=n,e}),{dependentRequired:{},dependentSchemas:{}});return a.default.createElement(a.default.Fragment,null,Object.keys(n.dependentRequired).length>0&&a.default.createElement(o.DependentRequired,{schema:{dependentRequired:n.dependentRequired}}),Object.keys(n.dependentSchemas).length>0&&a.default.createElement(o.DependentSchemas,{schema:{dependentSchemas:n.dependentSchemas}}))};const a=n(r(96540)),o=r(6870)},52396:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.dependentRequired,n={allOf:Object.entries(r).map((e=>{let[t,r]=e;return{if:{type:"object",required:[t]},then:{type:"object",required:r}}}))};return a.default.createElement(o.AllOfSchema,{schema:n})};const a=n(r(96540)),o=r(93560)},65049:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.dependentSchemas,n={allOf:Object.entries(r).map((e=>{let[t,r]=e;return{if:{type:"object",required:[t]},then:r}}))};return a.default.createElement(o.AllOfSchema,{schema:n})};const a=n(r(96540)),o=r(93560)},83321:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=void 0!==t.then,n=void 0!==t.else;let c=[{value:"schema_if",label:a.default.createElement(s.IfLabel,null)},r&&{value:"schema_then",label:a.default.createElement(s.ThenLabel,null)},n&&{value:"schema_else",label:a.default.createElement(s.ElseLabel,null)}].filter((e=>"boolean"!=typeof e));return a.default.createElement(u.default,{defaultValue:"schema_if",values:c},c.map((e=>a.default.createElement(o.default,{value:e.value,key:e.value},function(e,t){switch(e){case"schema_if":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/if"},a.default.createElement(i.CreateNodes,{schema:t.if}));case"schema_then":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/then"},a.default.createElement(i.CreateNodes,{schema:t.then}));case"schema_else":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/else"},a.default.createElement(i.CreateNodes,{schema:t.else}))}}(e.value,t)))))};const a=n(r(96540)),o=n(r(19365)),u=n(r(11470)),i=r(26276),l=r(82008),s=r(19659)},6870:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaConditional=t.Dependencies=t.DependentSchemas=t.DependentRequired=t.IfElseThen=void 0;var a=r(83321);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return n(a).default}});var o=r(52396);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return n(o).default}});var u=r(65049);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return n(u).default}});var i=r(94509);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return n(i).default}});var l=r(13151);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return n(l).default}})},13151:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=void 0!==t.if,n=void 0!==t.dependentRequired,l=void 0!==t.dependentSchemas,s=void 0!==t.dependencies,c=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.schemaConditional"}},"Conditional subschemas"));return a.default.createElement(i.Collapsible,{summary:c,detailsProps:{open:!1}},r&&a.default.createElement(u.IfElseThen,{schema:t}),n&&a.default.createElement(u.DependentRequired,{schema:t}),l&&a.default.createElement(u.DependentSchemas,{schema:t}),s&&a.default.createElement(u.Dependencies,{schema:t}))};const a=n(r(96540)),o=n(r(21312)),u=r(6870),i=r(26276)},6309:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.additionalItems;if(void 0===r||"boolean"==typeof r)return a.default.createElement(a.default.Fragment,null);const n=Array.isArray(t.items)?t.items.length:1;return a.default.createElement("ul",null,a.default.createElement(i.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},a.default.createElement(u.CreateEdge,{key:"array_additionalItems",name:a.default.createElement(l,{count:n}),schema:r,required:void 0!==t.minItems&&n>=t.minItems-1})))};const a=n(r(96540)),o=n(r(21312)),u=r(26276),i=r(82008);function l(e){let{count:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.additionalItemsEntry",count:t}},"items[{count},...]"))}},40009:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.contains;if(void 0===r)return a.default.createElement(a.default.Fragment,null);const n=a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.containsEntry"}},"items[..., x, ...]"));return a.default.createElement("ul",null,a.default.createElement(i.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},a.default.createElement(u.CreateEdge,{key:"contains",name:n,schema:r,required:void 0!==t.minContains&&t.minContains>0})))};const a=n(r(96540)),o=n(r(21312)),u=r(26276),i=r(82008)},71411:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t,nullable:r,description:n}=e,p=(0,f.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(d.TypeLabel,null),"\xa0:\xa0",a.default.createElement(d.ArrayLabel,null),a.default.createElement(i.default,{schema:t}),a.default.createElement(o.default,{schema:t}),a.default.createElement(l.default,{schema:t}),a.default.createElement(s.default,{schema:t}),a.default.createElement(u.default,{schema:t}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(c.QualifierMessages,{schema:t,options:p,nullable:r})),void 0!==n&&a.default.createElement(h.CreateDescription,{description:n}))};const a=n(r(96540)),o=n(r(40754)),u=n(r(40009)),i=n(r(28910)),l=n(r(6309)),s=n(r(3172)),c=r(95621),f=r(82008),d=r(19659),h=r(69364)},40754:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.items;if(void 0===r)return a.default.createElement(a.default.Fragment,null);const n=Array.isArray(t.prefixItems)?t.prefixItems.length:0,o=Array.isArray(r),s=Array.isArray(r)?r:[r],c=s.length;return a.default.createElement("ul",null,s.map(((e,r)=>a.default.createElement(i.SchemaHierarchyComponent,{key:`array_items_${r}`,innerJsonPointer:"/items"+(o?`/${r}`:"")},a.default.createElement(u.CreateEdge,{name:a.default.createElement(l,{index:n+r,isArray:o}),schema:e,required:void 0!==t.minItems&&t.minItems>=c})))))};const a=n(r(96540)),o=n(r(21312)),u=r(26276),i=r(82008);function l(e){let{index:t,isArray:r}=e,n=r?t:"x";return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.itemsEntry",index:n}},"items[{index}]"))}},28910:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.prefixItems;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(r),o=Array.isArray(r)?r.length:1,s=Array.isArray(r)?r:[r];return a.default.createElement("ul",null,s.map(((e,r)=>a.default.createElement(i.SchemaHierarchyComponent,{key:`schema_hierarchy_${r}`,innerJsonPointer:"/prefixItems"+(n?`/${r}`:"")},a.default.createElement(u.CreateEdge,{key:`array_prefixItems_${r}`,name:a.default.createElement(l,{count:r}),schema:e,required:void 0!==t.minItems&&t.minItems>=o})))))};const a=n(r(96540)),o=n(r(21312)),u=r(26276),i=r(82008);function l(e){let{count:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.prefixItemsEntry",count:t}},"items[{count}]"))}},3172:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.unevaluatedItems;if(void 0===r||"boolean"==typeof r)return a.default.createElement(a.default.Fragment,null);return a.default.createElement("ul",null,a.default.createElement(i.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},a.default.createElement(u.CreateEdge,{key:"array_unevaluatedItems",name:a.default.createElement(l,null),schema:r,required:!1})))};const a=n(r(96540)),o=n(r(21312)),u=r(26276),i=r(82008);function l(){return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.unevaluatedItemsEntry"}},"items[y]"))}},76878:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateArray=void 0;var a=r(71411);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return n(a).default}})},69364:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateValue=t.CreateDescription=t.CreateAlwaysInvalid=t.CreateAlwaysValid=t.CreateNull=t.CreateInteger=t.CreateNumber=t.CreateBoolean=t.CreateString=t.CreateArray=t.CreateObject=t.SchemaConditional=t.SchemaComposition=void 0;var a=r(93560);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return a.SchemaComposition}});var o=r(6870);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return o.SchemaConditional}});var u=r(73514);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return u.CreateObject}});var i=r(76878);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return i.CreateArray}});var l=r(81907);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return n(l).default}});var s=r(47176);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return n(s).default}});var c=r(28219);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return n(c).default}});var f=r(99442);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return n(f).default}});var d=r(46231);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return n(d).default}});var h=r(1901);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return n(h).default}});var p=r(13392);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return n(p).default}});var m=r(31918);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return n(m).default}});var v=r(9145);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return n(v).default}})},13396:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.additionalProperties;if(void 0===r||"boolean"==typeof r)return a.default.createElement(a.default.Fragment,null);return a.default.createElement("ul",null,a.default.createElement(i.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},a.default.createElement(u.CreateEdge,{key:"object_additionalProperties",name:a.default.createElement(l,null),schema:r,required:!1})))};const a=n(r(96540)),o=n(r(21312)),u=r(26276),i=r(82008);function l(){return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.additionalProperties"}},"property name*"))}},21711:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t,nullable:r,description:n}=e,m=(0,d.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.TypeLabel,null),"\xa0:\xa0",a.default.createElement(h.ObjectLabel,null),a.default.createElement(s.default,{schema:t}),a.default.createElement(u.default,{schema:t}),a.default.createElement(i.default,{schema:t}),a.default.createElement(l.default,{schema:t}),a.default.createElement(o.default,{schema:t}),a.default.createElement(c.default,{schema:t}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(f.QualifierMessages,{schema:t,options:m,nullable:r})),void 0!==n&&a.default.createElement(p.CreateDescription,{description:n}))};const a=n(r(96540)),o=n(r(13396)),u=n(r(28357)),i=n(r(44837)),l=n(r(31377)),s=n(r(582)),c=n(r(45703)),f=r(95621),d=r(82008),h=r(19659),p=r(69364)},44837:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=t.patternProperties;if(void 0===r)return a.default.createElement(a.default.Fragment,null);return a.default.createElement("ul",null,Object.entries(r).map((e=>{let[t,r]=e;return a.default.createElement(u.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,i.encodeStringForJSONPointer)(t)}`},a.default.createElement(o.CreateEdge,{name:a.default.createElement("code",null,t),schema:r,required:!1}))})))};const a=n(r(96540)),o=r(26276),u=r(82008),i=r(95621)},28357:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=t.properties;if(void 0===r)return a.default.createElement(a.default.Fragment,null);return a.default.createElement("ul",null,Object.entries(r).map((e=>{let[r,n]=e;return a.default.createElement(u.SchemaHierarchyComponent,{key:`object_properties_${r}`,innerJsonPointer:`/properties/${(0,i.encodeStringForJSONPointer)(r)}`},a.default.createElement(o.CreateEdge,{name:a.default.createElement("strong",null,r),schema:n,required:!!Array.isArray(t.required)&&t.required.includes(r)}))})))};const a=n(r(96540)),o=r(26276),u=r(82008),i=r(95621)},31377:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.propertyNames;if(void 0===r||"boolean"==typeof r||void 0===r.pattern)return a.default.createElement(a.default.Fragment,null);let n=r.pattern,i={...r};return delete i.pattern,a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},a.default.createElement(o.CreateEdge,{key:"propertyNames",name:a.default.createElement("code",null,n),schema:i,required:!1})))};const a=n(r(96540)),o=r(26276),u=r(82008)},45703:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.unevaluatedProperties;if(void 0===r||"boolean"==typeof r)return a.default.createElement(a.default.Fragment,null);return a.default.createElement("ul",null,a.default.createElement(i.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},a.default.createElement(u.CreateEdge,{key:"object_unevaluatedProperties",name:a.default.createElement(l,null),schema:r,required:!1})))};const a=n(r(96540)),o=n(r(21312)),u=r(26276),i=r(82008);function l(){return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.unevaluatedProperties"}},"property name*"))}},582:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=t.required||[],n=Object.keys(t.properties||{}),l=r.filter((e=>!n.includes(e)));if(0===l.length)return a.default.createElement(a.default.Fragment,null);return a.default.createElement("ul",null,l.map(((e,t)=>a.default.createElement(u.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,i.encodeStringForJSONPointer)(e)}`},a.default.createElement(o.CreateEdge,{name:a.default.createElement("strong",null,e),schema:!0,required:!0})))))};const a=n(r(96540)),o=r(26276),u=r(82008),i=r(95621)},73514:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateObject=void 0;var a=r(21711);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return n(a).default}})},86129:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.allOf,n="allOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(u.default,null,r.map(((e,t)=>a.default.createElement(o.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},a.default.createElement(i.CreateNodes,{schema:e})))))))};const a=n(r(96540)),o=n(r(19365)),u=n(r(11470)),i=r(26276),l=r(82008),s=r(95621)},86648:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.anyOf,n="anyOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(u.default,null,r.map(((e,t)=>a.default.createElement(o.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},a.default.createElement(i.CreateNodes,{schema:e})))))))};const a=n(r(96540)),o=n(r(19365)),u=n(r(11470)),i=r(26276),l=r(82008),s=r(95621)},93560:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaComposition=t.NotSchema=t.OneOfSchema=t.AnyOfSchema=t.AllOfSchema=void 0;var a=r(86129);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return n(a).default}});var o=r(86648);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return n(o).default}});var u=r(30742);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return n(u).default}});var i=r(94766);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return n(i).default}});var l=r(52875);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return n(l).default}})},94766:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.not;return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--danger"},"not"),a.default.createElement("br",null),a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/not"},a.default.createElement(o.CreateNodes,{schema:r})))};const a=n(r(96540)),o=r(26276),u=r(82008)},30742:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.oneOf,n="oneOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(u.default,null,r.map(((e,t)=>a.default.createElement(o.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},a.default.createElement(i.CreateNodes,{schema:e})))))))};const a=n(r(96540)),o=n(r(19365)),u=n(r(11470)),i=r(26276),l=r(82008),s=r(95621)},52875:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;return a.default.createElement(a.default.Fragment,null,void 0!==t.oneOf&&a.default.createElement(o.OneOfSchema,{schema:t}),void 0!==t.anyOf&&a.default.createElement(o.AnyOfSchema,{schema:t}),void 0!==t.allOf&&a.default.createElement(o.AllOfSchema,{schema:t}),void 0!==t.not&&a.default.createElement(o.NotSchema,{schema:t}))};const a=n(r(96540)),o=r(93560)},96348:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{summary:t,children:r,detailsProps:n}=e;return a.default.createElement(o.default,{summary:a.default.createElement("summary",null,t),...n},r)};const a=n(r(96540)),o=n(r(41622))},72991:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{name:t,schema:r,required:n}=e;return a.default.createElement(o.SchemaItem,{name:t,schema:r,required:n})};const a=n(r(96540)),o=r(26276)},50169:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;if("boolean"==typeof t)return a.default.createElement(i.CreateValidOrInvalid,{schema:t});const r=(0,l.isSchemaComposition)(t),n=(0,l.isSchemaConditional)(t);return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.CreateTypes,{schema:t}),r&&a.default.createElement(u.SchemaComposition,{schema:t}),n&&a.default.createElement(u.SchemaConditional,{schema:t}))};const a=n(r(96540)),o=r(26276),u=r(69364),i=r(26276),l=r(95621)},26265:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=(0,l.detectedTypes)(t),n=r.includes("null");if(1===r.length||n&&2===r.length){const e=r.find((e=>"null"!==e))||r[0];return a.default.createElement(s,{schema:t,type:e,nullable:n})}if(r.length>1){const e=r.filter((e=>"null"!==e)).map((e=>({value:e,label:a.default.createElement(i.TypeLabelSwitch,{type:e})})));return a.default.createElement(c,{schema:t,types:e,nullable:n})}if(!(0,l.isSchemaComposition)(t))return a.default.createElement(i.CreateValidOrInvalid,{schema:t});return a.default.createElement(a.default.Fragment,null)};const a=n(r(96540)),o=n(r(19365)),u=n(r(11470)),i=r(26276),l=r(95621);function s(e){const{schema:t,type:r,nullable:n}=e;return a.default.createElement(i.RenderProvidedType,{schema:t,type:r,nullable:n})}function c(e){const{schema:t,types:r,nullable:n}=e;return a.default.createElement(u.default,{defaultValue:r[0].value,values:r,key:"multiple_types"},r.map((e=>a.default.createElement(o.default,{key:e.value,value:e.value},a.default.createElement(i.RenderProvidedType,{type:e.value,schema:t,nullable:n})))))}},77796:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;return a.default.createElement(a.default.Fragment,null,t&&a.default.createElement(o.CreateAlwaysValid,{schema:t}),!t&&a.default.createElement(o.CreateAlwaysInvalid,null))};const a=n(r(96540)),o=r(69364)},50557:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,type:r,nullable:n}=e;const u={description:t.description,nullable:n};switch(r){case"array":return a.default.createElement(o.CreateArray,{schema:t,...u});case"object":return a.default.createElement(o.CreateObject,{schema:t,...u});case"string":return a.default.createElement(o.CreateString,{schema:t,...u});case"boolean":return a.default.createElement(o.CreateBoolean,{schema:t,...u});case"number":return a.default.createElement(o.CreateNumber,{schema:t,...u});case"integer":return a.default.createElement(o.CreateInteger,{schema:t,...u});default:return a.default.createElement(o.CreateNull,{schema:t,...u})}};const a=n(r(96540)),o=r(69364)},72713:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,name:r,required:n}=e;const{jsonPointer:c,level:f}=(0,u.useSchemaHierarchyContext)();let d=t,h="boolean"!=typeof d&&!0===d.deprecated,p="boolean"!=typeof d&&!0===d.readOnly,m="boolean"!=typeof d&&!0===d.writeOnly,v="boolean"!=typeof d&&(void 0!==d.const||Array.isArray(d.enum)&&1===d.enum.length),g=!h&&n;const y=a.default.createElement(a.default.Fragment,null,r,"\xa0",a.default.createElement(l.GenerateFriendlyName,{schema:t}),g&&a.default.createElement(a.default.Fragment,null,"\xa0"),g&&a.default.createElement(i.RequiredLabel,null),h&&a.default.createElement(a.default.Fragment,null,"\xa0"),h&&a.default.createElement(i.DeprecatedLabel,null),p&&a.default.createElement(a.default.Fragment,null,"\xa0"),p&&a.default.createElement(i.ReadOnlyLabel,null),m&&a.default.createElement(a.default.Fragment,null,"\xa0"),m&&a.default.createElement(i.WriteOnlyLabel,null),v&&a.default.createElement(a.default.Fragment,null,"\xa0"),v&&a.default.createElement(i.ConstantLabel,null));return a.default.createElement("li",{className:s.default.schemaItem,id:c,"data-level":f},a.default.createElement(o.Collapsible,{summary:y,detailsProps:{open:!1}},a.default.createElement(a.default.Fragment,null,a.default.createElement(o.CreateNodes,{schema:t}))))};const a=n(r(96540)),o=r(26276),u=r(82008),i=r(19659),l=r(95621),s=n(r(85227))},12990:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{type:t,...r}=e;switch(t){case"string":return a.default.createElement(o.StringLabel,{...r});case"number":return a.default.createElement(o.NumberLabel,{...r});case"boolean":return a.default.createElement(o.BooleanLabel,{...r});case"object":return a.default.createElement(o.ObjectLabel,{...r});case"array":return a.default.createElement(o.ArrayLabel,{...r});case"integer":return a.default.createElement(o.IntegerLabel,{...r});case"null":return a.default.createElement(o.NullLabel,{...r});case!0:return a.default.createElement(o.TrueLabel,{...r});case!1:return a.default.createElement(o.FalseLabel,{...r});default:return a.default.createElement("span",{style:{opacity:"0.6"}},t)}};const a=n(r(96540)),o=r(19659)},26276:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaItem=t.RenderProvidedType=t.TypeLabelSwitch=t.CreateTypes=t.CreateValidOrInvalid=t.CreateEdge=t.CreateNodes=t.Collapsible=void 0;var a=r(96348);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return n(a).default}});var o=r(50169);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return n(o).default}});var u=r(72991);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return n(u).default}});var i=r(77796);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return n(i).default}});var l=r(26265);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return n(l).default}});var s=r(12990);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return n(s).default}});var c=r(50557);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return n(c).default}});var f=r(72713);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return n(f).default}})},82008:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(90765),t),a(r(85178),t)},90765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSVOptionsContextProvider=t.useJSVOptionsContext=t.JSVOptionsContext=void 0;const n=r(96540);t.JSVOptionsContext=(0,n.createContext)({fullSchema:!1,showExamples:!1,qualifierMessagesOrder:void 0,DescriptionComponent:void 0,UnresolvedRefsComponent:void 0});t.useJSVOptionsContext=()=>(0,n.useContext)(t.JSVOptionsContext),t.JSVOptionsContextProvider=t.JSVOptionsContext.Provider},85178:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaHierarchyContextProvider=t.useSchemaHierarchyContext=t.SchemaHierarchyContext=void 0,t.SchemaHierarchyComponent=function(e){let{innerJsonPointer:r,children:n}=e;const{jsonPointer:a,level:o}=(0,t.useSchemaHierarchyContext)();return u.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${a}${r}`,level:o+1}},n)};const u=o(r(96540));t.SchemaHierarchyContext=(0,u.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,u.useContext)(t.SchemaHierarchyContext),t.SchemaHierarchyContextProvider=t.SchemaHierarchyContext.Provider},87595:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t,resolverOptions:r,viewerOptions:n}=e,[a,o]=(0,u.useState)(void 0),[l,s]=(0,u.useState)(void 0);return(0,u.useEffect)((()=>{(new i.Resolver).resolve(t,r).then((e=>{s(e.result)})).catch((e=>{o(e)}))}),[]),void 0!==a?u.default.createElement(f,{error:a}):void 0===l?u.default.createElement(c.LoadingLabel,null):u.default.createElement(d,{schema:l,viewerOptions:n,className:e.className})};const u=o(r(96540)),i=r(9269),l=r(26276),s=r(82008),c=r(19659);function f(e){const{error:t}=e;return u.default.createElement("div",null,u.default.createElement(c.ErrorOccurredLabel,{error:t}))}function d(e){const{schema:t,viewerOptions:r}=e,n="boolean"!=typeof t&&void 0!==t.title?t.title:"Schema",a={fullSchema:t,...r};return u.default.createElement(s.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},u.default.createElement(s.JSVOptionsContextProvider,{value:a},u.default.createElement(l.Collapsible,{summary:u.default.createElement("strong",null,n),detailsProps:{open:!0,className:e.className||"json-schema-viewer"}},u.default.createElement(l.CreateNodes,{schema:t}))))}},65986:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.and"}},"AND")),e)};const a=n(r(96540)),o=n(r(21312))},82510:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(o.default,{values:{id:"json-schema.keywords.array"}},"array"))};const a=n(r(96540)),o=n(r(21312))},47691:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(o.default,{values:{id:"json-schema.keywords.boolean"}},"boolean"))};const a=n(r(96540)),o=n(r(21312))},91738:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:u.default.constant},a.default.createElement(o.default,{values:{id:"json-schema.keywords.const"}},"constant"))};const a=n(r(96540)),o=n(r(21312)),u=n(r(26932))},1880:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:u.default.deprecated},a.default.createElement(o.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))};const a=n(r(96540)),o=n(r(21312)),u=n(r(36523))},74858:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.else"}},"Else"))};const a=n(r(96540)),o=n(r(21312))},29586:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{error:t}=e;return a.default.createElement(o.default,{values:{id:"json-schema.labels.errorOccurred",message:t.message}},"Something bad happens : {message}")};const a=n(r(96540)),o=n(r(21312))},77936:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(o.default,{values:{id:"json-schema.keywords.false"}},"none"))};const a=n(r(96540)),o=n(r(21312))},5844:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.if"}},"If"))};const a=n(r(96540)),o=n(r(21312))},62325:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(o.default,{values:{id:"json-schema.keywords.integer"}},"integer"))};const a=n(r(96540)),o=n(r(21312))},49547:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("div",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.loading"}},"Loading ...."))};const a=n(r(96540)),o=n(r(21312))},75986:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.not"}},"NOT"))};const a=n(r(96540)),o=n(r(21312))},34886:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(o.default,{values:{id:"json-schema.keywords.null"}},"null"))};const a=n(r(96540)),o=n(r(21312))},99378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(o.default,{values:{id:"json-schema.keywords.number"}},"number"))};const a=n(r(96540)),o=n(r(21312))},69572:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(o.default,{values:{id:"json-schema.keywords.object"}},"object"))};const a=n(r(96540)),o=n(r(21312))},8782:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.or"}},"OR")),e)};const a=n(r(96540)),o=n(r(21312))},51354:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:u.default.readOnly},a.default.createElement(o.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))};const a=n(r(96540)),o=n(r(21312)),u=n(r(65262))},30280:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:u.default.required},a.default.createElement(o.default,{values:{id:"json-schema.keywords.required"}},"required"))};const a=n(r(96540)),o=n(r(21312)),u=n(r(66859))},44290:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{format:t}=e;return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(o.default,{values:{id:"json-schema.keywords.string"}},"string"),void 0!==t&&a.default.createElement(a.default.Fragment,null,"\xa0",`(${t})`))};const a=n(r(96540)),o=n(r(21312))},16108:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.then"}},"Then"))};const a=n(r(96540)),o=n(r(21312))},54407:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(o.default,{values:{id:"json-schema.keywords.true"}},"any"))};const a=n(r(96540)),o=n(r(21312))},6511:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.type",count:1}},"type"))};const a=n(r(96540)),o=n(r(21312))},25356:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:u.default.writeOnly},a.default.createElement(o.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))};const a=n(r(96540)),o=n(r(21312)),u=n(r(29879))},1470:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.xor"}},"XOR")),e)};const a=n(r(96540)),o=n(r(21312))},19659:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstantLabel=t.XorLabel=t.NotLabel=t.OrLabel=t.AndLabel=t.NullLabel=t.IntegerLabel=t.NumberLabel=t.BooleanLabel=t.StringLabel=t.FalseLabel=t.TrueLabel=t.WriteOnlyLabel=t.ReadOnlyLabel=t.DeprecatedLabel=t.RequiredLabel=t.ErrorOccurredLabel=t.LoadingLabel=t.ElseLabel=t.ThenLabel=t.IfLabel=t.TypeLabel=t.ArrayLabel=t.ObjectLabel=void 0;var a=r(69572);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return n(a).default}});var o=r(82510);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return n(o).default}});var u=r(6511);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return n(u).default}});var i=r(5844);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return n(i).default}});var l=r(16108);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return n(l).default}});var s=r(74858);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return n(s).default}});var c=r(49547);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return n(c).default}});var f=r(29586);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return n(f).default}});var d=r(30280);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return n(d).default}});var h=r(1880);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return n(h).default}});var p=r(51354);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return n(p).default}});var m=r(25356);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return n(m).default}});var v=r(54407);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return n(v).default}});var g=r(77936);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return n(g).default}});var y=r(44290);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return n(y).default}});var _=r(47691);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return n(_).default}});var b=r(99378);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return n(b).default}});var E=r(62325);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return n(E).default}});var O=r(34886);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return n(O).default}});var j=r(65986);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return n(j).default}});var w=r(8782);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return n(w).default}});var P=r(75986);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return n(P).default}});var x=r(1470);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return n(x).default}});var S=r(91738);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return n(S).default}})},95167:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t,n=void 0!==r.minContains&&void 0!==r.maxContains;const s=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.contains"}},"Must contain : "));return a.default.createElement("div",{key:n?"minContainsAndmaxContains":void 0!==r.minContains?"minContains":"maxContains"},s,"\xa0",void 0!==r.minContains&&a.default.createElement(i,{value:r.minContains}),n&&a.default.createElement(u.AndLabel,null),void 0!==r.maxContains&&a.default.createElement(l,{value:r.maxContains}))};const a=n(r(96540)),o=n(r(21312)),u=r(19659);function i(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.minContains",count:t}},"at least {count} valid item(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.maxContains",count:t}},"at most {count} valid item(s)"))}},42347:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=void 0!==t.minItems&&void 0!==t.maxItems;const n=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.lengthItems"}},"Length :"));return a.default.createElement("div",{key:r?"minItemsAndmaxItems":void 0!==t.minItems?"minItems":"maxItems"},n,"\xa0",void 0!==t.minItems&&a.default.createElement(i,{value:t.minItems}),r&&a.default.createElement(u.AndLabel,null),void 0!==t.maxItems&&a.default.createElement(l,{value:t.maxItems}))};const a=n(r(96540)),o=n(r(21312)),u=r(19659);function i(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.minItems",count:t}},">= {count}"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.maxItems",count:t}},"<= {count}"))}},34518:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.uniqueItems"}},"Unique items :")),t=a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.uniqueItemsOnly"}},"yes"));return a.default.createElement("div",{key:"uniqueItems"},e,"\xa0",t)};const a=n(r(96540)),o=n(r(21312))},43648:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.const"}},"Constant value :"));return a.default.createElement("div",{key:"const"},r,"\xa0",a.default.createElement(u.CreateValue,{value:t.const,schema:t}))};const a=n(r(96540)),o=n(r(21312)),u=r(69364)},80550:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.contentEncoding"}},"Encoding :"));return a.default.createElement("div",{key:"contentEncoding"},r,"\xa0",(0,u.printSchemaType)(t.contentEncoding))};const a=n(r(96540)),o=n(r(21312)),u=r(44782)},50315:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.contentMediaType"}},"Media type :"));return a.default.createElement("div",{key:"contentMediaType"},r,"\xa0",(0,u.printSchemaType)(t.contentMediaType))};const a=n(r(96540)),o=n(r(21312)),u=r(44782)},34904:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.contentSchema"}},"Decoded content must be validated against this schema :"));return a.default.createElement("div",{key:"contentSchema"},r,"\xa0",a.default.createElement(u.Collapsible,{summary:a.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},a.default.createElement(i.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},a.default.createElement(u.CreateNodes,{schema:t.contentSchema}))))};const a=n(r(96540)),o=n(r(21312)),u=r(26276),i=r(82008)},27690:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.default"}},"Default value :"));return a.default.createElement("div",{key:"default"},r,"\xa0",a.default.createElement(u.CreateValue,{value:t.default,schema:t}))};const a=n(r(96540)),o=n(r(21312)),u=r(69364)},64521:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement(o.default,{values:{id:"json-schema.labels.deprecated"}},"Deprecated");return a.default.createElement("div",{key:"deprecated"},"\ud83d\udea8\xa0",e)};const a=n(r(96540)),o=n(r(21312))},3961:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.enum"}},"Possible values :"));return a.default.createElement("div",{key:"enum"},r,"\xa0",a.default.createElement("ul",null,t.enum.map(((e,r)=>a.default.createElement("li",{key:r},a.default.createElement(u.CreateValue,{value:e,schema:t}))))))};const a=n(r(96540)),o=n(r(21312)),u=r(69364)},96411:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.examples"}},"Example values :"));let n=t.examples.map(((e,t)=>({id:t,value:e,label:a.default.createElement(o.default,{values:{id:"json-schema.labels.exampleItem",index:t}},"Example {index}")})));return a.default.createElement("div",{key:"examples"},r,"\xa0",a.default.createElement(i.default,null,n.map((e=>a.default.createElement(u.default,{key:e.id,value:e.id.toString(),label:e.label},a.default.createElement(l.CreateValue,{value:e.value,schema:t}))))))};const a=n(r(96540)),o=n(r(21312)),u=n(r(19365)),i=n(r(11470)),l=r(69364)},20505:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement(o.default,{values:{id:"json-schema.labels.noExtraItems"}},"No extra item(s) are authorized in this array");return a.default.createElement("div",{key:"no-extra-items"},"\ud83d\udea8\xa0",e)};const a=n(r(96540)),o=n(r(21312))},97676:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement(o.default,{values:{id:"json-schema.labels.noExtraProperties"}},"No extra propertie(s) are authorized in this object");return a.default.createElement("div",{key:"no-extra-properties"},"\ud83d\udea8\xa0",e)};const a=n(r(96540)),o=n(r(21312))},86361:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement(o.default,{values:{id:"json-schema.labels.nullable"}},"Nullable");return a.default.createElement("div",{key:"nullable"},"\u2753\xa0",e)};const a=n(r(96540)),o=n(r(21312))},13604:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=t.exclusiveMinimum||t.minimum,n=void 0!==t.exclusiveMinimum,s=t.exclusiveMaximum||t.maximum,c=void 0!==t.exclusiveMaximum;const f=void 0!==r&&void 0!==s,d=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.numberMinimumMaximum"}},"Possible values :"));return a.default.createElement("div",{key:"number-range"},d,"\xa0",void 0!==r&&a.default.createElement("code",null,a.default.createElement(i,{exclusive:n,value:r})),f&&a.default.createElement(u.AndLabel,null),void 0!==s&&a.default.createElement("code",null,a.default.createElement(l,{exclusive:c,value:s})))};const a=n(r(96540)),o=n(r(21312)),u=r(19659);function i(e){let{value:t,exclusive:r}=e;return r?a.default.createElement(o.default,{values:{id:"json-schema.keywords.minimumExlusive",count:t}},"> {count}"):a.default.createElement(o.default,{values:{id:"json-schema.keywords.minimum",count:t}},">= {count}")}function l(e){let{value:t,exclusive:r}=e;return r?a.default.createElement(o.default,{values:{id:"json-schema.keywords.maximumExlusive",count:t}},"< {count}"):a.default.createElement(o.default,{values:{id:"json-schema.keywords.maximum",count:t}},"<= {count}")}},34664:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;return a.default.createElement("div",{key:"multipleOf"},a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.multipleOf"}},"Possible values :")),"\xa0",a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.multipleOf",count:t.multipleOf}},"multiple of {count}")))};const a=n(r(96540)),o=n(r(21312))},40410:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=void 0!==t.minProperties&&void 0!==t.maxProperties;const n=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.lengthProperties"}},"Length :"));return a.default.createElement("div",{key:r?"minPropertiesAndMaxProperties":void 0!==t.minProperties?"minProperties":"maxProperties"},n,"\xa0",void 0!==t.minProperties&&a.default.createElement(i,{value:t.minProperties}),r&&a.default.createElement(u.AndLabel,null),void 0!==t.maxProperties&&a.default.createElement(l,{value:t.maxProperties}))};const a=n(r(96540)),o=n(r(21312)),u=r(19659);function i(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.minProperties",count:t}},">= {count} propertie(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.maxProperties",count:t}},"<= {count} propertie(s)"))}},97148:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;return a.default.createElement("div",{key:"pattern"},a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.pattern"}},"Pattern :")),"\xa0",a.default.createElement("code",null,t.pattern))};const a=n(r(96540)),o=n(r(21312))},27530:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ORDER=t.CHECKS_MAP=void 0;const i=u(r(96540)),l=o(r(44782)),s=r(78625),c={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>i.default.createElement(l.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>i.default.createElement(l.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>i.default.createElement(l.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>i.default.createElement(l.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return(0,s.isArrayNotEmpty)(t.enum)},Component:e=>{let{schema:t}=e;return i.default.createElement(l.EnumQM,{key:"enum",schema:t})}},stringLength:{match:e=>{let{schema:t}=e;return void 0!==t.minLength||void 0!==t.maxLength},Component:e=>{let{schema:t}=e;return i.default.createElement(l.StringLengthQM,{key:"stringLength",schema:t})}},objectProperties:{match:e=>{let{schema:t}=e;return void 0!==t.minProperties||void 0!==t.maxProperties},Component:e=>{let{schema:t}=e;return i.default.createElement(l.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>i.default.createElement(l.NoExtraPropertiesQM,{key:"no-extra-properties"})},arrayItems:{match:e=>{let{schema:t}=e;return void 0!==t.minItems||void 0!==t.maxItems},Component:e=>{let{schema:t}=e;return i.default.createElement(l.ArrayNumberOfItemsQM,{key:"arrayItems",schema:t})}},arrayContains:{match:e=>{let{schema:t}=e;return void 0!==t.minContains||void 0!==t.maxContains},Component:e=>{let{schema:t}=e;return i.default.createElement(l.ArrayContainsNumberQM,{key:"arrayContains",schema:t})}},"no-extra-items":{match:e=>{let{schema:t}=e;return!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems},Component:()=>i.default.createElement(l.NoExtraItemsQM,{key:"no-extra-items"})},"number-range":{match:e=>{let{schema:t}=e;return void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum},Component:e=>{let{schema:t}=e;return i.default.createElement(l.NumberBoundsQM,{key:"number-range",schema:t})}},pattern:{match:e=>{let{schema:t}=e;return void 0!==t.pattern},Component:e=>{let{schema:t}=e;return i.default.createElement(l.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return i.default.createElement(l.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>i.default.createElement(l.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return i.default.createElement(l.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return i.default.createElement(l.ConstantQM,{key:"const",schema:t})}},examples:{match:e=>{let{schema:t,options:r}=e;return!0===r.showExamples&&(0,s.isArrayNotEmpty)(t.examples)},Component:e=>{let{schema:t}=e;return i.default.createElement(l.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return i.default.createElement(l.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return i.default.createElement(l.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return i.default.createElement(l.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,s.hasUnresolvedRefs)(t)},Component:e=>i.default.createElement(l.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.CHECKS_MAP=c;t.DEFAULT_ORDER=["nullable","deprecated","readOnly","writeOnly","enum","stringLength","objectProperties","no-extra-properties","arrayItems","arrayContains","no-extra-items","number-range","pattern","multipleOf","uniqueItems","contentEncoding","contentMediaType","contentSchema","default","const","examples","unsolvedRefs"]},66830:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement(o.default,{values:{id:"json-schema.labels.readOnly"}},"read only");return a.default.createElement("div",{key:"readOnly"},"\ud83d\udea8\xa0",e)};const a=n(r(96540)),o=n(r(21312))},49:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t}=e;let r=void 0!==t.minLength&&void 0!==t.maxLength;const n=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.length"}},"Length :"));return a.default.createElement("div",{key:r?"minLengthAndmaxLength":void 0!==t.minLength?"minLength":"maxLength"},n,"\xa0",void 0!==t.minLength&&a.default.createElement(i,{value:t.minLength}),r&&a.default.createElement(u.AndLabel,null),void 0!==t.maxLength&&a.default.createElement(l,{value:t.maxLength}))};const a=n(r(96540)),o=n(r(21312)),u=r(19659);function i(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.minLength",count:t}},">= {count} character(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(o.default,{values:{id:"json-schema.keywords.maxLength",count:t}},"<= {count} character(s)"))}},7576:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{schema:t,options:{UnresolvedRefsComponent:r}}=e,n=a.default.createElement("strong",null,a.default.createElement(o.default,{values:{id:"json-schema.labels.unsolvedRefs"}},"Unsolved ref(s) :"));let u=[t.$ref,t.$dynamicRef,t.$recursiveRef].filter((e=>void 0!==e)).join(" ");return a.default.createElement("div",{key:"unsolvedRefs"},r?a.default.createElement(r,{schema:t}):a.default.createElement(a.default.Fragment,null,n,"\xa0",u))};const a=n(r(96540)),o=n(r(21312))},53771:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=a.default.createElement(o.default,{values:{id:"json-schema.labels.writeOnly"}},"write only");return a.default.createElement("div",{key:"writeOnly"},"\ud83d\udea8\xa0",e)};const a=n(r(96540)),o=n(r(21312))},44782:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QUALIFIERS_DEFAULT_ORDER=t.QUALIFIERS_MAP=t.UnsolvedRefsQM=t.ContentSchemaQM=t.ContentEncodingQM=t.ContentMediaTypeQM=t.NullableQM=t.WriteOnlyQM=t.ReadOnlyQM=t.DeprecatedQM=t.ExamplesQM=t.ConstantQM=t.DefaultValueQM=t.ArrayUniqueItemsQM=t.MultipleOfQM=t.PatternQM=t.NumberBoundsQM=t.NoExtraItemsQM=t.ArrayContainsNumberQM=t.ArrayNumberOfItemsQM=t.NoExtraPropertiesQM=t.ObjectPropertiesQM=t.StringLengthQM=t.EnumQM=void 0,t.printSchemaType=function(e){if(["string","number","bigint","boolean"].includes(typeof e))return a.default.createElement("code",null,e.toString());return a.default.createElement(o.default,{language:"json"},`${JSON.stringify(e)}`)};const a=n(r(96540)),o=n(r(21432));var u=r(3961);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return n(u).default}});var i=r(49);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return n(i).default}});var l=r(40410);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return n(l).default}});var s=r(97676);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return n(s).default}});var c=r(42347);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return n(c).default}});var f=r(95167);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return n(f).default}});var d=r(20505);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return n(d).default}});var h=r(13604);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return n(h).default}});var p=r(97148);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return n(p).default}});var m=r(34664);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return n(m).default}});var v=r(34518);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return n(v).default}});var g=r(27690);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return n(g).default}});var y=r(43648);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return n(y).default}});var _=r(96411);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return n(_).default}});var b=r(64521);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return n(b).default}});var E=r(66830);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return n(E).default}});var O=r(53771);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return n(O).default}});var j=r(86361);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return n(j).default}});var w=r(50315);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return n(w).default}});var P=r(80550);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return n(P).default}});var x=r(34904);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return n(x).default}});var S=r(7576);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return n(S).default}});var k=r(27530);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return k.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return k.DEFAULT_ORDER}})},78625:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayNotEmpty=t.hasUnresolvedRefs=t.isNull=t.isBoolean=t.isSchemaConditional=t.isSchemaComposition=t.isInteger=t.isNumeric=t.isStringType=t.isArrayType=t.isObjectType=void 0,t.detectedTypes=function(e){const t=Array.isArray(e.type)?e.type:void 0!==e.type?[e.type]:[];if(0!==t.length)return[...new Set(t)];return[...r(e)]};t.isObjectType=e=>"boolean"!=typeof e&&("object"===e.type||void 0!==e.properties||void 0!==e.additionalProperties||void 0!==e.patternProperties||void 0!==e.propertyNames||void 0!==e.minProperties||void 0!==e.maxProperties||void 0!==e.required||void 0!==e.unevaluatedProperties);t.isArrayType=e=>{var t;return"boolean"!=typeof e&&("array"===e.type||void 0!==e.items||void 0!==e.minItems||void 0!==e.maxItems||void 0!==e.additionalItems||void 0!==e.contains||void 0!==e.minContains||void 0!==e.maxContains||void 0!==e.prefixItems||void 0!==e.unevaluatedItems||Array.isArray(e.const)||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>Array.isArray(e)))))};t.isStringType=e=>{var t;return"boolean"!=typeof e&&("string"===e.type||void 0!==e.minLength||void 0!==e.maxLength||void 0!==e.pattern||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"string"==typeof e)))||"string"==typeof e.const)};t.isNumeric=e=>{var t;return"boolean"!=typeof e&&("number"===e.type||void 0!==e.multipleOf||void 0!==e.minimum||void 0!==e.exclusiveMinimum||void 0!==e.maximum||void 0!==e.exclusiveMaximum||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"number"==typeof e)))||"number"==typeof e.const)};t.isInteger=e=>{var t;return"boolean"!=typeof e&&("integer"===e.type||1===e.multipleOf||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"bigint"==typeof e)))||"bigint"==typeof e.const)};t.isSchemaComposition=e=>"boolean"!=typeof e&&(void 0!==e.allOf||void 0!==e.anyOf||void 0!==e.oneOf||void 0!==e.not);t.isSchemaConditional=e=>"boolean"!=typeof e&&(void 0!==e.if||void 0!==e.dependencies||void 0!==e.dependentRequired||void 0!==e.dependentSchemas);t.isBoolean=e=>{var t;return"boolean"!=typeof e&&("boolean"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"boolean"==typeof e)))||"boolean"==typeof e.const)};t.isNull=e=>{var t;return"boolean"!=typeof e&&("null"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>null===e)))||null===e.const)};function*r(e){(0,t.isNull)(e)&&(yield"null"),(0,t.isObjectType)(e)&&(yield"object"),(0,t.isArrayType)(e)&&(yield"array"),(0,t.isStringType)(e)&&(yield"string"),(0,t.isBoolean)(e)&&(yield"boolean"),(0,t.isInteger)(e)&&(yield"integer"),!(0,t.isInteger)(e)&&(0,t.isNumeric)(e)&&(yield"number")}t.hasUnresolvedRefs=e=>"boolean"!=typeof e&&(void 0!==e.$ref||void 0!==e.$dynamicRef||void 0!==e.$recursiveRef);t.isArrayNotEmpty=e=>void 0!==e&&e.length>0},65479:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStringForJSONPointer=function(e){return e.replace(/~/g,"~0").replace(/\//g,"~1").replace(/%/g,"%25")}},98898:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;const a=n(r(96540)),o=r(95621),u=r(26276),i=r(19659);function l(e,t){return!(t<=1)&&e!==t-1}function s(e){let{schema:t}=e;if("boolean"==typeof t)return a.default.createElement(u.TypeLabelSwitch,{type:t});if(t.title)return a.default.createElement(a.default.Fragment,null,t.title);const r=(0,o.detectedTypes)(t);return 0===r.length?a.default.createElement(c,{schema:t}):a.default.createElement(a.default.Fragment,null,r.map(((e,n)=>a.default.createElement(a.default.Fragment,{key:n},a.default.createElement(f,{schema:t,type:e}),l(n,r.length)&&a.default.createElement(i.OrLabel,null)))))}function c(e){let{schema:t}=e;if(void 0!==t.not)return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.NotLabel,null)," ( ",a.default.createElement(s,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){const e=t.anyOf?a.default.createElement(i.OrLabel,null):t.oneOf?a.default.createElement(i.XorLabel,null):a.default.createElement(i.AndLabel,null),r=t.allOf||t.anyOf||t.oneOf;return a.default.createElement(a.default.Fragment,null,r.map(((t,n)=>a.default.createElement(a.default.Fragment,{key:n},a.default.createElement(s,{schema:t}),l(n,r.length)&&e))))}return a.default.createElement(u.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:r}=e;if("string"===r&&void 0!==t.format)return a.default.createElement(u.TypeLabelSwitch,{type:t.format});if("array"===r)return a.default.createElement(d,{schema:t});if(!["array","object"].includes(r)){if(void 0!==t.const)return a.default.createElement("code",null,`${JSON.stringify(t.const)}`);if(void 0!==t.enum&&1===t.enum.length)return a.default.createElement("code",null,`${JSON.stringify(t.enum[0])}`)}return a.default.createElement(u.TypeLabelSwitch,{type:r})}function d(e){let{schema:t}=e;if([void 0,!1].includes(t.items)&&[void 0,!1].includes(t.prefixItems)&&void 0===t.contains)return a.default.createElement(u.TypeLabelSwitch,{type:"array"});let r=[];if(Array.isArray(t.prefixItems)&&r.push(...t.prefixItems.map(((e,t)=>a.default.createElement(s,{schema:e,key:`prefixItems_${t}`})))),void 0!==t.items&&"boolean"!=typeof t.items){let e=Array.isArray(t.items)?t.items:[t.items];r.push(...e.map(((e,t)=>a.default.createElement(s,{schema:e,key:`items_${t}`}))))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&r.push(a.default.createElement(s,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&r.push(a.default.createElement(s,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&r.push(a.default.createElement(a.default.Fragment,{key:"before_contains"},"..."),a.default.createElement(s,{schema:t.contains,key:"contains"})),!1!==t.unevaluatedItems&&!1!==t.items&&!1!==t.additionalItems&&r.push(a.default.createElement(a.default.Fragment,{key:"open_tuple"},"...")),a.default.createElement(a.default.Fragment,null,"(",r.map(((e,t)=>a.default.createElement(a.default.Fragment,{key:t},e,l(t,r.length)&&","))),")[]")}},55329:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{options:t}=e,r=t.qualifierMessagesOrder||o.QUALIFIERS_DEFAULT_ORDER;return a.default.createElement(a.default.Fragment,null,r.filter((t=>o.QUALIFIERS_MAP[t].match(e))).map((t=>o.QUALIFIERS_MAP[t].Component(e))))};const a=n(r(96540)),o=r(44782)},95621:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QualifierMessages=t.GenerateFriendlyName=void 0;var u=r(98898);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return o(u).default}});var i=r(55329);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return o(i).default}}),a(r(78625),t),a(r(65479),t)},55131:(e,t)=>{function r(e,t,r,n){var o={};return function(u){if(!o[u]){var i={},l=[],s=[];for(s.push({node:u,processed:!1});s.length>0;){var c=s[s.length-1],f=c.processed,d=c.node;if(f)s.pop(),l.pop(),i[d]=!1,o[d]=!0,t&&0!==e[d].length||r.push(d);else{if(o[d]){s.pop();continue}if(i[d]){if(n){s.pop();continue}throw l.push(d),new a(l)}i[d]=!0,l.push(d);for(var h=e[d],p=h.length-1;p>=0;p--)s.push({node:h[p],processed:!1});c.processed=!0}}}}}var n=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};n.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){this.hasNode(e)||(this.nodes[e]=2===arguments.length?t:e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach((function(t){Object.keys(t).forEach((function(r){var n=t[r].indexOf(e);n>=0&&t[r].splice(n,1)}),this)})))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw new Error("Node does not exist: "+e)},setNodeData:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);this.nodes[e]=t},addDependency:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);if(!this.hasNode(t))throw new Error("Node does not exist: "+t);return-1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var r;this.hasNode(e)&&(r=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(r,1),this.hasNode(t)&&(r=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(r,1)},clone:function(){var e=this,t=new n;return Object.keys(e.nodes).forEach((function(r){t.nodes[r]=e.nodes[r],t.outgoingEdges[r]=e.outgoingEdges[r].slice(0),t.incomingEdges[r]=e.incomingEdges[r].slice(0)})),t},directDependenciesOf:function(e){if(this.hasNode(e))return this.outgoingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},directDependantsOf:function(e){if(this.hasNode(e))return this.incomingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},dependenciesOf:function(e,t){if(this.hasNode(e)){var n=[];r(this.outgoingEdges,t,n,this.circular)(e);var a=n.indexOf(e);return a>=0&&n.splice(a,1),n}throw new Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var n=[];r(this.incomingEdges,t,n,this.circular)(e);var a=n.indexOf(e);return a>=0&&n.splice(a,1),n}throw new Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,n=[],a=Object.keys(this.nodes);if(0===a.length)return n;if(!this.circular){var o=r(this.outgoingEdges,!1,[],this.circular);a.forEach((function(e){o(e)}))}var u=r(this.outgoingEdges,e,n,this.circular);return a.filter((function(e){return 0===t.incomingEdges[e].length})).forEach((function(e){u(e)})),this.circular&&a.filter((function(e){return-1===n.indexOf(e)})).forEach((function(e){u(e)})),n},entryNodes:function(){var e=this;return Object.keys(this.nodes).filter((function(t){return 0===e.incomingEdges[t].length}))}},n.prototype.directDependentsOf=n.prototype.directDependantsOf,n.prototype.dependentsOf=n.prototype.dependantsOf;var a=t.DepGraphCycleError=function(e){var t="Dependency Cycle Found: "+e.join(" -> "),r=new Error(t);return r.cyclePath=e,Object.setPrototypeOf(r,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(r,a),r};a.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(a,Error)},74987:e=>{function t(e,t,r,n){var a,o=null==(a=n)||"number"==typeof a||"boolean"==typeof a?n:r(n),u=t.get(o);return void 0===u&&(u=e.call(this,n),t.set(o,u)),u}function r(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),o=t.get(a);return void 0===o&&(o=e.apply(this,n),t.set(a,o)),o}function n(e,t,r,n,a){return r.bind(t,e,n,a)}function a(e,a){return n(e,this,1===e.length?t:r,a.cache.create(),a.serializer)}function o(){return JSON.stringify(arguments)}function u(){this.cache=Object.create(null)}u.prototype.has=function(e){return e in this.cache},u.prototype.get=function(e){return this.cache[e]},u.prototype.set=function(e,t){this.cache[e]=t};var i={create:function(){return new u}};e.exports=function(e,t){var r=t&&t.cache?t.cache:i,n=t&&t.serializer?t.serializer:o;return(t&&t.strategy?t.strategy:a)(e,{cache:r,serializer:n})},e.exports.strategies={variadic:function(e,t){return n(e,this,r,t.cache.create(),t.serializer)},monadic:function(e,r){return n(e,this,t,r.cache.create(),r.serializer)}}},56477:(e,t)=>{function r(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function i(e,t){return 2===u(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===u(e)?e.get(t):e[t]}function s(e,t,r){var n=u(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return q&&e instanceof Map}function d(e){return J&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=X(e);delete t[W];for(var r=Z(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&o(e,(function(e,t){return m(t,!0)}),!0)),e}function v(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=Y[e];return t||r(18,e),t}function _(e,t){Y[e]||(Y[e]=t)}function b(){return U}function E(e,t){t&&(y("Patches"),e.o=[],e.v=[],e.s=t)}function O(e){j(e),e.p.forEach(P),e.p=null}function j(e){e===U&&(U=e.l)}function w(e){return U={p:[],l:U,h:e,_:!0,m:0}}function P(e){var t=e[W];0===t.t||1===t.t?t.j():t.O=!0}function x(e,t){t.m=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.S||y("ES5").P(t,e,o),o?(n[W].g&&(O(t),r(4)),a(e)&&(e=S(t,e),t.l||C(t,e)),t.o&&y("Patches").M(n[W].u,e,t.o,t.v)):e=S(t,n,[]),O(t),t.o&&t.s(t.o,t.v),e!==B?e:void 0}function S(e,t,r){if(g(t))return t;var n=t[W];if(!n)return o(t,(function(a,o){return k(e,n,t,a,o,r)}),!0),t;if(n.A!==e)return t;if(!n.g)return C(e,n.u,!0),n.u;if(!n.R){n.R=!0,n.A.m--;var a=4===n.t||5===n.t?n.i=p(n.k):n.i,u=a,i=!1;3===n.t&&(u=new Set(a),a.clear(),i=!0),o(u,(function(t,o){return k(e,n,a,t,o,r,i)})),C(e,a,!1),r&&e.o&&y("Patches").F(n,r,e.o,e.v)}return n.i}function k(e,t,r,o,u,l,c){if(n(u)){var f=S(e,u,l&&t&&3!==t.t&&!i(t.N,o)?l.concat(o):void 0);if(s(r,o,f),!n(f))return;e._=!1}else c&&r.add(u);if(a(u)&&!g(u)){if(!e.h.D&&e.m<1)return;S(e,u),t&&t.A.l||C(e,u)}}function C(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e._&&m(t,r)}function A(e,t){var r=e[W];return(r?h(r):e)[t]}function M(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function I(e){e.g||(e.g=!0,e.l&&I(e.l))}function R(e){e.i||(e.i=p(e.u))}function D(e,t,r){var n=f(t)?y("MapSet").K(t,r):d(t)?y("MapSet").$(t,r):e.S?function(e,t){var r=Array.isArray(e),n={t:r?1:0,A:t?t.A:b(),g:!1,R:!1,N:{},l:t,u:e,k:null,i:null,j:null,C:!1},a=n,o=ee;r&&(a=[n],o=te);var u=Proxy.revocable(a,o),i=u.revoke,l=u.proxy;return n.k=l,n.j=i,l}(t,r):y("ES5").I(t,r);return(r?r.A:b()).p.push(n),n}function N(e){return n(e)||r(22,e),function e(t){if(!a(t))return t;var r,n=t[W],i=u(t);if(n){if(!n.g&&(n.t<4||!y("ES5").J(n)))return n.u;n.R=!0,r=T(t,i),n.R=!1}else r=T(t,i);return o(r,(function(t,a){n&&l(n.u,t)===a||s(r,t,e(a))})),3===i?new Set(r):r}(e)}function T(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function L(){function e(e,t){var r=u[e];return r?r.enumerable=t:u[e]=r={configurable:!0,enumerable:t,get:function(){return ee.get(this[W],e)},set:function(t){ee.set(this[W],e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var n=e[t][W];if(!n.g)switch(n.t){case 5:a(n)&&I(n);break;case 4:r(n)&&I(n)}}}function r(e){for(var t=e.u,r=e.k,n=Z(r),a=n.length-1;a>=0;a--){var o=n[a];if(o!==W){var u=t[o];if(void 0===u&&!i(t,o))return!0;var l=r[o],s=l&&l[W];if(s?s.u!==u:!c(l,u))return!0}}var f=!!t[W];return n.length!==Z(t).length+(f?0:1)}function a(e){var t=e.k;if(t.length!==e.u.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n1?r-1:0),o=1;o1?n-1:0),o=1;o=0;r--){var a=t[r];if(0===a.path.length&&"replace"===a.op){e=a.value;break}}r>-1&&(t=t.slice(r+1));var o=y("Patches").W;return n(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),ne=new re,ae=ne.produce,oe=ne.produceWithPatches.bind(ne),ue=ne.setAutoFreeze.bind(ne),ie=ne.setUseProxies.bind(ne),le=ne.applyPatches.bind(ne),se=ne.createDraft.bind(ne),ce=ne.finishDraft.bind(ne);t.Immer=re,t.applyPatches=le,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=se,t.current=N,t.default=ae,t.enableAllPlugins=function(){L(),z(),$()},t.enableES5=L,t.enableMapSet=z,t.enablePatches=$,t.finishDraft=ce,t.freeze=m,t.immerable=H,t.isDraft=n,t.isDraftable=a,t.nothing=B,t.original=function(e){return n(e)||r(23,e),e[W].u},t.produce=ae,t.produceWithPatches=oe,t.setAutoFreeze=ue,t.setUseProxies=ie},75878:(e,t,r)=>{"use strict";e.exports=r(56477)},21549:(e,t,r)=>{var n=r(22032),a=r(63862),o=r(66721),u=r(12749),i=r(35749);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(63702),a=r(70080),o=r(24739),u=r(48655),i=r(31175);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(56110)(r(9325),"Map");e.exports=n},53661:(e,t,r)=>{var n=r(63040),a=r(17670),o=r(90289),u=r(4509),i=r(72949);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(9325).Symbol;e.exports=n},34932:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,a=Array(n);++r{var n=r(43360),a=r(75288),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var u=e[t];o.call(e,t)&&a(u,r)&&(void 0!==r||t in e)||n(e,t,r)}},26025:(e,t,r)=>{var n=r(75288);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},43360:(e,t,r)=>{var n=r(93243);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},47422:(e,t,r)=>{var n=r(31769),a=r(77797);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r{var n=r(51873),a=r(659),o=r(59350),u=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?a(e):o(e)}},45083:(e,t,r)=>{var n=r(1882),a=r(87296),o=r(23805),u=r(47473),i=/^\[object .+?Constructor\]$/,l=Function.prototype,s=Object.prototype,c=l.toString,f=s.hasOwnProperty,d=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||a(e))&&(n(e)?d:i).test(u(e))}},73170:(e,t,r)=>{var n=r(16547),a=r(31769),o=r(30361),u=r(23805),i=r(77797);e.exports=function(e,t,r,l){if(!u(e))return e;for(var s=-1,c=(t=a(t,e)).length,f=c-1,d=e;null!=d&&++s{var n=r(51873),a=r(34932),o=r(56449),u=r(44394),i=n?n.prototype:void 0,l=i?i.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return a(t,e)+"";if(u(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},31769:(e,t,r)=>{var n=r(56449),a=r(28586),o=r(61802),u=r(13222);e.exports=function(e,t){return n(e)?e:a(e,t)?[e]:o(u(e))}},55481:(e,t,r)=>{var n=r(9325)["__core-js_shared__"];e.exports=n},93243:(e,t,r)=>{var n=r(56110),a=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=a},34840:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},12651:(e,t,r)=>{var n=r(74218);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},56110:(e,t,r)=>{var n=r(45083),a=r(10392);e.exports=function(e,t){var r=a(e,t);return n(r)?r:void 0}},659:(e,t,r)=>{var n=r(51873),a=Object.prototype,o=a.hasOwnProperty,u=a.toString,i=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,i),r=e[i];try{e[i]=void 0;var n=!0}catch(l){}var a=u.call(e);return n&&(t?e[i]=r:delete e[i]),a}},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},22032:(e,t,r)=>{var n=r(81042);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},63862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:(e,t,r)=>{var n=r(81042),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(t,e)?t[e]:void 0}},12749:(e,t,r)=>{var n=r(81042),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:a.call(t,e)}},35749:(e,t,r)=>{var n=r(81042);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},30361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e{var n=r(56449),a=r(44394),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!a(e))||(u.test(e)||!o.test(e)||null!=t&&e in Object(t))}},74218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:(e,t,r)=>{var n,a=r(55481),o=(n=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,r)=>{var n=r(26025),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():a.call(t,r,1),--this.size,!0)}},24739:(e,t,r)=>{var n=r(26025);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},48655:(e,t,r)=>{var n=r(26025);e.exports=function(e){return n(this.__data__,e)>-1}},31175:(e,t,r)=>{var n=r(26025);e.exports=function(e,t){var r=this.__data__,a=n(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}},63040:(e,t,r)=>{var n=r(21549),a=r(80079),o=r(68223);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||a),string:new n}}},17670:(e,t,r)=>{var n=r(12651);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},90289:(e,t,r)=>{var n=r(12651);e.exports=function(e){return n(this,e).get(e)}},4509:(e,t,r)=>{var n=r(12651);e.exports=function(e){return n(this,e).has(e)}},72949:(e,t,r)=>{var n=r(12651);e.exports=function(e,t){var r=n(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}},62224:(e,t,r)=>{var n=r(50104);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},81042:(e,t,r)=>{var n=r(56110)(Object,"create");e.exports=n},59350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9325:(e,t,r)=>{var n=r(34840),a="object"==typeof self&&self&&self.Object===Object&&self,o=n||a||Function("return this")();e.exports=o},61802:(e,t,r)=>{var n=r(62224),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,u=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,r,n,a){t.push(n?a.replace(o,"$1"):r||e)})),t}));e.exports=u},77797:(e,t,r)=>{var n=r(44394);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(r){}try{return e+""}catch(r){}}return""}},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},58156:(e,t,r)=>{var n=r(47422);e.exports=function(e,t,r){var a=null==e?void 0:n(e,t);return void 0===a?r:a}},56449:e=>{var t=Array.isArray;e.exports=t},1882:(e,t,r)=>{var n=r(72552),a=r(23805);e.exports=function(e){if(!a(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},44394:(e,t,r)=>{var n=r(72552),a=r(40346);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==n(e)}},2543:function(e,t,r){var n;e=r.nmd(e),function(){var a,o="Expected a function",u="__lodash_hash_undefined__",i="__lodash_placeholder__",l=16,s=32,c=64,f=128,d=256,h=1/0,p=9007199254740991,m=NaN,v=4294967295,g=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",s],["partialRight",c],["rearg",d]],y="[object Arguments]",_="[object Array]",b="[object Boolean]",E="[object Date]",O="[object Error]",j="[object Function]",w="[object GeneratorFunction]",P="[object Map]",x="[object Number]",S="[object Object]",k="[object Promise]",C="[object RegExp]",A="[object Set]",M="[object String]",I="[object Symbol]",R="[object WeakMap]",D="[object ArrayBuffer]",N="[object DataView]",T="[object Float32Array]",L="[object Float64Array]",$="[object Int8Array]",z="[object Int16Array]",F="[object Int32Array]",U="[object Uint8Array]",Q="[object Uint8ClampedArray]",q="[object Uint16Array]",J="[object Uint32Array]",V=/\b__p \+= '';/g,B=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,K=RegExp(W.source),Z=RegExp(G.source),X=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ae=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ae.source),ue=/^\s+/,ie=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,_e=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,Ee=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Oe=/($^)/,je=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Ce="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Me="['\u2019]",Ie="["+we+"]",Re="["+Ae+"]",De="["+Pe+"]",Ne="\\d+",Te="["+xe+"]",Le="["+Se+"]",$e="[^"+we+Ae+Ne+xe+Se+ke+"]",ze="\\ud83c[\\udffb-\\udfff]",Fe="[^"+we+"]",Ue="(?:\\ud83c[\\udde6-\\uddff]){2}",Qe="[\\ud800-\\udbff][\\udc00-\\udfff]",qe="["+ke+"]",Je="\\u200d",Ve="(?:"+Le+"|"+$e+")",Be="(?:"+qe+"|"+$e+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",We="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+De+"|"+ze+")"+"?",Ke="["+Ce+"]?",Ze=Ke+Ge+("(?:"+Je+"(?:"+[Fe,Ue,Qe].join("|")+")"+Ke+Ge+")*"),Xe="(?:"+[Te,Ue,Qe].join("|")+")"+Ze,Ye="(?:"+[Fe+De+"?",De,Ue,Qe,Ie].join("|")+")",et=RegExp(Me,"g"),tt=RegExp(De,"g"),rt=RegExp(ze+"(?="+ze+")|"+Ye+Ze,"g"),nt=RegExp([qe+"?"+Le+"+"+He+"(?="+[Re,qe,"$"].join("|")+")",Be+"+"+We+"(?="+[Re,qe+Ve,"$"].join("|")+")",qe+"?"+Ve+"+"+He,qe+"+"+We,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Xe].join("|"),"g"),at=RegExp("["+Je+we+Pe+Ce+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ut=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,lt={};lt[T]=lt[L]=lt[$]=lt[z]=lt[F]=lt[U]=lt[Q]=lt[q]=lt[J]=!0,lt[y]=lt[_]=lt[D]=lt[b]=lt[N]=lt[E]=lt[O]=lt[j]=lt[P]=lt[x]=lt[S]=lt[C]=lt[A]=lt[M]=lt[R]=!1;var st={};st[y]=st[_]=st[D]=st[N]=st[b]=st[E]=st[T]=st[L]=st[$]=st[z]=st[F]=st[P]=st[x]=st[S]=st[C]=st[A]=st[M]=st[I]=st[U]=st[Q]=st[q]=st[J]=!0,st[O]=st[j]=st[R]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,ht="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,pt="object"==typeof self&&self&&self.Object===Object&&self,mt=ht||pt||Function("return this")(),vt=t&&!t.nodeType&&t,gt=vt&&e&&!e.nodeType&&e,yt=gt&>.exports===vt,_t=yt&&ht.process,bt=function(){try{var e=gt&>.require&>.require("util").types;return e||_t&&_t.binding&&_t.binding("util")}catch(t){}}(),Et=bt&&bt.isArrayBuffer,Ot=bt&&bt.isDate,jt=bt&&bt.isMap,wt=bt&&bt.isRegExp,Pt=bt&&bt.isSet,xt=bt&&bt.isTypedArray;function St(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function kt(e,t,r,n){for(var a=-1,o=null==e?0:e.length;++a-1}function Dt(e,t,r){for(var n=-1,a=null==e?0:e.length;++n-1;);return r}function nr(e,t){for(var r=e.length;r--&&qt(t,e[r],0)>-1;);return r}var ar=Wt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),or=Wt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ur(e){return"\\"+ct[e]}function ir(e){return at.test(e)}function lr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function sr(e,t){return function(r){return e(t(r))}}function cr(e,t){for(var r=-1,n=e.length,a=0,o=[];++r",""":'"',"'":"'"});var gr=function e(t){var r,n=(t=null==t?mt:gr.defaults(mt.Object(),t,gr.pick(mt,ut))).Array,ie=t.Date,we=t.Error,Pe=t.Function,xe=t.Math,Se=t.Object,ke=t.RegExp,Ce=t.String,Ae=t.TypeError,Me=n.prototype,Ie=Pe.prototype,Re=Se.prototype,De=t["__core-js_shared__"],Ne=Ie.toString,Te=Re.hasOwnProperty,Le=0,$e=(r=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",ze=Re.toString,Fe=Ne.call(Se),Ue=mt._,Qe=ke("^"+Ne.call(Te).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=yt?t.Buffer:a,Je=t.Symbol,Ve=t.Uint8Array,Be=qe?qe.allocUnsafe:a,He=sr(Se.getPrototypeOf,Se),We=Se.create,Ge=Re.propertyIsEnumerable,Ke=Me.splice,Ze=Je?Je.isConcatSpreadable:a,Xe=Je?Je.iterator:a,Ye=Je?Je.toStringTag:a,rt=function(){try{var e=ho(Se,"defineProperty");return e({},"",{}),e}catch(t){}}(),at=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ct=ie&&ie.now!==mt.Date.now&&ie.now,ht=t.setTimeout!==mt.setTimeout&&t.setTimeout,pt=xe.ceil,vt=xe.floor,gt=Se.getOwnPropertySymbols,_t=qe?qe.isBuffer:a,bt=t.isFinite,Ft=Me.join,Wt=sr(Se.keys,Se),yr=xe.max,_r=xe.min,br=ie.now,Er=t.parseInt,Or=xe.random,jr=Me.reverse,wr=ho(t,"DataView"),Pr=ho(t,"Map"),xr=ho(t,"Promise"),Sr=ho(t,"Set"),kr=ho(t,"WeakMap"),Cr=ho(Se,"create"),Ar=kr&&new kr,Mr={},Ir=zo(wr),Rr=zo(Pr),Dr=zo(xr),Nr=zo(Sr),Tr=zo(kr),Lr=Je?Je.prototype:a,$r=Lr?Lr.valueOf:a,zr=Lr?Lr.toString:a;function Fr(e){if(ri(e)&&!Vu(e)&&!(e instanceof Jr)){if(e instanceof qr)return e;if(Te.call(e,"__wrapped__"))return Fo(e)}return new qr(e)}var Ur=function(){function e(){}return function(t){if(!ti(t))return{};if(We)return We(t);e.prototype=t;var r=new e;return e.prototype=a,r}}();function Qr(){}function qr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function Jr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Vr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function sn(e,t,r,n,o,u){var i,l=1&t,s=2&t,c=4&t;if(r&&(i=o?r(e,n,o,u):r(e)),i!==a)return i;if(!ti(e))return e;var f=Vu(e);if(f){if(i=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Te.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!l)return Aa(e,i)}else{var d=vo(e),h=d==j||d==w;if(Gu(e))return wa(e,l);if(d==S||d==y||h&&!o){if(i=s||h?{}:yo(e),!l)return s?function(e,t){return Ma(e,mo(e),t)}(e,function(e,t){return e&&Ma(t,Ri(t),e)}(i,e)):function(e,t){return Ma(e,po(e),t)}(e,an(i,e))}else{if(!st[d])return o?e:{};i=function(e,t,r){var n=e.constructor;switch(t){case D:return Pa(e);case b:case E:return new n(+e);case N:return function(e,t){var r=t?Pa(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case T:case L:case $:case z:case F:case U:case Q:case q:case J:return xa(e,r);case P:return new n;case x:case M:return new n(e);case C:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new n;case I:return a=e,$r?Se($r.call(a)):{}}var a}(e,d,l)}}u||(u=new Gr);var p=u.get(e);if(p)return p;u.set(e,i),ii(e)?e.forEach((function(n){i.add(sn(n,t,r,n,e,u))})):ni(e)&&e.forEach((function(n,a){i.set(a,sn(n,t,r,a,e,u))}));var m=f?a:(c?s?oo:ao:s?Ri:Ii)(e);return Ct(m||e,(function(n,a){m&&(n=e[a=n]),tn(i,a,sn(n,t,r,a,e,u))})),i}function cn(e,t,r){var n=r.length;if(null==e)return!n;for(e=Se(e);n--;){var o=r[n],u=t[o],i=e[o];if(i===a&&!(o in e)||!u(i))return!1}return!0}function fn(e,t,r){if("function"!=typeof e)throw new Ae(o);return Io((function(){e.apply(a,r)}),t)}function dn(e,t,r,n){var a=-1,o=Rt,u=!0,i=e.length,l=[],s=t.length;if(!i)return l;r&&(t=Nt(t,Yt(r))),n?(o=Dt,u=!1):t.length>=200&&(o=tr,u=!1,t=new Wr(t));e:for(;++a-1},Br.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Hr.prototype.clear=function(){this.size=0,this.__data__={hash:new Vr,map:new(Pr||Br),string:new Vr}},Hr.prototype.delete=function(e){var t=co(this,e).delete(e);return this.size-=t?1:0,t},Hr.prototype.get=function(e){return co(this,e).get(e)},Hr.prototype.has=function(e){return co(this,e).has(e)},Hr.prototype.set=function(e,t){var r=co(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Wr.prototype.add=Wr.prototype.push=function(e){return this.__data__.set(e,u),this},Wr.prototype.has=function(e){return this.__data__.has(e)},Gr.prototype.clear=function(){this.__data__=new Br,this.size=0},Gr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Gr.prototype.get=function(e){return this.__data__.get(e)},Gr.prototype.has=function(e){return this.__data__.has(e)},Gr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Br){var n=r.__data__;if(!Pr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Hr(n)}return r.set(e,t),this.size=r.size,this};var hn=Da(En),pn=Da(On,!0);function mn(e,t){var r=!0;return hn(e,(function(e,n,a){return r=!!t(e,n,a)})),r}function vn(e,t,r){for(var n=-1,o=e.length;++n0&&r(i)?t>1?yn(i,t-1,r,n,a):Tt(a,i):n||(a[a.length]=i)}return a}var _n=Na(),bn=Na(!0);function En(e,t){return e&&_n(e,t,Ii)}function On(e,t){return e&&bn(e,t,Ii)}function jn(e,t){return It(t,(function(t){return Xu(e[t])}))}function wn(e,t){for(var r=0,n=(t=ba(t,e)).length;null!=e&&rt}function kn(e,t){return null!=e&&Te.call(e,t)}function Cn(e,t){return null!=e&&t in Se(e)}function An(e,t,r){for(var o=r?Dt:Rt,u=e[0].length,i=e.length,l=i,s=n(i),c=1/0,f=[];l--;){var d=e[l];l&&t&&(d=Nt(d,Yt(t))),c=_r(d.length,c),s[l]=!r&&(t||u>=120&&d.length>=120)?new Wr(l&&d):a}d=e[0];var h=-1,p=s[0];e:for(;++h=i?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Bn(e,t,r){for(var n=-1,a=t.length,o={};++n-1;)i!==e&&Ke.call(i,l,1),Ke.call(e,l,1);return e}function Wn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var a=t[r];if(r==n||a!==o){var o=a;bo(a)?Ke.call(e,a,1):da(e,a)}}return e}function Gn(e,t){return e+vt(Or()*(t-e+1))}function Kn(e,t){var r="";if(!e||t<1||t>p)return r;do{t%2&&(r+=e),(t=vt(t/2))&&(e+=e)}while(t);return r}function Zn(e,t){return Ro(ko(e,t,al),e+"")}function Xn(e){return Zr(Ui(e))}function Yn(e,t){var r=Ui(e);return To(r,ln(t,0,r.length))}function ea(e,t,r,n){if(!ti(e))return e;for(var o=-1,u=(t=ba(t,e)).length,i=u-1,l=e;null!=l&&++oo?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var u=n(o);++a>>1,u=e[o];null!==u&&!si(u)&&(r?u<=t:u=200){var s=t?null:Ka(e);if(s)return fr(s);u=!1,a=tr,l=new Wr}else l=t?[]:i;e:for(;++n=n?e:aa(e,t,r)}var ja=at||function(e){return mt.clearTimeout(e)};function wa(e,t){if(t)return e.slice();var r=e.length,n=Be?Be(r):new e.constructor(r);return e.copy(n),n}function Pa(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function xa(e,t){var r=t?Pa(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Sa(e,t){if(e!==t){var r=e!==a,n=null===e,o=e==e,u=si(e),i=t!==a,l=null===t,s=t==t,c=si(t);if(!l&&!c&&!u&&e>t||u&&i&&s&&!l&&!c||n&&i&&s||!r&&s||!o)return 1;if(!n&&!u&&!c&&e1?r[o-1]:a,i=o>2?r[2]:a;for(u=e.length>3&&"function"==typeof u?(o--,u):a,i&&Eo(r[0],r[1],i)&&(u=o<3?a:u,o=1),t=Se(t);++n-1?o[u?t[i]:i]:a}}function Fa(e){return no((function(t){var r=t.length,n=r,u=qr.prototype.thru;for(e&&t.reverse();n--;){var i=t[n];if("function"!=typeof i)throw new Ae(o);if(u&&!l&&"wrapper"==io(i))var l=new qr([],!0)}for(n=l?n:r;++n1&&b.reverse(),h&&c<_&&(b.length=c),this&&this!==mt&&this instanceof f&&(x=y||$a(x)),x.apply(P,b)}}function Qa(e,t){return function(r,n){return function(e,t,r,n){return En(e,(function(e,a,o){t(n,r(e),a,o)})),n}(r,e,t(n),{})}}function qa(e,t){return function(r,n){var o;if(r===a&&n===a)return t;if(r!==a&&(o=r),n!==a){if(o===a)return n;"string"==typeof r||"string"==typeof n?(r=ca(r),n=ca(n)):(r=sa(r),n=sa(n)),o=e(r,n)}return o}}function Ja(e){return no((function(t){return t=Nt(t,Yt(so())),Zn((function(r){var n=this;return e(t,(function(e){return St(e,n,r)}))}))}))}function Va(e,t){var r=(t=t===a?" ":ca(t)).length;if(r<2)return r?Kn(t,e):t;var n=Kn(t,pt(e/hr(t)));return ir(t)?Oa(pr(n),0,e).join(""):n.slice(0,e)}function Ba(e){return function(t,r,o){return o&&"number"!=typeof o&&Eo(t,r,o)&&(r=o=a),t=pi(t),r===a?(r=t,t=0):r=pi(r),function(e,t,r,a){for(var o=-1,u=yr(pt((t-e)/(r||1)),0),i=n(u);u--;)i[a?u:++o]=e,e+=r;return i}(t,r,o=o===a?tl))return!1;var c=u.get(e),f=u.get(t);if(c&&f)return c==t&&f==e;var d=-1,h=!0,p=2&r?new Wr:a;for(u.set(e,t),u.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Ct(g,(function(r){var n="_."+r[0];t&r[1]&&!Rt(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(ce):[]}(n),r)))}function No(e){var t=0,r=0;return function(){var n=br(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(a,arguments)}}function To(e,t){var r=-1,n=e.length,o=n-1;for(t=t===a?n:t;++r1?e[t-1]:a;return r="function"==typeof r?(e.pop(),r):a,uu(e,r)}));function hu(e){var t=Fr(e);return t.__chain__=!0,t}function pu(e,t){return t(e)}var mu=no((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,o=function(t){return un(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Jr&&bo(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:pu,args:[o],thisArg:a}),new qr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(a),e}))):this.thru(o)}));var vu=Ia((function(e,t,r){Te.call(e,r)?++e[r]:on(e,r,1)}));var gu=za(Jo),yu=za(Vo);function _u(e,t){return(Vu(e)?Ct:hn)(e,so(t,3))}function bu(e,t){return(Vu(e)?At:pn)(e,so(t,3))}var Eu=Ia((function(e,t,r){Te.call(e,r)?e[r].push(t):on(e,r,[t])}));var Ou=Zn((function(e,t,r){var a=-1,o="function"==typeof t,u=Hu(e)?n(e.length):[];return hn(e,(function(e){u[++a]=o?St(t,e,r):Mn(e,t,r)})),u})),ju=Ia((function(e,t,r){on(e,r,t)}));function wu(e,t){return(Vu(e)?Nt:Fn)(e,so(t,3))}var Pu=Ia((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var xu=Zn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&Eo(e,t[0],t[1])?t=[]:r>2&&Eo(t[0],t[1],t[2])&&(t=[t[0]]),Vn(e,yn(t,1),[])})),Su=ct||function(){return mt.Date.now()};function ku(e,t,r){return t=r?a:t,t=e&&null==t?e.length:t,Xa(e,f,a,a,a,a,t)}function Cu(e,t){var r;if("function"!=typeof t)throw new Ae(o);return e=mi(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=a),r}}var Au=Zn((function(e,t,r){var n=1;if(r.length){var a=cr(r,lo(Au));n|=s}return Xa(e,n,t,r,a)})),Mu=Zn((function(e,t,r){var n=3;if(r.length){var a=cr(r,lo(Mu));n|=s}return Xa(t,n,e,r,a)}));function Iu(e,t,r){var n,u,i,l,s,c,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new Ae(o);function m(t){var r=n,o=u;return n=u=a,f=t,l=e.apply(o,r)}function v(e){var r=e-c;return c===a||r>=t||r<0||h&&e-f>=i}function g(){var e=Su();if(v(e))return y(e);s=Io(g,function(e){var r=t-(e-c);return h?_r(r,i-(e-f)):r}(e))}function y(e){return s=a,p&&n?m(e):(n=u=a,l)}function _(){var e=Su(),r=v(e);if(n=arguments,u=this,c=e,r){if(s===a)return function(e){return f=e,s=Io(g,t),d?m(e):l}(c);if(h)return ja(s),s=Io(g,t),m(c)}return s===a&&(s=Io(g,t)),l}return t=gi(t)||0,ti(r)&&(d=!!r.leading,i=(h="maxWait"in r)?yr(gi(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),_.cancel=function(){s!==a&&ja(s),f=0,n=c=u=s=a},_.flush=function(){return s===a?l:y(Su())},_}var Ru=Zn((function(e,t){return fn(e,1,t)})),Du=Zn((function(e,t,r){return fn(e,gi(t)||0,r)}));function Nu(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(o);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var u=e.apply(this,n);return r.cache=o.set(a,u)||o,u};return r.cache=new(Nu.Cache||Hr),r}function Tu(e){if("function"!=typeof e)throw new Ae(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Nu.Cache=Hr;var Lu=Ea((function(e,t){var r=(t=1==t.length&&Vu(t[0])?Nt(t[0],Yt(so())):Nt(yn(t,1),Yt(so()))).length;return Zn((function(n){for(var a=-1,o=_r(n.length,r);++a=t})),Ju=In(function(){return arguments}())?In:function(e){return ri(e)&&Te.call(e,"callee")&&!Ge.call(e,"callee")},Vu=n.isArray,Bu=Et?Yt(Et):function(e){return ri(e)&&xn(e)==D};function Hu(e){return null!=e&&ei(e.length)&&!Xu(e)}function Wu(e){return ri(e)&&Hu(e)}var Gu=_t||gl,Ku=Ot?Yt(Ot):function(e){return ri(e)&&xn(e)==E};function Zu(e){if(!ri(e))return!1;var t=xn(e);return t==O||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!oi(e)}function Xu(e){if(!ti(e))return!1;var t=xn(e);return t==j||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Yu(e){return"number"==typeof e&&e==mi(e)}function ei(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ti(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ri(e){return null!=e&&"object"==typeof e}var ni=jt?Yt(jt):function(e){return ri(e)&&vo(e)==P};function ai(e){return"number"==typeof e||ri(e)&&xn(e)==x}function oi(e){if(!ri(e)||xn(e)!=S)return!1;var t=He(e);if(null===t)return!0;var r=Te.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ne.call(r)==Fe}var ui=wt?Yt(wt):function(e){return ri(e)&&xn(e)==C};var ii=Pt?Yt(Pt):function(e){return ri(e)&&vo(e)==A};function li(e){return"string"==typeof e||!Vu(e)&&ri(e)&&xn(e)==M}function si(e){return"symbol"==typeof e||ri(e)&&xn(e)==I}var ci=xt?Yt(xt):function(e){return ri(e)&&ei(e.length)&&!!lt[xn(e)]};var fi=Ha(zn),di=Ha((function(e,t){return e<=t}));function hi(e){if(!e)return[];if(Hu(e))return li(e)?pr(e):Aa(e);if(Xe&&e[Xe])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Xe]());var t=vo(e);return(t==P?lr:t==A?fr:Ui)(e)}function pi(e){return e?(e=gi(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function mi(e){var t=pi(e),r=t%1;return t==t?r?t-r:t:0}function vi(e){return e?ln(mi(e),0,v):0}function gi(e){if("number"==typeof e)return e;if(si(e))return m;if(ti(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ti(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var r=ge.test(e);return r||_e.test(e)?dt(e.slice(2),r?2:8):ve.test(e)?m:+e}function yi(e){return Ma(e,Ri(e))}function _i(e){return null==e?"":ca(e)}var bi=Ra((function(e,t){if(Po(t)||Hu(t))Ma(t,Ii(t),e);else for(var r in t)Te.call(t,r)&&tn(e,r,t[r])})),Ei=Ra((function(e,t){Ma(t,Ri(t),e)})),Oi=Ra((function(e,t,r,n){Ma(t,Ri(t),e,n)})),ji=Ra((function(e,t,r,n){Ma(t,Ii(t),e,n)})),wi=no(un);var Pi=Zn((function(e,t){e=Se(e);var r=-1,n=t.length,o=n>2?t[2]:a;for(o&&Eo(t[0],t[1],o)&&(n=1);++r1),t})),Ma(e,oo(e),r),n&&(r=sn(r,7,to));for(var a=t.length;a--;)da(r,t[a]);return r}));var Li=no((function(e,t){return null==e?{}:function(e,t){return Bn(e,t,(function(t,r){return ki(e,r)}))}(e,t)}));function $i(e,t){if(null==e)return{};var r=Nt(oo(e),(function(e){return[e]}));return t=so(t),Bn(e,r,(function(e,r){return t(e,r[0])}))}var zi=Za(Ii),Fi=Za(Ri);function Ui(e){return null==e?[]:er(e,Ii(e))}var Qi=La((function(e,t,r){return t=t.toLowerCase(),e+(r?qi(t):t)}));function qi(e){return Zi(_i(e).toLowerCase())}function Ji(e){return(e=_i(e))&&e.replace(Ee,ar).replace(tt,"")}var Vi=La((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Bi=La((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Hi=Ta("toLowerCase");var Wi=La((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Gi=La((function(e,t,r){return e+(r?" ":"")+Zi(t)}));var Ki=La((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Zi=Ta("toUpperCase");function Xi(e,t,r){return e=_i(e),(t=r?a:t)===a?function(e){return ot.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Yi=Zn((function(e,t){try{return St(e,a,t)}catch(r){return Zu(r)?r:new we(r)}})),el=no((function(e,t){return Ct(t,(function(t){t=$o(t),on(e,t,Au(e[t],e))})),e}));function tl(e){return function(){return e}}var rl=Fa(),nl=Fa(!0);function al(e){return e}function ol(e){return Tn("function"==typeof e?e:sn(e,1))}var ul=Zn((function(e,t){return function(r){return Mn(r,e,t)}})),il=Zn((function(e,t){return function(r){return Mn(e,r,t)}}));function ll(e,t,r){var n=Ii(t),a=jn(t,n);null!=r||ti(t)&&(a.length||!n.length)||(r=t,t=e,e=this,a=jn(t,Ii(t)));var o=!(ti(r)&&"chain"in r&&!r.chain),u=Xu(e);return Ct(a,(function(r){var n=t[r];e[r]=n,u&&(e.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=e(this.__wrapped__);return(r.__actions__=Aa(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Tt([this.value()],arguments))})})),e}function sl(){}var cl=Ja(Nt),fl=Ja(Mt),dl=Ja(zt);function hl(e){return Oo(e)?Ht($o(e)):function(e){return function(t){return wn(t,e)}}(e)}var pl=Ba(),ml=Ba(!0);function vl(){return[]}function gl(){return!1}var yl=qa((function(e,t){return e+t}),0),_l=Ga("ceil"),bl=qa((function(e,t){return e/t}),1),El=Ga("floor");var Ol,jl=qa((function(e,t){return e*t}),1),wl=Ga("round"),Pl=qa((function(e,t){return e-t}),0);return Fr.after=function(e,t){if("function"!=typeof t)throw new Ae(o);return e=mi(e),function(){if(--e<1)return t.apply(this,arguments)}},Fr.ary=ku,Fr.assign=bi,Fr.assignIn=Ei,Fr.assignInWith=Oi,Fr.assignWith=ji,Fr.at=wi,Fr.before=Cu,Fr.bind=Au,Fr.bindAll=el,Fr.bindKey=Mu,Fr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Vu(e)?e:[e]},Fr.chain=hu,Fr.chunk=function(e,t,r){t=(r?Eo(e,t,r):t===a)?1:yr(mi(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var u=0,i=0,l=n(pt(o/t));uo?0:o+r),(n=n===a||n>o?o:mi(n))<0&&(n+=o),n=r>n?0:vi(n);r>>0)?(e=_i(e))&&("string"==typeof t||null!=t&&!ui(t))&&!(t=ca(t))&&ir(e)?Oa(pr(e),0,r):e.split(t,r):[]},Fr.spread=function(e,t){if("function"!=typeof e)throw new Ae(o);return t=null==t?0:yr(mi(t),0),Zn((function(r){var n=r[t],a=Oa(r,0,t);return n&&Tt(a,n),St(e,this,a)}))},Fr.tail=function(e){var t=null==e?0:e.length;return t?aa(e,1,t):[]},Fr.take=function(e,t,r){return e&&e.length?aa(e,0,(t=r||t===a?1:mi(t))<0?0:t):[]},Fr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?aa(e,(t=n-(t=r||t===a?1:mi(t)))<0?0:t,n):[]},Fr.takeRightWhile=function(e,t){return e&&e.length?pa(e,so(t,3),!1,!0):[]},Fr.takeWhile=function(e,t){return e&&e.length?pa(e,so(t,3)):[]},Fr.tap=function(e,t){return t(e),e},Fr.throttle=function(e,t,r){var n=!0,a=!0;if("function"!=typeof e)throw new Ae(o);return ti(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),Iu(e,t,{leading:n,maxWait:t,trailing:a})},Fr.thru=pu,Fr.toArray=hi,Fr.toPairs=zi,Fr.toPairsIn=Fi,Fr.toPath=function(e){return Vu(e)?Nt(e,$o):si(e)?[e]:Aa(Lo(_i(e)))},Fr.toPlainObject=yi,Fr.transform=function(e,t,r){var n=Vu(e),a=n||Gu(e)||ci(e);if(t=so(t,4),null==r){var o=e&&e.constructor;r=a?n?new o:[]:ti(e)&&Xu(o)?Ur(He(e)):{}}return(a?Ct:En)(e,(function(e,n,a){return t(r,e,n,a)})),r},Fr.unary=function(e){return ku(e,1)},Fr.union=ru,Fr.unionBy=nu,Fr.unionWith=au,Fr.uniq=function(e){return e&&e.length?fa(e):[]},Fr.uniqBy=function(e,t){return e&&e.length?fa(e,so(t,2)):[]},Fr.uniqWith=function(e,t){return t="function"==typeof t?t:a,e&&e.length?fa(e,a,t):[]},Fr.unset=function(e,t){return null==e||da(e,t)},Fr.unzip=ou,Fr.unzipWith=uu,Fr.update=function(e,t,r){return null==e?e:ha(e,t,_a(r))},Fr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:a,null==e?e:ha(e,t,_a(r),n)},Fr.values=Ui,Fr.valuesIn=function(e){return null==e?[]:er(e,Ri(e))},Fr.without=iu,Fr.words=Xi,Fr.wrap=function(e,t){return $u(_a(t),e)},Fr.xor=lu,Fr.xorBy=su,Fr.xorWith=cu,Fr.zip=fu,Fr.zipObject=function(e,t){return ga(e||[],t||[],tn)},Fr.zipObjectDeep=function(e,t){return ga(e||[],t||[],ea)},Fr.zipWith=du,Fr.entries=zi,Fr.entriesIn=Fi,Fr.extend=Ei,Fr.extendWith=Oi,ll(Fr,Fr),Fr.add=yl,Fr.attempt=Yi,Fr.camelCase=Qi,Fr.capitalize=qi,Fr.ceil=_l,Fr.clamp=function(e,t,r){return r===a&&(r=t,t=a),r!==a&&(r=(r=gi(r))==r?r:0),t!==a&&(t=(t=gi(t))==t?t:0),ln(gi(e),t,r)},Fr.clone=function(e){return sn(e,4)},Fr.cloneDeep=function(e){return sn(e,5)},Fr.cloneDeepWith=function(e,t){return sn(e,5,t="function"==typeof t?t:a)},Fr.cloneWith=function(e,t){return sn(e,4,t="function"==typeof t?t:a)},Fr.conformsTo=function(e,t){return null==t||cn(e,t,Ii(t))},Fr.deburr=Ji,Fr.defaultTo=function(e,t){return null==e||e!=e?t:e},Fr.divide=bl,Fr.endsWith=function(e,t,r){e=_i(e),t=ca(t);var n=e.length,o=r=r===a?n:ln(mi(r),0,n);return(r-=t.length)>=0&&e.slice(r,o)==t},Fr.eq=Uu,Fr.escape=function(e){return(e=_i(e))&&Z.test(e)?e.replace(G,or):e},Fr.escapeRegExp=function(e){return(e=_i(e))&&oe.test(e)?e.replace(ae,"\\$&"):e},Fr.every=function(e,t,r){var n=Vu(e)?Mt:mn;return r&&Eo(e,t,r)&&(t=a),n(e,so(t,3))},Fr.find=gu,Fr.findIndex=Jo,Fr.findKey=function(e,t){return Ut(e,so(t,3),En)},Fr.findLast=yu,Fr.findLastIndex=Vo,Fr.findLastKey=function(e,t){return Ut(e,so(t,3),On)},Fr.floor=El,Fr.forEach=_u,Fr.forEachRight=bu,Fr.forIn=function(e,t){return null==e?e:_n(e,so(t,3),Ri)},Fr.forInRight=function(e,t){return null==e?e:bn(e,so(t,3),Ri)},Fr.forOwn=function(e,t){return e&&En(e,so(t,3))},Fr.forOwnRight=function(e,t){return e&&On(e,so(t,3))},Fr.get=Si,Fr.gt=Qu,Fr.gte=qu,Fr.has=function(e,t){return null!=e&&go(e,t,kn)},Fr.hasIn=ki,Fr.head=Ho,Fr.identity=al,Fr.includes=function(e,t,r,n){e=Hu(e)?e:Ui(e),r=r&&!n?mi(r):0;var a=e.length;return r<0&&(r=yr(a+r,0)),li(e)?r<=a&&e.indexOf(t,r)>-1:!!a&&qt(e,t,r)>-1},Fr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=null==r?0:mi(r);return a<0&&(a=yr(n+a,0)),qt(e,t,a)},Fr.inRange=function(e,t,r){return t=pi(t),r===a?(r=t,t=0):r=pi(r),function(e,t,r){return e>=_r(t,r)&&e=-9007199254740991&&e<=p},Fr.isSet=ii,Fr.isString=li,Fr.isSymbol=si,Fr.isTypedArray=ci,Fr.isUndefined=function(e){return e===a},Fr.isWeakMap=function(e){return ri(e)&&vo(e)==R},Fr.isWeakSet=function(e){return ri(e)&&"[object WeakSet]"==xn(e)},Fr.join=function(e,t){return null==e?"":Ft.call(e,t)},Fr.kebabCase=Vi,Fr.last=Zo,Fr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=n;return r!==a&&(o=(o=mi(r))<0?yr(n+o,0):_r(o,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,o):Qt(e,Vt,o,!0)},Fr.lowerCase=Bi,Fr.lowerFirst=Hi,Fr.lt=fi,Fr.lte=di,Fr.max=function(e){return e&&e.length?vn(e,al,Sn):a},Fr.maxBy=function(e,t){return e&&e.length?vn(e,so(t,2),Sn):a},Fr.mean=function(e){return Bt(e,al)},Fr.meanBy=function(e,t){return Bt(e,so(t,2))},Fr.min=function(e){return e&&e.length?vn(e,al,zn):a},Fr.minBy=function(e,t){return e&&e.length?vn(e,so(t,2),zn):a},Fr.stubArray=vl,Fr.stubFalse=gl,Fr.stubObject=function(){return{}},Fr.stubString=function(){return""},Fr.stubTrue=function(){return!0},Fr.multiply=jl,Fr.nth=function(e,t){return e&&e.length?Jn(e,mi(t)):a},Fr.noConflict=function(){return mt._===this&&(mt._=Ue),this},Fr.noop=sl,Fr.now=Su,Fr.pad=function(e,t,r){e=_i(e);var n=(t=mi(t))?hr(e):0;if(!t||n>=t)return e;var a=(t-n)/2;return Va(vt(a),r)+e+Va(pt(a),r)},Fr.padEnd=function(e,t,r){e=_i(e);var n=(t=mi(t))?hr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var o=Or();return _r(e+o*(t-e+ft("1e-"+((o+"").length-1))),t)}return Gn(e,t)},Fr.reduce=function(e,t,r){var n=Vu(e)?Lt:Gt,a=arguments.length<3;return n(e,so(t,4),r,a,hn)},Fr.reduceRight=function(e,t,r){var n=Vu(e)?$t:Gt,a=arguments.length<3;return n(e,so(t,4),r,a,pn)},Fr.repeat=function(e,t,r){return t=(r?Eo(e,t,r):t===a)?1:mi(t),Kn(_i(e),t)},Fr.replace=function(){var e=arguments,t=_i(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fr.result=function(e,t,r){var n=-1,o=(t=ba(t,e)).length;for(o||(o=1,e=a);++np)return[];var r=v,n=_r(e,v);t=so(t),e-=v;for(var a=Zt(n,t);++r=u)return e;var l=r-hr(n);if(l<1)return n;var s=i?Oa(i,0,l).join(""):e.slice(0,l);if(o===a)return s+n;if(i&&(l+=s.length-l),ui(o)){if(e.slice(l).search(o)){var c,f=s;for(o.global||(o=ke(o.source,_i(me.exec(o))+"g")),o.lastIndex=0;c=o.exec(f);)var d=c.index;s=s.slice(0,d===a?l:d)}}else if(e.indexOf(ca(o),l)!=l){var h=s.lastIndexOf(o);h>-1&&(s=s.slice(0,h))}return s+n},Fr.unescape=function(e){return(e=_i(e))&&K.test(e)?e.replace(W,vr):e},Fr.uniqueId=function(e){var t=++Le;return _i(e)+t},Fr.upperCase=Ki,Fr.upperFirst=Zi,Fr.each=_u,Fr.eachRight=bu,Fr.first=Ho,ll(Fr,(Ol={},En(Fr,(function(e,t){Te.call(Fr.prototype,t)||(Ol[t]=e)})),Ol),{chain:!1}),Fr.VERSION="4.17.21",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fr[e].placeholder=Fr})),Ct(["drop","take"],(function(e,t){Jr.prototype[e]=function(r){r=r===a?1:yr(mi(r),0);var n=this.__filtered__&&!t?new Jr(this):this.clone();return n.__filtered__?n.__takeCount__=_r(r,n.__takeCount__):n.__views__.push({size:_r(r,v),type:e+(n.__dir__<0?"Right":"")}),n},Jr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ct(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Jr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:so(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),Ct(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Jr.prototype[e]=function(){return this[r](1).value()[0]}})),Ct(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Jr.prototype[e]=function(){return this.__filtered__?new Jr(this):this[r](1)}})),Jr.prototype.compact=function(){return this.filter(al)},Jr.prototype.find=function(e){return this.filter(e).head()},Jr.prototype.findLast=function(e){return this.reverse().find(e)},Jr.prototype.invokeMap=Zn((function(e,t){return"function"==typeof e?new Jr(this):this.map((function(r){return Mn(r,e,t)}))})),Jr.prototype.reject=function(e){return this.filter(Tu(so(e)))},Jr.prototype.slice=function(e,t){e=mi(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Jr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==a&&(r=(t=mi(t))<0?r.dropRight(-t):r.take(t-e)),r)},Jr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Jr.prototype.toArray=function(){return this.take(v)},En(Jr.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),o=Fr[n?"take"+("last"==t?"Right":""):t],u=n||/^find/.test(t);o&&(Fr.prototype[t]=function(){var t=this.__wrapped__,i=n?[1]:arguments,l=t instanceof Jr,s=i[0],c=l||Vu(t),f=function(e){var t=o.apply(Fr,Tt([e],i));return n&&d?t[0]:t};c&&r&&"function"==typeof s&&1!=s.length&&(l=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=u&&!d,m=l&&!h;if(!u&&c){t=m?t:new Jr(this);var v=e.apply(t,i);return v.__actions__.push({func:pu,args:[f],thisArg:a}),new qr(v,d)}return p&&m?e.apply(this,i):(v=this.thru(f),p?n?v.value()[0]:v.value():v)})})),Ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Me[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Fr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var a=this.value();return t.apply(Vu(a)?a:[],e)}return this[r]((function(r){return t.apply(Vu(r)?r:[],e)}))}})),En(Jr.prototype,(function(e,t){var r=Fr[t];if(r){var n=r.name+"";Te.call(Mr,n)||(Mr[n]=[]),Mr[n].push({name:t,func:r})}})),Mr[Ua(a,2).name]=[{name:"wrapper",func:a}],Jr.prototype.clone=function(){var e=new Jr(this.__wrapped__);return e.__actions__=Aa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Aa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Aa(this.__views__),e},Jr.prototype.reverse=function(){if(this.__filtered__){var e=new Jr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Jr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Vu(e),n=t<0,a=r?e.length:0,o=function(e,t,r){var n=-1,a=r.length;for(;++n=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},Fr.prototype.plant=function(e){for(var t,r=this;r instanceof Qr;){var n=Fo(r);n.__index__=0,n.__values__=a,t?o.__wrapped__=n:t=n;var o=n;r=r.__wrapped__}return o.__wrapped__=e,t},Fr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Jr){var t=e;return this.__actions__.length&&(t=new Jr(this)),(t=t.reverse()).__actions__.push({func:pu,args:[tu],thisArg:a}),new qr(t,this.__chain__)}return this.thru(tu)},Fr.prototype.toJSON=Fr.prototype.valueOf=Fr.prototype.value=function(){return ma(this.__wrapped__,this.__actions__)},Fr.prototype.first=Fr.prototype.head,Xe&&(Fr.prototype[Xe]=function(){return this}),Fr}();mt._=gr,(n=function(){return gr}.call(t,r,t,e))===a||(e.exports=n)}.call(this)},50104:(e,t,r)=>{var n=r(53661);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var u=e.apply(this,n);return r.cache=o.set(a,u)||o,u};return r.cache=new(a.Cache||n),r}a.Cache=n,e.exports=a},63560:(e,t,r)=>{var n=r(73170);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},13222:(e,t,r)=>{var n=r(77556);e.exports=function(e){return null==e?"":n(e)}},85227:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={schemaItem:"schemaItem_buZn",schemaName:"schemaName_Rg3q",strikethrough:"strikethrough_g4yO"}},26932:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={constant:"constant_erHY"}},36523:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={deprecated:"deprecated_iwIh"}},65262:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={readOnly:"readOnly_RjRF"}},66859:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={required:"required_k7Xu"}},29879:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={writeOnly:"writeOnly_QX6I"}},12068:(e,t,r)=>{"use strict";const n=r(74869);e.exports=n,n.default=n},74869:e=>{"use strict";e.exports=function(e,r,n){var a,o="";if(t="",arguments.length>1){if("number"==typeof n)for(a=0;a100)return e.replace(n,o);for(var t="",u=0,i=0;in;)e[r]=e[r-1],r--;e[r]=n}return e}},21430:function(e,t,r){var n,a;!function(o,u){"use strict";e.exports?e.exports=u():void 0===(a="function"==typeof(n=u)?n.call(t,r,t,e):n)||(e.exports=a)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,r,n=e.toLowerCase().split(":"),a=n.length,o=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[a-1]&&""===n[a-2]&&n.pop(),-1!==n[(a=n.length)-1].indexOf(".")&&(o=7),t=0;t1);i++)r.splice(0,1);n[u]=r.join("")}var l=-1,s=0,c=0,f=-1,d=!1;for(u=0;us&&(l=f,s=c)):"0"===n[u]&&(d=!0,f=u,c=1);c>s&&(l=f,s=c),s>1&&n.splice(l,s,""),a=n.length;var h="";for(""===n[0]&&(h=":"),u=0;u=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return!1;var a=r.list[e.slice(t+1)];return!!a&&a.indexOf(" "+e.slice(n+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var n=r.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return null;var a=r.list[e.slice(t+1)];return a?a.indexOf(" "+e.slice(n+1,t)+" ")<0?null:e.slice(n+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return r}))},84193:function(e,t,r){var n,a,o;!function(u,i){"use strict";e.exports?e.exports=i(r(39340),r(21430),r(4704)):(a=[r(39340),r(21430),r(4704)],void 0===(o="function"==typeof(n=i)?n.apply(t,a):n)||(e.exports=o))}(0,(function(e,t,r,n){"use strict";var a=n&&n.URI;function o(e,t){var r=arguments.length>=1;if(!(this instanceof o))return r?arguments.length>=2?new o(e,t):new o(e):new o;if(void 0===e){if(r)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&r)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}o.version="1.19.11";var u=o.prototype,i=Object.prototype.hasOwnProperty;function l(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function s(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function c(e){return"Array"===s(e)}function f(e,t){var r,n,a={};if("RegExp"===s(t))a=null;else if(c(t))for(r=0,n=t.length;r]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))/gi,o.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},o.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,o.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},o.hostProtocols=["http","https"],o.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,o.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},o.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return o.domAttributes[t]}},o.encode=v,o.decode=decodeURIComponent,o.iso8859=function(){o.encode=escape,o.decode=unescape},o.unicode=function(){o.encode=v,o.decode=decodeURIComponent},o.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},o.encodeQuery=function(e,t){var r=o.encode(e+"");return void 0===t&&(t=o.escapeQuerySpace),t?r.replace(/%20/g,"+"):r},o.decodeQuery=function(e,t){e+="",void 0===t&&(t=o.escapeQuerySpace);try{return o.decode(t?e.replace(/\+/g,"%20"):e)}catch(r){return e}};var g,y={encode:"encode",decode:"decode"},_=function(e,t){return function(r){try{return o[t](r+"").replace(o.characters[e][t].expression,(function(r){return o.characters[e][t].map[r]}))}catch(n){return r}}};for(g in y)o[g+"PathSegment"]=_("pathname",y[g]),o[g+"UrnPathSegment"]=_("urnpath",y[g]);var b=function(e,t,r){return function(n){var a;a=r?function(e){return o[t](o[r](e))}:o[t];for(var u=(n+"").split(e),i=0,l=u.length;i-1&&(t.fragment=e.substring(r+1)||null,e=e.substring(0,r)),(r=e.indexOf("?"))>-1&&(t.query=e.substring(r+1)||null,e=e.substring(0,r)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=o.parseAuthority(e,t)):(r=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,r)||null,t.protocol&&!t.protocol.match(o.protocol_expression)?t.protocol=void 0:"//"===e.substring(r+1,r+3).replace(/\\/g,"/")?(e=e.substring(r+3),e=o.parseAuthority(e,t)):(e=e.substring(r+1),t.urn=!0)),t.path=e,t},o.parseHost=function(e,t){e||(e="");var r,n,a=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===a&&(a=e.length),"["===e.charAt(0))r=e.indexOf("]"),t.hostname=e.substring(1,r)||null,t.port=e.substring(r+2,a)||null,"/"===t.port&&(t.port=null);else{var u=e.indexOf(":"),i=e.indexOf("/"),l=e.indexOf(":",u+1);-1!==l&&(-1===i||l-1?a:e.length-1);return u>-1&&(-1===a||u-1?h.slice(0,p)+h.slice(p).replace(u,""):h.replace(u,"")).length<=s[0].length||r.ignore&&r.ignore.test(h))){var g=t(h,c,d=c+h.length,e);void 0!==g?(g=String(g),e=e.slice(0,c)+g+e.slice(d),n.lastIndex=c+g.length):n.lastIndex=d}}return n.lastIndex=0,e},o.ensureValidHostname=function(t,r){var n=!!t,a=!1;if(!!r&&(a=d(o.hostProtocols,r)),a&&!n)throw new TypeError("Hostname cannot be empty, if protocol is "+r);if(t&&t.match(o.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(o.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},o.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},o.noConflict=function(e){if(e){var t={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(t.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(t.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=n.SecondLevelDomains.noConflict()),t}return n.URI===this&&(n.URI=a),this},u.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=o.build(this._parts),this._deferred_build=!1),this},u.clone=function(){return new o(this)},u.valueOf=u.toString=function(){return this.build(!1)._string},u.protocol=E("protocol"),u.username=E("username"),u.password=E("password"),u.hostname=E("hostname"),u.port=E("port"),u.query=O("query","?"),u.fragment=O("fragment","#"),u.search=function(e,t){var r=this.query(e,t);return"string"==typeof r&&r.length?"?"+r:r},u.hash=function(e,t){var r=this.fragment(e,t);return"string"==typeof r&&r.length?"#"+r:r},u.pathname=function(e,t){if(void 0===e||!0===e){var r=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?o.decodeUrnPath:o.decodePath)(r):r}return this._parts.urn?this._parts.path=e?o.recodeUrnPath(e):"":this._parts.path=e?o.recodePath(e):"/",this.build(!t),this},u.path=u.pathname,u.href=function(e,t){var r;if(void 0===e)return this.toString();this._string="",this._parts=o._parts();var n=e instanceof o,a="object"==typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(e=e[o.getDomAttribute(e)]||"",a=!1);if(!n&&a&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=o.parse(String(e),this._parts);else{if(!n&&!a)throw new TypeError("invalid input");var u=n?e._parts:e;for(r in u)"query"!==r&&i.call(this._parts,r)&&(this._parts[r]=u[r]);u.query&&this.query(u.query,!1)}return this.build(!t),this},u.is=function(e){var t=!1,n=!1,a=!1,u=!1,i=!1,l=!1,s=!1,c=!this._parts.urn;switch(this._parts.hostname&&(c=!1,n=o.ip4_expression.test(this._parts.hostname),a=o.ip6_expression.test(this._parts.hostname),i=(u=!(t=n||a))&&r&&r.has(this._parts.hostname),l=u&&o.idn_expression.test(this._parts.hostname),s=u&&o.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return c;case"absolute":return!c;case"domain":case"name":return u;case"sld":return i;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return a;case"idn":return l;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return s}return null};var j=u.protocol,w=u.port,P=u.hostname;u.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(o.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return j.call(this,e,t)},u.scheme=u.protocol,u.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),o.ensureValidPort(e))),w.call(this,e,t))},u.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var r={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==o.parseHost(e,r))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=r.hostname,this._parts.preventInvalidHostname&&o.ensureValidHostname(e,this._parts.protocol)}return P.call(this,e,t)},u.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var r=this.protocol();return this.authority()?(r?r+"://":"")+this.authority():""}var n=o(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},u.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildHost(this._parts):"";if("/"!==o.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},u.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildAuthority(this._parts):"";if("/"!==o.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},u.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var r=o.buildUserinfo(this._parts);return r?r.substring(0,r.length-1):r}return"@"!==e[e.length-1]&&(e+="@"),o.parseUserinfo(e,this._parts),this.build(!t),this},u.resource=function(e,t){var r;return void 0===e?this.path()+this.search()+this.hash():(r=o.parse(e),this._parts.path=r.path,this._parts.query=r.query,this._parts.fragment=r.fragment,this.build(!t),this)},u.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,r)||""}var n=this._parts.hostname.length-this.domain().length,a=this._parts.hostname.substring(0,n),u=new RegExp("^"+l(a));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&o.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(u,e),this.build(!t),this},u.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.match(/\./g);if(r&&r.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(t).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(o.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var a=new RegExp(l(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(a,e)}return this.build(!t),this},u.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.lastIndexOf("."),a=this._parts.hostname.substring(n+1);return!0!==t&&r&&r.list[a.toLowerCase()]&&r.get(this._parts.hostname)||a}var o;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!r||!r.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');o=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");o=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,e)}return this.build(!t),this},u.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var r=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,r)||(this._parts.hostname?"/":"");return e?o.decodePath(n):n}var a=this._parts.path.length-this.filename().length,u=this._parts.path.substring(0,a),i=new RegExp("^"+l(u));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=o.recodePath(e),this._parts.path=this._parts.path.replace(i,e),this.build(!t),this},u.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var r=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(r+1);return e?o.decodePathSegment(n):n}var a=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(a=!0);var u=new RegExp(l(this.filename())+"$");return e=o.recodePath(e),this._parts.path=this._parts.path.replace(u,e),a?this.normalizePath(t):this.build(!t),this},u.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var r,n,a=this.filename(),u=a.lastIndexOf(".");return-1===u?"":(r=a.substring(u+1),n=/^[a-z0-9%]+$/i.test(r)?r:"",e?o.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var i,s=this.suffix();if(s)i=e?new RegExp(l(s)+"$"):new RegExp(l("."+s)+"$");else{if(!e)return this;this._parts.path+="."+o.recodePath(e)}return i&&(e=o.recodePath(e),this._parts.path=this._parts.path.replace(i,e)),this.build(!t),this},u.segment=function(e,t,r){var n=this._parts.urn?":":"/",a=this.path(),o="/"===a.substring(0,1),u=a.split(n);if(void 0!==e&&"number"!=typeof e&&(r=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(o&&u.shift(),e<0&&(e=Math.max(u.length+e,0)),void 0===t)return void 0===e?u:u[e];if(null===e||void 0===u[e])if(c(t)){u=[];for(var i=0,l=t.length;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function p(e){throw new RangeError(f[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function v(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(c,".")).split("."),t).join(".")}function g(e){for(var t,r,n=[],a=0,o=e.length;a=55296&&t<=56319&&a65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function b(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=i)e=d(e/35);return d(n+36*e/(e+38))}function E(e){var t,r,n,a,o,l,s,c,f,h,m,v=[],g=e.length,_=0,E=128,O=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&p("not-basic"),v.push(e.charCodeAt(n));for(a=r>0?r+1:0;a=g&&p("invalid-input"),((c=(m=e.charCodeAt(a++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:i)>=i||c>d((u-_)/l))&&p("overflow"),_+=c*l,!(c<(f=s<=O?1:s>=O+26?26:s-O));s+=i)l>d(u/(h=i-f))&&p("overflow"),l*=h;O=b(_-o,t=v.length+1,0==o),d(_/t)>u-E&&p("overflow"),E+=d(_/t),_%=t,v.splice(_++,0,E)}return y(v)}function O(e){var t,r,n,a,o,l,s,c,f,m,v,y,E,O,j,w=[];for(y=(e=g(e)).length,t=128,r=0,o=72,l=0;l=t&&vd((u-r)/(E=n+1))&&p("overflow"),r+=(s-t)*E,t=s,l=0;lu&&p("overflow"),v==t){for(c=r,f=i;!(c<(m=f<=o?1:f>=o+26?26:f-o));f+=i)j=c-m,O=i-m,w.push(h(_(m+j%O,0))),c=d(j/O);w.push(h(_(c,0))),o=b(r,E,n==a),r=0,++n}++r,++t}return w.join("")}o={version:"1.3.2",ucs2:{decode:g,encode:y},decode:E,encode:O,toASCII:function(e){return v(e,(function(e){return s.test(e)?"xn--"+O(e):e}))},toUnicode:function(e){return v(e,(function(e){return l.test(e)?E(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return o}.call(t,r,t,e))||(e.exports=n)}()}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/7595.5909c0c9.js.LICENSE.txt b/pr-preview/pr-4/assets/js/7595.5909c0c9.js.LICENSE.txt new file mode 100644 index 0000000..fecd4e1 --- /dev/null +++ b/pr-preview/pr-4/assets/js/7595.5909c0c9.js.LICENSE.txt @@ -0,0 +1,51 @@ +/*! + * URI.js - Mutating URLs + * + * Version: 1.19.11 + * + * Author: Rodney Rehm + * Web: http://medialize.github.io/URI.js/ + * + * Licensed under + * MIT License http://www.opensource.org/licenses/mit-license + * + */ + +/*! + * URI.js - Mutating URLs + * IPv6 Support + * + * Version: 1.19.11 + * + * Author: Rodney Rehm + * Web: http://medialize.github.io/URI.js/ + * + * Licensed under + * MIT License http://www.opensource.org/licenses/mit-license + * + */ + +/*! + * URI.js - Mutating URLs + * Second Level Domain (SLD) Support + * + * Version: 1.19.11 + * + * Author: Rodney Rehm + * Web: http://medialize.github.io/URI.js/ + * + * Licensed under + * MIT License http://www.opensource.org/licenses/mit-license + * + */ + +/*! https://mths.be/punycode v1.4.0 by @mathias */ + +/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ diff --git a/pr-preview/pr-4/assets/js/7723.1adfea2d.js b/pr-preview/pr-4/assets/js/7723.1adfea2d.js new file mode 100644 index 0000000..0b1c5f3 --- /dev/null +++ b/pr-preview/pr-4/assets/js/7723.1adfea2d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[7723],{57723:(e,s,r)=>{r.d(s,{createPieServices:()=>c.f});var c=r(88685);r(19369)}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8059.992962bf.js b/pr-preview/pr-4/assets/js/8059.992962bf.js new file mode 100644 index 0000000..b1d305b --- /dev/null +++ b/pr-preview/pr-4/assets/js/8059.992962bf.js @@ -0,0 +1 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8059],{21432:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>V});var s=n(96540),o=n(92303),c=n(34164),a=n(95293),r=n(6342);function l(){const{prism:e}=(0,r.p)(),{colorMode:t}=(0,a.G)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var i=n(17559),u=n(18426),d=n.n(u);const m=/title=(?["'])(?.*?)\1/,p=/\{(?<range>[\d,-]+)\}/,b={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},f={...b,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},h=Object.keys(b);function g(e,t){const n=e.map((e=>{const{start:n,end:s}=f[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${s})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function k(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:o,metastring:c}=t;if(c&&p.test(c)){const e=c.match(p).groups.range;if(0===o.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${c}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=o[0].className,s=d()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(s),code:n}}if(void 0===s)return{lineClassNames:{},code:n};const a=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return g(["js","jsBlock"],t);case"jsx":case"tsx":return g(["js","jsBlock","jsx"],t);case"html":return g(["js","jsBlock","html"],t);case"python":case"py":case"bash":return g(["bash"],t);case"markdown":case"md":return g(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return g(["tex"],t);case"lua":case"haskell":case"sql":return g(["lua"],t);case"wasm":return g(["wasm"],t);case"vb":case"vba":case"visual-basic":return g(["vb","rem"],t);case"vbnet":return g(["vbnet","rem"],t);case"batch":return g(["rem"],t);case"basic":return g(["rem","f90"],t);case"fsharp":return g(["js","ml"],t);case"ocaml":case"sml":return g(["ml"],t);case"fortran":return g(["f90"],t);case"cobol":return g(["cobol"],t);default:return g(h,t)}}(s,o),r=n.split("\n"),l=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),i=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),u=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),m=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let d=0;d<r.length;){const e=r[d].match(a);if(!e){d+=1;continue}const t=e.slice(1).find((e=>void 0!==e));i[t]?l[i[t]].range+=`${d},`:u[t]?l[u[t]].start=d:m[t]&&(l[m[t]].range+=`${l[m[t]].start}-${d-1},`),r.splice(d,1)}n=r.join("\n");const b={};return Object.entries(l).forEach((e=>{let[t,{range:n}]=e;d()(n).forEach((e=>{b[e]??=[],b[e].push(t)}))})),{lineClassNames:b,code:n}}const x={codeBlockContainer:"codeBlockContainer_Ckt0"};var j=n(74848);function B(e){let{as:t,...n}=e;const s=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[s,o]=e;const c=t[s];c&&"string"==typeof o&&(n[c]=o)})),n}(l());return(0,j.jsx)(t,{...n,style:s,className:(0,c.A)(n.className,x.codeBlockContainer,i.G.common.codeBlock)})}const v={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function y(e){let{children:t,className:n}=e;return(0,j.jsx)(B,{as:"pre",tabIndex:0,className:(0,c.A)(v.codeBlockStandalone,"thin-scrollbar",n),children:(0,j.jsx)("code",{className:v.codeBlockLines,children:t})})}var N=n(89532);const C={attributes:!0,characterData:!0,childList:!0,subtree:!0};function w(e,t){const[n,o]=(0,s.useState)(),c=(0,s.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,s.useEffect)((()=>{c()}),[c]),function(e,t,n){void 0===n&&(n=C);const o=(0,N._q)(t),c=(0,N.Be)(n);(0,s.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,c),()=>t.disconnect()}),[e,o,c])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),c())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var E=n(71765);const L={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function A(e){let{line:t,classNames:n,showLineNumbers:s,getLineProps:o,getTokenProps:a}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const r=o({line:t,className:(0,c.A)(n,s&&L.codeLine)}),l=t.map(((e,t)=>(0,j.jsx)("span",{...a({token:e})},t)));return(0,j.jsxs)("span",{...r,children:[s?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{className:L.codeLineNumber}),(0,j.jsx)("span",{className:L.codeLineContent,children:l})]}):l,(0,j.jsx)("br",{})]})}var S=n(21312);function _(e){return(0,j.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,j.jsx)("path",{fill:"currentColor",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"})})}function I(e){return(0,j.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,j.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const T={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function M(e){let{code:t,className:n}=e;const[o,a]=(0,s.useState)(!1),r=(0,s.useRef)(void 0),l=(0,s.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const s=document.createElement("textarea"),o=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const c=document.getSelection(),a=c.rangeCount>0&&c.getRangeAt(0);n.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let r=!1;try{r=document.execCommand("copy")}catch{}s.remove(),a&&(c.removeAllRanges(),c.addRange(a)),o&&o.focus()}(t),a(!0),r.current=window.setTimeout((()=>{a(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(r.current)),[]),(0,j.jsx)("button",{type:"button","aria-label":o?(0,S.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,S.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,S.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,c.A)("clean-btn",n,T.copyButton,o&&T.copyButtonCopied),onClick:l,children:(0,j.jsxs)("span",{className:T.copyButtonIcons,"aria-hidden":"true",children:[(0,j.jsx)(_,{className:T.copyButtonIcon}),(0,j.jsx)(I,{className:T.copyButtonSuccessIcon})]})})}function $(e){return(0,j.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,j.jsx)("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"})})}const R={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function W(e){let{className:t,onClick:n,isEnabled:s}=e;const o=(0,S.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,j.jsx)("button",{type:"button",onClick:n,className:(0,c.A)("clean-btn",t,s&&R.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,j.jsx)($,{className:R.wordWrapButtonIcon,"aria-hidden":"true"})})}function H(e){let{children:t,className:n="",metastring:o,title:a,showLineNumbers:i,language:u}=e;const{prism:{defaultLanguage:d,magicComments:p}}=(0,r.p)(),b=function(e){return e?.toLowerCase()}(u??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??d),f=l(),h=function(){const[e,t]=(0,s.useState)(!1),[n,o]=(0,s.useState)(!1),c=(0,s.useRef)(null),a=(0,s.useCallback)((()=>{const n=c.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[c,e]),r=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=c.current,n=e>t||c.current.querySelector("code").hasAttribute("style");o(n)}),[c]);return w(c,r),(0,s.useEffect)((()=>{r()}),[e,r]),(0,s.useEffect)((()=>(window.addEventListener("resize",r,{passive:!0}),()=>{window.removeEventListener("resize",r)})),[r]),{codeBlockRef:c,isEnabled:e,isCodeScrollable:n,toggle:a}}(),g=function(e){return e?.match(m)?.groups.title??""}(o)||a,{lineClassNames:x,code:y}=k(t,{metastring:o,language:b,magicComments:p}),N=i??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,j.jsxs)(B,{as:"div",className:(0,c.A)(n,b&&!n.includes(`language-${b}`)&&`language-${b}`),children:[g&&(0,j.jsx)("div",{className:v.codeBlockTitle,children:g}),(0,j.jsxs)("div",{className:v.codeBlockContent,children:[(0,j.jsx)(E.f4,{theme:f,code:y,language:b??"text",children:e=>{let{className:t,style:n,tokens:s,getLineProps:o,getTokenProps:a}=e;return(0,j.jsx)("pre",{tabIndex:0,ref:h.codeBlockRef,className:(0,c.A)(t,v.codeBlock,"thin-scrollbar"),style:n,children:(0,j.jsx)("code",{className:(0,c.A)(v.codeBlockLines,N&&v.codeBlockLinesWithNumbering),children:s.map(((e,t)=>(0,j.jsx)(A,{line:e,getLineProps:o,getTokenProps:a,classNames:x[t],showLineNumbers:N},t)))})})}}),(0,j.jsxs)("div",{className:v.buttonGroup,children:[(h.isEnabled||h.isCodeScrollable)&&(0,j.jsx)(W,{className:v.codeButton,onClick:()=>h.toggle(),isEnabled:h.isEnabled}),(0,j.jsx)(M,{className:v.codeButton,code:y})]})]})]})}function V(e){let{children:t,...n}=e;const c=(0,o.A)(),a=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),r="string"==typeof a?H:y;return(0,j.jsx)(r,{...n,children:a},String(c))}},41622:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var s=n(96540),o=n(34164),c=n(63427),a=n(92303),r=n(41422);const l={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};var i=n(74848);function u(e){return!!e&&("SUMMARY"===e.tagName||u(e.parentElement))}function d(e,t){return!!e&&(e===t||d(e.parentElement,t))}function m(e){let{summary:t,children:n,...m}=e;(0,c.A)().collectAnchor(m.id);const p=(0,a.A)(),b=(0,s.useRef)(null),{collapsed:f,setCollapsed:h}=(0,r.u)({initialState:!m.open}),[g,k]=(0,s.useState)(m.open),x=s.isValidElement(t)?t:(0,i.jsx)("summary",{children:t??"Details"});return(0,i.jsxs)("details",{...m,ref:b,open:g,"data-collapsed":f,className:(0,o.A)(l.details,p&&l.isBrowser,m.className),onMouseDown:e=>{u(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;u(t)&&d(t,b.current)&&(e.preventDefault(),f?(h(!1),k(!0)):h(!0))},children:[x,(0,i.jsx)(r.N,{lazy:!1,collapsed:f,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{h(e),k(!e)},children:(0,i.jsx)("div",{className:l.collapsibleContent,children:n})})]})}const p={details:"details_b_Ee"},b="alert alert--info";function f(e){let{...t}=e;return(0,i.jsx)(m,{...t,className:(0,o.A)(b,p.details,t.className)})}},18426:(e,t)=>{function n(e){let t,n=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,c]=t;if(s&&c){s=parseInt(s),c=parseInt(c);const e=s<c?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(c+=e);for(let t=s;t!==c;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},28453:(e,t,n)=>{"use strict";n.d(t,{R:()=>a,x:()=>r});var s=n(96540);const o={},c=s.createContext(o);function a(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8130.d821de8e.js b/pr-preview/pr-4/assets/js/8130.d821de8e.js new file mode 100644 index 0000000..e275797 --- /dev/null +++ b/pr-preview/pr-4/assets/js/8130.d821de8e.js @@ -0,0 +1,2 @@ +/*! For license information please see 8130.d821de8e.js.LICENSE.txt */ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8130],{69119:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|:)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},16750:(t,e,r)=>{"use strict";e.J=void 0;var n=r(69119);function i(t){try{return decodeURIComponent(t)}catch(e){return t}}e.J=function(t){if(!t)return n.BLANK_URL;var e,r,a=i(t.trim());do{e=(a=i(a=(r=a,r.replace(n.ctrlCharactersRegex,"").replace(n.htmlEntitiesRegex,(function(t,e){return String.fromCharCode(e)}))).replace(n.htmlCtrlEntityRegex,"").replace(n.ctrlCharactersRegex,"").replace(n.whitespaceEscapeCharsRegex,"").trim())).match(n.ctrlCharactersRegex)||a.match(n.htmlEntitiesRegex)||a.match(n.htmlCtrlEntityRegex)||a.match(n.whitespaceEscapeCharsRegex)}while(e&&e.length>0);var o=a;if(!o)return n.BLANK_URL;if(function(t){return n.relativeFirstCharacters.indexOf(t[0])>-1}(o))return o;var s=o.trimStart(),l=s.match(n.urlSchemeRegex);if(!l)return o;var c=l[0].toLowerCase().trim();if(n.invalidProtocolRegex.test(c))return n.BLANK_URL;var h=s.replace(/\\/g,"/");if("mailto:"===c||c.includes("://"))return h;if("http:"===c||"https:"===c){if(!function(t){return URL.canParse(t)}(h))return n.BLANK_URL;var u=new URL(h);return u.protocol=u.protocol.toLowerCase(),u.hostname=u.hostname.toLowerCase(),u.toString()}return h}},27293:(t,e,r)=>{"use strict";r.d(e,{A:()=>$});var n=r(96540),i=r(74848);function a(t){const{mdxAdmonitionTitle:e,rest:r}=function(t){const e=n.Children.toArray(t),r=e.find((t=>n.isValidElement(t)&&"mdxAdmonitionTitle"===t.type)),a=e.filter((t=>t!==r)),o=r?.props.children;return{mdxAdmonitionTitle:o,rest:a.length>0?(0,i.jsx)(i.Fragment,{children:a}):null}}(t.children),a=t.title??e;return{...t,...a&&{title:a},children:r}}var o=r(34164),s=r(21312),l=r(17559);const c="admonition_xJq3",h="admonitionHeading_Gvgb",u="admonitionIcon_Rf37",d="admonitionContent_BuS1";function p(t){let{type:e,className:r,children:n}=t;return(0,i.jsx)("div",{className:(0,o.A)(l.G.common.admonition,l.G.common.admonitionType(e),c,r),children:n})}function f(t){let{icon:e,title:r}=t;return(0,i.jsxs)("div",{className:h,children:[(0,i.jsx)("span",{className:u,children:e}),r]})}function g(t){let{children:e}=t;return e?(0,i.jsx)("div",{className:d,children:e}):null}function y(t){const{type:e,icon:r,title:n,children:a,className:o}=t;return(0,i.jsxs)(p,{type:e,className:o,children:[n||r?(0,i.jsx)(f,{title:n,icon:r}):null,(0,i.jsx)(g,{children:a})]})}function m(t){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,i.jsx)("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"})})}const x={icon:(0,i.jsx)(m,{}),title:(0,i.jsx)(s.default,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function b(t){return(0,i.jsx)(y,{...x,...t,className:(0,o.A)("alert alert--secondary",t.className),children:t.children})}function k(t){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,i.jsx)("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"})})}const C={icon:(0,i.jsx)(k,{}),title:(0,i.jsx)(s.default,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function w(t){return(0,i.jsx)(y,{...C,...t,className:(0,o.A)("alert alert--success",t.className),children:t.children})}function _(t){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,i.jsx)("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"})})}const v={icon:(0,i.jsx)(_,{}),title:(0,i.jsx)(s.default,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function S(t){return(0,i.jsx)(y,{...v,...t,className:(0,o.A)("alert alert--info",t.className),children:t.children})}function T(t){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...t,children:(0,i.jsx)("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"})})}const A={icon:(0,i.jsx)(T,{}),title:(0,i.jsx)(s.default,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function M(t){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,i.jsx)("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"})})}const B={icon:(0,i.jsx)(M,{}),title:(0,i.jsx)(s.default,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const L={icon:(0,i.jsx)(T,{}),title:(0,i.jsx)(s.default,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const F={...{note:b,tip:w,info:S,warning:function(t){return(0,i.jsx)(y,{...A,...t,className:(0,o.A)("alert alert--warning",t.className),children:t.children})},danger:function(t){return(0,i.jsx)(y,{...B,...t,className:(0,o.A)("alert alert--danger",t.className),children:t.children})}},...{secondary:t=>(0,i.jsx)(b,{title:"secondary",...t}),important:t=>(0,i.jsx)(S,{title:"important",...t}),success:t=>(0,i.jsx)(w,{title:"success",...t}),caution:function(t){return(0,i.jsx)(y,{...L,...t,className:(0,o.A)("alert alert--warning",t.className),children:t.children})}}};function $(t){const e=a(t),r=(n=e.type,F[n]||(console.warn(`No admonition component found for admonition type "${n}". Using Info as fallback.`),F.info));var n;return(0,i.jsx)(r,{...e})}},32234:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});r(96540);var n=r(34164),i=r(44084),a=r(17559),o=r(27293),s=r(74848);function l(t){let{className:e}=t;return(0,s.jsx)(o.A,{type:"caution",title:(0,s.jsx)(i.Rc,{}),className:(0,n.A)(e,a.G.common.unlistedBanner),children:(0,s.jsx)(i.Uh,{})})}function c(t){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.AE,{}),(0,s.jsx)(l,{...t})]})}},41689:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});r(96540);var n=r(34164),i=r(44084),a=r(17559),o=r(27293),s=r(74848);function l(t){let{className:e}=t;return(0,s.jsx)(o.A,{type:"caution",title:(0,s.jsx)(i.Yh,{}),className:(0,n.A)(e,a.G.common.draftBanner),children:(0,s.jsx)(i.TT,{})})}var c=r(32234);function h(t){let{metadata:e}=t;const{unlisted:r,frontMatter:n}=e;return(0,s.jsxs)(s.Fragment,{children:[(r||n.unlisted)&&(0,s.jsx)(c.A,{}),n.draft&&(0,s.jsx)(l,{})]})}},12153:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});r(96540);var n=r(34164),i=r(21312),a=r(17559),o=r(28774);const s={iconEdit:"iconEdit_Z9Sw"};var l=r(74848);function c(t){let{className:e,...r}=t;return(0,l.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,n.A)(s.iconEdit,e),"aria-hidden":"true",...r,children:(0,l.jsx)("g",{children:(0,l.jsx)("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 h(t){let{editUrl:e}=t;return(0,l.jsxs)(o.A,{to:e,className:a.G.common.editThisPage,children:[(0,l.jsx)(c,{}),(0,l.jsx)(i.default,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}var u=r(44586);function d(t){void 0===t&&(t={});const{i18n:{currentLocale:e}}=(0,u.A)(),r=function(){const{i18n:{currentLocale:t,localeConfigs:e}}=(0,u.A)();return e[t].calendar}();return new Intl.DateTimeFormat(e,{calendar:r,...t})}function p(t){let{lastUpdatedAt:e}=t;const r=new Date(e),n=d({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(r);return(0,l.jsx)(i.default,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,l.jsx)("b",{children:(0,l.jsx)("time",{dateTime:r.toISOString(),itemProp:"dateModified",children:n})})},children:" on {date}"})}function f(t){let{lastUpdatedBy:e}=t;return(0,l.jsx)(i.default,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,l.jsx)("b",{children:e})},children:" by {user}"})}function g(t){let{lastUpdatedAt:e,lastUpdatedBy:r}=t;return(0,l.jsxs)("span",{className:a.G.common.lastUpdated,children:[(0,l.jsx)(i.default,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:e?(0,l.jsx)(p,{lastUpdatedAt:e}):"",byUser:r?(0,l.jsx)(f,{lastUpdatedBy:r}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const y={lastUpdated:"lastUpdated_JAkA"};function m(t){let{className:e,editUrl:r,lastUpdatedAt:i,lastUpdatedBy:a}=t;return(0,l.jsxs)("div",{className:(0,n.A)("row",e),children:[(0,l.jsx)("div",{className:"col",children:r&&(0,l.jsx)(h,{editUrl:r})}),(0,l.jsx)("div",{className:(0,n.A)("col",y.lastUpdated),children:(i||a)&&(0,l.jsx)(g,{lastUpdatedAt:i,lastUpdatedBy:a})})]})}},52944:(t,e,r)=>{"use strict";r.d(e,{A:()=>yr});var n=r(96540),i=r(28453),a=r(5260),o=r(21432),s=r(74848);function l(t){return(0,s.jsx)("code",{...t})}var c=r(28774);var h=r(41622);function u(t){const e=n.Children.toArray(t.children),r=e.find((t=>n.isValidElement(t)&&"summary"===t.type)),i=(0,s.jsx)(s.Fragment,{children:e.filter((t=>t!==r))});return(0,s.jsx)(h.default,{...t,summary:r,children:i})}var d=r(51107);function p(t){return(0,s.jsx)(d.A,{...t})}var f=r(34164);const g="containsTaskList_mC6p";function y(t){if(void 0!==t)return(0,f.A)(t,t?.includes("contains-task-list")&&g)}var m=r(63427);const x="img_ev3q";var b=r(27293),k=r(67489),C=r(12181),w=r(6342),_=r(95293),v=r(79515),S=r(79740),T=(r(6396),r(5081),r(34483)),A=(r(52294),r(62392),r(86825),r(85039)),M=r(29196),B=r(61021),L=r(45567),F=r(60513),$=r(20007),E="comm",D="rule",O="decl",N=Math.abs,I=String.fromCharCode;Object.assign;function R(t){return t.trim()}function P(t,e,r){return t.replace(e,r)}function z(t,e,r){return t.indexOf(e,r)}function j(t,e){return 0|t.charCodeAt(e)}function K(t,e,r){return t.slice(e,r)}function q(t){return t.length}function W(t,e){return e.push(t),t}function H(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function U(t,e,r,n){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case O:return t.return=t.return||t.value;case E:return"";case"@keyframes":return t.return=t.value+"{"+H(t.children,n)+"}";case D:if(!q(t.value=t.props.join(",")))return""}return q(r=H(t.children,n))?t.return=t.value+"{"+r+"}":""}var Y=1,G=1,V=0,Z=0,X=0,Q="";function J(t,e,r,n,i,a,o,s){return{value:t,root:e,parent:r,type:n,props:i,children:a,line:Y,column:G,length:o,return:"",siblings:s}}function tt(){return X=Z>0?j(Q,--Z):0,G--,10===X&&(G=1,Y--),X}function et(){return X=Z<V?j(Q,Z++):0,G++,10===X&&(G=1,Y++),X}function rt(){return j(Q,Z)}function nt(){return Z}function it(t,e){return K(Q,t,e)}function at(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 ot(t){return Y=G=1,V=q(Q=t),Z=0,[]}function st(t){return Q="",t}function lt(t){return R(it(Z-1,ut(91===t?t+2:40===t?t+1:t)))}function ct(t){for(;(X=rt())&&X<33;)et();return at(t)>2||at(X)>3?"":" "}function ht(t,e){for(;--e&&et()&&!(X<48||X>102||X>57&&X<65||X>70&&X<97););return it(t,nt()+(e<6&&32==rt()&&32==et()))}function ut(t){for(;et();)switch(X){case t:return Z;case 34:case 39:34!==t&&39!==t&&ut(X);break;case 40:41===t&&ut(t);break;case 92:et()}return Z}function dt(t,e){for(;et()&&t+X!==57&&(t+X!==84||47!==rt()););return"/*"+it(e,Z-1)+"*"+I(47===t?t:et())}function pt(t){for(;!at(rt());)et();return it(t,Z)}function ft(t){return st(gt("",null,null,null,[""],t=ot(t),0,[0],t))}function gt(t,e,r,n,i,a,o,s,l){for(var c=0,h=0,u=o,d=0,p=0,f=0,g=1,y=1,m=1,x=0,b="",k=i,C=a,w=n,_=b;y;)switch(f=x,x=et()){case 40:if(108!=f&&58==j(_,u-1)){-1!=z(_+=P(lt(x),"&","&\f"),"&\f",N(c?s[c-1]:0))&&(m=-1);break}case 34:case 39:case 91:_+=lt(x);break;case 9:case 10:case 13:case 32:_+=ct(f);break;case 92:_+=ht(nt()-1,7);continue;case 47:switch(rt()){case 42:case 47:W(mt(dt(et(),nt()),e,r,l),l),5!=at(f||1)&&5!=at(rt()||1)||!q(_)||" "===K(_,-1,void 0)||(_+=" ");break;default:_+="/"}break;case 123*g:s[c++]=q(_)*m;case 125*g:case 59:case 0:switch(x){case 0:case 125:y=0;case 59+h:-1==m&&(_=P(_,/\f/g,"")),p>0&&(q(_)-u||0===g&&47===f)&&W(p>32?xt(_+";",n,r,u-1,l):xt(P(_," ","")+";",n,r,u-2,l),l);break;case 59:_+=";";default:if(W(w=yt(_,e,r,c,h,i,s,b,k=[],C=[],u,a),a),123===x)if(0===h)gt(_,e,w,w,k,a,u,s,C);else switch(99===d&&110===j(_,3)?100:d){case 100:case 108:case 109:case 115:gt(t,w,w,n&&W(yt(t,w,w,0,0,i,s,b,i,k=[],u,C),C),i,C,u,s,n?k:C);break;default:gt(_,w,w,w,[""],C,0,s,C)}}c=h=p=0,g=m=1,b=_="",u=o;break;case 58:u=1+q(_),p=f;default:if(g<1)if(123==x)--g;else if(125==x&&0==g++&&125==tt())continue;switch(_+=I(x),x*g){case 38:m=h>0?1:(_+="\f",-1);break;case 44:s[c++]=(q(_)-1)*m,m=1;break;case 64:45===rt()&&(_+=lt(et())),d=rt(),h=u=q(b=_+=pt(nt())),x++;break;case 45:45===f&&2==q(_)&&(g=0)}}return a}function yt(t,e,r,n,i,a,o,s,l,c,h,u){for(var d=i-1,p=0===i?a:[""],f=function(t){return t.length}(p),g=0,y=0,m=0;g<n;++g)for(var x=0,b=K(t,d+1,d=N(y=o[g])),k=t;x<f;++x)(k=R(y>0?p[x]+" "+b:P(b,/&\f/g,p[x])))&&(l[m++]=k);return J(t,e,r,0===i?D:s,l,c,h,u)}function mt(t,e,r,n){return J(t,e,r,E,I(X),K(t,2,-2),0,n)}function xt(t,e,r,n,i){return J(t,e,r,O,K(t,0,n),K(t,n+1,-1),n,i)}var bt=r(42838),kt=r(66401),Ct={id:"c4",detector:(0,L.K2)((t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(155).then(r.bind(r,60155));return{id:"c4",diagram:t}}),"loader")},wt="flowchart",_t={id:wt,detector:(0,L.K2)(((t,e)=>"dagre-wrapper"!==e?.flowchart?.defaultRenderer&&"elk"!==e?.flowchart?.defaultRenderer&&/^\s*graph/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(1689).then(r.bind(r,71689));return{id:wt,diagram:t}}),"loader")},vt="flowchart-v2",St={id:vt,detector:(0,L.K2)(((t,e)=>"dagre-d3"!==e?.flowchart?.defaultRenderer&&("elk"===e?.flowchart?.defaultRenderer&&(e.layout="elk"),!(!/^\s*graph/.test(t)||"dagre-wrapper"!==e?.flowchart?.defaultRenderer)||/^\s*flowchart/.test(t))),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(1689).then(r.bind(r,71689));return{id:vt,diagram:t}}),"loader")},Tt={id:"er",detector:(0,L.K2)((t=>/^\s*erDiagram/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(3624),r.e(2334),r.e(9368)]).then(r.bind(r,69368));return{id:"er",diagram:t}}),"loader")},At="gitGraph",Mt={id:At,detector:(0,L.K2)((t=>/^\s*gitGraph/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(3624),r.e(8731),r.e(8174)]).then(r.bind(r,78174));return{id:At,diagram:t}}),"loader")},Bt="gantt",Lt={id:Bt,detector:(0,L.K2)((t=>/^\s*gantt/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(1711).then(r.bind(r,81711));return{id:Bt,diagram:t}}),"loader")},Ft="info",$t={id:Ft,detector:(0,L.K2)((t=>/^\s*info/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(3624),r.e(8731),r.e(8998)]).then(r.bind(r,68998));return{id:Ft,diagram:t}}),"loader")},Et={id:"pie",detector:(0,L.K2)((t=>/^\s*pie/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(3624),r.e(8731),r.e(2763)]).then(r.bind(r,62763));return{id:"pie",diagram:t}}),"loader")},Dt="quadrantChart",Ot={id:Dt,detector:(0,L.K2)((t=>/^\s*quadrantChart/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(3364).then(r.bind(r,73364));return{id:Dt,diagram:t}}),"loader")},Nt="xychart",It={id:Nt,detector:(0,L.K2)((t=>/^\s*xychart-beta/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(9802).then(r.bind(r,89802));return{id:Nt,diagram:t}}),"loader")},Rt="requirement",Pt={id:Rt,detector:(0,L.K2)((t=>/^\s*requirement(Diagram)?/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(3624),r.e(2334),r.e(8496)]).then(r.bind(r,8496));return{id:Rt,diagram:t}}),"loader")},zt="sequence",jt={id:zt,detector:(0,L.K2)((t=>/^\s*sequenceDiagram/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(7032).then(r.bind(r,7032));return{id:zt,diagram:t}}),"loader")},Kt="class",qt={id:Kt,detector:(0,L.K2)(((t,e)=>"dagre-wrapper"!==e?.class?.defaultRenderer&&/^\s*classDiagram/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(6790),r.e(5606)]).then(r.bind(r,65606));return{id:Kt,diagram:t}}),"loader")},Wt="classDiagram",Ht={id:Wt,detector:(0,L.K2)(((t,e)=>!(!/^\s*classDiagram/.test(t)||"dagre-wrapper"!==e?.class?.defaultRenderer)||/^\s*classDiagram-v2/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(6790),r.e(921)]).then(r.bind(r,80921));return{id:Wt,diagram:t}}),"loader")},Ut="state",Yt={id:Ut,detector:(0,L.K2)(((t,e)=>"dagre-wrapper"!==e?.state?.defaultRenderer&&/^\s*stateDiagram/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(3624),r.e(2334),r.e(9664),r.e(484)]).then(r.bind(r,50484));return{id:Ut,diagram:t}}),"loader")},Gt="stateDiagram",Vt={id:Gt,detector:(0,L.K2)(((t,e)=>!!/^\s*stateDiagram-v2/.test(t)||!(!/^\s*stateDiagram/.test(t)||"dagre-wrapper"!==e?.state?.defaultRenderer)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(9664),r.e(9875)]).then(r.bind(r,29875));return{id:Gt,diagram:t}}),"loader")},Zt="journey",Xt={id:Zt,detector:(0,L.K2)((t=>/^\s*journey/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(8379).then(r.bind(r,18379));return{id:Zt,diagram:t}}),"loader")},Qt={draw:(0,L.K2)(((t,e,r)=>{L.Rm.debug("rendering svg for syntax error\n");const n=(0,B.D)(e),i=n.append("g");n.attr("viewBox","0 0 2412 512"),(0,L.a$)(n,100,512,!0),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 text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)}),"draw")},Jt=Qt,te={db:{},renderer:Qt,parser:{parse:(0,L.K2)((()=>{}),"parse")}},ee="flowchart-elk",re={id:ee,detector:(0,L.K2)(((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&"elk"===e?.flowchart?.defaultRenderer)&&(e.layout="elk",!0)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(1689).then(r.bind(r,71689));return{id:ee,diagram:t}}),"loader")},ne="timeline",ie={id:ne,detector:(0,L.K2)((t=>/^\s*timeline/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(7357).then(r.bind(r,77357));return{id:ne,diagram:t}}),"loader")},ae="mindmap",oe={id:ae,detector:(0,L.K2)((t=>/^\s*mindmap/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(165),r.e(4449)]).then(r.bind(r,14449));return{id:ae,diagram:t}}),"loader")},se="kanban",le={id:se,detector:(0,L.K2)((t=>/^\s*kanban/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(4445).then(r.bind(r,14445));return{id:se,diagram:t}}),"loader")},ce="sankey",he={id:ce,detector:(0,L.K2)((t=>/^\s*sankey-beta/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await r.e(7060).then(r.bind(r,27060));return{id:ce,diagram:t}}),"loader")},ue="packet",de={id:ue,detector:(0,L.K2)((t=>/^\s*packet-beta/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(3624),r.e(8731),r.e(1186)]).then(r.bind(r,51186));return{id:ue,diagram:t}}),"loader")},pe="block",fe={id:pe,detector:(0,L.K2)((t=>/^\s*block-beta/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(3624),r.e(3840)]).then(r.bind(r,53840));return{id:pe,diagram:t}}),"loader")},ge="architecture",ye={id:ge,detector:(0,L.K2)((t=>/^\s*architecture/.test(t)),"detector"),loader:(0,L.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(3624),r.e(8731),r.e(165),r.e(2247)]).then(r.bind(r,22247));return{id:ge,diagram:t}}),"loader")},me=!1,xe=(0,L.K2)((()=>{me||(me=!0,(0,L.Js)("error",te,(t=>"error"===t.toLowerCase().trim())),(0,L.Js)("---",{db:{clear:(0,L.K2)((()=>{}),"clear")},styles:{},renderer:{draw:(0,L.K2)((()=>{}),"draw")},parser:{parse:(0,L.K2)((()=>{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 un-indented `---` blocks")}),"parse")},init:(0,L.K2)((()=>null),"init")},(t=>t.toLowerCase().trimStart().startsWith("---"))),(0,L.Xd)(Ct,le,Ht,qt,Tt,Lt,$t,Et,Pt,jt,re,St,_t,oe,ie,Mt,Vt,Yt,Xt,Ot,he,de,It,fe,ye))}),"addDiagrams"),be=(0,L.K2)((async()=>{L.Rm.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(L.mW).map((async([t,{detector:e,loader:r}])=>{if(r)try{(0,L.Gs)(t)}catch{try{const{diagram:t,id:n}=await r();(0,L.Js)(n,t,e)}catch(n){throw L.Rm.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete L.mW[t],n}}})))).filter((t=>"rejected"===t.status));if(t.length>0){L.Rm.error(`Failed to load ${t.length} external diagrams`);for(const e of t)L.Rm.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}}),"loadRegisteredDiagrams");function ke(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function Ce(t,e,r,n){if(void 0!==t.insert){if(r){const e=`chart-desc-${n}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){const r=`chart-title-${n}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,L.K2)(ke,"setA11yDiagramInfo"),(0,L.K2)(Ce,"addSVGa11yTitleDescription");var we=class t{constructor(t,e,r,n,i){this.type=t,this.text=e,this.db=r,this.parser=n,this.renderer=i}static{(0,L.K2)(this,"Diagram")}static async fromText(e,r={}){const n=(0,L.zj)(),i=(0,L.Ch)(e,n);e=(0,A.C4)(e)+"\n";try{(0,L.Gs)(i)}catch{const t=(0,L.J$)(i);if(!t)throw new L.C0(`Diagram ${i} not found.`);const{id:e,diagram:r}=await t();(0,L.Js)(e,r)}const{db:a,parser:o,renderer:s,init:l}=(0,L.Gs)(i);return o.parser&&(o.parser.yy=a),a.clear?.(),l?.(n),r.title&&a.setDiagramTitle?.(r.title),await o.parse(e),new t(i,e,a,o,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},_e=[],ve=(0,L.K2)((()=>{_e.forEach((t=>{t()})),_e=[]}),"attachFunctions"),Se=(0,L.K2)((t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart()),"cleanupComments");function Te(t){const e=t.match(L.EJ);if(!e)return{text:t,metadata:{}};let r=(0,v.H)(e[1],{schema:v.r})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;const n={};return r.displayMode&&(n.displayMode=r.displayMode.toString()),r.title&&(n.title=r.title.toString()),r.config&&(n.config=r.config),{text:t.slice(e[0].length),metadata:n}}(0,L.K2)(Te,"extractFrontMatter");var Ae=(0,L.K2)((t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,((t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"))),"cleanupText"),Me=(0,L.K2)((t=>{const{text:e,metadata:r}=Te(t),{displayMode:n,title:i,config:a={}}=r;return n&&(a.gantt||(a.gantt={}),a.gantt.displayMode=n),{title:i,config:a,text:e}}),"processFrontmatter"),Be=(0,L.K2)((t=>{const e=A._K.detectInit(t)??{},r=A._K.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some((({type:t})=>"wrap"===t)):"wrap"===r?.type&&(e.wrap=!0),{text:(0,A.vU)(t),directive:e}}),"processDirectives");function Le(t){const e=Ae(t),r=Me(e),n=Be(r.text),i=(0,A.$t)(r.config,n.directive);return{code:t=Se(n.text),title:r.title,config:i}}function Fe(t){const e=(new TextEncoder).encode(t),r=Array.from(e,(t=>String.fromCodePoint(t))).join("");return btoa(r)}(0,L.K2)(Le,"preprocessDiagram"),(0,L.K2)(Fe,"toBase64");var $e=["foreignobject"],Ee=["dominant-baseline"];function De(t){const e=Le(t);return(0,L.cL)(),(0,L.xA)(e.config??{}),e}async function Oe(t,e){xe();try{const{code:e,config:r}=De(t);return{diagramType:(await Ue(e)).type,config:r}}catch(r){if(e?.suppressErrors)return!1;throw r}}(0,L.K2)(De,"processAndSetConfigs"),(0,L.K2)(Oe,"parse");var Ne=(0,L.K2)(((t,e,r=[])=>`\n.${t} ${e} { ${r.join(" !important; ")} !important; }`),"cssImportantStyles"),Ie=(0,L.K2)(((t,e=new Map)=>{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}}`),e instanceof Map){const n=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach((t=>{(0,kt.A)(t.styles)||n.forEach((e=>{r+=Ne(t.id,e,t.styles)})),(0,kt.A)(t.textStyles)||(r+=Ne(t.id,"tspan",(t?.textStyles||[]).map((t=>t.replace("color","fill")))))}))}return r}),"createCssStyles"),Re=(0,L.K2)(((t,e,r,n)=>{const i=Ie(t,r);return H(ft(`${n}{${(0,L.tM)(e,i,t.themeVariables)}}`),U)}),"createUserStyles"),Pe=(0,L.K2)(((t="",e,r)=>{let n=t;return r||e||(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=(0,A.Sm)(n),n=n.replace(/<br>/g,"<br/>"),n}),"cleanUpSvgCode"),ze=(0,L.K2)(((t="",e)=>`<iframe style="width:100%;height:${e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%"};border:0;margin:0;" src="data:text/html;charset=UTF-8;base64,${Fe(`<body style="margin:0">${t}</body>`)}" sandbox="allow-top-navigation-by-user-activation allow-popups">\n The "iframe" tag is not supported by your browser.\n</iframe>`),"putIntoIFrame"),je=(0,L.K2)(((t,e,r,n,i)=>{const a=t.append("div");a.attr("id",r),n&&a.attr("style",n);const o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return i&&o.attr("xmlns:xlink",i),o.append("g"),t}),"appendDivSvgG");function Ke(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,L.K2)(Ke,"sandboxedIframe");var qe=(0,L.K2)(((t,e,r,n)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(n)?.remove()}),"removeExistingElements"),We=(0,L.K2)((async function(t,e,r){xe();const n=De(e);e=n.code;const i=(0,L.zj)();L.Rm.debug(i),e.length>(i?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");const a="#"+t,o="i"+t,s="#"+o,l="d"+t,c="#"+l,h=(0,L.K2)((()=>{const t=d?s:c,e=(0,$.Ltv)(t).node();e&&"remove"in e&&e.remove()}),"removeTempElements");let u=(0,$.Ltv)("body");const d="sandbox"===i.securityLevel,p="loose"===i.securityLevel,f=i.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),d){const t=Ke((0,$.Ltv)(r),o);u=(0,$.Ltv)(t.nodes()[0].contentDocument.body),u.node().style.margin=0}else u=(0,$.Ltv)(r);je(u,t,l,`font-family: ${f}`,"http://www.w3.org/1999/xlink")}else{if(qe(document,t,l,o),d){const t=Ke((0,$.Ltv)("body"),o);u=(0,$.Ltv)(t.nodes()[0].contentDocument.body),u.node().style.margin=0}else u=(0,$.Ltv)("body");je(u,t,l)}let g,y;try{g=await we.fromText(e,{title:n.title})}catch(B){if(i.suppressErrorRendering)throw h(),B;g=await we.fromText("error"),y=B}const m=u.select(c).node(),x=g.type,b=m.firstChild,k=b.firstChild,C=g.renderer.getClasses?.(e,g),w=Re(i,x,C,a),_=document.createElement("style");_.innerHTML=w,b.insertBefore(_,k);try{await g.renderer.draw(e,t,M.r,g)}catch(F){throw i.suppressErrorRendering?h():Jt.draw(e,t,M.r),F}const v=u.select(`${c} svg`),S=g.db.getAccTitle?.(),T=g.db.getAccDescription?.();Ye(x,v,S,T),u.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let A=u.select(c).node().innerHTML;if(L.Rm.debug("config.arrowMarkerAbsolute",i.arrowMarkerAbsolute),A=Pe(A,d,(0,L._3)(i.arrowMarkerAbsolute)),d){const t=u.select(c+" svg").node();A=ze(A,t)}else p||(A=bt.sanitize(A,{ADD_TAGS:$e,ADD_ATTR:Ee}));if(ve(),y)throw y;return h(),{diagramType:x,svg:A,bindFunctions:g.db.bindFunctions}}),"render");function He(t={}){const e=(0,L.hH)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,L.wZ)(e),e?.theme&&e.theme in L.H$?e.themeVariables=L.H$[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=L.H$.default.getThemeVariables(e.themeVariables));const r="object"==typeof e?(0,L.UU)(e):(0,L.Q2)();(0,L.He)(r.logLevel),xe()}(0,L.K2)(He,"initialize");var Ue=(0,L.K2)(((t,e={})=>{const{code:r}=Le(t);return we.fromText(r,e)}),"getDiagramFromText");function Ye(t,e,r,n){ke(e,t),Ce(e,r,n,e.attr("id"))}(0,L.K2)(Ye,"addA11yInfo");var Ge=Object.freeze({render:We,parse:Oe,getDiagramFromText:Ue,initialize:He,getConfig:L.zj,setConfig:L.Nk,getSiteConfig:L.Q2,updateSiteConfig:L.B6,reset:(0,L.K2)((()=>{(0,L.cL)()}),"reset"),globalReset:(0,L.K2)((()=>{(0,L.cL)(L.sb)}),"globalReset"),defaultConfig:L.sb});(0,L.He)((0,L.zj)().logLevel),(0,L.cL)((0,L.zj)());var Ve=(0,L.K2)(((t,e,r)=>{L.Rm.warn(t),(0,A.dq)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))}),"handleError"),Ze=(0,L.K2)((async function(t={querySelector:".mermaid"}){try{await Xe(t)}catch(e){if((0,A.dq)(e)&&L.Rm.error(e.str),lr.parseError&&lr.parseError(e),!t.suppressErrors)throw L.Rm.error("Use the suppressErrors option to suppress these errors"),e}}),"run"),Xe=(0,L.K2)((async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){const n=Ge.getConfig();let i;if(L.Rm.debug((t?"":"No ")+"Callback function found"),r)i=r;else{if(!e)throw new Error("Nodes and querySelector are both undefined");i=document.querySelectorAll(e)}L.Rm.debug(`Found ${i.length} diagrams`),void 0!==n?.startOnLoad&&(L.Rm.debug("Start On Load: "+n?.startOnLoad),Ge.updateSiteConfig({startOnLoad:n?.startOnLoad}));const a=new A._K.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed);let o;const s=[];for(const c of Array.from(i)){if(L.Rm.info("Rendering diagram: "+c.id),c.getAttribute("data-processed"))continue;c.setAttribute("data-processed","true");const e=`mermaid-${a.next()}`;o=c.innerHTML,o=(0,F.T)(A._K.entityDecode(o)).trim().replace(/<br\s*\/?>/gi,"<br/>");const r=A._K.detectInit(o);r&&L.Rm.debug("Detected early reinit: ",r);try{const{svg:r,bindFunctions:n}=await sr(e,o,c);c.innerHTML=r,t&&await t(e),n&&n(c)}catch(l){Ve(l,s,lr.parseError)}}if(s.length>0)throw s[0]}),"runThrowsErrors"),Qe=(0,L.K2)((function(t){Ge.initialize(t)}),"initialize"),Je=(0,L.K2)((async function(t,e,r){L.Rm.warn("mermaid.init is deprecated. Please use run instead."),t&&Qe(t);const n={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?n.querySelector=e:e&&(e instanceof HTMLElement?n.nodes=[e]:n.nodes=e),await Ze(n)}),"init"),tr=(0,L.K2)((async(t,{lazyLoad:e=!0}={})=>{xe(),(0,L.Xd)(...t),!1===e&&await be()}),"registerExternalDiagrams"),er=(0,L.K2)((function(){if(lr.startOnLoad){const{startOnLoad:t}=Ge.getConfig();t&&lr.run().catch((t=>L.Rm.error("Mermaid failed to initialize",t)))}}),"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",er,!1);var rr=(0,L.K2)((function(t){lr.parseError=t}),"setParseErrorHandler"),nr=[],ir=!1,ar=(0,L.K2)((async()=>{if(!ir){for(ir=!0;nr.length>0;){const e=nr.shift();if(e)try{await e()}catch(t){L.Rm.error("Error executing queue",t)}}ir=!1}}),"executeQueue"),or=(0,L.K2)((async(t,e)=>new Promise(((r,n)=>{const i=(0,L.K2)((()=>new Promise(((i,a)=>{Ge.parse(t,e).then((t=>{i(t),r(t)}),(t=>{L.Rm.error("Error parsing",t),lr.parseError?.(t),a(t),n(t)}))}))),"performCall");nr.push(i),ar().catch(n)}))),"parse"),sr=(0,L.K2)(((t,e,r)=>new Promise(((n,i)=>{const a=(0,L.K2)((()=>new Promise(((a,o)=>{Ge.render(t,e,r).then((t=>{a(t),n(t)}),(t=>{L.Rm.error("Error parsing",t),lr.parseError?.(t),o(t),i(t)}))}))),"performCall");nr.push(a),ar().catch(i)}))),"render"),lr={startOnLoad:!0,mermaidAPI:Ge,parse:or,render:sr,init:Je,run:Ze,registerExternalDiagrams:tr,registerLayoutLoaders:S.sO,initialize:Qe,parseError:void 0,contentLoaded:er,setParseErrorHandler:rr,detectType:L.Ch,registerIconPacks:T.pC},cr=lr;function hr(){const{colorMode:t}=(0,_.G)(),e=(0,w.p)().mermaid,r=e.theme[t],{options:i}=e;return(0,n.useMemo)((()=>({startOnLoad:!1,...i,theme:r})),[r,i])}function ur(t){let{text:e,config:r}=t;const[i,a]=(0,n.useState)(null),o=(0,n.useRef)(`mermaid-svg-${Math.round(1e7*Math.random())}`).current,s=hr(),l=r??s;return(0,n.useEffect)((()=>{(async function(t){let{id:e,text:r,config:n}=t;cr.mermaidAPI.initialize(n);try{return await cr.render(e,r)}catch(i){throw document.querySelector(`#d${e}`)?.remove(),i}})({id:o,text:e,config:l}).then(a).catch((t=>{a((()=>{throw t}))}))}),[o,e,l]),i}const dr="container_lyt7";function pr(t){let{renderResult:e}=t;const r=(0,n.useRef)(null);return(0,n.useEffect)((()=>{const t=r.current;e.bindFunctions?.(t)}),[e]),(0,s.jsx)("div",{ref:r,className:`docusaurus-mermaid-container ${dr}`,dangerouslySetInnerHTML:{__html:e.svg}})}function fr(t){let{value:e}=t;const r=ur({text:e});return null===r?null:(0,s.jsx)(pr,{renderResult:r})}const gr={Head:a.A,details:u,Details:u,code:function(t){return function(t){return void 0!==t.children&&n.Children.toArray(t.children).every((t=>"string"==typeof t&&!t.includes("\n")))}(t)?(0,s.jsx)(l,{...t}):(0,s.jsx)(o.default,{...t})},a:function(t){return(0,s.jsx)(c.A,{...t})},pre:function(t){return(0,s.jsx)(s.Fragment,{children:t.children})},ul:function(t){return(0,s.jsx)("ul",{...t,className:y(t.className)})},li:function(t){return(0,m.A)().collectAnchor(t.id),(0,s.jsx)("li",{...t})},img:function(t){return(0,s.jsx)("img",{decoding:"async",loading:"lazy",...t,className:(e=t.className,(0,f.A)(e,x))});var e},h1:t=>(0,s.jsx)(p,{as:"h1",...t}),h2:t=>(0,s.jsx)(p,{as:"h2",...t}),h3:t=>(0,s.jsx)(p,{as:"h3",...t}),h4:t=>(0,s.jsx)(p,{as:"h4",...t}),h5:t=>(0,s.jsx)(p,{as:"h5",...t}),h6:t=>(0,s.jsx)(p,{as:"h6",...t}),admonition:b.A,mermaid:function(t){return(0,s.jsx)(k.A,{fallback:t=>(0,s.jsx)(C.MN,{...t}),children:(0,s.jsx)(fr,{...t})})}};function yr(t){let{children:e}=t;return(0,s.jsx)(i.x,{components:gr,children:e})}},67763:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});r(96540);var n=r(34164),i=r(65195);const a={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var o=r(74848);const s="table-of-contents__link toc-highlight",l="table-of-contents__link--active";function c(t){let{className:e,...r}=t;return(0,o.jsx)("div",{className:(0,n.A)(a.tableOfContents,"thin-scrollbar",e),children:(0,o.jsx)(i.A,{...r,linkClassName:s,linkActiveClassName:l})})}},65195:(t,e,r)=>{"use strict";r.d(e,{A:()=>g});var n=r(96540),i=r(6342);function a(t){const e=t.map((t=>({...t,parentIndex:-1,children:[]}))),r=Array(7).fill(-1);e.forEach(((t,e)=>{const n=r.slice(2,t.level);t.parentIndex=Math.max(...n),r[t.level]=e}));const n=[];return e.forEach((t=>{const{parentIndex:r,...i}=t;r>=0?e[r].children.push(i):n.push(i)})),n}function o(t){let{toc:e,minHeadingLevel:r,maxHeadingLevel:n}=t;return e.flatMap((t=>{const e=o({toc:t.children,minHeadingLevel:r,maxHeadingLevel:n});return function(t){return t.level>=r&&t.level<=n}(t)?[{...t,children:e}]:e}))}function s(t){const e=t.getBoundingClientRect();return e.top===e.bottom?s(t.parentNode):e}function l(t,e){let{anchorTopOffset:r}=e;const n=t.find((t=>s(t).top>=r));if(n){return function(t){return t.top>0&&t.bottom<window.innerHeight/2}(s(n))?n:t[t.indexOf(n)-1]??null}return t[t.length-1]??null}function c(){const t=(0,n.useRef)(0),{navbar:{hideOnScroll:e}}=(0,i.p)();return(0,n.useEffect)((()=>{t.current=e?0:document.querySelector(".navbar").clientHeight}),[e]),t}function h(t){const e=(0,n.useRef)(void 0),r=c();(0,n.useEffect)((()=>{if(!t)return()=>{};const{linkClassName:n,linkActiveClassName:i,minHeadingLevel:a,maxHeadingLevel:o}=t;function s(){const t=function(t){return Array.from(document.getElementsByClassName(t))}(n),s=function(t){let{minHeadingLevel:e,maxHeadingLevel:r}=t;const n=[];for(let i=e;i<=r;i+=1)n.push(`h${i}.anchor`);return Array.from(document.querySelectorAll(n.join()))}({minHeadingLevel:a,maxHeadingLevel:o}),c=l(s,{anchorTopOffset:r.current}),h=t.find((t=>c&&c.id===function(t){return decodeURIComponent(t.href.substring(t.href.indexOf("#")+1))}(t)));t.forEach((t=>{!function(t,r){r?(e.current&&e.current!==t&&e.current.classList.remove(i),t.classList.add(i),e.current=t):t.classList.remove(i)}(t,t===h)}))}return document.addEventListener("scroll",s),document.addEventListener("resize",s),s(),()=>{document.removeEventListener("scroll",s),document.removeEventListener("resize",s)}}),[t,r])}var u=r(28774),d=r(74848);function p(t){let{toc:e,className:r,linkClassName:n,isChild:i}=t;return e.length?(0,d.jsx)("ul",{className:i?void 0:r,children:e.map((t=>(0,d.jsxs)("li",{children:[(0,d.jsx)(u.A,{to:`#${t.id}`,className:n??void 0,dangerouslySetInnerHTML:{__html:t.value}}),(0,d.jsx)(p,{isChild:!0,toc:t.children,className:r,linkClassName:n})]},t.id)))}):null}const f=n.memo(p);function g(t){let{toc:e,className:r="table-of-contents table-of-contents__left-border",linkClassName:s="table-of-contents__link",linkActiveClassName:l,minHeadingLevel:c,maxHeadingLevel:u,...p}=t;const g=(0,i.p)(),y=c??g.tableOfContents.minHeadingLevel,m=u??g.tableOfContents.maxHeadingLevel,x=function(t){let{toc:e,minHeadingLevel:r,maxHeadingLevel:i}=t;return(0,n.useMemo)((()=>o({toc:a(e),minHeadingLevel:r,maxHeadingLevel:i})),[e,r,i])}({toc:e,minHeadingLevel:y,maxHeadingLevel:m});return h((0,n.useMemo)((()=>{if(s&&l)return{linkClassName:s,linkActiveClassName:l,minHeadingLevel:y,maxHeadingLevel:m}}),[s,l,y,m])),(0,d.jsx)(f,{toc:x,className:r,linkClassName:s,...p})}},44084:(t,e,r)=>{"use strict";r.d(e,{AE:()=>l,Rc:()=>o,TT:()=>h,Uh:()=>s,Yh:()=>c});r(96540);var n=r(21312),i=r(5260),a=r(74848);function o(){return(0,a.jsx)(n.default,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function s(){return(0,a.jsx)(n.default,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function l(){return(0,a.jsx)(i.A,{children:(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function c(){return(0,a.jsx)(n.default,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function h(){return(0,a.jsx)(n.default,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}},74353:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",a="minute",o="hour",s="day",l="week",c="month",h="quarter",u="year",d="date",p="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|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,y={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"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},m=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},x={s:m,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+m(n,2,"0")+":"+m(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,c),a=r-i<0,o=e.clone().add(n+(a?-1:1),c);return+(-(n+(r-i)/(a?i-o:o-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:u,w:l,d:s,D:d,h:o,m:a,s:i,ms:n,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",k={};k[b]=y;var C="$isDayjsObject",w=function(t){return t instanceof T||!(!t||!t[C])},_=function t(e,r,n){var i;if(!e)return b;if("string"==typeof e){var a=e.toLowerCase();k[a]&&(i=a),r&&(k[a]=r,i=a);var o=e.split("-");if(!i&&o.length>1)return t(o[0])}else{var s=e.name;k[s]=e,i=s}return!n&&i&&(b=i),i||!n&&b},v=function(t,e){if(w(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new T(r)},S=x;S.l=_,S.i=w,S.w=function(t,e){return v(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function y(t){this.$L=_(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[C]=!0}var m=y.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(S.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(f);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return S},m.isValid=function(){return!(this.$d.toString()===p)},m.isSame=function(t,e){var r=v(t);return this.startOf(e)<=r&&r<=this.endOf(e)},m.isAfter=function(t,e){return v(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<v(t)},m.$g=function(t,e,r){return S.u(t)?this[e]:this.set(r,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var r=this,n=!!S.u(e)||e,h=S.p(t),p=function(t,e){var i=S.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?i:i.endOf(s)},f=function(t,e){return S.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},g=this.$W,y=this.$M,m=this.$D,x="set"+(this.$u?"UTC":"");switch(h){case u:return n?p(1,0):p(31,11);case c:return n?p(1,y):p(0,y+1);case l:var b=this.$locale().weekStart||0,k=(g<b?g+7:g)-b;return p(n?m-k:m+(6-k),y);case s:case d:return f(x+"Hours",0);case o:return f(x+"Minutes",1);case a:return f(x+"Seconds",2);case i:return f(x+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var r,l=S.p(t),h="set"+(this.$u?"UTC":""),p=(r={},r[s]=h+"Date",r[d]=h+"Date",r[c]=h+"Month",r[u]=h+"FullYear",r[o]=h+"Hours",r[a]=h+"Minutes",r[i]=h+"Seconds",r[n]=h+"Milliseconds",r)[l],f=l===s?this.$D+(e-this.$W):e;if(l===c||l===u){var g=this.clone().set(d,1);g.$d[p](f),g.init(),this.$d=g.set(d,Math.min(this.$D,g.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[S.p(t)]()},m.add=function(n,h){var d,p=this;n=Number(n);var f=S.p(h),g=function(t){var e=v(p);return S.w(e.date(e.date()+Math.round(t*n)),p)};if(f===c)return this.set(c,this.$M+n);if(f===u)return this.set(u,this.$y+n);if(f===s)return g(1);if(f===l)return g(7);var y=(d={},d[a]=e,d[o]=r,d[i]=t,d)[f]||1,m=this.$d.getTime()+n*y;return S.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||p;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),a=this.$H,o=this.$m,s=this.$M,l=r.weekdays,c=r.months,h=r.meridiem,u=function(t,r,i,a){return t&&(t[r]||t(e,n))||i[r].slice(0,a)},d=function(t){return S.s(a%12||12,t,"0")},f=h||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(g,(function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return S.s(e.$y,4,"0");case"M":return s+1;case"MM":return S.s(s+1,2,"0");case"MMM":return u(r.monthsShort,s,c,3);case"MMMM":return u(c,s);case"D":return e.$D;case"DD":return S.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return u(r.weekdaysMin,e.$W,l,2);case"ddd":return u(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(a);case"HH":return S.s(a,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(a,o,!0);case"A":return f(a,o,!1);case"m":return String(o);case"mm":return S.s(o,2,"0");case"s":return String(e.$s);case"ss":return S.s(e.$s,2,"0");case"SSS":return S.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(n,d,p){var f,g=this,y=S.p(d),m=v(n),x=(m.utcOffset()-this.utcOffset())*e,b=this-m,k=function(){return S.m(g,m)};switch(y){case u:f=k()/12;break;case c:f=k();break;case h:f=k()/3;break;case l:f=(b-x)/6048e5;break;case s:f=(b-x)/864e5;break;case o:f=b/r;break;case a:f=b/e;break;case i:f=b/t;break;default:f=b}return p?f:S.a(f)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return k[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=_(t,e,!0);return n&&(r.$L=n),r},m.clone=function(){return S.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},y}(),A=T.prototype;return v.prototype=A,[["$ms",n],["$s",i],["$m",a],["$H",o],["$W",s],["$M",c],["$y",u],["$D",d]].forEach((function(t){A[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),v.extend=function(t,e){return t.$i||(t(e,T,v),t.$i=!0),v},v.locale=_,v.isDayjs=w,v.unix=function(t){return v(1e3*t)},v.en=k[b],v.Ls=k,v.p={},v}()},42838:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:r,getPrototypeOf:n,getOwnPropertyDescriptor:i}=Object;let{freeze:a,seal:o,create:s}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;a||(a=function(t){return t}),o||(o=function(t){return t}),l||(l=function(t,e,r){return t.apply(e,r)}),c||(c=function(t,e){return new t(...e)});const h=w(Array.prototype.forEach),u=w(Array.prototype.pop),d=w(Array.prototype.push),p=w(String.prototype.toLowerCase),f=w(String.prototype.toString),g=w(String.prototype.match),y=w(String.prototype.replace),m=w(String.prototype.indexOf),x=w(String.prototype.trim),b=w(Object.prototype.hasOwnProperty),k=w(RegExp.prototype.test),C=_(TypeError);function w(t){return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return l(t,e,n)}}function _(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return c(t,r)}}function v(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let a=n.length;for(;a--;){let e=n[a];if("string"==typeof e){const t=i(e);t!==e&&(r(n)||(n[a]=t),e=t)}t[e]=!0}return t}function S(t){for(let e=0;e<t.length;e++)b(t,e)||(t[e]=null);return t}function T(e){const r=s(null);for(const[n,i]of t(e))b(e,n)&&(Array.isArray(i)?r[n]=S(i):i&&"object"==typeof i&&i.constructor===Object?r[n]=T(i):r[n]=i);return r}function A(t,e){for(;null!==t;){const r=i(t,e);if(r){if(r.get)return w(r.get);if("function"==typeof r.value)return w(r.value)}t=n(t)}function r(){return null}return r}const M=a(["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"]),B=a(["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"]),L=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=a(["animate","color-profile","cursor","discard","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"]),$=a(["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","mprescripts"]),E=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),D=a(["#text"]),O=a(["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","popover","popovertarget","popovertargetaction","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","wrap","xmlns","slot"]),N=a(["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"]),I=a(["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"]),R=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),P=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=o(/<%[\w\W]*|[\w\W]*%>/gm),j=o(/\${[\w\W]*}/gm),K=o(/^data-[\-\w.\u00B7-\uFFFF]/),q=o(/^aria-[\-\w]+$/),W=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=o(/^(?:\w+script|data):/i),U=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=o(/^html$/i),G=o(/^[a-z][.\w]*(-[.\w]+)+$/i);var V=Object.freeze({__proto__:null,MUSTACHE_EXPR:P,ERB_EXPR:z,TMPLIT_EXPR:j,DATA_ATTR:K,ARIA_ATTR:q,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:U,DOCTYPE_NAME:Y,CUSTOM_ELEMENT:G});const Z={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},X=function(){return"undefined"==typeof window?null:window},Q=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(a){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function J(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X();const r=t=>J(t);if(r.version="3.1.6",r.removed=[],!e||!e.document||e.document.nodeType!==Z.document)return r.isSupported=!1,r;let{document:n}=e;const i=n,o=i.currentScript,{DocumentFragment:l,HTMLTemplateElement:c,Node:w,Element:_,NodeFilter:S,NamedNodeMap:P=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:z,DOMParser:j,trustedTypes:K}=e,q=_.prototype,H=A(q,"cloneNode"),U=A(q,"remove"),G=A(q,"nextSibling"),tt=A(q,"childNodes"),et=A(q,"parentNode");if("function"==typeof c){const t=n.createElement("template");t.content&&t.content.ownerDocument&&(n=t.content.ownerDocument)}let rt,nt="";const{implementation:it,createNodeIterator:at,createDocumentFragment:ot,getElementsByTagName:st}=n,{importNode:lt}=i;let ct={};r.isSupported="function"==typeof t&&"function"==typeof et&&it&&void 0!==it.createHTMLDocument;const{MUSTACHE_EXPR:ht,ERB_EXPR:ut,TMPLIT_EXPR:dt,DATA_ATTR:pt,ARIA_ATTR:ft,IS_SCRIPT_OR_DATA:gt,ATTR_WHITESPACE:yt,CUSTOM_ELEMENT:mt}=V;let{IS_ALLOWED_URI:xt}=V,bt=null;const kt=v({},[...M,...B,...L,...$,...D]);let Ct=null;const wt=v({},[...O,...N,...I,...R]);let _t=Object.seal(s(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}})),vt=null,St=null,Tt=!0,At=!0,Mt=!1,Bt=!0,Lt=!1,Ft=!0,$t=!1,Et=!1,Dt=!1,Ot=!1,Nt=!1,It=!1,Rt=!0,Pt=!1;const zt="user-content-";let jt=!0,Kt=!1,qt={},Wt=null;const Ht=v({},["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"]);let Ut=null;const Yt=v({},["audio","video","img","source","image","track"]);let Gt=null;const Vt=v({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Zt="http://www.w3.org/1998/Math/MathML",Xt="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml";let Jt=Qt,te=!1,ee=null;const re=v({},[Zt,Xt,Qt],f);let ne=null;const ie=["application/xhtml+xml","text/html"],ae="text/html";let oe=null,se=null;const le=n.createElement("form"),ce=function(t){return t instanceof RegExp||t instanceof Function},he=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!se||se!==t){if(t&&"object"==typeof t||(t={}),t=T(t),ne=-1===ie.indexOf(t.PARSER_MEDIA_TYPE)?ae:t.PARSER_MEDIA_TYPE,oe="application/xhtml+xml"===ne?f:p,bt=b(t,"ALLOWED_TAGS")?v({},t.ALLOWED_TAGS,oe):kt,Ct=b(t,"ALLOWED_ATTR")?v({},t.ALLOWED_ATTR,oe):wt,ee=b(t,"ALLOWED_NAMESPACES")?v({},t.ALLOWED_NAMESPACES,f):re,Gt=b(t,"ADD_URI_SAFE_ATTR")?v(T(Vt),t.ADD_URI_SAFE_ATTR,oe):Vt,Ut=b(t,"ADD_DATA_URI_TAGS")?v(T(Yt),t.ADD_DATA_URI_TAGS,oe):Yt,Wt=b(t,"FORBID_CONTENTS")?v({},t.FORBID_CONTENTS,oe):Ht,vt=b(t,"FORBID_TAGS")?v({},t.FORBID_TAGS,oe):{},St=b(t,"FORBID_ATTR")?v({},t.FORBID_ATTR,oe):{},qt=!!b(t,"USE_PROFILES")&&t.USE_PROFILES,Tt=!1!==t.ALLOW_ARIA_ATTR,At=!1!==t.ALLOW_DATA_ATTR,Mt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Bt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Lt=t.SAFE_FOR_TEMPLATES||!1,Ft=!1!==t.SAFE_FOR_XML,$t=t.WHOLE_DOCUMENT||!1,Ot=t.RETURN_DOM||!1,Nt=t.RETURN_DOM_FRAGMENT||!1,It=t.RETURN_TRUSTED_TYPE||!1,Dt=t.FORCE_BODY||!1,Rt=!1!==t.SANITIZE_DOM,Pt=t.SANITIZE_NAMED_PROPS||!1,jt=!1!==t.KEEP_CONTENT,Kt=t.IN_PLACE||!1,xt=t.ALLOWED_URI_REGEXP||W,Jt=t.NAMESPACE||Qt,_t=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_t.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_t.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(_t.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Lt&&(At=!1),Nt&&(Ot=!0),qt&&(bt=v({},D),Ct=[],!0===qt.html&&(v(bt,M),v(Ct,O)),!0===qt.svg&&(v(bt,B),v(Ct,N),v(Ct,R)),!0===qt.svgFilters&&(v(bt,L),v(Ct,N),v(Ct,R)),!0===qt.mathMl&&(v(bt,$),v(Ct,I),v(Ct,R))),t.ADD_TAGS&&(bt===kt&&(bt=T(bt)),v(bt,t.ADD_TAGS,oe)),t.ADD_ATTR&&(Ct===wt&&(Ct=T(Ct)),v(Ct,t.ADD_ATTR,oe)),t.ADD_URI_SAFE_ATTR&&v(Gt,t.ADD_URI_SAFE_ATTR,oe),t.FORBID_CONTENTS&&(Wt===Ht&&(Wt=T(Wt)),v(Wt,t.FORBID_CONTENTS,oe)),jt&&(bt["#text"]=!0),$t&&v(bt,["html","head","body"]),bt.table&&(v(bt,["tbody"]),delete vt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');rt=t.TRUSTED_TYPES_POLICY,nt=rt.createHTML("")}else void 0===rt&&(rt=Q(K,o)),null!==rt&&"string"==typeof nt&&(nt=rt.createHTML(""));a&&a(t),se=t}},ue=v({},["mi","mo","mn","ms","mtext"]),de=v({},["foreignobject","annotation-xml"]),pe=v({},["title","style","font","a","script"]),fe=v({},[...B,...L,...F]),ge=v({},[...$,...E]),ye=function(t){let e=et(t);e&&e.tagName||(e={namespaceURI:Jt,tagName:"template"});const r=p(t.tagName),n=p(e.tagName);return!!ee[t.namespaceURI]&&(t.namespaceURI===Xt?e.namespaceURI===Qt?"svg"===r:e.namespaceURI===Zt?"svg"===r&&("annotation-xml"===n||ue[n]):Boolean(fe[r]):t.namespaceURI===Zt?e.namespaceURI===Qt?"math"===r:e.namespaceURI===Xt?"math"===r&&de[n]:Boolean(ge[r]):t.namespaceURI===Qt?!(e.namespaceURI===Xt&&!de[n])&&!(e.namespaceURI===Zt&&!ue[n])&&!ge[r]&&(pe[r]||!fe[r]):!("application/xhtml+xml"!==ne||!ee[t.namespaceURI]))},me=function(t){d(r.removed,{element:t});try{et(t).removeChild(t)}catch(e){U(t)}},xe=function(t,e){try{d(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(n){d(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Ct[t])if(Ot||Nt)try{me(e)}catch(n){}else try{e.setAttribute(t,"")}catch(n){}},be=function(t){let e=null,r=null;if(Dt)t="<remove></remove>"+t;else{const e=g(t,/^[\r\n\t ]+/);r=e&&e[0]}"application/xhtml+xml"===ne&&Jt===Qt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const i=rt?rt.createHTML(t):t;if(Jt===Qt)try{e=(new j).parseFromString(i,ne)}catch(o){}if(!e||!e.documentElement){e=it.createDocument(Jt,"template",null);try{e.documentElement.innerHTML=te?nt:i}catch(o){}}const a=e.body||e.documentElement;return t&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Jt===Qt?st.call(e,$t?"html":"body")[0]:$t?e.documentElement:a},ke=function(t){return at.call(t.ownerDocument||t,t,S.SHOW_ELEMENT|S.SHOW_COMMENT|S.SHOW_TEXT|S.SHOW_PROCESSING_INSTRUCTION|S.SHOW_CDATA_SECTION,null)},Ce=function(t){return t instanceof z&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof P)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},we=function(t){return"function"==typeof w&&t instanceof w},_e=function(t,e,n){ct[t]&&h(ct[t],(t=>{t.call(r,e,n,se)}))},ve=function(t){let e=null;if(_e("beforeSanitizeElements",t,null),Ce(t))return me(t),!0;const n=oe(t.nodeName);if(_e("uponSanitizeElement",t,{tagName:n,allowedTags:bt}),t.hasChildNodes()&&!we(t.firstElementChild)&&k(/<[/\w]/g,t.innerHTML)&&k(/<[/\w]/g,t.textContent))return me(t),!0;if(t.nodeType===Z.progressingInstruction)return me(t),!0;if(Ft&&t.nodeType===Z.comment&&k(/<[/\w]/g,t.data))return me(t),!0;if(!bt[n]||vt[n]){if(!vt[n]&&Te(n)){if(_t.tagNameCheck instanceof RegExp&&k(_t.tagNameCheck,n))return!1;if(_t.tagNameCheck instanceof Function&&_t.tagNameCheck(n))return!1}if(jt&&!Wt[n]){const e=et(t)||t.parentNode,r=tt(t)||t.childNodes;if(r&&e)for(let n=r.length-1;n>=0;--n){const i=H(r[n],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,G(t))}}return me(t),!0}return t instanceof _&&!ye(t)?(me(t),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!k(/<\/no(script|embed|frames)/i,t.innerHTML)?(Lt&&t.nodeType===Z.text&&(e=t.textContent,h([ht,ut,dt],(t=>{e=y(e,t," ")})),t.textContent!==e&&(d(r.removed,{element:t.cloneNode()}),t.textContent=e)),_e("afterSanitizeElements",t,null),!1):(me(t),!0)},Se=function(t,e,r){if(Rt&&("id"===e||"name"===e)&&(r in n||r in le))return!1;if(At&&!St[e]&&k(pt,e));else if(Tt&&k(ft,e));else if(!Ct[e]||St[e]){if(!(Te(t)&&(_t.tagNameCheck instanceof RegExp&&k(_t.tagNameCheck,t)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(t))&&(_t.attributeNameCheck instanceof RegExp&&k(_t.attributeNameCheck,e)||_t.attributeNameCheck instanceof Function&&_t.attributeNameCheck(e))||"is"===e&&_t.allowCustomizedBuiltInElements&&(_t.tagNameCheck instanceof RegExp&&k(_t.tagNameCheck,r)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(r))))return!1}else if(Gt[e]);else if(k(xt,y(r,yt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==m(r,"data:")||!Ut[t])if(Mt&&!k(gt,y(r,yt,"")));else if(r)return!1;return!0},Te=function(t){return"annotation-xml"!==t&&g(t,mt)},Ae=function(t){_e("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ct};let i=e.length;for(;i--;){const o=e[i],{name:s,namespaceURI:l,value:c}=o,d=oe(s);let p="value"===s?c:x(c);if(n.attrName=d,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,_e("uponSanitizeAttribute",t,n),p=n.attrValue,Ft&&k(/((--!?|])>)|<\/(style|title)/i,p)){xe(s,t);continue}if(n.forceKeepAttr)continue;if(xe(s,t),!n.keepAttr)continue;if(!Bt&&k(/\/>/i,p)){xe(s,t);continue}Lt&&h([ht,ut,dt],(t=>{p=y(p,t," ")}));const f=oe(t.nodeName);if(Se(f,d,p)){if(!Pt||"id"!==d&&"name"!==d||(xe(s,t),p=zt+p),rt&&"object"==typeof K&&"function"==typeof K.getAttributeType)if(l);else switch(K.getAttributeType(f,d)){case"TrustedHTML":p=rt.createHTML(p);break;case"TrustedScriptURL":p=rt.createScriptURL(p)}try{l?t.setAttributeNS(l,s,p):t.setAttribute(s,p),Ce(t)?me(t):u(r.removed)}catch(a){}}}_e("afterSanitizeAttributes",t,null)},Me=function t(e){let r=null;const n=ke(e);for(_e("beforeSanitizeShadowDOM",e,null);r=n.nextNode();)_e("uponSanitizeShadowNode",r,null),ve(r)||(r.content instanceof l&&t(r.content),Ae(r));_e("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,o=null,s=null;if(te=!t,te&&(t="\x3c!--\x3e"),"string"!=typeof t&&!we(t)){if("function"!=typeof t.toString)throw C("toString is not a function");if("string"!=typeof(t=t.toString()))throw C("dirty is not a string, aborting")}if(!r.isSupported)return t;if(Et||he(e),r.removed=[],"string"==typeof t&&(Kt=!1),Kt){if(t.nodeName){const e=oe(t.nodeName);if(!bt[e]||vt[e])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof w)n=be("\x3c!----\x3e"),a=n.ownerDocument.importNode(t,!0),a.nodeType===Z.element&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a);else{if(!Ot&&!Lt&&!$t&&-1===t.indexOf("<"))return rt&&It?rt.createHTML(t):t;if(n=be(t),!n)return Ot?null:It?nt:""}n&&Dt&&me(n.firstChild);const c=ke(Kt?t:n);for(;o=c.nextNode();)ve(o)||(o.content instanceof l&&Me(o.content),Ae(o));if(Kt)return t;if(Ot){if(Nt)for(s=ot.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(Ct.shadowroot||Ct.shadowrootmode)&&(s=lt.call(i,s,!0)),s}let u=$t?n.outerHTML:n.innerHTML;return $t&&bt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&k(Y,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),Lt&&h([ht,ut,dt],(t=>{u=y(u,t," ")})),rt&&It?rt.createHTML(u):u},r.setConfig=function(){he(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Et=!0},r.clearConfig=function(){se=null,Et=!1},r.isValidAttribute=function(t,e,r){se||he({});const n=oe(t),i=oe(e);return Se(n,i,r)},r.addHook=function(t,e){"function"==typeof e&&(ct[t]=ct[t]||[],d(ct[t],e))},r.removeHook=function(t){if(ct[t])return u(ct[t])},r.removeHooks=function(t){ct[t]&&(ct[t]=[])},r.removeAllHooks=function(){ct={}},r}return J()}()},29893:(t,e,r)=>{"use strict";function n(t,e,r){if(t&&t.length){const[n,i]=e,a=Math.PI/180*r,o=Math.cos(a),s=Math.sin(a);for(const e of t){const[t,r]=e;e[0]=(t-n)*o-(r-i)*s+n,e[1]=(t-n)*s+(r-i)*o+i}}}function i(t,e){return t[0]===e[0]&&t[1]===e[1]}function a(t,e,r,a=1){const o=r,s=Math.max(e,.1),l=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,c=[0,0];if(o)for(const i of l)n(i,c,o);const h=function(t,e,r){const n=[];for(const h of t){const t=[...h];i(t[0],t[t.length-1])||t.push([t[0][0],t[0][1]]),t.length>2&&n.push(t)}const a=[];e=Math.max(e,.1);const o=[];for(const i of n)for(let t=0;t<i.length-1;t++){const e=i[t],r=i[t+1];if(e[1]!==r[1]){const t=Math.min(e[1],r[1]);o.push({ymin:t,ymax:Math.max(e[1],r[1]),x:t===e[1]?e[0]:r[0],islope:(r[0]-e[0])/(r[1]-e[1])})}}if(o.sort(((t,e)=>t.ymin<e.ymin?-1:t.ymin>e.ymin?1:t.x<e.x?-1:t.x>e.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax))),!o.length)return a;let s=[],l=o[0].ymin,c=0;for(;s.length||o.length;){if(o.length){let t=-1;for(let e=0;e<o.length&&!(o[e].ymin>l);e++)t=e;o.splice(0,t+1).forEach((t=>{s.push({s:l,edge:t})}))}if(s=s.filter((t=>!(t.edge.ymax<=l))),s.sort(((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x))),(1!==r||c%e==0)&&s.length>1)for(let t=0;t<s.length;t+=2){const e=t+1;if(e>=s.length)break;const r=s[t].edge,n=s[e].edge;a.push([[Math.round(r.x),l],[Math.round(n.x),l]])}l+=r,s.forEach((t=>{t.edge.x=t.edge.x+r*t.edge.islope})),c++}return a}(l,s,a);if(o){for(const t of l)n(t,c,-o);!function(t,e,r){const i=[];t.forEach((t=>i.push(...t))),n(i,e,r)}(h,c,-o)}return h}function o(t,e){var r;const n=e.hachureAngle+90;let i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.round(Math.max(i,.1));let o=1;return e.roughness>=1&&((null===(r=e.randomizer)||void 0===r?void 0:r.next())||Math.random())>.7&&(o=i),a(t,i,n,o||1)}r.d(e,{A:()=>it});class s{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){const r=o(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){const r=[];for(const n of t)r.push(...this.helper.doubleLineOps(n[0][0],n[0][1],n[1][0],n[1][1],e));return r}}function l(t){const e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class c extends s{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth),r=Math.max(r,.1);const n=o(t,Object.assign({},e,{hachureGap:r})),i=Math.PI/180*e.hachureAngle,a=[],s=.5*r*Math.cos(i),c=.5*r*Math.sin(i);for(const[o,h]of n)l([o,h])&&a.push([[o[0]-s,o[1]+c],[...h]],[[o[0]+s,o[1]-c],[...h]]);return{type:"fillSketch",ops:this.renderLines(a,e)}}}class h extends s{fillPolygons(t,e){const r=this._fillPolygons(t,e),n=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),i=this._fillPolygons(t,n);return r.ops=r.ops.concat(i.ops),r}}class u{constructor(t){this.helper=t}fillPolygons(t,e){const r=o(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){const r=[];let n=e.hachureGap;n<0&&(n=4*e.strokeWidth),n=Math.max(n,.1);let i=e.fillWeight;i<0&&(i=e.strokeWidth/2);const a=n/4;for(const o of t){const t=l(o),s=t/n,c=Math.ceil(s)-1,h=t-c*n,u=(o[0][0]+o[1][0])/2-n/4,d=Math.min(o[0][1],o[1][1]);for(let o=0;o<c;o++){const t=d+h+o*n,s=u-a+2*Math.random()*a,l=t-a+2*Math.random()*a,c=this.helper.ellipse(s,l,i,i,e);r.push(...c.ops)}}return{type:"fillSketch",ops:r}}}class d{constructor(t){this.helper=t}fillPolygons(t,e){const r=o(t,e);return{type:"fillSketch",ops:this.dashedLine(r,e)}}dashedLine(t,e){const r=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,n=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,i=[];return t.forEach((t=>{const a=l(t),o=Math.floor(a/(r+n)),s=(a+n-o*(r+n))/2;let c=t[0],h=t[1];c[0]>h[0]&&(c=t[1],h=t[0]);const u=Math.atan((h[1]-c[1])/(h[0]-c[0]));for(let l=0;l<o;l++){const t=l*(r+n),a=t+r,o=[c[0]+t*Math.cos(u)+s*Math.cos(u),c[1]+t*Math.sin(u)+s*Math.sin(u)],h=[c[0]+a*Math.cos(u)+s*Math.cos(u),c[1]+a*Math.sin(u)+s*Math.sin(u)];i.push(...this.helper.doubleLineOps(o[0],o[1],h[0],h[1],e))}})),i}}class p{constructor(t){this.helper=t}fillPolygons(t,e){const r=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,n=e.zigzagOffset<0?r:e.zigzagOffset,i=o(t,e=Object.assign({},e,{hachureGap:r+n}));return{type:"fillSketch",ops:this.zigzagLines(i,n,e)}}zigzagLines(t,e,r){const n=[];return t.forEach((t=>{const i=l(t),a=Math.round(i/(2*e));let o=t[0],s=t[1];o[0]>s[0]&&(o=t[1],s=t[0]);const c=Math.atan((s[1]-o[1])/(s[0]-o[0]));for(let l=0;l<a;l++){const t=2*l*e,i=2*(l+1)*e,a=Math.sqrt(2*Math.pow(e,2)),s=[o[0]+t*Math.cos(c),o[1]+t*Math.sin(c)],h=[o[0]+i*Math.cos(c),o[1]+i*Math.sin(c)],u=[s[0]+a*Math.cos(c+Math.PI/4),s[1]+a*Math.sin(c+Math.PI/4)];n.push(...this.helper.doubleLineOps(s[0],s[1],u[0],u[1],r),...this.helper.doubleLineOps(u[0],u[1],h[0],h[1],r))}})),n}}const f={};class g{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}const y={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function m(t,e){return t.type===e}function x(t){const e=[],r=function(t){const e=new Array;for(;""!==t;)if(t.match(/^([ \t\r\n,]+)/))t=t.substr(RegExp.$1.length);else if(t.match(/^([aAcChHlLmMqQsStTvVzZ])/))e[e.length]={type:0,text:RegExp.$1},t=t.substr(RegExp.$1.length);else{if(!t.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];e[e.length]={type:1,text:`${parseFloat(RegExp.$1)}`},t=t.substr(RegExp.$1.length)}return e[e.length]={type:2,text:""},e}(t);let n="BOD",i=0,a=r[i];for(;!m(a,2);){let o=0;const s=[];if("BOD"===n){if("M"!==a.text&&"m"!==a.text)return x("M0,0"+t);i++,o=y[a.text],n=a.text}else m(a,1)?o=y[n]:(i++,o=y[a.text],n=a.text);if(!(i+o<r.length))throw new Error("Path data ended short");for(let t=i;t<i+o;t++){const e=r[t];if(!m(e,1))throw new Error("Param not a number: "+n+","+e.text);s[s.length]=+e.text}if("number"!=typeof y[n])throw new Error("Bad segment: "+n);{const t={key:n,data:s};e.push(t),i+=o,a=r[i],"M"===n&&(n="L"),"m"===n&&(n="l")}}return e}function b(t){let e=0,r=0,n=0,i=0;const a=[];for(const{key:o,data:s}of t)switch(o){case"M":a.push({key:"M",data:[...s]}),[e,r]=s,[n,i]=s;break;case"m":e+=s[0],r+=s[1],a.push({key:"M",data:[e,r]}),n=e,i=r;break;case"L":a.push({key:"L",data:[...s]}),[e,r]=s;break;case"l":e+=s[0],r+=s[1],a.push({key:"L",data:[e,r]});break;case"C":a.push({key:"C",data:[...s]}),e=s[4],r=s[5];break;case"c":{const t=s.map(((t,n)=>n%2?t+r:t+e));a.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":a.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{const t=s.map(((t,n)=>n%2?t+r:t+e));a.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":a.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],a.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":a.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],a.push({key:"V",data:[r]});break;case"S":a.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{const t=s.map(((t,n)=>n%2?t+r:t+e));a.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":a.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],a.push({key:"T",data:[e,r]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=n,r=i}return a}function k(t){const e=[];let r="",n=0,i=0,a=0,o=0,s=0,l=0;for(const{key:c,data:h}of t){switch(c){case"M":e.push({key:"M",data:[...h]}),[n,i]=h,[a,o]=h;break;case"C":e.push({key:"C",data:[...h]}),n=h[4],i=h[5],s=h[2],l=h[3];break;case"L":e.push({key:"L",data:[...h]}),[n,i]=h;break;case"H":n=h[0],e.push({key:"L",data:[n,i]});break;case"V":i=h[0],e.push({key:"L",data:[n,i]});break;case"S":{let t=0,a=0;"C"===r||"S"===r?(t=n+(n-s),a=i+(i-l)):(t=n,a=i),e.push({key:"C",data:[t,a,...h]}),s=h[0],l=h[1],n=h[2],i=h[3];break}case"T":{const[t,a]=h;let o=0,c=0;"Q"===r||"T"===r?(o=n+(n-s),c=i+(i-l)):(o=n,c=i);const u=n+2*(o-n)/3,d=i+2*(c-i)/3,p=t+2*(o-t)/3,f=a+2*(c-a)/3;e.push({key:"C",data:[u,d,p,f,t,a]}),s=o,l=c,n=t,i=a;break}case"Q":{const[t,r,a,o]=h,c=n+2*(t-n)/3,u=i+2*(r-i)/3,d=a+2*(t-a)/3,p=o+2*(r-o)/3;e.push({key:"C",data:[c,u,d,p,a,o]}),s=t,l=r,n=a,i=o;break}case"A":{const t=Math.abs(h[0]),r=Math.abs(h[1]),a=h[2],o=h[3],s=h[4],l=h[5],c=h[6];0===t||0===r?(e.push({key:"C",data:[n,i,l,c,l,c]}),n=l,i=c):n===l&&i===c||(w(n,i,l,c,t,r,a,o,s).forEach((function(t){e.push({key:"C",data:t})})),n=l,i=c);break}case"Z":e.push({key:"Z",data:[]}),n=a,i=o}r=c}return e}function C(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}function w(t,e,r,n,i,a,o,s,l,c){const h=(u=o,Math.PI*u/180);var u;let d=[],p=0,f=0,g=0,y=0;if(c)[p,f,g,y]=c;else{[t,e]=C(t,e,-h),[r,n]=C(r,n,-h);const o=(t-r)/2,c=(e-n)/2;let u=o*o/(i*i)+c*c/(a*a);u>1&&(u=Math.sqrt(u),i*=u,a*=u);const d=i*i,m=a*a,x=d*m-d*c*c-m*o*o,b=d*c*c+m*o*o,k=(s===l?-1:1)*Math.sqrt(Math.abs(x/b));g=k*i*c/a+(t+r)/2,y=k*-a*o/i+(e+n)/2,p=Math.asin(parseFloat(((e-y)/a).toFixed(9))),f=Math.asin(parseFloat(((n-y)/a).toFixed(9))),t<g&&(p=Math.PI-p),r<g&&(f=Math.PI-f),p<0&&(p=2*Math.PI+p),f<0&&(f=2*Math.PI+f),l&&p>f&&(p-=2*Math.PI),!l&&f>p&&(f-=2*Math.PI)}let m=f-p;if(Math.abs(m)>120*Math.PI/180){const t=f,e=r,s=n;f=l&&f>p?p+120*Math.PI/180*1:p+120*Math.PI/180*-1,d=w(r=g+i*Math.cos(f),n=y+a*Math.sin(f),e,s,i,a,o,0,l,[f,t,g,y])}m=f-p;const x=Math.cos(p),b=Math.sin(p),k=Math.cos(f),_=Math.sin(f),v=Math.tan(m/4),S=4/3*i*v,T=4/3*a*v,A=[t,e],M=[t+S*b,e-T*x],B=[r+S*_,n-T*k],L=[r,n];if(M[0]=2*A[0]-M[0],M[1]=2*A[1]-M[1],c)return[M,B,L].concat(d);{d=[M,B,L].concat(d);const t=[];for(let e=0;e<d.length;e+=3){const r=C(d[e][0],d[e][1],h),n=C(d[e+1][0],d[e+1][1],h),i=C(d[e+2][0],d[e+2][1],h);t.push([r[0],r[1],n[0],n[1],i[0],i[1]])}return t}}const _={randOffset:function(t,e){return N(t,e)},randOffsetWithRange:function(t,e,r){return O(t,e,r)},ellipse:function(t,e,r,n,i){return M(t,e,i,A(r,n,i)).opset},doubleLineOps:function(t,e,r,n,i){return I(t,e,r,n,i,!0)}};function v(t,e,r,n,i){return{type:"path",ops:I(t,e,r,n,i)}}function S(t,e,r){const n=(t||[]).length;if(n>2){const i=[];for(let e=0;e<n-1;e++)i.push(...I(t[e][0],t[e][1],t[e+1][0],t[e+1][1],r));return e&&i.push(...I(t[n-1][0],t[n-1][1],t[0][0],t[0][1],r)),{type:"path",ops:i}}return 2===n?v(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function T(t,e){if(t.length){const r="number"==typeof t[0][0]?[t]:t,n=P(r[0],1*(1+.2*e.roughness),e),i=e.disableMultiStroke?[]:P(r[0],1.5*(1+.22*e.roughness),E(e));for(let t=1;t<r.length;t++){const a=r[t];if(a.length){const t=P(a,1*(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:P(a,1.5*(1+.22*e.roughness),E(e));for(const e of t)"move"!==e.op&&n.push(e);for(const e of r)"move"!==e.op&&i.push(e)}}return{type:"path",ops:n.concat(i)}}return{type:"path",ops:[]}}function A(t,e,r){const n=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),i=Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*n)),a=2*Math.PI/i;let o=Math.abs(t/2),s=Math.abs(e/2);const l=1-r.curveFitting;return o+=N(o*l,r),s+=N(s*l,r),{increment:a,rx:o,ry:s}}function M(t,e,r,n){const[i,a]=j(n.increment,t,e,n.rx,n.ry,1,n.increment*O(.1,O(.4,1,r),r),r);let o=z(i,null,r);if(!r.disableMultiStroke&&0!==r.roughness){const[i]=j(n.increment,t,e,n.rx,n.ry,1.5,0,r),a=z(i,null,r);o=o.concat(a)}return{estimatedPoints:a,opset:{type:"path",ops:o}}}function B(t,e,r,n,i,a,o,s,l){const c=t,h=e;let u=Math.abs(r/2),d=Math.abs(n/2);u+=N(.01*u,l),d+=N(.01*d,l);let p=i,f=a;for(;p<0;)p+=2*Math.PI,f+=2*Math.PI;f-p>2*Math.PI&&(p=0,f=2*Math.PI);const g=2*Math.PI/l.curveStepCount,y=Math.min(g/2,(f-p)/2),m=K(y,c,h,u,d,p,f,1,l);if(!l.disableMultiStroke){const t=K(y,c,h,u,d,p,f,1.5,l);m.push(...t)}return o&&(s?m.push(...I(c,h,c+u*Math.cos(p),h+d*Math.sin(p),l),...I(c,h,c+u*Math.cos(f),h+d*Math.sin(f),l)):m.push({op:"lineTo",data:[c,h]},{op:"lineTo",data:[c+u*Math.cos(p),h+d*Math.sin(p)]})),{type:"path",ops:m}}function L(t,e){const r=k(b(x(t))),n=[];let i=[0,0],a=[0,0];for(const{key:o,data:s}of r)switch(o){case"M":a=[s[0],s[1]],i=[s[0],s[1]];break;case"L":n.push(...I(a[0],a[1],s[0],s[1],e)),a=[s[0],s[1]];break;case"C":{const[t,r,i,o,l,c]=s;n.push(...q(t,r,i,o,l,c,a,e)),a=[l,c];break}case"Z":n.push(...I(a[0],a[1],i[0],i[1],e)),a=[i[0],i[1]]}return{type:"path",ops:n}}function F(t,e){const r=[];for(const n of t)if(n.length){const t=e.maxRandomnessOffset||0,i=n.length;if(i>2){r.push({op:"move",data:[n[0][0]+N(t,e),n[0][1]+N(t,e)]});for(let a=1;a<i;a++)r.push({op:"lineTo",data:[n[a][0]+N(t,e),n[a][1]+N(t,e)]})}}return{type:"fillPath",ops:r}}function $(t,e){return function(t,e){let r=t.fillStyle||"hachure";if(!f[r])switch(r){case"zigzag":f[r]||(f[r]=new c(e));break;case"cross-hatch":f[r]||(f[r]=new h(e));break;case"dots":f[r]||(f[r]=new u(e));break;case"dashed":f[r]||(f[r]=new d(e));break;case"zigzag-line":f[r]||(f[r]=new p(e));break;default:r="hachure",f[r]||(f[r]=new s(e))}return f[r]}(e,_).fillPolygons(t,e)}function E(t){const e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function D(t){return t.randomizer||(t.randomizer=new g(t.seed||0)),t.randomizer.next()}function O(t,e,r,n=1){return r.roughness*n*(D(r)*(e-t)+t)}function N(t,e,r=1){return O(-t,t,e,r)}function I(t,e,r,n,i,a=!1){const o=a?i.disableMultiStrokeFill:i.disableMultiStroke,s=R(t,e,r,n,i,!0,!1);if(o)return s;const l=R(t,e,r,n,i,!0,!0);return s.concat(l)}function R(t,e,r,n,i,a,o){const s=Math.pow(t-r,2)+Math.pow(e-n,2),l=Math.sqrt(s);let c=1;c=l<200?1:l>500?.4:-.0016668*l+1.233334;let h=i.maxRandomnessOffset||0;h*h*100>s&&(h=l/10);const u=h/2,d=.2+.2*D(i);let p=i.bowing*i.maxRandomnessOffset*(n-e)/200,f=i.bowing*i.maxRandomnessOffset*(t-r)/200;p=N(p,i,c),f=N(f,i,c);const g=[],y=()=>N(u,i,c),m=()=>N(h,i,c),x=i.preserveVertices;return a&&(o?g.push({op:"move",data:[t+(x?0:y()),e+(x?0:y())]}):g.push({op:"move",data:[t+(x?0:N(h,i,c)),e+(x?0:N(h,i,c))]})),o?g.push({op:"bcurveTo",data:[p+t+(r-t)*d+y(),f+e+(n-e)*d+y(),p+t+2*(r-t)*d+y(),f+e+2*(n-e)*d+y(),r+(x?0:y()),n+(x?0:y())]}):g.push({op:"bcurveTo",data:[p+t+(r-t)*d+m(),f+e+(n-e)*d+m(),p+t+2*(r-t)*d+m(),f+e+2*(n-e)*d+m(),r+(x?0:m()),n+(x?0:m())]}),g}function P(t,e,r){if(!t.length)return[];const n=[];n.push([t[0][0]+N(e,r),t[0][1]+N(e,r)]),n.push([t[0][0]+N(e,r),t[0][1]+N(e,r)]);for(let i=1;i<t.length;i++)n.push([t[i][0]+N(e,r),t[i][1]+N(e,r)]),i===t.length-1&&n.push([t[i][0]+N(e,r),t[i][1]+N(e,r)]);return z(n,null,r)}function z(t,e,r){const n=t.length,i=[];if(n>3){const a=[],o=1-r.curveTightness;i.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<n;e++){const r=t[e];a[0]=[r[0],r[1]],a[1]=[r[0]+(o*t[e+1][0]-o*t[e-1][0])/6,r[1]+(o*t[e+1][1]-o*t[e-1][1])/6],a[2]=[t[e+1][0]+(o*t[e][0]-o*t[e+2][0])/6,t[e+1][1]+(o*t[e][1]-o*t[e+2][1])/6],a[3]=[t[e+1][0],t[e+1][1]],i.push({op:"bcurveTo",data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}if(e&&2===e.length){const t=r.maxRandomnessOffset;i.push({op:"lineTo",data:[e[0]+N(t,r),e[1]+N(t,r)]})}}else 3===n?(i.push({op:"move",data:[t[1][0],t[1][1]]}),i.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===n&&i.push(...R(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return i}function j(t,e,r,n,i,a,o,s){const l=[],c=[];if(0===s.roughness){t/=4,c.push([e+n*Math.cos(-t),r+i*Math.sin(-t)]);for(let a=0;a<=2*Math.PI;a+=t){const t=[e+n*Math.cos(a),r+i*Math.sin(a)];l.push(t),c.push(t)}c.push([e+n*Math.cos(0),r+i*Math.sin(0)]),c.push([e+n*Math.cos(t),r+i*Math.sin(t)])}else{const h=N(.5,s)-Math.PI/2;c.push([N(a,s)+e+.9*n*Math.cos(h-t),N(a,s)+r+.9*i*Math.sin(h-t)]);const u=2*Math.PI+h-.01;for(let o=h;o<u;o+=t){const t=[N(a,s)+e+n*Math.cos(o),N(a,s)+r+i*Math.sin(o)];l.push(t),c.push(t)}c.push([N(a,s)+e+n*Math.cos(h+2*Math.PI+.5*o),N(a,s)+r+i*Math.sin(h+2*Math.PI+.5*o)]),c.push([N(a,s)+e+.98*n*Math.cos(h+o),N(a,s)+r+.98*i*Math.sin(h+o)]),c.push([N(a,s)+e+.9*n*Math.cos(h+.5*o),N(a,s)+r+.9*i*Math.sin(h+.5*o)])}return[c,l]}function K(t,e,r,n,i,a,o,s,l){const c=a+N(.1,l),h=[];h.push([N(s,l)+e+.9*n*Math.cos(c-t),N(s,l)+r+.9*i*Math.sin(c-t)]);for(let u=c;u<=o;u+=t)h.push([N(s,l)+e+n*Math.cos(u),N(s,l)+r+i*Math.sin(u)]);return h.push([e+n*Math.cos(o),r+i*Math.sin(o)]),h.push([e+n*Math.cos(o),r+i*Math.sin(o)]),z(h,null,l)}function q(t,e,r,n,i,a,o,s){const l=[],c=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3];let h=[0,0];const u=s.disableMultiStroke?1:2,d=s.preserveVertices;for(let p=0;p<u;p++)0===p?l.push({op:"move",data:[o[0],o[1]]}):l.push({op:"move",data:[o[0]+(d?0:N(c[0],s)),o[1]+(d?0:N(c[0],s))]}),h=d?[i,a]:[i+N(c[p],s),a+N(c[p],s)],l.push({op:"bcurveTo",data:[t+N(c[p],s),e+N(c[p],s),r+N(c[p],s),n+N(c[p],s),h[0],h[1]]});return l}function W(t){return[...t]}function H(t,e=0){const r=t.length;if(r<3)throw new Error("A curve must have at least three points.");const n=[];if(3===r)n.push(W(t[0]),W(t[1]),W(t[2]),W(t[2]));else{const r=[];r.push(t[0],t[0]);for(let e=1;e<t.length;e++)r.push(t[e]),e===t.length-1&&r.push(t[e]);const i=[],a=1-e;n.push(W(r[0]));for(let t=1;t+2<r.length;t++){const e=r[t];i[0]=[e[0],e[1]],i[1]=[e[0]+(a*r[t+1][0]-a*r[t-1][0])/6,e[1]+(a*r[t+1][1]-a*r[t-1][1])/6],i[2]=[r[t+1][0]+(a*r[t][0]-a*r[t+2][0])/6,r[t+1][1]+(a*r[t][1]-a*r[t+2][1])/6],i[3]=[r[t+1][0],r[t+1][1]],n.push(i[1],i[2],i[3])}}return n}function U(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function Y(t,e,r){const n=U(e,r);if(0===n)return U(t,e);let i=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/n;return i=Math.max(0,Math.min(1,i)),U(t,G(e,r,i))}function G(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function V(t,e,r,n){const i=n||[];if(function(t,e){const r=t[e+0],n=t[e+1],i=t[e+2],a=t[e+3];let o=3*n[0]-2*r[0]-a[0];o*=o;let s=3*n[1]-2*r[1]-a[1];s*=s;let l=3*i[0]-2*a[0]-r[0];l*=l;let c=3*i[1]-2*a[1]-r[1];return c*=c,o<l&&(o=l),s<c&&(s=c),o+s}(t,e)<r){const r=t[e+0];i.length?(a=i[i.length-1],o=r,Math.sqrt(U(a,o))>1&&i.push(r)):i.push(r),i.push(t[e+3])}else{const n=.5,a=t[e+0],o=t[e+1],s=t[e+2],l=t[e+3],c=G(a,o,n),h=G(o,s,n),u=G(s,l,n),d=G(c,h,n),p=G(h,u,n),f=G(d,p,n);V([a,c,d,f],0,r,i),V([f,p,u,l],0,r,i)}var a,o;return i}function Z(t,e){return X(t,0,t.length,e)}function X(t,e,r,n,i){const a=i||[],o=t[e],s=t[r-1];let l=0,c=1;for(let h=e+1;h<r-1;++h){const e=Y(t[h],o,s);e>l&&(l=e,c=h)}return Math.sqrt(l)>n?(X(t,e,c+1,n,a),X(t,c,r,n,a)):(a.length||a.push(o),a.push(s)),a}function Q(t,e=.15,r){const n=[],i=(t.length-1)/3;for(let a=0;a<i;a++)V(t,3*a,e,n);return r&&r>0?X(n,0,n.length,r):n}const J="none";class tt{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,n,i){const a=this._o(i);return this._d("line",[v(t,e,r,n,a)],a)}rectangle(t,e,r,n,i){const a=this._o(i),o=[],s=function(t,e,r,n,i){return function(t,e){return S(t,!0,e)}([[t,e],[t+r,e],[t+r,e+n],[t,e+n]],i)}(t,e,r,n,a);if(a.fill){const i=[[t,e],[t+r,e],[t+r,e+n],[t,e+n]];"solid"===a.fillStyle?o.push(F([i],a)):o.push($([i],a))}return a.stroke!==J&&o.push(s),this._d("rectangle",o,a)}ellipse(t,e,r,n,i){const a=this._o(i),o=[],s=A(r,n,a),l=M(t,e,a,s);if(a.fill)if("solid"===a.fillStyle){const r=M(t,e,a,s).opset;r.type="fillPath",o.push(r)}else o.push($([l.estimatedPoints],a));return a.stroke!==J&&o.push(l.opset),this._d("ellipse",o,a)}circle(t,e,r,n){const i=this.ellipse(t,e,r,r,n);return i.shape="circle",i}linearPath(t,e){const r=this._o(e);return this._d("linearPath",[S(t,!1,r)],r)}arc(t,e,r,n,i,a,o=!1,s){const l=this._o(s),c=[],h=B(t,e,r,n,i,a,o,!0,l);if(o&&l.fill)if("solid"===l.fillStyle){const o=Object.assign({},l);o.disableMultiStroke=!0;const s=B(t,e,r,n,i,a,!0,!1,o);s.type="fillPath",c.push(s)}else c.push(function(t,e,r,n,i,a,o){const s=t,l=e;let c=Math.abs(r/2),h=Math.abs(n/2);c+=N(.01*c,o),h+=N(.01*h,o);let u=i,d=a;for(;u<0;)u+=2*Math.PI,d+=2*Math.PI;d-u>2*Math.PI&&(u=0,d=2*Math.PI);const p=(d-u)/o.curveStepCount,f=[];for(let g=u;g<=d;g+=p)f.push([s+c*Math.cos(g),l+h*Math.sin(g)]);return f.push([s+c*Math.cos(d),l+h*Math.sin(d)]),f.push([s,l]),$([f],o)}(t,e,r,n,i,a,l));return l.stroke!==J&&c.push(h),this._d("arc",c,l)}curve(t,e){const r=this._o(e),n=[],i=T(t,r);if(r.fill&&r.fill!==J)if("solid"===r.fillStyle){const e=T(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{const e=[],i=t;if(i.length){const t="number"==typeof i[0][0]?[i]:i;for(const n of t)n.length<3?e.push(...n):3===n.length?e.push(...Q(H([n[0],n[0],n[1],n[2]]),10,(1+r.roughness)/2)):e.push(...Q(H(n),10,(1+r.roughness)/2))}e.length&&n.push($([e],r))}return r.stroke!==J&&n.push(i),this._d("curve",n,r)}polygon(t,e){const r=this._o(e),n=[],i=S(t,!0,r);return r.fill&&("solid"===r.fillStyle?n.push(F([t],r)):n.push($([t],r))),r.stroke!==J&&n.push(i),this._d("polygon",n,r)}path(t,e){const r=this._o(e),n=[];if(!t)return this._d("path",n,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const i=r.fill&&"transparent"!==r.fill&&r.fill!==J,a=r.stroke!==J,o=!!(r.simplification&&r.simplification<1),s=function(t,e,r){const n=k(b(x(t))),i=[];let a=[],o=[0,0],s=[];const l=()=>{s.length>=4&&a.push(...Q(s,1)),s=[]},c=()=>{l(),a.length&&(i.push(a),a=[])};for(const{key:u,data:d}of n)switch(u){case"M":c(),o=[d[0],d[1]],a.push(o);break;case"L":l(),a.push([d[0],d[1]]);break;case"C":if(!s.length){const t=a.length?a[a.length-1]:o;s.push([t[0],t[1]])}s.push([d[0],d[1]]),s.push([d[2],d[3]]),s.push([d[4],d[5]]);break;case"Z":l(),a.push([o[0],o[1]])}if(c(),!r)return i;const h=[];for(const u of i){const t=Z(u,r);t.length&&h.push(t)}return h}(t,0,o?4-4*(r.simplification||1):(1+r.roughness)/2),l=L(t,r);if(i)if("solid"===r.fillStyle)if(1===s.length){const e=L(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else n.push(F(s,r));else n.push($(s,r));return a&&(o?s.forEach((t=>{n.push(S(t,!1,r))})):n.push(l)),this._d("path",n,r)}opsToPath(t,e){let r="";for(const n of t.ops){const t="number"==typeof e&&e>=0?n.data.map((t=>+t.toFixed(e))):n.data;switch(n.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){const e=t.sets||[],r=t.options||this.defaultOptions,n=[];for(const i of e){let t=null;switch(i.type){case"path":t={d:this.opsToPath(i),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:J};break;case"fillPath":t={d:this.opsToPath(i),stroke:J,strokeWidth:0,fill:r.fill||J};break;case"fillSketch":t=this.fillSketch(i,r)}t&&n.push(t)}return n}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||J,strokeWidth:r,fill:J}}_mergedShape(t){return t.filter(((t,e)=>0===e||"move"!==t.op))}}class et{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new tt(e)}draw(t){const e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.ctx,i=t.options.fixedDecimalPlaceDigits;for(const a of e)switch(a.type){case"path":n.save(),n.strokeStyle="none"===r.stroke?"transparent":r.stroke,n.lineWidth=r.strokeWidth,r.strokeLineDash&&n.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(n.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(n,a,i),n.restore();break;case"fillPath":{n.save(),n.fillStyle=r.fill||"";const e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(n,a,i,e),n.restore();break}case"fillSketch":this.fillSketch(n,a,r)}}fillSketch(t,e,r){let n=r.fillWeight;n<0&&(n=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=n,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,n="nonzero"){t.beginPath();for(const i of e.ops){const e="number"==typeof r&&r>=0?i.data.map((t=>+t.toFixed(r))):i.data;switch(i.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(n):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,n,i){const a=this.gen.line(t,e,r,n,i);return this.draw(a),a}rectangle(t,e,r,n,i){const a=this.gen.rectangle(t,e,r,n,i);return this.draw(a),a}ellipse(t,e,r,n,i){const a=this.gen.ellipse(t,e,r,n,i);return this.draw(a),a}circle(t,e,r,n){const i=this.gen.circle(t,e,r,n);return this.draw(i),i}linearPath(t,e){const r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){const r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,n,i,a,o=!1,s){const l=this.gen.arc(t,e,r,n,i,a,o,s);return this.draw(l),l}curve(t,e){const r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){const r=this.gen.path(t,e);return this.draw(r),r}}const rt="http://www.w3.org/2000/svg";class nt{constructor(t,e){this.svg=t,this.gen=new tt(e)}draw(t){const e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.svg.ownerDocument||window.document,i=n.createElementNS(rt,"g"),a=t.options.fixedDecimalPlaceDigits;for(const o of e){let e=null;switch(o.type){case"path":e=n.createElementNS(rt,"path"),e.setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":e=n.createElementNS(rt,"path"),e.setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(n,o,r)}e&&i.appendChild(e)}return i}fillSketch(t,e,r){let n=r.fillWeight;n<0&&(n=r.strokeWidth/2);const i=t.createElementNS(rt,"path");return i.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),i.setAttribute("stroke",r.fill||""),i.setAttribute("stroke-width",n+""),i.setAttribute("fill","none"),r.fillLineDash&&i.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&i.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),i}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,n,i){const a=this.gen.line(t,e,r,n,i);return this.draw(a)}rectangle(t,e,r,n,i){const a=this.gen.rectangle(t,e,r,n,i);return this.draw(a)}ellipse(t,e,r,n,i){const a=this.gen.ellipse(t,e,r,n,i);return this.draw(a)}circle(t,e,r,n){const i=this.gen.circle(t,e,r,n);return this.draw(i)}linearPath(t,e){const r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){const r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,n,i,a,o=!1,s){const l=this.gen.arc(t,e,r,n,i,a,o,s);return this.draw(l)}curve(t,e){const r=this.gen.curve(t,e);return this.draw(r)}path(t,e){const r=this.gen.path(t,e);return this.draw(r)}}var it={canvas:(t,e)=>new et(t,e),svg:(t,e)=>new nt(t,e),generator:t=>new tt(t),newSeed:()=>tt.newSeed()}},60513:(t,e,r)=>{"use strict";function n(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=Array.from("string"==typeof t?[t]:t);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce((function(t,e){var r=e.match(/\n([\t ]+|(?!\s).)/g);return r?t.concat(r.map((function(t){var e,r;return null!==(r=null===(e=t.match(/[\t ]/g))||void 0===e?void 0:e.length)&&void 0!==r?r:0}))):t}),[]);if(i.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,i)+"}","g");n=n.map((function(t){return t.replace(a,"\n")}))}n[0]=n[0].replace(/^\r?\n/,"");var o=n[0];return e.forEach((function(t,e){var r=o.match(/(?:^|\n)( *)$/),i=r?r[1]:"",a=t;"string"==typeof t&&t.includes("\n")&&(a=String(t).split("\n").map((function(t,e){return 0===e?t:""+i+t})).join("\n")),o+=a+n[e+1]})),o}r.d(e,{T:()=>n})},20007:(t,e,r)=>{"use strict";function n(t,e){let r;if(void 0===e)for(const n of t)null!=n&&(r<n||void 0===r&&n>=n)&&(r=n);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function i(t,e){let r;if(void 0===e)for(const n of t)null!=n&&(r>n||void 0===r&&n>=n)&&(r=n);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function a(t){return t}r.d(e,{JLW:()=>Zo,l78:()=>x,tlR:()=>m,qrM:()=>cs,Yu4:()=>us,IA3:()=>ps,Wi0:()=>gs,PGM:()=>ys,OEq:()=>xs,y8u:()=>Cs,olC:()=>_s,IrU:()=>Ss,oDi:()=>Ms,Q7f:()=>Ls,cVp:()=>$s,lUB:()=>Jo,Lx9:()=>Ds,nVG:()=>Ks,uxU:()=>qs,Xf2:()=>Us,GZz:()=>Gs,UPb:()=>Zs,dyv:()=>Vs,bEH:()=>rn,n8j:()=>rs,T9B:()=>n,jkA:()=>i,rLf:()=>as,WH:()=>dn,m4Y:()=>ii,UMr:()=>un,w7C:()=>Co,zt:()=>wo,Ltv:()=>_o,UAC:()=>Ci,DCK:()=>Ji,TUC:()=>Li,Agd:()=>bi,t6C:()=>gi,wXd:()=>mi,ABi:()=>Ti,Ui6:()=>zi,rGn:()=>Fi,ucG:()=>yi,YPH:()=>Si,Mol:()=>Bi,PGu:()=>Ai,GuW:()=>Mi});var o=1,s=2,l=3,c=4,h=1e-6;function u(t){return"translate("+t+",0)"}function d(t){return"translate(0,"+t+")"}function p(t){return e=>+t(e)}function f(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function g(){return!this.__axis}function y(t,e){var r=[],n=null,i=null,y=6,m=6,x=3,b="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,k=t===o||t===c?-1:1,C=t===c||t===s?"x":"y",w=t===o||t===l?u:d;function _(u){var d=null==n?e.ticks?e.ticks.apply(e,r):e.domain():n,_=null==i?e.tickFormat?e.tickFormat.apply(e,r):a:i,v=Math.max(y,0)+x,S=e.range(),T=+S[0]+b,A=+S[S.length-1]+b,M=(e.bandwidth?f:p)(e.copy(),b),B=u.selection?u.selection():u,L=B.selectAll(".domain").data([null]),F=B.selectAll(".tick").data(d,e).order(),$=F.exit(),E=F.enter().append("g").attr("class","tick"),D=F.select("line"),O=F.select("text");L=L.merge(L.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),F=F.merge(E),D=D.merge(E.append("line").attr("stroke","currentColor").attr(C+"2",k*y)),O=O.merge(E.append("text").attr("fill","currentColor").attr(C,k*v).attr("dy",t===o?"0em":t===l?"0.71em":"0.32em")),u!==B&&(L=L.transition(u),F=F.transition(u),D=D.transition(u),O=O.transition(u),$=$.transition(u).attr("opacity",h).attr("transform",(function(t){return isFinite(t=M(t))?w(t+b):this.getAttribute("transform")})),E.attr("opacity",h).attr("transform",(function(t){var e=this.parentNode.__axis;return w((e&&isFinite(e=e(t))?e:M(t))+b)}))),$.remove(),L.attr("d",t===c||t===s?m?"M"+k*m+","+T+"H"+b+"V"+A+"H"+k*m:"M"+b+","+T+"V"+A:m?"M"+T+","+k*m+"V"+b+"H"+A+"V"+k*m:"M"+T+","+b+"H"+A),F.attr("opacity",1).attr("transform",(function(t){return w(M(t)+b)})),D.attr(C+"2",k*y),O.attr(C,k*v).text(_),B.filter(g).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===s?"start":t===c?"end":"middle"),B.each((function(){this.__axis=M}))}return _.scale=function(t){return arguments.length?(e=t,_):e},_.ticks=function(){return r=Array.from(arguments),_},_.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),_):r.slice()},_.tickValues=function(t){return arguments.length?(n=null==t?null:Array.from(t),_):n&&n.slice()},_.tickFormat=function(t){return arguments.length?(i=t,_):i},_.tickSize=function(t){return arguments.length?(y=m=+t,_):y},_.tickSizeInner=function(t){return arguments.length?(y=+t,_):y},_.tickSizeOuter=function(t){return arguments.length?(m=+t,_):m},_.tickPadding=function(t){return arguments.length?(x=+t,_):x},_.offset=function(t){return arguments.length?(b=+t,_):b},_}function m(t){return y(o,t)}function x(t){return y(l,t)}function b(){}function k(t){return null==t?b:function(){return this.querySelector(t)}}function C(){return[]}function w(t){return null==t?C:function(){return this.querySelectorAll(t)}}function _(t){return function(){return null==(e=t.apply(this,arguments))?[]:Array.isArray(e)?e:Array.from(e);var e}}function v(t){return function(){return this.matches(t)}}function S(t){return function(e){return e.matches(t)}}var T=Array.prototype.find;function A(){return this.firstElementChild}var M=Array.prototype.filter;function B(){return Array.from(this.children)}function L(t){return new Array(t.length)}function F(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function $(t,e,r,n,i,a){for(var o,s=0,l=e.length,c=a.length;s<c;++s)(o=e[s])?(o.__data__=a[s],n[s]=o):r[s]=new F(t,a[s]);for(;s<l;++s)(o=e[s])&&(i[s]=o)}function E(t,e,r,n,i,a,o){var s,l,c,h=new Map,u=e.length,d=a.length,p=new Array(u);for(s=0;s<u;++s)(l=e[s])&&(p[s]=c=o.call(l,l.__data__,s,e)+"",h.has(c)?i[s]=l:h.set(c,l));for(s=0;s<d;++s)c=o.call(t,a[s],s,a)+"",(l=h.get(c))?(n[s]=l,l.__data__=a[s],h.delete(c)):r[s]=new F(t,a[s]);for(s=0;s<u;++s)(l=e[s])&&h.get(p[s])===l&&(i[s]=l)}function D(t){return t.__data__}function O(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function N(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}F.prototype={constructor:F,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)}};var I="http://www.w3.org/1999/xhtml";const R={svg:"http://www.w3.org/2000/svg",xhtml:I,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function P(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),R.hasOwnProperty(e)?{space:R[e],local:t}:t}function z(t){return function(){this.removeAttribute(t)}}function j(t){return function(){this.removeAttributeNS(t.space,t.local)}}function K(t,e){return function(){this.setAttribute(t,e)}}function q(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function W(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttribute(t):this.setAttribute(t,r)}}function H(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function U(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Y(t){return function(){this.style.removeProperty(t)}}function G(t,e,r){return function(){this.style.setProperty(t,e,r)}}function V(t,e,r){return function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}function Z(t,e){return t.style.getPropertyValue(e)||U(t).getComputedStyle(t,null).getPropertyValue(e)}function X(t){return function(){delete this[t]}}function Q(t,e){return function(){this[t]=e}}function J(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}function tt(t){return t.trim().split(/^|\s+/)}function et(t){return t.classList||new rt(t)}function rt(t){this._node=t,this._names=tt(t.getAttribute("class")||"")}function nt(t,e){for(var r=et(t),n=-1,i=e.length;++n<i;)r.add(e[n])}function it(t,e){for(var r=et(t),n=-1,i=e.length;++n<i;)r.remove(e[n])}function at(t){return function(){nt(this,t)}}function ot(t){return function(){it(this,t)}}function st(t,e){return function(){(e.apply(this,arguments)?nt:it)(this,t)}}function lt(){this.textContent=""}function ct(t){return function(){this.textContent=t}}function ht(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function ut(){this.innerHTML=""}function dt(t){return function(){this.innerHTML=t}}function pt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function ft(){this.nextSibling&&this.parentNode.appendChild(this)}function gt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function yt(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===I&&e.documentElement.namespaceURI===I?e.createElement(t):e.createElementNS(r,t)}}function mt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function xt(t){var e=P(t);return(e.local?mt:yt)(e)}function bt(){return null}function kt(){var t=this.parentNode;t&&t.removeChild(this)}function Ct(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function wt(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function _t(t){return function(){var e=this.__on;if(e){for(var r,n=0,i=-1,a=e.length;n<a;++n)r=e[n],t.type&&r.type!==t.type||r.name!==t.name?e[++i]=r:this.removeEventListener(r.type,r.listener,r.options);++i?e.length=i:delete this.__on}}}function vt(t,e,r){return function(){var n,i=this.__on,a=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var o=0,s=i.length;o<s;++o)if((n=i[o]).type===t.type&&n.name===t.name)return this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=a,n.options=r),void(n.value=e);this.addEventListener(t.type,a,r),n={type:t.type,name:t.name,value:e,listener:a,options:r},i?i.push(n):this.__on=[n]}}function St(t,e,r){var n=U(t),i=n.CustomEvent;"function"==typeof i?i=new i(e,r):(i=n.document.createEvent("Event"),r?(i.initEvent(e,r.bubbles,r.cancelable),i.detail=r.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function Tt(t,e){return function(){return St(this,t,e)}}function At(t,e){return function(){return St(this,t,e.apply(this,arguments))}}rt.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 Mt=[null];function Bt(t,e){this._groups=t,this._parents=e}function Lt(){return new Bt([[document.documentElement]],Mt)}Bt.prototype=Lt.prototype={constructor:Bt,select:function(t){"function"!=typeof t&&(t=k(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var a,o,s=e[i],l=s.length,c=n[i]=new Array(l),h=0;h<l;++h)(a=s[h])&&(o=t.call(a,a.__data__,h,s))&&("__data__"in a&&(o.__data__=a.__data__),c[h]=o);return new Bt(n,this._parents)},selectAll:function(t){t="function"==typeof t?_(t):w(t);for(var e=this._groups,r=e.length,n=[],i=[],a=0;a<r;++a)for(var o,s=e[a],l=s.length,c=0;c<l;++c)(o=s[c])&&(n.push(t.call(o,o.__data__,c,s)),i.push(o));return new Bt(n,i)},selectChild:function(t){return this.select(null==t?A:function(t){return function(){return T.call(this.children,t)}}("function"==typeof t?t:S(t)))},selectChildren:function(t){return this.selectAll(null==t?B:function(t){return function(){return M.call(this.children,t)}}("function"==typeof t?t:S(t)))},filter:function(t){"function"!=typeof t&&(t=v(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var a,o=e[i],s=o.length,l=n[i]=[],c=0;c<s;++c)(a=o[c])&&t.call(a,a.__data__,c,o)&&l.push(a);return new Bt(n,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,D);var r,n=e?E:$,i=this._parents,a=this._groups;"function"!=typeof t&&(r=t,t=function(){return r});for(var o=a.length,s=new Array(o),l=new Array(o),c=new Array(o),h=0;h<o;++h){var u=i[h],d=a[h],p=d.length,f=O(t.call(u,u&&u.__data__,h,i)),g=f.length,y=l[h]=new Array(g),m=s[h]=new Array(g);n(u,d,y,m,c[h]=new Array(p),f,e);for(var x,b,k=0,C=0;k<g;++k)if(x=y[k]){for(k>=C&&(C=k+1);!(b=m[C])&&++C<g;);x._next=b||null}}return(s=new Bt(s,i))._enter=l,s._exit=c,s},enter:function(){return new Bt(this._enter||this._groups.map(L),this._parents)},exit:function(){return new Bt(this._exit||this._groups.map(L),this._parents)},join:function(t,e,r){var n=this.enter(),i=this,a=this.exit();return"function"==typeof t?(n=t(n))&&(n=n.selection()):n=n.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==r?a.remove():r(a),n&&i?n.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,r=this._groups,n=e._groups,i=r.length,a=n.length,o=Math.min(i,a),s=new Array(i),l=0;l<o;++l)for(var c,h=r[l],u=n[l],d=h.length,p=s[l]=new Array(d),f=0;f<d;++f)(c=h[f]||u[f])&&(p[f]=c);for(;l<i;++l)s[l]=r[l];return new Bt(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,r=t.length;++e<r;)for(var n,i=t[e],a=i.length-1,o=i[a];--a>=0;)(n=i[a])&&(o&&4^n.compareDocumentPosition(o)&&o.parentNode.insertBefore(n,o),o=n);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}t||(t=N);for(var r=this._groups,n=r.length,i=new Array(n),a=0;a<n;++a){for(var o,s=r[a],l=s.length,c=i[a]=new Array(l),h=0;h<l;++h)(o=s[h])&&(c[h]=o);c.sort(e)}return new Bt(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n=t[e],i=0,a=n.length;i<a;++i){var o=n[i];if(o)return o}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,r=0,n=e.length;r<n;++r)for(var i,a=e[r],o=0,s=a.length;o<s;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var r=P(t);if(arguments.length<2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((null==e?r.local?j:z:"function"==typeof e?r.local?H:W:r.local?q:K)(r,e))},style:function(t,e,r){return arguments.length>1?this.each((null==e?Y:"function"==typeof e?V:G)(t,e,null==r?"":r)):Z(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?X:"function"==typeof e?J:Q)(t,e)):this.node()[t]},classed:function(t,e){var r=tt(t+"");if(arguments.length<2){for(var n=et(this.node()),i=-1,a=r.length;++i<a;)if(!n.contains(r[i]))return!1;return!0}return this.each(("function"==typeof e?st:e?at:ot)(r,e))},text:function(t){return arguments.length?this.each(null==t?lt:("function"==typeof t?ht:ct)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ut:("function"==typeof t?pt:dt)(t)):this.node().innerHTML},raise:function(){return this.each(ft)},lower:function(){return this.each(gt)},append:function(t){var e="function"==typeof t?t:xt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var r="function"==typeof t?t:xt(t),n=null==e?bt:"function"==typeof e?e:k(e);return this.select((function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)}))},remove:function(){return this.each(kt)},clone:function(t){return this.select(t?wt:Ct)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,r){var n,i,a=function(t){return t.trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");return r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}))}(t+""),o=a.length;if(!(arguments.length<2)){for(s=e?vt:_t,n=0;n<o;++n)this.each(s(a[n],e,r));return this}var s=this.node().__on;if(s)for(var l,c=0,h=s.length;c<h;++c)for(n=0,l=s[c];n<o;++n)if((i=a[n]).type===l.type&&i.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?At:Tt)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n,i=t[e],a=0,o=i.length;a<o;++a)(n=i[a])&&(yield n)}};const Ft=Lt;var $t={value:()=>{}};function Et(){for(var t,e=0,r=arguments.length,n={};e<r;++e){if(!(t=arguments[e]+"")||t in n||/[\s.]/.test(t))throw new Error("illegal type: "+t);n[t]=[]}return new Dt(n)}function Dt(t){this._=t}function Ot(t,e){for(var r,n=0,i=t.length;n<i;++n)if((r=t[n]).name===e)return r.value}function Nt(t,e,r){for(var n=0,i=t.length;n<i;++n)if(t[n].name===e){t[n]=$t,t=t.slice(0,n).concat(t.slice(n+1));break}return null!=r&&t.push({name:e,value:r}),t}Dt.prototype=Et.prototype={constructor:Dt,on:function(t,e){var r,n,i=this._,a=(n=i,(t+"").trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),o=-1,s=a.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o<s;)if(r=(t=a[o]).type)i[r]=Nt(i[r],t.name,e);else if(null==e)for(r in i)i[r]=Nt(i[r],t.name,null);return this}for(;++o<s;)if((r=(t=a[o]).type)&&(r=Ot(i[r],t.name)))return r},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new Dt(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var r,n,i=new Array(r),a=0;a<r;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,r=(n=this._[t]).length;a<r;++a)n[a].value.apply(e,i)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var n=this._[t],i=0,a=n.length;i<a;++i)n[i].value.apply(e,r)}};const It=Et;var Rt,Pt,zt=0,jt=0,Kt=0,qt=0,Wt=0,Ht=0,Ut="object"==typeof performance&&performance.now?performance:Date,Yt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gt(){return Wt||(Yt(Vt),Wt=Ut.now()+Ht)}function Vt(){Wt=0}function Zt(){this._call=this._time=this._next=null}function Xt(t,e,r){var n=new Zt;return n.restart(t,e,r),n}function Qt(){Wt=(qt=Ut.now())+Ht,zt=jt=0;try{!function(){Gt(),++zt;for(var t,e=Rt;e;)(t=Wt-e._time)>=0&&e._call.call(void 0,t),e=e._next;--zt}()}finally{zt=0,function(){var t,e,r=Rt,n=1/0;for(;r;)r._call?(n>r._time&&(n=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:Rt=e);Pt=t,te(n)}(),Wt=0}}function Jt(){var t=Ut.now(),e=t-qt;e>1e3&&(Ht-=e,qt=t)}function te(t){zt||(jt&&(jt=clearTimeout(jt)),t-Wt>24?(t<1/0&&(jt=setTimeout(Qt,t-Ut.now()-Ht)),Kt&&(Kt=clearInterval(Kt))):(Kt||(qt=Ut.now(),Kt=setInterval(Jt,1e3)),zt=1,Yt(Qt)))}function ee(t,e,r){var n=new Zt;return e=null==e?0:+e,n.restart((r=>{n.stop(),t(r+e)}),e,r),n}Zt.prototype=Xt.prototype={constructor:Zt,restart:function(t,e,r){if("function"!=typeof t)throw new TypeError("callback is not a function");r=(null==r?Gt():+r)+(null==e?0:+e),this._next||Pt===this||(Pt?Pt._next=this:Rt=this,Pt=this),this._call=t,this._time=r,te()},stop:function(){this._call&&(this._call=null,this._time=1/0,te())}};var re=It("start","end","cancel","interrupt"),ne=[];function ie(t,e,r,n,i,a){var o=t.__transition;if(o){if(r in o)return}else t.__transition={};!function(t,e,r){var n,i=t.__transition;function a(t){r.state=1,r.timer.restart(o,r.delay,r.time),r.delay<=t&&o(t-r.delay)}function o(a){var c,h,u,d;if(1!==r.state)return l();for(c in i)if((d=i[c]).name===r.name){if(3===d.state)return ee(o);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[c]):+c<e&&(d.state=6,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[c])}if(ee((function(){3===r.state&&(r.state=4,r.timer.restart(s,r.delay,r.time),s(a))})),r.state=2,r.on.call("start",t,t.__data__,r.index,r.group),2===r.state){for(r.state=3,n=new Array(u=r.tween.length),c=0,h=-1;c<u;++c)(d=r.tween[c].value.call(t,t.__data__,r.index,r.group))&&(n[++h]=d);n.length=h+1}}function s(e){for(var i=e<r.duration?r.ease.call(null,e/r.duration):(r.timer.restart(l),r.state=5,1),a=-1,o=n.length;++a<o;)n[a].call(t,i);5===r.state&&(r.on.call("end",t,t.__data__,r.index,r.group),l())}function l(){for(var n in r.state=6,r.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=r,r.timer=Xt(a,0,r.time)}(t,r,{name:e,index:n,group:i,on:re,tween:ne,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function ae(t,e){var r=se(t,e);if(r.state>0)throw new Error("too late; already scheduled");return r}function oe(t,e){var r=se(t,e);if(r.state>3)throw new Error("too late; already running");return r}function se(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function le(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var ce,he=180/Math.PI,ue={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function de(t,e,r,n,i,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*r+e*n)&&(r-=t*l,n-=e*l),(s=Math.sqrt(r*r+n*n))&&(r/=s,n/=s,l/=s),t*n<e*r&&(t=-t,e=-e,l=-l,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*he,skewX:Math.atan(l)*he,scaleX:o,scaleY:s}}function pe(t,e,r,n){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var s=[],l=[];return a=t(a),o=t(o),function(t,n,i,a,o,s){if(t!==i||n!==a){var l=o.push("translate(",null,e,null,r);s.push({i:l-4,x:le(t,i)},{i:l-2,x:le(n,a)})}else(i||a)&&o.push("translate("+i+e+a+r)}(a.translateX,a.translateY,o.translateX,o.translateY,s,l),function(t,e,r,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:r.push(i(r)+"rotate(",null,n)-2,x:le(t,e)})):e&&r.push(i(r)+"rotate("+e+n)}(a.rotate,o.rotate,s,l),function(t,e,r,a){t!==e?a.push({i:r.push(i(r)+"skewX(",null,n)-2,x:le(t,e)}):e&&r.push(i(r)+"skewX("+e+n)}(a.skewX,o.skewX,s,l),function(t,e,r,n,a,o){if(t!==r||e!==n){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:le(t,r)},{i:s-2,x:le(e,n)})}else 1===r&&1===n||a.push(i(a)+"scale("+r+","+n+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(t){for(var e,r=-1,n=l.length;++r<n;)s[(e=l[r]).i]=e.x(t);return s.join("")}}}var fe=pe((function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?ue:de(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),ge=pe((function(t){return null==t?ue:(ce||(ce=document.createElementNS("http://www.w3.org/2000/svg","g")),ce.setAttribute("transform",t),(t=ce.transform.baseVal.consolidate())?de((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):ue)}),", ",")",")");function ye(t,e){var r,n;return function(){var i=oe(this,t),a=i.tween;if(a!==r)for(var o=0,s=(n=r=a).length;o<s;++o)if(n[o].name===e){(n=n.slice()).splice(o,1);break}i.tween=n}}function me(t,e,r){var n,i;if("function"!=typeof r)throw new Error;return function(){var a=oe(this,t),o=a.tween;if(o!==n){i=(n=o).slice();for(var s={name:e,value:r},l=0,c=i.length;l<c;++l)if(i[l].name===e){i[l]=s;break}l===c&&i.push(s)}a.tween=i}}function xe(t,e,r){var n=t._id;return t.each((function(){var t=oe(this,n);(t.value||(t.value={}))[e]=r.apply(this,arguments)})),function(t){return se(t,n).value[e]}}function be(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function ke(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function Ce(){}var we=.7,_e=1/we,ve="\\s*([+-]?\\d+)\\s*",Se="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Te="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ae=/^#([0-9a-f]{3,8})$/,Me=new RegExp(`^rgb\\(${ve},${ve},${ve}\\)$`),Be=new RegExp(`^rgb\\(${Te},${Te},${Te}\\)$`),Le=new RegExp(`^rgba\\(${ve},${ve},${ve},${Se}\\)$`),Fe=new RegExp(`^rgba\\(${Te},${Te},${Te},${Se}\\)$`),$e=new RegExp(`^hsl\\(${Se},${Te},${Te}\\)$`),Ee=new RegExp(`^hsla\\(${Se},${Te},${Te},${Se}\\)$`),De={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 Oe(){return this.rgb().formatHex()}function Ne(){return this.rgb().formatRgb()}function Ie(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=Ae.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?Re(e):3===r?new Ke(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?Pe(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?Pe(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=Me.exec(t))?new Ke(e[1],e[2],e[3],1):(e=Be.exec(t))?new Ke(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Le.exec(t))?Pe(e[1],e[2],e[3],e[4]):(e=Fe.exec(t))?Pe(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=$e.exec(t))?Ge(e[1],e[2]/100,e[3]/100,1):(e=Ee.exec(t))?Ge(e[1],e[2]/100,e[3]/100,e[4]):De.hasOwnProperty(t)?Re(De[t]):"transparent"===t?new Ke(NaN,NaN,NaN,0):null}function Re(t){return new Ke(t>>16&255,t>>8&255,255&t,1)}function Pe(t,e,r,n){return n<=0&&(t=e=r=NaN),new Ke(t,e,r,n)}function ze(t){return t instanceof Ce||(t=Ie(t)),t?new Ke((t=t.rgb()).r,t.g,t.b,t.opacity):new Ke}function je(t,e,r,n){return 1===arguments.length?ze(t):new Ke(t,e,r,null==n?1:n)}function Ke(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function qe(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}`}function We(){const t=He(this.opacity);return`${1===t?"rgb(":"rgba("}${Ue(this.r)}, ${Ue(this.g)}, ${Ue(this.b)}${1===t?")":`, ${t})`}`}function He(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ue(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ye(t){return((t=Ue(t))<16?"0":"")+t.toString(16)}function Ge(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Ze(t,e,r,n)}function Ve(t){if(t instanceof Ze)return new Ze(t.h,t.s,t.l,t.opacity);if(t instanceof Ce||(t=Ie(t)),!t)return new Ze;if(t instanceof Ze)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),a=Math.max(e,r,n),o=NaN,s=a-i,l=(a+i)/2;return s?(o=e===a?(r-n)/s+6*(r<n):r===a?(n-e)/s+2:(e-r)/s+4,s/=l<.5?a+i:2-a-i,o*=60):s=l>0&&l<1?0:o,new Ze(o,s,l,t.opacity)}function Ze(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function Xe(t){return(t=(t||0)%360)<0?t+360:t}function Qe(t){return Math.max(0,Math.min(1,t||0))}function Je(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}function tr(t,e,r,n,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*r+(1+3*t+3*a-3*o)*n+o*i)/6}be(Ce,Ie,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Oe,formatHex:Oe,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ve(this).formatHsl()},formatRgb:Ne,toString:Ne}),be(Ke,je,ke(Ce,{brighter(t){return t=null==t?_e:Math.pow(_e,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?we:Math.pow(we,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ke(Ue(this.r),Ue(this.g),Ue(this.b),He(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:qe,formatHex:qe,formatHex8:function(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}${Ye(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:We,toString:We})),be(Ze,(function(t,e,r,n){return 1===arguments.length?Ve(t):new Ze(t,e,r,null==n?1:n)}),ke(Ce,{brighter(t){return t=null==t?_e:Math.pow(_e,t),new Ze(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?we:Math.pow(we,t),new Ze(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,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new Ke(Je(t>=240?t-240:t+120,i,n),Je(t,i,n),Je(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new Ze(Xe(this.h),Qe(this.s),Qe(this.l),He(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=He(this.opacity);return`${1===t?"hsl(":"hsla("}${Xe(this.h)}, ${100*Qe(this.s)}%, ${100*Qe(this.l)}%${1===t?")":`, ${t})`}`}}));const er=t=>()=>t;function rr(t,e){return function(r){return t+r*e}}function nr(t){return 1==(t=+t)?ir:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):er(isNaN(e)?r:e)}}function ir(t,e){var r=e-t;return r?rr(t,r):er(isNaN(t)?e:t)}const ar=function t(e){var r=nr(e);function n(t,e){var n=r((t=je(t)).r,(e=je(e)).r),i=r(t.g,e.g),a=r(t.b,e.b),o=ir(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return n.gamma=t,n}(1);function or(t){return function(e){var r,n,i=e.length,a=new Array(i),o=new Array(i),s=new Array(i);for(r=0;r<i;++r)n=je(e[r]),a[r]=n.r||0,o[r]=n.g||0,s[r]=n.b||0;return a=t(a),o=t(o),s=t(s),n.opacity=1,function(t){return n.r=a(t),n.g=o(t),n.b=s(t),n+""}}}or((function(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),i=t[n],a=t[n+1],o=n>0?t[n-1]:2*i-a,s=n<e-1?t[n+2]:2*a-i;return tr((r-n/e)*e,o,i,a,s)}})),or((function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),i=t[(n+e-1)%e],a=t[n%e],o=t[(n+1)%e],s=t[(n+2)%e];return tr((r-n/e)*e,i,a,o,s)}}));var sr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,lr=new RegExp(sr.source,"g");function cr(t,e){var r,n,i,a=sr.lastIndex=lr.lastIndex=0,o=-1,s=[],l=[];for(t+="",e+="";(r=sr.exec(t))&&(n=lr.exec(e));)(i=n.index)>a&&(i=e.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(r=r[0])===(n=n[0])?s[o]?s[o]+=n:s[++o]=n:(s[++o]=null,l.push({i:o,x:le(r,n)})),a=lr.lastIndex;return a<e.length&&(i=e.slice(a),s[o]?s[o]+=i:s[++o]=i),s.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var r,n=0;n<e;++n)s[(r=l[n]).i]=r.x(t);return s.join("")})}function hr(t,e){var r;return("number"==typeof e?le:e instanceof Ie?ar:(r=Ie(e))?(e=r,ar):cr)(t,e)}function ur(t){return function(){this.removeAttribute(t)}}function dr(t){return function(){this.removeAttributeNS(t.space,t.local)}}function pr(t,e,r){var n,i,a=r+"";return function(){var o=this.getAttribute(t);return o===a?null:o===n?i:i=e(n=o,r)}}function fr(t,e,r){var n,i,a=r+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===n?i:i=e(n=o,r)}}function gr(t,e,r){var n,i,a;return function(){var o,s,l=r(this);if(null!=l)return(o=this.getAttribute(t))===(s=l+"")?null:o===n&&s===i?a:(i=s,a=e(n=o,l));this.removeAttribute(t)}}function yr(t,e,r){var n,i,a;return function(){var o,s,l=r(this);if(null!=l)return(o=this.getAttributeNS(t.space,t.local))===(s=l+"")?null:o===n&&s===i?a:(i=s,a=e(n=o,l));this.removeAttributeNS(t.space,t.local)}}function mr(t,e){var r,n;function i(){var i=e.apply(this,arguments);return i!==n&&(r=(n=i)&&function(t,e){return function(r){this.setAttributeNS(t.space,t.local,e.call(this,r))}}(t,i)),r}return i._value=e,i}function xr(t,e){var r,n;function i(){var i=e.apply(this,arguments);return i!==n&&(r=(n=i)&&function(t,e){return function(r){this.setAttribute(t,e.call(this,r))}}(t,i)),r}return i._value=e,i}function br(t,e){return function(){ae(this,t).delay=+e.apply(this,arguments)}}function kr(t,e){return e=+e,function(){ae(this,t).delay=e}}function Cr(t,e){return function(){oe(this,t).duration=+e.apply(this,arguments)}}function wr(t,e){return e=+e,function(){oe(this,t).duration=e}}var _r=Ft.prototype.constructor;function vr(t){return function(){this.style.removeProperty(t)}}var Sr=0;function Tr(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}function Ar(){return++Sr}var Mr=Ft.prototype;Tr.prototype=function(t){return Ft().transition(t)}.prototype={constructor:Tr,select:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=k(t));for(var n=this._groups,i=n.length,a=new Array(i),o=0;o<i;++o)for(var s,l,c=n[o],h=c.length,u=a[o]=new Array(h),d=0;d<h;++d)(s=c[d])&&(l=t.call(s,s.__data__,d,c))&&("__data__"in s&&(l.__data__=s.__data__),u[d]=l,ie(u[d],e,r,d,u,se(s,r)));return new Tr(a,this._parents,e,r)},selectAll:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=w(t));for(var n=this._groups,i=n.length,a=[],o=[],s=0;s<i;++s)for(var l,c=n[s],h=c.length,u=0;u<h;++u)if(l=c[u]){for(var d,p=t.call(l,l.__data__,u,c),f=se(l,r),g=0,y=p.length;g<y;++g)(d=p[g])&&ie(d,e,r,g,p,f);a.push(p),o.push(l)}return new Tr(a,o,e,r)},selectChild:Mr.selectChild,selectChildren:Mr.selectChildren,filter:function(t){"function"!=typeof t&&(t=v(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var a,o=e[i],s=o.length,l=n[i]=[],c=0;c<s;++c)(a=o[c])&&t.call(a,a.__data__,c,o)&&l.push(a);return new Tr(n,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,r=t._groups,n=e.length,i=r.length,a=Math.min(n,i),o=new Array(n),s=0;s<a;++s)for(var l,c=e[s],h=r[s],u=c.length,d=o[s]=new Array(u),p=0;p<u;++p)(l=c[p]||h[p])&&(d[p]=l);for(;s<n;++s)o[s]=e[s];return new Tr(o,this._parents,this._name,this._id)},selection:function(){return new _r(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,r=Ar(),n=this._groups,i=n.length,a=0;a<i;++a)for(var o,s=n[a],l=s.length,c=0;c<l;++c)if(o=s[c]){var h=se(o,e);ie(o,t,r,c,s,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new Tr(n,this._parents,t,r)},call:Mr.call,nodes:Mr.nodes,node:Mr.node,size:Mr.size,empty:Mr.empty,each:Mr.each,on:function(t,e){var r=this._id;return arguments.length<2?se(this.node(),r).on.on(t):this.each(function(t,e,r){var n,i,a=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?ae:oe;return function(){var o=a(this,t),s=o.on;s!==n&&(i=(n=s).copy()).on(e,r),o.on=i}}(r,t,e))},attr:function(t,e){var r=P(t),n="transform"===r?ge:hr;return this.attrTween(t,"function"==typeof e?(r.local?yr:gr)(r,n,xe(this,"attr."+t,e)):null==e?(r.local?dr:ur)(r):(r.local?fr:pr)(r,n,e))},attrTween:function(t,e){var r="attr."+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;var n=P(t);return this.tween(r,(n.local?mr:xr)(n,e))},style:function(t,e,r){var n="transform"==(t+="")?fe:hr;return null==e?this.styleTween(t,function(t,e){var r,n,i;return function(){var a=Z(this,t),o=(this.style.removeProperty(t),Z(this,t));return a===o?null:a===r&&o===n?i:i=e(r=a,n=o)}}(t,n)).on("end.style."+t,vr(t)):"function"==typeof e?this.styleTween(t,function(t,e,r){var n,i,a;return function(){var o=Z(this,t),s=r(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=Z(this,t)),o===l?null:o===n&&l===i?a:(i=l,a=e(n=o,s))}}(t,n,xe(this,"style."+t,e))).each(function(t,e){var r,n,i,a,o="style."+e,s="end."+o;return function(){var l=oe(this,t),c=l.on,h=null==l.value[o]?a||(a=vr(e)):void 0;c===r&&i===h||(n=(r=c).copy()).on(s,i=h),l.on=n}}(this._id,t)):this.styleTween(t,function(t,e,r){var n,i,a=r+"";return function(){var o=Z(this,t);return o===a?null:o===n?i:i=e(n=o,r)}}(t,n,e),r).on("end.style."+t,null)},styleTween:function(t,e,r){var n="style."+(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;return this.tween(n,function(t,e,r){var n,i;function a(){var a=e.apply(this,arguments);return a!==i&&(n=(i=a)&&function(t,e,r){return function(n){this.style.setProperty(t,e.call(this,n),r)}}(t,a,r)),n}return a._value=e,a}(t,e,null==r?"":r))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(xe(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(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,function(t){var e,r;function n(){var n=t.apply(this,arguments);return n!==r&&(e=(r=n)&&function(t){return function(e){this.textContent=t.call(this,e)}}(n)),e}return n._value=t,n}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var n,i=se(this.node(),r).tween,a=0,o=i.length;a<o;++a)if((n=i[a]).name===t)return n.value;return null}return this.each((null==e?ye:me)(r,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?br:kr)(e,t)):se(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Cr:wr)(e,t)):se(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){oe(this,t).ease=e}}(e,t)):se(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var r=e.apply(this,arguments);if("function"!=typeof r)throw new Error;oe(this,t).ease=r}}(this._id,t))},end:function(){var t,e,r=this,n=r._id,i=r.size();return new Promise((function(a,o){var s={value:o},l={value:function(){0==--i&&a()}};r.each((function(){var r=oe(this,n),i=r.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(l)),r.on=e})),0===i&&a()}))},[Symbol.iterator]:Mr[Symbol.iterator]};var Br={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Lr(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return r}Ft.prototype.interrupt=function(t){return this.each((function(){!function(t,e){var r,n,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(r=a[i]).name===e?(n=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(n?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)}))},Ft.prototype.transition=function(t){var e,r;t instanceof Tr?(e=t._id,t=t._name):(e=Ar(),(r=Br).time=Gt(),t=null==t?null:t+"");for(var n=this._groups,i=n.length,a=0;a<i;++a)for(var o,s=n[a],l=s.length,c=0;c<l;++c)(o=s[c])&&ie(o,t,e,c,s,r||Lr(o,e));return new Tr(n,this._parents,t,e)};const{abs:Fr,max:$r,min:Er}=Math;function Dr(t){return[+t[0],+t[1]]}function Or(t){return[Dr(t[0]),Dr(t[1])]}["w","e"].map(Nr),["n","s"].map(Nr),["n","w","e","s","nw","ne","sw","se"].map(Nr);function Nr(t){return{type:t}}const Ir=Math.PI/180,Rr=180/Math.PI,Pr=.96422,zr=.82521,jr=4/29,Kr=6/29,qr=3*Kr*Kr,Wr=Kr*Kr*Kr;function Hr(t){if(t instanceof Ur)return new Ur(t.l,t.a,t.b,t.opacity);if(t instanceof Jr)return tn(t);t instanceof Ke||(t=ze(t));var e,r,n=Zr(t.r),i=Zr(t.g),a=Zr(t.b),o=Yr((.2225045*n+.7168786*i+.0606169*a)/1);return n===i&&i===a?e=r=o:(e=Yr((.4360747*n+.3850649*i+.1430804*a)/Pr),r=Yr((.0139322*n+.0971045*i+.7141733*a)/zr)),new Ur(116*o-16,500*(e-o),200*(o-r),t.opacity)}function Ur(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function Yr(t){return t>Wr?Math.pow(t,1/3):t/qr+jr}function Gr(t){return t>Kr?t*t*t:qr*(t-jr)}function Vr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Zr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Xr(t){if(t instanceof Jr)return new Jr(t.h,t.c,t.l,t.opacity);if(t instanceof Ur||(t=Hr(t)),0===t.a&&0===t.b)return new Jr(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Rr;return new Jr(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Qr(t,e,r,n){return 1===arguments.length?Xr(t):new Jr(t,e,r,null==n?1:n)}function Jr(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function tn(t){if(isNaN(t.h))return new Ur(t.l,0,0,t.opacity);var e=t.h*Ir;return new Ur(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}function en(t){return function(e,r){var n=t((e=Qr(e)).h,(r=Qr(r)).h),i=ir(e.c,r.c),a=ir(e.l,r.l),o=ir(e.opacity,r.opacity);return function(t){return e.h=n(t),e.c=i(t),e.l=a(t),e.opacity=o(t),e+""}}}be(Ur,(function(t,e,r,n){return 1===arguments.length?Hr(t):new Ur(t,e,r,null==n?1:n)}),ke(Ce,{brighter(t){return new Ur(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new Ur(this.l-18*(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,r=isNaN(this.b)?t:t-this.b/200;return new Ke(Vr(3.1338561*(e=Pr*Gr(e))-1.6168667*(t=1*Gr(t))-.4906146*(r=zr*Gr(r))),Vr(-.9787684*e+1.9161415*t+.033454*r),Vr(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),be(Jr,Qr,ke(Ce,{brighter(t){return new Jr(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new Jr(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return tn(this).rgb()}}));const rn=en((function(t,e){var r=e-t;return r?rr(t,r>180||r<-180?r-360*Math.round(r/360):r):er(isNaN(t)?e:t)}));en(ir);function nn(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}class an extends Map{constructor(t,e=cn){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[r,n]of t)this.set(r,n)}get(t){return super.get(on(this,t))}has(t){return super.has(on(this,t))}set(t,e){return super.set(sn(this,t),e)}delete(t){return super.delete(ln(this,t))}}Set;function on({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function sn({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}function ln({_intern:t,_key:e},r){const n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}function cn(t){return null!==t&&"object"==typeof t?t.valueOf():t}const hn=Symbol("implicit");function un(){var t=new an,e=[],r=[],n=hn;function i(i){let a=t.get(i);if(void 0===a){if(n!==hn)return n;t.set(i,a=e.push(i)-1)}return r[a%r.length]}return i.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new an;for(const n of r)t.has(n)||t.set(n,e.push(n)-1);return i},i.range=function(t){return arguments.length?(r=Array.from(t),i):r.slice()},i.unknown=function(t){return arguments.length?(n=t,i):n},i.copy=function(){return un(e,r).unknown(n)},nn.apply(i,arguments),i}function dn(){var t,e,r=un().unknown(void 0),n=r.domain,i=r.range,a=0,o=1,s=!1,l=0,c=0,h=.5;function u(){var r=n().length,u=o<a,d=u?o:a,p=u?a:o;t=(p-d)/Math.max(1,r-l+2*c),s&&(t=Math.floor(t)),d+=(p-d-t*(r-l))*h,e=t*(1-l),s&&(d=Math.round(d),e=Math.round(e));var f=function(t,e,r){t=+t,e=+e,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),a=new Array(i);++n<i;)a[n]=t+n*r;return a}(r).map((function(e){return d+t*e}));return i(u?f.reverse():f)}return delete r.unknown,r.domain=function(t){return arguments.length?(n(t),u()):n()},r.range=function(t){return arguments.length?([a,o]=t,a=+a,o=+o,u()):[a,o]},r.rangeRound=function(t){return[a,o]=t,a=+a,o=+o,s=!0,u()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(s=!!t,u()):s},r.padding=function(t){return arguments.length?(l=Math.min(1,c=+t),u()):l},r.paddingInner=function(t){return arguments.length?(l=Math.min(1,t),u()):l},r.paddingOuter=function(t){return arguments.length?(c=+t,u()):c},r.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),u()):h},r.copy=function(){return dn(n(),[a,o]).round(s).paddingInner(l).paddingOuter(c).align(h)},nn.apply(u(),arguments)}const pn=Math.sqrt(50),fn=Math.sqrt(10),gn=Math.sqrt(2);function yn(t,e,r){const n=(e-t)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=pn?10:a>=fn?5:a>=gn?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/o,s=Math.round(t*c),l=Math.round(e*c),s/c<t&&++s,l/c>e&&--l,c=-c):(c=Math.pow(10,i)*o,s=Math.round(t/c),l=Math.round(e/c),s*c<t&&++s,l*c>e&&--l),l<s&&.5<=r&&r<2?yn(t,e,2*r):[s,l,c]}function mn(t,e,r){return yn(t=+t,e=+e,r=+r)[2]}function xn(t,e,r){r=+r;const n=(e=+e)<(t=+t),i=n?mn(e,t,r):mn(t,e,r);return(n?-1:1)*(i<0?1/-i:i)}function bn(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function kn(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Cn(t){let e,r,n;function i(t,n,i=0,a=t.length){if(i<a){if(0!==e(n,n))return a;do{const e=i+a>>>1;r(t[e],n)<0?i=e+1:a=e}while(i<a)}return i}return 2!==t.length?(e=bn,r=(e,r)=>bn(t(e),r),n=(e,r)=>t(e)-r):(e=t===bn||t===kn?t:wn,r=t,n=t),{left:i,center:function(t,e,r=0,a=t.length){const o=i(t,e,r,a-1);return o>r&&n(t[o-1],e)>-n(t[o],e)?o-1:o},right:function(t,n,i=0,a=t.length){if(i<a){if(0!==e(n,n))return a;do{const e=i+a>>>1;r(t[e],n)<=0?i=e+1:a=e}while(i<a)}return i}}}function wn(){return 0}const _n=Cn(bn),vn=_n.right,Sn=(_n.left,Cn((function(t){return null===t?NaN:+t})).center,vn);function Tn(t,e){var r,n=e?e.length:0,i=t?Math.min(n,t.length):0,a=new Array(i),o=new Array(n);for(r=0;r<i;++r)a[r]=Ln(t[r],e[r]);for(;r<n;++r)o[r]=e[r];return function(t){for(r=0;r<i;++r)o[r]=a[r](t);return o}}function An(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function Mn(t,e){var r,n={},i={};for(r in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)r in t?n[r]=Ln(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}function Bn(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,i=e.slice();return function(a){for(r=0;r<n;++r)i[r]=t[r]*(1-a)+e[r]*a;return i}}function Ln(t,e){var r,n,i=typeof e;return null==e||"boolean"===i?er(e):("number"===i?le:"string"===i?(r=Ie(e))?(e=r,ar):cr:e instanceof Ie?ar:e instanceof Date?An:(n=e,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(e)?Tn:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Mn:le:Bn))(t,e)}function Fn(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function $n(t){return+t}var En=[0,1];function Dn(t){return t}function On(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r});var r}function Nn(t,e,r){var n=t[0],i=t[1],a=e[0],o=e[1];return i<n?(n=On(i,n),a=r(o,a)):(n=On(n,i),a=r(a,o)),function(t){return a(n(t))}}function In(t,e,r){var n=Math.min(t.length,e.length)-1,i=new Array(n),a=new Array(n),o=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<n;)i[o]=On(t[o],t[o+1]),a[o]=r(e[o],e[o+1]);return function(e){var r=Sn(t,e,1,n)-1;return a[r](i[r](e))}}function Rn(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Pn(){var t,e,r,n,i,a,o=En,s=En,l=Ln,c=Dn;function h(){var t,e,r,l=Math.min(o.length,s.length);return c!==Dn&&(t=o[0],e=o[l-1],t>e&&(r=t,t=e,e=r),c=function(r){return Math.max(t,Math.min(e,r))}),n=l>2?In:Nn,i=a=null,u}function u(e){return null==e||isNaN(e=+e)?r:(i||(i=n(o.map(t),s,l)))(t(c(e)))}return u.invert=function(r){return c(e((a||(a=n(s,o.map(t),le)))(r)))},u.domain=function(t){return arguments.length?(o=Array.from(t,$n),h()):o.slice()},u.range=function(t){return arguments.length?(s=Array.from(t),h()):s.slice()},u.rangeRound=function(t){return s=Array.from(t),l=Fn,h()},u.clamp=function(t){return arguments.length?(c=!!t||Dn,h()):c!==Dn},u.interpolate=function(t){return arguments.length?(l=t,h()):l},u.unknown=function(t){return arguments.length?(r=t,u):r},function(r,n){return t=r,e=n,h()}}function zn(){return Pn()(Dn,Dn)}var jn,Kn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function qn(t){if(!(e=Kn.exec(t)))throw new Error("invalid format: "+t);var e;return new Wn({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 Wn(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 Hn(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function Un(t){return(t=Hn(Math.abs(t)))?t[1]:NaN}function Yn(t,e){var r=Hn(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}qn.prototype=Wn.prototype,Wn.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 Gn={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},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)=>Yn(100*t,e),r:Yn,s:function(t,e){var r=Hn(t,e);if(!r)return t+"";var n=r[0],i=r[1],a=i-(jn=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+Hn(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Vn(t){return t}var Zn,Xn,Qn,Jn=Array.prototype.map,ti=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function ei(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?Vn:(e=Jn.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var i=t.length,a=[],o=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),a.push(t.substring(i-=s,i+s)),!((l+=s+1)>n));)s=e[o=(o+1)%e.length];return a.reverse().join(r)}),i=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Vn:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Jn.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function u(t){var e=(t=qn(t)).fill,r=t.align,u=t.sign,d=t.symbol,p=t.zero,f=t.width,g=t.comma,y=t.precision,m=t.trim,x=t.type;"n"===x?(g=!0,x="g"):Gn[x]||(void 0===y&&(y=12),m=!0,x="g"),(p||"0"===e&&"="===r)&&(p=!0,e="0",r="=");var b="$"===d?i:"#"===d&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",k="$"===d?a:/[%p]/.test(x)?l:"",C=Gn[x],w=/[defgprs%]/.test(x);function _(t){var i,a,l,d=b,_=k;if("c"===x)_=C(t)+_,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:C(Math.abs(t),y),m&&(t=function(t){t:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),v&&0==+t&&"+"!==u&&(v=!1),d=(v?"("===u?u:c:"-"===u||"("===u?"":u)+d,_=("s"===x?ti[8+jn/3]:"")+_+(v&&"("===u?")":""),w)for(i=-1,a=t.length;++i<a;)if(48>(l=t.charCodeAt(i))||l>57){_=(46===l?o+t.slice(i+1):t.slice(i))+_,t=t.slice(0,i);break}}g&&!p&&(t=n(t,1/0));var S=d.length+t.length+_.length,T=S<f?new Array(f-S+1).join(e):"";switch(g&&p&&(t=n(T+t,T.length?f-_.length:1/0),T=""),r){case"<":t=d+t+_+T;break;case"=":t=d+T+t+_;break;case"^":t=T.slice(0,S=T.length>>1)+d+t+_+T.slice(S);break;default:t=T+d+t+_}return s(t)}return y=void 0===y?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),_.toString=function(){return t+""},_}return{format:u,formatPrefix:function(t,e){var r=u(((t=qn(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(Un(e)/3))),i=Math.pow(10,-n),a=ti[8+n/3];return function(t){return r(i*t)+a}}}}function ri(t,e,r,n){var i,a=xn(t,e,r);switch((n=qn(null==n?",f":n)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Un(e)/3)))-Un(Math.abs(t)))}(a,o))||(n.precision=i),Qn(n,o);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Un(e)-Un(t))+1}(a,Math.max(Math.abs(t),Math.abs(e))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(t){return Math.max(0,-Un(Math.abs(t)))}(a))||(n.precision=i-2*("%"===n.type))}return Xn(n)}function ni(t){var e=t.domain;return t.ticks=function(t){var r=e();return function(t,e,r){if(!((r=+r)>0))return[];if((t=+t)==(e=+e))return[t];const n=e<t,[i,a,o]=n?yn(e,t,r):yn(t,e,r);if(!(a>=i))return[];const s=a-i+1,l=new Array(s);if(n)if(o<0)for(let c=0;c<s;++c)l[c]=(a-c)/-o;else for(let c=0;c<s;++c)l[c]=(a-c)*o;else if(o<0)for(let c=0;c<s;++c)l[c]=(i+c)/-o;else for(let c=0;c<s;++c)l[c]=(i+c)*o;return l}(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return ri(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,i,a=e(),o=0,s=a.length-1,l=a[o],c=a[s],h=10;for(c<l&&(i=l,l=c,c=i,i=o,o=s,s=i);h-- >0;){if((i=mn(l,c,r))===n)return a[o]=l,a[s]=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}n=i}return t},t}function ii(){var t=zn();return t.copy=function(){return Rn(t,ii())},nn.apply(t,arguments),ni(t)}Zn=ei({thousands:",",grouping:[3],currency:["$",""]}),Xn=Zn.format,Qn=Zn.formatPrefix;const ai=1e3,oi=6e4,si=36e5,li=864e5,ci=6048e5,hi=2592e6,ui=31536e6,di=new Date,pi=new Date;function fi(t,e,r,n){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),i.round=t=>{const e=i(t),r=i.ceil(t);return t-e<r-t?e:r},i.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),i.range=(r,n,a)=>{const o=[];if(r=i.ceil(r),a=null==a?1:Math.floor(a),!(r<n&&a>0))return o;let s;do{o.push(s=new Date(+r)),e(r,a),t(r)}while(s<r&&r<n);return o},i.filter=r=>fi((e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)}),((t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})),r&&(i.count=(e,n)=>(di.setTime(+e),pi.setTime(+n),t(di),t(pi),Math.floor(r(di,pi))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(n?e=>n(e)%t==0:e=>i.count(0,e)%t==0):i:null)),i}const gi=fi((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));gi.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?fi((e=>{e.setTime(Math.floor(e/t)*t)}),((e,r)=>{e.setTime(+e+r*t)}),((e,r)=>(r-e)/t)):gi:null);gi.range;const yi=fi((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*ai)}),((t,e)=>(e-t)/ai),(t=>t.getUTCSeconds())),mi=(yi.range,fi((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*ai)}),((t,e)=>{t.setTime(+t+e*oi)}),((t,e)=>(e-t)/oi),(t=>t.getMinutes()))),xi=(mi.range,fi((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*oi)}),((t,e)=>(e-t)/oi),(t=>t.getUTCMinutes()))),bi=(xi.range,fi((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*ai-t.getMinutes()*oi)}),((t,e)=>{t.setTime(+t+e*si)}),((t,e)=>(e-t)/si),(t=>t.getHours()))),ki=(bi.range,fi((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*si)}),((t,e)=>(e-t)/si),(t=>t.getUTCHours()))),Ci=(ki.range,fi((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*oi)/li),(t=>t.getDate()-1))),wi=(Ci.range,fi((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/li),(t=>t.getUTCDate()-1))),_i=(wi.range,fi((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/li),(t=>Math.floor(t/li))));_i.range;function vi(t){return fi((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*oi)/ci))}const Si=vi(0),Ti=vi(1),Ai=vi(2),Mi=vi(3),Bi=vi(4),Li=vi(5),Fi=vi(6);Si.range,Ti.range,Ai.range,Mi.range,Bi.range,Li.range,Fi.range;function $i(t){return fi((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/ci))}const Ei=$i(0),Di=$i(1),Oi=$i(2),Ni=$i(3),Ii=$i(4),Ri=$i(5),Pi=$i(6),zi=(Ei.range,Di.range,Oi.range,Ni.range,Ii.range,Ri.range,Pi.range,fi((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),ji=(zi.range,fi((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),Ki=(ji.range,fi((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear())));Ki.every=t=>isFinite(t=Math.floor(t))&&t>0?fi((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,r)=>{e.setFullYear(e.getFullYear()+r*t)})):null;Ki.range;const qi=fi((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));qi.every=t=>isFinite(t=Math.floor(t))&&t>0?fi((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)})):null;qi.range;function Wi(t,e,r,n,i,a){const o=[[yi,1,ai],[yi,5,5e3],[yi,15,15e3],[yi,30,3e4],[a,1,oi],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,si],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,li],[n,2,1728e5],[r,1,ci],[e,1,hi],[e,3,7776e6],[t,1,ui]];function s(e,r,n){const i=Math.abs(r-e)/n,a=Cn((([,,t])=>t)).right(o,i);if(a===o.length)return t.every(xn(e/ui,r/ui,n));if(0===a)return gi.every(Math.max(xn(e,r,n),1));const[s,l]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(l)}return[function(t,e,r){const n=e<t;n&&([t,e]=[e,t]);const i=r&&"function"==typeof r.range?r:s(t,e,r),a=i?i.range(t,+e+1):[];return n?a.reverse():a},s]}const[Hi,Ui]=Wi(qi,ji,Ei,_i,ki,xi),[Yi,Gi]=Wi(Ki,zi,Si,Ci,bi,mi);function Vi(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 Zi(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 Xi(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var Qi,Ji,ta={"-":"",_:" ",0:"0"},ea=/^\s*\d+/,ra=/^%/,na=/[\\^$*+?|[\]().{}]/g;function ia(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(e)+i:i)}function aa(t){return t.replace(na,"\\$&")}function oa(t){return new RegExp("^(?:"+t.map(aa).join("|")+")","i")}function sa(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function la(t,e,r){var n=ea.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function ca(t,e,r){var n=ea.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function ha(t,e,r){var n=ea.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function ua(t,e,r){var n=ea.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function da(t,e,r){var n=ea.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function pa(t,e,r){var n=ea.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function fa(t,e,r){var n=ea.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function ga(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function ya(t,e,r){var n=ea.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function ma(t,e,r){var n=ea.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function xa(t,e,r){var n=ea.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function ba(t,e,r){var n=ea.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function ka(t,e,r){var n=ea.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function Ca(t,e,r){var n=ea.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function wa(t,e,r){var n=ea.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function _a(t,e,r){var n=ea.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function va(t,e,r){var n=ea.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Sa(t,e,r){var n=ra.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function Ta(t,e,r){var n=ea.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function Aa(t,e,r){var n=ea.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function Ma(t,e){return ia(t.getDate(),e,2)}function Ba(t,e){return ia(t.getHours(),e,2)}function La(t,e){return ia(t.getHours()%12||12,e,2)}function Fa(t,e){return ia(1+Ci.count(Ki(t),t),e,3)}function $a(t,e){return ia(t.getMilliseconds(),e,3)}function Ea(t,e){return $a(t,e)+"000"}function Da(t,e){return ia(t.getMonth()+1,e,2)}function Oa(t,e){return ia(t.getMinutes(),e,2)}function Na(t,e){return ia(t.getSeconds(),e,2)}function Ia(t){var e=t.getDay();return 0===e?7:e}function Ra(t,e){return ia(Si.count(Ki(t)-1,t),e,2)}function Pa(t){var e=t.getDay();return e>=4||0===e?Bi(t):Bi.ceil(t)}function za(t,e){return t=Pa(t),ia(Bi.count(Ki(t),t)+(4===Ki(t).getDay()),e,2)}function ja(t){return t.getDay()}function Ka(t,e){return ia(Ti.count(Ki(t)-1,t),e,2)}function qa(t,e){return ia(t.getFullYear()%100,e,2)}function Wa(t,e){return ia((t=Pa(t)).getFullYear()%100,e,2)}function Ha(t,e){return ia(t.getFullYear()%1e4,e,4)}function Ua(t,e){var r=t.getDay();return ia((t=r>=4||0===r?Bi(t):Bi.ceil(t)).getFullYear()%1e4,e,4)}function Ya(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ia(e/60|0,"0",2)+ia(e%60,"0",2)}function Ga(t,e){return ia(t.getUTCDate(),e,2)}function Va(t,e){return ia(t.getUTCHours(),e,2)}function Za(t,e){return ia(t.getUTCHours()%12||12,e,2)}function Xa(t,e){return ia(1+wi.count(qi(t),t),e,3)}function Qa(t,e){return ia(t.getUTCMilliseconds(),e,3)}function Ja(t,e){return Qa(t,e)+"000"}function to(t,e){return ia(t.getUTCMonth()+1,e,2)}function eo(t,e){return ia(t.getUTCMinutes(),e,2)}function ro(t,e){return ia(t.getUTCSeconds(),e,2)}function no(t){var e=t.getUTCDay();return 0===e?7:e}function io(t,e){return ia(Ei.count(qi(t)-1,t),e,2)}function ao(t){var e=t.getUTCDay();return e>=4||0===e?Ii(t):Ii.ceil(t)}function oo(t,e){return t=ao(t),ia(Ii.count(qi(t),t)+(4===qi(t).getUTCDay()),e,2)}function so(t){return t.getUTCDay()}function lo(t,e){return ia(Di.count(qi(t)-1,t),e,2)}function co(t,e){return ia(t.getUTCFullYear()%100,e,2)}function ho(t,e){return ia((t=ao(t)).getUTCFullYear()%100,e,2)}function uo(t,e){return ia(t.getUTCFullYear()%1e4,e,4)}function po(t,e){var r=t.getUTCDay();return ia((t=r>=4||0===r?Ii(t):Ii.ceil(t)).getUTCFullYear()%1e4,e,4)}function fo(){return"+0000"}function go(){return"%"}function yo(t){return+t}function mo(t){return Math.floor(+t/1e3)}function xo(t){return new Date(t)}function bo(t){return t instanceof Date?+t:+new Date(+t)}function ko(t,e,r,n,i,a,o,s,l,c){var h=zn(),u=h.invert,d=h.domain,p=c(".%L"),f=c(":%S"),g=c("%I:%M"),y=c("%I %p"),m=c("%a %d"),x=c("%b %d"),b=c("%B"),k=c("%Y");function C(t){return(l(t)<t?p:s(t)<t?f:o(t)<t?g:a(t)<t?y:n(t)<t?i(t)<t?m:x:r(t)<t?b:k)(t)}return h.invert=function(t){return new Date(u(t))},h.domain=function(t){return arguments.length?d(Array.from(t,bo)):d().map(xo)},h.ticks=function(e){var r=d();return t(r[0],r[r.length-1],null==e?10:e)},h.tickFormat=function(t,e){return null==e?C:c(e)},h.nice=function(t){var r=d();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?d(function(t,e){var r,n=0,i=(t=t.slice()).length-1,a=t[n],o=t[i];return o<a&&(r=n,n=i,i=r,r=a,a=o,o=r),t[n]=e.floor(a),t[i]=e.ceil(o),t}(r,t)):h},h.copy=function(){return Rn(h,ko(t,e,r,n,i,a,o,s,l,c))},h}function Co(){return nn.apply(ko(Yi,Gi,Ki,zi,Si,Ci,bi,mi,yi,Ji).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}!function(t){Qi=function(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,a=t.days,o=t.shortDays,s=t.months,l=t.shortMonths,c=oa(i),h=sa(i),u=oa(a),d=sa(a),p=oa(o),f=sa(o),g=oa(s),y=sa(s),m=oa(l),x=sa(l),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Ma,e:Ma,f:Ea,g:Wa,G:Ua,H:Ba,I:La,j:Fa,L:$a,m:Da,M:Oa,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:yo,s:mo,S:Na,u:Ia,U:Ra,V:za,w:ja,W:Ka,x:null,X:null,y:qa,Y:Ha,Z:Ya,"%":go},k={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Ga,e:Ga,f:Ja,g:ho,G:po,H:Va,I:Za,j:Xa,L:Qa,m:to,M:eo,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:yo,s:mo,S:ro,u:no,U:io,V:oo,w:so,W:lo,x:null,X:null,y:co,Y:uo,Z:fo,"%":go},C={a:function(t,e,r){var n=p.exec(e.slice(r));return n?(t.w=f.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=u.exec(e.slice(r));return n?(t.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=x.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=g.exec(e.slice(r));return n?(t.m=y.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return v(t,e,r,n)},d:xa,e:xa,f:va,g:fa,G:pa,H:ka,I:ka,j:ba,L:_a,m:ma,M:Ca,p:function(t,e,r){var n=c.exec(e.slice(r));return n?(t.p=h.get(n[0].toLowerCase()),r+n[0].length):-1},q:ya,Q:Ta,s:Aa,S:wa,u:ca,U:ha,V:ua,w:la,W:da,x:function(t,e,n){return v(t,r,e,n)},X:function(t,e,r){return v(t,n,e,r)},y:fa,Y:pa,Z:ga,"%":Sa};function w(t,e){return function(r){var n,i,a,o=[],s=-1,l=0,c=t.length;for(r instanceof Date||(r=new Date(+r));++s<c;)37===t.charCodeAt(s)&&(o.push(t.slice(l,s)),null!=(i=ta[n=t.charAt(++s)])?n=t.charAt(++s):i="e"===n?" ":"0",(a=e[n])&&(n=a(r,i)),o.push(n),l=s+1);return o.push(t.slice(l,s)),o.join("")}}function _(t,e){return function(r){var n,i,a=Xi(1900,void 0,1);if(v(a,t,r+="",0)!=r.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=(n=Zi(Xi(a.y,0,1))).getUTCDay(),n=i>4||0===i?Di.ceil(n):Di(n),n=wi.offset(n,7*(a.V-1)),a.y=n.getUTCFullYear(),a.m=n.getUTCMonth(),a.d=n.getUTCDate()+(a.w+6)%7):(i=(n=Vi(Xi(a.y,0,1))).getDay(),n=i>4||0===i?Ti.ceil(n):Ti(n),n=Ci.offset(n,7*(a.V-1)),a.y=n.getFullYear(),a.m=n.getMonth(),a.d=n.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?Zi(Xi(a.y,0,1)).getUTCDay():Vi(Xi(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,Zi(a)):Vi(a)}}function v(t,e,r,n){for(var i,a,o=0,s=e.length,l=r.length;o<s;){if(n>=l)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=C[i in ta?e.charAt(o++):i])||(n=a(t,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return b.x=w(r,b),b.X=w(n,b),b.c=w(e,b),k.x=w(r,k),k.X=w(n,k),k.c=w(e,k),{format:function(t){var e=w(t+="",b);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=w(t+="",k);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t+="",!0);return e.toString=function(){return t},e}}}(t),Ji=Qi.format,Qi.parse,Qi.utcFormat,Qi.utcParse}({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 wo=function(t){for(var e=t.length/6|0,r=new Array(e),n=0;n<e;)r[n]="#"+t.slice(6*n,6*++n);return r}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function _o(t){return"string"==typeof t?new Bt([[document.querySelector(t)]],[document.documentElement]):new Bt([[t]],Mt)}function vo(t){return function(){return t}}const So=Math.abs,To=Math.atan2,Ao=Math.cos,Mo=Math.max,Bo=Math.min,Lo=Math.sin,Fo=Math.sqrt,$o=1e-12,Eo=Math.PI,Do=Eo/2,Oo=2*Eo;function No(t){return t>=1?Do:t<=-1?-Do:Math.asin(t)}const Io=Math.PI,Ro=2*Io,Po=1e-6,zo=Ro-Po;function jo(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class Ko{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?jo:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return jo;const r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,i,a){this._append`C${+t},${+e},${+r},${+n},${this._x1=+i},${this._y1=+a}`}arcTo(t,e,r,n,i){if(t=+t,e=+e,r=+r,n=+n,(i=+i)<0)throw new Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=r-t,l=n-e,c=a-t,h=o-e,u=c*c+h*h;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(u>Po)if(Math.abs(h*s-l*c)>Po&&i){let d=r-a,p=n-o,f=s*s+l*l,g=d*d+p*p,y=Math.sqrt(f),m=Math.sqrt(u),x=i*Math.tan((Io-Math.acos((f+u-g)/(2*y*m)))/2),b=x/m,k=x/y;Math.abs(b-1)>Po&&this._append`L${t+b*c},${e+b*h}`,this._append`A${i},${i},0,0,${+(h*d>c*p)},${this._x1=t+k*s},${this._y1=e+k*l}`}else this._append`L${this._x1=t},${this._y1=e}`;else;}arc(t,e,r,n,i,a){if(t=+t,e=+e,a=!!a,(r=+r)<0)throw new Error(`negative radius: ${r}`);let o=r*Math.cos(n),s=r*Math.sin(n),l=t+o,c=e+s,h=1^a,u=a?n-i:i-n;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Po||Math.abs(this._y1-c)>Po)&&this._append`L${l},${c}`,r&&(u<0&&(u=u%Ro+Ro),u>zo?this._append`A${r},${r},0,1,${h},${t-o},${e-s}A${r},${r},0,1,${h},${this._x1=l},${this._y1=c}`:u>Po&&this._append`A${r},${r},0,${+(u>=Io)},${h},${this._x1=t+r*Math.cos(i)},${this._y1=e+r*Math.sin(i)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function qo(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{const t=Math.floor(r);if(!(t>=0))throw new RangeError(`invalid digits: ${r}`);e=t}return t},()=>new Ko(e)}function Wo(t){return t.innerRadius}function Ho(t){return t.outerRadius}function Uo(t){return t.startAngle}function Yo(t){return t.endAngle}function Go(t){return t&&t.padAngle}function Vo(t,e,r,n,i,a,o){var s=t-r,l=e-n,c=(o?a:-a)/Fo(s*s+l*l),h=c*l,u=-c*s,d=t+h,p=e+u,f=r+h,g=n+u,y=(d+f)/2,m=(p+g)/2,x=f-d,b=g-p,k=x*x+b*b,C=i-a,w=d*g-f*p,_=(b<0?-1:1)*Fo(Mo(0,C*C*k-w*w)),v=(w*b-x*_)/k,S=(-w*x-b*_)/k,T=(w*b+x*_)/k,A=(-w*x+b*_)/k,M=v-y,B=S-m,L=T-y,F=A-m;return M*M+B*B>L*L+F*F&&(v=T,S=A),{cx:v,cy:S,x01:-h,y01:-u,x11:v*(i/C-1),y11:S*(i/C-1)}}function Zo(){var t=Wo,e=Ho,r=vo(0),n=null,i=Uo,a=Yo,o=Go,s=null,l=qo(c);function c(){var c,h,u,d=+t.apply(this,arguments),p=+e.apply(this,arguments),f=i.apply(this,arguments)-Do,g=a.apply(this,arguments)-Do,y=So(g-f),m=g>f;if(s||(s=c=l()),p<d&&(h=p,p=d,d=h),p>$o)if(y>Oo-$o)s.moveTo(p*Ao(f),p*Lo(f)),s.arc(0,0,p,f,g,!m),d>$o&&(s.moveTo(d*Ao(g),d*Lo(g)),s.arc(0,0,d,g,f,m));else{var x,b,k=f,C=g,w=f,_=g,v=y,S=y,T=o.apply(this,arguments)/2,A=T>$o&&(n?+n.apply(this,arguments):Fo(d*d+p*p)),M=Bo(So(p-d)/2,+r.apply(this,arguments)),B=M,L=M;if(A>$o){var F=No(A/d*Lo(T)),$=No(A/p*Lo(T));(v-=2*F)>$o?(w+=F*=m?1:-1,_-=F):(v=0,w=_=(f+g)/2),(S-=2*$)>$o?(k+=$*=m?1:-1,C-=$):(S=0,k=C=(f+g)/2)}var E=p*Ao(k),D=p*Lo(k),O=d*Ao(_),N=d*Lo(_);if(M>$o){var I,R=p*Ao(C),P=p*Lo(C),z=d*Ao(w),j=d*Lo(w);if(y<Eo)if(I=function(t,e,r,n,i,a,o,s){var l=r-t,c=n-e,h=o-i,u=s-a,d=u*l-h*c;if(!(d*d<$o))return[t+(d=(h*(e-a)-u*(t-i))/d)*l,e+d*c]}(E,D,z,j,R,P,O,N)){var K=E-I[0],q=D-I[1],W=R-I[0],H=P-I[1],U=1/Lo(((u=(K*W+q*H)/(Fo(K*K+q*q)*Fo(W*W+H*H)))>1?0:u<-1?Eo:Math.acos(u))/2),Y=Fo(I[0]*I[0]+I[1]*I[1]);B=Bo(M,(d-Y)/(U-1)),L=Bo(M,(p-Y)/(U+1))}else B=L=0}S>$o?L>$o?(x=Vo(z,j,E,D,p,L,m),b=Vo(R,P,O,N,p,L,m),s.moveTo(x.cx+x.x01,x.cy+x.y01),L<M?s.arc(x.cx,x.cy,L,To(x.y01,x.x01),To(b.y01,b.x01),!m):(s.arc(x.cx,x.cy,L,To(x.y01,x.x01),To(x.y11,x.x11),!m),s.arc(0,0,p,To(x.cy+x.y11,x.cx+x.x11),To(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,L,To(b.y11,b.x11),To(b.y01,b.x01),!m))):(s.moveTo(E,D),s.arc(0,0,p,k,C,!m)):s.moveTo(E,D),d>$o&&v>$o?B>$o?(x=Vo(O,N,R,P,d,-B,m),b=Vo(E,D,z,j,d,-B,m),s.lineTo(x.cx+x.x01,x.cy+x.y01),B<M?s.arc(x.cx,x.cy,B,To(x.y01,x.x01),To(b.y01,b.x01),!m):(s.arc(x.cx,x.cy,B,To(x.y01,x.x01),To(x.y11,x.x11),!m),s.arc(0,0,d,To(x.cy+x.y11,x.cx+x.x11),To(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,B,To(b.y11,b.x11),To(b.y01,b.x01),!m))):s.arc(0,0,d,_,w,m):s.lineTo(O,N)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,n=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-Eo/2;return[Ao(n)*r,Lo(n)*r]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:vo(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:vo(+t),c):e},c.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:vo(+t),c):r},c.padRadius=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:vo(+t),c):n},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:vo(+t),c):i},c.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:vo(+t),c):a},c.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:vo(+t),c):o},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}Ko.prototype;Array.prototype.slice;function Xo(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Qo(t){this._context=t}function Jo(t){return new Qo(t)}function ts(t){return t[0]}function es(t){return t[1]}function rs(t,e){var r=vo(!0),n=null,i=Jo,a=null,o=qo(s);function s(s){var l,c,h,u=(s=Xo(s)).length,d=!1;for(null==n&&(a=i(h=o())),l=0;l<=u;++l)!(l<u&&r(c=s[l],l,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+t(c,l,s),+e(c,l,s));if(h)return a=null,h+""||null}return t="function"==typeof t?t:void 0===t?ts:vo(t),e="function"==typeof e?e:void 0===e?es:vo(e),s.x=function(e){return arguments.length?(t="function"==typeof e?e:vo(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:vo(+t),s):e},s.defined=function(t){return arguments.length?(r="function"==typeof t?t:vo(!!t),s):r},s.curve=function(t){return arguments.length?(i=t,null!=n&&(a=i(n)),s):i},s.context=function(t){return arguments.length?(null==t?n=a=null:a=i(n=t),s):n},s}function ns(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function is(t){return t}function as(){var t=is,e=ns,r=null,n=vo(0),i=vo(Oo),a=vo(0);function o(o){var s,l,c,h,u,d=(o=Xo(o)).length,p=0,f=new Array(d),g=new Array(d),y=+n.apply(this,arguments),m=Math.min(Oo,Math.max(-Oo,i.apply(this,arguments)-y)),x=Math.min(Math.abs(m)/d,a.apply(this,arguments)),b=x*(m<0?-1:1);for(s=0;s<d;++s)(u=g[f[s]=s]=+t(o[s],s,o))>0&&(p+=u);for(null!=e?f.sort((function(t,r){return e(g[t],g[r])})):null!=r&&f.sort((function(t,e){return r(o[t],o[e])})),s=0,c=p?(m-d*b)/p:0;s<d;++s,y=h)l=f[s],h=y+((u=g[l])>0?u*c:0)+b,g[l]={data:o[l],index:s,value:u,startAngle:y,endAngle:h,padAngle:x};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:vo(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,r=null,o):e},o.sort=function(t){return arguments.length?(r=t,e=null,o):r},o.startAngle=function(t){return arguments.length?(n="function"==typeof t?t:vo(+t),o):n},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:vo(+t),o):i},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:vo(+t),o):a},o}function os(){}function ss(t,e,r){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+r)/6)}function ls(t){this._context=t}function cs(t){return new ls(t)}function hs(t){this._context=t}function us(t){return new hs(t)}function ds(t){this._context=t}function ps(t){return new ds(t)}Qo.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)}}},ls.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:ss(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:ss(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},hs.prototype={areaStart:os,areaEnd:os,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:ss(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ds.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 r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:ss(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class fs{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 gs(t){return new fs(t,!0)}function ys(t){return new fs(t,!1)}function ms(t,e){this._basis=new ls(t),this._beta=e}ms.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var n,i=t[0],a=e[0],o=t[r]-i,s=e[r]-a,l=-1;++l<=r;)n=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(i+n*o),this._beta*e[l]+(1-this._beta)*(a+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const xs=function t(e){function r(t){return 1===e?new ls(t):new ms(t,e)}return r.beta=function(e){return t(+e)},r}(.85);function bs(t,e,r){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-r),t._x2,t._y2)}function ks(t,e){this._context=t,this._k=(1-e)/6}ks.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:bs(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:bs(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 Cs=function t(e){function r(t){return new ks(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ws(t,e){this._context=t,this._k=(1-e)/6}ws.prototype={areaStart:os,areaEnd:os,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:bs(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 _s=function t(e){function r(t){return new ws(t,e)}return r.tension=function(e){return t(+e)},r}(0);function vs(t,e){this._context=t,this._k=(1-e)/6}vs.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:bs(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 Ss=function t(e){function r(t){return new vs(t,e)}return r.tension=function(e){return t(+e)},r}(0);function Ts(t,e,r){var n=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>$o){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>$o){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,h=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*c+t._x1*t._l23_2a-e*t._l12_2a)/h,o=(o*c+t._y1*t._l23_2a-r*t._l12_2a)/h}t._context.bezierCurveTo(n,i,a,o,t._x2,t._y2)}function As(t,e){this._context=t,this._alpha=e}As.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 r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,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:Ts(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 Ms=function t(e){function r(t){return e?new As(t,e):new ks(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function Bs(t,e){this._context=t,this._alpha=e}Bs.prototype={areaStart:os,areaEnd:os,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 r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,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:Ts(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 Ls=function t(e){function r(t){return e?new Bs(t,e):new ws(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function Fs(t,e){this._context=t,this._alpha=e}Fs.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 r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,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:Ts(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 $s=function t(e){function r(t){return e?new Fs(t,e):new vs(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function Es(t){this._context=t}function Ds(t){return new Es(t)}function Os(t){return t<0?-1:1}function Ns(t,e,r){var n=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(n||i<0&&-0),o=(r-t._y1)/(i||n<0&&-0),s=(a*i+o*n)/(n+i);return(Os(a)+Os(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Is(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function Rs(t,e,r){var n=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-n)/3;t._context.bezierCurveTo(n+s,i+s*e,a-s,o-s*r,a,o)}function Ps(t){this._context=t}function zs(t){this._context=new js(t)}function js(t){this._context=t}function Ks(t){return new Ps(t)}function qs(t){return new zs(t)}function Ws(t){this._context=t}function Hs(t){var e,r,n=t.length-1,i=new Array(n),a=new Array(n),o=new Array(n);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/a[e-1],a[e]-=r,o[e]-=r*o[e-1];for(i[n-1]=o[n-1]/a[n-1],e=n-2;e>=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function Us(t){return new Ws(t)}function Ys(t,e){this._context=t,this._t=e}function Gs(t){return new Ys(t,.5)}function Vs(t){return new Ys(t,0)}function Zs(t){return new Ys(t,1)}function Xs(t,e,r){this.k=t,this.x=e,this.y=r}Es.prototype={areaStart:os,areaEnd:os,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))}},Ps.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:Rs(this,this._t0,Is(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=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,Rs(this,Is(this,r=Ns(this,t,e)),r);break;default:Rs(this,this._t0,r=Ns(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(zs.prototype=Object.create(Ps.prototype)).point=function(t,e){Ps.prototype.point.call(this,e,t)},js.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,r,n,i,a){this._context.bezierCurveTo(e,t,n,r,a,i)}},Ws.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,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=Hs(t),i=Hs(e),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],t[o],e[o]);(this._line||0!==this._line&&1===r)&&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)}},Ys.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 r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},Xs.prototype={constructor:Xs,scale:function(t){return 1===t?this:new Xs(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Xs(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 Xs(1,0,0);Xs.prototype},93539:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(72453),i=r(63122);const a=class{constructor(){this.type=i.Z.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=i.Z.ALL}is(t){return this.type===t}};const o=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new a}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=i.Z.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:r,l:i}=t;void 0===e&&(t.h=n.A.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=n.A.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=n.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:r,b:i}=t;void 0===e&&(t.r=n.A.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=n.A.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=n.A.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},74886:(t,e,r)=>{"use strict";r.d(e,{A:()=>g});var n=r(93539),i=r(63122);const a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(a.re);if(!e)return;const r=e[1],i=parseInt(r,16),o=r.length,s=o%4==0,l=o>4,c=l?1:17,h=l?8:4,u=s?0:-1,d=l?255:15;return n.A.set({r:(i>>h*(u+3)&d)*c,g:(i>>h*(u+2)&d)*c,b:(i>>h*(u+1)&d)*c,a:s?(i&d)*c/255:1},t)},stringify:t=>{const{r:e,g:r,b:n,a:a}=t;return a<1?`#${i.Y[Math.round(e)]}${i.Y[Math.round(r)]}${i.Y[Math.round(n)]}${i.Y[Math.round(255*a)]}`:`#${i.Y[Math.round(e)]}${i.Y[Math.round(r)]}${i.Y[Math.round(n)]}`}},o=a;var s=r(72453);const l={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(l.hueRe);if(e){const[,t,r]=e;switch(r){case"grad":return s.A.channel.clamp.h(.9*parseFloat(t));case"rad":return s.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return s.A.channel.clamp.h(360*parseFloat(t))}}return s.A.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const r=t.match(l.re);if(!r)return;const[,i,a,o,c,h]=r;return n.A.set({h:l._hue2deg(i),s:s.A.channel.clamp.s(parseFloat(a)),l:s.A.channel.clamp.l(parseFloat(o)),a:c?s.A.channel.clamp.a(h?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{const{h:e,s:r,l:n,a:i}=t;return i<1?`hsla(${s.A.lang.round(e)}, ${s.A.lang.round(r)}%, ${s.A.lang.round(n)}%, ${i})`:`hsl(${s.A.lang.round(e)}, ${s.A.lang.round(r)}%, ${s.A.lang.round(n)}%)`}},c=l,h={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=h.colors[t];if(e)return o.parse(e)},stringify:t=>{const e=o.stringify(t);for(const r in h.colors)if(h.colors[r]===e)return r}},u=h,d={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 r=t.match(d.re);if(!r)return;const[,i,a,o,l,c,h,u,p]=r;return n.A.set({r:s.A.channel.clamp.r(a?2.55*parseFloat(i):parseFloat(i)),g:s.A.channel.clamp.g(l?2.55*parseFloat(o):parseFloat(o)),b:s.A.channel.clamp.b(h?2.55*parseFloat(c):parseFloat(c)),a:u?s.A.channel.clamp.a(p?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:r,b:n,a:i}=t;return i<1?`rgba(${s.A.lang.round(e)}, ${s.A.lang.round(r)}, ${s.A.lang.round(n)}, ${s.A.lang.round(i)})`:`rgb(${s.A.lang.round(e)}, ${s.A.lang.round(r)}, ${s.A.lang.round(n)})`}},p=d,f={format:{keyword:h,hex:o,rgb:d,rgba:d,hsl:l,hsla:l},parse:t=>{if("string"!=typeof t)return t;const e=o.parse(t)||p.parse(t)||c.parse(t)||u.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(i.Z.HSL)||void 0===t.data.r?c.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?p.stringify(t):o.stringify(t)},g=f},63122:(t,e,r)=>{"use strict";r.d(e,{Y:()=>i,Z:()=>a});var n=r(72453);const i={};for(let o=0;o<=255;o++)i[o]=n.A.unit.dec2hex(o);const a={ALL:0,RGB:1,HSL:2}},95635:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(72453),i=r(74886);const a=(t,e,r)=>{const a=i.A.parse(t),o=a[e],s=n.A.channel.clamp[e](o+r);return o!==s&&(a[e]=s),i.A.stringify(a)}},8232:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(72453),i=r(74886);const a=(t,e)=>{const r=i.A.parse(t);for(const i in e)r[i]=n.A.channel.clamp[i](e[i]);return i.A.stringify(r)}},75263:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(95635);const i=(t,e)=>(0,n.A)(t,"l",-e)},3219:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(72453),i=r(74886);const a=t=>{const{r:e,g:r,b:a}=i.A.parse(t),o=.2126*n.A.channel.toLinear(e)+.7152*n.A.channel.toLinear(r)+.0722*n.A.channel.toLinear(a);return n.A.lang.round(o)},o=t=>a(t)>=.5,s=t=>!o(t)},78041:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(95635);const i=(t,e)=>(0,n.A)(t,"l",e)},25582:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(72453),i=r(93539),a=r(74886),o=r(8232);const s=(t,e,r=0,s=1)=>{if("number"!=typeof t)return(0,o.A)(t,{a:e});const l=i.A.set({r:n.A.channel.clamp.r(t),g:n.A.channel.clamp.g(e),b:n.A.channel.clamp.b(r),a:n.A.channel.clamp.a(s)});return a.A.stringify(l)}},72453:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});const n={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,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t),hsl2rgb:({h:t,s:e,l:r},i)=>{if(!e)return 2.55*r;t/=360,e/=100;const a=(r/=100)<.5?r*(1+e):r+e-r*e,o=2*r-a;switch(i){case"r":return 255*n.hue2rgb(o,a,t+1/3);case"g":return 255*n.hue2rgb(o,a,t);case"b":return 255*n.hue2rgb(o,a,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},n)=>{t/=255,e/=255,r/=255;const i=Math.max(t,e,r),a=Math.min(t,e,r),o=(i+a)/2;if("l"===n)return 100*o;if(i===a)return 0;const s=i-a;if("s"===n)return 100*(o>.5?s/(2-i-a):s/(i+a));switch(i){case t:return 60*((e-r)/s+(e<r?6:0));case e:return 60*((r-t)/s+2);case r:return 60*((t-e)/s+4);default:return-1}}},i={channel:n,lang:{clamp:(t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,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}`}}}},80127:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});const n=function(){this.__data__=[],this.size=0};var i=r(66984);const a=function(t,e){for(var r=t.length;r--;)if((0,i.A)(t[r][0],e))return r;return-1};var o=Array.prototype.splice;const s=function(t){var e=this.__data__,r=a(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)};const l=function(t){var e=this.__data__,r=a(e,t);return r<0?void 0:e[r][1]};const c=function(t){return a(this.__data__,t)>-1};const h=function(t,e){var r=this.__data__,n=a(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=s,u.prototype.get=l,u.prototype.has=c,u.prototype.set=h;const d=u},68335:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(18744),i=r(41917);const a=(0,n.A)(i.A,"Map")},29471:(t,e,r)=>{"use strict";r.d(e,{A:()=>_});const n=(0,r(18744).A)(Object,"create");const i=function(){this.__data__=n?n(null):{},this.size=0};const a=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var o=Object.prototype.hasOwnProperty;const s=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0};var l=Object.prototype.hasOwnProperty;const c=function(t){var e=this.__data__;return n?void 0!==e[t]:l.call(e,t)};const h=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this};function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=i,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=c,u.prototype.set=h;const d=u;var p=r(80127),f=r(68335);const g=function(){this.size=0,this.__data__={hash:new d,map:new(f.A||p.A),string:new d}};const y=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const m=function(t,e){var r=t.__data__;return y(e)?r["string"==typeof e?"string":"hash"]:r.map};const x=function(t){var e=m(this,t).delete(t);return this.size-=e?1:0,e};const b=function(t){return m(this,t).get(t)};const k=function(t){return m(this,t).has(t)};const C=function(t,e){var r=m(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function w(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}w.prototype.clear=g,w.prototype.delete=x,w.prototype.get=b,w.prototype.has=k,w.prototype.set=C;const _=w},39857:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(18744),i=r(41917);const a=(0,n.A)(i.A,"Set")},11754:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=r(80127);const i=function(){this.__data__=new n.A,this.size=0};const a=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const o=function(t){return this.__data__.get(t)};const s=function(t){return this.__data__.has(t)};var l=r(68335),c=r(29471);const h=function(t,e){var r=this.__data__;if(r instanceof n.A){var i=r.__data__;if(!l.A||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new c.A(i)}return r.set(t,e),this.size=r.size,this};function u(t){var e=this.__data__=new n.A(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=a,u.prototype.get=o,u.prototype.has=s,u.prototype.set=h;const d=u},241:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=r(41917).A.Symbol},43988:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=r(41917).A.Uint8Array},83607:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});const n=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n};var i=r(52274),a=r(92049),o=r(99912),s=r(25353),l=r(33858),c=Object.prototype.hasOwnProperty;const h=function(t,e){var r=(0,a.A)(t),h=!r&&(0,i.A)(t),u=!r&&!h&&(0,o.A)(t),d=!r&&!h&&!u&&(0,l.A)(t),p=r||h||u||d,f=p?n(t.length,String):[],g=f.length;for(var y in t)!e&&!c.call(t,y)||p&&("length"==y||u&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||(0,s.A)(y,g))||f.push(y);return f}},52851:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(52528),i=r(66984),a=Object.prototype.hasOwnProperty;const o=function(t,e,r){var o=t[e];a.call(t,e)&&(0,i.A)(o,r)&&(void 0!==r||e in t)||(0,n.A)(t,e,r)}},52528:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(84171);const i=function(t,e,r){"__proto__"==e&&n.A?(0,n.A)(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},4574:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t){return function(e,r,n){for(var i=-1,a=Object(e),o=n(e),s=o.length;s--;){var l=o[t?s:++i];if(!1===r(a[l],l,a))break}return e}}()},88496:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=r(241),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=n.A?n.A.toStringTag:void 0;const l=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(l){}var i=o.call(t);return n&&(e?t[s]=r:delete t[s]),i};var c=Object.prototype.toString;const h=function(t){return c.call(t)};var u=n.A?n.A.toStringTag:void 0;const d=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?l(t):h(t)}},69471:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(97271);const i=(0,r(40367).A)(Object.keys,Object);var a=Object.prototype.hasOwnProperty;const o=function(t){if(!(0,n.A)(t))return i(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},24326:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(29008),i=r(76875),a=r(67525);const o=function(t,e){return(0,a.A)((0,i.A)(t,e,n.A),t+"")}},52789:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t){return function(e){return t(e)}}},90565:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(43988);const i=function(t){var e=new t.constructor(t.byteLength);return new n.A(e).set(new n.A(t)),e}},80154:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(41917),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===i?n.A.Buffer:void 0,s=o?o.allocUnsafe:void 0;const l=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}},1801:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(90565);const i=function(t,e){var r=e?(0,n.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},39759:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},22031:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(52851),i=r(52528);const a=function(t,e,r,a){var o=!r;r||(r={});for(var s=-1,l=e.length;++s<l;){var c=e[s],h=a?a(r[c],t[c],c,r,t):void 0;void 0===h&&(h=t[c]),o?(0,i.A)(r,c,h):(0,n.A)(r,c,h)}return r}},3767:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(24326),i=r(6832);const a=function(t){return(0,n.A)((function(e,r){var n=-1,a=r.length,o=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,s&&(0,i.A)(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),e=Object(e);++n<a;){var l=r[n];l&&t(e,l,n,o)}return e}))}},84171:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(18744);const i=function(){try{var t=(0,n.A)(Object,"defineProperty");return t({},"",{}),t}catch(e){}}()},72136:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n="object"==typeof global&&global&&global.Object===Object&&global},18744:(t,e,r)=>{"use strict";r.d(e,{A:()=>x});var n=r(89610);const i=r(41917).A["__core-js_shared__"];var a,o=(a=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";const s=function(t){return!!o&&o in t};var l=r(23149),c=r(81121),h=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,p=u.toString,f=d.hasOwnProperty,g=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const y=function(t){return!(!(0,l.A)(t)||s(t))&&((0,n.A)(t)?g:h).test((0,c.A)(t))};const m=function(t,e){return null==t?void 0:t[e]};const x=function(t,e){var r=m(t,e);return y(r)?r:void 0}},15647:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(40367).A)(Object.getPrototypeOf,Object)},9779:(t,e,r)=>{"use strict";r.d(e,{A:()=>_});var n=r(18744),i=r(41917);const a=(0,n.A)(i.A,"DataView");var o=r(68335);const s=(0,n.A)(i.A,"Promise");var l=r(39857);const c=(0,n.A)(i.A,"WeakMap");var h=r(88496),u=r(81121),d="[object Map]",p="[object Promise]",f="[object Set]",g="[object WeakMap]",y="[object DataView]",m=(0,u.A)(a),x=(0,u.A)(o.A),b=(0,u.A)(s),k=(0,u.A)(l.A),C=(0,u.A)(c),w=h.A;(a&&w(new a(new ArrayBuffer(1)))!=y||o.A&&w(new o.A)!=d||s&&w(s.resolve())!=p||l.A&&w(new l.A)!=f||c&&w(new c)!=g)&&(w=function(t){var e=(0,h.A)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,u.A)(r):"";if(n)switch(n){case m:return y;case x:return d;case b:return p;case k:return f;case C:return g}return e});const _=w},18598:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(23149),i=Object.create;const a=function(){function t(){}return function(e){if(!(0,n.A)(e))return{};if(i)return i(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();var o=r(15647),s=r(97271);const l=function(t){return"function"!=typeof t.constructor||(0,s.A)(t)?{}:a((0,o.A)(t))}},25353:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=/^(?:0|[1-9]\d*)$/;const i=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},6832:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(66984),i=r(38446),a=r(25353),o=r(23149);const s=function(t,e,r){if(!(0,o.A)(r))return!1;var s=typeof e;return!!("number"==s?(0,i.A)(r)&&(0,a.A)(e,r.length):"string"==s&&e in r)&&(0,n.A)(r[e],t)}},97271:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=Object.prototype;const i=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},64841:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(72136),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===i&&n.A.process;const s=function(){try{var t=a&&a.require&&a.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(e){}}()},40367:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t,e){return function(r){return t(e(r))}}},76875:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});const n=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var i=Math.max;const a=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var a=arguments,o=-1,s=i(a.length-e,0),l=Array(s);++o<s;)l[o]=a[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=a[o];return c[e]=r(l),n(t,this,c)}}},41917:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(72136),i="object"==typeof self&&self&&self.Object===Object&&self;const a=n.A||i||Function("return this")()},67525:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(39142),i=r(84171),a=r(29008);const o=i.A?function(t,e){return(0,i.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,n.A)(e),writable:!0})}:a.A;var s=Date.now;const l=function(t){var e=0,r=0;return function(){var n=s(),i=16-(n-r);if(r=n,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(o)},81121:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=Function.prototype.toString;const i=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},39142:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t){return function(){return t}}},66984:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t,e){return t===e||t!=t&&e!=e}},29008:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t){return t}},52274:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(88496),i=r(53098);const a=function(t){return(0,i.A)(t)&&"[object Arguments]"==(0,n.A)(t)};var o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable;const c=a(function(){return arguments}())?a:function(t){return(0,i.A)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},92049:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=Array.isArray},38446:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(89610),i=r(5254);const a=function(t){return null!=t&&(0,i.A)(t.length)&&!(0,n.A)(t)}},53533:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(38446),i=r(53098);const a=function(t){return(0,i.A)(t)&&(0,n.A)(t)}},99912:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(41917);const i=function(){return!1};var a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===a?n.A.Buffer:void 0;const l=(s?s.isBuffer:void 0)||i},66401:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=r(69471),i=r(9779),a=r(52274),o=r(92049),s=r(38446),l=r(99912),c=r(97271),h=r(33858),u=Object.prototype.hasOwnProperty;const d=function(t){if(null==t)return!0;if((0,s.A)(t)&&((0,o.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,h.A)(t)||(0,a.A)(t)))return!t.length;var e=(0,i.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.A)(t))return!(0,n.A)(t).length;for(var r in t)if(u.call(t,r))return!1;return!0}},89610:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(88496),i=r(23149);const a=function(t){if(!(0,i.A)(t))return!1;var e=(0,n.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},5254:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},23149:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},53098:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(t){return null!=t&&"object"==typeof t}},33858:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(88496),i=r(5254),a=r(53098),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;const s=function(t){return(0,a.A)(t)&&(0,i.A)(t.length)&&!!o[(0,n.A)(t)]};var l=r(52789),c=r(64841),h=c.A&&c.A.isTypedArray;const u=h?(0,l.A)(h):s},55615:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(83607),i=r(23149),a=r(97271);const o=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;const l=function(t){if(!(0,i.A)(t))return o(t);var e=(0,a.A)(t),r=[];for(var n in t)("constructor"!=n||!e&&s.call(t,n))&&r.push(n);return r};var c=r(38446);const h=function(t){return(0,c.A)(t)?(0,n.A)(t,!0):l(t)}},46632:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(29471);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=t.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(i.Cache||n.A),r}i.Cache=n.A;const a=i},42837:(t,e,r)=>{"use strict";r.d(e,{A:()=>D});var n=r(11754),i=r(52528),a=r(66984);const o=function(t,e,r){(void 0!==r&&!(0,a.A)(t[e],r)||void 0===r&&!(e in t))&&(0,i.A)(t,e,r)};var s=r(4574),l=r(80154),c=r(1801),h=r(39759),u=r(18598),d=r(52274),p=r(92049),f=r(53533),g=r(99912),y=r(89610),m=r(23149),x=r(88496),b=r(15647),k=r(53098),C=Function.prototype,w=Object.prototype,_=C.toString,v=w.hasOwnProperty,S=_.call(Object);const T=function(t){if(!(0,k.A)(t)||"[object Object]"!=(0,x.A)(t))return!1;var e=(0,b.A)(t);if(null===e)return!0;var r=v.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&_.call(r)==S};var A=r(33858);const M=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var B=r(22031),L=r(55615);const F=function(t){return(0,B.A)(t,(0,L.A)(t))};const $=function(t,e,r,n,i,a,s){var x=M(t,r),b=M(e,r),k=s.get(b);if(k)o(t,r,k);else{var C=a?a(x,b,r+"",t,e,s):void 0,w=void 0===C;if(w){var _=(0,p.A)(b),v=!_&&(0,g.A)(b),S=!_&&!v&&(0,A.A)(b);C=b,_||v||S?(0,p.A)(x)?C=x:(0,f.A)(x)?C=(0,h.A)(x):v?(w=!1,C=(0,l.A)(b,!0)):S?(w=!1,C=(0,c.A)(b,!0)):C=[]:T(b)||(0,d.A)(b)?(C=x,(0,d.A)(x)?C=F(x):(0,m.A)(x)&&!(0,y.A)(x)||(C=(0,u.A)(b))):w=!1}w&&(s.set(b,C),i(C,b,n,a,s),s.delete(b)),o(t,r,C)}};const E=function t(e,r,i,a,l){e!==r&&(0,s.A)(r,(function(s,c){if(l||(l=new n.A),(0,m.A)(s))$(e,r,c,i,t,a,l);else{var h=a?a(M(e,c),s,c+"",e,r,l):void 0;void 0===h&&(h=s),o(e,c,h)}}),L.A)};const D=(0,r(3767).A)((function(t,e,r){E(t,e,r)}))},34483:(t,e,r)=>{"use strict";r.d(e,{WY:()=>T,pC:()=>v,Gc:()=>C});var n=r(45567);const i=/^[a-z0-9]+(-[a-z0-9]+)*$/,a=(t,e)=>!!t&&!(""!==t.provider&&!t.provider.match(i)||!(e&&""===t.prefix||t.prefix.match(i))||!t.name.match(i)),o=Object.freeze({left:0,top:0,width:16,height:16}),s=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),l=Object.freeze({...o,...s}),c=Object.freeze({...l,body:"",hidden:!1});function h(t,e){const r=function(t,e){const r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);const n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}(t,e);for(const n in c)n in s?n in t&&!(n in r)&&(r[n]=s[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}function u(t,e,r){const n=t.icons,i=t.aliases||Object.create(null);let a={};function o(t){a=h(n[t]||i[t],a)}return o(e),r.forEach(o),h(t,a)}function d(t,e){if(t.icons[e])return u(t,e,[]);const r=function(t,e){const r=t.icons,n=t.aliases||Object.create(null),i=Object.create(null);return(e||Object.keys(r).concat(Object.keys(n))).forEach((function t(e){if(r[e])return i[e]=[];if(!(e in i)){i[e]=null;const r=n[e]&&n[e].parent,a=r&&t(r);a&&(i[e]=[r].concat(a))}return i[e]})),i}(t,[e])[e];return r?u(t,e,r):null}const p=Object.freeze({width:null,height:null}),f=Object.freeze({...p,...s}),g=/(-?[0-9.]*[0-9]+[0-9.]*)/g,y=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function m(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;const n=t.split(g);if(null===n||!n.length)return t;const i=[];let a=n.shift(),o=y.test(a);for(;;){if(o){const t=parseFloat(a);isNaN(t)?i.push(a):i.push(Math.ceil(t*e*r)/r)}else i.push(a);if(a=n.shift(),void 0===a)return i.join("");o=!o}}const x=/\sid="(\S+)"/g,b="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let k=0;var C={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},w=new Map,_=new Map,v=(0,n.K2)((t=>{for(const e of t){if(!e.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(n.Rm.debug("Registering icon pack:",e.name),"loader"in e)_.set(e.name,e.loader);else{if(!("icons"in e))throw n.Rm.error("Invalid icon loader:",e),new Error('Invalid icon loader. Must have either "icons" or "loader" property.');w.set(e.name,e.icons)}}}),"registerIconPacks"),S=(0,n.K2)((async(t,e)=>{const r=((t,e,r,n="")=>{const i=t.split(":");if("@"===t.slice(0,1)){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const t=i.pop(),r=i.pop(),o={provider:i.length>0?i[0]:n,prefix:r,name:t};return e&&!a(o)?null:o}const o=i[0],s=o.split("-");if(s.length>1){const t={provider:n,prefix:s.shift(),name:s.join("-")};return e&&!a(t)?null:t}if(r&&""===n){const t={provider:n,prefix:"",name:o};return e&&!a(t,r)?null:t}return null})(t,!0,void 0!==e);if(!r)throw new Error(`Invalid icon name: ${t}`);const i=r.prefix||e;if(!i)throw new Error(`Icon name must contain a prefix: ${t}`);let o=w.get(i);if(!o){const t=_.get(i);if(!t)throw new Error(`Icon set not found: ${r.prefix}`);try{o={...await t(),prefix:i},w.set(i,o)}catch(l){throw n.Rm.error(l),new Error(`Failed to load icon set: ${r.prefix}`)}}const s=d(o,r.name);if(!s)throw new Error(`Icon not found: ${t}`);return s}),"getRegisteredIconData"),T=(0,n.K2)((async(t,e)=>{let r;try{r=await S(t,e?.fallbackPrefix)}catch(a){n.Rm.error(a),r=C}const i=function(t,e){const r={...l,...t},n={...f,...e},i={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,n].forEach((t=>{const e=[],r=t.hFlip,n=t.vFlip;let o,s=t.rotate;switch(r?n?s+=2:(e.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),e.push("scale(-1 1)"),i.top=i.left=0):n&&(e.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),e.push("scale(1 -1)"),i.top=i.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:o=i.height/2+i.top,e.unshift("rotate(90 "+o.toString()+" "+o.toString()+")");break;case 2:e.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:o=i.width/2+i.left,e.unshift("rotate(-90 "+o.toString()+" "+o.toString()+")")}s%2==1&&(i.left!==i.top&&(o=i.left,i.left=i.top,i.top=o),i.width!==i.height&&(o=i.width,i.width=i.height,i.height=o)),e.length&&(a=function(t,e,r){const n=function(t,e="defs"){let r="";const n=t.indexOf("<"+e);for(;n>=0;){const i=t.indexOf(">",n),a=t.indexOf("</"+e);if(-1===i||-1===a)break;const o=t.indexOf(">",a);if(-1===o)break;r+=t.slice(i+1,a).trim(),t=t.slice(0,n).trim()+t.slice(o+1)}return{defs:r,content:t}}(t);return i=n.defs,a=e+n.content+r,i?"<defs>"+i+"</defs>"+a:a;var i,a}(a,'<g transform="'+e.join(" ")+'">',"</g>"))}));const o=n.width,s=n.height,c=i.width,h=i.height;let u,d;null===o?(d=null===s?"1em":"auto"===s?h:s,u=m(d,c/h)):(u="auto"===o?c:o,d=null===s?m(u,h/c):"auto"===s?h:s);const p={},g=(t,e)=>{(t=>"unset"===t||"undefined"===t||"none"===t)(e)||(p[t]=e.toString())};g("width",u),g("height",d);const y=[i.left,i.top,c,h];return p.viewBox=y.join(" "),{attributes:p,viewBox:y,body:a}}(r,e);return function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in e)r+=" "+n+'="'+e[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+t+"</svg>"}(function(t,e=b){const r=[];let n;for(;n=x.exec(t);)r.push(n[1]);if(!r.length)return t;const i="suffix"+(16777216*Math.random()|Date.now()).toString(16);return r.forEach((r=>{const n="function"==typeof e?e(r):e+(k++).toString(),a=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+n+i+"$3")})),t=t.replace(new RegExp(i,"g"),"")}(i.body),i.attributes)}),"getIconSVG")},61021:(t,e,r)=>{"use strict";r.d(e,{D:()=>a});var n=r(45567),i=r(20007),a=(0,n.K2)((t=>{const{securityLevel:e}=(0,n.D7)();let r=(0,i.Ltv)("body");if("sandbox"===e){const e=(0,i.Ltv)(`#i${t}`),n=e.node()?.contentDocument??document;r=(0,i.Ltv)(n.body)}return r.select(`#${t}`)}),"selectSvgElement")},5081:(t,e,r)=>{"use strict";r.d(e,{DA:()=>k,IU:()=>D,U:()=>E,U7:()=>we,U_:()=>ve,Zk:()=>h,aP:()=>be,gh:()=>_e,lC:()=>d,on:()=>Ce});var n=r(34483),i=r(62392),a=r(86825),o=r(85039),s=r(45567),l=r(20007),c=r(29893),h=(0,s.K2)((async(t,e,r)=>{let n;const i=e.useHtmlLabels||(0,s._3)((0,s.D7)()?.htmlLabels);n=r||"node default";const c=t.insert("g").attr("class",n).attr("id",e.domId||e.id),h=c.insert("g").attr("class","label").attr("style",(0,o.KL)(e.labelStyle));let u;u=void 0===e.label?"":"string"==typeof e.label?e.label:e.label[0];const d=await(0,a.GZ)(h,(0,s.jZ)((0,o.Sm)(u),(0,s.D7)()),{useHtmlLabels:i,width:e.width||(0,s.D7)().flowchart?.wrappingWidth,cssClasses:"markdown-node-label",style:e.labelStyle,addSvgBackground:!!e.icon||!!e.img});let p=d.getBBox();const f=(e?.padding??0)/2;if(i){const t=d.children[0],e=(0,l.Ltv)(d),r=t.getElementsByTagName("img");if(r){const t=""===u.replace(/<img[^>]*>/g,"").trim();await Promise.all([...r].map((e=>new Promise((r=>{function n(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,s.D7)().fontSize?(0,s.D7)().fontSize:window.getComputedStyle(document.body).fontSize,r=5,[n=s.UI.fontSize]=(0,o.I5)(t),i=n*r+"px";e.style.minWidth=i,e.style.maxWidth=i}else e.style.width="100%";r(e)}(0,s.K2)(n,"setupImage"),setTimeout((()=>{e.complete&&n()})),e.addEventListener("error",n),e.addEventListener("load",n)})))))}p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}return i?h.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"):h.attr("transform","translate(0, "+-p.height/2+")"),e.centerLabel&&h.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),h.insert("rect",":first-child"),{shapeSvg:c,bbox:p,halfPadding:f,label:h}}),"labelHelper"),u=(0,s.K2)((async(t,e,r)=>{const n=r.useHtmlLabels||(0,s._3)((0,s.D7)()?.flowchart?.htmlLabels),i=t.insert("g").attr("class","label").attr("style",r.labelStyle||""),c=await(0,a.GZ)(i,(0,s.jZ)((0,o.Sm)(e),(0,s.D7)()),{useHtmlLabels:n,width:r.width||(0,s.D7)()?.flowchart?.wrappingWidth,style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img});let h=c.getBBox();const u=r.padding/2;if((0,s._3)((0,s.D7)()?.flowchart?.htmlLabels)){const t=c.children[0],e=(0,l.Ltv)(c);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}return n?i.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"):i.attr("transform","translate(0, "+-h.height/2+")"),r.centerLabel&&i.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),i.insert("rect",":first-child"),{shapeSvg:t,bbox:h,halfPadding:u,label:i}}),"insertLabel"),d=(0,s.K2)(((t,e)=>{const r=e.node().getBBox();t.width=r.width,t.height=r.height}),"updateNodeBounds"),p=(0,s.K2)(((t,e)=>("handDrawn"===t.look?"rough-node":"node")+" "+t.cssClasses+" "+(e||"")),"getNodeClasses");function f(t){const e=t.map(((t,e)=>`${0===e?"M":"L"}${t.x},${t.y}`));return e.push("Z"),e.join(" ")}function g(t,e,r,n,i,a){const o=[],s=r-t,l=n-e,c=s/a,h=2*Math.PI/c,u=e+l/2;for(let d=0;d<=50;d++){const e=t+d/50*s,r=u+i*Math.sin(h*(e-t));o.push({x:e,y:r})}return o}function y(t,e,r,n,i,a){const o=[],s=i*Math.PI/180,l=(a*Math.PI/180-s)/(n-1);for(let c=0;c<n;c++){const n=s+c*l,i=t+r*Math.cos(n),a=e+r*Math.sin(n);o.push({x:-i,y:-a})}return o}(0,s.K2)(f,"createPathFromPoints"),(0,s.K2)(g,"generateFullSineWavePoints"),(0,s.K2)(y,"generateCirclePoints");var m=(0,s.K2)(((t,e)=>{var r,n,i=t.x,a=t.y,o=e.x-i,s=e.y-a,l=t.width/2,c=t.height/2;return Math.abs(s)*l>Math.abs(o)*c?(s<0&&(c=-c),r=0===s?0:c*o/s,n=c):(o<0&&(l=-l),r=l,n=0===o?0:l*s/o),{x:i+r,y:a+n}}),"intersectRect");function x(t,e){e&&t.attr("style",e)}async function b(t){const e=(0,l.Ltv)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div");let n=t.label;t.label&&(0,s.Wi)(t.label)&&(n=await(0,s.VJ)(t.label.replace(s.Y2.lineBreakRegex,"\n"),(0,s.D7)()));const i=t.isNode?"nodeLabel":"edgeLabel";return r.html('<span class="'+i+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+n+"</span>"),x(r,t.labelStyle),r.style("display","inline-block"),r.style("padding-right","1px"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}(0,s.K2)(x,"applyStyle"),(0,s.K2)(b,"addHtmlLabel");var k=(0,s.K2)((async(t,e,r,n)=>{let i=t||"";if("object"==typeof i&&(i=i[0]),(0,s._3)((0,s.D7)().flowchart.htmlLabels)){i=i.replace(/\\n|\n/g,"<br />"),s.Rm.info("vertexText"+i);const t={isNode:n,label:(0,o.Sm)(i).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e?e.replace("fill:","color:"):e};return await b(t)}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let n=[];n="string"==typeof i?i.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(i)?i:[];for(const e of n){const n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),r?n.setAttribute("class","title-row"):n.setAttribute("class","row"),n.textContent=e.trim(),t.appendChild(n)}return t}}),"createLabel"),C=(0,s.K2)(((t,e,r,n,i)=>["M",t+i,e,"H",t+r-i,"A",i,i,0,0,1,t+r,e+i,"V",e+n-i,"A",i,i,0,0,1,t+r-i,e+n,"H",t+i,"A",i,i,0,0,1,t,e+n-i,"V",e+i,"A",i,i,0,0,1,t+i,e,"Z"].join(" ")),"createRoundedRectPathD"),w=(0,s.K2)((t=>{const{handDrawnSeed:e}=(0,s.D7)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}}),"solidStateFill"),_=(0,s.K2)((t=>{const e=v([...t.cssCompiledStyles||[],...t.cssStyles||[]]);return{stylesMap:e,stylesArray:[...e]}}),"compileStyles"),v=(0,s.K2)((t=>{const e=new Map;return t.forEach((t=>{const[r,n]=t.split(":");e.set(r.trim(),n?.trim())})),e}),"styles2Map"),S=(0,s.K2)((t=>{const{stylesArray:e}=_(t),r=[],n=[],i=[],a=[];return e.forEach((t=>{const e=t[0];"color"===e||"font-size"===e||"font-family"===e||"font-weight"===e||"font-style"===e||"text-decoration"===e||"text-align"===e||"text-transform"===e||"line-height"===e||"letter-spacing"===e||"word-spacing"===e||"text-shadow"===e||"text-overflow"===e||"white-space"===e||"word-wrap"===e||"word-break"===e||"overflow-wrap"===e||"hyphens"===e?r.push(t.join(":")+" !important"):(n.push(t.join(":")+" !important"),e.includes("stroke")&&i.push(t.join(":")+" !important"),"fill"===e&&a.push(t.join(":")+" !important"))})),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:e,borderStyles:i,backgroundStyles:a}}),"styles2String"),T=(0,s.K2)(((t,e)=>{const{themeVariables:r,handDrawnSeed:n}=(0,s.D7)(),{nodeBorder:i,mainBkg:a}=r,{stylesMap:o}=_(t);return Object.assign({roughness:.7,fill:o.get("fill")||a,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:o.get("stroke")||i,seed:n,strokeWidth:o.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0]},e)}),"userNodeOverrides"),A=(0,s.K2)((async(t,e)=>{s.Rm.info("Creating subgraph rect for ",e.id,e);const r=(0,s.D7)(),{themeVariables:n,handDrawnSeed:o}=r,{clusterBkg:h,clusterBorder:u}=n,{labelStyles:d,nodeStyles:p,borderStyles:f,backgroundStyles:g}=S(e),y=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),x=(0,s._3)(r.flowchart.htmlLabels),b=y.insert("g").attr("class","cluster-label "),k=await(0,a.GZ)(b,e.label,{style:e.labelStyle,useHtmlLabels:x,isNode:!0});let w=k.getBBox();if((0,s._3)(r.flowchart.htmlLabels)){const t=k.children[0],e=(0,l.Ltv)(k);w=t.getBoundingClientRect(),e.attr("width",w.width),e.attr("height",w.height)}const _=e.width<=w.width+e.padding?w.width+e.padding:e.width;e.width<=w.width+e.padding?e.diff=(_-e.width)/2-e.padding:e.diff=-e.padding;const v=e.height,A=e.x-_/2,M=e.y-v/2;let B;if(s.Rm.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){const t=c.A.svg(y),r=T(e,{roughness:.7,fill:h,stroke:u,fillWeight:3,seed:o}),n=t.path(C(A,M,_,v,0),r);B=y.insert((()=>(s.Rm.debug("Rough node insert CXC",n),n)),":first-child"),B.select("path:nth-child(2)").attr("style",f.join(";")),B.select("path").attr("style",g.join(";").replace("fill","stroke"))}else B=y.insert("rect",":first-child"),B.attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",A).attr("y",M).attr("width",_).attr("height",v);const{subGraphTitleTopMargin:L}=(0,i.O)(r);if(b.attr("transform",`translate(${e.x-w.width/2}, ${e.y-e.height/2+L})`),d){const t=b.select("span");t&&t.attr("style",d)}const F=B.node().getBBox();return e.offsetX=0,e.width=F.width,e.height=F.height,e.offsetY=w.height-e.padding/2,e.intersect=function(t){return m(e,t)},{cluster:y,labelBBox:w}}),"rect"),M=(0,s.K2)(((t,e)=>{const r=t.insert("g").attr("class","note-cluster").attr("id",e.id),n=r.insert("rect",":first-child"),i=0*e.padding,a=i/2;n.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 o=n.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return m(e,t)},{cluster:r,labelBBox:{width:0,height:0}}}),"noteGroup"),B=(0,s.K2)((async(t,e)=>{const r=(0,s.D7)(),{themeVariables:n,handDrawnSeed:i}=r,{altBackground:a,compositeBackground:o,compositeTitleBackground:h,nodeBorder:u}=n,d=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-id",e.id).attr("data-look",e.look),p=d.insert("g",":first-child"),f=d.insert("g").attr("class","cluster-label");let g=d.append("rect");const y=f.node().appendChild(await k(e.label,e.labelStyle,void 0,!0));let x=y.getBBox();if((0,s._3)(r.flowchart.htmlLabels)){const t=y.children[0],e=(0,l.Ltv)(y);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}const b=0*e.padding,w=b/2,_=(e.width<=x.width+e.padding?x.width+e.padding:e.width)+b;e.width<=x.width+e.padding?e.diff=(_-e.width)/2-e.padding:e.diff=-e.padding;const v=e.height+b,S=e.height+b-x.height-6,T=e.x-_/2,A=e.y-v/2;e.width=_;const M=e.y-e.height/2-w+x.height+2;let B;if("handDrawn"===e.look){const t=e.cssClasses.includes("statediagram-cluster-alt"),r=c.A.svg(d),n=e.rx||e.ry?r.path(C(T,A,_,v,10),{roughness:.7,fill:h,fillStyle:"solid",stroke:u,seed:i}):r.rectangle(T,A,_,v,{seed:i});B=d.insert((()=>n),":first-child");const s=r.rectangle(T,M,_,S,{fill:t?a:o,fillStyle:t?"hachure":"solid",stroke:u,seed:i});B=d.insert((()=>n),":first-child"),g=d.insert((()=>s))}else{B=p.insert("rect",":first-child");const t="outer";B.attr("class",t).attr("x",T).attr("y",A).attr("width",_).attr("height",v).attr("data-look",e.look),g.attr("class","inner").attr("x",T).attr("y",M).attr("width",_).attr("height",S)}f.attr("transform",`translate(${e.x-x.width/2}, ${A+1-((0,s._3)(r.flowchart.htmlLabels)?0:3)})`);const L=B.node().getBBox();return e.height=L.height,e.offsetX=0,e.offsetY=x.height-e.padding/2,e.labelBBox=x,e.intersect=function(t){return m(e,t)},{cluster:d,labelBBox:x}}),"roundedWithTitle"),L=(0,s.K2)((async(t,e)=>{s.Rm.info("Creating subgraph rect for ",e.id,e);const r=(0,s.D7)(),{themeVariables:n,handDrawnSeed:o}=r,{clusterBkg:h,clusterBorder:u}=n,{labelStyles:d,nodeStyles:p,borderStyles:f,backgroundStyles:g}=S(e),y=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),x=(0,s._3)(r.flowchart.htmlLabels),b=y.insert("g").attr("class","cluster-label "),k=await(0,a.GZ)(b,e.label,{style:e.labelStyle,useHtmlLabels:x,isNode:!0,width:e.width});let w=k.getBBox();if((0,s._3)(r.flowchart.htmlLabels)){const t=k.children[0],e=(0,l.Ltv)(k);w=t.getBoundingClientRect(),e.attr("width",w.width),e.attr("height",w.height)}const _=e.width<=w.width+e.padding?w.width+e.padding:e.width;e.width<=w.width+e.padding?e.diff=(_-e.width)/2-e.padding:e.diff=-e.padding;const v=e.height,A=e.x-_/2,M=e.y-v/2;let B;if(s.Rm.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){const t=c.A.svg(y),r=T(e,{roughness:.7,fill:h,stroke:u,fillWeight:4,seed:o}),n=t.path(C(A,M,_,v,e.rx),r);B=y.insert((()=>(s.Rm.debug("Rough node insert CXC",n),n)),":first-child"),B.select("path:nth-child(2)").attr("style",f.join(";")),B.select("path").attr("style",g.join(";").replace("fill","stroke"))}else B=y.insert("rect",":first-child"),B.attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",A).attr("y",M).attr("width",_).attr("height",v);const{subGraphTitleTopMargin:L}=(0,i.O)(r);if(b.attr("transform",`translate(${e.x-w.width/2}, ${e.y-e.height/2+L})`),d){const t=b.select("span");t&&t.attr("style",d)}const F=B.node().getBBox();return e.offsetX=0,e.width=F.width,e.height=F.height,e.offsetY=w.height-e.padding/2,e.intersect=function(t){return m(e,t)},{cluster:y,labelBBox:w}}),"kanbanSection"),F={rect:A,squareRect:A,roundedWithTitle:B,noteGroup:M,divider:(0,s.K2)(((t,e)=>{const r=(0,s.D7)(),{themeVariables:n,handDrawnSeed:i}=r,{nodeBorder:a}=n,o=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-look",e.look),l=o.insert("g",":first-child"),h=0*e.padding,u=e.width+h;e.diff=-e.padding;const d=e.height+h,p=e.x-u/2,f=e.y-d/2;let g;if(e.width=u,"handDrawn"===e.look){const t=c.A.svg(o).rectangle(p,f,u,d,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:a,seed:i});g=o.insert((()=>t),":first-child")}else{g=l.insert("rect",":first-child");const t="divider";g.attr("class",t).attr("x",p).attr("y",f).attr("width",u).attr("height",d).attr("data-look",e.look)}const y=g.node().getBBox();return e.height=y.height,e.offsetX=0,e.offsetY=0,e.intersect=function(t){return m(e,t)},{cluster:o,labelBBox:{}}}),"divider"),kanbanSection:L},$=new Map,E=(0,s.K2)((async(t,e)=>{const r=e.shape||"rect",n=await F[r](t,e);return $.set(e.id,n),n}),"insertCluster"),D=(0,s.K2)((()=>{$=new Map}),"clear");function O(t,e){return t.intersect(e)}(0,s.K2)(O,"intersectNode");var N=O;function I(t,e,r,n){var i=t.x,a=t.y,o=i-n.x,s=a-n.y,l=Math.sqrt(e*e*s*s+r*r*o*o),c=Math.abs(e*r*o/l);n.x<i&&(c=-c);var h=Math.abs(e*r*s/l);return n.y<a&&(h=-h),{x:i+c,y:a+h}}(0,s.K2)(I,"intersectEllipse");var R=I;function P(t,e,r){return R(t,e,e,r)}(0,s.K2)(P,"intersectCircle");var z=P;function j(t,e,r,n){var i,a,o,s,l,c,h,u,d,p,f,g,y;if(i=e.y-t.y,o=t.x-e.x,l=e.x*t.y-t.x*e.y,d=i*r.x+o*r.y+l,p=i*n.x+o*n.y+l,!(0!==d&&0!==p&&K(d,p)||(a=n.y-r.y,s=r.x-n.x,c=n.x*r.y-r.x*n.y,h=a*t.x+s*t.y+c,u=a*e.x+s*e.y+c,0!==h&&0!==u&&K(h,u)||0==(f=i*s-a*o))))return g=Math.abs(f/2),{x:(y=o*c-s*l)<0?(y-g)/f:(y+g)/f,y:(y=a*l-i*c)<0?(y-g)/f:(y+g)/f}}function K(t,e){return t*e>0}(0,s.K2)(j,"intersectLine"),(0,s.K2)(K,"sameSign");var q=j;function W(t,e,r){let n=t.x,i=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));let l=n-t.width/2-o,c=i-t.height/2-s;for(let h=0;h<e.length;h++){let n=e[h],i=e[h<e.length-1?h+1:0],o=q(t,r,{x:l+n.x,y:c+n.y},{x:l+i.x,y:c+i.y});o&&a.push(o)}return a.length?(a.length>1&&a.sort((function(t,e){let n=t.x-r.x,i=t.y-r.y,a=Math.sqrt(n*n+i*i),o=e.x-r.x,s=e.y-r.y,l=Math.sqrt(o*o+s*s);return a<l?-1:a===l?0:1})),a[0]):t}(0,s.K2)(W,"intersectPolygon");var H={node:N,circle:z,ellipse:R,polygon:W,rect:m};function U(t,e){const{labelStyles:r}=S(e);e.labelStyle=r;const n=p(e);let i=n;n||(i="anchor");const a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),{cssStyles:l}=e,h=c.A.svg(a),u=T(e,{fill:"black",stroke:"none",fillStyle:"solid"});"handDrawn"!==e.look&&(u.roughness=0);const f=h.circle(0,0,2,u),g=a.insert((()=>f),":first-child");return g.attr("class","anchor").attr("style",(0,o.KL)(l)),d(e,g),e.intersect=function(t){return s.Rm.info("Circle intersect",e,1,t),H.circle(e,1,t)},a}function Y(t,e,r,n,i,a,o){const s=(t+r)/2,l=(e+n)/2,c=Math.atan2(n-e,r-t),h=(r-t)/2/i,u=(n-e)/2/a,d=Math.sqrt(h**2+u**2);if(d>1)throw new Error("The given radii are too small to create an arc between the points.");const p=Math.sqrt(1-d**2),f=s+p*a*Math.sin(c)*(o?-1:1),g=l-p*i*Math.cos(c)*(o?-1:1),y=Math.atan2((e-g)/a,(t-f)/i);let m=Math.atan2((n-g)/a,(r-f)/i)-y;o&&m<0&&(m+=2*Math.PI),!o&&m>0&&(m-=2*Math.PI);const x=[];for(let b=0;b<20;b++){const t=y+b/19*m,e=f+i*Math.cos(t),r=g+a*Math.sin(t);x.push({x:e,y:r})}return x}async function G(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=a.width+e.padding+20,s=a.height+e.padding,l=s/2,u=l/(2.5+s/50),{cssStyles:g}=e,y=[{x:o/2,y:-s/2},{x:-o/2,y:-s/2},...Y(-o/2,-s/2,-o/2,s/2,u,l,!1),{x:o/2,y:s/2},...Y(o/2,s/2,o/2,-s/2,u,l,!0)],m=c.A.svg(i),x=T(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const b=f(y),k=m.path(b,x),C=i.insert((()=>k),":first-child");return C.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",g),n&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",n),C.attr("transform",`translate(${u/2}, 0)`),d(e,C),e.intersect=function(t){return H.polygon(e,y,t)},i}function V(t,e,r,n){return t.insert("polygon",":first-child").attr("points",n.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}async function Z(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=a.height+e.padding,s=a.width+e.padding+12,l=-o,u=[{x:12,y:l},{x:s,y:l},{x:s,y:0},{x:0,y:0},{x:0,y:l+12},{x:12,y:l}];let g;const{cssStyles:y}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=f(u),a=t.path(n,r);g=i.insert((()=>a),":first-child").attr("transform",`translate(${-s/2}, ${o/2})`),y&&g.attr("style",y)}else g=V(i,s,o,u);return n&&g.attr("style",n),d(e,g),e.intersect=function(t){return H.polygon(e,u,t)},i}function X(t,e){const{nodeStyles:r}=S(e);e.label="";const n=t.insert("g").attr("class",p(e)).attr("id",e.domId??e.id),{cssStyles:i}=e,a=Math.max(28,e.width??0),o=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],s=c.A.svg(n),l=T(e,{});"handDrawn"!==e.look&&(l.roughness=0,l.fillStyle="solid");const h=f(o),u=s.path(h,l),d=n.insert((()=>u),":first-child");return i&&"handDrawn"!==e.look&&d.selectAll("path").attr("style",i),r&&"handDrawn"!==e.look&&d.selectAll("path").attr("style",r),e.width=28,e.height=28,e.intersect=function(t){return H.polygon(e,o,t)},n}async function Q(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,halfPadding:l}=await h(t,e,p(e)),u=a.width/2+l;let f;const{cssStyles:g}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=t.circle(0,0,2*u,r);f=i.insert((()=>n),":first-child"),f.attr("class","basic label-container").attr("style",(0,o.KL)(g))}else f=i.insert("circle",":first-child").attr("class","basic label-container").attr("style",n).attr("r",u).attr("cx",0).attr("cy",0);return d(e,f),e.intersect=function(t){return s.Rm.info("Circle intersect",e,u,t),H.circle(e,u,t)},i}function J(t){const e=Math.cos(Math.PI/4),r=Math.sin(Math.PI/4),n=2*t;return`M ${-n/2*e},${n/2*r} L ${n/2*e},${-n/2*r}\n M ${n/2*e},${n/2*r} L ${-n/2*e},${-n/2*r}`}function tt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r,e.label="";const i=t.insert("g").attr("class",p(e)).attr("id",e.domId??e.id),a=Math.max(30,e?.width??0),{cssStyles:o}=e,l=c.A.svg(i),h=T(e,{});"handDrawn"!==e.look&&(h.roughness=0,h.fillStyle="solid");const u=l.circle(0,0,2*a,h),f=J(a),g=l.path(f,h),y=i.insert((()=>u),":first-child");return y.insert((()=>g)),o&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",o),n&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",n),d(e,y),e.intersect=function(t){s.Rm.info("crossedCircle intersect",e,{radius:a,point:t});return H.circle(e,a,t)},i}function et(t,e,r,n=100,i=0,a=180){const o=[],s=i*Math.PI/180,l=(a*Math.PI/180-s)/(n-1);for(let c=0;c<n;c++){const n=s+c*l,i=t+r*Math.cos(n),a=e+r*Math.sin(n);o.push({x:-i,y:-a})}return o}async function rt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=a.width+(e.padding??0),l=a.height+(e.padding??0),u=Math.max(5,.1*l),{cssStyles:g}=e,y=[...et(s/2,-l/2,u,30,-90,0),{x:-s/2-u,y:u},...et(s/2+2*u,-u,u,20,-180,-270),...et(s/2+2*u,u,u,20,-90,-180),{x:-s/2-u,y:-l/2},...et(s/2,l/2,u,20,0,90)],m=[{x:s/2,y:-l/2-u},{x:-s/2,y:-l/2-u},...et(s/2,-l/2,u,20,-90,0),{x:-s/2-u,y:-u},...et(s/2+.1*s,-u,u,20,-180,-270),...et(s/2+.1*s,u,u,20,-90,-180),{x:-s/2-u,y:l/2},...et(s/2,l/2,u,20,0,90),{x:-s/2,y:l/2+u},{x:s/2,y:l/2+u}],x=c.A.svg(i),b=T(e,{fill:"none"});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");const k=f(y).replace("Z",""),C=x.path(k,b),w=f(m),_=x.path(w,{...b}),v=i.insert("g",":first-child");return v.insert((()=>_),":first-child").attr("stroke-opacity",0),v.insert((()=>C),":first-child"),v.attr("class","text"),g&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",g),n&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",n),v.attr("transform",`translate(${u}, 0)`),o.attr("transform",`translate(${-s/2+u-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return H.polygon(e,m,t)},i}function nt(t,e,r,n=100,i=0,a=180){const o=[],s=i*Math.PI/180,l=(a*Math.PI/180-s)/(n-1);for(let c=0;c<n;c++){const n=s+c*l,i=t+r*Math.cos(n),a=e+r*Math.sin(n);o.push({x:i,y:a})}return o}async function it(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=a.width+(e.padding??0),l=a.height+(e.padding??0),u=Math.max(5,.1*l),{cssStyles:g}=e,y=[...nt(s/2,-l/2,u,20,-90,0),{x:s/2+u,y:-u},...nt(s/2+2*u,-u,u,20,-180,-270),...nt(s/2+2*u,u,u,20,-90,-180),{x:s/2+u,y:l/2},...nt(s/2,l/2,u,20,0,90)],m=[{x:-s/2,y:-l/2-u},{x:s/2,y:-l/2-u},...nt(s/2,-l/2,u,20,-90,0),{x:s/2+u,y:-u},...nt(s/2+2*u,-u,u,20,-180,-270),...nt(s/2+2*u,u,u,20,-90,-180),{x:s/2+u,y:l/2},...nt(s/2,l/2,u,20,0,90),{x:s/2,y:l/2+u},{x:-s/2,y:l/2+u}],x=c.A.svg(i),b=T(e,{fill:"none"});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");const k=f(y).replace("Z",""),C=x.path(k,b),w=f(m),_=x.path(w,{...b}),v=i.insert("g",":first-child");return v.insert((()=>_),":first-child").attr("stroke-opacity",0),v.insert((()=>C),":first-child"),v.attr("class","text"),g&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",g),n&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",n),v.attr("transform",`translate(${-u}, 0)`),o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return H.polygon(e,m,t)},i}function at(t,e,r,n=100,i=0,a=180){const o=[],s=i*Math.PI/180,l=(a*Math.PI/180-s)/(n-1);for(let c=0;c<n;c++){const n=s+c*l,i=t+r*Math.cos(n),a=e+r*Math.sin(n);o.push({x:-i,y:-a})}return o}async function ot(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=a.width+(e.padding??0),l=a.height+(e.padding??0),u=Math.max(5,.1*l),{cssStyles:g}=e,y=[...at(s/2,-l/2,u,30,-90,0),{x:-s/2-u,y:u},...at(s/2+2*u,-u,u,20,-180,-270),...at(s/2+2*u,u,u,20,-90,-180),{x:-s/2-u,y:-l/2},...at(s/2,l/2,u,20,0,90)],m=[...at(-s/2+u+u/2,-l/2,u,20,-90,-180),{x:s/2-u/2,y:u},...at(-s/2-u/2,-u,u,20,0,90),...at(-s/2-u/2,u,u,20,-90,0),{x:s/2-u/2,y:-u},...at(-s/2+u+u/2,l/2,u,30,-180,-270)],x=[{x:s/2,y:-l/2-u},{x:-s/2,y:-l/2-u},...at(s/2,-l/2,u,20,-90,0),{x:-s/2-u,y:-u},...at(s/2+2*u,-u,u,20,-180,-270),...at(s/2+2*u,u,u,20,-90,-180),{x:-s/2-u,y:l/2},...at(s/2,l/2,u,20,0,90),{x:-s/2,y:l/2+u},{x:s/2-u-u/2,y:l/2+u},...at(-s/2+u+u/2,-l/2,u,20,-90,-180),{x:s/2-u/2,y:u},...at(-s/2-u/2,-u,u,20,0,90),...at(-s/2-u/2,u,u,20,-90,0),{x:s/2-u/2,y:-u},...at(-s/2+u+u/2,l/2,u,30,-180,-270)],b=c.A.svg(i),k=T(e,{fill:"none"});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");const C=f(y).replace("Z",""),w=b.path(C,k),_=f(m).replace("Z",""),v=b.path(_,k),A=f(x),M=b.path(A,{...k}),B=i.insert("g",":first-child");return B.insert((()=>M),":first-child").attr("stroke-opacity",0),B.insert((()=>w),":first-child"),B.insert((()=>v),":first-child"),B.attr("class","text"),g&&"handDrawn"!==e.look&&B.selectAll("path").attr("style",g),n&&"handDrawn"!==e.look&&B.selectAll("path").attr("style",n),B.attr("transform",`translate(${u-u/4}, 0)`),o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,B),e.intersect=function(t){return H.polygon(e,x,t)},i}async function st(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=Math.max(80,1.25*(a.width+2*(e.padding??0)),e?.width??0),s=Math.max(20,a.height+2*(e.padding??0),e?.height??0),l=s/2,{cssStyles:u}=e,g=c.A.svg(i),m=T(e,{});"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");const x=o-l,b=s/4,k=[{x:x,y:0},{x:b,y:0},{x:0,y:s/2},{x:b,y:s},{x:x,y:s},...y(-x,-s/2,l,50,270,90)],C=f(k),w=g.path(C,m),_=i.insert((()=>w),":first-child");return _.attr("class","basic label-container"),u&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",u),n&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",n),_.attr("transform",`translate(${-o/2}, ${-s/2})`),d(e,_),e.intersect=function(t){return H.polygon(e,k,t)},i}(0,s.K2)(U,"anchor"),(0,s.K2)(Y,"generateArcPoints"),(0,s.K2)(G,"bowTieRect"),(0,s.K2)(V,"insertPolygonShape"),(0,s.K2)(Z,"card"),(0,s.K2)(X,"choice"),(0,s.K2)(Q,"circle"),(0,s.K2)(J,"createLine"),(0,s.K2)(tt,"crossedCircle"),(0,s.K2)(et,"generateCirclePoints"),(0,s.K2)(rt,"curlyBraceLeft"),(0,s.K2)(nt,"generateCirclePoints"),(0,s.K2)(it,"curlyBraceRight"),(0,s.K2)(at,"generateCirclePoints"),(0,s.K2)(ot,"curlyBraces"),(0,s.K2)(st,"curvedTrapezoid");var lt=(0,s.K2)(((t,e,r,n,i,a)=>[`M${t},${e+a}`,`a${i},${a} 0,0,0 ${r},0`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,"l0,"+-n].join(" ")),"createCylinderPathD"),ct=(0,s.K2)(((t,e,r,n,i,a)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,"l0,"+-n].join(" ")),"createOuterCylinderPathD"),ht=(0,s.K2)(((t,e,r,n,i,a)=>[`M${t-r/2},${-n/2}`,`a${i},${a} 0,0,0 ${r},0`].join(" ")),"createInnerCylinderPathD");async function ut(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await h(t,e,p(e)),l=Math.max(a.width+e.padding,e.width??0),u=l/2,f=u/(2.5+l/50),g=Math.max(a.height+f+e.padding,e.height??0);let y;const{cssStyles:m}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=ct(0,0,l,g,u,f),n=ht(0,f,l,g,u,f),a=t.path(r,T(e,{})),o=t.path(n,T(e,{fill:"none"}));y=i.insert((()=>o),":first-child"),y=i.insert((()=>a),":first-child"),y.attr("class","basic label-container"),m&&y.attr("style",m)}else{const t=lt(0,0,l,g,u,f);y=i.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.KL)(m)).attr("style",n)}return y.attr("label-offset-y",f),y.attr("transform",`translate(${-l/2}, ${-(g/2+f)})`),d(e,y),s.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-a.height/2+(e.padding??0)/1.5-(a.y-(a.top??0))})`),e.intersect=function(t){const r=H.rect(e,t),n=r.x-(e.x??0);if(0!=u&&(Math.abs(n)<(e.width??0)/2||Math.abs(n)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-f)){let i=f*f*(1-n*n/(u*u));i>0&&(i=Math.sqrt(i)),i=f-i,t.y-(e.y??0)>0&&(i=-i),r.y+=i}return r},i}async function dt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=a.width+e.padding,l=a.height+e.padding,u=.2*l,f=-s/2,g=-l/2-u/2,{cssStyles:y}=e,m=c.A.svg(i),x=T(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const b=[{x:f,y:g+u},{x:-f,y:g+u},{x:-f,y:-g},{x:f,y:-g},{x:f,y:g},{x:-f,y:g},{x:-f,y:g+u}],k=m.polygon(b.map((t=>[t.x,t.y])),x),C=i.insert((()=>k),":first-child");return C.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",y),n&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",n),o.attr("transform",`translate(${f+(e.padding??0)/2-(a.x-(a.left??0))}, ${g+u+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return H.rect(e,t)},i}async function pt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,halfPadding:l}=await h(t,e,p(e)),u=a.width/2+l+5,f=a.width/2+l;let g;const{cssStyles:y}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{roughness:.2,strokeWidth:2.5}),n=T(e,{roughness:.2,strokeWidth:1.5}),a=t.circle(0,0,2*u,r),s=t.circle(0,0,2*f,n);g=i.insert("g",":first-child"),g.attr("class",(0,o.KL)(e.cssClasses)).attr("style",(0,o.KL)(y)),g.node()?.appendChild(a),g.node()?.appendChild(s)}else{g=i.insert("g",":first-child");const t=g.insert("circle",":first-child"),e=g.insert("circle");g.attr("class","basic label-container").attr("style",n),t.attr("class","outer-circle").attr("style",n).attr("r",u).attr("cx",0).attr("cy",0),e.attr("class","inner-circle").attr("style",n).attr("r",f).attr("cx",0).attr("cy",0)}return d(e,g),e.intersect=function(t){return s.Rm.info("DoubleCircle intersect",e,u,t),H.circle(e,u,t)},i}function ft(t,e,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:i}=S(e);e.label="",e.labelStyle=n;const a=t.insert("g").attr("class",p(e)).attr("id",e.domId??e.id),{cssStyles:o}=e,l=c.A.svg(a),{nodeBorder:h}=r,u=T(e,{fillStyle:"solid"});"handDrawn"!==e.look&&(u.roughness=0);const f=l.circle(0,0,14,u),g=a.insert((()=>f),":first-child");return g.selectAll("path").attr("style",`fill: ${h} !important;`),o&&o.length>0&&"handDrawn"!==e.look&&g.selectAll("path").attr("style",o),i&&"handDrawn"!==e.look&&g.selectAll("path").attr("style",i),d(e,g),e.intersect=function(t){s.Rm.info("filledCircle intersect",e,{radius:7,point:t});return H.circle(e,7,t)},a}async function gt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),l=a.width+(e.padding??0),u=l+a.height,g=l+a.height,y=[{x:0,y:-u},{x:g,y:-u},{x:g/2,y:0}],{cssStyles:m}=e,x=c.A.svg(i),b=T(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");const k=f(y),C=x.path(k,b),w=i.insert((()=>C),":first-child").attr("transform",`translate(${-u/2}, ${u/2})`);return m&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",m),n&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",n),e.width=l,e.height=u,d(e,w),o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-u/2+(e.padding??0)/2+(a.y-(a.top??0))})`),e.intersect=function(t){return s.Rm.info("Triangle intersect",e,y,t),H.polygon(e,y,t)},i}function yt(t,e,{dir:r,config:{state:n,themeVariables:i}}){const{nodeStyles:a}=S(e);e.label="";const o=t.insert("g").attr("class",p(e)).attr("id",e.domId??e.id),{cssStyles:s}=e;let l=Math.max(70,e?.width??0),h=Math.max(10,e?.height??0);"LR"===r&&(l=Math.max(10,e?.width??0),h=Math.max(70,e?.height??0));const u=-1*l/2,f=-1*h/2,g=c.A.svg(o),y=T(e,{stroke:i.lineColor,fill:i.lineColor});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");const m=g.rectangle(u,f,l,h,y),x=o.insert((()=>m),":first-child");s&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",s),a&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",a),d(e,x);const b=n?.padding??0;return e.width&&e.height&&(e.width+=b/2||0,e.height+=b/2||0),e.intersect=function(t){return H.rect(e,t)},o}async function mt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=Math.max(80,a.width+2*(e.padding??0),e?.width??0),l=Math.max(50,a.height+2*(e.padding??0),e?.height??0),u=l/2,{cssStyles:g}=e,m=c.A.svg(i),x=T(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const b=[{x:-o/2,y:-l/2},{x:o/2-u,y:-l/2},...y(-o/2+u,0,u,50,90,270),{x:o/2-u,y:l/2},{x:-o/2,y:l/2}],k=f(b),C=m.path(k,x),w=i.insert((()=>C),":first-child");return w.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",g),n&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",n),d(e,w),e.intersect=function(t){s.Rm.info("Pill intersect",e,{radius:u,point:t});return H.polygon(e,b,t)},i}(0,s.K2)(ut,"cylinder"),(0,s.K2)(dt,"dividedRectangle"),(0,s.K2)(pt,"doublecircle"),(0,s.K2)(ft,"filledCircle"),(0,s.K2)(gt,"flippedTriangle"),(0,s.K2)(yt,"forkJoin"),(0,s.K2)(mt,"halfRoundedRectangle");var xt=(0,s.K2)(((t,e,r,n,i)=>[`M${t+i},${e}`,`L${t+r-i},${e}`,`L${t+r},${e-n/2}`,`L${t+r-i},${e-n}`,`L${t+i},${e-n}`,`L${t},${e-n/2}`,"Z"].join(" ")),"createHexagonPathD");async function bt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=a.height+e.padding,s=o/4,l=a.width+2*s+e.padding,u=[{x:s,y:0},{x:l-s,y:0},{x:l,y:-o/2},{x:l-s,y:-o},{x:s,y:-o},{x:0,y:-o/2}];let f;const{cssStyles:g}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=xt(0,0,l,o,s),a=t.path(n,r);f=i.insert((()=>a),":first-child").attr("transform",`translate(${-l/2}, ${o/2})`),g&&f.attr("style",g)}else f=V(i,l,o,u);return n&&f.attr("style",n),e.width=l,e.height=o,d(e,f),e.intersect=function(t){return H.polygon(e,u,t)},i}async function kt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.label="",e.labelStyle=r;const{shapeSvg:i}=await h(t,e,p(e)),a=Math.max(30,e?.width??0),o=Math.max(30,e?.height??0),{cssStyles:l}=e,u=c.A.svg(i),g=T(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");const y=[{x:0,y:0},{x:a,y:0},{x:0,y:o},{x:a,y:o}],m=f(y),x=u.path(m,g),b=i.insert((()=>x),":first-child");return b.attr("class","basic label-container"),l&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",l),n&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",n),b.attr("transform",`translate(${-a/2}, ${-o/2})`),d(e,b),e.intersect=function(t){s.Rm.info("Pill intersect",e,{points:y});return H.polygon(e,y,t)},i}async function Ct(t,e,{config:{themeVariables:r,flowchart:i}}){const{labelStyles:a}=S(e);e.labelStyle=a;const o=e.assetHeight??48,l=e.assetWidth??48,u=Math.max(o,l),p=i?.wrappingWidth;e.width=Math.max(u,p??0);const{shapeSvg:f,bbox:g,label:y}=await h(t,e,"icon-shape default"),m="t"===e.pos,x=u,b=u,{nodeBorder:k}=r,{stylesMap:C}=_(e),w=-b/2,v=-x/2,A=e.label?8:0,M=c.A.svg(f),B=T(e,{stroke:"none",fill:"none"});"handDrawn"!==e.look&&(B.roughness=0,B.fillStyle="solid");const L=M.rectangle(w,v,b,x,B),F=Math.max(b,g.width),$=x+g.height+A,E=M.rectangle(-F/2,-$/2,F,$,{...B,fill:"transparent",stroke:"none"}),D=f.insert((()=>L),":first-child"),O=f.insert((()=>E));if(e.icon){const t=f.append("g");t.html(`<g>${await(0,n.WY)(e.icon,{height:u,width:u,fallbackPrefix:""})}</g>`);const r=t.node().getBBox(),i=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-i/2-o},${m?g.height/2+A/2-a/2-s:-g.height/2-A/2-a/2-s})`),t.attr("style",`color: ${C.get("stroke")??k};`)}return y.attr("transform",`translate(${-g.width/2-(g.x-(g.left??0))},${m?-$/2:$/2-g.height})`),D.attr("transform",`translate(0,${m?g.height/2+A/2:-g.height/2-A/2})`),d(e,O),e.intersect=function(t){if(s.Rm.info("iconSquare intersect",e,t),!e.label)return H.rect(e,t);const r=e.x??0,n=e.y??0,i=e.height??0;let a=[];a=m?[{x:r-g.width/2,y:n-i/2},{x:r+g.width/2,y:n-i/2},{x:r+g.width/2,y:n-i/2+g.height+A},{x:r+b/2,y:n-i/2+g.height+A},{x:r+b/2,y:n+i/2},{x:r-b/2,y:n+i/2},{x:r-b/2,y:n-i/2+g.height+A},{x:r-g.width/2,y:n-i/2+g.height+A}]:[{x:r-b/2,y:n-i/2},{x:r+b/2,y:n-i/2},{x:r+b/2,y:n-i/2+x},{x:r+g.width/2,y:n-i/2+x},{x:r+g.width/2/2,y:n+i/2},{x:r-g.width/2,y:n+i/2},{x:r-g.width/2,y:n-i/2+x},{x:r-b/2,y:n-i/2+x}];return H.polygon(e,a,t)},f}async function wt(t,e,{config:{themeVariables:r,flowchart:i}}){const{labelStyles:a}=S(e);e.labelStyle=a;const o=e.assetHeight??48,l=e.assetWidth??48,u=Math.max(o,l),p=i?.wrappingWidth;e.width=Math.max(u,p??0);const{shapeSvg:f,bbox:g,label:y}=await h(t,e,"icon-shape default"),m=e.label?8:0,x="t"===e.pos,{nodeBorder:b,mainBkg:k}=r,{stylesMap:C}=_(e),w=c.A.svg(f),v=T(e,{});"handDrawn"!==e.look&&(v.roughness=0,v.fillStyle="solid");const A=C.get("fill");v.stroke=A??k;const M=f.append("g");e.icon&&M.html(`<g>${await(0,n.WY)(e.icon,{height:u,width:u,fallbackPrefix:""})}</g>`);const B=M.node().getBBox(),L=B.width,F=B.height,$=B.x,E=B.y,D=Math.max(L,F)*Math.SQRT2+40,O=w.circle(0,0,D,v),N=Math.max(D,g.width),I=D+g.height+m,R=w.rectangle(-N/2,-I/2,N,I,{...v,fill:"transparent",stroke:"none"}),P=f.insert((()=>O),":first-child"),z=f.insert((()=>R));return M.attr("transform",`translate(${-L/2-$},${x?g.height/2+m/2-F/2-E:-g.height/2-m/2-F/2-E})`),M.attr("style",`color: ${C.get("stroke")??b};`),y.attr("transform",`translate(${-g.width/2-(g.x-(g.left??0))},${x?-I/2:I/2-g.height})`),P.attr("transform",`translate(0,${x?g.height/2+m/2:-g.height/2-m/2})`),d(e,z),e.intersect=function(t){s.Rm.info("iconSquare intersect",e,t);return H.rect(e,t)},f}async function _t(t,e,{config:{themeVariables:r,flowchart:i}}){const{labelStyles:a}=S(e);e.labelStyle=a;const o=e.assetHeight??48,l=e.assetWidth??48,u=Math.max(o,l),p=i?.wrappingWidth;e.width=Math.max(u,p??0);const{shapeSvg:f,bbox:g,halfPadding:y,label:m}=await h(t,e,"icon-shape default"),x="t"===e.pos,b=u+2*y,k=u+2*y,{nodeBorder:w,mainBkg:v}=r,{stylesMap:A}=_(e),M=-k/2,B=-b/2,L=e.label?8:0,F=c.A.svg(f),$=T(e,{});"handDrawn"!==e.look&&($.roughness=0,$.fillStyle="solid");const E=A.get("fill");$.stroke=E??v;const D=F.path(C(M,B,k,b,5),$),O=Math.max(k,g.width),N=b+g.height+L,I=F.rectangle(-O/2,-N/2,O,N,{...$,fill:"transparent",stroke:"none"}),R=f.insert((()=>D),":first-child").attr("class","icon-shape2"),P=f.insert((()=>I));if(e.icon){const t=f.append("g");t.html(`<g>${await(0,n.WY)(e.icon,{height:u,width:u,fallbackPrefix:""})}</g>`);const r=t.node().getBBox(),i=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-i/2-o},${x?g.height/2+L/2-a/2-s:-g.height/2-L/2-a/2-s})`),t.attr("style",`color: ${A.get("stroke")??w};`)}return m.attr("transform",`translate(${-g.width/2-(g.x-(g.left??0))},${x?-N/2:N/2-g.height})`),R.attr("transform",`translate(0,${x?g.height/2+L/2:-g.height/2-L/2})`),d(e,P),e.intersect=function(t){if(s.Rm.info("iconSquare intersect",e,t),!e.label)return H.rect(e,t);const r=e.x??0,n=e.y??0,i=e.height??0;let a=[];a=x?[{x:r-g.width/2,y:n-i/2},{x:r+g.width/2,y:n-i/2},{x:r+g.width/2,y:n-i/2+g.height+L},{x:r+k/2,y:n-i/2+g.height+L},{x:r+k/2,y:n+i/2},{x:r-k/2,y:n+i/2},{x:r-k/2,y:n-i/2+g.height+L},{x:r-g.width/2,y:n-i/2+g.height+L}]:[{x:r-k/2,y:n-i/2},{x:r+k/2,y:n-i/2},{x:r+k/2,y:n-i/2+b},{x:r+g.width/2,y:n-i/2+b},{x:r+g.width/2/2,y:n+i/2},{x:r-g.width/2,y:n+i/2},{x:r-g.width/2,y:n-i/2+b},{x:r-k/2,y:n-i/2+b}];return H.polygon(e,a,t)},f}async function vt(t,e,{config:{themeVariables:r,flowchart:i}}){const{labelStyles:a}=S(e);e.labelStyle=a;const o=e.assetHeight??48,l=e.assetWidth??48,u=Math.max(o,l),p=i?.wrappingWidth;e.width=Math.max(u,p??0);const{shapeSvg:f,bbox:g,halfPadding:y,label:m}=await h(t,e,"icon-shape default"),x="t"===e.pos,b=u+2*y,k=u+2*y,{nodeBorder:w,mainBkg:v}=r,{stylesMap:A}=_(e),M=-k/2,B=-b/2,L=e.label?8:0,F=c.A.svg(f),$=T(e,{});"handDrawn"!==e.look&&($.roughness=0,$.fillStyle="solid");const E=A.get("fill");$.stroke=E??v;const D=F.path(C(M,B,k,b,.1),$),O=Math.max(k,g.width),N=b+g.height+L,I=F.rectangle(-O/2,-N/2,O,N,{...$,fill:"transparent",stroke:"none"}),R=f.insert((()=>D),":first-child"),P=f.insert((()=>I));if(e.icon){const t=f.append("g");t.html(`<g>${await(0,n.WY)(e.icon,{height:u,width:u,fallbackPrefix:""})}</g>`);const r=t.node().getBBox(),i=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-i/2-o},${x?g.height/2+L/2-a/2-s:-g.height/2-L/2-a/2-s})`),t.attr("style",`color: ${A.get("stroke")??w};`)}return m.attr("transform",`translate(${-g.width/2-(g.x-(g.left??0))},${x?-N/2:N/2-g.height})`),R.attr("transform",`translate(0,${x?g.height/2+L/2:-g.height/2-L/2})`),d(e,P),e.intersect=function(t){if(s.Rm.info("iconSquare intersect",e,t),!e.label)return H.rect(e,t);const r=e.x??0,n=e.y??0,i=e.height??0;let a=[];a=x?[{x:r-g.width/2,y:n-i/2},{x:r+g.width/2,y:n-i/2},{x:r+g.width/2,y:n-i/2+g.height+L},{x:r+k/2,y:n-i/2+g.height+L},{x:r+k/2,y:n+i/2},{x:r-k/2,y:n+i/2},{x:r-k/2,y:n-i/2+g.height+L},{x:r-g.width/2,y:n-i/2+g.height+L}]:[{x:r-k/2,y:n-i/2},{x:r+k/2,y:n-i/2},{x:r+k/2,y:n-i/2+b},{x:r+g.width/2,y:n-i/2+b},{x:r+g.width/2/2,y:n+i/2},{x:r-g.width/2,y:n+i/2},{x:r-g.width/2,y:n-i/2+b},{x:r-k/2,y:n-i/2+b}];return H.polygon(e,a,t)},f}async function St(t,e,{config:{flowchart:r}}){const n=new Image;n.src=e?.img??"",await n.decode();const i=Number(n.naturalWidth.toString().replace("px","")),a=Number(n.naturalHeight.toString().replace("px",""));e.imageAspectRatio=i/a;const{labelStyles:o}=S(e);e.labelStyle=o;const l=r?.wrappingWidth;e.defaultWidth=r?.wrappingWidth;const u=Math.max(e.label?l??0:0,e?.assetWidth??i),p="on"===e.constraint&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:u,f="on"===e.constraint?p/e.imageAspectRatio:e?.assetHeight??a;e.width=Math.max(p,l??0);const{shapeSvg:g,bbox:y,label:m}=await h(t,e,"image-shape default"),x="t"===e.pos,b=-p/2,k=-f/2,C=e.label?8:0,w=c.A.svg(g),_=T(e,{});"handDrawn"!==e.look&&(_.roughness=0,_.fillStyle="solid");const v=w.rectangle(b,k,p,f,_),A=Math.max(p,y.width),M=f+y.height+C,B=w.rectangle(-A/2,-M/2,A,M,{..._,fill:"none",stroke:"none"}),L=g.insert((()=>v),":first-child"),F=g.insert((()=>B));if(e.img){const t=g.append("image");t.attr("href",e.img),t.attr("width",p),t.attr("height",f),t.attr("preserveAspectRatio","none"),t.attr("transform",`translate(${-p/2},${x?M/2-f:-M/2})`)}return m.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))},${x?-f/2-y.height/2-C/2:f/2-y.height/2+C/2})`),L.attr("transform",`translate(0,${x?y.height/2+C/2:-y.height/2-C/2})`),d(e,F),e.intersect=function(t){if(s.Rm.info("iconSquare intersect",e,t),!e.label)return H.rect(e,t);const r=e.x??0,n=e.y??0,i=e.height??0;let a=[];a=x?[{x:r-y.width/2,y:n-i/2},{x:r+y.width/2,y:n-i/2},{x:r+y.width/2,y:n-i/2+y.height+C},{x:r+p/2,y:n-i/2+y.height+C},{x:r+p/2,y:n+i/2},{x:r-p/2,y:n+i/2},{x:r-p/2,y:n-i/2+y.height+C},{x:r-y.width/2,y:n-i/2+y.height+C}]:[{x:r-p/2,y:n-i/2},{x:r+p/2,y:n-i/2},{x:r+p/2,y:n-i/2+f},{x:r+y.width/2,y:n-i/2+f},{x:r+y.width/2/2,y:n+i/2},{x:r-y.width/2,y:n+i/2},{x:r-y.width/2,y:n-i/2+f},{x:r-p/2,y:n-i/2+f}];return H.polygon(e,a,t)},g}async function Tt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=Math.max(a.width+2*(e.padding??0),e?.width??0),s=Math.max(a.height+2*(e.padding??0),e?.height??0),l=[{x:0,y:0},{x:o,y:0},{x:o+3*s/6,y:-s},{x:-3*s/6,y:-s}];let u;const{cssStyles:g}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=f(l),a=t.path(n,r);u=i.insert((()=>a),":first-child").attr("transform",`translate(${-o/2}, ${s/2})`),g&&u.attr("style",g)}else u=V(i,o,s,l);return n&&u.attr("style",n),e.width=o,e.height=s,d(e,u),e.intersect=function(t){return H.polygon(e,l,t)},i}async function At(t,e,r){const{labelStyles:n,nodeStyles:i}=S(e);e.labelStyle=n;const{shapeSvg:a,bbox:s}=await h(t,e,p(e)),l=Math.max(s.width+2*r.labelPaddingX,e?.width||0),u=Math.max(s.height+2*r.labelPaddingY,e?.height||0),f=-l/2,g=-u/2;let y,{rx:m,ry:x}=e;const{cssStyles:b}=e;if(r?.rx&&r.ry&&(m=r.rx,x=r.ry),"handDrawn"===e.look){const t=c.A.svg(a),r=T(e,{}),n=m||x?t.path(C(f,g,l,u,m||0),r):t.rectangle(f,g,l,u,r);y=a.insert((()=>n),":first-child"),y.attr("class","basic label-container").attr("style",(0,o.KL)(b))}else y=a.insert("rect",":first-child"),y.attr("class","basic label-container").attr("style",i).attr("rx",(0,o.KL)(m)).attr("ry",(0,o.KL)(x)).attr("x",f).attr("y",g).attr("width",l).attr("height",u);return d(e,y),e.intersect=function(t){return H.rect(e,t)},a}async function Mt(t,e){const{shapeSvg:r,bbox:n,label:i}=await h(t,e,"label"),a=r.insert("rect",":first-child");return a.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),i.attr("transform",`translate(${-n.width/2-(n.x-(n.left??0))}, ${-n.height/2-(n.y-(n.top??0))})`),d(e,a),e.intersect=function(t){return H.rect(e,t)},r}async function Bt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=Math.max(a.width+(e.padding??0),e?.width??0),s=Math.max(a.height+(e.padding??0),e?.height??0),l=[{x:0,y:0},{x:o+3*s/6,y:0},{x:o,y:-s},{x:-3*s/6,y:-s}];let u;const{cssStyles:g}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=f(l),a=t.path(n,r);u=i.insert((()=>a),":first-child").attr("transform",`translate(${-o/2}, ${s/2})`),g&&u.attr("style",g)}else u=V(i,o,s,l);return n&&u.attr("style",n),e.width=o,e.height=s,d(e,u),e.intersect=function(t){return H.polygon(e,l,t)},i}async function Lt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=Math.max(a.width+(e.padding??0),e?.width??0),s=Math.max(a.height+(e.padding??0),e?.height??0),l=[{x:-3*s/6,y:0},{x:o,y:0},{x:o+3*s/6,y:-s},{x:0,y:-s}];let u;const{cssStyles:g}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=f(l),a=t.path(n,r);u=i.insert((()=>a),":first-child").attr("transform",`translate(${-o/2}, ${s/2})`),g&&u.attr("style",g)}else u=V(i,o,s,l);return n&&u.attr("style",n),e.width=o,e.height=s,d(e,u),e.intersect=function(t){return H.polygon(e,l,t)},i}function Ft(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.label="",e.labelStyle=r;const i=t.insert("g").attr("class",p(e)).attr("id",e.domId??e.id),{cssStyles:a}=e,o=Math.max(35,e?.width??0),l=Math.max(35,e?.height??0),h=[{x:o,y:0},{x:0,y:l+3.5},{x:o-14,y:l+3.5},{x:0,y:2*l},{x:o,y:l-3.5},{x:14,y:l-3.5}],u=c.A.svg(i),g=T(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");const y=f(h),m=u.path(y,g),x=i.insert((()=>m),":first-child");return a&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",a),n&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",n),x.attr("transform",`translate(-${o/2},${-l})`),d(e,x),e.intersect=function(t){s.Rm.info("lightningBolt intersect",e,t);return H.polygon(e,h,t)},i}(0,s.K2)(bt,"hexagon"),(0,s.K2)(kt,"hourglass"),(0,s.K2)(Ct,"icon"),(0,s.K2)(wt,"iconCircle"),(0,s.K2)(_t,"iconRounded"),(0,s.K2)(vt,"iconSquare"),(0,s.K2)(St,"imageSquare"),(0,s.K2)(Tt,"inv_trapezoid"),(0,s.K2)(At,"drawRect"),(0,s.K2)(Mt,"labelRect"),(0,s.K2)(Bt,"lean_left"),(0,s.K2)(Lt,"lean_right"),(0,s.K2)(Ft,"lightningBolt");var $t=(0,s.K2)(((t,e,r,n,i,a,o)=>[`M${t},${e+a}`,`a${i},${a} 0,0,0 ${r},0`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,"l0,"+-n,`M${t},${e+a+o}`,`a${i},${a} 0,0,0 ${r},0`].join(" ")),"createCylinderPathD"),Et=(0,s.K2)(((t,e,r,n,i,a,o)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,"l0,"+-n,`M${t},${e+a+o}`,`a${i},${a} 0,0,0 ${r},0`].join(" ")),"createOuterCylinderPathD"),Dt=(0,s.K2)(((t,e,r,n,i,a)=>[`M${t-r/2},${-n/2}`,`a${i},${a} 0,0,0 ${r},0`].join(" ")),"createInnerCylinderPathD");async function Ot(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await h(t,e,p(e)),l=Math.max(a.width+(e.padding??0),e.width??0),u=l/2,f=u/(2.5+l/50),g=Math.max(a.height+f+(e.padding??0),e.height??0),y=.1*g;let m;const{cssStyles:x}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=Et(0,0,l,g,u,f,y),n=Dt(0,f,l,g,u,f),a=T(e,{}),o=t.path(r,a),s=t.path(n,a);i.insert((()=>s),":first-child").attr("class","line"),m=i.insert((()=>o),":first-child"),m.attr("class","basic label-container"),x&&m.attr("style",x)}else{const t=$t(0,0,l,g,u,f,y);m=i.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.KL)(x)).attr("style",n)}return m.attr("label-offset-y",f),m.attr("transform",`translate(${-l/2}, ${-(g/2+f)})`),d(e,m),s.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-a.height/2+f-(a.y-(a.top??0))})`),e.intersect=function(t){const r=H.rect(e,t),n=r.x-(e.x??0);if(0!=u&&(Math.abs(n)<(e.width??0)/2||Math.abs(n)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-f)){let i=f*f*(1-n*n/(u*u));i>0&&(i=Math.sqrt(i)),i=f-i,t.y-(e.y??0)>0&&(i=-i),r.y+=i}return r},i}async function Nt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=Math.max(a.width+2*(e.padding??0),e?.width??0),l=Math.max(a.height+2*(e.padding??0),e?.height??0),u=l/4,f=l+u,{cssStyles:y}=e,m=c.A.svg(i),x=T(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const b=[{x:-s/2-s/2*.1,y:-f/2},{x:-s/2-s/2*.1,y:f/2},...g(-s/2-s/2*.1,f/2,s/2+s/2*.1,f/2,u,.8),{x:s/2+s/2*.1,y:-f/2},{x:-s/2-s/2*.1,y:-f/2},{x:-s/2,y:-f/2},{x:-s/2,y:f/2*1.1},{x:-s/2,y:-f/2}],k=m.polygon(b.map((t=>[t.x,t.y])),x),C=i.insert((()=>k),":first-child");return C.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",y),n&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",n),C.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)+s/2*.1/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u/2-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return H.polygon(e,b,t)},i}async function It(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=Math.max(a.width+2*(e.padding??0),e?.width??0),l=Math.max(a.height+2*(e.padding??0),e?.height??0),u=-s/2,g=-l/2,{cssStyles:y}=e,m=c.A.svg(i),x=T(e,{}),b=[{x:u-5,y:g+5},{x:u-5,y:g+l+5},{x:u+s-5,y:g+l+5},{x:u+s-5,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g+l-5},{x:u+s+5,y:g+l-5},{x:u+s+5,y:g-5},{x:u+5,y:g-5},{x:u+5,y:g},{x:u,y:g},{x:u,y:g+5}],k=[{x:u,y:g+5},{x:u+s-5,y:g+5},{x:u+s-5,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g},{x:u,y:g}];"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const C=f(b),w=m.path(C,x),_=f(k),v=m.path(_,{...x,fill:"none"}),A=i.insert((()=>v),":first-child");return A.insert((()=>w),":first-child"),A.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",y),n&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",n),o.attr("transform",`translate(${-a.width/2-5-(a.x-(a.left??0))}, ${-a.height/2+5-(a.y-(a.top??0))})`),d(e,A),e.intersect=function(t){return H.polygon(e,b,t)},i}async function Rt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=Math.max(a.width+2*(e.padding??0),e?.width??0),l=Math.max(a.height+2*(e.padding??0),e?.height??0),u=l/4,y=l+u,m=-s/2,x=-y/2,{cssStyles:b}=e,k=g(m-5,x+y+5,m+s-5,x+y+5,u,.8),C=k?.[k.length-1],w=[{x:m-5,y:x+5},{x:m-5,y:x+y+5},...k,{x:m+s-5,y:C.y-5},{x:m+s,y:C.y-5},{x:m+s,y:C.y-10},{x:m+s+5,y:C.y-10},{x:m+s+5,y:x-5},{x:m+5,y:x-5},{x:m+5,y:x},{x:m,y:x},{x:m,y:x+5}],_=[{x:m,y:x+5},{x:m+s-5,y:x+5},{x:m+s-5,y:C.y-5},{x:m+s,y:C.y-5},{x:m+s,y:x},{x:m,y:x}],v=c.A.svg(i),A=T(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");const M=f(w),B=v.path(M,A),L=f(_),F=v.path(L,A),$=i.insert((()=>B),":first-child");return $.insert((()=>F)),$.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",b),n&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",n),$.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-a.width/2-5-(a.x-(a.left??0))}, ${-a.height/2+5-u/2-(a.y-(a.top??0))})`),d(e,$),e.intersect=function(t){return H.polygon(e,w,t)},i}async function Pt(t,e,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:i}=S(e);e.labelStyle=n;e.useHtmlLabels||!1!==(0,s.zj)().flowchart?.htmlLabels||(e.centerLabel=!0);const{shapeSvg:a,bbox:o}=await h(t,e,p(e)),l=Math.max(o.width+2*(e.padding??0),e?.width??0),u=Math.max(o.height+2*(e.padding??0),e?.height??0),f=-l/2,g=-u/2,{cssStyles:y}=e,m=c.A.svg(a),x=T(e,{fill:r.noteBkgColor,stroke:r.noteBorderColor});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const b=m.rectangle(f,g,l,u,x),k=a.insert((()=>b),":first-child");return k.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",i),d(e,k),e.intersect=function(t){return H.rect(e,t)},a}(0,s.K2)(Ot,"linedCylinder"),(0,s.K2)(Nt,"linedWaveEdgedRect"),(0,s.K2)(It,"multiRect"),(0,s.K2)(Rt,"multiWaveEdgedRectangle"),(0,s.K2)(Pt,"note");var zt=(0,s.K2)(((t,e,r)=>[`M${t+r/2},${e}`,`L${t+r},${e-r/2}`,`L${t+r/2},${e-r}`,`L${t},${e-r/2}`,"Z"].join(" ")),"createDecisionBoxPathD");async function jt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=a.width+e.padding+(a.height+e.padding),l=[{x:o/2,y:0},{x:o,y:-o/2},{x:o/2,y:-o},{x:0,y:-o/2}];let u;const{cssStyles:f}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=zt(0,0,o),a=t.path(n,r);u=i.insert((()=>a),":first-child").attr("transform",`translate(${-o/2}, ${o/2})`),f&&u.attr("style",f)}else u=V(i,o,o,l);return n&&u.attr("style",n),d(e,u),e.intersect=function(t){return s.Rm.debug("APA12 Intersect called SPLIT\npoint:",t,"\nnode:\n",e,"\nres:",H.polygon(e,l,t)),H.polygon(e,l,t)},i}async function Kt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=-Math.max(a.width+(e.padding??0),e?.width??0)/2,l=-Math.max(a.height+(e.padding??0),e?.height??0)/2,u=l/2,g=[{x:s+u,y:l},{x:s,y:0},{x:s+u,y:-l},{x:-s,y:-l},{x:-s,y:l}],{cssStyles:y}=e,m=c.A.svg(i),x=T(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const b=f(g),k=m.path(b,x),C=i.insert((()=>k),":first-child");return C.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",y),n&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",n),C.attr("transform",`translate(${-u/2},0)`),o.attr("transform",`translate(${-u/2-a.width/2-(a.x-(a.left??0))}, ${-a.height/2-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return H.polygon(e,g,t)},i}async function qt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);let i;e.labelStyle=r,i=e.cssClasses?"node "+e.cssClasses:"node default";const a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),o=a.insert("g"),h=a.insert("g").attr("class","label").attr("style",n),u=e.description,p=e.label,f=h.node().appendChild(await k(p,e.labelStyle,!0,!0));let g={width:0,height:0};if((0,s._3)((0,s.D7)()?.flowchart?.htmlLabels)){const t=f.children[0],e=(0,l.Ltv)(f);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}s.Rm.info("Text 2",u);const y=u||[],m=f.getBBox(),x=h.node().appendChild(await k(y.join?y.join("<br/>"):y,e.labelStyle,!0,!0)),b=x.children[0],w=(0,l.Ltv)(x);g=b.getBoundingClientRect(),w.attr("width",g.width),w.attr("height",g.height);const _=(e.padding||0)/2;(0,l.Ltv)(x).attr("transform","translate( "+(g.width>m.width?0:(m.width-g.width)/2)+", "+(m.height+_+5)+")"),(0,l.Ltv)(f).attr("transform","translate( "+(g.width<m.width?0:-(m.width-g.width)/2)+", 0)"),g=h.node().getBBox(),h.attr("transform","translate("+-g.width/2+", "+(-g.height/2-_+3)+")");const v=g.width+(e.padding||0),A=g.height+(e.padding||0),M=-g.width/2-_,B=-g.height/2-_;let L,F;if("handDrawn"===e.look){const t=c.A.svg(a),r=T(e,{}),n=t.path(C(M,B,v,A,e.rx||0),r),i=t.line(-g.width/2-_,-g.height/2-_+m.height+_,g.width/2+_,-g.height/2-_+m.height+_,r);F=a.insert((()=>(s.Rm.debug("Rough node insert CXC",n),i)),":first-child"),L=a.insert((()=>(s.Rm.debug("Rough node insert CXC",n),n)),":first-child")}else L=o.insert("rect",":first-child"),F=o.insert("line"),L.attr("class","outer title-state").attr("style",n).attr("x",-g.width/2-_).attr("y",-g.height/2-_).attr("width",g.width+(e.padding||0)).attr("height",g.height+(e.padding||0)),F.attr("class","divider").attr("x1",-g.width/2-_).attr("x2",g.width/2+_).attr("y1",-g.height/2-_+m.height+_).attr("y2",-g.height/2-_+m.height+_);return d(e,L),e.intersect=function(t){return H.rect(e,t)},a}async function Wt(t,e){return At(t,e,{rx:5,ry:5,classes:"",labelPaddingX:1*(e?.padding||0),labelPaddingY:1*(e?.padding||0)})}async function Ht(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s}=await h(t,e,p(e)),l=e?.padding??0,u=Math.max(a.width+2*(e.padding??0),e?.width??0),f=Math.max(a.height+2*(e.padding??0),e?.height??0),g=-a.width/2-l,y=-a.height/2-l,{cssStyles:m}=e,x=c.A.svg(i),b=T(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");const k=[{x:g,y:y},{x:g+u+8,y:y},{x:g+u+8,y:y+f},{x:g-8,y:y+f},{x:g-8,y:y},{x:g,y:y},{x:g,y:y+f}],C=x.polygon(k.map((t=>[t.x,t.y])),b),w=i.insert((()=>C),":first-child");return w.attr("class","basic label-container").attr("style",(0,o.KL)(m)),n&&"handDrawn"!==e.look&&w.selectAll("path").attr("style",n),m&&"handDrawn"!==e.look&&w.selectAll("path").attr("style",n),s.attr("transform",`translate(${-u/2+4+(e.padding??0)-(a.x-(a.left??0))},${-f/2+(e.padding??0)-(a.y-(a.top??0))})`),d(e,w),e.intersect=function(t){return H.rect(e,t)},i}async function Ut(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=Math.max(a.width+2*(e.padding??0),e?.width??0),l=Math.max(a.height+2*(e.padding??0),e?.height??0),u=-s/2,g=-l/2,{cssStyles:y}=e,m=c.A.svg(i),x=T(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const b=[{x:u,y:g},{x:u,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g-l/2}],k=f(b),C=m.path(k,x),w=i.insert((()=>C),":first-child");return w.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",y),n&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",n),w.attr("transform",`translate(0, ${l/4})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))}, ${-l/4+(e.padding??0)-(a.y-(a.top??0))})`),d(e,w),e.intersect=function(t){return H.polygon(e,b,t)},i}async function Yt(t,e){return At(t,e,{rx:0,ry:0,classes:"",labelPaddingX:2*(e?.padding||0),labelPaddingY:1*(e?.padding||0)})}async function Gt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),s=a.height+e.padding,l=a.width+s/4+e.padding;let u;const{cssStyles:f}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=C(-l/2,-s/2,l,s,s/2),a=t.path(n,r);u=i.insert((()=>a),":first-child"),u.attr("class","basic label-container").attr("style",(0,o.KL)(f))}else u=i.insert("rect",":first-child"),u.attr("class","basic label-container").attr("style",n).attr("rx",s/2).attr("ry",s/2).attr("x",-l/2).attr("y",-s/2).attr("width",l).attr("height",s);return d(e,u),e.intersect=function(t){return H.rect(e,t)},i}async function Vt(t,e){return At(t,e,{rx:5,ry:5,classes:"flowchart-node"})}function Zt(t,e,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:i}=S(e);e.labelStyle=n;const{cssStyles:a}=e,{lineColor:o,stateBorder:s,nodeBorder:l}=r,h=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),u=c.A.svg(h),p=T(e,{});"handDrawn"!==e.look&&(p.roughness=0,p.fillStyle="solid");const f=u.circle(0,0,14,{...p,stroke:o,strokeWidth:2}),g=s??l,y=u.circle(0,0,5,{...p,fill:g,stroke:g,strokeWidth:2,fillStyle:"solid"}),m=h.insert((()=>f),":first-child");return m.insert((()=>y)),a&&m.selectAll("path").attr("style",a),i&&m.selectAll("path").attr("style",i),d(e,m),e.intersect=function(t){return H.circle(e,7,t)},h}function Xt(t,e,{config:{themeVariables:r}}){const{lineColor:n}=r,i=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let a;if("handDrawn"===e.look){const t=c.A.svg(i).circle(0,0,14,w(n));a=i.insert((()=>t)),a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else a=i.insert("circle",":first-child"),a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return d(e,a),e.intersect=function(t){return H.circle(e,7,t)},i}async function Qt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),s=(e?.padding||0)/2,l=a.width+e.padding,u=a.height+e.padding,f=-a.width/2-s,g=-a.height/2-s,y=[{x:0,y:0},{x:l,y:0},{x:l,y:-u},{x:0,y:-u},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-u},{x:-8,y:-u},{x:-8,y:0}];if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=t.rectangle(f-8,g,l+16,u,r),a=t.line(f,g,f,g+u,r),s=t.line(f+l,g,f+l,g+u,r);i.insert((()=>a),":first-child"),i.insert((()=>s),":first-child");const h=i.insert((()=>n),":first-child"),{cssStyles:p}=e;h.attr("class","basic label-container").attr("style",(0,o.KL)(p)),d(e,h)}else{const t=V(i,l,u,y);n&&t.attr("style",n),d(e,t)}return e.intersect=function(t){return H.polygon(e,y,t)},i}async function Jt(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=Math.max(a.width+2*(e.padding??0),e?.width??0),s=Math.max(a.height+2*(e.padding??0),e?.height??0),l=-o/2,u=-s/2,g=.2*s,y=.2*s,{cssStyles:m}=e,x=c.A.svg(i),b=T(e,{}),k=[{x:l-g/2,y:u},{x:l+o+g/2,y:u},{x:l+o+g/2,y:u+s},{x:l-g/2,y:u+s}],C=[{x:l+o-g/2,y:u+s},{x:l+o+g/2,y:u+s},{x:l+o+g/2,y:u+s-y}];"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");const w=f(k),_=x.path(w,b),v=f(C),A=x.path(v,{...b,fillStyle:"solid"}),M=i.insert((()=>A),":first-child");return M.insert((()=>_),":first-child"),M.attr("class","basic label-container"),m&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",m),n&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",n),d(e,M),e.intersect=function(t){return H.polygon(e,k,t)},i}async function te(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=Math.max(a.width+2*(e.padding??0),e?.width??0),l=Math.max(a.height+2*(e.padding??0),e?.height??0),u=l/4,y=.2*s,m=.2*l,x=l+u,{cssStyles:b}=e,k=c.A.svg(i),C=T(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");const w=[{x:-s/2-s/2*.1,y:x/2},...g(-s/2-s/2*.1,x/2,s/2+s/2*.1,x/2,u,.8),{x:s/2+s/2*.1,y:-x/2},{x:-s/2-s/2*.1,y:-x/2}],_=-s/2+s/2*.1,v=-x/2-.4*m,A=[{x:_+s-y,y:1.4*(v+l)},{x:_+s,y:v+l-m},{x:_+s,y:.9*(v+l)},...g(_+s,1.3*(v+l),_+s-y,1.5*(v+l),.03*-l,.5)],M=f(w),B=k.path(M,C),L=f(A),F=k.path(L,{...C,fillStyle:"solid"}),$=i.insert((()=>F),":first-child");return $.insert((()=>B),":first-child"),$.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",b),n&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",n),$.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u/2-(a.y-(a.top??0))})`),d(e,$),e.intersect=function(t){return H.polygon(e,w,t)},i}async function ee(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=Math.max(a.width+e.padding,e?.width||0),s=Math.max(a.height+e.padding,e?.height||0),l=-o/2,c=-s/2,u=i.insert("rect",":first-child");return u.attr("class","text").attr("style",n).attr("rx",0).attr("ry",0).attr("x",l).attr("y",c).attr("width",o).attr("height",s),d(e,u),e.intersect=function(t){return H.rect(e,t)},i}(0,s.K2)(jt,"question"),(0,s.K2)(Kt,"rect_left_inv_arrow"),(0,s.K2)(qt,"rectWithTitle"),(0,s.K2)(Wt,"roundedRect"),(0,s.K2)(Ht,"shadedProcess"),(0,s.K2)(Ut,"slopedRect"),(0,s.K2)(Yt,"squareRect"),(0,s.K2)(Gt,"stadium"),(0,s.K2)(Vt,"state"),(0,s.K2)(Zt,"stateEnd"),(0,s.K2)(Xt,"stateStart"),(0,s.K2)(Qt,"subroutine"),(0,s.K2)(Jt,"taggedRect"),(0,s.K2)(te,"taggedWaveEdgedRectangle"),(0,s.K2)(ee,"text");var re=(0,s.K2)(((t,e,r,n,i,a)=>`M${t},${e}\n a${i},${a} 0,0,1 0,${-n}\n l${r},0\n a${i},${a} 0,0,1 0,${n}\n M${r},${-n}\n a${i},${a} 0,0,0 0,${n}\n l${-r},0`),"createCylinderPathD"),ne=(0,s.K2)(((t,e,r,n,i,a)=>[`M${t},${e}`,`M${t+r},${e}`,`a${i},${a} 0,0,0 0,${-n}`,`l${-r},0`,`a${i},${a} 0,0,0 0,${n}`,`l${r},0`].join(" ")),"createOuterCylinderPathD"),ie=(0,s.K2)(((t,e,r,n,i,a)=>[`M${t+r/2},${-n/2}`,`a${i},${a} 0,0,0 0,${n}`].join(" ")),"createInnerCylinderPathD");async function ae(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:s,halfPadding:l}=await h(t,e,p(e)),u="neo"===e.look?2*l:l,f=a.height+u,g=f/2,y=g/(2.5+f/50),m=a.width+y+u,{cssStyles:x}=e;let b;if("handDrawn"===e.look){const t=c.A.svg(i),r=ne(0,0,m,f,y,g),n=ie(0,0,m,f,y,g),a=t.path(r,T(e,{})),o=t.path(n,T(e,{fill:"none"}));b=i.insert((()=>o),":first-child"),b=i.insert((()=>a),":first-child"),b.attr("class","basic label-container"),x&&b.attr("style",x)}else{const t=re(0,0,m,f,y,g);b=i.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.KL)(x)).attr("style",n),b.attr("class","basic label-container"),x&&b.selectAll("path").attr("style",x),n&&b.selectAll("path").attr("style",n)}return b.attr("label-offset-x",y),b.attr("transform",`translate(${-m/2}, ${f/2} )`),s.attr("transform",`translate(${-a.width/2-y-(a.x-(a.left??0))}, ${-a.height/2-(a.y-(a.top??0))})`),d(e,b),e.intersect=function(t){const r=H.rect(e,t),n=r.y-(e.y??0);if(0!=g&&(Math.abs(n)<(e.height??0)/2||Math.abs(n)==(e.height??0)/2&&Math.abs(r.x-(e.x??0))>(e.width??0)/2-y)){let i=y*y*(1-n*n/(g*g));0!=i&&(i=Math.sqrt(i)),i=y-i,t.x-(e.x??0)>0&&(i=-i),r.x+=i}return r},i}async function oe(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=a.width+e.padding,s=a.height+e.padding,l=[{x:-3*s/6,y:0},{x:o+3*s/6,y:0},{x:o,y:-s},{x:0,y:-s}];let u;const{cssStyles:g}=e;if("handDrawn"===e.look){const t=c.A.svg(i),r=T(e,{}),n=f(l),a=t.path(n,r);u=i.insert((()=>a),":first-child").attr("transform",`translate(${-o/2}, ${s/2})`),g&&u.attr("style",g)}else u=V(i,o,s,l);return n&&u.attr("style",n),e.width=o,e.height=s,d(e,u),e.intersect=function(t){return H.polygon(e,l,t)},i}async function se(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=Math.max(60,a.width+2*(e.padding??0),e?.width??0),s=Math.max(20,a.height+2*(e.padding??0),e?.height??0),{cssStyles:l}=e,u=c.A.svg(i),g=T(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");const y=[{x:-o/2*.8,y:-s/2},{x:o/2*.8,y:-s/2},{x:o/2,y:-s/2*.6},{x:o/2,y:s/2},{x:-o/2,y:s/2},{x:-o/2,y:-s/2*.6}],m=f(y),x=u.path(m,g),b=i.insert((()=>x),":first-child");return b.attr("class","basic label-container"),l&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",l),n&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",n),d(e,b),e.intersect=function(t){return H.polygon(e,y,t)},i}async function le(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),l=(0,s._3)((0,s.D7)().flowchart?.htmlLabels),u=a.width+(e.padding??0),g=u+a.height,y=u+a.height,m=[{x:0,y:0},{x:y,y:0},{x:y/2,y:-g}],{cssStyles:x}=e,b=c.A.svg(i),k=T(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");const C=f(m),w=b.path(C,k),_=i.insert((()=>w),":first-child").attr("transform",`translate(${-g/2}, ${g/2})`);return x&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",x),n&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",n),e.width=u,e.height=g,d(e,_),o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${g/2-(a.height+(e.padding??0)/(l?2:1)-(a.y-(a.top??0)))})`),e.intersect=function(t){return s.Rm.info("Triangle intersect",e,m,t),H.polygon(e,m,t)},i}async function ce(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=Math.max(a.width+2*(e.padding??0),e?.width??0),l=Math.max(a.height+2*(e.padding??0),e?.height??0),u=l/8,y=l+u,{cssStyles:m}=e,x=70-s,b=x>0?x/2:0,k=c.A.svg(i),C=T(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");const w=[{x:-s/2-b,y:y/2},...g(-s/2-b,y/2,s/2+b,y/2,u,.8),{x:s/2+b,y:-y/2},{x:-s/2-b,y:-y/2}],_=f(w),v=k.path(_,C),A=i.insert((()=>v),":first-child");return A.attr("class","basic label-container"),m&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",m),n&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",n),A.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u-(a.y-(a.top??0))})`),d(e,A),e.intersect=function(t){return H.polygon(e,w,t)},i}async function he(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a}=await h(t,e,p(e)),o=Math.max(a.width+2*(e.padding??0),e?.width??0),s=Math.max(a.height+2*(e.padding??0),e?.height??0),l=o/s;let u=o,y=s;u>y*l?y=u/l:u=y*l,u=Math.max(u,100),y=Math.max(y,50);const m=Math.min(.2*y,y/4),x=y+2*m,{cssStyles:b}=e,k=c.A.svg(i),C=T(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");const w=[{x:-u/2,y:x/2},...g(-u/2,x/2,u/2,x/2,m,1),{x:u/2,y:-x/2},...g(u/2,-x/2,-u/2,-x/2,m,-1)],_=f(w),v=k.path(_,C),A=i.insert((()=>v),":first-child");return A.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",b),n&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",n),d(e,A),e.intersect=function(t){return H.polygon(e,w,t)},i}async function ue(t,e){const{labelStyles:r,nodeStyles:n}=S(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,label:o}=await h(t,e,p(e)),s=Math.max(a.width+2*(e.padding??0),e?.width??0),l=Math.max(a.height+2*(e.padding??0),e?.height??0),u=-s/2,f=-l/2,{cssStyles:g}=e,y=c.A.svg(i),m=T(e,{}),x=[{x:u-5,y:f-5},{x:u-5,y:f+l},{x:u+s,y:f+l},{x:u+s,y:f-5}],b=`M${u-5},${f-5} L${u+s},${f-5} L${u+s},${f+l} L${u-5},${f+l} L${u-5},${f-5}\n M${u-5},${f} L${u+s},${f}\n M${u},${f-5} L${u},${f+l}`;"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");const k=y.path(b,m),C=i.insert((()=>k),":first-child");return C.attr("transform","translate(2.5, 2.5)"),C.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",g),n&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",n),o.attr("transform",`translate(${-a.width/2+2.5-(a.x-(a.left??0))}, ${-a.height/2+2.5-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return H.polygon(e,x,t)},i}async function de(t,e,r,n,i=r.class.padding??12){const a=n?0:3,o=t.insert("g").attr("class",p(e)).attr("id",e.domId||e.id);let s=null,l=null,c=null,h=null,u=0,d=0,f=0;if(s=o.insert("g").attr("class","annotation-group text"),e.annotations.length>0){const t=e.annotations[0];await pe(s,{text:`\xab${t}\xbb`},0);u=s.node().getBBox().height}l=o.insert("g").attr("class","label-group text"),await pe(l,e,0,["font-weight: bolder"]);const g=l.node().getBBox();d=g.height,c=o.insert("g").attr("class","members-group text");let y=0;for(const p of e.members){y+=await pe(c,p,y,[p.parseClassifier()])+a}f=c.node().getBBox().height,f<=0&&(f=i/2),h=o.insert("g").attr("class","methods-group text");let m=0;for(const p of e.methods){m+=await pe(h,p,m,[p.parseClassifier()])+a}let x=o.node().getBBox();if(null!==s){const t=s.node().getBBox();s.attr("transform",`translate(${-t.width/2})`)}return l.attr("transform",`translate(${-g.width/2}, ${u})`),x=o.node().getBBox(),c.attr("transform",`translate(0, ${u+d+2*i})`),x=o.node().getBBox(),h.attr("transform",`translate(0, ${u+d+(f?f+4*i:2*i)})`),x=o.node().getBBox(),{shapeSvg:o,bbox:x}}async function pe(t,e,r,n=[]){const i=t.insert("g").attr("class","label").attr("style",n.join("; ")),c=(0,s.zj)();let h="useHtmlLabels"in e?e.useHtmlLabels:(0,s._3)(c.htmlLabels)??!0,u="";u="text"in e?e.text:e.label,!h&&u.startsWith("\\")&&(u=u.substring(1)),(0,s.Wi)(u)&&(h=!0);const d=await(0,a.GZ)(i,(0,s.oB)((0,o.Sm)(u)),{width:(0,o.Un)(u,c)+50,classes:"markdown-node-label",useHtmlLabels:h},c);let p,f=1;if(h){const t=d.children[0],e=(0,l.Ltv)(d);f=t.innerHTML.split("<br>").length,t.innerHTML.includes("</math>")&&(f+=t.innerHTML.split("<mrow>").length-1);const r=t.getElementsByTagName("img");if(r){const t=""===u.replace(/<img[^>]*>/g,"").trim();await Promise.all([...r].map((e=>new Promise((r=>{function n(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=c.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,r=5,n=parseInt(t,10)*r+"px";e.style.minWidth=n,e.style.maxWidth=n}else e.style.width="100%";r(e)}(0,s.K2)(n,"setupImage"),setTimeout((()=>{e.complete&&n()})),e.addEventListener("error",n),e.addEventListener("load",n)})))))}p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}else{n.includes("font-weight: bolder")&&(0,l.Ltv)(d).selectAll("tspan").attr("font-weight",""),f=d.children.length;const t=d.children[0];if(""===d.textContent||d.textContent.includes(">")){t.textContent=u[0]+u.substring(1).replaceAll(">",">").replaceAll("<","<").trim();" "===u[1]&&(t.textContent=t.textContent[0]+" "+t.textContent.substring(1))}"undefined"===t.textContent&&(t.textContent=""),p=d.getBBox()}return i.attr("transform","translate(0,"+(-p.height/(2*f)+r)+")"),p.height}async function fe(t,e){const r=(0,s.D7)(),n=r.class.padding??12,i=n,a=e.useHtmlLabels??(0,s._3)(r.htmlLabels)??!0,o=e;o.annotations=o.annotations??[],o.members=o.members??[],o.methods=o.methods??[];const{shapeSvg:h,bbox:u}=await de(t,e,r,a,i),{labelStyles:p,nodeStyles:f}=S(e);e.labelStyle=p,e.cssStyles=o.styles||"";const g=o.styles?.join(";")||f||"";e.cssStyles||(e.cssStyles=g.replaceAll("!important","").split(";"));const y=0===o.members.length&&0===o.methods.length&&!r.class?.hideEmptyMembersBox,m=c.A.svg(h),x=T(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const b=u.width;let k=u.height;0===o.members.length&&0===o.methods.length?k+=i:o.members.length>0&&0===o.methods.length&&(k+=2*i);const C=-b/2,w=-k/2,_=m.rectangle(C-n,w-n-(y?n:0===o.members.length&&0===o.methods.length?-n/2:0),b+2*n,k+2*n+(y?2*n:0===o.members.length&&0===o.methods.length?-n:0),x),v=h.insert((()=>_),":first-child");v.attr("class","basic label-container");const A=v.node().getBBox();h.selectAll(".text").each(((t,e,r)=>{const i=(0,l.Ltv)(r[e]),s=i.attr("transform");let c=0;if(s){const t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(s);t&&(c=parseFloat(t[2]))}let u=c+w+n-(y?n:0===o.members.length&&0===o.methods.length?-n/2:0);a||(u-=4);let d=C;(i.attr("class").includes("label-group")||i.attr("class").includes("annotation-group"))&&(d=-i.node()?.getBBox().width/2||0,h.selectAll("text").each((function(t,e,r){"middle"===window.getComputedStyle(r[e]).textAnchor&&(d=0)}))),i.attr("transform",`translate(${d}, ${u})`)}));const M=h.select(".annotation-group").node().getBBox().height-(y?n/2:0)||0,B=h.select(".label-group").node().getBBox().height-(y?n/2:0)||0,L=h.select(".members-group").node().getBBox().height-(y?n/2:0)||0;if(o.members.length>0||o.methods.length>0||y){const t=m.line(A.x,M+B+w+n,A.x+A.width,M+B+w+n,x);h.insert((()=>t)).attr("class","divider").attr("style",g)}if(y||o.members.length>0||o.methods.length>0){const t=m.line(A.x,M+B+L+w+2*i+n,A.x+A.width,M+B+L+w+n+2*i,x);h.insert((()=>t)).attr("class","divider").attr("style",g)}if("handDrawn"!==o.look&&h.selectAll("path").attr("style",g),v.select(":nth-child(2)").attr("style",g),h.selectAll(".divider").select("path").attr("style",g),e.labelStyle?h.selectAll("span").attr("style",e.labelStyle):h.selectAll("span").attr("style",g),!a){const t=RegExp(/color\s*:\s*([^;]*)/),e=t.exec(g);if(e){const t=e[0].replace("color","fill");h.selectAll("tspan").attr("style",t)}else if(p){const e=t.exec(p);if(e){const t=e[0].replace("color","fill");h.selectAll("tspan").attr("style",t)}}}return d(e,v),e.intersect=function(t){return H.rect(e,t)},h}(0,s.K2)(ae,"tiltedCylinder"),(0,s.K2)(oe,"trapezoid"),(0,s.K2)(se,"trapezoidalPentagon"),(0,s.K2)(le,"triangle"),(0,s.K2)(ce,"waveEdgedRectangle"),(0,s.K2)(he,"waveRectangle"),(0,s.K2)(ue,"windowPane"),(0,s.K2)(de,"textHelper"),(0,s.K2)(pe,"addText"),(0,s.K2)(fe,"classBox");var ge=(0,s.K2)((t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}}),"colorFromPriority");async function ye(t,e,{config:r}){const{labelStyles:n,nodeStyles:i}=S(e);e.labelStyle=n||"";const a=e.width;e.width=(e.width??200)-10;const{shapeSvg:o,bbox:s,label:l}=await h(t,e,p(e)),f=e.padding||10;let g,y="";"ticket"in e&&e.ticket&&r?.kanban?.ticketBaseUrl&&(y=r?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),g=o.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",y).attr("target","_blank"));const m={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1};let x,b;({label:x,bbox:b}=g?await u(g,"ticket"in e&&e.ticket||"",m):await u(o,"ticket"in e&&e.ticket||"",m));const{label:k,bbox:w}=await u(o,"assigned"in e&&e.assigned||"",m);e.width=a;const _=e?.width||0,v=Math.max(b.height,w.height)/2,A=Math.max(s.height+20,e?.height||0)+v,M=-_/2,B=-A/2;let L;l.attr("transform","translate("+(f-_/2)+", "+(-v-s.height/2)+")"),x.attr("transform","translate("+(f-_/2)+", "+(-v+s.height/2)+")"),k.attr("transform","translate("+(f+_/2-w.width-20)+", "+(-v+s.height/2)+")");const{rx:F,ry:$}=e,{cssStyles:E}=e;if("handDrawn"===e.look){const t=c.A.svg(o),r=T(e,{}),n=F||$?t.path(C(M,B,_,A,F||0),r):t.rectangle(M,B,_,A,r);L=o.insert((()=>n),":first-child"),L.attr("class","basic label-container").attr("style",E||null)}else{L=o.insert("rect",":first-child"),L.attr("class","basic label-container __APA__").attr("style",i).attr("rx",F??5).attr("ry",$??5).attr("x",M).attr("y",B).attr("width",_).attr("height",A);const t="priority"in e&&e.priority;if(t){const e=o.append("line"),r=M+2,n=B+Math.floor((F??0)/2),i=B+A-Math.floor((F??0)/2);e.attr("x1",r).attr("y1",n).attr("x2",r).attr("y2",i).attr("stroke-width","4").attr("stroke",ge(t))}}return d(e,L),e.height=A,e.intersect=function(t){return H.rect(e,t)},o}(0,s.K2)(ye,"kanbanItem");var me=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:Yt},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:Wt},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:Gt},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:Qt},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:ut},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:Q},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:jt},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:bt},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:Lt},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:Bt},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:oe},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:Tt},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:pt},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:ee},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:Z},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:Ht},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:Xt},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:Zt},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:yt},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:kt},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:rt},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:it},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:ot},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:Ft},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:ce},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:mt},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:ae},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:Ot},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:st},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:dt},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:le},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:ue},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:ft},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:se},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:gt},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:Ut},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:Rt},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:It},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:G},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:tt},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:te},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:Jt},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:he},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:Kt},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:Nt}],xe=(0,s.K2)((()=>{const t={state:Vt,choice:X,note:Pt,rectWithTitle:qt,labelRect:Mt,iconSquare:vt,iconCircle:wt,icon:Ct,iconRounded:_t,imageSquare:St,anchor:U,kanbanItem:ye,classBox:fe},e=[...Object.entries(t),...me.flatMap((t=>[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]].map((e=>[e,t.handler]))))];return Object.fromEntries(e)}),"generateShapeMap")();function be(t){return t in xe}(0,s.K2)(be,"isValidShape");var ke=new Map;async function Ce(t,e,r){let n,i;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");const a=e.shape?xe[e.shape]:void 0;if(!a)throw new Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let o;"sandbox"===r.config.securityLevel?o="_top":e.linkTarget&&(o=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",o??null),i=await a(n,e,r)}else i=await a(t,e,r),n=i;return e.tooltip&&i.attr("title",e.tooltip),ke.set(e.id,n),e.haveCallback&&n.attr("class",n.attr("class")+" clickable"),n}(0,s.K2)(Ce,"insertNode");var we=(0,s.K2)(((t,e)=>{ke.set(e.id,t)}),"setNodeElem"),_e=(0,s.K2)((()=>{ke.clear()}),"clear"),ve=(0,s.K2)((t=>{const e=ke.get(t.id);s.Rm.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r}),"positionNode")},85039:(t,e,r)=>{"use strict";r.d(e,{$C:()=>A,$t:()=>q,C4:()=>H,I5:()=>K,Ib:()=>g,KL:()=>G,Sm:()=>U,Un:()=>O,_K:()=>W,bH:()=>$,dq:()=>z,pe:()=>l,rY:()=>Y,ru:()=>D,sM:()=>S,vU:()=>p,yT:()=>B});var n=r(45567),i=r(16750),a=r(20007),o=r(46632),s=r(42837),l="\u200b",c={curveBasis:a.qrM,curveBasisClosed:a.Yu4,curveBasisOpen:a.IA3,curveBumpX:a.Wi0,curveBumpY:a.PGM,curveBundle:a.OEq,curveCardinalClosed:a.olC,curveCardinalOpen:a.IrU,curveCardinal:a.y8u,curveCatmullRomClosed:a.Q7f,curveCatmullRomOpen:a.cVp,curveCatmullRom:a.oDi,curveLinear:a.lUB,curveLinearClosed:a.Lx9,curveMonotoneX:a.nVG,curveMonotoneY:a.uxU,curveNatural:a.Xf2,curveStep:a.GZz,curveStepAfter:a.UPb,curveStepBefore:a.dyv},h=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,u=(0,n.K2)((function(t,e){const r=d(t,/(?:init\b)|(?:initialize\b)/);let i={};if(Array.isArray(r)){const t=r.map((t=>t.args));(0,n.$i)(t),i=(0,n.hH)(i,[...t])}else i=r.args;if(!i)return;let a=(0,n.Ch)(t,e);const o="config";return void 0!==i[o]&&("flowchart-v2"===a&&(a="flowchart"),i[a]=i[o],delete i[o]),i}),"detectInit"),d=(0,n.K2)((function(t,e=null){try{const r=new RegExp(`[%]{2}(?![{]${h.source})(?=[}][%]{2}).*\n`,"ig");let i;t=t.trim().replace(r,"").replace(/'/gm,'"'),n.Rm.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const a=[];for(;null!==(i=n.DB.exec(t));)if(i.index===n.DB.lastIndex&&n.DB.lastIndex++,i&&!e||e&&i[1]?.match(e)||e&&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;a.push({type:t,args:e})}return 0===a.length?{type:t,args:null}:1===a.length?a[0]:a}catch(r){return n.Rm.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}}),"detectDirective"),p=(0,n.K2)((function(t){return t.replace(n.DB,"")}),"removeDirectives"),f=(0,n.K2)((function(t,e){for(const[r,n]of e.entries())if(n.match(t))return r;return-1}),"isSubstringInArray");function g(t,e){if(!t)return e;const r=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return c[r]??e}function y(t,e){const r=t.trim();if(r)return"loose"!==e.securityLevel?(0,i.J)(r):r}(0,n.K2)(g,"interpolateToCurve"),(0,n.K2)(y,"formatUrl");var m=(0,n.K2)(((t,...e)=>{const r=t.split("."),i=r.length-1,a=r[i];let o=window;for(let s=0;s<i;s++)if(o=o[r[s]],!o)return void n.Rm.error(`Function name: ${t} not found in window`);o[a](...e)}),"runFunc");function x(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function b(t){let e,r=0;t.forEach((t=>{r+=x(t,e),e=t}));return w(t,r/2)}function k(t){return 1===t.length?t[0]:b(t)}(0,n.K2)(x,"distance"),(0,n.K2)(b,"traverseEdge"),(0,n.K2)(k,"calcLabelPosition");var C=(0,n.K2)(((t,e=2)=>{const r=Math.pow(10,e);return Math.round(t*r)/r}),"roundNumber"),w=(0,n.K2)(((t,e)=>{let r,n=e;for(const i of t){if(r){const t=x(i,r);if(t<n)n-=t;else{const e=n/t;if(e<=0)return r;if(e>=1)return{x:i.x,y:i.y};if(e>0&&e<1)return{x:C((1-e)*r.x+e*i.x,5),y:C((1-e)*r.y+e*i.y,5)}}}r=i}throw new Error("Could not find a suitable point for the given distance")}),"calculatePoint"),_=(0,n.K2)(((t,e,r)=>{n.Rm.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());const i=w(e,25),a=t?10:5,o=Math.atan2(e[0].y-i.y,e[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(o)*a+(e[0].x+i.x)/2,s.y=-Math.cos(o)*a+(e[0].y+i.y)/2,s}),"calcCardinalityPosition");function v(t,e,r){const i=structuredClone(r);n.Rm.info("our points",i),"start_left"!==e&&"start_right"!==e&&i.reverse();const a=w(i,25+t),o=10+.5*t,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(s+Math.PI)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s+Math.PI)*o+(i[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s-Math.PI)*o+(i[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2-5):(l.x=Math.sin(s)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2),l}function S(t){let e="",r="";for(const n of t)void 0!==n&&(n.startsWith("color:")||n.startsWith("text-align:")?r=r+n+";":e=e+n+";");return{style:e,labelStyle:r}}(0,n.K2)(v,"calcTerminalLabelPosition"),(0,n.K2)(S,"getStylesFromArray");var T=0,A=(0,n.K2)((()=>(T++,"id-"+Math.random().toString(36).substr(2,12)+"-"+T)),"generateId");function M(t){let e="";const r="0123456789abcdef";for(let n=0;n<t;n++)e+=r.charAt(Math.floor(16*Math.random()));return e}(0,n.K2)(M,"makeRandomHex");var B=(0,n.K2)((t=>M(t.length)),"random"),L=(0,n.K2)((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,text:""}}),"getTextObj"),F=(0,n.K2)((function(t,e){const r=e.text.replace(n.Y2.lineBreakRegex," "),[,i]=K(e.fontSize),a=t.append("text");a.attr("x",e.x),a.attr("y",e.y),a.style("text-anchor",e.anchor),a.style("font-family",e.fontFamily),a.style("font-size",i),a.style("font-weight",e.fontWeight),a.attr("fill",e.fill),void 0!==e.class&&a.attr("class",e.class);const o=a.append("tspan");return o.attr("x",e.x+2*e.textMargin),o.attr("fill",e.fill),o.text(r),a}),"drawSimpleText"),$=(0,o.A)(((t,e,r)=>{if(!t)return t;if(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),n.Y2.lineBreakRegex.test(t))return t;const i=t.split(" ").filter(Boolean),a=[];let o="";return i.forEach(((t,n)=>{const s=O(`${t} `,r),l=O(o,r);if(s>e){const{hyphenatedStrings:n,remainingWord:i}=E(t,e,"-",r);a.push(o,...n),o=i}else l+s>=e?(a.push(o),o=t):o=[o,t].filter(Boolean).join(" ");n+1===i.length&&a.push(o)})),a.filter((t=>""!==t)).join(r.joinWith)}),((t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`)),E=(0,o.A)(((t,e,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);const i=[...t],a=[];let o="";return i.forEach(((t,s)=>{const l=`${o}${t}`;if(O(l,n)>=e){const t=s+1,e=i.length===t,n=`${l}${r}`;a.push(e?l:n),o=""}else o=l})),{hyphenatedStrings:a,remainingWord:o}}),((t,e,r="-",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`));function D(t,e){return I(t,e).height}function O(t,e){return I(t,e).width}(0,n.K2)(D,"calculateTextHeight"),(0,n.K2)(O,"calculateTextWidth");var N,I=(0,o.A)(((t,e)=>{const{fontSize:r=12,fontFamily:i="Arial",fontWeight:o=400}=e;if(!t)return{width:0,height:0};const[,s]=K(r),c=["sans-serif",i],h=t.split(n.Y2.lineBreakRegex),u=[],d=(0,a.Ltv)("body");if(!d.remove)return{width:0,height:0,lineHeight:0};const p=d.append("svg");for(const n of c){let t=0;const e={width:0,height:0,lineHeight:0};for(const r of h){const i=L();i.text=r||l;const a=F(p,i).style("font-size",s).style("font-weight",o).style("font-family",n),c=(a._groups||a)[0][0].getBBox();if(0===c.width&&0===c.height)throw new Error("svg element not in render tree");e.width=Math.round(Math.max(e.width,c.width)),t=Math.round(c.height),e.height+=t,e.lineHeight=Math.round(Math.max(e.lineHeight,t))}u.push(e)}p.remove();return u[isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`)),R=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,n.K2)(this,"InitIDGenerator")}},P=(0,n.K2)((function(t){return N=N||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),N.innerHTML=t,unescape(N.textContent)}),"entityDecode");function z(t){return"str"in t}(0,n.K2)(z,"isDetailedError");var j=(0,n.K2)(((t,e,r,n)=>{if(!n)return;const i=t.node()?.getBBox();i&&t.append("text").text(n).attr("text-anchor","middle").attr("x",i.x+i.width/2).attr("y",-r).attr("class",e)}),"insertTitle"),K=(0,n.K2)((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]}),"parseFontSize");function q(t,e){return(0,s.A)({},t,e)}(0,n.K2)(q,"cleanAndMerge");var W={assignWithDepth:n.hH,wrapLabel:$,calculateTextHeight:D,calculateTextWidth:O,calculateTextDimensions:I,cleanAndMerge:q,detectInit:u,detectDirective:d,isSubstringInArray:f,interpolateToCurve:g,calcLabelPosition:k,calcCardinalityPosition:_,calcTerminalLabelPosition:v,formatUrl:y,getStylesFromArray:S,generateId:A,random:B,runFunc:m,entityDecode:P,insertTitle:j,parseFontSize:K,InitIDGenerator:R},H=(0,n.K2)((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}),"encodeEntities"),U=(0,n.K2)((function(t){return t.replace(/\ufb02\xb0\xb0/g,"&#").replace(/\ufb02\xb0/g,"&").replace(/\xb6\xdf/g,";")}),"decodeEntities"),Y=(0,n.K2)(((t,e,{counter:r=0,prefix:n,suffix:i})=>`${n?`${n}_`:""}${t}_${e}_${r}${i?`_${i}`:""}`),"getEdgeId");function G(t){return t??null}(0,n.K2)(G,"handleUndefinedAttr")},45567:(t,e,r)=>{"use strict";r.d(e,{C0:()=>S,VA:()=>m,K2:()=>y,xA:()=>ut,hH:()=>$,Dl:()=>zt,IU:()=>re,Wt:()=>Xt,Y2:()=>Kt,a$:()=>Ht,sb:()=>J,ME:()=>pe,UI:()=>Z,Ch:()=>A,mW:()=>T,DB:()=>_,_3:()=>Lt,EJ:()=>w,m7:()=>oe,iN:()=>ie,zj:()=>ct,D7:()=>ue,Gs:()=>be,J$:()=>L,ab:()=>le,Q2:()=>st,P$:()=>j,Wi:()=>Pt,H1:()=>mt,Rm:()=>b,QO:()=>Et,Js:()=>xe,Xd:()=>M,VJ:()=>jt,cL:()=>dt,$i:()=>X,jZ:()=>_t,oB:()=>fe,wZ:()=>at,EI:()=>ae,SV:()=>ne,Nk:()=>lt,XV:()=>de,ke:()=>se,He:()=>k,UU:()=>it,ot:()=>Ut,mj:()=>ge,tM:()=>Zt,H$:()=>H,B6:()=>ot});var n=r(74353),i=r(74886),a=r(8232);const o=(t,e)=>{const r=i.A.parse(t),n={};for(const i in e)e[i]&&(n[i]=r[i]+e[i]);return(0,a.A)(t,n)};var s=r(25582);const l=(t,e,r=50)=>{const{r:n,g:a,b:o,a:l}=i.A.parse(t),{r:c,g:h,b:u,a:d}=i.A.parse(e),p=r/100,f=2*p-1,g=l-d,y=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,m=1-y,x=n*y+c*m,b=a*y+h*m,k=o*y+u*m,C=l*p+d*(1-p);return(0,s.A)(x,b,k,C)},c=(t,e=100)=>{const r=i.A.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,l(r,t,e)};var h,u=r(75263),d=r(78041),p=r(3219),f=r(42838),g=Object.defineProperty,y=(t,e)=>g(t,"name",{value:e,configurable:!0}),m=(t,e)=>{for(var r in e)g(t,r,{get:e[r],enumerable:!0})},x={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},b={trace:y(((...t)=>{}),"trace"),debug:y(((...t)=>{}),"debug"),info:y(((...t)=>{}),"info"),warn:y(((...t)=>{}),"warn"),error:y(((...t)=>{}),"error"),fatal:y(((...t)=>{}),"fatal")},k=y((function(t="fatal"){let e=x.fatal;"string"==typeof t?t.toLowerCase()in x&&(e=x[t]):"number"==typeof t&&(e=t),b.trace=()=>{},b.debug=()=>{},b.info=()=>{},b.warn=()=>{},b.error=()=>{},b.fatal=()=>{},e<=x.fatal&&(b.fatal=console.error?console.error.bind(console,C("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",C("FATAL"))),e<=x.error&&(b.error=console.error?console.error.bind(console,C("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",C("ERROR"))),e<=x.warn&&(b.warn=console.warn?console.warn.bind(console,C("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",C("WARN"))),e<=x.info&&(b.info=console.info?console.info.bind(console,C("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",C("INFO"))),e<=x.debug&&(b.debug=console.debug?console.debug.bind(console,C("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",C("DEBUG"))),e<=x.trace&&(b.trace=console.debug?console.debug.bind(console,C("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",C("TRACE")))}),"setLogLevel"),C=y((t=>`%c${n().format("ss.SSS")} : ${t} : `),"format"),w=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,_=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,v=/\s*%%.*\n/gm,S=class extends Error{static{y(this,"UnknownDiagramError")}constructor(t){super(t),this.name="UnknownDiagramError"}},T={},A=y((function(t,e){t=t.replace(w,"").replace(_,"").replace(v,"\n");for(const[r,{detector:n}]of Object.entries(T)){if(n(t,e))return r}throw new S(`No diagram type detected matching given configuration for text: ${t}`)}),"detectType"),M=y(((...t)=>{for(const{id:e,detector:r,loader:n}of t)B(e,r,n)}),"registerLazyLoadedDiagrams"),B=y(((t,e,r)=>{T[t]&&b.warn(`Detector with key ${t} already exists. Overwriting.`),T[t]={detector:e,loader:r},b.debug(`Detector with key ${t} added${r?" with loader":""}`)}),"addDetector"),L=y((t=>T[t].loader),"getDiagramLoader"),F=y(((t,e,{depth:r=2,clobber:n=!1}={})=>{const i={depth:r,clobber:n};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>F(t,e,i))),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((i=>{"object"!=typeof e[i]||void 0!==t[i]&&"object"!=typeof t[i]?(n||"object"!=typeof t[i]&&"object"!=typeof e[i])&&(t[i]=e[i]):(void 0===t[i]&&(t[i]=Array.isArray(e[i])?[]:{}),t[i]=F(t[i],e[i],{depth:r-1,clobber:n}))})),t)}),"assignWithDepth"),$=F,E="#ffffff",D="#f2f2f2",O=y(((t,e)=>o(t,e?{s:-40,l:10}:{s:-40,l:-10})),"mkBorder"),N=class{static{y(this,"Theme")}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||o(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||o(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||O(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||O(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||O(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,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?(0,u.A)(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||this.actorBorder,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||(0,u.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(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||(0,d.A)(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||o(this.primaryColor,{h:30}),this.cScale4=this.cScale4||o(this.primaryColor,{h:60}),this.cScale5=this.cScale5||o(this.primaryColor,{h:90}),this.cScale6=this.cScale6||o(this.primaryColor,{h:120}),this.cScale7=this.cScale7||o(this.primaryColor,{h:150}),this.cScale8=this.cScale8||o(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||o(this.primaryColor,{h:270}),this.cScale10=this.cScale10||o(this.primaryColor,{h:300}),this.cScale11=this.cScale11||o(this.primaryColor,{h:330}),this.darkMode)for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=(0,u.A)(this["cScale"+e],75);else for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=(0,u.A)(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||c(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this.darkMode?this["cScalePeer"+e]=this["cScalePeer"+e]||(0,d.A)(this["cScale"+e],10):this["cScalePeer"+e]=this["cScalePeer"+e]||(0,u.A)(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]||o(this.mainBkg,{h:180,s:-15,l:t*(5+3*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||o(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||o(this.primaryColor,{h:64}),this.fillType3=this.fillType3||o(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||o(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||o(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||o(this.primaryColor,{h:128}),this.fillType7=this.fillType7||o(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||o(this.primaryColor,{l:-10}),this.pie5=this.pie5||o(this.secondaryColor,{l:-10}),this.pie6=this.pie6||o(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||o(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||o(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||o(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||o(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||o(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||o(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.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||o(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||o(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||o(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||o(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||o(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||o(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,u.A)(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||o(this.primaryColor,{h:-30}),this.git4=this.git4||o(this.primaryColor,{h:-60}),this.git5=this.git5||o(this.primaryColor,{h:-90}),this.git6=this.git6||o(this.primaryColor,{h:60}),this.git7=this.git7||o(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)):(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(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||E,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||D}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]}))}},I=y((t=>{const e=new N;return e.calculate(t),e}),"getThemeVariables"),R=class{static{y(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,d.A)(this.primaryColor,16),this.tertiaryColor=o(this.primaryColor,{h:-160}),this.primaryBorderColor=c(this.background),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,d.A)(c("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=(0,s.A)(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=(0,u.A)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,u.A)(this.sectionBkgColor,10),this.taskBorderColor=(0,s.A)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,s.A)(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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,d.A)(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=(0,d.A)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,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=(0,d.A)(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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,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=o(this.primaryColor,{h:64}),this.fillType3=o(this.secondaryColor,{h:64}),this.fillType4=o(this.primaryColor,{h:-64}),this.fillType5=o(this.secondaryColor,{h:-64}),this.fillType6=o(this.primaryColor,{h:128}),this.fillType7=o(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||o(this.primaryColor,{h:30}),this.cScale4=this.cScale4||o(this.primaryColor,{h:60}),this.cScale5=this.cScale5||o(this.primaryColor,{h:90}),this.cScale6=this.cScale6||o(this.primaryColor,{h:120}),this.cScale7=this.cScale7||o(this.primaryColor,{h:150}),this.cScale8=this.cScale8||o(this.primaryColor,{h:210}),this.cScale9=this.cScale9||o(this.primaryColor,{h:270}),this.cScale10=this.cScale10||o(this.primaryColor,{h:300}),this.cScale11=this.cScale11||o(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||o(this.mainBkg,{h:30,s:-30,l:-(4*t-10)}),this["surfacePeer"+t]=this["surfacePeer"+t]||o(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.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||o(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||o(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||o(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||o(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||o(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||o(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,u.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,d.A)(this.secondaryColor,20),this.git1=(0,d.A)(this.pie2||this.secondaryColor,20),this.git2=(0,d.A)(this.pie3||this.tertiaryColor,20),this.git3=(0,d.A)(this.pie4||o(this.primaryColor,{h:-30}),20),this.git4=(0,d.A)(this.pie5||o(this.primaryColor,{h:-60}),20),this.git5=(0,d.A)(this.pie6||o(this.primaryColor,{h:-90}),10),this.git6=(0,d.A)(this.pie7||o(this.primaryColor,{h:60}),10),this.git7=(0,d.A)(this.pie8||o(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(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||(0,d.A)(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||(0,d.A)(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}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]}))}},P=y((t=>{const e=new R;return e.calculate(t),e}),"getThemeVariables"),z=class{static{y(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=o(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=o(this.primaryColor,{h:-160}),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(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="rgba(232,232,232, 0.8)",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="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="#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=(0,s.A)(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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",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||o(this.primaryColor,{h:30}),this.cScale4=this.cScale4||o(this.primaryColor,{h:60}),this.cScale5=this.cScale5||o(this.primaryColor,{h:90}),this.cScale6=this.cScale6||o(this.primaryColor,{h:120}),this.cScale7=this.cScale7||o(this.primaryColor,{h:150}),this.cScale8=this.cScale8||o(this.primaryColor,{h:210}),this.cScale9=this.cScale9||o(this.primaryColor,{h:270}),this.cScale10=this.cScale10||o(this.primaryColor,{h:300}),this.cScale11=this.cScale11||o(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,u.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,u.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,u.A)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||o(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||o(this.mainBkg,{h:30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||o(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||c(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||c(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=(0,d.A)(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.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,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=o(this.primaryColor,{h:64}),this.fillType3=o(this.secondaryColor,{h:64}),this.fillType4=o(this.primaryColor,{h:-64}),this.fillType5=o(this.secondaryColor,{h:-64}),this.fillType6=o(this.primaryColor,{h:128}),this.fillType7=o(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||o(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||o(this.primaryColor,{l:-10}),this.pie5=this.pie5||o(this.secondaryColor,{l:-30}),this.pie6=this.pie6||o(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||o(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||o(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||o(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||o(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||o(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||o(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.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||o(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||o(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||o(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||o(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||o(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||o(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",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||o(this.primaryColor,{h:-30}),this.git4=this.git4||o(this.primaryColor,{h:-60}),this.git5=this.git5||o(this.primaryColor,{h:-90}),this.git6=this.git6||o(this.primaryColor,{h:60}),this.git7=this.git7||o(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)):(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)),this.gitInv0=this.gitInv0||(0,u.A)(c(this.git0),25),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(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||E,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||D}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]}))}},j=y((t=>{const e=new z;return e.calculate(t),e}),"getThemeVariables"),K=class{static{y(this,"Theme")}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=(0,d.A)("#cde498",10),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.primaryColor),this.lineColor=c(this.background),this.textColor=c(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="calculated",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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,u.A)(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.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||o(this.primaryColor,{h:30}),this.cScale4=this.cScale4||o(this.primaryColor,{h:60}),this.cScale5=this.cScale5||o(this.primaryColor,{h:90}),this.cScale6=this.cScale6||o(this.primaryColor,{h:120}),this.cScale7=this.cScale7||o(this.primaryColor,{h:150}),this.cScale8=this.cScale8||o(this.primaryColor,{h:210}),this.cScale9=this.cScale9||o(this.primaryColor,{h:270}),this.cScale10=this.cScale10||o(this.primaryColor,{h:300}),this.cScale11=this.cScale11||o(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,u.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,u.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,u.A)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||o(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]||o(this.mainBkg,{h:30,s:-30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||o(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.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,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=o(this.primaryColor,{h:64}),this.fillType3=o(this.secondaryColor,{h:64}),this.fillType4=o(this.primaryColor,{h:-64}),this.fillType5=o(this.secondaryColor,{h:-64}),this.fillType6=o(this.primaryColor,{h:128}),this.fillType7=o(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||o(this.primaryColor,{l:-30}),this.pie5=this.pie5||o(this.secondaryColor,{l:-30}),this.pie6=this.pie6||o(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||o(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||o(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||o(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||o(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||o(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||o(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.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||o(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||o(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||o(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||o(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||o(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||o(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",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||o(this.primaryColor,{h:-30}),this.git4=this.git4||o(this.primaryColor,{h:-60}),this.git5=this.git5||o(this.primaryColor,{h:-90}),this.git6=this.git6||o(this.primaryColor,{h:60}),this.git7=this.git7||o(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)):(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(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||E,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||D}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]}))}},q=y((t=>{const e=new K;return e.calculate(t),e}),"getThemeVariables"),W=class{static{y(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,d.A)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=o(this.primaryColor,{h:-160}),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(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=this.actorBorder,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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,d.A)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,d.A)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,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.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]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(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]||o(this.mainBkg,{l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||o(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.sectionBkgColor=(0,d.A)(this.contrast,30),this.sectionBkgColor2=(0,d.A)(this.contrast,30),this.taskBorderColor=(0,u.A)(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=(0,d.A)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,u.A)(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,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=o(this.primaryColor,{h:64}),this.fillType3=o(this.secondaryColor,{h:64}),this.fillType4=o(this.primaryColor,{h:-64}),this.fillType5=o(this.secondaryColor,{h:-64}),this.fillType6=o(this.primaryColor,{h:128}),this.fillType7=o(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.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||o(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||o(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||o(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||o(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||o(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||o(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,d.A)(this.quadrant1Fill):(0,u.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",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=(0,u.A)(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||o(this.primaryColor,{h:-30}),this.git4=this.pie5||o(this.primaryColor,{h:-60}),this.git5=this.pie6||o(this.primaryColor,{h:-90}),this.git6=this.pie7||o(this.primaryColor,{h:60}),this.git7=this.pie8||o(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(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||E,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||D}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]}))}},H={base:{getThemeVariables:I},dark:{getThemeVariables:P},default:{getThemeVariables:j},forest:{getThemeVariables:q},neutral:{getThemeVariables:y((t=>{const e=new W;return e.calculate(t),e}),"getThemeVariables")}},U={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,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,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},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,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:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,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,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{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},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,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},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,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,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"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},Y={...U,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:H.default.getThemeVariables(),sequence:{...U.sequence,messageFont:y((function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}),"messageFont"),noteFont:y((function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}}),"noteFont"),actorFont:y((function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}),"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...U.gantt,tickInterval:void 0,useWidth:void 0},c4:{...U.c4,useWidth:void 0,personFont:y((function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}}),"personFont"),external_personFont:y((function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}}),"external_personFont"),systemFont:y((function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}}),"systemFont"),external_systemFont:y((function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}}),"external_systemFont"),system_dbFont:y((function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}}),"system_dbFont"),external_system_dbFont:y((function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}}),"external_system_dbFont"),system_queueFont:y((function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}}),"system_queueFont"),external_system_queueFont:y((function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}}),"external_system_queueFont"),containerFont:y((function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}}),"containerFont"),external_containerFont:y((function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}}),"external_containerFont"),container_dbFont:y((function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}}),"container_dbFont"),external_container_dbFont:y((function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}}),"external_container_dbFont"),container_queueFont:y((function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}}),"container_queueFont"),external_container_queueFont:y((function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}}),"external_container_queueFont"),componentFont:y((function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}}),"componentFont"),external_componentFont:y((function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}}),"external_componentFont"),component_dbFont:y((function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}}),"component_dbFont"),external_component_dbFont:y((function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}}),"external_component_dbFont"),component_queueFont:y((function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}}),"component_queueFont"),external_component_queueFont:y((function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}}),"external_component_queueFont"),boundaryFont:y((function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}}),"boundaryFont"),messageFont:y((function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}),"messageFont")},pie:{...U.pie,useWidth:984},xyChart:{...U.xyChart,useWidth:void 0},requirement:{...U.requirement,useWidth:void 0},packet:{...U.packet}},G=y(((t,e="")=>Object.keys(t).reduce(((r,n)=>Array.isArray(t[n])?r:"object"==typeof t[n]&&null!==t[n]?[...r,e+n,...G(t[n],"")]:[...r,e+n]),[])),"keyify"),V=new Set(G(Y,"")),Z=Y,X=y((t=>{if(b.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t)if(Array.isArray(t))t.forEach((t=>X(t)));else{for(const e of Object.keys(t)){if(b.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!V.has(e)||null==t[e]){b.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){b.debug("sanitizing object",e),X(t[e]);continue}const r=["themeCSS","fontFamily","altFontFamily"];for(const n of r)e.includes(n)&&(b.debug("sanitizing css option",e),t[e]=Q(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}b.debug("After sanitization",t)}}),"sanitizeDirective"),Q=y((t=>{let e=0,r=0;for(const n of t){if(e<r)return"{ /* ERROR: Unbalanced CSS */ }";"{"===n?e++:"}"===n&&r++}return e!==r?"{ /* ERROR: Unbalanced CSS */ }":t}),"sanitizeCss"),J=Object.freeze(Z),tt=$({},J),et=[],rt=$({},J),nt=y(((t,e)=>{let r=$({},t),n={};for(const i of e)ht(i),n=$(n,i);if(r=$(r,n),n.theme&&n.theme in H){const t=$({},h),e=$(t.themeVariables||{},n.themeVariables);r.theme&&r.theme in H&&(r.themeVariables=H[r.theme].getThemeVariables(e))}return yt(rt=r),rt}),"updateCurrentConfig"),it=y((t=>(tt=$({},J),tt=$(tt,t),t.theme&&H[t.theme]&&(tt.themeVariables=H[t.theme].getThemeVariables(t.themeVariables)),nt(tt,et),tt)),"setSiteConfig"),at=y((t=>{h=$({},t)}),"saveConfigFromInitialize"),ot=y((t=>(tt=$(tt,t),nt(tt,et),tt)),"updateSiteConfig"),st=y((()=>$({},tt)),"getSiteConfig"),lt=y((t=>(yt(t),$(rt,t),ct())),"setConfig"),ct=y((()=>$({},rt)),"getConfig"),ht=y((t=>{t&&(["secure",...tt.secure??[]].forEach((e=>{Object.hasOwn(t,e)&&(b.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{e.startsWith("__")&&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]&&ht(t[e])})))}),"sanitize"),ut=y((t=>{X(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),et.push(t),nt(tt,et)}),"addDirective"),dt=y(((t=tt)=>{nt(t,et=[])}),"reset"),pt={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},ft={},gt=y((t=>{ft[t]||(b.warn(pt[t]),ft[t]=!0)}),"issueWarning"),yt=y((t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&>("LAZY_LOAD_DEPRECATED")}),"checkConfig"),mt=/<br\s*\/?>/gi,xt=y((t=>{if(!t)return[""];return Mt(t).replace(/\\n/g,"#br#").split("#br#")}),"getRows"),bt=(()=>{let t=!1;return()=>{t||(kt(),t=!0)}})();function kt(){const t="data-temp-href-target";f.addHook("beforeSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")})),f.addHook("afterSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))}))}y(kt,"setupDompurifyHooks");var Ct=y((t=>{bt();return f.sanitize(t)}),"removeScript"),wt=y(((t,e)=>{if(!1!==e.flowchart?.htmlLabels){const r=e.securityLevel;"antiscript"===r||"strict"===r?t=Ct(t):"loose"!==r&&(t=(t=(t=Mt(t)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),t=At(t))}return t}),"sanitizeMore"),_t=y(((t,e)=>t?t=e.dompurifyConfig?f.sanitize(wt(t,e),e.dompurifyConfig).toString():f.sanitize(wt(t,e),{FORBID_TAGS:["style"]}).toString():t),"sanitizeText"),vt=y(((t,e)=>"string"==typeof t?_t(t,e):t.flat().map((t=>_t(t,e)))),"sanitizeTextOrArray"),St=y((t=>mt.test(t)),"hasBreaks"),Tt=y((t=>t.split(mt)),"splitBreaks"),At=y((t=>t.replace(/#br#/g,"<br/>")),"placeholderToBreak"),Mt=y((t=>t.replace(mt,"#br#")),"breakToPlaceholder"),Bt=y((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}),"getUrl"),Lt=y((t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),Ft=y((function(...t){const e=t.filter((t=>!isNaN(t)));return Math.max(...e)}),"getMax"),$t=y((function(...t){const e=t.filter((t=>!isNaN(t)));return Math.min(...e)}),"getMin"),Et=y((function(t){const e=t.split(/(,)/),r=[];for(let n=0;n<e.length;n++){let t=e[n];if(","===t&&n>0&&n+1<e.length){const i=e[n-1],a=e[n+1];Ot(i,a)&&(t=i+","+a,n++,r.pop())}r.push(Nt(t))}return r.join("")}),"parseGenericTypes"),Dt=y(((t,e)=>Math.max(0,t.split(e).length-1)),"countOccurrence"),Ot=y(((t,e)=>{const r=Dt(t,"~"),n=Dt(e,"~");return 1===r&&1===n}),"shouldCombineSets"),Nt=y((t=>{const e=Dt(t,"~");let r=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),r=!0);const n=[...t];let i=n.indexOf("~"),a=n.lastIndexOf("~");for(;-1!==i&&-1!==a&&i!==a;)n[i]="<",n[a]=">",i=n.indexOf("~"),a=n.lastIndexOf("~");return r&&n.unshift("~"),n.join("")}),"processSet"),It=y((()=>void 0!==window.MathMLElement),"isMathMLSupported"),Rt=/\$\$(.*)\$\$/g,Pt=y((t=>(t.match(Rt)?.length??0)>0),"hasKatex"),zt=y((async(t,e)=>{t=await jt(t,e);const r=document.createElement("div");r.innerHTML=t,r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";const n=document.querySelector("body");n?.insertAdjacentElement("beforeend",r);const i={width:r.clientWidth,height:r.clientHeight};return r.remove(),i}),"calculateMathMLDimensions"),jt=y((async(t,e)=>{if(!Pt(t))return t;if(!(It()||e.legacyMathML||e.forceLegacyMathML))return t.replace(Rt,"MathML is unsupported in this environment.");const{default:n}=await r.e(2130).then(r.bind(r,22130)),i=e.forceLegacyMathML||!It()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(mt).map((t=>Pt(t)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${t}</div>`:`<div>${t}</div>`)).join("").replace(Rt,((t,e)=>n.renderToString(e,{throwOnError:!0,displayMode:!0,output:i}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,"")))}),"renderKatex"),Kt={getRows:xt,sanitizeText:_t,sanitizeTextOrArray:vt,hasBreaks:St,splitBreaks:Tt,lineBreakRegex:mt,removeScript:Ct,getUrl:Bt,evaluate:Lt,getMax:Ft,getMin:$t},qt=y((function(t,e){for(let r of e)t.attr(r[0],r[1])}),"d3Attrs"),Wt=y((function(t,e,r){let n=new Map;return r?(n.set("width","100%"),n.set("style",`max-width: ${e}px;`)):(n.set("height",t),n.set("width",e)),n}),"calculateSvgSizeAttrs"),Ht=y((function(t,e,r,n){const i=Wt(e,r,n);qt(t,i)}),"configureSvgSize"),Ut=y((function(t,e,r,n){const i=e.node().getBBox(),a=i.width,o=i.height;b.info(`SVG bounds: ${a}x${o}`,i);let s=0,l=0;b.info(`Graph bounds: ${s}x${l}`,t),s=a+2*r,l=o+2*r,b.info(`Calculated bounds: ${s}x${l}`),Ht(e,l,s,n);const c=`${i.x-r} ${i.y-r} ${i.width+2*r} ${i.height+2*r}`;e.attr("viewBox",c)}),"setupGraphViewbox"),Yt={},Gt=y(((t,e,r)=>{let n="";return t in Yt&&Yt[t]?n=Yt[t](r):b.warn(`No theme found for ${t}`),` & {\n font-family: ${r.fontFamily};\n font-size: ${r.fontSize};\n fill: ${r.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${r.errorBkgColor};\n }\n & .error-text {\n fill: ${r.errorTextColor};\n stroke: ${r.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 1px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n & .edge-thickness-invisible {\n stroke-width: 0;\n fill: none;\n }\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${r.lineColor};\n stroke: ${r.lineColor};\n }\n & .marker.cross {\n stroke: ${r.lineColor};\n }\n\n & svg {\n font-family: ${r.fontFamily};\n font-size: ${r.fontSize};\n }\n & p {\n margin: 0\n }\n\n ${n}\n\n ${e}\n`}),"getStyles"),Vt=y(((t,e)=>{void 0!==e&&(Yt[t]=e)}),"addStylesForDiagram"),Zt=Gt,Xt={};m(Xt,{clear:()=>re,getAccDescription:()=>oe,getAccTitle:()=>ie,getDiagramTitle:()=>le,setAccDescription:()=>ae,setAccTitle:()=>ne,setDiagramTitle:()=>se});var Qt="",Jt="",te="",ee=y((t=>_t(t,ct())),"sanitizeText"),re=y((()=>{Qt="",te="",Jt=""}),"clear"),ne=y((t=>{Qt=ee(t).replace(/^\s+/g,"")}),"setAccTitle"),ie=y((()=>Qt),"getAccTitle"),ae=y((t=>{te=ee(t).replace(/\n\s+/g,"\n")}),"setAccDescription"),oe=y((()=>te),"getAccDescription"),se=y((t=>{Jt=ee(t)}),"setDiagramTitle"),le=y((()=>Jt),"getDiagramTitle"),ce=b,he=k,ue=ct,de=lt,pe=J,fe=y((t=>_t(t,ue())),"sanitizeText"),ge=Ut,ye=y((()=>Xt),"getCommonDb"),me={},xe=y(((t,e,r)=>{me[t]&&ce.warn(`Diagram with id ${t} already registered. Overwriting.`),me[t]=e,r&&B(t,r),Vt(t,e.styles),e.injectUtils?.(ce,he,ue,fe,ge,ye(),(()=>{}))}),"registerDiagram"),be=y((t=>{if(t in me)return me[t];throw new ke(t)}),"getDiagram"),ke=class extends Error{static{y(this,"DiagramNotFoundError")}constructor(t){super(`Diagram ${t} not found.`)}}},79515:(t,e,r)=>{"use strict";r.d(e,{H:()=>rr,r:()=>er});var n=r(45567);function i(t){return null==t}function a(t){return"object"==typeof t&&null!==t}function o(t){return Array.isArray(t)?t:i(t)?[]:[t]}function s(t,e){var r,n,i,a;if(e)for(r=0,n=(a=Object.keys(e)).length;r<n;r+=1)t[i=a[r]]=e[i];return t}function l(t,e){var r,n="";for(r=0;r<e;r+=1)n+=t;return n}function c(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t}(0,n.K2)(i,"isNothing"),(0,n.K2)(a,"isObject"),(0,n.K2)(o,"toArray"),(0,n.K2)(s,"extend"),(0,n.K2)(l,"repeat"),(0,n.K2)(c,"isNegativeZero");var h={isNothing:i,isObject:a,toArray:o,repeat:l,isNegativeZero:c,extend:s};function u(t,e){var r="",n=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+="\n\n"+t.mark.snippet),n+" "+r):n}function d(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=u(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}(0,n.K2)(u,"formatError"),(0,n.K2)(d,"YAMLException$1"),d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d.prototype.toString=(0,n.K2)((function(t){return this.name+": "+u(this,t)}),"toString");var p=d;function f(t,e,r,n,i){var a="",o="",s=Math.floor(i/2)-1;return n-e>s&&(e=n-s+(a=" ... ").length),r-n>s&&(r=n+s-(o=" ...").length),{str:a+t.slice(e,r).replace(/\t/g,"\u2192")+o,pos:n-e+a.length}}function g(t,e){return h.repeat(" ",e-t.length)+t}function y(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 r,n=/\r?\n|\r|\0/g,i=[0],a=[],o=-1;r=n.exec(t.buffer);)a.push(r.index),i.push(r.index+r[0].length),t.position<=r.index&&o<0&&(o=i.length-2);o<0&&(o=i.length-1);var s,l,c="",u=Math.min(t.line+e.linesAfter,a.length).toString().length,d=e.maxLength-(e.indent+u+3);for(s=1;s<=e.linesBefore&&!(o-s<0);s++)l=f(t.buffer,i[o-s],a[o-s],t.position-(i[o]-i[o-s]),d),c=h.repeat(" ",e.indent)+g((t.line-s+1).toString(),u)+" | "+l.str+"\n"+c;for(l=f(t.buffer,i[o],a[o],t.position,d),c+=h.repeat(" ",e.indent)+g((t.line+1).toString(),u)+" | "+l.str+"\n",c+=h.repeat("-",e.indent+u+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(o+s>=a.length);s++)l=f(t.buffer,i[o+s],a[o+s],t.position-(i[o]-i[o+s]),d),c+=h.repeat(" ",e.indent)+g((t.line+s+1).toString(),u)+" | "+l.str+"\n";return c.replace(/\n$/,"")}(0,n.K2)(f,"getLine"),(0,n.K2)(g,"padStart"),(0,n.K2)(y,"makeSnippet");var m=y,x=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],b=["scalar","sequence","mapping"];function k(t){var e={};return null!==t&&Object.keys(t).forEach((function(r){t[r].forEach((function(t){e[String(t)]=r}))})),e}function C(t,e){if(e=e||{},Object.keys(e).forEach((function(e){if(-1===x.indexOf(e))throw new p('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=k(e.styleAliases||null),-1===b.indexOf(this.kind))throw new p('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}(0,n.K2)(k,"compileStyleAliases"),(0,n.K2)(C,"Type$1");var w=C;function _(t,e){var r=[];return t[e].forEach((function(t){var e=r.length;r.forEach((function(r,n){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=n)})),r[e]=t})),r}function v(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,n.K2)(i,"collectType"),t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(i);return r}function S(t){return this.extend(t)}(0,n.K2)(_,"compileList"),(0,n.K2)(v,"compileMap"),(0,n.K2)(S,"Schema$1"),S.prototype.extend=(0,n.K2)((function(t){var e=[],r=[];if(t instanceof w)r.push(t);else if(Array.isArray(t))r=r.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new p("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(r=r.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof w))throw new p("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new p("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 p("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),r.forEach((function(t){if(!(t instanceof w))throw new p("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var n=Object.create(S.prototype);return n.implicit=(this.implicit||[]).concat(e),n.explicit=(this.explicit||[]).concat(r),n.compiledImplicit=_(n,"implicit"),n.compiledExplicit=_(n,"explicit"),n.compiledTypeMap=v(n.compiledImplicit,n.compiledExplicit),n}),"extend");var T=new S({explicit:[new w("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,n.K2)((function(t){return null!==t?t:""}),"construct")}),new w("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,n.K2)((function(t){return null!==t?t:[]}),"construct")}),new w("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,n.K2)((function(t){return null!==t?t:{}}),"construct")})]});function A(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function M(){return null}function B(t){return null===t}(0,n.K2)(A,"resolveYamlNull"),(0,n.K2)(M,"constructYamlNull"),(0,n.K2)(B,"isNull");var L=new w("tag:yaml.org,2002:null",{kind:"scalar",resolve:A,construct:M,predicate:B,represent:{canonical:(0,n.K2)((function(){return"~"}),"canonical"),lowercase:(0,n.K2)((function(){return"null"}),"lowercase"),uppercase:(0,n.K2)((function(){return"NULL"}),"uppercase"),camelcase:(0,n.K2)((function(){return"Null"}),"camelcase"),empty:(0,n.K2)((function(){return""}),"empty")},defaultStyle:"lowercase"});function F(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 $(t){return"true"===t||"True"===t||"TRUE"===t}function E(t){return"[object Boolean]"===Object.prototype.toString.call(t)}(0,n.K2)(F,"resolveYamlBoolean"),(0,n.K2)($,"constructYamlBoolean"),(0,n.K2)(E,"isBoolean");var D=new w("tag:yaml.org,2002:bool",{kind:"scalar",resolve:F,construct:$,predicate:E,represent:{lowercase:(0,n.K2)((function(t){return t?"true":"false"}),"lowercase"),uppercase:(0,n.K2)((function(t){return t?"TRUE":"FALSE"}),"uppercase"),camelcase:(0,n.K2)((function(t){return t?"True":"False"}),"camelcase")},defaultStyle:"lowercase"});function O(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function N(t){return 48<=t&&t<=55}function I(t){return 48<=t&&t<=57}function R(t){if(null===t)return!1;var e,r=t.length,n=0,i=!1;if(!r)return!1;if("-"!==(e=t[n])&&"+"!==e||(e=t[++n]),"0"===e){if(n+1===r)return!0;if("b"===(e=t[++n])){for(n++;n<r;n++)if("_"!==(e=t[n])){if("0"!==e&&"1"!==e)return!1;i=!0}return i&&"_"!==e}if("x"===e){for(n++;n<r;n++)if("_"!==(e=t[n])){if(!O(t.charCodeAt(n)))return!1;i=!0}return i&&"_"!==e}if("o"===e){for(n++;n<r;n++)if("_"!==(e=t[n])){if(!N(t.charCodeAt(n)))return!1;i=!0}return i&&"_"!==e}}if("_"===e)return!1;for(;n<r;n++)if("_"!==(e=t[n])){if(!I(t.charCodeAt(n)))return!1;i=!0}return!(!i||"_"===e)}function P(t){var e,r=t,n=1;if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),"-"!==(e=r[0])&&"+"!==e||("-"===e&&(n=-1),e=(r=r.slice(1))[0]),"0"===r)return 0;if("0"===e){if("b"===r[1])return n*parseInt(r.slice(2),2);if("x"===r[1])return n*parseInt(r.slice(2),16);if("o"===r[1])return n*parseInt(r.slice(2),8)}return n*parseInt(r,10)}function z(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!h.isNegativeZero(t)}(0,n.K2)(O,"isHexCode"),(0,n.K2)(N,"isOctCode"),(0,n.K2)(I,"isDecCode"),(0,n.K2)(R,"resolveYamlInteger"),(0,n.K2)(P,"constructYamlInteger"),(0,n.K2)(z,"isInteger");var j=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:R,construct:P,predicate:z,represent:{binary:(0,n.K2)((function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)}),"binary"),octal:(0,n.K2)((function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)}),"octal"),decimal:(0,n.K2)((function(t){return t.toString(10)}),"decimal"),hexadecimal:(0,n.K2)((function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}),"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),K=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function q(t){return null!==t&&!(!K.test(t)||"_"===t[t.length-1])}function W(t){var e,r;return r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:r*parseFloat(e,10)}(0,n.K2)(q,"resolveYamlFloat"),(0,n.K2)(W,"constructYamlFloat");var H=/^[-+]?[0-9]+e/;function U(t,e){var r;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(h.isNegativeZero(t))return"-0.0";return r=t.toString(10),H.test(r)?r.replace("e",".e"):r}function Y(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||h.isNegativeZero(t))}(0,n.K2)(U,"representYamlFloat"),(0,n.K2)(Y,"isFloat");var G=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:q,construct:W,predicate:Y,represent:U,defaultStyle:"lowercase"}),V=T.extend({implicit:[L,D,j,G]}),Z=V,X=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Q=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 J(t){return null!==t&&(null!==X.exec(t)||null!==Q.exec(t))}function tt(t){var e,r,n,i,a,o,s,l,c=0,h=null;if(null===(e=X.exec(t))&&(e=Q.exec(t)),null===e)throw new Error("Date resolve error");if(r=+e[1],n=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(r,n,i));if(a=+e[4],o=+e[5],s=+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(r,n,i,a,o,s,c)),h&&l.setTime(l.getTime()-h),l}function et(t){return t.toISOString()}(0,n.K2)(J,"resolveYamlTimestamp"),(0,n.K2)(tt,"constructYamlTimestamp"),(0,n.K2)(et,"representYamlTimestamp");var rt=new w("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:J,construct:tt,instanceOf:Date,represent:et});function nt(t){return"<<"===t||null===t}(0,n.K2)(nt,"resolveYamlMerge");var it=new w("tag:yaml.org,2002:merge",{kind:"scalar",resolve:nt}),at="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function ot(t){if(null===t)return!1;var e,r,n=0,i=t.length,a=at;for(r=0;r<i;r++)if(!((e=a.indexOf(t.charAt(r)))>64)){if(e<0)return!1;n+=6}return n%8==0}function st(t){var e,r,n=t.replace(/[\r\n=]/g,""),i=n.length,a=at,o=0,s=[];for(e=0;e<i;e++)e%4==0&&e&&(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|a.indexOf(n.charAt(e));return 0===(r=i%4*6)?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===r?(s.push(o>>10&255),s.push(o>>2&255)):12===r&&s.push(o>>4&255),new Uint8Array(s)}function lt(t){var e,r,n="",i=0,a=t.length,o=at;for(e=0;e<a;e++)e%3==0&&e&&(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[63&i]),i=(i<<8)+t[e];return 0===(r=a%3)?(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[63&i]):2===r?(n+=o[i>>10&63],n+=o[i>>4&63],n+=o[i<<2&63],n+=o[64]):1===r&&(n+=o[i>>2&63],n+=o[i<<4&63],n+=o[64],n+=o[64]),n}function ct(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,n.K2)(ot,"resolveYamlBinary"),(0,n.K2)(st,"constructYamlBinary"),(0,n.K2)(lt,"representYamlBinary"),(0,n.K2)(ct,"isBinary");var ht=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:ot,construct:st,predicate:ct,represent:lt}),ut=Object.prototype.hasOwnProperty,dt=Object.prototype.toString;function pt(t){if(null===t)return!0;var e,r,n,i,a,o=[],s=t;for(e=0,r=s.length;e<r;e+=1){if(n=s[e],a=!1,"[object Object]"!==dt.call(n))return!1;for(i in n)if(ut.call(n,i)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==o.indexOf(i))return!1;o.push(i)}return!0}function ft(t){return null!==t?t:[]}(0,n.K2)(pt,"resolveYamlOmap"),(0,n.K2)(ft,"constructYamlOmap");var gt=new w("tag:yaml.org,2002:omap",{kind:"sequence",resolve:pt,construct:ft}),yt=Object.prototype.toString;function mt(t){if(null===t)return!0;var e,r,n,i,a,o=t;for(a=new Array(o.length),e=0,r=o.length;e<r;e+=1){if(n=o[e],"[object Object]"!==yt.call(n))return!1;if(1!==(i=Object.keys(n)).length)return!1;a[e]=[i[0],n[i[0]]]}return!0}function xt(t){if(null===t)return[];var e,r,n,i,a,o=t;for(a=new Array(o.length),e=0,r=o.length;e<r;e+=1)n=o[e],i=Object.keys(n),a[e]=[i[0],n[i[0]]];return a}(0,n.K2)(mt,"resolveYamlPairs"),(0,n.K2)(xt,"constructYamlPairs");var bt=new w("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:mt,construct:xt}),kt=Object.prototype.hasOwnProperty;function Ct(t){if(null===t)return!0;var e,r=t;for(e in r)if(kt.call(r,e)&&null!==r[e])return!1;return!0}function wt(t){return null!==t?t:{}}(0,n.K2)(Ct,"resolveYamlSet"),(0,n.K2)(wt,"constructYamlSet");var _t=new w("tag:yaml.org,2002:set",{kind:"mapping",resolve:Ct,construct:wt}),vt=Z.extend({implicit:[rt,it],explicit:[ht,gt,bt,_t]}),St=Object.prototype.hasOwnProperty,Tt=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,At=/[\x85\u2028\u2029]/,Mt=/[,\[\]\{\}]/,Bt=/^(?:!|!!|![a-z\-]+!)$/i,Lt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Ft(t){return Object.prototype.toString.call(t)}function $t(t){return 10===t||13===t}function Et(t){return 9===t||32===t}function Dt(t){return 9===t||32===t||10===t||13===t}function Ot(t){return 44===t||91===t||93===t||123===t||125===t}function Nt(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function It(t){return 120===t?2:117===t?4:85===t?8:0}function Rt(t){return 48<=t&&t<=57?t-48:-1}function Pt(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 zt(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}(0,n.K2)(Ft,"_class"),(0,n.K2)($t,"is_EOL"),(0,n.K2)(Et,"is_WHITE_SPACE"),(0,n.K2)(Dt,"is_WS_OR_EOL"),(0,n.K2)(Ot,"is_FLOW_INDICATOR"),(0,n.K2)(Nt,"fromHexCode"),(0,n.K2)(It,"escapedHexLen"),(0,n.K2)(Rt,"fromDecimalCode"),(0,n.K2)(Pt,"simpleEscapeSequence"),(0,n.K2)(zt,"charFromCodepoint");var jt,Kt=new Array(256),qt=new Array(256);for(jt=0;jt<256;jt++)Kt[jt]=Pt(jt)?1:0,qt[jt]=Pt(jt);function Wt(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||vt,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 Ht(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=m(r),new p(e,r)}function Ut(t,e){throw Ht(t,e)}function Yt(t,e){t.onWarning&&t.onWarning.call(null,Ht(t,e))}(0,n.K2)(Wt,"State$1"),(0,n.K2)(Ht,"generateError"),(0,n.K2)(Ut,"throwError"),(0,n.K2)(Yt,"throwWarning");var Gt={YAML:(0,n.K2)((function(t,e,r){var n,i,a;null!==t.version&&Ut(t,"duplication of %YAML directive"),1!==r.length&&Ut(t,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&Ut(t,"ill-formed argument of the YAML directive"),i=parseInt(n[1],10),a=parseInt(n[2],10),1!==i&&Ut(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&Yt(t,"unsupported YAML version of the document")}),"handleYamlDirective"),TAG:(0,n.K2)((function(t,e,r){var n,i;2!==r.length&&Ut(t,"TAG directive accepts exactly two arguments"),n=r[0],i=r[1],Bt.test(n)||Ut(t,"ill-formed tag handle (first argument) of the TAG directive"),St.call(t.tagMap,n)&&Ut(t,'there is a previously declared suffix for "'+n+'" tag handle'),Lt.test(i)||Ut(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(a){Ut(t,"tag prefix is malformed: "+i)}t.tagMap[n]=i}),"handleTagDirective")};function Vt(t,e,r,n){var i,a,o,s;if(e<r){if(s=t.input.slice(e,r),n)for(i=0,a=s.length;i<a;i+=1)9===(o=s.charCodeAt(i))||32<=o&&o<=1114111||Ut(t,"expected valid JSON character");else Tt.test(s)&&Ut(t,"the stream contains non-printable characters");t.result+=s}}function Zt(t,e,r,n){var i,a,o,s;for(h.isObject(r)||Ut(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(i=Object.keys(r)).length;o<s;o+=1)a=i[o],St.call(e,a)||(e[a]=r[a],n[a]=!0)}function Xt(t,e,r,n,i,a,o,s,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])&&Ut(t,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===Ft(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===Ft(i)&&(i="[object Object]"),i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(a))for(c=0,h=a.length;c<h;c+=1)Zt(t,e,a[c],r);else Zt(t,e,a,r);else t.json||St.call(r,i)||!St.call(e,i)||(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,Ut(t,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:a}):e[i]=a,delete r[i];return e}function Qt(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):Ut(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function Jt(t,e,r){for(var n=0,i=t.input.charCodeAt(t.position);0!==i;){for(;Et(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(!$t(i))break;for(Qt(t),i=t.input.charCodeAt(t.position),n++,t.lineIndent=0;32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position)}return-1!==r&&0!==n&&t.lineIndent<r&&Yt(t,"deficient indentation"),n}function te(t){var e,r=t.position;return!(45!==(e=t.input.charCodeAt(r))&&46!==e||e!==t.input.charCodeAt(r+1)||e!==t.input.charCodeAt(r+2)||(r+=3,0!==(e=t.input.charCodeAt(r))&&!Dt(e)))}function ee(t,e){1===e?t.result+=" ":e>1&&(t.result+=h.repeat("\n",e-1))}function re(t,e,r){var n,i,a,o,s,l,c,h,u=t.kind,d=t.result;if(Dt(h=t.input.charCodeAt(t.position))||Ot(h)||35===h||38===h||42===h||33===h||124===h||62===h||39===h||34===h||37===h||64===h||96===h)return!1;if((63===h||45===h)&&(Dt(n=t.input.charCodeAt(t.position+1))||r&&Ot(n)))return!1;for(t.kind="scalar",t.result="",i=a=t.position,o=!1;0!==h;){if(58===h){if(Dt(n=t.input.charCodeAt(t.position+1))||r&&Ot(n))break}else if(35===h){if(Dt(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&te(t)||r&&Ot(h))break;if($t(h)){if(s=t.line,l=t.lineStart,c=t.lineIndent,Jt(t,!1,-1),t.lineIndent>=e){o=!0,h=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=l,t.lineIndent=c;break}}o&&(Vt(t,i,a,!1),ee(t,t.line-s),i=a=t.position,o=!1),Et(h)||(a=t.position+1),h=t.input.charCodeAt(++t.position)}return Vt(t,i,a,!1),!!t.result||(t.kind=u,t.result=d,!1)}function ne(t,e){var r,n,i;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(Vt(t,n,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;n=t.position,t.position++,i=t.position}else $t(r)?(Vt(t,n,i,!0),ee(t,Jt(t,!1,e)),n=i=t.position):t.position===t.lineStart&&te(t)?Ut(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);Ut(t,"unexpected end of the stream within a single quoted scalar")}function ie(t,e){var r,n,i,a,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return Vt(t,r,t.position,!0),t.position++,!0;if(92===s){if(Vt(t,r,t.position,!0),$t(s=t.input.charCodeAt(++t.position)))Jt(t,!1,e);else if(s<256&&Kt[s])t.result+=qt[s],t.position++;else if((o=It(s))>0){for(i=o,a=0;i>0;i--)(o=Nt(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:Ut(t,"expected hexadecimal character");t.result+=zt(a),t.position++}else Ut(t,"unknown escape sequence");r=n=t.position}else $t(s)?(Vt(t,r,n,!0),ee(t,Jt(t,!1,e)),r=n=t.position):t.position===t.lineStart&&te(t)?Ut(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position)}Ut(t,"unexpected end of the stream within a double quoted scalar")}function ae(t,e){var r,n,i,a,o,s,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)))o=93,c=!1,a=[];else{if(123!==p)return!1;o=125,c=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),p=t.input.charCodeAt(++t.position);0!==p;){if(Jt(t,!0,e),(p=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=g,t.anchor=y,t.kind=c?"mapping":"sequence",t.result=a,!0;f?44===p&&Ut(t,"expected the node content, but found ','"):Ut(t,"missed comma between flow collection entries"),d=null,s=l=!1,63===p&&Dt(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,Jt(t,!0,e)),r=t.line,n=t.lineStart,i=t.position,de(t,e,1,!1,!0),u=t.tag,h=t.result,Jt(t,!0,e),p=t.input.charCodeAt(t.position),!l&&t.line!==r||58!==p||(s=!0,p=t.input.charCodeAt(++t.position),Jt(t,!0,e),de(t,e,1,!1,!0),d=t.result),c?Xt(t,a,m,u,h,d,r,n,i):s?a.push(Xt(t,null,m,u,h,d,r,n,i)):a.push(h),Jt(t,!0,e),44===(p=t.input.charCodeAt(t.position))?(f=!0,p=t.input.charCodeAt(++t.position)):f=!1}Ut(t,"unexpected end of the stream within a flow collection")}function oe(t,e){var r,n,i,a,o=1,s=!1,l=!1,c=e,u=0,d=!1;if(124===(a=t.input.charCodeAt(t.position)))n=!1;else{if(62!==a)return!1;n=!0}for(t.kind="scalar",t.result="";0!==a;)if(43===(a=t.input.charCodeAt(++t.position))||45===a)1===o?o=43===a?3:2:Ut(t,"repeat of a chomping mode identifier");else{if(!((i=Rt(a))>=0))break;0===i?Ut(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?Ut(t,"repeat of an indentation width identifier"):(c=e+i-1,l=!0)}if(Et(a)){do{a=t.input.charCodeAt(++t.position)}while(Et(a));if(35===a)do{a=t.input.charCodeAt(++t.position)}while(!$t(a)&&0!==a)}for(;0!==a;){for(Qt(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),$t(a))u++;else{if(t.lineIndent<c){3===o?t.result+=h.repeat("\n",s?1+u:u):1===o&&s&&(t.result+="\n");break}for(n?Et(a)?(d=!0,t.result+=h.repeat("\n",s?1+u:u)):d?(d=!1,t.result+=h.repeat("\n",u+1)):0===u?s&&(t.result+=" "):t.result+=h.repeat("\n",u):t.result+=h.repeat("\n",s?1+u:u),s=!0,l=!0,u=0,r=t.position;!$t(a)&&0!==a;)a=t.input.charCodeAt(++t.position);Vt(t,r,t.position,!1)}}return!0}function se(t,e){var r,n,i=t.tag,a=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),n=t.input.charCodeAt(t.position);0!==n&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,Ut(t,"tab characters must not be used in indentation")),45===n)&&Dt(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,Jt(t,!0,-1)&&t.lineIndent<=e)o.push(null),n=t.input.charCodeAt(t.position);else if(r=t.line,de(t,e,3,!1,!0),o.push(t.result),Jt(t,!0,-1),n=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==n)Ut(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!s&&(t.tag=i,t.anchor=a,t.kind="sequence",t.result=o,!0)}function le(t,e,r){var n,i,a,o,s,l,c,h=t.tag,u=t.anchor,d={},p=Object.create(null),f=null,g=null,y=null,m=!1,x=!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,Ut(t,"tab characters must not be used in indentation")),n=t.input.charCodeAt(t.position+1),a=t.line,63!==c&&58!==c||!Dt(n)){if(o=t.line,s=t.lineStart,l=t.position,!de(t,r,2,!1,!0))break;if(t.line===a){for(c=t.input.charCodeAt(t.position);Et(c);)c=t.input.charCodeAt(++t.position);if(58===c)Dt(c=t.input.charCodeAt(++t.position))||Ut(t,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(Xt(t,d,p,f,g,null,o,s,l),f=g=y=null),x=!0,m=!1,i=!1,f=t.tag,g=t.result;else{if(!x)return t.tag=h,t.anchor=u,!0;Ut(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!x)return t.tag=h,t.anchor=u,!0;Ut(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(m&&(Xt(t,d,p,f,g,null,o,s,l),f=g=y=null),x=!0,m=!0,i=!0):m?(m=!1,i=!0):Ut(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=n;if((t.line===a||t.lineIndent>e)&&(m&&(o=t.line,s=t.lineStart,l=t.position),de(t,e,4,!0,i)&&(m?g=t.result:y=t.result),m||(Xt(t,d,p,f,g,y,o,s,l),f=g=y=null),Jt(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==c)Ut(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return m&&Xt(t,d,p,f,g,null,o,s,l),x&&(t.tag=h,t.anchor=u,t.kind="mapping",t.result=d),x}function ce(t){var e,r,n,i,a=!1,o=!1;if(33!==(i=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&Ut(t,"duplication of a tag property"),60===(i=t.input.charCodeAt(++t.position))?(a=!0,i=t.input.charCodeAt(++t.position)):33===i?(o=!0,r="!!",i=t.input.charCodeAt(++t.position)):r="!",e=t.position,a){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&62!==i);t.position<t.length?(n=t.input.slice(e,t.position),i=t.input.charCodeAt(++t.position)):Ut(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!Dt(i);)33===i&&(o?Ut(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),Bt.test(r)||Ut(t,"named tag handle cannot contain such characters"),o=!0,e=t.position+1)),i=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),Mt.test(n)&&Ut(t,"tag suffix cannot contain flow indicator characters")}n&&!Lt.test(n)&&Ut(t,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(s){Ut(t,"tag name is malformed: "+n)}return a?t.tag=n:St.call(t.tagMap,r)?t.tag=t.tagMap[r]+n:"!"===r?t.tag="!"+n:"!!"===r?t.tag="tag:yaml.org,2002:"+n:Ut(t,'undeclared tag handle "'+r+'"'),!0}function he(t){var e,r;if(38!==(r=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&Ut(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!Dt(r)&&!Ot(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&Ut(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function ue(t){var e,r,n;if(42!==(n=t.input.charCodeAt(t.position)))return!1;for(n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!Dt(n)&&!Ot(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&Ut(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),St.call(t.anchorMap,r)||Ut(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],Jt(t,!0,-1),!0}function de(t,e,r,n,i){var a,o,s,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=o=s=4===r||3===r,n&&Jt(t,!0,-1)&&(g=!0,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)),1===f)for(;ce(t)||he(t);)Jt(t,!0,-1)?(g=!0,s=a,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)):s=!1;if(s&&(s=g||i),1!==f&&4!==r||(d=1===r||2===r?e:e+1,p=t.position-t.lineStart,1===f?s&&(se(t,p)||le(t,p,d))||ae(t,d)?y=!0:(o&&oe(t,d)||ne(t,d)||ie(t,d)?y=!0:ue(t)?(y=!0,null===t.tag&&null===t.anchor||Ut(t,"alias node should not have any properties")):re(t,d,1===r)&&(y=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===f&&(y=s&&se(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&&Ut(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(St.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||Ut(t,"unknown tag !<"+t.tag+">"),null!==t.result&&u.kind!==t.kind&&Ut(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)):Ut(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 pe(t){var e,r,n,i,a=t.position,o=!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))&&(Jt(t,!0,-1),i=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==i));){for(o=!0,i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!Dt(i);)i=t.input.charCodeAt(++t.position);for(n=[],(r=t.input.slice(e,t.position)).length<1&&Ut(t,"directive name must not be less than one character in length");0!==i;){for(;Et(i);)i=t.input.charCodeAt(++t.position);if(35===i){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&!$t(i));break}if($t(i))break;for(e=t.position;0!==i&&!Dt(i);)i=t.input.charCodeAt(++t.position);n.push(t.input.slice(e,t.position))}0!==i&&Qt(t),St.call(Gt,r)?Gt[r](t,r,n):Yt(t,'unknown document directive "'+r+'"')}Jt(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,Jt(t,!0,-1)):o&&Ut(t,"directives end mark is expected"),de(t,t.lineIndent-1,4,!1,!0),Jt(t,!0,-1),t.checkLineBreaks&&At.test(t.input.slice(a,t.position))&&Yt(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&te(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,Jt(t,!0,-1)):t.position<t.length-1&&Ut(t,"end of the stream or a document separator is expected")}function fe(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 r=new Wt(t,e),n=t.indexOf("\0");for(-1!==n&&(r.position=n,Ut(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)pe(r);return r.documents}function ge(t,e,r){null!==e&&"object"==typeof e&&void 0===r&&(r=e,e=null);var n=fe(t,r);if("function"!=typeof e)return n;for(var i=0,a=n.length;i<a;i+=1)e(n[i])}function ye(t,e){var r=fe(t,e);if(0!==r.length){if(1===r.length)return r[0];throw new p("expected a single document in the stream, but found more")}}(0,n.K2)(Vt,"captureSegment"),(0,n.K2)(Zt,"mergeMappings"),(0,n.K2)(Xt,"storeMappingPair"),(0,n.K2)(Qt,"readLineBreak"),(0,n.K2)(Jt,"skipSeparationSpace"),(0,n.K2)(te,"testDocumentSeparator"),(0,n.K2)(ee,"writeFoldedLines"),(0,n.K2)(re,"readPlainScalar"),(0,n.K2)(ne,"readSingleQuotedScalar"),(0,n.K2)(ie,"readDoubleQuotedScalar"),(0,n.K2)(ae,"readFlowCollection"),(0,n.K2)(oe,"readBlockScalar"),(0,n.K2)(se,"readBlockSequence"),(0,n.K2)(le,"readBlockMapping"),(0,n.K2)(ce,"readTagProperty"),(0,n.K2)(he,"readAnchorProperty"),(0,n.K2)(ue,"readAlias"),(0,n.K2)(de,"composeNode"),(0,n.K2)(pe,"readDocument"),(0,n.K2)(fe,"loadDocuments"),(0,n.K2)(ge,"loadAll$1"),(0,n.K2)(ye,"load$1");var me={loadAll:ge,load:ye},xe=Object.prototype.toString,be=Object.prototype.hasOwnProperty,ke=65279,Ce={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},we=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],_e=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ve(t,e){var r,n,i,a,o,s,l;if(null===e)return{};for(r={},i=0,a=(n=Object.keys(e)).length;i<a;i+=1)o=n[i],s=String(e[o]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),(l=t.compiledTypeMap.fallback[o])&&be.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[o]=s;return r}function Se(t){var e,r,n;if(e=t.toString(16).toUpperCase(),t<=255)r="x",n=2;else if(t<=65535)r="u",n=4;else{if(!(t<=4294967295))throw new p("code point within a string may not be greater than 0xFFFFFFFF");r="U",n=8}return"\\"+r+h.repeat("0",n-e.length)+e}(0,n.K2)(ve,"compileStyleMap"),(0,n.K2)(Se,"encodeHex");function Te(t){this.schema=t.schema||vt,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=h.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=ve(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Ae(t,e){for(var r,n=h.repeat(" ",e),i=0,a=-1,o="",s=t.length;i<s;)-1===(a=t.indexOf("\n",i))?(r=t.slice(i),i=s):(r=t.slice(i,a+1),i=a+1),r.length&&"\n"!==r&&(o+=n),o+=r;return o}function Me(t,e){return"\n"+h.repeat(" ",t.indent*e)}function Be(t,e){var r,n;for(r=0,n=t.implicitTypes.length;r<n;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1}function Le(t){return 32===t||9===t}function Fe(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&t!==ke||65536<=t&&t<=1114111}function $e(t){return Fe(t)&&t!==ke&&13!==t&&10!==t}function Ee(t,e,r){var n=$e(t),i=n&&!Le(t);return(r?n:n&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t)&&35!==t&&!(58===e&&!i)||$e(e)&&!Le(e)&&35===t||58===e&&i}function De(t){return Fe(t)&&t!==ke&&!Le(t)&&45!==t&&63!==t&&58!==t&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t&&35!==t&&38!==t&&42!==t&&33!==t&&124!==t&&61!==t&&62!==t&&39!==t&&34!==t&&37!==t&&64!==t&&96!==t}function Oe(t){return!Le(t)&&58!==t}function Ne(t,e){var r,n=t.charCodeAt(e);return n>=55296&&n<=56319&&e+1<t.length&&(r=t.charCodeAt(e+1))>=56320&&r<=57343?1024*(n-55296)+r-56320+65536:n}function Ie(t){return/^\n* /.test(t)}(0,n.K2)(Te,"State"),(0,n.K2)(Ae,"indentString"),(0,n.K2)(Me,"generateNextLine"),(0,n.K2)(Be,"testImplicitResolving"),(0,n.K2)(Le,"isWhitespace"),(0,n.K2)(Fe,"isPrintable"),(0,n.K2)($e,"isNsCharOrWhitespace"),(0,n.K2)(Ee,"isPlainSafe"),(0,n.K2)(De,"isPlainSafeFirst"),(0,n.K2)(Oe,"isPlainSafeLast"),(0,n.K2)(Ne,"codePointAt"),(0,n.K2)(Ie,"needIndentIndicator");function Re(t,e,r,n,i,a,o,s){var l,c=0,h=null,u=!1,d=!1,p=-1!==n,f=-1,g=De(Ne(t,0))&&Oe(Ne(t,t.length-1));if(e||o)for(l=0;l<t.length;c>=65536?l+=2:l++){if(!Fe(c=Ne(t,l)))return 5;g=g&&Ee(c,h,s),h=c}else{for(l=0;l<t.length;c>=65536?l+=2:l++){if(10===(c=Ne(t,l)))u=!0,p&&(d=d||l-f-1>n&&" "!==t[f+1],f=l);else if(!Fe(c))return 5;g=g&&Ee(c,h,s),h=c}d=d||p&&l-f-1>n&&" "!==t[f+1]}return u||d?r>9&&Ie(t)?5:o?2===a?5:2:d?4:3:!g||o||i(t)?2===a?5:2:1}function Pe(t,e,r,i,a){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==we.indexOf(e)||_e.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),l=i||t.flowLevel>-1&&r>=t.flowLevel;function c(e){return Be(t,e)}switch((0,n.K2)(c,"testAmbiguity"),Re(e,l,t.indent,s,c,t.quotingType,t.forceQuotes&&!i,a)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+ze(e,t.indent)+je(Ae(e,o));case 4:return">"+ze(e,t.indent)+je(Ae(Ke(e,s),o));case 5:return'"'+We(e)+'"';default:throw new p("impossible error: invalid scalar style")}}()}function ze(t,e){var r=Ie(t)?String(e):"",n="\n"===t[t.length-1];return r+(n&&("\n"===t[t.length-2]||"\n"===t)?"+":n?"":"-")+"\n"}function je(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function Ke(t,e){for(var r,n,i,a=/(\n+)([^\n]*)/g,o=(r=-1!==(r=t.indexOf("\n"))?r:t.length,a.lastIndex=r,qe(t.slice(0,r),e)),s="\n"===t[0]||" "===t[0];i=a.exec(t);){var l=i[1],c=i[2];n=" "===c[0],o+=l+(s||n||""===c?"":"\n")+qe(c,e),s=n}return o}function qe(t,e){if(""===t||" "===t[0])return t;for(var r,n,i=/ [^ ]/g,a=0,o=0,s=0,l="";r=i.exec(t);)(s=r.index)-a>e&&(n=o>a?o:s,l+="\n"+t.slice(a,n),a=n+1),o=s;return l+="\n",t.length-a>e&&o>a?l+=t.slice(a,o)+"\n"+t.slice(o+1):l+=t.slice(a),l.slice(1)}function We(t){for(var e,r="",n=0,i=0;i<t.length;n>=65536?i+=2:i++)n=Ne(t,i),!(e=Ce[n])&&Fe(n)?(r+=t[i],n>=65536&&(r+=t[i+1])):r+=e||Se(n);return r}function He(t,e,r){var n,i,a,o="",s=t.tag;for(n=0,i=r.length;n<i;n+=1)a=r[n],t.replacer&&(a=t.replacer.call(r,String(n),a)),(Ze(t,e,a,!1,!1)||void 0===a&&Ze(t,e,null,!1,!1))&&(""!==o&&(o+=","+(t.condenseFlow?"":" ")),o+=t.dump);t.tag=s,t.dump="["+o+"]"}function Ue(t,e,r,n){var i,a,o,s="",l=t.tag;for(i=0,a=r.length;i<a;i+=1)o=r[i],t.replacer&&(o=t.replacer.call(r,String(i),o)),(Ze(t,e+1,o,!0,!0,!1,!0)||void 0===o&&Ze(t,e+1,null,!0,!0,!1,!0))&&(n&&""===s||(s+=Me(t,e)),t.dump&&10===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=l,t.dump=s||"[]"}function Ye(t,e,r){var n,i,a,o,s,l="",c=t.tag,h=Object.keys(r);for(n=0,i=h.length;n<i;n+=1)s="",""!==l&&(s+=", "),t.condenseFlow&&(s+='"'),o=r[a=h[n]],t.replacer&&(o=t.replacer.call(r,a,o)),Ze(t,e,a,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Ze(t,e,o,!1,!1)&&(l+=s+=t.dump));t.tag=c,t.dump="{"+l+"}"}function Ge(t,e,r,n){var i,a,o,s,l,c,h="",u=t.tag,d=Object.keys(r);if(!0===t.sortKeys)d.sort();else if("function"==typeof t.sortKeys)d.sort(t.sortKeys);else if(t.sortKeys)throw new p("sortKeys must be a boolean or a function");for(i=0,a=d.length;i<a;i+=1)c="",n&&""===h||(c+=Me(t,e)),s=r[o=d[i]],t.replacer&&(s=t.replacer.call(r,o,s)),Ze(t,e+1,o,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&10===t.dump.charCodeAt(0)?c+="?":c+="? "),c+=t.dump,l&&(c+=Me(t,e)),Ze(t,e+1,s,!0,l)&&(t.dump&&10===t.dump.charCodeAt(0)?c+=":":c+=": ",h+=c+=t.dump));t.tag=u,t.dump=h||"{}"}function Ve(t,e,r){var n,i,a,o,s,l;for(a=0,o=(i=r?t.explicitTypes:t.implicitTypes).length;a<o;a+=1)if(((s=i[a]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof e&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(r?s.multi&&s.representName?t.tag=s.representName(e):t.tag=s.tag:t.tag="?",s.represent){if(l=t.styleMap[s.tag]||s.defaultStyle,"[object Function]"===xe.call(s.represent))n=s.represent(e,l);else{if(!be.call(s.represent,l))throw new p("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');n=s.represent[l](e,l)}t.dump=n}return!0}return!1}function Ze(t,e,r,n,i,a,o){t.tag=null,t.dump=r,Ve(t,r,!1)||Ve(t,r,!0);var s,l=xe.call(t.dump),c=n;n&&(n=t.flowLevel<0||t.flowLevel>e);var h,u,d="[object Object]"===l||"[object Array]"===l;if(d&&(u=-1!==(h=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||u||2!==t.indent&&e>0)&&(i=!1),u&&t.usedDuplicates[h])t.dump="*ref_"+h;else{if(d&&u&&!t.usedDuplicates[h]&&(t.usedDuplicates[h]=!0),"[object Object]"===l)n&&0!==Object.keys(t.dump).length?(Ge(t,e,t.dump,i),u&&(t.dump="&ref_"+h+t.dump)):(Ye(t,e,t.dump),u&&(t.dump="&ref_"+h+" "+t.dump));else if("[object Array]"===l)n&&0!==t.dump.length?(t.noArrayIndent&&!o&&e>0?Ue(t,e-1,t.dump,i):Ue(t,e,t.dump,i),u&&(t.dump="&ref_"+h+t.dump)):(He(t,e,t.dump),u&&(t.dump="&ref_"+h+" "+t.dump));else{if("[object String]"!==l){if("[object Undefined]"===l)return!1;if(t.skipInvalid)return!1;throw new p("unacceptable kind of an object to dump "+l)}"?"!==t.tag&&Pe(t,t.dump,e,a,c)}null!==t.tag&&"?"!==t.tag&&(s=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),s="!"===t.tag[0]?"!"+s:"tag:yaml.org,2002:"===s.slice(0,18)?"!!"+s.slice(18):"!<"+s+">",t.dump=s+" "+t.dump)}return!0}function Xe(t,e){var r,n,i=[],a=[];for(Qe(t,i,a),r=0,n=a.length;r<n;r+=1)e.duplicates.push(i[a[r]]);e.usedDuplicates=new Array(n)}function Qe(t,e,r){var n,i,a;if(null!==t&&"object"==typeof t)if(-1!==(i=e.indexOf(t)))-1===r.indexOf(i)&&r.push(i);else if(e.push(t),Array.isArray(t))for(i=0,a=t.length;i<a;i+=1)Qe(t[i],e,r);else for(i=0,a=(n=Object.keys(t)).length;i<a;i+=1)Qe(t[n[i]],e,r)}function Je(t,e){var r=new Te(e=e||{});r.noRefs||Xe(t,r);var n=t;return r.replacer&&(n=r.replacer.call({"":n},"",n)),Ze(r,0,n,!0,!0)?r.dump+"\n":""}(0,n.K2)(Re,"chooseScalarStyle"),(0,n.K2)(Pe,"writeScalar"),(0,n.K2)(ze,"blockHeader"),(0,n.K2)(je,"dropEndingNewline"),(0,n.K2)(Ke,"foldString"),(0,n.K2)(qe,"foldLine"),(0,n.K2)(We,"escapeString"),(0,n.K2)(He,"writeFlowSequence"),(0,n.K2)(Ue,"writeBlockSequence"),(0,n.K2)(Ye,"writeFlowMapping"),(0,n.K2)(Ge,"writeBlockMapping"),(0,n.K2)(Ve,"detectType"),(0,n.K2)(Ze,"writeNode"),(0,n.K2)(Xe,"getDuplicateReferences"),(0,n.K2)(Qe,"inspectNode"),(0,n.K2)(Je,"dump$1");function tr(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}(0,n.K2)(tr,"renamed");var er=V,rr=me.load;tr("safeLoad","load"),tr("safeLoadAll","loadAll"),tr("safeDump","dump")},6396:(t,e,r)=>{"use strict";r.d(e,{IU:()=>y,Jo:()=>A,T_:()=>k,g0:()=>L,jP:()=>x});var n=r(5081),i=r(52294),a=r(62392),o=r(86825),s=r(85039),l=r(45567),c=r(20007),h=r(29893),u=(0,l.K2)(((t,e,r,n,i)=>{e.arrowTypeStart&&p(t,"start",e.arrowTypeStart,r,n,i),e.arrowTypeEnd&&p(t,"end",e.arrowTypeEnd,r,n,i)}),"addEdgeMarkers"),d={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},p=(0,l.K2)(((t,e,r,n,i,a)=>{const o=d[r];if(!o)return void l.Rm.warn(`Unknown arrow type: ${r}`);const s="start"===e?"Start":"End";t.attr(`marker-${e}`,`url(${n}#${i}_${a}-${o}${s})`)}),"addEdgeMarker"),f=new Map,g=new Map,y=(0,l.K2)((()=>{f.clear(),g.clear()}),"clear"),m=(0,l.K2)((t=>t?t.reduce(((t,e)=>t+";"+e),""):""),"getLabelStyles"),x=(0,l.K2)((async(t,e)=>{let r=(0,l._3)((0,l.D7)().flowchart.htmlLabels);const i=await(0,o.GZ)(t,e.label,{style:m(e.labelStyle),useHtmlLabels:r,addSvgBackground:!0,isNode:!1});l.Rm.info("abc82",e,e.labelType);const a=t.insert("g").attr("class","edgeLabel"),s=a.insert("g").attr("class","label");s.node().appendChild(i);let h,u=i.getBBox();if(r){const t=i.children[0],e=(0,c.Ltv)(i);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}if(s.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"),f.set(e.id,a),e.width=u.width,e.height=u.height,e.startLabelLeft){const r=await(0,n.DA)(e.startLabelLeft,m(e.labelStyle)),i=t.insert("g").attr("class","edgeTerminals"),a=i.insert("g").attr("class","inner");h=a.node().appendChild(r);const o=r.getBBox();a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),g.get(e.id)||g.set(e.id,{}),g.get(e.id).startLeft=i,b(h,e.startLabelLeft)}if(e.startLabelRight){const r=await(0,n.DA)(e.startLabelRight,m(e.labelStyle)),i=t.insert("g").attr("class","edgeTerminals"),a=i.insert("g").attr("class","inner");h=i.node().appendChild(r),a.node().appendChild(r);const o=r.getBBox();a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),g.get(e.id)||g.set(e.id,{}),g.get(e.id).startRight=i,b(h,e.startLabelRight)}if(e.endLabelLeft){const r=await(0,n.DA)(e.endLabelLeft,m(e.labelStyle)),i=t.insert("g").attr("class","edgeTerminals"),a=i.insert("g").attr("class","inner");h=a.node().appendChild(r);const o=r.getBBox();a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),i.node().appendChild(r),g.get(e.id)||g.set(e.id,{}),g.get(e.id).endLeft=i,b(h,e.endLabelLeft)}if(e.endLabelRight){const r=await(0,n.DA)(e.endLabelRight,m(e.labelStyle)),i=t.insert("g").attr("class","edgeTerminals"),a=i.insert("g").attr("class","inner");h=a.node().appendChild(r);const o=r.getBBox();a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),i.node().appendChild(r),g.get(e.id)||g.set(e.id,{}),g.get(e.id).endRight=i,b(h,e.endLabelRight)}return i}),"insertEdgeLabel");function b(t,e){(0,l.D7)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,l.K2)(b,"setTerminalWidth");var k=(0,l.K2)(((t,e)=>{l.Rm.debug("Moving label abc88 ",t.id,t.label,f.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath;const n=(0,l.D7)(),{subGraphTitleTotalMargin:i}=(0,a.O)(n);if(t.label){const n=f.get(t.id);let a=t.x,o=t.y;if(r){const n=s._K.calcLabelPosition(r);l.Rm.debug("Moving label "+t.label+" from (",a,",",o,") to (",n.x,",",n.y,") abc88"),e.updatedPath&&(a=n.x,o=n.y)}n.attr("transform",`translate(${a}, ${o+i/2})`)}if(t.startLabelLeft){const e=g.get(t.id).startLeft;let n=t.x,i=t.y;if(r){const e=s._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.startLabelRight){const e=g.get(t.id).startRight;let n=t.x,i=t.y;if(r){const e=s._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelLeft){const e=g.get(t.id).endLeft;let n=t.x,i=t.y;if(r){const e=s._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelRight){const e=g.get(t.id).endRight;let n=t.x,i=t.y;if(r){const e=s._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}}),"positionEdgeLabel"),C=(0,l.K2)(((t,e)=>{const r=t.x,n=t.y,i=Math.abs(e.x-r),a=Math.abs(e.y-n),o=t.width/2,s=t.height/2;return i>=o||a>=s}),"outsideNode"),w=(0,l.K2)(((t,e,r)=>{l.Rm.debug(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(r)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const n=t.x,i=t.y,a=Math.abs(n-r.x),o=t.width/2;let s=r.x<e.x?o-a:o+a;const c=t.height/2,h=Math.abs(e.y-r.y),u=Math.abs(e.x-r.x);if(Math.abs(i-e.y)*o>Math.abs(n-e.x)*c){let t=r.y<e.y?e.y-c-i:i-c-e.y;s=u*t/h;const n={x:r.x<e.x?r.x+s:r.x-u+s,y:r.y<e.y?r.y+h-t:r.y-h+t};return 0===s&&(n.x=e.x,n.y=e.y),0===u&&(n.x=e.x),0===h&&(n.y=e.y),l.Rm.debug(`abc89 top/bottom calc, Q ${h}, q ${t}, R ${u}, r ${s}`,n),n}{s=r.x<e.x?e.x-o-n:n-o-e.x;let t=h*s/u,i=r.x<e.x?r.x+u-s:r.x-u+s,a=r.y<e.y?r.y+t:r.y-t;return l.Rm.debug(`sides calc abc89, Q ${h}, q ${t}, R ${u}, r ${s}`,{_x:i,_y:a}),0===s&&(i=e.x,a=e.y),0===u&&(i=e.x),0===h&&(a=e.y),{x:i,y:a}}}),"intersection"),_=(0,l.K2)(((t,e)=>{l.Rm.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach((t=>{if(l.Rm.info("abc88 checking point",t,e),C(e,t)||i)l.Rm.warn("abc88 outside",t,n),n=t,i||r.push(t);else{const a=w(e,n,t);l.Rm.debug("abc88 inside",t,n,a),l.Rm.debug("abc88 intersection",a,e);let o=!1;r.forEach((t=>{o=o||t.x===a.x&&t.y===a.y})),r.some((t=>t.x===a.x&&t.y===a.y))?l.Rm.warn("abc88 no intersect",a,r):r.push(a),i=!0}})),l.Rm.debug("returning points",r),r}),"cutPathAtIntersect");function v(t){const e=[],r=[];for(let n=1;n<t.length-1;n++){const i=t[n-1],a=t[n],o=t[n+1];(i.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===o.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-o.y)>5)&&(e.push(a),r.push(n))}return{cornerPoints:e,cornerPointPositions:r}}(0,l.K2)(v,"extractCornerPoints");var S=(0,l.K2)((function(t,e,r){const n=e.x-t.x,i=e.y-t.y,a=r/Math.sqrt(n*n+i*i);return{x:e.x-a*n,y:e.y-a*i}}),"findAdjacentPoint"),T=(0,l.K2)((function(t){const{cornerPointPositions:e}=v(t),r=[];for(let n=0;n<t.length;n++)if(e.includes(n)){const e=t[n-1],i=t[n+1],a=t[n],o=S(e,a,5),s=S(i,a,5),c=s.x-o.x,h=s.y-o.y;r.push(o);const u=2*Math.sqrt(2);let d={x:a.x,y:a.y};if(Math.abs(i.x-e.x)>10&&Math.abs(i.y-e.y)>=10){l.Rm.debug("Corner point fixing",Math.abs(i.x-e.x),Math.abs(i.y-e.y));const t=5;d=a.x===o.x?{x:c<0?o.x-t+u:o.x+t-u,y:h<0?o.y-u:o.y+u}:{x:c<0?o.x-u:o.x+u,y:h<0?o.y-t+u:o.y+t-u}}else l.Rm.debug("Corner point skipping fixing",Math.abs(i.x-e.x),Math.abs(i.y-e.y));r.push(d,s)}else r.push(t[n]);return r}),"fixCorners"),A=(0,l.K2)((function(t,e,r,n,a,o,s){const{handDrawnSeed:d}=(0,l.D7)();let p=e.points,f=!1;const g=a;var y=o;y.intersect&&g.intersect&&(p=p.slice(1,e.points.length-1),p.unshift(g.intersect(p[0])),l.Rm.debug("Last point APA12",e.start,"--\x3e",e.end,p[p.length-1],y,y.intersect(p[p.length-1])),p.push(y.intersect(p[p.length-1]))),e.toCluster&&(l.Rm.info("to cluster abc88",r.get(e.toCluster)),p=_(e.points,r.get(e.toCluster).node),f=!0),e.fromCluster&&(l.Rm.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(p,null,2)),p=_(p.reverse(),r.get(e.fromCluster).node).reverse(),f=!0);let m=p.filter((t=>!Number.isNaN(t.y)));m=T(m);let x=c.qrM;e.curve&&(x=e.curve);const{x:b,y:k}=(0,i.R)(e),C=(0,c.n8j)().x(b).y(k).curve(x);let w,v;switch(e.thickness){case"normal":default:w="edge-thickness-normal";break;case"thick":w="edge-thickness-thick";break;case"invisible":w="edge-thickness-invisible"}switch(e.pattern){case"solid":default:w+=" edge-pattern-solid";break;case"dotted":w+=" edge-pattern-dotted";break;case"dashed":w+=" edge-pattern-dashed"}let S=C(m);const A=Array.isArray(e.style)?e.style:[e.style];if("handDrawn"===e.look){const r=h.A.svg(t);Object.assign([],m);const n=r.path(S,{roughness:.3,seed:d});w+=" transition",v=(0,c.Ltv)(n).select("path").attr("id",e.id).attr("class"," "+w+(e.classes?" "+e.classes:"")).attr("style",A?A.reduce(((t,e)=>t+";"+e),""):"");let i=v.attr("d");v.attr("d",i),t.node().appendChild(v.node())}else v=t.append("path").attr("d",S).attr("id",e.id).attr("class"," "+w+(e.classes?" "+e.classes:"")).attr("style",A?A.reduce(((t,e)=>t+";"+e),""):"");let M="";((0,l.D7)().flowchart.arrowMarkerAbsolute||(0,l.D7)().state.arrowMarkerAbsolute)&&(M=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,M=M.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),l.Rm.info("arrowTypeStart",e.arrowTypeStart),l.Rm.info("arrowTypeEnd",e.arrowTypeEnd),u(v,e,M,s,n);let B={};return f&&(B.updatedPath=p),B.originalPath=e.points,B}),"insertEdge"),M=(0,l.K2)(((t,e,r,n)=>{e.forEach((e=>{B[e](t,r,n)}))}),"insertMarkers"),B={extension:(0,l.K2)(((t,e,r)=>{l.Rm.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).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",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")}),"extension"),composition:(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).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",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).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")}),"composition"),aggregation:(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).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",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).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"),dependency:(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).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",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).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")}),"dependency"),lollipop:(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)}),"lollipop"),point:(0,l.K2)(((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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")}),"point"),circle:(0,l.K2)(((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")}),"circle"),cross:(0,l.K2)(((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")}),"cross"),barb:(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}),"barb")},L=M},79740:(t,e,r)=>{"use strict";r.d(e,{XX:()=>h,q7:()=>u,sO:()=>c});var n=r(6396),i=r(5081),a=r(85039),o=r(45567),s={common:o.Y2,getConfig:o.zj,insertCluster:i.U,insertEdge:n.Jo,insertEdgeLabel:n.jP,insertMarkers:n.g0,insertNode:i.on,interpolateToCurve:a.Ib,labelHelper:i.Zk,log:o.Rm,positionEdgeLabel:n.T_},l={},c=(0,o.K2)((t=>{for(const e of t)l[e.name]=e}),"registerLayoutLoaders");(0,o.K2)((()=>{c([{name:"dagre",loader:(0,o.K2)((async()=>await Promise.all([r.e(3624),r.e(2334),r.e(1477)]).then(r.bind(r,81477))),"loader")}])}),"registerDefaultLayoutLoaders")();var h=(0,o.K2)((async(t,e)=>{if(!(t.layoutAlgorithm in l))throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);const r=l[t.layoutAlgorithm];return(await r.loader()).render(t,e,s,{algorithm:r.algorithm})}),"render"),u=(0,o.K2)(((t="",{fallback:e="dagre"}={})=>{if(t in l)return t;if(e in l)return o.Rm.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)}),"getRegisteredLayoutAlgorithm")},86825:(t,e,r)=>{"use strict";r.d(e,{W6:()=>At,GZ:()=>Ft,hE:()=>Lt});var n=r(85039),i=r(45567),a=r(20007);function o(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let s={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function l(t){s=t}const c=/[&<>"']/,h=new RegExp(c.source,"g"),u=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,d=new RegExp(u.source,"g"),p={"&":"&","<":"<",">":">",'"':""","'":"'"},f=t=>p[t];function g(t,e){if(e){if(c.test(t))return t.replace(h,f)}else if(u.test(t))return t.replace(d,f);return t}const y=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;const m=/(^|[^\[])\^/g;function x(t,e){let r="string"==typeof t?t:t.source;e=e||"";const n={replace:(t,e)=>{let i="string"==typeof e?e:e.source;return i=i.replace(m,"$1"),r=r.replace(t,i),n},getRegex:()=>new RegExp(r,e)};return n}function b(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const k={exec:()=>null};function C(t,e){const r=t.replace(/\|/g,((t,e,r)=>{let n=!1,i=e;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"})).split(/ \|/);let n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function w(t,e,r){const n=t.length;if(0===n)return"";let i=0;for(;i<n;){const a=t.charAt(n-i-1);if(a!==e||r){if(a===e||!r)break;i++}else i++}return t.slice(0,n-i)}function _(t,e,r,n){const i=e.href,a=e.title?g(e.title):null,o=t[1].replace(/\\([\[\]])/g,"$1");if("!"!==t[0].charAt(0)){n.state.inLink=!0;const t={type:"link",raw:r,href:i,title:a,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,t}return{type:"image",raw:r,href:i,title:a,text:g(o)}}class v{options;rules;lexer;constructor(t){this.options=t||s}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const t=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:w(t,"\n")}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const t=e[0],r=function(t,e){const r=t.match(/^(\s+)(?:```)/);if(null===r)return e;const n=r[1];return e.split("\n").map((t=>{const e=t.match(/^\s+/);if(null===e)return t;const[r]=e;return r.length>=n.length?t.slice(n.length):t})).join("\n")}(t,e[3]||"");return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(/#$/.test(t)){const e=w(t,"#");this.options.pedantic?t=e.trim():e&&!/ $/.test(e)||(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:w(e[0],"\n")}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){let t=w(e[0],"\n").split("\n"),r="",n="";const i=[];for(;t.length>0;){let e=!1;const a=[];let o;for(o=0;o<t.length;o++)if(/^ {0,3}>/.test(t[o]))a.push(t[o]),e=!0;else{if(e)break;a.push(t[o])}t=t.slice(o);const s=a.join("\n"),l=s.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");r=r?`${r}\n${s}`:s,n=n?`${n}\n${l}`:l;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=c,0===t.length)break;const h=i[i.length-1];if("code"===h?.type)break;if("blockquote"===h?.type){const e=h,a=e.raw+"\n"+t.join("\n"),o=this.blockquote(a);i[i.length-1]=o,r=r.substring(0,r.length-e.raw.length)+o.raw,n=n.substring(0,n.length-e.text.length)+o.text;break}if("list"!==h?.type);else{const e=h,a=e.raw+"\n"+t.join("\n"),o=this.list(a);i[i.length-1]=o,r=r.substring(0,r.length-h.raw.length)+o.raw,n=n.substring(0,n.length-e.raw.length)+o.raw,t=a.substring(i[i.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:r,tokens:i,text:n}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r=e[1].trim();const n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");const a=new RegExp(`^( {0,3}${r})((?:[\t ][^\\n]*)?(?:\\n|$))`);let o=!1;for(;t;){let r=!1,n="",s="";if(!(e=a.exec(t)))break;if(this.rules.block.hr.test(t))break;n=e[0],t=t.substring(n.length);let l=e[2].split("\n",1)[0].replace(/^\t+/,(t=>" ".repeat(3*t.length))),c=t.split("\n",1)[0],h=!l.trim(),u=0;if(this.options.pedantic?(u=2,s=l.trimStart()):h?u=e[1].length+1:(u=e[2].search(/[^ ]/),u=u>4?1:u,s=l.slice(u),u+=e[1].length),h&&/^ *$/.test(c)&&(n+=c+"\n",t=t.substring(c.length+1),r=!0),!r){const e=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),r=new RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),a=new RegExp(`^ {0,${Math.min(3,u-1)}}#`);for(;t;){const o=t.split("\n",1)[0];if(c=o,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),i.test(c))break;if(a.test(c))break;if(e.test(c))break;if(r.test(t))break;if(c.search(/[^ ]/)>=u||!c.trim())s+="\n"+c.slice(u);else{if(h)break;if(l.search(/[^ ]/)>=4)break;if(i.test(l))break;if(a.test(l))break;if(r.test(l))break;s+="\n"+c}h||c.trim()||(h=!0),n+=o+"\n",t=t.substring(o.length+1),l=c.slice(u)}}i.loose||(o?i.loose=!0:/\n *\n *$/.test(n)&&(o=!0));let d,p=null;this.options.gfm&&(p=/^\[[ xX]\] /.exec(s),p&&(d="[ ] "!==p[0],s=s.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:n,task:!!p,checked:d,loose:!1,text:s,tokens:[]}),i.raw+=n}i.items[i.items.length-1].raw=i.items[i.items.length-1].raw.trimEnd(),i.items[i.items.length-1].text=i.items[i.items.length-1].text.trimEnd(),i.raw=i.raw.trimEnd();for(let t=0;t<i.items.length;t++)if(this.lexer.state.top=!1,i.items[t].tokens=this.lexer.blockTokens(i.items[t].text,[]),!i.loose){const e=i.items[t].tokens.filter((t=>"space"===t.type)),r=e.length>0&&e.some((t=>/\n.*\n/.test(t.raw)));i.loose=r}if(i.loose)for(let t=0;t<i.items.length;t++)i.items[t].loose=!0;return i}}html(t){const e=this.rules.block.html.exec(t);if(e){return{type:"html",block:!0,raw:e[0],pre:"pre"===e[1]||"script"===e[1]||"style"===e[1],text:e[0]}}}def(t){const e=this.rules.block.def.exec(t);if(e){const t=e[1].toLowerCase().replace(/\s+/g," "),r=e[2]?e[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:r,title:n}}}table(t){const e=this.rules.block.table.exec(t);if(!e)return;if(!/[:|]/.test(e[2]))return;const r=C(e[1]),n=e[2].replace(/^\||\| *$/g,"").split("|"),i=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[],a={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===n.length){for(const t of n)/^ *-+: *$/.test(t)?a.align.push("right"):/^ *:-+: *$/.test(t)?a.align.push("center"):/^ *:-+ *$/.test(t)?a.align.push("left"):a.align.push(null);for(let t=0;t<r.length;t++)a.header.push({text:r[t],tokens:this.lexer.inline(r[t]),header:!0,align:a.align[t]});for(const t of i)a.rows.push(C(t,a.header.length).map(((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:a.align[e]}))));return a}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){const e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:g(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const t=e[2].trim();if(!this.options.pedantic&&/^</.test(t)){if(!/>$/.test(t))return;const e=w(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{const t=function(t,e){if(-1===t.indexOf(e[1]))return-1;let r=0;for(let n=0;n<t.length;n++)if("\\"===t[n])n++;else if(t[n]===e[0])r++;else if(t[n]===e[1]&&(r--,r<0))return n;return-1}(e[2],"()");if(t>-1){const r=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,r).trim(),e[3]=""}}let r=e[2],n="";if(this.options.pedantic){const t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);t&&(r=t[1],n=t[3])}else n=e[3]?e[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(t)?r.slice(1):r.slice(1,-1)),_(e,{href:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r,title:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n},e[0],this.lexer)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const t=e[(r[2]||r[1]).replace(/\s+/g," ").toLowerCase()];if(!t){const t=r[0].charAt(0);return{type:"text",raw:t,text:t}}return _(r,t,r[0],this.lexer)}}emStrong(t,e,r=""){let n=this.rules.inline.emStrongLDelim.exec(t);if(!n)return;if(n[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(n[1]||n[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const r=[...n[0]].length-1;let i,a,o=r,s=0;const l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+r);null!=(n=l.exec(e));){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!i)continue;if(a=[...i].length,n[3]||n[4]){o+=a;continue}if((n[5]||n[6])&&r%3&&!((r+a)%3)){s+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o+s);const e=[...n[0]][0].length,l=t.slice(0,r+n.index+e+a);if(Math.min(r,a)%2){const t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}const c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(/\n/g," ");const r=/[^ ]/.test(t),n=/^ /.test(t)&&/ $/.test(t);return r&&n&&(t=t.substring(1,t.length-1)),t=g(t,!0),{type:"codespan",raw:e[0],text:t}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){const e=this.rules.inline.autolink.exec(t);if(e){let t,r;return"@"===e[2]?(t=g(e[1]),r="mailto:"+t):(t=g(e[1]),r=t),{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,r;if("@"===e[2])t=g(e[0]),r="mailto:"+t;else{let n;do{n=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??""}while(n!==e[0]);t=g(e[0]),r="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){const e=this.rules.inline.text.exec(t);if(e){let t;return t=this.lexer.state.inRawBlock?e[0]:g(e[0]),{type:"text",raw:e[0],text:t}}}}const S=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,T=/(?:[*+-]|\d{1,9}[.)])/,A=x(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,T).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),M=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,B=/(?!\s*\])(?:\\.|[^\[\]\\])+/,L=x(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",B).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),F=x(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,T).getRegex(),$="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",E=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,D=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",E).replace("tag",$).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),O=x(M).replace("hr",S).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),N={blockquote:x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",O).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:L,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:S,html:D,lheading:A,list:F,newline:/^(?: *(?:\n|$))+/,paragraph:O,table:k,text:/^[^\n]+/},I=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",S).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),R={...N,table:I,paragraph:x(M).replace("hr",S).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",I).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex()},P={...N,html:x("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",E).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(M).replace("hr",S).replace("heading"," *#{1,6} *[^\n]").replace("lheading",A).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},z=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,j=/^( {2,}|\\)\n(?!\s*$)/,K="\\p{P}\\p{S}",q=x(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,K).getRegex(),W=x(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,K).getRegex(),H=x("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,K).getRegex(),U=x("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,K).getRegex(),Y=x(/\\([punct])/,"gu").replace(/punct/g,K).getRegex(),G=x(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),V=x(E).replace("(?:--\x3e|$)","--\x3e").getRegex(),Z=x("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",V).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),X=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Q=x(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",X).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),J=x(/^!?\[(label)\]\[(ref)\]/).replace("label",X).replace("ref",B).getRegex(),tt=x(/^!?\[(ref)\](?:\[\])?/).replace("ref",B).getRegex(),et={_backpedal:k,anyPunctuation:Y,autolink:G,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:k,emStrongLDelim:W,emStrongRDelimAst:H,emStrongRDelimUnd:U,escape:z,link:Q,nolink:tt,punctuation:q,reflink:J,reflinkSearch:x("reflink|nolink(?!\\()","g").replace("reflink",J).replace("nolink",tt).getRegex(),tag:Z,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:k},rt={...et,link:x(/^!?\[(label)\]\((.*?)\)/).replace("label",X).getRegex(),reflink:x(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X).getRegex()},nt={...et,escape:x(z).replace("])","~|])").getRegex(),url:x(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},it={...nt,br:x(j).replace("{2,}","*").getRegex(),text:x(nt.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},at={normal:N,gfm:R,pedantic:P},ot={normal:et,gfm:nt,breaks:it,pedantic:rt};class st{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||s,this.options.tokenizer=this.options.tokenizer||new v,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const e={block:at.normal,inline:ot.normal};this.options.pedantic?(e.block=at.pedantic,e.inline=ot.pedantic):this.options.gfm&&(e.block=at.gfm,this.options.breaks?e.inline=ot.breaks:e.inline=ot.gfm),this.tokenizer.rules=e}static get rules(){return{block:at,inline:ot}}static lex(t,e){return new st(e).lex(t)}static lexInline(t,e){return new st(e).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,"\n"),this.blockTokens(t,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,e=[],r=!1){let n,i,a;for(t=this.options.pedantic?t.replace(/\t/g," ").replace(/^ +$/gm,""):t.replace(/^( *)(\t+)/gm,((t,e,r)=>e+" ".repeat(r.length)));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((r=>!!(n=r.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))))if(n=this.tokenizer.space(t))t=t.substring(n.raw.length),1===n.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(n);else if(n=this.tokenizer.code(t))t=t.substring(n.raw.length),i=e[e.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?e.push(n):(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.fences(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.heading(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.hr(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.blockquote(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.list(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.html(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.def(t))t=t.substring(n.raw.length),i=e[e.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(i.raw+="\n"+n.raw,i.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.table(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.lheading(t))t=t.substring(n.raw.length),e.push(n);else{if(a=t,this.options.extensions&&this.options.extensions.startBlock){let e=1/0;const r=t.slice(1);let n;this.options.extensions.startBlock.forEach((t=>{n=t.call({lexer:this},r),"number"==typeof n&&n>=0&&(e=Math.min(e,n))})),e<1/0&&e>=0&&(a=t.substring(0,e+1))}if(this.state.top&&(n=this.tokenizer.paragraph(a)))i=e[e.length-1],r&&"paragraph"===i?.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):e.push(n),r=a.length!==t.length,t=t.substring(n.raw.length);else if(n=this.tokenizer.text(t))t=t.substring(n.raw.length),i=e[e.length-1],i&&"text"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):e.push(n);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let r,n,i,a,o,s,l=t;if(this.tokens.links){const t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(l));)t.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,a.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(o||(s=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((n=>!!(r=n.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))))if(r=this.tokenizer.escape(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.tag(t))t=t.substring(r.raw.length),n=e[e.length-1],n&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):e.push(r);else if(r=this.tokenizer.link(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(r.raw.length),n=e[e.length-1],n&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):e.push(r);else if(r=this.tokenizer.emStrong(t,l,s))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.codespan(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.br(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.del(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.autolink(t))t=t.substring(r.raw.length),e.push(r);else if(this.state.inLink||!(r=this.tokenizer.url(t))){if(i=t,this.options.extensions&&this.options.extensions.startInline){let e=1/0;const r=t.slice(1);let n;this.options.extensions.startInline.forEach((t=>{n=t.call({lexer:this},r),"number"==typeof n&&n>=0&&(e=Math.min(e,n))})),e<1/0&&e>=0&&(i=t.substring(0,e+1))}if(r=this.tokenizer.inlineText(i))t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(s=r.raw.slice(-1)),o=!0,n=e[e.length-1],n&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):e.push(r);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}else t=t.substring(r.raw.length),e.push(r);return e}}class lt{options;parser;constructor(t){this.options=t||s}space(t){return""}code({text:t,lang:e,escaped:r}){const n=(e||"").match(/^\S*/)?.[0],i=t.replace(/\n$/,"")+"\n";return n?'<pre><code class="language-'+g(n)+'">'+(r?i:g(i,!0))+"</code></pre>\n":"<pre><code>"+(r?i:g(i,!0))+"</code></pre>\n"}blockquote({tokens:t}){return`<blockquote>\n${this.parser.parse(t)}</blockquote>\n`}html({text:t}){return t}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>\n`}hr(t){return"<hr>\n"}list(t){const e=t.ordered,r=t.start;let n="";for(let a=0;a<t.items.length;a++){const e=t.items[a];n+=this.listitem(e)}const i=e?"ol":"ul";return"<"+i+(e&&1!==r?' start="'+r+'"':"")+">\n"+n+"</"+i+">\n"}listitem(t){let e="";if(t.task){const r=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=r+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" "}):e+=r+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`<li>${e}</li>\n`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>\n`}table(t){let e="",r="";for(let i=0;i<t.header.length;i++)r+=this.tablecell(t.header[i]);e+=this.tablerow({text:r});let n="";for(let i=0;i<t.rows.length;i++){const e=t.rows[i];r="";for(let t=0;t<e.length;t++)r+=this.tablecell(e[t]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+n+"</table>\n"}tablerow({text:t}){return`<tr>\n${t}</tr>\n`}tablecell(t){const e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+`</${r}>\n`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${t}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:r}){const n=this.parser.parseInline(r),i=b(t);if(null===i)return n;let a='<a href="'+(t=i)+'"';return e&&(a+=' title="'+e+'"'),a+=">"+n+"</a>",a}image({href:t,title:e,text:r}){const n=b(t);if(null===n)return r;let i=`<img src="${t=n}" alt="${r}"`;return e&&(i+=` title="${e}"`),i+=">",i}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):t.text}}class ct{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class ht{options;renderer;textRenderer;constructor(t){this.options=t||s,this.options.renderer=this.options.renderer||new lt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ct}static parse(t,e){return new ht(e).parse(t)}static parseInline(t,e){return new ht(e).parseInline(t)}parse(t,e=!0){let r="";for(let n=0;n<t.length;n++){const i=t[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const t=i,e=this.options.extensions.renderers[t.type].call({parser:this},t);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(t.type)){r+=e||"";continue}}const a=i;switch(a.type){case"space":r+=this.renderer.space(a);continue;case"hr":r+=this.renderer.hr(a);continue;case"heading":r+=this.renderer.heading(a);continue;case"code":r+=this.renderer.code(a);continue;case"table":r+=this.renderer.table(a);continue;case"blockquote":r+=this.renderer.blockquote(a);continue;case"list":r+=this.renderer.list(a);continue;case"html":r+=this.renderer.html(a);continue;case"paragraph":r+=this.renderer.paragraph(a);continue;case"text":{let i=a,o=this.renderer.text(i);for(;n+1<t.length&&"text"===t[n+1].type;)i=t[++n],o+="\n"+this.renderer.text(i);r+=e?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o}]}):o;continue}default:{const t='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw new Error(t)}}}return r}parseInline(t,e){e=e||this.renderer;let r="";for(let n=0;n<t.length;n++){const i=t[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const t=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=t||"";continue}}const a=i;switch(a.type){case"escape":case"text":r+=e.text(a);break;case"html":r+=e.html(a);break;case"link":r+=e.link(a);break;case"image":r+=e.image(a);break;case"strong":r+=e.strong(a);break;case"em":r+=e.em(a);break;case"codespan":r+=e.codespan(a);break;case"br":r+=e.br(a);break;case"del":r+=e.del(a);break;default:{const t='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw new Error(t)}}}return r}}class ut{options;constructor(t){this.options=t||s}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}}const dt=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.#t(st.lex,ht.parse);parseInline=this.#t(st.lexInline,ht.parseInline);Parser=ht;Renderer=lt;TextRenderer=ct;Lexer=st;Tokenizer=v;Hooks=ut;constructor(...t){this.use(...t)}walkTokens(t,e){let r=[];for(const n of t)switch(r=r.concat(e.call(this,n)),n.type){case"table":{const t=n;for(const n of t.header)r=r.concat(this.walkTokens(n.tokens,e));for(const n of t.rows)for(const t of n)r=r.concat(this.walkTokens(t.tokens,e));break}case"list":{const t=n;r=r.concat(this.walkTokens(t.items,e));break}default:{const t=n;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach((n=>{const i=t[n].flat(1/0);r=r.concat(this.walkTokens(i,e))})):t.tokens&&(r=r.concat(this.walkTokens(t.tokens,e)))}}return r}use(...t){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach((t=>{const r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach((t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){const r=e.renderers[t.name];e.renderers[t.name]=r?function(...e){let n=t.renderer.apply(this,e);return!1===n&&(n=r.apply(this,e)),n}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");const r=e[t.level];r?r.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)})),r.extensions=e),t.renderer){const e=this.defaults.renderer||new lt(this.defaults);for(const r in t.renderer){if(!(r in e))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;const n=r;let i=t.renderer[n];t.useNewRenderer||(i=this.#e(i,n,e));const a=e[n];e[n]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=a.apply(e,t)),r||""}}r.renderer=e}if(t.tokenizer){const e=this.defaults.tokenizer||new v(this.defaults);for(const r in t.tokenizer){if(!(r in e))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;const n=r,i=t.tokenizer[n],a=e[n];e[n]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=a.apply(e,t)),r}}r.tokenizer=e}if(t.hooks){const e=this.defaults.hooks||new ut;for(const r in t.hooks){if(!(r in e))throw new Error(`hook '${r}' does not exist`);if("options"===r)continue;const n=r,i=t.hooks[n],a=e[n];ut.passThroughHooks.has(r)?e[n]=t=>{if(this.defaults.async)return Promise.resolve(i.call(e,t)).then((t=>a.call(e,t)));const r=i.call(e,t);return a.call(e,r)}:e[n]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=a.apply(e,t)),r}}r.hooks=e}if(t.walkTokens){const e=this.defaults.walkTokens,n=t.walkTokens;r.walkTokens=function(t){let r=[];return r.push(n.call(this,t)),e&&(r=r.concat(e.call(this,t))),r}}this.defaults={...this.defaults,...r}})),this}#e(t,e,r){switch(e){case"heading":return function(n){return n.type&&n.type===e?t.call(this,r.parser.parseInline(n.tokens),n.depth,function(t){return t.replace(y,((t,e)=>"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}(r.parser.parseInline(n.tokens,r.parser.textRenderer))):t.apply(this,arguments)};case"code":return function(r){return r.type&&r.type===e?t.call(this,r.text,r.lang,!!r.escaped):t.apply(this,arguments)};case"table":return function(r){if(!r.type||r.type!==e)return t.apply(this,arguments);let n="",i="";for(let t=0;t<r.header.length;t++)i+=this.tablecell({text:r.header[t].text,tokens:r.header[t].tokens,header:!0,align:r.align[t]});n+=this.tablerow({text:i});let a="";for(let t=0;t<r.rows.length;t++){const e=r.rows[t];i="";for(let t=0;t<e.length;t++)i+=this.tablecell({text:e[t].text,tokens:e[t].tokens,header:!1,align:r.align[t]});a+=this.tablerow({text:i})}return t.call(this,n,a)};case"blockquote":return function(r){if(!r.type||r.type!==e)return t.apply(this,arguments);const n=this.parser.parse(r.tokens);return t.call(this,n)};case"list":return function(r){if(!r.type||r.type!==e)return t.apply(this,arguments);const n=r.ordered,i=r.start,a=r.loose;let o="";for(let t=0;t<r.items.length;t++){const e=r.items[t],n=e.checked,i=e.task;let s="";if(e.task){const t=this.checkbox({checked:!!n});a?e.tokens.length>0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=t+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=t+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",text:t+" "}):s+=t+" "}s+=this.parser.parse(e.tokens,a),o+=this.listitem({type:"list_item",raw:s,text:s,task:i,checked:!!n,loose:a,tokens:e.tokens})}return t.call(this,o,n,i)};case"html":return function(r){return r.type&&r.type===e?t.call(this,r.text,r.block):t.apply(this,arguments)};case"paragraph":case"strong":case"em":case"del":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"escape":case"codespan":case"text":return function(r){return r.type&&r.type===e?t.call(this,r.text):t.apply(this,arguments)};case"link":return function(r){return r.type&&r.type===e?t.call(this,r.href,r.title,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"image":return function(r){return r.type&&r.type===e?t.call(this,r.href,r.title,r.text):t.apply(this,arguments)}}return t}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return st.lex(t,e??this.defaults)}parser(t,e){return ht.parse(t,e??this.defaults)}#t(t,e){return(r,n)=>{const i={...n},a={...this.defaults,...i};!0===this.defaults.async&&!1===i.async&&(a.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),a.async=!0);const o=this.#r(!!a.silent,!!a.async);if(null==r)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(a.hooks&&(a.hooks.options=a),a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(r):r).then((e=>t(e,a))).then((t=>a.hooks?a.hooks.processAllTokens(t):t)).then((t=>a.walkTokens?Promise.all(this.walkTokens(t,a.walkTokens)).then((()=>t)):t)).then((t=>e(t,a))).then((t=>a.hooks?a.hooks.postprocess(t):t)).catch(o);try{a.hooks&&(r=a.hooks.preprocess(r));let n=t(r,a);a.hooks&&(n=a.hooks.processAllTokens(n)),a.walkTokens&&this.walkTokens(n,a.walkTokens);let i=e(n,a);return a.hooks&&(i=a.hooks.postprocess(i)),i}catch(s){return o(s)}}}#r(t,e){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",t){const t="<p>An error occurred:</p><pre>"+g(r.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}};function pt(t,e){return dt.parse(t,e)}pt.options=pt.setOptions=function(t){return dt.setOptions(t),pt.defaults=dt.defaults,l(pt.defaults),pt},pt.getDefaults=o,pt.defaults=s,pt.use=function(...t){return dt.use(...t),pt.defaults=dt.defaults,l(pt.defaults),pt},pt.walkTokens=function(t,e){return dt.walkTokens(t,e)},pt.parseInline=dt.parseInline,pt.Parser=ht,pt.parser=ht.parse,pt.Renderer=lt,pt.TextRenderer=ct,pt.Lexer=st,pt.lexer=st.lex,pt.Tokenizer=v,pt.Hooks=ut,pt.parse=pt;pt.options,pt.setOptions,pt.use,pt.walkTokens,pt.parseInline,ht.parse,st.lex;var ft=r(60513);function gt(t,{markdownAutoWrap:e}){const r=t.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n"),n=(0,ft.T)(r);return!1===e?n.replace(/ /g," "):n}function yt(t,e={}){const r=gt(t,e),n=pt.lexer(r),a=[[]];let o=0;function s(t,e="normal"){if("text"===t.type){t.text.split("\n").forEach(((t,r)=>{0!==r&&(o++,a.push([])),t.split(" ").forEach((t=>{(t=t.replace(/'/g,"'"))&&a[o].push({content:t,type:e})}))}))}else"strong"===t.type||"em"===t.type?t.tokens.forEach((e=>{s(e,t.type)})):"html"===t.type&&a[o].push({content:t.text,type:"normal"})}return(0,i.K2)(s,"processNode"),n.forEach((t=>{"paragraph"===t.type?t.tokens?.forEach((t=>{s(t)})):"html"===t.type&&a[o].push({content:t.text,type:"normal"})})),a}function mt(t,{markdownAutoWrap:e}={}){const r=pt.lexer(t);function n(t){return"text"===t.type?!1===e?t.text.replace(/\n */g,"<br/>").replace(/ /g," "):t.text.replace(/\n */g,"<br/>"):"strong"===t.type?`<strong>${t.tokens?.map(n).join("")}</strong>`:"em"===t.type?`<em>${t.tokens?.map(n).join("")}</em>`:"paragraph"===t.type?`<p>${t.tokens?.map(n).join("")}</p>`:"space"===t.type?"":"html"===t.type?`${t.text}`:"escape"===t.type?t.text:`Unsupported markdown: ${t.type}`}return(0,i.K2)(n,"output"),r.map(n).join("")}function xt(t){return Intl.Segmenter?[...(new Intl.Segmenter).segment(t)].map((t=>t.segment)):[...t]}function bt(t,e){return kt(t,[],xt(e.content),e.type)}function kt(t,e,r,n){if(0===r.length)return[{content:e.join(""),type:n},{content:"",type:n}];const[i,...a]=r,o=[...e,i];return t([{content:o.join(""),type:n}])?kt(t,o,a,n):(0===e.length&&i&&(e.push(i),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}function Ct(t,e){if(t.some((({content:t})=>t.includes("\n"))))throw new Error("splitLineToFitWidth does not support newlines in the line");return wt(t,e)}function wt(t,e,r=[],n=[]){if(0===t.length)return n.length>0&&r.push(n),r.length>0?r:[];let i="";" "===t[0].content&&(i=" ",t.shift());const a=t.shift()??{content:" ",type:"normal"},o=[...n];if(""!==i&&o.push({content:i,type:"normal"}),o.push(a),e(o))return wt(t,e,r,o);if(n.length>0)r.push(n),t.unshift(a);else if(a.content){const[n,i]=bt(e,a);r.push([n]),i.content&&t.unshift(i)}return wt(t,e,r)}function _t(t,e){e&&t.attr("style",e)}async function vt(t,e,r,n,a=!1){const o=t.append("foreignObject");o.attr("width",10*r+"px"),o.attr("height",10*r+"px");const s=o.append("xhtml:div");let l=e.label;e.label&&(0,i.Wi)(e.label)&&(l=await(0,i.VJ)(e.label.replace(i.Y2.lineBreakRegex,"\n"),(0,i.D7)()));const c=e.isNode?"nodeLabel":"edgeLabel",h=s.append("span");h.html(l),_t(h,e.labelStyle),h.attr("class",`${c} ${n}`),_t(s,e.labelStyle),s.style("display","table-cell"),s.style("white-space","nowrap"),s.style("line-height","1.5"),s.style("max-width",r+"px"),s.style("text-align","center"),s.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&s.attr("class","labelBkg");let u=s.node().getBoundingClientRect();return u.width===r&&(s.style("display","table"),s.style("white-space","break-spaces"),s.style("width",r+"px"),u=s.node().getBoundingClientRect()),o.node()}function St(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function Tt(t,e,r){const n=t.append("text"),i=St(n,1,e);Bt(i,r);const a=i.node().getComputedTextLength();return n.remove(),a}function At(t,e,r){const n=t.append("text"),i=St(n,1,e);Bt(i,[{content:r,type:"normal"}]);const a=i.node()?.getBoundingClientRect();return a&&n.remove(),a}function Mt(t,e,r,n=!1){const a=e.append("g"),o=a.insert("rect").attr("class","background").attr("style","stroke: none"),s=a.append("text").attr("y","-10.1");let l=0;for(const c of r){const e=(0,i.K2)((e=>Tt(a,1.1,e)<=t),"checkWidth"),r=e(c)?[c]:Ct(c,e);for(const t of r){Bt(St(s,l,1.1),t),l++}}if(n){const t=s.node().getBBox(),e=2;return o.attr("x",t.x-e).attr("y",t.y-e).attr("width",t.width+2*e).attr("height",t.height+2*e),a.node()}return s.node()}function Bt(t,e){t.text(""),e.forEach(((e,r)=>{const n=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?n.text(e.content):n.text(" "+e.content)}))}function Lt(t){return t.replace(/fa[bklrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))}(0,i.K2)(gt,"preprocessMarkdown"),(0,i.K2)(yt,"markdownToLines"),(0,i.K2)(mt,"markdownToHTML"),(0,i.K2)(xt,"splitTextToChars"),(0,i.K2)(bt,"splitWordToFitWidth"),(0,i.K2)(kt,"splitWordToFitWidthRecursion"),(0,i.K2)(Ct,"splitLineToFitWidth"),(0,i.K2)(wt,"splitLineToFitWidthRecursion"),(0,i.K2)(_t,"applyStyle"),(0,i.K2)(vt,"addHtmlSpan"),(0,i.K2)(St,"createTspan"),(0,i.K2)(Tt,"computeWidthOfText"),(0,i.K2)(At,"computeDimensionOfText"),(0,i.K2)(Mt,"createFormattedText"),(0,i.K2)(Bt,"updateTextContentAndStyles"),(0,i.K2)(Lt,"replaceIconSubstring");var Ft=(0,i.K2)((async(t,e="",{style:r="",isTitle:o=!1,classes:s="",useHtmlLabels:l=!0,isNode:c=!0,width:h=200,addSvgBackground:u=!1}={},d)=>{if(i.Rm.debug("XYZ createText",e,r,o,s,l,c,"addSvgBackground: ",u),l){const a=mt(e,d),o=Lt((0,n.Sm)(a)),l=e.replace(/\\\\/g,"\\"),p={isNode:c,label:(0,i.Wi)(e)?l:o,labelStyle:r.replace("fill:","color:")};return await vt(t,p,h,s,u)}{const n=Mt(h,t,yt(e.replace(/<br\s*\/?>/g,"<br/>").replace("<br>","<br/>"),d),!!e&&u);if(c){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));const t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ltv)(n).attr("style",t)}else{const t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,a.Ltv)(n).select("rect").attr("style",t.replace(/background:/g,"fill:"));const e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ltv)(n).select("text").attr("style",e)}return n}}),"createText")},29196:(t,e,r)=>{"use strict";r.d(e,{r:()=>n});var n="11.4.0"},62392:(t,e,r)=>{"use strict";r.d(e,{O:()=>n});var n=(0,r(45567).K2)((({flowchart:t})=>{const e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}}),"getSubGraphTitleMargins")},52294:(t,e,r)=>{"use strict";r.d(e,{R:()=>s});var n=r(45567),i={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function a(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=o(t),e=o(e);const[r,n]=[t.x,t.y],[i,a]=[e.x,e.y],s=i-r,l=a-n;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}(0,n.K2)(a,"calculateDeltaAndAngle");var o=(0,n.K2)((t=>Array.isArray(t)?{x:t[0],y:t[1]}:t),"pointTransformer"),s=(0,n.K2)((t=>({x:(0,n.K2)((function(e,r,n){let s=0;const l=o(n[0]).x<o(n[n.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(i,t.arrowTypeStart)){const{angle:e,deltaX:r}=a(n[0],n[1]);s=i[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(i,t.arrowTypeEnd)){const{angle:e,deltaX:r}=a(n[n.length-1],n[n.length-2]);s=i[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}const c=Math.abs(o(e).x-o(n[n.length-1]).x),h=Math.abs(o(e).y-o(n[n.length-1]).y),u=Math.abs(o(e).x-o(n[0]).x),d=Math.abs(o(e).y-o(n[0]).y),p=i[t.arrowTypeStart],f=i[t.arrowTypeEnd];if(c<f&&c>0&&h<f){let t=f+1-c;t*="right"===l?-1:1,s-=t}if(u<p&&u>0&&d<p){let t=p+1-u;t*="right"===l?-1:1,s+=t}return o(e).x+s}),"x"),y:(0,n.K2)((function(e,r,n){let s=0;const l=o(n[0]).y<o(n[n.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(i,t.arrowTypeStart)){const{angle:e,deltaY:r}=a(n[0],n[1]);s=i[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(i,t.arrowTypeEnd)){const{angle:e,deltaY:r}=a(n[n.length-1],n[n.length-2]);s=i[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}const c=Math.abs(o(e).y-o(n[n.length-1]).y),h=Math.abs(o(e).x-o(n[n.length-1]).x),u=Math.abs(o(e).y-o(n[0]).y),d=Math.abs(o(e).x-o(n[0]).x),p=i[t.arrowTypeStart],f=i[t.arrowTypeEnd];if(c<f&&c>0&&h<f){let t=f+1-c;t*="up"===l?-1:1,s-=t}if(u<p&&u>0&&d<p){let t=p+1-u;t*="up"===l?-1:1,s+=t}return o(e).y+s}),"y")})),"getLineFunctionsWithOffset")}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8130.d821de8e.js.LICENSE.txt b/pr-preview/pr-4/assets/js/8130.d821de8e.js.LICENSE.txt new file mode 100644 index 0000000..04660fd --- /dev/null +++ b/pr-preview/pr-4/assets/js/8130.d821de8e.js.LICENSE.txt @@ -0,0 +1,7 @@ +/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */ + +/*! Bundled license information: + +js-yaml/dist/js-yaml.mjs: + (*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *) +*/ diff --git a/pr-preview/pr-4/assets/js/8174.ab202f7a.js b/pr-preview/pr-4/assets/js/8174.ab202f7a.js new file mode 100644 index 0000000..585ce8a --- /dev/null +++ b/pr-preview/pr-4/assets/js/8174.ab202f7a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8174],{86022:(t,r,e)=>{function n(t,r){t.accDescr&&r.setAccDescription?.(t.accDescr),t.accTitle&&r.setAccTitle?.(t.accTitle),t.title&&r.setDiagramTitle?.(t.title)}e.d(r,{S:()=>n}),(0,e(45567).K2)(n,"populateCommonDb")},39676:(t,r,e)=>{e.d(r,{m:()=>o});var n=e(45567),o=class{constructor(t){this.init=t,this.records=this.init()}static{(0,n.K2)(this,"ImperativeState")}reset(){this.records=this.init()}}},78174:(t,r,e)=>{e.d(r,{diagram:()=>ft});var n=e(86022),o=e(39676),a=e(85039),c=e(45567),s=e(78731),i=e(20007),h={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},d=c.UI.gitGraph,m=(0,c.K2)((()=>(0,a.$t)({...d,...(0,c.zj)().gitGraph})),"getConfig"),$=new o.m((()=>{const t=m(),r=t.mainBranchName,e=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:e}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}}));function l(){return(0,a.yT)({length:7})}function y(t,r){const e=Object.create(null);return t.reduce(((t,n)=>{const o=r(n);return e[o]||(e[o]=!0,t.push(n)),t}),[])}(0,c.K2)(l,"getID"),(0,c.K2)(y,"uniqBy");var g=(0,c.K2)((function(t){$.records.direction=t}),"setDirection"),p=(0,c.K2)((function(t){c.Rm.debug("options str",t),t=t?.trim(),t=t||"{}";try{$.records.options=JSON.parse(t)}catch(r){c.Rm.error("error while parsing gitGraph options",r.message)}}),"setOptions"),x=(0,c.K2)((function(){return $.records.options}),"getOptions"),f=(0,c.K2)((function(t){let r=t.msg,e=t.id;const n=t.type;let o=t.tags;c.Rm.info("commit",r,e,n,o),c.Rm.debug("Entering commit:",r,e,n,o);const a=m();e=c.Y2.sanitizeText(e,a),r=c.Y2.sanitizeText(r,a),o=o?.map((t=>c.Y2.sanitizeText(t,a)));const s={id:e||$.records.seq+"-"+l(),message:r,seq:$.records.seq++,type:n??h.NORMAL,tags:o??[],parents:null==$.records.head?[]:[$.records.head.id],branch:$.records.currBranch};$.records.head=s,c.Rm.info("main branch",a.mainBranchName),$.records.commits.set(s.id,s),$.records.branches.set($.records.currBranch,s.id),c.Rm.debug("in pushCommit "+s.id)}),"commit"),u=(0,c.K2)((function(t){let r=t.name;const e=t.order;if(r=c.Y2.sanitizeText(r,m()),$.records.branches.has(r))throw 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 ${r}")`);$.records.branches.set(r,null!=$.records.head?$.records.head.id:null),$.records.branchConfig.set(r,{name:r,order:e}),B(r),c.Rm.debug("in createBranch")}),"branch"),b=(0,c.K2)((t=>{let r=t.branch,e=t.id;const n=t.type,o=t.tags,a=m();r=c.Y2.sanitizeText(r,a),e&&(e=c.Y2.sanitizeText(e,a));const s=$.records.branches.get($.records.currBranch),i=$.records.branches.get(r),d=s?$.records.commits.get(s):void 0,y=i?$.records.commits.get(i):void 0;if(d&&y&&d.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if($.records.currBranch===r){const t=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},t}if(void 0===d||!d){const t=new Error(`Incorrect usage of "merge". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},t}if(!$.records.branches.has(r)){const t=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},t}if(void 0===y||!y){const t=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},t}if(d===y){const t=new Error('Incorrect usage of "merge". Both branches have same head');throw t.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},t}if(e&&$.records.commits.has(e)){const t=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw t.hash={text:`merge ${r} ${e} ${n} ${o?.join(" ")}`,token:`merge ${r} ${e} ${n} ${o?.join(" ")}`,expected:[`merge ${r} ${e}_UNIQUE ${n} ${o?.join(" ")}`]},t}const g=i||"",p={id:e||`${$.records.seq}-${l()}`,message:`merged branch ${r} into ${$.records.currBranch}`,seq:$.records.seq++,parents:null==$.records.head?[]:[$.records.head.id,g],branch:$.records.currBranch,type:h.MERGE,customType:n,customId:!!e,tags:o??[]};$.records.head=p,$.records.commits.set(p.id,p),$.records.branches.set($.records.currBranch,p.id),c.Rm.debug($.records.branches),c.Rm.debug("in mergeBranch")}),"merge"),w=(0,c.K2)((function(t){let r=t.id,e=t.targetId,n=t.tags,o=t.parent;c.Rm.debug("Entering cherryPick:",r,e,n);const a=m();if(r=c.Y2.sanitizeText(r,a),e=c.Y2.sanitizeText(e,a),n=n?.map((t=>c.Y2.sanitizeText(t,a))),o=c.Y2.sanitizeText(o,a),!r||!$.records.commits.has(r)){const t=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw t.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},t}const s=$.records.commits.get(r);if(void 0===s||!s)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&(!Array.isArray(s.parents)||!s.parents.includes(o))){throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.")}const i=s.branch;if(s.type===h.MERGE&&!o){throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.")}if(!e||!$.records.commits.has(e)){if(i===$.records.currBranch){const t=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw t.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},t}const t=$.records.branches.get($.records.currBranch);if(void 0===t||!t){const t=new Error(`Incorrect usage of "cherry-pick". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},t}const a=$.records.commits.get(t);if(void 0===a||!a){const t=new Error(`Incorrect usage of "cherry-pick". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},t}const d={id:$.records.seq+"-"+l(),message:`cherry-picked ${s?.message} into ${$.records.currBranch}`,seq:$.records.seq++,parents:null==$.records.head?[]:[$.records.head.id,s.id],branch:$.records.currBranch,type:h.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===h.MERGE?`|parent:${o}`:""}`]};$.records.head=d,$.records.commits.set(d.id,d),$.records.branches.set($.records.currBranch,d.id),c.Rm.debug($.records.branches),c.Rm.debug("in cherryPick")}}),"cherryPick"),B=(0,c.K2)((function(t){if(t=c.Y2.sanitizeText(t,m()),!$.records.branches.has(t)){const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}{$.records.currBranch=t;const r=$.records.branches.get($.records.currBranch);$.records.head=void 0!==r&&r?$.records.commits.get(r)??null:null}}),"checkout");function E(t,r,e){const n=t.indexOf(r);-1===n?t.push(e):t.splice(n,1,e)}function k(t){const r=t.reduce(((t,r)=>t.seq>r.seq?t:r),t[0]);let e="";t.forEach((function(t){e+=t===r?"\t*":"\t|"}));const n=[e,r.id,r.seq];for(const o in $.records.branches)$.records.branches.get(o)===r.id&&n.push(o);if(c.Rm.debug(n.join(" ")),r.parents&&2==r.parents.length&&r.parents[0]&&r.parents[1]){const e=$.records.commits.get(r.parents[0]);E(t,r,e),r.parents[1]&&t.push($.records.commits.get(r.parents[1]))}else{if(0==r.parents.length)return;if(r.parents[0]){const e=$.records.commits.get(r.parents[0]);E(t,r,e)}}k(t=y(t,(t=>t.id)))}(0,c.K2)(E,"upsert"),(0,c.K2)(k,"prettyPrintCommitHistory");var C=(0,c.K2)((function(){c.Rm.debug($.records.commits);k([R()[0]])}),"prettyPrint"),T=(0,c.K2)((function(){$.reset(),(0,c.IU)()}),"clear"),L=(0,c.K2)((function(){return[...$.records.branchConfig.values()].map(((t,r)=>null!==t.order&&void 0!==t.order?t:{...t,order:parseFloat(`0.${r}`)})).sort(((t,r)=>(t.order??0)-(r.order??0))).map((({name:t})=>({name:t})))}),"getBranchesAsObjArray"),K=(0,c.K2)((function(){return $.records.branches}),"getBranches"),M=(0,c.K2)((function(){return $.records.commits}),"getCommits"),R=(0,c.K2)((function(){const t=[...$.records.commits.values()];return t.forEach((function(t){c.Rm.debug(t.id)})),t.sort(((t,r)=>t.seq-r.seq)),t}),"getCommitsArray"),v={commitType:h,getConfig:m,setDirection:g,setOptions:p,getOptions:x,commit:f,branch:u,merge:b,cherryPick:w,checkout:B,prettyPrint:C,clear:T,getBranchesAsObjArray:L,getBranches:K,getCommits:M,getCommitsArray:R,getCurrentBranch:(0,c.K2)((function(){return $.records.currBranch}),"getCurrentBranch"),getDirection:(0,c.K2)((function(){return $.records.direction}),"getDirection"),getHead:(0,c.K2)((function(){return $.records.head}),"getHead"),setAccTitle:c.SV,getAccTitle:c.iN,getAccDescription:c.m7,setAccDescription:c.EI,setDiagramTitle:c.ke,getDiagramTitle:c.ab},P=(0,c.K2)(((t,r)=>{(0,n.S)(t,r),t.dir&&r.setDirection(t.dir);for(const e of t.statements)I(e,r)}),"populate"),I=(0,c.K2)(((t,r)=>{const e={Commit:(0,c.K2)((t=>r.commit(A(t))),"Commit"),Branch:(0,c.K2)((t=>r.branch(G(t))),"Branch"),Merge:(0,c.K2)((t=>r.merge(O(t))),"Merge"),Checkout:(0,c.K2)((t=>r.checkout(q(t))),"Checkout"),CherryPicking:(0,c.K2)((t=>r.cherryPick(z(t))),"CherryPicking")}[t.$type];e?e(t):c.Rm.error(`Unknown statement type: ${t.$type}`)}),"parseStatement"),A=(0,c.K2)((t=>({id:t.id,msg:t.message??"",type:void 0!==t.type?h[t.type]:h.NORMAL,tags:t.tags??void 0})),"parseCommit"),G=(0,c.K2)((t=>({name:t.name,order:t.order??0})),"parseBranch"),O=(0,c.K2)((t=>({branch:t.branch,id:t.id??"",type:void 0!==t.type?h[t.type]:void 0,tags:t.tags??void 0})),"parseMerge"),q=(0,c.K2)((t=>t.branch),"parseCheckout"),z=(0,c.K2)((t=>({id:t.id,targetId:"",tags:0===t.tags?.length?void 0:t.tags,parent:t.parent})),"parseCherryPicking"),H={parse:(0,c.K2)((async t=>{const r=await(0,s.qg)("gitGraph",t);c.Rm.debug(r),P(r,v)}),"parse")};var S=(0,c.D7)(),D=S?.gitGraph,Y=10,N=40,j=new Map,W=new Map,_=new Map,F=[],U=0,V="LR",J=(0,c.K2)((()=>{j.clear(),W.clear(),_.clear(),U=0,F=[],V="LR"}),"clear"),Q=(0,c.K2)((t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return("string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach((t=>{const e=document.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","0"),e.setAttribute("class","row"),e.textContent=t.trim(),r.appendChild(e)})),r}),"drawText"),X=(0,c.K2)((t=>{let r,e,n;return"BT"===V?(e=(0,c.K2)(((t,r)=>t<=r),"comparisonFunc"),n=1/0):(e=(0,c.K2)(((t,r)=>t>=r),"comparisonFunc"),n=0),t.forEach((t=>{const o="TB"===V||"BT"==V?W.get(t)?.y:W.get(t)?.x;void 0!==o&&e(o,n)&&(r=t,n=o)})),r}),"findClosestParent"),Z=(0,c.K2)((t=>{let r="",e=1/0;return t.forEach((t=>{const n=W.get(t).y;n<=e&&(r=t,e=n)})),r||void 0}),"findClosestParentBT"),tt=(0,c.K2)(((t,r,e)=>{let n=e,o=e;const a=[];t.forEach((t=>{const e=r.get(t);if(!e)throw new Error(`Commit not found for key ${t}`);e.parents.length?(n=et(e),o=Math.max(n,o)):a.push(e),nt(e,n)})),n=o,a.forEach((t=>{ot(t,n,e)})),t.forEach((t=>{const e=r.get(t);if(e?.parents.length){const t=Z(e.parents);n=W.get(t).y-N,n<=o&&(o=n);const r=j.get(e.branch).pos,a=n-Y;W.set(e.id,{x:r,y:a})}}))}),"setParallelBTPos"),rt=(0,c.K2)((t=>{const r=X(t.parents.filter((t=>null!==t)));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const e=W.get(r)?.y;if(void 0===e)throw new Error(`Closest parent position not found for commit ${t.id}`);return e}),"findClosestParentPos"),et=(0,c.K2)((t=>rt(t)+N),"calculateCommitPosition"),nt=(0,c.K2)(((t,r)=>{const e=j.get(t.branch);if(!e)throw new Error(`Branch not found for commit ${t.id}`);const n=e.pos,o=r+Y;return W.set(t.id,{x:n,y:o}),{x:n,y:o}}),"setCommitPosition"),ot=(0,c.K2)(((t,r,e)=>{const n=j.get(t.branch);if(!n)throw new Error(`Branch not found for commit ${t.id}`);const o=r+e,a=n.pos;W.set(t.id,{x:a,y:o})}),"setRootPosition"),at=(0,c.K2)(((t,r,e,n,o,a)=>{if(a===h.HIGHLIGHT)t.append("rect").attr("x",e.x-10).attr("y",e.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${o%8} ${n}-outer`),t.append("rect").attr("x",e.x-6).attr("y",e.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${o%8} ${n}-inner`);else if(a===h.CHERRY_PICK)t.append("circle").attr("cx",e.x).attr("cy",e.y).attr("r",10).attr("class",`commit ${r.id} ${n}`),t.append("circle").attr("cx",e.x-3).attr("cy",e.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${n}`),t.append("circle").attr("cx",e.x+3).attr("cy",e.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${n}`),t.append("line").attr("x1",e.x+3).attr("y1",e.y+1).attr("x2",e.x).attr("y2",e.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${n}`),t.append("line").attr("x1",e.x-3).attr("y1",e.y+1).attr("x2",e.x).attr("y2",e.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${n}`);else{const c=t.append("circle");if(c.attr("cx",e.x),c.attr("cy",e.y),c.attr("r",r.type===h.MERGE?9:10),c.attr("class",`commit ${r.id} commit${o%8}`),a===h.MERGE){const a=t.append("circle");a.attr("cx",e.x),a.attr("cy",e.y),a.attr("r",6),a.attr("class",`commit ${n} ${r.id} commit${o%8}`)}if(a===h.REVERSE){t.append("path").attr("d",`M ${e.x-5},${e.y-5}L${e.x+5},${e.y+5}M${e.x-5},${e.y+5}L${e.x+5},${e.y-5}`).attr("class",`commit ${n} ${r.id} commit${o%8}`)}}}),"drawCommitBullet"),ct=(0,c.K2)(((t,r,e,n)=>{if(r.type!==h.CHERRY_PICK&&(r.customId&&r.type===h.MERGE||r.type!==h.MERGE)&&D?.showCommitLabel){const o=t.append("g"),a=o.insert("rect").attr("class","commit-label-bkg"),c=o.append("text").attr("x",n).attr("y",e.y+25).attr("class","commit-label").text(r.id),s=c.node()?.getBBox();if(s&&(a.attr("x",e.posWithOffset-s.width/2-2).attr("y",e.y+13.5).attr("width",s.width+4).attr("height",s.height+4),"TB"===V||"BT"===V?(a.attr("x",e.x-(s.width+16+5)).attr("y",e.y-12),c.attr("x",e.x-(s.width+16)).attr("y",e.y+s.height-12)):c.attr("x",e.posWithOffset-s.width/2),D.rotateCommitLabel))if("TB"===V||"BT"===V)c.attr("transform","rotate(-45, "+e.x+", "+e.y+")"),a.attr("transform","rotate(-45, "+e.x+", "+e.y+")");else{const t=-7.5-(s.width+10)/25*9.5,r=10+s.width/25*8.5;o.attr("transform","translate("+t+", "+r+") rotate(-45, "+n+", "+e.y+")")}}}),"drawCommitLabel"),st=(0,c.K2)(((t,r,e,n)=>{if(r.tags.length>0){let o=0,a=0,c=0;const s=[];for(const n of r.tags.reverse()){const r=t.insert("polygon"),i=t.append("circle"),h=t.append("text").attr("y",e.y-16-o).attr("class","tag-label").text(n),d=h.node()?.getBBox();if(!d)throw new Error("Tag bbox not found");a=Math.max(a,d.width),c=Math.max(c,d.height),h.attr("x",e.posWithOffset-d.width/2),s.push({tag:h,hole:i,rect:r,yOffset:o}),o+=20}for(const{tag:t,hole:r,rect:i,yOffset:h}of s){const o=c/2,s=e.y-19.2-h;if(i.attr("class","tag-label-bkg").attr("points",`\n ${n-a/2-2},${s+2} \n ${n-a/2-2},${s-2}\n ${e.posWithOffset-a/2-4},${s-o-2}\n ${e.posWithOffset+a/2+4},${s-o-2}\n ${e.posWithOffset+a/2+4},${s+o+2}\n ${e.posWithOffset-a/2-4},${s+o+2}`),r.attr("cy",s).attr("cx",n-a/2+2).attr("r",1.5).attr("class","tag-hole"),"TB"===V||"BT"===V){const c=n+h;i.attr("class","tag-label-bkg").attr("points",`\n ${e.x},${c+2}\n ${e.x},${c-2}\n ${e.x+Y},${c-o-2}\n ${e.x+Y+a+4},${c-o-2}\n ${e.x+Y+a+4},${c+o+2}\n ${e.x+Y},${c+o+2}`).attr("transform","translate(12,12) rotate(45, "+e.x+","+n+")"),r.attr("cx",e.x+2).attr("cy",c).attr("transform","translate(12,12) rotate(45, "+e.x+","+n+")"),t.attr("x",e.x+5).attr("y",c+3).attr("transform","translate(14,14) rotate(45, "+e.x+","+n+")")}}}}),"drawCommitTags"),it=(0,c.K2)((t=>{switch(t.customType??t.type){case h.NORMAL:return"commit-normal";case h.REVERSE:return"commit-reverse";case h.HIGHLIGHT:return"commit-highlight";case h.MERGE:return"commit-merge";case h.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}}),"getCommitClassType"),ht=(0,c.K2)(((t,r,e,n)=>{const o={x:0,y:0};if(!(t.parents.length>0)){if("TB"===r)return 30;if("BT"===r){return(n.get(t.id)??o).y-N}return 0}{const e=X(t.parents);if(e){const a=n.get(e)??o;if("TB"===r)return a.y+N;if("BT"===r){return(n.get(t.id)??o).y-N}return a.x+N}}return 0}),"calculatePosition"),dt=(0,c.K2)(((t,r,e)=>{const n="BT"===V&&e?r:r+Y,o="TB"===V||"BT"===V?n:j.get(t.branch)?.pos,a="TB"===V||"BT"===V?j.get(t.branch)?.pos:n;if(void 0===a||void 0===o)throw new Error(`Position were undefined for commit ${t.id}`);return{x:a,y:o,posWithOffset:n}}),"getCommitPosition"),mt=(0,c.K2)(((t,r,e)=>{if(!D)throw new Error("GitGraph config not found");const n=t.append("g").attr("class","commit-bullets"),o=t.append("g").attr("class","commit-labels");let a="TB"===V||"BT"===V?30:0;const s=[...r.keys()],i=D?.parallelCommits??!1,h=(0,c.K2)(((t,e)=>{const n=r.get(t)?.seq,o=r.get(e)?.seq;return void 0!==n&&void 0!==o?n-o:0}),"sortKeys");let d=s.sort(h);"BT"===V&&(i&&tt(d,r,a),d=d.reverse()),d.forEach((t=>{const c=r.get(t);if(!c)throw new Error(`Commit not found for key ${t}`);i&&(a=ht(c,V,a,W));const s=dt(c,a,i);if(e){const t=it(c),r=c.customType??c.type,e=j.get(c.branch)?.index??0;at(n,c,s,t,e,r),ct(o,c,s,a),st(o,c,s,a)}"TB"===V||"BT"===V?W.set(c.id,{x:s.x,y:s.posWithOffset}):W.set(c.id,{x:s.posWithOffset,y:s.y}),a="BT"===V&&i?a+N:a+N+Y,a>U&&(U=a)}))}),"drawCommits"),$t=(0,c.K2)(((t,r,e,n,o)=>{const a=("TB"===V||"BT"===V?e.x<n.x:e.y<n.y)?r.branch:t.branch,s=(0,c.K2)((t=>t.branch===a),"isOnBranchToGetCurve"),i=(0,c.K2)((e=>e.seq>t.seq&&e.seq<r.seq),"isBetweenCommits");return[...o.values()].some((t=>i(t)&&s(t)))}),"shouldRerouteArrow"),lt=(0,c.K2)(((t,r,e=0)=>{const n=t+Math.abs(t-r)/2;if(e>5)return n;if(F.every((t=>Math.abs(t-n)>=10)))return F.push(n),n;const o=Math.abs(t-r);return lt(t,r-o/5,e+1)}),"findLane"),yt=(0,c.K2)(((t,r,e,n)=>{const o=W.get(r.id),a=W.get(e.id);if(void 0===o||void 0===a)throw new Error(`Commit positions not found for commits ${r.id} and ${e.id}`);const c=$t(r,e,o,a,n);let s,i="",d="",m=0,$=0,l=j.get(e.branch)?.index;if(e.type===h.MERGE&&r.id!==e.parents[0]&&(l=j.get(r.branch)?.index),c){i="A 10 10, 0, 0, 0,",d="A 10 10, 0, 0, 1,",m=10,$=10;const t=o.y<a.y?lt(o.y,a.y):lt(a.y,o.y),e=o.x<a.x?lt(o.x,a.x):lt(a.x,o.x);"TB"===V?o.x<a.x?s=`M ${o.x} ${o.y} L ${e-m} ${o.y} ${d} ${e} ${o.y+$} L ${e} ${a.y-m} ${i} ${e+$} ${a.y} L ${a.x} ${a.y}`:(l=j.get(r.branch)?.index,s=`M ${o.x} ${o.y} L ${e+m} ${o.y} ${i} ${e} ${o.y+$} L ${e} ${a.y-m} ${d} ${e-$} ${a.y} L ${a.x} ${a.y}`):"BT"===V?o.x<a.x?s=`M ${o.x} ${o.y} L ${e-m} ${o.y} ${i} ${e} ${o.y-$} L ${e} ${a.y+m} ${d} ${e+$} ${a.y} L ${a.x} ${a.y}`:(l=j.get(r.branch)?.index,s=`M ${o.x} ${o.y} L ${e+m} ${o.y} ${d} ${e} ${o.y-$} L ${e} ${a.y+m} ${i} ${e-$} ${a.y} L ${a.x} ${a.y}`):o.y<a.y?s=`M ${o.x} ${o.y} L ${o.x} ${t-m} ${i} ${o.x+$} ${t} L ${a.x-m} ${t} ${d} ${a.x} ${t+$} L ${a.x} ${a.y}`:(l=j.get(r.branch)?.index,s=`M ${o.x} ${o.y} L ${o.x} ${t+m} ${d} ${o.x+$} ${t} L ${a.x-m} ${t} ${i} ${a.x} ${t-$} L ${a.x} ${a.y}`)}else i="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",m=20,$=20,"TB"===V?(o.x<a.x&&(s=e.type===h.MERGE&&r.id!==e.parents[0]?`M ${o.x} ${o.y} L ${o.x} ${a.y-m} ${i} ${o.x+$} ${a.y} L ${a.x} ${a.y}`:`M ${o.x} ${o.y} L ${a.x-m} ${o.y} ${d} ${a.x} ${o.y+$} L ${a.x} ${a.y}`),o.x>a.x&&(i="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",m=20,$=20,s=e.type===h.MERGE&&r.id!==e.parents[0]?`M ${o.x} ${o.y} L ${o.x} ${a.y-m} ${d} ${o.x-$} ${a.y} L ${a.x} ${a.y}`:`M ${o.x} ${o.y} L ${a.x+m} ${o.y} ${i} ${a.x} ${o.y+$} L ${a.x} ${a.y}`),o.x===a.x&&(s=`M ${o.x} ${o.y} L ${a.x} ${a.y}`)):"BT"===V?(o.x<a.x&&(s=e.type===h.MERGE&&r.id!==e.parents[0]?`M ${o.x} ${o.y} L ${o.x} ${a.y+m} ${d} ${o.x+$} ${a.y} L ${a.x} ${a.y}`:`M ${o.x} ${o.y} L ${a.x-m} ${o.y} ${i} ${a.x} ${o.y-$} L ${a.x} ${a.y}`),o.x>a.x&&(i="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",m=20,$=20,s=e.type===h.MERGE&&r.id!==e.parents[0]?`M ${o.x} ${o.y} L ${o.x} ${a.y+m} ${i} ${o.x-$} ${a.y} L ${a.x} ${a.y}`:`M ${o.x} ${o.y} L ${a.x-m} ${o.y} ${i} ${a.x} ${o.y-$} L ${a.x} ${a.y}`),o.x===a.x&&(s=`M ${o.x} ${o.y} L ${a.x} ${a.y}`)):(o.y<a.y&&(s=e.type===h.MERGE&&r.id!==e.parents[0]?`M ${o.x} ${o.y} L ${a.x-m} ${o.y} ${d} ${a.x} ${o.y+$} L ${a.x} ${a.y}`:`M ${o.x} ${o.y} L ${o.x} ${a.y-m} ${i} ${o.x+$} ${a.y} L ${a.x} ${a.y}`),o.y>a.y&&(s=e.type===h.MERGE&&r.id!==e.parents[0]?`M ${o.x} ${o.y} L ${a.x-m} ${o.y} ${i} ${a.x} ${o.y-$} L ${a.x} ${a.y}`:`M ${o.x} ${o.y} L ${o.x} ${a.y+m} ${d} ${o.x+$} ${a.y} L ${a.x} ${a.y}`),o.y===a.y&&(s=`M ${o.x} ${o.y} L ${a.x} ${a.y}`));if(void 0===s)throw new Error("Line definition not found");t.append("path").attr("d",s).attr("class","arrow arrow"+l%8)}),"drawArrow"),gt=(0,c.K2)(((t,r)=>{const e=t.append("g").attr("class","commit-arrows");[...r.keys()].forEach((t=>{const n=r.get(t);n.parents&&n.parents.length>0&&n.parents.forEach((t=>{yt(e,r.get(t),n,r)}))}))}),"drawArrows"),pt=(0,c.K2)(((t,r)=>{const e=t.append("g");r.forEach(((t,r)=>{const n=r%8,o=j.get(t.name)?.pos;if(void 0===o)throw new Error(`Position not found for branch ${t.name}`);const a=e.append("line");a.attr("x1",0),a.attr("y1",o),a.attr("x2",U),a.attr("y2",o),a.attr("class","branch branch"+n),"TB"===V?(a.attr("y1",30),a.attr("x1",o),a.attr("y2",U),a.attr("x2",o)):"BT"===V&&(a.attr("y1",U),a.attr("x1",o),a.attr("y2",30),a.attr("x2",o)),F.push(o);const c=t.name,s=Q(c),i=e.insert("rect"),h=e.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+n);h.node().appendChild(s);const d=s.getBBox();i.attr("class","branchLabelBkg label"+n).attr("rx",4).attr("ry",4).attr("x",-d.width-4-(!0===D?.rotateCommitLabel?30:0)).attr("y",-d.height/2+8).attr("width",d.width+18).attr("height",d.height+4),h.attr("transform","translate("+(-d.width-14-(!0===D?.rotateCommitLabel?30:0))+", "+(o-d.height/2-1)+")"),"TB"===V?(i.attr("x",o-d.width/2-10).attr("y",0),h.attr("transform","translate("+(o-d.width/2-5)+", 0)")):"BT"===V?(i.attr("x",o-d.width/2-10).attr("y",U),h.attr("transform","translate("+(o-d.width/2-5)+", "+U+")")):i.attr("transform","translate(-19, "+(o-d.height/2)+")")}))}),"drawBranches"),xt=(0,c.K2)((function(t,r,e,n,o){return j.set(t,{pos:r,index:e}),r+=50+(o?40:0)+("TB"===V||"BT"===V?n.width/2:0)}),"setBranchPosition");var ft={parser:H,db:v,renderer:{draw:(0,c.K2)((function(t,r,e,n){if(J(),c.Rm.debug("in gitgraph renderer",t+"\n","id:",r,e),!D)throw new Error("GitGraph config not found");const o=D.rotateCommitLabel??!1,s=n.db;_=s.getCommits();const h=s.getBranchesAsObjArray();V=s.getDirection();const d=(0,i.Ltv)(`[id="${r}"]`);let m=0;h.forEach(((t,r)=>{const e=Q(t.name),n=d.append("g"),a=n.insert("g").attr("class","branchLabel"),c=a.insert("g").attr("class","label branch-label");c.node()?.appendChild(e);const s=e.getBBox();m=xt(t.name,m,r,s,o),c.remove(),a.remove(),n.remove()})),mt(d,_,!1),D.showBranches&&pt(d,h),gt(d,_),mt(d,_,!0),a._K.insertTitle(d,"gitTitleText",D.titleTopMargin??0,s.getDiagramTitle()),(0,c.mj)(void 0,d,D.diagramPadding,D.useMaxWidth)}),"draw")},styles:(0,c.K2)((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((r=>`\n .branch-label${r} { fill: ${t["gitBranchLabel"+r]}; }\n .commit${r} { stroke: ${t["git"+r]}; fill: ${t["git"+r]}; }\n .commit-highlight${r} { stroke: ${t["gitInv"+r]}; fill: ${t["gitInv"+r]}; }\n .label${r} { fill: ${t["git"+r]}; }\n .arrow${r} { stroke: ${t["git"+r]}; }\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`),"getStyles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8199c9e1.42112c81.js b/pr-preview/pr-4/assets/js/8199c9e1.42112c81.js new file mode 100644 index 0000000..3f7331f --- /dev/null +++ b/pr-preview/pr-4/assets/js/8199c9e1.42112c81.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2054],{59546:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Tutorial - Basics","description":"5 minutes to learn the most important Docusaurus concepts.","slug":"/category/tutorial---basics","permalink":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---basics","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Tutorial Intro","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro"},"next":{"title":"Create a Page","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8379.b8ce37bf.js b/pr-preview/pr-4/assets/js/8379.b8ce37bf.js new file mode 100644 index 0000000..f885859 --- /dev/null +++ b/pr-preview/pr-4/assets/js/8379.b8ce37bf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8379],{59347:(t,e,n)=>{n.d(e,{CP:()=>l,HT:()=>u,PB:()=>h,aC:()=>c,lC:()=>a,m:()=>o,tk:()=>r});var i=n(45567),s=n(16750),r=(0,i.K2)(((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),e.name&&n.attr("name",e.name),e.rx&&n.attr("rx",e.rx),e.ry&&n.attr("ry",e.ry),void 0!==e.attrs)for(const i in e.attrs)n.attr(i,e.attrs[i]);return e.class&&n.attr("class",e.class),n}),"drawRect"),a=(0,i.K2)(((t,e)=>{const n={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};r(t,n).lower()}),"drawBackgroundRect"),o=(0,i.K2)(((t,e)=>{const n=e.text.replace(i.H1," "),s=t.append("text");s.attr("x",e.x),s.attr("y",e.y),s.attr("class","legend"),s.style("text-anchor",e.anchor),e.class&&s.attr("class",e.class);const r=s.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),s}),"drawText"),c=(0,i.K2)(((t,e,n,i)=>{const r=t.append("image");r.attr("x",e),r.attr("y",n);const a=(0,s.J)(i);r.attr("xlink:href",a)}),"drawImage"),l=(0,i.K2)(((t,e,n,i)=>{const r=t.append("use");r.attr("x",e),r.attr("y",n);const a=(0,s.J)(i);r.attr("xlink:href",`#${a}`)}),"drawEmbeddedImage"),h=(0,i.K2)((()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0})),"getNoteRect"),u=(0,i.K2)((()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})),"getTextObj")},18379:(t,e,n)=>{n.d(e,{diagram:()=>Y});var i=n(59347),s=n(45567),r=n(20007),a=function(){var t=(0,s.K2)((function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n}),"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],i=[1,10],r=[1,11],a=[1,12],o=[1,13],c=[1,14],l={trace:(0,s.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:(0,s.K2)((function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 9:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 10:case 11:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 12:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 13:i.addTask(r[o-1],r[o]),this.$="task"}}),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:i,14:r,16:a,17:o,18:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:i,14:r,16:a,17:o,18:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,s.K2)((function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)}),"parseError"),parse:(0,s.K2)((function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,c="",l=0,h=0,u=0,y=a.slice.call(arguments,1),p=Object.create(this.lexer),d={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(d.yy[f]=this.yy[f]);p.setInput(t,d.yy),d.yy.lexer=p,d.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;a.push(g);var x=p.options&&p.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,s.K2)((function(t){n.length=n.length-2*t,r.length=r.length-t,a.length=a.length-t}),"popStack"),(0,s.K2)(m,"lex");for(var k,_,b,w,v,K,$,T,M,S={};;){if(b=n[n.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==k&&(k=m()),w=o[b]&&o[b][k]),void 0===w||!w.length||!w[0]){var E="";for(K in M=[],o[b])this.terminals_[K]&&K>2&&M.push("'"+this.terminals_[K]+"'");E=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(E,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:g,expected:M})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+k);switch(w[0]){case 1:n.push(k),r.push(p.yytext),a.push(p.yylloc),n.push(w[1]),k=null,_?(k=_,_=null):(h=p.yyleng,c=p.yytext,l=p.yylineno,g=p.yylloc,u>0&&u--);break;case 2:if($=this.productions_[w[1]][1],S.$=r[r.length-$],S._$={first_line:a[a.length-($||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-($||1)].first_column,last_column:a[a.length-1].last_column},x&&(S._$.range=[a[a.length-($||1)].range[0],a[a.length-1].range[1]]),void 0!==(v=this.performAction.apply(S,[c,h,l,d.yy,w[1],r,a].concat(y))))return v;$&&(n=n.slice(0,-1*$*2),r=r.slice(0,-1*$),a=a.slice(0,-1*$)),n.push(this.productions_[w[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}),"parse")},h=function(){return{EOF:1,parseError:(0,s.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,s.K2)((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}),"setInput"),input:(0,s.K2)((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}),"input"),unput:(0,s.K2)((function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,s.K2)((function(){return this._more=!0,this}),"more"),reject:(0,s.K2)((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})}),"reject"),less:(0,s.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,s.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,s.K2)((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,"")}),"upcomingInput"),showPosition:(0,s.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,s.K2)((function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1}),"test_match"),next:(0,s.K2)((function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;r<s.length;r++)if((n=this._input.match(this.rules[s[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,s.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,s.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,s.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,s.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,s.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,s.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,s.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.K2)((function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}}),"anonymous"),rules:[/^(?:%(?!\{)[^\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:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}}}();function u(){this.yy={}}return l.lexer=h,(0,s.K2)(u,"Parser"),u.prototype=l,l.Parser=u,new u}();a.parser=a;var o=a,c="",l=[],h=[],u=[],y=(0,s.K2)((function(){l.length=0,h.length=0,c="",u.length=0,(0,s.IU)()}),"clear"),p=(0,s.K2)((function(t){c=t,l.push(t)}),"addSection"),d=(0,s.K2)((function(){return l}),"getSections"),f=(0,s.K2)((function(){let t=k();let e=0;for(;!t&&e<100;)t=k(),e++;return h.push(...u),h}),"getTasks"),g=(0,s.K2)((function(){const t=[];h.forEach((e=>{e.people&&t.push(...e.people)}));return[...new Set(t)].sort()}),"updateActors"),x=(0,s.K2)((function(t,e){const n=e.substr(1).split(":");let i=0,s=[];1===n.length?(i=Number(n[0]),s=[]):(i=Number(n[0]),s=n[1].split(","));const r=s.map((t=>t.trim())),a={section:c,type:c,people:r,task:t,score:i};u.push(a)}),"addTask"),m=(0,s.K2)((function(t){const e={section:c,type:c,description:t,task:t,classes:[]};h.push(e)}),"addTaskOrg"),k=(0,s.K2)((function(){const t=(0,s.K2)((function(t){return u[t].processed}),"compileTask");let e=!0;for(const[n,i]of u.entries())t(n),e=e&&i.processed;return e}),"compileTasks"),_=(0,s.K2)((function(){return g()}),"getActors"),b={getConfig:(0,s.K2)((()=>(0,s.D7)().journey),"getConfig"),clear:y,setDiagramTitle:s.ke,getDiagramTitle:s.ab,setAccTitle:s.SV,getAccTitle:s.iN,setAccDescription:s.EI,getAccDescription:s.m7,addSection:p,getSections:d,getTasks:f,addTask:x,addTaskOrg:m,getActors:_},w=(0,s.K2)((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`),"getStyles"),v=(0,s.K2)((function(t,e){return(0,i.tk)(t,e)}),"drawRect"),K=(0,s.K2)((function(t,e){const n=15,i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",n).attr("stroke-width",2).attr("overflow","visible"),a=t.append("g");function o(t){const i=(0,r.JLW)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function c(t){const i=(0,r.JLW)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function l(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 a.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"),a.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"),(0,s.K2)(o,"smile"),(0,s.K2)(c,"sad"),(0,s.K2)(l,"ambivalent"),e.score>3?o(a):e.score<3?c(a):l(a),i}),"drawFace"),$=(0,s.K2)((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}),"drawCircle"),T=(0,s.K2)((function(t,e){return(0,i.m)(t,e)}),"drawText"),M=(0,s.K2)((function(t,e){function n(t,e,n,i,s){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-s)+" "+(t+n-1.2*s)+","+(e+i)+" "+t+","+(e+i)}(0,s.K2)(n,"genPoints");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,T(t,e)}),"drawLabel"),S=(0,s.K2)((function(t,e,n){const s=t.append("g"),r=(0,i.PB)();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width*e.taskCount+n.diagramMarginX*(e.taskCount-1),r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,v(s,r),C(n)(e.text,s,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour)}),"drawSection"),E=-1,I=(0,s.K2)((function(t,e,n){const s=e.x+n.width/2,r=t.append("g");E++;r.append("line").attr("id","task"+E).attr("x1",s).attr("y1",e.y).attr("x2",s).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),K(r,{cx:s,cy:300+30*(5-e.score),score:e.score});const a=(0,i.PB)();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=n.width,a.height=n.height,a.class="task task-type-"+e.num,a.rx=3,a.ry=3,v(r,a);let o=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:o,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};$(r,i),o+=10})),C(n)(e.task,r,a.x,a.y,a.width,a.height,{class:"task"},n,e.colour)}),"drawTask"),P=(0,s.K2)((function(t,e){(0,i.lC)(t,e)}),"drawBackgroundRect"),C=function(){function t(t,e,n,s,r,a,o,c){i(e.append("text").attr("x",n+r/2).attr("y",s+a/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function e(t,e,n,s,r,a,o,c,l){const{taskFontSize:h,taskFontFamily:u}=c,y=t.split(/<br\s*\/?>/gi);for(let p=0;p<y.length;p++){const t=p*h-h*(y.length-1)/2,c=e.append("text").attr("x",n+r/2).attr("y",s).attr("fill",l).style("text-anchor","middle").style("font-size",h).style("font-family",u);c.append("tspan").attr("x",n+r/2).attr("dy",t).text(y[p]),c.attr("y",s+a/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(c,o)}}function n(t,n,s,r,a,o,c,l){const h=n.append("switch"),u=h.append("foreignObject").attr("x",s).attr("y",r).attr("width",a).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,s,r,a,o,c,l),i(u,c)}function i(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return(0,s.K2)(t,"byText"),(0,s.K2)(e,"byTspan"),(0,s.K2)(n,"byFo"),(0,s.K2)(i,"_setTextAttrs"),function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),A={drawRect:v,drawCircle:$,drawSection:S,drawText:T,drawLabel:M,drawTask:I,drawBackgroundRect:P,initGraphics:(0,s.K2)((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")}),"initGraphics")},j=(0,s.K2)((function(t){Object.keys(t).forEach((function(e){V[e]=t[e]}))}),"setConf"),D={};function L(t){const e=(0,s.D7)().journey;let n=60;Object.keys(D).forEach((i=>{const s=D[i].color,r={cx:20,cy:n,r:7,fill:s,stroke:"#000",pos:D[i].position};A.drawCircle(t,r);const a={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};A.drawText(t,a),n+=20}))}(0,s.K2)(L,"drawActorLegend");var V=(0,s.D7)().journey,B=V.leftMargin,O=(0,s.K2)((function(t,e,n,i){const a=(0,s.D7)().journey,o=(0,s.D7)().securityLevel;let c;"sandbox"===o&&(c=(0,r.Ltv)("#i"+e));const l="sandbox"===o?(0,r.Ltv)(c.nodes()[0].contentDocument.body):(0,r.Ltv)("body");F.init();const h=l.select("#"+e);A.initGraphics(h);const u=i.db.getTasks(),y=i.db.getDiagramTitle(),p=i.db.getActors();for(const s in D)delete D[s];let d=0;p.forEach((t=>{D[t]={color:a.actorColours[d%a.actorColours.length],position:d},d++})),L(h),F.insert(0,0,B,50*Object.keys(D).length),z(h,u,0);const f=F.getBounds();y&&h.append("text").text(y).attr("x",B).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const g=f.stopy-f.starty+2*a.diagramMarginY,x=B+f.stopx+2*a.diagramMarginX;(0,s.a$)(h,g,x,a.useMaxWidth),h.append("line").attr("x1",B).attr("y1",4*a.height).attr("x2",x-B-4).attr("y2",4*a.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const m=y?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+m}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+m+25)}),"draw"),F={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,s.K2)((function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0}),"init"),updateVal:(0,s.K2)((function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])}),"updateVal"),updateBounds:(0,s.K2)((function(t,e,n,i){const r=(0,s.D7)().journey,a=this;let o=0;function c(c){return(0,s.K2)((function(s){o++;const l=a.sequenceItems.length-o+1;a.updateVal(s,"starty",e-l*r.boxMargin,Math.min),a.updateVal(s,"stopy",i+l*r.boxMargin,Math.max),a.updateVal(F.data,"startx",t-l*r.boxMargin,Math.min),a.updateVal(F.data,"stopx",n+l*r.boxMargin,Math.max),"activation"!==c&&(a.updateVal(s,"startx",t-l*r.boxMargin,Math.min),a.updateVal(s,"stopx",n+l*r.boxMargin,Math.max),a.updateVal(F.data,"starty",e-l*r.boxMargin,Math.min),a.updateVal(F.data,"stopy",i+l*r.boxMargin,Math.max))}),"updateItemBounds")}(0,s.K2)(c,"updateFn"),this.sequenceItems.forEach(c())}),"updateBounds"),insert:(0,s.K2)((function(t,e,n,i){const s=Math.min(t,n),r=Math.max(t,n),a=Math.min(e,i),o=Math.max(e,i);this.updateVal(F.data,"startx",s,Math.min),this.updateVal(F.data,"starty",a,Math.min),this.updateVal(F.data,"stopx",r,Math.max),this.updateVal(F.data,"stopy",o,Math.max),this.updateBounds(s,a,r,o)}),"insert"),bumpVerticalPos:(0,s.K2)((function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos}),"bumpVerticalPos"),getVerticalPos:(0,s.K2)((function(){return this.verticalPos}),"getVerticalPos"),getBounds:(0,s.K2)((function(){return this.data}),"getBounds")},N=V.sectionFills,R=V.sectionColours,z=(0,s.K2)((function(t,e,n){const i=(0,s.D7)().journey;let r="";const a=n+(2*i.height+i.diagramMarginY);let o=0,c="#CCC",l="black",h=0;for(const[s,u]of e.entries()){if(r!==u.section){c=N[o%N.length],h=o%N.length,l=R[o%R.length];let n=0;const a=u.section;for(let t=s;t<e.length&&e[t].section==a;t++)n+=1;const y={x:s*i.taskMargin+s*i.width+B,y:50,text:u.section,fill:c,num:h,colour:l,taskCount:n};A.drawSection(t,y,i),r=u.section,o++}const n=u.people.reduce(((t,e)=>(D[e]&&(t[e]=D[e]),t)),{});u.x=s*i.taskMargin+s*i.width+B,u.y=a,u.width=i.diagramMarginX,u.height=i.diagramMarginY,u.colour=l,u.fill=c,u.num=h,u.actors=n,A.drawTask(t,u,i),F.insert(u.x,u.y,u.x+u.width+i.taskMargin,450)}}),"drawTasks"),W={setConf:j,draw:O},Y={parser:o,db:b,renderer:W,styles:w,init:(0,s.K2)((t=>{W.setConf(t.journey),b.clear()}),"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8496.e8df3194.js b/pr-preview/pr-4/assets/js/8496.e8df3194.js new file mode 100644 index 0000000..aea4de4 --- /dev/null +++ b/pr-preview/pr-4/assets/js/8496.e8df3194.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8496],{8496:(e,t,i)=>{i.d(t,{diagram:()=>Y});var n=i(45567),r=i(20007),s=i(62334),a=i(697),l=function(){var e=(0,n.K2)((function(e,t,i,n){for(i=i||{},n=e.length;n--;i[e[n]]=t);return i}),"o"),t=[1,3],i=[1,4],r=[1,5],s=[1,6],a=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],l=[1,18],o=[2,7],h=[1,22],c=[1,23],u=[1,24],d=[1,25],y=[1,26],p=[1,27],_=[1,20],g=[1,28],E=[1,29],R=[62,63],m=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],f=[1,47],I=[1,48],S=[1,49],N=[1,50],b=[1,51],k=[1,52],T=[1,53],x=[53,54],w=[1,64],A=[1,60],q=[1,61],v=[1,62],K=[1,63],$=[1,65],O=[1,69],L=[1,70],C=[1,67],M=[1,68],F=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],D={trace:(0,n.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:(0,n.K2)((function(e,t,i,n,r,s,a){var l=s.length-1;switch(r){case 4:this.$=s[l].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[l].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[l-3],s[l-4]);break;case 14:n.setNewReqId(s[l-2]);break;case 15:n.setNewReqText(s[l-2]);break;case 16:n.setNewReqRisk(s[l-2]);break;case 17:n.setNewReqVerifyMethod(s[l-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[l-3]);break;case 34:n.setNewElementType(s[l-2]);break;case 35:n.setNewElementDocRef(s[l-2]);break;case 38:n.addRelationship(s[l-2],s[l],s[l-4]);break;case 39:n.addRelationship(s[l-2],s[l-4],s[l]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES}}),"anonymous"),table:[{3:1,4:2,6:t,9:i,11:r,13:s},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:i,11:r,13:s},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:t,9:i,11:r,13:s},{1:[2,2]},{4:17,5:l,7:13,8:o,9:i,11:r,13:s,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:u,34:d,35:y,36:p,44:_,62:g,63:E},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:l,7:31,8:o,9:i,11:r,13:s,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:u,34:d,35:y,36:p,44:_,62:g,63:E},{4:17,5:l,7:32,8:o,9:i,11:r,13:s,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:u,34:d,35:y,36:p,44:_,62:g,63:E},{4:17,5:l,7:33,8:o,9:i,11:r,13:s,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:u,34:d,35:y,36:p,44:_,62:g,63:E},{4:17,5:l,7:34,8:o,9:i,11:r,13:s,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:u,34:d,35:y,36:p,44:_,62:g,63:E},{4:17,5:l,7:35,8:o,9:i,11:r,13:s,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:u,34:d,35:y,36:p,44:_,62:g,63:E},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(R,[2,20]),e(R,[2,21]),e(R,[2,22]),e(R,[2,23]),e(R,[2,24]),e(R,[2,25]),e(m,[2,49]),e(m,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:f,56:I,57:S,58:N,59:b,60:k,61:T},{52:54,55:f,56:I,57:S,58:N,59:b,60:k,61:T},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(x,[2,40]),e(x,[2,41]),e(x,[2,42]),e(x,[2,43]),e(x,[2,44]),e(x,[2,45]),e(x,[2,46]),{54:[1,58]},{5:w,20:59,21:A,24:q,26:v,28:K,30:$},{5:O,30:L,46:66,47:C,49:M},{23:71,62:g,63:E},{23:72,62:g,63:E},e(F,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:w,20:77,21:A,24:q,26:v,28:K,30:$},e(F,[2,19]),e(F,[2,33]),{22:[1,78]},{22:[1,79]},{5:O,30:L,46:80,47:C,49:M},e(F,[2,37]),e(F,[2,38]),e(F,[2,39]),{23:81,62:g,63:E},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(F,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(F,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:w,20:106,21:A,24:q,26:v,28:K,30:$},{5:w,20:107,21:A,24:q,26:v,28:K,30:$},{5:w,20:108,21:A,24:q,26:v,28:K,30:$},{5:w,20:109,21:A,24:q,26:v,28:K,30:$},{5:O,30:L,46:110,47:C,49:M},{5:O,30:L,46:111,47:C,49:M},e(F,[2,14]),e(F,[2,15]),e(F,[2,16]),e(F,[2,17]),e(F,[2,34]),e(F,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:(0,n.K2)((function(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)}),"parseError"),parse:(0,n.K2)((function(e){var t=this,i=[0],r=[],s=[null],a=[],l=this.table,o="",h=0,c=0,u=0,d=a.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(p.yy[_]=this.yy[_]);y.setInput(e,p.yy),p.yy.lexer=y,p.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;a.push(g);var E=y.options&&y.options.ranges;function R(){var e;return"number"!=typeof(e=r.pop()||y.lex()||1)&&(e instanceof Array&&(e=(r=e).pop()),e=t.symbols_[e]||e),e}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,n.K2)((function(e){i.length=i.length-2*e,s.length=s.length-e,a.length=a.length-e}),"popStack"),(0,n.K2)(R,"lex");for(var m,f,I,S,N,b,k,T,x,w={};;){if(I=i[i.length-1],this.defaultActions[I]?S=this.defaultActions[I]:(null==m&&(m=R()),S=l[I]&&l[I][m]),void 0===S||!S.length||!S[0]){var A="";for(b in x=[],l[I])this.terminals_[b]&&b>2&&x.push("'"+this.terminals_[b]+"'");A=y.showPosition?"Parse error on line "+(h+1)+":\n"+y.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:g,expected:x})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+m);switch(S[0]){case 1:i.push(m),s.push(y.yytext),a.push(y.yylloc),i.push(S[1]),m=null,f?(m=f,f=null):(c=y.yyleng,o=y.yytext,h=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[S[1]][1],w.$=s[s.length-k],w._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},E&&(w._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),void 0!==(N=this.performAction.apply(w,[o,c,h,p.yy,S[1],s,a].concat(d))))return N;k&&(i=i.slice(0,-1*k*2),s=s.slice(0,-1*k),a=a.slice(0,-1*k)),i.push(this.productions_[S[1]][0]),s.push(w.$),a.push(w._$),T=l[i[i.length-2]][i[i.length-1]],i.push(T);break;case 3:return!0}}return!0}),"parse")},P=function(){return{EOF:1,parseError:(0,n.K2)((function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)}),"parseError"),setInput:(0,n.K2)((function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}),"setInput"),input:(0,n.K2)((function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e}),"input"),unput:(0,n.K2)((function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,n.K2)((function(){return this._more=!0,this}),"more"),reject:(0,n.K2)((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})}),"reject"),less:(0,n.K2)((function(e){this.unput(this.match.slice(e))}),"less"),pastInput:(0,n.K2)((function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,n.K2)((function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")}),"upcomingInput"),showPosition:(0,n.K2)((function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}),"showPosition"),test_match:(0,n.K2)((function(e,t){var i,n,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))),(n=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var s in r)this[s]=r[s];return!1}return!1}),"test_match"),next:(0,n.K2)((function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,n.K2)((function(){var e=this.next();return e||this.lex()}),"lex"),begin:(0,n.K2)((function(e){this.conditionStack.push(e)}),"begin"),popState:(0,n.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,n.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,n.K2)((function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"}),"topState"),pushState:(0,n.K2)((function(e){this.begin(e)}),"pushState"),stateStackSize:(0,n.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.K2)((function(e,t,i,n){switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return t.yytext=t.yytext.trim(),62}}),"anonymous"),rules:[/^(?: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:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,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,50],inclusive:!0}}}}();function V(){this.yy={}}return D.lexer=P,(0,n.K2)(V,"Parser"),V.prototype=D,D.Parser=V,new V}();l.parser=l;var o=l,h=[],c={},u=new Map,d={},y=new Map,p=(0,n.K2)(((e,t)=>(u.has(e)||u.set(e,{name:e,type:t,id:c.id,text:c.text,risk:c.risk,verifyMethod:c.verifyMethod}),c={},u.get(e))),"addRequirement"),_=(0,n.K2)((()=>u),"getRequirements"),g=(0,n.K2)((e=>{void 0!==c&&(c.id=e)}),"setNewReqId"),E=(0,n.K2)((e=>{void 0!==c&&(c.text=e)}),"setNewReqText"),R=(0,n.K2)((e=>{void 0!==c&&(c.risk=e)}),"setNewReqRisk"),m=(0,n.K2)((e=>{void 0!==c&&(c.verifyMethod=e)}),"setNewReqVerifyMethod"),f=(0,n.K2)((e=>(y.has(e)||(y.set(e,{name:e,type:d.type,docRef:d.docRef}),n.Rm.info("Added new requirement: ",e)),d={},y.get(e))),"addElement"),I=(0,n.K2)((()=>y),"getElements"),S=(0,n.K2)((e=>{void 0!==d&&(d.type=e)}),"setNewElementType"),N=(0,n.K2)((e=>{void 0!==d&&(d.docRef=e)}),"setNewElementDocRef"),b=(0,n.K2)(((e,t,i)=>{h.push({type:e,src:t,dst:i})}),"addRelationship"),k=(0,n.K2)((()=>h),"getRelationships"),T=(0,n.K2)((()=>{h=[],c={},u=new Map,d={},y=new Map,(0,n.IU)()}),"clear"),x={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"},getConfig:(0,n.K2)((()=>(0,n.D7)().req),"getConfig"),addRequirement:p,getRequirements:_,setNewReqId:g,setNewReqText:E,setNewReqRisk:R,setNewReqVerifyMethod:m,setAccTitle:n.SV,getAccTitle:n.iN,setAccDescription:n.EI,getAccDescription:n.m7,addElement:f,getElements:I,setNewElementType:S,setNewElementDocRef:N,addRelationship:b,getRelationships:k,clear:T},w=(0,n.K2)((e=>`\n\n marker {\n fill: ${e.relationColor};\n stroke: ${e.relationColor};\n }\n\n marker.cross {\n stroke: ${e.lineColor};\n }\n\n svg {\n font-family: ${e.fontFamily};\n font-size: ${e.fontSize};\n }\n\n .reqBox {\n fill: ${e.requirementBackground};\n fill-opacity: 1.0;\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${e.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${e.relationLabelBackground};\n fill-opacity: 1.0;\n }\n\n .req-title-line {\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${e.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${e.relationLabelColor};\n }\n\n`),"getStyles"),A={CONTAINS:"contains",ARROW:"arrow"},q={ReqMarkers:A,insertLineEndings:(0,n.K2)(((e,t)=>{let i=e.append("defs").append("marker").attr("id",A.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",A.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${t.line_height},${t.line_height/2}\n M${t.line_height},${t.line_height/2}\n L0,${t.line_height}`).attr("stroke-width",1)}),"insertLineEndings")},v={},K=0,$=(0,n.K2)(((e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",v.rect_min_width+"px").attr("height",v.rect_min_height+"px")),"newRectNode"),O=(0,n.K2)(((e,t,i)=>{let n=v.rect_min_width/2,r=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",n).attr("y",v.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach((e=>{0==s?r.append("tspan").attr("text-anchor","middle").attr("x",v.rect_min_width/2).attr("dy",0).text(e):r.append("tspan").attr("text-anchor","middle").attr("x",v.rect_min_width/2).attr("dy",.75*v.line_height).text(e),s++}));let a=1.5*v.rect_padding+s*v.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",v.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:r,y:a}}),"newTitleNode"),L=(0,n.K2)(((e,t,i,n)=>{let r=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",v.rect_padding).attr("y",n).attr("dominant-baseline","hanging"),s=0;let a=[];return i.forEach((e=>{let t=e.length;for(;t>30&&s<3;){let i=e.substring(0,30);t=(e=e.substring(30,e.length)).length,a[a.length]=i,s++}if(3==s){let e=a[a.length-1];a[a.length-1]=e.substring(0,e.length-4)+"..."}else a[a.length]=e;s=0})),a.forEach((e=>{r.append("tspan").attr("x",v.rect_padding).attr("dy",v.line_height).text(e)})),r}),"newBodyNode"),C=(0,n.K2)(((e,t,i,n)=>{const r=t.node().getTotalLength(),s=t.node().getPointAtLength(.5*r),a="rel"+K;K++;const l=e.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(n).node().getBBox();e.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-l.width/2).attr("y",s.y-l.height/2).attr("width",l.width).attr("height",l.height).attr("fill","white").attr("fill-opacity","85%")}),"addEdgeLabel"),M=(0,n.K2)((function(e,t,i,s,a){const l=i.edge(U(t.src),U(t.dst)),o=(0,r.n8j)().x((function(e){return e.x})).y((function(e){return e.y})),h=e.insert("path","#"+s).attr("class","er relationshipLine").attr("d",o(l.points)).attr("fill","none");t.type==a.db.Relationships.CONTAINS?h.attr("marker-start","url("+n.Y2.getUrl(v.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(h.attr("stroke-dasharray","10,7"),h.attr("marker-end","url("+n.Y2.getUrl(v.arrowMarkerAbsolute)+"#"+q.ReqMarkers.ARROW+"_line_ending)")),C(e,h,v,`<<${t.type}>>`)}),"drawRelationshipFromLayout"),F=(0,n.K2)(((e,t,i)=>{e.forEach(((e,r)=>{r=U(r),n.Rm.info("Added new requirement: ",r);const s=i.append("g").attr("id",r),a=$(s,"req-"+r);let l=[],o=O(s,r+"_title",[`<<${e.type}>>`,`${e.name}`]);l.push(o.titleNode);let h=L(s,r+"_body",[`Id: ${e.id}`,`Text: ${e.text}`,`Risk: ${e.risk}`,`Verification: ${e.verifyMethod}`],o.y);l.push(h);const c=a.node().getBBox();t.setNode(r,{width:c.width,height:c.height,shape:"rect",id:r})}))}),"drawReqs"),D=(0,n.K2)(((e,t,i)=>{e.forEach(((e,n)=>{const r=U(n),s=i.append("g").attr("id",r),a="element-"+r,l=$(s,a);let o=[],h=O(s,a+"_title",["<<Element>>",`${n}`]);o.push(h.titleNode);let c=L(s,a+"_body",[`Type: ${e.type||"Not Specified"}`,`Doc Ref: ${e.docRef||"None"}`],h.y);o.push(c);const u=l.node().getBBox();t.setNode(r,{width:u.width,height:u.height,shape:"rect",id:r})}))}),"drawElements"),P=(0,n.K2)(((e,t)=>(e.forEach((function(e){let i=U(e.src),n=U(e.dst);t.setEdge(i,n,{relationship:e})})),e)),"addRelationships"),V=(0,n.K2)((function(e,t){t.nodes().forEach((function(i){void 0!==i&&void 0!==t.node(i)&&(e.select("#"+i),e.select("#"+i).attr("transform","translate("+(t.node(i).x-t.node(i).width/2)+","+(t.node(i).y-t.node(i).height/2)+" )"))}))}),"adjustEntities"),U=(0,n.K2)((e=>e.replace(/\s/g,"").replace(/\./g,"_")),"elementString"),Y={parser:o,db:x,renderer:{draw:(0,n.K2)(((e,t,i,l)=>{const o=(v=(0,n.D7)().requirement).securityLevel;let h;"sandbox"===o&&(h=(0,r.Ltv)("#i"+t));const c=("sandbox"===o?(0,r.Ltv)(h.nodes()[0].contentDocument.body):(0,r.Ltv)("body")).select(`[id='${t}']`);q.insertLineEndings(c,v);const u=new a.T({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:v.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let d=l.db.getRequirements(),y=l.db.getElements(),p=l.db.getRelationships();F(d,u,c),D(y,u,c),P(p,u),(0,s.Zp)(u),V(c,u),p.forEach((function(e){M(c,e,u,t,l)}));const _=v.rect_padding,g=c.node().getBBox(),E=g.width+2*_,R=g.height+2*_;(0,n.a$)(c,R,E,v.useMaxWidth),c.attr("viewBox",`${g.x-_} ${g.y-_} ${E} ${R}`)}),"draw")},styles:w}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8577.685a59ac.js b/pr-preview/pr-4/assets/js/8577.685a59ac.js new file mode 100644 index 0000000..9806f9d --- /dev/null +++ b/pr-preview/pr-4/assets/js/8577.685a59ac.js @@ -0,0 +1 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8577],{20549:(s,e,n)=>{"use strict";n.d(e,{A:()=>c});var p=n(58291);const c=p},45741:()=>{}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8591.1010223b.js b/pr-preview/pr-4/assets/js/8591.1010223b.js new file mode 100644 index 0000000..8a859e0 --- /dev/null +++ b/pr-preview/pr-4/assets/js/8591.1010223b.js @@ -0,0 +1,2 @@ +/*! For license information please see 8591.1010223b.js.LICENSE.txt */ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8591],{64498:(e,t,n)=>{"use strict";e.exports=n(75275)},60819:(e,t,n)=>{"use strict";var i=n(16220),r={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(r.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&i.isMsie()<=7&&i.mixin(r.input,{marginTop:"-1px"}),e.exports=r},99324:(e,t,n)=>{"use strict";var i="aaDataset",r="aaValue",s="aaDatum",o=n(16220),a=n(71337),u=n(74499),c=n(60819),l=n(31805);function h(e){var t;(e=e||{}).templates=e.templates||{},e.source||o.error("missing source"),e.name&&(t=e.name,!/^[_a-zA-Z0-9-]+$/.test(t))&&o.error("invalid dataset name: "+e.name),this.query=null,this._isEmpty=!0,this.highlight=!!e.highlight,this.name=void 0===e.name||null===e.name?o.getUniqueId():e.name,this.source=e.source,this.displayFn=function(e){return e=e||"value",o.isFunction(e)?e:t;function t(t){return t[e]}}(e.display||e.displayKey),this.debounce=e.debounce,this.cache=!1!==e.cache,this.templates=function(e,t){return{empty:e.empty&&o.templatify(e.empty),header:e.header&&o.templatify(e.header),footer:e.footer&&o.templatify(e.footer),suggestion:e.suggestion||n};function n(e){return"<p>"+t(e)+"</p>"}}(e.templates,this.displayFn),this.css=o.mixin({},c,e.appendTo?c.appendTo:{}),this.cssClasses=e.cssClasses=o.mixin({},c.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var n=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=e.$menu&&e.$menu.find(n+"-"+this.name).length>0?a.element(e.$menu.find(n+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=e.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(e){return a.element(e).data(i)},h.extractValue=function(e){return a.element(e).data(r)},h.extractDatum=function(e){var t=a.element(e).data(s);return"string"==typeof t&&(t=JSON.parse(t)),t},o.mixin(h.prototype,l,{_render:function(e,t){if(this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=t&&t.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html(function(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),c.templates.empty.apply(this,t)}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html(function(){var e,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return e=a.element(p).css(this.css.suggestions),n=o.map(t,d),e.append.apply(e,n),e;function d(e){var t,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(t=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[e].concat(l)))).data(i,c.name),t.data(r,c.displayFn(e)||void 0),t.data(s,JSON.stringify(e)),t.children().each((function(){a.element(this).css(h.css.suggestionChild)})),t}}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(t&&!Array.isArray(t))throw new TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",e)}function h(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.header.apply(this,t)}function p(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.footer.apply(this,t)}},getRoot:function(){return this.$el},update:function(e){function t(t){if(!this.canceled&&e===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(e,t,n),this._render.apply(this,[e,t].concat(n))}}if(this.query=e,this.canceled=!1,this.shouldFetchFromCache(e))t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){n.canceled||n.source(e,t.bind(n))};if(this.debounce){clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout((function(){n.debounceTimeout=null,i()}),this.debounce)}else i()}},cacheSuggestions:function(e,t,n){this.cachedQuery=e,this.cachedSuggestions=t,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(e){return this.cache&&this.cachedQuery===e&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}}),e.exports=h},82731:(e,t,n)=>{"use strict";var i=n(16220),r=n(71337),s=n(31805),o=n(99324),a=n(60819);function u(e){var t,n,s,o=this;(e=e||{}).menu||i.error("menu is required"),i.isArray(e.datasets)||i.isObject(e.datasets)||i.error("1 or more datasets required"),e.datasets||i.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=e.minLength||0,this.templates={},this.appendTo=e.appendTo||!1,this.css=i.mixin({},a,e.appendTo?a.appendTo:{}),this.cssClasses=e.cssClasses=i.mixin({},a.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||i.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),t=i.bind(this._onSuggestionClick,this),n=i.bind(this._onSuggestionMouseEnter,this),s=i.bind(this._onSuggestionMouseLeave,this);var c=i.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=r.element(e.menu).on("mouseenter.aa",c,n).on("mouseleave.aa",c,s).on("click.aa",c,t),this.$container=e.appendTo?e.wrapper:this.$menu,e.templates&&e.templates.header&&(this.templates.header=i.templatify(e.templates.header),this.$menu.prepend(this.templates.header())),e.templates&&e.templates.empty&&(this.templates.empty=i.templatify(e.templates.empty),this.$empty=r.element('<div class="'+i.className(this.cssClasses.prefix,this.cssClasses.empty,!0)+'"></div>'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(e.datasets,(function(t){return function(e,t,n){return new u.Dataset(i.mixin({$menu:e,cssClasses:n},t))}(o.$menu,t,e.cssClasses)})),i.each(this.datasets,(function(e){var t=e.getRoot();t&&0===t.parent().length&&o.$menu.append(t),e.onSync("rendered",o._onRendered,o)})),e.templates&&e.templates.footer&&(this.templates.footer=i.templatify(e.templates.footer),this.$menu.append(this.templates.footer()));var l=this;r.element(window).resize((function(){l._redraw()}))}i.mixin(u.prototype,s,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",r.element(e.currentTarget))},_onSuggestionMouseEnter:function(e){var t=r.element(e.currentTarget);if(!t.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout((function(){n._setCursor(t,!1)}),0)}},_onSuggestionMouseLeave:function(e){if(e.relatedTarget&&r.element(e.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0)return;this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(e,t){if(this.isEmpty=i.every(this.datasets,(function(e){return e.isEmpty()})),this.isEmpty)if(t.length>=this.minLength&&this.trigger("empty"),this.$empty)if(t.length<this.minLength)this._hide();else{var n=this.templates.empty({query:this.datasets[0]&&this.datasets[0].query});this.$empty.html(n),this.$empty.show(),this._show()}else i.any(this.datasets,(function(e){return e.templates&&e.templates.empty}))?t.length<this.minLength?this._hide():this._show():this._hide();else this.isOpen&&(this.$empty&&(this.$empty.empty(),this.$empty.hide()),t.length>=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(e,t){e.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",t)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(e){var t,n,i,r;this.isOpen&&(n=this._getCursor(),t=this._getSuggestions(),this._removeCursor(),-1!==(i=((i=t.index(n)+e)+1)%(t.length+1)-1)?(i<-1&&(i=t.length-1),this._setCursor(r=t.eq(i),!0),this._ensureVisible(r)):this.trigger("cursorRemoved"))},_ensureVisible:function(e){var t,n,i,r;n=(t=e.position().top)+e.height()+parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),t<0?this.$menu.scrollTop(i+t):r<n&&this.$menu.scrollTop(i+(n-r))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,this.isEmpty||this._show(),this.trigger("opened"))},setLanguageDirection:function(e){this.$menu.css("ltr"===e?this.css.ltr:this.css.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(e){var t=null;return e.length&&(t={raw:o.extractDatum(e),value:o.extractValue(e),datasetName:o.extractDatasetName(e)}),t},getCurrentCursor:function(){return this._getCursor().first()},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},cursorTopSuggestion:function(){this._setCursor(this._getSuggestions().first(),!1)},update:function(e){i.each(this.datasets,(function(t){t.update(e)}))},empty:function(){i.each(this.datasets,(function(e){e.clear()})),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".aa"),this.$menu=null,i.each(this.datasets,(function(e){e.destroy()}))}}),u.Dataset=o,e.exports=u},94045:(e,t,n)=>{"use strict";var i=n(16220),r=n(71337);function s(e){e&&e.el||i.error("EventBus initialized without el"),this.$el=r.element(e.el)}i.mixin(s.prototype,{trigger:function(e,t,n,r){var s=i.Event("autocomplete:"+e);return this.$el.trigger(s,[t,n,r]),s}}),e.exports=s},31805:(e,t,n)=>{"use strict";var i=n(90874),r=/\s+/;function s(e,t,n,i){var s;if(!n)return this;for(t=t.split(r),n=i?function(e,t){return e.bind?e.bind(t):function(){e.apply(t,[].slice.call(arguments,0))}}(n,i):n,this._callbacks=this._callbacks||{};s=t.shift();)this._callbacks[s]=this._callbacks[s]||{sync:[],async:[]},this._callbacks[s][e].push(n);return this}function o(e,t,n){return function(){for(var i,r=0,s=e.length;!i&&r<s;r+=1)i=!1===e[r].apply(t,n);return!i}}e.exports={onSync:function(e,t,n){return s.call(this,"sync",e,t,n)},onAsync:function(e,t,n){return s.call(this,"async",e,t,n)},off:function(e){var t;if(!this._callbacks)return this;e=e.split(r);for(;t=e.shift();)delete this._callbacks[t];return this},trigger:function(e){var t,n,s,a,u;if(!this._callbacks)return this;e=e.split(r),s=[].slice.call(arguments,1);for(;(t=e.shift())&&(n=this._callbacks[t]);)a=o(n.sync,this,[t].concat(s)),u=o(n.async,this,[t].concat(s)),a()&&i(u);return this}}},74499:e=>{"use strict";e.exports={wrapper:'<span class="%ROOT%"></span>',dropdown:'<span class="%PREFIX%%DROPDOWN_MENU%"></span>',dataset:'<div class="%PREFIX%%DATASET%-%CLASS%"></div>',suggestions:'<span class="%PREFIX%%SUGGESTIONS%"></span>',suggestion:'<div class="%PREFIX%%SUGGESTION%"></div>'}},97748:(e,t,n)=>{"use strict";var i;i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var r=n(16220),s=n(71337),o=n(31805);function a(e){var t,n,o,a,u,c=this;(e=e||{}).input||r.error("input is missing"),t=r.bind(this._onBlur,this),n=r.bind(this._onFocus,this),o=r.bind(this._onKeydown,this),a=r.bind(this._onInput,this),this.$hint=s.element(e.hint),this.$input=s.element(e.input).on("blur.aa",t).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=r.noop),r.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",(function(e){i[e.which||e.keyCode]||r.defer(r.bind(c._onInput,c,e))})):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=(u=this.$input,s.element('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:u.css("font-family"),fontSize:u.css("font-size"),fontStyle:u.css("font-style"),fontVariant:u.css("font-variant"),fontWeight:u.css("font-weight"),wordSpacing:u.css("word-spacing"),letterSpacing:u.css("letter-spacing"),textIndent:u.css("text-indent"),textRendering:u.css("text-rendering"),textTransform:u.css("text-transform")}).insertAfter(u))}function u(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}a.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},r.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(e){var t=i[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(e,t){var n,i,r;switch(e){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!u(t);break;case"up":case"down":n=!u(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;if("tab"===e)n=!u(t);else n=!0;return n},_checkInputValue:function(){var e,t,n,i,r;e=this.getInputValue(),i=e,r=this.query,n=!(!(t=a.normalizeQuery(i)===a.normalizeQuery(r))||!this.query)&&this.query.length!==e.length,this.query=e,t?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(e){this.query=e},getInputValue:function(){return this.$input.val()},setInputValue:function(e,t){void 0===e&&(e=this.query),this.$input.val(e),t?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(e){this.$input.attr("aria-activedescendant",e)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n;n=(e=this.getInputValue())!==(t=this.getHint())&&0===t.indexOf(e),""!==e&&n&&!this.hasOverflow()||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,t,n;return e=this.$input.val().length,t=this.$input[0].selectionStart,r.isNumber(t)?t===e:!document.selection||((n=document.selection.createRange()).moveStart("character",-e),e===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}}),e.exports=a},98693:(e,t,n)=>{"use strict";var i="aaAttrs",r=n(16220),s=n(71337),o=n(94045),a=n(97748),u=n(82731),c=n(74499),l=n(60819);function h(e){var t,n;if((e=e||{}).input||r.error("missing input"),this.isActivated=!1,this.debug=!!e.debug,this.autoselect=!!e.autoselect,this.autoselectOnBlur=!!e.autoselectOnBlur,this.openOnFocus=!!e.openOnFocus,this.minLength=r.isNumber(e.minLength)?e.minLength:1,this.autoWidth=void 0===e.autoWidth||!!e.autoWidth,this.clearOnSelected=!!e.clearOnSelected,this.tabAutocomplete=void 0===e.tabAutocomplete||!!e.tabAutocomplete,e.hint=!!e.hint,e.hint&&e.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=e.css=r.mixin({},l,e.appendTo?l.appendTo:{}),this.cssClasses=e.cssClasses=r.mixin({},l.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix=r.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=e.listboxId=[this.cssClasses.root,"listbox",r.getUniqueId()].join("-");var a=function(e){var t,n,o,a;t=s.element(e.input),n=s.element(c.wrapper.replace("%ROOT%",e.cssClasses.root)).css(e.css.wrapper),e.appendTo||"block"!==t.css("display")||"table"!==t.parent().css("display")||n.css("display","table-cell");var u=c.dropdown.replace("%PREFIX%",e.cssClasses.prefix).replace("%DROPDOWN_MENU%",e.cssClasses.dropdownMenu);o=s.element(u).css(e.css.dropdown).attr({role:"listbox",id:e.listboxId}),e.templates&&e.templates.dropdownMenu&&o.html(r.templatify(e.templates.dropdownMenu)());a=t.clone().css(e.css.hint).css(function(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}(t)),a.val("").addClass(r.className(e.cssClasses.prefix,e.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData();t.data(i,{"aria-autocomplete":t.attr("aria-autocomplete"),"aria-expanded":t.attr("aria-expanded"),"aria-owns":t.attr("aria-owns"),autocomplete:t.attr("autocomplete"),dir:t.attr("dir"),role:t.attr("role"),spellcheck:t.attr("spellcheck"),style:t.attr("style"),type:t.attr("type")}),t.addClass(r.className(e.cssClasses.prefix,e.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":e.datasets&&e.datasets[0]&&e.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":e.ariaLabel,"aria-owns":e.listboxId}).css(e.hint?e.css.input:e.css.inputWithNoHint);try{t.attr("dir")||t.attr("dir","auto")}catch(l){}return n=e.appendTo?n.appendTo(s.element(e.appendTo).eq(0)).eq(0):t.wrap(n).parent(),n.prepend(e.hint?a:null).append(o),{wrapper:n,input:t,hint:a,menu:o}}(e);this.$node=a.wrapper;var u=this.$input=a.input;t=a.menu,n=a.hint,e.dropdownMenuContainer&&s.element(e.dropdownMenuContainer).css("position","relative").append(t.css("top","0")),u.on("blur.aa",(function(e){var n=document.activeElement;r.isMsie()&&(t[0]===n||t[0].contains(n))&&(e.preventDefault(),e.stopImmediatePropagation(),r.defer((function(){u.focus()})))})),t.on("mousedown.aa",(function(e){e.preventDefault()})),this.eventBus=e.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:e.appendTo,wrapper:this.$node,menu:t,datasets:e.datasets,templates:e.templates,cssClasses:e.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(e),this._setLanguageDirection()}r.mixin(h.prototype,{_bindKeyboardShortcuts:function(e){if(e.keyboardShortcuts){var t=this.$input,n=[];r.each(e.keyboardShortcuts,(function(e){"string"==typeof e&&(e=e.toUpperCase().charCodeAt(0)),n.push(e)})),s.element(document).keydown((function(e){var i=e.target||e.srcElement,r=i.tagName;if(!i.isContentEditable&&"INPUT"!==r&&"SELECT"!==r&&"TEXTAREA"!==r){var s=e.which||e.keyCode;-1!==n.indexOf(s)&&(t.focus(),e.stopPropagation(),e.preventDefault())}}))}},_onSuggestionClicked:function(e,t){var n;(n=this.dropdown.getDatumForSuggestion(t))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(e,t){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(t&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var e=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",e.width+"px");var t=this.$node[0].getBoundingClientRect(),n=e.bottom-t.top;this.$node.css("top",n+"px");var i=e.left-t.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var e=this.input.getQuery();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){var e,t;e=this.dropdown.getDatumForCursor(),t=this.dropdown.getDatumForTopSuggestion();var n={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&e?this._select(e,n):this.autoselectOnBlur&&t?this._select(t,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(e,t){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var r={selectionMethod:"enterKey"};n?(this._select(n,r),t.preventDefault()):this.autoselect&&i&&(this._select(i,r),t.preventDefault())},_onTabKeyed:function(e,t){if(this.tabAutocomplete){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),t.preventDefault()):this._autocomplete(!0)}else this.dropdown.close()},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(e,t){this.input.clearHintIfInvalid(),t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var e=this.input.getLanguageDirection();this.dir!==e&&(this.dir=e,this.$node.css("direction",e),this.dropdown.setLanguageDirection(e))},_updateHint:function(){var e,t,n,i,s;(e=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(t=this.input.getInputValue(),n=a.normalizeQuery(t),i=r.escapeRegExChars(n),(s=new RegExp("^(?:"+i+")(.+$)","i").exec(e.value))?this.input.setHint(t+s[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(e){var t,n,i,r;t=this.input.getHint(),n=this.input.getQuery(),i=e||this.input.isCursorAtEnd(),t&&n!==t&&i&&((r=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(e,t){void 0!==e.value&&this.input.setQuery(e.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(e.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",e.raw,e.datasetName,t).isDefaultPrevented()&&(this.dropdown.close(),r.defer(r.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var e=this.input.getInputValue();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(e){e=r.toStr(e),this.isActivated?this.input.setInputValue(e):(this.input.setQuery(e),this.input.setInputValue(e,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(e,t){var n=e.find(r.className(t.prefix,t.input));r.each(n.data(i),(function(e,t){void 0===e?n.removeAttr(t):n.attr(t,e)})),n.detach().removeClass(r.className(t.prefix,t.input,!0)).insertAfter(e),n.removeData&&n.removeData(i);e.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}}),h.Dropdown=u,h.Input=a,h.sources=n(64710),e.exports=h},71337:e=>{"use strict";e.exports={element:null}},66766:e=>{"use strict";e.exports=function(e){var t=e.match(/Algolia for JavaScript \((\d+\.)(\d+\.)(\d+)\)/)||e.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(t)return[t[1],t[2],t[3]]}},16220:(e,t,n)=>{"use strict";var i,r=n(71337);function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}e.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(e){if(void 0===e&&(e=navigator.userAgent),/(msie|trident)/i.test(e)){var t=e.match(/(msie |rv:)(\d+(.\d+)?)/i);if(t)return t[2]}return!1},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(e){return"number"==typeof e},toStr:function(e){return null==e?"":e+""},cloneDeep:function(e){var t=this.mixin({},e),n=this;return this.each(t,(function(e,i){e&&(n.isArray(e)?t[i]=[].concat(e):n.isObject(e)&&(t[i]=n.cloneDeep(e)))})),t},error:function(e){throw new Error(e)},every:function(e,t){var n=!0;return e?(this.each(e,(function(i,r){n&&(n=t.call(null,i,r,e)&&n)})),!!n):n},any:function(e,t){var n=!1;return e?(this.each(e,(function(i,r){if(t.call(null,i,r,e))return n=!0,!1})),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(e){if(this.isFunction(e))return e;var t=r.element(e);return"SCRIPT"===t.prop("tagName")?function(){return t.text()}:function(){return String(e)}},defer:function(e){setTimeout(e,0)},noop:function(){},formatPrefix:function(e,t){return t?"":e+"-"},className:function(e,t,n){return(n?"":".")+e+t},escapeHighlightedString:function(e,t,n){t=t||"<em>";var i=document.createElement("div");i.appendChild(document.createTextNode(t)),n=n||"</em>";var r=document.createElement("div");r.appendChild(document.createTextNode(n));var o=document.createElement("div");return o.appendChild(document.createTextNode(e)),o.innerHTML.replace(RegExp(s(i.innerHTML),"g"),t).replace(RegExp(s(r.innerHTML),"g"),n)}}},81242:(e,t,n)=>{"use strict";var i=n(16220),r=n(71622),s=n(66766);e.exports=function(e,t){var n=s(e.as._ua);return n&&n[0]>=3&&n[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),function(n,r){e.search(n,t,(function(e,t){e?i.error(e.message):r(t.hits,t)}))}}},64710:(e,t,n)=>{"use strict";e.exports={hits:n(81242),popularIn:n(30392)}},30392:(e,t,n)=>{"use strict";var i=n(16220),r=n(71622),s=n(66766);e.exports=function(e,t,n,o){var a=s(e.as._ua);if(a&&a[0]>=3&&a[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(e){return e[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){e.search(a,t,(function(e,a){if(e)i.error(e.message);else{if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var d=s(c.as._ua);return d&&d[0]>=3&&d[1]>20&&(t.additionalUA="autocomplete.js "+r),void c.search(u(h),p,(function(e,t){if(e)i.error(e.message);else{var n=[];if(o.includeAll){var r=o.allTitle||"All departments";n.push(i.mixin({facet:{value:r,count:t.nbHits}},i.cloneDeep(h)))}i.each(t.facets,(function(e,t){i.each(e,(function(e,r){n.push(i.mixin({facet:{facet:t,value:r,count:e}},i.cloneDeep(h)))}))}));for(var s=1;s<a.hits.length;++s)n.push(a.hits[s]);l(n,a)}}))}l([])}}))}}},75275:(e,t,n)=>{"use strict";var i=n(53704);n(71337).element=i;var r=n(16220);r.isArray=i.isArray,r.isFunction=i.isFunction,r.isObject=i.isPlainObject,r.bind=i.proxy,r.each=function(e,t){i.each(e,(function(e,n){return t(n,e)}))},r.map=i.map,r.mixin=i.extend,r.Event=i.Event;var s="aaAutocomplete",o=n(98693),a=n(94045);function u(e,t,n,u){n=r.isArray(n)?n:[].slice.call(arguments,2);var c=i(e).each((function(e,r){var c=i(r),l=new a({el:c}),h=u||new o({input:c,eventBus:l,dropdownMenuContainer:t.dropdownMenuContainer,hint:void 0===t.hint||!!t.hint,minLength:t.minLength,autoselect:t.autoselect,autoselectOnBlur:t.autoselectOnBlur,tabAutocomplete:t.tabAutocomplete,openOnFocus:t.openOnFocus,templates:t.templates,debug:t.debug,clearOnSelected:t.clearOnSelected,cssClasses:t.cssClasses,datasets:n,keyboardShortcuts:t.keyboardShortcuts,appendTo:t.appendTo,autoWidth:t.autoWidth,ariaLabel:t.ariaLabel||r.getAttribute("aria-label")});c.data(s,h)}));return c.autocomplete={},r.each(["open","close","getVal","setVal","destroy","getWrapper"],(function(e){c.autocomplete[e]=function(){var t,n=arguments;return c.each((function(r,o){var a=i(o).data(s);t=a[e].apply(a,n)})),t}})),c}u.sources=o.sources,u.escapeHighlightedString=r.escapeHighlightedString;var c="autocomplete"in window,l=window.autocomplete;u.noConflict=function(){return c?window.autocomplete=l:delete window.autocomplete,u},e.exports=u},71622:e=>{e.exports="0.37.1"},53704:e=>{var t;t=window,e.exports=function(e){var t,n,i=function(){var t,n,i,r,s,o,a=[],u=a.concat,c=a.filter,l=a.slice,h=e.document,p={},d={},f={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},g=/^\s*<(\w+|!)[^>]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,v=/^(?:body|html)$/i,x=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],w=["after","prepend","before","append"],S=h.createElement("table"),C=h.createElement("tr"),E={tr:h.createElement("tbody"),tbody:S,thead:S,tfoot:S,td:C,th:C,"*":h.createElement("div")},k=/complete|loaded|interactive/,_=/^[\w-]*$/,T={},L=T.toString,O={},A=h.createElement("div"),$={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},P=Array.isArray||function(e){return e instanceof Array};function I(e){return null==e?String(e):T[L.call(e)]||"object"}function Q(e){return"function"==I(e)}function R(e){return null!=e&&e==e.window}function N(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function D(e){return"object"==I(e)}function F(e){return D(e)&&!R(e)&&Object.getPrototypeOf(e)==Object.prototype}function j(e){var t=!!e&&"length"in e&&e.length,n=i.type(e);return"function"!=n&&!R(e)&&("array"==n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function H(e){return c.call(e,(function(e){return null!=e}))}function V(e){return e.length>0?i.fn.concat.apply([],e):e}function B(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function M(e){return e in d?d[e]:d[e]=new RegExp("(^|\\s)"+e+"(\\s|$)")}function q(e,t){return"number"!=typeof t||f[B(e)]?t:t+"px"}function z(e){var t,n;return p[e]||(t=h.createElement(e),h.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),p[e]=n),p[e]}function K(e){return"children"in e?l.call(e.children):i.map(e.childNodes,(function(e){if(1==e.nodeType)return e}))}function W(e,t){var n,i=e?e.length:0;for(n=0;n<i;n++)this[n]=e[n];this.length=i,this.selector=t||""}function U(e,i,r){for(n in i)r&&(F(i[n])||P(i[n]))?(F(i[n])&&!F(e[n])&&(e[n]={}),P(i[n])&&!P(e[n])&&(e[n]=[]),U(e[n],i[n],r)):i[n]!==t&&(e[n]=i[n])}function G(e,t){return null==t?i(e):i(e).filter(t)}function Z(e,t,n,i){return Q(t)?t.call(e,n,i):t}function J(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function X(e,n){var i=e.className||"",r=i&&i.baseVal!==t;if(n===t)return r?i.baseVal:i;r?i.baseVal=n:e.className=n}function Y(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?i.parseJSON(e):e):e}catch(t){return e}}function ee(e,t){t(e);for(var n=0,i=e.childNodes.length;n<i;n++)ee(e.childNodes[n],t)}return O.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var i,r=e.parentNode,s=!r;return s&&(r=A).appendChild(e),i=~O.qsa(r,t).indexOf(e),s&&A.removeChild(e),i},s=function(e){return e.replace(/-+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))},o=function(e){return c.call(e,(function(t,n){return e.indexOf(t)==n}))},O.fragment=function(e,n,r){var s,o,a;return m.test(e)&&(s=i(h.createElement(RegExp.$1))),s||(e.replace&&(e=e.replace(y,"<$1></$2>")),n===t&&(n=g.test(e)&&RegExp.$1),n in E||(n="*"),(a=E[n]).innerHTML=""+e,s=i.each(l.call(a.childNodes),(function(){a.removeChild(this)}))),F(r)&&(o=i(s),i.each(r,(function(e,t){b.indexOf(e)>-1?o[e](t):o.attr(e,t)}))),s},O.Z=function(e,t){return new W(e,t)},O.isZ=function(e){return e instanceof O.Z},O.init=function(e,n){var r;if(!e)return O.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&g.test(e))r=O.fragment(e,RegExp.$1,n),e=null;else{if(n!==t)return i(n).find(e);r=O.qsa(h,e)}else{if(Q(e))return i(h).ready(e);if(O.isZ(e))return e;if(P(e))r=H(e);else if(D(e))r=[e],e=null;else if(g.test(e))r=O.fragment(e.trim(),RegExp.$1,n),e=null;else{if(n!==t)return i(n).find(e);r=O.qsa(h,e)}}return O.Z(r,e)},(i=function(e,t){return O.init(e,t)}).extend=function(e){var t,n=l.call(arguments,1);return"boolean"==typeof e&&(t=e,e=n.shift()),n.forEach((function(n){U(e,n,t)})),e},O.qsa=function(e,t){var n,i="#"==t[0],r=!i&&"."==t[0],s=i||r?t.slice(1):t,o=_.test(s);return e.getElementById&&o&&i?(n=e.getElementById(s))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:l.call(o&&!i&&e.getElementsByClassName?r?e.getElementsByClassName(s):e.getElementsByTagName(t):e.querySelectorAll(t))},i.contains=h.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},i.type=I,i.isFunction=Q,i.isWindow=R,i.isArray=P,i.isPlainObject=F,i.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},i.isNumeric=function(e){var t=Number(e),n=typeof e;return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},i.inArray=function(e,t,n){return a.indexOf.call(t,e,n)},i.camelCase=s,i.trim=function(e){return null==e?"":String.prototype.trim.call(e)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(e,t){var n,i,r,s=[];if(j(e))for(i=0;i<e.length;i++)null!=(n=t(e[i],i))&&s.push(n);else for(r in e)null!=(n=t(e[r],r))&&s.push(n);return V(s)},i.each=function(e,t){var n,i;if(j(e)){for(n=0;n<e.length;n++)if(!1===t.call(e[n],n,e[n]))return e}else for(i in e)if(!1===t.call(e[i],i,e[i]))return e;return e},i.grep=function(e,t){return c.call(e,t)},e.JSON&&(i.parseJSON=JSON.parse),i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(e,t){T["[object "+t+"]"]=t.toLowerCase()})),i.fn={constructor:O.Z,length:0,forEach:a.forEach,reduce:a.reduce,push:a.push,sort:a.sort,splice:a.splice,indexOf:a.indexOf,concat:function(){var e,t,n=[];for(e=0;e<arguments.length;e++)t=arguments[e],n[e]=O.isZ(t)?t.toArray():t;return u.apply(O.isZ(this)?this.toArray():this,n)},map:function(e){return i(i.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return i(l.apply(this,arguments))},ready:function(e){return k.test(h.readyState)&&h.body?e(i):h.addEventListener("DOMContentLoaded",(function(){e(i)}),!1),this},get:function(e){return e===t?l.call(this):this[e>=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each((function(){null!=this.parentNode&&this.parentNode.removeChild(this)}))},each:function(e){return a.every.call(this,(function(t,n){return!1!==e.call(t,n,t)})),this},filter:function(e){return Q(e)?this.not(this.not(e)):i(c.call(this,(function(t){return O.matches(t,e)})))},add:function(e,t){return i(o(this.concat(i(e,t))))},is:function(e){return this.length>0&&O.matches(this[0],e)},not:function(e){var n=[];if(Q(e)&&e.call!==t)this.each((function(t){e.call(this,t)||n.push(this)}));else{var r="string"==typeof e?this.filter(e):j(e)&&Q(e.item)?l.call(e):i(e);this.forEach((function(e){r.indexOf(e)<0&&n.push(e)}))}return i(n)},has:function(e){return this.filter((function(){return D(e)?i.contains(this,e):i(this).find(e).size()}))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!D(e)?e:i(e)},last:function(){var e=this[this.length-1];return e&&!D(e)?e:i(e)},find:function(e){var t=this;return e?"object"==typeof e?i(e).filter((function(){var e=this;return a.some.call(t,(function(t){return i.contains(t,e)}))})):1==this.length?i(O.qsa(this[0],e)):this.map((function(){return O.qsa(this,e)})):i()},closest:function(e,t){var n=[],r="object"==typeof e&&i(e);return this.each((function(i,s){for(;s&&!(r?r.indexOf(s)>=0:O.matches(s,e));)s=s!==t&&!N(s)&&s.parentNode;s&&n.indexOf(s)<0&&n.push(s)})),i(n)},parents:function(e){for(var t=[],n=this;n.length>0;)n=i.map(n,(function(e){if((e=e.parentNode)&&!N(e)&&t.indexOf(e)<0)return t.push(e),e}));return G(t,e)},parent:function(e){return G(o(this.pluck("parentNode")),e)},children:function(e){return G(this.map((function(){return K(this)})),e)},contents:function(){return this.map((function(){return this.contentDocument||l.call(this.childNodes)}))},siblings:function(e){return G(this.map((function(e,t){return c.call(K(t.parentNode),(function(e){return e!==t}))})),e)},empty:function(){return this.each((function(){this.innerHTML=""}))},pluck:function(e){return i.map(this,(function(t){return t[e]}))},show:function(){return this.each((function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=z(this.nodeName))}))},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=Q(e);if(this[0]&&!t)var n=i(e).get(0),r=n.parentNode||this.length>1;return this.each((function(s){i(this).wrapAll(t?e.call(this,s):r?n.cloneNode(!0):n)}))},wrapAll:function(e){if(this[0]){var t;for(i(this[0]).before(e=i(e));(t=e.children()).length;)e=t.first();i(e).append(this)}return this},wrapInner:function(e){var t=Q(e);return this.each((function(n){var r=i(this),s=r.contents(),o=t?e.call(this,n):e;s.length?s.wrapAll(o):r.append(o)}))},unwrap:function(){return this.parent().each((function(){i(this).replaceWith(i(this).children())})),this},clone:function(){return this.map((function(){return this.cloneNode(!0)}))},hide:function(){return this.css("display","none")},toggle:function(e){return this.each((function(){var n=i(this);(e===t?"none"==n.css("display"):e)?n.show():n.hide()}))},prev:function(e){return i(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return i(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each((function(t){var n=this.innerHTML;i(this).empty().append(Z(this,e,t,n))})):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each((function(t){var n=Z(this,e,t,this.textContent);this.textContent=null==n?"":""+n})):0 in this?this.pluck("textContent").join(""):null},attr:function(e,i){var r;return"string"!=typeof e||1 in arguments?this.each((function(t){if(1===this.nodeType)if(D(e))for(n in e)J(this,n,e[n]);else J(this,e,Z(this,i,t,this.getAttribute(e)))})):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(e))?r:t},removeAttr:function(e){return this.each((function(){1===this.nodeType&&e.split(" ").forEach((function(e){J(this,e)}),this)}))},prop:function(e,t){return e=$[e]||e,1 in arguments?this.each((function(n){this[e]=Z(this,t,n,this[e])})):this[0]&&this[0][e]},removeProp:function(e){return e=$[e]||e,this.each((function(){delete this[e]}))},data:function(e,n){var i="data-"+e.replace(x,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,n):this.attr(i);return null!==r?Y(r):t},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each((function(t){this.value=Z(this,e,t,this.value)}))):this[0]&&(this[0].multiple?i(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each((function(e){var n=i(this),r=Z(this,t,e,n.offset()),s=n.offsetParent().offset(),o={top:r.top-s.top,left:r.left-s.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)}));if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+e.pageXOffset,top:n.top+e.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(e,t){if(arguments.length<2){var r=this[0];if("string"==typeof e){if(!r)return;return r.style[s(e)]||getComputedStyle(r,"").getPropertyValue(e)}if(P(e)){if(!r)return;var o={},a=getComputedStyle(r,"");return i.each(e,(function(e,t){o[t]=r.style[s(t)]||a.getPropertyValue(t)})),o}}var u="";if("string"==I(e))t||0===t?u=B(e)+":"+q(e,t):this.each((function(){this.style.removeProperty(B(e))}));else for(n in e)e[n]||0===e[n]?u+=B(n)+":"+q(n,e[n])+";":this.each((function(){this.style.removeProperty(B(n))}));return this.each((function(){this.style.cssText+=";"+u}))},index:function(e){return e?this.indexOf(i(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&a.some.call(this,(function(e){return this.test(X(e))}),M(e))},addClass:function(e){return e?this.each((function(t){if("className"in this){r=[];var n=X(this);Z(this,e,t,n).split(/\s+/g).forEach((function(e){i(this).hasClass(e)||r.push(e)}),this),r.length&&X(this,n+(n?" ":"")+r.join(" "))}})):this},removeClass:function(e){return this.each((function(n){if("className"in this){if(e===t)return X(this,"");r=X(this),Z(this,e,n,r).split(/\s+/g).forEach((function(e){r=r.replace(M(e)," ")})),X(this,r.trim())}}))},toggleClass:function(e,n){return e?this.each((function(r){var s=i(this);Z(this,e,r,X(this)).split(/\s+/g).forEach((function(e){(n===t?!s.hasClass(e):n)?s.addClass(e):s.removeClass(e)}))})):this},scrollTop:function(e){if(this.length){var n="scrollTop"in this[0];return e===t?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var n="scrollLeft"in this[0];return e===t?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),n=this.offset(),r=v.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(i(e).css("margin-top"))||0,n.left-=parseFloat(i(e).css("margin-left"))||0,r.top+=parseFloat(i(t[0]).css("border-top-width"))||0,r.left+=parseFloat(i(t[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||h.body;e&&!v.test(e.nodeName)&&"static"==i(e).css("position");)e=e.offsetParent;return e}))}},i.fn.detach=i.fn.remove,["width","height"].forEach((function(e){var n=e.replace(/./,(function(e){return e[0].toUpperCase()}));i.fn[e]=function(r){var s,o=this[0];return r===t?R(o)?o["inner"+n]:N(o)?o.documentElement["scroll"+n]:(s=this.offset())&&s[e]:this.each((function(t){(o=i(this)).css(e,Z(this,r,t,o[e]()))}))}})),w.forEach((function(n,r){var s=r%2;i.fn[n]=function(){var n,o,a=i.map(arguments,(function(e){var r=[];return"array"==(n=I(e))?(e.forEach((function(e){return e.nodeType!==t?r.push(e):i.zepto.isZ(e)?r=r.concat(e.get()):void(r=r.concat(O.fragment(e)))})),r):"object"==n||null==e?e:O.fragment(e)})),u=this.length>1;return a.length<1?this:this.each((function(t,n){o=s?n:n.parentNode,n=0==r?n.nextSibling:1==r?n.firstChild:2==r?n:null;var c=i.contains(h.documentElement,o);a.forEach((function(t){if(u)t=t.cloneNode(!0);else if(!o)return i(t).remove();o.insertBefore(t,n),c&&ee(t,(function(t){if(!(null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src)){var n=t.ownerDocument?t.ownerDocument.defaultView:e;n.eval.call(n,t.innerHTML)}}))}))}))},i.fn[s?n+"To":"insert"+(r?"Before":"After")]=function(e){return i(e)[n](this),this}})),O.Z.prototype=W.prototype=i.fn,O.uniq=o,O.deserializeValue=Y,i.zepto=O,i}();return function(t){var n,i=1,r=Array.prototype.slice,s=t.isFunction,o=function(e){return"string"==typeof e},a={},u={},c="onfocusin"in e,l={focus:"focusin",blur:"focusout"},h={mouseenter:"mouseover",mouseleave:"mouseout"};function p(e){return e._zid||(e._zid=i++)}function d(e,t,n,i){if((t=f(t)).ns)var r=g(t.ns);return(a[p(e)]||[]).filter((function(e){return e&&(!t.e||e.e==t.e)&&(!t.ns||r.test(e.ns))&&(!n||p(e.fn)===p(n))&&(!i||e.sel==i)}))}function f(e){var t=(""+e).split(".");return{e:t[0],ns:t.slice(1).sort().join(" ")}}function g(e){return new RegExp("(?:^| )"+e.replace(" "," .* ?")+"(?: |$)")}function m(e,t){return e.del&&!c&&e.e in l||!!t}function y(e){return h[e]||c&&l[e]||e}function v(e,i,r,s,o,u,c){var l=p(e),d=a[l]||(a[l]=[]);i.split(/\s/).forEach((function(i){if("ready"==i)return t(document).ready(r);var a=f(i);a.fn=r,a.sel=o,a.e in h&&(r=function(e){var n=e.relatedTarget;if(!n||n!==this&&!t.contains(this,n))return a.fn.apply(this,arguments)}),a.del=u;var l=u||r;a.proxy=function(t){if(!(t=E(t)).isImmediatePropagationStopped()){try{var i=Object.getOwnPropertyDescriptor(t,"data");i&&!i.writable||(t.data=s)}catch(t){}var r=l.apply(e,t._args==n?[t]:[t].concat(t._args));return!1===r&&(t.preventDefault(),t.stopPropagation()),r}},a.i=d.length,d.push(a),"addEventListener"in e&&e.addEventListener(y(a.e),a.proxy,m(a,c))}))}function x(e,t,n,i,r){var s=p(e);(t||"").split(/\s/).forEach((function(t){d(e,t,n,i).forEach((function(t){delete a[s][t.i],"removeEventListener"in e&&e.removeEventListener(y(t.e),t.proxy,m(t,r))}))}))}u.click=u.mousedown=u.mouseup=u.mousemove="MouseEvents",t.event={add:v,remove:x},t.proxy=function(e,n){var i=2 in arguments&&r.call(arguments,2);if(s(e)){var a=function(){return e.apply(n,i?i.concat(r.call(arguments)):arguments)};return a._zid=p(e),a}if(o(n))return i?(i.unshift(e[n],e),t.proxy.apply(null,i)):t.proxy(e[n],e);throw new TypeError("expected function")},t.fn.bind=function(e,t,n){return this.on(e,t,n)},t.fn.unbind=function(e,t){return this.off(e,t)},t.fn.one=function(e,t,n,i){return this.on(e,t,n,i,1)};var b=function(){return!0},w=function(){return!1},S=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,C={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function E(e,i){if(i||!e.isDefaultPrevented){i||(i=e),t.each(C,(function(t,n){var r=i[t];e[t]=function(){return this[n]=b,r&&r.apply(i,arguments)},e[n]=w}));try{e.timeStamp||(e.timeStamp=Date.now())}catch(r){}(i.defaultPrevented!==n?i.defaultPrevented:"returnValue"in i?!1===i.returnValue:i.getPreventDefault&&i.getPreventDefault())&&(e.isDefaultPrevented=b)}return e}function k(e){var t,i={originalEvent:e};for(t in e)S.test(t)||e[t]===n||(i[t]=e[t]);return E(i,e)}t.fn.delegate=function(e,t,n){return this.on(t,e,n)},t.fn.undelegate=function(e,t,n){return this.off(t,e,n)},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,i,a,u,c){var l,h,p=this;return e&&!o(e)?(t.each(e,(function(e,t){p.on(e,i,a,t,c)})),p):(o(i)||s(u)||!1===u||(u=a,a=i,i=n),u!==n&&!1!==a||(u=a,a=n),!1===u&&(u=w),p.each((function(n,s){c&&(l=function(e){return x(s,e.type,u),u.apply(this,arguments)}),i&&(h=function(e){var n,o=t(e.target).closest(i,s).get(0);if(o&&o!==s)return n=t.extend(k(e),{currentTarget:o,liveFired:s}),(l||u).apply(o,[n].concat(r.call(arguments,1)))}),v(s,e,u,a,i,h||l)})))},t.fn.off=function(e,i,r){var a=this;return e&&!o(e)?(t.each(e,(function(e,t){a.off(e,i,t)})),a):(o(i)||s(r)||!1===r||(r=i,i=n),!1===r&&(r=w),a.each((function(){x(this,e,r,i)})))},t.fn.trigger=function(e,n){return(e=o(e)||t.isPlainObject(e)?t.Event(e):E(e))._args=n,this.each((function(){e.type in l&&"function"==typeof this[e.type]?this[e.type]():"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)}))},t.fn.triggerHandler=function(e,n){var i,r;return this.each((function(s,a){(i=k(o(e)?t.Event(e):e))._args=n,i.target=a,t.each(d(a,e.type||e),(function(e,t){if(r=t.proxy(i),i.isImmediatePropagationStopped())return!1}))})),r},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach((function(e){t.fn[e]=function(t){return 0 in arguments?this.bind(e,t):this.trigger(e)}})),t.Event=function(e,t){o(e)||(e=(t=e).type);var n=document.createEvent(u[e]||"Events"),i=!0;if(t)for(var r in t)"bubbles"==r?i=!!t[r]:n[r]=t[r];return n.initEvent(e,i,!0),E(n)}}(i),n=[],i.fn.remove=function(){return this.each((function(){this.parentNode&&("IMG"===this.tagName&&(n.push(this),this.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",t&&clearTimeout(t),t=setTimeout((function(){n=[]}),6e4)),this.parentNode.removeChild(this))}))},function(e){var t={},n=e.fn.data,i=e.camelCase,r=e.expando="Zepto"+ +new Date,s=[];function o(s,o){var u=s[r],c=u&&t[u];if(void 0===o)return c||a(s);if(c){if(o in c)return c[o];var l=i(o);if(l in c)return c[l]}return n.call(e(s),o)}function a(n,s,o){var a=n[r]||(n[r]=++e.uuid),c=t[a]||(t[a]=u(n));return void 0!==s&&(c[i(s)]=o),c}function u(t){var n={};return e.each(t.attributes||s,(function(t,r){0==r.name.indexOf("data-")&&(n[i(r.name.replace("data-",""))]=e.zepto.deserializeValue(r.value))})),n}e.fn.data=function(t,n){return void 0===n?e.isPlainObject(t)?this.each((function(n,i){e.each(t,(function(e,t){a(i,e,t)}))})):0 in this?o(this[0],t):void 0:this.each((function(){a(this,t,n)}))},e.data=function(t,n,i){return e(t).data(n,i)},e.hasData=function(n){var i=n[r],s=i&&t[i];return!!s&&!e.isEmptyObject(s)},e.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each((function(){var s=this[r],o=s&&t[s];o&&e.each(n||o,(function(e){delete o[n?i(this):e]}))}))},["remove","empty"].forEach((function(t){var n=e.fn[t];e.fn[t]=function(){var e=this.find("*");return"remove"===t&&(e=e.add(this)),e.removeData(),n.call(this)}}))}(i),i}(t)},15765:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var i=n(34714),r=n.n(i),s=n(20549);s.A.tokenizer.separator=/[\s\-/]+/;const o=class{constructor(e,t,n,i){void 0===n&&(n="/"),this.searchDocs=e,this.lunrIndex=s.A.Index.load(t),this.baseUrl=n,this.maxHits=i}getLunrResult(e){return this.lunrIndex.query((function(t){const n=s.A.tokenizer(e);t.term(n,{boost:10}),t.term(n,{wildcard:s.A.Query.wildcard.TRAILING})}))}getHit(e,t,n){return{hierarchy:{lvl0:e.pageTitle||e.title,lvl1:0===e.type?null:e.title},url:e.url,version:e.version,_snippetResult:n?{content:{value:n,matchLevel:"full"}}:null,_highlightResult:{hierarchy:{lvl0:{value:0===e.type?t||e.title:e.pageTitle},lvl1:0===e.type?null:{value:t||e.title}}}}}getTitleHit(e,t,n){const i=t[0],r=t[0]+n;let s=e.title.substring(0,i)+'<span class="algolia-docsearch-suggestion--highlight">'+e.title.substring(i,r)+"</span>"+e.title.substring(r,e.title.length);return this.getHit(e,s)}getKeywordHit(e,t,n){const i=t[0],r=t[0]+n;let s=e.title+"<br /><i>Keywords: "+e.keywords.substring(0,i)+'<span class="algolia-docsearch-suggestion--highlight">'+e.keywords.substring(i,r)+"</span>"+e.keywords.substring(r,e.keywords.length)+"</i>";return this.getHit(e,s)}getContentHit(e,t){const n=t[0],i=t[0]+t[1];let r=n,s=i,o=!0,a=!0;for(let c=0;c<3;c++){const t=e.content.lastIndexOf(" ",r-2),n=e.content.lastIndexOf(".",r-2);if(n>0&&n>t){r=n+1,o=!1;break}if(t<0){r=0,o=!1;break}r=t+1}for(let c=0;c<10;c++){const t=e.content.indexOf(" ",s+1),n=e.content.indexOf(".",s+1);if(n>0&&n<t){s=n,a=!1;break}if(t<0){s=e.content.length,a=!1;break}s=t}let u=e.content.substring(r,n);return o&&(u="... "+u),u+='<span class="algolia-docsearch-suggestion--highlight">'+e.content.substring(n,i)+"</span>",u+=e.content.substring(i,s),a&&(u+=" ..."),this.getHit(e,null,u)}search(e){return new Promise(((t,n)=>{const i=this.getLunrResult(e),r=[];i.length>this.maxHits&&(i.length=this.maxHits),this.titleHitsRes=[],this.contentHitsRes=[],i.forEach((t=>{const n=this.searchDocs[t.ref],{metadata:i}=t.matchData;for(let s in i)if(i[s].title){if(!this.titleHitsRes.includes(t.ref)){const o=i[s].title.position[0];r.push(this.getTitleHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}else if(i[s].content){const e=i[s].content.position[0];r.push(this.getContentHit(n,e))}else if(i[s].keywords){const o=i[s].keywords.position[0];r.push(this.getKeywordHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}})),r.length>this.maxHits&&(r.length=this.maxHits),t(r)}))}};var a=n(64498),u=n.n(a);const c="algolia-docsearch",l=`${c}-suggestion`,h={suggestion:`\n <a class="${l}\n {{#isCategoryHeader}}${l}__main{{/isCategoryHeader}}\n {{#isSubCategoryHeader}}${l}__secondary{{/isSubCategoryHeader}}\n "\n aria-label="Link to the result"\n href="{{{url}}}"\n >\n <div class="${l}--category-header">\n <span class="${l}--category-header-lvl0">{{{category}}}</span>\n </div>\n <div class="${l}--wrapper">\n <div class="${l}--subcategory-column">\n <span class="${l}--subcategory-column-text">{{{subcategory}}}</span>\n </div>\n {{#isTextOrSubcategoryNonEmpty}}\n <div class="${l}--content">\n <div class="${l}--subcategory-inline">{{{subcategory}}}</div>\n <div class="${l}--title">{{{title}}}</div>\n {{#text}}<div class="${l}--text">{{{text}}}</div>{{/text}}\n {{#version}}<div class="${l}--version">{{version}}</div>{{/version}}\n </div>\n {{/isTextOrSubcategoryNonEmpty}}\n </div>\n </a>\n `,suggestionSimple:`\n <div class="${l}\n {{#isCategoryHeader}}${l}__main{{/isCategoryHeader}}\n {{#isSubCategoryHeader}}${l}__secondary{{/isSubCategoryHeader}}\n suggestion-layout-simple\n ">\n <div class="${l}--category-header">\n {{^isLvl0}}\n <span class="${l}--category-header-lvl0 ${l}--category-header-item">{{{category}}}</span>\n {{^isLvl1}}\n {{^isLvl1EmptyOrDuplicate}}\n <span class="${l}--category-header-lvl1 ${l}--category-header-item">\n {{{subcategory}}}\n </span>\n {{/isLvl1EmptyOrDuplicate}}\n {{/isLvl1}}\n {{/isLvl0}}\n <div class="${l}--title ${l}--category-header-item">\n {{#isLvl2}}\n {{{title}}}\n {{/isLvl2}}\n {{#isLvl1}}\n {{{subcategory}}}\n {{/isLvl1}}\n {{#isLvl0}}\n {{{category}}}\n {{/isLvl0}}\n </div>\n </div>\n <div class="${l}--wrapper">\n {{#text}}\n <div class="${l}--content">\n <div class="${l}--text">{{{text}}}</div>\n </div>\n {{/text}}\n </div>\n </div>\n `,footer:`\n <div class="${`${c}-footer`}">\n </div>\n `,empty:`\n <div class="${l}">\n <div class="${l}--wrapper">\n <div class="${l}--content ${l}--no-results">\n <div class="${l}--title">\n <div class="${l}--text">\n No results found for query <b>"{{query}}"</b>\n </div>\n </div>\n </div>\n </div>\n </div>\n `,searchBox:'\n <form novalidate="novalidate" onsubmit="return false;" class="searchbox">\n <div role="search" class="searchbox__wrapper">\n <input id="docsearch" type="search" name="search" placeholder="Search the docs" autocomplete="off" required="required" class="searchbox__input"/>\n <button type="submit" title="Submit your search query." class="searchbox__submit" >\n <svg width=12 height=12 role="img" aria-label="Search">\n <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#sbx-icon-search-13"></use>\n </svg>\n </button>\n <button type="reset" title="Clear the search query." class="searchbox__reset hide">\n <svg width=12 height=12 role="img" aria-label="Reset">\n <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#sbx-icon-clear-3"></use>\n </svg>\n </button>\n </div>\n</form>\n\n<div class="svg-icons" style="height: 0; width: 0; position: absolute; visibility: hidden">\n <svg xmlns="http://www.w3.org/2000/svg">\n <symbol id="sbx-icon-clear-3" viewBox="0 0 40 40"><path d="M16.228 20L1.886 5.657 0 3.772 3.772 0l1.885 1.886L20 16.228 34.343 1.886 36.228 0 40 3.772l-1.886 1.885L23.772 20l14.342 14.343L40 36.228 36.228 40l-1.885-1.886L20 23.772 5.657 38.114 3.772 40 0 36.228l1.886-1.885L16.228 20z" fill-rule="evenodd"></symbol>\n <symbol id="sbx-icon-search-13" viewBox="0 0 40 40"><path d="M26.806 29.012a16.312 16.312 0 0 1-10.427 3.746C7.332 32.758 0 25.425 0 16.378 0 7.334 7.333 0 16.38 0c9.045 0 16.378 7.333 16.378 16.38 0 3.96-1.406 7.593-3.746 10.426L39.547 37.34c.607.608.61 1.59-.004 2.203a1.56 1.56 0 0 1-2.202.004L26.807 29.012zm-10.427.627c7.322 0 13.26-5.938 13.26-13.26 0-7.324-5.938-13.26-13.26-13.26-7.324 0-13.26 5.936-13.26 13.26 0 7.322 5.936 13.26 13.26 13.26z" fill-rule="evenodd"></symbol>\n </svg>\n</div>\n '};var p=n(53704),d=n.n(p);const f={mergeKeyWithParent(e,t){if(void 0===e[t])return e;if("object"!=typeof e[t])return e;const n=d().extend({},e,e[t]);return delete n[t],n},groupBy(e,t){const n={};return d().each(e,((e,i)=>{if(void 0===i[t])throw new Error(`[groupBy]: Object has no key ${t}`);let r=i[t];"string"==typeof r&&(r=r.toLowerCase()),Object.prototype.hasOwnProperty.call(n,r)||(n[r]=[]),n[r].push(i)})),n},values:e=>Object.keys(e).map((t=>e[t])),flatten(e){const t=[];return e.forEach((e=>{Array.isArray(e)?e.forEach((e=>{t.push(e)})):t.push(e)})),t},flattenAndFlagFirst(e,t){const n=this.values(e).map((e=>e.map(((e,n)=>(e[t]=0===n,e)))));return this.flatten(n)},compact(e){const t=[];return e.forEach((e=>{e&&t.push(e)})),t},getHighlightedValue:(e,t)=>e._highlightResult&&e._highlightResult.hierarchy_camel&&e._highlightResult.hierarchy_camel[t]&&e._highlightResult.hierarchy_camel[t].matchLevel&&"none"!==e._highlightResult.hierarchy_camel[t].matchLevel&&e._highlightResult.hierarchy_camel[t].value?e._highlightResult.hierarchy_camel[t].value:e._highlightResult&&e._highlightResult&&e._highlightResult[t]&&e._highlightResult[t].value?e._highlightResult[t].value:e[t],getSnippetedValue(e,t){if(!e._snippetResult||!e._snippetResult[t]||!e._snippetResult[t].value)return e[t];let n=e._snippetResult[t].value;return n[0]!==n[0].toUpperCase()&&(n=`\u2026${n}`),-1===[".","!","?"].indexOf(n[n.length-1])&&(n=`${n}\u2026`),n},deepClone:e=>JSON.parse(JSON.stringify(e))};class g{constructor(e){let{searchDocs:t,searchIndex:n,inputSelector:i,debug:r=!1,baseUrl:s="/",queryDataCallback:a=null,autocompleteOptions:c={debug:!1,hint:!1,autoselect:!0},transformData:l=!1,queryHook:p=!1,handleSelected:f=!1,enhancedSearchInput:m=!1,layout:y="column",maxHits:v=5}=e;this.input=g.getInputFromSelector(i),this.queryDataCallback=a||null;const x=!(!c||!c.debug)&&c.debug;c.debug=r||x,this.autocompleteOptions=c,this.autocompleteOptions.cssClasses=this.autocompleteOptions.cssClasses||{},this.autocompleteOptions.cssClasses.prefix=this.autocompleteOptions.cssClasses.prefix||"ds";const b=this.input&&"function"==typeof this.input.attr&&this.input.attr("aria-label");this.autocompleteOptions.ariaLabel=this.autocompleteOptions.ariaLabel||b||"search input",this.isSimpleLayout="simple"===y,this.client=new o(t,n,s,v),m&&(this.input=g.injectSearchBox(this.input)),this.autocomplete=u()(this.input,c,[{source:this.getAutocompleteSource(l,p),templates:{suggestion:g.getSuggestionTemplate(this.isSimpleLayout),footer:h.footer,empty:g.getEmptyTemplate()}}]);const w=f;this.handleSelected=w||this.handleSelected,w&&d()(".algolia-autocomplete").on("click",".ds-suggestions a",(e=>{e.preventDefault()})),this.autocomplete.on("autocomplete:selected",this.handleSelected.bind(null,this.autocomplete.autocomplete)),this.autocomplete.on("autocomplete:shown",this.handleShown.bind(null,this.input)),m&&g.bindSearchBoxEvent(),document.addEventListener("keydown",(e=>{(e.ctrlKey||e.metaKey)&&"k"==e.key&&(this.input.focus(),e.preventDefault())}))}static injectSearchBox(e){e.before(h.searchBox);const t=e.prev().prev().find("input");return e.remove(),t}static bindSearchBoxEvent(){d()('.searchbox [type="reset"]').on("click",(function(){d()("input#docsearch").focus(),d()(this).addClass("hide"),u().autocomplete.setVal("")})),d()("input#docsearch").on("keyup",(()=>{const e=document.querySelector("input#docsearch"),t=document.querySelector('.searchbox [type="reset"]');t.className="searchbox__reset",0===e.value.length&&(t.className+=" hide")}))}static getInputFromSelector(e){const t=d()(e).filter("input");return t.length?d()(t[0]):null}getAutocompleteSource(e,t){return(n,i)=>{t&&(n=t(n)||n),this.client.search(n).then((t=>{this.queryDataCallback&&"function"==typeof this.queryDataCallback&&this.queryDataCallback(t),e&&(t=e(t)||t),i(g.formatHits(t))}))}}static formatHits(e){const t=f.deepClone(e).map((e=>(e._highlightResult&&(e._highlightResult=f.mergeKeyWithParent(e._highlightResult,"hierarchy")),f.mergeKeyWithParent(e,"hierarchy"))));let n=f.groupBy(t,"lvl0");return d().each(n,((e,t)=>{const i=f.groupBy(t,"lvl1"),r=f.flattenAndFlagFirst(i,"isSubCategoryHeader");n[e]=r})),n=f.flattenAndFlagFirst(n,"isCategoryHeader"),n.map((e=>{const t=g.formatURL(e),n=f.getHighlightedValue(e,"lvl0"),i=f.getHighlightedValue(e,"lvl1")||n,r=f.compact([f.getHighlightedValue(e,"lvl2")||i,f.getHighlightedValue(e,"lvl3"),f.getHighlightedValue(e,"lvl4"),f.getHighlightedValue(e,"lvl5"),f.getHighlightedValue(e,"lvl6")]).join('<span class="aa-suggestion-title-separator" aria-hidden="true"> \u203a </span>'),s=f.getSnippetedValue(e,"content"),o=i&&""!==i||r&&""!==r,a=!i||""===i||i===n,u=r&&""!==r&&r!==i,c=!u&&i&&""!==i&&i!==n,l=!c&&!u,h=e.version;return{isLvl0:l,isLvl1:c,isLvl2:u,isLvl1EmptyOrDuplicate:a,isCategoryHeader:e.isCategoryHeader,isSubCategoryHeader:e.isSubCategoryHeader,isTextOrSubcategoryNonEmpty:o,category:n,subcategory:i,title:r,text:s,url:t,version:h}}))}static formatURL(e){const{url:t,anchor:n}=e;if(t){return-1!==t.indexOf("#")?t:n?`${e.url}#${e.anchor}`:t}return n?`#${e.anchor}`:(console.warn("no anchor nor url for : ",JSON.stringify(e)),null)}static getEmptyTemplate(){return e=>r().compile(h.empty).render(e)}static getSuggestionTemplate(e){const t=e?h.suggestionSimple:h.suggestion,n=r().compile(t);return e=>n.render(e)}handleSelected(e,t,n,i,r){void 0===r&&(r={}),"click"!==r.selectionMethod&&(e.setVal(""),window.location.assign(n.url))}handleShown(e){const t=e.offset().left+e.width()/2;let n=d()(document).width()/2;isNaN(n)&&(n=900);const i=t-n>=0?"algolia-autocomplete-right":"algolia-autocomplete-left",r=t-n<0?"algolia-autocomplete-right":"algolia-autocomplete-left",s=d()(".algolia-autocomplete");s.hasClass(i)||s.addClass(i),s.hasClass(r)&&s.removeClass(r)}}const m=g},29110:(e,t)=>{!function(e){var t=/\S/,n=/\"/g,i=/\n/g,r=/\r/g,s=/\\/g,o=/\u2028/,a=/\u2029/;function u(e){"}"===e.n.substr(e.n.length-1)&&(e.n=e.n.substring(0,e.n.length-1))}function c(e){return e.trim?e.trim():e.replace(/^\s*|\s*$/g,"")}function l(e,t,n){if(t.charAt(n)!=e.charAt(0))return!1;for(var i=1,r=e.length;i<r;i++)if(t.charAt(n+i)!=e.charAt(i))return!1;return!0}e.tags={"#":1,"^":2,"<":3,$:4,"/":5,"!":6,">":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(n,i){var r=n.length,s=0,o=null,a=null,h="",p=[],d=!1,f=0,g=0,m="{{",y="}}";function v(){h.length>0&&(p.push({tag:"_t",text:new String(h)}),h="")}function x(n,i){if(v(),n&&function(){for(var n=!0,i=g;i<p.length;i++)if(!(n=e.tags[p[i].tag]<e.tags._v||"_t"==p[i].tag&&null===p[i].text.match(t)))return!1;return n}())for(var r,s=g;s<p.length;s++)p[s].text&&((r=p[s+1])&&">"==r.tag&&(r.indent=p[s].text.toString()),p.splice(s,1));else i||p.push({tag:"\n"});d=!1,g=p.length}function b(e,t){var n="="+y,i=e.indexOf(n,t),r=c(e.substring(e.indexOf("=",t)+1,i)).split(" ");return m=r[0],y=r[r.length-1],i+n.length-1}for(i&&(i=i.split(" "),m=i[0],y=i[1]),f=0;f<r;f++)0==s?l(m,n,f)?(--f,v(),s=1):"\n"==n.charAt(f)?x(d):h+=n.charAt(f):1==s?(f+=m.length-1,"="==(o=(a=e.tags[n.charAt(f+1)])?n.charAt(f+1):"_v")?(f=b(n,f),s=0):(a&&f++,s=2),d=f):l(y,n,f)?(p.push({tag:o,n:c(h),otag:m,ctag:y,i:"/"==o?d-m.length:f+y.length}),h="",f+=y.length-1,s=0,"{"==o&&("}}"==y?f++:u(p[p.length-1]))):h+=n.charAt(f);return x(d,!0),p};var h={_t:!0,"\n":!0,$:!0,"/":!0};function p(t,n,i,r){var s,o=[],a=null,u=null;for(s=i[i.length-1];t.length>0;){if(u=t.shift(),s&&"<"==s.tag&&!(u.tag in h))throw new Error("Illegal content in < super tag.");if(e.tags[u.tag]<=e.tags.$||d(u,r))i.push(u),u.nodes=p(t,u.tag,i,r);else{if("/"==u.tag){if(0===i.length)throw new Error("Closing tag without opener: /"+u.n);if(a=i.pop(),u.n!=a.n&&!f(u.n,a.n,r))throw new Error("Nesting error: "+a.n+" vs. "+u.n);return a.end=u.i,o}"\n"==u.tag&&(u.last=0==t.length||"\n"==t[0].tag)}o.push(u)}if(i.length>0)throw new Error("missing closing tag: "+i.pop().n);return o}function d(e,t){for(var n=0,i=t.length;n<i;n++)if(t[n].o==e.n)return e.tag="#",!0}function f(e,t,n){for(var i=0,r=n.length;i<r;i++)if(n[i].c==e&&n[i].o==t)return!0}function g(e){var t=[];for(var n in e.partials)t.push('"'+y(n)+'":{name:"'+y(e.partials[n].name)+'", '+g(e.partials[n])+"}");return"partials: {"+t.join(",")+"}, subs: "+function(e){var t=[];for(var n in e)t.push('"'+y(n)+'": function(c,p,t,i) {'+e[n]+"}");return"{ "+t.join(",")+" }"}(e.subs)}e.stringify=function(t,n,i){return"{code: function (c,p,i) { "+e.wrapMain(t.code)+" },"+g(t)+"}"};var m=0;function y(e){return e.replace(s,"\\\\").replace(n,'\\"').replace(i,"\\n").replace(r,"\\r").replace(o,"\\u2028").replace(a,"\\u2029")}function v(e){return~e.indexOf(".")?"d":"f"}function x(e,t){var n="<"+(t.prefix||"")+e.n+m++;return t.partials[n]={name:e.n,partials:{}},t.code+='t.b(t.rp("'+y(n)+'",c,p,"'+(e.indent||"")+'"));',n}function b(e,t){t.code+="t.b(t.t(t."+v(e.n)+'("'+y(e.n)+'",c,p,0)));'}function w(e){return"t.b("+e+");"}e.generate=function(t,n,i){m=0;var r={code:"",subs:{},partials:{}};return e.walk(t,r),i.asString?this.stringify(r,n,i):this.makeTemplate(r,n,i)},e.wrapMain=function(e){return'var t=this;t.b(i=i||"");'+e+"return t.fl();"},e.template=e.Template,e.makeTemplate=function(e,t,n){var i=this.makePartials(e);return i.code=new Function("c","p","i",this.wrapMain(e.code)),new this.template(i,t,this,n)},e.makePartials=function(e){var t,n={subs:{},partials:e.partials,name:e.name};for(t in n.partials)n.partials[t]=this.makePartials(n.partials[t]);for(t in e.subs)n.subs[t]=new Function("c","p","t","i",e.subs[t]);return n},e.codegen={"#":function(t,n){n.code+="if(t.s(t."+v(t.n)+'("'+y(t.n)+'",c,p,1),c,p,0,'+t.i+","+t.end+',"'+t.otag+" "+t.ctag+'")){t.rs(c,p,function(c,p,t){',e.walk(t.nodes,n),n.code+="});c.pop();}"},"^":function(t,n){n.code+="if(!t.s(t."+v(t.n)+'("'+y(t.n)+'",c,p,1),c,p,1,0,0,"")){',e.walk(t.nodes,n),n.code+="};"},">":x,"<":function(t,n){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(t.nodes,i);var r=n.partials[x(t,n)];r.subs=i.subs,r.partials=i.partials},$:function(t,n){var i={subs:{},code:"",partials:n.partials,prefix:t.n};e.walk(t.nodes,i),n.subs[t.n]=i.code,n.inPartial||(n.code+='t.sub("'+y(t.n)+'",c,p,i);')},"\n":function(e,t){t.code+=w('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+v(e.n)+'("'+y(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=w('"'+y(e.text)+'"')},"{":b,"&":b},e.walk=function(t,n){for(var i,r=0,s=t.length;r<s;r++)(i=e.codegen[t[r].tag])&&i(t[r],n);return n},e.parse=function(e,t,n){return p(e,0,[],(n=n||{}).sectionTags||[])},e.cache={},e.cacheKey=function(e,t){return[e,!!t.asString,!!t.disableLambda,t.delimiters,!!t.modelGet].join("||")},e.compile=function(t,n){n=n||{};var i=e.cacheKey(t,n),r=this.cache[i];if(r){var s=r.partials;for(var o in s)delete s[o].instance;return r}return r=this.generate(this.parse(this.scan(t,n.delimiters),t,n),t,n),this.cache[i]=r}}(t)},34714:(e,t,n)=>{var i=n(29110);i.Template=n(59549).Template,i.template=i.Template,e.exports=i},59549:(e,t)=>{!function(e){function t(e,t,n){var i;return t&&"object"==typeof t&&(void 0!==t[e]?i=t[e]:n&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}e.Template=function(e,t,n,i){e=e||{},this.r=e.code||this.r,this.c=n,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,t,n){return""},v:function(e){return e=u(e),a.test(e)?e.replace(n,"&").replace(i,"<").replace(r,">").replace(s,"'").replace(o,"""):e},t:u,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},ep:function(e,t){var n=this.partials[e],i=t[n.name];if(n.instance&&n.base==i)return n.instance;if("string"==typeof i){if(!this.c)throw new Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,n.subs){for(key in t.stackText||(t.stackText={}),n.subs)t.stackText[key]||(t.stackText[key]=void 0!==this.activeSub&&t.stackText[this.activeSub]?t.stackText[this.activeSub]:this.text);i=function(e,t,n,i,r,s){function o(){}function a(){}var u;o.prototype=e,a.prototype=e.subs;var c=new o;for(u in c.subs=new a,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=s,t)i[u]||(i[u]=t[u]);for(u in i)c.subs[u]=i[u];for(u in r=r||{},c.stackPartials=r,n)r[u]||(r[u]=n[u]);for(u in r)c.partials[u]=r[u];return c}(i,n.subs,n.partials,this.stackSubs,this.stackPartials,t.stackText)}return this.partials[e].instance=i,i},rp:function(e,t,n,i){var r=this.ep(e,n);return r?r.ri(t,n,i):""},rs:function(e,t,n){var i=e[e.length-1];if(c(i))for(var r=0;r<i.length;r++)e.push(i[r]),n(e,t,this),e.pop();else n(e,t,this)},s:function(e,t,n,i,r,s,o){var a;return(!c(e)||0!==e.length)&&("function"==typeof e&&(e=this.ms(e,t,n,i,r,s,o)),a=!!e,!i&&a&&t&&t.push("object"==typeof e?e:t[t.length-1]),a)},d:function(e,n,i,r){var s,o=e.split("."),a=this.f(o[0],n,i,r),u=this.options.modelGet,l=null;if("."===e&&c(n[n.length-2]))a=n[n.length-1];else for(var h=1;h<o.length;h++)void 0!==(s=t(o[h],a,u))?(l=a,a=s):a="";return!(r&&!a)&&(r||"function"!=typeof a||(n.push(l),a=this.mv(a,n,i),n.pop()),a)},f:function(e,n,i,r){for(var s=!1,o=!1,a=this.options.modelGet,u=n.length-1;u>=0;u--)if(void 0!==(s=t(e,n[u],a))){o=!0;break}return o?(r||"function"!=typeof s||(s=this.mv(s,n,i)),s):!r&&""},ls:function(e,t,n,i,r){var s=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(u(e.call(t,i)),t,n)),this.options.delimiters=s,!1},ct:function(e,t,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,n)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,t,n,i,r,s,o){var a,u=t[t.length-1],c=e.call(u);return"function"==typeof c?!!i||(a=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,u,n,a.substring(r,s),o)):c},mv:function(e,t,n){var i=t[t.length-1],r=e.call(i);return"function"==typeof r?this.ct(u(r.call(i)),i,n):r},sub:function(e,t,n,i){var r=this.subs[e];r&&(this.activeSub=e,r(t,n,this,i),this.activeSub=!1)}};var n=/&/g,i=/</g,r=/>/g,s=/\'/g,o=/\"/g,a=/[&<>\"\']/;function u(e){return String(null==e?"":e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)},90874:(e,t,n)=>{"use strict";var i,r,s,o=[n(45741),n(91856),n(41015),n(16486),n(45723),n(26345)],a=-1,u=[],c=!1;function l(){i&&r&&(i=!1,r.length?u=r.concat(u):a=-1,u.length&&h())}function h(){if(!i){c=!1,i=!0;for(var e=u.length,t=setTimeout(l);e;){for(r=u,u=[];r&&++a<e;)r[a].run();a=-1,e=u.length}r=null,a=-1,i=!1,clearTimeout(t)}}for(var p=-1,d=o.length;++p<d;)if(o[p]&&o[p].test&&o[p].test()){s=o[p].install(h);break}function f(e,t){this.fun=e,this.array=t}f.prototype.run=function(){var e=this.fun,t=this.array;switch(t.length){case 0:return e();case 1:return e(t[0]);case 2:return e(t[0],t[1]);case 3:return e(t[0],t[1],t[2]);default:return e.apply(null,t)}},e.exports=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),c||i||(c=!0,s())}},16486:(e,t,n)=>{"use strict";t.test=function(){return!n.g.setImmediate&&void 0!==n.g.MessageChannel},t.install=function(e){var t=new n.g.MessageChannel;return t.port1.onmessage=e,function(){t.port2.postMessage(0)}}},41015:(e,t,n)=>{"use strict";var i=n.g.MutationObserver||n.g.WebKitMutationObserver;t.test=function(){return i},t.install=function(e){var t=0,r=new i(e),s=n.g.document.createTextNode("");return r.observe(s,{characterData:!0}),function(){s.data=t=++t%2}}},91856:(e,t,n)=>{"use strict";t.test=function(){return"function"==typeof n.g.queueMicrotask},t.install=function(e){return function(){n.g.queueMicrotask(e)}}},45723:(e,t,n)=>{"use strict";t.test=function(){return"document"in n.g&&"onreadystatechange"in n.g.document.createElement("script")},t.install=function(e){return function(){var t=n.g.document.createElement("script");return t.onreadystatechange=function(){e(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},n.g.document.documentElement.appendChild(t),e}}},26345:(e,t)=>{"use strict";t.test=function(){return!0},t.install=function(e){return function(){setTimeout(e,0)}}},58291:(e,t,n)=>{var i,r;!function(){var s,o,a,u,c,l,h,p,d,f,g,m,y,v,x,b,w,S,C,E,k,_,T,L,O,A,$,P,I,Q,R=function(e){var t=new R.Builder;return t.pipeline.add(R.trimmer,R.stopWordFilter,R.stemmer),t.searchPipeline.add(R.stemmer),e.call(t,t),t.build()};R.version="2.3.9",R.utils={},R.utils.warn=(s=this,function(e){s.console&&console.warn&&console.warn(e)}),R.utils.asString=function(e){return null==e?"":e.toString()},R.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),i=0;i<n.length;i++){var r=n[i],s=e[r];if(Array.isArray(s))t[r]=s.slice();else{if("string"!=typeof s&&"number"!=typeof s&&"boolean"!=typeof s)throw new TypeError("clone is not deep and does not support nested objects");t[r]=s}}return t},R.FieldRef=function(e,t,n){this.docRef=e,this.fieldName=t,this._stringValue=n},R.FieldRef.joiner="/",R.FieldRef.fromString=function(e){var t=e.indexOf(R.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var n=e.slice(0,t),i=e.slice(t+1);return new R.FieldRef(i,n,e)},R.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+R.FieldRef.joiner+this.docRef),this._stringValue},R.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},R.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},R.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},R.Set.prototype.contains=function(e){return!!this.elements[e]},R.Set.prototype.intersect=function(e){var t,n,i,r=[];if(e===R.Set.complete)return this;if(e===R.Set.empty)return e;this.length<e.length?(t=this,n=e):(t=e,n=this),i=Object.keys(t.elements);for(var s=0;s<i.length;s++){var o=i[s];o in n.elements&&r.push(o)}return new R.Set(r)},R.Set.prototype.union=function(e){return e===R.Set.complete?R.Set.complete:e===R.Set.empty?this:new R.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},R.idf=function(e,t){var n=0;for(var i in e)"_index"!=i&&(n+=Object.keys(e[i]).length);var r=(t-n+.5)/(n+.5);return Math.log(1+Math.abs(r))},R.Token=function(e,t){this.str=e||"",this.metadata=t||{}},R.Token.prototype.toString=function(){return this.str},R.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},R.Token.prototype.clone=function(e){return e=e||function(e){return e},new R.Token(e(this.str,this.metadata),this.metadata)},R.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new R.Token(R.utils.asString(e).toLowerCase(),R.utils.clone(t))}));for(var n=e.toString().toLowerCase(),i=n.length,r=[],s=0,o=0;s<=i;s++){var a=s-o;if(n.charAt(s).match(R.tokenizer.separator)||s==i){if(a>0){var u=R.utils.clone(t)||{};u.position=[o,a],u.index=r.length,r.push(new R.Token(n.slice(o,s),u))}o=s+1}}return r},R.tokenizer.separator=/[\s\-]+/,R.Pipeline=function(){this._stack=[]},R.Pipeline.registeredFunctions=Object.create(null),R.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&R.utils.warn("Overwriting existing registered function: "+t),e.label=t,R.Pipeline.registeredFunctions[e.label]=e},R.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||R.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},R.Pipeline.load=function(e){var t=new R.Pipeline;return e.forEach((function(e){var n=R.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},R.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){R.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},R.Pipeline.prototype.after=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},R.Pipeline.prototype.before=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},R.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},R.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n<t;n++){for(var i=this._stack[n],r=[],s=0;s<e.length;s++){var o=i(e[s],s,e);if(null!=o&&""!==o)if(Array.isArray(o))for(var a=0;a<o.length;a++)r.push(o[a]);else r.push(o)}e=r}return e},R.Pipeline.prototype.runString=function(e,t){var n=new R.Token(e,t);return this.run([n]).map((function(e){return e.toString()}))},R.Pipeline.prototype.reset=function(){this._stack=[]},R.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return R.Pipeline.warnIfFunctionNotRegistered(e),e.label}))},R.Vector=function(e){this._magnitude=0,this.elements=e||[]},R.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,n=this.elements.length/2,i=n-t,r=Math.floor(i/2),s=this.elements[2*r];i>1&&(s<e&&(t=r),s>e&&(n=r),s!=e);)i=n-t,r=t+Math.floor(i/2),s=this.elements[2*r];return s==e||s>e?2*r:s<e?2*(r+1):void 0},R.Vector.prototype.insert=function(e,t){this.upsert(e,t,(function(){throw"duplicate index"}))},R.Vector.prototype.upsert=function(e,t,n){this._magnitude=0;var i=this.positionForIndex(e);this.elements[i]==e?this.elements[i+1]=n(this.elements[i+1],t):this.elements.splice(i,0,e,t)},R.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,n=1;n<t;n+=2){var i=this.elements[n];e+=i*i}return this._magnitude=Math.sqrt(e)},R.Vector.prototype.dot=function(e){for(var t=0,n=this.elements,i=e.elements,r=n.length,s=i.length,o=0,a=0,u=0,c=0;u<r&&c<s;)(o=n[u])<(a=i[c])?u+=2:o>a?c+=2:o==a&&(t+=n[u+1]*i[c+1],u+=2,c+=2);return t},R.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},R.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t<this.elements.length;t+=2,n++)e[n]=this.elements[t];return e},R.Vector.prototype.toJSON=function(){return this.elements},R.stemmer=(o={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},a={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},h="^("+(c="[^aeiou][^aeiouy]*")+")?"+(l=(u="[aeiouy]")+"[aeiou]*")+c+"("+l+")?$",p="^("+c+")?"+l+c+l+c,d="^("+c+")?"+u,f=new RegExp("^("+c+")?"+l+c),g=new RegExp(p),m=new RegExp(h),y=new RegExp(d),v=/^(.+?)(ss|i)es$/,x=/^(.+?)([^s])s$/,b=/^(.+?)eed$/,w=/^(.+?)(ed|ing)$/,S=/.$/,C=/(at|bl|iz)$/,E=new RegExp("([^aeiouylsz])\\1$"),k=new RegExp("^"+c+u+"[^aeiouwxy]$"),_=/^(.+?[^aeiou])y$/,T=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,L=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,O=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,A=/^(.+?)(s|t)(ion)$/,$=/^(.+?)e$/,P=/ll$/,I=new RegExp("^"+c+u+"[^aeiouwxy]$"),Q=function(e){var t,n,i,r,s,u,c;if(e.length<3)return e;if("y"==(i=e.substr(0,1))&&(e=i.toUpperCase()+e.substr(1)),s=x,(r=v).test(e)?e=e.replace(r,"$1$2"):s.test(e)&&(e=e.replace(s,"$1$2")),s=w,(r=b).test(e)){var l=r.exec(e);(r=f).test(l[1])&&(r=S,e=e.replace(r,""))}else s.test(e)&&(t=(l=s.exec(e))[1],(s=y).test(t)&&(u=E,c=k,(s=C).test(e=t)?e+="e":u.test(e)?(r=S,e=e.replace(r,"")):c.test(e)&&(e+="e")));return(r=_).test(e)&&(e=(t=(l=r.exec(e))[1])+"i"),(r=T).test(e)&&(t=(l=r.exec(e))[1],n=l[2],(r=f).test(t)&&(e=t+o[n])),(r=L).test(e)&&(t=(l=r.exec(e))[1],n=l[2],(r=f).test(t)&&(e=t+a[n])),s=A,(r=O).test(e)?(t=(l=r.exec(e))[1],(r=g).test(t)&&(e=t)):s.test(e)&&(t=(l=s.exec(e))[1]+l[2],(s=g).test(t)&&(e=t)),(r=$).test(e)&&(t=(l=r.exec(e))[1],s=m,u=I,((r=g).test(t)||s.test(t)&&!u.test(t))&&(e=t)),s=g,(r=P).test(e)&&s.test(e)&&(r=S,e=e.replace(r,"")),"y"==i&&(e=i.toLowerCase()+e.substr(1)),e},function(e){return e.update(Q)}),R.Pipeline.registerFunction(R.stemmer,"stemmer"),R.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},R.stopWordFilter=R.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),R.Pipeline.registerFunction(R.stopWordFilter,"stopWordFilter"),R.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},R.Pipeline.registerFunction(R.trimmer,"trimmer"),R.TokenSet=function(){this.final=!1,this.edges={},this.id=R.TokenSet._nextId,R.TokenSet._nextId+=1},R.TokenSet._nextId=1,R.TokenSet.fromArray=function(e){for(var t=new R.TokenSet.Builder,n=0,i=e.length;n<i;n++)t.insert(e[n]);return t.finish(),t.root},R.TokenSet.fromClause=function(e){return"editDistance"in e?R.TokenSet.fromFuzzyString(e.term,e.editDistance):R.TokenSet.fromString(e.term)},R.TokenSet.fromFuzzyString=function(e,t){for(var n=new R.TokenSet,i=[{node:n,editsRemaining:t,str:e}];i.length;){var r=i.pop();if(r.str.length>0){var s,o=r.str.charAt(0);o in r.node.edges?s=r.node.edges[o]:(s=new R.TokenSet,r.node.edges[o]=s),1==r.str.length&&(s.final=!0),i.push({node:s,editsRemaining:r.editsRemaining,str:r.str.slice(1)})}if(0!=r.editsRemaining){if("*"in r.node.edges)var a=r.node.edges["*"];else{a=new R.TokenSet;r.node.edges["*"]=a}if(0==r.str.length&&(a.final=!0),i.push({node:a,editsRemaining:r.editsRemaining-1,str:r.str}),r.str.length>1&&i.push({node:r.node,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)}),1==r.str.length&&(r.node.final=!0),r.str.length>=1){if("*"in r.node.edges)var u=r.node.edges["*"];else{u=new R.TokenSet;r.node.edges["*"]=u}1==r.str.length&&(u.final=!0),i.push({node:u,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)})}if(r.str.length>1){var c,l=r.str.charAt(0),h=r.str.charAt(1);h in r.node.edges?c=r.node.edges[h]:(c=new R.TokenSet,r.node.edges[h]=c),1==r.str.length&&(c.final=!0),i.push({node:c,editsRemaining:r.editsRemaining-1,str:l+r.str.slice(2)})}}}return n},R.TokenSet.fromString=function(e){for(var t=new R.TokenSet,n=t,i=0,r=e.length;i<r;i++){var s=e[i],o=i==r-1;if("*"==s)t.edges[s]=t,t.final=o;else{var a=new R.TokenSet;a.final=o,t.edges[s]=a,t=a}}return n},R.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var n=t.pop(),i=Object.keys(n.node.edges),r=i.length;n.node.final&&(n.prefix.charAt(0),e.push(n.prefix));for(var s=0;s<r;s++){var o=i[s];t.push({prefix:n.prefix.concat(o),node:n.node.edges[o]})}}return e},R.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),n=t.length,i=0;i<n;i++){var r=t[i];e=e+r+this.edges[r].id}return e},R.TokenSet.prototype.intersect=function(e){for(var t=new R.TokenSet,n=void 0,i=[{qNode:e,output:t,node:this}];i.length;){n=i.pop();for(var r=Object.keys(n.qNode.edges),s=r.length,o=Object.keys(n.node.edges),a=o.length,u=0;u<s;u++)for(var c=r[u],l=0;l<a;l++){var h=o[l];if(h==c||"*"==c){var p=n.node.edges[h],d=n.qNode.edges[c],f=p.final&&d.final,g=void 0;h in n.output.edges?(g=n.output.edges[h]).final=g.final||f:((g=new R.TokenSet).final=f,n.output.edges[h]=g),i.push({qNode:d,output:g,node:p})}}}return t},R.TokenSet.Builder=function(){this.previousWord="",this.root=new R.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},R.TokenSet.Builder.prototype.insert=function(e){var t,n=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var i=0;i<e.length&&i<this.previousWord.length&&e[i]==this.previousWord[i];i++)n++;this.minimize(n),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(i=n;i<e.length;i++){var r=new R.TokenSet,s=e[i];t.edges[s]=r,this.uncheckedNodes.push({parent:t,char:s,child:r}),t=r}t.final=!0,this.previousWord=e},R.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},R.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var n=this.uncheckedNodes[t],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}},R.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},R.Index.prototype.search=function(e){return this.query((function(t){new R.QueryParser(e,t).parse()}))},R.Index.prototype.query=function(e){for(var t=new R.Query(this.fields),n=Object.create(null),i=Object.create(null),r=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a<this.fields.length;a++)i[this.fields[a]]=new R.Vector;e.call(t,t);for(a=0;a<t.clauses.length;a++){var u=t.clauses[a],c=null,l=R.Set.empty;c=u.usePipeline?this.pipeline.runString(u.term,{fields:u.fields}):[u.term];for(var h=0;h<c.length;h++){var p=c[h];u.term=p;var d=R.TokenSet.fromClause(u),f=this.tokenSet.intersect(d).toArray();if(0===f.length&&u.presence===R.Query.presence.REQUIRED){for(var g=0;g<u.fields.length;g++){s[$=u.fields[g]]=R.Set.empty}break}for(var m=0;m<f.length;m++){var y=f[m],v=this.invertedIndex[y],x=v._index;for(g=0;g<u.fields.length;g++){var b=v[$=u.fields[g]],w=Object.keys(b),S=y+"/"+$,C=new R.Set(w);if(u.presence==R.Query.presence.REQUIRED&&(l=l.union(C),void 0===s[$]&&(s[$]=R.Set.complete)),u.presence!=R.Query.presence.PROHIBITED){if(i[$].upsert(x,u.boost,(function(e,t){return e+t})),!r[S]){for(var E=0;E<w.length;E++){var k,_=w[E],T=new R.FieldRef(_,$),L=b[_];void 0===(k=n[T])?n[T]=new R.MatchData(y,$,L):k.add(y,$,L)}r[S]=!0}}else void 0===o[$]&&(o[$]=R.Set.empty),o[$]=o[$].union(C)}}}if(u.presence===R.Query.presence.REQUIRED)for(g=0;g<u.fields.length;g++){s[$=u.fields[g]]=s[$].intersect(l)}}var O=R.Set.complete,A=R.Set.empty;for(a=0;a<this.fields.length;a++){var $;s[$=this.fields[a]]&&(O=O.intersect(s[$])),o[$]&&(A=A.union(o[$]))}var P=Object.keys(n),I=[],Q=Object.create(null);if(t.isNegated()){P=Object.keys(this.fieldVectors);for(a=0;a<P.length;a++){T=P[a];var N=R.FieldRef.fromString(T);n[T]=new R.MatchData}}for(a=0;a<P.length;a++){var D=(N=R.FieldRef.fromString(P[a])).docRef;if(O.contains(D)&&!A.contains(D)){var F,j=this.fieldVectors[N],H=i[N.fieldName].similarity(j);if(void 0!==(F=Q[D]))F.score+=H,F.matchData.combine(n[N]);else{var V={ref:D,score:H,matchData:n[N]};Q[D]=V,I.push(V)}}}return I.sort((function(e,t){return t.score-e.score}))},R.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:R.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},R.Index.load=function(e){var t={},n={},i=e.fieldVectors,r=Object.create(null),s=e.invertedIndex,o=new R.TokenSet.Builder,a=R.Pipeline.load(e.pipeline);e.version!=R.version&&R.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+R.version+"' does not match serialized index '"+e.version+"'");for(var u=0;u<i.length;u++){var c=(h=i[u])[0],l=h[1];n[c]=new R.Vector(l)}for(u=0;u<s.length;u++){var h,p=(h=s[u])[0],d=h[1];o.insert(p),r[p]=d}return o.finish(),t.fields=e.fields,t.fieldVectors=n,t.invertedIndex=r,t.tokenSet=o.root,t.pipeline=a,new R.Index(t)},R.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=R.tokenizer,this.pipeline=new R.Pipeline,this.searchPipeline=new R.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},R.Builder.prototype.ref=function(e){this._ref=e},R.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},R.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},R.Builder.prototype.k1=function(e){this._k1=e},R.Builder.prototype.add=function(e,t){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var r=0;r<i.length;r++){var s=i[r],o=this._fields[s].extractor,a=o?o(e):e[s],u=this.tokenizer(a,{fields:[s]}),c=this.pipeline.run(u),l=new R.FieldRef(n,s),h=Object.create(null);this.fieldTermFrequencies[l]=h,this.fieldLengths[l]=0,this.fieldLengths[l]+=c.length;for(var p=0;p<c.length;p++){var d=c[p];if(null==h[d]&&(h[d]=0),h[d]+=1,null==this.invertedIndex[d]){var f=Object.create(null);f._index=this.termIndex,this.termIndex+=1;for(var g=0;g<i.length;g++)f[i[g]]=Object.create(null);this.invertedIndex[d]=f}null==this.invertedIndex[d][s][n]&&(this.invertedIndex[d][s][n]=Object.create(null));for(var m=0;m<this.metadataWhitelist.length;m++){var y=this.metadataWhitelist[m],v=d.metadata[y];null==this.invertedIndex[d][s][n][y]&&(this.invertedIndex[d][s][n][y]=[]),this.invertedIndex[d][s][n][y].push(v)}}}},R.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,n={},i={},r=0;r<t;r++){var s=R.FieldRef.fromString(e[r]),o=s.fieldName;i[o]||(i[o]=0),i[o]+=1,n[o]||(n[o]=0),n[o]+=this.fieldLengths[s]}var a=Object.keys(this._fields);for(r=0;r<a.length;r++){var u=a[r];n[u]=n[u]/i[u]}this.averageFieldLength=n},R.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),n=t.length,i=Object.create(null),r=0;r<n;r++){for(var s=R.FieldRef.fromString(t[r]),o=s.fieldName,a=this.fieldLengths[s],u=new R.Vector,c=this.fieldTermFrequencies[s],l=Object.keys(c),h=l.length,p=this._fields[o].boost||1,d=this._documents[s.docRef].boost||1,f=0;f<h;f++){var g,m,y,v=l[f],x=c[v],b=this.invertedIndex[v]._index;void 0===i[v]?(g=R.idf(this.invertedIndex[v],this.documentCount),i[v]=g):g=i[v],m=g*((this._k1+1)*x)/(this._k1*(1-this._b+this._b*(a/this.averageFieldLength[o]))+x),m*=p,m*=d,y=Math.round(1e3*m)/1e3,u.insert(b,y)}e[s]=u}this.fieldVectors=e},R.Builder.prototype.createTokenSet=function(){this.tokenSet=R.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},R.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new R.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},R.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},R.MatchData=function(e,t,n){for(var i=Object.create(null),r=Object.keys(n||{}),s=0;s<r.length;s++){var o=r[s];i[o]=n[o].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=i)},R.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),n=0;n<t.length;n++){var i=t[n],r=Object.keys(e.metadata[i]);null==this.metadata[i]&&(this.metadata[i]=Object.create(null));for(var s=0;s<r.length;s++){var o=r[s],a=Object.keys(e.metadata[i][o]);null==this.metadata[i][o]&&(this.metadata[i][o]=Object.create(null));for(var u=0;u<a.length;u++){var c=a[u];null==this.metadata[i][o][c]?this.metadata[i][o][c]=e.metadata[i][o][c]:this.metadata[i][o][c]=this.metadata[i][o][c].concat(e.metadata[i][o][c])}}}},R.MatchData.prototype.add=function(e,t,n){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=n);if(t in this.metadata[e])for(var i=Object.keys(n),r=0;r<i.length;r++){var s=i[r];s in this.metadata[e][t]?this.metadata[e][t][s]=this.metadata[e][t][s].concat(n[s]):this.metadata[e][t][s]=n[s]}else this.metadata[e][t]=n},R.Query=function(e){this.clauses=[],this.allFields=e},R.Query.wildcard=new String("*"),R.Query.wildcard.NONE=0,R.Query.wildcard.LEADING=1,R.Query.wildcard.TRAILING=2,R.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},R.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=R.Query.wildcard.NONE),e.wildcard&R.Query.wildcard.LEADING&&e.term.charAt(0)!=R.Query.wildcard&&(e.term="*"+e.term),e.wildcard&R.Query.wildcard.TRAILING&&e.term.slice(-1)!=R.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=R.Query.presence.OPTIONAL),this.clauses.push(e),this},R.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=R.Query.presence.PROHIBITED)return!1;return!0},R.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach((function(e){this.term(e,R.utils.clone(t))}),this),this;var n=t||{};return n.term=e.toString(),this.clause(n),this},R.QueryParseError=function(e,t,n){this.name="QueryParseError",this.message=e,this.start=t,this.end=n},R.QueryParseError.prototype=new Error,R.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},R.QueryLexer.prototype.run=function(){for(var e=R.QueryLexer.lexText;e;)e=e(this)},R.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,n=this.pos,i=0;i<this.escapeCharPositions.length;i++)n=this.escapeCharPositions[i],e.push(this.str.slice(t,n)),t=n+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},R.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},R.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},R.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return R.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},R.QueryLexer.prototype.width=function(){return this.pos-this.start},R.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},R.QueryLexer.prototype.backup=function(){this.pos-=1},R.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=R.QueryLexer.EOS&&this.backup()},R.QueryLexer.prototype.more=function(){return this.pos<this.length},R.QueryLexer.EOS="EOS",R.QueryLexer.FIELD="FIELD",R.QueryLexer.TERM="TERM",R.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",R.QueryLexer.BOOST="BOOST",R.QueryLexer.PRESENCE="PRESENCE",R.QueryLexer.lexField=function(e){return e.backup(),e.emit(R.QueryLexer.FIELD),e.ignore(),R.QueryLexer.lexText},R.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(R.QueryLexer.TERM)),e.ignore(),e.more())return R.QueryLexer.lexText},R.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(R.QueryLexer.EDIT_DISTANCE),R.QueryLexer.lexText},R.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(R.QueryLexer.BOOST),R.QueryLexer.lexText},R.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(R.QueryLexer.TERM)},R.QueryLexer.termSeparator=R.tokenizer.separator,R.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==R.QueryLexer.EOS)return R.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return R.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(R.QueryLexer.TERM),R.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(R.QueryLexer.TERM),R.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(R.QueryLexer.PRESENCE),R.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(R.QueryLexer.PRESENCE),R.QueryLexer.lexText;if(t.match(R.QueryLexer.termSeparator))return R.QueryLexer.lexTerm}else e.escapeCharacter()}},R.QueryParser=function(e,t){this.lexer=new R.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},R.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=R.QueryParser.parseClause;e;)e=e(this);return this.query},R.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},R.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},R.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},R.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case R.QueryLexer.PRESENCE:return R.QueryParser.parsePresence;case R.QueryLexer.FIELD:return R.QueryParser.parseField;case R.QueryLexer.TERM:return R.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new R.QueryParseError(n,t.start,t.end)}},R.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=R.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=R.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new R.QueryParseError(n,t.start,t.end)}var i=e.peekLexeme();if(null==i){n="expecting term or field, found nothing";throw new R.QueryParseError(n,t.start,t.end)}switch(i.type){case R.QueryLexer.FIELD:return R.QueryParser.parseField;case R.QueryLexer.TERM:return R.QueryParser.parseTerm;default:n="expecting term or field, found '"+i.type+"'";throw new R.QueryParseError(n,i.start,i.end)}}},R.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),i="unrecognised field '"+t.str+"', possible fields: "+n;throw new R.QueryParseError(i,t.start,t.end)}e.currentClause.fields=[t.str];var r=e.peekLexeme();if(null==r){i="expecting term, found nothing";throw new R.QueryParseError(i,t.start,t.end)}if(r.type===R.QueryLexer.TERM)return R.QueryParser.parseTerm;i="expecting term, found '"+r.type+"'";throw new R.QueryParseError(i,r.start,r.end)}},R.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case R.QueryLexer.TERM:return e.nextClause(),R.QueryParser.parseTerm;case R.QueryLexer.FIELD:return e.nextClause(),R.QueryParser.parseField;case R.QueryLexer.EDIT_DISTANCE:return R.QueryParser.parseEditDistance;case R.QueryLexer.BOOST:return R.QueryParser.parseBoost;case R.QueryLexer.PRESENCE:return e.nextClause(),R.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new R.QueryParseError(i,n.start,n.end)}else e.nextClause()}},R.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new R.QueryParseError(i,t.start,t.end)}e.currentClause.editDistance=n;var r=e.peekLexeme();if(null!=r)switch(r.type){case R.QueryLexer.TERM:return e.nextClause(),R.QueryParser.parseTerm;case R.QueryLexer.FIELD:return e.nextClause(),R.QueryParser.parseField;case R.QueryLexer.EDIT_DISTANCE:return R.QueryParser.parseEditDistance;case R.QueryLexer.BOOST:return R.QueryParser.parseBoost;case R.QueryLexer.PRESENCE:return e.nextClause(),R.QueryParser.parsePresence;default:i="Unexpected lexeme type '"+r.type+"'";throw new R.QueryParseError(i,r.start,r.end)}else e.nextClause()}},R.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="boost must be numeric";throw new R.QueryParseError(i,t.start,t.end)}e.currentClause.boost=n;var r=e.peekLexeme();if(null!=r)switch(r.type){case R.QueryLexer.TERM:return e.nextClause(),R.QueryParser.parseTerm;case R.QueryLexer.FIELD:return e.nextClause(),R.QueryParser.parseField;case R.QueryLexer.EDIT_DISTANCE:return R.QueryParser.parseEditDistance;case R.QueryLexer.BOOST:return R.QueryParser.parseBoost;case R.QueryLexer.PRESENCE:return e.nextClause(),R.QueryParser.parsePresence;default:i="Unexpected lexeme type '"+r.type+"'";throw new R.QueryParseError(i,r.start,r.end)}else e.nextClause()}},void 0===(r="function"==typeof(i=function(){return R})?i.call(t,n,t,e):i)||(e.exports=r)}()}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8591.1010223b.js.LICENSE.txt b/pr-preview/pr-4/assets/js/8591.1010223b.js.LICENSE.txt new file mode 100644 index 0000000..1cf473c --- /dev/null +++ b/pr-preview/pr-4/assets/js/8591.1010223b.js.LICENSE.txt @@ -0,0 +1,61 @@ +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ + +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ diff --git a/pr-preview/pr-4/assets/js/8731.29dc2c48.js b/pr-preview/pr-4/assets/js/8731.29dc2c48.js new file mode 100644 index 0000000..0576886 --- /dev/null +++ b/pr-preview/pr-4/assets/js/8731.29dc2c48.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8731],{59850:(e,t,n)=>{t.Qi=t.XO=void 0;const r=n(69590),i=n(78585),s=n(62676);var o;!function(e){e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:s.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:s.Event.None}),e.is=function(t){const n=t;return n&&(n===e.None||n===e.Cancelled||i.boolean(n.isCancellationRequested)&&!!n.onCancellationRequested)}}(o||(t.XO=o={}));const a=Object.freeze((function(e,t){const n=(0,r.default)().timer.setTimeout(e.bind(t),0);return{dispose(){n.dispose()}}}));class c{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||(this._emitter=new s.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}t.Qi=class{get token(){return this._token||(this._token=new c),this._token}cancel(){this._token?this._token.cancel():this._token=o.Cancelled}dispose(){this._token?this._token instanceof c&&this._token.dispose():this._token=o.None}}},62676:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;const r=n(69590);var i;!function(e){const t={dispose(){}};e.None=function(){return t}}(i||(t.Event=i={}));class s{add(e,t=null,n){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(n)&&n.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let n=!1;for(let r=0,i=this._callbacks.length;r<i;r++)if(this._callbacks[r]===e){if(this._contexts[r]===t)return this._callbacks.splice(r,1),void this._contexts.splice(r,1);n=!0}if(n)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...e){if(!this._callbacks)return[];const t=[],n=this._callbacks.slice(0),i=this._contexts.slice(0);for(let o=0,a=n.length;o<a;o++)try{t.push(n[o].apply(i[o],e))}catch(s){(0,r.default)().console.error(s)}return t}isEmpty(){return!this._callbacks||0===this._callbacks.length}dispose(){this._callbacks=void 0,this._contexts=void 0}}class o{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,t,n)=>{this._callbacks||(this._callbacks=new s),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);const r={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),r.dispose=o._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(n)&&n.push(r),r}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}t.Emitter=o,o._noop=function(){}},78585:(e,t)=>{function n(e){return"string"==typeof e||e instanceof String}function r(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0,t.boolean=function(e){return!0===e||!1===e},t.string=n,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=function(e){return"function"==typeof e},t.array=r,t.stringArray=function(e){return r(e)&&e.every((e=>n(e)))}},69590:(e,t)=>{let n;function r(){if(void 0===n)throw new Error("No runtime abstraction layer installed");return n}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.install=function(e){if(void 0===e)throw new Error("No runtime abstraction layer provided");n=e}}(r||(r={})),t.default=r},97021:(e,t,n)=>{n.d(t,{v:()=>a});var r=n(19369),i=n(33394),s=class extends r.mR{static{(0,r.K2)(this,"InfoTokenBuilder")}constructor(){super(["info","showInfo"])}},o={parser:{TokenBuilder:(0,r.K2)((()=>new s),"TokenBuilder"),ValueConverter:(0,r.K2)((()=>new r.Tm),"ValueConverter")}};function a(e=i.DD){const t=(0,i.WQ)((0,i.uM)(e),r.sr),n=(0,i.WQ)((0,i.tG)({shared:t}),r.e5,o);return t.ServiceRegistry.register(n),{shared:t,Info:n}}(0,r.K2)(a,"createInfoServices")},88685:(e,t,n)=>{n.d(t,{f:()=>c});var r=n(19369),i=n(33394),s=class extends r.mR{static{(0,r.K2)(this,"PieTokenBuilder")}constructor(){super(["pie","showData"])}},o=class extends r.dg{static{(0,r.K2)(this,"PieValueConverter")}runCustomConverter(e,t,n){if("PIE_SECTION_LABEL"===e.name)return t.replace(/"/g,"").trim()}},a={parser:{TokenBuilder:(0,r.K2)((()=>new s),"TokenBuilder"),ValueConverter:(0,r.K2)((()=>new o),"ValueConverter")}};function c(e=i.DD){const t=(0,i.WQ)((0,i.uM)(e),r.sr),n=(0,i.WQ)((0,i.tG)({shared:t}),r.KX,a);return t.ServiceRegistry.register(n),{shared:t,Pie:n}}(0,r.K2)(c,"createPieServices")},71609:(e,t,n)=>{n.d(t,{$:()=>a});var r=n(19369),i=n(33394),s=class extends r.mR{static{(0,r.K2)(this,"PacketTokenBuilder")}constructor(){super(["packet-beta"])}},o={parser:{TokenBuilder:(0,r.K2)((()=>new s),"TokenBuilder"),ValueConverter:(0,r.K2)((()=>new r.Tm),"ValueConverter")}};function a(e=i.DD){const t=(0,i.WQ)((0,i.uM)(e),r.sr),n=(0,i.WQ)((0,i.tG)({shared:t}),r.AM,o);return t.ServiceRegistry.register(n),{shared:t,Packet:n}}(0,r.K2)(a,"createPacketServices")},49936:(e,t,n)=>{n.d(t,{S:()=>c});var r=n(19369),i=n(33394),s=class extends r.mR{static{(0,r.K2)(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},o=class extends r.dg{static{(0,r.K2)(this,"ArchitectureValueConverter")}runCustomConverter(e,t,n){return"ARCH_ICON"===e.name?t.replace(/[()]/g,"").trim():"ARCH_TEXT_ICON"===e.name?t.replace(/["()]/g,""):"ARCH_TITLE"===e.name?t.replace(/[[\]]/g,"").trim():void 0}},a={parser:{TokenBuilder:(0,r.K2)((()=>new s),"TokenBuilder"),ValueConverter:(0,r.K2)((()=>new o),"ValueConverter")}};function c(e=i.DD){const t=(0,i.WQ)((0,i.uM)(e),r.sr),n=(0,i.WQ)((0,i.tG)({shared:t}),r.jE,a);return t.ServiceRegistry.register(n),{shared:t,Architecture:n}}(0,r.K2)(c,"createArchitectureServices")},82785:(e,t,n)=>{n.d(t,{b:()=>a});var r=n(19369),i=n(33394),s=class extends r.mR{static{(0,r.K2)(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},o={parser:{TokenBuilder:(0,r.K2)((()=>new s),"TokenBuilder"),ValueConverter:(0,r.K2)((()=>new r.Tm),"ValueConverter")}};function a(e=i.DD){const t=(0,i.WQ)((0,i.uM)(e),r.sr),n=(0,i.WQ)((0,i.tG)({shared:t}),r.eZ,o);return t.ServiceRegistry.register(n),{shared:t,GitGraph:n}}(0,r.K2)(a,"createGitGraphServices")},19369:(e,t,n)=>{n.d(t,{AM:()=>$,K2:()=>s,KX:()=>w,Tm:()=>P,dg:()=>_,e5:()=>C,eZ:()=>O,jE:()=>L,mR:()=>M,sr:()=>N});var r=n(33394),i=Object.defineProperty,s=(e,t)=>i(e,"name",{value:t,configurable:!0});s((function(e){return g.isInstance(e,"Architecture")}),"isArchitecture");var o="Branch";s((function(e){return g.isInstance(e,o)}),"isBranch");var a="Commit";s((function(e){return g.isInstance(e,a)}),"isCommit");s((function(e){return g.isInstance(e,"Common")}),"isCommon");var c="GitGraph";s((function(e){return g.isInstance(e,c)}),"isGitGraph");s((function(e){return g.isInstance(e,"Info")}),"isInfo");var l="Merge";s((function(e){return g.isInstance(e,l)}),"isMerge");s((function(e){return g.isInstance(e,"Packet")}),"isPacket");s((function(e){return g.isInstance(e,"PacketBlock")}),"isPacketBlock");s((function(e){return g.isInstance(e,"Pie")}),"isPie");s((function(e){return g.isInstance(e,"PieSection")}),"isPieSection");var u,d,h,f,p,m=class extends r.kD{static{s(this,"MermaidAstReflection")}getAllTypes(){return["Architecture","Branch","Checkout","CherryPicking","Commit","Common","Direction","Edge","GitGraph","Group","Info","Junction","Merge","Packet","PacketBlock","Pie","PieSection","Service","Statement"]}computeIsSubtype(e,t){switch(e){case o:case"Checkout":case"CherryPicking":case a:case l:return this.isSubtype("Statement",t);case"Direction":return this.isSubtype(c,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;throw new Error(`${t} is not a valid reference id.`)}getTypeMetaData(e){switch(e){case"Architecture":return{name:"Architecture",properties:[{name:"accDescr"},{name:"accTitle"},{name:"edges",defaultValue:[]},{name:"groups",defaultValue:[]},{name:"junctions",defaultValue:[]},{name:"services",defaultValue:[]},{name:"title"}]};case"Branch":return{name:"Branch",properties:[{name:"name"},{name:"order"}]};case"Checkout":return{name:"Checkout",properties:[{name:"branch"}]};case"CherryPicking":return{name:"CherryPicking",properties:[{name:"id"},{name:"parent"},{name:"tags",defaultValue:[]}]};case"Commit":return{name:"Commit",properties:[{name:"id"},{name:"message"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Common":return{name:"Common",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Edge":return{name:"Edge",properties:[{name:"lhsDir"},{name:"lhsGroup",defaultValue:!1},{name:"lhsId"},{name:"lhsInto",defaultValue:!1},{name:"rhsDir"},{name:"rhsGroup",defaultValue:!1},{name:"rhsId"},{name:"rhsInto",defaultValue:!1},{name:"title"}]};case"GitGraph":return{name:"GitGraph",properties:[{name:"accDescr"},{name:"accTitle"},{name:"statements",defaultValue:[]},{name:"title"}]};case"Group":return{name:"Group",properties:[{name:"icon"},{name:"id"},{name:"in"},{name:"title"}]};case"Info":return{name:"Info",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Junction":return{name:"Junction",properties:[{name:"id"},{name:"in"}]};case"Merge":return{name:"Merge",properties:[{name:"branch"},{name:"id"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Packet":return{name:"Packet",properties:[{name:"accDescr"},{name:"accTitle"},{name:"blocks",defaultValue:[]},{name:"title"}]};case"PacketBlock":return{name:"PacketBlock",properties:[{name:"end"},{name:"label"},{name:"start"}]};case"Pie":return{name:"Pie",properties:[{name:"accDescr"},{name:"accTitle"},{name:"sections",defaultValue:[]},{name:"showData",defaultValue:!1},{name:"title"}]};case"PieSection":return{name:"PieSection",properties:[{name:"label"},{name:"value"}]};case"Service":return{name:"Service",properties:[{name:"icon"},{name:"iconText"},{name:"id"},{name:"in"},{name:"title"}]};case"Direction":return{name:"Direction",properties:[{name:"accDescr"},{name:"accTitle"},{name:"dir"},{name:"statements",defaultValue:[]},{name:"title"}]};default:return{name:e,properties:[]}}}},g=new m,y=s((()=>u??(u=(0,r.y0)('{"$type":"Grammar","isDeclared":true,"name":"Info","imports":[],"rules":[{"$type":"ParserRule","name":"Info","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"info"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"showInfo"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}'))),"InfoGrammar"),A=s((()=>d??(d=(0,r.y0)('{"$type":"Grammar","isDeclared":true,"name":"Packet","imports":[],"rules":[{"$type":"ParserRule","name":"Packet","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"packet-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PacketBlock","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"start","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"end","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"?"},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|\'[^\']*\'/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}'))),"PacketGrammar"),T=s((()=>h??(h=(0,r.y0)('{"$type":"Grammar","isDeclared":true,"name":"Pie","imports":[],"rules":[{"$type":"ParserRule","name":"Pie","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"pie"},{"$type":"Assignment","feature":"showData","operator":"?=","terminal":{"$type":"Keyword","value":"showData"},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PieSection","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"PIE_SECTION_LABEL","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]+\\"/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"PIE_SECTION_VALUE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/(0|[1-9][0-9]*)(\\\\.[0-9]+)?/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}'))),"PieGrammar"),v=s((()=>f??(f=(0,r.y0)('{"$type":"Grammar","isDeclared":true,"name":"Architecture","imports":[],"rules":[{"$type":"ParserRule","name":"Architecture","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"architecture-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"*"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","fragment":true,"definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"groups","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"services","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"junctions","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"edges","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"LeftPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"lhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"RightPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"rhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Keyword","value":":"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Arrow","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Assignment","feature":"lhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"--"},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Keyword","value":"-"}]}]},{"$type":"Assignment","feature":"rhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Group","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"group"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Service","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"service"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"iconText","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}}],"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Junction","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"junction"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Edge","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"lhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"lhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"rhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"rhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"ARROW_DIRECTION","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"L"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"R"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"T"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"B"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ID","definition":{"$type":"RegexToken","regex":"/[\\\\w]+/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TEXT_ICON","definition":{"$type":"RegexToken","regex":"/\\\\(\\"[^\\"]+\\"\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ICON","definition":{"$type":"RegexToken","regex":"/\\\\([\\\\w-:]+\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TITLE","definition":{"$type":"RegexToken","regex":"/\\\\[[\\\\w ]+\\\\]/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_GROUP","definition":{"$type":"RegexToken","regex":"/\\\\{group\\\\}/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_INTO","definition":{"$type":"RegexToken","regex":"/<|>/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}'))),"ArchitectureGrammar"),R=s((()=>p??(p=(0,r.y0)('{"$type":"Grammar","isDeclared":true,"name":"GitGraph","interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"rules":[{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false},{"$type":"ParserRule","name":"GitGraph","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Keyword","value":":"}]},{"$type":"Keyword","value":"gitGraph:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},{"$type":"Keyword","value":":"}]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]},{"$type":"Assignment","feature":"statements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Direction","definition":{"$type":"Assignment","feature":"dir","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"LR"},{"$type":"Keyword","value":"TB"},{"$type":"Keyword","value":"BT"}]}},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Commit","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"commit"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"msg:","cardinality":"?"},{"$type":"Assignment","feature":"message","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Branch","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"branch"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"order:"},{"$type":"Assignment","feature":"order","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Merge","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"merge"},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Checkout","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"checkout"},{"$type":"Keyword","value":"switch"}]},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"CherryPicking","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"cherry-pick"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"parent:"},{"$type":"Assignment","feature":"parent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+(?=\\\\s)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\\\w([-\\\\./\\\\w]*[-\\\\w])?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|\'[^\']*\'/"},"fragment":false,"hidden":false}],"definesHiddenTokens":false,"hiddenTokens":[],"imports":[],"types":[],"usedGrammars":[]}'))),"GitGraphGrammar"),E={languageId:"info",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},k={languageId:"packet",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},x={languageId:"pie",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},I={languageId:"architecture",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},S={languageId:"gitGraph",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},N={AstReflection:s((()=>new m),"AstReflection")},C={Grammar:s((()=>y()),"Grammar"),LanguageMetaData:s((()=>E),"LanguageMetaData"),parser:{}},$={Grammar:s((()=>A()),"Grammar"),LanguageMetaData:s((()=>k),"LanguageMetaData"),parser:{}},w={Grammar:s((()=>T()),"Grammar"),LanguageMetaData:s((()=>x),"LanguageMetaData"),parser:{}},L={Grammar:s((()=>v()),"Grammar"),LanguageMetaData:s((()=>I),"LanguageMetaData"),parser:{}},O={Grammar:s((()=>R()),"Grammar"),LanguageMetaData:s((()=>S),"LanguageMetaData"),parser:{}},b={ACC_DESCR:/accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/accTitle[\t ]*:([^\n\r]*)/,TITLE:/title([\t ][^\n\r]*|)/},_=class extends r.dM{static{s(this,"AbstractMermaidValueConverter")}runConverter(e,t,n){let r=this.runCommonConverter(e,t,n);return void 0===r&&(r=this.runCustomConverter(e,t,n)),void 0===r?super.runConverter(e,t,n):r}runCommonConverter(e,t,n){const r=b[e.name];if(void 0===r)return;const i=r.exec(t);return null!==i?void 0!==i[1]?i[1].trim().replace(/[\t ]{2,}/gm," "):void 0!==i[2]?i[2].replace(/^\s*/gm,"").replace(/\s+$/gm,"").replace(/[\t ]{2,}/gm," ").replace(/[\n\r]{2,}/gm,"\n"):void 0:void 0}},P=class extends _{static{s(this,"CommonValueConverter")}runCustomConverter(e,t,n){}},M=class extends r.QU{static{s(this,"AbstractMermaidTokenBuilder")}constructor(e){super(),this.keywords=new Set(e)}buildKeywordTokens(e,t,n){const r=super.buildKeywordTokens(e,t,n);return r.forEach((e=>{this.keywords.has(e.name)&&void 0!==e.PATTERN&&(e.PATTERN=new RegExp(e.PATTERN.toString()+"(?:(?=%%)|(?!\\S))"))})),r}};(class extends M{static{s(this,"CommonTokenBuilder")}})},78731:(e,t,n)=>{n.d(t,{qg:()=>o});n(82785),n(97021),n(71609),n(88685),n(49936);var r=n(19369),i={},s={info:(0,r.K2)((async()=>{const{createInfoServices:e}=await n.e(890).then(n.bind(n,10890)),t=e().Info.parser.LangiumParser;i.info=t}),"info"),packet:(0,r.K2)((async()=>{const{createPacketServices:e}=await n.e(6452).then(n.bind(n,6452)),t=e().Packet.parser.LangiumParser;i.packet=t}),"packet"),pie:(0,r.K2)((async()=>{const{createPieServices:e}=await n.e(7723).then(n.bind(n,57723)),t=e().Pie.parser.LangiumParser;i.pie=t}),"pie"),architecture:(0,r.K2)((async()=>{const{createArchitectureServices:e}=await n.e(9720).then(n.bind(n,39720)),t=e().Architecture.parser.LangiumParser;i.architecture=t}),"architecture"),gitGraph:(0,r.K2)((async()=>{const{createGitGraphServices:e}=await n.e(2387).then(n.bind(n,82387)),t=e().GitGraph.parser.LangiumParser;i.gitGraph=t}),"gitGraph")};async function o(e,t){const n=s[e];if(!n)throw new Error(`Unknown diagram type: ${e}`);i[e]||await n();const r=i[e].parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new a(r);return r.value}(0,r.K2)(o,"parse");var a=class extends Error{constructor(e){super(`Parsing failed: ${e.lexerErrors.map((e=>e.message)).join("\n")} ${e.parserErrors.map((e=>e.message)).join("\n")}`),this.result=e}static{(0,r.K2)(this,"MermaidParseError")}}},33394:(e,t,n)=>{function r(e){return"object"==typeof e&&null!==e&&"string"==typeof e.$type}function i(e){return"object"==typeof e&&null!==e&&"string"==typeof e.$refText}function s(e){return"object"==typeof e&&null!==e&&r(e.container)&&i(e.reference)&&"string"==typeof e.message}n.d(t,{kD:()=>o,QU:()=>Hc,dM:()=>Wc,DD:()=>Lu,tG:()=>Eu,uM:()=>ku,WQ:()=>xu,y0:()=>_u});class o{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return r(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let n=this.subtypes[e];n||(n=this.subtypes[e]={});const r=n[t];if(void 0!==r)return r;{const r=this.computeIsSubtype(e,t);return n[t]=r,r}}getAllSubTypes(e){const t=this.allSubtypes[e];if(t)return t;{const t=this.getAllTypes(),n=[];for(const r of t)this.isSubtype(r,e)&&n.push(r);return this.allSubtypes[e]=n,n}}}function a(e){return"object"==typeof e&&null!==e&&Array.isArray(e.content)}function c(e){return"object"==typeof e&&null!==e&&"object"==typeof e.tokenType}function l(e){return a(e)&&"string"==typeof e.fullText}class u{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){const e=this.iterator();return Boolean(e.next().done)}count(){const e=this.iterator();let t=0,n=e.next();for(;!n.done;)t++,n=e.next();return t}toArray(){const e=[],t=this.iterator();let n;do{n=t.next(),void 0!==n.value&&e.push(n.value)}while(!n.done);return e}toSet(){return new Set(this)}toMap(e,t){const n=this.map((n=>[e?e(n):n,t?t(n):n]));return new Map(n)}toString(){return this.join()}concat(e){const t=e[Symbol.iterator]();return new u((()=>({first:this.startFn(),firstDone:!1})),(e=>{let n;if(!e.firstDone){do{if(n=this.nextFn(e.first),!n.done)return n}while(!n.done);e.firstDone=!0}do{if(n=t.next(),!n.done)return n}while(!n.done);return p}))}join(e=","){const t=this.iterator();let n,r="",i=!1;do{n=t.next(),n.done||(i&&(r+=e),r+=d(n.value)),i=!0}while(!n.done);return r}indexOf(e,t=0){const n=this.iterator();let r=0,i=n.next();for(;!i.done;){if(r>=t&&i.value===e)return r;i=n.next(),r++}return-1}every(e){const t=this.iterator();let n=t.next();for(;!n.done;){if(!e(n.value))return!1;n=t.next()}return!0}some(e){const t=this.iterator();let n=t.next();for(;!n.done;){if(e(n.value))return!0;n=t.next()}return!1}forEach(e){const t=this.iterator();let n=0,r=t.next();for(;!r.done;)e(r.value,n),r=t.next(),n++}map(e){return new u(this.startFn,(t=>{const{done:n,value:r}=this.nextFn(t);return n?p:{done:!1,value:e(r)}}))}filter(e){return new u(this.startFn,(t=>{let n;do{if(n=this.nextFn(t),!n.done&&e(n.value))return n}while(!n.done);return p}))}nonNullable(){return this.filter((e=>null!=e))}reduce(e,t){const n=this.iterator();let r=t,i=n.next();for(;!i.done;)r=void 0===r?i.value:e(r,i.value),i=n.next();return r}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,n){const r=e.next();if(r.done)return n;const i=this.recursiveReduce(e,t,n);return void 0===i?r.value:t(i,r.value)}find(e){const t=this.iterator();let n=t.next();for(;!n.done;){if(e(n.value))return n.value;n=t.next()}}findIndex(e){const t=this.iterator();let n=0,r=t.next();for(;!r.done;){if(e(r.value))return n;r=t.next(),n++}return-1}includes(e){const t=this.iterator();let n=t.next();for(;!n.done;){if(n.value===e)return!0;n=t.next()}return!1}flatMap(e){return new u((()=>({this:this.startFn()})),(t=>{do{if(t.iterator){const e=t.iterator.next();if(!e.done)return e;t.iterator=void 0}const{done:n,value:r}=this.nextFn(t.this);if(!n){const n=e(r);if(!h(n))return{done:!1,value:n};t.iterator=n[Symbol.iterator]()}}while(t.iterator);return p}))}flat(e){if(void 0===e&&(e=1),e<=0)return this;const t=e>1?this.flat(e-1):this;return new u((()=>({this:t.startFn()})),(e=>{do{if(e.iterator){const t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}const{done:n,value:r}=t.nextFn(e.this);if(!n){if(!h(r))return{done:!1,value:r};e.iterator=r[Symbol.iterator]()}}while(e.iterator);return p}))}head(){const e=this.iterator().next();if(!e.done)return e.value}tail(e=1){return new u((()=>{const t=this.startFn();for(let n=0;n<e;n++){if(this.nextFn(t).done)return t}return t}),this.nextFn)}limit(e){return new u((()=>({size:0,state:this.startFn()})),(t=>(t.size++,t.size>e?p:this.nextFn(t.state))))}distinct(e){const t=new Set;return this.filter((n=>{const r=e?e(n):n;return!t.has(r)&&(t.add(r),!0)}))}exclude(e,t){const n=new Set;for(const r of e){const e=t?t(r):r;n.add(e)}return this.filter((e=>{const r=t?t(e):e;return!n.has(r)}))}}function d(e){return"string"==typeof e?e:void 0===e?"undefined":"function"==typeof e.toString?e.toString():Object.prototype.toString.call(e)}function h(e){return!!e&&"function"==typeof e[Symbol.iterator]}const f=new u((()=>{}),(()=>p)),p=Object.freeze({done:!0,value:void 0});function m(...e){if(1===e.length){const t=e[0];if(t instanceof u)return t;if(h(t))return new u((()=>t[Symbol.iterator]()),(e=>e.next()));if("number"==typeof t.length)return new u((()=>({index:0})),(e=>e.index<t.length?{done:!1,value:t[e.index++]}:p))}return e.length>1?new u((()=>({collIndex:0,arrIndex:0})),(t=>{do{if(t.iterator){const e=t.iterator.next();if(!e.done)return e;t.iterator=void 0}if(t.array){if(t.arrIndex<t.array.length)return{done:!1,value:t.array[t.arrIndex++]};t.array=void 0,t.arrIndex=0}if(t.collIndex<e.length){const n=e[t.collIndex++];h(n)?t.iterator=n[Symbol.iterator]():n&&"number"==typeof n.length&&(t.array=n)}}while(t.iterator||t.array||t.collIndex<e.length);return p})):f}class g extends u{constructor(e,t,n){super((()=>({iterators:(null==n?void 0:n.includeRoot)?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1})),(e=>{for(e.pruned&&(e.iterators.pop(),e.pruned=!1);e.iterators.length>0;){const n=e.iterators[e.iterators.length-1].next();if(!n.done)return e.iterators.push(t(n.value)[Symbol.iterator]()),n;e.iterators.pop()}return p}))}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var y,A;function T(e){return new g(e,(e=>a(e)?e.content:[]),{includeRoot:!0})}function v(e){return{start:{character:e.startColumn-1,line:e.startLine-1},end:{character:e.endColumn,line:e.endLine-1}}}function R(e){if(!e)return;const{offset:t,end:n,range:r}=e;return{range:r,offset:t,end:n,length:n-t}}function E(e,t){const n=function(e,t){if(e.end.line<t.start.line||e.end.line===t.start.line&&e.end.character<e.start.character)return A.Before;if(e.start.line>t.end.line||e.start.line===t.end.line&&e.start.character>t.end.character)return A.After;const n=e.start.line>t.start.line||e.start.line===t.start.line&&e.start.character>=t.start.character,r=e.end.line<t.end.line||e.end.line===t.end.line&&e.end.character<=t.end.character;return n&&r?A.Inside:n?A.OverlapBack:A.OverlapFront}(e,t);return n>A.After}!function(e){e.sum=function(e){return e.reduce(((e,t)=>e+t),0)},e.product=function(e){return e.reduce(((e,t)=>e*t),0)},e.min=function(e){return e.reduce(((e,t)=>Math.min(e,t)))},e.max=function(e){return e.reduce(((e,t)=>Math.max(e,t)))}}(y||(y={})),function(e){e[e.Before=0]="Before",e[e.After=1]="After",e[e.OverlapFront=2]="OverlapFront",e[e.OverlapBack=3]="OverlapBack",e[e.Inside=4]="Inside"}(A||(A={}));const k=/^[\w\p{L}]$/u;function x(e,t){if(e){const n=function(e,t=!0){for(;e.container;){const n=e.container;let r=n.content.indexOf(e);for(;r>0;){r--;const e=n.content[r];if(t||!e.hidden)return e}e=n}return}(e,!0);if(n&&I(n,t))return n;if(l(e)){for(let n=e.content.findIndex((e=>!e.hidden))-1;n>=0;n--){const r=e.content[n];if(I(r,t))return r}}}}function I(e,t){return c(e)&&t.includes(e.tokenType.name)}class S extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function N(e){throw new Error("Error! The input value was not handled.")}const C="AbstractRule";const $="AbstractType";const w="Condition";const L="TypeDefinition";const O="ValueLiteral";const b="AbstractElement";const _="ArrayLiteral";const P="ArrayType";const M="BooleanLiteral";const D="Conjunction";const U="Disjunction";const F="Grammar";const G="InferredType";function K(e){return Oe.isInstance(e,G)}const B="Interface";function j(e){return Oe.isInstance(e,B)}const V="Negation";const H="NumberLiteral";const W="Parameter";const z="ParameterReference";const Y="ParserRule";function X(e){return Oe.isInstance(e,Y)}const q="ReferenceType";const Q="ReturnType";const J="SimpleType";const Z="StringLiteral";const ee="TerminalRule";function te(e){return Oe.isInstance(e,ee)}const ne="Type";function re(e){return Oe.isInstance(e,ne)}const ie="UnionType";const se="Action";function oe(e){return Oe.isInstance(e,se)}const ae="Alternatives";function ce(e){return Oe.isInstance(e,ae)}const le="Assignment";function ue(e){return Oe.isInstance(e,le)}const de="CharacterRange";const he="CrossReference";function fe(e){return Oe.isInstance(e,he)}const pe="EndOfFile";const me="Group";function ge(e){return Oe.isInstance(e,me)}const ye="Keyword";function Ae(e){return Oe.isInstance(e,ye)}const Te="NegatedToken";const ve="RegexToken";const Re="RuleCall";function Ee(e){return Oe.isInstance(e,Re)}const ke="TerminalAlternatives";const xe="TerminalGroup";const Ie="TerminalRuleCall";function Se(e){return Oe.isInstance(e,Ie)}const Ne="UnorderedGroup";function Ce(e){return Oe.isInstance(e,Ne)}const $e="UntilToken";const we="Wildcard";class Le extends o{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case se:case ae:case le:case de:case he:case pe:case me:case ye:case Te:case ve:case Re:case ke:case xe:case Ie:case Ne:case $e:case we:return this.isSubtype(b,t);case _:case H:case Z:return this.isSubtype(O,t);case P:case q:case J:case ie:return this.isSubtype(L,t);case M:return this.isSubtype(w,t)||this.isSubtype(O,t);case D:case U:case V:case z:return this.isSubtype(w,t);case G:case B:case ne:return this.isSubtype($,t);case Y:return this.isSubtype(C,t)||this.isSubtype($,t);case ee:return this.isSubtype(C,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return $;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return C;case"Grammar:usedGrammars":return F;case"NamedArgument:parameter":case"ParameterReference:parameter":return W;case"TerminalRuleCall:rule":return ee;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}const Oe=new Le;function be(e){for(const[t,n]of Object.entries(e))t.startsWith("$")||(Array.isArray(n)?n.forEach(((n,i)=>{r(n)&&(n.$container=e,n.$containerProperty=t,n.$containerIndex=i)})):r(n)&&(n.$container=e,n.$containerProperty=t))}function _e(e,t){let n=e;for(;n;){if(t(n))return n;n=n.$container}}function Pe(e){const t=function(e){for(;e.$container;)e=e.$container;return e}(e),n=t.$document;if(!n)throw new Error("AST node has no document.");return n}function Me(e,t){if(!e)throw new Error("Node must be an AstNode.");const n=null==t?void 0:t.range;return new u((()=>({keys:Object.keys(e),keyIndex:0,arrayIndex:0})),(t=>{for(;t.keyIndex<t.keys.length;){const i=t.keys[t.keyIndex];if(!i.startsWith("$")){const s=e[i];if(r(s)){if(t.keyIndex++,Fe(s,n))return{done:!1,value:s}}else if(Array.isArray(s)){for(;t.arrayIndex<s.length;){const e=s[t.arrayIndex++];if(r(e)&&Fe(e,n))return{done:!1,value:e}}t.arrayIndex=0}}t.keyIndex++}return p}))}function De(e,t){if(!e)throw new Error("Root node must be an AstNode.");return new g(e,(e=>Me(e,t)))}function Ue(e,t){if(!e)throw new Error("Root node must be an AstNode.");return(null==t?void 0:t.range)&&!Fe(e,t.range)?new g(e,(()=>[])):new g(e,(e=>Me(e,t)),{includeRoot:!0})}function Fe(e,t){var n;if(!t)return!0;const r=null===(n=e.$cstNode)||void 0===n?void 0:n.range;return!!r&&E(r,t)}function Ge(e){return new u((()=>({keys:Object.keys(e),keyIndex:0,arrayIndex:0})),(t=>{for(;t.keyIndex<t.keys.length;){const n=t.keys[t.keyIndex];if(!n.startsWith("$")){const r=e[n];if(i(r))return t.keyIndex++,{done:!1,value:{reference:r,container:e,property:n}};if(Array.isArray(r)){for(;t.arrayIndex<r.length;){const s=t.arrayIndex++,o=r[s];if(i(o))return{done:!1,value:{reference:o,container:e,property:n,index:s}}}t.arrayIndex=0}}t.keyIndex++}return p}))}function Ke(e){return Array.isArray(e)?[...e.map(Ke)]:e}function Be(e){return e.charCodeAt(0)}function je(e,t){Array.isArray(e)?e.forEach((function(e){t.push(e)})):t.push(e)}function Ve(e,t){if(!0===e[t])throw"duplicate flag "+t;e[t];e[t]=!0}function He(e){if(void 0===e)throw Error("Internal Error - Should never get here!");return!0}function We(){throw Error("Internal Error - Should never get here!")}function ze(e){return"Character"===e.type}const Ye=[];for(let Pu=Be("0");Pu<=Be("9");Pu++)Ye.push(Pu);const Xe=[Be("_")].concat(Ye);for(let Pu=Be("a");Pu<=Be("z");Pu++)Xe.push(Pu);for(let Pu=Be("A");Pu<=Be("Z");Pu++)Xe.push(Pu);const qe=[Be(" "),Be("\f"),Be("\n"),Be("\r"),Be("\t"),Be("\v"),Be("\t"),Be("\xa0"),Be("\u1680"),Be("\u2000"),Be("\u2001"),Be("\u2002"),Be("\u2003"),Be("\u2004"),Be("\u2005"),Be("\u2006"),Be("\u2007"),Be("\u2008"),Be("\u2009"),Be("\u200a"),Be("\u2028"),Be("\u2029"),Be("\u202f"),Be("\u205f"),Be("\u3000"),Be("\ufeff")],Qe=/[0-9a-fA-F]/,Je=/[0-9]/,Ze=/[1-9]/;class et{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx}pattern(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar("/");const t=this.disjunction();this.consumeChar("/");const n={type:"Flags",loc:{begin:this.idx,end:e.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":Ve(n,"global");break;case"i":Ve(n,"ignoreCase");break;case"m":Ve(n,"multiLine");break;case"u":Ve(n,"unicode");break;case"y":Ve(n,"sticky")}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,value:t,loc:this.loc(0)}}disjunction(){const e=[],t=this.idx;for(e.push(this.alternative());"|"===this.peekChar();)this.consumeChar("|"),e.push(this.alternative());return{type:"Disjunction",value:e,loc:this.loc(t)}}alternative(){const e=[],t=this.idx;for(;this.isTerm();)e.push(this.term());return{type:"Alternative",value:e,loc:this.loc(t)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){const e=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(e)};case"$":return{type:"EndAnchor",loc:this.loc(e)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(e)};case"B":return{type:"NonWordBoundary",loc:this.loc(e)}}throw Error("Invalid Assertion Escape");case"(":let t;switch(this.consumeChar("?"),this.popChar()){case"=":t="Lookahead";break;case"!":t="NegativeLookahead"}He(t);const n=this.disjunction();return this.consumeChar(")"),{type:t,value:n,loc:this.loc(e)}}return We()}quantifier(e=!1){let t;const n=this.idx;switch(this.popChar()){case"*":t={atLeast:0,atMost:1/0};break;case"+":t={atLeast:1,atMost:1/0};break;case"?":t={atLeast:0,atMost:1};break;case"{":const n=this.integerIncludingZero();switch(this.popChar()){case"}":t={atLeast:n,atMost:n};break;case",":let e;this.isDigit()?(e=this.integerIncludingZero(),t={atLeast:n,atMost:e}):t={atLeast:n,atMost:1/0},this.consumeChar("}")}if(!0===e&&void 0===t)return;He(t)}if(!0!==e||void 0!==t)return He(t)?("?"===this.peekChar(0)?(this.consumeChar("?"),t.greedy=!1):t.greedy=!0,t.type="Quantifier",t.loc=this.loc(n),t):void 0}atom(){let e;const t=this.idx;switch(this.peekChar()){case".":e=this.dotAll();break;case"\\":e=this.atomEscape();break;case"[":e=this.characterClass();break;case"(":e=this.group()}return void 0===e&&this.isPatternCharacter()&&(e=this.patternCharacter()),He(e)?(e.loc=this.loc(t),this.isQuantifier()&&(e.quantifier=this.quantifier()),e):We()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[Be("\n"),Be("\r"),Be("\u2028"),Be("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let e,t=!1;switch(this.popChar()){case"d":e=Ye;break;case"D":e=Ye,t=!0;break;case"s":e=qe;break;case"S":e=qe,t=!0;break;case"w":e=Xe;break;case"W":e=Xe,t=!0}return He(e)?{type:"Set",value:e,complement:t}:We()}controlEscapeAtom(){let e;switch(this.popChar()){case"f":e=Be("\f");break;case"n":e=Be("\n");break;case"r":e=Be("\r");break;case"t":e=Be("\t");break;case"v":e=Be("\v")}return He(e)?{type:"Character",value:e}:We()}controlLetterEscapeAtom(){this.consumeChar("c");const e=this.popChar();if(!1===/[a-zA-Z]/.test(e))throw Error("Invalid ");return{type:"Character",value:e.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:Be("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){return{type:"Character",value:Be(this.popChar())}}classPatternCharacterAtom(){switch(this.peekChar()){case"\n":case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:return{type:"Character",value:Be(this.popChar())}}}characterClass(){const e=[];let t=!1;for(this.consumeChar("["),"^"===this.peekChar(0)&&(this.consumeChar("^"),t=!0);this.isClassAtom();){const t=this.classAtom();t.type;if(ze(t)&&this.isRangeDash()){this.consumeChar("-");const n=this.classAtom();n.type;if(ze(n)){if(n.value<t.value)throw Error("Range out of order in character class");e.push({from:t.value,to:n.value})}else je(t.value,e),e.push(Be("-")),je(n.value,e)}else je(t.value,e)}return this.consumeChar("]"),{type:"Set",complement:t,value:e}}classAtom(){switch(this.peekChar()){case"]":case"\n":case"\r":case"\u2028":case"\u2029":throw Error("TBD");case"\\":return this.classEscape();default:return this.classPatternCharacterAtom()}}classEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"b":return this.consumeChar("b"),{type:"Character",value:Be("\b")};case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}group(){let e=!0;if(this.consumeChar("("),"?"===this.peekChar(0))this.consumeChar("?"),this.consumeChar(":"),e=!1;else this.groupIdx++;const t=this.disjunction();this.consumeChar(")");const n={type:"Group",capturing:e,value:t};return e&&(n.idx=this.groupIdx),n}positiveInteger(){let e=this.popChar();if(!1===Ze.test(e))throw Error("Expecting a positive integer");for(;Je.test(this.peekChar(0));)e+=this.popChar();return parseInt(e,10)}integerIncludingZero(){let e=this.popChar();if(!1===Je.test(e))throw Error("Expecting an integer");for(;Je.test(this.peekChar(0));)e+=this.popChar();return parseInt(e,10)}patternCharacter(){const e=this.popChar();switch(e){case"\n":case"\r":case"\u2028":case"\u2029":case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":throw Error("TBD");default:return{type:"Character",value:Be(e)}}}isRegExpFlag(){switch(this.peekChar(0)){case"g":case"i":case"m":case"u":case"y":return!0;default:return!1}}isRangeDash(){return"-"===this.peekChar()&&this.isClassAtom(1)}isDigit(){return Je.test(this.peekChar(0))}isClassAtom(e=0){switch(this.peekChar(e)){case"]":case"\n":case"\r":case"\u2028":case"\u2029":return!1;default:return!0}}isTerm(){return this.isAtom()||this.isAssertion()}isAtom(){if(this.isPatternCharacter())return!0;switch(this.peekChar(0)){case".":case"\\":case"[":case"(":return!0;default:return!1}}isAssertion(){switch(this.peekChar(0)){case"^":case"$":return!0;case"\\":switch(this.peekChar(1)){case"b":case"B":return!0;default:return!1}case"(":return"?"===this.peekChar(1)&&("="===this.peekChar(2)||"!"===this.peekChar(2));default:return!1}}isQuantifier(){const e=this.saveState();try{return void 0!==this.quantifier(!0)}catch(t){return!1}finally{this.restoreState(e)}}isPatternCharacter(){switch(this.peekChar()){case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":case"/":case"\n":case"\r":case"\u2028":case"\u2029":return!1;default:return!0}}parseHexDigits(e){let t="";for(let n=0;n<e;n++){const e=this.popChar();if(!1===Qe.test(e))throw Error("Expecting a HexDecimal digits");t+=e}return{type:"Character",value:parseInt(t,16)}}peekChar(e=0){return this.input[this.idx+e]}popChar(){const e=this.peekChar(0);return this.consumeChar(void 0),e}consumeChar(e){if(void 0!==e&&this.input[this.idx]!==e)throw Error("Expected: '"+e+"' but found: '"+this.input[this.idx]+"' at offset: "+this.idx);if(this.idx>=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(e){return{begin:e,end:this.idx}}}class tt{visitChildren(e){for(const t in e){const n=e[t];e.hasOwnProperty(t)&&(void 0!==n.type?this.visit(n):Array.isArray(n)&&n.forEach((e=>{this.visit(e)}),this))}}visit(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e)}this.visitChildren(e)}visitPattern(e){}visitFlags(e){}visitDisjunction(e){}visitAlternative(e){}visitStartAnchor(e){}visitEndAnchor(e){}visitWordBoundary(e){}visitNonWordBoundary(e){}visitLookahead(e){}visitNegativeLookahead(e){}visitCharacter(e){}visitSet(e){}visitGroup(e){}visitGroupBackReference(e){}visitQuantifier(e){}}const nt=/\r?\n/gm,rt=new et;const it=new class extends tt{constructor(){super(...arguments),this.isStarting=!0,this.endRegexpStack=[],this.multiline=!1}get endRegex(){return this.endRegexpStack.join("")}reset(e){this.multiline=!1,this.regex=e,this.startRegexp="",this.isStarting=!0,this.endRegexpStack=[]}visitGroup(e){e.quantifier&&(this.isStarting=!1,this.endRegexpStack=[])}visitCharacter(e){const t=String.fromCharCode(e.value);if(this.multiline||"\n"!==t||(this.multiline=!0),e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{const e=at(t);this.endRegexpStack.push(e),this.isStarting&&(this.startRegexp+=e)}}visitSet(e){if(!this.multiline){const t=this.regex.substring(e.loc.begin,e.loc.end),n=new RegExp(t);this.multiline=Boolean("\n".match(n))}if(e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{const t=this.regex.substring(e.loc.begin,e.loc.end);this.endRegexpStack.push(t),this.isStarting&&(this.startRegexp+=t)}}visitChildren(e){if("Group"===e.type){if(e.quantifier)return}super.visitChildren(e)}};function st(e){try{return"string"==typeof e&&(e=new RegExp(e)),e=e.toString(),it.reset(e),it.visit(rt.pattern(e)),it.multiline}catch(t){return!1}}function ot(e){return("string"==typeof e?new RegExp(e):e).test(" ")}function at(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ct(e,t){const n=function(e){"string"==typeof e&&(e=new RegExp(e));const t=e,n=e.source;let r=0;function i(){let e,s="";function o(e){s+=n.substr(r,e),r+=e}function a(e){s+="(?:"+n.substr(r,e)+"|$)",r+=e}for(;r<n.length;)switch(n[r]){case"\\":switch(n[r+1]){case"c":a(3);break;case"x":a(4);break;case"u":t.unicode?"{"===n[r+2]?a(n.indexOf("}",r)-r+1):a(6):a(2);break;case"p":case"P":t.unicode?a(n.indexOf("}",r)-r+1):a(2);break;case"k":a(n.indexOf(">",r)-r+1);break;default:a(2)}break;case"[":e=/\[(?:\\.|.)*?\]/g,e.lastIndex=r,e=e.exec(n)||[],a(e[0].length);break;case"|":case"^":case"$":case"*":case"+":case"?":o(1);break;case"{":e=/\{\d+,?\d*\}/g,e.lastIndex=r,e=e.exec(n),e?o(e[0].length):a(1);break;case"(":if("?"===n[r+1])switch(n[r+2]){case":":s+="(?:",r+=3,s+=i()+"|$)";break;case"=":s+="(?=",r+=3,s+=i()+")";break;case"!":e=r,r+=3,i(),s+=n.substr(e,r-e);break;case"<":switch(n[r+3]){case"=":case"!":e=r,r+=4,i(),s+=n.substr(e,r-e);break;default:o(n.indexOf(">",r)-r+1),s+=i()+"|$)"}}else o(1),s+=i()+"|$)";break;case")":return++r,s;default:a(1)}return s}return new RegExp(i(),e.flags)}(e),r=t.match(n);return!!r&&r[0].length>0}function lt(e,t){const n=new Set,r=function(e){return e.rules.find((e=>X(e)&&e.entry))}(e);if(!r)return new Set(e.rules);const i=[r].concat(function(e){return e.rules.filter((e=>te(e)&&e.hidden))}(e));for(const o of i)ut(o,n,t);const s=new Set;for(const o of e.rules)(n.has(o.name)||te(o)&&o.hidden)&&s.add(o);return s}function ut(e,t,n){t.add(e.name),De(e).forEach((e=>{if(Ee(e)||n&&Se(e)){const r=e.rule.ref;r&&!t.has(r.name)&&ut(r,t,n)}}))}function dt(e,t,n){if(!e||!t)return;const r=ht(e,t,e.astNode,!0);return 0!==r.length?r[n=void 0!==n?Math.max(0,Math.min(n,r.length-1)):0]:void 0}function ht(e,t,n,r){if(!r){const n=_e(e.grammarSource,ue);if(n&&n.feature===t)return[e]}return a(e)&&e.astNode===n?e.content.flatMap((e=>ht(e,t,n,!1))):[]}function ft(e,t,n){if(e.astNode!==n)return[];if(Ae(e.grammarSource)&&e.grammarSource.value===t)return[e];const r=T(e).iterator();let i;const s=[];do{if(i=r.next(),!i.done){const e=i.value;e.astNode===n?Ae(e.grammarSource)&&e.grammarSource.value===t&&s.push(e):r.prune()}}while(!i.done);return s}function pt(e){let t=e;return K(t)&&(oe(t.$container)?t=t.$container.$container:X(t.$container)?t=t.$container:N(t.$container)),mt(e,t,new Map)}function mt(e,t,n){var r,i;function s(t,r){let i;return _e(t,ue)||(i=mt(r,r,n)),n.set(e,i),i}if(n.has(e))return n.get(e);n.set(e,void 0);for(const o of De(t)){if(ue(o)&&"name"===o.feature.toLowerCase())return n.set(e,o),o;if(Ee(o)&&X(o.rule.ref))return s(o,o.rule.ref);if(i=o,Oe.isInstance(i,J)&&(null===(r=o.typeRef)||void 0===r?void 0:r.ref))return s(o,o.typeRef.ref)}}function gt(e){return yt(e,new Set)}function yt(e,t){if(t.has(e))return!0;t.add(e);for(const n of De(e))if(Ee(n)){if(!n.rule.ref)return!1;if(X(n.rule.ref)&&!yt(n.rule.ref,t))return!1}else{if(ue(n))return!1;if(oe(n))return!1}return Boolean(e.definition)}function At(e){if(e.inferredType)return e.inferredType.name;if(e.dataType)return e.dataType;if(e.returnType){const t=e.returnType.ref;if(t){if(X(t))return t.name;if(j(t)||re(t))return t.name}}}function Tt(e){var t,n;if(X(e))return gt(e)?e.name:null!==(t=At(e))&&void 0!==t?t:e.name;if(j(e)||re(e)||(n=e,Oe.isInstance(n,Q)))return e.name;if(oe(e)){const t=function(e){var t;if(e.inferredType)return e.inferredType.name;if(null===(t=e.type)||void 0===t?void 0:t.ref)return Tt(e.type.ref);return}(e);if(t)return t}else if(K(e))return e.name;throw new Error("Cannot get name of Unknown Type")}function vt(e){const t={s:!1,i:!1,u:!1},n=Et(e.definition,t),r=Object.entries(t).filter((([,e])=>e)).map((([e])=>e)).join("");return new RegExp(n,r)}const Rt=/[\s\S]/.source;function Et(e,t){if(s=e,Oe.isInstance(s,ke))return xt((i=e).elements.map((e=>Et(e))).join("|"),{cardinality:i.cardinality,lookahead:i.lookahead});if(function(e){return Oe.isInstance(e,xe)}(e))return xt((r=e).elements.map((e=>Et(e))).join(""),{cardinality:r.cardinality,lookahead:r.lookahead});if(function(e){return Oe.isInstance(e,de)}(e))return function(e){if(e.right)return xt(`[${kt(e.left)}-${kt(e.right)}]`,{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1});return xt(kt(e.left),{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1})}(e);if(Se(e)){const t=e.rule.ref;if(!t)throw new Error("Missing rule reference.");return xt(Et(t.definition),{cardinality:e.cardinality,lookahead:e.lookahead})}if(function(e){return Oe.isInstance(e,Te)}(e))return function(e){return xt(`(?!${Et(e.terminal)})${Rt}*?`,{cardinality:e.cardinality,lookahead:e.lookahead})}(e);if(function(e){return Oe.isInstance(e,$e)}(e))return xt(`${Rt}*?${Et((n=e).terminal)}`,{cardinality:n.cardinality,lookahead:n.lookahead});if(function(e){return Oe.isInstance(e,ve)}(e)){const n=e.regex.lastIndexOf("/"),r=e.regex.substring(1,n),i=e.regex.substring(n+1);return t&&(t.i=i.includes("i"),t.s=i.includes("s"),t.u=i.includes("u")),xt(r,{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1})}if(function(e){return Oe.isInstance(e,we)}(e))return xt(Rt,{cardinality:e.cardinality,lookahead:e.lookahead});throw new Error(`Invalid terminal element: ${null==e?void 0:e.$type}`);var n,r,i,s}function kt(e){return at(e.value)}function xt(e,t){var n;return(!1!==t.wrap||t.lookahead)&&(e=`(${null!==(n=t.lookahead)&&void 0!==n?n:""}${e})`),t.cardinality?`${e}${t.cardinality}`:e}var It=n(8058),St=n(38207),Nt=n(66401),Ct=n(74722),$t=n(48585),wt=n(50053);function Lt(e){function t(){}t.prototype=e;const n=new t;function r(){return typeof n.bar}return r(),r(),e}const Ot=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(i);++r<i;)s[r]=e[r+t];return s};var bt=n(18593);const _t=function(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:(0,bt.A)(t),Ot(e,t<0?0:t,r)):[]};var Pt=n(9703),Mt=n(52851),Dt=n(22031),Ut=n(3767),Ft=n(38446),Gt=n(97271),Kt=n(27422),Bt=Object.prototype.hasOwnProperty;const jt=(0,Ut.A)((function(e,t){if((0,Gt.A)(t)||(0,Ft.A)(t))(0,Dt.A)(t,(0,Kt.A)(t),e);else for(var n in t)Bt.call(t,n)&&(0,Mt.A)(e,n,t[n])}));var Vt=n(45572),Ht=n(23958),Wt=n(99354),zt=n(83973);const Yt=function(e,t){if(null==e)return{};var n=(0,Vt.A)((0,zt.A)(e),(function(e){return[e]}));return t=(0,Ht.A)(t),(0,Wt.A)(e,n,(function(e,n){return t(e,n[0])}))};var Xt=n(88496),qt=n(53098);const Qt=function(e){return(0,qt.A)(e)&&"[object RegExp]"==(0,Xt.A)(e)};var Jt=n(52789),Zt=n(64841),en=Zt.A&&Zt.A.isRegExp;const tn=en?(0,Jt.A)(en):Qt;function nn(e){return t=e,(0,Pt.A)(t.LABEL)&&""!==t.LABEL?e.LABEL:e.name;var t}class rn{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),(0,It.A)(this.definition,(t=>{t.accept(e)}))}}class sn extends rn{constructor(e){super([]),this.idx=1,jt(this,Yt(e,(e=>void 0!==e)))}set definition(e){}get definition(){return void 0!==this.referencedRule?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class on extends rn{constructor(e){super(e.definition),this.orgText="",jt(this,Yt(e,(e=>void 0!==e)))}}class an extends rn{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,jt(this,Yt(e,(e=>void 0!==e)))}}class cn extends rn{constructor(e){super(e.definition),this.idx=1,jt(this,Yt(e,(e=>void 0!==e)))}}class ln extends rn{constructor(e){super(e.definition),this.idx=1,jt(this,Yt(e,(e=>void 0!==e)))}}class un extends rn{constructor(e){super(e.definition),this.idx=1,jt(this,Yt(e,(e=>void 0!==e)))}}class dn extends rn{constructor(e){super(e.definition),this.idx=1,jt(this,Yt(e,(e=>void 0!==e)))}}class hn extends rn{constructor(e){super(e.definition),this.idx=1,jt(this,Yt(e,(e=>void 0!==e)))}}class fn extends rn{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,jt(this,Yt(e,(e=>void 0!==e)))}}class pn{constructor(e){this.idx=1,jt(this,Yt(e,(e=>void 0!==e)))}accept(e){e.visit(this)}}function mn(e){function t(e){return(0,Ct.A)(e,mn)}if(e instanceof sn){const t={type:"NonTerminal",name:e.nonTerminalName,idx:e.idx};return(0,Pt.A)(e.label)&&(t.label=e.label),t}if(e instanceof an)return{type:"Alternative",definition:t(e.definition)};if(e instanceof cn)return{type:"Option",idx:e.idx,definition:t(e.definition)};if(e instanceof ln)return{type:"RepetitionMandatory",idx:e.idx,definition:t(e.definition)};if(e instanceof un)return{type:"RepetitionMandatoryWithSeparator",idx:e.idx,separator:mn(new pn({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof hn)return{type:"RepetitionWithSeparator",idx:e.idx,separator:mn(new pn({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof dn)return{type:"Repetition",idx:e.idx,definition:t(e.definition)};if(e instanceof fn)return{type:"Alternation",idx:e.idx,definition:t(e.definition)};if(e instanceof pn){const t={type:"Terminal",name:e.terminalType.name,label:nn(e.terminalType),idx:e.idx};(0,Pt.A)(e.label)&&(t.terminalLabel=e.label);const n=e.terminalType.PATTERN;return e.terminalType.PATTERN&&(t.pattern=tn(n)?n.source:n),t}if(e instanceof on)return{type:"Rule",name:e.name,orgText:e.orgText,definition:t(e.definition)};throw Error("non exhaustive match")}class gn{visit(e){const t=e;switch(t.constructor){case sn:return this.visitNonTerminal(t);case an:return this.visitAlternative(t);case cn:return this.visitOption(t);case ln:return this.visitRepetitionMandatory(t);case un:return this.visitRepetitionMandatoryWithSeparator(t);case hn:return this.visitRepetitionWithSeparator(t);case dn:return this.visitRepetition(t);case fn:return this.visitAlternation(t);case pn:return this.visitTerminal(t);case on:return this.visitRule(t);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}var yn=n(63736),An=n(6240);const Tn=function(e,t){var n;return(0,An.A)(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n};var vn=n(92049),Rn=n(6832);const En=function(e,t,n){var r=(0,vn.A)(e)?yn.A:Tn;return n&&(0,Rn.A)(e,t,n)&&(t=void 0),r(e,(0,Ht.A)(t,3))};var kn=n(60818),xn=Math.max;const In=function(e,t,n,r){e=(0,Ft.A)(e)?e:(0,St.A)(e),n=n&&!r?(0,bt.A)(n):0;var i=e.length;return n<0&&(n=xn(i+n,0)),(0,Pt.A)(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&(0,kn.A)(e,t,n)>-1};const Sn=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0};const Nn=function(e,t){var n=!0;return(0,An.A)(e,(function(e,r,i){return n=!!t(e,r,i)})),n};const Cn=function(e,t,n){var r=(0,vn.A)(e)?Sn:Nn;return n&&(0,Rn.A)(e,t,n)&&(t=void 0),r(e,(0,Ht.A)(t,3))};function $n(e,t=[]){return!!(e instanceof cn||e instanceof dn||e instanceof hn)||(e instanceof fn?En(e.definition,(e=>$n(e,t))):!(e instanceof sn&&In(t,e))&&(e instanceof rn&&(e instanceof sn&&t.push(e),Cn(e.definition,(e=>$n(e,t))))))}function wn(e){if(e instanceof sn)return"SUBRULE";if(e instanceof cn)return"OPTION";if(e instanceof fn)return"OR";if(e instanceof ln)return"AT_LEAST_ONE";if(e instanceof un)return"AT_LEAST_ONE_SEP";if(e instanceof hn)return"MANY_SEP";if(e instanceof dn)return"MANY";if(e instanceof pn)return"CONSUME";throw Error("non exhaustive match")}class Ln{walk(e,t=[]){(0,It.A)(e.definition,((n,r)=>{const i=_t(e.definition,r+1);if(n instanceof sn)this.walkProdRef(n,i,t);else if(n instanceof pn)this.walkTerminal(n,i,t);else if(n instanceof an)this.walkFlat(n,i,t);else if(n instanceof cn)this.walkOption(n,i,t);else if(n instanceof ln)this.walkAtLeastOne(n,i,t);else if(n instanceof un)this.walkAtLeastOneSep(n,i,t);else if(n instanceof hn)this.walkManySep(n,i,t);else if(n instanceof dn)this.walkMany(n,i,t);else{if(!(n instanceof fn))throw Error("non exhaustive match");this.walkOr(n,i,t)}}))}walkTerminal(e,t,n){}walkProdRef(e,t,n){}walkFlat(e,t,n){const r=t.concat(n);this.walk(e,r)}walkOption(e,t,n){const r=t.concat(n);this.walk(e,r)}walkAtLeastOne(e,t,n){const r=[new cn({definition:e.definition})].concat(t,n);this.walk(e,r)}walkAtLeastOneSep(e,t,n){const r=On(e,t,n);this.walk(e,r)}walkMany(e,t,n){const r=[new cn({definition:e.definition})].concat(t,n);this.walk(e,r)}walkManySep(e,t,n){const r=On(e,t,n);this.walk(e,r)}walkOr(e,t,n){const r=t.concat(n);(0,It.A)(e.definition,(e=>{const t=new an({definition:[e]});this.walk(t,r)}))}}function On(e,t,n){return[new cn({definition:[new pn({terminalType:e.separator})].concat(e.definition)})].concat(t,n)}var bn=n(99902);const _n=function(e){return e&&e.length?(0,bn.A)(e):[]};var Pn=n(34098);function Mn(e){if(e instanceof sn)return Mn(e.referencedRule);if(e instanceof pn)return[e.terminalType];if(function(e){return e instanceof an||e instanceof cn||e instanceof dn||e instanceof ln||e instanceof un||e instanceof hn||e instanceof pn||e instanceof on}(e))return function(e){let t=[];const n=e.definition;let r,i=0,s=n.length>i,o=!0;for(;s&&o;)r=n[i],o=$n(r),t=t.concat(Mn(r)),i+=1,s=n.length>i;return _n(t)}(e);if(function(e){return e instanceof fn}(e))return function(e){const t=(0,Ct.A)(e.definition,(e=>Mn(e)));return _n((0,Pn.A)(t))}(e);throw Error("non exhaustive match")}const Dn="_~IN~_";class Un extends Ln{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,t,n){}walkProdRef(e,t,n){const r=(i=e.referencedRule,s=e.idx,i.name+s+Dn+this.topProd.name);var i,s;const o=t.concat(n),a=Mn(new an({definition:o}));this.follows[r]=a}}var Fn=n(69592),Gn=n(23068),Kn=n(2634),Bn=n(51790);const jn=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}};const Vn=function(e,t){return((0,vn.A)(e)?Kn.A:Bn.A)(e,jn((0,Ht.A)(t,3)))};var Hn=n(89610),Wn=Math.max;const zn=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:(0,bt.A)(n);return i<0&&(i=Wn(r+i,0)),(0,kn.A)(e,t,i)};var Yn=n(89463),Xn=n(94092),qn=n(62062),Qn=n(83149),Jn=n(87809),Zn=n(64099);const er=function(e,t,n,r){var i=-1,s=Qn.A,o=!0,a=e.length,c=[],l=t.length;if(!a)return c;n&&(t=(0,Vt.A)(t,(0,Jt.A)(n))),r?(s=Jn.A,o=!1):t.length>=200&&(s=Zn.A,o=!1,t=new qn.A(t));e:for(;++i<a;){var u=e[i],d=null==n?u:n(u);if(u=r||0!==u?u:0,o&&d==d){for(var h=l;h--;)if(t[h]===d)continue e;c.push(u)}else s(t,d,r)||c.push(u)}return c};var tr=n(13588),nr=n(24326),rr=n(53533);const ir=(0,nr.A)((function(e,t){return(0,rr.A)(e)?er(e,(0,tr.A)(t,1,rr.A,!0)):[]}));const sr=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var s=e[t];s&&(i[r++]=s)}return i};const or=function(e){return e&&e.length?e[0]:void 0};var ar=n(16145);function cr(e){console&&console.error&&console.error(`Error: ${e}`)}function lr(e){console&&console.warn&&console.warn(`Warning: ${e}`)}let ur={};const dr=new et;function hr(e){const t=e.toString();if(ur.hasOwnProperty(t))return ur[t];{const e=dr.pattern(t);return ur[t]=e,e}}const fr="Complement Sets are not supported for first char optimization",pr='Unable to use "first char" lexer optimizations:\n';function mr(e,t=!1){try{const t=hr(e);return gr(t.value,{},t.flags.ignoreCase)}catch(n){if(n.message===fr)t&&lr(`${pr}\tUnable to optimize: < ${e.toString()} >\n\tComplement Sets cannot be automatically optimized.\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let n="";t&&(n="\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details."),cr(`${pr}\n\tFailed parsing: < ${e.toString()} >\n\tUsing the @chevrotain/regexp-to-ast library\n\tPlease open an issue at: https://github.com/chevrotain/chevrotain/issues`+n)}}return[]}function gr(e,t,n){switch(e.type){case"Disjunction":for(let i=0;i<e.value.length;i++)gr(e.value[i],t,n);break;case"Alternative":const r=e.value;for(let e=0;e<r.length;e++){const i=r[e];switch(i.type){case"EndAnchor":case"GroupBackReference":case"Lookahead":case"NegativeLookahead":case"StartAnchor":case"WordBoundary":case"NonWordBoundary":continue}const s=i;switch(s.type){case"Character":yr(s.value,t,n);break;case"Set":if(!0===s.complement)throw Error(fr);(0,It.A)(s.value,(e=>{if("number"==typeof e)yr(e,t,n);else{const r=e;if(!0===n)for(let e=r.from;e<=r.to;e++)yr(e,t,n);else{for(let e=r.from;e<=r.to&&e<Fr;e++)yr(e,t,n);if(r.to>=Fr){const e=r.from>=Fr?r.from:Fr,n=r.to,i=Kr(e),s=Kr(n);for(let r=i;r<=s;r++)t[r]=r}}}}));break;case"Group":gr(s.value,t,n);break;default:throw Error("Non Exhaustive Match")}const o=void 0!==s.quantifier&&0===s.quantifier.atLeast;if("Group"===s.type&&!1===Tr(s)||"Group"!==s.type&&!1===o)break}break;default:throw Error("non exhaustive match!")}return(0,St.A)(t)}function yr(e,t,n){const r=Kr(e);t[r]=r,!0===n&&function(e,t){const n=String.fromCharCode(e),r=n.toUpperCase();if(r!==n){const e=Kr(r.charCodeAt(0));t[e]=e}else{const e=n.toLowerCase();if(e!==n){const n=Kr(e.charCodeAt(0));t[n]=n}}}(e,t)}function Ar(e,t){return(0,ar.A)(e.value,(e=>{if("number"==typeof e)return In(t,e);{const n=e;return void 0!==(0,ar.A)(t,(e=>n.from<=e&&e<=n.to))}}))}function Tr(e){const t=e.quantifier;return!(!t||0!==t.atLeast)||!!e.value&&((0,vn.A)(e.value)?Cn(e.value,Tr):Tr(e.value))}class vr extends tt{constructor(e){super(),this.targetCharCodes=e,this.found=!1}visitChildren(e){if(!0!==this.found){switch(e.type){case"Lookahead":return void this.visitLookahead(e);case"NegativeLookahead":return void this.visitNegativeLookahead(e)}super.visitChildren(e)}}visitCharacter(e){In(this.targetCharCodes,e.value)&&(this.found=!0)}visitSet(e){e.complement?void 0===Ar(e,this.targetCharCodes)&&(this.found=!0):void 0!==Ar(e,this.targetCharCodes)&&(this.found=!0)}}function Rr(e,t){if(t instanceof RegExp){const n=hr(t),r=new vr(e);return r.visit(n),r.found}return void 0!==(0,ar.A)(t,(t=>In(e,t.charCodeAt(0))))}const Er="PATTERN",kr="defaultMode",xr="modes";let Ir="boolean"==typeof new RegExp("(?:)").sticky;function Sr(e,t){const n=(t=(0,Gn.A)(t,{useSticky:Ir,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r","\n"],tracer:(e,t)=>t()})).tracer;let r;n("initCharCodeToOptimizedIndexMap",(()=>{!function(){if((0,Nt.A)(Gr)){Gr=new Array(65536);for(let e=0;e<65536;e++)Gr[e]=e>255?255+~~(e/255):e}}()})),n("Reject Lexer.NA",(()=>{r=Vn(e,(e=>e[Er]===ii.NA))}));let i,s,o,a,c,l,u,d,h,f,p,m=!1;n("Transform Patterns",(()=>{m=!1,i=(0,Ct.A)(r,(e=>{const n=e[Er];if(tn(n)){const e=n.source;return 1!==e.length||"^"===e||"$"===e||"."===e||n.ignoreCase?2!==e.length||"\\"!==e[0]||In(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],e[1])?t.useSticky?Lr(n):wr(n):e[1]:e}if((0,Hn.A)(n))return m=!0,{exec:n};if("object"==typeof n)return m=!0,n;if("string"==typeof n){if(1===n.length)return n;{const e=n.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),r=new RegExp(e);return t.useSticky?Lr(r):wr(r)}}throw Error("non exhaustive match")}))})),n("misc mapping",(()=>{s=(0,Ct.A)(r,(e=>e.tokenTypeIdx)),o=(0,Ct.A)(r,(e=>{const t=e.GROUP;if(t!==ii.SKIPPED){if((0,Pt.A)(t))return t;if((0,Fn.A)(t))return!1;throw Error("non exhaustive match")}})),a=(0,Ct.A)(r,(e=>{const t=e.LONGER_ALT;if(t){return(0,vn.A)(t)?(0,Ct.A)(t,(e=>zn(r,e))):[zn(r,t)]}})),c=(0,Ct.A)(r,(e=>e.PUSH_MODE)),l=(0,Ct.A)(r,(e=>(0,$t.A)(e,"POP_MODE")))})),n("Line Terminator Handling",(()=>{const e=Dr(t.lineTerminatorCharacters);u=(0,Ct.A)(r,(e=>!1)),"onlyOffset"!==t.positionTracking&&(u=(0,Ct.A)(r,(t=>(0,$t.A)(t,"LINE_BREAKS")?!!t.LINE_BREAKS:!1===Mr(t,e)&&Rr(e,t.PATTERN))))})),n("Misc Mapping #2",(()=>{d=(0,Ct.A)(r,br),h=(0,Ct.A)(i,_r),f=(0,Yn.A)(r,((e,t)=>{const n=t.GROUP;return(0,Pt.A)(n)&&n!==ii.SKIPPED&&(e[n]=[]),e}),{}),p=(0,Ct.A)(i,((e,t)=>({pattern:i[t],longerAlt:a[t],canLineTerminator:u[t],isCustom:d[t],short:h[t],group:o[t],push:c[t],pop:l[t],tokenTypeIdx:s[t],tokenType:r[t]})))}));let g=!0,y=[];return t.safeMode||n("First Char Optimization",(()=>{y=(0,Yn.A)(r,((e,n,r)=>{if("string"==typeof n.PATTERN){const t=Kr(n.PATTERN.charCodeAt(0));Ur(e,t,p[r])}else if((0,vn.A)(n.START_CHARS_HINT)){let t;(0,It.A)(n.START_CHARS_HINT,(n=>{const i=Kr("string"==typeof n?n.charCodeAt(0):n);t!==i&&(t=i,Ur(e,i,p[r]))}))}else if(tn(n.PATTERN))if(n.PATTERN.unicode)g=!1,t.ensureOptimizations&&cr(`${pr}\tUnable to analyze < ${n.PATTERN.toString()} > pattern.\n\tThe regexp unicode flag is not currently supported by the regexp-to-ast library.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{const i=mr(n.PATTERN,t.ensureOptimizations);(0,Nt.A)(i)&&(g=!1),(0,It.A)(i,(t=>{Ur(e,t,p[r])}))}else t.ensureOptimizations&&cr(`${pr}\tTokenType: <${n.name}> is using a custom token pattern without providing <start_chars_hint> parameter.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),g=!1;return e}),[])})),{emptyGroups:f,patternIdxToConfig:p,charCodeToPatternIdxToConfig:y,hasCustom:m,canBeOptimized:g}}function Nr(e,t){let n=[];const r=function(e){const t=(0,Xn.A)(e,(e=>!(0,$t.A)(e,Er))),n=(0,Ct.A)(t,(e=>({message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:ni.MISSING_PATTERN,tokenTypes:[e]}))),r=ir(e,t);return{errors:n,valid:r}}(e);n=n.concat(r.errors);const i=function(e){const t=(0,Xn.A)(e,(e=>{const t=e[Er];return!(tn(t)||(0,Hn.A)(t)||(0,$t.A)(t,"exec")||(0,Pt.A)(t))})),n=(0,Ct.A)(t,(e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:ni.INVALID_PATTERN,tokenTypes:[e]}))),r=ir(e,t);return{errors:n,valid:r}}(r.valid),s=i.valid;return n=n.concat(i.errors),n=n.concat(function(e){let t=[];const n=(0,Xn.A)(e,(e=>tn(e[Er])));return t=t.concat(function(e){class t extends tt{constructor(){super(...arguments),this.found=!1}visitEndAnchor(e){this.found=!0}}const n=(0,Xn.A)(e,(e=>{const n=e.PATTERN;try{const e=hr(n),r=new t;return r.visit(e),r.found}catch(r){return Cr.test(n.source)}})),r=(0,Ct.A)(n,(e=>({message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+e.name+"<- static 'PATTERN' cannot contain end of input anchor '$'\n\tSee chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:ni.EOI_ANCHOR_FOUND,tokenTypes:[e]})));return r}(n)),t=t.concat(function(e){class t extends tt{constructor(){super(...arguments),this.found=!1}visitStartAnchor(e){this.found=!0}}const n=(0,Xn.A)(e,(e=>{const n=e.PATTERN;try{const e=hr(n),r=new t;return r.visit(e),r.found}catch(r){return $r.test(n.source)}})),r=(0,Ct.A)(n,(e=>({message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+e.name+"<- static 'PATTERN' cannot contain start of input anchor '^'\n\tSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:ni.SOI_ANCHOR_FOUND,tokenTypes:[e]})));return r}(n)),t=t.concat(function(e){const t=(0,Xn.A)(e,(e=>{const t=e[Er];return t instanceof RegExp&&(t.multiline||t.global)})),n=(0,Ct.A)(t,(e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:ni.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]})));return n}(n)),t=t.concat(function(e){const t=[];let n=(0,Ct.A)(e,(n=>(0,Yn.A)(e,((e,r)=>(n.PATTERN.source!==r.PATTERN.source||In(t,r)||r.PATTERN===ii.NA||(t.push(r),e.push(r)),e)),[])));n=sr(n);const r=(0,Xn.A)(n,(e=>e.length>1)),i=(0,Ct.A)(r,(e=>{const t=(0,Ct.A)(e,(e=>e.name));return{message:`The same RegExp pattern ->${or(e).PATTERN}<-has been used in all of the following Token Types: ${t.join(", ")} <-`,type:ni.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}}));return i}(n)),t=t.concat(function(e){const t=(0,Xn.A)(e,(e=>e.PATTERN.test(""))),n=(0,Ct.A)(t,(e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' must not match an empty string",type:ni.EMPTY_MATCH_PATTERN,tokenTypes:[e]})));return n}(n)),t}(s)),n=n.concat(function(e){const t=(0,Xn.A)(e,(e=>{if(!(0,$t.A)(e,"GROUP"))return!1;const t=e.GROUP;return t!==ii.SKIPPED&&t!==ii.NA&&!(0,Pt.A)(t)})),n=(0,Ct.A)(t,(e=>({message:"Token Type: ->"+e.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:ni.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]})));return n}(s)),n=n.concat(function(e,t){const n=(0,Xn.A)(e,(e=>void 0!==e.PUSH_MODE&&!In(t,e.PUSH_MODE))),r=(0,Ct.A)(n,(e=>({message:`Token Type: ->${e.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${e.PUSH_MODE}<-which does not exist`,type:ni.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]})));return r}(s,t)),n=n.concat(function(e){const t=[],n=(0,Yn.A)(e,((e,t,n)=>{const r=t.PATTERN;return r===ii.NA||((0,Pt.A)(r)?e.push({str:r,idx:n,tokenType:t}):tn(r)&&function(e){const t=[".","\\","[","]","|","^","$","(",")","?","*","+","{"];return void 0===(0,ar.A)(t,(t=>-1!==e.source.indexOf(t)))}(r)&&e.push({str:r.source,idx:n,tokenType:t})),e}),[]);return(0,It.A)(e,((e,r)=>{(0,It.A)(n,(({str:n,idx:i,tokenType:s})=>{if(r<i&&function(e,t){if(tn(t)){const n=t.exec(e);return null!==n&&0===n.index}if((0,Hn.A)(t))return t(e,0,[],{});if((0,$t.A)(t,"exec"))return t.exec(e,0,[],{});if("string"==typeof t)return t===e;throw Error("non exhaustive match")}(n,e.PATTERN)){const n=`Token: ->${s.name}<- can never be matched.\nBecause it appears AFTER the Token Type ->${e.name}<-in the lexer's definition.\nSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;t.push({message:n,type:ni.UNREACHABLE_PATTERN,tokenTypes:[e,s]})}}))})),t}(s)),n}const Cr=/[^\\][$]/;const $r=/[^\\[][\^]|^\^/;function wr(e){const t=e.ignoreCase?"i":"";return new RegExp(`^(?:${e.source})`,t)}function Lr(e){const t=e.ignoreCase?"iy":"y";return new RegExp(`${e.source}`,t)}function Or(e,t,n){const r=[];let i=!1;const s=sr((0,Pn.A)((0,St.A)(e.modes))),o=Vn(s,(e=>e[Er]===ii.NA)),a=Dr(n);return t&&(0,It.A)(o,(e=>{const t=Mr(e,a);if(!1!==t){const n=function(e,t){if(t.issue===ni.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern.\n\tThe problem is in the <${e.name}> Token Type\n\t Root cause: ${t.errMsg}.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(t.issue===ni.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the <line_breaks> option.\n\tThe problem is in the <${e.name}> Token Type\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}(e,t),i={message:n,type:t.issue,tokenType:e};r.push(i)}else(0,$t.A)(e,"LINE_BREAKS")?!0===e.LINE_BREAKS&&(i=!0):Rr(a,e.PATTERN)&&(i=!0)})),t&&!i&&r.push({message:"Warning: No LINE_BREAKS Found.\n\tThis Lexer has been defined to track line and column information,\n\tBut none of the Token Types can be identified as matching a line terminator.\n\tSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS \n\tfor details.",type:ni.NO_LINE_BREAKS_FLAGS}),r}function br(e){const t=e.PATTERN;if(tn(t))return!1;if((0,Hn.A)(t))return!0;if((0,$t.A)(t,"exec"))return!0;if((0,Pt.A)(t))return!1;throw Error("non exhaustive match")}function _r(e){return!(!(0,Pt.A)(e)||1!==e.length)&&e.charCodeAt(0)}const Pr={test:function(e){const t=e.length;for(let n=this.lastIndex;n<t;n++){const t=e.charCodeAt(n);if(10===t)return this.lastIndex=n+1,!0;if(13===t)return 10===e.charCodeAt(n+1)?this.lastIndex=n+2:this.lastIndex=n+1,!0}return!1},lastIndex:0};function Mr(e,t){if((0,$t.A)(e,"LINE_BREAKS"))return!1;if(tn(e.PATTERN)){try{Rr(t,e.PATTERN)}catch(n){return{issue:ni.IDENTIFY_TERMINATOR,errMsg:n.message}}return!1}if((0,Pt.A)(e.PATTERN))return!1;if(br(e))return{issue:ni.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}function Dr(e){return(0,Ct.A)(e,(e=>(0,Pt.A)(e)?e.charCodeAt(0):e))}function Ur(e,t,n){void 0===e[t]?e[t]=[n]:e[t].push(n)}const Fr=256;let Gr=[];function Kr(e){return e<Fr?e:Gr[e]}var Br=n(29008),jr=n(42302),Vr=n(26666);function Hr(e){const t=(new Date).getTime(),n=e();return{time:(new Date).getTime()-t,value:n}}function Wr(e,t){const n=e.tokenTypeIdx;return n===t.tokenTypeIdx||!0===t.isParent&&!0===t.categoryMatchesMap[n]}function zr(e,t){return e.tokenTypeIdx===t.tokenTypeIdx}let Yr=1;const Xr={};function qr(e){const t=function(e){let t=(0,wt.A)(e),n=e,r=!0;for(;r;){n=sr((0,Pn.A)((0,Ct.A)(n,(e=>e.CATEGORIES))));const e=ir(n,t);t=t.concat(e),(0,Nt.A)(e)?r=!1:n=e}return t}(e);!function(e){(0,It.A)(e,(e=>{var t;Jr(e)||(Xr[Yr]=e,e.tokenTypeIdx=Yr++),Zr(e)&&!(0,vn.A)(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),Zr(e)||(e.CATEGORIES=[]),t=e,(0,$t.A)(t,"categoryMatches")||(e.categoryMatches=[]),function(e){return(0,$t.A)(e,"categoryMatchesMap")}(e)||(e.categoryMatchesMap={})}))}(t),function(e){(0,It.A)(e,(e=>{Qr([],e)}))}(t),function(e){(0,It.A)(e,(e=>{e.categoryMatches=[],(0,It.A)(e.categoryMatchesMap,((t,n)=>{e.categoryMatches.push(Xr[n].tokenTypeIdx)}))}))}(t),(0,It.A)(t,(e=>{e.isParent=e.categoryMatches.length>0}))}function Qr(e,t){(0,It.A)(e,(e=>{t.categoryMatchesMap[e.tokenTypeIdx]=!0})),(0,It.A)(t.CATEGORIES,(n=>{const r=e.concat(t);In(r,n)||Qr(r,n)}))}function Jr(e){return(0,$t.A)(e,"tokenTypeIdx")}function Zr(e){return(0,$t.A)(e,"CATEGORIES")}function ei(e){return(0,$t.A)(e,"tokenTypeIdx")}const ti={buildUnableToPopLexerModeMessage:e=>`Unable to pop Lexer Mode after encountering Token ->${e.image}<- The Mode Stack is empty`,buildUnexpectedCharactersMessage:(e,t,n,r,i)=>`unexpected character: ->${e.charAt(t)}<- at offset: ${t}, skipped ${n} characters.`};var ni;!function(e){e[e.MISSING_PATTERN=0]="MISSING_PATTERN",e[e.INVALID_PATTERN=1]="INVALID_PATTERN",e[e.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",e[e.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",e[e.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",e[e.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",e[e.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",e[e.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",e[e.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",e[e.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",e[e.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",e[e.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",e[e.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",e[e.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",e[e.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",e[e.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",e[e.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",e[e.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE"}(ni||(ni={}));const ri={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:["\n","\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:ti,traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(ri);class ii{constructor(e,t=ri){if(this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(e,t)=>{if(!0===this.traceInitPerf){this.traceInitIndent++;const n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent<this.traceInitMaxIdent&&console.log(`${n}--\x3e <${e}>`);const{time:r,value:i}=Hr(t),s=r>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&s(`${n}<-- <${e}> time: ${r}ms`),this.traceInitIndent--,i}return t()},"boolean"==typeof t)throw Error("The second argument to the Lexer constructor is now an ILexerConfig Object.\na boolean 2nd argument is no longer supported");this.config=jt({},ri,t);const n=this.config.traceInitPerf;!0===n?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):"number"==typeof n&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",(()=>{let n,r=!0;this.TRACE_INIT("Lexer Config handling",(()=>{if(this.config.lineTerminatorsPattern===ri.lineTerminatorsPattern)this.config.lineTerminatorsPattern=Pr;else if(this.config.lineTerminatorCharacters===ri.lineTerminatorCharacters)throw Error("Error: Missing <lineTerminatorCharacters> property on the Lexer config.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");if(t.safeMode&&t.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),(0,vn.A)(e)?n={modes:{defaultMode:(0,wt.A)(e)},defaultMode:kr}:(r=!1,n=(0,wt.A)(e))})),!1===this.config.skipValidations&&(this.TRACE_INIT("performRuntimeChecks",(()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(function(e){const t=[];return(0,$t.A)(e,kr)||t.push({message:"A MultiMode Lexer cannot be initialized without a <"+kr+"> property in its definition\n",type:ni.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),(0,$t.A)(e,xr)||t.push({message:"A MultiMode Lexer cannot be initialized without a <modes> property in its definition\n",type:ni.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,$t.A)(e,xr)&&(0,$t.A)(e,kr)&&!(0,$t.A)(e.modes,e.defaultMode)&&t.push({message:`A MultiMode Lexer cannot be initialized with a ${kr}: <${e.defaultMode}>which does not exist\n`,type:ni.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,$t.A)(e,xr)&&(0,It.A)(e.modes,((e,n)=>{(0,It.A)(e,((r,i)=>{if((0,Fn.A)(r))t.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${n}> at index: <${i}>\n`,type:ni.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED});else if((0,$t.A)(r,"LONGER_ALT")){const i=(0,vn.A)(r.LONGER_ALT)?r.LONGER_ALT:[r.LONGER_ALT];(0,It.A)(i,(i=>{(0,Fn.A)(i)||In(e,i)||t.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${i.name}> on token <${r.name}> outside of mode <${n}>\n`,type:ni.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})}))}}))})),t}(n,this.trackStartLines,this.config.lineTerminatorCharacters))})),this.TRACE_INIT("performWarningRuntimeChecks",(()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(Or(n,this.trackStartLines,this.config.lineTerminatorCharacters))}))),n.modes=n.modes?n.modes:{},(0,It.A)(n.modes,((e,t)=>{n.modes[t]=Vn(e,(e=>(0,Fn.A)(e)))}));const i=(0,Kt.A)(n.modes);if((0,It.A)(n.modes,((e,n)=>{this.TRACE_INIT(`Mode: <${n}> processing`,(()=>{if(this.modes.push(n),!1===this.config.skipValidations&&this.TRACE_INIT("validatePatterns",(()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(Nr(e,i))})),(0,Nt.A)(this.lexerDefinitionErrors)){let r;qr(e),this.TRACE_INIT("analyzeTokenTypes",(()=>{r=Sr(e,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:this.TRACE_INIT})})),this.patternIdxToConfig[n]=r.patternIdxToConfig,this.charCodeToPatternIdxToConfig[n]=r.charCodeToPatternIdxToConfig,this.emptyGroups=jt({},this.emptyGroups,r.emptyGroups),this.hasCustom=r.hasCustom||this.hasCustom,this.canModeBeOptimized[n]=r.canBeOptimized}}))})),this.defaultMode=n.defaultMode,!(0,Nt.A)(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling){const e=(0,Ct.A)(this.lexerDefinitionErrors,(e=>e.message)).join("-----------------------\n");throw new Error("Errors detected in definition of Lexer:\n"+e)}(0,It.A)(this.lexerDefinitionWarning,(e=>{lr(e.message)})),this.TRACE_INIT("Choosing sub-methods implementations",(()=>{if(Ir?(this.chopInput=Br.A,this.match=this.matchWithTest):(this.updateLastIndex=jr.A,this.match=this.matchWithExec),r&&(this.handleModes=jr.A),!1===this.trackStartLines&&(this.computeNewColumn=Br.A),!1===this.trackEndLines&&(this.updateTokenEndLineColumnLocation=jr.A),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else{if(!/onlyOffset/i.test(this.config.positionTracking))throw Error(`Invalid <positionTracking> config option: "${this.config.positionTracking}"`);this.createTokenInstance=this.createOffsetOnlyToken}this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)})),this.TRACE_INIT("Failed Optimization Warnings",(()=>{const e=(0,Yn.A)(this.canModeBeOptimized,((e,t,n)=>(!1===t&&e.push(n),e)),[]);if(t.ensureOptimizations&&!(0,Nt.A)(e))throw Error(`Lexer Modes: < ${e.join(", ")} > cannot be optimized.\n\t Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.\n\t Or inspect the console log for details on how to resolve these issues.`)})),this.TRACE_INIT("clearRegExpParserCache",(()=>{ur={}})),this.TRACE_INIT("toFastProperties",(()=>{Lt(this)}))}))}tokenize(e,t=this.defaultMode){if(!(0,Nt.A)(this.lexerDefinitionErrors)){const e=(0,Ct.A)(this.lexerDefinitionErrors,(e=>e.message)).join("-----------------------\n");throw new Error("Unable to Tokenize because Errors detected in definition of Lexer:\n"+e)}return this.tokenizeInternal(e,t)}tokenizeInternal(e,t){let n,r,i,s,o,a,c,l,u,d,h,f,p,m,g;const y=e,A=y.length;let T=0,v=0;const R=this.hasCustom?0:Math.floor(e.length/10),E=new Array(R),k=[];let x=this.trackStartLines?1:void 0,I=this.trackStartLines?1:void 0;const S=function(e){const t={},n=(0,Kt.A)(e);return(0,It.A)(n,(n=>{const r=e[n];if(!(0,vn.A)(r))throw Error("non exhaustive match");t[n]=[]})),t}(this.emptyGroups),N=this.trackStartLines,C=this.config.lineTerminatorsPattern;let $=0,w=[],L=[];const O=[],b=[];let _;function P(){return w}function M(e){const t=Kr(e),n=L[t];return void 0===n?b:n}Object.freeze(b);const D=e=>{if(1===O.length&&void 0===e.tokenType.PUSH_MODE){const t=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);k.push({offset:e.startOffset,line:e.startLine,column:e.startColumn,length:e.image.length,message:t})}else{O.pop();const e=(0,Vr.A)(O);w=this.patternIdxToConfig[e],L=this.charCodeToPatternIdxToConfig[e],$=w.length;const t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;_=L&&t?M:P}};function U(e){O.push(e),L=this.charCodeToPatternIdxToConfig[e],w=this.patternIdxToConfig[e],$=w.length,$=w.length;const t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;_=L&&t?M:P}let F;U.call(this,t);const G=this.config.recoveryEnabled;for(;T<A;){a=null;const t=y.charCodeAt(T),R=_(t),L=R.length;for(n=0;n<L;n++){F=R[n];const r=F.pattern;c=null;const u=F.short;if(!1!==u?t===u&&(a=r):!0===F.isCustom?(g=r.exec(y,T,E,S),null!==g?(a=g[0],void 0!==g.payload&&(c=g.payload)):a=null):(this.updateLastIndex(r,T),a=this.match(r,e,T)),null!==a){if(o=F.longerAlt,void 0!==o){const t=o.length;for(i=0;i<t;i++){const t=w[o[i]],n=t.pattern;if(l=null,!0===t.isCustom?(g=n.exec(y,T,E,S),null!==g?(s=g[0],void 0!==g.payload&&(l=g.payload)):s=null):(this.updateLastIndex(n,T),s=this.match(n,e,T)),s&&s.length>a.length){a=s,c=l,F=t;break}}}break}}if(null!==a){if(u=a.length,d=F.group,void 0!==d&&(h=F.tokenTypeIdx,f=this.createTokenInstance(a,T,h,F.tokenType,x,I,u),this.handlePayload(f,c),!1===d?v=this.addToken(E,v,f):S[d].push(f)),e=this.chopInput(e,u),T+=u,I=this.computeNewColumn(I,u),!0===N&&!0===F.canLineTerminator){let e,t,n=0;C.lastIndex=0;do{e=C.test(a),!0===e&&(t=C.lastIndex-1,n++)}while(!0===e);0!==n&&(x+=n,I=u-t,this.updateTokenEndLineColumnLocation(f,d,t,n,x,I,u))}this.handleModes(F,D,U,f)}else{const t=T,n=x,i=I;let s=!1===G;for(;!1===s&&T<A;)for(e=this.chopInput(e,1),T++,r=0;r<$;r++){const t=w[r],n=t.pattern,i=t.short;if(!1!==i?y.charCodeAt(T)===i&&(s=!0):!0===t.isCustom?s=null!==n.exec(y,T,E,S):(this.updateLastIndex(n,T),s=null!==n.exec(e)),!0===s)break}if(p=T-t,I=this.computeNewColumn(I,p),m=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(y,t,p,n,i),k.push({offset:t,line:n,column:i,length:p,message:m}),!1===G)break}}return this.hasCustom||(E.length=v),{tokens:E,groups:S,errors:k}}handleModes(e,t,n,r){if(!0===e.pop){const i=e.push;t(r),void 0!==i&&n.call(this,i)}else void 0!==e.push&&n.call(this,e.push)}chopInput(e,t){return e.substring(t)}updateLastIndex(e,t){e.lastIndex=t}updateTokenEndLineColumnLocation(e,t,n,r,i,s,o){let a,c;void 0!==t&&(a=n===o-1,c=a?-1:0,1===r&&!0===a||(e.endLine=i+c,e.endColumn=s-1-c))}computeNewColumn(e,t){return e+t}createOffsetOnlyToken(e,t,n,r){return{image:e,startOffset:t,tokenTypeIdx:n,tokenType:r}}createStartOnlyToken(e,t,n,r,i,s){return{image:e,startOffset:t,startLine:i,startColumn:s,tokenTypeIdx:n,tokenType:r}}createFullToken(e,t,n,r,i,s,o){return{image:e,startOffset:t,endOffset:t+o-1,startLine:i,endLine:i,startColumn:s,endColumn:s+o-1,tokenTypeIdx:n,tokenType:r}}addTokenUsingPush(e,t,n){return e.push(n),t}addTokenUsingMemberAccess(e,t,n){return e[t]=n,++t}handlePayloadNoCustom(e,t){}handlePayloadWithCustom(e,t){null!==t&&(e.payload=t)}matchWithTest(e,t,n){return!0===e.test(t)?t.substring(n,e.lastIndex):null}matchWithExec(e,t){const n=e.exec(t);return null!==n?n[0]:null}}function si(e){return oi(e)?e.LABEL:e.name}function oi(e){return(0,Pt.A)(e.LABEL)&&""!==e.LABEL}ii.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",ii.NA=/NOT_APPLICABLE/;const ai="parent",ci="categories",li="label",ui="group",di="push_mode",hi="pop_mode",fi="longer_alt",pi="line_breaks",mi="start_chars_hint";function gi(e){return function(e){const t=e.pattern,n={};n.name=e.name,(0,Fn.A)(t)||(n.PATTERN=t);if((0,$t.A)(e,ai))throw"The parent property is no longer supported.\nSee: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.";(0,$t.A)(e,ci)&&(n.CATEGORIES=e[ci]);qr([n]),(0,$t.A)(e,li)&&(n.LABEL=e[li]);(0,$t.A)(e,ui)&&(n.GROUP=e[ui]);(0,$t.A)(e,hi)&&(n.POP_MODE=e[hi]);(0,$t.A)(e,di)&&(n.PUSH_MODE=e[di]);(0,$t.A)(e,fi)&&(n.LONGER_ALT=e[fi]);(0,$t.A)(e,pi)&&(n.LINE_BREAKS=e[pi]);(0,$t.A)(e,mi)&&(n.START_CHARS_HINT=e[mi]);return n}(e)}const yi=gi({name:"EOF",pattern:ii.NA});function Ai(e,t,n,r,i,s,o,a){return{image:t,startOffset:n,endOffset:r,startLine:i,endLine:s,startColumn:o,endColumn:a,tokenTypeIdx:e.tokenTypeIdx,tokenType:e}}function Ti(e,t){return Wr(e,t)}qr([yi]);const vi={buildMismatchTokenMessage:({expected:e,actual:t,previous:n,ruleName:r})=>`Expecting ${oi(e)?`--\x3e ${si(e)} <--`:`token of type --\x3e ${e.name} <--`} but found --\x3e '${t.image}' <--`,buildNotAllInputParsedMessage:({firstRedundant:e,ruleName:t})=>"Redundant input, expecting EOF but found: "+e.image,buildNoViableAltMessage({expectedPathsPerAlt:e,actual:t,previous:n,customUserDescription:r,ruleName:i}){const s="Expecting: ",o="\nbut found: '"+or(t).image+"'";if(r)return s+r+o;{const t=(0,Yn.A)(e,((e,t)=>e.concat(t)),[]),n=(0,Ct.A)(t,(e=>`[${(0,Ct.A)(e,(e=>si(e))).join(", ")}]`));return s+`one of these possible Token sequences:\n${(0,Ct.A)(n,((e,t)=>` ${t+1}. ${e}`)).join("\n")}`+o}},buildEarlyExitMessage({expectedIterationPaths:e,actual:t,customUserDescription:n,ruleName:r}){const i="Expecting: ",s="\nbut found: '"+or(t).image+"'";if(n)return i+n+s;return i+`expecting at least one iteration which starts with one of these possible Token sequences::\n <${(0,Ct.A)(e,(e=>`[${(0,Ct.A)(e,(e=>si(e))).join(",")}]`)).join(" ,")}>`+s}};Object.freeze(vi);const Ri={buildRuleNotFoundError:(e,t)=>"Invalid grammar, reference to a rule which is not defined: ->"+t.nonTerminalName+"<-\ninside top level rule: ->"+e.name+"<-"},Ei={buildDuplicateFoundError(e,t){const n=e.name,r=or(t),i=r.idx,s=wn(r),o=(a=r)instanceof pn?a.terminalType.name:a instanceof sn?a.nonTerminalName:"";var a;let c=`->${s}${i>0?i:""}<- ${o?`with argument: ->${o}<-`:""}\n appears more than once (${t.length} times) in the top level rule: ->${n}<-. \n For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES \n `;return c=c.replace(/[ \t]+/g," "),c=c.replace(/\s\s+/g,"\n"),c},buildNamespaceConflictError:e=>`Namespace conflict found in grammar.\nThe grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${e.name}>.\nTo resolve this make sure each Terminal and Non-Terminal names are unique\nThis is easy to accomplish by using the convention that Terminal names start with an uppercase letter\nand Non-Terminal names start with a lower case letter.`,buildAlternationPrefixAmbiguityError(e){const t=(0,Ct.A)(e.prefixPath,(e=>si(e))).join(", "),n=0===e.alternation.idx?"":e.alternation.idx;return`Ambiguous alternatives: <${e.ambiguityIndices.join(" ,")}> due to common lookahead prefix\nin <OR${n}> inside <${e.topLevelRule.name}> Rule,\n<${t}> may appears as a prefix path in all these alternatives.\nSee: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX\nFor Further details.`},buildAlternationAmbiguityError(e){const t=(0,Ct.A)(e.prefixPath,(e=>si(e))).join(", "),n=0===e.alternation.idx?"":e.alternation.idx;let r=`Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(" ,")}> in <OR${n}> inside <${e.topLevelRule.name}> Rule,\n<${t}> may appears as a prefix path in all these alternatives.\n`;return r+="See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.",r},buildEmptyRepetitionError(e){let t=wn(e.repetition);0!==e.repetition.idx&&(t+=e.repetition.idx);return`The repetition <${t}> within Rule <${e.topLevelRule.name}> can never consume any tokens.\nThis could lead to an infinite loop.`},buildTokenNameError:e=>"deprecated",buildEmptyAlternationError:e=>`Ambiguous empty alternative: <${e.emptyChoiceIdx+1}> in <OR${e.alternation.idx}> inside <${e.topLevelRule.name}> Rule.\nOnly the last alternative may be an empty alternative.`,buildTooManyAlternativesError:e=>`An Alternation cannot have more than 256 alternatives:\n<OR${e.alternation.idx}> inside <${e.topLevelRule.name}> Rule.\n has ${e.alternation.definition.length+1} alternatives.`,buildLeftRecursionError(e){const t=e.topLevelRule.name;return`Left Recursion found in grammar.\nrule: <${t}> can be invoked from itself (directly or indirectly)\nwithout consuming any Tokens. The grammar path that causes this is: \n ${`${t} --\x3e ${(0,Ct.A)(e.leftRecursionPath,(e=>e.name)).concat([t]).join(" --\x3e ")}`}\n To fix this refactor your grammar to remove the left recursion.\nsee: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError:e=>"deprecated",buildDuplicateRuleNameError(e){let t;t=e.topLevelRule instanceof on?e.topLevelRule.name:e.topLevelRule;return`Duplicate definition, rule: ->${t}<- is already defined in the grammar: ->${e.grammarName}<-`}};class ki extends gn{constructor(e,t){super(),this.nameToTopRule=e,this.errMsgProvider=t,this.errors=[]}resolveRefs(){(0,It.A)((0,St.A)(this.nameToTopRule),(e=>{this.currTopLevel=e,e.accept(this)}))}visitNonTerminal(e){const t=this.nameToTopRule[e.nonTerminalName];if(t)e.referencedRule=t;else{const t=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,e);this.errors.push({message:t,type:eo.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}}}const xi=function(e,t){return(0,tr.A)((0,Ct.A)(e,t),1)};var Ii=n(52528);const Si=function(e,t,n,r){for(var i=-1,s=null==e?0:e.length;++i<s;){var o=e[i];t(r,o,n(o),e)}return r};const Ni=function(e,t,n,r){return(0,An.A)(e,(function(e,i,s){t(r,e,n(e),s)})),r};const Ci=function(e,t){return function(n,r){var i=(0,vn.A)(n)?Si:Ni,s=t?t():{};return i(n,e,(0,Ht.A)(r,2),s)}};var $i=Object.prototype.hasOwnProperty;const wi=Ci((function(e,t,n){$i.call(e,n)?e[n].push(t):(0,Ii.A)(e,n,[t])}));const Li=function(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:(0,bt.A)(t),Ot(e,0,(t=r-t)<0?0:t)):[]};class Oi extends Ln{constructor(e,t){super(),this.topProd=e,this.path=t,this.possibleTokTypes=[],this.nextProductionName="",this.nextProductionOccurrence=0,this.found=!1,this.isAtEndOfPath=!1}startWalking(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=(0,wt.A)(this.path.ruleStack).reverse(),this.occurrenceStack=(0,wt.A)(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes}walk(e,t=[]){this.found||super.walk(e,t)}walkProdRef(e,t,n){if(e.referencedRule.name===this.nextProductionName&&e.idx===this.nextProductionOccurrence){const r=t.concat(n);this.updateExpectedNext(),this.walk(e.referencedRule,r)}}updateExpectedNext(){(0,Nt.A)(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())}}class bi extends Oi{constructor(e,t){super(e,t),this.path=t,this.nextTerminalName="",this.nextTerminalOccurrence=0,this.nextTerminalName=this.path.lastTok.name,this.nextTerminalOccurrence=this.path.lastTokOccurrence}walkTerminal(e,t,n){if(this.isAtEndOfPath&&e.terminalType.name===this.nextTerminalName&&e.idx===this.nextTerminalOccurrence&&!this.found){const e=t.concat(n),r=new an({definition:e});this.possibleTokTypes=Mn(r),this.found=!0}}}class _i extends Ln{constructor(e,t){super(),this.topRule=e,this.occurrence=t,this.result={token:void 0,occurrence:void 0,isEndOfRule:void 0}}startWalking(){return this.walk(this.topRule),this.result}}class Pi extends _i{walkMany(e,t,n){if(e.idx===this.occurrence){const e=or(t.concat(n));this.result.isEndOfRule=void 0===e,e instanceof pn&&(this.result.token=e.terminalType,this.result.occurrence=e.idx)}else super.walkMany(e,t,n)}}class Mi extends _i{walkManySep(e,t,n){if(e.idx===this.occurrence){const e=or(t.concat(n));this.result.isEndOfRule=void 0===e,e instanceof pn&&(this.result.token=e.terminalType,this.result.occurrence=e.idx)}else super.walkManySep(e,t,n)}}class Di extends _i{walkAtLeastOne(e,t,n){if(e.idx===this.occurrence){const e=or(t.concat(n));this.result.isEndOfRule=void 0===e,e instanceof pn&&(this.result.token=e.terminalType,this.result.occurrence=e.idx)}else super.walkAtLeastOne(e,t,n)}}class Ui extends _i{walkAtLeastOneSep(e,t,n){if(e.idx===this.occurrence){const e=or(t.concat(n));this.result.isEndOfRule=void 0===e,e instanceof pn&&(this.result.token=e.terminalType,this.result.occurrence=e.idx)}else super.walkAtLeastOneSep(e,t,n)}}function Fi(e,t,n=[]){n=(0,wt.A)(n);let r=[],i=0;function s(s){const o=Fi(s.concat(_t(e,i+1)),t,n);return r.concat(o)}for(;n.length<t&&i<e.length;){const t=e[i];if(t instanceof an)return s(t.definition);if(t instanceof sn)return s(t.definition);if(t instanceof cn)r=s(t.definition);else{if(t instanceof ln){return s(t.definition.concat([new dn({definition:t.definition})]))}if(t instanceof un){return s([new an({definition:t.definition}),new dn({definition:[new pn({terminalType:t.separator})].concat(t.definition)})])}if(t instanceof hn){const e=t.definition.concat([new dn({definition:[new pn({terminalType:t.separator})].concat(t.definition)})]);r=s(e)}else if(t instanceof dn){const e=t.definition.concat([new dn({definition:t.definition})]);r=s(e)}else{if(t instanceof fn)return(0,It.A)(t.definition,(e=>{!1===(0,Nt.A)(e.definition)&&(r=s(e.definition))})),r;if(!(t instanceof pn))throw Error("non exhaustive match");n.push(t.terminalType)}}i++}return r.push({partialPath:n,suffixDef:_t(e,i)}),r}function Gi(e,t,n,r){const i="EXIT_NONE_TERMINAL",s=[i],o="EXIT_ALTERNATIVE";let a=!1;const c=t.length,l=c-r-1,u=[],d=[];for(d.push({idx:-1,def:e,ruleStack:[],occurrenceStack:[]});!(0,Nt.A)(d);){const e=d.pop();if(e===o){a&&(0,Vr.A)(d).idx<=l&&d.pop();continue}const r=e.def,h=e.idx,f=e.ruleStack,p=e.occurrenceStack;if((0,Nt.A)(r))continue;const m=r[0];if(m===i){const e={idx:h,def:_t(r),ruleStack:Li(f),occurrenceStack:Li(p)};d.push(e)}else if(m instanceof pn)if(h<c-1){const e=h+1;if(n(t[e],m.terminalType)){const t={idx:e,def:_t(r),ruleStack:f,occurrenceStack:p};d.push(t)}}else{if(h!==c-1)throw Error("non exhaustive match");u.push({nextTokenType:m.terminalType,nextTokenOccurrence:m.idx,ruleStack:f,occurrenceStack:p}),a=!0}else if(m instanceof sn){const e=(0,wt.A)(f);e.push(m.nonTerminalName);const t=(0,wt.A)(p);t.push(m.idx);const n={idx:h,def:m.definition.concat(s,_t(r)),ruleStack:e,occurrenceStack:t};d.push(n)}else if(m instanceof cn){const e={idx:h,def:_t(r),ruleStack:f,occurrenceStack:p};d.push(e),d.push(o);const t={idx:h,def:m.definition.concat(_t(r)),ruleStack:f,occurrenceStack:p};d.push(t)}else if(m instanceof ln){const e=new dn({definition:m.definition,idx:m.idx}),t={idx:h,def:m.definition.concat([e],_t(r)),ruleStack:f,occurrenceStack:p};d.push(t)}else if(m instanceof un){const e=new pn({terminalType:m.separator}),t=new dn({definition:[e].concat(m.definition),idx:m.idx}),n={idx:h,def:m.definition.concat([t],_t(r)),ruleStack:f,occurrenceStack:p};d.push(n)}else if(m instanceof hn){const e={idx:h,def:_t(r),ruleStack:f,occurrenceStack:p};d.push(e),d.push(o);const t=new pn({terminalType:m.separator}),n=new dn({definition:[t].concat(m.definition),idx:m.idx}),i={idx:h,def:m.definition.concat([n],_t(r)),ruleStack:f,occurrenceStack:p};d.push(i)}else if(m instanceof dn){const e={idx:h,def:_t(r),ruleStack:f,occurrenceStack:p};d.push(e),d.push(o);const t=new dn({definition:m.definition,idx:m.idx}),n={idx:h,def:m.definition.concat([t],_t(r)),ruleStack:f,occurrenceStack:p};d.push(n)}else if(m instanceof fn)for(let t=m.definition.length-1;t>=0;t--){const e={idx:h,def:m.definition[t].definition.concat(_t(r)),ruleStack:f,occurrenceStack:p};d.push(e),d.push(o)}else if(m instanceof an)d.push({idx:h,def:m.definition.concat(_t(r)),ruleStack:f,occurrenceStack:p});else{if(!(m instanceof on))throw Error("non exhaustive match");d.push(Ki(m,h,f,p))}}return u}function Ki(e,t,n,r){const i=(0,wt.A)(n);i.push(e.name);const s=(0,wt.A)(r);return s.push(1),{idx:t,def:e.definition,ruleStack:i,occurrenceStack:s}}var Bi;function ji(e){if(e instanceof cn||"Option"===e)return Bi.OPTION;if(e instanceof dn||"Repetition"===e)return Bi.REPETITION;if(e instanceof ln||"RepetitionMandatory"===e)return Bi.REPETITION_MANDATORY;if(e instanceof un||"RepetitionMandatoryWithSeparator"===e)return Bi.REPETITION_MANDATORY_WITH_SEPARATOR;if(e instanceof hn||"RepetitionWithSeparator"===e)return Bi.REPETITION_WITH_SEPARATOR;if(e instanceof fn||"Alternation"===e)return Bi.ALTERNATION;throw Error("non exhaustive match")}function Vi(e){const{occurrence:t,rule:n,prodType:r,maxLookahead:i}=e,s=ji(r);return s===Bi.ALTERNATION?Zi(t,n,i):es(t,n,s,i)}function Hi(e,t,n,r){const i=e.length,s=Cn(e,(e=>Cn(e,(e=>1===e.length))));if(t)return function(t){const r=(0,Ct.A)(t,(e=>e.GATE));for(let s=0;s<i;s++){const t=e[s],i=t.length,o=r[s];if(void 0===o||!1!==o.call(this))e:for(let e=0;e<i;e++){const r=t[e],i=r.length;for(let e=0;e<i;e++){const t=this.LA(e+1);if(!1===n(t,r[e]))continue e}return s}}};if(s&&!r){const t=(0,Ct.A)(e,(e=>(0,Pn.A)(e))),n=(0,Yn.A)(t,((e,t,n)=>((0,It.A)(t,(t=>{(0,$t.A)(e,t.tokenTypeIdx)||(e[t.tokenTypeIdx]=n),(0,It.A)(t.categoryMatches,(t=>{(0,$t.A)(e,t)||(e[t]=n)}))})),e)),{});return function(){const e=this.LA(1);return n[e.tokenTypeIdx]}}return function(){for(let t=0;t<i;t++){const r=e[t],i=r.length;e:for(let e=0;e<i;e++){const i=r[e],s=i.length;for(let e=0;e<s;e++){const t=this.LA(e+1);if(!1===n(t,i[e]))continue e}return t}}}}function Wi(e,t,n){const r=Cn(e,(e=>1===e.length)),i=e.length;if(r&&!n){const t=(0,Pn.A)(e);if(1===t.length&&(0,Nt.A)(t[0].categoryMatches)){const e=t[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===e}}{const e=(0,Yn.A)(t,((e,t,n)=>(e[t.tokenTypeIdx]=!0,(0,It.A)(t.categoryMatches,(t=>{e[t]=!0})),e)),[]);return function(){const t=this.LA(1);return!0===e[t.tokenTypeIdx]}}}return function(){e:for(let n=0;n<i;n++){const r=e[n],i=r.length;for(let e=0;e<i;e++){const n=this.LA(e+1);if(!1===t(n,r[e]))continue e}return!0}return!1}}!function(e){e[e.OPTION=0]="OPTION",e[e.REPETITION=1]="REPETITION",e[e.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",e[e.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",e[e.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",e[e.ALTERNATION=5]="ALTERNATION"}(Bi||(Bi={}));class zi extends Ln{constructor(e,t,n){super(),this.topProd=e,this.targetOccurrence=t,this.targetProdType=n}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(e,t,n,r){return e.idx===this.targetOccurrence&&this.targetProdType===t&&(this.restDef=n.concat(r),!0)}walkOption(e,t,n){this.checkIsTarget(e,Bi.OPTION,t,n)||super.walkOption(e,t,n)}walkAtLeastOne(e,t,n){this.checkIsTarget(e,Bi.REPETITION_MANDATORY,t,n)||super.walkOption(e,t,n)}walkAtLeastOneSep(e,t,n){this.checkIsTarget(e,Bi.REPETITION_MANDATORY_WITH_SEPARATOR,t,n)||super.walkOption(e,t,n)}walkMany(e,t,n){this.checkIsTarget(e,Bi.REPETITION,t,n)||super.walkOption(e,t,n)}walkManySep(e,t,n){this.checkIsTarget(e,Bi.REPETITION_WITH_SEPARATOR,t,n)||super.walkOption(e,t,n)}}class Yi extends gn{constructor(e,t,n){super(),this.targetOccurrence=e,this.targetProdType=t,this.targetRef=n,this.result=[]}checkIsTarget(e,t){e.idx!==this.targetOccurrence||this.targetProdType!==t||void 0!==this.targetRef&&e!==this.targetRef||(this.result=e.definition)}visitOption(e){this.checkIsTarget(e,Bi.OPTION)}visitRepetition(e){this.checkIsTarget(e,Bi.REPETITION)}visitRepetitionMandatory(e){this.checkIsTarget(e,Bi.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(e){this.checkIsTarget(e,Bi.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(e){this.checkIsTarget(e,Bi.REPETITION_WITH_SEPARATOR)}visitAlternation(e){this.checkIsTarget(e,Bi.ALTERNATION)}}function Xi(e){const t=new Array(e);for(let n=0;n<e;n++)t[n]=[];return t}function qi(e){let t=[""];for(let n=0;n<e.length;n++){const r=e[n],i=[];for(let e=0;e<t.length;e++){const n=t[e];i.push(n+"_"+r.tokenTypeIdx);for(let e=0;e<r.categoryMatches.length;e++){const t="_"+r.categoryMatches[e];i.push(n+t)}}t=i}return t}function Qi(e,t,n){for(let r=0;r<e.length;r++){if(r===n)continue;const i=e[r];for(let e=0;e<t.length;e++){if(!0===i[t[e]])return!1}}return!0}function Ji(e,t){const n=(0,Ct.A)(e,(e=>Fi([e],1))),r=Xi(n.length),i=(0,Ct.A)(n,(e=>{const t={};return(0,It.A)(e,(e=>{const n=qi(e.partialPath);(0,It.A)(n,(e=>{t[e]=!0}))})),t}));let s=n;for(let o=1;o<=t;o++){const e=s;s=Xi(e.length);for(let n=0;n<e.length;n++){const a=e[n];for(let e=0;e<a.length;e++){const c=a[e].partialPath,l=a[e].suffixDef,u=qi(c);if(Qi(i,u,n)||(0,Nt.A)(l)||c.length===t){const e=r[n];if(!1===ts(e,c)){e.push(c);for(let e=0;e<u.length;e++){const t=u[e];i[n][t]=!0}}}else{const e=Fi(l,o+1,c);s[n]=s[n].concat(e),(0,It.A)(e,(e=>{const t=qi(e.partialPath);(0,It.A)(t,(e=>{i[n][e]=!0}))}))}}}}return r}function Zi(e,t,n,r){const i=new Yi(e,Bi.ALTERNATION,r);return t.accept(i),Ji(i.result,n)}function es(e,t,n,r){const i=new Yi(e,n);t.accept(i);const s=i.result,o=new zi(t,e,n).startWalking();return Ji([new an({definition:s}),new an({definition:o})],r)}function ts(e,t){e:for(let n=0;n<e.length;n++){const r=e[n];if(r.length===t.length){for(let e=0;e<r.length;e++){const n=t[e],i=r[e];if(!1===(n===i||void 0!==i.categoryMatchesMap[n.tokenTypeIdx]))continue e}return!0}}return!1}function ns(e){return Cn(e,(e=>Cn(e,(e=>Cn(e,(e=>(0,Nt.A)(e.categoryMatches)))))))}function rs(e,t,n,r){const i=xi(e,(e=>function(e,t){const n=new os;e.accept(n);const r=n.allProductions,i=wi(r,is),s=Yt(i,(e=>e.length>1)),o=(0,Ct.A)((0,St.A)(s),(n=>{const r=or(n),i=t.buildDuplicateFoundError(e,n),s=wn(r),o={message:i,type:eo.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:s,occurrence:r.idx},a=ss(r);return a&&(o.parameter=a),o}));return o}(e,n))),s=function(e,t,n){const r=[],i=(0,Ct.A)(t,(e=>e.name));return(0,It.A)(e,(e=>{const t=e.name;if(In(i,t)){const i=n.buildNamespaceConflictError(e);r.push({message:i,type:eo.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:t})}})),r}(e,t,n),o=xi(e,(e=>function(e,t){const n=new ls;e.accept(n);const r=n.alternations,i=xi(r,(n=>n.definition.length>255?[{message:t.buildTooManyAlternativesError({topLevelRule:e,alternation:n}),type:eo.TOO_MANY_ALTS,ruleName:e.name,occurrence:n.idx}]:[]));return i}(e,n))),a=xi(e,(t=>function(e,t,n,r){const i=[],s=(0,Yn.A)(t,((t,n)=>n.name===e.name?t+1:t),0);if(s>1){const t=r.buildDuplicateRuleNameError({topLevelRule:e,grammarName:n});i.push({message:t,type:eo.DUPLICATE_RULE_NAME,ruleName:e.name})}return i}(t,e,r,n)));return i.concat(s,o,a)}function is(e){return`${wn(e)}_#_${e.idx}_#_${ss(e)}`}function ss(e){return e instanceof pn?e.terminalType.name:e instanceof sn?e.nonTerminalName:""}class os extends gn{constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(e){this.allProductions.push(e)}visitOption(e){this.allProductions.push(e)}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}visitAlternation(e){this.allProductions.push(e)}visitTerminal(e){this.allProductions.push(e)}}function as(e,t,n,r=[]){const i=[],s=cs(t.definition);if((0,Nt.A)(s))return[];{const t=e.name;In(s,e)&&i.push({message:n.buildLeftRecursionError({topLevelRule:e,leftRecursionPath:r}),type:eo.LEFT_RECURSION,ruleName:t});const o=ir(s,r.concat([e])),a=xi(o,(t=>{const i=(0,wt.A)(r);return i.push(t),as(e,t,n,i)}));return i.concat(a)}}function cs(e){let t=[];if((0,Nt.A)(e))return t;const n=or(e);if(n instanceof sn)t.push(n.referencedRule);else if(n instanceof an||n instanceof cn||n instanceof ln||n instanceof un||n instanceof hn||n instanceof dn)t=t.concat(cs(n.definition));else if(n instanceof fn)t=(0,Pn.A)((0,Ct.A)(n.definition,(e=>cs(e.definition))));else if(!(n instanceof pn))throw Error("non exhaustive match");const r=$n(n),i=e.length>1;if(r&&i){const n=_t(e);return t.concat(cs(n))}return t}class ls extends gn{constructor(){super(...arguments),this.alternations=[]}visitAlternation(e){this.alternations.push(e)}}function us(e,t,n){const r=new ls;e.accept(r);let i=r.alternations;i=Vn(i,(e=>!0===e.ignoreAmbiguities));const s=xi(i,(r=>{const i=r.idx,s=r.maxLookahead||t,o=Zi(i,e,s,r),a=function(e,t,n,r){const i=[],s=(0,Yn.A)(e,((n,r,s)=>(!0===t.definition[s].ignoreAmbiguities||(0,It.A)(r,(r=>{const o=[s];(0,It.A)(e,((e,n)=>{s!==n&&ts(e,r)&&!0!==t.definition[n].ignoreAmbiguities&&o.push(n)})),o.length>1&&!ts(i,r)&&(i.push(r),n.push({alts:o,path:r}))})),n)),[]),o=(0,Ct.A)(s,(e=>{const i=(0,Ct.A)(e.alts,(e=>e+1));return{message:r.buildAlternationAmbiguityError({topLevelRule:n,alternation:t,ambiguityIndices:i,prefixPath:e.path}),type:eo.AMBIGUOUS_ALTS,ruleName:n.name,occurrence:t.idx,alternatives:e.alts}}));return o}(o,r,e,n),c=function(e,t,n,r){const i=(0,Yn.A)(e,((e,t,n)=>{const r=(0,Ct.A)(t,(e=>({idx:n,path:e})));return e.concat(r)}),[]),s=sr(xi(i,(e=>{if(!0===t.definition[e.idx].ignoreAmbiguities)return[];const s=e.idx,o=e.path,a=(0,Xn.A)(i,(e=>{return!0!==t.definition[e.idx].ignoreAmbiguities&&e.idx<s&&(n=e.path,r=o,n.length<r.length&&Cn(n,((e,t)=>{const n=r[t];return e===n||n.categoryMatchesMap[e.tokenTypeIdx]})));var n,r}));return(0,Ct.A)(a,(e=>{const i=[e.idx+1,s+1],o=0===t.idx?"":t.idx;return{message:r.buildAlternationPrefixAmbiguityError({topLevelRule:n,alternation:t,ambiguityIndices:i,prefixPath:e.path}),type:eo.AMBIGUOUS_PREFIX_ALTS,ruleName:n.name,occurrence:o,alternatives:i}}))})));return s}(o,r,e,n);return a.concat(c)}));return s}class ds extends gn{constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}}function hs(e){const t=(0,Gn.A)(e,{errMsgProvider:Ri}),n={};return(0,It.A)(e.rules,(e=>{n[e.name]=e})),function(e,t){const n=new ki(e,t);return n.resolveRefs(),n.errors}(n,t.errMsgProvider)}const fs="MismatchedTokenException",ps="NoViableAltException",ms="EarlyExitException",gs="NotAllInputParsedException",ys=[fs,ps,ms,gs];function As(e){return In(ys,e.name)}Object.freeze(ys);class Ts extends Error{constructor(e,t){super(e),this.token=t,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}class vs extends Ts{constructor(e,t,n){super(e,t),this.previousToken=n,this.name=fs}}class Rs extends Ts{constructor(e,t,n){super(e,t),this.previousToken=n,this.name=ps}}class Es extends Ts{constructor(e,t){super(e,t),this.name=gs}}class ks extends Ts{constructor(e,t,n){super(e,t),this.previousToken=n,this.name=ms}}const xs={},Is="InRuleRecoveryException";class Ss extends Error{constructor(e){super(e),this.name=Is}}function Ns(e,t,n,r,i,s,o){const a=this.getKeyForAutomaticLookahead(r,i);let c=this.firstAfterRepMap[a];if(void 0===c){const e=this.getCurrRuleFullName();c=new s(this.getGAstProductions()[e],i).startWalking(),this.firstAfterRepMap[a]=c}let l=c.token,u=c.occurrence;const d=c.isEndOfRule;1===this.RULE_STACK.length&&d&&void 0===l&&(l=yi,u=1),void 0!==l&&void 0!==u&&this.shouldInRepetitionRecoveryBeTried(l,u,o)&&this.tryInRepetitionRecovery(e,t,n,l)}const Cs=1024,$s=1280,ws=1536;function Ls(e,t,n){return n|t|e}class Os{constructor(e){var t;this.maxLookahead=null!==(t=null==e?void 0:e.maxLookahead)&&void 0!==t?t:Js.maxLookahead}validate(e){const t=this.validateNoLeftRecursion(e.rules);if((0,Nt.A)(t)){const n=this.validateEmptyOrAlternatives(e.rules),r=this.validateAmbiguousAlternationAlternatives(e.rules,this.maxLookahead),i=this.validateSomeNonEmptyLookaheadPath(e.rules,this.maxLookahead);return[...t,...n,...r,...i]}return t}validateNoLeftRecursion(e){return xi(e,(e=>as(e,e,Ei)))}validateEmptyOrAlternatives(e){return xi(e,(e=>function(e,t){const n=new ls;e.accept(n);const r=n.alternations;return xi(r,(n=>{const r=Li(n.definition);return xi(r,((r,i)=>{const s=Gi([r],[],Wr,1);return(0,Nt.A)(s)?[{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:n,emptyChoiceIdx:i}),type:eo.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:n.idx,alternative:i+1}]:[]}))}))}(e,Ei)))}validateAmbiguousAlternationAlternatives(e,t){return xi(e,(e=>us(e,t,Ei)))}validateSomeNonEmptyLookaheadPath(e,t){return function(e,t,n){const r=[];return(0,It.A)(e,(e=>{const i=new ds;e.accept(i);const s=i.allProductions;(0,It.A)(s,(i=>{const s=ji(i),o=i.maxLookahead||t,a=es(i.idx,e,s,o)[0];if((0,Nt.A)((0,Pn.A)(a))){const t=n.buildEmptyRepetitionError({topLevelRule:e,repetition:i});r.push({message:t,type:eo.NO_NON_EMPTY_LOOKAHEAD,ruleName:e.name})}}))})),r}(e,t,Ei)}buildLookaheadForAlternation(e){return function(e,t,n,r,i,s){const o=Zi(e,t,n);return s(o,r,ns(o)?zr:Wr,i)}(e.prodOccurrence,e.rule,e.maxLookahead,e.hasPredicates,e.dynamicTokensEnabled,Hi)}buildLookaheadForOptional(e){return function(e,t,n,r,i,s){const o=es(e,t,i,n),a=ns(o)?zr:Wr;return s(o[0],a,r)}(e.prodOccurrence,e.rule,e.maxLookahead,e.dynamicTokensEnabled,ji(e.prodType),Wi)}}const bs=new class extends gn{constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(e){this.dslMethods.option.push(e)}visitRepetitionWithSeparator(e){this.dslMethods.repetitionWithSeparator.push(e)}visitRepetitionMandatory(e){this.dslMethods.repetitionMandatory.push(e)}visitRepetitionMandatoryWithSeparator(e){this.dslMethods.repetitionMandatoryWithSeparator.push(e)}visitRepetition(e){this.dslMethods.repetition.push(e)}visitAlternation(e){this.dslMethods.alternation.push(e)}};function _s(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset<t.endOffset==!0&&(e.endOffset=t.endOffset)}function Ps(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.startColumn=t.startColumn,e.startLine=t.startLine,e.endOffset=t.endOffset,e.endColumn=t.endColumn,e.endLine=t.endLine):e.endOffset<t.endOffset==!0&&(e.endOffset=t.endOffset,e.endColumn=t.endColumn,e.endLine=t.endLine)}function Ms(e,t){Object.defineProperty(e,"name",{enumerable:!1,configurable:!0,writable:!1,value:t})}function Ds(e,t){const n=(0,Kt.A)(e),r=n.length;for(let i=0;i<r;i++){const r=e[n[i]],s=r.length;for(let e=0;e<s;e++){const n=r[e];void 0===n.tokenTypeIdx&&this[n.name](n.children,t)}}}function Us(e,t){const n=function(){};Ms(n,e+"BaseSemantics");const r={visit:function(e,t){if((0,vn.A)(e)&&(e=e[0]),!(0,Fn.A)(e))return this[e.name](e.children,t)},validateVisitor:function(){const e=function(e,t){const n=function(e,t){const n=(0,Xn.A)(t,(t=>!1===(0,Hn.A)(e[t]))),r=(0,Ct.A)(n,(t=>({msg:`Missing visitor method: <${t}> on ${e.constructor.name} CST Visitor.`,type:Fs.MISSING_METHOD,methodName:t})));return sr(r)}(e,t);return n}(this,t);if(!(0,Nt.A)(e)){const t=(0,Ct.A)(e,(e=>e.msg));throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>:\n\t${t.join("\n\n").replace(/\n/g,"\n\t")}`)}}};return(n.prototype=r).constructor=n,n._RULE_NAMES=t,n}var Fs;!function(e){e[e.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",e[e.MISSING_METHOD=1]="MISSING_METHOD"}(Fs||(Fs={}));var Gs=n(23149);const Ks={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(Ks);const Bs=!0,js=Math.pow(2,8)-1,Vs=gi({name:"RECORDING_PHASE_TOKEN",pattern:ii.NA});qr([Vs]);const Hs=Ai(Vs,"This IToken indicates the Parser is in Recording Phase\n\tSee: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",-1,-1,-1,-1,-1,-1);Object.freeze(Hs);const Ws={name:"This CSTNode indicates the Parser is in Recording Phase\n\tSee: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",children:{}};function zs(e,t,n,r=!1){qs(n);const i=(0,Vr.A)(this.recordingProdStack),s=(0,Hn.A)(t)?t:t.DEF,o=new e({definition:[],idx:n});return r&&(o.separator=t.SEP),(0,$t.A)(t,"MAX_LOOKAHEAD")&&(o.maxLookahead=t.MAX_LOOKAHEAD),this.recordingProdStack.push(o),s.call(this),i.definition.push(o),this.recordingProdStack.pop(),Ks}function Ys(e,t){qs(t);const n=(0,Vr.A)(this.recordingProdStack),r=!1===(0,vn.A)(e),i=!1===r?e:e.DEF,s=new fn({definition:[],idx:t,ignoreAmbiguities:r&&!0===e.IGNORE_AMBIGUITIES});(0,$t.A)(e,"MAX_LOOKAHEAD")&&(s.maxLookahead=e.MAX_LOOKAHEAD);const o=En(i,(e=>(0,Hn.A)(e.GATE)));return s.hasPredicates=o,n.definition.push(s),(0,It.A)(i,(e=>{const t=new an({definition:[]});s.definition.push(t),(0,$t.A)(e,"IGNORE_AMBIGUITIES")?t.ignoreAmbiguities=e.IGNORE_AMBIGUITIES:(0,$t.A)(e,"GATE")&&(t.ignoreAmbiguities=!0),this.recordingProdStack.push(t),e.ALT.call(this),this.recordingProdStack.pop()})),Ks}function Xs(e){return 0===e?"":`${e}`}function qs(e){if(e<0||e>js){const t=new Error(`Invalid DSL Method idx value: <${e}>\n\tIdx value must be a none negative value smaller than ${js+1}`);throw t.KNOWN_RECORDER_ERROR=!0,t}}const Qs=Ai(yi,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(Qs);const Js=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:vi,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),Zs=Object.freeze({recoveryValueFunc:()=>{},resyncEnabled:!0});var eo,to,no;function ro(e=void 0){return function(){return e}}!function(e){e[e.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",e[e.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",e[e.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",e[e.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",e[e.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",e[e.LEFT_RECURSION=5]="LEFT_RECURSION",e[e.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",e[e.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",e[e.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e[e.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",e[e.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",e[e.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",e[e.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",e[e.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION"}(eo||(eo={}));class io{static performSelfAnalysis(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated.\t\nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",(()=>{let e;this.selfAnalysisDone=!0;const t=this.className;this.TRACE_INIT("toFastProps",(()=>{Lt(this)})),this.TRACE_INIT("Grammar Recording",(()=>{try{this.enableRecording(),(0,It.A)(this.definedRulesNames,(e=>{const t=this[e].originalGrammarAction;let n;this.TRACE_INIT(`${e} Rule`,(()=>{n=this.topLevelRuleRecord(e,t)})),this.gastProductionsCache[e]=n}))}finally{this.disableRecording()}}));let n=[];if(this.TRACE_INIT("Grammar Resolving",(()=>{n=hs({rules:(0,St.A)(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(n)})),this.TRACE_INIT("Grammar Validations",(()=>{if((0,Nt.A)(n)&&!1===this.skipValidations){const n=(e={rules:(0,St.A)(this.gastProductionsCache),tokenTypes:(0,St.A)(this.tokensMap),errMsgProvider:Ei,grammarName:t},rs((e=(0,Gn.A)(e,{errMsgProvider:Ei})).rules,e.tokenTypes,e.errMsgProvider,e.grammarName)),r=function(e){const t=e.lookaheadStrategy.validate({rules:e.rules,tokenTypes:e.tokenTypes,grammarName:e.grammarName});return(0,Ct.A)(t,(e=>Object.assign({type:eo.CUSTOM_LOOKAHEAD_VALIDATION},e)))}({lookaheadStrategy:this.lookaheadStrategy,rules:(0,St.A)(this.gastProductionsCache),tokenTypes:(0,St.A)(this.tokensMap),grammarName:t});this.definitionErrors=this.definitionErrors.concat(n,r)}var e})),(0,Nt.A)(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",(()=>{const e=function(e){const t={};return(0,It.A)(e,(e=>{const n=new Un(e).startWalking();jt(t,n)})),t}((0,St.A)(this.gastProductionsCache));this.resyncFollows=e})),this.TRACE_INIT("ComputeLookaheadFunctions",(()=>{var e,t;null===(t=(e=this.lookaheadStrategy).initialize)||void 0===t||t.call(e,{rules:(0,St.A)(this.gastProductionsCache)}),this.preComputeLookaheadFunctions((0,St.A)(this.gastProductionsCache))}))),!io.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,Nt.A)(this.definitionErrors))throw e=(0,Ct.A)(this.definitionErrors,(e=>e.message)),new Error(`Parser Definition Errors detected:\n ${e.join("\n-------------------------------\n")}`)}))}constructor(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;const n=this;if(n.initErrorHandler(t),n.initLexerAdapter(),n.initLooksAhead(t),n.initRecognizerEngine(e,t),n.initRecoverable(t),n.initTreeBuilder(t),n.initContentAssist(),n.initGastRecorder(t),n.initPerformanceTracer(t),(0,$t.A)(t,"ignoredIssues"))throw new Error("The <ignoredIssues> IParserConfig property has been deprecated.\n\tPlease use the <IGNORE_AMBIGUITIES> flag on the relevant DSL method instead.\n\tSee: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES\n\tFor further details.");this.skipValidations=(0,$t.A)(t,"skipValidations")?t.skipValidations:Js.skipValidations}}io.DEFER_DEFINITION_ERRORS_HANDLING=!1,to=io,no=[class{initRecoverable(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,$t.A)(e,"recoveryEnabled")?e.recoveryEnabled:Js.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=Ns)}getTokenToInsert(e){const t=Ai(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return t.isInsertedInRecovery=!0,t}canTokenTypeBeInsertedInRecovery(e){return!0}canTokenTypeBeDeletedInRecovery(e){return!0}tryInRepetitionRecovery(e,t,n,r){const i=this.findReSyncTokenType(),s=this.exportLexerState(),o=[];let a=!1;const c=this.LA(1);let l=this.LA(1);const u=()=>{const e=this.LA(0),t=this.errorMessageProvider.buildMismatchTokenMessage({expected:r,actual:c,previous:e,ruleName:this.getCurrRuleFullName()}),n=new vs(t,c,this.LA(0));n.resyncedTokens=Li(o),this.SAVE_ERROR(n)};for(;!a;){if(this.tokenMatcher(l,r))return void u();if(n.call(this))return u(),void e.apply(this,t);this.tokenMatcher(l,i)?a=!0:(l=this.SKIP_TOKEN(),this.addToResyncTokens(l,o))}this.importLexerState(s)}shouldInRepetitionRecoveryBeTried(e,t,n){return!1!==n&&!this.tokenMatcher(this.LA(1),e)&&!this.isBackTracking()&&!this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t))}getFollowsForInRuleRecovery(e,t){const n=this.getCurrentGrammarPath(e,t);return this.getNextPossibleTokenTypes(n)}tryInRuleRecovery(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t))return this.getTokenToInsert(e);if(this.canRecoverWithSingleTokenDeletion(e)){const e=this.SKIP_TOKEN();return this.consumeToken(),e}throw new Ss("sad sad panda")}canPerformInRuleRecovery(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)}canRecoverWithSingleTokenInsertion(e,t){if(!this.canTokenTypeBeInsertedInRecovery(e))return!1;if((0,Nt.A)(t))return!1;const n=this.LA(1);return void 0!==(0,ar.A)(t,(e=>this.tokenMatcher(n,e)))}canRecoverWithSingleTokenDeletion(e){return!!this.canTokenTypeBeDeletedInRecovery(e)&&this.tokenMatcher(this.LA(2),e)}isInCurrentRuleReSyncSet(e){const t=this.getCurrFollowKey(),n=this.getFollowSetFromFollowKey(t);return In(n,e)}findReSyncTokenType(){const e=this.flattenFollowSet();let t=this.LA(1),n=2;for(;;){const r=(0,ar.A)(e,(e=>Ti(t,e)));if(void 0!==r)return r;t=this.LA(n),n++}}getCurrFollowKey(){if(1===this.RULE_STACK.length)return xs;const e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),n=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(n)}}buildFullFollowKeyStack(){const e=this.RULE_STACK,t=this.RULE_OCCURRENCE_STACK;return(0,Ct.A)(e,((n,r)=>0===r?xs:{ruleName:this.shortRuleNameToFullName(n),idxInCallingRule:t[r],inRule:this.shortRuleNameToFullName(e[r-1])}))}flattenFollowSet(){const e=(0,Ct.A)(this.buildFullFollowKeyStack(),(e=>this.getFollowSetFromFollowKey(e)));return(0,Pn.A)(e)}getFollowSetFromFollowKey(e){if(e===xs)return[yi];const t=e.ruleName+e.idxInCallingRule+Dn+e.inRule;return this.resyncFollows[t]}addToResyncTokens(e,t){return this.tokenMatcher(e,yi)||t.push(e),t}reSyncTo(e){const t=[];let n=this.LA(1);for(;!1===this.tokenMatcher(n,e);)n=this.SKIP_TOKEN(),this.addToResyncTokens(n,t);return Li(t)}attemptInRepetitionRecovery(e,t,n,r,i,s,o){}getCurrentGrammarPath(e,t){return{ruleStack:this.getHumanReadableRuleStack(),occurrenceStack:(0,wt.A)(this.RULE_OCCURRENCE_STACK),lastTok:e,lastTokOccurrence:t}}getHumanReadableRuleStack(){return(0,Ct.A)(this.RULE_STACK,(e=>this.shortRuleNameToFullName(e)))}},class{initLooksAhead(e){this.dynamicTokensEnabled=(0,$t.A)(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:Js.dynamicTokensEnabled,this.maxLookahead=(0,$t.A)(e,"maxLookahead")?e.maxLookahead:Js.maxLookahead,this.lookaheadStrategy=(0,$t.A)(e,"lookaheadStrategy")?e.lookaheadStrategy:new Os({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(e){(0,It.A)(e,(e=>{this.TRACE_INIT(`${e.name} Rule Lookahead`,(()=>{const{alternation:t,repetition:n,option:r,repetitionMandatory:i,repetitionMandatoryWithSeparator:s,repetitionWithSeparator:o}=function(e){bs.reset(),e.accept(bs);const t=bs.dslMethods;return bs.reset(),t}(e);(0,It.A)(t,(t=>{const n=0===t.idx?"":t.idx;this.TRACE_INIT(`${wn(t)}${n}`,(()=>{const n=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:t.idx,rule:e,maxLookahead:t.maxLookahead||this.maxLookahead,hasPredicates:t.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled}),r=Ls(this.fullRuleNameToShort[e.name],256,t.idx);this.setLaFuncCache(r,n)}))})),(0,It.A)(n,(t=>{this.computeLookaheadFunc(e,t.idx,768,"Repetition",t.maxLookahead,wn(t))})),(0,It.A)(r,(t=>{this.computeLookaheadFunc(e,t.idx,512,"Option",t.maxLookahead,wn(t))})),(0,It.A)(i,(t=>{this.computeLookaheadFunc(e,t.idx,Cs,"RepetitionMandatory",t.maxLookahead,wn(t))})),(0,It.A)(s,(t=>{this.computeLookaheadFunc(e,t.idx,ws,"RepetitionMandatoryWithSeparator",t.maxLookahead,wn(t))})),(0,It.A)(o,(t=>{this.computeLookaheadFunc(e,t.idx,$s,"RepetitionWithSeparator",t.maxLookahead,wn(t))}))}))}))}computeLookaheadFunc(e,t,n,r,i,s){this.TRACE_INIT(`${s}${0===t?"":t}`,(()=>{const s=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:t,rule:e,maxLookahead:i||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:r}),o=Ls(this.fullRuleNameToShort[e.name],n,t);this.setLaFuncCache(o,s)}))}getKeyForAutomaticLookahead(e,t){return Ls(this.getLastExplicitRuleShortName(),e,t)}getLaFuncFromCache(e){return this.lookAheadFuncsCache.get(e)}setLaFuncCache(e,t){this.lookAheadFuncsCache.set(e,t)}},class{initTreeBuilder(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=(0,$t.A)(e,"nodeLocationTracking")?e.nodeLocationTracking:Js.nodeLocationTracking,this.outputCst)if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Ps,this.setNodeLocationFromNode=Ps,this.cstPostRule=jr.A,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=jr.A,this.setNodeLocationFromNode=jr.A,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=_s,this.setNodeLocationFromNode=_s,this.cstPostRule=jr.A,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=jr.A,this.setNodeLocationFromNode=jr.A,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else{if(!/none/i.test(this.nodeLocationTracking))throw Error(`Invalid <nodeLocationTracking> config option: "${e.nodeLocationTracking}"`);this.setNodeLocationFromToken=jr.A,this.setNodeLocationFromNode=jr.A,this.cstPostRule=jr.A,this.setInitialNodeLocation=jr.A}else this.cstInvocationStateUpdate=jr.A,this.cstFinallyStateUpdate=jr.A,this.cstPostTerminal=jr.A,this.cstPostNonTerminal=jr.A,this.cstPostRule=jr.A}setInitialNodeLocationOnlyOffsetRecovery(e){e.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(e){const t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(e){const t={name:e,children:Object.create(null)};this.setInitialNodeLocation(t),this.CST_STACK.push(t)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(e){const t=this.LA(0),n=e.location;n.startOffset<=t.startOffset==1?(n.endOffset=t.endOffset,n.endLine=t.endLine,n.endColumn=t.endColumn):(n.startOffset=NaN,n.startLine=NaN,n.startColumn=NaN)}cstPostRuleOnlyOffset(e){const t=this.LA(0),n=e.location;n.startOffset<=t.startOffset==1?n.endOffset=t.endOffset:n.startOffset=NaN}cstPostTerminal(e,t){const n=this.CST_STACK[this.CST_STACK.length-1];var r,i,s;i=t,s=e,void 0===(r=n).children[s]?r.children[s]=[i]:r.children[s].push(i),this.setNodeLocationFromToken(n.location,t)}cstPostNonTerminal(e,t){const n=this.CST_STACK[this.CST_STACK.length-1];!function(e,t,n){void 0===e.children[t]?e.children[t]=[n]:e.children[t].push(n)}(n,t,e),this.setNodeLocationFromNode(n.location,e.location)}getBaseCstVisitorConstructor(){if((0,Fn.A)(this.baseCstVisitorConstructor)){const e=Us(this.className,(0,Kt.A)(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if((0,Fn.A)(this.baseCstVisitorWithDefaultsConstructor)){const e=function(e,t,n){const r=function(){};Ms(r,e+"BaseSemanticsWithDefaults");const i=Object.create(n.prototype);return(0,It.A)(t,(e=>{i[e]=Ds})),(r.prototype=i).constructor=r,r}(this.className,(0,Kt.A)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){const e=this.RULE_STACK;return e[e.length-1]}getPreviousExplicitRuleShortName(){const e=this.RULE_STACK;return e[e.length-2]}getLastExplicitRuleOccurrenceIndex(){const e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]}},class{initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(e){if(!0!==this.selfAnalysisDone)throw Error("Missing <performSelfAnalysis> invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):Qs}LA(e){const t=this.currIdx+e;return t<0||this.tokVectorLength<=t?Qs:this.tokVector[t]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(e){this.currIdx=e}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}},class{initRecognizerEngine(e,t){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=zr,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,$t.A)(t,"serializedGrammar"))throw Error("The Parser's configuration can no longer contain a <serializedGrammar> property.\n\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n\tFor Further details.");if((0,vn.A)(e)){if((0,Nt.A)(e))throw Error("A Token Vocabulary cannot be empty.\n\tNote that the first argument for the parser constructor\n\tis no longer a Token vector (since v4.0).");if("number"==typeof e[0].startOffset)throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n\tFor Further details.")}if((0,vn.A)(e))this.tokensMap=(0,Yn.A)(e,((e,t)=>(e[t.name]=t,e)),{});else if((0,$t.A)(e,"modes")&&Cn((0,Pn.A)((0,St.A)(e.modes)),ei)){const t=(0,Pn.A)((0,St.A)(e.modes)),n=_n(t);this.tokensMap=(0,Yn.A)(n,((e,t)=>(e[t.name]=t,e)),{})}else{if(!(0,Gs.A)(e))throw new Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap=(0,wt.A)(e)}this.tokensMap.EOF=yi;const n=(0,$t.A)(e,"modes")?(0,Pn.A)((0,St.A)(e.modes)):(0,St.A)(e),r=Cn(n,(e=>(0,Nt.A)(e.categoryMatches)));this.tokenMatcher=r?zr:Wr,qr((0,St.A)(this.tokensMap))}defineRule(e,t,n){if(this.selfAnalysisDone)throw Error(`Grammar rule <${e}> may not be defined after the 'performSelfAnalysis' method has been called'\nMake sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);const r=(0,$t.A)(n,"resyncEnabled")?n.resyncEnabled:Zs.resyncEnabled,i=(0,$t.A)(n,"recoveryValueFunc")?n.recoveryValueFunc:Zs.recoveryValueFunc,s=this.ruleShortNameIdx<<12;let o;return this.ruleShortNameIdx++,this.shortRuleNameToFull[s]=e,this.fullRuleNameToShort[e]=s,o=!0===this.outputCst?function(...n){try{this.ruleInvocationStateUpdate(s,e,this.subruleIdx),t.apply(this,n);const r=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(r),r}catch(o){return this.invokeRuleCatch(o,r,i)}finally{this.ruleFinallyStateUpdate()}}:function(...n){try{return this.ruleInvocationStateUpdate(s,e,this.subruleIdx),t.apply(this,n)}catch(o){return this.invokeRuleCatch(o,r,i)}finally{this.ruleFinallyStateUpdate()}},Object.assign(o,{ruleName:e,originalGrammarAction:t})}invokeRuleCatch(e,t,n){const r=1===this.RULE_STACK.length,i=t&&!this.isBackTracking()&&this.recoveryEnabled;if(As(e)){const t=e;if(i){const r=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(r)){if(t.resyncedTokens=this.reSyncTo(r),this.outputCst){const e=this.CST_STACK[this.CST_STACK.length-1];return e.recoveredNode=!0,e}return n(e)}if(this.outputCst){const e=this.CST_STACK[this.CST_STACK.length-1];e.recoveredNode=!0,t.partialCstResult=e}throw t}if(r)return this.moveToTerminatedState(),n(e);throw t}throw e}optionInternal(e,t){const n=this.getKeyForAutomaticLookahead(512,t);return this.optionInternalLogic(e,t,n)}optionInternalLogic(e,t,n){let r,i=this.getLaFuncFromCache(n);if("function"!=typeof e){r=e.DEF;const t=e.GATE;if(void 0!==t){const e=i;i=()=>t.call(this)&&e.call(this)}}else r=e;if(!0===i.call(this))return r.call(this)}atLeastOneInternal(e,t){const n=this.getKeyForAutomaticLookahead(Cs,e);return this.atLeastOneInternalLogic(e,t,n)}atLeastOneInternalLogic(e,t,n){let r,i=this.getLaFuncFromCache(n);if("function"!=typeof t){r=t.DEF;const e=t.GATE;if(void 0!==e){const t=i;i=()=>e.call(this)&&t.call(this)}}else r=t;if(!0!==i.call(this))throw this.raiseEarlyExitException(e,Bi.REPETITION_MANDATORY,t.ERR_MSG);{let e=this.doSingleRepetition(r);for(;!0===i.call(this)&&!0===e;)e=this.doSingleRepetition(r)}this.attemptInRepetitionRecovery(this.atLeastOneInternal,[e,t],i,Cs,e,Di)}atLeastOneSepFirstInternal(e,t){const n=this.getKeyForAutomaticLookahead(ws,e);this.atLeastOneSepFirstInternalLogic(e,t,n)}atLeastOneSepFirstInternalLogic(e,t,n){const r=t.DEF,i=t.SEP;if(!0!==this.getLaFuncFromCache(n).call(this))throw this.raiseEarlyExitException(e,Bi.REPETITION_MANDATORY_WITH_SEPARATOR,t.ERR_MSG);{r.call(this);const t=()=>this.tokenMatcher(this.LA(1),i);for(;!0===this.tokenMatcher(this.LA(1),i);)this.CONSUME(i),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,i,t,r,Ui],t,ws,e,Ui)}}manyInternal(e,t){const n=this.getKeyForAutomaticLookahead(768,e);return this.manyInternalLogic(e,t,n)}manyInternalLogic(e,t,n){let r,i=this.getLaFuncFromCache(n);if("function"!=typeof t){r=t.DEF;const e=t.GATE;if(void 0!==e){const t=i;i=()=>e.call(this)&&t.call(this)}}else r=t;let s=!0;for(;!0===i.call(this)&&!0===s;)s=this.doSingleRepetition(r);this.attemptInRepetitionRecovery(this.manyInternal,[e,t],i,768,e,Pi,s)}manySepFirstInternal(e,t){const n=this.getKeyForAutomaticLookahead($s,e);this.manySepFirstInternalLogic(e,t,n)}manySepFirstInternalLogic(e,t,n){const r=t.DEF,i=t.SEP;if(!0===this.getLaFuncFromCache(n).call(this)){r.call(this);const t=()=>this.tokenMatcher(this.LA(1),i);for(;!0===this.tokenMatcher(this.LA(1),i);)this.CONSUME(i),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,i,t,r,Mi],t,$s,e,Mi)}}repetitionSepSecondInternal(e,t,n,r,i){for(;n();)this.CONSUME(t),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,t,n,r,i],n,ws,e,i)}doSingleRepetition(e){const t=this.getLexerPosition();return e.call(this),this.getLexerPosition()>t}orInternal(e,t){const n=this.getKeyForAutomaticLookahead(256,t),r=(0,vn.A)(e)?e:e.DEF,i=this.getLaFuncFromCache(n).call(this,r);if(void 0!==i)return r[i].ALT.call(this);this.raiseNoAltException(t,e.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),0===this.RULE_STACK.length&&!1===this.isAtEndOfInput()){const e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new Es(t,e))}}subruleInternal(e,t,n){let r;try{const i=void 0!==n?n.ARGS:void 0;return this.subruleIdx=t,r=e.apply(this,i),this.cstPostNonTerminal(r,void 0!==n&&void 0!==n.LABEL?n.LABEL:e.ruleName),r}catch(i){throw this.subruleInternalError(i,n,e.ruleName)}}subruleInternalError(e,t,n){throw As(e)&&void 0!==e.partialCstResult&&(this.cstPostNonTerminal(e.partialCstResult,void 0!==t&&void 0!==t.LABEL?t.LABEL:n),delete e.partialCstResult),e}consumeInternal(e,t,n){let r;try{const t=this.LA(1);!0===this.tokenMatcher(t,e)?(this.consumeToken(),r=t):this.consumeInternalError(e,t,n)}catch(i){r=this.consumeInternalRecovery(e,t,i)}return this.cstPostTerminal(void 0!==n&&void 0!==n.LABEL?n.LABEL:e.name,r),r}consumeInternalError(e,t,n){let r;const i=this.LA(0);throw r=void 0!==n&&n.ERR_MSG?n.ERR_MSG:this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:i,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new vs(r,t,i))}consumeInternalRecovery(e,t,n){if(!this.recoveryEnabled||"MismatchedTokenException"!==n.name||this.isBackTracking())throw n;{const i=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,i)}catch(r){throw r.name===Is?n:r}}}saveRecogState(){const e=this.errors,t=(0,wt.A)(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:t,CST_STACK:this.CST_STACK}}reloadRecogState(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK}ruleInvocationStateUpdate(e,t,n){this.RULE_OCCURRENCE_STACK.push(n),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t)}isBackTracking(){return 0!==this.isBackTrackingStack.length}getCurrRuleFullName(){const e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]}shortRuleNameToFullName(e){return this.shortRuleNameToFull[e]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),yi)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}},class{ACTION(e){return e.call(this)}consume(e,t,n){return this.consumeInternal(t,e,n)}subrule(e,t,n){return this.subruleInternal(t,e,n)}option(e,t){return this.optionInternal(t,e)}or(e,t){return this.orInternal(t,e)}many(e,t){return this.manyInternal(e,t)}atLeastOne(e,t){return this.atLeastOneInternal(e,t)}CONSUME(e,t){return this.consumeInternal(e,0,t)}CONSUME1(e,t){return this.consumeInternal(e,1,t)}CONSUME2(e,t){return this.consumeInternal(e,2,t)}CONSUME3(e,t){return this.consumeInternal(e,3,t)}CONSUME4(e,t){return this.consumeInternal(e,4,t)}CONSUME5(e,t){return this.consumeInternal(e,5,t)}CONSUME6(e,t){return this.consumeInternal(e,6,t)}CONSUME7(e,t){return this.consumeInternal(e,7,t)}CONSUME8(e,t){return this.consumeInternal(e,8,t)}CONSUME9(e,t){return this.consumeInternal(e,9,t)}SUBRULE(e,t){return this.subruleInternal(e,0,t)}SUBRULE1(e,t){return this.subruleInternal(e,1,t)}SUBRULE2(e,t){return this.subruleInternal(e,2,t)}SUBRULE3(e,t){return this.subruleInternal(e,3,t)}SUBRULE4(e,t){return this.subruleInternal(e,4,t)}SUBRULE5(e,t){return this.subruleInternal(e,5,t)}SUBRULE6(e,t){return this.subruleInternal(e,6,t)}SUBRULE7(e,t){return this.subruleInternal(e,7,t)}SUBRULE8(e,t){return this.subruleInternal(e,8,t)}SUBRULE9(e,t){return this.subruleInternal(e,9,t)}OPTION(e){return this.optionInternal(e,0)}OPTION1(e){return this.optionInternal(e,1)}OPTION2(e){return this.optionInternal(e,2)}OPTION3(e){return this.optionInternal(e,3)}OPTION4(e){return this.optionInternal(e,4)}OPTION5(e){return this.optionInternal(e,5)}OPTION6(e){return this.optionInternal(e,6)}OPTION7(e){return this.optionInternal(e,7)}OPTION8(e){return this.optionInternal(e,8)}OPTION9(e){return this.optionInternal(e,9)}OR(e){return this.orInternal(e,0)}OR1(e){return this.orInternal(e,1)}OR2(e){return this.orInternal(e,2)}OR3(e){return this.orInternal(e,3)}OR4(e){return this.orInternal(e,4)}OR5(e){return this.orInternal(e,5)}OR6(e){return this.orInternal(e,6)}OR7(e){return this.orInternal(e,7)}OR8(e){return this.orInternal(e,8)}OR9(e){return this.orInternal(e,9)}MANY(e){this.manyInternal(0,e)}MANY1(e){this.manyInternal(1,e)}MANY2(e){this.manyInternal(2,e)}MANY3(e){this.manyInternal(3,e)}MANY4(e){this.manyInternal(4,e)}MANY5(e){this.manyInternal(5,e)}MANY6(e){this.manyInternal(6,e)}MANY7(e){this.manyInternal(7,e)}MANY8(e){this.manyInternal(8,e)}MANY9(e){this.manyInternal(9,e)}MANY_SEP(e){this.manySepFirstInternal(0,e)}MANY_SEP1(e){this.manySepFirstInternal(1,e)}MANY_SEP2(e){this.manySepFirstInternal(2,e)}MANY_SEP3(e){this.manySepFirstInternal(3,e)}MANY_SEP4(e){this.manySepFirstInternal(4,e)}MANY_SEP5(e){this.manySepFirstInternal(5,e)}MANY_SEP6(e){this.manySepFirstInternal(6,e)}MANY_SEP7(e){this.manySepFirstInternal(7,e)}MANY_SEP8(e){this.manySepFirstInternal(8,e)}MANY_SEP9(e){this.manySepFirstInternal(9,e)}AT_LEAST_ONE(e){this.atLeastOneInternal(0,e)}AT_LEAST_ONE1(e){return this.atLeastOneInternal(1,e)}AT_LEAST_ONE2(e){this.atLeastOneInternal(2,e)}AT_LEAST_ONE3(e){this.atLeastOneInternal(3,e)}AT_LEAST_ONE4(e){this.atLeastOneInternal(4,e)}AT_LEAST_ONE5(e){this.atLeastOneInternal(5,e)}AT_LEAST_ONE6(e){this.atLeastOneInternal(6,e)}AT_LEAST_ONE7(e){this.atLeastOneInternal(7,e)}AT_LEAST_ONE8(e){this.atLeastOneInternal(8,e)}AT_LEAST_ONE9(e){this.atLeastOneInternal(9,e)}AT_LEAST_ONE_SEP(e){this.atLeastOneSepFirstInternal(0,e)}AT_LEAST_ONE_SEP1(e){this.atLeastOneSepFirstInternal(1,e)}AT_LEAST_ONE_SEP2(e){this.atLeastOneSepFirstInternal(2,e)}AT_LEAST_ONE_SEP3(e){this.atLeastOneSepFirstInternal(3,e)}AT_LEAST_ONE_SEP4(e){this.atLeastOneSepFirstInternal(4,e)}AT_LEAST_ONE_SEP5(e){this.atLeastOneSepFirstInternal(5,e)}AT_LEAST_ONE_SEP6(e){this.atLeastOneSepFirstInternal(6,e)}AT_LEAST_ONE_SEP7(e){this.atLeastOneSepFirstInternal(7,e)}AT_LEAST_ONE_SEP8(e){this.atLeastOneSepFirstInternal(8,e)}AT_LEAST_ONE_SEP9(e){this.atLeastOneSepFirstInternal(9,e)}RULE(e,t,n=Zs){if(In(this.definedRulesNames,e)){const t={message:Ei.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),type:eo.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(t)}this.definedRulesNames.push(e);const r=this.defineRule(e,t,n);return this[e]=r,r}OVERRIDE_RULE(e,t,n=Zs){const r=function(e,t,n){const r=[];let i;return In(t,e)||(i=`Invalid rule override, rule: ->${e}<- cannot be overridden in the grammar: ->${n}<-as it is not defined in any of the super grammars `,r.push({message:i,type:eo.INVALID_RULE_OVERRIDE,ruleName:e})),r}(e,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(r);const i=this.defineRule(e,t,n);return this[e]=i,i}BACKTRACK(e,t){return function(){this.isBackTrackingStack.push(1);const n=this.saveRecogState();try{return e.apply(this,t),!0}catch(r){if(As(r))return!1;throw r}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){return e=(0,St.A)(this.gastProductionsCache),(0,Ct.A)(e,mn);var e}},class{initErrorHandler(e){this._errors=[],this.errorMessageProvider=(0,$t.A)(e,"errorMessageProvider")?e.errorMessageProvider:Js.errorMessageProvider}SAVE_ERROR(e){if(As(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,wt.A)(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return(0,wt.A)(this._errors)}set errors(e){this._errors=e}raiseEarlyExitException(e,t,n){const r=this.getCurrRuleFullName(),i=es(e,this.getGAstProductions()[r],t,this.maxLookahead)[0],s=[];for(let a=1;a<=this.maxLookahead;a++)s.push(this.LA(a));const o=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:i,actual:s,previous:this.LA(0),customUserDescription:n,ruleName:r});throw this.SAVE_ERROR(new ks(o,this.LA(1),this.LA(0)))}raiseNoAltException(e,t){const n=this.getCurrRuleFullName(),r=Zi(e,this.getGAstProductions()[n],this.maxLookahead),i=[];for(let a=1;a<=this.maxLookahead;a++)i.push(this.LA(a));const s=this.LA(0),o=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:r,actual:i,previous:s,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new Rs(o,this.LA(1),s))}},class{initContentAssist(){}computeContentAssist(e,t){const n=this.gastProductionsCache[e];if((0,Fn.A)(n))throw Error(`Rule ->${e}<- does not exist in this grammar.`);return Gi([n],t,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(e){const t=or(e.ruleStack),n=this.getGAstProductions()[t];return new bi(n,e).startWalking()}},class{initGastRecorder(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",(()=>{for(let e=0;e<10;e++){const t=e>0?e:"";this[`CONSUME${t}`]=function(t,n){return this.consumeInternalRecord(t,e,n)},this[`SUBRULE${t}`]=function(t,n){return this.subruleInternalRecord(t,e,n)},this[`OPTION${t}`]=function(t){return this.optionInternalRecord(t,e)},this[`OR${t}`]=function(t){return this.orInternalRecord(t,e)},this[`MANY${t}`]=function(t){this.manyInternalRecord(e,t)},this[`MANY_SEP${t}`]=function(t){this.manySepFirstInternalRecord(e,t)},this[`AT_LEAST_ONE${t}`]=function(t){this.atLeastOneInternalRecord(e,t)},this[`AT_LEAST_ONE_SEP${t}`]=function(t){this.atLeastOneSepFirstInternalRecord(e,t)}}this.consume=function(e,t,n){return this.consumeInternalRecord(t,e,n)},this.subrule=function(e,t,n){return this.subruleInternalRecord(t,e,n)},this.option=function(e,t){return this.optionInternalRecord(t,e)},this.or=function(e,t){return this.orInternalRecord(t,e)},this.many=function(e,t){this.manyInternalRecord(e,t)},this.atLeastOne=function(e,t){this.atLeastOneInternalRecord(e,t)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD}))}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",(()=>{const e=this;for(let t=0;t<10;t++){const n=t>0?t:"";delete e[`CONSUME${n}`],delete e[`SUBRULE${n}`],delete e[`OPTION${n}`],delete e[`OR${n}`],delete e[`MANY${n}`],delete e[`MANY_SEP${n}`],delete e[`AT_LEAST_ONE${n}`],delete e[`AT_LEAST_ONE_SEP${n}`]}delete e.consume,delete e.subrule,delete e.option,delete e.or,delete e.many,delete e.atLeastOne,delete e.ACTION,delete e.BACKTRACK,delete e.LA}))}ACTION_RECORD(e){}BACKTRACK_RECORD(e,t){return()=>!0}LA_RECORD(e){return Qs}topLevelRuleRecord(e,t){try{const n=new on({definition:[],name:e});return n.name=e,this.recordingProdStack.push(n),t.call(this),this.recordingProdStack.pop(),n}catch(n){if(!0!==n.KNOWN_RECORDER_ERROR)try{n.message=n.message+'\n\t This error was thrown during the "grammar recording phase" For more info see:\n\thttps://chevrotain.io/docs/guide/internals.html#grammar-recording'}catch(r){throw n}throw n}}optionInternalRecord(e,t){return zs.call(this,cn,e,t)}atLeastOneInternalRecord(e,t){zs.call(this,ln,t,e)}atLeastOneSepFirstInternalRecord(e,t){zs.call(this,un,t,e,Bs)}manyInternalRecord(e,t){zs.call(this,dn,t,e)}manySepFirstInternalRecord(e,t){zs.call(this,hn,t,e,Bs)}orInternalRecord(e,t){return Ys.call(this,e,t)}subruleInternalRecord(e,t,n){if(qs(t),!e||!1===(0,$t.A)(e,"ruleName")){const n=new Error(`<SUBRULE${Xs(t)}> argument is invalid expecting a Parser method reference but got: <${JSON.stringify(e)}>\n inside top level rule: <${this.recordingProdStack[0].name}>`);throw n.KNOWN_RECORDER_ERROR=!0,n}const r=(0,Vr.A)(this.recordingProdStack),i=e.ruleName,s=new sn({idx:t,nonTerminalName:i,label:null==n?void 0:n.LABEL,referencedRule:void 0});return r.definition.push(s),this.outputCst?Ws:Ks}consumeInternalRecord(e,t,n){if(qs(t),!Jr(e)){const n=new Error(`<CONSUME${Xs(t)}> argument is invalid expecting a TokenType reference but got: <${JSON.stringify(e)}>\n inside top level rule: <${this.recordingProdStack[0].name}>`);throw n.KNOWN_RECORDER_ERROR=!0,n}const r=(0,Vr.A)(this.recordingProdStack),i=new pn({idx:t,terminalType:e,label:null==n?void 0:n.LABEL});return r.definition.push(i),Hs}},class{initPerformanceTracer(e){if((0,$t.A)(e,"traceInitPerf")){const t=e.traceInitPerf,n="number"==typeof t;this.traceInitMaxIdent=n?t:1/0,this.traceInitPerf=n?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=Js.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(e,t){if(!0===this.traceInitPerf){this.traceInitIndent++;const n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent<this.traceInitMaxIdent&&console.log(`${n}--\x3e <${e}>`);const{time:r,value:i}=Hr(t),s=r>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&s(`${n}<-- <${e}> time: ${r}ms`),this.traceInitIndent--,i}return t()}}],no.forEach((e=>{const t=e.prototype;Object.getOwnPropertyNames(t).forEach((n=>{if("constructor"===n)return;const r=Object.getOwnPropertyDescriptor(t,n);r&&(r.get||r.set)?Object.defineProperty(to.prototype,n,r):to.prototype[n]=e.prototype[n]}))}));class so extends io{constructor(e,t=Js){const n=(0,wt.A)(t);n.outputCst=!1,super(e,n)}}function oo(e,t,n){return`${e.name}_${t}_${n}`}class ao{constructor(e){this.target=e}isEpsilon(){return!1}}class co extends ao{constructor(e,t){super(e),this.tokenType=t}}class lo extends ao{constructor(e){super(e)}isEpsilon(){return!0}}class uo extends ao{constructor(e,t,n){super(e),this.rule=t,this.followState=n}isEpsilon(){return!0}}function ho(e){const t={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:[]};!function(e,t){const n=t.length;for(let r=0;r<n;r++){const n=t[r],i=Eo(e,n,void 0,{type:2}),s=Eo(e,n,void 0,{type:7});i.stop=s,e.ruleToStartState.set(n,i),e.ruleToStopState.set(n,s)}}(t,e);const n=e.length;for(let r=0;r<n;r++){const n=e[r],i=po(t,n,n);void 0!==i&&vo(t,n,i)}return t}function fo(e,t,n){return n instanceof pn?To(e,t,n.terminalType,n):n instanceof sn?function(e,t,n){const r=n.referencedRule,i=e.ruleToStartState.get(r),s=Eo(e,t,n,{type:1}),o=Eo(e,t,n,{type:1}),a=new uo(i,r,o);return ko(s,a),{left:s,right:o}}(e,t,n):n instanceof fn?function(e,t,n){const r=Eo(e,t,n,{type:1});yo(e,r);const i=(0,Ct.A)(n.definition,(n=>fo(e,t,n))),s=Ao(e,t,r,n,...i);return s}(e,t,n):n instanceof cn?function(e,t,n){const r=Eo(e,t,n,{type:1});yo(e,r);const i=Ao(e,t,r,n,po(e,t,n));return function(e,t,n,r){const i=r.left,s=r.right;return Ro(i,s),e.decisionMap[oo(t,"Option",n.idx)]=i,r}(e,t,n,i)}(e,t,n):n instanceof dn?function(e,t,n){const r=Eo(e,t,n,{type:5});yo(e,r);const i=Ao(e,t,r,n,po(e,t,n));return go(e,t,n,i)}(e,t,n):n instanceof hn?function(e,t,n){const r=Eo(e,t,n,{type:5});yo(e,r);const i=Ao(e,t,r,n,po(e,t,n)),s=To(e,t,n.separator,n);return go(e,t,n,i,s)}(e,t,n):n instanceof ln?function(e,t,n){const r=Eo(e,t,n,{type:4});yo(e,r);const i=Ao(e,t,r,n,po(e,t,n));return mo(e,t,n,i)}(e,t,n):n instanceof un?function(e,t,n){const r=Eo(e,t,n,{type:4});yo(e,r);const i=Ao(e,t,r,n,po(e,t,n)),s=To(e,t,n.separator,n);return mo(e,t,n,i,s)}(e,t,n):po(e,t,n)}function po(e,t,n){const r=(0,Xn.A)((0,Ct.A)(n.definition,(n=>fo(e,t,n))),(e=>void 0!==e));return 1===r.length?r[0]:0===r.length?void 0:function(e,t){const n=t.length;for(let s=0;s<n-1;s++){const n=t[s];let r;1===n.left.transitions.length&&(r=n.left.transitions[0]);const i=r instanceof uo,o=r,a=t[s+1].left;1===n.left.type&&1===n.right.type&&void 0!==r&&(i&&o.followState===n.right||r.target===n.right)?(i?o.followState=a:r.target=a,xo(e,n.right)):Ro(n.right,a)}const r=t[0],i=t[n-1];return{left:r.left,right:i.right}}(e,r)}function mo(e,t,n,r,i){const s=r.left,o=r.right,a=Eo(e,t,n,{type:11});yo(e,a);const c=Eo(e,t,n,{type:12});return s.loopback=a,c.loopback=a,e.decisionMap[oo(t,i?"RepetitionMandatoryWithSeparator":"RepetitionMandatory",n.idx)]=a,Ro(o,a),void 0===i?(Ro(a,s),Ro(a,c)):(Ro(a,c),Ro(a,i.left),Ro(i.right,s)),{left:s,right:c}}function go(e,t,n,r,i){const s=r.left,o=r.right,a=Eo(e,t,n,{type:10});yo(e,a);const c=Eo(e,t,n,{type:12}),l=Eo(e,t,n,{type:9});return a.loopback=l,c.loopback=l,Ro(a,s),Ro(a,c),Ro(o,l),void 0!==i?(Ro(l,c),Ro(l,i.left),Ro(i.right,s)):Ro(l,a),e.decisionMap[oo(t,i?"RepetitionWithSeparator":"Repetition",n.idx)]=a,{left:a,right:c}}function yo(e,t){return e.decisionStates.push(t),t.decision=e.decisionStates.length-1,t.decision}function Ao(e,t,n,r,...i){const s=Eo(e,t,r,{type:8,start:n});n.end=s;for(const a of i)void 0!==a?(Ro(n,a.left),Ro(a.right,s)):Ro(n,s);const o={left:n,right:s};return e.decisionMap[oo(t,function(e){if(e instanceof fn)return"Alternation";if(e instanceof cn)return"Option";if(e instanceof dn)return"Repetition";if(e instanceof hn)return"RepetitionWithSeparator";if(e instanceof ln)return"RepetitionMandatory";if(e instanceof un)return"RepetitionMandatoryWithSeparator";throw new Error("Invalid production type encountered")}(r),r.idx)]=n,o}function To(e,t,n,r){const i=Eo(e,t,r,{type:1}),s=Eo(e,t,r,{type:1});return ko(i,new co(s,n)),{left:i,right:s}}function vo(e,t,n){const r=e.ruleToStartState.get(t);Ro(r,n.left);const i=e.ruleToStopState.get(t);Ro(n.right,i);return{left:r,right:i}}function Ro(e,t){ko(e,new lo(t))}function Eo(e,t,n,r){const i=Object.assign({atn:e,production:n,epsilonOnlyTransitions:!1,rule:t,transitions:[],nextTokenWithinRule:[],stateNumber:e.states.length},r);return e.states.push(i),i}function ko(e,t){0===e.transitions.length&&(e.epsilonOnlyTransitions=t.isEpsilon()),e.transitions.push(t)}function xo(e,t){e.states.splice(e.states.indexOf(t),1)}const Io={};class So{constructor(){this.map={},this.configs=[]}get size(){return this.configs.length}finalize(){this.map={}}add(e){const t=No(e);t in this.map||(this.map[t]=this.configs.length,this.configs.push(e))}get elements(){return this.configs}get alts(){return(0,Ct.A)(this.configs,(e=>e.alt))}get key(){let e="";for(const t in this.map)e+=t+":";return e}}function No(e,t=!0){return`${t?`a${e.alt}`:""}s${e.state.stateNumber}:${e.stack.map((e=>e.stateNumber.toString())).join("_")}`}var Co=n(86452);const $o=function(e,t){return e&&e.length?(0,bn.A)(e,(0,Ht.A)(t,2)):[]};function wo(e,t){const n={};return r=>{const i=r.toString();let s=n[i];return void 0!==s||(s={atnStartState:e,decision:t,states:{}},n[i]=s),s}}class Lo{constructor(){this.predicates=[]}is(e){return e>=this.predicates.length||this.predicates[e]}set(e,t){this.predicates[e]=t}toString(){let e="";const t=this.predicates.length;for(let n=0;n<t;n++)e+=!0===this.predicates[n]?"1":"0";return e}}const Oo=new Lo;class bo extends Os{constructor(e){var t;super(),this.logging=null!==(t=null==e?void 0:e.logging)&&void 0!==t?t:e=>console.log(e)}initialize(e){this.atn=ho(e.rules),this.dfas=function(e){const t=e.decisionStates.length,n=Array(t);for(let r=0;r<t;r++)n[r]=wo(e.decisionStates[r],r);return n}(this.atn)}validateAmbiguousAlternationAlternatives(){return[]}validateEmptyOrAlternatives(){return[]}buildLookaheadForAlternation(e){const{prodOccurrence:t,rule:n,hasPredicates:r,dynamicTokensEnabled:i}=e,s=this.dfas,o=this.logging,a=oo(n,"Alternation",t),c=this.atn.decisionMap[a].decision,l=(0,Ct.A)(Vi({maxLookahead:1,occurrence:t,prodType:"Alternation",rule:n}),(e=>(0,Ct.A)(e,(e=>e[0]))));if(_o(l,!1)&&!i){const e=(0,Yn.A)(l,((e,t,n)=>((0,It.A)(t,(t=>{t&&(e[t.tokenTypeIdx]=n,(0,It.A)(t.categoryMatches,(t=>{e[t]=n})))})),e)),{});return r?function(t){var n;const r=this.LA(1),i=e[r.tokenTypeIdx];if(void 0!==t&&void 0!==i){const e=null===(n=t[i])||void 0===n?void 0:n.GATE;if(void 0!==e&&!1===e.call(this))return}return i}:function(){const t=this.LA(1);return e[t.tokenTypeIdx]}}return r?function(e){const t=new Lo,n=void 0===e?0:e.length;for(let i=0;i<n;i++){const n=null==e?void 0:e[i].GATE;t.set(i,void 0===n||n.call(this))}const r=Po.call(this,s,c,t,o);return"number"==typeof r?r:void 0}:function(){const e=Po.call(this,s,c,Oo,o);return"number"==typeof e?e:void 0}}buildLookaheadForOptional(e){const{prodOccurrence:t,rule:n,prodType:r,dynamicTokensEnabled:i}=e,s=this.dfas,o=this.logging,a=oo(n,r,t),c=this.atn.decisionMap[a].decision,l=(0,Ct.A)(Vi({maxLookahead:1,occurrence:t,prodType:r,rule:n}),(e=>(0,Ct.A)(e,(e=>e[0]))));if(_o(l)&&l[0][0]&&!i){const e=l[0],t=(0,Pn.A)(e);if(1===t.length&&(0,Nt.A)(t[0].categoryMatches)){const e=t[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===e}}{const e=(0,Yn.A)(t,((e,t)=>(void 0!==t&&(e[t.tokenTypeIdx]=!0,(0,It.A)(t.categoryMatches,(t=>{e[t]=!0}))),e)),{});return function(){const t=this.LA(1);return!0===e[t.tokenTypeIdx]}}}return function(){const e=Po.call(this,s,c,Oo,o);return"object"!=typeof e&&0===e}}}function _o(e,t=!0){const n=new Set;for(const r of e){const e=new Set;for(const i of r){if(void 0===i){if(t)break;return!1}const r=[i.tokenTypeIdx].concat(i.categoryMatches);for(const t of r)if(n.has(t)){if(!e.has(t))return!1}else n.add(t),e.add(t)}}return!0}function Po(e,t,n,r){const i=e[t](n);let s=i.start;if(void 0===s){s=jo(i,Ko(Vo(i.atnStartState))),i.start=s}return Mo.apply(this,[i,s,n,r])}function Mo(e,t,n,r){let i=t,s=1;const o=[];let a=this.LA(s++);for(;;){let t=(c=a,i.edges[c.tokenTypeIdx]);if(void 0===t&&(t=Do.apply(this,[e,i,a,s,n,r])),t===Io)return Fo(o,i,a);if(!0===t.isAcceptState)return t.prediction;i=t,o.push(a),a=this.LA(s++)}var c}function Do(e,t,n,r,i,s){const o=function(e,t,n){const r=new So,i=[];for(const o of e.elements){if(!1===n.is(o.alt))continue;if(7===o.state.type){i.push(o);continue}const e=o.state.transitions.length;for(let n=0;n<e;n++){const e=Go(o.state.transitions[n],t);void 0!==e&&r.add({state:e,alt:o.alt,stack:o.stack})}}let s;0===i.length&&1===r.size&&(s=r);if(void 0===s){s=new So;for(const e of r.elements)Ho(e,s)}if(i.length>0&&!function(e){for(const t of e.elements)if(7===t.state.type)return!0;return!1}(s))for(const o of i)s.add(o);return s}(t.configs,n,i);if(0===o.size)return Bo(e,t,n,Io),Io;let a=Ko(o);const c=function(e,t){let n;for(const r of e.elements)if(!0===t.is(r.alt))if(void 0===n)n=r.alt;else if(n!==r.alt)return;return n}(o,i);if(void 0!==c)a.isAcceptState=!0,a.prediction=c,a.configs.uniqueAlt=c;else if(function(e){if(function(e){for(const t of e.elements)if(7!==t.state.type)return!1;return!0}(e))return!0;const t=function(e){const t=new Map;for(const n of e){const e=No(n,!1);let r=t.get(e);void 0===r&&(r={},t.set(e,r)),r[n.alt]=!0}return t}(e.elements);return function(e){for(const t of Array.from(e.values()))if(Object.keys(t).length>1)return!0;return!1}(t)&&!function(e){for(const t of Array.from(e.values()))if(1===Object.keys(t).length)return!0;return!1}(t)}(o)){const t=(0,Co.A)(o.alts);a.isAcceptState=!0,a.prediction=t,a.configs.uniqueAlt=t,Uo.apply(this,[e,r,o.alts,s])}return a=Bo(e,t,n,a),a}function Uo(e,t,n,r){const i=[];for(let o=1;o<=t;o++)i.push(this.LA(o).tokenType);const s=e.atnStartState;r(function(e){const t=(0,Ct.A)(e.prefixPath,(e=>si(e))).join(", "),n=0===e.production.idx?"":e.production.idx;let r=`Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(", ")}> in <${function(e){if(e instanceof sn)return"SUBRULE";if(e instanceof cn)return"OPTION";if(e instanceof fn)return"OR";if(e instanceof ln)return"AT_LEAST_ONE";if(e instanceof un)return"AT_LEAST_ONE_SEP";if(e instanceof hn)return"MANY_SEP";if(e instanceof dn)return"MANY";if(e instanceof pn)return"CONSUME";throw Error("non exhaustive match")}(e.production)}${n}> inside <${e.topLevelRule.name}> Rule,\n<${t}> may appears as a prefix path in all these alternatives.\n`;return r+="See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.",r}({topLevelRule:s.rule,ambiguityIndices:n,production:s.production,prefixPath:i}))}function Fo(e,t,n){const r=xi(t.configs.elements,(e=>e.state.transitions));return{actualToken:n,possibleTokenTypes:$o(r.filter((e=>e instanceof co)).map((e=>e.tokenType)),(e=>e.tokenTypeIdx)),tokenPath:e}}function Go(e,t){if(e instanceof co&&Ti(t,e.tokenType))return e.target}function Ko(e){return{configs:e,edges:{},isAcceptState:!1,prediction:-1}}function Bo(e,t,n,r){return r=jo(e,r),t.edges[n.tokenTypeIdx]=r,r}function jo(e,t){if(t===Io)return t;const n=t.configs.key,r=e.states[n];return void 0!==r?r:(t.configs.finalize(),e.states[n]=t,t)}function Vo(e){const t=new So,n=e.transitions.length;for(let r=0;r<n;r++){Ho({state:e.transitions[r].target,alt:r,stack:[]},t)}return t}function Ho(e,t){const n=e.state;if(7===n.type){if(e.stack.length>0){const n=[...e.stack];Ho({state:n.pop(),alt:e.alt,stack:n},t)}else t.add(e);return}n.epsilonOnlyTransitions||t.add(e);const r=n.transitions.length;for(let i=0;i<r;i++){const r=Wo(e,n.transitions[i]);void 0!==r&&Ho(r,t)}}function Wo(e,t){if(t instanceof lo)return{state:t.target,alt:e.alt,stack:e.stack};if(t instanceof uo){const n=[...e.stack,t.followState];return{state:t.target,alt:e.alt,stack:n}}}var zo,Yo,Xo,qo,Qo,Jo,Zo,ea,ta,na,ra,ia,sa,oa,aa,ca,la,ua,da,ha,fa,pa,ma,ga,ya,Aa,Ta,va,Ra,Ea,ka,xa,Ia,Sa,Na,Ca,$a,wa,La,Oa,ba,_a,Pa,Ma,Da,Ua,Fa,Ga,Ka,Ba,ja,Va,Ha,Wa,za,Ya,Xa,qa,Qa,Ja,Za,ec,tc,nc,rc,ic,sc,oc,ac,cc,lc,uc,dc,hc,fc,pc,mc,gc;!function(e){e.is=function(e){return"string"==typeof e}}(zo||(zo={})),function(e){e.is=function(e){return"string"==typeof e}}(Yo||(Yo={})),function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647,e.is=function(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}}(Xo||(Xo={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647,e.is=function(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}}(qo||(qo={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=qo.MAX_VALUE),t===Number.MAX_VALUE&&(t=qo.MAX_VALUE),{line:e,character:t}},e.is=function(e){let t=e;return Ac.objectLiteral(t)&&Ac.uinteger(t.line)&&Ac.uinteger(t.character)}}(Qo||(Qo={})),function(e){e.create=function(e,t,n,r){if(Ac.uinteger(e)&&Ac.uinteger(t)&&Ac.uinteger(n)&&Ac.uinteger(r))return{start:Qo.create(e,t),end:Qo.create(n,r)};if(Qo.is(e)&&Qo.is(t))return{start:e,end:t};throw new Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)},e.is=function(e){let t=e;return Ac.objectLiteral(t)&&Qo.is(t.start)&&Qo.is(t.end)}}(Jo||(Jo={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){let t=e;return Ac.objectLiteral(t)&&Jo.is(t.range)&&(Ac.string(t.uri)||Ac.undefined(t.uri))}}(Zo||(Zo={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){let t=e;return Ac.objectLiteral(t)&&Jo.is(t.targetRange)&&Ac.string(t.targetUri)&&Jo.is(t.targetSelectionRange)&&(Jo.is(t.originSelectionRange)||Ac.undefined(t.originSelectionRange))}}(ea||(ea={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){const t=e;return Ac.objectLiteral(t)&&Ac.numberRange(t.red,0,1)&&Ac.numberRange(t.green,0,1)&&Ac.numberRange(t.blue,0,1)&&Ac.numberRange(t.alpha,0,1)}}(ta||(ta={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){const t=e;return Ac.objectLiteral(t)&&Jo.is(t.range)&&ta.is(t.color)}}(na||(na={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){const t=e;return Ac.objectLiteral(t)&&Ac.string(t.label)&&(Ac.undefined(t.textEdit)||ha.is(t))&&(Ac.undefined(t.additionalTextEdits)||Ac.typedArray(t.additionalTextEdits,ha.is))}}(ra||(ra={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(ia||(ia={})),function(e){e.create=function(e,t,n,r,i,s){const o={startLine:e,endLine:t};return Ac.defined(n)&&(o.startCharacter=n),Ac.defined(r)&&(o.endCharacter=r),Ac.defined(i)&&(o.kind=i),Ac.defined(s)&&(o.collapsedText=s),o},e.is=function(e){const t=e;return Ac.objectLiteral(t)&&Ac.uinteger(t.startLine)&&Ac.uinteger(t.startLine)&&(Ac.undefined(t.startCharacter)||Ac.uinteger(t.startCharacter))&&(Ac.undefined(t.endCharacter)||Ac.uinteger(t.endCharacter))&&(Ac.undefined(t.kind)||Ac.string(t.kind))}}(sa||(sa={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){let t=e;return Ac.defined(t)&&Zo.is(t.location)&&Ac.string(t.message)}}(oa||(oa={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(aa||(aa={})),function(e){e.Unnecessary=1,e.Deprecated=2}(ca||(ca={})),function(e){e.is=function(e){const t=e;return Ac.objectLiteral(t)&&Ac.string(t.href)}}(la||(la={})),function(e){e.create=function(e,t,n,r,i,s){let o={range:e,message:t};return Ac.defined(n)&&(o.severity=n),Ac.defined(r)&&(o.code=r),Ac.defined(i)&&(o.source=i),Ac.defined(s)&&(o.relatedInformation=s),o},e.is=function(e){var t;let n=e;return Ac.defined(n)&&Jo.is(n.range)&&Ac.string(n.message)&&(Ac.number(n.severity)||Ac.undefined(n.severity))&&(Ac.integer(n.code)||Ac.string(n.code)||Ac.undefined(n.code))&&(Ac.undefined(n.codeDescription)||Ac.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(Ac.string(n.source)||Ac.undefined(n.source))&&(Ac.undefined(n.relatedInformation)||Ac.typedArray(n.relatedInformation,oa.is))}}(ua||(ua={})),function(e){e.create=function(e,t,...n){let r={title:e,command:t};return Ac.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){let t=e;return Ac.defined(t)&&Ac.string(t.title)&&Ac.string(t.command)}}(da||(da={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){const t=e;return Ac.objectLiteral(t)&&Ac.string(t.newText)&&Jo.is(t.range)}}(ha||(ha={})),function(e){e.create=function(e,t,n){const r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){const t=e;return Ac.objectLiteral(t)&&Ac.string(t.label)&&(Ac.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(Ac.string(t.description)||void 0===t.description)}}(fa||(fa={})),function(e){e.is=function(e){const t=e;return Ac.string(t)}}(pa||(pa={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){const t=e;return ha.is(t)&&(fa.is(t.annotationId)||pa.is(t.annotationId))}}(ma||(ma={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){let t=e;return Ac.defined(t)&&ka.is(t.textDocument)&&Array.isArray(t.edits)}}(ga||(ga={})),function(e){e.create=function(e,t,n){let r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){let t=e;return t&&"create"===t.kind&&Ac.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||Ac.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ac.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||pa.is(t.annotationId))}}(ya||(ya={})),function(e){e.create=function(e,t,n,r){let i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){let t=e;return t&&"rename"===t.kind&&Ac.string(t.oldUri)&&Ac.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||Ac.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ac.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||pa.is(t.annotationId))}}(Aa||(Aa={})),function(e){e.create=function(e,t,n){let r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){let t=e;return t&&"delete"===t.kind&&Ac.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||Ac.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||Ac.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||pa.is(t.annotationId))}}(Ta||(Ta={})),function(e){e.is=function(e){let t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((e=>Ac.string(e.kind)?ya.is(e)||Aa.is(e)||Ta.is(e):ga.is(e))))}}(va||(va={}));!function(e){e.create=function(e){return{uri:e}},e.is=function(e){let t=e;return Ac.defined(t)&&Ac.string(t.uri)}}(Ra||(Ra={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){let t=e;return Ac.defined(t)&&Ac.string(t.uri)&&Ac.integer(t.version)}}(Ea||(Ea={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){let t=e;return Ac.defined(t)&&Ac.string(t.uri)&&(null===t.version||Ac.integer(t.version))}}(ka||(ka={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){let t=e;return Ac.defined(t)&&Ac.string(t.uri)&&Ac.string(t.languageId)&&Ac.integer(t.version)&&Ac.string(t.text)}}(xa||(xa={})),function(e){e.PlainText="plaintext",e.Markdown="markdown",e.is=function(t){const n=t;return n===e.PlainText||n===e.Markdown}}(Ia||(Ia={})),function(e){e.is=function(e){const t=e;return Ac.objectLiteral(e)&&Ia.is(t.kind)&&Ac.string(t.value)}}(Sa||(Sa={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(Na||(Na={})),function(e){e.PlainText=1,e.Snippet=2}(Ca||(Ca={})),function(e){e.Deprecated=1}($a||($a={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){const t=e;return t&&Ac.string(t.newText)&&Jo.is(t.insert)&&Jo.is(t.replace)}}(wa||(wa={})),function(e){e.asIs=1,e.adjustIndentation=2}(La||(La={})),function(e){e.is=function(e){const t=e;return t&&(Ac.string(t.detail)||void 0===t.detail)&&(Ac.string(t.description)||void 0===t.description)}}(Oa||(Oa={})),function(e){e.create=function(e){return{label:e}}}(ba||(ba={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(_a||(_a={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){const t=e;return Ac.string(t)||Ac.objectLiteral(t)&&Ac.string(t.language)&&Ac.string(t.value)}}(Pa||(Pa={})),function(e){e.is=function(e){let t=e;return!!t&&Ac.objectLiteral(t)&&(Sa.is(t.contents)||Pa.is(t.contents)||Ac.typedArray(t.contents,Pa.is))&&(void 0===e.range||Jo.is(e.range))}}(Ma||(Ma={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(Da||(Da={})),function(e){e.create=function(e,t,...n){let r={label:e};return Ac.defined(t)&&(r.documentation=t),Ac.defined(n)?r.parameters=n:r.parameters=[],r}}(Ua||(Ua={})),function(e){e.Text=1,e.Read=2,e.Write=3}(Fa||(Fa={})),function(e){e.create=function(e,t){let n={range:e};return Ac.number(t)&&(n.kind=t),n}}(Ga||(Ga={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(Ka||(Ka={})),function(e){e.Deprecated=1}(Ba||(Ba={})),function(e){e.create=function(e,t,n,r,i){let s={name:e,kind:t,location:{uri:r,range:n}};return i&&(s.containerName=i),s}}(ja||(ja={})),function(e){e.create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}}}(Va||(Va={})),function(e){e.create=function(e,t,n,r,i,s){let o={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==s&&(o.children=s),o},e.is=function(e){let t=e;return t&&Ac.string(t.name)&&Ac.number(t.kind)&&Jo.is(t.range)&&Jo.is(t.selectionRange)&&(void 0===t.detail||Ac.string(t.detail))&&(void 0===t.deprecated||Ac.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(Ha||(Ha={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(Wa||(Wa={})),function(e){e.Invoked=1,e.Automatic=2}(za||(za={})),function(e){e.create=function(e,t,n){let r={diagnostics:e};return null!=t&&(r.only=t),null!=n&&(r.triggerKind=n),r},e.is=function(e){let t=e;return Ac.defined(t)&&Ac.typedArray(t.diagnostics,ua.is)&&(void 0===t.only||Ac.typedArray(t.only,Ac.string))&&(void 0===t.triggerKind||t.triggerKind===za.Invoked||t.triggerKind===za.Automatic)}}(Ya||(Ya={})),function(e){e.create=function(e,t,n){let r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):da.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},e.is=function(e){let t=e;return t&&Ac.string(t.title)&&(void 0===t.diagnostics||Ac.typedArray(t.diagnostics,ua.is))&&(void 0===t.kind||Ac.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||da.is(t.command))&&(void 0===t.isPreferred||Ac.boolean(t.isPreferred))&&(void 0===t.edit||va.is(t.edit))}}(Xa||(Xa={})),function(e){e.create=function(e,t){let n={range:e};return Ac.defined(t)&&(n.data=t),n},e.is=function(e){let t=e;return Ac.defined(t)&&Jo.is(t.range)&&(Ac.undefined(t.command)||da.is(t.command))}}(qa||(qa={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){let t=e;return Ac.defined(t)&&Ac.uinteger(t.tabSize)&&Ac.boolean(t.insertSpaces)}}(Qa||(Qa={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){let t=e;return Ac.defined(t)&&Jo.is(t.range)&&(Ac.undefined(t.target)||Ac.string(t.target))}}(Ja||(Ja={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){let n=t;return Ac.objectLiteral(n)&&Jo.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(Za||(Za={})),function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"}(ec||(ec={})),function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"}(tc||(tc={})),function(e){e.is=function(e){const t=e;return Ac.objectLiteral(t)&&(void 0===t.resultId||"string"==typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"==typeof t.data[0])}}(nc||(nc={})),function(e){e.create=function(e,t){return{range:e,text:t}},e.is=function(e){const t=e;return null!=t&&Jo.is(t.range)&&Ac.string(t.text)}}(rc||(rc={})),function(e){e.create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},e.is=function(e){const t=e;return null!=t&&Jo.is(t.range)&&Ac.boolean(t.caseSensitiveLookup)&&(Ac.string(t.variableName)||void 0===t.variableName)}}(ic||(ic={})),function(e){e.create=function(e,t){return{range:e,expression:t}},e.is=function(e){const t=e;return null!=t&&Jo.is(t.range)&&(Ac.string(t.expression)||void 0===t.expression)}}(sc||(sc={})),function(e){e.create=function(e,t){return{frameId:e,stoppedLocation:t}},e.is=function(e){const t=e;return Ac.defined(t)&&Jo.is(e.stoppedLocation)}}(oc||(oc={})),function(e){e.Type=1,e.Parameter=2,e.is=function(e){return 1===e||2===e}}(ac||(ac={})),function(e){e.create=function(e){return{value:e}},e.is=function(e){const t=e;return Ac.objectLiteral(t)&&(void 0===t.tooltip||Ac.string(t.tooltip)||Sa.is(t.tooltip))&&(void 0===t.location||Zo.is(t.location))&&(void 0===t.command||da.is(t.command))}}(cc||(cc={})),function(e){e.create=function(e,t,n){const r={position:e,label:t};return void 0!==n&&(r.kind=n),r},e.is=function(e){const t=e;return Ac.objectLiteral(t)&&Qo.is(t.position)&&(Ac.string(t.label)||Ac.typedArray(t.label,cc.is))&&(void 0===t.kind||ac.is(t.kind))&&void 0===t.textEdits||Ac.typedArray(t.textEdits,ha.is)&&(void 0===t.tooltip||Ac.string(t.tooltip)||Sa.is(t.tooltip))&&(void 0===t.paddingLeft||Ac.boolean(t.paddingLeft))&&(void 0===t.paddingRight||Ac.boolean(t.paddingRight))}}(lc||(lc={})),function(e){e.createSnippet=function(e){return{kind:"snippet",value:e}}}(uc||(uc={})),function(e){e.create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}}}(dc||(dc={})),function(e){e.create=function(e){return{items:e}}}(hc||(hc={})),function(e){e.Invoked=0,e.Automatic=1}(fc||(fc={})),function(e){e.create=function(e,t){return{range:e,text:t}}}(pc||(pc={})),function(e){e.create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}}}(mc||(mc={})),function(e){e.is=function(e){const t=e;return Ac.objectLiteral(t)&&Yo.is(t.uri)&&Ac.string(t.name)}}(gc||(gc={}));var yc,Ac;!function(e){function t(e,n){if(e.length<=1)return e;const r=e.length/2|0,i=e.slice(0,r),s=e.slice(r);t(i,n),t(s,n);let o=0,a=0,c=0;for(;o<i.length&&a<s.length;){let t=n(i[o],s[a]);e[c++]=t<=0?i[o++]:s[a++]}for(;o<i.length;)e[c++]=i[o++];for(;a<s.length;)e[c++]=s[a++];return e}e.create=function(e,t,n,r){return new Tc(e,t,n,r)},e.is=function(e){let t=e;return!!(Ac.defined(t)&&Ac.string(t.uri)&&(Ac.undefined(t.languageId)||Ac.string(t.languageId))&&Ac.uinteger(t.lineCount)&&Ac.func(t.getText)&&Ac.func(t.positionAt)&&Ac.func(t.offsetAt))},e.applyEdits=function(e,n){let r=e.getText(),i=t(n,((e,t)=>{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),s=r.length;for(let t=i.length-1;t>=0;t--){let n=i[t],o=e.offsetAt(n.range.start),a=e.offsetAt(n.range.end);if(!(a<=s))throw new Error("Overlapping edit");r=r.substring(0,o)+n.newText+r.substring(a,r.length),s=o}return r}}(yc||(yc={}));class Tc{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r<t.length;r++){n&&(e.push(r),n=!1);let i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return Qo.create(0,e);for(;n<r;){let i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}let i=n-1;return Qo.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}}!function(e){const t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(Ac||(Ac={}));class vc{constructor(){this.nodeStack=[]}get current(){return this.nodeStack[this.nodeStack.length-1]}buildRootNode(e){return this.rootNode=new Ic(e),this.rootNode.root=this.rootNode,this.nodeStack=[this.rootNode],this.rootNode}buildCompositeNode(e){const t=new kc;return t.grammarSource=e,t.root=this.rootNode,this.current.content.push(t),this.nodeStack.push(t),t}buildLeafNode(e,t){const n=new Ec(e.startOffset,e.image.length,v(e),e.tokenType,!1);return n.grammarSource=t,n.root=this.rootNode,this.current.content.push(n),n}removeNode(e){const t=e.container;if(t){const n=t.content.indexOf(e);n>=0&&t.content.splice(n,1)}}construct(e){const t=this.current;"string"==typeof e.$type&&(this.current.astNode=e),e.$cstNode=t;const n=this.nodeStack.pop();0===(null==n?void 0:n.content.length)&&this.removeNode(n)}addHiddenTokens(e){for(const t of e){const e=new Ec(t.startOffset,t.image.length,v(t),t.tokenType,!0);e.root=this.rootNode,this.addHiddenToken(this.rootNode,e)}}addHiddenToken(e,t){const{offset:n,end:r}=t;for(let i=0;i<e.content.length;i++){const s=e.content[i],{offset:o,end:c}=s;if(a(s)&&n>o&&r<c)return void this.addHiddenToken(s,t);if(r<=o)return void e.content.splice(i,0,t)}e.content.push(t)}}class Rc{get parent(){return this.container}get feature(){return this.grammarSource}get hidden(){return!1}get astNode(){var e,t;const n="string"==typeof(null===(e=this._astNode)||void 0===e?void 0:e.$type)?this._astNode:null===(t=this.container)||void 0===t?void 0:t.astNode;if(!n)throw new Error("This node has no associated AST element");return n}set astNode(e){this._astNode=e}get element(){return this.astNode}get text(){return this.root.fullText.substring(this.offset,this.end)}}class Ec extends Rc{get offset(){return this._offset}get length(){return this._length}get end(){return this._offset+this._length}get hidden(){return this._hidden}get tokenType(){return this._tokenType}get range(){return this._range}constructor(e,t,n,r,i=!1){super(),this._hidden=i,this._offset=e,this._tokenType=r,this._length=t,this._range=n}}class kc extends Rc{constructor(){super(...arguments),this.content=new xc(this)}get children(){return this.content}get offset(){var e,t;return null!==(t=null===(e=this.firstNonHiddenNode)||void 0===e?void 0:e.offset)&&void 0!==t?t:0}get length(){return this.end-this.offset}get end(){var e,t;return null!==(t=null===(e=this.lastNonHiddenNode)||void 0===e?void 0:e.end)&&void 0!==t?t:0}get range(){const e=this.firstNonHiddenNode,t=this.lastNonHiddenNode;if(e&&t){if(void 0===this._rangeCache){const{range:n}=e,{range:r}=t;this._rangeCache={start:n.start,end:r.end.line<n.start.line?n.start:r.end}}return this._rangeCache}return{start:Qo.create(0,0),end:Qo.create(0,0)}}get firstNonHiddenNode(){for(const e of this.content)if(!e.hidden)return e;return this.content[0]}get lastNonHiddenNode(){for(let e=this.content.length-1;e>=0;e--){const t=this.content[e];if(!t.hidden)return t}return this.content[this.content.length-1]}}class xc extends Array{constructor(e){super(),this.parent=e,Object.setPrototypeOf(this,xc.prototype)}push(...e){return this.addParents(e),super.push(...e)}unshift(...e){return this.addParents(e),super.unshift(...e)}splice(e,t,...n){return this.addParents(n),super.splice(e,t,...n)}addParents(e){for(const t of e)t.container=this.parent}}class Ic extends kc{get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(e){super(),this._text="",this._text=null!=e?e:""}}const Sc=Symbol("Datatype");function Nc(e){return e.$type===Sc}const Cc=e=>e.endsWith("\u200b")?e:e+"\u200b";class $c{constructor(e){this._unorderedGroups=new Map,this.lexer=e.parser.Lexer;const t=this.lexer.definition;this.wrapper=new Pc(t,Object.assign(Object.assign({},e.parser.ParserConfig),{errorMessageProvider:e.parser.ParserErrorMessageProvider}))}alternatives(e,t){this.wrapper.wrapOr(e,t)}optional(e,t){this.wrapper.wrapOption(e,t)}many(e,t){this.wrapper.wrapMany(e,t)}atLeastOne(e,t){this.wrapper.wrapAtLeastOne(e,t)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}}class wc extends $c{get current(){return this.stack[this.stack.length-1]}constructor(e){super(e),this.nodeBuilder=new vc,this.stack=[],this.assignmentMap=new Map,this.linker=e.references.Linker,this.converter=e.parser.ValueConverter,this.astReflection=e.shared.AstReflection}rule(e,t){const n=e.fragment?void 0:gt(e)?Sc:Tt(e),r=this.wrapper.DEFINE_RULE(Cc(e.name),this.startImplementation(n,t).bind(this));return e.entry&&(this.mainRule=r),r}parse(e){this.nodeBuilder.buildRootNode(e);const t=this.lexer.tokenize(e);this.wrapper.input=t.tokens;const n=this.mainRule.call(this.wrapper,{});return this.nodeBuilder.addHiddenTokens(t.hidden),this.unorderedGroups.clear(),{value:n,lexerErrors:t.errors,parserErrors:this.wrapper.errors}}startImplementation(e,t){return n=>{if(!this.isRecording()){const t={$type:e};this.stack.push(t),e===Sc&&(t.value="")}let r;try{r=t(n)}catch(i){r=void 0}return this.isRecording()||void 0!==r||(r=this.construct()),r}}consume(e,t,n){const r=this.wrapper.wrapConsume(e,t);if(!this.isRecording()&&this.isValidToken(r)){const e=this.nodeBuilder.buildLeafNode(r,n),{assignment:t,isCrossRef:i}=this.getAssignment(n),s=this.current;if(t){const s=Ae(n)?r.image:this.converter.convert(r.image,e);this.assign(t.operator,t.feature,s,e,i)}else if(Nc(s)){let t=r.image;Ae(n)||(t=this.converter.convert(t,e).toString()),s.value+=t}}}isValidToken(e){return!e.isInsertedInRecovery&&!isNaN(e.startOffset)&&"number"==typeof e.endOffset&&!isNaN(e.endOffset)}subrule(e,t,n,r){let i;this.isRecording()||(i=this.nodeBuilder.buildCompositeNode(n));const s=this.wrapper.wrapSubrule(e,t,r);!this.isRecording()&&i&&i.length>0&&this.performSubruleAssignment(s,n,i)}performSubruleAssignment(e,t,n){const{assignment:r,isCrossRef:i}=this.getAssignment(t);if(r)this.assign(r.operator,r.feature,e,n,i);else if(!r){const t=this.current;if(Nc(t))t.value+=e.toString();else if("object"==typeof e&&e){const n=e.$type,r=this.assignWithoutOverride(e,t);n&&(r.$type=n);const i=r;this.stack.pop(),this.stack.push(i)}}}action(e,t){if(!this.isRecording()){let n=this.current;if(!n.$cstNode&&t.feature&&t.operator){n=this.construct(!1);const e=n.$cstNode.feature;this.nodeBuilder.buildCompositeNode(e)}const r={$type:e};this.stack.pop(),this.stack.push(r),t.feature&&t.operator&&this.assign(t.operator,t.feature,n,n.$cstNode,!1)}}construct(e=!0){if(this.isRecording())return;const t=this.current;return be(t),this.nodeBuilder.construct(t),e&&this.stack.pop(),Nc(t)?this.converter.convert(t.value,t.$cstNode):(function(e,t){const n=e.getTypeMetaData(t.$type),r=t;for(const i of n.properties)void 0!==i.defaultValue&&void 0===r[i.name]&&(r[i.name]=Ke(i.defaultValue))}(this.astReflection,t),t)}getAssignment(e){if(!this.assignmentMap.has(e)){const t=_e(e,ue);this.assignmentMap.set(e,{assignment:t,isCrossRef:!!t&&fe(t.terminal)})}return this.assignmentMap.get(e)}assign(e,t,n,r,i){const s=this.current;let o;switch(o=i&&"string"==typeof n?this.linker.buildReference(s,t,r,n):n,e){case"=":s[t]=o;break;case"?=":s[t]=!0;break;case"+=":Array.isArray(s[t])||(s[t]=[]),s[t].push(o)}}assignWithoutOverride(e,t){for(const[n,r]of Object.entries(t)){const t=e[n];void 0===t?e[n]=r:Array.isArray(t)&&Array.isArray(r)&&(r.push(...t),e[n]=r)}return e}get definitionErrors(){return this.wrapper.definitionErrors}}class Lc{buildMismatchTokenMessage(e){return vi.buildMismatchTokenMessage(e)}buildNotAllInputParsedMessage(e){return vi.buildNotAllInputParsedMessage(e)}buildNoViableAltMessage(e){return vi.buildNoViableAltMessage(e)}buildEarlyExitMessage(e){return vi.buildEarlyExitMessage(e)}}class Oc extends Lc{buildMismatchTokenMessage({expected:e,actual:t}){return`Expecting ${e.LABEL?"`"+e.LABEL+"`":e.name.endsWith(":KW")?`keyword '${e.name.substring(0,e.name.length-3)}'`:`token of type '${e.name}'`} but found \`${t.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:e}){return`Expecting end of file but found \`${e.image}\`.`}}class bc extends $c{constructor(){super(...arguments),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(e){this.resetState();const t=this.lexer.tokenize(e);return this.tokens=t.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(e,t){const n=this.wrapper.DEFINE_RULE(Cc(e.name),this.startImplementation(t).bind(this));return e.entry&&(this.mainRule=n),n}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(e){return t=>{const n=this.keepStackSize();try{e(t)}finally{this.resetStackSize(n)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){const e=this.elementStack.length;return this.stackSize=e,e}resetStackSize(e){this.removeUnexpectedElements(),this.stackSize=e}consume(e,t,n){this.wrapper.wrapConsume(e,t),this.isRecording()||(this.lastElementStack=[...this.elementStack,n],this.nextTokenIndex=this.currIdx+1)}subrule(e,t,n,r){this.before(n),this.wrapper.wrapSubrule(e,t,r),this.after(n)}before(e){this.isRecording()||this.elementStack.push(e)}after(e){if(!this.isRecording()){const t=this.elementStack.lastIndexOf(e);t>=0&&this.elementStack.splice(t)}}get currIdx(){return this.wrapper.currIdx}}const _c={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new Oc};class Pc extends so{constructor(e,t){const n=t&&"maxLookahead"in t;super(e,Object.assign(Object.assign(Object.assign({},_c),{lookaheadStrategy:n?new Os({maxLookahead:t.maxLookahead}):new bo}),t))}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(e,t){return this.RULE(e,t)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(e,t){return this.consume(e,t)}wrapSubrule(e,t,n){return this.subrule(e,t,{ARGS:[n]})}wrapOr(e,t){this.or(e,t)}wrapOption(e,t){this.option(e,t)}wrapMany(e,t){this.many(e,t)}wrapAtLeastOne(e,t){this.atLeastOne(e,t)}}function Mc(e,t,n){return function(e,t){const n=lt(t,!1),r=m(t.rules).filter(X).filter((e=>n.has(e)));for(const i of r){const t=Object.assign(Object.assign({},e),{consume:1,optional:1,subrule:1,many:1,or:1});t.rules.set(i.name,e.parser.rule(i,Dc(t,i.definition)))}}({parser:t,tokens:n,rules:new Map,ruleNames:new Map},e),t}function Dc(e,t,n=!1){let r;if(Ae(t))r=function(e,t){const n=e.consume++,r=e.tokens[t.value];if(!r)throw new Error("Could not find token for keyword: "+t.value);return()=>e.parser.consume(n,r,t)}(e,t);else if(oe(t))r=function(e,t){const n=Tt(t);return()=>e.parser.action(n,t)}(e,t);else if(ue(t))r=Dc(e,t.terminal);else if(fe(t))r=Gc(e,t);else if(Ee(t))r=function(e,t){const n=t.rule.ref;if(X(n)){const r=e.subrule++,i=t.arguments.length>0?function(e,t){const n=t.map((e=>Uc(e.value)));return t=>{const r={};for(let i=0;i<n.length;i++){const s=e.parameters[i],o=n[i];r[s.name]=o(t)}return r}}(n,t.arguments):()=>({});return s=>e.parser.subrule(r,Bc(e,n),t,i(s))}if(te(n)){const r=e.consume++,i=jc(e,n.name);return()=>e.parser.consume(r,i,t)}if(!n)throw new S(t.$cstNode,`Undefined rule type: ${t.$type}`);N()}(e,t);else if(ce(t))r=function(e,t){if(1===t.elements.length)return Dc(e,t.elements[0]);{const n=[];for(const i of t.elements){const t={ALT:Dc(e,i,!0)},r=Fc(i);r&&(t.GATE=Uc(r)),n.push(t)}const r=e.or++;return t=>e.parser.alternatives(r,n.map((e=>{const n={ALT:()=>e.ALT(t)},r=e.GATE;return r&&(n.GATE=()=>r(t)),n})))}}(e,t);else if(Ce(t))r=function(e,t){if(1===t.elements.length)return Dc(e,t.elements[0]);const n=[];for(const a of t.elements){const t={ALT:Dc(e,a,!0)},r=Fc(a);r&&(t.GATE=Uc(r)),n.push(t)}const r=e.or++,i=(e,t)=>`uGroup_${e}_${t.getRuleStack().join("-")}`,s=t=>e.parser.alternatives(r,n.map(((n,s)=>{const o={ALT:()=>!0},a=e.parser;o.ALT=()=>{if(n.ALT(t),!a.isRecording()){const e=i(r,a);a.unorderedGroups.get(e)||a.unorderedGroups.set(e,[]);const t=a.unorderedGroups.get(e);void 0===(null==t?void 0:t[s])&&(t[s]=!0)}};const c=n.GATE;return o.GATE=c?()=>c(t):()=>{const e=a.unorderedGroups.get(i(r,a));return!(null==e?void 0:e[s])},o}))),o=Kc(e,Fc(t),s,"*");return t=>{o(t),e.parser.isRecording()||e.parser.unorderedGroups.delete(i(r,e.parser))}}(e,t);else if(ge(t))r=function(e,t){const n=t.elements.map((t=>Dc(e,t)));return e=>n.forEach((t=>t(e)))}(e,t);else{if(i=t,!Oe.isInstance(i,pe))throw new S(t.$cstNode,`Unexpected element type: ${t.$type}`);{const n=e.consume++;r=()=>e.parser.consume(n,yi,t)}}var i;return Kc(e,n?void 0:Fc(t),r,t.cardinality)}function Uc(e){if(t=e,Oe.isInstance(t,U)){const t=Uc(e.left),n=Uc(e.right);return e=>t(e)||n(e)}if(function(e){return Oe.isInstance(e,D)}(e)){const t=Uc(e.left),n=Uc(e.right);return e=>t(e)&&n(e)}if(function(e){return Oe.isInstance(e,V)}(e)){const t=Uc(e.value);return e=>!t(e)}if(function(e){return Oe.isInstance(e,z)}(e)){const t=e.parameter.ref.name;return e=>void 0!==e&&!0===e[t]}if(function(e){return Oe.isInstance(e,M)}(e)){const t=Boolean(e.true);return()=>t}var t;N()}function Fc(e){if(ge(e))return e.guardCondition}function Gc(e,t,n=t.terminal){if(n){if(Ee(n)&&X(n.rule.ref)){const r=e.subrule++;return i=>e.parser.subrule(r,Bc(e,n.rule.ref),t,i)}if(Ee(n)&&te(n.rule.ref)){const r=e.consume++,i=jc(e,n.rule.ref.name);return()=>e.parser.consume(r,i,t)}if(Ae(n)){const r=e.consume++,i=jc(e,n.value);return()=>e.parser.consume(r,i,t)}throw new Error("Could not build cross reference parser")}{if(!t.type.ref)throw new Error("Could not resolve reference to type: "+t.type.$refText);const n=pt(t.type.ref),r=null==n?void 0:n.terminal;if(!r)throw new Error("Could not find name assignment for type: "+Tt(t.type.ref));return Gc(e,t,r)}}function Kc(e,t,n,r){const i=t&&Uc(t);if(!r){if(i){const t=e.or++;return r=>e.parser.alternatives(t,[{ALT:()=>n(r),GATE:()=>i(r)},{ALT:ro(),GATE:()=>!i(r)}])}return n}if("*"===r){const t=e.many++;return r=>e.parser.many(t,{DEF:()=>n(r),GATE:i?()=>i(r):void 0})}if("+"===r){const t=e.many++;if(i){const r=e.or++;return s=>e.parser.alternatives(r,[{ALT:()=>e.parser.atLeastOne(t,{DEF:()=>n(s)}),GATE:()=>i(s)},{ALT:ro(),GATE:()=>!i(s)}])}return r=>e.parser.atLeastOne(t,{DEF:()=>n(r)})}if("?"===r){const t=e.optional++;return r=>e.parser.optional(t,{DEF:()=>n(r),GATE:i?()=>i(r):void 0})}N()}function Bc(e,t){const n=function(e,t){if(X(t))return t.name;if(e.ruleNames.has(t))return e.ruleNames.get(t);{let n=t,r=n.$container,i=t.$type;for(;!X(r);){if(ge(r)||ce(r)||Ce(r)){i=r.elements.indexOf(n).toString()+":"+i}n=r,r=r.$container}return i=r.name+":"+i,e.ruleNames.set(t,i),i}}(e,t),r=e.rules.get(n);if(!r)throw new Error(`Rule "${n}" not found."`);return r}function jc(e,t){const n=e.tokens[t];if(!n)throw new Error(`Token "${t}" not found."`);return n}function Vc(e){const t=function(e){const t=e.Grammar,n=e.parser.Lexer,r=new wc(e);return Mc(t,r,n.definition)}(e);return t.finalize(),t}class Hc{buildTokens(e,t){const n=m(lt(e,!1)),r=this.buildTerminalTokens(n),i=this.buildKeywordTokens(n,r,t);return r.forEach((e=>{const t=e.PATTERN;"object"==typeof t&&t&&"test"in t&&ot(t)?i.unshift(e):i.push(e)})),i}buildTerminalTokens(e){return e.filter(te).filter((e=>!e.fragment)).map((e=>this.buildTerminalToken(e))).toArray()}buildTerminalToken(e){const t=vt(e),n=this.requiresCustomPattern(t)?this.regexPatternFunction(t):t,r={name:e.name,PATTERN:n,LINE_BREAKS:!0};return e.hidden&&(r.GROUP=ot(t)?ii.SKIPPED:"hidden"),r}requiresCustomPattern(e){return!!e.flags.includes("u")||!(!e.source.includes("?<=")&&!e.source.includes("?<!"))}regexPatternFunction(e){const t=new RegExp(e,e.flags+"y");return(e,n)=>{t.lastIndex=n;return t.exec(e)}}buildKeywordTokens(e,t,n){return e.filter(X).flatMap((e=>De(e).filter(Ae))).distinct((e=>e.value)).toArray().sort(((e,t)=>t.value.length-e.value.length)).map((e=>this.buildKeywordToken(e,t,Boolean(null==n?void 0:n.caseInsensitive))))}buildKeywordToken(e,t,n){return{name:e.value,PATTERN:this.buildKeywordPattern(e,n),LONGER_ALT:this.findLongerAlt(e,t)}}buildKeywordPattern(e,t){return t?new RegExp(function(e){return Array.prototype.map.call(e,(e=>/\w/.test(e)?`[${e.toLowerCase()}${e.toUpperCase()}]`:at(e))).join("")}(e.value)):e.value}findLongerAlt(e,t){return t.reduce(((t,n)=>{const r=null==n?void 0:n.PATTERN;return(null==r?void 0:r.source)&&ct("^"+r.source+"$",e.value)&&t.push(n),t}),[])}}class Wc{convert(e,t){let n=t.grammarSource;if(fe(n)&&(n=function(e){if(e.terminal)return e.terminal;if(e.type.ref){const t=pt(e.type.ref);return null==t?void 0:t.terminal}}(n)),Ee(n)){const r=n.rule.ref;if(!r)throw new Error("This cst node was not parsed by a rule.");return this.runConverter(r,e,t)}return e}runConverter(e,t,n){var r;switch(e.name.toUpperCase()){case"INT":return zc.convertInt(t);case"STRING":return zc.convertString(t);case"ID":return zc.convertID(t)}switch(null===(r=function(e){var t,n,r;return te(e)?null!==(n=null===(t=e.type)||void 0===t?void 0:t.name)&&void 0!==n?n:"string":gt(e)?e.name:null!==(r=At(e))&&void 0!==r?r:e.name}(e))||void 0===r?void 0:r.toLowerCase()){case"number":return zc.convertNumber(t);case"boolean":return zc.convertBoolean(t);case"bigint":return zc.convertBigint(t);case"date":return zc.convertDate(t);default:return t}}}var zc;!function(e){function t(e){switch(e){case"b":return"\b";case"f":return"\f";case"n":return"\n";case"r":return"\r";case"t":return"\t";case"v":return"\v";case"0":return"\0";default:return e}}e.convertString=function(e){let n="";for(let r=1;r<e.length-1;r++){const i=e.charAt(r);if("\\"===i){n+=t(e.charAt(++r))}else n+=i}return n},e.convertID=function(e){return"^"===e.charAt(0)?e.substring(1):e},e.convertInt=function(e){return parseInt(e)},e.convertBigint=function(e){return BigInt(e)},e.convertDate=function(e){return new Date(e)},e.convertNumber=function(e){return Number(e)},e.convertBoolean=function(e){return"true"===e.toLowerCase()}}(zc||(zc={}));var Yc=n(59850);let Xc=0,qc=10;const Qc=Symbol("OperationCancelled");function Jc(e){return e===Qc}async function Zc(e){if(e===Yc.XO.None)return;const t=Date.now();if(t-Xc>=qc&&(Xc=t,await new Promise((e=>{"undefined"==typeof setImmediate?setTimeout(e,0):setImmediate(e)}))),e.isCancellationRequested)throw Qc}class el{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=t=>(e(t),this),this.reject=e=>(t(e),this)}))}}class tl{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){for(const n of e)if(tl.isIncremental(n)){const e=al(n.range),t=this.offsetAt(e.start),r=this.offsetAt(e.end);this._content=this._content.substring(0,t)+n.text+this._content.substring(r,this._content.length);const i=Math.max(e.start.line,0),s=Math.max(e.end.line,0);let o=this._lineOffsets;const a=sl(n.text,!1,t);if(s-i===a.length)for(let n=0,l=a.length;n<l;n++)o[n+i+1]=a[n];else a.length<1e4?o.splice(i+1,s-i,...a):this._lineOffsets=o=o.slice(0,i+1).concat(a,o.slice(s+1));const c=n.text.length-(r-t);if(0!==c)for(let n=i+1+a.length,l=o.length;n<l;n++)o[n]=o[n]+c}else{if(!tl.isFull(n))throw new Error("Unknown change event received");this._content=n.text,this._lineOffsets=void 0}this._version=t}getLineOffsets(){return void 0===this._lineOffsets&&(this._lineOffsets=sl(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);const t=this.getLineOffsets();let n=0,r=t.length;if(0===r)return{line:0,character:e};for(;n<r;){const i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}const i=n-1;return{line:i,character:(e=this.ensureBeforeEOL(e,t[i]))-t[i]}}offsetAt(e){const t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;const n=t[e.line];if(e.character<=0)return n;const r=e.line+1<t.length?t[e.line+1]:this._content.length,i=Math.min(n+e.character,r);return this.ensureBeforeEOL(i,n)}ensureBeforeEOL(e,t){for(;e>t&&ol(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){const t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)}static isFull(e){const t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength}}var nl,rl;function il(e,t){if(e.length<=1)return e;const n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);il(r,t),il(i,t);let s=0,o=0,a=0;for(;s<r.length&&o<i.length;){const n=t(r[s],i[o]);e[a++]=n<=0?r[s++]:i[o++]}for(;s<r.length;)e[a++]=r[s++];for(;o<i.length;)e[a++]=i[o++];return e}function sl(e,t,n=0){const r=t?[n]:[];for(let i=0;i<e.length;i++){const t=e.charCodeAt(i);ol(t)&&(13===t&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,r.push(n+i+1))}return r}function ol(e){return 13===e||10===e}function al(e){const t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function cl(e){const t=al(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,r){return new tl(e,t,n,r)},e.update=function(e,t,n){if(e instanceof tl)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){const n=e.getText(),r=il(t.map(cl),((e,t)=>{const n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));let i=0;const s=[];for(const o of r){const t=e.offsetAt(o.range.start);if(t<i)throw new Error("Overlapping edit");t>i&&s.push(n.substring(i,t)),o.newText.length&&s.push(o.newText),i=e.offsetAt(o.range.end)}return s.push(n.substr(i)),s.join("")}}(nl||(nl={})),(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,s=-1,o=0,a=0;a<=e.length;++a){if(a<e.length)n=e.charCodeAt(a);else{if(47===n)break;n=47}if(47===n){if(s===a-1||1===o);else if(s!==a-1&&2===o){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",i=0):i=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),s=a,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,s=a,o=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(s+1,a):r=e.slice(s+1,a),i=a-s-1;s=a,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var o;s>=0?o=arguments[s]:(void 0===e&&(e=process.cwd()),o=e),t(o),0!==o.length&&(r=o+"/"+r,i=47===o.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var s=e.length,o=s-i,a=1;a<n.length&&47===n.charCodeAt(a);++a);for(var c=n.length-a,l=o<c?o:c,u=-1,d=0;d<=l;++d){if(d===l){if(c>l){if(47===n.charCodeAt(a+d))return n.slice(a+d+1);if(0===d)return n.slice(a+d)}else o>l&&(47===e.charCodeAt(i+d)?u=d:0===d&&(u=0));break}var h=e.charCodeAt(i+d);if(h!==n.charCodeAt(a+d))break;47===h&&(u=d)}var f="";for(d=i+u+1;d<=s;++d)d!==s&&47!==e.charCodeAt(d)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(a+u):(a+=u,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,s=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!s){i=o;break}}else s=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,s=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,c=-1;for(r=e.length-1;r>=0;--r){var l=e.charCodeAt(r);if(47===l){if(!o){i=r+1;break}}else-1===c&&(o=!1,c=r+1),a>=0&&(l===n.charCodeAt(a)?-1==--a&&(s=r):(a=-1,s=c))}return i===s?s=c:-1===s&&(s=e.length),e.slice(i,s)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else-1===s&&(o=!1,s=r+1);return-1===s?"":e.slice(i,s)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,s=!0,o=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===i&&(s=!1,i=a+1),46===c?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1);else if(!s){r=a+1;break}}return-1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),s=47===i;s?(n.root="/",r=1):r=0;for(var o=-1,a=0,c=-1,l=!0,u=e.length-1,d=0;u>=r;--u)if(47!==(i=e.charCodeAt(u)))-1===c&&(l=!1,c=u+1),46===i?-1===o?o=u:1!==d&&(d=1):-1!==o&&(d=-1);else if(!l){a=u+1;break}return-1===o||-1===c||0===d||1===d&&o===c-1&&o===a+1?-1!==c&&(n.base=n.name=0===a&&s?e.slice(1,c):e.slice(a,c)):(0===a&&s?(n.name=e.slice(1,o),n.base=e.slice(1,c)):(n.name=e.slice(a,o),n.base=e.slice(a,c)),n.ext=e.slice(o,c)),a>0?n.dir=e.slice(0,a-1):s&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{let e;if(n.r(r),n.d(r,{URI:()=>u,Utils:()=>x}),"object"==typeof process)e="win32"===process.platform;else if("object"==typeof navigator){let t=navigator.userAgent;e=t.indexOf("Windows")>=0}const t=/^\w[\w\d+.-]*$/,i=/^\//,s=/^\/\//;function o(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!t.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!i.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}const a="",c="/",l=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class u{static isUri(e){return e instanceof u||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}scheme;authority;path;query;fragment;constructor(e,t,n,r,i,s=!1){"object"==typeof e?(this.scheme=e.scheme||a,this.authority=e.authority||a,this.path=e.path||a,this.query=e.query||a,this.fragment=e.fragment||a):(this.scheme=function(e,t){return e||t?e:"file"}(e,s),this.authority=t||a,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==c&&(t=c+t):t=c}return t}(this.scheme,n||a),this.query=r||a,this.fragment=i||a,o(this,s))}get fsPath(){return g(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:s}=e;return void 0===t?t=this.scheme:null===t&&(t=a),void 0===n?n=this.authority:null===n&&(n=a),void 0===r?r=this.path:null===r&&(r=a),void 0===i?i=this.query:null===i&&(i=a),void 0===s?s=this.fragment:null===s&&(s=a),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment?this:new h(t,n,r,i,s)}static parse(e,t=!1){const n=l.exec(e);return n?new h(n[2]||a,v(n[4]||a),v(n[5]||a),v(n[7]||a),v(n[9]||a),t):new h(a,a,a,a,a)}static file(t){let n=a;if(e&&(t=t.replace(/\\/g,c)),t[0]===c&&t[1]===c){const e=t.indexOf(c,2);-1===e?(n=t.substring(2),t=c):(n=t.substring(2,e),t=t.substring(e)||c)}return new h("file",n,t,a,a)}static from(e){const t=new h(e.scheme,e.authority,e.path,e.query,e.fragment);return o(t,!0),t}toString(e=!1){return y(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof u)return e;{const t=new h(e);return t._formatted=e.external,t._fsPath=e._sep===d?e.fsPath:null,t}}return e}}const d=e?1:void 0;class h extends u{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=g(this,!1)),this._fsPath}toString(e=!1){return e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const f={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function p(e,t,n){let r,i=-1;for(let s=0;s<e.length;s++){const o=e.charCodeAt(s);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),void 0!==r&&(r+=e.charAt(s));else{void 0===r&&(r=e.substr(0,s));const t=f[o];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=t):-1===i&&(i=s)}}return-1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function m(e){let t;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=f[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function g(t,n){let r;return r=t.authority&&t.path.length>1&&"file"===t.scheme?`//${t.authority}${t.path}`:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&58===t.path.charCodeAt(2)?n?t.path.substr(1):t.path[1].toLowerCase()+t.path.substr(2):t.path,e&&(r=r.replace(/\//g,"\\")),r}function y(e,t){const n=t?m:p;let r="",{scheme:i,authority:s,path:o,query:a,fragment:l}=e;if(i&&(r+=i,r+=":"),(s||"file"===i)&&(r+=c,r+=c),s){let e=s.indexOf("@");if(-1!==e){const t=s.substr(0,e);s=s.substr(e+1),e=t.lastIndexOf(":"),-1===e?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=":",r+=n(t.substr(e+1),!1,!0)),r+="@"}s=s.toLowerCase(),e=s.lastIndexOf(":"),-1===e?r+=n(s,!1,!0):(r+=n(s.substr(0,e),!1,!0),r+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=n(o,!0,!1)}return a&&(r+="?",r+=n(a,!1,!1)),l&&(r+="#",r+=t?l:p(l,!1,!1)),r}function A(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+A(e.substr(3)):e}}const T=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(T)?e.replace(T,(e=>A(e))):e}var R=n(470);const E=R.posix||R,k="/";var x;!function(e){e.joinPath=function(e,...t){return e.with({path:E.join(e.path,...t)})},e.resolvePath=function(e,...t){let n=e.path,r=!1;n[0]!==k&&(n=k+n,r=!0);let i=E.resolve(n,...t);return r&&i[0]===k&&!e.authority&&(i=i.substring(1)),e.with({path:i})},e.dirname=function(e){if(0===e.path.length||e.path===k)return e;let t=E.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)&&(t=""),e.with({path:t})},e.basename=function(e){return E.basename(e.path)},e.extname=function(e){return E.extname(e.path)}}(x||(x={}))})(),rl=r})();const{URI:ll,Utils:ul}=rl;var dl,hl;!function(e){e.basename=ul.basename,e.dirname=ul.dirname,e.extname=ul.extname,e.joinPath=ul.joinPath,e.resolvePath=ul.resolvePath,e.equals=function(e,t){return(null==e?void 0:e.toString())===(null==t?void 0:t.toString())},e.relative=function(e,t){const n="string"==typeof e?e:e.path,r="string"==typeof t?t:t.path,i=n.split("/").filter((e=>e.length>0)),s=r.split("/").filter((e=>e.length>0));let o=0;for(;o<i.length&&i[o]===s[o];o++);return"../".repeat(i.length-o)+s.slice(o).join("/")}}(dl||(dl={})),function(e){e[e.Changed=0]="Changed",e[e.Parsed=1]="Parsed",e[e.IndexedContent=2]="IndexedContent",e[e.ComputedScopes=3]="ComputedScopes",e[e.Linked=4]="Linked",e[e.IndexedReferences=5]="IndexedReferences",e[e.Validated=6]="Validated"}(hl||(hl={}));class fl{constructor(e){this.serviceRegistry=e.ServiceRegistry,this.textDocuments=e.workspace.TextDocuments,this.fileSystemProvider=e.workspace.FileSystemProvider}async fromUri(e,t=Yc.XO.None){const n=await this.fileSystemProvider.readFile(e);return this.createAsync(e,n,t)}fromTextDocument(e,t,n){return t=null!=t?t:ll.parse(e.uri),n?this.createAsync(t,e,n):this.create(t,e)}fromString(e,t,n){return n?this.createAsync(t,e,n):this.create(t,e)}fromModel(e,t){return this.create(t,{$model:e})}create(e,t){if("string"==typeof t){const n=this.parse(e,t);return this.createLangiumDocument(n,e,void 0,t)}if("$model"in t){const n={value:t.$model,parserErrors:[],lexerErrors:[]};return this.createLangiumDocument(n,e)}{const n=this.parse(e,t.getText());return this.createLangiumDocument(n,e,t)}}async createAsync(e,t,n){if("string"==typeof t){const r=await this.parseAsync(e,t,n);return this.createLangiumDocument(r,e,void 0,t)}{const r=await this.parseAsync(e,t.getText(),n);return this.createLangiumDocument(r,e,t)}}createLangiumDocument(e,t,n,r){let i;if(n)i={parseResult:e,uri:t,state:hl.Parsed,references:[],textDocument:n};else{const n=this.createTextDocumentGetter(t,r);i={parseResult:e,uri:t,state:hl.Parsed,references:[],get textDocument(){return n()}}}return e.value.$document=i,i}async update(e,t){var n,r;const i=null===(n=e.parseResult.value.$cstNode)||void 0===n?void 0:n.root.fullText,s=null===(r=this.textDocuments)||void 0===r?void 0:r.get(e.uri.toString()),o=s?s.getText():await this.fileSystemProvider.readFile(e.uri);if(s)Object.defineProperty(e,"textDocument",{value:s});else{const t=this.createTextDocumentGetter(e.uri,o);Object.defineProperty(e,"textDocument",{get:t})}return i!==o&&(e.parseResult=await this.parseAsync(e.uri,o,t),e.parseResult.value.$document=e),e.state=hl.Parsed,e}parse(e,t){return this.serviceRegistry.getServices(e).parser.LangiumParser.parse(t)}parseAsync(e,t,n){return this.serviceRegistry.getServices(e).parser.AsyncParser.parse(t,n)}createTextDocumentGetter(e,t){const n=this.serviceRegistry;let r;return()=>null!=r?r:r=nl.create(e.toString(),n.getServices(e).LanguageMetaData.languageId,0,null!=t?t:"")}}class pl{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return m(this.documentMap.values())}addDocument(e){const t=e.uri.toString();if(this.documentMap.has(t))throw new Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){const t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let n=this.getDocument(e);return n||(n=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(n),n)}createDocument(e,t,n){if(n)return this.langiumDocumentFactory.fromString(t,e,n).then((e=>(this.addDocument(e),e)));{const n=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(n),n}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){const t=e.toString(),n=this.documentMap.get(t);return n&&(n.state=hl.Changed,n.precomputedScopes=void 0,n.references=[],n.diagnostics=void 0),n}deleteDocument(e){const t=e.toString(),n=this.documentMap.get(t);return n&&(n.state=hl.Changed,this.documentMap.delete(t)),n}}class ml{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=Yc.XO.None){for(const n of Ue(e.parseResult.value))await Zc(t),Ge(n).forEach((t=>this.doLink(t,e)))}doLink(e,t){const n=e.reference;if(void 0===n._ref)try{const t=this.getCandidate(e);if(s(t))n._ref=t;else if(n._nodeDescription=t,this.langiumDocuments().hasDocument(t.documentUri)){const r=this.loadAstNode(t);n._ref=null!=r?r:this.createLinkingError(e,t)}}catch(r){n._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${n.$refText}': ${r}`})}t.references.push(n)}unlink(e){for(const t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){const t=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return null!=t?t:this.createLinkingError(e)}buildReference(e,t,n,i){const o=this,a={$refNode:n,$refText:i,get ref(){var n,i;if(r(this._ref))return this._ref;if("object"==typeof(i=this._nodeDescription)&&null!==i&&"string"==typeof i.name&&"string"==typeof i.type&&"string"==typeof i.path){const n=o.loadAstNode(this._nodeDescription);this._ref=null!=n?n:o.createLinkingError({reference:a,container:e,property:t},this._nodeDescription)}else if(void 0===this._ref){const r=o.getLinkedNode({reference:a,container:e,property:t});if(r.error&&Pe(e).state<hl.ComputedScopes)return;this._ref=null!==(n=r.node)&&void 0!==n?n:r.error,this._nodeDescription=r.descr}return r(this._ref)?this._ref:void 0},get $nodeDescription(){return this._nodeDescription},get error(){return s(this._ref)?this._ref:void 0}};return a}getLinkedNode(e){try{const t=this.getCandidate(e);if(s(t))return{error:t};const n=this.loadAstNode(t);return n?{node:n,descr:t}:{descr:t,error:this.createLinkingError(e,t)}}catch(t){return{error:Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${e.reference.$refText}': ${t}`})}}}loadAstNode(e){if(e.node)return e.node;const t=this.langiumDocuments().getDocument(e.documentUri);return t?this.astNodeLocator.getAstNode(t.parseResult.value,e.path):void 0}createLinkingError(e,t){const n=Pe(e.container);n.state<hl.ComputedScopes&&console.warn(`Attempted reference resolution before document reached ComputedScopes state (${n.uri}).`);const r=this.reflection.getReferenceType(e);return Object.assign(Object.assign({},e),{message:`Could not resolve reference to ${r} named '${e.reference.$refText}'.`,targetDescription:t})}}class gl{getName(e){if(function(e){return"string"==typeof e.name}(e))return e.name}getNameNode(e){return dt(e.$cstNode,"name")}}class yl{constructor(e){this.nameProvider=e.references.NameProvider,this.index=e.shared.workspace.IndexManager,this.nodeLocator=e.workspace.AstNodeLocator}findDeclaration(e){if(e){const t=function(e){var t;const n=e.astNode;for(;n===(null===(t=e.container)||void 0===t?void 0:t.astNode);){const t=_e(e.grammarSource,ue);if(t)return t;e=e.container}}(e),n=e.astNode;if(t&&n){const r=n[t.feature];if(i(r))return r.ref;if(Array.isArray(r))for(const t of r)if(i(t)&&t.$refNode&&t.$refNode.offset<=e.offset&&t.$refNode.end>=e.end)return t.ref}if(n){const t=this.nameProvider.getNameNode(n);if(t&&(t===e||function(e,t){for(;e.container;)if((e=e.container)===t)return!0;return!1}(e,t)))return n}}}findDeclarationNode(e){const t=this.findDeclaration(e);if(null==t?void 0:t.$cstNode){const e=this.nameProvider.getNameNode(t);return null!=e?e:t.$cstNode}}findReferences(e,t){const n=[];if(t.includeDeclaration){const t=this.getReferenceToSelf(e);t&&n.push(t)}let r=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(r=r.filter((e=>dl.equals(e.sourceUri,t.documentUri)))),n.push(...r),m(n)}getReferenceToSelf(e){const t=this.nameProvider.getNameNode(e);if(t){const n=Pe(e),r=this.nodeLocator.getAstNodePath(e);return{sourceUri:n.uri,sourcePath:r,targetUri:n.uri,targetPath:r,segment:R(t),local:!0}}}}class Al{constructor(e){if(this.map=new Map,e)for(const[t,n]of e)this.add(t,n)}get size(){return y.sum(m(this.map.values()).map((e=>e.length)))}clear(){this.map.clear()}delete(e,t){if(void 0===t)return this.map.delete(e);{const n=this.map.get(e);if(n){const r=n.indexOf(t);if(r>=0)return 1===n.length?this.map.delete(e):n.splice(r,1),!0}return!1}}get(e){var t;return null!==(t=this.map.get(e))&&void 0!==t?t:[]}has(e,t){if(void 0===t)return this.map.has(e);{const n=this.map.get(e);return!!n&&n.indexOf(t)>=0}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach(((t,n)=>t.forEach((t=>e(t,n,this)))))}[Symbol.iterator](){return this.entries().iterator()}entries(){return m(this.map.entries()).flatMap((([e,t])=>t.map((t=>[e,t]))))}keys(){return m(this.map.keys())}values(){return m(this.map.values()).flat()}entriesGroupedByKey(){return m(this.map.entries())}}class Tl{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(const[t,n]of e)this.set(t,n)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){const t=this.map.get(e);return void 0!==t&&(this.map.delete(e),this.inverse.delete(t),!0)}}class vl{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=Yc.XO.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,n=Me,r=Yc.XO.None){const i=[];this.exportNode(e,i,t);for(const s of n(e))await Zc(r),this.exportNode(s,i,t);return i}exportNode(e,t,n){const r=this.nameProvider.getName(e);r&&t.push(this.descriptions.createDescription(e,r,n))}async computeLocalScopes(e,t=Yc.XO.None){const n=e.parseResult.value,r=new Al;for(const i of De(n))await Zc(t),this.processNode(i,e,r);return r}processNode(e,t,n){const r=e.$container;if(r){const i=this.nameProvider.getName(e);i&&n.add(r,this.descriptions.createDescription(e,i,t))}}}class Rl{constructor(e,t,n){var r;this.elements=e,this.outerScope=t,this.caseInsensitive=null!==(r=null==n?void 0:n.caseInsensitive)&&void 0!==r&&r}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){const t=this.caseInsensitive?this.elements.find((t=>t.name.toLowerCase()===e.toLowerCase())):this.elements.find((t=>t.name===e));return t||(this.outerScope?this.outerScope.getElement(e):void 0)}}class El{constructor(e,t,n){var r;this.elements=new Map,this.caseInsensitive=null!==(r=null==n?void 0:n.caseInsensitive)&&void 0!==r&&r;for(const i of e){const e=this.caseInsensitive?i.name.toLowerCase():i.name;this.elements.set(e,i)}this.outerScope=t}getElement(e){const t=this.caseInsensitive?e.toLowerCase():e,n=this.elements.get(t);return n||(this.outerScope?this.outerScope.getElement(e):void 0)}getAllElements(){let e=m(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class kl{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach((e=>e.dispose()))}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}}class xl extends kl{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(t){const n=t();return this.cache.set(e,n),n}}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class Il extends kl{constructor(e){super(),this.cache=new Map,this.converter=null!=e?e:e=>e}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,n){this.throwIfDisposed(),this.cacheForContext(e).set(t,n)}get(e,t,n){this.throwIfDisposed();const r=this.cacheForContext(e);if(r.has(t))return r.get(t);if(n){const e=n();return r.set(t,e),e}}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){const t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){const t=this.converter(e);let n=this.cache.get(t);return n||(n=new Map,this.cache.set(t,n)),n}}class Sl extends xl{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate((()=>{this.clear()})))}}class Nl{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new Sl(e.shared)}getScope(e){const t=[],n=this.reflection.getReferenceType(e),r=Pe(e.container).precomputedScopes;if(r){let i=e.container;do{const e=r.get(i);e.length>0&&t.push(m(e).filter((e=>this.reflection.isSubtype(e.type,n)))),i=i.$container}while(i)}let i=this.getGlobalScope(n,e);for(let s=t.length-1;s>=0;s--)i=this.createScope(t[s],i);return i}createScope(e,t,n){return new Rl(m(e),t,n)}createScopeForNodes(e,t,n){const r=m(e).map((e=>{const t=this.nameProvider.getName(e);if(t)return this.descriptions.createDescription(e,t)})).nonNullable();return new Rl(r,t,n)}getGlobalScope(e,t){return this.globalScopeCache.get(e,(()=>new El(this.indexManager.allElements(e))))}}function Cl(e){return"object"==typeof e&&!!e&&("$ref"in e||"$error"in e)}class $l{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){const n=null==t?void 0:t.replacer,r=(e,n)=>this.replacer(e,n,t),i=n?(e,t)=>n(e,t,r):r;try{return this.currentDocument=Pe(e),JSON.stringify(e,i,null==t?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){const n=JSON.parse(e);return this.linkNode(n,n,t),n}replacer(e,t,{refText:n,sourceText:s,textRegions:o,comments:a,uriConverter:c}){var l,u,d,h;if(!this.ignoreProperties.has(e)){if(i(t)){const e=t.ref,r=n?t.$refText:void 0;if(e){const n=Pe(e);let i="";this.currentDocument&&this.currentDocument!==n&&(i=c?c(n.uri,t):n.uri.toString());return{$ref:`${i}#${this.astNodeLocator.getAstNodePath(e)}`,$refText:r}}return{$error:null!==(u=null===(l=t.error)||void 0===l?void 0:l.message)&&void 0!==u?u:"Could not resolve reference",$refText:r}}if(r(t)){let n;if(o&&(n=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),e&&!t.$document||!(null==n?void 0:n.$textRegion)||(n.$textRegion.documentURI=null===(d=this.currentDocument)||void 0===d?void 0:d.uri.toString())),s&&!e&&(null!=n||(n=Object.assign({},t)),n.$sourceText=null===(h=t.$cstNode)||void 0===h?void 0:h.text),a){null!=n||(n=Object.assign({},t));const e=this.commentProvider.getComment(t);e&&(n.$comment=e.replace(/\r/g,""))}return null!=n?n:t}return t}}addAstNodeRegionWithAssignmentsTo(e){const t=e=>({offset:e.offset,end:e.end,length:e.length,range:e.range});if(e.$cstNode){const n=(e.$textRegion=t(e.$cstNode)).assignments={};return Object.keys(e).filter((e=>!e.startsWith("$"))).forEach((r=>{const i=function(e,t){return e&&t?ht(e,t,e.astNode,!0):[]}(e.$cstNode,r).map(t);0!==i.length&&(n[r]=i)})),e}}linkNode(e,t,n,i,s,o){for(const[c,l]of Object.entries(e))if(Array.isArray(l))for(let i=0;i<l.length;i++){const s=l[i];Cl(s)?l[i]=this.reviveReference(e,c,t,s,n):r(s)&&this.linkNode(s,t,n,e,c,i)}else Cl(l)?e[c]=this.reviveReference(e,c,t,l,n):r(l)&&this.linkNode(l,t,n,e,c);const a=e;a.$container=i,a.$containerProperty=s,a.$containerIndex=o}reviveReference(e,t,n,i,s){let o=i.$refText,a=i.$error;if(i.$ref){const e=this.getRefNode(n,i.$ref,s.uriConverter);if(r(e))return o||(o=this.nameProvider.getName(e)),{$refText:null!=o?o:"",ref:e};a=e}if(a){const n={$refText:null!=o?o:""};return n.error={container:e,property:t,message:a,reference:n},n}}getRefNode(e,t,n){try{const r=t.indexOf("#");if(0===r){const n=this.astNodeLocator.getAstNode(e,t.substring(1));return n||"Could not resolve path: "+t}if(r<0){const e=n?n(t):ll.parse(t),r=this.langiumDocuments.getDocument(e);return r?r.parseResult.value:"Could not find document for URI: "+t}const i=n?n(t.substring(0,r)):ll.parse(t.substring(0,r)),s=this.langiumDocuments.getDocument(i);if(!s)return"Could not find document for URI: "+t;if(r===t.length-1)return s.parseResult.value;const o=this.astNodeLocator.getAstNode(s.parseResult.value,t.substring(r+1));return o||"Could not resolve URI: "+t}catch(r){return String(r)}}}class wl{register(e){if(this.singleton||this.map){if(!this.map&&(this.map={},this.singleton)){for(const e of this.singleton.LanguageMetaData.fileExtensions)this.map[e]=this.singleton;this.singleton=void 0}for(const t of e.LanguageMetaData.fileExtensions)void 0!==this.map[t]&&this.map[t]!==e&&console.warn(`The file extension ${t} is used by multiple languages. It is now assigned to '${e.LanguageMetaData.languageId}'.`),this.map[t]=e}else this.singleton=e}getServices(e){if(void 0!==this.singleton)return this.singleton;if(void 0===this.map)throw new Error("The service registry is empty. Use `register` to register the services of a language.");const t=dl.extname(e),n=this.map[t];if(!n)throw new Error(`The service registry contains no services for the extension '${t}'.`);return n}get all(){return void 0!==this.singleton?[this.singleton]:void 0!==this.map?Object.values(this.map):[]}}function Ll(e){return{code:e}}var Ol,bl,_l;!function(e){e.all=["fast","slow","built-in"]}(Ol||(Ol={}));class Pl{constructor(e){this.entries=new Al,this.reflection=e.shared.AstReflection}register(e,t=this,n="fast"){if("built-in"===n)throw new Error("The 'built-in' category is reserved for lexer, parser, and linker errors.");for(const[r,i]of Object.entries(e)){const e=i;if(Array.isArray(e))for(const i of e){const e={check:this.wrapValidationException(i,t),category:n};this.addEntry(r,e)}else if("function"==typeof e){const i={check:this.wrapValidationException(e,t),category:n};this.addEntry(r,i)}}}wrapValidationException(e,t){return async(n,r,i)=>{try{await e.call(t,n,r,i)}catch(s){if(Jc(s))throw s;console.error("An error occurred during validation:",s);const e=s instanceof Error?s.message:String(s);s instanceof Error&&s.stack&&console.error(s.stack),r("error","An error occurred during validation: "+e,{node:n})}}}addEntry(e,t){if("AstNode"!==e)for(const n of this.reflection.getAllSubTypes(e))this.entries.add(n,t);else this.entries.add("AstNode",t)}getChecks(e,t){let n=m(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(n=n.filter((e=>t.includes(e.category)))),n.map((e=>e.check))}}class Ml{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},n=Yc.XO.None){const r=e.parseResult,i=[];if(await Zc(n),!t.categories||t.categories.includes("built-in")){if(this.processLexingErrors(r,i,t),t.stopAfterLexingErrors&&i.some((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===bl.LexingError})))return i;if(this.processParsingErrors(r,i,t),t.stopAfterParsingErrors&&i.some((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===bl.ParsingError})))return i;if(this.processLinkingErrors(e,i,t),t.stopAfterLinkingErrors&&i.some((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===bl.LinkingError})))return i}try{i.push(...await this.validateAst(r.value,t,n))}catch(s){if(Jc(s))throw s;console.error("An error occurred during validation:",s)}return await Zc(n),i}processLexingErrors(e,t,n){for(const r of e.lexerErrors){const e={severity:Ul("error"),range:{start:{line:r.line-1,character:r.column-1},end:{line:r.line-1,character:r.column+r.length-1}},message:r.message,data:Ll(bl.LexingError),source:this.getSource()};t.push(e)}}processParsingErrors(e,t,n){for(const r of e.parserErrors){let e;if(isNaN(r.token.startOffset)){if("previousToken"in r){const t=r.previousToken;if(isNaN(t.startOffset)){const t={line:0,character:0};e={start:t,end:t}}else{const n={line:t.endLine-1,character:t.endColumn};e={start:n,end:n}}}}else e=v(r.token);if(e){const n={severity:Ul("error"),range:e,message:r.message,data:Ll(bl.ParsingError),source:this.getSource()};t.push(n)}}}processLinkingErrors(e,t,n){for(const r of e.references){const e=r.error;if(e){const n={node:e.container,property:e.property,index:e.index,data:{code:bl.LinkingError,containerType:e.container.$type,property:e.property,refText:e.reference.$refText}};t.push(this.toDiagnostic("error",e.message,n))}}}async validateAst(e,t,n=Yc.XO.None){const r=[],i=(e,t,n)=>{r.push(this.toDiagnostic(e,t,n))};return await Promise.all(Ue(e).map((async e=>{await Zc(n);const r=this.validationRegistry.getChecks(e.$type,t.categories);for(const t of r)await t(e,i,n)}))),r}toDiagnostic(e,t,n){return{message:t,range:Dl(n),severity:Ul(e),code:n.code,codeDescription:n.codeDescription,tags:n.tags,relatedInformation:n.relatedInformation,data:n.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function Dl(e){if(e.range)return e.range;let t;return"string"==typeof e.property?t=dt(e.node.$cstNode,e.property,e.index):"string"==typeof e.keyword&&(t=function(e,t,n){if(!e)return;const r=ft(e,t,null==e?void 0:e.astNode);return 0!==r.length?r[n=void 0!==n?Math.max(0,Math.min(n,r.length-1)):0]:void 0}(e.node.$cstNode,e.keyword,e.index)),null!=t||(t=e.node.$cstNode),t?t.range:{start:{line:0,character:0},end:{line:0,character:0}}}function Ul(e){switch(e){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+e)}}!function(e){e.LexingError="lexing-error",e.ParsingError="parsing-error",e.LinkingError="linking-error"}(bl||(bl={}));class Fl{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,n=Pe(e)){null!=t||(t=this.nameProvider.getName(e));const r=this.astNodeLocator.getAstNodePath(e);if(!t)throw new Error(`Node at path ${r} has no name.`);let i;const s=()=>{var t;return null!=i?i:i=R(null!==(t=this.nameProvider.getNameNode(e))&&void 0!==t?t:e.$cstNode)};return{node:e,name:t,get nameSegment(){return s()},selectionSegment:R(e.$cstNode),type:e.$type,documentUri:n.uri,path:r}}}class Gl{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=Yc.XO.None){const n=[],r=e.parseResult.value;for(const i of Ue(r))await Zc(t),Ge(i).filter((e=>!s(e))).forEach((e=>{const t=this.createDescription(e);t&&n.push(t)}));return n}createDescription(e){const t=e.reference.$nodeDescription,n=e.reference.$refNode;if(!t||!n)return;const r=Pe(e.container).uri;return{sourceUri:r,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:R(n),local:dl.equals(t.documentUri,r)}}}class Kl{constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){const t=this.getAstNodePath(e.$container),n=this.getPathSegment(e);return t+this.segmentSeparator+n}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw new Error("Missing '$containerProperty' in AST node.");return void 0!==t?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce(((e,t)=>{if(!e||0===t.length)return e;const n=t.indexOf(this.indexSeparator);if(n>0){const r=t.substring(0,n),i=parseInt(t.substring(n+1)),s=e[r];return null==s?void 0:s[i]}return e[t]}),e)}}class Bl{constructor(e){this._ready=new el,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,n;this.workspaceConfig=null!==(n=null===(t=e.capabilities.workspace)||void 0===t?void 0:t.configuration)&&void 0!==n&&n}async initialized(e){if(this.workspaceConfig){if(e.register){const t=this.serviceRegistry.all;e.register({section:t.map((e=>this.toSectionName(e.LanguageMetaData.languageId)))})}if(e.fetchConfiguration){const t=this.serviceRegistry.all.map((e=>({section:this.toSectionName(e.LanguageMetaData.languageId)}))),n=await e.fetchConfiguration(t);t.forEach(((e,t)=>{this.updateSectionConfiguration(e.section,n[t])}))}}this._ready.resolve()}updateConfiguration(e){e.settings&&Object.keys(e.settings).forEach((t=>{this.updateSectionConfiguration(t,e.settings[t])}))}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;const n=this.toSectionName(e);if(this.settings[n])return this.settings[n][t]}toSectionName(e){return`${e}`}}!function(e){e.create=function(e){return{dispose:async()=>await e()}}}(_l||(_l={}));class jl{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Al,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=hl.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},n=Yc.XO.None){var r,i;for(const s of e){const e=s.uri.toString();if(s.state===hl.Validated){if("boolean"==typeof t.validation&&t.validation)s.state=hl.IndexedReferences,s.diagnostics=void 0,this.buildState.delete(e);else if("object"==typeof t.validation){const n=this.buildState.get(e),o=null===(r=null==n?void 0:n.result)||void 0===r?void 0:r.validationChecks;if(o){const r=(null!==(i=t.validation.categories)&&void 0!==i?i:Ol.all).filter((e=>!o.includes(e)));r.length>0&&(this.buildState.set(e,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:r})},result:n.result}),s.state=hl.IndexedReferences)}}}else this.buildState.delete(e)}this.currentState=hl.Changed,await this.emitUpdate(e.map((e=>e.uri)),[]),await this.buildDocuments(e,t,n)}async update(e,t,n=Yc.XO.None){this.currentState=hl.Changed;for(const s of t)this.langiumDocuments.deleteDocument(s),this.buildState.delete(s.toString()),this.indexManager.remove(s);for(const s of e){if(!this.langiumDocuments.invalidateDocument(s)){const e=this.langiumDocumentFactory.fromModel({$type:"INVALID"},s);e.state=hl.Changed,this.langiumDocuments.addDocument(e)}this.buildState.delete(s.toString())}const r=m(e).concat(t).map((e=>e.toString())).toSet();this.langiumDocuments.all.filter((e=>!r.has(e.uri.toString())&&this.shouldRelink(e,r))).forEach((e=>{this.serviceRegistry.getServices(e.uri).references.Linker.unlink(e),e.state=Math.min(e.state,hl.ComputedScopes),e.diagnostics=void 0})),await this.emitUpdate(e,t),await Zc(n);const i=this.langiumDocuments.all.filter((e=>{var t;return e.state<hl.Linked||!(null===(t=this.buildState.get(e.uri.toString()))||void 0===t?void 0:t.completed)})).toArray();await this.buildDocuments(i,this.updateBuildOptions,n)}async emitUpdate(e,t){await Promise.all(this.updateListeners.map((n=>n(e,t))))}shouldRelink(e,t){return!!e.references.some((e=>void 0!==e.error))||this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),_l.create((()=>{const t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)}))}async buildDocuments(e,t,n){this.prepareBuild(e,t),await this.runCancelable(e,hl.Parsed,n,(e=>this.langiumDocumentFactory.update(e,n))),await this.runCancelable(e,hl.IndexedContent,n,(e=>this.indexManager.updateContent(e,n))),await this.runCancelable(e,hl.ComputedScopes,n,(async e=>{const t=this.serviceRegistry.getServices(e.uri).references.ScopeComputation;e.precomputedScopes=await t.computeLocalScopes(e,n)})),await this.runCancelable(e,hl.Linked,n,(e=>this.serviceRegistry.getServices(e.uri).references.Linker.link(e,n))),await this.runCancelable(e,hl.IndexedReferences,n,(e=>this.indexManager.updateReferences(e,n)));const r=e.filter((e=>this.shouldValidate(e)));await this.runCancelable(r,hl.Validated,n,(e=>this.validate(e,n)));for(const i of e){const e=this.buildState.get(i.uri.toString());e&&(e.completed=!0)}}prepareBuild(e,t){for(const n of e){const e=n.uri.toString(),r=this.buildState.get(e);r&&!r.completed||this.buildState.set(e,{completed:!1,options:t,result:null==r?void 0:r.result})}}async runCancelable(e,t,n,r){const i=e.filter((e=>e.state<t));for(const s of i)await Zc(n),await r(s),s.state=t;await this.notifyBuildPhase(i,t,n),this.currentState=t}onBuildPhase(e,t){return this.buildPhaseListeners.add(e,t),_l.create((()=>{this.buildPhaseListeners.delete(e,t)}))}waitUntil(e,t,n){let r;if(t&&"path"in t?r=t:n=t,null!=n||(n=Yc.XO.None),r){const t=this.langiumDocuments.getDocument(r);if(t&&t.state>e)return Promise.resolve(r)}return this.currentState>=e?Promise.resolve(void 0):n.isCancellationRequested?Promise.reject(Qc):new Promise(((t,i)=>{const s=this.onBuildPhase(e,(()=>{if(s.dispose(),o.dispose(),r){const e=this.langiumDocuments.getDocument(r);t(null==e?void 0:e.uri)}else t(void 0)})),o=n.onCancellationRequested((()=>{s.dispose(),o.dispose(),i(Qc)}))}))}async notifyBuildPhase(e,t,n){if(0===e.length)return;const r=this.buildPhaseListeners.get(t);for(const i of r)await Zc(n),await i(e,n)}shouldValidate(e){return Boolean(this.getBuildOptions(e).validation)}async validate(e,t){var n,r;const i=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,s=this.getBuildOptions(e).validation,o="object"==typeof s?s:void 0,a=await i.validateDocument(e,o,t);e.diagnostics?e.diagnostics.push(...a):e.diagnostics=a;const c=this.buildState.get(e.uri.toString());if(c){null!==(n=c.result)&&void 0!==n||(c.result={});const e=null!==(r=null==o?void 0:o.categories)&&void 0!==r?r:Ol.all;c.result.validationChecks?c.result.validationChecks.push(...e):c.result.validationChecks=[...e]}}getBuildOptions(e){var t,n;return null!==(n=null===(t=this.buildState.get(e.uri.toString()))||void 0===t?void 0:t.options)&&void 0!==n?n:{}}}class Vl{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new Il,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){const n=Pe(e).uri,r=[];return this.referenceIndex.forEach((e=>{e.forEach((e=>{dl.equals(e.targetUri,n)&&e.targetPath===t&&r.push(e)}))})),m(r)}allElements(e,t){let n=m(this.symbolIndex.keys());return t&&(n=n.filter((e=>!t||t.has(e)))),n.map((t=>this.getFileDescriptions(t,e))).flat()}getFileDescriptions(e,t){var n;if(!t)return null!==(n=this.symbolIndex.get(e))&&void 0!==n?n:[];const r=this.symbolByTypeIndex.get(e,t,(()=>{var n;return(null!==(n=this.symbolIndex.get(e))&&void 0!==n?n:[]).filter((e=>this.astReflection.isSubtype(e.type,t)))}));return r}remove(e){const t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=Yc.XO.None){const n=this.serviceRegistry.getServices(e.uri),r=await n.references.ScopeComputation.computeExports(e,t),i=e.uri.toString();this.symbolIndex.set(i,r),this.symbolByTypeIndex.clear(i)}async updateReferences(e,t=Yc.XO.None){const n=this.serviceRegistry.getServices(e.uri),r=await n.workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),r)}isAffected(e,t){const n=this.referenceIndex.get(e.uri.toString());return!!n&&n.some((e=>!e.local&&t.has(e.targetUri.toString())))}}class Hl{constructor(e){this.initialBuildOptions={},this._ready=new el,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=null!==(t=e.workspaceFolders)&&void 0!==t?t:void 0}initialized(e){return this.mutex.write((e=>{var t;return this.initializeWorkspace(null!==(t=this.folders)&&void 0!==t?t:[],e)}))}async initializeWorkspace(e,t=Yc.XO.None){const n=await this.performStartup(e);await Zc(t),await this.documentBuilder.build(n,this.initialBuildOptions,t)}async performStartup(e){const t=this.serviceRegistry.all.flatMap((e=>e.LanguageMetaData.fileExtensions)),n=[],r=e=>{n.push(e),this.langiumDocuments.hasDocument(e.uri)||this.langiumDocuments.addDocument(e)};return await this.loadAdditionalDocuments(e,r),await Promise.all(e.map((e=>[e,this.getRootFolder(e)])).map((async e=>this.traverseFolder(...e,t,r)))),this._ready.resolve(),n}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return ll.parse(e.uri)}async traverseFolder(e,t,n,r){const i=await this.fileSystemProvider.readDirectory(t);await Promise.all(i.map((async t=>{if(this.includeEntry(e,t,n))if(t.isDirectory)await this.traverseFolder(e,t.uri,n,r);else if(t.isFile){const e=await this.langiumDocuments.getOrCreateDocument(t.uri);r(e)}})))}includeEntry(e,t,n){const r=dl.basename(t.uri);if(r.startsWith("."))return!1;if(t.isDirectory)return"node_modules"!==r&&"out"!==r;if(t.isFile){const e=dl.extname(t.uri);return n.includes(e)}return!1}}class Wl{constructor(e){const t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);const n=Yl(t)?Object.values(t):t;this.chevrotainLexer=new ii(n,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;const n=this.chevrotainLexer.tokenize(e);return{tokens:n.tokens,errors:n.errors,hidden:null!==(t=n.groups.hidden)&&void 0!==t?t:[]}}toTokenTypeDictionary(e){if(Yl(e))return e;const t=zl(e)?Object.values(e.modes).flat():e,n={};return t.forEach((e=>n[e.name]=e)),n}}function zl(e){return e&&"modes"in e&&"defaultMode"in e}function Yl(e){return!function(e){return Array.isArray(e)&&(0===e.length||"name"in e[0])}(e)&&!zl(e)}function Xl(e,t,n){let r,i;"string"==typeof e?(i=t,r=n):(i=e.range.start,r=t),i||(i=Qo.create(0,0));const s=function(e){var t,n,r;const i=[];let s=e.position.line,o=e.position.character;for(let a=0;a<e.lines.length;a++){const c=0===a,l=a===e.lines.length-1;let u=e.lines[a],d=0;if(c&&e.options.start){const n=null===(t=e.options.start)||void 0===t?void 0:t.exec(u);n&&(d=n.index+n[0].length)}else{const t=null===(n=e.options.line)||void 0===n?void 0:n.exec(u);t&&(d=t.index+t[0].length)}if(l){const t=null===(r=e.options.end)||void 0===r?void 0:r.exec(u);t&&(u=u.substring(0,t.index))}u=u.substring(0,ru(u));if(nu(u,d)>=u.length){if(i.length>0){const e=Qo.create(s,o);i.push({type:"break",content:"",range:Jo.create(e,e)})}}else{Ql.lastIndex=d;const e=Ql.exec(u);if(e){const t=e[0],n=e[1],r=Qo.create(s,o+d),a=Qo.create(s,o+d+t.length);i.push({type:"tag",content:n,range:Jo.create(r,a)}),d+=t.length,d=nu(u,d)}if(d<u.length){const e=u.substring(d),t=Array.from(e.matchAll(Jl));i.push(...Zl(t,e,s,o+d))}}s++,o=0}if(i.length>0&&"break"===i[i.length-1].type)return i.slice(0,-1);return i}({lines:ql(e),position:i,options:lu(r)});return function(e){var t,n,r,i;const s=Qo.create(e.position.line,e.position.character);if(0===e.tokens.length)return new du([],Jo.create(s,s));const o=[];for(;e.index<e.tokens.length;){const t=iu(e,o[o.length-1]);t&&o.push(t)}const a=null!==(n=null===(t=o[0])||void 0===t?void 0:t.range.start)&&void 0!==n?n:s,c=null!==(i=null===(r=o[o.length-1])||void 0===r?void 0:r.range.end)&&void 0!==i?i:s;return new du(o,Jo.create(a,c))}({index:0,tokens:s,position:i})}function ql(e){let t="";t="string"==typeof e?e:e.text;return t.split(nt)}const Ql=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Jl=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;function Zl(e,t,n,r){const i=[];if(0===e.length){const e=Qo.create(n,r),s=Qo.create(n,r+t.length);i.push({type:"text",content:t,range:Jo.create(e,s)})}else{let s=0;for(const a of e){const e=a.index,o=t.substring(s,e);o.length>0&&i.push({type:"text",content:t.substring(s,e),range:Jo.create(Qo.create(n,s+r),Qo.create(n,e+r))});let c=o.length+1;const l=a[1];if(i.push({type:"inline-tag",content:l,range:Jo.create(Qo.create(n,s+c+r),Qo.create(n,s+c+l.length+r))}),c+=l.length,4===a.length){c+=a[2].length;const e=a[3];i.push({type:"text",content:e,range:Jo.create(Qo.create(n,s+c+r),Qo.create(n,s+c+e.length+r))})}else i.push({type:"text",content:"",range:Jo.create(Qo.create(n,s+c+r),Qo.create(n,s+c+r))});s=e+a[0].length}const o=t.substring(s);o.length>0&&i.push({type:"text",content:o,range:Jo.create(Qo.create(n,s+r),Qo.create(n,s+r+o.length))})}return i}const eu=/\S/,tu=/\s*$/;function nu(e,t){const n=e.substring(t).match(eu);return n?t+n.index:e.length}function ru(e){const t=e.match(tu);if(t&&"number"==typeof t.index)return t.index}function iu(e,t){const n=e.tokens[e.index];return"tag"===n.type?au(e,!1):"text"===n.type||"inline-tag"===n.type?su(e):(function(e,t){if(t){const n=new pu("",e.range);"inlines"in t?t.inlines.push(n):t.content.inlines.push(n)}}(n,t),void e.index++)}function su(e){let t=e.tokens[e.index];const n=t;let r=t;const i=[];for(;t&&"break"!==t.type&&"tag"!==t.type;)i.push(ou(e)),r=t,t=e.tokens[e.index];return new fu(i,Jo.create(n.range.start,r.range.end))}function ou(e){return"inline-tag"===e.tokens[e.index].type?au(e,!0):cu(e)}function au(e,t){const n=e.tokens[e.index++],r=n.content.substring(1),i=e.tokens[e.index];if("text"===(null==i?void 0:i.type)){if(t){const i=cu(e);return new hu(r,new fu([i],i.range),t,Jo.create(n.range.start,i.range.end))}{const i=su(e);return new hu(r,i,t,Jo.create(n.range.start,i.range.end))}}{const e=n.range;return new hu(r,new fu([],e),t,e)}}function cu(e){const t=e.tokens[e.index++];return new pu(t.content,t.range)}function lu(e){if(!e)return lu({start:"/**",end:"*/",line:"*"});const{start:t,end:n,line:r}=e;return{start:uu(t,!0),end:uu(n,!1),line:uu(r,!0)}}function uu(e,t){if("string"==typeof e||"object"==typeof e){const n="string"==typeof e?at(e):e.source;return t?new RegExp(`^\\s*${n}`):new RegExp(`\\s*${n}\\s*$`)}return e}class du{constructor(e,t){this.elements=e,this.range=t}getTag(e){return this.getAllTags().find((t=>t.name===e))}getTags(e){return this.getAllTags().filter((t=>t.name===e))}getAllTags(){return this.elements.filter((e=>"name"in e))}toString(){let e="";for(const t of this.elements)if(0===e.length)e=t.toString();else{const n=t.toString();e+=mu(e)+n}return e.trim()}toMarkdown(e){let t="";for(const n of this.elements)if(0===t.length)t=n.toMarkdown(e);else{const r=n.toMarkdown(e);t+=mu(t)+r}return t.trim()}}class hu{constructor(e,t,n,r){this.name=e,this.content=t,this.inline=n,this.range=r}toString(){let e=`@${this.name}`;const t=this.content.toString();return 1===this.content.inlines.length?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e}\n${t}`),this.inline?`{${e}}`:e}toMarkdown(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.renderTag)||void 0===t?void 0:t.call(e,this))&&void 0!==n?n:this.toMarkdownDefault(e)}toMarkdownDefault(e){const t=this.content.toMarkdown(e);if(this.inline){const n=function(e,t,n){var r,i;if("linkplain"===e||"linkcode"===e||"link"===e){const s=t.indexOf(" ");let o=t;if(s>0){const e=nu(t,s);o=t.substring(e),t=t.substring(0,s)}("linkcode"===e||"link"===e&&"code"===n.link)&&(o=`\`${o}\``);const a=null!==(i=null===(r=n.renderLink)||void 0===r?void 0:r.call(n,t,o))&&void 0!==i?i:function(e,t){try{return ll.parse(e,!0),`[${t}](${e})`}catch(r){return e}}(t,o);return a}return}(this.name,t,null!=e?e:{});if("string"==typeof n)return n}let n="";"italic"===(null==e?void 0:e.tag)||void 0===(null==e?void 0:e.tag)?n="*":"bold"===(null==e?void 0:e.tag)?n="**":"bold-italic"===(null==e?void 0:e.tag)&&(n="***");let r=`${n}@${this.name}${n}`;return 1===this.content.inlines.length?r=`${r} \u2014 ${t}`:this.content.inlines.length>1&&(r=`${r}\n${t}`),this.inline?`{${r}}`:r}}class fu{constructor(e,t){this.inlines=e,this.range=t}toString(){let e="";for(let t=0;t<this.inlines.length;t++){const n=this.inlines[t],r=this.inlines[t+1];e+=n.toString(),r&&r.range.start.line>n.range.start.line&&(e+="\n")}return e}toMarkdown(e){let t="";for(let n=0;n<this.inlines.length;n++){const r=this.inlines[n],i=this.inlines[n+1];t+=r.toMarkdown(e),i&&i.range.start.line>r.range.start.line&&(t+="\n")}return t}}class pu{constructor(e,t){this.text=e,this.range=t}toString(){return this.text}toMarkdown(){return this.text}}function mu(e){return e.endsWith("\n")?"\n":"\n\n"}class gu{constructor(e){this.indexManager=e.shared.workspace.IndexManager,this.commentProvider=e.documentation.CommentProvider}getDocumentation(e){const t=this.commentProvider.getComment(e);if(t&&function(e,t){const n=lu(t),r=ql(e);if(0===r.length)return!1;const i=r[0],s=r[r.length-1],o=n.start,a=n.end;return Boolean(null==o?void 0:o.exec(i))&&Boolean(null==a?void 0:a.exec(s))}(t)){return Xl(t).toMarkdown({renderLink:(t,n)=>this.documentationLinkRenderer(e,t,n),renderTag:t=>this.documentationTagRenderer(e,t)})}}documentationLinkRenderer(e,t,n){var r;const i=null!==(r=this.findNameInPrecomputedScopes(e,t))&&void 0!==r?r:this.findNameInGlobalScope(e,t);if(i&&i.nameSegment){const e=i.nameSegment.range.start.line+1,t=i.nameSegment.range.start.character+1;return`[${n}](${i.documentUri.with({fragment:`L${e},${t}`}).toString()})`}}documentationTagRenderer(e,t){}findNameInPrecomputedScopes(e,t){const n=Pe(e).precomputedScopes;if(!n)return;let r=e;do{const e=n.get(r).find((e=>e.name===t));if(e)return e;r=r.$container}while(r)}findNameInGlobalScope(e,t){return this.indexManager.allElements().find((e=>e.name===t))}}class yu{constructor(e){this.grammarConfig=()=>e.parser.GrammarConfig}getComment(e){var t;return function(e){return"string"==typeof e.$comment}(e)?e.$comment:null===(t=x(e.$cstNode,this.grammarConfig().multilineCommentRules))||void 0===t?void 0:t.text}}var Au;n(62676);class Tu{constructor(e){this.syncParser=e.parser.LangiumParser}parse(e){return Promise.resolve(this.syncParser.parse(e))}}class vu{constructor(){this.previousTokenSource=new Yc.Qi,this.writeQueue=[],this.readQueue=[],this.done=!0}write(e){this.cancelWrite();const t=new Yc.Qi;return this.previousTokenSource=t,this.enqueue(this.writeQueue,e,t.token)}read(e){return this.enqueue(this.readQueue,e)}enqueue(e,t,n){const r=new el,i={action:t,deferred:r,cancellationToken:null!=n?n:Yc.XO.None};return e.push(i),this.performNextOperation(),r.promise}async performNextOperation(){if(!this.done)return;const e=[];if(this.writeQueue.length>0)e.push(this.writeQueue.shift());else{if(!(this.readQueue.length>0))return;e.push(...this.readQueue.splice(0,this.readQueue.length))}this.done=!1,await Promise.all(e.map((async({action:e,deferred:t,cancellationToken:n})=>{try{const r=await Promise.resolve().then((()=>e(n)));t.resolve(r)}catch(r){Jc(r)?t.resolve(void 0):t.reject(r)}}))),this.done=!0,this.performNextOperation()}cancelWrite(){this.previousTokenSource.cancel()}}class Ru{constructor(e){this.grammarElementIdMap=new Tl,this.tokenTypeIdMap=new Tl,this.grammar=e.Grammar,this.lexer=e.parser.Lexer,this.linker=e.references.Linker}dehydrate(e){return{lexerErrors:e.lexerErrors.map((e=>Object.assign({},e))),parserErrors:e.parserErrors.map((e=>Object.assign({},e))),value:this.dehydrateAstNode(e.value,this.createDehyrationContext(e.value))}}createDehyrationContext(e){const t=new Map,n=new Map;for(const r of Ue(e))t.set(r,{});if(e.$cstNode)for(const r of T(e.$cstNode))n.set(r,{});return{astNodes:t,cstNodes:n}}dehydrateAstNode(e,t){const n=t.astNodes.get(e);n.$type=e.$type,n.$containerIndex=e.$containerIndex,n.$containerProperty=e.$containerProperty,void 0!==e.$cstNode&&(n.$cstNode=this.dehydrateCstNode(e.$cstNode,t));for(const[s,o]of Object.entries(e))if(!s.startsWith("$"))if(Array.isArray(o)){const e=[];n[s]=e;for(const n of o)r(n)?e.push(this.dehydrateAstNode(n,t)):i(n)?e.push(this.dehydrateReference(n,t)):e.push(n)}else r(o)?n[s]=this.dehydrateAstNode(o,t):i(o)?n[s]=this.dehydrateReference(o,t):void 0!==o&&(n[s]=o);return n}dehydrateReference(e,t){const n={};return n.$refText=e.$refText,e.$refNode&&(n.$refNode=t.cstNodes.get(e.$refNode)),n}dehydrateCstNode(e,t){const n=t.cstNodes.get(e);return l(e)?n.fullText=e.fullText:n.grammarSource=this.getGrammarElementId(e.grammarSource),n.hidden=e.hidden,n.astNode=t.astNodes.get(e.astNode),a(e)?n.content=e.content.map((e=>this.dehydrateCstNode(e,t))):c(e)&&(n.tokenType=e.tokenType.name,n.offset=e.offset,n.length=e.length,n.startLine=e.range.start.line,n.startColumn=e.range.start.character,n.endLine=e.range.end.line,n.endColumn=e.range.end.character),n}hydrate(e){const t=e.value,n=this.createHydrationContext(t);return"$cstNode"in t&&this.hydrateCstNode(t.$cstNode,n),{lexerErrors:e.lexerErrors,parserErrors:e.parserErrors,value:this.hydrateAstNode(t,n)}}createHydrationContext(e){const t=new Map,n=new Map;for(const i of Ue(e))t.set(i,{});let r;if(e.$cstNode)for(const i of T(e.$cstNode)){let e;"fullText"in i?(e=new Ic(i.fullText),r=e):"content"in i?e=new kc:"tokenType"in i&&(e=this.hydrateCstLeafNode(i)),e&&(n.set(i,e),e.root=r)}return{astNodes:t,cstNodes:n}}hydrateAstNode(e,t){const n=t.astNodes.get(e);n.$type=e.$type,n.$containerIndex=e.$containerIndex,n.$containerProperty=e.$containerProperty,e.$cstNode&&(n.$cstNode=t.cstNodes.get(e.$cstNode));for(const[s,o]of Object.entries(e))if(!s.startsWith("$"))if(Array.isArray(o)){const e=[];n[s]=e;for(const a of o)r(a)?e.push(this.setParent(this.hydrateAstNode(a,t),n)):i(a)?e.push(this.hydrateReference(a,n,s,t)):e.push(a)}else r(o)?n[s]=this.setParent(this.hydrateAstNode(o,t),n):i(o)?n[s]=this.hydrateReference(o,n,s,t):void 0!==o&&(n[s]=o);return n}setParent(e,t){return e.$container=t,e}hydrateReference(e,t,n,r){return this.linker.buildReference(t,n,r.cstNodes.get(e.$refNode),e.$refText)}hydrateCstNode(e,t,n=0){const r=t.cstNodes.get(e);if("number"==typeof e.grammarSource&&(r.grammarSource=this.getGrammarElement(e.grammarSource)),r.astNode=t.astNodes.get(e.astNode),a(r))for(const i of e.content){const e=this.hydrateCstNode(i,t,n++);r.content.push(e)}return r}hydrateCstLeafNode(e){const t=this.getTokenType(e.tokenType),n=e.offset,r=e.length,i=e.startLine,s=e.startColumn,o=e.endLine,a=e.endColumn,c=e.hidden;return new Ec(n,r,{start:{line:i,character:s},end:{line:o,character:a}},t,c)}getTokenType(e){return this.lexer.definition[e]}getGrammarElementId(e){return 0===this.grammarElementIdMap.size&&this.createGrammarElementIdMap(),this.grammarElementIdMap.get(e)}getGrammarElement(e){0===this.grammarElementIdMap.size&&this.createGrammarElementIdMap();const t=this.grammarElementIdMap.getKey(e);if(t)return t;throw new Error("Invalid grammar element id: "+e)}createGrammarElementIdMap(){let e=0;for(const n of Ue(this.grammar))t=n,Oe.isInstance(t,b)&&this.grammarElementIdMap.set(n,e++);var t}}function Eu(e){return{documentation:{CommentProvider:e=>new yu(e),DocumentationProvider:e=>new gu(e)},parser:{AsyncParser:e=>new Tu(e),GrammarConfig:e=>function(e){const t=[],n=e.Grammar;for(const i of n.rules)te(i)&&(r=i).hidden&&!vt(r).test(" ")&&st(vt(i))&&t.push(i.name);var r;return{multilineCommentRules:t,nameRegexp:k}}(e),LangiumParser:e=>Vc(e),CompletionParser:e=>function(e){const t=e.Grammar,n=e.parser.Lexer,r=new bc(e);return Mc(t,r,n.definition),r.finalize(),r}(e),ValueConverter:()=>new Wc,TokenBuilder:()=>new Hc,Lexer:e=>new Wl(e),ParserErrorMessageProvider:()=>new Oc},workspace:{AstNodeLocator:()=>new Kl,AstNodeDescriptionProvider:e=>new Fl(e),ReferenceDescriptionProvider:e=>new Gl(e)},references:{Linker:e=>new ml(e),NameProvider:()=>new gl,ScopeProvider:e=>new Nl(e),ScopeComputation:e=>new vl(e),References:e=>new yl(e)},serializer:{Hydrator:e=>new Ru(e),JsonSerializer:e=>new $l(e)},validation:{DocumentValidator:e=>new Ml(e),ValidationRegistry:e=>new Pl(e)},shared:()=>e.shared}}function ku(e){return{ServiceRegistry:()=>new wl,workspace:{LangiumDocuments:e=>new pl(e),LangiumDocumentFactory:e=>new fl(e),DocumentBuilder:e=>new jl(e),IndexManager:e=>new Vl(e),WorkspaceManager:e=>new Hl(e),FileSystemProvider:t=>e.fileSystemProvider(t),WorkspaceLock:()=>new vu,ConfigurationProvider:e=>new Bl(e)}}}function xu(e,t,n,r,i,s,o,a,c){return Su([e,t,n,r,i,s,o,a,c].reduce($u,{}))}!function(e){e.merge=(e,t)=>$u($u({},e),t)}(Au||(Au={}));const Iu=Symbol("isProxy");function Su(e,t){const n=new Proxy({},{deleteProperty:()=>!1,get:(r,i)=>Cu(r,i,e,t||n),getOwnPropertyDescriptor:(r,i)=>(Cu(r,i,e,t||n),Object.getOwnPropertyDescriptor(r,i)),has:(t,n)=>n in e,ownKeys:()=>[...Reflect.ownKeys(e),Iu]});return n[Iu]=!0,n}const Nu=Symbol();function Cu(e,t,n,r){if(t in e){if(e[t]instanceof Error)throw new Error("Construction failure. Please make sure that your dependencies are constructable.",{cause:e[t]});if(e[t]===Nu)throw new Error('Cycle detected. Please make "'+String(t)+'" lazy. See https://langium.org/docs/configuration-services/#resolving-cyclic-dependencies');return e[t]}if(t in n){const s=n[t];e[t]=Nu;try{e[t]="function"==typeof s?s(r):Su(s,r)}catch(i){throw e[t]=i instanceof Error?i:void 0,i}return e[t]}}function $u(e,t){if(t)for(const[n,r]of Object.entries(t))if(void 0!==r){const t=e[n];e[n]=null!==t&&null!==r&&"object"==typeof t&&"object"==typeof r?$u(t,r):r}return e}class wu{readFile(){throw new Error("No file system is available.")}async readDirectory(){return[]}}const Lu={fileSystemProvider:()=>new wu},Ou={Grammar:()=>{},LanguageMetaData:()=>({caseInsensitive:!1,fileExtensions:[".langium"],languageId:"langium"})},bu={AstReflection:()=>new Le};function _u(e){var t;const n=function(){const e=xu(ku(Lu),bu),t=xu(Eu({shared:e}),Ou);return e.ServiceRegistry.register(t),t}(),r=n.serializer.JsonSerializer.deserialize(e);return n.shared.workspace.LangiumDocumentFactory.fromModel(r,ll.parse(`memory://${null!==(t=r.name)&&void 0!==t?t:"grammar"}.langium`)),r}},72559:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61882);const i=function(e,t,n){for(var i=-1,s=e.length;++i<s;){var o=e[i],a=t(o);if(null!=a&&(void 0===c?a==a&&!(0,r.A)(a):n(a,c)))var c=a,l=o}return l}},36224:(e,t,n)=>{n.d(t,{A:()=>r});const r=function(e,t){return e<t}},52568:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(6240),i=n(38446);const s=function(e,t){var n=-1,s=(0,i.A)(e)?Array(e.length):[];return(0,r.A)(e,(function(e,r,i){s[++n]=t(e,r,i)})),s}},99354:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(66318),i=n(52851),s=n(7819),o=n(25353),a=n(23149),c=n(30901);const l=function(e,t,n,r){if(!(0,a.A)(e))return e;for(var l=-1,u=(t=(0,s.A)(t,e)).length,d=u-1,h=e;null!=h&&++l<u;){var f=(0,c.A)(t[l]),p=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(l!=d){var m=h[f];void 0===(p=r?r(m,f,h):void 0)&&(p=(0,a.A)(m)?m:(0,o.A)(t[l+1])?[]:{})}(0,i.A)(h,f,p),h=h[f]}return e};const u=function(e,t,n){for(var i=-1,o=t.length,a={};++i<o;){var c=t[i],u=(0,r.A)(e,c);n(u,c)&&l(a,(0,s.A)(c,e),u)}return a}},50053:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(68675);const i=function(e){return(0,r.A)(e,4)}},23068:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(24326),i=n(66984),s=n(6832),o=n(55615),a=Object.prototype,c=a.hasOwnProperty;const l=(0,r.A)((function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&(0,s.A)(t[0],t[1],l)&&(r=1);++n<r;)for(var u=t[n],d=(0,o.A)(u),h=-1,f=d.length;++h<f;){var p=d[h],m=e[p];(void 0===m||(0,i.A)(m,a[p])&&!c.call(e,p))&&(e[p]=u[p])}return e}))},16145:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(23958),i=n(38446),s=n(27422);const o=function(e){return function(t,n,o){var a=Object(t);if(!(0,i.A)(t)){var c=(0,r.A)(n,3);t=(0,s.A)(t),n=function(e){return c(a[e],e,a)}}var l=e(t,n,o);return l>-1?a[c?t[l]:l]:void 0}};var a=n(25707),c=n(18593),l=Math.max;const u=o((function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var s=null==n?0:(0,c.A)(n);return s<0&&(s=l(i+s,0)),(0,a.A)(e,(0,r.A)(t,3),s)}))},34098:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(13588);const i=function(e){return(null==e?0:e.length)?(0,r.A)(e,1):[]}},48585:(e,t,n)=>{n.d(t,{A:()=>o});var r=Object.prototype.hasOwnProperty;const i=function(e,t){return null!=e&&r.call(e,t)};var s=n(85054);const o=function(e,t){return null!=e&&(0,s.A)(e,t,i)}},9703:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(88496),i=n(92049),s=n(53098);const o=function(e){return"string"==typeof e||!(0,i.A)(e)&&(0,s.A)(e)&&"[object String]"==(0,r.A)(e)}},26666:(e,t,n)=>{n.d(t,{A:()=>r});const r=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},74722:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(45572),i=n(23958),s=n(52568),o=n(92049);const a=function(e,t){return((0,o.A)(e)?r.A:s.A)(e,(0,i.A)(t,3))}},86452:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(72559),i=n(36224),s=n(29008);const o=function(e){return e&&e.length?(0,r.A)(e,s.A,i.A):void 0}},74342:(e,t,n)=>{n.d(t,{A:()=>m});var r=/\s/;const i=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t};var s=/^\s+/;const o=function(e){return e?e.slice(0,i(e)+1).replace(s,""):e};var a=n(23149),c=n(61882),l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt;const f=function(e){if("number"==typeof e)return e;if((0,c.A)(e))return NaN;if((0,a.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,a.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=u.test(e);return n||d.test(e)?h(e.slice(2),n?2:8):l.test(e)?NaN:+e};var p=1/0;const m=function(e){return e?(e=f(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},18593:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(74342);const i=function(e){var t=(0,r.A)(e),n=t%1;return t==t?n?t-n:t:0}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/890.bcbfd82b.js b/pr-preview/pr-4/assets/js/890.bcbfd82b.js new file mode 100644 index 0000000..f1fcd4c --- /dev/null +++ b/pr-preview/pr-4/assets/js/890.bcbfd82b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[890],{10890:(e,s,r)=>{r.d(s,{createInfoServices:()=>c.v});var c=r(97021);r(19369)}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8998.4940cf90.js b/pr-preview/pr-4/assets/js/8998.4940cf90.js new file mode 100644 index 0000000..7102333 --- /dev/null +++ b/pr-preview/pr-4/assets/js/8998.4940cf90.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8998],{68998:(e,r,a)=>{a.d(r,{diagram:()=>o});var t=a(29196),n=a(61021),s=a(45567),i=a(78731),d={parse:(0,s.K2)((async e=>{const r=await(0,i.qg)("info",e);s.Rm.debug(r)}),"parse")},p={version:t.r},o={parser:d,db:{getVersion:(0,s.K2)((()=>p.version),"getVersion")},renderer:{draw:(0,s.K2)(((e,r,a)=>{s.Rm.debug("rendering info diagram\n"+e);const t=(0,n.D)(r);(0,s.a$)(t,100,400,!0);t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${a}`)}),"draw")}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/8f2efedb.ede8d293.js b/pr-preview/pr-4/assets/js/8f2efedb.ede8d293.js new file mode 100644 index 0000000..f280270 --- /dev/null +++ b/pr-preview/pr-4/assets/js/8f2efedb.ede8d293.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[3959],{99108:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Data Types","description":"Data Types","slug":"/category/data-types","permalink":"/nr-pies/pr-preview/pr-4/docs/category/data-types","sidebar":"docSidebar","navigation":{"previous":{"title":"Formatting","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/formatting"},"next":{"title":"Code","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/code"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/921.8f45f350.js b/pr-preview/pr-4/assets/js/921.8f45f350.js new file mode 100644 index 0000000..b2703ec --- /dev/null +++ b/pr-preview/pr-4/assets/js/921.8f45f350.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[921],{80921:(r,s,e)=>{e.d(s,{diagram:()=>i});var a=e(96790),l=(e(79972),e(79740),e(6396),e(5081),e(34483),e(52294),e(62392),e(86825),e(85039),e(45567)),i={parser:a._$,db:a.z2,renderer:a.Lh,styles:a.tM,init:(0,l.K2)((r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.z2.clear()}),"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/9278.861d4e83.js b/pr-preview/pr-4/assets/js/9278.861d4e83.js new file mode 100644 index 0000000..9a92d4c --- /dev/null +++ b/pr-preview/pr-4/assets/js/9278.861d4e83.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[9278],{89278:(e,s,p)=>{p.r(s)}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/9368.4d307d9f.js b/pr-preview/pr-4/assets/js/9368.4d307d9f.js new file mode 100644 index 0000000..438d2f1 --- /dev/null +++ b/pr-preview/pr-4/assets/js/9368.4d307d9f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[9368],{69368:(t,e,r)=>{r.d(e,{diagram:()=>W});var a=r(85039),i=r(45567),n=r(697),s=r(20007),o=r(62334);const c=[];for(let U=0;U<256;++U)c.push((U+256).toString(16).slice(1));function l(t,e=0){return c[t[e+0]]+c[t[e+1]]+c[t[e+2]]+c[t[e+3]]+"-"+c[t[e+4]]+c[t[e+5]]+"-"+c[t[e+6]]+c[t[e+7]]+"-"+c[t[e+8]]+c[t[e+9]]+"-"+c[t[e+10]]+c[t[e+11]]+c[t[e+12]]+c[t[e+13]]+c[t[e+14]]+c[t[e+15]]}const h=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const d=function(t){return"string"==typeof t&&h.test(t)};const u=function(t){if(!d(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r};function y(t,e,r,a){switch(t){case 0:return e&r^~e&a;case 1:case 3:return e^r^a;case 2:return e&r^e&a^r&a}}function p(t,e){return t<<e|t>>>32-e}const _=function(t,e,r){function a(t,a,i,n){var s;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}(t)),"string"==typeof a&&(a=u(a)),16!==(null===(s=a)||void 0===s?void 0:s.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let o=new Uint8Array(16+t.length);if(o.set(a),o.set(t,a.length),o=r(o),o[6]=15&o[6]|e,o[8]=63&o[8]|128,i){n=n||0;for(let t=0;t<16;++t)i[n+t]=o[t];return i}return l(o)}try{a.name=t}catch(i){}return a.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",a.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",a}("v5",80,(function(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const a=t.length/4+2,i=Math.ceil(a/16),n=new Array(i);for(let s=0;s<i;++s){const e=new Uint32Array(16);for(let r=0;r<16;++r)e[r]=t[64*s+4*r]<<24|t[64*s+4*r+1]<<16|t[64*s+4*r+2]<<8|t[64*s+4*r+3];n[s]=e}n[i-1][14]=8*(t.length-1)/Math.pow(2,32),n[i-1][14]=Math.floor(n[i-1][14]),n[i-1][15]=8*(t.length-1)&4294967295;for(let s=0;s<i;++s){const t=new Uint32Array(80);for(let e=0;e<16;++e)t[e]=n[s][e];for(let e=16;e<80;++e)t[e]=p(t[e-3]^t[e-8]^t[e-14]^t[e-16],1);let a=r[0],i=r[1],o=r[2],c=r[3],l=r[4];for(let r=0;r<80;++r){const n=Math.floor(r/20),s=p(a,5)+y(n,i,o,c)+l+e[n]+t[r]>>>0;l=c,c=o,o=p(i,30)>>>0,i=a,a=s}r[0]=r[0]+a>>>0,r[1]=r[1]+i>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+l>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}));var f=function(){var t=(0,i.K2)((function(t,e,r,a){for(r=r||{},a=t.length;a--;r[t[a]]=e);return r}),"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],a=[1,11],n=[1,12],s=[1,13],o=[1,14],c=[1,15],l=[1,21],h=[1,22],d=[1,23],u=[1,24],y=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],_=[1,34],f=[27,28,46,47],E=[41,42,43,44,45],g=[17,34],m=[1,54],O=[1,53],k=[17,34,36,38],b={trace:(0,i.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:(0,i.K2)((function(t,e,r,a,i,n,s){var o=n.length-1;switch(i){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=n[o];break;case 8:a.addEntity(n[o-4]),a.addEntity(n[o-2]),a.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 9:a.addEntity(n[o-3]),a.addAttributes(n[o-3],n[o-1]);break;case 10:a.addEntity(n[o-2]);break;case 11:a.addEntity(n[o]);break;case 12:a.addEntity(n[o-6],n[o-4]),a.addAttributes(n[o-6],n[o-1]);break;case 13:a.addEntity(n[o-5],n[o-3]);break;case 14:a.addEntity(n[o-3],n[o-1]);break;case 15:case 16:this.$=n[o].trim(),a.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),a.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=n[o].replace(/"/g,"");break;case 21:case 29:this.$=[n[o]];break;case 22:n[o].push(n[o-1]),this.$=n[o];break;case 23:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 24:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 26:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 30:n[o-2].push(n[o]),this.$=n[o-2];break;case 33:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-2]};break;case 34:this.$=a.Cardinality.ZERO_OR_ONE;break;case 35:this.$=a.Cardinality.ZERO_OR_MORE;break;case 36:this.$=a.Cardinality.ONE_OR_MORE;break;case 37:this.$=a.Cardinality.ONLY_ONE;break;case 38:this.$=a.Cardinality.MD_PARENT;break;case 39:this.$=a.Identification.NON_IDENTIFYING;break;case 40:this.$=a.Identification.IDENTIFYING}}),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:a,24:n,26:s,27:o,28:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:a,24:n,26:s,27:o,28:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:l,42:h,43:d,44:u,45:y}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:o,28:c},{16:30,17:[1,31],29:32,30:33,34:_},{11:35,27:o,28:c},{40:36,46:[1,37],47:[1,38]},t(f,[2,34]),t(f,[2,35]),t(f,[2,36]),t(f,[2,37]),t(f,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:_},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:l,42:h,43:d,44:u,45:y},t(E,[2,39]),t(E,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(g,[2,23],{32:50,33:51,35:52,37:m,38:O}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(g,[2,24],{33:56,36:[1,57],38:O}),t(g,[2,25]),t(k,[2,29]),t(g,[2,32]),t(k,[2,31]),{16:58,17:[1,59],29:32,30:33,34:_},t(g,[2,26]),{35:60,37:m},{17:[1,61]},t(e,[2,13]),t(k,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:(0,i.K2)((function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)}),"parseError"),parse:(0,i.K2)((function(t){var e=this,r=[0],a=[],n=[null],s=[],o=this.table,c="",l=0,h=0,d=0,u=s.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(p.yy[_]=this.yy[_]);y.setInput(t,p.yy),p.yy.lexer=y,p.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var f=y.yylloc;s.push(f);var E=y.options&&y.options.ranges;function g(){var t;return"number"!=typeof(t=a.pop()||y.lex()||1)&&(t instanceof Array&&(t=(a=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,i.K2)((function(t){r.length=r.length-2*t,n.length=n.length-t,s.length=s.length-t}),"popStack"),(0,i.K2)(g,"lex");for(var m,O,k,b,R,N,x,T,A,M={};;){if(k=r[r.length-1],this.defaultActions[k]?b=this.defaultActions[k]:(null==m&&(m=g()),b=o[k]&&o[k][m]),void 0===b||!b.length||!b[0]){var w="";for(N in A=[],o[k])this.terminals_[N]&&N>2&&A.push("'"+this.terminals_[N]+"'");w=y.showPosition?"Parse error on line "+(l+1)+":\n"+y.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(w,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:f,expected:A})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+m);switch(b[0]){case 1:r.push(m),n.push(y.yytext),s.push(y.yylloc),r.push(b[1]),m=null,O?(m=O,O=null):(h=y.yyleng,c=y.yytext,l=y.yylineno,f=y.yylloc,d>0&&d--);break;case 2:if(x=this.productions_[b[1]][1],M.$=n[n.length-x],M._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column},E&&(M._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(R=this.performAction.apply(M,[c,h,l,p.yy,b[1],n,s].concat(u))))return R;x&&(r=r.slice(0,-1*x*2),n=n.slice(0,-1*x),s=s.slice(0,-1*x)),r.push(this.productions_[b[1]][0]),n.push(M.$),s.push(M._$),T=o[r[r.length-2]][r[r.length-1]],r.push(T);break;case 3:return!0}}return!0}),"parse")},R=function(){return{EOF:1,parseError:(0,i.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,i.K2)((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}),"setInput"),input:(0,i.K2)((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}),"input"),unput:(0,i.K2)((function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[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}),"unput"),more:(0,i.K2)((function(){return this._more=!0,this}),"more"),reject:(0,i.K2)((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})}),"reject"),less:(0,i.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,i.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,i.K2)((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,"")}),"upcomingInput"),showPosition:(0,i.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,i.K2)((function(t,e){var r,a,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))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var n in i)this[n]=i[n];return!1}return!1}),"test_match"),next:(0,i.K2)((function(){if(this.done)return this.EOF;var t,e,r,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),n=0;n<i.length;n++)if((r=this._input.match(this.rules[i[n]]))&&(!e||r[0].length>e[0].length)){if(e=r,a=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,i[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[a]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,i.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,i.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,i.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,i.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,i.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,i.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,i.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.K2)((function(t,e,r,a){switch(r){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;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 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return e.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}}),"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/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,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,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],inclusive:!0}}}}();function N(){this.yy={}}return b.lexer=R,(0,i.K2)(N,"Parser"),N.prototype=b,b.Parser=N,new N}();f.parser=f;var E=f,g=new Map,m=[],O=(0,i.K2)((function(t,e=void 0){return g.has(t)?!g.get(t).alias&&e&&(g.get(t).alias=e,i.Rm.info(`Add alias '${e}' to entity '${t}'`)):(g.set(t,{attributes:[],alias:e}),i.Rm.info("Added new entity :",t)),g.get(t)}),"addEntity"),k=(0,i.K2)((()=>g),"getEntities"),b=(0,i.K2)((function(t,e){let r,a=O(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.Rm.debug("Added attribute ",e[r].attributeName)}),"addAttributes"),R=(0,i.K2)((function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};m.push(n),i.Rm.debug("Added new relationship :",n)}),"addRelationship"),N=(0,i.K2)((()=>m),"getRelationships"),x=(0,i.K2)((function(){g=new Map,m=[],(0,i.IU)()}),"clear"),T={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:(0,i.K2)((()=>(0,i.D7)().er),"getConfig"),addEntity:O,addAttributes:b,getEntities:k,addRelationship:R,getRelationships:N,clear:x,setAccTitle:i.SV,getAccTitle:i.iN,setAccDescription:i.EI,getAccDescription:i.m7,setDiagramTitle:i.ke,getDiagramTitle:i.ab},A={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},M={ERMarkers:A,insertMarkers:(0,i.K2)((function(t,e){let r;t.append("defs").append("marker").attr("id",A.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",A.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",A.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",A.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",A.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",A.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",A.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",A.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),r=t.append("defs").append("marker").attr("id",A.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),r=t.append("defs").append("marker").attr("id",A.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")}),"insertMarkers")},w=/[^\dA-Za-z](\W)*/g,I={},D=new Map,S=(0,i.K2)((function(t){const e=Object.keys(t);for(const r of e)I[r]=t[r]}),"setConf"),v=(0,i.K2)(((t,e,r)=>{const a=I.entityPadding/3,n=I.entityPadding/3,s=.85*I.fontSize,o=e.node().getBBox(),c=[];let l=!1,h=!1,d=0,u=0,y=0,p=0,_=o.height+2*a,f=1;r.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(l=!0),void 0!==t.attributeComment&&(h=!0)})),r.forEach((r=>{const n=`${e.node().id}-attr-${f}`;let o=0;const E=(0,i.QO)(r.attributeType),g=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.D7)().fontFamily).style("font-size",s+"px").text(E),m=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.D7)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=g,O.nn=m;const k=g.node().getBBox(),b=m.node().getBBox();if(d=Math.max(d,k.width),u=Math.max(u,b.width),o=Math.max(k.height,b.height),l){const e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.D7)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;const c=a.node().getBBox();y=Math.max(y,c.width),o=Math.max(o,c.height)}if(h){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.D7)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;const a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,c.push(O),_+=o+2*a,f+=1}));let E=4;l&&(E+=2),h&&(E+=2);const g=d+u+y+p,m={width:Math.max(I.minEntityWidth,Math.max(o.width+2*I.entityPadding,g+n*E)),height:r.length>0?_:Math.max(I.minEntityHeight,o.height+2*I.entityPadding)};if(r.length>0){const r=Math.max(0,(m.width-g-n*E)/(E/2));e.attr("transform","translate("+m.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";c.forEach((e=>{const o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");const f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a);let E=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(l){e.kn.attr("transform","translate("+(E+n)+","+o+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",E).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a);E=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}h&&(e.cn.attr("transform","translate("+(E+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",E).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"}))}else m.height=Math.max(I.minEntityHeight,_),e.attr("transform","translate("+m.width/2+","+m.height/2+")");return m}),"drawAttributes"),L=(0,i.K2)((function(t,e,r){let a;return[...e.keys()].forEach((function(n){const s=F(n,"entity");D.set(n,s);const o=t.append("g").attr("id",s);a=void 0===a?s:a;const c="text-"+s,l=o.append("text").classed("er entityLabel",!0).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.D7)().fontFamily).style("font-size",I.fontSize+"px").text(e.get(n).alias??n),{width:h,height:d}=v(o,l,e.get(n).attributes),u=o.insert("rect","#"+c).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",d).node().getBBox();r.setNode(s,{width:u.width,height:u.height,shape:"rect",id:s})})),a}),"drawEntities"),$=(0,i.K2)((function(t,e){e.nodes().forEach((function(r){void 0!==r&&void 0!==e.node(r)&&t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")}))}),"adjustEntities"),K=(0,i.K2)((function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")}),"getEdgeName"),C=(0,i.K2)((function(t,e){return t.forEach((function(t){e.setEdge(D.get(t.entityA),D.get(t.entityB),{relationship:t},K(t))})),t}),"addRelationships"),B=0,P=(0,i.K2)((function(t,e,r,a,n){B++;const o=r.edge(D.get(e.entityA),D.get(e.entityB),K(e)),c=(0,s.n8j)().x((function(t){return t.x})).y((function(t){return t.y})).curve(s.qrM),l=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",c(o.points)).style("stroke",I.stroke).style("fill","none");e.relSpec.relType===n.db.Identification.NON_IDENTIFYING&&l.attr("stroke-dasharray","8,8");let h="";switch(I.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),e.relSpec.cardA){case n.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+M.ERMarkers.ZERO_OR_ONE_END+")");break;case n.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+M.ERMarkers.ZERO_OR_MORE_END+")");break;case n.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+M.ERMarkers.ONE_OR_MORE_END+")");break;case n.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+M.ERMarkers.ONLY_ONE_END+")");break;case n.db.Cardinality.MD_PARENT:l.attr("marker-end","url("+h+"#"+M.ERMarkers.MD_PARENT_END+")")}switch(e.relSpec.cardB){case n.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+M.ERMarkers.ZERO_OR_ONE_START+")");break;case n.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+M.ERMarkers.ZERO_OR_MORE_START+")");break;case n.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+M.ERMarkers.ONE_OR_MORE_START+")");break;case n.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+M.ERMarkers.ONLY_ONE_START+")");break;case n.db.Cardinality.MD_PARENT:l.attr("marker-start","url("+h+"#"+M.ERMarkers.MD_PARENT_START+")")}const d=l.node().getTotalLength(),u=l.node().getPointAtLength(.5*d),y="rel"+B,p=e.roleA.split(/<br ?\/>/g),_=t.append("text").classed("er relationshipLabel",!0).attr("id",y).attr("x",u.x).attr("y",u.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.D7)().fontFamily).style("font-size",I.fontSize+"px");if(1==p.length)_.text(e.roleA);else{const t=.5*-(p.length-1);p.forEach(((e,r)=>{_.append("tspan").attr("x",u.x).attr("dy",`${0===r?t:1}em`).text(e)}))}const f=_.node().getBBox();t.insert("rect","#"+y).classed("er relationshipLabelBox",!0).attr("x",u.x-f.width/2).attr("y",u.y-f.height/2).attr("width",f.width).attr("height",f.height)}),"drawRelationshipFromLayout"),Y=(0,i.K2)((function(t,e,r,c){I=(0,i.D7)().er,i.Rm.info("Drawing ER diagram");const l=(0,i.D7)().securityLevel;let h;"sandbox"===l&&(h=(0,s.Ltv)("#i"+e));const d=("sandbox"===l?(0,s.Ltv)(h.nodes()[0].contentDocument.body):(0,s.Ltv)("body")).select(`[id='${e}']`);let u;M.insertMarkers(d,I),u=new n.T({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:I.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const y=L(d,c.db.getEntities(),u),p=C(c.db.getRelationships(),u);(0,o.Zp)(u),$(d,u),p.forEach((function(t){P(d,t,u,y,c)}));const _=I.diagramPadding;a._K.insertTitle(d,"entityTitleText",I.titleTopMargin,c.db.getDiagramTitle());const f=d.node().getBBox(),E=f.width+2*_,g=f.height+2*_;(0,i.a$)(d,g,E,I.useMaxWidth),d.attr("viewBox",`${f.x-_} ${f.y-_} ${E} ${g}`)}),"draw"),Z="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function F(t="",e=""){const r=t.replace(w,"");return`${z(e)}${z(r)}${_(t,Z)}`}function z(t=""){return t.length>0?`${t}-`:""}(0,i.K2)(F,"generateId"),(0,i.K2)(z,"strWithHyphen");var W={parser:E,db:T,renderer:{setConf:S,draw:Y},styles:(0,i.K2)((t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`),"getStyles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/9604fc81.de35df8d.js b/pr-preview/pr-4/assets/js/9604fc81.de35df8d.js new file mode 100644 index 0000000..1cfce90 --- /dev/null +++ b/pr-preview/pr-4/assets/js/9604fc81.de35df8d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[9182],{8673:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>a,contentTitle:()=>d,default:()=>u,frontMatter:()=>t,metadata:()=>o,toc:()=>c});const o=JSON.parse('{"id":"docusaurus/tutorial_extras/manage_docs_versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","source":"@site/docs/docusaurus/tutorial_extras/manage_docs_versions.md","sourceDirName":"docusaurus/tutorial_extras","slug":"/docusaurus/tutorial_extras/manage_docs_versions","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_extras/manage_docs_versions.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Extras","permalink":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---extras"},"next":{"title":"Translate your site","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site"}}');var r=n(74848),i=n(28453);const t={sidebar_position:1},d="Manage Docs Versions",a={},c=[{value:"Create a docs version",id:"create-a-docs-version",level:2},{value:"Add a Version Dropdown",id:"add-a-version-dropdown",level:2},{value:"Update an existing version",id:"update-an-existing-version",level:2}];function l(e){const s={code:"code",h1:"h1",h2:"h2",header:"header",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.header,{children:(0,r.jsx)(s.h1,{id:"manage-docs-versions",children:"Manage Docs Versions"})}),"\n",(0,r.jsx)(s.p,{children:"Docusaurus can manage multiple versions of your docs."}),"\n",(0,r.jsx)(s.h2,{id:"create-a-docs-version",children:"Create a docs version"}),"\n",(0,r.jsx)(s.p,{children:"Release a version 1.0 of your project:"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-bash",children:"npm run docusaurus docs:version 1.0\n"})}),"\n",(0,r.jsxs)(s.p,{children:["The ",(0,r.jsx)(s.code,{children:"docs"})," folder is copied into ",(0,r.jsx)(s.code,{children:"versioned_docs/version-1.0"})," and ",(0,r.jsx)(s.code,{children:"versions.json"})," is created."]}),"\n",(0,r.jsx)(s.p,{children:"Your docs now have 2 versions:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"1.0"})," at ",(0,r.jsx)(s.code,{children:"http://localhost:3000/docs/"})," for the version 1.0 docs"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"current"})," at ",(0,r.jsx)(s.code,{children:"http://localhost:3000/docs/next/"})," for the ",(0,r.jsx)(s.strong,{children:"upcoming, unreleased docs"})]}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"add-a-version-dropdown",children:"Add a Version Dropdown"}),"\n",(0,r.jsx)(s.p,{children:"To navigate seamlessly across versions, add a version dropdown."}),"\n",(0,r.jsxs)(s.p,{children:["Modify the ",(0,r.jsx)(s.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:'export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: "docsVersionDropdown",\n },\n // highlight-end\n ],\n },\n },\n};\n'})}),"\n",(0,r.jsx)(s.p,{children:"The docs version dropdown appears in your navbar:"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.img,{alt:"Docs Version Dropdown",src:n(84910).A+"",width:"370",height:"302"})}),"\n",(0,r.jsx)(s.h2,{id:"update-an-existing-version",children:"Update an existing version"}),"\n",(0,r.jsx)(s.p,{children:"It is possible to edit versioned docs in their respective folder:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"versioned_docs/version-1.0/hello.md"})," updates ",(0,r.jsx)(s.code,{children:"http://localhost:3000/docs/hello"})]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"docs/hello.md"})," updates ",(0,r.jsx)(s.code,{children:"http://localhost:3000/docs/next/hello"})]}),"\n"]})]})}function u(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},84910:(e,s,n)=>{n.d(s,{A:()=>o});const o=n.p+"assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png"},28453:(e,s,n)=>{n.d(s,{R:()=>t,x:()=>d});var o=n(96540);const r={},i=o.createContext(r);function t(e){const s=o.useContext(i);return o.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:t(e.components),o.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/9664.1be9bad6.js b/pr-preview/pr-4/assets/js/9664.1be9bad6.js new file mode 100644 index 0000000..bf96780 --- /dev/null +++ b/pr-preview/pr-4/assets/js/9664.1be9bad6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[9664],{79972:(t,e,s)=>{s.d(e,{A:()=>r,P:()=>o});var i=s(45567),n=s(20007),r=(0,i.K2)(((t,e)=>{let s;"sandbox"===e&&(s=(0,n.Ltv)("#i"+t));return("sandbox"===e?(0,n.Ltv)(s.nodes()[0].contentDocument.body):(0,n.Ltv)("body")).select(`[id="${t}"]`)}),"getDiagramElement"),o=(0,i.K2)(((t,e,s,n)=>{t.attr("class",s);const{width:r,height:o,x:c,y:h}=a(t,e);(0,i.a$)(t,o,r,n);const d=l(c,h,r,o,e);t.attr("viewBox",d),i.Rm.debug(`viewBox configured: ${d} with padding: ${e}`)}),"setupViewPortForSVG"),a=(0,i.K2)(((t,e)=>{const s=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*e,height:s.height+2*e,x:s.x,y:s.y}}),"calculateDimensionsWithPadding"),l=(0,i.K2)(((t,e,s,i,n)=>`${t-n} ${e-n} ${s} ${i}`),"createViewBox")},69664:(t,e,s)=>{s.d(e,{Zk:()=>l,iP:()=>Bt,q7:()=>w,tM:()=>Ft});var i=s(79972),n=s(79740),r=s(85039),o=s(45567),a=function(){var t=(0,o.K2)((function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s}),"o"),e=[1,2],s=[1,3],i=[1,4],n=[2,4],r=[1,9],a=[1,11],l=[1,16],c=[1,17],h=[1,18],d=[1,19],u=[1,32],p=[1,20],y=[1,21],g=[1,22],f=[1,23],m=[1,24],S=[1,26],_=[1,27],b=[1,28],T=[1,29],k=[1,30],E=[1,31],x=[1,34],D=[1,35],C=[1,36],$=[1,37],v=[1,33],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],I=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],A=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],K={trace:(0,o.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement: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,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"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:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:(0,o.K2)((function(t,e,s,i,n,r,o){var a=r.length-1;switch(n){case 3:return i.setRootDoc(r[a]),r[a];case 4:this.$=[];break;case 5:"nl"!=r[a]&&(r[a-1].push(r[a]),this.$=r[a-1]);break;case 6:case 7:case 12:this.$=r[a];break;case 8:this.$="nl";break;case 13:const t=r[a-1];t.description=i.trimColon(r[a]),this.$=t;break;case 14:this.$={stmt:"relation",state1:r[a-2],state2:r[a]};break;case 15:const e=i.trimColon(r[a]);this.$={stmt:"relation",state1:r[a-3],state2:r[a-1],description:e};break;case 19:this.$={stmt:"state",id:r[a-3],type:"default",description:"",doc:r[a-1]};break;case 20:var l=r[a],c=r[a-2].trim();if(r[a].match(":")){var h=r[a].split(":");l=h[0],c=[c,h[1]]}this.$={stmt:"state",id:l,type:"default",description:c};break;case 21:this.$={stmt:"state",id:r[a-3],type:"default",description:r[a-5],doc:r[a-1]};break;case 22:this.$={stmt:"state",id:r[a],type:"fork"};break;case 23:this.$={stmt:"state",id:r[a],type:"join"};break;case 24:this.$={stmt:"state",id:r[a],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[a-1].trim(),note:{position:r[a-2].trim(),text:r[a].trim()}};break;case 29:this.$=r[a].trim(),i.setAccTitle(this.$);break;case 30:case 31:this.$=r[a].trim(),i.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:r[a-1].trim(),classes:r[a].trim()};break;case 34:this.$={stmt:"style",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 35:this.$={stmt:"applyClass",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 36:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:r[a].trim(),type:"default",description:""};break;case 44:case 45:this.$={stmt:"state",id:r[a-2].trim(),classes:[r[a].trim()],type:"default",description:""}}}),"anonymous"),table:[{3:1,4:e,5:s,6:i},{1:[3]},{3:5,4:e,5:s,6:i},{3:6,4:e,5:s,6:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],n,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:r,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:_,37:b,38:T,42:k,45:E,48:x,49:D,50:C,51:$,54:v},t(L,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:l,17:c,19:h,22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:_,37:b,38:T,42:k,45:E,48:x,49:D,50:C,51:$,54:v},t(L,[2,7]),t(L,[2,8]),t(L,[2,9]),t(L,[2,10]),t(L,[2,11]),t(L,[2,12],{14:[1,39],15:[1,40]}),t(L,[2,16]),{18:[1,41]},t(L,[2,18],{20:[1,42]}),{23:[1,43]},t(L,[2,22]),t(L,[2,23]),t(L,[2,24]),t(L,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(L,[2,28]),{34:[1,48]},{36:[1,49]},t(L,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(I,[2,42],{55:[1,54]}),t(I,[2,43],{55:[1,55]}),t(L,[2,36]),t(L,[2,37]),t(L,[2,38]),t(L,[2,39]),t(L,[2,6]),t(L,[2,13]),{13:56,24:u,54:v},t(L,[2,17]),t(A,n,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(L,[2,29]),t(L,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(L,[2,14],{14:[1,67]}),{4:r,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,21:[1,68],22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:_,37:b,38:T,42:k,45:E,48:x,49:D,50:C,51:$,54:v},t(L,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(L,[2,32]),t(L,[2,33]),t(L,[2,34]),t(L,[2,35]),t(I,[2,44]),t(I,[2,45]),t(L,[2,15]),t(L,[2,19]),t(A,n,{7:72}),t(L,[2,26]),t(L,[2,27]),{4:r,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,21:[1,73],22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:_,37:b,38:T,42:k,45:E,48:x,49:D,50:C,51:$,54:v},t(L,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:(0,o.K2)((function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)}),"parseError"),parse:(0,o.K2)((function(t){var e=this,s=[0],i=[],n=[null],r=[],a=this.table,l="",c=0,h=0,d=0,u=r.slice.call(arguments,1),p=Object.create(this.lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=this.yy[g]);p.setInput(t,y.yy),y.yy.lexer=p,y.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;r.push(f);var m=p.options&&p.options.ranges;function S(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,o.K2)((function(t){s.length=s.length-2*t,n.length=n.length-t,r.length=r.length-t}),"popStack"),(0,o.K2)(S,"lex");for(var _,b,T,k,E,x,D,C,$,v={};;){if(T=s[s.length-1],this.defaultActions[T]?k=this.defaultActions[T]:(null==_&&(_=S()),k=a[T]&&a[T][_]),void 0===k||!k.length||!k[0]){var L="";for(x in $=[],a[T])this.terminals_[x]&&x>2&&$.push("'"+this.terminals_[x]+"'");L=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+$.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(L,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:f,expected:$})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+_);switch(k[0]){case 1:s.push(_),n.push(p.yytext),r.push(p.yylloc),s.push(k[1]),_=null,b?(_=b,b=null):(h=p.yyleng,l=p.yytext,c=p.yylineno,f=p.yylloc,d>0&&d--);break;case 2:if(D=this.productions_[k[1]][1],v.$=n[n.length-D],v._$={first_line:r[r.length-(D||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(D||1)].first_column,last_column:r[r.length-1].last_column},m&&(v._$.range=[r[r.length-(D||1)].range[0],r[r.length-1].range[1]]),void 0!==(E=this.performAction.apply(v,[l,h,c,y.yy,k[1],n,r].concat(u))))return E;D&&(s=s.slice(0,-1*D*2),n=n.slice(0,-1*D),r=r.slice(0,-1*D)),s.push(this.productions_[k[1]][0]),n.push(v.$),r.push(v._$),C=a[s[s.length-2]][s[s.length-1]],s.push(C);break;case 3:return!0}}return!0}),"parse")},R=function(){return{EOF:1,parseError:(0,o.K2)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,o.K2)((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}),"setInput"),input:(0,o.K2)((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}),"input"),unput:(0,o.K2)((function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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),s.length-1&&(this.yylineno-=s.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,o.K2)((function(){return this._more=!0,this}),"more"),reject:(0,o.K2)((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})}),"reject"),less:(0,o.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,o.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,o.K2)((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,"")}),"upcomingInput"),showPosition:(0,o.K2)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,o.K2)((function(t,e){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1}),"test_match"),next:(0,o.K2)((function(){if(this.done)return this.EOF;var t,e,s,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if((s=this._input.match(this.rules[n[r]]))&&(!e||s[0].length>e[0].length)){if(e=s,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[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})}),"next"),lex:(0,o.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,o.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,o.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,o.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,o.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,o.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,o.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.K2)((function(t,e,s,i){switch(s){case 0:return 41;case 1:case 42:return 48;case 2:case 43:return 49;case 3:case 44:return 50;case 4:case 45:return 51;case 5:case 6:case 8:case 9:case 10:case 11:case 54:case 56:case 62:break;case 7:case 77:return 5;case 12:case 32:return this.pushState("SCALE"),17;case 13:case 33:return 18;case 14:case 20:case 34:case 49:case 52:this.popState();break;case 15:return this.begin("acc_title"),33;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),35;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),38;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),39;case 25:return this.popState(),40;case 26:return this.pushState("CLASS"),45;case 27:return this.popState(),this.pushState("CLASS_STYLE"),46;case 28:return this.popState(),47;case 29:return this.pushState("STYLE"),42;case 30:return this.popState(),this.pushState("STYLEDEF_STYLES"),43;case 31:return this.popState(),44;case 35:this.pushState("STATE");break;case 36:case 39:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 37:case 40:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 46:this.pushState("STATE_STRING");break;case 47:return this.pushState("STATE_ID"),"AS";case 48:case 64:return this.popState(),"ID";case 50:return"STATE_DESCR";case 51:return 19;case 53:return this.popState(),this.pushState("struct"),20;case 55:return this.popState(),21;case 57:return this.begin("NOTE"),29;case 58:return this.popState(),this.pushState("NOTE_ID"),56;case 59:return this.popState(),this.pushState("NOTE_ID"),57;case 60:this.popState(),this.pushState("FLOATING_NOTE");break;case 61:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 63:return"NOTE_TEXT";case 65:return this.popState(),this.pushState("NOTE_TEXT"),24;case 66:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 67:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 68:case 69:return 6;case 70:return 16;case 71:return 54;case 72:return 24;case 73:return e.yytext=e.yytext.trim(),14;case 74:return 15;case 75:return 28;case 76:return 55;case 78:return"INVALID"}}),"anonymous"),rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\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,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/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:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,29,35,42,43,44,45,54,55,56,57,71,72,73,74,75],inclusive:!1},FLOATING_NOTE_ID:{rules:[64],inclusive:!1},FLOATING_NOTE:{rules:[61,62,63],inclusive:!1},NOTE_TEXT:{rules:[66,67],inclusive:!1},NOTE_ID:{rules:[65],inclusive:!1},NOTE:{rules:[58,59,60],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[31],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[30],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,33,34],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[48],inclusive:!1},STATE_STRING:{rules:[49,50],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,36,37,38,39,40,41,46,47,51,52,53],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,35,53,57,68,69,70,71,72,73,74,76,77,78],inclusive:!0}}}}();function w(){this.yy={}}return K.lexer=R,(0,o.K2)(w,"Parser"),w.prototype=K,K.Parser=w,new w}();a.parser=a;var l=a,c="state",h="relation",d="default",u="divider",p="fill:none",y="fill: #333",g="text",f="normal",m="rect",S="rectWithTitle",_="divider",b="roundedWithTitle",T="statediagram",k=`${T}-state`,E="transition",x=`${E} note-edge`,D=`${T}-note`,C=`${T}-cluster`,$=`${T}-cluster-alt`,v="parent",L="note",I="----",A=`${I}${L}`,K=`${I}${v}`,R=(0,o.K2)(((t,e="TB")=>{if(!t.doc)return e;let s=e;for(const i of t.doc)"dir"===i.stmt&&(s=i.value);return s}),"getDir"),w={getClasses:(0,o.K2)((function(t,e){return e.db.extract(e.db.getRootDocV2()),e.db.getClasses()}),"getClasses"),draw:(0,o.K2)((async function(t,e,s,a){o.Rm.info("REF0:"),o.Rm.info("Drawing state diagram (v2)",e);const{securityLevel:l,state:c,layout:h}=(0,o.D7)();a.db.extract(a.db.getRootDocV2());const d=a.db.getData(),u=(0,i.A)(e,l);d.type=a.type,d.layoutAlgorithm=h,d.nodeSpacing=c?.nodeSpacing||50,d.rankSpacing=c?.rankSpacing||50,d.markers=["barb"],d.diagramId=e,await(0,n.XX)(d,u);r._K.insertTitle(u,"statediagramTitleText",c?.titleTopMargin??25,a.db.getDiagramTitle()),(0,i.P)(u,8,T,c?.useMaxWidth??!0)}),"draw"),getDir:R},O=new Map,N=0;function B(t="",e=0,s="",i=I){return`state-${t}${null!==s&&s.length>0?`${i}${s}`:""}-${e}`}(0,o.K2)(B,"stateDomId");var F=(0,o.K2)(((t,e,s,i,n,r,a,l)=>{o.Rm.trace("items",e),e.forEach((e=>{switch(e.stmt){case c:case d:z(t,e,s,i,n,r,a,l);break;case h:{z(t,e.state1,s,i,n,r,a,l),z(t,e.state2,s,i,n,r,a,l);const c={id:"edge"+N,start:e.state1.id,end:e.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:p,labelStyle:"",label:o.Y2.sanitizeText(e.description,(0,o.D7)()),arrowheadStyle:y,labelpos:"c",labelType:g,thickness:f,classes:E,look:a};n.push(c),N++}}}))}),"setupDoc"),P=(0,o.K2)(((t,e="TB")=>{let s=e;if(t.doc)for(const i of t.doc)"dir"===i.stmt&&(s=i.value);return s}),"getDir");function Y(t,e,s){if(!e.id||"</join></fork>"===e.id||"</choice>"===e.id)return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach((t=>{if(s.get(t)){const i=s.get(t);e.cssCompiledStyles=[...e.cssCompiledStyles,...i.styles]}})));const i=t.find((t=>t.id===e.id));i?Object.assign(i,e):t.push(e)}function G(t){return t?.classes?.join(" ")??""}function j(t){return t?.styles??[]}(0,o.K2)(Y,"insertOrUpdateNode"),(0,o.K2)(G,"getClassesFromDbInfo"),(0,o.K2)(j,"getStylesFromDbInfo");var z=(0,o.K2)(((t,e,s,i,n,r,a,l)=>{const c=e.id,h=s.get(c),T=G(h),E=j(h);if(o.Rm.info("dataFetcher parsedItem",e,h,E),"root"!==c){let s=m;!0===e.start?s="stateStart":!1===e.start&&(s="stateEnd"),e.type!==d&&(s=e.type),O.get(c)||O.set(c,{id:c,shape:s,description:o.Y2.sanitizeText(c,(0,o.D7)()),cssClasses:`${T} ${k}`,cssStyles:E});const h=O.get(c);e.description&&(Array.isArray(h.description)?(h.shape=S,h.description.push(e.description)):h.description?.length>0?(h.shape=S,h.description===c?h.description=[e.description]:h.description=[h.description,e.description]):(h.shape=m,h.description=e.description),h.description=o.Y2.sanitizeTextOrArray(h.description,(0,o.D7)())),1===h.description?.length&&h.shape===S&&("group"===h.type?h.shape=b:h.shape=m),!h.type&&e.doc&&(o.Rm.info("Setting cluster for XCX",c,P(e)),h.type="group",h.isGroup=!0,h.dir=P(e),h.shape=e.type===u?_:b,h.cssClasses=`${h.cssClasses} ${C} ${r?$:""}`);const I={labelStyle:"",shape:h.shape,label:h.description,cssClasses:h.cssClasses,cssCompiledStyles:[],cssStyles:h.cssStyles,id:c,dir:h.dir,domId:B(c,N),type:h.type,isGroup:"group"===h.type,padding:8,rx:10,ry:10,look:a};if(I.shape===_&&(I.label=""),t&&"root"!==t.id&&(o.Rm.trace("Setting node ",c," to be child of its parent ",t.id),I.parentId=t.id),I.centerLabel=!0,e.note){const t={labelStyle:"",shape:"note",label:e.note.text,cssClasses:D,cssStyles:[],cssCompilesStyles:[],id:c+A+"-"+N,domId:B(c,N,L),type:h.type,isGroup:"group"===h.type,padding:(0,o.D7)().flowchart.padding,look:a,position:e.note.position},s=c+K,r={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:h.cssClasses,cssStyles:[],id:c+K,domId:B(c,N,v),type:"group",isGroup:!0,padding:16,look:a,position:e.note.position};N++,r.id=s,t.parentId=s,Y(i,r,l),Y(i,t,l),Y(i,I,l);let d=c,u=t.id;"left of"===e.note.position&&(d=t.id,u=c),n.push({id:d+"-"+u,start:d,end:u,arrowhead:"none",arrowTypeEnd:"",style:p,labelStyle:"",classes:x,arrowheadStyle:y,labelpos:"c",labelType:g,thickness:f,look:a})}else Y(i,I,l)}e.doc&&(o.Rm.trace("Adding nodes children "),F(e,e.doc,s,i,n,!r,a,l))}),"dataFetcher"),U=(0,o.K2)((()=>{O.clear(),N=0}),"reset"),M="[*]",X="start",V=M,W="color",H="fill";function J(){return new Map}(0,o.K2)(J,"newClassesList");var q=[],Z=[],Q="LR",tt=[],et=J(),st=(0,o.K2)((()=>({relations:[],states:new Map,documents:{}})),"newDoc"),it={root:st()},nt=it.root,rt=0,ot=0,at=(0,o.K2)((t=>JSON.parse(JSON.stringify(t))),"clone"),lt=(0,o.K2)((t=>{o.Rm.info("Setting root doc",t),tt=t}),"setRootDoc"),ct=(0,o.K2)((()=>tt),"getRootDoc"),ht=(0,o.K2)(((t,e,s)=>{if(e.stmt===h)ht(t,e.state1,!0),ht(t,e.state2,!1);else if(e.stmt===c&&("[*]"===e.id?(e.id=s?t.id+"_start":t.id+"_end",e.start=s):e.id=e.id.trim()),e.doc){const t=[];let s,i=[];for(s=0;s<e.doc.length;s++)if(e.doc[s].type===u){const n=at(e.doc[s]);n.doc=at(i),t.push(n),i=[]}else i.push(e.doc[s]);if(t.length>0&&i.length>0){const s={stmt:c,id:(0,r.$C)(),type:"divider",doc:at(i)};t.push(at(s)),e.doc=t}e.doc.forEach((t=>ht(e,t,!0)))}}),"docTranslator"),dt=(0,o.K2)((()=>(ht({id:"root"},{id:"root",doc:tt},!0),{id:"root",doc:tt})),"getRootDocV2"),ut=(0,o.K2)((t=>{let e;e=t.doc?t.doc:t,o.Rm.info(e),yt(!0),o.Rm.info("Extract initial document:",e),e.forEach((t=>{switch(o.Rm.warn("Statement",t.stmt),t.stmt){case c:pt(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case h:xt(t.state1,t.state2,t.description);break;case"classDef":vt(t.id.trim(),t.classes);break;case"style":{const e=t.id.trim().split(","),s=t.styleClass.split(",");e.forEach((t=>{let e=gt(t);if(void 0===e){const s=t.trim();pt(s),e=gt(s)}e.styles=s.map((t=>t.replace(/;/g,"")?.trim()))}))}break;case"applyClass":It(t.id.trim(),t.styleClass)}}));const s=ft(),i=(0,o.D7)().look;U(),z(void 0,dt(),s,q,Z,!0,i,et),q.forEach((t=>{if(Array.isArray(t.label)){if(t.description=t.label.slice(1),t.isGroup&&t.description.length>0)throw new Error("Group nodes can only have label. Remove the additional description for node ["+t.id+"]");t.label=t.label[0]}}))}),"extract"),pt=(0,o.K2)((function(t,e=d,s=null,i=null,n=null,r=null,a=null,l=null){const c=t?.trim();if(nt.states.has(c)?(nt.states.get(c).doc||(nt.states.get(c).doc=s),nt.states.get(c).type||(nt.states.get(c).type=e)):(o.Rm.info("Adding state ",c,i),nt.states.set(c,{id:c,descriptions:[],type:e,doc:s,note:n,classes:[],styles:[],textStyles:[]})),i&&(o.Rm.info("Setting state description",c,i),"string"==typeof i&&Dt(c,i.trim()),"object"==typeof i&&i.forEach((t=>Dt(c,t.trim())))),n){const t=nt.states.get(c);t.note=n,t.note.text=o.Y2.sanitizeText(t.note.text,(0,o.D7)())}if(r){o.Rm.info("Setting state classes",c,r);("string"==typeof r?[r]:r).forEach((t=>It(c,t.trim())))}if(a){o.Rm.info("Setting state styles",c,a);("string"==typeof a?[a]:a).forEach((t=>At(c,t.trim())))}if(l){o.Rm.info("Setting state styles",c,a);("string"==typeof l?[l]:l).forEach((t=>Kt(c,t.trim())))}}),"addState"),yt=(0,o.K2)((function(t){q=[],Z=[],it={root:st()},nt=it.root,rt=0,et=J(),t||(0,o.IU)()}),"clear"),gt=(0,o.K2)((function(t){return nt.states.get(t)}),"getState"),ft=(0,o.K2)((function(){return nt.states}),"getStates"),mt=(0,o.K2)((function(){o.Rm.info("Documents = ",it)}),"logDocuments"),St=(0,o.K2)((function(){return nt.relations}),"getRelations");function _t(t=""){let e=t;return t===M&&(rt++,e=`${X}${rt}`),e}function bt(t="",e=d){return t===M?X:e}function Tt(t=""){let e=t;return t===V&&(e=`end${++rt}`),e}function kt(t="",e=d){return t===V?"end":e}function Et(t,e,s){let i=_t(t.id.trim()),n=bt(t.id.trim(),t.type),r=_t(e.id.trim()),a=bt(e.id.trim(),e.type);pt(i,n,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),pt(r,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),nt.relations.push({id1:i,id2:r,relationTitle:o.Y2.sanitizeText(s,(0,o.D7)())})}(0,o.K2)(_t,"startIdIfNeeded"),(0,o.K2)(bt,"startTypeIfNeeded"),(0,o.K2)(Tt,"endIdIfNeeded"),(0,o.K2)(kt,"endTypeIfNeeded"),(0,o.K2)(Et,"addRelationObjs");var xt=(0,o.K2)((function(t,e,s){if("object"==typeof t)Et(t,e,s);else{const i=_t(t.trim()),n=bt(t),r=Tt(e.trim()),a=kt(e);pt(i,n),pt(r,a),nt.relations.push({id1:i,id2:r,title:o.Y2.sanitizeText(s,(0,o.D7)())})}}),"addRelation"),Dt=(0,o.K2)((function(t,e){const s=nt.states.get(t),i=e.startsWith(":")?e.replace(":","").trim():e;s.descriptions.push(o.Y2.sanitizeText(i,(0,o.D7)()))}),"addDescription"),Ct=(0,o.K2)((function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()}),"cleanupLabel"),$t=(0,o.K2)((()=>"divider-id-"+ ++ot),"getDividerId"),vt=(0,o.K2)((function(t,e=""){et.has(t)||et.set(t,{id:t,styles:[],textStyles:[]});const s=et.get(t);null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(W).exec(t)){const t=e.replace(H,"bgFill").replace(W,H);s.textStyles.push(t)}s.styles.push(e)}))}),"addStyleClass"),Lt=(0,o.K2)((function(){return et}),"getClasses"),It=(0,o.K2)((function(t,e){t.split(",").forEach((function(t){let s=gt(t);if(void 0===s){const e=t.trim();pt(e),s=gt(e)}s.classes.push(e)}))}),"setCssClass"),At=(0,o.K2)((function(t,e){const s=gt(t);void 0!==s&&s.styles.push(e)}),"setStyle"),Kt=(0,o.K2)((function(t,e){const s=gt(t);void 0!==s&&s.textStyles.push(e)}),"setTextStyle"),Rt=(0,o.K2)((()=>Q),"getDirection"),wt=(0,o.K2)((t=>{Q=t}),"setDirection"),Ot=(0,o.K2)((t=>t&&":"===t[0]?t.substr(1).trim():t.trim()),"trimColon"),Nt=(0,o.K2)((()=>{const t=(0,o.D7)();return{nodes:q,edges:Z,other:{},config:t,direction:R(dt())}}),"getData"),Bt={getConfig:(0,o.K2)((()=>(0,o.D7)().state),"getConfig"),getData:Nt,addState:pt,clear:yt,getState:gt,getStates:ft,getRelations:St,getClasses:Lt,getDirection:Rt,addRelation:xt,getDividerId:$t,setDirection:wt,cleanupLabel:Ct,lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:mt,getRootDoc:ct,setRootDoc:lt,getRootDocV2:dt,extract:ut,trimColon:Ot,getAccTitle:o.iN,setAccTitle:o.SV,getAccDescription:o.m7,setAccDescription:o.EI,addStyleClass:vt,setCssClass:It,addDescription:Dt,setDiagramTitle:o.ke,getDiagramTitle:o.ab},Ft=(0,o.K2)((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 {\n background-color: ${t.edgeLabelBackground};\n p {\n background-color: ${t.edgeLabelBackground};\n }\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\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 // line-height: 1;\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`),"getStyles")}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/9720.33074bd7.js b/pr-preview/pr-4/assets/js/9720.33074bd7.js new file mode 100644 index 0000000..bb104db --- /dev/null +++ b/pr-preview/pr-4/assets/js/9720.33074bd7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[9720],{39720:(e,r,s)=>{s.d(r,{createArchitectureServices:()=>c.S});var c=s(49936);s(19369)}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/9802.fdc56fc9.js b/pr-preview/pr-4/assets/js/9802.fdc56fc9.js new file mode 100644 index 0000000..f971c7c --- /dev/null +++ b/pr-preview/pr-4/assets/js/9802.fdc56fc9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[9802],{89802:(t,i,e)=>{e.d(i,{diagram:()=>J});var s=e(86825),n=e(85039),a=e(61021),h=e(45567),o=e(20007),r=function(){var t=(0,h.K2)((function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e}),"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],a=[1,6],o=[1,7],r=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],c=[1,26],g=[1,28],u=[1,29],x=[1,30],p=[1,31],d=[1,32],f=[1,33],y=[1,34],m=[1,35],b=[1,36],A=[1,37],S=[1,43],C=[1,42],w=[1,47],k=[1,50],_=[1,10,12,14,16,18,19,21,23,34,35,36],T=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],R=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],D=[1,64],L={trace:(0,h.K2)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:(0,h.K2)((function(t,i,e,s,n,a,h){var o=a.length-1;switch(n){case 5:s.setOrientation(a[o]);break;case 9:s.setDiagramTitle(a[o].text.trim());break;case 12:s.setLineData({text:"",type:"text"},a[o]);break;case 13:s.setLineData(a[o-1],a[o]);break;case 14:s.setBarData({text:"",type:"text"},a[o]);break;case 15:s.setBarData(a[o-1],a[o]);break;case 16:this.$=a[o].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=a[o].trim(),s.setAccDescription(this.$);break;case 19:case 27:this.$=a[o-1];break;case 20:this.$=[Number(a[o-2]),...a[o]];break;case 21:this.$=[Number(a[o])];break;case 22:s.setXAxisTitle(a[o]);break;case 23:s.setXAxisTitle(a[o-1]);break;case 24:s.setXAxisTitle({type:"text",text:""});break;case 25:s.setXAxisBand(a[o]);break;case 26:s.setXAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 28:this.$=[a[o-2],...a[o]];break;case 29:this.$=[a[o]];break;case 30:s.setYAxisTitle(a[o]);break;case 31:s.setYAxisTitle(a[o-1]);break;case 32:s.setYAxisTitle({type:"text",text:""});break;case 33:s.setYAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 37:case 38:this.$={text:a[o],type:"text"};break;case 39:this.$={text:a[o],type:"markdown"};break;case 40:this.$=a[o];break;case 41:this.$=a[o-1]+""+a[o]}}),"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:n,35:a,36:o}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:n,35:a,36:o}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:a,36:o}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(r,[2,34]),t(r,[2,35]),t(r,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:n,35:a,36:o}),{1:[2,3]},t(r,[2,5]),t(i,[2,7],{4:22,34:n,35:a,36:o}),{11:23,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:p,45:d,46:f,47:y,48:m,49:b,50:A},{11:39,13:38,24:S,27:C,29:40,30:41,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:p,45:d,46:f,47:y,48:m,49:b,50:A},{11:45,15:44,27:w,33:46,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:p,45:d,46:f,47:y,48:m,49:b,50:A},{11:49,17:48,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:p,45:d,46:f,47:y,48:m,49:b,50:A},{11:52,17:51,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:p,45:d,46:f,47:y,48:m,49:b,50:A},{20:[1,53]},{22:[1,54]},t(_,[2,18]),{1:[2,2]},t(_,[2,8]),t(_,[2,9]),t(T,[2,37],{40:55,41:g,42:u,43:x,44:p,45:d,46:f,47:y,48:m,49:b,50:A}),t(T,[2,38]),t(T,[2,39]),t(R,[2,40]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(_,[2,10]),t(_,[2,22],{30:41,29:56,24:S,27:C}),t(_,[2,24]),t(_,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:p,45:d,46:f,47:y,48:m,49:b,50:A},t(_,[2,11]),t(_,[2,30],{33:60,27:w}),t(_,[2,32]),{31:[1,61]},t(_,[2,12]),{17:62,24:k},{25:63,27:D},t(_,[2,14]),{17:65,24:k},t(_,[2,16]),t(_,[2,17]),t(R,[2,41]),t(_,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(_,[2,31]),{27:[1,69]},t(_,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(_,[2,15]),t(_,[2,26]),t(_,[2,27]),{11:59,32:72,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:p,45:d,46:f,47:y,48:m,49:b,50:A},t(_,[2,33]),t(_,[2,19]),{25:73,27:D},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:(0,h.K2)((function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)}),"parseError"),parse:(0,h.K2)((function(t){var i=this,e=[0],s=[],n=[null],a=[],o=this.table,r="",l=0,c=0,g=0,u=a.slice.call(arguments,1),x=Object.create(this.lexer),p={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(p.yy[d]=this.yy[d]);x.setInput(t,p.yy),p.yy.lexer=x,p.yy.parser=this,void 0===x.yylloc&&(x.yylloc={});var f=x.yylloc;a.push(f);var y=x.options&&x.options.ranges;function m(){var t;return"number"!=typeof(t=s.pop()||x.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,h.K2)((function(t){e.length=e.length-2*t,n.length=n.length-t,a.length=a.length-t}),"popStack"),(0,h.K2)(m,"lex");for(var b,A,S,C,w,k,_,T,R,D={};;){if(S=e[e.length-1],this.defaultActions[S]?C=this.defaultActions[S]:(null==b&&(b=m()),C=o[S]&&o[S][b]),void 0===C||!C.length||!C[0]){var L="";for(k in R=[],o[S])this.terminals_[k]&&k>2&&R.push("'"+this.terminals_[k]+"'");L=x.showPosition?"Parse error on line "+(l+1)+":\n"+x.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(L,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:f,expected:R})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+S+", token: "+b);switch(C[0]){case 1:e.push(b),n.push(x.yytext),a.push(x.yylloc),e.push(C[1]),b=null,A?(b=A,A=null):(c=x.yyleng,r=x.yytext,l=x.yylineno,f=x.yylloc,g>0&&g--);break;case 2:if(_=this.productions_[C[1]][1],D.$=n[n.length-_],D._$={first_line:a[a.length-(_||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(_||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(_||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(D,[r,c,l,p.yy,C[1],n,a].concat(u))))return w;_&&(e=e.slice(0,-1*_*2),n=n.slice(0,-1*_),a=a.slice(0,-1*_)),e.push(this.productions_[C[1]][0]),n.push(D.$),a.push(D._$),T=o[e[e.length-2]][e[e.length-1]],e.push(T);break;case 3:return!0}}return!0}),"parse")},P=function(){return{EOF:1,parseError:(0,h.K2)((function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)}),"parseError"),setInput:(0,h.K2)((function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}),"setInput"),input:(0,h.K2)((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}),"input"),unput:(0,h.K2)((function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,h.K2)((function(){return this._more=!0,this}),"more"),reject:(0,h.K2)((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})}),"reject"),less:(0,h.K2)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,h.K2)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,h.K2)((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,"")}),"upcomingInput"),showPosition:(0,h.K2)((function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"}),"showPosition"),test_match:(0,h.K2)((function(t,i){var e,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var a in n)this[a]=n[a];return!1}return!1}),"test_match"),next:(0,h.K2)((function(){if(this.done)return this.EOF;var t,i,e,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;a<n.length;a++)if((e=this._input.match(this.rules[n[a]]))&&(!i||e[0].length>i[0].length)){if(i=e,s=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[a])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,h.K2)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,h.K2)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,h.K2)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,h.K2)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,h.K2)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,h.K2)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,h.K2)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,h.K2)((function(t,i,e,s){switch(e){case 0:case 1:case 5:case 43:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 25:case 27:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 26:this.pushState("string");break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 44:return 35;case 45:return 36}}),"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}}}();function E(){this.yy={}}return L.lexer=P,(0,h.K2)(E,"Parser"),E.prototype=L,L.Parser=E,new E}();r.parser=r;var l=r;function c(t){return"bar"===t.type}function g(t){return"band"===t.type}function u(t){return"linear"===t.type}(0,h.K2)(c,"isBarPlot"),(0,h.K2)(g,"isBandAxisData"),(0,h.K2)(u,"isLinearAxisData");var x=class{constructor(t){this.parentGroup=t}static{(0,h.K2)(this,"TextDimensionCalculatorWithFont")}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce(((t,i)=>Math.max(i.length,t)),0)*i,height:i};const e={width:0,height:0},n=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const a of t){const t=(0,s.W6)(n,1,a),h=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,h),e.height=Math.max(e.height,o)}return n.remove(),e}},p=class{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}static{(0,h.K2)(this,"BaseAxis")}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((t=>t.toString())),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);const n=e.height+2*this.axisConfig.labelPadding;this.labelTextHeight=e.height,n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);const n=e.width+2*this.axisConfig.labelPadding;n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map((t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"})))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map((t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth})))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map((t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"})))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map((t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth})))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map((t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"})))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map((t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth})))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},d=class extends p{static{(0,h.K2)(this,"BandAxis")}constructor(t,i,e,s,n){super(t,s,n,i),this.categories=e,this.scale=(0,o.WH)().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=(0,o.WH)().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),h.Rm.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},f=class extends p{static{(0,h.K2)(this,"LinearAxis")}constructor(t,i,e,s,n){super(t,s,n,i),this.domain=e,this.scale=(0,o.m4Y)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,o.m4Y)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}};function y(t,i,e,s){const n=new x(s);return g(t)?new d(i,e,t.categories,t.title,n):new f(i,e,[t.min,t.max],t.title,n)}(0,h.K2)(y,"getAxis");var m=class{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{(0,h.K2)(this,"ChartTitle")}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=s&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}};function b(t,i,e,s){const n=new x(s);return new m(n,t,i,e)}(0,h.K2)(b,"getChartTitleComponent");var A=class{constructor(t,i,e,s,n){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=n}static{(0,h.K2)(this,"LinePlot")}getDrawableElement(){const t=this.plotData.data.map((t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]));let i;return i="horizontal"===this.orientation?(0,o.n8j)().y((t=>t[0])).x((t=>t[1]))(t):(0,o.n8j)().x((t=>t[0])).y((t=>t[1]))(t),i?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}},S=class{constructor(t,i,e,s,n,a){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=n,this.plotIndex=a}static{(0,h.K2)(this,"BarPlot")}getDrawableElement(){const t=this.barData.data.map((t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])])),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map((t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill})))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map((t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill})))}]}},C=class{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}static{(0,h.K2)(this,"BasePlot")}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!this.xAxis||!this.yAxis)throw Error("Axes must be passed to render Plots");const t=[];for(const[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{const s=new A(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{const s=new S(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}};function w(t,i,e){return new C(t,i,e)}(0,h.K2)(w,"getPlotComponent");var k,_=class{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:b(t,i,e,s),plot:w(t,i,e),xAxis:y(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:y(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}static{(0,h.K2)(this,"Orchestrator")}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),a=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:n,height:a});t-=h.width,i-=h.height,h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=h.height,i-=h.height,this.componentStore.xAxis.setAxisPosition("bottom"),h=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=h.height,this.componentStore.yAxis.setAxisPosition("left"),h=this.componentStore.yAxis.calculateSpace({width:t,height:i}),e=h.width,t-=h.width,t>0&&(n+=t,t=0),i>0&&(a+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:a}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.xAxis.setRange([e,e+n]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+a}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some((t=>c(t)))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),h=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:a,height:h});t-=o.width,i-=o.height,o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),e=o.height,i-=o.height,this.componentStore.xAxis.setAxisPosition("left"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=o.width,s=o.width,this.componentStore.yAxis.setAxisPosition("top"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=o.height,n=e+o.height,t>0&&(a+=t,t=0),i>0&&(h+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:h}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([n,n+h]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some((t=>c(t)))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}},T=class{static{(0,h.K2)(this,"XYChartBuilder")}static build(t,i,e,s){return new _(t,i,e,s).getDrawableElement()}},R=0,D=$(),L=I(),P=M(),E=L.plotColorPalette.split(",").map((t=>t.trim())),v=!1,K=!1;function I(){const t=(0,h.P$)(),i=(0,h.zj)();return(0,n.$t)(t.xyChart,i.themeVariables.xyChart)}function $(){const t=(0,h.zj)();return(0,n.$t)(h.UI.xyChart,t.xyChart)}function M(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function B(t){const i=(0,h.zj)();return(0,h.jZ)(t.trim(),i)}function z(t){k=t}function W(t){D.chartOrientation="horizontal"===t?"horizontal":"vertical"}function O(t){P.xAxis.title=B(t.text)}function F(t,i){P.xAxis={type:"linear",title:P.xAxis.title,min:t,max:i},v=!0}function N(t){P.xAxis={type:"band",title:P.xAxis.title,categories:t.map((t=>B(t.text)))},v=!0}function V(t){P.yAxis.title=B(t.text)}function X(t,i){P.yAxis={type:"linear",title:P.yAxis.title,min:t,max:i},K=!0}function Y(t){const i=Math.min(...t),e=Math.max(...t),s=u(P.yAxis)?P.yAxis.min:1/0,n=u(P.yAxis)?P.yAxis.max:-1/0;P.yAxis={type:"linear",title:P.yAxis.title,min:Math.min(s,i),max:Math.max(n,e)}}function U(t){let i=[];if(0===t.length)return i;if(!v){const i=u(P.xAxis)?P.xAxis.min:1/0,e=u(P.xAxis)?P.xAxis.max:-1/0;F(Math.min(i,1),Math.max(e,t.length))}if(K||Y(t),g(P.xAxis)&&(i=P.xAxis.categories.map(((i,e)=>[i,t[e]]))),u(P.xAxis)){const e=P.xAxis.min,s=P.xAxis.max,n=(s-e)/(t.length-1),a=[];for(let t=e;t<=s;t+=n)a.push(`${t}`);i=a.map(((i,e)=>[i,t[e]]))}return i}function H(t){return E[0===t?0:t%E.length]}function j(t,i){const e=U(i);P.plots.push({type:"line",strokeFill:H(R),strokeWidth:2,data:e}),R++}function G(t,i){const e=U(i);P.plots.push({type:"bar",fill:H(R),data:e}),R++}function Q(){if(0===P.plots.length)throw Error("No Plot to render, please provide a plot with some data");return P.title=(0,h.ab)(),T.build(D,P,L,k)}function Z(){return L}function q(){return D}(0,h.K2)(I,"getChartDefaultThemeConfig"),(0,h.K2)($,"getChartDefaultConfig"),(0,h.K2)(M,"getChartDefaultData"),(0,h.K2)(B,"textSanitizer"),(0,h.K2)(z,"setTmpSVGG"),(0,h.K2)(W,"setOrientation"),(0,h.K2)(O,"setXAxisTitle"),(0,h.K2)(F,"setXAxisRangeData"),(0,h.K2)(N,"setXAxisBand"),(0,h.K2)(V,"setYAxisTitle"),(0,h.K2)(X,"setYAxisRangeData"),(0,h.K2)(Y,"setYAxisRangeFromPlotData"),(0,h.K2)(U,"transformDataWithoutCategory"),(0,h.K2)(H,"getPlotColorFromPalette"),(0,h.K2)(j,"setLineData"),(0,h.K2)(G,"setBarData"),(0,h.K2)(Q,"getDrawableElem"),(0,h.K2)(Z,"getChartThemeConfig"),(0,h.K2)(q,"getChartConfig");var J={parser:l,db:{getDrawableElem:Q,clear:(0,h.K2)((function(){(0,h.IU)(),R=0,D=$(),P={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},L=I(),E=L.plotColorPalette.split(",").map((t=>t.trim())),v=!1,K=!1}),"clear"),setAccTitle:h.SV,getAccTitle:h.iN,setDiagramTitle:h.ke,getDiagramTitle:h.ab,getAccDescription:h.m7,setAccDescription:h.EI,setOrientation:W,setXAxisTitle:O,setXAxisRangeData:F,setXAxisBand:N,setYAxisTitle:V,setYAxisRangeData:X,setLineData:j,setBarData:G,setTmpSVGG:z,getChartThemeConfig:Z,getChartConfig:q},renderer:{draw:(0,h.K2)(((t,i,e,s)=>{const n=s.db,o=n.getChartThemeConfig(),r=n.getChartConfig();function l(t){return"top"===t?"text-before-edge":"middle"}function c(t){return"left"===t?"start":"right"===t?"end":"middle"}function g(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,h.K2)(l,"getDominantBaseLine"),(0,h.K2)(c,"getTextAnchor"),(0,h.K2)(g,"getTextTransformation"),h.Rm.debug("Rendering xychart chart\n"+t);const u=(0,a.D)(i),x=u.append("g").attr("class","main"),p=x.append("rect").attr("width",r.width).attr("height",r.height).attr("class","background");(0,h.a$)(u,r.height,r.width,!0),u.attr("viewBox",`0 0 ${r.width} ${r.height}`),p.attr("fill",o.backgroundColor),n.setTmpSVGG(u.append("g").attr("class","mermaid-tmp-group"));const d=n.getDrawableElem(),f={};function y(t){let i=x,e="";for(const[s]of t.entries()){let n=x;s>0&&f[e]&&(n=f[e]),e+=t[s],i=f[e],i||(i=f[e]=n.append("g").attr("class",t[s]))}return i}(0,h.K2)(y,"getGroup");for(const a of d){if(0===a.data.length)continue;const t=y(a.groupTexts);switch(a.type){case"rect":t.selectAll("rect").data(a.data).enter().append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)).attr("stroke",(t=>t.strokeFill)).attr("stroke-width",(t=>t.strokeWidth));break;case"text":t.selectAll("text").data(a.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>l(t.verticalPos))).attr("text-anchor",(t=>c(t.horizontalPos))).attr("transform",(t=>g(t))).text((t=>t.text));break;case"path":t.selectAll("path").data(a.data).enter().append("path").attr("d",(t=>t.path)).attr("fill",(t=>t.fill?t.fill:"none")).attr("stroke",(t=>t.strokeFill)).attr("stroke-width",(t=>t.strokeWidth))}}}),"draw")}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/9875.304bb0f8.js b/pr-preview/pr-4/assets/js/9875.304bb0f8.js new file mode 100644 index 0000000..db8b44e --- /dev/null +++ b/pr-preview/pr-4/assets/js/9875.304bb0f8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[9875],{29875:(e,r,s)=>{s.d(r,{diagram:()=>i});var a=s(69664),t=(s(79972),s(79740),s(6396),s(5081),s(34483),s(52294),s(62392),s(86825),s(85039),s(45567)),i={parser:a.Zk,db:a.iP,renderer:a.q7,styles:a.tM,init:(0,t.K2)((e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,a.iP.clear()}),"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/992aa281.047c5467.js b/pr-preview/pr-4/assets/js/992aa281.047c5467.js new file mode 100644 index 0000000..9e1a87e --- /dev/null +++ b/pr-preview/pr-4/assets/js/992aa281.047c5467.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[7970],{24314:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>f,contentTitle:()=>m,default:()=>j,frontMatter:()=>u,metadata:()=>t,toc:()=>g});const t=JSON.parse('{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","source":"@site/docs/spec/data/parcel_id.mdx","sourceDirName":"spec/data","slug":"/spec/data/parcel_id","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/parcel_id.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Code","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/code"},"next":{"title":"Project Bundle","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle"}}');var a=r(74848),n=r(28453),s=r(21432),d=r(87595),l=r.n(d),c=r(11470),o=r(19365);const h=JSON.parse('{"legal_description":"legal_description","parcel_name":"parcel_name","pid":[123456789,456789123],"pin":987654321}'),p=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/parcel_id.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","type":"object","properties":{"legal_description":{"type":"string","description":"The full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.","maxLength":2000},"parcel_name":{"type":"string","description":"The same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK."},"pid":{"type":"array","items":{"type":"integer","description":"Parcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.","minimum":0,"maximum":999999999},"minItems":1,"uniqueItems":true},"pin":{"type":"integer","description":"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.","minimum":0,"maximum":999999999}},"anyOf":[{"title":"pid","required":["pid"]},{"title":"pin","required":["pin"]}]}'),u={id:"parcel_id",title:"Parcel Identifier",description:"An identifier for a specific area with clear boundaries.",tags:["developer"]},m=void 0,f={},g=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"Parcel ID (PID)",id:"parcel-id-pid",level:3},{value:"References",id:"references",level:2}];function x(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.p,{children:"An identifier for a specific area with clear boundaries."}),"\n",(0,a.jsx)(i.p,{children:"There a multiple ways to identify a parcel. Most common are the Parcel ID (PID) or Parcel Identification Number (PIN)."}),"\n",(0,a.jsx)(i.h2,{id:"scope",children:"Scope"}),"\n",(0,a.jsx)(i.p,{children:"Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the\nland title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being\nentered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier."}),"\n",(0,a.jsx)(i.p,{children:"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier."}),"\n",(0,a.jsx)(i.h2,{id:"structure",children:"Structure"}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsxs)(i.li,{children:["A valid Parcel Identifier shall at minimum contain either a ",(0,a.jsx)(i.code,{children:"pin"})," or at least one ",(0,a.jsx)(i.code,{children:"pid"}),"."]}),"\n",(0,a.jsxs)(i.li,{children:["A Parcel Identifier may contain a ",(0,a.jsx)(i.code,{children:"legal_description"})," and/or a ",(0,a.jsx)(i.code,{children:"parcel_name"}),"."]}),"\n"]}),"\n",(0,a.jsxs)(i.table,{children:[(0,a.jsx)(i.thead,{children:(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.th,{children:"Name"}),(0,a.jsx)(i.th,{children:"Cardinality"}),(0,a.jsx)(i.th,{children:"Type"}),(0,a.jsx)(i.th,{children:"Description & Constraints"})]})}),(0,a.jsxs)(i.tbody,{children:[(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"legal_description"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"string"})}),(0,a.jsx)(i.td,{children:"The full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"parcel_name"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"string"})}),(0,a.jsx)(i.td,{children:"The same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"pid"}),(0,a.jsx)(i.td,{children:"0..*"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"integer"})}),(0,a.jsx)(i.td,{children:"Parcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"pin"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"integer"})}),(0,a.jsx)(i.td,{children:"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier."})]})]})]}),"\n",(0,a.jsx)(i.h2,{id:"specification",children:"Specification"}),"\n",(0,a.jsxs)(c.default,{queryString:"tab",children:[(0,a.jsx)(o.default,{value:"schema",label:"Schema",default:!0,children:(0,a.jsx)(l(),{schema:p,viewerOptions:{showExamples:!0}})}),(0,a.jsx)(o.default,{value:"source",label:"Source",children:(0,a.jsx)(s.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})}),(0,a.jsx)(o.default,{value:"example",label:"Example",children:(0,a.jsx)(s.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(h,null,2)})})]}),"\n",(0,a.jsx)(i.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,a.jsx)(i.h3,{id:"parcel-id-pid",children:"Parcel ID (PID)"}),"\n",(0,a.jsxs)(i.p,{children:["Parcel IDs are stored as numeric values from ",(0,a.jsx)(i.a,{href:"https://help.ltsa.ca/parcelmap-bc/parcels",children:"ParcelMap BC (PMBC)"}),". During\nthe PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes\npadded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see ",(0,a.jsx)(i.a,{href:"https://catalogue.data.gov.bc.ca/group/47fa4daf-78d1-4c64-a0d2-51638a04910d",children:"BC Data Catalogue"}),") and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes:"]}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsxs)(i.li,{children:[(0,a.jsx)(i.code,{children:"parcel_id_formatted"})," (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits."]}),"\n",(0,a.jsxs)(i.li,{children:[(0,a.jsx)(i.code,{children:"parcel_id_number"})," (numeric, 10): The Parcel ID as a number, without leading zeroes."]}),"\n"]}),"\n",(0,a.jsxs)(i.p,{children:["Should these alternatives be encountered, they must be transformed into a standard JSON ",(0,a.jsx)(i.code,{children:"integer"})," primitive type."]}),"\n",(0,a.jsx)(i.h2,{id:"references",children:"References"}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsx)(i.li,{children:(0,a.jsx)(i.a,{href:"https://catalogue.data.gov.bc.ca/group/47fa4daf-78d1-4c64-a0d2-51638a04910d",children:"BC Data Catalogue"})}),"\n",(0,a.jsx)(i.li,{children:(0,a.jsx)(i.a,{href:"https://help.ltsa.ca/parcelmap-bc/parcels",children:"ParcelMap BC - Parcels"})}),"\n"]})]})}function j(e={}){const{wrapper:i}={...(0,n.R)(),...e.components};return i?(0,a.jsx)(i,{...e,children:(0,a.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/a7456010.06c1e8cf.js b/pr-preview/pr-4/assets/js/a7456010.06c1e8cf.js new file mode 100644 index 0000000..4b14e07 --- /dev/null +++ b/pr-preview/pr-4/assets/js/a7456010.06c1e8cf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[1235],{88552:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/a7bd4aaa.747812dd.js b/pr-preview/pr-4/assets/js/a7bd4aaa.747812dd.js new file mode 100644 index 0000000..6b06059 --- /dev/null +++ b/pr-preview/pr-4/assets/js/a7bd4aaa.747812dd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[7098],{31723:(n,e,s)=>{s.r(e),s.d(e,{default:()=>d});s(96540);var r=s(1003);function o(n,e){return`docs-${n}-${e}`}var t=s(23025),i=s(22831),c=s(41463),u=s(74848);function a(n){const{version:e}=n;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.A,{version:e.version,tag:o(e.pluginId,e.version)}),(0,u.jsx)(r.be,{children:e.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(n){const{version:e,route:s}=n;return(0,u.jsx)(r.e3,{className:e.className,children:(0,u.jsx)(t.n,{version:e,children:(0,i.v)(s.routes)})})}function d(n){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...n}),(0,u.jsx)(l,{...n})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/a94703ab.bc4cf35f.js b/pr-preview/pr-4/assets/js/a94703ab.bc4cf35f.js new file mode 100644 index 0000000..b0830a5 --- /dev/null +++ b/pr-preview/pr-4/assets/js/a94703ab.bc4cf35f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[9048],{11377:(e,t,n)=>{n.r(t),n.d(t,{default:()=>pe});var a=n(96540),o=n(34164),i=n(1003),s=n(17559),l=n(26972),r=n(60609),c=n(21312),d=n(23104),u=n(75062);const m={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};var b=n(74848);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,o]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.gk)();return(0,d.Mq)(((e,n)=>{let{scrollY:a}=e;const s=n?.scrollY;s&&(i.current?i.current=!1:a>=s?(l(),o(!1)):a<t?o(!1):a+window.innerHeight<document.documentElement.scrollHeight&&o(!0))})),(0,u.$)((e=>{e.location.hash&&(i.current=!0,o(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.translate)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,o.A)("clean-btn",s.G.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(53109),x=n(56347),f=n(24581),j=n(6342),v=n(23465);function _(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("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"}),(0,b.jsx)("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 g="collapseSidebarButton_PEFL",C="collapseSidebarButtonIcon_kv0_";function k(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,c.translate)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.translate)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.A)("button button--secondary button--outline",g),onClick:t,children:(0,b.jsx)(_,{className:C})})}var A=n(65041),S=n(89532);const N=Symbol("EmptyContext"),I=a.createContext(N);function T(e){let{children:t}=e;const[n,o]=(0,a.useState)(null),i=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:o})),[n]);return(0,b.jsx)(I.Provider,{value:i,children:t})}var y=n(41422),B=n(99169),w=n(28774),L=n(92303);function E(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,c.translate)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.translate)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),"aria-expanded":!t,type:"button",className:"clean-btn menu__caret",onClick:a})}function M(e){let{item:t,onItemClick:n,activePath:i,level:r,index:c,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.p)(),v=function(e){const t=(0,L.A)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.Nr)(e):void 0),[e,t])}(t),_=(0,l.w8)(t,i),g=(0,B.ys)(x,i),{collapsed:C,setCollapsed:k}=(0,y.u)({initialState:()=>!!h&&(!_&&t.collapsed)}),{expandedItem:A,setExpandedItem:T}=function(){const e=(0,a.useContext)(I);if(e===N)throw new S.dV("DocSidebarItemsExpandedStateProvider");return e}(),M=function(e){void 0===e&&(e=!C),T(e?null:c),k(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:o}=e;const i=(0,S.ZC)(t);(0,a.useEffect)((()=>{t&&!i&&n&&o(!1)}),[t,i,n,o])}({isActive:_,collapsed:C,updateCollapsed:M}),(0,a.useEffect)((()=>{h&&null!=A&&A!==c&&f&&k(!0)}),[h,A,c,k,f]),(0,b.jsxs)("li",{className:(0,o.A)(s.G.docs.docSidebarItemCategory,s.G.docs.docSidebarItemCategoryLevel(r),"menu__list-item",{"menu__list-item--collapsed":C},p),children:[(0,b.jsxs)("div",{className:(0,o.A)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":g}),children:[(0,b.jsx)(w.A,{className:(0,o.A)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":_}),onClick:h?e=>{n?.(t),x?M(!1):(e.preventDefault(),M())}:()=>{n?.(t)},"aria-current":g?"page":void 0,role:h&&!x?"button":void 0,"aria-expanded":h&&!x?!C:void 0,href:h?v??"#":v,...d,children:m}),x&&h&&(0,b.jsx)(E,{collapsed:C,categoryLabel:m,onClick:e=>{e.preventDefault(),M()}})]}),(0,b.jsx)(y.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:C,children:(0,b.jsx)(V,{items:u,tabIndex:C?-1:0,onItemClick:n,activePath:i,level:r+1})})]})}var H=n(16654),G=n(43186);const P="menuExternalLink_NmtK";function R(e){let{item:t,onItemClick:n,activePath:a,level:i,index:r,...c}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l.w8)(t,a),x=(0,H.A)(d);return(0,b.jsx)("li",{className:(0,o.A)(s.G.docs.docSidebarItemLink,s.G.docs.docSidebarItemLinkLevel(i),"menu__list-item",m),children:(0,b.jsxs)(w.A,{className:(0,o.A)("menu__link",!x&&P,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...c,children:[u,!x&&(0,b.jsx)(G.A,{})]})},u)}const W="menuHtmlItem_M9Kj";function D(e){let{item:t,level:n,index:a}=e;const{value:i,defaultStyle:l,className:r}=t;return(0,b.jsx)("li",{className:(0,o.A)(s.G.docs.docSidebarItemLink,s.G.docs.docSidebarItemLinkLevel(n),l&&[W,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:i}},a)}function F(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(M,{item:t,...n});case"html":return(0,b.jsx)(D,{item:t,...n});default:return(0,b.jsx)(R,{item:t,...n})}}function U(e){let{items:t,...n}=e;const a=(0,l.Y)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(F,{item:e,index:t,...n},t)))})}const V=(0,a.memo)(U),Y="menu_SIkG",K="menuWithAnnouncementBar_GW3s";function z(e){let{path:t,sidebar:n,className:i}=e;const l=function(){const{isActive:e}=(0,A.M)(),[t,n]=(0,a.useState)(e);return(0,d.Mq)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.translate)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.A)("menu thin-scrollbar",Y,l&&K,i),children:(0,b.jsx)("ul",{className:(0,o.A)(s.G.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}const q="sidebar_njMd",O="sidebarWithHideableNavbar_wUlq",J="sidebarHidden_VK0M",Q="sidebarLogo_isFc";function X(e){let{path:t,sidebar:n,onCollapse:a,isHidden:i}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,j.p)();return(0,b.jsxs)("div",{className:(0,o.A)(q,s&&O,i&&J),children:[s&&(0,b.jsx)(v.A,{tabIndex:-1,className:Q}),(0,b.jsx)(z,{path:t,sidebar:n}),l&&(0,b.jsx)(k,{onClick:a})]})}const Z=a.memo(X);var $=n(75600),ee=n(22069);const te=e=>{let{sidebar:t,path:n}=e;const a=(0,ee.M)();return(0,b.jsx)("ul",{className:(0,o.A)(s.G.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ne(e){return(0,b.jsx)($.GX,{component:te,props:e})}const ae=a.memo(ne);function oe(e){const t=(0,f.l)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(Z,{...e}),a&&(0,b.jsx)(ae,{...e})]})}const ie={expandButton:"expandButton_TmdG",expandButtonIcon:"expandButtonIcon_i1dp"};function se(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ie.expandButton,title:(0,c.translate)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.translate)({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,children:(0,b.jsx)(_,{className:ie.expandButtonIcon})})}const le={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function re(e){let{children:t}=e;const n=(0,r.t)();return(0,b.jsx)(a.Fragment,{children:t},n?.name??"noSidebar")}function ce(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}=e;const{pathname:l}=(0,x.zy)(),[r,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{r&&c(!1),!r&&(0,p.O)()&&c(!0),i((e=>!e))}),[i,r]);return(0,b.jsx)("aside",{className:(0,o.A)(s.G.docs.docSidebarContainer,le.docSidebarContainer,n&&le.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(le.docSidebarContainer)&&n&&c(!0)},children:(0,b.jsx)(re,{children:(0,b.jsxs)("div",{className:(0,o.A)(le.sidebarViewport,r&&le.sidebarViewportHidden),children:[(0,b.jsx)(oe,{sidebar:t,path:l,onCollapse:d,isHidden:r}),r&&(0,b.jsx)(se,{toggleSidebar:d})]})})})}const de={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function ue(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,r.t)();return(0,b.jsx)("main",{className:(0,o.A)(de.docMainContainer,(t||!a)&&de.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,o.A)("container padding-top--md padding-bottom--lg",de.docItemWrapper,t&&de.docItemWrapperEnhanced),children:n})})}const me={docRoot:"docRoot_UBD9",docsWrapper:"docsWrapper_hBAB"};function be(e){let{children:t}=e;const n=(0,r.t)(),[o,i]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:me.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:me.docRoot,children:[n&&(0,b.jsx)(ce,{sidebar:n.items,hiddenSidebarContainer:o,setHiddenSidebarContainer:i}),(0,b.jsx)(ue,{hiddenSidebarContainer:o,children:t})]})]})}var he=n(23363);function pe(e){const t=(0,l.B5)(e);if(!t)return(0,b.jsx)(he.A,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(i.e3,{className:(0,o.A)(s.G.page.docsDocPage),children:(0,b.jsx)(r.V,{name:a,items:c,children:(0,b.jsx)(be,{children:n})})})}},23363:(e,t,n)=>{n.d(t,{A:()=>l});n(96540);var a=n(34164),o=n(21312),i=n(51107),s=n(74848);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.A)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(i.A,{as:"h1",className:"hero__title",children:(0,s.jsx)(o.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"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/pr-preview/pr-4/assets/js/aba21aa0.75b1d822.js b/pr-preview/pr-4/assets/js/aba21aa0.75b1d822.js new file mode 100644 index 0000000..ff9762d --- /dev/null +++ b/pr-preview/pr-4/assets/js/aba21aa0.75b1d822.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[5742],{27093:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/ad42e095.71b9bbf0.js b/pr-preview/pr-4/assets/js/ad42e095.71b9bbf0.js new file mode 100644 index 0000000..6d42e64 --- /dev/null +++ b/pr-preview/pr-4/assets/js/ad42e095.71b9bbf0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[1535],{614:r=>{r.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Tutorial - Extras","slug":"/category/tutorial---extras","permalink":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---extras","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Congratulations!","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations"},"next":{"title":"Manage Docs Versions","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/b06371b7.60a2e3d7.js b/pr-preview/pr-4/assets/js/b06371b7.60a2e3d7.js new file mode 100644 index 0000000..4dbc969 --- /dev/null +++ b/pr-preview/pr-4/assets/js/b06371b7.60a2e3d7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8797],{17786:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>d,contentTitle:()=>o,default:()=>h,frontMatter:()=>a,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","source":"@site/docs/intro/terminology.md","sourceDirName":"intro","slug":"/intro/terminology","permalink":"/nr-pies/pr-preview/pr-4/docs/intro/terminology","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/intro/terminology.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732324298000,"frontMatter":{"id":"terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","tags":["business","developer"]},"sidebar":"docSidebar","previous":{"title":"Getting Started","permalink":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started"},"next":{"title":"Formatting","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/formatting"}}');var s=t(74848),r=t(28453);const a={id:"terminology",title:"Terminology",description:"The definitions of specific technical terms and concepts used in PIES",tags:["business","developer"]},o=void 0,d={},c=[{value:"Acronyms",id:"acronyms",level:2},{value:"Concepts",id:"concepts",level:2},{value:"Actors",id:"actors",level:3},{value:"Definitions",id:"definitions",level:3},{value:"Process Tracking",id:"process-tracking",level:3},{value:"Structure",id:"structure",level:2}];function l(e){const i={h2:"h2",h3:"h3",mermaid:"mermaid",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.p,{children:"This page provides an overview and guide to the PIES resources, operations and concepts used for representing and\ncommunicating coded, structured data within this specification. Collectively, these concepts are used to provide a\ncommon definition and framework for traversing the coded concepts within PIES."}),"\n",(0,s.jsx)(i.h2,{id:"acronyms",children:"Acronyms"}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"})]})}),(0,s.jsx)(i.tbody,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"LOB"}),(0,s.jsx)(i.td,{children:"Line of Business"})]})})]}),"\n",(0,s.jsx)(i.h2,{id:"concepts",children:"Concepts"}),"\n",(0,s.jsx)(i.p,{children:"The following terms outline the main concepts used within this specification and aim to provide a common lexicon for\nunderstanding and terminology usage."}),"\n",(0,s.jsx)(i.h3,{id:"actors",children:"Actors"}),"\n",(0,s.jsx)(i.p,{children:"This section discusses the various roles that a person, group or an organization may act as within the context of PIES."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Applicant"}),(0,s.jsx)(i.td,{children:"A person, group or organization seeking an authorization to perform a set of activities."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Decision Maker"}),(0,s.jsx)(i.td,{children:"A statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Interested Party"}),(0,s.jsx)(i.td,{children:"A person, or group which may be impacted by an authorization decision."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Local Government"}),(0,s.jsx)(i.td,{children:"A Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Navigator"}),(0,s.jsx)(i.td,{children:"An established role which focuses on delivering dedicated support to applicants on application submissions."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Proponent"}),(0,s.jsx)(i.td,{children:"A synonym for an applicant."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Referral Agency"}),(0,s.jsx)(i.td,{children:"A provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Subject Matter Expert"}),(0,s.jsx)(i.td,{children:"A subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy."})]})]})]}),"\n",(0,s.jsx)(i.h3,{id:"definitions",children:"Definitions"}),"\n",(0,s.jsx)(i.p,{children:"This section outlines the definitions and common vocabulary used for representing specific concepts within PIES."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"}),(0,s.jsx)(i.th,{children:"???"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Activity"}),(0,s.jsx)(i.td,{children:"A single, specific defined intent of action an area of intent. An activity may require one or more authorizations, e.g., a housing development project."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Activity Bundling"}),(0,s.jsx)(i.td,{children:"The act of identifying the set of permits required for a certain activity."}),(0,s.jsx)(i.td,{children:"This should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Application"}),(0,s.jsx)(i.td,{children:"A submitted form(s) with the intent to obtain or amend an authorization."}),(0,s.jsx)(i.td,{children:"This might be getting muddled with the concept of a project."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Area of Intent"}),(0,s.jsx)(i.td,{children:"A set of one or more parcels which define the location(s) an activity is to be performed."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Authorization"}),(0,s.jsx)(i.td,{children:"The act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title."}),(0,s.jsx)(i.td,{children:"We might need to expand this definition over time as this is the formal umbrella term for many things."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Caseload"}),(0,s.jsx)(i.td,{children:"Work happening with the LOB to facilitate, capture and maintain a permit."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Disposition"}),(0,s.jsx)(i.td,{children:"The final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state."}),(0,s.jsx)(i.td,{children:"First attempt at defining - needs review"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Parcel"}),(0,s.jsx)(i.td,{children:"A polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions."}),(0,s.jsx)(i.td,{children:"Rephrased from LTSA page"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Permit"}),(0,s.jsx)(i.td,{children:"An official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Project"}),(0,s.jsx)(i.td,{children:"A set of applications required for a permit"}),(0,s.jsx)(i.td,{children:"Is this a fancy synonym for an activity bundle?"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Submission"}),(0,s.jsx)(i.td,{children:"The completed output of a single form as answered by an applicant."}),(0,s.jsx)(i.td,{children:'Add a note like "Submissions require an adjective declaring their application context"?'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Workload"}),(0,s.jsx)(i.td,{children:"A quantifiable measurement of the number of client-driven applications in the queue."}),(0,s.jsx)(i.td,{})]})]})]}),"\n",(0,s.jsx)(i.p,{children:"The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they\ninteract with specific parts of the process."}),"\n",(0,s.jsx)(i.mermaid,{value:'---\ntitle: Actor-Process Workflow\n---\n%% v11 broke and made all links have arrow heads\n%% Ref: https://github.com/mermaid-js/mermaid/issues/5813\nflowchart TB\n Activity@{ shape: dbl-circ }\n Applicant@{ shape: stadium }\n AOI@{ shape: rect, label: "Area of\n Interest" }\n DM@{ shape: stadium, label: "Decision\n Maker" }\n IP@{ shape: stadium, label: "Interested\n Party" }\n Issues@{ shape: diamond }\n LG@{ shape: stadium, label: "Local\n Government" }\n Navigator@{ shape: stadium }\n Parcel@{ shape: docs }\n Permit@{ shape: docs }\n SME@{ shape: stadium, label: "Subject\n Matter Expert" }\n Submission@{ shape: docs }\n\n Activity ==>|Within an| AOI\n AOI ---|Defined by| Parcel\n Applicant --\x3e|Seeking| Activity\n Applicant ==>|Completes an| Application\n Application --\x3e|Requesting for an| Authorization\n Application ==>|Notifies| RA & DM\n Authorization ==>|Grants permission for| Activity\n Authorization --\x3e|May impact| IP\n DM ==> Issues ==> Authorization\n DM <-..->|Communicates with| LG\n IP <-..->|Consults with| DM\n Navigator -.->|Identifies| Authorization\n Navigator -.->|Assists| Applicant\n Navigator <-.->|Coordinates with| DM\n Navigator <-.->|Works with| SME\n SME -.->|Informs| DM\n Parcel ---|Constrains an| Authorization\n\n subgraph Application\n Submission\n end\n subgraph Authorization\n Permit\n end\n subgraph RA[Referral Agency]\n DM\n LG\n Navigator\n SME\n end'}),"\n",(0,s.jsx)(i.h3,{id:"process-tracking",children:"Process Tracking"}),"\n",(0,s.jsx)(i.p,{children:"This section outlines the definitions and common vocabulary used for representing specific concepts within a process."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"}),(0,s.jsx)(i.th,{children:"???"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Lifecycle"}),(0,s.jsx)(i.td,{children:"Represents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end."}),(0,s.jsx)(i.td,{children:'Highest level concept; answers the "why"'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Phase"}),(0,s.jsx)(i.td,{children:"A distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle."}),(0,s.jsx)(i.td,{children:"Defines an ordering of related stages."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Stage"}),(0,s.jsx)(i.td,{children:"A discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase."}),(0,s.jsx)(i.td,{children:"Provides an ordering of higher level states within a phase of work"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"State"}),(0,s.jsx)(i.td,{children:'A description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.'}),(0,s.jsx)(i.td,{children:'Larger general "where is this at" concept'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Status"}),(0,s.jsx)(i.td,{children:'A description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.'}),(0,s.jsx)(i.td,{children:'Detailed "what is happening now" concept'})]})]})]}),"\n",(0,s.jsx)(i.p,{children:"The following diagram outlines a high level categorization map between all of the process terms and how they relate to\neach other."}),"\n",(0,s.jsx)(i.mermaid,{value:"---\ntitle: Process Tracking Concept Map\n---\nflowchart LR\n Status@{ shape: processes }\n\n subgraph Lifecycle\n subgraph Phase\n subgraph Stage\n subgraph State\n Status\n end\n end\n end\n end\n"}),"\n",(0,s.jsx)(i.h2,{id:"structure",children:"Structure"}),"\n",(0,s.jsx)(i.p,{children:"The following terms describe the structural definitions of the specification ordered from specific to general."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Data Type"}),(0,s.jsx)(i.td,{children:"A primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Identifiers"}),(0,s.jsx)(i.td,{children:'Identifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations.'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Vocabulary"}),(0,s.jsx)(i.td,{children:'A vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher."'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Schema"}),(0,s.jsx)(i.td,{children:"A schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Format"}),(0,s.jsx)(i.td,{children:'The format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML.'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"API"}),(0,s.jsx)(i.td,{children:"An application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web."})]})]})]})]})}function h(e={}){const{wrapper:i}={...(0,r.R)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},28453:(e,i,t)=>{t.d(i,{R:()=>a,x:()=>o});var n=t(96540);const s={},r=n.createContext(s);function a(e){const i=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/bb64f159.6ad32d9f.js b/pr-preview/pr-4/assets/js/bb64f159.6ad32d9f.js new file mode 100644 index 0000000..652b4b0 --- /dev/null +++ b/pr-preview/pr-4/assets/js/bb64f159.6ad32d9f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[2400],{63672:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>g,frontMatter:()=>h,metadata:()=>n,toc:()=>f});const n=JSON.parse('{"id":"spec/data/code","title":"Code","description":"A code type","source":"@site/docs/spec/data/code.mdx","sourceDirName":"spec/data","slug":"/spec/data/code","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/code","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/code.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"code","title":"Code","description":"A code type","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Data Types","permalink":"/nr-pies/pr-preview/pr-4/docs/category/data-types"},"next":{"title":"Parcel Identifier","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id"}}');var i=s(74848),r=s(28453),a=s(21432),c=s(87595),d=s.n(c),o=s(11470),l=s(19365);const p=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/code.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Code","description":"Code Data Type","type":"string","pattern":"^[^\\\\s]+( [^\\\\s]+)*$"}'),h={id:"code",title:"Code",description:"A code type",tags:["developer"]},u=void 0,m={},f=[{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function v(e){const t={code:"code",h2:"h2",p:"p",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"Indicates that the value is taken from a set of controlled strings defined elsewhere. Technically, a code is restricted\nto a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace\nother than single spaces in the contents."}),"\n",(0,i.jsx)(t.p,{children:"This data type is intended to represent a finite set of controlled strings which represents a specific, discrete\nconcept, element or idea."}),"\n",(0,i.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,i.jsxs)(t.p,{children:["Type: ",(0,i.jsx)(t.code,{children:"string"})]}),"\n",(0,i.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,i.jsxs)(o.default,{queryString:"tab",children:[(0,i.jsx)(l.default,{value:"schema",label:"Schema",default:!0,children:(0,i.jsx)(d(),{schema:p,viewerOptions:{showExamples:!0}})}),(0,i.jsx)(l.default,{value:"source",label:"Source",children:(0,i.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})]}),"\n",(0,i.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,i.jsx)(t.p,{children:"TBD"}),"\n",(0,i.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,i.jsx)(t.p,{children:"TBD"})]})}function g(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/c5bc9321.b48ab5c3.js b/pr-preview/pr-4/assets/js/c5bc9321.b48ab5c3.js new file mode 100644 index 0000000..218f422 --- /dev/null +++ b/pr-preview/pr-4/assets/js/c5bc9321.b48ab5c3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[5525],{64891:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docSidebar":[{"type":"category","label":"Introduction","collapsed":false,"items":[{"type":"link","label":"Getting Started","href":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started","docId":"intro/getting_started","unlisted":false},{"type":"link","label":"Terminology","href":"/nr-pies/pr-preview/pr-4/docs/intro/terminology","docId":"intro/terminology","unlisted":false}],"collapsible":true},{"type":"category","label":"Specification","collapsed":false,"items":[{"type":"link","label":"Formatting","href":"/nr-pies/pr-preview/pr-4/docs/spec/formatting","docId":"spec/formatting","unlisted":false},{"type":"category","label":"Data Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Code","href":"/nr-pies/pr-preview/pr-4/docs/spec/data/code","docId":"spec/data/code","unlisted":false},{"type":"link","label":"Parcel Identifier","href":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id","docId":"spec/data/parcel_id","unlisted":false},{"type":"link","label":"Project Bundle","href":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle","docId":"spec/data/project_bundle","unlisted":false}],"href":"/nr-pies/pr-preview/pr-4/docs/category/data-types"},{"type":"link","label":"Primitive Types","href":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types","docId":"spec/primitive_types","unlisted":false}],"collapsible":true}],"tutorialSidebar":[{"type":"category","label":"Docusaurus Tutorial","items":[{"type":"link","label":"Tutorial Intro","href":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro","docId":"docusaurus/intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page","docId":"docusaurus/tutorial_basics/create_a_page","unlisted":false},{"type":"link","label":"Create a Document","href":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document","docId":"docusaurus/tutorial_basics/create_a_document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post","docId":"docusaurus/tutorial_basics/create_a_blog_post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features","docId":"docusaurus/tutorial_basics/markdown_features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site","docId":"docusaurus/tutorial_basics/deploy_your_site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations","docId":"docusaurus/tutorial_basics/congratulations","unlisted":false}],"href":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions","docId":"docusaurus/tutorial_extras/manage_docs_versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site","docId":"docusaurus/tutorial_extras/translate_your_site","unlisted":false}],"href":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---extras"}],"collapsed":true,"collapsible":true}]},"docs":{"docusaurus/intro":{"id":"docusaurus/intro","title":"Tutorial Intro","description":"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/congratulations":{"id":"docusaurus/tutorial_basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_blog_post":{"id":"docusaurus/tutorial_basics/create_a_blog_post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_document":{"id":"docusaurus/tutorial_basics/create_a_document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_page":{"id":"docusaurus/tutorial_basics/create_a_page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/deploy_your_site":{"id":"docusaurus/tutorial_basics/deploy_your_site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/markdown_features":{"id":"docusaurus/tutorial_basics/markdown_features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional","sidebar":"tutorialSidebar"},"docusaurus/tutorial_extras/manage_docs_versions":{"id":"docusaurus/tutorial_extras/manage_docs_versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"tutorialSidebar"},"docusaurus/tutorial_extras/translate_your_site":{"id":"docusaurus/tutorial_extras/translate_your_site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"tutorialSidebar"},"intro/getting_started":{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","sidebar":"docSidebar"},"intro/terminology":{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","sidebar":"docSidebar"},"spec/data/code":{"id":"spec/data/code","title":"Code","description":"A code type","sidebar":"docSidebar"},"spec/data/parcel_id":{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","sidebar":"docSidebar"},"spec/data/project_bundle":{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","sidebar":"docSidebar"},"spec/formatting":{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","sidebar":"docSidebar"},"spec/primitive_types":{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","sidebar":"docSidebar"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/d1f37175.3727efc3.js b/pr-preview/pr-4/assets/js/d1f37175.3727efc3.js new file mode 100644 index 0000000..550f47a --- /dev/null +++ b/pr-preview/pr-4/assets/js/d1f37175.3727efc3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[7631],{41860:e=>{e.exports=JSON.parse('{"tag":{"label":"Executive","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/executive","description":"Content related to policies and strategic alignment","allTagsPath":"/nr-pies/pr-preview/pr-4/docs/tags","count":1,"items":[{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","permalink":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/df203c0f.3182a1a8.js b/pr-preview/pr-4/assets/js/df203c0f.3182a1a8.js new file mode 100644 index 0000000..014f980 --- /dev/null +++ b/pr-preview/pr-4/assets/js/df203c0f.3182a1a8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[4279],{27293:(e,n,t)=>{t.d(n,{A:()=>k});var i=t(96540),s=t(74848);function l(e){const{mdxAdmonitionTitle:n,rest:t}=function(e){const n=i.Children.toArray(e),t=n.find((e=>i.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),l=n.filter((e=>e!==t)),r=t?.props.children;return{mdxAdmonitionTitle:r,rest:l.length>0?(0,s.jsx)(s.Fragment,{children:l}):null}}(e.children),l=e.title??n;return{...e,...l&&{title:l},children:t}}var r=t(34164),a=t(21312),c=t(17559);const o="admonition_xJq3",d="admonitionHeading_Gvgb",u="admonitionIcon_Rf37",h="admonitionContent_BuS1";function m(e){let{type:n,className:t,children:i}=e;return(0,s.jsx)("div",{className:(0,r.A)(c.G.common.admonition,c.G.common.admonitionType(n),o,t),children:i})}function f(e){let{icon:n,title:t}=e;return(0,s.jsxs)("div",{className:d,children:[(0,s.jsx)("span",{className:u,children:n}),t]})}function g(e){let{children:n}=e;return n?(0,s.jsx)("div",{className:h,children:n}):null}function x(e){const{type:n,icon:t,title:i,children:l,className:r}=e;return(0,s.jsxs)(m,{type:n,className:r,children:[i||t?(0,s.jsx)(f,{title:i,icon:t}):null,(0,s.jsx)(g,{children:l})]})}function p(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("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"})})}const j={icon:(0,s.jsx)(p,{}),title:(0,s.jsx)(a.default,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function v(e){return(0,s.jsx)(x,{...j,...e,className:(0,r.A)("alert alert--secondary",e.className),children:e.children})}function N(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("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"})})}const b={icon:(0,s.jsx)(N,{}),title:(0,s.jsx)(a.default,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function T(e){return(0,s.jsx)(x,{...b,...e,className:(0,r.A)("alert alert--success",e.className),children:e.children})}function w(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("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"})})}const A={icon:(0,s.jsx)(w,{}),title:(0,s.jsx)(a.default,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function y(e){return(0,s.jsx)(x,{...A,...e,className:(0,r.A)("alert alert--info",e.className),children:e.children})}function z(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,s.jsx)("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"})})}const M={icon:(0,s.jsx)(z,{}),title:(0,s.jsx)(a.default,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function C(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("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"})})}const F={icon:(0,s.jsx)(C,{}),title:(0,s.jsx)(a.default,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const B={icon:(0,s.jsx)(z,{}),title:(0,s.jsx)(a.default,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const _={...{note:v,tip:T,info:y,warning:function(e){return(0,s.jsx)(x,{...M,...e,className:(0,r.A)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,s.jsx)(x,{...F,...e,className:(0,r.A)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,s.jsx)(v,{title:"secondary",...e}),important:e=>(0,s.jsx)(y,{title:"important",...e}),success:e=>(0,s.jsx)(T,{title:"success",...e}),caution:function(e){return(0,s.jsx)(x,{...B,...e,className:(0,r.A)("alert alert--warning",e.className),children:e.children})}}};function k(e){const n=l(e),t=(i=n.type,_[i]||(console.warn(`No admonition component found for admonition type "${i}". Using Info as fallback.`),_.info));var i;return(0,s.jsx)(t,{...n})}},32234:(e,n,t)=>{t.d(n,{A:()=>o});t(96540);var i=t(34164),s=t(44084),l=t(17559),r=t(27293),a=t(74848);function c(e){let{className:n}=e;return(0,a.jsx)(r.A,{type:"caution",title:(0,a.jsx)(s.Rc,{}),className:(0,i.A)(n,l.G.common.unlistedBanner),children:(0,a.jsx)(s.Uh,{})})}function o(e){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.AE,{}),(0,a.jsx)(c,{...e})]})}},45921:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});t(96540);var i=t(34164),s=t(28774),l=t(53465),r=t(1003),a=t(17559),c=t(21312),o=t(41463),d=t(32234),u=t(51107),h=t(74848);function m(e){const n=function(){const{selectMessage:e}=(0,l.W)();return n=>e(n,(0,c.translate)({id:"theme.docs.tagDocListPageTitle.nDocsTagged",description:'Pluralized label for "{count} docs tagged". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One doc tagged|{count} docs tagged"},{count:n}))}();return(0,c.translate)({id:"theme.docs.tagDocListPageTitle",description:"The title of the page for a docs tag",message:'{nDocsTagged} with "{tagName}"'},{nDocsTagged:n(e.tag.count),tagName:e.tag.label})}function f(e){let{doc:n}=e;return(0,h.jsxs)("article",{className:"margin-vert--lg",children:[(0,h.jsx)(s.A,{to:n.permalink,children:(0,h.jsx)(u.A,{as:"h2",children:n.title})}),n.description&&(0,h.jsx)("p",{children:n.description})]})}function g(e){let{title:n,tag:t}=e;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(r.be,{title:n,description:t.description}),(0,h.jsx)(o.A,{tag:"doc_tag_doc_list"})]})}function x(e){let{tag:n,title:t}=e;return(0,h.jsx)(r.e3,{className:(0,i.A)(a.G.page.docsTagDocListPage),children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsx)("div",{className:"row",children:(0,h.jsxs)("main",{className:"col col--8 col--offset-2",children:[n.unlisted&&(0,h.jsx)(d.A,{}),(0,h.jsxs)("header",{className:"margin-bottom--xl",children:[(0,h.jsx)(u.A,{as:"h1",children:t}),n.description&&(0,h.jsx)("p",{children:n.description}),(0,h.jsx)(s.A,{href:n.allTagsPath,children:(0,h.jsx)(c.default,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View all tags"})})]}),(0,h.jsx)("section",{className:"margin-vert--lg",children:n.items.map((e=>(0,h.jsx)(f,{doc:e},e.id)))})]})})})})}function p(e){const n=m(e);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(g,{...e,title:n}),(0,h.jsx)(x,{...e,title:n})]})}},44084:(e,n,t)=>{t.d(n,{AE:()=>c,Rc:()=>r,TT:()=>d,Uh:()=>a,Yh:()=>o});t(96540);var i=t(21312),s=t(5260),l=t(74848);function r(){return(0,l.jsx)(i.default,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function a(){return(0,l.jsx)(i.default,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(s.A,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function o(){return(0,l.jsx)(i.default,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function d(){return(0,l.jsx)(i.default,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}},53465:(e,n,t)=>{t.d(n,{W:()=>o});var i=t(96540),s=t(44586);const l=["zero","one","two","few","many","other"];function r(e){return l.filter((n=>e.includes(n)))}const a={locale:"en",pluralForms:r(["one","other"]),select:e=>1===e?"one":"other"};function c(){const{i18n:{currentLocale:e}}=(0,s.A)();return(0,i.useMemo)((()=>{try{return function(e){const n=new Intl.PluralRules(e);return{locale:e,pluralForms:r(n.resolvedOptions().pluralCategories),select:e=>n.select(e)}}(e)}catch(n){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${n.message}\n`),a}}),[e])}function o(){const e=c();return{selectMessage:(n,t)=>function(e,n,t){const i=e.split("|");if(1===i.length)return i[0];i.length>t.pluralForms.length&&console.error(`For locale=${t.locale}, a maximum of ${t.pluralForms.length} plural forms are expected (${t.pluralForms.join(",")}), but the message contains ${i.length}: ${e}`);const s=t.select(n),l=t.pluralForms.indexOf(s);return i[Math.min(l,i.length-1)]}(t,n,e)}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/fa6dc6d9.01659d48.js b/pr-preview/pr-4/assets/js/fa6dc6d9.01659d48.js new file mode 100644 index 0000000..384dc53 --- /dev/null +++ b/pr-preview/pr-4/assets/js/fa6dc6d9.01659d48.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[3744],{71181:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>b,frontMatter:()=>j,metadata:()=>i,toc:()=>f});const i=JSON.parse('{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","source":"@site/docs/spec/data/project_bundle.mdx","sourceDirName":"spec/data","slug":"/spec/data/project_bundle","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/project_bundle.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-4/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Parcel Identifier","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id"},"next":{"title":"Primitive Types","permalink":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types"}}');var n=r(74848),s=r(28453),a=r(21432),o=r(87595),c=r.n(o),d=r(11470),l=r(19365);const p=JSON.parse('{"project_id":"c09d5aab-0f10-4727-a520-adbd57db084f","project_name":"The Hudson, Capitol Park","project_description":"project_description"}'),h=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/project_bundle.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Project Bundle","description":"An identifier for a specific area with clear boundaries.","type":"object","properties":{"project_id":{"type":"string","description":"A unique key to track all permits related to a project or activity across all permitting systems.","pattern":"/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i"},"project_name":{"type":"string","description":"Short name of the project."},"project_description":{"type":"string","description":"Full description of the project. This may contain information to better understand a project."}},"required":["project_id","project_name"]}'),j={id:"project_bundle",title:"Project Bundle",description:"A set of one or more permits related to an activity.",tags:["developer"]},u=void 0,m={},f=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function x(e){const t={code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"A set of one or more permits related to an activity."}),"\n",(0,n.jsx)(t.p,{children:"A project is defined by an activity with one or more permits. Grouping of a primary authorization with secondary or associated authorizations that are triggered or required by the primary authorization. For example: major mine permit (primary) and associated auxiliary (secondary) permits such as License to Cut, Water Use, and or Road Use."}),"\n",(0,n.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,n.jsx)(t.p,{children:"This data type is intended to represent a grouping of related permits that are related to a specific activity."}),"\n",(0,n.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Cardinality"}),(0,n.jsx)(t.th,{children:"Type"}),(0,n.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"project_id"}),(0,n.jsx)(t.td,{children:"1..1"}),(0,n.jsx)(t.td,{children:(0,n.jsx)(t.code,{children:"uuid"})}),(0,n.jsx)(t.td,{children:"A unique key to track all permits related to a project or activity across all permitting systems."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"project_name"}),(0,n.jsx)(t.td,{children:"1..1"}),(0,n.jsx)(t.td,{children:(0,n.jsx)(t.code,{children:"string"})}),(0,n.jsx)(t.td,{children:"Short name of the project."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"project_description"}),(0,n.jsx)(t.td,{children:"0..1"}),(0,n.jsx)(t.td,{children:(0,n.jsx)(t.code,{children:"string"})}),(0,n.jsx)(t.td,{children:"Full description of the project. This may contain information to better understand a project."})]})]})]}),"\n",(0,n.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,n.jsxs)(d.default,{queryString:"tab",children:[(0,n.jsx)(l.default,{value:"schema",label:"Schema",default:!0,children:(0,n.jsx)(c(),{schema:h,viewerOptions:{showExamples:!0}})}),(0,n.jsx)(l.default,{value:"source",label:"Source",children:(0,n.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(h,null,2)})}),(0,n.jsx)(l.default,{value:"example",label:"Example",children:(0,n.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})]}),"\n",(0,n.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,n.jsx)(t.p,{children:"TBD"}),"\n",(0,n.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,n.jsx)(t.p,{children:"TBD"})]})}function b(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/fe557f77.0eca603f.js b/pr-preview/pr-4/assets/js/fe557f77.0eca603f.js new file mode 100644 index 0000000..0fdcbba --- /dev/null +++ b/pr-preview/pr-4/assets/js/fe557f77.0eca603f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[7979],{54240:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"docusaurus/tutorial_extras/translate_your_site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","source":"@site/docs/docusaurus/tutorial_extras/translate_your_site.md","sourceDirName":"docusaurus/tutorial_extras","slug":"/docusaurus/tutorial_extras/translate_your_site","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_extras/translate_your_site.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Manage Docs Versions","permalink":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions"}}');var t=r(74848),a=r(28453);const o={sidebar_position:2},i="Translate your site",l={},d=[{value:"Configure i18n",id:"configure-i18n",level:2},{value:"Translate a doc",id:"translate-a-doc",level:2},{value:"Start your localized site",id:"start-your-localized-site",level:2},{value:"Add a Locale Dropdown",id:"add-a-locale-dropdown",level:2},{value:"Build your localized site",id:"build-your-localized-site",level:2}];function c(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",header:"header",img:"img",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"translate-your-site",children:"Translate your site"})}),"\n",(0,t.jsxs)(n.p,{children:["Let's translate ",(0,t.jsx)(n.code,{children:"docs/intro.md"})," to French."]}),"\n",(0,t.jsx)(n.h2,{id:"configure-i18n",children:"Configure i18n"}),"\n",(0,t.jsxs)(n.p,{children:["Modify ",(0,t.jsx)(n.code,{children:"docusaurus.config.js"})," to add support for the ",(0,t.jsx)(n.code,{children:"fr"})," locale:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"export default {\n i18n: {\n defaultLocale: 'en',\n locales: ['en', 'fr'],\n },\n};\n"})}),"\n",(0,t.jsx)(n.h2,{id:"translate-a-doc",children:"Translate a doc"}),"\n",(0,t.jsxs)(n.p,{children:["Copy the ",(0,t.jsx)(n.code,{children:"docs/intro.md"})," file to the ",(0,t.jsx)(n.code,{children:"i18n/fr"})," folder:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/\n\ncp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md\n"})}),"\n",(0,t.jsxs)(n.p,{children:["Translate ",(0,t.jsx)(n.code,{children:"i18n/fr/docusaurus-plugin-content-docs/current/intro.md"})," in French."]}),"\n",(0,t.jsx)(n.h2,{id:"start-your-localized-site",children:"Start your localized site"}),"\n",(0,t.jsx)(n.p,{children:"Start your site on the French locale:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"npm run start -- --locale fr\n"})}),"\n",(0,t.jsxs)(n.p,{children:["Your localized site is accessible at ",(0,t.jsx)(n.a,{href:"http://localhost:3000/fr/",children:"http://localhost:3000/fr/"})," and the ",(0,t.jsx)(n.code,{children:"Getting Started"})," page is translated."]}),"\n",(0,t.jsx)(n.admonition,{type:"caution",children:(0,t.jsx)(n.p,{children:"In development, you can only use one locale at a time."})}),"\n",(0,t.jsx)(n.h2,{id:"add-a-locale-dropdown",children:"Add a Locale Dropdown"}),"\n",(0,t.jsx)(n.p,{children:"To navigate seamlessly across languages, add a locale dropdown."}),"\n",(0,t.jsxs)(n.p,{children:["Modify the ",(0,t.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'localeDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,t.jsx)(n.p,{children:"The locale dropdown now appears in your navbar:"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.img,{alt:"Locale Dropdown",src:r(70113).A+"",width:"370",height:"302"})}),"\n",(0,t.jsx)(n.h2,{id:"build-your-localized-site",children:"Build your localized site"}),"\n",(0,t.jsx)(n.p,{children:"Build your site for a specific locale:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"npm run build -- --locale fr\n"})}),"\n",(0,t.jsx)(n.p,{children:"Or build your site to include all the locales at once:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"npm run build\n"})})]})}function u(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},70113:(e,n,r)=>{r.d(n,{A:()=>s});const s=r.p+"assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png"},28453:(e,n,r)=>{r.d(n,{R:()=>o,x:()=>i});var s=r(96540);const t={},a=s.createContext(t);function o(e){const n=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/main.7f885d85.js b/pr-preview/pr-4/assets/js/main.7f885d85.js new file mode 100644 index 0000000..7b03246 --- /dev/null +++ b/pr-preview/pr-4/assets/js/main.7f885d85.js @@ -0,0 +1,2 @@ +/*! For license information please see main.7f885d85.js.LICENSE.txt */ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([[8792],{35947:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});n(96540);var r=n(53259),a=n.n(r),o=n(84054);const i={"05b87bb5":[()=>n.e(5932).then(n.t.bind(n,81263,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-4-docs-tags-4b3.json",81263],14622022:[()=>n.e(4634).then(n.bind(n,96804)),"@site/docs/docusaurus/tutorial_basics/markdown_features.mdx",96804],"14eb3368":[()=>Promise.all([n.e(1869),n.e(6969)]).then(n.bind(n,34136)),"@theme/DocCategoryGeneratedIndexPage",34136],17896441:[()=>Promise.all([n.e(1869),n.e(8059),n.e(8130),n.e(8401)]).then(n.bind(n,7838)),"@theme/DocItem",7838],"17e78993":[()=>n.e(190).then(n.t.bind(n,38597,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-4-docs-tags-developer-a61.json",38597],"1df93b7f":[()=>Promise.all([n.e(1869),n.e(4583)]).then(n.bind(n,25579)),"@site/src/pages/index.tsx",25579],"1f391b9e":[()=>Promise.all([n.e(1869),n.e(8059),n.e(8130),n.e(6061)]).then(n.bind(n,67973)),"@theme/MDXPage",67973],"21038ea1":[()=>n.e(2484).then(n.bind(n,43894)),"@site/docs/docusaurus/intro.md",43894],"21cb2624":[()=>n.e(6789).then(n.bind(n,89178)),"@site/docs/intro/getting_started.md",89178],"34829b29":[()=>n.e(814).then(n.bind(n,30493)),"@site/docs/docusaurus/tutorial_basics/create_a_page.md",30493],"3720c009":[()=>Promise.all([n.e(1869),n.e(4787)]).then(n.bind(n,30876)),"@theme/DocTagsListPage",30876],"393be207":[()=>n.e(4134).then(n.bind(n,41943)),"@site/src/pages/markdown-page.md",41943],"40a9f62a":[()=>n.e(522).then(n.bind(n,7837)),"@site/docs/docusaurus/tutorial_basics/congratulations.md",7837],"455d01c6":[()=>n.e(143).then(n.bind(n,12868)),"@site/docs/docusaurus/tutorial_basics/create_a_blog_post.md",12868],"5187c925":[()=>n.e(3929).then(n.bind(n,22265)),"@site/docs/spec/formatting.md",22265],54329717:[()=>n.e(2687).then(n.bind(n,60232)),"@site/docs/docusaurus/tutorial_basics/create_a_document.md",60232],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"6cca1acc":[()=>n.e(1170).then(n.bind(n,66616)),"@site/docs/spec/primitive_types.md",66616],"6e1e6756":[()=>n.e(1806).then(n.t.bind(n,36705,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-4-docs-tags-business-0bd.json",36705],"72af4c84":[()=>n.e(5514).then(n.bind(n,51095)),"@site/docs/docusaurus/tutorial_basics/deploy_your_site.md",51095],"8199c9e1":[()=>n.e(2054).then(n.t.bind(n,59546,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-4-docs-category-tutorial-basics-d2b.json",59546],"8f2efedb":[()=>n.e(3959).then(n.t.bind(n,99108,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-4-docs-category-data-types-244.json",99108],"9604fc81":[()=>n.e(9182).then(n.bind(n,8673)),"@site/docs/docusaurus/tutorial_extras/manage_docs_versions.md",8673],"992aa281":[()=>Promise.all([n.e(1869),n.e(8059),n.e(7595),n.e(7970)]).then(n.bind(n,24314)),"@site/docs/spec/data/parcel_id.mdx",24314],a7456010:[()=>n.e(1235).then(n.t.bind(n,88552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",88552],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,31723)),"@theme/DocVersionRoot",31723],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,11377)),"@theme/DocRoot",11377],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,27093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",27093],ad42e095:[()=>n.e(1535).then(n.t.bind(n,614,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-4-docs-category-tutorial-extras-075.json",614],b06371b7:[()=>n.e(8797).then(n.bind(n,17786)),"@site/docs/intro/terminology.md",17786],bb64f159:[()=>Promise.all([n.e(1869),n.e(8059),n.e(7595),n.e(2400)]).then(n.bind(n,63672)),"@site/docs/spec/data/code.mdx",63672],c5bc9321:[()=>n.e(5525).then(n.t.bind(n,64891,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-4-docs-5c5.json",64891],d1f37175:[()=>n.e(7631).then(n.t.bind(n,41860,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-4-docs-tags-executive-25d.json",41860],df203c0f:[()=>Promise.all([n.e(1869),n.e(4279)]).then(n.bind(n,45921)),"@theme/DocTagDocListPage",45921],fa6dc6d9:[()=>Promise.all([n.e(1869),n.e(8059),n.e(7595),n.e(3744)]).then(n.bind(n,71181)),"@site/docs/spec/data/project_bundle.mdx",71181],fe557f77:[()=>n.e(7979).then(n.bind(n,54240)),"@site/docs/docusaurus/tutorial_extras/translate_your_site.md",54240]};var s=n(74848);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("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%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("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",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(86921),c=n(53102);function d(e,t){if("*"===e)return a()({loading:l,loader:()=>n.e(2237).then(n.bind(n,82237)),modules:["@theme/NotFound"],webpack:()=>[82237],render(e,t){const n=e.default;return(0,s.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],h=(0,u.A)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:l,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)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 o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;delete a.__context;const l=a.__props;return delete a.__props,(0,s.jsx)(c.W,{value:i,children:(0,s.jsx)(o,{...a,...l,...n})})}})}const p=[{path:"/nr-pies/pr-preview/pr-4/markdown-page",component:d("/nr-pies/pr-preview/pr-4/markdown-page","1d8"),exact:!0},{path:"/nr-pies/pr-preview/pr-4/docs",component:d("/nr-pies/pr-preview/pr-4/docs","ce4"),routes:[{path:"/nr-pies/pr-preview/pr-4/docs",component:d("/nr-pies/pr-preview/pr-4/docs","8b3"),routes:[{path:"/nr-pies/pr-preview/pr-4/docs/tags",component:d("/nr-pies/pr-preview/pr-4/docs/tags","77a"),exact:!0},{path:"/nr-pies/pr-preview/pr-4/docs/tags/business",component:d("/nr-pies/pr-preview/pr-4/docs/tags/business","e98"),exact:!0},{path:"/nr-pies/pr-preview/pr-4/docs/tags/developer",component:d("/nr-pies/pr-preview/pr-4/docs/tags/developer","b0b"),exact:!0},{path:"/nr-pies/pr-preview/pr-4/docs/tags/executive",component:d("/nr-pies/pr-preview/pr-4/docs/tags/executive","a44"),exact:!0},{path:"/nr-pies/pr-preview/pr-4/docs",component:d("/nr-pies/pr-preview/pr-4/docs","509"),routes:[{path:"/nr-pies/pr-preview/pr-4/docs/category/data-types",component:d("/nr-pies/pr-preview/pr-4/docs/category/data-types","994"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/category/tutorial---basics",component:d("/nr-pies/pr-preview/pr-4/docs/category/tutorial---basics","b0d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/category/tutorial---extras",component:d("/nr-pies/pr-preview/pr-4/docs/category/tutorial---extras","c61"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro",component:d("/nr-pies/pr-preview/pr-4/docs/docusaurus/intro","b56"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations",component:d("/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations","ef5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post",component:d("/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post","40a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document",component:d("/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document","9ea"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page",component:d("/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page","fc0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site",component:d("/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site","683"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features",component:d("/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features","e51"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions",component:d("/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions","474"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site",component:d("/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site","2d7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/intro/getting_started",component:d("/nr-pies/pr-preview/pr-4/docs/intro/getting_started","a77"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/intro/terminology",component:d("/nr-pies/pr-preview/pr-4/docs/intro/terminology","5c2"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/spec/data/code",component:d("/nr-pies/pr-preview/pr-4/docs/spec/data/code","096"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id",component:d("/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id","e0e"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle",component:d("/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle","189"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/spec/formatting",component:d("/nr-pies/pr-preview/pr-4/docs/spec/formatting","36e"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types",component:d("/nr-pies/pr-preview/pr-4/docs/spec/primitive_types","a12"),exact:!0,sidebar:"docSidebar"}]}]}]},{path:"/nr-pies/pr-preview/pr-4/",component:d("/nr-pies/pr-preview/pr-4/","9d3"),exact:!0},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(96540),a=n(74848);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},77815:(e,t,n)=>{"use strict";var r=n(96540),a=n(5338),o=n(80545),i=n(54625),s=n(4784),l=n(38193);const u=[n(10119),n(26134),n(76294),n(51043)];var c=n(35947),d=n(56347),p=n(22831),f=n(74848);function h(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var g=n(5260),m=n(44586),y=n(86025),b=n(6342),v=n(1003),w=n(32131),k=n(14090);var x=n(70440),S=n(41463);function _(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.A)(),r=(0,w.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(g.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function E(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.A)(),{pathname:r}=(0,d.zy)();return e+(0,x.Ks)((0,y.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(g.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function C(){const{i18n:{currentLocale:e}}=(0,m.A)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(g.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:k.w})]}),n&&(0,f.jsx)(v.be,{image:n}),(0,f.jsx)(E,{}),(0,f.jsx)(_,{}),(0,f.jsx)(S.A,{tag:"default",locale:e}),(0,f.jsx)(g.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const A=new Map;var T=n(6125),N=n(26988),j=n(205);function O(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=u.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,j.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),O("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function R(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.u)(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class L extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.A.canUseDOM?O("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=O("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),R(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(0,f.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(d.qh,{location:t,render:()=>e})})}}const I=L,F="__docusaurus-base-url-issue-banner-suggestion-container";function M(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '__docusaurus-base-url-issue-banner-container';\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="${F}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${F}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function D(){const{siteConfig:{baseUrl:e}}=(0,m.A)();return(0,f.jsx)(f.Fragment,{children:!l.A.canUseDOM&&(0,f.jsx)(g.A,{children:(0,f.jsx)("script",{children:M(e)})})})}function z(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.A)(),{pathname:n}=(0,d.zy)();return t&&n===e?(0,f.jsx)(D,{}):null}function B(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,m.A)(),o=(0,y.Ay)(e),{htmlLang:i,direction:s}=a[r];return(0,f.jsxs)(g.A,{children:[(0,f.jsx)("html",{lang:i,dir:s}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:o})]})}var $=n(67489),U=n(92303);function H(){const e=(0,U.A)();return(0,f.jsx)(g.A,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}const W=(0,p.v)(c.A);function V(){const e=function(e){if(A.has(e.pathname))return{...e,pathname:A.get(e.pathname)};if((0,p.u)(c.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}}((0,d.zy)());return(0,f.jsx)(I,{location:e,children:W})}function q(){return(0,f.jsx)($.A,{children:(0,f.jsx)(N.l,{children:(0,f.jsxs)(T.x,{children:[(0,f.jsxs)(h,{children:[(0,f.jsx)(B,{}),(0,f.jsx)(C,{}),(0,f.jsx)(z,{}),(0,f.jsx)(V,{})]}),(0,f.jsx)(H,{})]})})})}var G=n(84054);const K=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 Y=n(86921);const Q=new Set,Z=new Set,X=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,J={prefetch:e=>{if(!(e=>!X()&&!Z.has(e)&&!Q.has(e))(e))return!1;Q.add(e);const t=(0,p.u)(c.A,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,Y.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?K(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!X()&&!Z.has(e))(e)&&(Z.add(e),R(e))},ee=Object.freeze(J);function te(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,f.jsx)(i.I9,{children:t}):(0,f.jsx)(i.Kd,{children:t})}const ne=Boolean(!0);if(l.A.canUseDOM){window.docusaurus=ee;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(o.vd,{children:(0,f.jsx)(te,{children:(0,f.jsx)(q,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(ne)window.docusaurusRoot=a.hydrateRoot(e,t,{onRecoverableError:n});else{const r=a.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};R(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},26988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(96540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/nr-pies/pr-preview/pr-4/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/nr-pies/pr-preview/pr-4/docs","mainDocId":"intro/getting_started","docs":[{"id":"docusaurus/intro","path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/congratulations","path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_blog_post","path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_document","path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_page","path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/deploy_your_site","path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/markdown_features","path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_extras/manage_docs_versions","path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_extras/translate_your_site","path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site","sidebar":"tutorialSidebar"},{"id":"intro/getting_started","path":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started","sidebar":"docSidebar"},{"id":"intro/terminology","path":"/nr-pies/pr-preview/pr-4/docs/intro/terminology","sidebar":"docSidebar"},{"id":"spec/data/code","path":"/nr-pies/pr-preview/pr-4/docs/spec/data/code","sidebar":"docSidebar"},{"id":"spec/data/parcel_id","path":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id","sidebar":"docSidebar"},{"id":"spec/data/project_bundle","path":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle","sidebar":"docSidebar"},{"id":"spec/formatting","path":"/nr-pies/pr-preview/pr-4/docs/spec/formatting","sidebar":"docSidebar"},{"id":"spec/primitive_types","path":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types","sidebar":"docSidebar"},{"id":"/category/data-types","path":"/nr-pies/pr-preview/pr-4/docs/category/data-types","sidebar":"docSidebar"},{"id":"/category/tutorial---basics","path":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---basics","sidebar":"tutorialSidebar"},{"id":"/category/tutorial---extras","path":"/nr-pies/pr-preview/pr-4/docs/category/tutorial---extras","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"docSidebar":{"link":{"path":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started","label":"intro/getting_started"}},"tutorialSidebar":{"link":{"path":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro","label":"docusaurus/intro"}}}}],"breadcrumbs":true}},"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1732666197698.json","lunrIndex":"lunr-index-1732666197698.json"}}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(22654);const l=JSON.parse('{"docusaurusVersion":"3.6.3","siteVersion":"0.1.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.3"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.3"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.3"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.3"},"docusaurus-lunr-search":{"type":"package","name":"docusaurus-lunr-search","version":"3.5.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"3.6.3"},"docusaurus-json-schema-plugin":{"type":"package","name":"docusaurus-json-schema-plugin","version":"1.12.2"}}}');var u=n(74848);const c={siteConfig:a.default,siteMetadata:l,globalData:o,i18n:i,codeTranslations:s},d=r.createContext(c);function p(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},67489:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96540),a=n(38193),o=n(5260),i=n(70440),s=n(24837),l=n(53102),u=n(74848);function c(e){let{error:t,tryAgain:n}=e;return(0,u.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,u.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,u.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,u.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.rA)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,u.jsx)(l.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)(p,{children:(0,u.jsxs)(g,{fallback:()=>(0,u.jsx)(c,{error:t,tryAgain:n}),children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("title",{children:"Page Error"})}),(0,u.jsx)(s.A,{children:(0,u.jsx)(c,{error:t,tryAgain:n})})]})})}const h=e=>(0,u.jsx)(f,{...e});class g 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??h)(e)}return e??null}}},38193:(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});n(96540);var r=n(80545),a=n(74848);function o(e){return(0,a.jsx)(r.mg,{...e})}},28774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(96540),a=n(54625),o=n(70440),i=n(44586),s=n(16654),l=n(38193),u=n(63427),c=n(86025),d=n(74848);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:h,isActive:g,"data-noBrokenLinkCheck":m,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:v}=(0,i.A)(),{trailingSlash:w,baseUrl:k}=v,x=v.future.experimental_router,{withBaseUrl:S}=(0,c.hH)(),_=(0,u.A)(),E=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>E.current));const C=p||f;const A=(0,s.A)(C),T=C?.replace("pathname://","");let N=void 0!==T?(j=T,y&&(e=>e.startsWith("/"))(j)?S(j):j):void 0;var j;"hash"===x&&N?.startsWith("./")&&(N=N?.slice(1)),N&&A&&(N=(0,o.Ks)(N,{trailingSlash:w,baseUrl:k}));const O=(0,r.useRef)(!1),P=n?a.k2:a.N_,R=l.A.canUseIntersectionObserver,L=(0,r.useRef)(),I=()=>{O.current||null==N||(window.docusaurus.preload(N),O.current=!0)};(0,r.useEffect)((()=>(!R&&A&&l.A.canUseDOM&&null!=N&&window.docusaurus.prefetch(N),()=>{R&&L.current&&L.current.disconnect()})),[L,N,R,A]);const F=N?.startsWith("#")??!1,M=!b.target||"_self"===b.target,D=!N||!A||!M||F&&"hash"!==x;m||!F&&D||_.collectLink(N),b.id&&_.collectAnchor(b.id);const z={};return D?(0,d.jsx)("a",{ref:E,href:N,...C&&!A&&{target:"_blank",rel:"noopener noreferrer"},...b,...z}):(0,d.jsx)(P,{...b,onMouseEnter:I,onTouchStart:I,innerRef:e=>{E.current=e,R&&e&&A&&(L.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(L.current.unobserve(e),L.current.disconnect(),null!=N&&window.docusaurus.prefetch(N))}))})),L.current.observe(e))},to:N,...n&&{isActive:g,activeClassName:h},...z})}const f=r.forwardRef(p)},21312:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,translate:()=>l});var r=n(96540),a=n(74848);function o(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 i=n(22654);function s(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 i[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return o(s({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=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 i=s({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},17065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},16654:(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})},86025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,hH:()=>i});var r=n(96540),a=n(44586),o=n(16654);function i(){const{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,s=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:s}=e;if(!r||r.startsWith("#")||(0,o.z)(r))return r;if("hash"===s)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;const l=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+l:l}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:s}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},63427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540);n(74848);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},44586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(26988);function o(){return(0,r.useContext)(a.o)}},66588:(e,t,n)=>{"use strict";n.d(t,{P_:()=>i,kh:()=>o});var r=n(44586),a=n(17065);function o(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,r.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e,t,n){void 0===t&&(t=a.W),void 0===n&&(n={});const r=o(e),i=r?.[t];if(!i&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},92303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);const a=n(38193).A.canUseDOM?r.useLayoutEffect:r.useEffect},86921:(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 s=a?`${a}.${o}`:o;r(i)?e(i,s):t[s]=i}))}(e),t}},53102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(96540),a=n(74848);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),s=(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:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:s,children:t})}},53886:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>m,g1:()=>b});var r=n(96540),a=n(48295),o=n(17065),i=n(6342),s=n(70679),l=n(89532),u=n(74848);const c=e=>`docs-preferred-version-${e}`,d={save:(e,t,n)=>{(0,s.Wf)(c(e),{persistence:t}).set(n)},read:(e,t)=>(0,s.Wf)(c(e),{persistence:t}).get(),clear:(e,t)=>{(0,s.Wf)(c(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const f=r.createContext(null);function h(){const e=(0,a.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(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),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=h();return(0,u.jsx)(f.Provider,{value:n,children:t})}function m(e){let{children:t}=e;return(0,u.jsx)(g,{children:t})}function y(){const e=(0,r.useContext)(f);if(!e)throw new l.dV("DocsPreferredVersionContextProvider");return e}function b(e){void 0===e&&(e=o.W);const t=(0,a.ht)(e),[n,i]=y(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},60609:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,t:()=>u});var r=n(96540),a=n(89532),o=n(74848);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(s.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(s);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},26972:(e,t,n)=>{"use strict";n.d(t,{$S:()=>h,B5:()=>E,Nr:()=>f,OF:()=>k,QB:()=>_,Vd:()=>x,Y:()=>v,cC:()=>p,d1:()=>C,fW:()=>S,w8:()=>y});var r=n(96540),a=n(56347),o=n(22831),i=n(48295),s=n(99169),l=n(31682),u=n(53886),c=n(23025),d=n(60609);function p(e){const t=(0,c.r)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}function h(){const{pathname:e}=(0,a.zy)(),t=(0,d.t)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=w({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,s.ys)(e,t),m=(e,t)=>e.some((e=>y(e,t)));function y(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||m(e.items,t))}function b(e,t){switch(e.type){case"category":return y(e,t)||e.items.some((e=>b(e,t)));case"link":return!e.unlisted||y(e,t);default:return!0}}function v(e,t){return(0,r.useMemo)((()=>e.filter((e=>b(e,t)))),[e,t])}function w(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,s.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,s.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function k(){const e=(0,d.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?w({sidebarItems:e.items,pathname:t}):null}function x(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,u.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)((()=>(0,l.sb)([t,n,a].filter(Boolean))),[t,n,a])}function S(e,t){const n=x(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(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function _(e,t){const n=x(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(`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,l.sb)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,a.zy)(),r=(0,c.r)(),i=t.routes,s=i.find((e=>(0,a.B6)(n.pathname,e)));if(!s)return null;const l=s.sidebar,u=l?r.docsSidebars[l]:void 0;return{docElement:(0,o.v)(i),sidebarName:l,sidebarItems:u}}function C(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!f(e)))}},23025:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>l});var r=n(96540),a=n(89532),o=n(74848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},48295:(e,t,n)=>{"use strict";n.d(t,{zK:()=>f,vT:()=>c,Gy:()=>l,HW:()=>h,ht:()=>u,r7:()=>p,jh:()=>d});var r=n(56347),a=n(66588);const o=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){return[...e.versions].sort(((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0)).find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}(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 s={},l=()=>(0,a.kh)("docusaurus-plugin-content-docs")??s,u=e=>{try{return(0,a.P_)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function c(e){void 0===e&&(e={});const t=l(),{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 d(e){return u(e).versions}function p(e){const t=u(e);return o(t)}function f(e){const t=u(e),{pathname:n}=(0,r.zy)();return i(t,n)}function h(e){const t=u(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=o(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},76294:(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()}}},26134:(e,t,n)=>{"use strict";var r=n(71765),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t,o=globalThis.Prism;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(19700),n(55267)(`./prism-${e}`)})),delete globalThis.Prism,void 0!==o&&(globalThis.Prism=e)}(r.My)},51107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(96540);var r=n(34164),a=n(21312),o=n(6342),i=n(28774),s=n(63427);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var u=n(74848);function c(e){let{as:t,id:n,...c}=e;const d=(0,s.A)(),{navbar:{hideOnScroll:p}}=(0,o.p)();if("h1"===t||!n)return(0,u.jsx)(t,{...c,id:void 0});d.collectAnchor(n);const f=(0,a.translate)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,u.jsxs)(t,{...c,className:(0,r.A)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,u.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},43186:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(96540);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(74848);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("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"})})}},24837:(e,t,n)=>{"use strict";n.d(t,{A:()=>gt});var r=n(96540),a=n(34164),o=n(67489),i=n(1003),s=n(56347),l=n(21312),u=n(75062),c=n(74848);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,s.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,u.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const h=(0,l.translate)({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 g(e){const t=e.children??h,{containerRef:n,onClick:r}=f();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":h,children:(0,c.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var m=n(17559),y=n(14090);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,c.jsx)(g,{className:b.skipToContent})}var w=n(6342),k=n(65041);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:a,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function _(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,l.translate)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const E={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,w.p)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,a.A)(E.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const A={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){const{announcementBar:e}=(0,w.p)(),{isActive:t,close:n}=(0,k.M)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,c.jsxs)("div",{className:A.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,c.jsx)("div",{className:A.announcementBarPlaceholder}),(0,c.jsx)(C,{className:A.announcementBarContent}),o&&(0,c.jsx)(_,{onClick:n,className:A.announcementBarClose})]})}var N=n(22069),j=n(23104);var O=n(89532),P=n(75600);const R=r.createContext(null);function L(e){let{children:t}=e;const n=function(){const e=(0,N.M)(),t=(0,P.YL)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,O.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(0,c.jsx)(R.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function F(){const e=(0,r.useContext)(R);if(!e)throw new O.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,P.YL)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:I(o)})),[a,o,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=F();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var D=n(95293),z=n(92303);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("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 $(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("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 U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function H(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,z.A)(),s=(0,l.translate)({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"===r?(0,l.translate)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.translate)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,a.A)(U.toggle,t),children:(0,c.jsxs)("button",{className:(0,a.A)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite","aria-pressed":"dark"===r?"true":"false",children:[(0,c.jsx)(B,{className:(0,a.A)(U.toggleIcon,U.lightToggleIcon)}),(0,c.jsx)($,{className:(0,a.A)(U.toggleIcon,U.darkToggleIcon)})]})})}const W=r.memo(H),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function q(e){let{className:t}=e;const n=(0,w.p)().navbar.style,r=(0,w.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,D.G)();return r?null:(0,c.jsx)(W,{className:t,buttonClassName:"dark"===n?V.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var G=n(23465);function K(){return(0,c.jsx)(G.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Y(){const e=(0,N.M)();return(0,c.jsx)("button",{type:"button","aria-label":(0,l.translate)({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(),children:(0,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function Q(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(K,{}),(0,c.jsx)(q,{className:"margin-right--md"}),(0,c.jsx)(Y,{})]})}var Z=n(28774),X=n(86025),J=n(16654);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(43186);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...u}=e;const d=(0,X.Ay)(r),p=(0,X.Ay)(t),f=(0,X.Ay)(a,{forcePrependBaseUrl:!0}),h=o&&a&&!(0,J.A)(a),g=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[o,h&&(0,c.jsx)(te.A,{...s&&{width:12,height:12}})]})};return a?(0,c.jsx)(Z.A,{href:l?f:a,...u,...g}):(0,c.jsx)(Z.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...u,...g})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,c.jsx)(ne,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,a.A)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,c.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(41422),se=n(99169),le=n(44586);const ue="dropdownNavbarItemMobile_S0Fm";function ce(e,t){return e.some((e=>function(e,t){return!!(0,se.ys)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const l=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,c.jsxs)("div",{ref:l,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:s.to?void 0:"#",className:(0,a.A)("navbar__link",o),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))},children:s.children??s.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Oe,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:o,onClick:i,...l}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,le.A)(),{pathname:t}=(0,s.zy)();return t.replace(e,"/")}(),d=ce(t,u),{collapsed:p,toggleCollapsed:f,setCollapsed:h}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&h(!d)}),[u,d,h]),(0,c.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,c.jsx)(ne,{role:"button",className:(0,a.A)(ue,"menu__link menu__link--sublist menu__link--sublist-caret",n),...l,onClick:e=>{e.preventDefault(),f()},children:l.children??l.label}),(0,c.jsx)(ie.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Oe,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,c.jsx)(r,{...n})}var he=n(32131);function ge(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("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 me="iconLanguage_nlXk";function ye(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ye(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const be=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=ye(e))&&(r&&(r+=" "),r+=t);return r};var ve=n(66588),we=n(689),ke=n.n(we);function xe(){const e=(0,s.zy)(),t=(0,s.W6)(),{siteConfig:{baseUrl:n}}=(0,le.A)(),[a,o]=(0,r.useState)({wordToHighlight:"",isTitleSuggestion:!1,titleText:""});return(0,r.useEffect)((()=>{if(!e.state?.highlightState||0===e.state.highlightState.wordToHighlight.length)return;o(e.state.highlightState);const{highlightState:n,...r}=e.state;t.replace({...e,state:r})}),[e.state?.highlightState,t,e]),(0,r.useEffect)((()=>{if(0===a.wordToHighlight.length)return;const e=document.getElementsByTagName("article")[0]??document.getElementsByTagName("main")[0];if(!e)return;const t=new(ke())(e),n={ignoreJoiners:!0};return t.mark(a.wordToHighlight,n),()=>t.unmark(n)}),[a,n]),null}const Se=e=>{const t=(0,r.useRef)(!1),a=(0,r.useRef)(null),[o,i]=(0,r.useState)(!1),l=(0,s.W6)(),{siteConfig:u={}}=(0,le.A)(),d=(u.plugins||[]).find((e=>Array.isArray(e)&&"string"==typeof e[0]&&e[0].includes("docusaurus-lunr-search"))),p=(0,z.A)(),{baseUrl:f}=u,h=d&&d[1]?.assetUrl||f,g=(0,ve.P_)("docusaurus-lunr-search"),m=()=>{t.current||(Promise.all([fetch(`${h}${g.fileNames.searchDoc}`).then((e=>e.json())),fetch(`${h}${g.fileNames.lunrIndex}`).then((e=>e.json())),Promise.all([n.e(8591),n.e(8577)]).then(n.bind(n,15765)),Promise.all([n.e(1869),n.e(9278)]).then(n.bind(n,89278))]).then((e=>{let[t,n,{default:r}]=e;const{searchDocs:a,options:o}=t;a&&0!==a.length&&(((e,t,n,r)=>{new n({searchDocs:e,searchIndex:t,baseUrl:f,inputSelector:"#search_input_react",handleSelected:(e,t,n)=>{const a=n.url||"/";document.createElement("a").href=a,e.setVal(""),t.target.blur();let o="";if(r.highlightResult)try{const e=(n.text||n.subcategory||n.title).match(new RegExp("<span.+span>\\w*","g"));if(e&&e.length>0){const t=document.createElement("div");t.innerHTML=e[0],o=t.textContent}}catch(i){console.log(i)}l.push(a,{highlightState:{wordToHighlight:o}})},maxHits:r.maxHits})})(a,n,r,o),i(!0))})),t.current=!0)},y=(0,r.useCallback)((t=>{a.current.contains(t.target)||a.current.focus(),e.handleSearchBarToggle&&e.handleSearchBarToggle(!e.isSearchBarExpanded)}),[e.isSearchBarExpanded]);let b;return p&&(m(),b=window.navigator.platform.startsWith("Mac")?"Search \u2318+K":"Search Ctrl+K"),(0,r.useEffect)((()=>{e.autoFocus&&o&&a.current.focus()}),[o]),(0,c.jsxs)("div",{className:"navbar__search",children:[(0,c.jsx)("span",{"aria-label":"expand searchbar",role:"button",className:be("search-icon",{"search-icon-hidden":e.isSearchBarExpanded}),onClick:y,onKeyDown:y,tabIndex:0}),(0,c.jsx)("input",{id:"search_input_react",type:"search",placeholder:o?b:"Loading...","aria-label":"Search",className:be("navbar__search-input",{"search-bar-expanded":e.isSearchBarExpanded},{"search-bar":!e.isSearchBarExpanded}),onClick:m,onMouseOver:m,onFocus:y,onBlur:y,ref:a,disabled:!o}),(0,c.jsx)(xe,{})]},"search-box")},_e={navbarSearchContainer:"navbarSearchContainer_Bca1"};function Ee(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,a.A)(n,_e.navbarSearchContainer),children:t})}var Ce=n(48295),Ae=n(26972);var Te=n(53886);function Ne(e,t){return t.alternateDocVersions[e.name]??function(e){return e.docs.find((t=>t.id===e.mainDocId))}(e)}const je={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,le.A)(),p=(0,he.o)(),{search:f,hash:h}=(0,s.zy)(),g=[...n,...u.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${h}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],m=t?(0,l.translate)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(fe,{...o,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(ge,{className:me}),m]}),items:g})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(Ee,{className:n,children:(0,c.jsx)(Se,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,c.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Ce.zK)(r),i=(0,Ae.QB)(t,r),s=o?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>s||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Ce.zK)(r),i=(0,Ae.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,Ae.Vd)(r)[0],i=t??o.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,c.jsx)(oe,{...a,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:u,hash:d}=(0,s.zy)(),p=(0,Ce.zK)(n),f=(0,Ce.jh)(n),{savePreferredVersionName:h}=(0,Te.g1)(n),g=[...a,...f.map((function(e){const t=Ne(e,p);return{label:e.label,to:`${t.path}${u}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>h(e.name)}})),...o],m=(0,Ae.Vd)(n)[0],y=t&&g.length>1?(0,l.translate)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):m.label,b=t&&g.length>1?void 0:Ne(m,p).path;return g.length<=1?(0,c.jsx)(oe,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(fe,{...i,mobile:t,label:y,to:b,items:g,isActive:r?()=>!1:void 0})}};function Oe(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=je[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,c.jsx)(a,{...n})}function Pe(){const e=(0,N.M)(),t=(0,w.p)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Oe,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Re(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(l.default,{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)",children:"\u2190 Back to main menu"})})}function Le(){const e=0===(0,w.p)().navbar.items.length,t=F();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(Re,{onClick:()=>t.hide()}),t.content]})}function Ie(){const e=(0,N.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?(0,c.jsx)(M,{header:(0,c.jsx)(Q,{}),primaryMenu:(0,c.jsx)(Pe,{}),secondaryMenu:(0,c.jsx)(Le,{})}):null}const Fe={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Me(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function De(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.p)(),i=(0,N.M)(),{navbarRef:s,isNavbarVisible:d}=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,j.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 s=r?.scrollY,l=document.documentElement.scrollHeight-o.current,u=window.innerHeight;s&&i>=s?n(!1):i+u<l&&n(!0)})),(0,u.$)((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(0,c.jsxs)("nav",{ref:s,"aria-label":(0,l.translate)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[Fe.navbarHideable,!d&&Fe.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Me,{onClick:i.toggle}),(0,c.jsx)(Ie,{})]})}var ze=n(12181);const Be="right";function $e(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Ue(){const{toggle:e,shown:t}=(0,N.M)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,l.translate)({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",children:(0,c.jsx)($e,{})})}const He={colorModeToggle:"colorModeToggle_DEke"};function We(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(ze.k2,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,c.jsx)(Oe,{...e})},t)))})}function Ve(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function qe(){const e=(0,N.M)(),t=(0,w.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Be)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,c.jsx)(Ve,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(Ue,{}),(0,c.jsx)(K,{}),(0,c.jsx)(We,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(We,{items:r}),(0,c.jsx)(q,{className:He.colorModeToggle}),!a&&(0,c.jsx)(Ee,{children:(0,c.jsx)(Se,{})})]})})}function Ge(){return(0,c.jsx)(De,{children:(0,c.jsx)(qe,{})})}function Ke(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,s=(0,X.Ay)(n),l=(0,X.Ay)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Z.A,{className:"footer__link-item",...r?{href:o?l:r}:{to:s},...i,children:[a,r&&!(0,J.A)(r)&&(0,c.jsx)(te.A,{})]})}function Ye(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(Ke,{item:t})},t.href??t.to)}function Qe(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(Ye,{item:e},t)))})]})}function Ze(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(Qe,{column:e},t)))})}function Xe(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Je(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(Ke,{item:t})}function et(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(Je,{item:e}),t.length!==n+1&&(0,c.jsx)(Xe,{})]},n)))})})}function tt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(Ze,{columns:t}):(0,c.jsx)(et,{links:t})}var nt=n(21122);const rt="footerLogoLink_BH7S";function at(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(nt.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function ot(e){let{logo:t}=e;return t.href?(0,c.jsx)(Z.A,{href:t.href,className:rt,target:t.target,children:(0,c.jsx)(at,{logo:t})}):(0,c.jsx)(at,{logo:t})}function it(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function st(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,c.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function lt(){const{footer:e}=(0,w.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,c.jsx)(st,{style:a,links:n&&n.length>0&&(0,c.jsx)(tt,{links:n}),logo:r&&(0,c.jsx)(ot,{logo:r}),copyright:t&&(0,c.jsx)(it,{copyright:t})})}const ut=r.memo(lt),ct=(0,O.fM)([D.a,k.o,j.Tv,Te.VQ,i.Jx,function(e){let{children:t}=e;return(0,c.jsx)(P.y_,{children:(0,c.jsx)(N.e,{children:(0,c.jsx)(L,{children:t})})})}]);function dt(e){let{children:t}=e;return(0,c.jsx)(ct,{children:t})}var pt=n(51107);function ft(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(pt.A,{as:"h1",className:"hero__title",children:(0,c.jsx)(l.default,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(ze.a2,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(ze.bq,{error:t})})]})})})}const ht={mainWrapper:"mainWrapper_z2l0"};function gt(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:l}=e;return(0,y.J)(),(0,c.jsxs)(dt,{children:[(0,c.jsx)(i.be,{title:s,description:l}),(0,c.jsx)(v,{}),(0,c.jsx)(T,{}),(0,c.jsx)(Ge,{}),(0,c.jsx)("div",{id:d,className:(0,a.A)(m.G.wrapper.main,ht.mainWrapper,r),children:(0,c.jsx)(o.A,{fallback:e=>(0,c.jsx)(ft,{...e}),children:t})}),!n&&(0,c.jsx)(ut,{})]})}},23465:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(96540);var r=n(28774),a=n(86025),o=n(44586),i=n(6342),s=n(21122),l=n(74848);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Ay)(t.src),dark:(0,a.Ay)(t.srcDark||t.src)},i=(0,l.jsx)(s.A,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function c(e){const{siteConfig:{title:t}}=(0,o.A)(),{navbar:{title:n,logo:s}}=(0,i.p)(),{imageClassName:c,titleClassName:d,...p}=e,f=(0,a.Ay)(s?.href||"/"),h=n?"":t,g=s?.alt??h;return(0,l.jsxs)(r.A,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(u,{logo:s,alt:g,imageClassName:c}),null!=n&&(0,l.jsx)("b",{className:d,children:n})]})}},41463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(96540);var r=n(5260),a=n(74848);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},21122:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(96540),a=n(34164),o=n(92303),i=n(95293);const s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var l=n(74848);function u(e){let{className:t,children:n}=e;const u=(0,o.A)(),{colorMode:c}=(0,i.G)();return(0,l.jsx)(l.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.A)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:o},e)}))})}function c(e){const{sources:t,className:n,alt:r,...a}=e;return(0,l.jsx)(u,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,l.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},41422:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>u});var r=n(96540),a=n(38193),o=n(205),i=n(53109),s=n(74848);const l="ease-in-out";function u(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??l}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return p(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function h(e){if(!a.A.canUseDOM)return e?c:d}function g(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return f({collapsibleRef:c,collapsed:n,animation:o}),(0,s.jsx)(t,{ref:c,style:u?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(c.current,n),i?.(n))},className:l,children:a})}function m(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[l,u]=(0,r.useState)(t);return(0,o.A)((()=>{t||i(!0)}),[t]),(0,o.A)((()=>{a&&u(t)}),[a,t]),a?(0,s.jsx)(g,{...n,collapsed:l}):null}function y(e){let{lazy:t,...n}=e;const r=t?m:g;return(0,s.jsx)(r,{...n})}},65041:(e,t,n)=>{"use strict";n.d(t,{M:()=>g,o:()=>h});var r=n(96540),a=n(92303),o=n(70679),i=n(89532),s=n(6342),l=n(74848);const u=(0,o.Wf)("docusaurus.announcement.dismiss"),c=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===u.get(),p=e=>u.set(String(e)),f=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(f.Provider,{value:n,children:t})}function g(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},95293:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>m});var r=n(96540),a=n(38193),o=n(89532),i=n(70679),s=n(6342),l=n(74848);const u=r.createContext(void 0),c="theme",d=(0,i.Wf)(c),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,h=e=>a.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),g=e=>{d.set(f(e))};function m(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[a,o]=(0,r.useState)(h(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&g(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.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!==c)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(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||l.current?l.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===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[a,i])}();return(0,l.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},22069:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(96540),a=n(75600),o=n(24581),i=n(57485),s=n(6342),l=n(89532),u=n(74848);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[l,u]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(l)return u(!1),!1}));const c=(0,r.useCallback)((()=>{u((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&u(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:l})),[e,n,c,l])}function p(e){let{children:t}=e;const n=d();return(0,u.jsx)(c.Provider,{value:n,children:t})}function f(){const e=r.useContext(c);if(void 0===e)throw new l.dV("NavbarMobileSidebarProvider");return e}},75600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>u,YL:()=>l,y_:()=>s});var r=n(96540),a=n(89532),o=n(74848);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,s]=o,l=(0,a.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},14090:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(96540);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)}}),[])}},24581:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(96540),a=n(38193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!a.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},17559:(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",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-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",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",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:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},53109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},12181:(e,t,n)=>{"use strict";n.d(t,{bq:()=>c,MN:()=>u,a2:()=>l,k2:()=>d});var r=n(96540),a=n(21312),o=n(70440);const i={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};var s=n(74848);function l(e){return(0,s.jsx)("button",{type:"button",...e,children:(0,s.jsx)(a.default,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function u(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{className:i.errorBoundaryFallback,children:[(0,s.jsx)("p",{children:t.message}),(0,s.jsx)(l,{onClick:n})]})}function c(e){let{error:t}=e;const n=(0,o.rA)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{className:i.errorBoundaryError,children:n})}class d extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}},57485:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,aZ:()=>l});var r=n(96540),a=n(56347),o=n(89532);function i(e){!function(e){const t=(0,a.W6)(),n=(0,o._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){const t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}function l(e){return s((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},31682:(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,{XI:()=>r,sb:()=>a})},1003:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>d,Jx:()=>h});var r=n(96540),a=n(34164),o=n(5260),i=n(53102);function s(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(86025),u=n(44586);var c=n(74848);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const s=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,l.hH)(),p=a?d(a,{absolute:!0}):void 0;return(0,c.jsxs)(o.A,{children:[t&&(0,c.jsx)("title",{children:s}),t&&(0,c.jsx)("meta",{property:"og:title",content:s}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,c.jsx)("meta",{property:"og:image",content:p}),p&&(0,c.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),s=(0,a.A)(i,t);return(0,c.jsxs)(p.Provider,{value:s,children:[(0,c.jsx)(o.A,{children:(0,c.jsx)("html",{className:s})}),n]})}function h(e){let{children:t}=e;const n=s(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(f,{className:(0,a.A)(r,o),children:t})}},89532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>u,ZC:()=>s,_q:()=>i,dV:()=>l,fM:()=>c});var r=n(96540),a=n(205),o=n(74848);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,a.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 u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},99169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(96540),a=n(35947),o=n(44586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){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])}},23104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>f,Tv:()=>c,a_:()=>h,gk:()=>g});var r=n(96540),a=n(38193),o=n(92303),i=n(205),s=n(89532),l=n(74848);const u=r.createContext(void 0);function c(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(0,l.jsx)(u.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(u);if(null==e)throw new s.dV("ScrollControllerProvider");return e}const p=()=>a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(p()),o=(0,s._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=p();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 h(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.A)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function g(){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?.()}}},70679:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>c,Dv:()=>d});var r=n(96540);const a=JSON.parse('{"N":"localStorage","M":""}'),o=a.N;function i(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function s(e){if(void 0===e&&(e=o),"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,l||(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),l=!0),null}var t}let l=!1;const u={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function c(e,t){const n=`${e}${a.M}`;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,listen:t}}(n);const r=s(t?.persistence);return null===r?u:{get:()=>{try{return r.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=r.getItem(n);r.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:r})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=r.getItem(n);r.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:r})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===r&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}function d(e,t){const n=(0,r.useRef)((()=>null===e?u:c(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},32131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(44586),a=n(56347),o=n(70440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.A)(),{pathname:l}=(0,a.zy)(),u=(0,o.Ks)(l,{trailingSlash:n,baseUrl:e}),c=s===i?e:e.replace(`/${s}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${c}`:`${c}${e}/`}(n)}${d}`}}}},75062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(96540),a=n(56347),o=n(89532);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(44586);function a(){return(0,r.A)().siteConfig.themeConfig}},12983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(l=i,u=n,u?a(l):o(l));var l,u;return e.replace(i,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;const r=n(42566);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},80253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){if(t.cause)return[t,...e(t.cause)];return[t]}},70440:(e,t,n)=>{"use strict";t.rA=t.Ks=void 0;const r=n(31635);var a=n(12983);Object.defineProperty(t,"Ks",{enumerable:!0,get:function(){return r.__importDefault(a).default}});var o=n(42566);var i=n(80253);Object.defineProperty(t,"rA",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},42566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){if(""===t)return e;return e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},31513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>w,TM:()=>C,yJ:()=>f,sC:()=>T,AO:()=>p});var r=n(58168);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("/")||[],s=e&&a(e),l=t&&a(t),u=s||l;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,p=i.length;p>=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var s=n(11561);function l(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 p(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 f(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(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}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 h(){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 g=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),g||(0,s.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,x=void 0===k?m:k,S=i.keyLength,_=void 0===S?6:S,E=e.basename?d(l(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return E&&(o=c(o,E)),f(o,r,n)}function A(){return Math.random().toString(36).substr(2,_)}var T=h();function N(e){(0,r.A)($,e),$.length=n.length,T.notifyListeners($.location,$.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||R(C(e.state))}function O(){R(C(v()))}var P=!1;function R(e){if(P)P=!1,N();else{T.confirmTransitionTo(e,"POP",x,(function(t){t?N({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&&(P=!0,M(a))}(e)}))}}var L=C(v()),I=[L.key];function F(e){return E+p(e)}function M(e){n.go(e)}var D=0;function z(e){1===(D+=e)&&1===e?(window.addEventListener(y,j),o&&window.addEventListener(b,O)):0===D&&(window.removeEventListener(y,j),o&&window.removeEventListener(b,O))}var B=!1;var $={length:n.length,action:"POP",location:L,createHref:F,push:function(e,t){var r="PUSH",o=f(e,t,A(),$.location);T.confirmTransitionTo(o,r,x,(function(e){if(e){var t=F(o),i=o.key,s=o.state;if(a)if(n.pushState({key:i,state:s},null,t),w)window.location.href=t;else{var l=I.indexOf($.location.key),u=I.slice(0,l+1);u.push(o.key),I=u,N({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,A(),$.location);T.confirmTransitionTo(o,r,x,(function(e){if(e){var t=F(o),i=o.key,s=o.state;if(a)if(n.replaceState({key:i,state:s},null,t),w)window.location.replace(t);else{var l=I.indexOf($.location.key);-1!==l&&(I[l]=o.key),N({action:r,location:o})}else window.location.replace(t)}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return B||(z(1),B=!0),function(){return B&&(B=!1,z(-1)),t()}},listen:function(e){var t=T.appendListener(e);return z(1),function(){z(-1),t()}}};return $}var k="hashchange",x={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:l},slash:{encodePath:l,decodePath:l}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function _(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function E(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),g||(0,s.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?m:a,i=n.hashType,u=void 0===i?"slash":i,y=e.basename?d(l(e.basename)):"",b=x[u],v=b.encodePath,w=b.decodePath;function C(){var e=w(_());return y&&(e=c(e,y)),f(e)}var A=h();function T(e){(0,r.A)(B,e),B.length=t.length,A.notifyListeners(B.location,B.action)}var N=!1,j=null;function O(){var e,t,n=_(),r=v(n);if(n!==r)E(r);else{var a=C(),i=B.location;if(!N&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(j===p(a))return;j=null,function(e){if(N)N=!1,T();else{var t="POP";A.confirmTransitionTo(e,t,o,(function(n){n?T({action:t,location:e}):function(e){var t=B.location,n=I.lastIndexOf(p(t));-1===n&&(n=0);var r=I.lastIndexOf(p(e));-1===r&&(r=0);var a=n-r;a&&(N=!0,F(a))}(e)}))}}(a)}}var P=_(),R=v(P);P!==R&&E(R);var L=C(),I=[p(L)];function F(e){t.go(e)}var M=0;function D(e){1===(M+=e)&&1===e?window.addEventListener(k,O):0===M&&window.removeEventListener(k,O)}var z=!1;var B={length:t.length,action:"POP",location:L,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(y+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,B.location);A.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(y+t);if(_()!==a){j=t,function(e){window.location.hash=e}(a);var o=I.lastIndexOf(p(B.location)),i=I.slice(0,o+1);i.push(t),I=i,T({action:n,location:r})}else T()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,B.location);A.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(y+t);_()!==a&&(j=t,E(a));var o=I.indexOf(p(B.location));-1!==o&&(I[o]=t),T({action:n,location:r})}}))},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||(D(1),z=!0),function(){return z&&(z=!1,D(-1)),t()}},listen:function(e){var t=A.appendListener(e);return D(1),function(){D(-1),t()}}};return B}function A(e,t,n){return Math.min(Math.max(e,t),n)}function T(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,u=void 0===l?6:l,c=h();function d(e){(0,r.A)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function g(){return Math.random().toString(36).substr(2,u)}var m=A(s,0,o.length-1),y=o.map((function(e){return f(e,void 0,"string"==typeof e?g():e.key||g())})),b=p;function v(e){var t=A(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:y.length,action:"POP",location:y[m],index:m,entries:y,createHref:b,push:function(e,t){var r="PUSH",a=f(e,t,g(),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=f(e,t,g(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(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(44363),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},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=f(n);a&&a!==h&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var s=l(t),g=l(n),m=0;m<i.length;++m){var y=i[m];if(!(o[y]||r&&r[y]||g&&g[y]||s&&s[y])){var b=p(n,y);try{u(t,y,b)}catch(v){}}}}return t}},20311:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var l;if(void 0===t)l=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,s],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},64634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},689:function(e){e.exports=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=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},a=function(){function e(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw new Error("iframe inaccessible")}catch(o){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(s){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(r){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,(function(){return!0}),(function(e){r++,n.waitForIframes(e.querySelector("html"),(function(){--r||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);var u=function(){--s<=0&&o(l)};s||u(),i.forEach((function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,(function(e){n(t)&&(l++,r(e)),u()}),u)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return r.forEach((function(e,t){e.val===n&&(a=t,o=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==a||o?!1===a||o||(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach((function(e){e.handled||a.getIframeContents(e.val,(function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){for(var o=this,i=this.createIterator(t,e,r),s=[],l=[],u=void 0,c=void 0,d=function(){var e=o.getIteratorNode(i);return c=e.prevNode,u=e.node};d();)this.iframes&&this.forEachIframe(t,(function(e){return o.checkIframeFilter(u,c,e,s)}),(function(t){o.createInstanceOnIframe(t).forEachNode(e,(function(e){return l.push(e)}),r)})),l.push(u);l.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;i||a(),o.forEach((function(o){var s=function(){r.iterateThroughNodes(e,o,t,n,(function(){--i<=0&&a()}))};r.iframes?r.waitForIframes(o,s):s()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var a=!1;return n.every((function(t){return!r.call(e,t)||(a=!0,!1)})),a}return!1}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(s)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(s)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":"\x01"}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":"\x02"}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105","A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010d","C\xc7\u0106\u010c","d\u0111\u010f","D\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119","E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012b","I\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014d","O\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159","R\u0158","s\u0161\u015b\u0219\u015f","S\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163","T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016b","U\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xff","Y\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017a","Z\u017d\u017b\u0179"]:["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010dC\xc7\u0106\u010c","d\u0111\u010fD\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012bI\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014dO\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159R\u0158","s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016bU\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xffY\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017aZ\u017d\u017b\u0179"],r=[];return e.split("").forEach((function(a){n.every((function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",r=this.opt.accuracy,a="string"==typeof r?r:r.value,o="string"==typeof r?[]:r.limiters,i="";switch(o.forEach((function(e){i+="|"+t.escapeStr(e)})),a){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(i="\\s"+(i||this.escapeStr(n)))+"]*"+e+"[^"+i+"]*)";case"exactly":return"(^|\\s"+i+")("+e+")(?=$|\\s"+i+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,s=parseInt(e.start,10)-i;return(r=(s=s>o?o:s)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),s<0||r-s<0||s>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:r})}))}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every((function(i,s){var l=e.nodes[s+1];if(void 0===l||l.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),p=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+p,e.nodes.forEach((function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=c),e.nodes[n].end-=c)})),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];)if(n(a[i],t)){var s=a.index;if(0!==i)for(var l=1;l<i;l++)s+=a[l].length;t=o.wrapRangeInTextNode(t,s,s+a[i].length),r(t.previousSibling),e.lastIndex=0}})),a()}))}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes((function(t){for(var s=void 0;null!==(s=e.exec(t.value))&&""!==s[i];){var l=s.index;if(0!==i)for(var u=1;u<i;u++)l+=s[u].length;var c=l+s[i].length;o.wrapRangeInMappedTextNode(t,l,c,(function(e){return n(s[i],e)}),(function(t,n){e.lastIndex=n,r(t)}))}a()}))}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var a=this;this.getTextNodes((function(o){var i=o.value.length;e.forEach((function(e,r){var s=a.checkWhitespaceRanges(e,i,o.value),l=s.start,u=s.end;s.valid&&a.wrapRangeInMappedTextNode(o,l,u,(function(n){return t(n,e,o.value.substring(l,u),r)}),(function(t){n(t,e)}))})),r()}))}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,a="wrapMatches",o=function(e){r++,n.opt.each(e)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(function(e,t){return n.opt.filter(t,e,r)}),o,(function(){0===r&&n.opt.noMatch(e),n.opt.done(r)}))}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,a="wrapMatches",o=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=o.keywords,s=o.length,l=this.opt.caseSensitive?"":"i",u=function e(t){var o=new RegExp(n.createRegExp(t),"gm"+l),u=0;n.log('Searching with expression "'+o+'"'),n[a](o,1,(function(e,a){return n.opt.filter(a,t,r,u)}),(function(e){u++,r++,n.opt.each(e)}),(function(){0===u&&n.opt.noMatch(t),i[s-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===s?this.opt.done(r):u(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(function(e,t,r,a){return n.opt.filter(e,t,r,a)}),(function(e,t){r++,n.opt.each(e,t)}),(function(){n.opt.done(r)}))):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(function(e){t.unwrapMatches(e)}),(function(e){var r=a.matches(e,n),o=t.matchesExclude(e);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new a(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();function i(e){var t=this,n=new o(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}return i}()},10119:(e,t,n)=>{"use strict";n.r(t)},51043:(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,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(u,i(e,c,d)),1===e?(l(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){l(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),s=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(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&&f(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 s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=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:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(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)},35302:(e,t,n)=>{var r=n(64634);e.exports=h,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,s=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(s,f),s=f+d.length,p)l+=p[1];else{var h=e[s],g=n[2],m=n[3],y=n[4],b=n[5],v=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=g&&null!=h&&h!==g,x="+"===v||"*"===v,S="?"===v||"*"===v,_=g||u,E=y||b,C=g||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:m||o++,prefix:g||"",delimiter:_,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:E?c(E):w?".*":i(_,C)})}}return s<e.length&&(l+=e.substr(s)),l&&r.push(l),r}function i(e,t){return!t||t.indexOf(e)>-1?"[^"+u(e)+"]+?":u(t)+"|(?:(?!"+u(t)+")[^"+u(e)+"])+?"}function s(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+")$",p(t)));return function(t,a){for(var o="",i=t||{},l=(a||{}).pretty?s:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,p=i[c.name];if(null==p){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(p)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=l(p[f]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===f?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!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 p(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="",s=0;s<e.length;s++){var l=e[s];if("string"==typeof l)i+=u(l);else{var c=u(l.prefix),f="(?:"+l.pattern+")";t.push(l),l.repeat&&(f+="(?:"+c+f+")*"),i+=f=l.optional?l.partial?c+"("+f+")?":"(?:"+c+"("+f+"))?":c+"("+f+")"}}var h=u(n.delimiter||"/"),g=i.slice(-h.length)===h;return a||(i=(g?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=o?"$":a&&g?"":"(?="+h+"|$)",d(new RegExp("^"+i,p(n)),t)}function h(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(h(e[a],t,n).source);return d(new RegExp("(?:"+r.join("|")+")",p(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},19700:()=>{!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,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=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(s){for(var l=0;l<s.length&&!(a>=o.length);l++){var u=s[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),h=p.indexOf(f);if(h>-1){++a;var g=p.substring(0,h),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=p.substring(h+f.length),b=[];g&&b.push.apply(b,i([g])),b.push(m),y&&b.push.apply(b,i([y])),"string"==typeof u?s.splice.apply(s,[l,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return s}(n.tokens)}}}})}(Prism)},4201:()=>{Prism.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}},55267:(e,t,n)=>{var r={"./prism-mermaid":4201};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=55267},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 s=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 s.name="Invariant Violation",s}}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"},22551:(e,t,n)=>{"use strict";var r=n(96540),a=n(69982);function o(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 i=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[: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]*$/,f={},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 m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[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];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[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){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=m.hasOwnProperty(t)?m[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!!d.call(h,e)||!d.call(f,e)&&(p.test(e)?h[e]=!0:(f[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(y,b);m[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(y,b);m[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(y,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),A=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=L&&e[L]||e["@@iterator"])?e:null}var F,M=Object.assign;function D(e){if(void 0===F)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var z=!1;function B(e,t){if(!e||z)return"";z=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var a=u.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var l="\n"+a[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function $(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function U(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 S:return"Fragment";case x:return"Portal";case E:return"Profiler";case _:return"StrictMode";case N:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(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=V(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 G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(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 Y(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(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 Z(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Z(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")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(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 ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(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 re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function oe(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 ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(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 le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.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 ce(e,t)}))}:ce);function pe(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 fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(fe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ye=M({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 be(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(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}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,_e=null;function Ee(e){if(e=va(e)){if("function"!=typeof xe)throw Error(o(280));var t=e.stateNode;t&&(t=ka(t),xe(e.stateNode,e.type,t))}}function Ce(e){Se?_e?_e.push(e):_e=[e]:Se=e}function Ae(){if(Se){var e=Se,t=_e;if(_e=Se=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Te(e,t){return e(t)}function Ne(){}var je=!1;function Oe(e,t,n){if(je)return e(t,n);je=!0;try{return Te(e,t,n)}finally{je=!1,(null!==Se||null!==_e)&&(Ne(),Ae())}}function Pe(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(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(o(231,t,typeof n));return n}var Re=!1;if(c)try{var Le={};Object.defineProperty(Le,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Le,Le),window.removeEventListener("test",Le,Le)}catch(ce){Re=!1}function Ie(e,t,n,r,a,o,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Fe=!1,Me=null,De=!1,ze=null,Be={onError:function(e){Fe=!0,Me=e}};function $e(e,t,n,r,a,o,i,s,l){Fe=!1,Me=null,Ie.apply(Be,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(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 We(e){if(Ue(e)!==e)throw Error(o(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return We(a),e;if(i===r)return We(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ge=a.unstable_scheduleCallback,Ke=a.unstable_cancelCallback,Ye=a.unstable_shouldYield,Qe=a.unstable_requestPaint,Ze=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~a;0!==s?r=dt(s):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&!(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ut;return!(4194240&(ut<<=1))&&(ut=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var kt,xt,St,_t,Et,Ct=!1,At=[],Tt=null,Nt=null,jt=null,Ot=new Map,Pt=new Map,Rt=[],Lt="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 It(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Nt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Ot.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function Ft(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Mt(e){var t=ba(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Et(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function zt(e,t,n){Dt(e)&&n.delete(t)}function Bt(){Ct=!1,null!==Tt&&Dt(Tt)&&(Tt=null),null!==Nt&&Dt(Nt)&&(Nt=null),null!==jt&&Dt(jt)&&(jt=null),Ot.forEach(zt),Pt.forEach(zt)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Bt)))}function Ut(e){function t(t){return $t(t,e)}if(0<At.length){$t(At[0],e);for(var n=1;n<At.length;n++){var r=At[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&$t(Tt,e),null!==Nt&&$t(Nt,e),null!==jt&&$t(jt,e),Ot.forEach(t),Pt.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Rt.shift()}var Ht=w.ReactCurrentBatchConfig,Wt=!0;function Vt(e,t,n,r){var a=vt,o=Ht.transition;Ht.transition=null;try{vt=1,Gt(e,t,n,r)}finally{vt=a,Ht.transition=o}}function qt(e,t,n,r){var a=vt,o=Ht.transition;Ht.transition=null;try{vt=4,Gt(e,t,n,r)}finally{vt=a,Ht.transition=o}}function Gt(e,t,n,r){if(Wt){var a=Yt(e,t,n,r);if(null===a)Wr(e,t,r,Kt,n),It(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Tt=Ft(Tt,e,t,n,r,a),!0;case"dragenter":return Nt=Ft(Nt,e,t,n,r,a),!0;case"mouseover":return jt=Ft(jt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Ot.set(o,Ft(Ot.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Pt.set(o,Ft(Pt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Lt.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&kt(o),null===(o=Yt(e,t,n,r))&&Wr(e,t,r,Kt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Kt=null;function Yt(e,t,n,r){if(Kt=null,null!==(e=ba(e=ke(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Zt?Zt.value:Zt.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 Jt=a.slice(e,1<t?1-t:void 0)}function tn(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 nn(){return!0}function rn(){return!1}function an(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)?nn:rn,this.isPropagationStopped=rn,this}return M(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=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=M({},un,{view:0,detail:0}),pn=an(dn),fn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,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!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=an(fn),gn=an(M({},fn,{dataTransfer:0})),mn=an(M({},dn,{relatedTarget:0})),yn=an(M({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=M({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(bn),wn=an(M({},un,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function En(){return _n}var Cn=M({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=an(Cn),Tn=an(M({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=an(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),jn=an(M({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),On=M({},fn,{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}),Pn=an(On),Rn=[9,13,27,32],Ln=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var Fn=c&&"TextEvent"in window&&!In,Mn=c&&(!Ln||In&&8<In&&11>=In),Dn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function Vn(e,t,n,r){Ce(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Gn=null;function Kn(e){Dr(e,0)}function Yn(e){if(G(wa(e)))return e}function Qn(e,t){if("change"===e)return t}var Zn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Gn=qn=null)}function nr(e){if("value"===e.propertyName&&Yn(Gn)){var t=[];Vn(t,Gn,e,ke(e)),Oe(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Gn)}function or(e,t){if("click"===e)return Yn(t)}function ir(e,t){if("input"===e||"change"===e)return Yn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(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++){var a=n[r];if(!d.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(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=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function fr(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)}function hr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,br=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==mr||mr!==K(r)||("selectionStart"in(r=mr)&&fr(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},br&&lr(br,r)||(br=r,0<(r=qr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},_r={};function Er(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return Sr[e]=n[t];return e}c&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Cr=Er("animationend"),Ar=Er("animationiteration"),Tr=Er("animationstart"),Nr=Er("transitionend"),jr=new Map,Or="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Pr(e,t){jr.set(e,t),l(t,[e])}for(var Rr=0;Rr<Or.length;Rr++){var Lr=Or[Rr];Pr(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Pr(Cr,"onAnimationEnd"),Pr(Ar,"onAnimationIteration"),Pr(Tr,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(Nr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,s,l,u){if($e.apply(this,arguments),Fe){if(!Fe)throw Error(o(198));var c=Me;Fe=!1,Me=null,De||(De=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Dr(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 s=r[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;Mr(a,s,u),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,u=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;Mr(a,s,u),o=l}}}if(De)throw e=ze,De=!1,ze=null,e}function zr(e,t){var n=t[ga];void 0===n&&(n=t[ga]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[$r]){e[$r]=!0,i.forEach((function(t){"selectionchange"!==t&&(Fr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Br("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Qt(t)){case 1:var a=Vt;break;case 4:a=qt;break;default:a=Gt}n=a.bind(null,t,n,e),a=void 0,!Re||"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 Wr(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 s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=ba(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}Oe((function(){var r=o,a=ke(n),i=[];e:{var s=jr.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=An;break;case"focusin":u="focus",l=mn;break;case"focusout":u="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;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":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Nn;break;case Cr:case Ar:case Tr:l=yn;break;case Nr:l=jn;break;case"scroll":l=pn;break;case"wheel":l=Pn;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var c=!!(4&t),d=!c&&"scroll"===e,p=c?null!==s?s+"Capture":null:s;c=[];for(var f,h=r;null!==h;){var g=(f=h).stateNode;if(5===f.tag&&null!==g&&(f=g,null!==p&&(null!=(g=Pe(h,p))&&c.push(Vr(h,g,f)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,a),i.push({event:s,listeners:c}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!ba(u)&&!u[ha])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?ba(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=hn,g="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,g="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:wa(l),f=null==u?s:wa(u),(s=new c(g,h+"leave",l,n,a)).target=d,s.relatedTarget=f,g=null,ba(a)===r&&((c=new c(p,h+"enter",u,n,a)).target=f,c.relatedTarget=d,g=c),d=g,l&&u)e:{for(p=u,h=0,f=c=l;f;f=Gr(f))h++;for(f=0,g=p;g;g=Gr(g))f++;for(;0<h-f;)c=Gr(c),h--;for(;0<f-h;)p=Gr(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Gr(c),p=Gr(p)}c=null}else c=null;null!==l&&Kr(i,s,l,c,!1),null!==u&&null!==d&&Kr(i,d,u,c,!0)}if("select"===(l=(s=r?wa(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Qn;else if(Wn(s))if(Zn)m=ir;else{m=ar;var y=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=or);switch(m&&(m=m(e,r))?Vn(i,m,n,a):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?wa(r):window,e){case"focusin":(Wn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,br=null);break;case"focusout":br=yr=mr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(i,n,a);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":wr(i,n,a)}var b;if(Ln)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Un?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Mn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==v?"onCompositionEnd"===v&&Un&&(b=en()):(Xt="value"in(Zt=a)?Zt.value:Zt.textContent,Un=!0)),0<(y=qr(r,v)).length&&(v=new wn(v,e,null,n,a),i.push({event:v,listeners:y}),b?v.data=b:null!==(b=$n(n))&&(v.data=b))),(b=Fn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(zn=!0,Dn);case"textInput":return(e=t.data)===Dn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Ln&&Bn(e,t)?(e=en(),Jt=Xt=Zt=null,Un=!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 Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=b))}Dr(i,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(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=Pe(e,n))&&r.unshift(Vr(e,o,a)),null!=(o=Pe(e,t))&&r.push(Vr(e,o,a))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,a?null!=(l=Pe(n,o))&&i.unshift(Vr(n,l,s)):a||null!=(l=Pe(n,o))&&i.push(Vr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Yr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Qr,"")}function Xr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout((function(){throw e}))}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ut(t)}function ua(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(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 da=Math.random().toString(36).slice(2),pa="__reactFiber$"+da,fa="__reactProps$"+da,ha="__reactContainer$"+da,ga="__reactEvents$"+da,ma="__reactListeners$"+da,ya="__reactHandles$"+da;function ba(e){var t=e[pa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[pa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[pa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[pa]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ka(e){return e[fa]||null}var xa=[],Sa=-1;function _a(e){return{current:e}}function Ea(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function Ca(e,t){Sa++,xa[Sa]=e.current,e.current=t}var Aa={},Ta=_a(Aa),Na=_a(!1),ja=Aa;function Oa(e,t){var n=e.type.contextTypes;if(!n)return Aa;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 Pa(e){return null!=(e=e.childContextTypes)}function Ra(){Ea(Na),Ea(Ta)}function La(e,t,n){if(Ta.current!==Aa)throw Error(o(168));Ca(Ta,t),Ca(Na,n)}function Ia(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,H(e)||"Unknown",a));return M({},n,r)}function Fa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Aa,ja=Ta.current,Ca(Ta,e),Ca(Na,Na.current),!0}function Ma(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ia(e,t,ja),r.__reactInternalMemoizedMergedChildContext=e,Ea(Na),Ea(Ta),Ca(Ta,e)):Ea(Na),Ca(Na,n)}var Da=null,za=!1,Ba=!1;function $a(e){null===Da?Da=[e]:Da.push(e)}function Ua(){if(!Ba&&null!==Da){Ba=!0;var e=0,t=vt;try{var n=Da;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Da=null,za=!1}catch(a){throw null!==Da&&(Da=Da.slice(e+1)),Ge(Je,Ua),a}finally{vt=t,Ba=!1}}return null}var Ha=[],Wa=0,Va=null,qa=0,Ga=[],Ka=0,Ya=null,Qa=1,Za="";function Xa(e,t){Ha[Wa++]=qa,Ha[Wa++]=Va,Va=e,qa=t}function Ja(e,t,n){Ga[Ka++]=Qa,Ga[Ka++]=Za,Ga[Ka++]=Ya,Ya=e;var r=Qa;e=Za;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Qa=1<<32-it(t)+a|n<<a|r,Za=o+e}else Qa=1<<o|n<<a|r,Za=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===Va;)Va=Ha[--Wa],Ha[Wa]=null,qa=Ha[--Wa],Ha[Wa]=null;for(;e===Ya;)Ya=Ga[--Ka],Ga[Ka]=null,Za=Ga[--Ka],Ga[Ka]=null,Qa=Ga[--Ka],Ga[Ka]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Ou(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(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,no=e,ro=ua(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ya?{id:Qa,overflow:Za}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ou(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return!(!(1&e.mode)||128&e.flags)}function uo(e){if(ao){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ua(n.nextSibling);var r=no;t&&so(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function po(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw fo(),Error(o(418));for(;t;)io(e,t),t=ua(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ua(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ua(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=ro;e;)e=ua(e.nextSibling)}function ho(){ro=no=null,ao=!1}function go(e){null===oo?oo=[e]:oo.push(e)}var mo=w.ReactCurrentBatchConfig;function yo(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(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function bo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vo(e){return(0,e._init)(e._payload)}function wo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}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=Ru(e,t)).index=0,e.sibling=null,e}function i(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):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===P&&vo(o)===t.type)?((r=a(t,n.props)).ref=yo(e,t,n),r.return=e,r):((r=Lu(n.type,n.key,n.props,null,e.mode,r)).ref=yo(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=Du(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=Iu(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Lu(t.type,t.key,t.props,null,e.mode,n)).ref=yo(e,null,t),n.return=e,n;case x:return(t=Du(t,e.mode,n)).return=e,t;case P:return p(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Iu(t,e.mode,n,null)).return=e,t;bo(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?u(e,t,n,r):null;case x:return n.key===a?c(e,t,n,r):null;case P:return f(e,t,(a=n._init)(n._payload),r)}if(te(n)||I(n))return null!==a?null:d(e,t,n,r,null);bo(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case P:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,a,null);bo(t,r)}return null}function g(a,o,s,l){for(var u=null,c=null,d=o,g=o=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var y=f(a,d,s[g],l);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,g),null===c?u=y:c.sibling=y,c=y,d=m}if(g===s.length)return n(a,d),ao&&Xa(a,g),u;if(null===d){for(;g<s.length;g++)null!==(d=p(a,s[g],l))&&(o=i(d,o,g),null===c?u=d:c.sibling=d,c=d);return ao&&Xa(a,g),u}for(d=r(a,d);g<s.length;g++)null!==(m=h(d,a,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),o=i(m,o,g),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,g),u}function m(a,s,l,u){var c=I(l);if("function"!=typeof c)throw Error(o(150));if(null==(l=c.call(l)))throw Error(o(151));for(var d=c=null,g=s,m=s=0,y=null,b=l.next();null!==g&&!b.done;m++,b=l.next()){g.index>m?(y=g,g=null):y=g.sibling;var v=f(a,g,b.value,u);if(null===v){null===g&&(g=y);break}e&&g&&null===v.alternate&&t(a,g),s=i(v,s,m),null===d?c=v:d.sibling=v,d=v,g=y}if(b.done)return n(a,g),ao&&Xa(a,m),c;if(null===g){for(;!b.done;m++,b=l.next())null!==(b=p(a,b.value,u))&&(s=i(b,s,m),null===d?c=b:d.sibling=b,d=b);return ao&&Xa(a,m),c}for(g=r(a,g);!b.done;m++,b=l.next())null!==(b=h(g,a,m,b.value,u))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),s=i(b,s,m),null===d?c=b:d.sibling=b,d=b);return e&&g.forEach((function(e){return t(a,e)})),ao&&Xa(a,m),c}return function e(r,o,i,l){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===S){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===P&&vo(u)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=yo(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((o=Iu(i.props.children,r.mode,l,i.key)).return=r,r=o):((l=Lu(i.type,i.key,i.props,null,r.mode,l)).ref=yo(r,o,i),l.return=r,r=l)}return s(r);case x:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Du(i,r.mode,l)).return=r,r=o}return s(r);case P:return e(r,o,(c=i._init)(i._payload),l)}if(te(i))return g(r,o,i,l);if(I(i))return m(r,o,i,l);bo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Mu(i,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var ko=wo(!0),xo=wo(!1),So=_a(null),_o=null,Eo=null,Co=null;function Ao(){Co=Eo=_o=null}function To(e){var t=So.current;Ea(So),e._currentValue=t}function No(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function jo(e,t){_o=e,Co=Eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(vs=!0),e.firstContext=null)}function Oo(e){var t=e._currentValue;if(Co!==e)if(e={context:e,memoizedValue:t,next:null},null===Eo){if(null===_o)throw Error(o(308));Eo=e,_o.dependencies={lanes:0,firstContext:e}}else Eo=Eo.next=e;return t}var Po=null;function Ro(e){null===Po?Po=[e]:Po.push(e)}function Lo(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Ro(t)):(n.next=a.next,a.next=n),t.interleaved=n,Io(e,r)}function Io(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}var Fo=!1;function Mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Do(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 zo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Tl){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Io(e,n)}return null===(a=r.interleaved)?(t.next=t,Ro(r)):(t.next=a.next,a.next=t),r.interleaved=t,Io(e,n)}function $o(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Uo(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 Ho(e,t,n,r){var a=e.updateQueue;Fo=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?o=u:i.next=u,i=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==o){var d=a.baseState;for(i=0,c=u=l=null,s=o;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,g=s;switch(p=t,f=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=g.payload)?h.call(f,d,p):h))break e;d=M({},d,p);break e;case 2:Fo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=f,l=d):c=c.next=f,i|=p;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(p=s).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===c&&(l=d),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Fl|=i,e.lanes=i,e.memoizedState=d}}function Wo(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(o(191,a));a.call(r)}}}var Vo={},qo=_a(Vo),Go=_a(Vo),Ko=_a(Vo);function Yo(e){if(e===Vo)throw Error(o(174));return e}function Qo(e,t){switch(Ca(Ko,t),Ca(Go,e),Ca(qo,Vo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ea(qo),Ca(qo,t)}function Zo(){Ea(qo),Ea(Go),Ea(Ko)}function Xo(e){Yo(Ko.current);var t=Yo(qo.current),n=le(t,e.type);t!==n&&(Ca(Go,e),Ca(qo,n))}function Jo(e){Go.current===e&&(Ea(qo),Ea(Go))}var ei=_a(0);function ti(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(128&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 ni=[];function ri(){for(var e=0;e<ni.length;e++)ni[e]._workInProgressVersionPrimary=null;ni.length=0}var ai=w.ReactCurrentDispatcher,oi=w.ReactCurrentBatchConfig,ii=0,si=null,li=null,ui=null,ci=!1,di=!1,pi=0,fi=0;function hi(){throw Error(o(321))}function gi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function mi(e,t,n,r,a,i){if(ii=i,si=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?Ji:es,e=n(r,a),di){i=0;do{if(di=!1,pi=0,25<=i)throw Error(o(301));i+=1,ui=li=null,t.updateQueue=null,ai.current=ts,e=n(r,a)}while(di)}if(ai.current=Xi,t=null!==li&&null!==li.next,ii=0,ui=li=si=null,ci=!1,t)throw Error(o(300));return e}function yi(){var e=0!==pi;return pi=0,e}function bi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ui?si.memoizedState=ui=e:ui=ui.next=e,ui}function vi(){if(null===li){var e=si.alternate;e=null!==e?e.memoizedState:null}else e=li.next;var t=null===ui?si.memoizedState:ui.next;if(null!==t)ui=t,li=e;else{if(null===e)throw Error(o(310));e={memoizedState:(li=e).memoizedState,baseState:li.baseState,baseQueue:li.baseQueue,queue:li.queue,next:null},null===ui?si.memoizedState=ui=e:ui=ui.next=e}return ui}function wi(e,t){return"function"==typeof t?t(e):t}function ki(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=li,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var l=s=null,u=null,c=i;do{var d=c.lane;if((ii&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=p,s=r):u=u.next=p,si.lanes|=d,Fl|=d}c=c.next}while(null!==c&&c!==i);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(vs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,si.lanes|=i,Fl|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xi(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);sr(i,t.memoizedState)||(vs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Si(){}function _i(e,t){var n=si,r=vi(),a=t(),i=!sr(r.memoizedState,a);if(i&&(r.memoizedState=a,vs=!0),r=r.queue,Fi(Ai.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==ui&&1&ui.memoizedState.tag){if(n.flags|=2048,Oi(9,Ci.bind(null,n,r,a,t),void 0,null),null===Nl)throw Error(o(349));30&ii||Ei(n,t,a)}return a}function Ei(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ci(e,t,n,r){t.value=n,t.getSnapshot=r,Ti(t)&&Ni(e)}function Ai(e,t,n){return n((function(){Ti(t)&&Ni(e)}))}function Ti(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ni(e){var t=Io(e,1);null!==t&&nu(t,e,1,-1)}function ji(e){var t=bi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wi,lastRenderedState:e},t.queue=e,e=e.dispatch=Ki.bind(null,si,e),[t.memoizedState,e]}function Oi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.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 Pi(){return vi().memoizedState}function Ri(e,t,n,r){var a=bi();si.flags|=e,a.memoizedState=Oi(1|t,n,void 0,void 0===r?null:r)}function Li(e,t,n,r){var a=vi();r=void 0===r?null:r;var o=void 0;if(null!==li){var i=li.memoizedState;if(o=i.destroy,null!==r&&gi(r,i.deps))return void(a.memoizedState=Oi(t,n,o,r))}si.flags|=e,a.memoizedState=Oi(1|t,n,o,r)}function Ii(e,t){return Ri(8390656,8,e,t)}function Fi(e,t){return Li(2048,8,e,t)}function Mi(e,t){return Li(4,2,e,t)}function Di(e,t){return Li(4,4,e,t)}function zi(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 Bi(e,t,n){return n=null!=n?n.concat([e]):null,Li(4,4,zi.bind(null,t,e),n)}function $i(){}function Ui(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&gi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Hi(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&gi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Wi(e,t,n){return 21&ii?(sr(n,t)||(n=gt(),si.lanes|=n,Fl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vs=!0),e.memoizedState=n)}function Vi(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{vt=n,oi.transition=r}}function qi(){return vi().memoizedState}function Gi(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yi(e))Qi(t,n);else if(null!==(n=Lo(e,t,n,r))){nu(n,e,r,eu()),Zi(n,t,r)}}function Ki(e,t,n){var r=tu(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yi(e))Qi(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(a.next=a,Ro(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(u){}null!==(n=Lo(e,t,a,r))&&(nu(n,e,r,a=eu()),Zi(n,t,r))}}function Yi(e){var t=e.alternate;return e===si||null!==t&&t===si}function Qi(e,t){di=ci=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zi(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var Xi={readContext:Oo,useCallback:hi,useContext:hi,useEffect:hi,useImperativeHandle:hi,useInsertionEffect:hi,useLayoutEffect:hi,useMemo:hi,useReducer:hi,useRef:hi,useState:hi,useDebugValue:hi,useDeferredValue:hi,useTransition:hi,useMutableSource:hi,useSyncExternalStore:hi,useId:hi,unstable_isNewReconciler:!1},Ji={readContext:Oo,useCallback:function(e,t){return bi().memoizedState=[e,void 0===t?null:t],e},useContext:Oo,useEffect:Ii,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ri(4194308,4,zi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ri(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ri(4,2,e,t)},useMemo:function(e,t){var n=bi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Gi.bind(null,si,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},bi().memoizedState=e},useState:ji,useDebugValue:$i,useDeferredValue:function(e){return bi().memoizedState=e},useTransition:function(){var e=ji(!1),t=e[0];return e=Vi.bind(null,e[1]),bi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=si,a=bi();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Nl)throw Error(o(349));30&ii||Ei(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Ii(Ai.bind(null,r,i,e),[e]),r.flags|=2048,Oi(9,Ci.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=bi(),t=Nl.identifierPrefix;if(ao){var n=Za;t=":"+t+"R"+(n=(Qa&~(1<<32-it(Qa)-1)).toString(32)+n),0<(n=pi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Oo,useCallback:Ui,useContext:Oo,useEffect:Fi,useImperativeHandle:Bi,useInsertionEffect:Mi,useLayoutEffect:Di,useMemo:Hi,useReducer:ki,useRef:Pi,useState:function(){return ki(wi)},useDebugValue:$i,useDeferredValue:function(e){return Wi(vi(),li.memoizedState,e)},useTransition:function(){return[ki(wi)[0],vi().memoizedState]},useMutableSource:Si,useSyncExternalStore:_i,useId:qi,unstable_isNewReconciler:!1},ts={readContext:Oo,useCallback:Ui,useContext:Oo,useEffect:Fi,useImperativeHandle:Bi,useInsertionEffect:Mi,useLayoutEffect:Di,useMemo:Hi,useReducer:xi,useRef:Pi,useState:function(){return xi(wi)},useDebugValue:$i,useDeferredValue:function(e){var t=vi();return null===li?t.memoizedState=e:Wi(t,li.memoizedState,e)},useTransition:function(){return[xi(wi)[0],vi().memoizedState]},useMutableSource:Si,useSyncExternalStore:_i,useId:qi,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var as={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),o=zo(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,a))&&(nu(t,e,a,r),$o(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),o=zo(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,a))&&(nu(t,e,a,r),$o(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),a=zo(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Bo(e,a,r))&&(nu(t,e,r,n),$o(t,e,r))}};function os(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,o))}function is(e,t,n){var r=!1,a=Aa,o=t.contextType;return"object"==typeof o&&null!==o?o=Oo(o):(a=Pa(t)?ja:Ta.current,o=(r=null!=(r=t.contextTypes))?Oa(e,a):Aa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=as,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(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&&as.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Mo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Oo(o):(o=Pa(t)?ja:Ta.current,a.context=Oa(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(rs(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&&as.enqueueReplaceState(a,a.state,null),Ho(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function us(e,t){try{var n="",r=t;do{n+=$(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,digest:null}}function cs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=zo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,Vl=r),ds(0,t)},n}function hs(e,t,n){(n=zo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof r&&(null===ql?ql=new Set([this]):ql.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Eu.bind(null,e,t,n),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=zo(-1,1)).tag=2,Bo(n,t,1))),n.lanes|=1),e)}var bs=w.ReactCurrentOwner,vs=!1;function ws(e,t,n,r){t.child=null===e?xo(t,null,n,r):ko(t,e.child,n,r)}function ks(e,t,n,r,a){n=n.render;var o=t.ref;return jo(t,a),r=mi(e,t,n,r,o,a),n=yi(),null===e||vs?(ao&&n&&eo(t),t.flags|=1,ws(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ws(e,t,a))}function xs(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Pu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ss(e,t,o,r,a))}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Ws(e,t,a)}return t.flags|=1,(e=Ru(o,r)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(vs=!1,t.pendingProps=r=o,!(e.lanes&a))return t.lanes=e.lanes,Ws(e,t,a);131072&e.flags&&(vs=!0)}}return Cs(e,t,n,r,a)}function _s(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ca(Rl,Pl),Pl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ca(Rl,Pl),Pl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ca(Rl,Pl),Pl|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ca(Rl,Pl),Pl|=r;return ws(e,t,a,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cs(e,t,n,r,a){var o=Pa(n)?ja:Ta.current;return o=Oa(t,o),jo(t,a),n=mi(e,t,n,r,o,a),r=yi(),null===e||vs?(ao&&r&&eo(t),t.flags|=1,ws(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ws(e,t,a))}function As(e,t,n,r,a){if(Pa(n)){var o=!0;Fa(t)}else o=!1;if(jo(t,a),null===t.stateNode)Hs(e,t),is(t,n,r),ls(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Oo(u):u=Oa(t,u=Pa(n)?ja:Ta.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==u)&&ss(t,i,r,u),Fo=!1;var p=t.memoizedState;i.state=p,Ho(t,r,i,a),l=t.memoizedState,s!==r||p!==l||Na.current||Fo?("function"==typeof c&&(rs(t,n,c,r),l=t.memoizedState),(s=Fo||os(t,n,s,r,p,l,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|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Do(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:ns(t.type,s),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=Oo(l):l=Oa(t,l=Pa(n)?ja:Ta.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||p!==l)&&ss(t,i,r,l),Fo=!1,p=t.memoizedState,i.state=p,Ho(t,r,i,a);var h=t.memoizedState;s!==d||p!==h||Na.current||Fo?("function"==typeof f&&(rs(t,n,f,r),h=t.memoizedState),(u=Fo||os(t,n,u,r,p,h,l)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=u):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,o,a)}function Ts(e,t,n,r,a,o){Es(e,t);var i=!!(128&t.flags);if(!r&&!i)return a&&Ma(t,n,!1),Ws(e,t,o);r=t.stateNode,bs.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=ko(t,e.child,null,o),t.child=ko(t,null,s,o)):ws(e,t,s,o),t.memoizedState=r.state,a&&Ma(t,n,!0),t.child}function Ns(e){var t=e.stateNode;t.pendingContext?La(0,t.pendingContext,t.pendingContext!==t.context):t.context&&La(0,t.context,!1),Qo(e,t.containerInfo)}function js(e,t,n,r,a){return ho(),go(a),t.flags|=256,ws(e,t,n,r),t.child}var Os,Ps,Rs,Ls,Is={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ms(e,t,n){var r,a=t.pendingProps,i=ei.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ca(ei,1&i),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=a.children,e=a.fallback,s?(a=t.mode,s=t.child,l={mode:"hidden",children:l},1&a||null===s?s=Fu(l,a,0,null):(s.childLanes=0,s.pendingProps=l),e=Iu(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(n),t.memoizedState=Is,e):Ds(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,s){if(n)return 256&t.flags?(t.flags&=-257,zs(e,t,s,r=cs(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Fu({mode:"visible",children:r.children},a,0,null),(i=Iu(i,a,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&ko(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=Is,i);if(!(1&t.mode))return zs(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,t,s,r=cs(i=Error(o(419)),r,void 0))}if(l=!!(s&e.childLanes),vs||l){if(null!==(r=Nl)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=a&(r.suspendedLanes|s)?0:a)&&a!==i.retryLane&&(i.retryLane=a,Io(e,a),nu(r,e,a,-1))}return gu(),zs(e,t,s,r=cs(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Au.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ua(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Ga[Ka++]=Qa,Ga[Ka++]=Za,Ga[Ka++]=Ya,Qa=e.id,Za=e.overflow,Ya=t),t=Ds(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,i,n);if(s){s=a.fallback,l=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 1&l||t.child===i?(a=Ru(i,u)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null),null!==r?s=Ru(r,s):(s=Iu(s,l,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,l=null===(l=e.child.memoizedState)?Fs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Is,a}return e=(s=e.child).sibling,a=Ru(s,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Ds(e,t){return(t=Fu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zs(e,t,n,r){return null!==r&&go(r),ko(t,e.child,null,n),(e=Ds(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),No(e.return,t,n)}function $s(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Us(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(ws(e,t,r.children,n),2&(r=ei.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,n,t);else if(19===e.tag)Bs(e,n,t);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(Ca(ei,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ti(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),$s(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ti(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}$s(t,!0,n,null,o);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Hs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fl|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ru(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ru(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vs(e,t){if(!ao)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 qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:case 17:return Pa(t.type)&&Ra(),qs(t),null;case 3:return r=t.stateNode,Zo(),Ea(Na),Ea(Ta),ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(iu(oo),oo=null))),Ps(e,t),qs(t),null;case 5:Jo(t);var a=Yo(Ko.current);if(n=t.type,null!==e&&null!=t.stateNode)Rs(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return qs(t),null}if(e=Yo(qo.current),po(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[pa]=t,r[fa]=i,e=!!(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(a=0;a<Ir.length;a++)zr(Ir[a],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":Q(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":ae(r,i),zr("invalid",r)}for(var l in be(n,i),a=null,i)if(i.hasOwnProperty(l)){var u=i[l];"children"===l?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&zr("scroll",r)}switch(n){case"input":q(r),J(r,i,!0);break;case"textarea":q(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[pa]=t,e[fa]=r,Os(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,r),n){case"dialog":zr("cancel",e),zr("close",e),a=r;break;case"iframe":case"object":case"embed":zr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Ir.length;a++)zr(Ir[a],e);a=r;break;case"source":zr("error",e),a=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),a=r;break;case"details":zr("toggle",e),a=r;break;case"input":Q(e,r),a=Y(e,r),zr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=M({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),zr("invalid",e)}for(i in be(n,a),u=a)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?me(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=c&&"onScroll"===i&&zr("scroll",e):null!=c&&v(e,i,c,l))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qs(t),null;case 6:if(e&&null!=t.stateNode)Ls(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Yo(Ko.current),Yo(qo.current),po(t)){if(r=t.stateNode,n=t.memoizedProps,r[pa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pa]=t,t.stateNode=r}return qs(t),null;case 13:if(Ea(ei),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&1&t.mode&&!(128&t.flags))fo(),ho(),t.flags|=98560,i=!1;else if(i=po(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[pa]=t}else ho(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),i=!1}else null!==oo&&(iu(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ei.current?0===Ll&&(Ll=3):gu())),null!==t.updateQueue&&(t.flags|=4),qs(t),null);case 4:return Zo(),Ps(e,t),null===e&&Ur(t.stateNode.containerInfo),qs(t),null;case 10:return To(t.type._context),qs(t),null;case 19:if(Ea(ei),null===(i=t.memoizedState))return qs(t),null;if(r=!!(128&t.flags),null===(l=i.rendering))if(r)Vs(i,!1);else{if(0!==Ll||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ti(e))){for(t.flags|=128,Vs(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ca(ei,1&ei.current|2),t.child}e=e.sibling}null!==i.tail&&Ze()>Ul&&(t.flags|=128,r=!0,Vs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ti(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!ao)return qs(t),null}else 2*Ze()-i.renderingStartTime>Ul&&1073741824!==n&&(t.flags|=128,r=!0,Vs(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ze(),t.sibling=null,n=ei.current,Ca(ei,r?1&n|2:1&n),t):(qs(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Pl)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ks(e,t){switch(to(t),t.tag){case 1:return Pa(t.type)&&Ra(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Zo(),Ea(Na),Ea(Ta),ri(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Jo(t),null;case 13:if(Ea(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ea(ei),null;case 4:return Zo(),null;case 10:return To(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Os=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}},Ps=function(){},Rs=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Yo(qo.current);var o,i=null;switch(n){case"input":a=Y(e,a),r=Y(e,r),i=[];break;case"select":a=M({},a,{value:void 0}),r=M({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var l=a[c];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),i||l===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Ls=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Qs=!1,Zs="function"==typeof WeakSet?WeakSet:Set,Xs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){_u(e,t,r)}else n.current=null}function el(e,t,n){try{n()}catch(r){_u(e,t,r)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&el(t,n,o)}a=a.next}while(a!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function al(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[fa],delete t[ga],delete t[ma],delete t[ya])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function il(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||il(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,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=Jr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var cl=null,dl=!1;function pl(e,t,n){for(n=n.child;null!==n;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(s){}switch(n.tag){case 5:Qs||Js(n,t);case 6:var r=cl,a=dl;cl=null,pl(e,t,n),dl=a,null!==(cl=r)&&(dl?(e=cl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cl.removeChild(n.stateNode));break;case 18:null!==cl&&(dl?(e=cl,n=n.stateNode,8===e.nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),Ut(e)):la(cl,n.stateNode));break;case 4:r=cl,a=dl,cl=n.stateNode.containerInfo,dl=!0,pl(e,t,n),cl=r,dl=a;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&el(n,t,i),a=a.next}while(a!==r)}pl(e,t,n);break;case 1:if(!Qs&&(Js(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){_u(n,t,s)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,pl(e,t,n),Qs=r):pl(e,t,n);break;default:pl(e,t,n)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:cl=l.stateNode,dl=!1;break e;case 3:case 4:cl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===cl)throw Error(o(160));fl(i,s,a),cl=null,dl=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(c){_u(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}function ml(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),yl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(m){_u(e,e.return,m)}try{nl(5,e,e.return)}catch(m){_u(e,e.return,m)}}break;case 1:gl(t,e),yl(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(gl(t,e),yl(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(m){_u(e,e.return,m)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===i.type&&null!=i.name&&Z(a,i),ve(l,s);var c=ve(l,i);for(s=0;s<u.length;s+=2){var d=u[s],p=u[s+1];"style"===d?me(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):v(a,d,p,c)}switch(l){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(a,!!i.multiple,h,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[fa]=i}catch(m){_u(e,e.return,m)}}break;case 6:if(gl(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(m){_u(e,e.return,m)}}break;case 3:if(gl(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(m){_u(e,e.return,m)}break;case 4:default:gl(t,e),yl(e);break;case 13:gl(t,e),yl(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||($l=Ze())),4&r&&hl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(c=Qs)||d,gl(t,e),Qs=c):gl(t,e),yl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Xs=e,d=e.child;null!==d;){for(p=Xs=d;null!==Xs;){switch(h=(f=Xs).child,f.tag){case 0:case 11:case 14:case 15:nl(4,f,f.return);break;case 1:Js(f,f.return);var g=f.stateNode;if("function"==typeof g.componentWillUnmount){r=f,n=f.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){_u(r,n,m)}}break;case 5:Js(f,f.return);break;case 22:if(null!==f.memoizedState){kl(p);continue}}null!==h?(h.return=f,Xs=h):kl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=p.stateNode,s=null!=(u=p.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=ge("display",s))}catch(m){_u(e,e.return,m)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(m){_u(e,e.return,m)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:gl(t,e),yl(e),4&r&&hl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(il(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(pe(a,""),r.flags&=-33),ul(e,sl(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;ll(e,sl(e),i);break;default:throw Error(o(161))}}catch(s){_u(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Xs=e,vl(e,t,n)}function vl(e,t,n){for(var r=!!(1&e.mode);null!==Xs;){var a=Xs,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Ys;if(!i){var s=a.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Ys;var u=Qs;if(Ys=i,(Qs=l)&&!u)for(Xs=a;null!==Xs;)l=(i=Xs).child,22===i.tag&&null!==i.memoizedState?xl(a):null!==l?(l.return=i,Xs=l):xl(a);for(;null!==o;)Xs=o,vl(o,t,n),o=o.sibling;Xs=a,Ys=s,Qs=u}wl(e)}else 8772&a.subtreeFlags&&null!==o?(o.return=a,Xs=o):wl(e)}}function wl(e){for(;null!==Xs;){var t=Xs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Qs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Wo(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Wo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Ut(p)}}}break;default:throw Error(o(163))}Qs||512&t.flags&&al(t)}catch(f){_u(t,t.return,f)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function kl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function xl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(l){_u(t,n,l)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(l){_u(t,a,l)}}var o=t.return;try{al(t)}catch(l){_u(t,o,l)}break;case 5:var i=t.return;try{al(t)}catch(l){_u(t,i,l)}}}catch(l){_u(t,t.return,l)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var Sl,_l=Math.ceil,El=w.ReactCurrentDispatcher,Cl=w.ReactCurrentOwner,Al=w.ReactCurrentBatchConfig,Tl=0,Nl=null,jl=null,Ol=0,Pl=0,Rl=_a(0),Ll=0,Il=null,Fl=0,Ml=0,Dl=0,zl=null,Bl=null,$l=0,Ul=1/0,Hl=null,Wl=!1,Vl=null,ql=null,Gl=!1,Kl=null,Yl=0,Ql=0,Zl=null,Xl=-1,Jl=0;function eu(){return 6&Tl?Ze():-1!==Xl?Xl:Xl=Ze()}function tu(e){return 1&e.mode?2&Tl&&0!==Ol?Ol&-Ol:null!==mo.transition?(0===Jl&&(Jl=gt()),Jl):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Qt(e.type):1}function nu(e,t,n,r){if(50<Ql)throw Ql=0,Zl=null,Error(o(185));yt(e,n,r),2&Tl&&e===Nl||(e===Nl&&(!(2&Tl)&&(Ml|=n),4===Ll&&su(e,Ol)),ru(e,r),1===n&&0===Tl&&!(1&t.mode)&&(Ul=Ze()+500,za&&Ua()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,l=a[i];-1===l?s&n&&!(s&r)||(a[i]=ft(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=pt(e,e===Nl?Ol:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){za=!0,$a(e)}(lu.bind(null,e)):$a(lu.bind(null,e)),ia((function(){!(6&Tl)&&Ua()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Nu(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Xl=-1,Jl=0,6&Tl)throw Error(o(327));var n=e.callbackNode;if(xu()&&e.callbackNode!==n)return null;var r=pt(e,e===Nl?Ol:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=mu(e,r);else{t=r;var a=Tl;Tl|=2;var i=hu();for(Nl===e&&Ol===t||(Hl=null,Ul=Ze()+500,pu(e,t));;)try{bu();break}catch(l){fu(e,l)}Ao(),El.current=i,Tl=a,null!==jl?t=0:(Nl=null,Ol=0,t=Ll)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=ou(e,a))),1===t)throw n=Il,pu(e,0),su(e,r),ru(e,Ze()),n;if(6===t)su(e,r);else{if(a=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!sr(o(),a))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=mu(e,r),2===t&&(i=ht(e),0!==i&&(r=i,t=ou(e,i))),1!==t)))throw n=Il,pu(e,0),su(e,r),ru(e,Ze()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:ku(e,Bl,Hl);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=$l+500-Ze())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(ku.bind(null,e,Bl,Hl),t);break}ku(e,Bl,Hl);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>a&&(a=s),r&=~i}if(r=a,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_l(r/1960))-r)){e.timeoutHandle=ra(ku.bind(null,e,Bl,Hl),r);break}ku(e,Bl,Hl);break;default:throw Error(o(329))}}}return ru(e,Ze()),e.callbackNode===n?au.bind(null,e):null}function ou(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=mu(e,t))&&(t=Bl,Bl=n,null!==t&&iu(t)),e}function iu(e){null===Bl?Bl=e:Bl.push.apply(Bl,e)}function su(e,t){for(t&=~Dl,t&=~Ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function lu(e){if(6&Tl)throw Error(o(327));xu();var t=pt(e,0);if(!(1&t))return ru(e,Ze()),null;var n=mu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ou(e,r))}if(1===n)throw n=Il,pu(e,0),su(e,t),ru(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Bl,Hl),ru(e,Ze()),null}function uu(e,t){var n=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=n)&&(Ul=Ze()+500,za&&Ua())}}function cu(e){null!==Kl&&0===Kl.tag&&!(6&Tl)&&xu();var t=Tl;Tl|=1;var n=Al.transition,r=vt;try{if(Al.transition=null,vt=1,e)return e()}finally{vt=r,Al.transition=n,!(6&(Tl=t))&&Ua()}}function du(){Pl=Rl.current,Ea(Rl)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==jl)for(n=jl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ra();break;case 3:Zo(),Ea(Na),Ea(Ta),ri();break;case 5:Jo(r);break;case 4:Zo();break;case 13:case 19:Ea(ei);break;case 10:To(r.type._context);break;case 22:case 23:du()}n=n.return}if(Nl=e,jl=e=Ru(e.current,null),Ol=Pl=t,Ll=0,Il=null,Dl=Ml=Fl=0,Bl=zl=null,null!==Po){for(t=0;t<Po.length;t++)if(null!==(r=(n=Po[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}Po=null}return e}function fu(e,t){for(;;){var n=jl;try{if(Ao(),ai.current=Xi,ci){for(var r=si.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ci=!1}if(ii=0,ui=li=si=null,di=!1,pi=0,Cl.current=null,null===n||null===n.return){Ll=1,Il=t,jl=null;break}e:{var i=e,s=n.return,l=n,u=t;if(t=Ol,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ms(s);if(null!==h){h.flags&=-257,ys(h,s,l,0,t),1&h.mode&&gs(i,c,t),u=c;var g=(t=h).updateQueue;if(null===g){var m=new Set;m.add(u),t.updateQueue=m}else g.add(u);break e}if(!(1&t)){gs(i,c,t),gu();break e}u=Error(o(426))}else if(ao&&1&l.mode){var y=ms(s);if(null!==y){!(65536&y.flags)&&(y.flags|=256),ys(y,s,l,0,t),go(us(u,l));break e}}i=u=us(u,l),4!==Ll&&(Ll=2),null===zl?zl=[i]:zl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,fs(0,u,t));break e;case 1:l=u;var b=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof b.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==ql&&ql.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,hs(i,l,t));break e}}i=i.return}while(null!==i)}wu(n)}catch(w){t=w,jl===n&&null!==n&&(jl=n=n.return);continue}break}}function hu(){var e=El.current;return El.current=Xi,null===e?Xi:e}function gu(){0!==Ll&&3!==Ll&&2!==Ll||(Ll=4),null===Nl||!(268435455&Fl)&&!(268435455&Ml)||su(Nl,Ol)}function mu(e,t){var n=Tl;Tl|=2;var r=hu();for(Nl===e&&Ol===t||(Hl=null,pu(e,t));;)try{yu();break}catch(a){fu(e,a)}if(Ao(),Tl=n,El.current=r,null!==jl)throw Error(o(261));return Nl=null,Ol=0,Ll}function yu(){for(;null!==jl;)vu(jl)}function bu(){for(;null!==jl&&!Ye();)vu(jl)}function vu(e){var t=Sl(e.alternate,e,Pl);e.memoizedProps=e.pendingProps,null===t?wu(e):jl=t,Cl.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ks(n,t)))return n.flags&=32767,void(jl=n);if(null===e)return Ll=6,void(jl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Gs(n,t,Pl)))return void(jl=n);if(null!==(t=t.sibling))return void(jl=t);jl=t=e}while(null!==t);0===Ll&&(Ll=5)}function ku(e,t,n){var r=vt,a=Al.transition;try{Al.transition=null,vt=1,function(e,t,n,r){do{xu()}while(null!==Kl);if(6&Tl)throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Nl&&(jl=Nl=null,Ol=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Gl||(Gl=!0,Nu(tt,(function(){return xu(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=Al.transition,Al.transition=null;var s=vt;vt=1;var l=Tl;Tl|=4,Cl.current=null,function(e,t){if(ea=Wt,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==n||0!==a&&3!==p.nodeType||(l=s+a),p!==i||0!==r&&3!==p.nodeType||(u=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===n&&++c===a&&(l=s),f===i&&++d===r&&(u=s),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Wt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var g=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,y=g.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:ns(t.type,m),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(k){_u(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}g=tl,tl=!1}(e,n),ml(n,e),hr(ta),Wt=!!ea,ta=ea=null,e.current=n,bl(n,e,a),Qe(),Tl=l,vt=s,Al.transition=i}else e.current=n;if(Gl&&(Gl=!1,Kl=e,Yl=a),i=e.pendingLanes,0===i&&(ql=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(t){}}(n.stateNode),ru(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Wl)throw Wl=!1,e=Vl,Vl=null,e;!!(1&Yl)&&0!==e.tag&&xu(),i=e.pendingLanes,1&i?e===Zl?Ql++:(Ql=0,Zl=e):Ql=0,Ua()}(e,t,n,r)}finally{Al.transition=a,vt=r}return null}function xu(){if(null!==Kl){var e=wt(Yl),t=Al.transition,n=vt;try{if(Al.transition=null,vt=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Yl=0,6&Tl)throw Error(o(331));var a=Tl;for(Tl|=4,Xs=e.current;null!==Xs;){var i=Xs,s=i.child;if(16&Xs.flags){var l=i.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Xs=c;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:nl(8,d,i)}var p=d.child;if(null!==p)p.return=d,Xs=p;else for(;null!==Xs;){var f=(d=Xs).sibling,h=d.return;if(ol(d),d===c){Xs=null;break}if(null!==f){f.return=h,Xs=f;break}Xs=h}}}var g=i.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Xs=i}}if(2064&i.subtreeFlags&&null!==s)s.return=i,Xs=s;else e:for(;null!==Xs;){if(2048&(i=Xs).flags)switch(i.tag){case 0:case 11:case 15:nl(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Xs=b;break e}Xs=i.return}}var v=e.current;for(Xs=v;null!==Xs;){var w=(s=Xs).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Xs=w;else e:for(s=v;null!==Xs;){if(2048&(l=Xs).flags)try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(x){_u(l,l.return,x)}if(l===s){Xs=null;break e}var k=l.sibling;if(null!==k){k.return=l.return,Xs=k;break e}Xs=l.return}}if(Tl=a,Ua(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(x){}r=!0}return r}finally{vt=n,Al.transition=t}}return!1}function Su(e,t,n){e=Bo(e,t=fs(0,t=us(n,t),1),1),t=eu(),null!==e&&(yt(e,1,t),ru(e,t))}function _u(e,t,n){if(3===e.tag)Su(e,e,n);else for(;null!==t;){if(3===t.tag){Su(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ql||!ql.has(r))){t=Bo(t,e=hs(t,e=us(n,e),1),1),e=eu(),null!==t&&(yt(t,1,e),ru(t,e));break}}t=t.return}}function Eu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,Nl===e&&(Ol&n)===n&&(4===Ll||3===Ll&&(130023424&Ol)===Ol&&500>Ze()-$l?pu(e,0):Dl|=n),ru(e,t)}function Cu(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=eu();null!==(e=Io(e,t))&&(yt(e,t,n),ru(e,n))}function Au(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cu(e,n)}function Tu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Cu(e,n)}function Nu(e,t){return Ge(e,t)}function ju(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ou(e,t,n,r){return new ju(e,t,n,r)}function Pu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Ou(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.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,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 Lu(e,t,n,r,a,i){var s=2;if(r=e,"function"==typeof e)Pu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Iu(n.children,a,i,t);case _:s=8,a|=8;break;case E:return(e=Ou(12,n,t,2|a)).elementType=E,e.lanes=i,e;case N:return(e=Ou(13,n,t,a)).elementType=N,e.lanes=i,e;case j:return(e=Ou(19,n,t,a)).elementType=j,e.lanes=i,e;case R:return Fu(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case A:s=9;break e;case T:s=11;break e;case O:s=14;break e;case P:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ou(s,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Iu(e,t,n,r){return(e=Ou(7,e,r,t)).lanes=n,e}function Fu(e,t,n,r){return(e=Ou(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Ou(6,e,null,t)).lanes=n,e}function Du(e,t,n){return(t=Ou(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zu(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,a,o,i,s,l){return e=new zu(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ou(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(o),e}function $u(e){if(!e)return Aa;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pa(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Pa(n))return Ia(e,n,t)}return t}function Uu(e,t,n,r,a,o,i,s,l){return(e=Bu(n,r,!0,e,0,o,0,s,l)).context=$u(null),n=e.current,(o=zo(r=eu(),a=tu(n))).callback=null!=t?t:null,Bo(n,o,a),e.current.lanes=a,yt(e,a,r),ru(e,r),e}function Hu(e,t,n,r){var a=t.current,o=eu(),i=tu(a);return n=$u(n),null===t.context?t.context=n:t.pendingContext=n,(t=zo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bo(a,t,i))&&(nu(e,a,i,o),$o(e,a,i)),i}function Wu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qu(e,t){Vu(e,t),(e=e.alternate)&&Vu(e,t)}Sl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Na.current)vs=!0;else{if(!(e.lanes&n||128&t.flags))return vs=!1,function(e,t,n){switch(t.tag){case 3:Ns(t),ho();break;case 5:Xo(t);break;case 1:Pa(t.type)&&Fa(t);break;case 4:Qo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ca(So,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ca(ei,1&ei.current),t.flags|=128,null):n&t.child.childLanes?Ms(e,t,n):(Ca(ei,1&ei.current),null!==(e=Ws(e,t,n))?e.sibling:null);Ca(ei,1&ei.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Us(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ca(ei,ei.current),r)break;return null;case 22:case 23:return t.lanes=0,_s(e,t,n)}return Ws(e,t,n)}(e,t,n);vs=!!(131072&e.flags)}else vs=!1,ao&&1048576&t.flags&&Ja(t,qa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hs(e,t),e=t.pendingProps;var a=Oa(t,Ta.current);jo(t,n),a=mi(null,t,r,e,a,n);var i=yi();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pa(r)?(i=!0,Fa(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Mo(t),a.updater=as,t.stateNode=a,a._reactInternals=t,ls(t,r,e,n),t=Ts(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),ws(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hs(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Pu(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===O)return 14}return 2}(r),e=ns(r,e),a){case 0:t=Cs(null,t,r,e,n);break e;case 1:t=As(null,t,r,e,n);break e;case 11:t=ks(null,t,r,e,n);break e;case 14:t=xs(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Cs(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 1:return r=t.type,a=t.pendingProps,As(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 3:e:{if(Ns(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Do(e,t),Ho(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=js(e,t,r,n,a=us(Error(o(423)),t));break e}if(r!==a){t=js(e,t,r,n,a=us(Error(o(424)),t));break e}for(ro=ua(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===a){t=Ws(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return Xo(t),null===e&&uo(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==i&&na(r,i)&&(t.flags|=32),Es(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&uo(t),null;case 13:return Ms(e,t,n);case 4:return Qo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ko(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ks(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,Ca(So,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===a.children&&!Na.current){t=Ws(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=zo(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),No(i.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),No(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ws(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,jo(t,n),r=r(a=Oo(a)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return a=ns(r=t.type,t.pendingProps),xs(e,t,r,a=ns(r.type,a),n);case 15:return Ss(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ns(r,a),Hs(e,t),t.tag=1,Pa(r)?(e=!0,Fa(t)):e=!1,jo(t,n),is(t,r,a),ls(t,r,a,n),Ts(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return _s(e,t,n)}throw Error(o(156,t.tag))};var Gu="function"==typeof reportError?reportError:function(e){console.error(e)};function Ku(e){this._internalRoot=e}function Yu(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xu(){}function Ju(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var s=a;a=function(){var e=Wu(i);s.call(e)}}Hu(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Wu(i);o.call(e)}}var i=Uu(t,r,e,0,null,!1,0,"",Xu);return e._reactRootContainer=i,e[ha]=i.current,Ur(8===e.nodeType?e.parentNode:e),cu(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var s=r;r=function(){var e=Wu(l);s.call(e)}}var l=Bu(e,0,!1,null,0,!1,0,"",Xu);return e._reactRootContainer=l,e[ha]=l.current,Ur(8===e.nodeType?e.parentNode:e),cu((function(){Hu(t,l,n,r)})),l}(n,t,e,a,r);return Wu(i)}Yu.prototype.render=Ku.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Hu(e,t,null,null)},Yu.prototype.unmount=Ku.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){Hu(null,e,null,null)})),t[ha]=null}},Yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Mt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ru(t,Ze()),!(6&Tl)&&(Ul=Ze()+500,Ua()))}break;case 13:cu((function(){var t=Io(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),qu(e,1)}},xt=function(e){if(13===e.tag){var t=Io(e,134217728);if(null!==t)nu(t,e,134217728,eu());qu(e,134217728)}},St=function(e){if(13===e.tag){var t=tu(e),n=Io(e,t);if(null!==n)nu(n,e,t,eu());qu(e,t)}},_t=function(){return vt},Et=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(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=ka(r);if(!a)throw Error(o(90));G(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=uu,Ne=cu;var ec={usingClientEntryPoint:!1,Events:[va,wa,ka,Ce,Ae,uu]},tc={findFiberByHostInstance:ba,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{at=rc.inject(nc),ot=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(o(299));var n=!1,r="",a=Gu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Bu(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Ku(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return cu(e)},t.hydrate=function(e,t,n){if(!Zu(t))throw Error(o(200));return Ju(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",s=Gu;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Uu(t,null,e,1,null!=n?n:null,a,0,i,s),e[ha]=t.current,Ur(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Yu(t)},t.render=function(e,t,n){if(!Zu(t))throw Error(o(200));return Ju(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zu(e))throw Error(o(40));return!!e._reactRootContainer&&(cu((function(){Ju(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Ju(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},5338:(e,t,n)=>{"use strict";var r=n(40961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},40961:(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(22551)},30115: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 s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!o(l.value[1],i.get(l.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();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])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((s=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!o(e[u[l]],i[u[l]]))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}}},80545:(e,t,n)=>{"use strict";n.d(t,{mg:()=>J,vd:()=>V});var r=n(96540),a=n(5556),o=n.n(a),i=n(30115),s=n.n(i),l=n(20311),u=n.n(l),c=n(2833),d=n.n(c);function p(){return p=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},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function g(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 m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={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(m).map((function(e){return m[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=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},_=function(e){var t=S(e,m.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},E=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},A=function(e,t){return t.filter((function(e){return void 0!==e[m.BASE]})).map((function(e){return e[m.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}),[])},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 s=o[i],l=s.toLowerCase();-1===t.indexOf(l)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}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 s=o[i],l=p({},r[s],a[s]);r[s]=l}return e}),[]).reverse()},N=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},j=function(e){return Array.isArray(e)?e.join(""):e},O=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}},P=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},R=[m.NOSCRIPT,m.SCRIPT,m.STYLE],L=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}),"")},F=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},M=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)}))},D=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=F(n,a),[r.createElement(m.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=I(n),o=j(t);return a?"<"+e+' data-rh="true" '+a+">"+L(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+L(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return F(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return M(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+'="'+L(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===R.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,s=e.title,l=void 0===s?"":s,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=O(e.metaTags,v),o=O(t,y),i=O(n,b);return{priorityMethods:{toComponent:function(){return[].concat(M(m.META,a.priority),M(m.LINK,o.priority),M(m.SCRIPT,i.priority))},toString:function(){return D(m.META,a.priority,r)+" "+D(m.LINK,o.priority,r)+" "+D(m.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);f=h.priorityMethods,c=h.linkTags,d=h.metaTags,p=h.scriptTags}return{priority:f,base:D(m.BASE,t,r),bodyAttributes:D("bodyAttributes",n,r),htmlAttributes:D("htmlAttributes",a,r),link:D(m.LINK,c,r),meta:D(m.META,d,r),noscript:D(m.NOSCRIPT,o,r),script:D(m.SCRIPT,p,r),style:D(m.STYLE,i,r),title:D(m.TITLE,{title:l,titleAttributes:u},r)}},B=[],$=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?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),H=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),W="undefined"!=typeof document,V=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new $(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);V.canUseDOM=W,V.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},V.defaultProps={context:{}},V.displayName="HelmetProvider";var q=function(e,t){var n,r=document.head||document.querySelector(m.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}},G=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),s=0;s<i.length;s+=1){var l=i[s],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),-1===a.indexOf(l)&&a.push(l);var c=o.indexOf(l);-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,s=e.onChangeClientState,l=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;G(m.BODY,e.bodyAttributes),G(m.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=j(e)),G(m.TITLE,t)}(c,d);var p={baseTag:q(m.BASE,n),linkTags:q(m.LINK,a),metaTags:q(m.META,o),noscriptTags:q(m.NOSCRIPT,i),scriptTags:q(m.SCRIPT,l),styleTags:q(m.STYLE,u)},f={},h={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(h[e]=p[e].oldTags)})),t&&t(),s(e,f,h)},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}f(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=p({},e.props);return delete t.context,t})),{baseTag:A(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:T(m.LINK,["rel","href"],e),metaTags:T(m.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:T(m.NOSCRIPT,["innerHTML"],e),onChangeClientState:E(e),scriptTags:T(m.SCRIPT,["src","innerHTML"],e),styleTags:T(m.STYLE,["cssText"],e),title:_(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:N(e,"prioritizeSeoTags")});V.canUseDOM?(t=o,Y&&cancelAnimationFrame(Y),t.defer?Y=requestAnimationFrame((function(){K(t,(function(){Y=null}))})):(K(t),Y=null)):z&&(a=z(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:H.isRequired},Q.displayName="HelmetDispatcher";var Z=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(P(this.props,"helmetData"),P(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.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 p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},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 m.TITLE:return p({},a,((t={})[r.type]=i,t.titleAttributes=p({},o),t));case m.BODY:return p({},a,{bodyAttributes:p({},o)});case m.HTML:return p({},a,{htmlAttributes:p({},o)});default:return p({},a,((n={})[r.type]=p({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},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=g(r,Z),s=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,o),l){case m.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=g(e,X),a=p({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof $||(o=new $(o.context,o.instances)),o?r.createElement(Q,p({},a,{context:o.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(Q,p({},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"},22799:(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,s=n?Symbol.for("react.profiler"):60114,l=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,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=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 s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case m:case g:case l:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===g},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},44363:(e,t,n)=>{"use strict";e.exports=n(22799)},53259:(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 s=n(96540),l=[],u=[];var c=s.createContext(null);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 p(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 f(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function h(e,t){var d,p;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var h=i({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},t),g=null;function m(){return g||(g=e(h.loader)),g.promise}return l.push(m),"function"==typeof h.webpack&&u.push((function(){if((0,h.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return m()})),p=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}),g=e(h.loader),r._loadModule()})),m(),r.state={error:g.error,pastDelay:!1,timedOut:!1,loading:g.loading,loaded:g.loaded},r}r(n,t),n.preload=function(){return m()};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&&Array.isArray(h.modules)&&h.modules.forEach((function(t){e.context.report(t)})),g.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),h.timeout));var n=function(){t({error:g.error,loaded:g.loaded,loading:g.loading}),e._clearTimeouts()};g.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?s.createElement(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(s.Component),o(d,"contextType",c),p}function g(e){return h(d,e)}g.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return h(p,e)};var m=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return s.createElement(c.Provider,{value:{report:this.props.report}},s.Children.only(this.props.children))},t}(s.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}g.Capture=m,g.preloadAll=function(){return new Promise((function(e,t){y(l).then(e,t)}))},g.preloadReady=function(){return new Promise((function(e,t){y(u).then(e,e)}))},e.exports=g},22831:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,v:()=>s});var r=n(56347),a=n(58168),o=n(96540);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 s(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}},54625:(e,t,n)=>{"use strict";n.d(t,{I9:()=>d,Kd:()=>c,N_:()=>y,k2:()=>w});var r=n(56347),a=n(42892),o=n(96540),i=n(31513),s=n(58168),l=n(98587),u=n(11561),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);var d=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.TM)(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);var p=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},h=function(e){return e},g=o.forwardRef;void 0===g&&(g=h);var m=g((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,l.A)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,s.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=h!==g&&t||n,o.createElement("a",c)}));var y=g((function(e,t){var n=e.component,a=void 0===n?m:n,c=e.replace,d=e.to,y=e.innerRef,b=(0,l.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(p(d,e.location),e.location),l=r?n.createHref(r):"",m=(0,s.A)({},b,{href:l,navigate:function(){var t=p(d,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(f(t));(c||r?n.replace:n.push)(t)}});return h!==g?m.ref=t||y:m.innerRef=y,o.createElement(a,m)}))})),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,h=e.className,g=e.exact,m=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,_=e.to,E=e.innerRef,C=(0,l.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(p(_,n),n),l=i.pathname,A=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=A?(0,r.B6)(n.pathname,{path:A,exact:g,sensitive:k,strict:x}):null,N=!!(m?m(T,n):T),j="function"==typeof h?h(N):h,O="function"==typeof S?S(N):S;N&&(j=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(" ")}(j,c),O=(0,s.A)({},O,d));var P=(0,s.A)({"aria-current":N&&a||null,className:j,style:O,to:i},C);return b!==v?P.ref=t||E:P.innerRef=E,o.createElement(y,P)}))}))},56347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>S,Ix:()=>v,W6:()=>P,XZ:()=>b,dO:()=>j,qh:()=>_,zy:()=>R});var r=n(42892),a=n(96540),o=n(5556),i=n.n(o),s=n(31513),l=n(11561),u=n(58168),c=n(35302),d=n.n(c),p=(n(44363),n(98587)),f=(n(4146),1073741823),h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var g=a.createContext||function(e,t){var n,o,s="__create-react-context-"+function(){var e="__global_unique_id__";return h[e]=(h[e]||0)+1}()+"__",l=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={})[s]=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):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);l.childContextTypes=((n={})[s]=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?f:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].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={})[s]=i().object,o),{Provider:l,Consumer:u}},m=function(e){var t=g();return t.displayName=e,t},y=m("Router-History"),b=m("Router"),v=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(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,x=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,s=void 0!==i&&i,l=n.sensitive,u=void 0!==l&&l;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 x<k&&(r[e]=o,x++),o}(n,{end:o,strict:s,sensitive:u}),a=r.regexp,i=r.keys,l=a.exec(e);if(!l)return null;var c=l[0],p=l.slice(1),f=e===c;return o&&!f?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var _=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(b.Consumer,null,(function(t){t||(0,l.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,s=i.children,c=i.component,d=i.render;return Array.isArray(s)&&function(e){return 0===a.Children.count(e)}(s)&&(s=null),a.createElement(b.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:c?a.createElement(c,o):d?d(o):null:"function"==typeof s?s(o):null)}))},t}(a.Component);function E(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=E(e);return 0!==t.pathname.indexOf(n)?t:(0,u.A)({},t,{pathname:t.pathname.substr(n.length)})}function A(e){return"string"==typeof e?e:(0,s.AO)(e)}function T(e){return function(){(0,l.A)(!1)}}function N(){}a.Component;var j=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(b.Consumer,null,(function(t){t||(0,l.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 O=a.useContext;function P(){return O(y)}function R(){return O(b).location}},21020:(e,t,n)=>{"use strict";var r=n(96540),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},15287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,g(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,a)&&!_.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var A=/\/+/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 N(e,t,a,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===o?"."+T(l,0):o,k(i)?(a="",null!=e&&(a=e.replace(A,"$&/")+"/"),N(i,t,a,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(A,"$&/")+"/")+e)),t.push(i)),1;if(l=0,o=""===o?".":o+":",k(e))for(var u=0;u<e.length;u++){var c=o+T(s=e[u],u);l+=N(s,t,a,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;!(s=e.next()).done;)l+=N(s=s.value,t,a,c=o+T(s,u++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function j(e,t,n){if(null==e)return e;var r=[],a=0;return N(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},R={transition:null},L={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:R,ReactCurrentOwner:S};function I(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.act=I,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=g({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)x.call(t,u)&&!_.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];a.children=l}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=I,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},96540:(e,t,n)=>{"use strict";e.exports=n(15287)},74848:(e,t,n)=>{"use strict";e.exports=n(21020)},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<a&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,p=null,f=3,h=!1,g=!1,m=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(m=!1,w(e),!g)if(null!==r(u))g=!0,R(x);else{var t=r(c);null!==t&&L(k,t.startTime-e)}}function x(e,n){g=!1,m&&(m=!1,b(C),C=-1),h=!0;var o=f;try{for(w(n),p=r(u);null!==p&&(!(p.expirationTime>n)||e&&!N());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var s=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?p.callback=s:p===r(u)&&a(u),w(n)}else a(u);p=r(u)}if(null!==p)var l=!0;else{var d=r(c);null!==d&&L(k,d.startTime-n),l=!1}return l}finally{p=null,f=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,_=!1,E=null,C=-1,A=5,T=-1;function N(){return!(t.unstable_now()-T<A)}function j(){if(null!==E){var e=t.unstable_now();T=e;var n=!0;try{n=E(!0,e)}finally{n?S():(_=!1,E=null)}}else _=!1}if("function"==typeof v)S=function(){v(j)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,P=O.port2;O.port1.onmessage=j,S=function(){P.postMessage(null)}}else S=function(){y(j,0)};function R(e){E=e,_||(_=!0,S())}function L(e,n){C=y((function(){e(t.unstable_now())}),n)}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(){g||h||(g=!0,R(x))},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"):A=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,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:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(m?(b(C),C=-1):m=!0,L(k,o-i))):(e.sortIndex=s,n(u,e),g||h||(g=!0,R(x))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},69982:(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 s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(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.r(t),n.d(t,{default:()=>r});const r={title:"Permitting Interoperability Exchange Specification",tagline:"An easy as pie way to exchange standardized permitting information. \ud83e\udd67",favicon:"img/favicon.ico",url:"https://bcgov.github.io",baseUrl:"/nr-pies/pr-preview/pr-4/",organizationName:"bcgov",projectName:"nr-pies",deploymentBranch:"gh-pages",trailingSlash:!1,onBrokenLinks:"throw",onBrokenMarkdownLinks:"throw",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},plugins:[["/home/runner/work/nr-pies/nr-pies/node_modules/docusaurus-lunr-search/src/index.js",{enableHighlight:!0}],"@docusaurus/theme-mermaid"],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/bcgov/nr-pies/tree/main/",showLastUpdateAuthor:!0,showLastUpdateTime:!0,tags:"tags.yaml",onInlineTags:"throw"},blog:!1,theme:{customCss:"./src/css/custom.css"}}]],markdown:{mermaid:!0,format:"mdx",mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}},themeConfig:{image:"img/BCID_H_rgb_pos.png",announcementBar:{id:"announcement",content:"The PIES specification is still baking... \ud83e\udd67",backgroundColor:"#FEF1D8",textColor:"#000000",isCloseable:!0},navbar:{hideOnScroll:!1,title:"NR-PIES",logo:{alt:"Government of B.C.",src:"img/BCID_H_rgb_pos.png",srcDark:"img/BCID_H_rgb_rev.png"},items:[{type:"docSidebar",sidebarId:"docSidebar",position:"right",label:"Docs"},{href:"https://github.com/bcgov/nr-pies",position:"right",className:"header-github-logo","aria-label":"GitHub Repo"}]},footer:{logo:{alt:"Creative Commons Attribution 4.0 International License",src:"img/cc-by.png",href:"https://creativecommons.org/licenses/by/4.0/",target:"_blank",width:80,height:15,className:"footer-logo-license"},links:[{label:"Home",href:"https://www2.gov.bc.ca/gov/content/home"},{label:"About gov.bc.ca",href:"https://www2.gov.bc.ca/gov/content/about-gov-bc-ca"},{label:"Disclaimer",href:"https://www2.gov.bc.ca/gov/content/home/disclaimer"},{label:"Privacy",href:"https://www2.gov.bc.ca/gov/content/home/privacy"},{label:"Accessibility",href:"https://www2.gov.bc.ca/gov/content/home/accessible-government"},{label:"Copyright",href:"https://www2.gov.bc.ca/gov/content/home/copyright"},{label:"Contact us",href:"https://www2.gov.bc.ca/gov/content/home/get-help-with-government-services"},{label:"Docusaurus",to:"docs/docusaurus/intro"}],copyright:"Copyright \xa9 2024 Government of British Columbia. Built with Docusaurus.",style:"light"},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:["mermaid"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:4},mermaid:{theme:{light:"default",dark:"dark"},options:{}},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},blog:{sidebar:{groupByYear:!0}},metadata:[]},themes:["docusaurus-json-schema-plugin"],baseUrlIssueBanner:!0,future:{experimental_faster:{swcJsLoader:!1,swcJsMinimizer:!1,swcHtmlMinimizer:!1,lightningCssMinimizer:!1,mdxCrossCompilerCache:!1,rspackBundler:!1},experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1}},58168:(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})},42892:(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})},98587:(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})},34164:(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)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}n.d(t,{A:()=>a});const a=function(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},71765:(e,t,n)=>{"use strict";n.d(t,{My:()=>A,f4:()=>ne});var r,a,o,i,s,l,u,c=n(96540),d=n(34164),p=Object.create,f=Object.defineProperty,h=Object.defineProperties,g=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))k.call(t,n)&&x(e,n,t[n]);return e},_=(e,t)=>h(e,m(t)),E=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},C=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=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 s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=o[s])}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 s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],a||s);var l=t[s],u=r.util.type(l);"Object"!==u||o[i(l)]?"Array"!==u||o[i(l)]||(o[i(l)]=!0,e(l,n,s,o)):(o[i(l)]=!0,e(l,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return 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 s;return l(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;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,s,c,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var h=0;h<f.length;++h){if(d&&d.cause==p+","+h)return;var g=f[h],m=g.inside,y=!!g.lookbehind,b=!!g.greedy,v=g.alias;if(b&&!g.pattern.global){var w=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,w+"g")}for(var k=g.pattern||g,x=s.next,S=c;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var _=x.value;if(t.length>e.length)return;if(!(_ instanceof a)){var E,C=1;if(b){if(!(E=o(k,S,e,y))||E.index>=e.length)break;var A=E.index,T=E.index+E[0].length,N=S;for(N+=x.value.length;A>=N;)N+=(x=x.next).value.length;if(S=N-=x.value.length,x.value instanceof a)continue;for(var j=x;j!==t.tail&&(N<T||"string"==typeof j.value);j=j.next)C++,N+=j.value.length;C--,_=e.slice(S,N),E.index-=S}else if(!(E=o(k,0,_,y)))continue;A=E.index;var O=E[0],P=_.slice(0,A),R=_.slice(A+O.length),L=S+_.length;d&&L>d.reach&&(d.reach=L);var I=x.prev;if(P&&(I=l(t,I,P),S+=P.length),u(t,I,C),x=l(t,I,new a(p,m?r.tokenize(O,m):O,v,O)),R&&l(t,x,R),C>1){var F={cause:p+","+h,reach:L};i(e,t,n,x.prev,S,F),d&&F.reach>d.reach&&(d.reach=F.reach)}}}}}}function s(){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 l(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 s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[y(r)[0]])((a={exports:{}}).exports,a),a.exports}),A=((e,t,n)=>(n=null!=e?p(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of y(t))w.call(e,a)||a===n||f(e,a,{get:()=>t[a],enumerable:!(r=g(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:f(n,"default",{value:e,enumerable:!0}),e)))(C());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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},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;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:A.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:A.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},A.languages.insertBefore("markup","cdata",t)}}),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,o=A,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l="(?:[^\\\\-]|"+(s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",l=RegExp(l+"-"+l),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},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.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:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),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,A.languages.actionscript=A.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),A.languages.actionscript["class-name"].alias="function",delete A.languages.actionscript.parameter,delete A.languages.actionscript["literal-property"],A.languages.markup&&A.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:A.languages.markup}}),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=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(A),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),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,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(A),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(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("\\[(?:[^[\\]\"']|"+t.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":[t,{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}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{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|RebeccaPurple|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:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(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,i=(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,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(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];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var u,c=e.languages[n];c?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n)):s[t]||e})),c,n):n&&"none"!==n&&e.plugins.autoloader&&(u="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=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=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,f(c(0),"property-mutation"),0<a.length)){var s=p(/^\{$/,/^\}$/);if(-1!==s)for(var l=n;l<s;l++){var u=t[l];"variable"===u.type&&0<=a.indexOf(u.content)&&f(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}return 1}function p(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0==--a)return o}return-1}function f(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 s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function l(t,n,i){var l=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},d=(l=s(l.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,l,p,f,h,g,m,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(m=(g="string"==typeof y?y:y.content).indexOf(i))&&(++u,l=g.substring(0,m),h=c[i],p=void 0,(f={})["interpolation-punctuation"]=a,3===(f=e.tokenize(h,f)).length&&((p=[1,1]).push.apply(p,s(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,h),f=g.substring(m+i.length),h=[],l&&h.push(l),h.push(p),f&&(t(g=[f]),h.push.apply(h,g)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(h)),o+=h.length-1):y.content=h)):(m=y.content,Array.isArray(m)?t(m):t([m]))}}(l),new e.Token(i,l,"language-"+i,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 u={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in u&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,s,u=n[r];"string"!=typeof u&&(o=u.content,Array.isArray(o)?"template-string"===u.type?(u=o[1],3===o.length&&"string"!=typeof u&&"embedded-code"===u.type&&(i=c(u),u=u.alias,u=Array.isArray(u)?u[0]:u,s=e.languages[u])&&(o[1]=l(i,s,u))):t(o):"string"!=typeof o&&t([o]))}}(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){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(A),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(A),A.languages.n4js=A.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),A.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),A.languages.n4jsd=A.languages.n4js,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];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["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)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:s(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=s(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=s(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}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 s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(A),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(A),A.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},A.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=A.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(A),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,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.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){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(A),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){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),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.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;((e,t)=>{for(var n in t)f(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>T,duotoneDark:()=>N,duotoneLight:()=>j,github:()=>O,gruvboxMaterialDark:()=>K,gruvboxMaterialLight:()=>Y,jettwaveDark:()=>W,jettwaveLight:()=>V,nightOwl:()=>P,nightOwlLight:()=>R,oceanicNext:()=>F,okaidia:()=>M,oneDark:()=>q,oneLight:()=>G,palenight:()=>D,shadesOfPurple:()=>z,synthwave84:()=>B,ultramin:()=>$,vsDark:()=>U,vsLight:()=>H});var T={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)"}}]},N={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"}}]},j={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{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:"#896724"}}]},O={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"}}]},P={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},R={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},L="#c5a5c5",I="#8dc891",F={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:L}},{types:["attr-value"],style:{color:I}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:I}},{types:["punctuation"],style:{color:I}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:L}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},M={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},D={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},z={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},B={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},$={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},U={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},H={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},W={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},V={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},q={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{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:"hsl(220, 14%, 71%)"}}]},G={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{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:"hsl(230, 8%, 24%)"}}]},K={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},Y={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},Q=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=_(S({},n),{backgroundColor:void 0}),r},Z=/\r\n|\r|\n/,X=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},J=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},ee=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,u=t[i];const c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=J(u,c.type),c.alias&&(u=J(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(Z),p=d.length;s.push({types:u,content:d[0]});for(let t=1;t<p;t++)X(s),l.push(s=[]),s.push({types:u,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return X(s),l},te=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(Q(t,e)),a=(0,c.useRef)(),o=(0,c.useRef)();return(0,c.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(Q(t,e)))}),[e,t]),n})(o,r),s=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=E(n,["className","style","line"]);const s=_(S({},i),{className:(0,d.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof a&&(s.style=S(S({},s.style||{}),a)),s}),[e]))(i),l=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=E(n,["token","className","style"]);const s=_(S({},i),{className:(0,d.A)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(s.style=S(S({},s.style||{}),o)),s}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return ee([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),ee(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:u,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},ne=e=>(0,c.createElement)(te,_(S({},e),{prism:e.prism||A,theme:e.theme||U,code:e.code,language:e.language}))},11561:(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)}}},31635:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>I,__assign:()=>o,__asyncDelegator:()=>E,__asyncGenerator:()=>_,__asyncValues:()=>C,__await:()=>S,__awaiter:()=>h,__classPrivateFieldGet:()=>P,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>R,__createBinding:()=>m,__decorate:()=>s,__disposeResources:()=>M,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>a,__generator:()=>g,__importDefault:()=>O,__importStar:()=>j,__makeTemplateObject:()=>A,__metadata:()=>f,__param:()=>l,__propKey:()=>d,__read:()=>v,__rest:()=>i,__rewriteRelativeImportExtension:()=>D,__runInitializers:()=>c,__setFunctionName:()=>p,__spread:()=>w,__spreadArray:()=>x,__spreadArrays:()=>k,__values:()=>b,default:()=>z});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},o.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function s(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var g in r)h[g]="access"===g?{}:r[g];for(var g in r.access)h.access[g]=r.access[g];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var m=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[u],h);if("accessor"===l){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw new TypeError("Object expected");(s=i(m.get))&&(d.get=s),(s=i(m.set))&&(d.set=s),(s=i(m.init))&&a.unshift(s)}else(s=i(m))&&("field"===l?a.unshift(s):d[u]=s)}c&&Object.defineProperty(c,r.name,d),p=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}function g(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(l){s=[6,l],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var m=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||m(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function k(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,s=o.length;i<s;i++,a++)r[a]=o[i];return r}function x(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",(function(e){return function(t){return Promise.resolve(t).then(e,u)}})),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=a[e](t)).value instanceof S?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(r){c(o[0][3],r)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function E(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function A(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},N=function(e){return N=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},N(e)};function j(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=N(e),r=0;r<n.length;r++)"default"!==n[r]&&m(t,e,n[r]);return T(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function R(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,a;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var F="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new F(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,(function(e){return t(e),a()}))}else r|=1}catch(i){t(i)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function D(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,r,a,o){return n?t?".jsx":".js":!r||a&&o?r+a+"."+o.toLowerCase()+"js":e})):e}const z={__extends:a,__assign:o,__rest:i,__decorate:s,__param:l,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:p,__metadata:f,__awaiter:h,__generator:g,__createBinding:m,__exportStar:y,__values:b,__read:v,__spread:w,__spreadArrays:k,__spreadArray:x,__await:S,__asyncGenerator:_,__asyncDelegator:E,__asyncValues:C,__makeTemplateObject:A,__importStar:j,__importDefault:O,__classPrivateFieldGet:P,__classPrivateFieldSet:R,__classPrivateFieldIn:L,__addDisposableResource:I,__disposeResources:M,__rewriteRelativeImportExtension:D}},22654:e=>{"use strict";e.exports={}},84054:e=>{"use strict";e.exports=JSON.parse('{"/nr-pies/pr-preview/pr-4/markdown-page-1d8":{"__comp":"1f391b9e","__context":{"plugin":"a7456010"},"content":"393be207"},"/nr-pies/pr-preview/pr-4/docs-ce4":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/nr-pies/pr-preview/pr-4/docs-8b3":{"__comp":"a7bd4aaa","__props":"c5bc9321"},"/nr-pies/pr-preview/pr-4/docs/tags-77a":{"__comp":"3720c009","__props":"05b87bb5"},"/nr-pies/pr-preview/pr-4/docs/tags/business-e98":{"__comp":"df203c0f","__props":"6e1e6756"},"/nr-pies/pr-preview/pr-4/docs/tags/developer-b0b":{"__comp":"df203c0f","__props":"17e78993"},"/nr-pies/pr-preview/pr-4/docs/tags/executive-a44":{"__comp":"df203c0f","__props":"d1f37175"},"/nr-pies/pr-preview/pr-4/docs-509":{"__comp":"a94703ab"},"/nr-pies/pr-preview/pr-4/docs/category/data-types-994":{"__comp":"14eb3368","__props":"8f2efedb"},"/nr-pies/pr-preview/pr-4/docs/category/tutorial---basics-b0d":{"__comp":"14eb3368","__props":"8199c9e1"},"/nr-pies/pr-preview/pr-4/docs/category/tutorial---extras-c61":{"__comp":"14eb3368","__props":"ad42e095"},"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro-b56":{"__comp":"17896441","content":"21038ea1"},"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations-ef5":{"__comp":"17896441","content":"40a9f62a"},"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post-40a":{"__comp":"17896441","content":"455d01c6"},"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document-9ea":{"__comp":"17896441","content":"54329717"},"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page-fc0":{"__comp":"17896441","content":"34829b29"},"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site-683":{"__comp":"17896441","content":"72af4c84"},"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features-e51":{"__comp":"17896441","content":"14622022"},"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions-474":{"__comp":"17896441","content":"9604fc81"},"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site-2d7":{"__comp":"17896441","content":"fe557f77"},"/nr-pies/pr-preview/pr-4/docs/intro/getting_started-a77":{"__comp":"17896441","content":"21cb2624"},"/nr-pies/pr-preview/pr-4/docs/intro/terminology-5c2":{"__comp":"17896441","content":"b06371b7"},"/nr-pies/pr-preview/pr-4/docs/spec/data/code-096":{"__comp":"17896441","content":"bb64f159"},"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id-e0e":{"__comp":"17896441","content":"992aa281"},"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle-189":{"__comp":"17896441","content":"fa6dc6d9"},"/nr-pies/pr-preview/pr-4/docs/spec/formatting-36e":{"__comp":"17896441","content":"5187c925"},"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types-a12":{"__comp":"17896441","content":"6cca1acc"},"/nr-pies/pr-preview/pr-4/-9d3":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[1869],(()=>{return t=77815,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/pr-preview/pr-4/assets/js/main.7f885d85.js.LICENSE.txt b/pr-preview/pr-4/assets/js/main.7f885d85.js.LICENSE.txt new file mode 100644 index 0000000..ae63de0 --- /dev/null +++ b/pr-preview/pr-4/assets/js/main.7f885d85.js.LICENSE.txt @@ -0,0 +1,71 @@ +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */ + +/*! Bundled license information: + +prismjs/prism.js: + (** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT <https://opensource.org/licenses/MIT> + * @author Lea Verou <https://lea.verou.me> + * @namespace + * @public + *) +*/ + +/*!*************************************************** +* mark.js v8.11.1 +* https://markjs.io/ +* Copyright (c) 2014–2018, Julian Kühnel +* Released under the MIT license https://git.io/vwTVl +*****************************************************/ + +/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/pr-preview/pr-4/assets/js/runtime~main.e47fba27.js b/pr-preview/pr-4/assets/js/runtime~main.e47fba27.js new file mode 100644 index 0000000..0288b3a --- /dev/null +++ b/pr-preview/pr-4/assets/js/runtime~main.e47fba27.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,a,r,t,f,b={},c={};function d(e){var a=c[e];if(void 0!==a)return a.exports;var r=c[e]={id:e,loaded:!1,exports:{}};return b[e].call(r.exports,r,r.exports,d),r.loaded=!0,r.exports}d.m=b,e=[],d.O=(a,r,t,f)=>{if(!r){var b=1/0;for(i=0;i<e.length;i++){r=e[i][0],t=e[i][1],f=e[i][2];for(var c=!0,o=0;o<r.length;o++)(!1&f||b>=f)&&Object.keys(d.O).every((e=>d.O[e](r[o])))?r.splice(o--,1):(c=!1,f<b&&(b=f));if(c){e.splice(i--,1);var n=t();void 0!==n&&(a=n)}}return a}f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[r,t,f]},d.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return d.d(a,{a:a}),a},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var f=Object.create(null);d.r(f);var b={};a=a||[null,r({}),r([]),r(r)];for(var c=2&t&&e;"object"==typeof c&&!~a.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,d.d(f,b),f},d.d=(e,a)=>{for(var r in a)d.o(a,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((a,r)=>(d.f[r](e,a),a)),[])),d.u=e=>"assets/js/"+({143:"455d01c6",190:"17e78993",522:"40a9f62a",814:"34829b29",1170:"6cca1acc",1235:"a7456010",1535:"ad42e095",1806:"6e1e6756",2054:"8199c9e1",2400:"bb64f159",2484:"21038ea1",2687:"54329717",3744:"fa6dc6d9",3929:"5187c925",3959:"8f2efedb",4134:"393be207",4279:"df203c0f",4583:"1df93b7f",4634:"14622022",4787:"3720c009",5514:"72af4c84",5525:"c5bc9321",5742:"aba21aa0",5932:"05b87bb5",6061:"1f391b9e",6789:"21cb2624",6969:"14eb3368",7098:"a7bd4aaa",7631:"d1f37175",7970:"992aa281",7979:"fe557f77",8401:"17896441",8797:"b06371b7",9048:"a94703ab",9182:"9604fc81",9647:"5e95c892"}[e]||e)+"."+{143:"aea90293",155:"06026f0e",165:"85ee84fd",190:"45f14e56",484:"8846d316",522:"680115b2",814:"eca9e1ff",890:"bcbfd82b",921:"8f45f350",1170:"afadabf2",1186:"b65885c9",1235:"06c1e8cf",1477:"7b88a9c9",1535:"71b9bbf0",1689:"0795ec2d",1711:"345f666c",1806:"c5943d84",2054:"42112c81",2130:"f1b8e328",2237:"2b53a28c",2247:"0759aeee",2334:"2951ae81",2387:"b11c70d9",2400:"6ad32d9f",2484:"50b46e37",2687:"92822be8",2763:"58608ee6",3364:"94ea38b4",3624:"620ea5f6",3744:"01659d48",3840:"f77930a9",3929:"f17695ed",3959:"ede8d293",4134:"f3966a2b",4279:"3182a1a8",4445:"91751e37",4449:"e3b9ca01",4583:"87728038",4634:"8b796dcb",4787:"e2b01194",5514:"6a6710b2",5525:"b48ab5c3",5606:"fd9bf99f",5742:"75b1d822",5932:"1f1439eb",6061:"b5d7e9e4",6452:"bace0bcc",6789:"d42903cb",6790:"d5dab092",6969:"a7786171",7032:"23e0aa7e",7060:"3b7c8f1f",7098:"747812dd",7357:"f25f5f38",7595:"5909c0c9",7631:"3727efc3",7723:"1adfea2d",7970:"047c5467",7979:"0eca603f",8059:"992962bf",8130:"d821de8e",8174:"ab202f7a",8379:"b8ce37bf",8401:"6af3a9e6",8496:"e8df3194",8577:"685a59ac",8591:"1010223b",8731:"29dc2c48",8797:"60a2e3d7",8998:"4940cf90",9048:"bc4cf35f",9182:"de35df8d",9278:"861d4e83",9368:"4d307d9f",9647:"acbc3991",9664:"1be9bad6",9720:"33074bd7",9802:"fdc56fc9",9875:"304bb0f8"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),t={},f="nr-pies:",d.l=(e,a,r,b)=>{if(t[e])t[e].push(a);else{var c,o;if(void 0!==r)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var l=n[i];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==f+r){c=l;break}}c||(o=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,d.nc&&c.setAttribute("nonce",d.nc),c.setAttribute("data-webpack",f+r),c.src=e),t[e]=[a];var u=(a,r)=>{c.onerror=c.onload=null,clearTimeout(s);var f=t[e];if(delete t[e],c.parentNode&&c.parentNode.removeChild(c),f&&f.forEach((e=>e(r))),a)return a(r)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),o&&document.head.appendChild(c)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),d.p="/nr-pies/pr-preview/pr-4/",d.gca=function(e){return e={14622022:"4634",17896441:"8401",54329717:"2687","455d01c6":"143","17e78993":"190","40a9f62a":"522","34829b29":"814","6cca1acc":"1170",a7456010:"1235",ad42e095:"1535","6e1e6756":"1806","8199c9e1":"2054",bb64f159:"2400","21038ea1":"2484",fa6dc6d9:"3744","5187c925":"3929","8f2efedb":"3959","393be207":"4134",df203c0f:"4279","1df93b7f":"4583","3720c009":"4787","72af4c84":"5514",c5bc9321:"5525",aba21aa0:"5742","05b87bb5":"5932","1f391b9e":"6061","21cb2624":"6789","14eb3368":"6969",a7bd4aaa:"7098",d1f37175:"7631","992aa281":"7970",fe557f77:"7979",b06371b7:"8797",a94703ab:"9048","9604fc81":"9182","5e95c892":"9647"}[e]||e,d.p+d.u(e)},(()=>{var e={5354:0,1869:0};d.f.j=(a,r)=>{var t=d.o(e,a)?e[a]:void 0;if(0!==t)if(t)r.push(t[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var f=new Promise(((r,f)=>t=e[a]=[r,f]));r.push(t[2]=f);var b=d.p+d.u(a),c=new Error;d.l(b,(r=>{if(d.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var f=r&&("load"===r.type?"missing":r.type),b=r&&r.target&&r.target.src;c.message="Loading chunk "+a+" failed.\n("+f+": "+b+")",c.name="ChunkLoadError",c.type=f,c.request=b,t[1](c)}}),"chunk-"+a,a)}},d.O.j=a=>0===e[a];var a=(a,r)=>{var t,f,b=r[0],c=r[1],o=r[2],n=0;if(b.some((a=>0!==e[a]))){for(t in c)d.o(c,t)&&(d.m[t]=c[t]);if(o)var i=o(d)}for(a&&a(r);n<b.length;n++)f=b[n],d.o(e,f)&&e[f]&&e[f][0](),e[f]=0;return d.O(i)},r=self.webpackChunknr_pies=self.webpackChunknr_pies||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})(); \ No newline at end of file diff --git a/pr-preview/pr-4/docs/category/data-types.html b/pr-preview/pr-4/docs/category/data-types.html new file mode 100644 index 0000000..d104b9d --- /dev/null +++ b/pr-preview/pr-4/docs/category/data-types.html @@ -0,0 +1,13 @@ +<!doctype html> +<html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page" data-has-hydrated="false"> +<head> +<meta charset="UTF-8"> +<meta name="generator" content="Docusaurus v3.6.3"> +<title data-rh="true">Data Types | Permitting Interoperability Exchange Specification + + + + + + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/category/tutorial---basics.html b/pr-preview/pr-4/docs/category/tutorial---basics.html new file mode 100644 index 0000000..99da5dc --- /dev/null +++ b/pr-preview/pr-4/docs/category/tutorial---basics.html @@ -0,0 +1,13 @@ + + + + + +Tutorial - Basics | Permitting Interoperability Exchange Specification + + + + + + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/category/tutorial---extras.html b/pr-preview/pr-4/docs/category/tutorial---extras.html new file mode 100644 index 0000000..0d2ae60 --- /dev/null +++ b/pr-preview/pr-4/docs/category/tutorial---extras.html @@ -0,0 +1,13 @@ + + + + + +Tutorial - Extras | Permitting Interoperability Exchange Specification + + + + + + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/docusaurus/intro.html b/pr-preview/pr-4/docs/docusaurus/intro.html new file mode 100644 index 0000000..c76c7de --- /dev/null +++ b/pr-preview/pr-4/docs/docusaurus/intro.html @@ -0,0 +1,45 @@ + + + + + +Tutorial Intro | Permitting Interoperability Exchange Specification + + + + +

    Tutorial Intro

    +

    Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get +started, please review the following:

    + +

    Everything else below this line includes the original tutorial documentation for setting up and using Docusaurus.

    +
    +

    Let's discover Docusaurus in less than 5 minutes.

    +

    Getting Started

    +

    Get started by creating a new site.

    +

    Or try Docusaurus immediately with docusaurus.new.

    +

    What you'll need

    +
      +
    • Node.js version 18.0 or above: +
        +
      • When installing Node.js, you are recommended to check all checkboxes related to dependencies.
      • +
      +
    • +
    +

    Generate a new site

    +

    Generate a new Docusaurus site using the classic template.

    +

    The classic template will automatically be added to your project after you run the command:

    +
    npm init docusaurus@latest my-website classic
    +

    You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

    +

    The command also installs all necessary dependencies you need to run Docusaurus.

    +

    Start your site

    +

    Run the development server:

    +
    cd my-website
    npm run start
    +

    The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

    +

    The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.

    +

    Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations.html b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations.html new file mode 100644 index 0000000..21ffeac --- /dev/null +++ b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations.html @@ -0,0 +1,27 @@ + + + + + +Congratulations! | Permitting Interoperability Exchange Specification + + + + +

    Congratulations!

    +

    You have just learned the basics of Docusaurus and made some changes to the initial template.

    +

    Docusaurus has much more to offer!

    +

    Have 5 more minutes? Take a look at versioning and i18n.

    +

    Anything unclear or buggy in this tutorial? Please report it!

    +

    What's next?

    +
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post.html b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post.html new file mode 100644 index 0000000..5fedf8c --- /dev/null +++ b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post.html @@ -0,0 +1,18 @@ + + + + + +Create a Blog Post | Permitting Interoperability Exchange Specification + + + + +

    Create a Blog Post

    +

    Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...

    +

    Create your first Post

    +

    Create a file at blog/2021-02-28-greetings.md:

    +
    blog/2021-02-28-greetings.md
    ---
    slug: greetings
    title: Greetings!
    authors:
    - name: Joel Marcey
    title: Co-creator of Docusaurus 1
    url: https://github.com/JoelMarcey
    image_url: https://github.com/JoelMarcey.png
    - name: Sébastien Lorber
    title: Docusaurus maintainer
    url: https://sebastienlorber.com
    image_url: https://github.com/slorber.png
    tags: [greetings]
    ---

    Congratulations, you have made your first post!

    Feel free to play around and edit this post as much as you like.
    +

    A new blog post is now available at http://localhost:3000/blog/greetings.

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document.html b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document.html new file mode 100644 index 0000000..342a871 --- /dev/null +++ b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document.html @@ -0,0 +1,29 @@ + + + + + +Create a Document | Permitting Interoperability Exchange Specification + + + + +

    Create a Document

    +

    Documents are groups of pages connected through:

    +
      +
    • a sidebar
    • +
    • previous/next navigation
    • +
    • versioning
    • +
    +

    Create your first Doc

    +

    Create a Markdown file at docs/hello.md:

    +
    docs/hello.md
    # Hello

    This is my **first Docusaurus document**!
    +

    A new document is now available at http://localhost:3000/docs/hello.

    +

    Configure the Sidebar

    +

    Docusaurus automatically creates a sidebar from the docs folder.

    +

    Add metadata to customize the sidebar label and position:

    +
    docs/hello.md
    ---
    sidebar_label: 'Hi!'
    sidebar_position: 3
    ---

    # Hello

    This is my **first Docusaurus document**!
    +

    It is also possible to create your sidebar explicitly in sidebars.js:

    +
    sidebars.js
    export default {
    tutorialSidebar: [
    'intro',
    'hello',
    {
    type: 'category',
    label: 'Tutorial',
    items: ['tutorial_basics/create-a-document']
    }
    ]
    };
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page.html b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page.html new file mode 100644 index 0000000..2d8fa1c --- /dev/null +++ b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page.html @@ -0,0 +1,34 @@ + + + + + +Create a Page | Permitting Interoperability Exchange Specification + + + + +

    Create a Page

    +

    Add Markdown or React files to src/pages to create a standalone page:

    +
      +
    • src/pages/index.jslocalhost:3000/
    • +
    • src/pages/foo.mdlocalhost:3000/foo
    • +
    • src/pages/foo/bar.jslocalhost:3000/foo/bar
    • +
    +
    +
      +
    • Please use snake_case when naming files with multiple subjects in order to be consistent with the rest of the +repository.
    • +
    • When you create a new .md or .mdx file, please make sure to add in the appropriate +Front Matter so that your content is properly categorized.
    • +
    +

    Create your first React Page

    +

    Create a file at src/pages/my-react-page.js:

    +
    src/pages/my-react-page.js
    import React from 'react';
    import Layout from '@theme/Layout';

    export default function MyReactPage() {
    return (
    <Layout>
    <h1>My React page</h1>
    <p>This is a React page</p>
    </Layout>
    );
    }
    +

    A new page is now available at http://localhost:3000/my-react-page.

    +

    Create your first Markdown Page

    +

    Create a file at src/pages/my-markdown-page.md:

    +
    src/pages/my-markdown-page.md
    # My Markdown page

    This is a Markdown page
    +

    A new page is now available at http://localhost:3000/my-markdown-page.

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site.html b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site.html new file mode 100644 index 0000000..a0745b2 --- /dev/null +++ b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site.html @@ -0,0 +1,24 @@ + + + + + +Deploy your site | Permitting Interoperability Exchange Specification + + + + +

    Deploy your site

    +

    Docusaurus is a static-site-generator (also called Jamstack).

    +

    It builds your site as simple static HTML, JavaScript and CSS files.

    +

    Build your site

    +

    Build your site for production:

    +
    npm run build
    +

    The static files are generated in the build folder.

    +

    Deploy your site

    +

    Test your production build locally:

    +
    npm run serve
    +

    The build folder is now served at http://localhost:3000/.

    +

    You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features.html b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features.html new file mode 100644 index 0000000..7fe0ec3 --- /dev/null +++ b/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features.html @@ -0,0 +1,60 @@ + + + + + +Markdown Features | Permitting Interoperability Exchange Specification + + + + +

    Markdown Features

    +

    Docusaurus supports Markdown and a few additional +features.

    +

    Front Matter

    +

    Markdown documents have metadata at the top called Front Matter:

    +
    my-doc.md
    ---
    id: my_doc_id
    title: My document title
    description: My document description
    slug: /my-custom-url
    tags:
    - developer
    ---

    ## Markdown heading

    Markdown text with [links](./hello.md)
    +

    We recommend that all markdown pages should have at minimum a title, description and tags array defined. An id +may be specified, but can be derived off of the filename when omitted.

    + +

    Regular Markdown links are supported, using url paths or relative file paths.

    +
    Let's see how to [Create a page](/create_a_page).
    +
    Let's see how to [Create a page](./create_a_page.md).
    +

    Result: Let's see how to Create a page.

    +

    Images

    +

    Regular Markdown images are supported.

    +

    You can use absolute paths to reference images in the static directory (static/img/docusaurus.png):

    +
    ![Docusaurus logo](/img/docusaurus.png)
    +

    Docusaurus logo

    +

    You can reference images relative to the current file as well. This is particularly useful to colocate images close to +the Markdown files using them:

    +
    ![Docusaurus logo](./img/docusaurus.png)
    +

    Code Blocks

    +

    Markdown code blocks are supported with Syntax highlighting.

    +
    ```jsx title="src/components/HelloDocusaurus.js"
    function HelloDocusaurus() {
    return <h1>Hello, Docusaurus!</h1>;
    }
    ```
    +
    src/components/HelloDocusaurus.js
    function HelloDocusaurus() {
    return <h1>Hello, Docusaurus!</h1>;
    }
    +

    Admonitions

    +

    Docusaurus has a special syntax to create admonitions and callouts:

    +
    :::tip[My tip]

    Use this awesome feature option

    :::

    :::danger[Take care]

    This action is dangerous

    :::
    +
    My tip

    Use this awesome feature option

    +
    Take care

    This action is dangerous

    +

    Mermaid Graphs

    +

    Our Docusaurus instance supports diagramming and charting through Mermaid. The following +are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, +visit their documentation for more details under the Diagram Syntax section on the +sidebar.

    +

    State Machine

    +
    ```mermaid
    graph TD
    A-->B
    A-->C
    B-->D
    C-->D
    ```
    + +

    Flowchart

    +
    ```mermaid
    graph LR
    A[PIES] -->|Get spec| B(Stakeholder approval)
    B --> C{Purpose}
    B --> G[/Further Analysis/]
    C ==>|One| D[Document Exchange]
    C -->|Two| E[Event Alerts]
    C -->|Three| F[Aggregation]
    subgraph identification
    A
    B
    end
    subgraph execution
    C
    D
    E
    F
    G
    end
    ```
    + +

    MDX and React Components

    +

    MDX can make your documentation more interactive and allows using any React components +inside Markdown:

    +
    export const Highlight = ({children, color}) => (
    <span
    style={{
    backgroundColor: color,
    borderRadius: '20px',
    color: '#fff',
    padding: '10px',
    cursor: 'pointer',
    }}
    onClick={() => {
    alert(`You clicked the color ${color} with label ${children}`)
    }}>
    {children}
    </span>
    );

    This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !

    This is <Highlight color="#1877F2">Facebook blue</Highlight> !
    + +

    This is Docusaurus green !

    +

    This is Facebook blue !

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions.html b/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions.html new file mode 100644 index 0000000..ce0b1ec --- /dev/null +++ b/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions.html @@ -0,0 +1,35 @@ + + + + + +Manage Docs Versions | Permitting Interoperability Exchange Specification + + + + +

    Manage Docs Versions

    +

    Docusaurus can manage multiple versions of your docs.

    +

    Create a docs version

    +

    Release a version 1.0 of your project:

    +
    npm run docusaurus docs:version 1.0
    +

    The docs folder is copied into versioned_docs/version-1.0 and versions.json is created.

    +

    Your docs now have 2 versions:

    +
      +
    • 1.0 at http://localhost:3000/docs/ for the version 1.0 docs
    • +
    • current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs
    • +
    +

    Add a Version Dropdown

    +

    To navigate seamlessly across versions, add a version dropdown.

    +

    Modify the docusaurus.config.js file:

    +
    docusaurus.config.js
    export default {
    themeConfig: {
    navbar: {
    items: [
    {
    type: "docsVersionDropdown",
    },
    ],
    },
    },
    };
    +

    The docs version dropdown appears in your navbar:

    +

    Docs Version Dropdown

    +

    Update an existing version

    +

    It is possible to edit versioned docs in their respective folder:

    +
      +
    • versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello
    • +
    • docs/hello.md updates http://localhost:3000/docs/next/hello
    • +
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site.html b/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site.html new file mode 100644 index 0000000..22205d7 --- /dev/null +++ b/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site.html @@ -0,0 +1,37 @@ + + + + + +Translate your site | Permitting Interoperability Exchange Specification + + + + +

    Translate your site

    +

    Let's translate docs/intro.md to French.

    +

    Configure i18n

    +

    Modify docusaurus.config.js to add support for the fr locale:

    +
    docusaurus.config.js
    export default {
    i18n: {
    defaultLocale: 'en',
    locales: ['en', 'fr'],
    },
    };
    +

    Translate a doc

    +

    Copy the docs/intro.md file to the i18n/fr folder:

    +
    mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/

    cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md
    +

    Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.

    +

    Start your localized site

    +

    Start your site on the French locale:

    +
    npm run start -- --locale fr
    +

    Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated.

    +
    caution

    In development, you can only use one locale at a time.

    +

    Add a Locale Dropdown

    +

    To navigate seamlessly across languages, add a locale dropdown.

    +

    Modify the docusaurus.config.js file:

    +
    docusaurus.config.js
    export default {
    themeConfig: {
    navbar: {
    items: [
    {
    type: 'localeDropdown',
    },
    ],
    },
    },
    };
    +

    The locale dropdown now appears in your navbar:

    +

    Locale Dropdown

    +

    Build your localized site

    +

    Build your site for a specific locale:

    +
    npm run build -- --locale fr
    +

    Or build your site to include all the locales at once:

    +
    npm run build
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/intro/getting_started.html b/pr-preview/pr-4/docs/intro/getting_started.html new file mode 100644 index 0000000..eafc506 --- /dev/null +++ b/pr-preview/pr-4/docs/intro/getting_started.html @@ -0,0 +1,84 @@ + + + + + +Getting Started | Permitting Interoperability Exchange Specification + + + + +

    Getting Started

    Welcome! This site repository contains common schemas related to permitting in the Natural Resources Sector for the +Province of British Columbia. The intent of these are to standardize the way permitting in the Natural Resource Sector +is described as data to enable quality and interoperability.

    +

    Hosting this specification in the open will encourage collaboration, adoption and enable versioning.

    +

    These will be reviewed and updated with relevant partners, data custodians, stewards and sector permitting teams.

    +

    Purpose

    +

    Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as +many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting +reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems +can't integrate without a common language.

    +

    This standard specifies the foundational set of core descriptive data types and elements required to enable the +compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the +purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for +policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on +permitting.

    +

    Objectives

    +

    The main objective of PIES is to deliver a published specification to enable better data quality and system +interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or +usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes +across the sector.

    +
      +
    • Make it easier to connect and work with the information in different permitting systems. +
        +
      • Reduce the effort and cost of systems integrations and automation.
      • +
      • Unlock the ability to provide consistent progress tracking to proponents.
      • +
      +
    • +
    • Create technical guidelines that help various systems communicate smoothly and consistently.
    • +
    • Support different ways for systems to communicate with each other.
    • +
    • Unlock potential for evidence-based policy and transformative potential of AI.
    • +
    +

    Getting Everyone on the Same Page

    +
      +
    • Set up a working group for people interested to contribute and adopt PIES. See MS Teams.
    • +
    • Create clear rules for data governance.
    • +
    • Develop a common language so everyone understands the same terms.
    • +
    • Gather feedback to ensure data is represented accurately and clearly.
    • +
    +

    Documentation

    +
      +
    • Share best practices for documenting government data standards.
    • +
    • Identify and list common permitting concepts and data types.
    • +
    • Create a plan for implementing solutions using transformations and microservices.
    • +
    +

    And of course, PIES are delicious! 😄

    +

    Goals

    +
      +
    • Enable a cross sector view +
        +
      • Through appropriate data access
      • +
      • Creates a single point of validated reporting
      • +
      +
    • +
    • Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement +
        +
      • Data quality
      • +
      • Data and information consistency
      • +
      • Identify processing times
      • +
      • Data harmonization cross sector level reporting
      • +
      • Activity bundling and linking
      • +
      • Coordinated First Nations Consultation
      • +
      +
    • +
    +

    Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to +achieve interoperability (the ability for the systems to understand the key elements of information they need to share +and talk to each other in a common language).

    +

    An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will +focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems +into the data standards.

    +

    Schemas

    +

    TBD

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/intro/terminology.html b/pr-preview/pr-4/docs/intro/terminology.html new file mode 100644 index 0000000..ac19286 --- /dev/null +++ b/pr-preview/pr-4/docs/intro/terminology.html @@ -0,0 +1,38 @@ + + + + + +Terminology | Permitting Interoperability Exchange Specification + + + + +

    Terminology

    This page provides an overview and guide to the PIES resources, operations and concepts used for representing and +communicating coded, structured data within this specification. Collectively, these concepts are used to provide a +common definition and framework for traversing the coded concepts within PIES.

    +

    Acronyms

    +
    TermDefinition
    LOBLine of Business
    +

    Concepts

    +

    The following terms outline the main concepts used within this specification and aim to provide a common lexicon for +understanding and terminology usage.

    +

    Actors

    +

    This section discusses the various roles that a person, group or an organization may act as within the context of PIES.

    +
    TermDefinition
    ApplicantA person, group or organization seeking an authorization to perform a set of activities.
    Decision MakerA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions.
    Interested PartyA person, or group which may be impacted by an authorization decision.
    Local GovernmentA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction.
    NavigatorAn established role which focuses on delivering dedicated support to applicants on application submissions.
    ProponentA synonym for an applicant.
    Referral AgencyA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application.
    Subject Matter ExpertA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy.
    +

    Definitions

    +

    This section outlines the definitions and common vocabulary used for representing specific concepts within PIES.

    +
    TermDefinition???
    ActivityA single, specific defined intent of action an area of intent. An activity may require one or more authorizations, e.g., a housing development project.
    Activity BundlingThe act of identifying the set of permits required for a certain activity.This should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship
    ApplicationA submitted form(s) with the intent to obtain or amend an authorization.This might be getting muddled with the concept of a project.
    Area of IntentA set of one or more parcels which define the location(s) an activity is to be performed.
    AuthorizationThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.We might need to expand this definition over time as this is the formal umbrella term for many things.
    CaseloadWork happening with the LOB to facilitate, capture and maintain a permit.
    DispositionThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.First attempt at defining - needs review
    ParcelA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.Rephrased from LTSA page
    PermitAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization.
    ProjectA set of applications required for a permitIs this a fancy synonym for an activity bundle?
    SubmissionThe completed output of a single form as answered by an applicant.Add a note like "Submissions require an adjective declaring their application context"?
    WorkloadA quantifiable measurement of the number of client-driven applications in the queue.
    +

    The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they +interact with specific parts of the process.

    + +

    Process Tracking

    +

    This section outlines the definitions and common vocabulary used for representing specific concepts within a process.

    +
    TermDefinition???
    LifecycleRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.Highest level concept; answers the "why"
    PhaseA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.Defines an ordering of related stages.
    StageA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.Provides an ordering of higher level states within a phase of work
    StateA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.Larger general "where is this at" concept
    StatusA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.Detailed "what is happening now" concept
    +

    The following diagram outlines a high level categorization map between all of the process terms and how they relate to +each other.

    + +

    Structure

    +

    The following terms describe the structural definitions of the specification ordered from specific to general.

    +
    TermDefinition
    Data TypeA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date.
    IdentifiersIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations.
    VocabularyA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher."
    SchemaA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema.
    FormatThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML.
    APIAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web.
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/spec/data/code.html b/pr-preview/pr-4/docs/spec/data/code.html new file mode 100644 index 0000000..0c01eeb --- /dev/null +++ b/pr-preview/pr-4/docs/spec/data/code.html @@ -0,0 +1,25 @@ + + + + + +Code | Permitting Interoperability Exchange Specification + + + + +

    Code

    Indicates that the value is taken from a set of controlled strings defined elsewhere. Technically, a code is restricted +to a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace +other than single spaces in the contents.

    +

    This data type is intended to represent a finite set of controlled strings which represents a specific, discrete +concept, element or idea.

    +

    Structure

    +

    Type: string

    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/spec/data/parcel_id.html b/pr-preview/pr-4/docs/spec/data/parcel_id.html new file mode 100644 index 0000000..0637a25 --- /dev/null +++ b/pr-preview/pr-4/docs/spec/data/parcel_id.html @@ -0,0 +1,42 @@ + + + + + +Parcel Identifier | Permitting Interoperability Exchange Specification + + + + +

    Parcel Identifier

    An identifier for a specific area with clear boundaries.

    +

    There a multiple ways to identify a parcel. Most common are the Parcel ID (PID) or Parcel Identification Number (PIN).

    +

    Scope

    +

    Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the +land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being +entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.

    +

    The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.

    +

    Structure

    +
      +
    • A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.
    • +
    • A Parcel Identifier may contain a legal_description and/or a parcel_name.
    • +
    +
    NameCardinalityTypeDescription & Constraints
    legal_description0..1stringThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.
    parcel_name0..1stringThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK.
    pid0..*integerParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.
    pin0..1integerThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.
    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    Parcel ID (PID)

    +

    Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During +the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes +padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes:

    +
      +
    • parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.
    • +
    • parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes.
    • +
    +

    Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type.

    +

    References

    +
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/spec/data/project_bundle.html b/pr-preview/pr-4/docs/spec/data/project_bundle.html new file mode 100644 index 0000000..b1a2852 --- /dev/null +++ b/pr-preview/pr-4/docs/spec/data/project_bundle.html @@ -0,0 +1,24 @@ + + + + + +Project Bundle | Permitting Interoperability Exchange Specification + + + + +

    Project Bundle

    A set of one or more permits related to an activity.

    +

    A project is defined by an activity with one or more permits. Grouping of a primary authorization with secondary or associated authorizations that are triggered or required by the primary authorization. For example: major mine permit (primary) and associated auxiliary (secondary) permits such as License to Cut, Water Use, and or Road Use.

    +

    Scope

    +

    This data type is intended to represent a grouping of related permits that are related to a specific activity.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    project_id1..1uuidA unique key to track all permits related to a project or activity across all permitting systems.
    project_name1..1stringShort name of the project.
    project_description0..1stringFull description of the project. This may contain information to better understand a project.
    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/spec/formatting.html b/pr-preview/pr-4/docs/spec/formatting.html new file mode 100644 index 0000000..b341265 --- /dev/null +++ b/pr-preview/pr-4/docs/spec/formatting.html @@ -0,0 +1,43 @@ + + + + + +Formatting | Permitting Interoperability Exchange Specification + + + + +

    Formatting

    Every data standard must have a core set of fundamental data types that content will be transmitted in. Since the +Permitting Interoperability Exchange Specification is built on top of the JSON Schema +standard, it will leverage the conventions specified in that standard, including +RFC 8259 which defines JSON. The PIES specification will be compliant +to the draft 07 specification of the JSON Schema standard. While there exists more recent draft versions, notably the +draft 2020-12 standard, features that were introduced after draft 07 will not be defined and used at this time in +order to maximize compatibility with implementor systems.

    +

    JSON Schema Primer

    +

    A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way +to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for +describing expected structures, describing conceptual relationships between related topics and domains

    +

    A JSON Schema will typically contain the following attributes:

    +
      +
    • $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.
    • +
    • $id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.
    • +
    • $comment - A free text field for conveying out of band information about the schema. Comments are useful for +specification readers and editors to understand further nuances for certain properties and structures, but should not +be relied upon for implementation as they may be skipped over or stripped when parsed by machines.
    • +
    • title - The intent of the schema. This should be brief and concise.
    • +
    • description - A brief description about the schema. This should provide a quick overview for the context of usage.
    • +
    • properties - A set of attributes that are expected to show up in this document type.
    • +
    • required - An array defining the set of properties that must be present for the document to be considered valid. +Anything defined that is not in this array is implied to be optional.
    • +
    • type - The type primitive constraint for the property.
    • +
    +

    References

    +
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/spec/primitive_types.html b/pr-preview/pr-4/docs/spec/primitive_types.html new file mode 100644 index 0000000..9f43a80 --- /dev/null +++ b/pr-preview/pr-4/docs/spec/primitive_types.html @@ -0,0 +1,155 @@ + + + + + +Primitive Types | Permitting Interoperability Exchange Specification + + + + +

    Primitive Types

    The JSON Schema specifies fundamental +data types +that can be used and defined within a schema.

    + +

    These types are consistent with what can be expected within the standardized JavaScript Object Notation (JSON) format +(RFC 8259). Most implementation languages support these constructs, but +may represent them with different names. We recommend referring to the +JSON schema data types documentation as a primary +source for standards representation guidance, followed by the government standards guidance and +ensuring that the content represent meets both.

    +

    String

    +

    Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as +specified in RFC 3629, which is an extension of the ISO 10646-1 +standard.

    +

    Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expression +pattern. In addition, there are common +built-in format types that a +string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation +for more detail on the available built-in format types.

    +

    Date and Time

    +

    Date and/or time formats shall be represented in +RFC 3339, section 5.6 format, also commonly known as +ISO 8601. Unless otherwise specified, date-time shall be +internally stored and represented in a format compatible with unix/epoch +time.

    +

    If the time is specified, such as when either the time or date-time formats are used, the time representations +shall be encoded in UTC time. Reference the +JSON Schema documentation for more +specific examples.

    +
    warning

    Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard.

    +

    Email

    +

    Email addresses with format email shall be represented in +RFC 5321, section 4.1.2 format. Emails may also be +conveyed in internationalized format idn-email which will be compliant to +RFC 6531. Reference the +JSON Schema documentation for more +details.

    +

    Hostname

    +

    Hostnames with format hostname shall be represented in +RFC 1123, section 2.1 format. Hostnames may also be conveyed +in internationalized format idn-hostname which will be compliant to +RFC 5890, section 2.3.2.3. Reference the +JSON Schema documentation for more +details.

    +

    IP Address

    +

    IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply with +RFC 2673, section 3.2. If IPv6 is used, it shall comply +with RFC 2373, section 2.2. Reference the +JSON Schema documentation for more +details.

    +

    Resource Identifier

    +

    Universal resource identifiers will use format uri and comply with +RFC 3986. There are other less commonly used formats described in the +JSON Schema documentation.

    +
    warning

    Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. +Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most +cases, uuid v4 will be used. When a uuid is used, it shall comply with +RFC 4122. The regular expression to be used when specifying uuids will +be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize +compatibility.

    info

    While there is RFC 9562 which extends RFC 4122 by adding in uuid +versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when +these newer uuid versions are used.

    +

    URI Template

    +

    URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters +that must be substituted in before the URI may be resolved. This should comply with +RFC 6570. Check the +JSON Schema documentation for +more details.

    +

    Regular Expression

    +

    Regular expressions with format regex should comply with the +ECMA 262 dialect. Check the +JSON Schema documentation for +more details.

    +

    Numeric

    +

    Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to +differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an +integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a number +type in lieu of the integer type for most scenarios that do not require integer level precision.

    +

    Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum, +exclusiveMinimum and exclusiveMaximum. Reference the +JSON Schema documentation for more specific +examples.

    +

    Object

    +

    Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a +key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and +structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required +and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition.

    +

    More specific details on what can be done can be found in the +JSON Schema documentation.

    +

    Array

    +

    Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, +array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to +provide a looser expectation of what kinds of elements are expected.

    +

    Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used +to describe the boundaries of the array. Reference the +JSON Schema documentation for more specific examples.

    +

    Boolean

    +

    Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other +values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first +prior to encoding. Reference the +JSON Schema documentation for more details.

    +

    Null

    +

    Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate +to the absence of a value, or undefined. Reference the +JSON Schema documentation for more details.

    +

    References

    +

    Government Standards

    + +

    Technical Standards

    + +

    Errata

    +
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/tags.html b/pr-preview/pr-4/docs/tags.html new file mode 100644 index 0000000..908a02c --- /dev/null +++ b/pr-preview/pr-4/docs/tags.html @@ -0,0 +1,13 @@ + + + + + +Tags | Permitting Interoperability Exchange Specification + + + + +
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/tags/business.html b/pr-preview/pr-4/docs/tags/business.html new file mode 100644 index 0000000..d551a81 --- /dev/null +++ b/pr-preview/pr-4/docs/tags/business.html @@ -0,0 +1,13 @@ + + + + + +2 docs tagged with "Business" | Permitting Interoperability Exchange Specification + + + + +

    2 docs tagged with "Business"

    Content related to business cases and rationale

    View all tags

    Terminology

    The definitions of specific technical terms and concepts used in PIES

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/tags/developer.html b/pr-preview/pr-4/docs/tags/developer.html new file mode 100644 index 0000000..584eb50 --- /dev/null +++ b/pr-preview/pr-4/docs/tags/developer.html @@ -0,0 +1,13 @@ + + + + + +6 docs tagged with "Developer" | Permitting Interoperability Exchange Specification + + + + +

    6 docs tagged with "Developer"

    Content related to technical structure and implementation

    View all tags

    Formatting

    The syntax, encoding and file format used by PIES

    Terminology

    The definitions of specific technical terms and concepts used in PIES

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/docs/tags/executive.html b/pr-preview/pr-4/docs/tags/executive.html new file mode 100644 index 0000000..f65a3f5 --- /dev/null +++ b/pr-preview/pr-4/docs/tags/executive.html @@ -0,0 +1,13 @@ + + + + + +One doc tagged with "Executive" | Permitting Interoperability Exchange Specification + + + + +

    One doc tagged with "Executive"

    Content related to policies and strategic alignment

    View all tags
    + + \ No newline at end of file diff --git a/pr-preview/pr-4/editor.worker.js b/pr-preview/pr-4/editor.worker.js new file mode 100644 index 0000000..e1e779f --- /dev/null +++ b/pr-preview/pr-4/editor.worker.js @@ -0,0 +1 @@ +(()=>{"use strict";var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();const t=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack){if(a.isErrorNoTelemetry(e))throw new a(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function n(e){s(e)||t.onUnexpectedError(e)}function i(e){if(e instanceof Error){const{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:a.isErrorNoTelemetry(e)}}return e}const r="Canceled";function s(e){return e instanceof o||e instanceof Error&&e.name===r&&e.message===r}class o extends Error{constructor(){super(r),this.name=this.message}}Error;class a extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof a)return e;const t=new a;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class l extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,l.prototype)}}function u(e){const t=this;let n,i=!1;return function(){return i||(i=!0,n=e.apply(t,arguments)),n}}var h;!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;const n=Object.freeze([]);function*i(e){yield e}e.empty=function(){return n},e.single=i,e.wrap=function(e){return t(e)?e:i(e)},e.from=function(e){return e||n},e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.find=function(e,t){for(const n of e)if(t(n))return n},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(const i of e)yield t(i,n++)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.reduce=function(e,t,n){let i=n;for(const r of e)i=t(i,r);return i},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);tr}]}}(h||(h={}));let c=null;function d(e){return null==c||c.trackDisposable(e),e}function g(e){null==c||c.markAsDisposed(e)}function m(e,t){null==c||c.setParent(e,t)}function f(e){if(h.is(e)){const n=[];for(const i of e)if(i)try{i.dispose()}catch(t){n.push(t)}if(1===n.length)throw n[0];if(n.length>1)throw new AggregateError(n,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function p(...e){const t=b((()=>f(e)));return function(e,t){if(c)for(const n of e)c.setParent(n,t)}(e,t),t}function b(e){const t=d({dispose:u((()=>{g(t),e()}))});return t}class _{constructor(){this._toDispose=new Set,this._isDisposed=!1,d(this)}dispose(){this._isDisposed||(g(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{f(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return m(e,this),this._isDisposed?_.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&(this._toDispose.delete(e),m(e,null))}}_.DISABLE_DISPOSED_WARNING=!1;class v{constructor(){this._store=new _,d(this),m(this._store,this)}dispose(){g(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}v.None=Object.freeze({dispose(){}});Symbol.iterator;class C{constructor(e){this.element=e,this.next=C.Undefined,this.prev=C.Undefined}}C.Undefined=new C(void 0);class y{constructor(){this._first=C.Undefined,this._last=C.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===C.Undefined}clear(){let e=this._first;for(;e!==C.Undefined;){const t=e.next;e.prev=C.Undefined,e.next=C.Undefined,e=t}this._first=C.Undefined,this._last=C.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new C(e);if(this._first===C.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==C.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==C.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==C.Undefined&&e.next!==C.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===C.Undefined&&e.next===C.Undefined?(this._first=C.Undefined,this._last=C.Undefined):e.next===C.Undefined?(this._last=this._last.prev,this._last.next=C.Undefined):e.prev===C.Undefined&&(this._first=this._first.next,this._first.prev=C.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==C.Undefined;)yield e.element,e=e.next}}const L=globalThis.performance&&"function"==typeof globalThis.performance.now;class w{static create(e){return new w(e)}constructor(e){this._now=L&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}var N;!function(e){function t(e){false}function n(e){return(t,n=null,i)=>{let r,s=!1;return r=e((e=>{if(!s)return r?r.dispose():s=!0,t.call(n,e)}),null,i),s&&r.dispose(),r}}function i(e,t,n){return s(((n,i=null,r)=>e((e=>n.call(i,t(e))),null,r)),n)}function r(e,t,n){return s(((n,i=null,r)=>e((e=>t(e)&&n.call(i,e)),null,r)),n)}function s(e,n){let i;const r={onWillAddFirstListener(){i=e(s.fire,s)},onDidRemoveLastListener(){null==i||i.dispose()}};n||t();const s=new x(r);return null==n||n.add(s),s.event}function o(e,n,i=100,r=!1,s=!1,o,a){let l,u,h,c,d=0;const g={leakWarningThreshold:o,onWillAddFirstListener(){l=e((e=>{d++,u=n(u,e),r&&!h&&(m.fire(u),u=void 0),c=()=>{const e=u;u=void 0,h=void 0,(!r||d>1)&&m.fire(e),d=0},"number"==typeof i?(clearTimeout(h),h=setTimeout(c,i)):void 0===h&&(h=0,queueMicrotask(c))}))},onWillRemoveListener(){s&&d>0&&(null==c||c())},onDidRemoveLastListener(){c=void 0,l.dispose()}};a||t();const m=new x(g);return null==a||a.add(m),m.event}e.None=()=>v.None,e.defer=function(e,t){return o(e,(()=>{}),0,void 0,!0,void 0,t)},e.once=n,e.map=i,e.forEach=function(e,t,n){return s(((n,i=null,r)=>e((e=>{t(e),n.call(i,e)}),null,r)),n)},e.filter=r,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,i)=>function(e,t){t instanceof Array?t.push(e):t&&t.add(e);return e}(p(...e.map((e=>e((e=>t.call(n,e)))))),i)},e.reduce=function(e,t,n,r){let s=n;return i(e,(e=>(s=t(s,e),s)),r)},e.debounce=o,e.accumulate=function(t,n=0,i){return e.debounce(t,((e,t)=>e?(e.push(t),e):[t]),n,void 0,!0,void 0,i)},e.latch=function(e,t=(e,t)=>e===t,n){let i,s=!0;return r(e,(e=>{const n=s||!t(e,i);return s=!1,i=e,n}),n)},e.split=function(t,n,i){return[e.filter(t,n,i),e.filter(t,(e=>!n(e)),i)]},e.buffer=function(e,t=!1,n=[],i){let r=n.slice(),s=e((e=>{r?r.push(e):a.fire(e)}));i&&i.add(s);const o=()=>{null==r||r.forEach((e=>a.fire(e))),r=null},a=new x({onWillAddFirstListener(){s||(s=e((e=>a.fire(e))),i&&i.add(s))},onDidAddFirstListener(){r&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return i&&i.add(a),a.event},e.chain=function(e,t){return(n,i,r)=>{const s=t(new l);return e((function(e){const t=s.evaluate(e);t!==a&&n.call(i,t)}),void 0,r)}};const a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push((t=>(e(t),t))),this}filter(e){return this.steps.push((t=>e(t)?t:a)),this}reduce(e,t){let n=t;return this.steps.push((t=>(n=e(n,t),n))),this}latch(e=(e,t)=>e===t){let t,n=!0;return this.steps.push((i=>{const r=n||!e(i,t);return n=!1,t=i,r?i:a})),this}evaluate(e){for(const t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,n=e=>e){const i=(...e)=>r.fire(n(...e)),r=new x({onWillAddFirstListener:()=>e.on(t,i),onDidRemoveLastListener:()=>e.removeListener(t,i)});return r.event},e.fromDOMEventEmitter=function(e,t,n=e=>e){const i=(...e)=>r.fire(n(...e)),r=new x({onWillAddFirstListener:()=>e.addEventListener(t,i),onDidRemoveLastListener:()=>e.removeEventListener(t,i)});return r.event},e.toPromise=function(e){return new Promise((t=>n(e)(t)))},e.fromPromise=function(e){const t=new x;return e.then((e=>{t.fire(e)}),(()=>{t.fire(void 0)})).finally((()=>{t.dispose()})),t.event},e.runAndSubscribe=function(e,t){return t(void 0),e((e=>t(e)))},e.runAndSubscribeWithStore=function(e,t){let n=null;function i(e){null==n||n.dispose(),n=new _,t(e,n)}i(void 0);const r=e((e=>i(e)));return b((()=>{r.dispose(),null==n||n.dispose()}))};class u{constructor(e,n){this._observable=e,this._counter=0,this._hasChanged=!1;const i={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};n||t(),this.emitter=new x(i),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new u(e,t).emitter.event},e.fromObservableLight=function(e){return t=>{let n=0,i=!1;const r={beginUpdate(){n++},endUpdate(){n--,0===n&&(e.reportChanges(),i&&(i=!1,t()))},handlePossibleChange(){},handleChange(){i=!0}};return e.addObserver(r),e.reportChanges(),{dispose(){e.removeObserver(r)}}}}}(N||(N={}));class E{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${E._idPool++}`,E.all.add(this)}start(e){this._stopWatch=new w,this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}E.all=new Set,E._idPool=0;class S{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){const n=this.threshold;if(n<=0||t{const t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class R{static create(){var e;return new R(null!==(e=(new Error).stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class A{constructor(e){this.value=e}}class x{constructor(e){var t,n,i,r,s;this._size=0,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new S(null!==(i=null===(n=this._options)||void 0===n?void 0:n.leakWarningThreshold)&&void 0!==i?i:-1):void 0,this._perfMon=(null===(r=this._options)||void 0===r?void 0:r._profName)?new E(this._options._profName):void 0,this._deliveryQueue=null===(s=this._options)||void 0===s?void 0:s.deliveryQueue}dispose(){var e,t,n,i;this._disposed||(this._disposed=!0,(null===(e=this._deliveryQueue)||void 0===e?void 0:e.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),null===(n=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===n||n.call(t),null===(i=this._leakageMon)||void 0===i||i.dispose())}get event(){var e;return null!==(e=this._event)&&void 0!==e||(this._event=(e,t,n)=>{var i,r,s,o,a;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),v.None;if(this._disposed)return v.None;t&&(e=e.bind(t));const l=new A(e);let u;this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(l.stack=R.create(),u=this._leakageMon.check(l.stack,this._size+1)),this._listeners?this._listeners instanceof A?(null!==(a=this._deliveryQueue)&&void 0!==a||(this._deliveryQueue=new M),this._listeners=[this._listeners,l]):this._listeners.push(l):(null===(r=null===(i=this._options)||void 0===i?void 0:i.onWillAddFirstListener)||void 0===r||r.call(i,this),this._listeners=l,null===(o=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===o||o.call(s,this)),this._size++;const h=b((()=>{null==u||u(),this._removeListener(l)}));return n instanceof _?n.add(h):Array.isArray(n)&&n.push(h),h}),this._event}_removeListener(e){var t,n,i,r;if(null===(n=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===n||n.call(t,this),!this._listeners)return;if(1===this._size)return this._listeners=void 0,null===(r=null===(i=this._options)||void 0===i?void 0:i.onDidRemoveLastListener)||void 0===r||r.call(i,this),void(this._size=0);const s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;const a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}class M{constructor(){this.i=-1,this.end=0}enqueue(e,t,n){this.i=0,this.end=n,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}Object.prototype.hasOwnProperty;function k(e){const t=[];for(const n of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[n]&&t.push(n);return t}let O="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function T(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,((e,n)=>{const i=n[0],r=t[i];let s=e;return"string"==typeof r?s=r:"number"!=typeof r&&"boolean"!=typeof r&&null!=r||(s=String(r)),s})),O&&(n="\uff3b"+n.replace(/[aouei]/g,"$&$&")+"\uff3d"),n}function I(e,t,...n){return T(t,n)}var P;const D="en";let K,F,q=!1,V=!1,B=!1,U=!1,W=!1,H=!1,z=!1,$=!1,j=!1,G=!1,Q=null,Y=null,X=null;const J="object"==typeof self?self:"object"==typeof e.g?e.g:{};let Z;void 0!==J.vscode&&void 0!==J.vscode.process?Z=J.vscode.process:"undefined"!=typeof process&&(Z=process);const ee="string"==typeof(null===(P=null==Z?void 0:Z.versions)||void 0===P?void 0:P.electron),te=ee&&"renderer"===(null==Z?void 0:Z.type);if("object"!=typeof navigator||te)if("object"==typeof Z){q="win32"===Z.platform,V="darwin"===Z.platform,B="linux"===Z.platform,U=B&&!!Z.env.SNAP&&!!Z.env.SNAP_REVISION,z=ee,j=!!Z.env.CI||!!Z.env.BUILD_ARTIFACTSTAGINGDIRECTORY,K=D,Q=D;const e=Z.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];K=t.locale,Y=t.osLocale,Q=n||D,X=t._translationsConfigFile}catch(Wr){}W=!0}else console.error("Unable to resolve platform.");else{F=navigator.userAgent,q=F.indexOf("Windows")>=0,V=F.indexOf("Macintosh")>=0,$=(F.indexOf("Macintosh")>=0||F.indexOf("iPad")>=0||F.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,B=F.indexOf("Linux")>=0,G=(null==F?void 0:F.indexOf("Mobi"))>=0,H=!0;K=void I(0,"_")||D,Q=K,Y=navigator.language}let ne=0;V?ne=1:q?ne=3:B&&(ne=2);const ie=q,re=V,se=(H&&J.importScripts,F),oe="function"==typeof J.postMessage&&!J.importScripts;(()=>{if(oe){const e=[];J.addEventListener("message",(t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,i=e.length;n{const i=++t;e.push({id:i,callback:n}),J.postMessage({vscodeScheduleAsyncWork:i},"*")}}})();const ae=!!(se&&se.indexOf("Chrome")>=0);se&&se.indexOf("Firefox"),!ae&&se&&se.indexOf("Safari"),se&&se.indexOf("Edg/"),se&&se.indexOf("Android");class le{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var ue;function he(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function ce(e){return e>=65&&e<=90}function de(e){return 55296<=e&&e<=56319}function ge(e){return 56320<=e&&e<=57343}function me(e,t){return t-56320+(e-55296<<10)+65536}function fe(e,t,n){const i=e.charCodeAt(n);if(de(i)&&n+1t[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}be._INSTANCE=null;class _e{static getInstance(e){return ue.cache.get(Array.from(e))}static getLocales(){return ue._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}ue=_e,_e.ambiguousCharacterData=new le((()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'))),_e.cache=new class{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}((e=>{function t(e){const t=new Map;for(let n=0;n!e.startsWith("_")&&e in i));0===s.length&&(s=["_default"]);for(const a of s){r=n(r,t(i[a]))}const o=function(e,t){const n=new Map(e);for(const[i,r]of t)n.set(i,r);return n}(t(i._common),r);return new ue(o)})),_e._locales=new le((()=>Object.keys(ue.ambiguousCharacterData.value).filter((e=>!e.startsWith("_")))));class ve{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(ve.getRawData())),this._data}static isInvisibleCharacter(e){return ve.getData().has(e)}static get codePoints(){return ve.getData()}}ve._data=void 0;const Ce="$initialize";let ye;class Le{constructor(e,t,n,i){this.vsWorker=e,this.req=t,this.method=n,this.args=i,this.type=0}}class we{constructor(e,t,n,i){this.vsWorker=e,this.seq=t,this.res=n,this.err=i,this.type=1}}class Ne{constructor(e,t,n,i){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=i,this.type=2}}class Ee{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class Se{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class Re{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const n=String(++this._lastSentReq);return new Promise(((i,r)=>{this._pendingReplies[n]={resolve:i,reject:r},this._send(new Le(this._workerId,n,e,t))}))}listen(e,t){let n=null;const i=new x({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,i),this._send(new Ne(this._workerId,n,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new Se(this._workerId,n)),n=null}});return i.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return void console.warn("Got reply to unknown seq");const t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;return e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),void t.reject(n)}t.resolve(e.res)}_handleRequestMessage(e){const t=e.req;this._handler.handleMessage(e.method,e.args).then((e=>{this._send(new we(this._workerId,t,e,void 0))}),(e=>{e.detail instanceof Error&&(e.detail=i(e.detail)),this._send(new we(this._workerId,t,void 0,i(e)))}))}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)((e=>{this._send(new Ee(this._workerId,t,e))}));this._pendingEvents.set(t,n)}_handleEventMessage(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}_send(e){const t=[];if(0===e.type)for(let n=0;nfunction(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},r=e=>function(t){return n(e,t)},s={};for(const o of e)xe(o)?s[o]=r(o):Ae(o)?s[o]=n(o,void 0):s[o]=i(o);return s}class ke{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new Re({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if(e===Ce)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(Wr){return Promise.reject(Wr)}}_handleEvent(e,t){if(!this._requestHandler)throw new Error("Missing requestHandler");if(xe(e)){const n=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof n)throw new Error(`Missing dynamic event ${e} on request handler.`);return n}if(Ae(e)){const t=this._requestHandler[e];if("function"!=typeof t)throw new Error(`Missing event ${e} on request handler.`);return t}throw new Error(`Malformed event name ${e}`)}initialize(e,t,n,i){this._protocol.setWorkerId(e);const r=Me(i,((e,t)=>this._protocol.sendMessage(e,t)),((e,t)=>this._protocol.listen(e,t)));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(k(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,void 0!==typeof t.trustedTypesPolicy&&delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise(((e,t)=>{(0,globalThis.require)([n],(n=>{this._requestHandler=n.create(r),this._requestHandler?e(k(this._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))}}class Oe{constructor(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Te(e,t){return(t<<5)-t+e|0}function Ie(e,t){t=Te(149417,t);for(let n=0,i=e.length;n>>i)>>>0}function De(e,t=0,n=e.byteLength,i=0){for(let r=0;re.toString(16).padStart(2,"0"))).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class Fe{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let i,r,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(i=o,r=-1,o=0):(i=e.charCodeAt(0),r=0);;){let a=i;if(de(i)){if(!(r+1>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Ke(this._h0)+Ke(this._h1)+Ke(this._h2)+Ke(this._h3)+Ke(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,De(this._buff,this._buffLen),this._buffLen>56&&(this._step(),De(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=Fe._bigBlock32,t=this._buffDV;for(let h=0;h<64;h+=4)e.setUint32(h,t.getUint32(h,!1),!1);for(let h=64;h<320;h+=4)e.setUint32(h,Pe(e.getUint32(h-12,!1)^e.getUint32(h-32,!1)^e.getUint32(h-56,!1)^e.getUint32(h-64,!1),1),!1);let n,i,r,s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let h=0;h<80;h++)h<20?(n=o&a|~o&l,i=1518500249):h<40?(n=o^a^l,i=1859775393):h<60?(n=o&a|o&l|a&l,i=2400959708):(n=o^a^l,i=3395469782),r=Pe(s,5)+n+u+i+e.getUint32(4*h,!1)&4294967295,u=l,l=a,a=Pe(o,30),o=s,s=r;this._h0=this._h0+s&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+u&4294967295}}Fe._bigBlock32=new DataView(new ArrayBuffer(320));class qe{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new Oe(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class He{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[i,r,s]=He._getElements(e),[o,a,l]=He._getElements(t);this._hasStrings=s&&l,this._originalStringElements=i,this._originalElementsOrHash=r,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(He._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,i=t.length;n=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){let r;return n<=i?(Be.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new Oe(e,0,n,i-n+1)]):e<=t?(Be.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new Oe(e,t-e+1,n,0)]):(Be.Assert(e===t+1,"originalStart should only be one more than originalEnd"),Be.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}const s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,n,i,s,o,r),l=s[0],u=o[0];if(null!==a)return a;if(!r[0]){const s=this.ComputeDiffRecursive(e,l,n,u,r);let o=[];return o=r[0]?[new Oe(l+1,t-(l+1)+1,u+1,i-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,i,r),this.ConcatenateChanges(s,o)}return[new Oe(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,r,s,o,a,l,u,h,c,d,g,m,f,p,b){let _=null,v=null,C=new We,y=t,L=n,w=d[0]-f[0]-i,N=-1073741824,E=this.m_forwardHistory.length-1;do{const t=w+e;t===y||t=0&&(e=(l=this.m_forwardHistory[E])[0],y=1,L=l.length-1)}while(--E>=-1);if(_=C.getReverseChanges(),b[0]){let e=d[0]+1,t=f[0]+1;if(null!==_&&_.length>0){const n=_[_.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}v=[new Oe(e,c-e+1,t,m-t+1)]}else{C=new We,y=s,L=o,w=d[0]-f[0]-a,N=1073741824,E=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=w+r;e===y||e=u[e+1]?(g=(h=u[e+1]-1)-w-a,h>N&&C.MarkNextChange(),N=h+1,C.AddOriginalElement(h+1,g+1),w=e+1-r):(g=(h=u[e-1])-w-a,h>N&&C.MarkNextChange(),N=h,C.AddModifiedElement(h+1,g+1),w=e-1-r),E>=0&&(r=(u=this.m_reverseHistory[E])[0],y=1,L=u.length-1)}while(--E>=-1);v=C.getChanges()}return this.ConcatenateChanges(_,v)}ComputeRecursionPoint(e,t,n,i,r,s,o){let a=0,l=0,u=0,h=0,c=0,d=0;e--,n--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=t-e+(i-n),m=g+1,f=new Int32Array(m),p=new Int32Array(m),b=i-n,_=t-e,v=e-n,C=t-i,y=(_-b)%2==0;f[b]=e,p[_]=t,o[0]=!1;for(let L=1;L<=g/2+1;L++){let g=0,w=0;u=this.ClipDiagonalBound(b-L,L,b,m),h=this.ClipDiagonalBound(b+L,L,b,m);for(let e=u;e<=h;e+=2){a=e===u||eg+w&&(g=a,w=l),!y&&Math.abs(e-_)<=L-1&&a>=p[e])return r[0]=a,s[0]=l,n<=p[e]&&L<=1448?this.WALKTRACE(b,u,h,v,_,c,d,C,f,p,a,t,r,l,i,s,y,o):null}const N=(g-e+(w-n)-L)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,N))return o[0]=!0,r[0]=g,s[0]=w,N>0&&L<=1448?this.WALKTRACE(b,u,h,v,_,c,d,C,f,p,a,t,r,l,i,s,y,o):(e++,n++,[new Oe(e,t-e+1,n,i-n+1)]);c=this.ClipDiagonalBound(_-L,L,_,m),d=this.ClipDiagonalBound(_+L,L,_,m);for(let m=c;m<=d;m+=2){a=m===c||m=p[m+1]?p[m+1]-1:p[m-1],l=a-(m-_)-C;const g=a;for(;a>e&&l>n&&this.ElementsAreEqual(a,l);)a--,l--;if(p[m]=a,y&&Math.abs(m-b)<=L&&a<=f[m])return r[0]=a,s[0]=l,g>=f[m]&&L<=1448?this.WALKTRACE(b,u,h,v,_,c,d,C,f,p,a,t,r,l,i,s,y,o):null}if(L<=1447){let e=new Int32Array(h-u+2);e[0]=b-u+1,Ue.Copy2(f,u,e,1,h-u+1),this.m_forwardHistory.push(e),e=new Int32Array(d-c+2),e[0]=_-c+1,Ue.Copy2(p,c,e,1,d-c+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,h,v,_,c,d,C,f,p,a,t,r,l,i,s,y,o)}PrettifyChanges(e){for(let t=0;t0,o=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){const n=e[t];let i=0,r=0;if(t>0){const n=e[t-1];i=n.originalStart+n.originalLength,r=n.modifiedStart+n.modifiedLength}const s=n.originalLength>0,o=n.modifiedLength>0;let a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,u=n.modifiedStart-e;if(tl&&(l=h,a=e)}n.originalStart-=a,n.modifiedStart-=a;const u=[null];t>0&&this.ChangesOverlap(e[t-1],e[t],u)&&(e[t-1]=u[0],e.splice(t,1),t++)}if(this._hasStrings)for(let t=1,n=e.length;t0&&t>a&&(a=t,l=h,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,n){let i=0;for(let r=0;r=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)}ConcatenateChanges(e,t){const n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const i=new Array(e.length+t.length-1);return Ue.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],Ue.Copy(t,1,i,e.length,t.length-1),i}{const n=new Array(e.length+t.length);return Ue.Copy(e,0,n,0,e.length),Ue.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(Be.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),Be.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const i=e.originalStart;let r=e.originalLength;const s=e.modifiedStart;let o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new Oe(i,r,s,o),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,i){if(e>=0&&ee.cwd()}}else ye="undefined"!=typeof process?{get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:{get platform(){return ie?"win32":re?"darwin":"linux"},get arch(){},get env(){return{}},cwd:()=>"/"};const ze=ye.cwd,$e=ye.env,je=ye.platform,Ge=46,Qe=47,Ye=92,Xe=58;class Je extends Error{constructor(e,t,n){let i;"string"==typeof t&&0===t.indexOf("not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";const r=-1!==e.indexOf(".")?"property":"argument";let s=`The "${e}" ${r} ${i} of type ${t}`;s+=". Received type "+typeof n,super(s),this.code="ERR_INVALID_ARG_TYPE"}}function Ze(e,t){if("string"!=typeof e)throw new Je(t,"string",e)}const et="win32"===je;function tt(e){return e===Qe||e===Ye}function nt(e){return e===Qe}function it(e){return e>=65&&e<=90||e>=97&&e<=122}function rt(e,t,n,i){let r="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){const e=r.lastIndexOf(n);-1===e?(r="",s=0):(r=r.slice(0,e),s=r.length-1-r.lastIndexOf(n)),o=u,a=0;continue}if(0!==r.length){r="",s=0,o=u,a=0;continue}}t&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${e.slice(o+1,u)}`:r=e.slice(o+1,u),s=u-o-1;o=u,a=0}else l===Ge&&-1!==a?++a:a=-1}return r}function st(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new Je(t,"Object",e)}(t,"pathObject");const n=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const ot={resolve(...e){let t="",n="",i=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(s=e[r],Ze(s,"path"),0===s.length)continue}else 0===t.length?s=ze():(s=$e[`=${t}`]||ze(),(void 0===s||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===Ye)&&(s=`${t}\\`));const o=s.length;let a=0,l="",u=!1;const h=s.charCodeAt(0);if(1===o)tt(h)&&(a=1,u=!0);else if(tt(h))if(u=!0,tt(s.charCodeAt(1))){let e=2,t=e;for(;e2&&tt(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0)if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l;if(i){if(t.length>0)break}else if(n=`${s.slice(a)}\\${n}`,i=u,u&&t.length>0)break}return n=rt(n,!i,"\\",tt),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){Ze(e,"path");const t=e.length;if(0===t)return".";let n,i=0,r=!1;const s=e.charCodeAt(0);if(1===t)return nt(s)?"\\":e;if(tt(s))if(r=!0,tt(e.charCodeAt(1))){let r=2,s=r;for(;r2&&tt(e.charCodeAt(2))&&(r=!0,i=3));let o=i0&&tt(e.charCodeAt(t-1))&&(o+="\\"),void 0===n?r?`\\${o}`:o:r?`${n}\\${o}`:`${n}${o}`},isAbsolute(e){Ze(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return tt(n)||t>2&&it(n)&&e.charCodeAt(1)===Xe&&tt(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let s=0;s0&&(void 0===t?t=n=i:t+=`\\${i}`)}if(void 0===t)return".";let i=!0,r=0;if("string"==typeof n&&tt(n.charCodeAt(0))){++r;const e=n.length;e>1&&tt(n.charCodeAt(1))&&(++r,e>2&&(tt(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r=2&&(t=`\\${t.slice(r)}`)}return ot.normalize(t)},relative(e,t){if(Ze(e,"from"),Ze(t,"to"),e===t)return"";const n=ot.resolve(e),i=ot.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";let r=0;for(;rr&&e.charCodeAt(s-1)===Ye;)s--;const o=s-r;let a=0;for(;aa&&t.charCodeAt(l-1)===Ye;)l--;const u=l-a,h=oh){if(t.charCodeAt(a+d)===Ye)return i.slice(a+d+1);if(2===d)return i.slice(a+d)}o>h&&(e.charCodeAt(r+d)===Ye?c=d:2===d&&(c=3)),-1===c&&(c=0)}let g="";for(d=r+c+1;d<=s;++d)d!==s&&e.charCodeAt(d)!==Ye||(g+=0===g.length?"..":"\\..");return a+=c,g.length>0?`${g}${i.slice(a,l)}`:(i.charCodeAt(a)===Ye&&++a,i.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;const t=ot.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===Ye){if(t.charCodeAt(1)===Ye){const e=t.charCodeAt(2);if(63!==e&&e!==Ge)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(it(t.charCodeAt(0))&&t.charCodeAt(1)===Xe&&t.charCodeAt(2)===Ye)return`\\\\?\\${t}`;return e},dirname(e){Ze(e,"path");const t=e.length;if(0===t)return".";let n=-1,i=0;const r=e.charCodeAt(0);if(1===t)return tt(r)?e:".";if(tt(r)){if(n=i=1,tt(e.charCodeAt(1))){let r=2,s=r;for(;r2&&tt(e.charCodeAt(2))?3:2,i=n);let s=-1,o=!0;for(let a=t-1;a>=i;--a)if(tt(e.charCodeAt(a))){if(!o){s=a;break}}else o=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){void 0!==t&&Ze(t,"ext"),Ze(e,"path");let n,i=0,r=-1,s=!0;if(e.length>=2&&it(e.charCodeAt(0))&&e.charCodeAt(1)===Xe&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=i;--n){const l=e.charCodeAt(n);if(tt(l)){if(!s){i=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=a))}return i===r?r=a:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=i;--n)if(tt(e.charCodeAt(n))){if(!s){i=n+1;break}}else-1===r&&(s=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname(e){Ze(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,o=0;e.length>=2&&e.charCodeAt(1)===Xe&&it(e.charCodeAt(0))&&(t=i=2);for(let a=e.length-1;a>=t;--a){const t=e.charCodeAt(a);if(tt(t)){if(!s){i=a+1;break}}else-1===r&&(s=!1,r=a+1),t===Ge?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1)}return-1===n||-1===r||0===o||1===o&&n===r-1&&n===i+1?"":e.slice(n,r)},format:st.bind(null,"\\"),parse(e){Ze(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let i=0,r=e.charCodeAt(0);if(1===n)return tt(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(tt(r)){if(i=1,tt(e.charCodeAt(1))){let t=2,r=t;for(;t0&&(t.root=e.slice(0,i));let s=-1,o=i,a=-1,l=!0,u=e.length-1,h=0;for(;u>=i;--u)if(r=e.charCodeAt(u),tt(r)){if(!l){o=u+1;break}}else-1===a&&(l=!1,a=u+1),r===Ge?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1);return-1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),t.dir=o>0&&o!==i?e.slice(0,o-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},at=(()=>{if(et){const e=/\\/g;return()=>{const t=ze().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>ze()})(),lt={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const r=i>=0?e[i]:at();Ze(r,"path"),0!==r.length&&(t=`${r}/${t}`,n=r.charCodeAt(0)===Qe)}return t=rt(t,!n,"/",nt),n?`/${t}`:t.length>0?t:"."},normalize(e){if(Ze(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===Qe,n=e.charCodeAt(e.length-1)===Qe;return 0===(e=rt(e,!t,"/",nt)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(Ze(e,"path"),e.length>0&&e.charCodeAt(0)===Qe),join(...e){if(0===e.length)return".";let t;for(let n=0;n0&&(void 0===t?t=i:t+=`/${i}`)}return void 0===t?".":lt.normalize(t)},relative(e,t){if(Ze(e,"from"),Ze(t,"to"),e===t)return"";if((e=lt.resolve(e))===(t=lt.resolve(t)))return"";const n=e.length,i=n-1,r=t.length-1,s=is){if(t.charCodeAt(1+a)===Qe)return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else i>s&&(e.charCodeAt(1+a)===Qe?o=a:0===a&&(o=0));let l="";for(a=1+o+1;a<=n;++a)a!==n&&e.charCodeAt(a)!==Qe||(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(Ze(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===Qe;let n=-1,i=!0;for(let r=e.length-1;r>=1;--r)if(e.charCodeAt(r)===Qe){if(!i){n=r;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&Ze(t,"ext"),Ze(e,"path");let n,i=0,r=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(l===Qe){if(!s){i=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=a))}return i===r?r=a:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===Qe){if(!s){i=n+1;break}}else-1===r&&(s=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname(e){Ze(e,"path");let t=-1,n=0,i=-1,r=!0,s=0;for(let o=e.length-1;o>=0;--o){const a=e.charCodeAt(o);if(a!==Qe)-1===i&&(r=!1,i=o+1),a===Ge?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!r){n=o+1;break}}return-1===t||-1===i||0===s||1===s&&t===i-1&&t===n+1?"":e.slice(t,i)},format:st.bind(null,"/"),parse(e){Ze(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===Qe;let i;n?(t.root="/",i=1):i=0;let r=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=i;--l){const t=e.charCodeAt(l);if(t!==Qe)-1===o&&(a=!1,o=l+1),t===Ge?-1===r?r=l:1!==u&&(u=1):-1!==r&&(u=-1);else if(!a){s=l+1;break}}if(-1!==o){const i=0===s&&n?1:s;-1===r||0===u||1===u&&r===o-1&&r===s+1?t.base=t.name=e.slice(i,o):(t.name=e.slice(i,r),t.base=e.slice(i,o),t.ext=e.slice(r,o))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};lt.win32=ot.win32=ot,lt.posix=ot.posix=lt;et?ot.normalize:lt.normalize,et?ot.resolve:lt.resolve,et?ot.relative:lt.relative,et?ot.dirname:lt.dirname,et?ot.basename:lt.basename,et?ot.extname:lt.extname,et?ot.sep:lt.sep;const ut=/^\w[\w\d+.-]*$/,ht=/^\//,ct=/^\/\//;const dt="",gt="/",mt=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class ft{static isUri(e){return e instanceof ft||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}constructor(e,t,n,i,r,s=!1){"object"==typeof e?(this.scheme=e.scheme||dt,this.authority=e.authority||dt,this.path=e.path||dt,this.query=e.query||dt,this.fragment=e.fragment||dt):(this.scheme=function(e,t){return e||t?e:"file"}(e,s),this.authority=t||dt,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==gt&&(t=gt+t):t=gt}return t}(this.scheme,n||dt),this.query=i||dt,this.fragment=r||dt,function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!ut.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!ht.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(ct.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,s))}get fsPath(){return yt(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:r,fragment:s}=e;return void 0===t?t=this.scheme:null===t&&(t=dt),void 0===n?n=this.authority:null===n&&(n=dt),void 0===i?i=this.path:null===i&&(i=dt),void 0===r?r=this.query:null===r&&(r=dt),void 0===s?s=this.fragment:null===s&&(s=dt),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&s===this.fragment?this:new bt(t,n,i,r,s)}static parse(e,t=!1){const n=mt.exec(e);return n?new bt(n[2]||dt,Et(n[4]||dt),Et(n[5]||dt),Et(n[7]||dt),Et(n[9]||dt),t):new bt(dt,dt,dt,dt,dt)}static file(e){let t=dt;if(ie&&(e=e.replace(/\\/g,gt)),e[0]===gt&&e[1]===gt){const n=e.indexOf(gt,2);-1===n?(t=e.substring(2),e=gt):(t=e.substring(2,n),e=e.substring(n)||gt)}return new bt("file",t,e,dt,dt)}static from(e,t){return new bt(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=ie&&"file"===e.scheme?ft.file(ot.join(yt(e,!0),...t)).path:lt.join(e.path,...t),e.with({path:n})}toString(e=!1){return Lt(this,e)}toJSON(){return this}static revive(e){var t,n;if(e){if(e instanceof ft)return e;{const i=new bt(e);return i._formatted=null!==(t=e.external)&&void 0!==t?t:null,i._fsPath=e._sep===pt&&null!==(n=e.fsPath)&&void 0!==n?n:null,i}}return e}}const pt=ie?1:void 0;class bt extends ft{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=yt(this,!1)),this._fsPath}toString(e=!1){return e?Lt(this,!0):(this._formatted||(this._formatted=Lt(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=pt),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const _t={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function vt(e,t,n){let i,r=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==r&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),void 0!==i&&(i+=e.charAt(s));else{void 0===i&&(i=e.substr(0,s));const t=_t[o];void 0!==t?(-1!==r&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i+=t):-1===r&&(r=s)}}return-1!==r&&(i+=encodeURIComponent(e.substring(r))),void 0!==i?i:e}function Ct(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,ie&&(n=n.replace(/\//g,"\\")),n}function Lt(e,t){const n=t?Ct:vt;let i="",{scheme:r,authority:s,path:o,query:a,fragment:l}=e;if(r&&(i+=r,i+=":"),(s||"file"===r)&&(i+=gt,i+=gt),s){let e=s.indexOf("@");if(-1!==e){const t=s.substr(0,e);s=s.substr(e+1),e=t.lastIndexOf(":"),-1===e?i+=n(t,!1,!1):(i+=n(t.substr(0,e),!1,!1),i+=":",i+=n(t.substr(e+1),!1,!0)),i+="@"}s=s.toLowerCase(),e=s.lastIndexOf(":"),-1===e?i+=n(s,!1,!0):(i+=n(s.substr(0,e),!1,!0),i+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}i+=n(o,!0,!1)}return a&&(i+="?",i+=n(a,!1,!1)),l&&(i+="#",i+=t?l:vt(l,!1,!1)),i}function wt(e){try{return decodeURIComponent(e)}catch(P){return e.length>3?e.substr(0,3)+wt(e.substr(3)):e}}const Nt=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Et(e){return e.match(Nt)?e.replace(Nt,(e=>wt(e))):e}class St{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new St(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return St.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return St.isBefore(this,e)}static isBefore(e,t){return e.lineNumbern||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return Rt.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return Rt.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<=e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>=e.endColumn))}containsRange(e){return Rt.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)))}strictContainsRange(e){return Rt.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return Rt.plusRange(this,e)}static plusRange(e,t){let n,i,r,s;return t.startLineNumbere.endLineNumber?(r=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,s=e.endColumn),new Rt(n,i,r,s)}intersectRanges(e){return Rt.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,r=e.endLineNumber,s=e.endColumn;const o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return nl?(r=l,s=u):r===l&&(s=Math.min(s,u)),n>r||n===r&&i>s?null:new Rt(n,i,r,s)}equalsRange(e){return Rt.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return Rt.getEndPosition(this)}static getEndPosition(e){return new St(e.endLineNumber,e.endColumn)}getStartPosition(){return Rt.getStartPosition(this)}static getStartPosition(e){return new St(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new Rt(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new Rt(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return Rt.collapseToStart(this)}static collapseToStart(e){return new Rt(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return Rt.collapseToEnd(this)}static collapseToEnd(e){return new Rt(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new Rt(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new Rt(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new Rt(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}var At;function xt(e,t){return(n,i)=>t(e(n),e(i))}!function(e){e.isLessThan=function(e){return e<0},e.isLessThanOrEqual=function(e){return e<=0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(At||(At={}));const Mt=(e,t)=>e-t;class kt{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate((t=>(e.push(t),!0))),e}filter(e){return new kt((t=>this.iterate((n=>!e(n)||t(n)))))}map(e){return new kt((t=>this.iterate((n=>t(e(n))))))}findLast(e){let t;return this.iterate((n=>(e(n)&&(t=n),!0))),t}findLastMaxBy(e){let t,n=!0;return this.iterate((i=>((n||At.isGreaterThan(e(i,t)))&&(n=!1,t=i),!0))),t}}function Ot(e){return e<0?0:e>255?255:0|e}function Tt(e){return e<0?0:e>4294967295?4294967295:0|e}kt.empty=new kt((e=>{}));class It{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Tt(e);const n=this.values,i=this.prefixSum,r=t.length;return 0!==r&&(this.values=new Uint32Array(n.length+r),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+r),this.values.set(t,e),e-1=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=Tt(e),t=Tt(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;const r=n.length-e;return t>=r&&(t=r),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=Tt(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,i=0,r=0,s=0;for(;t<=n;)if(i=t+(n-t)/2|0,r=this.prefixSum[i],s=r-this.values[i],e=r))break;t=i+1}return new Pt(i,e-s)}}class Pt{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class Dt{constructor(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const n of t)this._acceptDeleteRange(n.range),this._acceptInsertText(new St(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let i=0;i/?")e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();const Ft=new y;function qt(e,t,n,i,r){if(r||(r=h.first(Ft)),n.length>r.maxLen){let s=e-r.maxLen/2;return s<0?s=0:i+=s,qt(e,t,n=n.substring(s,e+r.maxLen/2),i,r)}const s=Date.now(),o=e-1-i;let a=-1,l=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){const e=o-r.windowSize*u;t.lastIndex=Math.max(0,e);const i=Vt(t,n,o,a);if(!i&&l)break;if(l=i,e<=0)break;a=e}if(l){const e={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return t.lastIndex=0,e}return null}function Vt(e,t,n,i){let r;for(;r=e.exec(t);){const t=r.index||0;if(t<=n&&e.lastIndex>=n)return r;if(i>0&&t>i)return null}return null}Ft.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class Bt{constructor(e){const t=Ot(e);this._defaultValue=t,this._asciiMap=Bt._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);return t.fill(e),t}set(e,t){const n=Ot(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Ut{constructor(e,t,n){const i=new Uint8Array(e*t);for(let r=0,s=e*t;rt&&(t=s),i>n&&(n=i),o>n&&(n=o)}t++,n++;const i=new Ut(n,t,0);for(let r=0,s=e.length;r=this._maxCharCode?0:this._states.get(e,t)}}let Ht=null;let zt=null;class $t{static _createLink(e,t,n,i,r){let s=r-1;do{const n=t.charCodeAt(s);if(2!==e.get(n))break;s--}while(s>i);if(i>0){const e=t.charCodeAt(i-1),n=t.charCodeAt(s);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&s--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:s+2},url:t.substring(i,s+1)}}static computeLinks(e,t=function(){return null===Ht&&(Ht=new Wt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Ht}()){const n=function(){if(null===zt){zt=new Bt(0);const e=" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\u2018\u3008\u300c\u300e\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u300f\u300d\u3009\u2019\uff40\uff5e\u2026";for(let n=0;n=0?(i+=n?1:-1,i<0?i=e.length-1:i%=e.length,e[i]):null}}jt.INSTANCE=new jt;const Gt=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var Qt;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof Yt||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:N.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Gt})}(Qt||(Qt={}));class Yt{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Gt:(this._emitter||(this._emitter=new x),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Xt{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Yt),this._token}cancel(){this._token?this._token instanceof Yt&&this._token.cancel():this._token=Qt.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof Yt&&this._token.dispose():this._token=Qt.None}}class Jt{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const Zt=new Jt,en=new Jt,tn=new Jt,nn=new Array(230),rn={},sn=[],on=Object.create(null),an=Object.create(null),ln=[],un=[];for(let Hr=0;Hr<=193;Hr++)ln[Hr]=-1;for(let Hr=0;Hr<=132;Hr++)un[Hr]=-1;var hn;!function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],i=[];for(const r of t){const[e,t,s,o,a,l,u,h,c]=r;if(i[t]||(i[t]=!0,sn[t]=s,on[s]=t,an[s.toLowerCase()]=t,e&&(ln[t]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(un[o]=t))),!n[o]){if(n[o]=!0,!a)throw new Error(`String representation missing for key code ${o} around scan code ${s}`);Zt.define(o,a),en.define(o,h||a),tn.define(o,c||h||a)}l&&(nn[l]=o),u&&(rn[u]=o)}un[3]=46}(),function(e){e.toString=function(e){return Zt.keyCodeToStr(e)},e.fromString=function(e){return Zt.strToKeyCode(e)},e.toUserSettingsUS=function(e){return en.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return tn.keyCodeToStr(e)},e.fromUserSettings=function(e){return en.strToKeyCode(e)||tn.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Zt.keyCodeToStr(e)}}(hn||(hn={}));class cn extends Rt{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return cn.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new cn(this.startLineNumber,this.startColumn,e,t):new cn(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new St(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new St(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new cn(e,t,this.endLineNumber,this.endColumn):new cn(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new cn(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new cn(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new cn(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new cn(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,i=e.length;n{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))}))}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();const i=new yn(this,e,t);return this._factories.set(e,i),b((()=>{const t=this._factories.get(e);t&&t===i&&(this._factories.delete(e),t.dispose())}))}getOrCreate(e){return Cn(this,void 0,void 0,(function*(){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))}))}isResolved(e){if(this.get(e))return!0;const t=this._factories.get(e);return!(t&&!t.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};var Rn,An,xn,Mn,kn,On,Tn,In,Pn,Dn,Kn,Fn,qn,Vn,Bn,Un,Wn,Hn,zn,$n,jn,Gn,Qn,Yn,Xn,Jn,Zn,ei,ti,ni,ii,ri,si,oi,ai,li,ui,hi,ci;!function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(Rn||(Rn={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(An||(An={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(xn||(xn={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(Mn||(Mn={})),function(e){e[e.Deprecated=1]="Deprecated"}(kn||(kn={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(On||(On={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(Tn||(Tn={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(In||(In={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(Pn||(Pn={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(Dn||(Dn={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(Kn||(Kn={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.letterSpacing=63]="letterSpacing",e[e.lightbulb=64]="lightbulb",e[e.lineDecorationsWidth=65]="lineDecorationsWidth",e[e.lineHeight=66]="lineHeight",e[e.lineNumbers=67]="lineNumbers",e[e.lineNumbersMinChars=68]="lineNumbersMinChars",e[e.linkedEditing=69]="linkedEditing",e[e.links=70]="links",e[e.matchBrackets=71]="matchBrackets",e[e.minimap=72]="minimap",e[e.mouseStyle=73]="mouseStyle",e[e.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=75]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",e[e.multiCursorModifier=77]="multiCursorModifier",e[e.multiCursorPaste=78]="multiCursorPaste",e[e.multiCursorLimit=79]="multiCursorLimit",e[e.occurrencesHighlight=80]="occurrencesHighlight",e[e.overviewRulerBorder=81]="overviewRulerBorder",e[e.overviewRulerLanes=82]="overviewRulerLanes",e[e.padding=83]="padding",e[e.pasteAs=84]="pasteAs",e[e.parameterHints=85]="parameterHints",e[e.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",e[e.quickSuggestions=88]="quickSuggestions",e[e.quickSuggestionsDelay=89]="quickSuggestionsDelay",e[e.readOnly=90]="readOnly",e[e.readOnlyMessage=91]="readOnlyMessage",e[e.renameOnType=92]="renameOnType",e[e.renderControlCharacters=93]="renderControlCharacters",e[e.renderFinalNewline=94]="renderFinalNewline",e[e.renderLineHighlight=95]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=97]="renderValidationDecorations",e[e.renderWhitespace=98]="renderWhitespace",e[e.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",e[e.roundedSelection=100]="roundedSelection",e[e.rulers=101]="rulers",e[e.scrollbar=102]="scrollbar",e[e.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=104]="scrollBeyondLastLine",e[e.scrollPredominantAxis=105]="scrollPredominantAxis",e[e.selectionClipboard=106]="selectionClipboard",e[e.selectionHighlight=107]="selectionHighlight",e[e.selectOnLineNumbers=108]="selectOnLineNumbers",e[e.showFoldingControls=109]="showFoldingControls",e[e.showUnused=110]="showUnused",e[e.snippetSuggestions=111]="snippetSuggestions",e[e.smartSelect=112]="smartSelect",e[e.smoothScrolling=113]="smoothScrolling",e[e.stickyScroll=114]="stickyScroll",e[e.stickyTabStops=115]="stickyTabStops",e[e.stopRenderingLineAfter=116]="stopRenderingLineAfter",e[e.suggest=117]="suggest",e[e.suggestFontSize=118]="suggestFontSize",e[e.suggestLineHeight=119]="suggestLineHeight",e[e.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",e[e.suggestSelection=121]="suggestSelection",e[e.tabCompletion=122]="tabCompletion",e[e.tabIndex=123]="tabIndex",e[e.unicodeHighlighting=124]="unicodeHighlighting",e[e.unusualLineTerminators=125]="unusualLineTerminators",e[e.useShadowDOM=126]="useShadowDOM",e[e.useTabStops=127]="useTabStops",e[e.wordBreak=128]="wordBreak",e[e.wordSeparators=129]="wordSeparators",e[e.wordWrap=130]="wordWrap",e[e.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=133]="wordWrapColumn",e[e.wordWrapOverride1=134]="wordWrapOverride1",e[e.wordWrapOverride2=135]="wordWrapOverride2",e[e.wrappingIndent=136]="wrappingIndent",e[e.wrappingStrategy=137]="wrappingStrategy",e[e.showDeprecated=138]="showDeprecated",e[e.inlayHints=139]="inlayHints",e[e.editorClassName=140]="editorClassName",e[e.pixelRatio=141]="pixelRatio",e[e.tabFocusMode=142]="tabFocusMode",e[e.layoutInfo=143]="layoutInfo",e[e.wrappingInfo=144]="wrappingInfo",e[e.defaultColorDecorators=145]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose"}(Fn||(Fn={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(qn||(qn={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(Vn||(Vn={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(Bn||(Bn={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(Un||(Un={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(Wn||(Wn={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(Hn||(Hn={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(zn||(zn={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}($n||($n={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(jn||(jn={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(Gn||(Gn={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(Qn||(Qn={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(Yn||(Yn={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(Xn||(Xn={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(Jn||(Jn={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(Zn||(Zn={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(ei||(ei={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(ti||(ti={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(ni||(ni={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(ii||(ii={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(ri||(ri={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(si||(si={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(oi||(oi={})),function(e){e[e.Deprecated=1]="Deprecated"}(ai||(ai={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(li||(li={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(ui||(ui={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(hi||(hi={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(ci||(ci={}));class di{static chord(e,t){return function(e,t){return(e|(65535&t)<<16>>>0)>>>0}(e,t)}}di.CtrlCmd=2048,di.Shift=1024,di.Alt=512,di.WinCtrl=256;class gi extends Bt{constructor(e){super(0);for(let t=0,n=e.length;tnew gi(e)));var mi,fi,pi,bi;!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(mi||(mi={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(fi||(fi={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(pi||(pi={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(bi||(bi={}));function _i(e,t,n,i,r){return function(e,t,n,i,r){if(0===i)return!0;const s=t.charCodeAt(i-1);if(0!==e.get(s))return!0;if(13===s||10===s)return!0;if(r>0){const n=t.charCodeAt(i);if(0!==e.get(n))return!0}return!1}(e,t,0,i,r)&&function(e,t,n,i,r){if(i+r===n)return!0;const s=t.charCodeAt(i+r);if(0!==e.get(s))return!0;if(13===s||10===s)return!0;if(r>0){const n=t.charCodeAt(i+r-1);if(0!==e.get(n))return!0}return!1}(e,t,n,i,r)}class vi{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const i=n.index,r=n[0].length;if(i===this._prevMatchStartIndex&&r===this._prevMatchLength){if(0===r){fe(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=r,!this._wordSeparators||_i(this._wordSeparators,e,t,i,r))return n}while(n);return null}}function Ci(e,t="Unreachable"){throw new Error(t)}function yi(e){e()||(e(),n(new l("Assertion Failed")))}function Li(e,t){let n=0;for(;nString.fromCodePoint(e))).join(""))}]`,"g");const l=new vi(null,a),u=[];let h,c=!1,d=0,g=0,m=0;e:for(let f=i,p=r;f<=p;f++){const t=e.getLineContent(f),n=t.length;l.reset(0);do{if(h=l.next(t),h){let e=h.index,i=h.index+h[0].length;if(e>0){de(t.charCodeAt(e-1))&&e--}if(i+1=t){c=!0;break e}u.push(new Rt(f,e+1,f,i+1))}}}while(h)}return{ranges:u,hasMore:c,ambiguousCharacterCount:d,invisibleCharacterCount:g,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){const n=new Ni(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const i=e.codePointAt(0),r=n.ambiguousCharacters.getPrimaryConfusable(i),s=_e.getLocales().filter((e=>!_e.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(i)));return{kind:0,confusableWith:String.fromCodePoint(r),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class Ni{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=_e.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const t of ve.codePoints)Ei(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,r=!1;if(t)for(const o of t){const e=o.codePointAt(0),t=(s=o,pe.test(s));i=i||t,t||this.ambiguousCharacters.isAmbiguous(e)||ve.isInvisibleCharacter(e)||(r=!0)}var s;return!i&&r?0:this.options.invisibleCharacters&&!Ei(e)&&ve.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function Ei(e){return" "===e||"\n"===e||"\t"===e}class Si{constructor(e,t,n){this.changes=e,this.moves=t,this.hitTimeout=n}}class Ri{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class Ai{static addRange(e,t){let n=0;for(;nt))return new Ai(e,t)}static ofLength(e){return new Ai(0,e)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new l(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new Ai(this.start+e,this.endExclusive+e)}deltaStart(e){return new Ai(this.start+e,this.endExclusive)}deltaEnd(e){return new Ai(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tt)throw new l(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber)),n=Mi(this._normalizedRanges,(t=>t.startLineNumber<=e.endLineNumberExclusive))+1;if(t===n)this._normalizedRanges.splice(t,0,e);else if(t===n-1){const n=this._normalizedRanges[t];this._normalizedRanges[t]=n.join(e)}else{const i=this._normalizedRanges[t].join(this._normalizedRanges[n-1]).join(e);this._normalizedRanges.splice(t,n-t,i)}}contains(e){const t=xi(this._normalizedRanges,(t=>t.startLineNumber<=e));return!!t&&t.endLineNumberExclusive>e}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;const t=[];let n=0,i=0,r=null;for(;n=s.startLineNumber?r=new Ti(r.startLineNumber,Math.max(r.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(r),r=s)}return null!==r&&t.push(r),new Ii(t)}subtractFrom(e){const t=ki(this._normalizedRanges,(t=>t.endLineNumberExclusive>=e.startLineNumber)),n=Mi(this._normalizedRanges,(t=>t.startLineNumber<=e.endLineNumberExclusive))+1;if(t===n)return new Ii([e]);const i=[];let r=e.startLineNumber;for(let s=t;sr&&i.push(new Ti(r,e.startLineNumber)),r=e.endLineNumberExclusive}return re.toString())).join(", ")}getIntersection(e){const t=[];let n=0,i=0;for(;nt.delta(e))))}}class Pi{static inverse(e,t,n){const i=[];let r=1,s=1;for(const a of e){const e=new Di(new Ti(r,a.original.startLineNumber),new Ti(s,a.modified.startLineNumber),void 0);e.modified.isEmpty||i.push(e),r=a.original.endLineNumberExclusive,s=a.modified.endLineNumberExclusive}const o=new Di(new Ti(r,t+1),new Ti(s,n+1),void 0);return o.modified.isEmpty||i.push(o),i}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new Pi(this.modified,this.original)}join(e){return new Pi(this.original.join(e.original),this.modified.join(e.modified))}}class Di extends Pi{constructor(e,t,n){super(e,t),this.innerChanges=n}flip(){var e;return new Di(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map((e=>e.flip())))}}class Ki{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new Ki(this.modifiedRange,this.originalRange)}}class Fi{computeDiff(e,t,n){var i;const r=new Hi(e,t,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),s=[];let o=null;for(const a of r.changes){let e,t;e=0===a.originalEndLineNumber?new Ti(a.originalStartLineNumber+1,a.originalStartLineNumber+1):new Ti(a.originalStartLineNumber,a.originalEndLineNumber+1),t=0===a.modifiedEndLineNumber?new Ti(a.modifiedStartLineNumber+1,a.modifiedStartLineNumber+1):new Ti(a.modifiedStartLineNumber,a.modifiedEndLineNumber+1);let n=new Di(e,t,null===(i=a.charChanges)||void 0===i?void 0:i.map((e=>new Ki(new Rt(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new Rt(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)))));o&&(o.modified.endLineNumberExclusive!==n.modified.startLineNumber&&o.original.endLineNumberExclusive!==n.original.startLineNumber||(n=new Di(o.original.join(n.original),o.modified.join(n.modified),o.innerChanges&&n.innerChanges?o.innerChanges.concat(n.innerChanges):void 0),s.pop())),s.push(n),o=n}return yi((()=>Li(s,((e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`)).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return-1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e]?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return-1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e]?1:this._columns[e]+1)}}class Ui{constructor(e,t,n,i,r,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=r,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){const i=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),u=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new Ui(i,r,s,o,a,l,u,h)}}class Wi{constructor(e,t,n,i,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=r}static createFromDiffResult(e,t,n,i,r,s,o){let a,l,u,h,c;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=i.getStartLineNumber(t.modifiedStart)-1,h=0):(u=i.getStartLineNumber(t.modifiedStart),h=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){const s=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=qi(s,a,r,!0).changes;o&&(e=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,r=e.length;i1&&o>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(o-2))break;n--,o--}(n>1||o>1)&&this._pushTrimWhitespaceCharChange(i,r+1,1,n,s+1,1,o)}{let n=$i(e,1),o=$i(t,1);const a=e.length+1,l=t.length+1;for(;n=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}(e);return-1===n?t:n+2}function ji(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t{n.push(Qi.fromOffsetPairs(e?e.getEndExclusives():Yi.zero,i?i.getStarts():new Yi(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))})),n}static fromOffsetPairs(e,t){return new Qi(new Ai(e.offset1,t.offset1),new Ai(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new Qi(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new Qi(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new Qi(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new Qi(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new Qi(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){const t=this.seq1Range.intersect(e.seq1Range),n=this.seq2Range.intersect(e.seq2Range);if(t&&n)return new Qi(t,n)}getStarts(){return new Yi(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new Yi(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class Yi{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}}Yi.zero=new Yi(0,0),Yi.max=new Yi(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class Xi{isValid(){return!0}}Xi.instance=new Xi;class Ji{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new l("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&a>0&&3===s.get(g-1,a-1)&&(h+=o.get(g-1,a-1)),h+=i?i(g,a):1):h=-1;const c=Math.max(l,u,h);if(c===h){const e=g>0&&a>0?o.get(g-1,a-1):0;o.set(g,a,e+1),s.set(g,a,3)}else c===l?(o.set(g,a,0),s.set(g,a,1)):c===u&&(o.set(g,a,0),s.set(g,a,2));r.set(g,a,c)}const a=[];let l=e.length,u=t.length;function h(e,t){e+1===l&&t+1===u||a.push(new Qi(new Ai(e+1,l),new Ai(t+1,u))),l=e,u=t}let c=e.length-1,d=t.length-1;for(;c>=0&&d>=0;)3===s.get(c,d)?(h(c,d),c--,d--):1===s.get(c,d)?c--:d--;return h(-1,-1),a.reverse(),new Gi(a,!1)}}class ir{compute(e,t,n=Xi.instance){if(0===e.length||0===t.length)return Gi.trivial(e,t);const i=e,r=t;function s(e,t){for(;ei.length||d>r.length)continue;const g=s(c,d);a.set(u,g);const m=c===o?l.get(u+1):l.get(u-1);if(l.set(u,g!==c?new rr(m,c,d,g-c):m),a.get(u)===i.length&&a.get(u)-u===r.length)break e}}let h=l.get(u);const c=[];let d=i.length,g=r.length;for(;;){const e=h?h.x+h.length:0,t=h?h.y+h.length:0;if(e===d&&t===g||c.push(new Qi(new Ai(e,d),new Ai(t,g))),!h)break;d=h.x,g=h.y,h=h.prev}return c.reverse(),new Gi(c,!1)}}class rr{constructor(e,t,n,i){this.prev=e,this.x=t,this.y=n,this.length=i}}class sr{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){const e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){const e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class or{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}var ar;class lr{constructor(e,t){this.uri=e,this.value=t}}class ur{constructor(e,t){if(this[ar]="ResourceMap",e instanceof ur)this.map=new Map(e.map),this.toKey=null!=t?t:ur.defaultToKey;else if(function(e){return Array.isArray(e)}(e)){this.map=new Map,this.toKey=null!=t?t:ur.defaultToKey;for(const[t,n]of e)this.set(t,n)}else this.map=new Map,this.toKey=null!=e?e:ur.defaultToKey}set(e,t){return this.map.set(this.toKey(e),new lr(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){void 0!==t&&(e=e.bind(t));for(const[n,i]of this.map)e(i.value,i.uri,this)}*values(){for(const e of this.map.values())yield e.value}*keys(){for(const e of this.map.values())yield e.uri}*entries(){for(const e of this.map.values())yield[e.uri,e.value]}*[(ar=Symbol.toStringTag,Symbol.iterator)](){for(const[,e]of this.map)yield[e.uri,e.value]}}ur.defaultToKey=e=>e.toString();Symbol.toStringTag,Symbol.iterator;class hr{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}get(e){const t=this.map.get(e);return t||new Set}}class cr{constructor(e,t,n){this.lines=e,this.considerWhitespaceChanges=n,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let i=!1;t.start>0&&t.endExclusive>=e.length&&(t=new Ai(t.start-1,t.endExclusive),i=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let r=this.lineRange.start;rString.fromCharCode(e))).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){const t=fr(e>0?this.elements[e-1]:-1),n=fr(et<=e));return new St(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return Rt.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length)return;if(!dr(this.elements[e]))return;let t=e;for(;t>0&&dr(this.elements[t-1]);)t--;let n=e;for(;nt<=e.start)))&&void 0!==t?t:0,r=null!==(n=function(e,t){const n=ki(e,t);return n===e.length?void 0:e[n]}(this.firstCharOffsetByLine,(t=>e.endExclusive<=t)))&&void 0!==n?n:this.elements.length;return new Ai(i,r)}}function dr(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const gr={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function mr(e){return gr[e]}function fr(e){return 10===e?7:13===e?6:er(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:-1===e?3:4}function pr(e,t,n,i,r,s){let{moves:o,excludedChanges:a}=function(e,t,n,i){const r=[],s=e.filter((e=>e.modified.isEmpty&&e.original.length>=3)).map((e=>new tr(e.original,t,e))),o=new Set(e.filter((e=>e.original.isEmpty&&e.modified.length>=3)).map((e=>new tr(e.modified,n,e)))),a=new Set;for(const l of s){let e,t=-1;for(const n of o){const i=l.computeSimilarity(n);i>t&&(t=i,e=n)}if(t>.9&&e&&(o.delete(e),r.push(new Pi(l.range,e.range)),a.add(l.source),a.add(e.source)),!i.isValid())return{moves:r,excludedChanges:a}}return{moves:r,excludedChanges:a}}(e,t,n,s);if(!s.isValid())return[];const l=function(e,t,n,i,r,s){const o=[],a=new hr;for(const g of e)for(let e=g.original.startLineNumber;ee.modified.startLineNumber),Mt));for(const g of e){let e=[];for(let t=g.modified.startLineNumber;t{for(const i of e)if(i.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&i.modifiedLineRange.endLineNumberExclusive+1===r.endLineNumberExclusive)return i.originalLineRange=new Ti(i.originalLineRange.startLineNumber,t.endLineNumberExclusive),i.modifiedLineRange=new Ti(i.modifiedLineRange.startLineNumber,r.endLineNumberExclusive),void s.push(i);const n={modifiedLineRange:r,originalLineRange:t};l.push(n),s.push(n)})),e=s}if(!s.isValid())return[]}l.sort((u=xt((e=>e.modifiedLineRange.length),Mt),(e,t)=>-u(e,t)));var u;const h=new Ii,c=new Ii;for(const g of l){const e=g.modifiedLineRange.startLineNumber-g.originalLineRange.startLineNumber,t=h.subtractFrom(g.modifiedLineRange),n=c.subtractFrom(g.originalLineRange).getWithDelta(e),i=t.getIntersection(n);for(const r of i.ranges){if(r.length<3)continue;const t=r,n=r.delta(-e);o.push(new Pi(n,t)),h.addRange(t),c.addRange(n)}}o.sort(xt((e=>e.original.startLineNumber),Mt));const d=new Oi(e);for(let g=0;ge.original.startLineNumber<=t.original.startLineNumber)),a=xi(e,(e=>e.modified.startLineNumber<=t.modified.startLineNumber)),l=Math.max(t.original.startLineNumber-n.original.startLineNumber,t.modified.startLineNumber-a.modified.startLineNumber),u=d.findLastMonotonous((e=>e.original.startLineNumbere.modified.startLineNumberi.length||n>r.length)break;if(h.contains(n)||c.contains(e))break;if(!br(i[e-1],r[n-1],s))break}for(p>0&&(c.addRange(new Ti(t.original.startLineNumber-p,t.original.startLineNumber)),h.addRange(new Ti(t.modified.startLineNumber-p,t.modified.startLineNumber))),b=0;bi.length||n>r.length)break;if(h.contains(n)||c.contains(e))break;if(!br(i[e-1],r[n-1],s))break}b>0&&(c.addRange(new Ti(t.original.endLineNumberExclusive,t.original.endLineNumberExclusive+b)),h.addRange(new Ti(t.modified.endLineNumberExclusive,t.modified.endLineNumberExclusive+b))),(p>0||b>0)&&(o[g]=new Pi(new Ti(t.original.startLineNumber-p,t.original.endLineNumberExclusive+b),new Ti(t.modified.startLineNumber-p,t.modified.endLineNumberExclusive+b)))}return o}(e.filter((e=>!a.has(e))),i,r,t,n,s);return function(e,t){for(const n of t)e.push(n)}(o,l),o=function(e){if(0===e.length)return e;e.sort(xt((e=>e.original.startLineNumber),Mt));const t=[e[0]];for(let n=1;n=0&&o>=0&&s+o<=2?t[t.length-1]=i.join(r):t.push(r)}return t}(o),o=o.filter((e=>e.original.toOffsetRange().slice(t).map((e=>e.trim())).join("\n").length>=10)),o=function(e,t){const n=new Oi(e);return t=t.filter((t=>(n.findLastMonotonous((e=>e.original.endLineNumberExclusivee.modified.endLineNumberExclusive300&&t.length>300)return!1;const i=(new ir).compute(new cr([e],new Ai(0,1),!1),new cr([t],new Ai(0,1),!1),n);let r=0;const s=Qi.invert(i.diffs,e.length);for(const a of s)a.seq1Range.forEach((t=>{er(e.charCodeAt(t))||r++}));const o=function(t){let n=0;for(let i=0;it.length?e:t);return r/o>.6&&o>10}function _r(e,t,n){let i=n;return i=function(e,t,n){if(0===n.length)return n;const i=[];i.push(n[0]);for(let s=1;s0&&(o=o.delta(a))}r.push(o)}i.length>0&&r.push(i[i.length-1]);return r}(e,t,i),i=function(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let i=0;i0?n[i-1]:void 0,s=n[i],o=i+1=i.start&&e.seq2Range.start-s>=r.start&&n.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=o,a=u)}return e.delta(a)}class Cr{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){return 1e3-((0===e?0:yr(this.lines[e-1]))+(e===this.lines.length?0:yr(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function yr(e){let t=0;for(;te===t){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0,r=e.length;ie===t)))return new Si([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new Si([new Di(new Ti(1,e.length+1),new Ti(1,t.length+1),[new Ki(new Rt(1,1,e.length,e[0].length+1),new Rt(1,1,t.length,t[0].length+1))])],[],!1);const i=0===n.maxComputationTimeMs?Xi.instance:new Ji(n.maxComputationTimeMs),r=!n.ignoreTrimWhitespace,s=new Map;function o(e){let t=s.get(e);return void 0===t&&(t=s.size,s.set(e,t)),t}const a=e.map((e=>o(e.trim()))),l=t.map((e=>o(e.trim()))),u=new Cr(a,e),h=new Cr(l,t),c=(()=>u.length+h.length<1700?this.dynamicProgrammingDiffing.compute(u,h,i,((n,i)=>e[n]===t[i]?0===t[i].length?.1:1+Math.log(1+t[i].length):.99)):this.myersDiffingAlgorithm.compute(u,h))();let d=c.diffs,g=c.hitTimeout;d=_r(u,h,d),d=function(e,t,n){let i=n;if(0===i.length)return i;let r,s=0;do{r=!1;const o=[i[0]];for(let a=1;a5||n.seq1Range.length+n.seq2Range.length>5)}h(u,l)?(r=!0,o[o.length-1]=o[o.length-1].join(l)):o.push(l)}i=o}while(s++<10&&r);return i}(u,0,d);const m=[],f=n=>{if(r)for(let s=0;sC.seq1Range.start-p==C.seq2Range.start-b));f(C.seq1Range.start-p),p=C.seq1Range.endExclusive,b=C.seq2Range.endExclusive;const n=this.refineDiff(e,t,C,i,r);n.hitTimeout&&(g=!0);for(const e of n.mappings)m.push(e)}f(e.length-p);const _=wr(m,e,t);let v=[];return n.computeMoves&&(v=this.computeMoves(_,e,t,a,l,i,r)),yi((()=>{function n(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;const n=t[e.lineNumber-1];return!(e.column<1||e.column>n.length+1)}function i(e,t){return!(e.startLineNumber<1||e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1||e.endLineNumberExclusive>t.length+1)}for(const r of _){if(!r.innerChanges)return!1;for(const i of r.innerChanges){if(!(n(i.modifiedRange.getStartPosition(),t)&&n(i.modifiedRange.getEndPosition(),t)&&n(i.originalRange.getStartPosition(),e)&&n(i.originalRange.getEndPosition(),e)))return!1}if(!i(r.modified,t)||!i(r.original,e))return!1}return!0})),new Si(_,v,g)}computeMoves(e,t,n,i,r,s,o){return pr(e,t,n,i,r,s).map((e=>{const i=wr(this.refineDiff(t,n,new Qi(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o).mappings,t,n,!0);return new Ri(e,i)}))}refineDiff(e,t,n,i,r){const s=new cr(e,n.seq1Range,r),o=new cr(t,n.seq2Range,r),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,i):this.myersDiffingAlgorithm.compute(s,o,i);let l=a.diffs;l=_r(s,o,l),l=function(e,t,n){const i=[];let r;function s(){if(!r)return;const e=r.s1Range.length-r.deleted;r.s2Range.length,r.added,Math.max(r.deleted,r.added)+(r.count-1)>e&&i.push(new Qi(r.s1Range,r.s2Range)),r=void 0}for(const o of n){function a(e,t){var n,i,a,l;if(!r||!r.s1Range.containsRange(e)||!r.s2Range.containsRange(t))if(!r||r.s1Range.endExclusive0||t.length>0;){const i=e[0],r=t[0];let s;s=i&&(!r||i.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}(n,i)}(s,o,l),l=function(e,t,n){const i=[];for(const r of n){const e=i[i.length-1];e&&(r.seq1Range.start-e.seq1Range.endExclusive<=2||r.seq2Range.start-e.seq2Range.endExclusive<=2)?i[i.length-1]=new Qi(e.seq1Range.join(r.seq1Range),e.seq2Range.join(r.seq2Range)):i.push(r)}return i}(0,0,l),l=function(e,t,n){let i=n;if(0===i.length)return i;let r,s=0;do{r=!1;const a=[i[0]];for(let l=1;l5||r.length>500)return!1;const s=e.getText(r).trim();if(s.length>20||s.split(/\r\n|\r|\n/).length>1)return!1;const o=e.countLinesIn(n.seq1Range),a=n.seq1Range.length,l=t.countLinesIn(n.seq2Range),c=n.seq2Range.length,d=e.countLinesIn(i.seq1Range),g=i.seq1Range.length,m=t.countLinesIn(i.seq2Range),f=i.seq2Range.length;function p(e){return Math.min(e,130)}return Math.pow(Math.pow(p(40*o+a),1.5)+Math.pow(p(40*l+c),1.5),1.5)+Math.pow(Math.pow(p(40*d+g),1.5)+Math.pow(p(40*m+f),1.5),1.5)>1.3*Math.pow(Math.pow(130,1.5),1.5)}c(h,u)?(r=!0,a[a.length-1]=a[a.length-1].join(u)):a.push(u)}i=a}while(s++<10&&r);const o=[];return function(e,t){for(let n=0;n{let r=n;function s(e){return e.length>0&&e.trim().length<=3&&n.seq1Range.length+n.seq2Range.length>100}const a=e.extendToFullLines(n.seq1Range),l=e.getText(new Ai(a.start,n.seq1Range.start));s(l)&&(r=r.deltaStart(-l.length));const u=e.getText(new Ai(n.seq1Range.endExclusive,a.endExclusive));s(u)&&(r=r.deltaEnd(u.length));const h=Qi.fromOffsetPairs(t?t.getEndExclusives():Yi.zero,i?i.getStarts():Yi.max),c=r.intersect(h);o.push(c)})),o}(s,o,l);return{mappings:l.map((e=>new Ki(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range)))),hitTimeout:a.hitTimeout}}}function wr(e,t,n,i=!1){const r=[];for(const s of function*(e,t){let n,i;for(const r of e)void 0!==i&&t(i,r)?n.push(r):(n&&(yield n),n=[r]),i=r;n&&(yield n)}(e.map((e=>function(e,t,n){let i=0,r=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+i<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+i<=e.modifiedRange.endLineNumber&&(r=-1);e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(i=1);const s=new Ti(e.originalRange.startLineNumber+i,e.originalRange.endLineNumber+1+r),o=new Ti(e.modifiedRange.startLineNumber+i,e.modifiedRange.endLineNumber+1+r);return new Di(s,o,[e])}(e,t,n))),((e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified)))){const e=s[0],t=s[s.length-1];r.push(new Di(e.original.join(t.original),e.modified.join(t.modified),s.map((e=>e.innerChanges[0]))))}return yi((()=>!(!i&&r.length>0&&r[0].original.startLineNumber!==r[0].modified.startLineNumber)&&Li(r,((e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivenew Fi,Er=()=>new Lr;function Sr(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class Rr{constructor(e,t,n,i=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=Sr(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class Ar{constructor(e,t,n,i){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=Sr(Math.max(Math.min(1,t),0),3),this.l=Sr(Math.max(Math.min(1,n),0),3),this.a=Sr(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,r=e.a,s=Math.max(t,n,i),o=Math.min(t,n,i);let a=0,l=0;const u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(n-i)/h+(n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:i,a:r}=e;let s,o,a;if(0===n)s=o=a=i;else{const e=i<.5?i*(1+n):i+n-i*n,r=2*i-e;s=Ar._hue2rgb(r,e,t+1/3),o=Ar._hue2rgb(r,e,t),a=Ar._hue2rgb(r,e,t-1/3)}return new Rr(Math.round(255*s),Math.round(255*o),Math.round(255*a),r)}}class xr{constructor(e,t,n,i){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=Sr(Math.max(Math.min(1,t),0),3),this.v=Sr(Math.max(Math.min(1,n),0),3),this.a=Sr(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,r=Math.max(t,n,i),s=r-Math.min(t,n,i),o=0===r?0:s/r;let a;return a=0===s?0:r===t?((n-i)/s%6+6)%6:r===n?(i-t)/s+2:(t-n)/s+4,new xr(Math.round(60*a),o,r,e.a)}static toRGBA(e){const{h:t,s:n,v:i,a:r}=e,s=i*n,o=s*(1-Math.abs(t/60%2-1)),a=i-s;let[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),l=Math.round(255*(l+a)),u=Math.round(255*(u+a)),h=Math.round(255*(h+a)),new Rr(l,u,h,r)}}class Mr{static fromHex(e){return Mr.Format.CSS.parseHex(e)||Mr.red}static equals(e,t){return!e&&!t||!(!e||!t)&&e.equals(t)}get hsla(){return this._hsla?this._hsla:Ar.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:xr.fromRGBA(this.rgba)}constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof Rr)this.rgba=e;else if(e instanceof Ar)this._hsla=e,this.rgba=Ar.toRGBA(e);else{if(!(e instanceof xr))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=xr.toRGBA(e)}}equals(e){return!!e&&Rr.equals(this.rgba,e.rgba)&&Ar.equals(this.hsla,e.hsla)&&xr.equals(this.hsva,e.hsva)}getRelativeLuminance(){return Sr(.2126*Mr._relativeLuminanceForComponent(this.rgba.r)+.7152*Mr._relativeLuminanceForComponent(this.rgba.g)+.0722*Mr._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()0)for(const i of n){const n=i.filter((e=>void 0!==e)),r=n[1],s=n[2];if(!s)continue;let o;if("rgb"===r){const t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=Pr(Tr(e,i),Kr(s,t),!1)}else if("rgba"===r){const t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=Pr(Tr(e,i),Kr(s,t),!0)}else if("hsl"===r){const t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=Dr(Tr(e,i),Kr(s,t),!1)}else if("hsla"===r){const t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=Dr(Tr(e,i),Kr(s,t),!0)}else"#"===r&&(o=Ir(Tr(e,i),r+s));o&&t.push(o)}return t}(e):[]}Mr.white=new Mr(new Rr(255,255,255,1)),Mr.black=new Mr(new Rr(0,0,0,1)),Mr.red=new Mr(new Rr(255,0,0,1)),Mr.blue=new Mr(new Rr(0,0,255,1)),Mr.green=new Mr(new Rr(0,255,0,1)),Mr.cyan=new Mr(new Rr(0,255,255,1)),Mr.lightgrey=new Mr(new Rr(211,211,211,1)),Mr.transparent=new Mr(new Rr(0,0,0,0)),function(e){let t;!function(t){let n;!function(t){function n(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}function i(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}t.formatRGB=function(t){return 1===t.rgba.a?`rgb(${t.rgba.r}, ${t.rgba.g}, ${t.rgba.b})`:e.Format.CSS.formatRGBA(t)},t.formatRGBA=function(e){return`rgba(${e.rgba.r}, ${e.rgba.g}, ${e.rgba.b}, ${+e.rgba.a.toFixed(2)})`},t.formatHSL=function(t){return 1===t.hsla.a?`hsl(${t.hsla.h}, ${(100*t.hsla.s).toFixed(2)}%, ${(100*t.hsla.l).toFixed(2)}%)`:e.Format.CSS.formatHSLA(t)},t.formatHSLA=function(e){return`hsla(${e.hsla.h}, ${(100*e.hsla.s).toFixed(2)}%, ${(100*e.hsla.l).toFixed(2)}%, ${e.hsla.a.toFixed(2)})`},t.formatHex=function(e){return`#${n(e.rgba.r)}${n(e.rgba.g)}${n(e.rgba.b)}`},t.formatHexA=function(t,i=!1){return i&&1===t.rgba.a?e.Format.CSS.formatHex(t):`#${n(t.rgba.r)}${n(t.rgba.g)}${n(t.rgba.b)}${n(Math.round(255*t.rgba.a))}`},t.format=function(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)},t.parseHex=function(t){const n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),r=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),s=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));return new e(new Rr(n,r,s,1))}if(9===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),r=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),s=16*i(t.charCodeAt(5))+i(t.charCodeAt(6)),o=16*i(t.charCodeAt(7))+i(t.charCodeAt(8));return new e(new Rr(n,r,s,o/255))}if(4===n){const n=i(t.charCodeAt(1)),r=i(t.charCodeAt(2)),s=i(t.charCodeAt(3));return new e(new Rr(16*n+n,16*r+r,16*s+s))}if(5===n){const n=i(t.charCodeAt(1)),r=i(t.charCodeAt(2)),s=i(t.charCodeAt(3)),o=i(t.charCodeAt(4));return new e(new Rr(16*n+n,16*r+r,16*s+s,(16*o+o)/255))}return null}}(n=t.CSS||(t.CSS={}))}(t=e.Format||(e.Format={}))}(Mr||(Mr={}));var qr=function(e,t,n,i){return new(n||(n=Promise))((function(r,s){function o(e){try{l(i.next(e))}catch(Wr){s(Wr)}}function a(e){try{l(i.throw(e))}catch(Wr){s(Wr)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}l((i=i.apply(e,t||[])).next())}))};class Vr extends Dt{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){const t=[];for(let n=0;nthis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{const e=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>e&&(n=e,i=!0)}return i?{lineNumber:t,column:n}:e}}class Br{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach((t=>e.push(this._models[t]))),e}acceptNewModel(e){this._models[e.url]=new Vr(ft.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return qr(this,void 0,void 0,(function*(){const i=this._getModel(e);return i?wi.computeUnicodeHighlights(i,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}))}computeDiff(e,t,n,i){return qr(this,void 0,void 0,(function*(){const r=this._getModel(e),s=this._getModel(t);return r&&s?Br.computeDiff(r,s,n,i):null}))}static computeDiff(e,t,n,i){const r="advanced"===i?Er():Nr(),s=e.getLinesContent(),o=t.getLinesContent(),a=r.computeDiff(s,o,n);function l(e){return e.map((e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map((e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn]))]}))}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:l(a.changes),moves:a.moves.map((e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,l(e.changes)]))}}static _modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let i=1;i<=n;i++){if(e.getLineContent(i)!==t.getLineContent(i))return!1}return!0}computeMoreMinimalEdits(e,t,n){return qr(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return t;const r=[];let s;t=t.slice(0).sort(((e,t)=>{if(e.range&&t.range)return Rt.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)}));let o=0;for(let e=1;eBr._diffLimit){r.push({range:e,text:a});continue}const o=Ve(t,a,n),u=i.offsetAt(Rt.lift(e).getStartPosition());for(const e of o){const t=i.positionAt(u+e.originalStart),n=i.positionAt(u+e.originalStart+e.originalLength),s={text:a.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}};i.getValueInRange(s.range)!==s.text&&r.push(s)}}return"number"==typeof s&&r.push({eol:s,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),r}))}computeLinks(e){return qr(this,void 0,void 0,(function*(){const t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?$t.computeLinks(e):[]}(t):null}))}computeDefaultDocumentColors(e){return qr(this,void 0,void 0,(function*(){const t=this._getModel(e);return t?Fr(t):null}))}textualSuggest(e,t,n,i){return qr(this,void 0,void 0,(function*(){const r=new w,s=new RegExp(n,i),o=new Set;e:for(const n of e){const e=this._getModel(n);if(e)for(const n of e.words(s))if(n!==t&&isNaN(Number(n))&&(o.add(n),o.size>Br._suggestionsLimit))break e}return{words:Array.from(o),duration:r.elapsed()}}))}computeWordRanges(e,t,n,i){return qr(this,void 0,void 0,(function*(){const r=this._getModel(e);if(!r)return Object.create(null);const s=new RegExp(n,i),o=Object.create(null);for(let e=t.startLineNumber;efunction(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},i={};for(const r of e)i[r]=n(r);return i}(n,((e,t)=>this._host.fhr(e,t))),r={host:i,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(k(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(Wr){return Promise.reject(Wr)}}}Br._diffLimit=1e5,Br._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:Xt,Emitter:x,KeyCode:$n,KeyMod:di,Position:St,Range:Rt,Selection:cn,SelectionDirection:ri,MarkerSeverity:jn,MarkerTag:Gn,Uri:ft,Token:Ln});let Ur=!1;globalThis.onmessage=e=>{Ur||function(e){if(Ur)return;Ur=!0;const t=new ke((e=>{globalThis.postMessage(e)}),(t=>new Br(t,e)));globalThis.onmessage=e=>{t.onmessage(e.data)}}(null)}})(); \ No newline at end of file diff --git a/pr-preview/pr-4/img/BCID_H_rgb_pos.png b/pr-preview/pr-4/img/BCID_H_rgb_pos.png new file mode 100644 index 0000000..07e4176 Binary files /dev/null and b/pr-preview/pr-4/img/BCID_H_rgb_pos.png differ diff --git a/pr-preview/pr-4/img/BCID_H_rgb_rev.png b/pr-preview/pr-4/img/BCID_H_rgb_rev.png new file mode 100644 index 0000000..d4b812e Binary files /dev/null and b/pr-preview/pr-4/img/BCID_H_rgb_rev.png differ diff --git a/pr-preview/pr-4/img/cc-by.png b/pr-preview/pr-4/img/cc-by.png new file mode 100644 index 0000000..fbc6ccf Binary files /dev/null and b/pr-preview/pr-4/img/cc-by.png differ diff --git a/pr-preview/pr-4/img/docusaurus.png b/pr-preview/pr-4/img/docusaurus.png new file mode 100644 index 0000000..f458149 Binary files /dev/null and b/pr-preview/pr-4/img/docusaurus.png differ diff --git a/pr-preview/pr-4/img/favicon.ico b/pr-preview/pr-4/img/favicon.ico new file mode 100644 index 0000000..1841396 Binary files /dev/null and b/pr-preview/pr-4/img/favicon.ico differ diff --git a/pr-preview/pr-4/img/favicon.png b/pr-preview/pr-4/img/favicon.png new file mode 100644 index 0000000..20742f9 Binary files /dev/null and b/pr-preview/pr-4/img/favicon.png differ diff --git a/pr-preview/pr-4/img/gear-tools.svg b/pr-preview/pr-4/img/gear-tools.svg new file mode 100644 index 0000000..179298d --- /dev/null +++ b/pr-preview/pr-4/img/gear-tools.svg @@ -0,0 +1,100 @@ + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + + + + + + + + + diff --git a/pr-preview/pr-4/img/logo.svg b/pr-preview/pr-4/img/logo.svg new file mode 100644 index 0000000..9db6d0d --- /dev/null +++ b/pr-preview/pr-4/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-4/img/opensource-icon.svg b/pr-preview/pr-4/img/opensource-icon.svg new file mode 100644 index 0000000..f80e731 --- /dev/null +++ b/pr-preview/pr-4/img/opensource-icon.svg @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/pr-preview/pr-4/img/undraw-code-review.svg b/pr-preview/pr-4/img/undraw-code-review.svg new file mode 100644 index 0000000..d55fc31 --- /dev/null +++ b/pr-preview/pr-4/img/undraw-code-review.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-4/index.html b/pr-preview/pr-4/index.html new file mode 100644 index 0000000..0300699 --- /dev/null +++ b/pr-preview/pr-4/index.html @@ -0,0 +1,13 @@ + + + + + +Welcome to Permitting Interoperability Exchange Specification | Permitting Interoperability Exchange Specification + + + + +

    Permitting Interoperability Exchange Specification

    An easy as pie way to exchange standardized permitting information. 🥧

    Easy to Use

    PIES was designed from the ground up to be easily understood and installed in your application quickly.

    Interoperable

    PIES lets you focus on your data. Let your systems communicate to each other with ease.

    Open Source

    Want to improve PIES? We welcome your contributions!

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/json.worker.js b/pr-preview/pr-4/json.worker.js new file mode 100644 index 0000000..77ddb68 --- /dev/null +++ b/pr-preview/pr-4/json.worker.js @@ -0,0 +1,2 @@ +/*! For license information please see json.worker.js.LICENSE.txt */ +(()=>{"use strict";var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();const t=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack){if(a.isErrorNoTelemetry(e))throw new a(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function n(e){s(e)||t.onUnexpectedError(e)}function r(e){if(e instanceof Error){const{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:a.isErrorNoTelemetry(e)}}return e}const i="Canceled";function s(e){return e instanceof o||e instanceof Error&&e.name===i&&e.message===i}class o extends Error{constructor(){super(i),this.name=this.message}}Error;class a extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof a)return e;const t=new a;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class l extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,l.prototype)}}function u(e){const t=this;let n,r=!1;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}var c;!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;const n=Object.freeze([]);function*r(e){yield e}e.empty=function(){return n},e.single=r,e.wrap=function(e){return t(e)?e:r(e)},e.from=function(e){return e||n},e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.find=function(e,t){for(const n of e)if(t(n))return n},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(const r of e)yield t(r,n++)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.reduce=function(e,t,n){let r=n;for(const i of e)r=t(r,i);return r},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);ti}]}}(c||(c={}));let h=null;function d(e){return null==h||h.trackDisposable(e),e}function f(e){null==h||h.markAsDisposed(e)}function m(e,t){null==h||h.setParent(e,t)}function g(e){if(c.is(e)){const n=[];for(const r of e)if(r)try{r.dispose()}catch(t){n.push(t)}if(1===n.length)throw n[0];if(n.length>1)throw new AggregateError(n,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function p(...e){const t=v((()=>g(e)));return function(e,t){if(h)for(const n of e)h.setParent(n,t)}(e,t),t}function v(e){const t=d({dispose:u((()=>{f(t),e()}))});return t}class b{constructor(){this._toDispose=new Set,this._isDisposed=!1,d(this)}dispose(){this._isDisposed||(f(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{g(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return m(e,this),this._isDisposed?b.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&(this._toDispose.delete(e),m(e,null))}}b.DISABLE_DISPOSED_WARNING=!1;class y{constructor(){this._store=new b,d(this),m(this._store,this)}dispose(){f(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}y.None=Object.freeze({dispose(){}});Symbol.iterator;class _{constructor(e){this.element=e,this.next=_.Undefined,this.prev=_.Undefined}}_.Undefined=new _(void 0);class C{constructor(){this._first=_.Undefined,this._last=_.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===_.Undefined}clear(){let e=this._first;for(;e!==_.Undefined;){const t=e.next;e.prev=_.Undefined,e.next=_.Undefined,e=t}this._first=_.Undefined,this._last=_.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new _(e);if(this._first===_.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==_.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==_.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==_.Undefined&&e.next!==_.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===_.Undefined&&e.next===_.Undefined?(this._first=_.Undefined,this._last=_.Undefined):e.next===_.Undefined?(this._last=this._last.prev,this._last.next=_.Undefined):e.prev===_.Undefined&&(this._first=this._first.next,this._first.prev=_.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==_.Undefined;)yield e.element,e=e.next}}const w=globalThis.performance&&"function"==typeof globalThis.performance.now;class S{static create(e){return new S(e)}constructor(e){this._now=w&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}var L;!function(e){function t(e){false}function n(e){return(t,n=null,r)=>{let i,s=!1;return i=e((e=>{if(!s)return i?i.dispose():s=!0,t.call(n,e)}),null,r),s&&i.dispose(),i}}function r(e,t,n){return s(((n,r=null,i)=>e((e=>n.call(r,t(e))),null,i)),n)}function i(e,t,n){return s(((n,r=null,i)=>e((e=>t(e)&&n.call(r,e)),null,i)),n)}function s(e,n){let r;const i={onWillAddFirstListener(){r=e(s.fire,s)},onDidRemoveLastListener(){null==r||r.dispose()}};n||t();const s=new k(i);return null==n||n.add(s),s.event}function o(e,n,r=100,i=!1,s=!1,o,a){let l,u,c,h,d=0;const f={leakWarningThreshold:o,onWillAddFirstListener(){l=e((e=>{d++,u=n(u,e),i&&!c&&(m.fire(u),u=void 0),h=()=>{const e=u;u=void 0,c=void 0,(!i||d>1)&&m.fire(e),d=0},"number"==typeof r?(clearTimeout(c),c=setTimeout(h,r)):void 0===c&&(c=0,queueMicrotask(h))}))},onWillRemoveListener(){s&&d>0&&(null==h||h())},onDidRemoveLastListener(){h=void 0,l.dispose()}};a||t();const m=new k(f);return null==a||a.add(m),m.event}e.None=()=>y.None,e.defer=function(e,t){return o(e,(()=>{}),0,void 0,!0,void 0,t)},e.once=n,e.map=r,e.forEach=function(e,t,n){return s(((n,r=null,i)=>e((e=>{t(e),n.call(r,e)}),null,i)),n)},e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>function(e,t){t instanceof Array?t.push(e):t&&t.add(e);return e}(p(...e.map((e=>e((e=>t.call(n,e)))))),r)},e.reduce=function(e,t,n,i){let s=n;return r(e,(e=>(s=t(s,e),s)),i)},e.debounce=o,e.accumulate=function(t,n=0,r){return e.debounce(t,((e,t)=>e?(e.push(t),e):[t]),n,void 0,!0,void 0,r)},e.latch=function(e,t=(e,t)=>e===t,n){let r,s=!0;return i(e,(e=>{const n=s||!t(e,r);return s=!1,r=e,n}),n)},e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,(e=>!n(e)),r)]},e.buffer=function(e,t=!1,n=[],r){let i=n.slice(),s=e((e=>{i?i.push(e):a.fire(e)}));r&&r.add(s);const o=()=>{null==i||i.forEach((e=>a.fire(e))),i=null},a=new k({onWillAddFirstListener(){s||(s=e((e=>a.fire(e))),r&&r.add(s))},onDidAddFirstListener(){i&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return r&&r.add(a),a.event},e.chain=function(e,t){return(n,r,i)=>{const s=t(new l);return e((function(e){const t=s.evaluate(e);t!==a&&n.call(r,t)}),void 0,i)}};const a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push((t=>(e(t),t))),this}filter(e){return this.steps.push((t=>e(t)?t:a)),this}reduce(e,t){let n=t;return this.steps.push((t=>(n=e(n,t),n))),this}latch(e=(e,t)=>e===t){let t,n=!0;return this.steps.push((r=>{const i=n||!e(r,t);return n=!1,t=r,i?r:a})),this}evaluate(e){for(const t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,n=e=>e){const r=(...e)=>i.fire(n(...e)),i=new k({onWillAddFirstListener:()=>e.on(t,r),onDidRemoveLastListener:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=e=>e){const r=(...e)=>i.fire(n(...e)),i=new k({onWillAddFirstListener:()=>e.addEventListener(t,r),onDidRemoveLastListener:()=>e.removeEventListener(t,r)});return i.event},e.toPromise=function(e){return new Promise((t=>n(e)(t)))},e.fromPromise=function(e){const t=new k;return e.then((e=>{t.fire(e)}),(()=>{t.fire(void 0)})).finally((()=>{t.dispose()})),t.event},e.runAndSubscribe=function(e,t){return t(void 0),e((e=>t(e)))},e.runAndSubscribeWithStore=function(e,t){let n=null;function r(e){null==n||n.dispose(),n=new b,t(e,n)}r(void 0);const i=e((e=>r(e)));return v((()=>{i.dispose(),null==n||n.dispose()}))};class u{constructor(e,n){this._observable=e,this._counter=0,this._hasChanged=!1;const r={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};n||t(),this.emitter=new k(r),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new u(e,t).emitter.event},e.fromObservableLight=function(e){return t=>{let n=0,r=!1;const i={beginUpdate(){n++},endUpdate(){n--,0===n&&(e.reportChanges(),r&&(r=!1,t()))},handlePossibleChange(){},handleChange(){r=!0}};return e.addObserver(i),e.reportChanges(),{dispose(){e.removeObserver(i)}}}}}(L||(L={}));class E{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${E._idPool++}`,E.all.add(this)}start(e){this._stopWatch=new S,this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}E.all=new Set,E._idPool=0;class x{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){const n=this.threshold;if(n<=0||t{const t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class N{static create(){var e;return new N(null!==(e=(new Error).stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class A{constructor(e){this.value=e}}class k{constructor(e){var t,n,r,i,s;this._size=0,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new x(null!==(r=null===(n=this._options)||void 0===n?void 0:n.leakWarningThreshold)&&void 0!==r?r:-1):void 0,this._perfMon=(null===(i=this._options)||void 0===i?void 0:i._profName)?new E(this._options._profName):void 0,this._deliveryQueue=null===(s=this._options)||void 0===s?void 0:s.deliveryQueue}dispose(){var e,t,n,r;this._disposed||(this._disposed=!0,(null===(e=this._deliveryQueue)||void 0===e?void 0:e.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),null===(n=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===n||n.call(t),null===(r=this._leakageMon)||void 0===r||r.dispose())}get event(){var e;return null!==(e=this._event)&&void 0!==e||(this._event=(e,t,n)=>{var r,i,s,o,a;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),y.None;if(this._disposed)return y.None;t&&(e=e.bind(t));const l=new A(e);let u;this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(l.stack=N.create(),u=this._leakageMon.check(l.stack,this._size+1)),this._listeners?this._listeners instanceof A?(null!==(a=this._deliveryQueue)&&void 0!==a||(this._deliveryQueue=new R),this._listeners=[this._listeners,l]):this._listeners.push(l):(null===(i=null===(r=this._options)||void 0===r?void 0:r.onWillAddFirstListener)||void 0===i||i.call(r,this),this._listeners=l,null===(o=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===o||o.call(s,this)),this._size++;const c=v((()=>{null==u||u(),this._removeListener(l)}));return n instanceof b?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}_removeListener(e){var t,n,r,i;if(null===(n=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===n||n.call(t,this),!this._listeners)return;if(1===this._size)return this._listeners=void 0,null===(i=null===(r=this._options)||void 0===r?void 0:r.onDidRemoveLastListener)||void 0===i||i.call(r,this),void(this._size=0);const s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;const a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}class R{constructor(){this.i=-1,this.end=0}enqueue(e,t,n){this.i=0,this.end=n,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}Object.prototype.hasOwnProperty;function T(e){const t=[];for(const n of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[n]&&t.push(n);return t}let M="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function O(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,((e,n)=>{const r=n[0],i=t[r];let s=e;return"string"==typeof i?s=i:"number"!=typeof i&&"boolean"!=typeof i&&null!=i||(s=String(i)),s})),M&&(n="\uff3b"+n.replace(/[aouei]/g,"$&$&")+"\uff3d"),n}function I(e,t,...n){return O(t,n)}var P;const F="en";let V,D,q=!1,K=!1,j=!1,U=!1,B=!1,$=!1,W=!1,H=!1,z=!1,G=!1,J=null,X=null,Q=null;const Z="object"==typeof self?self:"object"==typeof e.g?e.g:{};let Y;void 0!==Z.vscode&&void 0!==Z.vscode.process?Y=Z.vscode.process:"undefined"!=typeof process&&(Y=process);const ee="string"==typeof(null===(P=null==Y?void 0:Y.versions)||void 0===P?void 0:P.electron),te=ee&&"renderer"===(null==Y?void 0:Y.type);if("object"!=typeof navigator||te)if("object"==typeof Y){q="win32"===Y.platform,K="darwin"===Y.platform,j="linux"===Y.platform,U=j&&!!Y.env.SNAP&&!!Y.env.SNAP_REVISION,W=ee,z=!!Y.env.CI||!!Y.env.BUILD_ARTIFACTSTAGINGDIRECTORY,V=F,J=F;const e=Y.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];V=t.locale,X=t.osLocale,J=n||F,Q=t._translationsConfigFile}catch(Dl){}B=!0}else console.error("Unable to resolve platform.");else{D=navigator.userAgent,q=D.indexOf("Windows")>=0,K=D.indexOf("Macintosh")>=0,H=(D.indexOf("Macintosh")>=0||D.indexOf("iPad")>=0||D.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,j=D.indexOf("Linux")>=0,G=(null==D?void 0:D.indexOf("Mobi"))>=0,$=!0;V=void I(0,"_")||F,J=V,X=navigator.language}let ne=0;K?ne=1:q?ne=3:j&&(ne=2);const re=q,ie=K,se=($&&Z.importScripts,D),oe="function"==typeof Z.postMessage&&!Z.importScripts;(()=>{if(oe){const e=[];Z.addEventListener("message",(t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n{const r=++t;e.push({id:r,callback:n}),Z.postMessage({vscodeScheduleAsyncWork:r},"*")}}})();const ae=!!(se&&se.indexOf("Chrome")>=0);se&&se.indexOf("Firefox"),!ae&&se&&se.indexOf("Safari"),se&&se.indexOf("Edg/"),se&&se.indexOf("Android");class le{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var ue;function ce(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function he(e){return e>=65&&e<=90}function de(e){return 55296<=e&&e<=56319}function fe(e){return 56320<=e&&e<=57343}function me(e,t){return t-56320+(e-55296<<10)+65536}function ge(e,t,n){const r=e.charCodeAt(n);if(de(r)&&n+1t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}ve._INSTANCE=null;class be{static getInstance(e){return ue.cache.get(Array.from(e))}static getLocales(){return ue._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}ue=be,be.ambiguousCharacterData=new le((()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'))),be.cache=new class{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}((e=>{function t(e){const t=new Map;for(let n=0;n!e.startsWith("_")&&e in r));0===s.length&&(s=["_default"]);for(const a of s){i=n(i,t(r[a]))}const o=function(e,t){const n=new Map(e);for(const[r,i]of t)n.set(r,i);return n}(t(r._common),i);return new ue(o)})),be._locales=new le((()=>Object.keys(ue.ambiguousCharacterData.value).filter((e=>!e.startsWith("_")))));class ye{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(ye.getRawData())),this._data}static isInvisibleCharacter(e){return ye.getData().has(e)}static get codePoints(){return ye.getData()}}ye._data=void 0;const _e="$initialize";let Ce;class we{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class Se{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class Le{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class Ee{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class xe{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class Ne{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const n=String(++this._lastSentReq);return new Promise(((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new we(this._workerId,n,e,t))}))}listen(e,t){let n=null;const r=new k({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new Le(this._workerId,n,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new xe(this._workerId,n)),n=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return void console.warn("Got reply to unknown seq");const t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;return e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),void t.reject(n)}t.resolve(e.res)}_handleRequestMessage(e){const t=e.req;this._handler.handleMessage(e.method,e.args).then((e=>{this._send(new Se(this._workerId,t,e,void 0))}),(e=>{e.detail instanceof Error&&(e.detail=r(e.detail)),this._send(new Se(this._workerId,t,void 0,r(e)))}))}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)((e=>{this._send(new Ee(this._workerId,t,e))}));this._pendingEvents.set(t,n)}_handleEventMessage(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}_send(e){const t=[];if(0===e.type)for(let n=0;nfunction(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)},s={};for(const o of e)ke(o)?s[o]=i(o):Ae(o)?s[o]=n(o,void 0):s[o]=r(o);return s}class Te{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new Ne({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if(e===_e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(Dl){return Promise.reject(Dl)}}_handleEvent(e,t){if(!this._requestHandler)throw new Error("Missing requestHandler");if(ke(e)){const n=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof n)throw new Error(`Missing dynamic event ${e} on request handler.`);return n}if(Ae(e)){const t=this._requestHandler[e];if("function"!=typeof t)throw new Error(`Missing event ${e} on request handler.`);return t}throw new Error(`Malformed event name ${e}`)}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=Re(r,((e,t)=>this._protocol.sendMessage(e,t)),((e,t)=>this._protocol.listen(e,t)));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(T(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,void 0!==typeof t.trustedTypesPolicy&&delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise(((e,t)=>{(0,globalThis.require)([n],(n=>{this._requestHandler=n.create(i),this._requestHandler?e(T(this._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))}}class Me{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Oe(e,t){return(t<<5)-t+e|0}function Ie(e,t){t=Oe(149417,t);for(let n=0,r=e.length;n>>r)>>>0}function Fe(e,t=0,n=e.byteLength,r=0){for(let i=0;ie.toString(16).padStart(2,"0"))).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class De{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let r,i,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(r=o,i=-1,o=0):(r=e.charCodeAt(0),i=0);;){let a=r;if(de(r)){if(!(i+1>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Ve(this._h0)+Ve(this._h1)+Ve(this._h2)+Ve(this._h3)+Ve(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Fe(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Fe(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=De._bigBlock32,t=this._buffDV;for(let c=0;c<64;c+=4)e.setUint32(c,t.getUint32(c,!1),!1);for(let c=64;c<320;c+=4)e.setUint32(c,Pe(e.getUint32(c-12,!1)^e.getUint32(c-32,!1)^e.getUint32(c-56,!1)^e.getUint32(c-64,!1),1),!1);let n,r,i,s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let c=0;c<80;c++)c<20?(n=o&a|~o&l,r=1518500249):c<40?(n=o^a^l,r=1859775393):c<60?(n=o&a|o&l|a&l,r=2400959708):(n=o^a^l,r=3395469782),i=Pe(s,5)+n+u+r+e.getUint32(4*c,!1)&4294967295,u=l,l=a,a=Pe(o,30),o=s,s=i;this._h0=this._h0+s&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+u&4294967295}}De._bigBlock32=new DataView(new ArrayBuffer(320));class qe{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new Me(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class $e{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[r,i,s]=$e._getElements(e),[o,a,l]=$e._getElements(t);this._hasStrings=s&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if($e._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let i;return n<=r?(je.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new Me(e,0,n,r-n+1)]):e<=t?(je.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new Me(e,t-e+1,n,0)]):(je.Assert(e===t+1,"originalStart should only be one more than originalEnd"),je.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}const s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,n,r,s,o,i),l=s[0],u=o[0];if(null!==a)return a;if(!i[0]){const s=this.ComputeDiffRecursive(e,l,n,u,i);let o=[];return o=i[0]?[new Me(l+1,t-(l+1)+1,u+1,r-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,r,i),this.ConcatenateChanges(s,o)}return[new Me(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,s,o,a,l,u,c,h,d,f,m,g,p,v){let b=null,y=null,_=new Be,C=t,w=n,S=d[0]-g[0]-r,L=-1073741824,E=this.m_forwardHistory.length-1;do{const t=S+e;t===C||t=0&&(e=(l=this.m_forwardHistory[E])[0],C=1,w=l.length-1)}while(--E>=-1);if(b=_.getReverseChanges(),v[0]){let e=d[0]+1,t=g[0]+1;if(null!==b&&b.length>0){const n=b[b.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new Me(e,h-e+1,t,m-t+1)]}else{_=new Be,C=s,w=o,S=d[0]-g[0]-a,L=1073741824,E=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=S+i;e===C||e=u[e+1]?(f=(c=u[e+1]-1)-S-a,c>L&&_.MarkNextChange(),L=c+1,_.AddOriginalElement(c+1,f+1),S=e+1-i):(f=(c=u[e-1])-S-a,c>L&&_.MarkNextChange(),L=c,_.AddModifiedElement(c+1,f+1),S=e-1-i),E>=0&&(i=(u=this.m_reverseHistory[E])[0],C=1,w=u.length-1)}while(--E>=-1);y=_.getChanges()}return this.ConcatenateChanges(b,y)}ComputeRecursionPoint(e,t,n,r,i,s,o){let a=0,l=0,u=0,c=0,h=0,d=0;e--,n--,i[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=t-e+(r-n),m=f+1,g=new Int32Array(m),p=new Int32Array(m),v=r-n,b=t-e,y=e-n,_=t-r,C=(b-v)%2==0;g[v]=e,p[b]=t,o[0]=!1;for(let w=1;w<=f/2+1;w++){let f=0,S=0;u=this.ClipDiagonalBound(v-w,w,v,m),c=this.ClipDiagonalBound(v+w,w,v,m);for(let e=u;e<=c;e+=2){a=e===u||ef+S&&(f=a,S=l),!C&&Math.abs(e-b)<=w-1&&a>=p[e])return i[0]=a,s[0]=l,n<=p[e]&&w<=1448?this.WALKTRACE(v,u,c,y,b,h,d,_,g,p,a,t,i,l,r,s,C,o):null}const L=(f-e+(S-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,L))return o[0]=!0,i[0]=f,s[0]=S,L>0&&w<=1448?this.WALKTRACE(v,u,c,y,b,h,d,_,g,p,a,t,i,l,r,s,C,o):(e++,n++,[new Me(e,t-e+1,n,r-n+1)]);h=this.ClipDiagonalBound(b-w,w,b,m),d=this.ClipDiagonalBound(b+w,w,b,m);for(let m=h;m<=d;m+=2){a=m===h||m=p[m+1]?p[m+1]-1:p[m-1],l=a-(m-b)-_;const f=a;for(;a>e&&l>n&&this.ElementsAreEqual(a,l);)a--,l--;if(p[m]=a,C&&Math.abs(m-v)<=w&&a<=g[m])return i[0]=a,s[0]=l,f>=g[m]&&w<=1448?this.WALKTRACE(v,u,c,y,b,h,d,_,g,p,a,t,i,l,r,s,C,o):null}if(w<=1447){let e=new Int32Array(c-u+2);e[0]=v-u+1,Ue.Copy2(g,u,e,1,c-u+1),this.m_forwardHistory.push(e),e=new Int32Array(d-h+2),e[0]=b-h+1,Ue.Copy2(p,h,e,1,d-h+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,u,c,y,b,h,d,_,g,p,a,t,i,l,r,s,C,o)}PrettifyChanges(e){for(let t=0;t0,o=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}const s=n.originalLength>0,o=n.modifiedLength>0;let a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,u=n.modifiedStart-e;if(tl&&(l=c,a=e)}n.originalStart-=a,n.modifiedStart-=a;const u=[null];t>0&&this.ChangesOverlap(e[t-1],e[t],u)&&(e[t-1]=u[0],e.splice(t,1),t++)}if(this._hasStrings)for(let t=1,n=e.length;t0&&t>a&&(a=t,l=c,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){const n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return Ue.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],Ue.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return Ue.Copy(e,0,n,0,e.length),Ue.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(je.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),je.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let i=e.originalLength;const s=e.modifiedStart;let o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new Me(r,i,s,o),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&ee.cwd()}}else Ce="undefined"!=typeof process?{get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:{get platform(){return re?"win32":ie?"darwin":"linux"},get arch(){},get env(){return{}},cwd:()=>"/"};const We=Ce.cwd,He=Ce.env,ze=Ce.platform,Ge=46,Je=47,Xe=92,Qe=58;class Ze extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let s=`The "${e}" ${i} ${r} of type ${t}`;s+=". Received type "+typeof n,super(s),this.code="ERR_INVALID_ARG_TYPE"}}function Ye(e,t){if("string"!=typeof e)throw new Ze(t,"string",e)}const et="win32"===ze;function tt(e){return e===Je||e===Xe}function nt(e){return e===Je}function rt(e){return e>=65&&e<=90||e>=97&&e<=122}function it(e,t,n,r){let i="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){const e=i.lastIndexOf(n);-1===e?(i="",s=0):(i=i.slice(0,e),s=i.length-1-i.lastIndexOf(n)),o=u,a=0;continue}if(0!==i.length){i="",s=0,o=u,a=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",s=2)}else i.length>0?i+=`${n}${e.slice(o+1,u)}`:i=e.slice(o+1,u),s=u-o-1;o=u,a=0}else l===Ge&&-1!==a?++a:a=-1}return i}function st(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new Ze(t,"Object",e)}(t,"pathObject");const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const ot={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(s=e[i],Ye(s,"path"),0===s.length)continue}else 0===t.length?s=We():(s=He[`=${t}`]||We(),(void 0===s||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===Xe)&&(s=`${t}\\`));const o=s.length;let a=0,l="",u=!1;const c=s.charCodeAt(0);if(1===o)tt(c)&&(a=1,u=!0);else if(tt(c))if(u=!0,tt(s.charCodeAt(1))){let e=2,t=e;for(;e2&&tt(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0)if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l;if(r){if(t.length>0)break}else if(n=`${s.slice(a)}\\${n}`,r=u,u&&t.length>0)break}return n=it(n,!r,"\\",tt),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){Ye(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const s=e.charCodeAt(0);if(1===t)return nt(s)?"\\":e;if(tt(s))if(i=!0,tt(e.charCodeAt(1))){let i=2,s=i;for(;i2&&tt(e.charCodeAt(2))&&(i=!0,r=3));let o=r0&&tt(e.charCodeAt(t-1))&&(o+="\\"),void 0===n?i?`\\${o}`:o:i?`${n}\\${o}`:`${n}${o}`},isAbsolute(e){Ye(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return tt(n)||t>2&&rt(n)&&e.charCodeAt(1)===Qe&&tt(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let s=0;s0&&(void 0===t?t=n=r:t+=`\\${r}`)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&tt(n.charCodeAt(0))){++i;const e=n.length;e>1&&tt(n.charCodeAt(1))&&(++i,e>2&&(tt(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i=2&&(t=`\\${t.slice(i)}`)}return ot.normalize(t)},relative(e,t){if(Ye(e,"from"),Ye(t,"to"),e===t)return"";const n=ot.resolve(e),r=ot.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;ii&&e.charCodeAt(s-1)===Xe;)s--;const o=s-i;let a=0;for(;aa&&t.charCodeAt(l-1)===Xe;)l--;const u=l-a,c=oc){if(t.charCodeAt(a+d)===Xe)return r.slice(a+d+1);if(2===d)return r.slice(a+d)}o>c&&(e.charCodeAt(i+d)===Xe?h=d:2===d&&(h=3)),-1===h&&(h=0)}let f="";for(d=i+h+1;d<=s;++d)d!==s&&e.charCodeAt(d)!==Xe||(f+=0===f.length?"..":"\\..");return a+=h,f.length>0?`${f}${r.slice(a,l)}`:(r.charCodeAt(a)===Xe&&++a,r.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;const t=ot.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===Xe){if(t.charCodeAt(1)===Xe){const e=t.charCodeAt(2);if(63!==e&&e!==Ge)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(rt(t.charCodeAt(0))&&t.charCodeAt(1)===Qe&&t.charCodeAt(2)===Xe)return`\\\\?\\${t}`;return e},dirname(e){Ye(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return tt(i)?e:".";if(tt(i)){if(n=r=1,tt(e.charCodeAt(1))){let i=2,s=i;for(;i2&&tt(e.charCodeAt(2))?3:2,r=n);let s=-1,o=!0;for(let a=t-1;a>=r;--a)if(tt(e.charCodeAt(a))){if(!o){s=a;break}}else o=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){void 0!==t&&Ye(t,"ext"),Ye(e,"path");let n,r=0,i=-1,s=!0;if(e.length>=2&&rt(e.charCodeAt(0))&&e.charCodeAt(1)===Qe&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){const l=e.charCodeAt(n);if(tt(l)){if(!s){r=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(tt(e.charCodeAt(n))){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){Ye(e,"path");let t=0,n=-1,r=0,i=-1,s=!0,o=0;e.length>=2&&e.charCodeAt(1)===Qe&&rt(e.charCodeAt(0))&&(t=r=2);for(let a=e.length-1;a>=t;--a){const t=e.charCodeAt(a);if(tt(t)){if(!s){r=a+1;break}}else-1===i&&(s=!1,i=a+1),t===Ge?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1)}return-1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:st.bind(null,"\\"),parse(e){Ye(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return tt(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(tt(i)){if(r=1,tt(e.charCodeAt(1))){let t=2,i=t;for(;t0&&(t.root=e.slice(0,r));let s=-1,o=r,a=-1,l=!0,u=e.length-1,c=0;for(;u>=r;--u)if(i=e.charCodeAt(u),tt(i)){if(!l){o=u+1;break}}else-1===a&&(l=!1,a=u+1),i===Ge?-1===s?s=u:1!==c&&(c=1):-1!==s&&(c=-1);return-1!==a&&(-1===s||0===c||1===c&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),t.dir=o>0&&o!==r?e.slice(0,o-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},at=(()=>{if(et){const e=/\\/g;return()=>{const t=We().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>We()})(),lt={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:at();Ye(i,"path"),0!==i.length&&(t=`${i}/${t}`,n=i.charCodeAt(0)===Je)}return t=it(t,!n,"/",nt),n?`/${t}`:t.length>0?t:"."},normalize(e){if(Ye(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===Je,n=e.charCodeAt(e.length-1)===Je;return 0===(e=it(e,!t,"/",nt)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(Ye(e,"path"),e.length>0&&e.charCodeAt(0)===Je),join(...e){if(0===e.length)return".";let t;for(let n=0;n0&&(void 0===t?t=r:t+=`/${r}`)}return void 0===t?".":lt.normalize(t)},relative(e,t){if(Ye(e,"from"),Ye(t,"to"),e===t)return"";if((e=lt.resolve(e))===(t=lt.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,s=rs){if(t.charCodeAt(1+a)===Je)return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else r>s&&(e.charCodeAt(1+a)===Je?o=a:0===a&&(o=0));let l="";for(a=1+o+1;a<=n;++a)a!==n&&e.charCodeAt(a)!==Je||(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(Ye(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===Je;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===Je){if(!r){n=i;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&Ye(t,"ext"),Ye(e,"path");let n,r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(l===Je){if(!s){r=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===Je){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){Ye(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){const a=e.charCodeAt(o);if(a!==Je)-1===r&&(i=!1,r=o+1),a===Ge?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:st.bind(null,"/"),parse(e){Ye(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===Je;let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=r;--l){const t=e.charCodeAt(l);if(t!==Je)-1===o&&(a=!1,o=l+1),t===Ge?-1===i?i=l:1!==u&&(u=1):-1!==i&&(u=-1);else if(!a){s=l+1;break}}if(-1!==o){const r=0===s&&n?1:s;-1===i||0===u||1===u&&i===o-1&&i===s+1?t.base=t.name=e.slice(r,o):(t.name=e.slice(r,i),t.base=e.slice(r,o),t.ext=e.slice(i,o))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};lt.win32=ot.win32=ot,lt.posix=ot.posix=lt;et?ot.normalize:lt.normalize,et?ot.resolve:lt.resolve,et?ot.relative:lt.relative,et?ot.dirname:lt.dirname,et?ot.basename:lt.basename,et?ot.extname:lt.extname,et?ot.sep:lt.sep;const ut=/^\w[\w\d+.-]*$/,ct=/^\//,ht=/^\/\//;const dt="",ft="/",mt=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class gt{static isUri(e){return e instanceof gt||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}constructor(e,t,n,r,i,s=!1){"object"==typeof e?(this.scheme=e.scheme||dt,this.authority=e.authority||dt,this.path=e.path||dt,this.query=e.query||dt,this.fragment=e.fragment||dt):(this.scheme=function(e,t){return e||t?e:"file"}(e,s),this.authority=t||dt,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ft&&(t=ft+t):t=ft}return t}(this.scheme,n||dt),this.query=r||dt,this.fragment=i||dt,function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!ut.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!ct.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(ht.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,s))}get fsPath(){return Ct(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:s}=e;return void 0===t?t=this.scheme:null===t&&(t=dt),void 0===n?n=this.authority:null===n&&(n=dt),void 0===r?r=this.path:null===r&&(r=dt),void 0===i?i=this.query:null===i&&(i=dt),void 0===s?s=this.fragment:null===s&&(s=dt),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment?this:new vt(t,n,r,i,s)}static parse(e,t=!1){const n=mt.exec(e);return n?new vt(n[2]||dt,Et(n[4]||dt),Et(n[5]||dt),Et(n[7]||dt),Et(n[9]||dt),t):new vt(dt,dt,dt,dt,dt)}static file(e){let t=dt;if(re&&(e=e.replace(/\\/g,ft)),e[0]===ft&&e[1]===ft){const n=e.indexOf(ft,2);-1===n?(t=e.substring(2),e=ft):(t=e.substring(2,n),e=e.substring(n)||ft)}return new vt("file",t,e,dt,dt)}static from(e,t){return new vt(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=re&&"file"===e.scheme?gt.file(ot.join(Ct(e,!0),...t)).path:lt.join(e.path,...t),e.with({path:n})}toString(e=!1){return wt(this,e)}toJSON(){return this}static revive(e){var t,n;if(e){if(e instanceof gt)return e;{const r=new vt(e);return r._formatted=null!==(t=e.external)&&void 0!==t?t:null,r._fsPath=e._sep===pt&&null!==(n=e.fsPath)&&void 0!==n?n:null,r}}return e}}const pt=re?1:void 0;class vt extends gt{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Ct(this,!1)),this._fsPath}toString(e=!1){return e?wt(this,!0):(this._formatted||(this._formatted=wt(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=pt),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const bt={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function yt(e,t,n){let r,i=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),void 0!==r&&(r+=e.charAt(s));else{void 0===r&&(r=e.substr(0,s));const t=bt[o];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=t):-1===i&&(i=s)}}return-1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function _t(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,re&&(n=n.replace(/\//g,"\\")),n}function wt(e,t){const n=t?_t:yt;let r="",{scheme:i,authority:s,path:o,query:a,fragment:l}=e;if(i&&(r+=i,r+=":"),(s||"file"===i)&&(r+=ft,r+=ft),s){let e=s.indexOf("@");if(-1!==e){const t=s.substr(0,e);s=s.substr(e+1),e=t.lastIndexOf(":"),-1===e?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=":",r+=n(t.substr(e+1),!1,!0)),r+="@"}s=s.toLowerCase(),e=s.lastIndexOf(":"),-1===e?r+=n(s,!1,!0):(r+=n(s.substr(0,e),!1,!0),r+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=n(o,!0,!1)}return a&&(r+="?",r+=n(a,!1,!1)),l&&(r+="#",r+=t?l:yt(l,!1,!1)),r}function St(e){try{return decodeURIComponent(e)}catch(P){return e.length>3?e.substr(0,3)+St(e.substr(3)):e}}const Lt=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Et(e){return e.match(Lt)?e.replace(Lt,(e=>St(e))):e}class xt{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new xt(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return xt.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return xt.isBefore(this,e)}static isBefore(e,t){return e.lineNumbern||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return Nt.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return Nt.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<=e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>=e.endColumn))}containsRange(e){return Nt.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)))}strictContainsRange(e){return Nt.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return Nt.plusRange(this,e)}static plusRange(e,t){let n,r,i,s;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,s=e.endColumn),new Nt(n,r,i,s)}intersectRanges(e){return Nt.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,s=e.endColumn;const o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return nl?(i=l,s=u):i===l&&(s=Math.min(s,u)),n>i||n===i&&r>s?null:new Nt(n,r,i,s)}equalsRange(e){return Nt.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return Nt.getEndPosition(this)}static getEndPosition(e){return new xt(e.endLineNumber,e.endColumn)}getStartPosition(){return Nt.getStartPosition(this)}static getStartPosition(e){return new xt(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new Nt(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new Nt(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return Nt.collapseToStart(this)}static collapseToStart(e){return new Nt(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return Nt.collapseToEnd(this)}static collapseToEnd(e){return new Nt(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new Nt(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new Nt(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new Nt(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}var At;function kt(e,t){return(n,r)=>t(e(n),e(r))}!function(e){e.isLessThan=function(e){return e<0},e.isLessThanOrEqual=function(e){return e<=0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(At||(At={}));const Rt=(e,t)=>e-t;class Tt{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate((t=>(e.push(t),!0))),e}filter(e){return new Tt((t=>this.iterate((n=>!e(n)||t(n)))))}map(e){return new Tt((t=>this.iterate((n=>t(e(n))))))}findLast(e){let t;return this.iterate((n=>(e(n)&&(t=n),!0))),t}findLastMaxBy(e){let t,n=!0;return this.iterate((r=>((n||At.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0))),t}}function Mt(e){return e<0?0:e>255?255:0|e}function Ot(e){return e<0?0:e>4294967295?4294967295:0|e}Tt.empty=new Tt((e=>{}));class It{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Ot(e);const n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=Ot(e),t=Ot(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;const i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=Ot(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,i=this.prefixSum[r],s=i-this.values[r],e=i))break;t=r+1}return new Pt(r,e-s)}}class Pt{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class Ft{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const n of t)this._acceptDeleteRange(n.range),this._acceptInsertText(new xt(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r/?")e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();const Dt=new C;function qt(e,t,n,r,i){if(i||(i=c.first(Dt)),n.length>i.maxLen){let s=e-i.maxLen/2;return s<0?s=0:r+=s,qt(e,t,n=n.substring(s,e+i.maxLen/2),r,i)}const s=Date.now(),o=e-1-r;let a=-1,l=null;for(let u=1;!(Date.now()-s>=i.timeBudget);u++){const e=o-i.windowSize*u;t.lastIndex=Math.max(0,e);const r=Kt(t,n,o,a);if(!r&&l)break;if(l=r,e<=0)break;a=e}if(l){const e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}function Kt(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}Dt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class jt{constructor(e){const t=Mt(e);this._defaultValue=t,this._asciiMap=jt._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);return t.fill(e),t}set(e,t){const n=Mt(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Ut{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,s=e*t;it&&(t=s),r>n&&(n=r),o>n&&(n=o)}t++,n++;const r=new Ut(n,t,0);for(let i=0,s=e.length;i=this._maxCharCode?0:this._states.get(e,t)}}let $t=null;let Wt=null;class Ht{static _createLink(e,t,n,r,i){let s=i-1;do{const n=t.charCodeAt(s);if(2!==e.get(n))break;s--}while(s>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(s);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&s--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:s+2},url:t.substring(r,s+1)}}static computeLinks(e,t=function(){return null===$t&&($t=new Bt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),$t}()){const n=function(){if(null===Wt){Wt=new jt(0);const e=" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\u2018\u3008\u300c\u300e\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u300f\u300d\u3009\u2019\uff40\uff5e\u2026";for(let n=0;n=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}zt.INSTANCE=new zt;const Gt=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var Jt;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof Xt||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:L.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Gt})}(Jt||(Jt={}));class Xt{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Gt:(this._emitter||(this._emitter=new k),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Qt{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Xt),this._token}cancel(){this._token?this._token instanceof Xt&&this._token.cancel():this._token=Jt.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof Xt&&this._token.dispose():this._token=Jt.None}}class Zt{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const Yt=new Zt,en=new Zt,tn=new Zt,nn=new Array(230),rn={},sn=[],on=Object.create(null),an=Object.create(null),ln=[],un=[];for(let ql=0;ql<=193;ql++)ln[ql]=-1;for(let ql=0;ql<=132;ql++)un[ql]=-1;var cn;!function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const i of t){const[e,t,s,o,a,l,u,c,h]=i;if(r[t]||(r[t]=!0,sn[t]=s,on[s]=t,an[s.toLowerCase()]=t,e&&(ln[t]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(un[o]=t))),!n[o]){if(n[o]=!0,!a)throw new Error(`String representation missing for key code ${o} around scan code ${s}`);Yt.define(o,a),en.define(o,c||a),tn.define(o,h||c||a)}l&&(nn[l]=o),u&&(rn[u]=o)}un[3]=46}(),function(e){e.toString=function(e){return Yt.keyCodeToStr(e)},e.fromString=function(e){return Yt.strToKeyCode(e)},e.toUserSettingsUS=function(e){return en.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return tn.keyCodeToStr(e)},e.fromUserSettings=function(e){return en.strToKeyCode(e)||tn.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Yt.keyCodeToStr(e)}}(cn||(cn={}));class hn extends Nt{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return hn.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new hn(this.startLineNumber,this.startColumn,e,t):new hn(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new xt(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new xt(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new hn(e,t,this.endLineNumber,this.endColumn):new hn(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new hn(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new hn(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new hn(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new hn(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))}))}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();const r=new Cn(this,e,t);return this._factories.set(e,r),v((()=>{const t=this._factories.get(e);t&&t===r&&(this._factories.delete(e),t.dispose())}))}getOrCreate(e){return _n(this,void 0,void 0,(function*(){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))}))}isResolved(e){if(this.get(e))return!0;const t=this._factories.get(e);return!(t&&!t.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};var Nn,An,kn,Rn,Tn,Mn,On,In,Pn,Fn,Vn,Dn,qn,Kn,jn,Un,Bn,$n,Wn,Hn,zn,Gn,Jn,Xn,Qn,Zn,Yn,er,tr,nr,rr,ir,sr,or,ar,lr,ur,cr,hr;!function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(Nn||(Nn={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(An||(An={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(kn||(kn={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(Rn||(Rn={})),function(e){e[e.Deprecated=1]="Deprecated"}(Tn||(Tn={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(Mn||(Mn={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(On||(On={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(In||(In={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(Pn||(Pn={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(Fn||(Fn={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(Vn||(Vn={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.letterSpacing=63]="letterSpacing",e[e.lightbulb=64]="lightbulb",e[e.lineDecorationsWidth=65]="lineDecorationsWidth",e[e.lineHeight=66]="lineHeight",e[e.lineNumbers=67]="lineNumbers",e[e.lineNumbersMinChars=68]="lineNumbersMinChars",e[e.linkedEditing=69]="linkedEditing",e[e.links=70]="links",e[e.matchBrackets=71]="matchBrackets",e[e.minimap=72]="minimap",e[e.mouseStyle=73]="mouseStyle",e[e.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=75]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",e[e.multiCursorModifier=77]="multiCursorModifier",e[e.multiCursorPaste=78]="multiCursorPaste",e[e.multiCursorLimit=79]="multiCursorLimit",e[e.occurrencesHighlight=80]="occurrencesHighlight",e[e.overviewRulerBorder=81]="overviewRulerBorder",e[e.overviewRulerLanes=82]="overviewRulerLanes",e[e.padding=83]="padding",e[e.pasteAs=84]="pasteAs",e[e.parameterHints=85]="parameterHints",e[e.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",e[e.quickSuggestions=88]="quickSuggestions",e[e.quickSuggestionsDelay=89]="quickSuggestionsDelay",e[e.readOnly=90]="readOnly",e[e.readOnlyMessage=91]="readOnlyMessage",e[e.renameOnType=92]="renameOnType",e[e.renderControlCharacters=93]="renderControlCharacters",e[e.renderFinalNewline=94]="renderFinalNewline",e[e.renderLineHighlight=95]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=97]="renderValidationDecorations",e[e.renderWhitespace=98]="renderWhitespace",e[e.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",e[e.roundedSelection=100]="roundedSelection",e[e.rulers=101]="rulers",e[e.scrollbar=102]="scrollbar",e[e.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=104]="scrollBeyondLastLine",e[e.scrollPredominantAxis=105]="scrollPredominantAxis",e[e.selectionClipboard=106]="selectionClipboard",e[e.selectionHighlight=107]="selectionHighlight",e[e.selectOnLineNumbers=108]="selectOnLineNumbers",e[e.showFoldingControls=109]="showFoldingControls",e[e.showUnused=110]="showUnused",e[e.snippetSuggestions=111]="snippetSuggestions",e[e.smartSelect=112]="smartSelect",e[e.smoothScrolling=113]="smoothScrolling",e[e.stickyScroll=114]="stickyScroll",e[e.stickyTabStops=115]="stickyTabStops",e[e.stopRenderingLineAfter=116]="stopRenderingLineAfter",e[e.suggest=117]="suggest",e[e.suggestFontSize=118]="suggestFontSize",e[e.suggestLineHeight=119]="suggestLineHeight",e[e.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",e[e.suggestSelection=121]="suggestSelection",e[e.tabCompletion=122]="tabCompletion",e[e.tabIndex=123]="tabIndex",e[e.unicodeHighlighting=124]="unicodeHighlighting",e[e.unusualLineTerminators=125]="unusualLineTerminators",e[e.useShadowDOM=126]="useShadowDOM",e[e.useTabStops=127]="useTabStops",e[e.wordBreak=128]="wordBreak",e[e.wordSeparators=129]="wordSeparators",e[e.wordWrap=130]="wordWrap",e[e.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=133]="wordWrapColumn",e[e.wordWrapOverride1=134]="wordWrapOverride1",e[e.wordWrapOverride2=135]="wordWrapOverride2",e[e.wrappingIndent=136]="wrappingIndent",e[e.wrappingStrategy=137]="wrappingStrategy",e[e.showDeprecated=138]="showDeprecated",e[e.inlayHints=139]="inlayHints",e[e.editorClassName=140]="editorClassName",e[e.pixelRatio=141]="pixelRatio",e[e.tabFocusMode=142]="tabFocusMode",e[e.layoutInfo=143]="layoutInfo",e[e.wrappingInfo=144]="wrappingInfo",e[e.defaultColorDecorators=145]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose"}(Dn||(Dn={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(qn||(qn={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(Kn||(Kn={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(jn||(jn={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(Un||(Un={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(Bn||(Bn={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}($n||($n={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(Wn||(Wn={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}(Hn||(Hn={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(zn||(zn={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(Gn||(Gn={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(Jn||(Jn={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(Xn||(Xn={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(Qn||(Qn={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(Zn||(Zn={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(Yn||(Yn={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(er||(er={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(tr||(tr={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(nr||(nr={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(rr||(rr={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(ir||(ir={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(sr||(sr={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(or||(or={})),function(e){e[e.Deprecated=1]="Deprecated"}(ar||(ar={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(lr||(lr={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(ur||(ur={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(cr||(cr={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(hr||(hr={}));class dr{static chord(e,t){return function(e,t){return(e|(65535&t)<<16>>>0)>>>0}(e,t)}}dr.CtrlCmd=2048,dr.Shift=1024,dr.Alt=512,dr.WinCtrl=256;class fr extends jt{constructor(e){super(0);for(let t=0,n=e.length;tnew fr(e)));var mr,gr,pr,vr;!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(mr||(mr={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(gr||(gr={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(pr||(pr={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(vr||(vr={}));function br(e,t,n,r,i){return function(e,t,n,r,i){if(0===r)return!0;const s=t.charCodeAt(r-1);if(0!==e.get(s))return!0;if(13===s||10===s)return!0;if(i>0){const n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}(e,t,0,r,i)&&function(e,t,n,r,i){if(r+i===n)return!0;const s=t.charCodeAt(r+i);if(0!==e.get(s))return!0;if(13===s||10===s)return!0;if(i>0){const n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}(e,t,n,r,i)}class yr{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const r=n.index,i=n[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength){if(0===i){ge(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||br(this._wordSeparators,e,t,r,i))return n}while(n);return null}}function _r(e,t="Unreachable"){throw new Error(t)}function Cr(e){e()||(e(),n(new l("Assertion Failed")))}function wr(e,t){let n=0;for(;nString.fromCodePoint(e))).join(""))}]`,"g");const l=new yr(null,a),u=[];let c,h=!1,d=0,f=0,m=0;e:for(let g=r,p=i;g<=p;g++){const t=e.getLineContent(g),n=t.length;l.reset(0);do{if(c=l.next(t),c){let e=c.index,r=c.index+c[0].length;if(e>0){de(t.charCodeAt(e-1))&&e--}if(r+1=t){h=!0;break e}u.push(new Nt(g,e+1,g,r+1))}}}while(c)}return{ranges:u,hasMore:h,ambiguousCharacterCount:d,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){const n=new Lr(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),s=be.getLocales().filter((e=>!be.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r)));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class Lr{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=be.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const t of ye.codePoints)Er(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(const o of t){const e=o.codePointAt(0),t=(s=o,pe.test(s));r=r||t,t||this.ambiguousCharacters.isAmbiguous(e)||ye.isInvisibleCharacter(e)||(i=!0)}var s;return!r&&i?0:this.options.invisibleCharacters&&!Er(e)&&ye.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function Er(e){return" "===e||"\n"===e||"\t"===e}class xr{constructor(e,t,n){this.changes=e,this.moves=t,this.hitTimeout=n}}class Nr{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class Ar{static addRange(e,t){let n=0;for(;nt))return new Ar(e,t)}static ofLength(e){return new Ar(0,e)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new l(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new Ar(this.start+e,this.endExclusive+e)}deltaStart(e){return new Ar(this.start+e,this.endExclusive)}deltaEnd(e){return new Ar(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tt)throw new l(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber)),n=Rr(this._normalizedRanges,(t=>t.startLineNumber<=e.endLineNumberExclusive))+1;if(t===n)this._normalizedRanges.splice(t,0,e);else if(t===n-1){const n=this._normalizedRanges[t];this._normalizedRanges[t]=n.join(e)}else{const r=this._normalizedRanges[t].join(this._normalizedRanges[n-1]).join(e);this._normalizedRanges.splice(t,n-t,r)}}contains(e){const t=kr(this._normalizedRanges,(t=>t.startLineNumber<=e));return!!t&&t.endLineNumberExclusive>e}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;const t=[];let n=0,r=0,i=null;for(;n=s.startLineNumber?i=new Or(i.startLineNumber,Math.max(i.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(i),i=s)}return null!==i&&t.push(i),new Ir(t)}subtractFrom(e){const t=Tr(this._normalizedRanges,(t=>t.endLineNumberExclusive>=e.startLineNumber)),n=Rr(this._normalizedRanges,(t=>t.startLineNumber<=e.endLineNumberExclusive))+1;if(t===n)return new Ir([e]);const r=[];let i=e.startLineNumber;for(let s=t;si&&r.push(new Or(i,e.startLineNumber)),i=e.endLineNumberExclusive}return ie.toString())).join(", ")}getIntersection(e){const t=[];let n=0,r=0;for(;nt.delta(e))))}}class Pr{static inverse(e,t,n){const r=[];let i=1,s=1;for(const a of e){const e=new Fr(new Or(i,a.original.startLineNumber),new Or(s,a.modified.startLineNumber),void 0);e.modified.isEmpty||r.push(e),i=a.original.endLineNumberExclusive,s=a.modified.endLineNumberExclusive}const o=new Fr(new Or(i,t+1),new Or(s,n+1),void 0);return o.modified.isEmpty||r.push(o),r}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new Pr(this.modified,this.original)}join(e){return new Pr(this.original.join(e.original),this.modified.join(e.modified))}}class Fr extends Pr{constructor(e,t,n){super(e,t),this.innerChanges=n}flip(){var e;return new Fr(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map((e=>e.flip())))}}class Vr{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new Vr(this.modifiedRange,this.originalRange)}}class Dr{computeDiff(e,t,n){var r;const i=new $r(e,t,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),s=[];let o=null;for(const a of i.changes){let e,t;e=0===a.originalEndLineNumber?new Or(a.originalStartLineNumber+1,a.originalStartLineNumber+1):new Or(a.originalStartLineNumber,a.originalEndLineNumber+1),t=0===a.modifiedEndLineNumber?new Or(a.modifiedStartLineNumber+1,a.modifiedStartLineNumber+1):new Or(a.modifiedStartLineNumber,a.modifiedEndLineNumber+1);let n=new Fr(e,t,null===(r=a.charChanges)||void 0===r?void 0:r.map((e=>new Vr(new Nt(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new Nt(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)))));o&&(o.modified.endLineNumberExclusive!==n.modified.startLineNumber&&o.original.endLineNumberExclusive!==n.original.startLineNumber||(n=new Fr(o.original.join(n.original),o.modified.join(n.modified),o.innerChanges&&n.innerChanges?o.innerChanges.concat(n.innerChanges):void 0),s.pop())),s.push(n),o=n}return Cr((()=>wr(s,((e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`)).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return-1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e]?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return-1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e]?1:this._columns[e]+1)}}class Ur{constructor(e,t,n,r,i,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){const r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),u=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),c=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new Ur(r,i,s,o,a,l,u,c)}}class Br{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,s,o){let a,l,u,c,h;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=r.getStartLineNumber(t.modifiedStart)-1,c=0):(u=r.getStartLineNumber(t.modifiedStart),c=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const s=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=qr(s,a,i,!0).changes;o&&(e=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r1&&o>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(o-2))break;n--,o--}(n>1||o>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,s+1,1,o)}{let n=Hr(e,1),o=Hr(t,1);const a=e.length+1,l=t.length+1;for(;n=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}(e);return-1===n?t:n+2}function zr(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t{n.push(Jr.fromOffsetPairs(e?e.getEndExclusives():Xr.zero,r?r.getStarts():new Xr(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))})),n}static fromOffsetPairs(e,t){return new Jr(new Ar(e.offset1,t.offset1),new Ar(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new Jr(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new Jr(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new Jr(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new Jr(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new Jr(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){const t=this.seq1Range.intersect(e.seq1Range),n=this.seq2Range.intersect(e.seq2Range);if(t&&n)return new Jr(t,n)}getStarts(){return new Xr(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new Xr(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class Xr{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}}Xr.zero=new Xr(0,0),Xr.max=new Xr(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class Qr{isValid(){return!0}}Qr.instance=new Qr;class Zr{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new l("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&a>0&&3===s.get(f-1,a-1)&&(c+=o.get(f-1,a-1)),c+=r?r(f,a):1):c=-1;const h=Math.max(l,u,c);if(h===c){const e=f>0&&a>0?o.get(f-1,a-1):0;o.set(f,a,e+1),s.set(f,a,3)}else h===l?(o.set(f,a,0),s.set(f,a,1)):h===u&&(o.set(f,a,0),s.set(f,a,2));i.set(f,a,h)}const a=[];let l=e.length,u=t.length;function c(e,t){e+1===l&&t+1===u||a.push(new Jr(new Ar(e+1,l),new Ar(t+1,u))),l=e,u=t}let h=e.length-1,d=t.length-1;for(;h>=0&&d>=0;)3===s.get(h,d)?(c(h,d),h--,d--):1===s.get(h,d)?h--:d--;return c(-1,-1),a.reverse(),new Gr(a,!1)}}class ri{compute(e,t,n=Qr.instance){if(0===e.length||0===t.length)return Gr.trivial(e,t);const r=e,i=t;function s(e,t){for(;er.length||d>i.length)continue;const f=s(h,d);a.set(u,f);const m=h===o?l.get(u+1):l.get(u-1);if(l.set(u,f!==h?new ii(m,h,d,f-h):m),a.get(u)===r.length&&a.get(u)-u===i.length)break e}}let c=l.get(u);const h=[];let d=r.length,f=i.length;for(;;){const e=c?c.x+c.length:0,t=c?c.y+c.length:0;if(e===d&&t===f||h.push(new Jr(new Ar(e,d),new Ar(t,f))),!c)break;d=c.x,f=c.y,c=c.prev}return h.reverse(),new Gr(h,!1)}}class ii{constructor(e,t,n,r){this.prev=e,this.x=t,this.y=n,this.length=r}}class si{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){const e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){const e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class oi{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}var ai;class li{constructor(e,t){this.uri=e,this.value=t}}class ui{constructor(e,t){if(this[ai]="ResourceMap",e instanceof ui)this.map=new Map(e.map),this.toKey=null!=t?t:ui.defaultToKey;else if(function(e){return Array.isArray(e)}(e)){this.map=new Map,this.toKey=null!=t?t:ui.defaultToKey;for(const[t,n]of e)this.set(t,n)}else this.map=new Map,this.toKey=null!=e?e:ui.defaultToKey}set(e,t){return this.map.set(this.toKey(e),new li(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){void 0!==t&&(e=e.bind(t));for(const[n,r]of this.map)e(r.value,r.uri,this)}*values(){for(const e of this.map.values())yield e.value}*keys(){for(const e of this.map.values())yield e.uri}*entries(){for(const e of this.map.values())yield[e.uri,e.value]}*[(ai=Symbol.toStringTag,Symbol.iterator)](){for(const[,e]of this.map)yield[e.uri,e.value]}}ui.defaultToKey=e=>e.toString();Symbol.toStringTag,Symbol.iterator;class ci{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}get(e){const t=this.map.get(e);return t||new Set}}class hi{constructor(e,t,n){this.lines=e,this.considerWhitespaceChanges=n,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let r=!1;t.start>0&&t.endExclusive>=e.length&&(t=new Ar(t.start-1,t.endExclusive),r=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let i=this.lineRange.start;iString.fromCharCode(e))).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){const t=gi(e>0?this.elements[e-1]:-1),n=gi(et<=e));return new xt(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return Nt.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length)return;if(!di(this.elements[e]))return;let t=e;for(;t>0&&di(this.elements[t-1]);)t--;let n=e;for(;nt<=e.start)))&&void 0!==t?t:0,i=null!==(n=function(e,t){const n=Tr(e,t);return n===e.length?void 0:e[n]}(this.firstCharOffsetByLine,(t=>e.endExclusive<=t)))&&void 0!==n?n:this.elements.length;return new Ar(r,i)}}function di(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const fi={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function mi(e){return fi[e]}function gi(e){return 10===e?7:13===e?6:ei(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:-1===e?3:4}function pi(e,t,n,r,i,s){let{moves:o,excludedChanges:a}=function(e,t,n,r){const i=[],s=e.filter((e=>e.modified.isEmpty&&e.original.length>=3)).map((e=>new ti(e.original,t,e))),o=new Set(e.filter((e=>e.original.isEmpty&&e.modified.length>=3)).map((e=>new ti(e.modified,n,e)))),a=new Set;for(const l of s){let e,t=-1;for(const n of o){const r=l.computeSimilarity(n);r>t&&(t=r,e=n)}if(t>.9&&e&&(o.delete(e),i.push(new Pr(l.range,e.range)),a.add(l.source),a.add(e.source)),!r.isValid())return{moves:i,excludedChanges:a}}return{moves:i,excludedChanges:a}}(e,t,n,s);if(!s.isValid())return[];const l=function(e,t,n,r,i,s){const o=[],a=new ci;for(const f of e)for(let e=f.original.startLineNumber;ee.modified.startLineNumber),Rt));for(const f of e){let e=[];for(let t=f.modified.startLineNumber;t{for(const r of e)if(r.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&r.modifiedLineRange.endLineNumberExclusive+1===i.endLineNumberExclusive)return r.originalLineRange=new Or(r.originalLineRange.startLineNumber,t.endLineNumberExclusive),r.modifiedLineRange=new Or(r.modifiedLineRange.startLineNumber,i.endLineNumberExclusive),void s.push(r);const n={modifiedLineRange:i,originalLineRange:t};l.push(n),s.push(n)})),e=s}if(!s.isValid())return[]}l.sort((u=kt((e=>e.modifiedLineRange.length),Rt),(e,t)=>-u(e,t)));var u;const c=new Ir,h=new Ir;for(const f of l){const e=f.modifiedLineRange.startLineNumber-f.originalLineRange.startLineNumber,t=c.subtractFrom(f.modifiedLineRange),n=h.subtractFrom(f.originalLineRange).getWithDelta(e),r=t.getIntersection(n);for(const i of r.ranges){if(i.length<3)continue;const t=i,n=i.delta(-e);o.push(new Pr(n,t)),c.addRange(t),h.addRange(n)}}o.sort(kt((e=>e.original.startLineNumber),Rt));const d=new Mr(e);for(let f=0;fe.original.startLineNumber<=t.original.startLineNumber)),a=kr(e,(e=>e.modified.startLineNumber<=t.modified.startLineNumber)),l=Math.max(t.original.startLineNumber-n.original.startLineNumber,t.modified.startLineNumber-a.modified.startLineNumber),u=d.findLastMonotonous((e=>e.original.startLineNumbere.modified.startLineNumberr.length||n>i.length)break;if(c.contains(n)||h.contains(e))break;if(!vi(r[e-1],i[n-1],s))break}for(p>0&&(h.addRange(new Or(t.original.startLineNumber-p,t.original.startLineNumber)),c.addRange(new Or(t.modified.startLineNumber-p,t.modified.startLineNumber))),v=0;vr.length||n>i.length)break;if(c.contains(n)||h.contains(e))break;if(!vi(r[e-1],i[n-1],s))break}v>0&&(h.addRange(new Or(t.original.endLineNumberExclusive,t.original.endLineNumberExclusive+v)),c.addRange(new Or(t.modified.endLineNumberExclusive,t.modified.endLineNumberExclusive+v))),(p>0||v>0)&&(o[f]=new Pr(new Or(t.original.startLineNumber-p,t.original.endLineNumberExclusive+v),new Or(t.modified.startLineNumber-p,t.modified.endLineNumberExclusive+v)))}return o}(e.filter((e=>!a.has(e))),r,i,t,n,s);return function(e,t){for(const n of t)e.push(n)}(o,l),o=function(e){if(0===e.length)return e;e.sort(kt((e=>e.original.startLineNumber),Rt));const t=[e[0]];for(let n=1;n=0&&o>=0&&s+o<=2?t[t.length-1]=r.join(i):t.push(i)}return t}(o),o=o.filter((e=>e.original.toOffsetRange().slice(t).map((e=>e.trim())).join("\n").length>=10)),o=function(e,t){const n=new Mr(e);return t=t.filter((t=>(n.findLastMonotonous((e=>e.original.endLineNumberExclusivee.modified.endLineNumberExclusive300&&t.length>300)return!1;const r=(new ri).compute(new hi([e],new Ar(0,1),!1),new hi([t],new Ar(0,1),!1),n);let i=0;const s=Jr.invert(r.diffs,e.length);for(const a of s)a.seq1Range.forEach((t=>{ei(e.charCodeAt(t))||i++}));const o=function(t){let n=0;for(let r=0;rt.length?e:t);return i/o>.6&&o>10}function bi(e,t,n){let r=n;return r=function(e,t,n){if(0===n.length)return n;const r=[];r.push(n[0]);for(let s=1;s0&&(o=o.delta(a))}i.push(o)}r.length>0&&i.push(r[r.length-1]);return i}(e,t,r),r=function(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r0?n[r-1]:void 0,s=n[r],o=r+1=r.start&&e.seq2Range.start-s>=i.start&&n.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=o,a=u)}return e.delta(a)}class _i{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){return 1e3-((0===e?0:Ci(this.lines[e-1]))+(e===this.lines.length?0:Ci(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function Ci(e){let t=0;for(;te===t){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;re===t)))return new xr([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new xr([new Fr(new Or(1,e.length+1),new Or(1,t.length+1),[new Vr(new Nt(1,1,e.length,e[0].length+1),new Nt(1,1,t.length,t[0].length+1))])],[],!1);const r=0===n.maxComputationTimeMs?Qr.instance:new Zr(n.maxComputationTimeMs),i=!n.ignoreTrimWhitespace,s=new Map;function o(e){let t=s.get(e);return void 0===t&&(t=s.size,s.set(e,t)),t}const a=e.map((e=>o(e.trim()))),l=t.map((e=>o(e.trim()))),u=new _i(a,e),c=new _i(l,t),h=(()=>u.length+c.length<1700?this.dynamicProgrammingDiffing.compute(u,c,r,((n,r)=>e[n]===t[r]?0===t[r].length?.1:1+Math.log(1+t[r].length):.99)):this.myersDiffingAlgorithm.compute(u,c))();let d=h.diffs,f=h.hitTimeout;d=bi(u,c,d),d=function(e,t,n){let r=n;if(0===r.length)return r;let i,s=0;do{i=!1;const o=[r[0]];for(let a=1;a5||n.seq1Range.length+n.seq2Range.length>5)}c(u,l)?(i=!0,o[o.length-1]=o[o.length-1].join(l)):o.push(l)}r=o}while(s++<10&&i);return r}(u,0,d);const m=[],g=n=>{if(i)for(let s=0;s_.seq1Range.start-p==_.seq2Range.start-v));g(_.seq1Range.start-p),p=_.seq1Range.endExclusive,v=_.seq2Range.endExclusive;const n=this.refineDiff(e,t,_,r,i);n.hitTimeout&&(f=!0);for(const e of n.mappings)m.push(e)}g(e.length-p);const b=Si(m,e,t);let y=[];return n.computeMoves&&(y=this.computeMoves(b,e,t,a,l,r,i)),Cr((()=>{function n(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;const n=t[e.lineNumber-1];return!(e.column<1||e.column>n.length+1)}function r(e,t){return!(e.startLineNumber<1||e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1||e.endLineNumberExclusive>t.length+1)}for(const i of b){if(!i.innerChanges)return!1;for(const r of i.innerChanges){if(!(n(r.modifiedRange.getStartPosition(),t)&&n(r.modifiedRange.getEndPosition(),t)&&n(r.originalRange.getStartPosition(),e)&&n(r.originalRange.getEndPosition(),e)))return!1}if(!r(i.modified,t)||!r(i.original,e))return!1}return!0})),new xr(b,y,f)}computeMoves(e,t,n,r,i,s,o){return pi(e,t,n,r,i,s).map((e=>{const r=Si(this.refineDiff(t,n,new Jr(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o).mappings,t,n,!0);return new Nr(e,r)}))}refineDiff(e,t,n,r,i){const s=new hi(e,n.seq1Range,i),o=new hi(t,n.seq2Range,i),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,r):this.myersDiffingAlgorithm.compute(s,o,r);let l=a.diffs;l=bi(s,o,l),l=function(e,t,n){const r=[];let i;function s(){if(!i)return;const e=i.s1Range.length-i.deleted;i.s2Range.length,i.added,Math.max(i.deleted,i.added)+(i.count-1)>e&&r.push(new Jr(i.s1Range,i.s2Range)),i=void 0}for(const o of n){function a(e,t){var n,r,a,l;if(!i||!i.s1Range.containsRange(e)||!i.s2Range.containsRange(t))if(!i||i.s1Range.endExclusive0||t.length>0;){const r=e[0],i=t[0];let s;s=r&&(!i||r.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}(n,r)}(s,o,l),l=function(e,t,n){const r=[];for(const i of n){const e=r[r.length-1];e&&(i.seq1Range.start-e.seq1Range.endExclusive<=2||i.seq2Range.start-e.seq2Range.endExclusive<=2)?r[r.length-1]=new Jr(e.seq1Range.join(i.seq1Range),e.seq2Range.join(i.seq2Range)):r.push(i)}return r}(0,0,l),l=function(e,t,n){let r=n;if(0===r.length)return r;let i,s=0;do{i=!1;const a=[r[0]];for(let l=1;l5||i.length>500)return!1;const s=e.getText(i).trim();if(s.length>20||s.split(/\r\n|\r|\n/).length>1)return!1;const o=e.countLinesIn(n.seq1Range),a=n.seq1Range.length,l=t.countLinesIn(n.seq2Range),h=n.seq2Range.length,d=e.countLinesIn(r.seq1Range),f=r.seq1Range.length,m=t.countLinesIn(r.seq2Range),g=r.seq2Range.length;function p(e){return Math.min(e,130)}return Math.pow(Math.pow(p(40*o+a),1.5)+Math.pow(p(40*l+h),1.5),1.5)+Math.pow(Math.pow(p(40*d+f),1.5)+Math.pow(p(40*m+g),1.5),1.5)>1.3*Math.pow(Math.pow(130,1.5),1.5)}h(c,u)?(i=!0,a[a.length-1]=a[a.length-1].join(u)):a.push(u)}r=a}while(s++<10&&i);const o=[];return function(e,t){for(let n=0;n{let i=n;function s(e){return e.length>0&&e.trim().length<=3&&n.seq1Range.length+n.seq2Range.length>100}const a=e.extendToFullLines(n.seq1Range),l=e.getText(new Ar(a.start,n.seq1Range.start));s(l)&&(i=i.deltaStart(-l.length));const u=e.getText(new Ar(n.seq1Range.endExclusive,a.endExclusive));s(u)&&(i=i.deltaEnd(u.length));const c=Jr.fromOffsetPairs(t?t.getEndExclusives():Xr.zero,r?r.getStarts():Xr.max),h=i.intersect(c);o.push(h)})),o}(s,o,l);return{mappings:l.map((e=>new Vr(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range)))),hitTimeout:a.hitTimeout}}}function Si(e,t,n,r=!1){const i=[];for(const s of function*(e,t){let n,r;for(const i of e)void 0!==r&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}(e.map((e=>function(e,t,n){let r=0,i=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1);e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);const s=new Or(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),o=new Or(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i);return new Fr(s,o,[e])}(e,t,n))),((e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified)))){const e=s[0],t=s[s.length-1];i.push(new Fr(e.original.join(t.original),e.modified.join(t.modified),s.map((e=>e.innerChanges[0]))))}return Cr((()=>!(!r&&i.length>0&&i[0].original.startLineNumber!==i[0].modified.startLineNumber)&&wr(i,((e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivenew Dr,Ei=()=>new wi;function xi(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class Ni{constructor(e,t,n,r=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=xi(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class Ai{constructor(e,t,n,r){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=xi(Math.max(Math.min(1,t),0),3),this.l=xi(Math.max(Math.min(1,n),0),3),this.a=xi(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=e.a,s=Math.max(t,n,r),o=Math.min(t,n,r);let a=0,l=0;const u=(o+s)/2,c=s-o;if(c>0){switch(l=Math.min(u<=.5?c/(2*u):c/(2-2*u),1),s){case t:a=(n-r)/c+(n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:r,a:i}=e;let s,o,a;if(0===n)s=o=a=r;else{const e=r<.5?r*(1+n):r+n-r*n,i=2*r-e;s=Ai._hue2rgb(i,e,t+1/3),o=Ai._hue2rgb(i,e,t),a=Ai._hue2rgb(i,e,t-1/3)}return new Ni(Math.round(255*s),Math.round(255*o),Math.round(255*a),i)}}class ki{constructor(e,t,n,r){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=xi(Math.max(Math.min(1,t),0),3),this.v=xi(Math.max(Math.min(1,n),0),3),this.a=xi(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),s=i-Math.min(t,n,r),o=0===i?0:s/i;let a;return a=0===s?0:i===t?((n-r)/s%6+6)%6:i===n?(r-t)/s+2:(t-n)/s+4,new ki(Math.round(60*a),o,i,e.a)}static toRGBA(e){const{h:t,s:n,v:r,a:i}=e,s=r*n,o=s*(1-Math.abs(t/60%2-1)),a=r-s;let[l,u,c]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,c=o):t<240?(u=o,c=s):t<300?(l=o,c=s):t<=360&&(l=s,c=o),l=Math.round(255*(l+a)),u=Math.round(255*(u+a)),c=Math.round(255*(c+a)),new Ni(l,u,c,i)}}class Ri{static fromHex(e){return Ri.Format.CSS.parseHex(e)||Ri.red}static equals(e,t){return!e&&!t||!(!e||!t)&&e.equals(t)}get hsla(){return this._hsla?this._hsla:Ai.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:ki.fromRGBA(this.rgba)}constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof Ni)this.rgba=e;else if(e instanceof Ai)this._hsla=e,this.rgba=Ai.toRGBA(e);else{if(!(e instanceof ki))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=ki.toRGBA(e)}}equals(e){return!!e&&Ni.equals(this.rgba,e.rgba)&&Ai.equals(this.hsla,e.hsla)&&ki.equals(this.hsva,e.hsva)}getRelativeLuminance(){return xi(.2126*Ri._relativeLuminanceForComponent(this.rgba.r)+.7152*Ri._relativeLuminanceForComponent(this.rgba.g)+.0722*Ri._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()0)for(const r of n){const n=r.filter((e=>void 0!==e)),i=n[1],s=n[2];if(!s)continue;let o;if("rgb"===i){const t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=Pi(Oi(e,r),Vi(s,t),!1)}else if("rgba"===i){const t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=Pi(Oi(e,r),Vi(s,t),!0)}else if("hsl"===i){const t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=Fi(Oi(e,r),Vi(s,t),!1)}else if("hsla"===i){const t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=Fi(Oi(e,r),Vi(s,t),!0)}else"#"===i&&(o=Ii(Oi(e,r),i+s));o&&t.push(o)}return t}(e):[]}Ri.white=new Ri(new Ni(255,255,255,1)),Ri.black=new Ri(new Ni(0,0,0,1)),Ri.red=new Ri(new Ni(255,0,0,1)),Ri.blue=new Ri(new Ni(0,0,255,1)),Ri.green=new Ri(new Ni(0,255,0,1)),Ri.cyan=new Ri(new Ni(0,255,255,1)),Ri.lightgrey=new Ri(new Ni(211,211,211,1)),Ri.transparent=new Ri(new Ni(0,0,0,0)),function(e){let t;!function(t){let n;!function(t){function n(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}function r(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}t.formatRGB=function(t){return 1===t.rgba.a?`rgb(${t.rgba.r}, ${t.rgba.g}, ${t.rgba.b})`:e.Format.CSS.formatRGBA(t)},t.formatRGBA=function(e){return`rgba(${e.rgba.r}, ${e.rgba.g}, ${e.rgba.b}, ${+e.rgba.a.toFixed(2)})`},t.formatHSL=function(t){return 1===t.hsla.a?`hsl(${t.hsla.h}, ${(100*t.hsla.s).toFixed(2)}%, ${(100*t.hsla.l).toFixed(2)}%)`:e.Format.CSS.formatHSLA(t)},t.formatHSLA=function(e){return`hsla(${e.hsla.h}, ${(100*e.hsla.s).toFixed(2)}%, ${(100*e.hsla.l).toFixed(2)}%, ${e.hsla.a.toFixed(2)})`},t.formatHex=function(e){return`#${n(e.rgba.r)}${n(e.rgba.g)}${n(e.rgba.b)}`},t.formatHexA=function(t,r=!1){return r&&1===t.rgba.a?e.Format.CSS.formatHex(t):`#${n(t.rgba.r)}${n(t.rgba.g)}${n(t.rgba.b)}${n(Math.round(255*t.rgba.a))}`},t.format=function(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)},t.parseHex=function(t){const n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){const n=16*r(t.charCodeAt(1))+r(t.charCodeAt(2)),i=16*r(t.charCodeAt(3))+r(t.charCodeAt(4)),s=16*r(t.charCodeAt(5))+r(t.charCodeAt(6));return new e(new Ni(n,i,s,1))}if(9===n){const n=16*r(t.charCodeAt(1))+r(t.charCodeAt(2)),i=16*r(t.charCodeAt(3))+r(t.charCodeAt(4)),s=16*r(t.charCodeAt(5))+r(t.charCodeAt(6)),o=16*r(t.charCodeAt(7))+r(t.charCodeAt(8));return new e(new Ni(n,i,s,o/255))}if(4===n){const n=r(t.charCodeAt(1)),i=r(t.charCodeAt(2)),s=r(t.charCodeAt(3));return new e(new Ni(16*n+n,16*i+i,16*s+s))}if(5===n){const n=r(t.charCodeAt(1)),i=r(t.charCodeAt(2)),s=r(t.charCodeAt(3)),o=r(t.charCodeAt(4));return new e(new Ni(16*n+n,16*i+i,16*s+s,(16*o+o)/255))}return null}}(n=t.CSS||(t.CSS={}))}(t=e.Format||(e.Format={}))}(Ri||(Ri={}));var qi=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{l(r.next(e))}catch(Dl){s(Dl)}}function a(e){try{l(r.throw(e))}catch(Dl){s(Dl)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}l((r=r.apply(e,t||[])).next())}))};class Ki extends Ft{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){const t=[];for(let n=0;nthis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{const e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class ji{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach((t=>e.push(this._models[t]))),e}acceptNewModel(e){this._models[e.url]=new Ki(gt.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return qi(this,void 0,void 0,(function*(){const r=this._getModel(e);return r?Sr.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}))}computeDiff(e,t,n,r){return qi(this,void 0,void 0,(function*(){const i=this._getModel(e),s=this._getModel(t);return i&&s?ji.computeDiff(i,s,n,r):null}))}static computeDiff(e,t,n,r){const i="advanced"===r?Ei():Li(),s=e.getLinesContent(),o=t.getLinesContent(),a=i.computeDiff(s,o,n);function l(e){return e.map((e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map((e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn]))]}))}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:l(a.changes),moves:a.moves.map((e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,l(e.changes)]))}}static _modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t,n){return qi(this,void 0,void 0,(function*(){const r=this._getModel(e);if(!r)return t;const i=[];let s;t=t.slice(0).sort(((e,t)=>{if(e.range&&t.range)return Nt.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)}));let o=0;for(let e=1;eji._diffLimit){i.push({range:e,text:a});continue}const o=Ke(t,a,n),u=r.offsetAt(Nt.lift(e).getStartPosition());for(const e of o){const t=r.positionAt(u+e.originalStart),n=r.positionAt(u+e.originalStart+e.originalLength),s={text:a.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}};r.getValueInRange(s.range)!==s.text&&i.push(s)}}return"number"==typeof s&&i.push({eol:s,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return qi(this,void 0,void 0,(function*(){const t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?Ht.computeLinks(e):[]}(t):null}))}computeDefaultDocumentColors(e){return qi(this,void 0,void 0,(function*(){const t=this._getModel(e);return t?Di(t):null}))}textualSuggest(e,t,n,r){return qi(this,void 0,void 0,(function*(){const i=new S,s=new RegExp(n,r),o=new Set;e:for(const n of e){const e=this._getModel(n);if(e)for(const n of e.words(s))if(n!==t&&isNaN(Number(n))&&(o.add(n),o.size>ji._suggestionsLimit))break e}return{words:Array.from(o),duration:i.elapsed()}}))}computeWordRanges(e,t,n,r){return qi(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return Object.create(null);const s=new RegExp(n,r),o=Object.create(null);for(let e=t.startLineNumber;efunction(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(const i of e)r[i]=n(i);return r}(n,((e,t)=>this._host.fhr(e,t))),i={host:r,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve(T(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(Dl){return Promise.reject(Dl)}}}ji._diffLimit=1e5,ji._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:Qt,Emitter:k,KeyCode:Hn,KeyMod:dr,Position:xt,Range:Nt,Selection:hn,SelectionDirection:ir,MarkerSeverity:zn,MarkerTag:Gn,Uri:gt,Token:wn});let Ui=!1;function Bi(e){if(Ui)return;Ui=!0;const t=new Te((e=>{globalThis.postMessage(e)}),(t=>new ji(t,e)));globalThis.onmessage=e=>{t.onmessage(e.data)}}function $i(e,t){void 0===t&&(t=!1);var n=e.length,r=0,i="",s=0,o=16,a=0,l=0,u=0,c=0,h=0;function d(t,n){for(var i=0,s=0;i=48&&o<=57)s=16*s+o-48;else if(o>=65&&o<=70)s=16*s+o-65+10;else{if(!(o>=97&&o<=102))break;s=16*s+o-97+10}r++,i++}return i=n)return s=n,o=17;var t=e.charCodeAt(r);if(Wi(t)){do{r++,i+=String.fromCharCode(t),t=e.charCodeAt(r)}while(Wi(t));return o=15}if(Hi(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),a++,u=r,o=14;switch(t){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,i=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),h=2;break}var s=e.charCodeAt(r);if(34===s){t+=e.substring(i,r),r++;break}if(92!==s){if(s>=0&&s<=31){if(Hi(s)){t+=e.substring(i,r),h=2;break}h=6}r++}else{if(t+=e.substring(i,r),++r>=n){h=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var o=d(4,!0);o>=0?t+=String.fromCharCode(o):h=4;break;default:h=5}i=r}}return t}(),o=10;case 47:var f=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r=12&&e<=15);return e}:f,getToken:function(){return o},getTokenValue:function(){return i},getTokenOffset:function(){return s},getTokenLength:function(){return r-s},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return s-c},getTokenError:function(){return h}}}function Wi(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function Hi(e){return 10===e||13===e||8232===e||8233===e}function zi(e){return e>=48&&e<=57}function Gi(e,t,n){var r,i,s,o,a;if(t){for(o=t.offset,a=o+t.length,s=o;s>0&&!Xi(e,s-1);)s--;for(var l=a;lo)||e.substring(r,i)===n||v.push({offset:r,length:i-r,content:n})}var y=p();if(17!==y){var _=f.getTokenOffset()+s;b(Ji(u,r),s,_)}for(;17!==y;){for(var C=f.getTokenOffset()+f.getTokenLength()+s,w=p(),S="",L=!1;!h&&(12===w||13===w);){b(" ",C,f.getTokenOffset()+s),C=f.getTokenOffset()+f.getTokenLength()+s,S=(L=12===w)?g():"",w=p()}if(2===w)1!==y&&(d--,S=g());else if(4===w)3!==y&&(d--,S=g());else{switch(y){case 3:case 1:d++,S=g();break;case 5:case 12:S=g();break;case 13:h?S=g():L||(S=" ");break;case 6:L||(S=" ");break;case 10:if(6===w){L||(S="");break}case 7:case 8:case 9:case 11:case 2:case 4:12===w||13===w?L||(S=" "):5!==w&&17!==w&&(m=!0);break;case 16:m=!0}!h||12!==w&&13!==w||(S=g())}17===w&&(S=n.insertFinalNewline?c:""),b(S,C,f.getTokenOffset()+s),y=w}return v}function Ji(e,t){for(var n="",r=0;r{Ui||Bi(null)},(Qi||(Qi={})).DEFAULT={allowTrailingComma:!1};var Zi,Yi,es,ts,ns,rs,is,ss,os,as,ls,us,cs,hs,ds,fs,ms,gs,ps,vs,bs,ys,_s,Cs,ws,Ss,Ls,Es,xs,Ns,As,ks,Rs,Ts,Ms,Os,Is,Ps,Fs,Vs,Ds,qs,Ks,js,Us,Bs,$s,Ws,Hs,zs=$i,Gs=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=Qi.DEFAULT);var r=null,i=[],s=[];function o(e){Array.isArray(i)?i.push(e):null!==r&&(i[r]=e)}return function(e,t,n){void 0===n&&(n=Qi.DEFAULT);var r=$i(e,!1);function i(e){return e?function(){return e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}function s(e){return e?function(t){return e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}var o=i(t.onObjectBegin),a=s(t.onObjectProperty),l=i(t.onObjectEnd),u=i(t.onArrayBegin),c=i(t.onArrayEnd),h=s(t.onLiteralValue),d=s(t.onSeparator),f=i(t.onComment),m=s(t.onError),g=n&&n.disallowComments,p=n&&n.allowTrailingComma;function v(){for(;;){var e=r.scan();switch(r.getTokenError()){case 4:b(14);break;case 5:b(15);break;case 3:b(13);break;case 1:g||b(11);break;case 2:b(12);break;case 6:b(16)}switch(e){case 12:case 13:g?b(10):f();break;case 16:b(1);break;case 15:case 14:break;default:return e}}}function b(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),m(e),t.length+n.length>0)for(var i=r.getToken();17!==i;){if(-1!==t.indexOf(i)){v();break}if(-1!==n.indexOf(i))break;i=v()}}function y(e){var t=r.getTokenValue();return e?h(t):a(t),v(),!0}function _(){switch(r.getToken()){case 11:var e=r.getTokenValue(),t=Number(e);isNaN(t)&&(b(2),t=0),h(t);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return v(),!0}function C(){return 10!==r.getToken()?(b(3,[],[2,5]),!1):(y(!1),6===r.getToken()?(d(":"),v(),L()||b(4,[],[2,5])):b(5,[],[2,5]),!0)}function w(){o(),v();for(var e=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||b(4,[],[]),d(","),v(),2===r.getToken()&&p)break}else e&&b(6,[],[]);C()||b(4,[],[2,5]),e=!0}return l(),2!==r.getToken()?b(7,[2],[]):v(),!0}function S(){u(),v();for(var e=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||b(4,[],[]),d(","),v(),4===r.getToken()&&p)break}else e&&b(6,[],[]);L()||b(4,[],[4,5]),e=!0}return c(),4!==r.getToken()?b(8,[4],[]):v(),!0}function L(){switch(r.getToken()){case 3:return S();case 1:return w();case 10:return y(!0);default:return _()}}if(v(),17===r.getToken())return!!n.allowEmptyContent||(b(4,[],[]),!1);if(!L())return b(4,[],[]),!1;17!==r.getToken()&&b(9,[],[])}(e,{onObjectBegin:function(){var e={};o(e),s.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=s.pop()},onArrayBegin:function(){var e=[];o(e),s.push(i),i=e,r=null},onArrayEnd:function(){i=s.pop()},onLiteralValue:o,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},Js=function e(t,n,r){if(void 0===r&&(r=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t0?e.lastIndexOf(t)===n:0===n&&e===t}function ro(e){var t="";(function(e,t){if(e.length0&&(i.arguments=n),i},Rs.is=function(e){var t=e;return ia.defined(t)&&ia.string(t.title)&&ia.string(t.command)},(Ms=Ts||(Ts={})).replace=function(e,t){return{range:e,newText:t}},Ms.insert=function(e,t){return{range:{start:e,end:e},newText:t}},Ms.del=function(e){return{range:e,newText:""}},Ms.is=function(e){var t=e;return ia.objectLiteral(t)&&ia.string(t.newText)&&is.is(t.range)},(Is=Os||(Os={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},Is.is=function(e){var t=e;return void 0!==t&&ia.objectLiteral(t)&&ia.string(t.label)&&(ia.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(ia.string(t.description)||void 0===t.description)},(Ps||(Ps={})).is=function(e){return"string"==typeof e},(Vs=Fs||(Fs={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},Vs.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},Vs.del=function(e,t){return{range:e,newText:"",annotationId:t}},Vs.is=function(e){var t=e;return Ts.is(t)&&(Os.is(t.annotationId)||Ps.is(t.annotationId))},(qs=Ds||(Ds={})).create=function(e,t){return{textDocument:e,edits:t}},qs.is=function(e){var t=e;return ia.defined(t)&&lo.is(t.textDocument)&&Array.isArray(t.edits)},(js=Ks||(Ks={})).create=function(e,t,n){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},js.is=function(e){var t=e;return t&&"create"===t.kind&&ia.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ia.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ia.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||Ps.is(t.annotationId))},(Bs=Us||(Us={})).create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},Bs.is=function(e){var t=e;return t&&"rename"===t.kind&&ia.string(t.oldUri)&&ia.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ia.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ia.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||Ps.is(t.annotationId))},(Ws=$s||($s={})).create=function(e,t,n){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},Ws.is=function(e){var t=e;return t&&"delete"===t.kind&&ia.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ia.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ia.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||Ps.is(t.annotationId))},(Hs||(Hs={})).is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ia.string(e.kind)?Ks.is(e)||Us.is(e)||$s.is(e):Ds.is(e)})))};var io,so,oo,ao,lo,uo,co,ho,fo,mo,go,po,vo,bo,yo,_o,Co,wo,So,Lo,Eo,xo,No,Ao,ko,Ro,To,Mo,Oo,Io,Po,Fo,Vo,Do,qo,Ko,jo,Uo,Bo,$o,Wo,Ho,zo,Go,Jo,Xo,Qo,Zo,Yo,ea,ta,na=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=Ts.insert(e,t):Ps.is(n)?(i=n,r=Fs.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=Fs.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=Ts.replace(e,t):Ps.is(n)?(i=n,r=Fs.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=Fs.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=Ts.del(e):Ps.is(t)?(r=t,n=Fs.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=Fs.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),ra=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(Ps.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id "+n+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new ra(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(Ds.is(e)){var n=new na(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new na(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(lo.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new na(i,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new na(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new ra,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,s;if(Os.is(t)||Ps.is(t)?r=t:n=t,void 0===r?i=Ks.create(e,n):(s=Ps.is(r)?r:this._changeAnnotations.manage(r),i=Ks.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,s,o;if(Os.is(n)||Ps.is(n)?i=n:r=n,void 0===i?s=Us.create(e,t,r):(o=Ps.is(i)?i:this._changeAnnotations.manage(i),s=Us.create(e,t,r,o)),this._workspaceEdit.documentChanges.push(s),void 0!==o)return o},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,s;if(Os.is(t)||Ps.is(t)?r=t:n=t,void 0===r?i=$s.create(e,n):(s=Ps.is(r)?r:this._changeAnnotations.manage(r),i=$s.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s}}();(so=io||(io={})).create=function(e){return{uri:e}},so.is=function(e){var t=e;return ia.defined(t)&&ia.string(t.uri)},(ao=oo||(oo={})).create=function(e,t){return{uri:e,version:t}},ao.is=function(e){var t=e;return ia.defined(t)&&ia.string(t.uri)&&ia.integer(t.version)},(uo=lo||(lo={})).create=function(e,t){return{uri:e,version:t}},uo.is=function(e){var t=e;return ia.defined(t)&&ia.string(t.uri)&&(null===t.version||ia.integer(t.version))},(ho=co||(co={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},ho.is=function(e){var t=e;return ia.defined(t)&&ia.string(t.uri)&&ia.string(t.languageId)&&ia.integer(t.version)&&ia.string(t.text)},(mo=fo||(fo={})).PlainText="plaintext",mo.Markdown="markdown",function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(fo||(fo={})),(go||(go={})).is=function(e){var t=e;return ia.objectLiteral(e)&&fo.is(t.kind)&&ia.string(t.value)},(vo=po||(po={})).Text=1,vo.Method=2,vo.Function=3,vo.Constructor=4,vo.Field=5,vo.Variable=6,vo.Class=7,vo.Interface=8,vo.Module=9,vo.Property=10,vo.Unit=11,vo.Value=12,vo.Enum=13,vo.Keyword=14,vo.Snippet=15,vo.Color=16,vo.File=17,vo.Reference=18,vo.Folder=19,vo.EnumMember=20,vo.Constant=21,vo.Struct=22,vo.Event=23,vo.Operator=24,vo.TypeParameter=25,(yo=bo||(bo={})).PlainText=1,yo.Snippet=2,(_o||(_o={})).Deprecated=1,(wo=Co||(Co={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},wo.is=function(e){var t=e;return t&&ia.string(t.newText)&&is.is(t.insert)&&is.is(t.replace)},(Lo=So||(So={})).asIs=1,Lo.adjustIndentation=2,(Eo||(Eo={})).create=function(e){return{label:e}},(xo||(xo={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(Ao=No||(No={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},Ao.is=function(e){var t=e;return ia.string(t)||ia.objectLiteral(t)&&ia.string(t.language)&&ia.string(t.value)},(ko||(ko={})).is=function(e){var t=e;return!!t&&ia.objectLiteral(t)&&(go.is(t.contents)||No.is(t.contents)||ia.typedArray(t.contents,No.is))&&(void 0===e.range||is.is(e.range))},(Ro||(Ro={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(To||(To={})).create=function(e,t){for(var n=[],r=2;r=0;o--){var a=i[o],l=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(!(u<=s))throw new Error("Overlapping edit");r=r.substring(0,l)+a.newText+r.substring(u,r.length),s=l}return r}}(ta||(ta={}));var ia,sa,oa,aa=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return ns.create(0,e);for(;ne?r=i:n=i+1}var s=n-1;return ns.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1e?r=i:n=i+1}let i=n-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function va(e){const t=pa(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function ba(e,t,...n){return function(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,((e,n)=>{let r=n[0];return void 0!==t[r]?t[r]:e})),n}(t,n)}function ya(e){return ba}(ua=la||(la={})).create=function(e,t,n,r){return new fa(e,t,n,r)},ua.update=function(e,t,n){if(e instanceof fa)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},ua.applyEdits=function(e,t){let n=e.getText(),r=ma(t.map(va),((e,t)=>{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=0;const s=[];for(const o of r){let t=e.offsetAt(o.range.start);if(ti&&s.push(n.substring(i,t)),o.newText.length&&s.push(o.newText),i=e.offsetAt(o.range.end)}return s.push(n.substr(i)),s.join("")},(ha=ca||(ca={}))[ha.Undefined=0]="Undefined",ha[ha.EnumValueMismatch=1]="EnumValueMismatch",ha[ha.Deprecated=2]="Deprecated",ha[ha.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",ha[ha.UnexpectedEndOfString=258]="UnexpectedEndOfString",ha[ha.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",ha[ha.InvalidUnicode=260]="InvalidUnicode",ha[ha.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",ha[ha.InvalidCharacter=262]="InvalidCharacter",ha[ha.PropertyExpected=513]="PropertyExpected",ha[ha.CommaExpected=514]="CommaExpected",ha[ha.ColonExpected=515]="ColonExpected",ha[ha.ValueExpected=516]="ValueExpected",ha[ha.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",ha[ha.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",ha[ha.TrailingComma=519]="TrailingComma",ha[ha.DuplicateKey=520]="DuplicateKey",ha[ha.CommentNotPermitted=521]="CommentNotPermitted",ha[ha.SchemaResolveError=768]="SchemaResolveError",(da||(da={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[fo.Markdown,fo.PlainText],commitCharactersSupport:!0}}}};var _a,Ca,wa,Sa=(_a=function(e,t){return(_a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),La=ya(),Ea={"color-hex":{errorMessage:La("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:La("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:La("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:La("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:La("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}))$/},hostname:{errorMessage:La("hostnameFormatWarning","String is not a hostname."),pattern:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i},ipv4:{errorMessage:La("ipv4FormatWarning","String is not an IPv4 address."),pattern:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/},ipv6:{errorMessage:La("ipv6FormatWarning","String is not an IPv6 address."),pattern:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i}},xa=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),Na=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return Sa(t,e),t}(xa),Aa=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return Sa(t,e),t}(xa),ka=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return Sa(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(xa),Ra=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return Sa(t,e),t}(xa),Ta=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return Sa(t,e),t}(xa),Ma=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.type="property",i.colonOffset=-1,i.keyNode=r,i}return Sa(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(xa),Oa=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return Sa(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(xa);function Ia(e){return to(e)?e?{}:{not:{}}:e}(wa=Ca||(Ca={}))[wa.Key=0]="Key",wa[wa.Enum=1]="Enum";var Pa=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||Ka(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Fa=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),Va=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,n=e;t=e.offset&&t=0;)s.splice(t,1),t=s.indexOf(e)};if(t.properties)for(var f=0,m=Object.keys(t.properties);f0)for(var N=0,A=s;Nt.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:La("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});Ys(t.minProperties)&&e.properties.length=i.length&&n.propertiesValueMatches++}if(e.items.length>i.length)if("object"==typeof t.additionalItems)for(var l=i.length;lt.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:La("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var m=Da(e);m.some((function(e,t){return t!==m.lastIndexOf(e)}))&&n.problems.push({location:{offset:e.offset,length:e.length},message:La("uniqueItemsWarning","Array has duplicate items.")})}}(i,t,n,r);break;case"string":!function(e,t,n){Ys(t.minLength)&&e.value.lengtht.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:La("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(i=t.pattern,"string"==typeof i){var r=ro(t.pattern);(null==r?void 0:r.test(e.value))||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||La("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var i;if(t.format)switch(t.format){case"uri":case"uri-reference":var s=void 0;if(e.value){var o=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);o?o[2]||"uri"!==t.format||(s=La("uriSchemeMissing","URI with a scheme is expected.")):s=La("uriMissing","URI is expected.")}else s=La("uriEmpty","URI expected.");s&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||La("uriFormatWarning","String is not a URI: {0}",s)});break;case"color-hex":case"date-time":case"date":case"time":case"email":case"hostname":case"ipv4":case"ipv6":var a=Ea[t.format];e.value&&a.pattern.exec(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||a.errorMessage})}}(i,t,n);break;case"number":!function(e,t,n){var r=e.value;function i(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(Ys(t.multipleOf)){var s=-1;if(Number.isInteger(t.multipleOf))s=r%t.multipleOf;else{var o=i(t.multipleOf),a=i(r);if(o&&a){var l=Math.pow(10,Math.abs(a.multiplier-o.multiplier));a.multiplier=d&&n.problems.push({location:{offset:e.offset,length:e.length},message:La("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",d)});var f=c(t.minimum,t.exclusiveMinimum);Ys(f)&&rm&&n.problems.push({location:{offset:e.offset,length:e.length},message:La("maximumWarning","Value is above the maximum of {0}.",m)})}(i,t,n);break;case"property":return Ua(i.valueNode,t,n,r)}!function(){function e(e){return i.type===e||"integer"===e&&"number"===i.type&&i.isInteger}Array.isArray(t.type)?t.type.some(e)||n.problems.push({location:{offset:i.offset,length:i.length},message:t.errorMessage||La("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(e(t.type)||n.problems.push({location:{offset:i.offset,length:i.length},message:t.errorMessage||La("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var s=0,o=t.allOf;s0?o={schema:u,validationResult:c,matchingSchemas:h}:0===d&&(o.matchingSchemas.merge(h),o.validationResult.mergeEnumValues(c))}else o.matchingSchemas.merge(h),o.validationResult.propertiesMatches+=c.propertiesMatches,o.validationResult.propertiesValueMatches+=c.propertiesValueMatches;else o={schema:u,validationResult:c,matchingSchemas:h}}return s.length>1&&t&&n.problems.push({location:{offset:i.offset,length:1},message:La("oneOfWarning","Matches multiple schemas when only one must validate.")}),o&&(n.merge(o.validationResult),n.propertiesMatches+=o.validationResult.propertiesMatches,n.propertiesValueMatches+=o.validationResult.propertiesValueMatches,r.merge(o.matchingSchemas)),s.length};Array.isArray(t.anyOf)&&m(t.anyOf,!1);Array.isArray(t.oneOf)&&m(t.oneOf,!0);var g=function(e){var t=new Va,s=r.newSub();Ua(i,Ia(e),t,s),n.merge(t),n.propertiesMatches+=t.propertiesMatches,n.propertiesValueMatches+=t.propertiesValueMatches,r.merge(s)},p=Ia(t.if);p&&(v=p,b=Ia(t.then),y=Ia(t.else),_=Ia(v),C=new Va,w=r.newSub(),Ua(i,_,C,w),r.merge(w),C.hasProblems()?y&&g(y):b&&g(b));var v,b,y,_,C,w;if(Array.isArray(t.enum)){for(var S=Da(i),L=!1,E=0,x=t.enum;E0){for(u--;u>0&&/\s/.test(i.charAt(u));)u--;c=u+1}if(l(e,t,u,c),n&&h(n,!1),r.length+o.length>0)for(var d=s.getToken();17!==d;){if(-1!==r.indexOf(d)){a();break}if(-1!==o.indexOf(d))break;d=a()}return n}function c(){switch(s.getTokenError()){case 4:return u(La("InvalidUnicode","Invalid unicode sequence in string."),ca.InvalidUnicode),!0;case 5:return u(La("InvalidEscapeCharacter","Invalid escape character in string."),ca.InvalidEscapeCharacter),!0;case 3:return u(La("UnexpectedEndOfNumber","Unexpected end of number."),ca.UnexpectedEndOfNumber),!0;case 1:return u(La("UnexpectedEndOfComment","Unexpected end of comment."),ca.UnexpectedEndOfComment),!0;case 2:return u(La("UnexpectedEndOfString","Unexpected end of string."),ca.UnexpectedEndOfString),!0;case 6:return u(La("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),ca.InvalidCharacter),!0}return!1}function h(e,t){return e.length=s.getTokenOffset()+s.getTokenLength()-e.offset,t&&a(),e}var d=new Ta(void 0,0,0);function f(t,n){var r=new Ma(t,s.getTokenOffset(),d),i=m(r);if(!i){if(16!==s.getToken())return;u(La("DoubleQuotesExpected","Property keys must be doublequoted"),ca.Undefined);var o=new Ta(r,s.getTokenOffset(),s.getTokenLength());o.value=s.getTokenValue(),i=o,a()}r.keyNode=i;var c=n[i.value];if(c?(l(La("DuplicateKeyWarning","Duplicate object key"),ca.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,ws.Warning),"object"==typeof c&&l(La("DuplicateKeyWarning","Duplicate object key"),ca.DuplicateKey,c.keyNode.offset,c.keyNode.offset+c.keyNode.length,ws.Warning),n[i.value]=!0):n[i.value]=r,6===s.getToken())r.colonOffset=s.getTokenOffset(),a();else if(u(La("ColonExpected","Colon expected"),ca.ColonExpected),10===s.getToken()&&e.positionAt(i.offset+i.length).line=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var r=n(e);if(r)return r}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var r=this,i={items:[],isIncomplete:!1},s=e.getText(),o=e.offsetAt(t),a=n.getNodeFromOffset(o,!0);if(this.isInComment(e,a?a.offset:0,o))return Promise.resolve(i);if(a&&o===a.offset+a.length&&o>0){var l=s[o-1];("object"===a.type&&"}"===l||"array"===a.type&&"]"===l)&&(a=a.parent)}var u,c=this.getCurrentWord(e,o);if(!a||"string"!==a.type&&"number"!==a.type&&"boolean"!==a.type&&"null"!==a.type){var h=o-c.length;h>0&&'"'===s[h-1]&&h--,u=is.create(e.positionAt(h),t)}else u=is.create(e.positionAt(a.offset),e.positionAt(a.offset+a.length));var d={},f={add:function(e){var t=e.label,n=d[t];if(n)n.documentation||(n.documentation=e.documentation),n.detail||(n.detail=e.detail);else{if((t=t.replace(/[\n]/g,"\u21b5")).length>60){var r=t.substr(0,57).trim()+"...";d[r]||(t=r)}u&&void 0!==e.insertText&&(e.textEdit=Ts.replace(u,e.insertText)),e.label=t,d[t]=e,i.items.push(e)}},setAsIncomplete:function(){i.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return i.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then((function(t){var l=[],h=!0,m="",g=void 0;if(a&&"string"===a.type){var p=a.parent;p&&"property"===p.type&&p.keyNode===a&&(h=!p.valueNode,g=p,m=s.substr(a.offset+1,a.length-2),p&&(a=p.parent))}if(a&&"object"===a.type){if(a.offset===o)return i;a.properties.forEach((function(e){g&&g===e||(d[e.keyNode.value]=Eo.create("__"))}));var v="";h&&(v=r.evaluateSeparatorAfter(e,e.offsetAt(u.end))),t?r.getPropertyCompletions(t,n,a,h,v,f):r.getSchemaLessPropertyCompletions(n,a,m,f);var b=qa(a);r.contributions.forEach((function(t){var n=t.collectPropertyCompletions(e.uri,b,c,h,""===v,f);n&&l.push(n)})),!t&&c.length>0&&'"'!==s.charAt(o-c.length-1)&&(f.add({kind:po.Property,label:r.getLabelForValue(c),insertText:r.getInsertTextForProperty(c,void 0,!1,v),insertTextFormat:bo.Snippet,documentation:""}),f.setAsIncomplete())}var y={};return t?r.getValueCompletions(t,n,a,o,e,f,y):r.getSchemaLessValueCompletions(n,a,o,e,f),r.contributions.length>0&&r.getContributedValueCompletions(n,a,o,e,f,l),r.promiseConstructor.all(l).then((function(){if(0===f.getNumberOfProposals()){var t=o;!a||"string"!==a.type&&"number"!==a.type&&"boolean"!==a.type&&"null"!==a.type||(t=a.offset+a.length);var n=r.evaluateSeparatorAfter(e,t);r.addFillerValueCompletions(y,n,f)}return i}))}))},e.prototype.getPropertyCompletions=function(e,t,n,r,i,s){var o=this;t.getMatchingSchemas(e.schema,n.offset).forEach((function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:po.Property,label:e,insertText:o.getInsertTextForProperty(e,n,r,i),insertTextFormat:bo.Snippet,filterText:o.getFilterTextForValue(e),documentation:o.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&no(a.insertText,"$1".concat(i))&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),s.add(a)}}));var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var l=function(e,t){void 0===t&&(t=void 0);var n={kind:po.Property,label:e,insertText:o.getInsertTextForProperty(e,void 0,r,i),insertTextFormat:bo.Snippet,filterText:o.getFilterTextForValue(e),documentation:t||o.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&no(n.insertText,"$1".concat(i))&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),s.add(n)};if(a.enum)for(var u=0;u(t.colonOffset||0)){var u=t.valueNode;if(u&&(n>u.offset+u.length||"object"===u.type||"array"===u.type))return;var c=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===c&&e.valueNode&&l(e.valueNode),!0})),"$schema"===c&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,i)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var h=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(l),!0}))}else t.items.forEach(l)},e.prototype.getValueCompletions=function(e,t,n,r,i,s,o){var a=r,l=void 0,u=void 0;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(a=n.offset+n.length,u=n,n=n.parent),n){if("property"===n.type&&r>(n.colonOffset||0)){var c=n.valueNode;if(c&&r>c.offset+c.length)return;l=n.keyNode.value,n=n.parent}if(n&&(void 0!==l||"array"===n.type)){for(var h=this.evaluateSeparatorAfter(i,a),d=0,f=t.getMatchingSchemas(e.schema,n.offset,u);d(t.colonOffset||0)){var o=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var l=qa(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(r.uri,l,o,i);t&&s.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&s.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var s=!1;if(eo(e.default)){for(var o=e.type,a=e.default,l=r;l>0;l--)a=[a],o="array";n.add({kind:this.getSuggestionKind(o),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:bo.Snippet,detail:Wa("json.suggest.default","Default value")}),s=!0}Array.isArray(e.examples)&&e.examples.forEach((function(o){for(var a=e.type,l=o,u=r;u>0;u--)l=[l],a="array";n.add({kind:i.getSuggestionKind(a),label:i.getLabelForValue(l),insertText:i.getInsertTextForValue(l,t),insertTextFormat:bo.Snippet}),s=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(o){var a,l,u=e.type,c=o.body,h=o.label;if(eo(c)){e.type;for(var d=r;d>0;d--)c=[c];a=i.getInsertTextForSnippetValue(c,t),l=i.getFilterTextForSnippetValue(c),h=h||i.getLabelForSnippetValue(c)}else{if("string"!=typeof o.bodyText)return;var f="",m="",g="";for(d=r;d>0;d--)f=f+g+"[\n",m=m+"\n"+g+"]",g+="\t",u="array";a=f+g+o.bodyText.split("\n").join("\n"+g)+m+t,h=h||a,l=a.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(u),label:h,documentation:i.fromMarkup(o.markdownDescription)||o.description,insertText:a,insertTextFormat:bo.Snippet,filterText:l}),s=!0})),!s&&"object"==typeof e.items&&!Array.isArray(e.items)&&r<5&&this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(eo(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:bo.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r0?t[0]:void 0}if(!e)return po.Value;switch(e){case"string":default:return po.Value;case"object":return po.Module;case"property":return po.Property}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i=this.getInsertTextForValue(e,"");if(!n)return i;var s,o=i+": ",a=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var l=t.defaultSnippets[0].body;eo(l)&&(s=this.getInsertTextForSnippetValue(l,""))}a+=t.defaultSnippets.length}if(t.enum&&(s||1!==t.enum.length||(s=this.getInsertTextForGuessedValue(t.enum[0],"")),a+=t.enum.length),eo(t.default)&&(s||(s=this.getInsertTextForGuessedValue(t.default,"")),a++),Array.isArray(t.examples)&&t.examples.length&&(s||(s=this.getInsertTextForGuessedValue(t.examples[0],"")),a+=t.examples.length),0===a){var u=Array.isArray(t.type)?t.type[0]:t.type;switch(u||(t.properties?u="object":t.items&&(u="array")),u){case"boolean":s="$1";break;case"string":s='"$1"';break;case"object":s="{$1}";break;case"array":s="[$1]";break;case"number":case"integer":s="${1:0}";break;case"null":s="${1:null}";break;default:return i}}}return(!s||a>1)&&(s="$1"),o+s+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=zs(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=zs(t.getText(),!0),i=e.items,s=i.length-1;s>=0;s--){var o=i[s];if(n>o.offset+o.length)return r.setPosition(o.offset+o.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength()?s+1:s;if(n>=o.offset)return s}return 0},e.prototype.isInComment=function(e,t,n){var r=zs(e.getText(),!1);r.setPosition(t);for(var i=r.scan();17!==i&&r.getTokenOffset()+r.getTokenLength()i.offset+1&&r=0;c--){var h=this.contributions[c].getInfoContribution(e.uri,u);if(h)return h.then((function(e){return l(e)}))}return this.schemaService.getSchemaForResource(e.uri,n).then((function(e){if(e&&i){var t=n.getMatchingSchemas(e.schema,i.offset),r=void 0,s=void 0,o=void 0,a=void 0;t.every((function(e){if(e.node===i&&!e.inverted&&e.schema&&(r=r||e.schema.title,s=s||e.schema.markdownDescription||Ga(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(Da(i));e.schema.markdownEnumDescriptions?o=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(o=Ga(e.schema.enumDescriptions[t])),o&&"string"!=typeof(a=e.schema.enum[t])&&(a=JSON.stringify(a))}return!0}));var u="";return r&&(u=Ga(r)),s&&(u.length>0&&(u+="\n\n"),u+=s),o&&(u.length>0&&(u+="\n\n"),u+="`".concat(function(e){if(-1!==e.indexOf("`"))return"`` "+e+" ``";return e}(a),"`: ").concat(o)),l([u])}return null}))},e}();function Ga(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var Ja=ya(),Xa=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=!1!==e.validate,this.commentSeverity=e.allowComments?void 0:ws.Error)},e.prototype.doValidation=function(e,t,n,r){var i=this;if(!this.validationEnabled)return this.promise.resolve([]);var s=[],o={},a=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;o[t]||(o[t]=!0,s.push(e))},l=function(r){var o=(null==n?void 0:n.trailingCommas)?el(n.trailingCommas):ws.Error,l=(null==n?void 0:n.comments)?el(n.comments):i.commentSeverity,u=(null==n?void 0:n.schemaValidation)?el(n.schemaValidation):ws.Warning,c=(null==n?void 0:n.schemaRequest)?el(n.schemaRequest):ws.Warning;if(r){if(r.errors.length&&t.root&&c){var h=t.root,d="object"===h.type?h.properties[0]:void 0;if(d&&"$schema"===d.keyNode.value){var f=d.valueNode||d,m=is.create(e.positionAt(f.offset),e.positionAt(f.offset+f.length));a(Ns.create(m,r.errors[0],c,ca.SchemaResolveError))}else{m=is.create(e.positionAt(h.offset),e.positionAt(h.offset+1));a(Ns.create(m,r.errors[0],c,ca.SchemaResolveError))}}else if(u){var g=t.validate(e,r.schema,u);g&&g.forEach(a)}Za(r.schema)&&(l=void 0),Ya(r.schema)&&(o=void 0)}for(var p=0,v=t.syntaxErrors;p=97&&e<=102?e-97+10:0)}function nl(e){if("#"===e[0])switch(e.length){case 4:return{red:17*tl(e.charCodeAt(1))/255,green:17*tl(e.charCodeAt(2))/255,blue:17*tl(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*tl(e.charCodeAt(1))/255,green:17*tl(e.charCodeAt(2))/255,blue:17*tl(e.charCodeAt(3))/255,alpha:17*tl(e.charCodeAt(4))/255};case 7:return{red:(16*tl(e.charCodeAt(1))+tl(e.charCodeAt(2)))/255,green:(16*tl(e.charCodeAt(3))+tl(e.charCodeAt(4)))/255,blue:(16*tl(e.charCodeAt(5))+tl(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*tl(e.charCodeAt(1))+tl(e.charCodeAt(2)))/255,green:(16*tl(e.charCodeAt(3))+tl(e.charCodeAt(4)))/255,blue:(16*tl(e.charCodeAt(5))+tl(e.charCodeAt(6)))/255,alpha:(16*tl(e.charCodeAt(7))+tl(e.charCodeAt(8)))/255}}}var rl=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var s=n.resultLimit||Number.MAX_VALUE,o=e.uri;if(("vscode://defaultsettings/keybindings.json"===o||no(o.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var a=[],l=0,u=i.items;l0){s--;var o=os.create(e.uri,il(e,t)),a=n?n+"."+t.keyNode.value:t.keyNode.value;b.push({name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),location:o,containerName:n}),g.push({node:i,containerName:a})}else v=!0}))};p0){s--;var o=il(e,t),a=o,l={name:String(i),kind:r.getSymbolKind(t.type),range:o,selectionRange:a,children:[]};n.push(l),v.push({result:l.children,node:t})}else y=!0})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(s>0){s--;var o=il(e,t),a=il(e,t.keyNode),l=[],u={name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),range:o,selectionRange:a,children:l,detail:r.getDetail(i)};n.push(u),v.push({result:l,node:i})}else y=!0}))};b{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,s=-1,o=0,a=0;a<=e.length;++a){if(a2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),s=a,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,s=a,o=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(s+1,a):r=e.slice(s+1,a),i=a-s-1;s=a,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var o;s>=0?o=arguments[s]:(void 0===e&&(e=process.cwd()),o=e),t(o),0!==o.length&&(r=o+"/"+r,i=47===o.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(a+h))return n.slice(a+h+1);if(0===h)return n.slice(a+h)}else o>u&&(47===e.charCodeAt(i+h)?c=h:0===h&&(c=0));break}var d=e.charCodeAt(i+h);if(d!==n.charCodeAt(a+h))break;47===d&&(c=h)}var f="";for(h=i+c+1;h<=s;++h)h!==s&&47!==e.charCodeAt(h)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(a+c):(a+=c,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,s=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!s){i=o;break}}else s=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,s=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else-1===l&&(o=!1,l=r+1),a>=0&&(u===n.charCodeAt(a)?-1==--a&&(s=r):(a=-1,s=l))}return i===s?s=l:-1===s&&(s=e.length),e.slice(i,s)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else-1===s&&(o=!1,s=r+1);return-1===s?"":e.slice(i,s)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,s=!0,o=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(s=!1,i=a+1),46===l?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1);else if(!s){r=a+1;break}}return-1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return n=(t=e).dir||t.root,r=t.base||(t.name||"")+(t.ext||""),n?n===t.root?n+r:n+"/"+r:r;var t,n,r},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),s=47===i;s?(n.root="/",r=1):r=0;for(var o=-1,a=0,l=-1,u=!0,c=e.length-1,h=0;c>=r;--c)if(47!==(i=e.charCodeAt(c)))-1===l&&(u=!1,l=c+1),46===i?-1===o?o=c:1!==h&&(h=1):-1!==o&&(h=-1);else if(!u){a=c+1;break}return-1===o||-1===l||0===h||1===h&&o===l-1&&o===a+1?-1!==l&&(n.base=n.name=0===a&&s?e.slice(1,l):e.slice(a,l)):(0===a&&s?(n.name=e.slice(1,o),n.base=e.slice(1,l)):(n.name=e.slice(a,o),n.base=e.slice(a,l)),n.ext=e.slice(o,l)),a>0?n.dir=e.slice(0,a-1):s&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},447:(e,t,n)=>{var r;if(n.r(t),n.d(t,{URI:()=>g,Utils:()=>x}),"object"==typeof process)r="win32"===process.platform;else if("object"==typeof navigator){var i=navigator.userAgent;r=i.indexOf("Windows")>=0}var s,o,a=(s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=/^\w[\w\d+.-]*$/,u=/^\//,c=/^\/\//;function h(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(e.authority,'", path: "').concat(e.path,'", query: "').concat(e.query,'", fragment: "').concat(e.fragment,'"}'));if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!u.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(c.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}var d="",f="/",m=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,g=function(){function e(e,t,n,r,i,s){var o,a;void 0===s&&(s=!1),"object"==typeof e?(this.scheme=e.scheme||d,this.authority=e.authority||d,this.path=e.path||d,this.query=e.query||d,this.fragment=e.fragment||d):(this.scheme=(a=s,(o=e)||a?o:"file"),this.authority=t||d,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==f&&(t=f+t):t=f}return t}(this.scheme,n||d),this.query=r||d,this.fragment=i||d,h(this,s))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"string"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return C(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,s=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=d),void 0===n?n=this.authority:null===n&&(n=d),void 0===r?r=this.path:null===r&&(r=d),void 0===i?i=this.query:null===i&&(i=d),void 0===s?s=this.fragment:null===s&&(s=d),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment?this:new v(t,n,r,i,s)},e.parse=function(e,t){void 0===t&&(t=!1);var n=m.exec(e);return n?new v(n[2]||d,E(n[4]||d),E(n[5]||d),E(n[7]||d),E(n[9]||d),t):new v(d,d,d,d,d)},e.file=function(e){var t=d;if(r&&(e=e.replace(/\\/g,f)),e[0]===f&&e[1]===f){var n=e.indexOf(f,2);-1===n?(t=e.substring(2),e=f):(t=e.substring(2,n),e=e.substring(n)||f)}return new v("file",t,e,d,d)},e.from=function(e){var t=new v(e.scheme,e.authority,e.path,e.query,e.fragment);return h(t,!0),t},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new v(t);return n._formatted=t.external,n._fsPath=t._sep===p?t.fsPath:null,n}return t},e}(),p=r?1:void 0,v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=C(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=p),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(g),b=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function y(e,t){for(var n=void 0,r=-1,i=0;i=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var o=b[s];void 0!==o?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=o):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//".concat(e.authority).concat(e.path):47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r&&(n=n.replace(/\//g,"\\")),n}function w(e,t){var n=t?_:y,r="",i=e.scheme,s=e.authority,o=e.path,a=e.query,l=e.fragment;if(i&&(r+=i,r+=":"),(s||"file"===i)&&(r+=f,r+=f),s){var u=s.indexOf("@");if(-1!==u){var c=s.substr(0,u);s=s.substr(u+1),-1===(u=c.indexOf(":"))?r+=n(c,!1):(r+=n(c.substr(0,u),!1),r+=":",r+=n(c.substr(u+1),!1)),r+="@"}-1===(u=(s=s.toLowerCase()).indexOf(":"))?r+=n(s,!1):(r+=n(s.substr(0,u),!1),r+=s.substr(u))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2))(h=o.charCodeAt(1))>=65&&h<=90&&(o="/".concat(String.fromCharCode(h+32),":").concat(o.substr(3)));else if(o.length>=2&&58===o.charCodeAt(1)){var h;(h=o.charCodeAt(0))>=65&&h<=90&&(o="".concat(String.fromCharCode(h+32),":").concat(o.substr(2)))}r+=n(o,!0)}return a&&(r+="?",r+=n(a,!1)),l&&(r+="#",r+=t?l:y(l,!1)),r}function S(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+S(e.substr(3)):e}}var L=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function E(e){return e.match(L)?e.replace(L,(function(e){return S(e)})):e}var x,N,A=n(470),k=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,s=t.length;i{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)})();var{URI:ml,Utils:gl}=cl;function pl(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");for(var n,r=String(e),i="",s=!!t&&!!t.extended,o=!!t&&!!t.globstar,a=!1,l=t&&"string"==typeof t.flags?t.flags:"",u=0,c=r.length;u1&&("/"===h||void 0===h||"{"===h||","===h)&&("/"===f||void 0===f||","===f||"}"===f)?("/"===f?u++:"/"===h&&i.endsWith("\\/")&&(i=i.substr(0,i.length-2)),i+="((?:[^/]*(?:/|$))*)"):i+="([^/]*)";else i+=".*";break;default:i+=n}return l&&~l.indexOf("g")||(i="^"+i+"$"),new RegExp(i,l)}var vl,bl=ya(),yl=function(){function e(e,t){this.globWrappers=[];try{for(var n=0,r=e;n0&&("/"===i[0]&&(i=i.substring(1)),this.globWrappers.push({regexp:pl("**/"+i,{extended:!0,globstar:!0}),include:s}))}this.uris=t}catch(Dl){this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0,r=this.globWrappers;n0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){var t=this;this.cachedSchemaForResource=void 0;for(var n=!1,r=[e=El(e)],i=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));r.length;)for(var s=r.pop(),o=0;o1&&(n=r[1]),no(n,".")&&(n=n.substr(0,n.length-1)),new Cl({},[bl("json.schema.nocontent","Unable to load schema from '{0}': {1}.",xl(e),n)])}))},e.prototype.resolveSchemaContent=function(e,t){var n=this,r=e.errors.slice(0),i=e.schema;if(i.$schema){var s=El(i.$schema);if("http://json-schema.org/draft-03/schema"===s)return this.promise.resolve(new wl({},[bl("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===s?r.push(bl("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported.")):"https://json-schema.org/draft/2020-12/schema"===s&&r.push(bl("json.schema.draft202012.notsupported","Draft 2020-12 schemas are not yet fully supported."))}var o=this.contextService,a=function(e,t,n,i){var s,o,a,l;void 0===i||0===i.length?s=t:"/"===i.charAt(0)?s=function(e,t){t=decodeURIComponent(t);var n=e;return"/"===t[0]&&(t=t.substring(1)),t.split("/").some((function(e){return e=e.replace(/~1/g,"/").replace(/~0/g,"~"),!(n=n[e])})),n}(t,i):(o=t,l=i,(a=n).anchors||(a.anchors=c(o)),s=a.anchors.get(l)),s?function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&"id"!==n&&"$id"!==n&&(e[n]=t[n])}(e,s):r.push(bl("json.schema.invalidid","$ref '{0}' in '{1}' can not be resolved.",i,n.uri))},l=function(e,t,i,s){o&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(t)&&(t=o.resolveRelativePath(t,s.uri)),t=El(t);var l=n.getOrAddSchemaHandle(t);return l.getUnresolvedSchema().then((function(n){if(s.dependencies.add(t),n.errors.length){var o=i?t+"#"+i:t;r.push(bl("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,n.errors[0]))}return a(e,n.schema,l,i),u(e,n.schema,l)}))},u=function(e,t,r){var i=[];return n.traverseNodes(e,(function(e){for(var n=new Set;e.$ref;){var s=e.$ref,o=s.split("#",2);if(delete e.$ref,o[0].length>0)return void i.push(l(e,o[0],o[1],r));if(!n.has(s)){var u=o[1];a(e,t,r,u),n.add(s)}}})),n.promise.all(i)},c=function(e){var t=new Map;return n.traverseNodes(e,(function(e){var n=e.$id||e.id;if("string"==typeof n&&"#"===n.charAt(0)){var i=n.substring(1);t.has(i)?r.push(bl("json.schema.duplicateid","Duplicate id declaration: '{0}'",n)):t.set(i,e)}})),t};return u(i,i,t).then((function(e){return new wl(i,r)}))},e.prototype.traverseNodes=function(e,t){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var n=new Set,r=function(){for(var e=[],t=0;t0?this.createCombinedSchema(e,i).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:s},s},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(n,r)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var r=n.id||"schemaservice://untitled/matchingSchemas/"+Ll++;return this.addSchemaHandle(r,n).getResolvedSchema().then((function(e){return t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted}))}))}return this.getSchemaForResource(e.uri,t).then((function(e){return e?t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted})):[]}))},e}(),Ll=0;function El(e){try{return ml.parse(e).toString(!0)}catch(Dl){return e}}function xl(e){try{var t=ml.parse(e);if("file"===t.scheme)return t.fsPath}catch(Dl){}return e}function Nl(e,t){var n=[],r=[],i=[],s=-1,o=zs(e.getText(),!1),a=o.scan();function l(e){n.push(e),r.push(i.length)}for(;17!==a;){switch(a){case 1:case 3:var u={startLine:d=e.positionAt(o.getTokenOffset()).line,endLine:d,kind:1===a?"object":"array"};i.push(u);break;case 2:case 4:var c=2===a?"object":"array";if(i.length>0&&i[i.length-1].kind===c){u=i.pop();var h=e.positionAt(o.getTokenOffset()).line;u&&h>u.startLine+1&&s!==u.startLine&&(u.endLine=h-1,l(u),s=u.startLine)}break;case 13:var d=e.positionAt(o.getTokenOffset()).line,f=e.positionAt(o.getTokenOffset()+o.getTokenLength()).line;1===o.getTokenError()&&d+1=0&&i[g].kind!==ps.Region;)g--;if(g>=0){u=i[g];i.length=g,h>u.startLine&&s!==u.startLine&&(u.endLine=h,l(u),s=u.startLine)}}}}a=o.scan()}var p=t&&t.rangeLimit;if("number"!=typeof p||n.length<=p)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var v=[],b=0,y=r;bp){C=g;break}_+=w}}var S=[];for(g=0;g=l&&i<=u&&a.push(r(l,u)),a.push(r(o.offset,o.offset+o.length));break;case"number":case"boolean":case"null":case"property":a.push(r(o.offset,o.offset+o.length))}if("property"===o.type||o.parent&&"array"===o.parent.type){var c=s(o.offset+o.length,5);-1!==c&&a.push(r(o.offset,c))}o=o.parent}for(var h=void 0,d=a.length-1;d>=0;d--)h=Yo.create(a[d],h);return h||(h=Yo.create(is.create(t,t))),h}))}function kl(e,t){var n=[];return t.visit((function(r){var i;if("property"===r.type&&"$ref"===r.keyNode.value&&"string"===(null===(i=r.valueNode)||void 0===i?void 0:i.type)){var s=r.valueNode.value,o=function(e,t){var n=function(e){if("#"===e)return[];if("#"!==e[0]||"/"!==e[1])return null;return e.substring(2).split(/\//).map(Ml)}(t);if(!n)return null;return Tl(n,e.root)}(t,s);if(o){var a=e.positionAt(o.offset);n.push({target:"".concat(e.uri,"#").concat(a.line+1,",").concat(a.character+1),range:Rl(e,r.valueNode)})}}return!0})),Promise.resolve(n)}function Rl(e,t){return is.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}function Tl(e,t){if(!t)return null;if(0===e.length)return t;var n=e.shift();if(t&&"object"===t.type){var r=t.properties.find((function(e){return e.keyNode.value===n}));return r?Tl(e,r.valueNode):null}if(t&&"array"===t.type&&n.match(/^(0|[1-9][0-9]*)$/)){var i=Number.parseInt(n),s=t.items[i];return s?Tl(e,s):null}return null}function Ml(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Ol(e){var t=e.promiseConstructor||Promise,n=new Sl(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(dl);var r=new Ha(n,e.contributions,t,e.clientCapabilities),i=new za(n,e.contributions,t),s=new rl(n),o=new Xa(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach((function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)})),o.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:o.doValidation.bind(o),getLanguageStatus:o.getLanguageStatus.bind(o),parseJSONDocument:function(e){return Ba(e,{collectComments:!0})},newJSONDocument:function(e,t){return function(e,t){return void 0===t&&(t=[]),new ja(e,t,[])}(e,t)},getMatchingSchemas:n.getMatchingSchemas.bind(n),doResolve:r.doResolve.bind(r),doComplete:r.doComplete.bind(r),findDocumentSymbols:s.findDocumentSymbols.bind(s),findDocumentSymbols2:s.findDocumentSymbols2.bind(s),findDocumentColors:s.findDocumentColors.bind(s),getColorPresentations:s.getColorPresentations.bind(s),doHover:i.doHover.bind(i),getFoldingRanges:Nl,getSelectionRanges:Al,findDefinition:function(){return Promise.resolve([])},findLinks:kl,format:function(e,t,n){var r=void 0;if(t){var i=e.offsetAt(t.start);r={offset:i,length:e.offsetAt(t.end)-i}}var s={tabSize:n?n.tabSize:4,insertSpaces:!0===(null==n?void 0:n.insertSpaces),insertFinalNewline:!0===(null==n?void 0:n.insertFinalNewline),eol:"\n"};return function(e,t,n){return Gi(e,t,n)}(e.getText(),r,s).map((function(t){return Ts.replace(is.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)}))}}}"undefined"!=typeof fetch&&(vl=function(e){return fetch(e).then((e=>e.text()))});var Il=class{_ctx;_languageService;_languageSettings;_languageId;constructor(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=Ol({workspaceContext:{resolveRelativePath:(e,t)=>function(e,t){if(function(e){return e.charCodeAt(0)===Pl}(t)){const n=ml.parse(e),r=t.split("/");return n.with({path:Vl(r)}).toString()}return function(e,...t){const n=ml.parse(e),r=n.path.split("/");for(let i of t)r.push(...i.split("/"));return n.with({path:Vl(r)}).toString()}(e,t)}(t.substr(0,t.lastIndexOf("/")+1),e)},schemaRequestService:t.enableSchemaRequest?vl:void 0}),this._languageService.configure(this._languageSettings)}async doValidation(e){let t=this._getTextDocument(e);if(t){let e=this._languageService.parseJSONDocument(t);return this._languageService.doValidation(t,e,this._languageSettings)}return Promise.resolve([])}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doComplete(n,t,r)}async doResolve(e){return this._languageService.doResolve(e)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doHover(n,t,r)}async format(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.format(r,t,n);return Promise.resolve(i)}async resetSchema(e){return Promise.resolve(this._languageService.resetSchema(e))}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentSymbols(t,n);return Promise.resolve(r)}async findDocumentColors(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentColors(t,n);return Promise.resolve(r)}async getColorPresentations(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.parseJSONDocument(r),s=this._languageService.getColorPresentations(r,i,t,n);return Promise.resolve(s)}async getFoldingRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.getFoldingRanges(n,t);return Promise.resolve(r)}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseJSONDocument(n),i=this._languageService.getSelectionRanges(n,t,r);return Promise.resolve(i)}_getTextDocument(e){let t=this._ctx.getMirrorModels();for(let n of t)if(n.uri.toString()===e)return la.create(e,this._languageId,n.version,n.getValue());return null}},Pl="/".charCodeAt(0),Fl=".".charCodeAt(0);function Vl(e){const t=[];for(const r of e)0===r.length||1===r.length&&r.charCodeAt(0)===Fl||(2===r.length&&r.charCodeAt(0)===Fl&&r.charCodeAt(1)===Fl?t.pop():t.push(r));e.length>1&&0===e[e.length-1].length&&t.push("");let n=t.join("/");return 0===e[0].length&&(n="/"+n),n}self.onmessage=()=>{Bi(((e,t)=>new Il(e,t)))}})(); \ No newline at end of file diff --git a/pr-preview/pr-4/json.worker.js.LICENSE.txt b/pr-preview/pr-4/json.worker.js.LICENSE.txt new file mode 100644 index 0000000..3577f0a --- /dev/null +++ b/pr-preview/pr-4/json.worker.js.LICENSE.txt @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ diff --git a/pr-preview/pr-4/lunr-index-1732666197698.json b/pr-preview/pr-4/lunr-index-1732666197698.json new file mode 100644 index 0000000..c82af72 --- /dev/null +++ b/pr-preview/pr-4/lunr-index-1732666197698.json @@ -0,0 +1 @@ +{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,878.632]],["content/0",[]],["keywords/0",[]],["title/1",[1,783.685,2,783.685]],["content/1",[3,7.559,4,8.337,5,9.518,6,4.118,7,7.559,8,9.518,9,7.559,10,9.518,11,6.514,12,9.518,13,7.559,14,7.559,15,9.518,16,9.518,17,9.518,18,9.518,19,6.051,20,9.518,21,8.337,22,8.337]],["keywords/1",[]],["title/2",[23,686.431,24,686.431]],["content/2",[]],["keywords/2",[]],["title/3",[25,536.321,26,477.272]],["content/3",[6,5.123,19,5.742,26,7.211,27,4.462,28,7.211,29,11.84,30,11.84,31,11.84]],["keywords/3",[]],["title/4",[32,686.431,33,536.321]],["content/4",[34,13.848,35,5.436,36,11.209,37,11.209,38,9.818,39,8.902,40,8.902,41,11.209,42,7.216,43,9.818]],["keywords/4",[]],["title/5",[6,278.207,28,391.608,44,440.058]],["content/5",[6,3.358,19,5.269,28,4.727,33,5.312,38,6.799,43,6.799,44,5.312,45,2.573,46,12.539,47,8.63,48,6.164,49,6.799,50,5.312,51,6.618,52,11.898,53,4.727,54,7.762,55,7.762,56,6.799,57,3.129,58,7.762,59,7.762,60,9.518,61,6.164,62,5.312,63,6.799,64,7.762]],["keywords/5",[]],["title/6",[6,339.065,26,477.272]],["content/6",[6,4.261,19,3.28,26,5.998,27,2.549,32,5.924,33,4.629,48,5.371,51,7.074,52,8.627,53,5.998,56,8.627,60,5.924,65,6.341,66,9.849,67,9.849,68,9.849,69,5.924,70,6.763,71,6.74,72,4.629,73,6.763,74,4.958,75,3.913,76,3.417,77,4.958,78,4.958,79,6.763,80,5.924,81,5.924,82,6.763,83,5.924,84,3.417,85,5.371,86,5.924,87,6.763,88,6.763]],["keywords/6",[]],["title/7",[27,242.345,89,563.226,90,510.664]],["content/7",[]],["keywords/7",[]],["title/8",[27,242.345,90,510.664,91,339.047]],["content/8",[0,5.456,19,4.495,27,2.348,28,3.794,85,4.947,89,5.456,90,8.793,91,3.284,92,3.147,93,9.27,94,9.27,95,9.27,96,9.27,97,5.456,98,11.072,99,7.577,100,4.263,101,6.796,102,6.229,103,6.229,104,6.229,105,6.229,106,5.456,107,7.362,108,6.229,109,9.27,110,6.229,111,6.229,112,6.229,113,4.567,114,6.229,115,6.229,116,5.456,117,5.456,118,6.229,119,4.947,120,6.229,121,6.229,122,6.229,123,3.794,124,4.01,125,6.229]],["keywords/8",[]],["title/9",[27,295.358,84,395.894]],["content/9",[]],["keywords/9",[]],["title/10",[27,205.466,84,275.404,91,287.453,126,399.67]],["content/10",[27,2.855,28,4.614,84,5.397,92,3.827,123,4.614,124,4.877,126,11.077,127,9.357,128,10.683,129,10.683,130,7.575,131,7.575,132,4.877,133,5.184,134,6.635,135,7.575,136,5.418,137,6.635,138,7.575,139,7.575,140,7.575,141,7.575,142,7.575,143,7.575,144,6.635]],["keywords/10",[]],["title/11",[27,205.466,84,275.404,91,287.453,145,300.708]],["content/11",[27,3.642,28,5.886,84,7.509,92,4.882,123,5.886,124,6.222,127,11.039,136,3.896,144,8.465,145,8.504,146,12.603]],["keywords/11",[]],["title/12",[27,295.358,147,259.835]],["content/12",[]],["keywords/12",[]],["title/13",[27,242.345,91,339.047,148,372.056]],["content/13",[19,5.075,27,3.944,28,6.374,91,5.518,92,5.287,123,6.374,124,6.738,136,4.219,145,5.773,147,4.398,149,11.62,150,9.167,151,10.466]],["keywords/13",[]],["title/14",[7,622.372,152,622.372]],["content/14",[11,4.73,13,5.489,19,4.852,23,6.054,24,6.054,27,3.771,48,5.489,57,2.787,91,3.644,132,4.45,133,4.73,136,5.93,147,3.317,148,3.999,149,6.054,150,8.764,152,9.339,153,4.45,154,4.209,155,5.489,156,7.946,157,6.912,158,6.912,159,6.912,160,6.912,161,6.912,162,5.067,163,6.054,164,10.005,165,6.912,166,6.912,167,6.912]],["keywords/14",[]],["title/15",[6,339.065,168,622.372]],["content/15",[]],["keywords/15",[]],["title/16",[6,339.065,75,453.443]],["content/16",[6,4.85,44,7.671,51,6.827,53,6.827,75,8.695,92,5.663,153,7.216,169,9.818,170,9.818]],["keywords/16",[]],["title/17",[6,339.065,168,622.372]],["content/17",[3,7.129,51,5.467,53,5.467,75,7.825,76,4.535,77,8.8,81,7.863,119,7.129,123,7.31,153,7.728,168,9.533,169,7.863,171,8.977,172,8.977,173,8.977,174,8.977,175,8.977,176,7.863,177,8.977]],["keywords/17",[]],["title/18",[35,311.811,148,372.056,178,643.023]],["content/18",[]],["keywords/18",[]],["title/19",[27,242.345,35,311.811,148,372.056]],["content/19",[19,4.118,27,3.201,35,6.376,50,5.812,51,5.172,53,5.172,123,5.172,148,7.608,153,5.468,179,8.493,180,14.767,181,8.493,182,7.439,183,7.439,184,8.493,185,7.439,186,8.493,187,8.493,188,8.493,189,8.493,190,8.493]],["keywords/19",[]],["title/20",[35,311.811,154,391.608,191,471.406]],["content/20",[9,8.938,11,5.587,35,6.246,57,3.291,74,5.985,92,4.124,132,5.256,133,5.587,136,6.509,148,4.723,154,4.972,191,8.251,192,7.151,193,6.483,194,8.938,195,7.151,196,8.164,197,7.151]],["keywords/20",[]],["title/21",[35,311.811,198,510.664,199,643.023]],["content/21",[35,5.341,85,8.747,148,6.373,153,7.09,162,8.074,183,9.647,198,10.878,200,8.747,201,11.014,202,11.014,203,11.014]],["keywords/21",[]],["title/22",[6,339.065,204,574.526]],["content/22",[]],["keywords/22",[]],["title/23",[7,622.372,205,686.431]],["content/23",[76,6.431,132,6.318,133,6.717,136,6.028,154,5.977,193,7.794,194,10.11,205,8.596,206,5.679,207,10.11,208,9.814,209,12.73]],["keywords/23",[]],["title/24",[148,453.443,204,574.526]],["content/24",[83,10.718,92,4.668,153,5.948,182,8.093,204,6.774,210,9.24,211,9.24,212,9.24,213,13.72,214,13.72,215,12.018,216,9.24,217,9.24,218,12.237,219,8.093]],["keywords/24",[]],["title/25",[6,278.207,26,391.608,76,324.836]],["content/25",[6,5.294,25,6.323,26,8.356,45,3.063,51,5.627,53,5.627,65,5.948,76,7.378,84,4.668,204,6.774,207,7.338,219,8.093,220,9.24,221,9.24,222,9.24,223,6.774,224,5.627]],["keywords/25",[]],["title/26",[76,324.836,154,391.608,191,471.406]],["content/26",[9,8.938,11,5.587,57,3.291,74,5.985,76,5.685,92,4.124,123,4.972,132,5.256,133,5.587,136,6.509,154,4.972,191,8.251,192,7.151,193,6.483,194,8.938,195,7.151,197,7.151,225,5.587,226,8.164]],["keywords/26",[]],["title/27",[6,278.207,75,372.056,76,324.836]],["content/27",[6,5.621,51,7.913,53,7.913,75,8.755,76,7.246,207,8.045,227,4.229,228,6.521,229,10.13]],["keywords/27",[]],["title/28",[145,432.268,230,686.431]],["content/28",[]],["keywords/28",[]],["title/29",[231,686.431,232,622.372]],["content/29",[13,5.807,39,5.807,65,4.707,84,3.694,97,6.405,99,8.306,107,5.807,116,9.125,136,2.948,145,7.296,147,4.024,155,5.807,231,6.405,232,5.807,233,7.312,234,6.405,235,7.312,236,5.004,237,7.312,238,7.391,239,6.405,240,6.405,241,7.312,242,5.807,243,5.361,244,4.453,245,7.312,246,4.707,247,7.312,248,7.312,249,7.312]],["keywords/29",[]],["title/30",[250,878.632]],["content/30",[27,5.171,45,3.063,84,4.668,92,4.668,107,7.338,145,5.096,206,5.346,250,8.093,251,5.948,252,9.718,253,8.093,254,13.72,255,10.896,256,9.24,257,9.24,258,9.24]],["keywords/30",[]],["title/31",[259,878.632]],["content/31",[19,5.557,45,4.329,69,7.34,92,5.789,145,6.321,170,7.34,206,4.849,251,5.395,252,6.655,253,7.34,259,12.295,260,8.38,261,4.465,262,8.38,263,8.38,264,7.34,265,6.144,266,8.38,267,8.38,268,8.38,269,8.38]],["keywords/31",[]],["title/32",[62,536.321,270,686.431]],["content/32",[62,6.232,134,10.615,136,6.096,137,10.615,145,5.023,206,5.269,270,7.976,271,6.676,272,7.976,273,9.106,274,9.106,275,12.119,276,12.119,277,12.119,278,9.106]],["keywords/32",[]],["title/33",[279,878.632]],["content/33",[19,4.232,27,3.29,45,3.906,136,4.749,230,10.318,271,6.399,279,7.645,280,8.728,281,8.728,282,8.728,283,11.78,284,11.78,285,9.355,286,8.728,287,11.78,288,10.318,289,11.78,290,7.645]],["keywords/33",[]],["title/34",[291,574.526,292,622.372]],["content/34",[19,4.175,45,2.854,78,6.311,147,2.854,152,6.837,206,6.753,271,6.311,291,8.556,293,8.609,294,9.268,295,11.671,296,5.243,297,7.541,298,5.892,299,7.541,300,5.049,301,5.896,302,7.541,303,8.609,304,8.609,305,8.609,306,4.981]],["keywords/34",[]],["title/35",[307,622.372,308,686.431]],["content/35",[136,4.601,291,8.366,292,9.063,309,11.412,310,11.412,311,11.412,312,9.996,313,14.002,314,9.996]],["keywords/35",[]],["title/36",[315,1003.116]],["content/36",[136,3.018,291,5.488,292,5.945,312,10.769,314,11.709,316,7.486,317,7.486,318,7.486,319,7.486,320,7.486,321,6.557,322,9.279,323,7.486,324,7.486,325,6.557,326,7.486,327,7.486,328,7.486,329,7.486,330,7.486,331,7.486,332,7.486,333,7.486,334,10.593,335,5.945,336,9.279,337,7.486,338,7.486,339,7.486,340,7.486,341,7.486]],["keywords/36",[]],["title/37",[126,471.406,342,563.226,343,563.226]],["content/37",[19,2.934,45,2.006,126,4.435,132,3.895,136,5.978,145,3.337,147,2.006,156,4.805,272,5.299,300,2.618,322,9.531,342,5.299,343,5.299,344,4.805,345,5.299,346,6.05,347,6.05,348,6.05,349,10.881,350,12.949,351,6.05,352,6.05,353,6.05,354,6.05,355,6.05,356,6.05,357,5.299,358,6.05,359,6.05,360,6.05,361,6.05,362,6.05,363,6.05,364,6.05,365,9.07,366,6.05,367,6.05,368,6.05,369,6.05,370,6.05,371,6.05,372,6.05]],["keywords/37",[]],["title/38",[25,536.321,26,477.272]],["content/38",[]],["keywords/38",[]],["title/39",[373,878.632]],["content/39",[57,3.138,61,3.936,100,3.392,225,3.392,228,3.191,238,3.019,244,3.019,246,3.191,265,5.706,373,4.342,374,7.869,375,4.957,376,4.342,377,4.957,378,7.783,379,5.706,380,3.936,381,4.957,382,4.957,383,3.936,384,4.957,385,6.818,386,3.191,387,6.818,388,4.74,389,3.634,390,2.868,391,4.957,392,3.936,393,4.342,394,4.342,395,4.957,396,4.957,397,4.957,398,4.104,399,4.342,400,4.957,401,3.392,402,4.957,403,4.342,404,2.614,405,2.614,406,4.957,407,3.191,408,4.342,409,3.634,410,3.191,411,7.632,412,3.936,413,3.936,414,4.957,415,4.957,416,3.936,417,3.936,418,4.957,419,4.957,420,2.614,421,4.342,422,3.936,423,7.783,424,3.936,425,4.957,426,4.957,427,4.957]],["keywords/39",[]],["title/40",[428,686.491]],["content/40",[21,4.556,22,7.08,27,1.961,61,4.131,71,3.56,176,7.08,224,3.168,227,2.172,228,3.349,344,4.131,374,4.677,380,4.131,386,3.349,388,3.168,390,3.01,398,5.226,399,4.556,401,8.768,405,2.743,410,3.349,411,4.131,413,6.419,416,4.131,420,2.743,421,4.556,422,4.131,424,4.131,428,3.56,429,4.556,430,3.168,431,4.556,432,5.202,433,3.349,434,8.083,435,5.202,436,5.202,437,5.202,438,5.202,439,5.925,440,5.202,441,5.202,442,5.202,443,6.419,444,5.202,445,5.202,446,4.131,447,5.202,448,4.131,449,4.556,450,4.556,451,5.202,452,5.202,453,3.56,454,5.202,455,5.202,456,3.814,457,5.202,458,8.083,459,4.556,460,3.814,461,5.202]],["keywords/40",[]],["title/41",[25,373.093,84,275.404,462,477.517,463,432.955]],["content/41",[71,5.892,225,5.892,255,6.837,398,6.154,404,4.539,407,5.542,430,5.243,433,5.542,462,7.541,463,6.837,464,7.541,465,5.892,466,8.609,467,6.837,468,8.609,469,7.541,470,8.609,471,8.609,472,8.609,473,8.609,474,8.609,475,8.609,476,8.609,477,7.541,478,4.175,479,8.609,480,8.609]],["keywords/41",[]],["title/42",[147,332.588]],["content/42",[45,3.063,136,3.725,147,3.063,374,5.346,398,6.452,404,4.872,430,5.627,460,6.774,481,8.093,482,9.24,483,9.24,484,6.774,485,9.24,486,8.093,487,6.323,488,9.24,489,9.24,490,6.323,491,9.24,492,9.24,493,9.24,494,9.24]],["keywords/42",[]],["title/43",[495,878.632]],["content/43",[33,3.289,65,3.094,78,3.523,80,6.653,91,2.534,113,3.523,225,3.289,299,6.653,325,4.209,374,2.781,380,6.032,388,2.927,390,4.395,393,4.209,394,6.653,398,6.534,401,6.446,404,2.534,405,4.005,409,3.523,411,3.817,413,6.032,420,2.534,424,3.817,430,2.927,433,3.094,439,3.523,446,6.032,453,3.289,456,3.523,460,3.523,481,4.209,495,4.209,496,7.596,497,4.806,498,4.806,499,3.817,500,4.209,501,3.817,502,7.596,503,3.817,504,2.651,505,4.806,506,4.806,507,4.806,508,4.806,509,4.209,510,4.806,511,4.806,512,4.806,513,3.289,514,4.806,515,3.817,516,4.806,517,4.806,518,4.806,519,4.806,520,3.817,521,4.806,522,7.596,523,4.806,524,4.806,525,4.806,526,4.806,527,4.806,528,4.806,529,4.806,530,4.209]],["keywords/43",[]],["title/44",[531,365.871]],["content/44",[532,9.329]],["keywords/44",[]],["title/45",[62,686.491]],["content/45",[]],["keywords/45",[]],["title/46",[533,610.909]],["content/46",[57,5.379,534,7.36]],["keywords/46",[]],["title/47",[227,418.768]],["content/47",[136,5.268,535,13.067,536,10.377]],["keywords/47",[]],["title/48",[490,536.321,537,453.443]],["content/48",[532,9.329]],["keywords/48",[]],["title/49",[261,390.887]],["content/49",[532,9.329]],["keywords/49",[]],["title/50",[538,878.632]],["content/50",[]],["keywords/50",[]],["title/51",[539,1003.116]],["content/51",[86,11.213,417,10.166,540,8.241,541,12.801]],["keywords/51",[]],["title/52",[487,686.491]],["content/52",[45,3.47,227,4.369,296,6.374,404,5.518,420,5.518,429,9.167,433,6.738,487,7.162,538,9.167,540,6.738,542,7.162,543,7.162,544,10.466,545,10.466,546,10.466]],["keywords/52",[]],["title/53",[547,878.632]],["content/53",[14,3.312,45,1.383,65,2.685,74,3.057,75,2.413,76,3.425,100,7.428,200,3.312,206,2.413,227,1.741,232,5.384,306,2.413,321,5.938,388,2.54,392,7.835,407,2.685,420,3.575,422,3.312,430,2.54,431,3.653,449,3.653,453,2.854,465,5.862,467,3.312,484,6.28,503,3.312,509,3.653,540,2.685,543,5.862,548,4.17,549,6.78,550,9.866,551,6.78,552,3.057,553,3.057,554,4.17,555,4.17,556,3.057,557,5.938,558,3.653,559,4.17,560,6.78,561,4.17,562,4.17,563,4.17,564,4.17,565,4.17,566,4.17,567,4.17,568,4.17,569,3.653,570,4.17,571,2.413,572,3.653,573,3.653,574,4.17,575,4.17,576,7.958,577,3.653,578,3.653,579,4.17,580,6.78,581,3.653,582,4.17,583,4.17,584,4.17,585,4.17,586,3.653,587,6.78,588,6.78,589,4.17,590,4.17,591,3.057,592,2.685,593,4.17]],["keywords/53",[]],["title/54",[594,645.781]],["content/54",[4,2.037,14,1.847,25,1.592,33,2.821,42,1.497,45,1.841,50,3.799,57,0.938,65,1.497,71,1.592,84,1.175,91,1.226,99,1.592,100,5.258,113,1.705,117,2.037,147,0.771,154,1.416,200,1.847,223,3.022,224,1.416,227,3.207,228,1.497,238,1.416,244,3.381,288,3.611,290,2.037,294,1.847,296,1.416,300,1.783,306,1.346,307,1.847,345,2.037,374,4.917,383,1.847,385,2.037,386,1.497,388,2.51,392,3.274,404,1.226,407,3.574,410,4.323,430,1.416,453,1.592,467,1.847,478,1.999,487,2.821,499,3.274,503,3.274,504,1.283,513,1.592,515,3.274,530,2.037,537,1.346,540,3.574,542,2.821,543,3.799,547,2.037,552,3.022,553,1.705,556,7.183,557,2.037,558,3.611,569,3.611,571,4.445,572,2.037,576,6.741,577,3.611,578,2.037,592,1.497,594,3.574,595,1.847,596,5.882,597,4.862,598,1.847,599,2.326,600,1.847,601,2.326,602,2.326,603,2.326,604,2.037,605,2.326,606,4.122,607,1.705,608,2.326,609,2.326,610,2.326,611,2.326,612,2.326,613,2.326,614,5.551,615,4.122,616,3.274,617,4.122,618,2.326,619,2.326,620,2.326,621,4.122,622,2.326,623,2.326,624,2.326,625,2.326,626,2.326,627,2.037,628,2.326,629,2.326,630,2.326,631,2.326,632,2.037,633,2.326,634,2.326,635,2.326,636,2.326,637,2.326,638,2.037,639,2.326,640,2.037,641,2.326,642,2.326,643,2.326,644,2.326,645,2.037,646,2.326,647,2.326,648,2.326,649,2.326,650,2.037,651,1.847,652,2.326,653,1.847,654,2.326,655,2.037,656,2.326,657,2.037,658,2.326,659,2.326,660,2.326,661,2.326,662,2.326,663,2.326,664,2.326,665,1.592,666,2.326,667,2.326,668,2.326,669,2.037,670,1.847,671,1.497,672,2.326,673,2.326,674,2.326]],["keywords/54",[]],["title/55",[388,477.272,448,622.372]],["content/55",[42,3.455,44,2.156,45,1.044,71,2.156,72,6.357,78,3.934,100,4.798,198,2.502,227,2.927,238,3.268,244,5.657,264,6.141,294,2.502,296,1.918,301,2.711,306,1.823,307,8.569,336,2.759,387,2.759,388,5.657,404,1.661,407,3.455,420,1.661,428,2.156,456,2.309,478,3.4,487,5.667,513,4.798,540,3.455,542,3.673,543,5.667,576,5.14,594,5.331,595,2.502,598,4.262,627,2.759,632,2.759,645,2.759,655,2.759,657,2.759,669,2.759,670,5.568,671,2.028,675,8.28,676,3.15,677,10.109,678,3.15,679,2.028,680,3.15,681,2.502,682,3.15,683,3.15,684,3.15,685,3.15,686,3.15,687,3.15,688,3.15,689,7.011,690,10.109,691,3.15,692,4.567,693,5.367,694,3.15,695,3.15,696,2.759,697,3.15,698,5.367,699,5.367,700,3.15,701,3.15,702,3.15,703,3.15,704,3.15,705,3.15,706,2.759,707,2.502,708,2.309,709,3.15,710,3.15,711,3.15,712,3.15,713,3.15,714,3.15,715,3.15,716,3.15]],["keywords/55",[]],["title/56",[533,610.909]],["content/56",[3,1.978,44,1.705,45,2.339,57,3.852,62,4.011,72,1.705,76,1.258,77,1.826,92,1.258,106,2.182,155,3.478,156,1.978,185,2.182,223,1.826,227,2.447,228,3.773,239,2.182,244,2.667,261,0.971,265,1.826,271,1.826,296,1.517,298,2.997,302,2.182,308,2.182,386,1.604,389,1.826,390,2.534,398,6.442,401,1.705,404,3.719,405,3.09,408,2.182,409,4.297,420,1.313,439,1.826,443,1.978,465,1.705,486,2.182,504,3.891,531,2.931,533,1.517,534,1.374,540,5.173,543,1.705,553,1.826,573,3.836,576,1.826,591,1.826,594,4.541,595,3.478,607,1.826,671,1.604,679,2.819,707,3.478,717,2.491,718,1.826,719,2.491,720,2.491,721,4.38,722,1.978,723,1.826,724,1.705,725,2.491,726,2.491,727,2.491,728,2.491,729,5.861,730,4.38,731,3.836,732,1.517,733,2.491,734,2.491,735,3.211,736,2.491,737,1.826,738,2.491,739,2.182,740,2.491,741,2.491,742,2.491,743,2.491,744,2.491,745,2.491,746,2.491,747,2.491,748,2.491,749,2.491,750,2.491,751,2.491,752,1.604,753,2.491,754,2.491,755,2.491,756,2.491,757,2.491,758,2.491,759,2.491,760,2.491,761,2.491,762,2.491,763,2.491,764,2.491,765,2.491,766,2.491,767,2.491,768,5.861,769,4.38,770,2.491,771,2.491,772,2.124,773,4.059,774,2.491,775,2.491,776,1.978,777,4.38,778,2.491,779,4.38,780,2.491,781,2.491,782,2.491,783,2.491,784,7.054,785,2.491,786,2.491,787,2.491,788,2.491,789,1.705,790,2.491,791,2.491,792,2.491,793,2.491,794,2.491]],["keywords/56",[]],["title/57",[773,506.744]],["content/57",[]],["keywords/57",[]],["title/58",[531,234.533,772,311.811,795,643.023]],["content/58",[35,1.807,42,2.399,45,2.05,57,2.492,63,3.264,77,2.732,119,2.96,147,3.056,163,3.264,215,3.264,227,2.581,238,2.27,240,3.264,243,4.532,244,5.614,252,2.96,296,2.27,297,3.264,383,2.96,386,2.399,390,2.156,407,3.98,420,1.965,430,2.27,433,2.399,464,3.264,490,2.551,501,2.96,513,2.551,531,4.623,533,5.614,553,2.732,586,3.264,591,2.732,596,3.264,600,2.96,607,2.732,650,3.264,671,2.399,679,5.099,707,2.96,708,2.732,718,2.732,732,2.27,737,2.732,772,4.957,796,3.727,797,3.727,798,6.291,799,3.727,800,3.727,801,3.727,802,4.231,803,5.415,804,2.732,805,2.551,806,6.758,807,3.727,808,3.727,809,3.727,810,3.727,811,2.551,812,3.727,813,3.727,814,3.727,815,3.727,816,3.727,817,3.727,818,3.264,819,3.727,820,3.727,821,3.727,822,3.727,823,3.727,824,3.727,825,3.727,826,6.182,827,3.727,828,3.727,829,3.727,830,3.727,831,3.727,832,3.264,833,3.727,834,3.727,835,3.727,836,3.727,837,3.264]],["keywords/58",[]],["title/59",[261,390.887]],["content/59",[35,5.851,531,4.401,804,8.846,838,12.067,839,10.569,840,12.067,841,10.569]],["keywords/59",[]],["title/60",[57,315.96,718,574.526]],["content/60",[]],["keywords/60",[]],["title/61",[534,553.303]],["content/61",[45,2.219,57,3.94,124,4.308,147,2.219,246,4.308,251,4.308,261,2.608,285,5.314,300,2.895,301,3.38,390,3.872,404,3.528,478,5.598,531,2.441,534,7.003,542,4.579,592,4.308,604,5.861,692,3.691,706,5.861,739,5.861,752,4.308,772,3.245,773,6.413,806,4.906,842,6.692,843,5.861,844,5.861,845,5.314,846,5.314,847,5.861,848,5.861,849,6.692,850,6.692,851,6.692,852,6.692,853,6.692,854,6.692,855,6.692,856,6.692]],["keywords/61",[]],["title/62",[224,477.272,724,536.321]],["content/62",[45,1.987,147,1.987,206,3.467,224,8.805,227,2.502,246,5.798,261,2.335,298,4.101,300,2.593,306,3.467,389,4.393,405,3.16,412,4.759,478,4.367,531,3.285,537,3.467,592,3.858,640,5.249,692,5.967,724,7.404,737,4.393,772,2.906,773,6.515,776,4.759,789,4.101,804,4.393,857,4.759,858,5.249,859,5.993,860,5.993,861,5.993,862,5.993,863,5.993,864,5.993,865,5.993,866,5.993,867,5.993,868,2.906,869,5.249,870,5.993,871,4.393,872,5.249]],["keywords/62",[]],["title/63",[873,878.632]],["content/63",[147,2.934,261,3.449,300,3.829,301,4.471,306,5.121,478,4.292,531,3.228,692,4.882,708,6.489,773,6.784,857,7.029,868,4.292,871,6.489,873,12.575,874,6.489,875,7.752,876,8.851,877,7.029,878,7.752,879,7.752,880,7.752]],["keywords/63",[]],["title/64",[881,878.632]],["content/64",[147,2.894,261,3.401,300,3.776,301,4.409,306,6.816,478,4.232,531,3.183,692,4.814,708,6.399,773,6.736,857,6.932,868,4.232,871,6.399,877,6.932,878,7.645,879,7.645,881,12.504,882,7.645,883,8.728,884,7.645,885,8.728]],["keywords/64",[]],["title/65",[874,574.526,886,686.431]],["content/65",[45,3.87,147,2.854,261,3.355,300,3.725,301,4.349,306,6.753,531,3.14,692,6.437,773,5.896,805,7.987,846,6.837,868,4.175,874,6.311,886,7.541,887,11.671,888,11.671,889,6.837,890,7.541,891,8.609,892,7.541,893,8.609]],["keywords/65",[]],["title/66",[379,574.526,504,432.268]],["content/66",[35,4.959,45,3.966,49,3.884,72,3.035,147,1.47,206,4.122,224,2.7,246,2.855,251,4.586,379,3.251,405,2.338,410,2.855,412,3.521,504,2.446,531,2.598,534,2.446,537,2.566,638,3.884,679,2.855,692,3.93,735,9.889,737,3.251,752,2.855,772,2.15,773,5.166,804,3.251,805,4.876,811,3.035,818,3.884,845,3.521,846,5.658,868,2.15,869,3.884,871,3.251,872,3.884,889,5.658,894,4.434,895,3.884,896,4.434,897,4.434,898,4.434,899,5.658,900,4.434,901,4.434,902,4.434,903,6.24,904,9.811,905,11.202,906,4.434,907,8.93,908,4.434,909,4.434,910,4.434,911,4.434,912,4.434,913,3.884,914,4.434,915,4.434,916,4.434]],["keywords/66",[]],["title/67",[47,622.372,811,536.321]],["content/67",[40,7.029,47,9.443,147,2.934,246,5.698,300,3.829,301,4.471,379,6.489,386,5.698,420,4.667,504,4.882,531,3.228,732,5.39,773,4.471,802,6.057,805,6.057,811,9.19,868,4.292,889,7.029,917,8.851,918,8.851,919,8.851,920,8.851,921,7.752]],["keywords/67",[]],["title/68",[251,504.517,899,622.372]],["content/68",[40,8.452,147,3.528,251,6.851,300,4.604,301,5.376,531,3.882,773,5.376,805,7.283,868,5.161,899,8.452,922,10.642,923,10.642,924,10.642,925,10.642]],["keywords/68",[]],["title/69",[926,796.636]],["content/69",[39,4.759,45,1.987,57,3.631,147,1.987,162,4.393,227,2.502,242,4.759,261,2.335,285,4.759,298,4.101,300,2.593,410,3.858,446,4.759,459,5.249,478,2.906,500,10.537,513,4.101,531,2.186,537,3.467,592,5.798,665,6.163,671,3.858,723,9.454,752,3.858,772,2.906,806,4.393,843,5.249,868,2.906,926,4.759,927,9.005,928,10.819,929,7.744,930,5.993,931,5.993,932,5.993,933,5.993,934,5.993,935,5.993,936,5.993,937,5.993,938,5.993,939,5.993,940,5.993,941,5.993]],["keywords/69",[]],["title/70",[428,686.491]],["content/70",[45,2.242,101,4.958,147,3.265,227,2.823,234,5.924,244,5.998,265,4.958,300,2.926,301,3.417,410,6.341,428,7.949,453,4.629,520,10.133,531,3.592,533,4.119,534,3.731,542,4.629,594,4.354,607,4.958,670,5.371,692,3.731,752,4.354,772,3.28,789,4.629,798,5.371,806,4.958,848,5.924,868,3.28,929,6.341,942,6.763,943,6.763,944,6.763,945,6.763,946,6.763,947,6.763,948,6.763,949,6.763,950,6.763]],["keywords/70",[]],["title/71",[243,735.393]],["content/71",[11,4.629,45,3.851,57,3.971,72,4.629,147,2.242,227,2.823,243,9.942,261,2.636,298,4.629,300,2.926,374,3.913,409,9.354,420,3.566,439,4.958,443,5.371,478,3.28,531,2.467,592,6.341,594,4.354,679,4.354,732,4.119,752,4.354,772,3.28,798,7.822,802,4.629,837,5.924,868,3.28,951,9.849,952,6.763,953,6.763,954,6.763,955,6.763,956,6.763,957,6.763,958,6.763]],["keywords/71",[]],["title/72",[722,796.636]],["content/72",[45,2.779,91,4.419,147,2.779,162,6.144,225,5.735,261,3.266,300,3.626,301,4.234,477,7.34,478,4.064,531,4.179,600,6.655,722,9.1,772,4.064,776,6.655,868,4.064,929,7.377,959,8.38,960,11.459,961,11.459,962,11.459,963,7.34,964,8.38,965,8.38]],["keywords/72",[]],["title/73",[966,878.632]],["content/73",[45,3.204,147,3.204,261,3.766,300,4.181,301,4.882,478,4.686,499,7.675,531,3.525,537,5.592,868,4.686,929,9.029,963,8.465,966,12.285,967,9.664,968,9.664,969,9.664]],["keywords/73",[]],["title/74",[261,390.887]],["content/74",[]],["keywords/74",[]],["title/75",[405,413.213,484,574.526]],["content/75",[224,6.481,390,6.158,398,5.611,405,7.069,679,6.851,724,7.283,874,7.802,970,10.642,971,10.642,972,10.642,973,10.642,974,10.642,975,10.642]],["keywords/75",[]],["title/76",[405,413.213,450,686.431]],["content/76",[531,2.667,591,5.361,724,5.004,735,7.638,811,5.004,839,6.405,844,6.405,845,5.807,847,6.405,858,6.405,875,6.405,877,8.274,880,6.405,882,6.405,884,6.405,890,6.405,892,6.405,895,6.405,903,6.405,913,6.405,921,6.405,976,7.312,977,7.312,978,7.312,979,7.312,980,7.312,981,7.312,982,7.312,983,7.312,984,7.312,985,7.312,986,7.312,987,7.312,988,7.312,989,7.312,990,7.312,991,7.312,992,7.312,993,7.312]],["keywords/76",[]],["title/77",[994,1003.116]],["content/77",[35,6.208,531,4.669,772,6.208,841,11.213]],["keywords/77",[]],["title/78",[504,432.268,571,453.443]],["content/78",[]],["keywords/78",[]],["title/79",[681,796.636]],["content/79",[99,9.361,236,4.73,261,2.693,335,5.489,504,7.11,552,5.067,571,8.51,651,10.237,653,5.489,665,8.048,732,4.209,995,10.3,996,5.489,997,5.489,998,6.912,999,6.054,1000,6.054,1001,6.054,1002,6.054,1003,7.335,1004,6.054,1005,6.054,1006,6.054,1007,6.054,1008,6.054]],["keywords/79",[]],["title/80",[533,610.909]],["content/80",[57,1.521,75,2.182,99,7.587,101,4.577,113,2.765,223,4.577,236,2.581,238,3.802,242,2.995,261,1.47,335,2.995,376,3.304,404,1.989,463,2.995,501,2.995,504,6.115,534,3.444,552,2.765,571,7.958,598,2.995,651,8.804,653,2.995,665,5.467,692,2.08,696,3.304,723,4.577,732,2.297,789,2.581,802,4.273,803,3.304,904,3.304,929,2.428,995,8.133,996,2.995,997,2.995,999,3.304,1000,3.304,1001,3.304,1002,3.304,1003,8.128,1004,3.304,1005,3.304,1006,9.711,1007,5.468,1008,5.468,1009,3.772,1010,3.772,1011,6.243,1012,3.304,1013,3.304,1014,3.772,1015,6.997,1016,3.304,1017,3.772,1018,3.772,1019,6.243,1020,3.772,1021,3.772,1022,3.772,1023,3.772,1024,3.304,1025,3.304,1026,3.772,1027,3.772,1028,3.772,1029,3.772,1030,3.772,1031,3.772,1032,3.772]],["keywords/80",[]],["title/81",[227,418.768]],["content/81",[136,5.268,536,10.377,1033,11.445]],["keywords/81",[]],["title/82",[490,536.321,537,453.443]],["content/82",[]],["keywords/82",[]],["title/83",[236,440.058,571,372.056,1003,471.406]],["content/83",[57,1.952,124,3.118,228,4.92,236,7.356,255,3.846,296,2.949,344,3.846,357,8.291,389,5.602,398,4.991,403,4.242,405,2.553,417,3.846,456,3.55,460,3.55,465,3.314,469,4.242,484,5.602,534,2.671,571,6.219,581,4.242,597,4.242,616,7.518,665,5.23,671,3.118,718,3.55,723,3.55,772,2.348,773,5.43,789,5.23,832,4.242,926,6.069,929,3.118,996,3.846,997,3.846,1003,3.55,1024,8.291,1025,4.242,1034,4.843,1035,4.843,1036,10.749,1037,9.466,1038,4.843,1039,4.843,1040,4.843,1041,4.843,1042,4.843,1043,7.642,1044,4.843,1045,4.843,1046,4.843,1047,4.843,1048,4.843,1049,4.843,1050,4.843,1051,4.843]],["keywords/83",[]],["title/84",[261,390.887]],["content/84",[398,6.616,571,7.26,616,11.773,1052,12.547]],["keywords/84",[]],["title/85",[50,536.321,515,622.372]],["content/85",[]],["keywords/85",[]],["title/86",[681,796.636]],["content/86",[42,9.014,57,4.601,227,4.764,374,6.603,398,6.017,465,7.81,478,5.534,556,8.366,731,9.996]],["keywords/86",[]],["title/87",[533,610.909]],["content/87",[42,5.123,50,9.397,57,3.208,101,8.106,238,6.734,374,6.398,390,4.604,401,5.446,416,6.32,433,5.123,448,6.32,520,6.32,534,6.099,556,5.834,732,4.846,735,5.834,802,5.446,1012,6.97,1013,6.97,1015,6.97,1016,6.97,1053,7.958,1054,11.057,1055,7.958,1056,7.958,1057,7.958]],["keywords/87",[]],["title/88",[227,418.768]],["content/88",[136,5.268,536,10.377,1033,11.445]],["keywords/88",[]],["title/89",[490,536.321,537,453.443]],["content/89",[532,9.329]],["keywords/89",[]],["title/90",[261,390.887]],["content/90",[532,9.329]],["keywords/90",[]]],"invertedIndex":[["",{"_index":136,"title":{},"content":{"10":{"position":[[175,1],[184,1],[292,2],[295,1]]},"11":{"position":[[80,1]]},"13":{"position":[[57,1]]},"14":{"position":[[189,1],[339,1],[358,1],[378,1],[462,1],[464,1],[466,2]]},"20":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[218,2],[221,2],[224,2],[227,2],[230,2]]},"23":{"position":[[100,1],[108,1],[154,2],[157,2]]},"26":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[203,2],[206,2],[209,2],[212,2],[215,2]]},"29":{"position":[[200,2]]},"32":{"position":[[149,1],[199,1],[201,3],[268,1],[318,1]]},"33":{"position":[[117,3],[167,3]]},"35":{"position":[[57,3]]},"36":{"position":[[282,3]]},"37":{"position":[[129,1],[157,1],[274,2],[295,1],[392,2],[481,1],[566,1],[597,1],[622,1]]},"42":{"position":[[242,2]]},"47":{"position":[[22,4]]},"81":{"position":[[29,4]]},"88":{"position":[[29,4]]}},"keywords":{}}],["0",{"_index":904,"title":{},"content":{"66":{"position":[[550,4],[564,2],[576,2],[588,2],[600,2]]},"80":{"position":[[765,4]]}},"keywords":{}}],["0..1",{"_index":1015,"title":{},"content":{"80":{"position":[[229,4],[525,4],[1119,4]]},"87":{"position":[[243,4]]}},"keywords":{}}],["02",{"_index":94,"title":{},"content":{"8":{"position":[[28,2],[59,2]]}},"keywords":{}}],["07",{"_index":872,"title":{},"content":{"62":{"position":[[545,2]]},"66":{"position":[[259,2]]}},"keywords":{}}],["07/schema.$id",{"_index":810,"title":{},"content":{"58":{"position":[[543,13]]}},"keywords":{}}],["07rfc",{"_index":838,"title":{},"content":{"59":{"position":[[7,5]]}},"keywords":{}}],["1",{"_index":106,"title":{},"content":{"8":{"position":[[177,1]]},"56":{"position":[[744,1]]}},"keywords":{}}],["1..1",{"_index":1054,"title":{},"content":{"87":{"position":[[63,4],[184,4]]}},"keywords":{}}],["1.0",{"_index":180,"title":{},"content":{"19":{"position":[[19,3],[73,3],[133,3],[200,3],[251,3]]}},"keywords":{}}],["1.0/hello.md",{"_index":201,"title":{},"content":{"21":{"position":[[91,12]]}},"keywords":{}}],["10",{"_index":1049,"title":{},"content":{"83":{"position":[[646,4]]}},"keywords":{}}],["10646",{"_index":849,"title":{},"content":{"61":{"position":[[177,5]]}},"keywords":{}}],["10px",{"_index":358,"title":{},"content":{"37":{"position":[[247,7]]}},"keywords":{}}],["1123",{"_index":882,"title":{},"content":{"64":{"position":[[59,5]]},"76":{"position":[[30,4]]}},"keywords":{}}],["12",{"_index":1045,"title":{},"content":{"83":{"position":[[502,4]]}},"keywords":{}}],["18.0",{"_index":36,"title":{},"content":{"4":{"position":[[17,4]]}},"keywords":{}}],["1standard",{"_index":850,"title":{},"content":{"61":{"position":[[183,10]]}},"keywords":{}}],["2",{"_index":185,"title":{},"content":{"19":{"position":[[187,1]]},"56":{"position":[[752,1]]}},"keywords":{}}],["2.1",{"_index":883,"title":{},"content":{"64":{"position":[[73,3]]}},"keywords":{}}],["2.2",{"_index":893,"title":{},"content":{"65":{"position":[[179,4]]}},"keywords":{}}],["2.3.2.3",{"_index":885,"title":{},"content":{"64":{"position":[[201,8]]}},"keywords":{}}],["20px",{"_index":355,"title":{},"content":{"37":{"position":[[215,7]]}},"keywords":{}}],["2373",{"_index":892,"title":{},"content":{"65":{"position":[[165,5]]},"76":{"position":[[55,4]]}},"keywords":{}}],["262",{"_index":924,"title":{},"content":{"68":{"position":[[66,3]]}},"keywords":{}}],["262json",{"_index":977,"title":{},"content":{"76":{"position":[[6,7]]}},"keywords":{}}],["2673",{"_index":890,"title":{},"content":{"65":{"position":[[104,5]]},"76":{"position":[[70,4]]}},"keywords":{}}],["28",{"_index":95,"title":{},"content":{"8":{"position":[[31,2],[62,2]]}},"keywords":{}}],["3",{"_index":161,"title":{},"content":{"14":{"position":[[183,1]]}},"keywords":{}}],["3.2",{"_index":891,"title":{},"content":{"65":{"position":[[118,4]]}},"keywords":{}}],["3166",{"_index":740,"title":{},"content":{"56":{"position":[[739,4]]}},"keywords":{}}],["3339",{"_index":858,"title":{},"content":{"62":{"position":[[53,5]]},"76":{"position":[[85,4]]}},"keywords":{}}],["3629",{"_index":847,"title":{},"content":{"61":{"position":[[138,5]]},"76":{"position":[[109,4]]}},"keywords":{}}],["3986",{"_index":895,"title":{},"content":{"66":{"position":[[71,5]]},"76":{"position":[[125,4]]}},"keywords":{}}],["4.1.2",{"_index":876,"title":{},"content":{"63":{"position":[[76,5]]}},"keywords":{}}],["4122",{"_index":903,"title":{},"content":{"66":{"position":[[480,5],[727,4]]},"76":{"position":[[139,4]]}},"keywords":{}}],["5)rfc",{"_index":987,"title":{},"content":{"76":{"position":[[153,5]]}},"keywords":{}}],["5.6",{"_index":859,"title":{},"content":{"62":{"position":[[67,3]]}},"keywords":{}}],["515112",{"_index":743,"title":{},"content":{"56":{"position":[[776,6]]}},"keywords":{}}],["5321",{"_index":875,"title":{},"content":{"63":{"position":[[62,5]]},"76":{"position":[[159,4]]}},"keywords":{}}],["5890",{"_index":884,"title":{},"content":{"64":{"position":[[187,5]]},"76":{"position":[[180,4]]}},"keywords":{}}],["6",{"_index":915,"title":{},"content":{"66":{"position":[[759,1]]}},"keywords":{}}],["600",{"_index":384,"title":{},"content":{"39":{"position":[[89,3]]}},"keywords":{}}],["6531",{"_index":880,"title":{},"content":{"63":{"position":[[186,5]]},"76":{"position":[[221,4]]}},"keywords":{}}],["6570",{"_index":921,"title":{},"content":{"67":{"position":[[206,5]]},"76":{"position":[[255,4]]}},"keywords":{}}],["8",{"_index":845,"title":{},"content":{"61":{"position":[[108,1]]},"66":{"position":[[761,2]]},"76":{"position":[[307,2]]}},"keywords":{}}],["8)rfc",{"_index":984,"title":{},"content":{"76":{"position":[[119,5]]}},"keywords":{}}],["8259",{"_index":839,"title":{},"content":{"59":{"position":[[13,4]]},"76":{"position":[[278,4]]}},"keywords":{}}],["8601",{"_index":862,"title":{},"content":{"62":{"position":[[105,5]]}},"keywords":{}}],["9562",{"_index":913,"title":{},"content":{"66":{"position":[[704,4]]},"76":{"position":[[293,4]]}},"keywords":{}}],["9a",{"_index":905,"title":{},"content":{"66":{"position":[[555,2],[567,2],[579,2],[591,2],[603,2]]}},"keywords":{}}],["a[pi",{"_index":317,"title":{},"content":{"36":{"position":[[21,7]]}},"keywords":{}}],["abil",{"_index":446,"title":{},"content":{"40":{"position":[[529,7]]},"43":{"position":[[555,7],[884,7]]},"69":{"position":[[108,7]]}},"keywords":{}}],["abov",{"_index":37,"title":{},"content":{"4":{"position":[[25,6]]}},"keywords":{}}],["absenc",{"_index":968,"title":{},"content":{"73":{"position":[[125,7]]}},"keywords":{}}],["absolut",{"_index":260,"title":{},"content":{"31":{"position":[[53,8]]}},"keywords":{}}],["accept",{"_index":963,"title":{},"content":{"72":{"position":[[154,8]]},"73":{"position":[[64,10]]}},"keywords":{}}],["access",{"_index":220,"title":{},"content":{"25":{"position":[[94,10]]}},"keywords":{}}],["accesscr",{"_index":498,"title":{},"content":{"43":{"position":[[53,13]]}},"keywords":{}}],["accommod",{"_index":1042,"title":{},"content":{"83":{"position":[[370,11]]}},"keywords":{}}],["accur",{"_index":479,"title":{},"content":{"41":{"position":[[239,10]]}},"keywords":{}}],["accuraci",{"_index":644,"title":{},"content":{"54":{"position":[[1596,8]]}},"keywords":{}}],["achiev",{"_index":299,"title":{},"content":{"34":{"position":[[126,8]]},"43":{"position":[[437,7],[525,7]]}},"keywords":{}}],["acronym",{"_index":539,"title":{"51":{"position":[[0,9]]}},"content":{},"keywords":{}}],["act",{"_index":552,"title":{},"content":{"53":{"position":[[86,3]]},"54":{"position":[[317,3],[782,3]]},"79":{"position":[[284,3]]},"80":{"position":[[1057,3]]}},"keywords":{}}],["action",{"_index":288,"title":{},"content":{"33":{"position":[[147,6],[228,6]]},"54":{"position":[[180,6],[1349,6]]}},"keywords":{}}],["activ",{"_index":556,"title":{},"content":{"53":{"position":[[224,11]]},"54":{"position":[[131,11],[209,8],[295,8],[378,9],[735,8],[831,8],[1759,9],[2011,8]]},"86":{"position":[[102,9]]},"87":{"position":[[131,8]]}},"keywords":{}}],["actor",{"_index":547,"title":{"53":{"position":[[0,7]]}},"content":{"54":{"position":[[2375,6]]}},"keywords":{}}],["ad",{"_index":49,"title":{},"content":{"5":{"position":[[104,5]]},"66":{"position":[[735,6]]}},"keywords":{}}],["adapt",{"_index":426,"title":{},"content":{"39":{"position":[[821,5]]}},"keywords":{}}],["add",{"_index":154,"title":{"20":{"position":[[0,3]]},"26":{"position":[[0,3]]}},"content":{"14":{"position":[[67,3]]},"20":{"position":[[41,3]]},"23":{"position":[[32,3]]},"26":{"position":[[42,3]]},"54":{"position":[[2106,3]]}},"keywords":{}}],["addit",{"_index":706,"title":{},"content":{"55":{"position":[[1277,10]]},"61":{"position":[[313,9]]}},"keywords":{}}],["address",{"_index":874,"title":{"65":{"position":[[3,8]]}},"content":{"63":{"position":[[7,9]]},"65":{"position":[[4,9]]},"75":{"position":[[1,7]]}},"keywords":{}}],["adject",{"_index":659,"title":{},"content":{"54":{"position":[[2151,9]]}},"keywords":{}}],["admonit",{"_index":279,"title":{"33":{"position":[[0,12]]}},"content":{"33":{"position":[[43,11]]}},"keywords":{}}],["adopt",{"_index":469,"title":{},"content":{"41":{"position":[[64,5]]},"83":{"position":[[83,8]]}},"keywords":{}}],["agenc",{"_index":580,"title":{},"content":{"53":{"position":[[861,6],[923,6]]}},"keywords":{}}],["agnost",{"_index":910,"title":{},"content":{"66":{"position":[[643,8]]}},"keywords":{}}],["agreement",{"_index":622,"title":{},"content":{"54":{"position":[[976,10]]}},"keywords":{}}],["ai",{"_index":461,"title":{},"content":{"40":{"position":[[825,3]]}},"keywords":{}}],["aim",{"_index":544,"title":{},"content":{"52":{"position":[[82,3]]}},"keywords":{}}],["air",{"_index":1030,"title":{},"content":{"80":{"position":[[738,3]]}},"keywords":{}}],["alert",{"_index":331,"title":{},"content":{"36":{"position":[[178,7]]}},"keywords":{}}],["alert(`y",{"_index":362,"title":{},"content":{"37":{"position":[[297,10]]}},"keywords":{}}],["allow",{"_index":346,"title":{},"content":{"37":{"position":[[54,6]]}},"keywords":{}}],["alon",{"_index":382,"title":{},"content":{"39":{"position":[[69,5]]}},"keywords":{}}],["along",{"_index":761,"title":{},"content":{"56":{"position":[[1213,5]]}},"keywords":{}}],["alpha",{"_index":741,"title":{},"content":{"56":{"position":[[746,5]]}},"keywords":{}}],["altern",{"_index":1051,"title":{},"content":{"83":{"position":[[716,12]]}},"keywords":{}}],["alway",{"_index":943,"title":{},"content":{"70":{"position":[[75,6]]}},"keywords":{}}],["amend",{"_index":611,"title":{},"content":{"54":{"position":[[574,5]]}},"keywords":{}}],["american",{"_index":745,"title":{},"content":{"56":{"position":[[796,8]]}},"keywords":{}}],["amp",{"_index":1013,"title":{},"content":{"80":{"position":[[194,5]]},"87":{"position":[[35,5]]}},"keywords":{}}],["analysi",{"_index":325,"title":{},"content":{"36":{"position":[[110,10]]},"43":{"position":[[142,8]]}},"keywords":{}}],["analyt",{"_index":393,"title":{},"content":{"39":{"position":[[196,9]]},"43":{"position":[[474,9]]}},"keywords":{}}],["and/or",{"_index":789,"title":{},"content":{"56":{"position":[[1978,6]]},"62":{"position":[[6,6]]},"70":{"position":[[340,6]]},"80":{"position":[[137,6]]},"83":{"position":[[204,6],[457,6]]}},"keywords":{}}],["annot",{"_index":796,"title":{},"content":{"58":{"position":[[43,8]]}},"keywords":{}}],["answer",{"_index":657,"title":{},"content":{"54":{"position":[[2080,8]]},"55":{"position":[[381,7]]}},"keywords":{}}],["anyth",{"_index":834,"title":{},"content":{"58":{"position":[[1361,8]]}},"keywords":{}}],["anywher",{"_index":172,"title":{},"content":{"17":{"position":[[156,8]]}},"keywords":{}}],["api",{"_index":784,"title":{},"content":{"56":{"position":[[1894,3],[1935,5],[2072,4],[2121,4]]}},"keywords":{}}],["appear",{"_index":197,"title":{},"content":{"20":{"position":[[261,7]]},"26":{"position":[[244,7]]}},"keywords":{}}],["applic",{"_index":576,"title":{},"content":{"53":{"position":[[775,10],[789,11],[841,10],[959,12],[1042,12]]},"54":{"position":[[513,11],[1306,12],[1391,12],[1945,12],[2095,10],[2177,11],[2271,12]]},"55":{"position":[[210,11],[964,11],[1247,11]]},"56":{"position":[[1901,11]]}},"keywords":{}}],["application/json",{"_index":781,"title":{},"content":{"56":{"position":[[1828,17]]}},"keywords":{}}],["appropri",{"_index":497,"title":{},"content":{"43":{"position":[[36,11]]}},"keywords":{}}],["approv",{"_index":321,"title":{},"content":{"36":{"position":[[60,9]]},"53":{"position":[[392,10],[648,8]]}},"keywords":{}}],["area",{"_index":597,"title":{},"content":{"54":{"position":[[190,4],[659,4],[1528,5]]},"83":{"position":[[116,5]]}},"keywords":{}}],["around",{"_index":121,"title":{},"content":{"8":{"position":[[476,6]]}},"keywords":{}}],["array",{"_index":243,"title":{"71":{"position":[[0,6]]}},"content":{"29":{"position":[[351,5]]},"58":{"position":[[1262,5],[1398,5]]},"71":{"position":[[1,6],[61,5],[116,5],[307,5],[444,6]]}},"keywords":{}}],["asiso",{"_index":861,"title":{},"content":{"62":{"position":[[99,5]]}},"keywords":{}}],["assign",{"_index":1002,"title":{},"content":{"79":{"position":[[180,7]]},"80":{"position":[[953,7]]}},"keywords":{}}],["associ",{"_index":780,"title":{},"content":{"56":{"position":[[1770,10]]}},"keywords":{}}],["at"",{"_index":704,"title":{},"content":{"55":{"position":[[1168,8]]}},"keywords":{}}],["attempt",{"_index":637,"title":{},"content":{"54":{"position":[[1445,7]]}},"keywords":{}}],["attribut",{"_index":803,"title":{},"content":{"58":{"position":[[388,11],[1186,10]]},"80":{"position":[[391,9]]}},"keywords":{}}],["author",{"_index":100,"title":{},"content":{"8":{"position":[[116,8]]},"39":{"position":[[577,13]]},"53":{"position":[[190,13],[316,9],[376,15],[490,13],[1153,13]]},"54":{"position":[[242,15],[583,14],[764,13],[879,14],[1913,14]]},"55":{"position":[[229,13],[979,13],[1262,14]]}},"keywords":{}}],["autom",{"_index":440,"title":{},"content":{"40":{"position":[[324,8]]}},"keywords":{}}],["automat",{"_index":48,"title":{},"content":{"5":{"position":[[87,13]]},"6":{"position":[[438,13]]},"14":{"position":[[12,13]]}},"keywords":{}}],["automation.unlock",{"_index":445,"title":{},"content":{"40":{"position":[[507,17]]}},"keywords":{}}],["avail",{"_index":124,"title":{},"content":{"8":{"position":[[548,9]]},"10":{"position":[[317,9]]},"11":{"position":[[143,9]]},"13":{"position":[[131,9]]},"61":{"position":[[509,9]]},"83":{"position":[[357,9]]}},"keywords":{}}],["awesom",{"_index":284,"title":{},"content":{"33":{"position":[[94,7],[189,7]]}},"keywords":{}}],["b",{"_index":312,"title":{},"content":{"35":{"position":[[39,1]]},"36":{"position":[[70,1],[90,1],[243,1]]}},"keywords":{}}],["b(stakehold",{"_index":320,"title":{},"content":{"36":{"position":[[46,13]]}},"keywords":{}}],["b.c.'",{"_index":377,"title":{},"content":{"39":{"position":[[32,6]]}},"keywords":{}}],["backgroundcolor",{"_index":353,"title":{},"content":{"37":{"position":[[177,16]]}},"keywords":{}}],["band",{"_index":816,"title":{},"content":{"58":{"position":[[708,4]]}},"keywords":{}}],["barfind",{"_index":17,"title":{},"content":{"1":{"position":[[175,7]]}},"keywords":{}}],["base",{"_index":459,"title":{},"content":{"40":{"position":[[780,5]]},"69":{"position":[[272,5]]}},"keywords":{}}],["bc",{"_index":616,"title":{},"content":{"54":{"position":[[875,3],[1822,3]]},"83":{"position":[[56,2],[223,2],[305,2]]},"84":{"position":[[1,2],[28,2]]}},"keywords":{}}],["be",{"_index":653,"title":{},"content":{"54":{"position":[[1876,5]]},"79":{"position":[[232,5]]},"80":{"position":[[1005,5]]}},"keywords":{}}],["befor",{"_index":919,"title":{},"content":{"67":{"position":[[147,6]]}},"keywords":{}}],["begin",{"_index":683,"title":{},"content":{"55":{"position":[[340,9]]}},"keywords":{}}],["behalf",{"_index":1040,"title":{},"content":{"83":{"position":[[264,6]]}},"keywords":{}}],["belong",{"_index":603,"title":{},"content":{"54":{"position":[[436,6]]}},"keywords":{}}],["best",{"_index":482,"title":{},"content":{"42":{"position":[[7,4]]}},"keywords":{}}],["better",{"_index":416,"title":{},"content":{"39":{"position":[[683,6]]},"40":{"position":[[78,6]]},"87":{"position":[[320,6]]}},"keywords":{}}],["between",{"_index":671,"title":{},"content":{"54":{"position":[[2359,7]]},"55":{"position":[[1597,7]]},"56":{"position":[[1495,7]]},"58":{"position":[[301,7]]},"69":{"position":[[133,7]]},"83":{"position":[[584,7]]}},"keywords":{}}],["block",{"_index":270,"title":{"32":{"position":[[5,7]]}},"content":{"32":{"position":[[15,6]]}},"keywords":{}}],["blog",{"_index":89,"title":{"7":{"position":[[9,4]]}},"content":{"8":{"position":[[531,4]]}},"keywords":{}}],["blog/2021",{"_index":93,"title":{},"content":{"8":{"position":[[18,9],[49,9]]}},"keywords":{}}],["blue",{"_index":372,"title":{},"content":{"37":{"position":[[617,4]]}},"keywords":{}}],["blue</highlight>",{"_index":369,"title":{},"content":{"37":{"position":[[543,22]]}},"keywords":{}}],["boolean",{"_index":722,"title":{"72":{"position":[[0,8]]}},"content":{"56":{"position":[[283,8]]},"72":{"position":[[1,8],[191,8]]}},"keywords":{}}],["border",{"_index":673,"title":{},"content":{"54":{"position":[[2396,8]]}},"keywords":{}}],["borderradiu",{"_index":354,"title":{},"content":{"37":{"position":[[201,13]]}},"keywords":{}}],["both",{"_index":736,"title":{},"content":{"56":{"position":[[572,4]]}},"keywords":{}}],["boundari",{"_index":958,"title":{},"content":{"71":{"position":[[426,10]]}},"keywords":{}}],["brief",{"_index":826,"title":{},"content":{"58":{"position":[[1032,5],[1066,5]]}},"keywords":{}}],["british",{"_index":999,"title":{},"content":{"79":{"position":[[148,7]]},"80":{"position":[[921,7]]}},"keywords":{}}],["broader",{"_index":689,"title":{},"content":{"55":{"position":[[490,7],[1107,7],[1456,7]]}},"keywords":{}}],["build",{"_index":75,"title":{"16":{"position":[[0,5]]},"27":{"position":[[0,5]]}},"content":{"6":{"position":[[247,6]]},"16":{"position":[[1,5],[42,5],[88,5]]},"17":{"position":[[22,5],[58,5],[136,5]]},"27":{"position":[[1,5],[49,5],[75,5],[136,5]]},"53":{"position":[[639,8]]},"80":{"position":[[721,8]]}},"keywords":{}}],["built",{"_index":856,"title":{},"content":{"61":{"position":[[519,5]]}},"keywords":{}}],["bundl",{"_index":515,"title":{"85":{"position":[[8,6]]}},"content":{"43":{"position":[[350,8]]},"54":{"position":[[304,8],[2020,7]]}},"keywords":{}}],["busi",{"_index":417,"title":{},"content":{"39":{"position":[[690,8]]},"51":{"position":[[28,8]]},"83":{"position":[[107,8]]}},"keywords":{}}],["c",{"_index":314,"title":{},"content":{"35":{"position":[[48,1]]},"36":{"position":[[121,1],[156,1],[186,1],[268,1]]}},"keywords":{}}],["call",{"_index":234,"title":{},"content":{"29":{"position":[[45,6]]},"70":{"position":[[134,6]]}},"keywords":{}}],["callout",{"_index":281,"title":{},"content":{"33":{"position":[[59,9]]}},"keywords":{}}],["can't",{"_index":402,"title":{},"content":{"39":{"position":[[351,5]]}},"keywords":{}}],["canada",{"_index":742,"title":{},"content":{"56":{"position":[[763,6]]}},"keywords":{}}],["captur",{"_index":629,"title":{},"content":{"54":{"position":[[1185,7]]}},"keywords":{}}],["cardin",{"_index":1012,"title":{},"content":{"80":{"position":[[165,11]]},"87":{"position":[[6,11]]}},"keywords":{}}],["care",{"_index":287,"title":{},"content":{"33":{"position":[[136,5],[218,4]]}},"keywords":{}}],["carri",{"_index":649,"title":{},"content":{"54":{"position":[[1738,5]]}},"keywords":{}}],["case",{"_index":901,"title":{},"content":{"66":{"position":[[406,6]]}},"keywords":{}}],["caseload",{"_index":626,"title":{},"content":{"54":{"position":[[1133,8]]}},"keywords":{}}],["cast",{"_index":964,"title":{},"content":{"72":{"position":[[218,6]]}},"keywords":{}}],["catalogu",{"_index":1041,"title":{},"content":{"83":{"position":[[313,10]]}},"keywords":{}}],["catalogueparcelmap",{"_index":1052,"title":{},"content":{"84":{"position":[[9,18]]}},"keywords":{}}],["categor",{"_index":716,"title":{},"content":{"55":{"position":[[1578,14]]}},"keywords":{}}],["categori",{"_index":166,"title":{},"content":{"14":{"position":[[386,11]]}},"keywords":{}}],["caution",{"_index":222,"title":{},"content":{"25":{"position":[[179,7]]}},"keywords":{}}],["cd",{"_index":67,"title":{},"content":{"6":{"position":[[30,2],[64,2]]}},"keywords":{}}],["certain",{"_index":600,"title":{},"content":{"54":{"position":[[370,7]]},"58":{"position":[[835,7]]},"72":{"position":[[79,7]]}},"keywords":{}}],["chang",{"_index":68,"title":{},"content":{"6":{"position":[[75,7],[470,8]]}},"keywords":{}}],["characterist",{"_index":415,"title":{},"content":{"39":{"position":[[637,15]]}},"keywords":{}}],["chart",{"_index":295,"title":{},"content":{"34":{"position":[[50,8],[188,6]]}},"keywords":{}}],["check",{"_index":40,"title":{},"content":{"4":{"position":[[80,5]]},"67":{"position":[[212,5]]},"68":{"position":[[79,5]]}},"keywords":{}}],["checkbox",{"_index":41,"title":{},"content":{"4":{"position":[[90,10]]}},"keywords":{}}],["children",{"_index":349,"title":{},"content":{"37":{"position":[[131,11],[346,13],[367,10]]}},"keywords":{}}],["class",{"_index":1027,"title":{},"content":{"80":{"position":[[684,5]]}},"keywords":{}}],["classic",{"_index":46,"title":{},"content":{"5":{"position":[[42,7],[65,7],[192,7]]}},"keywords":{}}],["classif",{"_index":729,"title":{},"content":{"56":{"position":[[432,14],[676,14],[814,14]]}},"keywords":{}}],["clear",{"_index":472,"title":{},"content":{"41":{"position":[[96,5]]}},"keywords":{}}],["clearli",{"_index":480,"title":{},"content":{"41":{"position":[[254,8]]}},"keywords":{}}],["click",{"_index":363,"title":{},"content":{"37":{"position":[[308,7]]}},"keywords":{}}],["client",{"_index":666,"title":{},"content":{"54":{"position":[[2257,6]]}},"keywords":{}}],["close",{"_index":268,"title":{},"content":{"31":{"position":[[296,5]]}},"keywords":{}}],["co",{"_index":104,"title":{},"content":{"8":{"position":[[152,2]]}},"keywords":{}}],["code",{"_index":62,"title":{"32":{"position":[[0,4]]},"45":{"position":[[0,4]]}},"content":{"5":{"position":[[312,4]]},"32":{"position":[[10,4]]},"56":{"position":[[661,4],[754,4],[844,4]]}},"keywords":{}}],["codelist",{"_index":728,"title":{},"content":{"56":{"position":[[420,8]]}},"keywords":{}}],["collect",{"_index":387,"title":{},"content":{"39":{"position":[[132,8],[320,11]]},"55":{"position":[[699,10]]}},"keywords":{}}],["coloc",{"_index":267,"title":{},"content":{"31":{"position":[[280,8]]}},"keywords":{}}],["color",{"_index":350,"title":{},"content":{"37":{"position":[[143,7],[194,6],[223,6],[320,5],[326,8]]}},"keywords":{}}],["color="#1877f2">facebook",{"_index":368,"title":{},"content":{"37":{"position":[[505,37]]}},"keywords":{}}],["color="#25c2a0">docusauru",{"_index":366,"title":{},"content":{"37":{"position":[[417,39]]}},"keywords":{}}],["columbia",{"_index":1000,"title":{},"content":{"79":{"position":[[156,9]]},"80":{"position":[[929,9]]}},"keywords":{}}],["column",{"_index":758,"title":{},"content":{"56":{"position":[[1164,6]]}},"keywords":{}}],["come",{"_index":645,"title":{},"content":{"54":{"position":[[1626,4]]},"55":{"position":[[524,5]]}},"keywords":{}}],["command",{"_index":52,"title":{},"content":{"5":{"position":[[144,8],[220,7],[233,7],[330,7]]},"6":{"position":[[67,7],[239,7]]}},"keywords":{}}],["comment",{"_index":586,"title":{},"content":{"53":{"position":[[1027,8]]},"58":{"position":[[743,8]]}},"keywords":{}}],["common",{"_index":404,"title":{},"content":{"39":{"position":[[377,6]]},"41":{"position":[[138,6]]},"42":{"position":[[82,6]]},"43":{"position":[[672,6]]},"52":{"position":[[99,6]]},"54":{"position":[[43,6]]},"55":{"position":[[43,6]]},"56":{"position":[[260,6],[1364,6],[1846,6],[2051,6]]},"61":{"position":[[419,6]]},"80":{"position":[[703,6]]}},"keywords":{}}],["commonbuilt",{"_index":854,"title":{},"content":{"61":{"position":[[333,11]]}},"keywords":{}}],["commonli",{"_index":737,"title":{},"content":{"56":{"position":[[647,8]]},"58":{"position":[[18,8]]},"62":{"position":[[84,8]]},"66":{"position":[[98,8]]}},"keywords":{}}],["commun",{"_index":22,"title":{},"content":{"1":{"position":[[253,9]]},"40":{"position":[[646,11],[722,11]]}},"keywords":{}}],["comparison",{"_index":841,"title":{},"content":{"59":{"position":[[44,10]]},"77":{"position":[[21,10]]}},"keywords":{}}],["compat",{"_index":412,"title":{},"content":{"39":{"position":[[507,13]]},"62":{"position":[[204,10]]},"66":{"position":[[665,14]]}},"keywords":{}}],["compil",{"_index":1023,"title":{},"content":{"80":{"position":[[449,12]]}},"keywords":{}}],["complet",{"_index":655,"title":{},"content":{"54":{"position":[[2043,9]]},"55":{"position":[[164,8]]}},"keywords":{}}],["complex",{"_index":375,"title":{},"content":{"39":{"position":[[17,7]]}},"keywords":{}}],["compli",{"_index":805,"title":{},"content":{"58":{"position":[[459,8]]},"65":{"position":[[89,6],[149,6]]},"66":{"position":[[56,6],[465,6]]},"67":{"position":[[191,6]]},"68":{"position":[[46,6]]}},"keywords":{}}],["compliant",{"_index":871,"title":{},"content":{"62":{"position":[[524,9]]},"63":{"position":[[170,9]]},"64":{"position":[[171,9]]},"66":{"position":[[238,9]]}},"keywords":{}}],["compon",{"_index":343,"title":{"37":{"position":[[14,11]]}},"content":{"37":{"position":[[77,10]]}},"keywords":{}}],["concept",{"_index":487,"title":{"52":{"position":[[0,9]]}},"content":{"42":{"position":[[100,8]]},"52":{"position":[[38,8]]},"54":{"position":[[92,8],[637,7]]},"55":{"position":[[92,8],[372,8],[1177,7],[1525,7]]}},"keywords":{}}],["conceptu",{"_index":800,"title":{},"content":{"58":{"position":[[276,10]]}},"keywords":{}}],["concise.descript",{"_index":827,"title":{},"content":{"58":{"position":[[1042,19]]}},"keywords":{}}],["condit",{"_index":698,"title":{},"content":{"55":{"position":[[948,9],[1221,9]]}},"keywords":{}}],["configur",{"_index":7,"title":{"14":{"position":[[0,9]]},"23":{"position":[[0,9]]}},"content":{"1":{"position":[[49,13]]}},"keywords":{}}],["congratul",{"_index":0,"title":{"0":{"position":[[0,16]]}},"content":{"8":{"position":[[410,16]]}},"keywords":{}}],["connect",{"_index":442,"title":{},"content":{"40":{"position":[[381,7]]}},"keywords":{}}],["consid",{"_index":833,"title":{},"content":{"58":{"position":[[1343,10]]}},"keywords":{}}],["consist",{"_index":439,"title":{},"content":{"40":{"position":[[281,12],[548,10]]},"43":{"position":[[445,11]]},"56":{"position":[[932,10]]},"71":{"position":[[79,7]]}},"keywords":{}}],["consistencyidentifi",{"_index":511,"title":{},"content":{"43":{"position":[[258,19]]}},"keywords":{}}],["consistently.support",{"_index":455,"title":{},"content":{"40":{"position":[[671,20]]}},"keywords":{}}],["const",{"_index":348,"title":{},"content":{"37":{"position":[[113,5]]}},"keywords":{}}],["constrain",{"_index":752,"title":{},"content":{"56":{"position":[[985,11]]},"61":{"position":[[221,11]]},"66":{"position":[[322,11]]},"69":{"position":[[487,11]]},"70":{"position":[[293,9]]},"71":{"position":[[145,9]]}},"keywords":{}}],["constraint",{"_index":837,"title":{},"content":{"58":{"position":[[1456,10]]},"71":{"position":[[313,11]]}},"keywords":{}}],["constraintslegal_descript",{"_index":1014,"title":{},"content":{"80":{"position":[[200,28]]}},"keywords":{}}],["constraintsproject_id",{"_index":1053,"title":{},"content":{"87":{"position":[[41,21]]}},"keywords":{}}],["consult",{"_index":518,"title":{},"content":{"43":{"position":[[396,12]]}},"keywords":{}}],["contain",{"_index":802,"title":{},"content":{"58":{"position":[[366,7],[615,7]]},"67":{"position":[[99,8]]},"71":{"position":[[211,8]]},"80":{"position":[[44,7],[109,7]]},"87":{"position":[[297,7]]}},"keywords":{}}],["content",{"_index":215,"title":{},"content":{"24":{"position":[[88,7],[153,7],[221,7]]},"58":{"position":[[93,8]]}},"keywords":{}}],["context",{"_index":553,"title":{},"content":{"53":{"position":[[104,7]]},"54":{"position":[[1833,7]]},"56":{"position":[[528,7]]},"58":{"position":[[1147,7]]}},"keywords":{}}],["context"",{"_index":661,"title":{},"content":{"54":{"position":[[2189,14]]}},"keywords":{}}],["contribut",{"_index":468,"title":{},"content":{"41":{"position":[[49,10]]}},"keywords":{}}],["convention",{"_index":945,"title":{},"content":{"70":{"position":[[119,14]]}},"keywords":{}}],["convey",{"_index":708,"title":{},"content":{"55":{"position":[[1334,8]]},"58":{"position":[[691,9]]},"63":{"position":[[109,8]]},"64":{"position":[[107,8]]}},"keywords":{}}],["copi",{"_index":182,"title":{},"content":{"19":{"position":[[98,6]]},"24":{"position":[[1,4]]}},"keywords":{}}],["core",{"_index":408,"title":{},"content":{"39":{"position":[[443,4]]},"56":{"position":[[1288,4]]}},"keywords":{}}],["cost",{"_index":176,"title":{},"content":{"17":{"position":[[196,4]]},"40":{"position":[[148,5],[474,4]]}},"keywords":{}}],["cours",{"_index":493,"title":{},"content":{"42":{"position":[[214,7]]}},"keywords":{}}],["cp",{"_index":217,"title":{},"content":{"24":{"position":[[110,2]]}},"keywords":{}}],["creat",{"_index":27,"title":{"7":{"position":[[0,6]]},"8":{"position":[[0,6]]},"9":{"position":[[0,6]]},"10":{"position":[[0,6]]},"11":{"position":[[0,6]]},"12":{"position":[[0,6]]},"13":{"position":[[0,6]]},"19":{"position":[[0,6]]}},"content":{"3":{"position":[[16,8]]},"6":{"position":[[151,7]]},"8":{"position":[[1,6]]},"10":{"position":[[1,6]]},"11":{"position":[[1,6]]},"13":{"position":[[1,6]]},"14":{"position":[[26,7],[264,6]]},"19":{"position":[[158,8]]},"30":{"position":[[97,7],[149,7],[213,6]]},"33":{"position":[[36,6]]},"40":{"position":[[592,6]]}},"keywords":{}}],["creator",{"_index":105,"title":{},"content":{"8":{"position":[[155,7]]}},"keywords":{}}],["cross",{"_index":496,"title":{},"content":{"43":{"position":[[10,5],[313,5]]}},"keywords":{}}],["crown",{"_index":1007,"title":{},"content":{"79":{"position":[[389,5]]},"80":{"position":[[365,5],[1178,5]]}},"keywords":{}}],["csv",{"_index":782,"title":{},"content":{"56":{"position":[[1880,4]]}},"keywords":{}}],["current",{"_index":264,"title":{},"content":{"31":{"position":[[227,7]]},"55":{"position":[[940,7],[1213,7],[1306,7]]}},"keywords":{}}],["cursor",{"_index":359,"title":{},"content":{"37":{"position":[[255,7]]}},"keywords":{}}],["custom",{"_index":13,"title":{},"content":{"1":{"position":[[138,6]]},"14":{"position":[[83,9]]},"29":{"position":[[167,6]]}},"keywords":{}}],["c{purpos",{"_index":323,"title":{},"content":{"36":{"position":[[79,10]]}},"keywords":{}}],["d",{"_index":338,"title":{},"content":{"36":{"position":[[270,1]]}},"keywords":{}}],["d[document",{"_index":327,"title":{},"content":{"36":{"position":[[135,10]]}},"keywords":{}}],["danger",{"_index":289,"title":{},"content":{"33":{"position":[[157,9],[238,9]]}},"keywords":{}}],["danger[tak",{"_index":286,"title":{},"content":{"33":{"position":[[121,14]]}},"keywords":{}}],["dash",{"_index":1037,"title":{},"content":{"83":{"position":[[211,7],[464,7],[577,6]]}},"keywords":{}}],["data",{"_index":398,"title":{},"content":{"39":{"position":[[282,4],[460,4]]},"40":{"position":[[85,4],[199,4],[276,4]]},"41":{"position":[[112,4],[219,4]]},"42":{"position":[[49,4],[113,4]]},"43":{"position":[[48,4],[225,4],[773,4],[862,4],[905,4],[936,4]]},"56":{"position":[[150,4],[251,4],[267,4],[390,4],[1091,4],[1119,4],[1208,4],[1247,4],[1442,4],[1740,5],[1853,4],[1993,4],[2067,4]]},"75":{"position":[[9,4]]},"83":{"position":[[226,4],[256,4],[308,4]]},"84":{"position":[[4,4]]},"86":{"position":[[6,4]]}},"keywords":{}}],["databas",{"_index":768,"title":{},"content":{"56":{"position":[[1456,8],[2020,9],[2102,9]]}},"keywords":{}}],["date",{"_index":724,"title":{"62":{"position":[[0,4]]}},"content":{"56":{"position":[[313,5]]},"62":{"position":[[1,4],[139,4],[295,4]]},"75":{"position":[[118,4]]},"76":{"position":[[90,5]]}},"keywords":{}}],["decim",{"_index":927,"title":{},"content":{"69":{"position":[[1,8],[299,7]]}},"keywords":{}}],["decis",{"_index":392,"title":{},"content":{"39":{"position":[[186,9]]},"53":{"position":[[236,8],[263,8],[415,10],[504,9]]},"54":{"position":[[1238,8],[1278,8]]}},"keywords":{}}],["declar",{"_index":660,"title":{},"content":{"54":{"position":[[2161,9]]}},"keywords":{}}],["dedic",{"_index":575,"title":{},"content":{"53":{"position":[[754,9]]}},"keywords":{}}],["default",{"_index":133,"title":{},"content":{"10":{"position":[[144,7]]},"14":{"position":[[331,7]]},"20":{"position":[[133,7]]},"23":{"position":[[92,7]]},"26":{"position":[[133,7]]}},"keywords":{}}],["defaultlocal",{"_index":208,"title":{},"content":{"23":{"position":[[110,14]]}},"keywords":{}}],["defin",{"_index":244,"title":{},"content":{"29":{"position":[[357,8]]},"39":{"position":[[614,6]]},"54":{"position":[[162,7],[709,6],[1456,8]]},"55":{"position":[[587,7],[627,7],[729,7],[819,7],[1413,7]]},"56":{"position":[[206,8],[1472,8]]},"58":{"position":[[35,7],[135,6],[1268,8],[1370,7]]},"70":{"position":[[320,6],[379,6]]}},"keywords":{}}],["definit",{"_index":594,"title":{"54":{"position":[[0,12]]}},"content":{"54":{"position":[[27,11],[120,10],[1059,10]]},"55":{"position":[[27,11],[125,10],[1121,11],[1470,11]]},"56":{"position":[[45,11],[952,12],[1230,11],[1336,10]]},"70":{"position":[[444,11]]},"71":{"position":[[122,11]]}},"keywords":{}}],["definitionapplic",{"_index":554,"title":{},"content":{"53":{"position":[[127,19]]}},"keywords":{}}],["definitiondata",{"_index":717,"title":{},"content":{"56":{"position":[[118,14]]}},"keywords":{}}],["definitionlob",{"_index":541,"title":{},"content":{"51":{"position":[[6,13]]}},"keywords":{}}],["degre",{"_index":643,"title":{},"content":{"54":{"position":[[1585,7]]}},"keywords":{}}],["delici",{"_index":494,"title":{},"content":{"42":{"position":[[231,10]]}},"keywords":{}}],["deliv",{"_index":431,"title":{},"content":{"40":{"position":[[34,7]]},"53":{"position":[[743,10]]}},"keywords":{}}],["deliveri",{"_index":971,"title":{},"content":{"75":{"position":[[34,8]]}},"keywords":{}}],["depend",{"_index":43,"title":{},"content":{"4":{"position":[[112,13]]},"5":{"position":[[366,12]]}},"keywords":{}}],["deploy",{"_index":168,"title":{"15":{"position":[[0,6]]},"17":{"position":[[0,6]]}},"content":{"17":{"position":[[125,6],[211,10]]}},"keywords":{}}],["deriv",{"_index":247,"title":{},"content":{"29":{"position":[[400,7]]}},"keywords":{}}],["describ",{"_index":679,"title":{},"content":{"55":{"position":[[280,8]]},"56":{"position":[[21,8],[1551,9]]},"58":{"position":[[233,10],[265,10],[416,9]]},"66":{"position":[[120,9]]},"71":{"position":[[413,8]]},"75":{"position":[[142,10]]}},"keywords":{}}],["descript",{"_index":238,"title":{},"content":{"29":{"position":[[120,12],[145,11],[330,11]]},"39":{"position":[[448,11]]},"54":{"position":[[483,11]]},"55":{"position":[[921,11],[1194,11]]},"58":{"position":[[1072,11]]},"80":{"position":[[182,11],[256,11]]},"87":{"position":[[23,11],[260,11]]}},"keywords":{}}],["design",{"_index":14,"title":{},"content":{"1":{"position":[[145,6]]},"53":{"position":[[305,10]]},"54":{"position":[[1517,10]]}},"keywords":{}}],["detail",{"_index":301,"title":{},"content":{"34":{"position":[[159,7],[241,7]]},"55":{"position":[[1288,7],[1482,8]]},"61":{"position":[[495,6]]},"63":{"position":[[240,8]]},"64":{"position":[[258,8]]},"65":{"position":[[232,8]]},"67":{"position":[[256,8]]},"68":{"position":[[123,8]]},"70":{"position":[[471,7]]},"72":{"position":[[298,8]]},"73":{"position":[[207,8]]}},"keywords":{}}],["develop",{"_index":65,"title":{},"content":{"6":{"position":[[9,11],[299,11]]},"25":{"position":[[190,12]]},"29":{"position":[[186,9]]},"43":{"position":[[743,9]]},"53":{"position":[[618,12]]},"54":{"position":[[274,11]]}},"keywords":{}}],["diagram",{"_index":294,"title":{},"content":{"34":{"position":[[34,11],[259,7]]},"54":{"position":[[2314,7]]},"55":{"position":[[1548,7]]}},"keywords":{}}],["dialect",{"_index":925,"title":{},"content":{"68":{"position":[[70,8]]}},"keywords":{}}],["dictionari",{"_index":762,"title":{},"content":{"56":{"position":[[1252,11]]}},"keywords":{}}],["differ",{"_index":443,"title":{},"content":{"40":{"position":[[422,9],[692,9]]},"56":{"position":[[1503,9]]},"71":{"position":[[90,9]]}},"keywords":{}}],["differenti",{"_index":931,"title":{},"content":{"69":{"position":[[119,13]]}},"keywords":{}}],["difficult",{"_index":396,"title":{},"content":{"39":{"position":[[245,9]]}},"keywords":{}}],["digit",{"_index":997,"title":{},"content":{"79":{"position":[[64,5]]},"80":{"position":[[841,5]]},"83":{"position":[[558,5]]}},"keywords":{}}],["digits.parcel_id_numb",{"_index":1048,"title":{},"content":{"83":{"position":[[612,23]]}},"keywords":{}}],["direct",{"_index":427,"title":{},"content":{"39":{"position":[[840,9]]}},"keywords":{}}],["directori",{"_index":69,"title":{},"content":{"6":{"position":[[87,9]]},"31":{"position":[[102,9]]}},"keywords":{}}],["discret",{"_index":694,"title":{},"content":{"55":{"position":[[674,9]]}},"keywords":{}}],["discuss",{"_index":548,"title":{},"content":{"53":{"position":[[14,9]]}},"keywords":{}}],["display",{"_index":88,"title":{},"content":{"6":{"position":[[456,8]]}},"keywords":{}}],["disposit",{"_index":630,"title":{},"content":{"54":{"position":[[1216,11]]}},"keywords":{}}],["distinct",{"_index":686,"title":{},"content":{"55":{"position":[[417,8]]}},"keywords":{}}],["distribut",{"_index":1039,"title":{},"content":{"83":{"position":[[239,11]]}},"keywords":{}}],["district",{"_index":568,"title":{},"content":{"53":{"position":[[558,8]]}},"keywords":{}}],["divis",{"_index":688,"title":{},"content":{"55":{"position":[[436,8]]}},"keywords":{}}],["doc",{"_index":148,"title":{"13":{"position":[[18,4]]},"18":{"position":[[7,4]]},"19":{"position":[[9,4]]},"24":{"position":[[12,4]]}},"content":{"14":{"position":[[53,4]]},"19":{"position":[[83,4],[173,4],[332,4]]},"20":{"position":[[239,4]]},"21":{"position":[[34,4]]}},"keywords":{}}],["doc.md",{"_index":235,"title":{},"content":{"29":{"position":[[70,6]]}},"keywords":{}}],["docs/curr",{"_index":216,"title":{},"content":{"24":{"position":[[96,13]]}},"keywords":{}}],["docs/current/intro.md",{"_index":218,"title":{},"content":{"24":{"position":[[161,21],[229,21]]}},"keywords":{}}],["docs/hello.md",{"_index":149,"title":{},"content":{"13":{"position":[[27,14],[43,13]]},"14":{"position":[[126,13]]}},"keywords":{}}],["docs/intro.md",{"_index":83,"title":{},"content":{"6":{"position":[[374,13]]},"24":{"position":[[10,13],[113,13]]}},"keywords":{}}],["docs:vers",{"_index":181,"title":{},"content":{"19":{"position":[[60,12]]}},"keywords":{}}],["docscurr",{"_index":187,"title":{},"content":{"19":{"position":[[255,11]]}},"keywords":{}}],["document",{"_index":147,"title":{"12":{"position":[[9,8]]},"42":{"position":[[0,14]]}},"content":{"13":{"position":[[95,11],[115,8]]},"14":{"position":[[227,11],[451,10]]},"29":{"position":[[10,9],[105,8],[136,8]]},"34":{"position":[[218,13]]},"37":{"position":[[19,13]]},"42":{"position":[[26,11]]},"54":{"position":[[1702,8]]},"58":{"position":[[79,9],[193,9],[1234,8],[1328,8]]},"61":{"position":[[472,13]]},"62":{"position":[[403,13]]},"63":{"position":[[217,13]]},"64":{"position":[[235,13]]},"65":{"position":[[209,13]]},"66":{"position":[[148,14]]},"67":{"position":[[233,13]]},"68":{"position":[[100,13]]},"69":{"position":[[614,13]]},"70":{"position":[[253,13],[530,14]]},"71":{"position":[[476,13]]},"72":{"position":[[275,13]]},"73":{"position":[[184,13]]}},"keywords":{}}],["documentationmodifi",{"_index":5,"title":{},"content":{"1":{"position":[[19,19]]}},"keywords":{}}],["docusauru",{"_index":19,"title":{},"content":{"1":{"position":[[203,10],[242,10]]},"3":{"position":[[45,10]]},"5":{"position":[[16,10],[395,11]]},"6":{"position":[[159,10]]},"8":{"position":[[166,10],[291,10]]},"13":{"position":[[84,10]]},"14":{"position":[[1,10],[216,10]]},"19":{"position":[[49,10]]},"31":{"position":[[142,12],[337,12]]},"33":{"position":[[1,10]]},"34":{"position":[[5,10]]},"37":{"position":[[580,10]]}},"keywords":{}}],["docusaurus!</h1>",{"_index":277,"title":{},"content":{"32":{"position":[[175,23],[294,23]]}},"keywords":{}}],["docusaurus.config.j",{"_index":194,"title":{},"content":{"20":{"position":[[77,20],[105,20]]},"23":{"position":[[8,20],[64,20]]},"26":{"position":[[77,20],[105,20]]}},"keywords":{}}],["docusaurus.config.jsadd",{"_index":8,"title":{},"content":{"1":{"position":[[68,23]]}},"keywords":{}}],["docusaurus.new",{"_index":31,"title":{},"content":{"3":{"position":[[73,15]]}},"keywords":{}}],["docusaurus@latest",{"_index":55,"title":{},"content":{"5":{"position":[[163,17]]}},"keywords":{}}],["domain",{"_index":591,"title":{},"content":{"53":{"position":[[1137,7]]},"56":{"position":[[1026,7]]},"58":{"position":[[328,7]]},"76":{"position":[[204,6]]}},"keywords":{}}],["done",{"_index":949,"title":{},"content":{"70":{"position":[[494,4]]}},"keywords":{}}],["draft",{"_index":804,"title":{},"content":{"58":{"position":[[430,5]]},"59":{"position":[[1,5]]},"62":{"position":[[539,5]]},"66":{"position":[[253,5]]}},"keywords":{}}],["driven",{"_index":667,"title":{},"content":{"54":{"position":[[2264,6]]}},"keywords":{}}],["dropdown",{"_index":191,"title":{"20":{"position":[[14,9]]},"26":{"position":[[13,9]]}},"content":{"20":{"position":[[55,9],[252,8]]},"26":{"position":[[55,9],[231,8]]}},"keywords":{}}],["dublin",{"_index":763,"title":{},"content":{"56":{"position":[[1281,6]]}},"keywords":{}}],["durat",{"_index":870,"title":{},"content":{"62":{"position":[[468,8]]}},"keywords":{}}],["dure",{"_index":1025,"title":{},"content":{"80":{"position":[[485,6]]},"83":{"position":[[67,6]]}},"keywords":{}}],["e",{"_index":339,"title":{},"content":{"36":{"position":[[272,1]]}},"keywords":{}}],["e.g",{"_index":598,"title":{},"content":{"54":{"position":[[258,5]]},"55":{"position":[[1031,6],[1343,6]]},"80":{"position":[[697,5]]}},"keywords":{}}],["e[ev",{"_index":330,"title":{},"content":{"36":{"position":[[170,7]]}},"keywords":{}}],["each",{"_index":456,"title":{},"content":{"40":{"position":[[739,4]]},"43":{"position":[[656,4]]},"55":{"position":[[1653,4]]},"83":{"position":[[592,4]]}},"keywords":{}}],["easier",{"_index":441,"title":{},"content":{"40":{"position":[[371,6]]}},"keywords":{}}],["easili",{"_index":173,"title":{},"content":{"17":{"position":[[165,7]]}},"keywords":{}}],["ecma",{"_index":976,"title":{},"content":{"76":{"position":[[1,4]]}},"keywords":{}}],["ecosystem",{"_index":414,"title":{},"content":{"39":{"position":[[591,11]]}},"keywords":{}}],["edit",{"_index":85,"title":{},"content":{"6":{"position":[[404,4]]},"8":{"position":[[487,4]]},"21":{"position":[[19,4]]}},"keywords":{}}],["editor",{"_index":63,"title":{},"content":{"5":{"position":[[317,7]]},"58":{"position":[[793,7]]}},"keywords":{}}],["effort",{"_index":434,"title":{},"content":{"40":{"position":[[158,6],[463,6]]}},"keywords":{}}],["element",{"_index":409,"title":{},"content":{"39":{"position":[[475,8]]},"43":{"position":[[601,8]]},"56":{"position":[[1096,8],[1124,9],[1380,8]]},"71":{"position":[[38,9],[67,8],[167,8],[277,8]]}},"keywords":{}}],["email",{"_index":873,"title":{"63":{"position":[[0,6]]}},"content":{"63":{"position":[[1,5],[29,5],[90,6],[150,5]]}},"keywords":{}}],["email)rfc",{"_index":990,"title":{},"content":{"76":{"position":[[245,9]]}},"keywords":{}}],["email/smtp)rfc",{"_index":988,"title":{},"content":{"76":{"position":[[164,15]]}},"keywords":{}}],["en",{"_index":209,"title":{},"content":{"23":{"position":[[125,5],[140,6]]}},"keywords":{}}],["enabl",{"_index":411,"title":{},"content":{"39":{"position":[[496,6],[676,6],[797,8]]},"40":{"position":[[71,6]]},"43":{"position":[[1,6]]}},"keywords":{}}],["encod",{"_index":776,"title":{},"content":{"56":{"position":[[1667,9]]},"62":{"position":[[357,7]]},"72":{"position":[[240,9]]}},"keywords":{}}],["encount",{"_index":1043,"title":{},"content":{"83":{"position":[[417,11],[732,12]]}},"keywords":{}}],["end",{"_index":336,"title":{},"content":{"36":{"position":[[245,3],[278,3]]},"55":{"position":[[353,4]]}},"keywords":{}}],["enhanc",{"_index":438,"title":{},"content":{"40":{"position":[[268,7]]}},"keywords":{}}],["ensur",{"_index":477,"title":{},"content":{"41":{"position":[[212,6]]},"72":{"position":[[179,6]]}},"keywords":{}}],["enter",{"_index":1004,"title":{},"content":{"79":{"position":[[238,7]]},"80":{"position":[[1011,7]]}},"keywords":{}}],["entir",{"_index":680,"title":{},"content":{"55":{"position":[[293,6]]}},"keywords":{}}],["entiti",{"_index":570,"title":{},"content":{"53":{"position":[[601,6]]}},"keywords":{}}],["entri",{"_index":727,"title":{},"content":{"56":{"position":[[409,5]]}},"keywords":{}}],["equat",{"_index":967,"title":{},"content":{"73":{"position":[[111,6]]}},"keywords":{}}],["equival",{"_index":898,"title":{},"content":{"66":{"position":[[343,10]]}},"keywords":{}}],["errata",{"_index":994,"title":{"77":{"position":[[0,7]]}},"content":{},"keywords":{}}],["essenti",{"_index":634,"title":{},"content":{"54":{"position":[[1322,11]]}},"keywords":{}}],["establish",{"_index":573,"title":{},"content":{"53":{"position":[[709,11]]},"56":{"position":[[896,11],[1313,11]]}},"keywords":{}}],["evalu",{"_index":962,"title":{},"content":{"72":{"position":[[101,8],[204,9]]}},"keywords":{}}],["everyon",{"_index":462,"title":{"41":{"position":[[8,8]]}},"content":{"41":{"position":[[157,8]]}},"keywords":{}}],["evid",{"_index":421,"title":{},"content":{"39":{"position":[[727,8]]},"40":{"position":[[771,8]]}},"keywords":{}}],["exampl",{"_index":298,"title":{},"content":{"34":{"position":[[105,8]]},"56":{"position":[[704,8],[1268,8]]},"62":{"position":[[435,9]]},"69":{"position":[[646,9]]},"71":{"position":[[508,9]]}},"keywords":{}}],["exchang",{"_index":328,"title":{},"content":{"36":{"position":[[146,9]]}},"keywords":{}}],["exclusivemaximum",{"_index":941,"title":{},"content":{"69":{"position":[[571,17]]}},"keywords":{}}],["execut",{"_index":337,"title":{},"content":{"36":{"position":[[258,9]]}},"keywords":{}}],["exist",{"_index":199,"title":{"21":{"position":[[10,8]]}},"content":{},"keywords":{}}],["expand",{"_index":623,"title":{},"content":{"54":{"position":[[1047,6]]}},"keywords":{}}],["expect",{"_index":798,"title":{},"content":{"58":{"position":[[157,12],[244,8],[1206,8]]},"70":{"position":[[347,8]]},"71":{"position":[[248,11],[290,9]]}},"keywords":{}}],["expert",{"_index":588,"title":{},"content":{"53":{"position":[[1070,6],[1094,6]]}},"keywords":{}}],["explicitli",{"_index":163,"title":{},"content":{"14":{"position":[[284,10]]},"58":{"position":[[124,10]]}},"keywords":{}}],["export",{"_index":132,"title":{},"content":{"10":{"position":[[137,6]]},"14":{"position":[[324,6]]},"20":{"position":[[126,6]]},"23":{"position":[[85,6]]},"26":{"position":[[126,6]]},"37":{"position":[[106,6]]}},"keywords":{}}],["express",{"_index":899,"title":{"68":{"position":[[8,11]]}},"content":{"66":{"position":[[377,10],[498,10]]},"68":{"position":[[9,11]]}},"keywords":{}}],["expressionpattern",{"_index":853,"title":{},"content":{"61":{"position":[[291,18]]}},"keywords":{}}],["extend",{"_index":914,"title":{},"content":{"66":{"position":[[715,7]]}},"keywords":{}}],["extens",{"_index":848,"title":{},"content":{"61":{"position":[[156,9]]},"70":{"position":[[243,9]]}},"keywords":{}}],["f",{"_index":340,"title":{},"content":{"36":{"position":[[274,1]]}},"keywords":{}}],["f[aggreg",{"_index":333,"title":{},"content":{"36":{"position":[[202,14]]}},"keywords":{}}],["f]{12}$/i",{"_index":908,"title":{},"content":{"66":{"position":[[606,9]]}},"keywords":{}}],["f]{4",{"_index":907,"title":{},"content":{"66":{"position":[[570,5],[582,5],[594,5]]}},"keywords":{}}],["f]{8",{"_index":906,"title":{},"content":{"66":{"position":[[558,5]]}},"keywords":{}}],["fabric",{"_index":1022,"title":{},"content":{"80":{"position":[[442,6]]}},"keywords":{}}],["facebook",{"_index":371,"title":{},"content":{"37":{"position":[[608,8]]}},"keywords":{}}],["facilit",{"_index":628,"title":{},"content":{"54":{"position":[[1173,11]]}},"keywords":{}}],["fals",{"_index":961,"title":{},"content":{"72":{"position":[[66,6],[134,6]]}},"keywords":{}}],["fanci",{"_index":654,"title":{},"content":{"54":{"position":[[1990,5]]}},"keywords":{}}],["featur",{"_index":230,"title":{"28":{"position":[[9,8]]}},"content":{"33":{"position":[[102,7],[197,7]]}},"keywords":{}}],["feedback",{"_index":476,"title":{},"content":{"41":{"position":[[200,8]]}},"keywords":{}}],["feel",{"_index":118,"title":{},"content":{"8":{"position":[[458,4]]}},"keywords":{}}],["fff",{"_index":356,"title":{},"content":{"37":{"position":[[230,7]]}},"keywords":{}}],["field",{"_index":815,"title":{},"content":{"58":{"position":[[681,5]]}},"keywords":{}}],["file",{"_index":92,"title":{},"content":{"8":{"position":[[10,4]]},"10":{"position":[[10,4]]},"11":{"position":[[10,4]]},"13":{"position":[[19,4]]},"16":{"position":[[61,5]]},"20":{"position":[[98,5]]},"24":{"position":[[24,4]]},"26":{"position":[[98,5]]},"30":{"position":[[67,4]]},"31":{"position":[[235,4],[318,5]]},"56":{"position":[[1681,4]]}},"keywords":{}}],["filenam",{"_index":248,"title":{},"content":{"29":{"position":[[419,8]]}},"keywords":{}}],["filesystem",{"_index":791,"title":{},"content":{"56":{"position":[[2006,11]]}},"keywords":{}}],["final",{"_index":631,"title":{},"content":{"54":{"position":[[1232,5]]}},"keywords":{}}],["first",{"_index":91,"title":{"8":{"position":[[12,5]]},"10":{"position":[[12,5]]},"11":{"position":[[12,5]]},"13":{"position":[[12,5]]}},"content":{"8":{"position":[[446,5]]},"13":{"position":[[76,7]]},"14":{"position":[[208,7]]},"43":{"position":[[382,5]]},"54":{"position":[[1439,5]]},"72":{"position":[[225,5]]}},"keywords":{}}],["flexibl",{"_index":425,"title":{},"content":{"39":{"position":[[806,11]]}},"keywords":{}}],["float",{"_index":928,"title":{},"content":{"69":{"position":[[13,8],[154,8],[244,8]]}},"keywords":{}}],["flowchart",{"_index":315,"title":{"36":{"position":[[0,10]]}},"content":{},"keywords":{}}],["fm",{"_index":748,"title":{},"content":{"56":{"position":[[853,2]]}},"keywords":{}}],["focu",{"_index":525,"title":{},"content":{"43":{"position":[[807,5]]}},"keywords":{}}],["focus",{"_index":574,"title":{},"content":{"53":{"position":[[732,7]]}},"keywords":{}}],["folder",{"_index":153,"title":{},"content":{"14":{"position":[[58,7]]},"16":{"position":[[94,7]]},"17":{"position":[[64,6],[142,6]]},"19":{"position":[[88,6]]},"21":{"position":[[59,7]]},"24":{"position":[[44,7]]}},"keywords":{}}],["follow",{"_index":296,"title":{},"content":{"34":{"position":[[80,9]]},"52":{"position":[[5,9]]},"54":{"position":[[2304,9]]},"55":{"position":[[1538,9]]},"56":{"position":[[5,9]]},"58":{"position":[[378,9]]},"83":{"position":[[392,9]]}},"keywords":{}}],["footer",{"_index":10,"title":{},"content":{"1":{"position":[[103,6]]}},"keywords":{}}],["form",{"_index":617,"title":{},"content":{"54":{"position":[[911,6],[2072,4]]}},"keywords":{}}],["form(",{"_index":609,"title":{},"content":{"54":{"position":[[537,7]]}},"keywords":{}}],["formal",{"_index":606,"title":{},"content":{"54":{"position":[[462,6],[1095,6]]}},"keywords":{}}],["format",{"_index":773,"title":{"57":{"position":[[0,10]]}},"content":{"56":{"position":[[1598,6],[1609,6],[1686,6],[1758,7],[1858,7]]},"61":{"position":[[110,7],[348,6],[426,7],[528,6]]},"62":{"position":[[18,7],[71,7],[197,6],[305,7],[477,6]]},"63":{"position":[[22,6],[82,7],[139,6]]},"64":{"position":[[16,6],[77,7],[137,6]]},"65":{"position":[[28,9],[54,8]]},"66":{"position":[[41,6],[112,7],[191,6],[811,6]]},"67":{"position":[[20,6]]},"68":{"position":[[26,6]]},"83":{"position":[[169,6],[349,7],[402,7],[521,9]]}},"keywords":{}}],["format"",{"_index":775,"title":{},"content":{"56":{"position":[[1639,12]]}},"keywords":{}}],["found",{"_index":950,"title":{},"content":{"70":{"position":[[506,5]]}},"keywords":{}}],["foundat",{"_index":406,"title":{},"content":{"39":{"position":[[423,12]]}},"keywords":{}}],["fr",{"_index":207,"title":{},"content":{"23":{"position":[[52,2],[147,6]]},"25":{"position":[[66,2]]},"27":{"position":[[67,2]]}},"keywords":{}}],["free",{"_index":119,"title":{},"content":{"8":{"position":[[463,4]]},"17":{"position":[[177,4]]},"58":{"position":[[671,4]]}},"keywords":{}}],["french",{"_index":219,"title":{},"content":{"24":{"position":[[254,7]]},"25":{"position":[[24,6]]}},"keywords":{}}],["front",{"_index":231,"title":{"29":{"position":[[0,5]]}},"content":{"29":{"position":[[52,5]]}},"keywords":{}}],["full",{"_index":1016,"title":{},"content":{"80":{"position":[[245,4]]},"87":{"position":[[255,4]]}},"keywords":{}}],["function",{"_index":134,"title":{},"content":{"10":{"position":[[152,8]]},"32":{"position":[[122,8],[241,8]]}},"keywords":{}}],["fundament",{"_index":719,"title":{},"content":{"56":{"position":[[179,11]]}},"keywords":{}}],["further",{"_index":818,"title":{},"content":{"58":{"position":[[815,7]]},"66":{"position":[[839,7]]}},"keywords":{}}],["g",{"_index":341,"title":{},"content":{"36":{"position":[[276,1]]}},"keywords":{}}],["g[/further",{"_index":324,"title":{},"content":{"36":{"position":[[99,10]]}},"keywords":{}}],["gain",{"_index":506,"title":{},"content":{"43":{"position":[[169,4]]}},"keywords":{}}],["gap",{"_index":505,"title":{},"content":{"43":{"position":[[163,5]]}},"keywords":{}}],["gener",{"_index":44,"title":{"5":{"position":[[0,8]]}},"content":{"5":{"position":[[1,8]]},"16":{"position":[[71,9]]},"55":{"position":[[1140,7]]},"56":{"position":[[103,8]]}},"keywords":{}}],["get",{"_index":25,"title":{"3":{"position":[[0,7]]},"38":{"position":[[0,7]]},"41":{"position":[[0,7]]}},"content":{"25":{"position":[[142,7]]},"54":{"position":[[612,7]]}},"keywords":{}}],["given",{"_index":584,"title":{},"content":{"53":{"position":[[984,5]]}},"keywords":{}}],["global",{"_index":733,"title":{},"content":{"56":{"position":[[521,6]]}},"keywords":{}}],["go",{"_index":696,"title":{},"content":{"55":{"position":[[788,2]]},"80":{"position":[[495,5]]}},"keywords":{}}],["goal",{"_index":495,"title":{"43":{"position":[[0,6]]}},"content":{"43":{"position":[[426,4]]}},"keywords":{}}],["good",{"_index":799,"title":{},"content":{"58":{"position":[[224,4]]}},"keywords":{}}],["govern",{"_index":484,"title":{"75":{"position":[[0,10]]}},"content":{"42":{"position":[[38,10]]},"53":{"position":[[520,10],[897,11],[912,10]]},"83":{"position":[[95,11],[289,10]]}},"keywords":{}}],["governance.develop",{"_index":474,"title":{},"content":{"41":{"position":[[117,18]]}},"keywords":{}}],["grant",{"_index":614,"title":{},"content":{"54":{"position":[[789,8],[987,6],[1717,6]]}},"keywords":{}}],["graph",{"_index":292,"title":{"34":{"position":[[8,7]]}},"content":{"35":{"position":[[12,5]]},"36":{"position":[[12,5]]}},"keywords":{}}],["green",{"_index":370,"title":{},"content":{"37":{"position":[[591,5]]}},"keywords":{}}],["green</highlight>",{"_index":367,"title":{},"content":{"37":{"position":[[457,23]]}},"keywords":{}}],["greet",{"_index":98,"title":{},"content":{"8":{"position":[[88,9],[105,10],[394,11]]}},"keywords":{}}],["greetings.md",{"_index":96,"title":{},"content":{"8":{"position":[[34,13],[65,12]]}},"keywords":{}}],["group",{"_index":465,"title":{},"content":{"41":{"position":[[18,5]]},"53":{"position":[[57,5],[157,5],[456,5]]},"56":{"position":[[1110,5]]},"83":{"position":[[597,5]]},"86":{"position":[[43,8]]}},"keywords":{}}],["gt",{"_index":322,"title":{},"content":{"36":{"position":[[74,4],[94,4]]},"37":{"position":[[151,5],[289,5],[360,6]]}},"keywords":{}}],["gt;b",{"_index":310,"title":{},"content":{"35":{"position":[[24,5]]}},"keywords":{}}],["gt;c",{"_index":311,"title":{},"content":{"35":{"position":[[33,5]]}},"keywords":{}}],["gt;d",{"_index":313,"title":{},"content":{"35":{"position":[[42,5],[51,5]]}},"keywords":{}}],["gt;|get",{"_index":318,"title":{},"content":{"36":{"position":[[31,8]]}},"keywords":{}}],["gt;|one",{"_index":326,"title":{},"content":{"36":{"position":[[123,11]]}},"keywords":{}}],["gt;|three",{"_index":332,"title":{},"content":{"36":{"position":[[190,11]]}},"keywords":{}}],["gt;|two",{"_index":329,"title":{},"content":{"36":{"position":[[160,9]]}},"keywords":{}}],["guid",{"_index":177,"title":{},"content":{"17":{"position":[[222,7]]}},"keywords":{}}],["guidelin",{"_index":451,"title":{},"content":{"40":{"position":[[609,10]]}},"keywords":{}}],["happen",{"_index":627,"title":{},"content":{"54":{"position":[[1147,9]]},"55":{"position":[[1505,9]]}},"keywords":{}}],["harmon",{"_index":502,"title":{},"content":{"43":{"position":[[115,10],[299,13]]}},"keywords":{}}],["head",{"_index":239,"title":{},"content":{"29":{"position":[[212,7]]},"56":{"position":[[1171,8]]}},"keywords":{}}],["health",{"_index":974,"title":{},"content":{"75":{"position":[[85,6]]}},"keywords":{}}],["hello",{"_index":150,"title":{},"content":{"13":{"position":[[59,5]]},"14":{"position":[[191,5],[369,8]]}},"keywords":{}}],["hellodocusauru",{"_index":275,"title":{},"content":{"32":{"position":[[131,17],[250,17]]}},"keywords":{}}],["help",{"_index":452,"title":{},"content":{"40":{"position":[[625,4]]}},"keywords":{}}],["here",{"_index":604,"title":{},"content":{"54":{"position":[[443,4]]},"61":{"position":[[434,5]]}},"keywords":{}}],["hi",{"_index":159,"title":{},"content":{"14":{"position":[[159,5]]}},"keywords":{}}],["high",{"_index":669,"title":{},"content":{"54":{"position":[[2333,4]]},"55":{"position":[[1567,4]]}},"keywords":{}}],["higher",{"_index":697,"title":{},"content":{"55":{"position":[[870,6]]}},"keywords":{}}],["highest",{"_index":684,"title":{},"content":{"55":{"position":[[358,7]]}},"keywords":{}}],["highlight",{"_index":272,"title":{},"content":{"32":{"position":[[48,13]]},"37":{"position":[[119,9]]}},"keywords":{}}],["hostnam",{"_index":881,"title":{"64":{"position":[[0,9]]}},"content":{"64":{"position":[[1,9],[23,8],[85,9],[148,8]]}},"keywords":{}}],["hosts)rfc",{"_index":980,"title":{},"content":{"76":{"position":[[45,9]]}},"keywords":{}}],["hous",{"_index":599,"title":{},"content":{"54":{"position":[[266,7]]}},"keywords":{}}],["http://localhost:3000",{"_index":81,"title":{},"content":{"6":{"position":[[344,23]]},"17":{"position":[[88,23]]}},"keywords":{}}],["http://localhost:3000/blog/greet",{"_index":125,"title":{},"content":{"8":{"position":[[561,37]]}},"keywords":{}}],["http://localhost:3000/doc",{"_index":186,"title":{},"content":{"19":{"position":[[207,27]]}},"keywords":{}}],["http://localhost:3000/docs/hello",{"_index":151,"title":{},"content":{"13":{"position":[[144,33]]}},"keywords":{}}],["http://localhost:3000/docs/hellodocs/hello.md",{"_index":202,"title":{},"content":{"21":{"position":[[112,45]]}},"keywords":{}}],["http://localhost:3000/docs/next",{"_index":188,"title":{},"content":{"19":{"position":[[270,32]]}},"keywords":{}}],["http://localhost:3000/docs/next/hello",{"_index":203,"title":{},"content":{"21":{"position":[[166,37]]}},"keywords":{}}],["http://localhost:3000/fr",{"_index":221,"title":{},"content":{"25":{"position":[[108,25]]}},"keywords":{}}],["http://localhost:3000/mi",{"_index":144,"title":{},"content":{"10":{"position":[[330,24]]},"11":{"position":[[156,24]]}},"keywords":{}}],["https://github.com/joelmarcey",{"_index":108,"title":{},"content":{"8":{"position":[[184,29]]}},"keywords":{}}],["https://github.com/joelmarcey.png",{"_index":110,"title":{},"content":{"8":{"position":[[225,33]]}},"keywords":{}}],["https://github.com/slorber.png",{"_index":115,"title":{},"content":{"8":{"position":[[357,30]]}},"keywords":{}}],["https://json",{"_index":808,"title":{},"content":{"58":{"position":[[513,12]]}},"keywords":{}}],["https://sebastienlorber.com",{"_index":114,"title":{},"content":{"8":{"position":[[318,27]]}},"keywords":{}}],["i18n",{"_index":205,"title":{"23":{"position":[[10,5]]}},"content":{"23":{"position":[[102,5]]}},"keywords":{}}],["i18n/fr",{"_index":210,"title":{},"content":{"24":{"position":[[36,7]]}},"keywords":{}}],["i18n/fr/docusauru",{"_index":213,"title":{},"content":{"24":{"position":[[62,18],[127,18],[195,18]]}},"keywords":{}}],["id",{"_index":236,"title":{"83":{"position":[[7,2]]}},"content":{"29":{"position":[[81,3]]},"79":{"position":[[8,2]]},"80":{"position":[[785,2]]},"83":{"position":[[8,3],[345,3],[518,2],[662,2]]}},"keywords":{}}],["ideal",{"_index":812,"title":{},"content":{"58":{"position":[[607,7]]}},"keywords":{}}],["identif",{"_index":335,"title":{},"content":{"36":{"position":[[226,14]]},"79":{"position":[[354,14]]},"80":{"position":[[1143,14]]}},"keywords":{}}],["identifi",{"_index":504,"title":{"66":{"position":[[9,11]]},"78":{"position":[[7,10]]}},"content":{"43":{"position":[[154,8]]},"54":{"position":[[324,11]]},"56":{"position":[[319,11],[331,11],[465,11],[1810,12]]},"66":{"position":[[20,11]]},"67":{"position":[[83,10]]},"79":{"position":[[45,11],[95,10],[330,11],[416,11]]},"80":{"position":[[16,10],[94,10],[822,11],[868,10],[1103,11],[1205,11]]}},"keywords":{}}],["idmay",{"_index":245,"title":{},"content":{"29":{"position":[[369,5]]}},"keywords":{}}],["idn",{"_index":878,"title":{},"content":{"63":{"position":[[146,3]]},"64":{"position":[[144,3]]}},"keywords":{}}],["ie",{"_index":419,"title":{},"content":{"39":{"position":[[712,4]]}},"keywords":{}}],["imag",{"_index":259,"title":{"31":{"position":[[0,7]]}},"content":{"31":{"position":[[18,6],[81,6],[204,6],[289,6]]}},"keywords":{}}],["image_url",{"_index":109,"title":{},"content":{"8":{"position":[[214,10],[346,10]]}},"keywords":{}}],["immedi",{"_index":30,"title":{},"content":{"3":{"position":[[56,11]]}},"keywords":{}}],["impact",{"_index":565,"title":{},"content":{"53":{"position":[[475,8]]}},"keywords":{}}],["implement",{"_index":490,"title":{"48":{"position":[[0,14]]},"82":{"position":[[0,14]]},"89":{"position":[[0,14]]}},"content":{"42":{"position":[[142,12]]},"58":{"position":[[904,14]]}},"keywords":{}}],["impli",{"_index":835,"title":{},"content":{"58":{"position":[[1407,7]]}},"keywords":{}}],["import",{"_index":129,"title":{},"content":{"10":{"position":[[74,6],[101,6]]}},"keywords":{}}],["improv",{"_index":424,"title":{},"content":{"39":{"position":[[778,12]]},"40":{"position":[[294,7]]},"43":{"position":[[213,11]]}},"keywords":{}}],["includ",{"_index":228,"title":{},"content":{"27":{"position":[[94,7]]},"39":{"position":[[272,9]]},"40":{"position":[[216,8]]},"54":{"position":[[918,9]]},"56":{"position":[[564,7],[1866,7],[2077,7]]},"83":{"position":[[182,8],[435,8]]}},"keywords":{}}],["inclus",{"_index":948,"title":{},"content":{"70":{"position":[[404,9]]}},"keywords":{}}],["inconsist",{"_index":400,"title":{},"content":{"39":{"position":[[299,15]]}},"keywords":{}}],["indic",{"_index":635,"title":{},"content":{"54":{"position":[[1334,9]]}},"keywords":{}}],["individu",{"_index":756,"title":{},"content":{"56":{"position":[[1080,10]]}},"keywords":{}}],["industri",{"_index":746,"title":{},"content":{"56":{"position":[[805,8]]}},"keywords":{}}],["infer",{"_index":933,"title":{},"content":{"69":{"position":[[208,5]]}},"keywords":{}}],["info",{"_index":912,"title":{},"content":{"66":{"position":[[680,4]]}},"keywords":{}}],["inform",{"_index":390,"title":{},"content":{"39":{"position":[[159,11]]},"40":{"position":[[407,11]]},"43":{"position":[[246,11],[613,11]]},"56":{"position":[[228,11],[1523,12]]},"58":{"position":[[713,11]]},"61":{"position":[[39,12]]},"75":{"position":[[92,11]]},"87":{"position":[[305,11]]}},"keywords":{}}],["init",{"_index":54,"title":{},"content":{"5":{"position":[[158,4]]}},"keywords":{}}],["initi",{"_index":764,"title":{},"content":{"56":{"position":[[1302,10]]}},"keywords":{}}],["input",{"_index":585,"title":{},"content":{"53":{"position":[[1017,5]]}},"keywords":{}}],["inrfc",{"_index":857,"title":{},"content":{"62":{"position":[[47,5]]},"63":{"position":[[56,5]]},"64":{"position":[[53,5]]}},"keywords":{}}],["insid",{"_index":347,"title":{},"content":{"37":{"position":[[88,6]]}},"keywords":{}}],["insight",{"_index":507,"title":{},"content":{"43":{"position":[[174,8]]}},"keywords":{}}],["inspection"",{"_index":712,"title":{},"content":{"55":{"position":[[1390,18]]}},"keywords":{}}],["inspir",{"_index":18,"title":{},"content":{"1":{"position":[[183,12]]}},"keywords":{}}],["instal",{"_index":38,"title":{},"content":{"4":{"position":[[37,10]]},"5":{"position":[[343,8]]}},"keywords":{}}],["instanc",{"_index":293,"title":{},"content":{"34":{"position":[[16,8]]}},"keywords":{}}],["instead",{"_index":897,"title":{},"content":{"66":{"position":[[291,8]]}},"keywords":{}}],["intak",{"_index":391,"title":{},"content":{"39":{"position":[[176,6]]}},"keywords":{}}],["integ",{"_index":723,"title":{},"content":{"56":{"position":[[292,8]]},"69":{"position":[[141,8],[233,7],[370,7],[422,7],[460,8]]},"80":{"position":[[770,7],[1124,7]]},"83":{"position":[[791,7]]}},"keywords":{}}],["integr",{"_index":61,"title":{},"content":{"5":{"position":[[284,10]]},"39":{"position":[[357,9]]},"40":{"position":[[490,12]]}},"keywords":{}}],["intellig",{"_index":418,"title":{},"content":{"39":{"position":[[699,12]]}},"keywords":{}}],["intend",{"_index":731,"title":{},"content":{"56":{"position":[[481,8],[583,8]]},"86":{"position":[[19,8]]}},"keywords":{}}],["intent",{"_index":596,"title":{},"content":{"54":{"position":[[170,6],[198,7],[554,6],[667,6]]},"58":{"position":[[995,6]]}},"keywords":{}}],["interact",{"_index":345,"title":{},"content":{"37":{"position":[[38,11]]},"54":{"position":[[2418,8]]}},"keywords":{}}],["interchang",{"_index":529,"title":{},"content":{"43":{"position":[[867,11]]}},"keywords":{}}],["interest",{"_index":467,"title":{},"content":{"41":{"position":[[35,10]]},"53":{"position":[[426,10]]},"54":{"position":[[1011,8]]}},"keywords":{}}],["interfac",{"_index":786,"title":{},"content":{"56":{"position":[[1925,9]]}},"keywords":{}}],["intern",{"_index":865,"title":{},"content":{"62":{"position":[[158,10]]}},"keywords":{}}],["internation",{"_index":877,"title":{},"content":{"63":{"position":[[121,17]]},"64":{"position":[[119,17]]},"76":{"position":[[185,18],[226,18]]}},"keywords":{}}],["internet",{"_index":979,"title":{},"content":{"76":{"position":[[35,9]]}},"keywords":{}}],["interoper",{"_index":413,"title":{},"content":{"39":{"position":[[525,16]]},"40":{"position":[[109,17],[302,17]]},"43":{"position":[[533,16],[694,16]]}},"keywords":{}}],["intro",{"_index":24,"title":{"2":{"position":[[9,5]]}},"content":{"14":{"position":[[360,8]]}},"keywords":{}}],["involv",{"_index":21,"title":{},"content":{"1":{"position":[[226,8]]},"40":{"position":[[165,8]]}},"keywords":{}}],["ip",{"_index":886,"title":{"65":{"position":[[0,2]]}},"content":{"65":{"position":[[1,2]]}},"keywords":{}}],["ipv4",{"_index":887,"title":{},"content":{"65":{"position":[[41,4],[66,4]]}},"keywords":{}}],["ipv4)rfc",{"_index":982,"title":{},"content":{"76":{"position":[[75,9]]}},"keywords":{}}],["ipv6",{"_index":888,"title":{},"content":{"65":{"position":[[49,4],[126,4]]}},"keywords":{}}],["ipv6)rfc",{"_index":981,"title":{},"content":{"76":{"position":[[60,9]]}},"keywords":{}}],["iso",{"_index":739,"title":{},"content":{"56":{"position":[[735,3]]},"61":{"position":[[173,3]]}},"keywords":{}}],["issu",{"_index":562,"title":{},"content":{"53":{"position":[[370,5]]}},"keywords":{}}],["it'",{"_index":605,"title":{},"content":{"54":{"position":[[451,4]]}},"keywords":{}}],["item",{"_index":11,"title":{},"content":{"1":{"position":[[110,5]]},"14":{"position":[[417,6]]},"20":{"position":[[168,6]]},"26":{"position":[[168,6]]},"71":{"position":[[185,5]]}},"keywords":{}}],["joel",{"_index":102,"title":{},"content":{"8":{"position":[[133,4]]}},"keywords":{}}],["json",{"_index":772,"title":{"58":{"position":[[0,4]]}},"content":{"56":{"position":[[1585,4],[1874,5]]},"58":{"position":[[3,4],[63,4],[209,4],[339,4],[447,4]]},"61":{"position":[[460,4]]},"62":{"position":[[555,4]]},"66":{"position":[[269,4]]},"69":{"position":[[93,4]]},"70":{"position":[[55,5]]},"71":{"position":[[48,4]]},"72":{"position":[[166,4]]},"77":{"position":[[1,4]]},"83":{"position":[[786,4]]}},"keywords":{}}],["json)json",{"_index":840,"title":{},"content":{"59":{"position":[[18,10]]}},"keywords":{}}],["json)rfc",{"_index":992,"title":{},"content":{"76":{"position":[[283,9]]}},"keywords":{}}],["jsx",{"_index":273,"title":{},"content":{"32":{"position":[[63,6]]}},"keywords":{}}],["jurisdict",{"_index":572,"title":{},"content":{"53":{"position":[[682,13]]},"54":{"position":[[1546,13]]}},"keywords":{}}],["key",{"_index":520,"title":{},"content":{"43":{"position":[[597,3]]},"70":{"position":[[32,3],[65,3],[101,3],[307,3]]},"87":{"position":[[82,3]]}},"keywords":{}}],["keyword",{"_index":951,"title":{},"content":{"71":{"position":[[191,8],[220,7]]}},"keywords":{}}],["kind",{"_index":953,"title":{},"content":{"71":{"position":[[268,5]]}},"keywords":{}}],["known",{"_index":860,"title":{},"content":{"62":{"position":[[93,5]]}},"keywords":{}}],["label",{"_index":156,"title":{},"content":{"14":{"position":[[105,5],[398,6]]},"37":{"position":[[340,5]]},"56":{"position":[[1069,6]]}},"keywords":{}}],["lack",{"_index":930,"title":{},"content":{"69":{"position":[[98,5]]}},"keywords":{}}],["land",{"_index":651,"title":{},"content":{"54":{"position":[[1777,4]]},"79":{"position":[[18,4],[122,4],[273,4],[395,4]]},"80":{"position":[[317,4],[371,4],[795,4],[895,4],[1046,4],[1184,4]]}},"keywords":{}}],["languag",{"_index":225,"title":{},"content":{"26":{"position":[[31,10]]},"39":{"position":[[384,9]]},"41":{"position":[[145,8]]},"43":{"position":[[679,10]]},"72":{"position":[[87,9]]}},"keywords":{}}],["larger",{"_index":699,"title":{},"content":{"55":{"position":[[1004,6],[1133,6]]}},"keywords":{}}],["layout",{"_index":130,"title":{},"content":{"10":{"position":[[108,6]]}},"keywords":{}}],["layoutadd",{"_index":15,"title":{},"content":{"1":{"position":[[156,9]]}},"keywords":{}}],["lead",{"_index":1050,"title":{},"content":{"83":{"position":[[686,7]]}},"keywords":{}}],["leas",{"_index":620,"title":{},"content":{"54":{"position":[[955,6]]}},"keywords":{}}],["left",{"_index":1046,"title":{},"content":{"83":{"position":[[536,4]]}},"keywords":{}}],["legal",{"_index":1017,"title":{},"content":{"80":{"position":[[250,5]]}},"keywords":{}}],["legal_descript",{"_index":1010,"title":{},"content":{"80":{"position":[[119,17]]}},"keywords":{}}],["legisl",{"_index":561,"title":{},"content":{"53":{"position":[[355,11]]}},"keywords":{}}],["less",{"_index":896,"title":{},"content":{"66":{"position":[[93,4]]}},"keywords":{}}],["let'",{"_index":254,"title":{},"content":{"30":{"position":[[80,5],[132,5],[196,5]]}},"keywords":{}}],["level",{"_index":513,"title":{},"content":{"43":{"position":[[326,5]]},"54":{"position":[[2338,5]]},"55":{"position":[[366,5],[877,5],[1572,5]]},"58":{"position":[[436,5]]},"69":{"position":[[430,5]]}},"keywords":{}}],["lexicon",{"_index":545,"title":{},"content":{"52":{"position":[[106,7]]}},"keywords":{}}],["licens",{"_index":618,"title":{},"content":{"54":{"position":[[938,8]]}},"keywords":{}}],["lieu",{"_index":937,"title":{},"content":{"69":{"position":[[358,4]]}},"keywords":{}}],["lifecycl",{"_index":675,"title":{},"content":{"55":{"position":[[136,12],[263,9],[454,10],[616,10]]}},"keywords":{}}],["line",{"_index":86,"title":{},"content":{"6":{"position":[[414,6]]},"51":{"position":[[20,4]]}},"keywords":{}}],["link",{"_index":250,"title":{"30":{"position":[[0,6]]}},"content":{"30":{"position":[[18,5]]}},"keywords":{}}],["linkingcoordin",{"_index":516,"title":{},"content":{"43":{"position":[[363,18]]}},"keywords":{}}],["links](./hello.md",{"_index":241,"title":{},"content":{"29":{"position":[[239,19]]}},"keywords":{}}],["list",{"_index":486,"title":{},"content":{"42":{"position":[[77,4]]},"56":{"position":[[666,5]]}},"keywords":{}}],["load",{"_index":536,"title":{},"content":{"47":{"position":[[14,7]]},"81":{"position":[[21,7]]},"88":{"position":[[21,7]]}},"keywords":{}}],["lob",{"_index":530,"title":{},"content":{"43":{"position":[[915,3]]},"54":{"position":[[1166,3]]}},"keywords":{}}],["local",{"_index":76,"title":{"25":{"position":[[11,9]]},"26":{"position":[[6,6]]},"27":{"position":[[11,9]]}},"content":{"6":{"position":[[267,7]]},"17":{"position":[[28,8]]},"23":{"position":[[55,7],[131,8]]},"25":{"position":[[31,7],[59,6],[76,9],[224,6]]},"26":{"position":[[48,6],[224,6]]},"27":{"position":[[32,7],[60,6],[110,7]]},"53":{"position":[[514,5],[891,5]]},"56":{"position":[[512,5]]}},"keywords":{}}],["localedropdown",{"_index":226,"title":{},"content":{"26":{"position":[[185,17]]}},"keywords":{}}],["locat",{"_index":641,"title":{},"content":{"54":{"position":[[1534,8]]}},"keywords":{}}],["location(",{"_index":613,"title":{},"content":{"54":{"position":[[720,11]]}},"keywords":{}}],["logo](./img/docusaurus.png",{"_index":269,"title":{},"content":{"31":{"position":[[350,27]]}},"keywords":{}}],["logo](/img/docusaurus.png",{"_index":263,"title":{},"content":{"31":{"position":[[155,26]]}},"keywords":{}}],["looser",{"_index":952,"title":{},"content":{"71":{"position":[[241,6]]}},"keywords":{}}],["lorber",{"_index":112,"title":{},"content":{"8":{"position":[[277,6]]}},"keywords":{}}],["lr",{"_index":316,"title":{},"content":{"36":{"position":[[18,2]]}},"keywords":{}}],["lt;/layout>",{"_index":143,"title":{},"content":{"10":{"position":[[276,15]]}},"keywords":{}}],["lt;/span>",{"_index":364,"title":{},"content":{"37":{"position":[[378,13]]}},"keywords":{}}],["lt;h1>hello",{"_index":276,"title":{},"content":{"32":{"position":[[158,16],[277,16]]}},"keywords":{}}],["lt;h1>mi",{"_index":139,"title":{},"content":{"10":{"position":[[201,12]]}},"keywords":{}}],["lt;highlight",{"_index":365,"title":{},"content":{"37":{"position":[[403,13],[491,13]]}},"keywords":{}}],["lt;layout>",{"_index":138,"title":{},"content":{"10":{"position":[[186,14]]}},"keywords":{}}],["lt;p>thi",{"_index":141,"title":{},"content":{"10":{"position":[[236,13]]}},"keywords":{}}],["lt;span",{"_index":351,"title":{},"content":{"37":{"position":[[159,8]]}},"keywords":{}}],["ltsa",{"_index":648,"title":{},"content":{"54":{"position":[[1673,4]]}},"keywords":{}}],["machin",{"_index":308,"title":{"35":{"position":[[6,8]]}},"content":{"56":{"position":[[1052,7]]}},"keywords":{}}],["machines.titl",{"_index":825,"title":{},"content":{"58":{"position":[[974,14]]}},"keywords":{}}],["made",{"_index":117,"title":{},"content":{"8":{"position":[[436,4]]},"54":{"position":[[1258,4]]}},"keywords":{}}],["mail",{"_index":970,"title":{},"content":{"75":{"position":[[25,8]]}},"keywords":{}}],["main",{"_index":429,"title":{},"content":{"40":{"position":[[5,4]]},"52":{"position":[[33,4]]}},"keywords":{}}],["maintain",{"_index":113,"title":{},"content":{"8":{"position":[[302,10]]},"43":{"position":[[826,13]]},"54":{"position":[[1197,8]]},"80":{"position":[[466,10]]}},"keywords":{}}],["make",{"_index":344,"title":{},"content":{"37":{"position":[[9,4]]},"40":{"position":[[363,4]]},"83":{"position":[[328,5]]}},"keywords":{}}],["maker",{"_index":557,"title":{},"content":{"53":{"position":[[245,5],[272,5]]},"54":{"position":[[1287,5]]}},"keywords":{}}],["manag",{"_index":178,"title":{"18":{"position":[[0,6]]}},"content":{},"keywords":{}}],["mandatori",{"_index":435,"title":{},"content":{"40":{"position":[[189,9]]}},"keywords":{}}],["mani",{"_index":385,"title":{},"content":{"39":{"position":[[119,4],[259,4]]},"54":{"position":[[1120,4]]}},"keywords":{}}],["map",{"_index":670,"title":{},"content":{"54":{"position":[[2355,3]]},"55":{"position":[[1098,3],[1443,7],[1593,3]]},"70":{"position":[[42,9]]}},"keywords":{}}],["marcey",{"_index":103,"title":{},"content":{"8":{"position":[[138,6]]}},"keywords":{}}],["markdown",{"_index":145,"title":{"11":{"position":[[18,8]]},"28":{"position":[[0,8]]}},"content":{"11":{"position":[[31,8],[63,8],[85,8],[109,8],[181,8]]},"13":{"position":[[10,8]]},"29":{"position":[[1,8],[203,8],[220,8],[283,8]]},"30":{"position":[[9,8]]},"31":{"position":[[9,8],[309,8]]},"32":{"position":[[1,8]]},"37":{"position":[[95,9]]}},"keywords":{}}],["matter",{"_index":232,"title":{"29":{"position":[[6,7]]}},"content":{"29":{"position":[[58,7]]},"53":{"position":[[1063,6],[1087,6]]}},"keywords":{}}],["max",{"_index":998,"title":{},"content":{"79":{"position":[[70,3]]}},"keywords":{}}],["maxcontain",{"_index":955,"title":{},"content":{"71":{"position":[[358,12]]}},"keywords":{}}],["maxim",{"_index":911,"title":{},"content":{"66":{"position":[[656,8]]}},"keywords":{}}],["maximum,exclusiveminimum",{"_index":940,"title":{},"content":{"69":{"position":[[542,24]]}},"keywords":{}}],["maxitem",{"_index":957,"title":{},"content":{"71":{"position":[[384,8]]}},"keywords":{}}],["maxlength",{"_index":852,"title":{},"content":{"61":{"position":[[266,9]]}},"keywords":{}}],["mdx",{"_index":342,"title":{"37":{"position":[[0,3]]}},"content":{"37":{"position":[[1,3]]}},"keywords":{}}],["measur",{"_index":664,"title":{},"content":{"54":{"position":[[2228,11]]}},"keywords":{}}],["media",{"_index":777,"title":{},"content":{"56":{"position":[[1696,5],[1799,5]]}},"keywords":{}}],["member",{"_index":693,"title":{},"content":{"55":{"position":[[595,6],[827,6]]}},"keywords":{}}],["mermaid",{"_index":291,"title":{"34":{"position":[[0,7]]}},"content":{"34":{"position":[[67,8],[141,8]]},"35":{"position":[[1,10]]},"36":{"position":[[1,10]]}},"keywords":{}}],["metadata",{"_index":155,"title":{},"content":{"14":{"position":[[71,8]]},"29":{"position":[[25,8]]},"56":{"position":[[1293,8],[1371,8]]}},"keywords":{}}],["microservic",{"_index":492,"title":{},"content":{"42":{"position":[[191,14]]}},"keywords":{}}],["mincontain",{"_index":954,"title":{},"content":{"71":{"position":[[345,12]]}},"keywords":{}}],["minimum",{"_index":242,"title":{},"content":{"29":{"position":[[313,7]]},"69":{"position":[[533,8]]},"80":{"position":[[36,7]]}},"keywords":{}}],["ministri",{"_index":560,"title":{},"content":{"53":{"position":[[346,8],[881,9]]}},"keywords":{}}],["minitem",{"_index":956,"title":{},"content":{"71":{"position":[[371,8]]}},"keywords":{}}],["minlength",{"_index":851,"title":{},"content":{"61":{"position":[[255,10]]}},"keywords":{}}],["mkdir",{"_index":211,"title":{},"content":{"24":{"position":[[53,5]]}},"keywords":{}}],["model",{"_index":767,"title":{},"content":{"56":{"position":[[1447,5]]}},"keywords":{}}],["modern",{"_index":652,"title":{},"content":{"54":{"position":[[1855,14]]}},"keywords":{}}],["modifi",{"_index":193,"title":{},"content":{"20":{"position":[[66,6]]},"23":{"position":[[1,6]]},"26":{"position":[[66,6]]}},"keywords":{}}],["more",{"_index":300,"title":{},"content":{"34":{"position":[[154,4],[236,4]]},"37":{"position":[[33,4]]},"54":{"position":[[237,4],[690,4]]},"61":{"position":[[490,4]]},"62":{"position":[[421,4]]},"63":{"position":[[235,4]]},"64":{"position":[[253,4]]},"65":{"position":[[227,4]]},"67":{"position":[[251,4]]},"68":{"position":[[118,4]]},"69":{"position":[[632,4]]},"70":{"position":[[457,4]]},"71":{"position":[[494,4]]},"72":{"position":[[293,4]]},"73":{"position":[[202,4]]}},"keywords":{}}],["ms",{"_index":470,"title":{},"content":{"41":{"position":[[80,2]]}},"keywords":{}}],["much",{"_index":122,"title":{},"content":{"8":{"position":[[505,4]]}},"keywords":{}}],["muddl",{"_index":612,"title":{},"content":{"54":{"position":[[620,7]]}},"keywords":{}}],["multipleof",{"_index":939,"title":{},"content":{"69":{"position":[[521,11]]}},"keywords":{}}],["municip",{"_index":566,"title":{},"content":{"53":{"position":[[533,12]]}},"keywords":{}}],["my_doc_id",{"_index":237,"title":{},"content":{"29":{"position":[[85,9]]}},"keywords":{}}],["myreactpag",{"_index":135,"title":{},"content":{"10":{"position":[[161,13]]}},"keywords":{}}],["naic",{"_index":747,"title":{},"content":{"56":{"position":[[836,7]]}},"keywords":{}}],["name",{"_index":101,"title":{},"content":{"8":{"position":[[127,5],[261,5]]},"70":{"position":[[311,8]]},"80":{"position":[[160,4],[617,4]]},"87":{"position":[[1,4],[202,4]]}},"keywords":{}}],["names)rfc",{"_index":989,"title":{},"content":{"76":{"position":[[211,9]]}},"keywords":{}}],["namespac",{"_index":754,"title":{},"content":{"56":{"position":[[1013,9]]}},"keywords":{}}],["nation",{"_index":517,"title":{},"content":{"43":{"position":[[388,7]]}},"keywords":{}}],["natur",{"_index":378,"title":{},"content":{"39":{"position":[[39,7],[545,7]]}},"keywords":{}}],["navbar",{"_index":9,"title":{},"content":{"1":{"position":[[92,6]]},"20":{"position":[[158,7],[277,7]]},"26":{"position":[[158,7],[260,7]]}},"keywords":{}}],["navig",{"_index":74,"title":{},"content":{"6":{"position":[[191,8]]},"20":{"position":[[4,8]]},"26":{"position":[[4,8]]},"53":{"position":[[696,9]]}},"keywords":{}}],["necessari",{"_index":64,"title":{},"content":{"5":{"position":[[356,9]]}},"keywords":{}}],["need",{"_index":33,"title":{"4":{"position":[[12,5]]}},"content":{"5":{"position":[[383,4]]},"6":{"position":[[183,4]]},"43":{"position":[[630,4]]},"54":{"position":[[1039,4],[1467,5]]}},"keywords":{}}],["nest",{"_index":947,"title":{},"content":{"70":{"position":[[207,9]]}},"keywords":{}}],["network",{"_index":792,"title":{},"content":{"56":{"position":[[2042,8]]}},"keywords":{}}],["new",{"_index":28,"title":{"5":{"position":[[11,3]]}},"content":{"3":{"position":[[27,3]]},"5":{"position":[[12,3]]},"8":{"position":[[527,3]]},"10":{"position":[[301,3]]},"11":{"position":[[127,3]]},"13":{"position":[[111,3]]}},"keywords":{}}],["newer",{"_index":916,"title":{},"content":{"66":{"position":[[872,5]]}},"keywords":{}}],["newli",{"_index":73,"title":{},"content":{"6":{"position":[[145,5]]}},"keywords":{}}],["next",{"_index":2,"title":{"1":{"position":[[7,6]]}},"content":{},"keywords":{}}],["nine",{"_index":996,"title":{},"content":{"79":{"position":[[59,4]]},"80":{"position":[[836,4]]},"83":{"position":[[553,4]]}},"keywords":{}}],["node.j",{"_index":34,"title":{},"content":{"4":{"position":[[1,7],[48,8]]}},"keywords":{}}],["nomenclature.$com",{"_index":814,"title":{},"content":{"58":{"position":[[645,21]]}},"keywords":{}}],["normal",{"_index":807,"title":{},"content":{"58":{"position":[[501,8]]}},"keywords":{}}],["north",{"_index":744,"title":{},"content":{"56":{"position":[[790,5]]}},"keywords":{}}],["note",{"_index":537,"title":{"48":{"position":[[15,6]]},"82":{"position":[[15,6]]},"89":{"position":[[15,6]]}},"content":{"54":{"position":[[2112,4]]},"62":{"position":[[454,4]]},"66":{"position":[[172,4]]},"69":{"position":[[83,4]]},"73":{"position":[[87,4]]}},"keywords":{}}],["notic",{"_index":583,"title":{},"content":{"53":{"position":[[944,7]]}},"keywords":{}}],["now",{"_index":123,"title":{},"content":{"8":{"position":[[544,3]]},"10":{"position":[[313,3]]},"11":{"position":[[139,3]]},"13":{"position":[[127,3]]},"17":{"position":[[74,3],[121,3]]},"19":{"position":[[178,3]]},"26":{"position":[[240,3]]}},"keywords":{}}],["now"",{"_index":715,"title":{},"content":{"55":{"position":[[1515,9]]}},"keywords":{}}],["npm",{"_index":53,"title":{},"content":{"5":{"position":[[154,3]]},"6":{"position":[[44,3],[225,3]]},"16":{"position":[[34,3]]},"17":{"position":[[38,3]]},"19":{"position":[[41,3]]},"25":{"position":[[40,3]]},"27":{"position":[[41,3],[128,3]]}},"keywords":{}}],["nr",{"_index":381,"title":{},"content":{"39":{"position":[[63,5]]}},"keywords":{}}],["nrm",{"_index":437,"title":{},"content":{"40":{"position":[[242,3]]}},"keywords":{}}],["nuanc",{"_index":819,"title":{},"content":{"58":{"position":[[823,7]]}},"keywords":{}}],["null",{"_index":966,"title":{"73":{"position":[[0,5]]}},"content":{"73":{"position":[[1,4],[81,5],[97,4]]}},"keywords":{}}],["number",{"_index":665,"title":{},"content":{"54":{"position":[[2247,6]]},"69":{"position":[[28,7],[448,7]]},"79":{"position":[[74,6],[192,7],[369,6]]},"80":{"position":[[847,6],[965,7],[1158,6]]},"83":{"position":[[564,7],[670,7]]}},"keywords":{}}],["numbertyp",{"_index":936,"title":{},"content":{"69":{"position":[[344,10]]}},"keywords":{}}],["numer",{"_index":926,"title":{"69":{"position":[[0,8]]}},"content":{"69":{"position":[[68,7]]},"83":{"position":[[26,7],[636,9]]}},"keywords":{}}],["obdc",{"_index":793,"title":{},"content":{"56":{"position":[[2085,4]]}},"keywords":{}}],["object",{"_index":428,"title":{"40":{"position":[[0,11]]},"70":{"position":[[0,7]]}},"content":{"40":{"position":[[10,9]]},"55":{"position":[[544,10]]},"70":{"position":[[1,7],[168,7],[281,7]]}},"keywords":{}}],["obtain",{"_index":610,"title":{},"content":{"54":{"position":[[564,6]]}},"keywords":{}}],["obviou",{"_index":813,"title":{},"content":{"58":{"position":[[626,7]]}},"keywords":{}}],["occur",{"_index":682,"title":{},"content":{"55":{"position":[[329,5]]}},"keywords":{}}],["offici",{"_index":4,"title":{},"content":{"1":{"position":[[10,8]]},"54":{"position":[[1693,8]]}},"keywords":{}}],["omit",{"_index":249,"title":{},"content":{"29":{"position":[[433,8]]}},"keywords":{}}],["on",{"_index":223,"title":{},"content":{"25":{"position":[[220,3]]},"54":{"position":[[230,3],[683,3]]},"56":{"position":[[163,3]]},"80":{"position":[[77,3],[570,4]]}},"keywords":{}}],["onc",{"_index":229,"title":{},"content":{"27":{"position":[[121,5]]}},"keywords":{}}],["onclick",{"_index":361,"title":{},"content":{"37":{"position":[[277,11]]}},"keywords":{}}],["open",{"_index":82,"title":{},"content":{"6":{"position":[[369,4]]}},"keywords":{}}],["oper",{"_index":1026,"title":{},"content":{"80":{"position":[[501,11]]}},"keywords":{}}],["opportun",{"_index":509,"title":{},"content":{"43":{"position":[[195,13]]},"53":{"position":[[994,11]]}},"keywords":{}}],["option",{"_index":285,"title":{},"content":{"33":{"position":[[110,6],[205,6]]},"61":{"position":[[210,10]]},"69":{"position":[[476,10]]}},"keywords":{}}],["optional.typ",{"_index":836,"title":{},"content":{"58":{"position":[[1421,13]]}},"keywords":{}}],["order",{"_index":72,"title":{},"content":{"6":{"position":[[121,5]]},"55":{"position":[[173,7],[638,8],[684,7],[750,5],[858,8]]},"56":{"position":[[78,7]]},"66":{"position":[[619,5]]},"71":{"position":[[30,7]]}},"keywords":{}}],["organ",{"_index":551,"title":{},"content":{"53":{"position":[[69,12],[166,12]]}},"keywords":{}}],["other.unlock",{"_index":457,"title":{},"content":{"40":{"position":[[744,12]]}},"keywords":{}}],["otherwis",{"_index":864,"title":{},"content":{"62":{"position":[[118,9]]}},"keywords":{}}],["out",{"_index":650,"title":{},"content":{"54":{"position":[[1744,3]]},"58":{"position":[[701,3]]}},"keywords":{}}],["outcom",{"_index":632,"title":{},"content":{"54":{"position":[[1250,7]]},"55":{"position":[[558,9]]}},"keywords":{}}],["outlin",{"_index":542,"title":{},"content":{"52":{"position":[[21,7]]},"54":{"position":[[14,8],[2322,8]]},"55":{"position":[[14,8],[1556,8]]},"61":{"position":[[399,7]]},"70":{"position":[[267,9]]}},"keywords":{}}],["output",{"_index":656,"title":{},"content":{"54":{"position":[[2053,6]]}},"keywords":{}}],["over",{"_index":383,"title":{},"content":{"39":{"position":[[84,4]]},"54":{"position":[[1070,4]]},"58":{"position":[[942,4]]}},"keywords":{}}],["overview",{"_index":828,"title":{},"content":{"58":{"position":[[1130,8]]}},"keywords":{}}],["ownership",{"_index":1028,"title":{},"content":{"80":{"position":[[710,10]]}},"keywords":{}}],["p",{"_index":212,"title":{},"content":{"24":{"position":[[60,1]]}},"keywords":{}}],["pad",{"_index":357,"title":{},"content":{"37":{"position":[[238,8]]},"83":{"position":[[191,6],[444,6],[546,6]]}},"keywords":{}}],["page",{"_index":84,"title":{"9":{"position":[[9,4]]},"10":{"position":[[24,5]]},"11":{"position":[[27,5]]},"41":{"position":[[29,5]]}},"content":{"6":{"position":[[394,5]]},"10":{"position":[[305,4],[361,5]]},"11":{"position":[[94,4],[118,4],[131,4],[190,5]]},"25":{"position":[[158,4]]},"29":{"position":[[292,5]]},"30":{"position":[[222,5]]},"54":{"position":[[1678,4]]}},"keywords":{}}],["page</h1>",{"_index":140,"title":{},"content":{"10":{"position":[[220,15]]}},"keywords":{}}],["page</p>",{"_index":142,"title":{},"content":{"10":{"position":[[261,14]]}},"keywords":{}}],["page.j",{"_index":128,"title":{},"content":{"10":{"position":[[37,8],[66,7]]}},"keywords":{}}],["page.md",{"_index":146,"title":{},"content":{"11":{"position":[[40,8],[72,7]]}},"keywords":{}}],["page](./create_a_page.md",{"_index":257,"title":{},"content":{"30":{"position":[[159,26]]}},"keywords":{}}],["page](/create_a_pag",{"_index":256,"title":{},"content":{"30":{"position":[[107,22]]}},"keywords":{}}],["pair",{"_index":944,"title":{},"content":{"70":{"position":[[111,4]]}},"keywords":{}}],["paramet",{"_index":917,"title":{},"content":{"67":{"position":[[108,10]]}},"keywords":{}}],["parcel",{"_index":571,"title":{"78":{"position":[[0,6]]},"83":{"position":[[0,6]]}},"content":{"53":{"position":[[662,6]]},"54":{"position":[[695,7],[845,6],[1480,6],[1560,7],[1792,6]]},"79":{"position":[[1,6],[38,6],[108,6],[203,7],[323,6],[347,6],[409,6]]},"80":{"position":[[9,6],[87,6],[275,6],[610,6],[677,6],[778,6],[815,6],[881,6],[976,7],[1096,6],[1136,6],[1198,6]]},"83":{"position":[[1,6],[338,6],[511,6],[655,6]]},"84":{"position":[[33,7]]}},"keywords":{}}],["parcel_id_format",{"_index":1044,"title":{},"content":{"83":{"position":[[473,19]]}},"keywords":{}}],["parcel_nam",{"_index":1011,"title":{},"content":{"80":{"position":[[146,12],[513,11]]}},"keywords":{}}],["parcelmap",{"_index":1034,"title":{},"content":{"83":{"position":[[46,9]]}},"keywords":{}}],["park",{"_index":1032,"title":{},"content":{"80":{"position":[[755,5]]}},"keywords":{}}],["pars",{"_index":824,"title":{},"content":{"58":{"position":[[964,6]]}},"keywords":{}}],["part",{"_index":674,"title":{},"content":{"54":{"position":[[2441,5]]}},"keywords":{}}],["parti",{"_index":564,"title":{},"content":{"53":{"position":[[437,5]]}},"keywords":{}}],["particular",{"_index":753,"title":{},"content":{"56":{"position":[[1002,10]]}},"keywords":{}}],["particularli",{"_index":266,"title":{},"content":{"31":{"position":[[257,12]]}},"keywords":{}}],["pass",{"_index":678,"title":{},"content":{"55":{"position":[[247,4]]}},"keywords":{}}],["path",{"_index":252,"title":{},"content":{"30":{"position":[[49,5],[72,6]]},"31":{"position":[[62,5]]},"58":{"position":[[595,4]]}},"keywords":{}}],["pattern",{"_index":900,"title":{},"content":{"66":{"position":[[388,8]]}},"keywords":{}}],["peopl",{"_index":466,"title":{},"content":{"41":{"position":[[28,6]]}},"keywords":{}}],["perform",{"_index":503,"title":{},"content":{"43":{"position":[[134,7]]},"53":{"position":[[207,7]]},"54":{"position":[[753,10],[812,7]]}},"keywords":{}}],["period",{"_index":687,"title":{},"content":{"55":{"position":[[426,6]]}},"keywords":{}}],["perman",{"_index":1005,"title":{},"content":{"79":{"position":[[313,9]]},"80":{"position":[[1086,9]]}},"keywords":{}}],["permiss",{"_index":615,"title":{},"content":{"54":{"position":[[798,10],[1724,10]]}},"keywords":{}}],["permit",{"_index":374,"title":{},"content":{"39":{"position":[[1,10],[93,6],[224,10],[332,10],[562,10],[656,11],[759,10],[853,11]]},"40":{"position":[[246,10],[432,10]]},"42":{"position":[[89,10]]},"43":{"position":[[499,10]]},"54":{"position":[[347,7],[930,7],[1208,7],[1683,6],[1844,10],[1973,6]]},"71":{"position":[[53,7]]},"86":{"position":[[63,7]]},"87":{"position":[[99,7],[151,10]]}},"keywords":{}}],["person",{"_index":550,"title":{},"content":{"53":{"position":[[49,7],[149,7],[292,7],[445,7]]}},"keywords":{}}],["phase",{"_index":677,"title":{},"content":{"55":{"position":[[195,6],[409,5],[467,5],[570,5],[839,6],[899,5]]}},"keywords":{}}],["pi",{"_index":430,"title":{},"content":{"40":{"position":[[23,4]]},"41":{"position":[[70,5]]},"42":{"position":[[222,4]]},"43":{"position":[[421,4]]},"53":{"position":[[115,5]]},"54":{"position":[[108,5]]},"58":{"position":[[476,5]]}},"keywords":{}}],["pid",{"_index":1003,"title":{"83":{"position":[[10,6]]}},"content":{"79":{"position":[[188,3],[302,3]]},"80":{"position":[[553,4],[600,4],[649,3],[761,3],[961,3],[1075,3]]},"83":{"position":[[134,4]]}},"keywords":{}}],["pid.a",{"_index":1009,"title":{},"content":{"80":{"position":[[81,5]]}},"keywords":{}}],["piec",{"_index":721,"title":{},"content":{"56":{"position":[[242,5],[1513,6]]}},"keywords":{}}],["pin",{"_index":1006,"title":{},"content":{"79":{"position":[[376,5]]},"80":{"position":[[61,3],[589,3],[629,4],[657,4],[1115,3],[1165,5]]}},"keywords":{}}],["plan",{"_index":489,"title":{},"content":{"42":{"position":[[133,4]]}},"keywords":{}}],["platform",{"_index":528,"title":{},"content":{"43":{"position":[[849,8]]}},"keywords":{}}],["play",{"_index":120,"title":{},"content":{"8":{"position":[[471,4]]}},"keywords":{}}],["pleas",{"_index":855,"title":{},"content":{"61":{"position":[[440,6]]}},"keywords":{}}],["plugin",{"_index":214,"title":{},"content":{"24":{"position":[[81,6],[146,6],[214,6]]}},"keywords":{}}],["pmbc",{"_index":1024,"title":{},"content":{"80":{"position":[[480,4]]},"83":{"position":[[59,7],[78,4],[251,4]]}},"keywords":{}}],["point",{"_index":500,"title":{},"content":{"43":{"position":[[76,5]]},"69":{"position":[[22,5],[163,5],[253,5],[307,6]]}},"keywords":{}}],["pointer",{"_index":360,"title":{},"content":{"37":{"position":[[263,10]]}},"keywords":{}}],["polici",{"_index":422,"title":{},"content":{"39":{"position":[[740,6]]},"40":{"position":[[786,6]]},"53":{"position":[[1192,7]]}},"keywords":{}}],["polygon",{"_index":639,"title":{},"content":{"54":{"position":[[1489,7]]}},"keywords":{}}],["popul",{"_index":1020,"title":{},"content":{"80":{"position":[[410,9]]}},"keywords":{}}],["posit",{"_index":157,"title":{},"content":{"14":{"position":[[115,9]]}},"keywords":{}}],["possibl",{"_index":162,"title":{},"content":{"14":{"position":[[252,8]]},"21":{"position":[[7,8]]},"69":{"position":[[187,8]]},"72":{"position":[[41,8]]}},"keywords":{}}],["post",{"_index":90,"title":{"7":{"position":[[14,4]]},"8":{"position":[[18,5]]}},"content":{"8":{"position":[[452,5],[497,4],[536,4]]}},"keywords":{}}],["potenti",{"_index":458,"title":{},"content":{"40":{"position":[[757,9],[812,9]]}},"keywords":{}}],["powershel",{"_index":59,"title":{},"content":{"5":{"position":[[249,11]]}},"keywords":{}}],["practic",{"_index":483,"title":{},"content":{"42":{"position":[[12,9]]}},"keywords":{}}],["precis",{"_index":938,"title":{},"content":{"69":{"position":[[436,10]]}},"keywords":{}}],["predefin",{"_index":787,"title":{},"content":{"56":{"position":[[1946,10]]}},"keywords":{}}],["presenc",{"_index":935,"title":{},"content":{"69":{"position":[[285,8]]}},"keywords":{}}],["present",{"_index":832,"title":{},"content":{"58":{"position":[[1312,7]]},"83":{"position":[[156,12]]}},"keywords":{}}],["primarili",{"_index":1018,"title":{},"content":{"80":{"position":[[289,9]]}},"keywords":{}}],["primer",{"_index":795,"title":{"58":{"position":[[12,7]]}},"content":{},"keywords":{}}],["primit",{"_index":718,"title":{"60":{"position":[[0,9]]}},"content":{"56":{"position":[[140,9]]},"58":{"position":[[1446,9]]},"83":{"position":[[799,9]]}},"keywords":{}}],["principl",{"_index":720,"title":{},"content":{"56":{"position":[[191,10]]}},"keywords":{}}],["prior",{"_index":965,"title":{},"content":{"72":{"position":[[231,5]]}},"keywords":{}}],["process",{"_index":388,"title":{"55":{"position":[[0,7]]}},"content":{"39":{"position":[[141,7],[770,7]]},"40":{"position":[[333,9]]},"43":{"position":[[278,10]]},"53":{"position":[[1167,10]]},"54":{"position":[[469,7],[2454,8]]},"55":{"position":[[110,8],[309,10],[775,7],[1011,7],[1616,7]]}},"keywords":{}}],["product",{"_index":169,"title":{},"content":{"16":{"position":[[21,11]]},"17":{"position":[[11,10]]}},"keywords":{}}],["program",{"_index":785,"title":{},"content":{"56":{"position":[[1913,11]]}},"keywords":{}}],["progress",{"_index":447,"title":{},"content":{"40":{"position":[[559,8]]}},"keywords":{}}],["project",{"_index":50,"title":{"85":{"position":[[0,7]]}},"content":{"5":{"position":[[118,7]]},"19":{"position":[[31,8]]},"54":{"position":[[286,8],[650,8],[1928,7]]},"87":{"position":[[120,7],[214,8],[279,8],[340,8]]}},"keywords":{}}],["project_descript",{"_index":1057,"title":{},"content":{"87":{"position":[[223,19]]}},"keywords":{}}],["project_nam",{"_index":1055,"title":{},"content":{"87":{"position":[[171,12]]}},"keywords":{}}],["prompt",{"_index":58,"title":{},"content":{"5":{"position":[[241,7]]}},"keywords":{}}],["properti",{"_index":806,"title":{},"content":{"58":{"position":[[487,8],[843,10],[1288,10],[1475,9]]},"61":{"position":[[236,10]]},"69":{"position":[[502,10]]},"70":{"position":[[356,11]]}},"keywords":{}}],["propon",{"_index":449,"title":{},"content":{"40":{"position":[[580,11]]},"53":{"position":[[814,9]]}},"keywords":{}}],["protocol",{"_index":788,"title":{},"content":{"56":{"position":[[1957,8]]}},"keywords":{}}],["provid",{"_index":420,"title":{},"content":{"39":{"position":[[717,9]]},"40":{"position":[[540,7]]},"43":{"position":[[105,7]]},"52":{"position":[[89,7]]},"53":{"position":[[608,9],[1009,7]]},"55":{"position":[[846,8]]},"56":{"position":[[343,7]]},"58":{"position":[[1114,7]]},"67":{"position":[[40,7]]},"71":{"position":[[231,7]]}},"keywords":{}}],["provinc",{"_index":569,"title":{},"content":{"53":{"position":[[578,9]]},"54":{"position":[[863,8],[1810,8]]}},"keywords":{}}],["provinci",{"_index":581,"title":{},"content":{"53":{"position":[[870,10]]},"83":{"position":[[278,10]]}},"keywords":{}}],["publish",{"_index":432,"title":{},"content":{"40":{"position":[[44,9]]}},"keywords":{}}],["purpos",{"_index":373,"title":{"39":{"position":[[0,8]]}},"content":{"39":{"position":[[625,7]]}},"keywords":{}}],["qualiti",{"_index":399,"title":{},"content":{"39":{"position":[[287,7]]},"40":{"position":[[90,7]]}},"keywords":{}}],["qualitydata",{"_index":510,"title":{},"content":{"43":{"position":[[230,11]]}},"keywords":{}}],["quantifi",{"_index":663,"title":{},"content":{"54":{"position":[[2215,12]]}},"keywords":{}}],["queue",{"_index":668,"title":{},"content":{"54":{"position":[[2291,6]]}},"keywords":{}}],["quick",{"_index":297,"title":{},"content":{"34":{"position":[[99,5]]},"58":{"position":[[1124,5]]}},"keywords":{}}],["quot;approved"",{"_index":702,"title":{},"content":{"55":{"position":[[1061,22]]}},"keywords":{}}],["quot;ca"",{"_index":738,"title":{},"content":{"56":{"position":[[713,14]]}},"keywords":{}}],["quot;docsversiondropdown"",{"_index":196,"title":{},"content":{"20":{"position":[[185,32]]}},"keywords":{}}],["quot;pend",{"_index":709,"title":{},"content":{"55":{"position":[[1350,13]]}},"keywords":{}}],["quot;property"",{"_index":946,"title":{},"content":{"70":{"position":[[143,21]]}},"keywords":{}}],["quot;publisher."",{"_index":766,"title":{},"content":{"56":{"position":[[1394,22]]}},"keywords":{}}],["quot;seri",{"_index":774,"title":{},"content":{"56":{"position":[[1619,19]]}},"keywords":{}}],["quot;submiss",{"_index":658,"title":{},"content":{"54":{"position":[[2122,17]]}},"keywords":{}}],["quot;submitted"",{"_index":701,"title":{},"content":{"55":{"position":[[1038,22]]}},"keywords":{}}],["quot;und",{"_index":711,"title":{},"content":{"55":{"position":[[1378,11]]}},"keywords":{}}],["quot;what",{"_index":714,"title":{},"content":{"55":{"position":[[1491,10]]}},"keywords":{}}],["quot;wher",{"_index":703,"title":{},"content":{"55":{"position":[[1148,11]]}},"keywords":{}}],["quot;why"",{"_index":685,"title":{},"content":{"55":{"position":[[393,15]]}},"keywords":{}}],["radio",{"_index":749,"title":{},"content":{"56":{"position":[[856,5]]}},"keywords":{}}],["rang",{"_index":303,"title":{},"content":{"34":{"position":[[179,5]]}},"keywords":{}}],["react",{"_index":126,"title":{"10":{"position":[[18,5]]},"37":{"position":[[8,5]]}},"content":{"10":{"position":[[31,5],[60,5],[81,5],[92,8],[214,5],[255,5],[355,5]]},"37":{"position":[[71,5]]}},"keywords":{}}],["read",{"_index":3,"title":{},"content":{"1":{"position":[[1,4]]},"17":{"position":[[201,5]]},"56":{"position":[[1970,7]]}},"keywords":{}}],["readabl",{"_index":755,"title":{},"content":{"56":{"position":[[1060,8]]}},"keywords":{}}],["reader",{"_index":817,"title":{},"content":{"58":{"position":[[781,7]]}},"keywords":{}}],["readi",{"_index":79,"title":{},"content":{"6":{"position":[[319,5]]}},"keywords":{}}],["reason",{"_index":397,"title":{},"content":{"39":{"position":[[264,7]]}},"keywords":{}}],["receiv",{"_index":582,"title":{},"content":{"53":{"position":[[935,8]]}},"keywords":{}}],["recommend",{"_index":39,"title":{},"content":{"4":{"position":[[65,11]]},"29":{"position":[[264,9]]},"69":{"position":[[326,9]]}},"keywords":{}}],["record",{"_index":1019,"title":{},"content":{"80":{"position":[[299,8],[344,8]]}},"keywords":{}}],["reduc",{"_index":444,"title":{},"content":{"40":{"position":[[452,6]]}},"keywords":{}}],["refer",{"_index":261,"title":{"49":{"position":[[0,11]]},"59":{"position":[[0,11]]},"74":{"position":[[0,11]]},"84":{"position":[[0,11]]},"90":{"position":[[0,11]]}},"content":{"31":{"position":[[71,9],[194,9]]},"56":{"position":[[370,9]]},"61":{"position":[[447,5]]},"62":{"position":[[378,9]]},"63":{"position":[[192,9]]},"64":{"position":[[210,9]]},"65":{"position":[[184,9]]},"69":{"position":[[589,9]]},"71":{"position":[[451,9]]},"72":{"position":[[250,9]]},"73":{"position":[[159,9]]},"79":{"position":[[288,6]]},"80":{"position":[[1061,6]]}},"keywords":{}}],["referr",{"_index":579,"title":{},"content":{"53":{"position":[[852,8]]}},"keywords":{}}],["refin",{"_index":601,"title":{},"content":{"54":{"position":[[403,8]]}},"keywords":{}}],["reform",{"_index":395,"title":{},"content":{"39":{"position":[[235,6]]}},"keywords":{}}],["regard",{"_index":633,"title":{},"content":{"54":{"position":[[1293,9]]}},"keywords":{}}],["regex",{"_index":922,"title":{},"content":{"68":{"position":[[33,5]]}},"keywords":{}}],["region",{"_index":567,"title":{},"content":{"53":{"position":[[549,8]]}},"keywords":{}}],["regist",{"_index":995,"title":{},"content":{"79":{"position":[[29,8],[133,8],[251,10]]},"80":{"position":[[328,9],[806,8],[906,8],[1024,10]]}},"keywords":{}}],["registrar",{"_index":1001,"title":{},"content":{"79":{"position":[[170,9]]},"80":{"position":[[943,9]]}},"keywords":{}}],["registri",{"_index":1008,"title":{},"content":{"79":{"position":[[400,8]]},"80":{"position":[[376,9],[1189,8]]}},"keywords":{}}],["regular",{"_index":251,"title":{"68":{"position":[[0,7]]}},"content":{"30":{"position":[[1,7]]},"31":{"position":[[1,7]]},"61":{"position":[[283,7]]},"66":{"position":[[369,7],[490,7]]},"68":{"position":[[1,7]]}},"keywords":{}}],["rel",{"_index":253,"title":{},"content":{"30":{"position":[[58,8]]},"31":{"position":[[211,8]]}},"keywords":{}}],["relat",{"_index":42,"title":{},"content":{"4":{"position":[[101,7]]},"54":{"position":[[2344,10]]},"55":{"position":[[650,7],[1643,6]]},"58":{"position":[[309,7]]},"86":{"position":[[55,7],[80,7]]},"87":{"position":[[107,7]]}},"keywords":{}}],["relationship",{"_index":607,"title":{},"content":{"54":{"position":[[500,12]]},"56":{"position":[[1481,13]]},"58":{"position":[[287,13]]},"70":{"position":[[386,13]]}},"keywords":{}}],["releas",{"_index":179,"title":{},"content":{"19":{"position":[[1,7]]}},"keywords":{}}],["reli",{"_index":820,"title":{},"content":{"58":{"position":[[888,6]]}},"keywords":{}}],["reliabl",{"_index":932,"title":{},"content":{"69":{"position":[[199,8]]}},"keywords":{}}],["reload",{"_index":87,"title":{},"content":{"6":{"position":[[430,7]]}},"keywords":{}}],["remain",{"_index":909,"title":{},"content":{"66":{"position":[[628,6]]}},"keywords":{}}],["rephras",{"_index":647,"title":{},"content":{"54":{"position":[[1658,9]]}},"keywords":{}}],["report",{"_index":394,"title":{},"content":{"39":{"position":[[210,9]]},"43":{"position":[[95,9],[460,9]]}},"keywords":{}}],["reportingact",{"_index":514,"title":{},"content":{"43":{"position":[[332,17]]}},"keywords":{}}],["repres",{"_index":478,"title":{},"content":{"41":{"position":[[227,11]]},"54":{"position":[[70,12],[1415,11]]},"55":{"position":[[70,12],[149,10],[478,9]]},"61":{"position":[[21,9],[89,11],[379,10]]},"62":{"position":[[35,11],[180,11]]},"63":{"position":[[44,11]]},"64":{"position":[[41,11]]},"69":{"position":[[43,11]]},"71":{"position":[[20,9]]},"72":{"position":[[22,9]]},"73":{"position":[[17,9]]},"86":{"position":[[31,9]]}},"keywords":{}}],["represent",{"_index":640,"title":{},"content":{"54":{"position":[[1497,14]]},"62":{"position":[[332,15]]}},"keywords":{}}],["requir",{"_index":410,"title":{},"content":{"39":{"position":[[484,8]]},"40":{"position":[[177,9]]},"54":{"position":[[222,7],[355,8],[1958,8],[2140,7]]},"66":{"position":[[831,7]]},"69":{"position":[[414,7]]},"70":{"position":[[193,13],[331,8]]}},"keywords":{}}],["residentiald",{"_index":972,"title":{},"content":{"75":{"position":[[47,15]]}},"keywords":{}}],["resolv",{"_index":920,"title":{},"content":{"67":{"position":[[169,9]]}},"keywords":{}}],["resourc",{"_index":379,"title":{"66":{"position":[[0,8]]}},"content":{"39":{"position":[[47,8],[553,8]]},"66":{"position":[[11,8]]},"67":{"position":[[74,8]]}},"keywords":{}}],["respect",{"_index":200,"title":{},"content":{"21":{"position":[[48,10]]},"53":{"position":[[335,10]]},"54":{"position":[[1376,7]]}},"keywords":{}}],["rest",{"_index":794,"title":{},"content":{"56":{"position":[[2116,4]]}},"keywords":{}}],["result",{"_index":258,"title":{},"content":{"30":{"position":[[188,7]]}},"keywords":{}}],["return",{"_index":137,"title":{},"content":{"10":{"position":[[177,6]]},"32":{"position":[[151,6],[270,6]]}},"keywords":{}}],["review",{"_index":638,"title":{},"content":{"54":{"position":[[1473,6]]},"66":{"position":[[847,6]]}},"keywords":{}}],["review"",{"_index":710,"title":{},"content":{"55":{"position":[[1364,13]]}},"keywords":{}}],["rfc",{"_index":846,"title":{},"content":{"61":{"position":[[134,3]]},"65":{"position":[[161,3]]},"66":{"position":[[700,3],[723,3]]}},"keywords":{}}],["right",{"_index":621,"title":{},"content":{"54":{"position":[[962,5],[1004,6]]}},"keywords":{}}],["road",{"_index":1031,"title":{},"content":{"80":{"position":[[749,5]]}},"keywords":{}}],["role",{"_index":549,"title":{},"content":{"53":{"position":[[36,5],[721,4]]}},"keywords":{}}],["round",{"_index":672,"title":{},"content":{"54":{"position":[[2388,7]]}},"keywords":{}}],["rule",{"_index":473,"title":{},"content":{"41":{"position":[[102,5]]}},"keywords":{}}],["run",{"_index":51,"title":{},"content":{"5":{"position":[[136,3],[391,3]]},"6":{"position":[[1,3],[48,3],[229,3]]},"16":{"position":[[38,3]]},"17":{"position":[[42,3]]},"19":{"position":[[45,3]]},"25":{"position":[[44,3]]},"27":{"position":[[45,3],[132,3]]}},"keywords":{}}],["same",{"_index":463,"title":{"41":{"position":[[24,4]]}},"content":{"41":{"position":[[182,4]]},"80":{"position":[[541,4]]}},"keywords":{}}],["scalabl",{"_index":527,"title":{},"content":{"43":{"position":[[840,8]]}},"keywords":{}}],["scenario",{"_index":843,"title":{},"content":{"61":{"position":[[61,10]]},"69":{"position":[[392,9]]}},"keywords":{}}],["schema",{"_index":531,"title":{"44":{"position":[[0,8]]},"58":{"position":[[5,6]]}},"content":{"56":{"position":[[1417,6],[1426,6],[1465,6],[1536,7],[1590,7]]},"58":{"position":[[8,6],[214,6],[344,6],[401,7],[452,6],[583,7],[735,7],[1009,7],[1094,7]]},"59":{"position":[[29,6]]},"61":{"position":[[465,6]]},"62":{"position":[[396,6],[560,6]]},"63":{"position":[[210,6]]},"64":{"position":[[228,6]]},"65":{"position":[[202,6]]},"66":{"position":[[141,6],[274,6]]},"67":{"position":[[226,6]]},"68":{"position":[[93,6]]},"69":{"position":[[607,6]]},"70":{"position":[[423,7],[523,6]]},"71":{"position":[[469,6]]},"72":{"position":[[171,7],[268,6]]},"73":{"position":[[177,6]]},"76":{"position":[[14,6]]},"77":{"position":[[6,6]]}},"keywords":{}}],["schema.org/draft",{"_index":809,"title":{},"content":{"58":{"position":[[526,16]]}},"keywords":{}}],["schemasourc",{"_index":535,"title":{},"content":{"47":{"position":[[1,12]]}},"keywords":{}}],["schemasourceexampl",{"_index":1033,"title":{},"content":{"81":{"position":[[1,19]]},"88":{"position":[[1,19]]}},"keywords":{}}],["scheme",{"_index":730,"title":{},"content":{"56":{"position":[[447,7],[691,8]]}},"keywords":{}}],["scope",{"_index":681,"title":{"79":{"position":[[0,6]]},"86":{"position":[[0,6]]}},"content":{"55":{"position":[[300,5]]}},"keywords":{}}],["sdm",{"_index":559,"title":{},"content":{"53":{"position":[[278,5]]}},"keywords":{}}],["seamlessli",{"_index":192,"title":{},"content":{"20":{"position":[[13,10]]},"26":{"position":[[13,10]]}},"keywords":{}}],["search",{"_index":16,"title":{},"content":{"1":{"position":[[168,6]]}},"keywords":{}}],["section",{"_index":306,"title":{},"content":{"34":{"position":[[274,7]]},"53":{"position":[[6,7]]},"54":{"position":[[6,7]]},"55":{"position":[[6,7]]},"62":{"position":[[59,7]]},"63":{"position":[[68,7]]},"64":{"position":[[65,7],[193,7]]},"65":{"position":[[110,7],[171,7]]}},"keywords":{}}],["sector",{"_index":380,"title":{},"content":{"39":{"position":[[56,6]]},"40":{"position":[[354,7]]},"43":{"position":[[16,6],[319,6]]}},"keywords":{}}],["see",{"_index":255,"title":{},"content":{"30":{"position":[[86,3],[138,3],[202,3]]},"41":{"position":[[76,3]]},"83":{"position":[[300,4]]}},"keywords":{}}],["seek",{"_index":555,"title":{},"content":{"53":{"position":[[179,7]]}},"keywords":{}}],["semant",{"_index":751,"title":{},"content":{"56":{"position":[[943,8]]}},"keywords":{}}],["separ",{"_index":524,"title":{},"content":{"43":{"position":[[753,10]]}},"keywords":{}}],["sequenc",{"_index":676,"title":{},"content":{"55":{"position":[[181,10]]}},"keywords":{}}],["sequenti",{"_index":695,"title":{},"content":{"55":{"position":[[739,10]]}},"keywords":{}}],["serv",{"_index":77,"title":{},"content":{"6":{"position":[[279,6]]},"17":{"position":[[46,5],[78,6]]},"56":{"position":[[595,5]]},"58":{"position":[[105,6]]}},"keywords":{}}],["server",{"_index":66,"title":{},"content":{"6":{"position":[[21,7],[311,7]]}},"keywords":{}}],["servic",{"_index":1038,"title":{},"content":{"83":{"position":[[231,7]]}},"keywords":{}}],["set",{"_index":407,"title":{},"content":{"39":{"position":[[436,3]]},"41":{"position":[[1,3]]},"53":{"position":[[217,3]]},"54":{"position":[[340,3],[676,3],[1938,3]]},"55":{"position":[[498,3],[692,3]]},"58":{"position":[[1179,3],[1281,3]]}},"keywords":{}}],["shall",{"_index":692,"title":{},"content":{"55":{"position":[[576,5],[808,5],[1092,5],[1430,5]]},"61":{"position":[[80,5]]},"62":{"position":[[26,5],[149,5],[348,5]]},"63":{"position":[[35,5]]},"64":{"position":[[32,5]]},"65":{"position":[[83,5],[143,5]]},"66":{"position":[[313,5],[459,5]]},"70":{"position":[[69,5]]},"80":{"position":[[27,5]]}},"keywords":{}}],["share",{"_index":481,"title":{},"content":{"42":{"position":[[1,5]]},"43":{"position":[[638,5]]}},"keywords":{}}],["shift",{"_index":423,"title":{},"content":{"39":{"position":[[747,7],[830,6]]}},"keywords":{}}],["short",{"_index":1056,"title":{},"content":{"87":{"position":[[196,5]]}},"keywords":{}}],["shorthand",{"_index":725,"title":{},"content":{"56":{"position":[[353,9]]}},"keywords":{}}],["show",{"_index":830,"title":{},"content":{"58":{"position":[[1218,4]]}},"keywords":{}}],["showcaseget",{"_index":20,"title":{},"content":{"1":{"position":[[214,11]]}},"keywords":{}}],["sidebar",{"_index":152,"title":{"14":{"position":[[14,8]]}},"content":{"14":{"position":[[36,7],[97,7],[276,7]]},"34":{"position":[[289,8]]}},"keywords":{}}],["sidebar_label",{"_index":158,"title":{},"content":{"14":{"position":[[144,14]]}},"keywords":{}}],["sidebar_posit",{"_index":160,"title":{},"content":{"14":{"position":[[165,17]]}},"keywords":{}}],["sidebars.j",{"_index":164,"title":{},"content":{"14":{"position":[[298,12],[312,11]]}},"keywords":{}}],["similar",{"_index":563,"title":{},"content":{"53":{"position":[[407,7]]}},"keywords":{}}],["singl",{"_index":499,"title":{},"content":{"43":{"position":[[69,6]]},"54":{"position":[[145,7],[2065,6]]},"73":{"position":[[57,6]]}},"keywords":{}}],["site",{"_index":6,"title":{"5":{"position":[[15,5]]},"6":{"position":[[11,5]]},"15":{"position":[[12,4]]},"16":{"position":[[11,5]]},"17":{"position":[[12,5]]},"22":{"position":[[15,4]]},"25":{"position":[[21,5]]},"27":{"position":[[21,5]]}},"content":{"1":{"position":[[44,4]]},"3":{"position":[[31,5]]},"5":{"position":[[27,4]]},"6":{"position":[[170,5],[425,4]]},"16":{"position":[[12,4]]},"25":{"position":[[12,4],[86,4]]},"27":{"position":[[12,4],[86,4]]}},"keywords":{}}],["skip",{"_index":822,"title":{},"content":{"58":{"position":[[934,7]]}},"keywords":{}}],["slug",{"_index":97,"title":{},"content":{"8":{"position":[[82,5]]},"29":{"position":[[157,5]]}},"keywords":{}}],["small",{"_index":175,"title":{},"content":{"17":{"position":[[190,5]]}},"keywords":{}}],["sme",{"_index":589,"title":{},"content":{"53":{"position":[[1101,5]]}},"keywords":{}}],["smoothli",{"_index":454,"title":{},"content":{"40":{"position":[[658,8]]}},"keywords":{}}],["softwar",{"_index":593,"title":{},"content":{"53":{"position":[[1178,9]]}},"keywords":{}}],["sole",{"_index":934,"title":{},"content":{"69":{"position":[[265,6]]}},"keywords":{}}],["solut",{"_index":491,"title":{},"content":{"42":{"position":[[155,9]]}},"keywords":{}}],["space",{"_index":376,"title":{},"content":{"39":{"position":[[25,6]]},"80":{"position":[[742,6]]}},"keywords":{}}],["spec",{"_index":319,"title":{},"content":{"36":{"position":[[40,5]]}},"keywords":{}}],["special",{"_index":280,"title":{},"content":{"33":{"position":[[18,7]]}},"keywords":{}}],["specialist",{"_index":590,"title":{},"content":{"53":{"position":[[1112,10]]}},"keywords":{}}],["specif",{"_index":227,"title":{"47":{"position":[[0,14]]},"81":{"position":[[0,14]]},"88":{"position":[[0,14]]}},"content":{"27":{"position":[[23,8]]},"40":{"position":[[54,13]]},"52":{"position":[[64,13]]},"53":{"position":[[1128,8]]},"54":{"position":[[83,8],[153,8],[822,8],[1750,8],[2432,8]]},"55":{"position":[[83,8],[535,8],[607,8]]},"56":{"position":[[64,13],[91,8],[400,8]]},"58":{"position":[[176,8],[767,13]]},"62":{"position":[[426,8]]},"69":{"position":[[637,8]]},"70":{"position":[[462,8]]},"71":{"position":[[499,8]]},"86":{"position":[[93,8]]}},"keywords":{}}],["specifi",{"_index":246,"title":{},"content":{"29":{"position":[[378,10]]},"39":{"position":[[409,9]]},"61":{"position":[[121,9]]},"62":{"position":[[128,10],[252,10]]},"66":{"position":[[525,10]]},"67":{"position":[[57,7]]}},"keywords":{}}],["spot",{"_index":508,"title":{},"content":{"43":{"position":[[190,4]]}},"keywords":{}}],["spreadsheet",{"_index":759,"title":{},"content":{"56":{"position":[[1185,11]]}},"keywords":{}}],["sql",{"_index":769,"title":{},"content":{"56":{"position":[[1567,4],[2094,3]]}},"keywords":{}}],["src/components/hellodocusaurus.j",{"_index":278,"title":{},"content":{"32":{"position":[[207,33]]}},"keywords":{}}],["src/pages/mi",{"_index":127,"title":{},"content":{"10":{"position":[[18,12],[47,12]]},"11":{"position":[[18,12],[50,12]]}},"keywords":{}}],["stabl",{"_index":526,"title":{},"content":{"43":{"position":[[818,7]]}},"keywords":{}}],["stage",{"_index":690,"title":{},"content":{"55":{"position":[[505,6],[658,7],[666,5],[723,5],[802,5],[1115,5]]}},"keywords":{}}],["standard",{"_index":405,"title":{"75":{"position":[[11,10]]},"76":{"position":[[10,10]]}},"content":{"39":{"position":[[400,8]]},"40":{"position":[[204,8]]},"43":{"position":[[778,10],[941,10]]},"56":{"position":[[626,9],[908,12],[1786,12]]},"62":{"position":[[567,9]]},"66":{"position":[[281,9]]},"75":{"position":[[14,10],[104,9]]},"83":{"position":[[777,8]]}},"keywords":{}}],["standardb.c",{"_index":973,"title":{},"content":{"75":{"position":[[72,12]]}},"keywords":{}}],["standards.identifi",{"_index":485,"title":{},"content":{"42":{"position":[[54,18]]}},"keywords":{}}],["start",{"_index":26,"title":{"3":{"position":[[8,8]]},"6":{"position":[[0,5]]},"25":{"position":[[0,5]]},"38":{"position":[[8,7]]}},"content":{"3":{"position":[[5,7]]},"6":{"position":[[52,5],[233,5]]},"25":{"position":[[1,5],[48,5],[150,7]]}},"keywords":{}}],["state",{"_index":307,"title":{"35":{"position":[[0,5]]}},"content":{"54":{"position":[[1432,6]]},"55":{"position":[[713,7],[759,6],[883,6],[913,5],[1086,5],[1314,5],[1464,5]]}},"keywords":{}}],["static",{"_index":170,"title":{},"content":{"16":{"position":[[54,6]]},"31":{"position":[[95,6]]}},"keywords":{}}],["static/img/docusaurus.png",{"_index":262,"title":{},"content":{"31":{"position":[[112,28]]}},"keywords":{}}],["station",{"_index":750,"title":{},"content":{"56":{"position":[[862,9]]}},"keywords":{}}],["statu",{"_index":705,"title":{},"content":{"55":{"position":[[1185,6]]}},"keywords":{}}],["status",{"_index":713,"title":{},"content":{"55":{"position":[[1421,8]]}},"keywords":{}}],["statutori",{"_index":558,"title":{},"content":{"53":{"position":[[253,9]]},"54":{"position":[[994,9],[1268,9]]}},"keywords":{}}],["store",{"_index":389,"title":{},"content":{"39":{"position":[[153,5]]},"56":{"position":[[1711,7]]},"62":{"position":[[169,6]]},"83":{"position":[[16,6],[146,5]]}},"keywords":{}}],["strata",{"_index":1029,"title":{},"content":{"80":{"position":[[730,7]]}},"keywords":{}}],["strategi",{"_index":522,"title":{},"content":{"43":{"position":[[711,8],[793,8]]}},"keywords":{}}],["string",{"_index":534,"title":{"61":{"position":[[0,7]]}},"content":{"46":{"position":[[7,6]]},"56":{"position":[[301,7]]},"61":{"position":[[1,7],[72,7],[195,7],[368,6]]},"66":{"position":[[305,7]]},"70":{"position":[[87,7]]},"80":{"position":[[234,6],[530,6]]},"83":{"position":[[493,8]]},"87":{"position":[[189,6],[248,6]]}},"keywords":{}}],["strip",{"_index":823,"title":{},"content":{"58":{"position":[[950,8]]}},"keywords":{}}],["structur",{"_index":533,"title":{"46":{"position":[[0,10]]},"56":{"position":[[0,10]]},"80":{"position":[[0,10]]},"87":{"position":[[0,10]]}},"content":{"56":{"position":[[34,10]]},"58":{"position":[[68,10],[146,10],[253,11],[858,11]]},"70":{"position":[[221,12]]}},"keywords":{}}],["style",{"_index":352,"title":{},"content":{"37":{"position":[[168,8]]}},"keywords":{}}],["subgraph",{"_index":334,"title":{},"content":{"36":{"position":[[217,8],[249,8]]}},"keywords":{}}],["subject",{"_index":587,"title":{},"content":{"53":{"position":[[1055,7],[1079,7]]}},"keywords":{}}],["submiss",{"_index":577,"title":{},"content":{"53":{"position":[[801,12]]},"54":{"position":[[1645,12],[2028,10]]}},"keywords":{}}],["submit",{"_index":608,"title":{},"content":{"54":{"position":[[527,9]]}},"keywords":{}}],["substitut",{"_index":918,"title":{},"content":{"67":{"position":[[132,11]]}},"keywords":{}}],["such",{"_index":592,"title":{},"content":{"53":{"position":[[1145,4]]},"54":{"position":[[1769,4]]},"61":{"position":[[247,4]]},"62":{"position":[[263,4]]},"69":{"position":[[317,5],[513,4]]},"71":{"position":[[110,5],[325,4]]}},"keywords":{}}],["support",{"_index":206,"title":{},"content":{"23":{"position":[[36,7]]},"30":{"position":[[28,10]]},"31":{"position":[[29,10]]},"32":{"position":[[26,9]]},"34":{"position":[[25,8],[195,10]]},"53":{"position":[[764,7]]},"62":{"position":[[491,9]]},"66":{"position":[[205,9],[785,11]]}},"keywords":{}}],["sure",{"_index":602,"title":{},"content":{"54":{"position":[[416,4]]}},"keywords":{}}],["surveyor",{"_index":646,"title":{},"content":{"54":{"position":[[1636,8]]}},"keywords":{}}],["synonym",{"_index":578,"title":{},"content":{"53":{"position":[[826,7]]},"54":{"position":[[1996,7]]}},"keywords":{}}],["syntax",{"_index":271,"title":{},"content":{"32":{"position":[[41,6]]},"33":{"position":[[26,6]]},"34":{"position":[[267,6]]},"56":{"position":[[1659,7]]}},"keywords":{}}],["system",{"_index":401,"title":{},"content":{"39":{"position":[[343,7]]},"40":{"position":[[102,6],[257,7],[443,8],[482,7],[638,7],[711,7]]},"43":{"position":[[510,7],[571,7],[919,7]]},"56":{"position":[[829,6]]},"87":{"position":[[162,8]]}},"keywords":{}}],["sébastien",{"_index":111,"title":{},"content":{"8":{"position":[[267,9]]}},"keywords":{}}],["tabular",{"_index":760,"title":{},"content":{"56":{"position":[[1200,7]]}},"keywords":{}}],["tag",{"_index":116,"title":{},"content":{"8":{"position":[[388,5]]},"29":{"position":[[178,5],[346,4]]}},"keywords":{}}],["take",{"_index":290,"title":{},"content":{"33":{"position":[[213,4]]},"54":{"position":[[898,4]]}},"keywords":{}}],["taken",{"_index":636,"title":{},"content":{"54":{"position":[[1365,5]]}},"keywords":{}}],["talk",{"_index":521,"title":{},"content":{"43":{"position":[[648,4]]}},"keywords":{}}],["tantali",{"_index":1021,"title":{},"content":{"80":{"position":[[425,8]]}},"keywords":{}}],["tbd",{"_index":532,"title":{},"content":{"44":{"position":[[1,3]]},"48":{"position":[[1,3]]},"49":{"position":[[1,3]]},"89":{"position":[[1,3]]},"90":{"position":[[1,3]]}},"keywords":{}}],["td",{"_index":309,"title":{},"content":{"35":{"position":[[18,2]]}},"keywords":{}}],["teams.creat",{"_index":471,"title":{},"content":{"41":{"position":[[83,12]]}},"keywords":{}}],["technic",{"_index":450,"title":{"76":{"position":[[0,9]]}},"content":{"40":{"position":[[599,9]]}},"keywords":{}}],["technolog",{"_index":523,"title":{},"content":{"43":{"position":[[724,10]]}},"keywords":{}}],["templat",{"_index":47,"title":{"67":{"position":[[4,9]]}},"content":{"5":{"position":[[50,9],[73,8]]},"67":{"position":[[5,9],[31,8]]}},"keywords":{}}],["template)rfc",{"_index":991,"title":{},"content":{"76":{"position":[[265,12]]}},"keywords":{}}],["tenur",{"_index":619,"title":{},"content":{"54":{"position":[[947,7]]}},"keywords":{}}],["term",{"_index":540,"title":{},"content":{"51":{"position":[[1,4]]},"52":{"position":[[15,5]]},"53":{"position":[[122,4]]},"54":{"position":[[115,4],[1111,4],[1892,4]]},"55":{"position":[[120,4],[1624,5]]},"56":{"position":[[15,5],[113,4],[921,5],[1038,5],[1327,4]]}},"keywords":{}}],["termin",{"_index":60,"title":{},"content":{"5":{"position":[[261,9],[295,8]]},"6":{"position":[[204,8]]}},"keywords":{}}],["terminolog",{"_index":538,"title":{"50":{"position":[[0,11]]}},"content":{"52":{"position":[[136,11]]}},"keywords":{}}],["terms.gath",{"_index":475,"title":{},"content":{"41":{"position":[[187,12]]}},"keywords":{}}],["test",{"_index":171,"title":{},"content":{"17":{"position":[[1,4]]}},"keywords":{}}],["text",{"_index":240,"title":{},"content":{"29":{"position":[[229,4]]},"58":{"position":[[676,4]]}},"keywords":{}}],["textual",{"_index":842,"title":{},"content":{"61":{"position":[[31,7]]}},"keywords":{}}],["theecma",{"_index":923,"title":{},"content":{"68":{"position":[[58,7]]}},"keywords":{}}],["thejson",{"_index":868,"title":{},"content":{"62":{"position":[[388,7]]},"63":{"position":[[202,7]]},"64":{"position":[[220,7]]},"65":{"position":[[194,7]]},"66":{"position":[[133,7]]},"67":{"position":[[218,7]]},"68":{"position":[[85,7]]},"69":{"position":[[599,7]]},"70":{"position":[[515,7]]},"71":{"position":[[461,7]]},"72":{"position":[[260,7]]},"73":{"position":[[169,7]]}},"keywords":{}}],["theme/layout",{"_index":131,"title":{},"content":{"10":{"position":[[120,16]]}},"keywords":{}}],["themeconfig",{"_index":195,"title":{},"content":{"20":{"position":[[143,12]]},"26":{"position":[[143,12]]}},"keywords":{}}],["themeconfigadd",{"_index":12,"title":{},"content":{"1":{"position":[[121,14]]}},"keywords":{}}],["thing",{"_index":625,"title":{},"content":{"54":{"position":[[1125,7]]}},"keywords":{}}],["thought",{"_index":757,"title":{},"content":{"56":{"position":[[1146,7]]}},"keywords":{}}],["three",{"_index":1047,"title":{},"content":{"83":{"position":[[606,5]]}},"keywords":{}}],["through",{"_index":78,"title":{},"content":{"6":{"position":[[289,7]]},"34":{"position":[[59,7]]},"43":{"position":[[28,7]]},"55":{"position":[[252,8],[791,8]]}},"keywords":{}}],["time",{"_index":224,"title":{"62":{"position":[[9,5]]}},"content":{"25":{"position":[[236,5]]},"40":{"position":[[142,5]]},"54":{"position":[[1075,4]]},"62":{"position":[[13,4],[144,4],[244,4],[287,4],[300,4],[327,4],[372,5],[509,4]]},"66":{"position":[[223,4]]},"75":{"position":[[67,4]]}},"keywords":{}}],["time)rfc",{"_index":983,"title":{},"content":{"76":{"position":[[100,8]]}},"keywords":{}}],["timenam",{"_index":975,"title":{},"content":{"75":{"position":[[127,10]]}},"keywords":{}}],["timesdata",{"_index":512,"title":{},"content":{"43":{"position":[[289,9]]}},"keywords":{}}],["tip",{"_index":283,"title":{},"content":{"33":{"position":[[80,4],[176,3]]}},"keywords":{}}],["tip[mi",{"_index":282,"title":{},"content":{"33":{"position":[[70,9]]}},"keywords":{}}],["titl",{"_index":99,"title":{},"content":{"8":{"position":[[98,6],[145,6],[284,6]]},"29":{"position":[[95,6],[114,5],[323,6]]},"54":{"position":[[1023,6]]},"79":{"position":[[23,5],[127,5],[223,5],[262,6],[278,5]]},"80":{"position":[[322,5],[800,5],[900,5],[996,5],[1035,6],[1051,5]]}},"keywords":{}}],["title="src/components/hellodocusaurus.js"",{"_index":274,"title":{},"content":{"32":{"position":[[70,51]]}},"keywords":{}}],["top",{"_index":233,"title":{},"content":{"29":{"position":[[41,3]]}},"keywords":{}}],["topic",{"_index":801,"title":{},"content":{"58":{"position":[[317,6]]}},"keywords":{}}],["torfc",{"_index":879,"title":{},"content":{"63":{"position":[[180,5]]},"64":{"position":[[181,5]]}},"keywords":{}}],["track",{"_index":448,"title":{"55":{"position":[[8,9]]}},"content":{"40":{"position":[[568,8]]},"87":{"position":[[89,5]]}},"keywords":{}}],["transform",{"_index":460,"title":{},"content":{"40":{"position":[[797,14]]},"42":{"position":[[171,15]]},"43":{"position":[[895,9]]},"83":{"position":[[758,11]]}},"keywords":{}}],["translat",{"_index":204,"title":{"22":{"position":[[0,9]]},"24":{"position":[[0,9]]}},"content":{"24":{"position":[[185,9]]},"25":{"position":[[166,11]]}},"keywords":{}}],["transmit",{"_index":778,"title":{},"content":{"56":{"position":[[1722,12]]}},"keywords":{}}],["tri",{"_index":29,"title":{},"content":{"3":{"position":[[41,3]]}},"keywords":{}}],["true",{"_index":960,"title":{},"content":{"72":{"position":[[58,4],[126,4]]}},"keywords":{}}],["tutori",{"_index":23,"title":{"2":{"position":[[0,8]]}},"content":{"14":{"position":[[405,11]]}},"keywords":{}}],["tutorial_basics/cr",{"_index":167,"title":{},"content":{"14":{"position":[[424,24]]}},"keywords":{}}],["tutorialsidebar",{"_index":165,"title":{},"content":{"14":{"position":[[341,16]]}},"keywords":{}}],["two",{"_index":959,"title":{},"content":{"72":{"position":[[37,3]]}},"keywords":{}}],["type",{"_index":57,"title":{"60":{"position":[[10,5]]}},"content":{"5":{"position":[[210,4]]},"14":{"position":[[380,5]]},"20":{"position":[[179,5]]},"26":{"position":[[179,5]]},"39":{"position":[[100,5],[465,5]]},"46":{"position":[[1,5]]},"54":{"position":[[1905,4]]},"56":{"position":[[133,4],[155,4],[220,4],[272,5],[1702,4],[1805,4],[2058,5]]},"58":{"position":[[185,4],[1441,4]]},"61":{"position":[[355,5],[535,6]]},"69":{"position":[[60,4],[378,4]]},"71":{"position":[[100,6],[159,4]]},"80":{"position":[[177,4]]},"83":{"position":[[809,5]]},"86":{"position":[[11,4]]},"87":{"position":[[18,4]]}},"keywords":{}}],["type.requir",{"_index":831,"title":{},"content":{"58":{"position":[[1243,13]]}},"keywords":{}}],["types.cr",{"_index":488,"title":{},"content":{"42":{"position":[[118,12]]}},"keywords":{}}],["typesrfc",{"_index":978,"title":{},"content":{"76":{"position":[[21,8]]}},"keywords":{}}],["typic",{"_index":707,"title":{},"content":{"55":{"position":[[1324,9]]},"56":{"position":[[455,9],[975,9]]},"58":{"position":[[356,9]]}},"keywords":{}}],["uid",{"_index":734,"title":{},"content":{"56":{"position":[[536,6]]}},"keywords":{}}],["ultim",{"_index":519,"title":{},"content":{"43":{"position":[[410,10]]}},"keywords":{}}],["umbrella",{"_index":624,"title":{},"content":{"54":{"position":[[1102,8]]}},"keywords":{}}],["uml",{"_index":770,"title":{},"content":{"56":{"position":[[1572,4]]}},"keywords":{}}],["undefin",{"_index":969,"title":{},"content":{"73":{"position":[[148,10]]}},"keywords":{}}],["under",{"_index":305,"title":{},"content":{"34":{"position":[[249,5]]}},"keywords":{}}],["understand",{"_index":433,"title":{},"content":{"40":{"position":[[127,10]]},"41":{"position":[[166,11]]},"43":{"position":[[582,10]]},"52":{"position":[[118,13]]},"58":{"position":[[804,10]]},"87":{"position":[[327,10]]}},"keywords":{}}],["uniqu",{"_index":732,"title":{},"content":{"56":{"position":[[496,6]]},"58":{"position":[[563,6]]},"67":{"position":[[67,6]]},"71":{"position":[[333,11]]},"79":{"position":[[86,8]]},"80":{"position":[[859,8]]},"87":{"position":[[75,6]]}},"keywords":{}}],["unit",{"_index":726,"title":{},"content":{"56":{"position":[[382,4]]}},"keywords":{}}],["univers",{"_index":894,"title":{},"content":{"66":{"position":[[1,9]]}},"keywords":{}}],["unix/epochtim",{"_index":866,"title":{},"content":{"62":{"position":[[220,15]]}},"keywords":{}}],["unless",{"_index":863,"title":{},"content":{"62":{"position":[[111,6]]}},"keywords":{}}],["unord",{"_index":942,"title":{},"content":{"70":{"position":[[22,9]]}},"keywords":{}}],["unreleas",{"_index":190,"title":{},"content":{"19":{"position":[[321,10]]}},"keywords":{}}],["up",{"_index":464,"title":{},"content":{"41":{"position":[[5,2]]},"58":{"position":[[1223,2]]}},"keywords":{}}],["upcom",{"_index":189,"title":{},"content":{"19":{"position":[[311,9]]}},"keywords":{}}],["updat",{"_index":198,"title":{"21":{"position":[[0,6]]}},"content":{"21":{"position":[[104,7],[158,7]]},"55":{"position":[[1234,6]]}},"keywords":{}}],["upon",{"_index":821,"title":{},"content":{"58":{"position":[[895,4]]}},"keywords":{}}],["uri",{"_index":811,"title":{"67":{"position":[[0,3]]}},"content":{"58":{"position":[[570,3]]},"66":{"position":[[48,3]]},"67":{"position":[[1,3],[27,3],[158,3]]},"76":{"position":[[260,4]]}},"keywords":{}}],["uri)rfc",{"_index":985,"title":{},"content":{"76":{"position":[[130,8]]}},"keywords":{}}],["url",{"_index":107,"title":{},"content":{"8":{"position":[[179,4],[313,4]]},"29":{"position":[[174,3]]},"30":{"position":[[45,3]]}},"keywords":{}}],["us",{"_index":45,"title":{},"content":{"5":{"position":[[32,5]]},"25":{"position":[[216,3]]},"30":{"position":[[39,5]]},"31":{"position":[[49,3],[270,6],[324,5]]},"33":{"position":[[85,3],[180,3]]},"34":{"position":[[135,5]]},"37":{"position":[[61,5]]},"42":{"position":[[165,5]]},"52":{"position":[[47,4]]},"53":{"position":[[631,3]]},"54":{"position":[[61,4],[1782,4],[1882,4]]},"55":{"position":[[61,4]]},"56":{"position":[[621,4],[656,4],[1561,5],[1998,5]]},"58":{"position":[[27,4],[756,6]]},"61":{"position":[[13,4]]},"62":{"position":[[317,5]]},"65":{"position":[[74,5],[134,5]]},"66":{"position":[[37,3],[107,4],[429,5],[450,5],[515,4],[896,5]]},"69":{"position":[[336,5]]},"70":{"position":[[13,4]]},"71":{"position":[[12,4],[203,3],[405,4]]},"72":{"position":[[14,4]]},"73":{"position":[[9,4]]}},"keywords":{}}],["usabl",{"_index":436,"title":{},"content":{"40":{"position":[[228,6]]}},"keywords":{}}],["usag",{"_index":546,"title":{},"content":{"52":{"position":[[148,6]]}},"keywords":{}}],["usage.properti",{"_index":829,"title":{},"content":{"58":{"position":[[1158,16]]}},"keywords":{}}],["usual",{"_index":691,"title":{},"content":{"55":{"position":[[516,7]]}},"keywords":{}}],["utc",{"_index":867,"title":{},"content":{"62":{"position":[[368,3]]}},"keywords":{}}],["utf",{"_index":844,"title":{},"content":{"61":{"position":[[104,3]]},"76":{"position":[[114,4]]}},"keywords":{}}],["uuid",{"_index":735,"title":{},"content":{"56":{"position":[[547,7],[577,5]]},"66":{"position":[[186,4],[300,4],[354,4],[413,4],[442,4],[536,5],[745,4],[806,4],[878,4]]},"76":{"position":[[144,5],[298,5]]},"87":{"position":[[68,4]]}},"keywords":{}}],["v1",{"_index":986,"title":{},"content":{"76":{"position":[[150,2]]}},"keywords":{}}],["v4",{"_index":902,"title":{},"content":{"66":{"position":[[418,2]]}},"keywords":{}}],["v6",{"_index":993,"title":{},"content":{"76":{"position":[[304,2]]}},"keywords":{}}],["valid",{"_index":501,"title":{},"content":{"43":{"position":[[85,9]]},"58":{"position":[[1354,6]]},"80":{"position":[[3,5]]}},"keywords":{}}],["valu",{"_index":929,"title":{},"content":{"69":{"position":[[76,6],[169,7],[221,5],[259,5]]},"70":{"position":[[36,5],[105,5]]},"72":{"position":[[50,7],[116,6]]},"73":{"position":[[30,6],[75,5],[138,6]]},"80":{"position":[[690,6]]},"83":{"position":[[34,6]]}},"keywords":{}}],["vari",{"_index":642,"title":{},"content":{"54":{"position":[[1577,7]]}},"keywords":{}}],["varieti",{"_index":765,"title":{},"content":{"56":{"position":[[1353,7]]}},"keywords":{}}],["variou",{"_index":453,"title":{},"content":{"40":{"position":[[630,7]]},"43":{"position":[[491,7]]},"53":{"position":[[28,7]]},"54":{"position":[[903,7]]},"70":{"position":[[185,7]]}},"keywords":{}}],["veri",{"_index":174,"title":{},"content":{"17":{"position":[[185,4]]}},"keywords":{}}],["verifi",{"_index":797,"title":{},"content":{"58":{"position":[[56,6]]}},"keywords":{}}],["version",{"_index":35,"title":{"18":{"position":[[12,8]]},"19":{"position":[[14,8]]},"20":{"position":[[6,7]]},"21":{"position":[[19,8]]}},"content":{"4":{"position":[[9,7]]},"19":{"position":[[11,7],[189,9],[243,7]]},"20":{"position":[[31,9],[47,7],[244,7]]},"21":{"position":[[24,9]]},"58":{"position":[[634,10]]},"59":{"position":[[36,7]]},"66":{"position":[[359,9],[635,7],[750,8],[883,8]]},"77":{"position":[[13,7]]}},"keywords":{}}],["versioned_docs/vers",{"_index":183,"title":{},"content":{"19":{"position":[[110,22]]},"21":{"position":[[68,22]]}},"keywords":{}}],["versions.json",{"_index":184,"title":{},"content":{"19":{"position":[[141,13]]}},"keywords":{}}],["view",{"_index":80,"title":{},"content":{"6":{"position":[[336,4]]},"43":{"position":[[23,4],[126,4]]}},"keywords":{}}],["visit",{"_index":304,"title":{},"content":{"34":{"position":[[206,5]]}},"keywords":{}}],["vocabulari",{"_index":595,"title":{},"content":{"54":{"position":[[50,10]]},"55":{"position":[[50,10]]},"56":{"position":[[872,10],[885,10]]}},"keywords":{}}],["voic",{"_index":1035,"title":{},"content":{"83":{"position":[[122,6]]}},"keywords":{}}],["warn",{"_index":869,"title":{},"content":{"62":{"position":[[446,7]]},"66":{"position":[[164,7]]}},"keywords":{}}],["way",{"_index":386,"title":{},"content":{"39":{"position":[[124,4]]},"40":{"position":[[702,4]]},"54":{"position":[[971,4]]},"56":{"position":[[363,3]]},"58":{"position":[[117,3]]},"67":{"position":[[50,3]]}},"keywords":{}}],["web",{"_index":779,"title":{},"content":{"56":{"position":[[1753,4],[2134,4]]}},"keywords":{}}],["websit",{"_index":56,"title":{},"content":{"5":{"position":[[184,7]]},"6":{"position":[[36,7],[259,7]]}},"keywords":{}}],["well",{"_index":265,"title":{},"content":{"31":{"position":[[243,5]]},"39":{"position":[[79,4],[606,4]]},"56":{"position":[[639,4]]},"70":{"position":[[371,4]]}},"keywords":{}}],["what'",{"_index":1,"title":{"1":{"position":[[0,6]]}},"content":{},"keywords":{}}],["wide",{"_index":302,"title":{},"content":{"34":{"position":[[174,4]]},"56":{"position":[[614,6]]}},"keywords":{}}],["within",{"_index":543,"title":{},"content":{"52":{"position":[[52,6]]},"53":{"position":[[93,6],[567,6],[669,6]]},"54":{"position":[[101,6],[852,6],[1799,6]]},"55":{"position":[[101,6],[445,6],[890,6],[993,6]]},"56":{"position":[[503,6]]}},"keywords":{}}],["without",{"_index":403,"title":{},"content":{"39":{"position":[[367,7]]},"83":{"position":[[678,7]]}},"keywords":{}}],["withrfc",{"_index":889,"title":{},"content":{"65":{"position":[[96,7]]},"66":{"position":[[63,7],[472,7]]},"67":{"position":[[198,7]]}},"keywords":{}}],["work",{"_index":71,"title":{},"content":{"6":{"position":[[104,7],[130,4]]},"40":{"position":[[393,4]]},"41":{"position":[[10,7]]},"54":{"position":[[1142,4]]},"55":{"position":[[908,4]]}},"keywords":{}}],["workflow",{"_index":700,"title":{},"content":{"55":{"position":[[1022,8]]}},"keywords":{}}],["workload",{"_index":662,"title":{},"content":{"54":{"position":[[2204,8]]}},"keywords":{}}],["write",{"_index":790,"title":{},"content":{"56":{"position":[[1985,7]]}},"keywords":{}}],["xml",{"_index":783,"title":{},"content":{"56":{"position":[[1889,4]]}},"keywords":{}}],["xsd",{"_index":771,"title":{},"content":{"56":{"position":[[1577,4]]}},"keywords":{}}],["you'll",{"_index":32,"title":{"4":{"position":[[5,6]]}},"content":{"6":{"position":[[176,6]]}},"keywords":{}}],["you'r",{"_index":70,"title":{},"content":{"6":{"position":[[97,6]]}},"keywords":{}}],["zero",{"_index":1036,"title":{},"content":{"83":{"position":[[198,5],[451,5],[541,4],[694,7]]}},"keywords":{}}]],"pipeline":["stemmer"]} \ No newline at end of file diff --git a/pr-preview/pr-4/lunr-index.json b/pr-preview/pr-4/lunr-index.json new file mode 100644 index 0000000..c82af72 --- /dev/null +++ b/pr-preview/pr-4/lunr-index.json @@ -0,0 +1 @@ +{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,878.632]],["content/0",[]],["keywords/0",[]],["title/1",[1,783.685,2,783.685]],["content/1",[3,7.559,4,8.337,5,9.518,6,4.118,7,7.559,8,9.518,9,7.559,10,9.518,11,6.514,12,9.518,13,7.559,14,7.559,15,9.518,16,9.518,17,9.518,18,9.518,19,6.051,20,9.518,21,8.337,22,8.337]],["keywords/1",[]],["title/2",[23,686.431,24,686.431]],["content/2",[]],["keywords/2",[]],["title/3",[25,536.321,26,477.272]],["content/3",[6,5.123,19,5.742,26,7.211,27,4.462,28,7.211,29,11.84,30,11.84,31,11.84]],["keywords/3",[]],["title/4",[32,686.431,33,536.321]],["content/4",[34,13.848,35,5.436,36,11.209,37,11.209,38,9.818,39,8.902,40,8.902,41,11.209,42,7.216,43,9.818]],["keywords/4",[]],["title/5",[6,278.207,28,391.608,44,440.058]],["content/5",[6,3.358,19,5.269,28,4.727,33,5.312,38,6.799,43,6.799,44,5.312,45,2.573,46,12.539,47,8.63,48,6.164,49,6.799,50,5.312,51,6.618,52,11.898,53,4.727,54,7.762,55,7.762,56,6.799,57,3.129,58,7.762,59,7.762,60,9.518,61,6.164,62,5.312,63,6.799,64,7.762]],["keywords/5",[]],["title/6",[6,339.065,26,477.272]],["content/6",[6,4.261,19,3.28,26,5.998,27,2.549,32,5.924,33,4.629,48,5.371,51,7.074,52,8.627,53,5.998,56,8.627,60,5.924,65,6.341,66,9.849,67,9.849,68,9.849,69,5.924,70,6.763,71,6.74,72,4.629,73,6.763,74,4.958,75,3.913,76,3.417,77,4.958,78,4.958,79,6.763,80,5.924,81,5.924,82,6.763,83,5.924,84,3.417,85,5.371,86,5.924,87,6.763,88,6.763]],["keywords/6",[]],["title/7",[27,242.345,89,563.226,90,510.664]],["content/7",[]],["keywords/7",[]],["title/8",[27,242.345,90,510.664,91,339.047]],["content/8",[0,5.456,19,4.495,27,2.348,28,3.794,85,4.947,89,5.456,90,8.793,91,3.284,92,3.147,93,9.27,94,9.27,95,9.27,96,9.27,97,5.456,98,11.072,99,7.577,100,4.263,101,6.796,102,6.229,103,6.229,104,6.229,105,6.229,106,5.456,107,7.362,108,6.229,109,9.27,110,6.229,111,6.229,112,6.229,113,4.567,114,6.229,115,6.229,116,5.456,117,5.456,118,6.229,119,4.947,120,6.229,121,6.229,122,6.229,123,3.794,124,4.01,125,6.229]],["keywords/8",[]],["title/9",[27,295.358,84,395.894]],["content/9",[]],["keywords/9",[]],["title/10",[27,205.466,84,275.404,91,287.453,126,399.67]],["content/10",[27,2.855,28,4.614,84,5.397,92,3.827,123,4.614,124,4.877,126,11.077,127,9.357,128,10.683,129,10.683,130,7.575,131,7.575,132,4.877,133,5.184,134,6.635,135,7.575,136,5.418,137,6.635,138,7.575,139,7.575,140,7.575,141,7.575,142,7.575,143,7.575,144,6.635]],["keywords/10",[]],["title/11",[27,205.466,84,275.404,91,287.453,145,300.708]],["content/11",[27,3.642,28,5.886,84,7.509,92,4.882,123,5.886,124,6.222,127,11.039,136,3.896,144,8.465,145,8.504,146,12.603]],["keywords/11",[]],["title/12",[27,295.358,147,259.835]],["content/12",[]],["keywords/12",[]],["title/13",[27,242.345,91,339.047,148,372.056]],["content/13",[19,5.075,27,3.944,28,6.374,91,5.518,92,5.287,123,6.374,124,6.738,136,4.219,145,5.773,147,4.398,149,11.62,150,9.167,151,10.466]],["keywords/13",[]],["title/14",[7,622.372,152,622.372]],["content/14",[11,4.73,13,5.489,19,4.852,23,6.054,24,6.054,27,3.771,48,5.489,57,2.787,91,3.644,132,4.45,133,4.73,136,5.93,147,3.317,148,3.999,149,6.054,150,8.764,152,9.339,153,4.45,154,4.209,155,5.489,156,7.946,157,6.912,158,6.912,159,6.912,160,6.912,161,6.912,162,5.067,163,6.054,164,10.005,165,6.912,166,6.912,167,6.912]],["keywords/14",[]],["title/15",[6,339.065,168,622.372]],["content/15",[]],["keywords/15",[]],["title/16",[6,339.065,75,453.443]],["content/16",[6,4.85,44,7.671,51,6.827,53,6.827,75,8.695,92,5.663,153,7.216,169,9.818,170,9.818]],["keywords/16",[]],["title/17",[6,339.065,168,622.372]],["content/17",[3,7.129,51,5.467,53,5.467,75,7.825,76,4.535,77,8.8,81,7.863,119,7.129,123,7.31,153,7.728,168,9.533,169,7.863,171,8.977,172,8.977,173,8.977,174,8.977,175,8.977,176,7.863,177,8.977]],["keywords/17",[]],["title/18",[35,311.811,148,372.056,178,643.023]],["content/18",[]],["keywords/18",[]],["title/19",[27,242.345,35,311.811,148,372.056]],["content/19",[19,4.118,27,3.201,35,6.376,50,5.812,51,5.172,53,5.172,123,5.172,148,7.608,153,5.468,179,8.493,180,14.767,181,8.493,182,7.439,183,7.439,184,8.493,185,7.439,186,8.493,187,8.493,188,8.493,189,8.493,190,8.493]],["keywords/19",[]],["title/20",[35,311.811,154,391.608,191,471.406]],["content/20",[9,8.938,11,5.587,35,6.246,57,3.291,74,5.985,92,4.124,132,5.256,133,5.587,136,6.509,148,4.723,154,4.972,191,8.251,192,7.151,193,6.483,194,8.938,195,7.151,196,8.164,197,7.151]],["keywords/20",[]],["title/21",[35,311.811,198,510.664,199,643.023]],["content/21",[35,5.341,85,8.747,148,6.373,153,7.09,162,8.074,183,9.647,198,10.878,200,8.747,201,11.014,202,11.014,203,11.014]],["keywords/21",[]],["title/22",[6,339.065,204,574.526]],["content/22",[]],["keywords/22",[]],["title/23",[7,622.372,205,686.431]],["content/23",[76,6.431,132,6.318,133,6.717,136,6.028,154,5.977,193,7.794,194,10.11,205,8.596,206,5.679,207,10.11,208,9.814,209,12.73]],["keywords/23",[]],["title/24",[148,453.443,204,574.526]],["content/24",[83,10.718,92,4.668,153,5.948,182,8.093,204,6.774,210,9.24,211,9.24,212,9.24,213,13.72,214,13.72,215,12.018,216,9.24,217,9.24,218,12.237,219,8.093]],["keywords/24",[]],["title/25",[6,278.207,26,391.608,76,324.836]],["content/25",[6,5.294,25,6.323,26,8.356,45,3.063,51,5.627,53,5.627,65,5.948,76,7.378,84,4.668,204,6.774,207,7.338,219,8.093,220,9.24,221,9.24,222,9.24,223,6.774,224,5.627]],["keywords/25",[]],["title/26",[76,324.836,154,391.608,191,471.406]],["content/26",[9,8.938,11,5.587,57,3.291,74,5.985,76,5.685,92,4.124,123,4.972,132,5.256,133,5.587,136,6.509,154,4.972,191,8.251,192,7.151,193,6.483,194,8.938,195,7.151,197,7.151,225,5.587,226,8.164]],["keywords/26",[]],["title/27",[6,278.207,75,372.056,76,324.836]],["content/27",[6,5.621,51,7.913,53,7.913,75,8.755,76,7.246,207,8.045,227,4.229,228,6.521,229,10.13]],["keywords/27",[]],["title/28",[145,432.268,230,686.431]],["content/28",[]],["keywords/28",[]],["title/29",[231,686.431,232,622.372]],["content/29",[13,5.807,39,5.807,65,4.707,84,3.694,97,6.405,99,8.306,107,5.807,116,9.125,136,2.948,145,7.296,147,4.024,155,5.807,231,6.405,232,5.807,233,7.312,234,6.405,235,7.312,236,5.004,237,7.312,238,7.391,239,6.405,240,6.405,241,7.312,242,5.807,243,5.361,244,4.453,245,7.312,246,4.707,247,7.312,248,7.312,249,7.312]],["keywords/29",[]],["title/30",[250,878.632]],["content/30",[27,5.171,45,3.063,84,4.668,92,4.668,107,7.338,145,5.096,206,5.346,250,8.093,251,5.948,252,9.718,253,8.093,254,13.72,255,10.896,256,9.24,257,9.24,258,9.24]],["keywords/30",[]],["title/31",[259,878.632]],["content/31",[19,5.557,45,4.329,69,7.34,92,5.789,145,6.321,170,7.34,206,4.849,251,5.395,252,6.655,253,7.34,259,12.295,260,8.38,261,4.465,262,8.38,263,8.38,264,7.34,265,6.144,266,8.38,267,8.38,268,8.38,269,8.38]],["keywords/31",[]],["title/32",[62,536.321,270,686.431]],["content/32",[62,6.232,134,10.615,136,6.096,137,10.615,145,5.023,206,5.269,270,7.976,271,6.676,272,7.976,273,9.106,274,9.106,275,12.119,276,12.119,277,12.119,278,9.106]],["keywords/32",[]],["title/33",[279,878.632]],["content/33",[19,4.232,27,3.29,45,3.906,136,4.749,230,10.318,271,6.399,279,7.645,280,8.728,281,8.728,282,8.728,283,11.78,284,11.78,285,9.355,286,8.728,287,11.78,288,10.318,289,11.78,290,7.645]],["keywords/33",[]],["title/34",[291,574.526,292,622.372]],["content/34",[19,4.175,45,2.854,78,6.311,147,2.854,152,6.837,206,6.753,271,6.311,291,8.556,293,8.609,294,9.268,295,11.671,296,5.243,297,7.541,298,5.892,299,7.541,300,5.049,301,5.896,302,7.541,303,8.609,304,8.609,305,8.609,306,4.981]],["keywords/34",[]],["title/35",[307,622.372,308,686.431]],["content/35",[136,4.601,291,8.366,292,9.063,309,11.412,310,11.412,311,11.412,312,9.996,313,14.002,314,9.996]],["keywords/35",[]],["title/36",[315,1003.116]],["content/36",[136,3.018,291,5.488,292,5.945,312,10.769,314,11.709,316,7.486,317,7.486,318,7.486,319,7.486,320,7.486,321,6.557,322,9.279,323,7.486,324,7.486,325,6.557,326,7.486,327,7.486,328,7.486,329,7.486,330,7.486,331,7.486,332,7.486,333,7.486,334,10.593,335,5.945,336,9.279,337,7.486,338,7.486,339,7.486,340,7.486,341,7.486]],["keywords/36",[]],["title/37",[126,471.406,342,563.226,343,563.226]],["content/37",[19,2.934,45,2.006,126,4.435,132,3.895,136,5.978,145,3.337,147,2.006,156,4.805,272,5.299,300,2.618,322,9.531,342,5.299,343,5.299,344,4.805,345,5.299,346,6.05,347,6.05,348,6.05,349,10.881,350,12.949,351,6.05,352,6.05,353,6.05,354,6.05,355,6.05,356,6.05,357,5.299,358,6.05,359,6.05,360,6.05,361,6.05,362,6.05,363,6.05,364,6.05,365,9.07,366,6.05,367,6.05,368,6.05,369,6.05,370,6.05,371,6.05,372,6.05]],["keywords/37",[]],["title/38",[25,536.321,26,477.272]],["content/38",[]],["keywords/38",[]],["title/39",[373,878.632]],["content/39",[57,3.138,61,3.936,100,3.392,225,3.392,228,3.191,238,3.019,244,3.019,246,3.191,265,5.706,373,4.342,374,7.869,375,4.957,376,4.342,377,4.957,378,7.783,379,5.706,380,3.936,381,4.957,382,4.957,383,3.936,384,4.957,385,6.818,386,3.191,387,6.818,388,4.74,389,3.634,390,2.868,391,4.957,392,3.936,393,4.342,394,4.342,395,4.957,396,4.957,397,4.957,398,4.104,399,4.342,400,4.957,401,3.392,402,4.957,403,4.342,404,2.614,405,2.614,406,4.957,407,3.191,408,4.342,409,3.634,410,3.191,411,7.632,412,3.936,413,3.936,414,4.957,415,4.957,416,3.936,417,3.936,418,4.957,419,4.957,420,2.614,421,4.342,422,3.936,423,7.783,424,3.936,425,4.957,426,4.957,427,4.957]],["keywords/39",[]],["title/40",[428,686.491]],["content/40",[21,4.556,22,7.08,27,1.961,61,4.131,71,3.56,176,7.08,224,3.168,227,2.172,228,3.349,344,4.131,374,4.677,380,4.131,386,3.349,388,3.168,390,3.01,398,5.226,399,4.556,401,8.768,405,2.743,410,3.349,411,4.131,413,6.419,416,4.131,420,2.743,421,4.556,422,4.131,424,4.131,428,3.56,429,4.556,430,3.168,431,4.556,432,5.202,433,3.349,434,8.083,435,5.202,436,5.202,437,5.202,438,5.202,439,5.925,440,5.202,441,5.202,442,5.202,443,6.419,444,5.202,445,5.202,446,4.131,447,5.202,448,4.131,449,4.556,450,4.556,451,5.202,452,5.202,453,3.56,454,5.202,455,5.202,456,3.814,457,5.202,458,8.083,459,4.556,460,3.814,461,5.202]],["keywords/40",[]],["title/41",[25,373.093,84,275.404,462,477.517,463,432.955]],["content/41",[71,5.892,225,5.892,255,6.837,398,6.154,404,4.539,407,5.542,430,5.243,433,5.542,462,7.541,463,6.837,464,7.541,465,5.892,466,8.609,467,6.837,468,8.609,469,7.541,470,8.609,471,8.609,472,8.609,473,8.609,474,8.609,475,8.609,476,8.609,477,7.541,478,4.175,479,8.609,480,8.609]],["keywords/41",[]],["title/42",[147,332.588]],["content/42",[45,3.063,136,3.725,147,3.063,374,5.346,398,6.452,404,4.872,430,5.627,460,6.774,481,8.093,482,9.24,483,9.24,484,6.774,485,9.24,486,8.093,487,6.323,488,9.24,489,9.24,490,6.323,491,9.24,492,9.24,493,9.24,494,9.24]],["keywords/42",[]],["title/43",[495,878.632]],["content/43",[33,3.289,65,3.094,78,3.523,80,6.653,91,2.534,113,3.523,225,3.289,299,6.653,325,4.209,374,2.781,380,6.032,388,2.927,390,4.395,393,4.209,394,6.653,398,6.534,401,6.446,404,2.534,405,4.005,409,3.523,411,3.817,413,6.032,420,2.534,424,3.817,430,2.927,433,3.094,439,3.523,446,6.032,453,3.289,456,3.523,460,3.523,481,4.209,495,4.209,496,7.596,497,4.806,498,4.806,499,3.817,500,4.209,501,3.817,502,7.596,503,3.817,504,2.651,505,4.806,506,4.806,507,4.806,508,4.806,509,4.209,510,4.806,511,4.806,512,4.806,513,3.289,514,4.806,515,3.817,516,4.806,517,4.806,518,4.806,519,4.806,520,3.817,521,4.806,522,7.596,523,4.806,524,4.806,525,4.806,526,4.806,527,4.806,528,4.806,529,4.806,530,4.209]],["keywords/43",[]],["title/44",[531,365.871]],["content/44",[532,9.329]],["keywords/44",[]],["title/45",[62,686.491]],["content/45",[]],["keywords/45",[]],["title/46",[533,610.909]],["content/46",[57,5.379,534,7.36]],["keywords/46",[]],["title/47",[227,418.768]],["content/47",[136,5.268,535,13.067,536,10.377]],["keywords/47",[]],["title/48",[490,536.321,537,453.443]],["content/48",[532,9.329]],["keywords/48",[]],["title/49",[261,390.887]],["content/49",[532,9.329]],["keywords/49",[]],["title/50",[538,878.632]],["content/50",[]],["keywords/50",[]],["title/51",[539,1003.116]],["content/51",[86,11.213,417,10.166,540,8.241,541,12.801]],["keywords/51",[]],["title/52",[487,686.491]],["content/52",[45,3.47,227,4.369,296,6.374,404,5.518,420,5.518,429,9.167,433,6.738,487,7.162,538,9.167,540,6.738,542,7.162,543,7.162,544,10.466,545,10.466,546,10.466]],["keywords/52",[]],["title/53",[547,878.632]],["content/53",[14,3.312,45,1.383,65,2.685,74,3.057,75,2.413,76,3.425,100,7.428,200,3.312,206,2.413,227,1.741,232,5.384,306,2.413,321,5.938,388,2.54,392,7.835,407,2.685,420,3.575,422,3.312,430,2.54,431,3.653,449,3.653,453,2.854,465,5.862,467,3.312,484,6.28,503,3.312,509,3.653,540,2.685,543,5.862,548,4.17,549,6.78,550,9.866,551,6.78,552,3.057,553,3.057,554,4.17,555,4.17,556,3.057,557,5.938,558,3.653,559,4.17,560,6.78,561,4.17,562,4.17,563,4.17,564,4.17,565,4.17,566,4.17,567,4.17,568,4.17,569,3.653,570,4.17,571,2.413,572,3.653,573,3.653,574,4.17,575,4.17,576,7.958,577,3.653,578,3.653,579,4.17,580,6.78,581,3.653,582,4.17,583,4.17,584,4.17,585,4.17,586,3.653,587,6.78,588,6.78,589,4.17,590,4.17,591,3.057,592,2.685,593,4.17]],["keywords/53",[]],["title/54",[594,645.781]],["content/54",[4,2.037,14,1.847,25,1.592,33,2.821,42,1.497,45,1.841,50,3.799,57,0.938,65,1.497,71,1.592,84,1.175,91,1.226,99,1.592,100,5.258,113,1.705,117,2.037,147,0.771,154,1.416,200,1.847,223,3.022,224,1.416,227,3.207,228,1.497,238,1.416,244,3.381,288,3.611,290,2.037,294,1.847,296,1.416,300,1.783,306,1.346,307,1.847,345,2.037,374,4.917,383,1.847,385,2.037,386,1.497,388,2.51,392,3.274,404,1.226,407,3.574,410,4.323,430,1.416,453,1.592,467,1.847,478,1.999,487,2.821,499,3.274,503,3.274,504,1.283,513,1.592,515,3.274,530,2.037,537,1.346,540,3.574,542,2.821,543,3.799,547,2.037,552,3.022,553,1.705,556,7.183,557,2.037,558,3.611,569,3.611,571,4.445,572,2.037,576,6.741,577,3.611,578,2.037,592,1.497,594,3.574,595,1.847,596,5.882,597,4.862,598,1.847,599,2.326,600,1.847,601,2.326,602,2.326,603,2.326,604,2.037,605,2.326,606,4.122,607,1.705,608,2.326,609,2.326,610,2.326,611,2.326,612,2.326,613,2.326,614,5.551,615,4.122,616,3.274,617,4.122,618,2.326,619,2.326,620,2.326,621,4.122,622,2.326,623,2.326,624,2.326,625,2.326,626,2.326,627,2.037,628,2.326,629,2.326,630,2.326,631,2.326,632,2.037,633,2.326,634,2.326,635,2.326,636,2.326,637,2.326,638,2.037,639,2.326,640,2.037,641,2.326,642,2.326,643,2.326,644,2.326,645,2.037,646,2.326,647,2.326,648,2.326,649,2.326,650,2.037,651,1.847,652,2.326,653,1.847,654,2.326,655,2.037,656,2.326,657,2.037,658,2.326,659,2.326,660,2.326,661,2.326,662,2.326,663,2.326,664,2.326,665,1.592,666,2.326,667,2.326,668,2.326,669,2.037,670,1.847,671,1.497,672,2.326,673,2.326,674,2.326]],["keywords/54",[]],["title/55",[388,477.272,448,622.372]],["content/55",[42,3.455,44,2.156,45,1.044,71,2.156,72,6.357,78,3.934,100,4.798,198,2.502,227,2.927,238,3.268,244,5.657,264,6.141,294,2.502,296,1.918,301,2.711,306,1.823,307,8.569,336,2.759,387,2.759,388,5.657,404,1.661,407,3.455,420,1.661,428,2.156,456,2.309,478,3.4,487,5.667,513,4.798,540,3.455,542,3.673,543,5.667,576,5.14,594,5.331,595,2.502,598,4.262,627,2.759,632,2.759,645,2.759,655,2.759,657,2.759,669,2.759,670,5.568,671,2.028,675,8.28,676,3.15,677,10.109,678,3.15,679,2.028,680,3.15,681,2.502,682,3.15,683,3.15,684,3.15,685,3.15,686,3.15,687,3.15,688,3.15,689,7.011,690,10.109,691,3.15,692,4.567,693,5.367,694,3.15,695,3.15,696,2.759,697,3.15,698,5.367,699,5.367,700,3.15,701,3.15,702,3.15,703,3.15,704,3.15,705,3.15,706,2.759,707,2.502,708,2.309,709,3.15,710,3.15,711,3.15,712,3.15,713,3.15,714,3.15,715,3.15,716,3.15]],["keywords/55",[]],["title/56",[533,610.909]],["content/56",[3,1.978,44,1.705,45,2.339,57,3.852,62,4.011,72,1.705,76,1.258,77,1.826,92,1.258,106,2.182,155,3.478,156,1.978,185,2.182,223,1.826,227,2.447,228,3.773,239,2.182,244,2.667,261,0.971,265,1.826,271,1.826,296,1.517,298,2.997,302,2.182,308,2.182,386,1.604,389,1.826,390,2.534,398,6.442,401,1.705,404,3.719,405,3.09,408,2.182,409,4.297,420,1.313,439,1.826,443,1.978,465,1.705,486,2.182,504,3.891,531,2.931,533,1.517,534,1.374,540,5.173,543,1.705,553,1.826,573,3.836,576,1.826,591,1.826,594,4.541,595,3.478,607,1.826,671,1.604,679,2.819,707,3.478,717,2.491,718,1.826,719,2.491,720,2.491,721,4.38,722,1.978,723,1.826,724,1.705,725,2.491,726,2.491,727,2.491,728,2.491,729,5.861,730,4.38,731,3.836,732,1.517,733,2.491,734,2.491,735,3.211,736,2.491,737,1.826,738,2.491,739,2.182,740,2.491,741,2.491,742,2.491,743,2.491,744,2.491,745,2.491,746,2.491,747,2.491,748,2.491,749,2.491,750,2.491,751,2.491,752,1.604,753,2.491,754,2.491,755,2.491,756,2.491,757,2.491,758,2.491,759,2.491,760,2.491,761,2.491,762,2.491,763,2.491,764,2.491,765,2.491,766,2.491,767,2.491,768,5.861,769,4.38,770,2.491,771,2.491,772,2.124,773,4.059,774,2.491,775,2.491,776,1.978,777,4.38,778,2.491,779,4.38,780,2.491,781,2.491,782,2.491,783,2.491,784,7.054,785,2.491,786,2.491,787,2.491,788,2.491,789,1.705,790,2.491,791,2.491,792,2.491,793,2.491,794,2.491]],["keywords/56",[]],["title/57",[773,506.744]],["content/57",[]],["keywords/57",[]],["title/58",[531,234.533,772,311.811,795,643.023]],["content/58",[35,1.807,42,2.399,45,2.05,57,2.492,63,3.264,77,2.732,119,2.96,147,3.056,163,3.264,215,3.264,227,2.581,238,2.27,240,3.264,243,4.532,244,5.614,252,2.96,296,2.27,297,3.264,383,2.96,386,2.399,390,2.156,407,3.98,420,1.965,430,2.27,433,2.399,464,3.264,490,2.551,501,2.96,513,2.551,531,4.623,533,5.614,553,2.732,586,3.264,591,2.732,596,3.264,600,2.96,607,2.732,650,3.264,671,2.399,679,5.099,707,2.96,708,2.732,718,2.732,732,2.27,737,2.732,772,4.957,796,3.727,797,3.727,798,6.291,799,3.727,800,3.727,801,3.727,802,4.231,803,5.415,804,2.732,805,2.551,806,6.758,807,3.727,808,3.727,809,3.727,810,3.727,811,2.551,812,3.727,813,3.727,814,3.727,815,3.727,816,3.727,817,3.727,818,3.264,819,3.727,820,3.727,821,3.727,822,3.727,823,3.727,824,3.727,825,3.727,826,6.182,827,3.727,828,3.727,829,3.727,830,3.727,831,3.727,832,3.264,833,3.727,834,3.727,835,3.727,836,3.727,837,3.264]],["keywords/58",[]],["title/59",[261,390.887]],["content/59",[35,5.851,531,4.401,804,8.846,838,12.067,839,10.569,840,12.067,841,10.569]],["keywords/59",[]],["title/60",[57,315.96,718,574.526]],["content/60",[]],["keywords/60",[]],["title/61",[534,553.303]],["content/61",[45,2.219,57,3.94,124,4.308,147,2.219,246,4.308,251,4.308,261,2.608,285,5.314,300,2.895,301,3.38,390,3.872,404,3.528,478,5.598,531,2.441,534,7.003,542,4.579,592,4.308,604,5.861,692,3.691,706,5.861,739,5.861,752,4.308,772,3.245,773,6.413,806,4.906,842,6.692,843,5.861,844,5.861,845,5.314,846,5.314,847,5.861,848,5.861,849,6.692,850,6.692,851,6.692,852,6.692,853,6.692,854,6.692,855,6.692,856,6.692]],["keywords/61",[]],["title/62",[224,477.272,724,536.321]],["content/62",[45,1.987,147,1.987,206,3.467,224,8.805,227,2.502,246,5.798,261,2.335,298,4.101,300,2.593,306,3.467,389,4.393,405,3.16,412,4.759,478,4.367,531,3.285,537,3.467,592,3.858,640,5.249,692,5.967,724,7.404,737,4.393,772,2.906,773,6.515,776,4.759,789,4.101,804,4.393,857,4.759,858,5.249,859,5.993,860,5.993,861,5.993,862,5.993,863,5.993,864,5.993,865,5.993,866,5.993,867,5.993,868,2.906,869,5.249,870,5.993,871,4.393,872,5.249]],["keywords/62",[]],["title/63",[873,878.632]],["content/63",[147,2.934,261,3.449,300,3.829,301,4.471,306,5.121,478,4.292,531,3.228,692,4.882,708,6.489,773,6.784,857,7.029,868,4.292,871,6.489,873,12.575,874,6.489,875,7.752,876,8.851,877,7.029,878,7.752,879,7.752,880,7.752]],["keywords/63",[]],["title/64",[881,878.632]],["content/64",[147,2.894,261,3.401,300,3.776,301,4.409,306,6.816,478,4.232,531,3.183,692,4.814,708,6.399,773,6.736,857,6.932,868,4.232,871,6.399,877,6.932,878,7.645,879,7.645,881,12.504,882,7.645,883,8.728,884,7.645,885,8.728]],["keywords/64",[]],["title/65",[874,574.526,886,686.431]],["content/65",[45,3.87,147,2.854,261,3.355,300,3.725,301,4.349,306,6.753,531,3.14,692,6.437,773,5.896,805,7.987,846,6.837,868,4.175,874,6.311,886,7.541,887,11.671,888,11.671,889,6.837,890,7.541,891,8.609,892,7.541,893,8.609]],["keywords/65",[]],["title/66",[379,574.526,504,432.268]],["content/66",[35,4.959,45,3.966,49,3.884,72,3.035,147,1.47,206,4.122,224,2.7,246,2.855,251,4.586,379,3.251,405,2.338,410,2.855,412,3.521,504,2.446,531,2.598,534,2.446,537,2.566,638,3.884,679,2.855,692,3.93,735,9.889,737,3.251,752,2.855,772,2.15,773,5.166,804,3.251,805,4.876,811,3.035,818,3.884,845,3.521,846,5.658,868,2.15,869,3.884,871,3.251,872,3.884,889,5.658,894,4.434,895,3.884,896,4.434,897,4.434,898,4.434,899,5.658,900,4.434,901,4.434,902,4.434,903,6.24,904,9.811,905,11.202,906,4.434,907,8.93,908,4.434,909,4.434,910,4.434,911,4.434,912,4.434,913,3.884,914,4.434,915,4.434,916,4.434]],["keywords/66",[]],["title/67",[47,622.372,811,536.321]],["content/67",[40,7.029,47,9.443,147,2.934,246,5.698,300,3.829,301,4.471,379,6.489,386,5.698,420,4.667,504,4.882,531,3.228,732,5.39,773,4.471,802,6.057,805,6.057,811,9.19,868,4.292,889,7.029,917,8.851,918,8.851,919,8.851,920,8.851,921,7.752]],["keywords/67",[]],["title/68",[251,504.517,899,622.372]],["content/68",[40,8.452,147,3.528,251,6.851,300,4.604,301,5.376,531,3.882,773,5.376,805,7.283,868,5.161,899,8.452,922,10.642,923,10.642,924,10.642,925,10.642]],["keywords/68",[]],["title/69",[926,796.636]],["content/69",[39,4.759,45,1.987,57,3.631,147,1.987,162,4.393,227,2.502,242,4.759,261,2.335,285,4.759,298,4.101,300,2.593,410,3.858,446,4.759,459,5.249,478,2.906,500,10.537,513,4.101,531,2.186,537,3.467,592,5.798,665,6.163,671,3.858,723,9.454,752,3.858,772,2.906,806,4.393,843,5.249,868,2.906,926,4.759,927,9.005,928,10.819,929,7.744,930,5.993,931,5.993,932,5.993,933,5.993,934,5.993,935,5.993,936,5.993,937,5.993,938,5.993,939,5.993,940,5.993,941,5.993]],["keywords/69",[]],["title/70",[428,686.491]],["content/70",[45,2.242,101,4.958,147,3.265,227,2.823,234,5.924,244,5.998,265,4.958,300,2.926,301,3.417,410,6.341,428,7.949,453,4.629,520,10.133,531,3.592,533,4.119,534,3.731,542,4.629,594,4.354,607,4.958,670,5.371,692,3.731,752,4.354,772,3.28,789,4.629,798,5.371,806,4.958,848,5.924,868,3.28,929,6.341,942,6.763,943,6.763,944,6.763,945,6.763,946,6.763,947,6.763,948,6.763,949,6.763,950,6.763]],["keywords/70",[]],["title/71",[243,735.393]],["content/71",[11,4.629,45,3.851,57,3.971,72,4.629,147,2.242,227,2.823,243,9.942,261,2.636,298,4.629,300,2.926,374,3.913,409,9.354,420,3.566,439,4.958,443,5.371,478,3.28,531,2.467,592,6.341,594,4.354,679,4.354,732,4.119,752,4.354,772,3.28,798,7.822,802,4.629,837,5.924,868,3.28,951,9.849,952,6.763,953,6.763,954,6.763,955,6.763,956,6.763,957,6.763,958,6.763]],["keywords/71",[]],["title/72",[722,796.636]],["content/72",[45,2.779,91,4.419,147,2.779,162,6.144,225,5.735,261,3.266,300,3.626,301,4.234,477,7.34,478,4.064,531,4.179,600,6.655,722,9.1,772,4.064,776,6.655,868,4.064,929,7.377,959,8.38,960,11.459,961,11.459,962,11.459,963,7.34,964,8.38,965,8.38]],["keywords/72",[]],["title/73",[966,878.632]],["content/73",[45,3.204,147,3.204,261,3.766,300,4.181,301,4.882,478,4.686,499,7.675,531,3.525,537,5.592,868,4.686,929,9.029,963,8.465,966,12.285,967,9.664,968,9.664,969,9.664]],["keywords/73",[]],["title/74",[261,390.887]],["content/74",[]],["keywords/74",[]],["title/75",[405,413.213,484,574.526]],["content/75",[224,6.481,390,6.158,398,5.611,405,7.069,679,6.851,724,7.283,874,7.802,970,10.642,971,10.642,972,10.642,973,10.642,974,10.642,975,10.642]],["keywords/75",[]],["title/76",[405,413.213,450,686.431]],["content/76",[531,2.667,591,5.361,724,5.004,735,7.638,811,5.004,839,6.405,844,6.405,845,5.807,847,6.405,858,6.405,875,6.405,877,8.274,880,6.405,882,6.405,884,6.405,890,6.405,892,6.405,895,6.405,903,6.405,913,6.405,921,6.405,976,7.312,977,7.312,978,7.312,979,7.312,980,7.312,981,7.312,982,7.312,983,7.312,984,7.312,985,7.312,986,7.312,987,7.312,988,7.312,989,7.312,990,7.312,991,7.312,992,7.312,993,7.312]],["keywords/76",[]],["title/77",[994,1003.116]],["content/77",[35,6.208,531,4.669,772,6.208,841,11.213]],["keywords/77",[]],["title/78",[504,432.268,571,453.443]],["content/78",[]],["keywords/78",[]],["title/79",[681,796.636]],["content/79",[99,9.361,236,4.73,261,2.693,335,5.489,504,7.11,552,5.067,571,8.51,651,10.237,653,5.489,665,8.048,732,4.209,995,10.3,996,5.489,997,5.489,998,6.912,999,6.054,1000,6.054,1001,6.054,1002,6.054,1003,7.335,1004,6.054,1005,6.054,1006,6.054,1007,6.054,1008,6.054]],["keywords/79",[]],["title/80",[533,610.909]],["content/80",[57,1.521,75,2.182,99,7.587,101,4.577,113,2.765,223,4.577,236,2.581,238,3.802,242,2.995,261,1.47,335,2.995,376,3.304,404,1.989,463,2.995,501,2.995,504,6.115,534,3.444,552,2.765,571,7.958,598,2.995,651,8.804,653,2.995,665,5.467,692,2.08,696,3.304,723,4.577,732,2.297,789,2.581,802,4.273,803,3.304,904,3.304,929,2.428,995,8.133,996,2.995,997,2.995,999,3.304,1000,3.304,1001,3.304,1002,3.304,1003,8.128,1004,3.304,1005,3.304,1006,9.711,1007,5.468,1008,5.468,1009,3.772,1010,3.772,1011,6.243,1012,3.304,1013,3.304,1014,3.772,1015,6.997,1016,3.304,1017,3.772,1018,3.772,1019,6.243,1020,3.772,1021,3.772,1022,3.772,1023,3.772,1024,3.304,1025,3.304,1026,3.772,1027,3.772,1028,3.772,1029,3.772,1030,3.772,1031,3.772,1032,3.772]],["keywords/80",[]],["title/81",[227,418.768]],["content/81",[136,5.268,536,10.377,1033,11.445]],["keywords/81",[]],["title/82",[490,536.321,537,453.443]],["content/82",[]],["keywords/82",[]],["title/83",[236,440.058,571,372.056,1003,471.406]],["content/83",[57,1.952,124,3.118,228,4.92,236,7.356,255,3.846,296,2.949,344,3.846,357,8.291,389,5.602,398,4.991,403,4.242,405,2.553,417,3.846,456,3.55,460,3.55,465,3.314,469,4.242,484,5.602,534,2.671,571,6.219,581,4.242,597,4.242,616,7.518,665,5.23,671,3.118,718,3.55,723,3.55,772,2.348,773,5.43,789,5.23,832,4.242,926,6.069,929,3.118,996,3.846,997,3.846,1003,3.55,1024,8.291,1025,4.242,1034,4.843,1035,4.843,1036,10.749,1037,9.466,1038,4.843,1039,4.843,1040,4.843,1041,4.843,1042,4.843,1043,7.642,1044,4.843,1045,4.843,1046,4.843,1047,4.843,1048,4.843,1049,4.843,1050,4.843,1051,4.843]],["keywords/83",[]],["title/84",[261,390.887]],["content/84",[398,6.616,571,7.26,616,11.773,1052,12.547]],["keywords/84",[]],["title/85",[50,536.321,515,622.372]],["content/85",[]],["keywords/85",[]],["title/86",[681,796.636]],["content/86",[42,9.014,57,4.601,227,4.764,374,6.603,398,6.017,465,7.81,478,5.534,556,8.366,731,9.996]],["keywords/86",[]],["title/87",[533,610.909]],["content/87",[42,5.123,50,9.397,57,3.208,101,8.106,238,6.734,374,6.398,390,4.604,401,5.446,416,6.32,433,5.123,448,6.32,520,6.32,534,6.099,556,5.834,732,4.846,735,5.834,802,5.446,1012,6.97,1013,6.97,1015,6.97,1016,6.97,1053,7.958,1054,11.057,1055,7.958,1056,7.958,1057,7.958]],["keywords/87",[]],["title/88",[227,418.768]],["content/88",[136,5.268,536,10.377,1033,11.445]],["keywords/88",[]],["title/89",[490,536.321,537,453.443]],["content/89",[532,9.329]],["keywords/89",[]],["title/90",[261,390.887]],["content/90",[532,9.329]],["keywords/90",[]]],"invertedIndex":[["",{"_index":136,"title":{},"content":{"10":{"position":[[175,1],[184,1],[292,2],[295,1]]},"11":{"position":[[80,1]]},"13":{"position":[[57,1]]},"14":{"position":[[189,1],[339,1],[358,1],[378,1],[462,1],[464,1],[466,2]]},"20":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[218,2],[221,2],[224,2],[227,2],[230,2]]},"23":{"position":[[100,1],[108,1],[154,2],[157,2]]},"26":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[203,2],[206,2],[209,2],[212,2],[215,2]]},"29":{"position":[[200,2]]},"32":{"position":[[149,1],[199,1],[201,3],[268,1],[318,1]]},"33":{"position":[[117,3],[167,3]]},"35":{"position":[[57,3]]},"36":{"position":[[282,3]]},"37":{"position":[[129,1],[157,1],[274,2],[295,1],[392,2],[481,1],[566,1],[597,1],[622,1]]},"42":{"position":[[242,2]]},"47":{"position":[[22,4]]},"81":{"position":[[29,4]]},"88":{"position":[[29,4]]}},"keywords":{}}],["0",{"_index":904,"title":{},"content":{"66":{"position":[[550,4],[564,2],[576,2],[588,2],[600,2]]},"80":{"position":[[765,4]]}},"keywords":{}}],["0..1",{"_index":1015,"title":{},"content":{"80":{"position":[[229,4],[525,4],[1119,4]]},"87":{"position":[[243,4]]}},"keywords":{}}],["02",{"_index":94,"title":{},"content":{"8":{"position":[[28,2],[59,2]]}},"keywords":{}}],["07",{"_index":872,"title":{},"content":{"62":{"position":[[545,2]]},"66":{"position":[[259,2]]}},"keywords":{}}],["07/schema.$id",{"_index":810,"title":{},"content":{"58":{"position":[[543,13]]}},"keywords":{}}],["07rfc",{"_index":838,"title":{},"content":{"59":{"position":[[7,5]]}},"keywords":{}}],["1",{"_index":106,"title":{},"content":{"8":{"position":[[177,1]]},"56":{"position":[[744,1]]}},"keywords":{}}],["1..1",{"_index":1054,"title":{},"content":{"87":{"position":[[63,4],[184,4]]}},"keywords":{}}],["1.0",{"_index":180,"title":{},"content":{"19":{"position":[[19,3],[73,3],[133,3],[200,3],[251,3]]}},"keywords":{}}],["1.0/hello.md",{"_index":201,"title":{},"content":{"21":{"position":[[91,12]]}},"keywords":{}}],["10",{"_index":1049,"title":{},"content":{"83":{"position":[[646,4]]}},"keywords":{}}],["10646",{"_index":849,"title":{},"content":{"61":{"position":[[177,5]]}},"keywords":{}}],["10px",{"_index":358,"title":{},"content":{"37":{"position":[[247,7]]}},"keywords":{}}],["1123",{"_index":882,"title":{},"content":{"64":{"position":[[59,5]]},"76":{"position":[[30,4]]}},"keywords":{}}],["12",{"_index":1045,"title":{},"content":{"83":{"position":[[502,4]]}},"keywords":{}}],["18.0",{"_index":36,"title":{},"content":{"4":{"position":[[17,4]]}},"keywords":{}}],["1standard",{"_index":850,"title":{},"content":{"61":{"position":[[183,10]]}},"keywords":{}}],["2",{"_index":185,"title":{},"content":{"19":{"position":[[187,1]]},"56":{"position":[[752,1]]}},"keywords":{}}],["2.1",{"_index":883,"title":{},"content":{"64":{"position":[[73,3]]}},"keywords":{}}],["2.2",{"_index":893,"title":{},"content":{"65":{"position":[[179,4]]}},"keywords":{}}],["2.3.2.3",{"_index":885,"title":{},"content":{"64":{"position":[[201,8]]}},"keywords":{}}],["20px",{"_index":355,"title":{},"content":{"37":{"position":[[215,7]]}},"keywords":{}}],["2373",{"_index":892,"title":{},"content":{"65":{"position":[[165,5]]},"76":{"position":[[55,4]]}},"keywords":{}}],["262",{"_index":924,"title":{},"content":{"68":{"position":[[66,3]]}},"keywords":{}}],["262json",{"_index":977,"title":{},"content":{"76":{"position":[[6,7]]}},"keywords":{}}],["2673",{"_index":890,"title":{},"content":{"65":{"position":[[104,5]]},"76":{"position":[[70,4]]}},"keywords":{}}],["28",{"_index":95,"title":{},"content":{"8":{"position":[[31,2],[62,2]]}},"keywords":{}}],["3",{"_index":161,"title":{},"content":{"14":{"position":[[183,1]]}},"keywords":{}}],["3.2",{"_index":891,"title":{},"content":{"65":{"position":[[118,4]]}},"keywords":{}}],["3166",{"_index":740,"title":{},"content":{"56":{"position":[[739,4]]}},"keywords":{}}],["3339",{"_index":858,"title":{},"content":{"62":{"position":[[53,5]]},"76":{"position":[[85,4]]}},"keywords":{}}],["3629",{"_index":847,"title":{},"content":{"61":{"position":[[138,5]]},"76":{"position":[[109,4]]}},"keywords":{}}],["3986",{"_index":895,"title":{},"content":{"66":{"position":[[71,5]]},"76":{"position":[[125,4]]}},"keywords":{}}],["4.1.2",{"_index":876,"title":{},"content":{"63":{"position":[[76,5]]}},"keywords":{}}],["4122",{"_index":903,"title":{},"content":{"66":{"position":[[480,5],[727,4]]},"76":{"position":[[139,4]]}},"keywords":{}}],["5)rfc",{"_index":987,"title":{},"content":{"76":{"position":[[153,5]]}},"keywords":{}}],["5.6",{"_index":859,"title":{},"content":{"62":{"position":[[67,3]]}},"keywords":{}}],["515112",{"_index":743,"title":{},"content":{"56":{"position":[[776,6]]}},"keywords":{}}],["5321",{"_index":875,"title":{},"content":{"63":{"position":[[62,5]]},"76":{"position":[[159,4]]}},"keywords":{}}],["5890",{"_index":884,"title":{},"content":{"64":{"position":[[187,5]]},"76":{"position":[[180,4]]}},"keywords":{}}],["6",{"_index":915,"title":{},"content":{"66":{"position":[[759,1]]}},"keywords":{}}],["600",{"_index":384,"title":{},"content":{"39":{"position":[[89,3]]}},"keywords":{}}],["6531",{"_index":880,"title":{},"content":{"63":{"position":[[186,5]]},"76":{"position":[[221,4]]}},"keywords":{}}],["6570",{"_index":921,"title":{},"content":{"67":{"position":[[206,5]]},"76":{"position":[[255,4]]}},"keywords":{}}],["8",{"_index":845,"title":{},"content":{"61":{"position":[[108,1]]},"66":{"position":[[761,2]]},"76":{"position":[[307,2]]}},"keywords":{}}],["8)rfc",{"_index":984,"title":{},"content":{"76":{"position":[[119,5]]}},"keywords":{}}],["8259",{"_index":839,"title":{},"content":{"59":{"position":[[13,4]]},"76":{"position":[[278,4]]}},"keywords":{}}],["8601",{"_index":862,"title":{},"content":{"62":{"position":[[105,5]]}},"keywords":{}}],["9562",{"_index":913,"title":{},"content":{"66":{"position":[[704,4]]},"76":{"position":[[293,4]]}},"keywords":{}}],["9a",{"_index":905,"title":{},"content":{"66":{"position":[[555,2],[567,2],[579,2],[591,2],[603,2]]}},"keywords":{}}],["a[pi",{"_index":317,"title":{},"content":{"36":{"position":[[21,7]]}},"keywords":{}}],["abil",{"_index":446,"title":{},"content":{"40":{"position":[[529,7]]},"43":{"position":[[555,7],[884,7]]},"69":{"position":[[108,7]]}},"keywords":{}}],["abov",{"_index":37,"title":{},"content":{"4":{"position":[[25,6]]}},"keywords":{}}],["absenc",{"_index":968,"title":{},"content":{"73":{"position":[[125,7]]}},"keywords":{}}],["absolut",{"_index":260,"title":{},"content":{"31":{"position":[[53,8]]}},"keywords":{}}],["accept",{"_index":963,"title":{},"content":{"72":{"position":[[154,8]]},"73":{"position":[[64,10]]}},"keywords":{}}],["access",{"_index":220,"title":{},"content":{"25":{"position":[[94,10]]}},"keywords":{}}],["accesscr",{"_index":498,"title":{},"content":{"43":{"position":[[53,13]]}},"keywords":{}}],["accommod",{"_index":1042,"title":{},"content":{"83":{"position":[[370,11]]}},"keywords":{}}],["accur",{"_index":479,"title":{},"content":{"41":{"position":[[239,10]]}},"keywords":{}}],["accuraci",{"_index":644,"title":{},"content":{"54":{"position":[[1596,8]]}},"keywords":{}}],["achiev",{"_index":299,"title":{},"content":{"34":{"position":[[126,8]]},"43":{"position":[[437,7],[525,7]]}},"keywords":{}}],["acronym",{"_index":539,"title":{"51":{"position":[[0,9]]}},"content":{},"keywords":{}}],["act",{"_index":552,"title":{},"content":{"53":{"position":[[86,3]]},"54":{"position":[[317,3],[782,3]]},"79":{"position":[[284,3]]},"80":{"position":[[1057,3]]}},"keywords":{}}],["action",{"_index":288,"title":{},"content":{"33":{"position":[[147,6],[228,6]]},"54":{"position":[[180,6],[1349,6]]}},"keywords":{}}],["activ",{"_index":556,"title":{},"content":{"53":{"position":[[224,11]]},"54":{"position":[[131,11],[209,8],[295,8],[378,9],[735,8],[831,8],[1759,9],[2011,8]]},"86":{"position":[[102,9]]},"87":{"position":[[131,8]]}},"keywords":{}}],["actor",{"_index":547,"title":{"53":{"position":[[0,7]]}},"content":{"54":{"position":[[2375,6]]}},"keywords":{}}],["ad",{"_index":49,"title":{},"content":{"5":{"position":[[104,5]]},"66":{"position":[[735,6]]}},"keywords":{}}],["adapt",{"_index":426,"title":{},"content":{"39":{"position":[[821,5]]}},"keywords":{}}],["add",{"_index":154,"title":{"20":{"position":[[0,3]]},"26":{"position":[[0,3]]}},"content":{"14":{"position":[[67,3]]},"20":{"position":[[41,3]]},"23":{"position":[[32,3]]},"26":{"position":[[42,3]]},"54":{"position":[[2106,3]]}},"keywords":{}}],["addit",{"_index":706,"title":{},"content":{"55":{"position":[[1277,10]]},"61":{"position":[[313,9]]}},"keywords":{}}],["address",{"_index":874,"title":{"65":{"position":[[3,8]]}},"content":{"63":{"position":[[7,9]]},"65":{"position":[[4,9]]},"75":{"position":[[1,7]]}},"keywords":{}}],["adject",{"_index":659,"title":{},"content":{"54":{"position":[[2151,9]]}},"keywords":{}}],["admonit",{"_index":279,"title":{"33":{"position":[[0,12]]}},"content":{"33":{"position":[[43,11]]}},"keywords":{}}],["adopt",{"_index":469,"title":{},"content":{"41":{"position":[[64,5]]},"83":{"position":[[83,8]]}},"keywords":{}}],["agenc",{"_index":580,"title":{},"content":{"53":{"position":[[861,6],[923,6]]}},"keywords":{}}],["agnost",{"_index":910,"title":{},"content":{"66":{"position":[[643,8]]}},"keywords":{}}],["agreement",{"_index":622,"title":{},"content":{"54":{"position":[[976,10]]}},"keywords":{}}],["ai",{"_index":461,"title":{},"content":{"40":{"position":[[825,3]]}},"keywords":{}}],["aim",{"_index":544,"title":{},"content":{"52":{"position":[[82,3]]}},"keywords":{}}],["air",{"_index":1030,"title":{},"content":{"80":{"position":[[738,3]]}},"keywords":{}}],["alert",{"_index":331,"title":{},"content":{"36":{"position":[[178,7]]}},"keywords":{}}],["alert(`y",{"_index":362,"title":{},"content":{"37":{"position":[[297,10]]}},"keywords":{}}],["allow",{"_index":346,"title":{},"content":{"37":{"position":[[54,6]]}},"keywords":{}}],["alon",{"_index":382,"title":{},"content":{"39":{"position":[[69,5]]}},"keywords":{}}],["along",{"_index":761,"title":{},"content":{"56":{"position":[[1213,5]]}},"keywords":{}}],["alpha",{"_index":741,"title":{},"content":{"56":{"position":[[746,5]]}},"keywords":{}}],["altern",{"_index":1051,"title":{},"content":{"83":{"position":[[716,12]]}},"keywords":{}}],["alway",{"_index":943,"title":{},"content":{"70":{"position":[[75,6]]}},"keywords":{}}],["amend",{"_index":611,"title":{},"content":{"54":{"position":[[574,5]]}},"keywords":{}}],["american",{"_index":745,"title":{},"content":{"56":{"position":[[796,8]]}},"keywords":{}}],["amp",{"_index":1013,"title":{},"content":{"80":{"position":[[194,5]]},"87":{"position":[[35,5]]}},"keywords":{}}],["analysi",{"_index":325,"title":{},"content":{"36":{"position":[[110,10]]},"43":{"position":[[142,8]]}},"keywords":{}}],["analyt",{"_index":393,"title":{},"content":{"39":{"position":[[196,9]]},"43":{"position":[[474,9]]}},"keywords":{}}],["and/or",{"_index":789,"title":{},"content":{"56":{"position":[[1978,6]]},"62":{"position":[[6,6]]},"70":{"position":[[340,6]]},"80":{"position":[[137,6]]},"83":{"position":[[204,6],[457,6]]}},"keywords":{}}],["annot",{"_index":796,"title":{},"content":{"58":{"position":[[43,8]]}},"keywords":{}}],["answer",{"_index":657,"title":{},"content":{"54":{"position":[[2080,8]]},"55":{"position":[[381,7]]}},"keywords":{}}],["anyth",{"_index":834,"title":{},"content":{"58":{"position":[[1361,8]]}},"keywords":{}}],["anywher",{"_index":172,"title":{},"content":{"17":{"position":[[156,8]]}},"keywords":{}}],["api",{"_index":784,"title":{},"content":{"56":{"position":[[1894,3],[1935,5],[2072,4],[2121,4]]}},"keywords":{}}],["appear",{"_index":197,"title":{},"content":{"20":{"position":[[261,7]]},"26":{"position":[[244,7]]}},"keywords":{}}],["applic",{"_index":576,"title":{},"content":{"53":{"position":[[775,10],[789,11],[841,10],[959,12],[1042,12]]},"54":{"position":[[513,11],[1306,12],[1391,12],[1945,12],[2095,10],[2177,11],[2271,12]]},"55":{"position":[[210,11],[964,11],[1247,11]]},"56":{"position":[[1901,11]]}},"keywords":{}}],["application/json",{"_index":781,"title":{},"content":{"56":{"position":[[1828,17]]}},"keywords":{}}],["appropri",{"_index":497,"title":{},"content":{"43":{"position":[[36,11]]}},"keywords":{}}],["approv",{"_index":321,"title":{},"content":{"36":{"position":[[60,9]]},"53":{"position":[[392,10],[648,8]]}},"keywords":{}}],["area",{"_index":597,"title":{},"content":{"54":{"position":[[190,4],[659,4],[1528,5]]},"83":{"position":[[116,5]]}},"keywords":{}}],["around",{"_index":121,"title":{},"content":{"8":{"position":[[476,6]]}},"keywords":{}}],["array",{"_index":243,"title":{"71":{"position":[[0,6]]}},"content":{"29":{"position":[[351,5]]},"58":{"position":[[1262,5],[1398,5]]},"71":{"position":[[1,6],[61,5],[116,5],[307,5],[444,6]]}},"keywords":{}}],["asiso",{"_index":861,"title":{},"content":{"62":{"position":[[99,5]]}},"keywords":{}}],["assign",{"_index":1002,"title":{},"content":{"79":{"position":[[180,7]]},"80":{"position":[[953,7]]}},"keywords":{}}],["associ",{"_index":780,"title":{},"content":{"56":{"position":[[1770,10]]}},"keywords":{}}],["at"",{"_index":704,"title":{},"content":{"55":{"position":[[1168,8]]}},"keywords":{}}],["attempt",{"_index":637,"title":{},"content":{"54":{"position":[[1445,7]]}},"keywords":{}}],["attribut",{"_index":803,"title":{},"content":{"58":{"position":[[388,11],[1186,10]]},"80":{"position":[[391,9]]}},"keywords":{}}],["author",{"_index":100,"title":{},"content":{"8":{"position":[[116,8]]},"39":{"position":[[577,13]]},"53":{"position":[[190,13],[316,9],[376,15],[490,13],[1153,13]]},"54":{"position":[[242,15],[583,14],[764,13],[879,14],[1913,14]]},"55":{"position":[[229,13],[979,13],[1262,14]]}},"keywords":{}}],["autom",{"_index":440,"title":{},"content":{"40":{"position":[[324,8]]}},"keywords":{}}],["automat",{"_index":48,"title":{},"content":{"5":{"position":[[87,13]]},"6":{"position":[[438,13]]},"14":{"position":[[12,13]]}},"keywords":{}}],["automation.unlock",{"_index":445,"title":{},"content":{"40":{"position":[[507,17]]}},"keywords":{}}],["avail",{"_index":124,"title":{},"content":{"8":{"position":[[548,9]]},"10":{"position":[[317,9]]},"11":{"position":[[143,9]]},"13":{"position":[[131,9]]},"61":{"position":[[509,9]]},"83":{"position":[[357,9]]}},"keywords":{}}],["awesom",{"_index":284,"title":{},"content":{"33":{"position":[[94,7],[189,7]]}},"keywords":{}}],["b",{"_index":312,"title":{},"content":{"35":{"position":[[39,1]]},"36":{"position":[[70,1],[90,1],[243,1]]}},"keywords":{}}],["b(stakehold",{"_index":320,"title":{},"content":{"36":{"position":[[46,13]]}},"keywords":{}}],["b.c.'",{"_index":377,"title":{},"content":{"39":{"position":[[32,6]]}},"keywords":{}}],["backgroundcolor",{"_index":353,"title":{},"content":{"37":{"position":[[177,16]]}},"keywords":{}}],["band",{"_index":816,"title":{},"content":{"58":{"position":[[708,4]]}},"keywords":{}}],["barfind",{"_index":17,"title":{},"content":{"1":{"position":[[175,7]]}},"keywords":{}}],["base",{"_index":459,"title":{},"content":{"40":{"position":[[780,5]]},"69":{"position":[[272,5]]}},"keywords":{}}],["bc",{"_index":616,"title":{},"content":{"54":{"position":[[875,3],[1822,3]]},"83":{"position":[[56,2],[223,2],[305,2]]},"84":{"position":[[1,2],[28,2]]}},"keywords":{}}],["be",{"_index":653,"title":{},"content":{"54":{"position":[[1876,5]]},"79":{"position":[[232,5]]},"80":{"position":[[1005,5]]}},"keywords":{}}],["befor",{"_index":919,"title":{},"content":{"67":{"position":[[147,6]]}},"keywords":{}}],["begin",{"_index":683,"title":{},"content":{"55":{"position":[[340,9]]}},"keywords":{}}],["behalf",{"_index":1040,"title":{},"content":{"83":{"position":[[264,6]]}},"keywords":{}}],["belong",{"_index":603,"title":{},"content":{"54":{"position":[[436,6]]}},"keywords":{}}],["best",{"_index":482,"title":{},"content":{"42":{"position":[[7,4]]}},"keywords":{}}],["better",{"_index":416,"title":{},"content":{"39":{"position":[[683,6]]},"40":{"position":[[78,6]]},"87":{"position":[[320,6]]}},"keywords":{}}],["between",{"_index":671,"title":{},"content":{"54":{"position":[[2359,7]]},"55":{"position":[[1597,7]]},"56":{"position":[[1495,7]]},"58":{"position":[[301,7]]},"69":{"position":[[133,7]]},"83":{"position":[[584,7]]}},"keywords":{}}],["block",{"_index":270,"title":{"32":{"position":[[5,7]]}},"content":{"32":{"position":[[15,6]]}},"keywords":{}}],["blog",{"_index":89,"title":{"7":{"position":[[9,4]]}},"content":{"8":{"position":[[531,4]]}},"keywords":{}}],["blog/2021",{"_index":93,"title":{},"content":{"8":{"position":[[18,9],[49,9]]}},"keywords":{}}],["blue",{"_index":372,"title":{},"content":{"37":{"position":[[617,4]]}},"keywords":{}}],["blue</highlight>",{"_index":369,"title":{},"content":{"37":{"position":[[543,22]]}},"keywords":{}}],["boolean",{"_index":722,"title":{"72":{"position":[[0,8]]}},"content":{"56":{"position":[[283,8]]},"72":{"position":[[1,8],[191,8]]}},"keywords":{}}],["border",{"_index":673,"title":{},"content":{"54":{"position":[[2396,8]]}},"keywords":{}}],["borderradiu",{"_index":354,"title":{},"content":{"37":{"position":[[201,13]]}},"keywords":{}}],["both",{"_index":736,"title":{},"content":{"56":{"position":[[572,4]]}},"keywords":{}}],["boundari",{"_index":958,"title":{},"content":{"71":{"position":[[426,10]]}},"keywords":{}}],["brief",{"_index":826,"title":{},"content":{"58":{"position":[[1032,5],[1066,5]]}},"keywords":{}}],["british",{"_index":999,"title":{},"content":{"79":{"position":[[148,7]]},"80":{"position":[[921,7]]}},"keywords":{}}],["broader",{"_index":689,"title":{},"content":{"55":{"position":[[490,7],[1107,7],[1456,7]]}},"keywords":{}}],["build",{"_index":75,"title":{"16":{"position":[[0,5]]},"27":{"position":[[0,5]]}},"content":{"6":{"position":[[247,6]]},"16":{"position":[[1,5],[42,5],[88,5]]},"17":{"position":[[22,5],[58,5],[136,5]]},"27":{"position":[[1,5],[49,5],[75,5],[136,5]]},"53":{"position":[[639,8]]},"80":{"position":[[721,8]]}},"keywords":{}}],["built",{"_index":856,"title":{},"content":{"61":{"position":[[519,5]]}},"keywords":{}}],["bundl",{"_index":515,"title":{"85":{"position":[[8,6]]}},"content":{"43":{"position":[[350,8]]},"54":{"position":[[304,8],[2020,7]]}},"keywords":{}}],["busi",{"_index":417,"title":{},"content":{"39":{"position":[[690,8]]},"51":{"position":[[28,8]]},"83":{"position":[[107,8]]}},"keywords":{}}],["c",{"_index":314,"title":{},"content":{"35":{"position":[[48,1]]},"36":{"position":[[121,1],[156,1],[186,1],[268,1]]}},"keywords":{}}],["call",{"_index":234,"title":{},"content":{"29":{"position":[[45,6]]},"70":{"position":[[134,6]]}},"keywords":{}}],["callout",{"_index":281,"title":{},"content":{"33":{"position":[[59,9]]}},"keywords":{}}],["can't",{"_index":402,"title":{},"content":{"39":{"position":[[351,5]]}},"keywords":{}}],["canada",{"_index":742,"title":{},"content":{"56":{"position":[[763,6]]}},"keywords":{}}],["captur",{"_index":629,"title":{},"content":{"54":{"position":[[1185,7]]}},"keywords":{}}],["cardin",{"_index":1012,"title":{},"content":{"80":{"position":[[165,11]]},"87":{"position":[[6,11]]}},"keywords":{}}],["care",{"_index":287,"title":{},"content":{"33":{"position":[[136,5],[218,4]]}},"keywords":{}}],["carri",{"_index":649,"title":{},"content":{"54":{"position":[[1738,5]]}},"keywords":{}}],["case",{"_index":901,"title":{},"content":{"66":{"position":[[406,6]]}},"keywords":{}}],["caseload",{"_index":626,"title":{},"content":{"54":{"position":[[1133,8]]}},"keywords":{}}],["cast",{"_index":964,"title":{},"content":{"72":{"position":[[218,6]]}},"keywords":{}}],["catalogu",{"_index":1041,"title":{},"content":{"83":{"position":[[313,10]]}},"keywords":{}}],["catalogueparcelmap",{"_index":1052,"title":{},"content":{"84":{"position":[[9,18]]}},"keywords":{}}],["categor",{"_index":716,"title":{},"content":{"55":{"position":[[1578,14]]}},"keywords":{}}],["categori",{"_index":166,"title":{},"content":{"14":{"position":[[386,11]]}},"keywords":{}}],["caution",{"_index":222,"title":{},"content":{"25":{"position":[[179,7]]}},"keywords":{}}],["cd",{"_index":67,"title":{},"content":{"6":{"position":[[30,2],[64,2]]}},"keywords":{}}],["certain",{"_index":600,"title":{},"content":{"54":{"position":[[370,7]]},"58":{"position":[[835,7]]},"72":{"position":[[79,7]]}},"keywords":{}}],["chang",{"_index":68,"title":{},"content":{"6":{"position":[[75,7],[470,8]]}},"keywords":{}}],["characterist",{"_index":415,"title":{},"content":{"39":{"position":[[637,15]]}},"keywords":{}}],["chart",{"_index":295,"title":{},"content":{"34":{"position":[[50,8],[188,6]]}},"keywords":{}}],["check",{"_index":40,"title":{},"content":{"4":{"position":[[80,5]]},"67":{"position":[[212,5]]},"68":{"position":[[79,5]]}},"keywords":{}}],["checkbox",{"_index":41,"title":{},"content":{"4":{"position":[[90,10]]}},"keywords":{}}],["children",{"_index":349,"title":{},"content":{"37":{"position":[[131,11],[346,13],[367,10]]}},"keywords":{}}],["class",{"_index":1027,"title":{},"content":{"80":{"position":[[684,5]]}},"keywords":{}}],["classic",{"_index":46,"title":{},"content":{"5":{"position":[[42,7],[65,7],[192,7]]}},"keywords":{}}],["classif",{"_index":729,"title":{},"content":{"56":{"position":[[432,14],[676,14],[814,14]]}},"keywords":{}}],["clear",{"_index":472,"title":{},"content":{"41":{"position":[[96,5]]}},"keywords":{}}],["clearli",{"_index":480,"title":{},"content":{"41":{"position":[[254,8]]}},"keywords":{}}],["click",{"_index":363,"title":{},"content":{"37":{"position":[[308,7]]}},"keywords":{}}],["client",{"_index":666,"title":{},"content":{"54":{"position":[[2257,6]]}},"keywords":{}}],["close",{"_index":268,"title":{},"content":{"31":{"position":[[296,5]]}},"keywords":{}}],["co",{"_index":104,"title":{},"content":{"8":{"position":[[152,2]]}},"keywords":{}}],["code",{"_index":62,"title":{"32":{"position":[[0,4]]},"45":{"position":[[0,4]]}},"content":{"5":{"position":[[312,4]]},"32":{"position":[[10,4]]},"56":{"position":[[661,4],[754,4],[844,4]]}},"keywords":{}}],["codelist",{"_index":728,"title":{},"content":{"56":{"position":[[420,8]]}},"keywords":{}}],["collect",{"_index":387,"title":{},"content":{"39":{"position":[[132,8],[320,11]]},"55":{"position":[[699,10]]}},"keywords":{}}],["coloc",{"_index":267,"title":{},"content":{"31":{"position":[[280,8]]}},"keywords":{}}],["color",{"_index":350,"title":{},"content":{"37":{"position":[[143,7],[194,6],[223,6],[320,5],[326,8]]}},"keywords":{}}],["color="#1877f2">facebook",{"_index":368,"title":{},"content":{"37":{"position":[[505,37]]}},"keywords":{}}],["color="#25c2a0">docusauru",{"_index":366,"title":{},"content":{"37":{"position":[[417,39]]}},"keywords":{}}],["columbia",{"_index":1000,"title":{},"content":{"79":{"position":[[156,9]]},"80":{"position":[[929,9]]}},"keywords":{}}],["column",{"_index":758,"title":{},"content":{"56":{"position":[[1164,6]]}},"keywords":{}}],["come",{"_index":645,"title":{},"content":{"54":{"position":[[1626,4]]},"55":{"position":[[524,5]]}},"keywords":{}}],["command",{"_index":52,"title":{},"content":{"5":{"position":[[144,8],[220,7],[233,7],[330,7]]},"6":{"position":[[67,7],[239,7]]}},"keywords":{}}],["comment",{"_index":586,"title":{},"content":{"53":{"position":[[1027,8]]},"58":{"position":[[743,8]]}},"keywords":{}}],["common",{"_index":404,"title":{},"content":{"39":{"position":[[377,6]]},"41":{"position":[[138,6]]},"42":{"position":[[82,6]]},"43":{"position":[[672,6]]},"52":{"position":[[99,6]]},"54":{"position":[[43,6]]},"55":{"position":[[43,6]]},"56":{"position":[[260,6],[1364,6],[1846,6],[2051,6]]},"61":{"position":[[419,6]]},"80":{"position":[[703,6]]}},"keywords":{}}],["commonbuilt",{"_index":854,"title":{},"content":{"61":{"position":[[333,11]]}},"keywords":{}}],["commonli",{"_index":737,"title":{},"content":{"56":{"position":[[647,8]]},"58":{"position":[[18,8]]},"62":{"position":[[84,8]]},"66":{"position":[[98,8]]}},"keywords":{}}],["commun",{"_index":22,"title":{},"content":{"1":{"position":[[253,9]]},"40":{"position":[[646,11],[722,11]]}},"keywords":{}}],["comparison",{"_index":841,"title":{},"content":{"59":{"position":[[44,10]]},"77":{"position":[[21,10]]}},"keywords":{}}],["compat",{"_index":412,"title":{},"content":{"39":{"position":[[507,13]]},"62":{"position":[[204,10]]},"66":{"position":[[665,14]]}},"keywords":{}}],["compil",{"_index":1023,"title":{},"content":{"80":{"position":[[449,12]]}},"keywords":{}}],["complet",{"_index":655,"title":{},"content":{"54":{"position":[[2043,9]]},"55":{"position":[[164,8]]}},"keywords":{}}],["complex",{"_index":375,"title":{},"content":{"39":{"position":[[17,7]]}},"keywords":{}}],["compli",{"_index":805,"title":{},"content":{"58":{"position":[[459,8]]},"65":{"position":[[89,6],[149,6]]},"66":{"position":[[56,6],[465,6]]},"67":{"position":[[191,6]]},"68":{"position":[[46,6]]}},"keywords":{}}],["compliant",{"_index":871,"title":{},"content":{"62":{"position":[[524,9]]},"63":{"position":[[170,9]]},"64":{"position":[[171,9]]},"66":{"position":[[238,9]]}},"keywords":{}}],["compon",{"_index":343,"title":{"37":{"position":[[14,11]]}},"content":{"37":{"position":[[77,10]]}},"keywords":{}}],["concept",{"_index":487,"title":{"52":{"position":[[0,9]]}},"content":{"42":{"position":[[100,8]]},"52":{"position":[[38,8]]},"54":{"position":[[92,8],[637,7]]},"55":{"position":[[92,8],[372,8],[1177,7],[1525,7]]}},"keywords":{}}],["conceptu",{"_index":800,"title":{},"content":{"58":{"position":[[276,10]]}},"keywords":{}}],["concise.descript",{"_index":827,"title":{},"content":{"58":{"position":[[1042,19]]}},"keywords":{}}],["condit",{"_index":698,"title":{},"content":{"55":{"position":[[948,9],[1221,9]]}},"keywords":{}}],["configur",{"_index":7,"title":{"14":{"position":[[0,9]]},"23":{"position":[[0,9]]}},"content":{"1":{"position":[[49,13]]}},"keywords":{}}],["congratul",{"_index":0,"title":{"0":{"position":[[0,16]]}},"content":{"8":{"position":[[410,16]]}},"keywords":{}}],["connect",{"_index":442,"title":{},"content":{"40":{"position":[[381,7]]}},"keywords":{}}],["consid",{"_index":833,"title":{},"content":{"58":{"position":[[1343,10]]}},"keywords":{}}],["consist",{"_index":439,"title":{},"content":{"40":{"position":[[281,12],[548,10]]},"43":{"position":[[445,11]]},"56":{"position":[[932,10]]},"71":{"position":[[79,7]]}},"keywords":{}}],["consistencyidentifi",{"_index":511,"title":{},"content":{"43":{"position":[[258,19]]}},"keywords":{}}],["consistently.support",{"_index":455,"title":{},"content":{"40":{"position":[[671,20]]}},"keywords":{}}],["const",{"_index":348,"title":{},"content":{"37":{"position":[[113,5]]}},"keywords":{}}],["constrain",{"_index":752,"title":{},"content":{"56":{"position":[[985,11]]},"61":{"position":[[221,11]]},"66":{"position":[[322,11]]},"69":{"position":[[487,11]]},"70":{"position":[[293,9]]},"71":{"position":[[145,9]]}},"keywords":{}}],["constraint",{"_index":837,"title":{},"content":{"58":{"position":[[1456,10]]},"71":{"position":[[313,11]]}},"keywords":{}}],["constraintslegal_descript",{"_index":1014,"title":{},"content":{"80":{"position":[[200,28]]}},"keywords":{}}],["constraintsproject_id",{"_index":1053,"title":{},"content":{"87":{"position":[[41,21]]}},"keywords":{}}],["consult",{"_index":518,"title":{},"content":{"43":{"position":[[396,12]]}},"keywords":{}}],["contain",{"_index":802,"title":{},"content":{"58":{"position":[[366,7],[615,7]]},"67":{"position":[[99,8]]},"71":{"position":[[211,8]]},"80":{"position":[[44,7],[109,7]]},"87":{"position":[[297,7]]}},"keywords":{}}],["content",{"_index":215,"title":{},"content":{"24":{"position":[[88,7],[153,7],[221,7]]},"58":{"position":[[93,8]]}},"keywords":{}}],["context",{"_index":553,"title":{},"content":{"53":{"position":[[104,7]]},"54":{"position":[[1833,7]]},"56":{"position":[[528,7]]},"58":{"position":[[1147,7]]}},"keywords":{}}],["context"",{"_index":661,"title":{},"content":{"54":{"position":[[2189,14]]}},"keywords":{}}],["contribut",{"_index":468,"title":{},"content":{"41":{"position":[[49,10]]}},"keywords":{}}],["convention",{"_index":945,"title":{},"content":{"70":{"position":[[119,14]]}},"keywords":{}}],["convey",{"_index":708,"title":{},"content":{"55":{"position":[[1334,8]]},"58":{"position":[[691,9]]},"63":{"position":[[109,8]]},"64":{"position":[[107,8]]}},"keywords":{}}],["copi",{"_index":182,"title":{},"content":{"19":{"position":[[98,6]]},"24":{"position":[[1,4]]}},"keywords":{}}],["core",{"_index":408,"title":{},"content":{"39":{"position":[[443,4]]},"56":{"position":[[1288,4]]}},"keywords":{}}],["cost",{"_index":176,"title":{},"content":{"17":{"position":[[196,4]]},"40":{"position":[[148,5],[474,4]]}},"keywords":{}}],["cours",{"_index":493,"title":{},"content":{"42":{"position":[[214,7]]}},"keywords":{}}],["cp",{"_index":217,"title":{},"content":{"24":{"position":[[110,2]]}},"keywords":{}}],["creat",{"_index":27,"title":{"7":{"position":[[0,6]]},"8":{"position":[[0,6]]},"9":{"position":[[0,6]]},"10":{"position":[[0,6]]},"11":{"position":[[0,6]]},"12":{"position":[[0,6]]},"13":{"position":[[0,6]]},"19":{"position":[[0,6]]}},"content":{"3":{"position":[[16,8]]},"6":{"position":[[151,7]]},"8":{"position":[[1,6]]},"10":{"position":[[1,6]]},"11":{"position":[[1,6]]},"13":{"position":[[1,6]]},"14":{"position":[[26,7],[264,6]]},"19":{"position":[[158,8]]},"30":{"position":[[97,7],[149,7],[213,6]]},"33":{"position":[[36,6]]},"40":{"position":[[592,6]]}},"keywords":{}}],["creator",{"_index":105,"title":{},"content":{"8":{"position":[[155,7]]}},"keywords":{}}],["cross",{"_index":496,"title":{},"content":{"43":{"position":[[10,5],[313,5]]}},"keywords":{}}],["crown",{"_index":1007,"title":{},"content":{"79":{"position":[[389,5]]},"80":{"position":[[365,5],[1178,5]]}},"keywords":{}}],["csv",{"_index":782,"title":{},"content":{"56":{"position":[[1880,4]]}},"keywords":{}}],["current",{"_index":264,"title":{},"content":{"31":{"position":[[227,7]]},"55":{"position":[[940,7],[1213,7],[1306,7]]}},"keywords":{}}],["cursor",{"_index":359,"title":{},"content":{"37":{"position":[[255,7]]}},"keywords":{}}],["custom",{"_index":13,"title":{},"content":{"1":{"position":[[138,6]]},"14":{"position":[[83,9]]},"29":{"position":[[167,6]]}},"keywords":{}}],["c{purpos",{"_index":323,"title":{},"content":{"36":{"position":[[79,10]]}},"keywords":{}}],["d",{"_index":338,"title":{},"content":{"36":{"position":[[270,1]]}},"keywords":{}}],["d[document",{"_index":327,"title":{},"content":{"36":{"position":[[135,10]]}},"keywords":{}}],["danger",{"_index":289,"title":{},"content":{"33":{"position":[[157,9],[238,9]]}},"keywords":{}}],["danger[tak",{"_index":286,"title":{},"content":{"33":{"position":[[121,14]]}},"keywords":{}}],["dash",{"_index":1037,"title":{},"content":{"83":{"position":[[211,7],[464,7],[577,6]]}},"keywords":{}}],["data",{"_index":398,"title":{},"content":{"39":{"position":[[282,4],[460,4]]},"40":{"position":[[85,4],[199,4],[276,4]]},"41":{"position":[[112,4],[219,4]]},"42":{"position":[[49,4],[113,4]]},"43":{"position":[[48,4],[225,4],[773,4],[862,4],[905,4],[936,4]]},"56":{"position":[[150,4],[251,4],[267,4],[390,4],[1091,4],[1119,4],[1208,4],[1247,4],[1442,4],[1740,5],[1853,4],[1993,4],[2067,4]]},"75":{"position":[[9,4]]},"83":{"position":[[226,4],[256,4],[308,4]]},"84":{"position":[[4,4]]},"86":{"position":[[6,4]]}},"keywords":{}}],["databas",{"_index":768,"title":{},"content":{"56":{"position":[[1456,8],[2020,9],[2102,9]]}},"keywords":{}}],["date",{"_index":724,"title":{"62":{"position":[[0,4]]}},"content":{"56":{"position":[[313,5]]},"62":{"position":[[1,4],[139,4],[295,4]]},"75":{"position":[[118,4]]},"76":{"position":[[90,5]]}},"keywords":{}}],["decim",{"_index":927,"title":{},"content":{"69":{"position":[[1,8],[299,7]]}},"keywords":{}}],["decis",{"_index":392,"title":{},"content":{"39":{"position":[[186,9]]},"53":{"position":[[236,8],[263,8],[415,10],[504,9]]},"54":{"position":[[1238,8],[1278,8]]}},"keywords":{}}],["declar",{"_index":660,"title":{},"content":{"54":{"position":[[2161,9]]}},"keywords":{}}],["dedic",{"_index":575,"title":{},"content":{"53":{"position":[[754,9]]}},"keywords":{}}],["default",{"_index":133,"title":{},"content":{"10":{"position":[[144,7]]},"14":{"position":[[331,7]]},"20":{"position":[[133,7]]},"23":{"position":[[92,7]]},"26":{"position":[[133,7]]}},"keywords":{}}],["defaultlocal",{"_index":208,"title":{},"content":{"23":{"position":[[110,14]]}},"keywords":{}}],["defin",{"_index":244,"title":{},"content":{"29":{"position":[[357,8]]},"39":{"position":[[614,6]]},"54":{"position":[[162,7],[709,6],[1456,8]]},"55":{"position":[[587,7],[627,7],[729,7],[819,7],[1413,7]]},"56":{"position":[[206,8],[1472,8]]},"58":{"position":[[35,7],[135,6],[1268,8],[1370,7]]},"70":{"position":[[320,6],[379,6]]}},"keywords":{}}],["definit",{"_index":594,"title":{"54":{"position":[[0,12]]}},"content":{"54":{"position":[[27,11],[120,10],[1059,10]]},"55":{"position":[[27,11],[125,10],[1121,11],[1470,11]]},"56":{"position":[[45,11],[952,12],[1230,11],[1336,10]]},"70":{"position":[[444,11]]},"71":{"position":[[122,11]]}},"keywords":{}}],["definitionapplic",{"_index":554,"title":{},"content":{"53":{"position":[[127,19]]}},"keywords":{}}],["definitiondata",{"_index":717,"title":{},"content":{"56":{"position":[[118,14]]}},"keywords":{}}],["definitionlob",{"_index":541,"title":{},"content":{"51":{"position":[[6,13]]}},"keywords":{}}],["degre",{"_index":643,"title":{},"content":{"54":{"position":[[1585,7]]}},"keywords":{}}],["delici",{"_index":494,"title":{},"content":{"42":{"position":[[231,10]]}},"keywords":{}}],["deliv",{"_index":431,"title":{},"content":{"40":{"position":[[34,7]]},"53":{"position":[[743,10]]}},"keywords":{}}],["deliveri",{"_index":971,"title":{},"content":{"75":{"position":[[34,8]]}},"keywords":{}}],["depend",{"_index":43,"title":{},"content":{"4":{"position":[[112,13]]},"5":{"position":[[366,12]]}},"keywords":{}}],["deploy",{"_index":168,"title":{"15":{"position":[[0,6]]},"17":{"position":[[0,6]]}},"content":{"17":{"position":[[125,6],[211,10]]}},"keywords":{}}],["deriv",{"_index":247,"title":{},"content":{"29":{"position":[[400,7]]}},"keywords":{}}],["describ",{"_index":679,"title":{},"content":{"55":{"position":[[280,8]]},"56":{"position":[[21,8],[1551,9]]},"58":{"position":[[233,10],[265,10],[416,9]]},"66":{"position":[[120,9]]},"71":{"position":[[413,8]]},"75":{"position":[[142,10]]}},"keywords":{}}],["descript",{"_index":238,"title":{},"content":{"29":{"position":[[120,12],[145,11],[330,11]]},"39":{"position":[[448,11]]},"54":{"position":[[483,11]]},"55":{"position":[[921,11],[1194,11]]},"58":{"position":[[1072,11]]},"80":{"position":[[182,11],[256,11]]},"87":{"position":[[23,11],[260,11]]}},"keywords":{}}],["design",{"_index":14,"title":{},"content":{"1":{"position":[[145,6]]},"53":{"position":[[305,10]]},"54":{"position":[[1517,10]]}},"keywords":{}}],["detail",{"_index":301,"title":{},"content":{"34":{"position":[[159,7],[241,7]]},"55":{"position":[[1288,7],[1482,8]]},"61":{"position":[[495,6]]},"63":{"position":[[240,8]]},"64":{"position":[[258,8]]},"65":{"position":[[232,8]]},"67":{"position":[[256,8]]},"68":{"position":[[123,8]]},"70":{"position":[[471,7]]},"72":{"position":[[298,8]]},"73":{"position":[[207,8]]}},"keywords":{}}],["develop",{"_index":65,"title":{},"content":{"6":{"position":[[9,11],[299,11]]},"25":{"position":[[190,12]]},"29":{"position":[[186,9]]},"43":{"position":[[743,9]]},"53":{"position":[[618,12]]},"54":{"position":[[274,11]]}},"keywords":{}}],["diagram",{"_index":294,"title":{},"content":{"34":{"position":[[34,11],[259,7]]},"54":{"position":[[2314,7]]},"55":{"position":[[1548,7]]}},"keywords":{}}],["dialect",{"_index":925,"title":{},"content":{"68":{"position":[[70,8]]}},"keywords":{}}],["dictionari",{"_index":762,"title":{},"content":{"56":{"position":[[1252,11]]}},"keywords":{}}],["differ",{"_index":443,"title":{},"content":{"40":{"position":[[422,9],[692,9]]},"56":{"position":[[1503,9]]},"71":{"position":[[90,9]]}},"keywords":{}}],["differenti",{"_index":931,"title":{},"content":{"69":{"position":[[119,13]]}},"keywords":{}}],["difficult",{"_index":396,"title":{},"content":{"39":{"position":[[245,9]]}},"keywords":{}}],["digit",{"_index":997,"title":{},"content":{"79":{"position":[[64,5]]},"80":{"position":[[841,5]]},"83":{"position":[[558,5]]}},"keywords":{}}],["digits.parcel_id_numb",{"_index":1048,"title":{},"content":{"83":{"position":[[612,23]]}},"keywords":{}}],["direct",{"_index":427,"title":{},"content":{"39":{"position":[[840,9]]}},"keywords":{}}],["directori",{"_index":69,"title":{},"content":{"6":{"position":[[87,9]]},"31":{"position":[[102,9]]}},"keywords":{}}],["discret",{"_index":694,"title":{},"content":{"55":{"position":[[674,9]]}},"keywords":{}}],["discuss",{"_index":548,"title":{},"content":{"53":{"position":[[14,9]]}},"keywords":{}}],["display",{"_index":88,"title":{},"content":{"6":{"position":[[456,8]]}},"keywords":{}}],["disposit",{"_index":630,"title":{},"content":{"54":{"position":[[1216,11]]}},"keywords":{}}],["distinct",{"_index":686,"title":{},"content":{"55":{"position":[[417,8]]}},"keywords":{}}],["distribut",{"_index":1039,"title":{},"content":{"83":{"position":[[239,11]]}},"keywords":{}}],["district",{"_index":568,"title":{},"content":{"53":{"position":[[558,8]]}},"keywords":{}}],["divis",{"_index":688,"title":{},"content":{"55":{"position":[[436,8]]}},"keywords":{}}],["doc",{"_index":148,"title":{"13":{"position":[[18,4]]},"18":{"position":[[7,4]]},"19":{"position":[[9,4]]},"24":{"position":[[12,4]]}},"content":{"14":{"position":[[53,4]]},"19":{"position":[[83,4],[173,4],[332,4]]},"20":{"position":[[239,4]]},"21":{"position":[[34,4]]}},"keywords":{}}],["doc.md",{"_index":235,"title":{},"content":{"29":{"position":[[70,6]]}},"keywords":{}}],["docs/curr",{"_index":216,"title":{},"content":{"24":{"position":[[96,13]]}},"keywords":{}}],["docs/current/intro.md",{"_index":218,"title":{},"content":{"24":{"position":[[161,21],[229,21]]}},"keywords":{}}],["docs/hello.md",{"_index":149,"title":{},"content":{"13":{"position":[[27,14],[43,13]]},"14":{"position":[[126,13]]}},"keywords":{}}],["docs/intro.md",{"_index":83,"title":{},"content":{"6":{"position":[[374,13]]},"24":{"position":[[10,13],[113,13]]}},"keywords":{}}],["docs:vers",{"_index":181,"title":{},"content":{"19":{"position":[[60,12]]}},"keywords":{}}],["docscurr",{"_index":187,"title":{},"content":{"19":{"position":[[255,11]]}},"keywords":{}}],["document",{"_index":147,"title":{"12":{"position":[[9,8]]},"42":{"position":[[0,14]]}},"content":{"13":{"position":[[95,11],[115,8]]},"14":{"position":[[227,11],[451,10]]},"29":{"position":[[10,9],[105,8],[136,8]]},"34":{"position":[[218,13]]},"37":{"position":[[19,13]]},"42":{"position":[[26,11]]},"54":{"position":[[1702,8]]},"58":{"position":[[79,9],[193,9],[1234,8],[1328,8]]},"61":{"position":[[472,13]]},"62":{"position":[[403,13]]},"63":{"position":[[217,13]]},"64":{"position":[[235,13]]},"65":{"position":[[209,13]]},"66":{"position":[[148,14]]},"67":{"position":[[233,13]]},"68":{"position":[[100,13]]},"69":{"position":[[614,13]]},"70":{"position":[[253,13],[530,14]]},"71":{"position":[[476,13]]},"72":{"position":[[275,13]]},"73":{"position":[[184,13]]}},"keywords":{}}],["documentationmodifi",{"_index":5,"title":{},"content":{"1":{"position":[[19,19]]}},"keywords":{}}],["docusauru",{"_index":19,"title":{},"content":{"1":{"position":[[203,10],[242,10]]},"3":{"position":[[45,10]]},"5":{"position":[[16,10],[395,11]]},"6":{"position":[[159,10]]},"8":{"position":[[166,10],[291,10]]},"13":{"position":[[84,10]]},"14":{"position":[[1,10],[216,10]]},"19":{"position":[[49,10]]},"31":{"position":[[142,12],[337,12]]},"33":{"position":[[1,10]]},"34":{"position":[[5,10]]},"37":{"position":[[580,10]]}},"keywords":{}}],["docusaurus!</h1>",{"_index":277,"title":{},"content":{"32":{"position":[[175,23],[294,23]]}},"keywords":{}}],["docusaurus.config.j",{"_index":194,"title":{},"content":{"20":{"position":[[77,20],[105,20]]},"23":{"position":[[8,20],[64,20]]},"26":{"position":[[77,20],[105,20]]}},"keywords":{}}],["docusaurus.config.jsadd",{"_index":8,"title":{},"content":{"1":{"position":[[68,23]]}},"keywords":{}}],["docusaurus.new",{"_index":31,"title":{},"content":{"3":{"position":[[73,15]]}},"keywords":{}}],["docusaurus@latest",{"_index":55,"title":{},"content":{"5":{"position":[[163,17]]}},"keywords":{}}],["domain",{"_index":591,"title":{},"content":{"53":{"position":[[1137,7]]},"56":{"position":[[1026,7]]},"58":{"position":[[328,7]]},"76":{"position":[[204,6]]}},"keywords":{}}],["done",{"_index":949,"title":{},"content":{"70":{"position":[[494,4]]}},"keywords":{}}],["draft",{"_index":804,"title":{},"content":{"58":{"position":[[430,5]]},"59":{"position":[[1,5]]},"62":{"position":[[539,5]]},"66":{"position":[[253,5]]}},"keywords":{}}],["driven",{"_index":667,"title":{},"content":{"54":{"position":[[2264,6]]}},"keywords":{}}],["dropdown",{"_index":191,"title":{"20":{"position":[[14,9]]},"26":{"position":[[13,9]]}},"content":{"20":{"position":[[55,9],[252,8]]},"26":{"position":[[55,9],[231,8]]}},"keywords":{}}],["dublin",{"_index":763,"title":{},"content":{"56":{"position":[[1281,6]]}},"keywords":{}}],["durat",{"_index":870,"title":{},"content":{"62":{"position":[[468,8]]}},"keywords":{}}],["dure",{"_index":1025,"title":{},"content":{"80":{"position":[[485,6]]},"83":{"position":[[67,6]]}},"keywords":{}}],["e",{"_index":339,"title":{},"content":{"36":{"position":[[272,1]]}},"keywords":{}}],["e.g",{"_index":598,"title":{},"content":{"54":{"position":[[258,5]]},"55":{"position":[[1031,6],[1343,6]]},"80":{"position":[[697,5]]}},"keywords":{}}],["e[ev",{"_index":330,"title":{},"content":{"36":{"position":[[170,7]]}},"keywords":{}}],["each",{"_index":456,"title":{},"content":{"40":{"position":[[739,4]]},"43":{"position":[[656,4]]},"55":{"position":[[1653,4]]},"83":{"position":[[592,4]]}},"keywords":{}}],["easier",{"_index":441,"title":{},"content":{"40":{"position":[[371,6]]}},"keywords":{}}],["easili",{"_index":173,"title":{},"content":{"17":{"position":[[165,7]]}},"keywords":{}}],["ecma",{"_index":976,"title":{},"content":{"76":{"position":[[1,4]]}},"keywords":{}}],["ecosystem",{"_index":414,"title":{},"content":{"39":{"position":[[591,11]]}},"keywords":{}}],["edit",{"_index":85,"title":{},"content":{"6":{"position":[[404,4]]},"8":{"position":[[487,4]]},"21":{"position":[[19,4]]}},"keywords":{}}],["editor",{"_index":63,"title":{},"content":{"5":{"position":[[317,7]]},"58":{"position":[[793,7]]}},"keywords":{}}],["effort",{"_index":434,"title":{},"content":{"40":{"position":[[158,6],[463,6]]}},"keywords":{}}],["element",{"_index":409,"title":{},"content":{"39":{"position":[[475,8]]},"43":{"position":[[601,8]]},"56":{"position":[[1096,8],[1124,9],[1380,8]]},"71":{"position":[[38,9],[67,8],[167,8],[277,8]]}},"keywords":{}}],["email",{"_index":873,"title":{"63":{"position":[[0,6]]}},"content":{"63":{"position":[[1,5],[29,5],[90,6],[150,5]]}},"keywords":{}}],["email)rfc",{"_index":990,"title":{},"content":{"76":{"position":[[245,9]]}},"keywords":{}}],["email/smtp)rfc",{"_index":988,"title":{},"content":{"76":{"position":[[164,15]]}},"keywords":{}}],["en",{"_index":209,"title":{},"content":{"23":{"position":[[125,5],[140,6]]}},"keywords":{}}],["enabl",{"_index":411,"title":{},"content":{"39":{"position":[[496,6],[676,6],[797,8]]},"40":{"position":[[71,6]]},"43":{"position":[[1,6]]}},"keywords":{}}],["encod",{"_index":776,"title":{},"content":{"56":{"position":[[1667,9]]},"62":{"position":[[357,7]]},"72":{"position":[[240,9]]}},"keywords":{}}],["encount",{"_index":1043,"title":{},"content":{"83":{"position":[[417,11],[732,12]]}},"keywords":{}}],["end",{"_index":336,"title":{},"content":{"36":{"position":[[245,3],[278,3]]},"55":{"position":[[353,4]]}},"keywords":{}}],["enhanc",{"_index":438,"title":{},"content":{"40":{"position":[[268,7]]}},"keywords":{}}],["ensur",{"_index":477,"title":{},"content":{"41":{"position":[[212,6]]},"72":{"position":[[179,6]]}},"keywords":{}}],["enter",{"_index":1004,"title":{},"content":{"79":{"position":[[238,7]]},"80":{"position":[[1011,7]]}},"keywords":{}}],["entir",{"_index":680,"title":{},"content":{"55":{"position":[[293,6]]}},"keywords":{}}],["entiti",{"_index":570,"title":{},"content":{"53":{"position":[[601,6]]}},"keywords":{}}],["entri",{"_index":727,"title":{},"content":{"56":{"position":[[409,5]]}},"keywords":{}}],["equat",{"_index":967,"title":{},"content":{"73":{"position":[[111,6]]}},"keywords":{}}],["equival",{"_index":898,"title":{},"content":{"66":{"position":[[343,10]]}},"keywords":{}}],["errata",{"_index":994,"title":{"77":{"position":[[0,7]]}},"content":{},"keywords":{}}],["essenti",{"_index":634,"title":{},"content":{"54":{"position":[[1322,11]]}},"keywords":{}}],["establish",{"_index":573,"title":{},"content":{"53":{"position":[[709,11]]},"56":{"position":[[896,11],[1313,11]]}},"keywords":{}}],["evalu",{"_index":962,"title":{},"content":{"72":{"position":[[101,8],[204,9]]}},"keywords":{}}],["everyon",{"_index":462,"title":{"41":{"position":[[8,8]]}},"content":{"41":{"position":[[157,8]]}},"keywords":{}}],["evid",{"_index":421,"title":{},"content":{"39":{"position":[[727,8]]},"40":{"position":[[771,8]]}},"keywords":{}}],["exampl",{"_index":298,"title":{},"content":{"34":{"position":[[105,8]]},"56":{"position":[[704,8],[1268,8]]},"62":{"position":[[435,9]]},"69":{"position":[[646,9]]},"71":{"position":[[508,9]]}},"keywords":{}}],["exchang",{"_index":328,"title":{},"content":{"36":{"position":[[146,9]]}},"keywords":{}}],["exclusivemaximum",{"_index":941,"title":{},"content":{"69":{"position":[[571,17]]}},"keywords":{}}],["execut",{"_index":337,"title":{},"content":{"36":{"position":[[258,9]]}},"keywords":{}}],["exist",{"_index":199,"title":{"21":{"position":[[10,8]]}},"content":{},"keywords":{}}],["expand",{"_index":623,"title":{},"content":{"54":{"position":[[1047,6]]}},"keywords":{}}],["expect",{"_index":798,"title":{},"content":{"58":{"position":[[157,12],[244,8],[1206,8]]},"70":{"position":[[347,8]]},"71":{"position":[[248,11],[290,9]]}},"keywords":{}}],["expert",{"_index":588,"title":{},"content":{"53":{"position":[[1070,6],[1094,6]]}},"keywords":{}}],["explicitli",{"_index":163,"title":{},"content":{"14":{"position":[[284,10]]},"58":{"position":[[124,10]]}},"keywords":{}}],["export",{"_index":132,"title":{},"content":{"10":{"position":[[137,6]]},"14":{"position":[[324,6]]},"20":{"position":[[126,6]]},"23":{"position":[[85,6]]},"26":{"position":[[126,6]]},"37":{"position":[[106,6]]}},"keywords":{}}],["express",{"_index":899,"title":{"68":{"position":[[8,11]]}},"content":{"66":{"position":[[377,10],[498,10]]},"68":{"position":[[9,11]]}},"keywords":{}}],["expressionpattern",{"_index":853,"title":{},"content":{"61":{"position":[[291,18]]}},"keywords":{}}],["extend",{"_index":914,"title":{},"content":{"66":{"position":[[715,7]]}},"keywords":{}}],["extens",{"_index":848,"title":{},"content":{"61":{"position":[[156,9]]},"70":{"position":[[243,9]]}},"keywords":{}}],["f",{"_index":340,"title":{},"content":{"36":{"position":[[274,1]]}},"keywords":{}}],["f[aggreg",{"_index":333,"title":{},"content":{"36":{"position":[[202,14]]}},"keywords":{}}],["f]{12}$/i",{"_index":908,"title":{},"content":{"66":{"position":[[606,9]]}},"keywords":{}}],["f]{4",{"_index":907,"title":{},"content":{"66":{"position":[[570,5],[582,5],[594,5]]}},"keywords":{}}],["f]{8",{"_index":906,"title":{},"content":{"66":{"position":[[558,5]]}},"keywords":{}}],["fabric",{"_index":1022,"title":{},"content":{"80":{"position":[[442,6]]}},"keywords":{}}],["facebook",{"_index":371,"title":{},"content":{"37":{"position":[[608,8]]}},"keywords":{}}],["facilit",{"_index":628,"title":{},"content":{"54":{"position":[[1173,11]]}},"keywords":{}}],["fals",{"_index":961,"title":{},"content":{"72":{"position":[[66,6],[134,6]]}},"keywords":{}}],["fanci",{"_index":654,"title":{},"content":{"54":{"position":[[1990,5]]}},"keywords":{}}],["featur",{"_index":230,"title":{"28":{"position":[[9,8]]}},"content":{"33":{"position":[[102,7],[197,7]]}},"keywords":{}}],["feedback",{"_index":476,"title":{},"content":{"41":{"position":[[200,8]]}},"keywords":{}}],["feel",{"_index":118,"title":{},"content":{"8":{"position":[[458,4]]}},"keywords":{}}],["fff",{"_index":356,"title":{},"content":{"37":{"position":[[230,7]]}},"keywords":{}}],["field",{"_index":815,"title":{},"content":{"58":{"position":[[681,5]]}},"keywords":{}}],["file",{"_index":92,"title":{},"content":{"8":{"position":[[10,4]]},"10":{"position":[[10,4]]},"11":{"position":[[10,4]]},"13":{"position":[[19,4]]},"16":{"position":[[61,5]]},"20":{"position":[[98,5]]},"24":{"position":[[24,4]]},"26":{"position":[[98,5]]},"30":{"position":[[67,4]]},"31":{"position":[[235,4],[318,5]]},"56":{"position":[[1681,4]]}},"keywords":{}}],["filenam",{"_index":248,"title":{},"content":{"29":{"position":[[419,8]]}},"keywords":{}}],["filesystem",{"_index":791,"title":{},"content":{"56":{"position":[[2006,11]]}},"keywords":{}}],["final",{"_index":631,"title":{},"content":{"54":{"position":[[1232,5]]}},"keywords":{}}],["first",{"_index":91,"title":{"8":{"position":[[12,5]]},"10":{"position":[[12,5]]},"11":{"position":[[12,5]]},"13":{"position":[[12,5]]}},"content":{"8":{"position":[[446,5]]},"13":{"position":[[76,7]]},"14":{"position":[[208,7]]},"43":{"position":[[382,5]]},"54":{"position":[[1439,5]]},"72":{"position":[[225,5]]}},"keywords":{}}],["flexibl",{"_index":425,"title":{},"content":{"39":{"position":[[806,11]]}},"keywords":{}}],["float",{"_index":928,"title":{},"content":{"69":{"position":[[13,8],[154,8],[244,8]]}},"keywords":{}}],["flowchart",{"_index":315,"title":{"36":{"position":[[0,10]]}},"content":{},"keywords":{}}],["fm",{"_index":748,"title":{},"content":{"56":{"position":[[853,2]]}},"keywords":{}}],["focu",{"_index":525,"title":{},"content":{"43":{"position":[[807,5]]}},"keywords":{}}],["focus",{"_index":574,"title":{},"content":{"53":{"position":[[732,7]]}},"keywords":{}}],["folder",{"_index":153,"title":{},"content":{"14":{"position":[[58,7]]},"16":{"position":[[94,7]]},"17":{"position":[[64,6],[142,6]]},"19":{"position":[[88,6]]},"21":{"position":[[59,7]]},"24":{"position":[[44,7]]}},"keywords":{}}],["follow",{"_index":296,"title":{},"content":{"34":{"position":[[80,9]]},"52":{"position":[[5,9]]},"54":{"position":[[2304,9]]},"55":{"position":[[1538,9]]},"56":{"position":[[5,9]]},"58":{"position":[[378,9]]},"83":{"position":[[392,9]]}},"keywords":{}}],["footer",{"_index":10,"title":{},"content":{"1":{"position":[[103,6]]}},"keywords":{}}],["form",{"_index":617,"title":{},"content":{"54":{"position":[[911,6],[2072,4]]}},"keywords":{}}],["form(",{"_index":609,"title":{},"content":{"54":{"position":[[537,7]]}},"keywords":{}}],["formal",{"_index":606,"title":{},"content":{"54":{"position":[[462,6],[1095,6]]}},"keywords":{}}],["format",{"_index":773,"title":{"57":{"position":[[0,10]]}},"content":{"56":{"position":[[1598,6],[1609,6],[1686,6],[1758,7],[1858,7]]},"61":{"position":[[110,7],[348,6],[426,7],[528,6]]},"62":{"position":[[18,7],[71,7],[197,6],[305,7],[477,6]]},"63":{"position":[[22,6],[82,7],[139,6]]},"64":{"position":[[16,6],[77,7],[137,6]]},"65":{"position":[[28,9],[54,8]]},"66":{"position":[[41,6],[112,7],[191,6],[811,6]]},"67":{"position":[[20,6]]},"68":{"position":[[26,6]]},"83":{"position":[[169,6],[349,7],[402,7],[521,9]]}},"keywords":{}}],["format"",{"_index":775,"title":{},"content":{"56":{"position":[[1639,12]]}},"keywords":{}}],["found",{"_index":950,"title":{},"content":{"70":{"position":[[506,5]]}},"keywords":{}}],["foundat",{"_index":406,"title":{},"content":{"39":{"position":[[423,12]]}},"keywords":{}}],["fr",{"_index":207,"title":{},"content":{"23":{"position":[[52,2],[147,6]]},"25":{"position":[[66,2]]},"27":{"position":[[67,2]]}},"keywords":{}}],["free",{"_index":119,"title":{},"content":{"8":{"position":[[463,4]]},"17":{"position":[[177,4]]},"58":{"position":[[671,4]]}},"keywords":{}}],["french",{"_index":219,"title":{},"content":{"24":{"position":[[254,7]]},"25":{"position":[[24,6]]}},"keywords":{}}],["front",{"_index":231,"title":{"29":{"position":[[0,5]]}},"content":{"29":{"position":[[52,5]]}},"keywords":{}}],["full",{"_index":1016,"title":{},"content":{"80":{"position":[[245,4]]},"87":{"position":[[255,4]]}},"keywords":{}}],["function",{"_index":134,"title":{},"content":{"10":{"position":[[152,8]]},"32":{"position":[[122,8],[241,8]]}},"keywords":{}}],["fundament",{"_index":719,"title":{},"content":{"56":{"position":[[179,11]]}},"keywords":{}}],["further",{"_index":818,"title":{},"content":{"58":{"position":[[815,7]]},"66":{"position":[[839,7]]}},"keywords":{}}],["g",{"_index":341,"title":{},"content":{"36":{"position":[[276,1]]}},"keywords":{}}],["g[/further",{"_index":324,"title":{},"content":{"36":{"position":[[99,10]]}},"keywords":{}}],["gain",{"_index":506,"title":{},"content":{"43":{"position":[[169,4]]}},"keywords":{}}],["gap",{"_index":505,"title":{},"content":{"43":{"position":[[163,5]]}},"keywords":{}}],["gener",{"_index":44,"title":{"5":{"position":[[0,8]]}},"content":{"5":{"position":[[1,8]]},"16":{"position":[[71,9]]},"55":{"position":[[1140,7]]},"56":{"position":[[103,8]]}},"keywords":{}}],["get",{"_index":25,"title":{"3":{"position":[[0,7]]},"38":{"position":[[0,7]]},"41":{"position":[[0,7]]}},"content":{"25":{"position":[[142,7]]},"54":{"position":[[612,7]]}},"keywords":{}}],["given",{"_index":584,"title":{},"content":{"53":{"position":[[984,5]]}},"keywords":{}}],["global",{"_index":733,"title":{},"content":{"56":{"position":[[521,6]]}},"keywords":{}}],["go",{"_index":696,"title":{},"content":{"55":{"position":[[788,2]]},"80":{"position":[[495,5]]}},"keywords":{}}],["goal",{"_index":495,"title":{"43":{"position":[[0,6]]}},"content":{"43":{"position":[[426,4]]}},"keywords":{}}],["good",{"_index":799,"title":{},"content":{"58":{"position":[[224,4]]}},"keywords":{}}],["govern",{"_index":484,"title":{"75":{"position":[[0,10]]}},"content":{"42":{"position":[[38,10]]},"53":{"position":[[520,10],[897,11],[912,10]]},"83":{"position":[[95,11],[289,10]]}},"keywords":{}}],["governance.develop",{"_index":474,"title":{},"content":{"41":{"position":[[117,18]]}},"keywords":{}}],["grant",{"_index":614,"title":{},"content":{"54":{"position":[[789,8],[987,6],[1717,6]]}},"keywords":{}}],["graph",{"_index":292,"title":{"34":{"position":[[8,7]]}},"content":{"35":{"position":[[12,5]]},"36":{"position":[[12,5]]}},"keywords":{}}],["green",{"_index":370,"title":{},"content":{"37":{"position":[[591,5]]}},"keywords":{}}],["green</highlight>",{"_index":367,"title":{},"content":{"37":{"position":[[457,23]]}},"keywords":{}}],["greet",{"_index":98,"title":{},"content":{"8":{"position":[[88,9],[105,10],[394,11]]}},"keywords":{}}],["greetings.md",{"_index":96,"title":{},"content":{"8":{"position":[[34,13],[65,12]]}},"keywords":{}}],["group",{"_index":465,"title":{},"content":{"41":{"position":[[18,5]]},"53":{"position":[[57,5],[157,5],[456,5]]},"56":{"position":[[1110,5]]},"83":{"position":[[597,5]]},"86":{"position":[[43,8]]}},"keywords":{}}],["gt",{"_index":322,"title":{},"content":{"36":{"position":[[74,4],[94,4]]},"37":{"position":[[151,5],[289,5],[360,6]]}},"keywords":{}}],["gt;b",{"_index":310,"title":{},"content":{"35":{"position":[[24,5]]}},"keywords":{}}],["gt;c",{"_index":311,"title":{},"content":{"35":{"position":[[33,5]]}},"keywords":{}}],["gt;d",{"_index":313,"title":{},"content":{"35":{"position":[[42,5],[51,5]]}},"keywords":{}}],["gt;|get",{"_index":318,"title":{},"content":{"36":{"position":[[31,8]]}},"keywords":{}}],["gt;|one",{"_index":326,"title":{},"content":{"36":{"position":[[123,11]]}},"keywords":{}}],["gt;|three",{"_index":332,"title":{},"content":{"36":{"position":[[190,11]]}},"keywords":{}}],["gt;|two",{"_index":329,"title":{},"content":{"36":{"position":[[160,9]]}},"keywords":{}}],["guid",{"_index":177,"title":{},"content":{"17":{"position":[[222,7]]}},"keywords":{}}],["guidelin",{"_index":451,"title":{},"content":{"40":{"position":[[609,10]]}},"keywords":{}}],["happen",{"_index":627,"title":{},"content":{"54":{"position":[[1147,9]]},"55":{"position":[[1505,9]]}},"keywords":{}}],["harmon",{"_index":502,"title":{},"content":{"43":{"position":[[115,10],[299,13]]}},"keywords":{}}],["head",{"_index":239,"title":{},"content":{"29":{"position":[[212,7]]},"56":{"position":[[1171,8]]}},"keywords":{}}],["health",{"_index":974,"title":{},"content":{"75":{"position":[[85,6]]}},"keywords":{}}],["hello",{"_index":150,"title":{},"content":{"13":{"position":[[59,5]]},"14":{"position":[[191,5],[369,8]]}},"keywords":{}}],["hellodocusauru",{"_index":275,"title":{},"content":{"32":{"position":[[131,17],[250,17]]}},"keywords":{}}],["help",{"_index":452,"title":{},"content":{"40":{"position":[[625,4]]}},"keywords":{}}],["here",{"_index":604,"title":{},"content":{"54":{"position":[[443,4]]},"61":{"position":[[434,5]]}},"keywords":{}}],["hi",{"_index":159,"title":{},"content":{"14":{"position":[[159,5]]}},"keywords":{}}],["high",{"_index":669,"title":{},"content":{"54":{"position":[[2333,4]]},"55":{"position":[[1567,4]]}},"keywords":{}}],["higher",{"_index":697,"title":{},"content":{"55":{"position":[[870,6]]}},"keywords":{}}],["highest",{"_index":684,"title":{},"content":{"55":{"position":[[358,7]]}},"keywords":{}}],["highlight",{"_index":272,"title":{},"content":{"32":{"position":[[48,13]]},"37":{"position":[[119,9]]}},"keywords":{}}],["hostnam",{"_index":881,"title":{"64":{"position":[[0,9]]}},"content":{"64":{"position":[[1,9],[23,8],[85,9],[148,8]]}},"keywords":{}}],["hosts)rfc",{"_index":980,"title":{},"content":{"76":{"position":[[45,9]]}},"keywords":{}}],["hous",{"_index":599,"title":{},"content":{"54":{"position":[[266,7]]}},"keywords":{}}],["http://localhost:3000",{"_index":81,"title":{},"content":{"6":{"position":[[344,23]]},"17":{"position":[[88,23]]}},"keywords":{}}],["http://localhost:3000/blog/greet",{"_index":125,"title":{},"content":{"8":{"position":[[561,37]]}},"keywords":{}}],["http://localhost:3000/doc",{"_index":186,"title":{},"content":{"19":{"position":[[207,27]]}},"keywords":{}}],["http://localhost:3000/docs/hello",{"_index":151,"title":{},"content":{"13":{"position":[[144,33]]}},"keywords":{}}],["http://localhost:3000/docs/hellodocs/hello.md",{"_index":202,"title":{},"content":{"21":{"position":[[112,45]]}},"keywords":{}}],["http://localhost:3000/docs/next",{"_index":188,"title":{},"content":{"19":{"position":[[270,32]]}},"keywords":{}}],["http://localhost:3000/docs/next/hello",{"_index":203,"title":{},"content":{"21":{"position":[[166,37]]}},"keywords":{}}],["http://localhost:3000/fr",{"_index":221,"title":{},"content":{"25":{"position":[[108,25]]}},"keywords":{}}],["http://localhost:3000/mi",{"_index":144,"title":{},"content":{"10":{"position":[[330,24]]},"11":{"position":[[156,24]]}},"keywords":{}}],["https://github.com/joelmarcey",{"_index":108,"title":{},"content":{"8":{"position":[[184,29]]}},"keywords":{}}],["https://github.com/joelmarcey.png",{"_index":110,"title":{},"content":{"8":{"position":[[225,33]]}},"keywords":{}}],["https://github.com/slorber.png",{"_index":115,"title":{},"content":{"8":{"position":[[357,30]]}},"keywords":{}}],["https://json",{"_index":808,"title":{},"content":{"58":{"position":[[513,12]]}},"keywords":{}}],["https://sebastienlorber.com",{"_index":114,"title":{},"content":{"8":{"position":[[318,27]]}},"keywords":{}}],["i18n",{"_index":205,"title":{"23":{"position":[[10,5]]}},"content":{"23":{"position":[[102,5]]}},"keywords":{}}],["i18n/fr",{"_index":210,"title":{},"content":{"24":{"position":[[36,7]]}},"keywords":{}}],["i18n/fr/docusauru",{"_index":213,"title":{},"content":{"24":{"position":[[62,18],[127,18],[195,18]]}},"keywords":{}}],["id",{"_index":236,"title":{"83":{"position":[[7,2]]}},"content":{"29":{"position":[[81,3]]},"79":{"position":[[8,2]]},"80":{"position":[[785,2]]},"83":{"position":[[8,3],[345,3],[518,2],[662,2]]}},"keywords":{}}],["ideal",{"_index":812,"title":{},"content":{"58":{"position":[[607,7]]}},"keywords":{}}],["identif",{"_index":335,"title":{},"content":{"36":{"position":[[226,14]]},"79":{"position":[[354,14]]},"80":{"position":[[1143,14]]}},"keywords":{}}],["identifi",{"_index":504,"title":{"66":{"position":[[9,11]]},"78":{"position":[[7,10]]}},"content":{"43":{"position":[[154,8]]},"54":{"position":[[324,11]]},"56":{"position":[[319,11],[331,11],[465,11],[1810,12]]},"66":{"position":[[20,11]]},"67":{"position":[[83,10]]},"79":{"position":[[45,11],[95,10],[330,11],[416,11]]},"80":{"position":[[16,10],[94,10],[822,11],[868,10],[1103,11],[1205,11]]}},"keywords":{}}],["idmay",{"_index":245,"title":{},"content":{"29":{"position":[[369,5]]}},"keywords":{}}],["idn",{"_index":878,"title":{},"content":{"63":{"position":[[146,3]]},"64":{"position":[[144,3]]}},"keywords":{}}],["ie",{"_index":419,"title":{},"content":{"39":{"position":[[712,4]]}},"keywords":{}}],["imag",{"_index":259,"title":{"31":{"position":[[0,7]]}},"content":{"31":{"position":[[18,6],[81,6],[204,6],[289,6]]}},"keywords":{}}],["image_url",{"_index":109,"title":{},"content":{"8":{"position":[[214,10],[346,10]]}},"keywords":{}}],["immedi",{"_index":30,"title":{},"content":{"3":{"position":[[56,11]]}},"keywords":{}}],["impact",{"_index":565,"title":{},"content":{"53":{"position":[[475,8]]}},"keywords":{}}],["implement",{"_index":490,"title":{"48":{"position":[[0,14]]},"82":{"position":[[0,14]]},"89":{"position":[[0,14]]}},"content":{"42":{"position":[[142,12]]},"58":{"position":[[904,14]]}},"keywords":{}}],["impli",{"_index":835,"title":{},"content":{"58":{"position":[[1407,7]]}},"keywords":{}}],["import",{"_index":129,"title":{},"content":{"10":{"position":[[74,6],[101,6]]}},"keywords":{}}],["improv",{"_index":424,"title":{},"content":{"39":{"position":[[778,12]]},"40":{"position":[[294,7]]},"43":{"position":[[213,11]]}},"keywords":{}}],["includ",{"_index":228,"title":{},"content":{"27":{"position":[[94,7]]},"39":{"position":[[272,9]]},"40":{"position":[[216,8]]},"54":{"position":[[918,9]]},"56":{"position":[[564,7],[1866,7],[2077,7]]},"83":{"position":[[182,8],[435,8]]}},"keywords":{}}],["inclus",{"_index":948,"title":{},"content":{"70":{"position":[[404,9]]}},"keywords":{}}],["inconsist",{"_index":400,"title":{},"content":{"39":{"position":[[299,15]]}},"keywords":{}}],["indic",{"_index":635,"title":{},"content":{"54":{"position":[[1334,9]]}},"keywords":{}}],["individu",{"_index":756,"title":{},"content":{"56":{"position":[[1080,10]]}},"keywords":{}}],["industri",{"_index":746,"title":{},"content":{"56":{"position":[[805,8]]}},"keywords":{}}],["infer",{"_index":933,"title":{},"content":{"69":{"position":[[208,5]]}},"keywords":{}}],["info",{"_index":912,"title":{},"content":{"66":{"position":[[680,4]]}},"keywords":{}}],["inform",{"_index":390,"title":{},"content":{"39":{"position":[[159,11]]},"40":{"position":[[407,11]]},"43":{"position":[[246,11],[613,11]]},"56":{"position":[[228,11],[1523,12]]},"58":{"position":[[713,11]]},"61":{"position":[[39,12]]},"75":{"position":[[92,11]]},"87":{"position":[[305,11]]}},"keywords":{}}],["init",{"_index":54,"title":{},"content":{"5":{"position":[[158,4]]}},"keywords":{}}],["initi",{"_index":764,"title":{},"content":{"56":{"position":[[1302,10]]}},"keywords":{}}],["input",{"_index":585,"title":{},"content":{"53":{"position":[[1017,5]]}},"keywords":{}}],["inrfc",{"_index":857,"title":{},"content":{"62":{"position":[[47,5]]},"63":{"position":[[56,5]]},"64":{"position":[[53,5]]}},"keywords":{}}],["insid",{"_index":347,"title":{},"content":{"37":{"position":[[88,6]]}},"keywords":{}}],["insight",{"_index":507,"title":{},"content":{"43":{"position":[[174,8]]}},"keywords":{}}],["inspection"",{"_index":712,"title":{},"content":{"55":{"position":[[1390,18]]}},"keywords":{}}],["inspir",{"_index":18,"title":{},"content":{"1":{"position":[[183,12]]}},"keywords":{}}],["instal",{"_index":38,"title":{},"content":{"4":{"position":[[37,10]]},"5":{"position":[[343,8]]}},"keywords":{}}],["instanc",{"_index":293,"title":{},"content":{"34":{"position":[[16,8]]}},"keywords":{}}],["instead",{"_index":897,"title":{},"content":{"66":{"position":[[291,8]]}},"keywords":{}}],["intak",{"_index":391,"title":{},"content":{"39":{"position":[[176,6]]}},"keywords":{}}],["integ",{"_index":723,"title":{},"content":{"56":{"position":[[292,8]]},"69":{"position":[[141,8],[233,7],[370,7],[422,7],[460,8]]},"80":{"position":[[770,7],[1124,7]]},"83":{"position":[[791,7]]}},"keywords":{}}],["integr",{"_index":61,"title":{},"content":{"5":{"position":[[284,10]]},"39":{"position":[[357,9]]},"40":{"position":[[490,12]]}},"keywords":{}}],["intellig",{"_index":418,"title":{},"content":{"39":{"position":[[699,12]]}},"keywords":{}}],["intend",{"_index":731,"title":{},"content":{"56":{"position":[[481,8],[583,8]]},"86":{"position":[[19,8]]}},"keywords":{}}],["intent",{"_index":596,"title":{},"content":{"54":{"position":[[170,6],[198,7],[554,6],[667,6]]},"58":{"position":[[995,6]]}},"keywords":{}}],["interact",{"_index":345,"title":{},"content":{"37":{"position":[[38,11]]},"54":{"position":[[2418,8]]}},"keywords":{}}],["interchang",{"_index":529,"title":{},"content":{"43":{"position":[[867,11]]}},"keywords":{}}],["interest",{"_index":467,"title":{},"content":{"41":{"position":[[35,10]]},"53":{"position":[[426,10]]},"54":{"position":[[1011,8]]}},"keywords":{}}],["interfac",{"_index":786,"title":{},"content":{"56":{"position":[[1925,9]]}},"keywords":{}}],["intern",{"_index":865,"title":{},"content":{"62":{"position":[[158,10]]}},"keywords":{}}],["internation",{"_index":877,"title":{},"content":{"63":{"position":[[121,17]]},"64":{"position":[[119,17]]},"76":{"position":[[185,18],[226,18]]}},"keywords":{}}],["internet",{"_index":979,"title":{},"content":{"76":{"position":[[35,9]]}},"keywords":{}}],["interoper",{"_index":413,"title":{},"content":{"39":{"position":[[525,16]]},"40":{"position":[[109,17],[302,17]]},"43":{"position":[[533,16],[694,16]]}},"keywords":{}}],["intro",{"_index":24,"title":{"2":{"position":[[9,5]]}},"content":{"14":{"position":[[360,8]]}},"keywords":{}}],["involv",{"_index":21,"title":{},"content":{"1":{"position":[[226,8]]},"40":{"position":[[165,8]]}},"keywords":{}}],["ip",{"_index":886,"title":{"65":{"position":[[0,2]]}},"content":{"65":{"position":[[1,2]]}},"keywords":{}}],["ipv4",{"_index":887,"title":{},"content":{"65":{"position":[[41,4],[66,4]]}},"keywords":{}}],["ipv4)rfc",{"_index":982,"title":{},"content":{"76":{"position":[[75,9]]}},"keywords":{}}],["ipv6",{"_index":888,"title":{},"content":{"65":{"position":[[49,4],[126,4]]}},"keywords":{}}],["ipv6)rfc",{"_index":981,"title":{},"content":{"76":{"position":[[60,9]]}},"keywords":{}}],["iso",{"_index":739,"title":{},"content":{"56":{"position":[[735,3]]},"61":{"position":[[173,3]]}},"keywords":{}}],["issu",{"_index":562,"title":{},"content":{"53":{"position":[[370,5]]}},"keywords":{}}],["it'",{"_index":605,"title":{},"content":{"54":{"position":[[451,4]]}},"keywords":{}}],["item",{"_index":11,"title":{},"content":{"1":{"position":[[110,5]]},"14":{"position":[[417,6]]},"20":{"position":[[168,6]]},"26":{"position":[[168,6]]},"71":{"position":[[185,5]]}},"keywords":{}}],["joel",{"_index":102,"title":{},"content":{"8":{"position":[[133,4]]}},"keywords":{}}],["json",{"_index":772,"title":{"58":{"position":[[0,4]]}},"content":{"56":{"position":[[1585,4],[1874,5]]},"58":{"position":[[3,4],[63,4],[209,4],[339,4],[447,4]]},"61":{"position":[[460,4]]},"62":{"position":[[555,4]]},"66":{"position":[[269,4]]},"69":{"position":[[93,4]]},"70":{"position":[[55,5]]},"71":{"position":[[48,4]]},"72":{"position":[[166,4]]},"77":{"position":[[1,4]]},"83":{"position":[[786,4]]}},"keywords":{}}],["json)json",{"_index":840,"title":{},"content":{"59":{"position":[[18,10]]}},"keywords":{}}],["json)rfc",{"_index":992,"title":{},"content":{"76":{"position":[[283,9]]}},"keywords":{}}],["jsx",{"_index":273,"title":{},"content":{"32":{"position":[[63,6]]}},"keywords":{}}],["jurisdict",{"_index":572,"title":{},"content":{"53":{"position":[[682,13]]},"54":{"position":[[1546,13]]}},"keywords":{}}],["key",{"_index":520,"title":{},"content":{"43":{"position":[[597,3]]},"70":{"position":[[32,3],[65,3],[101,3],[307,3]]},"87":{"position":[[82,3]]}},"keywords":{}}],["keyword",{"_index":951,"title":{},"content":{"71":{"position":[[191,8],[220,7]]}},"keywords":{}}],["kind",{"_index":953,"title":{},"content":{"71":{"position":[[268,5]]}},"keywords":{}}],["known",{"_index":860,"title":{},"content":{"62":{"position":[[93,5]]}},"keywords":{}}],["label",{"_index":156,"title":{},"content":{"14":{"position":[[105,5],[398,6]]},"37":{"position":[[340,5]]},"56":{"position":[[1069,6]]}},"keywords":{}}],["lack",{"_index":930,"title":{},"content":{"69":{"position":[[98,5]]}},"keywords":{}}],["land",{"_index":651,"title":{},"content":{"54":{"position":[[1777,4]]},"79":{"position":[[18,4],[122,4],[273,4],[395,4]]},"80":{"position":[[317,4],[371,4],[795,4],[895,4],[1046,4],[1184,4]]}},"keywords":{}}],["languag",{"_index":225,"title":{},"content":{"26":{"position":[[31,10]]},"39":{"position":[[384,9]]},"41":{"position":[[145,8]]},"43":{"position":[[679,10]]},"72":{"position":[[87,9]]}},"keywords":{}}],["larger",{"_index":699,"title":{},"content":{"55":{"position":[[1004,6],[1133,6]]}},"keywords":{}}],["layout",{"_index":130,"title":{},"content":{"10":{"position":[[108,6]]}},"keywords":{}}],["layoutadd",{"_index":15,"title":{},"content":{"1":{"position":[[156,9]]}},"keywords":{}}],["lead",{"_index":1050,"title":{},"content":{"83":{"position":[[686,7]]}},"keywords":{}}],["leas",{"_index":620,"title":{},"content":{"54":{"position":[[955,6]]}},"keywords":{}}],["left",{"_index":1046,"title":{},"content":{"83":{"position":[[536,4]]}},"keywords":{}}],["legal",{"_index":1017,"title":{},"content":{"80":{"position":[[250,5]]}},"keywords":{}}],["legal_descript",{"_index":1010,"title":{},"content":{"80":{"position":[[119,17]]}},"keywords":{}}],["legisl",{"_index":561,"title":{},"content":{"53":{"position":[[355,11]]}},"keywords":{}}],["less",{"_index":896,"title":{},"content":{"66":{"position":[[93,4]]}},"keywords":{}}],["let'",{"_index":254,"title":{},"content":{"30":{"position":[[80,5],[132,5],[196,5]]}},"keywords":{}}],["level",{"_index":513,"title":{},"content":{"43":{"position":[[326,5]]},"54":{"position":[[2338,5]]},"55":{"position":[[366,5],[877,5],[1572,5]]},"58":{"position":[[436,5]]},"69":{"position":[[430,5]]}},"keywords":{}}],["lexicon",{"_index":545,"title":{},"content":{"52":{"position":[[106,7]]}},"keywords":{}}],["licens",{"_index":618,"title":{},"content":{"54":{"position":[[938,8]]}},"keywords":{}}],["lieu",{"_index":937,"title":{},"content":{"69":{"position":[[358,4]]}},"keywords":{}}],["lifecycl",{"_index":675,"title":{},"content":{"55":{"position":[[136,12],[263,9],[454,10],[616,10]]}},"keywords":{}}],["line",{"_index":86,"title":{},"content":{"6":{"position":[[414,6]]},"51":{"position":[[20,4]]}},"keywords":{}}],["link",{"_index":250,"title":{"30":{"position":[[0,6]]}},"content":{"30":{"position":[[18,5]]}},"keywords":{}}],["linkingcoordin",{"_index":516,"title":{},"content":{"43":{"position":[[363,18]]}},"keywords":{}}],["links](./hello.md",{"_index":241,"title":{},"content":{"29":{"position":[[239,19]]}},"keywords":{}}],["list",{"_index":486,"title":{},"content":{"42":{"position":[[77,4]]},"56":{"position":[[666,5]]}},"keywords":{}}],["load",{"_index":536,"title":{},"content":{"47":{"position":[[14,7]]},"81":{"position":[[21,7]]},"88":{"position":[[21,7]]}},"keywords":{}}],["lob",{"_index":530,"title":{},"content":{"43":{"position":[[915,3]]},"54":{"position":[[1166,3]]}},"keywords":{}}],["local",{"_index":76,"title":{"25":{"position":[[11,9]]},"26":{"position":[[6,6]]},"27":{"position":[[11,9]]}},"content":{"6":{"position":[[267,7]]},"17":{"position":[[28,8]]},"23":{"position":[[55,7],[131,8]]},"25":{"position":[[31,7],[59,6],[76,9],[224,6]]},"26":{"position":[[48,6],[224,6]]},"27":{"position":[[32,7],[60,6],[110,7]]},"53":{"position":[[514,5],[891,5]]},"56":{"position":[[512,5]]}},"keywords":{}}],["localedropdown",{"_index":226,"title":{},"content":{"26":{"position":[[185,17]]}},"keywords":{}}],["locat",{"_index":641,"title":{},"content":{"54":{"position":[[1534,8]]}},"keywords":{}}],["location(",{"_index":613,"title":{},"content":{"54":{"position":[[720,11]]}},"keywords":{}}],["logo](./img/docusaurus.png",{"_index":269,"title":{},"content":{"31":{"position":[[350,27]]}},"keywords":{}}],["logo](/img/docusaurus.png",{"_index":263,"title":{},"content":{"31":{"position":[[155,26]]}},"keywords":{}}],["looser",{"_index":952,"title":{},"content":{"71":{"position":[[241,6]]}},"keywords":{}}],["lorber",{"_index":112,"title":{},"content":{"8":{"position":[[277,6]]}},"keywords":{}}],["lr",{"_index":316,"title":{},"content":{"36":{"position":[[18,2]]}},"keywords":{}}],["lt;/layout>",{"_index":143,"title":{},"content":{"10":{"position":[[276,15]]}},"keywords":{}}],["lt;/span>",{"_index":364,"title":{},"content":{"37":{"position":[[378,13]]}},"keywords":{}}],["lt;h1>hello",{"_index":276,"title":{},"content":{"32":{"position":[[158,16],[277,16]]}},"keywords":{}}],["lt;h1>mi",{"_index":139,"title":{},"content":{"10":{"position":[[201,12]]}},"keywords":{}}],["lt;highlight",{"_index":365,"title":{},"content":{"37":{"position":[[403,13],[491,13]]}},"keywords":{}}],["lt;layout>",{"_index":138,"title":{},"content":{"10":{"position":[[186,14]]}},"keywords":{}}],["lt;p>thi",{"_index":141,"title":{},"content":{"10":{"position":[[236,13]]}},"keywords":{}}],["lt;span",{"_index":351,"title":{},"content":{"37":{"position":[[159,8]]}},"keywords":{}}],["ltsa",{"_index":648,"title":{},"content":{"54":{"position":[[1673,4]]}},"keywords":{}}],["machin",{"_index":308,"title":{"35":{"position":[[6,8]]}},"content":{"56":{"position":[[1052,7]]}},"keywords":{}}],["machines.titl",{"_index":825,"title":{},"content":{"58":{"position":[[974,14]]}},"keywords":{}}],["made",{"_index":117,"title":{},"content":{"8":{"position":[[436,4]]},"54":{"position":[[1258,4]]}},"keywords":{}}],["mail",{"_index":970,"title":{},"content":{"75":{"position":[[25,8]]}},"keywords":{}}],["main",{"_index":429,"title":{},"content":{"40":{"position":[[5,4]]},"52":{"position":[[33,4]]}},"keywords":{}}],["maintain",{"_index":113,"title":{},"content":{"8":{"position":[[302,10]]},"43":{"position":[[826,13]]},"54":{"position":[[1197,8]]},"80":{"position":[[466,10]]}},"keywords":{}}],["make",{"_index":344,"title":{},"content":{"37":{"position":[[9,4]]},"40":{"position":[[363,4]]},"83":{"position":[[328,5]]}},"keywords":{}}],["maker",{"_index":557,"title":{},"content":{"53":{"position":[[245,5],[272,5]]},"54":{"position":[[1287,5]]}},"keywords":{}}],["manag",{"_index":178,"title":{"18":{"position":[[0,6]]}},"content":{},"keywords":{}}],["mandatori",{"_index":435,"title":{},"content":{"40":{"position":[[189,9]]}},"keywords":{}}],["mani",{"_index":385,"title":{},"content":{"39":{"position":[[119,4],[259,4]]},"54":{"position":[[1120,4]]}},"keywords":{}}],["map",{"_index":670,"title":{},"content":{"54":{"position":[[2355,3]]},"55":{"position":[[1098,3],[1443,7],[1593,3]]},"70":{"position":[[42,9]]}},"keywords":{}}],["marcey",{"_index":103,"title":{},"content":{"8":{"position":[[138,6]]}},"keywords":{}}],["markdown",{"_index":145,"title":{"11":{"position":[[18,8]]},"28":{"position":[[0,8]]}},"content":{"11":{"position":[[31,8],[63,8],[85,8],[109,8],[181,8]]},"13":{"position":[[10,8]]},"29":{"position":[[1,8],[203,8],[220,8],[283,8]]},"30":{"position":[[9,8]]},"31":{"position":[[9,8],[309,8]]},"32":{"position":[[1,8]]},"37":{"position":[[95,9]]}},"keywords":{}}],["matter",{"_index":232,"title":{"29":{"position":[[6,7]]}},"content":{"29":{"position":[[58,7]]},"53":{"position":[[1063,6],[1087,6]]}},"keywords":{}}],["max",{"_index":998,"title":{},"content":{"79":{"position":[[70,3]]}},"keywords":{}}],["maxcontain",{"_index":955,"title":{},"content":{"71":{"position":[[358,12]]}},"keywords":{}}],["maxim",{"_index":911,"title":{},"content":{"66":{"position":[[656,8]]}},"keywords":{}}],["maximum,exclusiveminimum",{"_index":940,"title":{},"content":{"69":{"position":[[542,24]]}},"keywords":{}}],["maxitem",{"_index":957,"title":{},"content":{"71":{"position":[[384,8]]}},"keywords":{}}],["maxlength",{"_index":852,"title":{},"content":{"61":{"position":[[266,9]]}},"keywords":{}}],["mdx",{"_index":342,"title":{"37":{"position":[[0,3]]}},"content":{"37":{"position":[[1,3]]}},"keywords":{}}],["measur",{"_index":664,"title":{},"content":{"54":{"position":[[2228,11]]}},"keywords":{}}],["media",{"_index":777,"title":{},"content":{"56":{"position":[[1696,5],[1799,5]]}},"keywords":{}}],["member",{"_index":693,"title":{},"content":{"55":{"position":[[595,6],[827,6]]}},"keywords":{}}],["mermaid",{"_index":291,"title":{"34":{"position":[[0,7]]}},"content":{"34":{"position":[[67,8],[141,8]]},"35":{"position":[[1,10]]},"36":{"position":[[1,10]]}},"keywords":{}}],["metadata",{"_index":155,"title":{},"content":{"14":{"position":[[71,8]]},"29":{"position":[[25,8]]},"56":{"position":[[1293,8],[1371,8]]}},"keywords":{}}],["microservic",{"_index":492,"title":{},"content":{"42":{"position":[[191,14]]}},"keywords":{}}],["mincontain",{"_index":954,"title":{},"content":{"71":{"position":[[345,12]]}},"keywords":{}}],["minimum",{"_index":242,"title":{},"content":{"29":{"position":[[313,7]]},"69":{"position":[[533,8]]},"80":{"position":[[36,7]]}},"keywords":{}}],["ministri",{"_index":560,"title":{},"content":{"53":{"position":[[346,8],[881,9]]}},"keywords":{}}],["minitem",{"_index":956,"title":{},"content":{"71":{"position":[[371,8]]}},"keywords":{}}],["minlength",{"_index":851,"title":{},"content":{"61":{"position":[[255,10]]}},"keywords":{}}],["mkdir",{"_index":211,"title":{},"content":{"24":{"position":[[53,5]]}},"keywords":{}}],["model",{"_index":767,"title":{},"content":{"56":{"position":[[1447,5]]}},"keywords":{}}],["modern",{"_index":652,"title":{},"content":{"54":{"position":[[1855,14]]}},"keywords":{}}],["modifi",{"_index":193,"title":{},"content":{"20":{"position":[[66,6]]},"23":{"position":[[1,6]]},"26":{"position":[[66,6]]}},"keywords":{}}],["more",{"_index":300,"title":{},"content":{"34":{"position":[[154,4],[236,4]]},"37":{"position":[[33,4]]},"54":{"position":[[237,4],[690,4]]},"61":{"position":[[490,4]]},"62":{"position":[[421,4]]},"63":{"position":[[235,4]]},"64":{"position":[[253,4]]},"65":{"position":[[227,4]]},"67":{"position":[[251,4]]},"68":{"position":[[118,4]]},"69":{"position":[[632,4]]},"70":{"position":[[457,4]]},"71":{"position":[[494,4]]},"72":{"position":[[293,4]]},"73":{"position":[[202,4]]}},"keywords":{}}],["ms",{"_index":470,"title":{},"content":{"41":{"position":[[80,2]]}},"keywords":{}}],["much",{"_index":122,"title":{},"content":{"8":{"position":[[505,4]]}},"keywords":{}}],["muddl",{"_index":612,"title":{},"content":{"54":{"position":[[620,7]]}},"keywords":{}}],["multipleof",{"_index":939,"title":{},"content":{"69":{"position":[[521,11]]}},"keywords":{}}],["municip",{"_index":566,"title":{},"content":{"53":{"position":[[533,12]]}},"keywords":{}}],["my_doc_id",{"_index":237,"title":{},"content":{"29":{"position":[[85,9]]}},"keywords":{}}],["myreactpag",{"_index":135,"title":{},"content":{"10":{"position":[[161,13]]}},"keywords":{}}],["naic",{"_index":747,"title":{},"content":{"56":{"position":[[836,7]]}},"keywords":{}}],["name",{"_index":101,"title":{},"content":{"8":{"position":[[127,5],[261,5]]},"70":{"position":[[311,8]]},"80":{"position":[[160,4],[617,4]]},"87":{"position":[[1,4],[202,4]]}},"keywords":{}}],["names)rfc",{"_index":989,"title":{},"content":{"76":{"position":[[211,9]]}},"keywords":{}}],["namespac",{"_index":754,"title":{},"content":{"56":{"position":[[1013,9]]}},"keywords":{}}],["nation",{"_index":517,"title":{},"content":{"43":{"position":[[388,7]]}},"keywords":{}}],["natur",{"_index":378,"title":{},"content":{"39":{"position":[[39,7],[545,7]]}},"keywords":{}}],["navbar",{"_index":9,"title":{},"content":{"1":{"position":[[92,6]]},"20":{"position":[[158,7],[277,7]]},"26":{"position":[[158,7],[260,7]]}},"keywords":{}}],["navig",{"_index":74,"title":{},"content":{"6":{"position":[[191,8]]},"20":{"position":[[4,8]]},"26":{"position":[[4,8]]},"53":{"position":[[696,9]]}},"keywords":{}}],["necessari",{"_index":64,"title":{},"content":{"5":{"position":[[356,9]]}},"keywords":{}}],["need",{"_index":33,"title":{"4":{"position":[[12,5]]}},"content":{"5":{"position":[[383,4]]},"6":{"position":[[183,4]]},"43":{"position":[[630,4]]},"54":{"position":[[1039,4],[1467,5]]}},"keywords":{}}],["nest",{"_index":947,"title":{},"content":{"70":{"position":[[207,9]]}},"keywords":{}}],["network",{"_index":792,"title":{},"content":{"56":{"position":[[2042,8]]}},"keywords":{}}],["new",{"_index":28,"title":{"5":{"position":[[11,3]]}},"content":{"3":{"position":[[27,3]]},"5":{"position":[[12,3]]},"8":{"position":[[527,3]]},"10":{"position":[[301,3]]},"11":{"position":[[127,3]]},"13":{"position":[[111,3]]}},"keywords":{}}],["newer",{"_index":916,"title":{},"content":{"66":{"position":[[872,5]]}},"keywords":{}}],["newli",{"_index":73,"title":{},"content":{"6":{"position":[[145,5]]}},"keywords":{}}],["next",{"_index":2,"title":{"1":{"position":[[7,6]]}},"content":{},"keywords":{}}],["nine",{"_index":996,"title":{},"content":{"79":{"position":[[59,4]]},"80":{"position":[[836,4]]},"83":{"position":[[553,4]]}},"keywords":{}}],["node.j",{"_index":34,"title":{},"content":{"4":{"position":[[1,7],[48,8]]}},"keywords":{}}],["nomenclature.$com",{"_index":814,"title":{},"content":{"58":{"position":[[645,21]]}},"keywords":{}}],["normal",{"_index":807,"title":{},"content":{"58":{"position":[[501,8]]}},"keywords":{}}],["north",{"_index":744,"title":{},"content":{"56":{"position":[[790,5]]}},"keywords":{}}],["note",{"_index":537,"title":{"48":{"position":[[15,6]]},"82":{"position":[[15,6]]},"89":{"position":[[15,6]]}},"content":{"54":{"position":[[2112,4]]},"62":{"position":[[454,4]]},"66":{"position":[[172,4]]},"69":{"position":[[83,4]]},"73":{"position":[[87,4]]}},"keywords":{}}],["notic",{"_index":583,"title":{},"content":{"53":{"position":[[944,7]]}},"keywords":{}}],["now",{"_index":123,"title":{},"content":{"8":{"position":[[544,3]]},"10":{"position":[[313,3]]},"11":{"position":[[139,3]]},"13":{"position":[[127,3]]},"17":{"position":[[74,3],[121,3]]},"19":{"position":[[178,3]]},"26":{"position":[[240,3]]}},"keywords":{}}],["now"",{"_index":715,"title":{},"content":{"55":{"position":[[1515,9]]}},"keywords":{}}],["npm",{"_index":53,"title":{},"content":{"5":{"position":[[154,3]]},"6":{"position":[[44,3],[225,3]]},"16":{"position":[[34,3]]},"17":{"position":[[38,3]]},"19":{"position":[[41,3]]},"25":{"position":[[40,3]]},"27":{"position":[[41,3],[128,3]]}},"keywords":{}}],["nr",{"_index":381,"title":{},"content":{"39":{"position":[[63,5]]}},"keywords":{}}],["nrm",{"_index":437,"title":{},"content":{"40":{"position":[[242,3]]}},"keywords":{}}],["nuanc",{"_index":819,"title":{},"content":{"58":{"position":[[823,7]]}},"keywords":{}}],["null",{"_index":966,"title":{"73":{"position":[[0,5]]}},"content":{"73":{"position":[[1,4],[81,5],[97,4]]}},"keywords":{}}],["number",{"_index":665,"title":{},"content":{"54":{"position":[[2247,6]]},"69":{"position":[[28,7],[448,7]]},"79":{"position":[[74,6],[192,7],[369,6]]},"80":{"position":[[847,6],[965,7],[1158,6]]},"83":{"position":[[564,7],[670,7]]}},"keywords":{}}],["numbertyp",{"_index":936,"title":{},"content":{"69":{"position":[[344,10]]}},"keywords":{}}],["numer",{"_index":926,"title":{"69":{"position":[[0,8]]}},"content":{"69":{"position":[[68,7]]},"83":{"position":[[26,7],[636,9]]}},"keywords":{}}],["obdc",{"_index":793,"title":{},"content":{"56":{"position":[[2085,4]]}},"keywords":{}}],["object",{"_index":428,"title":{"40":{"position":[[0,11]]},"70":{"position":[[0,7]]}},"content":{"40":{"position":[[10,9]]},"55":{"position":[[544,10]]},"70":{"position":[[1,7],[168,7],[281,7]]}},"keywords":{}}],["obtain",{"_index":610,"title":{},"content":{"54":{"position":[[564,6]]}},"keywords":{}}],["obviou",{"_index":813,"title":{},"content":{"58":{"position":[[626,7]]}},"keywords":{}}],["occur",{"_index":682,"title":{},"content":{"55":{"position":[[329,5]]}},"keywords":{}}],["offici",{"_index":4,"title":{},"content":{"1":{"position":[[10,8]]},"54":{"position":[[1693,8]]}},"keywords":{}}],["omit",{"_index":249,"title":{},"content":{"29":{"position":[[433,8]]}},"keywords":{}}],["on",{"_index":223,"title":{},"content":{"25":{"position":[[220,3]]},"54":{"position":[[230,3],[683,3]]},"56":{"position":[[163,3]]},"80":{"position":[[77,3],[570,4]]}},"keywords":{}}],["onc",{"_index":229,"title":{},"content":{"27":{"position":[[121,5]]}},"keywords":{}}],["onclick",{"_index":361,"title":{},"content":{"37":{"position":[[277,11]]}},"keywords":{}}],["open",{"_index":82,"title":{},"content":{"6":{"position":[[369,4]]}},"keywords":{}}],["oper",{"_index":1026,"title":{},"content":{"80":{"position":[[501,11]]}},"keywords":{}}],["opportun",{"_index":509,"title":{},"content":{"43":{"position":[[195,13]]},"53":{"position":[[994,11]]}},"keywords":{}}],["option",{"_index":285,"title":{},"content":{"33":{"position":[[110,6],[205,6]]},"61":{"position":[[210,10]]},"69":{"position":[[476,10]]}},"keywords":{}}],["optional.typ",{"_index":836,"title":{},"content":{"58":{"position":[[1421,13]]}},"keywords":{}}],["order",{"_index":72,"title":{},"content":{"6":{"position":[[121,5]]},"55":{"position":[[173,7],[638,8],[684,7],[750,5],[858,8]]},"56":{"position":[[78,7]]},"66":{"position":[[619,5]]},"71":{"position":[[30,7]]}},"keywords":{}}],["organ",{"_index":551,"title":{},"content":{"53":{"position":[[69,12],[166,12]]}},"keywords":{}}],["other.unlock",{"_index":457,"title":{},"content":{"40":{"position":[[744,12]]}},"keywords":{}}],["otherwis",{"_index":864,"title":{},"content":{"62":{"position":[[118,9]]}},"keywords":{}}],["out",{"_index":650,"title":{},"content":{"54":{"position":[[1744,3]]},"58":{"position":[[701,3]]}},"keywords":{}}],["outcom",{"_index":632,"title":{},"content":{"54":{"position":[[1250,7]]},"55":{"position":[[558,9]]}},"keywords":{}}],["outlin",{"_index":542,"title":{},"content":{"52":{"position":[[21,7]]},"54":{"position":[[14,8],[2322,8]]},"55":{"position":[[14,8],[1556,8]]},"61":{"position":[[399,7]]},"70":{"position":[[267,9]]}},"keywords":{}}],["output",{"_index":656,"title":{},"content":{"54":{"position":[[2053,6]]}},"keywords":{}}],["over",{"_index":383,"title":{},"content":{"39":{"position":[[84,4]]},"54":{"position":[[1070,4]]},"58":{"position":[[942,4]]}},"keywords":{}}],["overview",{"_index":828,"title":{},"content":{"58":{"position":[[1130,8]]}},"keywords":{}}],["ownership",{"_index":1028,"title":{},"content":{"80":{"position":[[710,10]]}},"keywords":{}}],["p",{"_index":212,"title":{},"content":{"24":{"position":[[60,1]]}},"keywords":{}}],["pad",{"_index":357,"title":{},"content":{"37":{"position":[[238,8]]},"83":{"position":[[191,6],[444,6],[546,6]]}},"keywords":{}}],["page",{"_index":84,"title":{"9":{"position":[[9,4]]},"10":{"position":[[24,5]]},"11":{"position":[[27,5]]},"41":{"position":[[29,5]]}},"content":{"6":{"position":[[394,5]]},"10":{"position":[[305,4],[361,5]]},"11":{"position":[[94,4],[118,4],[131,4],[190,5]]},"25":{"position":[[158,4]]},"29":{"position":[[292,5]]},"30":{"position":[[222,5]]},"54":{"position":[[1678,4]]}},"keywords":{}}],["page</h1>",{"_index":140,"title":{},"content":{"10":{"position":[[220,15]]}},"keywords":{}}],["page</p>",{"_index":142,"title":{},"content":{"10":{"position":[[261,14]]}},"keywords":{}}],["page.j",{"_index":128,"title":{},"content":{"10":{"position":[[37,8],[66,7]]}},"keywords":{}}],["page.md",{"_index":146,"title":{},"content":{"11":{"position":[[40,8],[72,7]]}},"keywords":{}}],["page](./create_a_page.md",{"_index":257,"title":{},"content":{"30":{"position":[[159,26]]}},"keywords":{}}],["page](/create_a_pag",{"_index":256,"title":{},"content":{"30":{"position":[[107,22]]}},"keywords":{}}],["pair",{"_index":944,"title":{},"content":{"70":{"position":[[111,4]]}},"keywords":{}}],["paramet",{"_index":917,"title":{},"content":{"67":{"position":[[108,10]]}},"keywords":{}}],["parcel",{"_index":571,"title":{"78":{"position":[[0,6]]},"83":{"position":[[0,6]]}},"content":{"53":{"position":[[662,6]]},"54":{"position":[[695,7],[845,6],[1480,6],[1560,7],[1792,6]]},"79":{"position":[[1,6],[38,6],[108,6],[203,7],[323,6],[347,6],[409,6]]},"80":{"position":[[9,6],[87,6],[275,6],[610,6],[677,6],[778,6],[815,6],[881,6],[976,7],[1096,6],[1136,6],[1198,6]]},"83":{"position":[[1,6],[338,6],[511,6],[655,6]]},"84":{"position":[[33,7]]}},"keywords":{}}],["parcel_id_format",{"_index":1044,"title":{},"content":{"83":{"position":[[473,19]]}},"keywords":{}}],["parcel_nam",{"_index":1011,"title":{},"content":{"80":{"position":[[146,12],[513,11]]}},"keywords":{}}],["parcelmap",{"_index":1034,"title":{},"content":{"83":{"position":[[46,9]]}},"keywords":{}}],["park",{"_index":1032,"title":{},"content":{"80":{"position":[[755,5]]}},"keywords":{}}],["pars",{"_index":824,"title":{},"content":{"58":{"position":[[964,6]]}},"keywords":{}}],["part",{"_index":674,"title":{},"content":{"54":{"position":[[2441,5]]}},"keywords":{}}],["parti",{"_index":564,"title":{},"content":{"53":{"position":[[437,5]]}},"keywords":{}}],["particular",{"_index":753,"title":{},"content":{"56":{"position":[[1002,10]]}},"keywords":{}}],["particularli",{"_index":266,"title":{},"content":{"31":{"position":[[257,12]]}},"keywords":{}}],["pass",{"_index":678,"title":{},"content":{"55":{"position":[[247,4]]}},"keywords":{}}],["path",{"_index":252,"title":{},"content":{"30":{"position":[[49,5],[72,6]]},"31":{"position":[[62,5]]},"58":{"position":[[595,4]]}},"keywords":{}}],["pattern",{"_index":900,"title":{},"content":{"66":{"position":[[388,8]]}},"keywords":{}}],["peopl",{"_index":466,"title":{},"content":{"41":{"position":[[28,6]]}},"keywords":{}}],["perform",{"_index":503,"title":{},"content":{"43":{"position":[[134,7]]},"53":{"position":[[207,7]]},"54":{"position":[[753,10],[812,7]]}},"keywords":{}}],["period",{"_index":687,"title":{},"content":{"55":{"position":[[426,6]]}},"keywords":{}}],["perman",{"_index":1005,"title":{},"content":{"79":{"position":[[313,9]]},"80":{"position":[[1086,9]]}},"keywords":{}}],["permiss",{"_index":615,"title":{},"content":{"54":{"position":[[798,10],[1724,10]]}},"keywords":{}}],["permit",{"_index":374,"title":{},"content":{"39":{"position":[[1,10],[93,6],[224,10],[332,10],[562,10],[656,11],[759,10],[853,11]]},"40":{"position":[[246,10],[432,10]]},"42":{"position":[[89,10]]},"43":{"position":[[499,10]]},"54":{"position":[[347,7],[930,7],[1208,7],[1683,6],[1844,10],[1973,6]]},"71":{"position":[[53,7]]},"86":{"position":[[63,7]]},"87":{"position":[[99,7],[151,10]]}},"keywords":{}}],["person",{"_index":550,"title":{},"content":{"53":{"position":[[49,7],[149,7],[292,7],[445,7]]}},"keywords":{}}],["phase",{"_index":677,"title":{},"content":{"55":{"position":[[195,6],[409,5],[467,5],[570,5],[839,6],[899,5]]}},"keywords":{}}],["pi",{"_index":430,"title":{},"content":{"40":{"position":[[23,4]]},"41":{"position":[[70,5]]},"42":{"position":[[222,4]]},"43":{"position":[[421,4]]},"53":{"position":[[115,5]]},"54":{"position":[[108,5]]},"58":{"position":[[476,5]]}},"keywords":{}}],["pid",{"_index":1003,"title":{"83":{"position":[[10,6]]}},"content":{"79":{"position":[[188,3],[302,3]]},"80":{"position":[[553,4],[600,4],[649,3],[761,3],[961,3],[1075,3]]},"83":{"position":[[134,4]]}},"keywords":{}}],["pid.a",{"_index":1009,"title":{},"content":{"80":{"position":[[81,5]]}},"keywords":{}}],["piec",{"_index":721,"title":{},"content":{"56":{"position":[[242,5],[1513,6]]}},"keywords":{}}],["pin",{"_index":1006,"title":{},"content":{"79":{"position":[[376,5]]},"80":{"position":[[61,3],[589,3],[629,4],[657,4],[1115,3],[1165,5]]}},"keywords":{}}],["plan",{"_index":489,"title":{},"content":{"42":{"position":[[133,4]]}},"keywords":{}}],["platform",{"_index":528,"title":{},"content":{"43":{"position":[[849,8]]}},"keywords":{}}],["play",{"_index":120,"title":{},"content":{"8":{"position":[[471,4]]}},"keywords":{}}],["pleas",{"_index":855,"title":{},"content":{"61":{"position":[[440,6]]}},"keywords":{}}],["plugin",{"_index":214,"title":{},"content":{"24":{"position":[[81,6],[146,6],[214,6]]}},"keywords":{}}],["pmbc",{"_index":1024,"title":{},"content":{"80":{"position":[[480,4]]},"83":{"position":[[59,7],[78,4],[251,4]]}},"keywords":{}}],["point",{"_index":500,"title":{},"content":{"43":{"position":[[76,5]]},"69":{"position":[[22,5],[163,5],[253,5],[307,6]]}},"keywords":{}}],["pointer",{"_index":360,"title":{},"content":{"37":{"position":[[263,10]]}},"keywords":{}}],["polici",{"_index":422,"title":{},"content":{"39":{"position":[[740,6]]},"40":{"position":[[786,6]]},"53":{"position":[[1192,7]]}},"keywords":{}}],["polygon",{"_index":639,"title":{},"content":{"54":{"position":[[1489,7]]}},"keywords":{}}],["popul",{"_index":1020,"title":{},"content":{"80":{"position":[[410,9]]}},"keywords":{}}],["posit",{"_index":157,"title":{},"content":{"14":{"position":[[115,9]]}},"keywords":{}}],["possibl",{"_index":162,"title":{},"content":{"14":{"position":[[252,8]]},"21":{"position":[[7,8]]},"69":{"position":[[187,8]]},"72":{"position":[[41,8]]}},"keywords":{}}],["post",{"_index":90,"title":{"7":{"position":[[14,4]]},"8":{"position":[[18,5]]}},"content":{"8":{"position":[[452,5],[497,4],[536,4]]}},"keywords":{}}],["potenti",{"_index":458,"title":{},"content":{"40":{"position":[[757,9],[812,9]]}},"keywords":{}}],["powershel",{"_index":59,"title":{},"content":{"5":{"position":[[249,11]]}},"keywords":{}}],["practic",{"_index":483,"title":{},"content":{"42":{"position":[[12,9]]}},"keywords":{}}],["precis",{"_index":938,"title":{},"content":{"69":{"position":[[436,10]]}},"keywords":{}}],["predefin",{"_index":787,"title":{},"content":{"56":{"position":[[1946,10]]}},"keywords":{}}],["presenc",{"_index":935,"title":{},"content":{"69":{"position":[[285,8]]}},"keywords":{}}],["present",{"_index":832,"title":{},"content":{"58":{"position":[[1312,7]]},"83":{"position":[[156,12]]}},"keywords":{}}],["primarili",{"_index":1018,"title":{},"content":{"80":{"position":[[289,9]]}},"keywords":{}}],["primer",{"_index":795,"title":{"58":{"position":[[12,7]]}},"content":{},"keywords":{}}],["primit",{"_index":718,"title":{"60":{"position":[[0,9]]}},"content":{"56":{"position":[[140,9]]},"58":{"position":[[1446,9]]},"83":{"position":[[799,9]]}},"keywords":{}}],["principl",{"_index":720,"title":{},"content":{"56":{"position":[[191,10]]}},"keywords":{}}],["prior",{"_index":965,"title":{},"content":{"72":{"position":[[231,5]]}},"keywords":{}}],["process",{"_index":388,"title":{"55":{"position":[[0,7]]}},"content":{"39":{"position":[[141,7],[770,7]]},"40":{"position":[[333,9]]},"43":{"position":[[278,10]]},"53":{"position":[[1167,10]]},"54":{"position":[[469,7],[2454,8]]},"55":{"position":[[110,8],[309,10],[775,7],[1011,7],[1616,7]]}},"keywords":{}}],["product",{"_index":169,"title":{},"content":{"16":{"position":[[21,11]]},"17":{"position":[[11,10]]}},"keywords":{}}],["program",{"_index":785,"title":{},"content":{"56":{"position":[[1913,11]]}},"keywords":{}}],["progress",{"_index":447,"title":{},"content":{"40":{"position":[[559,8]]}},"keywords":{}}],["project",{"_index":50,"title":{"85":{"position":[[0,7]]}},"content":{"5":{"position":[[118,7]]},"19":{"position":[[31,8]]},"54":{"position":[[286,8],[650,8],[1928,7]]},"87":{"position":[[120,7],[214,8],[279,8],[340,8]]}},"keywords":{}}],["project_descript",{"_index":1057,"title":{},"content":{"87":{"position":[[223,19]]}},"keywords":{}}],["project_nam",{"_index":1055,"title":{},"content":{"87":{"position":[[171,12]]}},"keywords":{}}],["prompt",{"_index":58,"title":{},"content":{"5":{"position":[[241,7]]}},"keywords":{}}],["properti",{"_index":806,"title":{},"content":{"58":{"position":[[487,8],[843,10],[1288,10],[1475,9]]},"61":{"position":[[236,10]]},"69":{"position":[[502,10]]},"70":{"position":[[356,11]]}},"keywords":{}}],["propon",{"_index":449,"title":{},"content":{"40":{"position":[[580,11]]},"53":{"position":[[814,9]]}},"keywords":{}}],["protocol",{"_index":788,"title":{},"content":{"56":{"position":[[1957,8]]}},"keywords":{}}],["provid",{"_index":420,"title":{},"content":{"39":{"position":[[717,9]]},"40":{"position":[[540,7]]},"43":{"position":[[105,7]]},"52":{"position":[[89,7]]},"53":{"position":[[608,9],[1009,7]]},"55":{"position":[[846,8]]},"56":{"position":[[343,7]]},"58":{"position":[[1114,7]]},"67":{"position":[[40,7]]},"71":{"position":[[231,7]]}},"keywords":{}}],["provinc",{"_index":569,"title":{},"content":{"53":{"position":[[578,9]]},"54":{"position":[[863,8],[1810,8]]}},"keywords":{}}],["provinci",{"_index":581,"title":{},"content":{"53":{"position":[[870,10]]},"83":{"position":[[278,10]]}},"keywords":{}}],["publish",{"_index":432,"title":{},"content":{"40":{"position":[[44,9]]}},"keywords":{}}],["purpos",{"_index":373,"title":{"39":{"position":[[0,8]]}},"content":{"39":{"position":[[625,7]]}},"keywords":{}}],["qualiti",{"_index":399,"title":{},"content":{"39":{"position":[[287,7]]},"40":{"position":[[90,7]]}},"keywords":{}}],["qualitydata",{"_index":510,"title":{},"content":{"43":{"position":[[230,11]]}},"keywords":{}}],["quantifi",{"_index":663,"title":{},"content":{"54":{"position":[[2215,12]]}},"keywords":{}}],["queue",{"_index":668,"title":{},"content":{"54":{"position":[[2291,6]]}},"keywords":{}}],["quick",{"_index":297,"title":{},"content":{"34":{"position":[[99,5]]},"58":{"position":[[1124,5]]}},"keywords":{}}],["quot;approved"",{"_index":702,"title":{},"content":{"55":{"position":[[1061,22]]}},"keywords":{}}],["quot;ca"",{"_index":738,"title":{},"content":{"56":{"position":[[713,14]]}},"keywords":{}}],["quot;docsversiondropdown"",{"_index":196,"title":{},"content":{"20":{"position":[[185,32]]}},"keywords":{}}],["quot;pend",{"_index":709,"title":{},"content":{"55":{"position":[[1350,13]]}},"keywords":{}}],["quot;property"",{"_index":946,"title":{},"content":{"70":{"position":[[143,21]]}},"keywords":{}}],["quot;publisher."",{"_index":766,"title":{},"content":{"56":{"position":[[1394,22]]}},"keywords":{}}],["quot;seri",{"_index":774,"title":{},"content":{"56":{"position":[[1619,19]]}},"keywords":{}}],["quot;submiss",{"_index":658,"title":{},"content":{"54":{"position":[[2122,17]]}},"keywords":{}}],["quot;submitted"",{"_index":701,"title":{},"content":{"55":{"position":[[1038,22]]}},"keywords":{}}],["quot;und",{"_index":711,"title":{},"content":{"55":{"position":[[1378,11]]}},"keywords":{}}],["quot;what",{"_index":714,"title":{},"content":{"55":{"position":[[1491,10]]}},"keywords":{}}],["quot;wher",{"_index":703,"title":{},"content":{"55":{"position":[[1148,11]]}},"keywords":{}}],["quot;why"",{"_index":685,"title":{},"content":{"55":{"position":[[393,15]]}},"keywords":{}}],["radio",{"_index":749,"title":{},"content":{"56":{"position":[[856,5]]}},"keywords":{}}],["rang",{"_index":303,"title":{},"content":{"34":{"position":[[179,5]]}},"keywords":{}}],["react",{"_index":126,"title":{"10":{"position":[[18,5]]},"37":{"position":[[8,5]]}},"content":{"10":{"position":[[31,5],[60,5],[81,5],[92,8],[214,5],[255,5],[355,5]]},"37":{"position":[[71,5]]}},"keywords":{}}],["read",{"_index":3,"title":{},"content":{"1":{"position":[[1,4]]},"17":{"position":[[201,5]]},"56":{"position":[[1970,7]]}},"keywords":{}}],["readabl",{"_index":755,"title":{},"content":{"56":{"position":[[1060,8]]}},"keywords":{}}],["reader",{"_index":817,"title":{},"content":{"58":{"position":[[781,7]]}},"keywords":{}}],["readi",{"_index":79,"title":{},"content":{"6":{"position":[[319,5]]}},"keywords":{}}],["reason",{"_index":397,"title":{},"content":{"39":{"position":[[264,7]]}},"keywords":{}}],["receiv",{"_index":582,"title":{},"content":{"53":{"position":[[935,8]]}},"keywords":{}}],["recommend",{"_index":39,"title":{},"content":{"4":{"position":[[65,11]]},"29":{"position":[[264,9]]},"69":{"position":[[326,9]]}},"keywords":{}}],["record",{"_index":1019,"title":{},"content":{"80":{"position":[[299,8],[344,8]]}},"keywords":{}}],["reduc",{"_index":444,"title":{},"content":{"40":{"position":[[452,6]]}},"keywords":{}}],["refer",{"_index":261,"title":{"49":{"position":[[0,11]]},"59":{"position":[[0,11]]},"74":{"position":[[0,11]]},"84":{"position":[[0,11]]},"90":{"position":[[0,11]]}},"content":{"31":{"position":[[71,9],[194,9]]},"56":{"position":[[370,9]]},"61":{"position":[[447,5]]},"62":{"position":[[378,9]]},"63":{"position":[[192,9]]},"64":{"position":[[210,9]]},"65":{"position":[[184,9]]},"69":{"position":[[589,9]]},"71":{"position":[[451,9]]},"72":{"position":[[250,9]]},"73":{"position":[[159,9]]},"79":{"position":[[288,6]]},"80":{"position":[[1061,6]]}},"keywords":{}}],["referr",{"_index":579,"title":{},"content":{"53":{"position":[[852,8]]}},"keywords":{}}],["refin",{"_index":601,"title":{},"content":{"54":{"position":[[403,8]]}},"keywords":{}}],["reform",{"_index":395,"title":{},"content":{"39":{"position":[[235,6]]}},"keywords":{}}],["regard",{"_index":633,"title":{},"content":{"54":{"position":[[1293,9]]}},"keywords":{}}],["regex",{"_index":922,"title":{},"content":{"68":{"position":[[33,5]]}},"keywords":{}}],["region",{"_index":567,"title":{},"content":{"53":{"position":[[549,8]]}},"keywords":{}}],["regist",{"_index":995,"title":{},"content":{"79":{"position":[[29,8],[133,8],[251,10]]},"80":{"position":[[328,9],[806,8],[906,8],[1024,10]]}},"keywords":{}}],["registrar",{"_index":1001,"title":{},"content":{"79":{"position":[[170,9]]},"80":{"position":[[943,9]]}},"keywords":{}}],["registri",{"_index":1008,"title":{},"content":{"79":{"position":[[400,8]]},"80":{"position":[[376,9],[1189,8]]}},"keywords":{}}],["regular",{"_index":251,"title":{"68":{"position":[[0,7]]}},"content":{"30":{"position":[[1,7]]},"31":{"position":[[1,7]]},"61":{"position":[[283,7]]},"66":{"position":[[369,7],[490,7]]},"68":{"position":[[1,7]]}},"keywords":{}}],["rel",{"_index":253,"title":{},"content":{"30":{"position":[[58,8]]},"31":{"position":[[211,8]]}},"keywords":{}}],["relat",{"_index":42,"title":{},"content":{"4":{"position":[[101,7]]},"54":{"position":[[2344,10]]},"55":{"position":[[650,7],[1643,6]]},"58":{"position":[[309,7]]},"86":{"position":[[55,7],[80,7]]},"87":{"position":[[107,7]]}},"keywords":{}}],["relationship",{"_index":607,"title":{},"content":{"54":{"position":[[500,12]]},"56":{"position":[[1481,13]]},"58":{"position":[[287,13]]},"70":{"position":[[386,13]]}},"keywords":{}}],["releas",{"_index":179,"title":{},"content":{"19":{"position":[[1,7]]}},"keywords":{}}],["reli",{"_index":820,"title":{},"content":{"58":{"position":[[888,6]]}},"keywords":{}}],["reliabl",{"_index":932,"title":{},"content":{"69":{"position":[[199,8]]}},"keywords":{}}],["reload",{"_index":87,"title":{},"content":{"6":{"position":[[430,7]]}},"keywords":{}}],["remain",{"_index":909,"title":{},"content":{"66":{"position":[[628,6]]}},"keywords":{}}],["rephras",{"_index":647,"title":{},"content":{"54":{"position":[[1658,9]]}},"keywords":{}}],["report",{"_index":394,"title":{},"content":{"39":{"position":[[210,9]]},"43":{"position":[[95,9],[460,9]]}},"keywords":{}}],["reportingact",{"_index":514,"title":{},"content":{"43":{"position":[[332,17]]}},"keywords":{}}],["repres",{"_index":478,"title":{},"content":{"41":{"position":[[227,11]]},"54":{"position":[[70,12],[1415,11]]},"55":{"position":[[70,12],[149,10],[478,9]]},"61":{"position":[[21,9],[89,11],[379,10]]},"62":{"position":[[35,11],[180,11]]},"63":{"position":[[44,11]]},"64":{"position":[[41,11]]},"69":{"position":[[43,11]]},"71":{"position":[[20,9]]},"72":{"position":[[22,9]]},"73":{"position":[[17,9]]},"86":{"position":[[31,9]]}},"keywords":{}}],["represent",{"_index":640,"title":{},"content":{"54":{"position":[[1497,14]]},"62":{"position":[[332,15]]}},"keywords":{}}],["requir",{"_index":410,"title":{},"content":{"39":{"position":[[484,8]]},"40":{"position":[[177,9]]},"54":{"position":[[222,7],[355,8],[1958,8],[2140,7]]},"66":{"position":[[831,7]]},"69":{"position":[[414,7]]},"70":{"position":[[193,13],[331,8]]}},"keywords":{}}],["residentiald",{"_index":972,"title":{},"content":{"75":{"position":[[47,15]]}},"keywords":{}}],["resolv",{"_index":920,"title":{},"content":{"67":{"position":[[169,9]]}},"keywords":{}}],["resourc",{"_index":379,"title":{"66":{"position":[[0,8]]}},"content":{"39":{"position":[[47,8],[553,8]]},"66":{"position":[[11,8]]},"67":{"position":[[74,8]]}},"keywords":{}}],["respect",{"_index":200,"title":{},"content":{"21":{"position":[[48,10]]},"53":{"position":[[335,10]]},"54":{"position":[[1376,7]]}},"keywords":{}}],["rest",{"_index":794,"title":{},"content":{"56":{"position":[[2116,4]]}},"keywords":{}}],["result",{"_index":258,"title":{},"content":{"30":{"position":[[188,7]]}},"keywords":{}}],["return",{"_index":137,"title":{},"content":{"10":{"position":[[177,6]]},"32":{"position":[[151,6],[270,6]]}},"keywords":{}}],["review",{"_index":638,"title":{},"content":{"54":{"position":[[1473,6]]},"66":{"position":[[847,6]]}},"keywords":{}}],["review"",{"_index":710,"title":{},"content":{"55":{"position":[[1364,13]]}},"keywords":{}}],["rfc",{"_index":846,"title":{},"content":{"61":{"position":[[134,3]]},"65":{"position":[[161,3]]},"66":{"position":[[700,3],[723,3]]}},"keywords":{}}],["right",{"_index":621,"title":{},"content":{"54":{"position":[[962,5],[1004,6]]}},"keywords":{}}],["road",{"_index":1031,"title":{},"content":{"80":{"position":[[749,5]]}},"keywords":{}}],["role",{"_index":549,"title":{},"content":{"53":{"position":[[36,5],[721,4]]}},"keywords":{}}],["round",{"_index":672,"title":{},"content":{"54":{"position":[[2388,7]]}},"keywords":{}}],["rule",{"_index":473,"title":{},"content":{"41":{"position":[[102,5]]}},"keywords":{}}],["run",{"_index":51,"title":{},"content":{"5":{"position":[[136,3],[391,3]]},"6":{"position":[[1,3],[48,3],[229,3]]},"16":{"position":[[38,3]]},"17":{"position":[[42,3]]},"19":{"position":[[45,3]]},"25":{"position":[[44,3]]},"27":{"position":[[45,3],[132,3]]}},"keywords":{}}],["same",{"_index":463,"title":{"41":{"position":[[24,4]]}},"content":{"41":{"position":[[182,4]]},"80":{"position":[[541,4]]}},"keywords":{}}],["scalabl",{"_index":527,"title":{},"content":{"43":{"position":[[840,8]]}},"keywords":{}}],["scenario",{"_index":843,"title":{},"content":{"61":{"position":[[61,10]]},"69":{"position":[[392,9]]}},"keywords":{}}],["schema",{"_index":531,"title":{"44":{"position":[[0,8]]},"58":{"position":[[5,6]]}},"content":{"56":{"position":[[1417,6],[1426,6],[1465,6],[1536,7],[1590,7]]},"58":{"position":[[8,6],[214,6],[344,6],[401,7],[452,6],[583,7],[735,7],[1009,7],[1094,7]]},"59":{"position":[[29,6]]},"61":{"position":[[465,6]]},"62":{"position":[[396,6],[560,6]]},"63":{"position":[[210,6]]},"64":{"position":[[228,6]]},"65":{"position":[[202,6]]},"66":{"position":[[141,6],[274,6]]},"67":{"position":[[226,6]]},"68":{"position":[[93,6]]},"69":{"position":[[607,6]]},"70":{"position":[[423,7],[523,6]]},"71":{"position":[[469,6]]},"72":{"position":[[171,7],[268,6]]},"73":{"position":[[177,6]]},"76":{"position":[[14,6]]},"77":{"position":[[6,6]]}},"keywords":{}}],["schema.org/draft",{"_index":809,"title":{},"content":{"58":{"position":[[526,16]]}},"keywords":{}}],["schemasourc",{"_index":535,"title":{},"content":{"47":{"position":[[1,12]]}},"keywords":{}}],["schemasourceexampl",{"_index":1033,"title":{},"content":{"81":{"position":[[1,19]]},"88":{"position":[[1,19]]}},"keywords":{}}],["scheme",{"_index":730,"title":{},"content":{"56":{"position":[[447,7],[691,8]]}},"keywords":{}}],["scope",{"_index":681,"title":{"79":{"position":[[0,6]]},"86":{"position":[[0,6]]}},"content":{"55":{"position":[[300,5]]}},"keywords":{}}],["sdm",{"_index":559,"title":{},"content":{"53":{"position":[[278,5]]}},"keywords":{}}],["seamlessli",{"_index":192,"title":{},"content":{"20":{"position":[[13,10]]},"26":{"position":[[13,10]]}},"keywords":{}}],["search",{"_index":16,"title":{},"content":{"1":{"position":[[168,6]]}},"keywords":{}}],["section",{"_index":306,"title":{},"content":{"34":{"position":[[274,7]]},"53":{"position":[[6,7]]},"54":{"position":[[6,7]]},"55":{"position":[[6,7]]},"62":{"position":[[59,7]]},"63":{"position":[[68,7]]},"64":{"position":[[65,7],[193,7]]},"65":{"position":[[110,7],[171,7]]}},"keywords":{}}],["sector",{"_index":380,"title":{},"content":{"39":{"position":[[56,6]]},"40":{"position":[[354,7]]},"43":{"position":[[16,6],[319,6]]}},"keywords":{}}],["see",{"_index":255,"title":{},"content":{"30":{"position":[[86,3],[138,3],[202,3]]},"41":{"position":[[76,3]]},"83":{"position":[[300,4]]}},"keywords":{}}],["seek",{"_index":555,"title":{},"content":{"53":{"position":[[179,7]]}},"keywords":{}}],["semant",{"_index":751,"title":{},"content":{"56":{"position":[[943,8]]}},"keywords":{}}],["separ",{"_index":524,"title":{},"content":{"43":{"position":[[753,10]]}},"keywords":{}}],["sequenc",{"_index":676,"title":{},"content":{"55":{"position":[[181,10]]}},"keywords":{}}],["sequenti",{"_index":695,"title":{},"content":{"55":{"position":[[739,10]]}},"keywords":{}}],["serv",{"_index":77,"title":{},"content":{"6":{"position":[[279,6]]},"17":{"position":[[46,5],[78,6]]},"56":{"position":[[595,5]]},"58":{"position":[[105,6]]}},"keywords":{}}],["server",{"_index":66,"title":{},"content":{"6":{"position":[[21,7],[311,7]]}},"keywords":{}}],["servic",{"_index":1038,"title":{},"content":{"83":{"position":[[231,7]]}},"keywords":{}}],["set",{"_index":407,"title":{},"content":{"39":{"position":[[436,3]]},"41":{"position":[[1,3]]},"53":{"position":[[217,3]]},"54":{"position":[[340,3],[676,3],[1938,3]]},"55":{"position":[[498,3],[692,3]]},"58":{"position":[[1179,3],[1281,3]]}},"keywords":{}}],["shall",{"_index":692,"title":{},"content":{"55":{"position":[[576,5],[808,5],[1092,5],[1430,5]]},"61":{"position":[[80,5]]},"62":{"position":[[26,5],[149,5],[348,5]]},"63":{"position":[[35,5]]},"64":{"position":[[32,5]]},"65":{"position":[[83,5],[143,5]]},"66":{"position":[[313,5],[459,5]]},"70":{"position":[[69,5]]},"80":{"position":[[27,5]]}},"keywords":{}}],["share",{"_index":481,"title":{},"content":{"42":{"position":[[1,5]]},"43":{"position":[[638,5]]}},"keywords":{}}],["shift",{"_index":423,"title":{},"content":{"39":{"position":[[747,7],[830,6]]}},"keywords":{}}],["short",{"_index":1056,"title":{},"content":{"87":{"position":[[196,5]]}},"keywords":{}}],["shorthand",{"_index":725,"title":{},"content":{"56":{"position":[[353,9]]}},"keywords":{}}],["show",{"_index":830,"title":{},"content":{"58":{"position":[[1218,4]]}},"keywords":{}}],["showcaseget",{"_index":20,"title":{},"content":{"1":{"position":[[214,11]]}},"keywords":{}}],["sidebar",{"_index":152,"title":{"14":{"position":[[14,8]]}},"content":{"14":{"position":[[36,7],[97,7],[276,7]]},"34":{"position":[[289,8]]}},"keywords":{}}],["sidebar_label",{"_index":158,"title":{},"content":{"14":{"position":[[144,14]]}},"keywords":{}}],["sidebar_posit",{"_index":160,"title":{},"content":{"14":{"position":[[165,17]]}},"keywords":{}}],["sidebars.j",{"_index":164,"title":{},"content":{"14":{"position":[[298,12],[312,11]]}},"keywords":{}}],["similar",{"_index":563,"title":{},"content":{"53":{"position":[[407,7]]}},"keywords":{}}],["singl",{"_index":499,"title":{},"content":{"43":{"position":[[69,6]]},"54":{"position":[[145,7],[2065,6]]},"73":{"position":[[57,6]]}},"keywords":{}}],["site",{"_index":6,"title":{"5":{"position":[[15,5]]},"6":{"position":[[11,5]]},"15":{"position":[[12,4]]},"16":{"position":[[11,5]]},"17":{"position":[[12,5]]},"22":{"position":[[15,4]]},"25":{"position":[[21,5]]},"27":{"position":[[21,5]]}},"content":{"1":{"position":[[44,4]]},"3":{"position":[[31,5]]},"5":{"position":[[27,4]]},"6":{"position":[[170,5],[425,4]]},"16":{"position":[[12,4]]},"25":{"position":[[12,4],[86,4]]},"27":{"position":[[12,4],[86,4]]}},"keywords":{}}],["skip",{"_index":822,"title":{},"content":{"58":{"position":[[934,7]]}},"keywords":{}}],["slug",{"_index":97,"title":{},"content":{"8":{"position":[[82,5]]},"29":{"position":[[157,5]]}},"keywords":{}}],["small",{"_index":175,"title":{},"content":{"17":{"position":[[190,5]]}},"keywords":{}}],["sme",{"_index":589,"title":{},"content":{"53":{"position":[[1101,5]]}},"keywords":{}}],["smoothli",{"_index":454,"title":{},"content":{"40":{"position":[[658,8]]}},"keywords":{}}],["softwar",{"_index":593,"title":{},"content":{"53":{"position":[[1178,9]]}},"keywords":{}}],["sole",{"_index":934,"title":{},"content":{"69":{"position":[[265,6]]}},"keywords":{}}],["solut",{"_index":491,"title":{},"content":{"42":{"position":[[155,9]]}},"keywords":{}}],["space",{"_index":376,"title":{},"content":{"39":{"position":[[25,6]]},"80":{"position":[[742,6]]}},"keywords":{}}],["spec",{"_index":319,"title":{},"content":{"36":{"position":[[40,5]]}},"keywords":{}}],["special",{"_index":280,"title":{},"content":{"33":{"position":[[18,7]]}},"keywords":{}}],["specialist",{"_index":590,"title":{},"content":{"53":{"position":[[1112,10]]}},"keywords":{}}],["specif",{"_index":227,"title":{"47":{"position":[[0,14]]},"81":{"position":[[0,14]]},"88":{"position":[[0,14]]}},"content":{"27":{"position":[[23,8]]},"40":{"position":[[54,13]]},"52":{"position":[[64,13]]},"53":{"position":[[1128,8]]},"54":{"position":[[83,8],[153,8],[822,8],[1750,8],[2432,8]]},"55":{"position":[[83,8],[535,8],[607,8]]},"56":{"position":[[64,13],[91,8],[400,8]]},"58":{"position":[[176,8],[767,13]]},"62":{"position":[[426,8]]},"69":{"position":[[637,8]]},"70":{"position":[[462,8]]},"71":{"position":[[499,8]]},"86":{"position":[[93,8]]}},"keywords":{}}],["specifi",{"_index":246,"title":{},"content":{"29":{"position":[[378,10]]},"39":{"position":[[409,9]]},"61":{"position":[[121,9]]},"62":{"position":[[128,10],[252,10]]},"66":{"position":[[525,10]]},"67":{"position":[[57,7]]}},"keywords":{}}],["spot",{"_index":508,"title":{},"content":{"43":{"position":[[190,4]]}},"keywords":{}}],["spreadsheet",{"_index":759,"title":{},"content":{"56":{"position":[[1185,11]]}},"keywords":{}}],["sql",{"_index":769,"title":{},"content":{"56":{"position":[[1567,4],[2094,3]]}},"keywords":{}}],["src/components/hellodocusaurus.j",{"_index":278,"title":{},"content":{"32":{"position":[[207,33]]}},"keywords":{}}],["src/pages/mi",{"_index":127,"title":{},"content":{"10":{"position":[[18,12],[47,12]]},"11":{"position":[[18,12],[50,12]]}},"keywords":{}}],["stabl",{"_index":526,"title":{},"content":{"43":{"position":[[818,7]]}},"keywords":{}}],["stage",{"_index":690,"title":{},"content":{"55":{"position":[[505,6],[658,7],[666,5],[723,5],[802,5],[1115,5]]}},"keywords":{}}],["standard",{"_index":405,"title":{"75":{"position":[[11,10]]},"76":{"position":[[10,10]]}},"content":{"39":{"position":[[400,8]]},"40":{"position":[[204,8]]},"43":{"position":[[778,10],[941,10]]},"56":{"position":[[626,9],[908,12],[1786,12]]},"62":{"position":[[567,9]]},"66":{"position":[[281,9]]},"75":{"position":[[14,10],[104,9]]},"83":{"position":[[777,8]]}},"keywords":{}}],["standardb.c",{"_index":973,"title":{},"content":{"75":{"position":[[72,12]]}},"keywords":{}}],["standards.identifi",{"_index":485,"title":{},"content":{"42":{"position":[[54,18]]}},"keywords":{}}],["start",{"_index":26,"title":{"3":{"position":[[8,8]]},"6":{"position":[[0,5]]},"25":{"position":[[0,5]]},"38":{"position":[[8,7]]}},"content":{"3":{"position":[[5,7]]},"6":{"position":[[52,5],[233,5]]},"25":{"position":[[1,5],[48,5],[150,7]]}},"keywords":{}}],["state",{"_index":307,"title":{"35":{"position":[[0,5]]}},"content":{"54":{"position":[[1432,6]]},"55":{"position":[[713,7],[759,6],[883,6],[913,5],[1086,5],[1314,5],[1464,5]]}},"keywords":{}}],["static",{"_index":170,"title":{},"content":{"16":{"position":[[54,6]]},"31":{"position":[[95,6]]}},"keywords":{}}],["static/img/docusaurus.png",{"_index":262,"title":{},"content":{"31":{"position":[[112,28]]}},"keywords":{}}],["station",{"_index":750,"title":{},"content":{"56":{"position":[[862,9]]}},"keywords":{}}],["statu",{"_index":705,"title":{},"content":{"55":{"position":[[1185,6]]}},"keywords":{}}],["status",{"_index":713,"title":{},"content":{"55":{"position":[[1421,8]]}},"keywords":{}}],["statutori",{"_index":558,"title":{},"content":{"53":{"position":[[253,9]]},"54":{"position":[[994,9],[1268,9]]}},"keywords":{}}],["store",{"_index":389,"title":{},"content":{"39":{"position":[[153,5]]},"56":{"position":[[1711,7]]},"62":{"position":[[169,6]]},"83":{"position":[[16,6],[146,5]]}},"keywords":{}}],["strata",{"_index":1029,"title":{},"content":{"80":{"position":[[730,7]]}},"keywords":{}}],["strategi",{"_index":522,"title":{},"content":{"43":{"position":[[711,8],[793,8]]}},"keywords":{}}],["string",{"_index":534,"title":{"61":{"position":[[0,7]]}},"content":{"46":{"position":[[7,6]]},"56":{"position":[[301,7]]},"61":{"position":[[1,7],[72,7],[195,7],[368,6]]},"66":{"position":[[305,7]]},"70":{"position":[[87,7]]},"80":{"position":[[234,6],[530,6]]},"83":{"position":[[493,8]]},"87":{"position":[[189,6],[248,6]]}},"keywords":{}}],["strip",{"_index":823,"title":{},"content":{"58":{"position":[[950,8]]}},"keywords":{}}],["structur",{"_index":533,"title":{"46":{"position":[[0,10]]},"56":{"position":[[0,10]]},"80":{"position":[[0,10]]},"87":{"position":[[0,10]]}},"content":{"56":{"position":[[34,10]]},"58":{"position":[[68,10],[146,10],[253,11],[858,11]]},"70":{"position":[[221,12]]}},"keywords":{}}],["style",{"_index":352,"title":{},"content":{"37":{"position":[[168,8]]}},"keywords":{}}],["subgraph",{"_index":334,"title":{},"content":{"36":{"position":[[217,8],[249,8]]}},"keywords":{}}],["subject",{"_index":587,"title":{},"content":{"53":{"position":[[1055,7],[1079,7]]}},"keywords":{}}],["submiss",{"_index":577,"title":{},"content":{"53":{"position":[[801,12]]},"54":{"position":[[1645,12],[2028,10]]}},"keywords":{}}],["submit",{"_index":608,"title":{},"content":{"54":{"position":[[527,9]]}},"keywords":{}}],["substitut",{"_index":918,"title":{},"content":{"67":{"position":[[132,11]]}},"keywords":{}}],["such",{"_index":592,"title":{},"content":{"53":{"position":[[1145,4]]},"54":{"position":[[1769,4]]},"61":{"position":[[247,4]]},"62":{"position":[[263,4]]},"69":{"position":[[317,5],[513,4]]},"71":{"position":[[110,5],[325,4]]}},"keywords":{}}],["support",{"_index":206,"title":{},"content":{"23":{"position":[[36,7]]},"30":{"position":[[28,10]]},"31":{"position":[[29,10]]},"32":{"position":[[26,9]]},"34":{"position":[[25,8],[195,10]]},"53":{"position":[[764,7]]},"62":{"position":[[491,9]]},"66":{"position":[[205,9],[785,11]]}},"keywords":{}}],["sure",{"_index":602,"title":{},"content":{"54":{"position":[[416,4]]}},"keywords":{}}],["surveyor",{"_index":646,"title":{},"content":{"54":{"position":[[1636,8]]}},"keywords":{}}],["synonym",{"_index":578,"title":{},"content":{"53":{"position":[[826,7]]},"54":{"position":[[1996,7]]}},"keywords":{}}],["syntax",{"_index":271,"title":{},"content":{"32":{"position":[[41,6]]},"33":{"position":[[26,6]]},"34":{"position":[[267,6]]},"56":{"position":[[1659,7]]}},"keywords":{}}],["system",{"_index":401,"title":{},"content":{"39":{"position":[[343,7]]},"40":{"position":[[102,6],[257,7],[443,8],[482,7],[638,7],[711,7]]},"43":{"position":[[510,7],[571,7],[919,7]]},"56":{"position":[[829,6]]},"87":{"position":[[162,8]]}},"keywords":{}}],["sébastien",{"_index":111,"title":{},"content":{"8":{"position":[[267,9]]}},"keywords":{}}],["tabular",{"_index":760,"title":{},"content":{"56":{"position":[[1200,7]]}},"keywords":{}}],["tag",{"_index":116,"title":{},"content":{"8":{"position":[[388,5]]},"29":{"position":[[178,5],[346,4]]}},"keywords":{}}],["take",{"_index":290,"title":{},"content":{"33":{"position":[[213,4]]},"54":{"position":[[898,4]]}},"keywords":{}}],["taken",{"_index":636,"title":{},"content":{"54":{"position":[[1365,5]]}},"keywords":{}}],["talk",{"_index":521,"title":{},"content":{"43":{"position":[[648,4]]}},"keywords":{}}],["tantali",{"_index":1021,"title":{},"content":{"80":{"position":[[425,8]]}},"keywords":{}}],["tbd",{"_index":532,"title":{},"content":{"44":{"position":[[1,3]]},"48":{"position":[[1,3]]},"49":{"position":[[1,3]]},"89":{"position":[[1,3]]},"90":{"position":[[1,3]]}},"keywords":{}}],["td",{"_index":309,"title":{},"content":{"35":{"position":[[18,2]]}},"keywords":{}}],["teams.creat",{"_index":471,"title":{},"content":{"41":{"position":[[83,12]]}},"keywords":{}}],["technic",{"_index":450,"title":{"76":{"position":[[0,9]]}},"content":{"40":{"position":[[599,9]]}},"keywords":{}}],["technolog",{"_index":523,"title":{},"content":{"43":{"position":[[724,10]]}},"keywords":{}}],["templat",{"_index":47,"title":{"67":{"position":[[4,9]]}},"content":{"5":{"position":[[50,9],[73,8]]},"67":{"position":[[5,9],[31,8]]}},"keywords":{}}],["template)rfc",{"_index":991,"title":{},"content":{"76":{"position":[[265,12]]}},"keywords":{}}],["tenur",{"_index":619,"title":{},"content":{"54":{"position":[[947,7]]}},"keywords":{}}],["term",{"_index":540,"title":{},"content":{"51":{"position":[[1,4]]},"52":{"position":[[15,5]]},"53":{"position":[[122,4]]},"54":{"position":[[115,4],[1111,4],[1892,4]]},"55":{"position":[[120,4],[1624,5]]},"56":{"position":[[15,5],[113,4],[921,5],[1038,5],[1327,4]]}},"keywords":{}}],["termin",{"_index":60,"title":{},"content":{"5":{"position":[[261,9],[295,8]]},"6":{"position":[[204,8]]}},"keywords":{}}],["terminolog",{"_index":538,"title":{"50":{"position":[[0,11]]}},"content":{"52":{"position":[[136,11]]}},"keywords":{}}],["terms.gath",{"_index":475,"title":{},"content":{"41":{"position":[[187,12]]}},"keywords":{}}],["test",{"_index":171,"title":{},"content":{"17":{"position":[[1,4]]}},"keywords":{}}],["text",{"_index":240,"title":{},"content":{"29":{"position":[[229,4]]},"58":{"position":[[676,4]]}},"keywords":{}}],["textual",{"_index":842,"title":{},"content":{"61":{"position":[[31,7]]}},"keywords":{}}],["theecma",{"_index":923,"title":{},"content":{"68":{"position":[[58,7]]}},"keywords":{}}],["thejson",{"_index":868,"title":{},"content":{"62":{"position":[[388,7]]},"63":{"position":[[202,7]]},"64":{"position":[[220,7]]},"65":{"position":[[194,7]]},"66":{"position":[[133,7]]},"67":{"position":[[218,7]]},"68":{"position":[[85,7]]},"69":{"position":[[599,7]]},"70":{"position":[[515,7]]},"71":{"position":[[461,7]]},"72":{"position":[[260,7]]},"73":{"position":[[169,7]]}},"keywords":{}}],["theme/layout",{"_index":131,"title":{},"content":{"10":{"position":[[120,16]]}},"keywords":{}}],["themeconfig",{"_index":195,"title":{},"content":{"20":{"position":[[143,12]]},"26":{"position":[[143,12]]}},"keywords":{}}],["themeconfigadd",{"_index":12,"title":{},"content":{"1":{"position":[[121,14]]}},"keywords":{}}],["thing",{"_index":625,"title":{},"content":{"54":{"position":[[1125,7]]}},"keywords":{}}],["thought",{"_index":757,"title":{},"content":{"56":{"position":[[1146,7]]}},"keywords":{}}],["three",{"_index":1047,"title":{},"content":{"83":{"position":[[606,5]]}},"keywords":{}}],["through",{"_index":78,"title":{},"content":{"6":{"position":[[289,7]]},"34":{"position":[[59,7]]},"43":{"position":[[28,7]]},"55":{"position":[[252,8],[791,8]]}},"keywords":{}}],["time",{"_index":224,"title":{"62":{"position":[[9,5]]}},"content":{"25":{"position":[[236,5]]},"40":{"position":[[142,5]]},"54":{"position":[[1075,4]]},"62":{"position":[[13,4],[144,4],[244,4],[287,4],[300,4],[327,4],[372,5],[509,4]]},"66":{"position":[[223,4]]},"75":{"position":[[67,4]]}},"keywords":{}}],["time)rfc",{"_index":983,"title":{},"content":{"76":{"position":[[100,8]]}},"keywords":{}}],["timenam",{"_index":975,"title":{},"content":{"75":{"position":[[127,10]]}},"keywords":{}}],["timesdata",{"_index":512,"title":{},"content":{"43":{"position":[[289,9]]}},"keywords":{}}],["tip",{"_index":283,"title":{},"content":{"33":{"position":[[80,4],[176,3]]}},"keywords":{}}],["tip[mi",{"_index":282,"title":{},"content":{"33":{"position":[[70,9]]}},"keywords":{}}],["titl",{"_index":99,"title":{},"content":{"8":{"position":[[98,6],[145,6],[284,6]]},"29":{"position":[[95,6],[114,5],[323,6]]},"54":{"position":[[1023,6]]},"79":{"position":[[23,5],[127,5],[223,5],[262,6],[278,5]]},"80":{"position":[[322,5],[800,5],[900,5],[996,5],[1035,6],[1051,5]]}},"keywords":{}}],["title="src/components/hellodocusaurus.js"",{"_index":274,"title":{},"content":{"32":{"position":[[70,51]]}},"keywords":{}}],["top",{"_index":233,"title":{},"content":{"29":{"position":[[41,3]]}},"keywords":{}}],["topic",{"_index":801,"title":{},"content":{"58":{"position":[[317,6]]}},"keywords":{}}],["torfc",{"_index":879,"title":{},"content":{"63":{"position":[[180,5]]},"64":{"position":[[181,5]]}},"keywords":{}}],["track",{"_index":448,"title":{"55":{"position":[[8,9]]}},"content":{"40":{"position":[[568,8]]},"87":{"position":[[89,5]]}},"keywords":{}}],["transform",{"_index":460,"title":{},"content":{"40":{"position":[[797,14]]},"42":{"position":[[171,15]]},"43":{"position":[[895,9]]},"83":{"position":[[758,11]]}},"keywords":{}}],["translat",{"_index":204,"title":{"22":{"position":[[0,9]]},"24":{"position":[[0,9]]}},"content":{"24":{"position":[[185,9]]},"25":{"position":[[166,11]]}},"keywords":{}}],["transmit",{"_index":778,"title":{},"content":{"56":{"position":[[1722,12]]}},"keywords":{}}],["tri",{"_index":29,"title":{},"content":{"3":{"position":[[41,3]]}},"keywords":{}}],["true",{"_index":960,"title":{},"content":{"72":{"position":[[58,4],[126,4]]}},"keywords":{}}],["tutori",{"_index":23,"title":{"2":{"position":[[0,8]]}},"content":{"14":{"position":[[405,11]]}},"keywords":{}}],["tutorial_basics/cr",{"_index":167,"title":{},"content":{"14":{"position":[[424,24]]}},"keywords":{}}],["tutorialsidebar",{"_index":165,"title":{},"content":{"14":{"position":[[341,16]]}},"keywords":{}}],["two",{"_index":959,"title":{},"content":{"72":{"position":[[37,3]]}},"keywords":{}}],["type",{"_index":57,"title":{"60":{"position":[[10,5]]}},"content":{"5":{"position":[[210,4]]},"14":{"position":[[380,5]]},"20":{"position":[[179,5]]},"26":{"position":[[179,5]]},"39":{"position":[[100,5],[465,5]]},"46":{"position":[[1,5]]},"54":{"position":[[1905,4]]},"56":{"position":[[133,4],[155,4],[220,4],[272,5],[1702,4],[1805,4],[2058,5]]},"58":{"position":[[185,4],[1441,4]]},"61":{"position":[[355,5],[535,6]]},"69":{"position":[[60,4],[378,4]]},"71":{"position":[[100,6],[159,4]]},"80":{"position":[[177,4]]},"83":{"position":[[809,5]]},"86":{"position":[[11,4]]},"87":{"position":[[18,4]]}},"keywords":{}}],["type.requir",{"_index":831,"title":{},"content":{"58":{"position":[[1243,13]]}},"keywords":{}}],["types.cr",{"_index":488,"title":{},"content":{"42":{"position":[[118,12]]}},"keywords":{}}],["typesrfc",{"_index":978,"title":{},"content":{"76":{"position":[[21,8]]}},"keywords":{}}],["typic",{"_index":707,"title":{},"content":{"55":{"position":[[1324,9]]},"56":{"position":[[455,9],[975,9]]},"58":{"position":[[356,9]]}},"keywords":{}}],["uid",{"_index":734,"title":{},"content":{"56":{"position":[[536,6]]}},"keywords":{}}],["ultim",{"_index":519,"title":{},"content":{"43":{"position":[[410,10]]}},"keywords":{}}],["umbrella",{"_index":624,"title":{},"content":{"54":{"position":[[1102,8]]}},"keywords":{}}],["uml",{"_index":770,"title":{},"content":{"56":{"position":[[1572,4]]}},"keywords":{}}],["undefin",{"_index":969,"title":{},"content":{"73":{"position":[[148,10]]}},"keywords":{}}],["under",{"_index":305,"title":{},"content":{"34":{"position":[[249,5]]}},"keywords":{}}],["understand",{"_index":433,"title":{},"content":{"40":{"position":[[127,10]]},"41":{"position":[[166,11]]},"43":{"position":[[582,10]]},"52":{"position":[[118,13]]},"58":{"position":[[804,10]]},"87":{"position":[[327,10]]}},"keywords":{}}],["uniqu",{"_index":732,"title":{},"content":{"56":{"position":[[496,6]]},"58":{"position":[[563,6]]},"67":{"position":[[67,6]]},"71":{"position":[[333,11]]},"79":{"position":[[86,8]]},"80":{"position":[[859,8]]},"87":{"position":[[75,6]]}},"keywords":{}}],["unit",{"_index":726,"title":{},"content":{"56":{"position":[[382,4]]}},"keywords":{}}],["univers",{"_index":894,"title":{},"content":{"66":{"position":[[1,9]]}},"keywords":{}}],["unix/epochtim",{"_index":866,"title":{},"content":{"62":{"position":[[220,15]]}},"keywords":{}}],["unless",{"_index":863,"title":{},"content":{"62":{"position":[[111,6]]}},"keywords":{}}],["unord",{"_index":942,"title":{},"content":{"70":{"position":[[22,9]]}},"keywords":{}}],["unreleas",{"_index":190,"title":{},"content":{"19":{"position":[[321,10]]}},"keywords":{}}],["up",{"_index":464,"title":{},"content":{"41":{"position":[[5,2]]},"58":{"position":[[1223,2]]}},"keywords":{}}],["upcom",{"_index":189,"title":{},"content":{"19":{"position":[[311,9]]}},"keywords":{}}],["updat",{"_index":198,"title":{"21":{"position":[[0,6]]}},"content":{"21":{"position":[[104,7],[158,7]]},"55":{"position":[[1234,6]]}},"keywords":{}}],["upon",{"_index":821,"title":{},"content":{"58":{"position":[[895,4]]}},"keywords":{}}],["uri",{"_index":811,"title":{"67":{"position":[[0,3]]}},"content":{"58":{"position":[[570,3]]},"66":{"position":[[48,3]]},"67":{"position":[[1,3],[27,3],[158,3]]},"76":{"position":[[260,4]]}},"keywords":{}}],["uri)rfc",{"_index":985,"title":{},"content":{"76":{"position":[[130,8]]}},"keywords":{}}],["url",{"_index":107,"title":{},"content":{"8":{"position":[[179,4],[313,4]]},"29":{"position":[[174,3]]},"30":{"position":[[45,3]]}},"keywords":{}}],["us",{"_index":45,"title":{},"content":{"5":{"position":[[32,5]]},"25":{"position":[[216,3]]},"30":{"position":[[39,5]]},"31":{"position":[[49,3],[270,6],[324,5]]},"33":{"position":[[85,3],[180,3]]},"34":{"position":[[135,5]]},"37":{"position":[[61,5]]},"42":{"position":[[165,5]]},"52":{"position":[[47,4]]},"53":{"position":[[631,3]]},"54":{"position":[[61,4],[1782,4],[1882,4]]},"55":{"position":[[61,4]]},"56":{"position":[[621,4],[656,4],[1561,5],[1998,5]]},"58":{"position":[[27,4],[756,6]]},"61":{"position":[[13,4]]},"62":{"position":[[317,5]]},"65":{"position":[[74,5],[134,5]]},"66":{"position":[[37,3],[107,4],[429,5],[450,5],[515,4],[896,5]]},"69":{"position":[[336,5]]},"70":{"position":[[13,4]]},"71":{"position":[[12,4],[203,3],[405,4]]},"72":{"position":[[14,4]]},"73":{"position":[[9,4]]}},"keywords":{}}],["usabl",{"_index":436,"title":{},"content":{"40":{"position":[[228,6]]}},"keywords":{}}],["usag",{"_index":546,"title":{},"content":{"52":{"position":[[148,6]]}},"keywords":{}}],["usage.properti",{"_index":829,"title":{},"content":{"58":{"position":[[1158,16]]}},"keywords":{}}],["usual",{"_index":691,"title":{},"content":{"55":{"position":[[516,7]]}},"keywords":{}}],["utc",{"_index":867,"title":{},"content":{"62":{"position":[[368,3]]}},"keywords":{}}],["utf",{"_index":844,"title":{},"content":{"61":{"position":[[104,3]]},"76":{"position":[[114,4]]}},"keywords":{}}],["uuid",{"_index":735,"title":{},"content":{"56":{"position":[[547,7],[577,5]]},"66":{"position":[[186,4],[300,4],[354,4],[413,4],[442,4],[536,5],[745,4],[806,4],[878,4]]},"76":{"position":[[144,5],[298,5]]},"87":{"position":[[68,4]]}},"keywords":{}}],["v1",{"_index":986,"title":{},"content":{"76":{"position":[[150,2]]}},"keywords":{}}],["v4",{"_index":902,"title":{},"content":{"66":{"position":[[418,2]]}},"keywords":{}}],["v6",{"_index":993,"title":{},"content":{"76":{"position":[[304,2]]}},"keywords":{}}],["valid",{"_index":501,"title":{},"content":{"43":{"position":[[85,9]]},"58":{"position":[[1354,6]]},"80":{"position":[[3,5]]}},"keywords":{}}],["valu",{"_index":929,"title":{},"content":{"69":{"position":[[76,6],[169,7],[221,5],[259,5]]},"70":{"position":[[36,5],[105,5]]},"72":{"position":[[50,7],[116,6]]},"73":{"position":[[30,6],[75,5],[138,6]]},"80":{"position":[[690,6]]},"83":{"position":[[34,6]]}},"keywords":{}}],["vari",{"_index":642,"title":{},"content":{"54":{"position":[[1577,7]]}},"keywords":{}}],["varieti",{"_index":765,"title":{},"content":{"56":{"position":[[1353,7]]}},"keywords":{}}],["variou",{"_index":453,"title":{},"content":{"40":{"position":[[630,7]]},"43":{"position":[[491,7]]},"53":{"position":[[28,7]]},"54":{"position":[[903,7]]},"70":{"position":[[185,7]]}},"keywords":{}}],["veri",{"_index":174,"title":{},"content":{"17":{"position":[[185,4]]}},"keywords":{}}],["verifi",{"_index":797,"title":{},"content":{"58":{"position":[[56,6]]}},"keywords":{}}],["version",{"_index":35,"title":{"18":{"position":[[12,8]]},"19":{"position":[[14,8]]},"20":{"position":[[6,7]]},"21":{"position":[[19,8]]}},"content":{"4":{"position":[[9,7]]},"19":{"position":[[11,7],[189,9],[243,7]]},"20":{"position":[[31,9],[47,7],[244,7]]},"21":{"position":[[24,9]]},"58":{"position":[[634,10]]},"59":{"position":[[36,7]]},"66":{"position":[[359,9],[635,7],[750,8],[883,8]]},"77":{"position":[[13,7]]}},"keywords":{}}],["versioned_docs/vers",{"_index":183,"title":{},"content":{"19":{"position":[[110,22]]},"21":{"position":[[68,22]]}},"keywords":{}}],["versions.json",{"_index":184,"title":{},"content":{"19":{"position":[[141,13]]}},"keywords":{}}],["view",{"_index":80,"title":{},"content":{"6":{"position":[[336,4]]},"43":{"position":[[23,4],[126,4]]}},"keywords":{}}],["visit",{"_index":304,"title":{},"content":{"34":{"position":[[206,5]]}},"keywords":{}}],["vocabulari",{"_index":595,"title":{},"content":{"54":{"position":[[50,10]]},"55":{"position":[[50,10]]},"56":{"position":[[872,10],[885,10]]}},"keywords":{}}],["voic",{"_index":1035,"title":{},"content":{"83":{"position":[[122,6]]}},"keywords":{}}],["warn",{"_index":869,"title":{},"content":{"62":{"position":[[446,7]]},"66":{"position":[[164,7]]}},"keywords":{}}],["way",{"_index":386,"title":{},"content":{"39":{"position":[[124,4]]},"40":{"position":[[702,4]]},"54":{"position":[[971,4]]},"56":{"position":[[363,3]]},"58":{"position":[[117,3]]},"67":{"position":[[50,3]]}},"keywords":{}}],["web",{"_index":779,"title":{},"content":{"56":{"position":[[1753,4],[2134,4]]}},"keywords":{}}],["websit",{"_index":56,"title":{},"content":{"5":{"position":[[184,7]]},"6":{"position":[[36,7],[259,7]]}},"keywords":{}}],["well",{"_index":265,"title":{},"content":{"31":{"position":[[243,5]]},"39":{"position":[[79,4],[606,4]]},"56":{"position":[[639,4]]},"70":{"position":[[371,4]]}},"keywords":{}}],["what'",{"_index":1,"title":{"1":{"position":[[0,6]]}},"content":{},"keywords":{}}],["wide",{"_index":302,"title":{},"content":{"34":{"position":[[174,4]]},"56":{"position":[[614,6]]}},"keywords":{}}],["within",{"_index":543,"title":{},"content":{"52":{"position":[[52,6]]},"53":{"position":[[93,6],[567,6],[669,6]]},"54":{"position":[[101,6],[852,6],[1799,6]]},"55":{"position":[[101,6],[445,6],[890,6],[993,6]]},"56":{"position":[[503,6]]}},"keywords":{}}],["without",{"_index":403,"title":{},"content":{"39":{"position":[[367,7]]},"83":{"position":[[678,7]]}},"keywords":{}}],["withrfc",{"_index":889,"title":{},"content":{"65":{"position":[[96,7]]},"66":{"position":[[63,7],[472,7]]},"67":{"position":[[198,7]]}},"keywords":{}}],["work",{"_index":71,"title":{},"content":{"6":{"position":[[104,7],[130,4]]},"40":{"position":[[393,4]]},"41":{"position":[[10,7]]},"54":{"position":[[1142,4]]},"55":{"position":[[908,4]]}},"keywords":{}}],["workflow",{"_index":700,"title":{},"content":{"55":{"position":[[1022,8]]}},"keywords":{}}],["workload",{"_index":662,"title":{},"content":{"54":{"position":[[2204,8]]}},"keywords":{}}],["write",{"_index":790,"title":{},"content":{"56":{"position":[[1985,7]]}},"keywords":{}}],["xml",{"_index":783,"title":{},"content":{"56":{"position":[[1889,4]]}},"keywords":{}}],["xsd",{"_index":771,"title":{},"content":{"56":{"position":[[1577,4]]}},"keywords":{}}],["you'll",{"_index":32,"title":{"4":{"position":[[5,6]]}},"content":{"6":{"position":[[176,6]]}},"keywords":{}}],["you'r",{"_index":70,"title":{},"content":{"6":{"position":[[97,6]]}},"keywords":{}}],["zero",{"_index":1036,"title":{},"content":{"83":{"position":[[198,5],[451,5],[541,4],[694,7]]}},"keywords":{}}]],"pipeline":["stemmer"]} \ No newline at end of file diff --git a/pr-preview/pr-4/markdown-page.html b/pr-preview/pr-4/markdown-page.html new file mode 100644 index 0000000..bfd7ba4 --- /dev/null +++ b/pr-preview/pr-4/markdown-page.html @@ -0,0 +1,14 @@ + + + + + +Markdown page example | Permitting Interoperability Exchange Specification + + + + +

    Markdown page example

    +

    You don't need React to write simple standalone pages.

    + + \ No newline at end of file diff --git a/pr-preview/pr-4/search-doc-1732666197698.json b/pr-preview/pr-4/search-doc-1732666197698.json new file mode 100644 index 0000000..616cb32 --- /dev/null +++ b/pr-preview/pr-4/search-doc-1732666197698.json @@ -0,0 +1 @@ +{"searchDocs":[{"title":"Congratulations!","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations","content":"","keywords":"","version":"Next"},{"title":"What's next?​","type":1,"pageTitle":"Congratulations!","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations#whats-next","content":" Read the official documentationModify your site configuration with docusaurus.config.jsAdd navbar and footer items with themeConfigAdd a custom Design and LayoutAdd a search barFind inspirations in the Docusaurus showcaseGet involved in the Docusaurus Community ","version":"Next","tagName":"h2"},{"title":"Tutorial Intro","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro","content":"","keywords":"","version":"Next"},{"title":"Getting Started​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro#getting-started","content":" Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new. ","version":"Next","tagName":"h2"},{"title":"What you'll need​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro#what-youll-need","content":" Node.js version 18.0 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies. ","version":"Next","tagName":"h3"},{"title":"Generate a new site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro#generate-a-new-site","content":" Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus. ","version":"Next","tagName":"h2"},{"title":"Start your site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro#start-your-site","content":" Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes. ","version":"Next","tagName":"h2"},{"title":"Create a Blog Post","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post","content":"","keywords":"","version":"Next"},{"title":"Create your first Post​","type":1,"pageTitle":"Create a Blog Post","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post#create-your-first-post","content":" Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much as you like. A new blog post is now available at http://localhost:3000/blog/greetings. ","version":"Next","tagName":"h2"},{"title":"Create a Page","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page","content":"","keywords":"","version":"Next"},{"title":"Create your first React Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-react-page","content":" Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return ( <Layout> <h1>My React page</h1> <p>This is a React page</p> </Layout> ); } A new page is now available at http://localhost:3000/my-react-page. ","version":"Next","tagName":"h2"},{"title":"Create your first Markdown Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-markdown-page","content":" Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page. ","version":"Next","tagName":"h2"},{"title":"Create a Document","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document","content":"","keywords":"","version":"Next"},{"title":"Create your first Doc​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document#create-your-first-doc","content":" Create a Markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello. ","version":"Next","tagName":"h2"},{"title":"Configure the Sidebar​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document#configure-the-sidebar","content":" Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js export default { tutorialSidebar: [ 'intro', 'hello', { type: 'category', label: 'Tutorial', items: ['tutorial_basics/create-a-document'] } ] }; ","version":"Next","tagName":"h2"},{"title":"Deploy your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site","content":"","keywords":"","version":"Next"},{"title":"Build your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site#build-your-site","content":" Build your site for production: npm run build The static files are generated in the build folder. ","version":"Next","tagName":"h2"},{"title":"Deploy your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site#deploy-your-site-1","content":" Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide). ","version":"Next","tagName":"h2"},{"title":"Manage Docs Versions","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions","content":"","keywords":"","version":"Next"},{"title":"Create a docs version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions#create-a-docs-version","content":" Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docscurrent at http://localhost:3000/docs/next/ for the upcoming, unreleased docs ","version":"Next","tagName":"h2"},{"title":"Add a Version Dropdown​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions#add-a-version-dropdown","content":" To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: "docsVersionDropdown", }, ], }, }, }; The docs version dropdown appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Update an existing version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions#update-an-existing-version","content":" It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hellodocs/hello.md updates http://localhost:3000/docs/next/hello ","version":"Next","tagName":"h2"},{"title":"Translate your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site","content":"","keywords":"","version":"Next"},{"title":"Configure i18n​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#configure-i18n","content":" Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js export default { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, }; ","version":"Next","tagName":"h2"},{"title":"Translate a doc​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#translate-a-doc","content":" Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French. ","version":"Next","tagName":"h2"},{"title":"Start your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#start-your-localized-site","content":" Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. caution In development, you can only use one locale at a time. ","version":"Next","tagName":"h2"},{"title":"Add a Locale Dropdown​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#add-a-locale-dropdown","content":" To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Build your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#build-your-localized-site","content":" Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build ","version":"Next","tagName":"h2"},{"title":"Markdown Features","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features","content":"","keywords":"","version":"Next"},{"title":"Front Matter​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#front-matter","content":" Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my_doc_id title: My document title description: My document description slug: /my-custom-url tags: - developer --- ## Markdown heading Markdown text with [links](./hello.md) We recommend that all markdown pages should have at minimum a title, description and tags array defined. An idmay be specified, but can be derived off of the filename when omitted. ","version":"Next","tagName":"h2"},{"title":"Links​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#links","content":" Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create_a_page). Let's see how to [Create a page](./create_a_page.md). Result: Let's see how to Create a page. ","version":"Next","tagName":"h2"},{"title":"Images​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#images","content":" Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them: ![Docusaurus logo](./img/docusaurus.png) ","version":"Next","tagName":"h2"},{"title":"Code Blocks​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#code-blocks","content":" Markdown code blocks are supported with Syntax highlighting. ```jsx title="src/components/HelloDocusaurus.js" function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ``` src/components/HelloDocusaurus.js function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ","version":"Next","tagName":"h2"},{"title":"Admonitions​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#admonitions","content":" Docusaurus has a special syntax to create admonitions and callouts: :::tip[My tip] Use this awesome feature option ::: :::danger[Take care] This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous ","version":"Next","tagName":"h2"},{"title":"Mermaid Graphs​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#mermaid-graphs","content":" Our Docusaurus instance supports diagramming and charting through Mermaid. The following are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, visit their documentation for more details under the Diagram Syntax section on the sidebar. ","version":"Next","tagName":"h2"},{"title":"State Machine​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#state-machine","content":" ```mermaid graph TD A-->B A-->C B-->D C-->D ``` ","version":"Next","tagName":"h3"},{"title":"Flowchart​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#flowchart","content":" ```mermaid graph LR A[PIES] -->|Get spec| B(Stakeholder approval) B --> C{Purpose} B --> G[/Further Analysis/] C ==>|One| D[Document Exchange] C -->|Two| E[Event Alerts] C -->|Three| F[Aggregation] subgraph identification A B end subgraph execution C D E F G end ``` ","version":"Next","tagName":"h3"},{"title":"MDX and React Components​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#mdx-and-react-components","content":" MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( <span style={{ backgroundColor: color, borderRadius: '20px', color: '#fff', padding: '10px', cursor: 'pointer', }} onClick={() => { alert(`You clicked the color ${color} with label ${children}`) }}> {children} </span> ); This is <Highlight color="#25c2a0">Docusaurus green</Highlight> ! This is <Highlight color="#1877F2">Facebook blue</Highlight> ! This is Docusaurus green ! This is Facebook blue ! ","version":"Next","tagName":"h2"},{"title":"Getting Started","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started","content":"","keywords":"","version":"Next"},{"title":"Purpose​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#purpose","content":" Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems can't integrate without a common language. This standard specifies the foundational set of core descriptive data types and elements required to enable the compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on permitting. ","version":"Next","tagName":"h2"},{"title":"Objectives​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#objectives","content":" The main objective of PIES is to deliver a published specification to enable better data quality and system interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes across the sector. Make it easier to connect and work with the information in different permitting systems. Reduce the effort and cost of systems integrations and automation.Unlock the ability to provide consistent progress tracking to proponents. Create technical guidelines that help various systems communicate smoothly and consistently.Support different ways for systems to communicate with each other.Unlock potential for evidence-based policy and transformative potential of AI. ","version":"Next","tagName":"h2"},{"title":"Getting Everyone on the Same Page​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#getting-everyone-on-the-same-page","content":" Set up a working group for people interested to contribute and adopt PIES. See MS Teams.Create clear rules for data governance.Develop a common language so everyone understands the same terms.Gather feedback to ensure data is represented accurately and clearly. ","version":"Next","tagName":"h3"},{"title":"Documentation​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#documentation","content":" Share best practices for documenting government data standards.Identify and list common permitting concepts and data types.Create a plan for implementing solutions using transformations and microservices. And of course, PIES are delicious! 😄 ","version":"Next","tagName":"h3"},{"title":"Goals​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#goals","content":" Enable a cross sector view Through appropriate data accessCreates a single point of validated reporting Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement Data qualityData and information consistencyIdentify processing timesData harmonization cross sector level reportingActivity bundling and linkingCoordinated First Nations Consultation Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to achieve interoperability (the ability for the systems to understand the key elements of information they need to share and talk to each other in a common language). An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems into the data standards. ","version":"Next","tagName":"h2"},{"title":"Schemas​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#schemas","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Code","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code","content":"","keywords":"","version":"Next"},{"title":"Structure​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code#structure","content":" Type: string ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code#specification","content":" SchemaSource Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Terminology","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology","content":"","keywords":"","version":"Next"},{"title":"Acronyms​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#acronyms","content":" Term\tDefinitionLOB\tLine of Business ","version":"Next","tagName":"h2"},{"title":"Concepts​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#concepts","content":" The following terms outline the main concepts used within this specification and aim to provide a common lexicon for understanding and terminology usage. ","version":"Next","tagName":"h2"},{"title":"Actors​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#actors","content":" This section discusses the various roles that a person, group or an organization may act as within the context of PIES. Term\tDefinitionApplicant\tA person, group or organization seeking an authorization to perform a set of activities. Decision Maker\tA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions. Interested Party\tA person, or group which may be impacted by an authorization decision. Local Government\tA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction. Navigator\tAn established role which focuses on delivering dedicated support to applicants on application submissions. Proponent\tA synonym for an applicant. Referral Agency\tA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application. Subject Matter Expert\tA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy. ","version":"Next","tagName":"h3"},{"title":"Definitions​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#definitions","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within PIES. Term\tDefinition\t???Activity\tA single, specific defined intent of action an area of intent. An activity may require one or more authorizations, e.g., a housing development project. Activity Bundling\tThe act of identifying the set of permits required for a certain activity.\tThis should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship Application\tA submitted form(s) with the intent to obtain or amend an authorization.\tThis might be getting muddled with the concept of a project. Area of Intent\tA set of one or more parcels which define the location(s) an activity is to be performed. Authorization\tThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.\tWe might need to expand this definition over time as this is the formal umbrella term for many things. Caseload\tWork happening with the LOB to facilitate, capture and maintain a permit. Disposition\tThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.\tFirst attempt at defining - needs review Parcel\tA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.\tRephrased from LTSA page Permit\tAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization. Project\tA set of applications required for a permit\tIs this a fancy synonym for an activity bundle? Submission\tThe completed output of a single form as answered by an applicant.\tAdd a note like "Submissions require an adjective declaring their application context"? Workload\tA quantifiable measurement of the number of client-driven applications in the queue.\t The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they interact with specific parts of the process. ","version":"Next","tagName":"h3"},{"title":"Process Tracking​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#process-tracking","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within a process. Term\tDefinition\t???Lifecycle\tRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.\tHighest level concept; answers the "why" Phase\tA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.\tDefines an ordering of related stages. Stage\tA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.\tProvides an ordering of higher level states within a phase of work State\tA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.\tLarger general "where is this at" concept Status\tA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.\tDetailed "what is happening now" concept The following diagram outlines a high level categorization map between all of the process terms and how they relate to each other. ","version":"Next","tagName":"h3"},{"title":"Structure​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#structure","content":" The following terms describe the structural definitions of the specification ordered from specific to general. Term\tDefinitionData Type\tA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date. Identifiers\tIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations. Vocabulary\tA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher." Schema\tA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema. Format\tThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML. API\tAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web. ","version":"Next","tagName":"h2"},{"title":"Formatting","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/formatting","content":"","keywords":"","version":"Next"},{"title":"JSON Schema Primer​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-4/docs/spec/formatting#json-schema-primer","content":" A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for describing expected structures, describing conceptual relationships between related topics and domains A JSON Schema will typically contain the following attributes: $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.$id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.$comment - A free text field for conveying out of band information about the schema. Comments are useful for specification readers and editors to understand further nuances for certain properties and structures, but should not be relied upon for implementation as they may be skipped over or stripped when parsed by machines.title - The intent of the schema. This should be brief and concise.description - A brief description about the schema. This should provide a quick overview for the context of usage.properties - A set of attributes that are expected to show up in this document type.required - An array defining the set of properties that must be present for the document to be considered valid. Anything defined that is not in this array is implied to be optional.type - The type primitive constraint for the property. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-4/docs/spec/formatting#references","content":" Draft 07RFC 8259 (JSON)JSON Schema Version Comparison ","version":"Next","tagName":"h2"},{"title":"Primitive Types","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types","content":"","keywords":"","version":"Next"},{"title":"String​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#string","content":" Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as specified in RFC 3629, which is an extension of the ISO 10646-1standard. Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expressionpattern. In addition, there are commonbuilt-in format types that a string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation for more detail on the available built-in format types. ","version":"Next","tagName":"h2"},{"title":"Date and Time​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#date-and-time","content":" Date and/or time formats shall be represented inRFC 3339, section 5.6 format, also commonly known asISO 8601. Unless otherwise specified, date-time shall be internally stored and represented in a format compatible with unix/epochtime. If the time is specified, such as when either the time or date-time formats are used, the time representations shall be encoded in UTC time. Reference theJSON Schema documentation for more specific examples. warning Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. ","version":"Next","tagName":"h3"},{"title":"Email​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#email","content":" Email addresses with format email shall be represented inRFC 5321, section 4.1.2 format. Emails may also be conveyed in internationalized format idn-email which will be compliant toRFC 6531. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Hostname​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#hostname","content":" Hostnames with format hostname shall be represented inRFC 1123, section 2.1 format. Hostnames may also be conveyed in internationalized format idn-hostname which will be compliant toRFC 5890, section 2.3.2.3. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"IP Address​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#ip-address","content":" IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply withRFC 2673, section 3.2. If IPv6 is used, it shall comply with RFC 2373, section 2.2. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Resource Identifier​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#resource-identifier","content":" Universal resource identifiers will use format uri and comply withRFC 3986. There are other less commonly used formats described in theJSON Schema documentation. warning Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most cases, uuid v4 will be used. When a uuid is used, it shall comply withRFC 4122. The regular expression to be used when specifying uuids will be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize compatibility. info While there is RFC 9562 which extends RFC 4122 by adding in uuid versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when these newer uuid versions are used. ","version":"Next","tagName":"h3"},{"title":"URI Template​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#uri-template","content":" URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters that must be substituted in before the URI may be resolved. This should comply withRFC 6570. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Regular Expression​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#regular-expression","content":" Regular expressions with format regex should comply with theECMA 262 dialect. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Numeric​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#numeric","content":" Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a numbertype in lieu of the integer type for most scenarios that do not require integer level precision. Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum,exclusiveMinimum and exclusiveMaximum. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Object​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#object","content":" Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition. More specific details on what can be done can be found in theJSON Schema documentation. ","version":"Next","tagName":"h2"},{"title":"Array​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#array","content":" Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to provide a looser expectation of what kinds of elements are expected. Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used to describe the boundaries of the array. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Boolean​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#boolean","content":" Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first prior to encoding. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"Null​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#null","content":" Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate to the absence of a value, or undefined. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#references","content":" ","version":"Next","tagName":"h2"},{"title":"Government Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#government-standards","content":" Address Data Standards: Mailing, Delivery and ResidentialDate and Time StandardB.C. Health Information Standards for Date and TimeNaming and Describing ","version":"Next","tagName":"h3"},{"title":"Technical Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#technical-standards","content":" ECMA 262JSON Schema TypesRFC 1123 (Internet Hosts)RFC 2373 (IPv6)RFC 2673 (IPv4)RFC 3339 (Date and Time)RFC 3629 (UTF-8)RFC 3986 (URI)RFC 4122 (UUID v1-5)RFC 5321 (Email/SMTP)RFC 5890 (Internationalized Domain Names)RFC 6531 (Internationalized Email)RFC 6570 (URI Template)RFC 8259 (JSON)RFC 9562 (UUID v6-8) ","version":"Next","tagName":"h3"},{"title":"Errata​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#errata","content":" JSON Schema Version Comparison ","version":"Next","tagName":"h3"},{"title":"Parcel Identifier","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#scope","content":" Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#structure","content":" A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.A Parcel Identifier may contain a legal_description and/or a parcel_name. Name\tCardinality\tType\tDescription & Constraintslegal_description\t0..1\tstring\tThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations. parcel_name\t0..1\tstring\tThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK. pid\t0..*\tinteger\tParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. pin\t0..1\tinteger\tThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#implementation-notes","content":" ","version":"Next","tagName":"h2"},{"title":"Parcel ID (PID)​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#parcel-id-pid","content":" Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes: parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes. Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type. ","version":"Next","tagName":"h3"},{"title":"References​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#references","content":" BC Data CatalogueParcelMap BC - Parcels ","version":"Next","tagName":"h2"},{"title":"Project Bundle","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#scope","content":" This data type is intended to represent a grouping of related permits that are related to a specific activity. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#structure","content":" Name\tCardinality\tType\tDescription & Constraintsproject_id\t1..1\tuuid\tA unique key to track all permits related to a project or activity across all permitting systems. project_name\t1..1\tstring\tShort name of the project. project_description\t0..1\tstring\tFull description of the project. This may contain information to better understand a project. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#references","content":" TBD ","version":"Next","tagName":"h2"}],"options":{"enableHighlight":true,"id":"default"}} \ No newline at end of file diff --git a/pr-preview/pr-4/search-doc.json b/pr-preview/pr-4/search-doc.json new file mode 100644 index 0000000..616cb32 --- /dev/null +++ b/pr-preview/pr-4/search-doc.json @@ -0,0 +1 @@ +{"searchDocs":[{"title":"Congratulations!","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations","content":"","keywords":"","version":"Next"},{"title":"What's next?​","type":1,"pageTitle":"Congratulations!","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulations#whats-next","content":" Read the official documentationModify your site configuration with docusaurus.config.jsAdd navbar and footer items with themeConfigAdd a custom Design and LayoutAdd a search barFind inspirations in the Docusaurus showcaseGet involved in the Docusaurus Community ","version":"Next","tagName":"h2"},{"title":"Tutorial Intro","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro","content":"","keywords":"","version":"Next"},{"title":"Getting Started​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro#getting-started","content":" Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new. ","version":"Next","tagName":"h2"},{"title":"What you'll need​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro#what-youll-need","content":" Node.js version 18.0 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies. ","version":"Next","tagName":"h3"},{"title":"Generate a new site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro#generate-a-new-site","content":" Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus. ","version":"Next","tagName":"h2"},{"title":"Start your site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/intro#start-your-site","content":" Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes. ","version":"Next","tagName":"h2"},{"title":"Create a Blog Post","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post","content":"","keywords":"","version":"Next"},{"title":"Create your first Post​","type":1,"pageTitle":"Create a Blog Post","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_post#create-your-first-post","content":" Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much as you like. A new blog post is now available at http://localhost:3000/blog/greetings. ","version":"Next","tagName":"h2"},{"title":"Create a Page","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page","content":"","keywords":"","version":"Next"},{"title":"Create your first React Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-react-page","content":" Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return ( <Layout> <h1>My React page</h1> <p>This is a React page</p> </Layout> ); } A new page is now available at http://localhost:3000/my-react-page. ","version":"Next","tagName":"h2"},{"title":"Create your first Markdown Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-markdown-page","content":" Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page. ","version":"Next","tagName":"h2"},{"title":"Create a Document","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document","content":"","keywords":"","version":"Next"},{"title":"Create your first Doc​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document#create-your-first-doc","content":" Create a Markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello. ","version":"Next","tagName":"h2"},{"title":"Configure the Sidebar​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_document#configure-the-sidebar","content":" Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js export default { tutorialSidebar: [ 'intro', 'hello', { type: 'category', label: 'Tutorial', items: ['tutorial_basics/create-a-document'] } ] }; ","version":"Next","tagName":"h2"},{"title":"Deploy your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site","content":"","keywords":"","version":"Next"},{"title":"Build your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site#build-your-site","content":" Build your site for production: npm run build The static files are generated in the build folder. ","version":"Next","tagName":"h2"},{"title":"Deploy your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_site#deploy-your-site-1","content":" Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide). ","version":"Next","tagName":"h2"},{"title":"Manage Docs Versions","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions","content":"","keywords":"","version":"Next"},{"title":"Create a docs version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions#create-a-docs-version","content":" Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docscurrent at http://localhost:3000/docs/next/ for the upcoming, unreleased docs ","version":"Next","tagName":"h2"},{"title":"Add a Version Dropdown​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions#add-a-version-dropdown","content":" To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: "docsVersionDropdown", }, ], }, }, }; The docs version dropdown appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Update an existing version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versions#update-an-existing-version","content":" It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hellodocs/hello.md updates http://localhost:3000/docs/next/hello ","version":"Next","tagName":"h2"},{"title":"Translate your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site","content":"","keywords":"","version":"Next"},{"title":"Configure i18n​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#configure-i18n","content":" Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js export default { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, }; ","version":"Next","tagName":"h2"},{"title":"Translate a doc​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#translate-a-doc","content":" Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French. ","version":"Next","tagName":"h2"},{"title":"Start your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#start-your-localized-site","content":" Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. caution In development, you can only use one locale at a time. ","version":"Next","tagName":"h2"},{"title":"Add a Locale Dropdown​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#add-a-locale-dropdown","content":" To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Build your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_site#build-your-localized-site","content":" Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build ","version":"Next","tagName":"h2"},{"title":"Markdown Features","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features","content":"","keywords":"","version":"Next"},{"title":"Front Matter​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#front-matter","content":" Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my_doc_id title: My document title description: My document description slug: /my-custom-url tags: - developer --- ## Markdown heading Markdown text with [links](./hello.md) We recommend that all markdown pages should have at minimum a title, description and tags array defined. An idmay be specified, but can be derived off of the filename when omitted. ","version":"Next","tagName":"h2"},{"title":"Links​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#links","content":" Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create_a_page). Let's see how to [Create a page](./create_a_page.md). Result: Let's see how to Create a page. ","version":"Next","tagName":"h2"},{"title":"Images​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#images","content":" Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them: ![Docusaurus logo](./img/docusaurus.png) ","version":"Next","tagName":"h2"},{"title":"Code Blocks​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#code-blocks","content":" Markdown code blocks are supported with Syntax highlighting. ```jsx title="src/components/HelloDocusaurus.js" function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ``` src/components/HelloDocusaurus.js function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ","version":"Next","tagName":"h2"},{"title":"Admonitions​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#admonitions","content":" Docusaurus has a special syntax to create admonitions and callouts: :::tip[My tip] Use this awesome feature option ::: :::danger[Take care] This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous ","version":"Next","tagName":"h2"},{"title":"Mermaid Graphs​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#mermaid-graphs","content":" Our Docusaurus instance supports diagramming and charting through Mermaid. The following are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, visit their documentation for more details under the Diagram Syntax section on the sidebar. ","version":"Next","tagName":"h2"},{"title":"State Machine​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#state-machine","content":" ```mermaid graph TD A-->B A-->C B-->D C-->D ``` ","version":"Next","tagName":"h3"},{"title":"Flowchart​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#flowchart","content":" ```mermaid graph LR A[PIES] -->|Get spec| B(Stakeholder approval) B --> C{Purpose} B --> G[/Further Analysis/] C ==>|One| D[Document Exchange] C -->|Two| E[Event Alerts] C -->|Three| F[Aggregation] subgraph identification A B end subgraph execution C D E F G end ``` ","version":"Next","tagName":"h3"},{"title":"MDX and React Components​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_features#mdx-and-react-components","content":" MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( <span style={{ backgroundColor: color, borderRadius: '20px', color: '#fff', padding: '10px', cursor: 'pointer', }} onClick={() => { alert(`You clicked the color ${color} with label ${children}`) }}> {children} </span> ); This is <Highlight color="#25c2a0">Docusaurus green</Highlight> ! This is <Highlight color="#1877F2">Facebook blue</Highlight> ! This is Docusaurus green ! This is Facebook blue ! ","version":"Next","tagName":"h2"},{"title":"Getting Started","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started","content":"","keywords":"","version":"Next"},{"title":"Purpose​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#purpose","content":" Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems can't integrate without a common language. This standard specifies the foundational set of core descriptive data types and elements required to enable the compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on permitting. ","version":"Next","tagName":"h2"},{"title":"Objectives​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#objectives","content":" The main objective of PIES is to deliver a published specification to enable better data quality and system interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes across the sector. Make it easier to connect and work with the information in different permitting systems. Reduce the effort and cost of systems integrations and automation.Unlock the ability to provide consistent progress tracking to proponents. Create technical guidelines that help various systems communicate smoothly and consistently.Support different ways for systems to communicate with each other.Unlock potential for evidence-based policy and transformative potential of AI. ","version":"Next","tagName":"h2"},{"title":"Getting Everyone on the Same Page​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#getting-everyone-on-the-same-page","content":" Set up a working group for people interested to contribute and adopt PIES. See MS Teams.Create clear rules for data governance.Develop a common language so everyone understands the same terms.Gather feedback to ensure data is represented accurately and clearly. ","version":"Next","tagName":"h3"},{"title":"Documentation​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#documentation","content":" Share best practices for documenting government data standards.Identify and list common permitting concepts and data types.Create a plan for implementing solutions using transformations and microservices. And of course, PIES are delicious! 😄 ","version":"Next","tagName":"h3"},{"title":"Goals​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#goals","content":" Enable a cross sector view Through appropriate data accessCreates a single point of validated reporting Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement Data qualityData and information consistencyIdentify processing timesData harmonization cross sector level reportingActivity bundling and linkingCoordinated First Nations Consultation Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to achieve interoperability (the ability for the systems to understand the key elements of information they need to share and talk to each other in a common language). An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems into the data standards. ","version":"Next","tagName":"h2"},{"title":"Schemas​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-4/docs/intro/getting_started#schemas","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Code","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code","content":"","keywords":"","version":"Next"},{"title":"Structure​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code#structure","content":" Type: string ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code#specification","content":" SchemaSource Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/code#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Terminology","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology","content":"","keywords":"","version":"Next"},{"title":"Acronyms​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#acronyms","content":" Term\tDefinitionLOB\tLine of Business ","version":"Next","tagName":"h2"},{"title":"Concepts​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#concepts","content":" The following terms outline the main concepts used within this specification and aim to provide a common lexicon for understanding and terminology usage. ","version":"Next","tagName":"h2"},{"title":"Actors​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#actors","content":" This section discusses the various roles that a person, group or an organization may act as within the context of PIES. Term\tDefinitionApplicant\tA person, group or organization seeking an authorization to perform a set of activities. Decision Maker\tA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions. Interested Party\tA person, or group which may be impacted by an authorization decision. Local Government\tA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction. Navigator\tAn established role which focuses on delivering dedicated support to applicants on application submissions. Proponent\tA synonym for an applicant. Referral Agency\tA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application. Subject Matter Expert\tA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy. ","version":"Next","tagName":"h3"},{"title":"Definitions​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#definitions","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within PIES. Term\tDefinition\t???Activity\tA single, specific defined intent of action an area of intent. An activity may require one or more authorizations, e.g., a housing development project. Activity Bundling\tThe act of identifying the set of permits required for a certain activity.\tThis should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship Application\tA submitted form(s) with the intent to obtain or amend an authorization.\tThis might be getting muddled with the concept of a project. Area of Intent\tA set of one or more parcels which define the location(s) an activity is to be performed. Authorization\tThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.\tWe might need to expand this definition over time as this is the formal umbrella term for many things. Caseload\tWork happening with the LOB to facilitate, capture and maintain a permit. Disposition\tThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.\tFirst attempt at defining - needs review Parcel\tA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.\tRephrased from LTSA page Permit\tAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization. Project\tA set of applications required for a permit\tIs this a fancy synonym for an activity bundle? Submission\tThe completed output of a single form as answered by an applicant.\tAdd a note like "Submissions require an adjective declaring their application context"? Workload\tA quantifiable measurement of the number of client-driven applications in the queue.\t The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they interact with specific parts of the process. ","version":"Next","tagName":"h3"},{"title":"Process Tracking​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#process-tracking","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within a process. Term\tDefinition\t???Lifecycle\tRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.\tHighest level concept; answers the "why" Phase\tA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.\tDefines an ordering of related stages. Stage\tA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.\tProvides an ordering of higher level states within a phase of work State\tA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.\tLarger general "where is this at" concept Status\tA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.\tDetailed "what is happening now" concept The following diagram outlines a high level categorization map between all of the process terms and how they relate to each other. ","version":"Next","tagName":"h3"},{"title":"Structure​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-4/docs/intro/terminology#structure","content":" The following terms describe the structural definitions of the specification ordered from specific to general. Term\tDefinitionData Type\tA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date. Identifiers\tIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations. Vocabulary\tA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher." Schema\tA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema. Format\tThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML. API\tAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web. ","version":"Next","tagName":"h2"},{"title":"Formatting","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/formatting","content":"","keywords":"","version":"Next"},{"title":"JSON Schema Primer​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-4/docs/spec/formatting#json-schema-primer","content":" A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for describing expected structures, describing conceptual relationships between related topics and domains A JSON Schema will typically contain the following attributes: $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.$id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.$comment - A free text field for conveying out of band information about the schema. Comments are useful for specification readers and editors to understand further nuances for certain properties and structures, but should not be relied upon for implementation as they may be skipped over or stripped when parsed by machines.title - The intent of the schema. This should be brief and concise.description - A brief description about the schema. This should provide a quick overview for the context of usage.properties - A set of attributes that are expected to show up in this document type.required - An array defining the set of properties that must be present for the document to be considered valid. Anything defined that is not in this array is implied to be optional.type - The type primitive constraint for the property. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-4/docs/spec/formatting#references","content":" Draft 07RFC 8259 (JSON)JSON Schema Version Comparison ","version":"Next","tagName":"h2"},{"title":"Primitive Types","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types","content":"","keywords":"","version":"Next"},{"title":"String​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#string","content":" Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as specified in RFC 3629, which is an extension of the ISO 10646-1standard. Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expressionpattern. In addition, there are commonbuilt-in format types that a string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation for more detail on the available built-in format types. ","version":"Next","tagName":"h2"},{"title":"Date and Time​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#date-and-time","content":" Date and/or time formats shall be represented inRFC 3339, section 5.6 format, also commonly known asISO 8601. Unless otherwise specified, date-time shall be internally stored and represented in a format compatible with unix/epochtime. If the time is specified, such as when either the time or date-time formats are used, the time representations shall be encoded in UTC time. Reference theJSON Schema documentation for more specific examples. warning Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. ","version":"Next","tagName":"h3"},{"title":"Email​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#email","content":" Email addresses with format email shall be represented inRFC 5321, section 4.1.2 format. Emails may also be conveyed in internationalized format idn-email which will be compliant toRFC 6531. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Hostname​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#hostname","content":" Hostnames with format hostname shall be represented inRFC 1123, section 2.1 format. Hostnames may also be conveyed in internationalized format idn-hostname which will be compliant toRFC 5890, section 2.3.2.3. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"IP Address​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#ip-address","content":" IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply withRFC 2673, section 3.2. If IPv6 is used, it shall comply with RFC 2373, section 2.2. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Resource Identifier​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#resource-identifier","content":" Universal resource identifiers will use format uri and comply withRFC 3986. There are other less commonly used formats described in theJSON Schema documentation. warning Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most cases, uuid v4 will be used. When a uuid is used, it shall comply withRFC 4122. The regular expression to be used when specifying uuids will be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize compatibility. info While there is RFC 9562 which extends RFC 4122 by adding in uuid versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when these newer uuid versions are used. ","version":"Next","tagName":"h3"},{"title":"URI Template​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#uri-template","content":" URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters that must be substituted in before the URI may be resolved. This should comply withRFC 6570. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Regular Expression​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#regular-expression","content":" Regular expressions with format regex should comply with theECMA 262 dialect. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Numeric​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#numeric","content":" Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a numbertype in lieu of the integer type for most scenarios that do not require integer level precision. Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum,exclusiveMinimum and exclusiveMaximum. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Object​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#object","content":" Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition. More specific details on what can be done can be found in theJSON Schema documentation. ","version":"Next","tagName":"h2"},{"title":"Array​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#array","content":" Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to provide a looser expectation of what kinds of elements are expected. Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used to describe the boundaries of the array. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Boolean​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#boolean","content":" Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first prior to encoding. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"Null​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#null","content":" Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate to the absence of a value, or undefined. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#references","content":" ","version":"Next","tagName":"h2"},{"title":"Government Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#government-standards","content":" Address Data Standards: Mailing, Delivery and ResidentialDate and Time StandardB.C. Health Information Standards for Date and TimeNaming and Describing ","version":"Next","tagName":"h3"},{"title":"Technical Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#technical-standards","content":" ECMA 262JSON Schema TypesRFC 1123 (Internet Hosts)RFC 2373 (IPv6)RFC 2673 (IPv4)RFC 3339 (Date and Time)RFC 3629 (UTF-8)RFC 3986 (URI)RFC 4122 (UUID v1-5)RFC 5321 (Email/SMTP)RFC 5890 (Internationalized Domain Names)RFC 6531 (Internationalized Email)RFC 6570 (URI Template)RFC 8259 (JSON)RFC 9562 (UUID v6-8) ","version":"Next","tagName":"h3"},{"title":"Errata​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-4/docs/spec/primitive_types#errata","content":" JSON Schema Version Comparison ","version":"Next","tagName":"h3"},{"title":"Parcel Identifier","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#scope","content":" Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#structure","content":" A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.A Parcel Identifier may contain a legal_description and/or a parcel_name. Name\tCardinality\tType\tDescription & Constraintslegal_description\t0..1\tstring\tThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations. parcel_name\t0..1\tstring\tThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK. pid\t0..*\tinteger\tParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. pin\t0..1\tinteger\tThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#implementation-notes","content":" ","version":"Next","tagName":"h2"},{"title":"Parcel ID (PID)​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#parcel-id-pid","content":" Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes: parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes. Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type. ","version":"Next","tagName":"h3"},{"title":"References​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_id#references","content":" BC Data CatalogueParcelMap BC - Parcels ","version":"Next","tagName":"h2"},{"title":"Project Bundle","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#scope","content":" This data type is intended to represent a grouping of related permits that are related to a specific activity. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#structure","content":" Name\tCardinality\tType\tDescription & Constraintsproject_id\t1..1\tuuid\tA unique key to track all permits related to a project or activity across all permitting systems. project_name\t1..1\tstring\tShort name of the project. project_description\t0..1\tstring\tFull description of the project. This may contain information to better understand a project. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundle#references","content":" TBD ","version":"Next","tagName":"h2"}],"options":{"enableHighlight":true,"id":"default"}} \ No newline at end of file diff --git a/pr-preview/pr-4/sitemap.xml b/pr-preview/pr-4/sitemap.xml new file mode 100644 index 0000000..76b4cf3 --- /dev/null +++ b/pr-preview/pr-4/sitemap.xml @@ -0,0 +1 @@ +https://bcgov.github.io/nr-pies/pr-preview/pr-4/markdown-pageweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/tagsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/tags/businessweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/tags/developerweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/tags/executiveweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/category/data-typesweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/category/tutorial---basicsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/category/tutorial---extrasweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/docusaurus/introweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/congratulationsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_blog_postweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_documentweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/create_a_pageweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/deploy_your_siteweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_basics/markdown_featuresweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/manage_docs_versionsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/docusaurus/tutorial_extras/translate_your_siteweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/intro/getting_startedweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/intro/terminologyweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/spec/data/codeweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/spec/data/parcel_idweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/spec/data/project_bundleweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/spec/formattingweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/docs/spec/primitive_typesweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-4/weekly0.5 \ No newline at end of file diff --git a/pr-preview/pr-5/.nojekyll b/pr-preview/pr-5/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/pr-preview/pr-5/404.html b/pr-preview/pr-5/404.html new file mode 100644 index 0000000..e9b14ae --- /dev/null +++ b/pr-preview/pr-5/404.html @@ -0,0 +1 @@ +Page Not Found | Permitting Interoperability Exchange Specification

    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/pr-preview/pr-5/assets/css/styles.83780ff9.css b/pr-preview/pr-5/assets/css/styles.83780ff9.css new file mode 100644 index 0000000..f6d2e64 --- /dev/null +++ b/pr-preview/pr-5/assets/css/styles.83780ff9.css @@ -0,0 +1 @@ +: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-500:var(--ifm-color-gray-500);--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:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--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:.2s;--ifm-transition-slow:.4s;--ifm-transition-timing-default:cubic-bezier(.08,.52,.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--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:.1rem;--ifm-code-padding-vertical:.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:.875rem;--ifm-h6-font-size:.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:.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--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)*.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:.8rem;--ifm-breadcrumb-padding-vertical:.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url("data:image/svg+xml;utf8,");--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:.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-color:var(--ifm-font-color-base-inverse);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:.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:.5rem;--ifm-toc-padding-horizontal:.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:.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:.75rem;--ifm-menu-link-padding-vertical:.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:.75rem;--ifm-navbar-item-padding-vertical:.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-hover-color:var(--ifm-color-primary);--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)*.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:.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*.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:.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}*{box-sizing:border-box}html{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);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{word-wrap:break-word;margin:0}iframe{color-scheme:normal;border:0}.container{max-width:var(--ifm-container-width);padding:0 var(--ifm-spacing-horizontal);width:100%;margin:0 auto}.container--fluid{max-width:inherit}.row{margin:0 calc(var(--ifm-spacing-horizontal)*-1);flex-wrap:wrap;display:flex}.row--no-gutters{margin-left:0;margin-right:0}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;max-width:var(--ifm-col-width);padding:0 var(--ifm-spacing-horizontal);flex:1 0;width:100%;margin-left:0}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:calc(1/12*100%)}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:calc(2/12*100%)}.col--offset-2{margin-left:16.6667%}.col--3{--ifm-col-width:calc(3/12*100%)}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:calc(4/12*100%)}.col--offset-4{margin-left:33.3333%}.col--5{--ifm-col-width:calc(5/12*100%)}.col--offset-5{margin-left:41.6667%}.col--6{--ifm-col-width:calc(6/12*100%)}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:calc(7/12*100%)}.col--offset-7{margin-left:58.3333%}.col--8{--ifm-col-width:calc(8/12*100%)}.col--offset-8{margin-left:66.6667%}.col--9{--ifm-col-width:calc(9/12*100%)}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:calc(10/12*100%)}.col--offset-10{margin-left:83.3333%}.col--11{--ifm-col-width:calc(11/12*100%)}.col--offset-11{margin-left:91.6667%}.col--12{--ifm-col-width:calc(12/12*100%)}.col--offset-12{margin-left:100%}.margin--none{margin:0!important}.margin-top--none{margin-top:0!important}.margin-left--none{margin-left:0!important}.margin-bottom--none{margin-bottom:0!important}.margin-right--none{margin-right:0!important}.margin-vert--none{margin-top:0!important;margin-bottom:0!important}.margin-horiz--none{margin-left:0!important;margin-right:0!important}.margin--xs{margin:.25rem!important}.margin-top--xs{margin-top:.25rem!important}.margin-left--xs{margin-left:.25rem!important}.margin-bottom--xs{margin-bottom:.25rem!important}.margin-right--xs{margin-right:.25rem!important}.margin-vert--xs{margin-top:.25rem!important;margin-bottom:.25rem!important}.margin-horiz--xs{margin-left:.25rem!important;margin-right:.25rem!important}.margin--sm{margin:.5rem!important}.margin-top--sm{margin-top:.5rem!important}.margin-left--sm{margin-left:.5rem!important}.margin-bottom--sm{margin-bottom:.5rem!important}.margin-right--sm{margin-right:.5rem!important}.margin-vert--sm{margin-top:.5rem!important;margin-bottom:.5rem!important}.margin-horiz--sm{margin-left:.5rem!important;margin-right:.5rem!important}.margin--md{margin:1rem!important}.margin-top--md{margin-top:1rem!important}.margin-left--md{margin-left:1rem!important}.margin-bottom--md{margin-bottom:1rem!important}.margin-right--md{margin-right:1rem!important}.margin-vert--md{margin-top:1rem!important;margin-bottom:1rem!important}.margin-horiz--md{margin-left:1rem!important;margin-right:1rem!important}.margin--lg{margin:2rem!important}.margin-top--lg{margin-top:2rem!important}.margin-left--lg{margin-left:2rem!important}.margin-bottom--lg{margin-bottom:2rem!important}.margin-right--lg{margin-right:2rem!important}.margin-vert--lg{margin-top:2rem!important;margin-bottom:2rem!important}.margin-horiz--lg{margin-left:2rem!important;margin-right:2rem!important}.margin--xl{margin:5rem!important}.margin-top--xl{margin-top:5rem!important}.margin-left--xl{margin-left:5rem!important}.margin-bottom--xl{margin-bottom:5rem!important}.margin-right--xl{margin-right:5rem!important}.margin-vert--xl{margin-top:5rem!important;margin-bottom:5rem!important}.margin-horiz--xl{margin-left:5rem!important;margin-right:5rem!important}.padding--none{padding:0!important}.padding-top--none{padding-top:0!important}.padding-left--none{padding-left:0!important}.padding-bottom--none{padding-bottom:0!important}.padding-right--none{padding-right:0!important}.padding-vert--none{padding-top:0!important;padding-bottom:0!important}.padding-horiz--none{padding-left:0!important;padding-right:0!important}.padding--xs{padding:.25rem!important}.padding-top--xs{padding-top:.25rem!important}.padding-left--xs{padding-left:.25rem!important}.padding-bottom--xs{padding-bottom:.25rem!important}.padding-right--xs{padding-right:.25rem!important}.padding-vert--xs{padding-top:.25rem!important;padding-bottom:.25rem!important}.padding-horiz--xs{padding-left:.25rem!important;padding-right:.25rem!important}.padding--sm{padding:.5rem!important}.padding-top--sm{padding-top:.5rem!important}.padding-left--sm{padding-left:.5rem!important}.padding-bottom--sm{padding-bottom:.5rem!important}.padding-right--sm{padding-right:.5rem!important}.padding-vert--sm{padding-top:.5rem!important;padding-bottom:.5rem!important}.padding-horiz--sm{padding-left:.5rem!important;padding-right:.5rem!important}.padding--md{padding:1rem!important}.padding-top--md{padding-top:1rem!important}.padding-left--md{padding-left:1rem!important}.padding-bottom--md{padding-bottom:1rem!important}.padding-right--md{padding-right:1rem!important}.padding-vert--md{padding-top:1rem!important;padding-bottom:1rem!important}.padding-horiz--md{padding-left:1rem!important;padding-right:1rem!important}.padding--lg{padding:2rem!important}.padding-top--lg{padding-top:2rem!important}.padding-left--lg{padding-left:2rem!important}.padding-bottom--lg{padding-bottom:2rem!important}.padding-right--lg{padding-right:2rem!important}.padding-vert--lg{padding-top:2rem!important;padding-bottom:2rem!important}.padding-horiz--lg{padding-left:2rem!important;padding-right:2rem!important}.padding--xl{padding:5rem!important}.padding-top--xl{padding-top:5rem!important}.padding-left--xl{padding-left:5rem!important}.padding-bottom--xl{padding-bottom:5rem!important}.padding-right--xl{padding-right:5rem!important}.padding-vert--xl{padding-top:5rem!important;padding-bottom:5rem!important}.padding-horiz--xl{padding-left:5rem!important;padding-right:5rem!important}code{background-color:var(--ifm-code-background);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);vertical-align:middle;border:.1rem solid rgba(0,0,0,.1)}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);margin:0 0 var(--ifm-spacing-vertical);padding:var(--ifm-pre-padding);overflow:auto}pre code{font-size:100%;line-height:inherit;background-color:transparent;border:none;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);border-radius:.2rem;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)}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:before{content:"";display:table}.markdown:after{clear:both;content:"";display:table}.markdown>:last-child{margin-bottom:0!important}.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-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>pre,.markdown>ul,.markdown>p{margin-bottom:var(--ifm-leading)}.markdown li{word-wrap:break-word}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ul,ol{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ul ul,ul ol,ol ol,ol ul{margin:0}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type:lower-alpha}table{border-collapse:collapse;margin-bottom:var(--ifm-spacing-vertical);display:block;overflow:auto}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead{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 tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table th,table td{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);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default)}a:hover{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}a:not([href]){-webkit-text-decoration:none;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);margin:0 0 var(--ifm-spacing-vertical);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);height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical)0;border: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{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}.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{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text--break{word-wrap:break-word!important;word-break:break-word!important}.text--no-decoration,.text--no-decoration:hover{-webkit-text-decoration:none;text-decoration:none}.clean-btn{color:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit}.clean-list{padding-left:0;list-style:none}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--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:rgba(235,237,240,.15);--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:rgba(0,164,0,.15);--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:rgba(84,199,236,.15);--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:rgba(255,186,0,.15);--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:rgba(250,56,62,.15);--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);color:var(--ifm-alert-foreground-color);padding:var(--ifm-alert-padding-vertical)var(--ifm-alert-padding-horizontal)}.alert__heading{font:bold var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase;align-items:center;margin-bottom:.5rem;display:flex}.alert__icon{margin-right:.4em;display:inline-flex}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{color:var(--ifm-alert-foreground-color);margin:calc(var(--ifm-alert-padding-vertical)*-1)calc(var(--ifm-alert-padding-horizontal)*-1)0 0;opacity:.75}.alert .close:hover,.alert .close:focus{opacity:1}.alert a{-webkit-text-decoration-color:var(--ifm-alert-border-color);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{height:var(--ifm-avatar-photo-size);width:var(--ifm-avatar-photo-size);border-radius:50%;display:block;overflow:hidden}.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{text-align:var(--ifm-avatar-intro-alignment);flex-direction:column;flex:1;justify-content:center;display:flex}.avatar__name{font:bold 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:.5rem;flex-direction:column;align-items:center}.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);padding:var(--ifm-badge-padding-vertical)var(--ifm-badge-padding-horizontal);line-height:1;display:inline-block}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);--ifm-badge-border-color:var(--ifm-badge-background-color);color:var(--ifm-color-black)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger);--ifm-badge-border-color:var(--ifm-badge-background-color)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item{display:inline-block}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator)center;content:" ";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));display:inline-block}.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);color:var(--ifm-font-color-base);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-property:background,color;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);display:inline-block}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:.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);color:var(--ifm-button-color);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);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;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;transition-property:color,background,border-color;transition-duration:var(--ifm-button-transition-duration);transition-timing-function:var(--ifm-transition-timing-default);line-height:1.5;display:inline-block}.button:hover{color:var(--ifm-button-color);-webkit-text-decoration:none;text-decoration:none}.button--outline{--ifm-button-background-color:transparent;--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--outline:hover,.button--outline:active,.button--outline.button--active{--ifm-button-color:var(--ifm-font-color-base-inverse)}.button--link{--ifm-button-background-color:transparent;--ifm-button-border-color:transparent;color:var(--ifm-link-color);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration)}.button--link:hover,.button--link:active,.button--link.button--active{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{width:100%;display:block}.button.button--secondary{color:var(--ifm-color-gray-900)}.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}: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:active,.button--primary.button--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:active,.button--secondary.button--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:active,.button--success.button--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:active,.button--info.button--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:active,.button--warning.button--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:active,.button--danger.button--active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{gap:var(--ifm-button-group-spacing);display:inline-flex}.button-group>.button:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.button-group>.button:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.button-group--block{justify-content:stretch;display:flex}.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);flex-direction:column;display:flex;overflow:hidden}.card--full-height{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__header,.card__body,.card__footer{padding:var(--ifm-card-vertical-spacing)var(--ifm-card-horizontal-spacing)}.card__header:not(:last-child),.card__body:not(:last-child),.card__footer:not(:last-child){padding-bottom:0}.card__header>:last-child,.card__body>:last-child,.card__footer>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{padding:var(--ifm-toc-padding-vertical)0;margin-bottom:0;font-size:.8rem}.table-of-contents,.table-of-contents ul{padding-left:var(--ifm-toc-padding-horizontal);list-style:none}.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:hover,.table-of-contents__link:hover code,.table-of-contents__link--active,.table-of-contents__link--active code{color:var(--ifm-color-primary);-webkit-text-decoration:none;text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default);padding:1rem;line-height:1}.close:hover{opacity:.7}.close:focus{opacity:.8}.dropdown{font-weight:var(--ifm-dropdown-font-weight);vertical-align:top;display:inline-flex;position:relative}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;visibility:visible;transform:translateY(-1px)}.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);opacity:0;pointer-events:none;min-width:10rem;max-height:80vh;left:0;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);visibility:hidden;z-index:var(--ifm-z-index-dropdown);transition-property:opacity,transform,visibility;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);padding:.5rem;list-style:none;position:absolute;overflow-y:auto;transform:translateY(-.625rem)}.dropdown__link{color:var(--ifm-dropdown-link-color);white-space:nowrap;border-radius:.25rem;margin-top:.2rem;padding:.25rem .5rem;font-size:.875rem;display:block}.dropdown__link:hover,.dropdown__link--active{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);-webkit-text-decoration:none;text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{content:"";border:.4em solid transparent;border-top-color:currentColor;border-bottom:0 solid;margin-left:.3em;display:inline-block;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{max-width:var(--ifm-footer-logo-max-width);margin-top:1rem}.footer__title{color:var(--ifm-footer-title-color);font:bold var(--ifm-h4-font-size)/var(--ifm-heading-line-height)var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.footer__item{margin-top:0}.footer__items{margin-bottom:0}[type=checkbox]{padding:0}.hero{background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);align-items:center;padding:4rem 2rem;display:flex}.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{font-weight:var(--ifm-font-weight-semibold);overflow-x:hidden}.menu__list{margin:0;padding-left:0;list-style:none}.menu__list .menu__list{padding-left:var(--ifm-menu-link-padding-horizontal);flex:0 0 100%;margin-top:.25rem}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.menu__list-item--collapsed .menu__link--sublist:after,.menu__list-item--collapsed .menu__caret:before{transform:rotate(90deg)}.menu__list-item-collapsible{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;flex-wrap:wrap;display:flex;position:relative}.menu__list-item-collapsible:hover,.menu__list-item-collapsible--active{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link:hover,.menu__list-item-collapsible .menu__link--active{background:0 0!important}.menu__link,.menu__caret{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;align-items:center;display:flex}.menu__link:hover,.menu__caret:hover{background:var(--ifm-menu-color-background-hover)}.menu__link{color:var(--ifm-menu-color);padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default);-webkit-text-decoration:none;text-decoration:none}.menu__link--sublist-caret:after{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;min-width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast)linear;margin-left:auto;transform:rotate(180deg)}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret{padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal)}.menu__caret:before{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast)linear;transform:rotate(180deg)}html[data-theme=dark],.navbar--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);display:flex}.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{z-index:var(--ifm-z-index-fixed);position:sticky;top:0}.navbar__inner{flex-wrap:wrap;justify-content:space-between;width:100%;display:flex}.navbar__brand{color:var(--ifm-navbar-link-color);align-items:center;min-width:0;margin-right:1rem;display:flex}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);-webkit-text-decoration:none;text-decoration:none}.navbar__title{flex:auto}.navbar__toggle{margin-right:.5rem;display:none}.navbar__logo{flex:none;height:2rem;margin-right:.5rem}.navbar__logo img{height:100%}.navbar__items{flex:1;align-items:center;min-width:0;display:flex}.navbar__items--center{flex:none}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:none;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{padding:var(--ifm-navbar-item-padding-vertical)var(--ifm-navbar-item-padding-horizontal);display:inline-block}.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link{color:var(--ifm-navbar-link-color);font-weight:var(--ifm-font-weight-semibold)}.navbar__link:hover,.navbar__link--active{color:var(--ifm-navbar-link-hover-color);-webkit-text-decoration:none;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:rgba(255,255,255,.1);--ifm-navbar-search-input-placeholder-color:rgba(255,255,255,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-navbar-link-hover-color:var(--ifm-color-primary);--ifm-menu-color-background-active:rgba(255,255,255,.05);--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;color:var(--ifm-navbar-search-input-color);cursor:text;border:none;border-radius:2rem;width:12.5rem;height:2rem;padding:0 .5rem 0 2.25rem;font-size:1rem;display:inline-block}.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);opacity:0;visibility:hidden;width:var(--ifm-navbar-sidebar-width);transition-property:opacity,visibility,transform;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;position:fixed;top:0;bottom:0;left:0;overflow-x:hidden;transform:translate(-100%)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{transform:translate(0,0)}.navbar-sidebar__backdrop{opacity:0;visibility:hidden;transition-property:opacity,visibility;transition-duration:var(--ifm-transition-fast);background-color:rgba(0,0,0,.6);transition-timing-function:ease-in-out;position:fixed;inset:0}.navbar-sidebar__brand{box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical)var(--ifm-navbar-padding-horizontal);flex:1;align-items:center;display:flex}.navbar-sidebar__items{height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast)ease-in-out;display:flex;transform:translateZ(0)}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{width:calc(var(--ifm-navbar-sidebar-width));flex-shrink:0;padding:.5rem}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);text-align:left;width:calc(100% + 1rem);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;top:-.5rem}.navbar-sidebar__close{margin-left:auto;display:flex}.pagination{column-gap:var(--ifm-pagination-page-spacing);font-size:var(--ifm-pagination-font-size);padding-left:0;display:flex}.pagination--sm{--ifm-pagination-font-size:.8rem;--ifm-pagination-padding-horizontal:.8rem;--ifm-pagination-padding-vertical:.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{background:var(--ifm-pagination-item-active-background);color:var(--ifm-pagination-color-active)}.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);padding:var(--ifm-pagination-padding-vertical)var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);display:inline-block}.pagination__link:hover{-webkit-text-decoration:none;text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr);display:grid}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);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);display:block}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);-webkit-text-decoration:none;text-decoration:none}.pagination-nav__link--next{text-align:right;grid-column:2/3}.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{gap:var(--ifm-pills-spacing);padding-left:0;display:flex}.pills__item{cursor:pointer;font-weight:var(--ifm-font-weight-bold);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.5rem;padding:.25rem 1rem;display:inline-block}.pills__item--active{background:var(--ifm-pills-color-background-active);color:var(--ifm-pills-color-active)}.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{text-align:center;flex-grow:1}.tabs{color:var(--ifm-tabs-color);font-weight:var(--ifm-font-weight-bold);margin-bottom:0;padding-left:0;display:flex;overflow-x:auto}.tabs__item{border-radius:var(--ifm-global-radius);cursor:pointer;padding:var(--ifm-tabs-padding-vertical)var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-bottom:3px solid transparent;display:inline-flex}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);color:var(--ifm-tabs-color-active);border-bottom-right-radius:0;border-bottom-left-radius:0}.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-500:var(--ifm-color-gray-500);--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:rgba(255,255,255,.05);--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:rgba(255,255,255,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:rgba(255,255,255,.07);--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}@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}.footer__link-separator{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{width:max-content;display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__item{display:none}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}}@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 (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 (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0s;--ifm-transition-slow:0s}}@media print{.table-of-contents,.footer,.menu,.navbar,.pagination-nav{display:none}.tabs{page-break-inside:avoid}}:root{--docusaurus-progress-bar-color:var(--ifm-color-primary)}#nprogress{pointer-events:none}#nprogress .bar{background:var(--docusaurus-progress-bar-color);z-index:1031;width:100%;height:2px;position:fixed;top:0;left:0}#nprogress .peg{width:100px;height:100%;box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);opacity:1;position:absolute;right:0;transform:rotate(3deg)translateY(-4px)}:root{--bc-blue-10:#f1f8fe;--bc-blue-20:#d8eafd;--bc-blue-30:#c1ddfc;--bc-blue-40:#a8d0fb;--bc-blue-50:#91c4fa;--bc-blue-60:#7ab8f9;--bc-blue-70:#5595d9;--bc-blue-80:#3470b1;--bc-blue-90:#1e5189;--bc-blue-100:#013366;--bc-gold-10:#fef8e8;--bc-gold-20:#fef0d8;--bc-gold-30:#fde9c4;--bc-gold-40:#fce2b0;--bc-gold-50:#fbda9d;--bc-gold-60:#fbd389;--bc-gold-70:#facc75;--bc-gold-80:#f9c462;--bc-gold-90:#f8ba47;--bc-gold-100:#fcba19;--bc-gray-10:#faf9f8;--bc-gray-20:#f3f2f1;--bc-gray-30:#eceae8;--bc-gray-40:#e0dedc;--bc-gray-50:#d1cfcd;--bc-gray-60:#c6c5c3;--bc-gray-70:#9f9d9c;--bc-gray-80:#605e5c;--bc-gray-90:#3d3c3b;--bc-gray-100:#353433;--bc-gray-110:#252423;--bc-gray-white:#fff;--bc-primary-blue:var(--bc-blue-100);--bc-primary-gold:var(--bc-gold-100);--bc-primary-invert:var(--bc-gray-white);--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.1);--ifm-code-font-size:95%;--ifm-color-primary-dark:var(--bc-blue-80);--ifm-color-primary-darker:var(--bc-blue-90);--ifm-color-primary-darkest:var(--bc-blue-100);--ifm-color-primary-light:var(--bc-blue-60);--ifm-color-primary-lighter:var(--bc-blue-50);--ifm-color-primary-lightest:var(--bc-blue-40);--ifm-color-primary:var(--bc-blue-70);--ifm-font-family-base:BC Sans,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-footer-background-color:var(--bc-primary-invert);--ifm-footer-padding-vertical:1rem;--ifm-line-height-base:1.5;--ifm-table-cell-padding:.6rem}a:has(.footer-logo-license){opacity:.9}footer{border-top:.063rem solid var(--bc-gray-50)}.header-github-logo:hover{opacity:.6}.header-github-logo:before{content:"";background:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat;width:1.5rem;height:1.5rem;display:flex}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary-dark)}:root[data-theme=dark]{--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.3);--ifm-breadcrumb-color-active:var(--bc-gold-40);--ifm-color-primary-dark:var(--bc-blue-50);--ifm-color-primary-darker:var(--bc-blue-60);--ifm-color-primary-darkest:var(--bc-blue-70);--ifm-color-primary-light:var(--bc-blue-30);--ifm-color-primary-lighter:var(--bc-blue-20);--ifm-color-primary-lightest:var(--bc-blue-10);--ifm-color-primary:var(--bc-blue-40);--ifm-footer-background-color:var(--bc-primary-blue);--ifm-link-color:var(--bc-gold-40);--ifm-menu-color-active:var(--bc-gold-40);--ifm-navbar-background-color:var(--bc-primary-blue);--ifm-navbar-link-hover-color:var(--bc-gold-40)}[data-theme=dark] footer{border-top:.063rem solid var(--bc-primary-gold)}[data-theme=dark] .header-github-logo:before{background:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat}[data-theme=dark] .navbar{border-bottom:.063rem solid var(--bc-primary-gold)}[data-theme=dark] .table-of-contents__link:hover,[data-theme=dark] .table-of-contents__link--active{color:var(--bc-gold-40)}body:not(.navigation-with-keyboard) :not(input):focus{outline:none}#__docusaurus-base-url-issue-banner-container{display:none}.skipToContent_fXgn{z-index:calc(var(--ifm-z-index-fixed) + 1);padding:calc(var(--ifm-global-spacing)/2)var(--ifm-global-spacing);color:var(--ifm-color-emphasis-900);background-color:var(--ifm-background-surface-color);position:fixed;top:1rem;left:100%}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{padding:0;line-height:0}.content_knG7{text-align:center;padding:5px 0;font-size:85%}.content_knG7 a{color:inherit;-webkit-text-decoration:underline;text-decoration:underline}:root{--docusaurus-announcement-bar-height:auto}.announcementBar_mb4j{height:var(--docusaurus-announcement-bar-height);background-color:var(--ifm-color-white);color:var(--ifm-color-black);border-bottom:1px solid var(--ifm-color-emphasis-100);align-items:center;display:flex}html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{flex:0 0 30px;align-self:stretch}.announcementBarContent_xLdY{flex:auto}@media print{.announcementBar_mb4j{display:none}}@media (min-width:997px){:root{--docusaurus-announcement-bar-height:30px}.announcementBarPlaceholder_vyr4,.announcementBarClose_gvF7{flex-basis:50px}}.toggle_vylO{width:2rem;height:2rem}.toggleButton_gllP{-webkit-tap-highlight-color:transparent;width:100%;height:100%;transition:background var(--ifm-transition-fast);border-radius:50%;justify-content:center;align-items:center;display:flex}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}[data-theme=light] .darkToggleIcon_wfgR,[data-theme=dark] .lightToggleIcon_pyhR{display:none}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}.themedComponent_mlkZ{display:none}[data-theme=light] .themedComponent--light_NVdE,[data-theme=dark] .themedComponent--dark_xIcU,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.dropdownNavbarItemMobile_S0Fm{cursor:pointer}.iconLanguage_nlXk{vertical-align:text-bottom;margin-right:5px}.navbarSearchContainer_Bca1:empty{display:none}@media (max-width:996px){.navbarSearchContainer_Bca1{right:var(--ifm-navbar-padding-horizontal);position:absolute}}@media (min-width:997px){.navbarSearchContainer_Bca1{padding:var(--ifm-navbar-item-padding-vertical)var(--ifm-navbar-item-padding-horizontal)}}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast)ease}.navbarHidden_jGov{transform:translateY(calc(-100% - 2px))}@media (max-width:996px){.colorModeToggle_DEke{display:none}}.errorBoundaryError_a6uf{white-space:pre-wrap;color:red}.errorBoundaryFallback_VBag{color:red;padding:.55rem}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover{opacity:1}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none;padding-left:.5rem}.hash-link:before{content:"#"}.hash-link:focus,:hover>.hash-link{opacity:1}html,body{height:100%}.mainWrapper_z2l0{flex-direction:column;flex:1 0 auto;display:flex}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{flex-direction:column;min-height:100%;display:flex}.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);transition:all var(--ifm-transition-fast)ease;transition-property:border,box-shadow;box-shadow:0 1.5px 3px rgba(0,0,0,.15)}.cardContainer_fWXF:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px rgba(0,0,0,.2)}.cardContainer_fWXF :last-child{margin-bottom:0}.cardTitle_rnsV{font-size:1.2rem}.cardDescription_PWke{font-size:.8rem}:root{--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.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);-webkit-text-decoration:none;text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);padding:.2rem .5rem .3rem;font-size:90%}.tagWithCount_h2kH{border-left:0;align-items:center;padding:0 .5rem 0 1rem;display:flex;position:relative}.tagWithCount_h2kH:before,.tagWithCount_h2kH:after{content:"";border:1px solid var(--docusaurus-tag-list-border);transition:inherit;position:absolute;top:50%}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;width:1.18rem;height:1.18rem;right:100%;transform:translate(50%,-50%)rotate(-45deg)}.tagWithCount_h2kH:after{border-radius:50%;width:.5rem;height:.5rem;left:0;transform:translateY(-50%)}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);color:var(--ifm-color-black);border-radius:var(--ifm-global-radius);margin-left:.3rem;padding:.1rem .4rem;font-size:.7rem;line-height:1.2}.tags_jXut{display:inline}.tag_QGVx{margin:0 .4rem .5rem 0;display:inline-block}.features_t9lD{align-items:center;width:100%;padding:2rem 0;display:flex}.featureSvg_GfXr{width:200px;height:200px}.heroBanner_qdFl{text-align:center;padding:4rem 0;position:relative;overflow:hidden}@media screen and (max-width:996px){.heroBanner_qdFl{padding:2rem}}.buttons_AeoN{justify-content:center;align-items:center;display:flex}.tag_Nnez{margin:.5rem .5rem 0 1rem;display:inline-block}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);width:3rem;height:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1);box-shadow:var(--ifm-global-shadow-lw);transition:all var(--ifm-transition-fast)var(--ifm-transition-timing-default);opacity:0;visibility:hidden;border-radius:50%;position:fixed;bottom:1.3rem;right:1.3rem;transform:scale(0)}.backToTopButton_sjWU:after{content:" ";-webkit-mask:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem no-repeat;-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;background-color:var(--ifm-color-emphasis-1000);width:100%;height:100%;display:inline-block}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}.backToTopButtonShow_xfvO{opacity:1;visibility:visible;transform:scale(1)}:root{--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1)}[data-theme=dark]:root{--docusaurus-collapse-button-bg:rgba(255,255,255,.05);--docusaurus-collapse-button-bg-hover:rgba(255,255,255,.1)}@media (min-width:997px){.collapseSidebarButton_PEFL{background-color:var(--docusaurus-collapse-button-bg);border:1px solid var(--ifm-toc-border-color);border-radius:0;height:40px;position:sticky;bottom:0;display:block!important}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:hover,.collapseSidebarButton_PEFL:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}}.collapseSidebarButton_PEFL{margin:0;display:none}.menuExternalLink_NmtK{align-items:center}@media (min-width:997px){.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{scrollbar-gutter:stable;padding:.5rem 0 .5rem .5rem}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width);flex-direction:column;display:flex}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{margin:0 var(--ifm-navbar-padding-horizontal);min-height:var(--ifm-navbar-height);max-height:var(--ifm-navbar-height);align-items:center;color:inherit!important;-webkit-text-decoration:none!important;text-decoration:none!important;display:flex!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}}.sidebarLogo_isFc{display:none}@media (min-width:997px){.expandButton_TmdG{width:100%;height:100%;transition:background-color var(--ifm-transition-fast)ease;background-color:var(--docusaurus-collapse-button-bg);justify-content:center;align-items:center;display:flex;position:absolute;top:0;right:0}.expandButton_TmdG:hover,.expandButton_TmdG:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}.expandButtonIcon_i1dp{transform:rotate(0)}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}}:root{--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.docSidebarContainer_YfHR{display:none}@media (min-width:997px){.docSidebarContainer_YfHR{width:var(--doc-sidebar-width);margin-top:calc(-1*var(--ifm-navbar-height));border-right:1px solid var(--ifm-toc-border-color);will-change:width;transition:width var(--ifm-transition-fast)ease;clip-path:inset(0);display:block}.docSidebarContainerHidden_DPk8{width:var(--doc-sidebar-hidden-width);cursor:pointer}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}}.docMainContainer_TBSr{width:100%;display:flex}@media (min-width:997px){.docMainContainer_TBSr{max-width:calc(100% - var(--doc-sidebar-width));flex-grow:1}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}.docRoot_UBD9{width:100%;display:flex}.docsWrapper_hBAB{flex:1 0 auto;display:flex}.algolia-docsearch-suggestion{border-bottom-color:#3a3dd1}.algolia-docsearch-suggestion--category-header{background-color:#4b54de}.algolia-docsearch-suggestion--highlight{color:#3a33d1}.algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight{background-color:#4d47d5}.aa-cursor .algolia-docsearch-suggestion--content{color:#272296}.aa-cursor .algolia-docsearch-suggestion{background:#ebebfb}@media (min-width:768px){.algolia-docsearch-suggestion{border-bottom-color:#7671df}.algolia-docsearch-suggestion--subcategory-column{color:#4e4726;border-right-color:#7671df}}.searchbox{white-space:nowrap;box-sizing:border-box;width:200px;display:inline-block;position:relative;visibility:visible!important;height:32px!important}.searchbox .algolia-autocomplete{width:100%;height:100%;display:block}.searchbox__wrapper{z-index:999;width:100%;height:100%;position:relative}.searchbox__input{box-sizing:border-box;vertical-align:middle;white-space:normal;appearance:none;border:0;border-radius:16px;width:100%;height:100%;padding:0 26px 0 32px;font-size:12px;transition:box-shadow .4s,background .4s;display:inline-block;box-shadow:inset 0 0 0 1px #ccc;background:#fff!important}.searchbox__input::-webkit-search-decoration{display:none}.searchbox__input::-webkit-search-cancel-button{display:none}.searchbox__input::-webkit-search-results-button{display:none}.searchbox__input::-webkit-search-results-decoration{display:none}.searchbox__input:hover{box-shadow:inset 0 0 0 1px #b3b3b3}.searchbox__input:focus,.searchbox__input:active{background:#fff;outline:0;box-shadow:inset 0 0 0 1px #aaa}.searchbox__input::placeholder{color:#aaa}.searchbox__submit{vertical-align:middle;text-align:center;width:32px;height:100%;font-size:inherit;-webkit-user-select:none;user-select:none;top:0;right:inherit;background-color:rgba(69,142,225,0);border:0;border-radius:16px 0 0 16px;margin:0;padding:0;position:absolute;left:0}.searchbox__submit:before{vertical-align:middle;content:"";height:100%;margin-right:-4px;display:inline-block}.searchbox__submit:hover,.searchbox__submit:active{cursor:pointer}.searchbox__submit:focus{outline:0}.searchbox__submit svg{vertical-align:middle;fill:#6d7e96;width:14px;height:14px}.searchbox__reset{cursor:pointer;font-size:inherit;-webkit-user-select:none;user-select:none;fill:rgba(0,0,0,.5);background:0 0;border:0;margin:0;padding:0;display:block;position:absolute;top:8px;right:8px}.searchbox__reset.hide{display:none}.searchbox__reset:focus{outline:0}.searchbox__reset svg{width:8px;height:8px;margin:4px;display:block}.searchbox__input:valid~.searchbox__reset{animation-name:sbx-reset-in;animation-duration:.15s;display:block}@keyframes sbx-reset-in{0%{opacity:0;transform:translate(-20%)}to{opacity:1;transform:none}}.algolia-autocomplete .ds-dropdown-menu:before{content:"";z-index:1000;background:#373940;border-top:1px solid #373940;border-right:1px solid #373940;border-radius:2px;width:14px;height:14px;display:block;position:absolute;top:-7px;transform:rotate(-45deg)}.algolia-autocomplete .ds-dropdown-menu{box-shadow:0 1px rgba(0,0,0,.2),0 2px 3px rgba(0,0,0,.1)}@media (min-width:601px){.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu{right:0!important;left:inherit!important}.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu:before{right:48px}.algolia-autocomplete .ds-dropdown-menu{text-align:left;z-index:999;background:0 0;border:none;border-radius:4px;min-width:500px;max-width:600px;height:auto;margin:6px 0 0;padding:0;position:relative;top:-6px}}@media (max-width:600px){.algolia-autocomplete .ds-dropdown-menu{z-index:100;width:600px;max-width:calc(100% - 2rem);max-height:calc(100% - 5rem);display:block;position:fixed!important;top:50px!important;left:auto!important;right:1rem!important}.algolia-autocomplete .ds-dropdown-menu:before{right:6rem}}.algolia-autocomplete .ds-dropdown-menu .ds-suggestions{z-index:1000;position:relative}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion{cursor:pointer}.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-]{background:#fff;border-radius:4px;padding:0;position:relative;overflow:auto}.algolia-autocomplete .ds-dropdown-menu *{box-sizing:border-box}.algolia-autocomplete .algolia-docsearch-suggestion{padding:0;-webkit-text-decoration:none;text-decoration:none;display:block;position:relative;overflow:hidden}.algolia-autocomplete .ds-cursor .algolia-docsearch-suggestion--wrapper{background:#f1f1f1;box-shadow:inset -2px 0 #61dafb}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{background:#ffe564;padding:.1em .05em}.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl0 .algolia-docsearch-suggestion--highlight,.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl1 .algolia-docsearch-suggestion--highlight{color:inherit;background:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{background:inherit;color:inherit;padding:0 0 1px;box-shadow:inset 0 -2px rgba(69,142,225,.8)}.algolia-autocomplete .algolia-docsearch-suggestion--content{float:right;cursor:pointer;width:70%;padding:5.33333px 0 5.33333px 10.6667px;display:block;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion--content:before{content:"";background:#ececec;width:1px;height:100%;display:block;position:absolute;top:0;left:-1px}.algolia-autocomplete .algolia-docsearch-suggestion--category-header{letter-spacing:.08em;text-transform:uppercase;color:#fff;background-color:#373940;margin:0;padding:5px 8px;font-size:14px;font-weight:700;display:none;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion--wrapper{float:left;background-color:#fff;width:100%;padding:8px 0 0}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{float:left;text-align:right;color:#777;word-wrap:break-word;width:30%;padding:5.33333px 10.6667px;font-size:.9em;display:none;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column:before{content:"";background:#ececec;width:1px;height:100%;display:block;position:absolute;top:0;right:0}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header,.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary{display:block}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight{background-color:inherit;color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--title{color:#02060c;margin-bottom:4px;font-size:.9em;font-weight:700}.algolia-autocomplete .algolia-docsearch-suggestion--text{color:#63676d;padding-right:2px;font-size:.85em;line-height:1.2em;display:block}.algolia-autocomplete .algolia-docsearch-suggestion--version{color:#a6aab1;padding-top:2px;padding-right:2px;font-size:.65em;display:block}.algolia-autocomplete .algolia-docsearch-suggestion--no-results{text-align:center;background-color:#373940;width:100%;margin-top:-8px;padding:8px 0;font-size:1.2em}.algolia-autocomplete .algolia-docsearch-suggestion--no-results .algolia-docsearch-suggestion--text{color:#fff;margin-top:4px}.algolia-autocomplete .algolia-docsearch-suggestion--no-results:before{display:none}.algolia-autocomplete .algolia-docsearch-suggestion code{color:#222;background-color:#ebebeb;border:none;border-radius:3px;padding:1px 5px;font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:90%}.algolia-autocomplete .algolia-docsearch-suggestion code .algolia-docsearch-suggestion--highlight{background:0 0}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header{color:#fff;display:block}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--subcategory-column{display:block}.algolia-autocomplete .algolia-docsearch-footer{z-index:2000;float:right;background-color:#fff;width:100%;height:30px;font-size:0;line-height:0}.algolia-autocomplete .algolia-docsearch-footer--logo{text-indent:-9000px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 18'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='-36.87%25' x2='129.43%25' y1='134.94%25' y2='-27.7%25'%3E%3Cstop stop-color='%252300AEFF' offset='0%25'/%3E%3Cstop stop-color='%25233369E7' offset='100%25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='url(%2523a)' d='M59.4.02h13.3a2.37 2.37 0 0 1 2.38 2.37V15.6a2.37 2.37 0 0 1-2.38 2.36H59.4a2.37 2.37 0 0 1-2.38-2.36V2.38A2.37 2.37 0 0 1 59.4.02z'/%3E%3Cpath fill='%2523FFF' d='M66.26 4.56c-2.82 0-5.1 2.27-5.1 5.08 0 2.8 2.28 5.07 5.1 5.07 2.8 0 5.1-2.26 5.1-5.07 0-2.8-2.28-5.07-5.1-5.07zm0 8.65c-2 0-3.6-1.6-3.6-3.56 0-1.97 1.6-3.58 3.6-3.58 1.98 0 3.6 1.6 3.6 3.58a3.58 3.58 0 0 1-3.6 3.57zm0-6.4v2.66c0 .07.08.13.15.1l2.4-1.24c.04-.02.06-.1.03-.14a2.96 2.96 0 0 0-2.46-1.5c-.06 0-.1.05-.1.1zm-3.33-1.96l-.3-.3a.78.78 0 0 0-1.12 0l-.36.36a.77.77 0 0 0 0 1.1l.3.3c.05.05.13.04.17 0 .2-.25.4-.5.6-.7.23-.23.46-.43.7-.6.07-.04.07-.1.03-.16zm5-.8V3.4a.78.78 0 0 0-.78-.78h-1.83a.78.78 0 0 0-.78.78v.63c0 .07.06.12.14.1a5.74 5.74 0 0 1 1.58-.22c.52 0 1.04.07 1.54.2a.1.1 0 0 0 .13-.1z'/%3E%3Cpath fill='%2523182359' d='M102.16 13.76c0 1.46-.37 2.52-1.12 3.2-.75.67-1.9 1-3.44 1-.56 0-1.74-.1-2.67-.3l.34-1.7c.78.17 1.82.2 2.36.2.86 0 1.48-.16 1.84-.5.37-.36.55-.88.55-1.57v-.35a6.37 6.37 0 0 1-.84.3 4.15 4.15 0 0 1-1.2.17 4.5 4.5 0 0 1-1.6-.28 3.38 3.38 0 0 1-1.26-.82 3.74 3.74 0 0 1-.8-1.35c-.2-.54-.3-1.5-.3-2.2 0-.67.1-1.5.3-2.06a3.92 3.92 0 0 1 .9-1.43 4.12 4.12 0 0 1 1.45-.92 5.3 5.3 0 0 1 1.94-.37c.7 0 1.35.1 1.97.2a15.86 15.86 0 0 1 1.6.33v8.46zm-5.95-4.2c0 .9.2 1.88.6 2.3.4.4.9.62 1.53.62.34 0 .66-.05.96-.15a2.75 2.75 0 0 0 .73-.33V6.7a8.53 8.53 0 0 0-1.42-.17c-.76-.02-1.36.3-1.77.8-.4.5-.62 1.4-.62 2.23zm16.13 0c0 .72-.1 1.26-.32 1.85a4.4 4.4 0 0 1-.9 1.53c-.38.42-.85.75-1.4.98-.54.24-1.4.37-1.8.37-.43 0-1.27-.13-1.8-.36a4.1 4.1 0 0 1-1.4-.97 4.5 4.5 0 0 1-.92-1.52 5.04 5.04 0 0 1-.33-1.84c0-.72.1-1.4.32-2 .22-.6.53-1.1.92-1.5.4-.43.86-.75 1.4-.98a4.55 4.55 0 0 1 1.78-.34 4.7 4.7 0 0 1 1.8.34c.54.23 1 .55 1.4.97.38.42.68.92.9 1.5.23.6.35 1.3.35 2zm-2.2 0c0-.92-.2-1.7-.6-2.22-.38-.54-.94-.8-1.64-.8-.72 0-1.27.26-1.67.8-.4.54-.58 1.3-.58 2.22 0 .93.2 1.56.6 2.1.38.54.94.8 1.64.8s1.25-.26 1.65-.8c.4-.55.6-1.17.6-2.1zm6.97 4.7c-3.5.02-3.5-2.8-3.5-3.27L113.57.92l2.15-.34v10c0 .25 0 1.87 1.37 1.88v1.8zm3.77 0h-2.15v-9.2l2.15-.33v9.54zM119.8 3.74c.7 0 1.3-.58 1.3-1.3 0-.7-.58-1.3-1.3-1.3-.73 0-1.3.6-1.3 1.3 0 .72.58 1.3 1.3 1.3zm6.43 1c.7 0 1.3.1 1.78.27.5.18.88.42 1.17.73.28.3.5.74.6 1.18.13.46.2.95.2 1.5v5.47a25.24 25.24 0 0 1-1.5.25c-.67.1-1.42.15-2.25.15a6.83 6.83 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.37-.27-.9-.27-1.44 0-.52.1-.85.3-1.2.2-.37.48-.67.83-.9a3.6 3.6 0 0 1 1.23-.5 7.07 7.07 0 0 1 2.2-.1l.83.16v-.35c0-.25-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.18-.34-.3-.58-.4a2.54 2.54 0 0 0-.92-.17c-.5 0-.94.06-1.35.13-.4.08-.75.16-1 .25l-.27-1.74c.27-.1.67-.18 1.2-.28a9.34 9.34 0 0 1 1.65-.14zm.18 7.74c.66 0 1.15-.04 1.5-.1V10.2a5.1 5.1 0 0 0-2-.1c-.23.03-.45.1-.64.2a1.17 1.17 0 0 0-.47.38c-.13.17-.18.26-.18.52 0 .5.17.8.5.98.32.2.74.3 1.3.3zM84.1 4.8c.72 0 1.3.08 1.8.26.48.17.87.42 1.15.73.3.3.5.72.6 1.17.14.45.2.94.2 1.47v5.48a25.24 25.24 0 0 1-1.5.26c-.67.1-1.42.14-2.25.14a6.83 6.83 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.38-.27-.9-.27-1.44 0-.53.1-.86.3-1.22.2-.36.5-.65.84-.88a3.6 3.6 0 0 1 1.24-.5 7.07 7.07 0 0 1 2.2-.1c.26.03.54.08.84.15v-.35c0-.24-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.17-.34-.3-.58-.4a2.54 2.54 0 0 0-.9-.15c-.5 0-.96.05-1.37.12-.4.07-.75.15-1 .24l-.26-1.75c.27-.08.67-.17 1.18-.26a8.9 8.9 0 0 1 1.66-.15zm.2 7.73c.65 0 1.14-.04 1.48-.1v-2.17a5.1 5.1 0 0 0-1.98-.1c-.24.03-.46.1-.65.18a1.17 1.17 0 0 0-.47.4c-.12.17-.17.26-.17.52 0 .5.18.8.5.98.32.2.75.3 1.3.3zm8.68 1.74c-3.5 0-3.5-2.82-3.5-3.28L89.45.92 91.6.6v10c0 .25 0 1.87 1.38 1.88v1.8z'/%3E%3Cpath fill='%25231D3657' d='M5.03 11.03c0 .7-.26 1.24-.76 1.64-.5.4-1.2.6-2.1.6-.88 0-1.6-.14-2.17-.42v-1.2c.36.16.74.3 1.14.38.4.1.78.15 1.13.15.5 0 .88-.1 1.12-.3a.94.94 0 0 0 .35-.77.98.98 0 0 0-.33-.74c-.22-.2-.68-.44-1.37-.72-.72-.3-1.22-.62-1.52-1C.23 8.27.1 7.82.1 7.3c0-.65.22-1.17.7-1.55.46-.37 1.08-.56 1.86-.56.76 0 1.5.16 2.25.48l-.4 1.05c-.7-.3-1.32-.44-1.87-.44-.4 0-.73.08-.94.26a.9.9 0 0 0-.33.72c0 .2.04.38.12.52.08.15.22.3.42.4.2.14.55.3 1.06.52.58.24 1 .47 1.27.67.27.2.47.44.6.7.12.26.18.57.18.92zM9 13.27c-.92 0-1.64-.27-2.16-.8-.52-.55-.78-1.3-.78-2.24 0-.97.24-1.73.72-2.3.5-.54 1.15-.82 2-.82.78 0 1.4.25 1.85.72.46.48.7 1.14.7 1.97v.67H7.35c0 .58.17 1.02.46 1.33.3.3.7.47 1.24.47.36 0 .68-.04.98-.1a5.1 5.1 0 0 0 .98-.33v1.02a3.87 3.87 0 0 1-.94.32 5.72 5.72 0 0 1-1.08.1zm-.22-5.2c-.4 0-.73.12-.97.38s-.37.62-.42 1.1h2.7c0-.48-.13-.85-.36-1.1-.23-.26-.54-.38-.94-.38zm7.7 5.1l-.26-.84h-.05c-.28.36-.57.6-.86.74-.28.13-.65.2-1.1.2-.6 0-1.05-.16-1.38-.48-.32-.32-.5-.77-.5-1.34 0-.62.24-1.08.7-1.4.45-.3 1.14-.47 2.07-.5l1.02-.03V9.2c0-.37-.1-.65-.27-.84-.17-.2-.45-.28-.82-.28-.3 0-.6.04-.88.13a6.68 6.68 0 0 0-.8.33l-.4-.9a4.4 4.4 0 0 1 1.05-.4 4.86 4.86 0 0 1 1.08-.12c.76 0 1.33.18 1.7.5.4.33.6.85.6 1.56v4h-.9zm-1.9-.87c.47 0 .83-.13 1.1-.38.3-.26.43-.62.43-1.08v-.52l-.76.03c-.6.03-1.02.13-1.3.3s-.4.45-.4.82c0 .26.08.47.24.6.16.16.4.23.7.23zm7.57-5.2c.25 0 .46.03.62.06l-.12 1.18a2.38 2.38 0 0 0-.56-.06c-.5 0-.92.16-1.24.5-.3.32-.47.75-.47 1.27v3.1h-1.27V7.23h1l.16 1.05h.05c.2-.36.45-.64.77-.85a1.83 1.83 0 0 1 1.02-.3zm4.12 6.17c-.9 0-1.58-.27-2.05-.8-.47-.52-.7-1.27-.7-2.25 0-1 .24-1.77.73-2.3.5-.54 1.2-.8 2.12-.8.63 0 1.2.1 1.7.34l-.4 1c-.52-.2-.96-.3-1.3-.3-1.04 0-1.55.68-1.55 2.05 0 .67.13 1.17.38 1.5.26.34.64.5 1.13.5a3.23 3.23 0 0 0 1.6-.4v1.1a2.53 2.53 0 0 1-.73.28 4.36 4.36 0 0 1-.93.08zm8.28-.1h-1.27V9.5c0-.45-.1-.8-.28-1.02-.18-.23-.47-.34-.88-.34-.53 0-.9.16-1.16.48-.25.3-.38.85-.38 1.6v2.94h-1.26V4.8h1.26v2.12c0 .34-.02.7-.06 1.1h.08a1.76 1.76 0 0 1 .72-.67c.3-.16.66-.24 1.07-.24 1.43 0 2.15.74 2.15 2.2v3.86zM42.2 7.1c.74 0 1.32.28 1.73.82.4.53.62 1.3.62 2.26 0 .97-.2 1.73-.63 2.27-.42.54-1 .82-1.75.82s-1.33-.27-1.75-.8h-.08l-.23.7h-.94V4.8h1.26v2l-.02.64-.03.56h.05c.4-.6 1-.9 1.78-.9zm-.33 1.04c-.5 0-.88.15-1.1.45-.22.3-.34.8-.35 1.5v.08c0 .72.12 1.24.35 1.57.23.32.6.48 1.12.48.44 0 .78-.17 1-.53.24-.35.36-.87.36-1.53 0-1.35-.47-2.03-1.4-2.03zm3.24-.92h1.4l1.2 3.37c.18.47.3.92.36 1.34h.04l.18-.72 1.37-4H51l-2.53 6.73c-.46 1.23-1.23 1.85-2.3 1.85-.3 0-.56-.03-.83-.1v-1c.2.05.4.08.65.08.6 0 1.03-.36 1.28-1.06l.22-.56-2.4-5.94z'/%3E%3C/g%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100%;width:110px;height:100%;margin-left:auto;margin-right:5px;display:block;overflow:hidden}html[data-theme=dark] .algolia-docsearch-suggestion--category-header,html[data-theme=dark] .algolia-docsearch-suggestion--wrapper,html[data-theme=dark] .algolia-docsearch-footer{background:var(--ifm-background-color)!important;color:var(--ifm-font-color-base)!important}html[data-theme=dark] .algolia-docsearch-suggestion--title{color:var(--ifm-font-color-base)!important}html[data-theme=dark] .ds-cursor .algolia-docsearch-suggestion--wrapper{background:var(--ifm-background-surface-color)!important}mark{background-color:#add8e6}.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color);margin-bottom:var(--ifm-leading);box-shadow:var(--ifm-global-shadow-lw);border-radius:var(--ifm-code-border-radius)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);font-size:var(--ifm-code-font-size);padding:.75rem var(--ifm-pre-padding);border-top-left-radius:inherit;border-top-right-radius:inherit;font-weight:500}.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}.codeBlockStandalone_MEMb{padding:0}.codeBlockLines_e6Vv{font:inherit;float:left;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{padding:var(--ifm-pre-padding)0;display:table}@media print{.codeBlockLines_e6Vv{white-space:pre-wrap}}.buttonGroup__atx{right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2);column-gap:.2rem;display:flex;position:absolute}.buttonGroup__atx button{background:var(--prism-background-color);color:var(--prism-color);border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);transition:opacity var(--ifm-transition-fast)ease-in-out;opacity:0;align-items:center;padding:.4rem;line-height:0;display:flex}.buttonGroup__atx button:hover{opacity:1!important}.buttonGroup__atx button:focus-visible{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);margin:0 calc(-1*var(--ifm-pre-padding));padding:0 var(--ifm-pre-padding);display:block}.codeLine_lJS_{counter-increment:line-count;display:table-row}.codeLineNumber_Tfdd{text-align:right;width:1%;padding:0 var(--ifm-pre-padding);background:var(--ifm-pre-background);overflow-wrap:normal;display:table-cell;position:sticky;left:0}.codeLineNumber_Tfdd:before{content:counter(line-count);opacity:.4}.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{width:1.125rem;height:1.125rem;position:relative}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;opacity:inherit;width:inherit;height:inherit;transition:all var(--ifm-transition-fast)ease;position:absolute;top:0;left:0}.copyButtonSuccessIcon_LjdS{opacity:0;color:#00d600;top:50%;left:50%;transform:translate(-50%,-50%)scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transition-delay:75ms;transform:translate(-50%,-50%)scale(1)}.wordWrapButtonIcon_Bwma{width:1.2rem;height:1.2rem}.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.details_lb9f{--docusaurus-details-summary-arrow-size:.38rem;--docusaurus-details-transition:transform .2s ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;list-style:none;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{content:"";border-width:var(--docusaurus-details-summary-arrow-size);border-style:solid;border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);transition:var(--docusaurus-details-transition);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2)50%;position:absolute;top:.45rem;left:0;transform:rotate(0)}.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before{transform:rotate(90deg)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child{margin-bottom:0}.iconEdit_Z9Sw{vertical-align:sub;margin-right:.3em}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast)ease;margin:0 0 var(--ifm-spacing-vertical);border:1px solid var(--ifm-alert-border-color)}.tabItem_Ymn6>:last-child{margin-bottom:0}.tabList__CuJ{margin-bottom:var(--ifm-leading)}.tabItem_LNqP{margin-top:0!important}.required_k7Xu{font-size:var(--ifm-code-font-size);color:var(--ifm-color-danger)}.deprecated_iwIh{font-size:var(--ifm-code-font-size);color:var(--ifm-color-warning)}.readOnly_RjRF{font-size:var(--ifm-code-font-size);color:var(--ifm-color-info-darker)}.writeOnly_QX6I{font-size:var(--ifm-code-font-size);color:var(--ifm-color-primary-darker)}.constant_erHY{font-size:var(--ifm-code-font-size);color:var(--ifm-color-secondary-darkest)}.schemaItem_buZn{padding:5px 0 5px 1rem;list-style:none;position:relative;border-left:thin solid var(--ifm-color-gray-500)!important;margin:0!important}.schemaItem_buZn:hover,.schemaItem_buZn:focus{background-color:var(--ifm-menu-color-background-active)}[class^=schemaItem]:before{border-bottom:thin solid var(--ifm-color-gray-500);content:"";vertical-align:top;width:.7rem;height:.5rem;display:inline-block;position:absolute;top:10px;left:0}.schemaName_Rg3q{opacity:.6}.strikethrough_g4yO{-webkit-text-decoration:line-through;text-decoration:line-through}.lastUpdated_JAkA{margin-top:.2rem;font-size:smaller;font-style:italic}@media (min-width:997px){.lastUpdated_JAkA{text-align:right}}.tocCollapsibleButton_TO0P{font-size:inherit;justify-content:space-between;align-items:center;width:100%;padding:.4rem .8rem;display:flex}.tocCollapsibleButton_TO0P:after{content:"";background:var(--ifm-menu-link-sublist-icon)50% 50%/2rem 2rem no-repeat;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast);transform:rotate(180deg)}.tocCollapsibleButtonExpanded_MG3E:after{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);padding:.2rem 0;font-size:15px}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tocCollapsibleExpanded_sAul{transform:none}@media (min-width:997px){.tocMobile_ITEo{display:none}}@media print{.tocMobile_ITEo{display:none}}.containsTaskList_mC6p{list-style:none}:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.img_ev3q{height:auto}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight)var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{vertical-align:middle;margin-right:.4em;display:inline-block}.admonitionIcon_Rf37 svg{width:1.6em;height:1.6em;fill:var(--ifm-alert-foreground-color);display:inline-block}.admonitionContent_BuS1>:last-child{margin-bottom:0}.tableOfContents_bqdL{max-height:calc(100vh - (var(--ifm-navbar-height) + 2rem));top:calc(var(--ifm-navbar-height) + 1rem);position:sticky;overflow-y:auto}@media (max-width:996px){.tableOfContents_bqdL{display:none}.docItemContainer_F8PC{padding:0 .3rem}}.container_lyt7,.container_lyt7>svg{max-width:100%}.breadcrumbHomeIcon_YNFT{vertical-align:top;width:1.1rem;height:1.1rem;position:relative;top:1px}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:.8;margin-bottom:.8rem}@media (min-width:997px){.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(1.25*var(--ifm-leading))}.list_eTzJ article:last-child{margin-bottom:0!important}.docItemContainer_Djhp header+*,.docItemContainer_Djhp article>:first-child{margin-top:0}@media (min-width:997px){.docItemCol_VOVn{max-width:75%!important}}.mdxPageWrapper_j9I6{justify-content:center} \ No newline at end of file diff --git a/pr-preview/pr-5/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png b/pr-preview/pr-5/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png new file mode 100644 index 0000000..97e4164 Binary files /dev/null and b/pr-preview/pr-5/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png differ diff --git a/pr-preview/pr-5/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png b/pr-preview/pr-5/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png new file mode 100644 index 0000000..e257edc Binary files /dev/null and b/pr-preview/pr-5/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png differ diff --git a/pr-preview/pr-5/assets/js/087ec2b2.b64c99d9.js b/pr-preview/pr-5/assets/js/087ec2b2.b64c99d9.js new file mode 100644 index 0000000..8818acd --- /dev/null +++ b/pr-preview/pr-5/assets/js/087ec2b2.b64c99d9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9173"],{88518:function(e){e.exports=JSON.parse('{"tag":{"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation","allTagsPath":"/nr-pies/pr-preview/pr-5/docs/tags","count":10,"items":[{"id":"spec/data/code","title":"Code","description":"A code type","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/code"},{"id":"spec/data/event","title":"Event","description":"Represents an event concept.","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/event"},{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/formatting"},{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id"},{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types"},{"id":"spec/data/process","title":"Process","description":"Represents a process concept.","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/process"},{"id":"spec/resource/process_event","title":"Process Event","description":"Represents a process concept at a specific moment in time.","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event"},{"id":"spec/concept/process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking"},{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle"},{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","permalink":"/nr-pies/pr-preview/pr-5/docs/intro/terminology"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/0e9114d6.0c9e50b4.js b/pr-preview/pr-5/assets/js/0e9114d6.0c9e50b4.js new file mode 100644 index 0000000..e7199b5 --- /dev/null +++ b/pr-preview/pr-5/assets/js/0e9114d6.0c9e50b4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4828"],{79017:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Data Types","description":"Data Types","slug":"/category/data-types","permalink":"/nr-pies/pr-preview/pr-5/docs/category/data-types","sidebar":"docSidebar","navigation":{"previous":{"title":"Process Tracking","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking"},"next":{"title":"Code","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/code"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/1173.5f14408a.js b/pr-preview/pr-5/assets/js/1173.5f14408a.js new file mode 100644 index 0000000..8e1ea2e --- /dev/null +++ b/pr-preview/pr-5/assets/js/1173.5f14408a.js @@ -0,0 +1,134 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1173"],{98711:function(t,e,i){i.d(e,{AD:function(){return u},AE:function(){return o},Mu:function(){return a},O:function(){return s},kc:function(){return h},rB:function(){return c},yU:function(){return l}});var r=i(5995),n=i(17967),a=(0,r.eW)((t,e)=>{let i=t.append("rect");if(i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),e.name&&i.attr("name",e.name),e.rx&&i.attr("rx",e.rx),e.ry&&i.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)i.attr(t,e.attrs[t]);return e.class&&i.attr("class",e.class),i},"drawRect"),s=(0,r.eW)((t,e)=>{a(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),l=(0,r.eW)((t,e)=>{let i=e.text.replace(r.Vw," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),e.class&&n.attr("class",e.class);let a=n.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(i),n},"drawText"),o=(0,r.eW)((t,e,i,r)=>{let a=t.append("image");a.attr("x",e),a.attr("y",i);let s=(0,n.sanitizeUrl)(r);a.attr("xlink:href",s)},"drawImage"),c=(0,r.eW)((t,e,i,r)=>{let a=t.append("use");a.attr("x",e),a.attr("y",i);let s=(0,n.sanitizeUrl)(r);a.attr("xlink:href",`#${s}`)},"drawEmbeddedImage"),h=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),u=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},74160:function(t,e,i){i.d(e,{diagram:function(){return Y}});var r=i(98711),n=i(5995),a=i(27818),s=function(){var t=(0,n.eW)(function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},"o"),e=[6,8,10,11,12,14,16,17,18],i=[1,9],r=[1,10],a=[1,11],s=[1,12],l=[1,13],o=[1,14],c={trace:(0,n.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:(0,n.eW)(function(t,e,i,r,n,a,s){var l=a.length-1;switch(n){case 1:return a[l-1];case 2:case 6:case 7:this.$=[];break;case 3:a[l-1].push(a[l]),this.$=a[l-1];break;case 4:case 5:this.$=a[l];break;case 8:r.setDiagramTitle(a[l].substr(6)),this.$=a[l].substr(6);break;case 9:this.$=a[l].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[l].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[l].substr(8)),this.$=a[l].substr(8);break;case 13:r.addTask(a[l-1],a[l]),this.$="task"}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:r,14:a,16:s,17:l,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:r,14:a,16:s,17:l,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,n.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,n.eW)(function(t){var e=this,i=[0],r=[],a=[null],s=[],l=this.table,o="",c=0,h=0,u=0,y=s.slice.call(arguments,1),p=Object.create(this.lexer),d={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(d.yy[f]=this.yy[f]);p.setInput(t,d.yy),d.yy.lexer=p,d.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;s.push(g);var x=p.options&&p.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function m(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,n.eW)(function(t){i.length=i.length-2*t,a.length=a.length-t,s.length=s.length-t},"popStack"),(0,n.eW)(m,"lex");for(var k,_,b,W,v,w,$,M,T,S={};;){if(b=i[i.length-1],this.defaultActions[b]?W=this.defaultActions[b]:(null==k&&(k=m()),W=l[b]&&l[b][k]),void 0===W||!W.length||!W[0]){var E="";for(w in T=[],l[b])this.terminals_[w]&&w>2&&T.push("'"+this.terminals_[w]+"'");E=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(E,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:g,expected:T})}if(W[0]instanceof Array&&W.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+k);switch(W[0]){case 1:i.push(k),a.push(p.yytext),s.push(p.yylloc),i.push(W[1]),k=null,_?(k=_,_=null):(h=p.yyleng,o=p.yytext,c=p.yylineno,g=p.yylloc,u>0&&u--);break;case 2:if($=this.productions_[W[1]][1],S.$=a[a.length-$],S._$={first_line:s[s.length-($||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-($||1)].first_column,last_column:s[s.length-1].last_column},x&&(S._$.range=[s[s.length-($||1)].range[0],s[s.length-1].range[1]]),void 0!==(v=this.performAction.apply(S,[o,h,c,d.yy,W[1],a,s].concat(y))))return v;$&&(i=i.slice(0,-1*$*2),a=a.slice(0,-1*$),s=s.slice(0,-1*$)),i.push(this.productions_[W[1]][0]),a.push(S.$),s.push(S._$),M=l[i[i.length-2]][i[i.length-1]],i.push(M);break;case 3:return!0}}return!0},"parse")},h={EOF:1,parseError:(0,n.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,n.eW)(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},"setInput"),input:(0,n.eW)(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},"input"),unput:(0,n.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,n.eW)(function(){return this._more=!0,this},"more"),reject:(0,n.eW)(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})},"reject"),less:(0,n.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,n.eW)(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,"")},"upcomingInput"),showPosition:(0,n.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,n.eW)(function(t,e){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var a in n)this[a]=n[a];return!1},"test_match"),next:(0,n.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,r,n=this._currentRules(),a=0;ae[0].length)){if(e=i,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[a])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,n[r]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,n.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,n.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,n.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.eW)(function(t,e,i,r){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\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:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};function u(){this.yy={}}return c.lexer=h,(0,n.eW)(u,"Parser"),u.prototype=c,c.Parser=u,new u}();s.parser=s;var l="",o=[],c=[],h=[],u=(0,n.eW)(function(){o.length=0,c.length=0,l="",h.length=0,(0,n.ZH)()},"clear"),y=(0,n.eW)(function(t){l=t,o.push(t)},"addSection"),p=(0,n.eW)(function(){return o},"getSections"),d=(0,n.eW)(function(){let t=m(),e=0;for(;!t&&e<100;)t=m(),e++;return c.push(...h),c},"getTasks"),f=(0,n.eW)(function(){let t=[];return c.forEach(e=>{e.people&&t.push(...e.people)}),[...new Set(t)].sort()},"updateActors"),g=(0,n.eW)(function(t,e){let i=e.substr(1).split(":"),r=0,n=[];1===i.length?(r=Number(i[0]),n=[]):(r=Number(i[0]),n=i[1].split(","));let a=n.map(t=>t.trim()),s={section:l,type:l,people:a,task:t,score:r};h.push(s)},"addTask"),x=(0,n.eW)(function(t){let e={section:l,type:l,description:t,task:t,classes:[]};c.push(e)},"addTaskOrg"),m=(0,n.eW)(function(){let t=(0,n.eW)(function(t){return h[t].processed},"compileTask"),e=!0;for(let[i,r]of h.entries())t(i),e=e&&r.processed;return e},"compileTasks"),k=(0,n.eW)(function(){return f()},"getActors"),_={getConfig:(0,n.eW)(()=>(0,n.nV)().journey,"getConfig"),clear:u,setDiagramTitle:n.g2,getDiagramTitle:n.Kr,setAccTitle:n.GN,getAccTitle:n.eu,setAccDescription:n.U$,getAccDescription:n.Mx,addSection:y,getSections:p,getTasks:d,addTask:g,addTaskOrg:x,getActors:k},b=(0,n.eW)(t=>`.label { + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + color: ${t.textColor}; + } + .mouth { + stroke: #666; + } + + line { + stroke: ${t.textColor} + } + + .legend { + fill: ${t.textColor}; + } + + .label text { + fill: #333; + } + .label { + color: ${t.textColor} + } + + .face { + ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"}; + stroke: #999; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: 1px; + } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${t.arrowheadColor}; + } + + .edgePath .path { + stroke: ${t.lineColor}; + stroke-width: 1.5px; + } + + .flowchart-link { + stroke: ${t.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${t.edgeLabelBackground}; + rect { + opacity: 0.5; + } + text-align: center; + } + + .cluster rect { + } + + .cluster text { + fill: ${t.titleColor}; + } + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + font-size: 12px; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .task-type-0, .section-type-0 { + ${t.fillType0?`fill: ${t.fillType0}`:""}; + } + .task-type-1, .section-type-1 { + ${t.fillType0?`fill: ${t.fillType1}`:""}; + } + .task-type-2, .section-type-2 { + ${t.fillType0?`fill: ${t.fillType2}`:""}; + } + .task-type-3, .section-type-3 { + ${t.fillType0?`fill: ${t.fillType3}`:""}; + } + .task-type-4, .section-type-4 { + ${t.fillType0?`fill: ${t.fillType4}`:""}; + } + .task-type-5, .section-type-5 { + ${t.fillType0?`fill: ${t.fillType5}`:""}; + } + .task-type-6, .section-type-6 { + ${t.fillType0?`fill: ${t.fillType6}`:""}; + } + .task-type-7, .section-type-7 { + ${t.fillType0?`fill: ${t.fillType7}`:""}; + } + + .actor-0 { + ${t.actor0?`fill: ${t.actor0}`:""}; + } + .actor-1 { + ${t.actor1?`fill: ${t.actor1}`:""}; + } + .actor-2 { + ${t.actor2?`fill: ${t.actor2}`:""}; + } + .actor-3 { + ${t.actor3?`fill: ${t.actor3}`:""}; + } + .actor-4 { + ${t.actor4?`fill: ${t.actor4}`:""}; + } + .actor-5 { + ${t.actor5?`fill: ${t.actor5}`:""}; + } +`,"getStyles"),W=(0,n.eW)(function(t,e){return(0,r.Mu)(t,e)},"drawRect"),v=(0,n.eW)(function(t,e){let i=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 s(t){let i=(0,a.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function l(t){let i=(0,a.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).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 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"),(0,n.eW)(s,"smile"),(0,n.eW)(l,"sad"),(0,n.eW)(o,"ambivalent"),e.score>3?s(r):e.score<3?l(r):o(r),i},"drawFace"),w=(0,n.eW)(function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},"drawCircle"),$=(0,n.eW)(function(t,e){return(0,r.yU)(t,e)},"drawText"),M=(0,n.eW)(function(t,e){function i(t,e,i,r,n){return t+","+e+" "+(t+i)+","+e+" "+(t+i)+","+(e+r-n)+" "+(t+i-1.2*n)+","+(e+r)+" "+t+","+(e+r)}(0,n.eW)(i,"genPoints");let r=t.append("polygon");r.attr("points",i(e.x,e.y,50,20,7)),r.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,$(t,e)},"drawLabel"),T=(0,n.eW)(function(t,e,i){let n=t.append("g"),a=(0,r.kc)();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=i.width*e.taskCount+i.diagramMarginX*(e.taskCount-1),a.height=i.height,a.class="journey-section section-type-"+e.num,a.rx=3,a.ry=3,W(n,a),I(i)(e.text,n,a.x,a.y,a.width,a.height,{class:"journey-section section-type-"+e.num},i,e.colour)},"drawSection"),S=-1,E=(0,n.eW)(function(t,e,i){let n=e.x+i.width/2,a=t.append("g");S++;a.append("line").attr("id","task"+S).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),v(a,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=(0,r.kc)();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width,s.height=i.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,W(a,s);let l=e.x+14;e.people.forEach(t=>{let i=e.actors[t].color;w(a,{cx:l,cy:e.y,r:7,fill:i,stroke:"#000",title:t,pos:e.actors[t].position}),l+=10}),I(i)(e.task,a,s.x,s.y,s.width,s.height,{class:"task"},i,e.colour)},"drawTask"),A=(0,n.eW)(function(t,e){(0,r.O)(t,e)},"drawBackgroundRect"),I=function(){function t(t,e,i,n,a,s,l,o){r(e.append("text").attr("x",i+a/2).attr("y",n+s/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,n,a,s,l,o,c){let{taskFontSize:h,taskFontFamily:u}=o,y=t.split(//gi);for(let t=0;t{let n=V[r].color,a={cx:20,cy:i,r:7,fill:n,stroke:"#000",pos:V[r].position};P.drawCircle(t,a);let s={x:40,y:i+7,fill:"#666",text:r,textMargin:5|e.boxTextMargin};P.drawText(t,s),i+=20})}(0,n.eW)(j,"drawActorLegend");var O=(0,n.nV)().journey,N=O.leftMargin,D=(0,n.eW)(function(t,e,i,r){let s;let l=(0,n.nV)().journey,o=(0,n.nV)().securityLevel;"sandbox"===o&&(s=(0,a.Ys)("#i"+e));let c="sandbox"===o?(0,a.Ys)(s.nodes()[0].contentDocument.body):(0,a.Ys)("body");B.init();let h=c.select("#"+e);P.initGraphics(h);let u=r.db.getTasks(),y=r.db.getDiagramTitle(),p=r.db.getActors();for(let t in V)delete V[t];let d=0;p.forEach(t=>{V[t]={color:l.actorColours[d%l.actorColours.length],position:d},d++}),j(h),B.insert(0,0,N,50*Object.keys(V).length),R(h,u,0);let f=B.getBounds();y&&h.append("text").text(y).attr("x",N).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);let g=f.stopy-f.starty+2*l.diagramMarginY,x=N+f.stopx+2*l.diagramMarginX;(0,n.v2)(h,g,x,l.useMaxWidth),h.append("line").attr("x1",N).attr("y1",4*l.height).attr("x2",x-N-4).attr("y2",4*l.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let m=y?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+m}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+m+25)},"draw"),B={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,n.eW)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,n.eW)(function(t,e,i,r){void 0===t[e]?t[e]=i:t[e]=r(i,t[e])},"updateVal"),updateBounds:(0,n.eW)(function(t,e,i,r){let a=(0,n.nV)().journey,s=this,l=0;function o(o){return(0,n.eW)(function(n){l++;let c=s.sequenceItems.length-l+1;s.updateVal(n,"starty",e-c*a.boxMargin,Math.min),s.updateVal(n,"stopy",r+c*a.boxMargin,Math.max),s.updateVal(B.data,"startx",t-c*a.boxMargin,Math.min),s.updateVal(B.data,"stopx",i+c*a.boxMargin,Math.max),"activation"!==o&&(s.updateVal(n,"startx",t-c*a.boxMargin,Math.min),s.updateVal(n,"stopx",i+c*a.boxMargin,Math.max),s.updateVal(B.data,"starty",e-c*a.boxMargin,Math.min),s.updateVal(B.data,"stopy",r+c*a.boxMargin,Math.max))},"updateItemBounds")}(0,n.eW)(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:(0,n.eW)(function(t,e,i,r){let n=Math.min(t,i),a=Math.max(t,i),s=Math.min(e,r),l=Math.max(e,r);this.updateVal(B.data,"startx",n,Math.min),this.updateVal(B.data,"starty",s,Math.min),this.updateVal(B.data,"stopx",a,Math.max),this.updateVal(B.data,"stopy",l,Math.max),this.updateBounds(n,s,a,l)},"insert"),bumpVerticalPos:(0,n.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,n.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,n.eW)(function(){return this.data},"getBounds")},L=O.sectionFills,F=O.sectionColours,R=(0,n.eW)(function(t,e,i){let r=(0,n.nV)().journey,a="",s=i+(2*r.height+r.diagramMarginY),l=0,o="#CCC",c="black",h=0;for(let[i,n]of e.entries()){if(a!==n.section){o=L[l%L.length],h=l%L.length,c=F[l%F.length];let s=0,u=n.section;for(let t=i;t(V[e]&&(t[e]=V[e]),t),{});n.x=i*r.taskMargin+i*r.width+N,n.y=s,n.width=r.diagramMarginX,n.height=r.diagramMarginY,n.colour=c,n.fill=o,n.num=h,n.actors=u,P.drawTask(t,n,r),B.insert(n.x,n.y,n.x+n.width+r.taskMargin,450)}},"drawTasks"),z={setConf:C,draw:D},Y={parser:s,db:_,renderer:z,styles:b,init:(0,n.eW)(t=>{z.setConf(t.journey),_.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/14622022.fb0caf23.js b/pr-preview/pr-5/assets/js/14622022.fb0caf23.js new file mode 100644 index 0000000..af42b1d --- /dev/null +++ b/pr-preview/pr-5/assets/js/14622022.fb0caf23.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2751"],{12777:function(e,n,r){r.r(n),r.d(n,{Highlight:()=>c,metadata:()=>s,contentTitle:()=>o,default:()=>h,assets:()=>d,toc:()=>l,frontMatter:()=>i});var s=JSON.parse('{"id":"docusaurus/tutorial_basics/markdown_features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional","source":"@site/docs/docusaurus/tutorial_basics/markdown_features.mdx","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/markdown_features","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/markdown_features.mdx","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732742508000,"sidebarPosition":4,"frontMatter":{"sidebar_position":4},"sidebar":"tutorialSidebar","previous":{"title":"Create a Blog Post","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post"},"next":{"title":"Deploy your site","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site"}}'),a=r("85893"),t=r("50065");let i={sidebar_position:4},o="Markdown Features",d={},c=({children:e,color:n})=>(0,a.jsx)("span",{style:{backgroundColor:n,borderRadius:"20px",color:"#fff",padding:"10px",cursor:"pointer"},onClick:()=>{alert(`You clicked the color ${n} with label ${e}`)},children:e}),l=[{value:"Front Matter",id:"front-matter",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code Blocks",id:"code-blocks",level:2},{value:"Admonitions",id:"admonitions",level:2},{value:"Mermaid Graphs",id:"mermaid-graphs",level:2},{value:"State Machine",id:"state-machine",level:3},{value:"Flowchart",id:"flowchart",level:3},{value:"MDX and React Components",id:"mdx-and-react-components",level:2}];function u(e){let n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",mermaid:"mermaid",p:"p",pre:"pre",strong:"strong",...(0,t.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"markdown-features",children:"Markdown Features"})}),"\n",(0,a.jsxs)(n.p,{children:["Docusaurus supports ",(0,a.jsx)(n.strong,{children:(0,a.jsx)(n.a,{href:"https://daringfireball.net/projects/markdown/syntax",children:"Markdown"})})," and a few ",(0,a.jsx)(n.strong,{children:"additional\nfeatures"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"front-matter",children:"Front Matter"}),"\n",(0,a.jsxs)(n.p,{children:["Markdown documents have metadata at the top called ",(0,a.jsx)(n.a,{href:"https://jekyllrb.com/docs/front-matter/",children:"Front Matter"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",metastring:'title="my-doc.md"',children:"// highlight-start\n---\nid: my_doc_id\ntitle: My document title\ndescription: My document description\nslug: /my-custom-url\ntags:\n - developer\n---\n// highlight-end\n\n## Markdown heading\n\nMarkdown text with [links](./hello.md)\n"})}),"\n",(0,a.jsxs)(n.p,{children:["We recommend that all markdown pages should have at minimum a ",(0,a.jsx)(n.code,{children:"title"}),", ",(0,a.jsx)(n.code,{children:"description"})," and ",(0,a.jsx)(n.code,{children:"tags"})," array defined. An ",(0,a.jsx)(n.code,{children:"id"}),"\nmay be specified, but can be derived off of the filename when omitted."]}),"\n",(0,a.jsx)(n.admonition,{type:"info",children:(0,a.jsxs)(n.p,{children:["A complete listing of Docusaurus supported front matter fields can be found ",(0,a.jsx)(n.a,{href:"https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs#markdown-front-matter",children:"here"}),"."]})}),"\n",(0,a.jsx)(n.h2,{id:"links",children:"Links"}),"\n",(0,a.jsx)(n.p,{children:"Regular Markdown links are supported, using url paths or relative file paths."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](/create_a_page).\n"})}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](./create_a_page.md).\n"})}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Result:"})," Let's see how to ",(0,a.jsx)(n.a,{href:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page",children:"Create a page"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"images",children:"Images"}),"\n",(0,a.jsx)(n.p,{children:"Regular Markdown images are supported."}),"\n",(0,a.jsxs)(n.p,{children:["You can use absolute paths to reference images in the static directory (",(0,a.jsx)(n.code,{children:"static/img/docusaurus.png"}),"):"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](/img/docusaurus.png)\n"})}),"\n",(0,a.jsx)(n.p,{children:(0,a.jsx)(n.img,{alt:"Docusaurus logo",src:r(93641).Z+"",width:"200",height:"200"})}),"\n",(0,a.jsx)(n.p,{children:"You can reference images relative to the current file as well. This is particularly useful to colocate images close to\nthe Markdown files using them:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](./img/docusaurus.png)\n"})}),"\n",(0,a.jsx)(n.h2,{id:"code-blocks",children:"Code Blocks"}),"\n",(0,a.jsx)(n.p,{children:"Markdown code blocks are supported with Syntax highlighting."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:'```jsx title="src/components/HelloDocusaurus.js"\nfunction HelloDocusaurus() {\n return

    Hello, Docusaurus!

    ;\n}\n```\n'})}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return

    Hello, Docusaurus!

    ;\n}\n"})}),"\n",(0,a.jsx)(n.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,a.jsx)(n.p,{children:"Docusaurus has a special syntax to create admonitions and callouts:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-md",children:":::tip[My tip]\n\nUse this awesome feature option\n\n:::\n\n:::danger[Take care]\n\nThis action is dangerous\n\n:::\n"})}),"\n",(0,a.jsx)(n.admonition,{title:"My tip",type:"tip",children:(0,a.jsx)(n.p,{children:"Use this awesome feature option"})}),"\n",(0,a.jsx)(n.admonition,{title:"Take care",type:"danger",children:(0,a.jsx)(n.p,{children:"This action is dangerous"})}),"\n",(0,a.jsx)(n.h2,{id:"mermaid-graphs",children:"Mermaid Graphs"}),"\n",(0,a.jsxs)(n.p,{children:["Our Docusaurus instance supports ",(0,a.jsx)(n.strong,{children:"diagramming and charting"})," through ",(0,a.jsx)(n.a,{href:"https://mermaid.js.org",children:"Mermaid"}),". The following\nare some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported,\nvisit their ",(0,a.jsx)(n.a,{href:"https://mermaid.js.org/intro/",children:"documentation"})," for more details under the ",(0,a.jsx)(n.strong,{children:"Diagram Syntax"})," section on the\nsidebar."]}),"\n",(0,a.jsx)(n.h3,{id:"state-machine",children:"State Machine"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",children:"```mermaid\ngraph TD\n A--\x3eB\n A--\x3eC\n B--\x3eD\n C--\x3eD\n```\n"})}),"\n",(0,a.jsx)(n.mermaid,{value:"graph TD\n A--\x3eB\n A--\x3eC\n B--\x3eD\n C--\x3eD"}),"\n",(0,a.jsx)(n.h3,{id:"flowchart",children:"Flowchart"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-text",children:"```mermaid\ngraph LR\n A[PIES] --\x3e|Get spec| B(Stakeholder approval)\n B --\x3e C{Purpose}\n B --\x3e G[/Further Analysis/]\n C ==>|One| D[Document Exchange]\n C --\x3e|Two| E[Event Alerts]\n C --\x3e|Three| F[Aggregation]\n subgraph identification\n A\n B\n end\n subgraph execution\n C\n D\n E\n F\n G\n end\n```\n"})}),"\n",(0,a.jsx)(n.mermaid,{value:"graph LR\n A[PIES] --\x3e|Get spec| B(Stakeholder approval)\n B --\x3e C{Purpose}\n B --\x3e G[/Further Analysis/]\n C ==>|One| D[Document Exchange]\n C --\x3e|Two| E[Event Alerts]\n C --\x3e|Three| F[Aggregation]\n subgraph identification\n A\n B\n end\n subgraph execution\n C\n D\n E\n F\n G\n end"}),"\n",(0,a.jsx)(n.h2,{id:"mdx-and-react-components",children:"MDX and React Components"}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.a,{href:"https://mdxjs.com/",children:"MDX"})," can make your documentation more ",(0,a.jsx)(n.strong,{children:"interactive"})," and allows using any ",(0,a.jsx)(n.strong,{children:"React components\ninside Markdown"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",children:"export const Highlight = ({children, color}) => (\n {\n alert(`You clicked the color ${color} with label ${children}`)\n }}>\n {children}\n \n);\n\nThis is Docusaurus green !\n\nThis is Facebook blue !\n"})}),"\n","\n",(0,a.jsxs)(n.p,{children:["This is ",(0,a.jsx)(c,{color:"#25c2a0",children:"Docusaurus green"})," !"]}),"\n",(0,a.jsxs)(n.p,{children:["This is ",(0,a.jsx)(c,{color:"#1877F2",children:"Facebook blue"})," !"]})]})}function h(e={}){let{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},93641:function(e,n,r){r.d(n,{Z:function(){return s}});let s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAT3UlEQVR42u1dCVQVV5pWXNt2N0czykl33KImZ7IgKgqIghq3KCDK+qowCek2c2K0Mx3idBxakzYxJnZiq3Gf6Bg7UdN2R51MxnTSia3gew9Rwccm7oqiiIK4sPxTt1hEHo9XvPVW1fed852Dr+67UNb/1f3/+9/731atAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO8i2CxGjDUJXzMGmcSZnmoHAF7B6GMJvYPNwq5gk1AmMS/YJMbaahtkNsRLbeghmoU4d7cDAO+NCEbhQCMjrZbe5q81bhdyVOwuXbtqZdDSZ+yau9oBgNcgGeIvmzDQJkUy1ix8ZKMtsWvuagcAXsNYs/iyLSNlIgk2GebLQjKJQ6R/32+mbcWYI8KTrm6HJwR4170yCV80Y6T1I4kklH122lFNG9e2wxMC3Ao/U1KnQLPgF2SK/xeri5TiIxlikX1DBXVANpoXSy/DzGCjYfdYs2FRiFkcxWxEu/GF0RAm3fT1Bv8JJyV+LLlV08ccnNuFCQeGAdrheWkkXxaSGueruZFDurlrzfn4QSbDGRgAqJD3JK4NMcU8oo3RIz1hOB4q6AZeCzKK0aoXCIs58DBBt9Esfip5Ke3UPkN1Eg8TdB8N+5grr+JRxPAJHiLoTgaZhf97MiuqvVqTgNPxEEEPcK0qBTIyNa6rnWw1CLooJjHMUZc6KMWnNs9xDg8Q9ACLQtMMvbhfeFi7tuoLZMhBz1NczaUw2H4OFizhAYFe5l0uM+61m53wgMAWM+C7aBr425Ey2c8umPpdxmO+oxQPWz8cvnOmTGf7Gf1DDHXs25lYxMrIfmafOdnvOe4WONZsk4XhaD7nkJpAPQN96w2a/cw+c7S/QYsC6vuq46D/CHD+7zQaRvDmYsXVbG6CEWmZQ5YGWRk0+8zR/phb1bg/9pkLgvVk/twso+EViETbfPw1PyuDHrDQ36n4o6GL1eHRn7skDhlrEnZyuvbKMN/TIglKM9AzmyfLbzL2sBjZz89sniJfg2G7Nvbwad+m3qB9OrQh/z0RTschzK1yXZAu8zi/CxQ9NJL4fT6d+kwdQG27drB6q9WxXbcO1GfaAPL78wswcBfx6Y2T6ZHxv5DJfuY1acj5Kl55JHHPtOCBaOozZQC18mltUxhWlNoyobjwDQVyng/hVhyBaYbBrEKhW0aNL2Y85LO2lB37daHhX86AAemAPC4z6R5sEt9j6nWXONr8vJ3D4qhj287tIRIIxMP7PmrKd151p1vV3MjRtmt7eiT0F+QbN4z6xQ6T/eO2XdrbbP8z3y5wtyAQT+VAxAh336wcczQVhPfsKM+ANJWsYp+xRFS7Hh2b/C6LSWBIEIgnsuh73T1b1VRA3ql/dxq5d5bd74/4OlJu21TgjtktCMT9uwbdFJDXjx5TBzQ5cigRR71I/hZJ7bpbTwf3mT4QxgSBuHtbrSHcnUlAlstwxXqdgcmjmsyTIJkIgag2SGcZ8qYCckcWyAUdTpBnsBr398yWKTAoCESd07xD3rFeHMdmqxztj81uNe5v6B+CYVAQiAeD9qPiIOkP/NIVN9l//nArg/ZNeNLh/nzjn7Tqr//rw2FQEIg6M+lN7RcY/LvR3PQHupdh6S9R+LH5ZMh8i17NfoeS81bSO6fX0cfn/ps2X/wL7bzyv/TNtYP0z5KjdLw0hwrKL1DR/Rt0r+q+Plys0d/HyMtDGib4nNlx5ur+QPcZuLPQTSa9bjk0oyuM2dX9adm4Zx57jeIzk+lXliX0Ru4KSjm1hlac/S/69MKXtP3yXvrr1b/Td8WplHbzOGWV5dPZO5fo+v0Slxi4ZgTiiUw66BoD/32BPQO/zI2Ba0cgbs6kg9aMPfFbWn5mM/258H80a+CaEYi7M+ngA7JR4ERpHgFqEogbM+lgDSelv0LfFx+B1SNIBxtzWsarlH27ABavZoF4YsOUHhliEuX4AlCOwsJC2rVrF7+JwjHGuU8Em4X9MHDn+afzOzRtzGVlZbR69WqKjY2lqKgoev/996m4uNihvqqrqyklJYU6dKhf3Kq/Pel6izuKK246bYQXLlygvXv30ldffUWZmZlO9cX6CAwMpI4dO1Lbtm3pueeeo61btzrUV1ZWFj3++ONWKxseffRRMpvNLe7vzTffrClF5ONDEydOhIuldb53ZqNTxpyfn08RERFWBsiM2mQytbi/+fPn29zCnJSU1KK+ioqKyNe3poTpU089RRs3bqTt27dTQEBAvUiuXr2quL8ff/xRFgYT7e7duxGk64E/FBsdFsfhw4epR48eNTsvO3WioKAgmjRpEvXu3Vv+rHPnzvTTTz8p7u/dd9+tqXwouS/Lly+nS5cuUUlJCa1fv17ui11j7pFSTJs2Tf4O+7tu3bpV//ndu3fr3v40Y8YMRX1VVFTQkCFD5O8sW7YMmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GRkZil2nrl27Um5ubpOTBuwaa/PNN9/Y7a/u97MRgsUmjcE+Y8JgbbZs2YJMut6oZGnJ6NGjHz5bQzKYggLlWXf2BmbxA/suC+LZbNKOHTsoLi6OWrduLXPz5s2K+2P5DNYXC5rz8h6sGbt8+bI8qrFrrI3S4JuNNOw7ycnJVtfffvvtZkcjTPNqnMtOb7BrRGPGjJFnlpiRfPDBB826VbbABNGrVy/rii/t2tGqVata7OY9++yz8ve7dOkiC41NAdfNng0dOlR2x5TCaDTKfwf77tKlS2UhsJiEuXFs0oCJ+9ChQ+pYauKOPel65sT0JJckCpXmJVhgzLLZM2fOpEWLFj00ArR0oqCp/AuLj9hI0lIwkbKRrG7mqy42YVyyZIl61mJhqYnruercdtUuI2HTzZs2baK1a9fSkSPOrURm8U1droOxb9++tGHDBixWxGJFkVJLjmEFYoMcCYuxmpsBQ5Cuu+Xu8+hk2SmoQ63L3ZFJ90w8cuD6YVi9KgWCTLrHuDB3uVwep5qqoQC1CASZdM8z+sQb9P6ZTbSjcD+KNnAvEGTSUfYHAkGQDoGhcBymeUGUHkUmHdS6wG5VlmFPOgjq/gAdEMQRbCCoZYEgkw5CIMikgxAIMukgBIJMOgiBIEgHIRBM84KgegSCTDoIgSCTzvcWXbNAv7bE0/oL0fSPG1F0+k4k3aoMp4rqmUSkL8LFAus563gCbb88h4ruR+hOCKoQCIJ07/CFDAP9rWg23a+GILgVCDLp3uGSghi6WREOMXAvEGTSPcrxUpzxtTRqQAQqEQgCck9WNzFQasksCEBVAkEm3WMjB8SBIB20QbhVmOYFbXBpQazLDYjlR25XhetGIJOyXuw5JntuF2TSNVd61EAlLpytqpa4sjCWJmSLMtdcidG2QKhV67CcxHVh2WJVLVcik65zjmVZ9QyRxmcKFHpSJMkoaGqOSHGnDPTGuXj53w1pLIvSnECk+yoPzRZPh2Un/r3x/YZZEifBxdLrcpOMB6JQyt3Fc7QokOb4OoJ0vdEs0LgTLRNGHQ/cnE07JZEcLo2SXTCtC2RCdmJ8aI64MNSSOI25YMik64COiqMxPy6M0cMI0oDCGmTSdeBWuUIcYbWBe6kGZrdacM/VIafF7sikazggb2nMYU8gJZURehJIVUhO0iPIpGt29HCdOBj/qDMXS3ohfIogXctLUDJd516xaeCvb8yhMv24WGekQP2VsFNJ3TDNq1G60r2qY4IkFLWLpIX3fMojIkEm3QsV0LMFlwuEcfS/P0N+ft29ypdf/qWnBEJhFiEJmXQIRDH7RQ2uP5fcW+zbt6PHBDIhJ/EluFhwsRRxzsl4OmgeTyZTiFdZXDzVUwLJd6uLhSBdO0H63huzdRWkM9fKreJAJl07SULGjy7H6iuTbhHXI5Ou8URhGBKFHCcKEZB7fxQ5iqUm/C41QSadk8WKrhHJJ4X6crFCLeKfkEnXiavl7HL31LJZutgPUrfcPSxXmIoNU3rcMGURsGGKpw1TyKTzKZTxmWJtnkT6OSOBxhyYRX6fPW9lML0C+3k9KdgUR47s4dSWW4kF3Gy5RSbdtXTUMEaM6NG84bVuRUNSAiThSCNNlkCDk/25FAfjqFE9XVO0IVtcW1uwoTLMInyEsj86FohSllaGU7mOyv5MPR7bIyRrXmcUjoNAQFR3h0BAVHeHQEBUdwchEFR3ByEQVHdHkA6BQCCY5oVAIBBk0tUrEH//Htwm/jyZSedWIMikc55JVxFdkkmHiwWBgAjSIRAQmXQQAkEmHYRAkEkHeRDIP0ujaOG5eJqWK8j8jfQzOyQHAkEmXfcC2XA12uaOuk1F0RAIgnRtC4Qd4XyifBZZ7kRaHefMRg5722wbjySsD9YX61MLx0OH5cwNnJwX1xXTvDoTyF3JeD8pjKHncx4Y+xTp51VXYuRrrM3CJk6ybUx22u2D/mLlPuquTc4RavqrVv2e9LthOcKqgPNRP0MmXQcCqZAMdsFZ28b/unTNf1QvGpceZ1cg48xx5NPOh4Z/PsVmG79tz1Prtj5q3ZPekD/4mZLaIZOu9dpXx+1XKBl3XFlFk9BMAw1+a4Tddo8Zhqkyk95EQbz5cLG0Xsk9S3TLUQfN8ddnErRS9seMIF3rZ4FYPC+QF3IFrQjkFjLpOAvE5UwsMGhFIBZk0rV+FsgJweMC+Vilp95a34uwBpl0rdffNXtWIKzS+9Hbs2hlYSwZThnkqWA2onx+LZr7KeDGFdxDsw3jwnIS18mnSWWLd9iIEmpJfMvtU8DIpHtwBMny/Ahii/8mBe88JxRb8BJIc3tCEUG6Nt0re/zgcozqBVLrfm3GNK+aC1Ef408cjBM5Po2qhfdS6dZTppBJd2/cEWoRuRQIY8/RfdWQSbfP3LlhSoPuxSGpcb7IpMO1UsIe/n1UkUm3OxrmCsF2jTs09aU+0kO5zQwcLhYHTBe5Fgdb1HirMlwLLtbdSVkv9lSS01ha93CCzMpP4UGQzve5g+7iHzk+z7CF97JWadIvr8EDqmJZcmTSvUSzd5aWKOX8swn1y+tVLpCD001JnezHHkdE/yYe1B17IkEm3U3BeTq/o8faK9Hy0nvVn3JrET5SvAxeeii/sfGwqqSY5DVk0j3sXh3jd/Rgm7V43+Ou8F7uSyyT+P1EizjdnkC+sDPk7x+TPrcvMukemr3K5DtA532PuyP3EZojvtvc9G6mggd3LcgoLAg49PD6FQTp7li5K6hGIE3tcVejQGSRWBKn2RpBLrXgAbK2vws0zu2PaV7t7P1whnV73NUuEHZstC2B3HFwtuVIkEn8cKxRiJFGkn8NyZgbGGw07IaROzmCZKtLIGyPu6oz6fY2VkkP5R4MEwJxlCGmOG4y6ferw525l5u2BHIdhsmRQOBiOUy2gNLhGCRb/M6ZIB3U8PZaZ5haNosbgRTcjXT8XnKFqbZGkK9gmDxtjlKPOLZwNs37j1uzHbwXYWlzOwMXwTCRKFSaKJyeK8huFU8jh5K6xNaJQqGUuVU2R476aVqzOAqGiaUmSnjmXiTXy0xePZOgLN7ISxymfL06pfhID+YcjJMTgXAah7xymu9CclfuR8jFJhTcy1EHSvgYlsE41VVq1NPccX0O1wJhFVcU3UuOmNzyfeWpcb7Ih/C1YYqnfAirsnijkt8l7iz/EZ1vUJQMnJif0NvRQnBrYZw8bZriRyDbrvE9euwpnqOs1E+OsNjhogsBh17sKT2YIhgnLxunRC7WZc3OF6ic4w1SN6WRLTJP0ehxOSRrXmfn6lwZxWgYJ8r+NKywmMbhdG5DLrkYp+ReqsbnGCa7qij1pzBOVDdh3HqN7zMN/3pjttLA/D9dVt8q6suoNmNNwl9gnPreRPV76c1czbE4WKJyUo6il8euFErxcWkROD9TUqdgk2EfjJOf3IgnRfLepViqrOY37mCbtKbmKhLH1pDvU9q6pVIi29SOmS19zWxNqC3MUM25W6Vg5KhmhRlaUavWHjgoxzAHs1scBe4ZclUOl4sjJt9AxrIoboVRUhmuNCA/F2ZJnOTRs0BC0wy9gk3iamyr5ad2lquCd1alZM2VGG6PNGBJQJbnCM+ze7+sSslKr56RPj7D0K92WQrWbnEiFLYsxZG1W2zEYMszeC0herUiQv77FGTIz7EDcRSVEPUYKMUnyGgYIY0qyVIAuVN6WMdrdyZiuYqXgvixRwX5KOjxmTWLHdnORLZchfnrEdLb9+XTCZKLEiv78GfvRXA0QsykmxXhlF8eST8UR9G6i9H0q7x4Cm10H2HZQoUkhmsSj0/IFnZOyBFeDctNGNoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsI3/BxVeQNnL1kBuAAAAAElFTkSuQmCC"},50065:function(e,n,r){r.d(n,{Z:function(){return o},a:function(){return i}});var s=r(67294);let a={},t=s.createContext(a);function i(e){let n=s.useContext(t);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/14eb3368.9c7921b4.js b/pr-preview/pr-5/assets/js/14eb3368.9c7921b4.js new file mode 100644 index 0000000..dd492d0 --- /dev/null +++ b/pr-preview/pr-5/assets/js/14eb3368.9c7921b4.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1983"],{52520:function(e,t,n){n.d(t,{Z:()=>f});var r=n("85893");n("67294");var s=n("67026"),i=n("84681"),a=n("69369"),l=n("79246"),o=n("83012"),c=n("96025"),d=n("4757");function u(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,r.jsx)("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"})})}let m="breadcrumbHomeIcon_YNFT";function h(){let e=(0,d.ZP)("/");return(0,r.jsx)("li",{className:"breadcrumbs__item",children:(0,r.jsx)(o.Z,{"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,r.jsx)(u,{className:m})})})}let p="breadcrumbsContainer_Z_bl";function b(e){let{children:t,href:n,isLast:s}=e,i="breadcrumbs__link";return s?(0,r.jsx)("span",{className:i,itemProp:"name",children:t}):n?(0,r.jsx)(o.Z,{className:i,href:n,itemProp:"item",children:(0,r.jsx)("span",{itemProp:"name",children:t})}):(0,r.jsx)("span",{className:i,children:t})}function x(e){let{children:t,active:n,index:i,addMicrodata:a}=e;return(0,r.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,s.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,r.jsx)("meta",{itemProp:"position",content:String(i+1)})]})}function f(){let e=(0,a.s1)(),t=(0,l.Ns)();return e?(0,r.jsx)("nav",{className:(0,s.Z)(i.k.docs.docBreadcrumbs,p),"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,r.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,r.jsx)(h,{}),e.map((t,n)=>{let s=n===e.length-1,i="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,r.jsx)(x,{active:s,index:n,addMicrodata:!!i,children:(0,r.jsx)(b,{href:i,isLast:s,children:t.label})},n)})]})}):null}},39140:function(e,t,n){n.r(t),n.d(t,{default:()=>D});var r=n("85893");n("67294");var s=n("14713"),i=n("69369"),a=n("4757"),l=n("67026"),o=n("83012"),c=n("43115"),d=n("63150"),u=n("96025"),m=n("34403");let h={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};function p(e){let{href:t,children:n}=e;return(0,r.jsx)(o.Z,{href:t,className:(0,l.Z)("card padding--lg",h.cardContainer),children:n})}function b(e){let{href:t,icon:n,title:s,description:i}=e;return(0,r.jsxs)(p,{href:t,children:[(0,r.jsxs)(m.Z,{as:"h2",className:(0,l.Z)("text--truncate",h.cardTitle),title:s,children:[n," ",s]}),i&&(0,r.jsx)("p",{className:(0,l.Z)("text--truncate",h.cardDescription),title:i,children:i})]})}function x(e){let{item:t}=e,n=(0,i.LM)(t),s=function(){let{selectMessage:e}=(0,c.c)();return t=>e(t,(0,u.translate)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,r.jsx)(b,{href:n,icon:"\uD83D\uDDC3\uFE0F",title:t.label,description:t.description??s(t.items.length)}):null}function f(e){let{item:t}=e,n=(0,d.Z)(t.href)?"\uD83D\uDCC4\uFE0F":"\uD83D\uDD17",s=(0,i.xz)(t.docId??void 0);return(0,r.jsx)(b,{href:t.href,icon:n,title:t.label,description:t.description??s?.description})}function v(e){let{item:t}=e;switch(t.type){case"link":return(0,r.jsx)(f,{item:t});case"category":return(0,r.jsx)(x,{item:t});default:throw Error(`unknown item type ${JSON.stringify(t)}`)}}function g(e){let{className:t}=e,n=(0,i.jA)();return(0,r.jsx)(j,{items:n.items,className:t})}function j(e){let{items:t,className:n}=e;if(!t)return(0,r.jsx)(g,{...e});let s=(0,i.MN)(t);return(0,r.jsx)("section",{className:(0,l.Z)("row",n),children:s.map((e,t)=>(0,r.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,r.jsx)(v,{item:e})},t))})}var N=n("23944"),_=n("59580"),Z=n("46035"),k=n("52520");let L="generatedIndexPage_vN6x",T="list_eTzJ",w="title_kItE";function y(e){let{categoryGeneratedIndex:t}=e;return(0,r.jsx)(s.d,{title:t.title,description:t.description,keywords:t.keywords,image:(0,a.ZP)(t.image)})}function C(e){let{categoryGeneratedIndex:t}=e,n=(0,i.jA)();return(0,r.jsxs)("div",{className:L,children:[(0,r.jsx)(_.Z,{}),(0,r.jsx)(k.Z,{}),(0,r.jsx)(Z.Z,{}),(0,r.jsxs)("header",{children:[(0,r.jsx)(m.Z,{as:"h1",className:w,children:t.title}),t.description&&(0,r.jsx)("p",{children:t.description})]}),(0,r.jsx)("article",{className:"margin-top--lg",children:(0,r.jsx)(j,{items:n.items,className:T})}),(0,r.jsx)("footer",{className:"margin-top--lg",children:(0,r.jsx)(N.Z,{previous:t.navigation.previous,next:t.navigation.next})})]})}function D(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{...e}),(0,r.jsx)(C,{...e})]})}},23944:function(e,t,n){n.d(t,{Z:()=>o});var r=n("85893");n("67294");var s=n("96025"),i=n("67026"),a=n("83012");function l(e){let{permalink:t,title:n,subLabel:s,isNext:l}=e;return(0,r.jsxs)(a.Z,{className:(0,i.Z)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,r.jsx)("div",{className:"pagination-nav__label",children:n})]})}function o(e){let{previous:t,next:n}=e;return(0,r.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.translate)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,r.jsx)(l,{...t,subLabel:(0,r.jsx)(s.default,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,r.jsx)(l,{...n,subLabel:(0,r.jsx)(s.default,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},46035:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(85893);n(67294);var s=n(67026),i=n(96025),a=n(84681),l=n(68529);function o(e){let{className:t}=e,n=(0,l.E)();return n.badge?(0,r.jsx)("span",{className:(0,s.Z)(t,a.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,r.jsx)(i.default,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},59580:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(85893);n(67294);var s=n(67026),i=n(2933),a=n(83012),l=n(96025),o=n(81723),c=n(84681),d=n(93896),u=n(68529);let m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,r.jsx)(l.default,{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:(0,r.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,r.jsx)(l.default,{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:(0,r.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){let t=m[e.versionMetadata.banner];return(0,r.jsx)(t,{...e})}function p(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,r.jsx)(l.default,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,r.jsx)("b",{children:(0,r.jsx)(a.Z,{to:n,onClick:s,children:(0,r.jsx)(l.default,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function b(e){let t,{className:n,versionMetadata:a}=e,{siteConfig:{title:l}}=(0,i.Z)(),{pluginId:u}=(0,o.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(u),{latestDocSuggestion:b,latestVersionSuggestion:x}=(0,o.Jo)(u);let f=b??(t=x).docs.find(e=>e.id===t.mainDocId);return(0,r.jsxs)("div",{className:(0,s.Z)(n,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,r.jsx)("div",{children:(0,r.jsx)(h,{siteTitle:l,versionMetadata:a})}),(0,r.jsx)("div",{className:"margin-top--md",children:(0,r.jsx)(p,{versionLabel:x.label,to:f.path,onClick:()=>m(x.name)})})]})}function x(e){let{className:t}=e,n=(0,u.E)();return n.banner?(0,r.jsx)(b,{className:t,versionMetadata:n}):null}},43115:function(e,t,n){n.d(t,{c:function(){return o}});var r=n(67294),s=n(2933);let i=["zero","one","two","few","many","other"];function a(e){return i.filter(t=>e.includes(t))}let l={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function o(){let e=function(){let{i18n:{currentLocale:e}}=(0,s.Z)();return(0,r.useMemo)(()=>{try{return function(e){let t=new Intl.PluralRules(e);return{locale:e,pluralForms:a(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}". +Docusaurus will fallback to the default (English) implementation. +Error: ${t.message} +`),l}},[e])}();return{selectMessage:(t,n)=>(function(e,t,n){let r=e.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}: ${e}`);let s=n.select(t);return r[Math.min(n.pluralForms.indexOf(s),r.length-1)]})(n,t,e)}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/161.d05026b2.js b/pr-preview/pr-5/assets/js/161.d05026b2.js new file mode 100644 index 0000000..f974940 --- /dev/null +++ b/pr-preview/pr-5/assets/js/161.d05026b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["161"],{55845:function(e,r,c){c.d(r,{createArchitectureServices:function(){return n.i}});var n=c(94413);c(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/1773.1a0bf1ab.js b/pr-preview/pr-5/assets/js/1773.1a0bf1ab.js new file mode 100644 index 0000000..9f2bf94 --- /dev/null +++ b/pr-preview/pr-5/assets/js/1773.1a0bf1ab.js @@ -0,0 +1,5 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1773"],{29463:function(t,e,a){a.d(e,{diagram:function(){return tD}});var n,i=a(98711),r=a(7690),s=a(5995),l=a(27818),o=a(17967),h=function(){var t=(0,s.eW)(function(t,e,a,n){for(a=a||{},n=t.length;n--;a[t[n]]=e);return a},"o"),e=[1,24],a=[1,25],n=[1,26],i=[1,27],r=[1,28],l=[1,63],o=[1,64],h=[1,65],d=[1,66],u=[1,67],p=[1,68],y=[1,69],f=[1,29],b=[1,30],g=[1,31],x=[1,32],_=[1,33],m=[1,34],E=[1,35],A=[1,36],S=[1,37],C=[1,38],k=[1,39],O=[1,40],w=[1,41],T=[1,42],v=[1,43],R=[1,44],D=[1,45],W=[1,46],N=[1,47],P=[1,48],M=[1,50],B=[1,51],Y=[1,52],j=[1,53],I=[1,54],L=[1,55],U=[1,56],F=[1,57],X=[1,58],z=[1,59],Q=[1,60],$=[14,42],q=[14,34,36,37,38,39,40,41,42,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,70,71,72,73,74],V=[12,14,34,36,37,38,39,40,41,42,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,70,71,72,73,74],H=[1,82],G=[1,83],K=[1,84],J=[1,85],Z=[12,14,42],tt=[12,14,33,42],te=[12,14,33,42,76,77,79,80],ta=[12,33],tn=[34,36,37,38,39,40,41,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,70,71,72,73,74],ti={trace:(0,s.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:(0,s.eW)(function(t,e,a,n,i,r,s){var l=r.length-1;switch(i){case 3:n.setDirection("TB");break;case 4:n.setDirection("BT");break;case 5:n.setDirection("RL");break;case 6:n.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:n.setC4Type(r[l-3]);break;case 19:n.setTitle(r[l].substring(6)),this.$=r[l].substring(6);break;case 20:n.setAccDescription(r[l].substring(15)),this.$=r[l].substring(15);break;case 21:this.$=r[l].trim(),n.setTitle(this.$);break;case 22:case 23:this.$=r[l].trim(),n.setAccDescription(this.$);break;case 28:r[l].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 29:r[l].splice(2,0,"SYSTEM"),n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 30:n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 31:r[l].splice(2,0,"CONTAINER"),n.addContainerBoundary(...r[l]),this.$=r[l];break;case 32:n.addDeploymentNode("node",...r[l]),this.$=r[l];break;case 33:n.addDeploymentNode("nodeL",...r[l]),this.$=r[l];break;case 34:n.addDeploymentNode("nodeR",...r[l]),this.$=r[l];break;case 35:n.popBoundaryParseStack();break;case 39:n.addPersonOrSystem("person",...r[l]),this.$=r[l];break;case 40:n.addPersonOrSystem("external_person",...r[l]),this.$=r[l];break;case 41:n.addPersonOrSystem("system",...r[l]),this.$=r[l];break;case 42:n.addPersonOrSystem("system_db",...r[l]),this.$=r[l];break;case 43:n.addPersonOrSystem("system_queue",...r[l]),this.$=r[l];break;case 44:n.addPersonOrSystem("external_system",...r[l]),this.$=r[l];break;case 45:n.addPersonOrSystem("external_system_db",...r[l]),this.$=r[l];break;case 46:n.addPersonOrSystem("external_system_queue",...r[l]),this.$=r[l];break;case 47:n.addContainer("container",...r[l]),this.$=r[l];break;case 48:n.addContainer("container_db",...r[l]),this.$=r[l];break;case 49:n.addContainer("container_queue",...r[l]),this.$=r[l];break;case 50:n.addContainer("external_container",...r[l]),this.$=r[l];break;case 51:n.addContainer("external_container_db",...r[l]),this.$=r[l];break;case 52:n.addContainer("external_container_queue",...r[l]),this.$=r[l];break;case 53:n.addComponent("component",...r[l]),this.$=r[l];break;case 54:n.addComponent("component_db",...r[l]),this.$=r[l];break;case 55:n.addComponent("component_queue",...r[l]),this.$=r[l];break;case 56:n.addComponent("external_component",...r[l]),this.$=r[l];break;case 57:n.addComponent("external_component_db",...r[l]),this.$=r[l];break;case 58:n.addComponent("external_component_queue",...r[l]),this.$=r[l];break;case 60:n.addRel("rel",...r[l]),this.$=r[l];break;case 61:n.addRel("birel",...r[l]),this.$=r[l];break;case 62:n.addRel("rel_u",...r[l]),this.$=r[l];break;case 63:n.addRel("rel_d",...r[l]),this.$=r[l];break;case 64:n.addRel("rel_l",...r[l]),this.$=r[l];break;case 65:n.addRel("rel_r",...r[l]),this.$=r[l];break;case 66:n.addRel("rel_b",...r[l]),this.$=r[l];break;case 67:r[l].splice(0,1),n.addRel("rel",...r[l]),this.$=r[l];break;case 68:n.updateElStyle("update_el_style",...r[l]),this.$=r[l];break;case 69:n.updateRelStyle("update_rel_style",...r[l]),this.$=r[l];break;case 70:n.updateLayoutConfig("update_layout_config",...r[l]),this.$=r[l];break;case 71:this.$=[r[l]];break;case 72:r[l].unshift(r[l-1]),this.$=r[l];break;case 73:case 75:this.$=r[l].trim();break;case 74:let o={};o[r[l-1].trim()]=r[l].trim(),this.$=o;break;case 76:this.$=""}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:70,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:71,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:72,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{13:73,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{14:[1,74]},t($,[2,13],{43:23,29:49,30:61,32:62,20:75,34:l,36:o,37:h,38:d,39:u,40:p,41:y,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q}),t($,[2,14]),t(q,[2,16],{12:[1,76]}),t($,[2,36],{12:[1,77]}),t(V,[2,19]),t(V,[2,20]),{25:[1,78]},{27:[1,79]},t(V,[2,23]),{35:80,75:81,76:H,77:G,79:K,80:J},{35:86,75:81,76:H,77:G,79:K,80:J},{35:87,75:81,76:H,77:G,79:K,80:J},{35:88,75:81,76:H,77:G,79:K,80:J},{35:89,75:81,76:H,77:G,79:K,80:J},{35:90,75:81,76:H,77:G,79:K,80:J},{35:91,75:81,76:H,77:G,79:K,80:J},{35:92,75:81,76:H,77:G,79:K,80:J},{35:93,75:81,76:H,77:G,79:K,80:J},{35:94,75:81,76:H,77:G,79:K,80:J},{35:95,75:81,76:H,77:G,79:K,80:J},{35:96,75:81,76:H,77:G,79:K,80:J},{35:97,75:81,76:H,77:G,79:K,80:J},{35:98,75:81,76:H,77:G,79:K,80:J},{35:99,75:81,76:H,77:G,79:K,80:J},{35:100,75:81,76:H,77:G,79:K,80:J},{35:101,75:81,76:H,77:G,79:K,80:J},{35:102,75:81,76:H,77:G,79:K,80:J},{35:103,75:81,76:H,77:G,79:K,80:J},{35:104,75:81,76:H,77:G,79:K,80:J},t(Z,[2,59]),{35:105,75:81,76:H,77:G,79:K,80:J},{35:106,75:81,76:H,77:G,79:K,80:J},{35:107,75:81,76:H,77:G,79:K,80:J},{35:108,75:81,76:H,77:G,79:K,80:J},{35:109,75:81,76:H,77:G,79:K,80:J},{35:110,75:81,76:H,77:G,79:K,80:J},{35:111,75:81,76:H,77:G,79:K,80:J},{35:112,75:81,76:H,77:G,79:K,80:J},{35:113,75:81,76:H,77:G,79:K,80:J},{35:114,75:81,76:H,77:G,79:K,80:J},{35:115,75:81,76:H,77:G,79:K,80:J},{20:116,29:49,30:61,32:62,34:l,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q},{12:[1,118],33:[1,117]},{35:119,75:81,76:H,77:G,79:K,80:J},{35:120,75:81,76:H,77:G,79:K,80:J},{35:121,75:81,76:H,77:G,79:K,80:J},{35:122,75:81,76:H,77:G,79:K,80:J},{35:123,75:81,76:H,77:G,79:K,80:J},{35:124,75:81,76:H,77:G,79:K,80:J},{35:125,75:81,76:H,77:G,79:K,80:J},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t($,[2,15]),t(q,[2,17],{21:22,19:130,22:e,23:a,24:n,26:i,28:r}),t($,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:n,26:i,28:r,34:l,36:o,37:h,38:d,39:u,40:p,41:y,44:f,45:b,46:g,47:x,48:_,49:m,50:E,51:A,52:S,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:W,62:N,63:P,64:M,65:B,66:Y,67:j,68:I,69:L,70:U,71:F,72:X,73:z,74:Q}),t(V,[2,21]),t(V,[2,22]),t(Z,[2,39]),t(tt,[2,71],{75:81,35:132,76:H,77:G,79:K,80:J}),t(te,[2,73]),{78:[1,133]},t(te,[2,75]),t(te,[2,76]),t(Z,[2,40]),t(Z,[2,41]),t(Z,[2,42]),t(Z,[2,43]),t(Z,[2,44]),t(Z,[2,45]),t(Z,[2,46]),t(Z,[2,47]),t(Z,[2,48]),t(Z,[2,49]),t(Z,[2,50]),t(Z,[2,51]),t(Z,[2,52]),t(Z,[2,53]),t(Z,[2,54]),t(Z,[2,55]),t(Z,[2,56]),t(Z,[2,57]),t(Z,[2,58]),t(Z,[2,60]),t(Z,[2,61]),t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,64]),t(Z,[2,65]),t(Z,[2,66]),t(Z,[2,67]),t(Z,[2,68]),t(Z,[2,69]),t(Z,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(ta,[2,28]),t(ta,[2,29]),t(ta,[2,30]),t(ta,[2,31]),t(ta,[2,32]),t(ta,[2,33]),t(ta,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(q,[2,18]),t($,[2,38]),t(tt,[2,72]),t(te,[2,74]),t(Z,[2,24]),t(Z,[2,35]),t(tn,[2,25]),t(tn,[2,26],{12:[1,138]}),t(tn,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:(0,s.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},"parseError"),parse:(0,s.eW)(function(t){var e=this,a=[0],n=[],i=[null],r=[],l=this.table,o="",h=0,d=0,u=0,p=r.slice.call(arguments,1),y=Object.create(this.lexer),f={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(f.yy[b]=this.yy[b]);y.setInput(t,f.yy),f.yy.lexer=y,f.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;r.push(g);var x=y.options&&y.options.ranges;"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _(){var t;return"number"!=typeof(t=n.pop()||y.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}(0,s.eW)(function(t){a.length=a.length-2*t,i.length=i.length-t,r.length=r.length-t},"popStack"),(0,s.eW)(_,"lex");for(var m,E,A,S,C,k,O,w,T,v={};;){if(A=a[a.length-1],this.defaultActions[A]?S=this.defaultActions[A]:(null==m&&(m=_()),S=l[A]&&l[A][m]),void 0===S||!S.length||!S[0]){var R="";for(k in T=[],l[A])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");R=y.showPosition?"Parse error on line "+(h+1)+":\n"+y.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(R,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:g,expected:T})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+A+", token: "+m);switch(S[0]){case 1:a.push(m),i.push(y.yytext),r.push(y.yylloc),a.push(S[1]),m=null,E?(m=E,E=null):(d=y.yyleng,o=y.yytext,h=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(O=this.productions_[S[1]][1],v.$=i[i.length-O],v._$={first_line:r[r.length-(O||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(O||1)].first_column,last_column:r[r.length-1].last_column},x&&(v._$.range=[r[r.length-(O||1)].range[0],r[r.length-1].range[1]]),void 0!==(C=this.performAction.apply(v,[o,d,h,f.yy,S[1],i,r].concat(p))))return C;O&&(a=a.slice(0,-1*O*2),i=i.slice(0,-1*O),r=r.slice(0,-1*O)),a.push(this.productions_[S[1]][0]),i.push(v.$),r.push(v._$),w=l[a[a.length-2]][a[a.length-1]],a.push(w);break;case 3:return!0}}return!0},"parse")},tr={EOF:1,parseError:(0,s.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,s.eW)(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},"setInput"),input:(0,s.eW)(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},"input"),unput:(0,s.eW)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.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:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[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},"unput"),more:(0,s.eW)(function(){return this._more=!0,this},"more"),reject:(0,s.eW)(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})},"reject"),less:(0,s.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s.eW)(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,"")},"upcomingInput"),showPosition:(0,s.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s.eW)(function(t,e){var a,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var r in i)this[r]=i[r];return!1},"test_match"),next:(0,s.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,a,n,i=this._currentRules(),r=0;re[0].length)){if(e=a,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[r])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,s.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,s.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,s.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,s.eW)(function(t,e,a,n){switch(a){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\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:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,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,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};function ts(){this.yy={}}return ti.lexer=tr,(0,s.eW)(ts,"Parser"),ts.prototype=ti,ti.Parser=ts,new ts}();h.parser=h;var d=[],u=[""],p="global",y="",f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],b=[],g="",x=!1,_=4,m=2,E=(0,s.eW)(function(){return n},"getC4Type"),A=(0,s.eW)(function(t){n=(0,s.oO)(t,(0,s.nV)())},"setC4Type"),S=(0,s.eW)(function(t,e,a,n,i,r,s,l,o){if(null==t||null==e||null==a||null==n)return;let h={},d=b.find(t=>t.from===e&&t.to===a);if(d?h=d:b.push(h),h.type=t,h.from=e,h.to=a,h.label={text:n},null==i)h.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];h[t]={text:e}}else h.techn={text:i};if(null==r)h.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];h[t]={text:e}}else h.descr={text:r};if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]=e}else h.sprite=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];h[t]=e}else h.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];h[t]=e}else h.link=o;h.wrap=Q()},"addRel"),C=(0,s.eW)(function(t,e,a,n,i,r,s){if(null===e||null===a)return;let l={},o=d.find(t=>t.alias===e);if(o&&e===o.alias?l=o:(l.alias=e,d.push(l)),null==a?l.label={text:""}:l.label={text:a},null==n)l.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.descr={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.sprite=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.tags=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.link=s;l.typeC4Shape={text:t},l.parentBoundary=p,l.wrap=Q()},"addPersonOrSystem"),k=(0,s.eW)(function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=d.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,d.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=Q(),o.typeC4Shape={text:t},o.parentBoundary=p},"addContainer"),O=(0,s.eW)(function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=d.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,d.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=Q(),o.typeC4Shape={text:t},o.parentBoundary=p},"addComponent"),w=(0,s.eW)(function(t,e,a,n,i){if(null===t||null===e)return;let r={},s=f.find(e=>e.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,f.push(r)),null==e?r.label={text:""}:r.label={text:e},null==a)r.type={text:"system"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=p,r.wrap=Q(),y=p,p=t,u.push(y)},"addPersonOrSystemBoundary"),T=(0,s.eW)(function(t,e,a,n,i){if(null===t||null===e)return;let r={},s=f.find(e=>e.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,f.push(r)),null==e?r.label={text:""}:r.label={text:e},null==a)r.type={text:"container"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=p,r.wrap=Q(),y=p,p=t,u.push(y)},"addContainerBoundary"),v=(0,s.eW)(function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=f.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,f.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.type={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=p,o.wrap=Q(),y=p,p=e,u.push(y)},"addDeploymentNode"),R=(0,s.eW)(function(){p=y,u.pop(),y=u.pop(),u.push(y)},"popBoundaryParseStack"),D=(0,s.eW)(function(t,e,a,n,i,r,s,l,o,h,u){let p=d.find(t=>t.alias===e);if(void 0!==p||void 0!==(p=f.find(t=>t.alias===e))){if(null!=a){if("object"==typeof a){let[t,e]=Object.entries(a)[0];p[t]=e}else p.bgColor=a}if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];p[t]=e}else p.fontColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];p[t]=e}else p.borderColor=i}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];p[t]=e}else p.shadowing=r}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];p[t]=e}else p.shape=s}if(null!=l){if("object"==typeof l){let[t,e]=Object.entries(l)[0];p[t]=e}else p.sprite=l}if(null!=o){if("object"==typeof o){let[t,e]=Object.entries(o)[0];p[t]=e}else p.techn=o}if(null!=h){if("object"==typeof h){let[t,e]=Object.entries(h)[0];p[t]=e}else p.legendText=h}if(null!=u){if("object"==typeof u){let[t,e]=Object.entries(u)[0];p[t]=e}else p.legendSprite=u}}},"updateElStyle"),W=(0,s.eW)(function(t,e,a,n,i,r,s){let l=b.find(t=>t.from===e&&t.to===a);if(void 0!==l){if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]=e}else l.textColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.lineColor=i}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(r)}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(s)}}},"updateRelStyle"),N=(0,s.eW)(function(t,e,a){let n=_,i=m;n="object"==typeof e?parseInt(Object.values(e)[0]):parseInt(e),i="object"==typeof a?parseInt(Object.values(a)[0]):parseInt(a),n>=1&&(_=n),i>=1&&(m=i)},"updateLayoutConfig"),P=(0,s.eW)(function(){return _},"getC4ShapeInRow"),M=(0,s.eW)(function(){return m},"getC4BoundaryInRow"),B=(0,s.eW)(function(){return p},"getCurrentBoundaryParse"),Y=(0,s.eW)(function(){return y},"getParentBoundaryParse"),j=(0,s.eW)(function(t){return null==t?d:d.filter(e=>e.parentBoundary===t)},"getC4ShapeArray"),I=(0,s.eW)(function(t){return d.find(e=>e.alias===t)},"getC4Shape"),L=(0,s.eW)(function(t){return Object.keys(j(t))},"getC4ShapeKeys"),U=(0,s.eW)(function(t){return null==t?f:f.filter(e=>e.parentBoundary===t)},"getBoundaries"),F=(0,s.eW)(function(){return b},"getRels"),X=(0,s.eW)(function(){return g},"getTitle"),z=(0,s.eW)(function(t){x=t},"setWrap"),Q=(0,s.eW)(function(){return x},"autoWrap"),$=(0,s.eW)(function(){d=[],f=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],y="",p="global",u=[""],b=[],u=[""],g="",x=!1,_=4,m=2},"clear"),q=(0,s.eW)(function(t){g=(0,s.oO)(t,(0,s.nV)())},"setTitle"),V={addPersonOrSystem:C,addPersonOrSystemBoundary:w,addContainer:k,addContainerBoundary:T,addComponent:O,addDeploymentNode:v,popBoundaryParseStack:R,addRel:S,updateElStyle:D,updateRelStyle:W,updateLayoutConfig:N,autoWrap:Q,setWrap:z,getC4ShapeArray:j,getC4Shape:I,getC4ShapeKeys:L,getBoundaries:U,getBoundarys:U,getCurrentBoundaryParse:B,getParentBoundaryParse:Y,getRels:F,getTitle:X,getC4Type:E,getC4ShapeInRow:P,getC4BoundaryInRow:M,setAccTitle:s.GN,getAccTitle:s.eu,getAccDescription:s.Mx,setAccDescription:s.U$,getConfig:(0,s.eW)(()=>(0,s.nV)().c4,"getConfig"),clear:$,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:q,setC4Type:A},H=(0,s.eW)(function(t,e){return(0,i.Mu)(t,e)},"drawRect"),G=(0,s.eW)(function(t,e,a,n,i,r){let s=t.append("image");s.attr("width",e),s.attr("height",a),s.attr("x",n),s.attr("y",i);let l=r.startsWith("data:image/png;base64")?r:(0,o.sanitizeUrl)(r);s.attr("xlink:href",l)},"drawImage"),K=(0,s.eW)((t,e,a)=>{let n=t.append("g"),i=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",r=t.lineColor?t.lineColor:"#444444",s=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0;if(0===i){let e=n.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",r),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)"),i=-1}else{let e=n.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)")}let o=a.messageFont();tc(a)(t.label.text,n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+s,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},o),t.techn&&""!==t.techn.text&&(o=a.messageFont(),tc(a)("["+t.techn.text+"]",n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+s,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+a.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},o))}},"drawRels"),J=(0,s.eW)(function(t,e,a){let n=t.append("g"),i=e.bgColor?e.bgColor:"none",r=e.borderColor?e.borderColor:"#444444",s=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1}),H(n,{x:e.x,y:e.y,fill:i,stroke:r,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l});let o=a.boundaryFont();o.fontWeight="bold",o.fontSize=o.fontSize+2,o.fontColor=s,tc(a)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},o),e.type&&""!==e.type.text&&((o=a.boundaryFont()).fontColor=s,tc(a)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},o)),e.descr&&""!==e.descr.text&&((o=a.boundaryFont()).fontSize=o.fontSize-2,o.fontColor=s,tc(a)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},o))},"drawBoundary"),Z=(0,s.eW)(function(t,e,a){let n=e.bgColor?e.bgColor:a[e.typeC4Shape.text+"_bg_color"],r=e.borderColor?e.borderColor:a[e.typeC4Shape.text+"_border_color"],s=e.fontColor?e.fontColor:"#FFFFFF",l="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":l="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":l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}let o=t.append("g");o.attr("class","person-man");let h=(0,i.kc)();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":h.x=e.x,h.y=e.y,h.fill=n,h.width=e.width,h.height=e.height,h.stroke=r,h.rx=2.5,h.ry=2.5,h.attrs={"stroke-width":.5},H(o,h);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",n).attr("stroke-width","0.5").attr("stroke",r).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",r).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",n).attr("stroke-width","0.5").attr("stroke",r).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",r).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 d=to(a,e.typeC4Shape.text);switch(o.append("text").attr("fill",s).attr("font-family",d.fontFamily).attr("font-size",d.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":G(o,48,48,e.x+e.width/2-24,e.y+e.image.Y,l)}let u=a[e.typeC4Shape.text+"Font"]();return u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=s,tc(a)(e.label.text,o,e.x,e.y+e.label.Y,e.width,e.height,{fill:s},u),(u=a[e.typeC4Shape.text+"Font"]()).fontColor=s,e.techn&&e.techn?.text!==""?tc(a)(e.techn.text,o,e.x,e.y+e.techn.Y,e.width,e.height,{fill:s,"font-style":"italic"},u):e.type&&""!==e.type.text&&tc(a)(e.type.text,o,e.x,e.y+e.type.Y,e.width,e.height,{fill:s,"font-style":"italic"},u),e.descr&&""!==e.descr.text&&((u=a.personFont()).fontColor=s,tc(a)(e.descr.text,o,e.x,e.y+e.descr.Y,e.width,e.height,{fill:s},u)),e.height},"drawC4Shape"),tt=(0,s.eW)(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")},"insertDatabaseIcon"),te=(0,s.eW)(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")},"insertComputerIcon"),ta=(0,s.eW)(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")},"insertClockIcon"),tn=(0,s.eW)(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")},"insertArrowHead"),ti=(0,s.eW)(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")},"insertArrowEnd"),tr=(0,s.eW)(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")},"insertArrowFilledHead"),ts=(0,s.eW)(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)},"insertDynamicNumber"),tl=(0,s.eW)(function(t){let 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")},"insertArrowCrossHead"),to=(0,s.eW)((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"getC4ShapeFont"),tc=function(){function t(t,e,a,i,r,s,l){n(e.append("text").attr("x",a+r/2).attr("y",i+s/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,a,i,r,l,o,h){let{fontSize:d,fontFamily:u,fontWeight:p}=h,y=t.split(s.SY.lineBreakRegex);for(let t=0;t=this.data.widthLimit||a>=this.data.widthLimit||this.nextData.cnt>tp)&&(e=this.nextData.startx+t.margin+tf.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=a=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",a,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},tg(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}},tg=(0,s.eW)(function(t){(0,s.Yc)(tf,t),t.fontFamily&&(tf.personFontFamily=tf.systemFontFamily=tf.messageFontFamily=t.fontFamily),t.fontSize&&(tf.personFontSize=tf.systemFontSize=tf.messageFontSize=t.fontSize),t.fontWeight&&(tf.personFontWeight=tf.systemFontWeight=tf.messageFontWeight=t.fontWeight)},"setConf"),tx=(0,s.eW)((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"c4ShapeFont"),t_=(0,s.eW)(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),tm=(0,s.eW)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");function tE(t,e,a,n,i){if(!e[t].width){if(a)e[t].text=(0,r.X4)(e[t].text,i,n),e[t].textLines=e[t].text.split(s.SY.lineBreakRegex).length,e[t].width=i,e[t].height=(0,r.XD)(e[t].text,n);else{let a=e[t].text.split(s.SY.lineBreakRegex);e[t].textLines=a.length;let i=0;for(let s of(e[t].height=0,e[t].width=0,a))e[t].width=Math.max((0,r.Cq)(s,n),e[t].width),i=(0,r.XD)(s,n),e[t].height=e[t].height+i}}}(0,s.eW)(tE,"calcC4ShapeTextWH");var tA=(0,s.eW)(function(t,e,a){e.x=a.data.startx,e.y=a.data.starty,e.width=a.data.stopx-a.data.startx,e.height=a.data.stopy-a.data.starty,e.label.y=tf.c4ShapeMargin-35;let n=e.wrap&&tf.wrap,i=t_(tf);i.fontSize=i.fontSize+2,i.fontWeight="bold";let s=(0,r.Cq)(e.label.text,i);tE("label",e,n,i,s),th.drawBoundary(t,e,tf)},"drawBoundary"),tS=(0,s.eW)(function(t,e,a,n){let i=0;for(let s of n){i=0;let n=a[s],l=tx(tf,n.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,n.typeC4Shape.width=(0,r.Cq)("\xab"+n.typeC4Shape.text+"\xbb",l),n.typeC4Shape.height=l.fontSize+2,n.typeC4Shape.Y=tf.c4ShapePadding,i=n.typeC4Shape.Y+n.typeC4Shape.height-4,n.image={width:0,height:0,Y:0},n.typeC4Shape.text){case"person":case"external_person":n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height}n.sprite&&(n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height);let o=n.wrap&&tf.wrap,h=tf.width-2*tf.c4ShapePadding,d=tx(tf,n.typeC4Shape.text);if(d.fontSize=d.fontSize+2,d.fontWeight="bold",tE("label",n,o,d,h),n.label.Y=i+8,i=n.label.Y+n.label.height,n.type&&""!==n.type.text){n.type.text="["+n.type.text+"]";let t=tx(tf,n.typeC4Shape.text);tE("type",n,o,t,h),n.type.Y=i+5,i=n.type.Y+n.type.height}else if(n.techn&&""!==n.techn.text){n.techn.text="["+n.techn.text+"]";let t=tx(tf,n.techn.text);tE("techn",n,o,t,h),n.techn.Y=i+5,i=n.techn.Y+n.techn.height}let u=i,p=n.label.width;if(n.descr&&""!==n.descr.text){let t=tx(tf,n.typeC4Shape.text);tE("descr",n,o,t,h),n.descr.Y=i+20,i=n.descr.Y+n.descr.height,p=Math.max(n.label.width,n.descr.width),u=i-5*n.descr.textLines}p+=tf.c4ShapePadding,n.width=Math.max(n.width||tf.width,p,tf.width),n.height=Math.max(n.height||tf.height,u,tf.height),n.margin=n.margin||tf.c4ShapeMargin,t.insert(n),th.drawC4Shape(e,n,tf)}t.bumpLastMargin(tf.c4ShapeMargin)},"drawC4ShapeArray"),tC=class{static{(0,s.eW)(this,"Point")}constructor(t,e){this.x=t,this.y=e}},tk=(0,s.eW)(function(t,e){let a=t.x,n=t.y,i=e.x,r=e.y,s=a+t.width/2,l=n+t.height/2,o=Math.abs(a-i),h=Math.abs(n-r),d=h/o,u=t.height/t.width,p=null;return n==r&&ai?p=new tC(a,l):a==i&&nr&&(p=new tC(s,n)),a>i&&n=d?new tC(a,l+d*t.width/2):new tC(s-o/h*t.height/2,n+t.height):a=d?new tC(a+t.width,l+d*t.width/2):new tC(s+o/h*t.height/2,n+t.height):ar?p=u>=d?new tC(a+t.width,l-d*t.width/2):new tC(s+t.height/2*o/h,n):a>i&&n>r&&(p=u>=d?new tC(a,l-t.width/2*d):new tC(s-t.height/2*o/h,n)),p},"getIntersectPoint"),tO=(0,s.eW)(function(t,e){let a={x:0,y:0};a.x=e.x+e.width/2,a.y=e.y+e.height/2;let n=tk(t,a);return a.x=t.x+t.width/2,a.y=t.y+t.height/2,{startPoint:n,endPoint:tk(e,a)}},"getIntersectPoints"),tw=(0,s.eW)(function(t,e,a,n){let i=0;for(let t of e){i+=1;let e=t.wrap&&tf.wrap,s=tm(tf);"C4Dynamic"===n.db.getC4Type()&&(t.label.text=i+": "+t.label.text);let l=(0,r.Cq)(t.label.text,s);tE("label",t,e,s,l),t.techn&&""!==t.techn.text&&(l=(0,r.Cq)(t.techn.text,s),tE("techn",t,e,s,l)),t.descr&&""!==t.descr.text&&(l=(0,r.Cq)(t.descr.text,s),tE("descr",t,e,s,l));let o=tO(a(t.from),a(t.to));t.startPoint=o.startPoint,t.endPoint=o.endPoint}th.drawRels(t,e,tf)},"drawRels");function tT(t,e,a,n,i){let r=new tb(i);for(let[s,l]of(r.data.widthLimit=a.data.widthLimit/Math.min(ty,n.length),n.entries())){let n=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=n,n=l.image.Y+l.image.height);let o=l.wrap&&tf.wrap,h=t_(tf);if(h.fontSize=h.fontSize+2,h.fontWeight="bold",tE("label",l,o,h,r.data.widthLimit),l.label.Y=n+8,n=l.label.Y+l.label.height,l.type&&""!==l.type.text&&(l.type.text="["+l.type.text+"]",tE("type",l,o,t_(tf),r.data.widthLimit),l.type.Y=n+5,n=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=t_(tf);t.fontSize=t.fontSize-2,tE("descr",l,o,t,r.data.widthLimit),l.descr.Y=n+20,n=l.descr.Y+l.descr.height}if(0==s||s%ty==0){let t=a.data.startx+tf.diagramMarginX,e=a.data.stopy+tf.diagramMarginY+n;r.setData(t,t,e,e)}else{let t=r.data.stopx!==r.data.startx?r.data.stopx+tf.diagramMarginX:r.data.startx,e=r.data.starty;r.setData(t,t,e,e)}r.name=l.alias;let d=i.db.getC4ShapeArray(l.alias),u=i.db.getC4ShapeKeys(l.alias);u.length>0&&tS(r,t,d,u),e=l.alias;let p=i.db.getBoundarys(e);p.length>0&&tT(t,e,r,p,i),"global"!==l.alias&&tA(t,l,r),a.data.stopy=Math.max(r.data.stopy+tf.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(r.data.stopx+tf.c4ShapeMargin,a.data.stopx),td=Math.max(td,a.data.stopx),tu=Math.max(tu,a.data.stopy)}}(0,s.eW)(tT,"drawInsideBoundary");var tv={drawPersonOrSystemArray:tS,drawBoundary:tA,setConf:tg,draw:(0,s.eW)(function(t,e,a,n){let i;tf=(0,s.nV)().c4;let r=(0,s.nV)().securityLevel;"sandbox"===r&&(i=(0,l.Ys)("#i"+e));let o="sandbox"===r?(0,l.Ys)(i.nodes()[0].contentDocument.body):(0,l.Ys)("body"),h=n.db;n.db.setWrap(tf.wrap),tp=h.getC4ShapeInRow(),ty=h.getC4BoundaryInRow(),s.cM.debug(`C:${JSON.stringify(tf,null,2)}`);let d="sandbox"===r?o.select(`[id="${e}"]`):(0,l.Ys)(`[id="${e}"]`);th.insertComputerIcon(d),th.insertDatabaseIcon(d),th.insertClockIcon(d);let u=new tb(n);u.setData(tf.diagramMarginX,tf.diagramMarginX,tf.diagramMarginY,tf.diagramMarginY),u.data.widthLimit=screen.availWidth,td=tf.diagramMarginX,tu=tf.diagramMarginY;let p=n.db.getTitle();tT(d,"",u,n.db.getBoundarys(""),n),th.insertArrowHead(d),th.insertArrowEnd(d),th.insertArrowCrossHead(d),th.insertArrowFilledHead(d),tw(d,n.db.getRels(),n.db.getC4Shape,n),u.data.stopx=td,u.data.stopy=tu;let y=u.data,f=y.stopy-y.starty+2*tf.diagramMarginY,b=y.stopx-y.startx+2*tf.diagramMarginX;p&&d.append("text").text(p).attr("x",(y.stopx-y.startx)/2-4*tf.diagramMarginX).attr("y",y.starty+tf.diagramMarginY),(0,s.v2)(d,f,b,tf.useMaxWidth);let g=p?60:0;d.attr("viewBox",y.startx-tf.diagramMarginX+" -"+(tf.diagramMarginY+g)+" "+b+" "+(f+g)),s.cM.debug("models:",y)},"draw")},tR=(0,s.eW)(t=>`.person { + stroke: ${t.personBorder}; + fill: ${t.personBkg}; + } +`,"getStyles"),tD={parser:h,db:V,renderer:tv,styles:tR,init:(0,s.eW)(({c4:t,wrap:e})=>{tv.setConf(t),V.setWrap(e)},"init")}},98711:function(t,e,a){a.d(e,{AD:function(){return u},AE:function(){return o},Mu:function(){return r},O:function(){return s},kc:function(){return d},rB:function(){return h},yU:function(){return l}});var n=a(5995),i=a(17967),r=(0,n.eW)((t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),s=(0,n.eW)((t,e)=>{r(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),l=(0,n.eW)((t,e)=>{let a=e.text.replace(n.Vw," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),e.class&&i.attr("class",e.class);let r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(a),i},"drawText"),o=(0,n.eW)((t,e,a,n)=>{let r=t.append("image");r.attr("x",e),r.attr("y",a);let s=(0,i.sanitizeUrl)(n);r.attr("xlink:href",s)},"drawImage"),h=(0,n.eW)((t,e,a,n)=>{let r=t.append("use");r.attr("x",e),r.attr("y",a);let s=(0,i.sanitizeUrl)(n);r.attr("xlink:href",`#${s}`)},"drawEmbeddedImage"),d=(0,n.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),u=(0,n.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/17896441.72a0dee3.js b/pr-preview/pr-5/assets/js/17896441.72a0dee3.js new file mode 100644 index 0000000..fcc48cb --- /dev/null +++ b/pr-preview/pr-5/assets/js/17896441.72a0dee3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7048"],{52520:function(e,t,n){n.d(t,{Z:()=>p});var s=n("85893");n("67294");var a=n("67026"),l=n("84681"),i=n("69369"),o=n("79246"),r=n("83012"),c=n("96025"),d=n("4757");function u(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("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"})})}let m="breadcrumbHomeIcon_YNFT";function h(){let e=(0,d.ZP)("/");return(0,s.jsx)("li",{className:"breadcrumbs__item",children:(0,s.jsx)(r.Z,{"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,s.jsx)(u,{className:m})})})}let b="breadcrumbsContainer_Z_bl";function x(e){let{children:t,href:n,isLast:a}=e,l="breadcrumbs__link";return a?(0,s.jsx)("span",{className:l,itemProp:"name",children:t}):n?(0,s.jsx)(r.Z,{className:l,href:n,itemProp:"item",children:(0,s.jsx)("span",{itemProp:"name",children:t})}):(0,s.jsx)("span",{className:l,children:t})}function v(e){let{children:t,active:n,index:l,addMicrodata:i}=e;return(0,s.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,a.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,s.jsx)("meta",{itemProp:"position",content:String(l+1)})]})}function p(){let e=(0,i.s1)(),t=(0,o.Ns)();return e?(0,s.jsx)("nav",{className:(0,a.Z)(l.k.docs.docBreadcrumbs,b),"aria-label":(0,c.translate)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,s.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,s.jsx)(h,{}),e.map((t,n)=>{let a=n===e.length-1,l="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,s.jsx)(v,{active:a,index:n,addMicrodata:!!l,children:(0,s.jsx)(x,{href:l,isLast:a,children:t.label})},n)})]})}):null}},25628:function(e,t,n){n.r(t),n.d(t,{default:()=>S});var s=n("85893"),a=n("67294"),l=n("14713"),i=n("85346");let o=a.createContext(null);function r(e){var t;let{children:n,content:l}=e;let i=(t=l,(0,a.useMemo)(()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,contentTitle:t.contentTitle,toc:t.toc}),[t]));return(0,s.jsx)(o.Provider,{value:i,children:n})}function c(){let e=(0,a.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){let{metadata:e,frontMatter:t,assets:n}=c();return(0,s.jsx)(l.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n("67026"),m=n("54704"),h=n("23944");function b(){let{metadata:e}=c();return(0,s.jsx)(h.Z,{previous:e.previous,next:e.next})}var x=n("59580"),v=n("46035"),p=n("84681"),j=n("96025"),g=n("48627");let f="tags_jXut",_="tag_QGVx";function C(e){let{tags:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("b",{children:(0,s.jsx)(j.default,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,s.jsx)("ul",{className:(0,u.Z)(f,"padding--none","margin-left--sm"),children:t.map(e=>(0,s.jsx)("li",{className:_,children:(0,s.jsx)(g.Z,{...e})},e.permalink))})]})}var N=n("86594");function k(){let{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,tags:l}=e,i=l.length>0,o=!!(t||n||a);return i||o?(0,s.jsxs)("footer",{className:(0,u.Z)(p.k.docs.docFooter,"docusaurus-mt-lg"),children:[i&&(0,s.jsx)("div",{className:(0,u.Z)("row margin-top--sm",p.k.docs.docFooterTagsRow),children:(0,s.jsx)("div",{className:"col",children:(0,s.jsx)(C,{tags:l})})}),o&&(0,s.jsx)(N.Z,{className:(0,u.Z)("margin-top--sm",p.k.docs.docFooterEditMetaRow),editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a})]}):null}var Z=n("57455"),L=n("76365");let T={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function w(e){let{collapsed:t,...n}=e;return(0,s.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",T.tocCollapsibleButton,!t&&T.tocCollapsibleButtonExpanded,n.className),children:(0,s.jsx)(j.default,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}let B={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function E(e){let{toc:t,className:n,minHeadingLevel:a,maxHeadingLevel:l}=e,{collapsed:i,toggleCollapsed:o}=(0,Z.u)({initialState:!0});return(0,s.jsxs)("div",{className:(0,u.Z)(B.tocCollapsible,!i&&B.tocCollapsibleExpanded,n),children:[(0,s.jsx)(w,{collapsed:i,onClick:o}),(0,s.jsx)(Z.z,{lazy:!0,className:B.tocCollapsibleContent,collapsed:i,children:(0,s.jsx)(L.Z,{toc:t,minHeadingLevel:a,maxHeadingLevel:l})})]})}let I="tocMobile_ITEo";function M(){let{toc:e,frontMatter:t}=c();return(0,s.jsx)(E,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(p.k.docs.docTocMobile,I)})}var V=n("1397");function y(){let{toc:e,frontMatter:t}=c();return(0,s.jsx)(V.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:p.k.docs.docTocDesktop})}var A=n("34403"),H=n("2584");function P(e){let{children:t}=e,n=function(){let{metadata:e,frontMatter:t,contentTitle:n}=c();return!t.hide_title&&void 0===n?e.title:null}();return(0,s.jsxs)("div",{className:(0,u.Z)(p.k.docs.docMarkdown,"markdown"),children:[n&&(0,s.jsx)("header",{children:(0,s.jsx)(A.Z,{as:"h1",children:n})}),(0,s.jsx)(H.Z,{children:t})]})}var F=n("52520"),R=n("38813");let D={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function O(e){let{children:t}=e,n=function(){let{frontMatter:e,toc:t}=c(),n=(0,m.i)(),a=e.hide_table_of_contents,l=!a&&t.length>0,i=l?(0,s.jsx)(M,{}):void 0;return{hidden:a,mobile:i,desktop:l&&("desktop"===n||"ssr"===n)?(0,s.jsx)(y,{}):void 0}}(),{metadata:a}=c();return(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&D.docItemCol),children:[(0,s.jsx)(R.Z,{metadata:a}),(0,s.jsx)(x.Z,{}),(0,s.jsxs)("div",{className:D.docItemContainer,children:[(0,s.jsxs)("article",{children:[(0,s.jsx)(F.Z,{}),(0,s.jsx)(v.Z,{}),n.mobile,(0,s.jsx)(P,{children:t}),(0,s.jsx)(k,{})]}),(0,s.jsx)(b,{})]})]}),n.desktop&&(0,s.jsx)("div",{className:"col col--3",children:n.desktop})]})}function S(e){let t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,s.jsx)(r,{content:e.content,children:(0,s.jsxs)(l.FG,{className:t,children:[(0,s.jsx)(d,{}),(0,s.jsx)(O,{children:(0,s.jsx)(n,{})})]})})}},23944:function(e,t,n){n.d(t,{Z:()=>r});var s=n("85893");n("67294");var a=n("96025"),l=n("67026"),i=n("83012");function o(e){let{permalink:t,title:n,subLabel:a,isNext:o}=e;return(0,s.jsxs)(i.Z,{className:(0,l.Z)("pagination-nav__link",o?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[a&&(0,s.jsx)("div",{className:"pagination-nav__sublabel",children:a}),(0,s.jsx)("div",{className:"pagination-nav__label",children:n})]})}function r(e){let{previous:t,next:n}=e;return(0,s.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,a.translate)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,s.jsx)(o,{...t,subLabel:(0,s.jsx)(a.default,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,s.jsx)(o,{...n,subLabel:(0,s.jsx)(a.default,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},46035:function(e,t,n){n.d(t,{Z:function(){return r}});var s=n(85893);n(67294);var a=n(67026),l=n(96025),i=n(84681),o=n(68529);function r(e){let{className:t}=e,n=(0,o.E)();return n.badge?(0,s.jsx)("span",{className:(0,a.Z)(t,i.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,s.jsx)(l.default,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},59580:function(e,t,n){n.d(t,{Z:function(){return v}});var s=n(85893);n(67294);var a=n(67026),l=n(2933),i=n(83012),o=n(96025),r=n(81723),c=n(84681),d=n(93896),u=n(68529);let m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,s.jsx)(o.default,{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:(0,s.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,s.jsx)(o.default,{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:(0,s.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){let t=m[e.versionMetadata.banner];return(0,s.jsx)(t,{...e})}function b(e){let{versionLabel:t,to:n,onClick:a}=e;return(0,s.jsx)(o.default,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,s.jsx)("b",{children:(0,s.jsx)(i.Z,{to:n,onClick:a,children:(0,s.jsx)(o.default,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function x(e){let t,{className:n,versionMetadata:i}=e,{siteConfig:{title:o}}=(0,l.Z)(),{pluginId:u}=(0,r.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(u),{latestDocSuggestion:x,latestVersionSuggestion:v}=(0,r.Jo)(u);let p=x??(t=v).docs.find(e=>e.id===t.mainDocId);return(0,s.jsxs)("div",{className:(0,a.Z)(n,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,s.jsx)("div",{children:(0,s.jsx)(h,{siteTitle:o,versionMetadata:i})}),(0,s.jsx)("div",{className:"margin-top--md",children:(0,s.jsx)(b,{versionLabel:v.label,to:p.path,onClick:()=>m(v.name)})})]})}function v(e){let{className:t}=e,n=(0,u.E)();return n.banner?(0,s.jsx)(x,{className:t,versionMetadata:n}):null}},48627:function(e,t,n){n.d(t,{Z:()=>o});var s=n("85893");n("67294");var a=n("67026"),l=n("83012");let i={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function o(e){let{permalink:t,label:n,count:o,description:r}=e;return(0,s.jsxs)(l.Z,{href:t,title:r,className:(0,a.Z)(i.tag,o?i.tagWithCount:i.tagRegular),children:[n,o&&(0,s.jsx)("span",{children:o})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/1824.d9e8ca59.js b/pr-preview/pr-5/assets/js/1824.d9e8ca59.js new file mode 100644 index 0000000..fb40cf2 --- /dev/null +++ b/pr-preview/pr-5/assets/js/1824.d9e8ca59.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1824"],{31764:function(e,n,r){r.d(n,{createPieServices:function(){return s.l}});var s=r(75243);r(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/1996.9a0f09ed.js b/pr-preview/pr-5/assets/js/1996.9a0f09ed.js new file mode 100644 index 0000000..77d9429 --- /dev/null +++ b/pr-preview/pr-5/assets/js/1996.9a0f09ed.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1996"],{89455:function(e,n,c){c.d(n,{createPacketServices:function(){return r.g}});var r=c(16100);c(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/1ba952d0.e723501e.js b/pr-preview/pr-5/assets/js/1ba952d0.e723501e.js new file mode 100644 index 0000000..6ccffc5 --- /dev/null +++ b/pr-preview/pr-5/assets/js/1ba952d0.e723501e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6410"],{38937:function(e){e.exports=JSON.parse('{"tag":{"label":"Business","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/business","description":"Content related to business cases and rationale","allTagsPath":"/nr-pies/pr-preview/pr-5/docs/tags","count":3,"items":[{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","permalink":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started"},{"id":"spec/concept/process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking"},{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","permalink":"/nr-pies/pr-preview/pr-5/docs/intro/terminology"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/1df93b7f.a81e42d3.js b/pr-preview/pr-5/assets/js/1df93b7f.a81e42d3.js new file mode 100644 index 0000000..69e50f5 --- /dev/null +++ b/pr-preview/pr-5/assets/js/1df93b7f.a81e42d3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8706"],{85108:function(e,t,l){l.d(t,{Z:function(){return n}});var a=l(67294);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:l,...n}=e;return a.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 410 410","aria-labelledby":l},n),t?a.createElement("title",{id:l},t):null,a.createElement("path",{d:"m170.87 1031.5 9.78-15.68 2.793.41c6.71.983 14.376 1.53 21.5 1.536 6.946 0 9.727-.186 21.773-1.498l3.68-.401 9.019 14.61c4.96 8.035 9.391 15.12 9.848 15.743.8 1.09 1.1 1.06 8.147-.834 9.955-2.674 21.658-6.796 31.384-11.053 10.684-4.676 26.554-13.377 26.545-14.554 0-.249-1.89-8.384-4.196-18.079l-4.192-17.627 6.189-5.04c7.72-6.288 18.256-16.833 24.25-24.267 2.512-3.116 4.96-5.666 5.44-5.666s8.577 1.794 17.992 3.987c9.414 2.193 17.229 3.987 17.364 3.987.656 0 7.029-11.441 11.345-20.367 5.822-12.042 10.109-23.404 13.476-35.725 1.932-7.069 2.33-9.28 1.734-9.641a7831 7831 0 0 1-15.8-9.86c-11.99-7.494-14.998-9.636-14.886-10.6 1.88-16.198 1.798-37.2-.184-46.976-.31-1.527.457-2.098 14.819-11.04 8.33-5.187 15.437-9.619 15.794-9.849 1.356-.875-4.375-20.435-9.99-34.097-4.045-9.84-12.99-27.37-16.257-31.863-.055-.076-8.227 1.796-18.158 4.16l-18.057 4.297-1.84-2.31c-8.956-11.238-18.167-20.533-28.98-29.244-2.446-1.97-4.447-3.682-4.447-3.804s1.794-7.943 3.987-17.38 3.986-17.561 3.986-18.053c0-1.727-18.082-11.504-31.407-16.981-13.568-5.577-33.22-11.348-34.108-10.015-.23.346-4.663 7.455-9.85 15.797-6.133 9.86-9.713 15.061-10.232 14.862-.44-.169-5.945-.651-12.233-1.072-9.181-.615-13.63-.613-22.581.01-6.132.428-11.85.918-12.706 1.089-1.46.291-2.16-.662-10.983-14.92-5.184-8.377-9.622-15.457-9.862-15.733-.982-1.131-20.802 4.688-33.332 9.786-13.335 5.426-32.257 15.65-32.27 17.437-.01.529 1.786 8.493 3.979 17.7 2.192 9.205 3.986 17.076 3.986 17.492s-2.277 2.514-5.06 4.663c-6.51 5.027-20.55 19.068-25.577 25.577-2.15 2.783-4.346 5.056-4.882 5.05-.535-.005-8.702-1.783-18.147-3.951l-17.173-3.942-1.041 1.345c-1.851 2.39-8.942 15.27-12.051 21.892-4.235 9.016-8.77 21.493-11.704 32.192-1.374 5.008-2.497 9.29-2.497 9.514s7.057 4.802 15.682 10.171l15.682 9.762-.368 3.68c-1.643 16.424-1.58 30.111.194 42.751l.49 3.499-12.62 7.817c-6.94 4.299-14.05 8.724-15.797 9.833l-3.178 2.017 2.066 7.828c2.782 10.54 7.088 22.75 11.33 32.126 3.587 7.93 11.007 21.498 13.2 24.138l1.227 1.477 17.787-4.231 17.787-4.232 1.533 1.95c8.328 10.588 19.1 21.55 28.675 29.177 3.304 2.631 4.97 4.361 4.796 4.98-.828 2.955-7.71 33.854-7.71 34.616 0 1.819 20.232 12.64 33.12 17.715 9.996 3.937 27.986 9.49 30.972 9.562.95.023 3.428-3.5 11.007-15.651zm16.613-46.558c-46.751-6.362-86.28-34.575-106.5-76.015-10.372-21.253-14.31-38.23-14.299-61.64.011-23.477 3.747-39.693 14.111-61.253 6.667-13.868 13.94-24.152 25.36-35.86 22.308-22.869 52.258-37.466 83.943-40.911 8.798-.957 29.532-.448 37.532.921 38.597 6.605 72.914 29.006 93.995 61.357 7.679 11.783 15.552 30.325 18.751 44.16 7.266 31.423 3.294 65.06-11.078 93.816-20.91 41.837-61.455 70.015-109 75.756-7.138.862-25.399.678-32.809-.33zm80.351-47.522c1.122-1.24 1.021-1.367-9.105-11.507-8.654-8.665-10.24-10.536-10.24-12.078 0-1.527 1.379-3.206 8.425-10.267 11.308-11.329 9.71-11.448 22.882 1.706 10.127 10.114 10.164 10.143 11.308 8.879 1.127-1.245 1.094-1.473-1.801-12.447l-2.95-11.179-5.852-5.945-5.853-5.945-11.086-2.59-11.086-2.588-34.988-34.88-34.988-34.88-2.016-8.412c-3.699-15.43-3.003-13.99-9.784-20.247l-6.051-5.584-10.98-3.067c-10.882-3.04-10.99-3.057-12.186-1.874-1.198 1.184-1.132 1.268 9.046 11.51 8.567 8.621 10.253 10.613 10.253 12.11 0 1.486-1.487 3.281-8.732 10.539-6.585 6.597-9.109 8.747-10.267 8.747-1.166 0-3.987-2.45-11.756-10.208-10.232-10.219-11.565-11.117-12.577-8.48-.204.533.942 6.03 2.546 12.218l2.918 11.25 5.9 5.83 5.902 5.831 11.154 2.62 11.154 2.619 34.888 35.007 34.888 35.007 2.598 11.157 2.598 11.157 6.14 5.66 6.14 5.662 10.54 2.92c5.796 1.606 10.84 2.939 11.21 2.962s1.183-.523 1.807-1.212zm-114.41-7.402c3.59-1.661 6.216-4.07 26.371-24.178l22.384-22.332-3.648-3.686-3.648-3.686-9.31 9.189c-8.476 8.366-9.505 9.19-11.485 9.19-1.62 0-2.5-.414-3.446-1.617-2.667-3.39-2.018-4.54 8.613-15.263l8.526-8.6-3.839-3.779-3.838-3.78-9.637 9.16c-10.391 9.875-11.546 10.503-14.397 7.825-.96-.902-1.42-2.03-1.42-3.482 0-1.948.857-3.012 9.198-11.415l9.197-9.266-3.686-3.647-3.685-3.647-22.096 22.069c-24.136 24.106-25.093 25.317-26.468 33.478-.961 5.708.077 9.974 3.55 14.594 2.966 3.946 8.952 9.735 12.46 12.05 5.636 3.72 13.364 4.034 20.303.824zm71.146-105.42-21.16-20.766-2.923 2.853-2.924 2.853 21.011 21.018 21.011 21.018 3.072-3.105 3.072-3.105zm25.617-15.806 15.337-15.8 7.277-2.378 7.276-2.379 6.406-9.319c3.523-5.126 6.5-9.602 6.615-9.947s-2.827-3.45-6.538-6.898l-6.747-6.27-9.47 6.787-9.471 6.788-2.358 6.752-2.357 6.751-16.095 16.094-16.095 16.094 4.735 4.762c2.603 2.62 5.052 4.763 5.442 4.763s7.609-7.11 16.044-15.8z",style:{fill:"#e12d0e"},transform:"translate(0 -642.36)"}))}},10184:function(e,t,l){l.d(t,{Z:function(){return n}});var a=l(67294);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:l,...n}=e;return a.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 126.8 122.88","aria-labelledby":l},n),t?a.createElement("title",{id:l},t):null,a.createElement("path",{d:"M69.4 78.06c3.92-1.6 6.86-4.61 8.47-8.23 1.65-3.71 1.89-8.04.32-12.12v-.01c-1.56-4.07-4.64-7.13-8.35-8.78-3.7-1.65-8.04-1.89-12.12-.32-4.07 1.56-7.13 4.64-8.78 8.35-1.65 3.7-1.89 8.04-.32 12.12v.01l.02-.01c.8 2.08 2.03 3.95 3.58 5.5 1.57 1.57 3.44 2.81 5.5 3.6 2.36.9 3.54 3.54 2.64 5.9l.02.01-13.75 35.83a4.59 4.59 0 0 1-5.92 2.66c-.14-.05-.27-.11-.4-.17-16.15-6.32-28.25-18.54-34.79-33.22-6.62-14.83-7.57-32.16-1.3-48.48.05-.14.11-.27.17-.4 6.32-16.15 18.54-28.25 33.22-34.79C52.44-1.1 69.78-2.05 86.1 4.22c12.31 4.72 22.3 12.87 29.3 22.93a63.6 63.6 0 0 1 11.38 35.56v.04h.02v1.09c0 .16-.01.31-.02.46-.05 3.64-.41 7.27-1.09 10.86a64 64 0 0 1-3.12 10.94l.02.01a63.3 63.3 0 0 1-14.36 22.12 63.5 63.5 0 0 1-22.12 14.36c-2.37.9-5.02-.29-5.92-2.66L66.43 84.09c-.9-2.37.29-5.02 2.66-5.92.1-.04.2-.08.31-.11m16.83-4.49a24.92 24.92 0 0 1-9.74 11.12l10.55 27.49c5.48-2.66 10.43-6.2 14.69-10.46a54.2 54.2 0 0 0 12.28-18.89l.02.01v-.01a54.702 54.702 0 0 0 3.61-18.64c-.01-.12-.01-.24-.01-.36v-1.09h.02c-.13-10.9-3.6-21.48-9.77-30.35-5.98-8.6-14.52-15.55-25.03-19.59-13.99-5.37-28.82-4.57-41.48 1.07-12.58 5.6-23.04 15.96-28.44 29.76-.03.11-.07.23-.11.34-5.37 13.99-4.57 28.82 1.07 41.49 5.06 11.37 14.01 21.01 25.88 26.75l10.56-27.5a25 25 0 0 1-4.59-3.61 24.9 24.9 0 0 1-5.66-8.73l.02-.01c-2.47-6.44-2.1-13.27.5-19.11a24.89 24.89 0 0 1 13.41-12.97c.3-.15.61-.28.95-.36 6.3-2.28 12.95-1.87 18.65.67A24.89 24.89 0 0 1 86.58 54c.15.3.28.62.36.95a25.02 25.02 0 0 1-.71 18.62",style:{fill:"#21552a"}}),a.createElement("path",{d:"M70.71 82.46c10.53-4.04 15.78-15.85 11.74-26.38-4.03-10.53-15.84-15.78-26.37-11.74-10.52 4.04-15.78 15.85-11.74 26.37 2.07 5.4 6.34 9.67 11.74 11.74l-13.75 35.83C12.01 106.65-3.13 72.65 8.51 42.33 20.14 12.01 54.15-3.13 84.47 8.51c23.16 8.89 37.47 30.84 37.74 54.23v1.09a58.9 58.9 0 0 1-3.91 20.64 58.77 58.77 0 0 1-33.82 33.82z",style:{fill:"#3fa652"}}))}},21677:function(e,t,l){l.d(t,{Z:function(){return w}});var a,c,n,r,i,s,f,h,o,d,m,u,p,v,g,x,b,E,j,y=l(67294);function M(){return(M=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:l,...w}=e;return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:926.622,height:600.085,"data-name":"Layer 1",viewBox:"0 0 926.622 600.085","aria-labelledby":l},w),t?y.createElement("title",{id:l},t):null,a||(a=y.createElement("circle",{cx:150.534,cy:254.872,r:24.561,fill:"#ffb8b8"})),c||(c=y.createElement("path",{fill:"#ffb8b8",d:"m67.543 549.197 6.219 10.566 43.712-18.96-9.179-15.593z"})),n||(n=y.createElement("path",{fill:"#2f2e41",d:"m69.406 544.472 12.248 20.807a15.386 15.386 0 0 1-5.455 21.065l-.431.254-20.052-34.067Z"})),r||(r=y.createElement("path",{fill:"#ffb8b8",d:"m139.6 587.26 12.26-.001 5.832-47.288-18.094.001z"})),i||(i=y.createElement("path",{fill:"#2f2e41",d:"M136.473 583.257h24.144a15.386 15.386 0 0 1 15.387 15.385v.5l-39.53.002ZM90.311 558.61a4.5 4.5 0 0 1-3.624-1.833l-11.823-16.059a4.5 4.5 0 0 1 1.124-6.41l52.614-35.142-31.746-83.474 67.889 5.602 2.286 71.734a36.05 36.05 0 0 1-18.045 32.423L92.56 558.005a4.5 4.5 0 0 1-2.249.605"})),s||(s=y.createElement("path",{fill:"#2f2e41",d:"M139.97 577.66a4.5 4.5 0 0 1-4.489-4.34l-2.488-69.882 30.809-1.623-2.453 70.384a4.487 4.487 0 0 1-4.2 4.333l-16.873 1.118a5 5 0 0 1-.306.01"})),f||(f=y.createElement("path",{fill:"#6c63ff",d:"M172.602 435.171c-7.839 0-35.217-8.816-44.721-11.959-1.422 1.138-9.234 6.979-18.352 5.911-5.626-.66-10.578-3.844-14.72-9.465-9.147-12.415 2.15-65.652 13.239-108.126a34.27 34.27 0 0 1 40.528-24.88 34.57 34.57 0 0 1 26.088 25.378c2.087 8.498.291 18.494-1.02 25.794-.616 3.431-1.103 6.142-.937 7.474.644 5.149 4.219 85.892 1.92 89.34-.245.367-.953.533-2.025.533"})),h||(h=y.createElement("path",{fill:"#ffb8b8",d:"M143.927 435.314a10.743 10.743 0 0 0 .941-16.445l.486-97.844-23.045 3.837 6.77 94.97a10.8 10.8 0 0 0 14.848 15.482"})),o||(o=y.createElement("path",{fill:"#6c63ff",d:"M149.257 383.86h-24.822a4.514 4.514 0 0 1-4.5-4.458l-.61-67.292a17.603 17.603 0 1 1 35.205.043l-.773 67.26a4.515 4.515 0 0 1-4.5 4.448"})),d||(d=y.createElement("path",{fill:"#2f2e41",d:"M144.28 279.331c-11.245.02-21.854-8.868-23.803-19.943a28.7 28.7 0 0 1 .92-13.014 34.954 34.954 0 0 1 47.935-21.953c3.008 1.362 5.971 3.317 7.349 6.318s.515 7.195-2.498 8.545c-1.97.883-4.44.45-6.187 1.716-2.51 1.82-1.864 5.692-.743 8.581s2.388 6.387.51 8.853c-1.751 2.297-5.25 2.226-8.005 1.361s-5.476-2.313-8.349-2.018c-4.19.43-7.201 4.598-7.759 8.773s.755 8.349 2.05 12.357Z"})),m||(m=y.createElement("path",{fill:"#ccc",d:"M259 600.085H1a1 1 0 1 1 0-2h258a1 1 0 0 1 0 2"})),u||(u=y.createElement("path",{fill:"#f2f2f2",d:"M910.122 434.548H269.283a16.52 16.52 0 0 1-16.5-16.5V22.894a12.1 12.1 0 0 1 12.088-12.088h649.454a12.31 12.31 0 0 1 12.297 12.297v394.945a16.52 16.52 0 0 1-16.5 16.5"})),p||(p=y.createElement("path",{fill:"#fff",d:"M889.402 413.716H292.157c-8.755 0-15.877-6.67-15.877-14.869V54.742c0-6.08 5.278-11.026 11.765-11.026H893.32c6.595 0 11.96 5.028 11.96 11.208v343.923c0 8.199-7.122 14.869-15.877 14.869"})),v||(v=y.createElement("path",{fill:"#3f3d56",d:"M926.392 24.95h-673.84v-8.4A16.574 16.574 0 0 1 269.112 0h640.72a16.574 16.574 0 0 1 16.56 16.55Z"})),g||(g=y.createElement("circle",{cx:282.647,cy:12.5,r:4.283,fill:"#fff"})),x||(x=y.createElement("circle",{cx:298.906,cy:12.5,r:4.283,fill:"#fff"})),b||(b=y.createElement("circle",{cx:315.165,cy:12.5,r:4.283,fill:"#fff"})),E||(E=y.createElement("path",{fill:"#ccc",d:"M576.61 118.954H459.802a6.566 6.566 0 0 1 0-13.132H576.61a6.566 6.566 0 1 1 0 13.132M721.757 118.954H604.949a6.566 6.566 0 0 1 0-13.132h116.808a6.566 6.566 0 1 1 0 13.132M721.757 143.837H518.552a6.566 6.566 0 1 1 0-13.133h203.205a6.566 6.566 0 1 1 0 13.133M576.61 93.727H459.802a6.566 6.566 0 0 1 0-13.133H576.61a6.566 6.566 0 1 1 0 13.133M640.89 94.072h-33.177a6.566 6.566 0 0 1 0-13.132h33.177a6.566 6.566 0 1 1 0 13.132M492.979 143.837h-33.177a6.566 6.566 0 0 1 0-13.133h33.177a6.566 6.566 0 1 1 0 13.133M576.61 351.954H459.802a6.566 6.566 0 0 1 0-13.132H576.61a6.566 6.566 0 1 1 0 13.132M721.757 351.954H604.949a6.566 6.566 0 0 1 0-13.132h116.808a6.566 6.566 0 1 1 0 13.132M721.757 376.837H518.552a6.566 6.566 0 1 1 0-13.133h203.205a6.566 6.566 0 1 1 0 13.133M576.61 326.727H459.802a6.566 6.566 0 0 1 0-13.133H576.61a6.566 6.566 0 1 1 0 13.133M640.89 327.072h-33.177a6.566 6.566 0 0 1 0-13.132h33.177a6.566 6.566 0 0 1 0 13.132M492.979 376.837h-33.177a6.566 6.566 0 0 1 0-13.133h33.177a6.566 6.566 0 1 1 0 13.133"})),j||(j=y.createElement("path",{fill:"#6c63ff",d:"M546.104 281.462a9.4 9.4 0 0 1-6.624-2.71l-43.908-43.36a9.15 9.15 0 0 1 0-13.023l43.73-43.184a9.7 9.7 0 0 1 13.644.043 9.69 9.69 0 0 1 0 13.686l-32.495 32.497a5.413 5.413 0 0 0 0 7.646l32.32 32.32a9.418 9.418 0 0 1-6.667 16.085M616.07 281.462a9.418 9.418 0 0 1-6.667-16.084l32.32-32.32a5.413 5.413 0 0 0 0-7.647l-32.496-32.497a9.68 9.68 0 0 1 0-13.686 9.7 9.7 0 0 1 13.643-.043l43.732 43.184a9.15 9.15 0 0 1 0 13.023l-43.91 43.36a9.4 9.4 0 0 1-6.623 2.71"})))}},12408:function(e,t,l){l.r(t),l.d(t,{default:()=>g});var a=l("85893"),c=l("67026"),n=l("83012"),r=l("2933"),i=l("37647"),s=l("34403");let f="features_t9lD",h="featureSvg_GfXr",o=[{title:"Easy to Use",Svg:l(21677).Z,description:(0,a.jsx)(a.Fragment,{children:"PIES was designed from the ground up to be easily understood and installed in your application quickly."})},{title:"Interoperable",Svg:l(85108).Z,description:(0,a.jsx)(a.Fragment,{children:"PIES lets you focus on your data. Let your systems communicate to each other with ease."})},{title:"Open Source",Svg:l(10184).Z,description:(0,a.jsxs)(a.Fragment,{children:["Want to improve PIES? We welcome your"," ",(0,a.jsx)("a",{href:"https://github.com/bcgov/nr-permit-interoperability-exchange-specification",children:"contributions"}),"!"]})}];function d(e){let{title:t,Svg:l,description:n}=e;return(0,a.jsxs)("div",{className:(0,c.Z)("col col--4"),children:[(0,a.jsx)("div",{className:"text--center",children:(0,a.jsx)(l,{className:h,role:"img"})}),(0,a.jsxs)("div",{className:"text--center padding-horiz--md",children:[(0,a.jsx)(s.Z,{as:"h3",children:t}),(0,a.jsx)("p",{children:n})]})]})}function m(){return(0,a.jsx)("section",{className:f,children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row",children:o.map((e,t)=>(0,a.jsx)(d,{...e},t))})})})}let u="heroBanner_qdFl",p="buttons_AeoN";function v(){let{siteConfig:e}=(0,r.Z)();return(0,a.jsx)("header",{className:(0,c.Z)("hero hero--primary",u),children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)(s.Z,{as:"h1",className:"hero__title",children:e.title}),(0,a.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,a.jsx)("div",{className:p,children:(0,a.jsx)(n.Z,{className:"button button--secondary button--lg",to:"/docs/intro/getting_started",children:"Get Started - 5min \u23F1\uFE0F"})})]})})}function g(){let{siteConfig:e}=(0,r.Z)();return(0,a.jsxs)(i.Z,{title:`Welcome to ${e.title}`,description:e.tagline,children:[(0,a.jsx)(v,{}),(0,a.jsx)("main",{children:(0,a.jsx)(m,{})})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/1ebab83f.63312ebc.js b/pr-preview/pr-5/assets/js/1ebab83f.63312ebc.js new file mode 100644 index 0000000..d5d6e1b --- /dev/null +++ b/pr-preview/pr-5/assets/js/1ebab83f.63312ebc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1950"],{42903:function(e){e.exports=JSON.parse('{"tag":{"label":"Executive","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/executive","description":"Content related to policies and strategic alignment","allTagsPath":"/nr-pies/pr-preview/pr-5/docs/tags","count":1,"items":[{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","permalink":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started"}],"unlisted":false}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/1f391b9e.046a0919.js b/pr-preview/pr-5/assets/js/1f391b9e.046a0919.js new file mode 100644 index 0000000..70745ca --- /dev/null +++ b/pr-preview/pr-5/assets/js/1f391b9e.046a0919.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2493"],{8402:function(e,a,s){s.r(a),s.d(a,{default:()=>g});var i=s("85893");s("67294");var l=s("67026"),t=s("14713"),n=s("84681"),c=s("37647"),d=s("2584"),r=s("1397"),o=s("38813"),m=s("86594");let x="mdxPageWrapper_j9I6";function g(e){let{content:a}=e,{metadata:s,assets:g}=a,{title:p,editUrl:h,description:j,frontMatter:_,lastUpdatedBy:v,lastUpdatedAt:u}=s,{keywords:Z,wrapperClassName:k,hide_table_of_contents:f}=_,w=g.image??_.image,N=!!(h||u||v);return(0,i.jsx)(t.FG,{className:(0,l.Z)(k??n.k.wrapper.mdxPages,n.k.page.mdxPage),children:(0,i.jsxs)(c.Z,{children:[(0,i.jsx)(t.d,{title:p,description:j,keywords:Z,image:w}),(0,i.jsx)("main",{className:"container container--fluid margin-vert--lg",children:(0,i.jsxs)("div",{className:(0,l.Z)("row",x),children:[(0,i.jsxs)("div",{className:(0,l.Z)("col",!f&&"col--8"),children:[(0,i.jsx)(o.Z,{metadata:s}),(0,i.jsx)("article",{children:(0,i.jsx)(d.Z,{children:(0,i.jsx)(a,{})})}),N&&(0,i.jsx)(m.Z,{className:(0,l.Z)("margin-top--sm",n.k.pages.pageFooterEditMetaRow),editUrl:h,lastUpdatedAt:u,lastUpdatedBy:v})]}),!f&&a.toc.length>0&&(0,i.jsx)("div",{className:"col col--2",children:(0,i.jsx)(r.Z,{toc:a.toc,minHeadingLevel:_.toc_min_heading_level,maxHeadingLevel:_.toc_max_heading_level})})]})})]})})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/2036.b404ef9a.js b/pr-preview/pr-5/assets/js/2036.b404ef9a.js new file mode 100644 index 0000000..c649f1e --- /dev/null +++ b/pr-preview/pr-5/assets/js/2036.b404ef9a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2036"],{88091:function(t,i,e){e.d(i,{diagram:function(){return tt}});var s,n=e(92719),a=e(7690),h=e(94159),o=e(5995),r=e(27818),l=function(){var t=(0,o.eW)(function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],a=[1,6],h=[1,7],r=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],c=[1,26],g=[1,28],u=[1,29],x=[1,30],d=[1,31],p=[1,32],f=[1,33],y=[1,34],m=[1,35],b=[1,36],A=[1,37],S=[1,43],C=[1,42],w=[1,47],k=[1,50],_=[1,10,12,14,16,18,19,21,23,34,35,36],T=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],R=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],W=[1,64],D={trace:(0,o.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:(0,o.eW)(function(t,i,e,s,n,a,h){var o=a.length-1;switch(n){case 5:s.setOrientation(a[o]);break;case 9:s.setDiagramTitle(a[o].text.trim());break;case 12:s.setLineData({text:"",type:"text"},a[o]);break;case 13:s.setLineData(a[o-1],a[o]);break;case 14:s.setBarData({text:"",type:"text"},a[o]);break;case 15:s.setBarData(a[o-1],a[o]);break;case 16:this.$=a[o].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=a[o].trim(),s.setAccDescription(this.$);break;case 19:case 27:this.$=a[o-1];break;case 20:this.$=[Number(a[o-2]),...a[o]];break;case 21:this.$=[Number(a[o])];break;case 22:s.setXAxisTitle(a[o]);break;case 23:s.setXAxisTitle(a[o-1]);break;case 24:s.setXAxisTitle({type:"text",text:""});break;case 25:s.setXAxisBand(a[o]);break;case 26:s.setXAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 28:this.$=[a[o-2],...a[o]];break;case 29:this.$=[a[o]];break;case 30:s.setYAxisTitle(a[o]);break;case 31:s.setYAxisTitle(a[o-1]);break;case 32:s.setYAxisTitle({type:"text",text:""});break;case 33:s.setYAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 37:case 38:this.$={text:a[o],type:"text"};break;case 39:this.$={text:a[o],type:"markdown"};break;case 40:this.$=a[o];break;case 41:this.$=a[o-1]+""+a[o]}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:n,35:a,36:h}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:n,35:a,36:h}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:a,36:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(r,[2,34]),t(r,[2,35]),t(r,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:n,35:a,36:h}),{1:[2,3]},t(r,[2,5]),t(i,[2,7],{4:22,34:n,35:a,36:h}),{11:23,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:39,13:38,24:S,27:C,29:40,30:41,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:45,15:44,27:w,33:46,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:49,17:48,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:52,17:51,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{20:[1,53]},{22:[1,54]},t(_,[2,18]),{1:[2,2]},t(_,[2,8]),t(_,[2,9]),t(T,[2,37],{40:55,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A}),t(T,[2,38]),t(T,[2,39]),t(R,[2,40]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(_,[2,10]),t(_,[2,22],{30:41,29:56,24:S,27:C}),t(_,[2,24]),t(_,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},t(_,[2,11]),t(_,[2,30],{33:60,27:w}),t(_,[2,32]),{31:[1,61]},t(_,[2,12]),{17:62,24:k},{25:63,27:W},t(_,[2,14]),{17:65,24:k},t(_,[2,16]),t(_,[2,17]),t(R,[2,41]),t(_,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(_,[2,31]),{27:[1,69]},t(_,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(_,[2,15]),t(_,[2,26]),t(_,[2,27]),{11:59,32:72,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},t(_,[2,33]),t(_,[2,19]),{25:73,27:W},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:(0,o.eW)(function(t,i){if(i.recoverable)this.trace(t);else{var e=Error(t);throw e.hash=i,e}},"parseError"),parse:(0,o.eW)(function(t){var i=this,e=[0],s=[],n=[null],a=[],h=this.table,r="",l=0,c=0,g=0,u=a.slice.call(arguments,1),x=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);x.setInput(t,d.yy),d.yy.lexer=x,d.yy.parser=this,void 0===x.yylloc&&(x.yylloc={});var f=x.yylloc;a.push(f);var y=x.options&&x.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function m(){var t;return"number"!=typeof(t=s.pop()||x.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}(0,o.eW)(function(t){e.length=e.length-2*t,n.length=n.length-t,a.length=a.length-t},"popStack"),(0,o.eW)(m,"lex");for(var b,A,S,C,w,k,_,T,R,W={};;){if(S=e[e.length-1],this.defaultActions[S]?C=this.defaultActions[S]:(null==b&&(b=m()),C=h[S]&&h[S][b]),void 0===C||!C.length||!C[0]){var D="";for(k in R=[],h[S])this.terminals_[k]&&k>2&&R.push("'"+this.terminals_[k]+"'");D=x.showPosition?"Parse error on line "+(l+1)+":\n"+x.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(D,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:f,expected:R})}if(C[0]instanceof Array&&C.length>1)throw Error("Parse Error: multiple actions possible at state: "+S+", token: "+b);switch(C[0]){case 1:e.push(b),n.push(x.yytext),a.push(x.yylloc),e.push(C[1]),b=null,A?(b=A,A=null):(c=x.yyleng,r=x.yytext,l=x.yylineno,f=x.yylloc,g>0&&g--);break;case 2:if(_=this.productions_[C[1]][1],W.$=n[n.length-_],W._$={first_line:a[a.length-(_||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(_||1)].first_column,last_column:a[a.length-1].last_column},y&&(W._$.range=[a[a.length-(_||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(W,[r,c,l,d.yy,C[1],n,a].concat(u))))return w;_&&(e=e.slice(0,-1*_*2),n=n.slice(0,-1*_),a=a.slice(0,-1*_)),e.push(this.productions_[C[1]][0]),n.push(W.$),a.push(W._$),T=h[e[e.length-2]][e[e.length-1]],e.push(T);break;case 3:return!0}}return!0},"parse")},L={EOF:1,parseError:(0,o.eW)(function(t,i){if(this.yy.parser)this.yy.parser.parseError(t,i);else throw Error(t)},"parseError"),setInput:(0,o.eW)(function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,o.eW)(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},"input"),unput:(0,o.eW)(function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.eW)(function(){return this._more=!0,this},"more"),reject:(0,o.eW)(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})},"reject"),less:(0,o.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,o.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,o.eW)(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,"")},"upcomingInput"),showPosition:(0,o.eW)(function(){var t=this.pastInput(),i=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},"showPosition"),test_match:(0,o.eW)(function(t,i){var e,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack)for(var a in n)this[a]=n[a];return!1},"test_match"),next:(0,o.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,i,e,s,n=this._currentRules(),a=0;ai[0].length)){if(i=e,s=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[a])))return t;if(!this._backtrack)return!1;else{i=!1;continue}}if(!this.options.flex)break}if(i)return!1!==(t=this.test_match(i,n[s]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,o.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,o.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,o.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,o.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,o.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.eW)(function(t,i,e,s){switch(e){case 0:case 1:case 5:case 43:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 25:case 27:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 26:this.pushState("string");break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 44:return 35;case 45:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}};function P(){this.yy={}}return D.lexer=L,(0,o.eW)(P,"Parser"),P.prototype=D,D.Parser=P,new P}();l.parser=l;function c(t){return"bar"===t.type}function g(t){return"band"===t.type}function u(t){return"linear"===t.type}(0,o.eW)(c,"isBarPlot"),(0,o.eW)(g,"isBandAxisData"),(0,o.eW)(u,"isLinearAxisData");var x=class{constructor(t){this.parentGroup=t}static{(0,o.eW)(this,"TextDimensionCalculatorWithFont")}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((t,i)=>Math.max(i.length,t),0)*i,height:i};let e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(let a of t){let t=(0,n.QA)(s,1,a),h=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,h),e.height=Math.max(e.height,o)}return s.remove(),e}},d=class{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}static{(0,o.eW)(this,"BaseAxis")}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){let t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);let n=e.height+2*this.axisConfig.labelPadding;this.labelTextHeight=e.height,n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);let n=e.width+2*this.axisConfig.labelPadding;n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},p=class extends d{static{(0,o.eW)(this,"BandAxis")}constructor(t,i,e,s,n){super(t,s,n,i),this.categories=e,this.scale=(0,r.tiA)().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=(0,r.tiA)().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),o.cM.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},f=class extends d{static{(0,o.eW)(this,"LinearAxis")}constructor(t,i,e,s,n){super(t,s,n,i),this.domain=e,this.scale=(0,r.BYU)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,r.BYU)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}};function y(t,i,e,s){let n=new x(s);return g(t)?new p(i,e,t.categories,t.title,n):new f(i,e,[t.min,t.max],t.title,n)}(0,o.eW)(y,"getAxis");var m=class{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{(0,o.eW)(this,"ChartTitle")}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){let i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=s&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}};function b(t,i,e,s){return new m(new x(s),t,i,e)}(0,o.eW)(b,"getChartTitleComponent");var A=class{constructor(t,i,e,s,n){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=n}static{(0,o.eW)(this,"LinePlot")}getDrawableElement(){let t;let i=this.plotData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]);return(t="horizontal"===this.orientation?(0,r.jvg)().y(t=>t[0]).x(t=>t[1])(i):(0,r.jvg)().x(t=>t[0]).y(t=>t[1])(i))?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:t,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}},S=class{constructor(t,i,e,s,n,a){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=n,this.plotIndex=a}static{(0,o.eW)(this,"BarPlot")}getDrawableElement(){let t=this.barData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},C=class{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}static{(0,o.eW)(this,"BasePlot")}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let t=[];for(let[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{let s=new A(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{let s=new S(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}};function w(t,i,e){return new C(t,i,e)}(0,o.eW)(w,"getPlotComponent");var k=class{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:b(t,i,e,s),plot:w(t,i,e),xAxis:y(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:y(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}static{(0,o.eW)(this,"Orchestrator")}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),a=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:n,height:a});t-=h.width,i-=h.height,s=(h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=h.height,this.componentStore.xAxis.setAxisPosition("bottom"),h=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=h.height,this.componentStore.yAxis.setAxisPosition("left"),e=(h=this.componentStore.yAxis.calculateSpace({width:t,height:i})).width,(t-=h.width)>0&&(n+=t,t=0),i>0&&(a+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:a}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.xAxis.setRange([e,e+n]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+a}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some(t=>c(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),h=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:a,height:h});t-=o.width,i-=o.height,e=(o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=o.height,this.componentStore.xAxis.setAxisPosition("left"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=o.width,s=o.width,this.componentStore.yAxis.setAxisPosition("top"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=o.height,n=e+o.height,t>0&&(a+=t,t=0),i>0&&(h+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:h}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([n,n+h]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some(t=>c(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let t=[];for(let i of(this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis),Object.values(this.componentStore)))t.push(...i.getDrawableElements());return t}},_=class{static{(0,o.eW)(this,"XYChartBuilder")}static build(t,i,e,s){return new k(t,i,e,s).getDrawableElement()}},T=0,R=I(),W=v(),D=M(),L=W.plotColorPalette.split(",").map(t=>t.trim()),P=!1,E=!1;function v(){let t=(0,o.xN)(),i=(0,o.iE)();return(0,a.Rb)(t.xyChart,i.themeVariables.xyChart)}function I(){let t=(0,o.iE)();return(0,a.Rb)(o.vZ.xyChart,t.xyChart)}function M(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function $(t){let i=(0,o.iE)();return(0,o.oO)(t.trim(),i)}function B(t){s=t}function z(t){"horizontal"===t?R.chartOrientation="horizontal":R.chartOrientation="vertical"}function O(t){D.xAxis.title=$(t.text)}function F(t,i){D.xAxis={type:"linear",title:D.xAxis.title,min:t,max:i},P=!0}function N(t){D.xAxis={type:"band",title:D.xAxis.title,categories:t.map(t=>$(t.text))},P=!0}function V(t){D.yAxis.title=$(t.text)}function X(t,i){D.yAxis={type:"linear",title:D.yAxis.title,min:t,max:i},E=!0}function Y(t){let i=Math.min(...t),e=Math.max(...t),s=u(D.yAxis)?D.yAxis.min:1/0,n=u(D.yAxis)?D.yAxis.max:-1/0;D.yAxis={type:"linear",title:D.yAxis.title,min:Math.min(s,i),max:Math.max(n,e)}}function U(t){let i=[];if(0===t.length)return i;if(!P){let i=u(D.xAxis)?D.xAxis.min:1/0;F(Math.min(i,1),Math.max(u(D.xAxis)?D.xAxis.max:-1/0,t.length))}if(!E&&Y(t),g(D.xAxis)&&(i=D.xAxis.categories.map((i,e)=>[i,t[e]])),u(D.xAxis)){let e=D.xAxis.min,s=D.xAxis.max,n=(s-e)/(t.length-1),a=[];for(let t=e;t<=s;t+=n)a.push(`${t}`);i=a.map((i,e)=>[i,t[e]])}return i}function H(t){return L[0===t?0:t%L.length]}function j(t,i){let e=U(i);D.plots.push({type:"line",strokeFill:H(T),strokeWidth:2,data:e}),T++}function G(t,i){let e=U(i);D.plots.push({type:"bar",fill:H(T),data:e}),T++}function Q(){if(0===D.plots.length)throw Error("No Plot to render, please provide a plot with some data");return D.title=(0,o.Kr)(),_.build(R,D,W,s)}function K(){return W}function Z(){return R}(0,o.eW)(v,"getChartDefaultThemeConfig"),(0,o.eW)(I,"getChartDefaultConfig"),(0,o.eW)(M,"getChartDefaultData"),(0,o.eW)($,"textSanitizer"),(0,o.eW)(B,"setTmpSVGG"),(0,o.eW)(z,"setOrientation"),(0,o.eW)(O,"setXAxisTitle"),(0,o.eW)(F,"setXAxisRangeData"),(0,o.eW)(N,"setXAxisBand"),(0,o.eW)(V,"setYAxisTitle"),(0,o.eW)(X,"setYAxisRangeData"),(0,o.eW)(Y,"setYAxisRangeFromPlotData"),(0,o.eW)(U,"transformDataWithoutCategory"),(0,o.eW)(H,"getPlotColorFromPalette"),(0,o.eW)(j,"setLineData"),(0,o.eW)(G,"setBarData"),(0,o.eW)(Q,"getDrawableElem"),(0,o.eW)(K,"getChartThemeConfig"),(0,o.eW)(Z,"getChartConfig");var q={getDrawableElem:Q,clear:(0,o.eW)(function(){(0,o.ZH)(),T=0,R=I(),D=M(),L=(W=v()).plotColorPalette.split(",").map(t=>t.trim()),P=!1,E=!1},"clear"),setAccTitle:o.GN,getAccTitle:o.eu,setDiagramTitle:o.g2,getDiagramTitle:o.Kr,getAccDescription:o.Mx,setAccDescription:o.U$,setOrientation:z,setXAxisTitle:O,setXAxisRangeData:F,setXAxisBand:N,setYAxisTitle:V,setYAxisRangeData:X,setLineData:j,setBarData:G,setTmpSVGG:B,getChartThemeConfig:K,getChartConfig:Z},J=(0,o.eW)((t,i,e,s)=>{let n=s.db,a=n.getChartThemeConfig(),r=n.getChartConfig();function l(t){return"top"===t?"text-before-edge":"middle"}function c(t){return"left"===t?"start":"right"===t?"end":"middle"}function g(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,o.eW)(l,"getDominantBaseLine"),(0,o.eW)(c,"getTextAnchor"),(0,o.eW)(g,"getTextTransformation"),o.cM.debug("Rendering xychart chart\n"+t);let u=(0,h.P)(i),x=u.append("g").attr("class","main"),d=x.append("rect").attr("width",r.width).attr("height",r.height).attr("class","background");(0,o.v2)(u,r.height,r.width,!0),u.attr("viewBox",`0 0 ${r.width} ${r.height}`),d.attr("fill",a.backgroundColor),n.setTmpSVGG(u.append("g").attr("class","mermaid-tmp-group"));let p=n.getDrawableElem(),f={};function y(t){let i=x,e="";for(let[s]of t.entries()){let n=x;s>0&&f[e]&&(n=f[e]),e+=t[s],!(i=f[e])&&(i=f[e]=n.append("g").attr("class",t[s]))}return i}for(let t of((0,o.eW)(y,"getGroup"),p)){if(0===t.data.length)continue;let i=y(t.groupTexts);switch(t.type){case"rect":i.selectAll("rect").data(t.data).enter().append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth);break;case"text":i.selectAll("text").data(t.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>l(t.verticalPos)).attr("text-anchor",t=>c(t.horizontalPos)).attr("transform",t=>g(t)).text(t=>t.text);break;case"path":i.selectAll("path").data(t.data).enter().append("path").attr("d",t=>t.path).attr("fill",t=>t.fill?t.fill:"none").attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth)}}},"draw"),tt={parser:l,db:q,renderer:{draw:J}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/2061.4824b421.js b/pr-preview/pr-5/assets/js/2061.4824b421.js new file mode 100644 index 0000000..73dcaff --- /dev/null +++ b/pr-preview/pr-5/assets/js/2061.4824b421.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2061"],{68544:function(e,s,n){n.r(s)}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/21038ea1.126239d6.js b/pr-preview/pr-5/assets/js/21038ea1.126239d6.js new file mode 100644 index 0000000..7fac2f1 --- /dev/null +++ b/pr-preview/pr-5/assets/js/21038ea1.126239d6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9597"],{11958:function(e,t,n){n.r(t),n.d(t,{metadata:()=>r,contentTitle:()=>i,default:()=>u,assets:()=>l,toc:()=>d,frontMatter:()=>a});var r=JSON.parse('{"id":"docusaurus/intro","title":"Tutorial Intro","description":"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get","source":"@site/docs/docusaurus/intro.md","sourceDirName":"docusaurus","slug":"/docusaurus/intro","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/intro.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","next":{"title":"Tutorial - Basics","permalink":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---basics"}}'),s=n("85893"),o=n("50065");let a={sidebar_position:1},i="Tutorial Intro",l={},d=[{value:"Getting Started",id:"getting-started",level:2},{value:"What you'll need",id:"what-youll-need",level:3},{value:"Generate a new site",id:"generate-a-new-site",level:2},{value:"Start your site",id:"start-your-site",level:2}];function c(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"tutorial-intro",children:"Tutorial Intro"})}),"\n",(0,s.jsx)(t.p,{children:"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get\nstarted, please review the following:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./tutorial_basics/create_a_page",children:"Create a Page"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features",children:"Markdown Features"})}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Everything else below this line includes the original tutorial documentation for setting up and using Docusaurus."}),"\n",(0,s.jsx)(t.hr,{}),"\n",(0,s.jsxs)(t.p,{children:["Let's discover ",(0,s.jsx)(t.strong,{children:"Docusaurus in less than 5 minutes"}),"."]}),"\n",(0,s.jsx)(t.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,s.jsxs)(t.p,{children:["Get started by ",(0,s.jsx)(t.strong,{children:"creating a new site"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Or ",(0,s.jsx)(t.strong,{children:"try Docusaurus immediately"})," with ",(0,s.jsx)(t.strong,{children:(0,s.jsx)(t.a,{href:"https://docusaurus.new",children:"docusaurus.new"})}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"what-youll-need",children:"What you'll need"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.a,{href:"https://nodejs.org/en/download/",children:"Node.js"})," version 18.0 or above:","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"When installing Node.js, you are recommended to check all checkboxes related to dependencies."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"generate-a-new-site",children:"Generate a new site"}),"\n",(0,s.jsxs)(t.p,{children:["Generate a new Docusaurus site using the ",(0,s.jsx)(t.strong,{children:"classic template"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"The classic template will automatically be added to your project after you run the command:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"npm init docusaurus@latest my-website classic\n"})}),"\n",(0,s.jsx)(t.p,{children:"You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor."}),"\n",(0,s.jsx)(t.p,{children:"The command also installs all necessary dependencies you need to run Docusaurus."}),"\n",(0,s.jsx)(t.h2,{id:"start-your-site",children:"Start your site"}),"\n",(0,s.jsx)(t.p,{children:"Run the development server:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"cd my-website\nnpm run start\n"})}),"\n",(0,s.jsxs)(t.p,{children:["The ",(0,s.jsx)(t.code,{children:"cd"})," command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there."]}),"\n",(0,s.jsxs)(t.p,{children:["The ",(0,s.jsx)(t.code,{children:"npm run start"})," command builds your website locally and serves it through a development server, ready for you to view at ",(0,s.jsx)(t.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Open ",(0,s.jsx)(t.code,{children:"docs/intro.md"})," (this page) and edit some lines: the site ",(0,s.jsx)(t.strong,{children:"reloads automatically"})," and displays your changes."]})]})}function u(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},50065:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return a}});var r=n(67294);let s={},o=r.createContext(s);function a(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/21cb2624.a10bfedf.js b/pr-preview/pr-5/assets/js/21cb2624.a10bfedf.js new file mode 100644 index 0000000..958ac6f --- /dev/null +++ b/pr-preview/pr-5/assets/js/21cb2624.a10bfedf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["287"],{35244:function(e,t,n){n.r(t),n.d(t,{metadata:()=>i,contentTitle:()=>o,default:()=>p,assets:()=>l,toc:()=>c,frontMatter:()=>r});var i=JSON.parse('{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","source":"@site/docs/intro/getting_started.md","sourceDirName":"intro","slug":"/intro/getting_started","permalink":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/intro/getting_started.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Executive","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/executive","description":"Content related to policies and strategic alignment"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732324298000,"sidebarPosition":1,"frontMatter":{"id":"getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","sidebar_position":1,"tags":["business","executive"]},"sidebar":"docSidebar","next":{"title":"Terminology","permalink":"/nr-pies/pr-preview/pr-5/docs/intro/terminology"}}'),s=n("85893"),a=n("50065");let r={id:"getting_started",title:"Getting Started",description:"Introduction to the Natural Resource Sector PIES",sidebar_position:1,tags:["business","executive"]},o=void 0,l={},c=[{value:"Purpose",id:"purpose",level:2},{value:"Objectives",id:"objectives",level:2},{value:"Getting Everyone on the Same Page",id:"getting-everyone-on-the-same-page",level:3},{value:"Documentation",id:"documentation",level:3},{value:"Goals",id:"goals",level:2},{value:"Schemas",id:"schemas",level:2}];function d(e){let t={h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Welcome! This site repository contains common schemas related to permitting in the Natural Resources Sector for the\nProvince of British Columbia. The intent of these are to standardize the way permitting in the Natural Resource Sector\nis described as data to enable quality and interoperability."}),"\n",(0,s.jsx)(t.p,{children:"Hosting this specification in the open will encourage collaboration, adoption and enable versioning."}),"\n",(0,s.jsx)(t.p,{children:"These will be reviewed and updated with relevant partners, data custodians, stewards and sector permitting teams."}),"\n",(0,s.jsx)(t.h2,{id:"purpose",children:"Purpose"}),"\n",(0,s.jsx)(t.p,{children:"Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as\nmany ways to collect, process and store information from intake to decision. Analytics and reporting and permitting\nreform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems\ncan't integrate without a common language."}),"\n",(0,s.jsx)(t.p,{children:"This standard specifies the foundational set of core descriptive data types and elements required to enable the\ncompatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the\npurpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for\npolicy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on\npermitting."}),"\n",(0,s.jsx)(t.h2,{id:"objectives",children:"Objectives"}),"\n",(0,s.jsx)(t.p,{children:"The main objective of PIES is to deliver a published specification to enable better data quality and system\ninteroperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or\nusable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes\nacross the sector."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["Make it easier to connect and work with the information in different permitting systems.","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Reduce the effort and cost of systems integrations and automation."}),"\n",(0,s.jsx)(t.li,{children:"Unlock the ability to provide consistent progress tracking to proponents."}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.li,{children:"Create technical guidelines that help various systems communicate smoothly and consistently."}),"\n",(0,s.jsx)(t.li,{children:"Support different ways for systems to communicate with each other."}),"\n",(0,s.jsx)(t.li,{children:"Unlock potential for evidence-based policy and transformative potential of AI."}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"getting-everyone-on-the-same-page",children:"Getting Everyone on the Same Page"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Set up a working group for people interested to contribute and adopt PIES. See MS Teams."}),"\n",(0,s.jsx)(t.li,{children:"Create clear rules for data governance."}),"\n",(0,s.jsx)(t.li,{children:"Develop a common language so everyone understands the same terms."}),"\n",(0,s.jsx)(t.li,{children:"Gather feedback to ensure data is represented accurately and clearly."}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"documentation",children:"Documentation"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Share best practices for documenting government data standards."}),"\n",(0,s.jsx)(t.li,{children:"Identify and list common permitting concepts and data types."}),"\n",(0,s.jsx)(t.li,{children:"Create a plan for implementing solutions using transformations and microservices."}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"And of course, PIES are delicious! \uD83D\uDE04"}),"\n",(0,s.jsx)(t.h2,{id:"goals",children:"Goals"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["Enable a cross sector view","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Through appropriate data access"}),"\n",(0,s.jsx)(t.li,{children:"Creates a single point of validated reporting"}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement","\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Data quality"}),"\n",(0,s.jsx)(t.li,{children:"Data and information consistency"}),"\n",(0,s.jsx)(t.li,{children:"Identify processing times"}),"\n",(0,s.jsx)(t.li,{children:"Data harmonization cross sector level reporting"}),"\n",(0,s.jsx)(t.li,{children:"Activity bundling and linking"}),"\n",(0,s.jsx)(t.li,{children:"Coordinated First Nations Consultation"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to\nachieve interoperability (the ability for the systems to understand the key elements of information they need to share\nand talk to each other in a common language)."}),"\n",(0,s.jsx)(t.p,{children:"An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will\nfocus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems\ninto the data standards."}),"\n",(0,s.jsx)(t.h2,{id:"schemas",children:"Schemas"}),"\n",(0,s.jsx)(t.p,{children:"TBD"})]})}function p(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},50065:function(e,t,n){n.d(t,{Z:function(){return o},a:function(){return r}});var i=n(67294);let s={},a=i.createContext(s);function r(e){let t=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/2247.26eff447.js b/pr-preview/pr-5/assets/js/2247.26eff447.js new file mode 100644 index 0000000..9812b18 --- /dev/null +++ b/pr-preview/pr-5/assets/js/2247.26eff447.js @@ -0,0 +1,85 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2247"],{22851:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|:)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},17967:function(t,e,r){"use strict";e.sanitizeUrl=void 0;var i=r(22851);function n(t){try{return decodeURIComponent(t)}catch(e){return t}}e.sanitizeUrl=function(t){if(!t)return i.BLANK_URL;var e,r=n(t.trim());do e=(r=n(r=r.replace(i.ctrlCharactersRegex,"").replace(i.htmlEntitiesRegex,function(t,e){return String.fromCharCode(e)}).replace(i.htmlCtrlEntityRegex,"").replace(i.ctrlCharactersRegex,"").replace(i.whitespaceEscapeCharsRegex,"").trim())).match(i.ctrlCharactersRegex)||r.match(i.htmlEntitiesRegex)||r.match(i.htmlCtrlEntityRegex)||r.match(i.whitespaceEscapeCharsRegex);while(e&&e.length>0);var a=r;if(!a)return i.BLANK_URL;if(c=a,i.relativeFirstCharacters.indexOf(c[0])>-1)return a;var o=a.trimStart(),s=o.match(i.urlSchemeRegex);if(!s)return a;var l=s[0].toLowerCase().trim();if(i.invalidProtocolRegex.test(l))return i.BLANK_URL;var h=o.replace(/\\/g,"/");if("mailto:"===l||l.includes("://"))return h;if("http:"===l||"https:"===l){if(u=h,!URL.canParse(u))return i.BLANK_URL;var c,u,d=new URL(h);return d.protocol=d.protocol.toLowerCase(),d.hostname=d.hostname.toLowerCase(),d.toString()}return h}},27484:function(t){var e,r;e=0,r=function(){"use strict";var t="millisecond",e="second",r="minute",i="hour",n="week",a="month",o="quarter",s="year",l="date",h="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|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,d=function(t,e,r){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(r)+t},f="en",p={};p[f]={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"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||"th")+"]"}};var g="$isDayjsObject",y=function(t){return t instanceof k||!(!t||!t[g])},m=function t(e,r,i){var n;if(!e)return f;if("string"==typeof e){var a=e.toLowerCase();p[a]&&(n=a),r&&(p[a]=r,n=a);var o=e.split("-");if(!n&&o.length>1)return t(o[0])}else{var s=e.name;p[s]=e,n=s}return!i&&n&&(f=n),n||!i&&f},x=function(t,e){if(y(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new k(r)},b={s:d,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(r/60),2,"0")+":"+d(r%60,2,"0")},m:function t(e,r){if(e.date()1?r-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:f;e&&e(t,null);let a=i.length;for(;a--;){let e=i[a];if("string"==typeof e){let t=n(e);t!==e&&(!r(i)&&(i[a]=t),e=t)}t[e]=!0}return t}function v(e){let r=s(null);for(let[i,n]of t(e))b(e,i)&&(Array.isArray(n)?r[i]=function(t){for(let e=0;e/gm),I=o(/\${[\w\W]*}/gm),z=o(/^data-[\-\w.\u00B7-\uFFFF]/),j=o(/^aria-[\-\w]+$/),R=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),P=o(/^(?:\w+script|data):/i),q=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H=o(/^html$/i);var U=Object.freeze({__proto__:null,MUSTACHE_EXPR:Z,ERB_EXPR:N,TMPLIT_EXPR:I,DATA_ATTR:z,ARIA_ATTR:j,IS_ALLOWED_URI:R,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:q,DOCTYPE_NAME:H,CUSTOM_ELEMENT:o(/^[a-z][.\w]*(-[.\w]+)+$/i)});let Y={element:1,text:3,progressingInstruction:7,comment:8,document:9},V=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(r=e.getAttribute(i));let n="dompurify"+(r?"#"+r:"");try{return t.createPolicy(n,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};return function e(){let r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=t=>e(t);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==Y.document)return n.isSupported=!1,n;let{document:o}=i,l=o,h=l.currentScript,{DocumentFragment:w,HTMLTemplateElement:Z,Node:N,Element:I,NodeFilter:z,NamedNodeMap:j=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:P,DOMParser:q,trustedTypes:G}=i,X=I.prototype,Q=T(X,"cloneNode"),K=T(X,"remove"),J=T(X,"nextSibling"),tt=T(X,"childNodes"),te=T(X,"parentNode");if("function"==typeof Z){let t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let tr="",{implementation:ti,createNodeIterator:tn,createDocumentFragment:ta,getElementsByTagName:to}=o,{importNode:ts}=l,tl={};n.isSupported="function"==typeof t&&"function"==typeof te&&ti&&void 0!==ti.createHTMLDocument;let{MUSTACHE_EXPR:th,ERB_EXPR:tc,TMPLIT_EXPR:tu,DATA_ATTR:td,ARIA_ATTR:tf,IS_SCRIPT_OR_DATA:tp,ATTR_WHITESPACE:tg,CUSTOM_ELEMENT:ty}=U,{IS_ALLOWED_URI:tm}=U,tx=null,tb=_({},[...S,...M,...B,...A,...$]),tk=null,tC=_({},[...W,...E,...D,...O]),tw=Object.seal(s(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}})),t_=null,tv=null,tT=!0,tS=!0,tM=!1,tB=!0,tL=!1,tA=!0,tF=!1,t$=!1,tW=!1,tE=!1,tD=!1,tO=!1,tZ=!0,tN=!1,tI=!0,tz=!1,tj={},tR=null,tP=_({},["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"]),tq=null,tH=_({},["audio","video","img","source","image","track"]),tU=null,tY=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tV="http://www.w3.org/1998/Math/MathML",tG="http://www.w3.org/2000/svg",tX="http://www.w3.org/1999/xhtml",tQ=tX,tK=!1,tJ=null,t0=_({},[tV,tG,tX],p),t1=null,t2=["application/xhtml+xml","text/html"],t5=null,t3=null,t4=o.createElement("form"),t6=function(t){return t instanceof RegExp||t instanceof Function},t8=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t3||t3!==t){if((!t||"object"!=typeof t)&&(t={}),t=v(t),t5="application/xhtml+xml"===(t1=-1===t2.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?p:f,tx=b(t,"ALLOWED_TAGS")?_({},t.ALLOWED_TAGS,t5):tb,tk=b(t,"ALLOWED_ATTR")?_({},t.ALLOWED_ATTR,t5):tC,tJ=b(t,"ALLOWED_NAMESPACES")?_({},t.ALLOWED_NAMESPACES,p):t0,tU=b(t,"ADD_URI_SAFE_ATTR")?_(v(tY),t.ADD_URI_SAFE_ATTR,t5):tY,tq=b(t,"ADD_DATA_URI_TAGS")?_(v(tH),t.ADD_DATA_URI_TAGS,t5):tH,tR=b(t,"FORBID_CONTENTS")?_({},t.FORBID_CONTENTS,t5):tP,t_=b(t,"FORBID_TAGS")?_({},t.FORBID_TAGS,t5):{},tv=b(t,"FORBID_ATTR")?_({},t.FORBID_ATTR,t5):{},tj=!!b(t,"USE_PROFILES")&&t.USE_PROFILES,tT=!1!==t.ALLOW_ARIA_ATTR,tS=!1!==t.ALLOW_DATA_ATTR,tM=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tB=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tL=t.SAFE_FOR_TEMPLATES||!1,tA=!1!==t.SAFE_FOR_XML,tF=t.WHOLE_DOCUMENT||!1,tE=t.RETURN_DOM||!1,tD=t.RETURN_DOM_FRAGMENT||!1,tO=t.RETURN_TRUSTED_TYPE||!1,tW=t.FORCE_BODY||!1,tZ=!1!==t.SANITIZE_DOM,tN=t.SANITIZE_NAMED_PROPS||!1,tI=!1!==t.KEEP_CONTENT,tz=t.IN_PLACE||!1,tm=t.ALLOWED_URI_REGEXP||R,tQ=t.NAMESPACE||tX,tw=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&t6(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tw.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&t6(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tw.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tw.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tL&&(tS=!1),tD&&(tE=!0),tj&&(tx=_({},$),tk=[],!0===tj.html&&(_(tx,S),_(tk,W)),!0===tj.svg&&(_(tx,M),_(tk,E),_(tk,O)),!0===tj.svgFilters&&(_(tx,B),_(tk,E),_(tk,O)),!0===tj.mathMl&&(_(tx,A),_(tk,D),_(tk,O))),t.ADD_TAGS&&(tx===tb&&(tx=v(tx)),_(tx,t.ADD_TAGS,t5)),t.ADD_ATTR&&(tk===tC&&(tk=v(tk)),_(tk,t.ADD_ATTR,t5)),t.ADD_URI_SAFE_ATTR&&_(tU,t.ADD_URI_SAFE_ATTR,t5),t.FORBID_CONTENTS&&(tR===tP&&(tR=v(tR)),_(tR,t.FORBID_CONTENTS,t5)),tI&&(tx["#text"]=!0),tF&&_(tx,["html","head","body"]),tx.table&&(_(tx,["tbody"]),delete t_.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');tr=(r=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===r&&(r=V(G,h)),null!==r&&"string"==typeof tr&&(tr=r.createHTML(""));a&&a(t),t3=t}},t9=_({},["mi","mo","mn","ms","mtext"]),t7=_({},["foreignobject","annotation-xml"]),et=_({},["title","style","font","a","script"]),ee=_({},[...M,...B,...L]),er=_({},[...A,...F]),ei=function(t){let e=te(t);(!e||!e.tagName)&&(e={namespaceURI:tQ,tagName:"template"});let r=f(t.tagName),i=f(e.tagName);if(!tJ[t.namespaceURI])return!1;if(t.namespaceURI===tG)return e.namespaceURI===tX?"svg"===r:e.namespaceURI===tV?"svg"===r&&("annotation-xml"===i||t9[i]):!!ee[r];if(t.namespaceURI===tV)return e.namespaceURI===tX?"math"===r:e.namespaceURI===tG?"math"===r&&t7[i]:!!er[r];if(t.namespaceURI===tX)return(e.namespaceURI!==tG||!!t7[i])&&(e.namespaceURI!==tV||!!t9[i])&&!er[r]&&(et[r]||!ee[r]);return"application/xhtml+xml"===t1&&!!tJ[t.namespaceURI]||!1},en=function(t){d(n.removed,{element:t});try{te(t).removeChild(t)}catch(e){K(t)}},ea=function(t,e){try{d(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){d(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!tk[t]){if(tE||tD)try{en(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},eo=function(t){let e=null,i=null;if(tW)t=""+t;else{let e=g(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===t1&&tQ===tX&&(t=''+t+"");let n=r?r.createHTML(t):t;if(tQ===tX)try{e=new q().parseFromString(n,t1)}catch(t){}if(!e||!e.documentElement){e=ti.createDocument(tQ,"template",null);try{e.documentElement.innerHTML=tK?tr:n}catch(t){}}let a=e.body||e.documentElement;return(t&&i&&a.insertBefore(o.createTextNode(i),a.childNodes[0]||null),tQ===tX)?to.call(e,tF?"html":"body")[0]:tF?e.documentElement:a},es=function(t){return tn.call(t.ownerDocument||t,t,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},el=function(t){return t instanceof P&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},eh=function(t){return"function"==typeof N&&t instanceof N},ec=function(t,e,r){if(!!tl[t])c(tl[t],t=>{t.call(n,e,r,t3)})},eu=function(t){let e=null;if(ec("beforeSanitizeElements",t,null),el(t))return en(t),!0;let r=t5(t.nodeName);if(ec("uponSanitizeElement",t,{tagName:r,allowedTags:tx}),t.hasChildNodes()&&!eh(t.firstElementChild)&&k(/<[/\w]/g,t.innerHTML)&&k(/<[/\w]/g,t.textContent)||t.nodeType===Y.progressingInstruction||tA&&t.nodeType===Y.comment&&k(/<[/\w]/g,t.data))return en(t),!0;if(!tx[r]||t_[r]){if(!t_[r]&&ef(r)&&(tw.tagNameCheck instanceof RegExp&&k(tw.tagNameCheck,r)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(r)))return!1;if(tI&&!tR[r]){let e=te(t)||t.parentNode,r=tt(t)||t.childNodes;if(r&&e){let i=r.length;for(let n=i-1;n>=0;--n){let i=Q(r[n],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,J(t))}}}return en(t),!0}return t instanceof I&&!ei(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&k(/<\/no(script|embed|frames)/i,t.innerHTML)?(en(t),!0):(tL&&t.nodeType===Y.text&&(e=t.textContent,c([th,tc,tu],t=>{e=y(e,t," ")}),t.textContent!==e&&(d(n.removed,{element:t.cloneNode()}),t.textContent=e)),ec("afterSanitizeElements",t,null),!1)},ed=function(t,e,r){if(tZ&&("id"===e||"name"===e)&&(r in o||r in t4))return!1;if(tS&&!tv[e]&&k(td,e));else if(tT&&k(tf,e));else if(!tk[e]||tv[e]){if(!(ef(t)&&(tw.tagNameCheck instanceof RegExp&&k(tw.tagNameCheck,t)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(t))&&(tw.attributeNameCheck instanceof RegExp&&k(tw.attributeNameCheck,e)||tw.attributeNameCheck instanceof Function&&tw.attributeNameCheck(e))||"is"===e&&tw.allowCustomizedBuiltInElements&&(tw.tagNameCheck instanceof RegExp&&k(tw.tagNameCheck,r)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(r))))return!1}else if(tU[e]);else if(k(tm,y(r,tg,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===m(r,"data:")&&tq[t]);else if(tM&&!k(tp,y(r,tg,"")));else if(r)return!1;return!0},ef=function(t){return"annotation-xml"!==t&&g(t,ty)},ep=function(t){ec("beforeSanitizeAttributes",t,null);let{attributes:e}=t;if(!e)return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tk},a=e.length;for(;a--;){let{name:o,namespaceURI:s,value:l}=e[a],h=t5(o),d="value"===o?l:x(l);if(i.attrName=h,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,ec("uponSanitizeAttribute",t,i),d=i.attrValue,tA&&k(/((--!?|])>)|<\/(style|title)/i,d)){ea(o,t);continue}if(i.forceKeepAttr)continue;if(ea(o,t),!i.keepAttr)continue;if(!tB&&k(/\/>/i,d)){ea(o,t);continue}tL&&c([th,tc,tu],t=>{d=y(d,t," ")});let f=t5(t.nodeName);if(!!ed(f,h,d)){if(tN&&("id"===h||"name"===h)&&(ea(o,t),d="user-content-"+d),r&&"object"==typeof G&&"function"==typeof G.getAttributeType){if(s);else switch(G.getAttributeType(f,h)){case"TrustedHTML":d=r.createHTML(d);break;case"TrustedScriptURL":d=r.createScriptURL(d)}}try{s?t.setAttributeNS(s,o,d):t.setAttribute(o,d),el(t)?en(t):u(n.removed)}catch(t){}}}ec("afterSanitizeAttributes",t,null)},eg=function t(e){let r=null,i=es(e);for(ec("beforeSanitizeShadowDOM",e,null);r=i.nextNode();){if(ec("uponSanitizeShadowNode",r,null),!eu(r))r.content instanceof w&&t(r.content),ep(r)}ec("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,a=null,o=null,s=null;if((tK=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!eh(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw C("dirty is not a string, aborting")}else throw C("toString is not a function")}if(!n.isSupported)return t;if(!t$&&t8(e),n.removed=[],"string"==typeof t&&(tz=!1),tz){if(t.nodeName){let e=t5(t.nodeName);if(!tx[e]||t_[e])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof N)(a=(i=eo("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType===Y.element&&"BODY"===a.nodeName?i=a:"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!tE&&!tL&&!tF&&-1===t.indexOf("<"))return r&&tO?r.createHTML(t):t;if(!(i=eo(t)))return tE?null:tO?tr:""}i&&tW&&en(i.firstChild);let h=es(tz?t:i);for(;o=h.nextNode();){if(!eu(o))o.content instanceof w&&eg(o.content),ep(o)}if(tz)return t;if(tE){if(tD)for(s=ta.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(tk.shadowroot||tk.shadowrootmode)&&(s=ts.call(l,s,!0)),s}let u=tF?i.outerHTML:i.innerHTML;return tF&&tx["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&k(H,i.ownerDocument.doctype.name)&&(u="\n"+u),tL&&c([th,tc,tu],t=>{u=y(u,t," ")}),r&&tO?r.createHTML(u):u},n.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t8(t),t$=!0},n.clearConfig=function(){t3=null,t$=!1},n.isValidAttribute=function(t,e,r){!t3&&t8({});let i=t5(t);return ed(i,t5(e),r)},n.addHook=function(t,e){if("function"==typeof e)tl[t]=tl[t]||[],d(tl[t],e)},n.removeHook=function(t){if(tl[t])return u(tl[t])},n.removeHooks=function(t){tl[t]&&(tl[t]=[])},n.removeAllHooks=function(){tl={}},n}()},t.exports=r()},74247:function(t,e,r){"use strict";function i(t,e,r){if(t&&t.length){let[i,n]=e,a=Math.PI/180*r,o=Math.cos(a),s=Math.sin(a);for(let e of t){let[t,r]=e;e[0]=(t-i)*o-(r-n)*s+i,e[1]=(t-i)*s+(r-n)*o+n}}}r.d(e,{Z:function(){return Q}});function n(t,e){var r;let n=e.hachureAngle+90,a=e.hachureGap;a<0&&(a=4*e.strokeWidth),a=Math.round(Math.max(a,.1));let o=1;return e.roughness>=1&&((null===(r=e.randomizer)||void 0===r?void 0:r.next())||Math.random())>.7&&(o=a),function(t,e,r,n=1){let a=Math.max(e,.1),o=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,s=[0,0];if(r)for(let t of o)i(t,s,r);let l=function(t,e,r){let i=[];for(let e of t){var n,a;let t=[...e];n=t[0],a=t[t.length-1],n[0]===a[0]&&n[1]===a[1]||t.push([t[0][0],t[0][1]]),t.length>2&&i.push(t)}let o=[];e=Math.max(e,.1);let s=[];for(let t of i)for(let e=0;et.ymine.ymin?1:t.xe.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax)),!s.length)return o;let l=[],h=s[0].ymin,c=0;for(;l.length||s.length;){if(s.length){let t=-1;for(let e=0;eh);e++)t=e;s.splice(0,t+1).forEach(t=>{l.push({s:h,edge:t})})}if((l=l.filter(t=>!(t.edge.ymax<=h))).sort((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x)),(1!==r||c%e==0)&&l.length>1)for(let t=0;t=l.length)break;let r=l[t].edge,i=l[e].edge;o.push([[Math.round(r.x),h],[Math.round(i.x),h]])}h+=r,l.forEach(t=>{t.edge.x=t.edge.x+r*t.edge.islope}),c++}return o}(o,a,n);if(r){for(let t of o)i(t,s,-r);!function(t,e,r){let n=[];t.forEach(t=>n.push(...t)),i(n,e,r)}(l,s,-r)}return l}(t,a,n,o||1)}class a{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){let r=n(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){let r=[];for(let i of t)r.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],e));return r}}function o(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class s extends a{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth);let i=n(t,Object.assign({},e,{hachureGap:r=Math.max(r,.1)})),a=Math.PI/180*e.hachureAngle,s=[],l=.5*r*Math.cos(a),h=.5*r*Math.sin(a);for(let[t,e]of i)o([t,e])&&s.push([[t[0]-l,t[1]+h],[...e]],[[t[0]+l,t[1]-h],[...e]]);return{type:"fillSketch",ops:this.renderLines(s,e)}}}class l extends a{fillPolygons(t,e){let r=this._fillPolygons(t,e),i=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),n=this._fillPolygons(t,i);return r.ops=r.ops.concat(n.ops),r}}class h{constructor(t){this.helper=t}fillPolygons(t,e){let r=n(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){let r=[],i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.max(i,.1);let n=e.fillWeight;n<0&&(n=e.strokeWidth/2);let a=i/4;for(let s of t){let t=o(s),l=Math.ceil(t/i)-1,h=t-l*i,c=(s[0][0]+s[1][0])/2-i/4,u=Math.min(s[0][1],s[1][1]);for(let t=0;t{let a=o(t),s=Math.floor(a/(r+i)),l=(a+i-s*(r+i))/2,h=t[0],c=t[1];h[0]>c[0]&&(h=t[1],c=t[0]);let u=Math.atan((c[1]-h[1])/(c[0]-h[0]));for(let t=0;t{let n=Math.round(o(t)/(2*e)),a=t[0],s=t[1];a[0]>s[0]&&(a=t[1],s=t[0]);let l=Math.atan((s[1]-a[1])/(s[0]-a[0]));for(let t=0;ti%2?t+r:t+e);a.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":a.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{let t=s.map((t,i)=>i%2?t+r:t+e);a.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":a.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],a.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":a.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],a.push({key:"V",data:[r]});break;case"S":a.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{let t=s.map((t,i)=>i%2?t+r:t+e);a.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":a.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],a.push({key:"T",data:[e,r]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=i,r=n}return a}function x(t){let e=[],r="",i=0,n=0,a=0,o=0,s=0,l=0;for(let{key:h,data:c}of t){switch(h){case"M":e.push({key:"M",data:[...c]}),[i,n]=c,[a,o]=c;break;case"C":e.push({key:"C",data:[...c]}),i=c[4],n=c[5],s=c[2],l=c[3];break;case"L":e.push({key:"L",data:[...c]}),[i,n]=c;break;case"H":i=c[0],e.push({key:"L",data:[i,n]});break;case"V":n=c[0],e.push({key:"L",data:[i,n]});break;case"S":{let t=0,a=0;"C"===r||"S"===r?(t=i+(i-s),a=n+(n-l)):(t=i,a=n),e.push({key:"C",data:[t,a,...c]}),s=c[0],l=c[1],i=c[2],n=c[3];break}case"T":{let[t,a]=c,o=0,h=0;"Q"===r||"T"===r?(o=i+(i-s),h=n+(n-l)):(o=i,h=n);let u=i+2*(o-i)/3,d=n+2*(h-n)/3,f=t+2*(o-t)/3,p=a+2*(h-a)/3;e.push({key:"C",data:[u,d,f,p,t,a]}),s=o,l=h,i=t,n=a;break}case"Q":{let[t,r,a,o]=c,h=i+2*(t-i)/3,u=n+2*(r-n)/3,d=a+2*(t-a)/3,f=o+2*(r-o)/3;e.push({key:"C",data:[h,u,d,f,a,o]}),s=t,l=r,i=a,n=o;break}case"A":{let t=Math.abs(c[0]),r=Math.abs(c[1]),a=c[2],o=c[3],s=c[4],l=c[5],h=c[6];0===t||0===r?(e.push({key:"C",data:[i,n,l,h,l,h]}),i=l,n=h):(i!==l||n!==h)&&((function t(e,r,i,n,a,o,s,l,h,c){let u=Math.PI*s/180,d=[],f=0,p=0,g=0,y=0;if(c)[f,p,g,y]=c;else{[e,r]=b(e,r,-u),[i,n]=b(i,n,-u);let t=(e-i)/2,s=(r-n)/2,c=t*t/(a*a)+s*s/(o*o);c>1&&(a*=c=Math.sqrt(c),o*=c);let d=a*a,m=o*o,x=(l===h?-1:1)*Math.sqrt(Math.abs((d*m-d*s*s-m*t*t)/(d*s*s+m*t*t)));g=x*a*s/o+(e+i)/2,y=-(x*o)*t/a+(r+n)/2,f=Math.asin(parseFloat(((r-y)/o).toFixed(9))),p=Math.asin(parseFloat(((n-y)/o).toFixed(9))),ep&&(f-=2*Math.PI),!h&&p>f&&(p-=2*Math.PI)}let m=p-f;if(Math.abs(m)>120*Math.PI/180){let e=p,r=i,l=n;d=t(i=g+a*Math.cos(p=h&&p>f?f+120*Math.PI/180*1:f+-(120*Math.PI/180*1)),n=y+o*Math.sin(p),r,l,a,o,s,0,h,[p,e,g,y])}m=p-f;let x=Math.cos(f),k=Math.cos(p),C=Math.tan(m/4),w=4/3*a*C,_=4/3*o*C,v=[e,r],T=[e+w*Math.sin(f),r-_*x],S=[i+w*Math.sin(p),n-_*k],M=[i,n];if(T[0]=2*v[0]-T[0],T[1]=2*v[1]-T[1],c)return[T,S,M].concat(d);{d=[T,S,M].concat(d);let t=[];for(let e=0;e2){let n=[];for(let e=0;e2*Math.PI&&(u=0,d=2*Math.PI);let f=Math.min(2*Math.PI/l.curveStepCount/2,(d-u)/2),p=I(f,t,e,h,c,u,d,1,l);if(!l.disableMultiStroke){let r=I(f,t,e,h,c,u,d,1.5,l);p.push(...r)}return o&&(s?p.push(...E(t,e,t+h*Math.cos(u),e+c*Math.sin(u),l),...E(t,e,t+h*Math.cos(d),e+c*Math.sin(d),l)):p.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+h*Math.cos(u),e+c*Math.sin(u)]})),{type:"path",ops:p}}function M(t,e){let r=x(m(y(t))),i=[],n=[0,0],a=[0,0];for(let{key:t,data:o}of r)switch(t){case"M":a=[o[0],o[1]],n=[o[0],o[1]];break;case"L":i.push(...E(a[0],a[1],o[0],o[1],e)),a=[o[0],o[1]];break;case"C":{let[t,r,n,s,l,h]=o;i.push(...function(t,e,r,i,n,a,o,s){let l=[],h=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],c=[0,0],u=s.disableMultiStroke?1:2,d=s.preserveVertices;for(let f=0;f2){r.push({op:"move",data:[i[0][0]+W(t,e),i[0][1]+W(t,e)]});for(let a=1;a500?.4:-.0016668*l+1.233334;let c=n.maxRandomnessOffset||0;c*c*100>s&&(c=l/10);let u=c/2,d=.2+.2*F(n),f=n.bowing*n.maxRandomnessOffset*(i-e)/200,p=n.bowing*n.maxRandomnessOffset*(t-r)/200;f=W(f,n,h),p=W(p,n,h);let g=[],y=()=>W(u,n,h),m=()=>W(c,n,h),x=n.preserveVertices;return a&&(o?g.push({op:"move",data:[t+(x?0:y()),e+(x?0:y())]}):g.push({op:"move",data:[t+(x?0:W(c,n,h)),e+(x?0:W(c,n,h))]})),o?g.push({op:"bcurveTo",data:[f+t+(r-t)*d+y(),p+e+(i-e)*d+y(),f+t+2*(r-t)*d+y(),p+e+2*(i-e)*d+y(),r+(x?0:y()),i+(x?0:y())]}):g.push({op:"bcurveTo",data:[f+t+(r-t)*d+m(),p+e+(i-e)*d+m(),f+t+2*(r-t)*d+m(),p+e+2*(i-e)*d+m(),r+(x?0:m()),i+(x?0:m())]}),g}function O(t,e,r){if(!t.length)return[];let i=[];i.push([t[0][0]+W(e,r),t[0][1]+W(e,r)]),i.push([t[0][0]+W(e,r),t[0][1]+W(e,r)]);for(let n=1;n3){let a=[],o=1-r.curveTightness;n.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2l&&(l=e,h=i)}return Math.sqrt(l)>i?(q(t,e,h+1,i,a),q(t,h,r,i,a)):(a.length||a.push(o),a.push(s)),a}function H(t,e=.15,r){let i=[],n=(t.length-1)/3;for(let r=0;r1&&a.push(t):a.push(t),a.push(e[r+3])}else{let n=e[r+0],o=e[r+1],s=e[r+2],l=e[r+3],h=P(n,o,.5),c=P(o,s,.5),u=P(s,l,.5),d=P(h,c,.5),f=P(c,u,.5),p=P(d,f,.5);t([n,h,d,p],0,i,a),t([p,f,u,l],0,i,a)}return a}(t,3*r,e,i);return r&&r>0?q(i,0,i.length,r):i}let U="none";class Y{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(0x80000000*Math.random())}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,i,n){let a=this._o(n);return this._d("line",[C(t,e,r,i,a)],a)}rectangle(t,e,r,i,n){let a=this._o(n),o=[],s=function(t,e,r,i,n){return w([[t,e],[t+r,e],[t+r,e+i],[t,e+i]],!0,n)}(t,e,r,i,a);if(a.fill){let n=[[t,e],[t+r,e],[t+r,e+i],[t,e+i]];"solid"===a.fillStyle?o.push(B([n],a)):o.push(L([n],a))}return a.stroke!==U&&o.push(s),this._d("rectangle",o,a)}ellipse(t,e,r,i,n){let a=this._o(n),o=[],s=v(r,i,a),l=T(t,e,a,s);if(a.fill){if("solid"===a.fillStyle){let r=T(t,e,a,s).opset;r.type="fillPath",o.push(r)}else o.push(L([l.estimatedPoints],a))}return a.stroke!==U&&o.push(l.opset),this._d("ellipse",o,a)}circle(t,e,r,i){let n=this.ellipse(t,e,r,r,i);return n.shape="circle",n}linearPath(t,e){let r=this._o(e);return this._d("linearPath",[w(t,!1,r)],r)}arc(t,e,r,i,n,a,o=!1,s){let l=this._o(s),h=[],c=S(t,e,r,i,n,a,o,!0,l);if(o&&l.fill){if("solid"===l.fillStyle){let o=Object.assign({},l);o.disableMultiStroke=!0;let s=S(t,e,r,i,n,a,!0,!1,o);s.type="fillPath",h.push(s)}else h.push(function(t,e,r,i,n,a,o){let s=Math.abs(r/2),l=Math.abs(i/2);s+=W(.01*s,o),l+=W(.01*l,o);let h=n,c=a;for(;h<0;)h+=2*Math.PI,c+=2*Math.PI;c-h>2*Math.PI&&(h=0,c=2*Math.PI);let u=(c-h)/o.curveStepCount,d=[];for(let r=h;r<=c;r+=u)d.push([t+s*Math.cos(r),e+l*Math.sin(r)]);return d.push([t+s*Math.cos(c),e+l*Math.sin(c)]),d.push([t,e]),L([d],o)}(t,e,r,i,n,a,l))}return l.stroke!==U&&h.push(c),this._d("arc",h,l)}curve(t,e){let r=this._o(e),i=[],n=_(t,r);if(r.fill&&r.fill!==U){if("solid"===r.fillStyle){let e=_(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{let e=[];if(t.length)for(let i of"number"==typeof t[0][0]?[t]:t)i.length<3?e.push(...i):3===i.length?e.push(...H(j([i[0],i[0],i[1],i[2]]),10,(1+r.roughness)/2)):e.push(...H(j(i),10,(1+r.roughness)/2));e.length&&i.push(L([e],r))}}return r.stroke!==U&&i.push(n),this._d("curve",i,r)}polygon(t,e){let r=this._o(e),i=[],n=w(t,!0,r);return r.fill&&("solid"===r.fillStyle?i.push(B([t],r)):i.push(L([t],r))),r.stroke!==U&&i.push(n),this._d("polygon",i,r)}path(t,e){let r=this._o(e),i=[];if(!t)return this._d("path",i,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let n=r.fill&&"transparent"!==r.fill&&r.fill!==U,a=r.stroke!==U,o=!!(r.simplification&&r.simplification<1),s=function(t,e,r){let i=x(m(y(t))),n=[],a=[],o=[0,0],s=[],l=()=>{s.length>=4&&a.push(...H(s,1)),s=[]},h=()=>{l(),a.length&&(n.push(a),a=[])};for(let{key:t,data:e}of i)switch(t){case"M":h(),o=[e[0],e[1]],a.push(o);break;case"L":l(),a.push([e[0],e[1]]);break;case"C":if(!s.length){let t=a.length?a[a.length-1]:o;s.push([t[0],t[1]])}s.push([e[0],e[1]]),s.push([e[2],e[3]]),s.push([e[4],e[5]]);break;case"Z":l(),a.push([o[0],o[1]])}if(h(),!r)return n;let c=[];for(let t of n){var u,d;let e=(u=t,d=r,q(u,0,u.length,d));e.length&&c.push(e)}return c}(t,1,o?4-4*(r.simplification||1):(1+r.roughness)/2),l=M(t,r);if(n){if("solid"===r.fillStyle){if(1===s.length){let e=M(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else i.push(B(s,r))}else i.push(L(s,r))}return a&&(o?s.forEach(t=>{i.push(w(t,!1,r))}):i.push(l)),this._d("path",i,r)}opsToPath(t,e){let r="";for(let i of t.ops){let t="number"==typeof e&&e>=0?i.data.map(t=>+t.toFixed(e)):i.data;switch(i.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){let e=t.sets||[],r=t.options||this.defaultOptions,i=[];for(let t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:U};break;case"fillPath":e={d:this.opsToPath(t),stroke:U,strokeWidth:0,fill:r.fill||U};break;case"fillSketch":e=this.fillSketch(t,r)}e&&i.push(e)}return i}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||U,strokeWidth:r,fill:U}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class V{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new Y(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.ctx,n=t.options.fixedDecimalPlaceDigits;for(let a of e)switch(a.type){case"path":i.save(),i.strokeStyle="none"===r.stroke?"transparent":r.stroke,i.lineWidth=r.strokeWidth,r.strokeLineDash&&i.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(i.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(i,a,n),i.restore();break;case"fillPath":{i.save(),i.fillStyle=r.fill||"";let e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(i,a,n,e),i.restore();break}case"fillSketch":this.fillSketch(i,a,r)}}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=i,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,i="nonzero"){for(let i of(t.beginPath(),e.ops)){let e="number"==typeof r&&r>=0?i.data.map(t=>+t.toFixed(r)):i.data;switch(i.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(i):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,i,n){let a=this.gen.line(t,e,r,i,n);return this.draw(a),a}rectangle(t,e,r,i,n){let a=this.gen.rectangle(t,e,r,i,n);return this.draw(a),a}ellipse(t,e,r,i,n){let a=this.gen.ellipse(t,e,r,i,n);return this.draw(a),a}circle(t,e,r,i){let n=this.gen.circle(t,e,r,i);return this.draw(n),n}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,i,n,a,o=!1,s){let l=this.gen.arc(t,e,r,i,n,a,o,s);return this.draw(l),l}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){let r=this.gen.path(t,e);return this.draw(r),r}}let G="http://www.w3.org/2000/svg";class X{constructor(t,e){this.svg=t,this.gen=new Y(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,n=i.createElementNS(G,"g"),a=t.options.fixedDecimalPlaceDigits;for(let o of e){let e=null;switch(o.type){case"path":(e=i.createElementNS(G,"path")).setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":(e=i.createElementNS(G,"path")).setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(i,o,r)}e&&n.appendChild(e)}return n}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2);let n=t.createElementNS(G,"path");return n.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),n.setAttribute("stroke",r.fill||""),n.setAttribute("stroke-width",i+""),n.setAttribute("fill","none"),r.fillLineDash&&n.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&n.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),n}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,i,n){let a=this.gen.line(t,e,r,i,n);return this.draw(a)}rectangle(t,e,r,i,n){let a=this.gen.rectangle(t,e,r,i,n);return this.draw(a)}ellipse(t,e,r,i,n){let a=this.gen.ellipse(t,e,r,i,n);return this.draw(a)}circle(t,e,r,i){let n=this.gen.circle(t,e,r,i);return this.draw(n)}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,i,n,a,o=!1,s){let l=this.gen.arc(t,e,r,i,n,a,o,s);return this.draw(l)}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r)}path(t,e){let r=this.gen.path(t,e);return this.draw(r)}}var Q={canvas:(t,e)=>new V(t,e),svg:(t,e)=>new X(t,e),generator:t=>new Y(t),newSeed:()=>Y.newSeed()}},18464:function(t,e,r){"use strict";function i(t){for(var e=[],r=1;rv});var i=r("85893"),n=r("67294"),a=r("67026"),o=r("96025"),s=r("84681");let l={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function h(t){let{type:e,className:r,children:n}=t;return(0,i.jsx)("div",{className:(0,a.Z)(s.k.common.admonition,s.k.common.admonitionType(e),l.admonition,r),children:n})}function c(t){let{icon:e,title:r}=t;return(0,i.jsxs)("div",{className:l.admonitionHeading,children:[(0,i.jsx)("span",{className:l.admonitionIcon,children:e}),r]})}function u(t){let{children:e}=t;return e?(0,i.jsx)("div",{className:l.admonitionContent,children:e}):null}function d(t){let{type:e,icon:r,title:n,children:a,className:o}=t;return(0,i.jsxs)(h,{type:e,className:o,children:[n||r?(0,i.jsx)(c,{title:n,icon:r}):null,(0,i.jsx)(u,{children:a})]})}let f={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function p(t){return(0,i.jsx)(d,{...f,...t,className:(0,a.Z)("alert alert--secondary",t.className),children:t.children})}let g={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function y(t){return(0,i.jsx)(d,{...g,...t,className:(0,a.Z)("alert alert--success",t.className),children:t.children})}let m={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function x(t){return(0,i.jsx)(d,{...m,...t,className:(0,a.Z)("alert alert--info",t.className),children:t.children})}function b(t){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...t,children:(0,i.jsx)("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"})})}let k={icon:(0,i.jsx)(b,{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})},C={icon:(0,i.jsx)(function(t){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})},w={icon:(0,i.jsx)(b,{}),title:(0,i.jsx)(o.default,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})},_={note:p,tip:y,info:x,warning:function(t){return(0,i.jsx)(d,{...k,...t,className:(0,a.Z)("alert alert--warning",t.className),children:t.children})},danger:function(t){return(0,i.jsx)(d,{...C,...t,className:(0,a.Z)("alert alert--danger",t.className),children:t.children})},secondary:t=>(0,i.jsx)(p,{title:"secondary",...t}),important:t=>(0,i.jsx)(x,{title:"important",...t}),success:t=>(0,i.jsx)(y,{title:"success",...t}),caution:function(t){return(0,i.jsx)(d,{...w,...t,className:(0,a.Z)("alert alert--warning",t.className),children:t.children})}};function v(t){let e=function(t){let{mdxAdmonitionTitle:e,rest:r}=function(t){let e=n.Children.toArray(t),r=e.find(t=>n.isValidElement(t)&&"mdxAdmonitionTitle"===t.type),a=e.filter(t=>t!==r);return{mdxAdmonitionTitle:r?.props.children,rest:a.length>0?(0,i.jsx)(i.Fragment,{children:a}):null}}(t.children),a=t.title??e;return{...t,...a&&{title:a},children:r}}(t),r=function(t){let e=_[t];return e?e:(console.warn(`No admonition component found for admonition type "${t}". Using Info as fallback.`),_.info)}(e.type);return(0,i.jsx)(r,{...e})}},15133:function(t,e,r){"use strict";r.d(e,{Z:function(){return h}});var i=r(85893);r(67294);var n=r(67026),a=r(30202),o=r(84681),s=r(75094);function l(t){let{className:e}=t;return(0,i.jsx)(s.Z,{type:"caution",title:(0,i.jsx)(a.cI,{}),className:(0,n.Z)(e,o.k.common.unlistedBanner),children:(0,i.jsx)(a.eU,{})})}function h(t){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.T$,{}),(0,i.jsx)(l,{...t})]})}},38813:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("85893");r("67294");var n=r("67026"),a=r("30202"),o=r("84681"),s=r("75094");function l(t){let{className:e}=t;return(0,i.jsx)(s.Z,{type:"caution",title:(0,i.jsx)(a.ht,{}),className:(0,n.Z)(e,o.k.common.draftBanner),children:(0,i.jsx)(a.xo,{})})}var h=r("15133");function c(t){let{metadata:e}=t,{unlisted:r,frontMatter:n}=e;return(0,i.jsxs)(i.Fragment,{children:[(r||n.unlisted)&&(0,i.jsx)(h.Z,{}),n.draft&&(0,i.jsx)(l,{})]})}},86594:function(t,e,r){"use strict";r.d(e,{Z:()=>y});var i=r("85893");r("67294");var n=r("67026"),a=r("96025"),o=r("84681"),s=r("83012");let l="iconEdit_Z9Sw";function h(t){let{className:e,...r}=t;return(0,i.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,n.Z)(l,e),"aria-hidden":"true",...r,children:(0,i.jsx)("g",{children:(0,i.jsx)("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 c(t){let{editUrl:e}=t;return(0,i.jsxs)(s.Z,{to:e,className:o.k.common.editThisPage,children:[(0,i.jsx)(h,{}),(0,i.jsx)(a.default,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}var u=r("2933");function d(t){let{lastUpdatedAt:e}=t,r=new Date(e),n=(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{i18n:{currentLocale:e}}=(0,u.Z)(),r=function(){let{i18n:{currentLocale:t,localeConfigs:e}}=(0,u.Z)();return e[t].calendar}();return new Intl.DateTimeFormat(e,{calendar:r,...t})})({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(r);return(0,i.jsx)(a.default,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,i.jsx)("b",{children:(0,i.jsx)("time",{dateTime:r.toISOString(),itemProp:"dateModified",children:n})})},children:" on {date}"})}function f(t){let{lastUpdatedBy:e}=t;return(0,i.jsx)(a.default,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,i.jsx)("b",{children:e})},children:" by {user}"})}function p(t){let{lastUpdatedAt:e,lastUpdatedBy:r}=t;return(0,i.jsxs)("span",{className:o.k.common.lastUpdated,children:[(0,i.jsx)(a.default,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:e?(0,i.jsx)(d,{lastUpdatedAt:e}):"",byUser:r?(0,i.jsx)(f,{lastUpdatedBy:r}):""},children:"Last updated{atDate}{byUser}"}),!1]})}let g="lastUpdated_JAkA";function y(t){let{className:e,editUrl:r,lastUpdatedAt:a,lastUpdatedBy:o}=t;return(0,i.jsxs)("div",{className:(0,n.Z)("row",e),children:[(0,i.jsx)("div",{className:"col",children:r&&(0,i.jsx)(c,{editUrl:r})}),(0,i.jsx)("div",{className:(0,n.Z)("col",g),children:(a||o)&&(0,i.jsx)(p,{lastUpdatedAt:a,lastUpdatedBy:o})})]})}},2584:function(t,e,r){"use strict";r.d(e,{Z:()=>rB});var i=r("85893"),n=r("67294"),a=r("50065"),o=r("94819"),s=r("45056");function l(t){return(0,i.jsx)("code",{...t})}var h=r("83012"),c=r("63922");function u(t){let e=n.Children.toArray(t.children),r=e.find(t=>n.isValidElement(t)&&"summary"===t.type),a=(0,i.jsx)(i.Fragment,{children:e.filter(t=>t!==r)});return(0,i.jsx)(c.default,{...t,summary:r,children:a})}var d=r("34403");function f(t){return(0,i.jsx)(d.Z,{...t})}var p=r("67026");let g={containsTaskList:"containsTaskList_mC6p"};var y=r("41065");let m="img_ev3q";var x=r("75094"),b=r("16893"),k=r("78720"),C=r("30140"),w=r("84239"),_=r("16972"),v=r("88984");r("33071"),r("28162");var T=r("16302");r("80587"),r("4511"),r("92719");var S=r("7690"),M=r("92453"),B=r("94159"),L=r("5995"),A=r("18464"),F=r("27818"),$="comm",W="rule",E="decl",D=Math.abs,O=String.fromCharCode;function Z(t){return t.trim()}function N(t,e,r){return t.replace(e,r)}function I(t,e){return 0|t.charCodeAt(e)}function z(t,e,r){return t.slice(e,r)}function j(t){return t.length}function R(t,e){return e.push(t),t}function P(t,e){for(var r="",i=0;i0?f[x]+" "+b:N(b,/&\f/g,f[x])).trim())l[m++]=k;return Q(t,e,r,0===n?W:s,l,h,c,u)}function ta(t,e,r,i,n){return Q(t,e,r,E,z(t,0,i),z(t,i+1,-1),i,n)}var to=r("27856"),ts=r("73217"),tl=(0,L.eW)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),th=(0,L.eW)(async()=>{let{diagram:t}=await r.e("1773").then(r.bind(r,29463));return{id:"c4",diagram:t}},"loader"),tc={id:"c4",detector:tl,loader:th},tu="flowchart",td=(0,L.eW)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),tf=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4013").then(r.bind(r,4465));return{id:tu,diagram:t}},"loader"),tp={id:tu,detector:td,loader:tf},tg="flowchart-v2",ty=(0,L.eW)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-d3"&&(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(t)),"detector"),tm=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4013").then(r.bind(r,4465));return{id:tg,diagram:t}},"loader"),tx={id:tg,detector:ty,loader:tm},tb=(0,L.eW)(t=>/^\s*erDiagram/.test(t),"detector"),tk=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("2866")]).then(r.bind(r,2955));return{id:"er",diagram:t}},"loader"),tC={id:"er",detector:tb,loader:tk},tw="gitGraph",t_=(0,L.eW)(t=>/^\s*gitGraph/.test(t),"detector"),tv=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("9870")]).then(r.bind(r,56981));return{id:tw,diagram:t}},"loader"),tT={id:tw,detector:t_,loader:tv},tS="gantt",tM=(0,L.eW)(t=>/^\s*gantt/.test(t),"detector"),tB=(0,L.eW)(async()=>{let{diagram:t}=await r.e("5516").then(r.bind(r,6907));return{id:tS,diagram:t}},"loader"),tL={id:tS,detector:tM,loader:tB},tA="info",tF=(0,L.eW)(t=>/^\s*info/.test(t),"detector"),t$=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("367")]).then(r.bind(r,34709));return{id:tA,diagram:t}},"loader"),tW={id:tA,detector:tF,loader:t$},tE={id:"pie",detector:(0,L.eW)(t=>/^\s*pie/.test(t),"detector"),loader:(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("7554")]).then(r.bind(r,37279));return{id:"pie",diagram:t}},"loader")},tD="quadrantChart",tO=(0,L.eW)(t=>/^\s*quadrantChart/.test(t),"detector"),tZ=(0,L.eW)(async()=>{let{diagram:t}=await r.e("447").then(r.bind(r,17232));return{id:tD,diagram:t}},"loader"),tN={id:tD,detector:tO,loader:tZ},tI="xychart",tz=(0,L.eW)(t=>/^\s*xychart-beta/.test(t),"detector"),tj=(0,L.eW)(async()=>{let{diagram:t}=await r.e("2036").then(r.bind(r,88091));return{id:tI,diagram:t}},"loader"),tR={id:tI,detector:tz,loader:tj},tP="requirement",tq=(0,L.eW)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),tH=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("8588")]).then(r.bind(r,15461));return{id:tP,diagram:t}},"loader"),tU={id:tP,detector:tq,loader:tH},tY="sequence",tV=(0,L.eW)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tG=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4842").then(r.bind(r,52521));return{id:tY,diagram:t}},"loader"),tX={id:tY,detector:tV,loader:tG},tQ="class",tK=(0,L.eW)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),tJ=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("2260"),r.e("709")]).then(r.bind(r,91167));return{id:tQ,diagram:t}},"loader"),t0={id:tQ,detector:tK,loader:tJ},t1="classDiagram",t2=(0,L.eW)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),t5=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("2260"),r.e("6059")]).then(r.bind(r,29050));return{id:t1,diagram:t}},"loader"),t3={id:t1,detector:t2,loader:t5},t4="state",t6=(0,L.eW)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),t8=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("7960"),r.e("7614")]).then(r.bind(r,79726));return{id:t4,diagram:t}},"loader"),t9={id:t4,detector:t6,loader:t8},t7="stateDiagram",et=(0,L.eW)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper")||!1,"detector"),ee=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("7960"),r.e("6788")]).then(r.bind(r,5565));return{id:t7,diagram:t}},"loader"),er={id:t7,detector:et,loader:ee},ei="journey",en=(0,L.eW)(t=>/^\s*journey/.test(t),"detector"),ea=(0,L.eW)(async()=>{let{diagram:t}=await r.e("1173").then(r.bind(r,74160));return{id:ei,diagram:t}},"loader"),eo={id:ei,detector:en,loader:ea},es={draw:(0,L.eW)((t,e,r)=>{L.cM.debug("rendering svg for syntax error\n");let i=(0,B.P)(e),n=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,L.v2)(i,100,512,!0),n.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"),n.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"),n.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"),n.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"),n.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"),n.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"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw")},el={db:{},renderer:es,parser:{parse:(0,L.eW)(()=>{},"parse")}},eh="flowchart-elk",ec=(0,L.eW)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),eu=(0,L.eW)(async()=>{let{diagram:t}=await r.e("4013").then(r.bind(r,4465));return{id:eh,diagram:t}},"loader"),ed={id:eh,detector:ec,loader:eu},ef="timeline",ep=(0,L.eW)(t=>/^\s*timeline/.test(t),"detector"),eg=(0,L.eW)(async()=>{let{diagram:t}=await r.e("7408").then(r.bind(r,14238));return{id:ef,diagram:t}},"loader"),ey={id:ef,detector:ep,loader:eg},em="mindmap",ex=(0,L.eW)(t=>/^\s*mindmap/.test(t),"detector"),eb=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("6211"),r.e("495")]).then(r.bind(r,10605));return{id:em,diagram:t}},"loader"),ek={id:em,detector:ex,loader:eb},eC="kanban",ew=(0,L.eW)(t=>/^\s*kanban/.test(t),"detector"),e_=(0,L.eW)(async()=>{let{diagram:t}=await r.e("5155").then(r.bind(r,67733));return{id:eC,diagram:t}},"loader"),ev={id:eC,detector:ew,loader:e_},eT="sankey",eS=(0,L.eW)(t=>/^\s*sankey-beta/.test(t),"detector"),eM=(0,L.eW)(async()=>{let{diagram:t}=await r.e("5696").then(r.bind(r,57862));return{id:eT,diagram:t}},"loader"),eB={id:eT,detector:eS,loader:eM},eL="packet",eA=(0,L.eW)(t=>/^\s*packet-beta/.test(t),"detector"),eF=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("9220")]).then(r.bind(r,26629));return{id:eL,diagram:t}},"loader"),e$={id:eL,detector:eA,loader:eF},eW="block",eE=(0,L.eW)(t=>/^\s*block-beta/.test(t),"detector"),eD=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3361")]).then(r.bind(r,58095));return{id:eW,diagram:t}},"loader"),eO={id:eW,detector:eE,loader:eD},eZ="architecture",eN=(0,L.eW)(t=>/^\s*architecture/.test(t),"detector"),eI=(0,L.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("6211"),r.e("9090")]).then(r.bind(r,96026));return{id:eZ,diagram:t}},"loader"),ez={id:eZ,detector:eN,loader:eI},ej=!1,eR=(0,L.eW)(()=>{if(!ej)ej=!0,(0,L.Cq)("error",el,t=>"error"===t.toLowerCase().trim()),(0,L.Cq)("---",{db:{clear:(0,L.eW)(()=>{},"clear")},styles:{},renderer:{draw:(0,L.eW)(()=>{},"draw")},parser:{parse:(0,L.eW)(()=>{throw 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 un-indented `---` blocks")},"parse")},init:(0,L.eW)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,L.KO)(tc,ev,t3,t0,tC,tL,tW,tE,tU,tX,ed,tx,tp,ek,ey,tT,er,t9,eo,tN,eB,e$,tR,eO,ez)},"addDiagrams"),eP=(0,L.eW)(async()=>{L.cM.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(L.Bf).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,L._7)(t)}catch{try{let{diagram:t,id:i}=await r();(0,L.Cq)(i,t,e)}catch(e){throw L.cM.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete L.Bf[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(L.cM.error(`Failed to load ${t.length} external diagrams`),t))L.cM.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams");function eq(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function eH(t,e,r,i){if(void 0!==t.insert){if(r){let e=`chart-desc-${i}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r=`chart-title-${i}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,L.eW)(eq,"setA11yDiagramInfo"),(0,L.eW)(eH,"addSVGa11yTitleDescription");var eU=class t{constructor(t,e,r,i,n){this.type=t,this.text=e,this.db=r,this.parser=i,this.renderer=n}static{(0,L.eW)(this,"Diagram")}static async fromText(e,r={}){let i=(0,L.iE)(),n=(0,L.Vg)(e,i);e=(0,S.Vy)(e)+"\n";try{(0,L._7)(n)}catch{let t=(0,L.cq)(n);if(!t)throw new L.cj(`Diagram ${n} not found.`);let{id:e,diagram:r}=await t();(0,L.Cq)(e,r)}let{db:a,parser:o,renderer:s,init:l}=(0,L._7)(n);return o.parser&&(o.parser.yy=a),a.clear?.(),l?.(i),r.title&&a.setDiagramTitle?.(r.title),await o.parse(e),new t(n,e,a,o,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},eY=[],eV=(0,L.eW)(()=>{eY.forEach(t=>{t()}),eY=[]},"attachFunctions"),eG=(0,L.eW)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function eX(t){let e=t.match(L.M6);if(!e)return{text:t,metadata:{}};let r=(0,_.z)(e[1],{schema:_.A})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:t.slice(e[0].length),metadata:i}}(0,L.eW)(eX,"extractFrontMatter");var eQ=(0,L.eW)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),eK=(0,L.eW)(t=>{let{text:e,metadata:r}=eX(t),{displayMode:i,title:n,config:a={}}=r;return i&&(!a.gantt&&(a.gantt={}),a.gantt.displayMode=i),{title:n,config:a,text:e}},"processFrontmatter"),eJ=(0,L.eW)(t=>{let e=S.w8.detectInit(t)??{},r=S.w8.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,S.tf)(t),directive:e}},"processDirectives");function e0(t){let e=eK(eQ(t)),r=eJ(e.text),i=(0,S.Rb)(e.config,r.directive);return{code:t=eG(r.text),title:e.title,config:i}}function e1(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,L.eW)(e0,"preprocessDiagram"),(0,L.eW)(e1,"toBase64");var e2=["foreignobject"],e5=["dominant-baseline"];function e3(t){let e=e0(t);return(0,L.mc)(),(0,L.XV)(e.config??{}),e}async function e4(t,e){eR();try{let{code:e,config:r}=e3(t);return{diagramType:(await ro(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,L.eW)(e3,"processAndSetConfigs"),(0,L.eW)(e4,"parse");var e6=(0,L.eW)((t,e,r=[])=>` +.${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),e8=(0,L.eW)((t,e=new Map)=>{let r="";if(void 0!==t.themeCSS&&(r+=` +${t.themeCSS}`),void 0!==t.fontFamily&&(r+=` +:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=` +:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let i=t.htmlLabels??t.flowchart?.htmlLabels,n=i?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{!(0,ts.Z)(t.styles)&&n.forEach(e=>{r+=e6(t.id,e,t.styles)}),!(0,ts.Z)(t.textStyles)&&(r+=e6(t.id,"tspan",(t?.textStyles||[]).map(t=>t.replace("color","fill"))))})}return r},"createCssStyles"),e9=(0,L.eW)((t,e,r,i)=>{var n,a,o;let s=e8(t,r),l=(0,L.Ee)(e,s,t.themeVariables);return P((o=function t(e,r,i,n,a,o,s,l,h){for(var c,u,d,f=0,p=0,g=s,y=0,m=0,x=0,b=1,k=1,C=1,w=0,_="",v=a,T=o,S=n,M=_;k;)switch(x=w,w=K()){case 40:if(108!=x&&58==I(M,g-1)){;if(-1!=(c=M+=N(ti(w),"&","&\f"),u="&\f",d=D(f?l[f-1]:0),c.indexOf("&\f",d)))C=-1;break}case 34:case 39:case 91:M+=ti(w);break;case 9:case 10:case 13:case 32:M+=function(t){for(;G=J();)if(G<33)K();else break;return tr(t)>2||tr(G)>3?"":" "}(x);break;case 92:M+=function(t,e){for(var r,i;--e&&K()&&!(G<48)&&!(G>102)&&(!(G>57)||!(G<65))&&(!(G>70)||!(G<97)););return r=t,i=V+(e<6&&32==J()&&32==K()),z(X,r,i)}(V-1,7);continue;case 47:switch(J()){case 42:case 47:R(function(t,e,r,i){return Q(t,e,r,$,O(G),z(t,2,-2),0,i)}(function(t,e){for(;K();)if(t+G===57)break;else if(t+G===84&&47===J())break;return"/*"+z(X,e,V-1)+"*"+O(47===t?t:K())}(K(),V),r,i,h),h),(5==tr(x||1)||5==tr(J()||1))&&j(M)&&" "!==z(M,-1,void 0)&&(M+=" ");break;default:M+="/"}break;case 123*b:l[f++]=j(M)*C;case 125*b:case 59:case 0:switch(w){case 0:case 125:k=0;case 59+p:-1==C&&(M=N(M,/\f/g,"")),m>0&&(j(M)-g||0===b&&47===x)&&R(m>32?ta(M+";",n,i,g-1,h):ta(N(M," ","")+";",n,i,g-2,h),h);break;case 59:M+=";";default:if(R(S=tn(M,r,i,f,p,a,l,_,v=[],T=[],g,o),o),123===w){if(0===p)t(M,r,S,S,v,o,g,l,T);else switch(99===y&&110===I(M,3)?100:y){case 100:case 108:case 109:case 115:t(e,S,S,n&&R(tn(e,S,S,0,0,a,l,_,a,v=[],g,T),T),a,T,g,l,n?v:T);break;default:t(M,S,S,S,[""],T,0,l,T)}}}f=p=m=0,b=C=1,_=M="",g=s;break;case 58:g=1+j(M),m=x;default:if(b<1){if(123==w)--b;else if(125==w&&0==b++&&125==(G=V>0?I(X,--V):0,U--,10===G&&(U=1,H--),G))continue}switch(M+=O(w),w*b){case 38:C=p>0?1:(M+="\f",-1);break;case 44:l[f++]=(j(M)-1)*C,C=1;break;case 64:45===J()&&(M+=ti(K())),y=J(),p=g=j(_=M+=function(t){for(;!tr(J());)K();return z(X,t,V)}(V)),w++;break;case 45:45===x&&2==j(M)&&(b=0)}}return o}("",null,null,null,[""],(a=n=`${i}{${l}}`,H=U=1,Y=j(X=a),V=0,n=[]),0,[0],n),X="",o),q)},"createUserStyles"),e7=(0,L.eW)((t="",e,r)=>{let i=t;return!r&&!e&&(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=(i=(0,S.SH)(i)).replace(/
    /g,"
    ")},"cleanUpSvgCode"),rt=(0,L.eW)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",i=e1(`${t}`);return``},"putIntoIFrame"),re=(0,L.eW)((t,e,r,i,n)=>{let a=t.append("div");a.attr("id",r),i&&a.attr("style",i);let o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return n&&o.attr("xmlns:xlink",n),o.append("g"),t},"appendDivSvgG");function rr(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,L.eW)(rr,"sandboxedIframe");var ri=(0,L.eW)((t,e,r,i)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(i)?.remove()},"removeExistingElements"),rn=(0,L.eW)(async function(t,e,r){let i,n;eR();let a=e3(e);e=a.code;let o=(0,L.iE)();L.cM.debug(o),e.length>(o?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let s="#"+t,l="i"+t,h="#"+l,c="d"+t,u="#"+c,d=(0,L.eW)(()=>{let t=p?h:u,e=(0,F.Ys)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),f=(0,F.Ys)("body"),p="sandbox"===o.securityLevel,g="loose"===o.securityLevel,y=o.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),p){let t=rr((0,F.Ys)(r),l);(f=(0,F.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else f=(0,F.Ys)(r);re(f,t,c,`font-family: ${y}`,"http://www.w3.org/1999/xlink")}else{if(ri(document,t,c,l),p){let t=rr((0,F.Ys)("body"),l);(f=(0,F.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else f=(0,F.Ys)("body");re(f,t,c)}try{i=await eU.fromText(e,{title:a.title})}catch(t){if(o.suppressErrorRendering)throw d(),t;i=await eU.fromText("error"),n=t}let m=f.select(u).node(),x=i.type,b=m.firstChild,k=b.firstChild,C=e9(o,x,i.renderer.getClasses?.(e,i),s),w=document.createElement("style");w.innerHTML=C,b.insertBefore(w,k);try{await i.renderer.draw(e,t,M.i,i)}catch(r){throw o.suppressErrorRendering?d():es.draw(e,t,M.i),r}let _=f.select(`${u} svg`),v=i.db.getAccTitle?.();rs(x,_,v,i.db.getAccDescription?.()),f.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let T=f.select(u).node().innerHTML;if(L.cM.debug("config.arrowMarkerAbsolute",o.arrowMarkerAbsolute),T=e7(T,p,(0,L.ku)(o.arrowMarkerAbsolute)),p?T=rt(T,f.select(u+" svg").node()):!g&&(T=to.sanitize(T,{ADD_TAGS:e2,ADD_ATTR:e5})),eV(),n)throw n;return d(),{diagramType:x,svg:T,bindFunctions:i.db.bindFunctions}},"render");function ra(t={}){let e=(0,L.Yc)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(!e.themeVariables&&(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,L.dY)(e),e?.theme&&e.theme in L._j?e.themeVariables=L._j[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=L._j.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,L.Yn)(e):(0,L.ZD)();(0,L.Ub)(r.logLevel),eR()}(0,L.eW)(ra,"initialize");var ro=(0,L.eW)((t,e={})=>{let{code:r}=e0(t);return eU.fromText(r,e)},"getDiagramFromText");function rs(t,e,r,i){eq(e,t),eH(e,r,i,e.attr("id"))}(0,L.eW)(rs,"addA11yInfo");var rl=Object.freeze({render:rn,parse:e4,getDiagramFromText:ro,initialize:ra,getConfig:L.iE,setConfig:L.v6,getSiteConfig:L.ZD,updateSiteConfig:L.Tb,reset:(0,L.eW)(()=>{(0,L.mc)()},"reset"),globalReset:(0,L.eW)(()=>{(0,L.mc)(L.u_)},"globalReset"),defaultConfig:L.u_});(0,L.Ub)((0,L.iE)().logLevel),(0,L.mc)((0,L.iE)());var rh=(0,L.eW)((t,e,r)=>{L.cM.warn(t),(0,S.bZ)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),rc=(0,L.eW)(async function(t={querySelector:".mermaid"}){try{await ru(t)}catch(e){if((0,S.bZ)(e)&&L.cM.error(e.str),rw.parseError&&rw.parseError(e),!t.suppressErrors)throw L.cM.error("Use the suppressErrors option to suppress these errors"),e}},"run"),ru=(0,L.eW)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let i,n;let a=rl.getConfig();if(L.cM.debug(`${t?"":"No "}Callback function found`),r)i=r;else if(e)i=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");L.cM.debug(`Found ${i.length} diagrams`),a?.startOnLoad!==void 0&&(L.cM.debug("Start On Load: "+a?.startOnLoad),rl.updateSiteConfig({startOnLoad:a?.startOnLoad}));let o=new S.w8.InitIDGenerator(a.deterministicIds,a.deterministicIDSeed),s=[];for(let e of Array.from(i)){if(L.cM.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${o.next()}`;n=e.innerHTML,n=(0,A.Z)(S.w8.entityDecode(n)).trim().replace(//gi,"
    ");let i=S.w8.detectInit(n);i&&L.cM.debug("Detected early reinit: ",i);try{let{svg:i,bindFunctions:a}=await rC(r,n,e);e.innerHTML=i,t&&await t(r),a&&a(e)}catch(t){rh(t,s,rw.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),rd=(0,L.eW)(function(t){rl.initialize(t)},"initialize"),rf=(0,L.eW)(async function(t,e,r){L.cM.warn("mermaid.init is deprecated. Please use run instead."),t&&rd(t);let i={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await rc(i)},"init"),rp=(0,L.eW)(async(t,{lazyLoad:e=!0}={})=>{eR(),(0,L.KO)(...t),!1===e&&await eP()},"registerExternalDiagrams"),rg=(0,L.eW)(function(){if(rw.startOnLoad){let{startOnLoad:t}=rl.getConfig();t&&rw.run().catch(t=>L.cM.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",rg,!1);var ry=(0,L.eW)(function(t){rw.parseError=t},"setParseErrorHandler"),rm=[],rx=!1,rb=(0,L.eW)(async()=>{if(!rx){for(rx=!0;rm.length>0;){let t=rm.shift();if(t)try{await t()}catch(t){L.cM.error("Error executing queue",t)}}rx=!1}},"executeQueue"),rk=(0,L.eW)(async(t,e)=>new Promise((r,i)=>{let n=(0,L.eW)(()=>new Promise((n,a)=>{rl.parse(t,e).then(t=>{n(t),r(t)},t=>{L.cM.error("Error parsing",t),rw.parseError?.(t),a(t),i(t)})}),"performCall");rm.push(n),rb().catch(i)}),"parse"),rC=(0,L.eW)((t,e,r)=>new Promise((i,n)=>{let a=(0,L.eW)(()=>new Promise((a,o)=>{rl.render(t,e,r).then(t=>{a(t),i(t)},t=>{L.cM.error("Error parsing",t),rw.parseError?.(t),o(t),n(t)})}),"performCall");rm.push(a),rb().catch(n)}),"render"),rw={startOnLoad:!0,mermaidAPI:rl,parse:rk,render:rC,init:rf,run:rc,registerExternalDiagrams:rp,registerLayoutLoaders:v.jM,initialize:rd,parseError:void 0,contentLoaded:rg,setParseErrorHandler:ry,detectType:L.Vg,registerIconPacks:T.ef};async function r_(t){let{id:e,text:r,config:i}=t;rw.mermaidAPI.initialize(i);try{return await rw.render(e,r)}catch(t){throw document.querySelector(`#d${e}`)?.remove(),t}}let rv="container_lyt7";function rT(t){let{renderResult:e}=t,r=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let t=r.current;e.bindFunctions?.(t)},[e]),(0,i.jsx)("div",{ref:r,className:`docusaurus-mermaid-container ${rv}`,dangerouslySetInnerHTML:{__html:e.svg}})}function rS(t){let{value:e}=t,r=function(t){let{text:e,config:r}=t,[i,a]=(0,n.useState)(null),o=(0,n.useRef)(`mermaid-svg-${Math.round(1e7*Math.random())}`).current,s=function(){let{colorMode:t}=(0,w.I)(),e=(0,C.L)().mermaid,r=e.theme[t],{options:i}=e;return(0,n.useMemo)(()=>({startOnLoad:!1,...i,theme:r}),[r,i])}(),l=r??s;return(0,n.useEffect)(()=>{r_({id:o,text:e,config:l}).then(a).catch(t=>{a(()=>{throw t})})},[o,e,l]),i}({text:e});return null===r?null:(0,i.jsx)(rT,{renderResult:r})}let rM={Head:o.Z,details:u,Details:u,code:function(t){var e;return void 0!==(e=t).children&&n.Children.toArray(e.children).every(t=>"string"==typeof t&&!t.includes("\n"))?(0,i.jsx)(l,{...t}):(0,i.jsx)(s.default,{...t})},a:function(t){return(0,i.jsx)(h.Z,{...t})},pre:function(t){return(0,i.jsx)(i.Fragment,{children:t.children})},ul:function(t){return(0,i.jsx)("ul",{...t,className:function(t){if(void 0!==t)return(0,p.Z)(t,t?.includes("contains-task-list")&&g.containsTaskList)}(t.className)})},li:function(t){return(0,y.Z)().collectAnchor(t.id),(0,i.jsx)("li",{...t})},img:function(t){var e;return(0,i.jsx)("img",{decoding:"async",loading:"lazy",...t,className:(e=t.className,(0,p.Z)(e,m))})},h1:t=>(0,i.jsx)(f,{as:"h1",...t}),h2:t=>(0,i.jsx)(f,{as:"h2",...t}),h3:t=>(0,i.jsx)(f,{as:"h3",...t}),h4:t=>(0,i.jsx)(f,{as:"h4",...t}),h5:t=>(0,i.jsx)(f,{as:"h5",...t}),h6:t=>(0,i.jsx)(f,{as:"h6",...t}),admonition:x.Z,mermaid:function(t){return(0,i.jsx)(b.Z,{fallback:t=>(0,i.jsx)(k.Ac,{...t}),children:(0,i.jsx)(rS,{...t})})}};function rB(t){let{children:e}=t;return(0,i.jsx)(a.Z,{components:rM,children:e})}},1397:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("85893");r("67294");var n=r("67026"),a=r("76365");let o="tableOfContents_bqdL";function s(t){let{className:e,...r}=t;return(0,i.jsx)("div",{className:(0,n.Z)(o,"thin-scrollbar",e),children:(0,i.jsx)(a.Z,{...r,linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})})}},76365:function(t,e,r){"use strict";r.d(e,{Z:()=>h});var i=r("85893"),n=r("67294"),a=r("30140");function o(t){let e=t.getBoundingClientRect();return e.top===e.bottom?o(t.parentNode):e}var s=r("83012");let l=n.memo(function t(e){let{toc:r,className:n,linkClassName:a,isChild:o}=e;return r.length?(0,i.jsx)("ul",{className:o?void 0:n,children:r.map(e=>(0,i.jsxs)("li",{children:[(0,i.jsx)(s.Z,{to:`#${e.id}`,className:a??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,i.jsx)(t,{isChild:!0,toc:e.children,className:n,linkClassName:a})]},e.id))}):null});function h(t){let{toc:e,className:r="table-of-contents table-of-contents__left-border",linkClassName:s="table-of-contents__link",linkActiveClassName:h,minHeadingLevel:c,maxHeadingLevel:u,...d}=t,f=(0,a.L)(),p=c??f.tableOfContents.minHeadingLevel,g=u??f.tableOfContents.maxHeadingLevel,y=function(t){let{toc:e,minHeadingLevel:r,maxHeadingLevel:i}=t;return(0,n.useMemo)(()=>(function t(e){let{toc:r,minHeadingLevel:i,maxHeadingLevel:n}=e;return r.flatMap(e=>{var r;let a=t({toc:e.children,minHeadingLevel:i,maxHeadingLevel:n});return(r=e).level>=i&&r.level<=n?[{...e,children:a}]:a})})({toc:function(t){let e=t.map(t=>({...t,parentIndex:-1,children:[]})),r=Array(7).fill(-1);e.forEach((t,e)=>{let i=r.slice(2,t.level);t.parentIndex=Math.max(...i),r[t.level]=e});let i=[];return e.forEach(t=>{let{parentIndex:r,...n}=t;r>=0?e[r].children.push(n):i.push(n)}),i}(e),minHeadingLevel:r,maxHeadingLevel:i}),[e,r,i])}({toc:e,minHeadingLevel:p,maxHeadingLevel:g});return!function(t){let e=(0,n.useRef)(void 0),r=function(){let t=(0,n.useRef)(0),{navbar:{hideOnScroll:e}}=(0,a.L)();return(0,n.useEffect)(()=>{t.current=e?0:document.querySelector(".navbar").clientHeight},[e]),t}();(0,n.useEffect)(()=>{if(!t)return()=>{};let{linkClassName:i,linkActiveClassName:n,minHeadingLevel:a,maxHeadingLevel:s}=t;function l(){var t;let l=(t=i,Array.from(document.getElementsByClassName(t))),h=function(t,e){let{anchorTopOffset:r}=e,i=t.find(t=>o(t).top>=r);if(i){var n;return(n=o(i)).top>0&&n.bottom{var e;return h&&h.id===decodeURIComponent((e=t).href.substring(e.href.indexOf("#")+1))});l.forEach(t=>{var r;r=t,t===c?(e.current&&e.current!==r&&e.current.classList.remove(n),r.classList.add(n),e.current=r):r.classList.remove(n)})}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}},[t,r])}((0,n.useMemo)(()=>{if(s&&h)return{linkClassName:s,linkActiveClassName:h,minHeadingLevel:p,maxHeadingLevel:g}},[s,h,p,g])),(0,i.jsx)(l,{toc:y,className:r,linkClassName:s,...d})}},30202:function(t,e,r){"use strict";r.d(e,{T$:function(){return l},cI:function(){return o},eU:function(){return s},ht:function(){return h},xo:function(){return c}});var i=r(85893);r(67294);var n=r(96025),a=r(94819);function o(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function s(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function l(){return(0,i.jsx)(a.Z,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function h(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function c(){return(0,i.jsx)(n.default,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}},27818:function(t,e,r){"use strict";function i(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r=e)&&(r=e);else{let i=-1;for(let n of t)null!=(n=e(n,++i,t))&&(r=n)&&(r=n)}return r}function n(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let i=-1;for(let n of t)null!=(n=e(n,++i,t))&&(r>n||void 0===r&&n>=n)&&(r=n)}return r}function a(t){return t}function o(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}r.d(e,{S1K:()=>rN,Zyz:()=>rY,Igq:()=>rQ,YDX:()=>rG,EFj:()=>rX,ve8:()=>n5,dCK:()=>af,zgE:()=>ay,fGX:()=>ax,$0Z:()=>n8,Dts:()=>n7,WQY:()=>ae,qpX:()=>ai,Nb1:()=>nV,LLu:()=>u,F5q:()=>c,u93:()=>an,tFB:()=>ao,YY7:()=>ah,OvA:()=>au,$m7:()=>ak,c_6:()=>nQ,fxm:()=>aw,FdL:()=>aA,ak_:()=>aF,SxZ:()=>aE,eA_:()=>aO,jsv:()=>aN,JHv:()=>eJ,jvg:()=>n0,Fp7:()=>i,VV$:()=>n,tiA:()=>function t(){var e,r,i=e4().unknown(void 0),n=i.domain,a=i.range,o=0,s=1,l=!1,h=0,c=0,u=.5;function d(){var t=n().length,i=sfunction t(){var e,r,i=rm();return i.copy=function(){return ry(i,t())},e0.apply(i,arguments),r=(e=i).domain,e.ticks=function(t){var e=r();return function(t,e,r){if(e=+e,t=+t,!((r=+r)>0))return[];if(t===e)return[t];let i=e=n))return[];let s=a-n+1,l=Array(s);if(i){if(o<0)for(let t=0;t0;){if((n=rt(l,h,t))===i)return a[o]=l,a[s]=h,r(a);if(n>0)l=Math.floor(l/n)*n,h=Math.ceil(h/n)*n;else if(n<0)l=Math.ceil(l*n)/n,h=Math.floor(h*n)/n;else break;i=n}return e},e},PKp:()=>e4,K2I:()=>nw,rr1:()=>rP,iJ:()=>aZ,Xf:()=>nC,Ys:()=>n_,i$Z:()=>th,y2j:()=>rK,WQD:()=>rj,U8T:()=>rZ,Z_i:()=>rI,Ox9:()=>rV,F0B:()=>r9,LqH:()=>rJ});function l(){return!this.__axis}function h(t,e){var r=[],i=null,n=null,h=6,c=6,u=3,d="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,f=1===t||4===t?-1:1,p=4===t||2===t?"x":"y",g=1===t||3===t?o:s;function y(o){var s=null==i?e.ticks?e.ticks.apply(e,r):e.domain():i,y=null==n?e.tickFormat?e.tickFormat.apply(e,r):a:n,m=Math.max(h,0)+u,x=e.range(),b=+x[0]+d,k=+x[x.length-1]+d,C=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}:function(t){return e=>+t(e)})(e.copy(),d),w=o.selection?o.selection():o,_=w.selectAll(".domain").data([null]),v=w.selectAll(".tick").data(s,e).order(),T=v.exit(),S=v.enter().append("g").attr("class","tick"),M=v.select("line"),B=v.select("text");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),v=v.merge(S),M=M.merge(S.append("line").attr("stroke","currentColor").attr(p+"2",f*h)),B=B.merge(S.append("text").attr("fill","currentColor").attr(p,f*m).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),o!==w&&(_=_.transition(o),v=v.transition(o),M=M.transition(o),B=B.transition(o),T=T.transition(o).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=C(t))?g(t+d):this.getAttribute("transform")}),S.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:C(t))+d)})),T.remove(),_.attr("d",4===t||2===t?c?"M"+f*c+","+b+"H"+d+"V"+k+"H"+f*c:"M"+d+","+b+"V"+k:c?"M"+b+","+f*c+"V"+d+"H"+k+"V"+f*c:"M"+b+","+d+"H"+k),v.attr("opacity",1).attr("transform",function(t){return g(C(t)+d)}),M.attr(p+"2",f*h),B.attr(p,f*m).text(y),w.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=C})}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return r=Array.from(arguments),y},y.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),y):r.slice()},y.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),y):i&&i.slice()},y.tickFormat=function(t){return arguments.length?(n=t,y):n},y.tickSize=function(t){return arguments.length?(h=c=+t,y):h},y.tickSizeInner=function(t){return arguments.length?(h=+t,y):h},y.tickSizeOuter=function(t){return arguments.length?(c=+t,y):c},y.tickPadding=function(t){return arguments.length?(u=+t,y):u},y.offset=function(t){return arguments.length?(d=+t,y):d},y}function c(t){return h(1,t)}function u(t){return h(3,t)}function d(){}function f(t){return null==t?d:function(){return this.querySelector(t)}}function p(){return[]}function g(t){return null==t?p:function(){return this.querySelectorAll(t)}}function y(t){return function(){return this.matches(t)}}function m(t){return function(e){return e.matches(t)}}var x=Array.prototype.find;function b(){return this.firstElementChild}var k=Array.prototype.filter;function C(){return Array.from(this.children)}function w(t){return Array(t.length)}function _(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}_.prototype={constructor:_,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)}};function v(t,e,r,i,n,a){for(var o,s=0,l=e.length,h=a.length;se?1:t>=e?0:NaN}var B="http://www.w3.org/1999/xhtml";let L={svg:"http://www.w3.org/2000/svg",xhtml:B,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function A(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),L.hasOwnProperty(e)?{space:L[e],local:t}:t}function F(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function $(t,e){return t.style.getPropertyValue(e)||F(t).getComputedStyle(t,null).getPropertyValue(e)}function W(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new D(t)}function D(t){this._node=t,this._names=W(t.getAttribute("class")||"")}function O(t,e){for(var r=E(t),i=-1,n=e.length;++ithis._names.indexOf(t)&&(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}};function N(){this.textContent=""}function I(){this.innerHTML=""}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function j(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function R(t){var e=A(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===B&&e.documentElement.namespaceURI===B?e.createElement(t):e.createElementNS(r,t)}})(e)}function P(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function H(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function U(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Y(t){return function(){var e=this.__on;if(e){for(var r,i=0,n=-1,a=e.length;i=C&&(C=k+1);!(b=y[C])&&++C=0;)(i=n[a])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}!t&&(t=M);for(var r=this._groups,i=r.length,n=Array(i),a=0;a1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,r){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,r)}}:function(t,e,r){return function(){this.style.setProperty(t,e,r)}})(t,e,null==r?"":r)):$(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var r=W(t+"");if(arguments.length<2){for(var i=E(this.node()),n=-1,a=r.length;++n=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}),o=a.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var l,h=0,c=s.length;h{}};function tt(){for(var t,e=0,r=arguments.length,i={};e=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!i.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}})),s=-1,l=o.length;if(arguments.length<2){for(;++s0)for(var r,i,n=Array(r),a=0;a=0&&e._call.call(void 0,t),e=e._next;--tg}()}finally{tg=0,function(){for(var t,e,r=tf,i=1/0;r;)r._call?(i>r._time&&(i=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:tf=e);tp=t,tL(i)}(),tb=0}}function tB(){var t=tC.now(),e=t-tx;e>1e3&&(tk-=e,tx=t)}function tL(t){!tg&&(ty&&(ty=clearTimeout(ty)),t-tb>24?(t<1/0&&(ty=setTimeout(tM,t-tC.now()-tk)),tm&&(tm=clearInterval(tm))):(!tm&&(tx=tC.now(),tm=setInterval(tB,1e3)),tg=1,tw(tM)))}function tA(t,e,r){var i=new tT;return e=null==e?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,r),i}var tF=tt("start","end","cancel","interrupt"),t$=[];function tW(t,e,r,i,n,a){var o=t.__transition;if(o){if(r in o)return}else t.__transition={};(function(t,e,r){var i,n=t.__transition;n[e]=r,r.timer=tS(function(t){r.state=1,r.timer.restart(a,r.delay,r.time),r.delay<=t&&a(t-r.delay)},0,r.time);function a(l){var h,c,u,d;if(1!==r.state)return s();for(h in n)if((d=n[h]).name===r.name){if(3===d.state)return tA(a);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete n[h]):+h0)throw Error("too late; already scheduled");return r}function tD(t,e){var r=tO(t,e);if(r.state>3)throw Error("too late; already running");return r}function tO(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw Error("transition not found");return r}function tZ(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var tN=180/Math.PI,tI={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tz(t,e,r,i,n,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*r+e*i)&&(r-=t*l,i-=e*l),(s=Math.sqrt(r*r+i*i))&&(r/=s,i/=s,l/=s),t*i180?l+=360:l-s>180&&(s+=360),c.push({i:h.push(n(h)+"rotate(",null,i)-2,x:tZ(s,l)})):l&&h.push(n(h)+"rotate("+l+i),u=a.skewX,d=o.skewX,f=g,p=y,u!==d?p.push({i:f.push(n(f)+"skewX(",null,i)-2,x:tZ(u,d)}):d&&f.push(n(f)+"skewX("+d+i),!function(t,e,r,i,a,o){if(t!==r||e!==i){var s=a.push(n(a)+"scale(",null,",",null,")");o.push({i:s-4,x:tZ(t,r)},{i:s-2,x:tZ(e,i)})}else(1!==r||1!==i)&&a.push(n(a)+"scale("+r+","+i+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,g,y),a=o=null,function(t){for(var e,r=-1,i=y.length;++r>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?et(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?et(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=tJ.exec(t))?new ei(e[1],e[2],e[3],1):(e=t0.exec(t))?new ei(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=t1.exec(t))?et(e[1],e[2],e[3],e[4]):(e=t2.exec(t))?et(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=t5.exec(t))?eh(e[1],e[2]/100,e[3]/100,1):(e=t3.exec(t))?eh(e[1],e[2]/100,e[3]/100,e[4]):t4.hasOwnProperty(t)?t7(t4[t]):"transparent"===t?new ei(NaN,NaN,NaN,0):null}function t7(t){return new ei(t>>16&255,t>>8&255,255&t,1)}function et(t,e,r,i){return i<=0&&(t=e=r=NaN),new ei(t,e,r,i)}function ee(t){return(!(t instanceof tY)&&(t=t9(t)),t)?new ei((t=t.rgb()).r,t.g,t.b,t.opacity):new ei}function er(t,e,r,i){return 1==arguments.length?ee(t):new ei(t,e,r,null==i?1:i)}function ei(t,e,r,i){this.r=+t,this.g=+e,this.b=+r,this.opacity=+i}function en(){return`#${el(this.r)}${el(this.g)}${el(this.b)}`}tH(ei,er,tU(tY,{brighter(t){return t=null==t?tV:Math.pow(tV,t),new ei(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new ei(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ei(es(this.r),es(this.g),es(this.b),eo(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:en,formatHex:en,formatHex8:function(){return`#${el(this.r)}${el(this.g)}${el(this.b)}${el((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:ea,toString:ea}));function ea(){let t=eo(this.opacity);return`${1===t?"rgb(":"rgba("}${es(this.r)}, ${es(this.g)}, ${es(this.b)}${1===t?")":`, ${t})`}`}function eo(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function es(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function el(t){return((t=es(t))<16?"0":"")+t.toString(16)}function eh(t,e,r,i){return i<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new eu(t,e,r,i)}function ec(t){if(t instanceof eu)return new eu(t.h,t.s,t.l,t.opacity);if(!(t instanceof tY)&&(t=t9(t)),!t)return new eu;if(t instanceof eu)return t;var e=(t=t.rgb()).r/255,r=t.g/255,i=t.b/255,n=Math.min(e,r,i),a=Math.max(e,r,i),o=NaN,s=a-n,l=(a+n)/2;return s?(o=e===a?(r-i)/s+(r0&&l<1?0:o,new eu(o,s,l,t.opacity)}function eu(t,e,r,i){this.h=+t,this.s=+e,this.l=+r,this.opacity=+i}function ed(t){return(t=(t||0)%360)<0?t+360:t}function ef(t){return Math.max(0,Math.min(1,t||0))}function ep(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function eg(t,e,r,i,n){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*r+(1+3*t+3*a-3*o)*i+o*n)/6}tH(eu,function(t,e,r,i){return 1==arguments.length?ec(t):new eu(t,e,r,null==i?1:i)},tU(tY,{brighter(t){return t=null==t?tV:Math.pow(tV,t),new eu(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new eu(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,i=r+(r<.5?r:1-r)*e,n=2*r-i;return new ei(ep(t>=240?t-240:t+120,n,i),ep(t,n,i),ep(t<120?t+240:t-120,n,i),this.opacity)},clamp(){return new eu(ed(this.h),ef(this.s),ef(this.l),eo(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(){let t=eo(this.opacity);return`${1===t?"hsl(":"hsla("}${ed(this.h)}, ${100*ef(this.s)}%, ${100*ef(this.l)}%${1===t?")":`, ${t})`}`}}));let ey=t=>()=>t;function em(t,e){return function(r){return t+r*e}}function ex(t,e){var r=e-t;return r?em(t,r):ey(isNaN(t)?e:t)}let eb=function t(e){var r,i=1==(r=+(r=e))?ex:function(t,e){var i,n,a;return e-t?(i=t,n=e,i=Math.pow(i,a=r),n=Math.pow(n,a)-i,a=1/a,function(t){return Math.pow(i+t*n,a)}):ey(isNaN(t)?e:t)};function n(t,e){var r=i((t=er(t)).r,(e=er(e)).r),n=i(t.g,e.g),a=i(t.b,e.b),o=ex(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=n(e),t.b=a(e),t.opacity=o(e),t+""}}return n.gamma=t,n}(1);function ek(t){return function(e){var r,i,n=e.length,a=Array(n),o=Array(n),s=Array(n);for(r=0;r=1?(r=1,e-1):Math.floor(r*e),n=t[i],a=t[i+1],o=i>0?t[i-1]:2*n-a,s=is&&(o=e.slice(s,o),h[l]?h[l]+=o:h[++l]=o),(n=n[0])===(a=a[0])?h[l]?h[l]+=a:h[++l]=a:(h[++l]=null,c.push({i:l,x:tZ(n,a)})),s=ew.lastIndex;return s=0&&(t=t.slice(0,e)),!t||"start"===t})?tE:tD;return function(){var o=a(this,t),s=o.on;s!==i&&(n=(i=s).copy()).on(e,r),o.on=n}}(r,t,e))},attr:function(t,e){var r=A(t),i="transform"===r?tP:ev;return this.attrTween(t,"function"==typeof e?(r.local?function(t,e,r){var i,n,a;return function(){var o,s,l=r(this);return null==l?void this.removeAttributeNS(t.space,t.local):(o=this.getAttributeNS(t.space,t.local),o===(s=l+"")?null:o===i&&s===n?a:(n=s,a=e(i=o,l)))}}:function(t,e,r){var i,n,a;return function(){var o,s,l=r(this);return null==l?void this.removeAttribute(t):(o=this.getAttribute(t),o===(s=l+"")?null:o===i&&s===n?a:(n=s,a=e(i=o,l)))}})(r,i,tq(this,"attr."+t,e)):null==e?(r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(r):(r.local?function(t,e,r){var i,n,a=r+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===i?n:n=e(i=o,r)}}:function(t,e,r){var i,n,a=r+"";return function(){var o=this.getAttribute(t);return o===a?null:o===i?n:n=e(i=o,r)}})(r,i,e))},attrTween:function(t,e){var r="attr."+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 Error();var i=A(t);return this.tween(r,(i.local?function(t,e){var r,i;function n(){var n,a,o=e.apply(this,arguments);if(o!==i){;r=(i=o)&&(n=t,a=o,function(t){this.setAttributeNS(n.space,n.local,a.call(this,t))})}return r}return n._value=e,n}:function(t,e){var r,i;function n(){var n,a,o=e.apply(this,arguments);if(o!==i){;r=(i=o)&&(n=t,a=o,function(t){this.setAttribute(n,a.call(this,t))})}return r}return n._value=e,n})(i,e))},style:function(t,e,r){var i,n,a,o,s,l,h,c,u,d,f,p,g,y,m,x,b,k,C,w,_,v,T,S,M,B="transform"==(t+="")?tR:ev;return null==e?this.styleTween(t,(i=t,n=B,function(){var t=$(this,i),e=(this.style.removeProperty(i),$(this,i));return t===e?null:t===a&&e===o?s:s=n(a=t,o=e)})).on("end.style."+t,eS(t)):"function"==typeof e?this.styleTween(t,(l=t,h=B,c=tq(this,"style."+t,e),function(){var t=$(this,l),e=c(this),r=e+"";return null==e&&(this.style.removeProperty(l),r=e=$(this,l)),t===r?null:t===u&&r===d?f:(d=r,f=h(u=t,e))})).each((p=this._id,C="end."+(k="style."+(g=t)),function(){var t=tD(this,p),e=t.on,r=null==t.value[k]?b||(b=eS(g)):void 0;(e!==y||x!==r)&&(m=(y=e).copy()).on(C,x=r),t.on=m})):this.styleTween(t,(w=t,_=B,M=(v=e)+"",function(){var t=$(this,w);return t===M?null:t===T?S:S=_(T=t,v)}),r).on("end.style."+t,null)},styleTween:function(t,e,r){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 Error();return this.tween(i,function(t,e,r){var i,n;function a(){var a,o,s,l=e.apply(this,arguments);if(l!==n){;i=(n=l)&&(a=t,o=l,s=r,function(t){this.style.setProperty(a,o.call(this,t),s)})}return i}return a._value=e,a}(t,e,null==r?"":r))},text:function(t){var e,r;return this.tween("text","function"==typeof t?(e=tq(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(r=null==t?"":t+"",function(){this.textContent=r}))},textTween:function(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 Error();return this.tween(e,function(t){var e,r;function i(){var i,n=t.apply(this,arguments);if(n!==r){;e=(r=n)&&(i=n,function(t){this.textContent=i.call(this,t)})}return e}return i._value=t,i}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var i,n=tO(this.node(),r).tween,a=0,o=n.length;a2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete a[n]}o&&delete t.__transition}}(this,t)})},K.prototype.transition=function(t){var e,r;t instanceof eB?(e=t._id,t=t._name):(e=++eM,(r=eF).time=t_(),t=null==t?null:t+"");for(var i=this._groups,n=i.length,a=0;aeR?Math.pow(t,1/3):t/ej+eI}function eU(t){return t>ez?t*t*t:ej*(t-eI)}function eY(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eV(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}tH(eq,function(t,e,r,i){return 1==arguments.length?eP(t):new eq(t,e,r,null==i?1:i)},tU(tY,{brighter(t){return new eq(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new eq(this.l-18*(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,r=isNaN(this.b)?t:t-this.b/200;return e=.96422*eU(e),t=1*eU(t),new ei(eY(3.1338561*e-1.6168667*t-.4906146*(r=.82521*eU(r))),eY(-.9787684*e+1.9161415*t+.033454*r),eY(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));function eG(t,e,r,i){return 1==arguments.length?function(t){if(t instanceof eX)return new eX(t.h,t.c,t.l,t.opacity);if(!(t instanceof eq)&&(t=eP(t)),0===t.a&&0===t.b)return new eX(NaN,0180||r<-180?r-360*Math.round(r/360):r):ey(isNaN(t)?e:t)});eK(ex);function e0(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}class e1 extends Map{constructor(t,e=e5){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(e2(this,t))}has(t){return super.has(e2(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):(t.set(i,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let i=e(r);return t.has(i)&&(r=t.get(i),t.delete(i)),r}(this,t))}}function e2({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):r}function e5(t){return null!==t&&"object"==typeof t?t.valueOf():t}let e3=Symbol("implicit");function e4(){var t=new e1,e=[],r=[],i=e3;function n(n){let a=t.get(n);if(void 0===a){if(i!==e3)return i;t.set(n,a=e.push(n)-1)}return r[a%r.length]}return n.domain=function(r){if(!arguments.length)return e.slice();for(let i of(e=[],t=new e1,r))!t.has(i)&&t.set(i,e.push(i)-1);return n},n.range=function(t){return arguments.length?(r=Array.from(t),n):r.slice()},n.unknown=function(t){return arguments.length?(i=t,n):i},n.copy=function(){return e4(e,r).unknown(i)},e0.apply(n,arguments),n}let e6=Math.sqrt(50),e8=Math.sqrt(10),e9=Math.sqrt(2);function e7(t,e,r){let i,n,a;let o=(e-t)/Math.max(0,r),s=Math.floor(Math.log10(o)),l=o/Math.pow(10,s),h=l>=e6?10:l>=e8?5:l>=e9?2:1;return(s<0?(i=Math.round(t*(a=Math.pow(10,-s)/h)),n=Math.round(e*a),i/ae&&--n,a=-a):(i=Math.round(t/(a=Math.pow(10,s)*h)),n=Math.round(e/a),i*ae&&--n),ne?1:t>=e?0:NaN}function ri(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function rn(t){let e,r,i;function n(t,i,a=0,o=t.length){if(a>>1;0>r(t[e],i)?a=e+1:o=e}while(arr(t(e),r),i=(e,r)=>t(e)-r):(e=t===rr||t===ri?t:ra,r=t,i=t),{left:n,center:function(t,e,r=0,a=t.length){let o=n(t,e,r,a-1);return o>r&&i(t[o-1],e)>-i(t[o],e)?o-1:o},right:function(t,i,n=0,a=t.length){if(n>>1;0>=r(t[e],i)?n=e+1:a=e}while(ne&&(r=t,t=e,e=r),h=function(r){return Math.max(t,Math.min(e,r))}}return i=l>2?rg:rp,n=a=null,u}function u(e){return null==e||isNaN(e=+e)?r:(n||(n=i(o.map(t),s,l)))(t(h(e)))}return u.invert=function(r){return h(e((a||(a=i(s,o.map(t),tZ)))(r)))},u.domain=function(t){return arguments.length?(o=Array.from(t,rc),c()):o.slice()},u.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},u.rangeRound=function(t){return s=Array.from(t),l=rh,c()},u.clamp=function(t){return arguments.length?(h=!!t||rd,c()):h!==rd},u.interpolate=function(t){return arguments.length?(l=t,c()):l},u.unknown=function(t){return arguments.length?(r=t,u):r},function(r,i){return t=r,e=i,c()}})()(rd,rd)}var rx=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function rb(t){var e;if(!(e=rx.exec(t)))throw Error("invalid format: "+t);return new rk({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 rk(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+""}rb.prototype=rk.prototype,rk.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};function rC(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,i=t.slice(0,r);return[i.length>1?i[0]+i.slice(2):i,+t.slice(r+1)]}function rw(t){return(t=rC(Math.abs(t)))?t[1]:NaN}function r_(t,e){var r=rC(t,e);if(!r)return t+"";var i=r[0],n=r[1];return n<0?"0."+Array(-n).join("0")+i:i.length>n+1?i.slice(0,n+1)+"."+i.slice(n+1):i+Array(n-i.length+2).join("0")}let rv={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},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)=>r_(100*t,e),r:r_,s:function(t,e){var r=rC(t,e);if(!r)return t+"";var i=r[0],n=r[1],a=n-(tn=3*Math.max(-8,Math.min(8,Math.floor(n/3))))+1,o=i.length;return a===o?i:a>o?i+Array(a-o+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+rC(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function rT(t){return t}var rS=Array.prototype.map,rM=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];(function(t){to=(ta=function(t){var e,r,i,n=void 0===t.grouping||void 0===t.thousands?rT:(e=rS.call(t.grouping,Number),r=t.thousands+"",function(t,i){for(var n=t.length,a=[],o=0,s=e[0],l=0;n>0&&s>0&&(l+s+1>i&&(s=Math.max(1,i-l)),a.push(t.substring(n-=s,n+s)),!((l+=s+1)>i));){;s=e[o=(o+1)%e.length]}return a.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?rT:(i=rS.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),h=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function d(t){var e=(t=rb(t)).fill,r=t.align,i=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.trim,x=t.type;"n"===x?(g=!0,x="g"):!rv[x]&&(void 0===y&&(y=12),m=!0,x="g"),(f||"0"===e&&"="===r)&&(f=!0,e="0",r="=");var b="$"===d?a:"#"===d&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",k="$"===d?o:/[%p]/.test(x)?h:"",C=rv[x],w=/[defgprs%]/.test(x);function _(t){var a,o,h,d=b,_=k;if("c"===x)_=C(t)+_,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:C(Math.abs(t),y),m&&(t=function(t){t:for(var e,r=t.length,i=1,n=-1;i0&&(n=0)}return n>0?t.slice(0,n)+t.slice(e+1):t}(t)),v&&0==+t&&"+"!==i&&(v=!1),d=(v?"("===i?i:c:"-"===i||"("===i?"":i)+d,_=("s"===x?rM[8+tn/3]:"")+_+(v&&"("===i?")":""),w){for(a=-1,o=t.length;++a(h=t.charCodeAt(a))||h>57){_=(46===h?s+t.slice(a+1):t.slice(a))+_,t=t.slice(0,a);break}}}g&&!f&&(t=n(t,1/0));var T=d.length+t.length+_.length,S=T>1)+d+t+_+S.slice(T);break;default:t=S+d+t+_}return l(t)}return y=void 0===y?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),_.toString=function(){return t+""},_}return{format:d,formatPrefix:function(t,e){var r=d(((t=rb(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(rw(e)/3))),n=Math.pow(10,-i),a=rM[8+i/3];return function(t){return r(n*t)+a}}}}(t)).format,ts=ta.formatPrefix})({thousands:",",grouping:[3],currency:["$",""]});let rB=6e4,rL=36e5,rA=864e5,rF=6048e5,r$=2592e6,rW=31536e6,rE=new Date,rD=new Date;function rO(t,e,r,i){function n(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return n.floor=e=>(t(e=new Date(+e)),e),n.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),n.round=t=>{let e=n(t),r=n.ceil(t);return t-e(e(t=new Date(+t),null==r?1:Math.floor(r)),t),n.range=(r,i,a)=>{let o;let s=[];if(r=n.ceil(r),a=null==a?1:Math.floor(a),!(r0))return s;do s.push(o=new Date(+r)),e(r,a),t(r);while(orO(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,i)=>{if(t>=t){if(i<0)for(;++i<=0;)for(;e(t,-1),!r(t););else for(;--i>=0;)for(;e(t,1),!r(t););}}),r&&(n.count=(e,i)=>(rE.setTime(+e),rD.setTime(+i),t(rE),t(rD),Math.floor(r(rE,rD))),n.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?n.filter(i?e=>i(e)%t==0:e=>n.count(0,e)%t==0):n:null),n}let rZ=rO(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);rZ.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?rO(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):rZ:null,rZ.range;let rN=rO(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());rN.range;let rI=rO(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+e*rB)},(t,e)=>(e-t)/rB,t=>t.getMinutes());rI.range;let rz=rO(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*rB)},(t,e)=>(e-t)/rB,t=>t.getUTCMinutes());rz.range;let rj=rO(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*rB)},(t,e)=>{t.setTime(+t+e*rL)},(t,e)=>(e-t)/rL,t=>t.getHours());rj.range;let rR=rO(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*rL)},(t,e)=>(e-t)/rL,t=>t.getUTCHours());rR.range;let rP=rO(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rB)/rA,t=>t.getDate()-1);rP.range;let rq=rO(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/rA,t=>t.getUTCDate()-1);rq.range;let rH=rO(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/rA,t=>Math.floor(t/rA));function rU(t){return rO(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rB)/rF)}rH.range;let rY=rU(0),rV=rU(1),rG=rU(2),rX=rU(3),rQ=rU(4),rK=rU(5),rJ=rU(6);function r0(t){return rO(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/rF)}rY.range,rV.range,rG.range,rX.range,rQ.range,rK.range,rJ.range;let r1=r0(0),r2=r0(1),r5=r0(2),r3=r0(3),r4=r0(4),r6=r0(5),r8=r0(6);r1.range,r2.range,r5.range,r3.range,r4.range,r6.range,r8.range;let r9=rO(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());r9.range;let r7=rO(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());r7.range;let it=rO(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());it.every=t=>isFinite(t=Math.floor(t))&&t>0?rO(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,it.range;let ie=rO(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function ir(t,e,r,i,n,a){let o=[[rN,1,1e3],[rN,5,5e3],[rN,15,15e3],[rN,30,3e4],[a,1,rB],[a,5,5*rB],[a,15,15*rB],[a,30,30*rB],[n,1,rL],[n,3,3*rL],[n,6,6*rL],[n,12,12*rL],[i,1,rA],[i,2,2*rA],[r,1,rF],[e,1,r$],[e,3,3*r$],[t,1,rW]];function s(e,r,i){let n=Math.abs(r-e)/i,a=rn(([,,t])=>t).right(o,n);if(a===o.length)return t.every(re(e/rW,r/rW,i));if(0===a)return rZ.every(Math.max(re(e,r,i),1));let[s,l]=o[n/o[a-1][2]isFinite(t=Math.floor(t))&&t>0?rO(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,ie.range;let[ii,ia]=ir(ie,r7,r1,rH,rR,rz),[io,is]=ir(it,r9,rY,rP,rj,rI);function il(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 ih(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 ic(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var iu={"-":"",_:" ",0:"0"},id=/^\s*\d+/,ip=/^%/,ig=/[\\^$*+?|[\]().{}]/g;function iy(t,e,r){var i=t<0?"-":"",n=(i?-t:t)+"",a=n.length;return i+(a[t.toLowerCase(),e]))}function ik(t,e,r){var i=id.exec(e.slice(r,r+1));return i?(t.w=+i[0],r+i[0].length):-1}function iC(t,e,r){var i=id.exec(e.slice(r,r+1));return i?(t.u=+i[0],r+i[0].length):-1}function iw(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.U=+i[0],r+i[0].length):-1}function i_(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.V=+i[0],r+i[0].length):-1}function iv(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.W=+i[0],r+i[0].length):-1}function iT(t,e,r){var i=id.exec(e.slice(r,r+4));return i?(t.y=+i[0],r+i[0].length):-1}function iS(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),r+i[0].length):-1}function iM(t,e,r){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),r+i[0].length):-1}function iB(t,e,r){var i=id.exec(e.slice(r,r+1));return i?(t.q=3*i[0]-3,r+i[0].length):-1}function iL(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.m=i[0]-1,r+i[0].length):-1}function iA(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.d=+i[0],r+i[0].length):-1}function iF(t,e,r){var i=id.exec(e.slice(r,r+3));return i?(t.m=0,t.d=+i[0],r+i[0].length):-1}function i$(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.H=+i[0],r+i[0].length):-1}function iW(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.M=+i[0],r+i[0].length):-1}function iE(t,e,r){var i=id.exec(e.slice(r,r+2));return i?(t.S=+i[0],r+i[0].length):-1}function iD(t,e,r){var i=id.exec(e.slice(r,r+3));return i?(t.L=+i[0],r+i[0].length):-1}function iO(t,e,r){var i=id.exec(e.slice(r,r+6));return i?(t.L=Math.floor(i[0]/1e3),r+i[0].length):-1}function iZ(t,e,r){var i=ip.exec(e.slice(r,r+1));return i?r+i[0].length:-1}function iN(t,e,r){var i=id.exec(e.slice(r));return i?(t.Q=+i[0],r+i[0].length):-1}function iI(t,e,r){var i=id.exec(e.slice(r));return i?(t.s=+i[0],r+i[0].length):-1}function iz(t,e){return iy(t.getDate(),e,2)}function ij(t,e){return iy(t.getHours(),e,2)}function iR(t,e){return iy(t.getHours()%12||12,e,2)}function iP(t,e){return iy(1+rP.count(it(t),t),e,3)}function iq(t,e){return iy(t.getMilliseconds(),e,3)}function iH(t,e){return iq(t,e)+"000"}function iU(t,e){return iy(t.getMonth()+1,e,2)}function iY(t,e){return iy(t.getMinutes(),e,2)}function iV(t,e){return iy(t.getSeconds(),e,2)}function iG(t){var e=t.getDay();return 0===e?7:e}function iX(t,e){return iy(rY.count(it(t)-1,t),e,2)}function iQ(t){var e=t.getDay();return e>=4||0===e?rQ(t):rQ.ceil(t)}function iK(t,e){return t=iQ(t),iy(rQ.count(it(t),t)+(4===it(t).getDay()),e,2)}function iJ(t){return t.getDay()}function i0(t,e){return iy(rV.count(it(t)-1,t),e,2)}function i1(t,e){return iy(t.getFullYear()%100,e,2)}function i2(t,e){return iy((t=iQ(t)).getFullYear()%100,e,2)}function i5(t,e){return iy(t.getFullYear()%1e4,e,4)}function i3(t,e){var r=t.getDay();return iy((t=r>=4||0===r?rQ(t):rQ.ceil(t)).getFullYear()%1e4,e,4)}function i4(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+iy(e/60|0,"0",2)+iy(e%60,"0",2)}function i6(t,e){return iy(t.getUTCDate(),e,2)}function i8(t,e){return iy(t.getUTCHours(),e,2)}function i9(t,e){return iy(t.getUTCHours()%12||12,e,2)}function i7(t,e){return iy(1+rq.count(ie(t),t),e,3)}function nt(t,e){return iy(t.getUTCMilliseconds(),e,3)}function ne(t,e){return nt(t,e)+"000"}function nr(t,e){return iy(t.getUTCMonth()+1,e,2)}function ni(t,e){return iy(t.getUTCMinutes(),e,2)}function nn(t,e){return iy(t.getUTCSeconds(),e,2)}function na(t){var e=t.getUTCDay();return 0===e?7:e}function no(t,e){return iy(r1.count(ie(t)-1,t),e,2)}function ns(t){var e=t.getUTCDay();return e>=4||0===e?r4(t):r4.ceil(t)}function nl(t,e){return t=ns(t),iy(r4.count(ie(t),t)+(4===ie(t).getUTCDay()),e,2)}function nh(t){return t.getUTCDay()}function nc(t,e){return iy(r2.count(ie(t)-1,t),e,2)}function nu(t,e){return iy(t.getUTCFullYear()%100,e,2)}function nd(t,e){return iy((t=ns(t)).getUTCFullYear()%100,e,2)}function nf(t,e){return iy(t.getUTCFullYear()%1e4,e,4)}function np(t,e){var r=t.getUTCDay();return iy((t=r>=4||0===r?r4(t):r4.ceil(t)).getUTCFullYear()%1e4,e,4)}function ng(){return"+0000"}function ny(){return"%"}function nm(t){return+t}function nx(t){return Math.floor(+t/1e3)}(function(t){th=(tl=function(t){var e=t.dateTime,r=t.date,i=t.time,n=t.periods,a=t.days,o=t.shortDays,s=t.months,l=t.shortMonths,h=ix(n),c=ib(n),u=ix(a),d=ib(a),f=ix(o),p=ib(o),g=ix(s),y=ib(s),m=ix(l),x=ib(l),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:iz,e:iz,f:iH,g:i2,G:i3,H:ij,I:iR,j:iP,L:iq,m:iU,M:iY,p:function(t){return n[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:nm,s:nx,S:iV,u:iG,U:iX,V:iK,w:iJ,W:i0,x:null,X:null,y:i1,Y:i5,Z:i4,"%":ny},k={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:i6,e:i6,f:ne,g:nd,G:np,H:i8,I:i9,j:i7,L:nt,m:nr,M:ni,p:function(t){return n[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:nm,s:nx,S:nn,u:na,U:no,V:nl,w:nh,W:nc,x:null,X:null,y:nu,Y:nf,Z:ng,"%":ny},C={a:function(t,e,r){var i=f.exec(e.slice(r));return i?(t.w=p.get(i[0].toLowerCase()),r+i[0].length):-1},A:function(t,e,r){var i=u.exec(e.slice(r));return i?(t.w=d.get(i[0].toLowerCase()),r+i[0].length):-1},b:function(t,e,r){var i=m.exec(e.slice(r));return i?(t.m=x.get(i[0].toLowerCase()),r+i[0].length):-1},B:function(t,e,r){var i=g.exec(e.slice(r));return i?(t.m=y.get(i[0].toLowerCase()),r+i[0].length):-1},c:function(t,r,i){return v(t,e,r,i)},d:iA,e:iA,f:iO,g:iS,G:iT,H:i$,I:i$,j:iF,L:iD,m:iL,M:iW,p:function(t,e,r){var i=h.exec(e.slice(r));return i?(t.p=c.get(i[0].toLowerCase()),r+i[0].length):-1},q:iB,Q:iN,s:iI,S:iE,u:iC,U:iw,V:i_,w:ik,W:iv,x:function(t,e,i){return v(t,r,e,i)},X:function(t,e,r){return v(t,i,e,r)},y:iS,Y:iT,Z:iM,"%":iZ};function w(t,e){return function(r){var i,n,a,o=[],s=-1,l=0,h=t.length;for(!(r instanceof Date)&&(r=new Date(+r));++s53)return null;!("w"in a)&&(a.w=1),"Z"in a?(i=(n=(i=ih(ic(a.y,0,1))).getUTCDay())>4||0===n?r2.ceil(i):r2(i),i=rq.offset(i,(a.V-1)*7),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=(n=(i=il(ic(a.y,0,1))).getDay())>4||0===n?rV.ceil(i):rV(i),i=rP.offset(i,(a.V-1)*7),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),n="Z"in a?ih(ic(a.y,0,1)).getUTCDay():il(ic(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(n+5)%7:a.w+7*a.U-(n+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,ih(a)):il(a)}}function v(t,e,r,i){for(var n,a,o=0,s=e.length,l=r.length;o=l)return -1;if(37===(n=e.charCodeAt(o++))){if(!(a=C[(n=e.charAt(o++))in iu?e.charAt(o++):n])||(i=a(t,r,i))<0)return -1}else if(n!=r.charCodeAt(i++))return -1}return i}return b.x=w(r,b),b.X=w(i,b),b.c=w(e,b),k.x=w(r,k),k.X=w(i,k),k.c=w(e,k),{format:function(t){var e=w(t+="",b);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=w(t+="",k);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t+="",!0);return e.toString=function(){return t},e}}}(t)).format,tl.parse,tl.utcFormat,tl.utcParse})({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"]});function nb(t){return new Date(t)}function nk(t){return t instanceof Date?+t:+new Date(+t)}function nC(){return e0.apply((function t(e,r,i,n,a,o,s,l,h,c){var u=rm(),d=u.invert,f=u.domain,p=c(".%L"),g=c(":%S"),y=c("%I:%M"),m=c("%I %p"),x=c("%a %d"),b=c("%b %d"),k=c("%B"),C=c("%Y");function w(t){return(h(t)=1?nW:t<=-1?-nW:Math.asin(t)}let nO=Math.PI,nZ=2*nO,nN=nZ-1e-6;function nI(t){this._+=t[0];for(let e=1,r=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return nI;let r=10**e;return function(t){this._+=t[0];for(let e=1,i=t.length;e1e-6){if(Math.abs(c*s-l*h)>1e-6&&n){let d=r-a,f=i-o,p=s*s+l*l,g=Math.sqrt(p),y=Math.sqrt(u),m=n*Math.tan((nO-Math.acos((p+u-(d*d+f*f))/(2*g*y)))/2),x=m/y,b=m/g;Math.abs(x-1)>1e-6&&this._append`L${t+x*h},${e+x*c}`,this._append`A${n},${n},0,0,${+(c*d>h*f)},${this._x1=t+b*s},${this._y1=e+b*l}`}else this._append`L${this._x1=t},${this._y1=e}`}else;}arc(t,e,r,i,n,a){if(t=+t,e=+e,r=+r,a=!!a,r<0)throw Error(`negative radius: ${r}`);let o=r*Math.cos(i),s=r*Math.sin(i),l=t+o,h=e+s,c=1^a,u=a?i-n:n-i;null===this._x1?this._append`M${l},${h}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&this._append`L${l},${h}`,r&&(u<0&&(u=u%nZ+nZ),u>nN?this._append`A${r},${r},0,1,${c},${t-o},${e-s}A${r},${r},0,1,${c},${this._x1=l},${this._y1=h}`:u>1e-6&&this._append`A${r},${r},0,${+(u>=nO)},${c},${this._x1=t+r*Math.cos(n)},${this._y1=e+r*Math.sin(n)}`)}rect(t,e,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function nj(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new nz(e)}function nR(t){return t.innerRadius}function nP(t){return t.outerRadius}function nq(t){return t.startAngle}function nH(t){return t.endAngle}function nU(t){return t&&t.padAngle}nz.prototype;function nY(t,e,r,i,n,a,o){var s=t-r,l=e-i,h=(o?a:-a)/nF(s*s+l*l),c=h*l,u=-h*s,d=t+c,f=e+u,p=r+c,g=i+u,y=(d+p)/2,m=(f+g)/2,x=p-d,b=g-f,k=x*x+b*b,C=n-a,w=d*g-p*f,_=(b<0?-1:1)*nF(nB(0,C*C*k-w*w)),v=(w*b-x*_)/k,T=(-w*x-b*_)/k,S=(w*b+x*_)/k,M=(-w*x+b*_)/k,B=v-y,L=T-m,A=S-y,F=M-m;return B*B+L*L>A*A+F*F&&(v=S,T=M),{cx:v,cy:T,x01:-c,y01:-u,x11:v*(n/C-1),y11:T*(n/C-1)}}function nV(){var t=nR,e=nP,r=nv(0),i=null,n=nq,a=nH,o=nU,s=null,l=nj(h);function h(){var h,c,u=+t.apply(this,arguments),d=+e.apply(this,arguments),f=n.apply(this,arguments)-nW,p=a.apply(this,arguments)-nW,g=nT(p-f),y=p>f;if(!s&&(s=h=l()),d1e-12){if(g>nE-1e-12)s.moveTo(d*nM(f),d*nA(f)),s.arc(0,0,d,f,p,!y),u>1e-12&&(s.moveTo(u*nM(p),u*nA(p)),s.arc(0,0,u,p,f,y));else{var m,x,b=f,k=p,C=f,w=p,_=g,v=g,T=o.apply(this,arguments)/2,S=T>1e-12&&(i?+i.apply(this,arguments):nF(u*u+d*d)),M=nL(nT(d-u)/2,+r.apply(this,arguments)),B=M,L=M;if(S>1e-12){var A=nD(S/u*nA(T)),F=nD(S/d*nA(T));(_-=2*A)>1e-12?(A*=y?1:-1,C+=A,w-=A):(_=0,C=w=(f+p)/2),(v-=2*F)>1e-12?(F*=y?1:-1,b+=F,k-=F):(v=0,b=k=(f+p)/2)}var $=d*nM(b),W=d*nA(b),E=u*nM(w),D=u*nA(w);if(M>1e-12){var O,Z=d*nM(k),N=d*nA(k),I=u*nM(C),z=u*nA(C);if(g1?0:j<-1?n$:Math.acos(j))/2),Y=nF(O[0]*O[0]+O[1]*O[1]);B=nL(M,(u-Y)/(U-1)),L=nL(M,(d-Y)/(U+1))}else B=L=0}}v>1e-12?L>1e-12?(m=nY(I,z,$,W,d,L,y),x=nY(Z,N,E,D,d,L,y),s.moveTo(m.cx+m.x01,m.cy+m.y01),L1e-12&&_>1e-12?B>1e-12?(m=nY(E,D,Z,N,u,-B,y),x=nY($,W,I,z,u,-B,y),s.lineTo(m.cx+m.x01,m.cy+m.y01),Bt?1:e>=t?0:NaN}function n2(t){return t}function n5(){var t=n2,e=n1,r=null,i=nv(0),n=nv(nE),a=nv(0);function o(o){var s,l,h,c,u,d=(o=nG(o)).length,f=0,p=Array(d),g=Array(d),y=+i.apply(this,arguments),m=Math.min(nE,Math.max(-nE,n.apply(this,arguments)-y)),x=Math.min(Math.abs(m)/d,a.apply(this,arguments)),b=x*(m<0?-1:1);for(s=0;s0&&(f+=u);for(null!=e?p.sort(function(t,r){return e(g[t],g[r])}):null!=r&&p.sort(function(t,e){return r(o[t],o[e])}),s=0,h=f?(m-d*b)/f:0;s0?u*h:0)+b,g[l]={data:o[l],index:s,value:u,startAngle:y,endAngle:c,padAngle:x};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:nv(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,r=null,o):e},o.sort=function(t){return arguments.length?(r=t,e=null,o):r},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:nv(+t),o):i},o.endAngle=function(t){return arguments.length?(n="function"==typeof t?t:nv(+t),o):n},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:nv(+t),o):a},o}function n3(){}function n4(t,e,r){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+r)/6)}function n6(t){this._context=t}function n8(t){return new n6(t)}function n9(t){this._context=t}function n7(t){return new n9(t)}function at(t){this._context=t}function ae(t){return new at(t)}Array.prototype.slice,nX.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)}}},n6.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:n4(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:n4(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},n9.prototype={areaStart:n3,areaEnd:n3,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:n4(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},at.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 r=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:n4(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class ar{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 ai(t){return new ar(t,!0)}function an(t){return new ar(t,!1)}function aa(t,e){this._basis=new n6(t),this._beta=e}aa.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0){for(var i,n=t[0],a=e[0],o=t[r]-n,s=e[r]-a,l=-1;++l<=r;)i=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+i*o),this._beta*e[l]+(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)}};let ao=function t(e){function r(t){return 1===e?new n6(t):new aa(t,e)}return r.beta=function(e){return t(+e)},r}(.85);function as(t,e,r){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-r),t._x2,t._y2)}function al(t,e){this._context=t,this._k=(1-e)/6}al.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:as(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:as(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}};let ah=function t(e){function r(t){return new al(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ac(t,e){this._context=t,this._k=(1-e)/6}ac.prototype={areaStart:n3,areaEnd:n3,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:as(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}};let au=function t(e){function r(t){return new ac(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ad(t,e){this._context=t,this._k=(1-e)/6}ad.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:as(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}};let af=function t(e){function r(t){return new ad(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ap(t,e,r){var i=t._x1,n=t._y1,a=t._x2,o=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>1e-12){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*h+t._x1*t._l23_2a-e*t._l12_2a)/c,o=(o*h+t._y1*t._l23_2a-r*t._l12_2a)/c}t._context.bezierCurveTo(i,n,a,o,t._x2,t._y2)}function ag(t,e){this._context=t,this._alpha=e}ag.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 r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:ap(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}};let ay=function t(e){function r(t){return e?new ag(t,e):new al(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function am(t,e){this._context=t,this._alpha=e}am.prototype={areaStart:n3,areaEnd:n3,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 r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:ap(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}};let ax=function t(e){function r(t){return e?new am(t,e):new ac(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function ab(t,e){this._context=t,this._alpha=e}ab.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 r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+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:ap(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}};let ak=function t(e){function r(t){return e?new ab(t,e):new ad(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function aC(t){this._context=t}function aw(t){return new aC(t)}function a_(t){return t<0?-1:1}function av(t,e,r){var i=t._x1-t._x0,n=e-t._x1,a=(t._y1-t._y0)/(i||n<0&&-0),o=(r-t._y1)/(n||i<0&&-0),s=(a*n+o*i)/(i+n);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function aT(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function aS(t,e,r){var i=t._x0,n=t._y0,a=t._x1,o=t._y1,s=(a-i)/3;t._context.bezierCurveTo(i+s,n+s*e,a-s,o-s*r,a,o)}function aM(t){this._context=t}function aB(t){this._context=new aL(t)}function aL(t){this._context=t}function aA(t){return new aM(t)}function aF(t){return new aB(t)}function a$(t){this._context=t}function aW(t){var e,r,i=t.length-1,n=Array(i),a=Array(i),o=Array(i);for(n[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e=0;--e)n[e]=(o[e]-n[e+1])/a[e];for(e=0,a[i-1]=(t[i]+n[i-1])/2;e=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 r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},aI.prototype={constructor:aI,scale:function(t){return 1===t?this:new aI(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new aI(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+")"}};var az=new aI(1,0,0);(function(t){for(;!t.__zoom;)if(!(t=t.parentNode))return az;return t.__zoom}).prototype=aI.prototype},90930:function(t,e,r){"use strict";r.d(e,{Z:()=>o});var i=r("53763"),n=r("75036");let a=class t{constructor(){this.type=n.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=n.w.ALL}is(t){return this.type===t}},o=new class t{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new a}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=n.w.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:n}=t;void 0===e&&(t.h=i.Z.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=i.Z.channel.rgb2hsl(t,"s")),void 0===n&&(t.l=i.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:n}=t;void 0===e&&(t.r=i.Z.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=i.Z.channel.hsl2rgb(t,"g")),void 0===n&&(t.b=i.Z.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(n.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(n.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(n.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(n.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(n.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(n.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},26652:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("90930"),n=r("75036");let a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(a.re);if(!e)return;let r=e[1],n=parseInt(r,16),o=r.length,s=o%4==0,l=o>4,h=l?1:17,c=l?8:4,u=s?0:-1,d=l?255:15;return i.Z.set({r:(n>>c*(u+3)&d)*h,g:(n>>c*(u+2)&d)*h,b:(n>>c*(u+1)&d)*h,a:s?(n&d)*h/255:1},t)},stringify:t=>{let{r:e,g:r,b:i,a}=t;return a<1?`#${n.Q[Math.round(e)]}${n.Q[Math.round(r)]}${n.Q[Math.round(i)]}${n.Q[Math.round(255*a)]}`:`#${n.Q[Math.round(e)]}${n.Q[Math.round(r)]}${n.Q[Math.round(i)]}`}};var o=r("53763");let s={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=>{let e=t.match(s.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return o.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return o.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return o.Z.channel.clamp.h(360*parseFloat(t))}}return o.Z.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(s.re);if(!r)return;let[,n,a,l,h,c]=r;return i.Z.set({h:s._hue2deg(n),s:o.Z.channel.clamp.s(parseFloat(a)),l:o.Z.channel.clamp.l(parseFloat(l)),a:h?o.Z.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{let{h:e,s:r,l:i,a:n}=t;return n<1?`hsla(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}%, ${o.Z.lang.round(i)}%, ${n})`:`hsl(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}%, ${o.Z.lang.round(i)}%)`}},l={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();let e=l.colors[t];if(e)return a.parse(e)},stringify:t=>{let e=a.stringify(t);for(let t in l.colors)if(l.colors[t]===e)return t}},h={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=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let r=t.match(h.re);if(!r)return;let[,n,a,s,l,c,u,d,f]=r;return i.Z.set({r:o.Z.channel.clamp.r(a?2.55*parseFloat(n):parseFloat(n)),g:o.Z.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:o.Z.channel.clamp.b(u?2.55*parseFloat(c):parseFloat(c)),a:d?o.Z.channel.clamp.a(f?parseFloat(d)/100:parseFloat(d)):1},t)},stringify:t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`rgba(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}, ${o.Z.lang.round(i)}, ${o.Z.lang.round(n)})`:`rgb(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}, ${o.Z.lang.round(i)})`}},c={format:{keyword:l,hex:a,rgb:h,rgba:h,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=a.parse(t)||h.parse(t)||s.parse(t)||l.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(n.w.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?a.stringify(t):h.stringify(t)}},75036:function(t,e,r){"use strict";r.d(e,{Q:function(){return n},w:function(){return a}});var i=r(53763);let n={};for(let t=0;t<=255;t++)n[t]=i.Z.unit.dec2hex(t);let a={ALL:0,RGB:1,HSL:2}},46859:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(53763),n=r(26652);let a=(t,e,r)=>{let a=n.Z.parse(t),o=a[e],s=i.Z.channel.clamp[e](o+r);return o!==s&&(a[e]=s),n.Z.stringify(a)}},17826:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(53763),n=r(26652);let a=(t,e)=>{let r=n.Z.parse(t);for(let t in e)r[t]=i.Z.channel.clamp[t](e[t]);return n.Z.stringify(r)}},35035:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(46859);let n=(t,e)=>(0,i.Z)(t,"l",-e)},77845:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("53763"),n=r("26652");let a=t=>{let{r:e,g:r,b:a}=n.Z.parse(t),o=.2126*i.Z.channel.toLinear(e)+.7152*i.Z.channel.toLinear(r)+.0722*i.Z.channel.toLinear(a);return i.Z.lang.round(o)},o=t=>a(t)>=.5,s=t=>!o(t)},86750:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(46859);let n=(t,e)=>(0,i.Z)(t,"l",e)},13328:function(t,e,r){"use strict";r.d(e,{Z:function(){return s}});var i=r(53763),n=r(90930),a=r(26652),o=r(17826);let s=(t,e,r=0,s=1)=>{if("number"!=typeof t)return(0,o.Z)(t,{a:e});let l=n.Z.set({r:i.Z.channel.clamp.r(t),g:i.Z.channel.clamp.g(e),b:i.Z.channel.clamp.b(r),a:i.Z.channel.clamp.a(s)});return a.Z.stringify(l)}},53763:function(t,e,r){"use strict";r.d(e,{Z:()=>n});let i={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=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t,hsl2rgb:({h:t,s:e,l:r},n)=>{if(!e)return 2.55*r;t/=360,e/=100;let a=(r/=100)<.5?r*(1+e):r+e-r*e,o=2*r-a;switch(n){case"r":return 255*i.hue2rgb(o,a,t+1/3);case"g":return 255*i.hue2rgb(o,a,t);case"b":return 255*i.hue2rgb(o,a,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},i)=>{let n=Math.max(t/=255,e/=255,r/=255),a=Math.min(t,e,r),o=(n+a)/2;if("l"===i)return 100*o;if(n===a)return 0;let s=n-a;if("s"===i)return 100*(o>.5?s/(2-n-a):s/(n+a));switch(n){case t:return((e-r)/s+(ee>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},87390:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("38487");let n=function(t,e){for(var r=t.length;r--;)if((0,i.Z)(t[r][0],e))return r;return -1};var a=Array.prototype.splice;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1},o.prototype.set=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};let s=o},2321:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(16161),n=r(52434);let a=(0,i.Z)(n.Z,"Map")},79401:function(t,e,r){"use strict";r.d(e,{Z:()=>d});var i=(0,r("16161").Z)(Object,"create"),n=Object.prototype.hasOwnProperty,a=Object.prototype.hasOwnProperty;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++es});var i=r("87390"),n=r("2321"),a=r("79401");function o(t){var e=this.__data__=new i.Z(t);this.size=e.size}o.prototype.clear=function(){this.__data__=new i.Z,this.size=0},o.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},o.prototype.get=function(t){return this.__data__.get(t)},o.prototype.has=function(t){return this.__data__.has(t)},o.prototype.set=function(t,e){var r=this.__data__;if(r instanceof i.Z){var o=r.__data__;if(!n.Z||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new a.Z(o)}return r.set(t,e),this.size=r.size,this};let s=o},3958:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=r(52434).Z.Symbol},8530:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=r(52434).Z.Uint8Array},12895:function(t,e,r){"use strict";r.d(e,{Z:()=>c});let i=function(t,e){for(var r=-1,i=Array(t);++rn});let n=function(t,e,r){for(var i=-1,n=Object(t),a=r(t),o=a.length;o--;){var s=a[++i];if(!1===e(n[s],s,n))break}return t}},65182:function(t,e,r){"use strict";r.d(e,{Z:()=>u});var i=r("3958"),n=Object.prototype,a=n.hasOwnProperty,o=n.toString,s=i.Z?i.Z.toStringTag:void 0;let l=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var i=!0}catch(t){}var n=o.call(t);return i&&(e?t[s]=r:delete t[s]),n};var h=Object.prototype.toString,c=i.Z?i.Z.toStringTag:void 0;let u=function(t){var e;if(null==t)return void 0===t?"[object Undefined]":"[object Null]";return c&&c in Object(t)?l(t):(e=t,h.call(e))}},22769:function(t,e,r){"use strict";r.d(e,{Z:()=>o});var i=r("84342"),n=(0,r("14965").Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty;let o=function(t){if(!(0,i.Z)(t))return n(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},53148:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var i=r(94675),n=r(89647),a=r(89186);let o=function(t,e){return(0,a.Z)((0,n.Z)(t,e,i.Z),t+"")}},44026:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return function(e){return t(e)}}},21914:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(8530);let n=function(t){var e=new t.constructor(t.byteLength);return new i.Z(e).set(new i.Z(t)),e}},49307:function(t,e,r){"use strict";r.d(e,{Z:function(){return l}});var i=r(52434),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===n?i.Z.Buffer:void 0,s=o?o.allocUnsafe:void 0;let l=function(t,e){if(e)return t.slice();var r=t.length,i=s?s(r):new t.constructor(r);return t.copy(i),i}},32025:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(21914);let n=function(t,e){var r=e?(0,i.Z)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},76177:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t,e){var r=-1,i=t.length;for(e||(e=Array(i));++r1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,s&&(0,n.Z)(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),e=Object(e);++ig});var i,n=r("18782"),a=r("52434").Z["__core-js_shared__"];var o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",s=r("58641"),l=r("71842"),h=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let p=function(t){var e;return!!(0,s.Z)(t)&&(e=t,!o||!(o in e))&&((0,n.Z)(t)?f:h).test((0,l.Z)(t))},g=function(t,e){var r,i,n=(r=t,i=e,null==r?void 0:r[i]);return p(n)?n:void 0}},53754:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=(0,r(14965).Z)(Object.getPrototypeOf,Object)},23302:function(t,e,r){"use strict";r.d(e,{Z:()=>_});var i=r("16161"),n=r("52434"),a=(0,i.Z)(n.Z,"DataView"),o=r("2321"),s=(0,i.Z)(n.Z,"Promise"),l=r("88521"),h=(0,i.Z)(n.Z,"WeakMap"),c=r("65182"),u=r("71842"),d="[object Map]",f="[object Promise]",p="[object Set]",g="[object WeakMap]",y="[object DataView]",m=(0,u.Z)(a),x=(0,u.Z)(o.Z),b=(0,u.Z)(s),k=(0,u.Z)(l.Z),C=(0,u.Z)(h),w=c.Z;(a&&w(new a(new ArrayBuffer(1)))!=y||o.Z&&w(new o.Z)!=d||s&&w(s.resolve())!=f||l.Z&&w(new l.Z)!=p||h&&w(new h)!=g)&&(w=function(t){var e=(0,c.Z)(t),r="[object Object]"==e?t.constructor:void 0,i=r?(0,u.Z)(r):"";if(i)switch(i){case m:return y;case x:return d;case b:return f;case k:return p;case C:return g}return e});let _=w},62799:function(t,e,r){"use strict";r.d(e,{Z:()=>l});var i=r("58641"),n=Object.create,a=function(){function t(){}return function(e){if(!(0,i.Z)(e))return{};if(n)return n(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),o=r("53754"),s=r("84342");let l=function(t){return"function"!=typeof t.constructor||(0,s.Z)(t)?{}:a((0,o.Z)(t))}},92383:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=/^(?:0|[1-9]\d*)$/;let n=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&i.test(t))&&t>-1&&t%1==0&&ta});let i=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var n=Math.max;let a=function(t,e,r){return e=n(void 0===e?t.length-1:e,0),function(){for(var a=arguments,o=-1,s=n(a.length-e,0),l=Array(s);++ou});var i,n,a,o=r("96498"),s=r("33722"),l=r("94675"),h=s.Z?function(t,e){return(0,s.Z)(t,"toString",{configurable:!0,enumerable:!1,value:(0,o.Z)(e),writable:!0})}:l.Z,c=Date.now;let u=(i=h,n=0,a=0,function(){var t=c(),e=16-(t-a);if(a=t,e>0){if(++n>=800)return arguments[0]}else n=0;return i.apply(void 0,arguments)})},71842:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=Function.prototype.toString;let n=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},96498:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return function(){return t}}},38487:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t,e){return t===e||t!=t&&e!=e}},94675:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return t}},45988:function(t,e,r){"use strict";r.d(e,{Z:()=>h});var i=r("65182"),n=r("75887");let a=function(t){return(0,n.Z)(t)&&"[object Arguments]"==(0,i.Z)(t)};var o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable;let h=a(function(){return arguments}())?a:function(t){return(0,n.Z)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},31739:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=Array.isArray},71581:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(18782),n=r(49666);let a=function(t){return null!=t&&(0,n.Z)(t.length)&&!(0,i.Z)(t)}},61322:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(71581),n=r(75887);let a=function(t){return(0,n.Z)(t)&&(0,i.Z)(t)}},25162:function(t,e,r){"use strict";r.d(e,{Z:()=>l});var i=r("52434"),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===n?i.Z.Buffer:void 0,s=o?o.isBuffer:void 0;let l=s||function(){return!1}},73217:function(t,e,r){"use strict";r.d(e,{Z:function(){return d}});var i=r(22769),n=r(23302),a=r(45988),o=r(31739),s=r(71581),l=r(25162),h=r(84342),c=r(48366),u=Object.prototype.hasOwnProperty;let d=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,o.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.Z)(t)||(0,c.Z)(t)||(0,a.Z)(t)))return!t.length;var e=(0,n.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.Z)(t))return!(0,i.Z)(t).length;for(var r in t)if(u.call(t,r))return!1;return!0}},18782:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(65182),n=r(58641);let a=function(t){if(!(0,n.Z)(t))return!1;var e=(0,i.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},49666:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},58641:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},75887:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return null!=t&&"object"==typeof t}},48366:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("65182"),n=r("49666"),a=r("75887"),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=r("44026"),l=r("74413"),h=l.Z&&l.Z.isTypedArray;let c=h?(0,s.Z)(h):function(t){return(0,a.Z)(t)&&(0,n.Z)(t.length)&&!!o[(0,i.Z)(t)]}},40038:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("12895"),n=r("58641"),a=r("84342");let o=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;let l=function(t){if(!(0,n.Z)(t))return o(t);var e=(0,a.Z)(t),r=[];for(var i in t)!("constructor"==i&&(e||!s.call(t,i)))&&r.push(i);return r};var h=r("71581");let c=function(t){return(0,h.Z)(t)?(0,i.Z)(t,!0):l(t)}},65269:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(79401);function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],a=r.cache;if(a.has(n))return a.get(n);var o=t.apply(this,i);return r.cache=a.set(n,o)||a,o};return r.cache=new(n.Cache||i.Z),r}n.Cache=i.Z;let a=n},41777:function(t,e,r){"use strict";r.d(e,{Z:()=>$});var i=r("11395"),n=r("49790"),a=r("38487");let o=function(t,e,r){(void 0!==r&&!(0,a.Z)(t[e],r)||void 0===r&&!(e in t))&&(0,n.Z)(t,e,r)};var s=r("45467"),l=r("49307"),h=r("32025"),c=r("76177"),u=r("62799"),d=r("45988"),f=r("31739"),p=r("61322"),g=r("25162"),y=r("18782"),m=r("58641"),x=r("65182"),b=r("53754"),k=r("75887"),C=Object.prototype,w=Function.prototype.toString,_=C.hasOwnProperty,v=w.call(Object);let T=function(t){if(!(0,k.Z)(t)||"[object Object]"!=(0,x.Z)(t))return!1;var e=(0,b.Z)(t);if(null===e)return!0;var r=_.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&w.call(r)==v};var S=r("48366");let M=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var B=r("29919"),L=r("40038");let A=function(t,e,r,i,n,a,s){var x=M(t,r),b=M(e,r),k=s.get(b);if(k){o(t,r,k);return}var C=a?a(x,b,r+"",t,e,s):void 0,w=void 0===C;if(w){var _,v=(0,f.Z)(b),A=!v&&(0,g.Z)(b),F=!v&&!A&&(0,S.Z)(b);if(C=b,v||A||F)(0,f.Z)(x)?C=x:(0,p.Z)(x)?C=(0,c.Z)(x):A?(w=!1,C=(0,l.Z)(b,!0)):F?(w=!1,C=(0,h.Z)(b,!0)):C=[];else if(T(b)||(0,d.Z)(b)){if(C=x,(0,d.Z)(x)){;_=x,C=(0,B.Z)(_,(0,L.Z)(_))}else(!(0,m.Z)(x)||(0,y.Z)(x))&&(C=(0,u.Z)(b))}else w=!1}w&&(s.set(b,C),n(C,b,i,a,s),s.delete(b)),o(t,r,C)},F=function t(e,r,n,a,l){if(e!==r)(0,s.Z)(r,function(s,h){if(l||(l=new i.Z),(0,m.Z)(s))A(e,r,h,n,t,a,l);else{var c=a?a(M(e,h),s,h+"",e,r,l):void 0;void 0===c&&(c=s),o(e,h,c)}},L.Z)},$=(0,r("92807").Z)(function(t,e,r){F(t,e,r)})},16302:function(t,e,r){"use strict";r.d(e,{s4:()=>S,ef:()=>v,cN:()=>C});var i=r("5995");let n=/^[a-z0-9]+(-[a-z0-9]+)*$/,a=(t,e,r,i="")=>{let n=t.split(":");if("@"===t.slice(0,1)){if(n.length<2||n.length>3)return null;i=n.shift().slice(1)}if(n.length>3||!n.length)return null;if(n.length>1){let t=n.pop(),r=n.pop(),a={provider:n.length>0?n[0]:i,prefix:r,name:t};return e&&!o(a)?null:a}let a=n[0],s=a.split("-");if(s.length>1){let t={provider:i,prefix:s.shift(),name:s.join("-")};return e&&!o(t)?null:t}if(r&&""===i){let t={provider:i,prefix:"",name:a};return e&&!o(t,r)?null:t}return null},o=(t,e)=>!!t&&!!((""===t.provider||t.provider.match(n))&&(e&&""===t.prefix||t.prefix.match(n))&&t.name.match(n)),s=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),h=Object.freeze({...s,...l}),c=Object.freeze({...h,body:"",hidden:!1});function u(t,e){let r=function(t,e){let r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);let i=((t.rotate||0)+(e.rotate||0))%4;return i&&(r.rotate=i),r}(t,e);for(let i in c)i in l?i in t&&!(i in r)&&(r[i]=l[i]):i in e?r[i]=e[i]:i in t&&(r[i]=t[i]);return r}function d(t,e,r){let i=t.icons,n=t.aliases||Object.create(null),a={};function o(t){a=u(i[t]||n[t],a)}return o(e),r.forEach(o),u(t,a)}let f=Object.freeze({...Object.freeze({width:null,height:null}),...l}),p=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function y(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;let i=t.split(p);if(null===i||!i.length)return t;let n=[],a=i.shift(),o=g.test(a);for(;;){if(o){let t=parseFloat(a);isNaN(t)?n.push(a):n.push(Math.ceil(t*e*r)/r)}else n.push(a);if(void 0===(a=i.shift()))return n.join("");o=!o}}let m=t=>"unset"===t||"undefined"===t||"none"===t,x=/\sid="(\S+)"/g,b="IconifyId"+Date.now().toString(16)+(0x1000000*Math.random()|0).toString(16),k=0;var C={body:'?',height:80,width:80},w=new Map,_=new Map,v=(0,i.eW)(t=>{for(let e of t){if(!e.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(i.cM.debug("Registering icon pack:",e.name),"loader"in e)_.set(e.name,e.loader);else if("icons"in e)w.set(e.name,e.icons);else throw i.cM.error("Invalid icon loader:",e),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),T=(0,i.eW)(async(t,e)=>{let r=a(t,!0,void 0!==e);if(!r)throw Error(`Invalid icon name: ${t}`);let n=r.prefix||e;if(!n)throw Error(`Icon name must contain a prefix: ${t}`);let o=w.get(n);if(!o){let t=_.get(n);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{o={...await t(),prefix:n},w.set(n,o)}catch(t){throw i.cM.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let s=function(t,e){if(t.icons[e])return d(t,e,[]);let r=function(t,e){let r=t.icons,i=t.aliases||Object.create(null),n=Object.create(null);return(e||Object.keys(r).concat(Object.keys(i))).forEach(function t(e){if(r[e])return n[e]=[];if(!(e in n)){n[e]=null;let r=i[e]&&i[e].parent,a=r&&t(r);a&&(n[e]=[r].concat(a))}return n[e]}),n}(t,[e])[e];return r?d(t,e,r):null}(o,r.name);if(!s)throw Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),S=(0,i.eW)(async(t,e)=>{let r;try{r=await T(t,e?.fallbackPrefix)}catch(t){i.cM.error(t),r=C}let n=function(t,e){let r,i;let n={...h,...t},a={...f,...e},o={left:n.left,top:n.top,width:n.width,height:n.height},s=n.body;[n,a].forEach(t=>{let e;let r=[],i=t.hFlip,n=t.vFlip,a=t.rotate;switch(i?n?a+=2:(r.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),r.push("scale(-1 1)"),o.top=o.left=0):n&&(r.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),r.push("scale(1 -1)"),o.top=o.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4){case 1:e=o.height/2+o.top,r.unshift("rotate(90 "+e.toString()+" "+e.toString()+")");break;case 2:r.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:e=o.width/2+o.left,r.unshift("rotate(-90 "+e.toString()+" "+e.toString()+")")}a%2==1&&(o.left!==o.top&&(e=o.left,o.left=o.top,o.top=e),o.width!==o.height&&(e=o.width,o.width=o.height,o.height=e)),r.length&&(s=function(t,e,r){var i,n;let a=function(t,e="defs"){let r="",i=t.indexOf("<"+e);for(;i>=0;){let n=t.indexOf(">",i),a=t.indexOf("",a);if(-1===o)break;r+=t.slice(n+1,a).trim(),t=t.slice(0,i).trim()+t.slice(o+1)}return{defs:r,content:t}}(t);return i=a.defs,n=e+a.content+r,i?""+i+""+n:n}(s,'',""))});let l=a.width,c=a.height,u=o.width,d=o.height;null===l?r=y(i=null===c?"1em":"auto"===c?d:c,u/d):(r="auto"===l?u:l,i=null===c?y(r,d/u):"auto"===c?d:c);let p={},g=(t,e)=>{!m(e)&&(p[t]=e.toString())};g("width",r),g("height",i);let x=[o.left,o.top,u,d];return p.viewBox=x.join(" "),{attributes:p,viewBox:x,body:s}}(r,e);return function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in e)r+=" "+t+'="'+e[t]+'"';return'"+t+""}(function(t,e=b){let r;let i=[];for(;r=x.exec(t);)i.push(r[1]);if(!i.length)return t;let n="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return i.forEach(r=>{let i="function"==typeof e?e(r):e+(k++).toString(),a=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+n+"$3")}),t=t.replace(RegExp(n,"g"),"")}(n.body),n.attributes)},"getIconSVG")},94159:function(t,e,r){"use strict";r.d(e,{P:function(){return a}});var i=r(5995),n=r(27818),a=(0,i.eW)(t=>{let{securityLevel:e}=(0,i.nV)(),r=(0,n.Ys)("body");if("sandbox"===e){let e=(0,n.Ys)(`#i${t}`),i=e.node()?.contentDocument??document;r=(0,n.Ys)(i.body)}return r.select(`#${t}`)},"selectSvgElement")},28162:function(t,e,r){"use strict";r.d(e,{C1:function(){return c},Lf:function(){return el},XO:function(){return k},Yn:function(){return eh},ZH:function(){return D},aH:function(){return eu},dW:function(){return eo},gU:function(){return ec},jr:function(){return d},us:function(){return E}});var i=r(16302),n=r(4511),a=r(92719),o=r(7690),s=r(5995),l=r(27818),h=r(74247),c=(0,s.eW)(async(t,e,r)=>{let i,n;let h=e.useHtmlLabels||(0,s.ku)(s.nV()?.htmlLabels);i=r?r:"node default";let c=t.insert("g").attr("class",i).attr("id",e.domId||e.id),u=c.insert("g").attr("class","label").attr("style",(0,o.R7)(e.labelStyle));n=void 0===e.label?"":"string"==typeof e.label?e.label:e.label[0];let d=await (0,a.rw)(u,(0,s.oO)((0,o.SH)(n),(0,s.nV)()),{useHtmlLabels:h,width:e.width||s.nV().flowchart?.wrappingWidth,cssClasses:"markdown-node-label",style:e.labelStyle,addSvgBackground:!!e.icon||!!e.img}),f=d.getBBox(),p=(e?.padding??0)/2;if(h){let t=d.children[0],e=(0,l.Ys)(d),r=t.getElementsByTagName("img");if(r){let t=""===n.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=(0,s.nV)().fontSize?(0,s.nV)().fontSize:window.getComputedStyle(document.body).fontSize,[r=s.vZ.fontSize]=(0,o.VG)(t),i=5*r+"px";e.style.minWidth=i,e.style.maxWidth=i}else e.style.width="100%";r(e)}(0,s.eW)(i,"setupImage"),setTimeout(()=>{e.complete&&i()}),e.addEventListener("error",i),e.addEventListener("load",i)})))}f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}return h?u.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):u.attr("transform","translate(0, "+-f.height/2+")"),e.centerLabel&&u.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),u.insert("rect",":first-child"),{shapeSvg:c,bbox:f,halfPadding:p,label:u}},"labelHelper"),u=(0,s.eW)(async(t,e,r)=>{let i=r.useHtmlLabels||(0,s.ku)(s.nV()?.flowchart?.htmlLabels),n=t.insert("g").attr("class","label").attr("style",r.labelStyle||""),h=await (0,a.rw)(n,(0,s.oO)((0,o.SH)(e),(0,s.nV)()),{useHtmlLabels:i,width:r.width||s.nV()?.flowchart?.wrappingWidth,style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img}),c=h.getBBox(),u=r.padding/2;if((0,s.ku)(s.nV()?.flowchart?.htmlLabels)){let t=h.children[0],e=(0,l.Ys)(h);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}return i?n.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"):n.attr("transform","translate(0, "+-c.height/2+")"),r.centerLabel&&n.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:t,bbox:c,halfPadding:u,label:n}},"insertLabel"),d=(0,s.eW)((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds"),f=(0,s.eW)((t,e)=>("handDrawn"===t.look?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");function p(t){let e=t.map((t,e)=>`${0===e?"M":"L"}${t.x},${t.y}`);return e.push("Z"),e.join(" ")}function g(t,e,r,i,n,a){let o=[],s=r-t,l=2*Math.PI/(s/a),h=e+(i-e)/2;for(let e=0;e<=50;e++){let r=t+e/50*s,i=h+n*Math.sin(l*(r-t));o.push({x:r,y:i})}return o}function y(t,e,r,i,n,a){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;n{var r,i,n=t.x,a=t.y,o=e.x-n,s=e.y-a,l=t.width/2,h=t.height/2;return Math.abs(s)*l>Math.abs(o)*h?(s<0&&(h=-h),r=0===s?0:h*o/s,i=h):(o<0&&(l=-l),r=l,i=0===o?0:l*s/o),{x:n+r,y:a+i}},"intersectRect");function x(t,e){e&&t.attr("style",e)}async function b(t){let e=(0,l.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),i=t.label;t.label&&(0,s.l0)(t.label)&&(i=await (0,s.uT)(t.label.replace(s.SY.lineBreakRegex,"\n"),(0,s.nV)()));let n=t.isNode?"nodeLabel":"edgeLabel";return r.html('"+i+""),x(r,t.labelStyle),r.style("display","inline-block"),r.style("padding-right","1px"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}(0,s.eW)(x,"applyStyle"),(0,s.eW)(b,"addHtmlLabel");var k=(0,s.eW)(async(t,e,r,i)=>{let n=t||"";if("object"==typeof n&&(n=n[0]),(0,s.ku)((0,s.nV)().flowchart.htmlLabels)){n=n.replace(/\\n|\n/g,"
    "),s.cM.info("vertexText"+n);let t={isNode:i,label:(0,o.SH)(n).replace(/fa[blrs]?:fa-[\w-]+/g,t=>``),labelStyle:e?e.replace("fill:","color:"):e};return await b(t)}{let t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let i=[];for(let e of i="string"==typeof n?n.split(/\\n|\n|/gi):Array.isArray(n)?n:[]){let 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"),r?i.setAttribute("class","title-row"):i.setAttribute("class","row"),i.textContent=e.trim(),t.appendChild(i)}return t}},"createLabel"),C=(0,s.eW)((t,e,r,i,n)=>["M",t+n,e,"H",t+r-n,"A",n,n,0,0,1,t+r,e+n,"V",e+i-n,"A",n,n,0,0,1,t+r-n,e+i,"H",t+n,"A",n,n,0,0,1,t,e+i-n,"V",e+n,"A",n,n,0,0,1,t+n,e,"Z"].join(" "),"createRoundedRectPathD"),w=(0,s.eW)(t=>{let{handDrawnSeed:e}=(0,s.nV)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),_=(0,s.eW)(t=>{let e=v([...t.cssCompiledStyles||[],...t.cssStyles||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),v=(0,s.eW)(t=>{let e=new Map;return t.forEach(t=>{let[r,i]=t.split(":");e.set(r.trim(),i?.trim())}),e},"styles2Map"),T=(0,s.eW)(t=>{let{stylesArray:e}=_(t),r=[],i=[],n=[],a=[];return e.forEach(t=>{let e=t[0];"color"===e||"font-size"===e||"font-family"===e||"font-weight"===e||"font-style"===e||"text-decoration"===e||"text-align"===e||"text-transform"===e||"line-height"===e||"letter-spacing"===e||"word-spacing"===e||"text-shadow"===e||"text-overflow"===e||"white-space"===e||"word-wrap"===e||"word-break"===e||"overflow-wrap"===e||"hyphens"===e?r.push(t.join(":")+" !important"):(i.push(t.join(":")+" !important"),e.includes("stroke")&&n.push(t.join(":")+" !important"),"fill"===e&&a.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:i.join(";"),stylesArray:e,borderStyles:n,backgroundStyles:a}},"styles2String"),S=(0,s.eW)((t,e)=>{let{themeVariables:r,handDrawnSeed:i}=(0,s.nV)(),{nodeBorder:n,mainBkg:a}=r,{stylesMap:o}=_(t);return Object.assign({roughness:.7,fill:o.get("fill")||a,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:o.get("stroke")||n,seed:i,strokeWidth:o.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0]},e)},"userNodeOverrides"),M=(0,s.eW)(async(t,e)=>{let r;s.cM.info("Creating subgraph rect for ",e.id,e);let i=(0,s.nV)(),{themeVariables:o,handDrawnSeed:c}=i,{clusterBkg:u,clusterBorder:d}=o,{labelStyles:f,nodeStyles:p,borderStyles:g,backgroundStyles:y}=T(e),x=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),b=(0,s.ku)(i.flowchart.htmlLabels),k=x.insert("g").attr("class","cluster-label "),w=await (0,a.rw)(k,e.label,{style:e.labelStyle,useHtmlLabels:b,isNode:!0}),_=w.getBBox();if((0,s.ku)(i.flowchart.htmlLabels)){let t=w.children[0],e=(0,l.Ys)(w);_=t.getBoundingClientRect(),e.attr("width",_.width),e.attr("height",_.height)}let v=e.width<=_.width+e.padding?_.width+e.padding:e.width;e.width<=_.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let M=e.height,B=e.x-v/2,L=e.y-M/2;if(s.cM.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.Z.svg(x),i=S(e,{roughness:.7,fill:u,stroke:d,fillWeight:3,seed:c}),n=t.path(C(B,L,v,M,0),i);(r=x.insert(()=>(s.cM.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",g.join(";")),r.select("path").attr("style",y.join(";").replace("fill","stroke"))}else(r=x.insert("rect",":first-child")).attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",B).attr("y",L).attr("width",v).attr("height",M);let{subGraphTitleTopMargin:A}=(0,n.L)(i);if(k.attr("transform",`translate(${e.x-_.width/2}, ${e.y-e.height/2+A})`),f){let t=k.select("span");t&&t.attr("style",f)}let F=r.node().getBBox();return e.offsetX=0,e.width=F.width,e.height=F.height,e.offsetY=_.height-e.padding/2,e.intersect=function(t){return m(e,t)},{cluster:x,labelBBox:_}},"rect"),B=(0,s.eW)((t,e)=>{let r=t.insert("g").attr("class","note-cluster").attr("id",e.id),i=r.insert("rect",":first-child"),n=0*e.padding,a=n/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+n).attr("height",e.height+n).attr("fill","none");let o=i.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return m(e,t)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),L=(0,s.eW)(async(t,e)=>{let r;let i=(0,s.nV)(),{themeVariables:n,handDrawnSeed:a}=i,{altBackground:o,compositeBackground:c,compositeTitleBackground:u,nodeBorder:d}=n,f=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-id",e.id).attr("data-look",e.look),p=f.insert("g",":first-child"),g=f.insert("g").attr("class","cluster-label"),y=f.append("rect"),x=g.node().appendChild(await k(e.label,e.labelStyle,void 0,!0)),b=x.getBBox();if((0,s.ku)(i.flowchart.htmlLabels)){let t=x.children[0],e=(0,l.Ys)(x);b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}let w=0*e.padding,_=(e.width<=b.width+e.padding?b.width+e.padding:e.width)+w;e.width<=b.width+e.padding?e.diff=(_-e.width)/2-e.padding:e.diff=-e.padding;let v=e.height+w,T=e.height+w-b.height-6,S=e.x-_/2,M=e.y-v/2;e.width=_;let B=e.y-e.height/2-w/2+b.height+2;if("handDrawn"===e.look){let t=e.cssClasses.includes("statediagram-cluster-alt"),i=h.Z.svg(f),n=e.rx||e.ry?i.path(C(S,M,_,v,10),{roughness:.7,fill:u,fillStyle:"solid",stroke:d,seed:a}):i.rectangle(S,M,_,v,{seed:a});r=f.insert(()=>n,":first-child");let s=i.rectangle(S,B,_,T,{fill:t?o:c,fillStyle:t?"hachure":"solid",stroke:d,seed:a});r=f.insert(()=>n,":first-child"),y=f.insert(()=>s)}else{r=p.insert("rect",":first-child");r.attr("class","outer").attr("x",S).attr("y",M).attr("width",_).attr("height",v).attr("data-look",e.look),y.attr("class","inner").attr("x",S).attr("y",B).attr("width",_).attr("height",T)}g.attr("transform",`translate(${e.x-b.width/2}, ${M+1-((0,s.ku)(i.flowchart.htmlLabels)?0:3)})`);let L=r.node().getBBox();return e.height=L.height,e.offsetX=0,e.offsetY=b.height-e.padding/2,e.labelBBox=b,e.intersect=function(t){return m(e,t)},{cluster:f,labelBBox:b}},"roundedWithTitle"),A=(0,s.eW)(async(t,e)=>{let r;s.cM.info("Creating subgraph rect for ",e.id,e);let i=(0,s.nV)(),{themeVariables:o,handDrawnSeed:c}=i,{clusterBkg:u,clusterBorder:d}=o,{labelStyles:f,nodeStyles:p,borderStyles:g,backgroundStyles:y}=T(e),x=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),b=(0,s.ku)(i.flowchart.htmlLabels),k=x.insert("g").attr("class","cluster-label "),w=await (0,a.rw)(k,e.label,{style:e.labelStyle,useHtmlLabels:b,isNode:!0,width:e.width}),_=w.getBBox();if((0,s.ku)(i.flowchart.htmlLabels)){let t=w.children[0],e=(0,l.Ys)(w);_=t.getBoundingClientRect(),e.attr("width",_.width),e.attr("height",_.height)}let v=e.width<=_.width+e.padding?_.width+e.padding:e.width;e.width<=_.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let M=e.height,B=e.x-v/2,L=e.y-M/2;if(s.cM.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.Z.svg(x),i=S(e,{roughness:.7,fill:u,stroke:d,fillWeight:4,seed:c}),n=t.path(C(B,L,v,M,e.rx),i);(r=x.insert(()=>(s.cM.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",g.join(";")),r.select("path").attr("style",y.join(";").replace("fill","stroke"))}else(r=x.insert("rect",":first-child")).attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",B).attr("y",L).attr("width",v).attr("height",M);let{subGraphTitleTopMargin:A}=(0,n.L)(i);if(k.attr("transform",`translate(${e.x-_.width/2}, ${e.y-e.height/2+A})`),f){let t=k.select("span");t&&t.attr("style",f)}let F=r.node().getBBox();return e.offsetX=0,e.width=F.width,e.height=F.height,e.offsetY=_.height-e.padding/2,e.intersect=function(t){return m(e,t)},{cluster:x,labelBBox:_}},"kanbanSection"),F=(0,s.eW)((t,e)=>{let r;let{themeVariables:i,handDrawnSeed:n}=(0,s.nV)(),{nodeBorder:a}=i,o=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-look",e.look),l=o.insert("g",":first-child"),c=0*e.padding,u=e.width+c;e.diff=-e.padding;let d=e.height+c,f=e.x-u/2,p=e.y-d/2;if(e.width=u,"handDrawn"===e.look){let t=h.Z.svg(o).rectangle(f,p,u,d,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:a,seed:n});r=o.insert(()=>t,":first-child")}else{r=l.insert("rect",":first-child");r.attr("class","divider").attr("x",f).attr("y",p).attr("width",u).attr("height",d).attr("data-look",e.look)}let g=r.node().getBBox();return e.height=g.height,e.offsetX=0,e.offsetY=0,e.intersect=function(t){return m(e,t)},{cluster:o,labelBBox:{}}},"divider"),$={rect:M,squareRect:M,roundedWithTitle:L,noteGroup:B,divider:F,kanbanSection:A},W=new Map,E=(0,s.eW)(async(t,e)=>{let r=e.shape||"rect",i=await $[r](t,e);return W.set(e.id,i),i},"insertCluster"),D=(0,s.eW)(()=>{W=new Map},"clear");function O(t,e){return t.intersect(e)}(0,s.eW)(O,"intersectNode");function Z(t,e,r,i){var n=t.x,a=t.y,o=n-i.x,s=a-i.y,l=Math.sqrt(e*e*s*s+r*r*o*o),h=Math.abs(e*r*o/l);i.x0}(0,s.eW)(I,"intersectLine"),(0,s.eW)(z,"sameSign");function j(t,e,r){let i=t.x,n=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));let l=i-t.width/2-o,h=n-t.height/2-s;for(let i=0;i1&&a.sort(function(t,e){let i=t.x-r.x,n=t.y-r.y,a=Math.sqrt(i*i+n*n),o=e.x-r.x,s=e.y-r.y,l=Math.sqrt(o*o+s*s);return ap,":first-child");return g.attr("class","anchor").attr("style",(0,o.R7)(l)),d(e,g),e.intersect=function(t){return s.cM.info("Circle intersect",e,1,t),R.circle(e,1,t)},a}function q(t,e,r,i,n,a,o){let s=Math.atan2(i-e,r-t),l=Math.sqrt(((r-t)/2/n)**2+((i-e)/2/a)**2);if(l>1)throw Error("The given radii are too small to create an arc between the points.");let h=Math.sqrt(1-l**2),c=(t+r)/2+h*a*Math.sin(s)*(o?-1:1),u=(e+i)/2-h*n*Math.cos(s)*(o?-1:1),d=Math.atan2((e-u)/a,(t-c)/n),f=Math.atan2((i-u)/a,(r-c)/n)-d;o&&f<0&&(f+=2*Math.PI),!o&&f>0&&(f-=2*Math.PI);let p=[];for(let t=0;t<20;t++){let e=d+t/19*f,r=c+n*Math.cos(e),i=u+a*Math.sin(e);p.push({x:r,y:i})}return p}async function H(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=a.width+e.padding+20,s=a.height+e.padding,l=s/2,u=l/(2.5+s/50),{cssStyles:g}=e,y=[{x:o/2,y:-s/2},{x:-o/2,y:-s/2},...q(-o/2,-s/2,-o/2,s/2,u,l,!1),{x:o/2,y:s/2},...q(o/2,s/2,o/2,-s/2,u,l,!0)],m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=p(y),k=m.path(b,x),C=n.insert(()=>k,":first-child");return C.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),C.attr("transform",`translate(${u/2}, 0)`),d(e,C),e.intersect=function(t){return R.polygon(e,y,t)},n}function U(t,e,r,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+","+r/2+")")}async function Y(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=o.height+e.padding,l=o.width+e.padding+12,u=-s,g=[{x:12,y:u},{x:l,y:u},{x:l,y:0},{x:0,y:0},{x:0,y:u+12},{x:12,y:u}],{cssStyles:y}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(g),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-l/2}, ${s/2})`),y&&r.attr("style",y)}else r=U(a,l,s,g);return n&&r.attr("style",n),d(e,r),e.intersect=function(t){return R.polygon(e,g,t)},a}function V(t,e){let{nodeStyles:r}=T(e);e.label="";let i=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:n}=e,a=Math.max(28,e.width??0),o=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],s=h.Z.svg(i),l=S(e,{});"handDrawn"!==e.look&&(l.roughness=0,l.fillStyle="solid");let c=p(o),u=s.path(c,l),d=i.insert(()=>u,":first-child");return n&&"handDrawn"!==e.look&&d.selectAll("path").attr("style",n),r&&"handDrawn"!==e.look&&d.selectAll("path").attr("style",r),e.width=28,e.height=28,e.intersect=function(t){return R.polygon(e,o,t)},i}async function G(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:l,halfPadding:u}=await c(t,e,f(e)),p=l.width/2+u,{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=t.circle(0,0,2*p,i);(r=a.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,o.R7)(g))}else r=a.insert("circle",":first-child").attr("class","basic label-container").attr("style",n).attr("r",p).attr("cx",0).attr("cy",0);return d(e,r),e.intersect=function(t){return s.cM.info("Circle intersect",e,p,t),R.circle(e,p,t)},a}function X(t){let e=Math.cos(Math.PI/4),r=Math.sin(Math.PI/4),i=2*t,n={x:i/2*e,y:i/2*r},a={x:-(i/2)*e,y:i/2*r},o={x:-(i/2)*e,y:-(i/2)*r},s={x:i/2*e,y:-(i/2)*r};return`M ${a.x},${a.y} L ${s.x},${s.y} + M ${n.x},${n.y} L ${o.x},${o.y}`}function Q(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r,e.label="";let n=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),a=Math.max(30,e?.width??0),{cssStyles:o}=e,l=h.Z.svg(n),c=S(e,{});"handDrawn"!==e.look&&(c.roughness=0,c.fillStyle="solid");let u=l.circle(0,0,2*a,c),p=X(a),g=l.path(p,c),y=n.insert(()=>u,":first-child");return y.insert(()=>g),o&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",o),i&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",i),d(e,y),e.intersect=function(t){return s.cM.info("crossedCircle intersect",e,{radius:a,point:t}),R.circle(e,a,t)},n}function K(t,e,r,i=100,n=0,a=180){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;n_,":first-child").attr("stroke-opacity",0),v.insert(()=>C,":first-child"),v.attr("class","text"),g&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(${u}, 0)`),o.attr("transform",`translate(${-s/2+u-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return R.polygon(e,m,t)},n}function tt(t,e,r,i=100,n=0,a=180){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;n_,":first-child").attr("stroke-opacity",0),v.insert(()=>C,":first-child"),v.attr("class","text"),g&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(${-u}, 0)`),o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return R.polygon(e,m,t)},n}function tr(t,e,r,i=100,n=0,a=180){let o=[],s=n*Math.PI/180,l=a*Math.PI/180,h=(l-s)/(i-1);for(let n=0;nB,":first-child").attr("stroke-opacity",0),L.insert(()=>w,":first-child"),L.insert(()=>v,":first-child"),L.attr("class","text"),g&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",i),L.attr("transform",`translate(${u-u/4}, 0)`),o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,L),e.intersect=function(t){return R.polygon(e,x,t)},n}async function tn(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(80,(a.width+(e.padding??0)*2)*1.25,e?.width??0),s=Math.max(20,a.height+(e.padding??0)*2,e?.height??0),l=s/2,{cssStyles:u}=e,g=h.Z.svg(n),m=S(e,{});"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");let x=o-l,b=s/4,k=[{x:x,y:0},{x:b,y:0},{x:0,y:s/2},{x:b,y:s},{x:x,y:s},...y(-x,-s/2,l,50,270,90)],C=p(k),w=g.path(C,m),_=n.insert(()=>w,":first-child");return _.attr("class","basic label-container"),u&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",u),i&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",i),_.attr("transform",`translate(${-o/2}, ${-s/2})`),d(e,_),e.intersect=function(t){return R.polygon(e,k,t)},n}(0,s.eW)(P,"anchor"),(0,s.eW)(q,"generateArcPoints"),(0,s.eW)(H,"bowTieRect"),(0,s.eW)(U,"insertPolygonShape"),(0,s.eW)(Y,"card"),(0,s.eW)(V,"choice"),(0,s.eW)(G,"circle"),(0,s.eW)(X,"createLine"),(0,s.eW)(Q,"crossedCircle"),(0,s.eW)(K,"generateCirclePoints"),(0,s.eW)(J,"curlyBraceLeft"),(0,s.eW)(tt,"generateCirclePoints"),(0,s.eW)(te,"curlyBraceRight"),(0,s.eW)(tr,"generateCirclePoints"),(0,s.eW)(ti,"curlyBraces"),(0,s.eW)(tn,"curvedTrapezoid");var ta=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e+a} a${n},${a} 0,0,0 ${r},0 a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i}`,"createCylinderPathD"),to=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e+a} M${t+r},${e+a} a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i}`,"createOuterCylinderPathD"),ts=(0,s.eW)((t,e,r,i,n,a)=>`M${t-r/2},${-i/2} a${n},${a} 0,0,0 ${r},0`,"createInnerCylinderPathD");async function tl(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s,label:l}=await c(t,e,f(e)),u=Math.max(s.width+e.padding,e.width??0),p=u/2,g=p/(2.5+u/50),y=Math.max(s.height+g+e.padding,e.height??0),{cssStyles:m}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=to(0,0,u,y,p,g),n=ts(0,g,u,y,p,g),o=t.path(i,S(e,{})),s=t.path(n,S(e,{fill:"none"}));r=a.insert(()=>s,":first-child"),(r=a.insert(()=>o,":first-child")).attr("class","basic label-container"),m&&r.attr("style",m)}else{let t=ta(0,0,u,y,p,g);r=a.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.R7)(m)).attr("style",n)}return r.attr("label-offset-y",g),r.attr("transform",`translate(${-u/2}, ${-(y/2+g)})`),d(e,r),l.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${-(s.height/2)+(e.padding??0)/1.5-(s.y-(s.top??0))})`),e.intersect=function(t){let r=R.rect(e,t),i=r.x-(e.x??0);if(0!=p&&(Math.abs(i)<(e.width??0)/2||Math.abs(i)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-g)){let n=g*g*(1-i*i/(p*p));n>0&&(n=Math.sqrt(n)),n=g-n,t.y-(e.y??0)>0&&(n=-n),r.y+=n}return r},a}async function th(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=a.width+e.padding,l=a.height+e.padding,u=.2*l,p=-s/2,g=-l/2-u/2,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=m.polygon([{x:p,y:g+u},{x:-p,y:g+u},{x:-p,y:-g},{x:p,y:-g},{x:p,y:g},{x:-p,y:g},{x:-p,y:g+u}].map(t=>[t.x,t.y]),x),k=n.insert(()=>b,":first-child");return k.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",i),o.attr("transform",`translate(${p+(e.padding??0)/2-(a.x-(a.left??0))}, ${g+u+(e.padding??0)/2-(a.y-(a.top??0))})`),d(e,k),e.intersect=function(t){return R.rect(e,t)},n}async function tc(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:l,halfPadding:u}=await c(t,e,f(e)),p=l.width/2+u+5,g=l.width/2+u,{cssStyles:y}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{roughness:.2,strokeWidth:2.5}),n=S(e,{roughness:.2,strokeWidth:1.5}),s=t.circle(0,0,2*p,i),l=t.circle(0,0,2*g,n);(r=a.insert("g",":first-child")).attr("class",(0,o.R7)(e.cssClasses)).attr("style",(0,o.R7)(y)),r.node()?.appendChild(s),r.node()?.appendChild(l)}else{let t=(r=a.insert("g",":first-child")).insert("circle",":first-child"),e=r.insert("circle");r.attr("class","basic label-container").attr("style",n),t.attr("class","outer-circle").attr("style",n).attr("r",p).attr("cx",0).attr("cy",0),e.attr("class","inner-circle").attr("style",n).attr("r",g).attr("cx",0).attr("cy",0)}return d(e,r),e.intersect=function(t){return s.cM.info("DoubleCircle intersect",e,p,t),R.circle(e,p,t)},a}function tu(t,e,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:n}=T(e);e.label="",e.labelStyle=i;let a=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:o}=e,l=h.Z.svg(a),{nodeBorder:c}=r,u=S(e,{fillStyle:"solid"});"handDrawn"!==e.look&&(u.roughness=0);let p=l.circle(0,0,14,u),g=a.insert(()=>p,":first-child");return g.selectAll("path").attr("style",`fill: ${c} !important;`),o&&o.length>0&&"handDrawn"!==e.look&&g.selectAll("path").attr("style",o),n&&"handDrawn"!==e.look&&g.selectAll("path").attr("style",n),d(e,g),e.intersect=function(t){return s.cM.info("filledCircle intersect",e,{radius:7,point:t}),R.circle(e,7,t)},a}async function td(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),l=a.width+(e.padding??0),u=l+a.height,g=l+a.height,y=[{x:0,y:-u},{x:g,y:-u},{x:g/2,y:0}],{cssStyles:m}=e,x=h.Z.svg(n),b=S(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=p(y),C=x.path(k,b),w=n.insert(()=>C,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`);return m&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",m),i&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",i),e.width=l,e.height=u,d(e,w),o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-u/2+(e.padding??0)/2+(a.y-(a.top??0))})`),e.intersect=function(t){return s.cM.info("Triangle intersect",e,y,t),R.polygon(e,y,t)},n}function tf(t,e,{dir:r,config:{state:i,themeVariables:n}}){let{nodeStyles:a}=T(e);e.label="";let o=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:s}=e,l=Math.max(70,e?.width??0),c=Math.max(10,e?.height??0);"LR"===r&&(l=Math.max(10,e?.width??0),c=Math.max(70,e?.height??0));let u=-1*l/2,p=-1*c/2,g=h.Z.svg(o),y=S(e,{stroke:n.lineColor,fill:n.lineColor});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let m=g.rectangle(u,p,l,c,y),x=o.insert(()=>m,":first-child");s&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",s),a&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",a),d(e,x);let b=i?.padding??0;return e.width&&e.height&&(e.width+=b/2||0,e.height+=b/2||0),e.intersect=function(t){return R.rect(e,t)},o}async function tp(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(80,a.width+(e.padding??0)*2,e?.width??0),l=Math.max(50,a.height+(e.padding??0)*2,e?.height??0),u=l/2,{cssStyles:g}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:-o/2,y:-l/2},{x:o/2-u,y:-l/2},...y(-o/2+u,0,u,50,90,270),{x:o/2-u,y:l/2},{x:-o/2,y:l/2}],k=p(b),C=m.path(k,x),w=n.insert(()=>C,":first-child");return w.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",g),i&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",i),d(e,w),e.intersect=function(t){return s.cM.info("Pill intersect",e,{radius:u,point:t}),R.polygon(e,b,t)},n}(0,s.eW)(tl,"cylinder"),(0,s.eW)(th,"dividedRectangle"),(0,s.eW)(tc,"doublecircle"),(0,s.eW)(tu,"filledCircle"),(0,s.eW)(td,"flippedTriangle"),(0,s.eW)(tf,"forkJoin"),(0,s.eW)(tp,"halfRoundedRectangle");var tg=(0,s.eW)((t,e,r,i,n)=>`M${t+n},${e} L${t+r-n},${e} L${t+r},${e-i/2} L${t+r-n},${e-i} L${t+n},${e-i} L${t},${e-i/2} Z`,"createHexagonPathD");async function ty(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=o.height+e.padding,l=s/4,u=o.width+2*l+e.padding,p=[{x:l,y:0},{x:u-l,y:0},{x:u,y:-s/2},{x:u-l,y:-s},{x:l,y:-s},{x:0,y:-s/2}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=tg(0,0,u,s,l),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-u/2}, ${s/2})`),g&&r.attr("style",g)}else r=U(a,u,s,p);return n&&r.attr("style",n),e.width=u,e.height=s,d(e,r),e.intersect=function(t){return R.polygon(e,p,t)},a}async function tm(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.label="",e.labelStyle=r;let{shapeSvg:n}=await c(t,e,f(e)),a=Math.max(30,e?.width??0),o=Math.max(30,e?.height??0),{cssStyles:l}=e,u=h.Z.svg(n),g=S(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");let y=[{x:0,y:0},{x:a,y:0},{x:0,y:o},{x:a,y:o}],m=p(y),x=u.path(m,g),b=n.insert(()=>x,":first-child");return b.attr("class","basic label-container"),l&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",l),i&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",i),b.attr("transform",`translate(${-a/2}, ${-o/2})`),d(e,b),e.intersect=function(t){return s.cM.info("Pill intersect",e,{points:y}),R.polygon(e,y,t)},n}async function tx(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,label:g}=await c(t,e,"icon-shape default"),y="t"===e.pos,{nodeBorder:m}=r,{stylesMap:x}=_(e),b=-l/2,k=-l/2,C=e.label?8:0,w=h.Z.svg(f),v=S(e,{stroke:"none",fill:"none"});"handDrawn"!==e.look&&(v.roughness=0,v.fillStyle="solid");let M=w.rectangle(b,k,l,l,v),B=Math.max(l,p.width),L=l+p.height+C,A=w.rectangle(-B/2,-L/2,B,L,{...v,fill:"transparent",stroke:"none"}),F=f.insert(()=>M,":first-child"),$=f.insert(()=>A);if(e.icon){let t=f.append("g");t.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let r=t.node().getBBox(),n=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-n/2-o},${y?p.height/2+C/2-a/2-s:-p.height/2-C/2-a/2-s})`),t.attr("style",`color: ${x.get("stroke")??m};`)}return g.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${y?-L/2:L/2-p.height})`),F.attr("transform",`translate(0,${y?p.height/2+C/2:-p.height/2-C/2})`),d(e,$),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=y?[{x:r-p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2+p.height+C},{x:r+l/2,y:i-n/2+p.height+C},{x:r+l/2,y:i+n/2},{x:r-l/2,y:i+n/2},{x:r-l/2,y:i-n/2+p.height+C},{x:r-p.width/2,y:i-n/2+p.height+C}]:[{x:r-l/2,y:i-n/2},{x:r+l/2,y:i-n/2},{x:r+l/2,y:i-n/2+l},{x:r+p.width/2,y:i-n/2+l},{x:r+p.width/2/2,y:i+n/2},{x:r-p.width/2,y:i+n/2},{x:r-p.width/2,y:i-n/2+l},{x:r-l/2,y:i-n/2+l}],R.polygon(e,a,t)},f}async function tb(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,label:g}=await c(t,e,"icon-shape default"),y=e.label?8:0,m="t"===e.pos,{nodeBorder:x,mainBkg:b}=r,{stylesMap:k}=_(e),C=h.Z.svg(f),w=S(e,{});"handDrawn"!==e.look&&(w.roughness=0,w.fillStyle="solid");let v=k.get("fill");w.stroke=v??b;let M=f.append("g");e.icon&&M.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let B=M.node().getBBox(),L=B.width,A=B.height,F=B.x,$=B.y,W=Math.max(L,A)*Math.SQRT2+40,E=C.circle(0,0,W,w),D=Math.max(W,p.width),O=W+p.height+y,Z=C.rectangle(-D/2,-O/2,D,O,{...w,fill:"transparent",stroke:"none"}),N=f.insert(()=>E,":first-child"),I=f.insert(()=>Z);return M.attr("transform",`translate(${-L/2-F},${m?p.height/2+y/2-A/2-$:-p.height/2-y/2-A/2-$})`),M.attr("style",`color: ${k.get("stroke")??x};`),g.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-O/2:O/2-p.height})`),N.attr("transform",`translate(0,${m?p.height/2+y/2:-p.height/2-y/2})`),d(e,I),e.intersect=function(t){return s.cM.info("iconSquare intersect",e,t),R.rect(e,t)},f}async function tk(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,halfPadding:g,label:y}=await c(t,e,"icon-shape default"),m="t"===e.pos,x=l+2*g,b=l+2*g,{nodeBorder:k,mainBkg:w}=r,{stylesMap:v}=_(e),M=-b/2,B=e.label?8:0,L=h.Z.svg(f),A=S(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");let F=v.get("fill");A.stroke=F??w;let $=L.path(C(M,-x/2,b,x,5),A),W=Math.max(b,p.width),E=x+p.height+B,D=L.rectangle(-W/2,-E/2,W,E,{...A,fill:"transparent",stroke:"none"}),O=f.insert(()=>$,":first-child").attr("class","icon-shape2"),Z=f.insert(()=>D);if(e.icon){let t=f.append("g");t.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let r=t.node().getBBox(),n=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-n/2-o},${m?p.height/2+B/2-a/2-s:-p.height/2-B/2-a/2-s})`),t.attr("style",`color: ${v.get("stroke")??k};`)}return y.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-E/2:E/2-p.height})`),O.attr("transform",`translate(0,${m?p.height/2+B/2:-p.height/2-B/2})`),d(e,Z),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=m?[{x:r-p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2+p.height+B},{x:r+b/2,y:i-n/2+p.height+B},{x:r+b/2,y:i+n/2},{x:r-b/2,y:i+n/2},{x:r-b/2,y:i-n/2+p.height+B},{x:r-p.width/2,y:i-n/2+p.height+B}]:[{x:r-b/2,y:i-n/2},{x:r+b/2,y:i-n/2},{x:r+b/2,y:i-n/2+x},{x:r+p.width/2,y:i-n/2+x},{x:r+p.width/2/2,y:i+n/2},{x:r-p.width/2,y:i+n/2},{x:r-p.width/2,y:i-n/2+x},{x:r-b/2,y:i-n/2+x}],R.polygon(e,a,t)},f}async function tC(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:a}=T(e);e.labelStyle=a;let o=e.assetHeight??48,l=Math.max(o,e.assetWidth??48),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:f,bbox:p,halfPadding:g,label:y}=await c(t,e,"icon-shape default"),m="t"===e.pos,x=l+2*g,b=l+2*g,{nodeBorder:k,mainBkg:w}=r,{stylesMap:v}=_(e),M=-b/2,B=e.label?8:0,L=h.Z.svg(f),A=S(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");let F=v.get("fill");A.stroke=F??w;let $=L.path(C(M,-x/2,b,x,.1),A),W=Math.max(b,p.width),E=x+p.height+B,D=L.rectangle(-W/2,-E/2,W,E,{...A,fill:"transparent",stroke:"none"}),O=f.insert(()=>$,":first-child"),Z=f.insert(()=>D);if(e.icon){let t=f.append("g");t.html(`${await (0,i.s4)(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let r=t.node().getBBox(),n=r.width,a=r.height,o=r.x,s=r.y;t.attr("transform",`translate(${-n/2-o},${m?p.height/2+B/2-a/2-s:-p.height/2-B/2-a/2-s})`),t.attr("style",`color: ${v.get("stroke")??k};`)}return y.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-E/2:E/2-p.height})`),O.attr("transform",`translate(0,${m?p.height/2+B/2:-p.height/2-B/2})`),d(e,Z),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=m?[{x:r-p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2},{x:r+p.width/2,y:i-n/2+p.height+B},{x:r+b/2,y:i-n/2+p.height+B},{x:r+b/2,y:i+n/2},{x:r-b/2,y:i+n/2},{x:r-b/2,y:i-n/2+p.height+B},{x:r-p.width/2,y:i-n/2+p.height+B}]:[{x:r-b/2,y:i-n/2},{x:r+b/2,y:i-n/2},{x:r+b/2,y:i-n/2+x},{x:r+p.width/2,y:i-n/2+x},{x:r+p.width/2/2,y:i+n/2},{x:r-p.width/2,y:i+n/2},{x:r-p.width/2,y:i-n/2+x},{x:r-b/2,y:i-n/2+x}],R.polygon(e,a,t)},f}async function tw(t,e,{config:{flowchart:r}}){let i=new Image;i.src=e?.img??"",await i.decode();let n=Number(i.naturalWidth.toString().replace("px","")),a=Number(i.naturalHeight.toString().replace("px",""));e.imageAspectRatio=n/a;let{labelStyles:o}=T(e);e.labelStyle=o;let l=r?.wrappingWidth;e.defaultWidth=r?.wrappingWidth;let u=Math.max(e.label?l??0:0,e?.assetWidth??n),f="on"===e.constraint&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:u,p="on"===e.constraint?f/e.imageAspectRatio:e?.assetHeight??a;e.width=Math.max(f,l??0);let{shapeSvg:g,bbox:y,label:m}=await c(t,e,"image-shape default"),x="t"===e.pos,b=-f/2,k=e.label?8:0,C=h.Z.svg(g),w=S(e,{});"handDrawn"!==e.look&&(w.roughness=0,w.fillStyle="solid");let _=C.rectangle(b,-p/2,f,p,w),v=Math.max(f,y.width),M=p+y.height+k,B=C.rectangle(-v/2,-M/2,v,M,{...w,fill:"none",stroke:"none"}),L=g.insert(()=>_,":first-child"),A=g.insert(()=>B);if(e.img){let t=g.append("image");t.attr("href",e.img),t.attr("width",f),t.attr("height",p),t.attr("preserveAspectRatio","none"),t.attr("transform",`translate(${-f/2},${x?M/2-p:-M/2})`)}return m.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))},${x?-p/2-y.height/2-k/2:p/2-y.height/2+k/2})`),L.attr("transform",`translate(0,${x?y.height/2+k/2:-y.height/2-k/2})`),d(e,A),e.intersect=function(t){if(s.cM.info("iconSquare intersect",e,t),!e.label)return R.rect(e,t);let r=e.x??0,i=e.y??0,n=e.height??0,a=[];return a=x?[{x:r-y.width/2,y:i-n/2},{x:r+y.width/2,y:i-n/2},{x:r+y.width/2,y:i-n/2+y.height+k},{x:r+f/2,y:i-n/2+y.height+k},{x:r+f/2,y:i+n/2},{x:r-f/2,y:i+n/2},{x:r-f/2,y:i-n/2+y.height+k},{x:r-y.width/2,y:i-n/2+y.height+k}]:[{x:r-f/2,y:i-n/2},{x:r+f/2,y:i-n/2},{x:r+f/2,y:i-n/2+p},{x:r+y.width/2,y:i-n/2+p},{x:r+y.width/2/2,y:i+n/2},{x:r-y.width/2,y:i+n/2},{x:r-y.width/2,y:i-n/2+p},{x:r-f/2,y:i-n/2+p}],R.polygon(e,a,t)},g}async function t_(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=Math.max(o.width+(e.padding??0)*2,e?.width??0),l=Math.max(o.height+(e.padding??0)*2,e?.height??0),u=[{x:0,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:-3*l/6,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}async function tv(t,e,r){let i;let{labelStyles:n,nodeStyles:a}=T(e);e.labelStyle=n;let{shapeSvg:s,bbox:l}=await c(t,e,f(e)),u=Math.max(l.width+2*r.labelPaddingX,e?.width||0),p=Math.max(l.height+2*r.labelPaddingY,e?.height||0),g=-u/2,y=-p/2,{rx:m,ry:x}=e,{cssStyles:b}=e;if(r?.rx&&r.ry&&(m=r.rx,x=r.ry),"handDrawn"===e.look){let t=h.Z.svg(s),r=S(e,{}),n=m||x?t.path(C(g,y,u,p,m||0),r):t.rectangle(g,y,u,p,r);(i=s.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,o.R7)(b))}else(i=s.insert("rect",":first-child")).attr("class","basic label-container").attr("style",a).attr("rx",(0,o.R7)(m)).attr("ry",(0,o.R7)(x)).attr("x",g).attr("y",y).attr("width",u).attr("height",p);return d(e,i),e.intersect=function(t){return R.rect(e,t)},s}async function tT(t,e){let{shapeSvg:r,bbox:i,label:n}=await c(t,e,"label"),a=r.insert("rect",":first-child");return a.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),n.attr("transform",`translate(${-(i.width/2)-(i.x-(i.left??0))}, ${-(i.height/2)-(i.y-(i.top??0))})`),d(e,a),e.intersect=function(t){return R.rect(e,t)},r}async function tS(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=Math.max(o.width+(e.padding??0),e?.width??0),l=Math.max(o.height+(e.padding??0),e?.height??0),u=[{x:0,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:-(3*l)/6,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}async function tM(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=Math.max(o.width+(e.padding??0),e?.width??0),l=Math.max(o.height+(e.padding??0),e?.height??0),u=[{x:-3*l/6,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:0,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}function tB(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.label="",e.labelStyle=r;let n=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id),{cssStyles:a}=e,o=Math.max(35,e?.width??0),l=Math.max(35,e?.height??0),c=[{x:o,y:0},{x:0,y:l+3.5},{x:o-14,y:l+3.5},{x:0,y:2*l},{x:o,y:l-3.5},{x:14,y:l-3.5}],u=h.Z.svg(n),g=S(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");let y=p(c),m=u.path(y,g),x=n.insert(()=>m,":first-child");return a&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",a),i&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",i),x.attr("transform",`translate(-${o/2},${-l})`),d(e,x),e.intersect=function(t){return s.cM.info("lightningBolt intersect",e,t),R.polygon(e,c,t)},n}(0,s.eW)(ty,"hexagon"),(0,s.eW)(tm,"hourglass"),(0,s.eW)(tx,"icon"),(0,s.eW)(tb,"iconCircle"),(0,s.eW)(tk,"iconRounded"),(0,s.eW)(tC,"iconSquare"),(0,s.eW)(tw,"imageSquare"),(0,s.eW)(t_,"inv_trapezoid"),(0,s.eW)(tv,"drawRect"),(0,s.eW)(tT,"labelRect"),(0,s.eW)(tS,"lean_left"),(0,s.eW)(tM,"lean_right"),(0,s.eW)(tB,"lightningBolt");var tL=(0,s.eW)((t,e,r,i,n,a,o)=>`M${t},${e+a} a${n},${a} 0,0,0 ${r},0 a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i} M${t},${e+a+o} a${n},${a} 0,0,0 ${r},0`,"createCylinderPathD"),tA=(0,s.eW)((t,e,r,i,n,a,o)=>`M${t},${e+a} M${t+r},${e+a} a${n},${a} 0,0,0 ${-r},0 l0,${i} a${n},${a} 0,0,0 ${r},0 l0,${-i} M${t},${e+a+o} a${n},${a} 0,0,0 ${r},0`,"createOuterCylinderPathD"),tF=(0,s.eW)((t,e,r,i,n,a)=>`M${t-r/2},${-i/2} a${n},${a} 0,0,0 ${r},0`,"createInnerCylinderPathD");async function t$(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s,label:l}=await c(t,e,f(e)),u=Math.max(s.width+(e.padding??0),e.width??0),p=u/2,g=p/(2.5+u/50),y=Math.max(s.height+g+(e.padding??0),e.height??0),m=.1*y,{cssStyles:x}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=tA(0,0,u,y,p,g,m),n=tF(0,g,u,y,p,g),o=S(e,{}),s=t.path(i,o),l=t.path(n,o);a.insert(()=>l,":first-child").attr("class","line"),(r=a.insert(()=>s,":first-child")).attr("class","basic label-container"),x&&r.attr("style",x)}else{let t=tL(0,0,u,y,p,g,m);r=a.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.R7)(x)).attr("style",n)}return r.attr("label-offset-y",g),r.attr("transform",`translate(${-u/2}, ${-(y/2+g)})`),d(e,r),l.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${-(s.height/2)+g-(s.y-(s.top??0))})`),e.intersect=function(t){let r=R.rect(e,t),i=r.x-(e.x??0);if(0!=p&&(Math.abs(i)<(e.width??0)/2||Math.abs(i)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-g)){let n=g*g*(1-i*i/(p*p));n>0&&(n=Math.sqrt(n)),n=g-n,t.y-(e.y??0)>0&&(n=-n),r.y+=n}return r},a}async function tW(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/4,p=l+u,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:-s/2-s/2*.1,y:-p/2},{x:-s/2-s/2*.1,y:p/2},...g(-s/2-s/2*.1,p/2,s/2+s/2*.1,p/2,u,.8),{x:s/2+s/2*.1,y:-p/2},{x:-s/2-s/2*.1,y:-p/2},{x:-s/2,y:-p/2},{x:-s/2,y:p/2*1.1},{x:-s/2,y:-p/2}],k=m.polygon(b.map(t=>[t.x,t.y]),x),C=n.insert(()=>k,":first-child");return C.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),C.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)+s/2*.1/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u/2-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tE(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,g=-l/2,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{}),b=[{x:u-5,y:g+5},{x:u-5,y:g+l+5},{x:u+s-5,y:g+l+5},{x:u+s-5,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g+l-5},{x:u+s+5,y:g+l-5},{x:u+s+5,y:g-5},{x:u+5,y:g-5},{x:u+5,y:g},{x:u,y:g},{x:u,y:g+5}];"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let k=p(b),C=m.path(k,x),w=p([{x:u,y:g+5},{x:u+s-5,y:g+5},{x:u+s-5,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g},{x:u,y:g}]),_=m.path(w,{...x,fill:"none"}),v=n.insert(()=>_,":first-child");return v.insert(()=>C,":first-child"),v.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),o.attr("transform",`translate(${-(a.width/2)-5-(a.x-(a.left??0))}, ${-(a.height/2)+5-(a.y-(a.top??0))})`),d(e,v),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tD(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/4,y=l+u,m=-s/2,x=-y/2,{cssStyles:b}=e,k=g(m-5,x+y+5,m+s-5,x+y+5,u,.8),C=k?.[k.length-1],w=[{x:m-5,y:x+5},{x:m-5,y:x+y+5},...k,{x:m+s-5,y:C.y-5},{x:m+s,y:C.y-5},{x:m+s,y:C.y-10},{x:m+s+5,y:C.y-10},{x:m+s+5,y:x-5},{x:m+5,y:x-5},{x:m+5,y:x},{x:m,y:x},{x:m,y:x+5}],_=[{x:m,y:x+5},{x:m+s-5,y:x+5},{x:m+s-5,y:C.y-5},{x:m+s,y:C.y-5},{x:m+s,y:x},{x:m,y:x}],v=h.Z.svg(n),M=S(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let B=p(w),L=v.path(B,M),A=p(_),F=v.path(A,M),$=n.insert(()=>L,":first-child");return $.insert(()=>F),$.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",i),$.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-(a.width/2)-5-(a.x-(a.left??0))}, ${-(a.height/2)+5-u/2-(a.y-(a.top??0))})`),d(e,$),e.intersect=function(t){return R.polygon(e,w,t)},n}async function tO(t,e,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i,!(e.useHtmlLabels||s.iE().flowchart?.htmlLabels!==!1)&&(e.centerLabel=!0);let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),l=Math.max(o.width+(e.padding??0)*2,e?.width??0),u=Math.max(o.height+(e.padding??0)*2,e?.height??0),{cssStyles:p}=e,g=h.Z.svg(a),y=S(e,{fill:r.noteBkgColor,stroke:r.noteBorderColor});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let m=g.rectangle(-l/2,-u/2,l,u,y),x=a.insert(()=>m,":first-child");return x.attr("class","basic label-container"),p&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",p),n&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",n),d(e,x),e.intersect=function(t){return R.rect(e,t)},a}(0,s.eW)(t$,"linedCylinder"),(0,s.eW)(tW,"linedWaveEdgedRect"),(0,s.eW)(tE,"multiRect"),(0,s.eW)(tD,"multiWaveEdgedRectangle"),(0,s.eW)(tO,"note");var tZ=(0,s.eW)((t,e,r)=>`M${t+r/2},${e} L${t+r},${e-r/2} L${t+r/2},${e-r} L${t},${e-r/2} Z`,"createDecisionBoxPathD");async function tN(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),l=o.width+e.padding,u=l+(o.height+e.padding),p=[{x:u/2,y:0},{x:u,y:-u/2},{x:u/2,y:-u},{x:0,y:-u/2}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=tZ(0,0,u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`),g&&r.attr("style",g)}else r=U(a,u,u,p);return n&&r.attr("style",n),d(e,r),e.intersect=function(t){return s.cM.debug("APA12 Intersect called SPLIT\npoint:",t,"\nnode:\n",e,"\nres:",R.polygon(e,p,t)),R.polygon(e,p,t)},a}async function tI(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0),e?.width??0),l=Math.max(a.height+(e.padding??0),e?.height??0),u=-s/2,g=-l/2,y=g/2,m=[{x:u+y,y:g},{x:u,y:0},{x:u+y,y:-g},{x:-u,y:-g},{x:-u,y:g}],{cssStyles:x}=e,b=h.Z.svg(n),k=S(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let C=p(m),w=b.path(C,k),_=n.insert(()=>w,":first-child");return _.attr("class","basic label-container"),x&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",x),i&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",i),_.attr("transform",`translate(${-y/2},0)`),o.attr("transform",`translate(${-y/2-a.width/2-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`),d(e,_),e.intersect=function(t){return R.polygon(e,m,t)},n}async function tz(t,e){let r,i,n;let{labelStyles:a,nodeStyles:o}=T(e);e.labelStyle=a,r=e.cssClasses?"node "+e.cssClasses:"node default";let c=t.insert("g").attr("class",r).attr("id",e.domId||e.id),u=c.insert("g"),f=c.insert("g").attr("class","label").attr("style",o),p=e.description,g=e.label,y=f.node().appendChild(await k(g,e.labelStyle,!0,!0)),m={width:0,height:0};if((0,s.ku)(s.nV()?.flowchart?.htmlLabels)){let t=y.children[0],e=(0,l.Ys)(y);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}s.cM.info("Text 2",p);let x=p||[],b=y.getBBox(),w=f.node().appendChild(await k(x.join?x.join("
    "):x,e.labelStyle,!0,!0)),_=w.children[0],v=(0,l.Ys)(w);m=_.getBoundingClientRect(),v.attr("width",m.width),v.attr("height",m.height);let M=(e.padding||0)/2;(0,l.Ys)(w).attr("transform","translate( "+(m.width>b.width?0:(b.width-m.width)/2)+", "+(b.height+M+5)+")"),(0,l.Ys)(y).attr("transform","translate( "+(m.width(s.cM.debug("Rough node insert CXC",a),o),":first-child"),i=c.insert(()=>(s.cM.debug("Rough node insert CXC",a),a),":first-child")}else i=u.insert("rect",":first-child"),n=u.insert("line"),i.attr("class","outer title-state").attr("style",o).attr("x",-m.width/2-M).attr("y",-m.height/2-M).attr("width",m.width+(e.padding||0)).attr("height",m.height+(e.padding||0)),n.attr("class","divider").attr("x1",-m.width/2-M).attr("x2",m.width/2+M).attr("y1",-m.height/2-M+b.height+M).attr("y2",-m.height/2-M+b.height+M);return d(e,i),e.intersect=function(t){return R.rect(e,t)},c}async function tj(t,e){let r={rx:5,ry:5,classes:"",labelPaddingX:1*(e?.padding||0),labelPaddingY:1*(e?.padding||0)};return tv(t,e,r)}async function tR(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:s}=await c(t,e,f(e)),l=e?.padding??0,u=Math.max(a.width+(e.padding??0)*2,e?.width??0),p=Math.max(a.height+(e.padding??0)*2,e?.height??0),g=-a.width/2-l,y=-a.height/2-l,{cssStyles:m}=e,x=h.Z.svg(n),b=S(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=x.polygon([{x:g,y},{x:g+u+8,y},{x:g+u+8,y:y+p},{x:g-8,y:y+p},{x:g-8,y},{x:g,y},{x:g,y:y+p}].map(t=>[t.x,t.y]),b),C=n.insert(()=>k,":first-child");return C.attr("class","basic label-container").attr("style",(0,o.R7)(m)),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),m&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),s.attr("transform",`translate(${-u/2+4+(e.padding??0)-(a.x-(a.left??0))},${-p/2+(e.padding??0)-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return R.rect(e,t)},n}async function tP(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,g=-l/2,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:u,y:g},{x:u,y:g+l},{x:u+s,y:g+l},{x:u+s,y:g-l/2}],k=p(b),C=m.path(k,x),w=n.insert(()=>C,":first-child");return w.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",y),i&&"handDrawn"!==e.look&&w.selectChildren("path").attr("style",i),w.attr("transform",`translate(0, ${l/4})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))}, ${-l/4+(e.padding??0)-(a.y-(a.top??0))})`),d(e,w),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tq(t,e){let r={rx:0,ry:0,classes:"",labelPaddingX:2*(e?.padding||0),labelPaddingY:1*(e?.padding||0)};return tv(t,e,r)}async function tH(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s}=await c(t,e,f(e)),l=s.height+e.padding,u=s.width+l/4+e.padding,{cssStyles:p}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=C(-u/2,-l/2,u,l,l/2),s=t.path(n,i);(r=a.insert(()=>s,":first-child")).attr("class","basic label-container").attr("style",(0,o.R7)(p))}else(r=a.insert("rect",":first-child")).attr("class","basic label-container").attr("style",n).attr("rx",l/2).attr("ry",l/2).attr("x",-u/2).attr("y",-l/2).attr("width",u).attr("height",l);return d(e,r),e.intersect=function(t){return R.rect(e,t)},a}async function tU(t,e){return tv(t,e,{rx:5,ry:5,classes:"flowchart-node"})}function tY(t,e,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{cssStyles:a}=e,{lineColor:o,stateBorder:s,nodeBorder:l}=r,c=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),u=h.Z.svg(c),f=S(e,{});"handDrawn"!==e.look&&(f.roughness=0,f.fillStyle="solid");let p=u.circle(0,0,14,{...f,stroke:o,strokeWidth:2}),g=s??l,y=u.circle(0,0,5,{...f,fill:g,stroke:g,strokeWidth:2,fillStyle:"solid"}),m=c.insert(()=>p,":first-child");return m.insert(()=>y),a&&m.selectAll("path").attr("style",a),n&&m.selectAll("path").attr("style",n),d(e,m),e.intersect=function(t){return R.circle(e,7,t)},c}function tV(t,e,{config:{themeVariables:r}}){let i;let{lineColor:n}=r,a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);if("handDrawn"===e.look){let t=h.Z.svg(a).circle(0,0,14,w(n));(i=a.insert(()=>t)).attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else(i=a.insert("circle",":first-child")).attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return d(e,i),e.intersect=function(t){return R.circle(e,7,t)},a}async function tG(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),s=(e?.padding||0)/2,l=a.width+e.padding,u=a.height+e.padding,p=-a.width/2-s,g=-a.height/2-s,y=[{x:0,y:0},{x:l,y:0},{x:l,y:-u},{x:0,y:-u},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-u},{x:-8,y:-u},{x:-8,y:0}];if("handDrawn"===e.look){let t=h.Z.svg(n),r=S(e,{}),i=t.rectangle(p-8,g,l+16,u,r),a=t.line(p,g,p,g+u,r),s=t.line(p+l,g,p+l,g+u,r);n.insert(()=>a,":first-child"),n.insert(()=>s,":first-child");let c=n.insert(()=>i,":first-child"),{cssStyles:f}=e;c.attr("class","basic label-container").attr("style",(0,o.R7)(f)),d(e,c)}else{let t=U(n,l,u,y);i&&t.attr("style",i),d(e,t)}return e.intersect=function(t){return R.polygon(e,y,t)},n}async function tX(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(a.width+(e.padding??0)*2,e?.width??0),s=Math.max(a.height+(e.padding??0)*2,e?.height??0),l=-o/2,u=-s/2,g=.2*s,{cssStyles:y}=e,m=h.Z.svg(n),x=S(e,{}),b=[{x:l-g/2,y:u},{x:l+o+g/2,y:u},{x:l+o+g/2,y:u+s},{x:l-g/2,y:u+s}];"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let k=p(b),C=m.path(k,x),w=p([{x:l+o-g/2,y:u+s},{x:l+o+g/2,y:u+s},{x:l+o+g/2,y:u+s-.2*s}]),_=m.path(w,{...x,fillStyle:"solid"}),v=n.insert(()=>_,":first-child");return v.insert(()=>C,":first-child"),v.attr("class","basic label-container"),y&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",y),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),d(e,v),e.intersect=function(t){return R.polygon(e,b,t)},n}async function tQ(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/4,y=.2*s,m=.2*l,x=l+u,{cssStyles:b}=e,k=h.Z.svg(n),C=S(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let w=[{x:-s/2-s/2*.1,y:x/2},...g(-s/2-s/2*.1,x/2,s/2+s/2*.1,x/2,u,.8),{x:s/2+s/2*.1,y:-x/2},{x:-s/2-s/2*.1,y:-x/2}],_=-s/2+s/2*.1,v=-x/2-.4*m,M=[{x:_+s-y,y:(v+l)*1.4},{x:_+s,y:v+l-m},{x:_+s,y:(v+l)*.9},...g(_+s,(v+l)*1.3,_+s-y,(v+l)*1.5,-(.03*l),.5)],B=p(w),L=k.path(B,C),A=p(M),F=k.path(A,{...C,fillStyle:"solid"}),$=n.insert(()=>F,":first-child");return $.insert(()=>L,":first-child"),$.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",i),$.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u/2-(a.y-(a.top??0))})`),d(e,$),e.intersect=function(t){return R.polygon(e,w,t)},n}async function tK(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(a.width+e.padding,e?.width||0),s=Math.max(a.height+e.padding,e?.height||0),l=n.insert("rect",":first-child");return l.attr("class","text").attr("style",i).attr("rx",0).attr("ry",0).attr("x",-o/2).attr("y",-s/2).attr("width",o).attr("height",s),d(e,l),e.intersect=function(t){return R.rect(e,t)},n}(0,s.eW)(tN,"question"),(0,s.eW)(tI,"rect_left_inv_arrow"),(0,s.eW)(tz,"rectWithTitle"),(0,s.eW)(tj,"roundedRect"),(0,s.eW)(tR,"shadedProcess"),(0,s.eW)(tP,"slopedRect"),(0,s.eW)(tq,"squareRect"),(0,s.eW)(tH,"stadium"),(0,s.eW)(tU,"state"),(0,s.eW)(tY,"stateEnd"),(0,s.eW)(tV,"stateStart"),(0,s.eW)(tG,"subroutine"),(0,s.eW)(tX,"taggedRect"),(0,s.eW)(tQ,"taggedWaveEdgedRectangle"),(0,s.eW)(tK,"text");var tJ=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e} + a${n},${a} 0,0,1 0,${-i} + l${r},0 + a${n},${a} 0,0,1 0,${i} + M${r},${-i} + a${n},${a} 0,0,0 0,${i} + l${-r},0`,"createCylinderPathD"),t0=(0,s.eW)((t,e,r,i,n,a)=>`M${t},${e} M${t+r},${e} a${n},${a} 0,0,0 0,${-i} l${-r},0 a${n},${a} 0,0,0 0,${i} l${r},0`,"createOuterCylinderPathD"),t1=(0,s.eW)((t,e,r,i,n,a)=>`M${t+r/2},${-i/2} a${n},${a} 0,0,0 0,${i}`,"createInnerCylinderPathD");async function t2(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:s,label:l,halfPadding:u}=await c(t,e,f(e)),p="neo"===e.look?2*u:u,g=s.height+p,y=g/2,m=y/(2.5+g/50),x=s.width+m+p,{cssStyles:b}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=t0(0,0,x,g,m,y),n=t1(0,0,x,g,m,y),o=t.path(i,S(e,{})),s=t.path(n,S(e,{fill:"none"}));r=a.insert(()=>s,":first-child"),(r=a.insert(()=>o,":first-child")).attr("class","basic label-container"),b&&r.attr("style",b)}else{let t=tJ(0,0,x,g,m,y);(r=a.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.R7)(b)).attr("style",n)).attr("class","basic label-container"),b&&r.selectAll("path").attr("style",b),n&&r.selectAll("path").attr("style",n)}return r.attr("label-offset-x",m),r.attr("transform",`translate(${-x/2}, ${g/2} )`),l.attr("transform",`translate(${-(s.width/2)-m-(s.x-(s.left??0))}, ${-(s.height/2)-(s.y-(s.top??0))})`),d(e,r),e.intersect=function(t){let r=R.rect(e,t),i=r.y-(e.y??0);if(0!=y&&(Math.abs(i)<(e.height??0)/2||Math.abs(i)==(e.height??0)/2&&Math.abs(r.x-(e.x??0))>(e.width??0)/2-m)){let n=m*m*(1-i*i/(y*y));0!=n&&(n=Math.sqrt(n)),n=m-n,t.x-(e.x??0)>0&&(n=-n),r.x+=n}return r},a}async function t5(t,e){let r;let{labelStyles:i,nodeStyles:n}=T(e);e.labelStyle=i;let{shapeSvg:a,bbox:o}=await c(t,e,f(e)),s=o.width+e.padding,l=o.height+e.padding,u=[{x:-3*l/6,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:0,y:-l}],{cssStyles:g}=e;if("handDrawn"===e.look){let t=h.Z.svg(a),i=S(e,{}),n=p(u),o=t.path(n,i);r=a.insert(()=>o,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),g&&r.attr("style",g)}else r=U(a,s,l,u);return n&&r.attr("style",n),e.width=s,e.height=l,d(e,r),e.intersect=function(t){return R.polygon(e,u,t)},a}async function t3(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(60,a.width+(e.padding??0)*2,e?.width??0),s=Math.max(20,a.height+(e.padding??0)*2,e?.height??0),{cssStyles:l}=e,u=h.Z.svg(n),g=S(e,{});"handDrawn"!==e.look&&(g.roughness=0,g.fillStyle="solid");let y=[{x:-o/2*.8,y:-s/2},{x:o/2*.8,y:-s/2},{x:o/2,y:-s/2*.6},{x:o/2,y:s/2},{x:-o/2,y:s/2},{x:-o/2,y:-s/2*.6}],m=p(y),x=u.path(m,g),b=n.insert(()=>x,":first-child");return b.attr("class","basic label-container"),l&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",l),i&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",i),d(e,b),e.intersect=function(t){return R.polygon(e,y,t)},n}async function t4(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),l=(0,s.ku)(s.nV().flowchart?.htmlLabels),u=a.width+(e.padding??0),g=u+a.height,y=u+a.height,m=[{x:0,y:0},{x:y,y:0},{x:y/2,y:-g}],{cssStyles:x}=e,b=h.Z.svg(n),k=S(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let C=p(m),w=b.path(C,k),_=n.insert(()=>w,":first-child").attr("transform",`translate(${-g/2}, ${g/2})`);return x&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",x),i&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",i),e.width=u,e.height=g,d(e,_),o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${g/2-(a.height+(e.padding??0)/(l?2:1)-(a.y-(a.top??0)))})`),e.intersect=function(t){return s.cM.info("Triangle intersect",e,m,t),R.polygon(e,m,t)},n}async function t6(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=l/8,y=l+u,{cssStyles:m}=e,x=70-s,b=x>0?x/2:0,k=h.Z.svg(n),C=S(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let w=[{x:-s/2-b,y:y/2},...g(-s/2-b,y/2,s/2+b,y/2,u,.8),{x:s/2+b,y:-y/2},{x:-s/2-b,y:-y/2}],_=p(w),v=k.path(_,C),M=n.insert(()=>v,":first-child");return M.attr("class","basic label-container"),m&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",m),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),M.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-u-(a.y-(a.top??0))})`),d(e,M),e.intersect=function(t){return R.polygon(e,w,t)},n}async function t8(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a}=await c(t,e,f(e)),o=Math.max(a.width+(e.padding??0)*2,e?.width??0),s=Math.max(a.height+(e.padding??0)*2,e?.height??0),l=o/s,u=o,y=s;u>y*l?y=u/l:u=y*l,u=Math.max(u,100);let m=Math.min(.2*(y=Math.max(y,50)),y/4),x=y+2*m,{cssStyles:b}=e,k=h.Z.svg(n),C=S(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let w=[{x:-u/2,y:x/2},...g(-u/2,x/2,u/2,x/2,m,1),{x:u/2,y:-x/2},...g(u/2,-x/2,-u/2,-x/2,m,-1)],_=p(w),v=k.path(_,C),M=n.insert(()=>v,":first-child");return M.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),d(e,M),e.intersect=function(t){return R.polygon(e,w,t)},n}async function t9(t,e){let{labelStyles:r,nodeStyles:i}=T(e);e.labelStyle=r;let{shapeSvg:n,bbox:a,label:o}=await c(t,e,f(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,p=-l/2,{cssStyles:g}=e,y=h.Z.svg(n),m=S(e,{}),x=[{x:u-5,y:p-5},{x:u-5,y:p+l},{x:u+s,y:p+l},{x:u+s,y:p-5}],b=`M${u-5},${p-5} L${u+s},${p-5} L${u+s},${p+l} L${u-5},${p+l} L${u-5},${p-5} + M${u-5},${p} L${u+s},${p} + M${u},${p-5} L${u},${p+l}`;"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");let k=y.path(b,m),C=n.insert(()=>k,":first-child");return C.attr("transform",`translate(${2.5}, ${2.5})`),C.attr("class","basic label-container"),g&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",g),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),o.attr("transform",`translate(${-(a.width/2)+2.5-(a.x-(a.left??0))}, ${-(a.height/2)+2.5-(a.y-(a.top??0))})`),d(e,C),e.intersect=function(t){return R.polygon(e,x,t)},n}async function t7(t,e,r,i,n=r.class.padding??12){let a=i?0:3,o=t.insert("g").attr("class",f(e)).attr("id",e.domId||e.id),s=null,l=null,h=null,c=null,u=0,d=0,p=0;if(s=o.insert("g").attr("class","annotation-group text"),e.annotations.length>0){let t=e.annotations[0];await et(s,{text:`\xab${t}\xbb`},0),u=s.node().getBBox().height}l=o.insert("g").attr("class","label-group text"),await et(l,e,0,["font-weight: bolder"]);let g=l.node().getBBox();d=g.height,h=o.insert("g").attr("class","members-group text");let y=0;for(let t of e.members){let e=await et(h,t,y,[t.parseClassifier()]);y+=e+a}(p=h.node().getBBox().height)<=0&&(p=n/2),c=o.insert("g").attr("class","methods-group text");let m=0;for(let t of e.methods){let e=await et(c,t,m,[t.parseClassifier()]);m+=e+a}let x=o.node().getBBox();if(null!==s){let t=s.node().getBBox();s.attr("transform",`translate(${-t.width/2})`)}return l.attr("transform",`translate(${-g.width/2}, ${u})`),x=o.node().getBBox(),h.attr("transform",`translate(0, ${u+d+2*n})`),x=o.node().getBBox(),c.attr("transform",`translate(0, ${u+d+(p?p+4*n:2*n)})`),x=o.node().getBBox(),{shapeSvg:o,bbox:x}}async function et(t,e,r,i=[]){let n;let h=t.insert("g").attr("class","label").attr("style",i.join("; ")),c=(0,s.iE)(),u="useHtmlLabels"in e?e.useHtmlLabels:(0,s.ku)(c.htmlLabels)??!0,d="";d="text"in e?e.text:e.label,!u&&d.startsWith("\\")&&(d=d.substring(1)),(0,s.l0)(d)&&(u=!0);let f=await (0,a.rw)(h,(0,s.uX)((0,o.SH)(d)),{width:(0,o.Cq)(d,c)+50,classes:"markdown-node-label",useHtmlLabels:u},c),p=1;if(u){let t=f.children[0],e=(0,l.Ys)(f);p=t.innerHTML.split("
    ").length,t.innerHTML.includes("")&&(p+=t.innerHTML.split("").length-1);let r=t.getElementsByTagName("img");if(r){let t=""===d.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=c.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,r=5*parseInt(t,10)+"px";e.style.minWidth=r,e.style.maxWidth=r}else e.style.width="100%";r(e)}(0,s.eW)(i,"setupImage"),setTimeout(()=>{e.complete&&i()}),e.addEventListener("error",i),e.addEventListener("load",i)})))}n=t.getBoundingClientRect(),e.attr("width",n.width),e.attr("height",n.height)}else{i.includes("font-weight: bolder")&&(0,l.Ys)(f).selectAll("tspan").attr("font-weight",""),p=f.children.length;let t=f.children[0];(""===f.textContent||f.textContent.includes(">"))&&(t.textContent=d[0]+d.substring(1).replaceAll(">",">").replaceAll("<","<").trim()," "===d[1]&&(t.textContent=t.textContent[0]+" "+t.textContent.substring(1))),"undefined"===t.textContent&&(t.textContent=""),n=f.getBBox()}return h.attr("transform","translate(0,"+(-n.height/(2*p)+r)+")"),n.height}async function ee(t,e){let r=(0,s.nV)(),i=r.class.padding??12,n=e.useHtmlLabels??(0,s.ku)(r.htmlLabels)??!0;e.annotations=e.annotations??[],e.members=e.members??[],e.methods=e.methods??[];let{shapeSvg:a,bbox:o}=await t7(t,e,r,n,i),{labelStyles:c,nodeStyles:u}=T(e);e.labelStyle=c,e.cssStyles=e.styles||"";let f=e.styles?.join(";")||u||"";!e.cssStyles&&(e.cssStyles=f.replaceAll("!important","").split(";"));let p=0===e.members.length&&0===e.methods.length&&!r.class?.hideEmptyMembersBox,g=h.Z.svg(a),y=S(e,{});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let m=o.width,x=o.height;0===e.members.length&&0===e.methods.length?x+=i:e.members.length>0&&0===e.methods.length&&(x+=2*i);let b=-m/2,k=-x/2,C=g.rectangle(b-i,k-i-(p?i:0===e.members.length&&0===e.methods.length?-i/2:0),m+2*i,x+2*i+(p?2*i:0===e.members.length&&0===e.methods.length?-i:0),y),w=a.insert(()=>C,":first-child");w.attr("class","basic label-container");let _=w.node().getBBox();a.selectAll(".text").each((t,r,o)=>{let s=(0,l.Ys)(o[r]),h=s.attr("transform"),c=0;if(h){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(h);t&&(c=parseFloat(t[2]))}let u=c+k+i-(p?i:0===e.members.length&&0===e.methods.length?-i/2:0);!n&&(u-=4);let d=b;(s.attr("class").includes("label-group")||s.attr("class").includes("annotation-group"))&&(d=-s.node()?.getBBox().width/2||0,a.selectAll("text").each(function(t,e,r){"middle"===window.getComputedStyle(r[e]).textAnchor&&(d=0)})),s.attr("transform",`translate(${d}, ${u})`)});let v=a.select(".annotation-group").node().getBBox().height-(p?i/2:0)||0,M=a.select(".label-group").node().getBBox().height-(p?i/2:0)||0,B=a.select(".members-group").node().getBBox().height-(p?i/2:0)||0;if(e.members.length>0||e.methods.length>0||p){let t=g.line(_.x,v+M+k+i,_.x+_.width,v+M+k+i,y);a.insert(()=>t).attr("class","divider").attr("style",f)}if(p||e.members.length>0||e.methods.length>0){let t=g.line(_.x,v+M+B+k+2*i+i,_.x+_.width,v+M+B+k+i+2*i,y);a.insert(()=>t).attr("class","divider").attr("style",f)}if("handDrawn"!==e.look&&a.selectAll("path").attr("style",f),w.select(":nth-child(2)").attr("style",f),a.selectAll(".divider").select("path").attr("style",f),e.labelStyle?a.selectAll("span").attr("style",e.labelStyle):a.selectAll("span").attr("style",f),!n){let t=RegExp(/color\s*:\s*([^;]*)/),e=t.exec(f);if(e){let t=e[0].replace("color","fill");a.selectAll("tspan").attr("style",t)}else if(c){let e=t.exec(c);if(e){let t=e[0].replace("color","fill");a.selectAll("tspan").attr("style",t)}}}return d(e,w),e.intersect=function(t){return R.rect(e,t)},a}(0,s.eW)(t2,"tiltedCylinder"),(0,s.eW)(t5,"trapezoid"),(0,s.eW)(t3,"trapezoidalPentagon"),(0,s.eW)(t4,"triangle"),(0,s.eW)(t6,"waveEdgedRectangle"),(0,s.eW)(t8,"waveRectangle"),(0,s.eW)(t9,"windowPane"),(0,s.eW)(t7,"textHelper"),(0,s.eW)(et,"addText"),(0,s.eW)(ee,"classBox");var er=(0,s.eW)(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function ei(t,e,{config:r}){let i,n,a,o;let{labelStyles:s,nodeStyles:l}=T(e);e.labelStyle=s||"";let p=e.width;e.width=(e.width??200)-10;let{shapeSvg:g,bbox:y,label:m}=await c(t,e,f(e)),x=e.padding||10,b="";"ticket"in e&&e.ticket&&r?.kanban?.ticketBaseUrl&&(b=r?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),i=g.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",b).attr("target","_blank"));let k={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1};i?{label:n,bbox:a}=await u(i,"ticket"in e&&e.ticket||"",k):{label:n,bbox:a}=await u(g,"ticket"in e&&e.ticket||"",k);let{label:w,bbox:_}=await u(g,"assigned"in e&&e.assigned||"",k);e.width=p;let v=e?.width||0,M=Math.max(a.height,_.height)/2,B=Math.max(y.height+20,e?.height||0)+M,L=-v/2,A=-B/2;m.attr("transform","translate("+(x-v/2)+", "+(-M-y.height/2)+")"),n.attr("transform","translate("+(x-v/2)+", "+(-M+y.height/2)+")"),w.attr("transform","translate("+(x+v/2-_.width-20)+", "+(-M+y.height/2)+")");let{rx:F,ry:$}=e,{cssStyles:W}=e;if("handDrawn"===e.look){let t=h.Z.svg(g),r=S(e,{}),i=F||$?t.path(C(L,A,v,B,F||0),r):t.rectangle(L,A,v,B,r);(o=g.insert(()=>i,":first-child")).attr("class","basic label-container").attr("style",W||null)}else{(o=g.insert("rect",":first-child")).attr("class","basic label-container __APA__").attr("style",l).attr("rx",F??5).attr("ry",$??5).attr("x",L).attr("y",A).attr("width",v).attr("height",B);let t="priority"in e&&e.priority;if(t){let e=g.append("line"),r=L+2,i=A+Math.floor((F??0)/2),n=A+B-Math.floor((F??0)/2);e.attr("x1",r).attr("y1",i).attr("x2",r).attr("y2",n).attr("stroke-width","4").attr("stroke",er(t))}}return d(e,o),e.height=B,e.intersect=function(t){return R.rect(e,t)},g}(0,s.eW)(ei,"kanbanItem");var en=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:tq},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:tj},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:tH},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:tG},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:tl},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:G},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:tN},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:ty},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:tM},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:tS},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:t5},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:t_},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:tc},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:tK},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:Y},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:tR},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:tV},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:tY},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:tf},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:tm},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:J},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:te},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:ti},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:tB},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:t6},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:tp},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:t2},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:t$},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:tn},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:th},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:t4},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:t9},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:tu},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:t3},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:td},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:tP},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:tD},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:tE},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:H},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:Q},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:tQ},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:tX},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:t8},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:tI},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:tW}],ea=(0,s.eW)(()=>Object.fromEntries([...Object.entries({state:tU,choice:V,note:tO,rectWithTitle:tz,labelRect:tT,iconSquare:tC,iconCircle:tb,icon:tx,iconRounded:tk,imageSquare:tw,anchor:P,kanbanItem:ei,classBox:ee}),...en.flatMap(t=>[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]].map(e=>[e,t.handler]))]),"generateShapeMap")();function eo(t){return t in ea}(0,s.eW)(eo,"isValidShape");var es=new Map;async function el(t,e,r){let i,n;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let a=e.shape?ea[e.shape]:void 0;if(!a)throw Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let o;"sandbox"===r.config.securityLevel?o="_top":e.linkTarget&&(o=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",o??null),n=await a(i,e,r)}else i=n=await a(t,e,r);return e.tooltip&&n.attr("title",e.tooltip),es.set(e.id,i),e.haveCallback&&i.attr("class",i.attr("class")+" clickable"),i}(0,s.eW)(el,"insertNode");var eh=(0,s.eW)((t,e)=>{es.set(e.id,t)},"setNodeElem"),ec=(0,s.eW)(()=>{es.clear()},"clear"),eu=(0,s.eW)(t=>{let e=es.get(t.id);s.cM.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode")},7690:function(t,e,r){"use strict";r.d(e,{$m:function(){return h},Cq:function(){return O},Ln:function(){return Y},MX:function(){return A},Ox:function(){return B},R7:function(){return V},Rb:function(){return P},SH:function(){return U},VG:function(){return R},Vy:function(){return H},X4:function(){return W},XD:function(){return D},bZ:function(){return z},be:function(){return S},le:function(){return y},tf:function(){return p},w8:function(){return q}});var i,n=r(5995),a=r(17967),o=r(27818),s=r(65269),l=r(41777),h="\u200B",c={curveBasis:o.$0Z,curveBasisClosed:o.Dts,curveBasisOpen:o.WQY,curveBumpX:o.qpX,curveBumpY:o.u93,curveBundle:o.tFB,curveCardinalClosed:o.OvA,curveCardinalOpen:o.dCK,curveCardinal:o.YY7,curveCatmullRomClosed:o.fGX,curveCatmullRomOpen:o.$m7,curveCatmullRom:o.zgE,curveLinear:o.c_6,curveLinearClosed:o.fxm,curveMonotoneX:o.FdL,curveMonotoneY:o.ak_,curveNatural:o.SxZ,curveStep:o.eA_,curveStepAfter:o.jsv,curveStepBefore:o.iJ},u=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,d=(0,n.eW)(function(t,e){let r=f(t,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,n.NM)(t),i=(0,n.Yc)(i,[...t])}else i=r.args;if(!i)return;let a=(0,n.Vg)(t,e),o="config";return void 0!==i[o]&&("flowchart-v2"===a&&(a="flowchart"),i[a]=i[o],delete i[o]),i},"detectInit"),f=(0,n.eW)(function(t,e=null){try{let r;let i=RegExp(`[%]{2}(?![{]${u.source})(?=[}][%]{2}).* +`,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),n.cM.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let a=[];for(;null!==(r=n.Zn.exec(t));)if(r.index===n.Zn.lastIndex&&n.Zn.lastIndex++,r&&!e||e&&r[1]?.match(e)||e&&r[2]?.match(e)){let t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;a.push({type:t,args:e})}if(0===a.length)return{type:t,args:null};return 1===a.length?a[0]:a}catch(r){return n.cM.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),p=(0,n.eW)(function(t){return t.replace(n.Zn,"")},"removeDirectives"),g=(0,n.eW)(function(t,e){for(let[r,i]of e.entries())if(i.match(t))return r;return -1},"isSubstringInArray");function y(t,e){return t?c[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function m(t,e){let r=t.trim();return r?"loose"!==e.securityLevel?(0,a.sanitizeUrl)(r):r:void 0}(0,n.eW)(y,"interpolateToCurve"),(0,n.eW)(m,"formatUrl");var x=(0,n.eW)((t,...e)=>{let r=t.split("."),i=r.length-1,a=r[i],o=window;for(let e=0;e{r+=b(t,e),e=t}),_(t,r/2)}function C(t){return 1===t.length?t[0]:k(t)}(0,n.eW)(b,"distance"),(0,n.eW)(k,"traverseEdge"),(0,n.eW)(C,"calcLabelPosition");var w=(0,n.eW)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),_=(0,n.eW)((t,e)=>{let r;let i=e;for(let e of t){if(r){let t=b(e,r);if(t=1)return{x:e.x,y:e.y};if(n>0&&n<1)return{x:w((1-n)*r.x+n*e.x,5),y:w((1-n)*r.y+n*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),v=(0,n.eW)((t,e,r)=>{n.cM.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let i=_(e,25),a=t?10:5,o=Math.atan2(e[0].y-i.y,e[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(o)*a+(e[0].x+i.x)/2,s.y=-Math.cos(o)*a+(e[0].y+i.y)/2,s},"calcCardinalityPosition");function T(t,e,r){let i=structuredClone(r);n.cM.info("our points",i),"start_left"!==e&&"start_right"!==e&&i.reverse();let a=_(i,25+t),o=10+.5*t,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(s+Math.PI)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s+Math.PI)*o+(i[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s-Math.PI)*o+(i[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*o+(i[0].x+a.x)/2-5,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2-5):(l.x=Math.sin(s)*o+(i[0].x+a.x)/2,l.y=-Math.cos(s)*o+(i[0].y+a.y)/2),l}function S(t){let e="",r="";for(let i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?r=r+i+";":e=e+i+";");return{style:e,labelStyle:r}}(0,n.eW)(T,"calcTerminalLabelPosition"),(0,n.eW)(S,"getStylesFromArray");var M=0,B=(0,n.eW)(()=>(M++,"id-"+Math.random().toString(36).substr(2,12)+"-"+M),"generateId");function L(t){let e="",r="0123456789abcdef",i=r.length;for(let n=0;nL(t.length),"random"),F=(0,n.eW)(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,text:""}},"getTextObj"),$=(0,n.eW)(function(t,e){let r=e.text.replace(n.SY.lineBreakRegex," "),[,i]=R(e.fontSize),a=t.append("text");a.attr("x",e.x),a.attr("y",e.y),a.style("text-anchor",e.anchor),a.style("font-family",e.fontFamily),a.style("font-size",i),a.style("font-weight",e.fontWeight),a.attr("fill",e.fill),void 0!==e.class&&a.attr("class",e.class);let o=a.append("tspan");return o.attr("x",e.x+2*e.textMargin),o.attr("fill",e.fill),o.text(r),a},"drawSimpleText"),W=(0,s.Z)((t,e,r)=>{if(!t)return t;if(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
    "},r),n.SY.lineBreakRegex.test(t))return t;let i=t.split(" ").filter(Boolean),a=[],o="";return i.forEach((t,n)=>{let s=O(`${t} `,r),l=O(o,r);if(s>e){let{hyphenatedStrings:i,remainingWord:n}=E(t,e,"-",r);a.push(o,...i),o=n}else l+s>=e?(a.push(o),o=t):o=[o,t].filter(Boolean).join(" ");n+1===i.length&&a.push(o)}),a.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),E=(0,s.Z)((t,e,r="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);let n=[...t],a=[],o="";return n.forEach((t,s)=>{let l=`${o}${t}`;if(O(l,i)>=e){let t=n.length===s+1,e=`${l}${r}`;a.push(t?l:e),o=""}else o=l}),{hyphenatedStrings:a,remainingWord:o}},(t,e,r="-",i)=>`${t}${e}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);function D(t,e){return Z(t,e).height}function O(t,e){return Z(t,e).width}(0,n.eW)(D,"calculateTextHeight"),(0,n.eW)(O,"calculateTextWidth");var Z=(0,s.Z)((t,e)=>{let{fontSize:r=12,fontFamily:i="Arial",fontWeight:a=400}=e;if(!t)return{width:0,height:0};let[,s]=R(r),l=t.split(n.SY.lineBreakRegex),c=[],u=(0,o.Ys)("body");if(!u.remove)return{width:0,height:0,lineHeight:0};let d=u.append("svg");for(let t of["sans-serif",i]){let e=0,r={width:0,height:0,lineHeight:0};for(let i of l){let n=F();n.text=i||h;let o=$(d,n).style("font-size",s).style("font-weight",a).style("font-family",t),l=(o._groups||o)[0][0].getBBox();if(0===l.width&&0===l.height)throw Error("svg element not in render tree");r.width=Math.round(Math.max(r.width,l.width)),e=Math.round(l.height),r.height+=e,r.lineHeight=Math.round(Math.max(r.lineHeight,e))}c.push(r)}d.remove();let f=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;return c[f]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),N=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,n.eW)(this,"InitIDGenerator")}},I=(0,n.eW)(function(t){return i=i||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),i.innerHTML=t,unescape(i.textContent)},"entityDecode");function z(t){return"str"in t}(0,n.eW)(z,"isDetailedError");var j=(0,n.eW)((t,e,r,i)=>{if(!i)return;let n=t.node()?.getBBox();if(!!n)t.append("text").text(i).attr("text-anchor","middle").attr("x",n.x+n.width/2).attr("y",-r).attr("class",e)},"insertTitle"),R=(0,n.eW)(t=>{if("number"==typeof t)return[t,t+"px"];let e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function P(t,e){return(0,l.Z)({},t,e)}(0,n.eW)(P,"cleanAndMerge");var q={assignWithDepth:n.Yc,wrapLabel:W,calculateTextHeight:D,calculateTextWidth:O,calculateTextDimensions:Z,cleanAndMerge:P,detectInit:d,detectDirective:f,isSubstringInArray:g,interpolateToCurve:y,calcLabelPosition:C,calcCardinalityPosition:v,calcTerminalLabelPosition:T,formatUrl:m,getStylesFromArray:S,generateId:B,random:A,runFunc:x,entityDecode:I,insertTitle:j,parseFontSize:R,InitIDGenerator:N},H=(0,n.eW)(function(t){let e=t;return e=(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\uFB02\xb0\xb0"+e+"\xb6\xdf":"\uFB02\xb0"+e+"\xb6\xdf"})},"encodeEntities"),U=(0,n.eW)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Y=(0,n.eW)((t,e,{counter:r=0,prefix:i,suffix:n})=>`${i?`${i}_`:""}${t}_${e}_${r}${n?`_${n}`:""}`,"getEdgeId");function V(t){return t??null}(0,n.eW)(V,"handleUndefinedAttr")},5995:function(t,e,r){"use strict";let i;r.d(e,{_7:()=>el,cq:()=>F,Kr:()=>t7,ZD:()=>tl,xN:()=>R,l0:()=>tz,Fy:()=>er,vZ:()=>Q,Vg:()=>B,XV:()=>td,Yc:()=>W,nH:()=>tj,ZH:()=>t5,cj:()=>S,r2:()=>x,eW:()=>m,LJ:()=>tK,Vw:()=>tx,cM:()=>k,UO:()=>tE,Cq:()=>es,Ee:()=>tQ,_j:()=>U,Tb:()=>ts,KO:()=>L,uT:()=>tR,mc:()=>tf,NM:()=>K,oO:()=>tv,uX:()=>ei,dY:()=>to,U$:()=>t6,GN:()=>t3,v6:()=>th,Y4:()=>ee,g2:()=>t9,Ub:()=>C,Yn:()=>ta,j7:()=>tY,Rw:()=>en,SY:()=>tP,v2:()=>tU,u_:()=>tt,Bf:()=>M,Zn:()=>v,ku:()=>tF,M6:()=>_,Mx:()=>t8,eu:()=>t4,iE:()=>tc,nV:()=>et});var n,a=r("27484"),o=r("26652"),s=r("17826");let l=(t,e)=>{let r=o.Z.parse(t),i={};for(let t in e)e[t]&&(i[t]=r[t]+e[t]);return(0,s.Z)(t,i)};var h=r("13328");let c=(t,e,r=50)=>{let{r:i,g:n,b:a,a:s}=o.Z.parse(t),{r:l,g:c,b:u,a:d}=o.Z.parse(e),f=r/100,p=2*f-1,g=s-d,y=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,m=1-y;return(0,h.Z)(i*y+l*m,n*y+c*m,a*y+u*m,s*f+d*(1-f))},u=(t,e=100)=>{let r=o.Z.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,c(r,t,e)};var d=r("35035"),f=r("86750"),p=r("77845"),g=r("27856"),y=Object.defineProperty,m=(t,e)=>y(t,"name",{value:e,configurable:!0}),x=(t,e)=>{for(var r in e)y(t,r,{get:e[r],enumerable:!0})},b={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},k={trace:m((...t)=>{},"trace"),debug:m((...t)=>{},"debug"),info:m((...t)=>{},"info"),warn:m((...t)=>{},"warn"),error:m((...t)=>{},"error"),fatal:m((...t)=>{},"fatal")},C=m(function(t="fatal"){let e=b.fatal;"string"==typeof t?t.toLowerCase()in b&&(e=b[t]):"number"==typeof t&&(e=t),k.trace=()=>{},k.debug=()=>{},k.info=()=>{},k.warn=()=>{},k.error=()=>{},k.fatal=()=>{},e<=b.fatal&&(k.fatal=console.error?console.error.bind(console,w("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",w("FATAL"))),e<=b.error&&(k.error=console.error?console.error.bind(console,w("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",w("ERROR"))),e<=b.warn&&(k.warn=console.warn?console.warn.bind(console,w("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,w("WARN"))),e<=b.info&&(k.info=console.info?console.info.bind(console,w("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",w("INFO"))),e<=b.debug&&(k.debug=console.debug?console.debug.bind(console,w("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",w("DEBUG"))),e<=b.trace&&(k.trace=console.debug?console.debug.bind(console,w("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",w("TRACE")))},"setLogLevel"),w=m(t=>{let e=a().format("ss.SSS");return`%c${e} : ${t} : `},"format"),_=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,v=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,T=/\s*%%.*\n/gm,S=class extends Error{static{m(this,"UnknownDiagramError")}constructor(t){super(t),this.name="UnknownDiagramError"}},M={},B=m(function(t,e){for(let[r,{detector:i}]of(t=t.replace(_,"").replace(v,"").replace(T,"\n"),Object.entries(M)))if(i(t,e))return r;throw new S(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),L=m((...t)=>{for(let{id:e,detector:r,loader:i}of t)A(e,r,i)},"registerLazyLoadedDiagrams"),A=m((t,e,r)=>{M[t]&&k.warn(`Detector with key ${t} already exists. Overwriting.`),M[t]={detector:e,loader:r},k.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),F=m(t=>M[t].loader,"getDiagramLoader"),$=m((t,e,{depth:r=2,clobber:i=!1}={})=>{let n={depth:r,clobber:i};if(Array.isArray(e)&&!Array.isArray(t))return e.forEach(e=>$(t,e,n)),t;if(Array.isArray(e)&&Array.isArray(t))return e.forEach(e=>{!t.includes(e)&&t.push(e)}),t;if(void 0===t||r<=0)return null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e;return 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])?(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=$(t[n],e[n],{depth:r-1,clobber:i})):(i||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n])}),t},"assignWithDepth"),W=$,E="#ffffff",D="#f2f2f2",O=m((t,e)=>e?l(t,{s:-40,l:10}):l(t,{s:-40,l:-10}),"mkBorder"),Z=class{static{m(this,"Theme")}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||l(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||l(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||O(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||O(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||O(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||u(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||u(this.tertiaryColor),this.lineColor=this.lineColor||u(this.background),this.arrowheadColor=this.arrowheadColor||u(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,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?(0,d.Z)(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||this.actorBorder,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||(0,d.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||u(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||(0,f.Z)(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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},N=m(t=>{let e=new Z;return e.calculate(t),e},"getThemeVariables"),I=class{static{m(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,f.Z)(this.primaryColor,16),this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=u(this.background),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,f.Z)(u("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=(0,h.Z)(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=(0,d.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,d.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,h.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,h.Z)(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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,f.Z)(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=(0,f.Z)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,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=(0,f.Z)(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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,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=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330});for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},z=m(t=>{let e=new I;return e.calculate(t),e},"getThemeVariables"),j=class{static{m(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=l(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(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="rgba(232,232,232, 0.8)",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="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="#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=(0,h.Z)(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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},R=m(t=>{let e=new j;return e.calculate(t),e},"getThemeVariables"),P=class{static{m(this,"Theme")}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=(0,f.Z)("#cde498",10),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.primaryColor),this.lineColor=u(this.background),this.textColor=u(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="calculated",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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,d.Z)(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.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},q=m(t=>{let e=new P;return e.calculate(t),e},"getThemeVariables"),H=class{static{m(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,f.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=O(this.primaryColor,this.darkMode),this.secondaryBorderColor=O(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=O(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(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=this.actorBorder,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=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,f.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,f.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,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.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[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},U={base:{getThemeVariables:N},dark:{getThemeVariables:z},default:{getThemeVariables:R},forest:{getThemeVariables:q},neutral:{getThemeVariables:m(t=>{let e=new H;return e.calculate(t),e},"getThemeVariables")}},Y={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,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,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},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,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:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,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,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{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},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,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},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,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,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"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},V={...Y,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:U.default.getThemeVariables(),sequence:{...Y.sequence,messageFont:m(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:m(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:m(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...Y.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Y.c4,useWidth:void 0,personFont:m(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:m(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:m(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:m(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:m(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:m(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:m(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:m(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:m(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:m(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:m(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:m(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:m(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:m(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:m(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:m(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:m(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:m(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:m(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:m(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:m(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:m(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...Y.pie,useWidth:984},xyChart:{...Y.xyChart,useWidth:void 0},requirement:{...Y.requirement,useWidth:void 0},packet:{...Y.packet}},G=m((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:"object"==typeof t[i]&&null!==t[i]?[...r,e+i,...G(t[i],"")]:[...r,e+i],[]),"keyify"),X=new Set(G(V,"")),Q=V,K=m(t=>{if(k.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t)){t.forEach(t=>K(t));return}for(let e of Object.keys(t)){if(k.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!X.has(e)||null==t[e]){k.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){k.debug("sanitizing object",e),K(t[e]);continue}for(let r of["themeCSS","fontFamily","altFontFamily"])e.includes(r)&&(k.debug("sanitizing css option",e),t[e]=J(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}k.debug("After sanitization",t)}},"sanitizeDirective"),J=m(t=>{let e=0,r=0;for(let i of t){if(e{let r=W({},t),i={};for(let t of e)tu(t),i=W(i,t);if(r=W(r,i),i.theme&&i.theme in U){let t=W({},n),e=W(t.themeVariables||{},i.themeVariables);r.theme&&r.theme in U&&(r.themeVariables=U[r.theme].getThemeVariables(e))}return tm(ti=r),ti},"updateCurrentConfig"),ta=m(t=>(te=W({},tt),te=W(te,t),t.theme&&U[t.theme]&&(te.themeVariables=U[t.theme].getThemeVariables(t.themeVariables)),tn(te,tr),te),"setSiteConfig"),to=m(t=>{n=W({},t)},"saveConfigFromInitialize"),ts=m(t=>(te=W(te,t),tn(te,tr),te),"updateSiteConfig"),tl=m(()=>W({},te),"getSiteConfig"),th=m(t=>(tm(t),W(ti,t),tc()),"setConfig"),tc=m(()=>W({},ti),"getConfig"),tu=m(t=>{if(!!t)["secure",...te.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(k.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&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]&&tu(t[e])})},"sanitize"),td=m(t=>{K(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),tr.push(t),tn(te,tr)},"addDirective"),tf=m((t=te)=>{tn(t,tr=[])},"reset"),tp={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},tg={},ty=m(t=>{if(!tg[t])k.warn(tp[t]),tg[t]=!0},"issueWarning"),tm=m(t=>{if(!!t)(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&ty("LAZY_LOAD_DEPRECATED")},"checkConfig"),tx=//gi,tb=m(t=>t?tL(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows");var tk=(i=!1,()=>{!i&&(tC(),i=!0)});function tC(){let t="data-temp-href-target";g.addHook("beforeSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),g.addHook("afterSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))})}m(tC,"setupDompurifyHooks");var tw=m(t=>(tk(),g.sanitize(t)),"removeScript"),t_=m((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;"antiscript"===r||"strict"===r?t=tw(t):"loose"!==r&&(t=tB(t=(t=(t=tL(t)).replace(//g,">")).replace(/=/g,"=")))}return t},"sanitizeMore"),tv=m((t,e)=>t?t=e.dompurifyConfig?g.sanitize(t_(t,e),e.dompurifyConfig).toString():g.sanitize(t_(t,e),{FORBID_TAGS:["style"]}).toString():t,"sanitizeText"),tT=m((t,e)=>"string"==typeof t?tv(t,e):t.flat().map(t=>tv(t,e)),"sanitizeTextOrArray"),tS=m(t=>tx.test(t),"hasBreaks"),tM=m(t=>t.split(tx),"splitBreaks"),tB=m(t=>t.replace(/#br#/g,"
    "),"placeholderToBreak"),tL=m(t=>t.replace(tx,"#br#"),"breakToPlaceholder"),tA=m(t=>{let e="";return t&&(e=(e=(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replaceAll(/\(/g,"\\(")).replaceAll(/\)/g,"\\)")),e},"getUrl"),tF=m(t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),t$=m(function(...t){return Math.max(...t.filter(t=>!isNaN(t)))},"getMax"),tW=m(function(...t){return Math.min(...t.filter(t=>!isNaN(t)))},"getMin"),tE=m(function(t){let e=t.split(/(,)/),r=[];for(let t=0;t0&&t+1Math.max(0,t.split(e).length-1),"countOccurrence"),tO=m((t,e)=>{let r=tD(t,"~"),i=tD(e,"~");return 1===r&&1===i},"shouldCombineSets"),tZ=m(t=>{let e=tD(t,"~"),r=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let i=[...t],n=i.indexOf("~"),a=i.lastIndexOf("~");for(;-1!==n&&-1!==a&&n!==a;)i[n]="<",i[a]=">",n=i.indexOf("~"),a=i.lastIndexOf("~");return r&&i.unshift("~"),i.join("")},"processSet"),tN=m(()=>void 0!==window.MathMLElement,"isMathMLSupported"),tI=/\$\$(.*)\$\$/g,tz=m(t=>(t.match(tI)?.length??0)>0,"hasKatex"),tj=m(async(t,e)=>{t=await tR(t,e);let r=document.createElement("div");r.innerHTML=t,r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";let i=document.querySelector("body");i?.insertAdjacentElement("beforeend",r);let n={width:r.clientWidth,height:r.clientHeight};return r.remove(),n},"calculateMathMLDimensions"),tR=m(async(t,e)=>{if(!tz(t))return t;if(!(tN()||e.legacyMathML||e.forceLegacyMathML))return t.replace(tI,"MathML is unsupported in this environment.");let{default:i}=await r.e("5146").then(r.bind(r,63898)),n=e.forceLegacyMathML||!tN()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(tx).map(t=>tz(t)?`
    ${t}
    `:`
    ${t}
    `).join("").replace(tI,(t,e)=>i.renderToString(e,{throwOnError:!0,displayMode:!0,output:n}).replace(/\n/g," ").replace(//g,""))},"renderKatex"),tP={getRows:tb,sanitizeText:tv,sanitizeTextOrArray:tT,hasBreaks:tS,splitBreaks:tM,lineBreakRegex:tx,removeScript:tw,getUrl:tA,evaluate:tF,getMax:t$,getMin:tW},tq=m(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),tH=m(function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},"calculateSvgSizeAttrs"),tU=m(function(t,e,r,i){tq(t,tH(e,r,i))},"configureSvgSize"),tY=m(function(t,e,r,i){let n=e.node().getBBox(),a=n.width,o=n.height;k.info(`SVG bounds: ${a}x${o}`,n);let s=0,l=0;k.info(`Graph bounds: ${s}x${l}`,t),s=a+2*r,l=o+2*r,k.info(`Calculated bounds: ${s}x${l}`),tU(e,l,s,i);let h=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",h)},"setupGraphViewbox"),tV={},tG=m((t,e,r)=>{let i="";return t in tV&&tV[t]?i=tV[t](r):k.warn(`No theme found for ${t}`),` & { + font-family: ${r.fontFamily}; + font-size: ${r.fontSize}; + fill: ${r.textColor} + } + + /* Classes common for multiple diagrams */ + + & .error-icon { + fill: ${r.errorBkgColor}; + } + & .error-text { + fill: ${r.errorTextColor}; + stroke: ${r.errorTextColor}; + } + + & .edge-thickness-normal { + stroke-width: 1px; + } + & .edge-thickness-thick { + stroke-width: 3.5px + } + & .edge-pattern-solid { + stroke-dasharray: 0; + } + & .edge-thickness-invisible { + stroke-width: 0; + fill: none; + } + & .edge-pattern-dashed{ + stroke-dasharray: 3; + } + .edge-pattern-dotted { + stroke-dasharray: 2; + } + + & .marker { + fill: ${r.lineColor}; + stroke: ${r.lineColor}; + } + & .marker.cross { + stroke: ${r.lineColor}; + } + + & svg { + font-family: ${r.fontFamily}; + font-size: ${r.fontSize}; + } + & p { + margin: 0 + } + + ${i} + + ${e} +`},"getStyles"),tX=m((t,e)=>{void 0!==e&&(tV[t]=e)},"addStylesForDiagram"),tQ=tG,tK={};x(tK,{clear:()=>t5,getAccDescription:()=>t8,getAccTitle:()=>t4,getDiagramTitle:()=>t7,setAccDescription:()=>t6,setAccTitle:()=>t3,setDiagramTitle:()=>t9});var tJ="",t0="",t1="",t2=m(t=>tv(t,tc()),"sanitizeText"),t5=m(()=>{tJ="",t1="",t0=""},"clear"),t3=m(t=>{tJ=t2(t).replace(/^\s+/g,"")},"setAccTitle"),t4=m(()=>tJ,"getAccTitle"),t6=m(t=>{t1=t2(t).replace(/\n\s+/g,"\n")},"setAccDescription"),t8=m(()=>t1,"getAccDescription"),t9=m(t=>{t0=t2(t)},"setDiagramTitle"),t7=m(()=>t0,"getDiagramTitle"),et=tc,ee=th,er=tt,ei=m(t=>tv(t,et()),"sanitizeText"),en=tY,ea=m(()=>tK,"getCommonDb"),eo={},es=m((t,e,r)=>{eo[t]&&k.warn(`Diagram with id ${t} already registered. Overwriting.`),eo[t]=e,r&&A(t,r),tX(t,e.styles),e.injectUtils?.(k,C,et,ei,en,ea(),()=>{})},"registerDiagram"),el=m(t=>{if(t in eo)return eo[t];throw new eh(t)},"getDiagram"),eh=class extends Error{static{m(this,"DiagramNotFoundError")}constructor(t){super(`Diagram ${t} not found.`)}}},16972:function(t,e,r){"use strict";r.d(e,{A:function(){return ej},z:function(){return eR}});var i,n=r(5995);function a(t){return null==t}function o(t){return"object"==typeof t&&null!==t}function s(t){return Array.isArray(t)?t:a(t)?[]:[t]}function l(t,e){var r,i,n,a;if(e)for(r=0,i=(a=Object.keys(e)).length;rs&&(e=i-s+(a=" ... ").length),r-i>s&&(r=i+s-(o=" ...").length),{str:a+t.slice(e,r).replace(/\t/g,"\u2192")+o,pos:i-e+a.length}}function g(t,e){return u.repeat(" ",e-t.length)+t}function y(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 r=/\r?\n|\r|\0/g,i=[0],n=[],a=-1;o=r.exec(t.buffer);)n.push(o.index),i.push(o.index+o[0].length),t.position<=o.index&&a<0&&(a=i.length-2);a<0&&(a=i.length-1);var o,s,l,h="",c=Math.min(t.line+e.linesAfter,n.length).toString().length,d=e.maxLength-(e.indent+c+3);for(s=1;s<=e.linesBefore&&!(a-s<0);s++)l=p(t.buffer,i[a-s],n[a-s],t.position-(i[a]-i[a-s]),d),h=u.repeat(" ",e.indent)+g((t.line-s+1).toString(),c)+" | "+l.str+"\n"+h;for(l=p(t.buffer,i[a],n[a],t.position,d),h+=u.repeat(" ",e.indent)+g((t.line+1).toString(),c)+" | "+l.str+"\n"+(u.repeat("-",e.indent+c+3+l.pos)+"^\n"),s=1;s<=e.linesAfter&&!(a+s>=n.length);s++)l=p(t.buffer,i[a+s],n[a+s],t.position-(i[a]-i[a+s]),d),h+=u.repeat(" ",e.indent)+g((t.line+s+1).toString(),c)+" | "+l.str+"\n";return h.replace(/\n$/,"")}(0,n.eW)(p,"getLine"),(0,n.eW)(g,"padStart"),(0,n.eW)(y,"makeSnippet");var m=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],x=["scalar","sequence","mapping"];function b(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function k(t,e){if(Object.keys(e=e||{}).forEach(function(e){if(-1===m.indexOf(e))throw new f('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=b(e.styleAliases||null),-1===x.indexOf(this.kind))throw new f('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}(0,n.eW)(b,"compileStyleAliases"),(0,n.eW)(k,"Type$1");function C(t,e){var r=[];return t[e].forEach(function(t){var e=r.length;r.forEach(function(r,i){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=i)}),r[e]=t}),r}function w(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,n.eW)(i,"collectType"),t=0,e=arguments.length;t=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,n.eW)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:(0,n.eW)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,n.eW)(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),z=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function j(t){return!!(null!==t&&z.test(t)&&"_"!==t[t.length-1])||!1}function R(t){var e,r;return(r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:r*parseFloat(e,10)}(0,n.eW)(j,"resolveYamlFloat"),(0,n.eW)(R,"constructYamlFloat");var P=/^[-+]?[0-9]+e/;function q(t,e){var r;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(u.isNegativeZero(t))return"-0.0";return r=t.toString(10),P.test(r)?r.replace("e",".e"):r}function H(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||u.isNegativeZero(t))}(0,n.eW)(q,"representYamlFloat"),(0,n.eW)(H,"isFloat");var U=new k("tag:yaml.org,2002:float",{kind:"scalar",resolve:j,construct:R,predicate:H,represent:q,defaultStyle:"lowercase"}),Y=v.extend({implicit:[B,$,I,U]}),V=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),G=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 X(t){return null!==t&&(null!==V.exec(t)||null!==G.exec(t)||!1)}function Q(t){var e,r,i,n,a,o,s,l,h,c=0,u=null;if(null===(e=V.exec(t))&&(e=G.exec(t)),null===e)throw Error("Date resolve error");if(r=+e[1],i=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(r,i,n));if(a=+e[4],o=+e[5],s=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c=+c}return e[9]&&(l=+e[10],u=(60*l+ +(e[11]||0))*6e4,"-"===e[9]&&(u=-u)),h=new Date(Date.UTC(r,i,n,a,o,s,c)),u&&h.setTime(h.getTime()-u),h}function K(t){return t.toISOString()}(0,n.eW)(X,"resolveYamlTimestamp"),(0,n.eW)(Q,"constructYamlTimestamp"),(0,n.eW)(K,"representYamlTimestamp");var J=new k("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:X,construct:Q,instanceOf:Date,represent:K});function tt(t){return"<<"===t||null===t}(0,n.eW)(tt,"resolveYamlMerge");var te=new k("tag:yaml.org,2002:merge",{kind:"scalar",resolve:tt}),tr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function ti(t){if(null===t)return!1;var e,r,i=0,n=t.length;for(r=0;r64)){if(e<0)return!1;i+=6}return i%8==0}function tn(t){var e,r,i=t.replace(/[\r\n=]/g,""),n=i.length,a=0,o=[];for(e=0;e>16&255),o.push(a>>8&255),o.push(255&a)),a=a<<6|tr.indexOf(i.charAt(e));return 0==(r=n%4*6)?(o.push(a>>16&255),o.push(a>>8&255),o.push(255&a)):18===r?(o.push(a>>10&255),o.push(a>>2&255)):12===r&&o.push(a>>4&255),new Uint8Array(o)}function ta(t){var e,r,i="",n=0,a=t.length;for(e=0;e>18&63],i+=tr[n>>12&63],i+=tr[n>>6&63],i+=tr[63&n]),n=(n<<8)+t[e];return 0==(r=a%3)?(i+=tr[n>>18&63],i+=tr[n>>12&63],i+=tr[n>>6&63],i+=tr[63&n]):2===r?(i+=tr[n>>10&63],i+=tr[n>>4&63],i+=tr[n<<2&63],i+=tr[64]):1===r&&(i+=tr[n>>2&63],i+=tr[n<<4&63],i+=tr[64],i+=tr[64]),i}function to(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,n.eW)(ti,"resolveYamlBinary"),(0,n.eW)(tn,"constructYamlBinary"),(0,n.eW)(ta,"representYamlBinary"),(0,n.eW)(to,"isBinary");var ts=new k("tag:yaml.org,2002:binary",{kind:"scalar",resolve:ti,construct:tn,predicate:to,represent:ta}),tl=Object.prototype.hasOwnProperty,th=Object.prototype.toString;function tc(t){if(null===t)return!0;var e,r,i,n,a,o=[];for(e=0,r=t.length;e>10)+55296,(t-65536&1023)+56320)}(0,n.eW)(tB,"_class"),(0,n.eW)(tL,"is_EOL"),(0,n.eW)(tA,"is_WHITE_SPACE"),(0,n.eW)(tF,"is_WS_OR_EOL"),(0,n.eW)(t$,"is_FLOW_INDICATOR"),(0,n.eW)(tW,"fromHexCode"),(0,n.eW)(tE,"escapedHexLen"),(0,n.eW)(tD,"fromDecimalCode"),(0,n.eW)(tO,"simpleEscapeSequence"),(0,n.eW)(tZ,"charFromCodepoint");var tN=Array(256),tI=Array(256);for(i=0;i<256;i++)tN[i]=tO(i)?1:0,tI[i]=tO(i);function tz(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||tC,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 tj(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=y(r),new f(e,r)}function tR(t,e){throw tj(t,e)}function tP(t,e){t.onWarning&&t.onWarning.call(null,tj(t,e))}(0,n.eW)(tz,"State$1"),(0,n.eW)(tj,"generateError"),(0,n.eW)(tR,"throwError"),(0,n.eW)(tP,"throwWarning");var tq={YAML:(0,n.eW)(function(t,e,r){var i,n,a;null!==t.version&&tR(t,"duplication of %YAML directive"),1!==r.length&&tR(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tR(t,"ill-formed argument of the YAML directive"),n=parseInt(i[1],10),a=parseInt(i[2],10),1!==n&&tR(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&tP(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,n.eW)(function(t,e,r){var i,n;2!==r.length&&tR(t,"TAG directive accepts exactly two arguments"),i=r[0],n=r[1],!tS.test(i)&&tR(t,"ill-formed tag handle (first argument) of the TAG directive"),tw.call(t.tagMap,i)&&tR(t,'there is a previously declared suffix for "'+i+'" tag handle'),!tM.test(n)&&tR(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){tR(t,"tag prefix is malformed: "+n)}t.tagMap[i]=n},"handleTagDirective")};function tH(t,e,r,i){var n,a,o,s;if(e1&&(t.result+=u.repeat("\n",e-1))}function tK(t,e,r){var i,n,a,o,s,l,h,c,u=t.kind,d=t.result;if(tF(c=t.input.charCodeAt(t.position))||t$(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(tF(i=t.input.charCodeAt(t.position+1))||r&&t$(i)))return!1;for(t.kind="scalar",t.result="",n=a=t.position,o=!1;0!==c;){if(58===c){if(tF(i=t.input.charCodeAt(t.position+1))||r&&t$(i))break}else if(35===c){if(tF(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&tX(t)||r&&t$(c))break;else if(tL(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,tG(t,!1,-1),t.lineIndent>=e){o=!0,c=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=l,t.lineIndent=h;break}o&&(tH(t,n,a,!1),tQ(t,t.line-s),n=a=t.position,o=!1),!tA(c)&&(a=t.position+1),c=t.input.charCodeAt(++t.position)}return tH(t,n,a,!1),!!t.result||(t.kind=u,t.result=d,!1)}function tJ(t,e){var r,i,n;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,i=n=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(tH(t,i,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;i=t.position,t.position++,n=t.position}else tL(r)?(tH(t,i,n,!0),tQ(t,tG(t,!1,e)),i=n=t.position):t.position===t.lineStart&&tX(t)?tR(t,"unexpected end of the document within a single quoted scalar"):(t.position++,n=t.position);tR(t,"unexpected end of the stream within a single quoted scalar")}function t0(t,e){var r,i,n,a,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return tH(t,r,t.position,!0),t.position++,!0;if(92===s){if(tH(t,r,t.position,!0),tL(s=t.input.charCodeAt(++t.position)))tG(t,!1,e);else if(s<256&&tN[s])t.result+=tI[s],t.position++;else if((o=tE(s))>0){for(n=o,a=0;n>0;n--)(o=tW(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:tR(t,"expected hexadecimal character");t.result+=tZ(a),t.position++}else tR(t,"unknown escape sequence");r=i=t.position}else tL(s)?(tH(t,r,i,!0),tQ(t,tG(t,!1,e)),r=i=t.position):t.position===t.lineStart&&tX(t)?tR(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}tR(t,"unexpected end of the stream within a double quoted scalar")}function t1(t,e){var r,i,n,a,o,s,l,h,c,u,d,f,p=!0,g=t.tag,y=t.anchor,m=Object.create(null);if(91===(f=t.input.charCodeAt(t.position)))o=93,h=!1,a=[];else{if(123!==f)return!1;o=125,h=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),f=t.input.charCodeAt(++t.position);0!==f;){if(tG(t,!0,e),(f=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=g,t.anchor=y,t.kind=h?"mapping":"sequence",t.result=a,!0;p?44===f&&tR(t,"expected the node content, but found ','"):tR(t,"missed comma between flow collection entries");u=c=d=null,s=l=!1,63===f&&tF(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,tG(t,!0,e)),r=t.line,i=t.lineStart,n=t.position,t9(t,e,1,!1,!0),u=t.tag,c=t.result,tG(t,!0,e),f=t.input.charCodeAt(t.position),(l||t.line===r)&&58===f&&(s=!0,f=t.input.charCodeAt(++t.position),tG(t,!0,e),t9(t,e,1,!1,!0),d=t.result),h?tY(t,a,m,u,c,d,r,i,n):s?a.push(tY(t,null,m,u,c,d,r,i,n)):a.push(c),tG(t,!0,e),44===(f=t.input.charCodeAt(t.position))?(p=!0,f=t.input.charCodeAt(++t.position)):p=!1}tR(t,"unexpected end of the stream within a flow collection")}function t2(t,e){var r,i,n,a,o=1,s=!1,l=!1,h=e,c=0,d=!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)1===o?o=43===a?3:2:tR(t,"repeat of a chomping mode identifier");else if((n=tD(a))>=0)0===n?tR(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?tR(t,"repeat of an indentation width identifier"):(h=e+n-1,l=!0);else break;if(tA(a)){do a=t.input.charCodeAt(++t.position);while(tA(a));if(35===a)do a=t.input.charCodeAt(++t.position);while(!tL(a)&&0!==a)}for(;0!==a;){for(tV(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!l||t.lineIndenth&&(h=t.lineIndent),tL(a)){c++;continue}if(t.lineIndente)&&0!==i)tR(t,"bad indentation of a sequence entry");else if(t.lineIndente)&&(m&&(o=t.line,s=t.lineStart,l=t.position),t9(t,e,4,!0,n)&&(m?g=t.result:y=t.result),!m&&(tY(t,d,f,p,g,y,o,s,l),p=g=y=null),tG(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==h)tR(t,"bad indentation of a mapping entry");else if(t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndent tag; it should be "scalar", not "'+t.kind+'"'),l=0,h=t.implicitTypes.length;l"),null!==t.result&&u.kind!==t.kind&&tR(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)):tR(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 t7(t){var e,r,i,n,a=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(n=t.input.charCodeAt(t.position))&&(tG(t,!0,-1),n=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===n);){;for(o=!0,n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!tF(n);)n=t.input.charCodeAt(++t.position);for(r=t.input.slice(e,t.position),i=[],r.length<1&&tR(t,"directive name must not be less than one character in length");0!==n;){for(;tA(n);)n=t.input.charCodeAt(++t.position);if(35===n){do n=t.input.charCodeAt(++t.position);while(0!==n&&!tL(n));break}if(tL(n))break;for(e=t.position;0!==n&&!tF(n);)n=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==n&&tV(t),tw.call(tq,r)?tq[r](t,r,i):tP(t,'unknown document directive "'+r+'"')}if(tG(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,tG(t,!0,-1)):o&&tR(t,"directives end mark is expected"),t9(t,t.lineIndent-1,4,!1,!0),tG(t,!0,-1),t.checkLineBreaks&&tv.test(t.input.slice(a,t.position))&&tP(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&tX(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,tG(t,!0,-1));return}if(!!(t.position=55296&&i<=56319&&e+1=56320&&r<=57343?(i-55296)*1024+r-56320+65536:i}function e_(t){return/^\n* /.test(t)}(0,n.eW)(ed,"State"),(0,n.eW)(ef,"indentString"),(0,n.eW)(ep,"generateNextLine"),(0,n.eW)(eg,"testImplicitResolving"),(0,n.eW)(ey,"isWhitespace"),(0,n.eW)(em,"isPrintable"),(0,n.eW)(ex,"isNsCharOrWhitespace"),(0,n.eW)(eb,"isPlainSafe"),(0,n.eW)(ek,"isPlainSafeFirst"),(0,n.eW)(eC,"isPlainSafeLast"),(0,n.eW)(ew,"codePointAt"),(0,n.eW)(e_,"needIndentIndicator");function ev(t,e,r,i,n,a,o,s){var l,h=0,c=null,u=!1,d=!1,f=-1!==i,p=-1,g=ek(ew(t,0))&&eC(ew(t,t.length-1));if(e||o)for(l=0;l=65536?l+=2:l++){if(!em(h=ew(t,l)))return 5;g=g&&eb(h,c,s),c=h}else{for(l=0;l=65536?l+=2:l++){if(10===(h=ew(t,l)))u=!0,f&&(d=d||l-p-1>i&&" "!==t[p+1],p=l);else if(!em(h))return 5;g=g&&eb(h,c,s),c=h}d=d||f&&l-p-1>i&&" "!==t[p+1]}if(!u&&!d)return!g||o||n(t)?2===a?5:2:1;return r>9&&e_(t)?5:o?2===a?5:2:d?4:3}function eT(t,e,r,i,a){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==el.indexOf(e)||eh.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),l=i||t.flowLevel>-1&&r>=t.flowLevel;function h(e){return eg(t,e)}switch((0,n.eW)(h,"testAmbiguity"),ev(e,l,t.indent,s,h,t.quotingType,t.forceQuotes&&!i,a)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+eS(e,t.indent)+eM(ef(e,o));case 4:return">"+eS(e,t.indent)+eM(ef(eB(e,s),o));case 5:return'"'+eA(e)+'"';default:throw new f("impossible error: invalid scalar style")}}()}function eS(t,e){var r=e_(t)?String(e):"",i="\n"===t[t.length-1],n=i&&("\n"===t[t.length-2]||"\n"===t);return r+(n?"+":i?"":"-")+"\n"}function eM(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function eB(t,e){var r,i,n,a=/(\n+)([^\n]*)/g;for(var o=(r=-1!==(r=t.indexOf("\n"))?r:t.length,a.lastIndex=r,eL(t.slice(0,r),e)),s="\n"===t[0]||" "===t[0];n=a.exec(t);){var l=n[1],h=n[2];i=" "===h[0],o+=l+(s||i||""===h?"":"\n")+eL(h,e),s=i}return o}function eL(t,e){if(""===t||" "===t[0])return t;for(var r=/ [^ ]/g,i,n,a=0,o=0,s=0,l="";i=r.exec(t);)(s=i.index)-a>e&&(n=o>a?o:s,l+="\n"+t.slice(a,n),a=n+1),o=s;return l+="\n",t.length-a>e&&o>a?l+=t.slice(a,o)+"\n"+t.slice(o+1):l+=t.slice(a),l.slice(1)}function eA(t){for(var e,r="",i=0,n=0;n=65536?n+=2:n++)!(e=es[i=ew(t,n)])&&em(i)?(r+=t[n],i>=65536&&(r+=t[n+1])):r+=e||eu(i);return r}function eF(t,e,r){var i,n,a,o="",s=t.tag;for(i=0,n=r.length;i1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),!!eO(t,e,o,!1,!1))s+=t.dump,l+=s}t.tag=h,t.dump="{"+l+"}"}function eE(t,e,r,i){var n,a,o,s,l,h,c="",u=t.tag,d=Object.keys(r);if(!0===t.sortKeys)d.sort();else if("function"==typeof t.sortKeys)d.sort(t.sortKeys);else if(t.sortKeys)throw new f("sortKeys must be a boolean or a function");for(n=0,a=d.length;n1024)&&(t.dump&&10===t.dump.charCodeAt(0)?h+="?":h+="? "),h+=t.dump,l&&(h+=ep(t,e)),!!eO(t,e+1,s,!0,l))t.dump&&10===t.dump.charCodeAt(0)?h+=":":h+=": ",h+=t.dump,c+=h}t.tag=u,t.dump=c||"{}"}function eD(t,e,r){var i,n,a,o,s,l;for(a=0,o=(n=r?t.explicitTypes:t.implicitTypes).length;a tag resolver accepts not "'+l+'" style');t.dump=i}return!0}return!1}function eO(t,e,r,i,n,a,o){t.tag=null,t.dump=r,!eD(t,r,!1)&&eD(t,r,!0);var s=ea.call(t.dump),l=i;i&&(i=t.flowLevel<0||t.flowLevel>e);var h,c,u,d="[object Object]"===s||"[object Array]"===s;if(d&&(u=-1!==(c=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||u||2!==t.indent&&e>0)&&(n=!1),u&&t.usedDuplicates[c])t.dump="*ref_"+c;else{if(d&&u&&!t.usedDuplicates[c]&&(t.usedDuplicates[c]=!0),"[object Object]"===s)i&&0!==Object.keys(t.dump).length?(eE(t,e,t.dump,n),u&&(t.dump="&ref_"+c+t.dump)):(eW(t,e,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object Array]"===s)i&&0!==t.dump.length?(t.noArrayIndent&&!o&&e>0?e$(t,e-1,t.dump,n):e$(t,e,t.dump,n),u&&(t.dump="&ref_"+c+t.dump)):(eF(t,e,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object String]"===s)"?"!==t.tag&&eT(t,t.dump,e,a,l);else{if("[object Undefined]"===s)return!1;if(t.skipInvalid)return!1;throw new f("unacceptable kind of an object to dump "+s)}null!==t.tag&&"?"!==t.tag&&(h=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),h="!"===t.tag[0]?"!"+h:"tag:yaml.org,2002:"===h.slice(0,18)?"!!"+h.slice(18):"!<"+h+">",t.dump=h+" "+t.dump)}return!0}function eZ(t,e){var r,i,n=[],a=[];for(eN(t,n,a),r=0,i=a.length;r{e.arrowTypeStart&&f(t,"start",e.arrowTypeStart,r,i,n),e.arrowTypeEnd&&f(t,"end",e.arrowTypeEnd,r,i,n)},"addEdgeMarkers"),d={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},f=(0,l.eW)((t,e,r,i,n,a)=>{let o=d[r];if(!o){l.cM.warn(`Unknown arrow type: ${r}`);return}t.attr(`marker-${e}`,`url(${i}#${n}_${a}-${o}${"start"===e?"Start":"End"})`)},"addEdgeMarker"),p=new Map,g=new Map,y=(0,l.eW)(()=>{p.clear(),g.clear()},"clear"),m=(0,l.eW)(t=>t?t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),x=(0,l.eW)(async(t,e)=>{let r,n=(0,l.ku)((0,l.nV)().flowchart.htmlLabels),a=await (0,o.rw)(t,e.label,{style:m(e.labelStyle),useHtmlLabels:n,addSvgBackground:!0,isNode:!1});l.cM.info("abc82",e,e.labelType);let s=t.insert("g").attr("class","edgeLabel"),c=s.insert("g").attr("class","label");c.node().appendChild(a);let u=a.getBBox();if(n){let t=a.children[0],e=(0,h.Ys)(a);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}if(c.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"),p.set(e.id,s),e.width=u.width,e.height=u.height,e.startLabelLeft){let n=await (0,i.XO)(e.startLabelLeft,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).startLeft=a,b(r,e.startLabelLeft)}if(e.startLabelRight){let n=await (0,i.XO)(e.startLabelRight,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=a.node().appendChild(n),o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).startRight=a,b(r,e.startLabelRight)}if(e.endLabelLeft){let n=await (0,i.XO)(e.endLabelLeft,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),a.node().appendChild(n),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).endLeft=a,b(r,e.endLabelLeft)}if(e.endLabelRight){let n=await (0,i.XO)(e.endLabelRight,m(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),a.node().appendChild(n),!g.get(e.id)&&g.set(e.id,{}),g.get(e.id).endRight=a,b(r,e.endLabelRight)}return a},"insertEdgeLabel");function b(t,e){(0,l.nV)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,l.eW)(b,"setTerminalWidth");var k=(0,l.eW)((t,e)=>{l.cM.debug("Moving label abc88 ",t.id,t.label,p.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=(0,l.nV)(),{subGraphTitleTotalMargin:n}=(0,a.L)(i);if(t.label){let i=p.get(t.id),a=t.x,o=t.y;if(r){let i=s.w8.calcLabelPosition(r);l.cM.debug("Moving label "+t.label+" from (",a,",",o,") to (",i.x,",",i.y,") abc88"),e.updatedPath&&(a=i.x,o=i.y)}i.attr("transform",`translate(${a}, ${o+n/2})`)}if(t.startLabelLeft){let e=g.get(t.id).startLeft,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.startLabelRight){let e=g.get(t.id).startRight,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelLeft){let e=g.get(t.id).endLeft,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelRight){let e=g.get(t.id).endRight,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}},"positionEdgeLabel"),C=(0,l.eW)((t,e)=>{let r=t.x,i=t.y,n=Math.abs(e.x-r),a=Math.abs(e.y-i),o=t.width/2,s=t.height/2;return n>=o||a>=s},"outsideNode"),w=(0,l.eW)((t,e,r)=>{l.cM.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(e)} + insidePoint : ${JSON.stringify(r)} + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,n=t.y,a=Math.abs(i-r.x),o=t.width/2,s=r.xMath.abs(i-e.x)*h){let t=r.y{l.cM.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],n=!1;return t.forEach(t=>{if(l.cM.info("abc88 checking point",t,e),C(e,t)||n)l.cM.warn("abc88 outside",t,i),i=t,!n&&r.push(t);else{let a=w(e,i,t);l.cM.debug("abc88 inside",t,i,a),l.cM.debug("abc88 intersection",a,e);let o=!1;r.forEach(t=>{o=o||t.x===a.x&&t.y===a.y}),r.some(t=>t.x===a.x&&t.y===a.y)?l.cM.warn("abc88 no intersect",a,r):r.push(a),n=!0}}),l.cM.debug("returning points",r),r},"cutPathAtIntersect");function v(t){let e=[],r=[];for(let i=1;i5&&Math.abs(a.y-n.y)>5?(e.push(a),r.push(i)):n.y===a.y&&a.x===o.x&&Math.abs(a.x-n.x)>5&&Math.abs(a.y-o.y)>5&&(e.push(a),r.push(i))}return{cornerPoints:e,cornerPointPositions:r}}(0,l.eW)(v,"extractCornerPoints");var T=(0,l.eW)(function(t,e,r){let i=e.x-t.x,n=e.y-t.y,a=r/Math.sqrt(i*i+n*n);return{x:e.x-a*i,y:e.y-a*n}},"findAdjacentPoint"),S=(0,l.eW)(function(t){let{cornerPointPositions:e}=v(t),r=[];for(let i=0;i10&&Math.abs(n.y-e.y)>=10){l.cM.debug("Corner point fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y));d=a.x===o.x?{x:h<0?o.x-5+u:o.x+5-u,y:c<0?o.y-u:o.y+u}:{x:h<0?o.x-u:o.x+u,y:c<0?o.y-5+u:o.y+5-u}}else l.cM.debug("Corner point skipping fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y));r.push(d,s)}else r.push(t[i]);return r},"fixCorners"),M=(0,l.eW)(function(t,e,r,i,a,o,s){let d,f;let{handDrawnSeed:p}=(0,l.nV)(),g=e.points,y=!1;o.intersect&&a.intersect&&((g=g.slice(1,e.points.length-1)).unshift(a.intersect(g[0])),l.cM.debug("Last point APA12",e.start,"--\x3e",e.end,g[g.length-1],o,o.intersect(g[g.length-1])),g.push(o.intersect(g[g.length-1]))),e.toCluster&&(l.cM.info("to cluster abc88",r.get(e.toCluster)),g=_(e.points,r.get(e.toCluster).node),y=!0),e.fromCluster&&(l.cM.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(g,null,2)),g=_(g.reverse(),r.get(e.fromCluster).node).reverse(),y=!0);let m=g.filter(t=>!Number.isNaN(t.y));m=S(m);let x=h.$0Z;e.curve&&(x=e.curve);let{x:b,y:k}=(0,n.o)(e),C=(0,h.jvg)().x(b).y(k).curve(x);switch(e.thickness){case"normal":default:d="edge-thickness-normal";break;case"thick":d="edge-thickness-thick";break;case"invisible":d="edge-thickness-invisible"}switch(e.pattern){case"solid":default:d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}let w=C(m),v=Array.isArray(e.style)?e.style:[e.style];if("handDrawn"===e.look){let r=c.Z.svg(t);Object.assign([],m);let i=r.path(w,{roughness:.3,seed:p});d+=" transition";let n=(f=(0,h.Ys)(i).select("path").attr("id",e.id).attr("class"," "+d+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((t,e)=>t+";"+e,""):"")).attr("d");f.attr("d",n),t.node().appendChild(f.node())}else f=t.append("path").attr("d",w).attr("id",e.id).attr("class"," "+d+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((t,e)=>t+";"+e,""):"");let T="";((0,l.nV)().flowchart.arrowMarkerAbsolute||(0,l.nV)().state.arrowMarkerAbsolute)&&(T=(T=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),l.cM.info("arrowTypeStart",e.arrowTypeStart),l.cM.info("arrowTypeEnd",e.arrowTypeEnd),u(f,e,T,s,i);let M={};return y&&(M.updatedPath=g),M.originalPath=e.points,M},"insertEdge"),B=(0,l.eW)((t,e,r,i)=>{e.forEach(e=>{Z[e](t,r,i)})},"insertMarkers"),L=(0,l.eW)((t,e,r)=>{l.cM.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).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",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),A=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).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",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).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")},"composition"),F=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).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",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).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"),$=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).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",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).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")},"dependency"),W=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),E=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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")},"point"),D=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"circle"),O=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"cross"),Z={extension:L,composition:A,aggregation:F,dependency:$,lollipop:W,point:E,circle:D,cross:O,barb:(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb")},N=B},88984:function(t,e,r){"use strict";r.d(e,{_b:function(){return u},jM:function(){return h},sY:function(){return c}});var i=r(33071),n=r(28162),a=r(7690),o=r(5995),s={common:o.SY,getConfig:o.iE,insertCluster:n.us,insertEdge:i.QP,insertEdgeLabel:i.I_,insertMarkers:i.DQ,insertNode:n.Lf,interpolateToCurve:a.le,labelHelper:n.C1,log:o.cM,positionEdgeLabel:i.Jj},l={},h=(0,o.eW)(t=>{for(let e of t)l[e.name]=e},"registerLayoutLoaders");(0,o.eW)(()=>{h([{name:"dagre",loader:(0,o.eW)(async()=>await Promise.all([r.e("5823"),r.e("3389"),r.e("555")]).then(r.bind(r,30714)),"loader")}])},"registerDefaultLayoutLoaders")();var c=(0,o.eW)(async(t,e)=>{if(!(t.layoutAlgorithm in l))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=l[t.layoutAlgorithm];return(await r.loader()).render(t,e,s,{algorithm:r.algorithm})},"render"),u=(0,o.eW)((t="",{fallback:e="dagre"}={})=>{if(t in l)return t;if(e in l)return o.cM.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")},92719:function(t,e,r){"use strict";r.d(e,{QA:()=>tL,rw:()=>tW,EY:()=>t$});var i=r("7690"),n=r("5995"),a=r("27818");function o(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let s=o();function l(t){s=t}let h=/[&<>"']/,c=RegExp(h.source,"g"),u=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,d=RegExp(u.source,"g"),f={"&":"&","<":"<",">":">",'"':""","'":"'"},p=t=>f[t];function g(t,e){if(e){if(h.test(t))return t.replace(c,p)}else if(u.test(t))return t.replace(d,p);return t}let y=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,m=/(^|[^\[])\^/g;function x(t,e){let r="string"==typeof t?t:t.source;e=e||"";let i={replace:(t,e)=>{let n="string"==typeof e?e:e.source;return n=n.replace(m,"$1"),r=r.replace(t,n),i},getRegex:()=>new RegExp(r,e)};return i}function b(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}let k={exec:()=>null};function C(t,e){let r=t.replace(/\|/g,(t,e,r)=>{let i=!1,n=e;for(;--n>=0&&"\\"===r[n];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(!r[0].trim()&&r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),e){if(r.length>e)r.splice(e);else for(;r.length0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:w(t,"\n")}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],r=function(t,e){let r=t.match(/^(\s+)(?:```)/);if(null===r)return e;let i=r[1];return e.split("\n").map(t=>{let e=t.match(/^\s+/);if(null===e)return t;let[r]=e;return r.length>=i.length?t.slice(i.length):t}).join("\n")}(t,e[3]||"");return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(/#$/.test(t)){let e=w(t,"#");this.options.pedantic?t=e.trim():(!e||/ $/.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:w(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=w(e[0],"\n").split("\n"),r="",i="",n=[];for(;t.length>0;){let e,a=!1,o=[];for(e=0;e/.test(t[e]))o.push(t[e]),a=!0;else if(a)break;else o.push(t[e]);t=t.slice(e);let s=o.join("\n"),l=s.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");r=r?`${r} +${s}`:s,i=i?`${i} +${l}`:l;let h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,n,!0),this.lexer.state.top=h,0===t.length)break;let c=n[n.length-1];if(c?.type==="code")break;if(c?.type==="blockquote"){let e=c.raw+"\n"+t.join("\n"),a=this.blockquote(e);n[n.length-1]=a,r=r.substring(0,r.length-c.raw.length)+a.raw,i=i.substring(0,i.length-c.text.length)+a.text;break}else if(c?.type==="list"){let e=c.raw+"\n"+t.join("\n"),a=this.list(e);n[n.length-1]=a,r=r.substring(0,r.length-c.raw.length)+a.raw,i=i.substring(0,i.length-c.raw.length)+a.raw,t=e.substring(n[n.length-1].raw.length).split("\n");continue}}return{type:"blockquote",raw:r,tokens:n,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r=e[1].trim(),i=r.length>1,n={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");let a=RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),o=!1;for(;t;){let r,i=!1,s="",l="";if(!(e=a.exec(t))||this.rules.block.hr.test(t))break;s=e[0],t=t.substring(s.length);let h=e[2].split("\n",1)[0].replace(/^\t+/,t=>" ".repeat(3*t.length)),c=t.split("\n",1)[0],u=!h.trim(),d=0;if(this.options.pedantic?(d=2,l=h.trimStart()):u?d=e[1].length+1:(d=(d=e[2].search(/[^ ]/))>4?1:d,l=h.slice(d),d+=e[1].length),u&&/^ *$/.test(c)&&(s+=c+"\n",t=t.substring(c.length+1),i=!0),!i){let e=RegExp(`^ {0,${Math.min(3,d-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,d-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=RegExp(`^ {0,${Math.min(3,d-1)}}(?:\`\`\`|~~~)`),n=RegExp(`^ {0,${Math.min(3,d-1)}}#`);for(;t;){let a=t.split("\n",1)[0];if(c=a,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),i.test(c)||n.test(c)||e.test(c)||r.test(t))break;if(c.search(/[^ ]/)>=d||!c.trim())l+="\n"+c.slice(d);else{if(u||h.search(/[^ ]/)>=4||i.test(h)||n.test(h)||r.test(h))break;l+="\n"+c}!u&&!c.trim()&&(u=!0),s+=a+"\n",t=t.substring(a.length+1),h=c.slice(d)}}!n.loose&&(o?n.loose=!0:/\n *\n *$/.test(s)&&(o=!0));let f=null;this.options.gfm&&(f=/^\[[ xX]\] /.exec(l))&&(r="[ ] "!==f[0],l=l.replace(/^\[[ xX]\] +/,"")),n.items.push({type:"list_item",raw:s,task:!!f,checked:r,loose:!1,text:l,tokens:[]}),n.raw+=s}n.items[n.items.length-1].raw=n.items[n.items.length-1].raw.trimEnd(),n.items[n.items.length-1].text=n.items[n.items.length-1].text.trimEnd(),n.raw=n.raw.trimEnd();for(let t=0;t"space"===t.type),r=e.length>0&&e.some(t=>/\n.*\n/.test(t.raw));n.loose=r}if(n.loose)for(let t=0;t$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:r,title:i}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!/[:|]/.test(e[2]))return;let r=C(e[1]),i=e[2].replace(/^\||\| *$/g,"").split("|"),n=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[],a={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===i.length){for(let t of i)/^ *-+: *$/.test(t)?a.align.push("right"):/^ *:-+: *$/.test(t)?a.align.push("center"):/^ *:-+ *$/.test(t)?a.align.push("left"):a.align.push(null);for(let t=0;t({text:t,tokens:this.lexer.inline(t),header:!1,align:a.align[e]})));return a}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:g(e[1])}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;let e=w(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t,e){if(-1===t.indexOf(")"))return -1;let r=0;for(let i=0;i-1){let r=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,r).trim(),e[3]=""}}let r=e[2],i="";if(this.options.pedantic){let t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);t&&(r=t[1],i=t[3])}else i=e[3]?e[3].slice(1,-1):"";return r=r.trim(),/^$/.test(t)?r.slice(1):r.slice(1,-1)),_(e,{href:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},e[0],this.lexer)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let t=e[(r[2]||r[1]).replace(/\s+/g," ").toLowerCase()];if(!t){let t=r[0].charAt(0);return{type:"text",raw:t,text:t}}return _(r,t,r[0],this.lexer)}}emStrong(t,e,r=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))){if(!(i[1]||i[2])||!r||this.rules.inline.punctuation.exec(r)){let r=[...i[0]].length-1,n,a,o=r,s=0,l="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+r);null!=(i=l.exec(e));){if(!(n=i[1]||i[2]||i[3]||i[4]||i[5]||i[6]))continue;if(a=[...n].length,i[3]||i[4]){o+=a;continue}if((i[5]||i[6])&&r%3&&!((r+a)%3)){s+=a;continue}if((o-=a)>0)continue;a=Math.min(a,a+o+s);let e=[...i[0]][0].length,l=t.slice(0,r+i.index+e+a);if(Math.min(r,a)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let h=l.slice(2,-2);return{type:"strong",raw:l,text:h,tokens:this.lexer.inlineTokens(h)}}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(/\n/g," "),r=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return r&&i&&(t=t.substring(1,t.length-1)),t=g(t,!0),{type:"codespan",raw:e[0],text:t}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let t,r;return r="@"===e[2]?"mailto:"+(t=g(e[1])):t=g(e[1]),{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,r;if("@"===e[2])r="mailto:"+(t=g(e[0]));else{let i;do i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(i!==e[0]);t=g(e[0]),r="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let t;return t=this.lexer.state.inRawBlock?e[0]:g(e[0]),{type:"text",raw:e[0],text:t}}}}let T=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S=/(?:[*+-]|\d{1,9}[.)])/,M=x(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,S).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),B=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,L=/(?!\s*\])(?:\\.|[^\[\]\\])+/,A=x(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",L).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),F=x(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,S).getRegex(),$="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",W=/|$))/,E=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",W).replace("tag",$).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),D=x(B).replace("hr",T).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),O={blockquote:x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",D).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:A,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:T,html:E,lheading:M,list:F,newline:/^(?: *(?:\n|$))+/,paragraph:D,table:k,text:/^[^\n]+/},Z=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",T).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),N={...O,table:Z,paragraph:x(B).replace("hr",T).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Z).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex()},I={...O,html:x("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",W).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(B).replace("hr",T).replace("heading"," *#{1,6} *[^\n]").replace("lheading",M).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},z=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,j=/^( {2,}|\\)\n(?!\s*$)/,R="\\p{P}\\p{S}",P=x(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,R).getRegex(),q=x(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,R).getRegex(),H=x("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,R).getRegex(),U=x("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,R).getRegex(),Y=x(/\\([punct])/,"gu").replace(/punct/g,R).getRegex(),V=x(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),G=x(W).replace("(?:--\x3e|$)","--\x3e").getRegex(),X=x("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",G).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Q=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,K=x(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Q).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),J=x(/^!?\[(label)\]\[(ref)\]/).replace("label",Q).replace("ref",L).getRegex(),tt=x(/^!?\[(ref)\](?:\[\])?/).replace("ref",L).getRegex(),te=x("reflink|nolink(?!\\()","g").replace("reflink",J).replace("nolink",tt).getRegex(),tr={_backpedal:k,anyPunctuation:Y,autolink:V,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:k,emStrongLDelim:q,emStrongRDelimAst:H,emStrongRDelimUnd:U,escape:z,link:K,nolink:tt,punctuation:P,reflink:J,reflinkSearch:te,tag:X,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\e+" ".repeat(r.length));t;){if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>!!(i=r.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),1===i.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),(n=e[e.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(i);continue}if((i=this.tokenizer.fences(t))||(i=this.tokenizer.heading(t))||(i=this.tokenizer.hr(t))||(i=this.tokenizer.blockquote(t))||(i=this.tokenizer.list(t))||(i=this.tokenizer.html(t))){t=t.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),(n=e[e.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):!this.tokens.links[i.tag]&&(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if((i=this.tokenizer.table(t))||(i=this.tokenizer.lheading(t))){t=t.substring(i.raw.length),e.push(i);continue}if(a=t,this.options.extensions&&this.options.extensions.startBlock){let e,r=1/0,i=t.slice(1);this.options.extensions.startBlock.forEach(t=>{"number"==typeof(e=t.call({lexer:this},i))&&e>=0&&(r=Math.min(r,e))}),r<1/0&&r>=0&&(a=t.substring(0,r+1))}if(this.state.top&&(i=this.tokenizer.paragraph(a))){n=e[e.length-1],r&&n?.type==="paragraph"?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(i),r=a.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),(n=e[e.length-1])&&"text"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(i);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let r,i,n,a,o,s;let l=t;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(l));)t.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,a.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;){if(!o&&(s=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(i=>!!(r=i.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),(i=e[e.length-1])&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),(i=e[e.length-1])&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if((r=this.tokenizer.emStrong(t,l,s))||(r=this.tokenizer.codespan(t))||(r=this.tokenizer.br(t))||(r=this.tokenizer.del(t))||(r=this.tokenizer.autolink(t))||!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),e.push(r);continue}if(n=t,this.options.extensions&&this.options.extensions.startInline){let e,r=1/0,i=t.slice(1);this.options.extensions.startInline.forEach(t=>{"number"==typeof(e=t.call({lexer:this},i))&&e>=0&&(r=Math.min(r,e))}),r<1/0&&r>=0&&(n=t.substring(0,r+1))}if(r=this.tokenizer.inlineText(n)){t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(s=r.raw.slice(-1)),o=!0,(i=e[e.length-1])&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):e.push(r);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}}return e}}class th{options;parser;constructor(t){this.options=t||s}space(t){return""}code({text:t,lang:e,escaped:r}){let i=(e||"").match(/^\S*/)?.[0],n=t.replace(/\n$/,"")+"\n";return i?'
    '+(r?n:g(n,!0))+"
    \n":"
    "+(r?n:g(n,!0))+"
    \n"}blockquote({tokens:t}){let e=this.parser.parse(t);return`
    +${e}
    +`}html({text:t}){return t}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)} +`}hr(t){return"
    \n"}list(t){let e=t.ordered,r=t.start,i="";for(let e=0;e\n"+i+"\n"}listitem(t){let e="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=r+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" "}):e+=r+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • +`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    +`}table(t){let e="",r="";for(let e=0;e${i}`),"\n\n"+e+"\n"+i+"
    \n"}tablerow({text:t}){return` +${t} +`}tablecell(t){let e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+` +`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${t}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:r}){let i=this.parser.parseInline(r),n=b(t);if(null===n)return i;let a='
    "}image({href:t,title:e,text:r}){let i=b(t);if(null===i)return r;t=i;let n=`${r}{let n=t[i].flat(1/0);r=r.concat(this.walkTokens(n,e))}):t.tokens&&(r=r.concat(this.walkTokens(t.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let r=e.renderers[t.name];r?e.renderers[t.name]=function(...e){let i=t.renderer.apply(this,e);return!1===i&&(i=r.apply(this,e)),i}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let r=e[t.level];r?r.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),r.extensions=e),t.renderer){let e=this.defaults.renderer||new th(this.defaults);for(let r in t.renderer){if(!(r in e))throw Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let i=t.renderer[r];!t.useNewRenderer&&(i=this.#e(i,r,e));let n=e[r];e[r]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=n.apply(e,t)),r||""}}r.renderer=e}if(t.tokenizer){let e=this.defaults.tokenizer||new v(this.defaults);for(let r in t.tokenizer){if(!(r in e))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let i=t.tokenizer[r],n=e[r];e[r]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=n.apply(e,t)),r}}r.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new td;for(let r in t.hooks){if(!(r in e))throw Error(`hook '${r}' does not exist`);if("options"===r)continue;let i=t.hooks[r],n=e[r];td.passThroughHooks.has(r)?e[r]=t=>{if(this.defaults.async)return Promise.resolve(i.call(e,t)).then(t=>n.call(e,t));let r=i.call(e,t);return n.call(e,r)}:e[r]=(...t)=>{let r=i.apply(e,t);return!1===r&&(r=n.apply(e,t)),r}}r.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,i=t.walkTokens;r.walkTokens=function(t){let r=[];return r.push(i.call(this,t)),e&&(r=r.concat(e.call(this,t))),r}}this.defaults={...this.defaults,...r}}),this}#e(t,e,r){switch(e){case"heading":return function(i){if(!i.type||i.type!==e)return t.apply(this,arguments);return t.call(this,r.parser.parseInline(i.tokens),i.depth,r.parser.parseInline(i.tokens,r.parser.textRenderer).replace(y,(t,e)=>"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))};case"code":return function(r){return r.type&&r.type===e?t.call(this,r.text,r.lang,!!r.escaped):t.apply(this,arguments)};case"table":return function(r){if(!r.type||r.type!==e)return t.apply(this,arguments);let i="",n="";for(let t=0;t0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=t+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=t+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",text:t+" "}):s+=t+" "}s+=this.parser.parse(e.tokens,a),o+=this.listitem({type:"list_item",raw:s,text:s,task:n,checked:!!i,loose:a,tokens:e.tokens})}return t.call(this,o,i,n)};case"html":return function(r){return r.type&&r.type===e?t.call(this,r.text,r.block):t.apply(this,arguments)};case"paragraph":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"escape":case"text":return function(r){return r.type&&r.type===e?t.call(this,r.text):t.apply(this,arguments)};case"link":return function(r){return r.type&&r.type===e?t.call(this,r.href,r.title,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"image":return function(r){return r.type&&r.type===e?t.call(this,r.href,r.title,r.text):t.apply(this,arguments)};case"strong":case"del":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"em":return function(r){return r.type&&r.type===e?t.call(this,this.parser.parseInline(r.tokens)):t.apply(this,arguments)};case"codespan":return function(r){return r.type&&r.type===e?t.call(this,r.text):t.apply(this,arguments)}}return t}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return tl.lex(t,e??this.defaults)}parser(t,e){return tu.parse(t,e??this.defaults)}#t(t,e){return(r,i)=>{let n={...i},a={...this.defaults,...n};!0===this.defaults.async&&!1===n.async&&(!a.silent&&console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),a.async=!0);let o=this.#r(!!a.silent,!!a.async);if(null==r)return o(Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return o(Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(a.hooks&&(a.hooks.options=a),a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(r):r).then(e=>t(e,a)).then(t=>a.hooks?a.hooks.processAllTokens(t):t).then(t=>a.walkTokens?Promise.all(this.walkTokens(t,a.walkTokens)).then(()=>t):t).then(t=>e(t,a)).then(t=>a.hooks?a.hooks.postprocess(t):t).catch(o);try{a.hooks&&(r=a.hooks.preprocess(r));let i=t(r,a);a.hooks&&(i=a.hooks.processAllTokens(i)),a.walkTokens&&this.walkTokens(i,a.walkTokens);let n=e(i,a);return a.hooks&&(n=a.hooks.postprocess(n)),n}catch(t){return o(t)}}}#r(t,e){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",t){let t="

    An error occurred:

    "+g(r.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}}let tp=new tf;function tg(t,e){return tp.parse(t,e)}tg.options=tg.setOptions=function(t){return tp.setOptions(t),tg.defaults=tp.defaults,s=tg.defaults,tg},tg.getDefaults=o,tg.defaults=s,tg.use=function(...t){return tp.use(...t),tg.defaults=tp.defaults,s=tg.defaults,tg},tg.walkTokens=function(t,e){return tp.walkTokens(t,e)},tg.parseInline=tp.parseInline,tg.Parser=tu,tg.parser=tu.parse,tg.Renderer=th,tg.TextRenderer=tc,tg.Lexer=tl,tg.lexer=tl.lex,tg.Tokenizer=v,tg.Hooks=td,tg.parse=tg,tg.options,tg.setOptions,tg.use,tg.walkTokens,tg.parseInline,tu.parse,tl.lex;var ty=r("18464");function tm(t,{markdownAutoWrap:e}){let r=t.replace(//g,"\n").replace(/\n{2,}/g,"\n"),i=(0,ty.Z)(r);return!1===e?i.replace(/ /g," "):i}function tx(t,e={}){let r=tm(t,e),i=tg.lexer(r),a=[[]],o=0;function s(t,e="normal"){"text"===t.type?t.text.split("\n").forEach((t,r)=>{0!==r&&(o++,a.push([])),t.split(" ").forEach(t=>{(t=t.replace(/'/g,"'"))&&a[o].push({content:t,type:e})})}):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{s(e,t.type)}):"html"===t.type&&a[o].push({content:t.text,type:"normal"})}return(0,n.eW)(s,"processNode"),i.forEach(t=>{"paragraph"===t.type?t.tokens?.forEach(t=>{s(t)}):"html"===t.type&&a[o].push({content:t.text,type:"normal"})}),a}function tb(t,{markdownAutoWrap:e}={}){let r=tg.lexer(t);function i(t){if("text"===t.type)return!1===e?t.text.replace(/\n */g,"
    ").replace(/ /g," "):t.text.replace(/\n */g,"
    ");if("strong"===t.type)return`${t.tokens?.map(i).join("")}`;if("em"===t.type)return`${t.tokens?.map(i).join("")}`;else if("paragraph"===t.type)return`

    ${t.tokens?.map(i).join("")}

    `;else if("space"===t.type)return"";else if("html"===t.type)return`${t.text}`;else if("escape"===t.type)return t.text;return`Unsupported markdown: ${t.type}`}return(0,n.eW)(i,"output"),r.map(i).join("")}function tk(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function tC(t,e){return tw(t,[],tk(e.content),e.type)}function tw(t,e,r,i){if(0===r.length)return[{content:e.join(""),type:i},{content:"",type:i}];let[n,...a]=r,o=[...e,n];return t([{content:o.join(""),type:i}])?tw(t,o,a,i):(0===e.length&&n&&(e.push(n),r.shift()),[{content:e.join(""),type:i},{content:r.join(""),type:i}])}function t_(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return tv(t,e)}function tv(t,e,r=[],i=[]){if(0===t.length)return i.length>0&&r.push(i),r.length>0?r:[];let n="";" "===t[0].content&&(n=" ",t.shift());let a=t.shift()??{content:" ",type:"normal"},o=[...i];if(""!==n&&o.push({content:n,type:"normal"}),o.push(a),e(o))return tv(t,e,r,o);if(i.length>0)r.push(i),t.unshift(a);else if(a.content){let[i,n]=tC(e,a);r.push([i]),n.content&&t.unshift(n)}return tv(t,e,r)}function tT(t,e){e&&t.attr("style",e)}async function tS(t,e,r,i,a=!1){let o=t.append("foreignObject");o.attr("width",`${10*r}px`),o.attr("height",`${10*r}px`);let s=o.append("xhtml:div"),l=e.label;e.label&&(0,n.l0)(e.label)&&(l=await (0,n.uT)(e.label.replace(n.SY.lineBreakRegex,"\n"),(0,n.nV)()));let h=e.isNode?"nodeLabel":"edgeLabel",c=s.append("span");c.html(l),tT(c,e.labelStyle),c.attr("class",`${h} ${i}`),tT(s,e.labelStyle),s.style("display","table-cell"),s.style("white-space","nowrap"),s.style("line-height","1.5"),s.style("max-width",r+"px"),s.style("text-align","center"),s.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&s.attr("class","labelBkg");let u=s.node().getBoundingClientRect();return u.width===r&&(s.style("display","table"),s.style("white-space","break-spaces"),s.style("width",r+"px"),u=s.node().getBoundingClientRect()),o.node()}function tM(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function tB(t,e,r){let i=t.append("text"),n=tM(i,1,e);tF(n,r);let a=n.node().getComputedTextLength();return i.remove(),a}function tL(t,e,r){let i=t.append("text"),n=tM(i,1,e);tF(n,[{content:r,type:"normal"}]);let a=n.node()?.getBoundingClientRect();return a&&i.remove(),a}function tA(t,e,r,i=!1){let a=e.append("g"),o=a.insert("rect").attr("class","background").attr("style","stroke: none"),s=a.append("text").attr("y","-10.1"),l=0;for(let e of r){let r=(0,n.eW)(e=>tB(a,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:t_(e,r))tF(tM(s,l,1.1),t),l++}if(!i)return s.node();{let t=s.node().getBBox();return o.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),a.node()}}function tF(t,e){t.text(""),e.forEach((e,r)=>{let i=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?i.text(e.content):i.text(" "+e.content)})}function t$(t){return t.replace(/fa[bklrs]?:fa-[\w-]+/g,t=>``)}(0,n.eW)(tm,"preprocessMarkdown"),(0,n.eW)(tx,"markdownToLines"),(0,n.eW)(tb,"markdownToHTML"),(0,n.eW)(tk,"splitTextToChars"),(0,n.eW)(tC,"splitWordToFitWidth"),(0,n.eW)(tw,"splitWordToFitWidthRecursion"),(0,n.eW)(t_,"splitLineToFitWidth"),(0,n.eW)(tv,"splitLineToFitWidthRecursion"),(0,n.eW)(tT,"applyStyle"),(0,n.eW)(tS,"addHtmlSpan"),(0,n.eW)(tM,"createTspan"),(0,n.eW)(tB,"computeWidthOfText"),(0,n.eW)(tL,"computeDimensionOfText"),(0,n.eW)(tA,"createFormattedText"),(0,n.eW)(tF,"updateTextContentAndStyles"),(0,n.eW)(t$,"replaceIconSubstring");var tW=(0,n.eW)(async(t,e="",{style:r="",isTitle:o=!1,classes:s="",useHtmlLabels:l=!0,isNode:h=!0,width:c=200,addSvgBackground:u=!1}={},d)=>{if(n.cM.debug("XYZ createText",e,r,o,s,l,h,"addSvgBackground: ",u),l){let a=tb(e,d),o=t$((0,i.SH)(a)),l=e.replace(/\\\\/g,"\\"),f={isNode:h,label:(0,n.l0)(e)?l:o,labelStyle:r.replace("fill:","color:")};return await tS(t,f,c,s,u)}{let i=tA(c,t,tx(e.replace(//g,"
    ").replace("
    ","
    "),d),!!e&&u);if(h){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ys)(i).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,a.Ys)(i).select("rect").attr("style",t.replace(/background:/g,"fill:"));let e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ys)(i).select("text").attr("style",e)}return i}},"createText")},92453:function(t,e,r){"use strict";r.d(e,{i:function(){return i}});var i="11.4.0"},4511:function(t,e,r){"use strict";r.d(e,{L:function(){return i}});var i=(0,r(5995).eW)(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins")},80587:function(t,e,r){"use strict";r.d(e,{o:function(){return s}});var i=r(5995),n={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function a(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=o(t),e=o(e);let[r,i]=[t.x,t.y],[n,a]=[e.x,e.y],s=n-r,l=a-i;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}(0,i.eW)(a,"calculateDeltaAndAngle");var o=(0,i.eW)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),s=(0,i.eW)(t=>({x:(0,i.eW)(function(e,r,i){let s=0,l=o(i[0]).x=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaX:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let h=Math.abs(o(e).x-o(i[i.length-1]).x),c=Math.abs(o(e).y-o(i[i.length-1]).y),u=Math.abs(o(e).x-o(i[0]).x),d=Math.abs(o(e).y-o(i[0]).y),f=n[t.arrowTypeStart],p=n[t.arrowTypeEnd];if(h0&&c0&&d=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaY:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let h=Math.abs(o(e).y-o(i[i.length-1]).y),c=Math.abs(o(e).x-o(i[i.length-1]).x),u=Math.abs(o(e).y-o(i[0]).y),d=Math.abs(o(e).x-o(i[0]).x),f=n[t.arrowTypeStart],p=n[t.arrowTypeEnd];if(h0&&c0&&d2&&_.push("'"+this.terminals_[F]+"'");$=A.showPosition?"Parse error on line "+(o+1)+":\n"+A.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[C]||C)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==C?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError($,{text:A.match,token:this.terminals_[C]||C,line:A.yylineno,loc:g,expected:_})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+C);switch(k[0]){case 1:s.push(C),n.push(A.yytext),u.push(A.yylloc),s.push(k[1]),C=null,m?(C=m,m=null):(c=A.yyleng,l=A.yytext,o=A.yylineno,g=A.yylloc,h>0&&h--);break;case 2:if(D=this.productions_[k[1]][1],S.$=n[n.length-D],S._$={first_line:u[u.length-(D||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(D||1)].first_column,last_column:u[u.length-1].last_column},f&&(S._$.range=[u[u.length-(D||1)].range[0],u[u.length-1].range[1]]),void 0!==(T=this.performAction.apply(S,[l,c,o,d.yy,k[1],n,u].concat(p))))return T;D&&(s=s.slice(0,-1*D*2),n=n.slice(0,-1*D),u=u.slice(0,-1*D)),s.push(this.productions_[k[1]][0]),n.push(S.$),u.push(S._$),B=a[s[s.length-2]][s[s.length-1]],s.push(B);break;case 3:return!0}}return!0},"parse")},er={EOF:1,parseError:(0,r.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,r.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,r.eW)(function(e){var t=e.length,s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var 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),s.length-1&&(this.yylineno-=s.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.eW)(function(){return this._more=!0,this},"more"),reject:(0,r.eW)(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})},"reject"),less:(0,r.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,r.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,r.eW)(function(e,t){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=e[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+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var u in n)this[u]=n[u];return!1},"test_match"),next:(0,r.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,s,i,n=this._currentRules(),u=0;ut[0].length)){if(t=s,i=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(s,n[u])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,n[i]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,r.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,r.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,r.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,r.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,r.eW)(function(e,t,s,i){switch(s){case 0:return 60;case 1:return 61;case 2:return 62;case 3:return 63;case 4:case 5:case 14:case 31:case 36:case 40:case 47:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 58:case 61:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 35:return 8;case 15:case 16:return 7;case 17:case 37:case 45:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 77;case 23:return 78;case 25:return"STR";case 26:this.begin("string");break;case 27:return 80;case 28:return 55;case 29:return this.begin("namespace"),42;case 30:case 39:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:case 43:return this.popState(),41;case 34:case 44:return"EOF_IN_STRUCT";case 38:return this.begin("class"),46;case 41:return this.popState(),this.popState(),41;case 42:return this.begin("class-body"),39;case 46:return"OPEN_IN_STRUCT";case 48:return"MEMBER";case 49:return 81;case 50:return 73;case 51:return 74;case 52:return 76;case 53:return 52;case 54:return 54;case 55:return 47;case 56:return 48;case 57:return 79;case 59:return"GENERICTYPE";case 60:this.begin("generic");break;case 62:return"BQUOTE_STR";case 63:this.begin("bqstring");break;case 64:case 65:case 66:case 67:return 75;case 68:case 69:return 67;case 70:case 71:return 69;case 72:return 68;case 73:return 66;case 74:return 70;case 75:return 71;case 76:return 72;case 77:return 22;case 78:return 44;case 79:return 99;case 80:return 17;case 81:return"PLUS";case 82:return 85;case 83:return 59;case 84:case 85:return 88;case 86:return 89;case 87:case 88:return"EQUALS";case 89:return 58;case 90:return 12;case 91:return 14;case 92:return"PUNCTUATION";case 93:return 84;case 94:return 101;case 95:case 96:return 87;case 97:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}};function ea(){this.yy={}}return eu.lexer=er,(0,r.eW)(ea,"Parser"),ea.prototype=eu,eu.Parser=ea,new ea}();l.parser=l;var o=l,c=["#","+","~","-",""],h=class{static{(0,r.eW)(this,"ClassMember")}constructor(e,t){this.memberType=t,this.visibility="",this.classifier="",this.text="";let s=(0,r.oO)(e,(0,r.nV)());this.parseMember(s)}getDisplayDetails(){let e=this.visibility+(0,r.UO)(this.id);return"method"===this.memberType&&(e+=`(${(0,r.UO)(this.parameters.trim())})`,this.returnType&&(e+=" : "+(0,r.UO)(this.returnType))),e=e.trim(),{displayText:e,cssStyle:this.parseClassifier()}}parseMember(e){let t="";if("method"===this.memberType){let s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);if(s){let e=s[1]?s[1].trim():"";if(c.includes(e)&&(this.visibility=e),this.id=s[2],this.parameters=s[3]?s[3].trim():"",t=s[4]?s[4].trim():"",this.returnType=s[5]?s[5].trim():"",""===t){let e=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(e)&&(t=e,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let s=e.length,i=e.substring(0,1),n=e.substring(s-1);c.includes(i)&&(this.visibility=i),/[$*]/.exec(n)&&(t=n),this.id=e.substring(""===this.visibility?0:1,""===t?s:s-1)}this.classifier=t,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let s=`${this.visibility?"\\"+this.visibility:""}${(0,r.UO)(this.id)}${"method"===this.memberType?`(${(0,r.UO)(this.parameters)})${this.returnType?" : "+(0,r.UO)(this.returnType):""}`:""}`;this.text=s.replaceAll("<","<").replaceAll(">",">"),this.text.startsWith("\\<")&&(this.text=this.text.replace("\\<","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},p="classId-",A=[],d=new Map,y=new Map,g=[],f=[],E=0,C=new Map,m=0,b=[],k=(0,r.eW)(e=>r.SY.sanitizeText(e,(0,r.nV)()),"sanitizeText"),T=(0,r.eW)(function(e){let t=r.SY.sanitizeText(e,(0,r.nV)()),s="",i=t;if(t.indexOf("~")>0){let e=t.split("~");i=k(e[0]),s=k(e[1])}return{className:i,type:s}},"splitClassNameAndType"),F=(0,r.eW)(function(e,t){let s=r.SY.sanitizeText(e,(0,r.nV)());t&&(t=k(t));let{className:i}=T(s);d.get(i).label=t,d.get(i).text=`${t}${d.get(i).type?`<${d.get(i).type}>`:""}`},"setClassLabel"),D=(0,r.eW)(function(e){let{className:t,type:s}=T(r.SY.sanitizeText(e,(0,r.nV)()));if(d.has(t))return;let i=r.SY.sanitizeText(t,(0,r.nV)());d.set(i,{id:i,type:s,label:i,text:`${i}${s?`<${s}>`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:p+i+"-"+E}),E++},"addClass"),B=(0,r.eW)(function(e,t){let s={id:`interface${f.length}`,label:e,classId:t};f.push(s)},"addInterface"),_=(0,r.eW)(function(e){let t=r.SY.sanitizeText(e,(0,r.nV)());if(d.has(t))return d.get(t).domId;throw Error("Class not found: "+t)},"lookUpDomId"),S=(0,r.eW)(function(){A=[],d=new Map,g=[],f=[],(b=[]).push(Q),C=new Map,m=0,X="TB",(0,r.ZH)()},"clear"),$=(0,r.eW)(function(e){return d.get(e)},"getClass"),N=(0,r.eW)(function(){return d},"getClasses"),L=(0,r.eW)(function(){return A},"getRelations"),x=(0,r.eW)(function(){return g},"getNotes"),O=(0,r.eW)(function(e){r.cM.debug("Adding relation: "+JSON.stringify(e));let t=[j.LOLLIPOP,j.AGGREGATION,j.COMPOSITION,j.DEPENDENCY,j.EXTENSION];e.relation.type1!==j.LOLLIPOP||t.includes(e.relation.type2)?e.relation.type2!==j.LOLLIPOP||t.includes(e.relation.type1)?(D(e.id1),D(e.id2)):(D(e.id1),B(e.id2,e.id1),e.id2=`interface${f.length-1}`):(D(e.id2),B(e.id1,e.id2),e.id1=`interface${f.length-1}`),e.id1=T(e.id1).className,e.id2=T(e.id2).className,e.relationTitle1=r.SY.sanitizeText(e.relationTitle1.trim(),(0,r.nV)()),e.relationTitle2=r.SY.sanitizeText(e.relationTitle2.trim(),(0,r.nV)()),A.push(e)},"addRelation"),I=(0,r.eW)(function(e,t){let s=T(e).className;d.get(s).annotations.push(t)},"addAnnotation"),v=(0,r.eW)(function(e,t){D(e);let s=T(e).className,i=d.get(s);if("string"==typeof t){let e=t.trim();e.startsWith("<<")&&e.endsWith(">>")?i.annotations.push(k(e.substring(2,e.length-2))):e.indexOf(")")>0?i.methods.push(new h(e,"method")):e&&i.members.push(new h(e,"attribute"))}},"addMember"),W=(0,r.eW)(function(e,t){Array.isArray(t)&&(t.reverse(),t.forEach(t=>v(e,t)))},"addMembers"),w=(0,r.eW)(function(e,t){let s={id:`note${g.length}`,class:t,text:e};g.push(s)},"addNote"),R=(0,r.eW)(function(e){return e.startsWith(":")&&(e=e.substring(1)),k(e.trim())},"cleanupLabel"),P=(0,r.eW)(function(e,t){e.split(",").forEach(function(e){let s=e;/\d/.exec(e[0])&&(s=p+s);let i=d.get(s);i&&(i.cssClasses+=" "+t)})},"setCssClass"),M=(0,r.eW)(function(e,t){for(let s of e){let e=y.get(s);void 0===e&&(e={id:s,styles:[],textStyles:[]},y.set(s,e)),t&&t.forEach(function(t){if(/color/.exec(t)){let s=t.replace("fill","bgFill");e.textStyles.push(s)}e.styles.push(t)}),d.forEach(e=>{e.cssClasses.includes(s)&&e.styles.push(...t.flatMap(e=>e.split(",")))})}},"defineClass"),G=(0,r.eW)(function(e,t){e.split(",").forEach(function(e){void 0!==t&&(d.get(e).tooltip=k(t))})},"setTooltip"),U=(0,r.eW)(function(e,t){return t&&C.has(t)?C.get(t).classes.get(e).tooltip:d.get(e).tooltip},"getTooltip"),Y=(0,r.eW)(function(e,t,s){let i=(0,r.nV)();e.split(",").forEach(function(e){let n=e;/\d/.exec(e[0])&&(n=p+n);let r=d.get(n);r&&(r.link=u.w8.formatUrl(t,i),"sandbox"===i.securityLevel?r.linkTarget="_top":"string"==typeof s?r.linkTarget=k(s):r.linkTarget="_blank")}),P(e,"clickable")},"setLink"),V=(0,r.eW)(function(e,t,s){e.split(",").forEach(function(e){z(e,t,s),d.get(e).haveCallback=!0}),P(e,"clickable")},"setClickEvent"),z=(0,r.eW)(function(e,t,s){let i=r.SY.sanitizeText(e,(0,r.nV)());if("loose"===(0,r.nV)().securityLevel&&void 0!==t){if(d.has(i)){let e=_(i),n=[];if("string"==typeof s){n=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e")),e.classed("hover",!0)}).on("mouseout",function(){t.transition().duration(500).style("opacity",0),(0,a.Ys)(this).classed("hover",!1)})},"setupToolTips");b.push(Q);var X="TB",q=(0,r.eW)(()=>X,"getDirection"),H=(0,r.eW)(e=>{X=e},"setDirection"),J=(0,r.eW)(function(e){if(!C.has(e))C.set(e,{id:e,classes:new Map,children:{},domId:p+e+"-"+m}),m++},"addNamespace"),Z=(0,r.eW)(function(e){return C.get(e)},"getNamespace"),ee=(0,r.eW)(function(){return C},"getNamespaces"),et=(0,r.eW)(function(e,t){if(!!C.has(e))for(let s of t){let{className:t}=T(s);d.get(t).parent=e,C.get(e).classes.set(t,d.get(t))}},"addClassesToNamespace"),es=(0,r.eW)(function(e,t){let s=d.get(e);if(!!t&&!!s)for(let e of t)e.includes(",")?s.styles.push(...e.split(",")):s.styles.push(e)},"setCssStyle");function ei(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}(0,r.eW)(ei,"getArrowMarker");var en=(0,r.eW)(()=>{let e=[],t=[],s=(0,r.nV)();for(let t of C.keys()){let i=C.get(t);if(i){let t={id:i.id,label:i.id,isGroup:!0,padding:s.class.padding??16,shape:"rect",cssStyles:["fill: none","stroke: black"],look:s.look};e.push(t)}}for(let t of d.keys()){let i=d.get(t);i&&(i.parentId=i.parent,i.look=s.look,e.push(i))}let i=0;for(let n of g){i++;let u={id:n.id,label:n.text,isGroup:!1,shape:"note",padding:s.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${s.themeVariables.noteBkgColor}`,`stroke: ${s.themeVariables.noteBorderColor}`],look:s.look};e.push(u);let r=d.get(n.class)?.id??"";if(r){let e={id:`edgeNote${i}`,start:n.id,end:r,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:s.look};t.push(e)}}for(let t of f){let i={id:t.id,label:t.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:s.look};e.push(i)}for(let e of(i=0,A)){i++;let n={id:(0,u.Ln)(e.id1,e.id2,{prefix:"id",counter:i}),start:e.id1,end:e.id2,type:"normal",label:e.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:ei(e.relation.type1),arrowTypeEnd:ei(e.relation.type2),startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:e.style||"",pattern:1==e.relation.lineType?"dashed":"solid",look:s.look};t.push(n)}return{nodes:e,edges:t,other:{},config:s,direction:q()}},"getData"),eu={setAccTitle:r.GN,getAccTitle:r.eu,getAccDescription:r.Mx,setAccDescription:r.U$,getConfig:(0,r.eW)(()=>(0,r.nV)().class,"getConfig"),addClass:D,bindFunctions:K,clear:S,getClass:$,getClasses:N,getNotes:x,addAnnotation:I,addNote:w,getRelations:L,addRelation:O,getDirection:q,setDirection:H,addMember:v,addMembers:W,cleanupLabel:R,lineType:{LINE:0,DOTTED_LINE:1},relationType:j,setClickEvent:V,setCssClass:P,defineClass:M,setLink:Y,getTooltip:U,setTooltip:G,lookUpDomId:_,setDiagramTitle:r.g2,getDiagramTitle:r.Kr,setClassLabel:F,addNamespace:J,addClassesToNamespace:et,getNamespace:Z,getNamespaces:ee,setCssStyle:es,getData:en},er=(0,r.eW)(e=>`g.classGroup text { + fill: ${e.nodeBorder||e.classText}; + stroke: none; + font-family: ${e.fontFamily}; + font-size: 10px; + + .title { + font-weight: bolder; + } + +} + +.nodeLabel, .edgeLabel { + color: ${e.classText}; +} +.edgeLabel .label rect { + fill: ${e.mainBkg}; +} +.label text { + fill: ${e.classText}; +} + +.labelBkg { + background: ${e.mainBkg}; +} +.edgeLabel .label span { + background: ${e.mainBkg}; +} + +.classTitle { + font-weight: bolder; +} +.node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + + +.divider { + stroke: ${e.nodeBorder}; + stroke-width: 1; +} + +g.clickable { + cursor: pointer; +} + +g.classGroup rect { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; +} + +g.classGroup line { + stroke: ${e.nodeBorder}; + stroke-width: 1; +} + +.classLabel .box { + stroke: none; + stroke-width: 0; + fill: ${e.mainBkg}; + opacity: 0.5; +} + +.classLabel .label { + fill: ${e.nodeBorder}; + font-size: 10px; +} + +.relation { + stroke: ${e.lineColor}; + stroke-width: 1; + fill: none; +} + +.dashed-line{ + stroke-dasharray: 3; +} + +.dotted-line{ + stroke-dasharray: 1 2; +} + +#compositionStart, .composition { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#compositionEnd, .composition { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#dependencyStart, .dependency { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#dependencyStart, .dependency { + fill: ${e.lineColor} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#extensionStart, .extension { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#extensionEnd, .extension { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#aggregationStart, .aggregation { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#aggregationEnd, .aggregation { + fill: transparent !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#lollipopStart, .lollipop { + fill: ${e.mainBkg} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +#lollipopEnd, .lollipop { + fill: ${e.mainBkg} !important; + stroke: ${e.lineColor} !important; + stroke-width: 1; +} + +.edgeTerminals { + font-size: 11px; + line-height: initial; +} + +.classTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; +} +`,"getStyles"),ea=(0,r.eW)((e,t="TB")=>{if(!e.doc)return t;let s=t;for(let t of e.doc)"dir"===t.stmt&&(s=t.value);return s},"getDir"),el={getClasses:(0,r.eW)(function(e,t){return t.db.getClasses()},"getClasses"),draw:(0,r.eW)(async function(e,t,s,a){r.cM.info("REF0:"),r.cM.info("Drawing class diagram (v3)",t);let{securityLevel:l,state:o,layout:c}=(0,r.nV)(),h=a.db.getData(),p=(0,i.q)(t,l);h.type=a.type,h.layoutAlgorithm=(0,n._b)(c),h.nodeSpacing=o?.nodeSpacing||50,h.rankSpacing=o?.rankSpacing||50,h.markers=["aggregation","extension","composition","dependency","lollipop"],h.diagramId=t,await (0,n.sY)(h,p);u.w8.insertTitle(p,"classDiagramTitleText",o?.titleTopMargin??25,a.db.getDiagramTitle()),(0,i.j)(p,8,"classDiagram",o?.useMaxWidth??!0)},"draw"),getDir:ea}},10626:function(e,t,s){s.d(t,{j:function(){return r},q:function(){return u}});var i=s(5995),n=s(27818),u=(0,i.eW)((e,t)=>{let s;return"sandbox"===t&&(s=(0,n.Ys)("#i"+e)),("sandbox"===t?(0,n.Ys)(s.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id="${e}"]`)},"getDiagramElement"),r=(0,i.eW)((e,t,s,n)=>{e.attr("class",s);let{width:u,height:r,x:o,y:c}=a(e,t);(0,i.v2)(e,r,u,n);let h=l(o,c,u,r,t);e.attr("viewBox",h),i.cM.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),a=(0,i.eW)((e,t)=>{let s=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*t,height:s.height+2*t,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),l=(0,i.eW)((e,t,s,i,n)=>`${e-n} ${t-n} ${s} ${i}`,"createViewBox")}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/24726f2a.03b4df9b.js b/pr-preview/pr-5/assets/js/24726f2a.03b4df9b.js new file mode 100644 index 0000000..472448e --- /dev/null +++ b/pr-preview/pr-5/assets/js/24726f2a.03b4df9b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1558"],{21941:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Resource Types","description":"Resource Types","slug":"/category/resource-types","permalink":"/nr-pies/pr-preview/pr-5/docs/category/resource-types","sidebar":"docSidebar","navigation":{"previous":{"title":"Primitive Types","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types"},"next":{"title":"Process Event","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/2866.3f086b27.js b/pr-preview/pr-5/assets/js/2866.3f086b27.js new file mode 100644 index 0000000..0321fcd --- /dev/null +++ b/pr-preview/pr-5/assets/js/2866.3f086b27.js @@ -0,0 +1,46 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2866"],{2955:function(t,e,r){r.d(e,{diagram:()=>Z});var a=r("7690"),i=r("5995"),n=r("50043"),s=r("27818"),o=r("49235");let l=[];for(let t=0;t<256;++t)l.push((t+256).toString(16).slice(1));let c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,h=function(t){var e;let r;if(!("string"==typeof(e=t)&&c.test(e)))throw TypeError("Invalid UUID");let a=new Uint8Array(16);return a[0]=(r=parseInt(t.slice(0,8),16))>>>24,a[1]=r>>>16&255,a[2]=r>>>8&255,a[3]=255&r,a[4]=(r=parseInt(t.slice(9,13),16))>>>8,a[5]=255&r,a[6]=(r=parseInt(t.slice(14,18),16))>>>8,a[7]=255&r,a[8]=(r=parseInt(t.slice(19,23),16))>>>8,a[9]=255&r,a[10]=(r=parseInt(t.slice(24,36),16))/0x10000000000&255,a[11]=r/0x100000000&255,a[12]=r>>>24&255,a[13]=r>>>16&255,a[14]=r>>>8&255,a[15]=255&r,a};function d(t,e){return t<>>32-e}let u=function(t,e,r){function a(t,e,a,i){var n;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));let e=[];for(let r=0;r>>0;c=l,l=o,o=d(s,30)>>>0,s=n,n=i}r[0]=r[0]+n>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+l>>>0,r[4]=r[4]+c>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]});var y=function(){var t=(0,i.eW)(function(t,e,r,a){for(r=r||{},a=t.length;a--;r[t[a]]=e);return r},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],a=[1,11],n=[1,12],s=[1,13],o=[1,14],l=[1,15],c=[1,21],h=[1,22],d=[1,23],u=[1,24],y=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],_=[1,34],f=[27,28,46,47],E=[41,42,43,44,45],g=[17,34],m=[1,54],O=[1,53],b=[17,34,36,38],k={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:(0,i.eW)(function(t,e,r,a,i,n,s){var o=n.length-1;switch(i){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=n[o];break;case 8:a.addEntity(n[o-4]),a.addEntity(n[o-2]),a.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 9:a.addEntity(n[o-3]),a.addAttributes(n[o-3],n[o-1]);break;case 10:a.addEntity(n[o-2]);break;case 11:a.addEntity(n[o]);break;case 12:a.addEntity(n[o-6],n[o-4]),a.addAttributes(n[o-6],n[o-1]);break;case 13:a.addEntity(n[o-5],n[o-3]);break;case 14:a.addEntity(n[o-3],n[o-1]);break;case 15:case 16:this.$=n[o].trim(),a.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),a.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=n[o].replace(/"/g,"");break;case 21:case 29:this.$=[n[o]];break;case 22:n[o].push(n[o-1]),this.$=n[o];break;case 23:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 24:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 26:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 30:n[o-2].push(n[o]),this.$=n[o-2];break;case 33:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-2]};break;case 34:this.$=a.Cardinality.ZERO_OR_ONE;break;case 35:this.$=a.Cardinality.ZERO_OR_MORE;break;case 36:this.$=a.Cardinality.ONE_OR_MORE;break;case 37:this.$=a.Cardinality.ONLY_ONE;break;case 38:this.$=a.Cardinality.MD_PARENT;break;case 39:this.$=a.Identification.NON_IDENTIFYING;break;case 40:this.$=a.Identification.IDENTIFYING}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:a,24:n,26:s,27:o,28:l},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:a,24:n,26:s,27:o,28:l},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:c,42:h,43:d,44:u,45:y}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:o,28:l},{16:30,17:[1,31],29:32,30:33,34:_},{11:35,27:o,28:l},{40:36,46:[1,37],47:[1,38]},t(f,[2,34]),t(f,[2,35]),t(f,[2,36]),t(f,[2,37]),t(f,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:_},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:c,42:h,43:d,44:u,45:y},t(E,[2,39]),t(E,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(g,[2,23],{32:50,33:51,35:52,37:m,38:O}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(g,[2,24],{33:56,36:[1,57],38:O}),t(g,[2,25]),t(b,[2,29]),t(g,[2,32]),t(b,[2,31]),{16:58,17:[1,59],29:32,30:33,34:_},t(g,[2,26]),{35:60,37:m},{17:[1,61]},t(e,[2,13]),t(b,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:(0,i.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var r=Error(t);throw r.hash=e,r}},"parseError"),parse:(0,i.eW)(function(t){var e=this,r=[0],a=[],n=[null],s=[],o=this.table,l="",c=0,h=0,d=0,u=s.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(p.yy[_]=this.yy[_]);y.setInput(t,p.yy),p.yy.lexer=y,p.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var f=y.yylloc;s.push(f);var E=y.options&&y.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(){var t;return"number"!=typeof(t=a.pop()||y.lex()||1)&&(t instanceof Array&&(t=(a=t).pop()),t=e.symbols_[t]||t),t}(0,i.eW)(function(t){r.length=r.length-2*t,n.length=n.length-t,s.length=s.length-t},"popStack"),(0,i.eW)(g,"lex");for(var m,O,b,k,R,N,x,T,M,A={};;){if(b=r[r.length-1],this.defaultActions[b]?k=this.defaultActions[b]:(null==m&&(m=g()),k=o[b]&&o[b][m]),void 0===k||!k.length||!k[0]){var w="";for(N in M=[],o[b])this.terminals_[N]&&N>2&&M.push("'"+this.terminals_[N]+"'");w=y.showPosition?"Parse error on line "+(c+1)+":\n"+y.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(w,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:f,expected:M})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(k[0]){case 1:r.push(m),n.push(y.yytext),s.push(y.yylloc),r.push(k[1]),m=null,O?(m=O,O=null):(h=y.yyleng,l=y.yytext,c=y.yylineno,f=y.yylloc,d>0&&d--);break;case 2:if(x=this.productions_[k[1]][1],A.$=n[n.length-x],A._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column},E&&(A._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(R=this.performAction.apply(A,[l,h,c,p.yy,k[1],n,s].concat(u))))return R;x&&(r=r.slice(0,-1*x*2),n=n.slice(0,-1*x),s=s.slice(0,-1*x)),r.push(this.productions_[k[1]][0]),n.push(A.$),s.push(A._$),T=o[r[r.length-2]][r[r.length-1]],r.push(T);break;case 3:return!0}}return!0},"parse")},R={EOF:1,parseError:(0,i.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,i.eW)(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},"setInput"),input:(0,i.eW)(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},"input"),unput:(0,i.eW)(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[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},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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})},"reject"),less:(0,i.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,i.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.eW)(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,"")},"upcomingInput"),showPosition:(0,i.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,i.eW)(function(t,e){var r,a,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))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var n in i)this[n]=i[n];return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,r,a,i=this._currentRules(),n=0;ne[0].length)){if(e=r,a=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,i[n])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[a]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,i.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,i.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(t,e,r,a){switch(r){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;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 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return e.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/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,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,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],inclusive:!0}}};function N(){this.yy={}}return k.lexer=R,(0,i.eW)(N,"Parser"),N.prototype=k,k.Parser=N,new N}();y.parser=y;var p=new Map,_=[],f=(0,i.eW)(function(t,e){return p.has(t)?!p.get(t).alias&&e&&(p.get(t).alias=e,i.cM.info(`Add alias '${e}' to entity '${t}'`)):(p.set(t,{attributes:[],alias:e}),i.cM.info("Added new entity :",t)),p.get(t)},"addEntity"),E=(0,i.eW)(()=>p,"getEntities"),g=(0,i.eW)(function(t,e){let r,a=f(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.cM.debug("Added attribute ",e[r].attributeName)},"addAttributes"),m=(0,i.eW)(function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};_.push(n),i.cM.debug("Added new relationship :",n)},"addRelationship"),O=(0,i.eW)(()=>_,"getRelationships"),b=(0,i.eW)(function(){p=new Map,_=[],(0,i.ZH)()},"clear"),k={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:(0,i.eW)(()=>(0,i.nV)().er,"getConfig"),addEntity:f,addAttributes:g,getEntities:E,addRelationship:m,getRelationships:O,clear:b,setAccTitle:i.GN,getAccTitle:i.eu,setAccDescription:i.U$,getAccDescription:i.Mx,setDiagramTitle:i.g2,getDiagramTitle:i.Kr},R={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},N=(0,i.eW)(function(t,e){let r;t.append("defs").append("marker").attr("id",R.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",R.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",R.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",R.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",R.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",R.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),(r=t.append("defs").append("marker").attr("id",R.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"insertMarkers"),x={ERMarkers:R,insertMarkers:N},T=/[^\dA-Za-z](\W)*/g,M={},A=new Map,w=(0,i.eW)(function(t){for(let e of Object.keys(t))M[e]=t[e]},"setConf"),I=(0,i.eW)((t,e,r)=>{let a=M.entityPadding/3,n=M.entityPadding/3,s=.85*M.fontSize,o=e.node().getBBox(),l=[],c=!1,h=!1,d=0,u=0,y=0,p=0,_=o.height+2*a,f=1;r.forEach(t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(c=!0),void 0!==t.attributeComment&&(h=!0)}),r.forEach(r=>{let n=`${e.node().id}-attr-${f}`,o=0,E=(0,i.UO)(r.attributeType),g=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(E),m=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=g,O.nn=m;let b=g.node().getBBox(),k=m.node().getBBox();if(d=Math.max(d,b.width),u=Math.max(u,k.width),o=Math.max(b.height,k.height),c){let e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;let l=a.node().getBBox();y=Math.max(y,l.width),o=Math.max(o,l.height)}if(h){let e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.nV)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;let a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,l.push(O),_+=o+2*a,f+=1});let E=4;c&&(E+=2),h&&(E+=2);let g=d+u+y+p,m={width:Math.max(M.minEntityWidth,Math.max(o.width+2*M.entityPadding,g+n*E)),height:r.length>0?_:Math.max(M.minEntityHeight,o.height+2*M.entityPadding)};if(r.length>0){let r=Math.max(0,(m.width-g-n*E)/(E/2));e.attr("transform","translate("+m.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";l.forEach(e=>{let o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");let l=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(l.attr("x"))+parseFloat(l.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");let f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a),E=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(c){e.kn.attr("transform","translate("+(E+n)+","+o+")");let l=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",E).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a);E=parseFloat(l.attr("x"))+parseFloat(l.attr("width"))}h&&(e.cn.attr("transform","translate("+(E+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",E).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"})}else m.height=Math.max(M.minEntityHeight,_),e.attr("transform","translate("+m.width/2+","+m.height/2+")");return m},"drawAttributes"),S=(0,i.eW)(function(t,e,r){let a;return[...e.keys()].forEach(function(n){let s=B(n,"entity");A.set(n,s);let o=t.append("g").attr("id",s);a=void 0===a?s:a;let l="text-"+s,c=o.append("text").classed("er entityLabel",!0).attr("id",l).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.nV)().fontFamily).style("font-size",M.fontSize+"px").text(e.get(n).alias??n),{width:h,height:d}=I(o,c,e.get(n).attributes),u=o.insert("rect","#"+l).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",d).node().getBBox();r.setNode(s,{width:u.width,height:u.height,shape:"rect",id:s})}),a},"drawEntities"),v=(0,i.eW)(function(t,e){e.nodes().forEach(function(r){void 0!==r&&void 0!==e.node(r)&&t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")})},"adjustEntities"),D=(0,i.eW)(function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},"getEdgeName"),$=(0,i.eW)(function(t,e){return t.forEach(function(t){e.setEdge(A.get(t.entityA),A.get(t.entityB),{relationship:t},D(t))}),t},"addRelationships"),W=0,L=(0,i.eW)(function(t,e,r,a,n){W++;let o=r.edge(A.get(e.entityA),A.get(e.entityB),D(e)),l=(0,s.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(s.$0Z),c=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",l(o.points)).style("stroke",M.stroke).style("fill","none");e.relSpec.relType===n.db.Identification.NON_IDENTIFYING&&c.attr("stroke-dasharray","8,8");let h="";switch(M.arrowMarkerAbsolute&&(h=(h=(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),e.relSpec.cardA){case n.db.Cardinality.ZERO_OR_ONE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ZERO_OR_ONE_END+")");break;case n.db.Cardinality.ZERO_OR_MORE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ZERO_OR_MORE_END+")");break;case n.db.Cardinality.ONE_OR_MORE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ONE_OR_MORE_END+")");break;case n.db.Cardinality.ONLY_ONE:c.attr("marker-end","url("+h+"#"+x.ERMarkers.ONLY_ONE_END+")");break;case n.db.Cardinality.MD_PARENT:c.attr("marker-end","url("+h+"#"+x.ERMarkers.MD_PARENT_END+")")}switch(e.relSpec.cardB){case n.db.Cardinality.ZERO_OR_ONE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ZERO_OR_ONE_START+")");break;case n.db.Cardinality.ZERO_OR_MORE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ZERO_OR_MORE_START+")");break;case n.db.Cardinality.ONE_OR_MORE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ONE_OR_MORE_START+")");break;case n.db.Cardinality.ONLY_ONE:c.attr("marker-start","url("+h+"#"+x.ERMarkers.ONLY_ONE_START+")");break;case n.db.Cardinality.MD_PARENT:c.attr("marker-start","url("+h+"#"+x.ERMarkers.MD_PARENT_START+")")}let d=c.node().getTotalLength(),u=c.node().getPointAtLength(.5*d),y="rel"+W,p=e.roleA.split(/
    /g),_=t.append("text").classed("er relationshipLabel",!0).attr("id",y).attr("x",u.x).attr("y",u.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.nV)().fontFamily).style("font-size",M.fontSize+"px");if(1==p.length)_.text(e.roleA);else{let t=-(.5*(p.length-1));p.forEach((e,r)=>{_.append("tspan").attr("x",u.x).attr("dy",`${0===r?t:1}em`).text(e)})}let f=_.node().getBBox();t.insert("rect","#"+y).classed("er relationshipLabelBox",!0).attr("x",u.x-f.width/2).attr("y",u.y-f.height/2).attr("width",f.width).attr("height",f.height)},"drawRelationshipFromLayout"),C=(0,i.eW)(function(t,e,r,l){let c,h;M=(0,i.nV)().er,i.cM.info("Drawing ER diagram");let d=(0,i.nV)().securityLevel;"sandbox"===d&&(c=(0,s.Ys)("#i"+e));let u=("sandbox"===d?(0,s.Ys)(c.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select(`[id='${e}']`);x.insertMarkers(u,M),h=new n.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:M.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let y=S(u,l.db.getEntities(),h),p=$(l.db.getRelationships(),h);(0,o.bK)(h),v(u,h),p.forEach(function(t){L(u,t,h,y,l)});let _=M.diagramPadding;a.w8.insertTitle(u,"entityTitleText",M.titleTopMargin,l.db.getDiagramTitle());let f=u.node().getBBox(),E=f.width+2*_,g=f.height+2*_;(0,i.v2)(u,g,E,M.useMaxWidth),u.attr("viewBox",`${f.x-_} ${f.y-_} ${E} ${g}`)},"draw");function B(t="",e=""){let r=t.replace(T,"");return`${Y(e)}${Y(r)}${u(t,"28e9f9db-3c8d-5aa5-9faf-44286ae5937c")}`}function Y(t=""){return t.length>0?`${t}-`:""}(0,i.eW)(B,"generateId"),(0,i.eW)(Y,"strWithHyphen");var P=(0,i.eW)(t=>` + .entityBox { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + } + + .attributeBoxOdd { + fill: ${t.attributeBackgroundColorOdd}; + stroke: ${t.nodeBorder}; + } + + .attributeBoxEven { + fill: ${t.attributeBackgroundColorEven}; + stroke: ${t.nodeBorder}; + } + + .relationshipLabelBox { + fill: ${t.tertiaryColor}; + opacity: 0.7; + background-color: ${t.tertiaryColor}; + rect { + opacity: 0.5; + } + } + + .relationshipLine { + stroke: ${t.lineColor}; + } + + .entityTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } + #MD_PARENT_START { + fill: #f5f5f5 !important; + stroke: ${t.lineColor} !important; + stroke-width: 1; + } + #MD_PARENT_END { + fill: #f5f5f5 !important; + stroke: ${t.lineColor} !important; + stroke-width: 1; + } + +`,"getStyles"),Z={parser:y,db:k,renderer:{setConf:w,draw:C},styles:P}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/3085.8f380f56.js b/pr-preview/pr-5/assets/js/3085.8f380f56.js new file mode 100644 index 0000000..e01fd98 --- /dev/null +++ b/pr-preview/pr-5/assets/js/3085.8f380f56.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3085"],{15970:function(e,n,r){r.d(n,{createInfoServices:function(){return s.M}});var s=r(52730);r(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/3361.71b6c106.js b/pr-preview/pr-5/assets/js/3361.71b6c106.js new file mode 100644 index 0000000..6d5ac87 --- /dev/null +++ b/pr-preview/pr-5/assets/js/3361.71b6c106.js @@ -0,0 +1,116 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3361"],{61135:function(t,e,r){r.d(e,{k:()=>f});var a=r("96498"),i=r("18782"),s=r("87074"),n=r("37627"),l=r("73217"),o=r("82633"),d=r("61925"),c=r("39446"),h=r("53148"),g=r("38610"),u=r("61322"),p=(0,h.Z)(function(t){return(0,g.Z)((0,c.Z)(t,1,u.Z,!0))}),y=r("96433"),b=r("81748");class f{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=a.Z(void 0),this._defaultEdgeLabelFn=a.Z(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),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!i.Z(t)&&(t=a.Z(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return s.Z(this._nodes)}sources(){var t=this;return n.Z(this.nodes(),function(e){return l.Z(t._in[e])})}sinks(){var t=this;return n.Z(this.nodes(),function(e){return l.Z(t._out[e])})}setNodes(t,e){var r=arguments,a=this;return o.Z(t,function(t){r.length>1?a.setNode(t,e):a.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(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]="\0",this._children[t]={},this._children["\0"][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 Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],o.Z(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),o.Z(s.Z(this._in[t]),e),delete this._in[t],delete this._preds[t],o.Z(s.Z(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(d.Z(e))e="\0";else{e+="";for(var r=e;!d.Z(r);r=this.parent(r))if(r===t)throw 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("\0"!==e)return e}}children(t){if(d.Z(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return s.Z(e)}else if("\0"===t)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return s.Z(e)}successors(t){var e=this._sucs[t];if(e)return s.Z(e)}neighbors(t){var e=this.predecessors(t);if(e)return p(e,this.successors(t))}isLeaf(t){var e;return 0===(e=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 r=this;o.Z(this._nodes,function(r,a){t(a)&&e.setNode(a,r)}),o.Z(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var a={};return this._isCompound&&o.Z(e.nodes(),function(t){e.setParent(t,function t(i){var s=r.parent(i);return void 0===s||e.hasNode(s)?(a[i]=s,s):s in a?a[s]:t(s)}(t))}),e}setDefaultEdgeLabel(t){return!i.Z(t)&&(t=a.Z(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return y.Z(this._edgeObjs)}setPath(t,e){var r=this,a=arguments;return b.Z(t,function(t,i){return a.length>1?r.setEdge(t,i,e):r.setEdge(t,i),i}),this}setEdge(){var t,e,r,a,i=!1,s=arguments[0];"object"==typeof s&&null!==s&&"v"in s?(t=s.v,e=s.w,r=s.name,2==arguments.length&&(a=arguments[1],i=!0)):(t=s,e=arguments[1],r=arguments[3],arguments.length>2&&(a=arguments[2],i=!0)),t=""+t,e=""+e,!d.Z(r)&&(r=""+r);var n=w(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,n))return i&&(this._edgeLabels[n]=a),this;if(!d.Z(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[n]=i?a:this._defaultEdgeLabelFn(t,e,r);var l=function(t,e,r,a){var i=""+e,s=""+r;if(!t&&i>s){var n=i;i=s,s=n}var l={v:i,w:s};return a&&(l.name=a),l}(this._isDirected,t,e,r);return t=l.v,e=l.w,Object.freeze(l),this._edgeObjs[n]=l,x(this._preds[e],t),x(this._sucs[t],e),this._in[e][n]=l,this._out[t][n]=l,this._edgeCount++,this}edge(t,e,r){var a=1==arguments.length?_(this._isDirected,arguments[0]):w(this._isDirected,t,e,r);return this._edgeLabels[a]}hasEdge(t,e,r){var a=1==arguments.length?_(this._isDirected,arguments[0]):w(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,a)}removeEdge(t,e,r){var a=1==arguments.length?_(this._isDirected,arguments[0]):w(this._isDirected,t,e,r),i=this._edgeObjs[a];return i&&(t=i.v,e=i.w,delete this._edgeLabels[a],delete this._edgeObjs[a],m(this._preds[e],t),m(this._sucs[t],e),delete this._in[e][a],delete this._out[t][a],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var a=y.Z(r);return e?n.Z(a,function(t){return t.v===e}):a}}outEdges(t,e){var r=this._out[t];if(r){var a=y.Z(r);return e?n.Z(a,function(t){return t.w===e}):a}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function x(t,e){t[e]?t[e]++:t[e]=1}function m(t,e){!--t[e]&&delete t[e]}function w(t,e,r,a){var i=""+e,s=""+r;if(!t&&i>s){var n=i;i=s,s=n}return i+"\x01"+s+"\x01"+(d.Z(a)?"\0":a)}f.prototype._nodeCount=0,f.prototype._edgeCount=0;function _(t,e){return w(t,e.v,e.w,e.name)}},50043:function(t,e,r){r.d(e,{k:function(){return a.k}});var a=r(61135)},73265:function(t,e,r){r.d(e,{Z:function(){return s}});var a=r(53763),i=r(26652);let s=(t,e)=>a.Z.lang.round(i.Z.parse(t)[e])},65521:function(t,e,r){r.d(e,{Z:function(){return i}});var a=r(16124);let i=function(t){return(0,a.Z)(t,4)}},58095:function(t,e,r){r.d(e,{diagram:function(){return ep}});var a=r(80587),i=r(4511),s=r(92719),n=r(7690),l=r(5995),o=r(65521),d=r(73265),c=r(13328),h=r(27818),g=r(50043),u=function(){var t=(0,l.eW)(function(t,e,r,a){for(r=r||{},a=t.length;a--;r[t[a]]=e);return r},"o"),e=[1,7],r=[1,13],a=[1,14],i=[1,15],s=[1,19],n=[1,16],o=[1,17],d=[1,18],c=[8,30],h=[8,21,28,29,30,31,32,40,44,47],g=[1,23],u=[1,24],p=[8,15,16,21,28,29,30,31,32,40,44,47],y=[8,15,16,21,27,28,29,30,31,32,40,44,47],b=[1,49],f={trace:(0,l.eW)(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:(0,l.eW)(function(t,e,r,a,i,s,n){var l=s.length-1;switch(i){case 4:a.getLogger().debug("Rule: separator (NL) ");break;case 5:a.getLogger().debug("Rule: separator (Space) ");break;case 6:a.getLogger().debug("Rule: separator (EOF) ");break;case 7:a.getLogger().debug("Rule: hierarchy: ",s[l-1]),a.setHierarchy(s[l-1]);break;case 8:a.getLogger().debug("Stop NL ");break;case 9:a.getLogger().debug("Stop EOF ");break;case 10:a.getLogger().debug("Stop NL2 ");break;case 11:a.getLogger().debug("Stop EOF2 ");break;case 12:a.getLogger().debug("Rule: statement: ",s[l]),"number"==typeof s[l].length?this.$=s[l]:this.$=[s[l]];break;case 13:a.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:a.getLogger().debug("Rule: link: ",s[l],t),this.$={edgeTypeStr:s[l],label:""};break;case 15:a.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let o=parseInt(s[l]),d=a.generateId();this.$={id:d,type:"space",label:"",width:o,children:[]};break;case 23:a.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let c=a.edgeStrToEdgeData(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",directions:s[l].directions,arrowTypeEnd:c,arrowTypeStart:"arrow_open"},{id:s[l].id,label:s[l].label,type:a.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:a.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:a.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:a.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:a.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:a.getLogger().debug("APA123",this?this:"na"),a.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:"auto"===s[l]?-1:parseInt(s[l])};break;case 27:a.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]),a.generateId(),this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:a.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let h=a.generateId();this.$={id:h,type:"composite",label:"",children:s[l-1]};break;case 29:a.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:a.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:a.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:a.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:a.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:a.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()}}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:a,31:i,32:s,40:n,44:o,47:d},{8:[1,20]},t(c,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:e,28:r,29:a,31:i,32:s,40:n,44:o,47:d}),t(h,[2,16],{14:22,15:g,16:u}),t(h,[2,17]),t(h,[2,18]),t(h,[2,19]),t(h,[2,20]),t(h,[2,21]),t(h,[2,22]),t(p,[2,25],{27:[1,25]}),t(h,[2,26]),{19:26,26:12,32:s},{11:27,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:a,31:i,32:s,40:n,44:o,47:d},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},t(y,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},t(c,[2,13]),{26:35,32:s},{32:[2,14]},{17:[1,36]},t(p,[2,24]),{11:37,13:4,14:22,15:g,16:u,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:r,29:a,31:i,32:s,40:n,44:o,47:d},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},t(y,[2,30]),{18:[1,43]},{18:[1,44]},t(p,[2,23]),{18:[1,45]},{30:[1,46]},t(h,[2,28]),t(h,[2,35]),t(h,[2,36]),t(h,[2,37]),t(h,[2,38]),{37:[1,47]},{34:48,35:b},{15:[1,50]},t(h,[2,27]),t(y,[2,33]),{39:[1,51]},{34:52,35:b,39:[2,31]},{32:[2,15]},t(y,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:(0,l.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var r=Error(t);throw r.hash=e,r}},"parseError"),parse:(0,l.eW)(function(t){var e=this,r=[0],a=[],i=[null],s=[],n=this.table,o="",d=0,c=0,h=0,g=s.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(t,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var b=u.yylloc;s.push(b);var f=u.options&&u.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(){var t;return"number"!=typeof(t=a.pop()||u.lex()||1)&&(t instanceof Array&&(t=(a=t).pop()),t=e.symbols_[t]||t),t}(0,l.eW)(function(t){r.length=r.length-2*t,i.length=i.length-t,s.length=s.length-t},"popStack"),(0,l.eW)(x,"lex");for(var m,w,_,k,L,S,E,v,W,D={};;){if(_=r[r.length-1],this.defaultActions[_]?k=this.defaultActions[_]:(null==m&&(m=x()),k=n[_]&&n[_][m]),void 0===k||!k.length||!k[0]){var C="";for(S in W=[],n[_])this.terminals_[S]&&S>2&&W.push("'"+this.terminals_[S]+"'");C=u.showPosition?"Parse error on line "+(d+1)+":\n"+u.showPosition()+"\nExpecting "+W.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(d+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(C,{text:u.match,token:this.terminals_[m]||m,line:u.yylineno,loc:b,expected:W})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+m);switch(k[0]){case 1:r.push(m),i.push(u.yytext),s.push(u.yylloc),r.push(k[1]),m=null,w?(m=w,w=null):(c=u.yyleng,o=u.yytext,d=u.yylineno,b=u.yylloc,h>0&&h--);break;case 2:if(E=this.productions_[k[1]][1],D.$=i[i.length-E],D._$={first_line:s[s.length-(E||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(E||1)].first_column,last_column:s[s.length-1].last_column},f&&(D._$.range=[s[s.length-(E||1)].range[0],s[s.length-1].range[1]]),void 0!==(L=this.performAction.apply(D,[o,c,d,p.yy,k[1],i,s].concat(g))))return L;E&&(r=r.slice(0,-1*E*2),i=i.slice(0,-1*E),s=s.slice(0,-1*E)),r.push(this.productions_[k[1]][0]),i.push(D.$),s.push(D._$),v=n[r[r.length-2]][r[r.length-1]],r.push(v);break;case 3:return!0}}return!0},"parse")},x={EOF:1,parseError:(0,l.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,l.eW)(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},"setInput"),input:(0,l.eW)(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},"input"),unput:(0,l.eW)(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[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},"unput"),more:(0,l.eW)(function(){return this._more=!0,this},"more"),reject:(0,l.eW)(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})},"reject"),less:(0,l.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.eW)(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,"")},"upcomingInput"),showPosition:(0,l.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.eW)(function(t,e){var r,a,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))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var s in i)this[s]=i[s];return!1},"test_match"),next:(0,l.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,r,a,i=this._currentRules(),s=0;se[0].length)){if(e=r,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,i[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[a]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,l.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,l.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,l.eW)(function(t,e,r,a){switch(r){case 0:return 10;case 1:return t.getLogger().debug("Found space-block"),31;case 2:return t.getLogger().debug("Found nl-block"),31;case 3:return t.getLogger().debug("Found space-block"),29;case 4:t.getLogger().debug(".",e.yytext);break;case 5:t.getLogger().debug("_",e.yytext);break;case 6:return 5;case 7:return e.yytext=-1,28;case 8:return e.yytext=e.yytext.replace(/columns\s+/,""),t.getLogger().debug("COLUMNS (LEX)",e.yytext),28;case 9:case 77:case 78:case 100:this.pushState("md_string");break;case 10:return"MD_STR";case 11:case 35:case 80:this.popState();break;case 12:this.pushState("string");break;case 13:t.getLogger().debug("LEX: POPPING STR:",e.yytext),this.popState();break;case 14:return t.getLogger().debug("LEX: STR end:",e.yytext),"STR";case 15:return e.yytext=e.yytext.replace(/space\:/,""),t.getLogger().debug("SPACE NUM (LEX)",e.yytext),21;case 16:return e.yytext="1",t.getLogger().debug("COLUMNS (LEX)",e.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:case 39:case 41:case 42:case 45:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),t.getLogger().debug("Lex: ))"),"NODE_DEND";case 43:return this.popState(),t.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),t.getLogger().debug("Lex: -)"),"NODE_DEND";case 46:return this.popState(),t.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),t.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),t.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:case 50:return this.popState(),t.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),t.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),t.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),t.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),t.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return t.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return t.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return t.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:case 60:case 61:case 62:case 65:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return t.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 63:return t.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return t.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 66:case 67:case 68:case 69:case 70:case 71:case 72:return this.pushState("NODE"),36;case 73:return t.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),t.getLogger().debug("LEX ARR START"),38;case 75:return t.getLogger().debug("Lex: NODE_ID",e.yytext),32;case 76:return t.getLogger().debug("Lex: EOF",e.yytext),8;case 79:return"NODE_DESCR";case 81:t.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:t.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return t.getLogger().debug("LEX: NODE_DESCR:",e.yytext),"NODE_DESCR";case 84:t.getLogger().debug("LEX POPPING"),this.popState();break;case 85:t.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (right): dir:",e.yytext),"DIR";case 87:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (left):",e.yytext),"DIR";case 88:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (x):",e.yytext),"DIR";case 89:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (y):",e.yytext),"DIR";case 90:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (up):",e.yytext),"DIR";case 91:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (down):",e.yytext),"DIR";case 92:return e.yytext="]>",t.getLogger().debug("Lex (ARROW_DIR end):",e.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 94:case 95:case 96:return t.getLogger().debug("Lex: LINK",e.yytext),15;case 97:case 98:case 99:return t.getLogger().debug("Lex: START_LINK",e.yytext),this.pushState("LLABEL"),16;case 101:return t.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 103:case 104:return this.popState(),t.getLogger().debug("Lex: LINK",e.yytext),15;case 105:return t.getLogger().debug("Lex: COLON",e.yytext),e.yytext=e.yytext.slice(1),27}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}};function m(){this.yy={}}return f.lexer=x,(0,l.eW)(m,"Parser"),m.prototype=f,f.Parser=m,new m}();u.parser=u;var p=new Map,y=[],b=new Map,f="color",x="fill",m=(0,l.nV)(),w=new Map,_=(0,l.eW)(t=>l.SY.sanitizeText(t,m),"sanitizeText"),k=(0,l.eW)(function(t,e=""){let r=w.get(t);!r&&(r={id:t,styles:[],textStyles:[]},w.set(t,r)),null!=e&&e.split(",").forEach(t=>{let e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(f).exec(t)){let t=e.replace(x,"bgFill").replace(f,x);r.textStyles.push(t)}r.styles.push(e)})},"addStyleClass"),L=(0,l.eW)(function(t,e=""){let r=p.get(t);null!=e&&(r.styles=e.split(","))},"addStyle2Node"),S=(0,l.eW)(function(t,e){t.split(",").forEach(function(t){let r=p.get(t);if(void 0===r){let e=t.trim();r={id:e,type:"na",children:[]},p.set(e,r)}!r.classes&&(r.classes=[]),r.classes.push(e)})},"setCssClass"),E=(0,l.eW)((t,e)=>{let r=t.flat(),a=[];for(let t of r){if(t.label&&(t.label=_(t.label)),"classDef"===t.type){k(t.id,t.css);continue}if("applyClass"===t.type){S(t.id,t?.styleClass??"");continue}if("applyStyles"===t.type){t?.stylesStr&&L(t.id,t?.stylesStr);continue}if("column-setting"===t.type)e.columns=t.columns??-1;else if("edge"===t.type){let e=(b.get(t.id)??0)+1;b.set(t.id,e),t.id=e+"-"+t.id,y.push(t)}else{!t.label&&("composite"===t.type?t.label="":t.label=t.id);let e=p.get(t.id);if(void 0===e?p.set(t.id,t):("na"!==t.type&&(e.type=t.type),t.label!==t.id&&(e.label=t.label)),t.children&&E(t.children,t),"space"===t.type){let e=t.width??1;for(let r=0;r{l.cM.debug("Clear called"),(0,l.ZH)(),p=new Map([["root",W={id:"root",type:"composite",children:[],columns:-1}]]),v=[],w=new Map,y=[],b=new Map},"clear");function C(t){switch(l.cM.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return l.cM.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function N(t){if(l.cM.debug("typeStr2Type",t),"=="===t)return"thick";return"normal"}function $(t){switch(t.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}}(0,l.eW)(C,"typeStr2Type"),(0,l.eW)(N,"edgeTypeStr2Type"),(0,l.eW)($,"edgeStrToEdgeData");var M=0,T=(0,l.eW)(()=>(M++,"id-"+Math.random().toString(36).substr(2,12)+"-"+M),"generateId"),O=(0,l.eW)(t=>{W.children=t,E(t,W),v=W.children},"setHierarchy"),I=(0,l.eW)(t=>{let e=p.get(t);return e?e.columns?e.columns:e.children?e.children.length:-1:-1},"getColumns"),B=(0,l.eW)(()=>[...p.values()],"getBlocksFlat"),z=(0,l.eW)(()=>v||[],"getBlocks"),R=(0,l.eW)(()=>y,"getEdges"),A=(0,l.eW)(t=>p.get(t),"getBlock"),P=(0,l.eW)(t=>{p.set(t.id,t)},"setBlock"),Y=(0,l.eW)(()=>console,"getLogger"),Z=(0,l.eW)(function(){return w},"getClasses"),F={getConfig:(0,l.eW)(()=>(0,l.iE)().block,"getConfig"),typeStr2Type:C,edgeTypeStr2Type:N,edgeStrToEdgeData:$,getLogger:Y,getBlocksFlat:B,getBlocks:z,getEdges:R,setHierarchy:O,getBlock:A,setBlock:P,getColumns:I,getClasses:Z,clear:D,generateId:T},j=(0,l.eW)((t,e)=>{let r=d.Z,a=r(t,"r"),i=r(t,"g"),s=r(t,"b");return c.Z(a,i,s,e)},"fade"),X=(0,l.eW)(t=>`.label { + font-family: ${t.fontFamily}; + color: ${t.nodeTextColor||t.textColor}; + } + .cluster-label text { + fill: ${t.titleColor}; + } + .cluster-label span,p { + color: ${t.titleColor}; + } + + + + .label text,span,p { + fill: ${t.nodeTextColor||t.textColor}; + color: ${t.nodeTextColor||t.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: 1px; + } + .flowchart-label text { + text-anchor: middle; + } + // .flowchart-label .text-outer-tspan { + // text-anchor: middle; + // } + // .flowchart-label .text-inner-tspan { + // text-anchor: start; + // } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${t.arrowheadColor}; + } + + .edgePath .path { + stroke: ${t.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${t.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${t.edgeLabelBackground}; + rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; + } + + /* For html labels only */ + .labelBkg { + background-color: ${j(t.edgeLabelBackground,.5)}; + // background-color: + } + + .node .cluster { + // fill: ${j(t.mainBkg,.5)}; + fill: ${j(t.clusterBkg,.5)}; + stroke: ${j(t.clusterBorder,.2)}; + box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; + stroke-width: 1px; + } + + .cluster text { + fill: ${t.titleColor}; + } + + .cluster span,p { + color: ${t.titleColor}; + } + /* .cluster div { + color: ${t.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${t.fontFamily}; + font-size: 12px; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } +`,"getStyles"),H=(0,l.eW)((t,e,r,a)=>{e.forEach(e=>{te[e](t,r,a)})},"insertMarkers"),U=(0,l.eW)((t,e,r)=>{l.cM.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).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",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),K=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).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",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).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")},"composition"),V=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).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",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).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"),q=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).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",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).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")},"dependency"),G=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),J=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).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",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).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")},"point"),Q=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"circle"),tt=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+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",r+"_"+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")},"cross"),te={extension:U,composition:K,aggregation:V,dependency:q,lollipop:G,point:J,circle:Q,cross:tt,barb:(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+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")},"barb")},tr=l.nV()?.block?.padding??8;function ta(t,e){if(0===t||!Number.isInteger(t))throw Error("Columns must be an integer !== 0.");if(e<0||!Number.isInteger(e))throw Error("Position must be a non-negative integer."+e);if(t<0)return{px:e,py:0};if(1===t)return{px:0,py:e};let r=Math.floor(e/t);return{px:e%t,py:r}}(0,l.eW)(ta,"calculateBlockPosition");var ti=(0,l.eW)(t=>{let e=0,r=0;for(let a of t.children){let{width:i,height:s,x:n,y:o}=a.size??{width:0,height:0,x:0,y:0};if(l.cM.debug("getMaxChildSize abc95 child:",a.id,"width:",i,"height:",s,"x:",n,"y:",o,a.type),"space"!==a.type)i>e&&(e=i/(t.widthInColumns??1)),s>r&&(r=s)}return{width:e,height:r}},"getMaxChildSize");function ts(t,e,r=0,a=0){l.cM.debug("setBlockSizes abc95 (start)",t.id,t?.size?.x,"block width =",t?.size,"sieblingWidth",r),!t?.size?.width&&(t.size={width:r,height:a,x:0,y:0});let i=0,s=0;if(t.children?.length>0){for(let r of t.children)ts(r,e);let n=ti(t);for(let e of(i=n.width,s=n.height,l.cM.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",i,s),t.children))e.size&&(l.cM.debug(`abc95 Setting size of children of ${t.id} id=${e.id} ${i} ${s} ${JSON.stringify(e.size)}`),e.size.width=i*(e.widthInColumns??1)+tr*((e.widthInColumns??1)-1),e.size.height=s,e.size.x=0,e.size.y=0,l.cM.debug(`abc95 updating size of ${t.id} children child:${e.id} maxWidth:${i} maxHeight:${s}`));for(let r of t.children)ts(r,e,i,s);let o=t.columns??-1,d=0;for(let e of t.children)d+=e.widthInColumns??1;let c=t.children.length;o>0&&o0?Math.min(t.children.length,o):t.children.length;if(e>0){let r=(g-e*tr-tr)/e;for(let e of(l.cM.debug("abc95 (growing to fit) width",t.id,g,t.size?.width,r),t.children))e.size&&(e.size.width=r)}}t.size={width:g,height:u,x:0,y:0}}l.cM.debug("setBlockSizes abc94 (done)",t.id,t?.size?.x,t?.size?.width,t?.size?.y,t?.size?.height)}function tn(t,e){l.cM.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`);let r=t.columns??-1;if(l.cM.debug("layoutBlocks columns abc95",t.id,"=>",r,t),t.children&&t.children.length>0){let a=t?.children[0]?.size?.width??0,i=t.children.length*a+(t.children.length-1)*tr;l.cM.debug("widthOfChildren 88",i,"posX");let s=0;l.cM.debug("abc91 block?.size?.x",t.id,t?.size?.x);let n=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-tr,o=0;for(let a of t.children){if(!a.size)continue;let{width:i,height:d}=a.size,{px:c,py:h}=ta(r,s);if(h!=o&&(o=h,n=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-tr,l.cM.debug("New row in layout for block",t.id," and child ",a.id,o)),l.cM.debug(`abc89 layout blocks (child) id: ${a.id} Pos: ${s} (px, py) ${c},${h} (${t?.size?.x},${t?.size?.y}) parent: ${t.id} width: ${i}${tr}`),t.size){let e=i/2;a.size.x=n+tr+e,l.cM.debug(`abc91 layout blocks (calc) px, pyid:${a.id} startingPos=X${n} new startingPosX${a.size.x} ${e} padding=${tr} width=${i} halfWidth=${e} => x:${a.size.x} y:${a.size.y} ${a.widthInColumns} (width * (child?.w || 1)) / 2 ${i*(a?.widthInColumns??1)/2}`),n=a.size.x+e,a.size.y=t.size.y-t.size.height/2+h*(d+tr)+d/2+tr,l.cM.debug(`abc88 layout blocks (calc) px, pyid:${a.id}startingPosX${n}${tr}${e}=>x:${a.size.x}y:${a.size.y}${a.widthInColumns}(width * (child?.w || 1)) / 2${i*(a?.widthInColumns??1)/2}`)}a.children&&tn(a,e),s+=a?.widthInColumns??1,l.cM.debug("abc88 columnsPos",a,s)}}l.cM.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`)}function tl(t,{minX:e,minY:r,maxX:a,maxY:i}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&"root"!==t.id){let{x:s,y:n,width:l,height:o}=t.size;s-l/2a&&(a=s+l/2),n+o/2>i&&(i=n+o/2)}if(t.children)for(let s of t.children)({minX:e,minY:r,maxX:a,maxY:i}=tl(s,{minX:e,minY:r,maxX:a,maxY:i}));return{minX:e,minY:r,maxX:a,maxY:i}}function to(t){let e=t.getBlock("root");if(!e)return;ts(e,t,0,0),tn(e,t),l.cM.debug("getBlocks",JSON.stringify(e,null,2));let{minX:r,minY:a,maxX:i,maxY:s}=tl(e);return{x:r,y:a,width:i-r,height:s-a}}function td(t,e){e&&t.attr("style",e)}function tc(t){let e=(0,h.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),a=t.label,i=t.isNode?"nodeLabel":"edgeLabel",s=r.append("span");return s.html(a),td(s,t.labelStyle),s.attr("class",i),td(r,t.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}(0,l.eW)(ts,"setBlockSizes"),(0,l.eW)(tn,"layoutBlocks"),(0,l.eW)(tl,"findBounds"),(0,l.eW)(to,"layout"),(0,l.eW)(td,"applyStyle"),(0,l.eW)(tc,"addHtmlLabel");var th=(0,l.eW)((t,e,r,a)=>{let i=t||"";if("object"==typeof i&&(i=i[0]),(0,l.ku)((0,l.nV)().flowchart.htmlLabels))return i=i.replace(/\\n|\n/g,"
    "),l.cM.debug("vertexText"+i),tc({isNode:a,label:(0,s.EY)((0,n.SH)(i)),labelStyle:e.replace("fill:","color:")});{let t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let a=[];for(let e of a="string"==typeof i?i.split(/\\n|\n|/gi):Array.isArray(i)?i:[]){let a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),r?a.setAttribute("class","title-row"):a.setAttribute("class","row"),a.textContent=e.trim(),t.appendChild(a)}return t}},"createLabel"),tg=(0,l.eW)((t,e,r,a,i)=>{e.arrowTypeStart&&tp(t,"start",e.arrowTypeStart,r,a,i),e.arrowTypeEnd&&tp(t,"end",e.arrowTypeEnd,r,a,i)},"addEdgeMarkers"),tu={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},tp=(0,l.eW)((t,e,r,a,i,s)=>{let n=tu[r];if(!n){l.cM.warn(`Unknown arrow type: ${r}`);return}t.attr(`marker-${e}`,`url(${a}#${i}_${s}-${n}${"start"===e?"Start":"End"})`)},"addEdgeMarker"),ty={},tb={},tf=(0,l.eW)((t,e)=>{let r;let a=(0,l.nV)(),i=(0,l.ku)(a.flowchart.htmlLabels),n="markdown"===e.labelType?(0,s.rw)(t,e.label,{style:e.labelStyle,useHtmlLabels:i,addSvgBackground:!0},a):th(e.label,e.labelStyle),o=t.insert("g").attr("class","edgeLabel"),d=o.insert("g").attr("class","label");d.node().appendChild(n);let c=n.getBBox();if(i){let t=n.children[0],e=(0,h.Ys)(n);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}if(d.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),ty[e.id]=o,e.width=c.width,e.height=c.height,e.startLabelLeft){let a=th(e.startLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),!tb[e.id]&&(tb[e.id]={}),tb[e.id].startLeft=i,tx(r,e.startLabelLeft)}if(e.startLabelRight){let a=th(e.startLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=i.node().appendChild(a),s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),!tb[e.id]&&(tb[e.id]={}),tb[e.id].startRight=i,tx(r,e.startLabelRight)}if(e.endLabelLeft){let a=th(e.endLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),i.node().appendChild(a),!tb[e.id]&&(tb[e.id]={}),tb[e.id].endLeft=i,tx(r,e.endLabelLeft)}if(e.endLabelRight){let a=th(e.endLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner");r=s.node().appendChild(a);let n=a.getBBox();s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),i.node().appendChild(a),!tb[e.id]&&(tb[e.id]={}),tb[e.id].endRight=i,tx(r,e.endLabelRight)}return n},"insertEdgeLabel");function tx(t,e){(0,l.nV)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,l.eW)(tx,"setTerminalWidth");var tm=(0,l.eW)((t,e)=>{l.cM.debug("Moving label abc88 ",t.id,t.label,ty[t.id],e);let r=e.updatedPath?e.updatedPath:e.originalPath,a=(0,l.nV)(),{subGraphTitleTotalMargin:s}=(0,i.L)(a);if(t.label){let a=ty[t.id],i=t.x,o=t.y;if(r){let a=n.w8.calcLabelPosition(r);l.cM.debug("Moving label "+t.label+" from (",i,",",o,") to (",a.x,",",a.y,") abc88"),e.updatedPath&&(i=a.x,o=a.y)}a.attr("transform",`translate(${i}, ${o+s/2})`)}if(t.startLabelLeft){let e=tb[t.id].startLeft,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.startLabelRight){let e=tb[t.id].startRight,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.endLabelLeft){let e=tb[t.id].endLeft,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.endLabelRight){let e=tb[t.id].endRight,a=t.x,i=t.y;if(r){let e=n.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}},"positionEdgeLabel"),tw=(0,l.eW)((t,e)=>{let r=t.x,a=t.y,i=Math.abs(e.x-r),s=Math.abs(e.y-a),n=t.width/2,l=t.height/2;return!!(i>=n)||!!(s>=l)||!1},"outsideNode"),t_=(0,l.eW)((t,e,r)=>{l.cM.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(e)} + insidePoint : ${JSON.stringify(r)} + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let a=t.x,i=t.y,s=Math.abs(a-r.x),n=t.width/2,o=r.xMath.abs(a-e.x)*d){let t=r.y{l.cM.debug("abc88 cutPathAtIntersect",t,e);let r=[],a=t[0],i=!1;return t.forEach(t=>{if(tw(e,t)||i)a=t,!i&&r.push(t);else{let s=t_(e,a,t),n=!1;r.forEach(t=>{n=n||t.x===s.x&&t.y===s.y}),!r.some(t=>t.x===s.x&&t.y===s.y)&&r.push(s),i=!0}}),r},"cutPathAtIntersect"),tL=(0,l.eW)(function(t,e,r,i,s,n,o){let d,c=r.points;l.cM.debug("abc88 InsertEdge: edge=",r,"e=",e);let g=!1,u=n.node(e.v);var p=n.node(e.w);p?.intersect&&u?.intersect&&((c=c.slice(1,r.points.length-1)).unshift(u.intersect(c[0])),c.push(p.intersect(c[c.length-1]))),r.toCluster&&(l.cM.debug("to cluster abc88",i[r.toCluster]),c=tk(r.points,i[r.toCluster].node),g=!0),r.fromCluster&&(l.cM.debug("from cluster abc88",i[r.fromCluster]),c=tk(c.reverse(),i[r.fromCluster].node).reverse(),g=!0);let y=c.filter(t=>!Number.isNaN(t.y)),b=h.$0Z;r.curve&&("graph"===s||"flowchart"===s)&&(b=r.curve);let{x:f,y:x}=(0,a.o)(r),m=(0,h.jvg)().x(f).y(x).curve(b);switch(r.thickness){case"normal":d="edge-thickness-normal";break;case"thick":case"invisible":d="edge-thickness-thick";break;default:d=""}switch(r.pattern){case"solid":d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}let w=t.append("path").attr("d",m(y)).attr("id",r.id).attr("class"," "+d+(r.classes?" "+r.classes:"")).attr("style",r.style),_="";((0,l.nV)().flowchart.arrowMarkerAbsolute||(0,l.nV)().state.arrowMarkerAbsolute)&&(_=(_=(_=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),tg(w,r,_,o,s);let k={};return g&&(k.updatedPath=c),k.originalPath=r.points,k},"insertEdge"),tS=(0,l.eW)(t=>{let e=new Set;for(let r of t)switch(r){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(r)}return e},"expandAndDeduplicateDirections"),tE=(0,l.eW)((t,e,r)=>{let a=tS(t),i=e.height+2*r.padding,s=i/2,n=e.width+2*s+r.padding,l=r.padding/2;return a.has("right")&&a.has("left")&&a.has("up")&&a.has("down")?[{x:0,y:0},{x:s,y:0},{x:n/2,y:2*l},{x:n-s,y:0},{x:n,y:0},{x:n,y:-i/3},{x:n+2*l,y:-i/2},{x:n,y:-2*i/3},{x:n,y:-i},{x:n-s,y:-i},{x:n/2,y:-i-2*l},{x:s,y:-i},{x:0,y:-i},{x:0,y:-2*i/3},{x:-2*l,y:-i/2},{x:0,y:-i/3}]:a.has("right")&&a.has("left")&&a.has("up")?[{x:s,y:0},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:s,y:-i},{x:0,y:-i/2}]:a.has("right")&&a.has("left")&&a.has("down")?[{x:0,y:0},{x:s,y:-i},{x:n-s,y:-i},{x:n,y:0}]:a.has("right")&&a.has("up")&&a.has("down")?[{x:0,y:0},{x:n,y:-s},{x:n,y:-i+s},{x:0,y:-i}]:a.has("left")&&a.has("up")&&a.has("down")?[{x:n,y:0},{x:0,y:-s},{x:0,y:-i+s},{x:n,y:-i}]:a.has("right")&&a.has("left")?[{x:s,y:0},{x:s,y:-l},{x:n-s,y:-l},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:n-s,y:-i+l},{x:s,y:-i+l},{x:s,y:-i},{x:0,y:-i/2}]:a.has("up")&&a.has("down")?[{x:n/2,y:0},{x:0,y:-l},{x:s,y:-l},{x:s,y:-i+l},{x:0,y:-i+l},{x:n/2,y:-i},{x:n,y:-i+l},{x:n-s,y:-i+l},{x:n-s,y:-l},{x:n,y:-l}]:a.has("right")&&a.has("up")?[{x:0,y:0},{x:n,y:-s},{x:0,y:-i}]:a.has("right")&&a.has("down")?[{x:0,y:0},{x:n,y:0},{x:0,y:-i}]:a.has("left")&&a.has("up")?[{x:n,y:0},{x:0,y:-s},{x:n,y:-i}]:a.has("left")&&a.has("down")?[{x:n,y:0},{x:0,y:0},{x:n,y:-i}]:a.has("right")?[{x:s,y:-l},{x:s,y:-l},{x:n-s,y:-l},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:n-s,y:-i+l},{x:s,y:-i+l},{x:s,y:-i+l}]:a.has("left")?[{x:s,y:0},{x:s,y:-l},{x:n-s,y:-l},{x:n-s,y:-i+l},{x:s,y:-i+l},{x:s,y:-i},{x:0,y:-i/2}]:a.has("up")?[{x:s,y:-l},{x:s,y:-i+l},{x:0,y:-i+l},{x:n/2,y:-i},{x:n,y:-i+l},{x:n-s,y:-i+l},{x:n-s,y:-l}]:a.has("down")?[{x:n/2,y:0},{x:0,y:-l},{x:s,y:-l},{x:s,y:-i+l},{x:n-s,y:-i+l},{x:n-s,y:-l},{x:n,y:-l}]:[{x:0,y:0}]},"getArrowPoints");function tv(t,e){return t.intersect(e)}(0,l.eW)(tv,"intersectNode");function tW(t,e,r,a){var i=t.x,s=t.y,n=i-a.x,l=s-a.y,o=Math.sqrt(e*e*l*l+r*r*n*n),d=Math.abs(e*r*n/o);a.x0}(0,l.eW)(tC,"intersectLine"),(0,l.eW)(tN,"sameSign");function t$(t,e,r){var a=t.x,i=t.y,s=[],n=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach(function(t){n=Math.min(n,t.x),l=Math.min(l,t.y)}):(n=Math.min(n,e.x),l=Math.min(l,e.y));for(var o=a-t.width/2-n,d=i-t.height/2-l,c=0;c1&&s.sort(function(t,e){var a=t.x-r.x,i=t.y-r.y,s=Math.sqrt(a*a+i*i),n=e.x-r.x,l=e.y-r.y,o=Math.sqrt(n*n+l*l);return s{var r,a,i=t.x,s=t.y,n=e.x-i,l=e.y-s,o=t.width/2,d=t.height/2;return Math.abs(l)*o>Math.abs(n)*d?(l<0&&(d=-d),r=0===l?0:d*n/l,a=d):(n<0&&(o=-o),r=o,a=0===n?0:o*l/n),{x:i+r,y:s+a}},"intersectRect"),tT=tD,tO=t$,tI=tM,tB=(0,l.eW)(async(t,e,r,a)=>{let i,o,d;let c=(0,l.nV)(),g=e.useHtmlLabels||(0,l.ku)(c.flowchart.htmlLabels);i=r?r:"node default";let u=t.insert("g").attr("class",i).attr("id",e.domId||e.id),p=u.insert("g").attr("class","label").attr("style",e.labelStyle);o=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];let y=p.node(),b=(d="markdown"===e.labelType?(0,s.rw)(p,(0,l.oO)((0,n.SH)(o),c),{useHtmlLabels:g,width:e.width||c.flowchart.wrappingWidth,classes:"markdown-node-label"},c):y.appendChild(th((0,l.oO)((0,n.SH)(o),c),e.labelStyle,!1,a))).getBBox(),f=e.padding/2;if((0,l.ku)(c.flowchart.htmlLabels)){let t=d.children[0],e=(0,h.Ys)(d),r=t.getElementsByTagName("img");if(r){let t=""===o.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function a(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=c.fontSize?c.fontSize:window.getComputedStyle(document.body).fontSize,r=5*parseInt(t,10)+"px";e.style.minWidth=r,e.style.maxWidth=r}else e.style.width="100%";r(e)}(0,l.eW)(a,"setupImage"),setTimeout(()=>{e.complete&&a()}),e.addEventListener("error",a),e.addEventListener("load",a)})))}b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}return g?p.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"):p.attr("transform","translate(0, "+-b.height/2+")"),e.centerLabel&&p.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"),p.insert("rect",":first-child"),{shapeSvg:u,bbox:b,halfPadding:f,label:p}},"labelHelper"),tz=(0,l.eW)((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds");function tR(t,e,r,a){return t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}(0,l.eW)(tR,"insertPolygonShape");var tA=(0,l.eW)(async(t,e)=>{!(e.useHtmlLabels||(0,l.nV)().flowchart.htmlLabels)&&(e.centerLabel=!0);let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,"node "+e.classes,!0);l.cM.info("Classes = ",e.classes);let s=r.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-a.width/2-i).attr("y",-a.height/2-i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),tz(e,s),e.intersect=function(t){return tI(e,t)},r},"note"),tP=(0,l.eW)(t=>t?" "+t:"","formatClass"),tY=(0,l.eW)((t,e)=>`${e||"node default"}${tP(t.classes)} ${tP(t.class)}`,"getClassesFromNode"),tZ=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=i+(a.height+e.padding),n=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}];l.cM.info("Question main (Circle)");let o=tR(r,s,s,n);return o.attr("style",e.style),tz(e,o),e.intersect=function(t){return l.cM.warn("Intersect called"),tO(e,n,t)},r},"question"),tF=(0,l.eW)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(t){return t.x+","+t.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return tT(e,14,t)},r},"choice"),tj=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.height+e.padding,s=i/4,n=a.width+2*s+e.padding,l=[{x:s,y:0},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:s,y:-i},{x:0,y:-i/2}],o=tR(r,n,i,l);return o.attr("style",e.style),tz(e,o),e.intersect=function(t){return tO(e,l,t)},r},"hexagon"),tX=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,void 0,!0),i=a.height+2*e.padding,s=i/2,n=a.width+2*s+e.padding,l=tE(e.directions,a,e),o=tR(r,n,i,l);return o.attr("style",e.style),tz(e,o),e.intersect=function(t){return tO(e,l,t)},r},"block_arrow"),tH=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-s/2,y:0},{x:i,y:0},{x:i,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return tR(r,i,s,n).attr("style",e.style),e.width=i+s,e.height=s,e.intersect=function(t){return tO(e,n,t)},r},"rect_left_inv_arrow"),tU=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-2*s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"lean_right"),tK=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:2*s/6,y:0},{x:i+s/6,y:0},{x:i-2*s/6,y:-s},{x:-s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"lean_left"),tV=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-2*s/6,y:0},{x:i+2*s/6,y:0},{x:i-s/6,y:-s},{x:s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"trapezoid"),tq=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:-2*s/6,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"inv_trapezoid"),tG=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:0,y:0},{x:i+s/2,y:0},{x:i,y:-s/2},{x:i+s/2,y:-s},{x:0,y:-s}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"rect_right_inv_arrow"),tJ=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=i/2,n=s/(2.5+i/50),l=a.height+n+e.padding,o=r.attr("label-offset-y",n).insert("path",":first-child").attr("style",e.style).attr("d","M 0,"+n+" a "+s+","+n+" 0,0,0 "+i+" 0 a "+s+","+n+" 0,0,0 "+-i+" 0 l 0,"+l+" a "+s+","+n+" 0,0,0 "+i+" 0 l 0,"+-l).attr("transform","translate("+-i/2+","+-(l/2+n)+")");return tz(e,o),e.intersect=function(t){let r=tI(e,t),a=r.x-e.x;if(0!=s&&(Math.abs(a)e.height/2-n)){let i=n*n*(1-a*a/(s*s));0!=i&&(i=Math.sqrt(i)),i=n-i,t.y-e.y>0&&(i=-i),r.y+=i}return r},r},"cylinder"),tQ=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,"node "+e.classes+" "+e.class,!0),s=r.insert("rect",":first-child"),n=e.positioned?e.width:a.width+e.padding,o=e.positioned?e.height:a.height+e.padding,d=e.positioned?-n/2:-a.width/2-i,c=e.positioned?-o/2:-a.height/2-i;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",c).attr("width",n).attr("height",o),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t2(s,e.props.borders,n,o),t.delete("borders")),t.forEach(t=>{l.cM.warn(`Unknown node property ${t}`)})}return tz(e,s),e.intersect=function(t){return tI(e,t)},r},"rect"),t0=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,"node "+e.classes,!0),s=r.insert("rect",":first-child"),n=e.positioned?e.width:a.width+e.padding,o=e.positioned?e.height:a.height+e.padding,d=e.positioned?-n/2:-a.width/2-i,c=e.positioned?-o/2:-a.height/2-i;if(s.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",c).attr("width",n).attr("height",o),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t2(s,e.props.borders,n,o),t.delete("borders")),t.forEach(t=>{l.cM.warn(`Unknown node property ${t}`)})}return tz(e,s),e.intersect=function(t){return tI(e,t)},r},"composite"),t1=(0,l.eW)(async(t,e)=>{let{shapeSvg:r}=await tB(t,e,"label",!0);l.cM.trace("Classes = ",e.class);let a=r.insert("rect",":first-child");if(a.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t2(a,e.props.borders,0,0),t.delete("borders")),t.forEach(t=>{l.cM.warn(`Unknown node property ${t}`)})}return tz(e,a),e.intersect=function(t){return tI(e,t)},r},"labelRect");function t2(t,e,r,a){let i=[],s=(0,l.eW)(t=>{i.push(t,0)},"addBorder"),n=(0,l.eW)(t=>{i.push(0,t)},"skipBorder");e.includes("t")?(l.cM.debug("add top border"),s(r)):n(r),e.includes("r")?(l.cM.debug("add right border"),s(a)):n(a),e.includes("b")?(l.cM.debug("add bottom border"),s(r)):n(r),e.includes("l")?(l.cM.debug("add left border"),s(a)):n(a),t.attr("stroke-dasharray",i.join(" "))}(0,l.eW)(t2,"applyNodePropertyBorders");var t3=(0,l.eW)((t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";let a=t.insert("g").attr("class",r).attr("id",e.domId||e.id),i=a.insert("rect",":first-child"),s=a.insert("line"),n=a.insert("g").attr("class","label"),o=e.labelText.flat?e.labelText.flat():e.labelText,d="";d="object"==typeof o?o[0]:o,l.cM.info("Label text abc79",d,o,"object"==typeof o);let c=n.node().appendChild(th(d,e.labelStyle,!0,!0)),g={width:0,height:0};if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=c.children[0],e=(0,h.Ys)(c);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}l.cM.info("Text 2",o);let u=o.slice(1,o.length),p=c.getBBox(),y=n.node().appendChild(th(u.join?u.join("
    "):u,e.labelStyle,!0,!0));if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=y.children[0],e=(0,h.Ys)(y);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}let b=e.padding/2;return(0,h.Ys)(y).attr("transform","translate( "+(g.width>p.width?0:(p.width-g.width)/2)+", "+(p.height+b+5)+")"),(0,h.Ys)(c).attr("transform","translate( "+(g.width{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.height+e.padding,s=a.width+i/4+e.padding,n=r.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-s/2).attr("y",-i/2).attr("width",s).attr("height",i);return tz(e,n),e.intersect=function(t){return tI(e,t)},r},"stadium"),t8=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,tY(e,void 0),!0),s=r.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),l.cM.info("Circle main"),tz(e,s),e.intersect=function(t){return l.cM.info("Circle intersect",e,a.width/2+i,t),tT(e,a.width/2+i,t)},r},"circle"),t5=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tB(t,e,tY(e,void 0),!0),s=r.insert("g",":first-child"),n=s.insert("circle"),o=s.insert("circle");return s.attr("class",e.class),n.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i+5).attr("width",a.width+e.padding+10).attr("height",a.height+e.padding+10),o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),l.cM.info("DoubleCircle main"),tz(e,n),e.intersect=function(t){return l.cM.info("DoubleCircle intersect",e,a.width/2+i+5,t),tT(e,a.width/2+i+5,t)},r},"doublecircle"),t9=(0,l.eW)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tB(t,e,tY(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:0,y:0},{x:i,y:0},{x:i,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],l=tR(r,i,s,n);return l.attr("style",e.style),tz(e,l),e.intersect=function(t){return tO(e,n,t)},r},"subroutine"),t6=(0,l.eW)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),tz(e,a),e.intersect=function(t){return tT(e,7,t)},r},"start"),t7=(0,l.eW)((t,e,r)=>{let a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=70,s=10;return"LR"===r&&(i=10,s=70),tz(e,a.append("rect").attr("x",-1*i/2).attr("y",-1*s/2).attr("width",i).attr("height",s).attr("class","fork-join")),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return tI(e,t)},a},"forkJoin"),et=(0,l.eW)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child"),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),a.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),tz(e,i),e.intersect=function(t){return tT(e,7,t)},r},"end"),ee={rhombus:tZ,composite:t0,question:tZ,rect:tQ,labelRect:t1,rectWithTitle:t3,choice:tF,circle:t8,doublecircle:t5,stadium:t4,hexagon:tj,block_arrow:tX,rect_left_inv_arrow:tH,lean_right:tU,lean_left:tK,trapezoid:tV,inv_trapezoid:tq,rect_right_inv_arrow:tG,cylinder:tJ,start:t6,end:et,note:tA,subroutine:t9,fork:t7,join:t7,class_box:(0,l.eW)((t,e)=>{let r;let a=e.padding/2;r=e.classes?"node "+e.classes:"node default";let i=t.insert("g").attr("class",r).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),n=i.insert("line"),o=i.insert("line"),d=0,c=4,g=i.insert("g").attr("class","label"),u=0,p=e.classData.annotations?.[0],y=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",b=g.node().appendChild(th(y,e.labelStyle,!0,!0)),f=b.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=b.children[0],e=(0,h.Ys)(b);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}e.classData.annotations[0]&&(c+=f.height+4,d+=f.width);let x=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,l.nV)().flowchart.htmlLabels?x+="<"+e.classData.type+">":x+="<"+e.classData.type+">");let m=g.node().appendChild(th(x,e.labelStyle,!0,!0));(0,h.Ys)(m).attr("class","classTitle");let w=m.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=m.children[0],e=(0,h.Ys)(m);w=t.getBoundingClientRect(),e.attr("width",w.width),e.attr("height",w.height)}c+=w.height+4,w.width>d&&(d=w.width);let _=[];e.classData.members.forEach(t=>{let r=t.getDisplayDetails(),a=r.displayText;(0,l.nV)().flowchart.htmlLabels&&(a=a.replace(//g,">"));let i=g.node().appendChild(th(a,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=i.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=i.children[0],e=(0,h.Ys)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>d&&(d=s.width),c+=s.height+4,_.push(i)}),c+=8;let k=[];if(e.classData.methods.forEach(t=>{let r=t.getDisplayDetails(),a=r.displayText;(0,l.nV)().flowchart.htmlLabels&&(a=a.replace(//g,">"));let i=g.node().appendChild(th(a,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=i.getBBox();if((0,l.ku)((0,l.nV)().flowchart.htmlLabels)){let t=i.children[0],e=(0,h.Ys)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>d&&(d=s.width),c+=s.height+4,k.push(i)}),c+=8,p){let t=(d-f.width)/2;(0,h.Ys)(b).attr("transform","translate( "+(-1*d/2+t)+", "+-1*c/2+")"),u=f.height+4}let L=(d-w.width)/2;return(0,h.Ys)(m).attr("transform","translate( "+(-1*d/2+L)+", "+(-1*c/2+u)+")"),u+=w.height+4,n.attr("class","divider").attr("x1",-d/2-a).attr("x2",d/2+a).attr("y1",-c/2-a+8+u).attr("y2",-c/2-a+8+u),u+=8,_.forEach(t=>{(0,h.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*c/2+u+4)+")");let e=t?.getBBox();u+=(e?.height??0)+4}),u+=8,o.attr("class","divider").attr("x1",-d/2-a).attr("x2",d/2+a).attr("y1",-c/2-a+8+u).attr("y2",-c/2-a+8+u),u+=8,k.forEach(t=>{(0,h.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*c/2+u)+")");let e=t?.getBBox();u+=(e?.height??0)+4}),s.attr("style",e.style).attr("class","outer title-state").attr("x",-d/2-a).attr("y",-(c/2)-a).attr("width",d+e.padding).attr("height",c+e.padding),tz(e,s),e.intersect=function(t){return tI(e,t)},i},"class_box")},er={},ea=(0,l.eW)(async(t,e,r)=>{let a,i;if(e.link){let s;"sandbox"===(0,l.nV)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),a=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),i=await ee[e.shape](a,e,r)}else a=i=await ee[e.shape](t,e,r);return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),er[e.id]=a,e.haveCallback&&er[e.id].attr("class",er[e.id].attr("class")+" clickable"),a},"insertNode"),ei=(0,l.eW)(t=>{let e=er[t.id];l.cM.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode");function es(t,e,r=!1){let a;let i="default";(t?.classes?.length||0)>0&&(i=(t?.classes??[]).join(" ")),i+=" flowchart-label";let s=0,o="";switch(t.type){case"round":s=5,o="rect";break;case"composite":s=0,o="composite",a=0;break;case"square":case"group":default:o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"block_arrow":o="block_arrow";break;case"odd":case"rect_left_inv_arrow":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"doublecircle":o="doublecircle"}let d=(0,n.be)(t?.styles??[]),c=t.label,h=t.size??{width:0,height:0,x:0,y:0};return{labelStyle:d.labelStyle,shape:o,labelText:c,rx:s,ry:s,class:i,style:d.style,id:t.id,directions:t.directions,width:h.width,height:h.height,x:h.x,y:h.y,positioned:r,intersect:void 0,type:t.type,padding:a??l.iE()?.block?.padding??0}}async function en(t,e,r){let a=es(e,r,!1);if("group"===a.type)return;let i=(0,l.iE)(),s=await ea(t,a,{config:i}),n=s.node().getBBox(),o=r.getBlock(a.id);o.size={width:n.width,height:n.height,x:0,y:0,node:s},r.setBlock(o),s.remove()}async function el(t,e,r){let a=es(e,r,!0);if("space"!==r.getBlock(a.id).type){let r=(0,l.iE)();await ea(t,a,{config:r}),e.intersect=a?.intersect,ei(a)}}async function eo(t,e,r,a){for(let i of e)await a(t,i,r),i.children&&await eo(t,i.children,r,a)}async function ed(t,e,r){await eo(t,e,r,en)}async function ec(t,e,r){await eo(t,e,r,el)}async function eh(t,e,r,a,i){let s=new g.k({multigraph:!0,compound:!0});for(let t of(s.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8}),r))t.size&&s.setNode(t.id,{width:t.size.width,height:t.size.height,intersect:t.intersect});for(let r of e)if(r.start&&r.end){let e=a.getBlock(r.start),n=a.getBlock(r.end);if(e?.size&&n?.size){let a=e.size,l=n.size,o=[{x:a.x,y:a.y},{x:a.x+(l.x-a.x)/2,y:a.y+(l.y-a.y)/2},{x:l.x,y:l.y}];tL(t,{v:r.start,w:r.end,name:r.id},{...r,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:o,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",s,i),r.label&&(await tf(t,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:o,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),tm({...r,x:o[1].x,y:o[1].y},{originalPath:o}))}}}(0,l.eW)(es,"getNodeFromBlock"),(0,l.eW)(en,"calculateBlockSize"),(0,l.eW)(el,"insertBlockPositioned"),(0,l.eW)(eo,"performOperations"),(0,l.eW)(ed,"calculateBlockSizes"),(0,l.eW)(ec,"insertBlocks"),(0,l.eW)(eh,"insertEdges");var eg=(0,l.eW)(function(t,e){return e.db.getClasses()},"getClasses"),eu=(0,l.eW)(async function(t,e,r,a){let i;let{securityLevel:s,block:n}=(0,l.iE)(),o=a.db;"sandbox"===s&&(i=(0,h.Ys)("#i"+e));let d="sandbox"===s?(0,h.Ys)(i.nodes()[0].contentDocument.body):(0,h.Ys)("body"),c="sandbox"===s?d.select(`[id="${e}"]`):(0,h.Ys)(`[id="${e}"]`);H(c,["point","circle","cross"],a.type,e);let g=o.getBlocks(),u=o.getBlocksFlat(),p=o.getEdges(),y=c.insert("g").attr("class","block");await ed(y,g,o);let b=to(o);if(await ec(y,g,o),await eh(y,p,u,o,e),b){let t=Math.max(1,Math.round(.125*(b.width/b.height))),e=b.height+t+10,r=b.width+10,{useMaxWidth:a}=n;(0,l.v2)(c,e,r,!!a),l.cM.debug("Here Bounds",b,b),c.attr("viewBox",`${b.x-5} ${b.y-5} ${b.width+10} ${b.height+10}`)}},"draw"),ep={parser:u,db:F,renderer:{draw:eu,getClasses:eg},styles:X}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/3389.7ade8f65.js b/pr-preview/pr-5/assets/js/3389.7ade8f65.js new file mode 100644 index 0000000..de7acb9 --- /dev/null +++ b/pr-preview/pr-5/assets/js/3389.7ade8f65.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3389"],{49235:function(e,n,t){t.d(n,{bK:()=>nr});var r,o,i=t("82633"),u=t("22501"),a=0;let s=function(e){var n=++a;return(0,u.Z)(e)+n};var d=t("96498"),c=t("71134"),h=t("97345"),f=Math.ceil,l=Math.max;let v=function(e,n,t,r){for(var o=-1,i=l(f((n-e)/(t||1)),0),u=Array(i);i--;)u[r?i:++o]=e,e+=t;return u};var g=t("8417"),p=t("29116");let Z=function(e,n,t){return t&&"number"!=typeof t&&(0,g.Z)(e,n,t)&&(n=t=void 0),e=(0,p.Z)(e),void 0===n?(n=e,e=0):n=(0,p.Z)(n),t=void 0===t?en};var R=t("94675");let T=function(e){return e&&e.length?(0,L.Z)(e,R.Z,M):void 0};var F=t("59685"),D=t("49790"),S=t("50929"),G=t("69547");let V=function(e,n){var t={};return n=(0,G.Z)(n,3),(0,S.Z)(e,function(e,r,o){(0,D.Z)(t,r,n(e,r,o))}),t};var B=t("61925"),q=t("50540"),Y=t("29072"),z=t("52434");let A=function(){return z.Z.Date.now()};function $(e,n,t,r){var o;do o=s(r);while(e.hasNode(o));return t.dummy=n,e.setNode(o,t),o}function J(e){var n=new w.k({multigraph:e.isMultigraph()}).setGraph(e.graph());return i.Z(e.nodes(),function(t){!e.children(t).length&&n.setNode(t,e.node(t))}),i.Z(e.edges(),function(t){n.setEdge(t,e.edge(t))}),n}function K(e,n){var t,r,o=e.x,i=e.y,u=n.x-o,a=n.y-i,s=e.width/2,d=e.height/2;if(!u&&!a)throw Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*s>Math.abs(u)*d?(a<0&&(d=-d),t=d*u/a,r=d):(u<0&&(s=-s),t=s,r=s*a/u),{x:o+t,y:i+r}}function H(e){var n=h.Z(Z(U(e)+1),function(){return[]});return i.Z(e.nodes(),function(t){var r=e.node(t),o=r.rank;!B.Z(o)&&(n[o][r.order]=t)}),n}function Q(e,n,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),$(e,"border",o,n)}function U(e){return T(h.Z(e.nodes(),function(n){var t=e.node(n).rank;if(!B.Z(t))return t}))}function W(e,n){var t=A();try{return n()}finally{console.log(e+" time: "+(A()-t)+"ms")}}function X(e,n){return n()}function ee(e,n,t,r,o,i){var u=o[n][i-1],a=$(e,"border",{width:0,height:0,rank:i,borderType:n},t);o[n][i]=a,e.setParent(a,r),u&&e.setEdge(u,a,{weight:1})}function en(e){i.Z(e.nodes(),function(n){et(e.node(n))}),i.Z(e.edges(),function(n){et(e.edge(n))})}function et(e){var n=e.width;e.width=e.height,e.height=n}function er(e){e.y=-e.y}function eo(e){var n=e.x;e.x=e.y,e.y=n}var ei=t("23278");let eu=function(e,n){return e&&e.length?(0,L.Z)(e,(0,G.Z)(n,2),ei.Z):void 0};function ea(e){var n={};i.Z(e.sources(),function t(r){var o=e.node(r);if(Object.prototype.hasOwnProperty.call(n,r))return o.rank;n[r]=!0;var i=q.Z(h.Z(e.outEdges(r),function(n){return t(n.w)-e.edge(n).minlen}));return(i===Number.POSITIVE_INFINITY||null==i)&&(i=0),o.rank=i})}function es(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function ed(e){var n,t,r=new w.k({directed:!1}),o=e.nodes()[0],u=e.nodeCount();for(r.setNode(o,{});function(e,n){return i.Z(e.nodes(),function t(r){i.Z(n.nodeEdges(r),function(o){var i=o.v,u=r===i?o.w:i;!e.hasNode(u)&&!es(n,o)&&(e.setNode(u,{}),e.setEdge(r,u,{}),t(u))})}),e.nodeCount()}(r,e)u.lim&&(a=u,s=!0),eu(eh.Z(n.edges(),function(n){return s===eB(e,e.node(n.v),a)&&s!==eB(e,e.node(n.w),a)}),function(e){return es(n,e)})}function eV(e,n,t,r){var o=t.v,u=t.w;e.removeEdge(o,u),e.setEdge(r.v,r.w,{}),eD(e),eT(e,n),function(e,n){var t=ec.Z(e.nodes(),function(e){return!n.node(e).parent}),r=eM(e,t,"pre");r=r.slice(1),i.Z(r,function(t){var r=e.node(t).parent,o=n.edge(t,r),i=!1;!o&&(o=n.edge(r,t),i=!0),n.node(t).rank=n.node(r).rank+(i?o.minlen:-o.minlen)})}(e,n)}function eB(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}var eq=ea;function eY(e){eR(e)}var ez=t("96433"),eA=t("81748"),e$=t("16124"),eJ=t("89774");let eK=function(e,n,t){for(var r=-1,o=e.length,i=n.length,u={};++rn||i&&u&&s&&!a&&!d||r&&u&&s||!t&&s||!o)return 1;if(!r&&!i&&!d&&e=a)return s;return s*("desc"==t[r]?-1:1)}}return e.index-n.index},e7=function(e,n,t){n=n.length?(0,eQ.Z)(n,function(e){return(0,eL.Z)(e)?function(n){return(0,eU.Z)(n,1===e.length?e[0]:e)}:e}):[R.Z];var r=-1;return n=(0,eQ.Z)(n,(0,e0.Z)(G.Z)),eX((0,eW.Z)(e,function(e,t,o){return{criteria:(0,eQ.Z)(n,function(n){return n(e)}),index:++r,value:e}}),function(e,n){return e3(e,n,t)})};var e8=(0,t("53148").Z)(function(e,n){if(null==e)return[];var t=n.length;return t>1&&(0,g.Z)(e,n[0],n[1])?n=[]:t>2&&(0,g.Z)(n[0],n[1],n[2])&&(n=[n[0]]),e7(e,(0,eH.Z)(n,1),[])});function e4(e,n,t){for(var r;n.length&&(r=F.Z(n)).i<=t;)n.pop(),e.push(r.vs),t++;return t}function e9(e,n,t){return h.Z(n,function(n){var r,o,u,a,d;return r=e,o=n,u=t,a=function(e){for(var n;e.hasNode(n=s("_root")););return n}(r),d=new w.k({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(e){return r.node(e)}),i.Z(r.nodes(),function(e){var n=r.node(e),t=r.parent(e);(n.rank===o||n.minRank<=o&&o<=n.maxRank)&&(d.setNode(e),d.setParent(e,t||a),i.Z(r[u](e),function(n){var t=n.v===e?n.w:n.v,o=d.edge(t,e),i=B.Z(o)?0:o.weight;d.setEdge(t,e,{weight:r.edge(n).weight+i})}),Object.prototype.hasOwnProperty.call(n,"minRank")&&d.setNode(e,{borderLeft:n.borderLeft[o],borderRight:n.borderRight[o]}))}),d})}function e5(e,n){i.Z(n,function(n){i.Z(n,function(n,t){e.node(n).order=t})})}var e6=t("93898"),ne=t("45467"),nn=t("40038");function nt(e,n,t){if(n>t){var r=n;n=t,t=r}var o=e[n];!o&&(e[n]=o={}),o[t]=!0}function nr(e,n){var t=n&&n.debugTiming?W:X;t("layout",()=>{var n=t(" buildLayoutGraph",()=>(function(e){var n=new w.k({multigraph:!0,compound:!0}),t=nl(e.graph());return n.setGraph(x.Z({},ni,nf(t,no),C(t,nu))),i.Z(e.nodes(),function(t){var r=nl(e.node(t));n.setNode(t,I.Z(nf(r,na),ns)),n.setParent(t,e.parent(t))}),i.Z(e.edges(),function(t){var r=nl(e.edge(t));n.setEdge(t,x.Z({},nc,nf(r,nd),C(r,nh)))}),n})(e));t(" runLayout",()=>(function(e,n){n(" makeSpaceForEdgeLabels",()=>(function(e){var n=e.graph();n.ranksep/=2,i.Z(e.edges(),function(t){var r=e.edge(t);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})})(e)),n(" removeSelfEdges",()=>(function(e){i.Z(e.edges(),function(n){if(n.v===n.w){var t=e.node(n.v);!t.selfEdges&&(t.selfEdges=[]),t.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})})(e)),n(" acyclic",()=>{var n,t;return t="greedy"===(n=e).graph().acyclicer?function(e,n){if(1>=e.nodeCount())return[];var t=function(e,n){var t=new w.k,r=0,o=0;i.Z(e.nodes(),function(e){t.setNode(e,{v:e,in:0,out:0})}),i.Z(e.edges(),function(e){var i=t.edge(e.v,e.w)||0,u=n(e);t.setEdge(e.v,e.w,i+u),o=Math.max(o,t.node(e.v).out+=u),r=Math.max(r,t.node(e.w).in+=u)});var u=Z(o+r+3).map(function(){return new b}),a=r+1;return i.Z(t.nodes(),function(e){E(u,a,t.node(e))}),{graph:t,buckets:u,zeroIdx:a}}(e,n||_),r=function(e,n,t){for(var r,o=[],i=n[n.length-1],u=n[0];e.nodeCount();){for(;r=u.dequeue();)k(e,n,t,r);for(;r=i.dequeue();)k(e,n,t,r);if(e.nodeCount()){for(var a=n.length-2;a>0;--a)if(r=n[a].dequeue()){o=o.concat(k(e,n,t,r,!0));break}}}return o}(t.graph,t.buckets,t.zeroIdx);return c.Z(h.Z(r,function(n){return e.outEdges(n.v,n.w)}))}(n,function(e){return function(n){return e.edge(n).weight}}(n)):function(e){var n=[],t={},r={};return i.Z(e.nodes(),function o(u){if(!Object.prototype.hasOwnProperty.call(r,u))r[u]=!0,t[u]=!0,i.Z(e.outEdges(u),function(e){Object.prototype.hasOwnProperty.call(t,e.w)?n.push(e):o(e.w)}),delete t[u]}),n}(n),void i.Z(t,function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,s("rev"))})}),n(" nestingGraph.run",()=>{var n,t,r,o,u,a;return t=$(n=e,"root",{},"_root"),r=function(e){var n={};return i.Z(e.children(),function(t){!function t(r,o){var u=e.children(r);u&&u.length&&i.Z(u,function(e){t(e,o+1)}),n[r]=o}(t,1)}),n}(n),u=2*(o=T(ez.Z(r))-1)+1,n.graph().nestingRoot=t,i.Z(n.edges(),function(e){n.edge(e).minlen*=u}),a=function(e){return eA.Z(e.edges(),function(n,t){return n+e.edge(t).weight},0)}(n)+1,void(i.Z(n.children(),function(e){(function e(n,t,r,o,u,a,s){var d=n.children(s);if(!d.length){s!==t&&n.setEdge(t,s,{weight:0,minlen:r});return}var c=Q(n,"_bt"),h=Q(n,"_bb"),f=n.node(s);n.setParent(c,s),f.borderTop=c,n.setParent(h,s),f.borderBottom=h,i.Z(d,function(i){e(n,t,r,o,u,a,i);var d=n.node(i),f=d.borderTop?d.borderTop:i,l=d.borderBottom?d.borderBottom:i,v=d.borderTop?o:2*o,g=f!==l?1:u-a[s]+1;n.setEdge(c,f,{weight:v,minlen:g,nestingEdge:!0}),n.setEdge(l,h,{weight:v,minlen:g,nestingEdge:!0})}),!n.parent(s)&&n.setEdge(t,c,{weight:0,minlen:u+a[s]})})(n,t,u,a,o,r,e)}),n.graph().nodeRankFactor=u)}),n(" rank",()=>(function(e){switch(e.graph().ranker){case"network-simplex":default:(function(e){eR(e)})(e);break;case"tight-tree":(function(e){ea(e),ed(e)})(e);break;case"longest-path":eq(e)}})(J(e))),n(" injectEdgeLabelProxies",()=>(function(e){i.Z(e.edges(),function(n){var t=e.edge(n);if(t.width&&t.height){var r=e.node(n.v),o={rank:(e.node(n.w).rank-r.rank)/2+r.rank,e:n};$(e,"edge-proxy",o,"_ep")}})})(e)),n(" removeEmptyRanks",()=>{var n,t,r,o,u;return n=e,t=q.Z(h.Z(n.nodes(),function(e){return n.node(e).rank})),r=[],i.Z(n.nodes(),function(e){var o=n.node(e).rank-t;!r[o]&&(r[o]=[]),r[o].push(e)}),o=0,u=n.graph().nodeRankFactor,void i.Z(r,function(e,t){B.Z(e)&&t%u!=0?--o:o&&i.Z(e,function(e){n.node(e).rank+=o})})}),n(" nestingGraph.cleanup",()=>{var n,t;return t=(n=e).graph(),void(n.removeNode(t.nestingRoot),delete t.nestingRoot,i.Z(n.edges(),function(e){n.edge(e).nestingEdge&&n.removeEdge(e)}))}),n(" normalizeRanks",()=>{var n,t;return n=e,t=q.Z(h.Z(n.nodes(),function(e){return n.node(e).rank})),void i.Z(n.nodes(),function(e){var r=n.node(e);Y.Z(r,"rank")&&(r.rank-=t)})}),n(" assignRankMinMax",()=>(function(e){var n=0;i.Z(e.nodes(),function(t){var r=e.node(t);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,n=T(n,r.maxRank))}),e.graph().maxRank=n})(e)),n(" removeEdgeLabelProxies",()=>(function(e){i.Z(e.nodes(),function(n){var t=e.node(n);"edge-proxy"===t.dummy&&(e.edge(t.e).labelRank=t.rank,e.removeNode(n))})})(e)),n(" normalize.run",()=>{var n;(n=e).graph().dummyChains=[],i.Z(n.edges(),function(e){(function(e,n){var t,r,o=n.v,i=e.node(o).rank,u=n.w,a=e.node(u).rank,s=n.name,d=e.edge(n),c=d.labelRank;if(a!==i+1){e.removeEdge(n);var h=void 0;for(r=0,++i;i{var n,t;return t=function(e){var n={},t=0;return i.Z(e.children(),function r(o){var u=t;i.Z(e.children(o),r),n[o]={low:u,lim:t++}}),n}(n=e),void i.Z(n.graph().dummyChains,function(e){for(var r=n.node(e),o=r.edgeObj,i=function(e,n,t,r){var o,i,u=[],a=[],s=Math.min(n[t].low,n[r].low),d=Math.max(n[t].lim,n[r].lim);o=t;do o=e.parent(o),u.push(o);while(o&&(n[o].low>s||d>n[o].lim));for(i=o,o=r;(o=e.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,t,o.v,o.w),u=i.path,a=i.lca,s=0,d=u[0],c=!0;e!==o.w;){if(r=n.node(e),c){for(;(d=u[s])!==a&&n.node(d).maxRank{var n;return n=e,void i.Z(n.children(),function e(t){var r=n.children(t),o=n.node(t);if(r.length&&i.Z(r,e),Object.prototype.hasOwnProperty.call(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var u=o.minRank,a=o.maxRank+1;u(function(e){var n=U(e),t=e9(e,Z(1,n+1),"inEdges"),r=e9(e,Z(n-1,-1,-1),"outEdges");var o=(u=e,a={},s=eh.Z(u.nodes(),function(e){return!u.children(e).length}),d=T(h.Z(s,function(e){return u.node(e).rank})),f=h.Z(Z(d+1),function(){return[]}),l=e8(s,function(e){return u.node(e).rank}),i.Z(l,function e(n){!Y.Z(a,n)&&(a[n]=!0,f[u.node(n).rank].push(n),i.Z(u.successors(n),e))}),f);e5(e,o);for(var u,a,s,d,f,l,v,g=Number.POSITIVE_INFINITY,p=0,b=0;b<4;++p,++b){(function(e,n){var t=new w.k;i.Z(e,function(e){var r,o,u,a,s,d=e.graph().root,f=function e(n,t,r,o){var u,a,s,d,f,l,v,g,p,Z,w,b,m,y,_,k,E,x,O=n.children(t),N=n.node(t),P=N?N.borderLeft:void 0,j=N?N.borderRight:void 0,I={};P&&(O=eh.Z(O,function(e){return e!==P&&e!==j}));var L=(u=n,a=O,h.Z(a,function(e){var n=u.inEdges(e);if(!n.length)return{v:e};var t=eA.Z(n,function(e,n){var t=u.edge(n),r=u.node(n.v);return{sum:e.sum+t.weight*r.order,weight:e.weight+t.weight}},{sum:0,weight:0});return{v:e,barycenter:t.sum/t.weight,weight:t.weight}}));i.Z(L,function(t){if(n.children(t.v).length){var i=e(n,t.v,r,o);I[t.v]=i,Object.prototype.hasOwnProperty.call(i,"barycenter")&&function(e,n){B.Z(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}(t,i)}});var M=(s=L,d=r,f={},i.Z(s,function(e,n){var t=f[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:n};!B.Z(e.barycenter)&&(t.barycenter=e.barycenter,t.weight=e.weight)}),i.Z(d.edges(),function(e){var n=f[e.v],t=f[e.w];!B.Z(n)&&!B.Z(t)&&(t.indegree++,n.out.push(f[e.w]))}),function(e){for(var n=[];e.length;){var t=e.pop();n.push(t),i.Z(t.in.reverse(),function(e){return function(n){if(!n.merged)(B.Z(n.barycenter)||B.Z(e.barycenter)||n.barycenter>=e.barycenter)&&function(e,n){var t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight),n.weight&&(t+=n.barycenter*n.weight,r+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}(t)),i.Z(t.out,function(n){return function(t){t.in.push(n),0==--t.indegree&&e.push(t)}}(t))}return h.Z(eh.Z(n,function(e){return!e.merged}),function(e){return C(e,["vs","i","barycenter","weight"])})}(eh.Z(f,function(e){return!e.indegree})));(function(e,n){i.Z(e,function(e){e.vs=c.Z(e.vs.map(function(e){return n[e]?n[e].vs:e}))})})(M,I);var R=(l=M,v=o,b=(w=(g=l,p=function(e){return Object.prototype.hasOwnProperty.call(e,"barycenter")},Z={lhs:[],rhs:[]},i.Z(g,function(e){p(e)?Z.lhs.push(e):Z.rhs.push(e)}),Z)).lhs,m=e8(w.rhs,function(e){return-e.i}),y=[],_=0,k=0,E=0,b.sort(function(e){return function(n,t){return n.barycentert.barycenter?1:e?t.i-n.i:n.i-t.i}}(!!v)),E=e4(y,m,E),i.Z(b,function(e){E+=e.vs.length,y.push(e.vs),_+=e.barycenter*e.weight,k+=e.weight,E=e4(y,m,E)}),x={vs:c.Z(y)},k&&(x.barycenter=_/k,x.weight=k),x);if(P&&(R.vs=c.Z([P,R.vs,j]),n.predecessors(P).length)){var T=n.node(n.predecessors(P)[0]),F=n.node(n.predecessors(j)[0]);!Object.prototype.hasOwnProperty.call(R,"barycenter")&&(R.barycenter=0,R.weight=0),R.barycenter=(R.barycenter*R.weight+T.order+F.order)/(R.weight+2),R.weight+=2}return R}(e,d,t,n);i.Z(f.vs,function(n,t){e.node(n).order=t}),r=e,o=t,u=f.vs,s={},i.Z(u,function(e){for(var n,t,i=r.parent(e);i;){if((n=r.parent(i))?(t=s[n],s[n]=i):(t=a,a=i),t&&t!==i){o.setEdge(t,i);return}i=n}})})})(p%2?t:r,p%4>=2),o=H(e);var m,y=function(e,n){for(var t=0,r=1;r0;)n%2&&(t+=s[n+1]),n=n-1>>1,s[n]+=e.weight;d+=e.weight*t})),d}(e,n[r-1],n[r]);return t}(e,o);if(y(function(e){var n=H(e);i.Z(n,function(n){var t=0;i.Z(n,function(n,r){var o=e.node(n);o.order=r+t,i.Z(o.selfEdges,function(n){$(e,"selfedge",{width:n.label.width,height:n.label.height,rank:o.rank,order:r+ ++t,e:n.e,label:n.label},"_se")}),delete o.selfEdges})})})(e)),n(" adjustCoordinateSystem",()=>{var n,t;("lr"===(t=(n=e).graph().rankdir.toLowerCase())||"rl"===t)&&en(n)}),n(" position",()=>{var n,t,r,o,u,a,s,d,c,f,l,v,g,p,b,m,y,_,k,E,O;(function(e){var n=H(e),t=e.graph().ranksep,r=0;i.Z(n,function(n){var o=T(h.Z(n,function(n){return e.node(n).height}));i.Z(n,function(n){e.node(n).y=r+o/2}),r+=o+t})})(n=J(n=e)),E=(o=H(t=n),d=x.Z((u=t,a=o,s={},eA.Z(a,function(e,n){var t=0,r=0,o=e.length,a=F.Z(n);return i.Z(n,function(e,d){var c=function(e,n){if(e.node(n).dummy)return ec.Z(e.predecessors(n),function(n){return e.node(n).dummy})}(u,e),h=c?u.node(c).order:o;(c||e===a)&&(i.Z(n.slice(r,d+1),function(e){i.Z(u.predecessors(e),function(n){var r=u.node(n),o=r.order;(oa)&&nt(t,n,s)})})}return eA.Z(n,function(n,t){var o,u=-1,a=0;return i.Z(t,function(i,s){if("border"===e.node(i).dummy){var d=e.predecessors(i);d.length&&(o=e.node(d[0]).order,r(t,a,s,u,o),a=s,u=o)}r(t,a,t.length,o,n.length)}),t}),t}(t,o)),c={},i.Z(["u","d"],function(e){r="u"===e?o:ez.Z(o).reverse(),i.Z(["l","r"],function(n){"r"===n&&(r=h.Z(r,function(e){return ez.Z(e).reverse()}));var o,u,a,s,f,l,v,g=("u"===e?t.predecessors:t.successors).bind(t);var p=(o=0,u=r,a=d,s=g,f={},l={},v={},i.Z(u,function(e){i.Z(e,function(e,n){f[e]=e,l[e]=e,v[e]=n})}),i.Z(u,function(e){var n=-1;i.Z(e,function(e){var t=s(e);if(t.length){for(var r=((t=e8(t,function(e){return v[e]})).length-1)/2,o=Math.floor(r),i=Math.ceil(r);o<=i;++o){var u=t[o];l[e]===e&&nt){var r=n;n=t,t=r}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],t)}(a,e,u)&&(l[u]=e,l[e]=f[e]=f[u],n=v[u])}}})}),{root:f,align:l}),Z=function(e,n,t,r,o){var u={},a=function(e,n,t,r){var o=new w.k,u=e.graph(),a=function(e,n,t){return function(r,o,i){var u,a,s=r.node(o),d=r.node(i);if(u=0+s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":a=-s.width/2;break;case"r":a=s.width/2}if(a&&(u+=t?a:-a),a=0,u+=(s.dummy?n:e)/2,u+=(d.dummy?n:e)/2,u+=d.width/2,Object.prototype.hasOwnProperty.call(d,"labelpos"))switch(d.labelpos.toLowerCase()){case"l":a=d.width/2;break;case"r":a=-d.width/2}return a&&(u+=t?a:-a),a=0,u}}(u.nodesep,u.edgesep,r);return i.Z(n,function(n){var r;i.Z(n,function(n){var i=t[n];if(o.setNode(i),r){var u=t[r],s=o.edge(u,i);o.setEdge(u,i,Math.max(a(e,n,r),s||0))}r=n})}),o}(e,n,t,o),s=o?"borderLeft":"borderRight";function d(e,n){for(var t=a.nodes(),r=t.pop(),o={};r;)o[r]?e(r):(o[r]=!0,t.push(r),t=t.concat(n(r))),r=t.pop()}return d(function(e){u[e]=a.inEdges(e).reduce(function(e,n){return Math.max(e,u[n.v]+a.edge(n))},0)},a.predecessors.bind(a)),d(function(n){var t=a.outEdges(n).reduce(function(e,n){return Math.min(e,u[n.w]-a.edge(n))},Number.POSITIVE_INFINITY),r=e.node(n);t!==Number.POSITIVE_INFINITY&&r.borderType!==s&&(u[n]=Math.max(u[n],t))},a.successors.bind(a)),i.Z(r,function(e){u[e]=u[t[e]]}),u}(t,r,p.root,p.align,"r"===n);"r"===n&&(Z=V(Z,function(e){return-e})),c[e+n]=Z})}),v=(f=t,l=c,eu(ez.Z(l),function(e){var n,t,r=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;return n=e,t=function(e,n){var t=function(e,n){return e.node(n).width}(f,n)/2;r=Math.max(e+t,r),o=Math.min(e-t,o)},null==n||(0,ne.Z)(n,(0,e6.Z)(t),nn.Z),r-o})),g=c,p=v,b=ez.Z(p),m=q.Z(b),y=T(b),i.Z(["u","d"],function(e){i.Z(["l","r"],function(n){var t,r=e+n,o=g[r];if(o!==p){var i=ez.Z(o);(t="l"===n?m-q.Z(i):y-T(i))&&(g[r]=V(o,function(e){return e+t}))}})}),_=c,k=t.graph().align,V(_.ul,function(e,n){if(k)return _[k.toLowerCase()][n];var t=e8(h.Z(_,n));return(t[1]+t[2])/2})),O=function(e,t){n.node(t).x=e},E&&(0,S.Z)(E,(0,e6.Z)(O))}),n(" positionSelfEdges",()=>(function(e){i.Z(e.nodes(),function(n){var t=e.node(n);if("selfedge"===t.dummy){var r=e.node(t.e.v),o=r.x+r.width/2,i=r.y,u=t.x-o,a=r.height/2;e.setEdge(t.e,t.label),e.removeNode(n),t.label.points=[{x:o+2*u/3,y:i-a},{x:o+5*u/6,y:i-a},{x:o+u,y:i},{x:o+5*u/6,y:i+a},{x:o+2*u/3,y:i+a}],t.label.x=t.x,t.label.y=t.y}})})(e)),n(" removeBorderNodes",()=>(function(e){i.Z(e.nodes(),function(n){if(e.children(n).length){var t=e.node(n),r=e.node(t.borderTop),o=e.node(t.borderBottom),i=e.node(F.Z(t.borderLeft)),u=e.node(F.Z(t.borderRight));t.width=Math.abs(u.x-i.x),t.height=Math.abs(o.y-r.y),t.x=i.x+t.width/2,t.y=r.y+t.height/2}}),i.Z(e.nodes(),function(n){"border"===e.node(n).dummy&&e.removeNode(n)})})(e)),n(" normalize.undo",()=>{var n;return n=e,void i.Z(n.graph().dummyChains,function(e){var t,r=n.node(e),o=r.edgeLabel;for(n.setEdge(r.edgeObj,o);r.dummy;)t=n.successors(e)[0],n.removeNode(e),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),e=t,r=n.node(e)})}),n(" fixupEdgeLabelCoords",()=>(function(e){i.Z(e.edges(),function(n){var t=e.edge(n);if(Object.prototype.hasOwnProperty.call(t,"x"))switch(("l"===t.labelpos||"r"===t.labelpos)&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}})})(e)),n(" undoCoordinateSystem",()=>{var n,t;("bt"===(t=(n=e).graph().rankdir.toLowerCase())||"rl"===t)&&function(e){i.Z(e.nodes(),function(n){er(e.node(n))}),i.Z(e.edges(),function(n){var t=e.edge(n);i.Z(t.points,er),Object.prototype.hasOwnProperty.call(t,"y")&&er(t)})}(n),("lr"===t||"rl"===t)&&(function(e){i.Z(e.nodes(),function(n){eo(e.node(n))}),i.Z(e.edges(),function(n){var t=e.edge(n);i.Z(t.points,eo),Object.prototype.hasOwnProperty.call(t,"x")&&eo(t)})}(n),en(n))}),n(" translateGraph",()=>(function(e){var n=Number.POSITIVE_INFINITY,t=0,r=Number.POSITIVE_INFINITY,o=0,u=e.graph(),a=u.marginx||0,s=u.marginy||0;function d(e){var i=e.x,u=e.y,a=e.width,s=e.height;n=Math.min(n,i-a/2),t=Math.max(t,i+a/2),r=Math.min(r,u-s/2),o=Math.max(o,u+s/2)}i.Z(e.nodes(),function(n){d(e.node(n))}),i.Z(e.edges(),function(n){var t=e.edge(n);Object.prototype.hasOwnProperty.call(t,"x")&&d(t)}),n-=a,r-=s,i.Z(e.nodes(),function(t){var o=e.node(t);o.x-=n,o.y-=r}),i.Z(e.edges(),function(t){var o=e.edge(t);i.Z(o.points,function(e){e.x-=n,e.y-=r}),Object.prototype.hasOwnProperty.call(o,"x")&&(o.x-=n),Object.prototype.hasOwnProperty.call(o,"y")&&(o.y-=r)}),u.width=t-n+a,u.height=o-r+s})(e)),n(" assignNodeIntersects",()=>(function(e){i.Z(e.edges(),function(n){var t,r,o=e.edge(n),i=e.node(n.v),u=e.node(n.w);o.points?(t=o.points[0],r=o.points[o.points.length-1]):(o.points=[],t=u,r=i),o.points.unshift(K(i,t)),o.points.push(K(u,r))})})(e)),n(" reversePoints",()=>(function(e){i.Z(e.edges(),function(n){var t=e.edge(n);t.reversed&&t.points.reverse()})})(e)),n(" acyclic.undo",()=>{var n;return n=e,void i.Z(n.edges(),function(e){var t=n.edge(e);if(t.reversed){n.removeEdge(e);var r=t.forwardName;delete t.reversed,delete t.forwardName,n.setEdge(e.w,e.v,t,r)}})})})(n,t)),t(" updateInputGraph",()=>(function(e,n){i.Z(e.nodes(),function(t){var r=e.node(t),o=n.node(t);r&&(r.x=o.x,r.y=o.y,n.children(t).length&&(r.width=o.width,r.height=o.height))}),i.Z(e.edges(),function(t){var r=e.edge(t),o=n.edge(t);r.points=o.points,Object.prototype.hasOwnProperty.call(o,"x")&&(r.x=o.x,r.y=o.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height})(e,n))})}var no=["nodesep","edgesep","ranksep","marginx","marginy"],ni={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},nu=["acyclicer","ranker","rankdir","align"],na=["width","height"],ns={width:0,height:0},nd=["minlen","weight","width","height","labeloffset"],nc={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},nh=["labelpos"];function nf(e,n){return V(C(e,n),Number)}function nl(e){var n={};return i.Z(e,function(e,t){n[t.toLowerCase()]=e}),n}},61135:function(e,n,t){t.d(n,{k:()=>Z});var r=t("96498"),o=t("18782"),i=t("87074"),u=t("37627"),a=t("73217"),s=t("82633"),d=t("61925"),c=t("39446"),h=t("53148"),f=t("38610"),l=t("61322"),v=(0,h.Z)(function(e){return(0,f.Z)((0,c.Z)(e,1,l.Z,!0))}),g=t("96433"),p=t("81748");class Z{constructor(e={}){this._isDirected=!Object.prototype.hasOwnProperty.call(e,"directed")||e.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(e,"multigraph")&&e.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.Z(void 0),this._defaultEdgeLabelFn=r.Z(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),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(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return!o.Z(e)&&(e=r.Z(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return i.Z(this._nodes)}sources(){var e=this;return u.Z(this.nodes(),function(n){return a.Z(e._in[n])})}sinks(){var e=this;return u.Z(this.nodes(),function(n){return a.Z(e._out[n])})}setNodes(e,n){var t=arguments,r=this;return s.Z(e,function(e){t.length>1?r.setNode(e,n):r.setNode(e)}),this}setNode(e,n){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=n),this):(this._nodes[e]=arguments.length>1?n:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var n=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],s.Z(this.children(e),e=>{this.setParent(e)}),delete this._children[e]),s.Z(i.Z(this._in[e]),n),delete this._in[e],delete this._preds[e],s.Z(i.Z(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,n){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(d.Z(n))n="\0";else{n+="";for(var t=n;!d.Z(t);t=this.parent(t))if(t===e)throw Error("Setting "+n+" as parent of "+e+" would create a cycle");this.setNode(n)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=n,this._children[n][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var n=this._parent[e];if("\0"!==n)return n}}children(e){if(d.Z(e)&&(e="\0"),this._isCompound){var n=this._children[e];if(n)return i.Z(n)}else if("\0"===e)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var n=this._preds[e];if(n)return i.Z(n)}successors(e){var n=this._sucs[e];if(n)return i.Z(n)}neighbors(e){var n=this.predecessors(e);if(n)return v(n,this.successors(e))}isLeaf(e){var n;return 0===(n=this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var t=this;s.Z(this._nodes,function(t,r){e(r)&&n.setNode(r,t)}),s.Z(this._edgeObjs,function(e){n.hasNode(e.v)&&n.hasNode(e.w)&&n.setEdge(e,t.edge(e))});var r={};return this._isCompound&&s.Z(n.nodes(),function(e){n.setParent(e,function e(o){var i=t.parent(o);return void 0===i||n.hasNode(i)?(r[o]=i,i):i in r?r[i]:e(i)}(e))}),n}setDefaultEdgeLabel(e){return!o.Z(e)&&(e=r.Z(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return g.Z(this._edgeObjs)}setPath(e,n){var t=this,r=arguments;return p.Z(e,function(e,o){return r.length>1?t.setEdge(e,o,n):t.setEdge(e,o),o}),this}setEdge(){var e,n,t,r,o=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(e=i.v,n=i.w,t=i.name,2==arguments.length&&(r=arguments[1],o=!0)):(e=i,n=arguments[1],t=arguments[3],arguments.length>2&&(r=arguments[2],o=!0)),e=""+e,n=""+n,!d.Z(t)&&(t=""+t);var u=m(this._isDirected,e,n,t);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,u))return o&&(this._edgeLabels[u]=r),this;if(!d.Z(t)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(n),this._edgeLabels[u]=o?r:this._defaultEdgeLabelFn(e,n,t);var a=function(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,e,n,t);return e=a.v,n=a.w,Object.freeze(a),this._edgeObjs[u]=a,w(this._preds[n],e),w(this._sucs[e],n),this._in[n][u]=a,this._out[e][u]=a,this._edgeCount++,this}edge(e,n,t){var r=1==arguments.length?y(this._isDirected,arguments[0]):m(this._isDirected,e,n,t);return this._edgeLabels[r]}hasEdge(e,n,t){var r=1==arguments.length?y(this._isDirected,arguments[0]):m(this._isDirected,e,n,t);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,n,t){var r=1==arguments.length?y(this._isDirected,arguments[0]):m(this._isDirected,e,n,t),o=this._edgeObjs[r];return o&&(e=o.v,n=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],b(this._preds[n],e),b(this._sucs[e],n),delete this._in[n][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,n){var t=this._in[e];if(t){var r=g.Z(t);return n?u.Z(r,function(e){return e.v===n}):r}}outEdges(e,n){var t=this._out[e];if(t){var r=g.Z(t);return n?u.Z(r,function(e){return e.w===n}):r}}nodeEdges(e,n){var t=this.inEdges(e,n);if(t)return t.concat(this.outEdges(e,n))}}function w(e,n){e[n]?e[n]++:e[n]=1}function b(e,n){!--e[n]&&delete e[n]}function m(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}return o+"\x01"+i+"\x01"+(d.Z(r)?"\0":r)}Z.prototype._nodeCount=0,Z.prototype._edgeCount=0;function y(e,n){return m(e,n.v,n.w,n.name)}},50043:function(e,n,t){t.d(n,{k:function(){return r.k}});var r=t(61135)},91201:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(2147);let o=function(e,n,t){for(var o=-1,i=e.length;++oc});var r=t("73722"),o=t("89774"),i=t("50949"),u=t("92383"),a=t("58641"),s=t("37706");let d=function(e,n,t,r){if(!(0,a.Z)(e))return e;n=(0,i.Z)(n,e);for(var d=-1,c=n.length,h=c-1,f=e;null!=f&&++d2?n[2]:void 0;for(d&&(0,i.Z)(n[0],n[1],d)&&(r=1);++tc});var r,o=t("69547"),i=t("71581"),u=t("87074"),a=t("81208"),s=t("59578"),d=Math.max;let c=(r=function(e,n,t){var r=null==e?0:e.length;if(!r)return -1;var i=null==t?0:(0,s.Z)(t);return i<0&&(i=d(r+i,0)),(0,a.Z)(e,(0,o.Z)(n,3),i)},function(e,n,t){var a=Object(e);if(!(0,i.Z)(e)){var s=(0,o.Z)(n,3);e=(0,u.Z)(e),n=function(e){return s(a[e],e,a)}}var d=r(e,n,t);return d>-1?a[s?e[d]:d]:void 0})},71134:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(39446);let o=function(e){return(null==e?0:e.length)?(0,r.Z)(e,1):[]}},29072:function(e,n,t){t.d(n,{Z:()=>u});var r=Object.prototype.hasOwnProperty;let o=function(e,n){return null!=e&&r.call(e,n)};var i=t("87825");let u=function(e,n){return null!=e&&(0,i.Z)(e,n,o)}},27884:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(65182),o=t(31739),i=t(75887);let u=function(e){return"string"==typeof e||!(0,o.Z)(e)&&(0,i.Z)(e)&&"[object String]"==(0,r.Z)(e)}},59685:function(e,n,t){t.d(n,{Z:function(){return r}});let r=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},97345:function(e,n,t){t.d(n,{Z:function(){return a}});var r=t(96248),o=t(69547),i=t(10301),u=t(31739);let a=function(e,n){return((0,u.Z)(e)?r.Z:i.Z)(e,(0,o.Z)(n,3))}},50540:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(91201),o=t(23278),i=t(94675);let u=function(e){return e&&e.length?(0,r.Z)(e,i.Z,o.Z):void 0}},29116:function(e,n,t){t.d(n,{Z:()=>g});var r=/\s/;let o=function(e){for(var n=e.length;n--&&r.test(e.charAt(n)););return n};var i=/^\s+/,u=t("58641"),a=t("2147"),s=0/0,d=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt;let l=function(e){if("number"==typeof e)return e;if((0,a.Z)(e))return s;if((0,u.Z)(e)){var n,t="function"==typeof e.valueOf?e.valueOf():e;e=(0,u.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(n=e)?n.slice(0,o(n)+1).replace(i,""):n;var r=c.test(e);return r||h.test(e)?f(e.slice(2),r?2:8):d.test(e)?s:+e};var v=1/0;let g=function(e){return e?(e=l(e))===v||e===-v?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},59578:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(29116);let o=function(e){var n=(0,r.Z)(e),t=n%1;return n==n?t?n-t:n:0}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/34829b29.806f422a.js b/pr-preview/pr-5/assets/js/34829b29.806f422a.js new file mode 100644 index 0000000..0c5c2ad --- /dev/null +++ b/pr-preview/pr-5/assets/js/34829b29.806f422a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4494"],{76687:function(e,r,a){a.r(r),a.d(r,{metadata:()=>t,contentTitle:()=>i,default:()=>p,assets:()=>c,toc:()=>d,frontMatter:()=>o});var t=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","source":"@site/docs/docusaurus/tutorial_basics/create_a_page.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_page","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_page.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Basics","permalink":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---basics"},"next":{"title":"Create a Document","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document"}}'),s=a("85893"),n=a("50065");let o={sidebar_position:1},i="Create a Page",c={},d=[{value:"Create your first React Page",id:"create-your-first-react-page",level:2},{value:"Create your first Markdown Page",id:"create-your-first-markdown-page",level:2}];function l(e){let r={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"create-a-page",children:"Create a Page"})}),"\n",(0,s.jsxs)(r.p,{children:["Add ",(0,s.jsx)(r.strong,{children:"Markdown or React"})," files to ",(0,s.jsx)(r.code,{children:"src/pages"})," to create a ",(0,s.jsx)(r.strong,{children:"standalone page"}),":"]}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.code,{children:"src/pages/index.js"})," \u2192 ",(0,s.jsx)(r.code,{children:"localhost:3000/"})]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.code,{children:"src/pages/foo.md"})," \u2192 ",(0,s.jsx)(r.code,{children:"localhost:3000/foo"})]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.code,{children:"src/pages/foo/bar.js"})," \u2192 ",(0,s.jsx)(r.code,{children:"localhost:3000/foo/bar"})]}),"\n"]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:["Please use ",(0,s.jsx)(r.code,{children:"snake_case"})," when naming files with multiple subjects in order to be consistent with the rest of the\nrepository."]}),"\n",(0,s.jsxs)(r.li,{children:["When you create a new ",(0,s.jsx)(r.code,{children:".md"})," or ",(0,s.jsx)(r.code,{children:".mdx"})," file, please make sure to add in the appropriate\n",(0,s.jsx)(r.a,{href:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#front-matter",children:"Front Matter"})," so that your content is properly categorized."]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"create-your-first-react-page",children:"Create your first React Page"}),"\n",(0,s.jsxs)(r.p,{children:["Create a file at ",(0,s.jsx)(r.code,{children:"src/pages/my-react-page.js"}),":"]}),"\n",(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-jsx",metastring:'title="src/pages/my-react-page.js"',children:"import React from 'react';\nimport Layout from '@theme/Layout';\n\nexport default function MyReactPage() {\n return (\n \n

    My React page

    \n

    This is a React page

    \n
    \n );\n}\n"})}),"\n",(0,s.jsxs)(r.p,{children:["A new page is now available at ",(0,s.jsx)(r.a,{href:"http://localhost:3000/my-react-page",children:"http://localhost:3000/my-react-page"}),"."]}),"\n",(0,s.jsx)(r.h2,{id:"create-your-first-markdown-page",children:"Create your first Markdown Page"}),"\n",(0,s.jsxs)(r.p,{children:["Create a file at ",(0,s.jsx)(r.code,{children:"src/pages/my-markdown-page.md"}),":"]}),"\n",(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-mdx",metastring:'title="src/pages/my-markdown-page.md"',children:"# My Markdown page\n\nThis is a Markdown page\n"})}),"\n",(0,s.jsxs)(r.p,{children:["A new page is now available at ",(0,s.jsx)(r.a,{href:"http://localhost:3000/my-markdown-page",children:"http://localhost:3000/my-markdown-page"}),"."]})]})}function p(e={}){let{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},50065:function(e,r,a){a.d(r,{Z:function(){return i},a:function(){return o}});var t=a(67294);let s={},n=t.createContext(s);function o(e){let r=t.useContext(n);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/367.ca369069.js b/pr-preview/pr-5/assets/js/367.ca369069.js new file mode 100644 index 0000000..e1f6ca7 --- /dev/null +++ b/pr-preview/pr-5/assets/js/367.ca369069.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["367"],{34709:function(e,r,t){t.d(r,{diagram:function(){return u}});var n=t(92453),a=t(94159),i=t(5995),s=t(3194),d={parse:(0,i.eW)(async e=>{let r=await (0,s.Qc)("info",e);i.cM.debug(r)},"parse")},c={version:n.i},p=(0,i.eW)(()=>c.version,"getVersion"),o=(0,i.eW)((e,r,t)=>{i.cM.debug("rendering info diagram\n"+e);let n=(0,a.P)(r);(0,i.v2)(n,100,400,!0),n.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${t}`)},"draw"),u={parser:d,db:{getVersion:p},renderer:{draw:o}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/3720c009.a7cce29b.js b/pr-preview/pr-5/assets/js/3720c009.a7cce29b.js new file mode 100644 index 0000000..387bb1c --- /dev/null +++ b/pr-preview/pr-5/assets/js/3720c009.a7cce29b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2898"],{94190:function(e,t,a){a.r(t),a.d(t,{default:()=>p});var s=a("85893");a("67294");var l=a("67026"),r=a("14713"),n=a("84681"),i=a("96025");let c=()=>(0,i.translate)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});var g=a("48627"),o=a("34403");let u="tag_Nnez";function h(e){let{letterEntry:t}=e;return(0,s.jsxs)("article",{children:[(0,s.jsx)(o.Z,{as:"h2",id:t.letter,children:t.letter}),(0,s.jsx)("ul",{className:"padding--none",children:t.tags.map(e=>(0,s.jsx)("li",{className:u,children:(0,s.jsx)(g.Z,{...e})},e.permalink))}),(0,s.jsx)("hr",{})]})}function d(e){let{tags:t}=e,a=function(e){let t={};return Object.values(e).forEach(e=>{let a=e.label[0].toUpperCase();t[a]??=[],t[a].push(e)}),Object.entries(t).sort((e,t)=>{let[a]=e,[s]=t;return a.localeCompare(s)}).map(e=>{let[t,a]=e;return{letter:t,tags:a.sort((e,t)=>e.label.localeCompare(t.label))}})}(t);return(0,s.jsx)("section",{className:"margin-vert--lg",children:a.map(e=>(0,s.jsx)(h,{letterEntry:e},e.letter))})}var j=a("84315");function m(e){let{title:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.d,{title:t}),(0,s.jsx)(j.Z,{tag:"doc_tags_list"})]})}function x(e){let{tags:t,title:a}=e;return(0,s.jsx)(r.FG,{className:(0,l.Z)(n.k.page.docsTagsListPage),children:(0,s.jsx)("div",{className:"container margin-vert--lg",children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("main",{className:"col col--8 col--offset-2",children:[(0,s.jsx)(o.Z,{as:"h1",children:a}),(0,s.jsx)(d,{tags:t})]})})})})}function p(e){let t=c();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m,{...e,title:t}),(0,s.jsx)(x,{...e,title:t})]})}},48627:function(e,t,a){a.d(t,{Z:()=>i});var s=a("85893");a("67294");var l=a("67026"),r=a("83012");let n={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function i(e){let{permalink:t,label:a,count:i,description:c}=e;return(0,s.jsxs)(r.Z,{href:t,title:c,className:(0,l.Z)(n.tag,i?n.tagWithCount:n.tagRegular),children:[a,i&&(0,s.jsx)("span",{children:i})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/3917.bffdcefe.js b/pr-preview/pr-5/assets/js/3917.bffdcefe.js new file mode 100644 index 0000000..5241c6c --- /dev/null +++ b/pr-preview/pr-5/assets/js/3917.bffdcefe.js @@ -0,0 +1,60 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3917"],{13881:function(e,t,r){var n,i;t.CancellationTokenSource=t.CancellationToken=void 0;let a=r(30147),s=r(67574),o=r(27135);(i=n||(t.CancellationToken=n={})).None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.Event.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o.Event.None}),i.is=function(e){return e&&(e===i.None||e===i.Cancelled||s.boolean(e.isCancellationRequested)&&!!e.onCancellationRequested)};let l=Object.freeze(function(e,t){let r=(0,a.default)().timer.setTimeout(e.bind(t),0);return{dispose(){r.dispose()}}});class u{constructor(){this._isCancelled=!1}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?l:(!this._emitter&&(this._emitter=new o.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}t.CancellationTokenSource=class e{get token(){return!this._token&&(this._token=new u),this._token}cancel(){this._token?this._token.cancel():this._token=n.Cancelled}dispose(){this._token?this._token instanceof u&&this._token.dispose():this._token=n.None}}},27135:function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;let i=r(30147);!function(e){let t={dispose(){}};e.None=function(){return t}}(n||(t.Event=n={}));class a{add(e,t=null,r){!this._callbacks&&(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let n=0,i=this._callbacks.length;n{!this._callbacks&&(this._callbacks=new a),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);let n={dispose:()=>{if(!!this._callbacks)this._callbacks.remove(e,t),n.dispose=s._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this)}};return Array.isArray(r)&&r.push(n),n}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}t.Emitter=s,s._noop=function(){}},67574:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0;function r(e){return"string"==typeof e||e instanceof String}t.boolean=function(e){return!0===e||!1===e},t.string=r;t.number=function(e){return"number"==typeof e||e instanceof Number};t.error=function(e){return e instanceof Error};function n(e){return Array.isArray(e)}t.func=function(e){return"function"==typeof e},t.array=n;t.stringArray=function(e){return n(e)&&e.every(e=>r(e))}},30147:function(e,t){let r;function n(){if(void 0===r)throw Error("No runtime abstraction layer installed");return r}Object.defineProperty(t,"__esModule",{value:!0}),(n||(n={})).install=function(e){if(void 0===e)throw Error("No runtime abstraction layer provided");r=e},t.default=n},52730:function(e,t,r){r.d(t,{M:function(){return o}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"InfoTokenBuilder")}constructor(){super(["info","showInfo"])}},s={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new n.nr,"ValueConverter")}};function o(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.F_,s);return t.ServiceRegistry.register(r),{shared:t,Info:r}}(0,n.eW)(o,"createInfoServices")},75243:function(e,t,r){r.d(t,{l:function(){return l}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"PieTokenBuilder")}constructor(){super(["pie","showData"])}},s=class extends n.kb{static{(0,n.eW)(this,"PieValueConverter")}runCustomConverter(e,t,r){if("PIE_SECTION_LABEL"===e.name)return t.replace(/"/g,"").trim()}},o={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new s,"ValueConverter")}};function l(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.WH,o);return t.ServiceRegistry.register(r),{shared:t,Pie:r}}(0,n.eW)(l,"createPieServices")},16100:function(e,t,r){r.d(t,{g:function(){return o}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"PacketTokenBuilder")}constructor(){super(["packet-beta"])}},s={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new n.nr,"ValueConverter")}};function o(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.bb,s);return t.ServiceRegistry.register(r),{shared:t,Packet:r}}(0,n.eW)(o,"createPacketServices")},94413:function(e,t,r){r.d(t,{i:function(){return l}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},s=class extends n.kb{static{(0,n.eW)(this,"ArchitectureValueConverter")}runCustomConverter(e,t,r){if("ARCH_ICON"===e.name)return t.replace(/[()]/g,"").trim();if("ARCH_TEXT_ICON"===e.name)return t.replace(/["()]/g,"");if("ARCH_TITLE"===e.name)return t.replace(/[[\]]/g,"").trim()}},o={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new s,"ValueConverter")}};function l(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.Qr,o);return t.ServiceRegistry.register(r),{shared:t,Architecture:r}}(0,n.eW)(l,"createArchitectureServices")},57820:function(e,t,r){r.d(t,{z:function(){return o}});var n=r(95318),i=r(74462),a=class extends n.T7{static{(0,n.eW)(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},s={parser:{TokenBuilder:(0,n.eW)(()=>new a,"TokenBuilder"),ValueConverter:(0,n.eW)(()=>new n.nr,"ValueConverter")}};function o(e=i.uZ){let t=(0,i.f3)((0,i.Jr)(e),n.GS),r=(0,i.f3)((0,i.Q)({shared:t}),n.vn,s);return t.ServiceRegistry.register(r),{shared:t,GitGraph:r}}(0,n.eW)(o,"createGitGraphServices")},95318:function(e,t,r){r.d(t,{F_:function(){return C},GS:function(){return N},Qr:function(){return w},T7:function(){return M},WH:function(){return L},bb:function(){return $},eW:function(){return c},kb:function(){return _},nr:function(){return P},vn:function(){return b}});var n,i,a,s,o,l=r(74462),u=Object.defineProperty,c=(e,t)=>u(e,"name",{value:t,configurable:!0});c(function(e){return g.isInstance(e,"Architecture")},"isArchitecture");var d="Branch";c(function(e){return g.isInstance(e,d)},"isBranch");var h="Commit";c(function(e){return g.isInstance(e,h)},"isCommit");c(function(e){return g.isInstance(e,"Common")},"isCommon");var f="GitGraph";c(function(e){return g.isInstance(e,f)},"isGitGraph");c(function(e){return g.isInstance(e,"Info")},"isInfo");var p="Merge";c(function(e){return g.isInstance(e,p)},"isMerge");c(function(e){return g.isInstance(e,"Packet")},"isPacket");c(function(e){return g.isInstance(e,"PacketBlock")},"isPacketBlock");c(function(e){return g.isInstance(e,"Pie")},"isPie");c(function(e){return g.isInstance(e,"PieSection")},"isPieSection");var m=class extends l.$v{static{c(this,"MermaidAstReflection")}getAllTypes(){return["Architecture","Branch","Checkout","CherryPicking","Commit","Common","Direction","Edge","GitGraph","Group","Info","Junction","Merge","Packet","PacketBlock","Pie","PieSection","Service","Statement"]}computeIsSubtype(e,t){switch(e){case d:case"Checkout":case"CherryPicking":case h:case p:return this.isSubtype("Statement",t);case"Direction":return this.isSubtype(f,t);default:return!1}}getReferenceType(e){let t=`${e.container.$type}:${e.property}`;throw Error(`${t} is not a valid reference id.`)}getTypeMetaData(e){switch(e){case"Architecture":return{name:"Architecture",properties:[{name:"accDescr"},{name:"accTitle"},{name:"edges",defaultValue:[]},{name:"groups",defaultValue:[]},{name:"junctions",defaultValue:[]},{name:"services",defaultValue:[]},{name:"title"}]};case"Branch":return{name:"Branch",properties:[{name:"name"},{name:"order"}]};case"Checkout":return{name:"Checkout",properties:[{name:"branch"}]};case"CherryPicking":return{name:"CherryPicking",properties:[{name:"id"},{name:"parent"},{name:"tags",defaultValue:[]}]};case"Commit":return{name:"Commit",properties:[{name:"id"},{name:"message"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Common":return{name:"Common",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Edge":return{name:"Edge",properties:[{name:"lhsDir"},{name:"lhsGroup",defaultValue:!1},{name:"lhsId"},{name:"lhsInto",defaultValue:!1},{name:"rhsDir"},{name:"rhsGroup",defaultValue:!1},{name:"rhsId"},{name:"rhsInto",defaultValue:!1},{name:"title"}]};case"GitGraph":return{name:"GitGraph",properties:[{name:"accDescr"},{name:"accTitle"},{name:"statements",defaultValue:[]},{name:"title"}]};case"Group":return{name:"Group",properties:[{name:"icon"},{name:"id"},{name:"in"},{name:"title"}]};case"Info":return{name:"Info",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Junction":return{name:"Junction",properties:[{name:"id"},{name:"in"}]};case"Merge":return{name:"Merge",properties:[{name:"branch"},{name:"id"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Packet":return{name:"Packet",properties:[{name:"accDescr"},{name:"accTitle"},{name:"blocks",defaultValue:[]},{name:"title"}]};case"PacketBlock":return{name:"PacketBlock",properties:[{name:"end"},{name:"label"},{name:"start"}]};case"Pie":return{name:"Pie",properties:[{name:"accDescr"},{name:"accTitle"},{name:"sections",defaultValue:[]},{name:"showData",defaultValue:!1},{name:"title"}]};case"PieSection":return{name:"PieSection",properties:[{name:"label"},{name:"value"}]};case"Service":return{name:"Service",properties:[{name:"icon"},{name:"iconText"},{name:"id"},{name:"in"},{name:"title"}]};case"Direction":return{name:"Direction",properties:[{name:"accDescr"},{name:"accTitle"},{name:"dir"},{name:"statements",defaultValue:[]},{name:"title"}]};default:return{name:e,properties:[]}}}},g=new m,y=c(()=>n??(n=(0,l.sC)('{"$type":"Grammar","isDeclared":true,"name":"Info","imports":[],"rules":[{"$type":"ParserRule","name":"Info","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"info"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"showInfo"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}')),"InfoGrammar"),T=c(()=>i??(i=(0,l.sC)(`{"$type":"Grammar","isDeclared":true,"name":"Packet","imports":[],"rules":[{"$type":"ParserRule","name":"Packet","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"packet-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PacketBlock","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"start","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"end","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"?"},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}`)),"PacketGrammar"),v=c(()=>a??(a=(0,l.sC)('{"$type":"Grammar","isDeclared":true,"name":"Pie","imports":[],"rules":[{"$type":"ParserRule","name":"Pie","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"pie"},{"$type":"Assignment","feature":"showData","operator":"?=","terminal":{"$type":"Keyword","value":"showData"},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PieSection","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"PIE_SECTION_LABEL","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]+\\"/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"PIE_SECTION_VALUE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/(0|[1-9][0-9]*)(\\\\.[0-9]+)?/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}')),"PieGrammar"),E=c(()=>s??(s=(0,l.sC)('{"$type":"Grammar","isDeclared":true,"name":"Architecture","imports":[],"rules":[{"$type":"ParserRule","name":"Architecture","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"architecture-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"*"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","fragment":true,"definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"groups","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"services","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"junctions","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"edges","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"LeftPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"lhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"RightPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"rhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Keyword","value":":"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Arrow","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Assignment","feature":"lhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"--"},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Keyword","value":"-"}]}]},{"$type":"Assignment","feature":"rhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Group","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"group"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Service","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"service"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"iconText","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}}],"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Junction","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"junction"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Edge","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"lhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"lhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"rhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"rhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"ARROW_DIRECTION","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"L"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"R"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"T"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"B"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ID","definition":{"$type":"RegexToken","regex":"/[\\\\w]+/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TEXT_ICON","definition":{"$type":"RegexToken","regex":"/\\\\(\\"[^\\"]+\\"\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ICON","definition":{"$type":"RegexToken","regex":"/\\\\([\\\\w-:]+\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TITLE","definition":{"$type":"RegexToken","regex":"/\\\\[[\\\\w ]+\\\\]/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_GROUP","definition":{"$type":"RegexToken","regex":"/\\\\{group\\\\}/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_INTO","definition":{"$type":"RegexToken","regex":"/<|>/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}')),"ArchitectureGrammar"),R=c(()=>o??(o=(0,l.sC)(`{"$type":"Grammar","isDeclared":true,"name":"GitGraph","interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"rules":[{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false},{"$type":"ParserRule","name":"GitGraph","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Keyword","value":":"}]},{"$type":"Keyword","value":"gitGraph:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},{"$type":"Keyword","value":":"}]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]},{"$type":"Assignment","feature":"statements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Direction","definition":{"$type":"Assignment","feature":"dir","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"LR"},{"$type":"Keyword","value":"TB"},{"$type":"Keyword","value":"BT"}]}},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Commit","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"commit"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"msg:","cardinality":"?"},{"$type":"Assignment","feature":"message","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Branch","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"branch"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"order:"},{"$type":"Assignment","feature":"order","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Merge","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"merge"},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Checkout","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"checkout"},{"$type":"Keyword","value":"switch"}]},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"CherryPicking","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"cherry-pick"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"parent:"},{"$type":"Assignment","feature":"parent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+(?=\\\\s)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\\\w([-\\\\./\\\\w]*[-\\\\w])?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false}],"definesHiddenTokens":false,"hiddenTokens":[],"imports":[],"types":[],"usedGrammars":[]}`)),"GitGraphGrammar"),A={languageId:"info",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},k={languageId:"packet",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},I={languageId:"pie",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},x={languageId:"architecture",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},S={languageId:"gitGraph",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},N={AstReflection:c(()=>new m,"AstReflection")},C={Grammar:c(()=>y(),"Grammar"),LanguageMetaData:c(()=>A,"LanguageMetaData"),parser:{}},$={Grammar:c(()=>T(),"Grammar"),LanguageMetaData:c(()=>k,"LanguageMetaData"),parser:{}},L={Grammar:c(()=>v(),"Grammar"),LanguageMetaData:c(()=>I,"LanguageMetaData"),parser:{}},w={Grammar:c(()=>E(),"Grammar"),LanguageMetaData:c(()=>x,"LanguageMetaData"),parser:{}},b={Grammar:c(()=>R(),"Grammar"),LanguageMetaData:c(()=>S,"LanguageMetaData"),parser:{}},O={ACC_DESCR:/accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/accTitle[\t ]*:([^\n\r]*)/,TITLE:/title([\t ][^\n\r]*|)/},_=class extends l.tI{static{c(this,"AbstractMermaidValueConverter")}runConverter(e,t,r){let n=this.runCommonConverter(e,t,r);return(void 0===n&&(n=this.runCustomConverter(e,t,r)),void 0===n)?super.runConverter(e,t,r):n}runCommonConverter(e,t,r){let n=O[e.name];if(void 0===n)return;let i=n.exec(t);return null===i?void 0:void 0!==i[1]?i[1].trim().replace(/[\t ]{2,}/gm," "):void 0!==i[2]?i[2].replace(/^\s*/gm,"").replace(/\s+$/gm,"").replace(/[\t ]{2,}/gm," ").replace(/[\n\r]{2,}/gm,"\n"):void 0}},P=class extends _{static{c(this,"CommonValueConverter")}runCustomConverter(e,t,r){}},M=class extends l.PH{static{c(this,"AbstractMermaidTokenBuilder")}constructor(e){super(),this.keywords=new Set(e)}buildKeywordTokens(e,t,r){let n=super.buildKeywordTokens(e,t,r);return n.forEach(e=>{this.keywords.has(e.name)&&void 0!==e.PATTERN&&(e.PATTERN=RegExp(e.PATTERN.toString()+"(?:(?=%%)|(?!\\S))"))}),n}};(class extends null{static{c(this,"CommonTokenBuilder")}})},3194:function(e,t,r){r.d(t,{Qc:function(){return s}}),r(57820),r(52730),r(16100),r(75243),r(94413);var n=r(95318),i={},a={info:(0,n.eW)(async()=>{let{createInfoServices:e}=await r.e("3085").then(r.bind(r,15970)),t=e().Info.parser.LangiumParser;i.info=t},"info"),packet:(0,n.eW)(async()=>{let{createPacketServices:e}=await r.e("1996").then(r.bind(r,89455)),t=e().Packet.parser.LangiumParser;i.packet=t},"packet"),pie:(0,n.eW)(async()=>{let{createPieServices:e}=await r.e("1824").then(r.bind(r,31764)),t=e().Pie.parser.LangiumParser;i.pie=t},"pie"),architecture:(0,n.eW)(async()=>{let{createArchitectureServices:e}=await r.e("161").then(r.bind(r,55845)),t=e().Architecture.parser.LangiumParser;i.architecture=t},"architecture"),gitGraph:(0,n.eW)(async()=>{let{createGitGraphServices:e}=await r.e("8751").then(r.bind(r,57327)),t=e().GitGraph.parser.LangiumParser;i.gitGraph=t},"gitGraph")};async function s(e,t){let r=a[e];if(!r)throw Error(`Unknown diagram type: ${e}`);!i[e]&&await r();let n=i[e].parse(t);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new o(n);return n.value}(0,n.eW)(s,"parse");var o=class extends Error{constructor(e){let t=e.lexerErrors.map(e=>e.message).join("\n");super(`Parsing failed: ${t} ${e.parserErrors.map(e=>e.message).join("\n")}`),this.result=e}static{(0,n.eW)(this,"MermaidParseError")}}},74462:function(e,t,r){function n(e){return"object"==typeof e&&null!==e&&"string"==typeof e.$type}function i(e){return"object"==typeof e&&null!==e&&"string"==typeof e.$refText}r.d(t,{uZ:()=>un,Q:()=>l7,Jr:()=>l3,f3:()=>l5,$v:()=>s,PH:()=>o0,tI:()=>o1,sC:()=>us});function a(e){return"object"==typeof e&&null!==e&&n(e.container)&&i(e.reference)&&"string"==typeof e.message}class s{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return n(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];!r&&(r=this.subtypes[e]={});let n=r[t];if(void 0!==n)return n;{let n=this.computeIsSubtype(e,t);return r[t]=n,n}}getAllSubTypes(e){let t=this.allSubtypes[e];if(t)return t;{let t=this.getAllTypes(),r=[];for(let n of t)this.isSubtype(n,e)&&r.push(n);return this.allSubtypes[e]=r,r}}}function o(e){return"object"==typeof e&&null!==e&&Array.isArray(e.content)}function l(e){return"object"==typeof e&&null!==e&&"object"==typeof e.tokenType}function u(e){return o(e)&&"string"==typeof e.fullText}class c{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){let e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){let e=this.iterator(),t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){let e;let t=[],r=this.iterator();do void 0!==(e=r.next()).value&&t.push(e.value);while(!e.done);return t}toSet(){return new Set(this)}toMap(e,t){return new Map(this.map(r=>[e?e(r):r,t?t(r):r]))}toString(){return this.join()}concat(e){let t=e[Symbol.iterator]();return new c(()=>({first:this.startFn(),firstDone:!1}),e=>{let r;if(!e.firstDone){do if(!(r=this.nextFn(e.first)).done)return r;while(!r.done);e.firstDone=!0}do if(!(r=t.next()).done)return r;while(!r.done);return f})}join(e=","){let t;let r=this.iterator(),n="",i=!1;do!(t=r.next()).done&&(i&&(n+=e),n+=function(e){return"string"==typeof e?e:void 0===e?"undefined":"function"==typeof e.toString?e.toString():Object.prototype.toString.call(e)}(t.value)),i=!0;while(!t.done);return n}indexOf(e,t=0){let r=this.iterator(),n=0,i=r.next();for(;!i.done;){if(n>=t&&i.value===e)return n;i=r.next(),n++}return -1}every(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){let t=this.iterator(),r=0,n=t.next();for(;!n.done;)e(n.value,r),n=t.next(),r++}map(e){return new c(this.startFn,t=>{let{done:r,value:n}=this.nextFn(t);return r?f:{done:!1,value:e(n)}})}filter(e){return new c(this.startFn,t=>{let r;do if(!(r=this.nextFn(t)).done&&e(r.value))return r;while(!r.done);return f})}nonNullable(){return this.filter(e=>null!=e)}reduce(e,t){let r=this.iterator(),n=t,i=r.next();for(;!i.done;)n=void 0===n?i.value:e(n,i.value),i=r.next();return n}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){let n=e.next();if(n.done)return r;let i=this.recursiveReduce(e,t,r);return void 0===i?n.value:t(i,n.value)}find(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){let t=this.iterator(),r=0,n=t.next();for(;!n.done;){if(e(n.value))return r;n=t.next(),r++}return -1}includes(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new c(()=>({this:this.startFn()}),t=>{do{if(t.iterator){let e=t.iterator.next();if(!e.done)return e;t.iterator=void 0}let{done:r,value:n}=this.nextFn(t.this);if(!r){let r=e(n);if(!d(r))return{done:!1,value:r};t.iterator=r[Symbol.iterator]()}}while(t.iterator);return f})}flat(e){if(void 0===e&&(e=1),e<=0)return this;let t=e>1?this.flat(e-1):this;return new c(()=>({this:t.startFn()}),e=>{do{if(e.iterator){let t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}let{done:r,value:n}=t.nextFn(e.this);if(!r){if(!d(n))return{done:!1,value:n};e.iterator=n[Symbol.iterator]()}}while(e.iterator);return f})}head(){let e=this.iterator().next();if(!e.done)return e.value}tail(e=1){return new c(()=>{let t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e)?f:this.nextFn(t.state))}distinct(e){let t=new Set;return this.filter(r=>{let n=e?e(r):r;return!t.has(n)&&(t.add(n),!0)})}exclude(e,t){let r=new Set;for(let n of e){let e=t?t(n):n;r.add(e)}return this.filter(e=>{let n=t?t(e):e;return!r.has(n)})}}function d(e){return!!e&&"function"==typeof e[Symbol.iterator]}let h=new c(()=>void 0,()=>f),f=Object.freeze({done:!0,value:void 0});function p(...e){if(1===e.length){let t=e[0];if(t instanceof c)return t;if(d(t))return new c(()=>t[Symbol.iterator](),e=>e.next());if("number"==typeof t.length)return new c(()=>({index:0}),e=>e.index1?new c(()=>({collIndex:0,arrIndex:0}),t=>{do{if(t.iterator){let e=t.iterator.next();if(!e.done)return e;t.iterator=void 0}if(t.array){if(t.arrIndex({iterators:(null==r?void 0:r.includeRoot)?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),e=>{for(e.pruned&&(e.iterators.pop(),e.pruned=!1);e.iterators.length>0;){let r=e.iterators[e.iterators.length-1].next();if(!r.done)return e.iterators.push(t(r.value)[Symbol.iterator]()),r;e.iterators.pop()}return f})}iterator(){let e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}function g(e){return new m(e,e=>o(e)?e.content:[],{includeRoot:!0})}(t7=t5||(t5={})).sum=function(e){return e.reduce((e,t)=>e+t,0)},t7.product=function(e){return e.reduce((e,t)=>e*t,0)},t7.min=function(e){return e.reduce((e,t)=>Math.min(e,t))},t7.max=function(e){return e.reduce((e,t)=>Math.max(e,t))};function y(e){return{start:{character:e.startColumn-1,line:e.startLine-1},end:{character:e.endColumn,line:e.endLine-1}}}function T(e){if(!e)return;let{offset:t,end:r,range:n}=e;return{range:n,offset:t,end:r,length:r-t}}(t3=t9||(t9={}))[t3.Before=0]="Before",t3[t3.After=1]="After",t3[t3.OverlapFront=2]="OverlapFront",t3[t3.OverlapBack=3]="OverlapBack",t3[t3.Inside=4]="Inside";let v=/^[\w\p{L}]$/u;function E(e,t){return l(e)&&t.includes(e.tokenType.name)}class R extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function A(e){throw Error("Error! The input value was not handled.")}let k="AbstractRule",I="AbstractType",x="Condition",S="ValueLiteral",N="AbstractElement",C="BooleanLiteral",$="Conjunction",L="Disjunction",w="InferredType";function b(e){return ey.isInstance(e,w)}let O="Interface";function _(e){return ey.isInstance(e,O)}let P="Negation",M="ParameterReference",D="ParserRule";function Z(e){return ey.isInstance(e,D)}let U="SimpleType",F="TerminalRule";function G(e){return ey.isInstance(e,F)}let B="Type";function K(e){return ey.isInstance(e,B)}let j="Action";function V(e){return ey.isInstance(e,j)}let W="Alternatives";function H(e){return ey.isInstance(e,W)}let z="Assignment";function Y(e){return ey.isInstance(e,z)}let q="CharacterRange",X="CrossReference";function Q(e){return ey.isInstance(e,X)}let J="EndOfFile",ee="Group";function et(e){return ey.isInstance(e,ee)}let er="Keyword";function en(e){return ey.isInstance(e,er)}let ei="NegatedToken",ea="RegexToken",es="RuleCall";function eo(e){return ey.isInstance(e,es)}let el="TerminalAlternatives",eu="TerminalGroup",ec="TerminalRuleCall";function ed(e){return ey.isInstance(e,ec)}let eh="UnorderedGroup";function ef(e){return ey.isInstance(e,eh)}let ep="UntilToken",em="Wildcard";class eg extends s{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case j:case W:case z:case q:case X:case J:case ee:case er:case ei:case ea:case es:case el:case eu:case ec:case eh:case ep:case em:return this.isSubtype(N,t);case"ArrayLiteral":case"NumberLiteral":case"StringLiteral":return this.isSubtype(S,t);case"ArrayType":case"ReferenceType":case U:case"UnionType":return this.isSubtype("TypeDefinition",t);case C:return this.isSubtype(x,t)||this.isSubtype(S,t);case $:case L:case P:case M:return this.isSubtype(x,t);case w:case O:case B:return this.isSubtype(I,t);case D:return this.isSubtype(k,t)||this.isSubtype(I,t);case F:return this.isSubtype(k,t);default:return!1}}getReferenceType(e){let t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return I;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return k;case"Grammar:usedGrammars":return"Grammar";case"NamedArgument:parameter":case"ParameterReference:parameter":return"Parameter";case"TerminalRuleCall:rule":return F;default:throw Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}let ey=new eg;function eT(e,t){let r=e;for(;r;){if(t(r))return r;r=r.$container}}function ev(e){let t=function(e){for(;e.$container;)e=e.$container;return e}(e).$document;if(!t)throw Error("AST node has no document.");return t}function eE(e,t){if(!e)throw Error("Node must be an AstNode.");let r=null==t?void 0:t.range;return new c(()=>({keys:Object.keys(e),keyIndex:0,arrayIndex:0}),t=>{for(;t.keyIndexeE(e,t))}function eA(e,t){if(e){if((null==t?void 0:t.range)&&!ek(e,t.range))return new m(e,()=>[])}else throw Error("Root node must be an AstNode.");return new m(e,e=>eE(e,t),{includeRoot:!0})}function ek(e,t){var r;if(!t)return!0;let n=null===(r=e.$cstNode)||void 0===r?void 0:r.range;if(!n)return!1;return function(e,t){if(e.end.linet.end.line||e.start.line===t.end.line&&e.start.character>t.end.character)return t9.After;let r=e.start.line>t.start.line||e.start.line===t.start.line&&e.start.character>=t.start.character,n=e.end.linet9.After}function eI(e){return new c(()=>({keys:Object.keys(e),keyIndex:0,arrayIndex:0}),t=>{for(;t.keyIndex=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(e){return{begin:e,end:this.idx}}}class eZ{visitChildren(e){for(let t in e){let r=e[t];e.hasOwnProperty(t)&&(void 0!==r.type?this.visit(r):Array.isArray(r)&&r.forEach(e=>{this.visit(e)},this))}}visit(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e)}this.visitChildren(e)}visitPattern(e){}visitFlags(e){}visitDisjunction(e){}visitAlternative(e){}visitStartAnchor(e){}visitEndAnchor(e){}visitWordBoundary(e){}visitNonWordBoundary(e){}visitLookahead(e){}visitNegativeLookahead(e){}visitCharacter(e){}visitSet(e){}visitGroup(e){}visitGroupBackReference(e){}visitQuantifier(e){}}let eU=/\r?\n/gm,eF=new eD,eG=new class e extends eZ{constructor(){super(...arguments),this.isStarting=!0,this.endRegexpStack=[],this.multiline=!1}get endRegex(){return this.endRegexpStack.join("")}reset(e){this.multiline=!1,this.regex=e,this.startRegexp="",this.isStarting=!0,this.endRegexpStack=[]}visitGroup(e){e.quantifier&&(this.isStarting=!1,this.endRegexpStack=[])}visitCharacter(e){let t=String.fromCharCode(e.value);if(!this.multiline&&"\n"===t&&(this.multiline=!0),e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let e=eK(t);this.endRegexpStack.push(e),this.isStarting&&(this.startRegexp+=e)}}visitSet(e){if(!this.multiline){let t=new RegExp(this.regex.substring(e.loc.begin,e.loc.end));this.multiline=!!"\n".match(t)}if(e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let t=this.regex.substring(e.loc.begin,e.loc.end);this.endRegexpStack.push(t),this.isStarting&&(this.startRegexp+=t)}}visitChildren(e){if("Group"!==e.type||!e.quantifier)super.visitChildren(e)}};function eB(e){return("string"==typeof e?new RegExp(e):e).test(" ")}function eK(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ej(e,t){let r=new Set,n=e.rules.find(e=>Z(e)&&e.entry);if(!n)return new Set(e.rules);for(let i of[n].concat(e.rules.filter(e=>G(e)&&e.hidden)))(function e(t,r,n){r.add(t.name),eR(t).forEach(t=>{if(eo(t)||n&&ed(t)){let i=t.rule.ref;i&&!r.has(i.name)&&e(i,r,n)}})})(i,r,t);let i=new Set;for(let t of e.rules)(r.has(t.name)||G(t)&&t.hidden)&&i.add(t);return i}function eV(e,t,r){if(!e||!t)return;let n=eW(e,t,e.astNode,!0);if(0!==n.length)return r=void 0!==r?Math.max(0,Math.min(r,n.length-1)):0,n[r]}function eW(e,t,r,n){if(!n){let r=eT(e.grammarSource,Y);if(r&&r.feature===t)return[e]}return o(e)&&e.astNode===r?e.content.flatMap(e=>eW(e,t,r,!1)):[]}function eH(e){let t=e;return b(t)&&(V(t.$container)?t=t.$container.$container:Z(t.$container)?t=t.$container:A(t.$container)),function e(t,r,n){var i,a;function s(r,i){let a;return!eT(r,Y)&&(a=e(i,i,n)),n.set(t,a),a}if(n.has(t))return n.get(t);for(let e of(n.set(t,void 0),eR(r))){if(Y(e)&&"name"===e.feature.toLowerCase())return n.set(t,e),e;if(eo(e)&&Z(e.rule.ref))return s(e,e.rule.ref);else{;if(a=e,ey.isInstance(a,U)&&(null===(i=e.typeRef)||void 0===i?void 0:i.ref))return s(e,e.typeRef.ref)}}}(e,t,new Map)}function ez(e){return function e(t,r){if(r.has(t))return!0;r.add(t);for(let n of eR(t))if(eo(n)){if(!n.rule.ref||Z(n.rule.ref)&&!e(n.rule.ref,r))return!1}else if(Y(n))return!1;else if(V(n))return!1;return!!t.definition}(e,new Set)}function eY(e){if(e.inferredType)return e.inferredType.name;if(e.dataType)return e.dataType;if(e.returnType){let t=e.returnType.ref;if(t){if(Z(t))return t.name;if(_(t)||K(t))return t.name}}}function eq(e){var t,r;if(Z(e))return ez(e)?e.name:null!==(t=eY(e))&&void 0!==t?t:e.name;if(_(e)||K(e)||(r=e,ey.isInstance(r,"ReturnType")))return e.name;else if(V(e)){let t=function(e){var t;return e.inferredType?e.inferredType.name:(null===(t=e.type)||void 0===t?void 0:t.ref)?eq(e.type.ref):void 0}(e);if(t)return t}else if(b(e))return e.name;throw Error("Cannot get name of Unknown Type")}function eX(e){let t={s:!1,i:!1,u:!1},r=eJ(e.definition,t);return new RegExp(r,Object.entries(t).filter(([,e])=>e).map(([e])=>e).join(""))}let eQ=/[\s\S]/.source;function eJ(e,t){var r,n,i,a,s,o,l;if(r=e,ey.isInstance(r,el))return function(e){return e1(e.elements.map(e=>eJ(e)).join("|"),{cardinality:e.cardinality,lookahead:e.lookahead})}(e);if(n=e,ey.isInstance(n,eu))return function(e){return e1(e.elements.map(e=>eJ(e)).join(""),{cardinality:e.cardinality,lookahead:e.lookahead})}(e);else{;if(i=e,ey.isInstance(i,q))return function(e){return e.right?e1(`[${e0(e.left)}-${e0(e.right)}]`,{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1}):e1(e0(e.left),{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1})}(e);else if(ed(e)){let t=e.rule.ref;if(!t)throw Error("Missing rule reference.");return e1(eJ(t.definition),{cardinality:e.cardinality,lookahead:e.lookahead})}else{;if(a=e,ey.isInstance(a,ei))return function(e){return e1(`(?!${eJ(e.terminal)})${eQ}*?`,{cardinality:e.cardinality,lookahead:e.lookahead})}(e);else{;if(s=e,ey.isInstance(s,ep))return function(e){return e1(`${eQ}*?${eJ(e.terminal)}`,{cardinality:e.cardinality,lookahead:e.lookahead})}(e);else{;if(o=e,ey.isInstance(o,ea)){let r=e.regex.lastIndexOf("/"),n=e.regex.substring(1,r),i=e.regex.substring(r+1);return t&&(t.i=i.includes("i"),t.s=i.includes("s"),t.u=i.includes("u")),e1(n,{cardinality:e.cardinality,lookahead:e.lookahead,wrap:!1})}else{;if(l=e,ey.isInstance(l,em))return e1(eQ,{cardinality:e.cardinality,lookahead:e.lookahead});else throw Error(`Invalid terminal element: ${null==e?void 0:e.$type}`)}}}}}}function e0(e){return eK(e.value)}function e1(e,t){var r;return((!1!==t.wrap||t.lookahead)&&(e=`(${null!==(r=t.lookahead)&&void 0!==r?r:""}${e})`),t.cardinality)?`${e}${t.cardinality}`:e}var e2,e4,e7,e3,e5,e9,e6,e8,te,tt,tr,tn,ti,ta,ts,to,tl,tu,tc,td,th,tf,tp,tm,tg,ty,tT,tv,tE,tR,tA,tk,tI,tx,tS,tN,tC,t$,tL,tw,tb,tO,t_,tP,tM,tD,tZ,tU,tF,tG,tB,tK,tj,tV,tW,tH,tz,tY,tq,tX,tQ,tJ,t0,t1,t2,t4,t7,t3,t5,t9,t6,t8,re,rt,rr,rn,ri,ra,rs,ro,rl,ru,rc,rd,rh,rf,rp,rm,rg,ry,rT,rv,rE,rR,rA,rk,rI,rx,rS,rN,rC,r$,rL,rw,rb,rO,r_,rP,rM,rD,rZ,rU,rF,rG,rB,rK,rj,rV,rW,rH,rz,rY,rq,rX,rQ,rJ,r0,r1,r2,r4,r7,r3,r5,r9,r6,r8,ne,nt,nr,nn,ni,na,ns,no,nl,nu,nc,nd,nh,nf,np,nm,ng,ny,nT,nv,nE,nR,nA,nk,nI,nx,nS,nN=r("82633"),nC=r("96433"),n$=r("73217"),nL=r("97345"),nw=r("29072"),nb=r("65521");function nO(e){function t(){}t.prototype=e;let r=new t;function n(){return typeof r.bar}return n(),n(),e}let n_=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n{t.accept(e)})}}class n7 extends n4{constructor(e){super([]),this.idx=1,nV(this,nq(e,e=>void 0!==e))}set definition(e){}get definition(){return void 0!==this.referencedRule?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class n3 extends n4{constructor(e){super(e.definition),this.orgText="",nV(this,nq(e,e=>void 0!==e))}}class n5 extends n4{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,nV(this,nq(e,e=>void 0!==e))}}class n9 extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class n6 extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class n8 extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class ie extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class it extends n4{constructor(e){super(e.definition),this.idx=1,nV(this,nq(e,e=>void 0!==e))}}class ir extends n4{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,nV(this,nq(e,e=>void 0!==e))}}class ii{constructor(e){this.idx=1,nV(this,nq(e,e=>void 0!==e))}accept(e){e.visit(this)}}class ia{visit(e){switch(e.constructor){case n7:return this.visitNonTerminal(e);case n5:return this.visitAlternative(e);case n9:return this.visitOption(e);case n6:return this.visitRepetitionMandatory(e);case n8:return this.visitRepetitionMandatoryWithSeparator(e);case it:return this.visitRepetitionWithSeparator(e);case ie:return this.visitRepetition(e);case ir:return this.visitAlternation(e);case ii:return this.visitTerminal(e);case n3:return this.visitRule(e);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}var is=r("93130"),io=r("20869");let il=function(e,t){var r;return(0,io.Z)(e,function(e,n,i){return!(r=t(e,n,i))}),!!r};var iu=r("31739"),ic=r("8417");let id=function(e,t,r){var n=(0,iu.Z)(e)?is.Z:il;return r&&(0,ic.Z)(e,t,r)&&(t=void 0),n(e,(0,nH.Z)(t,3))};var ih=r("77253"),ip=Math.max;let im=function(e,t,r,n){e=(0,nG.Z)(e)?e:(0,nC.Z)(e),r=r&&!n?(0,nP.Z)(r):0;var i=e.length;return r<0&&(r=ip(i+r,0)),(0,nD.Z)(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&(0,ih.Z)(e,t,r)>-1},ig=function(e,t){for(var r=-1,n=null==e?0:e.length;++riv(e,t));if(e instanceof n7&&im(t,e))return!1;if(e instanceof n4)return e instanceof n7&&t.push(e),iT(e.definition,e=>iv(e,t));else return!1}function iE(e){if(e instanceof n7)return"SUBRULE";if(e instanceof n9)return"OPTION";if(e instanceof ir)return"OR";else if(e instanceof n6)return"AT_LEAST_ONE";else if(e instanceof n8)return"AT_LEAST_ONE_SEP";else if(e instanceof it)return"MANY_SEP";else if(e instanceof ie)return"MANY";else if(e instanceof ii)return"CONSUME";else throw Error("non exhaustive match")}class iR{walk(e,t=[]){(0,nN.Z)(e.definition,(r,n)=>{let i=nM(e.definition,n+1);if(r instanceof n7)this.walkProdRef(r,i,t);else if(r instanceof ii)this.walkTerminal(r,i,t);else if(r instanceof n5)this.walkFlat(r,i,t);else if(r instanceof n9)this.walkOption(r,i,t);else if(r instanceof n6)this.walkAtLeastOne(r,i,t);else if(r instanceof n8)this.walkAtLeastOneSep(r,i,t);else if(r instanceof it)this.walkManySep(r,i,t);else if(r instanceof ie)this.walkMany(r,i,t);else if(r instanceof ir)this.walkOr(r,i,t);else throw Error("non exhaustive match")})}walkTerminal(e,t,r){}walkProdRef(e,t,r){}walkFlat(e,t,r){let n=t.concat(r);this.walk(e,n)}walkOption(e,t,r){let n=t.concat(r);this.walk(e,n)}walkAtLeastOne(e,t,r){let n=[new n9({definition:e.definition})].concat(t,r);this.walk(e,n)}walkAtLeastOneSep(e,t,r){let n=iA(e,t,r);this.walk(e,n)}walkMany(e,t,r){let n=[new n9({definition:e.definition})].concat(t,r);this.walk(e,n)}walkManySep(e,t,r){let n=iA(e,t,r);this.walk(e,n)}walkOr(e,t,r){let n=t.concat(r);(0,nN.Z)(e.definition,e=>{let t=new n5({definition:[e]});this.walk(t,n)})}}function iA(e,t,r){return[new n9({definition:[new ii({terminalType:e.separator})].concat(e.definition)})].concat(t,r)}var ik=r("38610");let iI=function(e){return e&&e.length?(0,ik.Z)(e):[]};var ix=r("71134");function iS(e){var t;if(e instanceof n7)return iS(e.referencedRule);if(e instanceof ii)return function(e){return[e.terminalType]}(e);if((t=e)instanceof n5||t instanceof n9||t instanceof ie||t instanceof n6||t instanceof n8||t instanceof it||t instanceof ii||t instanceof n3)return function(e){let t,r=[],n=e.definition,i=0,a=n.length>i,s=!0;for(;a&&s;)s=iv(t=n[i]),r=r.concat(iS(t)),i+=1,a=n.length>i;return iI(r)}(e);else{if(e instanceof ir)return function(e){let t=(0,nL.Z)(e.definition,e=>iS(e));return iI((0,ix.Z)(t))}(e);else throw Error("non exhaustive match")}}let iN="_~IN~_";class iC extends iR{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,t,r){}walkProdRef(e,t,r){let n=function(e,t){return e.name+t+iN}(e.referencedRule,e.idx)+this.topProd.name,i=iS(new n5({definition:t.concat(r)}));this.follows[n]=i}}var i$=r("61925"),iL=r("87317"),iw=r("87276"),ib=r("789");let iO=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}},i_=function(e,t){return((0,iu.Z)(e)?iw.Z:ib.Z)(e,iO((0,nH.Z)(t,3)))};var iP=r("18782"),iM=Math.max;let iD=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var i=null==r?0:(0,nP.Z)(r);return i<0&&(i=iM(n+i,0)),(0,ih.Z)(e,t,i)};var iZ=r("81748"),iU=r("37627"),iF=r("94641"),iG=r("37479"),iB=r("46592"),iK=r("99976");let ij=function(e,t,r,n){var i=-1,a=iG.Z,s=!0,o=e.length,l=[],u=t.length;if(!o)return l;r&&(t=(0,nW.Z)(t,(0,nJ.Z)(r))),n?(a=iB.Z,s=!1):t.length>=200&&(a=iK.Z,s=!1,t=new iF.Z(t));e:for(;++i"number"==typeof e?im(t,e):void 0!==(0,iX.Z)(t,t=>e.from<=t&&t<=e.to))}class i9 extends eZ{constructor(e){super(),this.targetCharCodes=e,this.found=!1}visitChildren(e){if(!0!==this.found){switch(e.type){case"Lookahead":this.visitLookahead(e);return;case"NegativeLookahead":this.visitNegativeLookahead(e);return}super.visitChildren(e)}}visitCharacter(e){im(this.targetCharCodes,e.value)&&(this.found=!0)}visitSet(e){e.complement?void 0===i5(e,this.targetCharCodes)&&(this.found=!0):void 0!==i5(e,this.targetCharCodes)&&(this.found=!0)}}function i6(e,t){if(!(t instanceof RegExp))return void 0!==(0,iX.Z)(t,t=>im(e,t.charCodeAt(0)));{let r=i2(t),n=new i9(e);return n.visit(r),n.found}}let i8="PATTERN",ae="defaultMode",at="modes",ar="boolean"==typeof RegExp("(?:)").sticky,an=/[^\\][$]/,ai=/[^\\[][\^]|^\^/;function aa(e){let t=e.ignoreCase?"i":"";return RegExp(`^(?:${e.source})`,t)}function as(e){let t=e.ignoreCase?"iy":"y";return RegExp(`${e.source}`,t)}function ao(e){let t=e.PATTERN;if(n2(t))return!1;if((0,iP.Z)(t))return!0;if((0,nw.Z)(t,"exec"))return!0;else if((0,nD.Z)(t))return!1;else throw Error("non exhaustive match")}function al(e){return!!(0,nD.Z)(e)&&1===e.length&&e.charCodeAt(0)}let au={test:function(e){let t=e.length;for(let r=this.lastIndex;r(0,nD.Z)(e)?e.charCodeAt(0):e)}function ah(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}let af=256,ap=[];function am(e){return ee.CATEGORIES))),t);t=t.concat(e),(0,n$.Z)(e)?n=!1:r=e}return t}(e);(function(e){(0,nN.Z)(e,e=>{!ax(e)&&(ak[aA]=e,e.tokenTypeIdx=aA++),aS(e)&&!(0,iu.Z)(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),!aS(e)&&(e.CATEGORIES=[]),!function(e){return(0,nw.Z)(e,"categoryMatches")}(e)&&(e.categoryMatches=[]),!function(e){return(0,nw.Z)(e,"categoryMatchesMap")}(e)&&(e.categoryMatchesMap={})})})(t),function(e){(0,nN.Z)(e,e=>{(function e(t,r){(0,nN.Z)(t,e=>{r.categoryMatchesMap[e.tokenTypeIdx]=!0}),(0,nN.Z)(r.CATEGORIES,n=>{let i=t.concat(r);!im(i,n)&&e(i,n)})})([],e)})}(t),function(e){(0,nN.Z)(e,e=>{e.categoryMatches=[],(0,nN.Z)(e.categoryMatchesMap,(t,r)=>{e.categoryMatches.push(ak[r].tokenTypeIdx)})})}(t),(0,nN.Z)(t,e=>{e.isParent=e.categoryMatches.length>0})}function ax(e){return(0,nw.Z)(e,"tokenTypeIdx")}function aS(e){return(0,nw.Z)(e,"CATEGORIES")}function aN(e){return(0,nw.Z)(e,"tokenTypeIdx")}(e2=t6||(t6={}))[e2.MISSING_PATTERN=0]="MISSING_PATTERN",e2[e2.INVALID_PATTERN=1]="INVALID_PATTERN",e2[e2.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",e2[e2.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",e2[e2.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",e2[e2.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",e2[e2.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",e2[e2.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",e2[e2.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",e2[e2.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",e2[e2.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",e2[e2.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",e2[e2.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",e2[e2.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",e2[e2.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",e2[e2.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",e2[e2.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",e2[e2.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE";let aC={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:["\n","\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:{buildUnableToPopLexerModeMessage:e=>`Unable to pop Lexer Mode after encountering Token ->${e.image}<- The Mode Stack is empty`,buildUnexpectedCharactersMessage:(e,t,r,n,i)=>`unexpected character: ->${e.charAt(t)}<- at offset: ${t}, skipped ${r} characters.`},traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(aC);class a${constructor(e,t=aC){if(this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(e,t)=>{if(!0!==this.traceInitPerf)return t();{this.traceInitIndent++;let r=Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${e}>`);let{time:n,value:i}=av(t),a=n>10?console.warn:console.log;return this.traceInitIndent time: ${n}ms`),this.traceInitIndent--,i}},"boolean"==typeof t)throw Error("The second argument to the Lexer constructor is now an ILexerConfig Object.\na boolean 2nd argument is no longer supported");this.config=nV({},aC,t);let r=this.config.traceInitPerf;!0===r?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):"number"==typeof r&&(this.traceInitMaxIdent=r,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",()=>{let r;let n=!0;this.TRACE_INIT("Lexer Config handling",()=>{if(this.config.lineTerminatorsPattern===aC.lineTerminatorsPattern)this.config.lineTerminatorsPattern=au;else if(this.config.lineTerminatorCharacters===aC.lineTerminatorCharacters)throw Error("Error: Missing property on the Lexer config.\n For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");if(t.safeMode&&t.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),(0,iu.Z)(e)?r={modes:{defaultMode:(0,nb.Z)(e)},defaultMode:ae}:(n=!1,r=(0,nb.Z)(e))}),!1===this.config.skipValidations&&(this.TRACE_INIT("performRuntimeChecks",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(function(e,t,r){let n=[];return!(0,nw.Z)(e,ae)&&n.push({message:"A MultiMode Lexer cannot be initialized without a <"+ae+"> property in its definition\n",type:t6.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),!(0,nw.Z)(e,at)&&n.push({message:"A MultiMode Lexer cannot be initialized without a <"+at+"> property in its definition\n",type:t6.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,nw.Z)(e,at)&&(0,nw.Z)(e,ae)&&!(0,nw.Z)(e.modes,e.defaultMode)&&n.push({message:`A MultiMode Lexer cannot be initialized with a ${ae}: <${e.defaultMode}>which does not exist +`,type:t6.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,nw.Z)(e,at)&&(0,nN.Z)(e.modes,(e,t)=>{(0,nN.Z)(e,(r,i)=>{if((0,i$.Z)(r))n.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${t}> at index: <${i}> +`,type:t6.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED});else if((0,nw.Z)(r,"LONGER_ALT")){let i=(0,iu.Z)(r.LONGER_ALT)?r.LONGER_ALT:[r.LONGER_ALT];(0,nN.Z)(i,i=>{!(0,i$.Z)(i)&&!im(e,i)&&n.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${i.name}> on token <${r.name}> outside of mode <${t}> +`,type:t6.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})})}})}),n}(r,this.trackStartLines,this.config.lineTerminatorCharacters))}),this.TRACE_INIT("performWarningRuntimeChecks",()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(function(e,t,r){let n=[],i=!1,a=i_(iY((0,ix.Z)((0,nC.Z)(e.modes))),e=>e[i8]===a$.NA),s=ad(r);return t&&(0,nN.Z)(a,e=>{let t=ac(e,s);if(!1!==t){let r={message:function(e,t){if(t.issue===t6.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern. + The problem is in the <${e.name}> Token Type + Root cause: ${t.errMsg}. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(t.issue===t6.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. + The problem is in the <${e.name}> Token Type + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}(e,t),type:t.issue,tokenType:e};n.push(r)}else(0,nw.Z)(e,"LINE_BREAKS")?!0===e.LINE_BREAKS&&(i=!0):i6(s,e.PATTERN)&&(i=!0)}),t&&!i&&n.push({message:"Warning: No LINE_BREAKS Found.\n This Lexer has been defined to track line and column information,\n But none of the Token Types can be identified as matching a line terminator.\n See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS \n for details.",type:t6.NO_LINE_BREAKS_FLAGS}),n}(r,this.trackStartLines,this.config.lineTerminatorCharacters))})),r.modes=r.modes?r.modes:{},(0,nN.Z)(r.modes,(e,t)=>{r.modes[t]=i_(e,e=>(0,i$.Z)(e))});let i=(0,nK.Z)(r.modes);if((0,nN.Z)(r.modes,(e,r)=>{this.TRACE_INIT(`Mode: <${r}> processing`,()=>{if(this.modes.push(r),!1===this.config.skipValidations&&this.TRACE_INIT("validatePatterns",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(function(e,t){let r=[],n=function(e){let t=(0,iU.Z)(e,e=>!(0,nw.Z)(e,i8)),r=(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:t6.MISSING_PATTERN,tokenTypes:[e]}));return{errors:r,valid:iz(e,t)}}(e);r=r.concat(n.errors);let i=function(e){let t=(0,iU.Z)(e,e=>{let t=e[i8];return!n2(t)&&!(0,iP.Z)(t)&&!(0,nw.Z)(t,"exec")&&!(0,nD.Z)(t)}),r=(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:t6.INVALID_PATTERN,tokenTypes:[e]}));return{errors:r,valid:iz(e,t)}}(n.valid),a=i.valid;return r=(r=(r=(r=(r=r.concat(i.errors)).concat(function(e){let t=[],r=(0,iU.Z)(e,e=>n2(e[i8]));return t=(t=(t=(t=(t=t.concat(function(e){class t extends eZ{constructor(){super(...arguments),this.found=!1}visitEndAnchor(e){this.found=!0}}let r=(0,iU.Z)(e,e=>{let r=e.PATTERN;try{let e=i2(r),n=new t;return n.visit(e),n.found}catch(e){return an.test(r.source)}});return(0,nL.Z)(r,e=>({message:"Unexpected RegExp Anchor Error:\n Token Type: ->"+e.name+"<- static 'PATTERN' cannot contain end of input anchor '$'\n See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.",type:t6.EOI_ANCHOR_FOUND,tokenTypes:[e]}))}(r))).concat(function(e){class t extends eZ{constructor(){super(...arguments),this.found=!1}visitStartAnchor(e){this.found=!0}}let r=(0,iU.Z)(e,e=>{let r=e.PATTERN;try{let e=i2(r),n=new t;return n.visit(e),n.found}catch(e){return ai.test(r.source)}});return(0,nL.Z)(r,e=>({message:"Unexpected RegExp Anchor Error:\n Token Type: ->"+e.name+"<- static 'PATTERN' cannot contain start of input anchor '^'\n See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.",type:t6.SOI_ANCHOR_FOUND,tokenTypes:[e]}))}(r))).concat(function(e){let t=(0,iU.Z)(e,e=>{let t=e[i8];return t instanceof RegExp&&(t.multiline||t.global)});return(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:t6.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]}))}(r))).concat(function(e){let t=[],r=(0,nL.Z)(e,r=>(0,iZ.Z)(e,(e,n)=>(r.PATTERN.source===n.PATTERN.source&&!im(t,n)&&n.PATTERN!==a$.NA&&(t.push(n),e.push(n)),e),[]));r=iY(r);let n=(0,iU.Z)(r,e=>e.length>1);return(0,nL.Z)(n,e=>{let t=(0,nL.Z)(e,e=>e.name),r=iq(e).PATTERN;return{message:`The same RegExp pattern ->${r}<-has been used in all of the following Token Types: ${t.join(", ")} <-`,type:t6.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}})}(r))).concat(function(e){let t=(0,iU.Z)(e,e=>e.PATTERN.test(""));return(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' must not match an empty string",type:t6.EMPTY_MATCH_PATTERN,tokenTypes:[e]}))}(r))}(a))).concat(function(e){let t=(0,iU.Z)(e,e=>{if(!(0,nw.Z)(e,"GROUP"))return!1;let t=e.GROUP;return t!==a$.SKIPPED&&t!==a$.NA&&!(0,nD.Z)(t)});return(0,nL.Z)(t,e=>({message:"Token Type: ->"+e.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:t6.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]}))}(a))).concat(function(e,t){let r=(0,iU.Z)(e,e=>void 0!==e.PUSH_MODE&&!im(t,e.PUSH_MODE));return(0,nL.Z)(r,e=>({message:`Token Type: ->${e.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${e.PUSH_MODE}<-which does not exist`,type:t6.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]}))}(a,t))).concat(function(e){let t=[],r=(0,iZ.Z)(e,(e,t,r)=>{let n=t.PATTERN;return n===a$.NA?e:((0,nD.Z)(n)?e.push({str:n,idx:r,tokenType:t}):n2(n)&&function(e){return void 0===(0,iX.Z)([".","\\","[","]","|","^","$","(",")","?","*","+","{"],t=>-1!==e.source.indexOf(t))}(n)&&e.push({str:n.source,idx:r,tokenType:t}),e)},[]);return(0,nN.Z)(e,(e,n)=>{(0,nN.Z)(r,({str:r,idx:i,tokenType:a})=>{if(n${a.name}<- can never be matched. +Because it appears AFTER the Token Type ->${e.name}<-in the lexer's definition. +See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;t.push({message:r,type:t6.UNREACHABLE_PATTERN,tokenTypes:[e,a]})}})}),t}(a))}(e,i))}),(0,n$.Z)(this.lexerDefinitionErrors)){let n;aI(e),this.TRACE_INIT("analyzeTokenTypes",()=>{n=function(e,t){let r,n,i,a,s,o,l,u,c,d,h,f;let p=(t=(0,iL.Z)(t,{useSticky:ar,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r","\n"],tracer:(e,t)=>t()})).tracer;p("initCharCodeToOptimizedIndexMap",()=>{(function(){if((0,n$.Z)(ap)){ap=Array(65536);for(let e=0;e<65536;e++)ap[e]=e>255?255+~~(e/255):e}})()}),p("Reject Lexer.NA",()=>{r=i_(e,e=>e[i8]===a$.NA)});let m=!1;p("Transform Patterns",()=>{m=!1,n=(0,nL.Z)(r,e=>{let r=e[i8];if(n2(r)){let e=r.source;return 1!==e.length||"^"===e||"$"===e||"."===e||r.ignoreCase?2!==e.length||"\\"!==e[0]||im(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],e[1])?t.useSticky?as(r):aa(r):e[1]:e}if((0,iP.Z)(r))return m=!0,{exec:r};if("object"==typeof r)return m=!0,r;else if("string"==typeof r){if(1===r.length)return r;{let e=new RegExp(r.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"));return t.useSticky?as(e):aa(e)}}else throw Error("non exhaustive match")})}),p("misc mapping",()=>{i=(0,nL.Z)(r,e=>e.tokenTypeIdx),a=(0,nL.Z)(r,e=>{let t=e.GROUP;if(t!==a$.SKIPPED){if((0,nD.Z)(t))return t;if((0,i$.Z)(t))return!1;else throw Error("non exhaustive match")}}),s=(0,nL.Z)(r,e=>{let t=e.LONGER_ALT;if(t)return(0,iu.Z)(t)?(0,nL.Z)(t,e=>iD(r,e)):[iD(r,t)]}),o=(0,nL.Z)(r,e=>e.PUSH_MODE),l=(0,nL.Z)(r,e=>(0,nw.Z)(e,"POP_MODE"))}),p("Line Terminator Handling",()=>{let e=ad(t.lineTerminatorCharacters);u=(0,nL.Z)(r,e=>!1),"onlyOffset"!==t.positionTracking&&(u=(0,nL.Z)(r,t=>(0,nw.Z)(t,"LINE_BREAKS")?!!t.LINE_BREAKS:!1===ac(t,e)&&i6(e,t.PATTERN)))}),p("Misc Mapping #2",()=>{c=(0,nL.Z)(r,ao),d=(0,nL.Z)(n,al),h=(0,iZ.Z)(r,(e,t)=>{let r=t.GROUP;return(0,nD.Z)(r)&&r!==a$.SKIPPED&&(e[r]=[]),e},{}),f=(0,nL.Z)(n,(e,t)=>({pattern:n[t],longerAlt:s[t],canLineTerminator:u[t],isCustom:c[t],short:d[t],group:a[t],push:o[t],pop:l[t],tokenTypeIdx:i[t],tokenType:r[t]}))});let g=!0,y=[];return!t.safeMode&&p("First Char Optimization",()=>{y=(0,iZ.Z)(r,(e,r,n)=>{if("string"==typeof r.PATTERN)ah(e,am(r.PATTERN.charCodeAt(0)),f[n]);else if((0,iu.Z)(r.START_CHARS_HINT)){let t;(0,nN.Z)(r.START_CHARS_HINT,r=>{let i=am("string"==typeof r?r.charCodeAt(0):r);t!==i&&(t=i,ah(e,i,f[n]))})}else if(n2(r.PATTERN)){if(r.PATTERN.unicode)g=!1,t.ensureOptimizations&&iQ(`${i7} Unable to analyze < ${r.PATTERN.toString()} > pattern. + The regexp unicode flag is not currently supported by the regexp-to-ast library. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{let i=function(e,t=!1){try{let t=i2(e);return function e(t,r,n){switch(t.type){case"Disjunction":for(let i=0;i{if("number"==typeof e)i3(e,r,n);else if(!0===n)for(let t=e.from;t<=e.to;t++)i3(t,r,n);else{for(let t=e.from;t<=e.to&&t=af){let t=e.from>=af?e.from:af,n=e.to,i=am(t),a=am(n);for(let e=i;e<=a;e++)r[e]=e}}});break;case"Group":e(a.value,r,n);break;default:throw Error("Non Exhaustive Match")}let s=void 0!==a.quantifier&&0===a.quantifier.atLeast;if("Group"===a.type&&!1===function e(t){let r=t.quantifier;return!!r&&0===r.atLeast||!!t.value&&((0,iu.Z)(t.value)?iT(t.value,e):e(t.value))}(a)||"Group"!==a.type&&!1===s)break}break;default:throw Error("non exhaustive match!")}return(0,nC.Z)(r)}(t.value,{},t.flags.ignoreCase)}catch(r){if(r.message===i4)t&&iJ(`${i7} Unable to optimize: < ${e.toString()} > + Complement Sets cannot be automatically optimized. + This will disable the lexer's first char optimizations. + See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let r="";t&&(r="\n This will disable the lexer's first char optimizations.\n See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details."),iQ(`${i7} + Failed parsing: < ${e.toString()} > + Using the @chevrotain/regexp-to-ast library + Please open an issue at: https://github.com/chevrotain/chevrotain/issues`+r)}}return[]}(r.PATTERN,t.ensureOptimizations);(0,n$.Z)(i)&&(g=!1),(0,nN.Z)(i,t=>{ah(e,t,f[n])})}}else t.ensureOptimizations&&iQ(`${i7} TokenType: <${r.name}> is using a custom token pattern without providing parameter. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),g=!1;return e},[])}),{emptyGroups:h,patternIdxToConfig:f,charCodeToPatternIdxToConfig:y,hasCustom:m,canBeOptimized:g}}(e,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:this.TRACE_INIT})}),this.patternIdxToConfig[r]=n.patternIdxToConfig,this.charCodeToPatternIdxToConfig[r]=n.charCodeToPatternIdxToConfig,this.emptyGroups=nV({},this.emptyGroups,n.emptyGroups),this.hasCustom=n.hasCustom||this.hasCustom,this.canModeBeOptimized[r]=n.canBeOptimized}})}),this.defaultMode=r.defaultMode,!(0,n$.Z)(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling)throw Error("Errors detected in definition of Lexer:\n"+(0,nL.Z)(this.lexerDefinitionErrors,e=>e.message).join("-----------------------\n"));(0,nN.Z)(this.lexerDefinitionWarning,e=>{iJ(e.message)}),this.TRACE_INIT("Choosing sub-methods implementations",()=>{if(ar?(this.chopInput=ag.Z,this.match=this.matchWithTest):(this.updateLastIndex=ay.Z,this.match=this.matchWithExec),n&&(this.handleModes=ay.Z),!1===this.trackStartLines&&(this.computeNewColumn=ag.Z),!1===this.trackEndLines&&(this.updateTokenEndLineColumnLocation=ay.Z),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else if(/onlyOffset/i.test(this.config.positionTracking))this.createTokenInstance=this.createOffsetOnlyToken;else throw Error(`Invalid config option: "${this.config.positionTracking}"`);this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)}),this.TRACE_INIT("Failed Optimization Warnings",()=>{let e=(0,iZ.Z)(this.canModeBeOptimized,(e,t,r)=>(!1===t&&e.push(r),e),[]);if(t.ensureOptimizations&&!(0,n$.Z)(e))throw Error(`Lexer Modes: < ${e.join(", ")} > cannot be optimized. + Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. + Or inspect the console log for details on how to resolve these issues.`)}),this.TRACE_INIT("clearRegExpParserCache",()=>{i0={}}),this.TRACE_INIT("toFastProperties",()=>{nO(this)})})}tokenize(e,t=this.defaultMode){if(!(0,n$.Z)(this.lexerDefinitionErrors))throw Error("Unable to Tokenize because Errors detected in definition of Lexer:\n"+(0,nL.Z)(this.lexerDefinitionErrors,e=>e.message).join("-----------------------\n"));return this.tokenizeInternal(e,t)}tokenizeInternal(e,t){let r,n,i,a,s,o,l,u,c,d,h,f,p,m,g,y,T;let v=e,E=v.length,R=0,A=0,k=Array(this.hasCustom?0:Math.floor(e.length/10)),I=[],x=this.trackStartLines?1:void 0,S=this.trackStartLines?1:void 0,N=function(e){let t={},r=(0,nK.Z)(e);return(0,nN.Z)(r,r=>{let n=e[r];if((0,iu.Z)(n))t[r]=[];else throw Error("non exhaustive match")}),t}(this.emptyGroups),C=this.trackStartLines,$=this.config.lineTerminatorsPattern,L=0,w=[],b=[],O=[],_=[];function P(){return w}function M(e){let t=b[am(e)];return void 0===t?_:t}Object.freeze(_);let D=e=>{if(1===O.length&&void 0===e.tokenType.PUSH_MODE){let t=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);I.push({offset:e.startOffset,line:e.startLine,column:e.startColumn,length:e.image.length,message:t})}else{O.pop();let e=(0,aT.Z)(O);w=this.patternIdxToConfig[e],b=this.charCodeToPatternIdxToConfig[e],L=w.length;let t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;y=b&&t?M:P}};function Z(e){O.push(e),b=this.charCodeToPatternIdxToConfig[e],L=(w=this.patternIdxToConfig[e]).length,L=w.length;let t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;y=b&&t?M:P}Z.call(this,t);let U=this.config.recoveryEnabled;for(;Ro.length){o=a,l=u,T=t;break}}}break}}if(null!==o){if(c=o.length,void 0!==(d=T.group)&&(h=T.tokenTypeIdx,f=this.createTokenInstance(o,R,h,T.tokenType,x,S,c),this.handlePayload(f,l),!1===d?A=this.addToken(k,A,f):N[d].push(f)),e=this.chopInput(e,c),R+=c,S=this.computeNewColumn(S,c),!0===C&&!0===T.canLineTerminator){let e,t,r=0;$.lastIndex=0;do!0===(e=$.test(o))&&(t=$.lastIndex-1,r++);while(!0===e);0!==r&&(x+=r,S=c-t,this.updateTokenEndLineColumnLocation(f,d,t,r,x,S,c))}this.handleModes(T,D,Z,f)}else{let t=R,r=x,i=S,a=!1===U;for(;!1===a&&R ${aL(e)} <--`:`token of type --> ${e.name} <--`;return`Expecting ${i} but found --> '${t.image}' <--`},buildNotAllInputParsedMessage:({firstRedundant:e,ruleName:t})=>"Redundant input, expecting EOF but found: "+e.image,buildNoViableAltMessage({expectedPathsPerAlt:e,actual:t,previous:r,customUserDescription:n,ruleName:i}){let a="Expecting: ",s="\nbut found: '"+iq(t).image+"'";if(n)return a+n+s;{let t=(0,iZ.Z)(e,(e,t)=>e.concat(t),[]),r=(0,nL.Z)(t,e=>`[${(0,nL.Z)(e,e=>aL(e)).join(", ")}]`),n=(0,nL.Z)(r,(e,t)=>` ${t+1}. ${e}`);return a+`one of these possible Token sequences: +${n.join("\n")}`+s}},buildEarlyExitMessage({expectedIterationPaths:e,actual:t,customUserDescription:r,ruleName:n}){let i="Expecting: ",a="\nbut found: '"+iq(t).image+"'";if(r)return i+r+a;{let t=(0,nL.Z)(e,e=>`[${(0,nL.Z)(e,e=>aL(e)).join(",")}]`);return i+`expecting at least one iteration which starts with one of these possible Token sequences:: + <${t.join(" ,")}>`+a}}};Object.freeze(aV);let aW={buildRuleNotFoundError:(e,t)=>"Invalid grammar, reference to a rule which is not defined: ->"+t.nonTerminalName+"<-\ninside top level rule: ->"+e.name+"<-"},aH={buildDuplicateFoundError(e,t){var r;let n=e.name,i=iq(t),a=i.idx,s=iE(i);let o=(r=i)instanceof ii?r.terminalType.name:r instanceof n7?r.nonTerminalName:"",l=`->${s}${a>0?a:""}<- ${o?`with argument: ->${o}<-`:""} + appears more than once (${t.length} times) in the top level rule: ->${n}<-. + For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES + `;return l=(l=l.replace(/[ \t]+/g," ")).replace(/\s\s+/g,"\n")},buildNamespaceConflictError:e=>`Namespace conflict found in grammar. +The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${e.name}>. +To resolve this make sure each Terminal and Non-Terminal names are unique +This is easy to accomplish by using the convention that Terminal names start with an uppercase letter +and Non-Terminal names start with a lower case letter.`,buildAlternationPrefixAmbiguityError(e){let t=(0,nL.Z)(e.prefixPath,e=>aL(e)).join(", "),r=0===e.alternation.idx?"":e.alternation.idx;return`Ambiguous alternatives: <${e.ambiguityIndices.join(" ,")}> due to common lookahead prefix +in inside <${e.topLevelRule.name}> Rule, +<${t}> may appears as a prefix path in all these alternatives. +See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX +For Further details.`},buildAlternationAmbiguityError(e){let t=(0,nL.Z)(e.prefixPath,e=>aL(e)).join(", "),r=0===e.alternation.idx?"":e.alternation.idx,n=`Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(" ,")}> in inside <${e.topLevelRule.name}> Rule, +<${t}> may appears as a prefix path in all these alternatives. +`;return n=n+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES +`+"For Further details."},buildEmptyRepetitionError(e){let t=iE(e.repetition);return 0!==e.repetition.idx&&(t+=e.repetition.idx),`The repetition <${t}> within Rule <${e.topLevelRule.name}> can never consume any tokens. +This could lead to an infinite loop.`},buildTokenNameError:e=>"deprecated",buildEmptyAlternationError:e=>`Ambiguous empty alternative: <${e.emptyChoiceIdx+1}> in inside <${e.topLevelRule.name}> Rule. +Only the last alternative may be an empty alternative.`,buildTooManyAlternativesError:e=>`An Alternation cannot have more than 256 alternatives: + inside <${e.topLevelRule.name}> Rule. + has ${e.alternation.definition.length+1} alternatives.`,buildLeftRecursionError(e){let t=e.topLevelRule.name,r=(0,nL.Z)(e.leftRecursionPath,e=>e.name),n=`${t} --> ${r.concat([t]).join(" --\x3e ")}`;return`Left Recursion found in grammar. +rule: <${t}> can be invoked from itself (directly or indirectly) +without consuming any Tokens. The grammar path that causes this is: + ${n} + To fix this refactor your grammar to remove the left recursion. +see: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError:e=>"deprecated",buildDuplicateRuleNameError(e){let t;return t=e.topLevelRule instanceof n3?e.topLevelRule.name:e.topLevelRule,`Duplicate definition, rule: ->${t}<- is already defined in the grammar: ->${e.grammarName}<-`}};class az extends ia{constructor(e,t){super(),this.nameToTopRule=e,this.errMsgProvider=t,this.errors=[]}resolveRefs(){(0,nN.Z)((0,nC.Z)(this.nameToTopRule),e=>{this.currTopLevel=e,e.accept(this)})}visitNonTerminal(e){let t=this.nameToTopRule[e.nonTerminalName];if(t)e.referencedRule=t;else{let t=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,e);this.errors.push({message:t,type:rt.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}}}let aY=function(e,t){return(0,iV.Z)((0,nL.Z)(e,t),1)};var aq=r("49790");let aX=function(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i{!1===(0,n$.Z)(e.definition)&&(n=a(e.definition))}),n;else if(t instanceof ii)r.push(t.terminalType);else throw Error("non exhaustive match");i++}return n.push({partialPath:r,suffixDef:nM(e,i)}),n}function se(e,t,r,n){let i="EXIT_NONE_TERMINAL",a=[i],s="EXIT_ALTERNATIVE",o=!1,l=t.length,u=l-n-1,c=[],d=[];for(d.push({idx:-1,def:e,ruleStack:[],occurrenceStack:[]});!(0,n$.Z)(d);){let e=d.pop();if(e===s){o&&(0,aT.Z)(d).idx<=u&&d.pop();continue}let n=e.def,h=e.idx,f=e.ruleStack,p=e.occurrenceStack;if((0,n$.Z)(n))continue;let m=n[0];if(m===i){let e={idx:h,def:nM(n),ruleStack:a1(f),occurrenceStack:a1(p)};d.push(e)}else if(m instanceof ii){if(h=0;e--){let t={idx:h,def:m.definition[e].definition.concat(nM(n)),ruleStack:f,occurrenceStack:p};d.push(t),d.push(s)}else if(m instanceof n5)d.push({idx:h,def:m.definition.concat(nM(n)),ruleStack:f,occurrenceStack:p});else if(m instanceof n3)d.push(function(e,t,r,n){let i=(0,nb.Z)(r);i.push(e.name);let a=(0,nb.Z)(n);return a.push(1),{idx:t,def:e.definition,ruleStack:i,occurrenceStack:a}}(m,h,f,p));else throw Error("non exhaustive match")}return c}function st(e){if(e instanceof n9||"Option"===e)return t8.OPTION;if(e instanceof ie||"Repetition"===e)return t8.REPETITION;if(e instanceof n6||"RepetitionMandatory"===e)return t8.REPETITION_MANDATORY;else if(e instanceof n8||"RepetitionMandatoryWithSeparator"===e)return t8.REPETITION_MANDATORY_WITH_SEPARATOR;else if(e instanceof it||"RepetitionWithSeparator"===e)return t8.REPETITION_WITH_SEPARATOR;else if(e instanceof ir||"Alternation"===e)return t8.ALTERNATION;else throw Error("non exhaustive match")}function sr(e){let{occurrence:t,rule:r,prodType:n,maxLookahead:i}=e,a=st(n);return a===t8.ALTERNATION?sc(t,r,i):sd(t,r,a,i)}(e3=t8||(t8={}))[e3.OPTION=0]="OPTION",e3[e3.REPETITION=1]="REPETITION",e3[e3.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",e3[e3.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",e3[e3.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",e3[e3.ALTERNATION=5]="ALTERNATION";function sn(e,t,r,n){let i=e.length,a=iT(e,e=>iT(e,e=>1===e.length));if(t)return function(t){let n=(0,nL.Z)(t,e=>e.GATE);for(let t=0;t(0,ix.Z)(e)),r=(0,iZ.Z)(t,(e,t,r)=>((0,nN.Z)(t,t=>{!(0,nw.Z)(e,t.tokenTypeIdx)&&(e[t.tokenTypeIdx]=r),(0,nN.Z)(t.categoryMatches,t=>{!(0,nw.Z)(e,t)&&(e[t]=r)})}),e),{});return function(){return r[this.LA(1).tokenTypeIdx]}}}function si(e,t,r){let n=iT(e,e=>1===e.length),i=e.length;if(!n||r)return function(){t:for(let r=0;r(e[t.tokenTypeIdx]=!0,(0,nN.Z)(t.categoryMatches,t=>{e[t]=!0}),e),[]);return function(){return!0===e[this.LA(1).tokenTypeIdx]}}}}class sa extends iR{constructor(e,t,r){super(),this.topProd=e,this.targetOccurrence=t,this.targetProdType=r}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(e,t,r,n){return e.idx===this.targetOccurrence&&this.targetProdType===t&&(this.restDef=r.concat(n),!0)}walkOption(e,t,r){!this.checkIsTarget(e,t8.OPTION,t,r)&&super.walkOption(e,t,r)}walkAtLeastOne(e,t,r){!this.checkIsTarget(e,t8.REPETITION_MANDATORY,t,r)&&super.walkOption(e,t,r)}walkAtLeastOneSep(e,t,r){!this.checkIsTarget(e,t8.REPETITION_MANDATORY_WITH_SEPARATOR,t,r)&&super.walkOption(e,t,r)}walkMany(e,t,r){!this.checkIsTarget(e,t8.REPETITION,t,r)&&super.walkOption(e,t,r)}walkManySep(e,t,r){!this.checkIsTarget(e,t8.REPETITION_WITH_SEPARATOR,t,r)&&super.walkOption(e,t,r)}}class ss extends ia{constructor(e,t,r){super(),this.targetOccurrence=e,this.targetProdType=t,this.targetRef=r,this.result=[]}checkIsTarget(e,t){e.idx===this.targetOccurrence&&this.targetProdType===t&&(void 0===this.targetRef||e===this.targetRef)&&(this.result=e.definition)}visitOption(e){this.checkIsTarget(e,t8.OPTION)}visitRepetition(e){this.checkIsTarget(e,t8.REPETITION)}visitRepetitionMandatory(e){this.checkIsTarget(e,t8.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(e){this.checkIsTarget(e,t8.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(e){this.checkIsTarget(e,t8.REPETITION_WITH_SEPARATOR)}visitAlternation(e){this.checkIsTarget(e,t8.ALTERNATION)}}function so(e){let t=Array(e);for(let r=0;ra8([e],1)),n=so(r.length),i=(0,nL.Z)(r,e=>{let t={};return(0,nN.Z)(e,e=>{let r=sl(e.partialPath);(0,nN.Z)(r,e=>{t[e]=!0})}),t}),a=r;for(let e=1;e<=t;e++){let r=a;a=so(r.length);for(let s=0;s{let t=sl(e.partialPath);(0,nN.Z)(t,e=>{i[s][e]=!0})})}}}}return n}function sc(e,t,r,n){let i=new ss(e,t8.ALTERNATION,n);return t.accept(i),su(i.result,r)}function sd(e,t,r,n){let i=new ss(e,r);t.accept(i);let a=i.result,s=new sa(t,e,r).startWalking(),o=new n5({definition:a});return su([o,new n5({definition:s})],n)}function sh(e,t){r:for(let r=0;riT(e,e=>iT(e,e=>(0,n$.Z)(e.categoryMatches))))}function sp(e){return`${iE(e)}_#_${e.idx}_#_${sm(e)}`}function sm(e){return e instanceof ii?e.terminalType.name:e instanceof n7?e.nonTerminalName:""}class sg extends ia{constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(e){this.allProductions.push(e)}visitOption(e){this.allProductions.push(e)}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}visitAlternation(e){this.allProductions.push(e)}visitTerminal(e){this.allProductions.push(e)}}class sy extends ia{constructor(){super(...arguments),this.alternations=[]}visitAlternation(e){this.alternations.push(e)}}class sT extends ia{constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}}let sv="MismatchedTokenException",sE="NoViableAltException",sR="EarlyExitException",sA="NotAllInputParsedException",sk=[sv,sE,sR,sA];function sI(e){return im(sk,e.name)}Object.freeze(sk);class sx extends Error{constructor(e,t){super(e),this.token=t,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}class sS extends sx{constructor(e,t,r){super(e,t),this.previousToken=r,this.name=sv}}class sN extends sx{constructor(e,t,r){super(e,t),this.previousToken=r,this.name=sE}}class sC extends sx{constructor(e,t){super(e,t),this.name=sA}}class s$ extends sx{constructor(e,t,r){super(e,t),this.previousToken=r,this.name=sR}}let sL={},sw="InRuleRecoveryException";class sb extends Error{constructor(e){super(e),this.name=sw}}function sO(e,t,r,n,i,a,s){let o=this.getKeyForAutomaticLookahead(n,i),l=this.firstAfterRepMap[o];if(void 0===l){let e=this.getCurrRuleFullName();l=new a(this.getGAstProductions()[e],i).startWalking(),this.firstAfterRepMap[o]=l}let u=l.token,c=l.occurrence,d=l.isEndOfRule;if(1===this.RULE_STACK.length&&d&&void 0===u&&(u=aB,c=1),void 0!==u&&void 0!==c)this.shouldInRepetitionRecoveryBeTried(u,c,s)&&this.tryInRepetitionRecovery(e,t,r,u)}let s_=256,sP=512,sM=768,sD=1024,sZ=1280,sU=1536;function sF(e,t,r){return r|t|e}class sG{constructor(e){var t;this.maxLookahead=null!==(t=null==e?void 0:e.maxLookahead)&&void 0!==t?t:s7.maxLookahead}validate(e){let t=this.validateNoLeftRecursion(e.rules);if((0,n$.Z)(t)){let r=this.validateEmptyOrAlternatives(e.rules),n=this.validateAmbiguousAlternationAlternatives(e.rules,this.maxLookahead);return[...t,...r,...n,...this.validateSomeNonEmptyLookaheadPath(e.rules,this.maxLookahead)]}return t}validateNoLeftRecursion(e){return aY(e,e=>(function e(t,r,n,i=[]){let a=[],s=function e(t){let r=[];if((0,n$.Z)(t))return r;let n=iq(t);if(n instanceof n7)r.push(n.referencedRule);else if(n instanceof n5||n instanceof n9||n instanceof n6||n instanceof n8||n instanceof it||n instanceof ie)r=r.concat(e(n.definition));else if(n instanceof ir)r=(0,ix.Z)((0,nL.Z)(n.definition,t=>e(t.definition)));else if(n instanceof ii);else throw Error("non exhaustive match");let i=iv(n),a=t.length>1;if(!i||!a)return r;{let n=nM(t);return r.concat(e(n))}}(r.definition);if((0,n$.Z)(s))return[];{let r=t.name;im(s,t)&&a.push({message:n.buildLeftRecursionError({topLevelRule:t,leftRecursionPath:i}),type:rt.LEFT_RECURSION,ruleName:r});let o=aY(iz(s,i.concat([t])),r=>{let a=(0,nb.Z)(i);return a.push(r),e(t,r,n,a)});return a.concat(o)}})(e,e,aH))}validateEmptyOrAlternatives(e){return aY(e,e=>(function(e,t){let r=new sy;return e.accept(r),aY(r.alternations,r=>aY(a1(r.definition),(n,i)=>{let a=se([n],[],aE,1);return(0,n$.Z)(a)?[{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:r,emptyChoiceIdx:i}),type:rt.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:r.idx,alternative:i+1}]:[]}))})(e,aH))}validateAmbiguousAlternationAlternatives(e,t){return aY(e,e=>(function(e,t,r){let n=new sy;e.accept(n);let i=n.alternations;return aY(i=i_(i,e=>!0===e.ignoreAmbiguities),n=>{let i=n.idx,a=sc(i,e,n.maxLookahead||t,n),s=function(e,t,r,n){let i=[],a=(0,iZ.Z)(e,(r,n,a)=>!0===t.definition[a].ignoreAmbiguities?r:((0,nN.Z)(n,n=>{let s=[a];(0,nN.Z)(e,(e,r)=>{a!==r&&sh(e,n)&&!0!==t.definition[r].ignoreAmbiguities&&s.push(r)}),s.length>1&&!sh(i,n)&&(i.push(n),r.push({alts:s,path:n}))}),r),[]);return(0,nL.Z)(a,e=>{let i=(0,nL.Z)(e.alts,e=>e+1);return{message:n.buildAlternationAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:i,prefixPath:e.path}),type:rt.AMBIGUOUS_ALTS,ruleName:r.name,occurrence:t.idx,alternatives:e.alts}})}(a,n,e,r),o=function(e,t,r,n){let i=(0,iZ.Z)(e,(e,t,r)=>{let n=(0,nL.Z)(t,e=>({idx:r,path:e}));return e.concat(n)},[]);return iY(aY(i,e=>{if(!0===t.definition[e.idx].ignoreAmbiguities)return[];let a=e.idx,s=e.path,o=(0,iU.Z)(i,e=>{var r,n;return!0!==t.definition[e.idx].ignoreAmbiguities&&e.idx{let r=n[t];return e===r||r.categoryMatchesMap[e.tokenTypeIdx]}))});return(0,nL.Z)(o,e=>{let i=[e.idx+1,a+1],s=0===t.idx?"":t.idx;return{message:n.buildAlternationPrefixAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:i,prefixPath:e.path}),type:rt.AMBIGUOUS_PREFIX_ALTS,ruleName:r.name,occurrence:s,alternatives:i}})}))}(a,n,e,r);return s.concat(o)})})(e,t,aH))}validateSomeNonEmptyLookaheadPath(e,t){return function(e,t,r){let n=[];return(0,nN.Z)(e,e=>{let i=new sT;e.accept(i);let a=i.allProductions;(0,nN.Z)(a,i=>{let a=st(i),s=i.maxLookahead||t,o=sd(i.idx,e,a,s)[0];if((0,n$.Z)((0,ix.Z)(o))){let t=r.buildEmptyRepetitionError({topLevelRule:e,repetition:i});n.push({message:t,type:rt.NO_NON_EMPTY_LOOKAHEAD,ruleName:e.name})}})}),n}(e,t,aH)}buildLookaheadForAlternation(e){return function(e,t,r,n,i,a){let s=sc(e,t,r),o=sf(s)?aR:aE;return a(s,n,o,i)}(e.prodOccurrence,e.rule,e.maxLookahead,e.hasPredicates,e.dynamicTokensEnabled,sn)}buildLookaheadForOptional(e){return function(e,t,r,n,i,a){let s=sd(e,t,i,r),o=sf(s)?aR:aE;return a(s[0],o,n)}(e.prodOccurrence,e.rule,e.maxLookahead,e.dynamicTokensEnabled,st(e.prodType),si)}}let sB=new class e extends ia{constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(e){this.dslMethods.option.push(e)}visitRepetitionWithSeparator(e){this.dslMethods.repetitionWithSeparator.push(e)}visitRepetitionMandatory(e){this.dslMethods.repetitionMandatory.push(e)}visitRepetitionMandatoryWithSeparator(e){this.dslMethods.repetitionMandatoryWithSeparator.push(e)}visitRepetition(e){this.dslMethods.repetition.push(e)}visitAlternation(e){this.dslMethods.alternation.push(e)}};function sK(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset(0,iP.Z)(e.GATE));return a.hasPredicates=s,r.definition.push(a),(0,nN.Z)(i,e=>{let t=new n5({definition:[]});a.definition.push(t),(0,nw.Z)(e,"IGNORE_AMBIGUITIES")?t.ignoreAmbiguities=e.IGNORE_AMBIGUITIES:(0,nw.Z)(e,"GATE")&&(t.ignoreAmbiguities=!0),this.recordingProdStack.push(t),e.ALT.call(this),this.recordingProdStack.pop()}),sz}function s1(e){return 0===e?"":`${e}`}function s2(e){if(e<0||e>sY){let t=Error(`Invalid DSL Method idx value: <${e}> + Idx value must be a none negative value smaller than ${sY+1}`);throw t.KNOWN_RECORDER_ERROR=!0,t}}let s4=aK(aB,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(s4);let s7=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:aV,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),s3=Object.freeze({recoveryValueFunc:()=>void 0,resyncEnabled:!0});function s5(e){return function(){return e}}(e9=rt||(rt={}))[e9.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",e9[e9.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",e9[e9.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",e9[e9.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",e9[e9.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",e9[e9.LEFT_RECURSION=5]="LEFT_RECURSION",e9[e9.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",e9[e9.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",e9[e9.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e9[e9.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",e9[e9.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",e9[e9.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",e9[e9.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",e9[e9.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION";class s9{static performSelfAnalysis(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{let e;this.selfAnalysisDone=!0;let t=this.className;this.TRACE_INIT("toFastProps",()=>{nO(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),(0,nN.Z)(this.definedRulesNames,e=>{let t;let r=this[e].originalGrammarAction;this.TRACE_INIT(`${e} Rule`,()=>{t=this.topLevelRuleRecord(e,r)}),this.gastProductionsCache[e]=t})}finally{this.disableRecording()}});let r=[];if(this.TRACE_INIT("Grammar Resolving",()=>{r=function(e){let t=(0,iL.Z)(e,{errMsgProvider:aW}),r={};return(0,nN.Z)(e.rules,e=>{r[e.name]=e}),function(e,t){let r=new az(e,t);return r.resolveRefs(),r.errors}(r,t.errMsgProvider)}({rules:(0,nC.Z)(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(r)}),this.TRACE_INIT("Grammar Validations",()=>{if((0,n$.Z)(r)&&!1===this.skipValidations){var e;let r=(e={rules:(0,nC.Z)(this.gastProductionsCache),tokenTypes:(0,nC.Z)(this.tokensMap),errMsgProvider:aH,grammarName:t},function(e,t,r,n){let i=aY(e,e=>(function(e,t){let r=new sg;e.accept(r);let n=nq(a0(r.allProductions,sp),e=>e.length>1);return(0,nL.Z)((0,nC.Z)(n),r=>{let n=iq(r),i=t.buildDuplicateFoundError(e,r),a=iE(n),s={message:i,type:rt.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:a,occurrence:n.idx},o=sm(n);return o&&(s.parameter=o),s})})(e,r)),a=function(e,t,r){let n=[],i=(0,nL.Z)(t,e=>e.name);return(0,nN.Z)(e,e=>{let t=e.name;if(im(i,t)){let i=r.buildNamespaceConflictError(e);n.push({message:i,type:rt.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:t})}}),n}(e,t,r),s=aY(e,e=>(function(e,t){let r=new sy;return e.accept(r),aY(r.alternations,r=>r.definition.length>255?[{message:t.buildTooManyAlternativesError({topLevelRule:e,alternation:r}),type:rt.TOO_MANY_ALTS,ruleName:e.name,occurrence:r.idx}]:[])})(e,r)),o=aY(e,t=>(function(e,t,r,n){let i=[];if((0,iZ.Z)(t,(t,r)=>r.name===e.name?t+1:t,0)>1){let t=n.buildDuplicateRuleNameError({topLevelRule:e,grammarName:r});i.push({message:t,type:rt.DUPLICATE_RULE_NAME,ruleName:e.name})}return i})(t,e,n,r));return i.concat(a,s,o)}((e=(0,iL.Z)(e,{errMsgProvider:aH})).rules,e.tokenTypes,e.errMsgProvider,e.grammarName)),n=function(e){let t=e.lookaheadStrategy.validate({rules:e.rules,tokenTypes:e.tokenTypes,grammarName:e.grammarName});return(0,nL.Z)(t,e=>Object.assign({type:rt.CUSTOM_LOOKAHEAD_VALIDATION},e))}({lookaheadStrategy:this.lookaheadStrategy,rules:(0,nC.Z)(this.gastProductionsCache),tokenTypes:(0,nC.Z)(this.tokensMap),grammarName:t});this.definitionErrors=this.definitionErrors.concat(r,n)}}),(0,n$.Z)(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{let e=function(e){let t={};return(0,nN.Z)(e,e=>{nV(t,new iC(e).startWalking())}),t}((0,nC.Z)(this.gastProductionsCache));this.resyncFollows=e}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var e,t;null===(t=(e=this.lookaheadStrategy).initialize)||void 0===t||t.call(e,{rules:(0,nC.Z)(this.gastProductionsCache)}),this.preComputeLookaheadFunctions((0,nC.Z)(this.gastProductionsCache))})),!s9.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,n$.Z)(this.definitionErrors))throw e=(0,nL.Z)(this.definitionErrors,e=>e.message),Error(`Parser Definition Errors detected: + ${e.join("\n-------------------------------\n")}`)})}constructor(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;if(this.initErrorHandler(t),this.initLexerAdapter(),this.initLooksAhead(t),this.initRecognizerEngine(e,t),this.initRecoverable(t),this.initTreeBuilder(t),this.initContentAssist(),this.initGastRecorder(t),this.initPerformanceTracer(t),(0,nw.Z)(t,"ignoredIssues"))throw Error("The IParserConfig property has been deprecated.\n Please use the flag on the relevant DSL method instead.\n See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES\n For further details.");this.skipValidations=(0,nw.Z)(t,"skipValidations")?t.skipValidations:s7.skipValidations}}s9.DEFER_DEFINITION_ERRORS_HANDLING=!1,!function(e,t){t.forEach(t=>{let r=t.prototype;Object.getOwnPropertyNames(r).forEach(n=>{if("constructor"===n)return;let i=Object.getOwnPropertyDescriptor(r,n);i&&(i.get||i.set)?Object.defineProperty(e.prototype,n,i):e.prototype[n]=t.prototype[n]})})}(s9,[class e{initRecoverable(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,nw.Z)(e,"recoveryEnabled")?e.recoveryEnabled:s7.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=sO)}getTokenToInsert(e){let t=aK(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return t.isInsertedInRecovery=!0,t}canTokenTypeBeInsertedInRecovery(e){return!0}canTokenTypeBeDeletedInRecovery(e){return!0}tryInRepetitionRecovery(e,t,r,n){let i=this.findReSyncTokenType(),a=this.exportLexerState(),s=[],o=!1,l=this.LA(1),u=this.LA(1),c=()=>{let e=this.LA(0),t=new sS(this.errorMessageProvider.buildMismatchTokenMessage({expected:n,actual:l,previous:e,ruleName:this.getCurrRuleFullName()}),l,this.LA(0));t.resyncedTokens=a1(s),this.SAVE_ERROR(t)};for(;!o;){if(this.tokenMatcher(u,n)){c();return}if(r.call(this)){c(),e.apply(this,t);return}else this.tokenMatcher(u,i)?o=!0:(u=this.SKIP_TOKEN(),this.addToResyncTokens(u,s))}this.importLexerState(a)}shouldInRepetitionRecoveryBeTried(e,t,r){return!(!1===r||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t)))&&!0}getFollowsForInRuleRecovery(e,t){let r=this.getCurrentGrammarPath(e,t);return this.getNextPossibleTokenTypes(r)}tryInRuleRecovery(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t))return this.getTokenToInsert(e);if(this.canRecoverWithSingleTokenDeletion(e)){let e=this.SKIP_TOKEN();return this.consumeToken(),e}throw new sb("sad sad panda")}canPerformInRuleRecovery(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)}canRecoverWithSingleTokenInsertion(e,t){if(!this.canTokenTypeBeInsertedInRecovery(e)||(0,n$.Z)(t))return!1;let r=this.LA(1);return void 0!==(0,iX.Z)(t,e=>this.tokenMatcher(r,e))}canRecoverWithSingleTokenDeletion(e){return!!this.canTokenTypeBeDeletedInRecovery(e)&&this.tokenMatcher(this.LA(2),e)}isInCurrentRuleReSyncSet(e){let t=this.getCurrFollowKey();return im(this.getFollowSetFromFollowKey(t),e)}findReSyncTokenType(){let e=this.flattenFollowSet(),t=this.LA(1),r=2;for(;;){let n=(0,iX.Z)(e,e=>aE(t,e));if(void 0!==n)return n;t=this.LA(r),r++}}getCurrFollowKey(){if(1===this.RULE_STACK.length)return sL;let e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),r=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(r)}}buildFullFollowKeyStack(){let e=this.RULE_STACK,t=this.RULE_OCCURRENCE_STACK;return(0,nL.Z)(e,(r,n)=>0===n?sL:{ruleName:this.shortRuleNameToFullName(r),idxInCallingRule:t[n],inRule:this.shortRuleNameToFullName(e[n-1])})}flattenFollowSet(){let e=(0,nL.Z)(this.buildFullFollowKeyStack(),e=>this.getFollowSetFromFollowKey(e));return(0,ix.Z)(e)}getFollowSetFromFollowKey(e){if(e===sL)return[aB];let t=e.ruleName+e.idxInCallingRule+iN+e.inRule;return this.resyncFollows[t]}addToResyncTokens(e,t){return!this.tokenMatcher(e,aB)&&t.push(e),t}reSyncTo(e){let t=[],r=this.LA(1);for(;!1===this.tokenMatcher(r,e);)r=this.SKIP_TOKEN(),this.addToResyncTokens(r,t);return a1(t)}attemptInRepetitionRecovery(e,t,r,n,i,a,s){}getCurrentGrammarPath(e,t){let r=this.getHumanReadableRuleStack(),n=(0,nb.Z)(this.RULE_OCCURRENCE_STACK);return{ruleStack:r,occurrenceStack:n,lastTok:e,lastTokOccurrence:t}}getHumanReadableRuleStack(){return(0,nL.Z)(this.RULE_STACK,e=>this.shortRuleNameToFullName(e))}},class e{initLooksAhead(e){this.dynamicTokensEnabled=(0,nw.Z)(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:s7.dynamicTokensEnabled,this.maxLookahead=(0,nw.Z)(e,"maxLookahead")?e.maxLookahead:s7.maxLookahead,this.lookaheadStrategy=(0,nw.Z)(e,"lookaheadStrategy")?e.lookaheadStrategy:new sG({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(e){(0,nN.Z)(e,e=>{this.TRACE_INIT(`${e.name} Rule Lookahead`,()=>{let{alternation:t,repetition:r,option:n,repetitionMandatory:i,repetitionMandatoryWithSeparator:a,repetitionWithSeparator:s}=function(e){sB.reset(),e.accept(sB);let t=sB.dslMethods;return sB.reset(),t}(e);(0,nN.Z)(t,t=>{let r=0===t.idx?"":t.idx;this.TRACE_INIT(`${iE(t)}${r}`,()=>{var r,n;let i=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:t.idx,rule:e,maxLookahead:t.maxLookahead||this.maxLookahead,hasPredicates:t.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled});let a=(r=this.fullRuleNameToShort[e.name],n=s_,t.idx|n|r);this.setLaFuncCache(a,i)})}),(0,nN.Z)(r,t=>{this.computeLookaheadFunc(e,t.idx,sM,"Repetition",t.maxLookahead,iE(t))}),(0,nN.Z)(n,t=>{this.computeLookaheadFunc(e,t.idx,sP,"Option",t.maxLookahead,iE(t))}),(0,nN.Z)(i,t=>{this.computeLookaheadFunc(e,t.idx,sD,"RepetitionMandatory",t.maxLookahead,iE(t))}),(0,nN.Z)(a,t=>{this.computeLookaheadFunc(e,t.idx,sU,"RepetitionMandatoryWithSeparator",t.maxLookahead,iE(t))}),(0,nN.Z)(s,t=>{this.computeLookaheadFunc(e,t.idx,sZ,"RepetitionWithSeparator",t.maxLookahead,iE(t))})})})}computeLookaheadFunc(e,t,r,n,i,a){this.TRACE_INIT(`${a}${0===t?"":t}`,()=>{var a;let s=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:t,rule:e,maxLookahead:i||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:n});let o=(a=this.fullRuleNameToShort[e.name],t|r|a);this.setLaFuncCache(o,s)})}getKeyForAutomaticLookahead(e,t){return t|e|this.getLastExplicitRuleShortName()}getLaFuncFromCache(e){return this.lookAheadFuncsCache.get(e)}setLaFuncCache(e,t){this.lookAheadFuncsCache.set(e,t)}},class e{initTreeBuilder(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=(0,nw.Z)(e,"nodeLocationTracking")?e.nodeLocationTracking:s7.nodeLocationTracking,this.outputCst){if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sj,this.setNodeLocationFromNode=sj,this.cstPostRule=ay.Z,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=ay.Z,this.setNodeLocationFromNode=ay.Z,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sK,this.setNodeLocationFromNode=sK,this.cstPostRule=ay.Z,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=ay.Z,this.setNodeLocationFromNode=ay.Z,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=ay.Z,this.setNodeLocationFromNode=ay.Z,this.cstPostRule=ay.Z,this.setInitialNodeLocation=ay.Z;else throw Error(`Invalid config option: "${e.nodeLocationTracking}"`)}else this.cstInvocationStateUpdate=ay.Z,this.cstFinallyStateUpdate=ay.Z,this.cstPostTerminal=ay.Z,this.cstPostNonTerminal=ay.Z,this.cstPostRule=ay.Z}setInitialNodeLocationOnlyOffsetRecovery(e){e.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(e){let t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(e){let t={name:e,children:Object.create(null)};this.setInitialNodeLocation(t),this.CST_STACK.push(t)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(e){let t=this.LA(0),r=e.location;r.startOffset<=t.startOffset==!0?(r.endOffset=t.endOffset,r.endLine=t.endLine,r.endColumn=t.endColumn):(r.startOffset=NaN,r.startLine=NaN,r.startColumn=NaN)}cstPostRuleOnlyOffset(e){let t=this.LA(0),r=e.location;r.startOffset<=t.startOffset==!0?r.endOffset=t.endOffset:r.startOffset=NaN}cstPostTerminal(e,t){var r,n,i;let a=this.CST_STACK[this.CST_STACK.length-1];r=a,n=t,i=e,void 0===r.children[i]?r.children[i]=[n]:r.children[i].push(n),this.setNodeLocationFromToken(a.location,t)}cstPostNonTerminal(e,t){var r,n,i;let a=this.CST_STACK[this.CST_STACK.length-1];r=a,n=t,i=e,void 0===r.children[n]?r.children[n]=[i]:r.children[n].push(i),this.setNodeLocationFromNode(a.location,e.location)}getBaseCstVisitorConstructor(){if((0,i$.Z)(this.baseCstVisitorConstructor)){let e=function(e,t){let r=function(){};return sV(r,e+"BaseSemantics"),r.prototype={visit:function(e,t){if((0,iu.Z)(e)&&(e=e[0]),!(0,i$.Z)(e))return this[e.name](e.children,t)},validateVisitor:function(){let e=function(e,t){return function(e,t){let r=(0,iU.Z)(t,t=>!1===(0,iP.Z)(e[t]));return iY((0,nL.Z)(r,t=>({msg:`Missing visitor method: <${t}> on ${e.constructor.name} CST Visitor.`,type:re.MISSING_METHOD,methodName:t})))}(e,t)}(this,t);if(!(0,n$.Z)(e)){let t=(0,nL.Z)(e,e=>e.msg);throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>: + ${t.join("\n\n").replace(/\n/g,"\n ")}`)}}},r.prototype.constructor=r,r._RULE_NAMES=t,r}(this.className,(0,nK.Z)(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if((0,i$.Z)(this.baseCstVisitorWithDefaultsConstructor)){let e=function(e,t,r){let n=function(){};sV(n,e+"BaseSemanticsWithDefaults");let i=Object.create(r.prototype);return(0,nN.Z)(t,e=>{i[e]=sW}),n.prototype=i,n.prototype.constructor=n,n}(this.className,(0,nK.Z)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-1]}getPreviousExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-2]}getLastExplicitRuleOccurrenceIndex(){let e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]}},class e{initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(e){if(!0!==this.selfAnalysisDone)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):s4}LA(e){let t=this.currIdx+e;return t<0||this.tokVectorLength<=t?s4:this.tokVector[t]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(e){this.currIdx=e}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}},class e{initRecognizerEngine(e,t){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=aR,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,nw.Z)(t,"serializedGrammar"))throw Error("The Parser's configuration can no longer contain a property.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n For Further details.");if((0,iu.Z)(e)){if((0,n$.Z)(e))throw Error("A Token Vocabulary cannot be empty.\n Note that the first argument for the parser constructor\n is no longer a Token vector (since v4.0).");if("number"==typeof e[0].startOffset)throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n For Further details.")}if((0,iu.Z)(e))this.tokensMap=(0,iZ.Z)(e,(e,t)=>(e[t.name]=t,e),{});else if((0,nw.Z)(e,"modes")&&iT((0,ix.Z)((0,nC.Z)(e.modes)),aN)){let t=iI((0,ix.Z)((0,nC.Z)(e.modes)));this.tokensMap=(0,iZ.Z)(t,(e,t)=>(e[t.name]=t,e),{})}else if((0,sH.Z)(e))this.tokensMap=(0,nb.Z)(e);else throw Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=aB;let r=iT((0,nw.Z)(e,"modes")?(0,ix.Z)((0,nC.Z)(e.modes)):(0,nC.Z)(e),e=>(0,n$.Z)(e.categoryMatches));this.tokenMatcher=r?aR:aE,aI((0,nC.Z)(this.tokensMap))}defineRule(e,t,r){let n;if(this.selfAnalysisDone)throw Error(`Grammar rule <${e}> may not be defined after the 'performSelfAnalysis' method has been called' +Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);let i=(0,nw.Z)(r,"resyncEnabled")?r.resyncEnabled:s3.resyncEnabled,a=(0,nw.Z)(r,"recoveryValueFunc")?r.recoveryValueFunc:s3.recoveryValueFunc,s=this.ruleShortNameIdx<<12;return this.ruleShortNameIdx++,this.shortRuleNameToFull[s]=e,this.fullRuleNameToShort[e]=s,Object.assign(n=!0===this.outputCst?function(...r){try{this.ruleInvocationStateUpdate(s,e,this.subruleIdx),t.apply(this,r);let n=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(n),n}catch(e){return this.invokeRuleCatch(e,i,a)}finally{this.ruleFinallyStateUpdate()}}:function(...r){try{return this.ruleInvocationStateUpdate(s,e,this.subruleIdx),t.apply(this,r)}catch(e){return this.invokeRuleCatch(e,i,a)}finally{this.ruleFinallyStateUpdate()}},{ruleName:e,originalGrammarAction:t})}invokeRuleCatch(e,t,r){let n=1===this.RULE_STACK.length,i=t&&!this.isBackTracking()&&this.recoveryEnabled;if(sI(e)){if(i){let t=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(t)){if(e.resyncedTokens=this.reSyncTo(t),!this.outputCst)return r(e);{let e=this.CST_STACK[this.CST_STACK.length-1];return e.recoveredNode=!0,e}}if(this.outputCst){let t=this.CST_STACK[this.CST_STACK.length-1];t.recoveredNode=!0,e.partialCstResult=t}throw e}if(n)return this.moveToTerminatedState(),r(e);else;}throw e}optionInternal(e,t){let r=this.getKeyForAutomaticLookahead(sP,t);return this.optionInternalLogic(e,t,r)}optionInternalLogic(e,t,r){let n,i=this.getLaFuncFromCache(r);if("function"!=typeof e){n=e.DEF;let t=e.GATE;if(void 0!==t){let e=i;i=()=>t.call(this)&&e.call(this)}}else n=e;if(!0===i.call(this))return n.call(this)}atLeastOneInternal(e,t){let r=this.getKeyForAutomaticLookahead(sD,e);return this.atLeastOneInternalLogic(e,t,r)}atLeastOneInternalLogic(e,t,r){let n,i=this.getLaFuncFromCache(r);if("function"!=typeof t){n=t.DEF;let e=t.GATE;if(void 0!==e){let t=i;i=()=>e.call(this)&&t.call(this)}}else n=t;if(!0===i.call(this)){let e=this.doSingleRepetition(n);for(;!0===i.call(this)&&!0===e;)e=this.doSingleRepetition(n)}else throw this.raiseEarlyExitException(e,t8.REPETITION_MANDATORY,t.ERR_MSG);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[e,t],i,sD,e,a9)}atLeastOneSepFirstInternal(e,t){let r=this.getKeyForAutomaticLookahead(sU,e);this.atLeastOneSepFirstInternalLogic(e,t,r)}atLeastOneSepFirstInternalLogic(e,t,r){let n=t.DEF,i=t.SEP;if(!0===this.getLaFuncFromCache(r).call(this)){n.call(this);let t=()=>this.tokenMatcher(this.LA(1),i);for(;!0===this.tokenMatcher(this.LA(1),i);)this.CONSUME(i),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,i,t,n,a6],t,sU,e,a6)}else throw this.raiseEarlyExitException(e,t8.REPETITION_MANDATORY_WITH_SEPARATOR,t.ERR_MSG)}manyInternal(e,t){let r=this.getKeyForAutomaticLookahead(sM,e);return this.manyInternalLogic(e,t,r)}manyInternalLogic(e,t,r){let n,i=this.getLaFuncFromCache(r);if("function"!=typeof t){n=t.DEF;let e=t.GATE;if(void 0!==e){let t=i;i=()=>e.call(this)&&t.call(this)}}else n=t;let a=!0;for(;!0===i.call(this)&&!0===a;)a=this.doSingleRepetition(n);this.attemptInRepetitionRecovery(this.manyInternal,[e,t],i,sM,e,a3,a)}manySepFirstInternal(e,t){let r=this.getKeyForAutomaticLookahead(sZ,e);this.manySepFirstInternalLogic(e,t,r)}manySepFirstInternalLogic(e,t,r){let n=t.DEF,i=t.SEP;if(!0===this.getLaFuncFromCache(r).call(this)){n.call(this);let t=()=>this.tokenMatcher(this.LA(1),i);for(;!0===this.tokenMatcher(this.LA(1),i);)this.CONSUME(i),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,i,t,n,a5],t,sZ,e,a5)}}repetitionSepSecondInternal(e,t,r,n,i){for(;r();)this.CONSUME(t),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,t,r,n,i],r,sU,e,i)}doSingleRepetition(e){let t=this.getLexerPosition();return e.call(this),this.getLexerPosition()>t}orInternal(e,t){let r=this.getKeyForAutomaticLookahead(s_,t),n=(0,iu.Z)(e)?e:e.DEF,i=this.getLaFuncFromCache(r).call(this,n);if(void 0!==i)return n[i].ALT.call(this);this.raiseNoAltException(t,e.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),0===this.RULE_STACK.length&&!1===this.isAtEndOfInput()){let e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new sC(t,e))}}subruleInternal(e,t,r){let n;try{let i=void 0!==r?r.ARGS:void 0;return this.subruleIdx=t,n=e.apply(this,i),this.cstPostNonTerminal(n,void 0!==r&&void 0!==r.LABEL?r.LABEL:e.ruleName),n}catch(t){throw this.subruleInternalError(t,r,e.ruleName)}}subruleInternalError(e,t,r){throw sI(e)&&void 0!==e.partialCstResult&&(this.cstPostNonTerminal(e.partialCstResult,void 0!==t&&void 0!==t.LABEL?t.LABEL:r),delete e.partialCstResult),e}consumeInternal(e,t,r){let n;try{let t=this.LA(1);!0===this.tokenMatcher(t,e)?(this.consumeToken(),n=t):this.consumeInternalError(e,t,r)}catch(r){n=this.consumeInternalRecovery(e,t,r)}return this.cstPostTerminal(void 0!==r&&void 0!==r.LABEL?r.LABEL:e.name,n),n}consumeInternalError(e,t,r){let n;let i=this.LA(0);throw n=void 0!==r&&r.ERR_MSG?r.ERR_MSG:this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:i,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new sS(n,t,i))}consumeInternalRecovery(e,t,r){if(this.recoveryEnabled&&"MismatchedTokenException"===r.name&&!this.isBackTracking()){let n=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,n)}catch(e){if(e.name===sw)throw r;throw e}}else throw r}saveRecogState(){let e=this.errors,t=(0,nb.Z)(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:t,CST_STACK:this.CST_STACK}}reloadRecogState(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK}ruleInvocationStateUpdate(e,t,r){this.RULE_OCCURRENCE_STACK.push(r),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t)}isBackTracking(){return 0!==this.isBackTrackingStack.length}getCurrRuleFullName(){let e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]}shortRuleNameToFullName(e){return this.shortRuleNameToFull[e]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),aB)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}},class e{ACTION(e){return e.call(this)}consume(e,t,r){return this.consumeInternal(t,e,r)}subrule(e,t,r){return this.subruleInternal(t,e,r)}option(e,t){return this.optionInternal(t,e)}or(e,t){return this.orInternal(t,e)}many(e,t){return this.manyInternal(e,t)}atLeastOne(e,t){return this.atLeastOneInternal(e,t)}CONSUME(e,t){return this.consumeInternal(e,0,t)}CONSUME1(e,t){return this.consumeInternal(e,1,t)}CONSUME2(e,t){return this.consumeInternal(e,2,t)}CONSUME3(e,t){return this.consumeInternal(e,3,t)}CONSUME4(e,t){return this.consumeInternal(e,4,t)}CONSUME5(e,t){return this.consumeInternal(e,5,t)}CONSUME6(e,t){return this.consumeInternal(e,6,t)}CONSUME7(e,t){return this.consumeInternal(e,7,t)}CONSUME8(e,t){return this.consumeInternal(e,8,t)}CONSUME9(e,t){return this.consumeInternal(e,9,t)}SUBRULE(e,t){return this.subruleInternal(e,0,t)}SUBRULE1(e,t){return this.subruleInternal(e,1,t)}SUBRULE2(e,t){return this.subruleInternal(e,2,t)}SUBRULE3(e,t){return this.subruleInternal(e,3,t)}SUBRULE4(e,t){return this.subruleInternal(e,4,t)}SUBRULE5(e,t){return this.subruleInternal(e,5,t)}SUBRULE6(e,t){return this.subruleInternal(e,6,t)}SUBRULE7(e,t){return this.subruleInternal(e,7,t)}SUBRULE8(e,t){return this.subruleInternal(e,8,t)}SUBRULE9(e,t){return this.subruleInternal(e,9,t)}OPTION(e){return this.optionInternal(e,0)}OPTION1(e){return this.optionInternal(e,1)}OPTION2(e){return this.optionInternal(e,2)}OPTION3(e){return this.optionInternal(e,3)}OPTION4(e){return this.optionInternal(e,4)}OPTION5(e){return this.optionInternal(e,5)}OPTION6(e){return this.optionInternal(e,6)}OPTION7(e){return this.optionInternal(e,7)}OPTION8(e){return this.optionInternal(e,8)}OPTION9(e){return this.optionInternal(e,9)}OR(e){return this.orInternal(e,0)}OR1(e){return this.orInternal(e,1)}OR2(e){return this.orInternal(e,2)}OR3(e){return this.orInternal(e,3)}OR4(e){return this.orInternal(e,4)}OR5(e){return this.orInternal(e,5)}OR6(e){return this.orInternal(e,6)}OR7(e){return this.orInternal(e,7)}OR8(e){return this.orInternal(e,8)}OR9(e){return this.orInternal(e,9)}MANY(e){this.manyInternal(0,e)}MANY1(e){this.manyInternal(1,e)}MANY2(e){this.manyInternal(2,e)}MANY3(e){this.manyInternal(3,e)}MANY4(e){this.manyInternal(4,e)}MANY5(e){this.manyInternal(5,e)}MANY6(e){this.manyInternal(6,e)}MANY7(e){this.manyInternal(7,e)}MANY8(e){this.manyInternal(8,e)}MANY9(e){this.manyInternal(9,e)}MANY_SEP(e){this.manySepFirstInternal(0,e)}MANY_SEP1(e){this.manySepFirstInternal(1,e)}MANY_SEP2(e){this.manySepFirstInternal(2,e)}MANY_SEP3(e){this.manySepFirstInternal(3,e)}MANY_SEP4(e){this.manySepFirstInternal(4,e)}MANY_SEP5(e){this.manySepFirstInternal(5,e)}MANY_SEP6(e){this.manySepFirstInternal(6,e)}MANY_SEP7(e){this.manySepFirstInternal(7,e)}MANY_SEP8(e){this.manySepFirstInternal(8,e)}MANY_SEP9(e){this.manySepFirstInternal(9,e)}AT_LEAST_ONE(e){this.atLeastOneInternal(0,e)}AT_LEAST_ONE1(e){return this.atLeastOneInternal(1,e)}AT_LEAST_ONE2(e){this.atLeastOneInternal(2,e)}AT_LEAST_ONE3(e){this.atLeastOneInternal(3,e)}AT_LEAST_ONE4(e){this.atLeastOneInternal(4,e)}AT_LEAST_ONE5(e){this.atLeastOneInternal(5,e)}AT_LEAST_ONE6(e){this.atLeastOneInternal(6,e)}AT_LEAST_ONE7(e){this.atLeastOneInternal(7,e)}AT_LEAST_ONE8(e){this.atLeastOneInternal(8,e)}AT_LEAST_ONE9(e){this.atLeastOneInternal(9,e)}AT_LEAST_ONE_SEP(e){this.atLeastOneSepFirstInternal(0,e)}AT_LEAST_ONE_SEP1(e){this.atLeastOneSepFirstInternal(1,e)}AT_LEAST_ONE_SEP2(e){this.atLeastOneSepFirstInternal(2,e)}AT_LEAST_ONE_SEP3(e){this.atLeastOneSepFirstInternal(3,e)}AT_LEAST_ONE_SEP4(e){this.atLeastOneSepFirstInternal(4,e)}AT_LEAST_ONE_SEP5(e){this.atLeastOneSepFirstInternal(5,e)}AT_LEAST_ONE_SEP6(e){this.atLeastOneSepFirstInternal(6,e)}AT_LEAST_ONE_SEP7(e){this.atLeastOneSepFirstInternal(7,e)}AT_LEAST_ONE_SEP8(e){this.atLeastOneSepFirstInternal(8,e)}AT_LEAST_ONE_SEP9(e){this.atLeastOneSepFirstInternal(9,e)}RULE(e,t,r=s3){if(im(this.definedRulesNames,e)){let t={message:aH.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),type:rt.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(t)}this.definedRulesNames.push(e);let n=this.defineRule(e,t,r);return this[e]=n,n}OVERRIDE_RULE(e,t,r=s3){let n=function(e,t,r){let n;let i=[];return!im(t,e)&&(n=`Invalid rule override, rule: ->${e}<- cannot be overridden in the grammar: ->${r}<-as it is not defined in any of the super grammars `,i.push({message:n,type:rt.INVALID_RULE_OVERRIDE,ruleName:e})),i}(e,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(n);let i=this.defineRule(e,t,r);return this[e]=i,i}BACKTRACK(e,t){return function(){this.isBackTrackingStack.push(1);let r=this.saveRecogState();try{return e.apply(this,t),!0}catch(e){if(sI(e))return!1;throw e}finally{this.reloadRecogState(r),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){var e;return e=(0,nC.Z)(this.gastProductionsCache),(0,nL.Z)(e,function e(t){function r(t){return(0,nL.Z)(t,e)}if(t instanceof n7){let e={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return(0,nD.Z)(t.label)&&(e.label=t.label),e}if(t instanceof n5)return{type:"Alternative",definition:r(t.definition)};if(t instanceof n9)return{type:"Option",idx:t.idx,definition:r(t.definition)};else if(t instanceof n6)return{type:"RepetitionMandatory",idx:t.idx,definition:r(t.definition)};else if(t instanceof n8)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:e(new ii({terminalType:t.separator})),definition:r(t.definition)};else if(t instanceof it)return{type:"RepetitionWithSeparator",idx:t.idx,separator:e(new ii({terminalType:t.separator})),definition:r(t.definition)};else if(t instanceof ie)return{type:"Repetition",idx:t.idx,definition:r(t.definition)};else if(t instanceof ir)return{type:"Alternation",idx:t.idx,definition:r(t.definition)};else if(t instanceof ii){var n;let e={type:"Terminal",name:t.terminalType.name,label:function(e){return(0,nD.Z)(e.LABEL)&&""!==e.LABEL}(n=t.terminalType)?n.LABEL:n.name,idx:t.idx};(0,nD.Z)(t.label)&&(e.terminalLabel=t.label);let r=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(e.pattern=n2(r)?r.source:r),e}else if(t instanceof n3)return{type:"Rule",name:t.name,orgText:t.orgText,definition:r(t.definition)};else throw Error("non exhaustive match")})}},class e{initErrorHandler(e){this._errors=[],this.errorMessageProvider=(0,nw.Z)(e,"errorMessageProvider")?e.errorMessageProvider:s7.errorMessageProvider}SAVE_ERROR(e){if(sI(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,nb.Z)(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return(0,nb.Z)(this._errors)}set errors(e){this._errors=e}raiseEarlyExitException(e,t,r){let n=this.getCurrRuleFullName(),i=sd(e,this.getGAstProductions()[n],t,this.maxLookahead)[0],a=[];for(let e=1;e<=this.maxLookahead;e++)a.push(this.LA(e));let s=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:i,actual:a,previous:this.LA(0),customUserDescription:r,ruleName:n});throw this.SAVE_ERROR(new s$(s,this.LA(1),this.LA(0)))}raiseNoAltException(e,t){let r=this.getCurrRuleFullName(),n=sc(e,this.getGAstProductions()[r],this.maxLookahead),i=[];for(let e=1;e<=this.maxLookahead;e++)i.push(this.LA(e));let a=this.LA(0),s=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:n,actual:i,previous:a,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new sN(s,this.LA(1),a))}},class e{initContentAssist(){}computeContentAssist(e,t){let r=this.gastProductionsCache[e];if((0,i$.Z)(r))throw Error(`Rule ->${e}<- does not exist in this grammar.`);return se([r],t,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(e){let t=iq(e.ruleStack);return new a4(this.getGAstProductions()[t],e).startWalking()}},class e{initGastRecorder(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",()=>{for(let e=0;e<10;e++){let t=e>0?e:"";this[`CONSUME${t}`]=function(t,r){return this.consumeInternalRecord(t,e,r)},this[`SUBRULE${t}`]=function(t,r){return this.subruleInternalRecord(t,e,r)},this[`OPTION${t}`]=function(t){return this.optionInternalRecord(t,e)},this[`OR${t}`]=function(t){return this.orInternalRecord(t,e)},this[`MANY${t}`]=function(t){this.manyInternalRecord(e,t)},this[`MANY_SEP${t}`]=function(t){this.manySepFirstInternalRecord(e,t)},this[`AT_LEAST_ONE${t}`]=function(t){this.atLeastOneInternalRecord(e,t)},this[`AT_LEAST_ONE_SEP${t}`]=function(t){this.atLeastOneSepFirstInternalRecord(e,t)}}this.consume=function(e,t,r){return this.consumeInternalRecord(t,e,r)},this.subrule=function(e,t,r){return this.subruleInternalRecord(t,e,r)},this.option=function(e,t){return this.optionInternalRecord(t,e)},this.or=function(e,t){return this.orInternalRecord(t,e)},this.many=function(e,t){this.manyInternalRecord(e,t)},this.atLeastOne=function(e,t){this.atLeastOneInternalRecord(e,t)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD})}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",()=>{for(let e=0;e<10;e++){let t=e>0?e:"";delete this[`CONSUME${t}`],delete this[`SUBRULE${t}`],delete this[`OPTION${t}`],delete this[`OR${t}`],delete this[`MANY${t}`],delete this[`MANY_SEP${t}`],delete this[`AT_LEAST_ONE${t}`],delete this[`AT_LEAST_ONE_SEP${t}`]}delete this.consume,delete this.subrule,delete this.option,delete this.or,delete this.many,delete this.atLeastOne,delete this.ACTION,delete this.BACKTRACK,delete this.LA})}ACTION_RECORD(e){}BACKTRACK_RECORD(e,t){return()=>!0}LA_RECORD(e){return s4}topLevelRuleRecord(e,t){try{let r=new n3({definition:[],name:e});return r.name=e,this.recordingProdStack.push(r),t.call(this),this.recordingProdStack.pop(),r}catch(e){if(!0!==e.KNOWN_RECORDER_ERROR)try{e.message=e.message+'\n This error was thrown during the "grammar recording phase" For more info see:\n https://chevrotain.io/docs/guide/internals.html#grammar-recording'}catch(e){}throw e}}optionInternalRecord(e,t){return sJ.call(this,n9,e,t)}atLeastOneInternalRecord(e,t){sJ.call(this,n6,t,e)}atLeastOneSepFirstInternalRecord(e,t){sJ.call(this,n8,t,e,!0)}manyInternalRecord(e,t){sJ.call(this,ie,t,e)}manySepFirstInternalRecord(e,t){sJ.call(this,it,t,e,!0)}orInternalRecord(e,t){return s0.call(this,e,t)}subruleInternalRecord(e,t,r){if(s2(t),!e||!1===(0,nw.Z)(e,"ruleName")){let r=Error(` argument is invalid expecting a Parser method reference but got: <${JSON.stringify(e)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw r.KNOWN_RECORDER_ERROR=!0,r}let n=(0,aT.Z)(this.recordingProdStack),i=new n7({idx:t,nonTerminalName:e.ruleName,label:null==r?void 0:r.LABEL,referencedRule:void 0});return n.definition.push(i),this.outputCst?sQ:sz}consumeInternalRecord(e,t,r){if(s2(t),!ax(e)){let r=Error(` argument is invalid expecting a TokenType reference but got: <${JSON.stringify(e)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw r.KNOWN_RECORDER_ERROR=!0,r}let n=(0,aT.Z)(this.recordingProdStack),i=new ii({idx:t,terminalType:e,label:null==r?void 0:r.LABEL});return n.definition.push(i),sX}},class e{initPerformanceTracer(e){if((0,nw.Z)(e,"traceInitPerf")){let t=e.traceInitPerf,r="number"==typeof t;this.traceInitMaxIdent=r?t:1/0,this.traceInitPerf=r?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=s7.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(e,t){if(!0!==this.traceInitPerf)return t();{this.traceInitIndent++;let r=Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${e}>`);let{time:n,value:i}=av(t),a=n>10?console.warn:console.log;return this.traceInitIndent time: ${n}ms`),this.traceInitIndent--,i}}}]);class s6 extends s9{constructor(e,t=s7){let r=(0,nb.Z)(t);r.outputCst=!1,super(e,r)}}function s8(e,t,r){return`${e.name}_${t}_${r}`}class oe{constructor(e){this.target=e}isEpsilon(){return!1}}class ot extends oe{constructor(e,t){super(e),this.tokenType=t}}class or extends oe{constructor(e){super(e)}isEpsilon(){return!0}}class on extends oe{constructor(e,t,r){super(e),this.rule=t,this.followState=r}isEpsilon(){return!0}}function oi(e,t,r){if(r instanceof ii)return oc(e,t,r.terminalType,r);if(r instanceof n7)return function(e,t,r){let n=r.referencedRule,i=e.ruleToStartState.get(n),a=oh(e,t,r,{type:1}),s=oh(e,t,r,{type:1});return of(a,new on(i,n,s)),{left:a,right:s}}(e,t,r);if(r instanceof ir)return function(e,t,r){let n=oh(e,t,r,{type:1});ol(e,n);let i=(0,nL.Z)(r.definition,r=>oi(e,t,r));return ou(e,t,n,r,...i)}(e,t,r);else if(r instanceof n9)return function(e,t,r){let n=oh(e,t,r,{type:1});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r));return function(e,t,r,n){let i=n.left;return od(i,n.right),e.decisionMap[s8(t,"Option",r.idx)]=i,n}(e,t,r,i)}(e,t,r);else if(r instanceof ie)return function(e,t,r){let n=oh(e,t,r,{type:5});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r));return oo(e,t,r,i)}(e,t,r);else if(r instanceof it)return function(e,t,r){let n=oh(e,t,r,{type:5});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r)),a=oc(e,t,r.separator,r);return oo(e,t,r,i,a)}(e,t,r);else if(r instanceof n6)return function(e,t,r){let n=oh(e,t,r,{type:4});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r));return os(e,t,r,i)}(e,t,r);else if(r instanceof n8)return function(e,t,r){let n=oh(e,t,r,{type:4});ol(e,n);let i=ou(e,t,n,r,oa(e,t,r)),a=oc(e,t,r.separator,r);return os(e,t,r,i,a)}(e,t,r);else return oa(e,t,r)}function oa(e,t,r){let n=(0,iU.Z)((0,nL.Z)(r.definition,r=>oi(e,t,r)),e=>void 0!==e);return 1===n.length?n[0]:0===n.length?void 0:function(e,t){let r=t.length;for(let n=0;ne.alt)}get key(){let e="";for(let t in this.map)e+=t+":";return e}}function og(e,t=!0){return`${t?`a${e.alt}`:""}s${e.state.stateNumber}:${e.stack.map(e=>e.stateNumber.toString()).join("_")}`}var oy=r("50540");class oT{constructor(){this.predicates=[]}is(e){return e>=this.predicates.length||this.predicates[e]}set(e,t){this.predicates[e]=t}toString(){let e="",t=this.predicates.length;for(let r=0;rconsole.log(e)}initialize(e){this.atn=function(e){let t={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:[]};(function(e,t){let r=t.length;for(let n=0;n{let i=n.toString(),a=r[i];return void 0!==a?a:(a={atnStartState:e,decision:t,states:{}},r[i]=a,a)}}(e.decisionStates[n],n);return r}(this.atn)}validateAmbiguousAlternationAlternatives(){return[]}validateEmptyOrAlternatives(){return[]}buildLookaheadForAlternation(e){let{prodOccurrence:t,rule:r,hasPredicates:n,dynamicTokensEnabled:i}=e,a=this.dfas,s=this.logging,o=s8(r,"Alternation",t),l=this.atn.decisionMap[o].decision,u=(0,nL.Z)(sr({maxLookahead:1,occurrence:t,prodType:"Alternation",rule:r}),e=>(0,nL.Z)(e,e=>e[0]));if(oR(u,!1)&&!i){let e=(0,iZ.Z)(u,(e,t,r)=>((0,nN.Z)(t,t=>{t&&(e[t.tokenTypeIdx]=r,(0,nN.Z)(t.categoryMatches,t=>{e[t]=r}))}),e),{});return n?function(t){var r;let n=e[this.LA(1).tokenTypeIdx];if(void 0!==t&&void 0!==n){let e=null===(r=t[n])||void 0===r?void 0:r.GATE;if(void 0!==e&&!1===e.call(this))return}return n}:function(){return e[this.LA(1).tokenTypeIdx]}}if(n)return function(e){let t=new oT,r=void 0===e?0:e.length;for(let n=0;n(0,nL.Z)(e,e=>e[0]));if(oR(u)&&u[0][0]&&!i){let e=u[0],t=(0,ix.Z)(e);if(1===t.length&&(0,n$.Z)(t[0].categoryMatches)){let e=t[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===e}}{let e=(0,iZ.Z)(t,(e,t)=>(void 0!==t&&(e[t.tokenTypeIdx]=!0,(0,nN.Z)(t.categoryMatches,t=>{e[t]=!0})),e),{});return function(){return!0===e[this.LA(1).tokenTypeIdx]}}}return function(){let e=oA.call(this,a,l,ov,s);return"object"!=typeof e&&0===e}}}function oR(e,t=!0){let r=new Set;for(let n of e){let e=new Set;for(let i of n){if(void 0===i){if(!t)return!1;break}for(let t of[i.tokenTypeIdx].concat(i.categoryMatches))if(r.has(t)){if(!e.has(t))return!1}else r.add(t),e.add(t)}}return!0}function oA(e,t,r,n){let i=e[t](r),a=i.start;if(void 0===a){let e=function(e){let t=new om,r=e.transitions.length;for(let n=0;ne.state.transitions).filter(e=>e instanceof ot).map(e=>e.tokenType),i=e=>e.tokenTypeIdx,n&&n.length?(0,ik.Z)(n,(0,nH.Z)(i,2)):[]),tokenPath:e}}(s,i,o);if(!0===t.isAcceptState)return t.prediction;i=t,s.push(o),o=this.LA(a++)}}function oI(e,t,r,n,i,a){let s=function(e,t,r){let n;let i=new om,a=[];for(let n of e.elements){if(!1===r.is(n.alt))continue;if(7===n.state.type){a.push(n);continue}let e=n.state.transitions.length;for(let r=0;r0&&!function(e){for(let t of e.elements)if(7===t.state.type)return!0;return!1}(n))for(let e of a)n.add(e);return n}(t.configs,r,i);if(0===s.size)return oN(e,t,r,op),op;let o=oS(s),l=function(e,t){let r;for(let n of e.elements)if(!0===t.is(n.alt)){if(void 0===r)r=n.alt;else if(r!==n.alt)return}return r}(s,i);if(void 0!==l)o.isAcceptState=!0,o.prediction=l,o.configs.uniqueAlt=l;else if(function(e){if(function(e){for(let t of e.elements)if(7!==t.state.type)return!1;return!0}(e))return!0;let t=function(e){let t=new Map;for(let r of e){let e=og(r,!1),n=t.get(e);void 0===n&&(n={},t.set(e,n)),n[r.alt]=!0}return t}(e.elements);return function(e){for(let t of Array.from(e.values()))if(Object.keys(t).length>1)return!0;return!1}(t)&&!function(e){for(let t of Array.from(e.values()))if(1===Object.keys(t).length)return!0;return!1}(t)}(s)){let t=(0,oy.Z)(s.alts);o.isAcceptState=!0,o.prediction=t,o.configs.uniqueAlt=t,ox.apply(this,[e,n,s.alts,a])}return o=oN(e,t,r,o)}function ox(e,t,r,n){let i=[];for(let e=1;e<=t;e++)i.push(this.LA(e).tokenType);let a=e.atnStartState,s=a.rule;n(function(e){let t=(0,nL.Z)(e.prefixPath,e=>aL(e)).join(", "),r=0===e.production.idx?"":e.production.idx,n=`Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(", ")}> in <${function(e){if(e instanceof n7)return"SUBRULE";if(e instanceof n9)return"OPTION";if(e instanceof ir)return"OR";else if(e instanceof n6)return"AT_LEAST_ONE";else if(e instanceof n8)return"AT_LEAST_ONE_SEP";else if(e instanceof it)return"MANY_SEP";else if(e instanceof ie)return"MANY";else if(e instanceof ii)return"CONSUME";else throw Error("non exhaustive match")}(e.production)}${r}> inside <${e.topLevelRule.name}> Rule, +<${t}> may appears as a prefix path in all these alternatives. +`;return n=n+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES +`+"For Further details."}({topLevelRule:s,ambiguityIndices:r,production:a.production,prefixPath:i}))}function oS(e){return{configs:e,edges:{},isAcceptState:!1,prediction:-1}}function oN(e,t,r,n){return n=oC(e,n),t.edges[r.tokenTypeIdx]=n,n}function oC(e,t){if(t===op)return t;let r=t.configs.key,n=e.states[r];return void 0!==n?n:(t.configs.finalize(),e.states[r]=t,t)}function o$(e,t){let r=e.state;if(7===r.type){if(e.stack.length>0){let r=[...e.stack];o$({state:r.pop(),alt:e.alt,stack:r},t)}else t.add(e);return}!r.epsilonOnlyTransitions&&t.add(e);let n=r.transitions.length;for(let i=0;i0&&(n.arguments=r),n},tf.is=function(e){return ny.defined(e)&&ny.string(e.title)&&ny.string(e.command)},(tp=rR||(rR={})).replace=function(e,t){return{range:e,newText:t}},tp.insert=function(e,t){return{range:{start:e,end:e},newText:t}},tp.del=function(e){return{range:e,newText:""}},tp.is=function(e){return ny.objectLiteral(e)&&ny.string(e.newText)&&ro.is(e.range)},(tm=rA||(rA={})).create=function(e,t,r){let n={label:e};return void 0!==t&&(n.needsConfirmation=t),void 0!==r&&(n.description=r),n},tm.is=function(e){return ny.objectLiteral(e)&&ny.string(e.label)&&(ny.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(ny.string(e.description)||void 0===e.description)},(rk||(rk={})).is=function(e){return ny.string(e)},(tg=rI||(rI={})).replace=function(e,t,r){return{range:e,newText:t,annotationId:r}},tg.insert=function(e,t,r){return{range:{start:e,end:e},newText:t,annotationId:r}},tg.del=function(e,t){return{range:e,newText:"",annotationId:t}},tg.is=function(e){return rR.is(e)&&(rA.is(e.annotationId)||rk.is(e.annotationId))},(ty=rx||(rx={})).create=function(e,t){return{textDocument:e,edits:t}},ty.is=function(e){return ny.defined(e)&&rb.is(e.textDocument)&&Array.isArray(e.edits)},(tT=rS||(rS={})).create=function(e,t,r){let n={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(n.options=t),void 0!==r&&(n.annotationId=r),n},tT.is=function(e){return e&&"create"===e.kind&&ny.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||ny.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||ny.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||rk.is(e.annotationId))},(tv=rN||(rN={})).create=function(e,t,r,n){let i={kind:"rename",oldUri:e,newUri:t};return void 0!==r&&(void 0!==r.overwrite||void 0!==r.ignoreIfExists)&&(i.options=r),void 0!==n&&(i.annotationId=n),i},tv.is=function(e){return e&&"rename"===e.kind&&ny.string(e.oldUri)&&ny.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||ny.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||ny.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||rk.is(e.annotationId))},(tE=rC||(rC={})).create=function(e,t,r){let n={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(n.options=t),void 0!==r&&(n.annotationId=r),n},tE.is=function(e){return e&&"delete"===e.kind&&ny.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||ny.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||ny.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||rk.is(e.annotationId))},(r$||(r$={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(e=>ny.string(e.kind)?rS.is(e)||rN.is(e)||rC.is(e):rx.is(e)))},(tR=rL||(rL={})).create=function(e){return{uri:e}},tR.is=function(e){return ny.defined(e)&&ny.string(e.uri)},(tA=rw||(rw={})).create=function(e,t){return{uri:e,version:t}},tA.is=function(e){return ny.defined(e)&&ny.string(e.uri)&&ny.integer(e.version)},(tk=rb||(rb={})).create=function(e,t){return{uri:e,version:t}},tk.is=function(e){return ny.defined(e)&&ny.string(e.uri)&&(null===e.version||ny.integer(e.version))},(tI=rO||(rO={})).create=function(e,t,r,n){return{uri:e,languageId:t,version:r,text:n}},tI.is=function(e){return ny.defined(e)&&ny.string(e.uri)&&ny.string(e.languageId)&&ny.integer(e.version)&&ny.string(e.text)},(tx=r_||(r_={})).PlainText="plaintext",tx.Markdown="markdown",tx.is=function(e){return e===tx.PlainText||e===tx.Markdown},(rP||(rP={})).is=function(e){return ny.objectLiteral(e)&&r_.is(e.kind)&&ny.string(e.value)},(tS=rM||(rM={})).Text=1,tS.Method=2,tS.Function=3,tS.Constructor=4,tS.Field=5,tS.Variable=6,tS.Class=7,tS.Interface=8,tS.Module=9,tS.Property=10,tS.Unit=11,tS.Value=12,tS.Enum=13,tS.Keyword=14,tS.Snippet=15,tS.Color=16,tS.File=17,tS.Reference=18,tS.Folder=19,tS.EnumMember=20,tS.Constant=21,tS.Struct=22,tS.Event=23,tS.Operator=24,tS.TypeParameter=25,(tN=rD||(rD={})).PlainText=1,tN.Snippet=2,(rZ||(rZ={})).Deprecated=1,(tC=rU||(rU={})).create=function(e,t,r){return{newText:e,insert:t,replace:r}},tC.is=function(e){return e&&ny.string(e.newText)&&ro.is(e.insert)&&ro.is(e.replace)},(t$=rF||(rF={})).asIs=1,t$.adjustIndentation=2,(rG||(rG={})).is=function(e){return e&&(ny.string(e.detail)||void 0===e.detail)&&(ny.string(e.description)||void 0===e.description)},(rB||(rB={})).create=function(e){return{label:e}},(rK||(rK={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(tL=rj||(rj={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},tL.is=function(e){return ny.string(e)||ny.objectLiteral(e)&&ny.string(e.language)&&ny.string(e.value)},(rV||(rV={})).is=function(e){return!!e&&ny.objectLiteral(e)&&(rP.is(e.contents)||rj.is(e.contents)||ny.typedArray(e.contents,rj.is))&&(void 0===e.range||ro.is(e.range))},(rW||(rW={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(rH||(rH={})).create=function(e,t,...r){let n={label:e};return ny.defined(t)&&(n.documentation=t),ny.defined(r)?n.parameters=r:n.parameters=[],n},(tw=rz||(rz={})).Text=1,tw.Read=2,tw.Write=3,(rY||(rY={})).create=function(e,t){let r={range:e};return ny.number(t)&&(r.kind=t),r},(tb=rq||(rq={})).File=1,tb.Module=2,tb.Namespace=3,tb.Package=4,tb.Class=5,tb.Method=6,tb.Property=7,tb.Field=8,tb.Constructor=9,tb.Enum=10,tb.Interface=11,tb.Function=12,tb.Variable=13,tb.Constant=14,tb.String=15,tb.Number=16,tb.Boolean=17,tb.Array=18,tb.Object=19,tb.Key=20,tb.Null=21,tb.EnumMember=22,tb.Struct=23,tb.Event=24,tb.Operator=25,tb.TypeParameter=26,(rX||(rX={})).Deprecated=1,(rQ||(rQ={})).create=function(e,t,r,n,i){let a={name:e,kind:t,location:{uri:n,range:r}};return i&&(a.containerName=i),a},(rJ||(rJ={})).create=function(e,t,r,n){return void 0!==n?{name:e,kind:t,location:{uri:r,range:n}}:{name:e,kind:t,location:{uri:r}}},(tO=r0||(r0={})).create=function(e,t,r,n,i,a){let s={name:e,detail:t,kind:r,range:n,selectionRange:i};return void 0!==a&&(s.children=a),s},tO.is=function(e){return e&&ny.string(e.name)&&ny.number(e.kind)&&ro.is(e.range)&&ro.is(e.selectionRange)&&(void 0===e.detail||ny.string(e.detail))&&(void 0===e.deprecated||ny.boolean(e.deprecated))&&(void 0===e.children||Array.isArray(e.children))&&(void 0===e.tags||Array.isArray(e.tags))},(t_=r1||(r1={})).Empty="",t_.QuickFix="quickfix",t_.Refactor="refactor",t_.RefactorExtract="refactor.extract",t_.RefactorInline="refactor.inline",t_.RefactorRewrite="refactor.rewrite",t_.Source="source",t_.SourceOrganizeImports="source.organizeImports",t_.SourceFixAll="source.fixAll",(tP=r2||(r2={})).Invoked=1,tP.Automatic=2,(tM=r4||(r4={})).create=function(e,t,r){let n={diagnostics:e};return null!=t&&(n.only=t),null!=r&&(n.triggerKind=r),n},tM.is=function(e){return ny.defined(e)&&ny.typedArray(e.diagnostics,rv.is)&&(void 0===e.only||ny.typedArray(e.only,ny.string))&&(void 0===e.triggerKind||e.triggerKind===r2.Invoked||e.triggerKind===r2.Automatic)},(tD=r7||(r7={})).create=function(e,t,r){let n={title:e},i=!0;return"string"==typeof t?(i=!1,n.kind=t):rE.is(t)?n.command=t:n.edit=t,i&&void 0!==r&&(n.kind=r),n},tD.is=function(e){return e&&ny.string(e.title)&&(void 0===e.diagnostics||ny.typedArray(e.diagnostics,rv.is))&&(void 0===e.kind||ny.string(e.kind))&&(void 0!==e.edit||void 0!==e.command)&&(void 0===e.command||rE.is(e.command))&&(void 0===e.isPreferred||ny.boolean(e.isPreferred))&&(void 0===e.edit||r$.is(e.edit))},(tZ=r3||(r3={})).create=function(e,t){let r={range:e};return ny.defined(t)&&(r.data=t),r},tZ.is=function(e){return ny.defined(e)&&ro.is(e.range)&&(ny.undefined(e.command)||rE.is(e.command))},(tU=r5||(r5={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},tU.is=function(e){return ny.defined(e)&&ny.uinteger(e.tabSize)&&ny.boolean(e.insertSpaces)},(tF=r9||(r9={})).create=function(e,t,r){return{range:e,target:t,data:r}},tF.is=function(e){return ny.defined(e)&&ro.is(e.range)&&(ny.undefined(e.target)||ny.string(e.target))},(tG=r6||(r6={})).create=function(e,t){return{range:e,parent:t}},tG.is=function(e){return ny.objectLiteral(e)&&ro.is(e.range)&&(void 0===e.parent||tG.is(e.parent))},(tB=r8||(r8={})).namespace="namespace",tB.type="type",tB.class="class",tB.enum="enum",tB.interface="interface",tB.struct="struct",tB.typeParameter="typeParameter",tB.parameter="parameter",tB.variable="variable",tB.property="property",tB.enumMember="enumMember",tB.event="event",tB.function="function",tB.method="method",tB.macro="macro",tB.keyword="keyword",tB.modifier="modifier",tB.comment="comment",tB.string="string",tB.number="number",tB.regexp="regexp",tB.operator="operator",tB.decorator="decorator",(tK=ne||(ne={})).declaration="declaration",tK.definition="definition",tK.readonly="readonly",tK.static="static",tK.deprecated="deprecated",tK.abstract="abstract",tK.async="async",tK.modification="modification",tK.documentation="documentation",tK.defaultLibrary="defaultLibrary",(nt||(nt={})).is=function(e){return ny.objectLiteral(e)&&(void 0===e.resultId||"string"==typeof e.resultId)&&Array.isArray(e.data)&&(0===e.data.length||"number"==typeof e.data[0])},(tj=nr||(nr={})).create=function(e,t){return{range:e,text:t}},tj.is=function(e){return null!=e&&ro.is(e.range)&&ny.string(e.text)},(tV=nn||(nn={})).create=function(e,t,r){return{range:e,variableName:t,caseSensitiveLookup:r}},tV.is=function(e){return null!=e&&ro.is(e.range)&&ny.boolean(e.caseSensitiveLookup)&&(ny.string(e.variableName)||void 0===e.variableName)},(tW=ni||(ni={})).create=function(e,t){return{range:e,expression:t}},tW.is=function(e){return null!=e&&ro.is(e.range)&&(ny.string(e.expression)||void 0===e.expression)},(tH=na||(na={})).create=function(e,t){return{frameId:e,stoppedLocation:t}},tH.is=function(e){return ny.defined(e)&&ro.is(e.stoppedLocation)},(tz=ns||(ns={})).Type=1,tz.Parameter=2,tz.is=function(e){return 1===e||2===e},(tY=no||(no={})).create=function(e){return{value:e}},tY.is=function(e){return ny.objectLiteral(e)&&(void 0===e.tooltip||ny.string(e.tooltip)||rP.is(e.tooltip))&&(void 0===e.location||rl.is(e.location))&&(void 0===e.command||rE.is(e.command))},(tq=nl||(nl={})).create=function(e,t,r){let n={position:e,label:t};return void 0!==r&&(n.kind=r),n},tq.is=function(e){return ny.objectLiteral(e)&&rs.is(e.position)&&(ny.string(e.label)||ny.typedArray(e.label,no.is))&&(void 0===e.kind||ns.is(e.kind))&&void 0===e.textEdits||ny.typedArray(e.textEdits,rR.is)&&(void 0===e.tooltip||ny.string(e.tooltip)||rP.is(e.tooltip))&&(void 0===e.paddingLeft||ny.boolean(e.paddingLeft))&&(void 0===e.paddingRight||ny.boolean(e.paddingRight))},(nu||(nu={})).createSnippet=function(e){return{kind:"snippet",value:e}},(nc||(nc={})).create=function(e,t,r,n){return{insertText:e,filterText:t,range:r,command:n}},(nd||(nd={})).create=function(e){return{items:e}},(tX=nh||(nh={})).Invoked=0,tX.Automatic=1,(nf||(nf={})).create=function(e,t){return{range:e,text:t}},(np||(np={})).create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}},(nm||(nm={})).is=function(e){return ny.objectLiteral(e)&&rn.is(e.uri)&&ny.string(e.name)},(tQ=ng||(ng={})).create=function(e,t,r,n){return new oL(e,t,r,n)},tQ.is=function(e){return!!(ny.defined(e)&&ny.string(e.uri)&&(ny.undefined(e.languageId)||ny.string(e.languageId))&&ny.uinteger(e.lineCount)&&ny.func(e.getText)&&ny.func(e.positionAt)&&ny.func(e.offsetAt))},tQ.applyEdits=function(e,t){let r=e.getText(),n=function e(t,r){if(t.length<=1)return t;let n=t.length/2|0,i=t.slice(0,n),a=t.slice(n);e(i,r),e(a,r);let s=0,o=0,l=0;for(;s=r(i[s],a[o])?t[l++]=i[s++]:t[l++]=a[o++];for(;s{let r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r}),i=r.length;for(let t=n.length-1;t>=0;t--){let a=n[t],s=e.offsetAt(a.range.start),o=e.offsetAt(a.range.end);if(o<=i)r=r.substring(0,s)+a.newText+r.substring(o,r.length);else throw Error("Overlapping edit");i=s}return r};class oL{constructor(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,r=!0;for(let n=0;n0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),r=0,n=t.length;if(0===n)return rs.create(0,e);for(;re?n=i:r=i+1}let i=r-1;return rs.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line],n=e.line+1=0&&t.content.splice(r,1)}}construct(e){let t=this.current;"string"==typeof e.$type&&(this.current.astNode=e),e.$cstNode=t;let r=this.nodeStack.pop();(null==r?void 0:r.content.length)===0&&this.removeNode(r)}addHiddenTokens(e){for(let t of e){let e=new oO(t.startOffset,t.image.length,y(t),t.tokenType,!0);e.root=this.rootNode,this.addHiddenToken(this.rootNode,e)}}addHiddenToken(e,t){let{offset:r,end:n}=t;for(let i=0;is&&n=0;e--){let t=this.content[e];if(!t.hidden)return t}return this.content[this.content.length-1]}}class oP extends Array{constructor(e){super(),this.parent=e,Object.setPrototypeOf(this,oP.prototype)}push(...e){return this.addParents(e),super.push(...e)}unshift(...e){return this.addParents(e),super.unshift(...e)}splice(e,t,...r){return this.addParents(r),super.splice(e,t,...r)}addParents(e){for(let t of e)t.container=this.parent}}class oM extends o_{get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(e){super(),this._text="",this._text=null!=e?e:""}}let oD=Symbol("Datatype");function oZ(e){return e.$type===oD}let oU=e=>e.endsWith("\u200B")?e:e+"\u200B";class oF{constructor(e){this._unorderedGroups=new Map,this.lexer=e.parser.Lexer;let t=this.lexer.definition;this.wrapper=new oW(t,Object.assign(Object.assign({},e.parser.ParserConfig),{errorMessageProvider:e.parser.ParserErrorMessageProvider}))}alternatives(e,t){this.wrapper.wrapOr(e,t)}optional(e,t){this.wrapper.wrapOption(e,t)}many(e,t){this.wrapper.wrapMany(e,t)}atLeastOne(e,t){this.wrapper.wrapAtLeastOne(e,t)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}}class oG extends oF{get current(){return this.stack[this.stack.length-1]}constructor(e){super(e),this.nodeBuilder=new ow,this.stack=[],this.assignmentMap=new Map,this.linker=e.references.Linker,this.converter=e.parser.ValueConverter,this.astReflection=e.shared.AstReflection}rule(e,t){let r=e.fragment?void 0:ez(e)?oD:eq(e),n=this.wrapper.DEFINE_RULE(oU(e.name),this.startImplementation(r,t).bind(this));return e.entry&&(this.mainRule=n),n}parse(e){this.nodeBuilder.buildRootNode(e);let t=this.lexer.tokenize(e);this.wrapper.input=t.tokens;let r=this.mainRule.call(this.wrapper,{});return this.nodeBuilder.addHiddenTokens(t.hidden),this.unorderedGroups.clear(),{value:r,lexerErrors:t.errors,parserErrors:this.wrapper.errors}}startImplementation(e,t){return r=>{let n;if(!this.isRecording()){let t={$type:e};this.stack.push(t),e===oD&&(t.value="")}try{n=t(r)}catch(e){n=void 0}return!this.isRecording()&&void 0===n&&(n=this.construct()),n}}consume(e,t,r){let n=this.wrapper.wrapConsume(e,t);if(!this.isRecording()&&this.isValidToken(n)){let e=this.nodeBuilder.buildLeafNode(n,r),{assignment:t,isCrossRef:i}=this.getAssignment(r),a=this.current;if(t){let a=en(r)?n.image:this.converter.convert(n.image,e);this.assign(t.operator,t.feature,a,e,i)}else if(oZ(a)){let t=n.image;!en(r)&&(t=this.converter.convert(t,e).toString()),a.value+=t}}}isValidToken(e){return!e.isInsertedInRecovery&&!isNaN(e.startOffset)&&"number"==typeof e.endOffset&&!isNaN(e.endOffset)}subrule(e,t,r,n){let i;!this.isRecording()&&(i=this.nodeBuilder.buildCompositeNode(r));let a=this.wrapper.wrapSubrule(e,t,n);!this.isRecording()&&i&&i.length>0&&this.performSubruleAssignment(a,r,i)}performSubruleAssignment(e,t,r){let{assignment:n,isCrossRef:i}=this.getAssignment(t);if(n)this.assign(n.operator,n.feature,e,r,i);else if(!n){let t=this.current;if(oZ(t))t.value+=e.toString();else if("object"==typeof e&&e){let r=e.$type,n=this.assignWithoutOverride(e,t);r&&(n.$type=r);this.stack.pop(),this.stack.push(n)}}}action(e,t){if(!this.isRecording()){let r=this.current;if(!r.$cstNode&&t.feature&&t.operator){let e=(r=this.construct(!1)).$cstNode.feature;this.nodeBuilder.buildCompositeNode(e)}this.stack.pop(),this.stack.push({$type:e}),t.feature&&t.operator&&this.assign(t.operator,t.feature,r,r.$cstNode,!1)}}construct(e=!0){if(this.isRecording())return;let t=this.current;return(!function(e){for(let[t,r]of Object.entries(e))!t.startsWith("$")&&(Array.isArray(r)?r.forEach((r,i)=>{n(r)&&(r.$container=e,r.$containerProperty=t,r.$containerIndex=i)}):n(r)&&(r.$container=e,r.$containerProperty=t))}(t),this.nodeBuilder.construct(t),e&&this.stack.pop(),oZ(t))?this.converter.convert(t.value,t.$cstNode):(!function(e,t){let r=e.getTypeMetaData(t.$type);for(let e of r.properties)void 0!==e.defaultValue&&void 0===t[e.name]&&(t[e.name]=function e(t){return Array.isArray(t)?[...t.map(e)]:t}(e.defaultValue))}(this.astReflection,t),t)}getAssignment(e){if(!this.assignmentMap.has(e)){let t=eT(e,Y);this.assignmentMap.set(e,{assignment:t,isCrossRef:!!t&&Q(t.terminal)})}return this.assignmentMap.get(e)}assign(e,t,r,n,i){let a;let s=this.current;switch(a=i&&"string"==typeof r?this.linker.buildReference(s,t,n,r):r,e){case"=":s[t]=a;break;case"?=":s[t]=!0;break;case"+=":!Array.isArray(s[t])&&(s[t]=[]),s[t].push(a)}}assignWithoutOverride(e,t){for(let[r,n]of Object.entries(t)){let t=e[r];void 0===t?e[r]=n:Array.isArray(t)&&Array.isArray(n)&&(n.push(...t),e[r]=n)}return e}get definitionErrors(){return this.wrapper.definitionErrors}}class oB{buildMismatchTokenMessage(e){return aV.buildMismatchTokenMessage(e)}buildNotAllInputParsedMessage(e){return aV.buildNotAllInputParsedMessage(e)}buildNoViableAltMessage(e){return aV.buildNoViableAltMessage(e)}buildEarlyExitMessage(e){return aV.buildEarlyExitMessage(e)}}class oK extends oB{buildMismatchTokenMessage({expected:e,actual:t}){let r=e.LABEL?"`"+e.LABEL+"`":e.name.endsWith(":KW")?`keyword '${e.name.substring(0,e.name.length-3)}'`:`token of type '${e.name}'`;return`Expecting ${r} but found \`${t.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:e}){return`Expecting end of file but found \`${e.image}\`.`}}class oj extends oF{constructor(){super(...arguments),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(e){this.resetState();let t=this.lexer.tokenize(e);return this.tokens=t.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(e,t){let r=this.wrapper.DEFINE_RULE(oU(e.name),this.startImplementation(t).bind(this));return e.entry&&(this.mainRule=r),r}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(e){return t=>{let r=this.keepStackSize();try{e(t)}finally{this.resetStackSize(r)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){let e=this.elementStack.length;return this.stackSize=e,e}resetStackSize(e){this.removeUnexpectedElements(),this.stackSize=e}consume(e,t,r){this.wrapper.wrapConsume(e,t),!this.isRecording()&&(this.lastElementStack=[...this.elementStack,r],this.nextTokenIndex=this.currIdx+1)}subrule(e,t,r,n){this.before(r),this.wrapper.wrapSubrule(e,t,n),this.after(r)}before(e){!this.isRecording()&&this.elementStack.push(e)}after(e){if(!this.isRecording()){let t=this.elementStack.lastIndexOf(e);t>=0&&this.elementStack.splice(t)}}get currIdx(){return this.wrapper.currIdx}}let oV={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new oK};class oW extends s6{constructor(e,t){super(e,Object.assign(Object.assign(Object.assign({},oV),{lookaheadStrategy:t&&"maxLookahead"in t?new sG({maxLookahead:t.maxLookahead}):new oE}),t))}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(e,t){return this.RULE(e,t)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(e,t){return this.consume(e,t)}wrapSubrule(e,t,r){return this.subrule(e,t,{ARGS:[r]})}wrapOr(e,t){this.or(e,t)}wrapOption(e,t){this.option(e,t)}wrapMany(e,t){this.many(e,t)}wrapAtLeastOne(e,t){this.atLeastOne(e,t)}}function oH(e,t,r){return function(e,t){let r=ej(t,!1);for(let n of p(t.rules).filter(Z).filter(e=>r.has(e))){let t=Object.assign(Object.assign({},e),{consume:1,optional:1,subrule:1,many:1,or:1});t.rules.set(n.name,e.parser.rule(n,oz(t,n.definition)))}}({parser:t,tokens:r,rules:new Map,ruleNames:new Map},e),t}function oz(e,t,r=!1){let n;if(en(t))n=function(e,t){let r=e.consume++,n=e.tokens[t.value];if(!n)throw Error("Could not find token for keyword: "+t.value);return()=>e.parser.consume(r,n,t)}(e,t);else if(V(t))n=function(e,t){let r=eq(t);return()=>e.parser.action(r,t)}(e,t);else if(Y(t))n=oz(e,t.terminal);else if(Q(t))n=function e(t,r,n=r.terminal){if(n){if(eo(n)&&Z(n.rule.ref)){let e=t.subrule++;return i=>t.parser.subrule(e,oQ(t,n.rule.ref),r,i)}else if(eo(n)&&G(n.rule.ref)){let e=t.consume++,i=oJ(t,n.rule.ref.name);return()=>t.parser.consume(e,i,r)}else if(en(n)){let e=t.consume++,i=oJ(t,n.value);return()=>t.parser.consume(e,i,r)}else throw Error("Could not build cross reference parser")}{if(!r.type.ref)throw Error("Could not resolve reference to type: "+r.type.$refText);let n=eH(r.type.ref),i=null==n?void 0:n.terminal;if(!i)throw Error("Could not find name assignment for type: "+eq(r.type.ref));return e(t,r,i)}}(e,t);else if(eo(t))n=function(e,t){let r=t.rule.ref;if(Z(r)){let n=e.subrule++,i=t.arguments.length>0?function(e,t){let r=t.map(e=>oY(e.value));return t=>{let n={};for(let i=0;i({});return a=>e.parser.subrule(n,oQ(e,r),t,i(a))}if(G(r)){let n=e.consume++,i=oJ(e,r.name);return()=>e.parser.consume(n,i,t)}if(r)A(r);else throw new R(t.$cstNode,`Undefined rule type: ${t.$type}`)}(e,t);else if(H(t))n=function(e,t){if(1===t.elements.length)return oz(e,t.elements[0]);{let r=[];for(let n of t.elements){let t={ALT:oz(e,n,!0)},i=oq(n);i&&(t.GATE=oY(i)),r.push(t)}let n=e.or++;return t=>e.parser.alternatives(n,r.map(e=>{let r={ALT:()=>e.ALT(t)},n=e.GATE;return n&&(r.GATE=()=>n(t)),r}))}}(e,t);else if(ef(t))n=function(e,t){if(1===t.elements.length)return oz(e,t.elements[0]);let r=[];for(let n of t.elements){let t={ALT:oz(e,n,!0)},i=oq(n);i&&(t.GATE=oY(i)),r.push(t)}let n=e.or++,i=(e,t)=>{let r=t.getRuleStack().join("-");return`uGroup_${e}_${r}`},a=oX(e,oq(t),t=>e.parser.alternatives(n,r.map((r,a)=>{let s={ALT:()=>!0},o=e.parser;s.ALT=()=>{if(r.ALT(t),!o.isRecording()){let e=i(n,o);!o.unorderedGroups.get(e)&&o.unorderedGroups.set(e,[]);let t=o.unorderedGroups.get(e);void 0===(null==t?void 0:t[a])&&(t[a]=!0)}};let l=r.GATE;return l?s.GATE=()=>l(t):s.GATE=()=>{let e=o.unorderedGroups.get(i(n,o));return!(null==e?void 0:e[a])},s})),"*");return t=>{a(t),!e.parser.isRecording()&&e.parser.unorderedGroups.delete(i(n,e.parser))}}(e,t);else if(et(t))n=function(e,t){let r=t.elements.map(t=>oz(e,t));return e=>r.forEach(t=>t(e))}(e,t);else{var i;if(i=t,ey.isInstance(i,J)){let r=e.consume++;n=()=>e.parser.consume(r,aB,t)}else throw new R(t.$cstNode,`Unexpected element type: ${t.$type}`)}return oX(e,r?void 0:oq(t),n,t.cardinality)}function oY(e){var t,r,n,i,a;if(t=e,ey.isInstance(t,L)){let t=oY(e.left),r=oY(e.right);return e=>t(e)||r(e)}if(r=e,ey.isInstance(r,$)){let t=oY(e.left),r=oY(e.right);return e=>t(e)&&r(e)}else{;if(n=e,ey.isInstance(n,P)){let t=oY(e.value);return e=>!t(e)}else{;if(i=e,ey.isInstance(i,M)){let t=e.parameter.ref.name;return e=>void 0!==e&&!0===e[t]}else{;if(a=e,ey.isInstance(a,C)){let t=!!e.true;return()=>t}}}}A(e)}function oq(e){if(et(e))return e.guardCondition}function oX(e,t,r,n){let i=t&&oY(t);if(!n){if(!i)return r;{let t=e.or++;return n=>e.parser.alternatives(t,[{ALT:()=>r(n),GATE:()=>i(n)},{ALT:s5(),GATE:()=>!i(n)}])}}if("*"===n){let t=e.many++;return n=>e.parser.many(t,{DEF:()=>r(n),GATE:i?()=>i(n):void 0})}if("+"===n){let t=e.many++;if(!i)return n=>e.parser.atLeastOne(t,{DEF:()=>r(n)});{let n=e.or++;return a=>e.parser.alternatives(n,[{ALT:()=>e.parser.atLeastOne(t,{DEF:()=>r(a)}),GATE:()=>i(a)},{ALT:s5(),GATE:()=>!i(a)}])}}if("?"===n){let t=e.optional++;return n=>e.parser.optional(t,{DEF:()=>r(n),GATE:i?()=>i(n):void 0})}else A(n)}function oQ(e,t){let r=function(e,t){if(Z(t))return t.name;if(e.ruleNames.has(t))return e.ruleNames.get(t);{let r=t,n=r.$container,i=t.$type;for(;!Z(n);)(et(n)||H(n)||ef(n))&&(i=n.elements.indexOf(r).toString()+":"+i),r=n,n=n.$container;return i=n.name+":"+i,e.ruleNames.set(t,i),i}}(e,t),n=e.rules.get(r);if(!n)throw Error(`Rule "${r}" not found."`);return n}function oJ(e,t){let r=e.tokens[t];if(!r)throw Error(`Token "${t}" not found."`);return r}class o0{buildTokens(e,t){let r=p(ej(e,!1)),n=this.buildTerminalTokens(r),i=this.buildKeywordTokens(r,n,t);return n.forEach(e=>{let t=e.PATTERN;"object"==typeof t&&t&&"test"in t&&eB(t)?i.unshift(e):i.push(e)}),i}buildTerminalTokens(e){return e.filter(G).filter(e=>!e.fragment).map(e=>this.buildTerminalToken(e)).toArray()}buildTerminalToken(e){let t=eX(e),r=this.requiresCustomPattern(t)?this.regexPatternFunction(t):t,n={name:e.name,PATTERN:r,LINE_BREAKS:!0};return e.hidden&&(n.GROUP=eB(t)?a$.SKIPPED:"hidden"),n}requiresCustomPattern(e){return!!e.flags.includes("u")||!!(e.source.includes("?<=")||e.source.includes("?(t.lastIndex=r,t.exec(e))}buildKeywordTokens(e,t,r){return e.filter(Z).flatMap(e=>eR(e).filter(en)).distinct(e=>e.value).toArray().sort((e,t)=>t.value.length-e.value.length).map(e=>this.buildKeywordToken(e,t,!!(null==r?void 0:r.caseInsensitive)))}buildKeywordToken(e,t,r){return{name:e.value,PATTERN:this.buildKeywordPattern(e,r),LONGER_ALT:this.findLongerAlt(e,t)}}buildKeywordPattern(e,t){var r;return t?new RegExp((r=e.value,Array.prototype.map.call(r,e=>/\w/.test(e)?`[${e.toLowerCase()}${e.toUpperCase()}]`:eK(e)).join(""))):e.value}findLongerAlt(e,t){return t.reduce((t,r)=>{let n=null==r?void 0:r.PATTERN;return(null==n?void 0:n.source)&&function(e,t){let r=function(e){"string"==typeof e&&(e=new RegExp(e));let t=e,r=e.source,n=0;return new RegExp(function e(){let i="",a;function s(e){i+=r.substr(n,e),n+=e}function o(e){i+="(?:"+r.substr(n,e)+"|$)",n+=e}for(;n",n)-n+1);break;default:o(2)}break;case"[":(a=/\[(?:\\.|.)*?\]/g).lastIndex=n,o((a=a.exec(r)||[])[0].length);break;case"|":case"^":case"$":case"*":case"+":case"?":s(1);break;case"{":(a=/\{\d+,?\d*\}/g).lastIndex=n,(a=a.exec(r))?s(a[0].length):o(1);break;case"(":if("?"===r[n+1])switch(r[n+2]){case":":i+="(?:",n+=3,i+=e()+"|$)";break;case"=":i+="(?=",n+=3,i+=e()+")";break;case"!":a=n,n+=3,e(),i+=r.substr(a,n-a);break;case"<":switch(r[n+3]){case"=":case"!":a=n,n+=4,e(),i+=r.substr(a,n-a);break;default:s(r.indexOf(">",n)-n+1),i+=e()+"|$)"}}else s(1),i+=e()+"|$)";break;case")":return++n,i;default:o(1)}return i}(),e.flags)}(e),n=t.match(r);return!!n&&n[0].length>0}("^"+n.source+"$",e.value)&&t.push(r),t},[])}}class o1{convert(e,t){let r=t.grammarSource;if(Q(r)&&(r=function(e){if(e.terminal)return e.terminal;if(e.type.ref){let t=eH(e.type.ref);return null==t?void 0:t.terminal}}(r)),eo(r)){let n=r.rule.ref;if(!n)throw Error("This cst node was not parsed by a rule.");return this.runConverter(n,e,t)}return e}runConverter(e,t,r){var n,i,a,s,o;switch(e.name.toUpperCase()){case"INT":return nT.convertInt(t);case"STRING":return nT.convertString(t);case"ID":return nT.convertID(t)}switch(null===(n=G(i=e)?null!==(s=null===(a=i.type)||void 0===a?void 0:a.name)&&void 0!==s?s:"string":ez(i)?i.name:null!==(o=eY(i))&&void 0!==o?o:i.name)||void 0===n?void 0:n.toLowerCase()){case"number":return nT.convertNumber(t);case"boolean":return nT.convertBoolean(t);case"bigint":return nT.convertBigint(t);case"date":return nT.convertDate(t);default:return t}}}(tJ=nT||(nT={})).convertString=function(e){let t="";for(let r=1;r=10&&(o4=t,await new Promise(e=>{"undefined"==typeof setImmediate?setTimeout(e,0):setImmediate(e)})),e.isCancellationRequested)throw o7}class o9{constructor(){this.promise=new Promise((e,t)=>{this.resolve=t=>(e(t),this),this.reject=e=>(t(e),this)})}}class o6{constructor(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(let t of e)if(o6.isIncremental(t)){let e=lt(t.range),r=this.offsetAt(e.start),n=this.offsetAt(e.end);this._content=this._content.substring(0,r)+t.text+this._content.substring(n,this._content.length);let i=Math.max(e.start.line,0),a=Math.max(e.end.line,0),s=this._lineOffsets,o=o8(t.text,!1,r);if(a-i===o.length)for(let e=0,t=o.length;ee?n=i:r=i+1}let i=r-1;return e=this.ensureBeforeEOL(e,t[i]),{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line];if(e.character<=0)return r;let n=e.line+1t&&le(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){return null!=e&&"string"==typeof e.text&&void 0!==e.range&&(void 0===e.rangeLength||"number"==typeof e.rangeLength)}static isFull(e){return null!=e&&"string"==typeof e.text&&void 0===e.range&&void 0===e.rangeLength}}(t0=nv||(nv={})).create=function(e,t,r,n){return new o6(e,t,r,n)},t0.update=function(e,t,r){if(e instanceof o6)return e.update(t,r),e;throw Error("TextDocument.update: document must be created by TextDocument.create")},t0.applyEdits=function(e,t){let r=e.getText(),n=function e(t,r){if(t.length<=1)return t;let n=t.length/2|0,i=t.slice(0,n),a=t.slice(n);e(i,r),e(a,r);let s=0,o=0,l=0;for(;s=r(i[s],a[o])?t[l++]=i[s++]:t[l++]=a[o++];for(;s{let r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r}),i=0,a=[];for(let t of n){let n=e.offsetAt(t.range.start);if(ni&&a.push(r.substring(i,n));t.newText.length&&a.push(t.newText),i=e.offsetAt(t.range.end)}return a.push(r.substr(i)),a.join("")};function o8(e,t,r=0){let n=t?[r]:[];for(let t=0;tr.line||t.line===r.line&&t.character>r.character?{start:r,end:t}:e}function lr(e){let t=lt(e.range);return t!==e.range?{newText:e.newText,range:t}:e}(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,a=-1,s=0,o=0;o<=e.length;++o){if(o2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),a=o,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,a=o,s=0;continue}}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),i=o-a-1;a=o,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var n={resolve:function(){for(var e,n,i="",a=!1,s=arguments.length-1;s>=-1&&!a;s--)s>=0?e=arguments[s]:(void 0===n&&(n=process.cwd()),e=n),t(e),0!==e.length&&(i=e+"/"+i,a=47===e.charCodeAt(0));return i=r(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;iu){if(47===r.charCodeAt(o+d))return r.slice(o+d+1);if(0===d)return r.slice(o+d)}else s>u&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var h=e.charCodeAt(i+d);if(h!==r.charCodeAt(o+d))break;47===h&&(c=d)}var f="";for(d=i+c+1;d<=a;++d)d!==a&&47!==e.charCodeAt(d)||(0===f.length?f+="..":f+="/..");return f.length>0?f+r.slice(o+c):(o+=c,47===r.charCodeAt(o)&&++o,r.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,a=!0,s=e.length-1;s>=1;--s)if(47===(r=e.charCodeAt(s))){if(!a){i=s;break}}else a=!1;return -1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,i=0,a=-1,s=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var o=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!s){i=n+1;break}}else -1===l&&(s=!1,l=n+1),o>=0&&(u===r.charCodeAt(o)?-1==--o&&(a=n):(o=-1,a=l))}return i===a?a=l:-1===a&&(a=e.length),e.slice(i,a)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else -1===a&&(s=!1,a=n+1);return -1===a?"":e.slice(i,a)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,a=!0,s=0,o=e.length-1;o>=0;--o){var l=e.charCodeAt(o);if(47!==l)-1===i&&(a=!1,i=o+1),46===l?-1===r?r=o:1!==s&&(s=1):-1!==r&&(s=-1);else if(!a){n=o+1;break}}return -1===r||-1===i||0===s||1===s&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){var t,r,n,i;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=0,n=(r=e).dir||r.root,i=r.base||(r.name||"")+(r.ext||""),n?n===r.root?n+i:n+"/"+i:i},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var n,i=e.charCodeAt(0),a=47===i;a?(r.root="/",n=1):n=0;for(var s=-1,o=0,l=-1,u=!0,c=e.length-1,d=0;c>=n;--c)if(47!==(i=e.charCodeAt(c)))-1===l&&(u=!1,l=c+1),46===i?-1===s?s=c:1!==d&&(d=1):-1!==s&&(d=-1);else if(!u){o=c+1;break}return -1===s||-1===l||0===d||1===d&&s===l-1&&s===o+1?-1!==l&&(r.base=r.name=0===o&&a?e.slice(1,l):e.slice(o,l)):(0===o&&a?(r.name=e.slice(1,s),r.base=e.slice(1,l)):(r.name=e.slice(o,s),r.base=e.slice(o,l)),r.ext=e.slice(s,l)),o>0?r.dir=e.slice(0,o-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{let e;(r.r(n),r.d(n,{URI:()=>l,Utils:()=>v}),"object"==typeof process)?e="win32"===process.platform:"object"==typeof navigator&&(e=navigator.userAgent.indexOf("Windows")>=0);let t=/^\w[\w\d+.-]*$/,i=/^\//,a=/^\/\//;function s(e,r){if(!e.scheme&&r)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!t.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!i.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let o=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class l{static isUri(e){return e instanceof l||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}scheme;authority;path;query;fragment;constructor(e,t,r,n,i,a=!1){var o,l;"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(o=e,l=a,o||l?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,r||""),this.query=n||"",this.fragment=i||"",s(this,a))}get fsPath(){return p(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:r,path:n,query:i,fragment:a}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===r?r=this.authority:null===r&&(r=""),void 0===n?n=this.path:null===n&&(n=""),void 0===i?i=this.query:null===i&&(i=""),void 0===a?a=this.fragment:null===a&&(a=""),t===this.scheme&&r===this.authority&&n===this.path&&i===this.query&&a===this.fragment?this:new c(t,r,n,i,a)}static parse(e,t=!1){let r=o.exec(e);return r?new c(r[2]||"",y(r[4]||""),y(r[5]||""),y(r[7]||""),y(r[9]||""),t):new c("","","","","")}static file(t){let r="";if(e&&(t=t.replace(/\\/g,"/")),"/"===t[0]&&"/"===t[1]){let e=t.indexOf("/",2);-1===e?(r=t.substring(2),t="/"):(r=t.substring(2,e),t=t.substring(e)||"/")}return new c("file",r,t,"","")}static from(e){let t=new c(e.scheme,e.authority,e.path,e.query,e.fragment);return s(t,!0),t}toString(e=!1){return m(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof l)return e;{let t=new c(e);return t._formatted=e.external,t._fsPath=e._sep===u?e.fsPath:null,t}}return e}}let u=e?1:void 0;class c extends l{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=p(this,!1)),this._fsPath}toString(e=!1){return e?m(this,!0):(this._formatted||(this._formatted=m(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let d={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function h(e,t,r){let n,i=-1;for(let a=0;a=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s||r&&91===s||r&&93===s||r&&58===s)-1!==i&&(n+=encodeURIComponent(e.substring(i,a)),i=-1),void 0!==n&&(n+=e.charAt(a));else{void 0===n&&(n=e.substr(0,a));let t=d[s];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,a)),i=-1),n+=t):-1===i&&(i=a)}}return -1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function f(e){let t;for(let r=0;r1&&"file"===t.scheme?`//${t.authority}${t.path}`:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&90>=t.path.charCodeAt(1)||t.path.charCodeAt(1)>=97&&122>=t.path.charCodeAt(1))&&58===t.path.charCodeAt(2)?r?t.path.substr(1):t.path[1].toLowerCase()+t.path.substr(2):t.path,e&&(n=n.replace(/\//g,"\\")),n}function m(e,t){let r=t?f:h,n="",{scheme:i,authority:a,path:s,query:o,fragment:l}=e;if(i&&(n+=i,n+=":"),(a||"file"===i)&&(n+="/",n+="/"),a){let e=a.indexOf("@");if(-1!==e){let t=a.substr(0,e);a=a.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=r(t,!1,!1):(n+=r(t.substr(0,e),!1,!1),n+=":",n+=r(t.substr(e+1),!1,!0)),n+="@"}-1===(e=(a=a.toLowerCase()).lastIndexOf(":"))?n+=r(a,!1,!0):(n+=r(a.substr(0,e),!1,!0),n+=a.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){let e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){let e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}n+=r(s,!0,!1)}return o&&(n+="?",n+=r(o,!1,!1)),l&&(n+="#",n+=t?l:h(l,!1,!1)),n}let g=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function y(e){return e.match(g)?e.replace(g,e=>(function e(t){try{return decodeURIComponent(t)}catch{return t.length>3?t.substr(0,3)+e(t.substr(3)):t}})(e)):e}var T,v,E=r(470);let R=E.posix||E;(T=v||(v={})).joinPath=function(e,...t){return e.with({path:R.join(e.path,...t)})},T.resolvePath=function(e,...t){let r=e.path,n=!1;"/"!==r[0]&&(r="/"+r,n=!0);let i=R.resolve(r,...t);return n&&"/"===i[0]&&!e.authority&&(i=i.substring(1)),e.with({path:i})},T.dirname=function(e){if(0===e.path.length||"/"===e.path)return e;let t=R.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)&&(t=""),e.with({path:t})},T.basename=function(e){return R.basename(e.path)},T.extname=function(e){return R.extname(e.path)}})(),nE=n})();let{URI:ln,Utils:li}=nE;(t1=nR||(nR={})).basename=li.basename,t1.dirname=li.dirname,t1.extname=li.extname,t1.joinPath=li.joinPath,t1.resolvePath=li.resolvePath,t1.equals=function(e,t){return(null==e?void 0:e.toString())===(null==t?void 0:t.toString())},t1.relative=function(e,t){let r="string"==typeof e?e:e.path,n="string"==typeof t?t:t.path,i=r.split("/").filter(e=>e.length>0),a=n.split("/").filter(e=>e.length>0),s=0;for(;snull!=r?r:r=nv.create(e.toString(),n.getServices(e).LanguageMetaData.languageId,0,null!=t?t:"")}}class ls{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return p(this.documentMap.values())}addDocument(e){let t=e.uri.toString();if(this.documentMap.has(t))throw Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){let t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let r=this.getDocument(e);return r?r:(r=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(r),r)}createDocument(e,t,r){if(r)return this.langiumDocumentFactory.fromString(t,e,r).then(e=>(this.addDocument(e),e));{let r=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(r),r}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){let t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=nA.Changed,r.precomputedScopes=void 0,r.references=[],r.diagnostics=void 0),r}deleteDocument(e){let t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=nA.Changed,this.documentMap.delete(t)),r}}class lo{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=o2.CancellationToken.None){for(let r of eA(e.parseResult.value))await o5(t),eI(r).forEach(t=>this.doLink(t,e))}doLink(e,t){let r=e.reference;if(void 0===r._ref)try{let t=this.getCandidate(e);if(a(t))r._ref=t;else if(r._nodeDescription=t,this.langiumDocuments().hasDocument(t.documentUri)){let n=this.loadAstNode(t);r._ref=null!=n?n:this.createLinkingError(e,t)}}catch(t){r._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${r.$refText}': ${t}`})}t.references.push(r)}unlink(e){for(let t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){let t=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return null!=t?t:this.createLinkingError(e)}buildReference(e,t,r,i){let s=this,o={$refNode:r,$refText:i,get ref(){var l,u;if(n(this._ref))return this._ref;if("object"==typeof(u=this._nodeDescription)&&null!==u&&"string"==typeof u.name&&"string"==typeof u.type&&"string"==typeof u.path){let r=s.loadAstNode(this._nodeDescription);this._ref=null!=r?r:s.createLinkingError({reference:o,container:e,property:t},this._nodeDescription)}else if(void 0===this._ref){let r=s.getLinkedNode({reference:o,container:e,property:t});if(r.error&&ev(e).state=e.end)return t.ref}}if(r){let t=this.nameProvider.getNameNode(r);if(t&&(t===e||function(e,t){for(;e.container;)if((e=e.container)===t)return!0;return!1}(e,t)))return r}}}findDeclarationNode(e){let t=this.findDeclaration(e);if(null==t?void 0:t.$cstNode){let e=this.nameProvider.getNameNode(t);return null!=e?e:t.$cstNode}}findReferences(e,t){let r=[];if(t.includeDeclaration){let t=this.getReferenceToSelf(e);t&&r.push(t)}let n=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(n=n.filter(e=>nR.equals(e.sourceUri,t.documentUri))),r.push(...n),p(r)}getReferenceToSelf(e){let t=this.nameProvider.getNameNode(e);if(t){let r=ev(e),n=this.nodeLocator.getAstNodePath(e);return{sourceUri:r.uri,sourcePath:n,targetUri:r.uri,targetPath:n,segment:T(t),local:!0}}}}class lc{constructor(e){if(this.map=new Map,e)for(let[t,r]of e)this.add(t,r)}get size(){return t5.sum(p(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,t){if(void 0===t)return this.map.delete(e);{let r=this.map.get(e);if(r){let n=r.indexOf(t);if(n>=0)return 1===r.length?this.map.delete(e):r.splice(n,1),!0}return!1}}get(e){var t;return null!==(t=this.map.get(e))&&void 0!==t?t:[]}has(e,t){if(void 0===t)return this.map.has(e);{let r=this.map.get(e);return!!r&&r.indexOf(t)>=0}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach((t,r)=>t.forEach(t=>e(t,r,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return p(this.map.entries()).flatMap(([e,t])=>t.map(t=>[e,t]))}keys(){return p(this.map.keys())}values(){return p(this.map.values()).flat()}entriesGroupedByKey(){return p(this.map.entries())}}class ld{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(let[t,r]of e)this.set(t,r)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){let t=this.map.get(e);return void 0!==t&&(this.map.delete(e),this.inverse.delete(t),!0)}}class lh{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=o2.CancellationToken.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,r=eE,n=o2.CancellationToken.None){let i=[];for(let a of(this.exportNode(e,i,t),r(e)))await o5(n),this.exportNode(a,i,t);return i}exportNode(e,t,r){let n=this.nameProvider.getName(e);n&&t.push(this.descriptions.createDescription(e,n,r))}async computeLocalScopes(e,t=o2.CancellationToken.None){let r=e.parseResult.value,n=new lc;for(let i of eR(r))await o5(t),this.processNode(i,e,n);return n}processNode(e,t,r){let n=e.$container;if(n){let i=this.nameProvider.getName(e);i&&r.add(n,this.descriptions.createDescription(e,i,t))}}}class lf{constructor(e,t,r){var n;this.elements=e,this.outerScope=t,this.caseInsensitive=null!==(n=null==r?void 0:r.caseInsensitive)&&void 0!==n&&n}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){let t=this.caseInsensitive?this.elements.find(t=>t.name.toLowerCase()===e.toLowerCase()):this.elements.find(t=>t.name===e);return t?t:this.outerScope?this.outerScope.getElement(e):void 0}}class lp{constructor(e,t,r){var n;for(let t of(this.elements=new Map,this.caseInsensitive=null!==(n=null==r?void 0:r.caseInsensitive)&&void 0!==n&&n,e)){let e=this.caseInsensitive?t.name.toLowerCase():t.name;this.elements.set(e,t)}this.outerScope=t}getElement(e){let t=this.caseInsensitive?e.toLowerCase():e,r=this.elements.get(t);return r?r:this.outerScope?this.outerScope.getElement(e):void 0}getAllElements(){let e=p(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class lm{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw Error("This cache has already been disposed")}}class lg extends lm{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(!!t){let r=t();return this.cache.set(e,r),r}}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class ly extends lm{constructor(e){super(),this.cache=new Map,this.converter=null!=e?e:e=>e}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,r){this.throwIfDisposed(),this.cacheForContext(e).set(t,r)}get(e,t,r){this.throwIfDisposed();let n=this.cacheForContext(e);if(n.has(t))return n.get(t);if(!!r){let e=r();return n.set(t,e),e}}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){let t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){let t=this.converter(e),r=this.cache.get(t);return!r&&(r=new Map,this.cache.set(t,r)),r}}class lT extends lg{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}class lv{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new lT(e.shared)}getScope(e){let t=[],r=this.reflection.getReferenceType(e),n=ev(e.container).precomputedScopes;if(n){let i=e.container;do{let e=n.get(i);e.length>0&&t.push(p(e).filter(e=>this.reflection.isSubtype(e.type,r))),i=i.$container}while(i)}let i=this.getGlobalScope(r,e);for(let e=t.length-1;e>=0;e--)i=this.createScope(t[e],i);return i}createScope(e,t,r){return new lf(p(e),t,r)}createScopeForNodes(e,t,r){return new lf(p(e).map(e=>{let t=this.nameProvider.getName(e);if(t)return this.descriptions.createDescription(e,t)}).nonNullable(),t,r)}getGlobalScope(e,t){return this.globalScopeCache.get(e,()=>new lp(this.indexManager.allElements(e)))}}function lE(e){return"object"==typeof e&&!!e&&("$ref"in e||"$error"in e)}class lR{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){let r=null==t?void 0:t.replacer,n=(e,r)=>this.replacer(e,r,t),i=r?(e,t)=>r(e,t,n):n;try{return this.currentDocument=ev(e),JSON.stringify(e,i,null==t?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){let r=JSON.parse(e);return this.linkNode(r,r,t),r}replacer(e,t,{refText:r,sourceText:a,textRegions:s,comments:o,uriConverter:l}){var u,c,d,h;if(!this.ignoreProperties.has(e)){if(i(t)){let e=t.ref,n=r?t.$refText:void 0;if(!e)return{$error:null!==(c=null===(u=t.error)||void 0===u?void 0:u.message)&&void 0!==c?c:"Could not resolve reference",$refText:n};{let r=ev(e),i="";this.currentDocument&&this.currentDocument!==r&&(i=l?l(r.uri,t):r.uri.toString());let a=this.astNodeLocator.getAstNodePath(e);return{$ref:`${i}#${a}`,$refText:n}}}if(!n(t))return t;else{let r;if(s&&(r=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),(!e||t.$document)&&(null==r?void 0:r.$textRegion)&&(r.$textRegion.documentURI=null===(d=this.currentDocument)||void 0===d?void 0:d.uri.toString())),a&&!e&&(null!=r||(r=Object.assign({},t)),r.$sourceText=null===(h=t.$cstNode)||void 0===h?void 0:h.text),o){null!=r||(r=Object.assign({},t));let e=this.commentProvider.getComment(t);e&&(r.$comment=e.replace(/\r/g,""))}return null!=r?r:t}}}addAstNodeRegionWithAssignmentsTo(e){let t=e=>({offset:e.offset,end:e.end,length:e.length,range:e.range});if(e.$cstNode){let r=(e.$textRegion=t(e.$cstNode)).assignments={};return Object.keys(e).filter(e=>!e.startsWith("$")).forEach(n=>{var i,a;let s=(i=e.$cstNode,a=n,i&&a?eW(i,a,i.astNode,!0):[]).map(t);0!==s.length&&(r[n]=s)}),e}}linkNode(e,t,r,i,a,s){for(let[i,a]of Object.entries(e))if(Array.isArray(a))for(let s=0;s{try{await e.call(t,r,n,i)}catch(t){if(t===o7)throw t;console.error("An error occurred during validation:",t);let e=t instanceof Error?t.message:String(t);t instanceof Error&&t.stack&&console.error(t.stack),n("error","An error occurred during validation: "+e,{node:r})}}}addEntry(e,t){if("AstNode"===e){this.entries.add("AstNode",t);return}for(let r of this.reflection.getAllSubTypes(e))this.entries.add(r,t)}getChecks(e,t){let r=p(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(r=r.filter(e=>t.includes(e.category))),r.map(e=>e.check)}}class lx{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},r=o2.CancellationToken.None){let n=e.parseResult,i=[];if(await o5(r),!t.categories||t.categories.includes("built-in")){if(this.processLexingErrors(n,i,t),t.stopAfterLexingErrors&&i.some(e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===nI.LexingError}))return i;if(this.processParsingErrors(n,i,t),t.stopAfterParsingErrors&&i.some(e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===nI.ParsingError}))return i;if(this.processLinkingErrors(e,i,t),t.stopAfterLinkingErrors&&i.some(e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.code)===nI.LinkingError}))return i}try{i.push(...await this.validateAst(n.value,t,r))}catch(e){if(e===o7)throw e;console.error("An error occurred during validation:",e)}return await o5(r),i}processLexingErrors(e,t,r){for(let r of e.lexerErrors){let e={severity:lS("error"),range:{start:{line:r.line-1,character:r.column-1},end:{line:r.line-1,character:r.column+r.length-1}},message:r.message,data:{code:nI.LexingError},source:this.getSource()};t.push(e)}}processParsingErrors(e,t,r){for(let r of e.parserErrors){let e;if(isNaN(r.token.startOffset)){if("previousToken"in r){let t=r.previousToken;if(isNaN(t.startOffset)){let t={line:0,character:0};e={start:t,end:t}}else{let r={line:t.endLine-1,character:t.endColumn};e={start:r,end:r}}}}else e=y(r.token);if(e){let n={severity:lS("error"),range:e,message:r.message,data:{code:nI.ParsingError},source:this.getSource()};t.push(n)}}}processLinkingErrors(e,t,r){for(let r of e.references){let e=r.error;if(e){let r={node:e.container,property:e.property,index:e.index,data:{code:nI.LinkingError,containerType:e.container.$type,property:e.property,refText:e.reference.$refText}};t.push(this.toDiagnostic("error",e.message,r))}}}async validateAst(e,t,r=o2.CancellationToken.None){let n=[],i=(e,t,r)=>{n.push(this.toDiagnostic(e,t,r))};return await Promise.all(eA(e).map(async e=>{for(let n of(await o5(r),this.validationRegistry.getChecks(e.$type,t.categories)))await n(e,i,r)})),n}toDiagnostic(e,t,r){return{message:t,range:function(e){let t;return e.range?e.range:("string"==typeof e.property?t=eV(e.node.$cstNode,e.property,e.index):"string"==typeof e.keyword&&(t=function(e,t,r){if(!e)return;let n=function(e,t,r){let n;if(e.astNode!==r)return[];if(en(e.grammarSource)&&e.grammarSource.value===t)return[e];let i=g(e).iterator(),a=[];do if(!(n=i.next()).done){let e=n.value;e.astNode===r?en(e.grammarSource)&&e.grammarSource.value===t&&a.push(e):i.prune()}while(!n.done);return a}(e,t,null==e?void 0:e.astNode);if(0!==n.length)return r=void 0!==r?Math.max(0,Math.min(r,n.length-1)):0,n[r]}(e.node.$cstNode,e.keyword,e.index)),null!=t||(t=e.node.$cstNode),t)?t.range:{start:{line:0,character:0},end:{line:0,character:0}}}(r),severity:lS(e),code:r.code,codeDescription:r.codeDescription,tags:r.tags,relatedInformation:r.relatedInformation,data:r.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function lS(e){switch(e){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw Error("Invalid diagnostic severity: "+e)}}(t4=nI||(nI={})).LexingError="lexing-error",t4.ParsingError="parsing-error",t4.LinkingError="linking-error";class lN{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,r=ev(e)){let n;null!=t||(t=this.nameProvider.getName(e));let i=this.astNodeLocator.getAstNodePath(e);if(!t)throw Error(`Node at path ${i} has no name.`);let a=()=>{var t;return null!=n?n:n=T(null!==(t=this.nameProvider.getNameNode(e))&&void 0!==t?t:e.$cstNode)};return{node:e,name:t,get nameSegment(){return a()},selectionSegment:T(e.$cstNode),type:e.$type,documentUri:r.uri,path:i}}}class lC{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=o2.CancellationToken.None){let r=[];for(let n of eA(e.parseResult.value))await o5(t),eI(n).filter(e=>!a(e)).forEach(e=>{let t=this.createDescription(e);t&&r.push(t)});return r}createDescription(e){let t=e.reference.$nodeDescription,r=e.reference.$refNode;if(!t||!r)return;let n=ev(e.container).uri;return{sourceUri:n,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:T(r),local:nR.equals(t.documentUri,n)}}}class l${constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){let t=this.getAstNodePath(e.$container),r=this.getPathSegment(e);return t+this.segmentSeparator+r}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw Error("Missing '$containerProperty' in AST node.");return void 0!==t?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce((e,t)=>{if(!e||0===t.length)return e;let r=t.indexOf(this.indexSeparator);if(r>0){let n=t.substring(0,r),i=parseInt(t.substring(r+1)),a=e[n];return null==a?void 0:a[i]}return e[t]},e)}}class lL{constructor(e){this._ready=new o9,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,r;this.workspaceConfig=null!==(r=null===(t=e.capabilities.workspace)||void 0===t?void 0:t.configuration)&&void 0!==r&&r}async initialized(e){if(this.workspaceConfig){if(e.register){let t=this.serviceRegistry.all;e.register({section:t.map(e=>this.toSectionName(e.LanguageMetaData.languageId))})}if(e.fetchConfiguration){let t=this.serviceRegistry.all.map(e=>({section:this.toSectionName(e.LanguageMetaData.languageId)})),r=await e.fetchConfiguration(t);t.forEach((e,t)=>{this.updateSectionConfiguration(e.section,r[t])})}}this._ready.resolve()}updateConfiguration(e){if(!!e.settings)Object.keys(e.settings).forEach(t=>{this.updateSectionConfiguration(t,e.settings[t])})}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;let r=this.toSectionName(e);if(this.settings[r])return this.settings[r][t]}toSectionName(e){return`${e}`}}(nx||(nx={})).create=function(e){return{dispose:async()=>await e()}};class lw{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new lc,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=nA.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},r=o2.CancellationToken.None){var n,i;for(let r of e){let e=r.uri.toString();if(r.state===nA.Validated){if("boolean"==typeof t.validation&&t.validation)r.state=nA.IndexedReferences,r.diagnostics=void 0,this.buildState.delete(e);else if("object"==typeof t.validation){let a=this.buildState.get(e),s=null===(n=null==a?void 0:a.result)||void 0===n?void 0:n.validationChecks;if(s){let n=(null!==(i=t.validation.categories)&&void 0!==i?i:nk.all).filter(e=>!s.includes(e));n.length>0&&(this.buildState.set(e,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:n})},result:a.result}),r.state=nA.IndexedReferences)}}}else this.buildState.delete(e)}this.currentState=nA.Changed,await this.emitUpdate(e.map(e=>e.uri),[]),await this.buildDocuments(e,t,r)}async update(e,t,r=o2.CancellationToken.None){for(let e of(this.currentState=nA.Changed,t))this.langiumDocuments.deleteDocument(e),this.buildState.delete(e.toString()),this.indexManager.remove(e);for(let t of e){if(!this.langiumDocuments.invalidateDocument(t)){let e=this.langiumDocumentFactory.fromModel({$type:"INVALID"},t);e.state=nA.Changed,this.langiumDocuments.addDocument(e)}this.buildState.delete(t.toString())}let n=p(e).concat(t).map(e=>e.toString()).toSet();this.langiumDocuments.all.filter(e=>!n.has(e.uri.toString())&&this.shouldRelink(e,n)).forEach(e=>{this.serviceRegistry.getServices(e.uri).references.Linker.unlink(e),e.state=Math.min(e.state,nA.ComputedScopes),e.diagnostics=void 0}),await this.emitUpdate(e,t),await o5(r);let i=this.langiumDocuments.all.filter(e=>{var t;return e.stater(e,t)))}shouldRelink(e,t){return!!e.references.some(e=>void 0!==e.error)||this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),nx.create(()=>{let t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)})}async buildDocuments(e,t,r){this.prepareBuild(e,t),await this.runCancelable(e,nA.Parsed,r,e=>this.langiumDocumentFactory.update(e,r)),await this.runCancelable(e,nA.IndexedContent,r,e=>this.indexManager.updateContent(e,r)),await this.runCancelable(e,nA.ComputedScopes,r,async e=>{let t=this.serviceRegistry.getServices(e.uri).references.ScopeComputation;e.precomputedScopes=await t.computeLocalScopes(e,r)}),await this.runCancelable(e,nA.Linked,r,e=>this.serviceRegistry.getServices(e.uri).references.Linker.link(e,r)),await this.runCancelable(e,nA.IndexedReferences,r,e=>this.indexManager.updateReferences(e,r));let n=e.filter(e=>this.shouldValidate(e));for(let t of(await this.runCancelable(n,nA.Validated,r,e=>this.validate(e,r)),e)){let e=this.buildState.get(t.uri.toString());e&&(e.completed=!0)}}prepareBuild(e,t){for(let r of e){let e=r.uri.toString(),n=this.buildState.get(e);(!n||n.completed)&&this.buildState.set(e,{completed:!1,options:t,result:null==n?void 0:n.result})}}async runCancelable(e,t,r,n){let i=e.filter(e=>e.state{this.buildPhaseListeners.delete(e,t)})}waitUntil(e,t,r){let n;if(t&&"path"in t?n=t:r=t,null!=r||(r=o2.CancellationToken.None),n){let t=this.langiumDocuments.getDocument(n);if(t&&t.state>e)return Promise.resolve(n)}return this.currentState>=e?Promise.resolve(void 0):r.isCancellationRequested?Promise.reject(o7):new Promise((t,i)=>{let a=this.onBuildPhase(e,()=>{if(a.dispose(),s.dispose(),n){let e=this.langiumDocuments.getDocument(n);t(null==e?void 0:e.uri)}else t(void 0)}),s=r.onCancellationRequested(()=>{a.dispose(),s.dispose(),i(o7)})})}async notifyBuildPhase(e,t,r){if(0!==e.length)for(let n of this.buildPhaseListeners.get(t))await o5(r),await n(e,r)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,t){var r,n;let i=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,a=this.getBuildOptions(e).validation,s="object"==typeof a?a:void 0,o=await i.validateDocument(e,s,t);e.diagnostics?e.diagnostics.push(...o):e.diagnostics=o;let l=this.buildState.get(e.uri.toString());if(l){null!==(r=l.result)&&void 0!==r||(l.result={});let e=null!==(n=null==s?void 0:s.categories)&&void 0!==n?n:nk.all;l.result.validationChecks?l.result.validationChecks.push(...e):l.result.validationChecks=[...e]}}getBuildOptions(e){var t,r;return null!==(r=null===(t=this.buildState.get(e.uri.toString()))||void 0===t?void 0:t.options)&&void 0!==r?r:{}}}class lb{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new ly,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){let r=ev(e).uri,n=[];return this.referenceIndex.forEach(e=>{e.forEach(e=>{nR.equals(e.targetUri,r)&&e.targetPath===t&&n.push(e)})}),p(n)}allElements(e,t){let r=p(this.symbolIndex.keys());return t&&(r=r.filter(e=>!t||t.has(e))),r.map(t=>this.getFileDescriptions(t,e)).flat()}getFileDescriptions(e,t){var r;return t?this.symbolByTypeIndex.get(e,t,()=>{var r;return(null!==(r=this.symbolIndex.get(e))&&void 0!==r?r:[]).filter(e=>this.astReflection.isSubtype(e.type,t))}):null!==(r=this.symbolIndex.get(e))&&void 0!==r?r:[]}remove(e){let t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=o2.CancellationToken.None){let r=this.serviceRegistry.getServices(e.uri),n=await r.references.ScopeComputation.computeExports(e,t),i=e.uri.toString();this.symbolIndex.set(i,n),this.symbolByTypeIndex.clear(i)}async updateReferences(e,t=o2.CancellationToken.None){let r=this.serviceRegistry.getServices(e.uri),n=await r.workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),n)}isAffected(e,t){let r=this.referenceIndex.get(e.uri.toString());return!!r&&r.some(e=>!e.local&&t.has(e.targetUri.toString()))}}class lO{constructor(e){this.initialBuildOptions={},this._ready=new o9,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=null!==(t=e.workspaceFolders)&&void 0!==t?t:void 0}initialized(e){return this.mutex.write(e=>{var t;return this.initializeWorkspace(null!==(t=this.folders)&&void 0!==t?t:[],e)})}async initializeWorkspace(e,t=o2.CancellationToken.None){let r=await this.performStartup(e);await o5(t),await this.documentBuilder.build(r,this.initialBuildOptions,t)}async performStartup(e){let t=this.serviceRegistry.all.flatMap(e=>e.LanguageMetaData.fileExtensions),r=[],n=e=>{r.push(e),!this.langiumDocuments.hasDocument(e.uri)&&this.langiumDocuments.addDocument(e)};return await this.loadAdditionalDocuments(e,n),await Promise.all(e.map(e=>[e,this.getRootFolder(e)]).map(async e=>this.traverseFolder(...e,t,n))),this._ready.resolve(),r}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return ln.parse(e.uri)}async traverseFolder(e,t,r,n){let i=await this.fileSystemProvider.readDirectory(t);await Promise.all(i.map(async t=>{this.includeEntry(e,t,r)&&(t.isDirectory?await this.traverseFolder(e,t.uri,r,n):t.isFile&&n(await this.langiumDocuments.getOrCreateDocument(t.uri)))}))}includeEntry(e,t,r){let n=nR.basename(t.uri);if(n.startsWith("."))return!1;if(t.isDirectory)return"node_modules"!==n&&"out"!==n;if(t.isFile){let e=nR.extname(t.uri);return r.includes(e)}return!1}}class l_{constructor(e){let t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);let r=lM(t)?Object.values(t):t;this.chevrotainLexer=new a$(r,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;let r=this.chevrotainLexer.tokenize(e);return{tokens:r.tokens,errors:r.errors,hidden:null!==(t=r.groups.hidden)&&void 0!==t?t:[]}}toTokenTypeDictionary(e){if(lM(e))return e;let t=lP(e)?Object.values(e.modes).flat():e,r={};return t.forEach(e=>r[e.name]=e),r}}function lP(e){return e&&"modes"in e&&"defaultMode"in e}function lM(e){var t;return!(Array.isArray(t=e)&&(0===t.length||"name"in t[0]))&&!lP(e)}function lD(e){let t="";return(t="string"==typeof e?e:e.text).split(eU)}let lZ=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,lU=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu,lF=/\S/,lG=/\s*$/;function lB(e,t){let r=e.substring(t).match(lF);return r?t+r.index:e.length}function lK(e){let t=e.tokens[e.index],r=t,n=t,i=[];for(;t&&"break"!==t.type&&"tag"!==t.type;)i.push(function(e){return"inline-tag"===e.tokens[e.index].type?lj(e,!0):lV(e)}(e)),n=t,t=e.tokens[e.index];return new lq(i,ro.create(r.range.start,n.range.end))}function lj(e,t){let r=e.tokens[e.index++],n=r.content.substring(1),i=e.tokens[e.index];if((null==i?void 0:i.type)==="text"){if(t){let i=lV(e);return new lY(n,new lq([i],i.range),t,ro.create(r.range.start,i.range.end))}{let i=lK(e);return new lY(n,i,t,ro.create(r.range.start,i.range.end))}}{let e=r.range;return new lY(n,new lq([],e),t,e)}}function lV(e){let t=e.tokens[e.index++];return new lX(t.content,t.range)}function lW(e){if(!e)return lW({start:"/**",end:"*/",line:"*"});let{start:t,end:r,line:n}=e;return{start:lH(t,!0),end:lH(r,!1),line:lH(n,!0)}}function lH(e,t){if("string"!=typeof e&&"object"!=typeof e)return e;{let r="string"==typeof e?eK(e):e.source;return t?RegExp(`^\\s*${r}`):RegExp(`\\s*${r}\\s*$`)}}class lz{constructor(e,t){this.elements=e,this.range=t}getTag(e){return this.getAllTags().find(t=>t.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(let t of this.elements)if(0===e.length)e=t.toString();else{let r=t.toString();e+=lQ(e)+r}return e.trim()}toMarkdown(e){let t="";for(let r of this.elements)if(0===t.length)t=r.toMarkdown(e);else{let n=r.toMarkdown(e);t+=lQ(t)+n}return t.trim()}}class lY{constructor(e,t,r,n){this.name=e,this.content=t,this.inline=r,this.range=n}toString(){let e=`@${this.name}`,t=this.content.toString();return(1===this.content.inlines.length?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e} +${t}`),this.inline)?`{${e}}`:e}toMarkdown(e){var t,r;return null!==(r=null===(t=null==e?void 0:e.renderTag)||void 0===t?void 0:t.call(e,this))&&void 0!==r?r:this.toMarkdownDefault(e)}toMarkdownDefault(e){let t=this.content.toMarkdown(e);if(this.inline){let r=function(e,t,r){var n,i;if("linkplain"===e||"linkcode"===e||"link"===e){let a=t.indexOf(" "),s=t;if(a>0){let e=lB(t,a);s=t.substring(e),t=t.substring(0,a)}return("linkcode"===e||"link"===e&&"code"===r.link)&&(s=`\`${s}\``),null!==(i=null===(n=r.renderLink)||void 0===n?void 0:n.call(r,t,s))&&void 0!==i?i:function(e,t){try{return ln.parse(e,!0),`[${t}](${e})`}catch(t){return e}}(t,s)}}(this.name,t,null!=e?e:{});if("string"==typeof r)return r}let r="";(null==e?void 0:e.tag)==="italic"||(null==e?void 0:e.tag)===void 0?r="*":(null==e?void 0:e.tag)==="bold"?r="**":(null==e?void 0:e.tag)==="bold-italic"&&(r="***");let n=`${r}@${this.name}${r}`;return(1===this.content.inlines.length?n=`${n} \u{2014} ${t}`:this.content.inlines.length>1&&(n=`${n} +${t}`),this.inline)?`{${n}}`:n}}class lq{constructor(e,t){this.inlines=e,this.range=t}toString(){let e="";for(let t=0;tr.range.start.line&&(e+="\n")}return e}toMarkdown(e){let t="";for(let r=0;rn.range.start.line&&(t+="\n")}return t}}class lX{constructor(e,t){this.text=e,this.range=t}toString(){return this.text}toMarkdown(){return this.text}}function lQ(e){return e.endsWith("\n")?"\n":"\n\n"}class lJ{constructor(e){this.indexManager=e.shared.workspace.IndexManager,this.commentProvider=e.documentation.CommentProvider}getDocumentation(e){let t=this.commentProvider.getComment(e);if(t&&function(e,t){let r=lW(void 0),n=lD(e);if(0===n.length)return!1;let i=n[0],a=n[n.length-1],s=r.start,o=r.end;return!!(null==s?void 0:s.exec(i))&&!!(null==o?void 0:o.exec(a))}(t))return(function(e,t,r){let n,i;"string"==typeof e?(i=void 0,n=void 0):(i=e.range.start,n=t),!i&&(i=rs.create(0,0));let a=lD(e);return function(e){var t,r,n,i;let a=rs.create(e.position.line,e.position.character);if(0===e.tokens.length)return new lz([],ro.create(a,a));let s=[];for(;e.index=c.length){if(i.length>0){let e=rs.create(a,s);i.push({type:"break",content:"",range:ro.create(e,e)})}}else{lZ.lastIndex=d;let e=lZ.exec(c);if(e){let t=e[0],r=e[1],n=rs.create(a,s+d),o=rs.create(a,s+d+t.length);i.push({type:"tag",content:r,range:ro.create(n,o)}),d+=t.length,d=lB(c,d)}if(d0&&i.push({type:"text",content:t.substring(a,e),range:ro.create(rs.create(r,a+n),rs.create(r,e+n))});let l=o.length+1,u=s[1];if(i.push({type:"inline-tag",content:u,range:ro.create(rs.create(r,a+l+n),rs.create(r,a+l+u.length+n))}),l+=u.length,4===s.length){l+=s[2].length;let e=s[3];i.push({type:"text",content:e,range:ro.create(rs.create(r,a+l+n),rs.create(r,a+l+e.length+n))})}else i.push({type:"text",content:"",range:ro.create(rs.create(r,a+l+n),rs.create(r,a+l+n))});a=e+s[0].length}let s=t.substring(a);s.length>0&&i.push({type:"text",content:s,range:ro.create(rs.create(r,a+n),rs.create(r,a+n+s.length))})}return i}(t,e,a,s+d))}}a++,s=0}return i.length>0&&"break"===i[i.length-1].type?i.slice(0,-1):i}({lines:a,position:i,options:lW(n)}),position:i})})(t).toMarkdown({renderLink:(t,r)=>this.documentationLinkRenderer(e,t,r),renderTag:t=>this.documentationTagRenderer(e,t)})}documentationLinkRenderer(e,t,r){var n;let i=null!==(n=this.findNameInPrecomputedScopes(e,t))&&void 0!==n?n:this.findNameInGlobalScope(e,t);if(!!i&&!!i.nameSegment){let e=i.nameSegment.range.start.line+1,t=i.nameSegment.range.start.character+1,n=i.documentUri.with({fragment:`L${e},${t}`});return`[${r}](${n.toString()})`}}documentationTagRenderer(e,t){}findNameInPrecomputedScopes(e,t){let r=ev(e).precomputedScopes;if(!r)return;let n=e;do{let e=r.get(n).find(e=>e.name===t);if(e)return e;n=n.$container}while(n)}findNameInGlobalScope(e,t){return this.indexManager.allElements().find(e=>e.name===t)}}class l0{constructor(e){this.grammarConfig=()=>e.parser.GrammarConfig}getComment(e){var t;return"string"==typeof e.$comment?e.$comment:null===(t=function(e,t){if(e){let r=function(e,t=!0){for(;e.container;){let r=e.container,n=r.content.indexOf(e);for(;n>0;){n--;let e=r.content[n];if(t||!e.hidden)return e}e=r}}(e,!0);if(r&&E(r,t))return r;if(u(e)){let r=e.content.findIndex(e=>!e.hidden);for(let n=r-1;n>=0;n--){let r=e.content[n];if(E(r,t))return r}}}}(e.$cstNode,this.grammarConfig().multilineCommentRules))||void 0===t?void 0:t.text}}r("27135");class l1{constructor(e){this.syncParser=e.parser.LangiumParser}parse(e){return Promise.resolve(this.syncParser.parse(e))}}class l2{constructor(){this.previousTokenSource=new o2.CancellationTokenSource,this.writeQueue=[],this.readQueue=[],this.done=!0}write(e){this.cancelWrite();let t=new o2.CancellationTokenSource;return this.previousTokenSource=t,this.enqueue(this.writeQueue,e,t.token)}read(e){return this.enqueue(this.readQueue,e)}enqueue(e,t,r){let n=new o9,i={action:t,deferred:n,cancellationToken:null!=r?r:o2.CancellationToken.None};return e.push(i),this.performNextOperation(),n.promise}async performNextOperation(){if(!this.done)return;let e=[];if(this.writeQueue.length>0)e.push(this.writeQueue.shift());else{if(!(this.readQueue.length>0))return;e.push(...this.readQueue.splice(0,this.readQueue.length))}this.done=!1,await Promise.all(e.map(async({action:e,deferred:t,cancellationToken:r})=>{try{let n=await Promise.resolve().then(()=>e(r));t.resolve(n)}catch(e){if(e===o7)t.resolve(void 0);else t.reject(e)}})),this.done=!0,this.performNextOperation()}cancelWrite(){this.previousTokenSource.cancel()}}class l4{constructor(e){this.grammarElementIdMap=new ld,this.tokenTypeIdMap=new ld,this.grammar=e.Grammar,this.lexer=e.parser.Lexer,this.linker=e.references.Linker}dehydrate(e){return{lexerErrors:e.lexerErrors.map(e=>Object.assign({},e)),parserErrors:e.parserErrors.map(e=>Object.assign({},e)),value:this.dehydrateAstNode(e.value,this.createDehyrationContext(e.value))}}createDehyrationContext(e){let t=new Map,r=new Map;for(let r of eA(e))t.set(r,{});if(e.$cstNode)for(let t of g(e.$cstNode))r.set(t,{});return{astNodes:t,cstNodes:r}}dehydrateAstNode(e,t){let r=t.astNodes.get(e);for(let[a,s]of(r.$type=e.$type,r.$containerIndex=e.$containerIndex,r.$containerProperty=e.$containerProperty,void 0!==e.$cstNode&&(r.$cstNode=this.dehydrateCstNode(e.$cstNode,t)),Object.entries(e))){if(!a.startsWith("$"))if(Array.isArray(s)){let e=[];for(let o of(r[a]=e,s))n(o)?e.push(this.dehydrateAstNode(o,t)):i(o)?e.push(this.dehydrateReference(o,t)):e.push(o)}else n(s)?r[a]=this.dehydrateAstNode(s,t):i(s)?r[a]=this.dehydrateReference(s,t):void 0!==s&&(r[a]=s)}return r}dehydrateReference(e,t){let r={};return r.$refText=e.$refText,e.$refNode&&(r.$refNode=t.cstNodes.get(e.$refNode)),r}dehydrateCstNode(e,t){let r=t.cstNodes.get(e);return u(e)?r.fullText=e.fullText:r.grammarSource=this.getGrammarElementId(e.grammarSource),r.hidden=e.hidden,r.astNode=t.astNodes.get(e.astNode),o(e)?r.content=e.content.map(e=>this.dehydrateCstNode(e,t)):l(e)&&(r.tokenType=e.tokenType.name,r.offset=e.offset,r.length=e.length,r.startLine=e.range.start.line,r.startColumn=e.range.start.character,r.endLine=e.range.end.line,r.endColumn=e.range.end.character),r}hydrate(e){let t=e.value,r=this.createHydrationContext(t);return"$cstNode"in t&&this.hydrateCstNode(t.$cstNode,r),{lexerErrors:e.lexerErrors,parserErrors:e.parserErrors,value:this.hydrateAstNode(t,r)}}createHydrationContext(e){let t;let r=new Map,n=new Map;for(let t of eA(e))r.set(t,{});if(e.$cstNode)for(let r of g(e.$cstNode)){let e;"fullText"in r?t=e=new oM(r.fullText):"content"in r?e=new o_:"tokenType"in r&&(e=this.hydrateCstLeafNode(r)),e&&(n.set(r,e),e.root=t)}return{astNodes:r,cstNodes:n}}hydrateAstNode(e,t){let r=t.astNodes.get(e);for(let[a,s]of(r.$type=e.$type,r.$containerIndex=e.$containerIndex,r.$containerProperty=e.$containerProperty,e.$cstNode&&(r.$cstNode=t.cstNodes.get(e.$cstNode)),Object.entries(e))){if(!a.startsWith("$"))if(Array.isArray(s)){let e=[];for(let o of(r[a]=e,s))n(o)?e.push(this.setParent(this.hydrateAstNode(o,t),r)):i(o)?e.push(this.hydrateReference(o,r,a,t)):e.push(o)}else n(s)?r[a]=this.setParent(this.hydrateAstNode(s,t),r):i(s)?r[a]=this.hydrateReference(s,r,a,t):void 0!==s&&(r[a]=s)}return r}setParent(e,t){return e.$container=t,e}hydrateReference(e,t,r,n){return this.linker.buildReference(t,r,n.cstNodes.get(e.$refNode),e.$refText)}hydrateCstNode(e,t,r=0){let n=t.cstNodes.get(e);if("number"==typeof e.grammarSource&&(n.grammarSource=this.getGrammarElement(e.grammarSource)),n.astNode=t.astNodes.get(e.astNode),o(n))for(let i of e.content){let e=this.hydrateCstNode(i,t,r++);n.content.push(e)}return n}hydrateCstLeafNode(e){let t=this.getTokenType(e.tokenType),r=e.offset,n=e.length,i=e.startLine,a=e.startColumn,s=e.endLine,o=e.endColumn;return new oO(r,n,{start:{line:i,character:a},end:{line:s,character:o}},t,e.hidden)}getTokenType(e){return this.lexer.definition[e]}getGrammarElementId(e){return 0===this.grammarElementIdMap.size&&this.createGrammarElementIdMap(),this.grammarElementIdMap.get(e)}getGrammarElement(e){0===this.grammarElementIdMap.size&&this.createGrammarElementIdMap();let t=this.grammarElementIdMap.getKey(e);if(t)return t;throw Error("Invalid grammar element id: "+e)}createGrammarElementIdMap(){let e=0;for(let r of eA(this.grammar)){var t;if(t=r,ey.isInstance(t,N))this.grammarElementIdMap.set(r,e++)}}}function l7(e){return{documentation:{CommentProvider:e=>new l0(e),DocumentationProvider:e=>new lJ(e)},parser:{AsyncParser:e=>new l1(e),GrammarConfig:e=>(function(e){let t=[];for(let n of e.Grammar.rules){var r;if(G(n)&&(r=n).hidden&&!eX(r).test(" ")&&function(e){try{return"string"==typeof e&&(e=new RegExp(e)),e=e.toString(),eG.reset(e),eG.visit(eF.pattern(e)),eG.multiline}catch(e){return!1}}(eX(n)))t.push(n.name)}return{multilineCommentRules:t,nameRegexp:v}})(e),LangiumParser:e=>(function(e){let t=function(e){let t=e.Grammar,r=e.parser.Lexer;return oH(t,new oG(e),r.definition)}(e);return t.finalize(),t})(e),CompletionParser:e=>(function(e){let t=e.Grammar,r=e.parser.Lexer,n=new oj(e);return oH(t,n,r.definition),n.finalize(),n})(e),ValueConverter:()=>new o1,TokenBuilder:()=>new o0,Lexer:e=>new l_(e),ParserErrorMessageProvider:()=>new oK},workspace:{AstNodeLocator:()=>new l$,AstNodeDescriptionProvider:e=>new lN(e),ReferenceDescriptionProvider:e=>new lC(e)},references:{Linker:e=>new lo(e),NameProvider:()=>new ll,ScopeProvider:e=>new lv(e),ScopeComputation:e=>new lh(e),References:e=>new lu(e)},serializer:{Hydrator:e=>new l4(e),JsonSerializer:e=>new lR(e)},validation:{DocumentValidator:e=>new lx(e),ValidationRegistry:e=>new lI(e)},shared:()=>e.shared}}function l3(e){return{ServiceRegistry:()=>new lA,workspace:{LangiumDocuments:e=>new ls(e),LangiumDocumentFactory:e=>new la(e),DocumentBuilder:e=>new lw(e),IndexManager:e=>new lb(e),WorkspaceManager:e=>new lO(e),FileSystemProvider:t=>e.fileSystemProvider(t),WorkspaceLock:()=>new l2,ConfigurationProvider:e=>new lL(e)}}}function l5(e,t,r,n,i,a,s,o,l){return l6([e,t,r,n,i,a,s,o,l].reduce(ut,{}))}(nS||(nS={})).merge=(e,t)=>ut(ut({},e),t);let l9=Symbol("isProxy");function l6(e,t){let r=new Proxy({},{deleteProperty:()=>!1,get:(n,i)=>ue(n,i,e,t||r),getOwnPropertyDescriptor:(n,i)=>(ue(n,i,e,t||r),Object.getOwnPropertyDescriptor(n,i)),has:(t,r)=>r in e,ownKeys:()=>[...Reflect.ownKeys(e),l9]});return r[l9]=!0,r}let l8=Symbol();function ue(e,t,r,n){if(t in e){if(e[t]instanceof Error)throw Error("Construction failure. Please make sure that your dependencies are constructable.",{cause:e[t]});if(e[t]===l8)throw Error('Cycle detected. Please make "'+String(t)+'" lazy. See https://langium.org/docs/configuration-services/#resolving-cyclic-dependencies');return e[t]}if(t in r){let i=r[t];e[t]=l8;try{e[t]="function"==typeof i?i(n):l6(i,n)}catch(r){throw e[t]=r instanceof Error?r:void 0,r}return e[t]}}function ut(e,t){if(t){for(let[r,n]of Object.entries(t))if(void 0!==n){let t=e[r];null!==t&&null!==n&&"object"==typeof t&&"object"==typeof n?e[r]=ut(t,n):e[r]=n}}return e}class ur{readFile(){throw Error("No file system is available.")}async readDirectory(){return[]}}let un={fileSystemProvider:()=>new ur},ui={Grammar:()=>void 0,LanguageMetaData:()=>({caseInsensitive:!1,fileExtensions:[".langium"],languageId:"langium"})},ua={AstReflection:()=>new eg};function us(e){var t;let r=function(){let e=l5(l3(un),ua),t=l5(l7({shared:e}),ui);return e.ServiceRegistry.register(t),t}(),n=r.serializer.JsonSerializer.deserialize(e);return r.shared.workspace.LangiumDocumentFactory.fromModel(n,ln.parse(`memory://${null!==(t=n.name)&&void 0!==t?t:"grammar"}.langium`)),n}},91201:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(2147);let i=function(e,t,r){for(var i=-1,a=e.length;++ic});var n=r("73722"),i=r("89774"),a=r("50949"),s=r("92383"),o=r("58641"),l=r("37706");let u=function(e,t,r,n){if(!(0,o.Z)(e))return e;t=(0,a.Z)(t,e);for(var u=-1,c=t.length,d=c-1,h=e;null!=h&&++u2?t[2]:void 0;for(u&&(0,a.Z)(t[0],t[1],u)&&(n=1);++rc});var n,i=r("69547"),a=r("71581"),s=r("87074"),o=r("81208"),l=r("59578"),u=Math.max;let c=(n=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var a=null==r?0:(0,l.Z)(r);return a<0&&(a=u(n+a,0)),(0,o.Z)(e,(0,i.Z)(t,3),a)},function(e,t,r){var o=Object(e);if(!(0,a.Z)(e)){var l=(0,i.Z)(t,3);e=(0,s.Z)(e),t=function(e){return l(o[e],e,o)}}var u=n(e,t,r);return u>-1?o[l?e[u]:u]:void 0})},71134:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(39446);let i=function(e){return(null==e?0:e.length)?(0,n.Z)(e,1):[]}},29072:function(e,t,r){r.d(t,{Z:()=>s});var n=Object.prototype.hasOwnProperty;let i=function(e,t){return null!=e&&n.call(e,t)};var a=r("87825");let s=function(e,t){return null!=e&&(0,a.Z)(e,t,i)}},27884:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(65182),i=r(31739),a=r(75887);let s=function(e){return"string"==typeof e||!(0,i.Z)(e)&&(0,a.Z)(e)&&"[object String]"==(0,n.Z)(e)}},59685:function(e,t,r){r.d(t,{Z:function(){return n}});let n=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},97345:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(96248),i=r(69547),a=r(10301),s=r(31739);let o=function(e,t){return((0,s.Z)(e)?n.Z:a.Z)(e,(0,i.Z)(t,3))}},50540:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(91201),i=r(23278),a=r(94675);let s=function(e){return e&&e.length?(0,n.Z)(e,a.Z,i.Z):void 0}},29116:function(e,t,r){r.d(t,{Z:()=>m});var n=/\s/;let i=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t};var a=/^\s+/,s=r("58641"),o=r("2147"),l=0/0,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt;let f=function(e){if("number"==typeof e)return e;if((0,o.Z)(e))return l;if((0,s.Z)(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=(0,s.Z)(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,i(t)+1).replace(a,""):t;var n=c.test(e);return n||d.test(e)?h(e.slice(2),n?2:8):u.test(e)?l:+e};var p=1/0;let m=function(e){return e?(e=f(e))===p||e===-p?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},59578:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(29116);let i=function(e){var t=(0,n.Z)(e),r=t%1;return t==t?r?t-r:t:0}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/393be207.12c496be.js b/pr-preview/pr-5/assets/js/393be207.12c496be.js new file mode 100644 index 0000000..ff4ade6 --- /dev/null +++ b/pr-preview/pr-5/assets/js/393be207.12c496be.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9969"],{89958:function(e,n,t){t.r(n),t.d(n,{metadata:()=>a,contentTitle:()=>i,default:()=>d,assets:()=>l,toc:()=>s,frontMatter:()=>p});var a=JSON.parse('{"type":"mdx","permalink":"/nr-pies/pr-preview/pr-5/markdown-page","source":"@site/src/pages/markdown-page.md","title":"Markdown page example","description":"Markdown page example","frontMatter":{"title":"Markdown page example"},"unlisted":false}'),r=t("85893"),o=t("50065");let p={title:"Markdown page example"},i=void 0,l={},s=[{value:"Markdown page example",id:"markdown-page-example",level:2}];function c(e){let n={h2:"h2",p:"p",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"markdown-page-example",children:"Markdown page example"}),"\n",(0,r.jsx)(n.p,{children:"You don't need React to write simple standalone pages."})]})}function d(e={}){let{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},50065:function(e,n,t){t.d(n,{Z:function(){return i},a:function(){return p}});var a=t(67294);let r={},o=a.createContext(r);function p(e){let n=a.useContext(o);return a.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:p(e.components),a.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/4013.8822434d.js b/pr-preview/pr-5/assets/js/4013.8822434d.js new file mode 100644 index 0000000..937b860 --- /dev/null +++ b/pr-preview/pr-5/assets/js/4013.8822434d.js @@ -0,0 +1,151 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4013"],{73265:function(e,t,s){s.d(t,{Z:function(){return u}});var r=s(53763),i=s(26652);let u=(e,t)=>r.Z.lang.round(i.Z.parse(e)[t])},10626:function(e,t,s){s.d(t,{j:function(){return n},q:function(){return u}});var r=s(5995),i=s(27818),u=(0,r.eW)((e,t)=>{let s;return"sandbox"===t&&(s=(0,i.Ys)("#i"+e)),("sandbox"===t?(0,i.Ys)(s.nodes()[0].contentDocument.body):(0,i.Ys)("body")).select(`[id="${e}"]`)},"getDiagramElement"),n=(0,r.eW)((e,t,s,i)=>{e.attr("class",s);let{width:u,height:n,x:l,y:c}=a(e,t);(0,r.v2)(e,n,u,i);let h=o(l,c,u,n,t);e.attr("viewBox",h),r.cM.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),a=(0,r.eW)((e,t)=>{let s=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*t,height:s.height+2*t,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),o=(0,r.eW)((e,t,s,r,i)=>`${e-i} ${t-i} ${s} ${r}`,"createViewBox")},4465:function(e,t,s){s.d(t,{diagram:function(){return eD}});var r,i,u=s(10626),n=s(16972),a=s(88984);s(33071);var o=s(28162);s(16302),s(80587),s(4511),s(92719);var l=s(7690),c=s(5995),h=s(27818),d=s(73265),p=s(13328),A=0,g=(0,c.nV)(),f=new Map,y=[],b=new Map,k=[],E=new Map,m=new Map,D=0,x=!0,C=[],T=(0,c.eW)(e=>c.SY.sanitizeText(e,g),"sanitizeText"),F=(0,c.eW)(function(e){for(let t of f.values())if(t.id===e)return t.domId;return e},"lookUpDomId"),S=(0,c.eW)(function(e,t,s,r,i,u,a={},l){let h;if(!e||0===e.trim().length)return;let d=f.get(e);if(void 0===d&&(d={id:e,labelType:"text",domId:"flowchart-"+e+"-"+A,styles:[],classes:[]},f.set(e,d)),A++,void 0!==t?(g=(0,c.nV)(),h=T(t.text.trim()),d.labelType=t.type,h.startsWith('"')&&h.endsWith('"')&&(h=h.substring(1,h.length-1)),d.text=h):void 0===d.text&&(d.text=e),void 0!==s&&(d.type=s),null!=r&&r.forEach(function(e){d.styles.push(e)}),null!=i&&i.forEach(function(e){d.classes.push(e)}),void 0!==u&&(d.dir=u),void 0===d.props?d.props=a:void 0!==a&&Object.assign(d.props,a),void 0!==l){let t;t=l.includes("\n")?l+"\n":"{\n"+l+"\n}";let s=(0,n.z)(t,{schema:n.A});if(s.shape){if(s.shape!==s.shape.toLowerCase()||s.shape.includes("_"))throw Error(`No such shape: ${s.shape}. Shape names should be lowercase.`);if(!(0,o.dW)(s.shape))throw Error(`No such shape: ${s.shape}.`);d.type=s?.shape}s?.label&&(d.text=s?.label),s?.icon&&(d.icon=s?.icon,!s.label?.trim()&&d.text===e&&(d.text="")),s?.form&&(d.form=s?.form),s?.pos&&(d.pos=s?.pos),s?.img&&(d.img=s?.img,!s.label?.trim()&&d.text===e&&(d.text="")),s?.constraint&&(d.constraint=s.constraint),s.w&&(d.assetWidth=Number(s.w)),s.h&&(d.assetHeight=Number(s.h))}},"addVertex"),_=(0,c.eW)(function(e,t,s){let r={start:e,end:t,type:void 0,text:"",labelType:"text"};c.cM.info("abc78 Got edge...",r);let i=s.text;if(void 0!==i&&(r.text=T(i.text.trim()),r.text.startsWith('"')&&r.text.endsWith('"')&&(r.text=r.text.substring(1,r.text.length-1)),r.labelType=i.type),void 0!==s&&(r.type=s.type,r.stroke=s.stroke,r.length=s.length>10?10:s.length),y.length<(g.maxEdges??500))c.cM.info("Pushing edge..."),y.push(r);else throw Error(`Edge limit exceeded. ${y.length} edges found, but the limit is ${g.maxEdges}. + +Initialize mermaid with maxEdges set to a higher number to allow more edges. +You cannot set this config via configuration inside the diagram as it is a secure config. +You have to call mermaid.initialize.`)},"addSingleLink"),B=(0,c.eW)(function(e,t,s){for(let r of(c.cM.info("addLink",e,t,s),e))for(let e of t)_(r,e,s)},"addLink"),v=(0,c.eW)(function(e,t){e.forEach(function(e){"default"===e?y.defaultInterpolate=t:y[e].interpolate=t})},"updateLinkInterpolate"),w=(0,c.eW)(function(e,t){e.forEach(function(e){if("number"==typeof e&&e>=y.length)throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${y.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);"default"===e?y.defaultStyle=t:(y[e].style=t,(y[e]?.style?.length??0)>0&&!y[e]?.style?.some(e=>e?.startsWith("fill"))&&y[e]?.style?.push("fill:none"))})},"updateLink"),$=(0,c.eW)(function(e,t){e.split(",").forEach(function(e){let s=b.get(e);void 0===s&&(s={id:e,styles:[],textStyles:[]},b.set(e,s)),null!=t&&t.forEach(function(e){if(/color/.exec(e)){let t=e.replace("fill","bgFill");s.textStyles.push(t)}s.styles.push(e)})})},"addClass"),L=(0,c.eW)(function(e){r=e,/.*/.exec(r)&&(r="LR"),/.*v/.exec(r)&&(r="TB"),"TD"===r&&(r="TB")},"setDirection"),W=(0,c.eW)(function(e,t){for(let s of e.split(",")){let e=f.get(s);e&&e.classes.push(t);let r=E.get(s);r&&r.classes.push(t)}},"setClass"),I=(0,c.eW)(function(e,t){if(void 0!==t)for(let s of(t=T(t),e.split(",")))m.set("gen-1"===i?F(s):s,t)},"setTooltip"),R=(0,c.eW)(function(e,t,s){let r=F(e);if("loose"!==(0,c.nV)().securityLevel||void 0===t)return;let i=[];if("string"==typeof s){i=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e")),e.classed("hover",!0)}).on("mouseout",function(){t.transition().duration(500).style("opacity",0),(0,h.Ys)(this).classed("hover",!1)})},"setupToolTips");C.push(K);var j=(0,c.eW)(function(e="gen-1"){f=new Map,b=new Map,y=[],C=[K],k=[],E=new Map,D=0,m=new Map,x=!0,i=e,g=(0,c.nV)(),(0,c.ZH)()},"clear"),z=(0,c.eW)(e=>{i=e||"gen-2"},"setGen"),H=(0,c.eW)(function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},"defaultStyle"),q=(0,c.eW)(function(e,t,s){let r=e.text.trim(),u=s.text;function n(e){let t;let s={boolean:{},number:{},string:{}},r=[];return{nodeList:e.filter(function(e){let i=typeof e;return e.stmt&&"dir"===e.stmt?(t=e.value,!1):""!==e.trim()&&(i in s?!s[i].hasOwnProperty(e)&&(s[i][e]=!0):!r.includes(e)&&r.push(e))}),dir:t}}e===s&&/\s/.exec(s.text)&&(r=void 0),(0,c.eW)(n,"uniq");let{nodeList:a,dir:o}=n(t.flat());if("gen-1"===i)for(let e=0;e2e3)return{result:!1,count:0};if(Q[Z]=t,k[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r=0){let s=J(e,t);if(s.result)return{result:!0,count:i+s.count};i+=s.count}r+=1}return{result:!1,count:i}},"indexNodes2"),ee=(0,c.eW)(function(e){return Q[e]},"getDepthFirstPos"),et=(0,c.eW)(function(){Z=-1,k.length>0&&J("none",k.length-1)},"indexNodes"),es=(0,c.eW)(function(){return k},"getSubGraphs"),er=(0,c.eW)(()=>!!x&&(x=!1,!0),"firstGraph"),ei=(0,c.eW)(e=>{let t=e.trim(),s="arrow_open";switch(t[0]){case"<":s="arrow_point",t=t.slice(1);break;case"x":s="arrow_cross",t=t.slice(1);break;case"o":s="arrow_circle",t=t.slice(1)}let r="normal";return t.includes("=")&&(r="thick"),t.includes(".")&&(r="dotted"),{type:s,stroke:r}},"destructStartLink"),eu=(0,c.eW)((e,t)=>{let s=t.length,r=0;for(let i=0;i{let t=e.trim(),s=t.slice(0,-1),r="arrow_open";switch(t.slice(-1)){case"x":r="arrow_cross",t.startsWith("x")&&(r="double_"+r,s=s.slice(1));break;case">":r="arrow_point",t.startsWith("<")&&(r="double_"+r,s=s.slice(1));break;case"o":r="arrow_circle",t.startsWith("o")&&(r="double_"+r,s=s.slice(1))}let i="normal",u=s.length-1;s.startsWith("=")&&(i="thick"),s.startsWith("~")&&(i="invisible");let n=eu(".",s);return n&&(i="dotted",u=n),{type:r,stroke:i,length:u}},"destructEndLink"),ea=(0,c.eW)((e,t)=>{let s;let r=en(e);if(t){if((s=ei(t)).stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===s.type)s.type=r.type;else{if(s.type!==r.type)return{type:"INVALID",stroke:"INVALID"};s.type="double_"+s.type}return"double_arrow"===s.type&&(s.type="double_arrow_point"),s.length=r.length,s}return r},"destructLink"),eo=(0,c.eW)((e,t)=>{for(let s of e)if(s.nodes.includes(t))return!0;return!1},"exists"),el=(0,c.eW)((e,t)=>{let s=[];return e.nodes.forEach((r,i)=>{!eo(t,r)&&s.push(e.nodes[i])}),{nodes:s}},"makeUniq"),ec=(0,c.eW)(e=>{if(e.img)return"imageSquare";if(e.icon)return"circle"===e.form?"iconCircle":"square"===e.form?"iconSquare":"rounded"===e.form?"iconRounded":"icon";switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}},"getTypeFromVertex"),eh=(0,c.eW)((e,t)=>e.find(e=>e.id===t),"findNode"),ed=(0,c.eW)(e=>{let t="none",s="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":s=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":s=t=e.replace("double_","")}return{arrowTypeStart:t,arrowTypeEnd:s}},"destructEdgeType"),ep=(0,c.eW)((e,t,s,r,i,u)=>{let n=s.get(e.id),a=r.get(e.id)??!1,o=eh(t,e.id);if(o)o.cssStyles=e.styles,o.cssCompiledStyles=eA(e.classes),o.cssClasses=e.classes.join(" ");else{let s={id:e.id,label:e.text,labelStyle:"",parentId:n,padding:i.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:eA(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:u,link:e.link,linkTarget:e.linkTarget,tooltip:P(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};a?t.push({...s,isGroup:!0,shape:"rect"}):t.push({...s,isGroup:!1,shape:ec(e)})}},"addNodeFromVertex");function eA(e){let t=[];for(let s of e){let e=b.get(s);e?.styles&&(t=[...t,...e.styles??[]].map(e=>e.trim())),e?.textStyles&&(t=[...t,...e.textStyles??[]].map(e=>e.trim()))}return t}(0,c.eW)(eA,"getCompiledStyles");var eg=(0,c.eW)(()=>{let e=(0,c.nV)(),t=[],s=[],r=es(),i=new Map,u=new Map;for(let e=r.length-1;e>=0;e--){let t=r[e];for(let e of(t.nodes.length>0&&u.set(t.id,!0),t.nodes))i.set(e,t.id)}for(let s=r.length-1;s>=0;s--){let u=r[s];t.push({id:u.id,label:u.title,labelStyle:"",parentId:i.get(u.id),padding:8,cssCompiledStyles:eA(u.classes),cssClasses:u.classes.join(" "),shape:"rect",dir:u.dir,isGroup:!0,look:e.look})}U().forEach(s=>{ep(s,t,i,u,e,e.look||"classic")});let n=G();return n.forEach((t,r)=>{let{arrowTypeStart:i,arrowTypeEnd:u}=ed(t.type),a=[...n.defaultStyle??[]];t.style&&a.push(...t.style);let o={id:(0,l.Ln)(t.start,t.end,{counter:r,prefix:"L"}),start:t.start,end:t.end,type:t.type??"normal",label:t.text,labelpos:"c",thickness:t.stroke,minlen:t.length,classes:t?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:t?.stroke==="invisible"?"none":i,arrowTypeEnd:t?.stroke==="invisible"?"none":u,arrowheadStyle:"fill: #333",labelStyle:a,style:a,pattern:t.stroke,look:e.look};s.push(o)}),{nodes:t,edges:s,other:{},config:e}},"getData"),ef={defaultConfig:(0,c.eW)(()=>c.Fy.flowchart,"defaultConfig"),setAccTitle:c.GN,getAccTitle:c.eu,getAccDescription:c.Mx,getData:eg,setAccDescription:c.U$,addVertex:S,lookUpDomId:F,addLink:B,updateLinkInterpolate:v,updateLink:w,addClass:$,setDirection:L,setClass:W,setTooltip:I,getTooltip:P,setClickEvent:M,setLink:N,bindFunctions:O,getDirection:V,getVertices:U,getEdges:G,getClasses:Y,clear:j,setGen:z,defaultStyle:H,addSubGraph:q,getDepthFirstPos:ee,indexNodes:et,getSubGraphs:es,destructLink:ea,lex:{firstGraph:er},exists:eo,makeUniq:el,setDiagramTitle:c.g2,getDiagramTitle:c.Kr},ey=(0,c.eW)(function(e,t){return t.db.getClasses()},"getClasses"),eb=(0,c.eW)(async function(e,t,s,r){let i;c.cM.info("REF0:"),c.cM.info("Drawing state diagram (v2)",t);let{securityLevel:n,flowchart:o,layout:d}=(0,c.nV)();"sandbox"===n&&(i=(0,h.Ys)("#i"+t));let p="sandbox"===n?i.nodes()[0].contentDocument:document;c.cM.debug("Before getData: ");let A=r.db.getData();c.cM.debug("Data: ",A);let g=(0,u.q)(t,n),f=V();A.type=r.type,A.layoutAlgorithm=(0,a._b)(d),"dagre"===A.layoutAlgorithm&&"elk"===d&&c.cM.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),A.direction=f,A.nodeSpacing=o?.nodeSpacing||50,A.rankSpacing=o?.rankSpacing||50,A.markers=["point","circle","cross"],A.diagramId=t,c.cM.debug("REF1:",A),await (0,a.sY)(A,g);let y=A.config.flowchart?.diagramPadding??8;for(let e of(l.w8.insertTitle(g,"flowchartTitleText",o?.titleTopMargin||0,r.db.getDiagramTitle()),(0,u.j)(g,y,"flowchart",o?.useMaxWidth||!1),A.nodes)){let s=(0,h.Ys)(`#${t} [id="${e.id}"]`);if(!s||!e.link)continue;let r=p.createElementNS("http://www.w3.org/2000/svg","a");r.setAttributeNS("http://www.w3.org/2000/svg","class",e.cssClasses),r.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===n?r.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):e.linkTarget&&r.setAttributeNS("http://www.w3.org/2000/svg","target",e.linkTarget);let i=s.insert(function(){return r},":first-child"),u=s.select(".label-container");u&&i.append(function(){return u.node()});let a=s.select(".label");a&&i.append(function(){return a.node()})}},"draw"),ek=function(){var e=(0,c.eW)(function(e,t,s,r){for(s=s||{},r=e.length;r--;s[e[r]]=t);return s},"o"),t=[1,4],s=[1,3],r=[1,5],i=[1,8,9,10,11,27,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],u=[2,2],n=[1,13],a=[1,14],o=[1,15],l=[1,16],h=[1,23],d=[1,25],p=[1,26],A=[1,27],g=[1,49],f=[1,48],y=[1,29],b=[1,30],k=[1,31],E=[1,32],m=[1,33],D=[1,44],x=[1,46],C=[1,42],T=[1,47],F=[1,43],S=[1,50],_=[1,45],B=[1,51],v=[1,52],w=[1,34],$=[1,35],L=[1,36],W=[1,37],I=[1,57],R=[1,8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],N=[1,61],P=[1,60],M=[1,62],O=[8,9,11,75,77],V=[1,77],U=[1,90],G=[1,95],Y=[1,94],K=[1,91],j=[1,87],z=[1,93],H=[1,89],q=[1,96],X=[1,92],Z=[1,97],Q=[1,88],J=[8,9,10,11,40,75,77],ee=[8,9,10,11,40,46,75,77],et=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,88,101,104,105,108,110,113,114,115],es=[8,9,11,44,60,75,77,88,101,104,105,108,110,113,114,115],er=[44,60,88,101,104,105,108,110,113,114,115],ei=[1,123],eu=[1,122],en=[1,130],ea=[1,144],eo=[1,145],el=[1,146],ec=[1,147],eh=[1,132],ed=[1,134],ep=[1,138],eA=[1,139],eg=[1,140],ef=[1,141],ey=[1,142],eb=[1,143],ek=[1,148],eE=[1,149],em=[1,128],eD=[1,129],ex=[1,136],eC=[1,131],eT=[1,135],eF=[1,133],eS=[8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],e_=[1,151],eB=[1,153],ev=[8,9,11],ew=[8,9,10,11,14,44,60,88,104,105,108,110,113,114,115],e$=[1,173],eL=[1,169],eW=[1,170],eI=[1,174],eR=[1,171],eN=[1,172],eP=[77,115,118],eM=[8,9,10,11,12,14,27,29,32,44,60,75,83,84,85,86,87,88,89,104,108,110,113,114,115],eO=[10,105],eV=[31,49,51,53,55,57,62,64,66,67,69,71,115,116,117],eU=[1,242],eG=[1,240],eY=[1,244],eK=[1,238],ej=[1,239],ez=[1,241],eH=[1,243],eq=[1,245],eX=[1,263],eZ=[8,9,11,105],eQ=[8,9,10,11,60,83,104,105,108,109,110,111],eJ={trace:(0,c.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,edgeTextToken:78,STR:79,MD_STR:80,textToken:81,keywords:82,STYLE:83,LINKSTYLE:84,CLASSDEF:85,CLASS:86,CLICK:87,DOWN:88,UP:89,textNoTagsToken:90,stylesOpt:91,"idString[vertex]":92,"idString[class]":93,CALLBACKNAME:94,CALLBACKARGS:95,HREF:96,LINK_TARGET:97,"STR[link]":98,"STR[tooltip]":99,alphaNum:100,DEFAULT:101,numList:102,INTERPOLATE:103,NUM:104,COMMA:105,style:106,styleComponent:107,NODE_STRING:108,UNIT:109,BRKT:110,PCT:111,idStringToken:112,MINUS:113,MULT:114,UNICODE_TEXT:115,TEXT:116,TAGSTART:117,EDGE_TEXT:118,alphaNumToken:119,direction_tb:120,direction_bt:121,direction_rl:122,direction_lr:123,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",79:"STR",80:"MD_STR",83:"STYLE",84:"LINKSTYLE",85:"CLASSDEF",86:"CLASS",87:"CLICK",88:"DOWN",89:"UP",92:"idString[vertex]",93:"idString[class]",94:"CALLBACKNAME",95:"CALLBACKARGS",96:"HREF",97:"LINK_TARGET",98:"STR[link]",99:"STR[tooltip]",101:"DEFAULT",103:"INTERPOLATE",104:"NUM",105:"COMMA",108:"NODE_STRING",109:"UNIT",110:"BRKT",111:"PCT",113:"MINUS",114:"MULT",115:"UNICODE_TEXT",116:"TEXT",117:"TAGSTART",118:"EDGE_TEXT",120:"direction_tb",121:"direction_bt",122:"direction_rl",123:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[76,1],[76,2],[76,1],[76,1],[72,1],[73,3],[30,1],[30,2],[30,1],[30,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[102,1],[102,3],[91,1],[91,3],[106,1],[106,2],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[81,1],[81,1],[81,1],[81,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[78,1],[78,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[47,1],[47,2],[100,1],[100,2],[33,1],[33,1],[33,1],[33,1]],performAction:(0,c.eW)(function(e,t,s,r,i,u,n){var a=u.length-1;switch(i){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(u[a])||u[a].length>0)&&u[a-1].push(u[a]),this.$=u[a-1];break;case 4:case 181:case 44:case 54:case 76:case 179:this.$=u[a];break;case 11:r.setDirection("TB"),this.$="TB";break;case 12:r.setDirection(u[a-1]),this.$=u[a-1];break;case 27:this.$=u[a-1].nodes;break;case 33:this.$=r.addSubGraph(u[a-6],u[a-1],u[a-4]);break;case 34:this.$=r.addSubGraph(u[a-3],u[a-1],u[a-3]);break;case 35:this.$=r.addSubGraph(void 0,u[a-1],void 0);break;case 37:this.$=u[a].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=u[a].trim(),r.setAccDescription(this.$);break;case 43:case 131:this.$=u[a-1]+u[a];break;case 45:r.addVertex(u[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a]),r.addLink(u[a-3].stmt,u[a-1],u[a-2]),this.$={stmt:u[a-1],nodes:u[a-1].concat(u[a-3].nodes)};break;case 46:r.addLink(u[a-2].stmt,u[a],u[a-1]),this.$={stmt:u[a],nodes:u[a].concat(u[a-2].nodes)};break;case 47:r.addLink(u[a-3].stmt,u[a-1],u[a-2]),this.$={stmt:u[a-1],nodes:u[a-1].concat(u[a-3].nodes)};break;case 48:this.$={stmt:u[a-1],nodes:u[a-1]};break;case 49:r.addVertex(u[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a]),this.$={stmt:u[a-1],nodes:u[a-1],shapeData:u[a]};break;case 50:this.$={stmt:u[a],nodes:u[a]};break;case 51:case 126:case 128:this.$=[u[a]];break;case 52:r.addVertex(u[a-5][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a-4]),this.$=u[a-5].concat(u[a]);break;case 53:this.$=u[a-4].concat(u[a]);break;case 55:this.$=u[a-2],r.setClass(u[a-2],u[a]);break;case 56:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"square");break;case 57:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"doublecircle");break;case 58:this.$=u[a-5],r.addVertex(u[a-5],u[a-2],"circle");break;case 59:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"ellipse");break;case 60:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"stadium");break;case 61:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"subroutine");break;case 62:this.$=u[a-7],r.addVertex(u[a-7],u[a-1],"rect",void 0,void 0,void 0,Object.fromEntries([[u[a-5],u[a-3]]]));break;case 63:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"cylinder");break;case 64:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"round");break;case 65:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"diamond");break;case 66:this.$=u[a-5],r.addVertex(u[a-5],u[a-2],"hexagon");break;case 67:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"odd");break;case 68:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"trapezoid");break;case 69:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"inv_trapezoid");break;case 70:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"lean_right");break;case 71:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"lean_left");break;case 72:this.$=u[a],r.addVertex(u[a]);break;case 73:u[a-1].text=u[a],this.$=u[a-1];break;case 74:case 75:u[a-2].text=u[a-1],this.$=u[a-2];break;case 77:var o=r.destructLink(u[a],u[a-2]);this.$={type:o.type,stroke:o.stroke,length:o.length,text:u[a-1]};break;case 78:case 84:case 99:case 101:this.$={text:u[a],type:"text"};break;case 79:case 85:case 100:this.$={text:u[a-1].text+""+u[a],type:u[a-1].type};break;case 80:case 86:this.$={text:u[a],type:"string"};break;case 81:case 87:case 102:this.$={text:u[a],type:"markdown"};break;case 82:var o=r.destructLink(u[a]);this.$={type:o.type,stroke:o.stroke,length:o.length};break;case 83:this.$=u[a-1];break;case 103:this.$=u[a-4],r.addClass(u[a-2],u[a]);break;case 104:this.$=u[a-4],r.setClass(u[a-2],u[a]);break;case 105:case 113:this.$=u[a-1],r.setClickEvent(u[a-1],u[a]);break;case 106:case 114:this.$=u[a-3],r.setClickEvent(u[a-3],u[a-2]),r.setTooltip(u[a-3],u[a]);break;case 107:this.$=u[a-2],r.setClickEvent(u[a-2],u[a-1],u[a]);break;case 108:this.$=u[a-4],r.setClickEvent(u[a-4],u[a-3],u[a-2]),r.setTooltip(u[a-4],u[a]);break;case 109:this.$=u[a-2],r.setLink(u[a-2],u[a]);break;case 110:this.$=u[a-4],r.setLink(u[a-4],u[a-2]),r.setTooltip(u[a-4],u[a]);break;case 111:this.$=u[a-4],r.setLink(u[a-4],u[a-2],u[a]);break;case 112:this.$=u[a-6],r.setLink(u[a-6],u[a-4],u[a]),r.setTooltip(u[a-6],u[a-2]);break;case 115:this.$=u[a-1],r.setLink(u[a-1],u[a]);break;case 116:this.$=u[a-3],r.setLink(u[a-3],u[a-2]),r.setTooltip(u[a-3],u[a]);break;case 117:this.$=u[a-3],r.setLink(u[a-3],u[a-2],u[a]);break;case 118:this.$=u[a-5],r.setLink(u[a-5],u[a-4],u[a]),r.setTooltip(u[a-5],u[a-2]);break;case 119:this.$=u[a-4],r.addVertex(u[a-2],void 0,void 0,u[a]);break;case 120:this.$=u[a-4],r.updateLink([u[a-2]],u[a]);break;case 121:this.$=u[a-4],r.updateLink(u[a-2],u[a]);break;case 122:this.$=u[a-8],r.updateLinkInterpolate([u[a-6]],u[a-2]),r.updateLink([u[a-6]],u[a]);break;case 123:this.$=u[a-8],r.updateLinkInterpolate(u[a-6],u[a-2]),r.updateLink(u[a-6],u[a]);break;case 124:this.$=u[a-6],r.updateLinkInterpolate([u[a-4]],u[a]);break;case 125:this.$=u[a-6],r.updateLinkInterpolate(u[a-4],u[a]);break;case 127:case 129:u[a-2].push(u[a]),this.$=u[a-2];break;case 180:case 182:this.$=u[a-1]+""+u[a];break;case 183:this.$={stmt:"dir",value:"TB"};break;case 184:this.$={stmt:"dir",value:"BT"};break;case 185:this.$={stmt:"dir",value:"RL"};break;case 186:this.$={stmt:"dir",value:"LR"}}},"anonymous"),table:[{3:1,4:2,9:t,10:s,12:r},{1:[3]},e(i,u,{5:6}),{4:7,9:t,10:s,12:r},{4:8,9:t,10:s,12:r},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{8:[1,54],9:[1,55],10:I,15:53,18:56},e(R,[2,3]),e(R,[2,4]),e(R,[2,5]),e(R,[2,6]),e(R,[2,7]),e(R,[2,8]),{8:N,9:P,11:M,21:58,41:59,72:63,75:[1,64],77:[1,65]},{8:N,9:P,11:M,21:66},{8:N,9:P,11:M,21:67},{8:N,9:P,11:M,21:68},{8:N,9:P,11:M,21:69},{8:N,9:P,11:M,21:70},{8:N,9:P,10:[1,71],11:M,21:72},e(R,[2,36]),{35:[1,73]},{37:[1,74]},e(R,[2,39]),e(O,[2,50],{18:75,39:76,10:I,40:V}),{10:[1,78]},{10:[1,79]},{10:[1,80]},{10:[1,81]},{14:U,44:G,60:Y,79:[1,85],88:K,94:[1,82],96:[1,83],100:84,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},e(R,[2,183]),e(R,[2,184]),e(R,[2,185]),e(R,[2,186]),e(J,[2,51]),e(J,[2,54],{46:[1,98]}),e(ee,[2,72],{112:111,29:[1,99],44:g,48:[1,100],50:[1,101],52:[1,102],54:[1,103],56:[1,104],58:[1,105],60:f,63:[1,106],65:[1,107],67:[1,108],68:[1,109],70:[1,110],88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),e(et,[2,179]),e(et,[2,140]),e(et,[2,141]),e(et,[2,142]),e(et,[2,143]),e(et,[2,144]),e(et,[2,145]),e(et,[2,146]),e(et,[2,147]),e(et,[2,148]),e(et,[2,149]),e(et,[2,150]),e(i,[2,12]),e(i,[2,18]),e(i,[2,19]),{9:[1,112]},e(es,[2,26],{18:113,10:I}),e(R,[2,27]),{42:114,43:38,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(R,[2,40]),e(R,[2,41]),e(R,[2,42]),e(er,[2,76],{73:115,62:[1,117],74:[1,116]}),{76:118,78:119,79:[1,120],80:[1,121],115:ei,118:eu},e([44,60,62,74,88,101,104,105,108,110,113,114,115],[2,82]),e(R,[2,28]),e(R,[2,29]),e(R,[2,30]),e(R,[2,31]),e(R,[2,32]),{10:en,12:ea,14:eo,27:el,28:124,32:ec,44:eh,60:ed,75:ep,79:[1,126],80:[1,127],82:137,83:eA,84:eg,85:ef,86:ey,87:eb,88:ek,89:eE,90:125,104:em,108:eD,110:ex,113:eC,114:eT,115:eF},e(eS,u,{5:150}),e(R,[2,37]),e(R,[2,38]),e(O,[2,48],{44:e_}),e(O,[2,49],{18:152,10:I,40:eB}),e(J,[2,44]),{44:g,47:154,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{101:[1,155],102:156,104:[1,157]},{44:g,47:158,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{44:g,47:159,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,105],{10:[1,160],95:[1,161]}),{79:[1,162]},e(ev,[2,113],{119:164,10:[1,163],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,115],{10:[1,165]}),e(ew,[2,181]),e(ew,[2,168]),e(ew,[2,169]),e(ew,[2,170]),e(ew,[2,171]),e(ew,[2,172]),e(ew,[2,173]),e(ew,[2,174]),e(ew,[2,175]),e(ew,[2,176]),e(ew,[2,177]),e(ew,[2,178]),{44:g,47:166,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{30:167,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:175,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:177,50:[1,176],67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:178,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:179,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:180,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{108:[1,181]},{30:182,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:183,65:[1,184],67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:185,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:186,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{30:187,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},e(et,[2,180]),e(i,[2,20]),e(es,[2,25]),e(O,[2,46],{39:188,18:189,10:I,40:V}),e(er,[2,73],{10:[1,190]}),{10:[1,191]},{30:192,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{77:[1,193],78:194,115:ei,118:eu},e(eP,[2,78]),e(eP,[2,80]),e(eP,[2,81]),e(eP,[2,166]),e(eP,[2,167]),{8:N,9:P,10:en,11:M,12:ea,14:eo,21:196,27:el,29:[1,195],32:ec,44:eh,60:ed,75:ep,82:137,83:eA,84:eg,85:ef,86:ey,87:eb,88:ek,89:eE,90:197,104:em,108:eD,110:ex,113:eC,114:eT,115:eF},e(eM,[2,99]),e(eM,[2,101]),e(eM,[2,102]),e(eM,[2,155]),e(eM,[2,156]),e(eM,[2,157]),e(eM,[2,158]),e(eM,[2,159]),e(eM,[2,160]),e(eM,[2,161]),e(eM,[2,162]),e(eM,[2,163]),e(eM,[2,164]),e(eM,[2,165]),e(eM,[2,88]),e(eM,[2,89]),e(eM,[2,90]),e(eM,[2,91]),e(eM,[2,92]),e(eM,[2,93]),e(eM,[2,94]),e(eM,[2,95]),e(eM,[2,96]),e(eM,[2,97]),e(eM,[2,98]),{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,198],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},{10:I,18:199},{44:[1,200]},e(J,[2,43]),{10:[1,201],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{10:[1,202]},{10:[1,203],105:[1,204]},e(eO,[2,126]),{10:[1,205],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{10:[1,206],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{79:[1,207]},e(ev,[2,107],{10:[1,208]}),e(ev,[2,109],{10:[1,209]}),{79:[1,210]},e(ew,[2,182]),{79:[1,211],97:[1,212]},e(J,[2,55],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),{31:[1,213],67:e$,81:214,115:eI,116:eR,117:eN},e(eV,[2,84]),e(eV,[2,86]),e(eV,[2,87]),e(eV,[2,151]),e(eV,[2,152]),e(eV,[2,153]),e(eV,[2,154]),{49:[1,215],67:e$,81:214,115:eI,116:eR,117:eN},{30:216,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{51:[1,217],67:e$,81:214,115:eI,116:eR,117:eN},{53:[1,218],67:e$,81:214,115:eI,116:eR,117:eN},{55:[1,219],67:e$,81:214,115:eI,116:eR,117:eN},{57:[1,220],67:e$,81:214,115:eI,116:eR,117:eN},{60:[1,221]},{64:[1,222],67:e$,81:214,115:eI,116:eR,117:eN},{66:[1,223],67:e$,81:214,115:eI,116:eR,117:eN},{30:224,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},{31:[1,225],67:e$,81:214,115:eI,116:eR,117:eN},{67:e$,69:[1,226],71:[1,227],81:214,115:eI,116:eR,117:eN},{67:e$,69:[1,229],71:[1,228],81:214,115:eI,116:eR,117:eN},e(O,[2,45],{18:152,10:I,40:eB}),e(O,[2,47],{44:e_}),e(er,[2,75]),e(er,[2,74]),{62:[1,230],67:e$,81:214,115:eI,116:eR,117:eN},e(er,[2,77]),e(eP,[2,79]),{30:231,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},e(eS,u,{5:232}),e(eM,[2,100]),e(R,[2,35]),{43:233,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{10:I,18:234},{10:eU,60:eG,83:eY,91:235,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:246,103:[1,247],104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:248,103:[1,249],104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{104:[1,250]},{10:eU,60:eG,83:eY,91:251,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{44:g,47:252,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,106]),{79:[1,253]},{79:[1,254],97:[1,255]},e(ev,[2,114]),e(ev,[2,116],{10:[1,256]}),e(ev,[2,117]),e(ee,[2,56]),e(eV,[2,85]),e(ee,[2,57]),{51:[1,257],67:e$,81:214,115:eI,116:eR,117:eN},e(ee,[2,64]),e(ee,[2,59]),e(ee,[2,60]),e(ee,[2,61]),{108:[1,258]},e(ee,[2,63]),e(ee,[2,65]),{66:[1,259],67:e$,81:214,115:eI,116:eR,117:eN},e(ee,[2,67]),e(ee,[2,68]),e(ee,[2,70]),e(ee,[2,69]),e(ee,[2,71]),e([10,44,60,88,101,104,105,108,110,113,114,115],[2,83]),{31:[1,260],67:e$,81:214,115:eI,116:eR,117:eN},{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,261],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},e(J,[2,53]),{43:262,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,119],{105:eX}),e(eZ,[2,128],{107:264,10:eU,60:eG,83:eY,104:eK,108:ej,109:ez,110:eH,111:eq}),e(eQ,[2,130]),e(eQ,[2,132]),e(eQ,[2,133]),e(eQ,[2,134]),e(eQ,[2,135]),e(eQ,[2,136]),e(eQ,[2,137]),e(eQ,[2,138]),e(eQ,[2,139]),e(ev,[2,120],{105:eX}),{10:[1,265]},e(ev,[2,121],{105:eX}),{10:[1,266]},e(eO,[2,127]),e(ev,[2,103],{105:eX}),e(ev,[2,104],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),e(ev,[2,108]),e(ev,[2,110],{10:[1,267]}),e(ev,[2,111]),{97:[1,268]},{51:[1,269]},{62:[1,270]},{66:[1,271]},{8:N,9:P,11:M,21:272},e(R,[2,34]),e(J,[2,52]),{10:eU,60:eG,83:eY,104:eK,106:273,107:237,108:ej,109:ez,110:eH,111:eq},e(eQ,[2,131]),{14:U,44:G,60:Y,88:K,100:274,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},{14:U,44:G,60:Y,88:K,100:275,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},{97:[1,276]},e(ev,[2,118]),e(ee,[2,58]),{30:277,67:e$,79:eL,80:eW,81:168,115:eI,116:eR,117:eN},e(ee,[2,66]),e(eS,u,{5:278}),e(eZ,[2,129],{107:264,10:eU,60:eG,83:eY,104:eK,108:ej,109:ez,110:eH,111:eq}),e(ev,[2,124],{119:164,10:[1,279],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,125],{119:164,10:[1,280],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,112]),{31:[1,281],67:e$,81:214,115:eI,116:eR,117:eN},{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,282],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},{10:eU,60:eG,83:eY,91:283,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:284,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},e(ee,[2,62]),e(R,[2,33]),e(ev,[2,122],{105:eX}),e(ev,[2,123],{105:eX})],defaultActions:{},parseError:(0,c.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var s=Error(e);throw s.hash=t,s}},"parseError"),parse:(0,c.eW)(function(e){var t=this,s=[0],r=[],i=[null],u=[],n=this.table,a="",o=0,l=0,h=0,d=u.slice.call(arguments,1),p=Object.create(this.lexer),A={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(A.yy[g]=this.yy[g]);p.setInput(e,A.yy),A.yy.lexer=p,A.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;u.push(f);var y=p.options&&p.options.ranges;"function"==typeof A.yy.parseError?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(){var e;return"number"!=typeof(e=r.pop()||p.lex()||1)&&(e instanceof Array&&(e=(r=e).pop()),e=t.symbols_[e]||e),e}(0,c.eW)(function(e){s.length=s.length-2*e,i.length=i.length-e,u.length=u.length-e},"popStack"),(0,c.eW)(b,"lex");for(var k,E,m,D,x,C,T,F,S,_={};;){if(m=s[s.length-1],this.defaultActions[m]?D=this.defaultActions[m]:(null==k&&(k=b()),D=n[m]&&n[m][k]),void 0===D||!D.length||!D[0]){var B="";for(C in S=[],n[m])this.terminals_[C]&&C>2&&S.push("'"+this.terminals_[C]+"'");B=p.showPosition?"Parse error on line "+(o+1)+":\n"+p.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(B,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:f,expected:S})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+m+", token: "+k);switch(D[0]){case 1:s.push(k),i.push(p.yytext),u.push(p.yylloc),s.push(D[1]),k=null,E?(k=E,E=null):(l=p.yyleng,a=p.yytext,o=p.yylineno,f=p.yylloc,h>0&&h--);break;case 2:if(T=this.productions_[D[1]][1],_.$=i[i.length-T],_._$={first_line:u[u.length-(T||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(T||1)].first_column,last_column:u[u.length-1].last_column},y&&(_._$.range=[u[u.length-(T||1)].range[0],u[u.length-1].range[1]]),void 0!==(x=this.performAction.apply(_,[a,l,o,A.yy,D[1],i,u].concat(d))))return x;T&&(s=s.slice(0,-1*T*2),i=i.slice(0,-1*T),u=u.slice(0,-1*T)),s.push(this.productions_[D[1]][0]),i.push(_.$),u.push(_._$),F=n[s[s.length-2]][s[s.length-1]],s.push(F);break;case 3:return!0}}return!0},"parse")},e1={EOF:1,parseError:(0,c.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,c.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,c.eW)(function(e){var t=e.length,s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===r.length?this.yylloc.first_column:0)+r[r.length-s.length].length-s[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.eW)(function(){return this._more=!0,this},"more"),reject:(0,c.eW)(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})},"reject"),less:(0,c.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,c.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,c.eW)(function(e,t){var s,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var u in i)this[u]=i[u];return!1},"test_match"),next:(0,c.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,s,r,i=this._currentRules(),u=0;ut[0].length)){if(t=s,r=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(s,i[u])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,i[r]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,c.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,c.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,c.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,c.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,c.eW)(function(e,t,s,r){switch(s){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 12:case 14:case 17:case 20:case 23:case 33:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),t.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,"
    "),40;case 11:return 40;case 13:this.begin("callbackname");break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 94;case 18:return 95;case 19:return"MD_STR";case 21:this.begin("md_string");break;case 22:return"STR";case 24:this.pushState("string");break;case 25:return 83;case 26:return 101;case 27:return 84;case 28:return 103;case 29:return 85;case 30:return 86;case 31:return 96;case 32:this.begin("click");break;case 34:return 87;case 35:case 36:case 37:return e.lex.firstGraph()&&this.begin("dir"),12;case 38:return 27;case 39:return 32;case 40:case 41:case 42:case 43:return 97;case 44:return this.popState(),13;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),14;case 55:return 120;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 104;case 60:case 101:return 110;case 61:return 46;case 62:return 60;case 63:case 102:return 44;case 64:return 8;case 65:return 105;case 66:case 100:return 114;case 67:case 70:case 73:return this.popState(),77;case 68:return this.pushState("edgeText"),75;case 69:case 72:case 75:return 118;case 71:return this.pushState("thickEdgeText"),75;case 74:return this.pushState("dottedEdgeText"),75;case 76:return 77;case 77:return this.popState(),53;case 78:case 114:return"TEXT";case 79:return this.pushState("ellipseText"),52;case 80:return this.popState(),55;case 81:return this.pushState("text"),54;case 82:return this.popState(),57;case 83:return this.pushState("text"),56;case 84:return 58;case 85:return this.pushState("text"),67;case 86:return this.popState(),64;case 87:return this.pushState("text"),63;case 88:return this.popState(),49;case 89:return this.pushState("text"),48;case 90:return this.popState(),69;case 91:return this.popState(),71;case 92:return 116;case 93:return this.pushState("trapText"),68;case 94:return this.pushState("trapText"),70;case 95:return 117;case 96:return 67;case 97:return 89;case 98:return"SEP";case 99:return 88;case 103:return 108;case 104:return 113;case 105:return 115;case 106:return this.popState(),62;case 107:return this.pushState("text"),62;case 108:return this.popState(),51;case 109:return this.pushState("text"),50;case 110:return this.popState(),31;case 111:return this.pushState("text"),29;case 112:return this.popState(),66;case 113:return this.pushState("text"),65;case 115:return"QUOTE";case 116:return 9;case 117:return 10;case 118:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},href:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},click:{rules:[21,24,33,34,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dottedEdgeText:{rules:[21,24,73,75,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},thickEdgeText:{rules:[21,24,70,72,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},edgeText:{rules:[21,24,67,69,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},trapText:{rules:[21,24,76,79,81,83,87,89,90,91,92,93,94,107,109,111,113],inclusive:!1},ellipseText:{rules:[21,24,76,77,78,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},text:{rules:[21,24,76,79,80,81,82,83,86,87,88,89,93,94,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr:{rules:[3,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_title:{rules:[1,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},md_string:{rules:[19,20,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},string:{rules:[21,22,23,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,70,71,73,74,76,79,81,83,84,85,87,89,93,94,95,96,97,98,99,100,101,102,103,104,105,107,109,111,113,115,116,117,118],inclusive:!0}}};function e0(){this.yy={}}return eJ.lexer=e1,(0,c.eW)(e0,"Parser"),e0.prototype=eJ,eJ.Parser=e0,new e0}();ek.parser=ek;var eE=(0,c.eW)((e,t)=>{let s=d.Z,r=s(e,"r"),i=s(e,"g"),u=s(e,"b");return p.Z(r,i,u,t)},"fade"),em=(0,c.eW)(e=>`.label { + font-family: ${e.fontFamily}; + color: ${e.nodeTextColor||e.textColor}; + } + .cluster-label text { + fill: ${e.titleColor}; + } + .cluster-label span { + color: ${e.titleColor}; + } + .cluster-label span p { + background-color: transparent; + } + + .label text,span { + fill: ${e.nodeTextColor||e.textColor}; + color: ${e.nodeTextColor||e.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label { + text-anchor: middle; + } + // .flowchart-label .text-outer-tspan { + // text-anchor: middle; + // } + // .flowchart-label .text-inner-tspan { + // text-anchor: start; + // } + + .node .katex path { + fill: #000; + stroke: #000; + stroke-width: 1px; + } + + .rough-node .label,.node .label, .image-shape .label, .icon-shape .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + + .root .anchor path { + fill: ${e.lineColor} !important; + stroke-width: 0; + stroke: ${e.lineColor}; + } + + .arrowheadPath { + fill: ${e.arrowheadColor}; + } + + .edgePath .path { + stroke: ${e.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${e.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${e.edgeLabelBackground}; + p { + background-color: ${e.edgeLabelBackground}; + } + rect { + opacity: 0.5; + background-color: ${e.edgeLabelBackground}; + fill: ${e.edgeLabelBackground}; + } + text-align: center; + } + + /* For html labels only */ + .labelBkg { + background-color: ${eE(e.edgeLabelBackground,.5)}; + // background-color: + } + + .cluster rect { + fill: ${e.clusterBkg}; + stroke: ${e.clusterBorder}; + stroke-width: 1px; + } + + .cluster text { + fill: ${e.titleColor}; + } + + .cluster span { + color: ${e.titleColor}; + } + /* .cluster div { + color: ${e.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${e.fontFamily}; + font-size: 12px; + background: ${e.tertiaryColor}; + border: 1px solid ${e.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; + } + + rect.text { + fill: none; + stroke-width: 0; + } + + .icon-shape, .image-shape { + background-color: ${e.edgeLabelBackground}; + p { + background-color: ${e.edgeLabelBackground}; + padding: 2px; + } + rect { + opacity: 0.5; + background-color: ${e.edgeLabelBackground}; + fill: ${e.edgeLabelBackground}; + } + text-align: center; + } +`,"getStyles"),eD={parser:ek,db:ef,renderer:{getClasses:ey,draw:eb},styles:em,init:(0,c.eW)(e=>{!e.flowchart&&(e.flowchart={}),e.layout&&(0,c.Y4)({layout:e.layout}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,c.Y4)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),ef.clear(),ef.setGen("gen-2")},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/40a9f62a.5c637254.js b/pr-preview/pr-5/assets/js/40a9f62a.5c637254.js new file mode 100644 index 0000000..bafa5a2 --- /dev/null +++ b/pr-preview/pr-5/assets/js/40a9f62a.5c637254.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3657"],{43422:function(s,e,t){t.r(e),t.d(e,{metadata:()=>r,contentTitle:()=>a,default:()=>l,assets:()=>u,toc:()=>c,frontMatter:()=>o});var r=JSON.parse('{"id":"docusaurus/tutorial_basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","source":"@site/docs/docusaurus/tutorial_basics/congratulations.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/congratulations","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/congratulations.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":6,"frontMatter":{"sidebar_position":6},"sidebar":"tutorialSidebar","previous":{"title":"Deploy your site","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site"},"next":{"title":"Tutorial - Extras","permalink":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---extras"}}'),n=t("85893"),i=t("50065");let o={sidebar_position:6},a="Congratulations!",u={},c=[{value:"What's next?",id:"whats-next",level:2}];function d(s){let e={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.a)(),...s.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.header,{children:(0,n.jsx)(e.h1,{id:"congratulations",children:"Congratulations!"})}),"\n",(0,n.jsxs)(e.p,{children:["You have just learned the ",(0,n.jsx)(e.strong,{children:"basics of Docusaurus"})," and made some changes to the ",(0,n.jsx)(e.strong,{children:"initial template"}),"."]}),"\n",(0,n.jsxs)(e.p,{children:["Docusaurus has ",(0,n.jsx)(e.strong,{children:"much more to offer"}),"!"]}),"\n",(0,n.jsxs)(e.p,{children:["Have ",(0,n.jsx)(e.strong,{children:"5 more minutes"}),"? Take a look at ",(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions",children:"versioning"})})," and ",(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site",children:"i18n"})}),"."]}),"\n",(0,n.jsxs)(e.p,{children:["Anything ",(0,n.jsx)(e.strong,{children:"unclear"})," or ",(0,n.jsx)(e.strong,{children:"buggy"})," in this tutorial? ",(0,n.jsx)(e.a,{href:"https://github.com/facebook/docusaurus/discussions/4610",children:"Please report it!"})]}),"\n",(0,n.jsx)(e.h2,{id:"whats-next",children:"What's next?"}),"\n",(0,n.jsxs)(e.ul,{children:["\n",(0,n.jsxs)(e.li,{children:["Read the ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/",children:"official documentation"})]}),"\n",(0,n.jsxs)(e.li,{children:["Modify your site configuration with ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/api/docusaurus-config",children:(0,n.jsx)(e.code,{children:"docusaurus.config.js"})})]}),"\n",(0,n.jsxs)(e.li,{children:["Add navbar and footer items with ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/api/themes/configuration",children:(0,n.jsx)(e.code,{children:"themeConfig"})})]}),"\n",(0,n.jsxs)(e.li,{children:["Add a custom ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/styling-layout",children:"Design and Layout"})]}),"\n",(0,n.jsxs)(e.li,{children:["Add a ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/docs/search",children:"search bar"})]}),"\n",(0,n.jsxs)(e.li,{children:["Find inspirations in the ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/showcase",children:"Docusaurus showcase"})]}),"\n",(0,n.jsxs)(e.li,{children:["Get involved in the ",(0,n.jsx)(e.a,{href:"https://docusaurus.io/community/support",children:"Docusaurus Community"})]}),"\n"]})]})}function l(s={}){let{wrapper:e}={...(0,i.a)(),...s.components};return e?(0,n.jsx)(e,{...s,children:(0,n.jsx)(d,{...s})}):d(s)}},50065:function(s,e,t){t.d(e,{Z:function(){return a},a:function(){return o}});var r=t(67294);let n={},i=r.createContext(n);function o(s){let e=r.useContext(i);return r.useMemo(function(){return"function"==typeof s?s(e):{...e,...s}},[e,s])}function a(s){let e;return e=s.disableParentContext?"function"==typeof s.components?s.components(n):s.components||n:o(s.components),r.createElement(i.Provider,{value:e},s.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/4294.327c1ce5.js b/pr-preview/pr-5/assets/js/4294.327c1ce5.js new file mode 100644 index 0000000..b29cbbb --- /dev/null +++ b/pr-preview/pr-5/assets/js/4294.327c1ce5.js @@ -0,0 +1,101 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4294"],{71639:function(e,t,n){"use strict";e.exports=n(29281)},47114:function(e,t,n){"use strict";var i=n(85670),r={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(r.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&7>=i.isMsie()&&i.mixin(r.input,{marginTop:"-1px"}),e.exports=r},13312:function(e,t,n){"use strict";var i="aaDataset",r="aaValue",s="aaDatum",o=n(85670),a=n(33855),u=n(26619),c=n(47114),l=n(6823);function h(e){(e=e||{}).templates=e.templates||{},!e.source&&o.error("missing source"),e.name&&!function(e){return/^[_a-zA-Z0-9-]+$/.test(e)}(e.name)&&o.error("invalid dataset name: "+e.name),this.query=null,this._isEmpty=!0,this.highlight=!!e.highlight,this.name=void 0===e.name||null===e.name?o.getUniqueId():e.name,this.source=e.source,this.displayFn=function(e){return e=e||"value",o.isFunction(e)?e:function(t){return t[e]}}(e.display||e.displayKey),this.debounce=e.debounce,this.cache=!1!==e.cache,this.templates=function(e,t){return{empty:e.empty&&o.templatify(e.empty),header:e.header&&o.templatify(e.header),footer:e.footer&&o.templatify(e.footer),suggestion:e.suggestion||function(e){return"

    "+t(e)+"

    "}}}(e.templates,this.displayFn),this.css=o.mixin({},c,e.appendTo?c.appendTo:{}),this.cssClasses=e.cssClasses=o.mixin({},c.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var t=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=e.$menu&&e.$menu.find(t+"-"+this.name).length>0?a.element(e.$menu.find(t+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=e.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(e){return a.element(e).data(i)},h.extractValue=function(e){return a.element(e).data(r)},h.extractDatum=function(e){var t=a.element(e).data(s);return"string"==typeof t&&(t=JSON.parse(t)),t},o.mixin(h.prototype,l,{_render:function(e,t){if(!!this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=t&&t.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html((function(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),c.templates.empty.apply(this,t)}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html((function(){var e,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return e=a.element(p).css(this.css.suggestions),n=o.map(t,function(e){var t,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(t=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[e].concat(l)))).data(i,c.name),t.data(r,c.displayFn(e)||void 0),t.data(s,JSON.stringify(e)),t.children().each(function(){a.element(this).css(h.css.suggestionChild)}),t}),e.append.apply(e,n),e}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(t&&!Array.isArray(t))throw TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",e)}function h(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.header.apply(this,t)}function p(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.footer.apply(this,t)}},getRoot:function(){return this.$el},update:function(e){function t(t){if(!this.canceled&&e===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(e,t,n),this._render.apply(this,[e,t].concat(n))}}if(this.query=e,this.canceled=!1,this.shouldFetchFromCache(e))t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){!n.canceled&&n.source(e,t.bind(n))};this.debounce?(clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(function(){n.debounceTimeout=null,i()},this.debounce)):i()}},cacheSuggestions:function(e,t,n){this.cachedQuery=e,this.cachedSuggestions=t,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(e){return this.cache&&this.cachedQuery===e&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}});e.exports=h},35445:function(e,t,n){"use strict";var i=n(85670),r=n(33855),s=n(6823),o=n(13312),a=n(47114);function u(e){var t,n,s,o=this;!(e=e||{}).menu&&i.error("menu is required"),!i.isArray(e.datasets)&&!i.isObject(e.datasets)&&i.error("1 or more datasets required"),!e.datasets&&i.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=e.minLength||0,this.templates={},this.appendTo=e.appendTo||!1,this.css=i.mixin({},a,e.appendTo?a.appendTo:{}),this.cssClasses=e.cssClasses=i.mixin({},a.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||i.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),t=i.bind(this._onSuggestionClick,this),n=i.bind(this._onSuggestionMouseEnter,this),s=i.bind(this._onSuggestionMouseLeave,this);var c=i.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=r.element(e.menu).on("mouseenter.aa",c,n).on("mouseleave.aa",c,s).on("click.aa",c,t),this.$container=e.appendTo?e.wrapper:this.$menu,e.templates&&e.templates.header&&(this.templates.header=i.templatify(e.templates.header),this.$menu.prepend(this.templates.header())),e.templates&&e.templates.empty&&(this.templates.empty=i.templatify(e.templates.empty),this.$empty=r.element('
    '),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(e.datasets,function(t){return function(e,t,n){return new u.Dataset(i.mixin({$menu:e,cssClasses:n},t))}(o.$menu,t,e.cssClasses)}),i.each(this.datasets,function(e){var t=e.getRoot();t&&0===t.parent().length&&o.$menu.append(t),e.onSync("rendered",o._onRendered,o)}),e.templates&&e.templates.footer&&(this.templates.footer=i.templatify(e.templates.footer),this.$menu.append(this.templates.footer()));var l=this;r.element(window).resize(function(){l._redraw()})}i.mixin(u.prototype,s,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",r.element(e.currentTarget))},_onSuggestionMouseEnter:function(e){var t=r.element(e.currentTarget);if(!t.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout(function(){n._setCursor(t,!1)},0)}},_onSuggestionMouseLeave:function(e){if(!e.relatedTarget||!(r.element(e.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0))this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(e,t){if(this.isEmpty=i.every(this.datasets,function(e){return e.isEmpty()}),this.isEmpty){if(t.length>=this.minLength&&this.trigger("empty"),this.$empty){if(t.length=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(e,t){e.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",t)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(e){var t,n,i,r;if(!!this.isOpen){if(n=this._getCursor(),t=this._getSuggestions(),this._removeCursor(),-1==(i=((i=t.index(n)+e)+1)%(t.length+1)-1)){this.trigger("cursorRemoved");return}i<-1&&(i=t.length-1);this._setCursor(r=t.eq(i),!0),this._ensureVisible(r)}},_ensureVisible:function(e){var t,n,i,r;n=(t=e.position().top)+e.height()+parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),t<0?this.$menu.scrollTop(i+t):r',dropdown:'',dataset:'
    ',suggestions:'',suggestion:'
    '}},21286:function(e,t,n){"use strict";i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var i,r=n(85670),s=n(33855),o=n(6823);function a(e){var t,n,o,a,u=this;!(e=e||{}).input&&r.error("input is missing"),t=r.bind(this._onBlur,this),n=r.bind(this._onFocus,this),o=r.bind(this._onKeydown,this),a=r.bind(this._onInput,this),this.$hint=s.element(e.hint),this.$input=s.element(e.input).on("blur.aa",t).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=r.noop),r.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(e){if(!i[e.which||e.keyCode])r.defer(r.bind(u._onInput,u,e))}):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=function(e){return s.element('').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),fontWeight:e.css("font-weight"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),textIndent:e.css("text-indent"),textRendering:e.css("text-rendering"),textTransform:e.css("text-transform")}).insertAfter(e)}(this.$input)}a.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},r.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(e){var t=i[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(e,t){var n,i,r;switch(e){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!u(t);break;case"up":case"down":n=!u(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;if("tab"===e)n=!u(t);else n=!0;return n},_checkInputValue:function(){var e,t,n;n=!!(t=function(e,t){return a.normalizeQuery(e)===a.normalizeQuery(t)}(e=this.getInputValue(),this.query))&&!!this.query&&this.query.length!==e.length,this.query=e,t?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(e){this.query=e},getInputValue:function(){return this.$input.val()},setInputValue:function(e,t){void 0===e&&(e=this.query),this.$input.val(e),t?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(e){this.$input.attr("aria-activedescendant",e)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n;e=this.getInputValue(),n=e!==(t=this.getHint())&&0===t.indexOf(e),!(""!==e&&n&&!this.hasOverflow())&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,t,n;return(e=this.$input.val().length,t=this.$input[0].selectionStart,r.isNumber(t))?t===e:!document.selection||((n=document.selection.createRange()).moveStart("character",-e),e===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}});function u(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}e.exports=a},33068:function(e,t,n){"use strict";var i="aaAttrs",r=n(85670),s=n(33855),o=n(47368),a=n(21286),u=n(35445),c=n(26619),l=n(47114);function h(e){if(!(e=e||{}).input&&r.error("missing input"),this.isActivated=!1,this.debug=!!e.debug,this.autoselect=!!e.autoselect,this.autoselectOnBlur=!!e.autoselectOnBlur,this.openOnFocus=!!e.openOnFocus,this.minLength=r.isNumber(e.minLength)?e.minLength:1,this.autoWidth=void 0===e.autoWidth||!!e.autoWidth,this.clearOnSelected=!!e.clearOnSelected,this.tabAutocomplete=void 0===e.tabAutocomplete||!!e.tabAutocomplete,e.hint=!!e.hint,e.hint&&e.appendTo)throw Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=e.css=r.mixin({},l,e.appendTo?l.appendTo:{}),this.cssClasses=e.cssClasses=r.mixin({},l.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix=r.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=e.listboxId=[this.cssClasses.root,"listbox",r.getUniqueId()].join("-");var t,n,a=function(e){t=s.element(e.input),n=s.element(c.wrapper.replace("%ROOT%",e.cssClasses.root)).css(e.css.wrapper),!e.appendTo&&"block"===t.css("display")&&"table"===t.parent().css("display")&&n.css("display","table-cell");var t,n,o,a,u=c.dropdown.replace("%PREFIX%",e.cssClasses.prefix).replace("%DROPDOWN_MENU%",e.cssClasses.dropdownMenu);o=s.element(u).css(e.css.dropdown).attr({role:"listbox",id:e.listboxId}),e.templates&&e.templates.dropdownMenu&&o.html(r.templatify(e.templates.dropdownMenu)()),(a=t.clone().css(e.css.hint).css(function(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}(t))).val("").addClass(r.className(e.cssClasses.prefix,e.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData(),t.data(i,{"aria-autocomplete":t.attr("aria-autocomplete"),"aria-expanded":t.attr("aria-expanded"),"aria-owns":t.attr("aria-owns"),autocomplete:t.attr("autocomplete"),dir:t.attr("dir"),role:t.attr("role"),spellcheck:t.attr("spellcheck"),style:t.attr("style"),type:t.attr("type")}),t.addClass(r.className(e.cssClasses.prefix,e.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":e.datasets&&e.datasets[0]&&e.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":e.ariaLabel,"aria-owns":e.listboxId}).css(e.hint?e.css.input:e.css.inputWithNoHint);try{!t.attr("dir")&&t.attr("dir","auto")}catch(e){}return(n=e.appendTo?n.appendTo(s.element(e.appendTo).eq(0)).eq(0):t.wrap(n).parent()).prepend(e.hint?a:null).append(o),{wrapper:n,input:t,hint:a,menu:o}}(e);this.$node=a.wrapper;var u=this.$input=a.input;t=a.menu,n=a.hint,e.dropdownMenuContainer&&s.element(e.dropdownMenuContainer).css("position","relative").append(t.css("top","0")),u.on("blur.aa",function(e){var n=document.activeElement;r.isMsie()&&(t[0]===n||t[0].contains(n))&&(e.preventDefault(),e.stopImmediatePropagation(),r.defer(function(){u.focus()}))}),t.on("mousedown.aa",function(e){e.preventDefault()}),this.eventBus=e.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:e.appendTo,wrapper:this.$node,menu:t,datasets:e.datasets,templates:e.templates,cssClasses:e.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(e),this._setLanguageDirection()}r.mixin(h.prototype,{_bindKeyboardShortcuts:function(e){if(!!e.keyboardShortcuts){var t=this.$input,n=[];r.each(e.keyboardShortcuts,function(e){"string"==typeof e&&(e=e.toUpperCase().charCodeAt(0)),n.push(e)}),s.element(document).keydown(function(e){var i=e.target||e.srcElement,r=i.tagName;if(i.isContentEditable||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r)return;var s=e.which||e.keyCode;if(-1!==n.indexOf(s))t.focus(),e.stopPropagation(),e.preventDefault()})}},_onSuggestionClicked:function(e,t){var n;(n=this.dropdown.getDatumForSuggestion(t))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(e,t){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(t&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var e=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",e.width+"px");var t=this.$node[0].getBoundingClientRect(),n=e.bottom-t.top;this.$node.css("top",n+"px");var i=e.left-t.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var e=this.input.getQuery();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){e=this.dropdown.getDatumForCursor(),t=this.dropdown.getDatumForTopSuggestion();var e,t,n={selectionMethod:"blur"};!this.debug&&(this.autoselectOnBlur&&e?this._select(e,n):this.autoselectOnBlur&&t?this._select(t,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(e,t){n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var n,i,r={selectionMethod:"enterKey"};n?(this._select(n,r),t.preventDefault()):this.autoselect&&i&&(this._select(i,r),t.preventDefault())},_onTabKeyed:function(e,t){var n;if(!this.tabAutocomplete){this.dropdown.close();return}(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),t.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(e,t){this.input.clearHintIfInvalid(),t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var e=this.input.getLanguageDirection();this.dir!==e&&(this.dir=e,this.$node.css("direction",e),this.dropdown.setLanguageDirection(e))},_updateHint:function(){var e,t,n,i;(e=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(t=this.input.getInputValue(),n=a.normalizeQuery(t),(i=RegExp("^(?:"+r.escapeRegExChars(n)+")(.+$)","i").exec(e.value))?this.input.setHint(t+i[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(e){var t,n,i,r;t=this.input.getHint(),n=this.input.getQuery(),i=e||this.input.isCursorAtEnd(),t&&n!==t&&i&&((r=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(e,t){void 0!==e.value&&this.input.setQuery(e.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(e.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",e.raw,e.datasetName,t).isDefaultPrevented()&&(this.dropdown.close(),r.defer(r.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var e=this.input.getInputValue();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(e){e=r.toStr(e),this.isActivated?this.input.setInputValue(e):(this.input.setQuery(e),this.input.setInputValue(e,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(e,t){var n=e.find(r.className(t.prefix,t.input));r.each(n.data(i),function(e,t){void 0===e?n.removeAttr(t):n.attr(t,e)}),n.detach().removeClass(r.className(t.prefix,t.input,!0)).insertAfter(e),n.removeData&&n.removeData(i),e.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}});h.Dropdown=u,h.Input=a,h.sources=n(86331),e.exports=h},33855:function(e){"use strict";e.exports={element:null}},22926:function(e){"use strict";e.exports=function(e){var t=e.match(/Algolia for JavaScript \((\d+\.)(\d+\.)(\d+)\)/)||e.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(t)return[t[1],t[2],t[3]]}},85670:function(e,t,n){"use strict";var i,r=n(33855);function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}e.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(e){if(void 0===e&&(e=navigator.userAgent),/(msie|trident)/i.test(e)){var t=e.match(/(msie |rv:)(\d+(.\d+)?)/i);if(t)return t[2]}return!1},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(e){return"number"==typeof e},toStr:function(e){return null==e?"":e+""},cloneDeep:function(e){var t=this.mixin({},e),n=this;return this.each(t,function(e,i){e&&(n.isArray(e)?t[i]=[].concat(e):n.isObject(e)&&(t[i]=n.cloneDeep(e)))}),t},error:function(e){throw Error(e)},every:function(e,t){var n=!0;return e?(this.each(e,function(i,r){n&&(n=t.call(null,i,r,e)&&n)}),!!n):n},any:function(e,t){var n=!1;return e?(this.each(e,function(i,r){if(t.call(null,i,r,e))return n=!0,!1}),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(e){if(this.isFunction(e))return e;var t=r.element(e);return"SCRIPT"===t.prop("tagName")?function(){return t.text()}:function(){return String(e)}},defer:function(e){setTimeout(e,0)},noop:function(){},formatPrefix:function(e,t){return t?"":e+"-"},className:function(e,t,n){return(n?"":".")+e+t},escapeHighlightedString:function(e,t,n){t=t||"";var i=document.createElement("div");i.appendChild(document.createTextNode(t)),n=n||"";var r=document.createElement("div");r.appendChild(document.createTextNode(n));var o=document.createElement("div");return o.appendChild(document.createTextNode(e)),o.innerHTML.replace(RegExp(s(i.innerHTML),"g"),t).replace(RegExp(s(r.innerHTML),"g"),n)}}},42683:function(e,t,n){"use strict";var i=n(85670),r=n(93489),s=n(22926);e.exports=function(e,t){var n=s(e.as._ua);return n&&n[0]>=3&&n[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),function(n,r){e.search(n,t,function(e,t){if(e){i.error(e.message);return}r(t.hits,t)})}}},86331:function(e,t,n){"use strict";e.exports={hits:n(42683),popularIn:n(82226)}},82226:function(e,t,n){"use strict";var i=n(85670),r=n(93489),s=n(22926);e.exports=function(e,t,n,o){var a=s(e.as._ua);if(a&&a[0]>=3&&a[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(e){return e[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){e.search(a,t,function(e,a){if(e){i.error(e.message);return}if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var d=s(c.as._ua);d&&d[0]>=3&&d[1]>20&&(t.additionalUA="autocomplete.js "+r),c.search(u(h),p,function(e,t){if(e){i.error(e.message);return}var n=[];if(o.includeAll){var r=o.allTitle||"All departments";n.push(i.mixin({facet:{value:r,count:t.nbHits}},i.cloneDeep(h)))}i.each(t.facets,function(e,t){i.each(e,function(e,r){n.push(i.mixin({facet:{facet:t,value:r,count:e}},i.cloneDeep(h)))})});for(var s=1;s]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,y=/^(?:body|html)$/i,x=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],w=h.createElement("table"),S=h.createElement("tr"),C={tr:h.createElement("tbody"),tbody:w,thead:w,tfoot:w,td:S,th:S,"*":h.createElement("div")},E=/complete|loaded|interactive/,_=/^[\w-]*$/,k={},T=k.toString,O={},L=h.createElement("div"),A={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},$=Array.isArray||function(e){return e instanceof Array};function P(e){return null==e?String(e):k[T.call(e)]||"object"}function I(e){return"function"==P(e)}function Q(e){return null!=e&&e==e.window}function R(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function N(e){return"object"==P(e)}function D(e){return N(e)&&!Q(e)&&Object.getPrototypeOf(e)==Object.prototype}function F(e){var t=!!e&&"length"in e&&e.length,n=i.type(e);return"function"!=n&&!Q(e)&&("array"==n||0===t||"number"==typeof t&&t>0&&t-1 in e)}O.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var i,r=e.parentNode,s=!r;return s&&(r=L).appendChild(e),i=~O.qsa(r,t).indexOf(e),s&&L.removeChild(e),i};function j(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function H(e){return e in d?d[e]:d[e]=RegExp("(^|\\s)"+e+"(\\s|$)")}function V(e,t){return"number"!=typeof t||f[j(e)]?t:t+"px"}s=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},o=function(e){return c.call(e,function(t,n){return e.indexOf(t)==n})};function B(e){return"children"in e?l.call(e.children):i.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function M(e,t){var n,i=e?e.length:0;for(n=0;n")),t===n&&(n=g.test(e)&&RegExp.$1),!(n in C)&&(n="*"),(a=C[n]).innerHTML=""+e,s=i.each(l.call(a.childNodes),function(){a.removeChild(this)})),D(r)&&(o=i(s),i.each(r,function(e,t){b.indexOf(e)>-1?o[e](t):o.attr(e,t)})),s},O.Z=function(e,t){return new M(e,t)},O.isZ=function(e){return e instanceof O.Z},O.init=function(e,n){var r,s;if(!e)return O.Z();if("string"==typeof e){if("<"==(e=e.trim())[0]&&g.test(e))r=O.fragment(e,RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}else{if(I(e))return i(h).ready(e);if(O.isZ(e))return e;if($(e)){;s=e,r=c.call(s,function(e){return null!=e})}else if(N(e))r=[e],e=null;else if(g.test(e))r=O.fragment(e.trim(),RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}return O.Z(r,e)},i=function(e,t){return O.init(e,t)};function q(e,t){return null==t?i(e):i(e).filter(t)}function z(e,t,n,i){return I(t)?t.call(e,n,i):t}function K(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function W(e,n){var i=e.className||"",r=i&&i.baseVal!==t;if(t===n)return r?i.baseVal:i;r?i.baseVal=n:e.className=n}function U(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?i.parseJSON(e):e):e}catch(t){return e}}return i.extend=function(e){var i,r=l.call(arguments,1);return"boolean"==typeof e&&(i=e,e=r.shift()),r.forEach(function(r){!function e(i,r,s){for(n in r)s&&(D(r[n])||$(r[n]))?(D(r[n])&&!D(i[n])&&(i[n]={}),$(r[n])&&!$(i[n])&&(i[n]=[]),e(i[n],r[n],s)):r[n]!==t&&(i[n]=r[n])}(e,r,i)}),e},O.qsa=function(e,t){var n,i="#"==t[0],r=!i&&"."==t[0],s=i||r?t.slice(1):t,o=_.test(s);return e.getElementById&&o&&i?(n=e.getElementById(s))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:l.call(o&&!i&&e.getElementsByClassName?r?e.getElementsByClassName(s):e.getElementsByTagName(t):e.querySelectorAll(t))},i.contains=h.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},i.type=P,i.isFunction=I,i.isWindow=Q,i.isArray=$,i.isPlainObject=D,i.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},i.isNumeric=function(e){var t=Number(e),n=typeof e;return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},i.inArray=function(e,t,n){return a.indexOf.call(t,e,n)},i.camelCase=s,i.trim=function(e){return null==e?"":String.prototype.trim.call(e)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(e,t){var n,r,s,o,a=[];if(F(e))for(s=0;s0?i.fn.concat.apply([],n):n},i.each=function(e,t){var n,i;if(F(e))for(n=0;n=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(e){return a.every.call(this,function(t,n){return!1!==e.call(t,n,t)}),this},filter:function(e){return I(e)?this.not(this.not(e)):i(c.call(this,function(t){return O.matches(t,e)}))},add:function(e,t){return i(o(this.concat(i(e,t))))},is:function(e){return this.length>0&&O.matches(this[0],e)},not:function(e){var n=[];if(I(e)&&e.call!==t)this.each(function(t){!e.call(this,t)&&n.push(this)});else{var r="string"==typeof e?this.filter(e):F(e)&&I(e.item)?l.call(e):i(e);this.forEach(function(e){0>r.indexOf(e)&&n.push(e)})}return i(n)},has:function(e){return this.filter(function(){return N(e)?i.contains(this,e):i(this).find(e).size()})},eq:function(e){return -1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!N(e)?e:i(e)},last:function(){var e=this[this.length-1];return e&&!N(e)?e:i(e)},find:function(e){var t,n=this;return t=e?"object"==typeof e?i(e).filter(function(){var e=this;return a.some.call(n,function(t){return i.contains(t,e)})}):1==this.length?i(O.qsa(this[0],e)):this.map(function(){return O.qsa(this,e)}):i()},closest:function(e,t){var n=[],r="object"==typeof e&&i(e);return this.each(function(i,s){for(;s&&!(r?r.indexOf(s)>=0:O.matches(s,e));)s=s!==t&&!R(s)&&s.parentNode;s&&0>n.indexOf(s)&&n.push(s)}),i(n)},parents:function(e){for(var t=[],n=this;n.length>0;)n=i.map(n,function(e){if((e=e.parentNode)&&!R(e)&&0>t.indexOf(e))return t.push(e),e});return q(t,e)},parent:function(e){return q(o(this.pluck("parentNode")),e)},children:function(e){return q(this.map(function(){return B(this)}),e)},contents:function(){return this.map(function(){return this.contentDocument||l.call(this.childNodes)})},siblings:function(e){return q(this.map(function(e,t){return c.call(B(t.parentNode),function(e){return e!==t})}),e)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return i.map(this,function(t){return t[e]})},show:function(){return this.each(function(){if("none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")){var e,t,n;this.style.display=(!p[e=this.nodeName]&&(t=h.createElement(e),h.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),p[e]=n),p[e])}})},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=I(e);if(this[0]&&!t)var n=i(e).get(0),r=n.parentNode||this.length>1;return this.each(function(s){i(this).wrapAll(t?e.call(this,s):r?n.cloneNode(!0):n)})},wrapAll:function(e){if(this[0]){var t;for(i(this[0]).before(e=i(e));(t=e.children()).length;)e=t.first();i(e).append(this)}return this},wrapInner:function(e){var t=I(e);return this.each(function(n){var r=i(this),s=r.contents(),o=t?e.call(this,n):e;s.length?s.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){i(this).replaceWith(i(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var n=i(this);(t===e?"none"==n.css("display"):e)?n.show():n.hide()})},prev:function(e){return i(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return i(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each(function(t){var n=this.innerHTML;i(this).empty().append(z(this,e,t,n))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){var n=z(this,e,t,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(e,i){var r;return"string"!=typeof e||1 in arguments?this.each(function(t){if(1===this.nodeType){if(N(e))for(n in e)K(this,n,e[n]);else K(this,e,z(this,i,t,this.getAttribute(e)))}}):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(e))?r:t},removeAttr:function(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){K(this,e)},this)})},prop:function(e,t){return e=A[e]||e,1 in arguments?this.each(function(n){this[e]=z(this,t,n,this[e])}):this[0]&&this[0][e]},removeProp:function(e){return e=A[e]||e,this.each(function(){delete this[e]})},data:function(e,n){var i="data-"+e.replace(x,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,n):this.attr(i);return null!==r?U(r):t},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=z(this,e,t,this.value)})):this[0]&&(this[0].multiple?i(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=i(this),r=z(this,t,e,n.offset()),s=n.offsetParent().offset(),o={top:r.top-s.top,left:r.left-s.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+e.pageXOffset,top:n.top+e.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(e,t){if(arguments.length<2){var r=this[0];if("string"==typeof e){if(!r)return;return r.style[s(e)]||getComputedStyle(r,"").getPropertyValue(e)}if($(e)){if(!r)return;var o={},a=getComputedStyle(r,"");return i.each(e,function(e,t){o[t]=r.style[s(t)]||a.getPropertyValue(t)}),o}}var u="";if("string"==P(e))t||0===t?u=j(e)+":"+V(e,t):this.each(function(){this.style.removeProperty(j(e))});else for(n in e)e[n]||0===e[n]?u+=j(n)+":"+V(n,e[n])+";":this.each(function(){this.style.removeProperty(j(n))});return this.each(function(){this.style.cssText+=";"+u})},index:function(e){return e?this.indexOf(i(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&a.some.call(this,function(e){return this.test(W(e))},H(e))},addClass:function(e){return e?this.each(function(t){if("className"in this){r=[];var n=W(this);z(this,e,t,n).split(/\s+/g).forEach(function(e){!i(this).hasClass(e)&&r.push(e)},this),r.length&&W(this,n+(n?" ":"")+r.join(" "))}}):this},removeClass:function(e){return this.each(function(n){if("className"in this){if(t===e)return W(this,"");z(this,e,n,r=W(this)).split(/\s+/g).forEach(function(e){r=r.replace(H(e)," ")}),W(this,r.trim())}})},toggleClass:function(e,n){return e?this.each(function(r){var s=i(this);z(this,e,r,W(this)).split(/\s+/g).forEach(function(e){(t===n?!s.hasClass(e):n)?s.addClass(e):s.removeClass(e)})}):this},scrollTop:function(e){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),n=this.offset(),r=y.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(i(e).css("margin-top"))||0,n.left-=parseFloat(i(e).css("margin-left"))||0,r.top+=parseFloat(i(t[0]).css("border-top-width"))||0,r.left+=parseFloat(i(t[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||h.body;e&&!y.test(e.nodeName)&&"static"==i(e).css("position");)e=e.offsetParent;return e})}},i.fn.detach=i.fn.remove,["width","height"].forEach(function(e){var n=e.replace(/./,function(e){return e[0].toUpperCase()});i.fn[e]=function(r){var s,o=this[0];return t===r?Q(o)?o["inner"+n]:R(o)?o.documentElement["scroll"+n]:(s=this.offset())&&s[e]:this.each(function(t){(o=i(this)).css(e,z(this,r,t,o[e]()))})}}),["after","prepend","before","append"].forEach(function(n,r){var s=r%2;i.fn[n]=function(){var n,o,a=i.map(arguments,function(e){var r=[];return"array"==(n=P(e))?(e.forEach(function(e){return e.nodeType!==t?r.push(e):i.zepto.isZ(e)?r=r.concat(e.get()):void(r=r.concat(O.fragment(e)))}),r):"object"==n||null==e?e:O.fragment(e)}),u=this.length>1;return a.length<1?this:this.each(function(t,n){o=s?n:n.parentNode,n=0==r?n.nextSibling:1==r?n.firstChild:2==r?n:null;var c=i.contains(h.documentElement,o);a.forEach(function(t){if(u)t=t.cloneNode(!0);else if(!o)return i(t).remove();o.insertBefore(t,n),c&&!function e(t,n){n(t);for(var i=0,r=t.childNodes.length;i":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(n,i){var r=n.length,s=0,o=null,a=null,l="",h=[],p=!1,d=0,f=0,g="{{",m="}}";function v(){l.length>0&&(h.push({tag:"_t",text:new String(l)}),l="")}function y(n,i){if(v(),n&&function(){for(var n=!0,i=f;i"==r.tag&&(r.indent=h[s].text.toString()),h.splice(s,1));else!i&&h.push({tag:"\n"});p=!1,f=h.length}for(i&&(g=(i=i.split(" "))[0],m=i[1]),d=0;d":f,"<":function(t,n){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(t.nodes,i);var r=n.partials[f(t,n)];r.subs=i.subs,r.partials=i.partials},$:function(t,n){var i={subs:{},code:"",partials:n.partials,prefix:t.n};e.walk(t.nodes,i),n.subs[t.n]=i.code,!n.inPartial&&(n.code+='t.sub("'+p(t.n)+'",c,p,i);')},"\n":function(e,t){t.code+=m('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+d(e.n)+'("'+p(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=m('"'+p(e.text)+'"')},"{":g,"&":g},e.walk=function(t,n){for(var i,r=0,s=t.length;r0;){if(c=n.shift(),u&&"<"==u.tag&&!(c.tag in l))throw Error("Illegal content in < super tag.");if(e.tags[c.tag]<=e.tags.$||function(e,t){for(var n=0,i=t.length;n0)throw Error("missing closing tag: "+r.pop().n);return o}(t,"",[],(i=i||{}).sectionTags||[])},e.cache={},e.cacheKey=function(e,t){return[e,!!t.asString,!!t.disableLambda,t.delimiters,!!t.modelGet].join("||")},e.compile=function(t,n){n=n||{};var i=e.cacheKey(t,n),r=this.cache[i];if(r){var s=r.partials;for(var o in s)delete s[o].instance;return r}return r=this.generate(this.parse(this.scan(t,n.delimiters),t,n),t,n),this.cache[i]=r}}(t)},5485:function(e,t,n){var i=n(49397);i.Template=n(22882).Template,i.template=i.Template,e.exports=i},22882:function(e,t){!function(e){function t(e,t,n){var i;return t&&"object"==typeof t&&(void 0!==t[e]?i=t[e]:n&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}e.Template=function(e,t,n,i){e=e||{},this.r=e.code||this.r,this.c=n,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,t,n){return""},v:function(e){return e=u(e),a.test(e)?e.replace(n,"&").replace(i,"<").replace(r,">").replace(s,"'").replace(o,"""):e},t:u,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},ep:function(e,t){var n=this.partials[e],i=t[n.name];if(n.instance&&n.base==i)return n.instance;if("string"==typeof i){if(!this.c)throw Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,n.subs){for(key in!t.stackText&&(t.stackText={}),n.subs)!t.stackText[key]&&(t.stackText[key]=void 0!==this.activeSub&&t.stackText[this.activeSub]?t.stackText[this.activeSub]:this.text);i=function(e,t,n,i,r,s){function o(){}function a(){}o.prototype=e,a.prototype=e.subs;var u,c=new o;for(u in c.subs=new a,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=s,t)!i[u]&&(i[u]=t[u]);for(u in i)c.subs[u]=i[u];for(u in r=r||{},c.stackPartials=r,n)!r[u]&&(r[u]=n[u]);for(u in r)c.partials[u]=r[u];return c}(i,n.subs,n.partials,this.stackSubs,this.stackPartials,t.stackText)}return this.partials[e].instance=i,i},rp:function(e,t,n,i){var r=this.ep(e,n);return r?r.ri(t,n,i):""},rs:function(e,t,n){var i=e[e.length-1];if(!c(i)){n(e,t,this);return}for(var r=0;r=0;c--)if(void 0!==(s=t(e,o=n[c],u))){a=!0;break}return a?(!r&&"function"==typeof s&&(s=this.mv(s,n,i)),s):!r&&""},ls:function(e,t,n,i,r){var s=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(u(e.call(t,i)),t,n)),this.options.delimiters=s,!1},ct:function(e,t,n){if(this.options.disableLambda)throw Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,n)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,t,n,i,r,s,o){var a,u=t[t.length-1],c=e.call(u);if("function"==typeof c)return!!i||(a=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,u,n,a.substring(r,s),o));return c},mv:function(e,t,n){var i=t[t.length-1],r=e.call(i);return"function"==typeof r?this.ct(u(r.call(i)),i,n):r},sub:function(e,t,n,i){var r=this.subs[e];r&&(this.activeSub=e,r(t,n,this,i),this.activeSub=!1)}};var n=/&/g,i=//g,s=/\'/g,o=/\"/g,a=/[&<>\"\']/;function u(e){return String(null==e?"":e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)},70624:function(e,t,n){"use strict";var i,r,s,o=[n(47936),n(64785),n(28291),n(2709),n(42506),n(79176)],a=-1,u=[],c=!1;function l(){if(!!i&&!!r)i=!1,r.length?u=r.concat(u):a=-1,u.length&&h()}function h(){if(!i){c=!1,i=!0;for(var e=u.length,t=setTimeout(l);e;){for(r=u,u=[];r&&++a1)for(var n=1;n0){var c=A.utils.clone(t)||{};c.position=[o,u],c.index=r.length,r.push(new A.Token(n.slice(o,s),c))}o=s+1}}return r},A.tokenizer.separator=/[\s\-]+/,A.Pipeline=function(){this._stack=[]},A.Pipeline.registeredFunctions=Object.create(null),A.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&A.utils.warn("Overwriting existing registered function: "+t),e.label=t,A.Pipeline.registeredFunctions[e.label]=e},A.Pipeline.warnIfFunctionNotRegistered=function(e){!(e.label&&e.label in this.registeredFunctions)&&A.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},A.Pipeline.load=function(e){var t=new A.Pipeline;return e.forEach(function(e){var n=A.Pipeline.registeredFunctions[e];if(n)t.add(n);else throw Error("Cannot load unregistered function: "+e)}),t},A.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){A.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},A.Pipeline.prototype.after=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},A.Pipeline.prototype.before=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");this._stack.splice(n,0,t)},A.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);if(-1!=t)this._stack.splice(t,1)},A.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(se&&(n=r),s!=e);){;i=n-t,r=t+Math.floor(i/2),s=this.elements[2*r]}return s==e||s>e?2*r:sa?c+=2:o==a&&(t+=n[u+1]*i[c+1],u+=2,c+=2);return t},A.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},A.Vector.prototype.toArray=function(){for(var e=Array(this.elements.length/2),t=1,n=0;t0){var s,o=r.str.charAt(0);o in r.node.edges?s=r.node.edges[o]:(s=new A.TokenSet,r.node.edges[o]=s),1==r.str.length&&(s.final=!0),i.push({node:s,editsRemaining:r.editsRemaining,str:r.str.slice(1)})}if(0!=r.editsRemaining){if("*"in r.node.edges)var a=r.node.edges["*"];else{var a=new A.TokenSet;r.node.edges["*"]=a}if(0==r.str.length&&(a.final=!0),i.push({node:a,editsRemaining:r.editsRemaining-1,str:r.str}),r.str.length>1&&i.push({node:r.node,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)}),1==r.str.length&&(r.node.final=!0),r.str.length>=1){if("*"in r.node.edges)var u=r.node.edges["*"];else{var u=new A.TokenSet;r.node.edges["*"]=u}1==r.str.length&&(u.final=!0),i.push({node:u,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)})}if(r.str.length>1){var c,l=r.str.charAt(0),h=r.str.charAt(1);h in r.node.edges?c=r.node.edges[h]:(c=new A.TokenSet,r.node.edges[h]=c),1==r.str.length&&(c.final=!0),i.push({node:c,editsRemaining:r.editsRemaining-1,str:l+r.str.slice(2)})}}}return n},A.TokenSet.fromString=function(e){for(var t=new A.TokenSet,n=t,i=0,r=e.length;i=e;t--){var n=this.uncheckedNodes[t],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}},A.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},A.Index.prototype.search=function(e){return this.query(function(t){new A.QueryParser(e,t).parse()})},A.Index.prototype.query=function(e){for(var t=new A.Query(this.fields),n=Object.create(null),i=Object.create(null),r=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a1?this._b=1:this._b=e},A.Builder.prototype.k1=function(e){this._k1=e},A.Builder.prototype.add=function(e,t){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var r=0;r=this.length)return A.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},A.QueryLexer.prototype.width=function(){return this.pos-this.start},A.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},A.QueryLexer.prototype.backup=function(){this.pos-=1},A.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do t=(e=this.next()).charCodeAt(0);while(t>47&&t<58);e!=A.QueryLexer.EOS&&this.backup()},A.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(A.QueryLexer.TERM)),e.ignore(),e.more())return A.QueryLexer.lexText},A.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.EDIT_DISTANCE),A.QueryLexer.lexText},A.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.BOOST),A.QueryLexer.lexText},A.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(A.QueryLexer.TERM)},A.QueryLexer.termSeparator=A.tokenizer.separator,A.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==A.QueryLexer.EOS)return A.QueryLexer.lexEOS;if(92==t.charCodeAt(0)){e.escapeCharacter();continue}if(":"==t)return A.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexBoost;if("+"==t&&1===e.width()||"-"==t&&1===e.width())return e.emit(A.QueryLexer.PRESENCE),A.QueryLexer.lexText;if(t.match(A.QueryLexer.termSeparator))return A.QueryLexer.lexTerm}},A.QueryParser=function(e,t){this.lexer=new A.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},A.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=A.QueryParser.parseClause;e;)e=e(this);return this.query},A.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},A.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},A.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},A.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(void 0!=t)switch(t.type){case A.QueryLexer.PRESENCE:return A.QueryParser.parsePresence;case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new A.QueryParseError(n,t.start,t.end)}},A.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(void 0!=t){switch(t.str){case"-":e.currentClause.presence=A.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=A.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new A.QueryParseError(n,t.start,t.end)}var i=e.peekLexeme();if(void 0==i){var n="expecting term or field, found nothing";throw new A.QueryParseError(n,t.start,t.end)}switch(i.type){case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new A.QueryParseError(n,i.start,i.end)}}},A.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(void 0!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),i="unrecognised field '"+t.str+"', possible fields: "+n;throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.fields=[t.str];var r=e.peekLexeme();if(void 0==r){var i="expecting term, found nothing";throw new A.QueryParseError(i,t.start,t.end)}if(r.type===A.QueryLexer.TERM)return A.QueryParser.parseTerm;var i="expecting term, found '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}},A.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(void 0!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(void 0==n){e.nextClause();return}switch(n.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new A.QueryParseError(i,n.start,n.end)}}},A.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.editDistance=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},A.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="boost must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.boost=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},O=0,L=function(){return A},"function"==typeof define&&define.amd?define(L):e.exports=L()}()},75322:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>v});var i=n("5485"),r=n.n(i),s=n("74802");s.Z.tokenizer.separator=/[\s\-/]+/;let o=class e{constructor(e,t,n="/",i){this.searchDocs=e,this.lunrIndex=s.Z.Index.load(t),this.baseUrl=n,this.maxHits=i}getLunrResult(e){return this.lunrIndex.query(function(t){let n=s.Z.tokenizer(e);t.term(n,{boost:10}),t.term(n,{wildcard:s.Z.Query.wildcard.TRAILING})})}getHit(e,t,n){return{hierarchy:{lvl0:e.pageTitle||e.title,lvl1:0===e.type?null:e.title},url:e.url,version:e.version,_snippetResult:n?{content:{value:n,matchLevel:"full"}}:null,_highlightResult:{hierarchy:{lvl0:{value:0===e.type?t||e.title:e.pageTitle},lvl1:0===e.type?null:{value:t||e.title}}}}}getTitleHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title.substring(0,i)+''+e.title.substring(i,r)+""+e.title.substring(r,e.title.length);return this.getHit(e,s)}getKeywordHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title+"
    Keywords: "+e.keywords.substring(0,i)+''+e.keywords.substring(i,r)+""+e.keywords.substring(r,e.keywords.length)+"";return this.getHit(e,s)}getContentHit(e,t){let n=t[0],i=t[0]+t[1],r=n,s=i,o=!0,a=!0;for(let t=0;t<3;t++){let t=e.content.lastIndexOf(" ",r-2),n=e.content.lastIndexOf(".",r-2);if(n>0&&n>t){r=n+1,o=!1;break}if(t<0){r=0,o=!1;break}r=t+1}for(let t=0;t<10;t++){let t=e.content.indexOf(" ",s+1),n=e.content.indexOf(".",s+1);if(n>0&&n",u+=e.content.substring(i,s),a&&(u+=" ..."),this.getHit(e,null,u)}search(e){return new Promise((t,n)=>{let i=this.getLunrResult(e),r=[];i.length>this.maxHits&&(i.length=this.maxHits),this.titleHitsRes=[],this.contentHitsRes=[],i.forEach(t=>{let n=this.searchDocs[t.ref],{metadata:i}=t.matchData;for(let s in i)if(i[s].title){if(!this.titleHitsRes.includes(t.ref)){let o=i[s].title.position[0];r.push(this.getTitleHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}else if(i[s].content){let e=i[s].content.position[0];r.push(this.getContentHit(n,e))}else if(i[s].keywords){let o=i[s].keywords.position[0];r.push(this.getKeywordHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}),r.length>this.maxHits&&(r.length=this.maxHits),t(r)})}};var a=n("71639"),u=n.n(a);let c="algolia-docsearch",l=`${c}-suggestion`,h=`${c}-footer`,p={suggestion:` +
    +
    + {{{category}}} +
    +
    +
    + {{{subcategory}}} +
    + {{#isTextOrSubcategoryNonEmpty}} +
    +
    {{{subcategory}}}
    +
    {{{title}}}
    + {{#text}}
    {{{text}}}
    {{/text}} + {{#version}}
    {{version}}
    {{/version}} +
    + {{/isTextOrSubcategoryNonEmpty}} +
    +
    + `,suggestionSimple:` +
    +
    + {{^isLvl0}} + {{{category}}} + {{^isLvl1}} + {{^isLvl1EmptyOrDuplicate}} + + {{{subcategory}}} + + {{/isLvl1EmptyOrDuplicate}} + {{/isLvl1}} + {{/isLvl0}} +
    + {{#isLvl2}} + {{{title}}} + {{/isLvl2}} + {{#isLvl1}} + {{{subcategory}}} + {{/isLvl1}} + {{#isLvl0}} + {{{category}}} + {{/isLvl0}} +
    +
    +
    + {{#text}} +
    +
    {{{text}}}
    +
    + {{/text}} +
    +
    + `,footer:` +
    +
    + `,empty:` +
    +
    +
    +
    +
    + No results found for query "{{query}}" +
    +
    +
    +
    +
    + `,searchBox:` + + + + `};var d=n("7939"),f=n.n(d);let g={mergeKeyWithParent(e,t){if(void 0===e[t]||"object"!=typeof e[t])return e;let n=f().extend({},e,e[t]);return delete n[t],n},groupBy(e,t){let n={};return f().each(e,(e,i)=>{if(void 0===i[t])throw Error(`[groupBy]: Object has no key ${t}`);let r=i[t];"string"==typeof r&&(r=r.toLowerCase()),!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=[]),n[r].push(i)}),n},values:e=>Object.keys(e).map(t=>e[t]),flatten(e){let t=[];return e.forEach(e=>{if(!Array.isArray(e)){t.push(e);return}e.forEach(e=>{t.push(e)})}),t},flattenAndFlagFirst(e,t){let n=this.values(e).map(e=>e.map((e,n)=>(e[t]=0===n,e)));return this.flatten(n)},compact(e){let t=[];return e.forEach(e=>{if(!!e)t.push(e)}),t},getHighlightedValue:(e,t)=>e._highlightResult&&e._highlightResult.hierarchy_camel&&e._highlightResult.hierarchy_camel[t]&&e._highlightResult.hierarchy_camel[t].matchLevel&&"none"!==e._highlightResult.hierarchy_camel[t].matchLevel&&e._highlightResult.hierarchy_camel[t].value?e._highlightResult.hierarchy_camel[t].value:e._highlightResult&&e._highlightResult&&e._highlightResult[t]&&e._highlightResult[t].value?e._highlightResult[t].value:e[t],getSnippetedValue(e,t){if(!e._snippetResult||!e._snippetResult[t]||!e._snippetResult[t].value)return e[t];let n=e._snippetResult[t].value;return n[0]!==n[0].toUpperCase()&&(n=`\u{2026}${n}`),-1===[".","!","?"].indexOf(n[n.length-1])&&(n=`${n}\u{2026}`),n},deepClone:e=>JSON.parse(JSON.stringify(e))};class m{constructor({searchDocs:e,searchIndex:t,inputSelector:n,debug:i=!1,baseUrl:r="/",queryDataCallback:s=null,autocompleteOptions:a={debug:!1,hint:!1,autoselect:!0},transformData:c=!1,queryHook:l=!1,handleSelected:h=!1,enhancedSearchInput:d=!1,layout:g="column",maxHits:v=5}){this.input=m.getInputFromSelector(n),this.queryDataCallback=s||null;let y=!!a&&!!a.debug&&a.debug;a.debug=i||y,this.autocompleteOptions=a,this.autocompleteOptions.cssClasses=this.autocompleteOptions.cssClasses||{},this.autocompleteOptions.cssClasses.prefix=this.autocompleteOptions.cssClasses.prefix||"ds";let x=this.input&&"function"==typeof this.input.attr&&this.input.attr("aria-label");this.autocompleteOptions.ariaLabel=this.autocompleteOptions.ariaLabel||x||"search input",this.isSimpleLayout="simple"===g,this.client=new o(e,t,r,v),d&&(this.input=m.injectSearchBox(this.input)),this.autocomplete=u()(this.input,a,[{source:this.getAutocompleteSource(c,l),templates:{suggestion:m.getSuggestionTemplate(this.isSimpleLayout),footer:p.footer,empty:m.getEmptyTemplate()}}]);this.handleSelected=h||this.handleSelected,h&&f()(".algolia-autocomplete").on("click",".ds-suggestions a",e=>{e.preventDefault()}),this.autocomplete.on("autocomplete:selected",this.handleSelected.bind(null,this.autocomplete.autocomplete)),this.autocomplete.on("autocomplete:shown",this.handleShown.bind(null,this.input)),d&&m.bindSearchBoxEvent(),document.addEventListener("keydown",e=>{(e.ctrlKey||e.metaKey)&&"k"==e.key&&(this.input.focus(),e.preventDefault())})}static injectSearchBox(e){e.before(p.searchBox);let t=e.prev().prev().find("input");return e.remove(),t}static bindSearchBoxEvent(){f()('.searchbox [type="reset"]').on("click",function(){f()("input#docsearch").focus(),f()(this).addClass("hide"),u().autocomplete.setVal("")}),f()("input#docsearch").on("keyup",()=>{let e=document.querySelector("input#docsearch"),t=document.querySelector('.searchbox [type="reset"]');t.className="searchbox__reset",0===e.value.length&&(t.className+=" hide")})}static getInputFromSelector(e){let t=f()(e).filter("input");return t.length?f()(t[0]):null}getAutocompleteSource(e,t){return(n,i)=>{t&&(n=t(n)||n),this.client.search(n).then(t=>{this.queryDataCallback&&"function"==typeof this.queryDataCallback&&this.queryDataCallback(t),e&&(t=e(t)||t),i(m.formatHits(t))})}}static formatHits(e){let t=g.deepClone(e).map(e=>(e._highlightResult&&(e._highlightResult=g.mergeKeyWithParent(e._highlightResult,"hierarchy")),g.mergeKeyWithParent(e,"hierarchy"))),n=g.groupBy(t,"lvl0");return f().each(n,(e,t)=>{let i=g.groupBy(t,"lvl1"),r=g.flattenAndFlagFirst(i,"isSubCategoryHeader");n[e]=r}),(n=g.flattenAndFlagFirst(n,"isCategoryHeader")).map(e=>{let t=m.formatURL(e),n=g.getHighlightedValue(e,"lvl0"),i=g.getHighlightedValue(e,"lvl1")||n,r=g.compact([g.getHighlightedValue(e,"lvl2")||i,g.getHighlightedValue(e,"lvl3"),g.getHighlightedValue(e,"lvl4"),g.getHighlightedValue(e,"lvl5"),g.getHighlightedValue(e,"lvl6")]).join(''),s=g.getSnippetedValue(e,"content"),o=i&&""!==i||r&&""!==r,a=!i||""===i||i===n,u=r&&""!==r&&r!==i,c=!u&&i&&""!==i&&i!==n,l=e.version;return{isLvl0:!c&&!u,isLvl1:c,isLvl2:u,isLvl1EmptyOrDuplicate:a,isCategoryHeader:e.isCategoryHeader,isSubCategoryHeader:e.isSubCategoryHeader,isTextOrSubcategoryNonEmpty:o,category:n,subcategory:i,title:r,text:s,url:t,version:l}})}static formatURL(e){let{url:t,anchor:n}=e;if(t){if(-1!==t.indexOf("#"));else if(n)return`${e.url}#${e.anchor}`;return t}return n?`#${e.anchor}`:(console.warn("no anchor nor url for : ",JSON.stringify(e)),null)}static getEmptyTemplate(){return e=>r().compile(p.empty).render(e)}static getSuggestionTemplate(e){let t=e?p.suggestionSimple:p.suggestion,n=r().compile(t);return e=>n.render(e)}handleSelected(e,t,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if("click"!==r.selectionMethod)e.setVal(""),window.location.assign(n.url)}handleShown(e){let t=e.offset().left+e.width()/2,n=f()(document).width()/2;isNaN(n)&&(n=900);let i=t-n>=0?"algolia-autocomplete-right":"algolia-autocomplete-left",r=t-n<0?"algolia-autocomplete-right":"algolia-autocomplete-left",s=f()(".algolia-autocomplete");!s.hasClass(i)&&s.addClass(i),s.hasClass(r)&&s.removeClass(r)}}let v=m}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/447.c6aeb1bf.js b/pr-preview/pr-5/assets/js/447.c6aeb1bf.js new file mode 100644 index 0000000..fe4d69f --- /dev/null +++ b/pr-preview/pr-5/assets/js/447.c6aeb1bf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["447"],{17232:function(t,e,i){i.d(e,{diagram:function(){return L}});var a=i(5995),n=i(27818),s=function(){var t=(0,a.eW)(function(t,e,i,a){for(i=i||{},a=t.length;a--;i[t[a]]=e);return i},"o"),e=[1,3],i=[1,4],n=[1,5],s=[1,6],r=[1,7],l=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],o=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],h=[55,56,57],c=[2,36],d=[1,37],u=[1,36],x=[1,38],g=[1,35],f=[1,43],y=[1,41],p=[1,14],T=[1,23],m=[1,18],q=[1,19],_=[1,20],A=[1,21],b=[1,22],k=[1,24],S=[1,25],F=[1,26],P=[1,27],v=[1,28],C=[1,29],W=[1,32],L=[1,33],E=[1,34],D=[1,39],z=[1,40],I=[1,42],w=[1,44],N=[1,62],B=[1,61],R=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],$=[1,65],U=[1,66],O=[1,67],M=[1,68],Q=[1,69],X=[1,70],Y=[1,71],Z=[1,72],H=[1,73],j=[1,74],K=[1,75],G=[1,76],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],tt=[1,91],te=[1,92],ti=[1,99],ta=[1,93],tn=[1,96],ts=[1,94],tr=[1,95],tl=[1,97],to=[1,98],th=[1,102],tc=[10,55,56,57],td=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],tu={trace:(0,a.eW)(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:(0,a.eW)(function(t,e,i,a,n,s,r){var l=s.length-1;switch(n){case 23:case 68:this.$=s[l];break;case 24:this.$=s[l-1]+""+s[l];break;case 26:this.$=s[l-1]+s[l];break;case 27:this.$=[s[l].trim()];break;case 28:s[l-2].push(s[l].trim()),this.$=s[l-2];break;case 29:this.$=s[l-4],a.addClass(s[l-2],s[l]);break;case 37:this.$=[];break;case 42:this.$=s[l].trim(),a.setDiagramTitle(this.$);break;case 43:this.$=s[l].trim(),a.setAccTitle(this.$);break;case 44:case 45:this.$=s[l].trim(),a.setAccDescription(this.$);break;case 46:a.addSection(s[l].substr(8)),this.$=s[l].substr(8);break;case 47:a.addPoint(s[l-3],"",s[l-1],s[l],[]);break;case 48:a.addPoint(s[l-4],s[l-3],s[l-1],s[l],[]);break;case 49:a.addPoint(s[l-4],"",s[l-2],s[l-1],s[l]);break;case 50:a.addPoint(s[l-5],s[l-4],s[l-2],s[l-1],s[l]);break;case 51:a.setXAxisLeftText(s[l-2]),a.setXAxisRightText(s[l]);break;case 52:s[l-1].text+=" \u27F6 ",a.setXAxisLeftText(s[l-1]);break;case 53:a.setXAxisLeftText(s[l]);break;case 54:a.setYAxisBottomText(s[l-2]),a.setYAxisTopText(s[l]);break;case 55:s[l-1].text+=" \u27F6 ",a.setYAxisBottomText(s[l-1]);break;case 56:a.setYAxisBottomText(s[l]);break;case 57:a.setQuadrant1Text(s[l]);break;case 58:a.setQuadrant2Text(s[l]);break;case 59:a.setQuadrant3Text(s[l]);break;case 60:a.setQuadrant4Text(s[l]);break;case 64:case 66:this.$={text:s[l],type:"text"};break;case 65:this.$={text:s[l-1].text+""+s[l],type:s[l-1].type};break;case 67:this.$={text:s[l],type:"markdown"};break;case 69:this.$=s[l-1]+""+s[l]}},"anonymous"),table:[{18:e,26:1,27:2,28:i,55:n,56:s,57:r},{1:[3]},{18:e,26:8,27:2,28:i,55:n,56:s,57:r},{18:e,26:9,27:2,28:i,55:n,56:s,57:r},t(l,[2,33],{29:10}),t(o,[2,61]),t(o,[2,62]),t(o,[2,63]),{1:[2,30]},{1:[2,31]},t(h,c,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:u,10:x,12:g,13:f,14:y,18:p,25:T,35:m,37:q,39:_,41:A,42:b,48:k,50:S,51:F,52:P,53:v,54:C,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),t(l,[2,34]),{27:45,55:n,56:s,57:r},t(h,[2,37]),t(h,c,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:u,10:x,12:g,13:f,14:y,18:p,25:T,35:m,37:q,39:_,41:A,42:b,48:k,50:S,51:F,52:P,53:v,54:C,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),t(h,[2,39]),t(h,[2,40]),t(h,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(h,[2,45]),t(h,[2,46]),{18:[1,50]},{4:d,5:u,10:x,12:g,13:f,14:y,43:51,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:52,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:53,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:54,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:55,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,10:x,12:g,13:f,14:y,43:56,58:31,60:W,61:L,63:E,64:D,65:z,66:I,67:w},{4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,44:[1,57],47:[1,58],58:60,59:59,63:E,64:D,65:z,66:I,67:w},t(R,[2,64]),t(R,[2,66]),t(R,[2,67]),t(R,[2,70]),t(R,[2,71]),t(R,[2,72]),t(R,[2,73]),t(R,[2,74]),t(R,[2,75]),t(R,[2,76]),t(R,[2,77]),t(R,[2,78]),t(R,[2,79]),t(R,[2,80]),t(l,[2,35]),t(h,[2,38]),t(h,[2,42]),t(h,[2,43]),t(h,[2,44]),{3:64,4:$,5:U,6:O,7:M,8:Q,9:X,10:Y,11:Z,12:H,13:j,14:K,15:G,21:63},t(h,[2,53],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,49:[1,77],63:E,64:D,65:z,66:I,67:w}),t(h,[2,56],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,49:[1,78],63:E,64:D,65:z,66:I,67:w}),t(h,[2,57],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,58],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,59],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,60],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),{45:[1,79]},{44:[1,80]},t(R,[2,65]),t(R,[2,81]),t(R,[2,82]),t(R,[2,83]),{3:82,4:$,5:U,6:O,7:M,8:Q,9:X,10:Y,11:Z,12:H,13:j,14:K,15:G,18:[1,81]},t(V,[2,23]),t(V,[2,1]),t(V,[2,2]),t(V,[2,3]),t(V,[2,4]),t(V,[2,5]),t(V,[2,6]),t(V,[2,7]),t(V,[2,8]),t(V,[2,9]),t(V,[2,10]),t(V,[2,11]),t(V,[2,12]),t(h,[2,52],{58:31,43:83,4:d,5:u,10:x,12:g,13:f,14:y,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),t(h,[2,55],{58:31,43:84,4:d,5:u,10:x,12:g,13:f,14:y,60:W,61:L,63:E,64:D,65:z,66:I,67:w}),{46:[1,85]},{45:[1,86]},{4:J,5:tt,6:te,8:ti,11:ta,13:tn,16:89,17:ts,18:tr,19:tl,20:to,22:88,23:87},t(V,[2,24]),t(h,[2,51],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,54],{59:59,58:60,4:d,5:u,8:N,10:x,12:g,13:f,14:y,18:B,63:E,64:D,65:z,66:I,67:w}),t(h,[2,47],{22:88,16:89,23:100,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to}),{46:[1,101]},t(h,[2,29],{10:th}),t(tc,[2,27],{16:103,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to}),t(td,[2,25]),t(td,[2,13]),t(td,[2,14]),t(td,[2,15]),t(td,[2,16]),t(td,[2,17]),t(td,[2,18]),t(td,[2,19]),t(td,[2,20]),t(td,[2,21]),t(td,[2,22]),t(h,[2,49],{10:th}),t(h,[2,48],{22:88,16:89,23:104,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to}),{4:J,5:tt,6:te,8:ti,11:ta,13:tn,16:89,17:ts,18:tr,19:tl,20:to,22:105},t(td,[2,26]),t(h,[2,50],{10:th}),t(tc,[2,28],{16:103,4:J,5:tt,6:te,8:ti,11:ta,13:tn,17:ts,18:tr,19:tl,20:to})],defaultActions:{8:[2,30],9:[2,31]},parseError:(0,a.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,a.eW)(function(t){var e=this,i=[0],n=[],s=[null],r=[],l=this.table,o="",h=0,c=0,d=0,u=r.slice.call(arguments,1),x=Object.create(this.lexer),g={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(g.yy[f]=this.yy[f]);x.setInput(t,g.yy),g.yy.lexer=x,g.yy.parser=this,void 0===x.yylloc&&(x.yylloc={});var y=x.yylloc;r.push(y);var p=x.options&&x.options.ranges;"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function T(){var t;return"number"!=typeof(t=n.pop()||x.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}(0,a.eW)(function(t){i.length=i.length-2*t,s.length=s.length-t,r.length=r.length-t},"popStack"),(0,a.eW)(T,"lex");for(var m,q,_,A,b,k,S,F,P,v={};;){if(_=i[i.length-1],this.defaultActions[_]?A=this.defaultActions[_]:(null==m&&(m=T()),A=l[_]&&l[_][m]),void 0===A||!A.length||!A[0]){var C="";for(k in P=[],l[_])this.terminals_[k]&&k>2&&P.push("'"+this.terminals_[k]+"'");C=x.showPosition?"Parse error on line "+(h+1)+":\n"+x.showPosition()+"\nExpecting "+P.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(C,{text:x.match,token:this.terminals_[m]||m,line:x.yylineno,loc:y,expected:P})}if(A[0]instanceof Array&&A.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+m);switch(A[0]){case 1:i.push(m),s.push(x.yytext),r.push(x.yylloc),i.push(A[1]),m=null,q?(m=q,q=null):(c=x.yyleng,o=x.yytext,h=x.yylineno,y=x.yylloc,d>0&&d--);break;case 2:if(S=this.productions_[A[1]][1],v.$=s[s.length-S],v._$={first_line:r[r.length-(S||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(S||1)].first_column,last_column:r[r.length-1].last_column},p&&(v._$.range=[r[r.length-(S||1)].range[0],r[r.length-1].range[1]]),void 0!==(b=this.performAction.apply(v,[o,c,h,g.yy,A[1],s,r].concat(u))))return b;S&&(i=i.slice(0,-1*S*2),s=s.slice(0,-1*S),r=r.slice(0,-1*S)),i.push(this.productions_[A[1]][0]),s.push(v.$),r.push(v._$),F=l[i[i.length-2]][i[i.length-1]],i.push(F);break;case 3:return!0}}return!0},"parse")},tx={EOF:1,parseError:(0,a.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.eW)(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},"setInput"),input:(0,a.eW)(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},"input"),unput:(0,a.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===a.length?this.yylloc.first_column:0)+a[a.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,a.eW)(function(){return this._more=!0,this},"more"),reject:(0,a.eW)(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})},"reject"),less:(0,a.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.eW)(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,"")},"upcomingInput"),showPosition:(0,a.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.eW)(function(t,e){var i,a,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},"test_match"),next:(0,a.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,a,n=this._currentRules(),s=0;se[0].length)){if(e=i,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,n[a]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,a.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,a.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,a.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.eW)(function(t,e,i,a){switch(i){case 0:case 1:case 3:break;case 2:return 55;case 4:return this.begin("title"),35;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),37;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),39;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 23:case 25:case 31:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 24:this.begin("string");break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;case 29:return this.begin("point_start"),44;case 30:return this.begin("point_x"),45;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;case 34:return 28;case 35:return 4;case 36:return 11;case 37:return 64;case 38:return 10;case 39:case 40:return 65;case 41:return 14;case 42:return 13;case 43:return 67;case 44:return 66;case 45:return 12;case 46:return 8;case 47:return 5;case 48:return 18;case 49:return 56;case 50:return 63;case 51:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}};function tg(){this.yy={}}return tu.lexer=tx,(0,a.eW)(tg,"Parser"),tg.prototype=tu,tu.Parser=tg,new tg}();s.parser=s;var r=(0,a.xN)(),l=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{(0,a.eW)(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:a.vZ.quadrantChart?.chartWidth||500,chartWidth:a.vZ.quadrantChart?.chartHeight||500,titlePadding:a.vZ.quadrantChart?.titlePadding||10,titleFontSize:a.vZ.quadrantChart?.titleFontSize||20,quadrantPadding:a.vZ.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:a.vZ.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:a.vZ.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:a.vZ.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:a.vZ.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:a.vZ.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:a.vZ.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:a.vZ.quadrantChart?.pointTextPadding||5,pointLabelFontSize:a.vZ.quadrantChart?.pointLabelFontSize||12,pointRadius:a.vZ.quadrantChart?.pointRadius||5,xAxisPosition:a.vZ.quadrantChart?.xAxisPosition||"top",yAxisPosition:a.vZ.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:a.vZ.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:a.vZ.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:r.quadrant1Fill,quadrant2Fill:r.quadrant2Fill,quadrant3Fill:r.quadrant3Fill,quadrant4Fill:r.quadrant4Fill,quadrant1TextFill:r.quadrant1TextFill,quadrant2TextFill:r.quadrant2TextFill,quadrant3TextFill:r.quadrant3TextFill,quadrant4TextFill:r.quadrant4TextFill,quadrantPointFill:r.quadrantPointFill,quadrantPointTextFill:r.quadrantPointTextFill,quadrantXAxisTextFill:r.quadrantXAxisTextFill,quadrantYAxisTextFill:r.quadrantYAxisTextFill,quadrantTitleFill:r.quadrantTitleFill,quadrantInternalBorderStrokeFill:r.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:r.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,a.cM.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}addClass(t,e){this.classes.set(t,e)}setConfig(t){a.cM.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){a.cM.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,e,i,a){let n=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,s={top:"top"===t&&e?n:0,bottom:"bottom"===t&&e?n:0},r=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,l={left:"left"===this.config.yAxisPosition&&i?r:0,right:"right"===this.config.yAxisPosition&&i?r:0},o=this.config.titleFontSize+2*this.config.titlePadding,h={top:a?o:0},c=this.config.quadrantPadding+l.left,d=this.config.quadrantPadding+s.top+h.top,u=this.config.chartWidth-2*this.config.quadrantPadding-l.left-l.right,x=this.config.chartHeight-2*this.config.quadrantPadding-s.top-s.bottom-h.top;return{xAxisSpace:s,yAxisSpace:l,titleSpace:h,quadrantSpace:{quadrantLeft:c,quadrantTop:d,quadrantWidth:u,quadrantHalfWidth:u/2,quadrantHeight:x,quadrantHalfHeight:x/2}}}getAxisLabels(t,e,i,a){let{quadrantSpace:n,titleSpace:s}=a,{quadrantHalfHeight:r,quadrantHeight:l,quadrantLeft:o,quadrantHalfWidth:h,quadrantTop:c,quadrantWidth:d}=n,u=!!this.data.xAxisRightText,x=!!this.data.yAxisTopText,g=[];return this.data.xAxisLeftText&&e&&g.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&e&&g.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+h+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&i&&g.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+l-(x?r/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&i&&g.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+r-(x?r/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),g}getQuadrants(t){let{quadrantSpace:e}=t,{quadrantHalfHeight:i,quadrantLeft:a,quadrantHalfWidth:n,quadrantTop:s}=e,r=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:s,width:n,height:i,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:s,width:n,height:i,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:s+i,width:n,height:i,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:s+i,width:n,height:i,fill:this.themeConfig.quadrant4Fill}];for(let t of r)t.text.x=t.x+t.width/2,0===this.data.points.length?(t.text.y=t.y+t.height/2,t.text.horizontalPos="middle"):(t.text.y=t.y+this.config.quadrantTextTopPadding,t.text.horizontalPos="top");return r}getQuadrantPoints(t){let{quadrantSpace:e}=t,{quadrantHeight:i,quadrantLeft:a,quadrantTop:s,quadrantWidth:r}=e,l=(0,n.BYU)().domain([0,1]).range([a,r+a]),o=(0,n.BYU)().domain([0,1]).range([i+s,s]);return this.data.points.map(t=>{let e=this.classes.get(t.className);return e&&(t={...e,...t}),{x:l(t.x),y:o(t.y),fill:t.color??this.themeConfig.quadrantPointFill,radius:t.radius??this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:l(t.x),y:o(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:t.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:t.strokeWidth??"0px"}})}getBorders(t){let e=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:i}=t,{quadrantHalfHeight:a,quadrantHeight:n,quadrantLeft:s,quadrantHalfWidth:r,quadrantTop:l,quadrantWidth:o}=i;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-e,y1:l,x2:s+o+e,y2:l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s+o,y1:l+e,x2:s+o,y2:l+n-e},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-e,y1:l+n,x2:s+o+e,y2:l+n},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s,y1:l+e,x2:s,y2:l+n-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+r,y1:l+e,x2:s+r,y2:l+n-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+e,y1:l+a,x2:s+o-e,y2:l+a}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let t=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),e=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),i=this.config.showTitle&&!!this.data.titleText,a=this.data.points.length>0?"bottom":this.config.xAxisPosition,n=this.calculateSpace(a,t,e,i);return{points:this.getQuadrantPoints(n),quadrants:this.getQuadrants(n),axisLabels:this.getAxisLabels(a,t,e,n),borderLines:this.getBorders(n),title:this.getTitle(i)}}},o=class extends Error{static{(0,a.eW)(this,"InvalidStyleError")}constructor(t,e,i){super(`value for ${t} ${e} is invalid, please use a valid ${i}`),this.name="InvalidStyleError"}};function h(t){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t)}function c(t){return!/^\d+$/.test(t)}function d(t){return!/^\d+px$/.test(t)}(0,a.eW)(h,"validateHexCode"),(0,a.eW)(c,"validateNumber"),(0,a.eW)(d,"validateSizeInPixels");var u=(0,a.nV)();function x(t){return(0,a.oO)(t.trim(),u)}(0,a.eW)(x,"textSanitizer");var g=new l;function f(t){g.setData({quadrant1Text:x(t.text)})}function y(t){g.setData({quadrant2Text:x(t.text)})}function p(t){g.setData({quadrant3Text:x(t.text)})}function T(t){g.setData({quadrant4Text:x(t.text)})}function m(t){g.setData({xAxisLeftText:x(t.text)})}function q(t){g.setData({xAxisRightText:x(t.text)})}function _(t){g.setData({yAxisTopText:x(t.text)})}function A(t){g.setData({yAxisBottomText:x(t.text)})}function b(t){let e={};for(let i of t){let[t,a]=i.trim().split(/\s*:\s*/);if("radius"===t){if(c(a))throw new o(t,a,"number");e.radius=parseInt(a)}else if("color"===t){if(h(a))throw new o(t,a,"hex code");e.color=a}else if("stroke-color"===t){if(h(a))throw new o(t,a,"hex code");e.strokeColor=a}else if("stroke-width"===t){if(d(a))throw new o(t,a,"number of pixels (eg. 10px)");e.strokeWidth=a}else throw Error(`style named ${t} is not supported.`)}return e}function k(t,e,i,a,n){let s=b(n);g.addPoints([{x:i,y:a,text:x(t.text),className:e,...s}])}function S(t,e){g.addClass(t,b(e))}function F(t){g.setConfig({chartWidth:t})}function P(t){g.setConfig({chartHeight:t})}function v(){let{themeVariables:t,quadrantChart:e}=(0,a.nV)();return e&&g.setConfig(e),g.setThemeConfig({quadrant1Fill:t.quadrant1Fill,quadrant2Fill:t.quadrant2Fill,quadrant3Fill:t.quadrant3Fill,quadrant4Fill:t.quadrant4Fill,quadrant1TextFill:t.quadrant1TextFill,quadrant2TextFill:t.quadrant2TextFill,quadrant3TextFill:t.quadrant3TextFill,quadrant4TextFill:t.quadrant4TextFill,quadrantPointFill:t.quadrantPointFill,quadrantPointTextFill:t.quadrantPointTextFill,quadrantXAxisTextFill:t.quadrantXAxisTextFill,quadrantYAxisTextFill:t.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:t.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:t.quadrantInternalBorderStrokeFill,quadrantTitleFill:t.quadrantTitleFill}),g.setData({titleText:(0,a.Kr)()}),g.build()}(0,a.eW)(f,"setQuadrant1Text"),(0,a.eW)(y,"setQuadrant2Text"),(0,a.eW)(p,"setQuadrant3Text"),(0,a.eW)(T,"setQuadrant4Text"),(0,a.eW)(m,"setXAxisLeftText"),(0,a.eW)(q,"setXAxisRightText"),(0,a.eW)(_,"setYAxisTopText"),(0,a.eW)(A,"setYAxisBottomText"),(0,a.eW)(b,"parseStyles"),(0,a.eW)(k,"addPoint"),(0,a.eW)(S,"addClass"),(0,a.eW)(F,"setWidth"),(0,a.eW)(P,"setHeight"),(0,a.eW)(v,"getQuadrantData");var C={setWidth:F,setHeight:P,setQuadrant1Text:f,setQuadrant2Text:y,setQuadrant3Text:p,setQuadrant4Text:T,setXAxisLeftText:m,setXAxisRightText:q,setYAxisTopText:_,setYAxisBottomText:A,parseStyles:b,addPoint:k,addClass:S,getQuadrantData:v,clear:(0,a.eW)(function(){g.clear(),(0,a.ZH)()},"clear"),setAccTitle:a.GN,getAccTitle:a.eu,setDiagramTitle:a.g2,getDiagramTitle:a.Kr,getAccDescription:a.Mx,setAccDescription:a.U$},W=(0,a.eW)((t,e,i,s)=>{let r;function l(t){return"top"===t?"hanging":"middle"}function o(t){return"left"===t?"start":"middle"}function h(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,a.eW)(l,"getDominantBaseLine"),(0,a.eW)(o,"getTextAnchor"),(0,a.eW)(h,"getTransformation");let c=(0,a.nV)();a.cM.debug("Rendering quadrant chart\n"+t);let d=c.securityLevel;"sandbox"===d&&(r=(0,n.Ys)("#i"+e));let u=("sandbox"===d?(0,n.Ys)(r.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id="${e}"]`),x=u.append("g").attr("class","main"),g=c.quadrantChart?.chartWidth??500,f=c.quadrantChart?.chartHeight??500;(0,a.v2)(u,f,g,c.quadrantChart?.useMaxWidth??!0),u.attr("viewBox","0 0 "+g+" "+f),s.db.setHeight(f),s.db.setWidth(g);let y=s.db.getQuadrantData(),p=x.append("g").attr("class","quadrants"),T=x.append("g").attr("class","border"),m=x.append("g").attr("class","data-points"),q=x.append("g").attr("class","labels"),_=x.append("g").attr("class","title");y.title&&_.append("text").attr("x",0).attr("y",0).attr("fill",y.title.fill).attr("font-size",y.title.fontSize).attr("dominant-baseline",l(y.title.horizontalPos)).attr("text-anchor",o(y.title.verticalPos)).attr("transform",h(y.title)).text(y.title.text),y.borderLines&&T.selectAll("line").data(y.borderLines).enter().append("line").attr("x1",t=>t.x1).attr("y1",t=>t.y1).attr("x2",t=>t.x2).attr("y2",t=>t.y2).style("stroke",t=>t.strokeFill).style("stroke-width",t=>t.strokeWidth);let A=p.selectAll("g.quadrant").data(y.quadrants).enter().append("g").attr("class","quadrant");A.append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill),A.append("text").attr("x",0).attr("y",0).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>l(t.text.horizontalPos)).attr("text-anchor",t=>o(t.text.verticalPos)).attr("transform",t=>h(t.text)).text(t=>t.text.text),q.selectAll("g.label").data(y.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(t=>t.text).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>l(t.horizontalPos)).attr("text-anchor",t=>o(t.verticalPos)).attr("transform",t=>h(t));let b=m.selectAll("g.data-point").data(y.points).enter().append("g").attr("class","data-point");b.append("circle").attr("cx",t=>t.x).attr("cy",t=>t.y).attr("r",t=>t.radius).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeColor).attr("stroke-width",t=>t.strokeWidth),b.append("text").attr("x",0).attr("y",0).text(t=>t.text.text).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>l(t.text.horizontalPos)).attr("text-anchor",t=>o(t.text.verticalPos)).attr("transform",t=>h(t.text))},"draw"),L={parser:s,db:C,renderer:{draw:W},styles:(0,a.eW)(()=>"","styles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/455d01c6.ebb4fcd7.js b/pr-preview/pr-5/assets/js/455d01c6.ebb4fcd7.js new file mode 100644 index 0000000..d7b0e5c --- /dev/null +++ b/pr-preview/pr-5/assets/js/455d01c6.ebb4fcd7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5706"],{29240:function(e,t,r){r.r(t),r.d(t,{metadata:()=>s,contentTitle:()=>i,default:()=>d,assets:()=>u,toc:()=>c,frontMatter:()=>n});var s=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_blog_post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","source":"@site/docs/docusaurus/tutorial_basics/create_a_blog_post.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_blog_post","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_blog_post.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":3,"frontMatter":{"sidebar_position":3},"sidebar":"tutorialSidebar","previous":{"title":"Create a Document","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document"},"next":{"title":"Markdown Features","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features"}}'),a=r("85893"),o=r("50065");let n={sidebar_position:3},i="Create a Blog Post",u={},c=[{value:"Create your first Post",id:"create-your-first-post",level:2}];function l(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"create-a-blog-post",children:"Create a Blog Post"})}),"\n",(0,a.jsxs)(t.p,{children:["Docusaurus creates a ",(0,a.jsx)(t.strong,{children:"page for each blog post"}),", but also a ",(0,a.jsx)(t.strong,{children:"blog index page"}),", a ",(0,a.jsx)(t.strong,{children:"tag system"}),", an ",(0,a.jsx)(t.strong,{children:"RSS"})," feed..."]}),"\n",(0,a.jsx)(t.h2,{id:"create-your-first-post",children:"Create your first Post"}),"\n",(0,a.jsxs)(t.p,{children:["Create a file at ",(0,a.jsx)(t.code,{children:"blog/2021-02-28-greetings.md"}),":"]}),"\n",(0,a.jsx)(t.pre,{children:(0,a.jsx)(t.code,{className:"language-md",metastring:'title="blog/2021-02-28-greetings.md"',children:"---\nslug: greetings\ntitle: Greetings!\nauthors:\n - name: Joel Marcey\n title: Co-creator of Docusaurus 1\n url: https://github.com/JoelMarcey\n image_url: https://github.com/JoelMarcey.png\n - name: S\xe9bastien Lorber\n title: Docusaurus maintainer\n url: https://sebastienlorber.com\n image_url: https://github.com/slorber.png\ntags: [greetings]\n---\n\nCongratulations, you have made your first post!\n\nFeel free to play around and edit this post as much as you like.\n"})}),"\n",(0,a.jsxs)(t.p,{children:["A new blog post is now available at ",(0,a.jsx)(t.a,{href:"http://localhost:3000/blog/greetings",children:"http://localhost:3000/blog/greetings"}),"."]})]})}function d(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}},50065:function(e,t,r){r.d(t,{Z:function(){return i},a:function(){return n}});var s=r(67294);let a={},o=s.createContext(a);function n(e){let t=s.useContext(o);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:n(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/4842.6de26794.js b/pr-preview/pr-5/assets/js/4842.6de26794.js new file mode 100644 index 0000000..a006d49 --- /dev/null +++ b/pr-preview/pr-5/assets/js/4842.6de26794.js @@ -0,0 +1,117 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4842"],{18825:function(t,e,a){a.d(e,{A:function(){return i}});var r=a(5995),i=class{constructor(t){this.init=t,this.records=this.init()}static{(0,r.eW)(this,"ImperativeState")}reset(){this.records=this.init()}}},98711:function(t,e,a){a.d(e,{AD:function(){return h},AE:function(){return c},Mu:function(){return s},O:function(){return n},kc:function(){return d},rB:function(){return l},yU:function(){return o}});var r=a(5995),i=a(17967),s=(0,r.eW)((t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),n=(0,r.eW)((t,e)=>{s(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),o=(0,r.eW)((t,e)=>{let a=e.text.replace(r.Vw," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),e.class&&i.attr("class",e.class);let s=i.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(a),i},"drawText"),c=(0,r.eW)((t,e,a,r)=>{let s=t.append("image");s.attr("x",e),s.attr("y",a);let n=(0,i.sanitizeUrl)(r);s.attr("xlink:href",n)},"drawImage"),l=(0,r.eW)((t,e,a,r)=>{let s=t.append("use");s.attr("x",e),s.attr("y",a);let n=(0,i.sanitizeUrl)(r);s.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),d=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=(0,r.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},52521:function(t,e,a){a.d(e,{diagram:function(){return tj}});var r=a(98711),i=a(18825),s=a(7690),n=a(5995),o=a(27818),c=a(17967),l=function(){var t=(0,n.eW)(function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a},"o"),e=[1,2],a=[1,3],r=[1,4],i=[2,4],s=[1,9],o=[1,11],c=[1,13],l=[1,14],d=[1,16],h=[1,17],p=[1,18],g=[1,24],u=[1,25],x=[1,26],y=[1,27],m=[1,28],b=[1,29],f=[1,30],T=[1,31],E=[1,32],w=[1,33],I=[1,34],L=[1,35],P=[1,36],_=[1,37],k=[1,38],v=[1,39],M=[1,41],A=[1,42],N=[1,43],S=[1,44],O=[1,45],D=[1,46],W=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],R=[4,5,16,50,52,53],Y=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],C=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],B=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],V=[68,69,70],F=[1,122],q={trace:(0,n.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:(0,n.eW)(function(t,e,a,r,i,s,n){var o=s.length-1;switch(i){case 3:return r.apply(s[o]),s[o];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:s[o-1].push(s[o]),this.$=s[o-1];break;case 6:case 7:case 11:case 12:case 62:this.$=s[o];break;case 15:s[o].type="createParticipant",this.$=s[o];break;case 16:s[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(s[o-2])}),s[o-1].push({type:"boxEnd",boxText:s[o-2]}),this.$=s[o-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(s[o-2]),sequenceIndexStep:Number(s[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(s[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:s[o-1].actor};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:s[o-1].actor};break;case 29:r.setDiagramTitle(s[o].substring(6)),this.$=s[o].substring(6);break;case 30:r.setDiagramTitle(s[o].substring(7)),this.$=s[o].substring(7);break;case 31:this.$=s[o].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=s[o].trim(),r.setAccDescription(this.$);break;case 34:s[o-1].unshift({type:"loopStart",loopText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.LOOP_START}),s[o-1].push({type:"loopEnd",loopText:s[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=s[o-1];break;case 35:s[o-1].unshift({type:"rectStart",color:r.parseMessage(s[o-2]),signalType:r.LINETYPE.RECT_START}),s[o-1].push({type:"rectEnd",color:r.parseMessage(s[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=s[o-1];break;case 36:s[o-1].unshift({type:"optStart",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.OPT_START}),s[o-1].push({type:"optEnd",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=s[o-1];break;case 37:s[o-1].unshift({type:"altStart",altText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.ALT_START}),s[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=s[o-1];break;case 38:s[o-1].unshift({type:"parStart",parText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.PAR_START}),s[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=s[o-1];break;case 39:s[o-1].unshift({type:"parStart",parText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),s[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=s[o-1];break;case 40:s[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.CRITICAL_START}),s[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=s[o-1];break;case 41:s[o-1].unshift({type:"breakStart",breakText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.BREAK_START}),s[o-1].push({type:"breakEnd",optText:r.parseMessage(s[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=s[o-1];break;case 43:this.$=s[o-3].concat([{type:"option",optionText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},s[o]]);break;case 45:this.$=s[o-3].concat([{type:"and",parText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.PAR_AND},s[o]]);break;case 47:this.$=s[o-3].concat([{type:"else",altText:r.parseMessage(s[o-1]),signalType:r.LINETYPE.ALT_ELSE},s[o]]);break;case 48:s[o-3].draw="participant",s[o-3].type="addParticipant",s[o-3].description=r.parseMessage(s[o-1]),this.$=s[o-3];break;case 49:s[o-1].draw="participant",s[o-1].type="addParticipant",this.$=s[o-1];break;case 50:s[o-3].draw="actor",s[o-3].type="addParticipant",s[o-3].description=r.parseMessage(s[o-1]),this.$=s[o-3];break;case 51:s[o-1].draw="actor",s[o-1].type="addParticipant",this.$=s[o-1];break;case 52:s[o-1].type="destroyParticipant",this.$=s[o-1];break;case 53:this.$=[s[o-1],{type:"addNote",placement:s[o-2],actor:s[o-1].actor,text:s[o]}];break;case 54:s[o-2]=[].concat(s[o-1],s[o-1]).slice(0,2),s[o-2][0]=s[o-2][0].actor,s[o-2][1]=s[o-2][1].actor,this.$=[s[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:s[o-2].slice(0,2),text:s[o]}];break;case 55:this.$=[s[o-1],{type:"addLinks",actor:s[o-1].actor,text:s[o]}];break;case 56:this.$=[s[o-1],{type:"addALink",actor:s[o-1].actor,text:s[o]}];break;case 57:this.$=[s[o-1],{type:"addProperties",actor:s[o-1].actor,text:s[o]}];break;case 58:this.$=[s[o-1],{type:"addDetails",actor:s[o-1].actor,text:s[o]}];break;case 61:this.$=[s[o-2],s[o]];break;case 63:this.$=r.PLACEMENT.LEFTOF;break;case 64:this.$=r.PLACEMENT.RIGHTOF;break;case 65:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:s[o-1].actor}];break;case 66:this.$=[s[o-4],s[o-1],{type:"addMessage",from:s[o-4].actor,to:s[o-1].actor,signalType:s[o-3],msg:s[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:s[o-4].actor}];break;case 67:this.$=[s[o-3],s[o-1],{type:"addMessage",from:s[o-3].actor,to:s[o-1].actor,signalType:s[o-2],msg:s[o]}];break;case 68:this.$={type:"addParticipant",actor:s[o]};break;case 69:this.$=r.LINETYPE.SOLID_OPEN;break;case 70:this.$=r.LINETYPE.DOTTED_OPEN;break;case 71:this.$=r.LINETYPE.SOLID;break;case 72:this.$=r.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=r.LINETYPE.DOTTED;break;case 74:this.$=r.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=r.LINETYPE.SOLID_CROSS;break;case 76:this.$=r.LINETYPE.DOTTED_CROSS;break;case 77:this.$=r.LINETYPE.SOLID_POINT;break;case 78:this.$=r.LINETYPE.DOTTED_POINT;break;case 79:this.$=r.parseMessage(s[o].trim().substring(1))}},"anonymous"),table:[{3:1,4:e,5:a,6:r},{1:[3]},{3:5,4:e,5:a,6:r},{3:6,4:e,5:a,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:o,8:8,9:10,12:12,13:c,14:l,17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},t(W,[2,5]),{9:47,12:12,13:c,14:l,17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},t(W,[2,7]),t(W,[2,8]),t(W,[2,14]),{12:48,50:_,52:k,53:v},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:D},{22:55,70:D},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(W,[2,29]),t(W,[2,30]),{32:[1,61]},{34:[1,62]},t(W,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:D},{22:72,70:D},{22:73,70:D},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:D},{22:90,70:D},{22:91,70:D},{22:92,70:D},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(W,[2,6]),t(W,[2,15]),t(R,[2,9],{10:93}),t(W,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(W,[2,21]),{5:[1,97]},{5:[1,98]},t(W,[2,24]),t(W,[2,25]),t(W,[2,26]),t(W,[2,27]),t(W,[2,28]),t(W,[2,31]),t(W,[2,32]),t(Y,i,{7:99}),t(Y,i,{7:100}),t(Y,i,{7:101}),t(C,i,{40:102,7:103}),t(B,i,{42:104,7:105}),t(B,i,{7:105,42:106}),t($,i,{45:107,7:108}),t(Y,i,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:D},t(V,[2,69]),t(V,[2,70]),t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),t(V,[2,77]),t(V,[2,78]),{22:118,70:D},{22:120,58:119,70:D},{70:[2,63]},{70:[2,64]},{56:121,81:F},{56:123,81:F},{56:124,81:F},{56:125,81:F},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:_,52:k,53:v},{5:[1,131]},t(W,[2,19]),t(W,[2,20]),t(W,[2,22]),t(W,[2,23]),{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,132],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,133],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,134],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{16:[1,135]},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,46],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,49:[1,136],50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{16:[1,137]},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,44],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,48:[1,138],50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{16:[1,139]},{16:[1,140]},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[2,42],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,47:[1,141],50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{4:s,5:o,8:8,9:10,12:12,13:c,14:l,16:[1,142],17:15,18:d,21:h,22:40,23:p,24:19,25:20,26:21,27:22,28:23,29:g,30:u,31:x,33:y,35:m,36:b,37:f,38:T,39:E,41:w,43:I,44:L,46:P,50:_,52:k,53:v,54:M,59:A,60:N,61:S,62:O,70:D},{15:[1,143]},t(W,[2,49]),{15:[1,144]},t(W,[2,51]),t(W,[2,52]),{22:145,70:D},{22:146,70:D},{56:147,81:F},{56:148,81:F},{56:149,81:F},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(W,[2,16]),t(R,[2,10]),{12:151,50:_,52:k,53:v},t(R,[2,12]),t(R,[2,13]),t(W,[2,18]),t(W,[2,34]),t(W,[2,35]),t(W,[2,36]),t(W,[2,37]),{15:[1,152]},t(W,[2,38]),{15:[1,153]},t(W,[2,39]),t(W,[2,40]),{15:[1,154]},t(W,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:F},{56:158,81:F},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:D},t(R,[2,11]),t(C,i,{7:103,40:160}),t(B,i,{7:105,42:161}),t($,i,{7:108,45:162}),t(W,[2,48]),t(W,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:(0,n.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},"parseError"),parse:(0,n.eW)(function(t){var e=this,a=[0],r=[],i=[null],s=[],o=this.table,c="",l=0,d=0,h=0,p=s.slice.call(arguments,1),g=Object.create(this.lexer),u={yy:{}};for(var x in this.yy)Object.prototype.hasOwnProperty.call(this.yy,x)&&(u.yy[x]=this.yy[x]);g.setInput(t,u.yy),u.yy.lexer=g,u.yy.parser=this,void 0===g.yylloc&&(g.yylloc={});var y=g.yylloc;s.push(y);var m=g.options&&g.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(){var t;return"number"!=typeof(t=r.pop()||g.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,n.eW)(function(t){a.length=a.length-2*t,i.length=i.length-t,s.length=s.length-t},"popStack"),(0,n.eW)(b,"lex");for(var f,T,E,w,I,L,P,_,k,v={};;){if(E=a[a.length-1],this.defaultActions[E]?w=this.defaultActions[E]:(null==f&&(f=b()),w=o[E]&&o[E][f]),void 0===w||!w.length||!w[0]){var M="";for(L in k=[],o[E])this.terminals_[L]&&L>2&&k.push("'"+this.terminals_[L]+"'");M=g.showPosition?"Parse error on line "+(l+1)+":\n"+g.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:g.match,token:this.terminals_[f]||f,line:g.yylineno,loc:y,expected:k})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+f);switch(w[0]){case 1:a.push(f),i.push(g.yytext),s.push(g.yylloc),a.push(w[1]),f=null,T?(f=T,T=null):(d=g.yyleng,c=g.yytext,l=g.yylineno,y=g.yylloc,h>0&&h--);break;case 2:if(P=this.productions_[w[1]][1],v.$=i[i.length-P],v._$={first_line:s[s.length-(P||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(P||1)].first_column,last_column:s[s.length-1].last_column},m&&(v._$.range=[s[s.length-(P||1)].range[0],s[s.length-1].range[1]]),void 0!==(I=this.performAction.apply(v,[c,d,l,u.yy,w[1],i,s].concat(p))))return I;P&&(a=a.slice(0,-1*P*2),i=i.slice(0,-1*P),s=s.slice(0,-1*P)),a.push(this.productions_[w[1]][0]),i.push(v.$),s.push(v._$),_=o[a[a.length-2]][a[a.length-1]],a.push(_);break;case 3:return!0}}return!0},"parse")},z={EOF:1,parseError:(0,n.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,n.eW)(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},"setInput"),input:(0,n.eW)(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},"input"),unput:(0,n.eW)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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),a.length-1&&(this.yylineno-=a.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:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[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},"unput"),more:(0,n.eW)(function(){return this._more=!0,this},"more"),reject:(0,n.eW)(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})},"reject"),less:(0,n.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,n.eW)(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,"")},"upcomingInput"),showPosition:(0,n.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,n.eW)(function(t,e){var a,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],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var s in i)this[s]=i[s];return!1},"test_match"),next:(0,n.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,a,r,i=this._currentRules(),s=0;se[0].length)){if(e=a,r=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,i[r]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,n.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,n.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,n.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.eW)(function(t,e,a,r){switch(a){case 0:case 51:case 66:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 52:return e.yytext=e.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 75;case 56:return 76;case 57:return 71;case 58:return 72;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 80;case 63:return 81;case 64:return 68;case 65:return 69;case 67:return"INVALID"}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\<->\->:\n,;]+?([\-]*[^\<->\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\<->\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\<->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}};function H(){this.yy={}}return q.lexer=z,(0,n.eW)(H,"Parser"),H.prototype=q,q.Parser=H,new H}();l.parser=l;var d=new i.A(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),h=(0,n.eW)(function(t){d.records.boxes.push({name:t.text,wrap:t.wrap??A(),fill:t.color,actorKeys:[]}),d.records.currentBox=d.records.boxes.slice(-1)[0]},"addBox"),p=(0,n.eW)(function(t,e,a,r){let i=d.records.currentBox,s=d.records.actors.get(t);if(s){if(d.records.currentBox&&s.box&&d.records.currentBox!==s.box)throw Error(`A same participant should only be defined in one Box: ${s.name} can't be in '${s.box.name}' and in '${d.records.currentBox.name}' at the same time.`);if(i=s.box?s.box:d.records.currentBox,s.box=i,s&&e===s.name&&null==a)return}if(a?.text==null&&(a={text:e,type:r}),(null==r||null==a.text)&&(a={text:e,type:r}),d.records.actors.set(t,{box:i,name:e,description:a.text,wrap:a.wrap??A(),prevActor:d.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r??"participant"}),d.records.prevActor){let e=d.records.actors.get(d.records.prevActor);e&&(e.nextActor=t)}d.records.currentBox&&d.records.currentBox.actorKeys.push(t),d.records.prevActor=t},"addActor"),g=(0,n.eW)(t=>{let e;let a=0;if(!t)return 0;for(e=0;eg(t??"")){let e=Error("Trying to inactivate an inactive participant ("+t+")");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 d.records.messages.push({from:t,to:e,message:a?.text??"",wrap:a?.wrap??A(),type:r,activate:i}),!0},"addSignal"),y=(0,n.eW)(function(){return d.records.boxes.length>0},"hasAtLeastOneBox"),m=(0,n.eW)(function(){return d.records.boxes.some(t=>t.name)},"hasAtLeastOneBoxWithTitle"),b=(0,n.eW)(function(){return d.records.messages},"getMessages"),f=(0,n.eW)(function(){return d.records.boxes},"getBoxes"),T=(0,n.eW)(function(){return d.records.actors},"getActors"),E=(0,n.eW)(function(){return d.records.createdActors},"getCreatedActors"),w=(0,n.eW)(function(){return d.records.destroyedActors},"getDestroyedActors"),I=(0,n.eW)(function(t){return d.records.actors.get(t)},"getActor"),L=(0,n.eW)(function(){return[...d.records.actors.keys()]},"getActorKeys"),P=(0,n.eW)(function(){d.records.sequenceNumbersEnabled=!0},"enableSequenceNumbers"),_=(0,n.eW)(function(){d.records.sequenceNumbersEnabled=!1},"disableSequenceNumbers"),k=(0,n.eW)(()=>d.records.sequenceNumbersEnabled,"showSequenceNumbers"),v=(0,n.eW)(function(t){d.records.wrapEnabled=t},"setWrap"),M=(0,n.eW)(t=>{if(void 0===t)return{};t=t.trim();let e=null!==/^:?wrap:/.exec(t)||null===/^:?nowrap:/.exec(t)&&void 0;return{cleanedText:(void 0===e?t:t.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:e}},"extractWrap"),A=(0,n.eW)(()=>void 0!==d.records.wrapEnabled?d.records.wrapEnabled:n.nV().sequence?.wrap??!1,"autoWrap"),N=(0,n.eW)(function(){d.reset(),(0,n.ZH)()},"clear"),S=(0,n.eW)(function(t){let{wrap:e,cleanedText:a}=M(t.trim()),r={text:a,wrap:e};return n.cM.debug(`parseMessage: ${JSON.stringify(r)}`),r},"parseMessage"),O=(0,n.eW)(function(t){let e=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(t),a=e?.[1]?e[1].trim():"transparent",r=e?.[2]?e[2].trim():void 0;if(window?.CSS)!window.CSS.supports("color",a)&&(a="transparent",r=t.trim());else{let e=new Option().style;e.color=a,e.color!==a&&(a="transparent",r=t.trim())}let{wrap:i,cleanedText:s}=M(r);return{text:s?(0,n.oO)(s,(0,n.nV)()):void 0,color:a,wrap:i}},"parseBoxData"),D={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34},W=(0,n.eW)(function(t,e,a){let r={actor:t,placement:e,message:a.text,wrap:a.wrap??A()},i=[].concat(t,t);d.records.notes.push(r),d.records.messages.push({from:i[0],to:i[1],message:a.text,wrap:a.wrap??A(),type:D.NOTE,placement:e})},"addNote"),R=(0,n.eW)(function(t,e){let a=I(t);try{let t=(0,n.oO)(e.text,(0,n.nV)());t=(t=t.replace(/&/g,"&")).replace(/=/g,"=");let r=JSON.parse(t);C(a,r)}catch(t){n.cM.error("error while parsing actor link text",t)}},"addLinks"),Y=(0,n.eW)(function(t,e){let a=I(t);try{let t={},r=(0,n.oO)(e.text,(0,n.nV)()),i=r.indexOf("@"),s=(r=(r=r.replace(/&/g,"&")).replace(/=/g,"=")).slice(0,i-1).trim(),o=r.slice(i+1).trim();t[s]=o,C(a,t)}catch(t){n.cM.error("error while parsing actor link text",t)}},"addALink");function C(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}(0,n.eW)(C,"insertLinks");var B=(0,n.eW)(function(t,e){let a=I(t);try{let t=(0,n.oO)(e.text,(0,n.nV)()),r=JSON.parse(t);$(a,r)}catch(t){n.cM.error("error while parsing actor properties text",t)}},"addProperties");function $(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}function V(){d.records.currentBox=void 0}(0,n.eW)($,"insertProperties"),(0,n.eW)(V,"boxEnd");var F=(0,n.eW)(function(t,e){let a=I(t),r=document.getElementById(e.text);try{let t=r.innerHTML,e=JSON.parse(t);e.properties&&$(a,e.properties),e.links&&C(a,e.links)}catch(t){n.cM.error("error while parsing actor details text",t)}},"addDetails"),q=(0,n.eW)(function(t,e){if(t?.properties!==void 0)return t.properties[e]},"getActorProperty"),z=(0,n.eW)(function(t){if(Array.isArray(t))t.forEach(function(t){z(t)});else switch(t.type){case"sequenceIndex":d.records.messages.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":p(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(d.records.actors.has(t.actor))throw Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");d.records.lastCreated=t.actor,p(t.actor,t.actor,t.description,t.draw),d.records.createdActors.set(t.actor,d.records.messages.length);break;case"destroyParticipant":d.records.lastDestroyed=t.actor,d.records.destroyedActors.set(t.actor,d.records.messages.length);break;case"activeStart":case"activeEnd":x(t.actor,void 0,void 0,t.signalType);break;case"addNote":W(t.actor,t.placement,t.text);break;case"addLinks":R(t.actor,t.text);break;case"addALink":Y(t.actor,t.text);break;case"addProperties":B(t.actor,t.text);break;case"addDetails":F(t.actor,t.text);break;case"addMessage":if(d.records.lastCreated){if(t.to!==d.records.lastCreated)throw Error("The created participant "+d.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");d.records.lastCreated=void 0}else if(d.records.lastDestroyed){if(t.to!==d.records.lastDestroyed&&t.from!==d.records.lastDestroyed)throw Error("The destroyed participant "+d.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");d.records.lastDestroyed=void 0}x(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":h(t.boxData);break;case"boxEnd":V();break;case"loopStart":x(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":x(void 0,void 0,void 0,t.signalType);break;case"rectStart":x(void 0,void 0,t.color,t.signalType);break;case"optStart":x(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":x(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,n.GN)(t.text);break;case"parStart":case"and":x(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":x(void 0,void 0,t.criticalText,t.signalType);break;case"option":x(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":x(void 0,void 0,t.breakText,t.signalType);break;case"breakEnd":x(void 0,void 0,void 0,t.signalType)}},"apply"),H={addActor:p,addMessage:u,addSignal:x,addLinks:R,addDetails:F,addProperties:B,autoWrap:A,setWrap:v,enableSequenceNumbers:P,disableSequenceNumbers:_,showSequenceNumbers:k,getMessages:b,getActors:T,getCreatedActors:E,getDestroyedActors:w,getActor:I,getActorKeys:L,getActorProperty:q,getAccTitle:n.eu,getBoxes:f,getDiagramTitle:n.Kr,setDiagramTitle:n.g2,getConfig:(0,n.eW)(()=>(0,n.nV)().sequence,"getConfig"),clear:N,parseMessage:S,parseBoxData:O,LINETYPE:D,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:W,setAccTitle:n.GN,apply:z,setAccDescription:n.U$,getAccDescription:n.Mx,hasAtLeastOneBox:y,hasAtLeastOneBoxWithTitle:m},U=(0,n.eW)(t=>`.actor { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + } + + text.actor > tspan { + fill: ${t.actorTextColor}; + stroke: none; + } + + .actor-line { + stroke: ${t.actorLineColor}; + } + + .messageLine0 { + stroke-width: 1.5; + stroke-dasharray: none; + stroke: ${t.signalColor}; + } + + .messageLine1 { + stroke-width: 1.5; + stroke-dasharray: 2, 2; + stroke: ${t.signalColor}; + } + + #arrowhead path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; + } + + .sequenceNumber { + fill: ${t.sequenceNumberColor}; + } + + #sequencenumber { + fill: ${t.signalColor}; + } + + #crosshead path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; + } + + .messageText { + fill: ${t.signalTextColor}; + stroke: none; + } + + .labelBox { + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBkgColor}; + } + + .labelText, .labelText > tspan { + fill: ${t.labelTextColor}; + stroke: none; + } + + .loopText, .loopText > tspan { + fill: ${t.loopTextColor}; + stroke: none; + } + + .loopLine { + stroke-width: 2px; + stroke-dasharray: 2, 2; + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBorderColor}; + } + + .note { + //stroke: #decc93; + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; + } + + .noteText, .noteText > tspan { + fill: ${t.noteTextColor}; + stroke: none; + } + + .activation0 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .activation1 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .activation2 { + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; + } + + .actorPopupMenu { + position: absolute; + } + + .actorPopupMenuPanel { + position: absolute; + fill: ${t.actorBkg}; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4)); +} + .actor-man line { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + } + .actor-man circle, line { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + stroke-width: 2px; + } +`,"getStyles"),j="actor-top",K="actor-bottom",G="actor-man",X=(0,n.eW)(function(t,e){return(0,r.Mu)(t,e)},"drawRect"),J=(0,n.eW)(function(t,e,a,r,i){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};let s=e.links,n=e.actorCnt,o=e.rectData;var l="none";i&&(l="block !important");let d=t.append("g");d.attr("id","actor"+n+"_popup"),d.attr("class","actorPopupMenu"),d.attr("display",l);var h="";void 0!==o.class&&(h=" "+o.class);let p=o.width>a?o.width:a,g=d.append("rect");if(g.attr("class","actorPopupMenuPanel"+h),g.attr("x",o.x),g.attr("y",o.height),g.attr("fill",o.fill),g.attr("stroke",o.stroke),g.attr("width",p),g.attr("height",o.height),g.attr("rx",o.rx),g.attr("ry",o.ry),null!=s){var u=20;for(let t in s){var x=d.append("a"),y=(0,c.sanitizeUrl)(s[t]);x.attr("xlink:href",y),x.attr("target","_blank"),tw(r)(t,x,o.x+10,o.height+u,p,20,{class:"actor"},r),u+=30}}return g.attr("height",u),{height:o.height+u,width:p}},"drawPopup"),Z=(0,n.eW)(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),Q=(0,n.eW)(async function(t,e,a=null){let r=t.append("foreignObject"),i=await (0,n.uT)(e.text,(0,n.iE)()),s=r.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();if(r.attr("height",Math.round(s.height)).attr("width",Math.round(s.width)),"noteText"===e.class){let a=t.node().firstChild;a.setAttribute("height",s.height+2*e.textMargin);let i=a.getBBox();r.attr("x",Math.round(i.x+i.width/2-s.width/2)).attr("y",Math.round(i.y+i.height/2-s.height/2))}else if(a){let{startx:t,stopx:i,starty:n}=a;if(t>i){let e=t;t=i,i=e}r.attr("x",Math.round(t+Math.abs(t-i)/2-s.width/2)),"loopText"===e.class?r.attr("y",Math.round(n)):r.attr("y",Math.round(n-s.height))}return[r]},"drawKatex"),tt=(0,n.eW)(function(t,e){let a=0,r=0,i=e.text.split(n.SY.lineBreakRegex),[o,c]=(0,s.VG)(e.fontSize),l=[],d=0,h=(0,n.eW)(()=>e.y,"yfunc");if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=(0,n.eW)(()=>Math.round(e.y+e.textMargin),"yfunc");break;case"middle":case"center":h=(0,n.eW)(()=>Math.round(e.y+(a+r+e.textMargin)/2),"yfunc");break;case"bottom":case"end":h=(0,n.eW)(()=>Math.round(e.y+(a+r+2*e.textMargin)-e.textMargin),"yfunc")}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[n,p]of i.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==o&&(d=n*o);let i=t.append("text");i.attr("x",e.x),i.attr("y",h()),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!==c&&i.style("font-size",c),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!==d&&i.attr("dy",d);let g=p||s.$m;if(e.tspan){let t=i.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else i.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(i._groups||i)[0][0].getBBox().height,a=r),l.push(i)}return l},"drawText"),te=(0,n.eW)(function(t,e){function a(t,e,a,r,i){return t+","+e+" "+(t+a)+","+e+" "+(t+a)+","+(e+r-i)+" "+(t+a-1.2*i)+","+(e+r)+" "+t+","+(e+r)}(0,n.eW)(a,"genPoints");let r=t.append("polygon");return r.attr("points",a(e.x,e.y,e.width,e.height,7)),r.attr("class","labelBox"),e.y=e.y+e.height/2,tt(t,e),r},"drawLabel"),ta=-1,tr=(0,n.eW)((t,e,a,r)=>{if(!!t.select)a.forEach(a=>{let i=e.get(a),s=t.select("#actor"+i.actorCnt);!r.mirrorActors&&i.stopy?s.attr("y2",i.stopy+i.height/2):r.mirrorActors&&s.attr("y2",i.stopy)})},"fixLifeLineHeights"),ti=(0,n.eW)(function(t,e,a,i){let s=i?e.stopy:e.starty,o=e.x+e.width/2,c=s+e.height,l=t.append("g").lower();var d=l;!i&&(ta++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",Z(`actor${ta}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+ta).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=l.append("g"),e.actorCnt=ta,null!=e.links&&d.attr("id","root-"+ta));let h=(0,r.kc)();var p="actor";e.properties?.class?p=e.properties.class:h.fill="#eaeaea",i?p+=` ${K}`:p+=` ${j}`,h.x=e.x,h.y=s,h.width=e.width,h.height=e.height,h.class=p,h.rx=3,h.ry=3,h.name=e.name;let g=X(d,h);if(e.rectData=h,e.properties?.icon){let t=e.properties.icon.trim();"@"===t.charAt(0)?(0,r.rB)(d,h.x+h.width-20,h.y+10,t.substr(1)):(0,r.AE)(d,h.x+h.width-20,h.y+10,t)}tE(a,(0,n.l0)(e.description))(e.description,d,h.x,h.y,h.width,h.height,{class:"actor actor-box"},a);let u=e.height;if(g.node){let t=g.node().getBBox();e.height=t.height,u=t.height}return u},"drawActorTypeParticipant"),ts=(0,n.eW)(function(t,e,a,i){let s=i?e.stopy:e.starty,o=e.x+e.width/2,c=s+80,l=t.append("g").lower();!i&&(ta++,l.append("line").attr("id","actor"+ta).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=ta);let d=t.append("g"),h=G;i?h+=` ${K}`:h+=` ${j}`,d.attr("class",h),d.attr("name",e.name);let p=(0,r.kc)();p.x=e.x,p.y=s,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",p.rx=3,p.ry=3,d.append("line").attr("id","actor-man-torso"+ta).attr("x1",o).attr("y1",s+25).attr("x2",o).attr("y2",s+45),d.append("line").attr("id","actor-man-arms"+ta).attr("x1",o-18).attr("y1",s+33).attr("x2",o+18).attr("y2",s+33),d.append("line").attr("x1",o-18).attr("y1",s+60).attr("x2",o).attr("y2",s+45),d.append("line").attr("x1",o).attr("y1",s+45).attr("x2",o+18-2).attr("y2",s+60);let g=d.append("circle");g.attr("cx",e.x+e.width/2),g.attr("cy",s+10),g.attr("r",15),g.attr("width",e.width),g.attr("height",e.height);let u=d.node().getBBox();return e.height=u.height,tE(a,(0,n.l0)(e.description))(e.description,d,p.x,p.y+35,p.width,p.height,{class:`actor ${G}`},a),e.height},"drawActorTypeActor"),tn=(0,n.eW)(async function(t,e,a,r){switch(e.type){case"actor":return await ts(t,e,a,r);case"participant":return await ti(t,e,a,r)}},"drawActor"),to=(0,n.eW)(function(t,e,a){let r=t.append("g");th(r,e),e.name&&tE(a)(e.name,r,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},a),r.lower()},"drawBox"),tc=(0,n.eW)(function(t){return t.append("g")},"anchorElement"),tl=(0,n.eW)(function(t,e,a,i,s){let n=(0,r.kc)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+s%3,n.width=e.stopx-e.startx,n.height=a-e.starty,X(o,n)},"drawActivation"),td=(0,n.eW)(async function(t,e,a,i){let{boxMargin:s,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:l,messageFontFamily:d,messageFontSize:h,messageFontWeight:p}=i,g=t.append("g"),u=(0,n.eW)(function(t,e,a,r){return g.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")},"drawLoopLine");u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(t){u(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")});let x=(0,r.AD)();x.text=a,x.x=e.startx,x.y=e.starty,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=c||20,x.textMargin=o,x.class="labelText",te(g,x),(x=tf()).text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+s+o,x.anchor="middle",x.valign="middle",x.textMargin=o,x.class="loopText",x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=!0;let y=(0,n.l0)(x.text)?await Q(g,x,e):tt(g,x);if(void 0!==e.sectionTitles){for(let[t,a]of Object.entries(e.sectionTitles))if(a.message){x.text=a.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[t].y+s+o,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=e.wrap,(0,n.l0)(x.text)?(e.starty=e.sections[t].y,await Q(g,x,e)):tt(g,x);let r=Math.round(y.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));e.sections[t].height+=r-(s+o)}}return e.height=Math.round(e.stopy-e.starty),g},"drawLoop"),th=(0,n.eW)(function(t,e){(0,r.O)(t,e)},"drawBackgroundRect"),tp=(0,n.eW)(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")},"insertDatabaseIcon"),tg=(0,n.eW)(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")},"insertComputerIcon"),tu=(0,n.eW)(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")},"insertClockIcon"),tx=(0,n.eW)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")},"insertArrowHead"),ty=(0,n.eW)(function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).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")},"insertArrowFilledHead"),tm=(0,n.eW)(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)},"insertSequenceNumber"),tb=(0,n.eW)(function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.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")},"insertArrowCrossHead"),tf=(0,n.eW)(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}},"getTextObj"),tT=(0,n.eW)(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),tE=function(){function t(t,e,a,r,s,n,o){i(e.append("text").attr("x",a+s/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,r,o,c,l,d){let{actorFontSize:h,actorFontFamily:p,actorFontWeight:g}=d,[u,x]=(0,s.VG)(h),y=t.split(n.SY.lineBreakRegex);for(let t=0;tt.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))},"getHeight"),clear:(0,n.eW)(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:(0,n.eW)(function(t){this.boxes.push(t)},"addBox"),addActor:(0,n.eW)(function(t){this.actors.push(t)},"addActor"),addLoop:(0,n.eW)(function(t){this.loops.push(t)},"addLoop"),addMessage:(0,n.eW)(function(t){this.messages.push(t)},"addMessage"),addNote:(0,n.eW)(function(t){this.notes.push(t)},"addNote"),lastActor:(0,n.eW)(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:(0,n.eW)(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:(0,n.eW)(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:(0,n.eW)(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:(0,n.eW)(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,tW((0,n.nV)())},"init"),updateVal:(0,n.eW)(function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])},"updateVal"),updateBounds:(0,n.eW)(function(t,e,a,r){let i=this,s=0;function o(o){return(0,n.eW)(function(n){s++;let c=i.sequenceItems.length-s+1;i.updateVal(n,"starty",e-c*tL.boxMargin,Math.min),i.updateVal(n,"stopy",r+c*tL.boxMargin,Math.max),i.updateVal(tP.data,"startx",t-c*tL.boxMargin,Math.min),i.updateVal(tP.data,"stopx",a+c*tL.boxMargin,Math.max),"activation"!==o&&(i.updateVal(n,"startx",t-c*tL.boxMargin,Math.min),i.updateVal(n,"stopx",a+c*tL.boxMargin,Math.max),i.updateVal(tP.data,"starty",e-c*tL.boxMargin,Math.min),i.updateVal(tP.data,"stopy",r+c*tL.boxMargin,Math.max))},"updateItemBounds")}(0,n.eW)(o,"updateFn"),this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},"updateBounds"),insert:(0,n.eW)(function(t,e,a,r){let i=n.SY.getMin(t,a),s=n.SY.getMax(t,a),o=n.SY.getMin(e,r),c=n.SY.getMax(e,r);this.updateVal(tP.data,"startx",i,Math.min),this.updateVal(tP.data,"starty",o,Math.min),this.updateVal(tP.data,"stopx",s,Math.max),this.updateVal(tP.data,"stopy",c,Math.max),this.updateBounds(i,o,s,c)},"insert"),newActivation:(0,n.eW)(function(t,e,a){let r=a.get(t.from),i=tR(t.from).length||0,s=r.x+r.width/2+(i-1)*tL.activationWidth/2;this.activations.push({startx:s,starty:this.verticalPos+2,stopx:s+tL.activationWidth,stopy:void 0,actor:t.from,anchored:tI.anchorElement(e)})},"newActivation"),endActivation:(0,n.eW)(function(t){let e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:(0,n.eW)(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}},"createLoop"),newLoop:(0,n.eW)(function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},"newLoop"),endLoop:(0,n.eW)(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:(0,n.eW)(function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},"isLoopOverlap"),addSectionToLoop:(0,n.eW)(function(t){let e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:tP.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:(0,n.eW)(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:(0,n.eW)(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:(0,n.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=n.SY.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:(0,n.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,n.eW)(function(){return{bounds:this.data,models:this.models}},"getBounds")},t_=(0,n.eW)(async function(t,e){tP.bumpVerticalPos(tL.boxMargin),e.height=tL.boxMargin,e.starty=tP.getVerticalPos();let a=(0,r.kc)();a.x=e.startx,a.y=e.starty,a.width=e.width||tL.width,a.class="note";let i=t.append("g"),s=tI.drawRect(i,a),o=(0,r.AD)();o.x=e.startx,o.y=e.starty,o.width=a.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=tL.noteFontFamily,o.fontSize=tL.noteFontSize,o.fontWeight=tL.noteFontWeight,o.anchor=tL.noteAlign,o.textMargin=tL.noteMargin,o.valign="center";let c=Math.round(((0,n.l0)(o.text)?await Q(i,o):tt(i,o)).map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));s.attr("height",c+2*tL.noteMargin),e.height+=c+2*tL.noteMargin,tP.bumpVerticalPos(c+2*tL.noteMargin),e.stopy=e.starty+c+2*tL.noteMargin,e.stopx=e.startx+a.width,tP.insert(e.startx,e.starty,e.stopx,e.stopy),tP.models.addNote(e)},"drawNote"),tk=(0,n.eW)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),tv=(0,n.eW)(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),tM=(0,n.eW)(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");async function tA(t,e){let a;tP.bumpVerticalPos(10);let{startx:r,stopx:i,message:o}=e,c=n.SY.splitBreaks(o).length,l=(0,n.l0)(o),d=l?await (0,n.nH)(o,(0,n.nV)()):s.w8.calculateTextDimensions(o,tk(tL));if(!l){let t=d.height/c;e.height+=t,tP.bumpVerticalPos(t)}let h=d.height-10,p=d.width;if(r===i){a=tP.getVerticalPos()+h,!tL.rightAngles&&(h+=tL.boxMargin,a=tP.getVerticalPos()+h),h+=30;let t=n.SY.getMax(p/2,tL.width/2);tP.insert(r-t,tP.getVerticalPos()-10+h,i+t,tP.getVerticalPos()+30+h)}else h+=tL.boxMargin,a=tP.getVerticalPos()+h,tP.insert(r,a-10,i,a);return tP.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,tP.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),a}(0,n.eW)(tA,"boundMessage");var tN=(0,n.eW)(async function(t,e,a,i){let o;let{startx:c,stopx:l,starty:d,message:h,type:p,sequenceIndex:g,sequenceVisible:u}=e,x=s.w8.calculateTextDimensions(h,tk(tL)),y=(0,r.AD)();y.x=c,y.y=d+10,y.width=l-c,y.class="messageText",y.dy="1em",y.text=h,y.fontFamily=tL.messageFontFamily,y.fontSize=tL.messageFontSize,y.fontWeight=tL.messageFontWeight,y.anchor=tL.messageAlign,y.valign="center",y.textMargin=tL.wrapPadding,y.tspan=!1,(0,n.l0)(y.text)?await Q(t,y,{startx:c,stopx:l,starty:a}):tt(t,y);let m=x.width;c===l?o=tL.rightAngles?t.append("path").attr("d",`M ${c},${a} H ${c+n.SY.getMax(tL.width/2,m/2)} V ${a+25} H ${c}`):t.append("path").attr("d","M "+c+","+a+" C "+(c+60)+","+(a-10)+" "+(c+60)+","+(a+30)+" "+c+","+(a+20)):((o=t.append("line")).attr("x1",c),o.attr("y1",a),o.attr("x2",l),o.attr("y2",a)),p===i.db.LINETYPE.DOTTED||p===i.db.LINETYPE.DOTTED_CROSS||p===i.db.LINETYPE.DOTTED_POINT||p===i.db.LINETYPE.DOTTED_OPEN||p===i.db.LINETYPE.BIDIRECTIONAL_DOTTED?(o.style("stroke-dasharray","3, 3"),o.attr("class","messageLine1")):o.attr("class","messageLine0");let b="";tL.arrowMarkerAbsolute&&(b=(b=(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),o.attr("stroke-width",2),o.attr("stroke","none"),o.style("fill","none"),(p===i.db.LINETYPE.SOLID||p===i.db.LINETYPE.DOTTED)&&o.attr("marker-end","url("+b+"#arrowhead)"),(p===i.db.LINETYPE.BIDIRECTIONAL_SOLID||p===i.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(o.attr("marker-start","url("+b+"#arrowhead)"),o.attr("marker-end","url("+b+"#arrowhead)")),(p===i.db.LINETYPE.SOLID_POINT||p===i.db.LINETYPE.DOTTED_POINT)&&o.attr("marker-end","url("+b+"#filled-head)"),(p===i.db.LINETYPE.SOLID_CROSS||p===i.db.LINETYPE.DOTTED_CROSS)&&o.attr("marker-end","url("+b+"#crosshead)"),(u||tL.showSequenceNumbers)&&(o.attr("marker-start","url("+b+"#sequencenumber)"),t.append("text").attr("x",c).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(g))},"drawMessage"),tS=(0,n.eW)(function(t,e,a,r,i,s,o){let c,l=0,d=0;let h=0;for(let t of r){let r=e.get(t),s=r.box;c&&c!=s&&(!o&&tP.models.addBox(c),d+=tL.boxMargin+c.margin),s&&s!=c&&(!o&&(s.x=l+d,s.y=i),d+=s.margin),r.width=r.width||tL.width,r.height=n.SY.getMax(r.height||tL.height,tL.height),r.margin=r.margin||tL.actorMargin,h=n.SY.getMax(h,r.height),a.get(r.name)&&(d+=r.width/2),r.x=l+d,r.starty=tP.getVerticalPos(),tP.insert(r.x,i,r.x+r.width,r.height),l+=r.width+d,r.box&&(r.box.width=l+s.margin-r.box.x),d=r.margin,c=r.box,tP.models.addActor(r)}c&&!o&&tP.models.addBox(c),tP.bumpVerticalPos(h)},"addActorRenderingData"),tO=(0,n.eW)(async function(t,e,a,r){if(r){let r=0;for(let i of(tP.bumpVerticalPos(2*tL.boxMargin),a)){let a=e.get(i);!a.stopy&&(a.stopy=tP.getVerticalPos());let s=await tI.drawActor(t,a,tL,!0);r=n.SY.getMax(r,s)}tP.bumpVerticalPos(r+tL.boxMargin)}else for(let r of a){let a=e.get(r);await tI.drawActor(t,a,tL,!1)}},"drawActors"),tD=(0,n.eW)(function(t,e,a,r){let i=0,s=0;for(let n of a){let a=e.get(n),o=tF(a),c=tI.drawPopup(t,a,o,tL,tL.forceMenus,r);c.height>i&&(i=c.height),c.width+a.x>s&&(s=c.width+a.x)}return{maxHeight:i,maxWidth:s}},"drawActorsPopup"),tW=(0,n.eW)(function(t){(0,n.Yc)(tL,t),t.fontFamily&&(tL.actorFontFamily=tL.noteFontFamily=tL.messageFontFamily=t.fontFamily),t.fontSize&&(tL.actorFontSize=tL.noteFontSize=tL.messageFontSize=t.fontSize),t.fontWeight&&(tL.actorFontWeight=tL.noteFontWeight=tL.messageFontWeight=t.fontWeight)},"setConf"),tR=(0,n.eW)(function(t){return tP.activations.filter(function(e){return e.actor===t})},"actorActivations"),tY=(0,n.eW)(function(t,e){let a=e.get(t),r=tR(t),i=r.reduce(function(t,e){return n.SY.getMin(t,e.startx)},a.x+a.width/2-1);return[i,r.reduce(function(t,e){return n.SY.getMax(t,e.stopx)},a.x+a.width/2+1)]},"activationBounds");function tC(t,e,a,r,i){tP.bumpVerticalPos(a);let o=r;if(e.id&&e.message&&t[e.id]){let a=t[e.id].width,i=tk(tL);e.message=s.w8.wrapLabel(`[${e.message}]`,a-2*tL.wrapPadding,i),e.width=a,e.wrap=!0;let c=s.w8.calculateTextDimensions(e.message,i),l=n.SY.getMax(c.height,tL.labelBoxHeight);o=r+l,n.cM.debug(`${l} - ${e.message}`)}i(e),tP.bumpVerticalPos(o)}function tB(t,e,a,r,i,s,o){function c(a,r){a.x{t.add(e.from),t.add(e.to)}),y=y.filter(e=>t.has(e))}tS(h,p,g,y,0,m,!1);let w=await tU(m,p,E,r);function I(t,e){let a=tP.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),tI.drawActivation(h,a,e,tL,tR(t.from).length),tP.insert(a.startx,e-10,a.stopx,e)}tI.insertArrowHead(h),tI.insertArrowCrossHead(h),tI.insertArrowFilledHead(h),tI.insertSequenceNumber(h),(0,n.eW)(I,"activeEnd");let L=1,P=1,_=[],k=[],v=0;for(let t of m){let e,a,i;switch(t.type){case r.db.LINETYPE.NOTE:tP.resetVerticalPos(),a=t.noteModel,await t_(h,a);break;case r.db.LINETYPE.ACTIVE_START:tP.newActivation(t,h,p);break;case r.db.LINETYPE.ACTIVE_END:I(t,tP.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.LOOP_END:e=tP.endLoop(),await tI.drawLoop(h,e,"loop",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.RECT_START:tC(w,t,tL.boxMargin,tL.boxMargin,t=>tP.newLoop(void 0,t.message));break;case r.db.LINETYPE.RECT_END:e=tP.endLoop(),k.push(e),tP.models.addLoop(e),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos());break;case r.db.LINETYPE.OPT_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.OPT_END:e=tP.endLoop(),await tI.drawLoop(h,e,"opt",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.ALT_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.ALT_ELSE:tC(w,t,tL.boxMargin+tL.boxTextMargin,tL.boxMargin,t=>tP.addSectionToLoop(t));break;case r.db.LINETYPE.ALT_END:e=tP.endLoop(),await tI.drawLoop(h,e,"alt",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t)),tP.saveVerticalPos();break;case r.db.LINETYPE.PAR_AND:tC(w,t,tL.boxMargin+tL.boxTextMargin,tL.boxMargin,t=>tP.addSectionToLoop(t));break;case r.db.LINETYPE.PAR_END:e=tP.endLoop(),await tI.drawLoop(h,e,"par",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.AUTONUMBER:L=t.message.start||L,P=t.message.step||P,t.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.CRITICAL_OPTION:tC(w,t,tL.boxMargin+tL.boxTextMargin,tL.boxMargin,t=>tP.addSectionToLoop(t));break;case r.db.LINETYPE.CRITICAL_END:e=tP.endLoop(),await tI.drawLoop(h,e,"critical",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;case r.db.LINETYPE.BREAK_START:tC(w,t,tL.boxMargin,tL.boxMargin+tL.boxTextMargin,t=>tP.newLoop(t));break;case r.db.LINETYPE.BREAK_END:e=tP.endLoop(),await tI.drawLoop(h,e,"break",tL),tP.bumpVerticalPos(e.stopy-tP.getVerticalPos()),tP.models.addLoop(e);break;default:try{(i=t.msgModel).starty=tP.getVerticalPos(),i.sequenceIndex=L,i.sequenceVisible=r.db.showSequenceNumbers();let e=await tA(h,i);tB(t,i,e,v,p,g,u),_.push({messageModel:i,lineStartY:e}),tP.models.addMessage(i)}catch(t){n.cM.error("error while drawing message",t)}}[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,r.db.LINETYPE.BIDIRECTIONAL_SOLID,r.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(L+=P),v++}for(let t of(n.cM.debug("createdActors",g),n.cM.debug("destroyedActors",u),await tO(h,p,y,!1),_))await tN(h,t.messageModel,t.lineStartY,r);for(let t of(tL.mirrorActors&&await tO(h,p,y,!0),k.forEach(t=>tI.drawBackgroundRect(h,t)),tr(h,p,y,tL),tP.models.boxes))t.height=tP.getVerticalPos()-t.y,tP.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)",tI.drawBox(h,t,tL);f&&tP.bumpVerticalPos(tL.boxMargin);let M=tD(h,p,y,d),{bounds:A}=tP.getBounds();void 0===A.startx&&(A.startx=0),void 0===A.starty&&(A.starty=0),void 0===A.stopx&&(A.stopx=0),void 0===A.stopy&&(A.stopy=0);let N=A.stopy-A.starty;N{let a=tk(tL),r=e.actorKeys.reduce((e,a)=>e+=t.get(a).width+(t.get(a).margin||0),0);r-=2*tL.boxTextMargin,e.wrap&&(e.name=s.w8.wrapLabel(e.name,r-2*tL.wrapPadding,a));let o=s.w8.calculateTextDimensions(e.name,a);i=n.SY.getMax(o.height,i);let c=n.SY.getMax(r,o.width+2*tL.wrapPadding);if(e.margin=tL.boxTextMargin,rt.textMaxHeight=i),n.SY.getMax(r,tL.height)}(0,n.eW)(tq,"calculateActorMargins");var tz=(0,n.eW)(async function(t,e,a){let r=e.get(t.from),i=e.get(t.to),o=r.x,c=i.x,l=t.wrap&&t.message,d=(0,n.l0)(t.message)?await (0,n.nH)(t.message,(0,n.nV)()):s.w8.calculateTextDimensions(l?s.w8.wrapLabel(t.message,tL.width,tv(tL)):t.message,tv(tL)),h={width:l?tL.width:n.SY.getMax(tL.width,d.width+2*tL.noteMargin),height:0,startx:r.x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(h.width=l?n.SY.getMax(tL.width,d.width):n.SY.getMax(r.width/2+i.width/2,d.width+2*tL.noteMargin),h.startx=o+(r.width+tL.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(h.width=l?n.SY.getMax(tL.width,d.width+2*tL.noteMargin):n.SY.getMax(r.width/2+i.width/2,d.width+2*tL.noteMargin),h.startx=o-h.width+(r.width-tL.actorMargin)/2):t.to===t.from?(d=s.w8.calculateTextDimensions(l?s.w8.wrapLabel(t.message,n.SY.getMax(tL.width,r.width),tv(tL)):t.message,tv(tL)),h.width=l?n.SY.getMax(tL.width,r.width):n.SY.getMax(r.width,tL.width,d.width+2*tL.noteMargin),h.startx=o+(r.width-h.width)/2):(h.width=Math.abs(o+r.width/2-(c+i.width/2))+tL.actorMargin,h.startx=o2,g=(0,n.eW)(t=>l?-t:t,"adjustValue");t.from===t.to?h=d:(t.activate&&!p&&(h+=g(tL.activationWidth/2-1)),![a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)&&(h+=g(3)),[a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(d-=g(3)));let u=[r,i,o,c],x=Math.abs(d-h);t.wrap&&t.message&&(t.message=s.w8.wrapLabel(t.message,n.SY.getMax(x+2*tL.wrapPadding,tL.width),tk(tL)));let y=s.w8.calculateTextDimensions(t.message,tk(tL));return{width:n.SY.getMax(t.wrap?0:y.width+2*tL.wrapPadding,x+2*tL.wrapPadding,tL.width),height:0,startx:d,stopx:h,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,u),toBounds:Math.max.apply(null,u)}},"buildMessageModel"),tU=(0,n.eW)(async function(t,e,a,r){let i,o,c;let l={},d=[];for(let a of t){switch(a.id=s.w8.random({length:10}),a.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:d.push({id:a.id,msg:a.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:a.message&&(l[(i=d.pop()).id]=i,l[a.id]=i,d.push(i));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:l[(i=d.pop()).id]=i;break;case r.db.LINETYPE.ACTIVE_START:{let t=e.get(a.from?a.from:a.to.actor),r=tR(a.from?a.from:a.to.actor).length,i=t.x+t.width/2+(r-1)*tL.activationWidth/2,s={startx:i,stopx:i+tL.activationWidth,actor:a.from,enabled:!0};tP.activations.push(s)}break;case r.db.LINETYPE.ACTIVE_END:{let t=tP.activations.map(t=>t.actor).lastIndexOf(a.from);tP.activations.splice(t,1).splice(0,1)}}void 0!==a.placement?(o=await tz(a,e,r),a.noteModel=o,d.forEach(t=>{(i=t).from=n.SY.getMin(i.from,o.startx),i.to=n.SY.getMax(i.to,o.startx+o.width),i.width=n.SY.getMax(i.width,Math.abs(i.from-i.to))-tL.labelBoxWidth})):(c=tH(a,e,r),a.msgModel=c,c.startx&&c.stopx&&d.length>0&&d.forEach(t=>{if(i=t,c.startx===c.stopx){let t=e.get(a.from),r=e.get(a.to);i.from=n.SY.getMin(t.x-c.width/2,t.x-t.width/2,i.from),i.to=n.SY.getMax(r.x+c.width/2,r.x+t.width/2,i.to),i.width=n.SY.getMax(i.width,Math.abs(i.to-i.from))-tL.labelBoxWidth}else i.from=n.SY.getMin(c.startx,i.from),i.to=n.SY.getMax(c.stopx,i.to),i.width=n.SY.getMax(i.width,c.width)-tL.labelBoxWidth}))}return tP.activations=[],n.cM.debug("Loop type widths:",l),l},"calculateLoopBounds"),tj={parser:l,db:H,renderer:{bounds:tP,drawActors:tO,drawActorsPopup:tD,setConf:tW,draw:t$},styles:U,init:(0,n.eW)(({wrap:t})=>{H.setWrap(t)},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/495.8bd643d2.js b/pr-preview/pr-5/assets/js/495.8bd643d2.js new file mode 100644 index 0000000..3a0a6db --- /dev/null +++ b/pr-preview/pr-5/assets/js/495.8bd643d2.js @@ -0,0 +1,88 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["495"],{84182:function(t,e,i){var n,r;n=0,r=function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){!i.o(t,e)&&Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(e,i){e.exports=t},function(t,e,i){"use strict";var n=i(0).FDLayoutConstants;function r(){}for(var o in n)r[o]=n[o];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=n.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,i){"use strict";var n=i(0).FDLayoutEdge;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraph;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraphManager;function r(t){n.call(this,t)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).FDLayoutNode,r=i(0).IMath;function o(t,e,i,r){n.call(this,t,e,i,r)}for(var s in o.prototype=Object.create(n.prototype),n)o[s]=n[s];o.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?this.moveBy(this.displacementX,this.displacementY):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},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,n=this.getChild().getNodes(),r=0;r0)this.positionNodesRadially(i);else{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),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},v.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%l.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=l.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=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,n=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,n),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},v.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i1)for(s=0;sn&&(n=Math.floor(s.y)),o=Math.floor(s.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(c.WORLD_CENTER_X-s.x/2,c.WORLD_CENTER_Y-s.y/2))},v.radialLayout=function(t,e,i){var n=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);v.branchRadialLayout(e,null,0,359,0,n);var r=y.calculateBounds(t),o=new E;o.setDeviceOrgX(r.getMinX()),o.setDeviceOrgY(r.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var s=0;s1;){var E=y[0];y.splice(0,1);var _=g.indexOf(E);_>=0&&g.splice(_,1),p--,u--}s=null!=e?(g.indexOf(y[0])+1)%p:0;for(var m=Math.abs(n-i)/u,N=s;d!=u;N=++N%p){var A=g[N].getOtherEnd(t);if(A!=e){var L=(i+d*m)%360,T=(L+m)%360;v.branchRadialLayout(A,t,L,T,r+o,o),d++}}},v.maxDiagonalInTree=function(t){for(var e=p.MIN_VALUE,i=0;ie&&(e=n)}return e},v.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},v.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],n=this.graphManager.getAllNodes(),r=0;r1){var n="DummyCompound_"+i;t.memberGroups[n]=e[i];var r=e[i][0].getParent(),o=new s(t.graphManager);o.id=n,o.paddingLeft=r.paddingLeft||0,o.paddingRight=r.paddingRight||0,o.paddingBottom=r.paddingBottom||0,o.paddingTop=r.paddingTop||0,t.idToDummyNode[n]=o;var a=t.getGraphManager().add(t.newGraph(),o),h=r.getChild();h.add(o);for(var l=0;l=0;t--){var e=this.compoundOrder[t],i=e.id,n=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,n,r)}},v.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var n=t.idToDummyNode[i],r=n.paddingLeft,o=n.paddingTop;t.adjustLocations(e[i],n.rect.x,n.rect.y,r,o)})},v.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var n=i.getNodes(),r=0;r0)return this.toBeTiled[e]=!1,!1;if(null==o.getChild()){this.toBeTiled[o.id]=!1;continue}if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}return this.toBeTiled[e]=!0,!0},v.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,n=0;nh&&(h=c.rect.height)}i+=h+t.verticalPadding}},v.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(n){var r=e[n];i.tiledMemberPack[n]=i.tileNodes(t[n],r.paddingLeft+r.paddingRight),r.rect.width=i.tiledMemberPack[n].width,r.rect.height=i.tiledMemberPack[n].height})},v.prototype.tileNodes=function(t,e){var i={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:h.TILING_PADDING_VERTICAL,horizontalPadding:h.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.height0&&(r+=t.horizontalPadding),t.rowWidth[i]=r,t.width0&&(o+=t.verticalPadding);var s=0;o>t.rowHeight[i]&&(s=t.rowHeight[i],t.rowHeight[i]=o,s=t.rowHeight[i]-s),t.height+=s,t.rows[i].push(e)},v.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,n=0;ni&&(e=n,i=t.rowWidth[n]);return e},v.prototype.canAddHorizontal=function(t,e,i){var n,r,o=this.getShortestRowIndex(t);if(o<0)return!0;var s=t.rowWidth[o];if(s+t.horizontalPadding+e<=t.width)return!0;var a=0;return t.rowHeight[o]0&&(a=i+t.verticalPadding-t.rowHeight[o]),n=t.width-s>=e+t.horizontalPadding?(t.height+a)/(s+e+t.horizontalPadding):(t.height+a)/t.width,a=i+t.verticalPadding,(r=t.widtho&&e!=i){n.splice(-1,1),t.rows[i].push(r),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var s=Number.MIN_VALUE,a=0;as&&(s=n[a].height);e>0&&(s+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=s,t.rowHeight[i]0)for(var u=s;u<=a;u++)g[0]+=this.grid[u][h-1].length+this.grid[u][h].length-1;if(a0)for(var u=h;u<=c;u++)g[3]+=this.grid[s-1][u].length+this.grid[s][u].length-1;for(var d=p.MAX_VALUE,f=0;f0&&(s=i.getGraphManager().add(i.newGraph(),o),this.processChildrenList(s,g,i))}},g.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",g)};"undefined"!=typeof cytoscape&&d(cytoscape),t.exports=d}])},t.exports=r(i(84182))},82241:function(t){var e,i;e=0,i=function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){!i.o(t,e)&&Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=26)}([function(t,e,i){"use strict";function n(){}n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(8),o=i(9);function s(t,e,i){n.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var a in s.prototype=Object.create(n.prototype),n)s[a]=n[a];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.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"},s.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),n=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==n)break;i=i.getOwner().getParent()}return null},s.prototype.updateLength=function(){var t=[,,,,];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],1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(13),s=i(0),a=i(16),h=i(4);function l(t,e,i,s){null==i&&null==s&&(s=e),n.call(this,s),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=s,this.edges=[],this.graphManager=t,null!=i&&null!=e?this.rect=new o(e.x,e.y,i.width,i.height):this.rect=new o}for(var c in l.prototype=Object.create(n.prototype),n)l[c]=n[c];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.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},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(n.target==t){if(n.source!=i)throw"Incorrect edge source!";e.push(n)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(!(n.source==i||n.target==i))throw"Incorrect edge source and/or target";(n.target==t||n.source==t)&&e.push(n)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child){for(var e=this.child.getNodes(),i=0;ie&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>i&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-i)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-i),this.setHeight(this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>s.WORLD_BOUNDARY?e=s.WORLD_BOUNDARY:e<-s.WORLD_BOUNDARY&&(e=-s.WORLD_BOUNDARY);var i=this.rect.y;i>s.WORLD_BOUNDARY?i=s.WORLD_BOUNDARY:i<-s.WORLD_BOUNDARY&&(i=-s.WORLD_BOUNDARY);var n=new h(e,i),r=t.inverseTransformPoint(n);this.setLocation(r.x,r.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";function n(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(t){this.x=t},n.prototype.setY=function(t){this.y=t},n.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(0),s=i(6),a=i(3),h=i(1),l=i(13),c=i(12),g=i(11);function u(t,e,i){n.call(this,i),this.estimatedSize=r.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof s?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in u.prototype=Object.create(n.prototype),n)u[d]=n[d];u.prototype.getNodes=function(){return this.nodes},u.prototype.getEdges=function(){return this.edges},u.prototype.getGraphManager=function(){return this.graphManager},u.prototype.getParent=function(){return this.parent},u.prototype.getLeft=function(){return this.left},u.prototype.getRight=function(){return this.right},u.prototype.getTop=function(){return this.top},u.prototype.getBottom=function(){return this.bottom},u.prototype.isConnected=function(){return this.isConnected},u.prototype.add=function(t,e,i){if(null==e&&null==i){if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(t)>-1)throw"Node already in graph!";return t.owner=this,this.getNodes().push(t),t}if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(!(e.owner==i.owner&&e.owner==this))throw"Both owners must be this graph!";return e.owner!=i.owner?null:(t.source=e,t.target=i,t.isInterGraph=!1,this.getEdges().push(t),e.edges.push(t),i!=e&&i.edges.push(t),t)},u.prototype.remove=function(t){if(t instanceof a){if(null==t)throw"Node is null!";if(!(null!=t.owner&&t.owner==this))throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var e,i=t.edges.slice(),n=i.length,r=0;r-1&&l>-1))throw"Source and/or target doesn't know this edge!";e.source.edges.splice(s,1),e.target!=e.source&&e.target.edges.splice(l,1);var o=e.source.owner.getEdges().indexOf(e);if(-1==o)throw"Not in owner's edge list!";e.source.owner.getEdges().splice(o,1)}},u.prototype.updateLeftTop=function(){for(var t,e,i,n=r.MAX_VALUE,o=r.MAX_VALUE,s=this.getNodes(),a=s.length,h=0;ht&&(n=t),o>e&&(o=e)}return n==r.MAX_VALUE?null:(i=void 0!=s[0].getParent().paddingLeft?s[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=n-i,new c(this.left,this.top))},u.prototype.updateBounds=function(t){for(var e,i,n,o,s,a=r.MAX_VALUE,h=-r.MAX_VALUE,c=r.MAX_VALUE,g=-r.MAX_VALUE,u=this.nodes,d=u.length,p=0;pe&&(a=e),hn&&(c=n),ge&&(s=e),an&&(h=n),c=this.nodes.length){var h=0;r.forEach(function(t){t.owner==i&&h++}),h==this.nodes.length&&(this.isConnected=!0)}},t.exports=u},function(t,e,i){"use strict";var n,r=i(1);function o(t){n=i(5),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,n,r){if(null==i&&null==n&&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=i,n=e,i=t;var o=n.getOwner(),s=r.getOwner();if(!(null!=o&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(null!=s&&s.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==s)return i.isInterGraph=!1,o.add(i,n,r);if(i.isInterGraph=!0,i.source=n,i.target=r,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),!(null!=i.source&&null!=i.target))throw"Edge source and/or target is null!";if(!(-1==i.source.edges.indexOf(i)&&-1==i.target.edges.indexOf(i)))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof n){if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||null!=t.parent&&t.parent.graphManager==this))throw"Invalid parent node!";for(var e,i,o=[],s=(o=o.concat(t.getEdges())).length,a=0;a=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var s=o*i[0],a=i[1]/o;i[0]s?(i[0]=n,i[1]=h,i[2]=o,i[3]=_):ro?(i[0]=a,i[1]=r,i[2]=E,i[3]=s):no?(i[0]=c,i[1]=g):(i[0]=l,i[1]=h),L=!0):O===I&&(n>o?(i[0]=a,i[1]=h):(i[0]=u,i[1]=g),L=!0),-D===I?(o>n?(i[2]=v,i[3]=_):(i[2]=E,i[3]=y),T=!0):D===I&&(o>n?(i[2]=f,i[3]=y):(i[2]=m,i[3]=_),T=!0),L&&T)return!1;if(n>o?r>s?(w=this.getCardinalDirection(O,I,4),R=this.getCardinalDirection(D,I,2)):(w=this.getCardinalDirection(-O,I,3),R=this.getCardinalDirection(-D,I,1)):r>s?(w=this.getCardinalDirection(-O,I,1),R=this.getCardinalDirection(-D,I,3)):(w=this.getCardinalDirection(O,I,2),R=this.getCardinalDirection(D,I,4)),!L)switch(w){case 1:M=h,C=n+-p/I,i[0]=C,i[1]=M;break;case 2:C=u,M=r+d*I,i[0]=C,i[1]=M;break;case 3:M=g,C=n+p/I,i[0]=C,i[1]=M;break;case 4:C=c,M=r+-d*I,i[0]=C,i[1]=M}if(!T)switch(R){case 1:G=y,x=o+-A/I,i[2]=x,i[3]=G;break;case 2:x=m,G=s+N*I,i[2]=x,i[3]=G;break;case 3:G=_,x=o+A/I,i[2]=x,i[3]=G;break;case 4:x=v,G=s+-N*I,i[2]=x,i[3]=G}}return!1},r.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},r.getIntersection=function(t,e,i,r){if(null==r)return this.getIntersection2(t,e,i);var o=t.x,s=t.y,a=e.x,h=e.y,l=i.x,c=i.y,g=r.x,u=r.y,d=void 0,p=void 0,f=void 0,y=void 0,E=void 0,v=void 0,_=void 0,m=void 0,N=void 0;return(f=h-s,E=o-a,_=a*s-o*h,y=u-c,v=l-g,m=g*c-l*u,0==(N=f*v-y*E))?null:new n(d=(E*m-v*_)/N,p=(y*_-f*m)/N)},r.angleOfVector=function(t,e,i,n){var r=void 0;return t!==i?(r=Math.atan((n-e)/(i-t)),i0?1:t<0?-1:0},n.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},n.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=n},function(t,e,i){"use strict";function n(){}n.MAX_VALUE=0x7fffffff,n.MIN_VALUE=-0x80000000,t.exports=n},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i0&&e;){for(a.push(l[0]);a.length>0&&e;){var c=a[0];a.splice(0,1),s.add(c);for(var g=c.getEdges(),o=0;o-1&&l.splice(f,1)}s=new Set,h=new Map}else t=[]}return t},u.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,n=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r0){for(var r=this.edgeToDummyNodes.get(i),o=0;o=0&&e.splice(g,1),a.getNeighborsList().forEach(function(t){if(0>i.indexOf(t)){var e=n.get(t)-1;1==e&&l.push(t),n.set(t,e)}})}i=i.concat(l),(1==e.length||2==e.length)&&(r=!0,o=e[0])}return o},u.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=u},function(t,e,i){"use strict";function n(){}n.seed=1,n.x=0,n.nextDouble=function(){return n.x=1e4*Math.sin(n.seed++),n.x-Math.floor(n.x)},t.exports=n},function(t,e,i){"use strict";var n=i(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,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},r.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},r.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},r.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},r.prototype.inverseTransformPoint=function(t){return new n(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r},function(t,e,i){"use strict";var n=i(15),r=i(7),o=i(0),s=i(8),a=i(9);function h(){n.call(this),this.useSmartIdealEdgeLengthCalculation=r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=r.DEFAULT_EDGE_LENGTH,this.springConstant=r.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=r.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=r.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=r.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*r.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=r.MAX_ITERATIONS}for(var l in h.prototype=Object.create(n.prototype),n)h[l]=n[l];h.prototype.initParameters=function(){n.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,n,s,a,h=this.getGraphManager().getAllEdges(),l=0;lr.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*r.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-r.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>r.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(r.COOLING_ADAPTATION_FACTOR,1-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*(1-r.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i0)||void 0===arguments[0]||arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&s&&this.updateGrid(),o=new Set,t=0;t(h=e.getEstimatedSize()*this.gravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*o):(s>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=2>Math.abs(this.totalDisplacement-this.oldTotalDisplacement)),t=this.totalDisplacement=a.length||l>=a[0].length))for(var c=0;ct}}]),t}();t.exports=o},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=i,this.match_score=n,this.mismatch_penalty=r,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=Array(this.iMax);for(var s=0;s=0;i--){var n=this.listeners[i];n.event===t&&n.callback===e&&this.listeners.splice(i,1)}},r.emit=function(t,e){for(var i=0;i2&&I.push("'"+this.terminals_[T]+"'");R=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(R,{text:d.match,token:this.terminals_[_]||_,line:d.yylineno,loc:y,expected:I})}if(A[0]instanceof Array&&A.length>1)throw Error("Parse Error: multiple actions possible at state: "+N+", token: "+_);switch(A[0]){case 1:i.push(_),r.push(d.yytext),o.push(d.yylloc),i.push(A[1]),_=null,m?(_=m,m=null):(c=d.yyleng,h=d.yytext,l=d.yylineno,y=d.yylloc,g>0&&g--);break;case 2:if(O=this.productions_[A[1]][1],w.$=r[r.length-O],w._$={first_line:o[o.length-(O||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(O||1)].first_column,last_column:o[o.length-1].last_column},E&&(w._$.range=[o[o.length-(O||1)].range[0],o[o.length-1].range[1]]),void 0!==(L=this.performAction.apply(w,[h,c,l,p.yy,A[1],r,o].concat(u))))return L;O&&(i=i.slice(0,-1*O*2),r=r.slice(0,-1*O),o=o.slice(0,-1*O)),i.push(this.productions_[A[1]][0]),r.push(w.$),o.push(w._$),D=a[i[i.length-2]][i[i.length-1]],i.push(D);break;case 3:return!0}}return!0},"parse")},_={EOF:1,parseError:(0,s.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,s.eW)(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},"setInput"),input:(0,s.eW)(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},"input"),unput:(0,s.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,s.eW)(function(){return this._more=!0,this},"more"),reject:(0,s.eW)(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})},"reject"),less:(0,s.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s.eW)(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,"")},"upcomingInput"),showPosition:(0,s.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s.eW)(function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var o in r)this[o]=r[o];return!1},"test_match"),next:(0,s.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),o=0;oe[0].length)){if(e=i,n=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[o])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,s.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,s.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,s.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.eW)(function(t,e,i,n){switch(i){case 0:return t.getLogger().trace("Found comment",e.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5: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:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 27:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return t.getLogger().trace("Long description:",e.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function m(){this.yy={}}return v.lexer=_,(0,s.eW)(m,"Parser"),m.prototype=v,v.Parser=m,new m}();d.parser=d;var p=[],f=0,y={},E=(0,s.eW)(()=>{p=[],f=0,y={}},"clear"),v=(0,s.eW)(function(t){for(let e=p.length-1;e>=0;e--)if(p[e].levelp.length>0?p[0]:null,"getMindmap"),m=(0,s.eW)((t,e,i,n)=>{s.cM.info("addNode",t,e,i,n);let r=(0,s.nV)(),o=r.mindmap?.padding??s.vZ.mindmap.padding;switch(n){case N.ROUNDED_RECT:case N.RECT:case N.HEXAGON:o*=2}let a={id:f++,nodeId:(0,s.oO)(e,r),level:t,descr:(0,s.oO)(i,r),type:n,children:[],width:r.mindmap?.maxNodeWidth??s.vZ.mindmap.maxNodeWidth,padding:o},h=v(t);if(h)h.children.push(a),p.push(a);else if(0===p.length)p.push(a);else throw Error('There can be only one root. No parent could be found for ("'+a.descr+'")')},"addNode"),N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},A=(0,s.eW)((t,e)=>{switch(s.cM.debug("In get type",t,e),t){case"[":return N.RECT;case"(":return")"===e?N.ROUNDED_RECT:N.CLOUD;case"((":return N.CIRCLE;case")":return N.CLOUD;case"))":return N.BANG;case"{{":return N.HEXAGON;default:return N.DEFAULT}},"getType"),L=(0,s.eW)((t,e)=>{y[t]=e},"setElementForId"),T=(0,s.eW)(t=>{if(!t)return;let e=(0,s.nV)(),i=p[p.length-1];t.icon&&(i.icon=(0,s.oO)(t.icon,e)),t.class&&(i.class=(0,s.oO)(t.class,e))},"decorateNode"),O=(0,s.eW)(t=>{switch(t){case N.DEFAULT:return"no-border";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded-rect";case N.CIRCLE:return"circle";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),D=(0,s.eW)(()=>s.cM,"getLogger"),I=(0,s.eW)(t=>y[t],"getElementById"),w=(0,s.eW)(function(t,e,i,n){e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 ${i.height-5} v${-i.height+10} q0,-5 5,-5 h${i.width-10} q5,0 5,5 v${i.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",i.height).attr("x2",i.width).attr("y2",i.height)},"defaultBkg"),R=(0,s.eW)(function(t,e,i){e.append("rect").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("height",i.height).attr("width",i.width)},"rectBkg"),C=(0,s.eW)(function(t,e,i){let n=i.width,r=i.height,o=.15*n,s=.25*n,a=.35*n,h=.2*n;e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 0 a${o},${o} 0 0,1 ${.25*n},${-1*n*.1} + a${a},${a} 1 0,1 ${.4*n},${-1*n*.1} + a${s},${s} 1 0,1 ${.35*n},${1*n*.2} + + a${o},${o} 1 0,1 ${.15*n},${1*r*.35} + a${h},${h} 1 0,1 ${-1*n*.15},${1*r*.65} + + a${s},${o} 1 0,1 ${-1*n*.25},${.15*n} + a${a},${a} 1 0,1 ${-1*n*.5},0 + a${o},${o} 1 0,1 ${-1*n*.25},${-1*n*.15} + + a${o},${o} 1 0,1 ${-1*n*.1},${-1*r*.35} + a${h},${h} 1 0,1 ${.1*n},${-1*r*.65} + + H0 V0 Z`)},"cloudBkg"),M=(0,s.eW)(function(t,e,i){let n=i.width,r=i.height,o=.15*n;e.append("path").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("d",`M0 0 a${o},${o} 1 0,0 ${.25*n},${-1*r*.1} + a${o},${o} 1 0,0 ${.25*n},0 + a${o},${o} 1 0,0 ${.25*n},0 + a${o},${o} 1 0,0 ${.25*n},${1*r*.1} + + a${o},${o} 1 0,0 ${.15*n},${1*r*.33} + a${.8*o},${.8*o} 1 0,0 0,${1*r*.34} + a${o},${o} 1 0,0 ${-1*n*.15},${1*r*.33} + + a${o},${o} 1 0,0 ${-1*n*.25},${.15*r} + a${o},${o} 1 0,0 ${-1*n*.25},0 + a${o},${o} 1 0,0 ${-1*n*.25},0 + a${o},${o} 1 0,0 ${-1*n*.25},${-1*r*.15} + + a${o},${o} 1 0,0 ${-1*n*.1},${-1*r*.33} + a${.8*o},${.8*o} 1 0,0 0,${-1*r*.34} + a${o},${o} 1 0,0 ${.1*n},${-1*r*.33} + + H0 V0 Z`)},"bangBkg"),x=(0,s.eW)(function(t,e,i){e.append("circle").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("r",i.width/2)},"circleBkg");function G(t,e,i,n,r){return t.insert("polygon",":first-child").attr("points",n.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+(r.width-e)/2+", "+i+")")}(0,s.eW)(G,"insertPolygonShape");var S=(0,s.eW)(function(t,e,i){let n=i.height,r=n/4,o=i.width-i.padding+2*r,s=[{x:r,y:0},{x:o-r,y:0},{x:o,y:-n/2},{x:o-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}];G(e,o,n,s,i)},"hexagonBkg"),b=(0,s.eW)(function(t,e,i){e.append("rect").attr("id","node-"+i.id).attr("class","node-bkg node-"+t.type2Str(i.type)).attr("height",i.height).attr("rx",i.padding).attr("ry",i.padding).attr("width",i.width)},"roundedRectBkg"),F=(0,s.eW)(async function(t,e,i,o,s){let a=s.htmlLabels,h=o%11,l=e.append("g");i.section=h;let c="section-"+h;h<0&&(c+=" section-root"),l.attr("class",(i.class?i.class+" ":"")+"mindmap-node "+c);let g=l.append("g"),u=l.append("g"),d=i.descr.replace(/()/g,"\n");await (0,n.rw)(u,d,{useHtmlLabels:a,width:i.width,classes:"mindmap-node-label"},s),!a&&u.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");let p=u.node().getBBox(),[f]=(0,r.VG)(s.fontSize);if(i.height=p.height+.55*f+i.padding,i.width=p.width+2*i.padding,i.icon){if(i.type===t.nodeType.CIRCLE)i.height+=50,i.width+=50,l.append("foreignObject").attr("height","50px").attr("width",i.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+h+" "+i.icon),u.attr("transform","translate("+i.width/2+", "+(i.height/2-1.5*i.padding)+")");else{i.width+=50;let t=i.height;i.height=Math.max(t,60);let e=Math.abs(i.height-t);l.append("foreignObject").attr("width","60px").attr("height",i.height).attr("style","text-align: center;margin-top:"+e/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+h+" "+i.icon),u.attr("transform","translate("+(25+i.width/2)+", "+(e/2+i.padding/2)+")")}}else if(a){let t=(i.width-p.width)/2,e=(i.height-p.height)/2;u.attr("transform","translate("+t+", "+e+")")}else{let t=i.width/2,e=i.padding/2;u.attr("transform","translate("+t+", "+e+")")}switch(i.type){case t.nodeType.DEFAULT:w(t,g,i,h);break;case t.nodeType.ROUNDED_RECT:b(t,g,i,h);break;case t.nodeType.RECT:R(t,g,i,h);break;case t.nodeType.CIRCLE:g.attr("transform","translate("+i.width/2+", "+ +i.height/2+")"),x(t,g,i,h);break;case t.nodeType.CLOUD:C(t,g,i,h);break;case t.nodeType.BANG:M(t,g,i,h);break;case t.nodeType.HEXAGON:S(t,g,i,h)}return t.setElementForId(i.id,l),i.height},"drawNode"),P=(0,s.eW)(function(t,e){let i=t.getElementById(e.id),n=e.x||0,r=e.y||0;i.attr("transform","translate("+n+","+r+")")},"positionNode");async function U(t,e,i,n,r){await F(t,e,i,n,r),i.children&&await Promise.all(i.children.map((i,o)=>U(t,e,i,n<0?o:n,r)))}function Y(t,e){e.edges().map((e,i)=>{let n=e.data();if(e[0]._private.bodyBounds){let r=e[0]._private.rscratch;s.cM.trace("Edge: ",i,n),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-"+n.section+" edge-depth-"+n.depth)}})}function k(t,e,i,n){e.add({group:"nodes",data:{id:t.id.toString(),labelText:t.descr,height:t.height,width:t.width,level:n,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach(r=>{k(r,e,i,n+1),e.add({group:"edges",data:{id:`${t.id}_${r.id}`,source:t.id,target:r.id,depth:n,section:r.section}})})}function X(t,e){return new Promise(i=>{let n=(0,l.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),r=(0,a.Z)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});n.remove(),k(t,r,e,0),r.nodes().forEach(function(t){t.layoutDimensions=()=>{let 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=>{s.cM.info("Ready",t),i(r)})})}function W(t,e){e.nodes().map((e,i)=>{let n=e.data();n.x=e.position().x,n.y=e.position().y,P(t,n);let r=t.getElementById(n.nodeId);s.cM.info("Id:",i,"Position: (",e.position().x,", ",e.position().y,")",n),r.attr("transform",`translate(${e.position().x-n.width/2}, ${e.position().y-n.height/2})`),r.attr("attr",`apa-${i})`)})}a.Z.use(h),(0,s.eW)(U,"drawNodes"),(0,s.eW)(Y,"drawEdges"),(0,s.eW)(k,"addNodes"),(0,s.eW)(X,"layoutMindmap"),(0,s.eW)(W,"positionNodes");var B=(0,s.eW)(async(t,e,i,n)=>{s.cM.debug("Rendering mindmap diagram\n"+t);let r=n.db,a=r.getMindmap();if(!a)return;let h=(0,s.nV)();h.htmlLabels=!1;let l=(0,o.P)(e),c=l.append("g");c.attr("class","mindmap-edges");let g=l.append("g");g.attr("class","mindmap-nodes"),await U(r,g,a,-1,h);let u=await X(a,h);Y(c,u),W(r,u),(0,s.j7)(void 0,l,h.mindmap?.padding??s.vZ.mindmap.padding,h.mindmap?.useMaxWidth??s.vZ.mindmap.useMaxWidth)},"draw"),$=(0,s.eW)(t=>{let e="";for(let e=0;e` + .edge { + stroke-width: 3; + } + ${$(t)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${t.git0}; + } + .section-root text { + fill: ${t.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .mindmap-node-label { + dy: 1em; + alignment-baseline: middle; + text-anchor: middle; + dominant-baseline: middle; + text-align: center; + } +`,"getStyles"),j={db:{clear:E,addNode:m,getMindmap:_,nodeType:N,getType:A,setElementForId:L,decorateNode:T,type2Str:O,getLogger:D,getElementById:I},renderer:{draw:B},parser:d,styles:H}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/49f850f6.359eb6e1.js b/pr-preview/pr-5/assets/js/49f850f6.359eb6e1.js new file mode 100644 index 0000000..0153177 --- /dev/null +++ b/pr-preview/pr-5/assets/js/49f850f6.359eb6e1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["4645"],{85664:function(e,t,s){s.r(t),s.d(t,{metadata:()=>r,contentTitle:()=>o,default:()=>j,assets:()=>h,toc:()=>u,frontMatter:()=>l});var r=JSON.parse('{"id":"spec/data/process","title":"Process","description":"Represents a process concept.","source":"@site/docs/spec/data/process.mdx","sourceDirName":"spec/data","slug":"/spec/data/process","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/process","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/process.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732844876000,"frontMatter":{"id":"process","title":"Process","description":"Represents a process concept.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Parcel Identifier","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id"},"next":{"title":"Project Bundle","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle"}}'),n=s("85893"),i=s("50065"),c=s("45056");s("98477");var a=s("47902"),d=s("5525"),p=JSON.parse('{"class":"status","description":"The authorization request is under review by subject matter expert.","parent_class":"stage","parent_concept":"underreview","system":"http://bcgov.github.io/nr-pies/docs/concept/process_tracking","value":"pending review"}');let l={id:"process",title:"Process",description:"Represents a process concept.",tags:["developer"]},o=void 0,h={},u=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function x(e){let t={a:"a",code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"Represents a process concept."}),"\n",(0,n.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,n.jsx)(t.p,{children:"This data type is intended to represent the core concept of a defined process."}),"\n",(0,n.jsxs)(t.p,{children:["Loosely taking inspiration from ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/datatypes.html#timing",children:"HL7 Timing"}),"."]}),"\n",(0,n.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Cardinality"}),(0,n.jsx)(t.th,{children:"Type"}),(0,n.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"TBD"}),(0,n.jsx)(t.td,{children:"1..1"}),(0,n.jsx)(t.td,{children:(0,n.jsx)(t.code,{children:"string"})}),(0,n.jsx)(t.td,{children:"TBD"})]})})]}),"\n",(0,n.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,n.jsx)(a.default,{queryString:"tab",children:(0,n.jsx)(d.default,{value:"example",label:"Example",children:(0,n.jsx)(c.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})}),"\n",(0,n.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,n.jsx)(t.p,{children:"TBD"}),"\n",(0,n.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,n.jsx)(t.p,{children:"TBD"})]})}function j(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/5146.0f8244c6.js b/pr-preview/pr-5/assets/js/5146.0f8244c6.js new file mode 100644 index 0000000..30c5f39 --- /dev/null +++ b/pr-preview/pr-5/assets/js/5146.0f8244c6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5146"],{63898:function(e,t,r){r.d(t,{default:function(){return aY}});class a{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class n{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new n(t,a.range(this,e))}}class i{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+e,a=t&&t.loc;if(a&&a.start<=a.end){var n,s,o,l,h=a.lexer.input;n=a.start,s=a.end,n===h.length?r+=" at end of input: ":r+=" at position "+(n+1)+": ";var m=h.slice(n,s).replace(/[^]/g,"$&\u0332");o=n>15?"\u2026"+h.slice(n-15,n):h.slice(0,n),r+=o+m+(l=s+15":">","<":"<",'"':""","'":"'"},q=/[&><"']/g,N=function e(t){if("ordgroup"===t.type)return 1===t.body.length?e(t.body[0]):t;if("color"===t.type)return 1===t.body.length?e(t.body[0]):t;if("font"===t.type)return e(t.body);else return t},I=function(e){if(!e)throw Error("Expected non-null, but got "+String(e));return e},H={contains:function(e,t){return -1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(q,e=>C[e])},hyphenate:function(e){return e.replace(B,"-$1").toLowerCase()},getBaseElem:N,isCharacterBox:function(e){var t=N(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"===t[2]&&/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}},R={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};class O{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},R)if(R.hasOwnProperty(t)){var r=R[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:function(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}(r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),!!a&&"ignore"!==a){if(!0===a||"error"===a)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e)+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e)+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e)+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(e){a="error"}if(!a||"ignore"===a)return!1;if(!0===a||"error"===a)return!0;if("warn"===a)return"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e)+"]"),!1;else return"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e)+"]"),!1}isTrusted(e){if(e.url&&!e.protocol){var t=H.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}return!!("function"==typeof this.trust?this.trust(e):this.trust)}}class E{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return L[D[this.id]]}sub(){return L[V[this.id]]}fracNum(){return L[P[this.id]]}fracDen(){return L[F[this.id]]}cramp(){return L[G[this.id]]}text(){return L[U[this.id]]}isTight(){return this.size>=2}}var L=[new E(0,0,!1),new E(1,0,!0),new E(2,1,!1),new E(3,1,!0),new E(4,2,!1),new E(5,2,!0),new E(6,3,!1),new E(7,3,!0)],D=[4,5,4,5,6,7,6,7],V=[5,5,5,5,7,7,7,7],P=[2,3,4,5,6,7,6,7],F=[3,3,5,5,7,7,7,7],G=[1,1,3,3,5,5,7,7],U=[0,1,2,3,2,3,2,3],Y={DISPLAY:L[0],TEXT:L[2],SCRIPT:L[4],SCRIPTSCRIPT:L[6]},X=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],W=[];function _(e){for(var t=0;t=W[t]&&e<=W[t+1])return!0;return!1}X.forEach(e=>e.blocks.forEach(e=>W.push(...e)));var j=function(e,t,r){t*=1e3;var a,n,i,s,o,l,h,m,c,p,u,d,g="";switch(e){case"sqrtMain":;n=80,g="M95,"+(622+(a=t)+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+a/2.075+" -"+a+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+a)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+a)+" "+n+"h400000v"+(40+a)+"h-400000z";break;case"sqrtSize1":;s=80,g="M263,"+(601+(i=t)+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+i/2.084+" -"+i+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+i)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+i)+" "+s+"h400000v"+(40+i)+"h-400000z";break;case"sqrtSize2":;l=80,g="M983 "+(10+(o=t)+80)+"\nl"+o/3.13+" -"+o+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+o)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+o)+" "+l+"h400000v"+(40+o)+"h-400000z";break;case"sqrtSize3":;m=80,g="M424,"+(2398+(h=t)+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+h/4.223+" -"+h+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+h)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+h)+" "+m+"\nh400000v"+(40+h)+"h-400000z";break;case"sqrtSize4":;p=80,g="M473,"+(2713+(c=t)+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+c/5.298+" -"+c+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+c)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+c)+" "+p+"h400000v"+(40+c)+"H1017.7z";break;case"sqrtTall":;d=80,g="M702 "+((u=t)+80)+"H400000"+(40+u)+"\nH742v"+(r-54-d-u)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+d+"H400000v"+(40+u)+"H742z"}return g},$=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t)+" H367z";case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t)+" H478z";default:return""}},Z={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},K=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw Error("Unknown stretchy delimiter.")}};class J{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return H.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText()).join("")}}var Q={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ee={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},et={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function er(e,t,r){if(!Q[t])throw Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=Q[t][a];if(!n&&e[0]in et&&(a=et[e[0]].charCodeAt(0),n=Q[t][a]),!n&&"text"===r&&_(a)&&(n=Q[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var ea={},en=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],ei=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],es=function(e,t){return t.size<2?e:en[e-1][t.size-1]};class eo{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||eo.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=ei[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new eo(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:es(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:ei[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=es(eo.BASESIZE,e);return this.size===t&&this.textSize===eo.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==eo.BASESIZE?["sizing","reset-size"+this.size,"size"+eo.BASESIZE]:[]}fontMetrics(){return!this._fontMetrics&&(this._fontMetrics=function(e){var t;if(!ea[t=e>=5?0:e>=3?1:2]){var r=ea[t]={cssEmPerMu:ee.quad[t]/18};for(var a in ee)ee.hasOwnProperty(a)&&(r[a]=ee[a][t])}return ea[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}eo.BASESIZE=6;var el={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},eh={ex:!0,em:!0,mu:!0},em=function(e){return"string"!=typeof e&&(e=e.unit),e in el||e in eh||"ex"===e},ec=function(e,t){var r,a;if(e.unit in el)r=el[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else if("em"===e.unit)r=a.fontMetrics().quad;else throw new i("Invalid unit: '"+e.unit+"'");a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},ep=function(e){return+e.toFixed(4)+"em"},eu=function(e){return e.filter(e=>e).join(" ")},ed=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},eg=function(e){var t=document.createElement(e);for(var r in t.className=eu(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n"};class ev{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ed.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return H.contains(this.classes,e)}toNode(){return eg.call(this,"span")}toMarkup(){return ef.call(this,"span")}}class eb{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ed.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return H.contains(this.classes,e)}toNode(){return eg.call(this,"a")}toMarkup(){return ef.call(this,"a")}}class ey{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return H.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=''+H.escape(this.alt))+'=n[0]&&e<=n[1])return r.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ex[this.text])}hasClass(e){return H.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=ep(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=eu(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=H.hyphenate(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+H.escape(r)+'"');var n=H.escape(this.text);return e?(t+=">",t+=n,t+=""):n}}class ek{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r':''}}class eM{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="","\\gt",!0),eC(eq,eI,"rel","\u2208","\\in",!0),eC(eq,eI,"rel","\uE020","\\@not"),eC(eq,eI,"rel","\u2282","\\subset",!0),eC(eq,eI,"rel","\u2283","\\supset",!0),eC(eq,eI,"rel","\u2286","\\subseteq",!0),eC(eq,eI,"rel","\u2287","\\supseteq",!0),eC(eq,"ams","rel","\u2288","\\nsubseteq",!0),eC(eq,"ams","rel","\u2289","\\nsupseteq",!0),eC(eq,eI,"rel","\u22A8","\\models"),eC(eq,eI,"rel","\u2190","\\leftarrow",!0),eC(eq,eI,"rel","\u2264","\\le"),eC(eq,eI,"rel","\u2264","\\leq",!0),eC(eq,eI,"rel","<","\\lt",!0),eC(eq,eI,"rel","\u2192","\\rightarrow",!0),eC(eq,eI,"rel","\u2192","\\to"),eC(eq,"ams","rel","\u2271","\\ngeq",!0),eC(eq,"ams","rel","\u2270","\\nleq",!0),eC(eq,eI,eP,"\xa0","\\ "),eC(eq,eI,eP,"\xa0","\\space"),eC(eq,eI,eP,"\xa0","\\nobreakspace"),eC(eN,eI,eP,"\xa0","\\ "),eC(eN,eI,eP,"\xa0"," "),eC(eN,eI,eP,"\xa0","\\space"),eC(eN,eI,eP,"\xa0","\\nobreakspace"),eC(eq,eI,eP,null,"\\nobreak"),eC(eq,eI,eP,null,"\\allowbreak"),eC(eq,eI,eV,",",","),eC(eq,eI,eV,";",";"),eC(eq,"ams","bin","\u22BC","\\barwedge",!0),eC(eq,"ams","bin","\u22BB","\\veebar",!0),eC(eq,eI,"bin","\u2299","\\odot",!0),eC(eq,eI,"bin","\u2295","\\oplus",!0),eC(eq,eI,"bin","\u2297","\\otimes",!0),eC(eq,eI,eF,"\u2202","\\partial",!0),eC(eq,eI,"bin","\u2298","\\oslash",!0),eC(eq,"ams","bin","\u229A","\\circledcirc",!0),eC(eq,"ams","bin","\u22A1","\\boxdot",!0),eC(eq,eI,"bin","\u25B3","\\bigtriangleup"),eC(eq,eI,"bin","\u25BD","\\bigtriangledown"),eC(eq,eI,"bin","\u2020","\\dagger"),eC(eq,eI,"bin","\u22C4","\\diamond"),eC(eq,eI,"bin","\u22C6","\\star"),eC(eq,eI,"bin","\u25C3","\\triangleleft"),eC(eq,eI,"bin","\u25B9","\\triangleright"),eC(eq,eI,eD,"{","\\{"),eC(eN,eI,eF,"{","\\{"),eC(eN,eI,eF,"{","\\textbraceleft"),eC(eq,eI,eR,"}","\\}"),eC(eN,eI,eF,"}","\\}"),eC(eN,eI,eF,"}","\\textbraceright"),eC(eq,eI,eD,"{","\\lbrace"),eC(eq,eI,eR,"}","\\rbrace"),eC(eq,eI,eD,"[","\\lbrack",!0),eC(eN,eI,eF,"[","\\lbrack",!0),eC(eq,eI,eR,"]","\\rbrack",!0),eC(eN,eI,eF,"]","\\rbrack",!0),eC(eq,eI,eD,"(","\\lparen",!0),eC(eq,eI,eR,")","\\rparen",!0),eC(eN,eI,eF,"<","\\textless",!0),eC(eN,eI,eF,">","\\textgreater",!0),eC(eq,eI,eD,"\u230A","\\lfloor",!0),eC(eq,eI,eR,"\u230B","\\rfloor",!0),eC(eq,eI,eD,"\u2308","\\lceil",!0),eC(eq,eI,eR,"\u2309","\\rceil",!0),eC(eq,eI,eF,"\\","\\backslash"),eC(eq,eI,eF,"\u2223","|"),eC(eq,eI,eF,"\u2223","\\vert"),eC(eN,eI,eF,"|","\\textbar",!0),eC(eq,eI,eF,"\u2225","\\|"),eC(eq,eI,eF,"\u2225","\\Vert"),eC(eN,eI,eF,"\u2225","\\textbardbl"),eC(eN,eI,eF,"~","\\textasciitilde"),eC(eN,eI,eF,"\\","\\textbackslash"),eC(eN,eI,eF,"^","\\textasciicircum"),eC(eq,eI,"rel","\u2191","\\uparrow",!0),eC(eq,eI,"rel","\u21D1","\\Uparrow",!0),eC(eq,eI,"rel","\u2193","\\downarrow",!0),eC(eq,eI,"rel","\u21D3","\\Downarrow",!0),eC(eq,eI,"rel","\u2195","\\updownarrow",!0),eC(eq,eI,"rel","\u21D5","\\Updownarrow",!0),eC(eq,eI,eL,"\u2210","\\coprod"),eC(eq,eI,eL,"\u22C1","\\bigvee"),eC(eq,eI,eL,"\u22C0","\\bigwedge"),eC(eq,eI,eL,"\u2A04","\\biguplus"),eC(eq,eI,eL,"\u22C2","\\bigcap"),eC(eq,eI,eL,"\u22C3","\\bigcup"),eC(eq,eI,eL,"\u222B","\\int"),eC(eq,eI,eL,"\u222B","\\intop"),eC(eq,eI,eL,"\u222C","\\iint"),eC(eq,eI,eL,"\u222D","\\iiint"),eC(eq,eI,eL,"\u220F","\\prod"),eC(eq,eI,eL,"\u2211","\\sum"),eC(eq,eI,eL,"\u2A02","\\bigotimes"),eC(eq,eI,eL,"\u2A01","\\bigoplus"),eC(eq,eI,eL,"\u2A00","\\bigodot"),eC(eq,eI,eL,"\u222E","\\oint"),eC(eq,eI,eL,"\u222F","\\oiint"),eC(eq,eI,eL,"\u2230","\\oiiint"),eC(eq,eI,eL,"\u2A06","\\bigsqcup"),eC(eq,eI,eL,"\u222B","\\smallint"),eC(eN,eI,eO,"\u2026","\\textellipsis"),eC(eq,eI,eO,"\u2026","\\mathellipsis"),eC(eN,eI,eO,"\u2026","\\ldots",!0),eC(eq,eI,eO,"\u2026","\\ldots",!0),eC(eq,eI,eO,"\u22EF","\\@cdots",!0),eC(eq,eI,eO,"\u22F1","\\ddots",!0),eC(eq,eI,eF,"\u22EE","\\varvdots"),eC(eq,eI,eH,"\u02CA","\\acute"),eC(eq,eI,eH,"\u02CB","\\grave"),eC(eq,eI,eH,"\xa8","\\ddot"),eC(eq,eI,eH,"~","\\tilde"),eC(eq,eI,eH,"\u02C9","\\bar"),eC(eq,eI,eH,"\u02D8","\\breve"),eC(eq,eI,eH,"\u02C7","\\check"),eC(eq,eI,eH,"^","\\hat"),eC(eq,eI,eH,"\u20D7","\\vec"),eC(eq,eI,eH,"\u02D9","\\dot"),eC(eq,eI,eH,"\u02DA","\\mathring"),eC(eq,eI,eE,"\uE131","\\@imath"),eC(eq,eI,eE,"\uE237","\\@jmath"),eC(eq,eI,eF,"\u0131","\u0131"),eC(eq,eI,eF,"\u0237","\u0237"),eC(eN,eI,eF,"\u0131","\\i",!0),eC(eN,eI,eF,"\u0237","\\j",!0),eC(eN,eI,eF,"\xdf","\\ss",!0),eC(eN,eI,eF,"\xe6","\\ae",!0),eC(eN,eI,eF,"\u0153","\\oe",!0),eC(eN,eI,eF,"\xf8","\\o",!0),eC(eN,eI,eF,"\xc6","\\AE",!0),eC(eN,eI,eF,"\u0152","\\OE",!0),eC(eN,eI,eF,"\xd8","\\O",!0),eC(eN,eI,eH,"\u02CA","\\'"),eC(eN,eI,eH,"\u02CB","\\`"),eC(eN,eI,eH,"\u02C6","\\^"),eC(eN,eI,eH,"\u02DC","\\~"),eC(eN,eI,eH,"\u02C9","\\="),eC(eN,eI,eH,"\u02D8","\\u"),eC(eN,eI,eH,"\u02D9","\\."),eC(eN,eI,eH,"\xb8","\\c"),eC(eN,eI,eH,"\u02DA","\\r"),eC(eN,eI,eH,"\u02C7","\\v"),eC(eN,eI,eH,"\xa8",'\\"'),eC(eN,eI,eH,"\u02DD","\\H"),eC(eN,eI,eH,"\u25EF","\\textcircled");var eG={"--":!0,"---":!0,"``":!0,"''":!0};eC(eN,eI,eF,"\u2013","--",!0),eC(eN,eI,eF,"\u2013","\\textendash"),eC(eN,eI,eF,"\u2014","---",!0),eC(eN,eI,eF,"\u2014","\\textemdash"),eC(eN,eI,eF,"\u2018","`",!0),eC(eN,eI,eF,"\u2018","\\textquoteleft"),eC(eN,eI,eF,"\u2019","'",!0),eC(eN,eI,eF,"\u2019","\\textquoteright"),eC(eN,eI,eF,"\u201C","``",!0),eC(eN,eI,eF,"\u201C","\\textquotedblleft"),eC(eN,eI,eF,"\u201D","''",!0),eC(eN,eI,eF,"\u201D","\\textquotedblright"),eC(eq,eI,eF,"\xb0","\\degree",!0),eC(eN,eI,eF,"\xb0","\\degree"),eC(eN,eI,eF,"\xb0","\\textdegree",!0),eC(eq,eI,eF,"\xa3","\\pounds"),eC(eq,eI,eF,"\xa3","\\mathsterling",!0),eC(eN,eI,eF,"\xa3","\\pounds"),eC(eN,eI,eF,"\xa3","\\textsterling",!0),eC(eq,"ams",eF,"\u2720","\\maltese"),eC(eN,"ams",eF,"\u2720","\\maltese");for(var eU='0123456789/@."',eY=0;eY{if(eu(e.classes)!==eu(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},tr=function(e){for(var t=0,r=0,a=0,n=0;nt&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},ta=function(e,t,r,a){var n=new ev(e,t,r,a);return tr(n),n},tn=(e,t,r,a)=>new ev(e,t,r,a),ti=function(e){var t=new J(e);return tr(t),t},ts=function(e){if("individualShift"===e.positionType){for(var t,r=e.children,a=[r[0]],n=-r[0].shift-r[0].elem.depth,i=n,s=1;s0)return te(n,l,a,t,i.concat(h));if(o){if("boldsymbol"===o){var m,c,p,u,d,g,f=(m=n,c=a,p=0,u=0,"textord"!==r&&e9(m,"Math-BoldItalic",c).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"});d=f.fontName,g=[f.fontClass]}else s?(d=tl[o].fontName,g=[o]):(d=to(o,t.fontWeight,t.fontShape),g=[o,t.fontWeight,t.fontShape]);if(e9(n,d,a).metrics)return te(n,d,a,t,i.concat(g));if(eG.hasOwnProperty(n)&&"Typewriter"===d.slice(0,10)){for(var v=[],b=0;b{var r=ta(["mspace"],[],t),a=ec(e,t);return r.style.marginRight=ep(a),r},staticSvg:function(e,t){var[r,a,n]=th[e],i=tn(["overlay"],[new ek([new eS(r)],{width:ep(a),height:ep(n),style:"width:"+ep(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"})],t);return i.height=n,i.style.height=ep(n),i.style.width=ep(a),i},svgData:th,tryCombineChars:e=>{for(var t=0;t{var r=t.classes[0],a=e.classes[0];"mbin"===r&&H.contains(tz,a)?t.classes[0]="mord":"mbin"===a&&H.contains(tM,r)&&(e.classes[0]="mord")},{node:m},c,p),tC(n,(e,t)=>{var r=tI(t),a=tI(e),n=r&&a?e.hasClass("mtight")?tg[r][a]:td[r][a]:null;if(n)return tm.makeGlue(n,l)},{node:m},c,p),n},tC=function e(t,r,a,n,i){n&&t.push(n);for(var s=0;s{t.splice(n+1,0,e),s++})}n&&t.pop()},tq=function(e){return e instanceof J||e instanceof eb||e instanceof ev&&e.hasClass("enclosing")?e:null},tN=function e(t,r){var a=tq(t);if(a){var n=a.children;if(n.length){if("right"===r)return e(n[n.length-1],"right");if("left"===r)return e(n[0],"left")}}return t},tI=function(e,t){return e?(t&&(e=tN(e,t)),tT[e.classes[0]]||null):null},tH=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return tS(t.concat(r))},tR=function(e,t,r){if(!e)return tS();if(tv[e.type]){var a=tv[e.type](e,t);if(r&&t.size!==r.size){a=tS(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i("Got group of unknown type: '"+e.type+"'")};function tO(e,t){var r=tS(["base"],e,t),a=tS(["strut"]);return a.style.height=ep(r.height+r.depth),r.depth&&(a.style.verticalAlign=ep(-r.depth)),r.children.unshift(a),r}function tE(e,t){var r,a,n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);var i=tB(e,t,"root");2===i.length&&i[1].hasClass("tag")&&(r=i.pop());for(var s=[],o=[],l=0;l0&&(s.push(tO(o,t)),o=[]),s.push(i[l]));o.length>0&&s.push(tO(o,t)),n?((a=tO(tB(n,t,!0))).classes=["tag"],s.push(a)):r&&s.push(r);var m=tS(["katex-html"],s);if(m.setAttribute("aria-hidden","true"),a){var c=a.children[0];c.style.height=ep(m.height+m.depth),m.depth&&(c.style.verticalAlign=ep(-m.depth))}return m}function tL(e){return new J(e)}class tD{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=eu(this.classes));for(var r=0;r0&&(e+=' class ="'+H.escape(eu(this.classes))+'"'),e+=">";for(var r=0;r"}toText(){return this.children.map(e=>e.toText()).join("")}}class tV{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return H.escape(this.toText())}toText(){return this.text}}var tP={MathNode:tD,TextNode:tV,SpaceNode:class e{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",ep(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:tL},tF=function(e,t,r){return eB[t][e]&&eB[t][e].replace&&55349!==e.charCodeAt(0)&&!(eG.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6)))&&(e=eB[t][e].replace),new tP.TextNode(e)},tG=function(e){return 1===e.length?e[0]:new tP.MathNode("mrow",e)},tU=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily){if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"sans-serif-bold-italic";if("textit"===t.fontShape)return"sans-serif-italic";else if("textbf"===t.fontWeight)return"bold-sans-serif";else return"sans-serif"}if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";else if("textit"===t.fontShape)return"italic";else if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var a=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";else if("mathbb"===r)return"double-struck";else if("mathfrak"===r)return"fraktur";else if("mathscr"===r||"mathcal"===r)return"script";else if("mathsf"===r)return"sans-serif";else if("mathtt"===r)return"monospace";var n=e.text;return H.contains(["\\imath","\\jmath"],n)?null:(eB[a][n]&&eB[a][n].replace&&(n=eB[a][n].replace),er(n,tm.fontMap[r].fontName,a))?tm.fontMap[r].variant:null},tY=function(e,t,r){if(1===e.length){var a,n=tW(e[0],t);return r&&n instanceof tD&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i=[],s=0;s0&&(m.text=m.text.slice(0,1)+"\u0338"+m.text.slice(1),i.pop())}}}i.push(o),a=o}return i},tX=function(e,t,r){return tG(tY(e,t,r))},tW=function(e,t){if(!e)return new tP.MathNode("mrow");if(tb[e.type])return tb[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function t_(e,t,r,a,n){var i,s=tY(e,r);i=1===s.length&&s[0]instanceof tD&&H.contains(["mrow","mtable"],s[0].type)?s[0]:new tP.MathNode("mrow",s);var o=new tP.MathNode("annotation",[new tP.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new tP.MathNode("semantics",[i,o]),h=new tP.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block"),tm.makeSpan([n?"katex":"katex-mathml"],[h])}var tj=function(e){return new eo({style:e.displayMode?Y.DISPLAY:Y.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},t$=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=tm.makeSpan(r,[e])}return e},tZ=function(e,t,r){var a,n=tj(r);if("mathml"===r.output)return t_(e,t,n,r.displayMode,!0);if("html"===r.output){var i=tE(e,n);a=tm.makeSpan(["katex"],[i])}else{var s=t_(e,t,n,r.displayMode,!1),o=tE(e,n);a=tm.makeSpan(["katex"],[s,o])}return t$(a,r)},tK=function(e,t,r){var a=tE(e,tj(r));return t$(tm.makeSpan(["katex"],[a]),r)},tJ={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},tQ={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},t0={encloseSpan:function(e,t,r,a,n){var i,s=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=tm.makeSpan(["stretchy",t],[],n),"fbox"===t){var o=n.color&&n.getColor();o&&(i.style.borderColor=o)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new eM({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new eM({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ek(l,{width:"100%",height:ep(s)});i=tm.makeSvgSpan([],[h],n)}return i.height=s,i.style.height=ep(s),i},mathMLnode:function(e){var t=new tP.MathNode("mo",[new tP.TextNode(tJ[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},svgSpan:function(e,t){var{span:r,minWidth:a,height:n}=function(){var r=4e5,a=e.label.slice(1);if(H.contains(["widehat","widecheck","widetilde","utilde"],a)){var n,i,s,o,l="ordgroup"===(o=e.base).type?o.body.length:1;if(l>5)"widehat"===a||"widecheck"===a?(n=420,r=2364,s=.42,i=a+"4"):(n=312,r=2340,s=.34,i="tilde4");else{var h=[1,1,2,2,3,3][l];"widehat"===a||"widecheck"===a?(r=[0,1062,2364,2364,2364][h],n=[0,239,300,360,420][h],s=[0,.24,.3,.3,.36,.42][h],i=a+h):(r=[0,600,1033,2339,2340][h],n=[0,260,286,306,312][h],s=[0,.26,.286,.3,.306,.34][h],i="tilde"+h)}var m=new ek([new eS(i)],{width:"100%",height:ep(s),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:tm.makeSvgSpan([],[m],t),minWidth:0,height:s}}var c,p,u=[],d=tQ[a],[g,f,v]=d,b=v/1e3,y=g.length;if(1===y){var x=d[3];c=["hide-tail"],p=[x]}else if(2===y)c=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else if(3===y)c=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error("Correct katexImagesData or update code here to support\n "+y+" children.");for(var w=0;w0&&(r.style.minWidth=ep(a)),r}};function t1(e,t){if(!e||e.type!==t)throw Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function t4(e){var t=t5(e);if(!t)throw Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function t5(e){return e&&("atom"===e.type||eT.hasOwnProperty(e.type))?e:null}var t6=(e,t)=>{e&&"supsub"===e.type?(o=(l=t1(e.base,"accent")).base,e.base=o,h=function(e){if(e instanceof ev)return e;throw Error("Expected span but got "+String(e)+".")}(tR(e,t)),e.base=l):o=(l=t1(e,"accent")).base;var r=tR(o,t.havingCrampedStyle()),a=l.isShifty&&H.isCharacterBox(o),n=0;a&&(n=ez(tR(H.getBaseElem(o),t.havingCrampedStyle())).skew);var i="\\c"===l.label,s=i?r.height+r.depth:Math.min(r.height,t.fontMetrics().xHeight);if(l.isStretchy)m=t0.svgSpan(l,t),m=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:n>0?{width:"calc(100% - "+ep(2*n)+")",marginLeft:ep(2*n)}:void 0}]},t);else{"\\vec"===l.label?(c=tm.staticSvg("vec",t),p=tm.svgData.vec[1]):((c=ez(c=tm.makeOrd({mode:l.mode,text:l.label},t,"textord"))).italic=0,p=c.width,i&&(s+=c.depth)),m=tm.makeSpan(["accent-body"],[c]);var o,l,h,m,c,p,u="\\textcircled"===l.label;u&&(m.classes.push("accent-full"),s=r.height);var d=n;!u&&(d-=p/2),m.style.left=ep(d),"\\textcircled"===l.label&&(m.style.top=".2em"),m=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:-s},{type:"elem",elem:m}]},t)}var g=tm.makeSpan(["mord","accent"],[m],t);return h?(h.children[0]=g,h.height=Math.max(g.height,h.height),h.classes[0]="mord",h):g},t7=(e,t)=>{var r=e.isStretchy?t0.mathMLnode(e.label):new tP.MathNode("mo",[tF(e.label,e.mode)]),a=new tP.MathNode("mover",[tW(e.base,t),r]);return a.setAttribute("accent","true"),a},t3=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ty({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=tw(t[0]),a=!t3.test(e.funcName),n=!a||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:t6,mathmlBuilder:t7}),ty({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],a=e.parser.mode;return"math"===a&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:t6,mathmlBuilder:t7}),ty({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(e,t)=>{var r=tR(e.base,t),a=t0.svgSpan(e,t),n="\\utilde"===e.label?.12:0,i=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=t0.mathMLnode(e.label),a=new tP.MathNode("munder",[tW(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var t8=e=>{var t=new tP.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ty({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a,funcName:n}=e;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a,n=t.style,i=t.havingStyle(n.sup()),s=tm.wrapFragment(tR(e.body,i,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";s.classes.push(o+"-arrow-pad"),e.below&&(i=t.havingStyle(n.sub()),(r=tm.wrapFragment(tR(e.below,i,t),t)).classes.push(o+"-arrow-pad"));var l=t0.svgSpan(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((s.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=s.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:m},{type:"elem",elem:l,shift:h}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),tm.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder(e,t){var r,a=t0.mathMLnode(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=t8(tW(e.body,t));if(e.below){var i=t8(tW(e.below,t));r=new tP.MathNode("munderover",[a,i,n])}else r=new tP.MathNode("mover",[a,n])}else if(e.below){var s=t8(tW(e.below,t));r=new tP.MathNode("munder",[a,s])}else r=t8(),r=new tP.MathNode("mover",[a,r]);return r}});var t2=tm.makeSpan;function t9(e,t){var r=tB(e.body,t,!0);return t2([e.mclass],r,t)}function re(e,t){var r,a=tY(e.body,t);return"minner"===e.mclass?r=new tP.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new tP.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new tP.MathNode("mo",a),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ty({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:tk(n),isCharacterBox:H.isCharacterBox(n)}},htmlBuilder:t9,mathmlBuilder:re});var rt=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"===t.type&&("bin"===t.family||"rel"===t.family)?"m"+t.family:"mord"};ty({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:rt(t[0]),body:tk(t[1]),isCharacterBox:H.isCharacterBox(t[1])}}}),ty({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:a,funcName:n}=e,i=t[1],s=t[0];r="\\stackrel"!==n?rt(i):"mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:tk(i)},l={type:"supsub",mode:s.mode,base:o,sup:"\\underset"===n?null:s,sub:"\\underset"===n?s:null};return{type:"mclass",mode:a.mode,mclass:r,body:[l],isCharacterBox:H.isCharacterBox(l)}},htmlBuilder:t9,mathmlBuilder:re}),ty({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:rt(t[0]),body:tk(t[0])}},htmlBuilder(e,t){var r=tB(e.body,t,!0),a=tm.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=tY(e.body,t),a=new tP.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var rr={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ra=()=>({type:"styling",body:[],mode:"math",style:"display"}),rn=e=>"textord"===e.type&&"@"===e.text,ri=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;ty({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),a=tm.wrapFragment(tR(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=ep(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new tP.MathNode("mrow",[tW(e.label,t)]);return(r=new tP.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new tP.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),ty({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=tm.wrapFragment(tR(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new tP.MathNode("mrow",[tW(e.fragment,t)])}),ty({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var r,{parser:a}=e,n=t1(t[0],"ordgroup").body,s="",o=0;o=1114111)throw new i("\\@char with invalid code point "+s);l<=65535?r=String.fromCharCode(l):(l-=65536,r=String.fromCharCode((l>>10)+55296,(1023&l)+56320));return{type:"textord",mode:a.mode,text:r}}});var rs=(e,t)=>{var r=tB(e.body,t.withColor(e.color),!1);return tm.makeFragment(r)},ro=(e,t)=>{var r=tY(e.body,t.withColor(e.color)),a=new tP.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};ty({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=t1(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:tk(n)}},htmlBuilder:rs,mathmlBuilder:ro}),ty({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=t1(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:rs,mathmlBuilder:ro}),ty({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:a}=e,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&t1(n,"size").value}},htmlBuilder(e,t){var r=tm.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ep(ec(e.size,t)))),r},mathmlBuilder(e,t){var r=new tP.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ep(ec(e.size,t)))),r}});var rl={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},rh=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},rm=e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t},rc=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};ty({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(rl[a.text])return("\\global"===r||"\\\\globallong"===r)&&(a.text=rl[a.text]),t1(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",a)}}),ty({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var t,{parser:r,funcName:a}=e,n=r.gullet.popToken(),s=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new i("Expected a control sequence",n);for(var o=0,l=[[]];"{"!==r.gullet.future().text;)if("#"===(n=r.gullet.popToken()).text){if("{"===r.gullet.future().text){t=r.gullet.future(),l[o].push("{");break}if(n=r.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new i('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==o+1)throw new i('Argument number "'+n.text+'" out of order');o++,l.push([])}else if("EOF"===n.text)throw new i("Expected a macro definition");else l[o].push(n.text);var{tokens:h}=r.gullet.consumeArg();return t&&h.unshift(t),("\\edef"===a||"\\xdef"===a)&&(h=r.gullet.expandTokens(h)).reverse(),r.gullet.macros.set(s,{tokens:h,numArgs:o,delimiters:l},a===rl[a]),{type:"internal",mode:r.mode}}}),ty({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rh(t.gullet.popToken());t.gullet.consumeSpaces();var n=rm(t);return rc(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),ty({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rh(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return rc(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var rp=function(e,t,r){var a=er(eB.math[e]&&eB.math[e].replace||e,t,r);if(!a)throw Error("Unsupported symbol "+e+" and font size "+t+".");return a},ru=function(e,t,r,a){var n=r.havingBaseStyle(t),i=tm.makeSpan(a.concat(n.sizingClasses(r)),[e],r),s=n.sizeMultiplier/r.sizeMultiplier;return i.height*=s,i.depth*=s,i.maxFontSize=n.sizeMultiplier,i},rd=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ep(n),e.height-=n,e.depth+=n},rg=function(e,t,r,a,n,i){var s=ru(tm.makeSymbol(e,"Main-Regular",n,a),t,a,i);return r&&rd(s,a,t),s},rf=function(e,t,r,a,n,i){var s,o,l,h,m=(s=e,o=t,l=n,h=a,tm.makeSymbol(s,"Size"+o+"-Regular",l,h)),c=ru(tm.makeSpan(["delimsizing","size"+t],[m],a),Y.TEXT,a,i);return r&&rd(c,a,Y.TEXT),c},rv=function(e,t,r){var a;return a="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:tm.makeSpan(["delimsizinginner",a],[tm.makeSpan([],[tm.makeSymbol(e,t,r)])])}},rb=function(e,t,r){var a=Q["Size4-Regular"][e.charCodeAt(0)]?Q["Size4-Regular"][e.charCodeAt(0)][4]:Q["Size1-Regular"][e.charCodeAt(0)][4],n=new ek([new eS("inner",$(e,Math.round(1e3*t)))],{width:ep(a),height:ep(t),style:"width:"+ep(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),i=tm.makeSvgSpan([],[n],r);return i.height=t,i.style.height=ep(t),i.style.width=ep(a),{type:"elem",elem:i}},ry={type:"kern",size:-.008},rx=["|","\\lvert","\\rvert","\\vert"],rw=["\\|","\\lVert","\\rVert","\\Vert"],rk=function(e,t,r,a,n,i){var s,o,l,h,m="",c=0;s=l=h=e,o=null;var p="Size1-Regular";"\\uparrow"===e?l=h="\u23D0":"\\Uparrow"===e?l=h="\u2016":"\\downarrow"===e?s=l="\u23D0":"\\Downarrow"===e?s=l="\u2016":"\\updownarrow"===e?(s="\\uparrow",l="\u23D0",h="\\downarrow"):"\\Updownarrow"===e?(s="\\Uparrow",l="\u2016",h="\\Downarrow"):H.contains(rx,e)?(l="\u2223",m="vert",c=333):H.contains(rw,e)?(l="\u2225",m="doublevert",c=556):"["===e||"\\lbrack"===e?(s="\u23A1",l="\u23A2",h="\u23A3",p="Size4-Regular",m="lbrack",c=667):"]"===e||"\\rbrack"===e?(s="\u23A4",l="\u23A5",h="\u23A6",p="Size4-Regular",m="rbrack",c=667):"\\lfloor"===e||"\u230A"===e?(l=s="\u23A2",h="\u23A3",p="Size4-Regular",m="lfloor",c=667):"\\lceil"===e||"\u2308"===e?(s="\u23A1",l=h="\u23A2",p="Size4-Regular",m="lceil",c=667):"\\rfloor"===e||"\u230B"===e?(l=s="\u23A5",h="\u23A6",p="Size4-Regular",m="rfloor",c=667):"\\rceil"===e||"\u2309"===e?(s="\u23A4",l=h="\u23A5",p="Size4-Regular",m="rceil",c=667):"("===e||"\\lparen"===e?(s="\u239B",l="\u239C",h="\u239D",p="Size4-Regular",m="lparen",c=875):")"===e||"\\rparen"===e?(s="\u239E",l="\u239F",h="\u23A0",p="Size4-Regular",m="rparen",c=875):"\\{"===e||"\\lbrace"===e?(s="\u23A7",o="\u23A8",h="\u23A9",l="\u23AA",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(s="\u23AB",o="\u23AC",h="\u23AD",l="\u23AA",p="Size4-Regular"):"\\lgroup"===e||"\u27EE"===e?(s="\u23A7",h="\u23A9",l="\u23AA",p="Size4-Regular"):"\\rgroup"===e||"\u27EF"===e?(s="\u23AB",h="\u23AD",l="\u23AA",p="Size4-Regular"):"\\lmoustache"===e||"\u23B0"===e?(s="\u23A7",h="\u23AD",l="\u23AA",p="Size4-Regular"):("\\rmoustache"===e||"\u23B1"===e)&&(s="\u23AB",h="\u23A9",l="\u23AA",p="Size4-Regular");var u=rp(s,p,n),d=u.height+u.depth,g=rp(l,p,n),f=g.height+g.depth,v=rp(h,p,n),b=v.height+v.depth,y=0,x=1;if(null!==o){var w=rp(o,p,n);y=w.height+w.depth,x=2}var k=d+b+y,S=Math.max(0,Math.ceil((t-k)/(x*f))),M=k+S*x*f,z=a.fontMetrics().axisHeight;r&&(z*=a.sizeMultiplier);var A=M/2-z,T=[];if(m.length>0){var B=Math.round(1e3*M),C=K(m,Math.round(1e3*(M-d-b))),q=new eS(m,C),N=(c/1e3).toFixed(3)+"em",I=(B/1e3).toFixed(3)+"em",R=new ek([q],{width:N,height:I,viewBox:"0 0 "+c+" "+B}),O=tm.makeSvgSpan([],[R],a);O.height=B/1e3,O.style.width=N,O.style.height=I,T.push({type:"elem",elem:O})}else{if(T.push(rv(h,p,n)),T.push(ry),null===o)T.push(rb(l,M-d-b+.016,a));else{var E=(M-d-b-y)/2+.016;T.push(rb(l,E,a)),T.push(ry),T.push(rv(o,p,n)),T.push(ry),T.push(rb(l,E,a))}T.push(ry),T.push(rv(s,p,n))}var L=a.havingBaseStyle(Y.TEXT),D=tm.makeVList({positionType:"bottom",positionData:A,children:T},L);return ru(tm.makeSpan(["delimsizing","mult"],[D],L),Y.TEXT,a,i)},rS=function(e,t,r,a,n){var i=j(e,a,r),s=new ek([new eS(e,i)],{width:"400em",height:ep(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return tm.makeSvgSpan(["hide-tail"],[s],n)},rM=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],rz=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],rA=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],rT=[0,1.2,1.8,2.4,3],rB=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],rC=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"stack"}],rq=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],rN=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";else throw Error("Add support for delim type '"+e.type+"' here.")},rI=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size),i=n;it)return r[i]}return r[r.length-1]},rH=function(e,t,r,a,n,i){"<"===e||"\\lt"===e||"\u27E8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27E9"===e)&&(e="\\rangle"),s=H.contains(rA,e)?rB:H.contains(rM,e)?rq:rC;var s,o=rI(e,t,s,a);return"small"===o.type?rg(e,o.style,r,a,n,i):"large"===o.type?rf(e,o.size,r,a,n,i):rk(e,t,r,a,n,i)},rR={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=rI("\\surd",e*n.sizeMultiplier,rq,n),s=n.sizeMultiplier,o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===i.type?(m=1e3+1e3*o+80,e<1?s=1:e<1.4&&(s=.7),l=(1+o+.08)/s,h=(1+o)/s,(r=rS("sqrtMain",l,m,o,t)).style.minWidth="0.853em",a=.833/s):"large"===i.type?(m=1080*rT[i.size],h=(rT[i.size]+o)/s,l=(rT[i.size]+o+.08)/s,(r=rS("sqrtSize"+i.size,l,m,o,t)).style.minWidth="1.02em",a=1/s):(l=e+o+.08,h=e+o,(r=rS("sqrtTall",l,m=Math.floor(1e3*e+o)+80,o,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=ep(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*s}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"\u27E8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27E9"===e)&&(e="\\rangle"),H.contains(rM,e)||H.contains(rA,e))return rf(e,t,!1,r,a,n);if(H.contains(rz,e))return rk(e,rT[t],!1,r,a,n);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:rT,customSizedDelim:rH,leftRightDelim:function(e,t,r,a,n,i){var s=a.fontMetrics().axisHeight*a.sizeMultiplier,o=5/a.fontMetrics().ptPerEm,l=Math.max(t-s,r+s);return rH(e,Math.max(l/500*901,2*l-o),!0,a,n,i)}},rO={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},rE=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function rL(e,t){var r=t5(e);if(r&&H.contains(rE,r.text))return r;if(r)throw new i("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e);throw new i("Invalid delimiter type '"+e.type+"'",e)}function rD(e){if(!e.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}ty({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=rL(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:rO[e.funcName].size,mclass:rO[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?tm.makeSpan([e.mclass]):rR.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(tF(e.delim,e.mode));var r=new tP.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=ep(rR.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),ty({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:rL(t[0],e).text,color:r}}}),ty({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rL(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=t1(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{rD(e);for(var r,a,n=tB(e.body,t,!0,["mopen","mclose"]),i=0,s=0,o=!1,l=0;l{rD(e);var r=tY(e.body,t);if("."!==e.left){var a=new tP.MathNode("mo",[tF(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new tP.MathNode("mo",[tF(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return tG(r)}}),ty({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rL(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=tH(t,[]);else{r=rR.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};r.isMiddle=a}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?tF("|","text"):tF(e.delim,e.mode),a=new tP.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var rV=(e,t)=>{var r,a,n=tm.wrapFragment(tR(e.body,t),t),i=e.label.slice(1),s=t.sizeMultiplier,o=0,l=H.isCharacterBox(e.body);if("sout"===i)(r=tm.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,o=-.5*t.fontMetrics().xHeight;else if("phase"===i){var h,m=ec({number:.6,unit:"pt"},t),c=ec({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=n.height+n.depth+m+c;n.style.paddingLeft=ep(p/2+m);var u=Math.floor(1e3*p*s);var d=new ek([new eS("phase","M400000 "+(h=u)+" H0 L"+h/2+" 0 l65 45 L145 "+(h-80)+" H400000z")],{width:"400em",height:ep(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=tm.makeSvgSpan(["hide-tail"],[d],t)).style.height=ep(p),o=n.depth+m+c}else{/cancel/.test(i)?!l&&n.classes.push("cancel-pad"):"angl"===i?n.classes.push("anglpad"):n.classes.push("boxpad");var g=0,f=0,v=0;/box/.test(i)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),f=g=t.fontMetrics().fboxsep+("colorbox"===i?0:v)):"angl"===i?(g=4*(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),f=Math.max(0,.25-n.depth)):f=g=l?.2:0,r=t0.encloseSpan(n,i,g,f,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=ep(v)):"angl"===i&&.049!==v&&(r.style.borderTopWidth=ep(v),r.style.borderRightWidth=ep(v)),o=n.depth+f,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var b=/cancel|phase/.test(i)?["svg-align"]:[];a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:r,shift:o,wrapperClasses:b}]},t)}return(/cancel/.test(i)&&(a.height=n.height,a.depth=n.depth),/cancel/.test(i)&&!l)?tm.makeSpan(["mord","cancel-lap"],[a],t):tm.makeSpan(["mord"],[a],t)},rP=(e,t)=>{var r=0,a=new tP.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[tW(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};ty({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t1(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:s}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t1(t[0],"color-token").color,s=t1(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),ty({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var rF={};function rG(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function r_(e){if(-1===e.indexOf("ed"))return -1===e.indexOf("*")}function rj(e,t,r){var{hskipBeforeAndAfter:a,addJot:s,cols:o,arraystretch:l,colSeparationType:h,autoTag:m,singleRow:c,emptySingleRow:p,maxNumCols:u,leqno:d}=t;if(e.gullet.beginGroup(),!c&&e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var g=e.gullet.expandMacroAsText("\\arraystretch");if(null==g)l=1;else if(!(l=parseFloat(g))||l<0)throw new i("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var f=[],v=[f],b=[],y=[],x=null!=m?[]:void 0;function w(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new n("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(!!m&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),y.push(rX(e));;){var S=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),S={type:"ordgroup",mode:e.mode,body:S},r&&(S={type:"styling",mode:e.mode,style:r,body:[S]}),f.push(S);var M=e.fetch().text;if("&"===M){if(u&&f.length===u){if(c||h)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if("\\end"===M){k(),1===f.length&&"styling"===S.type&&0===S.body[0].body.length&&(v.length>1||!p)&&v.pop(),y.length0&&(x+=.25),c.push({pos:x,isDashed:e[t]})}for(w(l[0]),r=0;r0&&(M<(B+=y)&&(M=B),B=0),e.addJot&&(M+=f),z.height=S,z.depth=M,x+=S,z.pos=x,x+=M+B,m[r]=z,w(l[r+1])}var C=x/2+t.fontMetrics().axisHeight,q=e.cols||[],N=[],I=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r=h)){var U=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(U=H.deflt(D.pregap,d))&&((n=tm.makeSpan(["arraycolsep"],[])).style.width=ep(U),N.push(n));var X=[];for(r=0;r0){for(var $=tm.makeLineSpan("hline",t,p),Z=tm.makeLineSpan("hdashline",t,p),K=[{type:"elem",elem:m,shift:0}];c.length>0;){var J=c.pop(),Q=J.pos-C;J.isDashed?K.push({type:"elem",elem:Z,shift:Q}):K.push({type:"elem",elem:$,shift:Q})}m=tm.makeVList({positionType:"individualShift",children:K},t)}if(0===I.length)return tm.makeSpan(["mord"],[m],t);var ee=tm.makeVList({positionType:"individualShift",children:I},t);return ee=tm.makeSpan(["tag"],[ee],t),tm.makeFragment([m,ee])},rK={c:"center ",l:"left ",r:"right "},rJ=function(e,t){for(var r=[],a=new tP.MathNode("mtd",[],["mtr-glue"]),n=new tP.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var u=e.cols,d="",g=!1,f=0,v=u.length;"separator"===u[0].type&&(c+="top ",f=1),"separator"===u[u.length-1].type&&(c+="bottom ",v-=1);for(var b=f;b0?"left ":"")+(S[S.length-1].length>0?"right ":"");for(var M=1;M-1?"alignat":"align",s="split"===e.envName,o=rj(e.parser,{cols:a,addJot:!0,autoTag:s?void 0:r_(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var m="",c=0;c0&&p&&(g=1),a[u]={type:"align",align:d,pregap:g,postgap:0}}return o.colSeparationType=p?"align":"alignat",o};rG({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(t5(t[0])?[t[0]]:t1(t[0],"ordgroup").body).map(function(e){var t=t4(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)}),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return rj(e.parser,a,r$(e.envName))},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,-1==="lcr".indexOf(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var s=rj(e.parser,a,r$(e.envName)),o=Math.max(0,...s.body.map(e=>e.length));return s.cols=Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=rj(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(t5(t[0])?[t[0]]:t1(t[0],"ordgroup").body).map(function(e){var t=t4(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)});if(r.length>1)throw new i("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=rj(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new i("{subarray} can contain only one column");return a},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=rj(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r$(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rQ,htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){H.contains(["gather","gather*"],e.envName)&&rW(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:r_(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return rj(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rQ,htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){rW(e);var t={autoTag:r_(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return rj(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(rW(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"===r||"\\\\"===r)e.consume();else if("\\end"===r){0===t[t.length-1].length&&t.pop();break}else throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],n=[a],s=0;s-1);else if("<>AV".indexOf(m)>-1)for(var p=0;p<2;p++){for(var u=!0,d=h+1;dAV=|." after @',o[h]);var g={type:"styling",body:[function(e,t,r){var a=rr[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n=r.callFunction("\\\\cdleft",[t[0]],[]),i=r.callFunction("\\Big",[{type:"atom",text:a,mode:"math",family:"rel"}],[]),s=r.callFunction("\\\\cdright",[t[1]],[]);return r.callFunction("\\\\cdparent",[{type:"ordgroup",mode:"math",body:[n,i,s]}],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}(m,c,e)],mode:"math",style:"display"};a.push(g),l=ra()}else l.body.push(o[h]);s%2==0?a.push(l):a.shift(),a=[],n.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var f=Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:f,colSeparationType:"CD",hLinesBeforeRow:Array(n.length+1).fill([])}}(e.parser)),htmlBuilder:rZ,mathmlBuilder:rJ}),rU["\\nonumber"]="\\gdef\\@eqnsw{0}",rU["\\notag"]="\\nonumber",ty({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new i(e.funcName+" valid only within array environment")}});ty({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];if("ordgroup"!==n.type)throw new i("Invalid environment name",n);for(var s="",o=0;o{var r=e.font,a=t.withFont(r);return tR(e.body,a)},r1=(e,t)=>{var r=e.font,a=t.withFont(r);return tW(e.body,a)},r4={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ty({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=tw(t[0]),i=a;return i in r4&&(i=r4[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:r0,mathmlBuilder:r1}),ty({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=H.isCharacterBox(a);return{type:"mclass",mode:r.mode,mclass:rt(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),ty({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a,breakOnTokenText:n}=e,{mode:i}=r,s=r.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:r0,mathmlBuilder:r1});var r5=(e,t)=>{var r=t;return"display"===e?r=r.id>=Y.SCRIPT.id?r.text():Y.DISPLAY:"text"===e&&r.size===Y.DISPLAY.size?r=Y.TEXT:"script"===e?r=Y.SCRIPT:"scriptscript"===e&&(r=Y.SCRIPTSCRIPT),r},r6=(e,t)=>{var r,a,n,i,s,o,l,h,m,c,p,u=r5(e.size,t.style),d=u.fracNum(),g=u.fracDen();r=t.havingStyle(d);var f=tR(e.numer,r,t);if(e.continued){var v=8.5/t.fontMetrics().ptPerEm,b=3.5/t.fontMetrics().ptPerEm;f.height=f.height0?3*i:7*i,l=t.fontMetrics().denom1):(n>0?(s=t.fontMetrics().num2,o=i):(s=t.fontMetrics().num3,o=3*i),l=t.fontMetrics().denom2),a){var x=t.fontMetrics().axisHeight;s-f.depth-(x+.5*n){var r=new tP.MathNode("mfrac",[tW(e.numer,t),tW(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=ec(e.barSize,t);r.setAttribute("linethickness",ep(a))}}else r.setAttribute("linethickness","0px");var n=r5(e.size,t.style);if(n.size!==t.style.size){r=new tP.MathNode("mstyle",[r]);var i=n.size===Y.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var s=[];if(null!=e.leftDelim){var o=new tP.MathNode("mo",[new tP.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),null!=e.rightDelim){var l=new tP.MathNode("mo",[new tP.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return tG(s)}return r};ty({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:a,funcName:n}=e,i=t[0],s=t[1],o=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,o="(",l=")";break;case"\\\\bracefrac":r=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,o="[",l="]";break;default:throw Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:a.mode,continued:!1,numer:i,denom:s,hasBarLine:r,leftDelim:o,rightDelim:l,size:h,barSize:null}},htmlBuilder:r6,mathmlBuilder:r7}),ty({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ty({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:a,token:n}=e;switch(a){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:n}}});var r3=["display","text","script","scriptscript"],r8=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};ty({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:a}=e,n=t[4],i=t[5],s=tw(t[0]),o="atom"===s.type&&"open"===s.family?r8(s.text):null,l=tw(t[1]),h="atom"===l.type&&"close"===l.family?r8(l.text):null,m=t1(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var p="auto",u=t[3];return"ordgroup"===u.type?u.body.length>0&&(p=r3[Number(t1(u.body[0],"textord").text)]):p=r3[Number((u=t1(u,"textord")).text)],{type:"genfrac",mode:a.mode,numer:n,denom:i,continued:!1,hasBarLine:r,barSize:c,leftDelim:o,rightDelim:h,size:p}},htmlBuilder:r6,mathmlBuilder:r7}),ty({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:a,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:t1(t[0],"size").value,token:n}}}),ty({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=I(t1(t[1],"infix").size),s=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:r6,mathmlBuilder:r7});var r2=(e,t)=>{var r,a,n,i=t.style;"supsub"===e.type?(r=e.sup?tR(e.sup,t.havingStyle(i.sup()),t):tR(e.sub,t.havingStyle(i.sub()),t),a=t1(e.base,"horizBrace")):a=t1(e,"horizBrace");var s=tR(a.base,t.havingBaseStyle(Y.DISPLAY)),o=t0.svgSpan(a,t);if(a.isOver?(n=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(n=tm.makeVList({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=tm.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t);n=a.isOver?tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):tm.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return tm.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t)};ty({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:r2,mathmlBuilder:(e,t)=>{var r=t0.mathMLnode(e.label);return new tP.MathNode(e.isOver?"mover":"munder",[tW(e.base,t),r])}}),ty({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=t1(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:tk(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=tB(e.body,t,!1);return tm.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=tX(e.body,t);return!(r instanceof tD)&&(r=new tD("mrow",[r])),r.setAttribute("href",e.href),r}}),ty({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t1(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;inew tP.MathNode("mrow",tY(e.body,t))}),ty({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:a,funcName:n,token:s}=e,o=t1(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=o,r={command:"\\htmlClass",class:o};break;case"\\htmlId":h.id=o,r={command:"\\htmlId",id:o};break;case"\\htmlStyle":h.style=o,r={command:"\\htmlStyle",style:o};break;case"\\htmlData":for(var m=o.split(","),c=0;c{var r=tB(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=tm.makeSpan(a,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&n.setAttribute(i,e.attributes[i]);return n},mathmlBuilder:(e,t)=>tX(e.body,t)}),ty({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:tk(t[0]),mathml:tk(t[1])}},htmlBuilder:(e,t)=>{var r=tB(e.html,t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tX(e.mathml,t)});var r9=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!em(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ty({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:a}=e,n={number:0,unit:"em"},s={number:.9,unit:"em"},o={number:0,unit:"em"},l="";if(r[0]){for(var h=t1(r[0],"raw").string.split(","),m=0;m{var r=ec(e.height,t),a=0;e.totalheight.number>0&&(a=ec(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=ec(e.width,t));var i={height:ep(r+a)};n>0&&(i.width=ep(n)),a>0&&(i.verticalAlign=ep(-a));var s=new ey(e.src,e.alt,i);return s.height=r,s.depth=a,s},mathmlBuilder:(e,t)=>{var r=new tP.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=ec(e.height,t),n=0;if(e.totalheight.number>0&&(n=ec(e.totalheight,t)-a,r.setAttribute("valign",ep(-n))),r.setAttribute("height",ep(a+n)),e.width.number>0){var i=ec(e.width,t);r.setAttribute("width",ep(i))}return r.setAttribute("src",e.src),r}}),ty({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t1(t[0],"size");if(r.settings.strict){var i="m"===a[1],s="mu"===n.value.unit;i?(!s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+n.value.unit)+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:(e,t)=>tm.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=ec(e.dimension,t);return new tP.SpaceNode(r)}}),ty({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(e,t)=>{"clap"===e.alignment?(r=tm.makeSpan([],[tR(e.body,t)]),r=tm.makeSpan(["inner"],[r],t)):r=tm.makeSpan(["inner"],[tR(e.body,t)]);var r,a=tm.makeSpan(["fix"],[]),n=tm.makeSpan([e.alignment],[r,a],t),i=tm.makeSpan(["strut"]);return i.style.height=ep(n.height+n.depth),n.depth&&(i.style.verticalAlign=ep(-n.depth)),n.children.unshift(i),n=tm.makeSpan(["thinbox"],[n],t),tm.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new tP.MathNode("mpadded",[tW(e.body,t)]);if("rlap"!==e.alignment){var a="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),ty({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:a}=e,n=a.mode;a.switchMode("math");var i="\\("===r?"\\)":"$",s=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:s}}}),ty({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});var ae=(e,t)=>{switch(t.style.size){case Y.DISPLAY.size:return e.display;case Y.TEXT.size:return e.text;case Y.SCRIPT.size:return e.script;case Y.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ty({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:tk(t[0]),text:tk(t[1]),script:tk(t[2]),scriptscript:tk(t[3])}},htmlBuilder:(e,t)=>{var r=tB(ae(e,t),t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tX(ae(e,t),t)});var at=(e,t,r,a,n,i,s)=>{e=tm.makeSpan([],[e]);var o,l,h,m=r&&H.isCharacterBox(r);if(t){var c=tR(t,a.havingStyle(n.sup()),a);l={elem:c,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var p=tR(r,a.havingStyle(n.sub()),a);o={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-p.height)}}if(l&&o){var u=a.fontMetrics().bigOpSpacing5+o.elem.height+o.elem.depth+o.kern+e.depth+s;h=tm.makeVList({positionType:"bottom",positionData:u,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ep(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(o){var d=e.height-s;h=tm.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ep(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var g=e.depth+s;h=tm.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var f=[h];if(o&&0!==i&&!m){var v=tm.makeSpan(["mspace"],[],a);v.style.marginRight=ep(i),f.unshift(v)}return tm.makeSpan(["mop","op-limits"],f,a)},ar=["\\smallint"],aa=(e,t)=>{var r,a,n,i,s=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=t1(e.base,"op"),s=!0):n=t1(e,"op");var o=t.style,l=!1;if(o.size===Y.DISPLAY.size&&n.symbol&&!H.contains(ar,n.name)&&(l=!0),n.symbol){var h=l?"Size2-Regular":"Size1-Regular",m="";if(("\\oiint"===n.name||"\\oiiint"===n.name)&&(m=n.name.slice(1),n.name="oiint"===m?"\\iint":"\\iiint"),i=tm.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),m.length>0){var c=i.italic,p=tm.staticSvg(m+"Size"+(l?"2":"1"),t);i=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:p,shift:l?.08:0}]},t),n.name="\\"+m,i.classes.unshift("mop"),i.italic=c}}else if(n.body){var u=tB(n.body,t,!0);1===u.length&&u[0]instanceof ew?(i=u[0]).classes[0]="mop":i=tm.makeSpan(["mop"],u,t)}else{for(var d=[],g=1;g{var r;if(e.symbol)r=new tD("mo",[tF(e.name,e.mode)]),H.contains(ar,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new tD("mo",tY(e.body,t));else{r=new tD("mi",[new tV(e.name.slice(1))]);var a=new tD("mo",[tF("\u2061","text")]);r=e.parentIsSupSub?new tD("mrow",[r,a]):tL([r,a])}return r},ai={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};ty({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=ai[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tk(a)}},htmlBuilder:aa,mathmlBuilder:an});var as={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};ty({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=as[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:aa,mathmlBuilder:an});var ao=(e,t)=>{var r,a,n,i,s=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=t1(e.base,"operatorname"),s=!0):n=t1(e,"operatorname"),n.body.length>0){for(var o=tB(n.body.map(e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),t.withFont("mathrm"),!0),l=0;l{var{parser:r,funcName:a}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:tk(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:ao,mathmlBuilder:(e,t)=>{for(var r=tY(e.body,t.withFont("mathrm")),a=!0,n=0;ne.toText()).join("");r=[new tP.TextNode(o)]}var l=new tP.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new tP.MathNode("mo",[tF("\u2061","text")]);return e.parentIsSupSub?new tP.MathNode("mrow",[l,h]):tP.newDocumentFragment([l,h])}}),rU["\\operatorname"]="\\@ifstar\\operatornamewithlimits\\operatorname@",tx({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?tm.makeFragment(tB(e.body,t,!1)):tm.makeSpan(["mord"],tB(e.body,t,!0),t),mathmlBuilder:(e,t)=>tX(e.body,t,!0)}),ty({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,a=t[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(e,t){var r=tR(e.body,t.havingCrampedStyle()),a=tm.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return tm.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new tP.MathNode("mo",[new tP.TextNode("\u203E")]);r.setAttribute("stretchy","true");var a=new tP.MathNode("mover",[tW(e.body,t),r]);return a.setAttribute("accent","true"),a}}),ty({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"phantom",mode:r.mode,body:tk(a)}},htmlBuilder:(e,t)=>{var r=tB(e.body,t.withPhantom(),!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=tY(e.body,t);return new tP.MathNode("mphantom",r)}}),ty({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=tm.makeSpan([],[tR(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=tY(tk(e.body),t),a=new tP.MathNode("mphantom",r),n=new tP.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),ty({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=tm.makeSpan(["inner"],[tR(e.body,t.withPhantom())]),a=tm.makeSpan(["fix"],[]);return tm.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=tY(tk(e.body),t),a=new tP.MathNode("mphantom",r),n=new tP.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),ty({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=t1(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=tR(e.body,t),a=ec(e.dy,t);return tm.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new tP.MathNode("mpadded",[tW(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),ty({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ty({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:a}=e,n=r[0],i=t1(t[0],"size"),s=t1(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&t1(n,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=tm.makeSpan(["mord","rule"],[],t),a=ec(e.width,t),n=ec(e.height,t),i=e.shift?ec(e.shift,t):0;return r.style.borderRightWidth=ep(a),r.style.borderTopWidth=ep(n),r.style.bottom=ep(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ec(e.width,t),a=ec(e.height,t),n=e.shift?ec(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new tP.MathNode("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",ep(r)),s.setAttribute("height",ep(a));var o=new tP.MathNode("mpadded",[s]);return n>=0?o.setAttribute("height",ep(n)):(o.setAttribute("height",ep(n)),o.setAttribute("depth",ep(-n))),o.setAttribute("voffset",ep(n)),o}});var ah=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ty({type:"sizing",names:ah,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:ah.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return al(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=tY(e.body,r),n=new tP.MathNode("mstyle",a);return n.setAttribute("mathsize",ep(r.sizeMultiplier)),n}}),ty({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:a}=e,n=!1,i=!1,s=r[0]&&t1(r[0],"ordgroup");if(s){for(var o="",l=0;l{var r=tm.makeSpan([],[tR(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new tP.MathNode("mpadded",[tW(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ty({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a}=e,n=r[0],i=t[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(e,t){var r=tR(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=tm.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.idr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var c=o.height-r.height-i-l;r.style.paddingLeft=ep(h);var p=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:o},{type:"kern",size:l}]},t);if(!e.index)return tm.makeSpan(["mord","sqrt"],[p],t);var u=t.havingStyle(Y.SCRIPTSCRIPT),d=tR(e.index,u,t),g=.6*(p.height-p.depth),f=tm.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=tm.makeSpan(["root"],[f]);return tm.makeSpan(["mord","sqrt"],[v,p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new tP.MathNode("mroot",[tW(r,t),tW(a,t)]):new tP.MathNode("msqrt",[tW(r,t)])}});var am={display:Y.DISPLAY,text:Y.TEXT,script:Y.SCRIPT,scriptscript:Y.SCRIPTSCRIPT};ty({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!0,r),s=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:s,body:i}},htmlBuilder(e,t){var r=am[e.style],a=t.havingStyle(r).withFont("");return al(e.body,a,t)},mathmlBuilder(e,t){var r=am[e.style],a=t.havingStyle(r),n=tY(e.body,a),i=new tP.MathNode("mstyle",n),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",s[0]),i.setAttribute("displaystyle",s[1]),i}});var ac=function(e,t){var r=e.base;if(!r)return null;if("op"===r.type)return r.limits&&(t.style.size===Y.DISPLAY.size||r.alwaysHandleSupSub)?aa:null;if("operatorname"===r.type)return r.alwaysHandleSupSub&&(t.style.size===Y.DISPLAY.size||r.limits)?ao:null;else if("accent"===r.type)return H.isCharacterBox(r.base)?t6:null;else if("horizBrace"===r.type)return!e.sub===r.isOver?r2:null;else return null};tx({type:"supsub",htmlBuilder(e,t){var r,a,n,i,s=ac(e,t);if(s)return s(e,t);var{base:o,sup:l,sub:h}=e,m=tR(o,t),c=t.fontMetrics(),p=0,u=0,d=o&&H.isCharacterBox(o);if(l){var g=t.havingStyle(t.style.sup());r=tR(l,g,t),!d&&(p=m.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(h){var f=t.havingStyle(t.style.sub());a=tR(h,f,t),!d&&(u=m.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}n=t.style===Y.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var v=t.sizeMultiplier,b=ep(.5/c.ptPerEm/v),y=null;if(a){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(m instanceof ew||x)&&(y=ep(-m.italic))}if(r&&a){p=Math.max(p,n,r.depth+.25*c.xHeight),u=Math.max(u,c.sub2);var w=4*c.defaultRuleThickness;if(p-r.depth-(a.height-u)0&&(p+=k,u-=k)}var S=[{type:"elem",elem:a,shift:u,marginRight:b,marginLeft:y},{type:"elem",elem:r,shift:-p,marginRight:b}];i=tm.makeVList({positionType:"individualShift",children:S},t)}else if(a){u=Math.max(u,c.sub1,a.height-.8*c.xHeight);var M=[{type:"elem",elem:a,marginLeft:y,marginRight:b}];i=tm.makeVList({positionType:"shift",positionData:u,children:M},t)}else if(r)p=Math.max(p,n,r.depth+.25*c.xHeight),i=tm.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:r,marginRight:b}]},t);else throw Error("supsub must have either sup or sub.");var z=tI(m,"right")||"mord";return tm.makeSpan([z],[m,tm.makeSpan(["msupsub"],[i])],t)},mathmlBuilder(e,t){var r,a,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,r=e.base.isOver),e.base&&("op"===e.base.type||"operatorname"===e.base.type)&&(e.base.parentIsSupSub=!0);var i=[tW(e.base,t)];if(e.sub&&i.push(tW(e.sub,t)),e.sup&&i.push(tW(e.sup,t)),n)a=r?"mover":"munder";else if(e.sub){if(e.sup){var s=e.base;a=s&&"op"===s.type&&s.limits&&t.style===Y.DISPLAY?"munderover":s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(t.style===Y.DISPLAY||s.limits)?"munderover":"msubsup"}else{var o=e.base;a=o&&"op"===o.type&&o.limits&&(t.style===Y.DISPLAY||o.alwaysHandleSupSub)?"munder":o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(o.limits||t.style===Y.DISPLAY)?"munder":"msub"}}else{var l=e.base;a=l&&"op"===l.type&&l.limits&&(t.style===Y.DISPLAY||l.alwaysHandleSupSub)?"mover":l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===Y.DISPLAY)?"mover":"msup"}return new tP.MathNode(a,i)}}),tx({type:"atom",htmlBuilder:(e,t)=>tm.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new tP.MathNode("mo",[tF(e.text,e.mode)]);if("bin"===e.family){var a=tU(e,t);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===e.family?r.setAttribute("separator","true"):("open"===e.family||"close"===e.family)&&r.setAttribute("stretchy","false");return r}});var ap={mi:"italic",mn:"normal",mtext:"normal"};tx({type:"mathord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new tP.MathNode("mi",[tF(e.text,e.mode,t)]),a=tU(e,t)||"italic";return a!==ap[r.type]&&r.setAttribute("mathvariant",a),r}}),tx({type:"textord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=tF(e.text,e.mode,t),n=tU(e,t)||"normal";return n!==ap[(r="text"===e.mode?new tP.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new tP.MathNode("mn",[a]):"\\prime"===e.text?new tP.MathNode("mo",[a]):new tP.MathNode("mi",[a])).type]&&r.setAttribute("mathvariant",n),r}});var au={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ad={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tx({type:"spacing",htmlBuilder(e,t){if(ad.hasOwnProperty(e.text)){var r=ad[e.text].className||"";if("text"!==e.mode)return tm.makeSpan(["mspace",r],[tm.mathsym(e.text,e.mode,t)],t);var a=tm.makeOrd(e,t,"textord");return a.classes.push(r),a}if(au.hasOwnProperty(e.text))return tm.makeSpan(["mspace",au[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){var r;if(ad.hasOwnProperty(e.text))r=new tP.MathNode("mtext",[new tP.TextNode("\xa0")]);else if(au.hasOwnProperty(e.text))return new tP.MathNode("mspace");else throw new i('Unknown type of space "'+e.text+'"');return r}});var ag=()=>{var e=new tP.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};tx({type:"tag",mathmlBuilder(e,t){var r=new tP.MathNode("mtable",[new tP.MathNode("mtr",[ag(),new tP.MathNode("mtd",[tX(e.body,t)]),ag(),new tP.MathNode("mtd",[tX(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var af={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},av={"\\textbf":"textbf","\\textmd":"textmd"},ab={"\\textit":"textit","\\textup":"textup"},ay=(e,t)=>{var r=e.font;if(!r)return t;if(af[r])return t.withTextFontFamily(af[r]);if(av[r])return t.withTextFontWeight(av[r]);else if("\\emph"===r)return"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit");return t.withTextFontShape(ab[r])};ty({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"text",mode:r.mode,body:tk(n),font:a}},htmlBuilder(e,t){var r=ay(e,t),a=tB(e.body,r,!0);return tm.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=ay(e,t);return tX(e.body,r)}}),ty({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tR(e.body,t),a=tm.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new tP.MathNode("mo",[new tP.TextNode("\u203E")]);r.setAttribute("stretchy","true");var a=new tP.MathNode("munder",[tW(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),ty({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tR(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return tm.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new tP.MathNode("mpadded",[tW(e.body,t)],["vcenter"])}),ty({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=ax(e),a=[],n=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"\u2423":"\xa0"),aw="[ \r\n ]",ak="[\u0300-\u036F]",aS=RegExp(ak+"+$"),aM="("+aw+"+)|\\\\(\n|[ \r ]+\n?)[ \r ]*|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+ak+"*|[\uD800-\uDBFF][\uDC00-\uDFFF]"+ak+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|(\\\\[a-zA-Z@]+)"+aw)+"*|\\\\[^\uD800-\uDFFF])";class az{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=RegExp(aM,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new n("EOF",new a(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new n(e[t],new a(this,t,t+1)));var s=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[s]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return -1===o?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new n(s,new a(this,t,this.tokenRegex.lastIndex))}}class aA{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}s=function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}},rU["\\noexpand"]=s,o=function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}},rU["\\expandafter"]=o,l=function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}},rU["\\@firstoftwo"]=l,h=function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}},rU["\\@secondoftwo"]=h,m=function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}},rU["\\@ifnextchar"]=m,rU["\\@ifstar"]="\\@ifnextchar *{\\@firstoftwo{#1}}",c=function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}},rU["\\TextOrMath"]=c;var aT={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};p=function(e){var t,r,a=e.popToken(),n="";if("'"===a.text)t=8,a=e.popToken();else if('"'===a.text)t=16,a=e.popToken();else if("`"===a.text){if("\\"===(a=e.popToken()).text[0])n=a.text.charCodeAt(1);else if("EOF"===a.text)throw new i("\\char` missing argument");else n=a.text.charCodeAt(0)}else t=10;if(t){if(null==(n=aT[a.text])||n>=t)throw new i("Invalid base-"+t+" digit "+a.text);for(;null!=(r=aT[e.future().text])&&r{var a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");var n=a[0].text,s=e.isDefined(n);if(s&&!t)throw new i("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!s&&!r)throw new i("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var o=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+l);o=parseInt(l),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:o}),""};u=e=>aB(e,!1,!0),rU["\\newcommand"]=u,d=e=>aB(e,!0,!1),rU["\\renewcommand"]=d,g=e=>aB(e,!0,!0),rU["\\providecommand"]=g,f=e=>(console.log(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rU["\\message"]=f,v=e=>(console.error(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rU["\\errmessage"]=v,b=e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),tf[r],eB.math[r],eB.text[r]),""},rU["\\show"]=b,rU["\\bgroup"]="{",rU["\\egroup"]="}",rU["~"]="\\nobreakspace",rU["\\lq"]="`",rU["\\rq"]="'",rU["\\aa"]="\\r a",rU["\\AA"]="\\r A",rU["\\textcopyright"]="\\html@mathml{\\textcircled{c}}{\\char`\xa9}",rU["\\copyright"]="\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}",rU["\\textregistered"]="\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}",rU["\u212C"]="\\mathscr{B}",rU["\u2130"]="\\mathscr{E}",rU["\u2131"]="\\mathscr{F}",rU["\u210B"]="\\mathscr{H}",rU["\u2110"]="\\mathscr{I}",rU["\u2112"]="\\mathscr{L}",rU["\u2133"]="\\mathscr{M}",rU["\u211B"]="\\mathscr{R}",rU["\u212D"]="\\mathfrak{C}",rU["\u210C"]="\\mathfrak{H}",rU["\u2128"]="\\mathfrak{Z}",rU["\\Bbbk"]="\\Bbb{k}",rU["\xb7"]="\\cdotp",rU["\\llap"]="\\mathllap{\\textrm{#1}}",rU["\\rlap"]="\\mathrlap{\\textrm{#1}}",rU["\\clap"]="\\mathclap{\\textrm{#1}}",rU["\\mathstrut"]="\\vphantom{(}",rU["\\underbar"]="\\underline{\\text{#1}}",rU["\\not"]='\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}',rU["\\neq"]="\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}",rU["\\ne"]="\\neq",rU["\u2260"]="\\neq",rU["\\notin"]="\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}",rU["\u2209"]="\\notin",rU["\u2258"]="\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}",rU["\u2259"]="\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}",rU["\u225A"]="\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}",rU["\u225B"]="\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}",rU["\u225D"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}",rU["\u225E"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}",rU["\u225F"]="\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}",rU["\u27C2"]="\\perp",rU["\u203C"]="\\mathclose{!\\mkern-0.8mu!}",rU["\u220C"]="\\notni",rU["\u231C"]="\\ulcorner",rU["\u231D"]="\\urcorner",rU["\u231E"]="\\llcorner",rU["\u231F"]="\\lrcorner",rU["\xa9"]="\\copyright",rU["\xae"]="\\textregistered",rU["\uFE0F"]="\\textregistered",rU["\\ulcorner"]='\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}',rU["\\urcorner"]='\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}',rU["\\llcorner"]='\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}',rU["\\lrcorner"]='\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}',rU["\\vdots"]="\\mathord{\\varvdots\\rule{0pt}{15pt}}",rU["\u22EE"]="\\vdots",rU["\\varGamma"]="\\mathit{\\Gamma}",rU["\\varDelta"]="\\mathit{\\Delta}",rU["\\varTheta"]="\\mathit{\\Theta}",rU["\\varLambda"]="\\mathit{\\Lambda}",rU["\\varXi"]="\\mathit{\\Xi}",rU["\\varPi"]="\\mathit{\\Pi}",rU["\\varSigma"]="\\mathit{\\Sigma}",rU["\\varUpsilon"]="\\mathit{\\Upsilon}",rU["\\varPhi"]="\\mathit{\\Phi}",rU["\\varPsi"]="\\mathit{\\Psi}",rU["\\varOmega"]="\\mathit{\\Omega}",rU["\\substack"]="\\begin{subarray}{c}#1\\end{subarray}",rU["\\colon"]="\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax",rU["\\boxed"]="\\fbox{$\\displaystyle{#1}$}",rU["\\iff"]="\\DOTSB\\;\\Longleftrightarrow\\;",rU["\\implies"]="\\DOTSB\\;\\Longrightarrow\\;",rU["\\impliedby"]="\\DOTSB\\;\\Longleftarrow\\;";var aC={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};y=function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in aC?t=aC[r]:"\\not"===r.slice(0,4)?t="\\dotsb":r in eB.math&&H.contains(["bin","rel"],eB.math[r].group)&&(t="\\dotsb"),t},rU["\\dots"]=y;var aq={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};x=function(e){return e.future().text in aq?"\\ldots\\,":"\\ldots"},rU["\\dotso"]=x,w=function(e){var t=e.future().text;return t in aq&&","!==t?"\\ldots\\,":"\\ldots"},rU["\\dotsc"]=w,k=function(e){return e.future().text in aq?"\\@cdots\\,":"\\@cdots"},rU["\\cdots"]=k,rU["\\dotsb"]="\\cdots",rU["\\dotsm"]="\\cdots",rU["\\dotsi"]="\\!\\cdots",rU["\\dotsx"]="\\ldots\\,",rU["\\DOTSI"]="\\relax",rU["\\DOTSB"]="\\relax",rU["\\DOTSX"]="\\relax",rU["\\tmspace"]="\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax",rU["\\,"]="\\tmspace+{3mu}{.1667em}",rU["\\thinspace"]="\\,",rU["\\>"]="\\mskip{4mu}",rU["\\:"]="\\tmspace+{4mu}{.2222em}",rU["\\medspace"]="\\:",rU["\\;"]="\\tmspace+{5mu}{.2777em}",rU["\\thickspace"]="\\;",rU["\\!"]="\\tmspace-{3mu}{.1667em}",rU["\\negthinspace"]="\\!",rU["\\negmedspace"]="\\tmspace-{4mu}{.2222em}",rU["\\negthickspace"]="\\tmspace-{5mu}{.277em}",rU["\\enspace"]="\\kern.5em ",rU["\\enskip"]="\\hskip.5em\\relax",rU["\\quad"]="\\hskip1em\\relax",rU["\\qquad"]="\\hskip2em\\relax",rU["\\tag"]="\\@ifstar\\tag@literal\\tag@paren",rU["\\tag@paren"]="\\tag@literal{({#1})}",S=e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"},rU["\\tag@literal"]=S,rU["\\bmod"]="\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}",rU["\\pod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)",rU["\\pmod"]="\\pod{{\\rm mod}\\mkern6mu#1}",rU["\\mod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1",rU["\\newline"]="\\\\\\relax",rU["\\TeX"]="\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}";var aN=ep(Q["Main-Regular"][84][1]-.7*Q["Main-Regular"][65][1]);M="\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+aN+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}",rU["\\LaTeX"]=M,z="\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+aN+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}",rU["\\KaTeX"]=z,rU["\\hspace"]="\\@ifstar\\@hspacer\\@hspace",rU["\\@hspace"]="\\hskip #1\\relax",rU["\\@hspacer"]="\\rule{0pt}{0pt}\\hskip #1\\relax",rU["\\ordinarycolon"]=":",rU["\\vcentcolon"]="\\mathrel{\\mathop\\ordinarycolon}",rU["\\dblcolon"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}',rU["\\coloneqq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}',rU["\\Coloneqq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}',rU["\\coloneq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}',rU["\\Coloneq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}',rU["\\eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}',rU["\\Eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}',rU["\\eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}',rU["\\Eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}',rU["\\colonapprox"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}',rU["\\Colonapprox"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}',rU["\\colonsim"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}',rU["\\Colonsim"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}',rU["\u2237"]="\\dblcolon",rU["\u2239"]="\\eqcolon",rU["\u2254"]="\\coloneqq",rU["\u2255"]="\\eqqcolon",rU["\u2A74"]="\\Coloneqq",rU["\\ratio"]="\\vcentcolon",rU["\\coloncolon"]="\\dblcolon",rU["\\colonequals"]="\\coloneqq",rU["\\coloncolonequals"]="\\Coloneqq",rU["\\equalscolon"]="\\eqqcolon",rU["\\equalscoloncolon"]="\\Eqqcolon",rU["\\colonminus"]="\\coloneq",rU["\\coloncolonminus"]="\\Coloneq",rU["\\minuscolon"]="\\eqcolon",rU["\\minuscoloncolon"]="\\Eqcolon",rU["\\coloncolonapprox"]="\\Colonapprox",rU["\\coloncolonsim"]="\\Colonsim",rU["\\simcolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rU["\\simcoloncolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",rU["\\approxcolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rU["\\approxcoloncolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",rU["\\notni"]="\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}",rU["\\limsup"]="\\DOTSB\\operatorname*{lim\\,sup}",rU["\\liminf"]="\\DOTSB\\operatorname*{lim\\,inf}",rU["\\injlim"]="\\DOTSB\\operatorname*{inj\\,lim}",rU["\\projlim"]="\\DOTSB\\operatorname*{proj\\,lim}",rU["\\varlimsup"]="\\DOTSB\\operatorname*{\\overline{lim}}",rU["\\varliminf"]="\\DOTSB\\operatorname*{\\underline{lim}}",rU["\\varinjlim"]="\\DOTSB\\operatorname*{\\underrightarrow{lim}}",rU["\\varprojlim"]="\\DOTSB\\operatorname*{\\underleftarrow{lim}}",rU["\\gvertneqq"]="\\html@mathml{\\@gvertneqq}{\u2269}",rU["\\lvertneqq"]="\\html@mathml{\\@lvertneqq}{\u2268}",rU["\\ngeqq"]="\\html@mathml{\\@ngeqq}{\u2271}",rU["\\ngeqslant"]="\\html@mathml{\\@ngeqslant}{\u2271}",rU["\\nleqq"]="\\html@mathml{\\@nleqq}{\u2270}",rU["\\nleqslant"]="\\html@mathml{\\@nleqslant}{\u2270}",rU["\\nshortmid"]="\\html@mathml{\\@nshortmid}{\u2224}",rU["\\nshortparallel"]="\\html@mathml{\\@nshortparallel}{\u2226}",rU["\\nsubseteqq"]="\\html@mathml{\\@nsubseteqq}{\u2288}",rU["\\nsupseteqq"]="\\html@mathml{\\@nsupseteqq}{\u2289}",rU["\\varsubsetneq"]="\\html@mathml{\\@varsubsetneq}{\u228A}",rU["\\varsubsetneqq"]="\\html@mathml{\\@varsubsetneqq}{\u2ACB}",rU["\\varsupsetneq"]="\\html@mathml{\\@varsupsetneq}{\u228B}",rU["\\varsupsetneqq"]="\\html@mathml{\\@varsupsetneqq}{\u2ACC}",rU["\\imath"]="\\html@mathml{\\@imath}{\u0131}",rU["\\jmath"]="\\html@mathml{\\@jmath}{\u0237}",rU["\\llbracket"]="\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}",rU["\\rrbracket"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}",rU["\u27E6"]="\\llbracket",rU["\u27E7"]="\\rrbracket",rU["\\lBrace"]="\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}",rU["\\rBrace"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}",rU["\u2983"]="\\lBrace",rU["\u2984"]="\\rBrace",rU["\\minuso"]="\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}",rU["\u29B5"]="\\minuso",rU["\\darr"]="\\downarrow",rU["\\dArr"]="\\Downarrow",rU["\\Darr"]="\\Downarrow",rU["\\lang"]="\\langle",rU["\\rang"]="\\rangle",rU["\\uarr"]="\\uparrow",rU["\\uArr"]="\\Uparrow",rU["\\Uarr"]="\\Uparrow",rU["\\N"]="\\mathbb{N}",rU["\\R"]="\\mathbb{R}",rU["\\Z"]="\\mathbb{Z}",rU["\\alef"]="\\aleph",rU["\\alefsym"]="\\aleph",rU["\\Alpha"]="\\mathrm{A}",rU["\\Beta"]="\\mathrm{B}",rU["\\bull"]="\\bullet",rU["\\Chi"]="\\mathrm{X}",rU["\\clubs"]="\\clubsuit",rU["\\cnums"]="\\mathbb{C}",rU["\\Complex"]="\\mathbb{C}",rU["\\Dagger"]="\\ddagger",rU["\\diamonds"]="\\diamondsuit",rU["\\empty"]="\\emptyset",rU["\\Epsilon"]="\\mathrm{E}",rU["\\Eta"]="\\mathrm{H}",rU["\\exist"]="\\exists",rU["\\harr"]="\\leftrightarrow",rU["\\hArr"]="\\Leftrightarrow",rU["\\Harr"]="\\Leftrightarrow",rU["\\hearts"]="\\heartsuit",rU["\\image"]="\\Im",rU["\\infin"]="\\infty",rU["\\Iota"]="\\mathrm{I}",rU["\\isin"]="\\in",rU["\\Kappa"]="\\mathrm{K}",rU["\\larr"]="\\leftarrow",rU["\\lArr"]="\\Leftarrow",rU["\\Larr"]="\\Leftarrow",rU["\\lrarr"]="\\leftrightarrow",rU["\\lrArr"]="\\Leftrightarrow",rU["\\Lrarr"]="\\Leftrightarrow",rU["\\Mu"]="\\mathrm{M}",rU["\\natnums"]="\\mathbb{N}",rU["\\Nu"]="\\mathrm{N}",rU["\\Omicron"]="\\mathrm{O}",rU["\\plusmn"]="\\pm",rU["\\rarr"]="\\rightarrow",rU["\\rArr"]="\\Rightarrow",rU["\\Rarr"]="\\Rightarrow",rU["\\real"]="\\Re",rU["\\reals"]="\\mathbb{R}",rU["\\Reals"]="\\mathbb{R}",rU["\\Rho"]="\\mathrm{P}",rU["\\sdot"]="\\cdot",rU["\\sect"]="\\S",rU["\\spades"]="\\spadesuit",rU["\\sub"]="\\subset",rU["\\sube"]="\\subseteq",rU["\\supe"]="\\supseteq",rU["\\Tau"]="\\mathrm{T}",rU["\\thetasym"]="\\vartheta",rU["\\weierp"]="\\wp",rU["\\Zeta"]="\\mathrm{Z}",rU["\\argmin"]="\\DOTSB\\operatorname*{arg\\,min}",rU["\\argmax"]="\\DOTSB\\operatorname*{arg\\,max}",rU["\\plim"]="\\DOTSB\\mathop{\\operatorname{plim}}\\limits",rU["\\bra"]="\\mathinner{\\langle{#1}|}",rU["\\ket"]="\\mathinner{|{#1}\\rangle}",rU["\\braket"]="\\mathinner{\\langle{#1}\\rangle}",rU["\\Bra"]="\\left\\langle#1\\right|",rU["\\Ket"]="\\left|#1\\right\\rangle";var aI=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",s),n.length&&r.macros.set("\\|",o));var i=t;return!t&&n.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?n:a,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};A=aI(!1),rU["\\bra@ket"]=A,T=aI(!0),rU["\\bra@set"]=T,rU["\\Braket"]="\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}",rU["\\Set"]="\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}",rU["\\set"]="\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}",rU["\\angln"]="{\\angl n}",rU["\\blue"]="\\textcolor{##6495ed}{#1}",rU["\\orange"]="\\textcolor{##ffa500}{#1}",rU["\\pink"]="\\textcolor{##ff00af}{#1}",rU["\\red"]="\\textcolor{##df0030}{#1}",rU["\\green"]="\\textcolor{##28ae7b}{#1}",rU["\\gray"]="\\textcolor{gray}{#1}",rU["\\purple"]="\\textcolor{##9d38bd}{#1}",rU["\\blueA"]="\\textcolor{##ccfaff}{#1}",rU["\\blueB"]="\\textcolor{##80f6ff}{#1}",rU["\\blueC"]="\\textcolor{##63d9ea}{#1}",rU["\\blueD"]="\\textcolor{##11accd}{#1}",rU["\\blueE"]="\\textcolor{##0c7f99}{#1}",rU["\\tealA"]="\\textcolor{##94fff5}{#1}",rU["\\tealB"]="\\textcolor{##26edd5}{#1}",rU["\\tealC"]="\\textcolor{##01d1c1}{#1}",rU["\\tealD"]="\\textcolor{##01a995}{#1}",rU["\\tealE"]="\\textcolor{##208170}{#1}",rU["\\greenA"]="\\textcolor{##b6ffb0}{#1}",rU["\\greenB"]="\\textcolor{##8af281}{#1}",rU["\\greenC"]="\\textcolor{##74cf70}{#1}",rU["\\greenD"]="\\textcolor{##1fab54}{#1}",rU["\\greenE"]="\\textcolor{##0d923f}{#1}",rU["\\goldA"]="\\textcolor{##ffd0a9}{#1}",rU["\\goldB"]="\\textcolor{##ffbb71}{#1}",rU["\\goldC"]="\\textcolor{##ff9c39}{#1}",rU["\\goldD"]="\\textcolor{##e07d10}{#1}",rU["\\goldE"]="\\textcolor{##a75a05}{#1}",rU["\\redA"]="\\textcolor{##fca9a9}{#1}",rU["\\redB"]="\\textcolor{##ff8482}{#1}",rU["\\redC"]="\\textcolor{##f9685d}{#1}",rU["\\redD"]="\\textcolor{##e84d39}{#1}",rU["\\redE"]="\\textcolor{##bc2612}{#1}",rU["\\maroonA"]="\\textcolor{##ffbde0}{#1}",rU["\\maroonB"]="\\textcolor{##ff92c6}{#1}",rU["\\maroonC"]="\\textcolor{##ed5fa6}{#1}",rU["\\maroonD"]="\\textcolor{##ca337c}{#1}",rU["\\maroonE"]="\\textcolor{##9e034e}{#1}",rU["\\purpleA"]="\\textcolor{##ddd7ff}{#1}",rU["\\purpleB"]="\\textcolor{##c6b9fc}{#1}",rU["\\purpleC"]="\\textcolor{##aa87ff}{#1}",rU["\\purpleD"]="\\textcolor{##7854ab}{#1}",rU["\\purpleE"]="\\textcolor{##543b78}{#1}",rU["\\mintA"]="\\textcolor{##f5f9e8}{#1}",rU["\\mintB"]="\\textcolor{##edf2df}{#1}",rU["\\mintC"]="\\textcolor{##e0e5cc}{#1}",rU["\\grayA"]="\\textcolor{##f6f7f7}{#1}",rU["\\grayB"]="\\textcolor{##f0f1f2}{#1}",rU["\\grayC"]="\\textcolor{##e3e5e6}{#1}",rU["\\grayD"]="\\textcolor{##d6d8da}{#1}",rU["\\grayE"]="\\textcolor{##babec2}{#1}",rU["\\grayF"]="\\textcolor{##888d93}{#1}",rU["\\grayG"]="\\textcolor{##626569}{#1}",rU["\\grayH"]="\\textcolor{##3b3e40}{#1}",rU["\\grayI"]="\\textcolor{##21242c}{#1}",rU["\\kaBlue"]="\\textcolor{##314453}{#1}",rU["\\kaGreen"]="\\textcolor{##71B307}{#1}";var aH={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class aR{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new aA(rU,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new az(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,a;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new n("EOF",r.loc)),this.pushTokens(a),t.range(r,"")}consumeSpaces(){for(;;)if(" "===this.future().text)this.stack.pop();else break}consumeArg(e){var t,r=[],a=e&&e.length>0;!a&&this.consumeSpaces();var n=this.future(),s=0,o=0;do{if(t=this.popToken(),r.push(t),"{"===t.text)++s;else if("}"===t.text){if(-1==--s)throw new i("Extra }",t)}else if("EOF"===t.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&a?e[o]:"}")+"'",t);if(e&&a){if((0===s||1===s&&"{"===e[o])&&t.text===e[o]){if(++o===e.length){r.splice(-o,o);break}}else o=0}}while(0!==s||a);return"{"===n.text&&"}"===r[r.length-1].text&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:t}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,a=t.noexpand?null:this._getExpansion(r);if(null==a||e&&a.unexpandable){if(e&&null==a&&"\\"===r[0]&&!this.isDefined(r))throw new i("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){n=n.slice();for(var o=n.length-1;o>=0;--o){var l=n[o];if("#"===l.text){if(0===o)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--o]).text)n.splice(o+1,1);else if(/^[1-9]$/.test(l.text))n.splice(o,2,...s[+l.text-1]);else throw new i("Not a valid argument number",l)}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw Error()}expandMacro(e){return this.macros.has(e)?this.expandTokens([new n(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var a="function"==typeof t?t(this):t;if("string"==typeof a){var n=0;if(-1!==a.indexOf("#")){for(var i=a.replace(/##/g,"");-1!==i.indexOf("#"+(n+1));)++n}for(var s=new az(a,this.settings),o=[],l=s.lex();"EOF"!==l.text;)o.push(l),l=s.lex();return o.reverse(),{tokens:o,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||tf.hasOwnProperty(e)||eB.math.hasOwnProperty(e)||eB.text.hasOwnProperty(e)||aH.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:tf.hasOwnProperty(e)&&!tf[e].primitive}}var aO=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,aE=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9",\u2090:"a",\u2091:"e",\u2095:"h",\u1D62:"i",\u2C7C:"j",\u2096:"k",\u2097:"l",\u2098:"m",\u2099:"n",\u2092:"o",\u209A:"p",\u1D63:"r",\u209B:"s",\u209C:"t",\u1D64:"u",\u1D65:"v",\u2093:"x",\u1D66:"\u03B2",\u1D67:"\u03B3",\u1D68:"\u03C1",\u1D69:"\u03D5",\u1D6A:"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9",\u1D2C:"A",\u1D2E:"B",\u1D30:"D",\u1D31:"E",\u1D33:"G",\u1D34:"H",\u1D35:"I",\u1D36:"J",\u1D37:"K",\u1D38:"L",\u1D39:"M",\u1D3A:"N",\u1D3C:"O",\u1D3E:"P",\u1D3F:"R",\u1D40:"T",\u1D41:"U",\u2C7D:"V",\u1D42:"W",\u1D43:"a",\u1D47:"b",\u1D9C:"c",\u1D48:"d",\u1D49:"e",\u1DA0:"f",\u1D4D:"g",\u02B0:"h",\u2071:"i",\u02B2:"j",\u1D4F:"k",\u02E1:"l",\u1D50:"m",\u207F:"n",\u1D52:"o",\u1D56:"p",\u02B3:"r",\u02E2:"s",\u1D57:"t",\u1D58:"u",\u1D5B:"v",\u02B7:"w",\u02E3:"x",\u02B8:"y",\u1DBB:"z",\u1D5D:"\u03B2",\u1D5E:"\u03B3",\u1D5F:"\u03B4",\u1D60:"\u03D5",\u1D61:"\u03C7",\u1DBF:"\u03B8"}),aL={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},aD={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308",\u01DF:"a\u0308\u0304","\xe3":"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C","\xe2":"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304","\xe5":"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307","\xe7":"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C","\xea":"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C","\xee":"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300","\xf1":"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308",\u022B:"o\u0308\u0304","\xf5":"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C","\xf4":"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C","\xfb":"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307","\xfd":"y\u0301",\u1EF3:"y\u0300","\xff":"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308",\u01DE:"A\u0308\u0304","\xc3":"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C","\xc2":"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304","\xc5":"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307","\xc7":"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C","\xca":"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C","\xce":"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300","\xd1":"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308",\u022A:"O\u0308\u0304","\xd5":"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C","\xd4":"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C","\xdb":"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307","\xdd":"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class aV{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new aR(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){!this.settings.globalGroup&&this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),!this.settings.globalGroup&&this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new n("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==aV.endOfExpression.indexOf(a.text)||t&&a.text===t||e&&tf[a.text]&&tf[a.text].infix)break;var n=this.parseAtom(t);if(n){if("internal"===n.type)continue}else break;r.push(n)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var o,l,h=eB[this.mode][t].group,m=a.range(e);o=l=eA.hasOwnProperty(h)?{type:"atom",mode:this.mode,family:h,loc:m,text:t}:{type:h,mode:this.mode,loc:m,text:t}}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(_(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0))+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),s)for(var c=0;c2&&O.push("'"+this.terminals_[x]+"'");C=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+O.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(C,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:f,expected:O})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+b);switch(S[0]){case 1:i.push(b),s.push(d.yytext),r.push(d.yylloc),i.push(S[1]),b=null,k?(b=k,k=null):(h=d.yyleng,l=d.yytext,c=d.yylineno,f=d.yylloc,u>0&&u--);break;case 2:if(L=this.productions_[S[1]][1],v.$=s[s.length-L],v._$={first_line:r[r.length-(L||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(L||1)].first_column,last_column:r[r.length-1].last_column},m&&(v._$.range=[r[r.length-(L||1)].range[0],r[r.length-1].range[1]]),void 0!==(N=this.performAction.apply(v,[l,h,c,p.yy,S[1],s,r].concat(g))))return N;L&&(i=i.slice(0,-1*L*2),s=s.slice(0,-1*L),r=r.slice(0,-1*L)),i.push(this.productions_[S[1]][0]),s.push(v.$),r.push(v._$),D=a[i[i.length-2]][i[i.length-1]],i.push(D);break;case 3:return!0}}return!0},"parse")},S={EOF:1,parseError:(0,o.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,o.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,o.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,o.eW)(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.eW)(function(){return this._more=!0,this},"more"),reject:(0,o.eW)(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})},"reject"),less:(0,o.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,o.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,o.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,o.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,o.eW)(function(e,t){var i,n,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var r in s)this[r]=s[r];return!1},"test_match"),next:(0,o.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,i,n,s=this._currentRules(),r=0;rt[0].length)){if(t=i,n=r,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,s[r])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,s[n]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,o.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,o.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,o.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,o.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,o.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.eW)(function(e,t,i,n){switch(i){case 0:return this.pushState("shapeData"),t.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:return t.yytext=t.yytext.replace(/\n\s*/g,"
    "),24;case 4:return 24;case 5:case 10:case 29:case 32:this.popState();break;case 6:return e.getLogger().trace("Found comment",t.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 11:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return e.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:e.getLogger().trace("end icon"),this.popState();break;case 16:return e.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return e.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:case 21:case 22:case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 30:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 33:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 36:case 39:case 40:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 37:case 38:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 41:case 42:return e.getLogger().trace("Long description:",t.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};function N(){this.yy={}}return E.lexer=S,(0,o.eW)(N,"Parser"),N.prototype=E,E.Parser=N,new N}();h.parser=h;var u=[],g=[],d=0,p={},y=(0,o.eW)(()=>{u=[],g=[],d=0,p={}},"clear"),f=(0,o.eW)(e=>{if(0===u.length)return null;let t=u[0].level,i=null;for(let e=u.length-1;e>=0;e--)if(u[e].level===t&&!i&&(i=u[e]),u[e].levele.parentId===n.id))){let t={id:s.id,parentId:n.id,label:(0,o.oO)(s.label??"",i),isGroup:!1,ticket:s?.ticket,priority:s?.priority,assigned:s?.assigned,icon:s?.icon,shape:"kanbanItem",level:s.level,rx:5,ry:5,cssStyles:["text-align: left"]};e.push(t)}}return{nodes:e,edges:[],other:{},config:(0,o.nV)()}},"getData"),b=(0,o.eW)((e,t,i,s,r)=>{let a=(0,o.nV)(),l=a.mindmap?.padding??o.vZ.mindmap.padding;switch(s){case k.ROUNDED_RECT:case k.RECT:case k.HEXAGON:l*=2}let c={id:(0,o.oO)(t,a)||"kbn"+d++,level:e,label:(0,o.oO)(i,a),width:a.mindmap?.maxNodeWidth??o.vZ.mindmap.maxNodeWidth,padding:l,isGroup:!1};if(void 0!==r){let e;e=r.includes("\n")?r+"\n":"{\n"+r+"\n}";let t=(0,n.z)(e,{schema:n.A});if(t.shape&&(t.shape!==t.shape.toLowerCase()||t.shape.includes("_")))throw Error(`No such shape: ${t.shape}. Shape names should be lowercase.`);t?.shape&&"kanbanItem"===t.shape&&(c.shape=t?.shape),t?.label&&(c.label=t?.label),t?.icon&&(c.icon=t?.icon),t?.assigned&&(c.assigned=t?.assigned),t?.ticket&&(c.ticket=t?.ticket),t?.priority&&(c.priority=t?.priority)}let h=f(e);h?c.parentId=h.id||"kbn"+d++:g.push(c),u.push(c)},"addNode"),k={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},E=(0,o.eW)((e,t)=>{switch(o.cM.debug("In get type",e,t),e){case"[":return k.RECT;case"(":return")"===t?k.ROUNDED_RECT:k.CLOUD;case"((":return k.CIRCLE;case")":return k.CLOUD;case"))":return k.BANG;case"{{":return k.HEXAGON;default:return k.DEFAULT}},"getType"),S=(0,o.eW)((e,t)=>{p[e]=t},"setElementForId"),N=(0,o.eW)(e=>{if(!e)return;let t=(0,o.nV)(),i=u[u.length-1];e.icon&&(i.icon=(0,o.oO)(e.icon,t)),e.class&&(i.cssClasses=(0,o.oO)(e.class,t))},"decorateNode"),x=(0,o.eW)(e=>{switch(e){case k.DEFAULT:return"no-border";case k.RECT:return"rect";case k.ROUNDED_RECT:return"rounded-rect";case k.CIRCLE:return"circle";case k.CLOUD:return"cloud";case k.BANG:return"bang";case k.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),L=(0,o.eW)(()=>o.cM,"getLogger"),D=(0,o.eW)(e=>p[e],"getElementById"),O=(0,o.eW)(async(e,t,i,n)=>{o.cM.debug("Rendering kanban diagram\n"+e);let a=n.db.getData(),l=(0,o.nV)();l.htmlLabels=!1;let c=(0,r.P)(t),h=c.append("g");h.attr("class","sections");let u=c.append("g");u.attr("class","items");let g=a.nodes.filter(e=>e.isGroup),d=0,p=[],y=25;for(let e of g){let t=l?.kanban?.sectionWidth||200;d+=1,e.x=t*d+(d-1)*10/2,e.width=t,e.y=0,e.height=3*t,e.rx=5,e.ry=5,e.cssClasses=e.cssClasses+" section-"+d;let i=await (0,s.us)(h,e);y=Math.max(y,i?.labelBBox?.height),p.push(i)}let f=0;for(let e of g){let t=p[f];f+=1;let i=l?.kanban?.sectionWidth||200,n=-(3*i)/2+y,r=n;for(let t of a.nodes.filter(t=>t.parentId===e.id)){if(t.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");t.x=e.x,t.width=i-15;let n=(await (0,s.Lf)(u,t,{config:l})).node().getBBox();t.y=r+n.height/2,await (0,s.aH)(t),r=t.y+n.height/2+5}let o=t.cluster.select("rect"),c=Math.max(r-n+30,50)+(y-25);o.attr("height",c)}(0,o.j7)(void 0,c,l.mindmap?.padding??o.vZ.kanban.padding,l.mindmap?.useMaxWidth??o.vZ.kanban.useMaxWidth)},"draw"),v=(0,o.eW)(e=>{let t="";for(let t=0;te.darkMode?(0,c.Z)(t,i):(0,l.Z)(t,i),"adjuster");for(let n=0;n` + .edge { + stroke-width: 3; + } + ${v(e)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${e.git0}; + } + .section-root text { + fill: ${e.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .cluster-label, .label { + color: ${e.textColor}; + fill: ${e.textColor}; + } + .kanban-label { + dy: 1em; + alignment-baseline: middle; + text-anchor: middle; + dominant-baseline: middle; + text-align: center; + } +`,"getStyles"),I={db:{clear:y,addNode:b,getSections:m,getData:_,nodeType:k,getType:E,setElementForId:S,decorateNode:N,type2Str:x,getLogger:L,getElementById:D},renderer:{draw:O},parser:h,styles:C}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/5187c925.d606ddc9.js b/pr-preview/pr-5/assets/js/5187c925.d606ddc9.js new file mode 100644 index 0000000..e0fa0bd --- /dev/null +++ b/pr-preview/pr-5/assets/js/5187c925.d606ddc9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["2556"],{40162:function(e,t,n){n.r(t),n.d(t,{metadata:()=>i,contentTitle:()=>a,default:()=>h,assets:()=>c,toc:()=>d,frontMatter:()=>o});var i=JSON.parse('{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","source":"@site/docs/spec/formatting.md","sourceDirName":"spec","slug":"/spec/formatting","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/formatting","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/formatting.md","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1731109362000,"sidebarPosition":1,"frontMatter":{"id":"formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","sidebar_position":1,"tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Terminology","permalink":"/nr-pies/pr-preview/pr-5/docs/intro/terminology"},"next":{"title":"Concept Maps","permalink":"/nr-pies/pr-preview/pr-5/docs/category/concept-maps"}}'),r=n("85893"),s=n("50065");let o={id:"formatting",title:"Formatting",description:"The syntax, encoding and file format used by PIES",sidebar_position:1,tags:["developer"]},a=void 0,c={},d=[{value:"JSON Schema Primer",id:"json-schema-primer",level:2},{value:"References",id:"references",level:2}];function l(e){let t={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["Every data standard must have a core set of fundamental data types that content will be transmitted in. Since the\nPermitting Interoperability Exchange Specification is built on top of the ",(0,r.jsx)(t.a,{href:"https://json-schema.org/",children:"JSON Schema"}),"\nstandard, it will leverage the conventions specified in that standard, including\n",(0,r.jsx)(t.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," which defines JSON. The PIES specification will be compliant\nto the ",(0,r.jsx)(t.code,{children:"draft 07"})," specification of the JSON Schema standard. While there exists more recent draft versions, notably the\n",(0,r.jsx)(t.code,{children:"draft 2020-12"})," standard, features that were introduced after ",(0,r.jsx)(t.code,{children:"draft 07"})," will not be defined and used at this time in\norder to maximize compatibility with implementor systems."]}),"\n",(0,r.jsx)(t.h2,{id:"json-schema-primer",children:"JSON Schema Primer"}),"\n",(0,r.jsx)(t.p,{children:"A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way\nto explicitly define the structural expectations for a specific type of document. While JSON Schema is good for\ndescribing expected structures, describing conceptual relationships between related topics and domains"}),"\n",(0,r.jsx)(t.p,{children:"A JSON Schema will typically contain the following attributes:"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$schema"})," - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be ",(0,r.jsx)(t.code,{children:"https://json-schema.org/draft-07/schema"}),"."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$id"})," - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"$comment"})," - A free text field for conveying out of band information about the schema. Comments are useful for\nspecification readers and editors to understand further nuances for certain properties and structures, but should not\nbe relied upon for implementation as they may be skipped over or stripped when parsed by machines."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"title"})," - The intent of the schema. This should be brief and concise."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"description"})," - A brief description about the schema. This should provide a quick overview for the context of usage."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"properties"})," - A set of attributes that are expected to show up in this document type."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"required"})," - An array defining the set of ",(0,r.jsx)(t.code,{children:"properties"})," that must be present for the document to be considered valid.\nAnything defined that is not in this array is implied to be optional."]}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"type"})," - The type primitive constraint for the property."]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://json-schema.org/draft-07",children:"Draft 07"})}),"\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," (JSON)"]}),"\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"https://ajv.js.org/guide/schema-language.html#json-schema",children:"JSON Schema Version Comparison"})}),"\n"]})]})}function h(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},50065:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return o}});var i=n(67294);let r={},s=i.createContext(r);function o(e){let t=i.useContext(s);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/54329717.cb4de419.js b/pr-preview/pr-5/assets/js/54329717.cb4de419.js new file mode 100644 index 0000000..c19981f --- /dev/null +++ b/pr-preview/pr-5/assets/js/54329717.cb4de419.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1858"],{74088:function(e,t,r){r.r(t),r.d(t,{metadata:()=>s,contentTitle:()=>o,default:()=>u,assets:()=>c,toc:()=>l,frontMatter:()=>i});var s=JSON.parse('{"id":"docusaurus/tutorial_basics/create_a_document","title":"Create a Document","description":"Documents are groups of pages connected through:","source":"@site/docs/docusaurus/tutorial_basics/create_a_document.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/create_a_document","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/create_a_document.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Create a Page","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page"},"next":{"title":"Create a Blog Post","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post"}}'),n=r("85893"),a=r("50065");let i={sidebar_position:2},o="Create a Document",c={},l=[{value:"Create your first Doc",id:"create-your-first-doc",level:2},{value:"Configure the Sidebar",id:"configure-the-sidebar",level:2}];function d(e){let t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"create-a-document",children:"Create a Document"})}),"\n",(0,n.jsxs)(t.p,{children:["Documents are ",(0,n.jsx)(t.strong,{children:"groups of pages"})," connected through:"]}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:["a ",(0,n.jsx)(t.strong,{children:"sidebar"})]}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.strong,{children:"previous/next navigation"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.strong,{children:"versioning"})}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"create-your-first-doc",children:"Create your first Doc"}),"\n",(0,n.jsxs)(t.p,{children:["Create a Markdown file at ",(0,n.jsx)(t.code,{children:"docs/hello.md"}),":"]}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md"',children:"# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,n.jsxs)(t.p,{children:["A new document is now available at ",(0,n.jsx)(t.a,{href:"http://localhost:3000/docs/hello",children:"http://localhost:3000/docs/hello"}),"."]}),"\n",(0,n.jsx)(t.h2,{id:"configure-the-sidebar",children:"Configure the Sidebar"}),"\n",(0,n.jsxs)(t.p,{children:["Docusaurus automatically ",(0,n.jsx)(t.strong,{children:"creates a sidebar"})," from the ",(0,n.jsx)(t.code,{children:"docs"})," folder."]}),"\n",(0,n.jsx)(t.p,{children:"Add metadata to customize the sidebar label and position:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md" {1-4}',children:"---\nsidebar_label: 'Hi!'\nsidebar_position: 3\n---\n\n# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,n.jsxs)(t.p,{children:["It is also possible to create your sidebar explicitly in ",(0,n.jsx)(t.code,{children:"sidebars.js"}),":"]}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-js",metastring:'title="sidebars.js"',children:"export default {\n tutorialSidebar: [\n 'intro',\n // highlight-next-line\n 'hello',\n {\n type: 'category',\n label: 'Tutorial',\n items: ['tutorial_basics/create-a-document']\n }\n ]\n};\n"})})]})}function u(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},50065:function(e,t,r){r.d(t,{Z:function(){return o},a:function(){return i}});var s=r(67294);let n={},a=s.createContext(n);function i(e){let t=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/5516.22baa0ea.js b/pr-preview/pr-5/assets/js/5516.22baa0ea.js new file mode 100644 index 0000000..3bcf44b --- /dev/null +++ b/pr-preview/pr-5/assets/js/5516.22baa0ea.js @@ -0,0 +1,252 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5516"],{28734:function(t){var e,i;e=0,i=function(){return function(t,e){var i=e.prototype,n=i.format;i.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return n.bind(this)(t);var r=this.$utils(),s=(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 i.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return i.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 n.bind(this)(s)}}},t.exports=i()},10285:function(t){var e,i;e=0,i=function(){"use strict";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|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,n=/\d\d/,r=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},c=function(t){return function(e){this[t]=+e}},l=[/[+-]\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),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],d=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var i,n=a.meridiem;if(n){for(var r=1;r<=24;r+=1)if(t.indexOf(n(r,0,e))>-1){i=r>12;break}}else i=t===(e?"pm":"PM");return i},h={A:[s,function(t){this.afternoon=u(t,!1)}],a:[s,function(t){this.afternoon=u(t,!0)}],Q:[i,function(t){this.month=3*(t-1)+1}],S:[i,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[r,c("seconds")],ss:[r,c("seconds")],m:[r,c("minutes")],mm:[r,c("minutes")],H:[r,c("hours")],h:[r,c("hours")],HH:[r,c("hours")],hh:[r,c("hours")],D:[r,c("day")],DD:[n,c("day")],Do:[s,function(t){var e=a.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var n=1;n<=31;n+=1)e(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],w:[r,c("week")],ww:[n,c("week")],M:[r,c("month")],MM:[n,c("month")],MMM:[s,function(t){var e=d("months"),i=(d("monthsShort")||e.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(i<1)throw Error();this.month=i%12||i}],MMMM:[s,function(t){var e=d("months").indexOf(t)+1;if(e<1)throw Error();this.month=e%12||e}],Y:[/[+-]?\d+/,c("year")],YY:[n,function(t){this.year=o(t)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l};return function(i,n,r){r.p.customParseFormat=!0,i&&i.parseTwoDigitYear&&(o=i.parseTwoDigitYear);var s=n.prototype,c=s.parse;s.parse=function(i){var n=i.date,s=i.utc,o=i.args;this.$u=s;var l=o[1];if("string"==typeof l){var d=!0===o[2],u=!0===o[3],f=o[2];u&&(f=o[2]),a=this.$locale(),!d&&f&&(a=r.Ls[f]),this.$d=function(i,n,r,s){try{if(["x","X"].indexOf(n)>-1)return new Date(("X"===n?1e3:1)*i);var o=(function(i){var n,r;n=i,r=a&&a.formats;for(var s=(i=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,i,n){var s=n&&n.toUpperCase();return i||r[n]||t[n]||r[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,i){return e||i.slice(1)})})).match(e),o=s.length,c=0;c0?l-1:g.getMonth());var x,w=u||0,_=f||0,W=y||0,$=k||0;return m?new Date(Date.UTC(T,v,b,w,_,W,$+60*m.offset*1e3)):r?new Date(Date.UTC(T,v,b,w,_,W,$)):(x=new Date(T,v,b,w,_,W,$),p&&(x=s(x).week(p).toDate()),x)}catch(t){return new Date("")}}(n,l,s,r),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),(d||u)&&n!=this.format(l)&&(this.$d=new Date("")),a={}}else if(l instanceof Array)for(var y=l.length,k=1;k<=y;k+=1){o[1]=l[k-1];var m=r.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}k===y&&(this.$d=new Date(""))}else c.call(this,i)}}},t.exports=i()},59542:function(t){var e,i;e=0,i=function(){return function(t,e,i){var n=function(t){return t.add(4-t.isoWeekday(),"day")},r=e.prototype;r.isoWeekYear=function(){return n(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),"day");var e,r,s,a=n(this),o=(e=this.isoWeekYear(),s=4-(r=(this.$u?i.utc:i)().year(e).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(s+=7),r.add(s,"day"));return a.diff(o,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var s=r.startOf;r.startOf=function(t,e){var i=this.$utils(),n=!!i.u(e)||e;return"isoweek"===i.p(t)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(t,e)}}},t.exports=i()},6907:function(t,e,i){"use strict";i.d(e,{diagram:function(){return tI}});var n,r,s,a=i(7690),o=i(5995),c=i(17967),l=i(27484),d=i(59542),u=i(10285),h=i(28734),f=i(27818),y=function(){var t=(0,o.eW)(function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],n=[1,27],r=[1,28],s=[1,29],a=[1,30],c=[1,31],l=[1,32],d=[1,33],u=[1,34],h=[1,9],f=[1,10],y=[1,11],k=[1,12],m=[1,13],p=[1,14],g=[1,15],b=[1,16],T=[1,19],v=[1,20],x=[1,21],w=[1,22],_=[1,23],W=[1,25],$=[1,35],D={trace:(0,o.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:(0,o.eW)(function(t,e,i,n,r,s,a){var o=s.length-1;switch(r){case 1:return s[o-1];case 2:case 6:case 7:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 8:n.setWeekday("monday");break;case 9:n.setWeekday("tuesday");break;case 10:n.setWeekday("wednesday");break;case 11:n.setWeekday("thursday");break;case 12:n.setWeekday("friday");break;case 13:n.setWeekday("saturday");break;case 14:n.setWeekday("sunday");break;case 15:n.setWeekend("friday");break;case 16:n.setWeekend("saturday");break;case 17:n.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 18:n.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 19:n.TopAxis(),this.$=s[o].substr(8);break;case 20:n.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 21:n.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 22:n.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 23:n.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 24:n.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 27:n.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 28:this.$=s[o].trim(),n.setAccTitle(this.$);break;case 29:case 30:this.$=s[o].trim(),n.setAccDescription(this.$);break;case 31:n.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 33:n.addTask(s[o-1],s[o]),this.$="task";break;case 34:this.$=s[o-1],n.setClickEvent(s[o-1],s[o],null);break;case 35:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],s[o]);break;case 36:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],null),n.setLink(s[o-2],s[o]);break;case 37:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-2],s[o-1]),n.setLink(s[o-3],s[o]);break;case 38:this.$=s[o-2],n.setClickEvent(s[o-2],s[o],null),n.setLink(s[o-2],s[o-1]);break;case 39:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-1],s[o]),n.setLink(s[o-3],s[o-2]);break;case 40:this.$=s[o-1],n.setLink(s[o-1],s[o]);break;case 41:case 47:this.$=s[o-1]+" "+s[o];break;case 42:case 43:case 45:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 44:case 46:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:n,14:r,15:s,16:a,17:c,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:T,31:v,33:x,35:w,36:_,37:24,38:W,40:$},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:i,13:n,14:r,15:s,16:a,17:c,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:T,31:v,33:x,35:w,36:_,37:24,38:W,40:$},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:(0,o.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,o.eW)(function(t){var e=this,i=[0],n=[],r=[null],s=[],a=this.table,c="",l=0,d=0,u=0,h=s.slice.call(arguments,1),f=Object.create(this.lexer),y={yy:{}};for(var k in this.yy)Object.prototype.hasOwnProperty.call(this.yy,k)&&(y.yy[k]=this.yy[k]);f.setInput(t,y.yy),y.yy.lexer=f,y.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;s.push(m);var p=f.options&&f.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(){var t;return"number"!=typeof(t=n.pop()||f.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}(0,o.eW)(function(t){i.length=i.length-2*t,r.length=r.length-t,s.length=s.length-t},"popStack"),(0,o.eW)(g,"lex");for(var b,T,v,x,w,_,W,$,D,S={};;){if(v=i[i.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==b&&(b=g()),x=a[v]&&a[v][b]),void 0===x||!x.length||!x[0]){var C="";for(_ in D=[],a[v])this.terminals_[_]&&_>2&&D.push("'"+this.terminals_[_]+"'");C=f.showPosition?"Parse error on line "+(l+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(C,{text:f.match,token:this.terminals_[b]||b,line:f.yylineno,loc:m,expected:D})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+b);switch(x[0]){case 1:i.push(b),r.push(f.yytext),s.push(f.yylloc),i.push(x[1]),b=null,T?(b=T,T=null):(d=f.yyleng,c=f.yytext,l=f.yylineno,m=f.yylloc,u>0&&u--);break;case 2:if(W=this.productions_[x[1]][1],S.$=r[r.length-W],S._$={first_line:s[s.length-(W||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(W||1)].first_column,last_column:s[s.length-1].last_column},p&&(S._$.range=[s[s.length-(W||1)].range[0],s[s.length-1].range[1]]),void 0!==(w=this.performAction.apply(S,[c,d,l,y.yy,x[1],r,s].concat(h))))return w;W&&(i=i.slice(0,-1*W*2),r=r.slice(0,-1*W),s=s.slice(0,-1*W)),i.push(this.productions_[x[1]][0]),r.push(S.$),s.push(S._$),$=a[i[i.length-2]][i[i.length-1]],i.push($);break;case 3:return!0}}return!0},"parse")},S={EOF:1,parseError:(0,o.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,o.eW)(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},"setInput"),input:(0,o.eW)(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},"input"),unput:(0,o.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.eW)(function(){return this._more=!0,this},"more"),reject:(0,o.eW)(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})},"reject"),less:(0,o.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,o.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,o.eW)(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,"")},"upcomingInput"),showPosition:(0,o.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,o.eW)(function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},"test_match"),next:(0,o.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,o.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,o.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,o.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,o.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,o.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.eW)(function(t,e,i,n){switch(i){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 43;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 22:return 42;case 23:this.begin("click");break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/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,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,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],inclusive:!0}}};function C(){this.yy={}}return D.lexer=S,(0,o.eW)(C,"Parser"),C.prototype=D,D.Parser=C,new C}();y.parser=y;l.extend(d),l.extend(u),l.extend(h);var k={friday:5,saturday:6},m="",p="",g=void 0,b="",T=[],v=[],x=new Map,w=[],_=[],W="",$="",D=["active","done","crit","milestone"],S=[],C=!1,E=!1,M="sunday",Y="saturday",A=0,L=(0,o.eW)(function(){w=[],_=[],W="",S=[],th=0,n=void 0,r=void 0,tm=[],m="",p="",$="",g=void 0,b="",T=[],v=[],C=!1,E=!1,A=0,x=new Map,(0,o.ZH)(),M="sunday",Y="saturday"},"clear"),I=(0,o.eW)(function(t){p=t},"setAxisFormat"),F=(0,o.eW)(function(){return p},"getAxisFormat"),O=(0,o.eW)(function(t){g=t},"setTickInterval"),P=(0,o.eW)(function(){return g},"getTickInterval"),B=(0,o.eW)(function(t){b=t},"setTodayMarker"),z=(0,o.eW)(function(){return b},"getTodayMarker"),N=(0,o.eW)(function(t){m=t},"setDateFormat"),H=(0,o.eW)(function(){C=!0},"enableInclusiveEndDates"),V=(0,o.eW)(function(){return C},"endDatesAreInclusive"),j=(0,o.eW)(function(){E=!0},"enableTopAxis"),G=(0,o.eW)(function(){return E},"topAxisEnabled"),Z=(0,o.eW)(function(t){$=t},"setDisplayMode"),U=(0,o.eW)(function(){return $},"getDisplayMode"),R=(0,o.eW)(function(){return m},"getDateFormat"),q=(0,o.eW)(function(t){T=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),Q=(0,o.eW)(function(){return T},"getIncludes"),X=(0,o.eW)(function(t){v=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),K=(0,o.eW)(function(){return v},"getExcludes"),J=(0,o.eW)(function(){return x},"getLinks"),tt=(0,o.eW)(function(t){W=t,w.push(t)},"addSection"),te=(0,o.eW)(function(){return w},"getSections"),ti=(0,o.eW)(function(){let t=tv(),e=0;for(;!t&&e<10;)t=tv(),e++;return _=tm},"getTasks"),tn=(0,o.eW)(function(t,e,i,n){return!n.includes(t.format(e.trim()))&&(!!(i.includes("weekends")&&(t.isoWeekday()===k[Y]||t.isoWeekday()===k[Y]+1)||i.includes(t.format("dddd").toLowerCase()))||i.includes(t.format(e.trim())))},"isInvalidDate"),tr=(0,o.eW)(function(t){M=t},"setWeekday"),ts=(0,o.eW)(function(){return M},"getWeekday"),ta=(0,o.eW)(function(t){Y=t},"setWeekend"),to=(0,o.eW)(function(t,e,i,n){let r,s;if(!i.length||t.manualEndTime)return;r=(r=t.startTime instanceof Date?l(t.startTime):l(t.startTime,e,!0)).add(1,"d");let[a,o]=tc(r,s=t.endTime instanceof Date?l(t.endTime):l(t.endTime,e,!0),e,i,n);t.endTime=a.toDate(),t.renderEndTime=o},"checkTaskDates"),tc=(0,o.eW)(function(t,e,i,n,r){let s=!1,a=null;for(;t<=e;)!s&&(a=e.toDate()),(s=tn(t,i,n,r))&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},"fixTaskDates"),tl=(0,o.eW)(function(t,e,i){i=i.trim();let n=/^after\s+(?[\d\w- ]+)/.exec(i);if(null!==n){let t=null;for(let e of n.groups.ids.split(" ")){let i=tb(e);void 0!==i&&(!t||i.endTime>t.endTime)&&(t=i)}if(t)return t.endTime;let e=new Date;return e.setHours(0,0,0,0),e}let r=l(i,e.trim(),!0);if(r.isValid())return r.toDate();{o.cM.debug("Invalid date:"+i),o.cM.debug("With date format:"+e.trim());let t=new Date(i);if(void 0===t||isNaN(t.getTime())||-1e4>t.getFullYear()||t.getFullYear()>1e4)throw Error("Invalid date:"+i);return t}},"getStartDate"),td=(0,o.eW)(function(t){let e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),tu=(0,o.eW)(function(t,e,i,n=!1){i=i.trim();let r=/^until\s+(?[\d\w- ]+)/.exec(i);if(null!==r){let t=null;for(let e of r.groups.ids.split(" ")){let i=tb(e);void 0!==i&&(!t||i.startTime{window.open(i,"_self")}),x.set(t,i))}),tw(t,"clickable")},"setLink"),tw=(0,o.eW)(function(t,e){t.split(",").forEach(function(t){let i=tb(t);void 0!==i&&i.classes.push(e)})},"setClass"),t_=(0,o.eW)(function(t,e,i){if("loose"!==(0,o.nV)().securityLevel||void 0===e)return;let n=[];if("string"==typeof i){n=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t{a.w8.runFunc(e,...n)})},"setClickFun"),tW=(0,o.eW)(function(t,e){S.push(function(){let i=document.querySelector(`[id="${t}"]`);null!==i&&i.addEventListener("click",function(){e()})},function(){let i=document.querySelector(`[id="${t}-text"]`);null!==i&&i.addEventListener("click",function(){e()})})},"pushFun"),t$=(0,o.eW)(function(t,e,i){t.split(",").forEach(function(t){t_(t,e,i)}),tw(t,"clickable")},"setClickEvent"),tD=(0,o.eW)(function(t){S.forEach(function(e){e(t)})},"bindFunctions"),tS={getConfig:(0,o.eW)(()=>(0,o.nV)().gantt,"getConfig"),clear:L,setDateFormat:N,getDateFormat:R,enableInclusiveEndDates:H,endDatesAreInclusive:V,enableTopAxis:j,topAxisEnabled:G,setAxisFormat:I,getAxisFormat:F,setTickInterval:O,getTickInterval:P,setTodayMarker:B,getTodayMarker:z,setAccTitle:o.GN,getAccTitle:o.eu,setDiagramTitle:o.g2,getDiagramTitle:o.Kr,setDisplayMode:Z,getDisplayMode:U,setAccDescription:o.U$,getAccDescription:o.Mx,addSection:tt,getSections:te,getTasks:ti,addTask:tg,findTaskById:tb,addTaskOrg:tT,setIncludes:q,getIncludes:Q,setExcludes:X,getExcludes:K,setClickEvent:t$,setLink:tx,getLinks:J,bindFunctions:tD,parseDuration:td,isInvalidDate:tn,setWeekday:tr,getWeekday:ts,setWeekend:ta};function tC(t,e,i){let n=!0;for(;n;)n=!1,i.forEach(function(i){let r=RegExp("^\\s*"+i+"\\s*$");t[0].match(r)&&(e[i]=!0,t.shift(1),n=!0)})}(0,o.eW)(tC,"getTaskTags");var tE=(0,o.eW)(function(){o.cM.debug("Something is calling, setConf, remove the call")},"setConf"),tM={monday:f.Ox9,tuesday:f.YDX,wednesday:f.EFj,thursday:f.Igq,friday:f.y2j,saturday:f.LqH,sunday:f.Zyz},tY=(0,o.eW)((t,e)=>{let i=[...t].map(()=>-1/0),n=[...t].sort((t,e)=>t.startTime-e.startTime||t.order-e.order),r=0;for(let t of n)for(let n=0;n=i[n]){i[n]=t.endTime,t.order=n+e,n>r&&(r=n);break}return r},"getMaxIntersections"),tA=(0,o.eW)(function(t,e,i,n){let r;let a=(0,o.nV)().gantt,c=(0,o.nV)().securityLevel;"sandbox"===c&&(r=(0,f.Ys)("#i"+e));let d="sandbox"===c?(0,f.Ys)(r.nodes()[0].contentDocument.body):(0,f.Ys)("body"),u="sandbox"===c?r.nodes()[0].contentDocument:document,h=u.getElementById(e);void 0===(s=h.parentElement.offsetWidth)&&(s=1200),void 0!==a.useWidth&&(s=a.useWidth);let y=n.db.getTasks(),k=[];for(let t of y)k.push(t.type);k=D(k);let m={},p=2*a.topPadding;if("compact"===n.db.getDisplayMode()||"compact"===a.displayMode){let t={};for(let e of y)void 0===t[e.section]?t[e.section]=[e]:t[e.section].push(e);let e=0;for(let i of Object.keys(t)){let n=tY(t[i],e)+1;e+=n,p+=n*(a.barHeight+a.barGap),m[i]=n}}else for(let t of(p+=y.length*(a.barHeight+a.barGap),k))m[t]=y.filter(e=>e.type===t).length;h.setAttribute("viewBox","0 0 "+s+" "+p);let g=d.select(`[id="${e}"]`),b=(0,f.Xf)().domain([(0,f.VV$)(y,function(t){return t.startTime}),(0,f.Fp7)(y,function(t){return t.endTime})]).rangeRound([0,s-a.leftPadding-a.rightPadding]);function T(t,e){let i=t.startTime,n=e.startTime,r=0;return i>n?r=1:it.order))].map(e=>t.find(t=>t.order===e));g.append("g").selectAll("rect").data(u).enter().append("rect").attr("x",0).attr("y",function(t,e){return(e=t.order)*i+r-2}).attr("width",function(){return d-a.rightPadding/2}).attr("height",i).attr("class",function(t){for(let[e,i]of k.entries())if(t.type===i)return"section section"+e%a.numberSectionStyles;return"section section0"});let h=g.append("g").selectAll("rect").data(t).enter(),y=n.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?b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))-.5*c:b(t.startTime)+s}).attr("y",function(t,e){return(e=t.order)*i+r}).attr("width",function(t){return t.milestone?c:b(t.renderEndTime||t.endTime)-b(t.startTime)}).attr("height",c).attr("transform-origin",function(t,e){return e=t.order,(b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))).toString()+"px "+(e*i+r+.5*c).toString()+"px"}).attr("class",function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let i=0;for(let[e,n]of k.entries())t.type===n&&(i=e%a.numberSectionStyles);let n="";return t.active?t.crit?n+=" activeCrit":n=" active":t.done?n=t.crit?" doneCrit":" done":t.crit&&(n+=" crit"),0===n.length&&(n=" task"),t.milestone&&(n=" milestone "+n),n+=i,"task"+(n+=" "+e)}),h.append("text").attr("id",function(t){return t.id+"-text"}).text(function(t){return t.task}).attr("font-size",a.fontSize).attr("x",function(t){let e=b(t.startTime),i=b(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(b(t.endTime)-b(t.startTime))-.5*c),t.milestone&&(i=e+c);let n=this.getBBox().width;return n>i-e?i+n+1.5*a.leftPadding>d?e+s-5:i+s+5:(i-e)/2+e+s}).attr("y",function(t,e){return(e=t.order)*i+a.barHeight/2+(a.fontSize/2-2)+r}).attr("text-height",c).attr("class",function(t){let e=b(t.startTime),i=b(t.endTime);t.milestone&&(i=e+c);let n=this.getBBox().width,r="";t.classes.length>0&&(r=t.classes.join(" "));let s=0;for(let[e,i]of k.entries())t.type===i&&(s=e%a.numberSectionStyles);let o="";return(t.active&&(o=t.crit?"activeCritText"+s:"activeText"+s),t.done?o=t.crit?o+" doneCritText"+s:o+" doneText"+s:t.crit&&(o=o+" critText"+s),t.milestone&&(o+=" milestoneText"),n>i-e)?i+n+1.5*a.leftPadding>d?r+" taskTextOutsideLeft taskTextOutside"+s+" "+o:r+" taskTextOutsideRight taskTextOutside"+s+" "+o+" width-"+n:r+" taskText taskText"+s+" "+o+" width-"+n}),"sandbox"===(0,o.nV)().securityLevel){let t=(0,f.Ys)("#i"+e).nodes()[0].contentDocument;h.filter(function(t){return y.has(t.id)}).each(function(e){var i=t.querySelector("#"+e.id),n=t.querySelector("#"+e.id+"-text");let r=i.parentNode;var s=t.createElement("a");s.setAttribute("xlink:href",y.get(e.id)),s.setAttribute("target","_top"),r.appendChild(s),s.appendChild(i),s.appendChild(n)})}}function w(t,e,i,r,s,c,d,u){let h,f;if(0===d.length&&0===u.length)return;for(let{startTime:t,endTime:e}of c)(void 0===h||tf)&&(f=e);if(!h||!f)return;if(l(f).diff(l(h),"year")>5){o.cM.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let y=n.db.getDateFormat(),k=[],m=null,p=l(h);for(;p.valueOf()<=f;)n.db.isInvalidDate(p,y,d,u)?m?m.end=p:m={start:p,end:p}:m&&(k.push(m),m=null),p=p.add(1,"d");g.append("g").selectAll("rect").data(k).enter().append("rect").attr("id",function(t){return"exclude-"+t.start.format("YYYY-MM-DD")}).attr("x",function(t){return b(t.start)+i}).attr("y",a.gridLineStartPadding).attr("width",function(t){return b(t.end.add(1,"day"))-b(t.start)}).attr("height",s-e-a.gridLineStartPadding).attr("transform-origin",function(e,n){return(b(e.start)+i+.5*(b(e.end)-b(e.start))).toString()+"px "+(n*t+.5*s).toString()+"px"}).attr("class","exclude-range")}function _(t,e,i,r){let s=(0,f.LLu)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d")),o=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(n.db.getTickInterval()||a.tickInterval);if(null!==o){let t=o[1],e=o[2],i=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":s.ticks(f.U8T.every(t));break;case"second":s.ticks(f.S1K.every(t));break;case"minute":s.ticks(f.Z_i.every(t));break;case"hour":s.ticks(f.WQD.every(t));break;case"day":s.ticks(f.rr1.every(t));break;case"week":s.ticks(tM[i].every(t));break;case"month":s.ticks(f.F0B.every(t))}}if(g.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(s).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),n.db.topAxisEnabled()||a.topAxis){let i=(0,f.F5q)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));if(null!==o){let t=o[1],e=o[2],r=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":i.ticks(f.U8T.every(t));break;case"second":i.ticks(f.S1K.every(t));break;case"minute":i.ticks(f.Z_i.every(t));break;case"hour":i.ticks(f.WQD.every(t));break;case"day":i.ticks(f.rr1.every(t));break;case"week":i.ticks(tM[r].every(t));break;case"month":i.ticks(f.F0B.every(t))}}g.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(i).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function W(t,e){let i=0,n=Object.keys(m).map(t=>[t,m[t]]);g.append("g").selectAll("text").data(n).enter().append(function(t){let e=t[0].split(o.SY.lineBreakRegex),i=-(e.length-1)/2,n=u.createElementNS("http://www.w3.org/2000/svg","text");for(let[t,r]of(n.setAttribute("dy",i+"em"),e.entries())){let e=u.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=r,n.appendChild(e)}return n}).attr("x",10).attr("y",function(r,s){if(!(s>0))return r[1]*t/2+e;for(let a=0;a` + .mermaid-main-font { + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .exclude-range { + fill: ${t.excludeBkgColor}; + } + + .section { + stroke: none; + opacity: 0.2; + } + + .section0 { + fill: ${t.sectionBkgColor}; + } + + .section2 { + fill: ${t.sectionBkgColor2}; + } + + .section1, + .section3 { + fill: ${t.altSectionBkgColor}; + opacity: 0.2; + } + + .sectionTitle0 { + fill: ${t.titleColor}; + } + + .sectionTitle1 { + fill: ${t.titleColor}; + } + + .sectionTitle2 { + fill: ${t.titleColor}; + } + + .sectionTitle3 { + fill: ${t.titleColor}; + } + + .sectionTitle { + text-anchor: start; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + + /* Grid and axis */ + + .grid .tick { + stroke: ${t.gridColor}; + opacity: 0.8; + shape-rendering: crispEdges; + } + + .grid .tick text { + font-family: ${t.fontFamily}; + fill: ${t.textColor}; + } + + .grid path { + stroke-width: 0; + } + + + /* Today line */ + + .today { + fill: none; + stroke: ${t.todayLineColor}; + stroke-width: 2px; + } + + + /* Task styling */ + + /* Default task */ + + .task { + stroke-width: 2; + } + + .taskText { + text-anchor: middle; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .taskTextOutsideRight { + fill: ${t.taskTextDarkColor}; + text-anchor: start; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } + + .taskTextOutsideLeft { + fill: ${t.taskTextDarkColor}; + text-anchor: end; + } + + + /* Special case clickable */ + + .task.clickable { + cursor: pointer; + } + + .taskText.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideLeft.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideRight.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + + /* Specific task settings for the sections*/ + + .taskText0, + .taskText1, + .taskText2, + .taskText3 { + fill: ${t.taskTextColor}; + } + + .task0, + .task1, + .task2, + .task3 { + fill: ${t.taskBkgColor}; + stroke: ${t.taskBorderColor}; + } + + .taskTextOutside0, + .taskTextOutside2 + { + fill: ${t.taskTextOutsideColor}; + } + + .taskTextOutside1, + .taskTextOutside3 { + fill: ${t.taskTextOutsideColor}; + } + + + /* Active task */ + + .active0, + .active1, + .active2, + .active3 { + fill: ${t.activeTaskBkgColor}; + stroke: ${t.activeTaskBorderColor}; + } + + .activeText0, + .activeText1, + .activeText2, + .activeText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Completed task */ + + .done0, + .done1, + .done2, + .done3 { + stroke: ${t.doneTaskBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + } + + .doneText0, + .doneText1, + .doneText2, + .doneText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Tasks on the critical line */ + + .crit0, + .crit1, + .crit2, + .crit3 { + stroke: ${t.critBorderColor}; + fill: ${t.critBkgColor}; + stroke-width: 2; + } + + .activeCrit0, + .activeCrit1, + .activeCrit2, + .activeCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.activeTaskBkgColor}; + stroke-width: 2; + } + + .doneCrit0, + .doneCrit1, + .doneCrit2, + .doneCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + cursor: pointer; + shape-rendering: crispEdges; + } + + .milestone { + transform: rotate(45deg) scale(0.8,0.8); + } + + .milestoneText { + font-style: italic; + } + .doneCritText0, + .doneCritText1, + .doneCritText2, + .doneCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .activeCritText0, + .activeCritText1, + .activeCritText2, + .activeCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .titleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.titleColor||t.textColor}; + font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + } +`,"getStyles"),tI={parser:y,db:tS,renderer:{setConf:tE,draw:tA},styles:tL}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/555.22a9c9df.js b/pr-preview/pr-5/assets/js/555.22a9c9df.js new file mode 100644 index 0000000..0800c26 --- /dev/null +++ b/pr-preview/pr-5/assets/js/555.22a9c9df.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["555"],{65521:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(16124);let i=function(e){return(0,r.Z)(e,4)}},30714:function(e,t,n){n.r(t),n.d(t,{render:()=>D});var r=n("33071"),i=n("28162");n("16302"),n("80587");var a=n("4511");n("92719"),n("7690");var d=n("5995"),c=n("49235"),o=n("61925"),s=n("65521"),l=n("97345");function g(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:function(e){return l.Z(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return!o.Z(n)&&(i.value=n),!o.Z(r)&&(i.parent=r),i})}(e),edges:function(e){return l.Z(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return!o.Z(t.name)&&(r.name=t.name),!o.Z(n)&&(r.value=n),r})}(e)};return!o.Z(e.graph())&&(t.value=s.Z(e.graph())),t}n("61135");var f=n("50043"),h=new Map,u=new Map,p=new Map,w=(0,d.eW)(()=>{u.clear(),p.clear(),h.clear()},"clear"),M=(0,d.eW)((e,t)=>{let n=u.get(t)||[];return d.cM.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),v=(0,d.eW)((e,t)=>{let n=u.get(t)||[];return d.cM.info("Descendants of ",t," is ",n),d.cM.info("Edge is ",e),e.v!==t&&e.w!==t&&(n?n.includes(e.v)||M(e.v,t)||M(e.w,t)||n.includes(e.w):(d.cM.debug("Tilt, ",t,",not in descendants"),!1))},"edgeInCluster"),y=(0,d.eW)((e,t,n,r)=>{d.cM.warn("Copying children of ",e,"root",r,"data",t.node(e),r);let i=t.children(e)||[];e!==r&&i.push(e),d.cM.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(i=>{if(t.children(i).length>0)y(i,t,n,r);else{let a=t.node(i);d.cM.info("cp ",i," to ",r," with parent ",e),n.setNode(i,a),r!==t.parent(i)&&(d.cM.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(d.cM.debug("Setting parent",i,e),n.setParent(i,e)):(d.cM.info("In copy ",e,"root",r,"data",t.node(e),r),d.cM.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));let c=t.edges(i);d.cM.debug("Copying Edges",c),c.forEach(i=>{d.cM.info("Edge",i);let a=t.edge(i.v,i.w,i.name);d.cM.info("Edge data",a,r);try{v(i,r)?(d.cM.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),d.cM.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):d.cM.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(e){d.cM.error(e)}})}d.cM.debug("Removing node",i),t.removeNode(i)})},"copy"),X=(0,d.eW)((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)p.set(i,e),r=[...r,...X(i,t)];return r},"extractDescendants"),m=(0,d.eW)((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),d=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>d.some(t=>e.v===t.v&&e.w===t.w))},"findCommonEdges"),b=(0,d.eW)((e,t,n)=>{let r;let i=t.children(e);if(d.cM.trace("Searching children of id ",e,i),i.length<1)return e;for(let e of i){let i=b(e,t,n),a=m(t,n,i);if(i){if(!(a.length>0))return i;r=i}}return r},"findNonClusterChild"),E=(0,d.eW)(e=>h.has(e)&&h.get(e).externalConnections?h.has(e)?h.get(e).id:e:e,"getAnchorId"),N=(0,d.eW)((e,t)=>{if(!e||t>10){d.cM.debug("Opting out, no graph ");return}d.cM.debug("Opting in, graph ");for(let t of(e.nodes().forEach(function(t){e.children(t).length>0&&(d.cM.warn("Cluster identified",t," Replacement id in edges: ",b(t,e,t)),u.set(t,X(t,e)),h.set(t,{id:b(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){let n=e.children(t),r=e.edges();n.length>0?(d.cM.debug("Cluster identified",t,u),r.forEach(e=>{let n=M(e.v,t);n^M(e.w,t)&&(d.cM.warn("Edge: ",e," leaves cluster ",t),d.cM.warn("Descendants of XXX ",t,": ",u.get(t)),h.get(t).externalConnections=!0)})):d.cM.debug("Not a cluster ",t,u)}),h.keys())){let n=h.get(t).id,r=e.parent(n);r!==t&&h.has(r)&&!h.get(r).externalConnections&&(h.get(t).id=r)}e.edges().forEach(function(t){let n=e.edge(t);d.cM.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),d.cM.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(d.cM.warn("Fix XXX",h,"ids:",t.v,t.w,"Translating: ",h.get(t.v)," --- ",h.get(t.w)),h.get(t.v)||h.get(t.w)){if(d.cM.warn("Fixing and trying - removing XXX",t.v,t.w,t.name),r=E(t.v),i=E(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v){let i=e.parent(r);h.get(i).externalConnections=!0,n.fromCluster=t.v}if(i!==t.w){let r=e.parent(i);h.get(r).externalConnections=!0,n.toCluster=t.w}d.cM.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name)}}),d.cM.warn("Adjusted Graph",g(e)),C(e,0),d.cM.trace(h)},"adjustClustersAndEdges"),C=(0,d.eW)((e,t)=>{if(d.cM.warn("extractor - ",t,g(e),e.children("D")),t>10){d.cM.error("Bailing out");return}let n=e.nodes(),r=!1;for(let t of n){let n=e.children(t);r=r||n.length>0}if(!r){d.cM.debug("Done, no node has children",e.nodes());return}for(let r of(d.cM.debug("Nodes = ",n,t),n))if(d.cM.debug("Extracting node",r,h,h.has(r)&&!h.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),h.has(r)){if(!h.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){d.cM.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";h.get(r)?.clusterData?.dir&&(n=h.get(r).clusterData.dir,d.cM.warn("Fixing dir",h.get(r).clusterData.dir,n));let i=new f.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});d.cM.warn("Old graph before copy",g(e)),y(r,e,i,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:h.get(r).clusterData,label:h.get(r).label,graph:i}),d.cM.warn("New graph after copy node: (",r,")",g(i)),d.cM.debug("Old graph after copy",g(e))}else d.cM.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!h.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),d.cM.debug(h)}else d.cM.debug("Not a cluster",r,t);for(let r of(n=e.nodes(),d.cM.warn("New list of nodes",n),n)){let n=e.node(r);d.cM.warn(" Now next level",r,n),n?.clusterNode&&C(n.graph,t+1)}},"extractor"),x=(0,d.eW)((e,t)=>{if(0===t.length)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=e.children(t),i=x(e,r);n=[...n,...i]}),n},"sorter"),S=(0,d.eW)(e=>x(e,e.children()),"sortNodesByHierarchy"),I=(0,d.eW)(async(e,t,n,o,s,l)=>{d.cM.warn("Graph in recursive render:XAX",g(t),s);let f=t.graph().rankdir;d.cM.trace("Dir in recursive render - dir:",f);let u=e.insert("g").attr("class","root");t.nodes()?d.cM.info("Recursive render XXX",t.nodes()):d.cM.info("No nodes found for",t),t.edges().length>0&&d.cM.info("Recursive edges",t.edge(t.edges()[0]));let p=u.insert("g").attr("class","clusters"),w=u.insert("g").attr("class","edgePaths"),M=u.insert("g").attr("class","edgeLabels"),v=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(e){let r=t.node(e);if(void 0!==s){let n=JSON.parse(JSON.stringify(s.clusterData));d.cM.trace("Setting data for parent cluster XXX\n Node.id = ",e,"\n data=",n.height,"\nParent cluster",s.height),t.setNode(s.id,n),!t.parent(e)&&(d.cM.trace("Setting parent",e,s.id),t.setParent(e,s.id,n))}if(d.cM.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r?.clusterNode){d.cM.info("Cluster identified XBX",e,r.width,t.node(e));let{ranksep:a,nodesep:c}=t.graph();r.graph.setGraph({...r.graph.graph(),ranksep:a+25,nodesep:c});let s=await I(v,r.graph,n,o,t.node(e),l),g=s.elem;(0,i.jr)(r,g),r.diff=s.diff||0,d.cM.info("New compound node after recursive render XAX",e,"width",r.width,"height",r.height),(0,i.Yn)(g,r)}else t.children(e).length>0?(d.cM.trace("Cluster - the non recursive path XBX",e,r.id,r,r.width,"Graph:",t),d.cM.trace(b(r.id,t)),h.set(r.id,{id:b(r.id,t),node:r})):(d.cM.trace("Node - the non recursive path XAX",e,v,t.node(e),f),await (0,i.Lf)(v,t.node(e),{config:l,dir:f}))}));let y=(0,d.eW)(async()=>{let e=t.edges().map(async function(e){let n=t.edge(e.v,e.w,e.name);d.cM.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),d.cM.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),d.cM.info("Fix",h,"ids:",e.v,e.w,"Translating: ",h.get(e.v),h.get(e.w)),await (0,r.I_)(M,n)});await Promise.all(e)},"processEdges");await y(),d.cM.info("Graph before layout:",JSON.stringify(g(t))),d.cM.info("############################################# XXX"),d.cM.info("### Layout ### XXX"),d.cM.info("############################################# XXX"),(0,c.bK)(t),d.cM.info("Graph after layout:",JSON.stringify(g(t)));let X=0,{subGraphTitleTotalMargin:m}=(0,a.L)(l);return await Promise.all(S(t).map(async function(e){let n=t.node(e);if(d.cM.info("Position XBX => "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n?.clusterNode)n.y+=m,d.cM.info("A tainted cluster node XBX1",e,n.id,n.width,n.height,n.x,n.y,t.parent(e)),h.get(n.id).node=n,(0,i.aH)(n);else if(t.children(e).length>0){d.cM.info("A pure cluster node XBX1",e,n.id,n.x,n.y,n.width,n.height,t.parent(e)),n.height+=m,t.node(n.parentId);let r=n?.padding/2||0,a=n?.labelBBox?.height||0;d.cM.debug("OffsetY",a-r||0,"labelHeight",a,"halfPadding",r),await (0,i.us)(p,n),h.get(n.id).node=n}else{let e=t.node(n.parentId);n.y+=m/2,d.cM.info("A regular node XBX1 - using the padding",n.id,"parent",n.parentId,n.width,n.height,n.x,n.y,"offsetY",n.offsetY,"parent",e,e?.offsetY,n),(0,i.aH)(n)}})),t.edges().forEach(function(e){let i=t.edge(e);d.cM.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(i),i),i.points.forEach(e=>e.y+=m/2);let a=t.node(e.v);var c=t.node(e.w);let s=(0,r.QP)(w,i,h,n,a,c,o);(0,r.Jj)(i,s)}),t.nodes().forEach(function(e){let n=t.node(e);d.cM.info(e,n.type,n.diff),n.isGroup&&(X=n.diff)}),d.cM.warn("Returning from recursive render XAX",u,X),{elem:u,diff:X}},"recursiveRender"),D=(0,d.eW)(async(e,t)=>{let n=new f.k({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.config?.flowchart?.nodeSpacing||e.nodeSpacing,ranksep:e.config?.rankSpacing||e.config?.flowchart?.rankSpacing||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),a=t.select("g");(0,r.DQ)(a,e.markers,e.type,e.diagramId),(0,i.gU)(),(0,r.ZH)(),(0,i.ZH)(),w(),e.nodes.forEach(e=>{n.setNode(e.id,{...e}),e.parentId&&n.setParent(e.id,e.parentId)}),d.cM.debug("Edges:",e.edges),e.edges.forEach(e=>{if(e.start===e.end){let t=e.start,r=t+"---"+t+"---1",i=t+"---"+t+"---2",a=n.node(t);n.setNode(r,{domId:r,id:r,parentId:a.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),n.setParent(r,a.parentId),n.setNode(i,{domId:i,id:i,parentId:a.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),n.setParent(i,a.parentId);let d=structuredClone(e),c=structuredClone(e),o=structuredClone(e);d.label="",d.arrowTypeEnd="none",d.id=t+"-cyclic-special-1",c.arrowTypeEnd="none",c.id=t+"-cyclic-special-mid",o.label="",a.isGroup&&(d.fromCluster=t,o.toCluster=t),o.id=t+"-cyclic-special-2",n.setEdge(t,r,d,t+"-cyclic-special-0"),n.setEdge(r,i,c,t+"-cyclic-special-1"),n.setEdge(i,t,o,t+"-cycH});var i=n("5995"),r=n("27818");function s(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}function o(t){return t.target.depth}function l(t,e){return t.sourceLinks.length?t.depth:e-1}function h(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let i=-1;for(let r of t)(r=+e(r,++i,t))&&(n+=r)}return n}function a(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n=r)&&(n=r)}return n}function c(t){return function(){return t}}function u(t,e){return y(t.source,e.source)||t.index-e.index}function f(t,e){return y(t.target,e.target)||t.index-e.index}function y(t,e){return t.y0-e.y0}function p(t){return t.value}function d(t){return t.index}function g(t){return t.nodes}function _(t){return t.links}function x(t,e){let n=t.get(e);if(!n)throw Error("missing: "+e);return n}function m({nodes:t}){for(let e of t){let t=e.y0,n=t;for(let n of e.sourceLinks)n.y0=t+n.width/2,t+=n.width;for(let t of e.targetLinks)t.y1=n+t.width/2,n+=t.width}}var k=Math.PI,v=2*k,b=v-1e-6;function S(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function w(){return new S}S.prototype=w.prototype={constructor:S,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,s){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+s)},arcTo:function(t,e,n,i,r){t=+t,e=+e,n=+n,i=+i,r=+r;var s=this._x1,o=this._y1,l=n-t,h=i-e,a=s-t,c=o-e,u=a*a+c*c;if(r<0)throw Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(u>1e-6){if(Math.abs(c*l-h*a)>1e-6&&r){var f=n-s,y=i-o,p=l*l+h*h,d=Math.sqrt(p),g=Math.sqrt(u),_=r*Math.tan((k-Math.acos((p+u-(f*f+y*y))/(2*d*g)))/2),x=_/g,m=_/d;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*a)+","+(e+x*c)),this._+="A"+r+","+r+",0,0,"+ +(c*f>a*y)+","+(this._x1=t+m*l)+","+(this._y1=e+m*h)}else this._+="L"+(this._x1=t)+","+(this._y1=e)}else;},arc:function(t,e,n,i,r,s){t=+t,e=+e,n=+n,s=!!s;var o=n*Math.cos(i),l=n*Math.sin(i),h=t+o,a=e+l,c=1^s,u=s?i-r:r-i;if(n<0)throw Error("negative radius: "+n);null===this._x1?this._+="M"+h+","+a:(Math.abs(this._x1-h)>1e-6||Math.abs(this._y1-a)>1e-6)&&(this._+="L"+h+","+a),n&&(u<0&&(u=u%v+v),u>b?this._+="A"+n+","+n+",0,1,"+c+","+(t-o)+","+(e-l)+"A"+n+","+n+",0,1,"+c+","+(this._x1=h)+","+(this._y1=a):u>1e-6&&(this._+="A"+n+","+n+",0,"+ +(u>=k)+","+c+","+(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 E=Array.prototype.slice;function W(t){return function(){return t}}function A(t){return t[0]}function L(t){return t[1]}function M(t){return t.source}function I(t){return t.target}function T(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e=(e+i)/2,n,e,r,i,r)}function P(t){return[t.source.x1,t.y0]}function C(t){return[t.target.x0,t.y1]}var N=function(){var t=(0,i.eW)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[1,9],n=[1,10],r=[1,5,10,12],s={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:(0,i.eW)(function(t,e,n,i,r,s,o){var l=s.length-1;switch(r){case 7:let h=i.findOrCreateNode(s[l-4].trim().replaceAll('""','"')),a=i.findOrCreateNode(s[l-2].trim().replaceAll('""','"')),c=parseFloat(s[l].trim());i.addLink(h,a,c);break;case 8:case 9:case 11:this.$=s[l];break;case 10:this.$=s[l-1]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:n},{1:[2,6],7:11,10:[1,12]},t(n,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(r,[2,8]),t(r,[2,9]),{19:[1,16]},t(r,[2,11]),{1:[2,1]},{1:[2,5]},t(n,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:n},{15:18,16:7,17:8,18:e,20:n},{18:[1,19]},t(n,[2,3]),{12:[1,20]},t(r,[2,10]),{15:21,16:7,17:8,18:e,20:n},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:(0,i.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,i.eW)(function(t){var e=this,n=[0],r=[],s=[null],o=[],l=this.table,h="",a=0,c=0,u=0,f=o.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(p.yy[d]=this.yy[d]);y.setInput(t,p.yy),p.yy.lexer=y,p.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;o.push(g);var _=y.options&&y.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(){var t;return"number"!=typeof(t=r.pop()||y.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,i.eW)(function(t){n.length=n.length-2*t,s.length=s.length-t,o.length=o.length-t},"popStack"),(0,i.eW)(x,"lex");for(var m,k,v,b,S,w,E,W,A,L={};;){if(v=n[n.length-1],this.defaultActions[v]?b=this.defaultActions[v]:(null==m&&(m=x()),b=l[v]&&l[v][m]),void 0===b||!b.length||!b[0]){var M="";for(w in A=[],l[v])this.terminals_[w]&&w>2&&A.push("'"+this.terminals_[w]+"'");M=y.showPosition?"Parse error on line "+(a+1)+":\n"+y.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(M,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:g,expected:A})}if(b[0]instanceof Array&&b.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(b[0]){case 1:n.push(m),s.push(y.yytext),o.push(y.yylloc),n.push(b[1]),m=null,k?(m=k,k=null):(c=y.yyleng,h=y.yytext,a=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(E=this.productions_[b[1]][1],L.$=s[s.length-E],L._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},_&&(L._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),void 0!==(S=this.performAction.apply(L,[h,c,a,p.yy,b[1],s,o].concat(f))))return S;E&&(n=n.slice(0,-1*E*2),s=s.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[b[1]][0]),s.push(L.$),o.push(L._$),W=l[n[n.length-2]][n[n.length-1]],n.push(W);break;case 3:return!0}}return!0},"parse")},o={EOF:1,parseError:(0,i.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,i.eW)(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},"setInput"),input:(0,i.eW)(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},"input"),unput:(0,i.eW)(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},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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})},"reject"),less:(0,i.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,i.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.eW)(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,"")},"upcomingInput"),showPosition:(0,i.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,i.eW)(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 s in r)this[s]=r[s];return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,n,i,r=this._currentRules(),s=0;se[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[i]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,i.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,i.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(t,e,n,i){switch(n){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};function l(){this.yy={}}return s.lexer=o,(0,i.eW)(l,"Parser"),l.prototype=s,s.Parser=l,new l}();N.parser=N;var O=[],$=[],D=new Map,j=(0,i.eW)(()=>{O=[],$=[],D=new Map,(0,i.ZH)()},"clear"),z=class{constructor(t,e,n=0){this.source=t,this.target=e,this.value=n}static{(0,i.eW)(this,"SankeyLink")}},F=(0,i.eW)((t,e,n)=>{O.push(new z(t,e,n))},"addLink"),U=class{constructor(t){this.ID=t}static{(0,i.eW)(this,"SankeyNode")}},Y=(0,i.eW)(t=>{t=i.SY.sanitizeText(t,(0,i.nV)());let e=D.get(t);return void 0===e&&(e=new U(t),D.set(t,e),$.push(e)),e},"findOrCreateNode"),V=(0,i.eW)(()=>$,"getNodes"),G=(0,i.eW)(()=>O,"getLinks"),K=(0,i.eW)(()=>({nodes:$.map(t=>({id:t.ID})),links:O.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),X={nodesMap:D,getConfig:(0,i.eW)(()=>(0,i.nV)().sankey,"getConfig"),getNodes:V,getLinks:G,getGraph:K,addLink:F,findOrCreateNode:Y,getAccTitle:i.eu,setAccTitle:i.GN,getAccDescription:i.Mx,setAccDescription:i.U$,getDiagramTitle:i.Kr,setDiagramTitle:i.g2,clear:j},q=class t{static{(0,i.eW)(this,"Uid")}static{this.count=0}static next(e){return new t(e+ ++t.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}},Q={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?s(t.sourceLinks,o)-1:0},justify:l},R=(0,i.eW)(function(t,e,n,o){let k,v;let{securityLevel:b,sankey:S}=(0,i.nV)(),N=i.Fy.sankey;"sandbox"===b&&(k=(0,r.Ys)("#i"+e));let O="sandbox"===b?(0,r.Ys)(k.nodes()[0].contentDocument.body):(0,r.Ys)("body"),$="sandbox"===b?O.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`),D=S?.width??N.width,j=S?.height??N.width,z=S?.useMaxWidth??N.useMaxWidth,F=S?.nodeAlignment??N.nodeAlignment,U=S?.prefix??N.prefix,Y=S?.suffix??N.suffix,V=S?.showValues??N.showValues,G=o.db.getGraph(),K=Q[F];(function(){let t,e,n=0,i=0,r=1,o=1,k=24,v=8,b,S=d,w=l,E=g,W=_,A=6;function L(){let l={nodes:E.apply(null,arguments),links:W.apply(null,arguments)};return function({nodes:t,links:n}){for(let[e,n]of t.entries())n.index=e,n.sourceLinks=[],n.targetLinks=[];let i=new Map(t.map((e,n)=>[S(e,n,t),e]));for(let[t,e]of n.entries()){e.index=t;let{source:n,target:r}=e;"object"!=typeof n&&(n=e.source=x(i,n)),"object"!=typeof r&&(r=e.target=x(i,r)),n.sourceLinks.push(e),r.targetLinks.push(e)}if(null!=e)for(let{sourceLinks:n,targetLinks:i}of t)n.sort(e),i.sort(e)}(l),function({nodes:t}){for(let e of t)e.value=void 0===e.fixedValue?Math.max(h(e.sourceLinks,p),h(e.targetLinks,p)):e.fixedValue}(l),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{target:e}of(t.depth=r,t.sourceLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(l),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{source:e}of(t.height=r,t.targetLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(l),function(l){let c=function({nodes:e}){let i=a(e,t=>t.depth)+1,s=(r-n-k)/(i-1),o=Array(i);for(let t of e){let e=Math.max(0,Math.min(i-1,Math.floor(w.call(null,t,i))));t.layer=e,t.x0=n+e*s,t.x1=t.x0+k,o[e]?o[e].push(t):o[e]=[t]}if(t)for(let e of o)e.sort(t);return o}(l);b=Math.min(v,(o-i)/(a(c,t=>t.length)-1)),!function(t){let n=s(t,t=>(o-i-(t.length-1)*b)/h(t,p));for(let r of t){let t=i;for(let e of r)for(let i of(e.y0=t,e.y1=t+e.value*n,t=e.y1+b,e.sourceLinks))i.width=i.value*n;t=(o-t+b)/(r.length+1);for(let e=0;e=0;--s){let r=e[s];for(let t of r){let e=0,i=0;for(let{target:n,value:r}of t.sourceLinks){let s=r*(n.layer-t.layer);e+=function(t,e){let n=e.y0-(e.targetLinks.length-1)*b/2;for(let{source:i,width:r}of e.targetLinks){if(i===t)break;n+=r+b}for(let{target:i,width:r}of t.sourceLinks){if(i===e)break;n-=r}return n}(t,n)*s,i+=s}if(!(i>0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,P(t)}void 0===t&&r.sort(y),M(r,i)}})(c,n,i),function(e,n,i){for(let r=1,s=e.length;r0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,P(t)}void 0===t&&s.sort(y),M(s,i)}}(c,n,i)}}(l),m(l),l}L.update=function(t){return m(t),t},L.nodeId=function(t){return arguments.length?(S="function"==typeof t?t:c(t),L):S},L.nodeAlign=function(t){return arguments.length?(w="function"==typeof t?t:c(t),L):w},L.nodeSort=function(e){return arguments.length?(t=e,L):t},L.nodeWidth=function(t){return arguments.length?(k=+t,L):k},L.nodePadding=function(t){return arguments.length?(v=b=+t,L):v},L.nodes=function(t){return arguments.length?(E="function"==typeof t?t:c(t),L):E},L.links=function(t){return arguments.length?(W="function"==typeof t?t:c(t),L):W},L.linkSort=function(t){return arguments.length?(e=t,L):e},L.size=function(t){return arguments.length?(n=i=0,r=+t[0],o=+t[1],L):[r-n,o-i]},L.extent=function(t){return arguments.length?(n=+t[0][0],r=+t[1][0],i=+t[0][1],o=+t[1][1],L):[[n,i],[r,o]]},L.iterations=function(t){return arguments.length?(A=+t,L):A};function M(t,e){let n=t.length>>1,r=t[n];T(t,r.y0-b,n-1,e),I(t,r.y1+b,n+1,e),T(t,o,t.length-1,e),I(t,i,0,e)}function I(t,e,n,i){for(;n1e-6&&(r.y0+=s,r.y1+=s),e=r.y1+b}}function T(t,e,n,i){for(;n>=0;--n){let r=t[n],s=(r.y1-e)*i;s>1e-6&&(r.y0-=s,r.y1-=s),e=r.y0-b}}function P({sourceLinks:t,targetLinks:n}){if(void 0===e){for(let{source:{sourceLinks:t}}of n)t.sort(f);for(let{target:{targetLinks:e}}of t)e.sort(u)}}return L})().nodeId(t=>t.id).nodeWidth(10).nodePadding(10+(V?15:0)).nodeAlign(K).extent([[0,0],[D,j]])(G);let X=(0,r.PKp)(r.K2I);$.append("g").attr("class","nodes").selectAll(".node").data(G.nodes).join("g").attr("class","node").attr("id",t=>(t.uid=q.next("node-")).id).attr("transform",function(t){return"translate("+t.x0+","+t.y0+")"}).attr("x",t=>t.x0).attr("y",t=>t.y0).append("rect").attr("height",t=>t.y1-t.y0).attr("width",t=>t.x1-t.x0).attr("fill",t=>X(t.id));let R=(0,i.eW)(({id:t,value:e})=>V?`${t} +${U}${Math.round(100*e)/100}${Y}`:t,"getText");$.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(G.nodes).join("text").attr("x",t=>t.x0(t.y1+t.y0)/2).attr("dy",`${V?"0":"0.35"}em`).attr("text-anchor",t=>t.x0(t.uid=q.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",t=>t.source.x1).attr("x2",t=>t.target.x0);t.append("stop").attr("offset","0%").attr("stop-color",t=>X(t.source.id)),t.append("stop").attr("offset","100%").attr("stop-color",t=>X(t.target.id))}switch(B){case"gradient":v=(0,i.eW)(t=>t.uid,"coloring");break;case"source":v=(0,i.eW)(t=>X(t.source.id),"coloring");break;case"target":v=(0,i.eW)(t=>X(t.target.id),"coloring");break;default:v=B}Z.append("path").attr("d",(function(t){var e=M,n=I,i=A,r=L,s=null;function o(){var o,l=E.call(arguments),h=e.apply(this,l),a=n.apply(this,l);if(!s&&(s=o=w()),t(s,+i.apply(this,(l[0]=h,l)),+r.apply(this,l),+i.apply(this,(l[0]=a,l)),+r.apply(this,l)),o)return s=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(i="function"==typeof t?t:W(+t),o):i},o.y=function(t){return arguments.length?(r="function"==typeof t?t:W(+t),o):r},o.context=function(t){return arguments.length?(s=null==t?null:t,o):s},o})(T).source(P).target(C)).attr("stroke",v).attr("stroke-width",t=>Math.max(1,t.width)),(0,i.j7)(void 0,$,0,z)},"draw"),Z=(0,i.eW)(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim(),"prepareTextForParsing"),B=N.parse.bind(N);N.parse=t=>B(Z(t));var H={parser:N,db:X,renderer:{draw:R}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/5823.0f393977.js b/pr-preview/pr-5/assets/js/5823.0f393977.js new file mode 100644 index 0000000..16b25c6 --- /dev/null +++ b/pr-preview/pr-5/assets/js/5823.0f393977.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5823"],{94641:function(n,t,r){r.d(t,{Z:()=>o});var e=r("79401");function u(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new e.Z;++t-1}},46592:function(n,t,r){r.d(t,{Z:function(){return e}});let e=function(n,t,r){for(var e=-1,u=null==n?0:n.length;++eR});var e=r("11395"),u=r("29227"),o=r("89774"),c=r("29919"),i=r("87074"),f=r("40038"),a=r("49307"),l=r("76177"),Z=r("524"),v=r("6630"),s=r("91095"),b=r("78982"),d=r("23302"),j=Object.prototype.hasOwnProperty;let p=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&j.call(n,"index")&&(r.index=n.index,r.input=n.input),r};var h=r("21914");let y=function(n,t){var r=t?(0,h.Z)(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)};var g=/\w*$/;let w=function(n){var t=new n.constructor(n.source,g.exec(n));return t.lastIndex=n.lastIndex,t};var A=r("3958"),_=A.Z?A.Z.prototype:void 0,O=_?_.valueOf:void 0,m=r("32025");let S=function(n,t,r){var e,u=n.constructor;switch(t){case"[object ArrayBuffer]":return(0,h.Z)(n);case"[object Boolean]":case"[object Date]":return new u(+n);case"[object DataView]":return y(n,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,m.Z)(n,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(n);case"[object RegExp]":return w(n);case"[object Symbol]":;return e=n,O?Object(O.call(e)):{}}};var k=r("62799"),E=r("31739"),x=r("25162"),I=r("75887"),U=r("44026"),B=r("74413"),C=B.Z&&B.Z.isMap,D=C?(0,U.Z)(C):function(n){return(0,I.Z)(n)&&"[object Map]"==(0,d.Z)(n)},F=r("58641"),M=B.Z&&B.Z.isSet,z=M?(0,U.Z)(M):function(n){return(0,I.Z)(n)&&"[object Set]"==(0,d.Z)(n)},L="[object Arguments]",P="[object Function]",$="[object Object]",N={};N[L]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[$]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[P]=N["[object WeakMap]"]=!1;let R=function n(t,r,j,h,y,g){var w,A=1&r,_=2&r,O=4&r;if(j&&(w=y?j(t,h,y,g):j(t)),void 0!==w)return w;if(!(0,F.Z)(t))return t;var m=(0,E.Z)(t);if(m){if(w=p(t),!A)return(0,l.Z)(t,w)}else{var I,U,B,C,M,R,V,G,W=(0,d.Z)(t),q=W==P||"[object GeneratorFunction]"==W;if((0,x.Z)(t))return(0,a.Z)(t,A);if(W==$||W==L||q&&!y){if(w=_||q?{}:(0,k.Z)(t),!A){;return _?(B=t,C=(I=w,U=t,I&&(0,c.Z)(U,(0,f.Z)(U),I)),(0,c.Z)(B,(0,v.Z)(B),C)):(V=t,G=(M=w,R=t,M&&(0,c.Z)(R,(0,i.Z)(R),M)),(0,c.Z)(V,(0,Z.Z)(V),G))}}else{if(!N[W])return y?t:{};w=S(t,W,A)}}g||(g=new e.Z);var H=g.get(t);if(H)return H;g.set(t,w),z(t)?t.forEach(function(e){w.add(n(e,r,j,e,t,g))}):D(t)&&t.forEach(function(e,u){w.set(u,n(e,r,j,u,t,g))});var J=O?_?b.Z:s.Z:_?f.Z:i.Z,K=m?void 0:J(t);return(0,u.Z)(K||t,function(e,u){K&&(e=t[u=e]),(0,o.Z)(w,u,n(e,r,j,u,t,g))}),w}},20869:function(n,t,r){r.d(t,{Z:()=>i});var e,u,o=r("50929"),c=r("71581");let i=(e=o.Z,function(n,t){if(null==n)return n;if(!(0,c.Z)(n))return e(n,t);for(var r=n.length,o=-1,i=Object(n);(u?o--:++oa});var e=r("293"),u=r("3958"),o=r("45988"),c=r("31739"),i=u.Z?u.Z.isConcatSpreadable:void 0;let f=function(n){return(0,c.Z)(n)||(0,o.Z)(n)||!!(i&&n&&n[i])},a=function n(t,r,u,o,c){var i=-1,a=t.length;for(u||(u=f),c||(c=[]);++i0&&u(l)?r>1?n(l,r-1,u,o,c):(0,e.Z)(c,l):!o&&(c[c.length]=l)}return c}},50929:function(n,t,r){r.d(t,{Z:function(){return o}});var e=r(45467),u=r(87074);let o=function(n,t){return n&&(0,e.Z)(n,t,u.Z)}},73722:function(n,t,r){r.d(t,{Z:function(){return o}});var e=r(50949),u=r(37706);let o=function(n,t){t=(0,e.Z)(t,n);for(var r=0,o=t.length;null!=n&&rc});var e=r("81208");let u=function(n){return n!=n},o=function(n,t,r){for(var e=r-1,u=n.length;++eW});var e=r("11395"),u=r("94641"),o=r("93130"),c=r("99976");let i=function(n,t,r,e,i,f){var a=1&r,l=n.length,Z=t.length;if(l!=Z&&!(a&&Z>l))return!1;var v=f.get(n),s=f.get(t);if(v&&s)return v==t&&s==n;var b=-1,d=!0,j=2&r?new u.Z:void 0;for(f.set(n,t),f.set(t,n);++bZ});var e=r("94641"),u=r("37479"),o=r("46592"),c=r("99976"),i=r("88521"),f=r("6446"),a=r("92840"),l=i.Z&&1/(0,a.Z)(new i.Z([,-0]))[1]==1/0?function(n){return new i.Z(n)}:f.Z;let Z=function(n,t,r){var i=-1,f=u.Z,Z=n.length,v=!0,s=[],b=s;if(r)v=!1,f=o.Z;else if(Z>=200){var d=t?null:l(n);if(d)return(0,a.Z)(d);v=!1,f=c.Z,b=new e.Z}else b=t?[]:s;n:for(;++is});var e,u,o,c=r("31739"),i=r("46699"),f=r("65269"),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g;var Z=(e=function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(a,function(n,r,e,u){t.push(e?u.replace(l,"$1"):r||n)}),t},o=(u=(0,f.Z)(e,function(n){return 500===o.size&&o.clear(),n})).cache,u),v=r("22501");let s=function(n,t){return(0,c.Z)(n)?n:(0,i.Z)(n,t)?[n]:Z((0,v.Z)(n))}},91095:function(n,t,r){r.d(t,{Z:function(){return c}});var e=r(78467),u=r(524),o=r(87074);let c=function(n){return(0,e.Z)(n,o.Z,u.Z)}},78982:function(n,t,r){r.d(t,{Z:function(){return c}});var e=r(78467),u=r(6630),o=r(40038);let c=function(n){return(0,e.Z)(n,o.Z,u.Z)}},524:function(n,t,r){r.d(t,{Z:function(){return i}});var e=r(87276),u=r(27e3),o=Object.prototype.propertyIsEnumerable,c=Object.getOwnPropertySymbols;let i=c?function(n){return null==n?[]:(n=Object(n),(0,e.Z)(c(n),function(t){return o.call(n,t)}))}:u.Z},6630:function(n,t,r){r.d(t,{Z:function(){return i}});var e=r(293),u=r(53754),o=r(524),c=r(27e3);let i=Object.getOwnPropertySymbols?function(n){for(var t=[];n;)(0,e.Z)(t,(0,o.Z)(n)),n=(0,u.Z)(n);return t}:c.Z},87825:function(n,t,r){r.d(t,{Z:function(){return a}});var e=r(50949),u=r(45988),o=r(31739),c=r(92383),i=r(49666),f=r(37706);let a=function(n,t,r){t=(0,e.Z)(t,n);for(var a=-1,l=t.length,Z=!1;++ao});let e=function(n,t){return null!=n&&t in Object(n)};var u=r("87825");let o=function(n,t){return null!=n&&(0,u.Z)(n,t,e)}},2147:function(n,t,r){r.d(t,{Z:function(){return o}});var e=r(65182),u=r(75887);let o=function(n){return"symbol"==typeof n||(0,u.Z)(n)&&"[object Symbol]"==(0,e.Z)(n)}},61925:function(n,t,r){r.d(t,{Z:function(){return e}});let e=function(n){return void 0===n}},87074:function(n,t,r){r.d(t,{Z:function(){return c}});var e=r(12895),u=r(22769),o=r(71581);let c=function(n){return(0,o.Z)(n)?(0,e.Z)(n):(0,u.Z)(n)}},6446:function(n,t,r){r.d(t,{Z:function(){return e}});let e=function(){}},81748:function(n,t,r){r.d(t,{Z:()=>f});let e=function(n,t,r,e){var u=-1,o=null==n?0:n.length;for(e&&o&&(r=n[++u]);++uZ});var e=r("3958"),u=r("96248"),o=r("31739"),c=r("2147"),i=1/0,f=e.Z?e.Z.prototype:void 0,a=f?f.toString:void 0;let l=function n(t){if("string"==typeof t)return t;if((0,o.Z)(t))return(0,u.Z)(t,n)+"";if((0,c.Z)(t))return a?a.call(t):"";var r=t+"";return"0"==r&&1/t==-i?"-0":r},Z=function(n){return null==n?"":l(n)}},96433:function(n,t,r){r.d(t,{Z:()=>o});var e=r("96248"),u=r("87074");let o=function(n){var t,r;return null==n?[]:(t=n,r=(0,u.Z)(n),(0,e.Z)(r,function(n){return t[n]}))}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/5e95c892.ab8a9d20.js b/pr-preview/pr-5/assets/js/5e95c892.ab8a9d20.js new file mode 100644 index 0000000..f3a4c06 --- /dev/null +++ b/pr-preview/pr-5/assets/js/5e95c892.ab8a9d20.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3432"],{71359:function(e,r,n){n.r(r),n.d(r,{default:function(){return p}});var s=n(85893);n(67294);var u=n(67026),c=n(14713),t=n(84681),a=n(18790),i=n(37647);function p(e){return(0,s.jsx)(c.FG,{className:(0,u.Z)(t.k.wrapper.docsPages),children:(0,s.jsx)(i.Z,{children:(0,a.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/6059.ef52e876.js b/pr-preview/pr-5/assets/js/6059.ef52e876.js new file mode 100644 index 0000000..b8030d9 --- /dev/null +++ b/pr-preview/pr-5/assets/js/6059.ef52e876.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6059"],{29050:function(r,e,s){s.d(e,{diagram:function(){return l}});var a=s(91040);s(10626),s(88984),s(33071),s(28162),s(16302),s(80587),s(4511),s(92719),s(7690);var n=s(5995),l={parser:a.P0,db:a.pl,renderer:a.b0,styles:a.Ee,init:(0,n.eW)(r=>{!r.class&&(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.pl.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/6211.d8de6fc9.js b/pr-preview/pr-5/assets/js/6211.d8de6fc9.js new file mode 100644 index 0000000..b2332d5 --- /dev/null +++ b/pr-preview/pr-5/assets/js/6211.d8de6fc9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6211"],{58446:function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{!o&&null!=n.return&&n.return()}finally{if(s)throw a}}}}var d,p,f,g,v,y,b="undefined"==typeof window?null:window,x=b?b.navigator:null;b&&b.document;var w=r(""),E=r({}),k=r(function(){}),C="undefined"==typeof HTMLElement?"undefined":r(HTMLElement),S=function(e){return e&&e.instanceString&&T(e.instanceString)?e.instanceString():null},D=function(e){return null!=e&&r(e)==w},T=function(e){return null!=e&&r(e)===k},P=function(e){return!A(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},_=function(e){return null!=e&&r(e)===E&&!P(e)&&e.constructor===Object},M=function(e){return null!=e&&r(e)===r(1)&&!isNaN(e)},B=function(e){if("undefined"!==C)return null!=e&&e instanceof HTMLElement},A=function(e){return N(e)||I(e)},N=function(e){return"collection"===S(e)&&e._private.single},I=function(e){return"collection"===S(e)&&!e._private.single},O=function(e){return"core"===S(e)},R=function(e){return"stylesheet"===S(e)},L=function(e){return null==e||!!(""===e||e.match(/^\s+$/))||!1},z=function(e){var t;return null!=(t=e)&&r(t)===E&&T(e.then)},V=function(e,t){!t&&(t=function(){if(1==arguments.length)return arguments[0];if(0==arguments.length)return"undefined";for(var e=[],t=0;tt?1:0},Z=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n,r,i,a,o,s,l,u,c=RegExp("^"+G+"$").exec(e);if(c){if((r=parseInt(c[1]))<0?r=(360- -1*r%360)%360:r>360&&(r%=360),r/=360,(i=parseFloat(c[2]))<0||i>100)return;if(i/=100,(a=parseFloat(c[3]))<0||a>100)return;if(a/=100,void 0!==(o=c[4])&&((o=parseFloat(o))<0||o>1))return;if(0===i)s=l=u=Math.round(255*a);else{var h=a<.5?a*(1+i):a+i-a*i,d=2*a-h;s=Math.round(255*t(d,h,r+1/3)),l=Math.round(255*t(d,h,r)),u=Math.round(255*t(d,h,r-1/3))}n=[s,l,u,o]}return n},J=function(e){var t,n=RegExp("^"+W+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var a=n[i];if("%"===a[a.length-1]&&(r[i]=!0),a=parseFloat(a),r[i]&&(a=a/100*255),a<0||a>255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},ee=function(e){return(P(e)?e:null)||et[e.toLowerCase()]||$(e)||J(e)||Q(e)},et={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]},en=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&r>=a}function g(){var e,n,r,i,o=eu();if(f(o))return v(o);s=setTimeout(g,(n=(e=o)-l,r=e-u,i=t-n,h?eM(i,a-r):i))}function v(e){return(s=void 0,d&&r)?p(e):(r=i=void 0,o)}function y(){var e,n=eu(),a=f(n);if(r=arguments,i=this,l=n,a){if(void 0===s){;return u=e=l,s=setTimeout(g,t),c?p(e):o}if(h)return clearTimeout(s),s=setTimeout(g,t),p(l)}return void 0===s&&(s=setTimeout(g,t)),o}return y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v(eu())},y},eA=b?b.performance:null,eN=eA&&eA.now?function(){return eA.now()}:function(){return Date.now()},eI=function(){if(b){if(b.requestAnimationFrame)return function(e){b.requestAnimationFrame(e)};if(b.mozRequestAnimationFrame)return function(e){b.mozRequestAnimationFrame(e)};else if(b.webkitRequestAnimationFrame)return function(e){b.webkitRequestAnimationFrame(e)};else if(b.msRequestAnimationFrame)return function(e){b.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout(function(){e(eN())},1e3/60)}}(),eO=function(e){return eI(e)},eR=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261,r=n;!(t=e.next()).done;){;r=65599*r+t.value|0}return r},eL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261;return 65599*t+e|0},ez=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5381;return(t<<5)+t+e|0},eV=function(e){return 2097152*e[0]+e[1]},eF=function(e,t){return[eL(e[0],t[0]),ez(e[1],t[1])]},ej=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return eR({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},e8=function(e){e.splice(0,e.length)},e7=function(e,t){for(var n=0;n2)||void 0===arguments[2]||arguments[2];if(void 0===e||void 0===t||!O(e)){eJ("An element must have a core reference and parameters set");return}var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"!==r&&"edges"!==r){eJ("An element must be of type `nodes` or `edges`; you specified `"+r+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new ta,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];P(t.classes)?l=t.classes:D(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw Error("lo must be non-negative");for(null==a&&(a=e.length);io(t,e[s=r((i+a)/2)])?a=s:i=s+1;return[].splice.apply(e,[i,i-i].concat(t)),t},o=function(e,t,r){return null==r&&(r=n),e.push(t),f(e,0,e.length-1,r)},a=function(e,t){var r,i;return null==t&&(t=n),r=e.pop(),e.length?(i=e[0],e[0]=r,g(e,0,t)):i=r,i},l=function(e,t,r){var i;return null==r&&(r=n),i=e[0],e[0]=t,g(e,0,r),i},s=function(e,t,r){var i;return null==r&&(r=n),e.length&&0>r(e[0],t)&&(t=(i=[e[0],t])[0],e[0]=i[1],g(e,0,r)),t},i=function(e,t){var i,a,o,s,l,u;for(null==t&&(t=n),s=(function(){u=[];for(var t=0,n=r(e.length/2);0<=n?tn;0<=n?t++:t--)u.push(t);return u}).apply(this).reverse(),l=[],a=0,o=s.length;ar(o=f[h],s)&&(u(l,o,0,null,r),l.pop(),s=l[l.length-1]);return l}for(i(e,r),v=[],d=0,g=c(t,e.length);0<=g?dg;0<=g?++d:--d)v.push(a(e,r));return v},f=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t;){if(0>i(a,o=e[s=r-1>>1])){e[r]=o,r=s;continue}break}return e[r]=a},g=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;ir(e[i],e[s]))&&(i=s),e[t]=e[i],i=2*(t=i)+1;return e[t]=o,f(e,l,t,r)},t=function(){function e(e){this.cmp=null!=e?e:n,this.nodes=[]}return e.push=o,e.pop=a,e.replace=l,e.pushpop=s,e.heapify=i,e.updateItem=p,e.nlargest=h,e.nsmallest=d,e.prototype.push=function(e){return o(this.nodes,e,this.cmp)},e.prototype.pop=function(){return a(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return -1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return l(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return s(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return i(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return p(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return(t=new e).nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),v=0,y=function(){return t},e.exports=y()}).call(ea)}(oH={exports:{}},oH.exports),oH.exports),tc=e9({root:null,weight:function(e){return 1},directed:!1}),th=e9({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),td=e9({weight:function(e){return 1},directed:!1}),tp=e9({weight:function(e){return 1},directed:!1,root:null}),tf=Math.sqrt(2),tg=function(e,t,n){0===n.length&&eJ("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n.length-1;l>=0;l--){var u=n[l],c=u[1],h=u[2];(t[c]===o&&t[h]===s||t[c]===s&&t[h]===o)&&n.splice(l,1)}for(var d=0;dr;)t=tg(Math.floor(Math.random()*t.length),e,t),n--;return t},ty=function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},tm=function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},tb=function(e){return{x:e[0],y:e[1]}},tx=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];r?e=e.slice(t,n):(n0&&e.splice(0,t));for(var o=0,s=e.length-1;s>=0;s--){var l=e[s];a?!isFinite(l)&&(e[s]=-1/0,o++):e.splice(s,1)}i&&e.sort(function(e,t){return e-t});var u=e.length,c=Math.floor(u/2);return u%2!=0?e[c+1+o]:(e[c-1+o]+e[c+o])/2},tC=function(e,t){return Math.atan2(t,e)-Math.PI/2},tS=Math.log2||function(e){return Math.log(e)/Math.log(2)},tD=function(e){return e>0?1:e<0?-1:0},tT=function(e,t){return Math.sqrt(tP(e,t))},tP=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},t_=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},tO=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},tR=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},tL=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},tz=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tV=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var o=l(a,4);t=o[0],n=o[1],r=o[2],i=o[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tF=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},tj=function(e,t){return!(e.x1>t.x2)&&!(t.x1>e.x2)&&!(e.x2t.y2)&&!(t.y1>e.y2)&&!0},tq=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},tX=function(e,t){return tq(e,t.x1,t.y1)&&tq(e,t.x2,t.y2)},tY=function(e,t,n,r,i,a,o){var s,l,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"auto",c="auto"===u?nr(i,a):u,h=i/2,d=a/2,p=(c=Math.min(c,h,d))!==h,f=c!==d;if(p){var g=n-h+c-o,v=r-d-o,y=n+h-c+o;if((s=t9(e,t,n,r,g,v,y,v,!1)).length>0)return s}if(f){var b=n+h+o,x=r-d+c-o,w=r+d-c+o;if((s=t9(e,t,n,r,b,x,b,w,!1)).length>0)return s}if(p){var E=n-h+c-o,k=r+d+o,C=n+h-c+o;if((s=t9(e,t,n,r,E,k,C,k,!1)).length>0)return s}if(f){var S=n-h-o,D=r-d+c-o,T=r+d-c+o;if((s=t9(e,t,n,r,S,D,S,T,!1)).length>0)return s}var P=n-h+c,_=r-d+c;if((l=t3(e,t,n,r,P,_,c+o)).length>0&&l[0]<=P&&l[1]<=_)return[l[0],l[1]];var M=n+h-c,B=r-d+c;if((l=t3(e,t,n,r,M,B,c+o)).length>0&&l[0]>=M&&l[1]<=B)return[l[0],l[1]];var A=n+h-c,N=r+d-c;if((l=t3(e,t,n,r,A,N,c+o)).length>0&&l[0]>=A&&l[1]>=N)return[l[0],l[1]];var I=n-h+c,O=r+d-c;return(l=t3(e,t,n,r,I,O,c+o)).length>0&&l[0]<=I&&l[1]>=O?[l[0],l[1]]:[]},tW=function(e,t,n,r,i,a,o){var s=Math.min(n,i),l=Math.max(n,i),u=Math.min(r,a),c=Math.max(r,a);return s-o<=e&&e<=l+o&&u-o<=t&&t<=c+o},tH=function(e,t,n,r,i,a,o,s,l){var u={x1:Math.min(n,o,i)-l,x2:Math.max(n,o,i)+l,y1:Math.min(r,s,a)-l,y2:Math.max(r,s,a)+l};return!(eu.x2)&&!(tu.y2)&&!0},tG=function(e,t,n,r){var i=t*t-4*e*(n-=r);if(i<0)return[];var a=Math.sqrt(i),o=2*e;return[(-t+a)/o,(-t-a)/o]},tU=function(e,t,n,r,i){var a,o,s,l,u,c,h,d;if(0===e&&(e=1e-5),t/=e,n/=e,r/=e,a=(o=(3*n-t*t)/9)*o*o+(s=(-(27*r)+t*(9*n-t*t*2))/54)*s,i[1]=0,h=t/3,a>0){u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=(c=s-Math.sqrt(a))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+u+c,h+=(u+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+u)/2,i[3]=h,i[5]=-h;return}if(i[5]=i[3]=0,0===a){d=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=-h+2*d,i[4]=i[2]=-(d+h);return}l=Math.acos(s/Math.sqrt(l=(o=-o)*o*o)),d=2*Math.sqrt(o),i[0]=-h+d*Math.cos(l/3),i[2]=-h+d*Math.cos((l+2*Math.PI)/3),i[4]=-h+d*Math.cos((l+4*Math.PI)/3)},tK=function(e,t,n,r,i,a,o,s){var l,u,c=[];tU(1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s,9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,c);for(var h=[],d=0;d<6;d+=2)1e-7>Math.abs(c[d+1])&&c[d]>=0&&c[d]<=1&&h.push(c[d]);h.push(1),h.push(0);for(var p=-1,f=0;f=0?ul?(e-i)*(e-i)+(t-a)*(t-a):u-h},t$=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e)||!(e>=a))&&(!(r<=e)||!(e<=a)))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0&&!0},tQ=function(e,t,n,r,i,a,o,s,l){var u,c,h=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 d=Math.cos(-u),p=Math.sin(-u),f=0;f0?t0(t1(h,-l)):h)},tJ=function(e,t,n,r,i,a,o,s){for(var l=Array(2*n.length),u=0;u=0&&f<=1&&v.push(f),g>=0&&g<=1&&v.push(g),0===v.length)return[];var y=v[0]*s[0]+e,b=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,b]:[y,b,v[1]*s[0]+e,v[1]*s[1]+t]:[y,b]},t4=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},t9=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,f=s-a,g=h*d-f*u,v=c*d-p*u,y=f*c-h*p;if(0!==y){var b=g/y,x=v/y,w=-.001,E=1.001;return -.001<=b&&b<=E&&w<=x&&x<=E?[e+b*c,t+b*p]:l?[e+b*c,t+b*p]:[]}return 0!==g&&0!==v?[]:t4(e,n,o)===o?[o,s]:t4(e,n,i)===i?[i,a]:t4(i,o,n)===n?[n,r]:[]},t6=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,f=[],g=Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0?t0(t1(g,-s)):g}else u=n;for(var b=0;b2){for(var p=[c[0],c[1]],f=Math.pow(p[0]-e,2)+Math.pow(p[1]-t,2),g=1;gu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(y)[0]:y.edgesTo(b)[0]);h[y=y.id()]>h[g]+w&&(h[y]=h[g]+w,0>d.nodes.indexOf(y)?d.push(y):d.updateItem(y),u[y]=0,l[y]=[]),h[y]==h[g]+w&&(u[y]=u[y]+u[g],l[y].push(g))}else for(var E=0;E0;){for(var D=n.pop(),T=0;T0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i},nk=function(e,t){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:nD,s=r,l=0;l=2?nA(e,t,n,0,n_,nM):nA(e,t,n,0,nP)},squaredEuclidean:function(e,t,n){return nA(e,t,n,0,n_)},manhattan:function(e,t,n){return nA(e,t,n,0,nP)},max:function(e,t,n){return nA(e,t,n,-1/0,nB)}};function nI(e,t,n,r,i,a){var o;return(o=T(e)?e:nN[e]||nN.euclidean,0===t&&T(e))?o(i,a):o(t,n,r,i,a)}nN["squared-euclidean"]=nN.squaredEuclidean,nN.squaredeuclidean=nN.squaredEuclidean;var nO=e9({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),nR=function(e){return nO(e)},nL=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)};return nI(e,r.length,a,function(e){return r[e](t)},n,t)},nz=function(e,t,n){for(var r=n.length,i=Array(r),a=Array(r),o=Array(t),s=null,l=0;ln)return!1;return!0},nq=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var f=t[s],g=t[r[s]];o="dendrogram"===i.mode?{left:f,right:g,key:f.key}:{value:f.value.concat(g.value),key:f.key},e[f.index]=o,e.splice(g.index,1),t[f.key]=o;for(var v=0;vn[g.key][y.key]&&(a=n[g.key][y.key])):"max"===i.linkage?(a=n[f.key][y.key],n[f.key][y.key]0&&r.push(i);return r},n8=function(e,t,n){for(var r=[],i=0;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;ul&&(s=u,l=c)}n[i]=a[s]}return r=n8(e,t,n)},re=function(e){for(var t,n,r,i,a,o,s,l=this.cy(),u=this.nodes(),c=n3(e),h={},d=0;d=T?(P=T,T=M,_=B):M>P&&(P=M);for(var A=0;A0?1:0;C[s%c.minIterations*t+z]=V,L+=V}if(L>0&&(s>=c.minIterations-1||s==c.maxIterations-1)){for(var F=0,j=0;j1)}});var u=Object.keys(t).filter(function(e){return t[e].cutVertex}).map(function(t){return e.getElementById(t)});return{cut:e.spawn(u),components:i}},rr=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach(function(e){var n=e.target().id();n!==s&&(!(n in t)&&o(n),!t[n].explored&&(t[s].low=Math.min(t[s].low,t[n].low)))}),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach(function(e){if(e.isNode()){var n=e.id();!(n in t)&&o(n)}}),{cut:a,components:r}},ri={};[tl,{dijkstra:function(e){if(!_(e)){var t=arguments;e={root:t[0],weight:t[1],directed:t[2]}}var n=tc(e),r=n.root,i=n.weight,a=n.directed,o=this,s=D(r)?this.filter(r)[0]:r[0],l={},u={},c={},h=this.byGroup(),d=h.nodes,p=h.edges;p.unmergeBy(function(e){return e.isLoop()});for(var f=function(e){return l[e.id()]},g=new tu(function(e,t){return f(e)-f(t)}),v=0;v0;){var b=g.pop(),x=f(b);if(c[b.id()]=x,x!==1/0)for(var w=b.neighborhood().intersect(d),E=0;E0)for(n.unshift(t);u[i];){var a=u[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},{kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=Array(i),o=function(e){for(var t=0;t0;){if(n=(t=g.pop()).id(),v.delete(n),w++,n===h){for(var E=[],k=o,C=h,S=b[C];E.unshift(k),null!=S&&E.unshift(S),null!=(k=y[C]);){;S=b[C=k.id()]}return{found:!0,distance:d[n],path:this.spawn(E),steps:w}}f[n]=!0;for(var D=t._private.edges,T=0;TS&&(d[C]=S,g[C]=k,v[C]=b),!i){var T=k*l+E;!i&&d[T]>S&&(d[T]=S,g[T]=E,v[T]=b)}}}for(var P=0;P1&&void 0!==arguments[1]?arguments[1]:a,r=y(e),i=[],s=r;;){if(null==s)return t.spawn();var l=v(s),u=l.edge,c=l.pred;if(i.unshift(s[0]),s.same(n)&&i.length>0)break;null!=u&&i.unshift(u),s=c}return o.spawn(i)},hasNegativeWeightCycle:p,negativeWeightCycles:f}}},{kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy(function(e){return e.isLoop()});var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/tf);if(i<2){eJ("At least 2 nodes are required for Karger-Stein algorithm");return}for(var l=[],u=0;u1||o>1)&&(l=!0),u[r]=[],e.outgoers().forEach(function(e){e.isEdge()&&u[r].push(e.id())})}else c[r]=[void 0,e.target().id()]}):this.forEach(function(e){var r=e.id();e.isNode()?(e.degree(!0)%2&&(t?n?l=!0:n=r:t=r),u[r]=[],e.connectedEdges().forEach(function(e){return u[r].push(e.id())})):c[r]=[e.source().id(),e.target().id()]});var h={found:!1,trail:void 0};if(l)return h;if(n&&t){if(s){if(r&&n!=r)return h;r=n}else{if(r&&n!=r&&t!=r)return h;!r&&(r=n)}}else!r&&(r=this[0].id());var d=function(e){for(var t,n,r,i=e,a=[e];u[i].length;)n=c[t=u[i].shift()][0],i!=(r=c[t][1])?(u[r]=u[r].filter(function(e){return e!=t}),i=r):!s&&i!=n&&(u[n]=u[n].filter(function(e){return e!=t}),i=n),a.unshift(t),a.unshift(i);return a},p=[],f=[];for(f=d(r);1!=f.length;)0==u[f[0]].length?(p.unshift(this.getElementById(f.shift())),p.unshift(this.getElementById(f.shift()))):f=d(f.shift()).concat(f);for(var g in p.unshift(this.getElementById(f.shift())),u)if(u[g].length)return h;return h.found=!0,h.trail=this.spawn(p,!0),h}},{hopcroftTarjanBiconnected:rn,htbc:rn,htb:rn,hopcroftTarjanBiconnectedComponents:rn},{tarjanStronglyConnected:rr,tsc:rr,tscc:rr,tarjanStronglyConnectedComponents:rr}].forEach(function(e){Z(ri,e)});var ra=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};ra.prototype={fulfill:function(e){return ro(this,1,"fulfillValue",e)},reject:function(e){return ro(this,2,"rejectReason",e)},then:function(e,t){var n=new ra;return this.onFulfilled.push(ru(e,n,"fulfill")),this.onRejected.push(ru(t,n,"reject")),rs(this),n.proxy}};var ro=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,rs(e)),e},rs=function(e){1===e.state?rl(e,"onFulfilled",e.fulfillValue):2===e.state&&rl(e,"onRejected",e.rejectReason)},rl=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e-1},rL.prototype.set=function(e,t){var n=this.__data__,r=rO(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var rz=r_(el,"Map"),rV=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},rF=function(e,t){var n=e.__data__;return rV(t)?n["string"==typeof t?"string":"hash"]:n.map};function rj(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t0&&this.spawn(n).updateStyle().emit("class"),this},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){!P(e)&&(e=e.match(/\S+/g)||[]);for(var n=void 0===t,r=[],i=0,a=this.length;i0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},t),n}};ii.className=ii.classNames=ii.classes;var ia={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:Y,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};ia.variable="(?:[\\w-.]|(?:\\\\"+ia.metaChar+"))+",ia.className="(?:[\\w-]|(?:\\\\"+ia.metaChar+"))+",ia.value=ia.string+"|"+ia.number,ia.id=ia.variable,!function(){var e,t,n;for(n=0,e=ia.comparatorOp.split("|");n=0)&&"="!==t)ia.comparatorOp+="|\\!"+t}}();var io=function(){return{checks:[]}},is={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},il=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(e,t){var n;return n=e.selector,-1*K(n,t.selector)}),iu=function(){for(var e,t={},n=0;n=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0&&l.edgeCount>0)return e1("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(l.edgeCount>1)return e1("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===l.edgeCount&&e1("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return D(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(r,a){var o=r.type,s=r.value;switch(o){case is.GROUP:var l=e(s);return l.substring(0,l.length-1);case is.DATA_COMPARE:return"["+r.field+n(e(r.operator))+t(s)+"]";case is.DATA_BOOL:var u=r.operator,c=r.field;return"["+e(u)+c+"]";case is.DATA_EXIST:return"["+r.field+"]";case is.META_COMPARE:var h=r.operator;return"[["+r.field+n(e(h))+t(s)+"]]";case is.STATE:return s;case is.ID:return"#"+s;case is.CLASS:return"."+s;case is.PARENT:case is.CHILD:return i(r.parent,a)+n(">")+i(r.child,a);case is.ANCESTOR:case is.DESCENDANT:return i(r.ancestor,a)+" "+i(r.descendant,a);case is.COMPOUND_SPLIT:var d=i(r.left,a),p=i(r.subject,a),f=i(r.right,a);return d+(d.length>0?" ":"")+p+f;case is.TRUE:return""}},i=function(e,t){return e.checks.reduce(function(n,i,a){return n+(t===e&&0===a?"$":"")+r(i,t)},"")},a="",o=0;o1&&o0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function iP(e,t,n){if(n.isParent()){for(var r=n._private.children,i=0;i1)||void 0===arguments[1]||arguments[1];return iT(this,e,t,iP)},iD.forEachUp=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return iT(this,e,t,i_)},iD.forEachUpAndDown=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return iT(this,e,t,iM)},iD.ancestors=iD.parents,(o$=oQ={data:it.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:it.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:it.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:it.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:it.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:it.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=o$.data,o$.removeAttr=o$.removeData;var iB={};function iA(e){return function(t){if(void 0===t&&(t=!0),0===this.length)return;if(!(!this.isNode()||this.removed())){for(var n=0,r=this[0],i=r._private.edges,a=0;at}),minIndegree:iN("indegree",function(e,t){return et}),minOutdegree:iN("outdegree",function(e,t){return et})}),Z(iB,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0;c&&(u=u[0]);var h=c?u.position():{x:0,y:0};void 0!==t?l.position(e,t+h[e]):void 0!==i&&l.position({x:i.x+h.x,y:i.y+h.y})}else{var d=n.position(),p=o?n.parent():null,f=p&&p.length>0;f&&(p=p[0]);var g=f?p.position():{x:0,y:0};return(i={x:d.x-g.x,y:d.y-g.y},void 0===e)?i:i[e]}}else if(!a)return;return this}}).modelPosition=oJ.point=oJ.position,oJ.modelPositions=oJ.points=oJ.positions,oJ.renderedPoint=oJ.renderedPosition,oJ.relativePoint=oJ.relativePosition;o1=o2={},o2.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},o2.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp(function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,!e&&t.emitAndNotify("bounds")}}),this):this},o2.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes()||!e&&t.batching())return this;for(var n=0;n0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,f=y(i.height.val-a.h,u,c),g=f.biasDiff,v=f.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"===n.units)switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}else if("px"===n.units)return n.pfValue;else return 0}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-g+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}(r),!t.batching()&&(i.compoundBoundsClean=!0))}return this};var iR=function(e){return e===1/0||e===-1/0?0:e},iL=function(e,t,n,r,i){if(r-t!=0&&i-n!=0&&null!=t&&null!=n&&null!=r&&null!=i)e.x1=te.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},iz=function(e,t){return null==t?e:iL(e,t.x1,t.y1,t.x2,t.y2)},iV=function(e,t,n){return te(e,t,n)},iF=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,tz(u,1),iL(e,u.x1,u.y1,u.x2,u.y2)}}},ij=function(e,t,n){if(!t.cy().headless()){a=n?n+"-":"";var r=t._private,i=r.rstyle;if(t.pstyle(a+"label").strValue){var a,o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=iV(i,"labelWidth",n),p=iV(i,"labelHeight",n),f=iV(i,"labelX",n),g=iV(i,"labelY",n),v=t.pstyle(a+"text-margin-x").pfValue,y=t.pstyle(a+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle(a+"text-rotation"),w=t.pstyle("text-outline-width").pfValue,E=t.pstyle("text-border-width").pfValue/2,k=t.pstyle("text-background-padding").pfValue,C=d/2,S=p/2;if(b)o=f-C,s=f+C,l=g-S,u=g+S;else{switch(c.value){case"left":o=f-d,s=f;break;case"center":o=f-C,s=f+C;break;case"right":o=f,s=f+d}switch(h.value){case"top":l=g-p,u=g;break;case"center":l=g-S,u=g+S;break;case"bottom":l=g,u=g+p}}var D=v-Math.max(w,E)-k-2,T=v+Math.max(w,E)+k+2,P=y-Math.max(w,E)-k-2,_=y+Math.max(w,E)+k+2;o+=D,s+=T,l+=P,u+=_;var M=n||"main",B=r.labelBounds,A=B[M]=B[M]||{};A.x1=o,A.y1=l,A.x2=s,A.y2=u,A.w=s-o,A.h=u-l,A.leftPad=D,A.rightPad=T,A.topPad=P,A.botPad=_;var N=b&&"autorotate"===x.strValue,I=null!=x.pfValue&&0!==x.pfValue;if(N||I){var O=N?iV(r.rstyle,"labelAngle",n):x.pfValue,R=Math.cos(O),L=Math.sin(O),z=(o+s)/2,V=(l+u)/2;if(!b){switch(c.value){case"left":z=s;break;case"right":z=o}switch(h.value){case"top":V=u;break;case"bottom":V=l}}var F=function(e,t){return{x:(e-=z)*R-(t-=V)*L+z,y:e*L+t*R+V}},j=F(o,l),q=F(o,u),X=F(s,l),Y=F(s,u);o=Math.min(j.x,q.x,X.x,Y.x),s=Math.max(j.x,q.x,X.x,Y.x),l=Math.min(j.y,q.y,X.y,Y.y),u=Math.max(j.y,q.y,X.y,Y.y)}var W=M+"Rot",H=B[W]=B[W]||{};H.x1=o,H.y1=l,H.x2=s,H.y2=u,H.w=s-o,H.h=u-l,iL(e,o,l,s,u),iL(r.labelBounds.all,o,l,s,u)}return e}},iq=function(e,t){if(!t.cy().headless()){var n=t.pstyle("outline-opacity").value,r=t.pstyle("outline-width").value;if(n>0&&r>0){var i=t.pstyle("outline-offset").value,a=t.pstyle("shape").value,o=r+i,s=(e.w+2*o)/e.w,l=(e.h+2*o)/e.h,u=0;["diamond","pentagon","round-triangle"].includes(a)?(s=(e.w+2.4*o)/e.w,u=-o/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(a)?s=(e.w+2.4*o)/e.w:"star"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.6*o)/e.h,u=-o/3.8):"triangle"===a?(s=(e.w+2.8*o)/e.w,l=(e.h+2.4*o)/e.h,u=-o/1.4):"vee"===a&&(s=(e.w+4.4*o)/e.w,l=(e.h+3.8*o)/e.h,u=-(.5*o));var c=e.h*l-e.h,h=e.w*s-e.w;if(tV(e,[Math.ceil(c/2),Math.ceil(h/2)]),0!==u){var d,p,f,g=(d=e,p=0,f=u,{x1:d.x1+0,x2:d.x2+p,y1:d.y1+f,y2:d.y2+f,w:d.w,h:d.h});tR(e,g)}}}},iX=function(e,t){var n=e._private.cy,r=n.styleEnabled(),i=n.headless(),a=tI(),o=e._private,s=e.isNode(),l=e.isEdge(),u=o.rstyle,c=s&&r?e.pstyle("bounds-expansion").pfValue:[0],h=function(e){return"none"!==e.pstyle("display").value},d=!r||h(e)&&(!l||h(e.source())&&h(e.target()));if(d){var p=0,f=0;r&&t.includeOverlays&&0!==(p=e.pstyle("overlay-opacity").value)&&(f=e.pstyle("overlay-padding").value);var g=0,v=0;r&&t.includeUnderlays&&0!==(g=e.pstyle("underlay-opacity").value)&&(v=e.pstyle("underlay-padding").value);var y=Math.max(f,v),b=0,x=0;if(r&&(x=(b=e.pstyle("width").pfValue)/2),s&&t.includeNodes){var w=e.position();P=w.x,_=w.y;var E=e.outerWidth()/2,k=e.outerHeight()/2;C=P-E,S=P+E,iL(a,C,D=_-k,S,T=_+k),r&&t.includeOutlines&&iq(a,e)}else if(l&&t.includeEdges){if(r&&!i){var C,S,D,T,P,_,M,B=e.pstyle("curve-style").strValue;if(C=Math.min(u.srcX,u.midX,u.tgtX),S=Math.max(u.srcX,u.midX,u.tgtX),D=Math.min(u.srcY,u.midY,u.tgtY),T=Math.max(u.srcY,u.midY,u.tgtY),C-=x,S+=x,iL(a,C,D-=x,S,T+=x),"haystack"===B){var A=u.haystackPts;if(A&&2===A.length){if(C=A[0].x,D=A[0].y,S=A[1].x,T=A[1].y,C>S){var N=C;C=S,S=N}if(D>T){var I=D;D=T,T=I}iL(a,C-x,D-x,S+x,T+x)}}else if("bezier"===B||"unbundled-bezier"===B||B.endsWith("segments")||B.endsWith("taxi")){switch(B){case"bezier":case"unbundled-bezier":M=u.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":M=u.linePts}if(null!=M)for(var O=0;OS){var V=C;C=S,S=V}if(D>T){var F=D;D=T,T=F}C-=x,S+=x,iL(a,C,D-=x,S,T+=x)}}if(r&&t.includeEdges&&l&&(iF(a,e,"mid-source"),iF(a,e,"mid-target"),iF(a,e,"source"),iF(a,e,"target")),r&&"yes"===e.pstyle("ghost").value){var j=e.pstyle("ghost-offset-x").pfValue,q=e.pstyle("ghost-offset-y").pfValue;iL(a,a.x1+j,a.y1+q,a.x2+j,a.y2+q)}var X=o.bodyBounds=o.bodyBounds||{};tF(X,a),tV(X,c),tz(X,1),r&&(C=a.x1,S=a.x2,D=a.y1,T=a.y2,iL(a,C-y,D-y,S+y,T+y));var Y=o.overlayBounds=o.overlayBounds||{};tF(Y,a),tV(Y,c),tz(Y,1);var W=o.labelBounds=o.labelBounds||{};null!=W.all?tO(W.all):W.all=tI(),r&&t.includeLabels&&(t.includeMainLabels&&ij(a,e,null),l&&(t.includeSourceLabels&&ij(a,e,"source"),t.includeTargetLabels&&ij(a,e,"target")))}return a.x1=iR(a.x1),a.y1=iR(a.y1),a.x2=iR(a.x2),a.y2=iR(a.y2),a.w=iR(a.x2-a.x1),a.h=iR(a.y2-a.y1),a.w>0&&a.h>0&&d&&(tV(a,c),tz(a,1)),a},iY=function(e){var t,n=0,r=function(e){return(e?1:0)<0&&void 0!==arguments[0]?arguments[0]:i8,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},ae.removeAllListeners=function(){return this.removeListener("*")},ae.emit=ae.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,!P(t)&&(t=[t]),ar(this,function(e,a){null!=n&&(i=(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}]).length);for(var o=0;o1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&D(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=0;rr&&(r=o,n=a)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=0;i=0&&i1)||void 0===arguments[1]||arguments[1],n=this[0],r=n.cy();if(!!r.styleEnabled()){if(n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}}},numericStyle:function(e){var t=this[0];if(!!t.cy().styleEnabled()){if(t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}}},numericStyleUnits:function(e){var t=this[0];if(!!t.cy().styleEnabled()){if(t)return t.pstyle(e).units}},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];if(n)return t.style().getRenderedStyle(n,e)},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(_(e))r.applyBypass(this,e,!1),this.emitAndNotify("style");else if(D(e)){if(void 0===t){var i=this[0];return i?r.getStylePropertyValue(i,e):void 0}r.applyBypass(this,e,t,!1),this.emitAndNotify("style")}else if(void 0===e){var a=this[0];return a?r.getRawStyle(a):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style();if(void 0===e)for(var r=0;r0&&t.push(c[0]),t.push(s[0])}}return this.spawn(t,!0).filter(e)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),aS.neighbourhood=aS.neighborhood,aS.closedNeighbourhood=aS.closedNeighborhood,aS.openNeighbourhood=aS.openNeighborhood,Z(aS,{source:iS(function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t},"source"),target:iS(function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t},"target"),sources:a_({attr:"source"}),targets:a_({attr:"target"})}),Z(aS,{edgesWith:iS(aM(),"edgesWith"),edgesTo:iS(aM({thisIsSrc:!0}),"edgesTo")}),Z(aS,{connectedEdges:iS(function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),aS.componentsOf=aS.components;var aA=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0===e){eJ("A collection must have a reference to the core");return}var i=new tr,a=!1;if(t){if(t.length>0&&_(t[0])&&!N(t[0])){a=!0;for(var o=[],s=new ta,l=0,u=t.length;l0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=this.cy(),r=n._private,i=[],a=[],o=0,s=this.length;o0){for(var N,I,O,R=N.length===this.length?this:new aA(n,N),z=0;z0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=[],r={},i=this._private.cy;function a(e){var i=r[e.id()];if(!(t&&e.removed())&&!i){r[e.id()]=!0;e.isNode()?(n.push(e),!function(e){for(var t=e._private.edges,n=0;n0&&(e?w.emitAndNotify("remove"):t&&w.emit("remove"));for(var E=0;E1e-4&&Math.abs(l.v)>1e-4;);return o?function(e){return c[e*(c.length-1)|0]}:h}}(),aO=function(e,t,n,r){var i=function(e,t,n,r){var i=.1,a="undefined"!=typeof Float32Array;if(4!=arguments.length)return!1;for(var o=0;o<4;++o)if("number"!=typeof arguments[o]||isNaN(arguments[o])||!isFinite(arguments[o]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var s=a?new Float32Array(11):Array(11);function l(e,t){return 1-3*t+3*e}function u(e,t){return 3*t-6*e}function c(e){return 3*e}function h(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}function d(e,t,n){return 3*(1-3*n+3*t)*e*e+2*(3*n-6*t)*e+3*t}var p=!1,f=function(a){return(!p&&(p=!0,(e!==t||n!==r)&&function(){for(var t=0;t<11;++t)s[t]=h(t*i,e,n)}()),e===t&&n===r)?a:0===a?0:1===a?1:h(function(t){for(var r=0,a=1,o=10;a!==o&&s[a]<=t;++a)r+=i;var l=r+(t-s[--a])/(s[a+1]-s[a])*i,u=d(l,e,n);return u>=.001?function(t,r){for(var i=0;i<4;++i){var a=d(r,e,n);if(0===a)break;var o=h(r,e,n)-t;r-=o/a}return r}(t,l):0===u?l:function(t,r,i){var a,o,s=0;do(a=h(o=r+(i-r)/2,e,n)-t)>0?i=o:r=o;while(Math.abs(a)>1e-7&&++s<10);return o}(t,r,r+i)}(a),t,r)};f.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var g="generateBezier("+[e,t,n,r]+")";return f.toString=function(){return g},f}(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},aR={linear:function(e,t,n){return e+(t-e)*n},ease:aO(.25,.1,.25,1),"ease-in":aO(.42,0,1,1),"ease-out":aO(0,0,.58,1),"ease-in-out":aO(.42,0,.58,1),"ease-in-sine":aO(.47,0,.745,.715),"ease-out-sine":aO(.39,.575,.565,1),"ease-in-out-sine":aO(.445,.05,.55,.95),"ease-in-quad":aO(.55,.085,.68,.53),"ease-out-quad":aO(.25,.46,.45,.94),"ease-in-out-quad":aO(.455,.03,.515,.955),"ease-in-cubic":aO(.55,.055,.675,.19),"ease-out-cubic":aO(.215,.61,.355,1),"ease-in-out-cubic":aO(.645,.045,.355,1),"ease-in-quart":aO(.895,.03,.685,.22),"ease-out-quart":aO(.165,.84,.44,1),"ease-in-out-quart":aO(.77,0,.175,1),"ease-in-quint":aO(.755,.05,.855,.06),"ease-out-quint":aO(.23,1,.32,1),"ease-in-out-quint":aO(.86,0,.07,1),"ease-in-expo":aO(.95,.05,.795,.035),"ease-out-expo":aO(.19,1,.22,1),"ease-in-out-expo":aO(1,0,0,1),"ease-in-circ":aO(.6,.04,.98,.335),"ease-out-circ":aO(.075,.82,.165,1),"ease-in-out-circ":aO(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return aR.linear;var r=aI(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":aO};function aL(e,t,n,r,i){if(1===r||t===n)return n;var a=i(t,n,r);return null==e?a:((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max)),a)}function az(e,t){return null==e.pfValue&&null==e.value?e:null!=e.pfValue&&(null==t||"%"!==t.type.units)?e.pfValue:e.value}function aV(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=az(e,i),s=az(t,i);if(M(o)&&M(s))return aL(a,o,s,n,r);if(P(o)&&P(s)){for(var l=[],u=0;u=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;if(d.stopped){a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames);continue}if(!!d.playing||!!d.applying)d.playing&&d.applying&&(d.applying=!1),!d.started&&!function(e,t,n,r){var i=t._private;i.started=!0,i.startTime=n-i.progress*i.duration}(0,h,e),!function(e,t,n,r){var i,a,o,s,l=!r,u=e._private,c=t._private,h=c.easing,d=c.startTime,p=(r?e:e.cy()).style();if(!c.easingImpl){if(null==h)c.easingImpl=aR.linear;else{if(D(h)){;i=p.parse("transition-timing-function",h).value}else i=h;D(i)?(a=i,o=[]):(a=i[1],o=i.slice(2).map(function(e){return+e})),o.length>0?("spring"===a&&o.push(c.duration),c.easingImpl=aR[a].apply(null,o)):c.easingImpl=aR[a]}}var f=c.easingImpl;if(s=0===c.duration?1:(n-d)/c.duration,c.applying&&(s=c.progress),s<0?s=0:s>1&&(s=1),null==c.delay){var g=c.startPosition,v=c.position;if(v&&l&&!e.locked()){var y={};aF(g.x,v.x)&&(y.x=aV(g.x,v.x,s,f)),aF(g.y,v.y)&&(y.y=aV(g.y,v.y,s,f)),e.position(y)}var b=c.startPan,x=c.pan,w=u.pan,E=null!=x&&r;E&&(aF(b.x,x.x)&&(w.x=aV(b.x,x.x,s,f)),aF(b.y,x.y)&&(w.y=aV(b.y,x.y,s,f)),e.emit("pan"));var k=c.startZoom,C=c.zoom,S=null!=C&&r;S&&(aF(k,C)&&(u.zoom=tN(u.minZoom,aV(k,C,s,f),u.maxZoom)),e.emit("zoom")),(E||S)&&e.emit("viewport");var T=c.style;if(T&&T.length>0&&l){for(var P=0;P0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var aq={animate:it.animate(),animation:it.animation(),animated:it.animated(),clearQueue:it.clearQueue(),delay:it.delay(),delayAnimation:it.delayAnimation(),stop:it.stop(),addToAnimationPool:function(e){if(!!this.styleEnabled())this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,!!e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender(function(t,n){aj(n,e)},t.beforeRenderPriorities.animations):!function t(){if(!!e._private.animationsRunning)eO(function(n){aj(n,e),t()})}()}}},aX={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&N(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},aY=function(e){return D(e)?new iE(e):e},aW={createEmitter:function(){var e=this._private;return!e.emitter&&(e.emitter=new i7(aX,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,aY(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,aY(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,aY(t),n),this},once:function(e,t,n){return this.emitter().one(e,aY(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};it.eventAliasesOn(aW);var aH={png:function(e){var t=this._private.renderer;return e=e||{},t.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};aH.jpeg=aH.jpg;var aG={layout:function(e){if(null==e){eJ("Layout options must be specified to make a layout");return}if(null==e.name){eJ("A `name` must be specified to make a layout");return}var t,n=e.name,r=this.extension("layout",n);if(null==r){eJ("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?");return}return t=D(e.eles)?this.$(e.eles):null!=e.eles?e.eles:this.$(),new r(Z({},e,{cy:this,eles:t}))}};aG.createLayout=aG.makeLayout=aG.layout;var aU=e9({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),aK={renderTo:function(e,t,n,r){return this._private.renderer.renderTo(e,t,n,r),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(e){var t=this.extension("renderer",e.name);if(null==t){eJ("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}void 0!==e.wheelSensitivity&&e1("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 n=aU(e);n.cy=this,this._private.renderer=new t(n),this.notify("init")},destroyRenderer:function(){this.notify("destroy");var e=this.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);this._private.renderer=null,this.mutableElements().forEach(function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};aK.invalidateDimensions=aK.resize;var aZ={collection:function(e,t){if(D(e))return this.$(e);if(A(e))return e.collection();if(P(e))return!t&&(t={}),new aA(this,e,t.unique,t.removed);return new aA(this)},nodes:function(e){var t=this.$(function(e){return e.isNode()});return e?t.filter(e):t},edges:function(e){var t=this.$(function(e){return e.isEdge()});return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};aZ.elements=aZ.filter=aZ.$;var a$={};a$.apply=function(e){for(var t=this._private.cy.collection(),n=0;n0;if(h||c&&d){var p=void 0;h&&d?p=l.properties:h?p=l.properties:d&&(p=l.mappedProperties);for(var f=0;f1&&(v=1),o.color){var E=r.valueMin[0],k=r.valueMax[0],C=r.valueMin[1],S=r.valueMax[1],D=r.valueMin[2],T=r.valueMax[2],P=null==r.valueMin[3]?1:r.valueMin[3],_=[Math.round(E+(k-E)*v),Math.round(C+(S-C)*v),Math.round(D+(T-D)*v),Math.round(P+((null==r.valueMax[3]?1:r.valueMax[3])-P)*v)];g={bypass:r.bypass,name:r.name,value:_,strValue:"rgb("+_[0]+", "+_[1]+", "+_[2]+")"}}else{if(!o.number)return!1;var B=r.valueMin+(r.valueMax-r.valueMin)*v;g=this.parse(r.name,B,r.bypass,h)}if(!g)return f(),!1;g.mapping=r,r=g;break;case a.data:for(var A=r.field.split("."),N=c.data,I=0;I0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()}).then(function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1})}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},a$.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},a$.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,function(e){return e.triggersZOrder},function(){i._private.cy.notify("zorder",e)})},a$.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,function(e){return e.triggersBounds},function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),i.triggersBoundsOfParallelBeziers&&"curve-style"===t&&("bezier"===n||"bezier"===r)&&e.parallelEdges().forEach(function(e){e.dirtyBoundingBoxCache()}),i.triggersBoundsOfConnectedEdges&&"display"===t&&("none"===n||"none"===r)&&e.connectedEdges().forEach(function(e){e.dirtyBoundingBoxCache()})})},a$.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var aQ={};aQ.applyBypass=function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?i.substr(t.length):""}function o(){n=n.length>r.length?n.substr(r.length):""}for(i=i.replace(/[/][*](\s|.)+?[*][/]/g,"");!i.match(/^\s*$/);){;var s=i.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!s){e1("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+i);break}t=s[0];var l=s[1];if("core"!==l&&new iE(l).invalid){e1("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),a();continue}var u=s[2],c=!1;n=u;for(var h=[];!n.match(/^\s*$/);){;var d=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!d){e1("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+u),c=!0;break}r=d[0];var p=d[1],f=d[2];if(!this.properties[p]){e1("Skipping property: Invalid property name in: "+r),o();continue}if(!this.parse(p,f)){e1("Skipping property: Invalid property definition in: "+r),o();continue}h.push({name:p,val:f}),o()}if(c){a();break}this.selector(l);for(var g=0;g=7&&"d"===t[0]&&(g=new RegExp(o.data.regex).exec(t))){if(n)return!1;var u=o.data;return{name:e,value:g,strValue:""+t,mapped:u,field:g[1],bypass:n}}else if(t.length>=10&&"m"===t[0]&&(v=new RegExp(o.mapData.regex).exec(t))){if(n||l.multiple)return!1;var c=o.mapData;if(!(l.color||l.number))return!1;var h=this.parse(e,v[4]);if(!h||h.mapped)return!1;var d=this.parse(e,v[5]);if(!d||d.mapped)return!1;if(h.pfValue===d.pfValue||h.strValue===d.strValue)return e1("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+h.strValue+"`"),this.parse(e,h.strValue);if(l.color){var p=h.value,f=d.value;if(p[0]===f[0]&&p[1]===f[1]&&p[2]===f[2]&&(p[3]===f[3]||(null==p[3]||1===p[3])&&(null==f[3]||1===f[3])))return!1}return{name:e,value:v,strValue:""+t,mapped:c,field:v[1],fieldMin:parseFloat(v[2]),fieldMax:parseFloat(v[3]),valueMin:h.value,valueMax:d.value,bypass:n}}if(l.multiple&&"multiple"!==r){if(y=s?t.split(/\s+/):P(t)?t:[t],l.evenMultiple&&y.length%2!=0)return null;for(var g,v,y,b=[],x=[],w=[],E="",k=!1,C=0;C0?" ":"")+S.strValue}if(l.validate&&!l.validate(b,x))return null;if(l.singleEnum&&k)return 1===b.length&&D(b[0])?{name:e,value:b[0],strValue:b[0],bypass:n}:null;return{name:e,value:b,pfValue:w,strValue:E,bypass:n,units:x}}var _=function(){for(var r=0;rl.max||l.strictMax&&t===l.max))return null;var R={name:e,value:t,strValue:""+t+(A||""),units:A,bypass:n};if(l.unitless||"px"!==A&&"em"!==A?R.pfValue=t:R.pfValue="px"!==A&&A?this.getEmSizeInPixels()*t:t,("ms"===A||"s"===A)&&(R.pfValue="ms"===A?t:1e3*t),"deg"===A||"rad"===A)R.pfValue="rad"===A?t:Math.PI*t/180;return"%"===A&&(R.pfValue=t/100),R}if(l.propList){var L=[],z=""+t;if("none"===z);else{for(var V=z.split(/\s*,\s*|\s+/),j=0;j0&&l>0&&!isNaN(r.w)&&!isNaN(r.h)&&r.w>0&&r.h>0){i=(i=(i=Math.min((s-2*t)/r.w,(l-2*t)/r.h))>this._private.maxZoom?this._private.maxZoom:i)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(!r.zoomingEnabled&&(o=!0),M(e)?n=e:_(e)&&(n=e.level,null!=e.position?t=ty(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null!=t&&!r.panningEnabled&&(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;M(l.x)&&(t.pan.x=l.x,o=!1),M(l.y)&&(t.pan.y=l.y,o=!1),!o&&i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(!this._private.panningEnabled)return;if(D(e)){var n=e;e=this.mutableElements().filter(n)}else!A(e)&&(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container,i=this;return n.sizeCache=n.sizeCache||(r?(e=i.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};a6.centre=a6.center,a6.autolockNodes=a6.autolock,a6.autoungrabifyNodes=a6.autoungrabify;var a8={data:it.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:it.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:it.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:it.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};a8.attr=a8.data,a8.removeAttr=a8.removeData;var a7=function(e){var t=this,n=(e=Z({},e)).container;n&&!B(n)&&B(n[0])&&(n=n[0]);var r=n?n._cyreg:null;r=r||{},r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==b&&void 0!==n&&!e.headless,o=e;o.layout=Z({name:a?"grid":"null"},o.layout),o.renderer=Z({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:o,elements:new aA(this),listeners:[],aniEles:new aA(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:M(o.zoom)?o.zoom:1,pan:{x:_(o.pan)&&M(o.pan.x)?o.pan.x:0,y:_(o.pan)&&M(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});l.styleEnabled&&t.setStyle([]);var u=Z({},o,o.renderer);t.initRenderer(u);var c=function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(_(e)||P(e))&&t.add(e),t.one("layoutready",function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")}).one("layoutstop",function(){t.one("done",r),t.emit("done")});var a=Z({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()};!function(e,t){if(e.some(z))return rh.all(e).then(t);t(e)}([o.style,o.elements],function(e){var n=e[0],a=e[1];l.styleEnabled&&t.style().append(n),c(a,function(){t.startAnimationLoop(),l.ready=!0,T(o.ready)&&t.on("ready",o.ready);for(var e=0;e0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach(function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch(function(){for(var n=Object.keys(e),r=0;r0,s=tI(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(A(t.roots))e=t.roots;else if(P(t.roots)){for(var l=[],u=0;u0;){var _=C.shift(),M=function(e,n){for(var i=or(e),a=e.incomers().filter(function(e){return e.isNode()&&r.has(e)}),o=-1,s=e.id(),l=0;l0&&f[0].length<=3?u/2:0),h=2*Math.PI/f[r].length*i;return 0===r&&1===f[0].length&&(c=1),{x:W.x+c*Math.cos(h),y:W.y+c*Math.sin(h)}}),this};var oo={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function os(e){this.options=Z({},oo,e)}os.prototype.run=function(){var e,t=this.options,n=t.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o=tI(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),u=0,c=0;c1&&t.avoidOverlap){var d=Math.cos(l)-1,p=Math.sin(l)-0;e=Math.max(Math.sqrt((u*=1.75)*u/(d*d+p*p)),e)}return r.nodes().layoutPositions(this,t,function(n,r){var a=t.startAngle+r*l*(i?1:-1),o=e*Math.cos(a),u=e*Math.sin(a);return{x:s.x+o,y:s.y+u}}),this};var ol={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function ou(e){this.options=Z({},ol,e)}ou.prototype.run=function(){for(var e=this.options,t=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,n=e.cy,r=e.eles,i=r.nodes().not(":parent"),a=tI(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),o={x:a.x1+a.w/2,y:a.y1+a.h/2},s=[],l=0,u=0;u0&&Math.abs(v[0].value-b.value)>=f&&(v=[],g.push(v)),v.push(b)}var x=l+e.minNodeSpacing;if(!e.avoidOverlap){var w=g.length>0&&g[0].length>1,E=(Math.min(a.w,a.h)/2-x)/(g.length+w?1:0);x=Math.min(x,E)}for(var k=0,C=0;C1&&e.avoidOverlap){var P,_=Math.cos(T)-1,M=Math.sin(T)-0;k=Math.max(Math.sqrt(x*x/(_*_+M*M)),k)}S.r=k,k+=x}if(e.equidistant){for(var B=0,A=0,N=0;N=e.numIter)&&(om(r,e),r.temperature=r.temperature*e.coolingFactor,!(r.temperature=e.animationThreshold&&a(),eO(t)):(oM(r,e),s())}();else{for(;u;)u=o(l),l++;oM(r,e),s()}return this},oh.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},oh.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var od=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=tI(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0){o.graphSet.push(C);for(var u=0;ur.count?0:r.graph},of=function e(t,n,r,i){var a=i.graphSet[r];if(-10){var s=r.nodeOverlap*o,l=Math.sqrt(i*i+a*a),u=s*i/l,c=s*a/l}else{var h=ok(e,i,a),d=ok(t,-1*i,-1*a),p=d.x-h.x,f=d.y-h.y,g=p*p+f*f,l=Math.sqrt(g),s=(e.nodeRepulsion+t.nodeRepulsion)/g,u=s*p/l,c=s*f/l}!e.isLocked&&(e.offsetX-=u,e.offsetY-=c),!t.isLocked&&(t.offsetX+=u,t.offsetY+=c)}},oE=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else var i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else var a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},ok=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):(0>n&&(s<=-1*l||s>=l)&&(u.x=r-a*t/2/n,u.y=i-a/2),u)},oC=function(e,t){for(var n=0;n1){var f=t.gravity*h/p,g=t.gravity*d/p;c.offsetX+=f,c.offsetY+=g}}}}},oD=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else var i={x:e,y:t};return i},o_=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;if((null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(d+=f+t.componentSpacing,h=0,p=0,f=0)}}},oB={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function oA(e){this.options=Z({},oB,e)}oA.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,r=n.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var i=tI(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()});if(0===i.h||0===i.w)n.nodes().layoutPositions(this,e,function(e){return{x:i.x1,y:i.y1}});else{var a=r.size(),o=Math.sqrt(a*i.h/i.w),s=Math.round(o),l=Math.round(i.w/i.h*o),u=function(e){if(null==e)return Math.min(s,l);Math.min(s,l)==s?s=e:l=e},c=function(e){if(null==e)return Math.max(s,l);Math.max(s,l)==s?s=e:l=e},h=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=h&&null!=d)s=h,l=d;else if(null!=h&&null==d)l=Math.ceil(a/(s=h));else if(null==h&&null!=d)s=Math.ceil(a/(l=d));else if(l*s>a){var p=u(),f=c();(p-1)*f>=a?u(p-1):(f-1)*p>=a&&c(f-1)}else for(;l*s=a?c(v+1):u(g+1)}var y=i.w/l,b=i.h/s;if(e.condense&&(y=0,b=0),e.avoidOverlap)for(var x=0;x=l&&(B=0,M++)},N={},I=0;I=0;w--){var E=l[w];E.isNode()?y(E)||x(E):function(n){var r,i=n._private,a=i.rscratch,l=n.pstyle("width").pfValue,c=n.pstyle("arrow-scale").value,p=l/2+d,f=p*p,g=2*p,b=i.source,x=i.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var w=a.allpts,E=0;E+3(r=tZ(e,t,w[E],w[E+1],w[E+2],w[E+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType){for(var w=a.allpts,E=0;E+5(r=tK(e,t,w[E],w[E+1],w[E+2],w[E+3],w[E+4],w[E+5])))return v(n,r),!0}for(var b=b||i.source,x=x||i.target,k=o.getArrowWidth(l,c),C=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}],E=0;E0&&(y(b),y(x))}(E)||x(E)||x(E,"source")||x(E,"target")}return u},oY.getAllInBox=function(e,t,n,r){var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r);e=o,n=s;for(var c=tI({x1:e,y1:t=l,x2:n,y2:r=u}),h=0;h0?-(Math.PI-e.ang):Math.PI+e.ang},sp=function(e,t,n,r,i){if(e!==v?sh(t,e,su):sd(sc,su),sh(t,n,sc),o7=su.nx*sc.ny-su.ny*sc.nx,se=su.nx*sc.nx- -(su.ny*sc.ny),1e-6>Math.abs(sr=Math.asin(Math.max(-1,Math.min(1,o7))))){o6=t.x,o8=t.y,sa=ss=0;return}st=1,sn=!1,se<0?sr<0?sr=Math.PI+sr:(sr=Math.PI-sr,st=-1,sn=!0):sr>0&&(st=-1,sn=!0),ss=void 0!==t.radius?t.radius:r,si=sr/2,sl=Math.min(su.len/2,sc.len/2),sa=i?(so=Math.abs(Math.cos(si)*ss/Math.sin(si)))>sl?Math.abs((so=sl)*Math.sin(si)/Math.cos(si)):ss:Math.abs((so=Math.min(sl,ss))*Math.sin(si)/Math.cos(si)),f=t.x+sc.nx*so,g=t.y+sc.ny*so,o6=f-sc.ny*sa*st,o8=g+sc.nx*sa*st,d=t.x+su.nx*so,p=t.y+su.ny*so,v=t};function sf(e,t){0===t.radius?e.lineTo(t.cx,t.cy):e.arc(t.cx,t.cy,t.radius,t.startAngle,t.endAngle,t.counterClockwise)}function sg(e,t,n,r){var i=!(arguments.length>4)||void 0===arguments[4]||arguments[4];return 0===r||0===t.radius?{cx:t.x,cy:t.y,radius:0,startX:t.x,startY:t.y,stopX:t.x,stopY:t.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(sp(e,t,n,r,i),{cx:o6,cy:o8,radius:sa,startX:d,startY:p,stopX:f,stopY:g,startAngle:su.ang+Math.PI/2*st,endAngle:sc.ang-Math.PI/2*st,counterClockwise:sn})}var sv={};function sy(e){var t=[];if(null!=e){for(var n=0;n0?Math.max(e-t,0):Math.min(e+t,0)},D=S(k,g?(h+p)/2:0),T=S(C,g?(d+f)/2:0),P=!1;"auto"===y?v=Math.abs(D)>Math.abs(T)?a:i:y===u||y===l?(v=i,P=!0):(y===o||y===s)&&(v=a,P=!0);var _=v===i,M=_?T:D,B=_?C:k,A=tD(B),N=!1;!(P&&(x||w<0))&&(y===l&&B<0||y===u&&B>0||y===o&&B>0||y===s&&B<0)&&(A*=-1,M=A*Math.abs(M),N=!0);var I=function(e){return Math.abs(e)=Math.abs(M)},O=I(n=x?(w<0?1+w:w)*M:(w<0?M:0)+w*A),R=I(Math.abs(M)-Math.abs(n));if((O||R)&&!N){if(_){var L=Math.abs(k)<=p/2;if(Math.abs(B)<=d/2){var z=(c.x1+c.x2)/2,V=c.y1,F=c.y2;r.segpts=[z,V,z,F]}else if(L){var j=(c.y1+c.y2)/2,q=c.x1,X=c.x2;r.segpts=[q,j,X,j]}else r.segpts=[c.x1,c.y2]}else{var Y=Math.abs(C)<=f/2;if(Math.abs(B)<=h/2){var W=(c.y1+c.y2)/2,H=c.x1,G=c.x2;r.segpts=[H,W,G,W]}else if(Y){var U=(c.x1+c.x2)/2,K=c.y1,Z=c.y2;r.segpts=[U,K,U,Z]}else r.segpts=[c.x2,c.y1]}}else if(_){var $=c.y1+n+(g?d/2*A:0),Q=c.x1,J=c.x2;r.segpts=[Q,$,J,$]}else{var ee=c.x1+n+(g?h/2*A:0),et=c.y1,en=c.y2;r.segpts=[ee,et,ee,en]}if(r.isRound){var er=e.pstyle("taxi-radius").value,ei="arc-radius"===e.pstyle("radius-type").value[0];r.radii=Array(r.segpts.length/2).fill(er),r.isArcRadius=Array(r.segpts.length/2).fill(ei)}},sv.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=t.srcCornerRadius,d=t.tgtCornerRadius,p=t.srcRs,f=t.tgtRs,g=!M(n.startX)||!M(n.startY),v=!M(n.arrowStartX)||!M(n.arrowStartY),y=!M(n.endX)||!M(n.endY),b=!M(n.arrowEndX)||!M(n.arrowEndY),x=3*(this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth),w=tT({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),E=wd.poolIndex()){var p=h;h=d,d=p}var f=s.srcPos=h.position(),g=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),b=s.tgtW=d.outerWidth(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)],k=s.srcCornerRadius="auto"===h.pstyle("corner-radius").value?"auto":h.pstyle("corner-radius").pfValue,C=s.tgtCornerRadius="auto"===d.pstyle("corner-radius").value?"auto":d.pstyle("corner-radius").pfValue,S=s.tgtRs=d._private.rscratch,D=s.srcRs=h._private.rscratch;s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var T=0;T0){var W=tP(l,tb(t)),H=tP(l,tb(Y)),G=W;H2&&tP(l,{x:Y[2],y:Y[3]})0){var eo=tP(u,tb(t)),es=tP(u,tb(ea)),el=eo;es2&&tP(u,{x:ea[2],y:ea[3]})=l||b){c={cp:g,segment:y};break}}if(c)break}var x=c.cp,w=c.segment,E=(l-d)/w.length,k=w.t1-w.t0,C=i?w.t0+k*E:w.t1-k*E;C=tN(0,C,1),t=tB(x.p0,x.p1,x.p2,C),u=sk(x.p0,x.p1,x.p2,C);break;case"straight":case"segments":case"haystack":for(var S,D,T,P,_=0,M=r.allpts.length,B=0;B+3=l));B+=2);var A=(l-P)/T;t=tA(S,D,A=tN(0,A,1)),u=sE(S,D)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,u)}};l("source"),l("target"),this.applyLabelDimensions(e)}},sx.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},sx.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=te(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=i.width,h=i.height+(l-1)*(a-1)*u;tt(n.rstyle,"labelWidth",t,c),tt(n.rscratch,"labelWidth",t,c),tt(n.rstyle,"labelHeight",t,h),tt(n.rscratch,"labelHeight",t,h),tt(n.rscratch,"labelLineHeight",t,u*a)},sx.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(tt(n.rscratch,e,t,r),r):te(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,d="anywhere"===e.pstyle("text-overflow-wrap").value,p=[],f=/[\s\u200b]+|$/g,g=0;gc){var b,x=v.matchAll(f),w="",E=0,k=h(x);try{for(k.s();!(b=k.n()).done;){var C=b.value,S=C[0],D=v.substring(E,C.index);E=C.index+S.length;var T=0===w.length?D:w+D+S;this.calculateLabelDimensions(e,T).width<=c?w+=D+S:(w&&p.push(w),w=D+S)}}catch(e){k.e(e)}finally{k.f()}!w.match(/^[\s\u200b]+$/)&&p.push(w)}else p.push(v)}o("labelWrapCachedLines",p),i=o("labelWrapCachedText",p.join("\n")),o("labelWrapKey",l)}else if("ellipsis"===s){var P=e.pstyle("text-max-width").pfValue,_="",M=!1;if(this.calculateLabelDimensions(e,i).widthP);B++){;_+=i[B],B===i.length-1&&(M=!0)}return!M&&(_+="\u2026"),_}return i},sx.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},sx.calculateLabelDimensions=function(e,t){var n=this.cy.window().document,r=eq(t,e._private.labelDimsKey),i=this.labelDimCache||(this.labelDimCache=[]),a=i[r];if(null!=a)return a;var o=e.pstyle("font-style").strValue,s=e.pstyle("font-size").pfValue,l=e.pstyle("font-family").strValue,u=e.pstyle("font-weight").strValue,c=this.labelCalcCanvas,h=this.labelCalcCanvasContext;if(!c){c=this.labelCalcCanvas=n.createElement("canvas"),h=this.labelCalcCanvasContext=c.getContext("2d");var d=c.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none"}h.font="".concat(o," ").concat(u," ").concat(s,"px ").concat(l);for(var p=0,f=0,g=t.split("\n"),v=0;ve.width()||28>e.height()))return!sS&&(e1("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),sS=!0),"rectangle";if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"round-rectangle"===t||"cutrectangle"===t||"cut-rectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t};var sD={};sD.registerCalculationListeners=function(){var e=this.cy,t=e.collection(),n=this,r=function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(t.merge(e),n)for(var r=0;r=C.desktopTapThreshold2}var v=P(e);w&&(C.hoverData.tapholdCancelled=!0);t=!0,T(u,["mousemove","vmousemove","tapdrag"],e,{x:a[0],y:a[1]});var y=function(){C.data.bgActivePosistion=void 0,!C.hoverData.selecting&&n.emit({originalEvent:e,type:"boxstart",position:{x:a[0],y:a[1]}}),l[4]=1,C.hoverData.selecting=!0,C.redrawHint("select",!0),C.redraw()};if(3===C.hoverData.which){if(w){var b={originalEvent:e,type:"cxtdrag",position:{x:a[0],y:a[1]}};h?h.emit(b):n.emit(b),C.hoverData.cxtDragged=!0,(!C.hoverData.cxtOver||u!==C.hoverData.cxtOver)&&(C.hoverData.cxtOver&&C.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:a[0],y:a[1]}}),C.hoverData.cxtOver=u,u&&u.emit({originalEvent:e,type:"cxtdragover",position:{x:a[0],y:a[1]}}))}}else if(C.hoverData.dragging){if(t=!0,n.panningEnabled()&&n.userPanningEnabled()){if(C.hoverData.justStartedPan){var x=C.hoverData.mdownPos;E={x:(a[0]-x[0])*r,y:(a[1]-x[1])*r},C.hoverData.justStartedPan=!1}else E={x:d[0]*r,y:d[1]*r};n.panBy(E),n.emit("dragpan"),C.hoverData.dragged=!0}a=C.projectIntoViewport(e.clientX,e.clientY)}else if(1==l[4]&&(null==h||h.pannable()))w&&(!C.hoverData.dragging&&n.boxSelectionEnabled()&&(v||!n.panningEnabled()||!n.userPanningEnabled())?y():!C.hoverData.selecting&&n.panningEnabled()&&n.userPanningEnabled()&&_(h,C.hoverData.downs)&&(C.hoverData.dragging=!0,C.hoverData.justStartedPan=!0,l[4]=0,C.data.bgActivePosistion=tb(o),C.redrawHint("select",!0),C.redraw()),h&&h.pannable()&&h.active()&&h.unactivate());else{if(h&&h.pannable()&&h.active()&&h.unactivate(),(!h||!h.grabbed())&&u!=c&&(c&&T(c,["mouseout","tapdragout"],e,{x:a[0],y:a[1]}),u&&T(u,["mouseover","tapdragover"],e,{x:a[0],y:a[1]}),C.hoverData.last=u),h){if(w){if(n.boxSelectionEnabled()&&v)h&&h.grabbed()&&(F(p),h.emit("freeon"),p.emit("free"),C.dragData.didDrag&&(h.emit("dragfreeon"),p.emit("dragfree"))),y();else if(h&&h.grabbed()&&C.nodeIsDraggable(h)){var w,E,k,S=!C.dragData.didDrag;S&&C.redrawHint("eles",!0),C.dragData.didDrag=!0,!C.hoverData.draggingEles&&V(p,{inDragLayer:!0});var D={x:0,y:0};if(M(d[0])&&M(d[1])&&(D.x+=d[0],D.y+=d[1],S)){var B=C.hoverData.dragDelta;B&&M(B[0])&&M(B[1])&&(D.x+=B[0],D.y+=B[1])}C.hoverData.draggingEles=!0,p.silentShift(D).emit("position drag"),C.redrawHint("drag",!0),C.redraw()}}else{;0===(k=C.hoverData.dragDelta=C.hoverData.dragDelta||[]).length?(k.push(d[0]),k.push(d[1])):(k[0]+=d[0],k[1]+=d[1])}}t=!0}if(l[2]=a[0],l[3]=a[1],t)return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1}},!1),C.registerBinding(S,"mouseup",function(r){if((1!==C.hoverData.which||1===r.which||!C.hoverData.capture)&&!!C.hoverData.capture){C.hoverData.capture=!1;var i=C.cy,a=C.projectIntoViewport(r.clientX,r.clientY),o=C.selection,s=C.findNearestElement(a[0],a[1],!0,!1),l=C.dragData.possibleDragElements,u=C.hoverData.down,c=P(r);if(C.data.bgActivePosistion&&(C.redrawHint("select",!0),C.redraw()),C.hoverData.tapholdCancelled=!0,C.data.bgActivePosistion=void 0,u&&u.unactivate(),3===C.hoverData.which){var h={originalEvent:r,type:"cxttapend",position:{x:a[0],y:a[1]}};if(u?u.emit(h):i.emit(h),!C.hoverData.cxtDragged){var d={originalEvent:r,type:"cxttap",position:{x:a[0],y:a[1]}};u?u.emit(d):i.emit(d)}C.hoverData.cxtDragged=!1,C.hoverData.which=null}else if(1===C.hoverData.which){if(T(s,["mouseup","tapend","vmouseup"],r,{x:a[0],y:a[1]}),!C.dragData.didDrag&&!C.hoverData.dragged&&!C.hoverData.selecting&&!C.hoverData.isOverThresholdDrag&&(T(u,["click","tap","vclick"],r,{x:a[0],y:a[1]}),t=!1,r.timeStamp-n<=i.multiClickDebounceTime()?(e&&clearTimeout(e),t=!0,n=null,T(u,["dblclick","dbltap","vdblclick"],r,{x:a[0],y:a[1]})):(e=setTimeout(function(){!t&&T(u,["oneclick","onetap","voneclick"],r,{x:a[0],y:a[1]})},i.multiClickDebounceTime()),n=r.timeStamp)),null==u&&!C.dragData.didDrag&&!C.hoverData.selecting&&!C.hoverData.dragged&&!P(r)&&(i.$(D).unselect(["tapunselect"]),l.length>0&&C.redrawHint("eles",!0),C.dragData.possibleDragElements=l=i.collection()),s==u&&!C.dragData.didDrag&&!C.hoverData.selecting&&null!=s&&s._private.selectable&&(C.hoverData.dragging||("additive"===i.selectionType()||c?s.selected()?s.unselect(["tapunselect"]):s.select(["tapselect"]):!c&&(i.$(D).unmerge(s).unselect(["tapunselect"]),s.select(["tapselect"]))),C.redrawHint("eles",!0)),C.hoverData.selecting){var p=i.collection(C.getAllInBox(o[0],o[1],o[2],o[3]));C.redrawHint("select",!0),p.length>0&&C.redrawHint("eles",!0),i.emit({type:"boxend",originalEvent:r,position:{x:a[0],y:a[1]}});var f=function(e){return e.selectable()&&!e.selected()};"additive"===i.selectionType()||!c&&i.$(D).unmerge(p).unselect(),p.emit("box").stdFilter(f).select().emit("boxselect"),C.redraw()}if(C.hoverData.dragging&&(C.hoverData.dragging=!1,C.redrawHint("select",!0),C.redrawHint("eles",!0),C.redraw()),!o[4]){C.redrawHint("drag",!0),C.redrawHint("eles",!0);var g=u&&u.grabbed();F(l),g&&(u.emit("freeon"),l.emit("free"),C.dragData.didDrag&&(u.emit("dragfreeon"),l.emit("dragfree")))}}o[4]=0,C.hoverData.down=null,C.hoverData.cxtStarted=!1,C.hoverData.draggingEles=!1,C.hoverData.selecting=!1,C.hoverData.isOverThresholdDrag=!1,C.dragData.didDrag=!1,C.hoverData.dragged=!1,C.hoverData.dragDelta=[],C.hoverData.mdownPos=null,C.hoverData.mdownGPos=null,C.hoverData.which=null}},!1);var K=function(e){if(!C.scrollingPage){var t=C.cy,n=t.zoom(),r=t.pan(),i=C.projectIntoViewport(e.clientX,e.clientY),a=[i[0]*n+r.x,i[1]*n+r.y];if(C.hoverData.draggingEles||C.hoverData.dragging||C.hoverData.cxtStarted||0!==C.selection[4]){e.preventDefault();return}if(t.panningEnabled()&&t.userPanningEnabled()&&t.zoomingEnabled()&&t.userZoomingEnabled()){e.preventDefault(),C.data.wheelZooming=!0,clearTimeout(C.data.wheelTimeout),C.data.wheelTimeout=setTimeout(function(){C.data.wheelZooming=!1,C.redrawHint("eles",!0),C.redraw()},150),o=(null!=e.deltaY?-(e.deltaY/250):null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3)*C.wheelSensitivity,1===e.deltaMode&&(o*=33);var o,s=t.zoom()*Math.pow(10,o);"gesturechange"===e.type&&(s=C.gestureStartZoom*e.scale),t.zoom({level:s,renderedPosition:{x:a[0],y:a[1]}}),t.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};C.registerBinding(C.container,"wheel",K,!0),C.registerBinding(S,"scroll",function(e){C.scrollingPage=!0,clearTimeout(C.scrollingPageTimeout),C.scrollingPageTimeout=setTimeout(function(){C.scrollingPage=!1},250)},!0),C.registerBinding(C.container,"gesturestart",function(e){C.gestureStartZoom=C.cy.zoom(),!C.hasTouchStarted&&e.preventDefault()},!0),C.registerBinding(C.container,"gesturechange",function(e){!C.hasTouchStarted&&K(e)},!0),C.registerBinding(C.container,"mouseout",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseout",position:{x:t[0],y:t[1]}})},!1),C.registerBinding(C.container,"mouseover",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseover",position:{x:t[0],y:t[1]}})},!1);var Z=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},$=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(C.registerBinding(C.container,"touchstart",v=function(e){if(C.hasTouchStarted=!0,!!G(e)){q(),C.touchData.capture=!0,C.data.bgActivePosistion=void 0;var t=C.cy,n=C.touchData.now,v=C.touchData.earlier;if(e.touches[0]){var y=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);n[0]=y[0],n[1]=y[1]}if(e.touches[1]){var y=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);n[2]=y[0],n[3]=y[1]}if(e.touches[2]){var y=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);n[4]=y[0],n[5]=y[1]}if(e.touches[1]){C.touchData.singleTouchMoved=!0,F(C.dragData.touchDragEles);var b=C.findContainerClientCoords();h=b[0],d=b[1],p=b[2],f=b[3],r=e.touches[0].clientX-h,i=e.touches[0].clientY-d,a=e.touches[1].clientX-h,o=e.touches[1].clientY-d,g=0<=r&&r<=p&&0<=a&&a<=p&&0<=i&&i<=f&&0<=o&&o<=f;var x=t.pan(),w=t.zoom();s=Z(r,i,a,o),l=$(r,i,a,o),c=[((u=[(r+a)/2,(i+o)/2])[0]-x.x)/w,(u[1]-x.y)/w];if(l<4e4&&!e.touches[2]){var E=C.findNearestElement(n[0],n[1],!0,!0),k=C.findNearestElement(n[2],n[3],!0,!0);E&&E.isNode()?(E.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=E):k&&k.isNode()?(k.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=k):t.emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!0,C.touchData.cxtDragged=!1,C.data.bgActivePosistion=void 0,C.redraw();return}}if(e.touches[2])t.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var S=C.findNearestElements(n[0],n[1],!0,!0),D=S[0];if(null!=D&&(D.activate(),C.touchData.start=D,C.touchData.starts=S,C.nodeIsGrabbable(D))){var P=C.dragData.touchDragEles=t.collection(),_=null;C.redrawHint("eles",!0),C.redrawHint("drag",!0),D.selected()?V(_=t.$(function(e){return e.selected()&&C.nodeIsGrabbable(e)}),{addToList:P}):V(D,{addToList:P}),O(D);var M=function(t){return{originalEvent:e,type:t,position:{x:n[0],y:n[1]}}};D.emit(M("grabon")),_?_.forEach(function(e){e.emit(M("grab"))}):D.emit(M("grab"))}T(D,["touchstart","tapstart","vmousedown"],e,{x:n[0],y:n[1]}),null==D&&(C.data.bgActivePosistion={x:y[0],y:y[1]},C.redrawHint("select",!0),C.redraw()),C.touchData.singleTouchMoved=!1,C.touchData.singleTouchStartTime=+new Date,clearTimeout(C.touchData.tapholdTimeout),C.touchData.tapholdTimeout=setTimeout(function(){!1===C.touchData.singleTouchMoved&&!C.pinching&&!C.touchData.selecting&&T(C.touchData.start,["taphold"],e,{x:n[0],y:n[1]})},C.tapholdDuration)}if(e.touches.length>=1){for(var B=C.touchData.startPosition=[null,null,null,null,null,null],A=0;A=C.touchTapThreshold2}if(t&&C.touchData.cxt){e.preventDefault();var P=e.touches[0].clientX-h,B=e.touches[0].clientY-d,A=e.touches[1].clientX-h,N=e.touches[1].clientY-d,I=$(P,B,A,N),O=I/l;if(O>=2.25||I>=22500){C.touchData.cxt=!1,C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var R={originalEvent:e,type:"cxttapend",position:{x:p[0],y:p[1]}};C.touchData.start?(C.touchData.start.unactivate().emit(R),C.touchData.start=null):u.emit(R)}}if(t&&C.touchData.cxt){var R={originalEvent:e,type:"cxtdrag",position:{x:p[0],y:p[1]}};C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.touchData.start?C.touchData.start.emit(R):u.emit(R),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxtDragged=!0;var L=C.findNearestElement(p[0],p[1],!0,!0);(!C.touchData.cxtOver||L!==C.touchData.cxtOver)&&(C.touchData.cxtOver&&C.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:p[0],y:p[1]}}),C.touchData.cxtOver=L,L&&L.emit({originalEvent:e,type:"cxtdragover",position:{x:p[0],y:p[1]}}))}else if(t&&e.touches[2]&&u.boxSelectionEnabled())e.preventDefault(),C.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,!C.touchData.selecting&&u.emit({originalEvent:e,type:"boxstart",position:{x:p[0],y:p[1]}}),C.touchData.selecting=!0,C.touchData.didSelect=!0,n[4]=1,n&&0!==n.length&&void 0!==n[0]?(n[2]=(p[0]+p[2]+p[4])/3,n[3]=(p[1]+p[3]+p[5])/3):(n[0]=(p[0]+p[2]+p[4])/3,n[1]=(p[1]+p[3]+p[5])/3,n[2]=(p[0]+p[2]+p[4])/3+1,n[3]=(p[1]+p[3]+p[5])/3+1),C.redrawHint("select",!0),C.redraw();else if(t&&e.touches[1]&&!C.touchData.didSelect&&u.zoomingEnabled()&&u.panningEnabled()&&u.userZoomingEnabled()&&u.userPanningEnabled()){e.preventDefault(),C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var z=C.dragData.touchDragEles;if(z){C.redrawHint("drag",!0);for(var j=0;j0&&!C.hoverData.draggingEles&&!C.swipePanning&&null!=C.data.bgActivePosistion&&(C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.redraw())}},!1),C.registerBinding(S,"touchcancel",b=function(e){var t=C.touchData.start;C.touchData.capture=!1,t&&t.unactivate()}),C.registerBinding(S,"touchend",x=function(e){var t,n=C.touchData.start;if(!!C.touchData.capture){0===e.touches.length&&(C.touchData.capture=!1),e.preventDefault();var r=C.selection;C.swipePanning=!1,C.hoverData.draggingEles=!1;var i=C.cy,a=i.zoom(),o=C.touchData.now,s=C.touchData.earlier;if(e.touches[0]){var l=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);o[0]=l[0],o[1]=l[1]}if(e.touches[1]){var l=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);o[2]=l[0],o[3]=l[1]}if(e.touches[2]){var l=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);o[4]=l[0],o[5]=l[1]}if(n&&n.unactivate(),C.touchData.cxt){if(t={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}},n?n.emit(t):i.emit(t),!C.touchData.cxtDragged){var u={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};n?n.emit(u):i.emit(u)}C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!1,C.touchData.start=null,C.redraw();return}if(!e.touches[2]&&i.boxSelectionEnabled()&&C.touchData.selecting){C.touchData.selecting=!1;var c=i.collection(C.getAllInBox(r[0],r[1],r[2],r[3]));r[0]=void 0,r[1]=void 0,r[2]=void 0,r[3]=void 0,r[4]=0,C.redrawHint("select",!0),i.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}});c.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),c.nonempty()&&C.redrawHint("eles",!0),C.redraw()}if(null!=n&&n.unactivate(),e.touches[2])C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);else if(e.touches[1]);else if(e.touches[0]);else if(!e.touches[0]){C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var h=C.dragData.touchDragEles;if(null!=n){var d=n._private.grabbed;F(h),C.redrawHint("drag",!0),C.redrawHint("eles",!0),d&&(n.emit("freeon"),h.emit("free"),C.dragData.didDrag&&(n.emit("dragfreeon"),h.emit("dragfree"))),T(n,["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]}),n.unactivate(),C.touchData.start=null}else T(C.findNearestElement(o[0],o[1],!0,!0),["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]});var p=C.touchData.startPosition[0]-o[0],f=C.touchData.startPosition[1]-o[1];!C.touchData.singleTouchMoved&&(!n&&i.$(":selected").unselect(["tapunselect"]),T(n,["tap","vclick"],e,{x:o[0],y:o[1]}),w=!1,e.timeStamp-k<=i.multiClickDebounceTime()?(E&&clearTimeout(E),w=!0,k=null,T(n,["dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(E=setTimeout(function(){!w&&T(n,["onetap","voneclick"],e,{x:o[0],y:o[1]})},i.multiClickDebounceTime()),k=e.timeStamp)),null!=n&&!C.dragData.didDrag&&n._private.selectable&&(p*p+f*f)*a*a0)return g[0]}return null}(e,t,f);if(null!=g){var v=tM(f[5],f[3],f[1],g);if(f.isTop&&v<=t||f.isBottom&&t<=v)return!0}}return!1}}},sB.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:ne(4,0),draw:function(e,t,n,r,i,a){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i,this.points,a)},intersectLine:function(e,t,n,r,i,a,o,s){var l=e-(n/2+o),u=t-(r/2+o),c=e+(n/2+o),h=t9(i,a,e,t,l,u,c,u,!1);return h.length>0?h:tY(i,a,e,t,n,r,o,s)},checkPoint:function(e,t,n,r,i,a,o,s){var l=2*(s="auto"===s?nr(r,i):s);if(tQ(e,t,this.points,a,o,r,i-l,[0,-1],n)||tQ(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!(t$(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||t5(e,t,l,l,a+r/2-s,o+i/2-s,n)||t5(e,t,l,l,a-r/2+s,o+i/2-s,n))||!1}}},sB.registerNodeShapes=function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",ne(3,0)),this.generateRoundPolygon("round-triangle",ne(3,0)),this.generatePolygon("rectangle",ne(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",ne(5,0)),this.generateRoundPolygon("round-pentagon",ne(5,0)),this.generatePolygon("hexagon",ne(6,0)),this.generateRoundPolygon("round-hexagon",ne(6,0)),this.generatePolygon("heptagon",ne(7,0)),this.generateRoundPolygon("round-heptagon",ne(7,0)),this.generatePolygon("octagon",ne(8,0)),this.generateRoundPolygon("round-octagon",ne(8,0));var r=Array(20),i=nn(5,0),a=nn(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;st.className.indexOf(o)&&(t.className=(t.className||"")+" "+o),!s){var l=r.createElement("style");l.id=a,l.textContent="."+o+" { position: relative; }",i.insertBefore(l,i.children[0])}"static"===n.getComputedStyle(t).getPropertyValue("position")&&e1("A Cytoscape container has style position:static and so can not use UI extensions properly")}this.selection=[void 0,void 0,void 0,void 0,0],this.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],this.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},this.dragData={possibleDragElements:[]},this.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]},this.redraws=0,this.showFps=e.showFps,this.debug=e.debug,this.hideEdgesOnViewport=e.hideEdgesOnViewport,this.textureOnViewport=e.textureOnViewport,this.wheelSensitivity=e.wheelSensitivity,this.motionBlurEnabled=e.motionBlur,this.forcedPixelRatio=M(e.pixelRatio)?e.pixelRatio:null,this.motionBlur=e.motionBlur,this.motionBlurOpacity=e.motionBlurOpacity,this.motionBlurTransparency=1-this.motionBlurOpacity,this.motionBlurPxRatio=1,this.mbPxRBlurry=1,this.minMbLowQualFrames=4,this.fullQualityMb=!1,this.clearedForMotionBlur=[],this.desktopTapThreshold=e.desktopTapThreshold,this.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,this.touchTapThreshold=e.touchTapThreshold,this.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,this.tapholdDuration=500,this.bindings=[],this.beforeRenderCallbacks=[],this.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},this.registerNodeShapes(),this.registerArrowShapes(),this.registerCalculationListeners()},sO.notify=function(e,t){var n=this.cy;if(!this.destroyed){if("init"===e){this.load();return}if("destroy"===e){this.destroy();return}("add"===e||"remove"===e||"move"===e&&n.hasCompoundNodes()||"load"===e||"zorder"===e||"mount"===e)&&this.invalidateCachedZSortedEles(),"viewport"===e&&this.redrawHint("select",!0),("load"===e||"resize"===e||"mount"===e)&&(this.invalidateContainerClientCoordsCache(),this.matchCanvasSize(this.container)),this.redrawHint("eles",!0),this.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},sO.destroy=function(){this.destroyed=!0,this.cy.stopAnimationLoop();for(var e=0;e=e.deqFastCost*g)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(f>=e.deqNoDrawCost*sR)break;var v=e.deq(t,h,c);if(v.length>0)for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())},i(t))}}},sz=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ;i(this,e),this.idsByKey=new tr,this.keyForId=new tr,this.cachesByLvl=new tr,this.lvls=[],this.getKey=t,this.doesEleInvalidateKey=n}return o(e,[{key:"getIdsFor",value:function(e){null==e&&eJ("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return!n&&(n=new ta,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return!r&&(r=new tr,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach(function(n){return t.deleteCache(e,n)})}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),sV={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},sF=e9({getKey:null,doesEleInvalidateKey:eZ,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:eK,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),sj=function(e,t){this.renderer=e,this.onDequeues=[];var n=sF(t);Z(this,n),this.lookup=new sz(n.getKey,n.doesEleInvalidateKey),this.setupDequeueing()},sq=sj.prototype;sq.reasons=sV,sq.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},sq.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},sq.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new tu(function(e,t){return t.reqs-e.reqs})},sq.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},sq.getElement=function(e,t,n,r,i){var a,o,s,l=this,u=this.renderer,c=u.cy.zoom(),h=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed()||!l.allowEdgeTxrCaching&&e.isEdge()||!l.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(tS(c*n))),r<-4)r=-4;else if(c>=7.99||r>3)return null;var d=Math.pow(2,r),p=t.h*d,f=t.w*d,g=u.eleTextBiggerThanMin(e,d);if(!this.isVisible(e,g))return null;var v=h.get(e,r);if(v&&v.invalidated&&(v.invalidated=!1,v.texture.invalidatedWidth-=v.width),v)return v;if(a=p<=25?25:p<=50?50:50*Math.ceil(p/50),p>1024||f>1024)return null;var y=l.getTextureQueue(a),b=y[y.length-2],x=function(){return l.recycleTexture(a,f)||l.addTexture(a,f)};!b&&(b=y[y.length-1]),!b&&(b=x()),b.width-b.usedWidthr;_--)T=l.getElement(e,t,n,_,sV.downscale);P()}else{if(!E&&!k&&!C)for(var M=r-1;M>=-4;M--){var B=h.get(e,M);if(B){s=B;break}}if(w(s))return l.queueElement(e,r),s;b.context.translate(b.usedWidth,0),b.context.scale(d,d),this.drawElement(b.context,e,t,g,!1),b.context.scale(1/d,1/d),b.context.translate(-b.usedWidth,0)}return v={x:b.usedWidth,texture:b,level:r,scale:d,width:f,height:p,scaledLabelShown:g},b.usedWidth+=Math.ceil(f+8),b.eleCaches.push(v),h.set(e,r,v),l.checkTextureFullness(b),v},sq.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},sq.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?e6(t,e):e.fullnessChecks++},sq.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;e6(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,e8(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),e6(r,a),n.push(a),a}},sq.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},sq.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=[],i=this.lookup,a=0;a<1;a++)if(t.size()>0){var o=t.pop(),s=o.key,l=o.eles[0],u=i.hasCache(l,o.level);if(n[s]=null,u)continue;r.push(o);var c=this.getBoundingBox(l);this.getElement(l,c,e,o.level,sV.dequeue)}else break;return r},sq.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=eU,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},sq.onDequeue=function(e){this.onDequeues.push(e)},sq.offDequeue=function(e){e6(this.onDequeues,e)},sq.setupDequeueing=sL({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null}a.validateLayersElesOrdering(n,e);var l=a.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[],h=a.levelIsComplete(n,e);if(h)return c;!function(){var t=function(t){if(a.validateLayersElesOrdering(t,e),a.levelIsComplete(t,e))return i=l[t],!0},r=function(e){if(!i)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};r(1),r(-1);for(var o=c.length-1;o>=0;o--){var s=c[o];s.invalid&&e6(c,s)}}();var d=function(){if(!r){r=tI();for(var t=0;t=f||!tX(p.bb,y.boundingBox()))&&!(p=function(e){var t=(e=e||{}).after;d();var i=Math.ceil(r.w*u),o=Math.ceil(r.h*u);if(i>32767||o>32767)return null;if(i*o>16e6)return null;var s=a.makeLayer(r,n);if(null!=t){var l=c.indexOf(t)+1;c.splice(l,0,s)}else(void 0===e.insert||e.insert)&&c.unshift(s);return s}({insert:!0,after:p})))return null;i||g?a.queueLayer(p,y):a.drawEleInLayer(p,y,n,t),p.eles.push(y),x[n]=p}return i?i:g?null:c},sY.getEleLevelForLayerLevel=function(e,t){return e},sY.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();if(0!==o.w&&0!==o.h&&!!t.visible())n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,!0),i.setImgSmoothing(a,!0)},sY.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0||a.invalid)return!1;r+=a.eles.length}return r===t.length&&!0},sY.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(!!n)for(var r=0;r0){e=!0;break}}return e},sY.invalidateElements=function(e){var t=this;if(0===e.length)return;if(t.lastInvalidationTime=eN(),0!==e.length&&!!t.haveLayers())t.updateElementsInLayers(e,function(e,n,r){t.invalidateLayer(e)})},sY.invalidateLayer=function(e){if(this.lastInvalidationTime=eN(),!e.invalid){var t=e.level,n=e.eles;e6(this.layersByLevel[t],e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var r=0;r3)||void 0===arguments[3]||arguments[3],a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=!(arguments.length>5)||void 0===arguments[5]||arguments[5],s=this,l=t._private.rscratch;if(!(o&&!t.visible()||l.badLine||null==l.allpts||isNaN(l.allpts[0]))){n&&(r=n,e.translate(-r.x1,-r.y1));var u=o?t.pstyle("opacity").value:1,c=o?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,f=t.pstyle("line-cap").value,g=t.pstyle("line-outline-width").value,v=t.pstyle("line-outline-color").value,y=u*c,b=u*c,x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;"straight-triangle"===h?(s.eleStrokeStyle(e,t,n),s.drawEdgeTrianglePath(t,e,l.allpts)):(e.lineWidth=p,e.lineCap=f,s.eleStrokeStyle(e,t,n),s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")},w=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;s.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var E=t.pstyle("ghost-offset-x").pfValue,k=t.pstyle("ghost-offset-y").pfValue,C=y*t.pstyle("ghost-opacity").value;e.translate(E,k),x(C),w(C),e.translate(-E,-k)}else!function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;if(e.lineWidth=p+g,e.lineCap=f,g>0)s.colorStrokeStyle(e,v[0],v[1],v[2],n);else{e.lineCap="butt";return}"straight-triangle"===h?s.drawEdgeTrianglePath(t,e,l.allpts):(s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")}();!function(){if(!!a)s.drawEdgeUnderlay(e,t)}(),x(),w(),!function(){if(!!a)s.drawEdgeOverlay(e,t)}(),s.drawElementText(e,t,null,i),n&&e.translate(r.x1,r.y1)}};var s6=function(e){if(!["overlay","underlay"].includes(e))throw Error("Invalid state");return function(t,n){if(!n.visible())return;var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this.usePaths(),a=n._private.rscratch,o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-color")).value;t.lineWidth=2*o,"self"!==a.edgeType||i?t.lineCap="round":t.lineCap="butt",this.colorStrokeStyle(t,s[0],s[1],s[2],r),this.drawEdgePath(n,t,a.allpts,"solid")}}};s9.drawEdgeOverlay=s6("overlay"),s9.drawEdgeUnderlay=s6("underlay"),s9.drawEdgePath=function(e,t,n,r){var i=e._private.rscratch,a=t,o=!1,s=this.usePaths(),l=e.pstyle("line-dash-pattern").pfValue,u=e.pstyle("line-dash-offset").pfValue;if(s){var c=n.join("$");i.pathCacheKey&&i.pathCacheKey===c?(f=t=i.pathCache,o=!0):(f=t=new Path2D,i.pathCacheKey=c,i.pathCache=f)}if(a.setLineDash)switch(r){case"dotted":a.setLineDash([1,1]);break;case"dashed":a.setLineDash(l),a.lineDashOffset=u;break;case"solid":a.setLineDash([])}if(!o&&!i.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35&&void 0!==arguments[5]?arguments[5]:5,o=arguments.length>6?arguments[6]:void 0;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),o?e.stroke():e.fill()}s7.eleTextBiggerThanMin=function(e,t){return!t&&(t=Math.pow(2,Math.ceil(tS(e.cy().zoom()*this.getPixelRatio())))),!(e.pstyle("font-size").pfValue*t5)||void 0===arguments[5]||arguments[5];if(null==r){if(o&&!this.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=this.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p=!n;n&&(a=n,e.translate(-a.x1,-a.y1)),null==i?(this.drawText(e,t,null,p,o),t.isEdge()&&(this.drawText(e,t,"source",p,o),this.drawText(e,t,"target",p,o))):this.drawText(e,t,i,p,o),n&&e.translate(a.x1,a.y1)},s7.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2)||void 0===arguments[2]||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},s7.getTextAngle=function(e,t){var n,r=e._private.rscratch,i=t?t+"-":"",a=e.pstyle(i+"text-rotation"),o=te(r,"labelAngle",t);return n="autorotate"===a.strValue?e.isEdge()?o:0:"none"===a.strValue?0:a.pfValue},s7.drawText=function(e,t,n){var r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s=te(a,"labelX",n),l=te(a,"labelY",n),u=this.getLabelText(t,n);if(null!=u&&""!==u&&!isNaN(s)&&!isNaN(l)){this.setupTextStyle(e,t,i);var c,h,d,p=n?n+"-":"",f=te(a,"labelWidth",n),g=te(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle("text-halign").value,w=t.pstyle("text-valign").value;switch(b&&(x="center",w="center"),s+=v,l+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(c=s,h=l,e.translate(c,h),e.rotate(d),s=0,l=0),w){case"top":break;case"center":l+=g/2;break;case"bottom":l+=g}var E=t.pstyle("text-background-opacity").value,k=t.pstyle("text-border-opacity").value,C=t.pstyle("text-border-width").pfValue,S=t.pstyle("text-background-padding").pfValue,D=0===t.pstyle("text-background-shape").strValue.indexOf("round");if(E>0||C>0&&k>0){var T=s-S;switch(x){case"left":T-=f;break;case"center":T-=f/2}var P=l-g-S,_=f+2*S,M=g+2*S;if(E>0){var B=e.fillStyle,A=t.pstyle("text-background-color").value;e.fillStyle="rgba("+A[0]+","+A[1]+","+A[2]+","+E*o+")",D?le(e,T,P,_,M,2):e.fillRect(T,P,_,M),e.fillStyle=B}if(C>0&&k>0){var N=e.strokeStyle,I=e.lineWidth,O=t.pstyle("text-border-color").value,R=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+O[0]+","+O[1]+","+O[2]+","+k*o+")",e.lineWidth=C,e.setLineDash)switch(R){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=C/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(D?le(e,T,P,_,M,2,"stroke"):e.strokeRect(T,P,_,M),"double"===R){var L=C/2;D?le(e,T+L,P+L,_-2*L,M-2*L,2,"stroke"):e.strokeRect(T+L,P+L,_-2*L,M-2*L)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=N}}var z=2*t.pstyle("text-outline-width").pfValue;if(z>0&&(e.lineWidth=z),"wrap"===t.pstyle("text-wrap").value){var V=te(a,"labelWrapCachedLines",n),F=te(a,"labelLineHeight",n),j=f/2,q=this.getLabelJustification(t);switch("auto"===q||("left"===x?"left"===q?s+=-f:"center"===q&&(s+=-j):"center"===x?"left"===q?s+=-j:"right"===q&&(s+=j):"right"===x&&("center"===q?s+=j:"right"===q&&(s+=f))),w){case"top":l-=(V.length-1)*F;break;case"center":case"bottom":l-=(V.length-1)*F}for(var X=0;X0&&e.strokeText(V[X],s,l),e.fillText(V[X],s,l),l+=F}else z>0&&e.strokeText(u,s,l),e.fillText(u,s,l);0!==d&&(e.rotate(-d),e.translate(-c,-h))}}};var lt={};lt.drawNode=function(e,t,n){var r,i,a,o,s=!(arguments.length>3)||void 0===arguments[3]||arguments[3],l=!(arguments.length>4)||void 0===arguments[4]||arguments[4],u=!(arguments.length>5)||void 0===arguments[5]||arguments[5],c=this,h=t._private,d=h.rscratch,p=t.position();if(!!M(p.x)&&!!M(p.y)&&(!u||!!t.visible())){var f=u?t.effectiveOpacity():1,g=c.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(o=n,e.translate(-o.x1,-o.y1));for(var b=t.pstyle("background-image").value,x=Array(b.length),w=Array(b.length),E=0,k=0;k0&&void 0!==arguments[0]?arguments[0]:P;c.eleFillStyle(e,t,n)},W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L;c.colorStrokeStyle(e,_[0],_[1],_[2],t)},H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j;c.colorStrokeStyle(e,V[0],V[1],V[2],t)},G=function(e,t,n,r){var i,a=c.nodePathCache=c.nodePathCache||[],o=eX("polygon"===n?n+","+r.join(","):n,""+t,""+e,""+X),s=a[o],l=!1;return null!=s?(i=s,l=!0,d.pathCache=i):(i=new Path2D,a[o]=d.pathCache=i),{path:i,cacheHit:l}},U=t.pstyle("shape").strValue,K=t.pstyle("shape-polygon-points").pfValue;if(g){e.translate(p.x,p.y);var Z=G(r,i,U,K);a=Z.path,v=Z.cacheHit}var $=function(){if(!v){var n=p;g&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(t)].draw(a||e,n.x,n.y,r,i,X,d)}g?e.fill(a):e.fill()},Q=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=h.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;c.hasPie(t)&&(c.drawPie(e,t,a),n&&!g&&c.nodeShapes[c.getNodeShape(t)].draw(e,p.x,p.y,r,i,X,d))},ee=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,n=D>0?0:255;0!==D&&(c.colorFillStyle(e,n,n,n,(D>0?D:-D)*t),g?e.fill(a):e.fill())},et=function(){if(T>0){if(e.lineWidth=T,e.lineCap=N,e.lineJoin=A,e.setLineDash)switch(B){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash(O),e.lineDashOffset=R;break;case"solid":case"double":e.setLineDash([])}if("center"!==I){if(e.save(),e.lineWidth*=2,"inside"===I)g?e.clip(a):e.clip();else{var t=new Path2D;t.rect(-r/2-T,-i/2-T,r+2*T,i+2*T),t.addPath(a),e.clip(t,"evenodd")}g?e.stroke(a):e.stroke(),e.restore()}else g?e.stroke(a):e.stroke();if("double"===B){e.lineWidth=T/3;var n=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",g?e.stroke(a):e.stroke(),e.globalCompositeOperation=n}e.setLineDash&&e.setLineDash([])}},en=function(){if(z>0){if(e.lineWidth=z,e.lineCap="butt",e.setLineDash)switch(F){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}var n=p;g&&(n={x:0,y:0});var a=c.getNodeShape(t),o=T;"inside"===I&&(o=0),"outside"===I&&(o*=2);var s=(r+o+(z+q))/r,l=(i+o+(z+q))/i,u=r*s,h=i*l,d=c.nodeShapes[a].points;if(g&&(S=G(u,h,a,d).path),"ellipse"===a)c.drawEllipsePath(S||e,n.x,n.y,u,h);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(a)){var f=0,v=0,y=0;"round-diamond"===a?f=(o+q+z)*1.4:"round-heptagon"===a?(f=(o+q+z)*1.075,y=-(o/2+q+z)/35):"round-hexagon"===a?f=(o+q+z)*1.12:"round-pentagon"===a?(f=(o+q+z)*1.13,y=-(o/2+q+z)/15):"round-tag"===a?(f=(o+q+z)*1.12,v=(o/2+z+q)*.07):"round-triangle"===a&&(f=Math.PI/2*(o+q+z),y=-(o+q/2+z)/Math.PI),0!==f&&(s=(r+f)/r,u=r*s,!["round-hexagon","round-tag"].includes(a)&&(l=(i+f)/i,h=i*l)),X="auto"===X?ni(u,h):X;for(var b=u/2,x=h/2,w=X+(o+z+q)/2,E=Array(d.length/2),k=Array(d.length/2),C=0;C0){if(r=r||n.position(),null==i||null==a){var h=n.padding();i=n.width()+2*h,a=n.height()+2*h}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o,c),t.fill()}}}};lt.drawNodeOverlay=ln("overlay"),lt.drawNodeUnderlay=ln("underlay"),lt.hasPie=function(e){return(e=e[0])._private.hasPie},lt.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=Math.min(t.width(),t.height())/2,u=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var c=1;c<=i.pieBackgroundN;c++){var h=t.pstyle("pie-"+c+"-background-size").value,d=t.pstyle("pie-"+c+"-background-color").value,p=t.pstyle("pie-"+c+"-background-opacity").value*n,f=h/100;f+u>1&&(f=1-u);var g=1.5*Math.PI+2*Math.PI*u,v=g+2*Math.PI*f;if(0!==h&&!(u>=1)&&!(u+f>1))e.beginPath(),e.moveTo(o,s),e.arc(o,s,l,g,v),e.closePath(),this.colorFillStyle(e,d[0],d[1],d[2],p),e.fill(),u+=f}};var lr={};lr.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=this.cy.window(),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(t.devicePixelRatio||1)/n},lr.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var b=l.style(),x=l.zoom(),w=void 0!==i?i:x,E=l.pan(),k={x:E.x,y:E.y},C={zoom:x,pan:{x:E.x,y:E.y}},S=o.prevViewport;!(void 0===S||C.zoom!==S.zoom||C.pan.x!==S.pan.x||C.pan.y!==S.pan.y)&&!(g&&!f)&&(o.motionBlurPxRatio=1),a&&(k=a),w*=s,k.x*=s,k.y*=s;var D=o.getCachedZSortedEles();function T(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function P(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,l=w,c=o.canvasWidth,h=o.canvasHeight):(s={x:E.x*p,y:E.y*p},l=x*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?T(e,0,0,c,h):!t&&(void 0===r||r)&&e.clearRect(0,0,c,h),!n&&(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(!h&&(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var _=o.data.bufferContexts[o.TEXTURE_BUFFER];_.setTransform(1,0,0,1,0,0),_.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:_,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult});var C=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight};C.mpan={x:(0-C.pan.x)/C.zoom,y:(0-C.pan.y)/C.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var M=u.contexts[o.NODE],B=o.textureCache.texture,C=o.textureCache.viewport;M.setTransform(1,0,0,1,0,0),d?T(M,0,0,C.width,C.height):M.clearRect(0,0,C.width,C.height);var A=b.core("outside-texture-bg-color").value,N=b.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,A[0],A[1],A[2],N),M.fillRect(0,0,C.width,C.height);var x=l.zoom();P(M,!1),M.clearRect(C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s),M.drawImage(B,C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),R=o.hideEdgesOnViewport&&O,L=[];if(L[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,L[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),L[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,L[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||L[o.NODE]){var z=d&&!L[o.NODE]&&1!==p,M=t||(z?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]);P(M,d&&!z?"motionBlur":void 0),R?o.drawCachedNodes(M,D.nondrag,s,I):o.drawLayeredElements(M,D.nondrag,s,I),o.debug&&o.drawDebugPoints(M,D.nondrag),!n&&!d&&(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||L[o.DRAG])){var z=d&&!L[o.DRAG]&&1!==p,M=t||(z?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]);P(M,d&&!z?"motionBlur":void 0),R?o.drawCachedNodes(M,D.drag,s,I):o.drawCachedElements(M,D.drag,s,I),o.debug&&o.drawDebugPoints(M,D.drag),!n&&!d&&(c[o.DRAG]=!1)}if(o.showFps||!r&&c[o.SELECT_BOX]&&!n){var M=t||u.contexts[o.SELECT_BOX];if(P(M),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){var x=o.cy.zoom(),V=b.core("selection-box-border-width").value/x;M.lineWidth=V,M.fillStyle="rgba("+b.core("selection-box-color").value[0]+","+b.core("selection-box-color").value[1]+","+b.core("selection-box-color").value[2]+","+b.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]),V>0&&(M.strokeStyle="rgba("+b.core("selection-box-border-color").value[0]+","+b.core("selection-box-border-color").value[1]+","+b.core("selection-box-border-color").value[2]+","+b.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){var x=o.cy.zoom(),F=u.bgActivePosistion;M.fillStyle="rgba("+b.core("active-bg-color").value[0]+","+b.core("active-bg-color").value[1]+","+b.core("active-bg-color").value[2]+","+b.core("active-bg-opacity").value+")",M.beginPath(),M.arc(F.x,F.y,b.core("active-bg-size").pfValue/x,0,2*Math.PI),M.fill()}var j=o.lastRedrawTime;if(o.showFps&&j){var q=Math.round(1e3/(j=Math.round(j)));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 = "+j+" ms = "+q+" fps",0,20);M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(q/60,1),20)}!n&&(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var X=u.contexts[o.NODE],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],W=u.contexts[o.DRAG],H=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],G=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):T(e,0,0,o.canvasWidth,o.canvasHeight);e.drawImage(t,0,0,o.canvasWidth*p,o.canvasHeight*p,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||L[o.NODE])&&(G(X,Y,L[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||L[o.DRAG])&&(G(W,H,L[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=C,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(o.motionBlurTimeout=setTimeout(function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()},100)),!t&&l.emit("render")};var li={};li.drawPolygonPath=function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var f=t.pan(),g={x:f.x*l,y:f.y*l};l*=t.zoom(),d.translate(g.x,g.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-g.x,-g.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h};function lc(e){var t=e.indexOf(",");return e.substr(t+1)}function lh(e,t,n){var r=function(){return t.toDataURL(n,e.quality)};switch(e.output){case"blob-promise":return new rh(function(r,i){try{t.toBlob(function(e){null!=e?r(e):i(Error("`canvas.toBlob()` sent a null value in its callback"))},n,e.quality)}catch(e){i(e)}});case"blob":return function(e,t){for(var n=atob(e),r=new ArrayBuffer(n.length),i=new Uint8Array(r),a=0;a{!e.state&&(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,a.bH.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/6cca1acc.853c4032.js b/pr-preview/pr-5/assets/js/6cca1acc.853c4032.js new file mode 100644 index 0000000..02a7c3f --- /dev/null +++ b/pr-preview/pr-5/assets/js/6cca1acc.853c4032.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["1460"],{19991:function(e,n,r){r.r(n),r.d(n,{metadata:()=>t,contentTitle:()=>d,default:()=>l,assets:()=>c,toc:()=>o,frontMatter:()=>a});var t=JSON.parse('{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","source":"@site/docs/spec/primitive_types.md","sourceDirName":"spec","slug":"/spec/primitive_types","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/primitive_types.md","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1731114929000,"sidebarPosition":4,"frontMatter":{"id":"primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","sidebar_position":4,"tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Project Bundle","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle"},"next":{"title":"Resource Types","permalink":"/nr-pies/pr-preview/pr-5/docs/category/resource-types"}}'),s=r("85893"),i=r("50065");let a={id:"primitive_types",title:"Primitive Types",description:"Fundamental basic data types supported by JSON Schema",sidebar_position:4,tags:["developer"]},d=void 0,c={},o=[{value:"String",id:"string",level:2},{value:"Date and Time",id:"date-and-time",level:3},{value:"Email",id:"email",level:3},{value:"Hostname",id:"hostname",level:3},{value:"IP Address",id:"ip-address",level:3},{value:"Resource Identifier",id:"resource-identifier",level:3},{value:"URI Template",id:"uri-template",level:3},{value:"Regular Expression",id:"regular-expression",level:3},{value:"Numeric",id:"numeric",level:2},{value:"Object",id:"object",level:2},{value:"Array",id:"array",level:2},{value:"Boolean",id:"boolean",level:2},{value:"Null",id:"null",level:2},{value:"References",id:"references",level:2},{value:"Government Standards",id:"government-standards",level:3},{value:"Technical Standards",id:"technical-standards",level:3},{value:"Errata",id:"errata",level:3}];function h(e){let n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.p,{children:["The JSON Schema specifies fundamental\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"data types"}),"\nthat can be used and defined within a schema."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string",children:"string"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric#number",children:"number"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric#integer",children:"integer"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/object",children:"object"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/array",children:"array"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/boolean",children:"boolean"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/null",children:"null"})}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["These types are consistent with what can be expected within the standardized JavaScript Object Notation (JSON) format\n(",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"}),"). Most implementation languages support these constructs, but\nmay represent them with different names. We recommend referring to the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"JSON schema data types"})," documentation as a primary\nsource for standards representation guidance, followed by the ",(0,s.jsx)(n.a,{href:"#government-standards",children:"government standards guidance"})," and\nensuring that the content represent meets both."]}),"\n",(0,s.jsx)(n.h2,{id:"string",children:"String"}),"\n",(0,s.jsxs)(n.p,{children:["Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as\nspecified in ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3629",children:"RFC 3629"}),", which is an extension of the ",(0,s.jsx)(n.a,{href:"https://www.iso.org/standard/76835.html",children:"ISO 10646-1"}),"\nstandard."]}),"\n",(0,s.jsxs)(n.p,{children:["Strings may be optionally constrained by properties such as ",(0,s.jsx)(n.code,{children:"minLength"}),", ",(0,s.jsx)(n.code,{children:"maxLength"})," and by Regular Expression\n",(0,s.jsx)(n.code,{children:"pattern"}),". In addition, there are common\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#built-in-formats",children:"built-in"})," ",(0,s.jsx)(n.code,{children:"format"})," types that a\nstring may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation\nfor more detail on the available built-in format types."]}),"\n",(0,s.jsx)(n.h3,{id:"date-and-time",children:"Date and Time"}),"\n",(0,s.jsxs)(n.p,{children:["Date and/or time formats shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6",children:"RFC 3339, section 5.6"})," format, also commonly known as\n",(0,s.jsx)(n.a,{href:"https://www.iso.org/iso-8601-date-and-time-format.html",children:"ISO 8601"}),". Unless otherwise specified, ",(0,s.jsx)(n.code,{children:"date-time"})," shall be\ninternally stored and represented in a format compatible with ",(0,s.jsx)(n.a,{href:"https://en.wikipedia.org/wiki/Unix_time",children:"unix/epoch"}),"\ntime."]}),"\n",(0,s.jsxs)(n.p,{children:["If the time is specified, such as when either the ",(0,s.jsx)(n.code,{children:"time"})," or ",(0,s.jsx)(n.code,{children:"date-time"})," formats are used, the time representations\nshall be encoded in UTC time. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#dates-and-times",children:"JSON Schema documentation"})," for more\nspecific examples."]}),"\n",(0,s.jsx)(n.admonition,{type:"warning",children:(0,s.jsxs)(n.p,{children:["Note that the ",(0,s.jsx)(n.code,{children:"duration"})," format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard."]})}),"\n",(0,s.jsx)(n.h3,{id:"email",children:"Email"}),"\n",(0,s.jsxs)(n.p,{children:["Email addresses with format ",(0,s.jsx)(n.code,{children:"email"})," shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.2",children:"RFC 5321, section 4.1.2"})," format. Emails may also be\nconveyed in internationalized format ",(0,s.jsx)(n.code,{children:"idn-email"})," which will be compliant to\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6531",children:"RFC 6531"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#email-addresses",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"hostname",children:"Hostname"}),"\n",(0,s.jsxs)(n.p,{children:["Hostnames with format ",(0,s.jsx)(n.code,{children:"hostname"})," shall be represented in\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc1123#section-2",children:"RFC 1123, section 2.1"})," format. Hostnames may also be conveyed\nin internationalized format ",(0,s.jsx)(n.code,{children:"idn-hostname"})," which will be compliant to\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5890#section-2.3.2.3",children:"RFC 5890, section 2.3.2.3"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#hostnames",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"ip-address",children:"IP Address"}),"\n",(0,s.jsxs)(n.p,{children:["IP Addresses may either be formatted in ",(0,s.jsx)(n.code,{children:"ipv4"})," or ",(0,s.jsx)(n.code,{children:"ipv6"})," formats. If IPv4 is used, it shall comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2673#section-3.2",children:"RFC 2673, section 3.2"}),". If IPv6 is used, it shall comply\nwith ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2373#section-2.2",children:"RFC 2373, section 2.2"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#ip-addresses",children:"JSON Schema documentation"})," for more\ndetails."]}),"\n",(0,s.jsx)(n.h3,{id:"resource-identifier",children:"Resource Identifier"}),"\n",(0,s.jsxs)(n.p,{children:["Universal resource identifiers will use format ",(0,s.jsx)(n.code,{children:"uri"})," and comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3986",children:"RFC 3986"}),". There are other less commonly used formats described in the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#resource-identifiers",children:"JSON Schema documentation"}),"."]}),"\n",(0,s.jsxs)(n.admonition,{type:"warning",children:[(0,s.jsxs)(n.p,{children:["Note that the ",(0,s.jsx)(n.code,{children:"uuid"})," format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard.\nInstead, uuid strings shall be constrained with the equivalent uuid versioned regular expression ",(0,s.jsx)(n.code,{children:"pattern"}),". For most\ncases, uuid v4 will be used. When a uuid is used, it shall comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc4122",children:"RFC 4122"}),". The regular expression to be used when specifying uuids will\nbe ",(0,s.jsx)(n.code,{children:"/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i"})," in order to remain version agnostic and maximize\ncompatibility."]}),(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsxs)(n.p,{children:["While there is ",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc9562",children:"RFC 9562"})," which extends RFC 4122 by adding in uuid\nversions 6-8, these are likely not supportable with the ",(0,s.jsx)(n.code,{children:"uuid"})," format yet and will require further review if and when\nthese newer uuid versions are used."]})})]}),"\n",(0,s.jsx)(n.h3,{id:"uri-template",children:"URI Template"}),"\n",(0,s.jsxs)(n.p,{children:["URI Templates with format ",(0,s.jsx)(n.code,{children:"uri-template"})," provide a way to specify a Unique Resource Identifier that contains parameters\nthat must be substituted in before the URI may be resolved. This should comply with\n",(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6570",children:"RFC 6570"}),". Check the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#uri-template",children:"JSON Schema documentation"})," for\nmore details."]}),"\n",(0,s.jsx)(n.h3,{id:"regular-expression",children:"Regular Expression"}),"\n",(0,s.jsxs)(n.p,{children:["Regular expressions with format ",(0,s.jsx)(n.code,{children:"regex"})," should comply with the\n",(0,s.jsx)(n.a,{href:"https://ecma-international.org/publications-and-standards/standards/ecma-262/",children:"ECMA 262"})," dialect. Check the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/string#regular-expressions",children:"JSON Schema documentation"})," for\nmore details."]}),"\n",(0,s.jsx)(n.h2,{id:"numeric",children:"Numeric"}),"\n",(0,s.jsxs)(n.p,{children:["Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to\ndifferentiate between integers and floating-point values. It is not possible to reliably infer if the value is an\ninteger or floating-point value solely based on the presence of a decimal point. As such, we recommend using a ",(0,s.jsx)(n.code,{children:"number"}),"\ntype in lieu of the ",(0,s.jsx)(n.code,{children:"integer"})," type for most scenarios that do not require integer level precision."]}),"\n",(0,s.jsxs)(n.p,{children:["Numbers and integers may be optionally constrained by properties such as ",(0,s.jsx)(n.code,{children:"multipleOf"}),", ",(0,s.jsx)(n.code,{children:"minimum"}),", ",(0,s.jsx)(n.code,{children:"maximum"}),",\n",(0,s.jsx)(n.code,{children:"exclusiveMinimum"})," and ",(0,s.jsx)(n.code,{children:"exclusiveMaximum"}),". Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/numeric",children:"JSON Schema documentation"})," for more specific\nexamples."]}),"\n",(0,s.jsx)(n.h2,{id:"object",children:"Object"}),"\n",(0,s.jsxs)(n.p,{children:["Objects are used for unordered key-value mappings. In JSON, the key shall always be a ",(0,s.jsx)(n.a,{href:"#string",children:"string"}),', and a\nkey-value pair is conventionally called a "property". As objects can have various requirements, nestings, and\nstructuring, there is extensive documentation outlining how objects can constrain the key namings, define the required\nand/or expected properties, as well as define relationships and inclusion of other schemas into its own definition.']}),"\n",(0,s.jsxs)(n.p,{children:["More specific details on what can be done can be found in the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/object",children:"JSON Schema documentation"}),"."]}),"\n",(0,s.jsx)(n.h2,{id:"array",children:"Array"}),"\n",(0,s.jsxs)(n.p,{children:["Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such,\narray definitions may either constrain the type of elements with the ",(0,s.jsx)(n.code,{children:"items"})," keyword, or use the ",(0,s.jsx)(n.code,{children:"contains"})," keyword to\nprovide a looser expectation of what kinds of elements are expected."]}),"\n",(0,s.jsxs)(n.p,{children:["Other array constraints such as ",(0,s.jsx)(n.code,{children:"uniqueness"}),", ",(0,s.jsx)(n.code,{children:"minContains"}),", ",(0,s.jsx)(n.code,{children:"maxContains"}),", ",(0,s.jsx)(n.code,{children:"minItems"})," and ",(0,s.jsx)(n.code,{children:"maxItems"})," may also be used\nto describe the boundaries of the array. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/array",children:"JSON Schema documentation"})," for more specific examples."]}),"\n",(0,s.jsx)(n.h2,{id:"boolean",children:"Boolean"}),"\n",(0,s.jsxs)(n.p,{children:["Booleans are used to represent only two possible values: ",(0,s.jsx)(n.code,{children:"true"})," or ",(0,s.jsx)(n.code,{children:"false"}),". While certain languages may evaluate other\nvalues to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first\nprior to encoding. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/boolean",children:"JSON Schema documentation"})," for more details."]}),"\n",(0,s.jsx)(n.h2,{id:"null",children:"Null"}),"\n",(0,s.jsxs)(n.p,{children:["Null is used to represent no value, and can only have a single acceptable value ",(0,s.jsx)(n.code,{children:"null"}),". Note that null does not equate\nto the absence of a value, or undefined. Reference the\n",(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/null",children:"JSON Schema documentation"})," for more details."]}),"\n",(0,s.jsx)(n.h2,{id:"references",children:"References"}),"\n",(0,s.jsx)(n.h3,{id:"government-standards",children:"Government Standards"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/assets/gov/government/services-for-government-and-broader-public-sector/information-technology-services/standards-files/address_data_standards_-_mailing_delivery_residential.pdf",children:"Address Data Standards: Mailing, Delivery and Residential"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/assets/gov/government/services-for-government-and-broader-public-sector/information-technology-services/standards-files/date_and_time_standard.pdf",children:"Date and Time Standard"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/health-information-standards/standards-catalogue/date-time",children:"B.C. Health Information Standards for Date and Time"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://bcgov.github.io/data-publication/pages/dsg_naming_describing.html",children:"Naming and Describing"})}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"technical-standards",children:"Technical Standards"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://ecma-international.org/publications-and-standards/standards/ecma-262/",children:"ECMA 262"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/type",children:"JSON Schema Types"})}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc1123",children:"RFC 1123"})," (Internet Hosts)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2373",children:"RFC 2373"})," (IPv6)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc2673",children:"RFC 2673"})," (IPv4)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3339",children:"RFC 3339"})," (Date and Time)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3629",children:"RFC 3629"})," (UTF-8)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc3986",children:"RFC 3986"})," (URI)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc4122",children:"RFC 4122"})," (UUID v1-5)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5321",children:"RFC 5321"})," (Email/SMTP)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5890",children:"RFC 5890"})," (Internationalized Domain Names)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6531",children:"RFC 6531"})," (Internationalized Email)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6570",children:"RFC 6570"})," (URI Template)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc8259",children:"RFC 8259"})," (JSON)"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc9562",children:"RFC 9562"})," (UUID v6-8)"]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"errata",children:"Errata"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://ajv.js.org/guide/schema-language.html#json-schema",children:"JSON Schema Version Comparison"})}),"\n"]})]})}function l(e={}){let{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},50065:function(e,n,r){r.d(n,{Z:function(){return d},a:function(){return a}});var t=r(67294);let s={},i=t.createContext(s);function a(e){let n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/709.4491edf1.js b/pr-preview/pr-5/assets/js/709.4491edf1.js new file mode 100644 index 0000000..9d4ecec --- /dev/null +++ b/pr-preview/pr-5/assets/js/709.4491edf1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["709"],{91167:function(r,e,s){s.d(e,{diagram:function(){return l}});var a=s(91040);s(10626),s(88984),s(33071),s(28162),s(16302),s(80587),s(4511),s(92719),s(7690);var n=s(5995),l={parser:a.P0,db:a.pl,renderer:a.b0,styles:a.Ee,init:(0,n.eW)(r=>{!r.class&&(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.pl.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/72af4c84.a229eb6e.js b/pr-preview/pr-5/assets/js/72af4c84.a229eb6e.js new file mode 100644 index 0000000..e194776 --- /dev/null +++ b/pr-preview/pr-5/assets/js/72af4c84.a229eb6e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8652"],{20021:function(e,s,r){r.r(s),r.d(s,{metadata:()=>t,contentTitle:()=>a,default:()=>c,assets:()=>l,toc:()=>u,frontMatter:()=>n});var t=JSON.parse('{"id":"docusaurus/tutorial_basics/deploy_your_site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","source":"@site/docs/docusaurus/tutorial_basics/deploy_your_site.md","sourceDirName":"docusaurus/tutorial_basics","slug":"/docusaurus/tutorial_basics/deploy_your_site","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_basics/deploy_your_site.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":5,"frontMatter":{"sidebar_position":5},"sidebar":"tutorialSidebar","previous":{"title":"Markdown Features","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features"},"next":{"title":"Congratulations!","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations"}}'),o=r("85893"),i=r("50065");let n={sidebar_position:5},a="Deploy your site",l={},u=[{value:"Build your site",id:"build-your-site",level:2},{value:"Deploy your site",id:"deploy-your-site-1",level:2}];function d(e){let s={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"deploy-your-site",children:"Deploy your site"})}),"\n",(0,o.jsxs)(s.p,{children:["Docusaurus is a ",(0,o.jsx)(s.strong,{children:"static-site-generator"})," (also called ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://jamstack.org/",children:"Jamstack"})}),")."]}),"\n",(0,o.jsxs)(s.p,{children:["It builds your site as simple ",(0,o.jsx)(s.strong,{children:"static HTML, JavaScript and CSS files"}),"."]}),"\n",(0,o.jsx)(s.h2,{id:"build-your-site",children:"Build your site"}),"\n",(0,o.jsxs)(s.p,{children:["Build your site ",(0,o.jsx)(s.strong,{children:"for production"}),":"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run build\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The static files are generated in the ",(0,o.jsx)(s.code,{children:"build"})," folder."]}),"\n",(0,o.jsx)(s.h2,{id:"deploy-your-site-1",children:"Deploy your site"}),"\n",(0,o.jsx)(s.p,{children:"Test your production build locally:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run serve\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"build"})," folder is now served at ",(0,o.jsx)(s.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,o.jsxs)(s.p,{children:["You can now deploy the ",(0,o.jsx)(s.code,{children:"build"})," folder ",(0,o.jsx)(s.strong,{children:"almost anywhere"})," easily, ",(0,o.jsx)(s.strong,{children:"for free"})," or very small cost (read the ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://docusaurus.io/docs/deployment",children:"Deployment Guide"})}),")."]})]})}function c(e={}){let{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},50065:function(e,s,r){r.d(s,{Z:function(){return a},a:function(){return n}});var t=r(67294);let o={},i=t.createContext(o);function n(e){let s=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:n(e.components),t.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/7408.c4a276ca.js b/pr-preview/pr-5/assets/js/7408.c4a276ca.js new file mode 100644 index 0000000..0f9d147 --- /dev/null +++ b/pr-preview/pr-5/assets/js/7408.c4a276ca.js @@ -0,0 +1,56 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7408"],{14238:function(t,e,i){i.d(e,{diagram:function(){return U}});var n=i(5995),r=i(27818),s=i(77845),a=i(86750),l=i(35035),o=function(){var t=(0,n.eW)(function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},"o"),e=[6,8,10,11,12,14,16,17,20,21],i=[1,9],r=[1,10],s=[1,11],a=[1,12],l=[1,13],o=[1,16],c=[1,17],h={trace:(0,n.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:(0,n.eW)(function(t,e,i,n,r,s,a){var l=s.length-1;switch(r){case 1:return s[l-1];case 2:case 6:case 7:this.$=[];break;case 3:s[l-1].push(s[l]),this.$=s[l-1];break;case 4:case 5:this.$=s[l];break;case 8:n.getCommonDb().setDiagramTitle(s[l].substr(6)),this.$=s[l].substr(6);break;case 9:this.$=s[l].trim(),n.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=s[l].trim(),n.getCommonDb().setAccDescription(this.$);break;case 12:n.addSection(s[l].substr(8)),this.$=s[l].substr(8);break;case 15:n.addTask(s[l],0,""),this.$=s[l];break;case 16:n.addEvent(s[l].substr(2)),this.$=s[l]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:r,14:s,16:a,17:l,18:14,19:15,20:o,21:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:i,12:r,14:s,16:a,17:l,18:14,19:15,20:o,21:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:(0,n.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,n.eW)(function(t){var e=this,i=[0],r=[],s=[null],a=[],l=this.table,o="",c=0,h=0,d=0,u=a.slice.call(arguments,1),p=Object.create(this.lexer),y={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y.yy[g]=this.yy[g]);p.setInput(t,y.yy),y.yy.lexer=p,y.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;a.push(f);var m=p.options&&p.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}(0,n.eW)(function(t){i.length=i.length-2*t,s.length=s.length-t,a.length=a.length-t},"popStack"),(0,n.eW)(x,"lex");for(var b,_,k,w,v,W,S,$,M,E={};;){if(k=i[i.length-1],this.defaultActions[k]?w=this.defaultActions[k]:(null==b&&(b=x()),w=l[k]&&l[k][b]),void 0===w||!w.length||!w[0]){var I="";for(W in M=[],l[k])this.terminals_[W]&&W>2&&M.push("'"+this.terminals_[W]+"'");I=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(I,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:f,expected:M})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+b);switch(w[0]){case 1:i.push(b),s.push(p.yytext),a.push(p.yylloc),i.push(w[1]),b=null,_?(b=_,_=null):(h=p.yyleng,o=p.yytext,c=p.yylineno,f=p.yylloc,d>0&&d--);break;case 2:if(S=this.productions_[w[1]][1],E.$=s[s.length-S],E._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},m&&(E._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),void 0!==(v=this.performAction.apply(E,[o,h,c,y.yy,w[1],s,a].concat(u))))return v;S&&(i=i.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),i.push(this.productions_[w[1]][0]),s.push(E.$),a.push(E._$),$=l[i[i.length-2]][i[i.length-1]],i.push($);break;case 3:return!0}}return!0},"parse")},d={EOF:1,parseError:(0,n.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,n.eW)(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},"setInput"),input:(0,n.eW)(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},"input"),unput:(0,n.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var 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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,n.eW)(function(){return this._more=!0,this},"more"),reject:(0,n.eW)(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})},"reject"),less:(0,n.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,n.eW)(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,"")},"upcomingInput"),showPosition:(0,n.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,n.eW)(function(t,e){var i,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},"test_match"),next:(0,n.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[n]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,n.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,n.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,n.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n.eW)(function(t,e,i,n){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\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:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};function u(){this.yy={}}return h.lexer=d,(0,n.eW)(u,"Parser"),u.prototype=h,h.Parser=u,new u}();o.parser=o;var c={};(0,n.r2)(c,{addEvent:()=>k,addSection:()=>m,addTask:()=>_,addTaskOrg:()=>w,clear:()=>f,default:()=>W,getCommonDb:()=>g,getSections:()=>x,getTasks:()=>b});var h="",d=0,u=[],p=[],y=[],g=(0,n.eW)(()=>n.LJ,"getCommonDb"),f=(0,n.eW)(function(){u.length=0,p.length=0,h="",y.length=0,(0,n.ZH)()},"clear"),m=(0,n.eW)(function(t){h=t,u.push(t)},"addSection"),x=(0,n.eW)(function(){return u},"getSections"),b=(0,n.eW)(function(){let t=v(),e=0;for(;!t&&e<100;)t=v(),e++;return p.push(...y),p},"getTasks"),_=(0,n.eW)(function(t,e,i){let n={id:d++,section:h,type:h,task:t,score:e||0,events:i?[i]:[]};y.push(n)},"addTask"),k=(0,n.eW)(function(t){y.find(t=>t.id===d-1).events.push(t)},"addEvent"),w=(0,n.eW)(function(t){let e={section:h,type:h,description:t,task:t,classes:[]};p.push(e)},"addTaskOrg"),v=(0,n.eW)(function(){let t=(0,n.eW)(function(t){return y[t].processed},"compileTask"),e=!0;for(let[i,n]of y.entries())t(i),e=e&&n.processed;return e},"compileTasks"),W={clear:f,getCommonDb:g,addSection:m,getSections:x,getTasks:b,addTask:_,addTaskOrg:w,addEvent:k},S=(0,n.eW)(function(t,e){let i=t.append("rect");return i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),i.attr("rx",e.rx),i.attr("ry",e.ry),void 0!==e.class&&i.attr("class",e.class),i},"drawRect"),$=(0,n.eW)(function(t,e){let i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),s=t.append("g");function a(t){let i=(0,r.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function l(t){let i=(0,r.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).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 s.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"),s.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"),(0,n.eW)(a,"smile"),(0,n.eW)(l,"sad"),(0,n.eW)(o,"ambivalent"),e.score>3?a(s):e.score<3?l(s):o(s),i},"drawFace"),M=(0,n.eW)(function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},"drawCircle"),E=(0,n.eW)(function(t,e){let i=e.text.replace(//gi," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),void 0!==e.class&&n.attr("class",e.class);let r=n.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(i),n},"drawText"),I=(0,n.eW)(function(t,e){function i(t,e,i,n,r){return t+","+e+" "+(t+i)+","+e+" "+(t+i)+","+(e+n-r)+" "+(t+i-1.2*r)+","+(e+n)+" "+t+","+(e+n)}(0,n.eW)(i,"genPoints");let r=t.append("polygon");r.attr("points",i(e.x,e.y,50,20,7)),r.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,E(t,e)},"drawLabel"),T=(0,n.eW)(function(t,e,i){let n=t.append("g"),r=P();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=i.width,r.height=i.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,S(n,r),H(i)(e.text,n,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},i,e.colour)},"drawSection"),A=-1,N=(0,n.eW)(function(t,e,i){let n=e.x+i.width/2,r=t.append("g");A++;r.append("line").attr("id","task"+A).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),$(r,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=P();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width,s.height=i.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,S(r,s),H(i)(e.task,r,s.x,s.y,s.width,s.height,{class:"task"},i,e.colour)},"drawTask"),C=(0,n.eW)(function(t,e){S(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},"drawBackgroundRect"),L=(0,n.eW)(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),P=(0,n.eW)(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),H=function(){function t(t,e,i,n,s,a,l,o){r(e.append("text").attr("x",i+s/2).attr("y",n+a/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,n,s,a,l,o,c){let{taskFontSize:h,taskFontFamily:d}=o,u=t.split(//gi);for(let t=0;t)/).reverse(),s=[],a=i.attr("y"),l=parseFloat(i.attr("dy")),o=i.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",l+"em");for(let r=0;re||"
    "===t)&&(s.pop(),o.text(s.join(" ").trim()),s="
    "===t?[""]:[t],o=i.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))})}(0,n.eW)(j,"wrap");var D=(0,n.eW)(function(t,e,i,n){let r=i%12-1,s=t.append("g");e.section=r,s.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+r);let a=s.append("g"),l=s.append("g"),o=l.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(j,e.width).node().getBBox(),c=n.fontSize?.replace?n.fontSize.replace("px",""):n.fontSize;return e.height=o.height+.55*c+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,l.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),R(a,e,r,n),e},"drawNode"),z=(0,n.eW)(function(t,e,i){let n=t.append("g"),r=n.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(j,e.width).node().getBBox(),s=i.fontSize?.replace?i.fontSize.replace("px",""):i.fontSize;return n.remove(),r.height+.55*s+e.padding},"getVirtualNodeHeight"),R=(0,n.eW)(function(t,e,i){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${-e.height+10} 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-"+i).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},"defaultBkg"),B={initGraphics:O,drawNode:D,getVirtualNodeHeight:z},F=(0,n.eW)(function(t,e,i,s){let a;let l=(0,n.nV)(),o=l.leftMargin??50;n.cM.debug("timeline",s.db);let c=l.securityLevel;"sandbox"===c&&(a=(0,r.Ys)("#i"+e));let h=("sandbox"===c?(0,r.Ys)(a.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);h.append("g");let d=s.db.getTasks(),u=s.db.getCommonDb().getDiagramTitle();n.cM.debug("task",d),B.initGraphics(h);let p=s.db.getSections();n.cM.debug("sections",p);let y=0,g=0,f=0,m=0,x=50+o,b=50;m=50;let _=0,k=!0;p.forEach(function(t){let e={number:_,descr:t,section:_,width:150,padding:20,maxHeight:y},i=B.getVirtualNodeHeight(h,e,l);n.cM.debug("sectionHeight before draw",i),y=Math.max(y,i+20)});let w=0,v=0;for(let[t,e]of(n.cM.debug("tasks.length",d.length),d.entries())){let i={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:g},r=B.getVirtualNodeHeight(h,i,l);n.cM.debug("taskHeight before draw",r),g=Math.max(g,r+20),w=Math.max(w,e.events.length);let s=0;for(let t of e.events){let i={descr:t,section:e.section,number:e.section,width:150,padding:20,maxHeight:50};s+=B.getVirtualNodeHeight(h,i,l)}v=Math.max(v,s)}n.cM.debug("maxSectionHeight before draw",y),n.cM.debug("maxTaskHeight before draw",g),p&&p.length>0?p.forEach(t=>{let e=d.filter(e=>e.section===t),i={number:_,descr:t,section:_,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:y};n.cM.debug("sectionNode",i);let r=h.append("g"),s=B.drawNode(r,i,_,l);n.cM.debug("sectionNode output",s),r.attr("transform",`translate(${x}, ${m})`),b+=y+50,e.length>0&&V(h,e,_,x,b,g,l,w,v,y,!1),x+=200*Math.max(e.length,1),b=m,_++}):(k=!1,V(h,d,_,x,b,g,l,w,v,y,!0));let W=h.node().getBBox();n.cM.debug("bounds",W),u&&h.append("text").text(u).attr("x",W.width/2-o).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),f=k?y+g+150:g+100,h.append("g").attr("class","lineWrapper").append("line").attr("x1",o).attr("y1",f).attr("x2",W.width+3*o).attr("y2",f).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,n.j7)(void 0,h,l.timeline?.padding??50,l.timeline?.useMaxWidth??!1)},"draw"),V=(0,n.eW)(function(t,e,i,r,s,a,l,o,c,h,d){for(let o of e){let e={descr:o.task,section:i,number:i,width:150,padding:20,maxHeight:a};n.cM.debug("taskNode",e);let u=t.append("g").attr("class","taskWrapper"),p=B.drawNode(u,e,i,l).height;if(n.cM.debug("taskHeight after draw",p),u.attr("transform",`translate(${r}, ${s})`),a=Math.max(a,p),o.events){let e=t.append("g").attr("class","lineWrapper"),n=a;s+=100,Y(t,o.events,i,r,s,l),s-=100,e.append("line").attr("x1",r+95).attr("y1",s+a).attr("x2",r+95).attr("y2",s+a+(d?a:h)+c+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}r+=200,d&&!l.timeline?.disableMulticolor&&i++}},"drawTasks"),Y=(0,n.eW)(function(t,e,i,r,s,a){let l=0,o=s;for(let o of(s+=100,e)){let e={descr:o,section:i,number:i,width:150,padding:20,maxHeight:50};n.cM.debug("eventNode",e);let c=t.append("g").attr("class","eventWrapper"),h=B.drawNode(c,e,i,a).height;l+=h,c.attr("transform",`translate(${r}, ${s})`),s=s+10+h}return s=o,l},"drawEvents"),Z={setConf:(0,n.eW)(()=>{},"setConf"),draw:F},q=(0,n.eW)(t=>{let e="";for(let e=0;e` + .edge { + stroke-width: 3; + } + ${q(t)} + .section-root rect, .section-root path, .section-root circle { + fill: ${t.git0}; + } + .section-root text { + fill: ${t.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .eventWrapper { + filter: brightness(120%); + } +`,"getStyles"),U={db:c,renderer:Z,parser:o,styles:G}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/7554.0efa1e71.js b/pr-preview/pr-5/assets/js/7554.0efa1e71.js new file mode 100644 index 0000000..75ae4b2 --- /dev/null +++ b/pr-preview/pr-5/assets/js/7554.0efa1e71.js @@ -0,0 +1,29 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7554"],{17646:function(e,t,i){function a(e,t){e.accDescr&&t.setAccDescription?.(e.accDescr),e.accTitle&&t.setAccTitle?.(e.accTitle),e.title&&t.setDiagramTitle?.(e.title)}i.d(t,{A:function(){return a}}),(0,i(5995).eW)(a,"populateCommonDb")},37279:function(e,t,i){i.d(t,{diagram:function(){return k}});var a=i(17646),l=i(7690),r=i(94159),n=i(5995),s=i(3194),c=i(27818),o=n.vZ.pie,p={sections:new Map,showData:!1,config:o},d=p.sections,u=p.showData,g=structuredClone(o),f=(0,n.eW)(()=>structuredClone(g),"getConfig"),h=(0,n.eW)(()=>{d=new Map,u=p.showData,(0,n.ZH)()},"clear"),x=(0,n.eW)(({label:e,value:t})=>{!d.has(e)&&(d.set(e,t),n.cM.debug(`added new section: ${e}, with value: ${t}`))},"addSection"),m=(0,n.eW)(()=>d,"getSections"),w=(0,n.eW)(e=>{u=e},"setShowData"),S=(0,n.eW)(()=>u,"getShowData"),T={getConfig:f,clear:h,setDiagramTitle:n.g2,getDiagramTitle:n.Kr,setAccTitle:n.GN,getAccTitle:n.eu,setAccDescription:n.U$,getAccDescription:n.Mx,addSection:x,getSections:m,setShowData:w,getShowData:S},$=(0,n.eW)((e,t)=>{(0,a.A)(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},"populateDb"),y={parse:(0,n.eW)(async e=>{let t=await (0,s.Qc)("pie",e);n.cM.debug(t),$(t,T)},"parse")},D=(0,n.eW)(e=>` + .pieCircle{ + stroke: ${e.pieStrokeColor}; + stroke-width : ${e.pieStrokeWidth}; + opacity : ${e.pieOpacity}; + } + .pieOuterCircle{ + stroke: ${e.pieOuterStrokeColor}; + stroke-width: ${e.pieOuterStrokeWidth}; + fill: none; + } + .pieTitleText { + text-anchor: middle; + font-size: ${e.pieTitleTextSize}; + fill: ${e.pieTitleTextColor}; + font-family: ${e.fontFamily}; + } + .slice { + font-family: ${e.fontFamily}; + fill: ${e.pieSectionTextColor}; + font-size:${e.pieSectionTextSize}; + // fill: white; + } + .legend text { + fill: ${e.pieLegendTextColor}; + font-family: ${e.fontFamily}; + font-size: ${e.pieLegendTextSize}; + } +`,"getStyles"),C=(0,n.eW)(e=>{let t=[...e.entries()].map(e=>({label:e[0],value:e[1]})).sort((e,t)=>t.value-e.value);return(0,c.ve8)().value(e=>e.value)(t)},"createPieArcs"),W=(0,n.eW)((e,t,i,a)=>{n.cM.debug("rendering pie chart\n"+e);let s=a.db,o=(0,n.nV)(),p=(0,l.Rb)(s.getConfig(),o.pie),d=(0,r.P)(t),u=d.append("g");u.attr("transform","translate(225,225)");let{themeVariables:g}=o,[f]=(0,l.VG)(g.pieOuterStrokeWidth);f??=2;let h=p.textPosition,x=185,m=(0,c.Nb1)().innerRadius(0).outerRadius(x),w=(0,c.Nb1)().innerRadius(x*h).outerRadius(x*h);u.append("circle").attr("cx",0).attr("cy",0).attr("r",x+f/2).attr("class","pieOuterCircle");let S=s.getSections(),T=C(S),$=[g.pie1,g.pie2,g.pie3,g.pie4,g.pie5,g.pie6,g.pie7,g.pie8,g.pie9,g.pie10,g.pie11,g.pie12],y=(0,c.PKp)($);u.selectAll("mySlices").data(T).enter().append("path").attr("d",m).attr("fill",e=>y(e.data.label)).attr("class","pieCircle");let D=0;S.forEach(e=>{D+=e}),u.selectAll("mySlices").data(T).enter().append("text").text(e=>(e.data.value/D*100).toFixed(0)+"%").attr("transform",e=>"translate("+w.centroid(e)+")").style("text-anchor","middle").attr("class","slice"),u.append("text").text(s.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");let W=u.selectAll(".legend").data(y.domain()).enter().append("g").attr("class","legend").attr("transform",(e,t)=>{let i=22,a=22*y.domain().length/2;return"translate(216,"+(t*i-a)+")"});W.append("rect").attr("width",18).attr("height",18).style("fill",y).style("stroke",y),W.data(T).append("text").attr("x",22).attr("y",14).text(e=>{let{label:t,value:i}=e.data;return s.getShowData()?`${t} [${i}]`:t});let k=512+Math.max(...W.selectAll("text").nodes().map(e=>e?.getBoundingClientRect().width??0));d.attr("viewBox",`0 0 ${k} 450`),(0,n.v2)(d,450,k,p.useMaxWidth)},"draw"),k={parser:y,db:T,renderer:{draw:W},styles:D}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/7614.6338e782.js b/pr-preview/pr-5/assets/js/7614.6338e782.js new file mode 100644 index 0000000..6a9ddfe --- /dev/null +++ b/pr-preview/pr-5/assets/js/7614.6338e782.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7614"],{79726:function(t,e,a){a.d(e,{diagram:function(){return L}});var n,i=a(2785);a(10626),a(88984),a(33071),a(28162),a(16302),a(80587),a(4511),a(92719);var r=a(7690),d=a(5995),s=a(27818),o=a(49235),g=a(50043),l={},p=(0,d.eW)((t,e)=>{l[t]=e},"set"),h=(0,d.eW)(t=>l[t],"get"),c=(0,d.eW)(()=>Object.keys(l),"keys"),x=(0,d.eW)(()=>c().length,"size"),V=p,u=(0,d.eW)(t=>t.append("circle").attr("class","start-state").attr("r",(0,d.nV)().state.sizeUnit).attr("cx",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit).attr("cy",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit),"drawStartState"),f=(0,d.eW)(t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,d.nV)().state.textHeight).attr("class","divider").attr("x2",2*(0,d.nV)().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),y=(0,d.eW)((t,e)=>{let a=t.append("text").attr("x",2*(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.textHeight+2*(0,d.nV)().state.padding).attr("font-size",(0,d.nV)().state.fontSize).attr("class","state-title").text(e.id),n=a.node().getBBox();return t.insert("rect",":first-child").attr("x",(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.padding).attr("width",n.width+2*(0,d.nV)().state.padding).attr("height",n.height+2*(0,d.nV)().state.padding).attr("rx",(0,d.nV)().state.radius),a},"drawSimpleState"),w=(0,d.eW)((t,e)=>{let a=(0,d.eW)(function(t,e,a){let n=t.append("tspan").attr("x",2*(0,d.nV)().state.padding).text(e);!a&&n.attr("dy",(0,d.nV)().state.textHeight)},"addTspan"),n=t.append("text").attr("x",2*(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.textHeight+1.3*(0,d.nV)().state.padding).attr("font-size",(0,d.nV)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=n.height,r=t.append("text").attr("x",(0,d.nV)().state.padding).attr("y",i+.4*(0,d.nV)().state.padding+(0,d.nV)().state.dividerMargin+(0,d.nV)().state.textHeight).attr("class","state-description"),s=!0,o=!0;e.descriptions.forEach(function(t){!s&&(a(r,t,o),o=!1),s=!1});let g=t.append("line").attr("x1",(0,d.nV)().state.padding).attr("y1",(0,d.nV)().state.padding+i+(0,d.nV)().state.dividerMargin/2).attr("y2",(0,d.nV)().state.padding+i+(0,d.nV)().state.dividerMargin/2).attr("class","descr-divider"),l=r.node().getBBox(),p=Math.max(l.width,n.width);return g.attr("x2",p+3*(0,d.nV)().state.padding),t.insert("rect",":first-child").attr("x",(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.padding).attr("width",p+2*(0,d.nV)().state.padding).attr("height",l.height+i+2*(0,d.nV)().state.padding).attr("rx",(0,d.nV)().state.radius),t},"drawDescrState"),b=(0,d.eW)((t,e,a)=>{let n;let i=(0,d.nV)().state.padding,r=2*(0,d.nV)().state.padding,s=t.node().getBBox(),o=s.width,g=s.x,l=t.append("text").attr("x",0).attr("y",(0,d.nV)().state.titleShift).attr("font-size",(0,d.nV)().state.fontSize).attr("class","state-title").text(e.id),p=l.node().getBBox().width+r,h=Math.max(p,o);h===o&&(h+=r);let c=t.node().getBBox();e.doc,n=g-i,p>o&&(n=(o-h)/2+i),Math.abs(g-c.x)o&&(n=g-(p-o)/2);let x=1-(0,d.nV)().state.textHeight;return t.insert("rect",":first-child").attr("x",n).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",c.height+(0,d.nV)().state.textHeight+(0,d.nV)().state.titleShift+1).attr("rx","0"),l.attr("x",n+i),p<=o&&l.attr("x",g+(h-r)/2-p/2+i),t.insert("rect",":first-child").attr("x",n).attr("y",(0,d.nV)().state.titleShift-(0,d.nV)().state.textHeight-(0,d.nV)().state.padding).attr("width",h).attr("height",3*(0,d.nV)().state.textHeight).attr("rx",(0,d.nV)().state.radius),t.insert("rect",":first-child").attr("x",n).attr("y",(0,d.nV)().state.titleShift-(0,d.nV)().state.textHeight-(0,d.nV)().state.padding).attr("width",h).attr("height",c.height+3+2*(0,d.nV)().state.textHeight).attr("rx",(0,d.nV)().state.radius),t},"addTitleAndBox"),B=(0,d.eW)(t=>(t.append("circle").attr("class","end-state-outer").attr("r",(0,d.nV)().state.sizeUnit+(0,d.nV)().state.miniPadding).attr("cx",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+(0,d.nV)().state.miniPadding).attr("cy",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+(0,d.nV)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,d.nV)().state.sizeUnit).attr("cx",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+2).attr("cy",(0,d.nV)().state.padding+(0,d.nV)().state.sizeUnit+2)),"drawEndState"),m=(0,d.eW)((t,e)=>{let a=(0,d.nV)().state.forkWidth,n=(0,d.nV)().state.forkHeight;if(e.parentId){let t=a;a=n,n=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",n).attr("x",(0,d.nV)().state.padding).attr("y",(0,d.nV)().state.padding)},"drawForkJoinState"),k=(0,d.eW)((t,e,a,n)=>{let i=0,r=n.append("text");r.style("text-anchor","start"),r.attr("class","noteText");let s=t.replace(/\r\n/g,"
    "),o=(s=s.replace(/\n/g,"
    ")).split(d.SY.lineBreakRegex),g=1.25*(0,d.nV)().state.noteMargin;for(let t of o){let n=t.trim();if(n.length>0){let t=r.append("tspan");t.text(n),0===g&&(g+=t.node().getBBox().height),i+=g,t.attr("x",e+(0,d.nV)().state.noteMargin),t.attr("y",a+i+1.25*(0,d.nV)().state.noteMargin)}}return{textWidth:r.node().getBBox().width,textHeight:i}},"_drawLongText"),M=(0,d.eW)((t,e)=>{e.attr("class","state-note");let a=e.append("rect").attr("x",0).attr("y",(0,d.nV)().state.padding),{textWidth:n,textHeight:i}=k(t,0,0,e.append("g"));return a.attr("height",i+2*(0,d.nV)().state.noteMargin),a.attr("width",n+2*(0,d.nV)().state.noteMargin),a},"drawNote"),S=(0,d.eW)(function(t,e){let a=e.id,n={id:a,label:e.id,width:0,height:0},i=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&u(i),"end"===e.type&&B(i),("fork"===e.type||"join"===e.type)&&m(i,e),"note"===e.type&&M(e.note.text,i),"divider"===e.type&&f(i),"default"===e.type&&0===e.descriptions.length&&y(i,e),"default"===e.type&&e.descriptions.length>0&&w(i,e);let r=i.node().getBBox();return n.width=r.width+2*(0,d.nV)().state.padding,n.height=r.height+2*(0,d.nV)().state.padding,V(a,n),n},"drawState"),W=0,E=(0,d.eW)(function(t,e,a){let n=(0,d.eW)(function(t){switch(t){case i.bH.relationType.AGGREGATION:return"aggregation";case i.bH.relationType.EXTENSION:return"extension";case i.bH.relationType.COMPOSITION:return"composition";case i.bH.relationType.DEPENDENCY:return"dependency"}},"getRelationType");e.points=e.points.filter(t=>!Number.isNaN(t.y));let o=e.points,g=(0,s.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(s.$0Z),l=t.append("path").attr("d",g(o)).attr("id","edge"+W).attr("class","transition"),p="";if((0,d.nV)().state.arrowMarkerAbsolute&&(p=(p=(p=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),l.attr("marker-end","url("+p+"#"+n(i.bH.relationType.DEPENDENCY)+"End)"),void 0!==a.title){let n=t.append("g").attr("class","stateLabel"),{x:i,y:s}=r.w8.calcLabelPosition(e.points),o=d.SY.getRows(a.title),g=0,l=[],p=0,h=0;for(let t=0;t<=o.length;t++){let e=n.append("text").attr("text-anchor","middle").text(o[t]).attr("x",i).attr("y",s+g),a=e.node().getBBox();p=Math.max(p,a.width),h=Math.min(h,a.x),d.cM.info(a.x,i,s+g),0===g&&(g=e.node().getBBox().height,d.cM.info("Title height",g,s)),l.push(e)}let c=g*o.length;if(o.length>1){let t=(o.length-1)*g*.5;l.forEach((e,a)=>e.attr("y",s+a*g-t)),c=g*o.length}let x=n.node().getBBox();n.insert("rect",":first-child").attr("class","box").attr("x",i-p/2-(0,d.nV)().state.padding/2).attr("y",s-c/2-(0,d.nV)().state.padding/2-3.5).attr("width",p+(0,d.nV)().state.padding).attr("height",c+(0,d.nV)().state.padding),d.cM.info(x)}W++},"drawEdge"),N={},v=(0,d.eW)(function(){},"setConf"),H=(0,d.eW)(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")},"insertMarkers"),z=(0,d.eW)(function(t,e,a,i){let r;n=(0,d.nV)().state;let o=(0,d.nV)().securityLevel;"sandbox"===o&&(r=(0,s.Ys)("#i"+e));let g="sandbox"===o?(0,s.Ys)(r.nodes()[0].contentDocument.body):(0,s.Ys)("body"),l="sandbox"===o?r.nodes()[0].contentDocument:document;d.cM.debug("Rendering diagram "+t);let p=g.select(`[id='${e}']`);H(p),D(i.db.getRootDoc(),p,void 0,!1,g,l,i);let h=n.padding,c=p.node().getBBox(),x=c.width+2*h,V=c.height+2*h;(0,d.v2)(p,V,1.75*x,n.useMaxWidth),p.attr("viewBox",`${c.x-n.padding} ${c.y-n.padding} `+x+" "+V)},"draw"),T=(0,d.eW)(t=>t?t.length*n.fontSizeFactor:1,"getLabelWidth"),D=(0,d.eW)((t,e,a,i,r,s,l)=>{let p;let h=new g.k({compound:!0,multigraph:!0}),c=!0;for(p=0;p{let e=t.parentElement,a=0,n=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),Number.isNaN(n=parseInt(e.getAttribute("data-x-shift"),10))&&(n=0)),t.setAttribute("x1",0-n+8),t.setAttribute("x2",a-n-8)})):d.cM.debug("No Node "+t+": "+JSON.stringify(h.node(t)))});let w=y.getBBox();h.edges().forEach(function(t){void 0!==t&&void 0!==h.edge(t)&&(d.cM.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(h.edge(t))),E(e,h.edge(t),h.edge(t).relation))}),w=y.getBBox();let B={id:a||"root",label:a||"root",width:0,height:0};return B.width=w.width+2*n.padding,B.height=w.height+2*n.padding,d.cM.debug("Doc rendered",B,h),B},"renderDoc"),L={parser:i.J8,db:i.bH,renderer:{setConf:v,draw:z},styles:i.Ee,init:(0,d.eW)(t=>{!t.state&&(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.bH.clear()},"init")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/7717.62fafe66.js b/pr-preview/pr-5/assets/js/7717.62fafe66.js new file mode 100644 index 0000000..b0e7bff --- /dev/null +++ b/pr-preview/pr-5/assets/js/7717.62fafe66.js @@ -0,0 +1,19 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7717"],{54301:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={schemaItem:"schemaItem_buZn",schemaName:"schemaName_Rg3q",strikethrough:"strikethrough_g4yO"}},72893:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={constant:"constant_erHY"}},80740:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={deprecated:"deprecated_iwIh"}},27177:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={readOnly:"readOnly_RjRF"}},96043:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={required:"required_k7Xu"}},28728:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});let n={writeOnly:"writeOnly_QX6I"}},69655:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;t.Cache=class e{constructor(e={}){this._stats={hits:0,misses:0},this._data={},this._stdTTL=e.stdTTL}get stats(){return this._stats}get(e){let t=this._data[e];if(t&&(!this._stdTTL||new Date().getTime()-t.ts{!r&&(r="#");let a=this._runner.computeRef({val:e,jsonPointer:r,pointerStack:n});if(void 0!==a)this._resolveRef({ref:a,val:e,parentPath:t,pointerStack:n,parentPointer:r,cacheKey:r,resolvingPointer:this.jsonPointer});else if("object"==typeof e)for(let i in e){if(!e.hasOwnProperty(i))continue;let u=e[i],l=o.addToJSONPointer(r,i);a=this._runner.computeRef({key:i,val:u,jsonPointer:l,pointerStack:n}),t.push(i),void 0!==a?this._resolveRef({ref:a,val:u,parentPath:t,parentPointer:l,pointerStack:n,cacheKey:o.uriToJSONPointer(a),resolvingPointer:this.jsonPointer}):"object"==typeof u&&this.computeGraph(u,t,l,n),t.pop()}},this._resolveRef=e=>{let{pointerStack:t,parentPath:r,parentPointer:a,ref:u}=e;if(o.uriIsJSONPointer(u)){if(this._runner.dereferenceInline){let e;let l=o.uriToJSONPointer(u);try{e=(0,n.pointerToPath)(l)}catch(e){this._resolved.errors.push({code:"PARSE_POINTER",message:`'${u}' JSON pointer is invalid`,uri:this._runner.baseUri,uriStack:this._runner.uriStack,pointerStack:[],path:[]});return}let s=e.length>0;for(let t in e)if(r[t]!==e[t]){s=!1;break}if(s)return;!this.pointerStemGraph.hasNode(l)&&this.pointerStemGraph.addNode(l);let c="#",f="";for(let t=0;t{if(t&&"object"==typeof t&&"string"==typeof t.$ref)return t.$ref};class g{constructor(e,r=new o.DepGraph({circular:!0}),u={}){this.ctx={},this.computeRef=e=>{let t=this.getRef(e.key,e.val);if(void 0===t)return;let r=new f.ExtendedURI(t);if("#"!==t[0]){if(this.isFile(r)){let e=r.toString();!r.is("absolute")&&(e=this.baseUri.toString()?(0,i.join)((0,i.dirname)(this.baseUri.toString()),(0,i.stripRoot)(e)):""),e&&(r=new c((0,i.toFSPath)(e)).fragment(r.fragment()))}else(r.scheme().includes("http")||""===r.scheme()&&this.baseUri.scheme().includes("http"))&&""!==this.baseUri.authority()&&""===r.authority()&&(r=r.absoluteTo(this.baseUri))}return(String(r).length>0&&this.isFile(this.baseUri)&&this.isFile(r)&&this.baseUri.path()===r.path()&&(r=new f.ExtendedURI(`#${r.fragment()}`)),this.transformRef)?this.transformRef(Object.assign(Object.assign({},e),{ref:r,uri:this.baseUri}),this.ctx):r},this.atMaxUriDepth=()=>this.uriStack.length>=100,this.lookupUri=e=>n.__awaiter(this,void 0,void 0,function*(){let{ref:t}=e,r=t.scheme();!this.resolvers[r]&&this.isFile(t)&&(r="file");let n=this.resolvers[r];if(!n)throw Error(`No resolver defined for scheme '${t.scheme()||"file"}' in ref ${t.toString()}`);let a=yield n.resolve(t,this.ctx);if(this.parseResolveResult)try{a=(yield this.parseResolveResult({uriResult:a,result:a,targetAuthority:t,parentAuthority:this.baseUri,parentPath:e.parentPath,fragment:e.fragment})).result}catch(e){throw Error(`Could not parse remote reference response for '${t.toString()}' - ${String(e)}`)}return new g(a,this.graph,{depth:this.depth+1,baseUri:t.toString(),root:t,uriStack:this.uriStack,uriCache:this.uriCache,resolvers:this.resolvers,transformRef:this.transformRef,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult,dereferenceRemote:this.dereferenceRemote,dereferenceInline:this.dereferenceInline,ctx:this.ctx})}),this.lookupAndResolveUri=e=>n.__awaiter(this,void 0,void 0,function*(){let{val:t,ref:r,resolvingPointer:n,parentPointer:i,pointerStack:o}=e,u=e.parentPath?e.parentPath.slice():[],l=this.computeUriCacheKey(r),c={uri:r,pointerStack:o,targetPath:n===i?[]:u};if(this.uriStack.includes(l))c.resolved={result:t,graph:this.graph,refMap:{},errors:[],runner:this};else{let e;let n=this.baseUri.toString(),i=n&&0!==this.depth?n:null;try{if(this.atMaxUriDepth())throw Error(`Max uri depth (${this.uriStack.length}) reached. Halting, this is probably a circular loop.`);e=yield this.lookupUri({ref:r.clone().fragment(""),fragment:r.fragment(),cacheKey:l,parentPath:u}),i&&(e.uriStack=e.uriStack.concat(i))}catch(e){c.error={code:"RESOLVE_URI",message:String(e),uri:r,uriStack:i?this.uriStack.concat(i):this.uriStack,pointerStack:o,path:u}}if(e&&(c.resolved=yield e.resolve({jsonPointer:p.uriToJSONPointer(r),parentPath:u}),c.resolved.errors.length)){for(let e of c.resolved.errors)if("POINTER_MISSING"===e.code&&e.path.join("/")===r.fragment().slice(1)){let n=r.fragment?(0,a.trimStart)(e.path,(0,a.trimStart)(r.fragment(),"/").split("/")):e.path;n&&n.length?s(c.resolved.result,n,t):c.resolved.result&&(c.resolved.result=t)}}}return c}),this.id=v+=1,this.depth=u.depth||0,this._source=e,this.resolvers=u.resolvers||{};let l=u.baseUri||"",h=new c(l||"");this.isFile(h)&&(h=new c((0,i.toFSPath)(l))),this.baseUri=h,this.uriStack=u.uriStack||[],this.uriCache=u.uriCache||new d.Cache,this.root=u.root&&u.root.toString()||this.baseUri.toString()||"root",this.graph=r,!this.graph.hasNode(this.root)&&this.graph.addNode(this.root,{refMap:{},data:this._source}),this.baseUri&&0===this.depth&&this.uriCache.set(this.computeUriCacheKey(this.baseUri),this),this.getRef=u.getRef||t.defaultGetRef,this.transformRef=u.transformRef,this.depth?this.dereferenceInline=!0:this.dereferenceInline=void 0===u.dereferenceInline||u.dereferenceInline,this.dereferenceRemote=void 0===u.dereferenceRemote||u.dereferenceRemote,this.parseResolveResult=u.parseResolveResult,this.transformDereferenceResult=u.transformDereferenceResult,this.ctx=u.ctx,this.lookupUri=m(this.lookupUri,{serializer:this._cacheKeySerializer,cache:{create:()=>this.uriCache}})}get source(){return this._source}resolve(e){return n.__awaiter(this,void 0,void 0,function*(){let t;let r={result:this.source,graph:this.graph,refMap:{},errors:[],runner:this},n=e&&e.jsonPointer&&e.jsonPointer.trim();if(n&&"#"!==n&&"#/"!==n){try{t=(0,a.pointerToPath)(n)}catch(e){return r.errors.push({code:"PARSE_POINTER",message:`'${n}' JSON pointer is invalid`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:[]}),r}r.result=l(r.result,t)}if(void 0===r.result)return r.errors.push({code:"POINTER_MISSING",message:`'${n}' does not exist @ '${this.baseUri.toString()}'`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:t||[]}),r;let i=new h.ResolveCrawler(this,n,r);i.computeGraph(r.result,t,n||"");let o=[];if(i.resolvers.length&&(o=yield Promise.all(i.resolvers)),o.length)for(let e of o){let n=e.targetPath;if(!n.length&&(n=t||[]),r.refMap[String(this.baseUri.clone().fragment((0,a.pathToPointer)(n)))]=String(e.uri),this._setGraphNodeEdge(String(this.root),(0,a.pathToPointer)(n),String(e.uri)),e.error&&r.errors.push(e.error),!!e.resolved)e.resolved.errors&&(r.errors=r.errors.concat(e.resolved.errors)),void 0!==e.resolved.result&&(this._source=(0,u.default)(this._source,t=>{if(e.resolved){if(!n.length)return e.resolved.result;s(t,n,e.resolved.result),this._setGraphNodeData(String(e.uri),e.resolved.result)}}))}if("object"==typeof this._source?(this.dereferenceInline&&(this._source=(0,u.default)(this._source,e=>{let t=[];try{for(let n of t=i.pointerGraph.overallOrder()){let t=i.pointerGraph.dependantsOf(n);if(!t.length)continue;let o=(0,a.pointerToPath)(n),c=0===o.length?(0,u.original)(e):l(e,o);for(let u of t){let t;let l=(0,a.pointerToPath)(u);for(let e of i.pointerStemGraph.dependenciesOf(n))if((0,a.startsWith)(l,(0,a.pointerToPath)(e))){t=!0;break}!t&&(r.refMap[(0,a.pathToPointer)(l)]=(0,a.pathToPointer)(o),this._setGraphNodeEdge(this.root,(0,a.pathToPointer)(l),(0,a.pathToPointer)(o)),void 0!==c?(s(e,l,c),this._setGraphNodeData((0,a.pathToPointer)(o),c)):r.errors.push({code:"POINTER_MISSING",message:`'${n}' does not exist`,path:l,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[]}))}}}catch(e){}})),t?r.result=l(this._source,t):r.result=this._source):r.result=this._source,this.transformDereferenceResult){let a=new c(n||"");try{let{result:t,error:n}=yield this.transformDereferenceResult({source:this.source,result:r.result,targetAuthority:a,parentAuthority:this.baseUri,parentPath:e&&e.parentPath||[],fragment:a.fragment()});if(r.result=t,n)throw Error(`Could not transform dereferenced result for '${a.toString()}' - ${String(n)}`)}catch(e){r.errors.push({code:"TRANSFORM_DEREFERENCED",message:`Error: Could not transform dereferenced result for '${this.baseUri.toString()}${""!==a.fragment()?`#${a.fragment()}`:""}' - ${String(e)}`,uri:a,uriStack:this.uriStack,pointerStack:[],path:t})}}return this._setGraphNodeData(this.root,this._source),r})}_cacheKeySerializer(e){return e&&"object"==typeof e&&e.cacheKey?e.cacheKey:JSON.stringify(arguments)}computeUriCacheKey(e){return e.clone().fragment("").toString()}isFile(e){let t=e.scheme();if("file"===t)return!0;if(t){if(!this.resolvers[t])return!0}else{if("/"===e.toString().charAt(0))return!0;if(this.baseUri){let e=this.baseUri.scheme();return!!(!e||"file"===e||!this.resolvers[e])}}return!1}_setGraphNodeData(e,t){if(!this.graph.hasNode(e))return;let r=this.graph.getNodeData(e)||{};r.data=t,this.graph.setNodeData(e,r)}_setGraphNodeEdge(e,t,r){if(!this.graph.hasNode(e))return;let n=this.graph.getNodeData(e)||{};n.refMap=n.refMap||{},n.refMap[t]=r,this.graph.setNodeData(e,n)}}t.ResolveRunner=g},16283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedURI=void 0;let n=r(54998);t.ExtendedURI=class e extends n{constructor(e){super(e),this._value=e.trim()}get length(){return this._value.length}}},32234:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriIsJSONPointer=t.uriToJSONPointer=t.addToJSONPointer=void 0;let r=(e,t,r)=>{let n=e.toString(),a="",i=n,o=0,u=i.indexOf(t);for(;u>-1;)a+=n.substring(o,o+u)+r,i=i.substring(u+t.length,i.length),o+=u+t.length,u=i.indexOf(t);return i.length>0&&(a+=n.substring(n.length-i.length,n.length)),a},n=e=>r(r(e,"~","~0"),"/","~1");t.addToJSONPointer=(e,t)=>`${e}/${n(t)}`;t.uriToJSONPointer=e=>"length"in e&&0===e.length?"":""!==e.fragment()?`#${e.fragment()}`:""===e.href()?"#":"";t.uriIsJSONPointer=e=>(!("length"in e)||e.length>0)&&""===e.path()},85504:function(e,t,r){"use strict";r.r(t),r.d(t,{getLocationForJsonPath:()=>eh,ERRORS_ROOT:()=>en,getLastPathSegment:()=>ed,decycle:()=>eu,encodeUriPointer:()=>$,extractPointerFromRef:()=>es,getFirstPrimitiveProperty:()=>ec,parseTree:()=>em,toPropertyPath:()=>ek,trapAccess:()=>eI,isExternalRef:()=>K,decodePointerFragment:()=>eo,safeStringify:()=>eP,startsWith:()=>ew,KEYS:()=>eA,BUNDLE_ROOT:()=>er,safeParse:()=>ej,renameObjectKey:()=>eg,extractSourceFromRef:()=>Z,resolveInlineRefWithLocation:()=>et,pointerToPath:()=>B,resolveExternalRef:()=>eE,isPlainObject:()=>A,stringify:()=>eS,traverse:()=>W,resolveInlineRef:()=>ee,parseWithPointers:()=>ep,isLocalRef:()=>D,decodePointer:()=>J,encodePointerUriFragment:()=>z,remapRefs:()=>G,hasRef:()=>R,reparentBundleTarget:()=>e_,getJsonPathForPosition:()=>ef,trimStart:()=>eR,resolveExternalRefWithLocation:()=>eO,encodePointer:()=>el,bundleTarget:()=>ea,decodePointerUriFragment:()=>J,pathToPointer:()=>F,encodePointerFragment:()=>T});var n,a,i,o,u,l,s,c,f,d,h,p=r("96486"),m=r("75966");function v(e,t){void 0===t&&(t=!1);var r=e.length,n=0,a="",i=0,o=16,u=0,l=0,s=0,c=0,f=0;function d(){if(a="",f=0,i=n,l=u,c=s,n>=r)return i=r,o=17;var t=e.charCodeAt(n);if(g(t)){do n++,a+=String.fromCharCode(t),t=e.charCodeAt(n);while(g(t));return o=15}if(y(t))return n++,a+=String.fromCharCode(t),13===t&&10===e.charCodeAt(n)&&(n++,a+="\n"),u++,s=n,o=14;switch(t){case 123:return n++,o=1;case 125:return n++,o=2;case 91:return n++,o=3;case 93:return n++,o=4;case 58:return n++,o=6;case 44:return n++,o=5;case 34:return n++,a=function(){for(var t="",a=n;;){if(n>=r){t+=e.substring(a,n),f=2;break}var i=e.charCodeAt(n);if(34===i){t+=e.substring(a,n),n++;break}if(92===i){if(t+=e.substring(a,n),++n>=r){f=2;break}switch(e.charCodeAt(n++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:var o=function(t,r){for(var a=0,i=0;a<4||!r;){var o=e.charCodeAt(n);if(o>=48&&o<=57)i=16*i+o-48;else if(o>=65&&o<=70)i=16*i+o-65+10;else if(o>=97&&o<=102)i=16*i+o-97+10;else break;n++,a++}return a=0?t+=String.fromCharCode(o):f=4;break;default:f=5}a=n;continue}if(i>=0&&i<=31){if(y(i)){t+=e.substring(a,n),f=2;break}f=6}n++}return t}(),o=10;case 47:var d=n-1;if(47===e.charCodeAt(n+1)){for(n+=2;n=12&&e<=15);return e}:d,getToken:function(){return o},getTokenValue:function(){return a},getTokenOffset:function(){return i},getTokenLength:function(){return n-i},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return i-c},getTokenError:function(){return f}}}function g(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function y(e){return 10===e||13===e||8232===e||8233===e}function _(e){return e>=48&&e<=57}(l||(l={})).DEFAULT={allowTrailingComma:!1};var b=function e(t,r,n){var a,i,o;if(void 0===n&&(n=!1),a=t,i=r,void 0===(o=n)&&(o=!1),i>=a.offset&&i0){for(var a=n.getToken();17!==a;){if(-1!==t.indexOf(a)){_();break}if(-1!==r.indexOf(a))break;a=_()}}}function E(e){var t=n.getTokenValue();return e?d(t):u(t),_(),!0}function O(){switch(n.getToken()){case 3:return function(){c(),_();for(var e=!1;4!==n.getToken()&&17!==n.getToken();){if(5===n.getToken()){if(!e&&b(4,[],[]),h(","),_(),4===n.getToken()&&y)break}else e&&b(6,[],[]);!O()&&b(4,[],[4,5]),e=!0}return f(),4!==n.getToken()?b(8,[4],[]):_(),!0}();case 1:return function(){o(),_();for(var e=!1;2!==n.getToken()&&17!==n.getToken();){if(5===n.getToken()){if(!e&&b(4,[],[]),h(","),_(),2===n.getToken()&&y)break}else e&&b(6,[],[]);!(10!==n.getToken()?(b(3,[],[2,5]),!1):(E(!1),6===n.getToken()?(h(":"),_(),!O()&&b(4,[],[2,5])):b(5,[],[2,5]),!0))&&b(4,[],[2,5]),e=!0}return s(),2!==n.getToken()?b(7,[2],[]):_(),!0}();case 10:return E(!0);default:return function(){switch(n.getToken()){case 11:var e=0;try{e=JSON.parse(n.getTokenValue()),"number"!=typeof e&&(b(2),e=0)}catch(e){b(2)}d(e);break;case 7:d(null);break;case 8:d(!0);break;case 9:d(!1);break;default:return!1}return _(),!0}()}}if(_(),17===n.getToken())return!!r.allowEmptyContent||(b(4,[],[]),!1);return O()?(17!==n.getToken()&&b(9,[],[]),!0):(b(4,[],[]),!1)};let j=Math.floor(Date.now()/36e5),x=`__object_order_${j}__`,P=Symbol.for(x);String(P);let w={defineProperty:(e,t,r)=>(!Object.prototype.hasOwnProperty.call(e,t)&&P in e?e[P].push(t):"value"in r&&t===P&&-1===r.value.lastIndexOf(P)&&r.value.push(P),Reflect.defineProperty(e,t,r)),deleteProperty(e,t){let r=Object.prototype.hasOwnProperty.call(e,t),n=Reflect.deleteProperty(e,t);if(n&&r&&P in e){let r=e[P].indexOf(t);-1!==r&&e[P].splice(r,1)}return n},ownKeys:e=>P in e?e[P]:Reflect.ownKeys(e),set(e,t,r){let n=Object.prototype.hasOwnProperty.call(e,t),a=Reflect.set(e,t,r);return a&&!n&&P in e&&e[P].push(t),a}};function S(e){return null!==e&&"object"==typeof e}(n=s||(s={})).None="none",n.Declared="declared",n.InheritedFromService="inheritedFromService",(a=c||(c={})).Unspecified="unspecified",a.Simple="simple",a.Matrix="matrix",a.Label="label",a.Form="form",a.CommaDelimited="commaDelimited",a.SpaceDelimited="spaceDelimited",a.PipeDelimited="pipeDelimited",a.DeepObject="deepObject",a.TabDelimited="tabDelimited",(i=f||(f={}))[i.Error=0]="Error",i[i.Warning=1]="Warning",i[i.Information=2]="Information",i[i.Hint=3]="Hint",(o=d||(d={})).Article="article",o.HttpService="http_service",o.HttpServer="http_server",o.HttpOperation="http_operation",o.HttpCallback="http_callback",o.Model="model",o.Generic="generic",o.Unknown="unknown",o.TableOfContents="table_of_contents",o.SpectralRuleset="spectral_ruleset",o.Styleguide="styleguide",o.Image="image",o.StoplightResolutions="stoplight_resolutions",o.StoplightOverride="stoplight_override",(u=h||(h={})).Json="json",u.Markdown="markdown",u.Yaml="yaml",u.Javascript="javascript",u.Apng="apng",u.Avif="avif",u.Bmp="bmp",u.Gif="gif",u.Jpeg="jpeg",u.Png="png",u.Svg="svg",u.Webp="webp";var k=r("87668"),C=r.n(k);function A(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype||"function"==typeof e.constructor&&Function.toString.call(Object)===Function.toString.call(e.constructor)}function M(e){if("string"!=typeof e.$ref)throw TypeError("$ref should be a string")}let I=e=>A(e)&&"$ref"in e,R=e=>I(e)&&"string"==typeof e.$ref,D=e=>e.length>0&&("#"===e||/^#\S*$/.test(e)),N=(e,t,r)=>{let n=e.toString(),a="",i=n,o=0,u=i.indexOf(t);for(;u>-1;)a+=n.substring(o,o+u)+r,i=i.substring(u+t.length,i.length),o+=u+t.length,u=i.indexOf(t);return i.length>0&&(a+=n.substring(n.length-i.length,n.length)),a},T=e=>"number"==typeof e?e:N(N(e,"~","~0"),"/","~1"),L=/[^a-zA–Z0–9_.!~*'()\/\-\u{D800}-\u{DFFF}]/gu;function $(e){return e.replace(L,encodeURIComponent)}let z=e=>{let t=T(e);return"number"==typeof t?t:$(t)},F=e=>U(e),U=e=>{if(e&&"object"!=typeof e)throw TypeError("Invalid type: path must be an array of segments.");return 0===e.length?"#":`#/${e.map(z).join("/")}`};function Q(e){try{return decodeURIComponent(e)}catch(t){return e}}let q=/%[0-9a-f]+/gi,J=e=>{let t;try{t=decodeURIComponent(e)}catch(r){t=e.replace(q,Q)}return N(N(t,"~1","/"),"~0","~")},B=e=>H(e),H=e=>{if("string"!=typeof e)throw TypeError("Invalid type: JSON Pointers are represented as strings.");if(0===e.length||"#"!==e[0])throw URIError("Invalid JSON Pointer syntax; URI fragment identifiers must begin with a hash.");if(1===e.length)return[];if("/"!==e[1])throw URIError("Invalid JSON Pointer syntax.");return(e=>{let t=e.length,r=[],n=-1;for(;++n{let n={value:e,path:r};for(let a of(t.onEnter&&t.onEnter(n),Object.keys(e))){let n=e[a];t.onProperty&&t.onProperty({parent:e,parentPath:r,property:a,propertyValue:n}),"object"==typeof n&&null!==n&&V(n,t,r.concat(a))}t.onLeave&&t.onLeave(n)},W=(e,t)=>{"object"==typeof e&&null!==e&&V(e,"function"==typeof t?{onProperty:t}:t,[])};function G(e,t,r){W(e,{onProperty({property:e,propertyValue:n,parent:a}){"$ref"===e&&"string"==typeof n&&n.startsWith(t)&&(a.$ref=`${r}${n.slice(t.length)}`)}})}let K=e=>e.length>0&&"#"!==e[0],Z=e=>{if("string"!=typeof e||0===e.length||!K(e))return null;let t=e.indexOf("#");return -1===t?e:e.slice(0,t)};function X(e,t){return A(t)&&A(e)&&("summary"in e||"description"in e)?Object.assign(Object.assign(Object.assign({},t),"description"in e?{description:e.description}:null),"summary"in e?{summary:e.summary}:null):t}function*Y(e,t,r){for(let[n,a]of(I(e.value)&&(M(e.value),yield[-1,e.value]),t.entries()))(function(e,t,r){if(!A(e)&&!Array.isArray(e)||!(t in e))throw ReferenceError(`Could not resolve '${r}'`)})(e.value,a,r),e.value=e.value[a],I(e.value)&&(M(e.value),yield[n,e.value])}function ee(e,t){return et(e,t).value}function et(e,t){return function e(t,r,n,a){if(null!==Z(r))throw ReferenceError("Cannot resolve external references");let i=B(r),o=[...i];"#"===r&&I(t)&&(M(t),i.unshift(...B(t.$ref)));let u={value:t};for(let[l,s]of Y(u,i,r)){if(n.includes(s))return{source:null,location:null!=a?a:o,value:n[n.length-1]};n.push(s);let r=e(t,s.$ref,n,o);u.value=r.value,(o=r.location).push(...i.slice(l+1))}return{source:null,location:o,value:n.length>0?X(n[n.length-1],u.value):u.value}}(e,t,[])}let er="#/__bundled__",en="#/__errors__",ea=({document:e,path:t,bundleRoot:r="#/__bundled__",errorsRoot:n="#/__errors__",cloneDocument:a=!0,keyProvider:i},o)=>{if(t===r||t===n)throw Error("Roots do not make any sense");return ei(a?(0,p.cloneDeep)(e):e,B(r),B(n),t,i)(t,{[t]:!0},o)},ei=(e,t,r,n,a)=>{let i=new Set,o=(u,l,s,c={},f={},d={})=>{let h=B(u),m=(0,p.get)(e,h);W(s||m,{onEnter:({value:r})=>{if(R(r)&&D(r.$ref)){let s,h,m,v,g;let y=r.$ref;if(!d[y]){if(y===u&&(c[y]="#"),c[y])return void(r.$ref=c[y]);try{let r;s=B(y),a&&(r=a({document:e,path:s})),r||(r=(({document:e,path:t})=>0===t.length?"root":Array.isArray((0,p.get)(e,t.slice(0,-1)))?`${t[t.length-2]}_${t[t.length-1]}`:String(t[t.length-1]))({document:e,path:s})),m=r;let n=1;for(;i.has(m);)if(m=`${r}_${++n}`,n>20)throw Error(`Keys ${r}_2 through ${r}_20 already taken.`);i.add(m),h=[...t,m],v=F(h)}catch(e){d[y]=e instanceof Error?e.message:String(e)}if(s&&h&&v){if("object"==typeof e&&null!==e&&!(g=(0,p.get)(e,s)))try{g=ee(Object(e),y)}catch(e){}void 0!==g&&(c[y]=v,r.$ref=v,(0,p.has)(f,h)||(Array.isArray(g)?(0,p.set)(f,h,Array(g.length).fill(null)):"object"==typeof g&&(0,p.setWith)(f,h,{},Object),(0,p.set)(f,h,g),"#"===y?function(e,t,r,n){let a=r.map(e=>`[${JSON.stringify(e)}]`).join(""),i=JSON.parse(JSON.stringify((0,p.omit)(Object(e),a))),o={};(0,p.set)(t,n,i),(0,p.set)(i,r,o),G(i,"#",F(n)),o.$ref="#"}(e,f,B(n),h):l[y]||(l[y]=!0,o(u,l,g,c,f,d),l[y]=!1)))}}}}});let v=(0,p.get)(f,t);return v&&Object.keys(v).length&&(0,p.set)(m,t,v),(Object.keys(d).length||(0,p.has)(e,r))&&(0,p.set)(m,r,(0,p.has)(e,r)?(0,p.get)(e,r):d),m};return o},eo=e=>N(N(e,"~1","/"),"~0","~"),eu=(e,t)=>{let r=new WeakMap;return function e(n,a){let i;if(t&&(n=t(n)),A(n)||Array.isArray(n)){let t=r.get(n);return t?{$ref:t}:(r.set(n,F(a)),Array.isArray(n)?i=n.map((t,r)=>e(t,[...a,String(r)])):(i={},Object.keys(n).forEach(t=>{i[t]=e(n[t],[...a,t])})),r.delete(n),i)}return n}(e,[])},el=e=>N(N(e,"~","~0"),"//","/~1"),es=e=>{if("string"!=typeof e||0===e.length)return null;let t=e.indexOf("#");return -1===t?null:e.slice(t)},ec=e=>{let t=v(e,!0);if(t.scan(),1!==t.getToken()||(t.scan(),2===t.getToken()))return;if(10!==t.getToken())throw SyntaxError("Unexpected character");let r=t.getTokenValue();if(t.scan(),6!==t.getToken())throw SyntaxError("Colon expected");switch(t.scan(),t.getToken()){case 10:return[r,t.getTokenValue()];case 11:return[r,Number(t.getTokenValue())];case 8:return[r,!0];case 9:return[r,!1];case 7:return[r,null];case 16:throw SyntaxError("Unexpected character");case 17:throw SyntaxError("Unexpected end of file");default:return}},ef=({lineMap:e,ast:t},r)=>{let n=e[r.line],a=e[r.line+1];if(void 0===n)return;let i=b(t,void 0===a?n+r.character:Math.min(a,n+r.character),!0);if(void 0===i)return;let o=E(i);return 0!==o.length?o:void 0};function ed(e){return eo(e.split("/").pop()||"")}let eh=({ast:e},t,r=!1)=>{let n=function(e,t,r){e:for(let n of t){let t=Number.isInteger(Number(n))?Number(n):n;if("string"==typeof t||"number"==typeof t&&"array"!==e.type){if("object"!==e.type||!Array.isArray(e.children))return r?e:void 0;for(let r of e.children)if(Array.isArray(r.children)&&r.children[0].value===String(t)&&2===r.children.length){e=r.children[1];continue e}return r?e:void 0}if("array"!==e.type||t<0||!Array.isArray(e.children)||t>=e.children.length)return r?e:void 0;e=e.children[t]}return e}(e,t,r);if(void 0!==n&&void 0!==n.range)return{range:n.range}},ep=(e,t={disallowComments:!0})=>{let r=[],{ast:n,data:a,lineMap:i}=em(e,r,t);return{data:a,diagnostics:r,ast:n,lineMap:i}};function em(e,t=[],r){let n=ev(e),a={type:"array",offset:-1,length:-1,children:[],parent:void 0},i=null,o=[],u=new WeakMap,l=[];function s(e){"property"===a.type&&(a.length=e-a.offset,a=a.parent)}function c(e,t,r){return{start:{line:e,character:t},end:{line:e,character:t+r}}}function d(e){return a.children.push(e),e}function h(e){Array.isArray(o)?o.push(e):null!==i&&(o[i]=e)}function p(e){h(e),l.push(o),o=e,i=null}function m(){o=l.pop()}O(e,{onObjectBegin:(e,t,n,i)=>{a=d({type:"object",offset:e,length:-1,parent:a,children:[],range:c(n,i,t)}),!1===r.ignoreDuplicateKeys&&u.set(a,[]),p(!0===r.preserveKeyOrder?function(e,t=Reflect.ownKeys(e)){(function(e,t){if(function(){return"undefined"==typeof process||!S(process)||S(process.env),!1}()&&!function(e){if(!S(e))return!1;if(void 0!==e[Symbol.toStringTag]){let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}return"Object"===function(e){let t=e[Symbol.toStringTag];if("string"==typeof t)return t;let r=Reflect.apply(Object.prototype.toString,e,[]);return r.slice(8,r.length-1)}(e)}(e))throw TypeError(t)})(e);let r=new Proxy(e,w);return function(e,t){P in e?(e[P].length=0,e[P].push(...t),!0):Reflect.defineProperty(e,P,{configurable:!0,value:t})}(r,t),r}({}):{})},onObjectProperty:(e,n,l,s,h)=>{if((a=d({type:"property",offset:n,length:-1,parent:a,children:[]})).children.push({type:"string",value:e,offset:n,length:l,parent:a}),!1===r.ignoreDuplicateKeys){let r=u.get(a.parent);r&&(0!==r.length&&r.includes(e)?t.push({range:c(s,h,l),message:"DuplicateKey",severity:f.Error,path:function e(t,r=[]){return"property"===t.type&&r.unshift(t.children[0].value),void 0!==t.parent?("array"===t.parent.type&&void 0!==t.parent.parent&&r.unshift(t.parent.children.indexOf(t)),e(t.parent,r)):r}(a),code:20}):r.push(e))}!0===r.preserveKeyOrder&&function(e,t){if(!(t in e))return;let r=e[P],n=r.indexOf(t);-1!==n&&(r.splice(n,1),r.push(t))}(o,e),i=e},onObjectEnd:(e,t,n,i)=>{!1===r.ignoreDuplicateKeys&&u.delete(a),a.length=e+t-a.offset,a.range&&(a.range.end.line=n,a.range.end.character=i+t),a=a.parent,s(e+t),o=l.pop()},onArrayBegin:(e,t,r,n)=>{a=d({type:"array",offset:e,length:-1,parent:a,children:[],range:c(r,n,t)}),p([])},onArrayEnd:(e,t,r,n)=>{a.length=e+t-a.offset,a.range&&(a.range.end.line=r,a.range.end.character=n+t),a=a.parent,s(e+t),o=l.pop()},onLiteralValue:(e,t,r,n,i)=>{d({type:function(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}(e),offset:t,length:r,parent:a,value:e,range:c(n,i,r)}),s(t+r),h(e)},onSeparator:(e,t)=>{"property"===a.type&&(":"===e?a.colonOffset=t:","===e&&s(t))},onError:(e,r,n,a,i)=>{t.push({range:c(a,i,n),message:function(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return""}(e),severity:f.Error,code:e})}},r);let v=a.children[0];return v&&delete v.parent,{ast:v,data:o[0],lineMap:n}}let ev=e=>{let t=[0],r=0;for(;r{if(!e||!Object.hasOwnProperty.call(e,t)||t===r)return e;let n={};for(let[a,i]of Object.entries(e))a===t?n[r]=i:a in n||(n[a]=i);return n};function ey(e){return A(e)||Array.isArray(e)}function e_(e,t,r){if(r.length<=1||t.length<=1)throw Error("Source/target path must not be empty and point at root");if(0===t.indexOf(r))throw Error("Target path cannot be contained within source");let n=B(t),a=e;for(let e of n){if(!ey(a))return;a=a[e]}if(!ey(a))return;let i=B(r),o=e;for(let[e,t]of i.entries()){if(!ey(o)||t in o)return;let r=e===i.length-1?a:{};o[t]=r,o=r}delete e[n[0]],function e(t,r,n){for(let a of Object.keys(t)){let i=t[a];if("$ref"!==a)ey(i)&&e(i,r,n);else{if("string"!=typeof i||!D(i))continue;0===i.indexOf(r)&&(t[a]=i.replace(r,n))}}}(e,t,r)}async function eb(e,t,r,n,a){let i=function(e,t){let r=Z(t);return null===r?e:(0,m.isAbsolute)(r)?r:(0,m.join)((0,m.dirname)(e),r)}(t,r),o=es(r)||"#",u=await e[i],l=B(o),s=[...l],c={value:u};for(let[r,u]of Y(c,l,o)){if(n.includes(u))return{source:t,location:null!=a?a:s,value:n[n.length-1]};n.push(u);let o=await eb(e,i,u.$ref,n,s);({source:i,location:s}=o),c.value=o.value,s.push(...l.slice(r+1))}return{source:i,location:s,value:n.length>0?X(n[n.length-1],c.value):c.value}}async function eE(e,t,r){return(await eO(e,t,r)).value}function eO(e,t,r){return eb(e,t,r,[])}let ej=(e,t)=>{if("string"!=typeof e)return e;try{let r=ex(e);return"string"==typeof r?r:JSON.parse(e,t)}catch(e){return}},ex=e=>{let t=Number(e);return Number.isFinite(t)?String(t)===e?t:e:NaN},eP=(e,t,r)=>{if("string"==typeof e)return e;try{return JSON.stringify(e,t,r)}catch(n){return C()(e,t,r)}},ew=(e,t)=>{if(e instanceof Array){if(t instanceof Array){if(t.length>e.length)return!1;for(let r in t){if(!t.hasOwnProperty(r))continue;let n=parseInt(e[r]),a=parseInt(t[r]);if(isNaN(n)&&isNaN(a)){if(e[r]!==t[r])return!1}else if(n!==a)return!1}}}else{if("string"!=typeof e)return!1;if("string"==typeof t)return e.startsWith(t)}return!0},eS=(e,t,r)=>{let n=eP(e,t,r);if(void 0===n)throw Error("The value could not be stringified");return n};function ek(e){return e.replace(/^(\/|#\/)/,"").split("/").map(eo).map(eC).join(".")}function eC(e){return e.includes(".")?`["${e.replace(/"/g,'\\"')}"]`:e}let eA=Symbol.for(x),eM={ownKeys:e=>eA in e?e[eA]:Reflect.ownKeys(e)},eI=e=>new Proxy(e,eM);function eR(e,t){if("string"==typeof e&&"string"==typeof t)return(0,p.trimStart)(e,t);if(!(e&&Array.isArray(e)&&e.length&&t&&Array.isArray(t)&&t.length))return e;let r=0;for(let n in e)if(e.hasOwnProperty(n)){if(e[n]!==t[n])break;r++}return e.slice(r)}},75966:function(e,t,r){"use strict";function n(e){let t="";return e.absolute&&("file"===e.protocol?(e.drive&&(t+=e.drive),t+="/"):(t+=e.protocol+"://",e.origin&&(t+=e.origin+"/"))),""===(t+=e.path.join("/"))&&(t="."),t}function a(e,t,r,n){this.message=e,this.expected=t,this.found=r,this.location=n,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,a)}r.r(t),r.d(t,{basename:function(){return c},deserializeSrn:function(){return E},dirname:function(){return f},extname:function(){return d},format:function(){return n},isAbsolute:function(){return h},isURL:function(){return p},join:function(){return m},normalize:function(){return u},parse:function(){return o},relative:function(){return v},resolve:function(){return g},sep:function(){return y},serializeSrn:function(){return O},startsWithWindowsDrive:function(){return _},stripRoot:function(){return b},toFSPath:function(){return u}}),!function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(a,Error),a.buildMessage=function(e,t){var r,n={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t,r="";for(t=0;t0){for(t=1,r=1;tx&&(x=O,P=[]),P.push(e))}function M(){var t,r,n,a,i,o,l,s,c,f,p,m,v,y,_,b,E,j,x,P,w,S,k,C,M,L,z,F,U,Q,q,J;return r=O,(n=I())!==u&&(a=R())!==u&&(i=N())!==u&&(o=T())!==u?(l=n,s=a,c=i,f=o,r=n={protocol:l,origin:s,absolute:!0,...c,...f}):(O=r,r=u),r===u&&(r=O,(n=I())!==u&&(a=R())!==u&&((p="")!==u&&(p={drive:null}),(i=p)!==u)?r=n={protocol:n,origin:a,absolute:!0,...i,path:[]}:(O=r,r=u)),(t=r)===u&&(m=O,("file://"===e.substr(O,7).toLowerCase()?(b=e.substr(O,7),O+=7):(b=u,A(d)),b===u&&("file:"===e.substr(O,5).toLowerCase()?(b=e.substr(O,5),O+=5):(b=u,A(h))),b!==u&&(b="file"),(v=b)!==u&&(y=D())!==u&&(_=T())!==u)?(j=v,x=y,P=_,m=v={protocol:j,origin:null,absolute:!0,...x,...P}):(O=m,m=u),(t=m)===u)&&(w=O,(S=D())!==u&&(k=T())!==u?(C=S,M=k,w=S={protocol:"file",origin:null,absolute:!0,...C,...M}):(O=w,w=u),(t=w)===u)&&(L=O,(Q=O,46===e.charCodeAt(O)?(q=".",O++):(q=u,A(g)),q!==u&&(J=$())!==u?Q=q=[q,J]:(O=Q,Q=u),(U=Q)===u&&(U=""),(z=U)!==u&&(F=T())!==u)?L=z={protocol:null,origin:null,absolute:!1,drive:null,...F}:(O=L,L=u),t=L),t}function I(){var t,r,n,a,i;return"http://"===e.substr(O,7).toLowerCase()?(r=e.substr(O,7),O+=7):(r=u,A(c)),r!==u&&(r="http"),(t=r)===u&&("https://"===e.substr(O,8).toLowerCase()?(a=e.substr(O,8),O+=8):(a=u,A(f)),a!==u&&(a="https"),t=a),t}function R(){var t,r,n;if(t=O,r=[],(n=z())!==u)for(;n!==u;)r.push(n),n=z();else r=u;return(t=r!==u?e.substring(t,O):r)===u&&(t=O,(r="")!==u&&(r=null),t=r),t}function D(){var t,r,n,a,i;return r=O,(n=$())===u&&(n=null),n!==u?(p.test(e.charAt(O))?(a=e.charAt(O),O++):(a=u,A(m)),a!==u?(58===e.charCodeAt(O)?(i=":",O++):(i=u,A(v)),i!==u&&$()!==u?r=n={drive:a.toLowerCase()+":"}:(O=r,r=u)):(O=r,r=u)):(O=r,r=u),(t=r)===u&&(t=N()),t}function N(){var e;return(e=$())!==u&&(e={drive:null}),e}function T(){var e;return(e=function e(){var t,r,n;return t=O,(r=L())!==u&&$()!==u&&(n=e())!==u?t=r=[r,...n]:(O=t,t=u),t===u&&(t=O,(r=L())!==u&&(r=[r]),t=r),t}())!==u&&(e={path:e}),e}function L(){var t,r,n;if(t=O,r=[],(n=z())!==u)for(;n!==u;)r.push(n),n=z();else r=u;return(t=r!==u?e.substring(t,O):r)===u&&(t=""),t}function $(){var t;return 47===e.charCodeAt(O)?(t="/",O++):(t=u,A(y)),t===u&&(92===e.charCodeAt(O)?(t="\\",O++):(t=u,A(_))),t}function z(){var t;return b.test(e.charAt(O))?(t=e.charAt(O),O++):(t=u,A(E)),t}if((r=s())!==u&&O===e.length)return r;throw r!==u&&O""!==e&&"."!==e);let r=[];for(let n of t)".."===n&&r.length&&".."!==r[r.length-1]?r.pop():".."===n&&e.absolute||r.push(n);return e.path=r,e}function s(e){let t=e.lastIndexOf(".");".."===e&&(t=-1),"."===e&&(t=-1);let r=e,n="";return t>0&&(r=e.slice(0,t),n=e.slice(t)),{name:r,ext:n}}let c=(e,t)=>{let r=l(o(e)).path.pop();if(!r)return"";let{name:n,ext:a}=s(r);return!0===t||t===a?n:`${n}${a}`},f=e=>{let t=l(o(e));return t.path.pop(),n(l(t))},d=e=>{let t=l(o(e)).path.pop();if(!t)return"";let{ext:r}=s(t);return r};function h(e){return o(e).absolute}function p(e){let t=o(e);return"http"===t.protocol||"https"===t.protocol}let m=(...e)=>{if(0===e.length)return".";let t=e.map(o),r=Object.assign({},t[0]);for(let n=1;nnull!==o(e).drive,b=e=>o(e).path.filter(Boolean).join("/");function E(e){let t,r;let[n,a,i,...o]=e.split("/"),u=o.length?`/${o.join("/")}`:void 0;return u&&(t=o.find(e=>e.includes(".")))&&(r=s(t).ext),{shortcode:n,orgSlug:a,projectSlug:i,uri:u,file:t,ext:r}}function O({shortcode:e,orgSlug:t,projectSlug:r,uri:n=""}){return[e,t,r,n.replace(/^\//,"")].filter(Boolean).join("/")}},45357:function(e,t){function r(e,t,r,n){var i={};return function(o){if(!i[o]){var u={},l=[],s=[];for(s.push({node:o,processed:!1});s.length>0;){var c=s[s.length-1],f=c.processed,d=c.node;if(f)s.pop(),l.pop(),u[d]=!1,i[d]=!0,(!t||0===e[d].length)&&r.push(d);else{if(i[d]){s.pop();continue}if(u[d]){if(n){s.pop();continue}throw l.push(d),new a(l)}u[d]=!0,l.push(d);for(var h=e[d],p=h.length-1;p>=0;p--)s.push({node:h[p],processed:!1});c.processed=!0}}}}}var n=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};n.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){!this.hasNode(e)&&(2==arguments.length?this.nodes[e]=t:this.nodes[e]=e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach(function(t){Object.keys(t).forEach(function(r){var n=t[r].indexOf(e);n>=0&&t[r].splice(n,1)},this)}))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw Error("Node does not exist: "+e)},setNodeData:function(e,t){if(this.hasNode(e))this.nodes[e]=t;else throw Error("Node does not exist: "+e)},addDependency:function(e,t){if(!this.hasNode(e))throw Error("Node does not exist: "+e);if(!this.hasNode(t))throw Error("Node does not exist: "+t);return -1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var r;this.hasNode(e)&&(r=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(r,1),this.hasNode(t)&&(r=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(r,1)},clone:function(){var e=this,t=new n;return Object.keys(e.nodes).forEach(function(r){t.nodes[r]=e.nodes[r],t.outgoingEdges[r]=e.outgoingEdges[r].slice(0),t.incomingEdges[r]=e.incomingEdges[r].slice(0)}),t},directDependenciesOf:function(e){if(this.hasNode(e))return this.outgoingEdges[e].slice(0);throw Error("Node does not exist: "+e)},directDependantsOf:function(e){if(this.hasNode(e))return this.incomingEdges[e].slice(0);throw Error("Node does not exist: "+e)},dependenciesOf:function(e,t){if(this.hasNode(e)){var n=[];r(this.outgoingEdges,t,n,this.circular)(e);var a=n.indexOf(e);return a>=0&&n.splice(a,1),n}throw Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var n=[];r(this.incomingEdges,t,n,this.circular)(e);var a=n.indexOf(e);return a>=0&&n.splice(a,1),n}throw Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,n=[],a=Object.keys(this.nodes);if(0===a.length)return n;if(!this.circular){var i=r(this.outgoingEdges,!1,[],this.circular);a.forEach(function(e){i(e)})}var o=r(this.outgoingEdges,e,n,this.circular);return a.filter(function(e){return 0===t.incomingEdges[e].length}).forEach(function(e){o(e)}),this.circular&&a.filter(function(e){return -1===n.indexOf(e)}).forEach(function(e){o(e)}),n},entryNodes:function(){var e=this;return Object.keys(this.nodes).filter(function(t){return 0===e.incomingEdges[t].length})}},n.prototype.directDependentsOf=n.prototype.directDependantsOf,n.prototype.dependentsOf=n.prototype.dependantsOf;var a=t.DepGraphCycleError=function(e){var t=Error("Dependency Cycle Found: "+e.join(" -> "));return t.cyclePath=e,Object.setPrototypeOf(t,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(t,a),t};a.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(a,Error)},53316:function(e){function t(e,t,r,n){var a,i=null==(a=n)||"number"==typeof a||"boolean"==typeof a?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function r(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return void 0===i&&(i=e.apply(this,n),t.set(a,i)),i}function n(e,t,r,n,a){return r.bind(t,e,n,a)}function a(e,n){var a,i,o,u,l,s=1===e.length?t:r;return a=e,i=this,o=s,u=n.cache.create(),l=n.serializer,o.bind(i,a,u,l)}function i(){return JSON.stringify(arguments)}function o(){this.cache=Object.create(null)}o.prototype.has=function(e){return e in this.cache},o.prototype.get=function(e){return this.cache[e]},o.prototype.set=function(e,t){this.cache[e]=t};var u={create:function(){return new o}};e.exports=function(e,t){var r=t&&t.cache?t.cache:u,n=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:a)(e,{cache:r,serializer:n})},e.exports.strategies={variadic:function(e,t){var n,a,i,o,u;return n=e,a=this,i=r,o=t.cache.create(),u=t.serializer,i.bind(a,n,o,u)},monadic:function(e,r){var n,a,i,o,u;return n=e,a=this,i=t,o=r.cache.create(),u=r.serializer,i.bind(a,n,o,u)}}},8041:function(e,t){function r(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function u(e,t){return 2===o(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===o(e)?e.get(t):e[t]}function s(e,t,r){var n=o(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return q&&e instanceof Map}function d(e){return J&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=X(e);delete t[W];for(var r=Z(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&i(e,function(e,t){return m(t,!0)},!0)),e}function v(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=Y[e];return t||r(18,e),t}function _(e,t){Y[e]||(Y[e]=t)}function b(){return U}function E(e,t){t&&(y("Patches"),e.o=[],e.v=[],e.s=t)}function O(e){j(e),e.p.forEach(P),e.p=null}function j(e){e===U&&(U=e.l)}function x(e){return U={p:[],l:U,h:e,_:!0,m:0}}function P(e){var t=e[W];0===t.t||1===t.t?t.j():t.O=!0}function w(e,t){t.m=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.S||y("ES5").P(t,e,i),i?(n[W].g&&(O(t),r(4)),a(e)&&(e=S(t,e),t.l||C(t,e)),t.o&&y("Patches").M(n[W].u,e,t.o,t.v)):e=S(t,n,[]),O(t),t.o&&t.s(t.o,t.v),e!==H?e:void 0}function S(e,t,r){if(g(t))return t;var n=t[W];if(!n)return i(t,function(a,i){return k(e,n,t,a,i,r)},!0),t;if(n.A!==e)return t;if(!n.g)return C(e,n.u,!0),n.u;if(!n.R){n.R=!0,n.A.m--;var a=4===n.t||5===n.t?n.i=p(n.k):n.i,o=a,u=!1;3===n.t&&(o=new Set(a),a.clear(),u=!0),i(o,function(t,i){return k(e,n,a,t,i,r,u)}),C(e,a,!1),r&&e.o&&y("Patches").F(n,r,e.o,e.v)}return n.i}function k(e,t,r,i,o,l,c){if(n(o)){var f=S(e,o,l&&t&&3!==t.t&&!u(t.N,i)?l.concat(i):void 0);if(s(r,i,f),!n(f))return;e._=!1}else c&&r.add(o);if(a(o)&&!g(o)){if(!e.h.D&&e.m<1)return;S(e,o),t&&t.A.l||C(e,o)}}function C(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e._&&m(t,r)}function A(e,t){var r=e[W];return(r?h(r):e)[t]}function M(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function I(e){e.g||(e.g=!0,e.l&&I(e.l))}function R(e){e.i||(e.i=p(e.u))}function D(e,t,r){var n,a,i,o,u,l,s,c,h,p=f(t)?y("MapSet").K(t,r):d(t)?y("MapSet").$(t,r):e.S?(n=t,a=r,u=o={t:(i=Array.isArray(n))?1:0,A:a?a.A:U,g:!1,R:!1,N:{},l:a,u:n,k:null,i:null,j:null,C:!1},l=ee,i&&(u=[o],l=et),c=(s=Proxy.revocable(u,l)).revoke,h=s.proxy,o.k=h,o.j=c,h):y("ES5").I(t,r);return(r?r.A:U).p.push(p),p}function N(e){return n(e)||r(22,e),function e(t){if(!a(t))return t;var r,n=t[W],u=o(t);if(n){if(!n.g&&(n.t<4||!y("ES5").J(n)))return n.u;n.R=!0,r=T(t,u),n.R=!1}else r=T(t,u);return i(r,function(t,a){n&&l(n.u,t)===a||s(r,t,e(a))}),3===u?new Set(r):r}(e)}function T(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function L(){function e(e,t){var r=o[e];return r?r.enumerable=t:o[e]=r={configurable:!0,enumerable:t,get:function(){return ee.get(this[W],e)},set:function(t){ee.set(this[W],e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var n=e[t][W];if(!n.g)switch(n.t){case 5:a(n)&&I(n);break;case 4:r(n)&&I(n)}}}function r(e){for(var t=e.u,r=e.k,n=Z(r),a=n.length-1;a>=0;a--){var i=n[a];if(i!==W){var o=t[i];if(void 0===o&&!u(t,i))return!0;var l=r[i],s=l&&l[W];if(s?s.u!==o:!c(l,o))return!0}}var f=!!t[W];return n.length!==Z(t).length+(f?0:1)}function a(e){var t=e.k;if(t.length!==e.u.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n1?a-1:0),o=1;o1?n-1:0),i=1;i=0;r--){var r,a=t[r];if(0===a.path.length&&"replace"===a.op){e=a.value;break}}r>-1&&(t=t.slice(r+1));var i=y("Patches").W;return n(e)?i(e,t):this.produce(e,function(e){return i(e,t)})},e}(),en=new er,ea=en.produce,ei=en.produceWithPatches.bind(en),eo=en.setAutoFreeze.bind(en),eu=en.setUseProxies.bind(en),el=en.applyPatches.bind(en),es=en.createDraft.bind(en),ec=en.finishDraft.bind(en);t.Immer=er,t.applyPatches=el,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=es,t.current=N,t.default=ea,t.enableAllPlugins=function(){L(),z(),$()},t.enableES5=L,t.enableMapSet=z,t.enablePatches=$,t.finishDraft=ec,t.freeze=m,t.immerable=V,t.isDraft=n,t.isDraftable=a,t.nothing=H,t.original=function(e){return n(e)||r(23,e),e[W].u},t.produce=ea,t.produceWithPatches=ei,t.setAutoFreeze=eo,t.setUseProxies=eu},66312:function(e,t,r){"use strict";e.exports=r(8041)},1989:function(e,t,r){var n=r(51789),a=r(80401),i=r(57667),o=r(21327),u=r(81866);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1}},54705:function(e,t,r){var n=r(18470);e.exports=function(e,t){var r=this.__data__,a=n(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}},24785:function(e,t,r){var n=r(1989),a=r(38407),i=r(57071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||a),string:new n}}},11285:function(e,t,r){var n=r(45050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).get(e)}},49916:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).has(e)}},95265:function(e,t,r){var n=r(45050);e.exports=function(e,t){var r=n(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}},24523:function(e,t,r){var n=r(88306);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},94536:function(e,t,r){var n=r(10852)(Object,"create");e.exports=n},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,r){var n=r(31957),a="object"==typeof self&&self&&self.Object===Object&&self,i=n||a||Function("return this")();e.exports=i},55514:function(e,t,r){var n=r(24523),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,function(e,r,n,a){t.push(n?a.replace(i,"$1"):r||e)}),t});e.exports=o},40327:function(e,t,r){var n=r(33448),a=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},27361:function(e,t,r){var n=r(97786);e.exports=function(e,t,r){var a=null==e?void 0:n(e,t);return void 0===a?r:a}},1469:function(e){var t=Array.isArray;e.exports=t},23560:function(e,t,r){var n=r(44239),a=r(13218);e.exports=function(e){if(!a(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,r){var n=r(44239),a=r(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==n(e)}},96486:function(e,t,r){e=r.nmd(e),(function(){var n,a="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",u=1/0,l=0/0,s=0xfffffffe,c=0x7fffffff,f=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],d="[object Arguments]",h="[object Array]",p="[object Boolean]",m="[object Date]",v="[object Error]",g="[object Function]",y="[object GeneratorFunction]",_="[object Map]",b="[object Number]",E="[object Object]",O="[object Promise]",j="[object RegExp]",x="[object Set]",P="[object String]",w="[object Symbol]",S="[object WeakMap]",k="[object ArrayBuffer]",C="[object DataView]",A="[object Float32Array]",M="[object Float64Array]",I="[object Int8Array]",R="[object Int16Array]",D="[object Int32Array]",N="[object Uint8Array]",T="[object Uint8ClampedArray]",L="[object Uint16Array]",$="[object Uint32Array]",z=/\b__p \+= '';/g,F=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Q=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,J=RegExp(Q.source),B=RegExp(q.source),H=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,W=/<%=([\s\S]+?)%>/g,G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,Z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(X.source),ee=/^\s+/,et=/\s/,er=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,ea=/,? & /,ei=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,eo=/[()=,{}\[\]\/\s]/,eu=/\\(\\)?/g,el=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,es=/\w*$/,ec=/^[-+]0x[0-9a-f]+$/i,ef=/^0b[01]+$/i,ed=/^\[object .+?Constructor\]$/,eh=/^0o[0-7]+$/i,ep=/^(?:0|[1-9]\d*)$/,em=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ev=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,ey="\ud800-\udfff",e_="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",eE="a-z\\xdf-\\xf6\\xf8-\\xff",eO="A-Z\\xc0-\\xd6\\xd8-\\xde",ej="\\ufe0e\\ufe0f",ex="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",eP="['\u2019]",ew="["+ex+"]",eS="["+e_+"]",ek="["+eE+"]",eC="[^"+ey+ex+"\\d+"+eb+eE+eO+"]",eA="\ud83c[\udffb-\udfff]",eM="[^"+ey+"]",eI="(?:\ud83c[\udde6-\uddff]){2}",eR="[\ud800-\udbff][\udc00-\udfff]",eD="["+eO+"]",eN="\\u200d",eT="(?:"+ek+"|"+eC+")",eL="(?:"+eD+"|"+eC+")",e$="(?:"+eP+"(?:d|ll|m|re|s|t|ve))?",ez="(?:"+eP+"(?:D|LL|M|RE|S|T|VE))?",eF="(?:"+eS+"|"+eA+")?",eU="["+ej+"]?",eQ="(?:"+eN+"(?:"+[eM,eI,eR].join("|")+")"+eU+eF+")*",eq=eU+eF+eQ,eJ="(?:"+["["+eb+"]",eI,eR].join("|")+")"+eq,eB="(?:"+[eM+eS+"?",eS,eI,eR,"["+ey+"]"].join("|")+")",eH=RegExp(eP,"g"),eV=RegExp(eS,"g"),eW=RegExp(eA+"(?="+eA+")|"+eB+eq,"g"),eG=RegExp([eD+"?"+ek+"+"+e$+"(?="+[ew,eD,"$"].join("|")+")",eL+"+"+ez+"(?="+[ew,eD+eT,"$"].join("|")+")",eD+"?"+eT+"+"+e$,eD+"+"+ez,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",eJ].join("|"),"g"),eK=RegExp("["+eN+ey+e_+ej+"]"),eZ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eX=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eY=-1,e0={};e0[A]=e0[M]=e0[I]=e0[R]=e0[D]=e0[N]=e0[T]=e0[L]=e0[$]=!0,e0[d]=e0[h]=e0[k]=e0[p]=e0[C]=e0[m]=e0[v]=e0[g]=e0[_]=e0[b]=e0[E]=e0[j]=e0[x]=e0[P]=e0[S]=!1;var e1={};e1[d]=e1[h]=e1[k]=e1[C]=e1[p]=e1[m]=e1[A]=e1[M]=e1[I]=e1[R]=e1[D]=e1[_]=e1[b]=e1[E]=e1[j]=e1[x]=e1[P]=e1[w]=e1[N]=e1[T]=e1[L]=e1[$]=!0,e1[v]=e1[g]=e1[S]=!1;var e2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e6=parseFloat,e4=parseInt,e5="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,e3="object"==typeof self&&self&&self.Object===Object&&self,e9=e5||e3||Function("return this")(),e7=t&&!t.nodeType&&t,e8=e7&&e&&!e.nodeType&&e,te=e8&&e8.exports===e7,tt=te&&e5.process,tr=function(){try{var e=e8&&e8.require&&e8.require("util").types;if(e)return e;return tt&&tt.binding&&tt.binding("util")}catch(e){}}(),tn=tr&&tr.isArrayBuffer,ta=tr&&tr.isDate,ti=tr&&tr.isMap,to=tr&&tr.isRegExp,tu=tr&&tr.isSet,tl=tr&&tr.isTypedArray;function ts(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function tc(e,t,r,n){for(var a=-1,i=null==e?0:e.length;++a-1}function tv(e,t,r){for(var n=-1,a=null==e?0:e.length;++n-1;);return r}function tz(e,t){for(var r=e.length;r--&&tP(t,e[r],0)>-1;);return r}var tF=tA({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"}),tU=tA({"&":"&","<":"<",">":">",'"':""","'":"'"});function tQ(e){return"\\"+e2[e]}function tq(e){return eK.test(e)}function tJ(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function tB(e,t){return function(r){return e(t(r))}}function tH(e,t){for(var r=-1,n=e.length,a=0,i=[];++r",""":'"',"'":"'"}),tX=function e(t){var r,et,ey,e_,eb=(t=null==t?e9:tX.defaults(e9.Object(),t,tX.pick(e9,eX))).Array,eE=t.Date,eO=t.Error,ej=t.Function,ex=t.Math,eP=t.Object,ew=t.RegExp,eS=t.String,ek=t.TypeError,eC=eb.prototype,eA=ej.prototype,eM=eP.prototype,eI=t["__core-js_shared__"],eR=eA.toString,eD=eM.hasOwnProperty,eN=0;var eT=(r=/[^.]+$/.exec(eI&&eI.keys&&eI.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",eL=eM.toString,e$=eR.call(eP),ez=e9._,eF=ew("^"+eR.call(eD).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eU=te?t.Buffer:n,eQ=t.Symbol,eq=t.Uint8Array,eJ=eU?eU.allocUnsafe:n,eB=tB(eP.getPrototypeOf,eP),eW=eP.create,eK=eM.propertyIsEnumerable,e2=eC.splice,e5=eQ?eQ.isConcatSpreadable:n,e3=eQ?eQ.iterator:n,e7=eQ?eQ.toStringTag:n,e8=function(){try{var e=ab(eP,"defineProperty");return e({},"",{}),e}catch(e){}}(),tt=t.clearTimeout!==e9.clearTimeout&&t.clearTimeout,tr=eE&&eE.now!==e9.Date.now&&eE.now,tO=t.setTimeout!==e9.setTimeout&&t.setTimeout,tA=ex.ceil,tY=ex.floor,t0=eP.getOwnPropertySymbols,t1=eU?eU.isBuffer:n,t2=t.isFinite,t6=eC.join,t4=tB(eP.keys,eP),t5=ex.max,t3=ex.min,t9=eE.now,t7=t.parseInt,t8=ex.random,re=eC.reverse,rt=ab(t,"DataView"),rr=ab(t,"Map"),rn=ab(t,"Promise"),ra=ab(t,"Set"),ri=ab(t,"WeakMap"),ro=ab(eP,"create"),ru=ri&&new ri,rl={},rs=aH(rt),rc=aH(rr),rf=aH(rn),rd=aH(ra),rh=aH(ri),rp=eQ?eQ.prototype:n,rm=rp?rp.valueOf:n,rv=rp?rp.toString:n;function rg(e){if(i1(e)&&!iJ(e)&&!(e instanceof rE)){if(e instanceof rb)return e;if(eD.call(e,"__wrapped__"))return aV(e)}return new rb(e)}var ry=function(){function e(){}return function(t){if(!i0(t))return{};if(eW)return eW(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function r_(){}function rb(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function rE(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}rg.templateSettings={escape:H,evaluate:V,interpolate:W,variable:"",imports:{_:rg}},rg.prototype=r_.prototype,rg.prototype.constructor=rg,rb.prototype=ry(r_.prototype),rb.prototype.constructor=rb;function rO(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1},rj.prototype.set=function(e,t){var r=this.__data__,n=rR(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function rP(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new rx;++t=t?e:t)),e}function rz(e,t,r,a,i,o){var u,l=1&t,s=2&t,c=4&t;if(r&&(u=i?r(e,a,i,o):r(e)),n!==u)return u;if(!i0(e))return e;var f=iJ(e);if(f){if(u=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&eD.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!l)return nW(e,u)}else{var h,v,O=aj(e),S=O==g||O==y;if(iW(e))return nQ(e,l);if(O==E||O==d||S&&!i){if(u=s||S?{}:aP(e),!l){;return s?function(e,t){return nG(e,aO(e),t)}(e,(h=u,v=e,h&&nG(v,oO(v),h))):function(e,t){return nG(e,aE(e),t)}(e,rN(u,e))}}else{if(!e1[O])return i?e:{};u=function(e,t,r){var n,a,i,o,u,l=e.constructor;switch(t){case k:return nq(e);case p:case m:return new l(+e);case C:;return n=e,a=r?nq(n.buffer):n.buffer,new n.constructor(a,n.byteOffset,n.byteLength);case A:case M:case I:case R:case D:case N:case T:case L:case $:return nJ(e,r);case _:return new l;case b:case P:return new l(e);case j:;return(o=new(i=e).constructor(i.source,es.exec(i))).lastIndex=i.lastIndex,o;case x:return new l;case w:;return u=e,rm?eP(rm.call(u)):{}}}(e,O,l)}}o||(o=new rw);var z=o.get(e);if(z)return z;o.set(e,u),i3(e)?e.forEach(function(n){u.add(rz(n,t,r,n,e,o))}):i2(e)&&e.forEach(function(n,a){u.set(a,rz(n,t,r,a,e,o))});var F=c?s?ah:ad:s?oO:oE,U=f?n:F(e);return tf(U||e,function(n,a){U&&(n=e[a=n]),rI(u,a,rz(n,t,r,a,e,o))}),u}function rF(e,t,r){var a=r.length;if(null==e)return!a;for(e=eP(e);a--;){var i=r[a],o=t[i],u=e[i];if(n===u&&!(i in e)||!o(u))return!1}return!0}function rU(e,t,r){if("function"!=typeof e)throw new ek(a);return az(function(){e.apply(n,r)},t)}function rQ(e,t,r,n){var a=-1,i=tm,o=!0,u=e.length,l=[],s=t.length;if(!u)return l;r&&(t=tg(t,tN(r))),n?(i=tv,o=!1):t.length>=200&&(i=tL,o=!1,t=new rP(t));t:for(;++a0&&r(u)?t>1?rW(u,t-1,r,n,a):ty(a,u):!n&&(a[a.length]=u)}return a}var rG=nY(),rK=nY(!0);function rZ(e,t){return e&&rG(e,t,oE)}function rX(e,t){return e&&rK(e,t,oE)}function rY(e,t){return tp(t,function(t){return iZ(e[t])})}function r0(e,t){t=nz(t,e);for(var r=0,a=t.length;null!=e&&rt}function r4(e,t){return null!=e&&eD.call(e,t)}function r5(e,t){return null!=e&&t in eP(e)}function r3(e,t,r){for(var a=r?tv:tm,i=e[0].length,o=e.length,u=o,l=eb(o),s=1/0,c=[];u--;){var f=e[u];u&&t&&(f=tg(f,tN(t))),s=t3(f.length,s),l[u]=!r&&(t||i>=120&&f.length>=120)?new rP(u&&f):n}f=e[0];var d=-1,h=l[0];t:for(;++d=u)return l;return l*("desc"==r[n]?-1:1)}}return e.index-t.index}(e,t,r)})}function nf(e,t,r){for(var n=-1,a=t.length,i={};++n-1;)u!==e&&e2.call(u,l,1),e2.call(e,l,1)}return e}function nh(e,t){for(var r=e?t.length:0,n=r-1;r--;){var a=t[r];if(r==n||a!==i){var i=a;aS(a)?e2.call(e,a,1):nM(e,a)}}return e}function np(e,t){return e+tY(t8()*(t-e+1))}function nm(e,t){var r="";if(!e||t<1||t>0x1fffffffffffff)return r;do t%2&&(r+=e),(t=tY(t/2))&&(e+=e);while(t);return r}function nv(e,t){return aF(aN(e,t,oV),e+"")}function ng(e){return rk(oA(e))}function ny(e,t){var r=oA(e);return aq(r,r$(t,0,r.length))}function n_(e,t,r,a){if(!i0(e))return e;t=nz(t,e);for(var i=-1,o=t.length,u=o-1,l=e;null!=l&&++ia?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=eb(a);++n>>1,o=e[i];null!==o&&!i7(o)&&(r?o<=t:o=200){var s=t?null:aa(e);if(s)return tV(s);o=!1,a=tL,l=new rP}else l=t?[]:u;t:for(;++n=a?e:nj(e,t,r)}var nU=tt||function(e){return e9.clearTimeout(e)};function nQ(e,t){if(t)return e.slice();var r=e.length,n=eJ?eJ(r):new e.constructor(r);return e.copy(n),n}function nq(e){var t=new e.constructor(e.byteLength);return new eq(t).set(new eq(e)),t}function nJ(e,t){var r=t?nq(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function nB(e,t){if(e!==t){var r=n!==e,a=null===e,i=e==e,o=i7(e),u=n!==t,l=null===t,s=t==t,c=i7(t);if(!l&&!c&&!o&&e>t||o&&u&&s&&!l&&!c||a&&u&&s||!r&&s||!i)return 1;if(!a&&!o&&!c&&e1?r[i-1]:n,u=i>2?r[2]:n;for(o=e.length>3&&"function"==typeof o?(i--,o):n,u&&ak(r[0],r[1],u)&&(o=i<3?n:o,i=1),t=eP(t);++a-1?i[o?t[u]:u]:n}}function n4(e){return af(function(t){var r=t.length,i=r,o=rb.prototype.thru;for(e&&t.reverse();i--;){var u=t[i];if("function"!=typeof u)throw new ek(a);if(o&&!l&&"wrapper"==am(u))var l=new rb([],!0)}for(i=l?i:r;++i1&&_.reverse(),f&&sl))return!1;var c=o.get(e),f=o.get(t);if(c&&f)return c==t&&f==e;var d=-1,h=!0,p=2&r?new rP:n;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(er,"{\n/* [wrapped with "+t+"] */\n")}(a,function(e,t){return tf(f,function(r){var n="_."+r[0];t&r[1]&&!tm(e,n)&&e.push(n)}),e.sort()}((n=a.match(en))?n[1].split(ea):[],r)))}function aQ(e){var t=0,r=0;return function(){var a=t9(),i=16-(a-r);if(r=a,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function aq(e,t){var r=-1,a=e.length,i=a-1;for(t=n===t?a:t;++r1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ia(e,r)});function id(e){var t=rg(e);return t.__chain__=!0,t}function ih(e,t){return t(e)}var ip=af(function(e){var t=e.length,r=t?e[0]:0,a=this.__wrapped__,i=function(t){return rL(t,e)};return!(t>1)&&!this.__actions__.length&&a instanceof rE&&aS(r)?((a=a.slice(r,+r+(t?1:0))).__actions__.push({func:ih,args:[i],thisArg:n}),new rb(a,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e})):this.thru(i)}),im=nK(function(e,t,r){eD.call(e,r)?++e[r]:rT(e,r,1)}),iv=n6(aZ),ig=n6(aX);function iy(e,t){return(iJ(e)?tf:rq)(e,ag(t,3))}function i_(e,t){return(iJ(e)?td:rJ)(e,ag(t,3))}var ib=nK(function(e,t,r){eD.call(e,r)?e[r].push(t):rT(e,r,[t])}),iE=nv(function(e,t,r){var n=-1,a="function"==typeof t,i=iH(e)?eb(e.length):[];return rq(e,function(e){i[++n]=a?ts(t,e,r):r9(e,t,r)}),i}),iO=nK(function(e,t,r){rT(e,r,t)});function ij(e,t){return(iJ(e)?tg:ni)(e,ag(t,3))}var ix=nK(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),iP=nv(function(e,t){if(null==e)return[];var r=t.length;return r>1&&ak(e,t[0],t[1])?t=[]:r>2&&ak(t[0],t[1],t[2])&&(t=[t[0]]),nc(e,rW(t,1),[])}),iw=tr||function(){return e9.Date.now()};function iS(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,ao(e,128,n,n,n,n,t)}function ik(e,t){var r;if("function"!=typeof t)throw new ek(a);return e=oa(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var iC=nv(function(e,t,r){var n=1;if(r.length){var a=tH(r,av(iC));n|=32}return ao(e,n,t,r,a)}),iA=nv(function(e,t,r){var n=3;if(r.length){var a=tH(r,av(iA));n|=32}return ao(t,n,e,r,a)});function iM(e,t,r){var i,o,u,l,s,c,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new ek(a);function m(t){var r=i,a=o;return i=o=n,f=t,l=e.apply(a,r)}t=oo(t)||0,i0(r)&&(d=!!r.leading,u=(h="maxWait"in r)?t5(oo(r.maxWait)||0,t):u,p="trailing"in r?!!r.trailing:p);function v(e){var r=e-c,a=e-f;return n===c||r>=t||r<0||h&&a>=u}function g(){var e,r,n,a,i=iw();if(v(i))return y(i);s=az(g,(r=(e=i)-c,n=e-f,a=t-r,h?t3(a,u-n):a))}function y(e){return(s=n,p&&i)?m(e):(i=o=n,l)}function _(){var e,r=iw(),a=v(r);if(i=arguments,o=this,c=r,a){if(n===s){;return f=e=c,s=az(g,t),d?m(e):l}if(h)return nU(s),s=az(g,t),m(c)}return n===s&&(s=az(g,t)),l}return _.cancel=function(){n!==s&&nU(s),f=0,i=c=o=s=n},_.flush=function(){return n===s?l:y(iw())},_}var iI=nv(function(e,t){return rU(e,1,t)}),iR=nv(function(e,t,r){return rU(e,oo(t)||0,r)});function iD(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ek(a);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(iD.Cache||rx),r}function iN(e){if("function"!=typeof e)throw new ek(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}iD.Cache=rx;var iT=nv(function(e,t){var r=(t=1==t.length&&iJ(t[0])?tg(t[0],tN(ag())):tg(rW(t,1),tN(ag()))).length;return nv(function(n){for(var a=-1,i=t3(n.length,r);++a=t}),iq=r7(function(){return arguments}())?r7:function(e){return i1(e)&&eD.call(e,"callee")&&!eK.call(e,"callee")},iJ=eb.isArray,iB=tn?tN(tn):function(e){return i1(e)&&r2(e)==k};function iH(e){return null!=e&&iY(e.length)&&!iZ(e)}function iV(e){return i1(e)&&iH(e)}var iW=t1||o3,iG=ta?tN(ta):function(e){return i1(e)&&r2(e)==m};function iK(e){if(!i1(e))return!1;var t=r2(e);return t==v||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!i4(e)}function iZ(e){if(!i0(e))return!1;var t=r2(e);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iX(e){return"number"==typeof e&&e==oa(e)}function iY(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function i0(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function i1(e){return null!=e&&"object"==typeof e}var i2=ti?tN(ti):function(e){return i1(e)&&aj(e)==_};function i6(e){return"number"==typeof e||i1(e)&&r2(e)==b}function i4(e){if(!i1(e)||r2(e)!=E)return!1;var t=eB(e);if(null===t)return!0;var r=eD.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&eR.call(r)==e$}var i5=to?tN(to):function(e){return i1(e)&&r2(e)==j},i3=tu?tN(tu):function(e){return i1(e)&&aj(e)==x};function i9(e){return"string"==typeof e||!iJ(e)&&i1(e)&&r2(e)==P}function i7(e){return"symbol"==typeof e||i1(e)&&r2(e)==w}var i8=tl?tN(tl):function(e){return i1(e)&&iY(e.length)&&!!e0[r2(e)]},oe=at(na),ot=at(function(e,t){return e<=t});function or(e){if(!e)return[];if(iH(e))return i9(e)?tG(e):nW(e);if(e3&&e[e3])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[e3]());var t=aj(e);return(t==_?tJ:t==x?tV:oA)(e)}function on(e){return e?(e=oo(e))===u||e===-u?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function oa(e){var t=on(e),r=t%1;return t==t?r?t-r:t:0}function oi(e){return e?r$(oa(e),0,0xffffffff):0}function oo(e){if("number"==typeof e)return e;if(i7(e))return l;if(i0(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i0(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tD(e);var r=ef.test(e);return r||eh.test(e)?e4(e.slice(2),r?2:8):ec.test(e)?l:+e}function ou(e){return nG(e,oO(e))}function ol(e){return null==e?"":nC(e)}var os=nZ(function(e,t){if(aI(t)||iH(t)){nG(t,oE(t),e);return}for(var r in t)eD.call(t,r)&&rI(e,r,t[r])}),oc=nZ(function(e,t){nG(t,oO(t),e)}),of=nZ(function(e,t,r,n){nG(t,oO(t),e,n)}),od=nZ(function(e,t,r,n){nG(t,oE(t),e,n)}),oh=af(rL),op=nv(function(e,t){e=eP(e);var r=-1,a=t.length,i=a>2?t[2]:n;for(i&&ak(t[0],t[1],i)&&(a=1);++r1),t}),nG(e,ah(e),r),n&&(r=rz(r,7,as));for(var a=t.length;a--;)nM(r,t[a]);return r}),ow=af(function(e,t){var r;return null==e?{}:nf(r=e,t,function(e,t){return og(r,t)})});function oS(e,t){if(null==e)return{};var r=tg(ah(e),function(e){return[e]});return t=ag(t),nf(e,r,function(e,r){return t(e,r[0])})}var ok=ai(oE),oC=ai(oO);function oA(e){return null==e?[]:tT(e,oE(e))}var oM=n1(function(e,t,r){return t=t.toLowerCase(),e+(r?oI(t):t)});function oI(e){return oF(ol(e).toLowerCase())}function oR(e){return(e=ol(e))&&e.replace(em,tF).replace(eV,"")}var oD=n1(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),oN=n1(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),oT=n0("toLowerCase"),oL=n1(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),o$=n1(function(e,t,r){return e+(r?" ":"")+oF(t)}),oz=n1(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),oF=n0("toUpperCase");function oU(e,t,r){if(e=ol(e),t=r?n:t,n===t){var a;return(a=e,eZ.test(a))?e.match(eG)||[]:e.match(ei)||[]}return e.match(t)||[]}var oQ=nv(function(e,t){try{return ts(e,n,t)}catch(e){return iK(e)?e:new eO(e)}}),oq=af(function(e,t){return tf(t,function(t){rT(e,t=aB(t),iC(e[t],e))}),e});function oJ(e){return function(){return e}}var oB=n4(),oH=n4(!0);function oV(e){return e}function oW(e){return nr("function"==typeof e?e:rz(e,1))}var oG=nv(function(e,t){return function(r){return r9(r,e,t)}}),oK=nv(function(e,t){return function(r){return r9(e,r,t)}});function oZ(e,t,r){var n=oE(t),a=rY(t,n);null==r&&!(i0(t)&&(a.length||!n.length))&&(r=t,t=e,e=this,a=rY(t,oE(t)));var i=!(i0(r)&&"chain"in r)||!!r.chain,o=iZ(e);return tf(a,function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=e(this.__wrapped__);return(r.__actions__=nW(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,ty([this.value()],arguments))})}),e}function oX(){}var oY=n7(tg),o0=n7(th),o1=n7(tE);function o2(e){var t;return aC(e)?tC(aB(e)):(t=e,function(e){return r0(e,t)})}var o6=ae(),o4=ae(!0);function o5(){return[]}function o3(){return!1}var o9=n9(function(e,t){return e+t},0),o7=an("ceil"),o8=n9(function(e,t){return e/t},1),ue=an("floor"),ut=n9(function(e,t){return e*t},1),ur=an("round"),un=n9(function(e,t){return e-t},0);return rg.after=function(e,t){if("function"!=typeof t)throw new ek(a);return e=oa(e),function(){if(--e<1)return t.apply(this,arguments)}},rg.ary=iS,rg.assign=os,rg.assignIn=oc,rg.assignInWith=of,rg.assignWith=od,rg.at=oh,rg.before=ik,rg.bind=iC,rg.bindAll=oq,rg.bindKey=iA,rg.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return iJ(e)?e:[e]},rg.chain=id,rg.chunk=function(e,t,r){t=(r?ak(e,t,r):n===t)?1:t5(oa(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var i=0,o=0,u=eb(tA(a/t));ii?0:i+r),(a=n===a||a>i?i:oa(a))<0&&(a+=i),a=r>a?0:oi(a);r>>0)?(e=ol(e))&&("string"==typeof t||null!=t&&!i5(t))&&!(t=nC(t))&&tq(e)?nF(tG(e),0,r):e.split(t,r):[]},rg.spread=function(e,t){if("function"!=typeof e)throw new ek(a);return t=null==t?0:t5(oa(t),0),nv(function(r){var n=r[t],a=nF(r,0,t);return n&&ty(a,n),ts(e,this,a)})},rg.tail=function(e){var t=null==e?0:e.length;return t?nj(e,1,t):[]},rg.take=function(e,t,r){return e&&e.length?nj(e,0,(t=r||n===t?1:oa(t))<0?0:t):[]},rg.takeRight=function(e,t,r){var a=null==e?0:e.length;return a?nj(e,(t=a-(t=r||n===t?1:oa(t)))<0?0:t,a):[]},rg.takeRightWhile=function(e,t){return e&&e.length?nR(e,ag(t,3),!1,!0):[]},rg.takeWhile=function(e,t){return e&&e.length?nR(e,ag(t,3)):[]},rg.tap=function(e,t){return t(e),e},rg.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new ek(a);return i0(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),iM(e,t,{leading:n,maxWait:t,trailing:i})},rg.thru=ih,rg.toArray=or,rg.toPairs=ok,rg.toPairsIn=oC,rg.toPath=function(e){return iJ(e)?tg(e,aB):i7(e)?[e]:nW(aJ(ol(e)))},rg.toPlainObject=ou,rg.transform=function(e,t,r){var n=iJ(e),a=n||iW(e)||i8(e);if(t=ag(t,4),null==r){var i=e&&e.constructor;r=a?n?new i:[]:i0(e)?iZ(i)?ry(eB(e)):{}:{}}return(a?tf:rZ)(e,function(e,n,a){return t(r,e,n,a)}),r},rg.unary=function(e){return iS(e,1)},rg.union=a8,rg.unionBy=ie,rg.unionWith=it,rg.uniq=function(e){return e&&e.length?nA(e):[]},rg.uniqBy=function(e,t){return e&&e.length?nA(e,ag(t,2)):[]},rg.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?nA(e,n,t):[]},rg.unset=function(e,t){return null==e||nM(e,t)},rg.unzip=ir,rg.unzipWith=ia,rg.update=function(e,t,r){return null==e?e:nI(e,t,n$(r))},rg.updateWith=function(e,t,r,a){return a="function"==typeof a?a:n,null==e?e:nI(e,t,n$(r),a)},rg.values=oA,rg.valuesIn=function(e){return null==e?[]:tT(e,oO(e))},rg.without=ii,rg.words=oU,rg.wrap=function(e,t){return iL(n$(t),e)},rg.xor=io,rg.xorBy=iu,rg.xorWith=il,rg.zip=is,rg.zipObject=function(e,t){return nT(e||[],t||[],rI)},rg.zipObjectDeep=function(e,t){return nT(e||[],t||[],n_)},rg.zipWith=ic,rg.entries=ok,rg.entriesIn=oC,rg.extend=oc,rg.extendWith=of,oZ(rg,rg),rg.add=o9,rg.attempt=oQ,rg.camelCase=oM,rg.capitalize=oI,rg.ceil=o7,rg.clamp=function(e,t,r){return n===r&&(r=t,t=n),n!==r&&(r=(r=oo(r))==r?r:0),n!==t&&(t=(t=oo(t))==t?t:0),r$(oo(e),t,r)},rg.clone=function(e){return rz(e,4)},rg.cloneDeep=function(e){return rz(e,5)},rg.cloneDeepWith=function(e,t){return rz(e,5,t="function"==typeof t?t:n)},rg.cloneWith=function(e,t){return rz(e,4,t="function"==typeof t?t:n)},rg.conformsTo=function(e,t){return null==t||rF(e,t,oE(t))},rg.deburr=oR,rg.defaultTo=function(e,t){return null==e||e!=e?t:e},rg.divide=o8,rg.endsWith=function(e,t,r){e=ol(e),t=nC(t);var a=e.length,i=r=n===r?a:r$(oa(r),0,a);return(r-=t.length)>=0&&e.slice(r,i)==t},rg.eq=iF,rg.escape=function(e){return(e=ol(e))&&B.test(e)?e.replace(q,tU):e},rg.escapeRegExp=function(e){return(e=ol(e))&&Y.test(e)?e.replace(X,"\\$&"):e},rg.every=function(e,t,r){var a=iJ(e)?th:rB;return r&&ak(e,t,r)&&(t=n),a(e,ag(t,3))},rg.find=iv,rg.findIndex=aZ,rg.findKey=function(e,t){return tj(e,ag(t,3),rZ)},rg.findLast=ig,rg.findLastIndex=aX,rg.findLastKey=function(e,t){return tj(e,ag(t,3),rX)},rg.floor=ue,rg.forEach=iy,rg.forEachRight=i_,rg.forIn=function(e,t){return null==e?e:rG(e,ag(t,3),oO)},rg.forInRight=function(e,t){return null==e?e:rK(e,ag(t,3),oO)},rg.forOwn=function(e,t){return e&&rZ(e,ag(t,3))},rg.forOwnRight=function(e,t){return e&&rX(e,ag(t,3))},rg.get=ov,rg.gt=iU,rg.gte=iQ,rg.has=function(e,t){return null!=e&&ax(e,t,r4)},rg.hasIn=og,rg.head=a0,rg.identity=oV,rg.includes=function(e,t,r,n){e=iH(e)?e:oA(e),r=r&&!n?oa(r):0;var a=e.length;return r<0&&(r=t5(a+r,0)),i9(e)?r<=a&&e.indexOf(t,r)>-1:!!a&&tP(e,t,r)>-1},rg.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return -1;var a=null==r?0:oa(r);return a<0&&(a=t5(n+a,0)),tP(e,t,a)},rg.inRange=function(e,t,r){var a,i,o;return t=on(t),n===r?(r=t,t=0):r=on(r),(a=e=oo(e))>=t3(i=t,o=r)&&a=-0x1fffffffffffff&&e<=0x1fffffffffffff},rg.isSet=i3,rg.isString=i9,rg.isSymbol=i7,rg.isTypedArray=i8,rg.isUndefined=function(e){return n===e},rg.isWeakMap=function(e){return i1(e)&&aj(e)==S},rg.isWeakSet=function(e){return i1(e)&&"[object WeakSet]"==r2(e)},rg.join=function(e,t){return null==e?"":t6.call(e,t)},rg.kebabCase=oD,rg.last=a4,rg.lastIndexOf=function(e,t,r){var a=null==e?0:e.length;if(!a)return -1;var i=a;return n!==r&&(i=(i=oa(r))<0?t5(a+i,0):t3(i,a-1)),t==t?function(e,t,r){for(var n=r+1;n--&&e[n]!==t;);return n}(e,t,i):tx(e,tS,i,!0)},rg.lowerCase=oN,rg.lowerFirst=oT,rg.lt=oe,rg.lte=ot,rg.max=function(e){return e&&e.length?rH(e,oV,r6):n},rg.maxBy=function(e,t){return e&&e.length?rH(e,ag(t,2),r6):n},rg.mean=function(e){return tk(e,oV)},rg.meanBy=function(e,t){return tk(e,ag(t,2))},rg.min=function(e){return e&&e.length?rH(e,oV,na):n},rg.minBy=function(e,t){return e&&e.length?rH(e,ag(t,2),na):n},rg.stubArray=o5,rg.stubFalse=o3,rg.stubObject=function(){return{}},rg.stubString=function(){return""},rg.stubTrue=function(){return!0},rg.multiply=ut,rg.nth=function(e,t){return e&&e.length?ns(e,oa(t)):n},rg.noConflict=function(){return e9._===this&&(e9._=ez),this},rg.noop=oX,rg.now=iw,rg.pad=function(e,t,r){e=ol(e);var n=(t=oa(t))?tW(e):0;if(!t||n>=t)return e;var a=(t-n)/2;return n8(tY(a),r)+e+n8(tA(a),r)},rg.padEnd=function(e,t,r){e=ol(e);var n=(t=oa(t))?tW(e):0;return t&&nt){var a=e;e=t,t=a}if(r||e%1||t%1){var i=t8();return t3(e+i*(t-e+e6("1e-"+((i+"").length-1))),t)}return np(e,t)},rg.reduce=function(e,t,r){var n=iJ(e)?t_:tM,a=arguments.length<3;return n(e,ag(t,4),r,a,rq)},rg.reduceRight=function(e,t,r){var n=iJ(e)?tb:tM,a=arguments.length<3;return n(e,ag(t,4),r,a,rJ)},rg.repeat=function(e,t,r){return t=(r?ak(e,t,r):n===t)?1:oa(t),nm(ol(e),t)},rg.replace=function(){var e=arguments,t=ol(e[0]);return e.length<3?t:t.replace(e[1],e[2])},rg.result=function(e,t,r){t=nz(t,e);var a=-1,i=t.length;for(!i&&(i=1,e=n);++a0x1fffffffffffff)return[];var r=0xffffffff,n=t3(e,0xffffffff);t=ag(t),e-=0xffffffff;for(var a=tR(n,t);++r=o)return e;var l=r-tW(a);if(l<1)return a;var s=u?nF(u,0,l).join(""):e.slice(0,l);if(n===i)return s+a;if(u&&(l+=s.length-l),i5(i)){if(e.slice(l).search(i)){var c,f=s;for(!i.global&&(i=ew(i.source,ol(es.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;s=s.slice(0,n===d?l:d)}}else if(e.indexOf(nC(i),l)!=l){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+a},rg.unescape=function(e){return(e=ol(e))&&J.test(e)?e.replace(Q,tZ):e},rg.uniqueId=function(e){var t=++eN;return ol(e)+t},rg.upperCase=oz,rg.upperFirst=oF,rg.each=iy,rg.eachRight=i_,rg.first=a0,oZ(rg,(e_={},rZ(rg,function(e,t){!eD.call(rg.prototype,t)&&(e_[t]=e)}),e_),{chain:!1}),rg.VERSION="4.17.21",tf(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){rg[e].placeholder=rg}),tf(["drop","take"],function(e,t){rE.prototype[e]=function(r){r=n===r?1:t5(oa(r),0);var a=this.__filtered__&&!t?new rE(this):this.clone();return a.__filtered__?a.__takeCount__=t3(r,a.__takeCount__):a.__views__.push({size:t3(r,0xffffffff),type:e+(a.__dir__<0?"Right":"")}),a},rE.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tf(["filter","map","takeWhile"],function(e,t){var r=t+1,n=1==r||3==r;rE.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ag(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),tf(["head","last"],function(e,t){var r="take"+(t?"Right":"");rE.prototype[e]=function(){return this[r](1).value()[0]}}),tf(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");rE.prototype[e]=function(){return this.__filtered__?new rE(this):this[r](1)}}),rE.prototype.compact=function(){return this.filter(oV)},rE.prototype.find=function(e){return this.filter(e).head()},rE.prototype.findLast=function(e){return this.reverse().find(e)},rE.prototype.invokeMap=nv(function(e,t){return"function"==typeof e?new rE(this):this.map(function(r){return r9(r,e,t)})}),rE.prototype.reject=function(e){return this.filter(iN(ag(e)))},rE.prototype.slice=function(e,t){e=oa(e);var r=this;return r.__filtered__&&(e>0||t<0)?new rE(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),n!==t&&(r=(t=oa(t))<0?r.dropRight(-t):r.take(t-e)),r)},rE.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},rE.prototype.toArray=function(){return this.take(0xffffffff)},rZ(rE.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),i=rg[a?"take"+("last"==t?"Right":""):t],o=a||/^find/.test(t);if(!!i)rg.prototype[t]=function(){var t=this.__wrapped__,u=a?[1]:arguments,l=t instanceof rE,s=u[0],c=l||iJ(t),f=function(e){var t=i.apply(rg,ty([e],u));return a&&d?t[0]:t};c&&r&&"function"==typeof s&&1!=s.length&&(l=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=o&&!d,m=l&&!h;if(!o&&c){t=m?t:new rE(this);var v=e.apply(t,u);return v.__actions__.push({func:ih,args:[f],thisArg:n}),new rb(v,d)}return p&&m?e.apply(this,u):(v=this.thru(f),p?a?v.value()[0]:v.value():v)}}),tf(["pop","push","shift","sort","splice","unshift"],function(e){var t=eC[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);rg.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var a=this.value();return t.apply(iJ(a)?a:[],e)}return this[r](function(r){return t.apply(iJ(r)?r:[],e)})}}),rZ(rE.prototype,function(e,t){var r=rg[t];if(r){var n=r.name+"";!eD.call(rl,n)&&(rl[n]=[]),rl[n].push({name:t,func:r})}}),rl[n5(n,2).name]=[{name:"wrapper",func:n}],rE.prototype.clone=function(){var e=new rE(this.__wrapped__);return e.__actions__=nW(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=nW(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=nW(this.__views__),e},rE.prototype.reverse=function(){if(this.__filtered__){var e=new rE(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},rE.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=iJ(e),n=t<0,a=r?e.length:0,i=function(e,t,r){for(var n=-1,a=r.length;++n=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}},rg.prototype.plant=function(e){for(var t,r=this;r instanceof r_;){var a=aV(r);a.__index__=0,a.__values__=n,t?i.__wrapped__=a:t=a;var i=a;r=r.__wrapped__}return i.__wrapped__=e,t},rg.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof rE){var t=e;return this.__actions__.length&&(t=new rE(this)),(t=t.reverse()).__actions__.push({func:ih,args:[a7],thisArg:n}),new rb(t,this.__chain__)}return this.thru(a7)},rg.prototype.toJSON=rg.prototype.valueOf=rg.prototype.value=function(){return nD(this.__wrapped__,this.__actions__)},rg.prototype.first=rg.prototype.head,e3&&(rg.prototype[e3]=function(){return this}),rg}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(e9._=tX,define(function(){return tX})):e8?((e8.exports=tX)._=tX,e7._=tX):e9._=tX}).call(this)},88306:function(e,t,r){var n=r(83369);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(a.Cache||n),r}a.Cache=n,e.exports=a},36968:function(e,t,r){var n=r(10611);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},79833:function(e,t,r){var n=r(80531);e.exports=function(e){return null==e?"":n(e)}},87668:function(e,t,r){"use strict";let n=r(74725);e.exports=n,n.default=n},74725:function(e){"use strict";e.exports=function(e,r,n){var a,i="";if(t="",arguments.length>1){if("number"==typeof n)for(a=0;a100)return e.replace(n,i);for(var t="",o=0,u=0;un;)e[r]=e[r-1],r--;e[r]=n}return e}},2251:function(e){var t,r;t=this,r=function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,r,n=e.toLowerCase().split(":"),a=n.length,i=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[a-1]&&""===n[a-2]&&n.pop(),a=n.length,-1!==n[a-1].indexOf(".")&&(i=7),t=0;t1)r.splice(0,1);else break;n[o]=r.join("")}var l=-1,s=0,c=0,f=-1,d=!1;for(o=0;os&&(l=f,s=c)):"0"===n[o]&&(d=!0,f=o,c=1);c>s&&(l=f,s=c),s>1&&n.splice(l,s,""),a=n.length;var h="";for(""===n[0]&&(h=":"),o=0;o=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return!1;var a=r.list[e.slice(t+1)];return!!a&&a.indexOf(" "+e.slice(n+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1||e.lastIndexOf(".",t-1)>=0)return!1;var n=r.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return null;var a=r.list[e.slice(t+1)];return!a||0>a.indexOf(" "+e.slice(n+1,t)+" ")?null:e.slice(n+1)},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return r},e.exports?e.exports=r():"function"==typeof define&&define.amd?define(r):t.SecondLevelDomains=r(t)},54998:function(e,t,r){var n,a;n=this,a=function(e,t,r,n){"use strict";var a,i=n&&n.URI;function o(e,t){var r=arguments.length>=1,n=arguments.length>=2;if(!(this instanceof o)){if(r)return n?new o(e,t):new o(e);return new o}if(void 0===e){if(r)throw TypeError("undefined is not a valid argument for URI");"undefined"!=typeof location?e=location.href+"":e=""}if(null===e&&r)throw TypeError("null is not a valid argument for URI");return(this.href(e),void 0!==t)?this.absoluteTo(t):this}o.version="1.19.11";var u=o.prototype,l=Object.prototype.hasOwnProperty;function s(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function f(e){return"Array"===c(e)}function d(e,t){var r,n,a={};if("RegExp"===c(t))a=null;else if(f(t))for(r=0,n=t.length;r]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,o.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},o.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,o.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},o.hostProtocols=["http","https"],o.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,o.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},o.getDomAttribute=function(e){if(!e||!e.nodeName)return;var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return o.domAttributes[t]},o.encode=g,o.decode=decodeURIComponent,o.iso8859=function(){o.encode=escape,o.decode=unescape},o.unicode=function(){o.encode=g,o.decode=decodeURIComponent},o.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},o.encodeQuery=function(e,t){var r=o.encode(e+"");return void 0===t&&(t=o.escapeQuerySpace),t?r.replace(/%20/g,"+"):r},o.decodeQuery=function(e,t){e+="",void 0===t&&(t=o.escapeQuerySpace);try{return o.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var y={encode:"encode",decode:"decode"},_=function(e,t){return function(r){try{return o[t](r+"").replace(o.characters[e][t].expression,function(r){return o.characters[e][t].map[r]})}catch(e){return r}}};for(a in y)o[a+"PathSegment"]=_("pathname",y[a]),o[a+"UrnPathSegment"]=_("urnpath",y[a]);var b=function(e,t,r){return function(n){a=r?function(e){return o[t](o[r](e))}:o[t];for(var a,i=(n+"").split(e),u=0,l=i.length;u-1&&(t.fragment=e.substring(r+1)||null,e=e.substring(0,r)),(r=e.indexOf("?"))>-1&&(t.query=e.substring(r+1)||null,e=e.substring(0,r)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=o.parseAuthority(e,t)):(r=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,r)||null,t.protocol&&!t.protocol.match(o.protocol_expression)?t.protocol=void 0:"//"===e.substring(r+1,r+3).replace(/\\/g,"/")?(e=e.substring(r+3),e=o.parseAuthority(e,t)):(e=e.substring(r+1),t.urn=!0)),t.path=e,t},o.parseHost=function(e,t){!e&&(e="");var r,n,a=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===a&&(a=e.length),"["===e.charAt(0))r=e.indexOf("]"),t.hostname=e.substring(1,r)||null,t.port=e.substring(r+2,a)||null,"/"===t.port&&(t.port=null);else{var i=e.indexOf(":"),u=e.indexOf("/"),l=e.indexOf(":",i+1);-1!==l&&(-1===u||l-1?a:e.length-1);return i>-1&&(-1===a||i-1?h.slice(0,p)+h.slice(p).replace(i,""):h.replace(i,"")).length<=s[0].length||r.ignore&&r.ignore.test(h))){d=c+h.length;var v=t(h,c,d,e);if(void 0===v){n.lastIndex=d;continue}v=String(v),e=e.slice(0,c)+v+e.slice(d),n.lastIndex=c+v.length}}return n.lastIndex=0,e},o.ensureValidHostname=function(t,r){var n=!!t,a=!1;if(r&&(a=h(o.hostProtocols,r)),a&&!n)throw TypeError("Hostname cannot be empty, if protocol is "+r);if(t&&t.match(o.invalid_hostname_characters)){if(!e)throw TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(o.invalid_hostname_characters))throw TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},o.ensureValidPort=function(e){if(!e)return;var t,r=Number(e);if(t=r,!/^[0-9]+$/.test(t)||!(r>0)||!(r<65536))throw TypeError('Port "'+e+'" is not a valid port')},o.noConflict=function(e){if(e){var t={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(t.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(t.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=n.SecondLevelDomains.noConflict()),t}return n.URI===this&&(n.URI=i),this},u.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=o.build(this._parts),this._deferred_build=!1),this},u.clone=function(){return new o(this)},u.valueOf=u.toString=function(){return this.build(!1)._string},u.protocol=E("protocol"),u.username=E("username"),u.password=E("password"),u.hostname=E("hostname"),u.port=E("port"),u.query=O("query","?"),u.fragment=O("fragment","#"),u.search=function(e,t){var r=this.query(e,t);return"string"==typeof r&&r.length?"?"+r:r},u.hash=function(e,t){var r=this.fragment(e,t);return"string"==typeof r&&r.length?"#"+r:r},u.pathname=function(e,t){if(void 0!==e&&!0!==e)return this._parts.urn?this._parts.path=e?o.recodeUrnPath(e):"":this._parts.path=e?o.recodePath(e):"/",this.build(!t),this;var r=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?o.decodeUrnPath:o.decodePath)(r):r},u.path=u.pathname,u.href=function(e,t){if(void 0===e)return this.toString();this._string="",this._parts=o._parts();var r,n=e instanceof o,a="object"==typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName){var i=o.getDomAttribute(e);e=e[i]||"",a=!1}if(!n&&a&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=o.parse(String(e),this._parts);else if(n||a){var u=n?e._parts:e;for(r in u){if("query"!==r)l.call(this._parts,r)&&(this._parts[r]=u[r])}u.query&&this.query(u.query,!1)}else throw TypeError("invalid input");return this.build(!t),this},u.is=function(e){var t=!1,n=!1,a=!1,i=!1,u=!1,l=!1,s=!1,c=!this._parts.urn;switch(this._parts.hostname&&(c=!1,n=o.ip4_expression.test(this._parts.hostname),a=o.ip6_expression.test(this._parts.hostname),u=(i=!(t=n||a))&&r&&r.has(this._parts.hostname),l=i&&o.idn_expression.test(this._parts.hostname),s=i&&o.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return c;case"absolute":return!c;case"domain":case"name":return i;case"sld":return u;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return a;case"idn":return l;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return s}return null};var j=u.protocol,x=u.port,P=u.hostname;u.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(o.protocol_expression))throw TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return j.call(this,e,t)},u.scheme=u.protocol,u.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),o.ensureValidPort(e))),x.call(this,e,t))},u.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var r={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==o.parseHost(e,r))throw TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=r.hostname,this._parts.preventInvalidHostname&&o.ensureValidHostname(e,this._parts.protocol)}return P.call(this,e,t)},u.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var r=this.protocol();return this.authority()?(r?r+"://":"")+this.authority():""}var n=o(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},u.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildHost(this._parts):"";if("/"!==o.parseHost(e,this._parts))throw TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},u.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?o.buildAuthority(this._parts):"";if("/"!==o.parseAuthority(e,this._parts))throw TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},u.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e)return"@"!==e[e.length-1]&&(e+="@"),o.parseUserinfo(e,this._parts),this.build(!t),this;var r=o.buildUserinfo(this._parts);return r?r.substring(0,r.length-1):r},u.resource=function(e,t){var r;return void 0===e?this.path()+this.search()+this.hash():(r=o.parse(e),this._parts.path=r.path,this._parts.query=r.query,this._parts.fragment=r.fragment,this.build(!t),this)},u.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,r)||""}var n=this._parts.hostname.length-this.domain().length,a=RegExp("^"+s(this._parts.hostname.substring(0,n)));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw TypeError("Domains cannot contain colons");return e&&o.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,e),this.build(!t),this},u.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.match(/\./g);if(r&&r.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(t).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!e)throw TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw TypeError("Domains cannot contain colons");if(o.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var a=RegExp(s(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(a,e)}return this.build(!t),this},u.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n,a=this._parts.hostname.lastIndexOf("."),i=this._parts.hostname.substring(a+1);return!0!==t&&r&&r.list[i.toLowerCase()]&&r.get(this._parts.hostname)||i}if(e){if(e.match(/[^a-zA-Z0-9-]/)){if(r&&r.is(e))n=RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(n,e);else throw TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]')}else if(!this._parts.hostname||this.is("IP"))throw ReferenceError("cannot set TLD on non-domain host");else n=RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(n,e)}else throw TypeError("cannot set TLD empty");return this.build(!t),this},u.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var r=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,r)||(this._parts.hostname?"/":"");return e?o.decodePath(n):n}var a=this._parts.path.length-this.filename().length,i=RegExp("^"+s(this._parts.path.substring(0,a)));return!this.is("relative")&&(!e&&(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=o.recodePath(e),this._parts.path=this._parts.path.replace(i,e),this.build(!t),this},u.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var r=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(r+1);return e?o.decodePathSegment(n):n}var a=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(a=!0);var i=RegExp(s(this.filename())+"$");return e=o.recodePath(e),this._parts.path=this._parts.path.replace(i,e),a?this.normalizePath(t):this.build(!t),this},u.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var r,n,a=this.filename(),i=a.lastIndexOf(".");return -1===i?"":(r=a.substring(i+1),n=/^[a-z0-9%]+$/i.test(r)?r:"",e?o.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var u,l=this.suffix();if(l)u=e?RegExp(s(l)+"$"):RegExp(s("."+l)+"$");else{if(!e)return this;this._parts.path+="."+o.recodePath(e)}return u&&(e=o.recodePath(e),this._parts.path=this._parts.path.replace(u,e)),this.build(!t),this},u.segment=function(e,t,r){var n=this._parts.urn?":":"/",a=this.path(),i="/"===a.substring(0,1),o=a.split(n);if(void 0!==e&&"number"!=typeof e&&(r=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw Error('Bad segment "'+e+'", must be 0-based integer');if(i&&o.shift(),e<0&&(e=Math.max(o.length+e,0)),void 0===t)return void 0===e?o:o[e];if(null===e||void 0===o[e]){if(f(t)){o=[];for(var u=0,l=t.length;u= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=35,p=Math.floor,m=String.fromCharCode;function v(e){throw RangeError(d[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(f,".")).split("."),t).join(".")}function _(e){for(var t,r,n=[],a=0,i=e.length;a=55296&&t<=56319&&a65535&&(e-=65536,t+=m(e>>>10&1023|55296),e=56320|1023&e),t+=m(e)}).join("")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,r){var n=0;for(e=r?p(e/700):e>>1,e+=p(e/t);e>26*h>>1;n+=36)e=p(e/h);return p(n+(h+1)*e/(e+38))}function j(e){var t,r,n,a,i,o,u,l,s,c,f,d=[],h=e.length,m=0,g=128,y=72;for((n=e.lastIndexOf("-"))<0&&(n=0),a=0;a=128&&v("not-basic"),d.push(e.charCodeAt(a));for(i=n>0?n+1:0;i=h&&v("invalid-input"),((s=(t=e.charCodeAt(i++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36)>=36||s>p((0x7fffffff-m)/u))&&v("overflow"),m+=s*u,s<(c=l<=y?1:l>=y+26?26:l-y))break;u>p(0x7fffffff/(f=36-c))&&v("overflow"),u*=f}y=O(m-o,r=d.length+1,0==o),p(m/r)>0x7fffffff-g&&v("overflow"),g+=p(m/r),m%=r,d.splice(m++,0,g)}return b(d)}function x(e){var t,r,n,a,i,o,u,l,s,c,f,d,h,g,y,b=[];for(o=0,d=(e=_(e)).length,t=128,r=0,i=72;o=t&&fp((0x7fffffff-r)/(h=n+1))&&v("overflow"),r+=(u-t)*h,t=u,o=0;o0x7fffffff&&v("overflow"),f==t){for(l=r,s=36;!(l<(c=s<=i?1:s>=i+26?26:s-i));s+=36){;y=l-c,g=36-c,b.push(m(E(c+y%g,0))),l=p(y/g)}b.push(m(E(l,0))),i=O(r,h,n==a),r=0,++n}++r,++t}return b.join("")}if(u={version:"1.3.2",ucs2:{decode:_,encode:b},decode:j,encode:x,toASCII:function(e){return y(e,function(e){return c.test(e)?"xn--"+x(e):e})},toUnicode:function(e){return y(e,function(e){return s.test(e)?j(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return u});else if(a&&i){if(e.exports==a)i.exports=u;else for(l in u)u.hasOwnProperty(l)&&(a[l]=u[l])}else n.punycode=u}(this)},5525:function(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>o});var n=r("85893");r("67294");var a=r("67026");let i="tabItem_Ymn6";function o(e){let{children:t,hidden:r,className:o}=e;return(0,n.jsx)("div",{role:"tabpanel",className:(0,a.Z)(i,o),hidden:r,children:t})}},47902:function(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>b});var n=r("85893"),a=r("67294"),i=r("67026"),o=r("69599"),u=r("16550"),l=r("32000"),s=r("4520"),c=r("38341"),f=r("76009");function d(e){return a.Children.toArray(e).filter(e=>"\n"!==e).map(e=>{if(!e||a.isValidElement(e)&&function(e){let{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)})?.filter(Boolean)??[]}function h(e){let{value:t,tabValues:r}=e;return r.some(e=>e.value===t)}var p=r("7227");let m="tabList__CuJ",v="tabItem_LNqP";function g(e){let{className:t,block:r,selectedValue:a,selectValue:u,tabValues:l}=e,s=[],{blockElementScrollPositionUntilNextRender:c}=(0,o.o5)(),f=e=>{let t=e.currentTarget,r=l[s.indexOf(t)].value;r!==a&&(c(t),u(r))},d=e=>{let t=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{let r=s.indexOf(e.currentTarget)+1;t=s[r]??s[0];break}case"ArrowLeft":{let r=s.indexOf(e.currentTarget)-1;t=s[r]??s[s.length-1]}}t?.focus()};return(0,n.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,i.Z)("tabs",{"tabs--block":r},t),children:l.map(e=>{let{value:t,label:r,attributes:o}=e;return(0,n.jsx)("li",{role:"tab",tabIndex:a===t?0:-1,"aria-selected":a===t,ref:e=>s.push(e),onKeyDown:d,onClick:f,...o,className:(0,i.Z)("tabs__item",v,o?.className,{"tabs__item--active":a===t}),children:r??t},t)})})}function y(e){let{lazy:t,children:r,selectedValue:o}=e,u=(Array.isArray(r)?r:[r]).filter(Boolean);if(t){let e=u.find(e=>e.props.value===o);return e?(0,a.cloneElement)(e,{className:(0,i.Z)("margin-top--md",e.props.className)}):null}return(0,n.jsx)("div",{className:"margin-top--md",children:u.map((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==o}))})}function _(e){let t=function(e){let{defaultValue:t,queryString:r=!1,groupId:n}=e,i=function(e){let{values:t,children:r}=e;return(0,a.useMemo)(()=>{let e=t??d(r).map(e=>{let{props:{value:t,label:r,attributes:n,default:a}}=e;return{value:t,label:r,attributes:n,default:a}});return!function(e){let t=(0,c.lx)(e,(e,t)=>e.value===t.value);if(t.length>0)throw Error(`Docusaurus error: Duplicate values "${t.map(e=>e.value).join(", ")}" found in . Every value needs to be unique.`)}(e),e},[t,r])}(e),[o,p]=(0,a.useState)(()=>(function(e){let{defaultValue:t,tabValues:r}=e;if(0===r.length)throw Error("Docusaurus error: the component requires at least one children component");if(t){if(!h({value:t,tabValues:r}))throw Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${r.map(e=>e.value).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}let n=r.find(e=>e.default)??r[0];if(!n)throw Error("Unexpected error: 0 tabValues");return n.value})({defaultValue:t,tabValues:i})),[m,v]=function(e){let{queryString:t=!1,groupId:r}=e,n=(0,u.k6)(),i=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:t,groupId:r}),o=(0,s._X)(i);return[o,(0,a.useCallback)(e=>{if(!i)return;let t=new URLSearchParams(n.location.search);t.set(i,e),n.replace({...n.location,search:t.toString()})},[i,n])]}({queryString:r,groupId:n}),[g,y]=function(e){var t;let{groupId:r}=e;let n=(t=r)?`docusaurus.tab.${t}`:null,[i,o]=(0,f.Nk)(n);return[i,(0,a.useCallback)(e=>{if(!!n)o.set(e)},[n,o])]}({groupId:n}),_=(()=>{let e=m??g;return h({value:e,tabValues:i})?e:null})();return(0,l.Z)(()=>{_&&p(_)},[_]),{selectedValue:o,selectValue:(0,a.useCallback)(e=>{if(!h({value:e,tabValues:i}))throw Error(`Can't select invalid tab value=${e}`);p(e),v(e),y(e)},[v,y,i]),tabValues:i}}(e);return(0,n.jsxs)("div",{className:(0,i.Z)("tabs-container",m),children:[(0,n.jsx)(g,{...t,...e}),(0,n.jsx)(y,{...t,...e})]})}function b(e){let t=(0,p.Z)();return(0,n.jsx)(_,{...e,children:d(e.children)},String(t))}},5503:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.TypeLabel,null),"\xa0:\xa0",a.default.createElement(o.FalseLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.default,{values:{id:"json-schema.labels.false"}},"Always invalid")))};let a=n(r(67294)),i=n(r(96025)),o=r(13046)},78724:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=(0,u.useJSVOptionsContext)(),n="boolean"!=typeof t,c=n?t.description:void 0;return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.TypeLabel,null),"\xa0:\xa0",a.default.createElement(o.TrueLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.default,{values:{id:"json-schema.labels.true"}},"Always valid")),n&&a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(l.QualifierMessages,{schema:t,options:r})),void 0!==c&&a.default.createElement(s.CreateDescription,{description:c}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046),u=r(91386),l=r(34412),s=r(980)},79015:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,s=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.BooleanLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},71697:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{description:t}=e,{DescriptionComponent:r}=(0,i.useJSVOptionsContext)();return a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},r?a.default.createElement(r,{description:t}):t)};let a=n(r(67294)),i=r(91386)},76423:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,s=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.IntegerLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},5968:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,description:r}=e,n=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.NullLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:n})),void 0!==r&&a.default.createElement(l.CreateDescription,{description:r}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},33235:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,description:r,nullable:n}=e,s=(0,o.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.NumberLabel,null),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:n})),void 0!==r&&a.default.createElement(l.CreateDescription,{description:r}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},8634:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,s=(0,o.useJSVOptionsContext)(),c=t.format;return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.TypeLabel,null),"\xa0:\xa0",a.default.createElement(u.StringLabel,{format:c}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(i.QualifierMessages,{schema:t,options:s,nullable:r})),void 0!==n&&a.default.createElement(l.CreateDescription,{description:n}))};let a=n(r(67294)),i=r(34412),o=r(91386),u=r(13046),l=r(980)},47418:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{value:t,schema:r}=e,{ValueComponent:n}=(0,i.useJSVOptionsContext)();return n?a.default.createElement(n,{value:t,schema:r}):(0,o.printSchemaType)(t)};let a=n(r(67294)),i=r(91386),o=r(51697)},62767:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=Object.entries(t.dependencies).reduce((e,t)=>{let[r,n]=t;return Array.isArray(n)?e.dependentRequired[r]=n:e.dependentSchemas[r]=n,e},{dependentRequired:{},dependentSchemas:{}});return a.default.createElement(a.default.Fragment,null,Object.keys(r.dependentRequired).length>0&&a.default.createElement(i.DependentRequired,{schema:{dependentRequired:r.dependentRequired}}),Object.keys(r.dependentSchemas).length>0&&a.default.createElement(i.DependentSchemas,{schema:{dependentSchemas:r.dependentSchemas}}))};let a=n(r(67294)),i=r(80976)},41294:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r={allOf:Object.entries(t.dependentRequired).map(e=>{let[t,r]=e;return{if:{type:"object",required:[t]},then:{type:"object",required:r}}})};return a.default.createElement(i.AllOfSchema,{schema:r})};let a=n(r(67294)),i=r(33829)},60920:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r={allOf:Object.entries(t.dependentSchemas).map(e=>{let[t,r]=e;return{if:{type:"object",required:[t]},then:r}})};return a.default.createElement(i.AllOfSchema,{schema:r})};let a=n(r(67294)),i=r(33829)},98895:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.then,n=void 0!==t.else,c=[{value:"schema_if",label:a.default.createElement(s.IfLabel,null)},r&&{value:"schema_then",label:a.default.createElement(s.ThenLabel,null)},n&&{value:"schema_else",label:a.default.createElement(s.ElseLabel,null)}].filter(e=>"boolean"!=typeof e);return a.default.createElement(o.default,{defaultValue:"schema_if",values:c},c.map(e=>a.default.createElement(i.default,{value:e.value,key:e.value},function(e,t){switch(e){case"schema_if":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/if"},a.default.createElement(u.CreateNodes,{schema:t.if}));case"schema_then":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/then"},a.default.createElement(u.CreateNodes,{schema:t.then}));case"schema_else":return a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:"/else"},a.default.createElement(u.CreateNodes,{schema:t.else}))}}(e.value,t))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(13046)},80976:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaConditional=t.Dependencies=t.DependentSchemas=t.DependentRequired=t.IfElseThen=void 0;var a=r(98895);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return n(a).default}});var i=r(41294);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return n(i).default}});var o=r(60920);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return n(o).default}});var u=r(62767);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return n(u).default}});var l=r(84078);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return n(l).default}})},84078:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.if,n=void 0!==t.dependentRequired,l=void 0!==t.dependentSchemas,s=void 0!==t.dependencies,c=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.schemaConditional"}},"Conditional subschemas"));return a.default.createElement(u.Collapsible,{summary:c,detailsProps:{open:!1}},r&&a.default.createElement(o.IfElseThen,{schema:t}),n&&a.default.createElement(o.DependentRequired,{schema:t}),l&&a.default.createElement(o.DependentSchemas,{schema:t}),s&&a.default.createElement(o.Dependencies,{schema:t}))};let a=n(r(67294)),i=n(r(96025)),o=r(80976),u=r(57485)},82495:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.additionalItems;if(void 0===r||"boolean"==typeof r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(t.items)?t.items.length:1;return a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},a.default.createElement(o.CreateEdge,{key:"array_additionalItems",name:a.default.createElement(l,{count:n}),schema:r,required:void 0!==t.minItems&&n>=t.minItems-1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(e){let{count:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.additionalItemsEntry",count:t}},"items[{count},...]"))}},62378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.contains;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.containsEntry"}},"items[..., x, ...]"));return a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},a.default.createElement(o.CreateEdge,{key:"contains",name:n,schema:r,required:void 0!==t.minContains&&t.minContains>0})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386)},31776:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,p=(0,f.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(d.TypeLabel,null),"\xa0:\xa0",a.default.createElement(d.ArrayLabel,null),a.default.createElement(u.default,{schema:t}),a.default.createElement(i.default,{schema:t}),a.default.createElement(l.default,{schema:t}),a.default.createElement(s.default,{schema:t}),a.default.createElement(o.default,{schema:t}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(c.QualifierMessages,{schema:t,options:p,nullable:r})),void 0!==n&&a.default.createElement(h.CreateDescription,{description:n}))};let a=n(r(67294)),i=n(r(59167)),o=n(r(62378)),u=n(r(69038)),l=n(r(82495)),s=n(r(78570)),c=r(34412),f=r(91386),d=r(13046),h=r(980)},59167:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.items;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(t.prefixItems)?t.prefixItems.length:0,i=Array.isArray(r),s=Array.isArray(r)?r:[r],c=s.length;return a.default.createElement("ul",null,s.map((e,r)=>a.default.createElement(u.SchemaHierarchyComponent,{key:`array_items_${r}`,innerJsonPointer:`/items${i?`/${r}`:""}`},a.default.createElement(o.CreateEdge,{name:a.default.createElement(l,{index:n+r,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=c}))))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(e){let{index:t,isArray:r}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.itemsEntry",index:r?t:"x"}},"items[{index}]"))}},69038:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.prefixItems;if(void 0===r)return a.default.createElement(a.default.Fragment,null);let n=Array.isArray(r),i=Array.isArray(r)?r.length:1,s=Array.isArray(r)?r:[r];return a.default.createElement("ul",null,s.map((e,r)=>a.default.createElement(u.SchemaHierarchyComponent,{key:`schema_hierarchy_${r}`,innerJsonPointer:`/prefixItems${n?`/${r}`:""}`},a.default.createElement(o.CreateEdge,{key:`array_prefixItems_${r}`,name:a.default.createElement(l,{count:r}),schema:e,required:void 0!==t.minItems&&t.minItems>=i}))))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(e){let{count:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.prefixItemsEntry",count:t}},"items[{count}]"))}},78570:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.unevaluatedItems;return void 0===r||"boolean"==typeof r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},a.default.createElement(o.CreateEdge,{key:"array_unevaluatedItems",name:a.default.createElement(l,null),schema:r,required:!1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(){return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.unevaluatedItemsEntry"}},"items[y]"))}},32087:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateArray=void 0;var a=r(31776);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return n(a).default}})},980:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateValue=t.CreateDescription=t.CreateAlwaysInvalid=t.CreateAlwaysValid=t.CreateNull=t.CreateInteger=t.CreateNumber=t.CreateBoolean=t.CreateString=t.CreateArray=t.CreateObject=t.SchemaConditional=t.SchemaComposition=void 0;var a=r(33829);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return a.SchemaComposition}});var i=r(80976);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var o=r(53021);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return o.CreateObject}});var u=r(32087);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return u.CreateArray}});var l=r(8634);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return n(l).default}});var s=r(79015);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return n(s).default}});var c=r(33235);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return n(c).default}});var f=r(76423);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return n(f).default}});var d=r(5968);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return n(d).default}});var h=r(78724);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return n(h).default}});var p=r(5503);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return n(p).default}});var m=r(71697);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return n(m).default}});var v=r(47418);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return n(v).default}})},58714:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.additionalProperties;return void 0===r||"boolean"==typeof r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},a.default.createElement(o.CreateEdge,{key:"object_additionalProperties",name:a.default.createElement(l,null),schema:r,required:!1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(){return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.additionalProperties"}},"property name*"))}},6067:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,nullable:r,description:n}=e,m=(0,d.useJSVOptionsContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.TypeLabel,null),"\xa0:\xa0",a.default.createElement(h.ObjectLabel,null),a.default.createElement(s.default,{schema:t}),a.default.createElement(o.default,{schema:t}),a.default.createElement(u.default,{schema:t}),a.default.createElement(l.default,{schema:t}),a.default.createElement(i.default,{schema:t}),a.default.createElement(c.default,{schema:t}),a.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},a.default.createElement(f.QualifierMessages,{schema:t,options:m,nullable:r})),void 0!==n&&a.default.createElement(p.CreateDescription,{description:n}))};let a=n(r(67294)),i=n(r(58714)),o=n(r(75030)),u=n(r(23694)),l=n(r(47078)),s=n(r(95014)),c=n(r(54026)),f=r(34412),d=r(91386),h=r(13046),p=r(980)},23694:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.patternProperties;return void 0===r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,Object.entries(r).map(e=>{let[t,r]=e;return a.default.createElement(o.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,u.encodeStringForJSONPointer)(t)}`},a.default.createElement(i.CreateEdge,{name:a.default.createElement("code",null,t),schema:r,required:!1}))}))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(34412)},75030:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.properties;return void 0===r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,Object.entries(r).map(e=>{let[r,n]=e;return a.default.createElement(o.SchemaHierarchyComponent,{key:`object_properties_${r}`,innerJsonPointer:`/properties/${(0,u.encodeStringForJSONPointer)(r)}`},a.default.createElement(i.CreateEdge,{name:a.default.createElement("strong",null,r),schema:n,required:!!Array.isArray(t.required)&&t.required.includes(r)}))}))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(34412)},47078:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.propertyNames;if(void 0===r||"boolean"==typeof r||void 0===r.pattern)return a.default.createElement(a.default.Fragment,null);let n=r.pattern,u={...r};return delete u.pattern,a.default.createElement("ul",null,a.default.createElement(o.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},a.default.createElement(i.CreateEdge,{key:"propertyNames",name:a.default.createElement("code",null,n),schema:u,required:!1})))};let a=n(r(67294)),i=r(57485),o=r(91386)},54026:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.unevaluatedProperties;return void 0===r||"boolean"==typeof r?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},a.default.createElement(o.CreateEdge,{key:"object_unevaluatedProperties",name:a.default.createElement(l,null),schema:r,required:!1})))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386);function l(){return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.unevaluatedProperties"}},"property name*"))}},95014:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.required||[],n=Object.keys(t.properties||{}),l=r.filter(e=>!n.includes(e));return 0===l.length?a.default.createElement(a.default.Fragment,null):a.default.createElement("ul",null,l.map((e,t)=>a.default.createElement(o.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,u.encodeStringForJSONPointer)(e)}`},a.default.createElement(i.CreateEdge,{name:a.default.createElement("strong",null,e),schema:!0,required:!0}))))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(34412)},53021:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateObject=void 0;var a=r(6067);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return n(a).default}})},47549:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.allOf,n="allOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(o.default,null,r.map((e,t)=>a.default.createElement(i.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},a.default.createElement(u.CreateNodes,{schema:e}))))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(34412)},27090:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.anyOf,n="anyOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(o.default,null,r.map((e,t)=>a.default.createElement(i.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},a.default.createElement(u.CreateNodes,{schema:e}))))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(34412)},33829:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaComposition=t.NotSchema=t.OneOfSchema=t.AnyOfSchema=t.AllOfSchema=void 0;var a=r(47549);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return n(a).default}});var i=r(27090);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return n(i).default}});var o=r(89207);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return n(o).default}});var u=r(55165);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return n(u).default}});var l=r(51885);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return n(l).default}})},55165:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.not;return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--danger"},"not"),a.default.createElement("br",null),a.default.createElement(o.SchemaHierarchyComponent,{innerJsonPointer:"/not"},a.default.createElement(i.CreateNodes,{schema:r})))};let a=n(r(67294)),i=r(57485),o=r(91386)},89207:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.oneOf,n="oneOf";return a.default.createElement("div",null,a.default.createElement("span",{className:"badge badge--info"},n),a.default.createElement(o.default,null,r.map((e,t)=>a.default.createElement(i.default,{key:`schema_${n}_${t}`,value:`schema_${n}_${t}`,label:a.default.createElement(s.GenerateFriendlyName,{schema:e})},a.default.createElement(l.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},a.default.createElement(u.CreateNodes,{schema:e}))))))};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(91386),s=r(34412)},51885:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement(a.default.Fragment,null,void 0!==t.oneOf&&a.default.createElement(i.OneOfSchema,{schema:t}),void 0!==t.anyOf&&a.default.createElement(i.AnyOfSchema,{schema:t}),void 0!==t.allOf&&a.default.createElement(i.AllOfSchema,{schema:t}),void 0!==t.not&&a.default.createElement(i.NotSchema,{schema:t}))};let a=n(r(67294)),i=r(33829)},60100:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{summary:t,children:r,detailsProps:n}=e;return a.default.createElement(i.default,{summary:a.default.createElement("summary",null,t),...n},r)};let a=n(r(67294)),i=n(r(63922))},65168:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{name:t,schema:r,required:n}=e;return a.default.createElement(i.SchemaItem,{name:t,schema:r,required:n})};let a=n(r(67294)),i=r(57485)},36796:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;if("boolean"==typeof t)return a.default.createElement(u.CreateValidOrInvalid,{schema:t});let r=(0,l.isSchemaComposition)(t),n=(0,l.isSchemaConditional)(t);return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.CreateTypes,{schema:t}),r&&a.default.createElement(o.SchemaComposition,{schema:t}),n&&a.default.createElement(o.SchemaConditional,{schema:t}))};let a=n(r(67294)),i=r(57485),o=r(980),u=r(57485),l=r(34412)},47605:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=(0,l.detectedTypes)(t),n=r.includes("null");if(1===r.length||n&&2===r.length){let e=r.find(e=>"null"!==e)||r[0];return a.default.createElement(s,{schema:t,type:e,nullable:n})}if(r.length>1){let e=r.filter(e=>"null"!==e).map(e=>({value:e,label:a.default.createElement(u.TypeLabelSwitch,{type:e})}));return a.default.createElement(c,{schema:t,types:e,nullable:n})}return(0,l.isSchemaComposition)(t)?a.default.createElement(a.default.Fragment,null):a.default.createElement(u.CreateValidOrInvalid,{schema:t})};let a=n(r(67294)),i=n(r(5525)),o=n(r(47902)),u=r(57485),l=r(34412);function s(e){let{schema:t,type:r,nullable:n}=e;return a.default.createElement(u.RenderProvidedType,{schema:t,type:r,nullable:n})}function c(e){let{schema:t,types:r,nullable:n}=e;return a.default.createElement(o.default,{defaultValue:r[0].value,values:r,key:"multiple_types"},r.map(e=>a.default.createElement(i.default,{key:e.value,value:e.value},a.default.createElement(u.RenderProvidedType,{type:e.value,schema:t,nullable:n}))))}},28753:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement(a.default.Fragment,null,t&&a.default.createElement(i.CreateAlwaysValid,{schema:t}),!t&&a.default.createElement(i.CreateAlwaysInvalid,null))};let a=n(r(67294)),i=r(980)},4730:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,type:r,nullable:n}=e,o={description:t.description,nullable:n};switch(r){case"array":return a.default.createElement(i.CreateArray,{schema:t,...o});case"object":return a.default.createElement(i.CreateObject,{schema:t,...o});case"string":return a.default.createElement(i.CreateString,{schema:t,...o});case"boolean":return a.default.createElement(i.CreateBoolean,{schema:t,...o});case"number":return a.default.createElement(i.CreateNumber,{schema:t,...o});case"integer":return a.default.createElement(i.CreateInteger,{schema:t,...o});default:return a.default.createElement(i.CreateNull,{schema:t,...o})}};let a=n(r(67294)),i=r(980)},39492:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,name:r,required:n}=e,{jsonPointer:c,level:f}=(0,o.useSchemaHierarchyContext)(),d="boolean"!=typeof t&&!0===t.deprecated,h="boolean"!=typeof t&&!0===t.readOnly,p="boolean"!=typeof t&&!0===t.writeOnly,m="boolean"!=typeof t&&(void 0!==t.const||Array.isArray(t.enum)&&1===t.enum.length),v=!d&&n,g=a.default.createElement(a.default.Fragment,null,r,"\xa0",a.default.createElement(l.GenerateFriendlyName,{schema:t}),v&&a.default.createElement(a.default.Fragment,null,"\xa0"),v&&a.default.createElement(u.RequiredLabel,null),d&&a.default.createElement(a.default.Fragment,null,"\xa0"),d&&a.default.createElement(u.DeprecatedLabel,null),h&&a.default.createElement(a.default.Fragment,null,"\xa0"),h&&a.default.createElement(u.ReadOnlyLabel,null),p&&a.default.createElement(a.default.Fragment,null,"\xa0"),p&&a.default.createElement(u.WriteOnlyLabel,null),m&&a.default.createElement(a.default.Fragment,null,"\xa0"),m&&a.default.createElement(u.ConstantLabel,null));return a.default.createElement("li",{className:s.default.schemaItem,id:c,"data-level":f},a.default.createElement(i.Collapsible,{summary:g,detailsProps:{open:!1}},a.default.createElement(a.default.Fragment,null,a.default.createElement(i.CreateNodes,{schema:t}))))};let a=n(r(67294)),i=r(57485),o=r(91386),u=r(13046),l=r(34412),s=n(r(54301))},15212:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{type:t,...r}=e;switch(t){case"string":return a.default.createElement(i.StringLabel,{...r});case"number":return a.default.createElement(i.NumberLabel,{...r});case"boolean":return a.default.createElement(i.BooleanLabel,{...r});case"object":return a.default.createElement(i.ObjectLabel,{...r});case"array":return a.default.createElement(i.ArrayLabel,{...r});case"integer":return a.default.createElement(i.IntegerLabel,{...r});case"null":return a.default.createElement(i.NullLabel,{...r});case!0:return a.default.createElement(i.TrueLabel,{...r});case!1:return a.default.createElement(i.FalseLabel,{...r});default:return a.default.createElement("span",{style:{opacity:"0.6"}},t)}};let a=n(r(67294)),i=r(13046)},57485:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaItem=t.RenderProvidedType=t.TypeLabelSwitch=t.CreateTypes=t.CreateValidOrInvalid=t.CreateEdge=t.CreateNodes=t.Collapsible=void 0;var a=r(60100);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return n(a).default}});var i=r(36796);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return n(i).default}});var o=r(65168);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return n(o).default}});var u=r(28753);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return n(u).default}});var l=r(47605);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return n(l).default}});var s=r(15212);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return n(s).default}});var c=r(4730);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return n(c).default}});var f=r(39492);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return n(f).default}})},91386:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(43747),t),a(r(35942),t)},43747:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSVOptionsContextProvider=t.useJSVOptionsContext=t.JSVOptionsContext=void 0;let n=r(67294);t.JSVOptionsContext=(0,n.createContext)({fullSchema:!1,showExamples:!1,qualifierMessagesOrder:void 0,DescriptionComponent:void 0,UnresolvedRefsComponent:void 0});t.useJSVOptionsContext=()=>(0,n.useContext)(t.JSVOptionsContext),t.JSVOptionsContextProvider=t.JSVOptionsContext.Provider},35942:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaHierarchyContextProvider=t.useSchemaHierarchyContext=t.SchemaHierarchyContext=void 0,t.SchemaHierarchyComponent=function(e){let{innerJsonPointer:r,children:n}=e,{jsonPointer:a,level:i}=(0,t.useSchemaHierarchyContext)();return o.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${a}${r}`,level:i+1}},n)};let o=i(r(67294));t.SchemaHierarchyContext=(0,o.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,o.useContext)(t.SchemaHierarchyContext),t.SchemaHierarchyContextProvider=t.SchemaHierarchyContext.Provider},98477:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,resolverOptions:r,viewerOptions:n}=e,[a,i]=(0,o.useState)(void 0),[l,s]=(0,o.useState)(void 0);return((0,o.useEffect)(()=>{new u.Resolver().resolve(t,r).then(e=>{s(e.result)}).catch(e=>{i(e)})},[]),void 0!==a)?o.default.createElement(f,{error:a}):void 0===l?o.default.createElement(c.LoadingLabel,null):o.default.createElement(d,{schema:l,viewerOptions:n,className:e.className})};let o=i(r(67294)),u=r(60819),l=r(57485),s=r(91386),c=r(13046);function f(e){let{error:t}=e;return o.default.createElement("div",null,o.default.createElement(c.ErrorOccurredLabel,{error:t}))}function d(e){let{schema:t,viewerOptions:r}=e,n="boolean"!=typeof t&&void 0!==t.title?t.title:"Schema",a={fullSchema:t,...r};return o.default.createElement(s.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},o.default.createElement(s.JSVOptionsContextProvider,{value:a},o.default.createElement(l.Collapsible,{summary:o.default.createElement("strong",null,n),detailsProps:{open:!0,className:e.className||"json-schema-viewer"}},o.default.createElement(l.CreateNodes,{schema:t}))))}},48123:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.and"}},"AND")),e)};let a=n(r(67294)),i=n(r(96025))},71176:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.array"}},"array"))};let a=n(r(67294)),i=n(r(96025))},84097:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.boolean"}},"boolean"))};let a=n(r(67294)),i=n(r(96025))},67107:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.constant},a.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(72893))},19090:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.deprecated},a.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(80740))},42571:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.else"}},"Else"))};let a=n(r(67294)),i=n(r(96025))},2750:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{error:t}=e;return a.default.createElement(i.default,{values:{id:"json-schema.labels.errorOccurred",message:t.message}},"Something bad happens : {message}")};let a=n(r(67294)),i=n(r(96025))},48105:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.false"}},"none"))};let a=n(r(67294)),i=n(r(96025))},77587:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.if"}},"If"))};let a=n(r(67294)),i=n(r(96025))},41035:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.integer"}},"integer"))};let a=n(r(67294)),i=n(r(96025))},205:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("div",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.loading"}},"Loading ...."))};let a=n(r(67294)),i=n(r(96025))},95336:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.not"}},"NOT"))};let a=n(r(67294)),i=n(r(96025))},25411:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.null"}},"null"))};let a=n(r(67294)),i=n(r(96025))},72116:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.number"}},"number"))};let a=n(r(67294)),i=n(r(96025))},52513:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.object"}},"object"))};let a=n(r(67294)),i=n(r(96025))},36053:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.or"}},"OR")),e)};let a=n(r(67294)),i=n(r(96025))},49085:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.readOnly},a.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(27177))},88628:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.required},a.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(96043))},18659:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{format:t}=e;return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.string"}},"string"),void 0!==t&&a.default.createElement(a.default.Fragment,null,"\xa0",`(${t})`))};let a=n(r(67294)),i=n(r(96025))},71653:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.then"}},"Then"))};let a=n(r(67294)),i=n(r(96025))},32626:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("span",{style:{opacity:"0.6"}},a.default.createElement(i.default,{values:{id:"json-schema.keywords.true"}},"any"))};let a=n(r(67294)),i=n(r(96025))},60943:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.type",count:1}},"type"))};let a=n(r(67294)),i=n(r(96025))},42332:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.default.createElement("strong",{className:o.default.writeOnly},a.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))};let a=n(r(67294)),i=n(r(96025)),o=n(r(28728))},7378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(a.default.Fragment,null,"\xa0");return a.default.createElement(a.default.Fragment,null,e,a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.xor"}},"XOR")),e)};let a=n(r(67294)),i=n(r(96025))},13046:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstantLabel=t.XorLabel=t.NotLabel=t.OrLabel=t.AndLabel=t.NullLabel=t.IntegerLabel=t.NumberLabel=t.BooleanLabel=t.StringLabel=t.FalseLabel=t.TrueLabel=t.WriteOnlyLabel=t.ReadOnlyLabel=t.DeprecatedLabel=t.RequiredLabel=t.ErrorOccurredLabel=t.LoadingLabel=t.ElseLabel=t.ThenLabel=t.IfLabel=t.TypeLabel=t.ArrayLabel=t.ObjectLabel=void 0;var a=r(52513);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return n(a).default}});var i=r(71176);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return n(i).default}});var o=r(60943);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return n(o).default}});var u=r(77587);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return n(u).default}});var l=r(71653);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return n(l).default}});var s=r(42571);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return n(s).default}});var c=r(205);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return n(c).default}});var f=r(2750);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return n(f).default}});var d=r(88628);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return n(d).default}});var h=r(19090);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return n(h).default}});var p=r(49085);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return n(p).default}});var m=r(42332);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return n(m).default}});var v=r(32626);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return n(v).default}});var g=r(48105);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return n(g).default}});var y=r(18659);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return n(y).default}});var _=r(84097);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return n(_).default}});var b=r(72116);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return n(b).default}});var E=r(41035);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return n(E).default}});var O=r(25411);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return n(O).default}});var j=r(48123);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return n(j).default}});var x=r(36053);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return n(x).default}});var P=r(95336);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return n(P).default}});var w=r(7378);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return n(w).default}});var S=r(67107);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return n(S).default}})},60588:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minContains&&void 0!==t.maxContains,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contains"}},"Must contain : "));return a.default.createElement("div",{key:r?"minContainsAndmaxContains":void 0!==t.minContains?"minContains":"maxContains"},n,"\xa0",void 0!==t.minContains&&a.default.createElement(u,{value:t.minContains}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxContains&&a.default.createElement(l,{value:t.maxContains}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minContains",count:t}},"at least {count} valid item(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxContains",count:t}},"at most {count} valid item(s)"))}},17978:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minItems&&void 0!==t.maxItems,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.lengthItems"}},"Length :"));return a.default.createElement("div",{key:r?"minItemsAndmaxItems":void 0!==t.minItems?"minItems":"maxItems"},n,"\xa0",void 0!==t.minItems&&a.default.createElement(u,{value:t.minItems}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxItems&&a.default.createElement(l,{value:t.maxItems}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minItems",count:t}},">= {count}"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxItems",count:t}},"<= {count}"))}},63454:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItems"}},"Unique items :")),t=a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItemsOnly"}},"yes"));return a.default.createElement("div",{key:"uniqueItems"},e,"\xa0",t)};let a=n(r(67294)),i=n(r(96025))},51947:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.const"}},"Constant value :"));return a.default.createElement("div",{key:"const"},r,"\xa0",a.default.createElement(o.CreateValue,{value:t.const,schema:t}))};let a=n(r(67294)),i=n(r(96025)),o=r(980)},5757:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contentEncoding"}},"Encoding :"));return a.default.createElement("div",{key:"contentEncoding"},r,"\xa0",(0,o.printSchemaType)(t.contentEncoding))};let a=n(r(67294)),i=n(r(96025)),o=r(51697)},27620:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contentMediaType"}},"Media type :"));return a.default.createElement("div",{key:"contentMediaType"},r,"\xa0",(0,o.printSchemaType)(t.contentMediaType))};let a=n(r(67294)),i=n(r(96025)),o=r(51697)},25626:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.contentSchema"}},"Decoded content must be validated against this schema :"));return a.default.createElement("div",{key:"contentSchema"},r,"\xa0",a.default.createElement(o.Collapsible,{summary:a.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},a.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},a.default.createElement(o.CreateNodes,{schema:t.contentSchema}))))};let a=n(r(67294)),i=n(r(96025)),o=r(57485),u=r(91386)},46325:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.default"}},"Default value :"));return a.default.createElement("div",{key:"default"},r,"\xa0",a.default.createElement(o.CreateValue,{value:t.default,schema:t}))};let a=n(r(67294)),i=n(r(96025)),o=r(980)},50023:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.deprecated"}},"Deprecated");return a.default.createElement("div",{key:"deprecated"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},26378:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.enum"}},"Possible values :"));return a.default.createElement("div",{key:"enum"},r,"\xa0",a.default.createElement("ul",null,t.enum.map((e,r)=>a.default.createElement("li",{key:r},a.default.createElement(o.CreateValue,{value:e,schema:t})))))};let a=n(r(67294)),i=n(r(96025)),o=r(980)},4861:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.examples"}},"Example values :")),n=t.examples.map((e,t)=>({id:t,value:e,label:a.default.createElement(i.default,{values:{id:"json-schema.labels.exampleItem",index:t}},"Example {index}")}));return a.default.createElement("div",{key:"examples"},r,"\xa0",a.default.createElement(u.default,null,n.map(e=>a.default.createElement(o.default,{key:e.id,value:e.id.toString(),label:e.label},a.default.createElement(l.CreateValue,{value:e.value,schema:t})))))};let a=n(r(67294)),i=n(r(96025)),o=n(r(5525)),u=n(r(47902)),l=r(980)},98847:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraItems"}},"No extra item(s) are authorized in this array");return a.default.createElement("div",{key:"no-extra-items"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},57587:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraProperties"}},"No extra propertie(s) are authorized in this object");return a.default.createElement("div",{key:"no-extra-properties"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},81933:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.nullable"}},"Nullable");return a.default.createElement("div",{key:"nullable"},"\u2753\xa0",e)};let a=n(r(67294)),i=n(r(96025))},24690:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=t.exclusiveMinimum||t.minimum,n=void 0!==t.exclusiveMinimum,s=t.exclusiveMaximum||t.maximum,c=void 0!==t.exclusiveMaximum,f=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.numberMinimumMaximum"}},"Possible values :"));return a.default.createElement("div",{key:"number-range"},f,"\xa0",void 0!==r&&a.default.createElement("code",null,a.default.createElement(u,{exclusive:n,value:r})),void 0!==r&&void 0!==s&&a.default.createElement(o.AndLabel,null),void 0!==s&&a.default.createElement("code",null,a.default.createElement(l,{exclusive:c,value:s})))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t,exclusive:r}=e;return r?a.default.createElement(i.default,{values:{id:"json-schema.keywords.minimumExlusive",count:t}},"> {count}"):a.default.createElement(i.default,{values:{id:"json-schema.keywords.minimum",count:t}},">= {count}")}function l(e){let{value:t,exclusive:r}=e;return r?a.default.createElement(i.default,{values:{id:"json-schema.keywords.maximumExlusive",count:t}},"< {count}"):a.default.createElement(i.default,{values:{id:"json-schema.keywords.maximum",count:t}},"<= {count}")}},77698:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement("div",{key:"multipleOf"},a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.multipleOf"}},"Possible values :")),"\xa0",a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.multipleOf",count:t.multipleOf}},"multiple of {count}")))};let a=n(r(67294)),i=n(r(96025))},42053:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minProperties&&void 0!==t.maxProperties,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.lengthProperties"}},"Length :"));return a.default.createElement("div",{key:r?"minPropertiesAndMaxProperties":void 0!==t.minProperties?"minProperties":"maxProperties"},n,"\xa0",void 0!==t.minProperties&&a.default.createElement(u,{value:t.minProperties}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxProperties&&a.default.createElement(l,{value:t.maxProperties}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minProperties",count:t}},">= {count} propertie(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxProperties",count:t}},"<= {count} propertie(s)"))}},48313:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e;return a.default.createElement("div",{key:"pattern"},a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.pattern"}},"Pattern :")),"\xa0",a.default.createElement("code",null,t.pattern))};let a=n(r(67294)),i=n(r(96025))},45740:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return a(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ORDER=t.CHECKS_MAP=void 0;let u=o(r(67294)),l=i(r(51697)),s=r(54580);t.CHECKS_MAP={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>u.default.createElement(l.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>u.default.createElement(l.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>u.default.createElement(l.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>u.default.createElement(l.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return(0,s.isArrayNotEmpty)(t.enum)},Component:e=>{let{schema:t}=e;return u.default.createElement(l.EnumQM,{key:"enum",schema:t})}},stringLength:{match:e=>{let{schema:t}=e;return void 0!==t.minLength||void 0!==t.maxLength},Component:e=>{let{schema:t}=e;return u.default.createElement(l.StringLengthQM,{key:"stringLength",schema:t})}},objectProperties:{match:e=>{let{schema:t}=e;return void 0!==t.minProperties||void 0!==t.maxProperties},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>u.default.createElement(l.NoExtraPropertiesQM,{key:"no-extra-properties"})},arrayItems:{match:e=>{let{schema:t}=e;return void 0!==t.minItems||void 0!==t.maxItems},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ArrayNumberOfItemsQM,{key:"arrayItems",schema:t})}},arrayContains:{match:e=>{let{schema:t}=e;return void 0!==t.minContains||void 0!==t.maxContains},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ArrayContainsNumberQM,{key:"arrayContains",schema:t})}},"no-extra-items":{match:e=>{let{schema:t}=e;return!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems},Component:()=>u.default.createElement(l.NoExtraItemsQM,{key:"no-extra-items"})},"number-range":{match:e=>{let{schema:t}=e;return void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum},Component:e=>{let{schema:t}=e;return u.default.createElement(l.NumberBoundsQM,{key:"number-range",schema:t})}},pattern:{match:e=>{let{schema:t}=e;return void 0!==t.pattern},Component:e=>{let{schema:t}=e;return u.default.createElement(l.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return u.default.createElement(l.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>u.default.createElement(l.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return u.default.createElement(l.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ConstantQM,{key:"const",schema:t})}},examples:{match:e=>{let{schema:t,options:r}=e;return!0===r.showExamples&&(0,s.isArrayNotEmpty)(t.examples)},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return u.default.createElement(l.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,s.hasUnresolvedRefs)(t)},Component:e=>u.default.createElement(l.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.DEFAULT_ORDER=["nullable","deprecated","readOnly","writeOnly","enum","stringLength","objectProperties","no-extra-properties","arrayItems","arrayContains","no-extra-items","number-range","pattern","multipleOf","uniqueItems","contentEncoding","contentMediaType","contentSchema","default","const","examples","unsolvedRefs"]},74722:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.readOnly"}},"read only");return a.default.createElement("div",{key:"readOnly"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},97296:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t}=e,r=void 0!==t.minLength&&void 0!==t.maxLength,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.length"}},"Length :"));return a.default.createElement("div",{key:r?"minLengthAndmaxLength":void 0!==t.minLength?"minLength":"maxLength"},n,"\xa0",void 0!==t.minLength&&a.default.createElement(u,{value:t.minLength}),r&&a.default.createElement(o.AndLabel,null),void 0!==t.maxLength&&a.default.createElement(l,{value:t.maxLength}))};let a=n(r(67294)),i=n(r(96025)),o=r(13046);function u(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.minLength",count:t}},">= {count} character(s)"))}function l(e){let{value:t}=e;return a.default.createElement("code",null,a.default.createElement(i.default,{values:{id:"json-schema.keywords.maxLength",count:t}},"<= {count} character(s)"))}},29793:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{schema:t,options:{UnresolvedRefsComponent:r}}=e,n=a.default.createElement("strong",null,a.default.createElement(i.default,{values:{id:"json-schema.labels.unsolvedRefs"}},"Unsolved ref(s) :")),o=[t.$ref,t.$dynamicRef,t.$recursiveRef].filter(e=>void 0!==e).join(" ");return a.default.createElement("div",{key:"unsolvedRefs"},r?a.default.createElement(r,{schema:t}):a.default.createElement(a.default.Fragment,null,n,"\xa0",o))};let a=n(r(67294)),i=n(r(96025))},41082:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=a.default.createElement(i.default,{values:{id:"json-schema.labels.writeOnly"}},"write only");return a.default.createElement("div",{key:"writeOnly"},"\uD83D\uDEA8\xa0",e)};let a=n(r(67294)),i=n(r(96025))},51697:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QUALIFIERS_DEFAULT_ORDER=t.QUALIFIERS_MAP=t.UnsolvedRefsQM=t.ContentSchemaQM=t.ContentEncodingQM=t.ContentMediaTypeQM=t.NullableQM=t.WriteOnlyQM=t.ReadOnlyQM=t.DeprecatedQM=t.ExamplesQM=t.ConstantQM=t.DefaultValueQM=t.ArrayUniqueItemsQM=t.MultipleOfQM=t.PatternQM=t.NumberBoundsQM=t.NoExtraItemsQM=t.ArrayContainsNumberQM=t.ArrayNumberOfItemsQM=t.NoExtraPropertiesQM=t.ObjectPropertiesQM=t.StringLengthQM=t.EnumQM=void 0,t.printSchemaType=function(e){return["string","number","bigint","boolean"].includes(typeof e)?a.default.createElement("code",null,e.toString()):a.default.createElement(i.default,{language:"json"},`${JSON.stringify(e)}`)};let a=n(r(67294)),i=n(r(45056));var o=r(26378);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return n(o).default}});var u=r(97296);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return n(u).default}});var l=r(42053);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return n(l).default}});var s=r(57587);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return n(s).default}});var c=r(17978);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return n(c).default}});var f=r(60588);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return n(f).default}});var d=r(98847);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return n(d).default}});var h=r(24690);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return n(h).default}});var p=r(48313);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return n(p).default}});var m=r(77698);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return n(m).default}});var v=r(63454);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return n(v).default}});var g=r(46325);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return n(g).default}});var y=r(51947);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return n(y).default}});var _=r(4861);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return n(_).default}});var b=r(50023);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return n(b).default}});var E=r(74722);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return n(E).default}});var O=r(41082);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return n(O).default}});var j=r(81933);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return n(j).default}});var x=r(27620);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return n(x).default}});var P=r(5757);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return n(P).default}});var w=r(25626);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return n(w).default}});var S=r(29793);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return n(S).default}});var k=r(45740);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return k.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return k.DEFAULT_ORDER}})},54580:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayNotEmpty=t.hasUnresolvedRefs=t.isNull=t.isBoolean=t.isSchemaConditional=t.isSchemaComposition=t.isInteger=t.isNumeric=t.isStringType=t.isArrayType=t.isObjectType=void 0,t.detectedTypes=function(e){let r=Array.isArray(e.type)?e.type:void 0!==e.type?[e.type]:[];return 0!==r.length?[...new Set(r)]:[...function*(e){(0,t.isNull)(e)&&(yield"null"),(0,t.isObjectType)(e)&&(yield"object"),(0,t.isArrayType)(e)&&(yield"array"),(0,t.isStringType)(e)&&(yield"string"),(0,t.isBoolean)(e)&&(yield"boolean"),(0,t.isInteger)(e)&&(yield"integer"),!(0,t.isInteger)(e)&&(0,t.isNumeric)(e)&&(yield"number")}(e)]};t.isObjectType=e=>"boolean"!=typeof e&&("object"===e.type||void 0!==e.properties||void 0!==e.additionalProperties||void 0!==e.patternProperties||void 0!==e.propertyNames||void 0!==e.minProperties||void 0!==e.maxProperties||void 0!==e.required||void 0!==e.unevaluatedProperties);t.isArrayType=e=>{var t;return"boolean"!=typeof e&&("array"===e.type||void 0!==e.items||void 0!==e.minItems||void 0!==e.maxItems||void 0!==e.additionalItems||void 0!==e.contains||void 0!==e.minContains||void 0!==e.maxContains||void 0!==e.prefixItems||void 0!==e.unevaluatedItems||Array.isArray(e.const)||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>Array.isArray(e))))};t.isStringType=e=>{var t;return"boolean"!=typeof e&&("string"===e.type||void 0!==e.minLength||void 0!==e.maxLength||void 0!==e.pattern||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"string"==typeof e))||"string"==typeof e.const)};t.isNumeric=e=>{var t;return"boolean"!=typeof e&&("number"===e.type||void 0!==e.multipleOf||void 0!==e.minimum||void 0!==e.exclusiveMinimum||void 0!==e.maximum||void 0!==e.exclusiveMaximum||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"number"==typeof e))||"number"==typeof e.const)};t.isInteger=e=>{var t;return"boolean"!=typeof e&&("integer"===e.type||1===e.multipleOf||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"bigint"==typeof e))||"bigint"==typeof e.const)};t.isSchemaComposition=e=>"boolean"!=typeof e&&(void 0!==e.allOf||void 0!==e.anyOf||void 0!==e.oneOf||void 0!==e.not);t.isSchemaConditional=e=>"boolean"!=typeof e&&(void 0!==e.if||void 0!==e.dependencies||void 0!==e.dependentRequired||void 0!==e.dependentSchemas);t.isBoolean=e=>{var t;return"boolean"!=typeof e&&("boolean"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>"boolean"==typeof e))||"boolean"==typeof e.const)};t.isNull=e=>{var t;return"boolean"!=typeof e&&("null"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some(e=>null===e))||null===e.const)};t.hasUnresolvedRefs=e=>"boolean"!=typeof e&&(void 0!==e.$ref||void 0!==e.$dynamicRef||void 0!==e.$recursiveRef);t.isArrayNotEmpty=e=>void 0!==e&&e.length>0},94555:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStringForJSONPointer=function(e){return e.replace(/~/g,"~0").replace(/\//g,"~1").replace(/%/g,"%25")}},1086:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;let a=n(r(67294)),i=r(34412),o=r(57485),u=r(13046);function l(e,t){return!(t<=1)&&e!==t-1}function s(e){let{schema:t}=e;if("boolean"==typeof t)return a.default.createElement(o.TypeLabelSwitch,{type:t});if(t.title)return a.default.createElement(a.default.Fragment,null,t.title);let r=(0,i.detectedTypes)(t);return 0===r.length?a.default.createElement(c,{schema:t}):a.default.createElement(a.default.Fragment,null,r.map((e,n)=>a.default.createElement(a.default.Fragment,{key:n},a.default.createElement(f,{schema:t,type:e}),l(n,r.length)&&a.default.createElement(u.OrLabel,null))))}function c(e){let{schema:t}=e;if(void 0!==t.not)return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.NotLabel,null)," ( ",a.default.createElement(s,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){let e=t.anyOf?a.default.createElement(u.OrLabel,null):t.oneOf?a.default.createElement(u.XorLabel,null):a.default.createElement(u.AndLabel,null),r=t.allOf||t.anyOf||t.oneOf;return a.default.createElement(a.default.Fragment,null,r.map((t,n)=>a.default.createElement(a.default.Fragment,{key:n},a.default.createElement(s,{schema:t}),l(n,r.length)&&e)))}return a.default.createElement(o.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:r}=e;if("string"===r&&void 0!==t.format)return a.default.createElement(o.TypeLabelSwitch,{type:t.format});if("array"===r)return a.default.createElement(d,{schema:t});if(!["array","object"].includes(r)){if(void 0!==t.const)return a.default.createElement("code",null,`${JSON.stringify(t.const)}`);if(void 0!==t.enum&&1===t.enum.length)return a.default.createElement("code",null,`${JSON.stringify(t.enum[0])}`)}return a.default.createElement(o.TypeLabelSwitch,{type:r})}function d(e){let{schema:t}=e;if([void 0,!1].includes(t.items)&&[void 0,!1].includes(t.prefixItems)&&void 0===t.contains)return a.default.createElement(o.TypeLabelSwitch,{type:"array"});let r=[];if(Array.isArray(t.prefixItems)&&r.push(...t.prefixItems.map((e,t)=>a.default.createElement(s,{schema:e,key:`prefixItems_${t}`}))),void 0!==t.items&&"boolean"!=typeof t.items){let e=Array.isArray(t.items)?t.items:[t.items];r.push(...e.map((e,t)=>a.default.createElement(s,{schema:e,key:`items_${t}`})))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&r.push(a.default.createElement(s,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&r.push(a.default.createElement(s,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&r.push(a.default.createElement(a.default.Fragment,{key:"before_contains"},"..."),a.default.createElement(s,{schema:t.contains,key:"contains"})),!(!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems)&&r.push(a.default.createElement(a.default.Fragment,{key:"open_tuple"},"...")),a.default.createElement(a.default.Fragment,null,"(",r.map((e,t)=>a.default.createElement(a.default.Fragment,{key:t},e,l(t,r.length)&&",")),")[]")}},9672:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{options:t}=e,r=t.qualifierMessagesOrder||i.QUALIFIERS_DEFAULT_ORDER;return a.default.createElement(a.default.Fragment,null,r.filter(t=>i.QUALIFIERS_MAP[t].match(e)).map(t=>i.QUALIFIERS_MAP[t].Component(e)))};let a=n(r(67294)),i=r(51697)},34412:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(t,r)&&n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QualifierMessages=t.GenerateFriendlyName=void 0;var o=r(1086);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(o).default}});var u=r(9672);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(u).default}}),a(r(54580),t),a(r(94555),t)}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/7960.1b235a33.js b/pr-preview/pr-5/assets/js/7960.1b235a33.js new file mode 100644 index 0000000..1396e18 --- /dev/null +++ b/pr-preview/pr-5/assets/js/7960.1b235a33.js @@ -0,0 +1,215 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7960"],{10626:function(t,e,s){s.d(e,{j:function(){return a},q:function(){return n}});var i=s(5995),r=s(27818),n=(0,i.eW)((t,e)=>{let s;return"sandbox"===e&&(s=(0,r.Ys)("#i"+t)),("sandbox"===e?(0,r.Ys)(s.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select(`[id="${t}"]`)},"getDiagramElement"),a=(0,i.eW)((t,e,s,r)=>{t.attr("class",s);let{width:n,height:a,x:c,y:h}=o(t,e);(0,i.v2)(t,a,n,r);let u=l(c,h,n,a,e);t.attr("viewBox",u),i.cM.debug(`viewBox configured: ${u} with padding: ${e}`)},"setupViewPortForSVG"),o=(0,i.eW)((t,e)=>{let s=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*e,height:s.height+2*e,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),l=(0,i.eW)((t,e,s,i,r)=>`${t-r} ${e-r} ${s} ${i}`,"createViewBox")},2785:function(t,e,s){s.d(e,{Ee:function(){return tY},J8:function(){return l},_$:function(){return R},bH:function(){return tB}});var i=s(10626),r=s(88984),n=s(7690),a=s(5995),o=function(){var t=(0,a.eW)(function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},"o"),e=[1,2],s=[1,3],i=[1,4],r=[2,4],n=[1,9],o=[1,11],l=[1,16],c=[1,17],h=[1,18],u=[1,19],d=[1,32],p=[1,20],y=[1,21],f=[1,22],g=[1,23],S=[1,24],m=[1,26],_=[1,27],b=[1,28],T=[1,29],k=[1,30],E=[1,31],x=[1,34],$=[1,35],C=[1,36],D=[1,37],v=[1,33],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],A=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],I=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],W={trace:(0,a.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement: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,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"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:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:(0,a.eW)(function(t,e,s,i,r,n,a){var o=n.length-1;switch(r){case 3:return i.setRootDoc(n[o]),n[o];case 4:this.$=[];break;case 5:"nl"!=n[o]&&(n[o-1].push(n[o]),this.$=n[o-1]);break;case 6:case 7:case 12:this.$=n[o];break;case 8:this.$="nl";break;case 13:let l=n[o-1];l.description=i.trimColon(n[o]),this.$=l;break;case 14:this.$={stmt:"relation",state1:n[o-2],state2:n[o]};break;case 15:let c=i.trimColon(n[o]);this.$={stmt:"relation",state1:n[o-3],state2:n[o-1],description:c};break;case 19:this.$={stmt:"state",id:n[o-3],type:"default",description:"",doc:n[o-1]};break;case 20:var h=n[o],u=n[o-2].trim();if(n[o].match(":")){var d=n[o].split(":");h=d[0],u=[u,d[1]]}this.$={stmt:"state",id:h,type:"default",description:u};break;case 21:this.$={stmt:"state",id:n[o-3],type:"default",description:n[o-5],doc:n[o-1]};break;case 22:this.$={stmt:"state",id:n[o],type:"fork"};break;case 23:this.$={stmt:"state",id:n[o],type:"join"};break;case 24:this.$={stmt:"state",id:n[o],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:n[o-1].trim(),note:{position:n[o-2].trim(),text:n[o].trim()}};break;case 29:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 30:case 31:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:n[o-1].trim(),classes:n[o].trim()};break;case 34:this.$={stmt:"style",id:n[o-1].trim(),styleClass:n[o].trim()};break;case 35:this.$={stmt:"applyClass",id:n[o-1].trim(),styleClass:n[o].trim()};break;case 36:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:n[o].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:n[o-2].trim(),classes:[n[o].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:n[o-2].trim(),classes:[n[o].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:e,5:s,6:i},{1:[3]},{3:5,4:e,5:s,6:i},{3:6,4:e,5:s,6:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:l,17:c,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,7]),t(L,[2,8]),t(L,[2,9]),t(L,[2,10]),t(L,[2,11]),t(L,[2,12],{14:[1,39],15:[1,40]}),t(L,[2,16]),{18:[1,41]},t(L,[2,18],{20:[1,42]}),{23:[1,43]},t(L,[2,22]),t(L,[2,23]),t(L,[2,24]),t(L,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(L,[2,28]),{34:[1,48]},{36:[1,49]},t(L,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(A,[2,42],{55:[1,54]}),t(A,[2,43],{55:[1,55]}),t(L,[2,36]),t(L,[2,37]),t(L,[2,38]),t(L,[2,39]),t(L,[2,6]),t(L,[2,13]),{13:56,24:d,54:v},t(L,[2,17]),t(I,r,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(L,[2,29]),t(L,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(L,[2,14],{14:[1,67]}),{4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,21:[1,68],22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(L,[2,32]),t(L,[2,33]),t(L,[2,34]),t(L,[2,35]),t(A,[2,44]),t(A,[2,45]),t(L,[2,15]),t(L,[2,19]),t(I,r,{7:72}),t(L,[2,26]),t(L,[2,27]),{4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:c,19:h,21:[1,73],22:u,24:d,25:p,26:y,27:f,28:g,29:S,32:25,33:m,35:_,37:b,38:T,42:k,45:E,48:x,49:$,50:C,51:D,54:v},t(L,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:(0,a.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var s=Error(t);throw s.hash=e,s}},"parseError"),parse:(0,a.eW)(function(t){var e=this,s=[0],i=[],r=[null],n=[],o=this.table,l="",c=0,h=0,u=0,d=n.slice.call(arguments,1),p=Object.create(this.lexer),y={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(y.yy[f]=this.yy[f]);p.setInput(t,y.yy),y.yy.lexer=p,y.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;n.push(g);var S=p.options&&p.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function m(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}(0,a.eW)(function(t){s.length=s.length-2*t,r.length=r.length-t,n.length=n.length-t},"popStack"),(0,a.eW)(m,"lex");for(var _,b,T,k,E,x,$,C,D,v={};;){if(T=s[s.length-1],this.defaultActions[T]?k=this.defaultActions[T]:(null==_&&(_=m()),k=o[T]&&o[T][_]),void 0===k||!k.length||!k[0]){var L="";for(x in D=[],o[T])this.terminals_[x]&&x>2&&D.push("'"+this.terminals_[x]+"'");L=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(L,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:g,expected:D})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+T+", token: "+_);switch(k[0]){case 1:s.push(_),r.push(p.yytext),n.push(p.yylloc),s.push(k[1]),_=null,b?(_=b,b=null):(h=p.yyleng,l=p.yytext,c=p.yylineno,g=p.yylloc,u>0&&u--);break;case 2:if($=this.productions_[k[1]][1],v.$=r[r.length-$],v._$={first_line:n[n.length-($||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-($||1)].first_column,last_column:n[n.length-1].last_column},S&&(v._$.range=[n[n.length-($||1)].range[0],n[n.length-1].range[1]]),void 0!==(E=this.performAction.apply(v,[l,h,c,y.yy,k[1],r,n].concat(d))))return E;$&&(s=s.slice(0,-1*$*2),r=r.slice(0,-1*$),n=n.slice(0,-1*$)),s.push(this.productions_[k[1]][0]),r.push(v.$),n.push(v._$),C=o[s[s.length-2]][s[s.length-1]],s.push(C);break;case 3:return!0}}return!0},"parse")},w={EOF:1,parseError:(0,a.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.eW)(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},"setInput"),input:(0,a.eW)(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},"input"),unput:(0,a.eW)(function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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),s.length-1&&(this.yylineno-=s.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:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[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},"unput"),more:(0,a.eW)(function(){return this._more=!0,this},"more"),reject:(0,a.eW)(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})},"reject"),less:(0,a.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.eW)(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,"")},"upcomingInput"),showPosition:(0,a.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.eW)(function(t,e){var s,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],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var n in r)this[n]=r[n];return!1},"test_match"),next:(0,a.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var t,e,s,i,r=this._currentRules(),n=0;ne[0].length)){if(e=s,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,r[n])))return t;if(!this._backtrack)return!1;else{e=!1;continue}}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,r[i]))&&t;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,a.eW)(function(){var t=this.next();return t?t:this.lex()},"lex"),begin:(0,a.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,a.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.eW)(function(t,e,s,i){switch(s){case 0:return 41;case 1:case 42:return 48;case 2:case 43:return 49;case 3:case 44:return 50;case 4:case 45:return 51;case 5:case 6:case 8:case 9:case 10:case 11:case 54:case 56:case 62:break;case 7:case 77:return 5;case 12:case 32:return this.pushState("SCALE"),17;case 13:case 33:return 18;case 14:case 20:case 34:case 49:case 52:this.popState();break;case 15:return this.begin("acc_title"),33;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),35;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),38;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),39;case 25:return this.popState(),40;case 26:return this.pushState("CLASS"),45;case 27:return this.popState(),this.pushState("CLASS_STYLE"),46;case 28:return this.popState(),47;case 29:return this.pushState("STYLE"),42;case 30:return this.popState(),this.pushState("STYLEDEF_STYLES"),43;case 31:return this.popState(),44;case 35:this.pushState("STATE");break;case 36:case 39:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 37:case 40:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 46:this.pushState("STATE_STRING");break;case 47:return this.pushState("STATE_ID"),"AS";case 48:case 64:return this.popState(),"ID";case 50:return"STATE_DESCR";case 51:return 19;case 53:return this.popState(),this.pushState("struct"),20;case 55:return this.popState(),21;case 57:return this.begin("NOTE"),29;case 58:return this.popState(),this.pushState("NOTE_ID"),56;case 59:return this.popState(),this.pushState("NOTE_ID"),57;case 60:this.popState(),this.pushState("FLOATING_NOTE");break;case 61:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 63:return"NOTE_TEXT";case 65:return this.popState(),this.pushState("NOTE_TEXT"),24;case 66:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 67:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 68:case 69:return 6;case 70:return 16;case 71:return 54;case 72:return 24;case 73:return e.yytext=e.yytext.trim(),14;case 74:return 15;case 75:return 28;case 76:return 55;case 78:return"INVALID"}},"anonymous"),rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\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,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,29,35,42,43,44,45,54,55,56,57,71,72,73,74,75],inclusive:!1},FLOATING_NOTE_ID:{rules:[64],inclusive:!1},FLOATING_NOTE:{rules:[61,62,63],inclusive:!1},NOTE_TEXT:{rules:[66,67],inclusive:!1},NOTE_ID:{rules:[65],inclusive:!1},NOTE:{rules:[58,59,60],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[31],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[30],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,33,34],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[48],inclusive:!1},STATE_STRING:{rules:[49,50],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,36,37,38,39,40,41,46,47,51,52,53],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,35,53,57,68,69,70,71,72,73,74,76,77,78],inclusive:!0}}};function O(){this.yy={}}return W.lexer=w,(0,a.eW)(O,"Parser"),O.prototype=W,W.Parser=O,new O}();o.parser=o;var l=o,c="TB",h="state",u="relation",d="default",p="divider",y="fill:none",f="fill: #333",g="text",S="normal",m="rect",_="rectWithTitle",b="divider",T="roundedWithTitle",k="statediagram",E=`${k}-state`,x="transition",$=`${x} note-edge`,C=`${k}-note`,D=`${k}-cluster`,v=`${k}-cluster-alt`,L="parent",A="note",I="----",W=`${I}${A}`,w=`${I}${L}`,O=(0,a.eW)((t,e=c)=>{if(!t.doc)return e;let s=e;for(let e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir"),N=(0,a.eW)(function(t,e){return e.db.extract(e.db.getRootDocV2()),e.db.getClasses()},"getClasses"),R={getClasses:N,draw:(0,a.eW)(async function(t,e,s,o){a.cM.info("REF0:"),a.cM.info("Drawing state diagram (v2)",e);let{securityLevel:l,state:c,layout:h}=(0,a.nV)();o.db.extract(o.db.getRootDocV2());let u=o.db.getData(),d=(0,i.q)(e,l);u.type=o.type,u.layoutAlgorithm=h,u.nodeSpacing=c?.nodeSpacing||50,u.rankSpacing=c?.rankSpacing||50,u.markers=["barb"],u.diagramId=e,await (0,r.sY)(u,d);n.w8.insertTitle(d,"statediagramTitleText",c?.titleTopMargin??25,o.db.getDiagramTitle()),(0,i.j)(d,8,k,c?.useMaxWidth??!0)},"draw"),getDir:O},B=new Map,Y=0;function F(t="",e=0,s="",i=I){let r=null!==s&&s.length>0?`${i}${s}`:"";return`state-${t}${r}-${e}`}(0,a.eW)(F,"stateDomId");var P=(0,a.eW)((t,e,s,i,r,n,o,l)=>{a.cM.trace("items",e),e.forEach(e=>{switch(e.stmt){case h:case d:z(t,e,s,i,r,n,o,l);break;case u:{z(t,e.state1,s,i,r,n,o,l),z(t,e.state2,s,i,r,n,o,l);let c={id:"edge"+Y,start:e.state1.id,end:e.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:y,labelStyle:"",label:a.SY.sanitizeText(e.description,(0,a.nV)()),arrowheadStyle:f,labelpos:"c",labelType:g,thickness:S,classes:x,look:o};r.push(c),Y++}}})},"setupDoc"),M=(0,a.eW)((t,e=c)=>{let s=e;if(t.doc)for(let e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir");function G(t,e,s){if(!e.id||""===e.id||""===e.id)return;e.cssClasses&&(!Array.isArray(e.cssCompiledStyles)&&(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(t=>{if(s.get(t)){let i=s.get(t);e.cssCompiledStyles=[...e.cssCompiledStyles,...i.styles]}}));let i=t.find(t=>t.id===e.id);i?Object.assign(i,e):t.push(e)}function j(t){return t?.classes?.join(" ")??""}function V(t){return t?.styles??[]}(0,a.eW)(G,"insertOrUpdateNode"),(0,a.eW)(j,"getClassesFromDbInfo"),(0,a.eW)(V,"getStylesFromDbInfo");var z=(0,a.eW)((t,e,s,i,r,n,o,l)=>{let c=e.id,h=s.get(c),u=j(h),k=V(h);if(a.cM.info("dataFetcher parsedItem",e,h,k),"root"!==c){let s=m;!0===e.start?s="stateStart":!1===e.start&&(s="stateEnd"),e.type!==d&&(s=e.type),!B.get(c)&&B.set(c,{id:c,shape:s,description:a.SY.sanitizeText(c,(0,a.nV)()),cssClasses:`${u} ${E}`,cssStyles:k});let h=B.get(c);e.description&&(Array.isArray(h.description)?(h.shape=_,h.description.push(e.description)):h.description?.length>0?(h.shape=_,h.description===c?h.description=[e.description]:h.description=[h.description,e.description]):(h.shape=m,h.description=e.description),h.description=a.SY.sanitizeTextOrArray(h.description,(0,a.nV)())),h.description?.length===1&&h.shape===_&&("group"===h.type?h.shape=T:h.shape=m),!h.type&&e.doc&&(a.cM.info("Setting cluster for XCX",c,M(e)),h.type="group",h.isGroup=!0,h.dir=M(e),h.shape=e.type===p?b:T,h.cssClasses=`${h.cssClasses} ${D} ${n?v:""}`);let x={labelStyle:"",shape:h.shape,label:h.description,cssClasses:h.cssClasses,cssCompiledStyles:[],cssStyles:h.cssStyles,id:c,dir:h.dir,domId:F(c,Y),type:h.type,isGroup:"group"===h.type,padding:8,rx:10,ry:10,look:o};if(x.shape===b&&(x.label=""),t&&"root"!==t.id&&(a.cM.trace("Setting node ",c," to be child of its parent ",t.id),x.parentId=t.id),x.centerLabel=!0,e.note){let t={labelStyle:"",shape:"note",label:e.note.text,cssClasses:C,cssStyles:[],cssCompilesStyles:[],id:c+W+"-"+Y,domId:F(c,Y,A),type:h.type,isGroup:"group"===h.type,padding:(0,a.nV)().flowchart.padding,look:o,position:e.note.position},s=c+w,n={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:h.cssClasses,cssStyles:[],id:c+w,domId:F(c,Y,L),type:"group",isGroup:!0,padding:16,look:o,position:e.note.position};Y++,n.id=s,t.parentId=s,G(i,n,l),G(i,t,l),G(i,x,l);let u=c,d=t.id;"left of"===e.note.position&&(u=t.id,d=c),r.push({id:u+"-"+d,start:u,end:d,arrowhead:"none",arrowTypeEnd:"",style:y,labelStyle:"",classes:$,arrowheadStyle:f,labelpos:"c",labelType:g,thickness:S,look:o})}else G(i,x,l)}e.doc&&(a.cM.trace("Adding nodes children "),P(e,e.doc,s,i,r,!n,o,l))},"dataFetcher"),U=(0,a.eW)(()=>{B.clear(),Y=0},"reset"),H="start",X="color",J="fill";function K(){return new Map}(0,a.eW)(K,"newClassesList");var q=[],Z=[],Q="LR",tt=[],te=K(),ts=(0,a.eW)(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),ti={root:ts()},tr=ti.root,tn=0,ta=0,to=(0,a.eW)(t=>JSON.parse(JSON.stringify(t)),"clone"),tl=(0,a.eW)(t=>{a.cM.info("Setting root doc",t),tt=t},"setRootDoc"),tc=(0,a.eW)(()=>tt,"getRootDoc"),th=(0,a.eW)((t,e,s)=>{if(e.stmt===u)th(t,e.state1,!0),th(t,e.state2,!1);else if(e.stmt===h&&("[*]"===e.id?(e.id=s?t.id+"_start":t.id+"_end",e.start=s):e.id=e.id.trim()),e.doc){let t;let s=[],i=[];for(t=0;t0&&i.length>0){let t={stmt:h,id:(0,n.Ox)(),type:"divider",doc:to(i)};s.push(to(t)),e.doc=s}e.doc.forEach(t=>th(e,t,!0))}},"docTranslator"),tu=(0,a.eW)(()=>(th({id:"root"},{id:"root",doc:tt},!0),{id:"root",doc:tt}),"getRootDocV2"),td=(0,a.eW)(t=>{let e;e=t.doc?t.doc:t,a.cM.info(e),ty(!0),a.cM.info("Extract initial document:",e),e.forEach(t=>{switch(a.cM.warn("Statement",t.stmt),t.stmt){case h:tp(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case u:tx(t.state1,t.state2,t.description);break;case"classDef":tv(t.id.trim(),t.classes);break;case"style":{let e=t.id.trim().split(","),s=t.styleClass.split(",");e.forEach(t=>{let e=tf(t);if(void 0===e){let s=t.trim();tp(s),e=tf(s)}e.styles=s.map(t=>t.replace(/;/g,"")?.trim())})}break;case"applyClass":tA(t.id.trim(),t.styleClass)}});let s=tg(),i=(0,a.nV)().look;U(),z(void 0,tu(),s,q,Z,!0,i,te),q.forEach(t=>{if(Array.isArray(t.label)){if(t.description=t.label.slice(1),t.isGroup&&t.description.length>0)throw Error("Group nodes can only have label. Remove the additional description for node ["+t.id+"]");t.label=t.label[0]}})},"extract"),tp=(0,a.eW)(function(t,e=d,s=null,i=null,r=null,n=null,o=null,l=null){let c=t?.trim();if(tr.states.has(c)?(!tr.states.get(c).doc&&(tr.states.get(c).doc=s),!tr.states.get(c).type&&(tr.states.get(c).type=e)):(a.cM.info("Adding state ",c,i),tr.states.set(c,{id:c,descriptions:[],type:e,doc:s,note:r,classes:[],styles:[],textStyles:[]})),i&&(a.cM.info("Setting state description",c,i),"string"==typeof i&&t$(c,i.trim()),"object"==typeof i&&i.forEach(t=>t$(c,t.trim()))),r){let t=tr.states.get(c);t.note=r,t.note.text=a.SY.sanitizeText(t.note.text,(0,a.nV)())}if(n&&(a.cM.info("Setting state classes",c,n),("string"==typeof n?[n]:n).forEach(t=>tA(c,t.trim()))),o&&(a.cM.info("Setting state styles",c,o),("string"==typeof o?[o]:o).forEach(t=>tI(c,t.trim()))),l){a.cM.info("Setting state styles",c,o);("string"==typeof l?[l]:l).forEach(t=>tW(c,t.trim()))}},"addState"),ty=(0,a.eW)(function(t){q=[],Z=[],tr=(ti={root:ts()}).root,tn=0,te=K(),!t&&(0,a.ZH)()},"clear"),tf=(0,a.eW)(function(t){return tr.states.get(t)},"getState"),tg=(0,a.eW)(function(){return tr.states},"getStates"),tS=(0,a.eW)(function(){a.cM.info("Documents = ",ti)},"logDocuments"),tm=(0,a.eW)(function(){return tr.relations},"getRelations");function t_(t=""){let e=t;return"[*]"===t&&(tn++,e=`${H}${tn}`),e}function tb(t="",e=d){return"[*]"===t?H:e}function tT(t=""){let e=t;return"[*]"===t&&(tn++,e=`end${tn}`),e}function tk(t="",e=d){return"[*]"===t?"end":e}function tE(t,e,s){let i=t_(t.id.trim()),r=tb(t.id.trim(),t.type),n=t_(e.id.trim()),o=tb(e.id.trim(),e.type);tp(i,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),tp(n,o,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),tr.relations.push({id1:i,id2:n,relationTitle:a.SY.sanitizeText(s,(0,a.nV)())})}(0,a.eW)(t_,"startIdIfNeeded"),(0,a.eW)(tb,"startTypeIfNeeded"),(0,a.eW)(tT,"endIdIfNeeded"),(0,a.eW)(tk,"endTypeIfNeeded"),(0,a.eW)(tE,"addRelationObjs");var tx=(0,a.eW)(function(t,e,s){if("object"==typeof t)tE(t,e,s);else{let i=t_(t.trim()),r=tb(t),n=tT(e.trim()),o=tk(e);tp(i,r),tp(n,o),tr.relations.push({id1:i,id2:n,title:a.SY.sanitizeText(s,(0,a.nV)())})}},"addRelation"),t$=(0,a.eW)(function(t,e){let s=tr.states.get(t),i=e.startsWith(":")?e.replace(":","").trim():e;s.descriptions.push(a.SY.sanitizeText(i,(0,a.nV)()))},"addDescription"),tC=(0,a.eW)(function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},"cleanupLabel"),tD=(0,a.eW)(()=>"divider-id-"+ ++ta,"getDividerId"),tv=(0,a.eW)(function(t,e=""){!te.has(t)&&te.set(t,{id:t,styles:[],textStyles:[]});let s=te.get(t);null!=e&&e.split(",").forEach(t=>{let e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(X).exec(t)){let t=e.replace(J,"bgFill").replace(X,J);s.textStyles.push(t)}s.styles.push(e)})},"addStyleClass"),tL=(0,a.eW)(function(){return te},"getClasses"),tA=(0,a.eW)(function(t,e){t.split(",").forEach(function(t){let s=tf(t);if(void 0===s){let e=t.trim();tp(e),s=tf(e)}s.classes.push(e)})},"setCssClass"),tI=(0,a.eW)(function(t,e){let s=tf(t);void 0!==s&&s.styles.push(e)},"setStyle"),tW=(0,a.eW)(function(t,e){let s=tf(t);void 0!==s&&s.textStyles.push(e)},"setTextStyle"),tw=(0,a.eW)(()=>Q,"getDirection"),tO=(0,a.eW)(t=>{Q=t},"setDirection"),tN=(0,a.eW)(t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),"trimColon"),tR=(0,a.eW)(()=>{let t=(0,a.nV)();return{nodes:q,edges:Z,other:{},config:t,direction:O(tu())}},"getData"),tB={getConfig:(0,a.eW)(()=>(0,a.nV)().state,"getConfig"),getData:tR,addState:tp,clear:ty,getState:tf,getStates:tg,getRelations:tm,getClasses:tL,getDirection:tw,addRelation:tx,getDividerId:tD,setDirection:tO,cleanupLabel:tC,lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:tS,getRootDoc:tc,setRootDoc:tl,getRootDocV2:tu,extract:td,trimColon:tN,getAccTitle:a.eu,setAccTitle:a.GN,getAccDescription:a.Mx,setAccDescription:a.U$,addStyleClass:tv,setCssClass:tA,addDescription:t$,setDiagramTitle:a.g2,getDiagramTitle:a.Kr},tY=(0,a.eW)(t=>` +defs #statediagram-barbEnd { + fill: ${t.transitionColor}; + stroke: ${t.transitionColor}; + } +g.stateGroup text { + fill: ${t.nodeBorder}; + stroke: none; + font-size: 10px; +} +g.stateGroup text { + fill: ${t.textColor}; + stroke: none; + font-size: 10px; + +} +g.stateGroup .state-title { + font-weight: bolder; + fill: ${t.stateLabelColor}; +} + +g.stateGroup rect { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; +} + +g.stateGroup line { + stroke: ${t.lineColor}; + stroke-width: 1; +} + +.transition { + stroke: ${t.transitionColor}; + stroke-width: 1; + fill: none; +} + +.stateGroup .composit { + fill: ${t.background}; + border-bottom: 1px +} + +.stateGroup .alt-composit { + fill: #e0e0e0; + border-bottom: 1px +} + +.state-note { + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; + + text { + fill: ${t.noteTextColor}; + stroke: none; + font-size: 10px; + } +} + +.stateLabel .box { + stroke: none; + stroke-width: 0; + fill: ${t.mainBkg}; + opacity: 0.5; +} + +.edgeLabel .label rect { + fill: ${t.labelBackgroundColor}; + opacity: 0.5; +} +.edgeLabel { + background-color: ${t.edgeLabelBackground}; + p { + background-color: ${t.edgeLabelBackground}; + } + rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; +} +.edgeLabel .label text { + fill: ${t.transitionLabelColor||t.tertiaryTextColor}; +} +.label div .edgeLabel { + color: ${t.transitionLabelColor||t.tertiaryTextColor}; +} + +.stateLabel text { + fill: ${t.stateLabelColor}; + font-size: 10px; + font-weight: bold; +} + +.node circle.state-start { + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; +} + +.node .fork-join { + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; +} + +.node circle.state-end { + fill: ${t.innerEndBackground}; + stroke: ${t.background}; + stroke-width: 1.5 +} +.end-state-inner { + fill: ${t.compositeBackground||t.background}; + // stroke: ${t.background}; + stroke-width: 1.5 +} + +.node rect { + fill: ${t.stateBkg||t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: 1px; +} +.node polygon { + fill: ${t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder};; + stroke-width: 1px; +} +#statediagram-barbEnd { + fill: ${t.lineColor}; +} + +.statediagram-cluster rect { + fill: ${t.compositeTitleBackground}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: 1px; +} + +.cluster-label, .nodeLabel { + color: ${t.stateLabelColor}; + // line-height: 1; +} + +.statediagram-cluster rect.outer { + rx: 5px; + ry: 5px; +} +.statediagram-state .divider { + stroke: ${t.stateBorder||t.nodeBorder}; +} + +.statediagram-state .title-state { + rx: 5px; + ry: 5px; +} +.statediagram-cluster.statediagram-cluster .inner { + fill: ${t.compositeBackground||t.background}; +} +.statediagram-cluster.statediagram-cluster-alt .inner { + fill: ${t.altBackground?t.altBackground:"#efefef"}; +} + +.statediagram-cluster .inner { + rx:0; + ry:0; +} + +.statediagram-state rect.basic { + rx: 5px; + ry: 5px; +} +.statediagram-state rect.divider { + stroke-dasharray: 10,10; + fill: ${t.altBackground?t.altBackground:"#efefef"}; +} + +.note-edge { + stroke-dasharray: 5; +} + +.statediagram-note rect { + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; + stroke-width: 1px; + rx: 0; + ry: 0; +} +.statediagram-note rect { + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; + stroke-width: 1px; + rx: 0; + ry: 0; +} + +.statediagram-note text { + fill: ${t.noteTextColor}; +} + +.statediagram-note .nodeLabel { + color: ${t.noteTextColor}; +} +.statediagram .edgeLabel { + color: red; // ${t.noteTextColor}; +} + +#dependencyStart, #dependencyEnd { + fill: ${t.lineColor}; + stroke: ${t.lineColor}; + stroke-width: 1; +} + +.statediagramTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; +} +`,"getStyles")}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/7e2539cd.00aaaeef.js b/pr-preview/pr-5/assets/js/7e2539cd.00aaaeef.js new file mode 100644 index 0000000..203be18 --- /dev/null +++ b/pr-preview/pr-5/assets/js/7e2539cd.00aaaeef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8954"],{5604:function(r){r.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Tutorial - Extras","slug":"/category/tutorial---extras","permalink":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---extras","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Congratulations!","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations"},"next":{"title":"Manage Docs Versions","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/8588.ceccfba1.js b/pr-preview/pr-5/assets/js/8588.ceccfba1.js new file mode 100644 index 0000000..5e44da5 --- /dev/null +++ b/pr-preview/pr-5/assets/js/8588.ceccfba1.js @@ -0,0 +1,47 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8588"],{15461:function(e,t,i){i.d(t,{diagram:function(){return B}});var r=i(5995),n=i(27818),s=i(49235),a=i(50043),l=function(){var e=(0,r.eW)(function(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i},"o"),t=[1,3],i=[1,4],n=[1,5],s=[1,6],a=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],l=[1,18],h=[2,7],o=[1,22],c=[1,23],u=[1,24],y=[1,25],d=[1,26],p=[1,27],_=[1,20],g=[1,28],E=[1,29],R=[62,63],m=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],f=[1,47],I=[1,48],S=[1,49],b=[1,50],k=[1,51],N=[1,52],T=[1,53],x=[53,54],A=[1,64],v=[1,60],w=[1,61],W=[1,62],q=[1,63],$=[1,65],O=[1,69],C=[1,70],L=[1,67],M=[1,68],F=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],D={trace:(0,r.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:(0,r.eW)(function(e,t,i,r,n,s,a){var l=s.length-1;switch(n){case 4:this.$=s[l].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[l].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[l-3],s[l-4]);break;case 14:r.setNewReqId(s[l-2]);break;case 15:r.setNewReqText(s[l-2]);break;case 16:r.setNewReqRisk(s[l-2]);break;case 17:r.setNewReqVerifyMethod(s[l-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[l-3]);break;case 34:r.setNewElementType(s[l-2]);break;case 35:r.setNewElementDocRef(s[l-2]);break;case 38:r.addRelationship(s[l-2],s[l],s[l-4]);break;case 39:r.addRelationship(s[l-2],s[l-4],s[l]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES}},"anonymous"),table:[{3:1,4:2,6:t,9:i,11:n,13:s},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:i,11:n,13:s},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:t,9:i,11:n,13:s},{1:[2,2]},{4:17,5:l,7:13,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:l,7:31,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:32,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:33,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:34,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{4:17,5:l,7:35,8:h,9:i,11:n,13:s,14:14,15:15,16:16,17:19,23:21,31:o,32:c,33:u,34:y,35:d,36:p,44:_,62:g,63:E},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(R,[2,20]),e(R,[2,21]),e(R,[2,22]),e(R,[2,23]),e(R,[2,24]),e(R,[2,25]),e(m,[2,49]),e(m,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:f,56:I,57:S,58:b,59:k,60:N,61:T},{52:54,55:f,56:I,57:S,58:b,59:k,60:N,61:T},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(x,[2,40]),e(x,[2,41]),e(x,[2,42]),e(x,[2,43]),e(x,[2,44]),e(x,[2,45]),e(x,[2,46]),{54:[1,58]},{5:A,20:59,21:v,24:w,26:W,28:q,30:$},{5:O,30:C,46:66,47:L,49:M},{23:71,62:g,63:E},{23:72,62:g,63:E},e(F,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:A,20:77,21:v,24:w,26:W,28:q,30:$},e(F,[2,19]),e(F,[2,33]),{22:[1,78]},{22:[1,79]},{5:O,30:C,46:80,47:L,49:M},e(F,[2,37]),e(F,[2,38]),e(F,[2,39]),{23:81,62:g,63:E},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(F,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(F,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:A,20:106,21:v,24:w,26:W,28:q,30:$},{5:A,20:107,21:v,24:w,26:W,28:q,30:$},{5:A,20:108,21:v,24:w,26:W,28:q,30:$},{5:A,20:109,21:v,24:w,26:W,28:q,30:$},{5:O,30:C,46:110,47:L,49:M},{5:O,30:C,46:111,47:L,49:M},e(F,[2,14]),e(F,[2,15]),e(F,[2,16]),e(F,[2,17]),e(F,[2,34]),e(F,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:(0,r.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var i=Error(e);throw i.hash=t,i}},"parseError"),parse:(0,r.eW)(function(e){var t=this,i=[0],n=[],s=[null],a=[],l=this.table,h="",o=0,c=0,u=0,y=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(p.yy[_]=this.yy[_]);d.setInput(e,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;a.push(g);var E=d.options&&d.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(){var e;return"number"!=typeof(e=n.pop()||d.lex()||1)&&(e instanceof Array&&(e=(n=e).pop()),e=t.symbols_[e]||e),e}(0,r.eW)(function(e){i.length=i.length-2*e,s.length=s.length-e,a.length=a.length-e},"popStack"),(0,r.eW)(R,"lex");for(var m,f,I,S,b,k,N,T,x,A={};;){if(I=i[i.length-1],this.defaultActions[I]?S=this.defaultActions[I]:(null==m&&(m=R()),S=l[I]&&l[I][m]),void 0===S||!S.length||!S[0]){var v="";for(k in x=[],l[I])this.terminals_[k]&&k>2&&x.push("'"+this.terminals_[k]+"'");v=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(v,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:g,expected:x})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+I+", token: "+m);switch(S[0]){case 1:i.push(m),s.push(d.yytext),a.push(d.yylloc),i.push(S[1]),m=null,f?(m=f,f=null):(c=d.yyleng,h=d.yytext,o=d.yylineno,g=d.yylloc,u>0&&u--);break;case 2:if(N=this.productions_[S[1]][1],A.$=s[s.length-N],A._$={first_line:a[a.length-(N||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(N||1)].first_column,last_column:a[a.length-1].last_column},E&&(A._$.range=[a[a.length-(N||1)].range[0],a[a.length-1].range[1]]),void 0!==(b=this.performAction.apply(A,[h,c,o,p.yy,S[1],s,a].concat(y))))return b;N&&(i=i.slice(0,-1*N*2),s=s.slice(0,-1*N),a=a.slice(0,-1*N)),i.push(this.productions_[S[1]][0]),s.push(A.$),a.push(A._$),T=l[i[i.length-2]][i[i.length-1]],i.push(T);break;case 3:return!0}}return!0},"parse")},P={EOF:1,parseError:(0,r.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,r.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,r.eW)(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.eW)(function(){return this._more=!0,this},"more"),reject:(0,r.eW)(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})},"reject"),less:(0,r.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,r.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,r.eW)(function(e,t){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},"test_match"),next:(0,r.eW)(function(){if(this.done)return this.EOF;!this._input&&(this.done=!0),!this._more&&(this.yytext="",this.match="");for(var e,t,i,r,n=this._currentRules(),s=0;st[0].length)){if(t=i,r=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,n[s])))return e;if(!this._backtrack)return!1;else{t=!1;continue}}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,n[r]))&&e;return""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.eW)(function(){var e=this.next();return e?e:this.lex()},"lex"),begin:(0,r.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,r.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,r.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,r.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,r.eW)(function(e,t,i,r){switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return t.yytext=t.yytext.trim(),62}},"anonymous"),rules:[/^(?: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:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,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,50],inclusive:!0}}};function V(){this.yy={}}return D.lexer=P,(0,r.eW)(V,"Parser"),V.prototype=D,D.Parser=V,new V}();l.parser=l;var h=[],o={},c=new Map,u={},y=new Map,d=(0,r.eW)((e,t)=>(!c.has(e)&&c.set(e,{name:e,type:t,id:o.id,text:o.text,risk:o.risk,verifyMethod:o.verifyMethod}),o={},c.get(e)),"addRequirement"),p=(0,r.eW)(()=>c,"getRequirements"),_=(0,r.eW)(e=>{void 0!==o&&(o.id=e)},"setNewReqId"),g=(0,r.eW)(e=>{void 0!==o&&(o.text=e)},"setNewReqText"),E=(0,r.eW)(e=>{void 0!==o&&(o.risk=e)},"setNewReqRisk"),R=(0,r.eW)(e=>{void 0!==o&&(o.verifyMethod=e)},"setNewReqVerifyMethod"),m=(0,r.eW)(e=>(!y.has(e)&&(y.set(e,{name:e,type:u.type,docRef:u.docRef}),r.cM.info("Added new requirement: ",e)),u={},y.get(e)),"addElement"),f=(0,r.eW)(()=>y,"getElements"),I=(0,r.eW)(e=>{void 0!==u&&(u.type=e)},"setNewElementType"),S=(0,r.eW)(e=>{void 0!==u&&(u.docRef=e)},"setNewElementDocRef"),b=(0,r.eW)((e,t,i)=>{h.push({type:e,src:t,dst:i})},"addRelationship"),k=(0,r.eW)(()=>h,"getRelationships"),N=(0,r.eW)(()=>{h=[],o={},c=new Map,u={},y=new Map,(0,r.ZH)()},"clear"),T={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"},getConfig:(0,r.eW)(()=>(0,r.nV)().req,"getConfig"),addRequirement:d,getRequirements:p,setNewReqId:_,setNewReqText:g,setNewReqRisk:E,setNewReqVerifyMethod:R,setAccTitle:r.GN,getAccTitle:r.eu,setAccDescription:r.U$,getAccDescription:r.Mx,addElement:m,getElements:f,setNewElementType:I,setNewElementDocRef:S,addRelationship:b,getRelationships:k,clear:N},x=(0,r.eW)(e=>` + + marker { + fill: ${e.relationColor}; + stroke: ${e.relationColor}; + } + + marker.cross { + stroke: ${e.lineColor}; + } + + svg { + font-family: ${e.fontFamily}; + font-size: ${e.fontSize}; + } + + .reqBox { + fill: ${e.requirementBackground}; + fill-opacity: 1.0; + stroke: ${e.requirementBorderColor}; + stroke-width: ${e.requirementBorderSize}; + } + + .reqTitle, .reqLabel{ + fill: ${e.requirementTextColor}; + } + .reqLabelBox { + fill: ${e.relationLabelBackground}; + fill-opacity: 1.0; + } + + .req-title-line { + stroke: ${e.requirementBorderColor}; + stroke-width: ${e.requirementBorderSize}; + } + .relationshipLine { + stroke: ${e.relationColor}; + stroke-width: 1; + } + .relationshipLabel { + fill: ${e.relationLabelColor}; + } + +`,"getStyles"),A={CONTAINS:"contains",ARROW:"arrow"},v=(0,r.eW)((e,t)=>{let i=e.append("defs").append("marker").attr("id",A.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",A.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0 + L${t.line_height},${t.line_height/2} + M${t.line_height},${t.line_height/2} + L0,${t.line_height}`).attr("stroke-width",1)},"insertLineEndings"),w={ReqMarkers:A,insertLineEndings:v},W={},q=0,$=(0,r.eW)((e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",W.rect_min_width+"px").attr("height",W.rect_min_height+"px"),"newRectNode"),O=(0,r.eW)((e,t,i)=>{let r=W.rect_min_width/2,n=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",r).attr("y",W.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach(e=>{0==s?n.append("tspan").attr("text-anchor","middle").attr("x",W.rect_min_width/2).attr("dy",0).text(e):n.append("tspan").attr("text-anchor","middle").attr("x",W.rect_min_width/2).attr("dy",.75*W.line_height).text(e),s++});let a=1.5*W.rect_padding+s*W.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",W.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:n,y:a}},"newTitleNode"),C=(0,r.eW)((e,t,i,r)=>{let n=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",W.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),s=0,a=[];return i.forEach(e=>{let t=e.length;for(;t>30&&s<3;){let i=e.substring(0,30);t=(e=e.substring(30,e.length)).length,a[a.length]=i,s++}if(3==s){let e=a[a.length-1];a[a.length-1]=e.substring(0,e.length-4)+"..."}else a[a.length]=e;s=0}),a.forEach(e=>{n.append("tspan").attr("x",W.rect_padding).attr("dy",W.line_height).text(e)}),n},"newBodyNode"),L=(0,r.eW)((e,t,i,r)=>{let n=t.node().getTotalLength(),s=t.node().getPointAtLength(.5*n),a="rel"+q;q++;let l=e.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();e.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-l.width/2).attr("y",s.y-l.height/2).attr("width",l.width).attr("height",l.height).attr("fill","white").attr("fill-opacity","85%")},"addEdgeLabel"),M=(0,r.eW)(function(e,t,i,s,a){let l=i.edge(Y(t.src),Y(t.dst)),h=(0,n.jvg)().x(function(e){return e.x}).y(function(e){return e.y}),o=e.insert("path","#"+s).attr("class","er relationshipLine").attr("d",h(l.points)).attr("fill","none");t.type==a.db.Relationships.CONTAINS?o.attr("marker-start","url("+r.SY.getUrl(W.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(o.attr("stroke-dasharray","10,7"),o.attr("marker-end","url("+r.SY.getUrl(W.arrowMarkerAbsolute)+"#"+w.ReqMarkers.ARROW+"_line_ending)")),L(e,o,W,`<<${t.type}>>`)},"drawRelationshipFromLayout"),F=(0,r.eW)((e,t,i)=>{e.forEach((e,n)=>{n=Y(n),r.cM.info("Added new requirement: ",n);let s=i.append("g").attr("id",n),a=$(s,"req-"+n),l=[],h=O(s,n+"_title",[`<<${e.type}>>`,`${e.name}`]);l.push(h.titleNode),l.push(C(s,n+"_body",[`Id: ${e.id}`,`Text: ${e.text}`,`Risk: ${e.risk}`,`Verification: ${e.verifyMethod}`],h.y));let o=a.node().getBBox();t.setNode(n,{width:o.width,height:o.height,shape:"rect",id:n})})},"drawReqs"),D=(0,r.eW)((e,t,i)=>{e.forEach((e,r)=>{let n=Y(r),s=i.append("g").attr("id",n),a="element-"+n,l=$(s,a),h=[],o=O(s,a+"_title",["<>",`${r}`]);h.push(o.titleNode),h.push(C(s,a+"_body",[`Type: ${e.type||"Not Specified"}`,`Doc Ref: ${e.docRef||"None"}`],o.y));let c=l.node().getBBox();t.setNode(n,{width:c.width,height:c.height,shape:"rect",id:n})})},"drawElements"),P=(0,r.eW)((e,t)=>(e.forEach(function(e){let i=Y(e.src),r=Y(e.dst);t.setEdge(i,r,{relationship:e})}),e),"addRelationships"),V=(0,r.eW)(function(e,t){t.nodes().forEach(function(i){void 0!==i&&void 0!==t.node(i)&&(e.select("#"+i),e.select("#"+i).attr("transform","translate("+(t.node(i).x-t.node(i).width/2)+","+(t.node(i).y-t.node(i).height/2)+" )"))})},"adjustEntities"),Y=(0,r.eW)(e=>e.replace(/\s/g,"").replace(/\./g,"_"),"elementString"),U=(0,r.eW)((e,t,i,l)=>{let h;let o=(W=(0,r.nV)().requirement).securityLevel;"sandbox"===o&&(h=(0,n.Ys)("#i"+t));let c=("sandbox"===o?(0,n.Ys)(h.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${t}']`);w.insertLineEndings(c,W);let u=new a.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:W.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}}),y=l.db.getRequirements(),d=l.db.getElements(),p=l.db.getRelationships();F(y,u,c),D(d,u,c),P(p,u),(0,s.bK)(u),V(c,u),p.forEach(function(e){M(c,e,u,t,l)});let _=W.rect_padding,g=c.node().getBBox(),E=g.width+2*_,R=g.height+2*_;(0,r.v2)(c,R,E,W.useMaxWidth),c.attr("viewBox",`${g.x-_} ${g.y-_} ${E} ${R}`)},"draw"),B={parser:l,db:T,renderer:{draw:U},styles:x}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/864e058a.91fc067a.js b/pr-preview/pr-5/assets/js/864e058a.91fc067a.js new file mode 100644 index 0000000..b3bee10 --- /dev/null +++ b/pr-preview/pr-5/assets/js/864e058a.91fc067a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7825"],{54982:function(e,t,n){n.r(t),n.d(t,{metadata:()=>r,contentTitle:()=>o,default:()=>m,assets:()=>h,toc:()=>u,frontMatter:()=>p});var r=JSON.parse('{"id":"spec/data/event","title":"Event","description":"Represents an event concept.","source":"@site/docs/spec/data/event.mdx","sourceDirName":"spec/data","slug":"/spec/data/event","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/event","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/event.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732930164000,"frontMatter":{"id":"event","title":"Event","description":"Represents an event concept.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Code","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/code"},"next":{"title":"Parcel Identifier","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id"}}'),i=n("85893"),s=n("50065"),a=n("45056");n("98477");var d=n("47902"),c=n("5525"),l=JSON.parse('[{"start":"2017-01-01T00:00:00.000Z","end":"2017-01-02T00:00:00.000Z"},{"start":"2017-01-03T00:00:00.000Z"}]');let p={id:"event",title:"Event",description:"Represents an event concept.",tags:["developer"]},o=void 0,h={},u=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function v(e){let t={a:"a",code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"Represents a process concept."}),"\n",(0,i.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,i.jsx)(t.p,{children:"This data type is intended to represent the core concept of a temporal event. It may contain a set of timestamps."}),"\n",(0,i.jsxs)(t.p,{children:["Loosely taking inspiration from ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/datatypes.html#timing",children:"HL7 Timing"}),"."]}),"\n",(0,i.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,i.jsxs)(t.table,{children:[(0,i.jsx)(t.thead,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.th,{children:"Name"}),(0,i.jsx)(t.th,{children:"Cardinality"}),(0,i.jsx)(t.th,{children:"Type"}),(0,i.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,i.jsx)(t.tbody,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.td,{children:"TBD"}),(0,i.jsx)(t.td,{children:"1..1"}),(0,i.jsx)(t.td,{children:(0,i.jsx)(t.code,{children:"string"})}),(0,i.jsx)(t.td,{children:"TBD"})]})})]}),"\n",(0,i.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,i.jsx)(d.default,{queryString:"tab",children:(0,i.jsx)(c.default,{value:"example",label:"Example",children:(0,i.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(l,null,2)})})}),"\n",(0,i.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,i.jsx)(t.p,{children:"TBD"}),"\n",(0,i.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,i.jsx)(t.p,{children:"TBD"})]})}function m(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/8751.5372316c.js b/pr-preview/pr-5/assets/js/8751.5372316c.js new file mode 100644 index 0000000..28f187a --- /dev/null +++ b/pr-preview/pr-5/assets/js/8751.5372316c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8751"],{57327:function(e,n,r){r.d(n,{createGitGraphServices:function(){return s.z}});var s=r(57820);r(95318)}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/879.1c63c3a0.js b/pr-preview/pr-5/assets/js/879.1c63c3a0.js new file mode 100644 index 0000000..d32a8b3 --- /dev/null +++ b/pr-preview/pr-5/assets/js/879.1c63c3a0.js @@ -0,0 +1 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["879"],{87594:function(e,t){function n(e){let t,n=[];for(let s of e.split(",").map(e=>e.trim()))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,r]=t;if(s&&r){s=parseInt(s);let e=s<(r=parseInt(r))?1:-1;("-"===o||".."===o||"\u2025"===o)&&(r+=e);for(let t=s;t!==r;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},45056:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>H});var s=n("85893"),o=n("67294"),r=n("7227"),a=n("67026"),l=n("84239"),c=n("30140");function i(){let{prism:e}=(0,c.L)(),{colorMode:t}=(0,l.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var u=n("84681"),d=n("87594"),m=n.n(d);let p=/title=(?["'])(?.*?)\1/,f=/\{(?<range>[\d,-]+)\}/,b={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},h={...b,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(b);function j(e,t){let n=e.map(e=>{let{start:n,end:s}=h[e];return`(?:${n}\\s*(${t.flatMap(e=>[e.line,e.block?.start,e.block?.end].filter(Boolean)).join("|")})\\s*${s})`}).join("|");return RegExp(`^\\s*(?:${n})\\s*$`)}let x="codeBlockContainer_Ckt0";function k(e){let{as:t,...n}=e,o=function(e){let t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach(e=>{let[s,o]=e,r=t[s];r&&"string"==typeof o&&(n[r]=o)}),n}(i());return(0,s.jsx)(t,{...n,style:o,className:(0,a.Z)(n.className,x,u.k.common.codeBlock)})}let v={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function B(e){let{children:t,className:n}=e;return(0,s.jsx)(k,{as:"pre",tabIndex:0,className:(0,a.Z)(v.codeBlockStandalone,"thin-scrollbar",n),children:(0,s.jsx)("code",{className:v.codeBlockLines,children:t})})}var y=n("85346");let C={attributes:!0,characterData:!0,childList:!0,subtree:!0};var w=n("83229");let N={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function E(e){let{line:t,classNames:n,showLineNumbers:o,getLineProps:r,getTokenProps:l}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");let c=r({line:t,className:(0,a.Z)(n,o&&N.codeLine)}),i=t.map((e,t)=>(0,s.jsx)("span",{...l({token:e})},t));return(0,s.jsxs)("span",{...c,children:[o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:N.codeLineNumber}),(0,s.jsx)("span",{className:N.codeLineContent,children:i})]}):i,(0,s.jsx)("br",{})]})}var L=n("96025");function S(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",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"})})}function _(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}let A={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function I(e){let{code:t,className:n}=e,[r,l]=(0,o.useState)(!1),c=(0,o.useRef)(void 0),i=(0,o.useCallback)(()=>{!function(e){let{target:t=document.body}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);let n=document.createElement("textarea"),s=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";let o=document.getSelection(),r=o.rangeCount>0&&o.getRangeAt(0);t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}n.remove(),r&&(o.removeAllRanges(),o.addRange(r)),s&&s.focus()}(t),l(!0),c.current=window.setTimeout(()=>{l(!1)},1e3)},[t]);return(0,o.useEffect)(()=>()=>window.clearTimeout(c.current),[]),(0,s.jsx)("button",{type:"button","aria-label":r?(0,L.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,L.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,L.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,a.Z)("clean-btn",n,A.copyButton,r&&A.copyButtonCopied),onClick:i,children:(0,s.jsxs)("span",{className:A.copyButtonIcons,"aria-hidden":"true",children:[(0,s.jsx)(S,{className:A.copyButtonIcon}),(0,s.jsx)(_,{className:A.copyButtonSuccessIcon})]})})}function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("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"})})}let Z={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function $(e){let{className:t,onClick:n,isEnabled:o}=e,r=(0,L.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,s.jsx)("button",{type:"button",onClick:n,className:(0,a.Z)("clean-btn",t,o&&Z.wordWrapButtonEnabled),"aria-label":r,title:r,children:(0,s.jsx)(T,{className:Z.wordWrapButtonIcon,"aria-hidden":"true"})})}function M(e){var t,n,r;let{children:l,className:u="",metastring:d,title:b,showLineNumbers:h,language:x}=e,{prism:{defaultLanguage:B,magicComments:N}}=(0,c.L)();let L=(t=x??function(e){let t=e.split(" ").find(e=>e.startsWith("language-"));return t?.replace(/language-/,"")}(u)??B,t?.toLowerCase()),S=i(),_=function(){let[e,t]=(0,o.useState)(!1),[n,s]=(0,o.useState)(!1),r=(0,o.useRef)(null),a=(0,o.useCallback)(()=>{let n=r.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t(e=>!e)},[r,e]),l=(0,o.useCallback)(()=>{let{scrollWidth:e,clientWidth:t}=r.current;s(e>t||r.current.querySelector("code").hasAttribute("style"))},[r]);return!function(e,t){let[n,s]=(0,o.useState)(),r=(0,o.useCallback)(()=>{s(e.current?.closest("[role=tabpanel][hidden]"))},[e,s]);(0,o.useEffect)(()=>{r()},[r]),!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,s=(0,y.zX)(t),r=(0,y.Ql)(n);(0,o.useEffect)(()=>{let t=new MutationObserver(s);return e&&t.observe(e,r),()=>t.disconnect()},[e,s,r])}(n,e=>{e.forEach(e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),r())})},{attributes:!0,characterData:!1,childList:!1,subtree:!1})}(r,l),(0,o.useEffect)(()=>{l()},[e,l]),(0,o.useEffect)(()=>(window.addEventListener("resize",l,{passive:!0}),()=>{window.removeEventListener("resize",l)}),[l]),{codeBlockRef:r,isEnabled:e,isCodeScrollable:n,toggle:a}}();let A=(n=d,(n?.match(p)?.groups.title??"")||b),{lineClassNames:T,code:Z}=function(e,t){let n=e.replace(/\n$/,""),{language:s,magicComments:o,metastring:r}=t;if(r&&f.test(r)){let e=r.match(f).groups.range;if(0===o.length)throw Error(`A highlight range has been given in code block's metastring (\`\`\` ${r}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);let t=o[0].className;return{lineClassNames:Object.fromEntries(m()(e).filter(e=>e>0).map(e=>[e-1,[t]])),code:n}}if(void 0===s)return{lineClassNames:{},code:n};let a=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return j(["js","jsBlock"],t);case"jsx":case"tsx":return j(["js","jsBlock","jsx"],t);case"html":return j(["js","jsBlock","html"],t);case"python":case"py":case"bash":return j(["bash"],t);case"markdown":case"md":return j(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return j(["tex"],t);case"lua":case"haskell":case"sql":return j(["lua"],t);case"wasm":return j(["wasm"],t);case"vb":case"vba":case"visual-basic":return j(["vb","rem"],t);case"vbnet":return j(["vbnet","rem"],t);case"batch":return j(["rem"],t);case"basic":return j(["rem","f90"],t);case"fsharp":return j(["js","ml"],t);case"ocaml":case"sml":return j(["ml"],t);case"fortran":return j(["f90"],t);case"cobol":return j(["cobol"],t);default:return j(g,t)}}(s,o),l=n.split("\n"),c=Object.fromEntries(o.map(e=>[e.className,{start:0,range:""}])),i=Object.fromEntries(o.filter(e=>e.line).map(e=>{let{className:t,line:n}=e;return[n,t]})),u=Object.fromEntries(o.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.start,t]})),d=Object.fromEntries(o.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.end,t]}));for(let e=0;e<l.length;){let t=l[e].match(a);if(!t){e+=1;continue}let n=t.slice(1).find(e=>void 0!==e);i[n]?c[i[n]].range+=`${e},`:u[n]?c[u[n]].start=e:d[n]&&(c[d[n]].range+=`${c[d[n]].start}-${e-1},`),l.splice(e,1)}n=l.join("\n");let p={};return Object.entries(c).forEach(e=>{let[t,{range:n}]=e;m()(n).forEach(e=>{p[e]??=[],p[e].push(t)})}),{lineClassNames:p,code:n}}(l,{metastring:d,language:L,magicComments:N});let M=h??(r=d,!!r?.includes("showLineNumbers"));return(0,s.jsxs)(k,{as:"div",className:(0,a.Z)(u,L&&!u.includes(`language-${L}`)&&`language-${L}`),children:[A&&(0,s.jsx)("div",{className:v.codeBlockTitle,children:A}),(0,s.jsxs)("div",{className:v.codeBlockContent,children:[(0,s.jsx)(w.y$,{theme:S,code:Z,language:L??"text",children:e=>{let{className:t,style:n,tokens:o,getLineProps:r,getTokenProps:l}=e;return(0,s.jsx)("pre",{tabIndex:0,ref:_.codeBlockRef,className:(0,a.Z)(t,v.codeBlock,"thin-scrollbar"),style:n,children:(0,s.jsx)("code",{className:(0,a.Z)(v.codeBlockLines,M&&v.codeBlockLinesWithNumbering),children:o.map((e,t)=>(0,s.jsx)(E,{line:e,getLineProps:r,getTokenProps:l,classNames:T[t],showLineNumbers:M},t))})})}}),(0,s.jsxs)("div",{className:v.buttonGroup,children:[(_.isEnabled||_.isCodeScrollable)&&(0,s.jsx)($,{className:v.codeButton,onClick:()=>_.toggle(),isEnabled:_.isEnabled}),(0,s.jsx)(I,{className:v.codeButton,code:Z})]})]})]})}function H(e){var t;let{children:n,...a}=e,l=(0,r.Z)();let c=(t=n,o.Children.toArray(t).some(e=>(0,o.isValidElement)(e))?t:Array.isArray(t)?t.join(""):t);return(0,s.jsx)("string"==typeof c?M:B,{...a,children:c},String(l))}},63922:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>p});var s=n("85893"),o=n("67294"),r=n("67026"),a=n("41065"),l=n("7227"),c=n("57455");let i={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function u(e){return!!e&&("SUMMARY"===e.tagName||u(e.parentElement))}function d(e){let{summary:t,children:n,...d}=e;(0,a.Z)().collectAnchor(d.id);let m=(0,l.Z)(),p=(0,o.useRef)(null),{collapsed:f,setCollapsed:b}=(0,c.u)({initialState:!d.open}),[h,g]=(0,o.useState)(d.open),j=o.isValidElement(t)?t:(0,s.jsx)("summary",{children:t??"Details"});return(0,s.jsxs)("details",{...d,ref:p,open:h,"data-collapsed":f,className:(0,r.Z)(i.details,m&&i.isBrowser,d.className),onMouseDown:e=>{u(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();let t=e.target;if(!!(u(t)&&function e(t,n){return!!t&&(t===n||e(t.parentElement,n))}(t,p.current)))e.preventDefault(),f?(b(!1),g(!0)):b(!0)},children:[j,(0,s.jsx)(c.z,{lazy:!1,collapsed:f,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{b(e),g(!e)},children:(0,s.jsx)("div",{className:i.collapsibleContent,children:n})})]})}let m="details_b_Ee";function p(e){let{...t}=e;return(0,s.jsx)(d,{...t,className:(0,r.Z)("alert alert--info",m,t.className)})}},50065:function(e,t,n){"use strict";n.d(t,{Z:function(){return l},a:function(){return a}});var s=n(67294);let o={},r=s.createContext(o);function a(e){let t=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/8d79b6b2.f2685650.js b/pr-preview/pr-5/assets/js/8d79b6b2.f2685650.js new file mode 100644 index 0000000..f888b9e --- /dev/null +++ b/pr-preview/pr-5/assets/js/8d79b6b2.f2685650.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5953"],{54967:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Concept Maps","description":"Concept Maps","slug":"/category/concept-maps","permalink":"/nr-pies/pr-preview/pr-5/docs/category/concept-maps","sidebar":"docSidebar","navigation":{"previous":{"title":"Formatting","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/formatting"},"next":{"title":"Process Tracking","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/9090.faf0ba39.js b/pr-preview/pr-5/assets/js/9090.faf0ba39.js new file mode 100644 index 0000000..cf5db83 --- /dev/null +++ b/pr-preview/pr-5/assets/js/9090.faf0ba39.js @@ -0,0 +1,36 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9090"],{44867:function(t,e,i){var r,n;r=0,n=function(t){var e,i;return e={658:t=>{t.exports=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];return i.forEach(function(e){Object.keys(e).forEach(function(i){return t[i]=e[i]})}),t}},548:(t,e,i)=>{var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],r=!0,n=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);r=!0);}catch(t){n=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(n)throw o}}return i}(t,e);throw TypeError("Invalid attempt to destructure non-iterable instance")},n=i(140).layoutBase.LinkedList,o={};o.getTopMostNodes=function(t){for(var e={},i=0;i<t.length;i++)e[t[i].id()]=!0;return t.filter(function(t,i){"number"==typeof t&&(t=i);for(var r=t.parent()[0];null!=r;){if(e[r.id()])return!1;r=r.parent()[0]}return!0})},o.connectComponents=function(t,e,i,r){var o=new n,a=new Set,s=[],h=void 0,l=void 0,d=void 0,c=!1,g=1,u=[],f=[];do!function(){var r=t.collection();f.push(r);var n=i[0],p=t.collection();p.merge(n).merge(n.descendants().intersection(e)),s.push(n),p.forEach(function(t){o.push(t),a.add(t),r.merge(t)});for(;0!=o.length;)!function(){n=o.shift();var l=t.collection();n.neighborhood().nodes().forEach(function(t){e.intersection(n.edgesWith(t)).length>0&&l.merge(t)});for(var d=0;d<l.length;d++){var c=l[d];null!=(h=i.intersection(c.union(c.ancestors())))&&!a.has(h[0])&&h.union(h.descendants()).forEach(function(t){o.push(t),a.add(t),r.merge(t),i.has(t)&&s.push(t)})}}();if(r.forEach(function(t){e.intersection(t.connectedEdges()).forEach(function(t){r.has(t.source())&&r.has(t.target())&&r.merge(t)})}),s.length==i.length&&(c=!0),!c||c&&g>1){d=(l=s[0]).connectedEdges().length,s.forEach(function(t){t.connectedEdges().length<d&&(d=t.connectedEdges().length,l=t)}),u.push(l.id());var v=t.collection();v.merge(s[0]),s.forEach(function(t){v.merge(t)}),s=[],i=i.difference(v),g++}}();while(!c);return r&&u.length>0&&r.set("dummy"+(r.size+1),u),f},o.relocateComponent=function(t,e,i){if(!i.fixedNodeConstraint){var n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY;if("draft"==i.quality){var h=!0,l=!1,d=void 0;try{for(var c,g=e.nodeIndexes[Symbol.iterator]();!(h=(c=g.next()).done);h=!0){var u=c.value,f=r(u,2),p=f[0],v=f[1],y=i.cy.getElementById(p);if(y){var m=y.boundingBox(),E=e.xCoords[v]-m.w/2,N=e.xCoords[v]+m.w/2,T=e.yCoords[v]-m.h/2,A=e.yCoords[v]+m.h/2;E<n&&(n=E),N>o&&(o=N),T<a&&(a=T),A>s&&(s=A)}}}catch(t){l=!0,d=t}finally{try{!h&&g.return&&g.return()}finally{if(l)throw d}}var L=t.x-(o+n)/2,w=t.y-(s+a)/2;e.xCoords=e.xCoords.map(function(t){return t+L}),e.yCoords=e.yCoords.map(function(t){return t+w})}else{Object.keys(e).forEach(function(t){var i=e[t],r=i.getRect().x,h=i.getRect().x+i.getRect().width,l=i.getRect().y,d=i.getRect().y+i.getRect().height;r<n&&(n=r),h>o&&(o=h),l<a&&(a=l),d>s&&(s=d)});var _=t.x-(o+n)/2,I=t.y-(s+a)/2;Object.keys(e).forEach(function(t){var i=e[t];i.setCenter(i.getCenterX()+_,i.getCenterY()+I)})}}},o.calcBoundingBox=function(t,e,i,r){for(var n=Number.MAX_SAFE_INTEGER,o=Number.MIN_SAFE_INTEGER,a=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER,h=void 0,l=void 0,d=void 0,c=void 0,g=t.descendants().not(":parent"),u=g.length,f=0;f<u;f++){var p=g[f];h=e[r.get(p.id())]-p.width()/2,l=e[r.get(p.id())]+p.width()/2,d=i[r.get(p.id())]-p.height()/2,c=i[r.get(p.id())]+p.height()/2,n>h&&(n=h),o<l&&(o=l),a>d&&(a=d),s<c&&(s=c)}var v={};return v.topLeftX=n,v.topLeftY=a,v.width=o-n,v.height=s-a,v},o.calcParentsWithoutChildren=function(t,e){var i=t.collection();return e.nodes(":parent").forEach(function(t){var e=!1;t.children().forEach(function(t){"none"!=t.css("display")&&(e=!0)}),!e&&i.merge(t)}),i},t.exports=o},816:(t,e,i)=>{var r=i(548),n=i(140).CoSELayout,o=i(140).CoSENode,a=i(140).layoutBase.PointD,s=i(140).layoutBase.DimensionD,h=i(140).layoutBase.LayoutConstants,l=i(140).layoutBase.FDLayoutConstants,d=i(140).CoSEConstants;t.exports={coseLayout:function(t,e){var i,c,g=t.cy,u=t.eles,f=u.nodes(),p=u.edges(),v=void 0,y=void 0,m=void 0,E={};t.randomize&&(v=e.nodeIndexes,y=e.xCoords,m=e.yCoords);var N=function(t){return"function"==typeof t},T=function(t,e){return N(t)?t(e):t},A=r.calcParentsWithoutChildren(g,u);null!=t.nestingFactor&&(d.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(d.DEFAULT_GRAVITY_STRENGTH=l.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(d.MAX_ITERATIONS=l.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(d.DEFAULT_GRAVITY_RANGE_FACTOR=l.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(d.DEFAULT_COMPOUND_GRAVITY_STRENGTH=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(d.DEFAULT_COOLING_FACTOR_INCREMENTAL=l.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),null!=t.tilingCompareBy&&(d.TILING_COMPARE_BY=t.tilingCompareBy),"proof"==t.quality?h.QUALITY=2:h.QUALITY=0,d.NODE_DIMENSIONS_INCLUDE_LABELS=l.NODE_DIMENSIONS_INCLUDE_LABELS=h.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,d.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!t.randomize,d.ANIMATE=l.ANIMATE=h.ANIMATE=t.animate,d.TILE=t.tile,d.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,d.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal,d.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!0,d.PURE_INCREMENTAL=!t.randomize,h.DEFAULT_UNIFORM_LEAF_NODE_SIZES=t.uniformNodeDimensions,"transformed"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,d.ENFORCE_CONSTRAINTS=!1,d.APPLY_LAYOUT=!1),"enforced"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!0,d.APPLY_LAYOUT=!1),"cose"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!1,d.APPLY_LAYOUT=!0),"all"==t.step&&(t.randomize?d.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!0,d.APPLY_LAYOUT=!0),t.fixedNodeConstraint||t.alignmentConstraint||t.relativePlacementConstraint?d.TREE_REDUCTION_ON_INCREMENTAL=!1:d.TREE_REDUCTION_ON_INCREMENTAL=!0;var L=new n,w=L.newGraphManager();return!function t(e,i,n,h){for(var l=i.length,d=0;d<l;d++){var c=i[d],g=null;0==c.intersection(A).length&&(g=c.children());var u=void 0,f=c.layoutDimensions({nodeDimensionsIncludeLabels:h.nodeDimensionsIncludeLabels});if(null!=c.outerWidth()&&null!=c.outerHeight()){if(h.randomize){if(c.isParent()){var p=r.calcBoundingBox(c,y,m,v);u=0==c.intersection(A).length?e.add(new o(n.graphManager,new a(p.topLeftX,p.topLeftY),new s(p.width,p.height))):e.add(new o(n.graphManager,new a(p.topLeftX,p.topLeftY),new s(parseFloat(f.w),parseFloat(f.h))))}else u=e.add(new o(n.graphManager,new a(y[v.get(c.id())]-f.w/2,m[v.get(c.id())]-f.h/2),new s(parseFloat(f.w),parseFloat(f.h))))}else u=e.add(new o(n.graphManager,new a(c.position("x")-f.w/2,c.position("y")-f.h/2),new s(parseFloat(f.w),parseFloat(f.h))))}else u=e.add(new o(this.graphManager));if(u.id=c.data("id"),u.nodeRepulsion=T(h.nodeRepulsion,c),u.paddingLeft=parseInt(c.css("padding")),u.paddingTop=parseInt(c.css("padding")),u.paddingRight=parseInt(c.css("padding")),u.paddingBottom=parseInt(c.css("padding")),h.nodeDimensionsIncludeLabels&&(u.labelWidth=c.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).w,u.labelHeight=c.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).h,u.labelPosVertical=c.css("text-valign"),u.labelPosHorizontal=c.css("text-halign")),E[c.data("id")]=u,isNaN(u.rect.x)&&(u.rect.x=0),isNaN(u.rect.y)&&(u.rect.y=0),null!=g&&g.length>0){var N=void 0;t(N=n.getGraphManager().add(n.newGraph(),u),g,n,h)}}}(w.addRoot(),r.getTopMostNodes(f),L,t),!function(e,i,r){for(var n=0,o=0,a=0;a<r.length;a++){var s=r[a],h=E[s.data("source")],c=E[s.data("target")];if(h&&c&&h!==c&&0==h.getEdgesBetween(c).length){var g=i.add(e.newEdge(),h,c);g.id=s.id(),g.idealLength=T(t.idealEdgeLength,s),g.edgeElasticity=T(t.edgeElasticity,s),n+=g.idealLength,o++}}null!=t.idealEdgeLength&&(o>0?d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=n/o:N(t.idealEdgeLength)?d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=50:d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=t.idealEdgeLength,d.MIN_REPULSION_DIST=l.MIN_REPULSION_DIST=l.DEFAULT_EDGE_LENGTH/10,d.DEFAULT_RADIAL_SEPARATION=l.DEFAULT_EDGE_LENGTH)}(L,w,p),i=L,(c=t).fixedNodeConstraint&&(i.constraints.fixedNodeConstraint=c.fixedNodeConstraint),c.alignmentConstraint&&(i.constraints.alignmentConstraint=c.alignmentConstraint),c.relativePlacementConstraint&&(i.constraints.relativePlacementConstraint=c.relativePlacementConstraint),L.runLayout(),E}}},212:(t,e,i)=>{var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=i(658),o=i(548),a=i(657).spectralLayout,s=i(816).coseLayout,h=Object.freeze({quality:"default",randomize:!0,animate:!0,animationDuration:1e3,animationEasing:void 0,fit:!0,padding:30,nodeDimensionsIncludeLabels:!1,uniformNodeDimensions:!1,packComponents:!0,step:"all",samplingType:!0,sampleSize:25,nodeSeparation:75,piTol:1e-7,nodeRepulsion:function(t){return 4500},idealEdgeLength:function(t){return 50},edgeElasticity:function(t){return .45},nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,tilingCompareBy:void 0,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.3,fixedNodeConstraint:void 0,alignmentConstraint:void 0,relativePlacementConstraint:void 0,ready:function(){},stop:function(){}}),l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.options=n({},h,e)}return r(t,[{key:"run",value:function(){var t=this.options,e=t.cy,i=t.eles,r=[],n=[],h=void 0,l=[];t.fixedNodeConstraint&&(!Array.isArray(t.fixedNodeConstraint)||0==t.fixedNodeConstraint.length)&&(t.fixedNodeConstraint=void 0),t.alignmentConstraint&&(t.alignmentConstraint.vertical&&(!Array.isArray(t.alignmentConstraint.vertical)||0==t.alignmentConstraint.vertical.length)&&(t.alignmentConstraint.vertical=void 0),t.alignmentConstraint.horizontal&&(!Array.isArray(t.alignmentConstraint.horizontal)||0==t.alignmentConstraint.horizontal.length)&&(t.alignmentConstraint.horizontal=void 0)),t.relativePlacementConstraint&&(!Array.isArray(t.relativePlacementConstraint)||0==t.relativePlacementConstraint.length)&&(t.relativePlacementConstraint=void 0),(t.fixedNodeConstraint||t.alignmentConstraint||t.relativePlacementConstraint)&&(t.tile=!1,t.packComponents=!1);var d=void 0,c=!1;if(e.layoutUtilities&&t.packComponents&&(!(d=e.layoutUtilities("get"))&&(d=e.layoutUtilities()),c=!0),i.nodes().length>0){if(c){var g=o.getTopMostNodes(t.eles.nodes());if((h=o.connectComponents(e,t.eles,g)).forEach(function(t){var e=t.boundingBox();l.push({x:e.x1+e.w/2,y:e.y1+e.h/2})}),t.randomize&&h.forEach(function(e){t.eles=e,r.push(a(t))}),"default"==t.quality||"proof"==t.quality){var u=e.collection();if(t.tile){var f=new Map,p=0,v={nodeIndexes:f,xCoords:[],yCoords:[]},y=[];if(h.forEach(function(t,e){0==t.edges().length&&(t.nodes().forEach(function(e,i){u.merge(t.nodes()[i]),!e.isParent()&&(v.nodeIndexes.set(t.nodes()[i].id(),p++),v.xCoords.push(t.nodes()[0].position().x),v.yCoords.push(t.nodes()[0].position().y))}),y.push(e))}),u.length>1){var m=u.boundingBox();l.push({x:m.x1+m.w/2,y:m.y1+m.h/2}),h.push(u),r.push(v);for(var E=y.length-1;E>=0;E--)h.splice(y[E],1),r.splice(y[E],1),l.splice(y[E],1)}}h.forEach(function(e,i){t.eles=e,n.push(s(t,r[i])),o.relocateComponent(l[i],n[i],t)})}else h.forEach(function(e,i){o.relocateComponent(l[i],r[i],t)});var N=new Set;if(h.length>1){var T=[],A=i.filter(function(t){return"none"==t.css("display")});h.forEach(function(e,i){var a=void 0;if("draft"==t.quality&&(a=r[i].nodeIndexes),e.nodes().not(A).length>0){var s={};s.edges=[],s.nodes=[];var h=void 0;e.nodes().not(A).forEach(function(e){if("draft"==t.quality){if(e.isParent()){var l=o.calcBoundingBox(e,r[i].xCoords,r[i].yCoords,a);s.nodes.push({x:l.topLeftX,y:l.topLeftY,width:l.width,height:l.height})}else h=a.get(e.id()),s.nodes.push({x:r[i].xCoords[h]-e.boundingbox().w/2,y:r[i].yCoords[h]-e.boundingbox().h/2,width:e.boundingbox().w,height:e.boundingbox().h})}else n[i][e.id()]&&s.nodes.push({x:n[i][e.id()].getLeft(),y:n[i][e.id()].getTop(),width:n[i][e.id()].getWidth(),height:n[i][e.id()].getHeight()})}),e.edges().forEach(function(e){var h=e.source(),l=e.target();if("none"!=h.css("display")&&"none"!=l.css("display")){if("draft"==t.quality){var d=a.get(h.id()),c=a.get(l.id()),g=[],u=[];if(h.isParent()){var f=o.calcBoundingBox(h,r[i].xCoords,r[i].yCoords,a);g.push(f.topLeftX+f.width/2),g.push(f.topLeftY+f.height/2)}else g.push(r[i].xCoords[d]),g.push(r[i].yCoords[d]);if(l.isParent()){var p=o.calcBoundingBox(l,r[i].xCoords,r[i].yCoords,a);u.push(p.topLeftX+p.width/2),u.push(p.topLeftY+p.height/2)}else u.push(r[i].xCoords[c]),u.push(r[i].yCoords[c]);s.edges.push({startX:g[0],startY:g[1],endX:u[0],endY:u[1]})}else n[i][h.id()]&&n[i][l.id()]&&s.edges.push({startX:n[i][h.id()].getCenterX(),startY:n[i][h.id()].getCenterY(),endX:n[i][l.id()].getCenterX(),endY:n[i][l.id()].getCenterY()})}}),s.nodes.length>0&&(T.push(s),N.add(i))}});var L=d.packComponents(T,t.randomize).shifts;if("draft"==t.quality)r.forEach(function(t,e){var i=t.xCoords.map(function(t){return t+L[e].dx}),r=t.yCoords.map(function(t){return t+L[e].dy});t.xCoords=i,t.yCoords=r});else{var w=0;N.forEach(function(t){Object.keys(n[t]).forEach(function(e){var i=n[t][e];i.setCenter(i.getCenterX()+L[w].dx,i.getCenterY()+L[w].dy)}),w++})}}}else{var _=t.eles.boundingBox();if(l.push({x:_.x1+_.w/2,y:_.y1+_.h/2}),t.randomize){var I=a(t);r.push(I)}"default"==t.quality||"proof"==t.quality?(n.push(s(t,r[0])),o.relocateComponent(l[0],n[0],t)):o.relocateComponent(l[0],r[0],t)}}var C=function(e,i){if("default"==t.quality||"proof"==t.quality){"number"==typeof e&&(e=i);var o=void 0,a=void 0,s=e.data("id");return n.forEach(function(t){s in t&&(o={x:t[s].getRect().getCenterX(),y:t[s].getRect().getCenterY()},a=t[s])}),t.nodeDimensionsIncludeLabels&&(a.labelWidth&&("left"==a.labelPosHorizontal?o.x+=a.labelWidth/2:"right"==a.labelPosHorizontal&&(o.x-=a.labelWidth/2)),a.labelHeight&&("top"==a.labelPosVertical?o.y+=a.labelHeight/2:"bottom"==a.labelPosVertical&&(o.y-=a.labelHeight/2))),void 0==o&&(o={x:e.position("x"),y:e.position("y")}),{x:o.x,y:o.y}}var h=void 0;return r.forEach(function(t){var i=t.nodeIndexes.get(e.id());void 0!=i&&(h={x:t.xCoords[i],y:t.yCoords[i]})}),void 0==h&&(h={x:e.position("x"),y:e.position("y")}),{x:h.x,y:h.y}};if("default"==t.quality||"proof"==t.quality||t.randomize){var M=o.calcParentsWithoutChildren(e,i),x=i.filter(function(t){return"none"==t.css("display")});t.eles=i.not(x),i.nodes().not(":parent").not(x).layoutPositions(this,t,C),M.length>0&&M.forEach(function(t){t.position(C(t))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),t}();t.exports=l},657:(t,e,i)=>{var r=i(548),n=i(140).layoutBase.Matrix,o=i(140).layoutBase.SVD;t.exports={spectralLayout:function(t){var e=t.cy,i=t.eles,a=i.nodes(),s=i.nodes(":parent"),h=new Map,l=new Map,d=new Map,c=[],g=[],u=[],f=[],p=[],v=[],y=[],m=[],E=void 0,N=t.piTol,T=t.samplingType,A=t.nodeSeparation,L=void 0,w=function(){for(var t=0,e=0,i=!1;e<L;){t=Math.floor(Math.random()*E),i=!1;for(var r=0;r<e;r++)if(f[r]==t){i=!0;break}if(!i)f[e]=t,e++}},_=function(t,e,i){for(var r=[],n=0,o=0,a=0,s=void 0,h=[],d=0,g=1,u=0;u<E;u++)h[u]=1e8;for(r[o]=t,h[t]=0;o>=n;){for(var f=c[a=r[n++]],y=0;y<f.length;y++)1e8==h[s=l.get(f[y])]&&(h[s]=h[a]+1,r[++o]=s);v[a][e]=h[a]*A}if(i){for(var m=0;m<E;m++)v[m][e]<p[m]&&(p[m]=v[m][e]);for(var N=0;N<E;N++)p[N]>d&&(d=p[N],g=N)}return g};r.connectComponents(e,i,r.getTopMostNodes(a),h),s.forEach(function(t){r.connectComponents(e,i,r.getTopMostNodes(t.descendants().intersection(i)),h)});for(var I=0,C=0;C<a.length;C++)!a[C].isParent()&&l.set(a[C].id(),I++);var M=!0,x=!1,O=void 0;try{for(var D,R=h.keys()[Symbol.iterator]();!(M=(D=R.next()).done);M=!0){var b=D.value;l.set(b,I++)}}catch(t){x=!0,O=t}finally{try{!M&&R.return&&R.return()}finally{if(x)throw O}}for(var G=0;G<l.size;G++)c[G]=[];s.forEach(function(t){for(var e=t.children().intersection(i);0==e.nodes(":childless").length;)e=e.nodes()[0].children().intersection(i);var r=0,n=e.nodes(":childless")[0].connectedEdges().length;e.nodes(":childless").forEach(function(t,e){t.connectedEdges().length<n&&(n=t.connectedEdges().length,r=e)}),d.set(t.id(),e.nodes(":childless")[r].id())}),a.forEach(function(t){var e=void 0;e=t.isParent()?l.get(d.get(t.id())):l.get(t.id()),t.neighborhood().nodes().forEach(function(r){i.intersection(t.edgesWith(r)).length>0&&(r.isParent()?c[e].push(d.get(r.id())):c[e].push(r.id()))})});var F=function(t){var i=l.get(t),r=void 0;h.get(t).forEach(function(n){r=e.getElementById(n).isParent()?d.get(n):n,c[i].push(r),c[l.get(r)].push(t)})},S=!0,P=!1,U=void 0;try{for(var Y,k=h.keys()[Symbol.iterator]();!(S=(Y=k.next()).done);S=!0){var H=Y.value;F(H)}}catch(t){P=!0,U=t}finally{try{!S&&k.return&&k.return()}finally{if(P)throw U}}E=l.size;var X=void 0;if(E>2){L=E<t.sampleSize?E:t.sampleSize;for(var W=0;W<E;W++)v[W]=[];for(var z=0;z<L;z++)m[z]=[];return"draft"==t.quality||"all"==t.step?(!function(t){var e=void 0;if(t){e=Math.floor(Math.random()*E);for(var i=0;i<E;i++)p[i]=1e8;for(var r=0;r<L;r++)f[r]=e,e=_(e,r,t)}else{w();for(var n=0;n<L;n++)_(f[n],n,t,!1)}for(var o=0;o<E;o++)for(var a=0;a<L;a++)v[o][a]*=v[o][a];for(var s=0;s<L;s++)y[s]=[];for(var h=0;h<L;h++)for(var l=0;l<L;l++)y[h][l]=v[f[l]][h]}(T),!function(){for(var t=o.svd(y),e=t.S,i=t.U,r=t.V,a=e[0]*e[0]*e[0],s=[],h=0;h<L;h++){s[h]=[];for(var l=0;l<L;l++)s[h][l]=0,h==l&&(s[h][l]=e[h]/(e[h]*e[h]+a/(e[h]*e[h])))}m=n.multMat(n.multMat(r,s),n.transpose(i))}(),!function(){for(var t=void 0,e=void 0,i=[],r=[],o=[],a=[],s=0;s<E;s++)i[s]=Math.random(),r[s]=Math.random();i=n.normalize(i),r=n.normalize(r);for(var h=0,l=1e-9,d=1e-9,c=void 0;;){h++;for(var f=0;f<E;f++)o[f]=i[f];if(i=n.multGamma(n.multL(n.multGamma(o),v,m)),t=n.dotProduct(o,i),i=n.normalize(i),(c=Math.abs((l=n.dotProduct(o,i))/d))<=1+N&&c>=1)break;d=l}for(var p=0;p<E;p++)o[p]=i[p];for(h=0,d=1e-9;;){h++;for(var y=0;y<E;y++)a[y]=r[y];if(a=n.minusOp(a,n.multCons(o,n.dotProduct(o,a))),r=n.multGamma(n.multL(n.multGamma(a),v,m)),e=n.dotProduct(a,r),r=n.normalize(r),(c=Math.abs((l=n.dotProduct(a,r))/d))<=1+N&&c>=1)break;d=l}for(var T=0;T<E;T++)a[T]=r[T];g=n.multCons(o,Math.sqrt(Math.abs(t))),u=n.multCons(a,Math.sqrt(Math.abs(e)))}()):l.forEach(function(t,i){g.push(e.getElementById(i).position("x")),u.push(e.getElementById(i).position("y"))}),X={nodeIndexes:l,xCoords:g,yCoords:u}}var V=l.keys(),B=e.getElementById(V.next().value),j=B.position(),q=B.outerWidth();if(g.push(j.x),u.push(j.y),2==E){var $=e.getElementById(V.next().value).outerWidth();g.push(j.x+q/2+$/2+t.idealEdgeLength),u.push(j.y)}return X={nodeIndexes:l,xCoords:g,yCoords:u}}}},579:(t,e,i)=>{var r=i(212),n=function(t){if(!!t)t("layout","fcose",r)};"undefined"!=typeof cytoscape&&n(cytoscape),t.exports=n},140:e=>{e.exports=t}},i={},function t(r){var n=i[r];if(void 0!==n)return n.exports;var o=i[r]={exports:{}};return e[r](o,o.exports,t),o.exports}(579)},t.exports=n(i(26914))},26914:function(t,e,i){var r,n;r=0,n=function(t){var e,i;return e={45:(t,e,i)=>{var r={};r.layoutBase=i(551),r.CoSEConstants=i(806),r.CoSEEdge=i(767),r.CoSEGraph=i(880),r.CoSEGraphManager=i(578),r.CoSELayout=i(765),r.CoSENode=i(991),r.ConstraintHandler=i(902),t.exports=r},806:(t,e,i)=>{var r=i(551).FDLayoutConstants;function n(){}for(var o in r)n[o]=r[o];n.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,n.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,n.DEFAULT_COMPONENT_SEPERATION=60,n.TILE=!0,n.TILING_PADDING_VERTICAL=10,n.TILING_PADDING_HORIZONTAL=10,n.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,n.ENFORCE_CONSTRAINTS=!0,n.APPLY_LAYOUT=!0,n.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,n.TREE_REDUCTION_ON_INCREMENTAL=!0,n.PURE_INCREMENTAL=n.DEFAULT_INCREMENTAL,t.exports=n},767:(t,e,i)=>{var r=i(551).FDLayoutEdge;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},880:(t,e,i)=>{var r=i(551).LGraph;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},578:(t,e,i)=>{var r=i(551).LGraphManager;function n(t){r.call(this,t)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},765:(t,e,i)=>{var r=i(551).FDLayout,n=i(578),o=i(880),a=i(991),s=i(767),h=i(806),l=i(902),d=i(551).FDLayoutConstants,c=i(551).LayoutConstants,g=i(551).Point,u=i(551).PointD,f=i(551).DimensionD,p=i(551).Layout,v=i(551).Integer,y=i(551).IGeometry,m=i(551).LGraph,E=i(551).Transform,N=i(551).LinkedList;function T(){r.call(this),this.toBeTiled={},this.constraints={}}for(var A in T.prototype=Object.create(r.prototype),r)T[A]=r[A];T.prototype.newGraphManager=function(){var t=new n(this);return this.graphManager=t,t},T.prototype.newGraph=function(t){return new o(null,this.graphManager,t)},T.prototype.newNode=function(t){return new a(this.graphManager,t)},T.prototype.newEdge=function(t){return new s(null,null,t)},T.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),!this.isSubLayout&&(h.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=h.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=d.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=d.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=d.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},T.prototype.initSpringEmbedder=function(){r.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/d.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},T.prototype.layout=function(){return c.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},T.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(h.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 i=this.getFlatForest();if(i.length>0)this.positionNodesRadially(i);else{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),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(l.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),h.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},T.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%d.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(),h.PURE_INCREMENTAL?this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=d.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()),h.PURE_INCREMENTAL?this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},T.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i<t.length;i++){var r=t[i].rect,n=t[i].id;e[n]={id:n,x:r.getCenterX(),y:r.getCenterY(),w:r.width,h:r.height}}return e},T.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===d.ANIMATE)this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},T.prototype.moveNodes=function(){for(var t,e=this.getAllNodes(),i=0;i<e.length;i++)(t=e[i]).calculateDisplacement();Object.keys(this.constraints).length>0&&this.updateDisplacements();for(var i=0;i<e.length;i++)(t=e[i]).move()},T.prototype.initConstraintVariables=function(){var t=this;this.idToNodeMap=new Map,this.fixedNodeSet=new Set;for(var e=this.graphManager.getAllNodes(),i=0;i<e.length;i++){var r=e[i];this.idToNodeMap.set(r.id,r)}if(this.constraints.fixedNodeConstraint){this.constraints.fixedNodeConstraint.forEach(function(e){t.fixedNodeSet.add(e.nodeId)});for(var r,e=this.graphManager.getAllNodes(),i=0;i<e.length;i++)if(null!=(r=e[i]).getChild()){var n=function e(i){for(var r,n=i.getChild().getNodes(),o=0,a=0;a<n.length;a++)null==(r=n[a]).getChild()?t.fixedNodeSet.has(r.id)&&(o+=100):o+=e(r);return o}(r);n>0&&(r.fixedNodeWeight=n)}}if(this.constraints.relativePlacementConstraint){var o=new Map,a=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(e){t.fixedNodesOnHorizontal.add(e),t.fixedNodesOnVertical.add(e)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical){for(var s=this.constraints.alignmentConstraint.vertical,i=0;i<s.length;i++)this.dummyToNodeForVerticalAlignment.set("dummy"+i,[]),s[i].forEach(function(e){o.set(e,"dummy"+i),t.dummyToNodeForVerticalAlignment.get("dummy"+i).push(e),t.fixedNodeSet.has(e)&&t.fixedNodesOnHorizontal.add("dummy"+i)})}if(this.constraints.alignmentConstraint.horizontal){for(var l=this.constraints.alignmentConstraint.horizontal,i=0;i<l.length;i++)this.dummyToNodeForHorizontalAlignment.set("dummy"+i,[]),l[i].forEach(function(e){a.set(e,"dummy"+i),t.dummyToNodeForHorizontalAlignment.get("dummy"+i).push(e),t.fixedNodeSet.has(e)&&t.fixedNodesOnVertical.add("dummy"+i)})}}if(h.RELAX_MOVEMENT_ON_CONSTRAINTS)this.shuffle=function(t){var e,i,r;for(r=t.length-1;r>=2*t.length/3;r--)e=Math.floor(Math.random()*(r+1)),i=t[r],t[r]=t[e],t[e]=i;return t},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(e){if(e.left){var i=o.has(e.left)?o.get(e.left):e.left,r=o.has(e.right)?o.get(e.right):e.right;!t.nodesInRelativeHorizontal.includes(i)&&(t.nodesInRelativeHorizontal.push(i),t.nodeToRelativeConstraintMapHorizontal.set(i,[]),t.dummyToNodeForVerticalAlignment.has(i)?t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(i)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(i).getCenterX())),!t.nodesInRelativeHorizontal.includes(r)&&(t.nodesInRelativeHorizontal.push(r),t.nodeToRelativeConstraintMapHorizontal.set(r,[]),t.dummyToNodeForVerticalAlignment.has(r)?t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(r)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(r).getCenterX())),t.nodeToRelativeConstraintMapHorizontal.get(i).push({right:r,gap:e.gap}),t.nodeToRelativeConstraintMapHorizontal.get(r).push({left:i,gap:e.gap})}else{var n=a.has(e.top)?a.get(e.top):e.top,s=a.has(e.bottom)?a.get(e.bottom):e.bottom;!t.nodesInRelativeVertical.includes(n)&&(t.nodesInRelativeVertical.push(n),t.nodeToRelativeConstraintMapVertical.set(n,[]),t.dummyToNodeForHorizontalAlignment.has(n)?t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(n)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(n).getCenterY())),!t.nodesInRelativeVertical.includes(s)&&(t.nodesInRelativeVertical.push(s),t.nodeToRelativeConstraintMapVertical.set(s,[]),t.dummyToNodeForHorizontalAlignment.has(s)?t.nodeToTempPositionMapVertical.set(s,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(s)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(s,t.idToNodeMap.get(s).getCenterY())),t.nodeToRelativeConstraintMapVertical.get(n).push({bottom:s,gap:e.gap}),t.nodeToRelativeConstraintMapVertical.get(s).push({top:n,gap:e.gap})}});else{var d=new Map,c=new Map;this.constraints.relativePlacementConstraint.forEach(function(t){if(t.left){var e=o.has(t.left)?o.get(t.left):t.left,i=o.has(t.right)?o.get(t.right):t.right;d.has(e)?d.get(e).push(i):d.set(e,[i]),d.has(i)?d.get(i).push(e):d.set(i,[e])}else{var r=a.has(t.top)?a.get(t.top):t.top,n=a.has(t.bottom)?a.get(t.bottom):t.bottom;c.has(r)?c.get(r).push(n):c.set(r,[n]),c.has(n)?c.get(n).push(r):c.set(n,[r])}});var g=function(t,e){var i=[],r=[],n=new N,o=new Set,a=0;return t.forEach(function(s,h){if(!o.has(h)){i[a]=[],r[a]=!1;var l=h;for(n.push(l),o.add(l),i[a].push(l);0!=n.length;)l=n.shift(),e.has(l)&&(r[a]=!0),t.get(l).forEach(function(t){!o.has(t)&&(n.push(t),o.add(t),i[a].push(t))});a++}}),{components:i,isFixed:r}},u=g(d,t.fixedNodesOnHorizontal);this.componentsOnHorizontal=u.components,this.fixedComponentsOnHorizontal=u.isFixed;var f=g(c,t.fixedNodesOnVertical);this.componentsOnVertical=f.components,this.fixedComponentsOnVertical=f.isFixed}}},T.prototype.updateDisplacements=function(){var t=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(e){var i=t.idToNodeMap.get(e.nodeId);i.displacementX=0,i.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical){for(var e=this.constraints.alignmentConstraint.vertical,i=0;i<e.length;i++){for(var r=0,n=0;n<e[i].length;n++){if(this.fixedNodeSet.has(e[i][n])){r=0;break}r+=this.idToNodeMap.get(e[i][n]).displacementX}for(var o=r/e[i].length,n=0;n<e[i].length;n++)this.idToNodeMap.get(e[i][n]).displacementX=o}}if(this.constraints.alignmentConstraint.horizontal){for(var a=this.constraints.alignmentConstraint.horizontal,i=0;i<a.length;i++){for(var s=0,n=0;n<a[i].length;n++){if(this.fixedNodeSet.has(a[i][n])){s=0;break}s+=this.idToNodeMap.get(a[i][n]).displacementY}for(var l=s/a[i].length,n=0;n<a[i].length;n++)this.idToNodeMap.get(a[i][n]).displacementY=l}}}if(this.constraints.relativePlacementConstraint){if(h.RELAX_MOVEMENT_ON_CONSTRAINTS)this.totalIterations%10==0&&(this.shuffle(this.nodesInRelativeHorizontal),this.shuffle(this.nodesInRelativeVertical)),this.nodesInRelativeHorizontal.forEach(function(e){if(!t.fixedNodesOnHorizontal.has(e)){var i=0;i=t.dummyToNodeForVerticalAlignment.has(e)?t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(e)[0]).displacementX:t.idToNodeMap.get(e).displacementX,t.nodeToRelativeConstraintMapHorizontal.get(e).forEach(function(r){if(r.right){var n=t.nodeToTempPositionMapHorizontal.get(r.right)-t.nodeToTempPositionMapHorizontal.get(e)-i;n<r.gap&&(i-=r.gap-n)}else{var n=t.nodeToTempPositionMapHorizontal.get(e)-t.nodeToTempPositionMapHorizontal.get(r.left)+i;n<r.gap&&(i+=r.gap-n)}}),t.nodeToTempPositionMapHorizontal.set(e,t.nodeToTempPositionMapHorizontal.get(e)+i),t.dummyToNodeForVerticalAlignment.has(e)?t.dummyToNodeForVerticalAlignment.get(e).forEach(function(e){t.idToNodeMap.get(e).displacementX=i}):t.idToNodeMap.get(e).displacementX=i}}),this.nodesInRelativeVertical.forEach(function(e){if(!t.fixedNodesOnHorizontal.has(e)){var i=0;i=t.dummyToNodeForHorizontalAlignment.has(e)?t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(e)[0]).displacementY:t.idToNodeMap.get(e).displacementY,t.nodeToRelativeConstraintMapVertical.get(e).forEach(function(r){if(r.bottom){var n=t.nodeToTempPositionMapVertical.get(r.bottom)-t.nodeToTempPositionMapVertical.get(e)-i;n<r.gap&&(i-=r.gap-n)}else{var n=t.nodeToTempPositionMapVertical.get(e)-t.nodeToTempPositionMapVertical.get(r.top)+i;n<r.gap&&(i+=r.gap-n)}}),t.nodeToTempPositionMapVertical.set(e,t.nodeToTempPositionMapVertical.get(e)+i),t.dummyToNodeForHorizontalAlignment.has(e)?t.dummyToNodeForHorizontalAlignment.get(e).forEach(function(e){t.idToNodeMap.get(e).displacementY=i}):t.idToNodeMap.get(e).displacementY=i}});else{for(var i=0;i<this.componentsOnHorizontal.length;i++){var d=this.componentsOnHorizontal[i];if(this.fixedComponentsOnHorizontal[i])for(var n=0;n<d.length;n++)this.dummyToNodeForVerticalAlignment.has(d[n])?this.dummyToNodeForVerticalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementX=0}):this.idToNodeMap.get(d[n]).displacementX=0;else{for(var c=0,g=0,n=0;n<d.length;n++)if(this.dummyToNodeForVerticalAlignment.has(d[n])){var u=this.dummyToNodeForVerticalAlignment.get(d[n]);c+=u.length*this.idToNodeMap.get(u[0]).displacementX,g+=u.length}else c+=this.idToNodeMap.get(d[n]).displacementX,g++;for(var f=c/g,n=0;n<d.length;n++)this.dummyToNodeForVerticalAlignment.has(d[n])?this.dummyToNodeForVerticalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementX=f}):this.idToNodeMap.get(d[n]).displacementX=f}}for(var i=0;i<this.componentsOnVertical.length;i++){var d=this.componentsOnVertical[i];if(this.fixedComponentsOnVertical[i])for(var n=0;n<d.length;n++)this.dummyToNodeForHorizontalAlignment.has(d[n])?this.dummyToNodeForHorizontalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementY=0}):this.idToNodeMap.get(d[n]).displacementY=0;else{for(var c=0,g=0,n=0;n<d.length;n++)if(this.dummyToNodeForHorizontalAlignment.has(d[n])){var u=this.dummyToNodeForHorizontalAlignment.get(d[n]);c+=u.length*this.idToNodeMap.get(u[0]).displacementY,g+=u.length}else c+=this.idToNodeMap.get(d[n]).displacementY,g++;for(var f=c/g,n=0;n<d.length;n++)this.dummyToNodeForHorizontalAlignment.has(d[n])?this.dummyToNodeForHorizontalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementY=f}):this.idToNodeMap.get(d[n]).displacementY=f}}}}},T.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,i=[],r=this.graphManager.getGraphs(),n=r.length;for(e=0;e<n;e++)(t=r[e]).updateConnected(),!t.isConnected&&(i=i.concat(t.getNodes()));return i},T.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e=new Set;for(o=0;o<t.length;o++){var i=t[o];if(!e.has(i)){var r=i.getSource(),n=i.getTarget();if(r==n)i.getBendpoints().push(new u),i.getBendpoints().push(new u),this.createDummyNodesForBendpoints(i),e.add(i);else{var o,a,s=[];if(s=(s=s.concat(r.getEdgeListToNode(n))).concat(n.getEdgeListToNode(r)),!e.has(s[0])){if(s.length>1)for(a=0;a<s.length;a++){var h=s[a];h.getBendpoints().push(new u),this.createDummyNodesForBendpoints(h)}s.forEach(function(t){e.add(t)})}}}if(e.size==t.length)break}},T.prototype.positionNodesRadially=function(t){for(var e=new g(0,0),i=Math.ceil(Math.sqrt(t.length)),r=0,n=0,o=0,a=new u(0,0),s=0;s<t.length;s++){s%i==0&&(o=0,n=r,0!=s&&(n+=h.DEFAULT_COMPONENT_SEPERATION),r=0);var l=t[s],d=p.findCenterOfTree(l);e.x=o,e.y=n,(a=T.radialLayout(l,d,e)).y>r&&(r=Math.floor(a.y)),o=Math.floor(a.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(c.WORLD_CENTER_X-a.x/2,c.WORLD_CENTER_Y-a.y/2))},T.radialLayout=function(t,e,i){var r=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);T.branchRadialLayout(e,null,0,359,0,r);var n=m.calculateBounds(t),o=new E;o.setDeviceOrgX(n.getMinX()),o.setDeviceOrgY(n.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var a=0;a<t.length;a++)t[a].transform(o);var s=new u(n.getMaxX(),n.getMaxY());return o.inverseTransformPoint(s)},T.branchRadialLayout=function(t,e,i,r,n,o){var a,s=(r-i+1)/2;s<0&&(s+=180);var h=(s+i)%360*y.TWO_PI/360,l=n*Math.cos(h),d=n*Math.sin(h);t.setCenter(l,d);var c=[],g=(c=c.concat(t.getEdges())).length;null!=e&&g--;for(var u=0,f=c.length,p=t.getEdgesBetween(e);p.length>1;){var v=p[0];p.splice(0,1);var m=c.indexOf(v);m>=0&&c.splice(m,1),f--,g--}a=null!=e?(c.indexOf(p[0])+1)%f:0;for(var E=Math.abs(r-i)/g,N=a;u!=g;N=++N%f){var A=c[N].getOtherEnd(t);if(A!=e){var L=(i+u*E)%360,w=(L+E)%360;T.branchRadialLayout(A,t,L,w,n+o,o),u++}}},T.maxDiagonalInTree=function(t){for(var e=v.MIN_VALUE,i=0;i<t.length;i++){var r=t[i].getDiagonal();r>e&&(e=r)}return e},T.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},T.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],r=this.graphManager.getAllNodes(),n=0;n<r.length;n++){var o=r[n],s=o.getParent();0===this.getNodeDegreeWithChildren(o)&&(void 0==s.id||!this.getToBeTiled(s))&&i.push(o)}for(var n=0;n<i.length;n++){var o=i[n],h=o.getParent().id;void 0===e[h]&&(e[h]=[]),e[h]=e[h].concat(o)}Object.keys(e).forEach(function(i){if(e[i].length>1){var r="DummyCompound_"+i;t.memberGroups[r]=e[i];var n=e[i][0].getParent(),o=new a(t.graphManager);o.id=r,o.paddingLeft=n.paddingLeft||0,o.paddingRight=n.paddingRight||0,o.paddingBottom=n.paddingBottom||0,o.paddingTop=n.paddingTop||0,t.idToDummyNode[r]=o;var s=t.getGraphManager().add(t.newGraph(),o),h=n.getChild();h.add(o);for(var l=0;l<e[i].length;l++){var d=e[i][l];h.remove(d),s.add(d)}}})},T.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var i=0;i<this.compoundOrder.length;i++)e[this.compoundOrder[i].id]=this.compoundOrder[i],t[this.compoundOrder[i].id]=[].concat(this.compoundOrder[i].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[i].getChild()),this.compoundOrder[i].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e)},T.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(i){var r=t.idToDummyNode[i];if(e[i]=t.tileNodes(t.memberGroups[i],r.paddingLeft+r.paddingRight),r.rect.width=e[i].width,r.rect.height=e[i].height,r.setCenter(e[i].centerX,e[i].centerY),r.labelMarginLeft=0,r.labelMarginTop=0,h.NODE_DIMENSIONS_INCLUDE_LABELS){var n=r.rect.width,o=r.rect.height;r.labelWidth&&("left"==r.labelPosHorizontal?(r.rect.x-=r.labelWidth,r.setWidth(n+r.labelWidth),r.labelMarginLeft=r.labelWidth):"center"==r.labelPosHorizontal&&r.labelWidth>n?(r.rect.x-=(r.labelWidth-n)/2,r.setWidth(r.labelWidth),r.labelMarginLeft=(r.labelWidth-n)/2):"right"==r.labelPosHorizontal&&r.setWidth(n+r.labelWidth)),r.labelHeight&&("top"==r.labelPosVertical?(r.rect.y-=r.labelHeight,r.setHeight(o+r.labelHeight),r.labelMarginTop=r.labelHeight):"center"==r.labelPosVertical&&r.labelHeight>o?(r.rect.y-=(r.labelHeight-o)/2,r.setHeight(r.labelHeight),r.labelMarginTop=(r.labelHeight-o)/2):"bottom"==r.labelPosVertical&&r.setHeight(o+r.labelHeight))}})},T.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],i=e.id,r=e.paddingLeft,n=e.paddingTop,o=e.labelMarginLeft,a=e.labelMarginTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,r,n,o,a)}},T.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var r=t.idToDummyNode[i],n=r.paddingLeft,o=r.paddingTop,a=r.labelMarginLeft,s=r.labelMarginTop;t.adjustLocations(e[i],r.rect.x,r.rect.y,n,o,a,s)})},T.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var r=i.getNodes(),n=0;n<r.length;n++){var o=r[n];if(this.getNodeDegree(o)>0)return this.toBeTiled[e]=!1,!1;if(null==o.getChild()){this.toBeTiled[o.id]=!1;continue}if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}return this.toBeTiled[e]=!0,!0},T.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,r=0;r<e.length;r++){var n=e[r];n.getSource().id!==n.getTarget().id&&(i+=1)}return i},T.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var i=t.getChild().getNodes(),r=0;r<i.length;r++){var n=i[r];e+=this.getNodeDegreeWithChildren(n)}return e},T.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},T.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var i=t[e];null!=i.getChild()&&this.fillCompexOrderByDFS(i.getChild().getNodes()),this.getToBeTiled(i)&&this.compoundOrder.push(i)}},T.prototype.adjustLocations=function(t,e,i,r,n,o,a){e+=r+o,i+=n+a;for(var s=e,h=0;h<t.rows.length;h++){var l=t.rows[h];e=s;for(var d=0,c=0;c<l.length;c++){var g=l[c];g.rect.x=e,g.rect.y=i,e+=g.rect.width+t.horizontalPadding,g.rect.height>d&&(d=g.rect.height)}i+=d+t.verticalPadding}},T.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(r){var n=e[r];if(i.tiledMemberPack[r]=i.tileNodes(t[r],n.paddingLeft+n.paddingRight),n.rect.width=i.tiledMemberPack[r].width,n.rect.height=i.tiledMemberPack[r].height,n.setCenter(i.tiledMemberPack[r].centerX,i.tiledMemberPack[r].centerY),n.labelMarginLeft=0,n.labelMarginTop=0,h.NODE_DIMENSIONS_INCLUDE_LABELS){var o=n.rect.width,a=n.rect.height;n.labelWidth&&("left"==n.labelPosHorizontal?(n.rect.x-=n.labelWidth,n.setWidth(o+n.labelWidth),n.labelMarginLeft=n.labelWidth):"center"==n.labelPosHorizontal&&n.labelWidth>o?(n.rect.x-=(n.labelWidth-o)/2,n.setWidth(n.labelWidth),n.labelMarginLeft=(n.labelWidth-o)/2):"right"==n.labelPosHorizontal&&n.setWidth(o+n.labelWidth)),n.labelHeight&&("top"==n.labelPosVertical?(n.rect.y-=n.labelHeight,n.setHeight(a+n.labelHeight),n.labelMarginTop=n.labelHeight):"center"==n.labelPosVertical&&n.labelHeight>a?(n.rect.y-=(n.labelHeight-a)/2,n.setHeight(n.labelHeight),n.labelMarginTop=(n.labelHeight-a)/2):"bottom"==n.labelPosVertical&&n.setHeight(a+n.labelHeight))}})},T.prototype.tileNodes=function(t,e){var i,r=this.tileNodesByFavoringDim(t,e,!0),n=this.tileNodesByFavoringDim(t,e,!1),o=this.getOrgRatio(r);return i=this.getOrgRatio(n)<o?n:r},T.prototype.getOrgRatio=function(t){var e=t.width/t.height;return e<1&&(e=1/e),e},T.prototype.calcIdealRowWidth=function(t,e){var i,r=h.TILING_PADDING_VERTICAL,n=h.TILING_PADDING_HORIZONTAL,o=t.length,a=0,s=0,l=0;t.forEach(function(t){a+=t.getWidth(),s+=t.getHeight(),t.getWidth()>l&&(l=t.getWidth())});var d=a/o,c=Math.pow(r-n,2)+4*(d+n)*(s/o+r)*o,g=(n-r+Math.sqrt(c))/(2*(d+n));e?(i=Math.ceil(g))==g&&i++:i=Math.floor(g);var u=i*(d+n)-n;return l>u&&(u=l),u+=2*n},T.prototype.tileNodesByFavoringDim=function(t,e,i){var r=h.TILING_PADDING_VERTICAL,n=h.TILING_PADDING_HORIZONTAL,o=h.TILING_COMPARE_BY,a={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:r,horizontalPadding:n,centerX:0,centerY:0};o&&(a.idealRowWidth=this.calcIdealRowWidth(t,i));var s=function(t){return t.rect.width*t.rect.height},l=function(t,e){return s(e)-s(t)};t.sort(function(t,e){var i=l;return a.idealRowWidth?(i=o)(t.id,e.id):i(t,e)});for(var d=0,c=0,g=0;g<t.length;g++){var u=t[g];d+=u.getCenterX(),c+=u.getCenterY()}a.centerX=d/t.length,a.centerY=c/t.length;for(var g=0;g<t.length;g++){var u=t[g];if(0==a.rows.length)this.insertNodeToRow(a,u,0,e);else if(this.canAddHorizontal(a,u.rect.width,u.rect.height)){var f=a.rows.length-1;!a.idealRowWidth&&(f=this.getShortestRowIndex(a)),this.insertNodeToRow(a,u,f,e)}else this.insertNodeToRow(a,u,a.rows.length,e);this.shiftToLastRow(a)}return a},T.prototype.insertNodeToRow=function(t,e,i,r){i==t.rows.length&&(t.rows.push([]),t.rowWidth.push(r),t.rowHeight.push(0));var n=t.rowWidth[i]+e.rect.width;t.rows[i].length>0&&(n+=t.horizontalPadding),t.rowWidth[i]=n,t.width<n&&(t.width=n);var o=e.rect.height;i>0&&(o+=t.verticalPadding);var a=0;o>t.rowHeight[i]&&(a=t.rowHeight[i],t.rowHeight[i]=o,a=t.rowHeight[i]-a),t.height+=a,t.rows[i].push(e)},T.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]<i&&(e=r,i=t.rowWidth[r]);return e},T.prototype.getLongestRowIndex=function(t){for(var e=-1,i=Number.MIN_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]>i&&(e=r,i=t.rowWidth[r]);return e},T.prototype.canAddHorizontal=function(t,e,i){if(t.idealRowWidth){var r,n,o=t.rows.length-1;return t.rowWidth[o]+e+t.horizontalPadding<=t.idealRowWidth}var a=this.getShortestRowIndex(t);if(a<0)return!0;var s=t.rowWidth[a];if(s+t.horizontalPadding+e<=t.width)return!0;var h=0;return t.rowHeight[a]<i&&a>0&&(h=i+t.verticalPadding-t.rowHeight[a]),r=t.width-s>=e+t.horizontalPadding?(t.height+h)/(s+e+t.horizontalPadding):(t.height+h)/t.width,h=i+t.verticalPadding,(n=t.width<e?(t.height+h)/e:(t.height+h)/t.width)<1&&(n=1/n),r<1&&(r=1/r),r<n},T.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),i=t.rowWidth.length-1,r=t.rows[e],n=r[r.length-1],o=n.width+t.horizontalPadding;if(t.width-t.rowWidth[i]>o&&e!=i){r.splice(-1,1),t.rows[i].push(n),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var a=Number.MIN_VALUE,s=0;s<r.length;s++)r[s].height>a&&(a=r[s].height);e>0&&(a+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=a,t.rowHeight[i]<n.height+t.verticalPadding&&(t.rowHeight[i]=n.height+t.verticalPadding);var l=t.rowHeight[e]+t.rowHeight[i];t.height+=l-h,this.shiftToLastRow(t)}},T.prototype.tilingPreLayout=function(){h.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},T.prototype.tilingPostLayout=function(){h.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},T.prototype.reduceTrees=function(){for(var t,e=[],i=!0;i;){var r=this.graphManager.getAllNodes(),n=[];i=!1;for(var o=0;o<r.length;o++)if(1==(t=r[o]).getEdges().length&&!t.getEdges()[0].isInterGraph&&null==t.getChild()){if(h.PURE_INCREMENTAL){var a=t.getEdges()[0].getOtherEnd(t),s=new f(t.getCenterX()-a.getCenterX(),t.getCenterY()-a.getCenterY());n.push([t,t.getEdges()[0],t.getOwner(),s])}else n.push([t,t.getEdges()[0],t.getOwner()]);i=!0}if(!0==i){for(var l=[],d=0;d<n.length;d++)1==n[d][0].getEdges().length&&(l.push(n[d]),n[d][0].getOwner().remove(n[d][0]));e.push(l),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=e},T.prototype.growTree=function(t){for(var e,i=t.length,r=t[i-1],n=0;n<r.length;n++)e=r[n],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()},T.prototype.findPlaceforPrunedNode=function(t){var e=t[0];if(r=e==t[1].source?t[1].target:t[1].source,h.PURE_INCREMENTAL)e.setCenter(r.getCenterX()+t[3].getWidth(),r.getCenterY()+t[3].getHeight());else{var i,r,n,o,a=r.startX,s=r.finishX,l=r.startY,c=r.finishY,g=[0,0,0,0];if(l>0)for(var u=a;u<=s;u++)g[0]+=this.grid[u][l-1].length+this.grid[u][l].length-1;if(s<this.grid.length-1)for(var u=l;u<=c;u++)g[1]+=this.grid[s+1][u].length+this.grid[s][u].length-1;if(c<this.grid[0].length-1)for(var u=a;u<=s;u++)g[2]+=this.grid[u][c+1].length+this.grid[u][c].length-1;if(a>0)for(var u=l;u<=c;u++)g[3]+=this.grid[a-1][u].length+this.grid[a][u].length-1;for(var f=v.MAX_VALUE,p=0;p<g.length;p++)g[p]<f?(f=g[p],n=1,o=p):g[p]==f&&n++;if(3==n&&0==f)0==g[0]&&0==g[1]&&0==g[2]?i=1:0==g[0]&&0==g[1]&&0==g[3]?i=0:0==g[0]&&0==g[2]&&0==g[3]?i=3:0==g[1]&&0==g[2]&&0==g[3]&&(i=2);else if(2==n&&0==f){var y=Math.floor(2*Math.random());i=0==g[0]&&0==g[1]?0==y?0:1:0==g[0]&&0==g[2]?0==y?0:2:0==g[0]&&0==g[3]?0==y?0:3:0==g[1]&&0==g[2]?0==y?1:2:0==g[1]&&0==g[3]?0==y?1:3:0==y?2:3}else if(4==n&&0==f){var y=Math.floor(4*Math.random());i=y}else i=o;0==i?e.setCenter(r.getCenterX(),r.getCenterY()-r.getHeight()/2-d.DEFAULT_EDGE_LENGTH-e.getHeight()/2):1==i?e.setCenter(r.getCenterX()+r.getWidth()/2+d.DEFAULT_EDGE_LENGTH+e.getWidth()/2,r.getCenterY()):2==i?e.setCenter(r.getCenterX(),r.getCenterY()+r.getHeight()/2+d.DEFAULT_EDGE_LENGTH+e.getHeight()/2):e.setCenter(r.getCenterX()-r.getWidth()/2-d.DEFAULT_EDGE_LENGTH-e.getWidth()/2,r.getCenterY())}},t.exports=T},991:(t,e,i)=>{var r=i(551).FDLayoutNode,n=i(551).IMath;function o(t,e,i,n){r.call(this,t,e,i,n)}for(var a in o.prototype=Object.create(r.prototype),r)o[a]=r[a];o.prototype.calculateDisplacement=function(){var t=this.graphManager.getLayout();null!=this.getChild()&&this.fixedNodeWeight?(this.displacementX+=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(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*n.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*n.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,r=this.getChild().getNodes(),n=0;n<r.length;n++)null==(i=r[n]).getChild()?(i.displacementX+=t,i.displacementY+=e):i.propogateDisplacementToChildren(t,e)},o.prototype.move=function(){var t=this.graphManager.getLayout();(null==this.child||0==this.child.getNodes().length)&&(this.moveBy(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},o.prototype.setPred1=function(t){this.pred1=t},o.prototype.getPred1=function(){return pred1},o.prototype.getPred2=function(){return pred2},o.prototype.setNext=function(t){this.next=t},o.prototype.getNext=function(){return next},o.prototype.setProcessed=function(t){this.processed=t},o.prototype.isProcessed=function(){return processed},t.exports=o},902:(t,e,i)=>{function r(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}var n=i(806),o=i(551).LinkedList,a=i(551).Matrix,s=i(551).SVD;function h(){}h.handleConstraints=function(t){var e={};e.fixedNodeConstraint=t.constraints.fixedNodeConstraint,e.alignmentConstraint=t.constraints.alignmentConstraint,e.relativePlacementConstraint=t.constraints.relativePlacementConstraint;for(var i=new Map,h=new Map,l=[],d=[],c=t.getAllNodes(),g=0,u=0;u<c.length;u++){var f=c[u];null==f.getChild()&&(h.set(f.id,g++),l.push(f.getCenterX()),d.push(f.getCenterY()),i.set(f.id,f))}e.relativePlacementConstraint&&e.relativePlacementConstraint.forEach(function(t){!t.gap&&0!=t.gap&&(t.left?t.gap=n.DEFAULT_EDGE_LENGTH+i.get(t.left).getWidth()/2+i.get(t.right).getWidth()/2:t.gap=n.DEFAULT_EDGE_LENGTH+i.get(t.top).getHeight()/2+i.get(t.bottom).getHeight()/2)});var p=function(t){var e=0,i=0;return t.forEach(function(t){e+=l[h.get(t)],i+=d[h.get(t)]}),{x:e/t.size,y:i/t.size}},v=function(t,e,i,n,a){var s=new Map;t.forEach(function(t,e){s.set(e,0)}),t.forEach(function(t,e){t.forEach(function(t){s.set(t.id,s.get(t.id)+1)})});var c=new Map,g=new Map,u=new o;s.forEach(function(t,r){0==t?(u.push(r),!i&&("horizontal"==e?c.set(r,h.has(r)?l[h.get(r)]:n.get(r)):c.set(r,h.has(r)?d[h.get(r)]:n.get(r)))):c.set(r,Number.NEGATIVE_INFINITY),i&&g.set(r,new Set([r]))}),i&&a.forEach(function(t){var r=[];if(t.forEach(function(t){i.has(t)&&r.push(t)}),r.length>0){var o=0;r.forEach(function(t){"horizontal"==e?c.set(t,h.has(t)?l[h.get(t)]:n.get(t)):c.set(t,h.has(t)?d[h.get(t)]:n.get(t)),o+=c.get(t)}),o/=r.length,t.forEach(function(t){!i.has(t)&&c.set(t,o)})}else{var a=0;t.forEach(function(t){"horizontal"==e?a+=h.has(t)?l[h.get(t)]:n.get(t):a+=h.has(t)?d[h.get(t)]:n.get(t)}),a/=t.length,t.forEach(function(t){c.set(t,a)})}});for(;0!=u.length;)!function(){var r=u.shift();t.get(r).forEach(function(t){if(c.get(t.id)<c.get(r)+t.gap){if(i&&i.has(t.id)){var o=void 0;if(o="horizontal"==e?h.has(t.id)?l[h.get(t.id)]:n.get(t.id):h.has(t.id)?d[h.get(t.id)]:n.get(t.id),c.set(t.id,o),o<c.get(r)+t.gap){var a=c.get(r)+t.gap-o;g.get(r).forEach(function(t){c.set(t,c.get(t)-a)})}}else c.set(t.id,c.get(r)+t.gap)}s.set(t.id,s.get(t.id)-1),0==s.get(t.id)&&u.push(t.id),i&&g.set(t.id,function(t,e){var i=new Set(t),r=!0,n=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var h=a.value;i.add(h)}}catch(t){n=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(n)throw o}}return i}(g.get(r),g.get(t.id)))})}();if(i){var f=new Set;t.forEach(function(t,e){0==t.length&&f.add(e)});var p=[];g.forEach(function(t,e){if(f.has(e)){var n=!1,o=!0,a=!1,s=void 0;try{for(var h,l=t[Symbol.iterator]();!(o=(h=l.next()).done);o=!0){var d=h.value;i.has(d)&&(n=!0)}}catch(t){a=!0,s=t}finally{try{!o&&l.return&&l.return()}finally{if(a)throw s}}if(!n){var c=!1,g=void 0;p.forEach(function(e,i){e.has([].concat(r(t))[0])&&(c=!0,g=i)}),c?t.forEach(function(t){p[g].add(t)}):p.push(new Set(t))}}}),p.forEach(function(t,i){var r=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,g=!0,u=!1,f=void 0;try{for(var p,v=t[Symbol.iterator]();!(g=(p=v.next()).done);g=!0){var y=p.value,m=void 0;m="horizontal"==e?h.has(y)?l[h.get(y)]:n.get(y):h.has(y)?d[h.get(y)]:n.get(y);var E=c.get(y);m<r&&(r=m),m>a&&(a=m),E<o&&(o=E),E>s&&(s=E)}}catch(t){u=!0,f=t}finally{try{!g&&v.return&&v.return()}finally{if(u)throw f}}var N=(r+a)/2-(o+s)/2,T=!0,A=!1,L=void 0;try{for(var w,_=t[Symbol.iterator]();!(T=(w=_.next()).done);T=!0){var I=w.value;c.set(I,c.get(I)+N)}}catch(t){A=!0,L=t}finally{try{!T&&_.return&&_.return()}finally{if(A)throw L}}})}return c},y=function(t){var e=0,i=0,r=0,n=0;if(t.forEach(function(t){t.left?l[h.get(t.left)]-l[h.get(t.right)]>=0?e++:i++:d[h.get(t.top)]-d[h.get(t.bottom)]>=0?r++:n++}),e>i&&r>n)for(var o=0;o<h.size;o++)l[o]=-1*l[o],d[o]=-1*d[o];else if(e>i)for(var a=0;a<h.size;a++)l[a]=-1*l[a];else if(r>n)for(var s=0;s<h.size;s++)d[s]=-1*d[s]},m=function(t){var e=[],i=new o,r=new Set,n=0;return t.forEach(function(o,a){if(!r.has(a)){e[n]=[];var s=a;for(i.push(s),r.add(s),e[n].push(s);0!=i.length;)s=i.shift(),t.get(s).forEach(function(t){!r.has(t.id)&&(i.push(t.id),r.add(t.id),e[n].push(t.id))});n++}}),e},E=function(t){var e=new Map;return t.forEach(function(t,i){e.set(i,[])}),t.forEach(function(t,i){t.forEach(function(t){e.get(i).push(t),e.get(t.id).push({id:i,gap:t.gap,direction:t.direction})})}),e},N=function(t){var e=new Map;return t.forEach(function(t,i){e.set(i,[])}),t.forEach(function(t,i){t.forEach(function(t){e.get(t.id).push({id:i,gap:t.gap,direction:t.direction})})}),e},T=[],A=[],L=!1,w=!1,_=new Set,I=new Map,C=new Map,M=[];if(e.fixedNodeConstraint&&e.fixedNodeConstraint.forEach(function(t){_.add(t.nodeId)}),e.relativePlacementConstraint&&(e.relativePlacementConstraint.forEach(function(t){t.left?(I.has(t.left)?I.get(t.left).push({id:t.right,gap:t.gap,direction:"horizontal"}):I.set(t.left,[{id:t.right,gap:t.gap,direction:"horizontal"}]),!I.has(t.right)&&I.set(t.right,[])):(I.has(t.top)?I.get(t.top).push({id:t.bottom,gap:t.gap,direction:"vertical"}):I.set(t.top,[{id:t.bottom,gap:t.gap,direction:"vertical"}]),!I.has(t.bottom)&&I.set(t.bottom,[]))}),M=m(C=E(I))),n.TRANSFORM_ON_CONSTRAINT_HANDLING){if(e.fixedNodeConstraint&&e.fixedNodeConstraint.length>1)e.fixedNodeConstraint.forEach(function(t,e){T[e]=[t.position.x,t.position.y],A[e]=[l[h.get(t.nodeId)],d[h.get(t.nodeId)]]}),L=!0;else if(e.alignmentConstraint)!function(){var t=0;if(e.alignmentConstraint.vertical){for(var i=e.alignmentConstraint.vertical,n=0;n<i.length;n++)!function(e){var n=new Set;i[e].forEach(function(t){n.add(t)});var o=new Set([].concat(r(n)).filter(function(t){return _.has(t)})),a=void 0;a=o.size>0?l[h.get(o.values().next().value)]:p(n).x,i[e].forEach(function(e){T[t]=[a,d[h.get(e)]],A[t]=[l[h.get(e)],d[h.get(e)]],t++})}(n);L=!0}if(e.alignmentConstraint.horizontal){for(var o=e.alignmentConstraint.horizontal,a=0;a<o.length;a++)!function(e){var i=new Set;o[e].forEach(function(t){i.add(t)});var n=new Set([].concat(r(i)).filter(function(t){return _.has(t)})),a=void 0;a=n.size>0?l[h.get(n.values().next().value)]:p(i).y,o[e].forEach(function(e){T[t]=[l[h.get(e)],a],A[t]=[l[h.get(e)],d[h.get(e)]],t++})}(a);L=!0}e.relativePlacementConstraint&&(w=!0)}();else if(e.relativePlacementConstraint){for(var x=0,O=0,D=0;D<M.length;D++)M[D].length>x&&(x=M[D].length,O=D);if(x<C.size/2)y(e.relativePlacementConstraint),L=!1,w=!1;else{var R=new Map,b=new Map,G=[];M[O].forEach(function(t){I.get(t).forEach(function(e){"horizontal"==e.direction?(R.has(t)?R.get(t).push(e):R.set(t,[e]),!R.has(e.id)&&R.set(e.id,[]),G.push({left:t,right:e.id})):(b.has(t)?b.get(t).push(e):b.set(t,[e]),!b.has(e.id)&&b.set(e.id,[]),G.push({top:t,bottom:e.id}))})}),y(G),w=!1;var F=v(R,"horizontal"),S=v(b,"vertical");M[O].forEach(function(t,e){A[e]=[l[h.get(t)],d[h.get(t)]],T[e]=[],F.has(t)?T[e][0]=F.get(t):T[e][0]=l[h.get(t)],S.has(t)?T[e][1]=S.get(t):T[e][1]=d[h.get(t)]}),L=!0}}if(L){for(var P=void 0,U=a.transpose(T),Y=a.transpose(A),k=0;k<U.length;k++)U[k]=a.multGamma(U[k]),Y[k]=a.multGamma(Y[k]);var H=a.multMat(U,a.transpose(Y)),X=s.svd(H);P=a.multMat(X.V,a.transpose(X.U));for(var W=0;W<h.size;W++){var z=[l[W],d[W]],V=[P[0][0],P[1][0]],B=[P[0][1],P[1][1]];l[W]=a.dotProduct(z,V),d[W]=a.dotProduct(z,B)}w&&y(e.relativePlacementConstraint)}}if(n.ENFORCE_CONSTRAINTS){if(e.fixedNodeConstraint&&e.fixedNodeConstraint.length>0){var j={x:0,y:0};e.fixedNodeConstraint.forEach(function(t,e){var i,r,n={x:l[h.get(t.nodeId)],y:d[h.get(t.nodeId)]};var o=(i=t.position,r=n,{x:i.x-r.x,y:i.y-r.y});j.x+=o.x,j.y+=o.y}),j.x/=e.fixedNodeConstraint.length,j.y/=e.fixedNodeConstraint.length,l.forEach(function(t,e){l[e]+=j.x}),d.forEach(function(t,e){d[e]+=j.y}),e.fixedNodeConstraint.forEach(function(t){l[h.get(t.nodeId)]=t.position.x,d[h.get(t.nodeId)]=t.position.y})}if(e.alignmentConstraint){if(e.alignmentConstraint.vertical){for(var q=e.alignmentConstraint.vertical,$=0;$<q.length;$++)!function(t){var e=new Set;q[t].forEach(function(t){e.add(t)});var i=new Set([].concat(r(e)).filter(function(t){return _.has(t)})),n=void 0;n=i.size>0?l[h.get(i.values().next().value)]:p(e).x,e.forEach(function(t){!_.has(t)&&(l[h.get(t)]=n)})}($)}if(e.alignmentConstraint.horizontal){for(var Z=e.alignmentConstraint.horizontal,Q=0;Q<Z.length;Q++)!function(t){var e=new Set;Z[t].forEach(function(t){e.add(t)});var i=new Set([].concat(r(e)).filter(function(t){return _.has(t)})),n=void 0;n=i.size>0?d[h.get(i.values().next().value)]:p(e).y,e.forEach(function(t){!_.has(t)&&(d[h.get(t)]=n)})}(Q)}}e.relativePlacementConstraint&&!function(){var t=new Map,i=new Map,r=new Map,n=new Map,o=new Map,a=new Map,s=new Set,c=new Set;if(_.forEach(function(t){s.add(t),c.add(t)}),e.alignmentConstraint){if(e.alignmentConstraint.vertical){for(var g=e.alignmentConstraint.vertical,u=function(e){r.set("dummy"+e,[]),g[e].forEach(function(i){t.set(i,"dummy"+e),r.get("dummy"+e).push(i),_.has(i)&&s.add("dummy"+e)}),o.set("dummy"+e,l[h.get(g[e][0])])},f=0;f<g.length;f++)u(f)}if(e.alignmentConstraint.horizontal){for(var p=e.alignmentConstraint.horizontal,y=function(t){n.set("dummy"+t,[]),p[t].forEach(function(e){i.set(e,"dummy"+t),n.get("dummy"+t).push(e),_.has(e)&&c.add("dummy"+t)}),a.set("dummy"+t,d[h.get(p[t][0])])},T=0;T<p.length;T++)y(T)}}var A=new Map,L=new Map,w=function(e){I.get(e).forEach(function(r){var n=void 0,o=void 0;"horizontal"==r.direction?(n=t.get(e)?t.get(e):e,o=t.get(r.id)?{id:t.get(r.id),gap:r.gap,direction:r.direction}:r,A.has(n)?A.get(n).push(o):A.set(n,[o]),!A.has(o.id)&&A.set(o.id,[])):(n=i.get(e)?i.get(e):e,o=i.get(r.id)?{id:i.get(r.id),gap:r.gap,direction:r.direction}:r,L.has(n)?L.get(n).push(o):L.set(n,[o]),!L.has(o.id)&&L.set(o.id,[]))})},C=!0,M=!1,x=void 0;try{for(var O,D=I.keys()[Symbol.iterator]();!(C=(O=D.next()).done);C=!0){var R=O.value;w(R)}}catch(t){M=!0,x=t}finally{try{!C&&D.return&&D.return()}finally{if(M)throw x}}var b=E(A),G=E(L),F=m(b),S=m(G),P=N(A),U=N(L),Y=[],k=[];F.forEach(function(t,e){Y[e]=[],t.forEach(function(t){0==P.get(t).length&&Y[e].push(t)})}),S.forEach(function(t,e){k[e]=[],t.forEach(function(t){0==U.get(t).length&&k[e].push(t)})});var H=v(A,"horizontal",s,o,Y),X=v(L,"vertical",c,a,k),W=function(t){r.get(t)?r.get(t).forEach(function(e){l[h.get(e)]=H.get(t)}):l[h.get(t)]=H.get(t)},z=!0,V=!1,B=void 0;try{for(var j,q=H.keys()[Symbol.iterator]();!(z=(j=q.next()).done);z=!0){var $=j.value;W($)}}catch(t){V=!0,B=t}finally{try{!z&&q.return&&q.return()}finally{if(V)throw B}}var Z=function(t){n.get(t)?n.get(t).forEach(function(e){d[h.get(e)]=X.get(t)}):d[h.get(t)]=X.get(t)},Q=!0,J=!1,K=void 0;try{for(var tt,te=X.keys()[Symbol.iterator]();!(Q=(tt=te.next()).done);Q=!0){var $=tt.value;Z($)}}catch(t){J=!0,K=t}finally{try{!Q&&te.return&&te.return()}finally{if(J)throw K}}}()}for(var J=0;J<c.length;J++){var K=c[J];null==K.getChild()&&K.setCenter(l[h.get(K.id)],d[h.get(K.id)])}},t.exports=h},551:e=>{e.exports=t}},i={},function t(r){var n=i[r];if(void 0!==n)return n.exports;var o=i[r]={exports:{}};return e[r](o,o.exports,t),o.exports}(45)},t.exports=n(i(13035))},13035:function(t){var e,i;e=0,i=function(){return function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){!i.o(t,e)&&Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28)}([function(t,e,i){"use strict";function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(8),o=i(9);function a(t,e,i){r.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var s in a.prototype=Object.create(r.prototype),r)a[s]=r[s];a.prototype.getSource=function(){return this.source},a.prototype.getTarget=function(){return this.target},a.prototype.isInterGraph=function(){return this.isInterGraph},a.prototype.getLength=function(){return this.length},a.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},a.prototype.getBendpoints=function(){return this.bendpoints},a.prototype.getLca=function(){return this.lca},a.prototype.getSourceInLca=function(){return this.sourceInLca},a.prototype.getTargetInLca=function(){return this.targetInLca},a.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"},a.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),r=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==r)break;i=i.getOwner().getParent()}return null},a.prototype.updateLength=function(){var t=[,,,,];this.isOverlapingSourceAndTarget=n.getIntersection(this.target.getRect(),this.source.getRect(),t),!this.isOverlapingSourceAndTarget&&(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},a.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=a},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(13),a=i(0),s=i(16),h=i(5);function l(t,e,i,a){null==i&&null==a&&(a=e),r.call(this,a),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=n.MIN_VALUE,this.inclusionTreeDepth=n.MAX_VALUE,this.vGraphObject=a,this.edges=[],this.graphManager=t,null!=i&&null!=e?this.rect=new o(e.x,e.y,i.width,i.height):this.rect=new o}for(var d in l.prototype=Object.create(r.prototype),r)l[d]=r[d];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.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},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(r.target==t){if(r.source!=i)throw"Incorrect edge source!";e.push(r)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(!(r.source==i||r.target==i))throw"Incorrect edge source and/or target";(r.target==t||r.source==t)&&e.push(r)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child){for(var e=this.child.getNodes(),i=0;i<e.length;i++)e[i].withChildren().forEach(function(e){t.add(e)})}return t},l.prototype.getNoOfChildren=function(){var t=0;if(null==this.child)t=1;else{for(var e=this.child.getNodes(),i=0;i<e.length;i++)t+=e[i].getNoOfChildren()}return 0==t&&(t=1),t},l.prototype.getEstimatedSize=function(){if(this.estimatedSize==n.MIN_VALUE)throw"assert failed";return this.estimatedSize},l.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)},l.prototype.scatter=function(){var t,e,i=-a.INITIAL_WORLD_BOUNDARY,r=a.INITIAL_WORLD_BOUNDARY;t=a.WORLD_CENTER_X+s.nextDouble()*(r-i)+i;var n=-a.INITIAL_WORLD_BOUNDARY,o=a.INITIAL_WORLD_BOUNDARY;e=a.WORLD_CENTER_Y+s.nextDouble()*(o-n)+n,this.rect.x=t,this.rect.y=e},l.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()),a.NODE_DIMENSIONS_INCLUDE_LABELS){var e=t.getRight()-t.getLeft(),i=t.getBottom()-t.getTop();this.labelWidth&&("left"==this.labelPosHorizontal?(this.rect.x-=this.labelWidth,this.setWidth(e+this.labelWidth)):"center"==this.labelPosHorizontal&&this.labelWidth>e?(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)):"right"==this.labelPosHorizontal&&this.setWidth(e+this.labelWidth)),this.labelHeight&&("top"==this.labelPosVertical?(this.rect.y-=this.labelHeight,this.setHeight(i+this.labelHeight)):"center"==this.labelPosVertical&&this.labelHeight>i?(this.rect.y-=(this.labelHeight-i)/2,this.setHeight(this.labelHeight)):"bottom"==this.labelPosVertical&&this.setHeight(i+this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==n.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>a.WORLD_BOUNDARY?e=a.WORLD_BOUNDARY:e<-a.WORLD_BOUNDARY&&(e=-a.WORLD_BOUNDARY);var i=this.rect.y;i>a.WORLD_BOUNDARY?i=a.WORLD_BOUNDARY:i<-a.WORLD_BOUNDARY&&(i=-a.WORLD_BOUNDARY);var r=new h(e,i),n=t.inverseTransformPoint(r);this.setLocation(n.x,n.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";var r=i(0);function n(){}for(var o in r)n[o]=r[o];n.MAX_ITERATIONS=2500,n.DEFAULT_EDGE_LENGTH=50,n.DEFAULT_SPRING_STRENGTH=.45,n.DEFAULT_REPULSION_STRENGTH=4500,n.DEFAULT_GRAVITY_STRENGTH=.4,n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,n.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,n.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,n.COOLING_ADAPTATION_FACTOR=.33,n.ADAPTATION_LOWER_NODE_LIMIT=1e3,n.ADAPTATION_UPPER_NODE_LIMIT=5e3,n.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,n.MAX_NODE_DISPLACEMENT=3*n.MAX_NODE_DISPLACEMENT_INCREMENTAL,n.MIN_REPULSION_DIST=n.DEFAULT_EDGE_LENGTH/10,n.CONVERGENCE_CHECK_PERIOD=100,n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,n.MIN_EDGE_LENGTH=1,n.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=n},function(t,e,i){"use strict";function r(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(0),a=i(7),s=i(3),h=i(1),l=i(13),d=i(12),c=i(11);function g(t,e,i){r.call(this,i),this.estimatedSize=n.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof a?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var u in g.prototype=Object.create(r.prototype),r)g[u]=r[u];g.prototype.getNodes=function(){return this.nodes},g.prototype.getEdges=function(){return this.edges},g.prototype.getGraphManager=function(){return this.graphManager},g.prototype.getParent=function(){return this.parent},g.prototype.getLeft=function(){return this.left},g.prototype.getRight=function(){return this.right},g.prototype.getTop=function(){return this.top},g.prototype.getBottom=function(){return this.bottom},g.prototype.isConnected=function(){return this.isConnected},g.prototype.add=function(t,e,i){if(null==e&&null==i){if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(t)>-1)throw"Node already in graph!";return t.owner=this,this.getNodes().push(t),t}if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(!(e.owner==i.owner&&e.owner==this))throw"Both owners must be this graph!";return e.owner!=i.owner?null:(t.source=e,t.target=i,t.isInterGraph=!1,this.getEdges().push(t),e.edges.push(t),i!=e&&i.edges.push(t),t)},g.prototype.remove=function(t){if(t instanceof s){if(null==t)throw"Node is null!";if(!(null!=t.owner&&t.owner==this))throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var e,i=t.edges.slice(),r=i.length,n=0;n<r;n++)(e=i[n]).isInterGraph?this.graphManager.remove(e):e.source.owner.remove(e);var o=this.nodes.indexOf(t);if(-1==o)throw"Node not in owner node list!";this.nodes.splice(o,1)}else if(t instanceof h){var e=t;if(null==e)throw"Edge is null!";if(!(null!=e.source&&null!=e.target))throw"Source and/or target is null!";if(!(null!=e.source.owner&&null!=e.target.owner&&e.source.owner==this&&e.target.owner==this))throw"Source and/or target owner is invalid!";var a=e.source.edges.indexOf(e),l=e.target.edges.indexOf(e);if(!(a>-1&&l>-1))throw"Source and/or target doesn't know this edge!";e.source.edges.splice(a,1),e.target!=e.source&&e.target.edges.splice(l,1);var o=e.source.owner.getEdges().indexOf(e);if(-1==o)throw"Not in owner's edge list!";e.source.owner.getEdges().splice(o,1)}},g.prototype.updateLeftTop=function(){for(var t,e,i,r=n.MAX_VALUE,o=n.MAX_VALUE,a=this.getNodes(),s=a.length,h=0;h<s;h++){var l=a[h];t=l.getTop(),e=l.getLeft(),r>t&&(r=t),o>e&&(o=e)}return r==n.MAX_VALUE?null:(i=void 0!=a[0].getParent().paddingLeft?a[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=r-i,new d(this.left,this.top))},g.prototype.updateBounds=function(t){for(var e,i,r,o,a,s=n.MAX_VALUE,h=-n.MAX_VALUE,d=n.MAX_VALUE,c=-n.MAX_VALUE,g=this.nodes,u=g.length,f=0;f<u;f++){var p=g[f];t&&null!=p.child&&p.updateBounds(),e=p.getLeft(),i=p.getRight(),r=p.getTop(),o=p.getBottom(),s>e&&(s=e),h<i&&(h=i),d>r&&(d=r),c<o&&(c=o)}var v=new l(s,d,h-s,c-d);s==n.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),a=void 0!=g[0].getParent().paddingLeft?g[0].getParent().paddingLeft:this.margin,this.left=v.x-a,this.right=v.x+v.width+a,this.top=v.y-a,this.bottom=v.y+v.height+a},g.calculateBounds=function(t){for(var e,i,r,o,a=n.MAX_VALUE,s=-n.MAX_VALUE,h=n.MAX_VALUE,d=-n.MAX_VALUE,c=t.length,g=0;g<c;g++){var u=t[g];e=u.getLeft(),i=u.getRight(),r=u.getTop(),o=u.getBottom(),a>e&&(a=e),s<i&&(s=i),h>r&&(h=r),d<o&&(d=o)}return new l(a,h,s-a,d-h)},g.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},g.prototype.getEstimatedSize=function(){if(this.estimatedSize==n.MIN_VALUE)throw"assert failed";return this.estimatedSize},g.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,i=e.length,r=0;r<i;r++)t+=e[r].calcEstimatedSize();return 0==t?this.estimatedSize=o.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=t/Math.sqrt(this.nodes.length),this.estimatedSize},g.prototype.updateConnected=function(){var t,e,i=this;if(0==this.nodes.length){this.isConnected=!0;return}var r=new c,n=new Set,o=this.nodes[0];for(o.withChildren().forEach(function(t){r.push(t),n.add(t)});0!==r.length;){for(var a=(t=(o=r.shift()).getEdges()).length,s=0;s<a;s++)null!=(e=t[s].getOtherEndInGraph(o,this))&&!n.has(e)&&e.withChildren().forEach(function(t){r.push(t),n.add(t)})}if(this.isConnected=!1,n.size>=this.nodes.length){var h=0;n.forEach(function(t){t.owner==i&&h++}),h==this.nodes.length&&(this.isConnected=!0)}},t.exports=g},function(t,e,i){"use strict";var r,n=i(1);function o(t){r=i(6),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,r,n){if(null==i&&null==r&&null==n){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}n=i,r=e,i=t;var o=r.getOwner(),a=n.getOwner();if(!(null!=o&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(null!=a&&a.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==a)return i.isInterGraph=!1,o.add(i,r,n);if(i.isInterGraph=!0,i.source=r,i.target=n,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),!(null!=i.source&&null!=i.target))throw"Edge source and/or target is null!";if(!(-1==i.source.edges.indexOf(i)&&-1==i.target.edges.indexOf(i)))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof r){if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||null!=t.parent&&t.parent.graphManager==this))throw"Invalid parent node!";for(var e,i,o=[],a=(o=o.concat(t.getEdges())).length,s=0;s<a;s++)e=o[s],t.remove(e);var h=[];a=(h=h.concat(t.getNodes())).length;for(var s=0;s<a;s++)i=h[s],t.remove(i);t==this.rootGraph&&this.setRootGraph(null);var l=this.graphs.indexOf(t);this.graphs.splice(l,1),t.parent=null}else if(t instanceof n){if(null==(e=t))throw"Edge is null!";if(!e.isInterGraph)throw"Not an inter-graph edge!";if(!(null!=e.source&&null!=e.target))throw"Source and/or target is null!";if(!(-1!=e.source.edges.indexOf(e)&&-1!=e.target.edges.indexOf(e)))throw"Source and/or target doesn't know this edge!";var l=e.source.edges.indexOf(e);if(e.source.edges.splice(l,1),l=e.target.edges.indexOf(e),e.target.edges.splice(l,1),!(null!=e.source.owner&&null!=e.source.owner.getGraphManager()))throw"Edge owner graph or owner graph manager is null!";if(-1==e.source.owner.getGraphManager().edges.indexOf(e))throw"Not in owner graph manager's edge list!";var l=e.source.owner.getGraphManager().edges.indexOf(e);e.source.owner.getGraphManager().edges.splice(l,1)}},o.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},o.prototype.getGraphs=function(){return this.graphs},o.prototype.getAllNodes=function(){if(null==this.allNodes){for(var t=[],e=this.getGraphs(),i=e.length,r=0;r<i;r++)t=t.concat(e[r].getNodes());this.allNodes=t}return this.allNodes},o.prototype.resetAllNodes=function(){this.allNodes=null},o.prototype.resetAllEdges=function(){this.allEdges=null},o.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},o.prototype.getAllEdges=function(){if(null==this.allEdges){var t=[],e=this.getGraphs();e.length;for(var i=0;i<e.length;i++)t=t.concat(e[i].getEdges());t=t.concat(this.edges),this.allEdges=t}return this.allEdges},o.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},o.prototype.setAllNodesToApplyGravitation=function(t){if(null!=this.allNodesToApplyGravitation)throw"assert failed";this.allNodesToApplyGravitation=t},o.prototype.getRoot=function(){return this.rootGraph},o.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"))},o.prototype.getLayout=function(){return this.layout},o.prototype.isOneAncestorOfOther=function(t,e){if(!(null!=t&&null!=e))throw"assert failed";if(t==e)return!0;for(var i,r=t.getOwner();null!=(i=r.getParent());){;if(i==e)return!0;if(null==(r=i.getOwner()))break}for(r=e.getOwner();null!=(i=r.getParent());){;if(i==t)return!0;if(null==(r=i.getOwner()))break}return!1},o.prototype.calcLowestCommonAncestors=function(){for(var t,e,i,r,n,o=this.getAllEdges(),a=o.length,s=0;s<a;s++){if(e=(t=o[s]).source,i=t.target,t.lca=null,t.sourceInLca=e,t.targetInLca=i,e==i){t.lca=e.getOwner();continue}for(r=e.getOwner();null==t.lca;){for(t.targetInLca=i,n=i.getOwner();null==t.lca;){if(n==r){t.lca=n;break}if(n==this.rootGraph)break;if(null!=t.lca)throw"assert failed";t.targetInLca=n.getParent(),n=t.targetInLca.getOwner()}if(r==this.rootGraph)break;null==t.lca&&(t.sourceInLca=r.getParent(),r=t.sourceInLca.getOwner())}if(null==t.lca)throw"assert failed"}},o.prototype.calcLowestCommonAncestor=function(t,e){if(t==e)return t.getOwner();for(var i=t.getOwner();null!=i;){;for(var r=e.getOwner();null!=r;){;if(r==i)return r;r=r.getParent().getOwner()}i=i.getParent().getOwner()}return i},o.prototype.calcInclusionTreeDepths=function(t,e){null==t&&null==e&&(t=this.rootGraph,e=1);for(var i,r=t.getNodes(),n=r.length,o=0;o<n;o++)(i=r[o]).inclusionTreeDepth=e,null!=i.child&&this.calcInclusionTreeDepths(i.child,e+1)},o.prototype.includesInvalidEdge=function(){for(var t,e=[],i=this.edges.length,r=0;r<i;r++)t=this.edges[r],this.isOneAncestorOfOther(t.source,t.target)&&e.push(t);for(var r=0;r<e.length;r++)this.remove(e[r]);return!1},t.exports=o},function(t,e,i){"use strict";var r=i(12);function n(){}n.calcSeparationAmount=function(t,e,i,r){if(!t.intersects(e))throw"assert failed";var n=[,,];this.decideDirectionsForOverlappingNodes(t,e,n),i[0]=Math.min(t.getRight(),e.getRight())-Math.max(t.x,e.x),i[1]=Math.min(t.getBottom(),e.getBottom())-Math.max(t.y,e.y),t.getX()<=e.getX()&&t.getRight()>=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var a=o*i[0],s=i[1]/o;i[0]<s?s=i[0]:a=i[1],i[0]=-1*n[0]*(s/2+r),i[1]=-1*n[1]*(a/2+r)},n.decideDirectionsForOverlappingNodes=function(t,e,i){t.getCenterX()<e.getCenterX()?i[0]=-1:i[0]=1,t.getCenterY()<e.getCenterY()?i[1]=-1:i[1]=1},n.getIntersection2=function(t,e,i){var r=t.getCenterX(),n=t.getCenterY(),o=e.getCenterX(),a=e.getCenterY();if(t.intersects(e))return i[0]=r,i[1]=n,i[2]=o,i[3]=a,!0;var s=t.getX(),h=t.getY(),l=t.getRight(),d=t.getX(),c=t.getBottom(),g=t.getRight(),u=t.getWidthHalf(),f=t.getHeightHalf(),p=e.getX(),v=e.getY(),y=e.getRight(),m=e.getX(),E=e.getBottom(),N=e.getRight(),T=e.getWidthHalf(),A=e.getHeightHalf(),L=!1,w=!1;if(r===o)n>a?(i[0]=r,i[1]=h,i[2]=o,i[3]=E):n<a&&(i[0]=r,i[1]=c,i[2]=o,i[3]=v);else if(n===a)r>o?(i[0]=s,i[1]=n,i[2]=y,i[3]=a):r<o&&(i[0]=l,i[1]=n,i[2]=p,i[3]=a);else{var _=t.height/t.width,I=e.height/e.width,C=(a-n)/(o-r),M=void 0,x=void 0,O=void 0,D=void 0,R=void 0,b=void 0;if(-_===C?(r>o?(i[0]=d,i[1]=c):(i[0]=l,i[1]=h),L=!0):_===C&&(r>o?(i[0]=s,i[1]=h):(i[0]=g,i[1]=c),L=!0),-I===C?(o>r?(i[2]=m,i[3]=E):(i[2]=y,i[3]=v),w=!0):I===C&&(o>r?(i[2]=p,i[3]=v):(i[2]=N,i[3]=E),w=!0),L&&w)return!1;if(r>o?n>a?(M=this.getCardinalDirection(_,C,4),x=this.getCardinalDirection(I,C,2)):(M=this.getCardinalDirection(-_,C,3),x=this.getCardinalDirection(-I,C,1)):n>a?(M=this.getCardinalDirection(-_,C,1),x=this.getCardinalDirection(-I,C,3)):(M=this.getCardinalDirection(_,C,2),x=this.getCardinalDirection(I,C,4)),!L)switch(M){case 1:D=h,O=r+-f/C,i[0]=O,i[1]=D;break;case 2:O=g,D=n+u*C,i[0]=O,i[1]=D;break;case 3:D=c,O=r+f/C,i[0]=O,i[1]=D;break;case 4:O=d,D=n+-u*C,i[0]=O,i[1]=D}if(!w)switch(x){case 1:b=v,R=o+-A/C,i[2]=R,i[3]=b;break;case 2:R=N,b=a+T*C,i[2]=R,i[3]=b;break;case 3:b=E,R=o+A/C,i[2]=R,i[3]=b;break;case 4:R=m,b=a+-T*C,i[2]=R,i[3]=b}}return!1},n.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},n.getIntersection=function(t,e,i,n){if(null==n)return this.getIntersection2(t,e,i);var o=t.x,a=t.y,s=e.x,h=e.y,l=i.x,d=i.y,c=n.x,g=n.y,u=void 0,f=void 0,p=void 0,v=void 0,y=void 0,m=void 0,E=void 0,N=void 0,T=void 0;return(p=h-a,y=o-s,E=s*a-o*h,v=g-d,m=l-c,N=c*d-l*g,0==(T=p*m-v*y))?null:new r(u=(y*N-m*E)/T,f=(v*E-p*N)/T)},n.angleOfVector=function(t,e,i,r){var n=void 0;return t!==i?(n=Math.atan((r-e)/(i-t)),i<t?n+=Math.PI:r<e&&(n+=this.TWO_PI)):n=r<e?this.ONE_AND_HALF_PI:this.HALF_PI,n},n.doIntersect=function(t,e,i,r){var n=t.x,o=t.y,a=e.x,s=e.y,h=i.x,l=i.y,d=r.x,c=r.y,g=(a-n)*(c-l)-(d-h)*(s-o);if(0===g)return!1;var u=((c-l)*(d-n)+(h-d)*(c-o))/g,f=((o-s)*(d-n)+(a-n)*(c-o))/g;return 0<u&&u<1&&0<f&&f<1},n.findCircleLineIntersections=function(t,e,i,r,n,o,a){var s=(i-t)*(i-t)+(r-e)*(r-e),h=2*((t-n)*(i-t)+(e-o)*(r-e)),l=(t-n)*(t-n)+(e-o)*(e-o)-a*a;if(!(h*h-4*s*l>=0))return null;var d=(-h+Math.sqrt(h*h-4*s*l))/(2*s),c=(-h-Math.sqrt(h*h-4*s*l))/(2*s);return d>=0&&d<=1?[d]:c>=0&&c<=1?[c]:null},n.HALF_PI=.5*Math.PI,n.ONE_AND_HALF_PI=1.5*Math.PI,n.TWO_PI=2*Math.PI,n.THREE_PI=3*Math.PI,t.exports=n},function(t,e,i){"use strict";function r(){}r.sign=function(t){return t>0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=r},function(t,e,i){"use strict";function r(){}r.MAX_VALUE=0x7fffffff,r.MIN_VALUE=-0x80000000,t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=function(t){return{value:t,next:null,prev:null}},o=function(t,e,i,r){return null!==t?t.next=e:r.head=e,null!==i?i.prev=e:r.tail=e,e.prev=t,e.next=i,r.length++,e},a=function(t,e){var i=t.prev,r=t.next;return null!==i?i.next=r:e.head=r,null!==r?r.prev=i:e.tail=i,t.prev=t.next=null,e.length--,t},s=function(){function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.length=0,this.head=null,this.tail=null,null!=e&&e.forEach(function(t){return i.push(t)})}return r(t,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,e){return o(e.prev,n(t),e,this)}},{key:"insertAfter",value:function(t,e){return o(e,n(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,n(t),null,this)}},{key:"unshift",value:function(t){return o(null,n(t),this.head,this)}},{key:"remove",value:function(t){return a(t,this)}},{key:"pop",value:function(){return a(this.tail,this).value}},{key:"popNode",value:function(){return a(this.tail,this)}},{key:"shift",value:function(){return a(this.head,this).value}},{key:"shiftNode",value:function(){return a(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var e=1,i=this.head;e<t;)i=i.next,e++;return i.value}}},{key:"set_object_at",value:function(t,e){if(t<=this.length()){for(var i=1,r=this.head;i<t;)r=r.next,i++;r.value=e}}}]),t}();t.exports=s},function(t,e,i){"use strict";function r(t,e,i){this.x=null,this.y=null,null==t&&null==e&&null==i?(this.x=0,this.y=0):"number"==typeof t&&"number"==typeof e&&null==i?(this.x=t,this.y=e):"Point"==t.constructor.name&&null==e&&null==i&&(i=t,this.x=i.x,this.y=i.y)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.getLocation=function(){return new r(this.x,this.y)},r.prototype.setLocation=function(t,e,i){"Point"==t.constructor.name&&null==e&&null==i?(i=t,this.setLocation(i.x,i.y)):"number"==typeof t&&"number"==typeof e&&null==i&&(parseInt(t)==t&&parseInt(e)==e?this.move(t,e):(this.x=Math.floor(t+.5),this.y=Math.floor(e+.5)))},r.prototype.move=function(t,e){this.x=t,this.y=e},r.prototype.translate=function(t,e){this.x+=t,this.y+=e},r.prototype.equals=function(t){return"Point"==t.constructor.name?this.x==t.x&&this.y==t.y:this==t},r.prototype.toString=function(){return new r().constructor.name+"[x="+this.x+",y="+this.y+"]"},t.exports=r},function(t,e,i){"use strict";function r(t,e,i,r){this.x=0,this.y=0,this.width=0,this.height=0,null!=t&&null!=e&&null!=i&&null!=r&&(this.x=t,this.y=e,this.width=i,this.height=r)}r.prototype.getX=function(){return this.x},r.prototype.setX=function(t){this.x=t},r.prototype.getY=function(){return this.y},r.prototype.setY=function(t){this.y=t},r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},r.prototype.getRight=function(){return this.x+this.width},r.prototype.getBottom=function(){return this.y+this.height},r.prototype.intersects=function(t){return!(this.getRight()<t.x||this.getBottom()<t.y||t.getRight()<this.x||t.getBottom()<this.y)&&!0},r.prototype.getCenterX=function(){return this.x+this.width/2},r.prototype.getMinX=function(){return this.getX()},r.prototype.getMaxX=function(){return this.getX()+this.width},r.prototype.getCenterY=function(){return this.y+this.height/2},r.prototype.getMinY=function(){return this.getY()},r.prototype.getMaxY=function(){return this.getY()+this.height},r.prototype.getWidthHalf=function(){return this.width/2},r.prototype.getHeightHalf=function(){return this.height/2},t.exports=r},function(t,e,i){"use strict";var r="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 n(){}n.lastID=0,n.createID=function(t){return n.isPrimitive(t)?t:null!=t.uniqueID?t.uniqueID:(t.uniqueID=n.getString(),n.lastID++,t.uniqueID)},n.getString=function(t){return null==t&&(t=n.lastID),"Object#"+t},n.isPrimitive=function(t){var e=void 0===t?"undefined":r(t);return null==t||"object"!=e&&"function"!=e},t.exports=n},function(t,e,i){"use strict";function r(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}var n=i(0),o=i(7),a=i(3),s=i(1),h=i(6),l=i(5),d=i(17),c=i(29);function g(t){c.call(this),this.layoutQuality=n.QUALITY,this.createBendsAsNeeded=n.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=n.DEFAULT_INCREMENTAL,this.animationOnLayout=n.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=n.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=n.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=n.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new o(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=t&&(this.isRemoteUse=t)}g.RANDOM_SEED=1,g.prototype=Object.create(c.prototype),g.prototype.getGraphManager=function(){return this.graphManager},g.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},g.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},g.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},g.prototype.newGraphManager=function(){var t=new o(this);return this.graphManager=t,t},g.prototype.newGraph=function(t){return new h(null,this.graphManager,t)},g.prototype.newNode=function(t){return new a(this.graphManager,t)},g.prototype.newEdge=function(t){return new s(null,null,t)},g.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},g.prototype.runLayout=function(){var t;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),t=!this.checkLayoutSuccess()&&this.layout(),"during"!==n.ANIMATE&&(t&&!this.isSubLayout&&this.doPostLayout(),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,t)},g.prototype.doPostLayout=function(){!this.incremental&&this.transform(),this.update()},g.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var t,e,i=this.graphManager.getAllEdges(),r=0;r<i.length;r++)i[r];for(var n=this.graphManager.getRoot().getNodes(),r=0;r<n.length;r++)n[r];this.update(this.graphManager.getRoot())}},g.prototype.update=function(t){if(null==t)this.update2();else if(t instanceof a){if(null!=t.getChild()){for(var e=t.getChild().getNodes(),i=0;i<e.length;i++)update(e[i])}null!=t.vGraphObject&&t.vGraphObject.update(t)}else t instanceof s?null!=t.vGraphObject&&t.vGraphObject.update(t):t instanceof h&&null!=t.vGraphObject&&t.vGraphObject.update(t)},g.prototype.initParameters=function(){!this.isSubLayout&&(this.layoutQuality=n.QUALITY,this.animationDuringLayout=n.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=n.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=n.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=n.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=n.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=n.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},g.prototype.transform=function(t){if(void 0==t)this.transform(new l(0,0));else{var e=new d,i=this.graphManager.getRoot().updateLeftTop();if(null!=i){e.setWorldOrgX(t.x),e.setWorldOrgY(t.y),e.setDeviceOrgX(i.x),e.setDeviceOrgY(i.y);for(var r=this.getAllNodes(),n=0;n<r.length;n++)r[n].transform(e)}}},g.prototype.positionNodesRandomly=function(t){if(void 0==t)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else{for(var e,i,r=t.getNodes(),n=0;n<r.length;n++)null==(i=(e=r[n]).getChild())?e.scatter():0==i.getNodes().length?e.scatter():(this.positionNodesRandomly(i),e.updateBounds())}},g.prototype.getFlatForest=function(){for(var t=[],e=!0,i=this.graphManager.getRoot().getNodes(),n=!0,o=0;o<i.length;o++)null!=i[o].getChild()&&(n=!1);if(!n)return t;var a=new Set,s=[],h=new Map,l=[];for(l=l.concat(i);l.length>0&&e;){for(s.push(l[0]);s.length>0&&e;){var d=s[0];s.splice(0,1),a.add(d);for(var c=d.getEdges(),o=0;o<c.length;o++){var g=c[o].getOtherEnd(d);if(h.get(d)!=g){if(a.has(g)){e=!1;break}s.push(g),h.set(g,d)}}}if(e){var u=[].concat(r(a));t.push(u);for(var o=0;o<u.length;o++){var f=u[o],p=l.indexOf(f);p>-1&&l.splice(p,1)}a=new Set,h=new Map}else t=[]}return t},g.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,r=this.graphManager.calcLowestCommonAncestor(t.source,t.target),n=0;n<t.bendpoints.length;n++){var o=this.newNode(null);o.setRect(new Point(0,0),new Dimension(1,1)),r.add(o);var a=this.newEdge(null);this.graphManager.add(a,i,o),e.add(o),i=o}var a=this.newEdge(null);return this.graphManager.add(a,i,t.target),this.edgeToDummyNodes.set(t,e),t.isInterGraph()?this.graphManager.remove(t):r.remove(t),e},g.prototype.createBendpointsFromDummyNodes=function(){var t=[];t=t.concat(this.graphManager.getAllEdges()),t=[].concat(r(this.edgeToDummyNodes.keys())).concat(t);for(var e=0;e<t.length;e++){var i=t[e];if(i.bendpoints.length>0){for(var n=this.edgeToDummyNodes.get(i),o=0;o<n.length;o++){var a=n[o],s=new l(a.getCenterX(),a.getCenterY()),h=i.bendpoints.get(o);h.x=s.x,h.y=s.y,a.getOwner().remove(a)}this.graphManager.add(i,i.source,i.target)}}},g.transform=function(t,e,i,r){if(void 0==i||void 0==r)return t<=50?(n=9*e/500,o=e/10):(n=9*e/50,o=-8*e),n*t+o;var n,o,a=e;return t<=50?a-=(e-e/i)/50*(50-t):a+=(e*r-e)/50*(t-50),a},g.findCenterOfTree=function(t){var e=[];e=e.concat(t);var i=[],r=new Map,n=!1,o=null;(1==e.length||2==e.length)&&(n=!0,o=e[0]);for(var a=0;a<e.length;a++){var s=e[a],h=s.getNeighborsList().size;r.set(s,s.getNeighborsList().size),1==h&&i.push(s)}var l=[];for(l=l.concat(i);!n;){var d=[];d=d.concat(l),l=[];for(var a=0;a<e.length;a++){var s=e[a],c=e.indexOf(s);c>=0&&e.splice(c,1),s.getNeighborsList().forEach(function(t){if(0>i.indexOf(t)){var e=r.get(t)-1;1==e&&l.push(t),r.set(t,e)}})}i=i.concat(l),(1==e.length||2==e.length)&&(n=!0,o=e[0])}return o},g.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=g},function(t,e,i){"use strict";function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},t.exports=r},function(t,e,i){"use strict";var r=i(5);function n(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}n.prototype.getWorldOrgX=function(){return this.lworldOrgX},n.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},n.prototype.getWorldOrgY=function(){return this.lworldOrgY},n.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},n.prototype.getWorldExtX=function(){return this.lworldExtX},n.prototype.setWorldExtX=function(t){this.lworldExtX=t},n.prototype.getWorldExtY=function(){return this.lworldExtY},n.prototype.setWorldExtY=function(t){this.lworldExtY=t},n.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},n.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},n.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},n.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},n.prototype.getDeviceExtX=function(){return this.ldeviceExtX},n.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},n.prototype.getDeviceExtY=function(){return this.ldeviceExtY},n.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},n.prototype.transformX=function(t){var e=0,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},n.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},n.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},n.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},n.prototype.inverseTransformPoint=function(t){return new r(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=n},function(t,e,i){"use strict";var r=i(15),n=i(4),o=i(0),a=i(8),s=i(9);function h(){r.call(this),this.useSmartIdealEdgeLengthCalculation=n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=n.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=n.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=n.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=n.MAX_ITERATIONS}for(var l in h.prototype=Object.create(r.prototype),r)h[l]=r[l];h.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,r,a,s,h,l=this.getGraphManager().getAllEdges(),d=0;d<l.length;d++)e=(t=l[d]).idealLength,t.isInterGraph&&(r=t.getSource(),a=t.getTarget(),s=t.getSourceInLca().getEstimatedSize(),h=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=s+h-2*o.SIMPLE_NODE_SIZE),i=t.getLca().getInclusionTreeDepth(),t.idealLength+=e*n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(r.getInclusionTreeDepth()+a.getInclusionTreeDepth()-2*i))},h.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>n.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*n.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-n.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>n.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(n.COOLING_ADAPTATION_FACTOR,1-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*(1-n.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i<e.length;i++)t=e[i],this.calcSpringForce(t,t.idealLength)},h.prototype.calcRepulsionForces=function(){var t,e,i,r,o,a=!(arguments.length>0)||void 0===arguments[0]||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&a&&this.updateGrid(),o=new Set,t=0;t<h.length;t++)i=h[t],this.calculateRepulsionForceOfANode(i,o,a,s),o.add(i);else for(t=0;t<h.length;t++)for(i=h[t],e=t+1;e<h.length;e++){if(r=h[e],i.getOwner()==r.getOwner())this.calcRepulsionForce(i,r)}},h.prototype.calcGravitationalForces=function(){for(var t,e=this.getAllNodesToApplyGravitation(),i=0;i<e.length;i++)t=e[i],this.calcGravitationalForce(t)},h.prototype.moveNodes=function(){for(var t=this.getAllNodes(),e=0;e<t.length;e++)t[e].move()},h.prototype.calcSpringForce=function(t,e){var i,r,n,o,a=t.getSource(),s=t.getTarget();if(this.uniformLeafNodeSizes&&null==a.getChild()&&null==s.getChild())t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;0!=(i=t.getLength())&&(n=(r=t.edgeElasticity*(i-e))*(t.lengthX/i),o=r*(t.lengthY/i),a.springForceX+=n,a.springForceY+=o,s.springForceX-=n,s.springForceY-=o)},h.prototype.calcRepulsionForce=function(t,e){var i,r,o,h,l,d,c,g=t.getRect(),u=e.getRect(),f=[,,],p=[,,,,];if(g.intersects(u)){a.calcSeparationAmount(g,u,f,n.DEFAULT_EDGE_LENGTH/2),d=2*f[0],c=2*f[1];var v=t.noOfChildren*e.noOfChildren/(t.noOfChildren+e.noOfChildren);t.repulsionForceX-=v*d,t.repulsionForceY-=v*c,e.repulsionForceX+=v*d,e.repulsionForceY+=v*c}else this.uniformLeafNodeSizes&&null==t.getChild()&&null==e.getChild()?(i=u.getCenterX()-g.getCenterX(),r=u.getCenterY()-g.getCenterY()):(a.getIntersection(g,u,p),i=p[2]-p[0],r=p[3]-p[1]),Math.abs(i)<n.MIN_REPULSION_DIST&&(i=s.sign(i)*n.MIN_REPULSION_DIST),Math.abs(r)<n.MIN_REPULSION_DIST&&(r=s.sign(r)*n.MIN_REPULSION_DIST),h=Math.sqrt(o=i*i+r*r),d=(l=(t.nodeRepulsion/2+e.nodeRepulsion/2)*t.noOfChildren*e.noOfChildren/o)*i/h,c=l*r/h,t.repulsionForceX-=d,t.repulsionForceY-=c,e.repulsionForceX+=d,e.repulsionForceY+=c},h.prototype.calcGravitationalForce=function(t){var e,i,r,n,o,a,s,h;i=((e=t.getOwner()).getRight()+e.getLeft())/2,r=(e.getTop()+e.getBottom())/2,n=t.getCenterX()-i,o=t.getCenterY()-r,a=Math.abs(n)+t.getWidth()/2,s=Math.abs(o)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(a>(h=e.getEstimatedSize()*this.gravityRangeFactor)||s>h)&&(t.gravitationForceX=-this.gravityConstant*n,t.gravitationForceY=-this.gravityConstant*o):(a>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||s>h)&&(t.gravitationForceX=-this.gravityConstant*n*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=2>Math.abs(this.totalDisplacement-this.oldTotalDisplacement)),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||e},h.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},h.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,e=this.graphManager.getAllNodes(),i=0;i<e.length;i++)(t=e[i]).noOfChildren=t.getNoOfChildren()},h.prototype.calcGrid=function(t){var e=0,i=0;e=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),i=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var r=Array(e),n=0;n<e;n++)r[n]=Array(i);for(var n=0;n<e;n++)for(var o=0;o<i;o++)r[n][o]=[];return r},h.prototype.addNodeToGrid=function(t,e,i){var r=0,n=0,o=0,a=0;r=parseInt(Math.floor((t.getRect().x-e)/this.repulsionRange)),n=parseInt(Math.floor((t.getRect().width+t.getRect().x-e)/this.repulsionRange)),o=parseInt(Math.floor((t.getRect().y-i)/this.repulsionRange)),a=parseInt(Math.floor((t.getRect().height+t.getRect().y-i)/this.repulsionRange));for(var s=r;s<=n;s++)for(var h=o;h<=a;h++)this.grid[s][h].push(t),t.setGridCoordinates(r,n,o,a)},h.prototype.updateGrid=function(){var t,e,i=this.getAllNodes();for(t=0,this.grid=this.calcGrid(this.graphManager.getRoot());t<i.length;t++)e=i[t],this.addNodeToGrid(e,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},h.prototype.calculateRepulsionForceOfANode=function(t,e,i,r){if(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&i||r){var o,a=new Set;t.surrounding=[];for(var s=this.grid,h=t.startX-1;h<t.finishX+2;h++)for(var l=t.startY-1;l<t.finishY+2;l++)if(!(h<0||l<0||h>=s.length||l>=s[0].length))for(var d=0;d<s[h][l].length;d++){if(o=s[h][l][d],t.getOwner()==o.getOwner()&&t!=o){if(!e.has(o)&&!a.has(o)){var c=Math.abs(t.getCenterX()-o.getCenterX())-(t.getWidth()/2+o.getWidth()/2),g=Math.abs(t.getCenterY()-o.getCenterY())-(t.getHeight()/2+o.getHeight()/2);c<=this.repulsionRange&&g<=this.repulsionRange&&a.add(o)}}}t.surrounding=[].concat(function(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}(a))}for(h=0;h<t.surrounding.length;h++)this.calcRepulsionForce(t,t.surrounding[h])},h.prototype.calcRepulsionRange=function(){return 0},t.exports=h},function(t,e,i){"use strict";var r=i(1),n=i(4);function o(t,e,i){r.call(this,t,e,i),this.idealLength=n.DEFAULT_EDGE_LENGTH,this.edgeElasticity=n.DEFAULT_SPRING_STRENGTH}for(var a in o.prototype=Object.create(r.prototype),r)o[a]=r[a];t.exports=o},function(t,e,i){"use strict";var r=i(3),n=i(4);function o(t,e,i,o){r.call(this,t,e,i,o),this.nodeRepulsion=n.DEFAULT_REPULSION_STRENGTH,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 o.prototype=Object.create(r.prototype),r)o[a]=r[a];o.prototype.setGridCoordinates=function(t,e,i,r){this.startX=t,this.finishX=e,this.startY=i,this.finishY=r},t.exports=o},function(t,e,i){"use strict";function r(t,e){this.width=0,this.height=0,null!==t&&null!==e&&(this.height=e,this.width=t)}r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},t.exports=r},function(t,e,i){"use strict";var r=i(14);function n(){this.map={},this.keys=[]}n.prototype.put=function(t,e){var i=r.createID(t);!this.contains(i)&&(this.map[i]=e,this.keys.push(t))},n.prototype.contains=function(t){return r.createID(t),null!=this.map[t]},n.prototype.get=function(t){var e=r.createID(t);return this.map[e]},n.prototype.keySet=function(){return this.keys},t.exports=n},function(t,e,i){"use strict";var r=i(14);function n(){this.set={}}n.prototype.add=function(t){var e=r.createID(t);!this.contains(e)&&(this.set[e]=t)},n.prototype.remove=function(t){delete this.set[r.createID(t)]},n.prototype.clear=function(){this.set={}},n.prototype.contains=function(t){return this.set[r.createID(t)]==t},n.prototype.isEmpty=function(){return 0===this.size()},n.prototype.size=function(){return Object.keys(this.set).length},n.prototype.addAllTo=function(t){for(var e=Object.keys(this.set),i=e.length,r=0;r<i;r++)t.push(this.set[e[r]])},n.prototype.size=function(){return Object.keys(this.set).length},n.prototype.addAll=function(t){for(var e=t.length,i=0;i<e;i++){var r=t[i];this.add(r)}},t.exports=n},function(t,e,i){"use strict";function r(){}r.multMat=function(t,e){for(var i=[],r=0;r<t.length;r++){i[r]=[];for(var n=0;n<e[0].length;n++){i[r][n]=0;for(var o=0;o<t[0].length;o++)i[r][n]+=t[r][o]*e[o][n]}}return i},r.transpose=function(t){for(var e=[],i=0;i<t[0].length;i++){e[i]=[];for(var r=0;r<t.length;r++)e[i][r]=t[r][i]}return e},r.multCons=function(t,e){for(var i=[],r=0;r<t.length;r++)i[r]=t[r]*e;return i},r.minusOp=function(t,e){for(var i=[],r=0;r<t.length;r++)i[r]=t[r]-e[r];return i},r.dotProduct=function(t,e){for(var i=0,r=0;r<t.length;r++)i+=t[r]*e[r];return i},r.mag=function(t){return Math.sqrt(this.dotProduct(t,t))},r.normalize=function(t){for(var e=[],i=this.mag(t),r=0;r<t.length;r++)e[r]=t[r]/i;return e},r.multGamma=function(t){for(var e=[],i=0,r=0;r<t.length;r++)i+=t[r];i*=-1/t.length;for(var n=0;n<t.length;n++)e[n]=i+t[n];return e},r.multL=function(t,e,i){for(var r=[],n=[],o=[],a=0;a<e[0].length;a++){for(var s=0,h=0;h<e.length;h++)s+=-.5*e[h][a]*t[h];n[a]=s}for(var l=0;l<i.length;l++){for(var d=0,c=0;c<i.length;c++)d+=i[l][c]*n[c];o[l]=d}for(var g=0;g<e.length;g++){for(var u=0,f=0;f<e[0].length;f++)u+=e[g][f]*o[f];r[g]=u}return r},t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=i(11),o=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),(null!==i||void 0!==i)&&(this.compareFunction=this._defaultCompareFunction);var r=void 0;r=e instanceof n?e.size():e.length,this._quicksort(e,0,r-1)}return r(t,[{key:"_quicksort",value:function(t,e,i){if(e<i){var r=this._partition(t,e,i);this._quicksort(t,e,r),this._quicksort(t,r+1,i)}}},{key:"_partition",value:function(t,e,i){for(var r=this._get(t,e),n=e,o=i;;){for(;this.compareFunction(r,this._get(t,o));)o--;for(;this.compareFunction(this._get(t,n),r);)n++;if(!(n<o))return o;this._swap(t,n,o),n++,o--}}},{key:"_get",value:function(t,e){return t instanceof n?t.get_object_at(e):t[e]}},{key:"_set",value:function(t,e,i){t instanceof n?t.set_object_at(e,i):t[e]=i}},{key:"_swap",value:function(t,e,i){var r=this._get(t,e);this._set(t,e,this._get(t,i)),this._set(t,i,r)}},{key:"_defaultCompareFunction",value:function(t,e){return e>t}}]),t}();t.exports=o},function(t,e,i){"use strict";function r(){}r.svd=function(t){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=t.length,this.n=t[0].length;var e=Math.min(this.m,this.n);this.s=function(t){for(var e=[];t-- >0;)e.push(0);return e}(Math.min(this.m+1,this.n)),this.U=function t(e){if(0==e.length)return 0;for(var i=[],r=0;r<e[0];r++)i.push(t(e.slice(1)));return i}([this.m,e]),this.V=function t(e){if(0==e.length)return 0;for(var i=[],r=0;r<e[0];r++)i.push(t(e.slice(1)));return i}([this.n,this.n]);for(var i=function(t){for(var e=[];t-- >0;)e.push(0);return e}(this.n),n=function(t){for(var e=[];t-- >0;)e.push(0);return e}(this.m),o=Math.min(this.m-1,this.n),a=Math.max(0,Math.min(this.n-2,this.m)),s=0;s<Math.max(o,a);s++){if(s<o){this.s[s]=0;for(var h=s;h<this.m;h++)this.s[s]=r.hypot(this.s[s],t[h][s]);if(0!==this.s[s]){t[s][s]<0&&(this.s[s]=-this.s[s]);for(var l=s;l<this.m;l++)t[l][s]/=this.s[s];t[s][s]+=1}this.s[s]=-this.s[s]}for(var d=s+1;d<this.n;d++){;if(p=s<o,v=0!==this.s[s],p&&v){for(var c=0,g=s;g<this.m;g++)c+=t[g][s]*t[g][d];c=-c/t[s][s];for(var u=s;u<this.m;u++)t[u][d]+=c*t[u][s]}i[d]=t[s][d]}if(y=!0,m=s<o,y&&m)for(var f=s;f<this.m;f++)this.U[f][s]=t[f][s];if(s<a){i[s]=0;for(var p,v,y,m,E,N,T=s+1;T<this.n;T++)i[s]=r.hypot(i[s],i[T]);if(0!==i[s]){i[s+1]<0&&(i[s]=-i[s]);for(var A=s+1;A<this.n;A++)i[A]/=i[s];i[s+1]+=1}if(i[s]=-i[s],E=s+1<this.m,N=0!==i[s],E&&N){for(var L=s+1;L<this.m;L++)n[L]=0;for(var w=s+1;w<this.n;w++)for(var _=s+1;_<this.m;_++)n[_]+=i[w]*t[_][w];for(var I=s+1;I<this.n;I++){for(var C=-i[I]/i[s+1],M=s+1;M<this.m;M++)t[M][I]+=C*n[M]}}for(var x=s+1;x<this.n;x++)this.V[x][s]=i[x]}}var O=Math.min(this.n,this.m+1);o<this.n&&(this.s[o]=t[o][o]),this.m<O&&(this.s[O-1]=0),a+1<O&&(i[a]=t[a][O-1]),i[O-1]=0;for(var D=o;D<e;D++){for(var R=0;R<this.m;R++)this.U[R][D]=0;this.U[D][D]=1}for(var b=o-1;b>=0;b--)if(0!==this.s[b]){for(var G=b+1;G<e;G++){for(var F=0,S=b;S<this.m;S++)F+=this.U[S][b]*this.U[S][G];F=-F/this.U[b][b];for(var P=b;P<this.m;P++)this.U[P][G]+=F*this.U[P][b]}for(var U=b;U<this.m;U++)this.U[U][b]=-this.U[U][b];this.U[b][b]=1+this.U[b][b];for(var Y=0;Y<b-1;Y++)this.U[Y][b]=0}else{for(var k=0;k<this.m;k++)this.U[k][b]=0;this.U[b][b]=1}for(var H=this.n-1;H>=0;H--){;if(tc=H<a,tg=0!==i[H],tc&&tg)for(var X=H+1;X<e;X++){for(var W=0,z=H+1;z<this.n;z++)W+=this.V[z][H]*this.V[z][X];W=-W/this.V[H+1][H];for(var V=H+1;V<this.n;V++)this.V[V][X]+=W*this.V[V][H]}for(var B=0;B<this.n;B++)this.V[B][H]=0;this.V[H][H]=1}for(var j=O-1,q=0;O>0;){var $=void 0,Z=void 0;for($=O-2;$>=-1&&-1!==$;$--){;if(Math.abs(i[$])<=16033346880071782e-307+2220446049250313e-31*(Math.abs(this.s[$])+Math.abs(this.s[$+1]))){i[$]=0;break}}if($===O-2)Z=4;else{var Q=void 0;for(Q=O-1;Q>=$&&Q!==$;Q--){;var J=(Q!==O?Math.abs(i[Q]):0)+(Q!==$+1?Math.abs(i[Q-1]):0);if(Math.abs(this.s[Q])<=16033346880071782e-307+2220446049250313e-31*J){this.s[Q]=0;break}}Q===$?Z=3:Q===O-1?Z=1:(Z=2,$=Q)}switch($++,Z){case 1:var K=i[O-2];i[O-2]=0;for(var tt=O-2;tt>=$;tt--){var te=r.hypot(this.s[tt],K),ti=this.s[tt]/te,tr=K/te;this.s[tt]=te,tt!==$&&(K=-tr*i[tt-1],i[tt-1]=ti*i[tt-1]);for(var tn=0;tn<this.n;tn++)te=ti*this.V[tn][tt]+tr*this.V[tn][O-1],this.V[tn][O-1]=-tr*this.V[tn][tt]+ti*this.V[tn][O-1],this.V[tn][tt]=te}break;case 2:var to=i[$-1];i[$-1]=0;for(var ta=$;ta<O;ta++){var ts=r.hypot(this.s[ta],to),th=this.s[ta]/ts,tl=to/ts;this.s[ta]=ts,to=-tl*i[ta],i[ta]=th*i[ta];for(var td=0;td<this.m;td++)ts=th*this.U[td][ta]+tl*this.U[td][$-1],this.U[td][$-1]=-tl*this.U[td][ta]+th*this.U[td][$-1],this.U[td][ta]=ts}break;case 3:var tc,tg,tu,tf,tp=Math.max(Math.max(Math.max(Math.max(Math.abs(this.s[O-1]),Math.abs(this.s[O-2])),Math.abs(i[O-2])),Math.abs(this.s[$])),Math.abs(i[$])),tv=this.s[O-1]/tp,ty=this.s[O-2]/tp,tm=i[O-2]/tp,tE=this.s[$]/tp,tN=i[$]/tp,tT=((ty+tv)*(ty-tv)+tm*tm)/2,tA=tv*tm*(tv*tm),tL=0;if(tu=0!==tT,tf=0!==tA,tu||tf)tL=Math.sqrt(tT*tT+tA),tT<0&&(tL=-tL),tL=tA/(tT+tL);for(var tw=(tE+tv)*(tE-tv)+tL,t_=tE*tN,tI=$;tI<O-1;tI++){var tC=r.hypot(tw,t_),tM=tw/tC,tx=t_/tC;tI!==$&&(i[tI-1]=tC),tw=tM*this.s[tI]+tx*i[tI],i[tI]=tM*i[tI]-tx*this.s[tI],t_=tx*this.s[tI+1],this.s[tI+1]=tM*this.s[tI+1];for(var tO=0;tO<this.n;tO++)tC=tM*this.V[tO][tI]+tx*this.V[tO][tI+1],this.V[tO][tI+1]=-tx*this.V[tO][tI]+tM*this.V[tO][tI+1],this.V[tO][tI]=tC;if(tC=r.hypot(tw,t_),tM=tw/tC,tx=t_/tC,this.s[tI]=tC,tw=tM*i[tI]+tx*this.s[tI+1],this.s[tI+1]=-tx*i[tI]+tM*this.s[tI+1],t_=tx*i[tI+1],i[tI+1]=tM*i[tI+1],tI<this.m-1)for(var tD=0;tD<this.m;tD++)tC=tM*this.U[tD][tI]+tx*this.U[tD][tI+1],this.U[tD][tI+1]=-tx*this.U[tD][tI]+tM*this.U[tD][tI+1],this.U[tD][tI]=tC}i[O-2]=tw;break;case 4:if(this.s[$]<=0&&(this.s[$]=this.s[$]<0?-this.s[$]:0,1))for(var tR=0;tR<=j;tR++)this.V[tR][$]=-this.V[tR][$];for(;$<j&&!(this.s[$]>=this.s[$+1]);){;var tb=this.s[$];if(this.s[$]=this.s[$+1],this.s[$+1]=tb,$<this.n-1)for(var tG=0;tG<this.n;tG++)tb=this.V[tG][$+1],this.V[tG][$+1]=this.V[tG][$],this.V[tG][$]=tb;if($<this.m-1)for(var tF=0;tF<this.m;tF++)tb=this.U[tF][$+1],this.U[tF][$+1]=this.U[tF][$],this.U[tF][$]=tb;$++}q=0,O--}}return{U:this.U,V:this.V,S:this.s}},r.hypot=function(t,e){var i=void 0;return Math.abs(t)>Math.abs(e)?(i=e/t,i=Math.abs(t)*Math.sqrt(1+i*i)):0!=e?(i=t/e,i=Math.abs(e)*Math.sqrt(1+i*i)):i=0,i},t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=function(){function t(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=i,this.match_score=r,this.mismatch_penalty=n,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=Array(this.iMax);for(var a=0;a<this.iMax;a++){this.grid[a]=Array(this.jMax);for(var s=0;s<this.jMax;s++)this.grid[a][s]=0}this.tracebackGrid=Array(this.iMax);for(var h=0;h<this.iMax;h++){this.tracebackGrid[h]=Array(this.jMax);for(var l=0;l<this.jMax;l++)this.tracebackGrid[h][l]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return r(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 i=1;i<this.iMax;i++)for(var r=1;r<this.jMax;r++){var n=void 0,o=[n=this.sequence1[i-1]===this.sequence2[r-1]?this.grid[i-1][r-1]+this.match_score:this.grid[i-1][r-1]+this.mismatch_penalty,this.grid[i-1][r]+this.gap_penalty,this.grid[i][r-1]+this.gap_penalty],a=this.arrayAllMaxIndexes(o);this.grid[i][r]=o[a[0]],this.tracebackGrid[i][r]=[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],i=this.tracebackGrid[e.pos[0]][e.pos[1]];i[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}),i[1]&&t.push({pos:[e.pos[0]-1,e.pos[1]],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:"-"+e.seq2}),i[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 i=[],r=-1;-1!==(r=t.indexOf(e,r+1));)i.push(r);return i}},{key:"arrayAllMaxIndexes",value:function(t){return this.getAllIndexes(t,Math.max.apply(null,t))}}]),t}();t.exports=n},function(t,e,i){"use strict";var r=function(){};r.FDLayout=i(18),r.FDLayoutConstants=i(4),r.FDLayoutEdge=i(19),r.FDLayoutNode=i(20),r.DimensionD=i(21),r.HashMap=i(22),r.HashSet=i(23),r.IGeometry=i(8),r.IMath=i(9),r.Integer=i(10),r.Point=i(12),r.PointD=i(5),r.RandomSeed=i(16),r.RectangleD=i(13),r.Transform=i(17),r.UniqueIDGeneretor=i(14),r.Quicksort=i(25),r.LinkedList=i(11),r.LGraphObject=i(2),r.LGraph=i(6),r.LEdge=i(1),r.LGraphManager=i(7),r.LNode=i(3),r.Layout=i(15),r.LayoutConstants=i(0),r.NeedlemanWunsch=i(27),r.Matrix=i(24),r.SVD=i(26),t.exports=r},function(t,e,i){"use strict";function r(){this.listeners=[]}var n=r.prototype;n.addListener=function(t,e){this.listeners.push({event:t,callback:e})},n.removeListener=function(t,e){for(var i=this.listeners.length;i>=0;i--){var r=this.listeners[i];r.event===t&&r.callback===e&&this.listeners.splice(i,1)}},n.emit=function(t,e){for(var i=0;i<this.listeners.length;i++){var r=this.listeners[i];t===r.event&&r.callback(e)}},t.exports=r}])},t.exports=i()},96026:function(t,e,i){"use strict";i.d(e,{diagram:function(){return tg}});var r=i(16302),n=i(92719),o=i(17646),a=i(18825);i(7690);var s=i(94159),h=i(5995),l=i(3194),d=i(58446),c=i(44867),g=i(27818),u={L:"left",R:"right",T:"top",B:"bottom"},f={L:(0,h.eW)(t=>`${t},${t/2} 0,${t} 0,0`,"L"),R:(0,h.eW)(t=>`0,${t/2} ${t},0 ${t},${t}`,"R"),T:(0,h.eW)(t=>`0,0 ${t},0 ${t/2},${t}`,"T"),B:(0,h.eW)(t=>`${t/2},0 ${t},${t} 0,${t}`,"B")},p={L:(0,h.eW)((t,e)=>t-e+2,"L"),R:(0,h.eW)((t,e)=>t-2,"R"),T:(0,h.eW)((t,e)=>t-e+2,"T"),B:(0,h.eW)((t,e)=>t-2,"B")},v=(0,h.eW)(function(t){return m(t)?"L"===t?"R":"L":"T"===t?"B":"T"},"getOppositeArchitectureDirection"),y=(0,h.eW)(function(t){return"L"===t||"R"===t||"T"===t||"B"===t},"isArchitectureDirection"),m=(0,h.eW)(function(t){return"L"===t||"R"===t},"isArchitectureDirectionX"),E=(0,h.eW)(function(t){return"T"===t||"B"===t},"isArchitectureDirectionY"),N=(0,h.eW)(function(t,e){let i=m(t)&&E(e),r=E(t)&&m(e);return i||r},"isArchitectureDirectionXY"),T=(0,h.eW)(function(t){let e=t[0],i=t[1],r=m(e)&&E(i),n=E(e)&&m(i);return r||n},"isArchitecturePairXY"),A=(0,h.eW)(function(t){return"LL"!==t&&"RR"!==t&&"TT"!==t&&"BB"!==t},"isValidArchitectureDirectionPair"),L=(0,h.eW)(function(t,e){let i=`${t}${e}`;return A(i)?i:void 0},"getArchitectureDirectionPair"),w=(0,h.eW)(function([t,e],i){let r=i[0],n=i[1];if(m(r))return E(n)?[t+("L"===r?-1:1),e+("T"===n?1:-1)]:[t+("L"===r?-1:1),e];return m(n)?[t+("L"===n?1:-1),e+("T"===r?1:-1)]:[t,e+("T"===r?1:-1)]},"shiftPositionByArchitectureDirectionPair"),_=(0,h.eW)(function(t){if("LT"===t||"TL"===t)return[1,1];if("BL"===t||"LB"===t)return[1,-1];if("BR"===t||"RB"===t)return[-1,-1];else return[-1,1]},"getArchitectureDirectionXYFactors"),I=(0,h.eW)(function(t){return"service"===t.type},"isArchitectureService"),C=(0,h.eW)(function(t){return"junction"===t.type},"isArchitectureJunction"),M=(0,h.eW)(t=>t.data(),"edgeData"),x=(0,h.eW)(t=>t.data(),"nodeData"),O=h.vZ.architecture,D=new a.A(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:O,dataStructures:void 0,elements:{}})),R=(0,h.eW)(()=>{D.reset(),(0,h.ZH)()},"clear"),b=(0,h.eW)(function({id:t,icon:e,in:i,title:r,iconText:n}){if(void 0!==D.records.registeredIds[t])throw Error(`The service id [${t}] is already in use by another ${D.records.registeredIds[t]}`);if(void 0!==i){if(t===i)throw Error(`The service [${t}] cannot be placed within itself`);if(void 0===D.records.registeredIds[i])throw Error(`The service [${t}]'s parent does not exist. Please make sure the parent is created before this service`);if("node"===D.records.registeredIds[i])throw Error(`The service [${t}]'s parent is not a group`)}D.records.registeredIds[t]="node",D.records.nodes[t]={id:t,type:"service",icon:e,iconText:n,title:r,edges:[],in:i}},"addService"),G=(0,h.eW)(()=>Object.values(D.records.nodes).filter(I),"getServices"),F=(0,h.eW)(function({id:t,in:e}){D.records.registeredIds[t]="node",D.records.nodes[t]={id:t,type:"junction",edges:[],in:e}},"addJunction"),S=(0,h.eW)(()=>Object.values(D.records.nodes).filter(C),"getJunctions"),P=(0,h.eW)(()=>Object.values(D.records.nodes),"getNodes"),U=(0,h.eW)(t=>D.records.nodes[t],"getNode"),Y=(0,h.eW)(function({id:t,icon:e,in:i,title:r}){if(void 0!==D.records.registeredIds[t])throw Error(`The group id [${t}] is already in use by another ${D.records.registeredIds[t]}`);if(void 0!==i){if(t===i)throw Error(`The group [${t}] cannot be placed within itself`);if(void 0===D.records.registeredIds[i])throw Error(`The group [${t}]'s parent does not exist. Please make sure the parent is created before this group`);if("node"===D.records.registeredIds[i])throw Error(`The group [${t}]'s parent is not a group`)}D.records.registeredIds[t]="group",D.records.groups[t]={id:t,icon:e,title:r,in:i}},"addGroup"),k=(0,h.eW)(()=>Object.values(D.records.groups),"getGroups"),H=(0,h.eW)(function({lhsId:t,rhsId:e,lhsDir:i,rhsDir:r,lhsInto:n,rhsInto:o,lhsGroup:a,rhsGroup:s,title:h}){if(!y(i))throw Error(`Invalid direction given for left hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${i}`);if(!y(r))throw Error(`Invalid direction given for right hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${r}`);if(void 0===D.records.nodes[t]&&void 0===D.records.groups[t])throw Error(`The left-hand id [${t}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(void 0===D.records.nodes[e]&&void 0===D.records.groups[t])throw Error(`The right-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);let l=D.records.nodes[t].in,d=D.records.nodes[e].in;if(a&&l&&d&&l==d)throw Error(`The left-hand id [${t}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(s&&l&&d&&l==d)throw Error(`The right-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);D.records.edges.push({lhsId:t,lhsDir:i,lhsInto:n,lhsGroup:a,rhsId:e,rhsDir:r,rhsInto:o,rhsGroup:s,title:h}),D.records.nodes[t]&&D.records.nodes[e]&&(D.records.nodes[t].edges.push(D.records.edges[D.records.edges.length-1]),D.records.nodes[e].edges.push(D.records.edges[D.records.edges.length-1]))},"addEdge"),X=(0,h.eW)(()=>D.records.edges,"getEdges"),W=(0,h.eW)(()=>{if(void 0===D.records.dataStructures){let t=Object.entries(D.records.nodes).reduce((t,[e,i])=>(t[e]=i.edges.reduce((t,i)=>{if(i.lhsId===e){let e=L(i.lhsDir,i.rhsDir);e&&(t[e]=i.rhsId)}else{let e=L(i.rhsDir,i.lhsDir);e&&(t[e]=i.lhsId)}return t},{}),t),{}),e=Object.keys(t)[0],i={[e]:1},r=Object.keys(t).reduce((t,i)=>i===e?t:{...t,[i]:1},{}),n=(0,h.eW)(e=>{let n={[e]:[0,0]},o=[e];for(;o.length>0;){let e=o.shift();if(e){i[e]=1,delete r[e];let a=t[e],[s,h]=n[e];Object.entries(a).forEach(([t,e])=>{!i[e]&&(n[e]=w([s,h],t),o.push(e))})}}return n},"BFS"),o=[n(e)];for(;Object.keys(r).length>0;)o.push(n(Object.keys(r)[0]));D.records.dataStructures={adjList:t,spatialMaps:o}}return D.records.dataStructures},"getDataStructures"),z=(0,h.eW)((t,e)=>{D.records.elements[t]=e},"setElementForId"),V=(0,h.eW)(t=>D.records.elements[t],"getElementById"),B={clear:R,setDiagramTitle:h.g2,getDiagramTitle:h.Kr,setAccTitle:h.GN,getAccTitle:h.eu,setAccDescription:h.U$,getAccDescription:h.Mx,addService:b,getServices:G,addJunction:F,getJunctions:S,getNodes:P,getNode:U,addGroup:Y,getGroups:k,addEdge:H,getEdges:X,setElementForId:z,getElementById:V,getDataStructures:W};function j(t){let e=(0,h.nV)().architecture;return e?.[t]?e[t]:O[t]}(0,h.eW)(j,"getConfigField");var q=(0,h.eW)((t,e)=>{(0,o.A)(t,e),t.groups.map(e.addGroup),t.services.map(t=>e.addService({...t,type:"service"})),t.junctions.map(t=>e.addJunction({...t,type:"junction"})),t.edges.map(e.addEdge)},"populateDb"),$={parse:(0,h.eW)(async t=>{let e=await (0,l.Qc)("architecture",t);h.cM.debug(e),q(e,B)},"parse")},Z=(0,h.eW)(t=>` + .edge { + stroke-width: ${t.archEdgeWidth}; + stroke: ${t.archEdgeColor}; + fill: none; + } + + .arrow { + fill: ${t.archEdgeArrowColor}; + } + + .node-bkg { + fill: none; + stroke: ${t.archGroupBorderColor}; + stroke-width: ${t.archGroupBorderWidth}; + stroke-dasharray: 8; + } + .node-icon-text { + display: flex; + align-items: center; + } + + .node-icon-text > div { + color: #fff; + margin: 1px; + height: fit-content; + text-align: center; + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + } +`,"getStyles"),Q=(0,h.eW)(t=>`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${t}</g>`,"wrapIcon"),J={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:Q('<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},server:{body:Q('<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>')},disk:{body:Q('<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>')},internet:{body:Q('<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},cloud:{body:Q('<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},unknown:r.cN,blank:{body:Q("")}}},K=(0,h.eW)(async function(t,e){let i=j("padding"),r=j("iconSize"),o=r/2,a=r/6,s=a/2;await Promise.all(e.edges().map(async e=>{let{source:r,sourceDir:l,sourceArrow:d,sourceGroup:c,target:g,targetDir:u,targetArrow:v,targetGroup:y,label:A}=M(e),{x:w,y:I}=e[0].sourceEndpoint(),{x:C,y:x}=e[0].midpoint(),{x:O,y:D}=e[0].targetEndpoint(),R=i+4;if(c&&(m(l)?w+="L"===l?-R:R:I+="T"===l?-R:R+18),y&&(m(u)?O+="L"===u?-R:R:D+="T"===u?-R:R+18),!c&&B.getNode(r)?.type==="junction"&&(m(l)?w+="L"===l?o:-o:I+="T"===l?o:-o),!y&&B.getNode(g)?.type==="junction"&&(m(u)?O+="L"===u?o:-o:D+="T"===u?o:-o),e[0]._private.rscratch){let e=t.insert("g");if(e.insert("path").attr("d",`M ${w},${I} L ${C},${x} L${O},${D} `).attr("class","edge"),d){let t=m(l)?p[l](w,a):w-s,i=E(l)?p[l](I,a):I-s;e.insert("polygon").attr("points",f[l](a)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(v){let t=m(u)?p[u](O,a):O-s,i=E(u)?p[u](D,a):D-s;e.insert("polygon").attr("points",f[u](a)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(A){let t=N(l,u)?"XY":m(l)?"X":"Y",i=0;i="X"===t?Math.abs(w-O):"Y"===t?Math.abs(I-D)/1.5:Math.abs(w-O)/2;let r=e.append("g");if(await (0,n.rw)(r,A,{useHtmlLabels:!1,width:i,classes:"architecture-service-label"},(0,h.nV)()),r.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),"X"===t)r.attr("transform","translate("+C+", "+x+")");else if("Y"===t)r.attr("transform","translate("+C+", "+x+") rotate(-90)");else if("XY"===t){let t=L(l,u);if(t&&T(t)){let e=r.node().getBoundingClientRect(),[i,n]=_(t);r.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*i*n*45})`);let o=r.node().getBoundingClientRect();r.attr("transform",` + translate(${C}, ${x-e.height/2}) + translate(${i*o.width/2}, ${n*o.height/2}) + rotate(${-1*i*n*45}, 0, ${e.height/2}) + `)}}}}}))},"drawEdges"),tt=(0,h.eW)(async function(t,e){let i=.75*j("padding"),o=j("fontSize"),a=j("iconSize")/2;await Promise.all(e.nodes().map(async e=>{let s=x(e);if("group"===s.type){let{h:l,w:d,x1:c,y1:g}=e.boundingBox();t.append("rect").attr("x",c+a).attr("y",g+a).attr("width",d).attr("height",l).attr("class","node-bkg");let u=t.append("g"),f=c,p=g;if(s.icon){let t=u.append("g");t.html(`<g>${await (0,r.s4)(s.icon,{height:i,width:i,fallbackPrefix:J.prefix})}</g>`),t.attr("transform","translate("+(f+a+1)+", "+(p+a+1)+")"),f+=i,p+=o/2-1-2}if(s.label){let t=u.append("g");await (0,n.rw)(t,s.label,{useHtmlLabels:!1,width:d,classes:"architecture-service-label"},(0,h.nV)()),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),t.attr("transform","translate("+(f+a+4)+", "+(p+a+2)+")")}}}))},"drawGroups"),te=(0,h.eW)(async function(t,e,i){for(let o of i){let i=e.append("g"),a=j("iconSize");if(o.title){let t=i.append("g");await (0,n.rw)(t,o.title,{useHtmlLabels:!1,width:1.5*a,classes:"architecture-service-label"},(0,h.nV)()),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),t.attr("transform","translate("+a/2+", "+a+")")}let s=i.append("g");if(o.icon)s.html(`<g>${await (0,r.s4)(o.icon,{height:a,width:a,fallbackPrefix:J.prefix})}</g>`);else if(o.iconText){s.html(`<g>${await (0,r.s4)("blank",{height:a,width:a,fallbackPrefix:J.prefix})}</g>`);let t=s.append("g").append("foreignObject").attr("width",a).attr("height",a).append("div").attr("class","node-icon-text").attr("style",`height: ${a}px;`).append("div").html(o.iconText),e=parseInt(window.getComputedStyle(t.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;t.attr("style",`-webkit-line-clamp: ${Math.floor((a-2)/e)};`)}else s.append("path").attr("class","node-bkg").attr("id","node-"+o.id).attr("d",`M0 ${a} v${-a} q0,-5 5,-5 h${a} q5,0 5,5 v${a} H0 Z`);i.attr("class","architecture-service");let{width:l,height:d}=i._groups[0][0].getBBox();o.width=l,o.height=d,t.setElementForId(o.id,i)}return 0},"drawServices"),ti=(0,h.eW)(function(t,e,i){i.forEach(i=>{let r=e.append("g"),n=j("iconSize");r.append("g").append("rect").attr("id","node-"+i.id).attr("fill-opacity","0").attr("width",n).attr("height",n),r.attr("class","architecture-junction");let{width:o,height:a}=r._groups[0][0].getBBox();r.width=o,r.height=a,t.setElementForId(i.id,r)})},"drawJunctions");function tr(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"service",id:t.id,icon:t.icon,label:t.title,parent:t.in,width:j("iconSize"),height:j("iconSize")},classes:"node-service"})})}function tn(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"junction",id:t.id,parent:t.in,width:j("iconSize"),height:j("iconSize")},classes:"node-junction"})})}function to(t,e){e.nodes().map(e=>{let i=x(e);if("group"!==i.type)i.x=e.position().x,i.y=e.position().y,t.getElementById(i.id).attr("transform","translate("+(i.x||0)+","+(i.y||0)+")")})}function ta(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"group",id:t.id,icon:t.icon,label:t.title,parent:t.in},classes:"node-group"})})}function ts(t,e){t.forEach(t=>{let{lhsId:i,rhsId:r,lhsInto:n,lhsGroup:o,rhsInto:a,lhsDir:s,rhsDir:h,rhsGroup:l,title:d}=t,c=N(t.lhsDir,t.rhsDir)?"segments":"straight",g={id:`${i}-${r}`,label:d,source:i,sourceDir:s,sourceArrow:n,sourceGroup:o,sourceEndpoint:"L"===s?"0 50%":"R"===s?"100% 50%":"T"===s?"50% 0":"50% 100%",target:r,targetDir:h,targetArrow:a,targetGroup:l,targetEndpoint:"L"===h?"0 50%":"R"===h?"100% 50%":"T"===h?"50% 0":"50% 100%"};e.add({group:"edges",data:g,classes:c})})}function th(t){let[e,i]=t.map(t=>{let e={},i={};return Object.entries(t).forEach(([t,[r,n]])=>{!e[n]&&(e[n]=[]),!i[r]&&(i[r]=[]),e[n].push(t),i[r].push(t)}),{horiz:Object.values(e).filter(t=>t.length>1),vert:Object.values(i).filter(t=>t.length>1)}}).reduce(([t,e],{horiz:i,vert:r})=>[[...t,...i],[...e,...r]],[[],[]]);return{horizontal:e,vertical:i}}function tl(t){let e=[],i=(0,h.eW)(t=>`${t[0]},${t[1]}`,"posToStr"),r=(0,h.eW)(t=>t.split(",").map(t=>parseInt(t)),"strToPos");return t.forEach(t=>{let n=Object.fromEntries(Object.entries(t).map(([t,e])=>[i(e),t])),o=[i([0,0])],a={},s={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;o.length>0;){let t=o.shift();if(t){a[t]=1;let h=n[t];if(h){let l=r(t);Object.entries(s).forEach(([t,r])=>{let s=i([l[0]+r[0],l[1]+r[1]]),d=n[s];d&&!a[s]&&(o.push(s),e.push({[u[t]]:d,[u[v(t)]]:h,gap:1.5*j("iconSize")}))})}}}}),e}function td(t,e,i,r,{spatialMaps:n}){return new Promise(o=>{let a=(0,g.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),s=(0,d.Z)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight",label:"data(label)","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${j("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${j("padding")}px`}}]});a.remove(),ta(i,s),tr(t,s),tn(e,s),ts(r,s);let l=th(n),c=tl(n),u=s.layout({name:"fcose",quality:"proof",styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(t){let[e,i]=t.connectedNodes(),{parent:r}=x(e),{parent:n}=x(i);return r===n?1.5*j("iconSize"):.5*j("iconSize")},edgeElasticity(t){let[e,i]=t.connectedNodes(),{parent:r}=x(e),{parent:n}=x(i);return r===n?.45:.001},alignmentConstraint:l,relativePlacementConstraint:c});u.one("layoutstop",()=>{function t(t,e,i,r){let n,o;let{x:a,y:s}=t,{x:h,y:l}=e;o=(r-s+(a-i)*(s-l)/(a-h))/Math.sqrt(1+Math.pow((s-l)/(a-h),2)),n=Math.sqrt(Math.pow(r-s,2)+Math.pow(i-a,2)-Math.pow(o,2))/Math.sqrt(Math.pow(h-a,2)+Math.pow(l-s,2));let d=(h-a)*(r-s)-(l-s)*(i-a);switch(!0){case d>=0:d=1;break;case d<0:d=-1}let c=(h-a)*(i-a)+(l-s)*(r-s);switch(!0){case c>=0:c=1;break;case c<0:c=-1}return{distances:o=Math.abs(o)*d,weights:n*=c}}for(let e of((0,h.eW)(t,"getSegmentWeights"),s.startBatch(),Object.values(s.edges())))if(e.data?.()){let{x:i,y:r}=e.source().position(),{x:n,y:o}=e.target().position();if(i!==n&&r!==o){let i=e.sourceEndpoint(),r=e.targetEndpoint(),{sourceDir:n}=M(e),[o,a]=E(n)?[i.x,r.y]:[r.x,i.y],{weights:s,distances:h}=t(i,r,o,a);e.style("segment-distances",h),e.style("segment-weights",s)}}s.endBatch(),u.run()}),u.run(),s.ready(t=>{h.cM.info("Ready",t),o(s)})})}(0,r.ef)([{name:J.prefix,icons:J}]),d.Z.use(c),(0,h.eW)(tr,"addServices"),(0,h.eW)(tn,"addJunctions"),(0,h.eW)(to,"positionNodes"),(0,h.eW)(ta,"addGroups"),(0,h.eW)(ts,"addEdges"),(0,h.eW)(th,"getAlignments"),(0,h.eW)(tl,"getRelativeConstraints"),(0,h.eW)(td,"layoutArchitecture");var tc=(0,h.eW)(async(t,e,i,r)=>{let n=r.db,o=n.getServices(),a=n.getJunctions(),l=n.getGroups(),d=n.getEdges(),c=n.getDataStructures(),g=(0,s.P)(e),u=g.append("g");u.attr("class","architecture-edges");let f=g.append("g");f.attr("class","architecture-services");let p=g.append("g");p.attr("class","architecture-groups"),await te(n,f,o),ti(n,f,a);let v=await td(o,a,l,d,c);await K(u,v),await tt(p,v),to(n,v),(0,h.j7)(void 0,g,j("padding"),j("useMaxWidth"))},"draw"),tg={parser:$,db:B,renderer:{draw:tc},styles:Z}},17646:function(t,e,i){"use strict";function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}i.d(e,{A:function(){return r}}),(0,i(5995).eW)(r,"populateCommonDb")},18825:function(t,e,i){"use strict";i.d(e,{A:function(){return n}});var r=i(5995),n=class{constructor(t){this.init=t,this.records=this.init()}static{(0,r.eW)(this,"ImperativeState")}reset(){this.records=this.init()}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/9196.fbd1abba.js b/pr-preview/pr-5/assets/js/9196.fbd1abba.js new file mode 100644 index 0000000..c984b30 --- /dev/null +++ b/pr-preview/pr-5/assets/js/9196.fbd1abba.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9196"],{74593:function(e,t,n){n.d(t,{Z:function(){return s}});var i=n(85893);n(67294);var r=n(67026),o=n(96025),a=n(34403);function s(e){let{className:t}=e;return(0,i.jsx)("main",{className:(0,r.Z)("container margin-vert--xl",t),children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,i.jsx)(a.Z,{as:"h1",className:"hero__title",children:(0,i.jsx)(o.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},95672:function(e,t,n){n.r(t),n.d(t,{default:function(){return l}});var i=n(85893);n(67294);var r=n(96025),o=n(14713),a=n(37647),s=n(74593);function l(){let e=(0,r.translate)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.d,{title:e}),(0,i.jsx)(a.Z,{children:(0,i.jsx)(s.Z,{})})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/9220.eca32452.js b/pr-preview/pr-5/assets/js/9220.eca32452.js new file mode 100644 index 0000000..695ed64 --- /dev/null +++ b/pr-preview/pr-5/assets/js/9220.eca32452.js @@ -0,0 +1,24 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9220"],{17646:function(t,e,a){function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}a.d(e,{A:function(){return r}}),(0,a(5995).eW)(r,"populateCommonDb")},26629:function(t,e,a){a.d(e,{diagram:function(){return C}});var r=a(17646),l=a(7690),o=a(94159),i=a(5995),c=a(3194),n={packet:[]},s=structuredClone(n),d=i.vZ.packet,k=(0,i.eW)(()=>{let t=(0,l.Rb)({...d,...(0,i.iE)().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),p=(0,i.eW)(()=>s.packet,"getPacket"),b={pushWord:(0,i.eW)(t=>{t.length>0&&s.packet.push(t)},"pushWord"),getPacket:p,getConfig:k,clear:(0,i.eW)(()=>{(0,i.ZH)(),s=structuredClone(n)},"clear"),setAccTitle:i.GN,getAccTitle:i.eu,setDiagramTitle:i.g2,getDiagramTitle:i.Kr,getAccDescription:i.Mx,setAccDescription:i.U$},u=(0,i.eW)(t=>{(0,r.A)(t,b);let e=-1,a=[],l=1,{bitsPerRow:o}=b.getConfig();for(let{start:r,end:c,label:n}of t.blocks){if(c&&c<r)throw Error(`Packet block ${r} - ${c} is invalid. End must be greater than start.`);if(r!==e+1)throw Error(`Packet block ${r} - ${c??r} is not contiguous. It should start from ${e+1}.`);for(e=c??r,i.cM.debug(`Packet block ${r} - ${e} with label ${n}`);a.length<=o+1&&b.getPacket().length<1e4;){let[t,e]=f({start:r,end:c,label:n},l,o);if(a.push(t),t.end+1===l*o&&(b.pushWord(a),a=[],l++),!e)break;({start:r,end:c,label:n}=e)}}b.pushWord(a)},"populate"),f=(0,i.eW)((t,e,a)=>{if(void 0===t.end&&(t.end=t.start),t.start>t.end)throw Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*a?[t,void 0]:[{start:t.start,end:e*a-1,label:t.label},{start:e*a,end:t.end,label:t.label}]},"getNextFittingBlock"),g={parse:(0,i.eW)(async t=>{let e=await (0,c.Qc)("packet",t);i.cM.debug(e),u(e)},"parse")},h=(0,i.eW)((t,e,a,r)=>{let l=r.db,c=l.getConfig(),{rowHeight:n,paddingY:s,bitWidth:d,bitsPerRow:k}=c,p=l.getPacket(),b=l.getDiagramTitle(),u=n+s,f=u*(p.length+1)-(b?0:n),g=d*k+2,h=(0,o.P)(e);for(let[t,e]of(h.attr("viewbox",`0 0 ${g} ${f}`),(0,i.v2)(h,f,g,c.useMaxWidth),p.entries()))x(h,e,t,c);h.append("text").text(b).attr("x",g/2).attr("y",f-u/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),x=(0,i.eW)((t,e,a,{rowHeight:r,paddingX:l,paddingY:o,bitWidth:i,bitsPerRow:c,showBits:n})=>{let s=t.append("g"),d=a*(r+o)+o;for(let t of e){let e=t.start%c*i+1,a=(t.end-t.start+1)*i-l;if(s.append("rect").attr("x",e).attr("y",d).attr("width",a).attr("height",r).attr("class","packetBlock"),s.append("text").attr("x",e+a/2).attr("y",d+r/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(t.label),!n)continue;let o=t.end===t.start,k=d-2;s.append("text").attr("x",e+(o?a/2:0)).attr("y",k).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",o?"middle":"start").text(t.start),!o&&s.append("text").attr("x",e+a).attr("y",k).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(t.end)}},"drawWord"),$={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},C={parser:g,db:b,renderer:{draw:h},styles:(0,i.eW)(({packet:t}={})=>{let e=(0,l.Rb)($,t);return` + .packetByte { + font-size: ${e.byteFontSize}; + } + .packetByte.start { + fill: ${e.startByteColor}; + } + .packetByte.end { + fill: ${e.endByteColor}; + } + .packetLabel { + fill: ${e.labelColor}; + font-size: ${e.labelFontSize}; + } + .packetTitle { + fill: ${e.titleColor}; + font-size: ${e.titleFontSize}; + } + .packetBlock { + stroke: ${e.blockStrokeColor}; + stroke-width: ${e.blockStrokeWidth}; + fill: ${e.blockFillColor}; + } + `},"styles")}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/9604fc81.d6113aef.js b/pr-preview/pr-5/assets/js/9604fc81.d6113aef.js new file mode 100644 index 0000000..6dbe0b5 --- /dev/null +++ b/pr-preview/pr-5/assets/js/9604fc81.d6113aef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["8788"],{11871:function(e,s,n){n.r(s),n.d(s,{metadata:()=>r,contentTitle:()=>d,default:()=>u,assets:()=>a,toc:()=>c,frontMatter:()=>t});var r=JSON.parse('{"id":"docusaurus/tutorial_extras/manage_docs_versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","source":"@site/docs/docusaurus/tutorial_extras/manage_docs_versions.md","sourceDirName":"docusaurus/tutorial_extras","slug":"/docusaurus/tutorial_extras/manage_docs_versions","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_extras/manage_docs_versions.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Extras","permalink":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---extras"},"next":{"title":"Translate your site","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site"}}'),o=n("85893"),i=n("50065");let t={sidebar_position:1},d="Manage Docs Versions",a={},c=[{value:"Create a docs version",id:"create-a-docs-version",level:2},{value:"Add a Version Dropdown",id:"add-a-version-dropdown",level:2},{value:"Update an existing version",id:"update-an-existing-version",level:2}];function l(e){let s={code:"code",h1:"h1",h2:"h2",header:"header",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"manage-docs-versions",children:"Manage Docs Versions"})}),"\n",(0,o.jsx)(s.p,{children:"Docusaurus can manage multiple versions of your docs."}),"\n",(0,o.jsx)(s.h2,{id:"create-a-docs-version",children:"Create a docs version"}),"\n",(0,o.jsx)(s.p,{children:"Release a version 1.0 of your project:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm run docusaurus docs:version 1.0\n"})}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"docs"})," folder is copied into ",(0,o.jsx)(s.code,{children:"versioned_docs/version-1.0"})," and ",(0,o.jsx)(s.code,{children:"versions.json"})," is created."]}),"\n",(0,o.jsx)(s.p,{children:"Your docs now have 2 versions:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.code,{children:"1.0"})," at ",(0,o.jsx)(s.code,{children:"http://localhost:3000/docs/"})," for the version 1.0 docs"]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.code,{children:"current"})," at ",(0,o.jsx)(s.code,{children:"http://localhost:3000/docs/next/"})," for the ",(0,o.jsx)(s.strong,{children:"upcoming, unreleased docs"})]}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"add-a-version-dropdown",children:"Add a Version Dropdown"}),"\n",(0,o.jsx)(s.p,{children:"To navigate seamlessly across versions, add a version dropdown."}),"\n",(0,o.jsxs)(s.p,{children:["Modify the ",(0,o.jsx)(s.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:'export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: "docsVersionDropdown",\n },\n // highlight-end\n ],\n },\n },\n};\n'})}),"\n",(0,o.jsx)(s.p,{children:"The docs version dropdown appears in your navbar:"}),"\n",(0,o.jsx)(s.p,{children:(0,o.jsx)(s.img,{alt:"Docs Version Dropdown",src:n(73652).Z+"",width:"370",height:"302"})}),"\n",(0,o.jsx)(s.h2,{id:"update-an-existing-version",children:"Update an existing version"}),"\n",(0,o.jsx)(s.p,{children:"It is possible to edit versioned docs in their respective folder:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.code,{children:"versioned_docs/version-1.0/hello.md"})," updates ",(0,o.jsx)(s.code,{children:"http://localhost:3000/docs/hello"})]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.code,{children:"docs/hello.md"})," updates ",(0,o.jsx)(s.code,{children:"http://localhost:3000/docs/next/hello"})]}),"\n"]})]})}function u(e={}){let{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},73652:function(e,s,n){n.d(s,{Z:function(){return r}});let r=n.p+"assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png"},50065:function(e,s,n){n.d(s,{Z:function(){return d},a:function(){return t}});var r=n(67294);let o={},i=r.createContext(o);function t(e){let s=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:t(e.components),r.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/9870.76e4cafc.js b/pr-preview/pr-5/assets/js/9870.76e4cafc.js new file mode 100644 index 0000000..46ffa22 --- /dev/null +++ b/pr-preview/pr-5/assets/js/9870.76e4cafc.js @@ -0,0 +1,63 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9870"],{17646:function(t,e,r){function a(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}r.d(e,{A:function(){return a}}),(0,r(5995).eW)(a,"populateCommonDb")},18825:function(t,e,r){r.d(e,{A:function(){return o}});var a=r(5995),o=class{constructor(t){this.init=t,this.records=this.init()}static{(0,a.eW)(this,"ImperativeState")}reset(){this.records=this.init()}}},56981:function(t,e,r){r.d(e,{diagram:function(){return tb}});var a=r(17646),o=r(18825),i=r(7690),c=r(5995),n=r(3194),s=r(27818),h={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},d=c.vZ.gitGraph,l=(0,c.eW)(()=>(0,i.Rb)({...d,...(0,c.iE)().gitGraph}),"getConfig"),$=new o.A(()=>{let t=l(),e=t.mainBranchName,r=t.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:r}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function m(){return(0,i.MX)({length:7})}function g(t,e){let r=Object.create(null);return t.reduce((t,a)=>{let o=e(a);return!r[o]&&(r[o]=!0,t.push(a)),t},[])}(0,c.eW)(m,"getID"),(0,c.eW)(g,"uniqBy");var y=(0,c.eW)(function(t){$.records.direction=t},"setDirection"),p=(0,c.eW)(function(t){c.cM.debug("options str",t),t=(t=t?.trim())||"{}";try{$.records.options=JSON.parse(t)}catch(t){c.cM.error("error while parsing gitGraph options",t.message)}},"setOptions"),f=(0,c.eW)(function(){return $.records.options},"getOptions"),x=(0,c.eW)(function(t){let e=t.msg,r=t.id,a=t.type,o=t.tags;c.cM.info("commit",e,r,a,o),c.cM.debug("Entering commit:",e,r,a,o);let i=l();r=c.SY.sanitizeText(r,i),e=c.SY.sanitizeText(e,i),o=o?.map(t=>c.SY.sanitizeText(t,i));let n={id:r||$.records.seq+"-"+m(),message:e,seq:$.records.seq++,type:a??h.NORMAL,tags:o??[],parents:null==$.records.head?[]:[$.records.head.id],branch:$.records.currBranch};$.records.head=n,c.cM.info("main branch",i.mainBranchName),$.records.commits.set(n.id,n),$.records.branches.set($.records.currBranch,n.id),c.cM.debug("in pushCommit "+n.id)},"commit"),u=(0,c.eW)(function(t){let e=t.name,r=t.order;if(e=c.SY.sanitizeText(e,l()),$.records.branches.has(e))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);$.records.branches.set(e,null!=$.records.head?$.records.head.id:null),$.records.branchConfig.set(e,{name:e,order:r}),B(e),c.cM.debug("in createBranch")},"branch"),b=(0,c.eW)(t=>{let e=t.branch,r=t.id,a=t.type,o=t.tags,i=l();e=c.SY.sanitizeText(e,i),r&&(r=c.SY.sanitizeText(r,i));let n=$.records.branches.get($.records.currBranch),s=$.records.branches.get(e),d=n?$.records.commits.get(n):void 0,g=s?$.records.commits.get(s):void 0;if(d&&g&&d.branch===e)throw Error(`Cannot merge branch '${e}' into itself.`);if($.records.currBranch===e){let t=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(void 0===d||!d){let t=Error(`Incorrect usage of "merge". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},t}if(!$.records.branches.has(e)){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},t}if(void 0===g||!g){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},t}if(d===g){let t=Error('Incorrect usage of "merge". Both branches have same head');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(r&&$.records.commits.has(r)){let t=Error('Incorrect usage of "merge". Commit with id:'+r+" already exists, use different custom Id");throw t.hash={text:`merge ${e} ${r} ${a} ${o?.join(" ")}`,token:`merge ${e} ${r} ${a} ${o?.join(" ")}`,expected:[`merge ${e} ${r}_UNIQUE ${a} ${o?.join(" ")}`]},t}let y={id:r||`${$.records.seq}-${m()}`,message:`merged branch ${e} into ${$.records.currBranch}`,seq:$.records.seq++,parents:null==$.records.head?[]:[$.records.head.id,s||""],branch:$.records.currBranch,type:h.MERGE,customType:a,customId:!!r,tags:o??[]};$.records.head=y,$.records.commits.set(y.id,y),$.records.branches.set($.records.currBranch,y.id),c.cM.debug($.records.branches),c.cM.debug("in mergeBranch")},"merge"),w=(0,c.eW)(function(t){let e=t.id,r=t.targetId,a=t.tags,o=t.parent;c.cM.debug("Entering cherryPick:",e,r,a);let i=l();if(e=c.SY.sanitizeText(e,i),r=c.SY.sanitizeText(r,i),a=a?.map(t=>c.SY.sanitizeText(t,i)),o=c.SY.sanitizeText(o,i),!e||!$.records.commits.has(e)){let t=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let n=$.records.commits.get(e);if(void 0===n||!n)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let s=n.branch;if(n.type===h.MERGE&&!o)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!r||!$.records.commits.has(r)){if(s===$.records.currBranch){let t=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let t=$.records.branches.get($.records.currBranch);if(void 0===t||!t){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let i=$.records.commits.get(t);if(void 0===i||!i){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${$.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let d={id:$.records.seq+"-"+m(),message:`cherry-picked ${n?.message} into ${$.records.currBranch}`,seq:$.records.seq++,parents:null==$.records.head?[]:[$.records.head.id,n.id],branch:$.records.currBranch,type:h.CHERRY_PICK,tags:a?a.filter(Boolean):[`cherry-pick:${n.id}${n.type===h.MERGE?`|parent:${o}`:""}`]};$.records.head=d,$.records.commits.set(d.id,d),$.records.branches.set($.records.currBranch,d.id),c.cM.debug($.records.branches),c.cM.debug("in cherryPick")}},"cherryPick"),B=(0,c.eW)(function(t){if(t=c.SY.sanitizeText(t,l()),$.records.branches.has(t)){$.records.currBranch=t;let e=$.records.branches.get($.records.currBranch);void 0!==e&&e?$.records.head=$.records.commits.get(e)??null:$.records.head=null}else{let e=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw e.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},e}},"checkout");function E(t,e,r){let a=t.indexOf(e);-1===a?t.push(r):t.splice(a,1,r)}function k(t){let e=t.reduce((t,e)=>t.seq>e.seq?t:e,t[0]),r="";t.forEach(function(t){t===e?r+=" *":r+=" |"});let a=[r,e.id,e.seq];for(let t in $.records.branches)$.records.branches.get(t)===e.id&&a.push(t);if(c.cM.debug(a.join(" ")),e.parents&&2==e.parents.length&&e.parents[0]&&e.parents[1]){let r=$.records.commits.get(e.parents[0]);E(t,e,r),e.parents[1]&&t.push($.records.commits.get(e.parents[1]))}else if(0==e.parents.length)return;else if(e.parents[0]){let r=$.records.commits.get(e.parents[0]);E(t,e,r)}k(t=g(t,t=>t.id))}(0,c.eW)(E,"upsert"),(0,c.eW)(k,"prettyPrintCommitHistory");var M=(0,c.eW)(function(){c.cM.debug($.records.commits),k([v()[0]])},"prettyPrint"),C=(0,c.eW)(function(){$.reset(),(0,c.ZH)()},"clear"),L=(0,c.eW)(function(){return[...$.records.branchConfig.values()].map((t,e)=>null!==t.order&&void 0!==t.order?t:{...t,order:parseFloat(`0.${e}`)}).sort((t,e)=>(t.order??0)-(e.order??0)).map(({name:t})=>({name:t}))},"getBranchesAsObjArray"),T=(0,c.eW)(function(){return $.records.branches},"getBranches"),W=(0,c.eW)(function(){return $.records.commits},"getCommits"),v=(0,c.eW)(function(){let t=[...$.records.commits.values()];return t.forEach(function(t){c.cM.debug(t.id)}),t.sort((t,e)=>t.seq-e.seq),t},"getCommitsArray"),R=(0,c.eW)(function(){return $.records.currBranch},"getCurrentBranch"),P=(0,c.eW)(function(){return $.records.direction},"getDirection"),A={commitType:h,getConfig:l,setDirection:y,setOptions:p,getOptions:f,commit:x,branch:u,merge:b,cherryPick:w,checkout:B,prettyPrint:M,clear:C,getBranchesAsObjArray:L,getBranches:T,getCommits:W,getCommitsArray:v,getCurrentBranch:R,getDirection:P,getHead:(0,c.eW)(function(){return $.records.head},"getHead"),setAccTitle:c.GN,getAccTitle:c.eu,getAccDescription:c.Mx,setAccDescription:c.U$,setDiagramTitle:c.g2,getDiagramTitle:c.Kr},I=(0,c.eW)((t,e)=>{for(let r of((0,a.A)(t,e),t.dir&&e.setDirection(t.dir),t.statements))G(r,e)},"populate"),G=(0,c.eW)((t,e)=>{let r={Commit:(0,c.eW)(t=>e.commit(S(t)),"Commit"),Branch:(0,c.eW)(t=>e.branch(O(t)),"Branch"),Merge:(0,c.eW)(t=>e.merge(q(t)),"Merge"),Checkout:(0,c.eW)(t=>e.checkout(H(t)),"Checkout"),CherryPicking:(0,c.eW)(t=>e.cherryPick(z(t)),"CherryPicking")}[t.$type];r?r(t):c.cM.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),S=(0,c.eW)(t=>({id:t.id,msg:t.message??"",type:void 0!==t.type?h[t.type]:h.NORMAL,tags:t.tags??void 0}),"parseCommit"),O=(0,c.eW)(t=>({name:t.name,order:t.order??0}),"parseBranch"),q=(0,c.eW)(t=>({branch:t.branch,id:t.id??"",type:void 0!==t.type?h[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),H=(0,c.eW)(t=>t.branch,"parseCheckout"),z=(0,c.eW)(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),Y={parse:(0,c.eW)(async t=>{let e=await (0,n.Qc)("gitGraph",t);c.cM.debug(e),I(e,A)},"parse")},D=(0,c.nV)(),N=D?.gitGraph,j=new Map,_=new Map,K=new Map,F=[],U=0,V="LR",Q=(0,c.eW)(()=>{j.clear(),_.clear(),K.clear(),U=0,F=[],V="LR"},"clear"),X=(0,c.eW)(t=>{let e=document.createElementNS("http://www.w3.org/2000/svg","text");return("string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach(t=>{let r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),r.setAttribute("class","row"),r.textContent=t.trim(),e.appendChild(r)}),e},"drawText"),Z=(0,c.eW)(t=>{let e,r,a;return"BT"===V?(r=(0,c.eW)((t,e)=>t<=e,"comparisonFunc"),a=1/0):(r=(0,c.eW)((t,e)=>t>=e,"comparisonFunc"),a=0),t.forEach(t=>{let o="TB"===V||"BT"==V?_.get(t)?.y:_.get(t)?.x;void 0!==o&&r(o,a)&&(e=t,a=o)}),e},"findClosestParent"),J=(0,c.eW)(t=>{let e="",r=1/0;return t.forEach(t=>{let a=_.get(t).y;a<=r&&(e=t,r=a)}),e||void 0},"findClosestParentBT"),tt=(0,c.eW)((t,e,r)=>{let a=r,o=r,i=[];t.forEach(t=>{let r=e.get(t);if(!r)throw Error(`Commit not found for key ${t}`);r.parents.length?o=Math.max(a=tr(r),o):i.push(r),ta(r,a)}),a=o,i.forEach(t=>{to(t,a,r)}),t.forEach(t=>{let r=e.get(t);if(r?.parents.length){let t=J(r.parents);(a=_.get(t).y-40)<=o&&(o=a);let e=j.get(r.branch).pos,i=a-10;_.set(r.id,{x:e,y:i})}})},"setParallelBTPos"),te=(0,c.eW)(t=>{let e=Z(t.parents.filter(t=>null!==t));if(!e)throw Error(`Closest parent not found for commit ${t.id}`);let r=_.get(e)?.y;if(void 0===r)throw Error(`Closest parent position not found for commit ${t.id}`);return r},"findClosestParentPos"),tr=(0,c.eW)(t=>te(t)+40,"calculateCommitPosition"),ta=(0,c.eW)((t,e)=>{let r=j.get(t.branch);if(!r)throw Error(`Branch not found for commit ${t.id}`);let a=r.pos,o=e+10;return _.set(t.id,{x:a,y:o}),{x:a,y:o}},"setCommitPosition"),to=(0,c.eW)((t,e,r)=>{let a=j.get(t.branch);if(!a)throw Error(`Branch not found for commit ${t.id}`);let o=a.pos;_.set(t.id,{x:o,y:e+r})},"setRootPosition"),ti=(0,c.eW)((t,e,r,a,o,i)=>{if(i===h.HIGHLIGHT)t.append("rect").attr("x",r.x-10).attr("y",r.y-10).attr("width",20).attr("height",20).attr("class",`commit ${e.id} commit-highlight${o%8} ${a}-outer`),t.append("rect").attr("x",r.x-6).attr("y",r.y-6).attr("width",12).attr("height",12).attr("class",`commit ${e.id} commit${o%8} ${a}-inner`);else if(i===h.CHERRY_PICK)t.append("circle").attr("cx",r.x).attr("cy",r.y).attr("r",10).attr("class",`commit ${e.id} ${a}`),t.append("circle").attr("cx",r.x-3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${a}`),t.append("circle").attr("cx",r.x+3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${a}`),t.append("line").attr("x1",r.x+3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${a}`),t.append("line").attr("x1",r.x-3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${a}`);else{let c=t.append("circle");if(c.attr("cx",r.x),c.attr("cy",r.y),c.attr("r",e.type===h.MERGE?9:10),c.attr("class",`commit ${e.id} commit${o%8}`),i===h.MERGE){let i=t.append("circle");i.attr("cx",r.x),i.attr("cy",r.y),i.attr("r",6),i.attr("class",`commit ${a} ${e.id} commit${o%8}`)}i===h.REVERSE&&t.append("path").attr("d",`M ${r.x-5},${r.y-5}L${r.x+5},${r.y+5}M${r.x-5},${r.y+5}L${r.x+5},${r.y-5}`).attr("class",`commit ${a} ${e.id} commit${o%8}`)}},"drawCommitBullet"),tc=(0,c.eW)((t,e,r,a)=>{if(e.type!==h.CHERRY_PICK&&(e.customId&&e.type===h.MERGE||e.type!==h.MERGE)&&N?.showCommitLabel){let o=t.append("g"),i=o.insert("rect").attr("class","commit-label-bkg"),c=o.append("text").attr("x",a).attr("y",r.y+25).attr("class","commit-label").text(e.id),n=c.node()?.getBBox();if(n&&(i.attr("x",r.posWithOffset-n.width/2-2).attr("y",r.y+13.5).attr("width",n.width+4).attr("height",n.height+4),"TB"===V||"BT"===V?(i.attr("x",r.x-(n.width+16+5)).attr("y",r.y-12),c.attr("x",r.x-(n.width+16)).attr("y",r.y+n.height-12)):c.attr("x",r.posWithOffset-n.width/2),N.rotateCommitLabel)){if("TB"===V||"BT"===V)c.attr("transform","rotate(-45, "+r.x+", "+r.y+")"),i.attr("transform","rotate(-45, "+r.x+", "+r.y+")");else{let t=-7.5-(n.width+10)/25*9.5,e=10+n.width/25*8.5;o.attr("transform","translate("+t+", "+e+") rotate(-45, "+a+", "+r.y+")")}}}},"drawCommitLabel"),tn=(0,c.eW)((t,e,r,a)=>{if(e.tags.length>0){let o=0,i=0,c=0,n=[];for(let a of e.tags.reverse()){let e=t.insert("polygon"),s=t.append("circle"),h=t.append("text").attr("y",r.y-16-o).attr("class","tag-label").text(a),d=h.node()?.getBBox();if(!d)throw Error("Tag bbox not found");i=Math.max(i,d.width),c=Math.max(c,d.height),h.attr("x",r.posWithOffset-d.width/2),n.push({tag:h,hole:s,rect:e,yOffset:o}),o+=20}for(let{tag:t,hole:e,rect:o,yOffset:s}of n){let n=c/2,h=r.y-19.2-s;if(o.attr("class","tag-label-bkg").attr("points",` + ${a-i/2-2},${h+2} + ${a-i/2-2},${h-2} + ${r.posWithOffset-i/2-4},${h-n-2} + ${r.posWithOffset+i/2+4},${h-n-2} + ${r.posWithOffset+i/2+4},${h+n+2} + ${r.posWithOffset-i/2-4},${h+n+2}`),e.attr("cy",h).attr("cx",a-i/2+2).attr("r",1.5).attr("class","tag-hole"),"TB"===V||"BT"===V){let c=a+s;o.attr("class","tag-label-bkg").attr("points",` + ${r.x},${c+2} + ${r.x},${c-2} + ${r.x+10},${c-n-2} + ${r.x+10+i+4},${c-n-2} + ${r.x+10+i+4},${c+n+2} + ${r.x+10},${c+n+2}`).attr("transform","translate(12,12) rotate(45, "+r.x+","+a+")"),e.attr("cx",r.x+2).attr("cy",c).attr("transform","translate(12,12) rotate(45, "+r.x+","+a+")"),t.attr("x",r.x+5).attr("y",c+3).attr("transform","translate(14,14) rotate(45, "+r.x+","+a+")")}}}},"drawCommitTags"),ts=(0,c.eW)(t=>{switch(t.customType??t.type){case h.NORMAL:return"commit-normal";case h.REVERSE:return"commit-reverse";case h.HIGHLIGHT:return"commit-highlight";case h.MERGE:return"commit-merge";case h.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),th=(0,c.eW)((t,e,r,a)=>{let o={x:0,y:0};if(t.parents.length>0){let r=Z(t.parents);if(r){let i=a.get(r)??o;return"TB"===e?i.y+40:"BT"===e?(a.get(t.id)??o).y-40:i.x+40}}else{if("TB"===e)return 30;if("BT"===e)return(a.get(t.id)??o).y-40}return 0},"calculatePosition"),td=(0,c.eW)((t,e,r)=>{let a="BT"===V&&r?e:e+10,o="TB"===V||"BT"===V?a:j.get(t.branch)?.pos,i="TB"===V||"BT"===V?j.get(t.branch)?.pos:a;if(void 0===i||void 0===o)throw Error(`Position were undefined for commit ${t.id}`);return{x:i,y:o,posWithOffset:a}},"getCommitPosition"),tl=(0,c.eW)((t,e,r)=>{if(!N)throw Error("GitGraph config not found");let a=t.append("g").attr("class","commit-bullets"),o=t.append("g").attr("class","commit-labels"),i="TB"===V||"BT"===V?30:0,n=[...e.keys()],s=N?.parallelCommits??!1,h=n.sort((0,c.eW)((t,r)=>{let a=e.get(t)?.seq,o=e.get(r)?.seq;return void 0!==a&&void 0!==o?a-o:0},"sortKeys"));"BT"===V&&(s&&tt(h,e,i),h=h.reverse()),h.forEach(t=>{let c=e.get(t);if(!c)throw Error(`Commit not found for key ${t}`);s&&(i=th(c,V,i,_));let n=td(c,i,s);if(r){let t=ts(c),e=c.customType??c.type,r=j.get(c.branch)?.index??0;ti(a,c,n,t,r,e),tc(o,c,n,i),tn(o,c,n,i)}"TB"===V||"BT"===V?_.set(c.id,{x:n.x,y:n.posWithOffset}):_.set(c.id,{x:n.posWithOffset,y:n.y}),(i="BT"===V&&s?i+40:i+40+10)>U&&(U=i)})},"drawCommits"),t$=(0,c.eW)((t,e,r,a,o)=>{let i=("TB"===V||"BT"===V?r.x<a.x:r.y<a.y)?e.branch:t.branch,n=(0,c.eW)(t=>t.branch===i,"isOnBranchToGetCurve"),s=(0,c.eW)(r=>r.seq>t.seq&&r.seq<e.seq,"isBetweenCommits");return[...o.values()].some(t=>s(t)&&n(t))},"shouldRerouteArrow"),tm=(0,c.eW)((t,e,r=0)=>{let a=t+Math.abs(t-e)/2;if(r>5)return a;if(F.every(t=>Math.abs(t-a)>=10))return F.push(a),a;let o=Math.abs(t-e);return tm(t,e-o/5,r+1)},"findLane"),tg=(0,c.eW)((t,e,r,a)=>{let o;let i=_.get(e.id),c=_.get(r.id);if(void 0===i||void 0===c)throw Error(`Commit positions not found for commits ${e.id} and ${r.id}`);let n=t$(e,r,i,c,a),s="",d="",l=0,$=0,m=j.get(r.branch)?.index;if(r.type===h.MERGE&&e.id!==r.parents[0]&&(m=j.get(e.branch)?.index),n){s="A 10 10, 0, 0, 0,",d="A 10 10, 0, 0, 1,",l=10,$=10;let t=i.y<c.y?tm(i.y,c.y):tm(c.y,i.y),r=i.x<c.x?tm(i.x,c.x):tm(c.x,i.x);"TB"===V?i.x<c.x?o=`M ${i.x} ${i.y} L ${r-l} ${i.y} ${d} ${r} ${i.y+$} L ${r} ${c.y-l} ${s} ${r+$} ${c.y} L ${c.x} ${c.y}`:(m=j.get(e.branch)?.index,o=`M ${i.x} ${i.y} L ${r+l} ${i.y} ${s} ${r} ${i.y+$} L ${r} ${c.y-l} ${d} ${r-$} ${c.y} L ${c.x} ${c.y}`):"BT"===V?i.x<c.x?o=`M ${i.x} ${i.y} L ${r-l} ${i.y} ${s} ${r} ${i.y-$} L ${r} ${c.y+l} ${d} ${r+$} ${c.y} L ${c.x} ${c.y}`:(m=j.get(e.branch)?.index,o=`M ${i.x} ${i.y} L ${r+l} ${i.y} ${d} ${r} ${i.y-$} L ${r} ${c.y+l} ${s} ${r-$} ${c.y} L ${c.x} ${c.y}`):i.y<c.y?o=`M ${i.x} ${i.y} L ${i.x} ${t-l} ${s} ${i.x+$} ${t} L ${c.x-l} ${t} ${d} ${c.x} ${t+$} L ${c.x} ${c.y}`:(m=j.get(e.branch)?.index,o=`M ${i.x} ${i.y} L ${i.x} ${t+l} ${d} ${i.x+$} ${t} L ${c.x-l} ${t} ${s} ${c.x} ${t-$} L ${c.x} ${c.y}`)}else s="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",l=20,$=20,"TB"===V?(i.x<c.x&&(o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y-l} ${s} ${i.x+$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${d} ${c.x} ${i.y+$} L ${c.x} ${c.y}`),i.x>c.x&&(s="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",l=20,$=20,o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y-l} ${d} ${i.x-$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x+l} ${i.y} ${s} ${c.x} ${i.y+$} L ${c.x} ${c.y}`),i.x===c.x&&(o=`M ${i.x} ${i.y} L ${c.x} ${c.y}`)):"BT"===V?(i.x<c.x&&(o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y+l} ${d} ${i.x+$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${s} ${c.x} ${i.y-$} L ${c.x} ${c.y}`),i.x>c.x&&(s="A 20 20, 0, 0, 0,",d="A 20 20, 0, 0, 1,",l=20,$=20,o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y+l} ${s} ${i.x-$} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${s} ${c.x} ${i.y-$} L ${c.x} ${c.y}`),i.x===c.x&&(o=`M ${i.x} ${i.y} L ${c.x} ${c.y}`)):(i.y<c.y&&(o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${d} ${c.x} ${i.y+$} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${i.x} ${c.y-l} ${s} ${i.x+$} ${c.y} L ${c.x} ${c.y}`),i.y>c.y&&(o=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${i.x} ${i.y} L ${c.x-l} ${i.y} ${s} ${c.x} ${i.y-$} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${i.x} ${c.y+l} ${d} ${i.x+$} ${c.y} L ${c.x} ${c.y}`),i.y===c.y&&(o=`M ${i.x} ${i.y} L ${c.x} ${c.y}`));if(void 0===o)throw Error("Line definition not found");t.append("path").attr("d",o).attr("class","arrow arrow"+m%8)},"drawArrow"),ty=(0,c.eW)((t,e)=>{let r=t.append("g").attr("class","commit-arrows");[...e.keys()].forEach(t=>{let a=e.get(t);a.parents&&a.parents.length>0&&a.parents.forEach(t=>{tg(r,e.get(t),a,e)})})},"drawArrows"),tp=(0,c.eW)((t,e)=>{let r=t.append("g");e.forEach((t,e)=>{let a=e%8,o=j.get(t.name)?.pos;if(void 0===o)throw Error(`Position not found for branch ${t.name}`);let i=r.append("line");i.attr("x1",0),i.attr("y1",o),i.attr("x2",U),i.attr("y2",o),i.attr("class","branch branch"+a),"TB"===V?(i.attr("y1",30),i.attr("x1",o),i.attr("y2",U),i.attr("x2",o)):"BT"===V&&(i.attr("y1",U),i.attr("x1",o),i.attr("y2",30),i.attr("x2",o)),F.push(o);let c=X(t.name),n=r.insert("rect"),s=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+a);s.node().appendChild(c);let h=c.getBBox();n.attr("class","branchLabelBkg label"+a).attr("rx",4).attr("ry",4).attr("x",-h.width-4-(N?.rotateCommitLabel===!0?30:0)).attr("y",-h.height/2+8).attr("width",h.width+18).attr("height",h.height+4),s.attr("transform","translate("+(-h.width-14-(N?.rotateCommitLabel===!0?30:0))+", "+(o-h.height/2-1)+")"),"TB"===V?(n.attr("x",o-h.width/2-10).attr("y",0),s.attr("transform","translate("+(o-h.width/2-5)+", 0)")):"BT"===V?(n.attr("x",o-h.width/2-10).attr("y",U),s.attr("transform","translate("+(o-h.width/2-5)+", "+U+")")):n.attr("transform","translate(-19, "+(o-h.height/2)+")")})},"drawBranches"),tf=(0,c.eW)(function(t,e,r,a,o){return j.set(t,{pos:e,index:r}),e+=50+(o?40:0)+("TB"===V||"BT"===V?a.width/2:0)},"setBranchPosition"),tx=(0,c.eW)(function(t,e,r,a){if(Q(),c.cM.debug("in gitgraph renderer",t+"\n","id:",e,r),!N)throw Error("GitGraph config not found");let o=N.rotateCommitLabel??!1,n=a.db;K=n.getCommits();let h=n.getBranchesAsObjArray();V=n.getDirection();let d=(0,s.Ys)(`[id="${e}"]`),l=0;h.forEach((t,e)=>{let r=X(t.name),a=d.append("g"),i=a.insert("g").attr("class","branchLabel"),c=i.insert("g").attr("class","label branch-label");c.node()?.appendChild(r);let n=r.getBBox();l=tf(t.name,l,e,n,o),c.remove(),i.remove(),a.remove()}),tl(d,K,!1),N.showBranches&&tp(d,h),ty(d,K),tl(d,K,!0),i.w8.insertTitle(d,"gitTitleText",N.titleTopMargin??0,n.getDiagramTitle()),(0,c.Rw)(void 0,d,N.diagramPadding,N.useMaxWidth)},"draw"),tu=(0,c.eW)(t=>` + .commit-id, + .commit-msg, + .branch-label { + fill: lightgrey; + color: lightgrey; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + } + ${[0,1,2,3,4,5,6,7].map(e=>` + .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; } + .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; } + .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; } + .label${e} { fill: ${t["git"+e]}; } + .arrow${e} { stroke: ${t["git"+e]}; } + `).join("\n")} + + .branch { + stroke-width: 1; + stroke: ${t.lineColor}; + stroke-dasharray: 2; + } + .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};} + .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; } + .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};} + .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; } + .tag-hole { fill: ${t.textColor}; } + + .commit-merge { + stroke: ${t.primaryColor}; + fill: ${t.primaryColor}; + } + .commit-reverse { + stroke: ${t.primaryColor}; + fill: ${t.primaryColor}; + stroke-width: 3; + } + .commit-highlight-outer { + } + .commit-highlight-inner { + stroke: ${t.primaryColor}; + fill: ${t.primaryColor}; + } + + .arrow { stroke-width: 8; stroke-linecap: round; fill: none} + .gitTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } +`,"getStyles"),tb={parser:Y,db:A,renderer:{draw:tx},styles:tu}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/992aa281.01a6bb4d.js b/pr-preview/pr-5/assets/js/992aa281.01a6bb4d.js new file mode 100644 index 0000000..feb1d40 --- /dev/null +++ b/pr-preview/pr-5/assets/js/992aa281.01a6bb4d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9277"],{45067:function(e,i,r){r.r(i),r.d(i,{metadata:()=>t,contentTitle:()=>m,default:()=>j,assets:()=>f,toc:()=>g,frontMatter:()=>u});var t=JSON.parse('{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","source":"@site/docs/spec/data/parcel_id.mdx","sourceDirName":"spec/data","slug":"/spec/data/parcel_id","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/parcel_id.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Event","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/event"},"next":{"title":"Process","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/process"}}'),a=r("85893"),n=r("50065"),s=r("45056"),l=r("98477"),d=r.n(l),c=r("47902"),o=r("5525"),h=JSON.parse('{"legal_description":"legal_description","parcel_name":"parcel_name","pid":[123456789,456789123],"pin":987654321}'),p=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/parcel_id.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","type":"object","properties":{"legal_description":{"type":"string","description":"The full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.","maxLength":2000},"parcel_name":{"type":"string","description":"The same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK."},"pid":{"type":"array","items":{"type":"integer","description":"Parcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.","minimum":0,"maximum":999999999},"minItems":1,"uniqueItems":true},"pin":{"type":"integer","description":"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.","minimum":0,"maximum":999999999}},"anyOf":[{"title":"pid","required":["pid"]},{"title":"pin","required":["pin"]}]}');let u={id:"parcel_id",title:"Parcel Identifier",description:"An identifier for a specific area with clear boundaries.",tags:["developer"]},m=void 0,f={},g=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"Parcel ID (PID)",id:"parcel-id-pid",level:3},{value:"References",id:"references",level:2}];function x(e){let i={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.p,{children:"An identifier for a specific area with clear boundaries."}),"\n",(0,a.jsx)(i.p,{children:"There a multiple ways to identify a parcel. Most common are the Parcel ID (PID) or Parcel Identification Number (PIN)."}),"\n",(0,a.jsx)(i.h2,{id:"scope",children:"Scope"}),"\n",(0,a.jsx)(i.p,{children:"Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the\nland title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being\nentered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier."}),"\n",(0,a.jsx)(i.p,{children:"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier."}),"\n",(0,a.jsx)(i.h2,{id:"structure",children:"Structure"}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsxs)(i.li,{children:["A valid Parcel Identifier shall at minimum contain either a ",(0,a.jsx)(i.code,{children:"pin"})," or at least one ",(0,a.jsx)(i.code,{children:"pid"}),"."]}),"\n",(0,a.jsxs)(i.li,{children:["A Parcel Identifier may contain a ",(0,a.jsx)(i.code,{children:"legal_description"})," and/or a ",(0,a.jsx)(i.code,{children:"parcel_name"}),"."]}),"\n"]}),"\n",(0,a.jsxs)(i.table,{children:[(0,a.jsx)(i.thead,{children:(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.th,{children:"Name"}),(0,a.jsx)(i.th,{children:"Cardinality"}),(0,a.jsx)(i.th,{children:"Type"}),(0,a.jsx)(i.th,{children:"Description & Constraints"})]})}),(0,a.jsxs)(i.tbody,{children:[(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"legal_description"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"string"})}),(0,a.jsx)(i.td,{children:"The full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"parcel_name"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"string"})}),(0,a.jsx)(i.td,{children:"The same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"pid"}),(0,a.jsx)(i.td,{children:"0..*"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"integer"})}),(0,a.jsx)(i.td,{children:"Parcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier."})]}),(0,a.jsxs)(i.tr,{children:[(0,a.jsx)(i.td,{children:"pin"}),(0,a.jsx)(i.td,{children:"0..1"}),(0,a.jsx)(i.td,{children:(0,a.jsx)(i.code,{children:"integer"})}),(0,a.jsx)(i.td,{children:"The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier."})]})]})]}),"\n",(0,a.jsx)(i.h2,{id:"specification",children:"Specification"}),"\n",(0,a.jsxs)(c.default,{queryString:"tab",children:[(0,a.jsx)(o.default,{value:"schema",label:"Schema",default:!0,children:(0,a.jsx)(d(),{schema:p,viewerOptions:{showExamples:!0}})}),(0,a.jsx)(o.default,{value:"source",label:"Source",children:(0,a.jsx)(s.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})}),(0,a.jsx)(o.default,{value:"example",label:"Example",children:(0,a.jsx)(s.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(h,null,2)})})]}),"\n",(0,a.jsx)(i.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,a.jsx)(i.h3,{id:"parcel-id-pid",children:"Parcel ID (PID)"}),"\n",(0,a.jsxs)(i.p,{children:["Parcel IDs are stored as numeric values from ",(0,a.jsx)(i.a,{href:"https://help.ltsa.ca/parcelmap-bc/parcels",children:"ParcelMap BC (PMBC)"}),". During\nthe PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes\npadded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see ",(0,a.jsx)(i.a,{href:"https://catalogue.data.gov.bc.ca/group/47fa4daf-78d1-4c64-a0d2-51638a04910d",children:"BC Data Catalogue"}),") and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes:"]}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsxs)(i.li,{children:[(0,a.jsx)(i.code,{children:"parcel_id_formatted"})," (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits."]}),"\n",(0,a.jsxs)(i.li,{children:[(0,a.jsx)(i.code,{children:"parcel_id_number"})," (numeric, 10): The Parcel ID as a number, without leading zeroes."]}),"\n"]}),"\n",(0,a.jsxs)(i.p,{children:["Should these alternatives be encountered, they must be transformed into a standard JSON ",(0,a.jsx)(i.code,{children:"integer"})," primitive type."]}),"\n",(0,a.jsx)(i.h2,{id:"references",children:"References"}),"\n",(0,a.jsxs)(i.ul,{children:["\n",(0,a.jsx)(i.li,{children:(0,a.jsx)(i.a,{href:"https://catalogue.data.gov.bc.ca/group/47fa4daf-78d1-4c64-a0d2-51638a04910d",children:"BC Data Catalogue"})}),"\n",(0,a.jsx)(i.li,{children:(0,a.jsx)(i.a,{href:"https://help.ltsa.ca/parcelmap-bc/parcels",children:"ParcelMap BC - Parcels"})}),"\n"]})]})}function j(e={}){let{wrapper:i}={...(0,n.a)(),...e.components};return i?(0,a.jsx)(i,{...e,children:(0,a.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/9990.85fe3b52.js b/pr-preview/pr-5/assets/js/9990.85fe3b52.js new file mode 100644 index 0000000..46dc739 --- /dev/null +++ b/pr-preview/pr-5/assets/js/9990.85fe3b52.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9990"],{74802:function(n,e,u){u.d(e,{Z:function(){return s}});let s=u(31336)},47936:function(){}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/a7456010.aa2fcbf9.js b/pr-preview/pr-5/assets/js/a7456010.aa2fcbf9.js new file mode 100644 index 0000000..950d19f --- /dev/null +++ b/pr-preview/pr-5/assets/js/a7456010.aa2fcbf9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7365"],{62050:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/a7bd4aaa.8577d8fc.js b/pr-preview/pr-5/assets/js/a7bd4aaa.8577d8fc.js new file mode 100644 index 0000000..aad2964 --- /dev/null +++ b/pr-preview/pr-5/assets/js/a7bd4aaa.8577d8fc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5211"],{58688:function(n,e,s){s.r(e),s.d(e,{default:()=>u});var r=s("85893");s("67294");var t=s("14713"),i=s("68529"),o=s("18790"),c=s("84315");function a(n){var e,s;let{version:i}=n;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{version:i.version,tag:(e=i.pluginId,s=i.version,`docs-${e}-${s}`)}),(0,r.jsx)(t.d,{children:i.noIndex&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(n){let{version:e,route:s}=n;return(0,r.jsx)(t.FG,{className:e.className,children:(0,r.jsx)(i.q,{version:e,children:(0,o.H)(s.routes)})})}function u(n){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a,{...n}),(0,r.jsx)(l,{...n})]})}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/a94703ab.f3460f41.js b/pr-preview/pr-5/assets/js/a94703ab.f3460f41.js new file mode 100644 index 0000000..ddbc127 --- /dev/null +++ b/pr-preview/pr-5/assets/js/a94703ab.f3460f41.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9914"],{32001:function(e,t,n){n.r(t),n.d(t,{default:()=>ec});var a=n("85893"),i=n("67294"),r=n("67026"),l=n("14713"),o=n("84681"),s=n("69369"),d=n("85609"),c=n("96025"),u=n("69599"),m=n("10346");let b={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function h(){let{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e,[n,a]=(0,i.useState)(!1),r=(0,i.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,u.Ct)();return(0,u.RF)((e,n)=>{let{scrollY:i}=e,l=n?.scrollY;if(!!l)r.current?r.current=!1:i>=l?(o(),a(!1)):i<t?a(!1):i+window.innerHeight<document.documentElement.scrollHeight&&a(!0)}),(0,m.S)(e=>{e.location.hash&&(r.current=!0,a(!1))}),{shown:n,scrollToTop:()=>l(0)}}({threshold:300});return(0,a.jsx)("button",{"aria-label":(0,c.translate)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,r.Z)("clean-btn",o.k.common.backToTopButton,b.backToTopButton,e&&b.backToTopButtonShow),type:"button",onClick:t})}var p=n("17504"),x=n("16550"),f=n("54704"),j=n("30140"),_=n("44987");function k(e){return(0,a.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,a.jsxs)("g",{fill:"#7a7a7a",children:[(0,a.jsx)("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"}),(0,a.jsx)("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"})]})})}let g="collapseSidebarButton_PEFL",v="collapseSidebarButtonIcon_kv0_";function S(e){let{onClick:t}=e;return(0,a.jsx)("button",{type:"button",title:(0,c.translate)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.translate)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,r.Z)("button button--secondary button--outline",g),onClick:t,children:(0,a.jsx)(k,{className:v})})}var C=n("22093"),N=n("85346");let T=Symbol("EmptyContext"),I=i.createContext(T);function L(e){let{children:t}=e,[n,r]=(0,i.useState)(null),l=(0,i.useMemo)(()=>({expandedItem:n,setExpandedItem:r}),[n]);return(0,a.jsx)(I.Provider,{value:l,children:t})}var Z=n("57455"),y=n("79246"),B=n("83012"),A=n("7227");function w(e){let{collapsed:t,categoryLabel:n,onClick:i}=e;return(0,a.jsx)("button",{"aria-label":t?(0,c.translate)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.translate)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),"aria-expanded":!t,type:"button",className:"clean-btn menu__caret",onClick:i})}function H(e){let{item:t,onItemClick:n,activePath:l,level:d,index:c,...u}=e,{items:m,label:b,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),_=function(e){let t=(0,A.Z)();return(0,i.useMemo)(()=>{if(e.href&&!e.linkUnlisted)return e.href;if(!t&&!!e.collapsible)return(0,s.LM)(e)},[e,t])}(t),k=(0,s._F)(t,l),g=(0,y.Mg)(x,l),{collapsed:v,setCollapsed:S}=(0,Z.u)({initialState:()=>!!h&&!k&&t.collapsed}),{expandedItem:C,setExpandedItem:L}=function(){let e=(0,i.useContext)(I);if(e===T)throw new N.i6("DocSidebarItemsExpandedStateProvider");return e}(),H=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!v;L(e?null:c),S(e)};return!function(e){let{isActive:t,collapsed:n,updateCollapsed:a}=e,r=(0,N.D9)(t);(0,i.useEffect)(()=>{t&&!r&&n&&a(!1)},[t,r,n,a])}({isActive:k,collapsed:v,updateCollapsed:H}),(0,i.useEffect)(()=>{h&&null!=C&&C!==c&&f&&S(!0)},[h,C,c,S,f]),(0,a.jsxs)("li",{className:(0,r.Z)(o.k.docs.docSidebarItemCategory,o.k.docs.docSidebarItemCategoryLevel(d),"menu__list-item",{"menu__list-item--collapsed":v},p),children:[(0,a.jsxs)("div",{className:(0,r.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":g}),children:[(0,a.jsx)(B.Z,{className:(0,r.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{n?.(t),x?H(!1):(e.preventDefault(),H())}:()=>{n?.(t)},"aria-current":g?"page":void 0,role:h&&!x?"button":void 0,"aria-expanded":h&&!x?!v:void 0,href:h?_??"#":_,...u,children:b}),x&&h&&(0,a.jsx)(w,{collapsed:v,categoryLabel:b,onClick:e=>{e.preventDefault(),H()}})]}),(0,a.jsx)(Z.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:v,children:(0,a.jsx)(V,{items:m,tabIndex:v?-1:0,onItemClick:n,activePath:l,level:d+1})})]})}var E=n("63150"),M=n("62425");let W={menuExternalLink:"menuExternalLink_NmtK"};function F(e){let{item:t,onItemClick:n,activePath:i,level:l,index:d,...c}=e,{href:u,label:m,className:b,autoAddBaseUrl:h}=t,p=(0,s._F)(t,i),x=(0,E.Z)(u);return(0,a.jsx)("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(l),"menu__list-item",b),children:(0,a.jsxs)(B.Z,{className:(0,r.Z)("menu__link",!x&&W.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:u,...x&&{onClick:n?()=>n(t):void 0},...c,children:[m,!x&&(0,a.jsx)(M.Z,{})]})},m)}let R={menuHtmlItem:"menuHtmlItem_M9Kj"};function D(e){let{item:t,level:n,index:i}=e,{value:l,defaultStyle:s,className:d}=t;return(0,a.jsx)("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(n),s&&[R.menuHtmlItem,"menu__list-item"],d),dangerouslySetInnerHTML:{__html:l}},i)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,a.jsx)(H,{item:t,...n});case"html":return(0,a.jsx)(D,{item:t,...n});default:return(0,a.jsx)(F,{item:t,...n})}}let V=(0,i.memo)(function(e){let{items:t,...n}=e,i=(0,s.f)(t,n.activePath);return(0,a.jsx)(L,{children:i.map((e,t)=>(0,a.jsx)(P,{item:e,index:t,...n},t))})}),U={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function K(e){let{path:t,sidebar:n,className:l}=e,s=function(){let{isActive:e}=(0,C.n)(),[t,n]=(0,i.useState)(e);return(0,u.RF)(t=>{let{scrollY:a}=t;e&&n(0===a)},[e]),e&&t}();return(0,a.jsx)("nav",{"aria-label":(0,c.translate)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,r.Z)("menu thin-scrollbar",U.menu,s&&U.menuWithAnnouncementBar,l),children:(0,a.jsx)("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:n,activePath:t,level:1})})})}let z={sidebar:"sidebar_njMd",sidebarWithHideableNavbar:"sidebarWithHideableNavbar_wUlq",sidebarHidden:"sidebarHidden_VK0M",sidebarLogo:"sidebarLogo_isFc"},G=i.memo(function(e){let{path:t,sidebar:n,onCollapse:i,isHidden:l}=e,{navbar:{hideOnScroll:o},docs:{sidebar:{hideable:s}}}=(0,j.L)();return(0,a.jsxs)("div",{className:(0,r.Z)(z.sidebar,o&&z.sidebarWithHideableNavbar,l&&z.sidebarHidden),children:[o&&(0,a.jsx)(_.Z,{tabIndex:-1,className:z.sidebarLogo}),(0,a.jsx)(K,{path:t,sidebar:n}),s&&(0,a.jsx)(S,{onClick:i})]})});var Y=n("11179"),q=n("71915");let J=e=>{let{sidebar:t,path:n}=e,i=(0,q.e)();return(0,a.jsx)("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&i.toggle(),"link"===e.type&&i.toggle()},level:1})})},O=i.memo(function(e){return(0,a.jsx)(Y.Zo,{component:J,props:e})});function Q(e){let t=(0,f.i)();return(0,a.jsxs)(a.Fragment,{children:[("desktop"===t||"ssr"===t)&&(0,a.jsx)(G,{...e}),"mobile"===t&&(0,a.jsx)(O,{...e})]})}let X="expandButton_TmdG",$="expandButtonIcon_i1dp";function ee(e){let{toggleSidebar:t}=e;return(0,a.jsx)("div",{className:X,title:(0,c.translate)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.translate)({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,children:(0,a.jsx)(k,{className:$})})}let et={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function en(e){let{children:t}=e,n=(0,d.V)();return(0,a.jsx)(i.Fragment,{children:t},n?.name??"noSidebar")}function ea(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:l}=e,{pathname:s}=(0,x.TH)(),[d,c]=(0,i.useState)(!1),u=(0,i.useCallback)(()=>{d&&c(!1),!d&&(0,p.n)()&&c(!0),l(e=>!e)},[l,d]);return(0,a.jsx)("aside",{className:(0,r.Z)(o.k.docs.docSidebarContainer,et.docSidebarContainer,n&&et.docSidebarContainerHidden),onTransitionEnd:e=>{if(!!e.currentTarget.classList.contains(et.docSidebarContainer))n&&c(!0)},children:(0,a.jsx)(en,{children:(0,a.jsxs)("div",{className:(0,r.Z)(et.sidebarViewport,d&&et.sidebarViewportHidden),children:[(0,a.jsx)(Q,{sidebar:t,path:s,onCollapse:u,isHidden:d}),d&&(0,a.jsx)(ee,{toggleSidebar:u})]})})})}let ei={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function er(e){let{hiddenSidebarContainer:t,children:n}=e,i=(0,d.V)();return(0,a.jsx)("main",{className:(0,r.Z)(ei.docMainContainer,(t||!i)&&ei.docMainContainerEnhanced),children:(0,a.jsx)("div",{className:(0,r.Z)("container padding-top--md padding-bottom--lg",ei.docItemWrapper,t&&ei.docItemWrapperEnhanced),children:n})})}let el="docRoot_UBD9",eo="docsWrapper_hBAB";function es(e){let{children:t}=e,n=(0,d.V)(),[r,l]=(0,i.useState)(!1);return(0,a.jsxs)("div",{className:eo,children:[(0,a.jsx)(h,{}),(0,a.jsxs)("div",{className:el,children:[n&&(0,a.jsx)(ea,{sidebar:n.items,hiddenSidebarContainer:r,setHiddenSidebarContainer:l}),(0,a.jsx)(er,{hiddenSidebarContainer:r,children:t})]})]})}var ed=n("74593");function ec(e){let t=(0,s.SN)(e);if(!t)return(0,a.jsx)(ed.Z,{});let{docElement:n,sidebarName:i,sidebarItems:c}=t;return(0,a.jsx)(l.FG,{className:(0,r.Z)(o.k.page.docsDocPage),children:(0,a.jsx)(d.b,{name:i,items:c,children:(0,a.jsx)(es,{children:n})})})}},74593:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(85893);n(67294);var i=n(67026),r=n(96025),l=n(34403);function o(e){let{className:t}=e;return(0,a.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,a.jsx)(l.Z,{as:"h1",className:"hero__title",children:(0,a.jsx)(r.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"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/pr-preview/pr-5/assets/js/aba21aa0.5546b266.js b/pr-preview/pr-5/assets/js/aba21aa0.5546b266.js new file mode 100644 index 0000000..02a12e1 --- /dev/null +++ b/pr-preview/pr-5/assets/js/aba21aa0.5546b266.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["5112"],{42418:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/b06371b7.b3819fe1.js b/pr-preview/pr-5/assets/js/b06371b7.b3819fe1.js new file mode 100644 index 0000000..9287bf0 --- /dev/null +++ b/pr-preview/pr-5/assets/js/b06371b7.b3819fe1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["3811"],{4809:function(e,i,t){t.r(i),t.d(i,{metadata:()=>n,contentTitle:()=>o,default:()=>h,assets:()=>d,toc:()=>c,frontMatter:()=>a});var n=JSON.parse('{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","source":"@site/docs/intro/terminology.md","sourceDirName":"intro","slug":"/intro/terminology","permalink":"/nr-pies/pr-preview/pr-5/docs/intro/terminology","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/intro/terminology.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732822808000,"frontMatter":{"id":"terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","tags":["business","developer"]},"sidebar":"docSidebar","previous":{"title":"Getting Started","permalink":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started"},"next":{"title":"Formatting","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/formatting"}}'),s=t("85893"),r=t("50065");let a={id:"terminology",title:"Terminology",description:"The definitions of specific technical terms and concepts used in PIES",tags:["business","developer"]},o=void 0,d={},c=[{value:"Acronyms",id:"acronyms",level:2},{value:"Concepts",id:"concepts",level:2},{value:"Actors",id:"actors",level:3},{value:"Definitions",id:"definitions",level:3},{value:"Process Tracking",id:"process-tracking",level:3},{value:"Structure",id:"structure",level:2}];function l(e){let i={h2:"h2",h3:"h3",mermaid:"mermaid",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.p,{children:"This page provides an overview and guide to the PIES resources, operations and concepts used for representing and\ncommunicating coded, structured data within this specification. Collectively, these concepts are used to provide a\ncommon definition and framework for traversing the coded concepts within PIES."}),"\n",(0,s.jsx)(i.h2,{id:"acronyms",children:"Acronyms"}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"})]})}),(0,s.jsx)(i.tbody,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"LOB"}),(0,s.jsx)(i.td,{children:"Line of Business"})]})})]}),"\n",(0,s.jsx)(i.h2,{id:"concepts",children:"Concepts"}),"\n",(0,s.jsx)(i.p,{children:"The following terms outline the main concepts used within this specification and aim to provide a common lexicon for\nunderstanding and terminology usage."}),"\n",(0,s.jsx)(i.h3,{id:"actors",children:"Actors"}),"\n",(0,s.jsx)(i.p,{children:"This section discusses the various roles that a person, group or an organization may act as within the context of PIES."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Applicant"}),(0,s.jsx)(i.td,{children:"A person, group or organization seeking an authorization to perform a set of activities."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Decision Maker"}),(0,s.jsx)(i.td,{children:"A statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Facilitator"}),(0,s.jsx)(i.td,{children:"An established role which focuses on delivering dedicated support to applicants on application submissions."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Interested Party"}),(0,s.jsx)(i.td,{children:"A person, or group which may be impacted by an authorization decision."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Local Government"}),(0,s.jsx)(i.td,{children:"A Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Navigator"}),(0,s.jsx)(i.td,{children:"A synonym for a facilitator."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Proponent"}),(0,s.jsx)(i.td,{children:"A synonym for an applicant."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Referral Agency"}),(0,s.jsx)(i.td,{children:"A provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Subject Matter Expert"}),(0,s.jsx)(i.td,{children:"A subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy."})]})]})]}),"\n",(0,s.jsx)(i.h3,{id:"definitions",children:"Definitions"}),"\n",(0,s.jsx)(i.p,{children:"This section outlines the definitions and common vocabulary used for representing specific concepts within PIES."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"}),(0,s.jsx)(i.th,{children:"???"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Activity"}),(0,s.jsx)(i.td,{children:"A specific singular defined intent of action within an area of intent as defined by a referral agency. An activity may require one or more authorizations, e.g., a housing development project. An activity may be associated with a project."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Activity Bundling"}),(0,s.jsx)(i.td,{children:"The act of identifying the set of permits required for a certain activity."}),(0,s.jsx)(i.td,{children:"This should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Application"}),(0,s.jsx)(i.td,{children:"A submitted form(s) with the intent to obtain or amend an authorization."}),(0,s.jsx)(i.td,{children:"This might be getting muddled with the concept of a project."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Area of Intent"}),(0,s.jsx)(i.td,{children:"A set of one or more parcels which define the location(s) an activity is to be performed."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Authorization"}),(0,s.jsx)(i.td,{children:"The act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title."}),(0,s.jsx)(i.td,{children:"We might need to expand this definition over time as this is the formal umbrella term for many things."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Caseload"}),(0,s.jsx)(i.td,{children:"Work happening with the LOB to facilitate, capture and maintain a permit."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Disposition"}),(0,s.jsx)(i.td,{children:"The final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state."}),(0,s.jsx)(i.td,{children:"First attempt at defining - needs review"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Parcel"}),(0,s.jsx)(i.td,{children:"A polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions."}),(0,s.jsx)(i.td,{children:"Rephrased from LTSA page"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Permit"}),(0,s.jsx)(i.td,{children:"An official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Project"}),(0,s.jsx)(i.td,{children:"An optional set of one or more activities as defined by an applicant."}),(0,s.jsx)(i.td,{})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Submission"}),(0,s.jsx)(i.td,{children:"The completed output of a single form as answered by an applicant."}),(0,s.jsx)(i.td,{children:'Add a note like "Submissions require an adjective declaring their application context"?'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Workload"}),(0,s.jsx)(i.td,{children:"A quantifiable measurement of the number of client-driven applications in the queue."}),(0,s.jsx)(i.td,{})]})]})]}),"\n",(0,s.jsx)(i.p,{children:"The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they\ninteract with specific parts of the process."}),"\n",(0,s.jsx)(i.mermaid,{value:'---\ntitle: Actor-Process Workflow\n---\n%% v11 broke and made all links have arrow heads\n%% Ref: https://github.com/mermaid-js/mermaid/issues/5813\nflowchart TB\n Activity@{ shape: dbl-circ }\n Applicant@{ shape: stadium }\n AOI@{ shape: rect, label: "Area of\n Interest" }\n DM@{ shape: stadium, label: "Decision\n Maker" }\n Facilitator@{ shape: stadium }\n IP@{ shape: stadium, label: "Interested\n Party" }\n Issues@{ shape: diamond }\n LG@{ shape: stadium, label: "Local\n Government" }\n Parcel@{ shape: docs }\n Permit@{ shape: docs }\n SME@{ shape: stadium, label: "Subject\n Matter Expert" }\n Submission@{ shape: docs }\n\n Activity ==>|Within an| AOI\n AOI ---|Defined by| Parcel\n Applicant --\x3e|Seeking| Activity\n Applicant --\x3e|May define a| Project\n Applicant ==>|Completes an| Application\n Application --\x3e|Requesting for an| Authorization\n Application ==>|Notifies| RA & DM\n Authorization ==>|Grants permission for| Activity\n Authorization --\x3e|May impact| IP\n DM ==> Issues ==> Authorization\n DM <-..->|Communicates with| LG\n Facilitator -.->|Identifies| Authorization\n Facilitator -.->|Assists| Applicant\n Facilitator <-.->|Coordinates with| DM\n Facilitator <-.->|Works with| SME\n IP <-..->|Consults with| DM\n Parcel ---|Constrains an| Authorization\n Project --\x3e|Specifies one or more| Activity\n Project -.-|Associated with| Application\n SME -.->|Informs| DM\n\n subgraph Application\n Submission\n end\n subgraph Authorization\n Permit\n end\n subgraph RA[Referral Agency]\n DM\n Facilitator\n LG\n SME\n end'}),"\n",(0,s.jsx)(i.h3,{id:"process-tracking",children:"Process Tracking"}),"\n",(0,s.jsx)(i.p,{children:"This section outlines the definitions and common vocabulary used for representing specific concepts within a process."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"}),(0,s.jsx)(i.th,{children:"???"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Lifecycle"}),(0,s.jsx)(i.td,{children:"Represents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end."}),(0,s.jsx)(i.td,{children:'Highest level concept; answers the "why"'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Phase"}),(0,s.jsx)(i.td,{children:"A distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle."}),(0,s.jsx)(i.td,{children:"Defines an ordering of related stages."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Stage"}),(0,s.jsx)(i.td,{children:"A discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase."}),(0,s.jsx)(i.td,{children:"Provides an ordering of higher level states within a phase of work"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"State"}),(0,s.jsx)(i.td,{children:'A description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.'}),(0,s.jsx)(i.td,{children:'Larger general "where is this at" concept'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Status"}),(0,s.jsx)(i.td,{children:'A description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.'}),(0,s.jsx)(i.td,{children:'Detailed "what is happening now" concept'})]})]})]}),"\n",(0,s.jsx)(i.p,{children:"The following diagram outlines a high level categorization map between all of the process terms and how they relate to\neach other."}),"\n",(0,s.jsx)(i.mermaid,{value:"---\ntitle: Process Tracking Concept Map\n---\nflowchart LR\n Status@{ shape: processes }\n\n subgraph Lifecycle\n subgraph Phase\n subgraph Stage\n subgraph State\n Status\n end\n end\n end\n end\n"}),"\n",(0,s.jsx)(i.h2,{id:"structure",children:"Structure"}),"\n",(0,s.jsx)(i.p,{children:"The following terms describe the structural definitions of the specification ordered from specific to general."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Term"}),(0,s.jsx)(i.th,{children:"Definition"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Data Type"}),(0,s.jsx)(i.td,{children:"A primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Identifiers"}),(0,s.jsx)(i.td,{children:'Identifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations.'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Vocabulary"}),(0,s.jsx)(i.td,{children:'A vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher."'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Schema"}),(0,s.jsx)(i.td,{children:"A schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"Format"}),(0,s.jsx)(i.td,{children:'The format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML.'})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:"API"}),(0,s.jsx)(i.td,{children:"An application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web."})]})]})]})]})}function h(e={}){let{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},50065:function(e,i,t){t.d(i,{Z:function(){return o},a:function(){return a}});var n=t(67294);let s={},r=n.createContext(s);function a(e){let i=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(i):{...i,...e}},[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/bb64f159.888be9fe.js b/pr-preview/pr-5/assets/js/bb64f159.888be9fe.js new file mode 100644 index 0000000..99204c7 --- /dev/null +++ b/pr-preview/pr-5/assets/js/bb64f159.888be9fe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["707"],{59437:function(e,t,s){s.r(t),s.d(t,{metadata:()=>n,contentTitle:()=>u,default:()=>g,assets:()=>m,toc:()=>f,frontMatter:()=>h});var n=JSON.parse('{"id":"spec/data/code","title":"Code","description":"A code type","source":"@site/docs/spec/data/code.mdx","sourceDirName":"spec/data","slug":"/spec/data/code","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/code","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/code.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"code","title":"Code","description":"A code type","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Data Types","permalink":"/nr-pies/pr-preview/pr-5/docs/category/data-types"},"next":{"title":"Event","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/event"}}'),i=s("85893"),r=s("50065"),a=s("45056"),c=s("98477"),d=s.n(c),o=s("47902"),l=s("5525"),p=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/code.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Code","description":"Code Data Type","type":"string","pattern":"^[^\\\\s]+( [^\\\\s]+)*$"}');let h={id:"code",title:"Code",description:"A code type",tags:["developer"]},u=void 0,m={},f=[{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function v(e){let t={code:"code",h2:"h2",p:"p",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"Indicates that the value is taken from a set of controlled strings defined elsewhere. Technically, a code is restricted\nto a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace\nother than single spaces in the contents."}),"\n",(0,i.jsx)(t.p,{children:"This data type is intended to represent a finite set of controlled strings which represents a specific, discrete\nconcept, element or idea."}),"\n",(0,i.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,i.jsxs)(t.p,{children:["Type: ",(0,i.jsx)(t.code,{children:"string"})]}),"\n",(0,i.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,i.jsxs)(o.default,{queryString:"tab",children:[(0,i.jsx)(l.default,{value:"schema",label:"Schema",default:!0,children:(0,i.jsx)(d(),{schema:p,viewerOptions:{showExamples:!0}})}),(0,i.jsx)(l.default,{value:"source",label:"Source",children:(0,i.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})]}),"\n",(0,i.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,i.jsx)(t.p,{children:"TBD"}),"\n",(0,i.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,i.jsx)(t.p,{children:"TBD"})]})}function g(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/c465dbe4.0dab84a3.js b/pr-preview/pr-5/assets/js/c465dbe4.0dab84a3.js new file mode 100644 index 0000000..449217d --- /dev/null +++ b/pr-preview/pr-5/assets/js/c465dbe4.0dab84a3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9201"],{51324:function(e,n,t){t.r(n),t.d(n,{metadata:()=>i,contentTitle:()=>o,default:()=>l,assets:()=>a,toc:()=>p,frontMatter:()=>c});var i=JSON.parse('{"id":"spec/concept/process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","source":"@site/docs/spec/concept/process_tracking.md","sourceDirName":"spec/concept","slug":"/spec/concept/process_tracking","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/concept/process_tracking.md","tags":[{"inline":false,"label":"Business","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/business","description":"Content related to business cases and rationale"},{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732929093000,"frontMatter":{"id":"process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","tags":["business","developer"]},"sidebar":"docSidebar","previous":{"title":"Concept Maps","permalink":"/nr-pies/pr-preview/pr-5/docs/category/concept-maps"},"next":{"title":"Data Types","permalink":"/nr-pies/pr-preview/pr-5/docs/category/data-types"}}'),s=t("85893"),r=t("50065");let c={id:"process_tracking",title:"Process Tracking",description:"A conceptual hierarchy for tracking a common process.",tags:["business","developer"]},o=void 0,a={},p=[{value:"Classifications",id:"classifications",level:2},{value:"Concept Map",id:"concept-map",level:2},{value:"Code Sets",id:"code-sets",level:2},{value:"Type Descriptors",id:"type-descriptors",level:2}];function d(e){let n={a:"a",h2:"h2",mermaid:"mermaid",p:"p",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.p,{children:"This page outlines the conceptual hierarchy and terminology embeddings which can describe the tracking of a process."}),"\n",(0,s.jsx)(n.h2,{id:"classifications",children:"Classifications"}),"\n",(0,s.jsxs)(n.p,{children:["Refer to the ",(0,s.jsx)(n.a,{href:"/docs/intro/terminology#process-tracking",children:"Process Tracking Terminology"})," to understand the definitions\nbehind each classification level."]}),"\n",(0,s.jsx)(n.h2,{id:"concept-map",children:"Concept Map"}),"\n",(0,s.jsx)(n.mermaid,{value:'---\ntitle: Process Concept Hierarchy\n---\nflowchart LR\n AppType@{ shape: comment, label: "New\n Amendment\n Transfer\n Cancel" }\n AuthType@{ shape: comment, label: "Permit\n License\n Right\n Grant"}\n\n Application --\x3e Screening\n Application --\x3e Submission\n Application --\x3e Review\n Application --\x3e Decision\n Application --\x3e Effect\n Application --\x3e AppType\n\n Authorization --\x3e Active\n Authorization --\x3e Inactive\n Authorization --\x3e Requested\n Authorization --\x3e Suspended\n Authorization --\x3e AuthType\n\n Submission --\x3e Draft\n Submission --\x3e Submitted\n Review --\x3e Assessment\n Review --\x3e OnHold\n Decision --\x3e Approved\n Decision --\x3e Denied\n Decision --\x3e Cancelled\n Decision --\x3e Abandoned\n Effect --\x3e Withdrawn\n Effect --\x3e Expired\n\n Assessment --\x3e UnderReview\n Assessment --\x3e InReferral\n Assessment --\x3e WithClient\n OnHold --\x3e Deferred\n OnHold --\x3e Paused\n Approved --\x3e Conditional\n Approved --\x3e Offered\n Approved --\x3e Issued\n\n State --\x3e Status\n\n subgraph Lifecycle\n Application\n Authorization\n end\n\n subgraph Type\n AppType\n AuthType\n end\n\n subgraph Phase\n Screening\n Submission\n Review\n Decision\n Effect\n Active\n Inactive\n Requested\n Suspended\n end\n\n subgraph Stage\n Draft\n Submitted\n Assessment\n OnHold\n Approved\n Denied\n Cancelled\n Abandoned\n Withdrawn\n Expired\n end\n\n subgraph State\n UnderReview\n InReferral\n WithClient\n Deferred\n Paused\n Conditional\n Offered\n Issued\n end'}),"\n",(0,s.jsx)(n.h2,{id:"code-sets",children:"Code Sets"}),"\n",(0,s.jsx)(n.p,{children:"Each classification within the context of a specific kind of lifecycle will have a codified and enumerated concept. TBD."}),"\n",(0,s.jsx)(n.h2,{id:"type-descriptors",children:"Type Descriptors"}),"\n",(0,s.jsx)(n.p,{children:"Each kind of lifecycle may be described by a type descriptor. For example, an application may be an amendment type, or\nit may be a transfer type. TBD"})]})}function l(e={}){let{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},50065:function(e,n,t){t.d(n,{Z:function(){return o},a:function(){return c}});var i=t(67294);let s={},r=i.createContext(s);function c(e){let n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/c8a3c648.ae8589ed.js b/pr-preview/pr-5/assets/js/c8a3c648.ae8589ed.js new file mode 100644 index 0000000..c7de5a0 --- /dev/null +++ b/pr-preview/pr-5/assets/js/c8a3c648.ae8589ed.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["252"],{39143:function(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docSidebar":[{"type":"category","label":"Introduction","collapsed":false,"items":[{"type":"link","label":"Getting Started","href":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started","docId":"intro/getting_started","unlisted":false},{"type":"link","label":"Terminology","href":"/nr-pies/pr-preview/pr-5/docs/intro/terminology","docId":"intro/terminology","unlisted":false}],"collapsible":true},{"type":"category","label":"Specification","collapsed":false,"items":[{"type":"link","label":"Formatting","href":"/nr-pies/pr-preview/pr-5/docs/spec/formatting","docId":"spec/formatting","unlisted":false},{"type":"category","label":"Concept Maps","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Process Tracking","href":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking","docId":"spec/concept/process_tracking","unlisted":false}],"href":"/nr-pies/pr-preview/pr-5/docs/category/concept-maps"},{"type":"category","label":"Data Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Code","href":"/nr-pies/pr-preview/pr-5/docs/spec/data/code","docId":"spec/data/code","unlisted":false},{"type":"link","label":"Event","href":"/nr-pies/pr-preview/pr-5/docs/spec/data/event","docId":"spec/data/event","unlisted":false},{"type":"link","label":"Parcel Identifier","href":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id","docId":"spec/data/parcel_id","unlisted":false},{"type":"link","label":"Process","href":"/nr-pies/pr-preview/pr-5/docs/spec/data/process","docId":"spec/data/process","unlisted":false},{"type":"link","label":"Project Bundle","href":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle","docId":"spec/data/project_bundle","unlisted":false}],"href":"/nr-pies/pr-preview/pr-5/docs/category/data-types"},{"type":"link","label":"Primitive Types","href":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types","docId":"spec/primitive_types","unlisted":false},{"type":"category","label":"Resource Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Process Event","href":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event","docId":"spec/resource/process_event","unlisted":false}],"href":"/nr-pies/pr-preview/pr-5/docs/category/resource-types"}],"collapsible":true}],"tutorialSidebar":[{"type":"category","label":"Docusaurus Tutorial","items":[{"type":"link","label":"Tutorial Intro","href":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro","docId":"docusaurus/intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page","docId":"docusaurus/tutorial_basics/create_a_page","unlisted":false},{"type":"link","label":"Create a Document","href":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document","docId":"docusaurus/tutorial_basics/create_a_document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post","docId":"docusaurus/tutorial_basics/create_a_blog_post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features","docId":"docusaurus/tutorial_basics/markdown_features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site","docId":"docusaurus/tutorial_basics/deploy_your_site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations","docId":"docusaurus/tutorial_basics/congratulations","unlisted":false}],"href":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions","docId":"docusaurus/tutorial_extras/manage_docs_versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site","docId":"docusaurus/tutorial_extras/translate_your_site","unlisted":false}],"href":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---extras"}],"collapsed":true,"collapsible":true}]},"docs":{"docusaurus/intro":{"id":"docusaurus/intro","title":"Tutorial Intro","description":"Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/congratulations":{"id":"docusaurus/tutorial_basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_blog_post":{"id":"docusaurus/tutorial_basics/create_a_blog_post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_document":{"id":"docusaurus/tutorial_basics/create_a_document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/create_a_page":{"id":"docusaurus/tutorial_basics/create_a_page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/deploy_your_site":{"id":"docusaurus/tutorial_basics/deploy_your_site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"tutorialSidebar"},"docusaurus/tutorial_basics/markdown_features":{"id":"docusaurus/tutorial_basics/markdown_features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional","sidebar":"tutorialSidebar"},"docusaurus/tutorial_extras/manage_docs_versions":{"id":"docusaurus/tutorial_extras/manage_docs_versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"tutorialSidebar"},"docusaurus/tutorial_extras/translate_your_site":{"id":"docusaurus/tutorial_extras/translate_your_site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"tutorialSidebar"},"intro/getting_started":{"id":"intro/getting_started","title":"Getting Started","description":"Introduction to the Natural Resource Sector PIES","sidebar":"docSidebar"},"intro/terminology":{"id":"intro/terminology","title":"Terminology","description":"The definitions of specific technical terms and concepts used in PIES","sidebar":"docSidebar"},"spec/concept/process_tracking":{"id":"spec/concept/process_tracking","title":"Process Tracking","description":"A conceptual hierarchy for tracking a common process.","sidebar":"docSidebar"},"spec/data/code":{"id":"spec/data/code","title":"Code","description":"A code type","sidebar":"docSidebar"},"spec/data/event":{"id":"spec/data/event","title":"Event","description":"Represents an event concept.","sidebar":"docSidebar"},"spec/data/parcel_id":{"id":"spec/data/parcel_id","title":"Parcel Identifier","description":"An identifier for a specific area with clear boundaries.","sidebar":"docSidebar"},"spec/data/process":{"id":"spec/data/process","title":"Process","description":"Represents a process concept.","sidebar":"docSidebar"},"spec/data/project_bundle":{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","sidebar":"docSidebar"},"spec/formatting":{"id":"spec/formatting","title":"Formatting","description":"The syntax, encoding and file format used by PIES","sidebar":"docSidebar"},"spec/primitive_types":{"id":"spec/primitive_types","title":"Primitive Types","description":"Fundamental basic data types supported by JSON Schema","sidebar":"docSidebar"},"spec/resource/process_event":{"id":"spec/resource/process_event","title":"Process Event","description":"Represents a process concept at a specific moment in time.","sidebar":"docSidebar"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/cac7846a.bf24fdab.js b/pr-preview/pr-5/assets/js/cac7846a.bf24fdab.js new file mode 100644 index 0000000..85e693a --- /dev/null +++ b/pr-preview/pr-5/assets/js/cac7846a.bf24fdab.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7455"],{52153:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Tutorial - Basics","description":"5 minutes to learn the most important Docusaurus concepts.","slug":"/category/tutorial---basics","permalink":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---basics","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Tutorial Intro","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro"},"next":{"title":"Create a Page","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page"}}}}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/d24490ca.78a0e545.js b/pr-preview/pr-5/assets/js/d24490ca.78a0e545.js new file mode 100644 index 0000000..fdd1039 --- /dev/null +++ b/pr-preview/pr-5/assets/js/d24490ca.78a0e545.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6125"],{88406:function(e){e.exports=JSON.parse('{"tags":[{"label":"Business","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/business","description":"Content related to business cases and rationale","count":3},{"label":"Executive","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/executive","description":"Content related to policies and strategic alignment","count":1},{"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation","count":10}]}')}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/d74d58d6.e0ef76e8.js b/pr-preview/pr-5/assets/js/d74d58d6.e0ef76e8.js new file mode 100644 index 0000000..7a8ec1e --- /dev/null +++ b/pr-preview/pr-5/assets/js/d74d58d6.e0ef76e8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["9417"],{15956:function(e,t,s){s.r(t),s.d(t,{metadata:()=>r,contentTitle:()=>l,default:()=>v,assets:()=>h,toc:()=>u,frontMatter:()=>d});var r=JSON.parse('{"id":"spec/resource/process_event","title":"Process Event","description":"Represents a process concept at a specific moment in time.","source":"@site/docs/spec/resource/process_event.mdx","sourceDirName":"spec/resource","slug":"/spec/resource/process_event","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/resource/process_event.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732929006000,"frontMatter":{"id":"process_event","title":"Process Event","description":"Represents a process concept at a specific moment in time.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Resource Types","permalink":"/nr-pies/pr-preview/pr-5/docs/category/resource-types"}}'),n=s("85893"),i=s("50065"),c=s("45056");s("98477");var a=s("47902"),o=s("5525"),p=JSON.parse('{"event":[{"start":"2017-01-01T00:00:00.000Z","end":"2017-01-02T00:00:00.000Z"},{"start":"2017-01-03T00:00:00.000Z"}],"process":{"class":"status","description":"The authorization request is under review by subject matter expert.","parent_class":"stage","parent_concept":"underreview","system":"http://bcgov.github.io/nr-pies/docs/concept/process_tracking","value":"pending review"}}');let d={id:"process_event",title:"Process Event",description:"Represents a process concept at a specific moment in time.",tags:["developer"]},l=void 0,h={},u=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function m(e){let t={a:"a",code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"Represents a process concept at a specific moment in time."}),"\n",(0,n.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,n.jsx)(t.p,{children:"This data type is intended to represent an instance of a temporal event within a defined process."}),"\n",(0,n.jsxs)(t.p,{children:["Loosely taking inspiration from ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/datatypes.html#timing",children:"HL7 Timing"}),"."]}),"\n",(0,n.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Cardinality"}),(0,n.jsx)(t.th,{children:"Type"}),(0,n.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"TBD"}),(0,n.jsx)(t.td,{children:"1..1"}),(0,n.jsx)(t.td,{children:(0,n.jsx)(t.code,{children:"string"})}),(0,n.jsx)(t.td,{children:"TBD"})]})})]}),"\n",(0,n.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,n.jsx)(a.default,{queryString:"tab",children:(0,n.jsx)(o.default,{value:"example",label:"Example",children:(0,n.jsx)(c.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})}),"\n",(0,n.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,n.jsx)(t.p,{children:"TBD"}),"\n",(0,n.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,n.jsx)(t.p,{children:"TBD"})]})}function v(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(m,{...e})}):m(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/df203c0f.f29e98af.js b/pr-preview/pr-5/assets/js/df203c0f.f29e98af.js new file mode 100644 index 0000000..17e80ae --- /dev/null +++ b/pr-preview/pr-5/assets/js/df203c0f.f29e98af.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["815"],{75094:function(e,n,t){t.d(n,{Z:()=>y});var i=t("85893"),l=t("67294"),r=t("67026"),a=t("96025"),s=t("84681");let o={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function c(e){let{type:n,className:t,children:l}=e;return(0,i.jsx)("div",{className:(0,r.Z)(s.k.common.admonition,s.k.common.admonitionType(n),o.admonition,t),children:l})}function d(e){let{icon:n,title:t}=e;return(0,i.jsxs)("div",{className:o.admonitionHeading,children:[(0,i.jsx)("span",{className:o.admonitionIcon,children:n}),t]})}function u(e){let{children:n}=e;return n?(0,i.jsx)("div",{className:o.admonitionContent,children:n}):null}function h(e){let{type:n,icon:t,title:l,children:r,className:a}=e;return(0,i.jsxs)(c,{type:n,className:a,children:[l||t?(0,i.jsx)(d,{title:l,icon:t}):null,(0,i.jsx)(u,{children:r})]})}let m={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function f(e){return(0,i.jsx)(h,{...m,...e,className:(0,r.Z)("alert alert--secondary",e.className),children:e.children})}let g={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function x(e){return(0,i.jsx)(h,{...g,...e,className:(0,r.Z)("alert alert--success",e.className),children:e.children})}let p={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function j(e){return(0,i.jsx)(h,{...p,...e,className:(0,r.Z)("alert alert--info",e.className),children:e.children})}function v(e){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,i.jsx)("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"})})}let b={icon:(0,i.jsx)(v,{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})},N={icon:(0,i.jsx)(function(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("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"})})},{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})},w={icon:(0,i.jsx)(v,{}),title:(0,i.jsx)(a.default,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})},T={note:f,tip:x,info:j,warning:function(e){return(0,i.jsx)(h,{...b,...e,className:(0,r.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,i.jsx)(h,{...N,...e,className:(0,r.Z)("alert alert--danger",e.className),children:e.children})},secondary:e=>(0,i.jsx)(f,{title:"secondary",...e}),important:e=>(0,i.jsx)(j,{title:"important",...e}),success:e=>(0,i.jsx)(x,{title:"success",...e}),caution:function(e){return(0,i.jsx)(h,{...w,...e,className:(0,r.Z)("alert alert--warning",e.className),children:e.children})}};function y(e){let n=function(e){let{mdxAdmonitionTitle:n,rest:t}=function(e){let n=l.Children.toArray(e),t=n.find(e=>l.isValidElement(e)&&"mdxAdmonitionTitle"===e.type),r=n.filter(e=>e!==t);return{mdxAdmonitionTitle:t?.props.children,rest:r.length>0?(0,i.jsx)(i.Fragment,{children:r}):null}}(e.children),r=e.title??n;return{...e,...r&&{title:r},children:t}}(e),t=function(e){let n=T[e];return n?n:(console.warn(`No admonition component found for admonition type "${e}". Using Info as fallback.`),T.info)}(n.type);return(0,i.jsx)(t,{...n})}},15133:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(85893);t(67294);var l=t(67026),r=t(30202),a=t(84681),s=t(75094);function o(e){let{className:n}=e;return(0,i.jsx)(s.Z,{type:"caution",title:(0,i.jsx)(r.cI,{}),className:(0,l.Z)(n,a.k.common.unlistedBanner),children:(0,i.jsx)(r.eU,{})})}function c(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.T$,{}),(0,i.jsx)(o,{...e})]})}},58223:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});var i=t(85893);t(67294);var l=t(67026),r=t(83012),a=t(43115),s=t(14713),o=t(84681),c=t(96025),d=t(84315),u=t(15133),h=t(34403);function m(e){let{doc:n}=e;return(0,i.jsxs)("article",{className:"margin-vert--lg",children:[(0,i.jsx)(r.Z,{to:n.permalink,children:(0,i.jsx)(h.Z,{as:"h2",children:n.title})}),n.description&&(0,i.jsx)("p",{children:n.description})]})}function f(e){let{title:n,tag:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.d,{title:n,description:t.description}),(0,i.jsx)(d.Z,{tag:"doc_tag_doc_list"})]})}function g(e){let{tag:n,title:t}=e;return(0,i.jsx)(s.FG,{className:(0,l.Z)(o.k.page.docsTagDocListPage),children:(0,i.jsx)("div",{className:"container margin-vert--lg",children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("main",{className:"col col--8 col--offset-2",children:[n.unlisted&&(0,i.jsx)(u.Z,{}),(0,i.jsxs)("header",{className:"margin-bottom--xl",children:[(0,i.jsx)(h.Z,{as:"h1",children:t}),n.description&&(0,i.jsx)("p",{children:n.description}),(0,i.jsx)(r.Z,{href:n.allTagsPath,children:(0,i.jsx)(c.default,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View all tags"})})]}),(0,i.jsx)("section",{className:"margin-vert--lg",children:n.items.map(e=>(0,i.jsx)(m,{doc:e},e.id))})]})})})})}function x(e){let n=function(e){let n=function(){let{selectMessage:e}=(0,a.c)();return n=>e(n,(0,c.translate)({id:"theme.docs.tagDocListPageTitle.nDocsTagged",description:'Pluralized label for "{count} docs tagged". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One doc tagged|{count} docs tagged"},{count:n}))}();return(0,c.translate)({id:"theme.docs.tagDocListPageTitle",description:"The title of the page for a docs tag",message:'{nDocsTagged} with "{tagName}"'},{nDocsTagged:n(e.tag.count),tagName:e.tag.label})}(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f,{...e,title:n}),(0,i.jsx)(g,{...e,title:n})]})}},30202:function(e,n,t){t.d(n,{T$:function(){return o},cI:function(){return a},eU:function(){return s},ht:function(){return c},xo:function(){return d}});var i=t(85893);t(67294);var l=t(96025),r=t(94819);function a(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function s(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function o(){return(0,i.jsx)(r.Z,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function c(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function d(){return(0,i.jsx)(l.default,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}},43115:function(e,n,t){t.d(n,{c:function(){return o}});var i=t(67294),l=t(2933);let r=["zero","one","two","few","many","other"];function a(e){return r.filter(n=>e.includes(n))}let s={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function o(){let e=function(){let{i18n:{currentLocale:e}}=(0,l.Z)();return(0,i.useMemo)(()=>{try{return function(e){let n=new Intl.PluralRules(e);return{locale:e,pluralForms:a(n.resolvedOptions().pluralCategories),select:e=>n.select(e)}}(e)}catch(n){return console.error(`Failed to use Intl.PluralRules for locale "${e}". +Docusaurus will fallback to the default (English) implementation. +Error: ${n.message} +`),s}},[e])}();return{selectMessage:(n,t)=>(function(e,n,t){let i=e.split("|");if(1===i.length)return i[0];i.length>t.pluralForms.length&&console.error(`For locale=${t.locale}, a maximum of ${t.pluralForms.length} plural forms are expected (${t.pluralForms.join(",")}), but the message contains ${i.length}: ${e}`);let l=t.select(n);return i[Math.min(t.pluralForms.indexOf(l),i.length-1)]})(t,n,e)}}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/fa6dc6d9.1c0b085d.js b/pr-preview/pr-5/assets/js/fa6dc6d9.1c0b085d.js new file mode 100644 index 0000000..59cd6b5 --- /dev/null +++ b/pr-preview/pr-5/assets/js/fa6dc6d9.1c0b085d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["7376"],{9905:function(e,t,r){r.r(t),r.d(t,{metadata:()=>i,contentTitle:()=>j,default:()=>b,assets:()=>m,toc:()=>f,frontMatter:()=>u});var i=JSON.parse('{"id":"spec/data/project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","source":"@site/docs/spec/data/project_bundle.mdx","sourceDirName":"spec/data","slug":"/spec/data/project_bundle","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/spec/data/project_bundle.mdx","tags":[{"inline":false,"label":"Developer","permalink":"/nr-pies/pr-preview/pr-5/docs/tags/developer","description":"Content related to technical structure and implementation"}],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1732325473000,"frontMatter":{"id":"project_bundle","title":"Project Bundle","description":"A set of one or more permits related to an activity.","tags":["developer"]},"sidebar":"docSidebar","previous":{"title":"Process","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/data/process"},"next":{"title":"Primitive Types","permalink":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types"}}'),s=r("85893"),n=r("50065"),a=r("45056"),o=r("98477"),c=r.n(o),d=r("47902"),l=r("5525"),p=JSON.parse('{"project_id":"c09d5aab-0f10-4727-a520-adbd57db084f","project_name":"The Hudson, Capitol Park","project_description":"project_description"}'),h=JSON.parse('{"$id":"https://github.com/bcgov/nr-pies/blob/main/docs/spec/types/project_bundle.schema.json","$schema":"https://json-schema.org/draft-07/schema","title":"Project Bundle","description":"An identifier for a specific area with clear boundaries.","type":"object","properties":{"project_id":{"type":"string","description":"A unique key to track all permits related to a project or activity across all permitting systems.","pattern":"/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i"},"project_name":{"type":"string","description":"Short name of the project."},"project_description":{"type":"string","description":"Full description of the project. This may contain information to better understand a project."}},"required":["project_id","project_name"]}');let u={id:"project_bundle",title:"Project Bundle",description:"A set of one or more permits related to an activity.",tags:["developer"]},j=void 0,m={},f=[{value:"Scope",id:"scope",level:2},{value:"Structure",id:"structure",level:2},{value:"Specification",id:"specification",level:2},{value:"Implementation Notes",id:"implementation-notes",level:2},{value:"References",id:"references",level:2}];function x(e){let t={code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"A set of one or more permits related to an activity."}),"\n",(0,s.jsx)(t.p,{children:"A project is defined by an activity with one or more permits. Grouping of a primary authorization with secondary or associated authorizations that are triggered or required by the primary authorization. For example: major mine permit (primary) and associated auxiliary (secondary) permits such as License to Cut, Water Use, and or Road Use."}),"\n",(0,s.jsx)(t.h2,{id:"scope",children:"Scope"}),"\n",(0,s.jsx)(t.p,{children:"This data type is intended to represent a grouping of related permits that are related to a specific activity."}),"\n",(0,s.jsx)(t.h2,{id:"structure",children:"Structure"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Cardinality"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description & Constraints"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"project_id"}),(0,s.jsx)(t.td,{children:"1..1"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"uuid"})}),(0,s.jsx)(t.td,{children:"A unique key to track all permits related to a project or activity across all permitting systems."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"project_name"}),(0,s.jsx)(t.td,{children:"1..1"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"string"})}),(0,s.jsx)(t.td,{children:"Short name of the project."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"project_description"}),(0,s.jsx)(t.td,{children:"0..1"}),(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"string"})}),(0,s.jsx)(t.td,{children:"Full description of the project. This may contain information to better understand a project."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"specification",children:"Specification"}),"\n",(0,s.jsxs)(d.default,{queryString:"tab",children:[(0,s.jsx)(l.default,{value:"schema",label:"Schema",default:!0,children:(0,s.jsx)(c(),{schema:h,viewerOptions:{showExamples:!0}})}),(0,s.jsx)(l.default,{value:"source",label:"Source",children:(0,s.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(h,null,2)})}),(0,s.jsx)(l.default,{value:"example",label:"Example",children:(0,s.jsx)(a.default,{language:"json",showLineNumbers:!0,children:JSON.stringify(p,null,2)})})]}),"\n",(0,s.jsx)(t.h2,{id:"implementation-notes",children:"Implementation Notes"}),"\n",(0,s.jsx)(t.p,{children:"TBD"}),"\n",(0,s.jsx)(t.h2,{id:"references",children:"References"}),"\n",(0,s.jsx)(t.p,{children:"TBD"})]})}function b(e={}){let{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(x,{...e})}):x(e)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/fe557f77.1db3ccd8.js b/pr-preview/pr-5/assets/js/fe557f77.1db3ccd8.js new file mode 100644 index 0000000..1ba29b1 --- /dev/null +++ b/pr-preview/pr-5/assets/js/fe557f77.1db3ccd8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["249"],{15775:function(e,n,r){r.r(n),r.d(n,{metadata:()=>t,contentTitle:()=>i,default:()=>u,assets:()=>l,toc:()=>d,frontMatter:()=>o});var t=JSON.parse('{"id":"docusaurus/tutorial_extras/translate_your_site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","source":"@site/docs/docusaurus/tutorial_extras/translate_your_site.md","sourceDirName":"docusaurus/tutorial_extras","slug":"/docusaurus/tutorial_extras/translate_your_site","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site","draft":false,"unlisted":false,"editUrl":"https://github.com/bcgov/nr-pies/tree/main/docs/docusaurus/tutorial_extras/translate_your_site.md","tags":[],"version":"current","lastUpdatedBy":"Jeremy Ho","lastUpdatedAt":1730421483000,"sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Manage Docs Versions","permalink":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions"}}'),s=r("85893"),a=r("50065");let o={sidebar_position:2},i="Translate your site",l={},d=[{value:"Configure i18n",id:"configure-i18n",level:2},{value:"Translate a doc",id:"translate-a-doc",level:2},{value:"Start your localized site",id:"start-your-localized-site",level:2},{value:"Add a Locale Dropdown",id:"add-a-locale-dropdown",level:2},{value:"Build your localized site",id:"build-your-localized-site",level:2}];function c(e){let n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",header:"header",img:"img",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"translate-your-site",children:"Translate your site"})}),"\n",(0,s.jsxs)(n.p,{children:["Let's translate ",(0,s.jsx)(n.code,{children:"docs/intro.md"})," to French."]}),"\n",(0,s.jsx)(n.h2,{id:"configure-i18n",children:"Configure i18n"}),"\n",(0,s.jsxs)(n.p,{children:["Modify ",(0,s.jsx)(n.code,{children:"docusaurus.config.js"})," to add support for the ",(0,s.jsx)(n.code,{children:"fr"})," locale:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"export default {\n i18n: {\n defaultLocale: 'en',\n locales: ['en', 'fr'],\n },\n};\n"})}),"\n",(0,s.jsx)(n.h2,{id:"translate-a-doc",children:"Translate a doc"}),"\n",(0,s.jsxs)(n.p,{children:["Copy the ",(0,s.jsx)(n.code,{children:"docs/intro.md"})," file to the ",(0,s.jsx)(n.code,{children:"i18n/fr"})," folder:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/\n\ncp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md\n"})}),"\n",(0,s.jsxs)(n.p,{children:["Translate ",(0,s.jsx)(n.code,{children:"i18n/fr/docusaurus-plugin-content-docs/current/intro.md"})," in French."]}),"\n",(0,s.jsx)(n.h2,{id:"start-your-localized-site",children:"Start your localized site"}),"\n",(0,s.jsx)(n.p,{children:"Start your site on the French locale:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm run start -- --locale fr\n"})}),"\n",(0,s.jsxs)(n.p,{children:["Your localized site is accessible at ",(0,s.jsx)(n.a,{href:"http://localhost:3000/fr/",children:"http://localhost:3000/fr/"})," and the ",(0,s.jsx)(n.code,{children:"Getting Started"})," page is translated."]}),"\n",(0,s.jsx)(n.admonition,{type:"caution",children:(0,s.jsx)(n.p,{children:"In development, you can only use one locale at a time."})}),"\n",(0,s.jsx)(n.h2,{id:"add-a-locale-dropdown",children:"Add a Locale Dropdown"}),"\n",(0,s.jsx)(n.p,{children:"To navigate seamlessly across languages, add a locale dropdown."}),"\n",(0,s.jsxs)(n.p,{children:["Modify the ",(0,s.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'localeDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,s.jsx)(n.p,{children:"The locale dropdown now appears in your navbar:"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.img,{alt:"Locale Dropdown",src:r(6750).Z+"",width:"370",height:"302"})}),"\n",(0,s.jsx)(n.h2,{id:"build-your-localized-site",children:"Build your localized site"}),"\n",(0,s.jsx)(n.p,{children:"Build your site for a specific locale:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm run build -- --locale fr\n"})}),"\n",(0,s.jsx)(n.p,{children:"Or build your site to include all the locales at once:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"npm run build\n"})})]})}function u(e={}){let{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},6750:function(e,n,r){r.d(n,{Z:function(){return t}});let t=r.p+"assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png"},50065:function(e,n,r){r.d(n,{Z:function(){return i},a:function(){return o}});var t=r(67294);let s={},a=t.createContext(s);function o(e){let n=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/main.8ad5c45b.js b/pr-preview/pr-5/assets/js/main.8ad5c45b.js new file mode 100644 index 0000000..941c1bf --- /dev/null +++ b/pr-preview/pr-5/assets/js/main.8ad5c45b.js @@ -0,0 +1,36 @@ +(self.webpackChunknr_pies=self.webpackChunknr_pies||[]).push([["6909"],{3601:function(e,t,n){"use strict";n.r(t)},17686:function(e,t,n){"use strict";n.r(t)},31381:function(e,t,n){"use strict";n.d(t,{PP:()=>j,Ep:()=>p,lX:()=>w,q_:()=>C,ob:()=>f});var r=n("16019");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()}let 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,p=i.length;p>=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");u&&""!==i[0]&&(!i[0]||!a(i[0]))&&i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n("21835");function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){var n,r;return(n=e,r=t,0===n.toLowerCase().indexOf(r.toLowerCase())&&-1!=="/?#".indexOf(n.charAt(r.length)))?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(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 f(e,t,n,a){var o,l,s,u,c,d;if("string"==typeof e){;s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t}else 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(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}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 h(){var e=null,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=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var g=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function m(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t,n=window.history;var 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,x=i.getUserConfirmation,k=void 0===x?m:x,S=i.keyLength,_=void 0===S?6:S,E=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return E&&(o=c(o,E)),f(o,r,n)}function T(){return Math.random().toString(36).substr(2,_)}var j=h();function N(e){(0,r.Z)(B,e),B.length=n.length,j.notifyListeners(B.location,B.action)}function O(e){if(!(void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")))L(C(e.state))}function P(){L(C(v()))}var A=!1;function L(e){A?(A=!1,N()):j.confirmTransitionTo(e,"POP",k,function(t){t?N({action:"POP",location:e}):function(e){var t=B.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&&(A=!0,M(a))}(e)})}var R=C(v()),I=[R.key];function F(e){return E+p(e)}function M(e){n.go(e)}var D=0;function z(e){1===(D+=e)&&1===e?(window.addEventListener(y,O),o&&window.addEventListener(b,P)):0===D&&(window.removeEventListener(y,O),o&&window.removeEventListener(b,P))}var $=!1,B={length:n.length,action:"POP",location:R,createHref:F,push:function(e,t){var r="PUSH",o=f(e,t,T(),B.location);j.confirmTransitionTo(o,r,k,function(e){if(e){var t=F(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(B.location.key),u=I.slice(0,s+1);u.push(o.key),I=u,N({action:r,location:o})}}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",o=f(e,t,T(),B.location);j.confirmTransitionTo(o,r,k,function(e){if(e){var t=F(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(B.location.key);-1!==s&&(I[s]=o.key),N({action:r,location:o})}}else window.location.replace(t)}})},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return!$&&(z(1),$=!0),function(){return $&&($=!1,z(-1)),t()}},listen:function(e){var t=j.appendListener(e);return z(1),function(){z(-1),t()}}};return B}var x="hashchange",k={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 _(){var e=window.location.href,t=e.indexOf("#");return -1===t?"":e.substring(t+1)}function E(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t=window.history;window.navigator.userAgent.indexOf("Firefox");var n=e,a=n.getUserConfirmation,o=void 0===a?m:a,i=n.hashType,u=e.basename?d(s(e.basename)):"",y=k[void 0===i?"slash":i],b=y.encodePath,v=y.decodePath;function w(){var e=v(_());return u&&(e=c(e,u)),f(e)}var C=h();function T(e){(0,r.Z)(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var j=!1,N=null;function O(){var e=_(),t=b(e);if(e!==t)E(t);else{var n,r,a=w(),i=z.location;if(!j&&(n=i,r=a,n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash)||N===p(a))return;N=null,function(e){j?(j=!1,T()):C.confirmTransitionTo(e,"POP",o,function(t){t?T({action:"POP",location:e}):function(e){var t=z.location,n=R.lastIndexOf(p(t));-1===n&&(n=0);var r=R.lastIndexOf(p(e));-1===r&&(r=0);var a=n-r;a&&(j=!0,I(a))}(e)})}(a)}}var P=_(),A=b(P);P!==A&&E(A);var L=w(),R=[p(L)];function I(e){t.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?window.addEventListener(x,O):0===F&&window.removeEventListener(x,O)}var D=!1,z={length:t.length,action:"POP",location:L,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+b(u+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=p(r),a=b(u+t);if(_()!==a){N=t,o=a,window.location.hash=o;var o,i=R.lastIndexOf(p(z.location)),l=R.slice(0,i+1);l.push(t),R=l,T({action:n,location:r})}else T()}})},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=p(r),a=b(u+t);_()!==a&&(N=t,E(a));var o=R.indexOf(p(z.location));-1!==o&&(R[o]=t),T({action:n,location:r})}})},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return!D&&(M(1),D=!0),function(){return D&&(D=!1,M(-1)),t()}},listen:function(e){var t=C.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function T(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=t.keyLength,s=void 0===l?6:l,u=h();function c(e){(0,r.Z)(b,e),b.length=b.entries.length,u.notifyListeners(b.location,b.action)}function d(){return Math.random().toString(36).substr(2,s)}var g=T(void 0===i?0:i,0,o.length-1),m=o.map(function(e){return"string"==typeof e?f(e,void 0,d()):f(e,void 0,e.key||d())});function y(e){var t=T(b.index+e,0,b.entries.length-1),r=b.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?c({action:"POP",location:r,index:t}):c()})}var b={length:m.length,action:"POP",location:m[g],index:g,entries:m,createHref:p,push:function(e,t){var r="PUSH",a=f(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){if(e){var t=b.index+1,n=b.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),c({action:r,location:a,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",a=f(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){e&&(b.entries[b.index]=a,c({action:r,location:a}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t<b.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return b}},8679:function(e,t,n){"use strict";var r=n(59864),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,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=f(n);a&&a!==h&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),m=0;m<i.length;++m){var y=i[m];if(!o[y]&&!(r&&r[y])&&!(g&&g[y])&&!(l&&l[y])){var b=p(n,y);try{u(t,y,b)}catch(e){}}}}return t}},41143:function(e){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=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=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},813:function(e){var t,n;t=0,n=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=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},a=function(){function e(n){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=void 0,t=[];return void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):e=Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:e=[],e.forEach(function(e){var n=t.filter(function(t){return t.contains(e)}).length>0;-1===t.indexOf(e)&&!n&&t.push(e)}),t}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{!r.isIframeBlank(e)&&(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){!--r&&t()})},function(e){!e&&t()})}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),l=i.length,s=0;i=Array.prototype.slice.call(i);var u=function(){--l<=0&&o(s)};!l&&u(),i.forEach(function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,function(e){n(t)&&(s++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return(r.forEach(function(e,t){e.val===n&&(a=t,o=e.handled)}),this.compareNodeIframe(e,t,n))?(!1!==a||o?!1!==a&&!o&&(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach(function(e){!e.handled&&a.getIframeContents(e.val,function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){var o,i=this,l=this.createIterator(t,e,r),s=[],u=[],c=void 0,d=void 0;for(;d=(o=i.getIteratorNode(l)).prevNode,c=o.node;)this.iframes&&this.forEachIframe(t,function(e){return i.checkIframeFilter(c,d,e,s)},function(t){i.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(c);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;!i&&a(),o.forEach(function(o){var l=function(){r.iterateThroughNodes(e,o,t,n,function(){--i<=0&&a()})};r.iframes?r.waitForIframes(o,l):l()})}}],[{key:"matches",value:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!n)return!1;var r=!1;return("string"==typeof t?[t]:t).every(function(t){return!n.call(e,t)||(r=!0,!1)}),r}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;if(!!this.opt.debug)(void 0===r?"undefined":e(r))==="object"&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==l&&(e=e.replace(RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(l)+")","gm"+n),r+("("+this.processSynomyms(i))+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105","A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010D","C\xc7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119","E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012B","I\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014D","O\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016B","U\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xff","Y\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010DC\xc7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012BI\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014DO\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016BU\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xffY\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],r=[];return e.split("").forEach(function(a){n.every(function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,a="string"==typeof n?[]:n.limiters,o="";switch(a.forEach(function(e){o+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(o="\\s"+(o||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf")))+"]*"+e+"[^"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,l=parseInt(e.start,10)-i;return(r=(l=l>o?o:l)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),l<0||r-l<0||l>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every(function(i,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),p=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+p,e.nodes.forEach(function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)}),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0})}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];){if(!!n(a[i],t)){var l=a.index;if(0!==i)for(var s=1;s<i;s++)l+=a[s].length;r((t=o.wrapRangeInTextNode(t,l,l+a[i].length)).previousSibling),e.lastIndex=0}}}),a()})}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){for(var l=void 0;null!==(l=e.exec(t.value))&&""!==l[i];){var s=l.index;if(0!==i)for(var u=1;u<i;u++)s+=l[u].length;var c=s+l[i].length;o.wrapRangeInMappedTextNode(t,s,c,function(e){return n(l[i],e)},function(t,n){e.lastIndex=n,r(t)})}a()})}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var a=this;this.getTextNodes(function(o){var i=o.value.length;e.forEach(function(e,r){var l=a.checkWhitespaceRanges(e,i,o.value),s=l.start,u=l.end;l.valid&&a.wrapRangeInMappedTextNode(o,s,u,function(n){return t(n,e,o.value.substring(s,u),r)},function(t){n(t,e)})}),r()})}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(!!e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,a="wrapMatches";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,function(e,t){return n.opt.filter(t,e,r)},function(e){r++,n.opt.each(e)},function(){0===r&&n.opt.noMatch(e),n.opt.done(r)})}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,a="wrapMatches",o=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=o.keywords,l=o.length,s=this.opt.caseSensitive?"":"i";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===l?this.opt.done(r):!function e(t){var o=RegExp(n.createRegExp(t),"gm"+s),u=0;n.log('Searching with expression "'+o+'"'),n[a](o,1,function(e,a){return n.opt.filter(a,t,r,u)},function(e){u++,r++,n.opt.each(e)},function(){0===u&&n.opt.noMatch(t),i[l-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])})}(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,function(e,t,r,a){return n.opt.filter(e,t,r,a)},function(e,t){r++,n.opt.each(e,t)},function(){n.opt.done(r)})):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(e){t.unwrapMatches(e)},function(e){var r=a.matches(e,n),o=t.matchesExclude(e);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new a(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();return function(e){var t=this,n=new o(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}},e.exports=n()},74865:function(e){var t,n;t=0,n=function(){var e,t,n,r={};r.version="0.2.0";var a=r.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 o(e,t,n){return e<t?t:e>n?n:e}function i(e){return(-1+e)*100}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();e=o(e,a.minimum,1),r.status=1===e?null:e;var n=r.render(!t),i=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,l(function(t){""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),s(i,function(e,t,n){var r;if("translate3d"===a.positionUsing)r={transform:"translate3d("+(-1+e)*100+"%,0,0)"};else if("translate"===a.positionUsing)r={transform:"translate("+(-1+e)*100+"%,0)"};else r={"margin-left":(-1+e)*100+"%"};return r.transition="all "+t+"ms "+n,r}(e,u,c)),1===e?(s(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){s(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){!r.status&&r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,o=t.querySelector(a.barSelector),i=e?"-100":function(e){return(-1+e)*100}(r.status||0),l=document.querySelector(a.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&f(n),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.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=(n=[],function(e){n.push(e),1==n.length&&!function e(){var t=n.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){r=function(n){return t[n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[n]=function(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}(n))}(r),n.style[r]=a}return function(e,t){var r,a,o=arguments;if(2==o.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;!u(n,t)&&(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r},"function"==typeof define&&define.amd?define(n):e.exports=n()},14779:function(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=d;var a=RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var c=n[0],d=n[1],p=n.index;if(l+=e.slice(i,p),i=p+c.length,d){l+=d[1];continue}var f=e[i],h=n[2],g=n[3],m=n[4],y=n[5],b=n[6],v=n[7];l&&(r.push(l),l="");var w=null!=h&&null!=f&&f!==h,x="+"===b||"*"===b,k="?"===b||"*"===b,S=h||u,_=m||y,E=h||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||o++,prefix:h||"",delimiter:S,optional:k,repeat:x,partial:w,asterisk:!!v,pattern:_?function(e){return e.replace(/([=!:$\/()])/g,"\\$1")}(_):v?".*":function(e,t){return!t||t.indexOf(e)>-1?"[^"+s(e)+"]+?":s(t)+"|(?:(?!"+s(t)+")[^"+s(e)+"])+?"}(S,E)})}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=Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=RegExp("^(?:"+e[a].pattern+")$",c(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c,d=e[u];if("string"==typeof d){o+=d;continue}var p=l[d.name];if(null==p){if(d.optional){d.partial&&(o+=d.prefix);continue}throw TypeError('Expected "'+d.name+'" to be defined')}if(r(p)){if(!d.repeat)throw TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(d.optional)continue;throw TypeError('Expected "'+d.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(c=s(p[f]),!n[u].test(c))throw TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===f?d.prefix:d.delimiter)+c}continue}if(c=d.asterisk?encodeURI(p).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):s(p),!n[u].test(c))throw TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+c+'"');o+=d.prefix+c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e,t){return e.keys=t,e}function c(e){return e&&e.sensitive?"":"i"}function d(e,t,n){!r(t)&&(n=t||n,t=[]);for(var a,o,i=(n=n||{}).strict,l=!1!==n.end,u="",d=0;d<e.length;d++){var p=e[d];if("string"==typeof p)u+=s(p);else{var f=s(p.prefix),h="(?:"+p.pattern+")";t.push(p),p.repeat&&(h+="(?:"+f+h+")*"),u+=h=p.optional?p.partial?f+"("+h+")?":"(?:"+f+"("+h+"))?":f+"("+h+")"}}var g=s(n.delimiter||"/"),m=u.slice(-g.length)===g;return!i&&(u=(m?u.slice(0,-g.length):u)+"(?:"+g+"(?=$))?"),l?u+="$":u+=i&&m?"":"(?="+g+"|$)",a=RegExp("^"+u,c(n)),o=t,a.keys=o,a}function p(e,t,n){var a,i,l;if(!r(t)&&(n=t||n,t=[]),n=n||{},e instanceof RegExp)return function(e,t){var n,r,a=e.source.match(/\((?!\?)/g);if(a)for(var o=0;o<a.length;o++)t.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return n=e,r=t,n.keys=r,n}(e,t);if(r(e))return function(e,t,n){for(var r,a,o=[],i=0;i<e.length;i++)o.push(p(e[i],t,n).source);return r=RegExp("(?:"+o.join("|")+")",c(n)),a=t,r.keys=a,r}(e,t,n);return a=e,i=t,d(o(a,l=n),i,l)}},96854:function(){!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],p="string"==typeof u?u:u.content,f=t(r,c),h=p.indexOf(f);if(h>-1){++a;var g=p.substring(0,h),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=p.substring(h+f.length),b=[];g&&b.push.apply(b,i([g])),b.push(m),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},23099:function(){Prism.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}},70037:function(e,t,n){var r={"./prism-mermaid":"23099"};function a(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=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="70037"},92703:function(e,t,n){"use strict";var r=n(50414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=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}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64448:function(e,t,n){"use strict";var r,a,o,i,l,s,u=n(67294),c=n(63840);function d(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 p=new Set,f={};function h(e,t){g(e,t),g(e+"Capture",t)}function g(e,t){for(f[e]=t,e=0;e<t.length;e++)p.add(t[e])}var m=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),y=Object.prototype.hasOwnProperty,b=/^[: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]*$/,v={},w={};function x(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 k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new x(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];k[t]=new x(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new x(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new x(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){k[e]=new x(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new x(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new x(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new x(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new x(e,5,!1,e.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function _(e){return e[1].toUpperCase()}function E(e,t,n,r){var a,o=k.hasOwnProperty(t)?k[t]:null;if(null!==o?0!==o.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":if(r)return!1;if(null!==n)return!n.acceptsBooleans;return"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,o,r)&&(n=null),r||null===o?(a=t,(!!y.call(w,a)||!y.call(v,a)&&(b.test(a)?w[a]=!0:(v[a]=!0,!1)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!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(S,_);k[t]=new x(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(S,_);k[t]=new x(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(S,_);k[t]=new x(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new x(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new x(e,1,!1,e.toLowerCase(),null,!0,!0)});var C=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),j=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),L=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var $=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}var U,Z=Object.assign;function H(e){if(void 0===U)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var W=!1;function V(e,t){if(!e||W)return"";W=!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(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.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]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=G(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=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(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 X(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(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 ee(e,t){null!=(t=t.checked)&&E(e,"checked",t,!1)}function et(e,t){ee(e,t);var n=q(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){e.removeAttribute("value");return}t.hasOwnProperty("value")?er(e,t.type,n):t.hasOwnProperty("defaultValue")&&er(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function en(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 er(e,t,n){("number"!==t||K(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ea=Array.isArray;function eo(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(a=0,n=""+q(n),t=null;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function ei(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return Z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function el(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(d(92));if(ea(n)){if(1<n.length)throw Error(d(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function es(e,t){var n=q(t.value),r=q(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 eu(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ec(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 ed(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ec(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ep,ef,eh=(ep=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ef=ef||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ef.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 ep(e,t,n,r)})}:ep);function eg(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var em={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ey=["Webkit","ms","Moz","O"];function eb(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||em.hasOwnProperty(e)&&em[e]?(""+t).trim():t+"px"}function ev(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=eb(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(em).forEach(function(e){ey.forEach(function(t){em[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=em[e]})});var ew=Z({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 ex(e,t){if(t){if(ew[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function ek(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}}var eS=null;function e_(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eE=null,eC=null,eT=null;function ej(e){if(e=rF(e)){if("function"!=typeof eE)throw Error(d(280));var t=e.stateNode;t&&(t=rD(t),eE(e.stateNode,e.type,t))}}function eN(e){eC?eT?eT.push(e):eT=[e]:eC=e}function eO(){if(eC){var e=eC,t=eT;if(eT=eC=null,ej(e),t)for(e=0;e<t.length;e++)ej(t[e])}}function eP(e,t){return e(t)}function eA(){}var eL=!1;function eR(e,t,n){if(eL)return e(t,n);eL=!0;try{return eP(e,t,n)}finally{eL=!1,(null!==eC||null!==eT)&&(eA(),eO())}}function eI(e,t){var n=e.stateNode;if(null===n)return null;var r=rD(n);if(null===r)return null;switch(n=r[t],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;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(d(231,t,typeof n));return n}var eF=!1;if(m)try{var eM={};Object.defineProperty(eM,"passive",{get:function(){eF=!0}}),window.addEventListener("test",eM,eM),window.removeEventListener("test",eM,eM)}catch(e){eF=!1}function eD(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var ez=!1,e$=null,eB=!1,eU=null,eZ={onError:function(e){ez=!0,e$=e}};function eH(e,t,n,r,a,o,i,l,s){ez=!1,e$=null,eD.apply(eZ,arguments)}function eW(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function eV(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 eq(e){if(eW(e)!==e)throw Error(d(188))}function eG(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=eW(e)))throw Error(d(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 eq(a),e;if(o===r)return eq(a),t;o=o.sibling}throw Error(d(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i){for(l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i)throw Error(d(189))}}if(n.alternate!==r)throw Error(d(190))}if(3!==n.tag)throw Error(d(188));return n.stateNode.current===n?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var n=e(t);if(null!==n)return n;t=t.sibling}return null}(e):null}var eY=c.unstable_scheduleCallback,eQ=c.unstable_cancelCallback,eK=c.unstable_shouldYield,eX=c.unstable_requestPaint,eJ=c.unstable_now,e0=c.unstable_getCurrentPriorityLevel,e1=c.unstable_ImmediatePriority,e2=c.unstable_UserBlockingPriority,e5=c.unstable_NormalPriority,e3=c.unstable_LowPriority,e4=c.unstable_IdlePriority,e9=null,e6=null,e8=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e7(e)/te|0)|0},e7=Math.log,te=Math.LN2,tt=64,tn=4194304;function tr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function ta(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=0xfffffff&n;if(0!==i){var l=i&~a;0!==l?r=tr(l):0!=(o&=i)&&(r=tr(o))}else 0!=(i=n&~a)?r=tr(i):0!==o&&(r=tr(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-e8(t)),r|=e[n],t&=~a;return r}function to(e){return 0!=(e=-0x40000001&e.pendingLanes)?e:0x40000000&e?0x40000000:0}function ti(){var e=tt;return 0==(4194240&(tt<<=1))&&(tt=64),e}function tl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ts(e,t,n){e.pendingLanes|=t,0x20000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,e[t=31-e8(t)]=n}function tu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-e8(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var tc=0;function td(e){return 1<(e&=-e)?4<e?0!=(0xfffffff&e)?16:0x20000000:4:1}var tp,tf,th,tg,tm,ty=!1,tb=[],tv=null,tw=null,tx=null,tk=new Map,tS=new Map,t_=[],tE="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 tC(e,t){switch(e){case"focusin":case"focusout":tv=null;break;case"dragenter":case"dragleave":tw=null;break;case"mouseover":case"mouseout":tx=null;break;case"pointerover":case"pointerout":tk.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tS.delete(t.pointerId)}}function tT(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=rF(t))&&tf(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function tj(e){var t=rI(e.target);if(null!==t){var n=eW(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=eV(n))){e.blockedOn=t,tm(e.priority,function(){th(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tN(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=t$(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rF(n))&&tf(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);eS=r,n.target.dispatchEvent(r),eS=null;t.shift()}return!0}function tO(e,t,n){tN(e)&&n.delete(t)}function tP(){ty=!1,null!==tv&&tN(tv)&&(tv=null),null!==tw&&tN(tw)&&(tw=null),null!==tx&&tN(tx)&&(tx=null),tk.forEach(tO),tS.forEach(tO)}function tA(e,t){e.blockedOn===t&&(e.blockedOn=null,ty||(ty=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tP)))}function tL(e){function t(t){return tA(t,e)}if(0<tb.length){tA(tb[0],e);for(var n=1;n<tb.length;n++){var r=tb[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==tv&&tA(tv,e),null!==tw&&tA(tw,e),null!==tx&&tA(tx,e),tk.forEach(t),tS.forEach(t),n=0;n<t_.length;n++)(r=t_[n]).blockedOn===e&&(r.blockedOn=null);for(;0<t_.length&&null===(n=t_[0]).blockedOn;)tj(n),null===n.blockedOn&&t_.shift()}var tR=C.ReactCurrentBatchConfig,tI=!0;function tF(e,t,n,r){var a=tc,o=tR.transition;tR.transition=null;try{tc=1,tD(e,t,n,r)}finally{tc=a,tR.transition=o}}function tM(e,t,n,r){var a=tc,o=tR.transition;tR.transition=null;try{tc=4,tD(e,t,n,r)}finally{tc=a,tR.transition=o}}function tD(e,t,n,r){if(tI){var a=t$(e,t,n,r);if(null===a)rl(e,t,r,tz,n),tC(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return tv=tT(tv,e,t,n,r,a),!0;case"dragenter":return tw=tT(tw,e,t,n,r,a),!0;case"mouseover":return tx=tT(tx,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return tk.set(o,tT(tk.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,tS.set(o,tT(tS.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(tC(e,r),4&t&&-1<tE.indexOf(e)){for(;null!==a;){var o=rF(a);if(null!==o&&tp(o),null===(o=t$(e,t,n,r))&&rl(e,t,r,tz,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else rl(e,t,r,null,n)}}var tz=null;function t$(e,t,n,r){if(tz=null,null!==(e=rI(e=e_(r)))){if(null===(t=eW(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=eV(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return tz=e,null}function tB(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e0()){case e1:return 1;case e2:return 4;case e5:case e3:return 16;case e4:return 0x20000000;default:return 16}default:return 16}}var tU=null,tZ=null,tH=null;function tW(){if(tH)return tH;var e,t,n=tZ,r=n.length,a="value"in tU?tU.value:tU.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 tH=a.slice(e,1<t?1-t:void 0)}function tV(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 tq(){return!0}function tG(){return!1}function tY(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)?tq:tG,this.isPropagationStopped=tG,this}return Z(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=tq)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tq)},persist:function(){},isPersistent:tq}),t}var tQ,tK,tX,tJ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t0=tY(tJ),t1=Z({},tJ,{view:0,detail:0}),t2=tY(t1),t5=Z({},t1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:na,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!==tX&&(tX&&"mousemove"===e.type?(tQ=e.screenX-tX.screenX,tK=e.screenY-tX.screenY):tK=tQ=0,tX=e),tQ)},movementY:function(e){return"movementY"in e?e.movementY:tK}}),t3=tY(t5),t4=tY(Z({},t5,{dataTransfer:0})),t9=tY(Z({},t1,{relatedTarget:0})),t6=tY(Z({},tJ,{animationName:0,elapsedTime:0,pseudoElement:0})),t8=tY(Z({},tJ,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),t7=tY(Z({},tJ,{data:0})),ne={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nt={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"},nn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=nn[e])&&!!t[e]}function na(){return nr}var no=tY(Z({},t1,{key:function(e){if(e.key){var t=ne[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tV(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:na,charCode:function(e){return"keypress"===e.type?tV(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tV(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ni=tY(Z({},t5,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nl=tY(Z({},t1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:na})),ns=tY(Z({},tJ,{propertyName:0,elapsedTime:0,pseudoElement:0})),nu=tY(Z({},t5,{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})),nc=[9,13,27,32],nd=m&&"CompositionEvent"in window,np=null;m&&"documentMode"in document&&(np=document.documentMode);var nf=m&&"TextEvent"in window&&!np,nh=m&&(!nd||np&&8<np&&11>=np),ng=!1;function nm(e,t){switch(e){case"keyup":return -1!==nc.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ny(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nb=!1,nv={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 nw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nv[e.type]:"textarea"===t}function nx(e,t,n,r){eN(r),0<(t=ru(t,"onChange")).length&&(n=new t0("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nk=null,nS=null;function n_(e){rt(e,0)}function nE(e){if(Q(rM(e)))return e}function nC(e,t){if("change"===e)return t}var nT=!1;if(m){if(m){var nj="oninput"in document;if(!nj){var nN=document.createElement("div");nN.setAttribute("oninput","return;"),nj="function"==typeof nN.oninput}r=nj}else r=!1;nT=r&&(!document.documentMode||9<document.documentMode)}function nO(){nk&&(nk.detachEvent("onpropertychange",nP),nS=nk=null)}function nP(e){if("value"===e.propertyName&&nE(nS)){var t=[];nx(t,nS,e,e_(e)),eR(n_,t)}}function nA(e,t,n){"focusin"===e?(nO(),nk=t,nS=n,nk.attachEvent("onpropertychange",nP)):"focusout"===e&&nO()}function nL(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nE(nS)}function nR(e,t){if("click"===e)return nE(t)}function nI(e,t){if("input"===e||"change"===e)return nE(t)}var nF="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nM(e,t){if(nF(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++){var a=n[r];if(!y.call(t,a)||!nF(e[a],t[a]))return!1}return!0}function nD(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nz(e,t){var n,r=nD(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=nD(r)}}function n$(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=K(e.document)}return t}function nB(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 nU=m&&"documentMode"in document&&11>=document.documentMode,nZ=null,nH=null,nW=null,nV=!1;function nq(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nV||null==nZ||nZ!==K(r)||(r="selectionStart"in(r=nZ)&&nB(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nW&&nM(nW,r)||(nW=r,0<(r=ru(nH,"onSelect")).length&&(t=new t0("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nZ)))}function nG(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nY={animationend:nG("Animation","AnimationEnd"),animationiteration:nG("Animation","AnimationIteration"),animationstart:nG("Animation","AnimationStart"),transitionend:nG("Transition","TransitionEnd")},nQ={},nK={};function nX(e){if(nQ[e])return nQ[e];if(!nY[e])return e;var t,n=nY[e];for(t in n)if(n.hasOwnProperty(t)&&t in nK)return nQ[e]=n[t];return e}m&&(nK=document.createElement("div").style,"AnimationEvent"in window||(delete nY.animationend.animation,delete nY.animationiteration.animation,delete nY.animationstart.animation),"TransitionEvent"in window||delete nY.transitionend.transition);var nJ=nX("animationend"),n0=nX("animationiteration"),n1=nX("animationstart"),n2=nX("transitionend"),n5=new Map,n3="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function n4(e,t){n5.set(e,t),h(t,[e])}for(var n9=0;n9<n3.length;n9++){var n6=n3[n9];n4(n6.toLowerCase(),"on"+(n6[0].toUpperCase()+n6.slice(1)))}n4(nJ,"onAnimationEnd"),n4(n0,"onAnimationIteration"),n4(n1,"onAnimationStart"),n4("dblclick","onDoubleClick"),n4("focusin","onFocus"),n4("focusout","onBlur"),n4(n2,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var n8="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),n7=new Set("cancel close invalid load scroll toggle".split(" ").concat(n8));function re(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,!function(e,t,n,r,a,o,i,l,s){if(eH.apply(this,arguments),ez){if(ez){var u=e$;ez=!1,e$=null}else throw Error(d(198));eB||(eB=!0,eU=u)}}(r,t,void 0,e),e.currentTarget=null}function rt(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;re(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;re(a,l,u),o=s}}}if(eB)throw e=eU,eB=!1,eU=null,e}function rn(e,t){var n=t[rA];void 0===n&&(n=t[rA]=new Set);var r=e+"__bubble";n.has(r)||(ri(t,e,2,!1),n.add(r))}function rr(e,t,n){var r=0;t&&(r|=4),ri(n,e,r,t)}var ra="_reactListening"+Math.random().toString(36).slice(2);function ro(e){if(!e[ra]){e[ra]=!0,p.forEach(function(t){"selectionchange"!==t&&(n7.has(t)||rr(t,!1,e),rr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ra]||(t[ra]=!0,rr("selectionchange",!1,t))}}function ri(e,t,n,r){switch(tB(t)){case 1:var a=tF;break;case 4:a=tM;break;default:a=tD}n=a.bind(null,t,n,e),a=void 0,eF&&("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 rl(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=rI(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}eR(function(){var r=o,a=e_(n),i=[];e:{var l=n5.get(e);if(void 0!==l){var s=t0,u=e;switch(e){case"keypress":if(0===tV(n))break e;case"keydown":case"keyup":s=no;break;case"focusin":u="focus",s=t9;break;case"focusout":u="blur",s=t9;break;case"beforeblur":case"afterblur":s=t9;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=t3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=t4;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=nl;break;case nJ:case n0:case n1:s=t6;break;case n2:s=ns;break;case"scroll":s=t2;break;case"wheel":s=nu;break;case"copy":case"cut":case"paste":s=t8;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=ni}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,h=r;null!==h;){var g=(f=h).stateNode;if(5===f.tag&&null!==g&&(f=g,null!==p&&null!=(g=eI(h,p))&&c.push(rs(h,g,f))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){e:if(l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&n!==eS&&(u=n.relatedTarget||n.fromElement)&&(rI(u)||u[rP]))){if((s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(u=n.relatedTarget||n.toElement,s=r,null!==(u=u?rI(u):null)&&(d=eW(u),u!==d||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=t3,g="onMouseLeave",p="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=ni,g="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:rM(s),f=null==u?l:rM(u),(l=new c(g,h+"leave",s,n,a)).target=d,l.relatedTarget=f,g=null,rI(a)===r&&((c=new c(p,h+"enter",u,n,a)).target=f,c.relatedTarget=d,g=c),d=g,s&&u)t:{for(c=s,p=u,h=0,f=c;f;f=rc(f))h++;for(f=0,g=p;g;g=rc(g))f++;for(;0<h-f;)c=rc(c),h--;for(;0<f-h;)p=rc(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break t;c=rc(c),p=rc(p)}c=null}else c=null;null!==s&&rd(i,l,s,c,!1),null!==u&&null!==d&&rd(i,d,u,c,!0)}}e:{if("select"===(s=(l=r?rM(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m,y=nC;else if(nw(l)){if(nT)y=nI;else{y=nL;var b=nA}}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=nR);if(y&&(y=y(e,r))){nx(i,y,n,a);break e}b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&er(l,"number",l.value)}switch(b=r?rM(r):window,e){case"focusin":(nw(b)||"true"===b.contentEditable)&&(nZ=b,nH=r,nW=null);break;case"focusout":nW=nH=nZ=null;break;case"mousedown":nV=!0;break;case"contextmenu":case"mouseup":case"dragend":nV=!1,nq(i,n,a);break;case"selectionchange":if(nU)break;case"keydown":case"keyup":nq(i,n,a)}if(nd)t:{switch(e){case"compositionstart":var v="onCompositionStart";break t;case"compositionend":v="onCompositionEnd";break t;case"compositionupdate":v="onCompositionUpdate";break t}v=void 0}else nb?nm(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(nh&&"ko"!==n.locale&&(nb||"onCompositionStart"!==v?"onCompositionEnd"===v&&nb&&(m=tW()):(tZ="value"in(tU=a)?tU.value:tU.textContent,nb=!0)),0<(b=ru(r,v)).length&&(v=new t7(v,e,null,n,a),i.push({event:v,listeners:b}),m?v.data=m:null!==(m=ny(n))&&(v.data=m))),(m=nf?function(e,t){switch(e){case"compositionend":return ny(t);case"keypress":if(32!==t.which)return null;return ng=!0," ";case"textInput":return" "===(e=t.data)&&ng?null:e;default:return null}}(e,n):function(e,t){if(nb)return"compositionend"===e||!nd&&nm(e,t)?(e=tW(),tH=tZ=tU=null,nb=!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 nh&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=ru(r,"onBeforeInput")).length&&(a=new t7("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=m)}rt(i,t)})}function rs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ru(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=eI(e,n))&&r.unshift(rs(e,o,a)),null!=(o=eI(e,t))&&r.push(rs(e,o,a))),e=e.return}return r}function rc(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function rd(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=eI(n,o))&&i.unshift(rs(n,s,l)):a||null!=(s=eI(n,o))&&i.push(rs(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var rp=/\r\n?/g,rf=/\u0000|\uFFFD/g;function rh(e){return("string"==typeof e?e:""+e).replace(rp,"\n").replace(rf,"")}function rg(e,t,n){if(t=rh(t),rh(e)!==t&&n)throw Error(d(425))}function rm(){}var ry=null,rb=null;function rv(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var rw="function"==typeof setTimeout?setTimeout:void 0,rx="function"==typeof clearTimeout?clearTimeout:void 0,rk="function"==typeof Promise?Promise:void 0,rS="function"==typeof queueMicrotask?queueMicrotask:void 0!==rk?function(e){return rk.resolve(null).then(e).catch(r_)}:rw;function r_(e){setTimeout(function(){throw e})}function rE(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType){if("/$"===(n=a.data)){if(0===r){e.removeChild(a),tL(t);return}r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++}n=a}while(n);tL(t)}function rC(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function rT(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 rj=Math.random().toString(36).slice(2),rN="__reactFiber$"+rj,rO="__reactProps$"+rj,rP="__reactContainer$"+rj,rA="__reactEvents$"+rj,rL="__reactListeners$"+rj,rR="__reactHandles$"+rj;function rI(e){var t=e[rN];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rP]||n[rN]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=rT(e);null!==e;){if(n=e[rN])return n;e=rT(e)}return t}n=(e=n).parentNode}return null}function rF(e){return(e=e[rN]||e[rP])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function rM(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function rD(e){return e[rO]||null}var rz=[],r$=-1;function rB(e){return{current:e}}function rU(e){0>r$||(e.current=rz[r$],rz[r$]=null,r$--)}function rZ(e,t){rz[++r$]=e.current,e.current=t}var rH={},rW=rB(rH),rV=rB(!1),rq=rH;function rG(e,t){var n=e.type.contextTypes;if(!n)return rH;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 rY(e){return null!=(e=e.childContextTypes)}function rQ(){rU(rV),rU(rW)}function rK(e,t,n){if(rW.current!==rH)throw Error(d(168));rZ(rW,t),rZ(rV,n)}function rX(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case N:return"Fragment";case j:return"Portal";case P:return"Profiler";case O:return"StrictMode";case I:return"Suspense";case F:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case L:return(t.displayName||"Context")+".Consumer";case A:return(t._context.displayName||"Context")+".Provider";case R:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case M:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case D:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(t);case 8:return t===O?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",a));return Z({},n,r)}function rJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rH,rq=rW.current,rZ(rW,e),rZ(rV,rV.current),!0}function r0(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(e=rX(e,t,rq),r.__reactInternalMemoizedMergedChildContext=e,rU(rV),rU(rW),rZ(rW,e)):rU(rV),rZ(rV,n)}var r1=null,r2=!1,r5=!1;function r3(e){null===r1?r1=[e]:r1.push(e)}function r4(){if(!r5&&null!==r1){r5=!0;var e=0,t=tc;try{var n=r1;for(tc=1;e<n.length;e++){var r=n[e];do r=r(!0);while(null!==r)}r1=null,r2=!1}catch(t){throw null!==r1&&(r1=r1.slice(e+1)),eY(e1,r4),t}finally{tc=t,r5=!1}}return null}var r9=[],r6=0,r8=null,r7=0,ae=[],at=0,an=null,ar=1,aa="";function ao(e,t){r9[r6++]=r7,r9[r6++]=r8,r8=e,r7=t}function ai(e,t,n){ae[at++]=ar,ae[at++]=aa,ae[at++]=an,an=e;var r=ar;e=aa;var a=32-e8(r)-1;r&=~(1<<a),n+=1;var o=32-e8(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,ar=1<<32-e8(t)+a|n<<a|r,aa=o+e}else ar=1<<o|n<<a|r,aa=e}function al(e){null!==e.return&&(ao(e,1),ai(e,1,0))}function as(e){for(;e===r8;)r8=r9[--r6],r9[r6]=null,r7=r9[--r6],r9[r6]=null;for(;e===an;)an=ae[--at],ae[at]=null,aa=ae[--at],ae[at]=null,ar=ae[--at],ae[at]=null}var au=null,ac=null,ad=!1,ap=null;function af(e,t){var n=lY(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ah(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,au=e,ac=rC(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,au=e,ac=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==an?{id:ar,overflow:aa}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:0x40000000},(n=lY(18,null,null,0)).stateNode=t,n.return=e,e.child=n,au=e,ac=null,!0);default:return!1}}function ag(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function am(e){if(ad){var t=ac;if(t){var n=t;if(!ah(e,t)){if(ag(e))throw Error(d(418));t=rC(n.nextSibling);var r=au;t&&ah(e,t)?af(r,n):(e.flags=-4097&e.flags|2,ad=!1,au=e)}}else{if(ag(e))throw Error(d(418));e.flags=-4097&e.flags|2,ad=!1,au=e}}}function ay(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;au=e}function ab(e){if(e!==au)return!1;if(!ad)return ay(e),ad=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!rv(e.type,e.memoizedProps)),t&&(t=ac)){if(ag(e))throw av(),Error(d(418));for(;t;)af(e,t),t=rC(t.nextSibling)}if(ay(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,n=e.data;if("/$"===n){if(0===t){ac=rC(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ac=null}}else ac=au?rC(e.stateNode.nextSibling):null;return!0}function av(){for(var e=ac;e;)e=rC(e.nextSibling)}function aw(){ac=au=null,ad=!1}function ax(e){null===ap?ap=[e]:ap.push(e)}var ak=C.ReactCurrentBatchConfig;function aS(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(d(309));var r=n.stateNode}if(!r)throw Error(d(147,e));var a=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=a.refs;null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(d(284));if(!n._owner)throw Error(d(290,e))}return e}function a_(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aE(e){return(0,e._init)(e._payload)}function aC(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}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=lK(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):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=l1(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){var o=n.type;return o===N?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===D&&aE(o)===t.type)?((r=a(t,n.props)).ref=aS(e,t,n),r.return=e,r):((r=lX(n.type,n.key,n.props,null,e.mode,r)).ref=aS(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=l2(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function c(e,t,n,r,o){return null===t||7!==t.tag?((t=lJ(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=l1(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case T:return(n=lX(t.type,t.key,t.props,null,e.mode,n)).ref=aS(e,null,t),n.return=e,n;case j:return(t=l2(t,e.mode,n)).return=e,t;case D:return p(e,(0,t._init)(t._payload),n)}if(ea(t)||B(t))return(t=lJ(t,e.mode,n,null)).return=e,t;a_(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===a?s(e,t,n,r):null;case j:return n.key===a?u(e,t,n,r):null;case D:return f(e,t,(a=n._init)(n._payload),r)}if(ea(n)||B(n))return null!==a?null:c(e,t,n,r,null);a_(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case T:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case j:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case D:return h(e,t,n,(0,r._init)(r._payload),a)}if(ea(r)||B(r))return c(t,e=e.get(n)||null,r,a,null);a_(t,r)}return null}return function l(s,u,c,g){if("object"==typeof c&&null!==c&&c.type===N&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case T:e:{for(var m=c.key,y=u;null!==y;){if(y.key===m){if((m=c.type)===N){if(7===y.tag){n(s,y.sibling),(u=a(y,c.props.children)).return=s,s=u;break e}}else if(y.elementType===m||"object"==typeof m&&null!==m&&m.$$typeof===D&&aE(m)===y.type){n(s,y.sibling),(u=a(y,c.props)).ref=aS(s,y,c),u.return=s,s=u;break e}n(s,y);break}t(s,y);y=y.sibling}c.type===N?((u=lJ(c.props.children,s.mode,g,c.key)).return=s,s=u):((g=lX(c.type,c.key,c.props,null,s.mode,g)).ref=aS(s,u,c),g.return=s,s=g)}return i(s);case j:e:{for(y=c.key;null!==u;){if(u.key===y){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(s,u.sibling),(u=a(u,c.children||[])).return=s,s=u;break e}else{n(s,u);break}}t(s,u);u=u.sibling}(u=l2(c,s.mode,g)).return=s,s=u}return i(s);case D:return l(s,u,(y=c._init)(c._payload),g)}if(ea(c))return function(a,i,l,s){for(var u=null,c=null,d=i,g=i=0,m=null;null!==d&&g<l.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var y=f(a,d,l[g],s);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(a,d),i=o(y,i,g),null===c?u=y:c.sibling=y,c=y,d=m}if(g===l.length)return n(a,d),ad&&ao(a,g),u;if(null===d){for(;g<l.length;g++)null!==(d=p(a,l[g],s))&&(i=o(d,i,g),null===c?u=d:c.sibling=d,c=d);return ad&&ao(a,g),u}for(d=r(a,d);g<l.length;g++)null!==(m=h(d,a,g,l[g],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=o(m,i,g),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach(function(e){return t(a,e)}),ad&&ao(a,g),u}(s,u,c,g);if(B(c))return function(a,i,l,s){var u=B(l);if("function"!=typeof u)throw Error(d(150));if(null==(l=u.call(l)))throw Error(d(151));for(var c=u=null,g=i,m=i=0,y=null,b=l.next();null!==g&&!b.done;m++,b=l.next()){g.index>m?(y=g,g=null):y=g.sibling;var v=f(a,g,b.value,s);if(null===v){null===g&&(g=y);break}e&&g&&null===v.alternate&&t(a,g),i=o(v,i,m),null===c?u=v:c.sibling=v,c=v,g=y}if(b.done)return n(a,g),ad&&ao(a,m),u;if(null===g){for(;!b.done;m++,b=l.next())null!==(b=p(a,b.value,s))&&(i=o(b,i,m),null===c?u=b:c.sibling=b,c=b);return ad&&ao(a,m),u}for(g=r(a,g);!b.done;m++,b=l.next())null!==(b=h(g,a,m,b.value,s))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),i=o(b,i,m),null===c?u=b:c.sibling=b,c=b);return e&&g.forEach(function(e){return t(a,e)}),ad&&ao(a,m),u}(s,u,c,g);a_(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(u=a(u,c)).return=s):(n(s,u),(u=l1(c,s.mode,g)).return=s),i(s=u)):n(s,u)}}var aT=aC(!0),aj=aC(!1),aN=rB(null),aO=null,aP=null,aA=null;function aL(){aA=aP=aO=null}function aR(e){var t=aN.current;rU(aN),e._currentValue=t}function aI(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function aF(e,t){aO=e,aA=aP=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ii=!0),e.firstContext=null)}function aM(e){var t=e._currentValue;if(aA!==e){if(e={context:e,memoizedValue:t,next:null},null===aP){if(null===aO)throw Error(d(308));aP=e,aO.dependencies={lanes:0,firstContext:e}}else aP=aP.next=e}return t}var aD=null;function az(e){null===aD?aD=[e]:aD.push(e)}function a$(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,az(t)):(n.next=a.next,a.next=n),t.interleaved=n,aB(e,r)}function aB(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}var aU=!1;function aZ(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function aH(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 aW(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function aV(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&i3)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,aB(e,n)}return null===(a=r.interleaved)?(t.next=t,az(r)):(t.next=a.next,a.next=t),r.interleaved=t,aB(e,n)}function aq(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}function aG(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;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function aY(e,t,n,r){var a=e.updateQueue;aU=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,g=l;switch(p=t,f=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=g.payload)?h.call(f,d,p):h))break e;d=Z({},d,p);break e;case 2:aU=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=f,s=d):c=c.next=f,i|=p;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;else l=(p=l).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do i|=a.lane,a=a.next;while(a!==t)}else null===o&&(a.shared.lanes=0);ln|=i,e.lanes=i,e.memoizedState=d}}function aQ(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(d(191,a));a.call(r)}}}var aK={},aX=rB(aK),aJ=rB(aK),a0=rB(aK);function a1(e){if(e===aK)throw Error(d(174));return e}function a2(e,t){switch(rZ(a0,t),rZ(aJ,e),rZ(aX,aK),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ed(null,"");break;default:t=(e=8===e?t.parentNode:t).namespaceURI||null,t=ed(t,e=e.tagName)}rU(aX),rZ(aX,t)}function a5(){rU(aX),rU(aJ),rU(a0)}function a3(e){a1(a0.current);var t=a1(aX.current),n=ed(t,e.type);t!==n&&(rZ(aJ,e),rZ(aX,n))}function a4(e){aJ.current===e&&(rU(aX),rU(aJ))}var a9=rB(0);function a6(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!=(128&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 a8=[];function a7(){for(var e=0;e<a8.length;e++)a8[e]._workInProgressVersionPrimary=null;a8.length=0}var oe=C.ReactCurrentDispatcher,ot=C.ReactCurrentBatchConfig,on=0,or=null,oa=null,oo=null,oi=!1,ol=!1,os=0,ou=0;function oc(){throw Error(d(321))}function od(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nF(e[n],t[n]))return!1;return!0}function op(e,t,n,r,a,o){if(on=o,or=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oe.current=null===e||null===e.memoizedState?oY:oQ,e=n(r,a),ol){o=0;do{if(ol=!1,os=0,25<=o)throw Error(d(301));o+=1,oo=oa=null,t.updateQueue=null,oe.current=oK,e=n(r,a)}while(ol)}if(oe.current=oG,t=null!==oa&&null!==oa.next,on=0,oo=oa=or=null,oi=!1,t)throw Error(d(300));return e}function of(){var e=0!==os;return os=0,e}function oh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===oo?or.memoizedState=oo=e:oo=oo.next=e,oo}function og(){if(null===oa){var e=or.alternate;e=null!==e?e.memoizedState:null}else e=oa.next;var t=null===oo?or.memoizedState:oo.next;if(null!==t)oo=t,oa=e;else{if(null===e)throw Error(d(310));e={memoizedState:(oa=e).memoizedState,baseState:oa.baseState,baseQueue:oa.baseQueue,queue:oa.queue,next:null},null===oo?or.memoizedState=oo=e:oo=oo.next=e}return oo}function om(e,t){return"function"==typeof t?t(e):t}function oy(e){var t=og(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=oa,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}r.baseQueue=a=o,n.pending=null}if(null!==a){o=a.next,r=r.baseState;var l=i=null,s=null,u=o;do{var c=u.lane;if((on&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===s?(l=s=p,i=r):s=s.next=p,or.lanes|=c,ln|=c}u=u.next}while(null!==u&&u!==o);null===s?i=r:s.next=l,nF(r,t.memoizedState)||(ii=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do o=a.lane,or.lanes|=o,ln|=o,a=a.next;while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ob(e){var t=og(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);nF(o,t.memoizedState)||(ii=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ov(){}function ow(e,t){var n=or,r=og(),a=t(),o=!nF(r.memoizedState,a);if(o&&(r.memoizedState=a,ii=!0),r=r.queue,oA(oS.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==oo&&1&oo.memoizedState.tag){if(n.flags|=2048,oT(9,ok.bind(null,n,r,a,t),void 0,null),null===i4)throw Error(d(349));0!=(30&on)||ox(n,t,a)}return a}function ox(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=or.updateQueue)?(t={lastEffect:null,stores:null},or.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ok(e,t,n,r){t.value=n,t.getSnapshot=r,o_(t)&&oE(e)}function oS(e,t,n){return n(function(){o_(t)&&oE(e)})}function o_(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nF(e,n)}catch(e){return!0}}function oE(e){var t=aB(e,1);null!==t&&lk(t,e,1,-1)}function oC(e){var t=oh();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:om,lastRenderedState:e},t.queue=e,e=e.dispatch=oH.bind(null,or,e),[t.memoizedState,e]}function oT(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=or.updateQueue)?(t={lastEffect:null,stores:null},or.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 oj(){return og().memoizedState}function oN(e,t,n,r){var a=oh();or.flags|=e,a.memoizedState=oT(1|t,n,void 0,void 0===r?null:r)}function oO(e,t,n,r){var a=og();r=void 0===r?null:r;var o=void 0;if(null!==oa){var i=oa.memoizedState;if(o=i.destroy,null!==r&&od(r,i.deps)){a.memoizedState=oT(t,n,o,r);return}}or.flags|=e,a.memoizedState=oT(1|t,n,o,r)}function oP(e,t){return oN(8390656,8,e,t)}function oA(e,t){return oO(2048,8,e,t)}function oL(e,t){return oO(4,2,e,t)}function oR(e,t){return oO(4,4,e,t)}function oI(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function oF(e,t,n){return n=null!=n?n.concat([e]):null,oO(4,4,oI.bind(null,t,e),n)}function oM(){}function oD(e,t){var n=og();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&od(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oz(e,t){var n=og();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&od(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function o$(e,t,n){return 0==(21&on)?(e.baseState&&(e.baseState=!1,ii=!0),e.memoizedState=n):(nF(n,t)||(n=ti(),or.lanes|=n,ln|=n,e.baseState=!0),t)}function oB(e,t){var n=tc;tc=0!==n&&4>n?n:4,e(!0);var r=ot.transition;ot.transition={};try{e(!1),t()}finally{tc=n,ot.transition=r}}function oU(){return og().memoizedState}function oZ(e,t,n){var r=lx(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oW(e)?oV(t,n):null!==(n=a$(e,t,n,r))&&(lk(n,e,r,lw()),oq(n,t,r))}function oH(e,t,n){var r=lx(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oW(e))oV(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,nF(l,i)){var s=t.interleaved;null===s?(a.next=a,az(t)):(a.next=s.next,s.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(n=a$(e,t,a,r))&&(lk(n,e,r,a=lw()),oq(n,t,r))}}function oW(e){var t=e.alternate;return e===or||null!==t&&t===or}function oV(e,t){ol=oi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function oq(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}var oG={readContext:aM,useCallback:oc,useContext:oc,useEffect:oc,useImperativeHandle:oc,useInsertionEffect:oc,useLayoutEffect:oc,useMemo:oc,useReducer:oc,useRef:oc,useState:oc,useDebugValue:oc,useDeferredValue:oc,useTransition:oc,useMutableSource:oc,useSyncExternalStore:oc,useId:oc,unstable_isNewReconciler:!1},oY={readContext:aM,useCallback:function(e,t){return oh().memoizedState=[e,void 0===t?null:t],e},useContext:aM,useEffect:oP,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oN(4194308,4,oI.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oN(4194308,4,e,t)},useInsertionEffect:function(e,t){return oN(4,2,e,t)},useMemo:function(e,t){var n=oh();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=oh();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=oZ.bind(null,or,e),[r.memoizedState,e]},useRef:function(e){var t=oh();return e={current:e},t.memoizedState=e},useState:oC,useDebugValue:oM,useDeferredValue:function(e){return oh().memoizedState=e},useTransition:function(){var e=oC(!1),t=e[0];return e=oB.bind(null,e[1]),oh().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=or,a=oh();if(ad){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===i4)throw Error(d(349));0!=(30&on)||ox(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oP(oS.bind(null,r,o,e),[e]),r.flags|=2048,oT(9,ok.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=oh(),t=i4.identifierPrefix;if(ad){var n=aa,r=ar;t=":"+t+"R"+(n=(r&~(1<<32-e8(r)-1)).toString(32)+n),0<(n=os++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ou++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oQ={readContext:aM,useCallback:oD,useContext:aM,useEffect:oA,useImperativeHandle:oF,useInsertionEffect:oL,useLayoutEffect:oR,useMemo:oz,useReducer:oy,useRef:oj,useState:function(){return oy(om)},useDebugValue:oM,useDeferredValue:function(e){return o$(og(),oa.memoizedState,e)},useTransition:function(){return[oy(om)[0],og().memoizedState]},useMutableSource:ov,useSyncExternalStore:ow,useId:oU,unstable_isNewReconciler:!1},oK={readContext:aM,useCallback:oD,useContext:aM,useEffect:oA,useImperativeHandle:oF,useInsertionEffect:oL,useLayoutEffect:oR,useMemo:oz,useReducer:ob,useRef:oj,useState:function(){return ob(om)},useDebugValue:oM,useDeferredValue:function(e){var t=og();return null===oa?t.memoizedState=e:o$(t,oa.memoizedState,e)},useTransition:function(){return[ob(om)[0],og().memoizedState]},useMutableSource:ov,useSyncExternalStore:ow,useId:oU,unstable_isNewReconciler:!1};function oX(e,t){if(e&&e.defaultProps)for(var n in t=Z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}function oJ(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var o0={isMounted:function(e){return!!(e=e._reactInternals)&&eW(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=lw(),a=lx(e),o=aW(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=aV(e,o,a))&&(lk(t,e,a,r),aq(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=lw(),a=lx(e),o=aW(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=aV(e,o,a))&&(lk(t,e,a,r),aq(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=lw(),r=lx(e),a=aW(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=aV(e,a,r))&&(lk(t,e,r,n),aq(t,e,r))}};function o1(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||!nM(n,r)||!nM(a,o)}function o2(e,t,n){var r=!1,a=rH,o=t.contextType;return"object"==typeof o&&null!==o?o=aM(o):(a=rY(t)?rq:rW.current,o=(r=null!=(r=t.contextTypes))?rG(e,a):rH),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=o0,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function o5(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&&o0.enqueueReplaceState(t,t.state,null)}function o3(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},aZ(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=aM(o):(o=rY(t)?rq:rW.current,a.context=rG(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(oJ(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&&o0.enqueueReplaceState(a,a.state,null),aY(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function o4(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}(r),r=r.return;while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function o9(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function o6(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var o8="function"==typeof WeakMap?WeakMap:Map;function o7(e,t,n){(n=aW(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){lc||(lc=!0,ld=r),o6(e,t)},n}function ie(e,t,n){(n=aW(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){o6(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){o6(e,t),"function"!=typeof r&&(null===lp?lp=new Set([this]):lp.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function it(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new o8;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=lZ.bind(null,e,t,n),t.then(e,e))}function ir(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ia(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=aW(-1,1)).tag=2,aV(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var io=C.ReactCurrentOwner,ii=!1;function il(e,t,n,r){t.child=null===e?aj(t,null,n,r):aT(t,e.child,n,r)}function is(e,t,n,r,a){n=n.render;var o=t.ref;return(aF(t,a),r=op(e,t,n,r,o,a),n=of(),null===e||ii)?(ad&&n&&al(t),t.flags|=1,il(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,ij(e,t,a))}function iu(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||lQ(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=lX(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,ic(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:nM)(i,r)&&e.ref===t.ref)return ij(e,t,a)}return t.flags|=1,(e=lK(o,r)).ref=t.ref,e.return=t,t.child=e}function ic(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(nM(o,r)&&e.ref===t.ref){if(ii=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,ij(e,t,a);else 0!=(131072&e.flags)&&(ii=!0)}}return ih(e,t,n,r,a)}function id(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},rZ(i7,i8),i8|=n;else{if(0==(0x40000000&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=0x40000000,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,rZ(i7,i8),i8|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,rZ(i7,i8),i8|=r}}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,rZ(i7,i8),i8|=r;return il(e,t,a,n),t.child}function ip(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ih(e,t,n,r,a){var o=rY(n)?rq:rW.current;return(o=rG(t,o),aF(t,a),n=op(e,t,n,r,o,a),r=of(),null===e||ii)?(ad&&r&&al(t),t.flags|=1,il(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,ij(e,t,a))}function ig(e,t,n,r,a){if(rY(n)){var o=!0;rJ(t)}else o=!1;if(aF(t,a),null===t.stateNode)iT(e,t),o2(t,n,r),o3(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;u="object"==typeof u&&null!==u?aM(u):rG(t,u=rY(n)?rq:rW.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)&&o5(t,i,r,u),aU=!1;var p=t.memoizedState;i.state=p,aY(t,r,i,a),s=t.memoizedState,l!==r||p!==s||rV.current||aU?("function"==typeof c&&(oJ(t,n,c,r),s=t.memoizedState),(l=aU||o1(t,n,l,r,p,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|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,aH(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:oX(t.type,l),i.props=u,d=t.pendingProps,p=i.context,s="object"==typeof(s=n.contextType)&&null!==s?aM(s):rG(t,s=rY(n)?rq:rW.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&o5(t,i,r,s),aU=!1,p=t.memoizedState,i.state=p,aY(t,r,i,a);var h=t.memoizedState;l!==d||p!==h||rV.current||aU?("function"==typeof f&&(oJ(t,n,f,r),h=t.memoizedState),(u=aU||o1(t,n,u,r,p,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return im(e,t,n,r,o,a)}function im(e,t,n,r,a,o){ip(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&r0(t,n,!1),ij(e,t,o);r=t.stateNode,io.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=aT(t,e.child,null,o),t.child=aT(t,null,l,o)):il(e,t,l,o),t.memoizedState=r.state,a&&r0(t,n,!0),t.child}function iy(e){var t=e.stateNode;t.pendingContext?rK(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rK(e,t.context,!1),a2(e,t.containerInfo)}function ib(e,t,n,r,a){return aw(),ax(a),t.flags|=256,il(e,t,n,r),t.child}var iv={dehydrated:null,treeContext:null,retryLane:0};function iw(e){return{baseLanes:e,cachePool:null,transitions:null}}function ix(e,t,n){var r,a=t.pendingProps,o=a9.current,i=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),rZ(a9,1&o),null===e)return(am(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=0x40000000,null):(l=a.children,e=a.fallback,i?(a=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=l0(l,a,0,null),e=lJ(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=iw(n),t.memoizedState=iv,e):ik(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,i){if(n)return 256&t.flags?(t.flags&=-257,iS(e,t,i,r=o9(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=l0({mode:"visible",children:r.children},a,0,null),o=lJ(o,a,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&aT(t,e.child,null,i),t.child.memoizedState=iw(i),t.memoizedState=iv,o);if(0==(1&t.mode))return iS(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,iS(e,t,i,r=o9(o=Error(d(419)),r,void 0))}if(l=0!=(i&e.childLanes),ii||l){if(null!==(r=i4)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:a=32;break;case 0x20000000:a=0x10000000;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|i))?0:a)&&a!==o.retryLane&&(o.retryLane=a,aB(e,a),lk(r,e,a,-1))}return lI(),iS(e,t,i,r=o9(Error(d(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=lW.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ac=rC(a.nextSibling),au=t,ad=!0,ap=null,null!==e&&(ae[at++]=ar,ae[at++]=aa,ae[at++]=an,ar=e.id,aa=e.overflow,an=t),t=ik(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,o,n);if(i){i=a.fallback,l=t.mode,r=(o=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&l)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=lK(o,s)).subtreeFlags=0xe00000&o.subtreeFlags,null!==r?i=lK(r,i):(i=lJ(i,l,n,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,l=null===(l=e.child.memoizedState)?iw(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=iv,a}return e=(i=e.child).sibling,a=lK(i,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function ik(e,t){return(t=l0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function iS(e,t,n,r){return null!==r&&ax(r),aT(t,e.child,null,n),e=ik(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function i_(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),aI(e.return,t,n)}function iE(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function iC(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(il(e,t,r.children,n),0!=(2&(r=a9.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&i_(e,n,t);else if(19===e.tag)i_(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rZ(a9,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===a6(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iE(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===a6(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}iE(t,!0,n,null,o);break;case"together":iE(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function iT(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ij(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ln|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=lK(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=lK(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iN(e,t){if(!ad)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 iO(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0xe00000&a.subtreeFlags,r|=0xe00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}a=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}},o=function(){},i=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,a1(aX.current);var o,i=null;switch(n){case"input":a=X(e,a),r=X(e,r),i=[];break;case"select":a=Z({},a,{value:void 0}),r=Z({},r,{value:void 0}),i=[];break;case"textarea":a=ei(e,a),r=ei(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=rm)}for(u in ex(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u]){if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(f.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null))}for(u in r){var s=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l)){if("style"===u){if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(u,n)),n=s}else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(f.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&rn("scroll",e),i||l===s||(i=[])):(i=i||[]).push(u,s))}}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},l=function(e,t,n,r){n!==r&&(t.flags|=4)};var iP=!1,iA=!1,iL="function"==typeof WeakSet?WeakSet:Set,iR=null;function iI(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null)}catch(n){lU(e,t,n)}else n.current=null}}function iF(e,t,n){try{n()}catch(n){lU(e,t,n)}}var iM=!1;function iD(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&iF(t,n,o)}a=a.next}while(a!==r)}}function iz(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function i$(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag;e=n;"function"==typeof t?t(e):t.current=e}}function iB(e){return 5===e.tag||3===e.tag||4===e.tag}function iU(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iB(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var iZ=null,iH=!1;function iW(e,t,n){for(n=n.child;null!==n;)iV(e,t,n),n=n.sibling}function iV(e,t,n){if(e6&&"function"==typeof e6.onCommitFiberUnmount)try{e6.onCommitFiberUnmount(e9,n)}catch(e){}switch(n.tag){case 5:iA||iI(n,t);case 6:var r=iZ,a=iH;iZ=null,iW(e,t,n),iZ=r,iH=a,null!==iZ&&(iH?(e=iZ,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):iZ.removeChild(n.stateNode));break;case 18:null!==iZ&&(iH?(e=iZ,n=n.stateNode,8===e.nodeType?rE(e.parentNode,n):1===e.nodeType&&rE(e,n),tL(e)):rE(iZ,n.stateNode));break;case 4:r=iZ,a=iH,iZ=n.stateNode.containerInfo,iH=!0,iW(e,t,n),iZ=r,iH=a;break;case 0:case 11:case 14:case 15:if(!iA&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)?iF(n,t,i):0!=(4&o)&&iF(n,t,i)),a=a.next}while(a!==r)}iW(e,t,n);break;case 1:if(!iA&&(iI(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){lU(n,t,e)}iW(e,t,n);break;case 21:default:iW(e,t,n);break;case 22:1&n.mode?(iA=(r=iA)||null!==n.memoizedState,iW(e,t,n),iA=r):iW(e,t,n)}}function iq(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new iL),t.forEach(function(t){var r=lV.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function iG(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var o=t,i=o;e:for(;null!==i;){switch(i.tag){case 5:iZ=i.stateNode,iH=!1;break e;case 3:case 4:iZ=i.stateNode.containerInfo,iH=!0;break e}i=i.return}if(null===iZ)throw Error(d(160));iV(e,o,a),iZ=null,iH=!1;var l=a.alternate;null!==l&&(l.return=null),a.return=null}catch(e){lU(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)iY(t,e),t=t.sibling}function iY(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(iG(t,e),iQ(e),4&r){try{iD(3,e,e.return),iz(3,e)}catch(t){lU(e,e.return,t)}try{iD(5,e,e.return)}catch(t){lU(e,e.return,t)}}break;case 1:iG(t,e),iQ(e),512&r&&null!==n&&iI(n,n.return);break;case 5:if(iG(t,e),iQ(e),512&r&&null!==n&&iI(n,n.return),32&e.flags){var a=e.stateNode;try{eg(a,"")}catch(t){lU(e,e.return,t)}}if(4&r&&null!=(a=e.stateNode)){var o=e.memoizedProps,i=null!==n?n.memoizedProps:o,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===o.type&&null!=o.name&&ee(a,o),ek(l,i);var u=ek(l,o);for(i=0;i<s.length;i+=2){var c=s[i],p=s[i+1];"style"===c?ev(a,p):"dangerouslySetInnerHTML"===c?eh(a,p):"children"===c?eg(a,p):E(a,c,p,u)}switch(l){case"input":et(a,o);break;case"textarea":es(a,o);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var h=o.value;null!=h?eo(a,!!o.multiple,h,!1):!!o.multiple!==f&&(null!=o.defaultValue?eo(a,!!o.multiple,o.defaultValue,!0):eo(a,!!o.multiple,o.multiple?[]:"",!1))}a[rO]=o}catch(t){lU(e,e.return,t)}}break;case 6:if(iG(t,e),iQ(e),4&r){if(null===e.stateNode)throw Error(d(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){lU(e,e.return,t)}}break;case 3:if(iG(t,e),iQ(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{tL(t.containerInfo)}catch(t){lU(e,e.return,t)}break;case 4:default:iG(t,e),iQ(e);break;case 13:iG(t,e),iQ(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,o&&(null===a.alternate||null===a.alternate.memoizedState)&&(ll=eJ())),4&r&&iq(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(iA=(u=iA)||c,iG(t,e),iA=u):iG(t,e),iQ(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&0!=(1&e.mode))for(iR=e,c=e.child;null!==c;){for(p=iR=c;null!==iR;){switch(h=(f=iR).child,f.tag){case 0:case 11:case 14:case 15:iD(4,f,f.return);break;case 1:iI(f,f.return);var g=f.stateNode;if("function"==typeof g.componentWillUnmount){r=f,n=f.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){lU(r,n,e)}}break;case 5:iI(f,f.return);break;case 22:if(null!==f.memoizedState){iX(p);continue}}null!==h?(h.return=f,iR=h):iX(p)}c=c.sibling}e:for(c=null,p=e;;){if(5===p.tag){if(null===c){c=p;try{a=p.stateNode,u?(o=a.style,"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"):(l=p.stateNode,i=null!=(s=p.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=eb("display",i))}catch(t){lU(e,e.return,t)}}}else if(6===p.tag){if(null===c)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(t){lU(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;c===p&&(c=null),p=p.return}c===p&&(c=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:iG(t,e),iQ(e),4&r&&iq(e);case 21:}}function iQ(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(iB(n)){var r=n;break e}n=n.return}throw Error(d(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(eg(a,""),r.flags&=-33);var o=iU(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,o,a);break;case 3:case 4:var i=r.stateNode.containerInfo,l=iU(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=rm));else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,l,i);break;default:throw Error(d(161))}}catch(t){lU(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function iK(e){for(;null!==iR;){var t=iR;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:iA||iz(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!iA){if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:oX(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var o=t.updateQueue;null!==o&&aQ(t,o,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}aQ(t,i,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var p=c.dehydrated;null!==p&&tL(p)}}}break;default:throw Error(d(163))}iA||512&t.flags&&i$(t)}catch(e){lU(t,t.return,e)}}if(t===e){iR=null;break}if(null!==(n=t.sibling)){n.return=t.return,iR=n;break}iR=t.return}}function iX(e){for(;null!==iR;){var t=iR;if(t===e){iR=null;break}var n=t.sibling;if(null!==n){n.return=t.return,iR=n;break}iR=t.return}}function iJ(e){for(;null!==iR;){var t=iR;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{iz(4,t)}catch(e){lU(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(e){lU(t,a,e)}}var o=t.return;try{i$(t)}catch(e){lU(t,o,e)}break;case 5:var i=t.return;try{i$(t)}catch(e){lU(t,i,e)}}}catch(e){lU(t,t.return,e)}if(t===e){iR=null;break}var l=t.sibling;if(null!==l){l.return=t.return,iR=l;break}iR=t.return}}var i0=Math.ceil,i1=C.ReactCurrentDispatcher,i2=C.ReactCurrentOwner,i5=C.ReactCurrentBatchConfig,i3=0,i4=null,i9=null,i6=0,i8=0,i7=rB(0),le=0,lt=null,ln=0,lr=0,la=0,lo=null,li=null,ll=0,ls=1/0,lu=null,lc=!1,ld=null,lp=null,lf=!1,lh=null,lg=0,lm=0,ly=null,lb=-1,lv=0;function lw(){return 0!=(6&i3)?eJ():-1!==lb?lb:lb=eJ()}function lx(e){return 0==(1&e.mode)?1:0!=(2&i3)&&0!==i6?i6&-i6:null!==ak.transition?(0===lv&&(lv=ti()),lv):0!==(e=tc)?e:e=void 0===(e=window.event)?16:tB(e.type)}function lk(e,t,n,r){if(50<lm)throw lm=0,ly=null,Error(d(185));ts(e,n,r),(0==(2&i3)||e!==i4)&&(e===i4&&(0==(2&i3)&&(lr|=n),4===le&&lT(e,i6)),lS(e,r),1===n&&0===i3&&0==(1&t.mode)&&(ls=eJ()+500,r2&&r4()))}function lS(e,t){var n,r=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-e8(o),l=1<<i,s=a[i];-1===s?(0==(l&n)||0!=(l&r))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var a=ta(e,e===i4?i6:0);if(0===a)null!==r&&eQ(r),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(null!=r&&eQ(r),1===t){;0===e.tag?(n=lj.bind(null,e),r2=!0,r3(n)):r3(lj.bind(null,e)),rS(function(){0==(6&i3)&&r4()}),r=null}else{switch(td(a)){case 1:r=e1;break;case 4:r=e2;break;case 16:default:r=e5;break;case 0x20000000:r=e4}r=function(e,t){return eY(e,t)}(r,l_.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function l_(e,t){if(lb=-1,lv=0,0!=(6&i3))throw Error(d(327));var n=e.callbackNode;if(l$()&&e.callbackNode!==n)return null;var r=ta(e,e===i4?i6:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=lF(e,r);else{t=r;var a=i3;i3|=2;var o=lR();for((i4!==e||i6!==t)&&(lu=null,ls=eJ()+500,lA(e,t));;)try{(function(){for(;null!==i9&&!eK();)lM(i9)})();break}catch(t){lL(e,t)}aL(),i1.current=o,i3=a,null!==i9?t=0:(i4=null,i6=0,t=le)}if(0!==t){if(2===t&&0!==(a=to(e))&&(r=a,t=lE(e,a)),1===t)throw n=lt,lA(e,0),lT(e,r),lS(e,eJ()),n;if(6===t)lT(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!nF(o(),a))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=lF(e,r))&&0!==(o=to(e))&&(r=o,t=lE(e,o)),1===t))throw n=lt,lA(e,0),lT(e,r),lS(e,eJ()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(d(345));case 2:case 5:lz(e,li,lu);break;case 3:if(lT(e,r),(0x7c00000&r)===r&&10<(t=ll+500-eJ())){if(0!==ta(e,0))break;if(((a=e.suspendedLanes)&r)!==r){lw(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=rw(lz.bind(null,e,li,lu),t);break}lz(e,li,lu);break;case 4:if(lT(e,r),(4194240&r)===r)break;for(a=-1,t=e.eventTimes;0<r;){var i=31-e8(r);o=1<<i,(i=t[i])>a&&(a=i),r&=~o}if(r=a,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*i0(r/1960))-r)){e.timeoutHandle=rw(lz.bind(null,e,li,lu),r);break}lz(e,li,lu);break;default:throw Error(d(329))}}}return lS(e,eJ()),e.callbackNode===n?l_.bind(null,e):null}function lE(e,t){var n=lo;return e.current.memoizedState.isDehydrated&&(lA(e,t).flags|=256),2!==(e=lF(e,t))&&(t=li,li=n,null!==t&&lC(t)),e}function lC(e){null===li?li=e:li.push.apply(li,e)}function lT(e,t){for(t&=~la,t&=~lr,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-e8(t),r=1<<n;e[n]=-1,t&=~r}}function lj(e){if(0!=(6&i3))throw Error(d(327));l$();var t=ta(e,0);if(0==(1&t))return lS(e,eJ()),null;var n=lF(e,t);if(0!==e.tag&&2===n){var r=to(e);0!==r&&(t=r,n=lE(e,r))}if(1===n)throw n=lt,lA(e,0),lT(e,t),lS(e,eJ()),n;if(6===n)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,lz(e,li,lu),lS(e,eJ()),null}function lN(e,t){var n=i3;i3|=1;try{return e(t)}finally{0===(i3=n)&&(ls=eJ()+500,r2&&r4())}}function lO(e){null!==lh&&0===lh.tag&&0==(6&i3)&&l$();var t=i3;i3|=1;var n=i5.transition,r=tc;try{if(i5.transition=null,tc=1,e)return e()}finally{tc=r,i5.transition=n,0==(6&(i3=t))&&r4()}}function lP(){i8=i7.current,rU(i7)}function lA(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,rx(n)),null!==i9)for(n=i9.return;null!==n;){var r=n;switch(as(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&rQ();break;case 3:a5(),rU(rV),rU(rW),a7();break;case 5:a4(r);break;case 4:a5();break;case 13:case 19:rU(a9);break;case 10:aR(r.type._context);break;case 22:case 23:lP()}n=n.return}if(i4=e,i9=e=lK(e.current,null),i6=i8=t,le=0,lt=null,la=lr=ln=0,li=lo=null,null!==aD){for(t=0;t<aD.length;t++)if(null!==(r=(n=aD[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}aD=null}return e}function lL(e,t){for(;;){var n=i9;try{if(aL(),oe.current=oG,oi){for(var r=or.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}oi=!1}if(on=0,oo=oa=or=null,ol=!1,os=0,i2.current=null,null===n||null===n.return){le=1,lt=t,i9=null;break}e:{var o=e,i=n.return,l=n,s=t;if(t=i6,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s,c=l,p=c.tag;if(0==(1&c.mode)&&(0===p||11===p||15===p)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ir(i);if(null!==h){h.flags&=-257,ia(h,i,l,o,t),1&h.mode&&it(o,u,t),t=h,s=u;var g=t.updateQueue;if(null===g){var m=new Set;m.add(s),t.updateQueue=m}else g.add(s);break e}if(0==(1&t)){it(o,u,t),lI();break e}s=Error(d(426))}else if(ad&&1&l.mode){var y=ir(i);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),ia(y,i,l,o,t),ax(o4(s,l));break e}}o=s=o4(s,l),4!==le&&(le=2),null===lo?lo=[o]:lo.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var b=o7(o,s,t);aG(o,b);break e;case 1:l=s;var v=o.type,w=o.stateNode;if(0==(128&o.flags)&&("function"==typeof v.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===lp||!lp.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=ie(o,l,t);aG(o,x);break e}}o=o.return}while(null!==o)}lD(n)}catch(e){t=e,i9===n&&null!==n&&(i9=n=n.return);continue}break}}function lR(){var e=i1.current;return i1.current=oG,null===e?oG:e}function lI(){(0===le||3===le||2===le)&&(le=4),null===i4||0==(0xfffffff&ln)&&0==(0xfffffff&lr)||lT(i4,i6)}function lF(e,t){var n=i3;i3|=2;var r=lR();for((i4!==e||i6!==t)&&(lu=null,lA(e,t));;)try{(function(){for(;null!==i9;)lM(i9)})();break}catch(t){lL(e,t)}if(aL(),i3=n,i1.current=r,null!==i9)throw Error(d(261));return i4=null,i6=0,le}function lM(e){var t=s(e.alternate,e,i8);e.memoizedProps=e.pendingProps,null===t?lD(e):i9=t,i2.current=null}function lD(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=function(e,t,n){var r=t.pendingProps;switch(as(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return iO(t),null;case 1:case 17:return rY(t.type)&&rQ(),iO(t),null;case 3:return r=t.stateNode,a5(),rU(rV),rU(rW),a7(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(ab(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ap&&(lC(ap),ap=null))),o(e,t),iO(t),null;case 5:a4(t);var s=a1(a0.current);if(n=t.type,null!==e&&null!=t.stateNode)i(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(d(166));return iO(t),null}if(e=a1(aX.current),ab(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[rN]=t,r[rO]=u,e=0!=(1&t.mode),n){case"dialog":rn("cancel",r),rn("close",r);break;case"iframe":case"object":case"embed":rn("load",r);break;case"video":case"audio":for(s=0;s<n8.length;s++)rn(n8[s],r);break;case"source":rn("error",r);break;case"img":case"image":case"link":rn("error",r),rn("load",r);break;case"details":rn("toggle",r);break;case"input":J(r,u),rn("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},rn("invalid",r);break;case"textarea":el(r,u),rn("invalid",r)}for(var c in ex(n,u),s=null,u)if(u.hasOwnProperty(c)){var p=u[c];"children"===c?"string"==typeof p?r.textContent!==p&&(!0!==u.suppressHydrationWarning&&rg(r.textContent,p,e),s=["children",p]):"number"==typeof p&&r.textContent!==""+p&&(!0!==u.suppressHydrationWarning&&rg(r.textContent,p,e),s=["children",""+p]):f.hasOwnProperty(c)&&null!=p&&"onScroll"===c&&rn("scroll",r)}switch(n){case"input":Y(r),en(r,u,!0);break;case"textarea":Y(r),eu(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=rm)}r=s,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===s.nodeType?s:s.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ec(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[rN]=t,e[rO]=r,a(e,t,!1,!1),t.stateNode=e;e:{switch(c=ek(n,r),n){case"dialog":rn("cancel",e),rn("close",e),s=r;break;case"iframe":case"object":case"embed":rn("load",e),s=r;break;case"video":case"audio":for(s=0;s<n8.length;s++)rn(n8[s],e);s=r;break;case"source":rn("error",e),s=r;break;case"img":case"image":case"link":rn("error",e),rn("load",e),s=r;break;case"details":rn("toggle",e),s=r;break;case"input":J(e,r),s=X(e,r),rn("invalid",e);break;case"option":default:s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Z({},r,{value:void 0}),rn("invalid",e);break;case"textarea":el(e,r),s=ei(e,r),rn("invalid",e)}for(u in ex(n,s),p=s)if(p.hasOwnProperty(u)){var h=p[u];"style"===u?ev(e,h):"dangerouslySetInnerHTML"===u?null!=(h=h?h.__html:void 0)&&eh(e,h):"children"===u?"string"==typeof h?("textarea"!==n||""!==h)&&eg(e,h):"number"==typeof h&&eg(e,""+h):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(f.hasOwnProperty(u)?null!=h&&"onScroll"===u&&rn("scroll",e):null!=h&&E(e,u,h,c))}switch(n){case"input":Y(e),en(e,r,!1);break;case"textarea":Y(e),eu(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?eo(e,!!r.multiple,u,!1):null!=r.defaultValue&&eo(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=rm)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return iO(t),null;case 6:if(e&&null!=t.stateNode)l(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(d(166));if(n=a1(a0.current),a1(aX.current),ab(t)){if(r=t.stateNode,n=t.memoizedProps,r[rN]=t,(u=r.nodeValue!==n)&&null!==(e=au))switch(e.tag){case 3:rg(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&rg(r.nodeValue,n,0!=(1&e.mode))}u&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[rN]=t,t.stateNode=r}return iO(t),null;case 13:if(rU(a9),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ad&&null!==ac&&0!=(1&t.mode)&&0==(128&t.flags))av(),aw(),t.flags|=98560,u=!1;else if(u=ab(t),null!==r&&null!==r.dehydrated){if(null===e){if(!u)throw Error(d(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(d(317));u[rN]=t}else aw(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;iO(t),u=!1}else null!==ap&&(lC(ap),ap=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=n,t;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&a9.current)?0===le&&(le=3):lI())),null!==t.updateQueue&&(t.flags|=4),iO(t),null;case 4:return a5(),o(e,t),null===e&&ro(t.stateNode.containerInfo),iO(t),null;case 10:return aR(t.type._context),iO(t),null;case 19:if(rU(a9),null===(u=t.memoizedState))return iO(t),null;if(r=0!=(128&t.flags),null===(c=u.rendering)){if(r)iN(u,!1);else{if(0!==le||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=a6(e))){for(t.flags|=128,iN(u,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)u=n,e=r,u.flags&=0xe00002,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return rZ(a9,1&a9.current|2),t.child}e=e.sibling}null!==u.tail&&eJ()>ls&&(t.flags|=128,r=!0,iN(u,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=a6(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),iN(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!ad)return iO(t),null}else 2*eJ()-u.renderingStartTime>ls&&0x40000000!==n&&(t.flags|=128,r=!0,iN(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=u.last)?n.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eJ(),t.sibling=null,n=a9.current,rZ(a9,r?1&n|2:1&n),t;return iO(t),null;case 22:case 23:return lP(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(0x40000000&i8)&&(iO(t),6&t.subtreeFlags&&(t.flags|=8192)):iO(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(n,t,i8))){i9=n;return}}else{if(null!==(n=function(e,t){switch(as(t),t.tag){case 1:return rY(t.type)&&rQ(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return a5(),rU(rV),rU(rW),a7(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return a4(t),null;case 13:if(rU(a9),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));aw()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return rU(a9),null;case 4:return a5(),null;case 10:return aR(t.type._context),null;case 22:case 23:return lP(),null;default:return null}}(n,t))){n.flags&=32767,i9=n;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{le=6,i9=null;return}}if(null!==(t=t.sibling)){i9=t;return}i9=t=e}while(null!==t);0===le&&(le=5)}function lz(e,t,n){var r=tc,a=i5.transition;try{i5.transition=null,tc=1,function(e,t,n,r){do l$();while(null!==lh);if(0!=(6&i3))throw Error(d(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(!function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-e8(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,o),e===i4&&(i9=i4=null,i6=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||lf||(lf=!0,lq(e5,function(){return l$(),null})),o=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||o){o=i5.transition,i5.transition=null;var i,l,s,u=tc;tc=1;var c=i3;i3|=4,i2.current=null,!function(e,t){if(ry=tI,nB(e=n$())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var l=0,s=-1,u=-1,c=0,p=0,f=e,h=null;t:for(;;){for(;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==i||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(a=f.firstChild);){;h=f,f=a}for(;;){if(f===e)break t;if(h===n&&++c===o&&(s=l),h===i&&++p===r&&(u=l),null!==(a=f.nextSibling))break;h=(f=h).parentNode}f=a}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(rb={focusedElem:e,selectionRange:n},tI=!1,iR=t;null!==iR;)if(e=(t=iR).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,iR=e;else for(;null!==iR;){t=iR;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,y=g.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:oX(t.type,m),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(d(163))}}catch(e){lU(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,iR=e;break}iR=t.return}g=iM,iM=!1}(e,n),iY(n,e),!function(e){var t=n$(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&nB(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=nz(n,o);var i=nz(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(rb),tI=!!ry,rb=ry=null,e.current=n,i=n,l=e,s=a,iR=i,function e(t,n,r){for(var a=0!=(1&t.mode);null!==iR;){var o=iR,i=o.child;if(22===o.tag&&a){var l=null!==o.memoizedState||iP;if(!l){var s=o.alternate,u=null!==s&&null!==s.memoizedState||iA;s=iP;var c=iA;if(iP=l,(iA=u)&&!c)for(iR=o;null!==iR;)u=(l=iR).child,22===l.tag&&null!==l.memoizedState?iJ(o):null!==u?(u.return=l,iR=u):iJ(o);for(;null!==i;)iR=i,e(i,n,r),i=i.sibling;iR=o,iP=s,iA=c}iK(t,n,r)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,iR=i):iK(t,n,r)}}(i,l,s),eX(),i3=c,tc=u,i5.transition=o}else e.current=n;if(lf&&(lf=!1,lh=e,lg=a),0===(o=e.pendingLanes)&&(lp=null),!function(e){if(e6&&"function"==typeof e6.onCommitFiberRoot)try{e6.onCommitFiberRoot(e9,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode,r),lS(e,eJ()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((a=t[n]).value,{componentStack:a.stack,digest:a.digest});if(lc)throw lc=!1,e=ld,ld=null,e;0!=(1&lg)&&0!==e.tag&&l$(),0!=(1&(o=e.pendingLanes))?e===ly?lm++:(lm=0,ly=e):lm=0,r4()}(e,t,n,r)}finally{i5.transition=a,tc=r}return null}function l$(){if(null!==lh){var e=td(lg),t=i5.transition,n=tc;try{if(i5.transition=null,tc=16>e?16:e,null===lh)var r=!1;else{if(e=lh,lh=null,lg=0,0!=(6&i3))throw Error(d(331));var a=i3;for(i3|=4,iR=e.current;null!==iR;){var o=iR,i=o.child;if(0!=(16&iR.flags)){var l=o.deletions;if(null!==l){for(var s=0;s<l.length;s++){var u=l[s];for(iR=u;null!==iR;){var c=iR;switch(c.tag){case 0:case 11:case 15:iD(8,c,o)}var p=c.child;if(null!==p)p.return=c,iR=p;else for(;null!==iR;){var f=(c=iR).sibling,h=c.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&(delete n[rN],delete n[rO],delete n[rA],delete n[rL],delete n[rR]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===u){iR=null;break}if(null!==f){f.return=h,iR=f;break}iR=h}}}var g=o.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}iR=o}}if(0!=(2064&o.subtreeFlags)&&null!==i)i.return=o,iR=i;else for(;null!==iR;){if(o=iR,0!=(2048&o.flags))switch(o.tag){case 0:case 11:case 15:iD(9,o,o.return)}var b=o.sibling;if(null!==b){b.return=o.return,iR=b;break}iR=o.return}}var v=e.current;for(iR=v;null!==iR;){var w=(i=iR).child;if(0!=(2064&i.subtreeFlags)&&null!==w)w.return=i,iR=w;else for(i=v;null!==iR;){if(l=iR,0!=(2048&l.flags))try{switch(l.tag){case 0:case 11:case 15:iz(9,l)}}catch(e){lU(l,l.return,e)}if(l===i){iR=null;break}var x=l.sibling;if(null!==x){x.return=l.return,iR=x;break}iR=l.return}}if(i3=a,r4(),e6&&"function"==typeof e6.onPostCommitFiberRoot)try{e6.onPostCommitFiberRoot(e9,e)}catch(e){}r=!0}return r}finally{tc=n,i5.transition=t}}return!1}function lB(e,t,n){t=o7(e,t=o4(n,t),1),e=aV(e,t,1),t=lw(),null!==e&&(ts(e,1,t),lS(e,t))}function lU(e,t,n){if(3===e.tag)lB(e,e,n);else for(;null!==t;){if(3===t.tag){lB(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===lp||!lp.has(r))){e=ie(t,e=o4(n,e),1),t=aV(t,e,1),e=lw(),null!==t&&(ts(t,1,e),lS(t,e));break}}t=t.return}}function lZ(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=lw(),e.pingedLanes|=e.suspendedLanes&n,i4===e&&(i6&n)===n&&(4===le||3===le&&(0x7c00000&i6)===i6&&500>eJ()-ll?lA(e,0):la|=n),lS(e,t)}function lH(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tn,0==(0x7c00000&(tn<<=1))&&(tn=4194304)));var n=lw();null!==(e=aB(e,t))&&(ts(e,t,n),lS(e,n))}function lW(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),lH(e,n)}function lV(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(t),lH(e,n)}function lq(e,t){return eY(e,t)}function lG(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lY(e,t,n,r){return new lG(e,t,n,r)}function lQ(e){return!(!(e=e.prototype)||!e.isReactComponent)}s=function(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps||rV.current)ii=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return ii=!1,function(e,t,n){switch(t.tag){case 3:iy(t),aw();break;case 5:a3(t);break;case 1:rY(t.type)&&rJ(t);break;case 4:a2(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;rZ(aN,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return rZ(a9,1&a9.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return ix(e,t,n);return rZ(a9,1&a9.current),null!==(e=ij(e,t,n))?e.sibling:null}rZ(a9,1&a9.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return iC(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),rZ(a9,a9.current),!r)return null;break;case 22:case 23:return t.lanes=0,id(e,t,n)}return ij(e,t,n)}(e,t,n);ii=0!=(131072&e.flags)}}else ii=!1,ad&&0!=(1048576&t.flags)&&ai(t,r7,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;iT(e,t),e=t.pendingProps;var a=rG(t,rW.current);aF(t,n),a=op(null,t,r,e,a,n);var o=of();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rY(r)?(o=!0,rJ(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,aZ(t),a.updater=o0,t.stateNode=a,a._reactInternals=t,o3(t,r,e,n),t=im(null,t,r,!0,o,n)):(t.tag=0,ad&&o&&al(t),il(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(iT(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return lQ(e)?1:0;if(null!=e){if((e=e.$$typeof)===R)return 11;if(e===M)return 14}return 2}(r),e=oX(r,e),a){case 0:t=ih(null,t,r,e,n);break e;case 1:t=ig(null,t,r,e,n);break e;case 11:t=is(null,t,r,e,n);break e;case 14:t=iu(null,t,r,oX(r.type,e),n);break e}throw Error(d(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),ih(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),ig(e,t,r,a,n);case 3:e:{if(iy(t),null===e)throw Error(d(387));r=t.pendingProps,a=(o=t.memoizedState).element,aH(e,t),aY(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){a=o4(Error(d(423)),t),t=ib(e,t,r,n,a);break e}else if(r!==a){a=o4(Error(d(424)),t),t=ib(e,t,r,n,a);break e}else for(ac=rC(t.stateNode.containerInfo.firstChild),au=t,ad=!0,ap=null,n=aj(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(aw(),r===a){t=ij(e,t,n);break e}il(e,t,r,n)}t=t.child}return t;case 5:return a3(t),null===e&&am(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children,rv(r,a)?i=null:null!==o&&rv(r,o)&&(t.flags|=32),ip(e,t),il(e,t,i,n),t.child;case 6:return null===e&&am(t),null;case 13:return ix(e,t,n);case 4:return a2(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=aT(t,null,r,n):il(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),is(e,t,r,a,n);case 7:return il(e,t,t.pendingProps,n),t.child;case 8:case 12:return il(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,rZ(aN,r._currentValue),r._currentValue=i,null!==o){if(nF(o.value,i)){if(o.children===a.children&&!rV.current){t=ij(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){i=o.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===o.tag){(s=aW(-1,n&-n)).tag=2;var u=o.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),aI(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===o.tag)i=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(d(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),aI(i,n,t),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===t){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}il(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,aF(t,n),r=r(a=aM(a)),t.flags|=1,il(e,t,r,n),t.child;case 14:return a=oX(r=t.type,t.pendingProps),a=oX(r.type,a),iu(e,t,r,a,n);case 15:return ic(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:oX(r,a),iT(e,t),t.tag=1,rY(r)?(e=!0,rJ(t)):e=!1,aF(t,n),o2(t,r,a),o3(t,r,a,n),im(null,t,r,!0,e,n);case 19:return iC(e,t,n);case 22:return id(e,t,n)}throw Error(d(156,t.tag))};function lK(e,t){var n=e.alternate;return null===n?((n=lY(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.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&e.flags,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 lX(e,t,n,r,a,o){var i=2;if(r=e,"function"==typeof e)lQ(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case N:return lJ(n.children,a,o,t);case O:i=8,a|=8;break;case P:return(e=lY(12,n,t,2|a)).elementType=P,e.lanes=o,e;case I:return(e=lY(13,n,t,a)).elementType=I,e.lanes=o,e;case F:return(e=lY(19,n,t,a)).elementType=F,e.lanes=o,e;case z:return l0(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case A:i=10;break e;case L:i=9;break e;case R:i=11;break e;case M:i=14;break e;case D:i=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=lY(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function lJ(e,t,n,r){return(e=lY(7,e,r,t)).lanes=n,e}function l0(e,t,n,r){return(e=lY(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={isHidden:!1},e}function l1(e,t,n){return(e=lY(6,e,null,t)).lanes=n,e}function l2(e,t,n){return(t=lY(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function l5(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tl(0),this.expirationTimes=tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tl(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function l3(e,t,n,r,a,o,i,l,s){return e=new l5(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lY(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},aZ(o),e}function l4(e){if(!e)return rH;e=e._reactInternals;e:{if(eW(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rY(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var n=e.type;if(rY(n))return rX(e,n,t)}return t}function l9(e,t,n,r,a,o,i,l,s){return(e=l3(n,r,!0,e,a,o,i,l,s)).context=l4(null),n=e.current,r=lw(),(o=aW(r,a=lx(n))).callback=null!=t?t:null,aV(n,o,a),e.current.lanes=a,ts(e,a,r),lS(e,r),e}function l6(e,t,n,r){var a=t.current,o=lw(),i=lx(a);return n=l4(n),null===t.context?t.context=n:t.pendingContext=n,(t=aW(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=aV(a,t,i))&&(lk(e,a,i,o),aq(e,a,i)),i}function l8(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function l7(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function se(e,t){l7(e,t),(e=e.alternate)&&l7(e,t)}var st="function"==typeof reportError?reportError:function(e){console.error(e)};function sn(e){this._internalRoot=e}function sr(e){this._internalRoot=e}function sa(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function so(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function si(){}sr.prototype.render=sn.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));l6(e,t,null,null)},sr.prototype.unmount=sn.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lO(function(){l6(null,e,null,null)}),t[rP]=null}},sr.prototype.unstable_scheduleHydration=function(e){if(e){var t=tg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<t_.length&&0!==t&&t<t_[n].priority;n++);t_.splice(n,0,e),0===n&&tj(e)}};function sl(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=l8(i);l.call(e)}}l6(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=l8(i);o.call(e)}}var i=l9(t,r,e,0,null,!1,!1,"",si);return e._reactRootContainer=i,e[rP]=i.current,ro(8===e.nodeType?e.parentNode:e),lO(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=l8(s);l.call(e)}}var s=l3(e,0,!1,null,null,!1,!1,"",si);return e._reactRootContainer=s,e[rP]=s.current,ro(8===e.nodeType?e.parentNode:e),lO(function(){l6(t,s,n,r)}),s}(n,t,e,a,r);return l8(i)}tp=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=tr(t.pendingLanes);0!==n&&(tu(t,1|n),lS(t,eJ()),0==(6&i3)&&(ls=eJ()+500,r4()))}break;case 13:lO(function(){var t=aB(e,1);null!==t&&lk(t,e,1,lw())}),se(e,1)}},tf=function(e){if(13===e.tag){var t=aB(e,0x8000000);null!==t&&lk(t,e,0x8000000,lw()),se(e,0x8000000)}},th=function(e){if(13===e.tag){var t=lx(e),n=aB(e,t);null!==n&&lk(n,e,t,lw()),se(e,t)}},tg=function(){return tc},tm=function(e,t){var n=tc;try{return tc=e,t()}finally{tc=n}},eE=function(e,t,n){switch(t){case"input":if(et(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=rD(r);if(!a)throw Error(d(90));Q(r),et(r,a)}}}break;case"textarea":es(e,n);break;case"select":null!=(t=n.value)&&eo(e,!!n.multiple,t,!1)}},eP=lN,eA=lO;var ss={findFiberByHostInstance:rI,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},su={bundleType:ss.bundleType,version:ss.version,rendererPackageName:ss.rendererPackageName,rendererConfig:ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eG(e))?null:e.stateNode},findFiberByHostInstance:ss.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sc.isDisabled&&sc.supportsFiber)try{e9=sc.inject(su),e6=sc}catch(e){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[rF,rM,rD,eN,eO,lN]},t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!sa(t))throw Error(d(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:j,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!sa(e))throw Error(d(299));var n=!1,r="",a=st;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=l3(e,1,!1,null,null,n,!1,r,a),e[rP]=t.current,ro(8===e.nodeType?e.parentNode:e),new sn(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return e=null===(e=eG(t))?null:e.stateNode},t.flushSync=function(e){return lO(e)},t.hydrate=function(e,t,n){if(!so(t))throw Error(d(200));return sl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!sa(e))throw Error(d(405));var r=null!=n&&n.hydratedSources||null,a=!1,o="",i=st;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=l9(t,null,e,1,null!=n?n:null,a,!1,o,i),e[rP]=t.current,ro(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new sr(t)},t.render=function(e,t,n){if(!so(t))throw Error(d(200));return sl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!so(e))throw Error(d(40));return!!e._reactRootContainer&&(lO(function(){sl(null,null,e,!1,function(){e._reactRootContainer=null,e[rP]=null})}),!0)},t.unstable_batchedUpdates=lN,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!so(n))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return sl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},20745:function(e,t,n){"use strict";var r=n(73935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},73935:function(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(e){console.error(e)}}(),e.exports=n(64448)},69590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,i){if(o===i)return!0;if(o&&i&&"object"==typeof o&&"object"==typeof i){var l,s,u,c;if(o.constructor!==i.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(!e(o[s],i[s]))return!1;return!0}if(n&&o instanceof Map&&i instanceof Map){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=o.entries();!(s=c.next()).done;)if(!e(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&i instanceof Set){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(i)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(o[s]!==i[s])return!1;return!0}if(o.constructor===RegExp)return o.source===i.source&&o.flags===i.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof i.valueOf)return o.valueOf()===i.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof i.toString)return o.toString()===i.toString();if((l=(u=Object.keys(o)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&o instanceof Element)return!1;for(s=l;0!=s--;){if("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!o.$$typeof){if(!e(o[u[s]],i[u[s]]))return!1}}return!0}return o!=o&&i!=i}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},70405:function(e,t,n){"use strict";n.d(t,{B6:function(){return Z},ql:function(){return K}});var r=n(67294),a=n(45697),o=n.n(a),i=n(69590),l=n.n(i),s=n(41143),u=n.n(s),c=n(96774),d=n.n(c);function p(){return(p=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}).apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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 m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={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(m).map(function(e){return m[e]}),x={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(x).reduce(function(e,t){return e[x[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},_=function(e){var t=S(e,m.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},E=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return p({},e,t)},{})},C=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=p({},r[l],a[l]);r[l]=s}return e},[]).reverse()},T=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},j=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.default.push(n):e.priority.push(n),e},{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},P=[m.NOSCRIPT,m.SCRIPT,m.STYLE],A=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,"'")},L=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},"")},R=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[x[n]||n]=e[n],t},t)},I=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=x[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},F=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){var e,n,a,o;return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=R(n,a),[r.createElement(m.TITLE,o,e)]},toString:function(){var r,a,o,i,l,s;return r=e,a=t.title,o=t.titleAttributes,i=n,l=L(o),s=j(a),l?"<"+r+' data-rh="true" '+l+">"+A(s,i)+"</"+r+">":"<"+r+' data-rh="true">'+A(s,i)+"</"+r+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return R(t)},toString:function(){return L(t)}};default:return{toComponent:function(){return I(e,t)},toString:function(){var r,a,o;return r=e,a=t,o=n,a.reduce(function(e,t){var n=Object.keys(t).filter(function(e){return!("innerHTML"===e||"cssText"===e)}).reduce(function(e,n){var r=void 0===t[n]?n:n+'="'+A(t[n],o)+'"';return e?e+" "+r:r},""),a=t.innerHTML||t.cssText||"",i=-1===P.indexOf(r);return e+"<"+r+' data-rh="true" '+n+(i?"/>":">"+a+"</"+r+">")},"")}}}},M=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=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var f,h,g,w,x,k,S,_=(h=(f=e).linkTags,g=f.scriptTags,w=f.encode,x=N(f.metaTags,v),k=N(h,y),S=N(g,b),{priorityMethods:{toComponent:function(){return[].concat(I(m.META,x.priority),I(m.LINK,k.priority),I(m.SCRIPT,S.priority))},toString:function(){return F(m.META,x.priority,w)+" "+F(m.LINK,k.priority,w)+" "+F(m.SCRIPT,S.priority,w)}},metaTags:x.default,linkTags:k.default,scriptTags:S.default});p=_.priorityMethods,u=_.linkTags,c=_.metaTags,d=_.scriptTags}return{priority:p,base:F(m.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(m.LINK,u,r),meta:F(m.META,c,r),noscript:F(m.NOSCRIPT,o,r),script:F(m.SCRIPT,d,r),style:F(m.STYLE,i,r),title:F(m.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},D=[],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?D:n.instances},add:function(e){(n.canUseDOM?D:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?D:n.instances).indexOf(e);(n.canUseDOM?D:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),B=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),U="undefined"!=typeof document,Z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new z(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Z.canUseDOM=U,Z.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},Z.defaultProps={context:{}},Z.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(m.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(","))}},V=function(e,t){var n,r,a=e.baseTag,o=e.htmlAttributes,i=e.linkTags,l=e.metaTags,s=e.noscriptTags,u=e.onChangeClientState,c=e.scriptTags,d=e.styleTags,p=e.title,f=e.titleAttributes;W(m.BODY,e.bodyAttributes),W(m.HTML,o),n=p,r=f,void 0!==n&&document.title!==n&&(document.title=j(n)),W(m.TITLE,r);var h={baseTag:H(m.BASE,a),linkTags:H(m.LINK,i),metaTags:H(m.META,l),noscriptTags:H(m.NOSCRIPT,s),scriptTags:H(m.SCRIPT,c),styleTags:H(m.STYLE,d)},g={},y={};Object.keys(h).forEach(function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(g[e]=n),r.length&&(y[e]=h[e].oldTags)}),t&&t(),u(e,g,y)},q=null,G=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(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={baseTag:(e=["href"],(t=n.helmetInstances.get().map(function(e){var t=p({},e.props);return delete t.context,t})).filter(function(e){return void 0!==e[m.BASE]}).map(function(e){return e[m.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},[])),bodyAttributes:E("bodyAttributes",t),defer:S(t,"defer"),encode:S(t,"encodeSpecialCharacters"),htmlAttributes:E("htmlAttributes",t),linkTags:C(m.LINK,["rel","href"],t),metaTags:C(m.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:C(m.NOSCRIPT,["innerHTML"],t),onChangeClientState:S(t,"onChangeClientState")||function(){},scriptTags:C(m.SCRIPT,["src","innerHTML"],t),styleTags:C(m.STYLE,["cssText"],t),title:_(t),titleAttributes:E("titleAttributes",t),prioritizeSeoTags:T(t,"prioritizeSeoTags")};Z.canUseDOM?(q&&cancelAnimationFrame(q),o.defer?q=requestAnimationFrame(function(){V(o,function(){q=null})}):(V(o),q=null)):M&&(a=M(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);G.propTypes={context:B.isRequired},G.displayName="HelmetDispatcher";var Y=["children"],Q=["children"],K=function(e){function t(){return e.apply(this,arguments)||this}f(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 m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw 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 p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},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 m.TITLE:return p({},a,((t={})[r.type]=i,t.titleAttributes=p({},o),t));case m.BODY:return p({},a,{bodyAttributes:p({},o)});case m.HTML:return p({},a,{htmlAttributes:p({},o)});default:return p({},a,((n={})[r.type]=p({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach(function(t){var r;n=p({},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=g(r,Y),l=Object.keys(i).reduce(function(e,t){return e[k[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case m.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.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=g(e,Q),a=p({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof z||(o=new z(o.context,o.instances)),o?r.createElement(G,p({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,function(e){return r.createElement(G,p({},a,{context:e}))})},t}(r.Component);K.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},K.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},K.displayName="Helmet"},69921:function(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,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(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 f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case m:case g:case s:return e;default:return t}}case a:return t}}}function k(e){return x(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},59864:function(e,t,n){"use strict";e.exports=n(69921)},68356:function(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 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}).apply(this,arguments)}var l=n(67294),s=[],u=[],c=l.createContext(null);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 p(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(e){t.error=e}return t.promise=Promise.all(n).then(function(e){return t.loading=!1,e}).catch(function(e){throw t.loading=!1,e}),t}function f(e,t){var n;return l.createElement((n=e)&&n.__esModule?n.default:n,t)}function h(e,t){if(!t.loading)throw Error("react-loadable requires a `loading` component");var d,p,h=i({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},t),g=null;function m(){return!g&&(g=e(h.loader)),g.promise}return s.push(m),"function"==typeof h.webpack&&u.push(function(){if((0,h.webpack)().every(function(e){return void 0!==e&&void 0!==n.m[e]}))return m()}),p=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}),g=e(h.loader),r._loadModule()}),m(),r.state={error:g.error,pastDelay:!1,timedOut:!1,loading:g.loading,loaded:g.loaded},r}r(n,t),n.preload=function(){return m()};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&&Array.isArray(h.modules)&&h.modules.forEach(function(t){e.context.report(t)}),!!g.loading){var t=function(t){if(!!e._mounted)e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout(function(){t({pastDelay:!0})},h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout(function(){t({timedOut:!0})},h.timeout));var n=function(){t({error:g.error,loaded:g.loaded,loading:g.loading}),e._clearTimeouts()};g.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(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextType",c),p}function g(e){return h(d,e)}g.Map=function(e){if("function"!=typeof e.render)throw Error("LoadableMap requires a `render(loaded, props)` function");return h(p,e)};var m=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return l.createElement(c.Provider,{value:{report:this.props.report}},l.Children.only(this.props.children))},t}(l.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then(function(){if(e.length)return y(e)})}g.Capture=m,g.preloadAll=function(){return new Promise(function(e,t){y(s).then(e,t)})},g.preloadReady=function(){return new Promise(function(e,t){y(u).then(e,e)})},e.exports=g},18790:function(e,t,n){"use strict";n.d(t,{H:function(){return i},f:function(){return function e(t,n,a){return void 0===a&&(a=[]),t.some(function(t){var o=t.path?(0,r.LX)(n,t):a.length?a[a.length-1].match:r.F0.computeRootMatch(n);return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,n,a)),o}),a}}});var r=n(16550),a=n(16019),o=n(67294);function i(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}},73727:function(e,t,n){"use strict";n.d(t,{OL:function(){return w},UT:function(){return d},VK:function(){return c},rU:function(){return y}});var r=n(16550),a=n(35091),o=n(67294),i=n(31381),l=n(16019),s=n(70443),u=n(21835),c=function(e){function t(){for(var t,n=arguments.length,r=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),d=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.q_)(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),p=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},h=function(e){return e},g=o.forwardRef;void 0===g&&(g=h);var m=g(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){var t;try{a&&a(e)}catch(t){throw e.preventDefault(),t}if(!e.defaultPrevented&&0===e.button&&(!u||"_self"===u)&&!((t=e).metaKey||t.altKey||t.ctrlKey||t.shiftKey))e.preventDefault(),r()}});return h!==g?c.ref=t||n:c.ref=n,o.createElement("a",c)}),y=g(function(e,t){var n=e.component,a=void 0===n?m:n,c=e.replace,d=e.to,y=e.innerRef,b=(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(p(d,e.location),e.location),s=r?n.createHref(r):"",m=(0,l.Z)({},b,{href:s,navigate:function(){var t=p(d,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(t));(c||r?n.replace:n.push)(t)}});return h!==g?m.ref=t||y:m.innerRef=y,o.createElement(a,m)})}),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v(function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,h=e.className,g=e.exact,m=e.isActive,w=e.location,x=e.sensitive,k=e.strict,S=e.style,_=e.to,E=e.innerRef,C=(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(p(_,n),n),s=i.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),j=T?(0,r.LX)(n.pathname,{path:T,exact:g,sensitive:x,strict:k}):null,N=!!(m?m(j,n):j),O="function"==typeof h?h(N):h,P="function"==typeof S?S(N):S;N&&(O=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(O,c),P=(0,l.Z)({},P,d));var A=(0,l.Z)({"aria-current":N&&a||null,className:O,style:P,to:i},C);return b!==v?A.ref=t||E:A.innerRef=E,o.createElement(y,A)})})},16550:function(e,t,n){"use strict";n.d(t,{AW:function(){return x},F0:function(){return y},LX:function(){return w},TH:function(){return C},k6:function(){return E},rs:function(){return S},s6:function(){return m}});var r=n(35091),a=n(67294),o=n(45697),i=n.n(o),l=n(31381),s=n(21835),u=n(16019),c=n(14779),d=n.n(c);n(59864),n(70443),n(8679);var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},f=a.createContext||function(e,t){var n,o,l,s="__create-react-context-"+(p[n="__global_unique_id__"]=(p[n]||0)+1)+"__",u=function(e){function n(){for(var t,n,r,a=arguments.length,o=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.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r,a,o=this.props.value,i=e.value;if((n=o)===(r=i)?0!==n||1/n==1/r:n!=n&&r!=r)a=0;else{a="function"==typeof t?t(o,i):0x3fffffff;0!=(a|=0)&&this.emitter.set(e.value,a)}}},a.render=function(){return this.props.children},n}(a.Component);u.childContextTypes=((o={})[s]=i().object.isRequired,o);var c=function(t){function n(){for(var e,n=arguments.length,r=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)!=0&&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?0x3fffffff:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?0x3fffffff:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){var e;return(Array.isArray(e=this.props.children)?e[0]:e)(this.state.value)},n}(a.Component);return c.contextTypes=((l={})[s]=i().object,l),{Provider:u,Consumer:c}},h=function(e){var t=f();return t.displayName=e,t},g=h("Router-History"),m=h("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.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(m.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(g.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var b={},v=0;function w(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=b[n]||(b[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return v<1e4&&(r[e]=o,v++),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],p=s.slice(1),f=e===c;return o&&!f?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:f,params:i.reduce(function(e,t,n){return e[t.name]=p[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(m.Consumer,null,function(t){t||(0,s.Z)(!1);var n,r=e.props.location||t.location,o=e.props.computedMatch?e.props.computedMatch:e.props.path?w(r.pathname,e.props):t.match,i=(0,u.Z)({},t,{location:r,match:o}),l=e.props,c=l.children,d=l.component,p=l.render;if(Array.isArray(c)&&(n=c,0===a.Children.count(n)))c=null;return a.createElement(m.Provider,{value:i},i.match?c?"function"==typeof c?c(i):c:d?a.createElement(d,i):p?p(i):null:"function"==typeof c?c(i):null)})},t}(a.Component);function k(e){return"/"===e.charAt(0)?e:"/"+e}a.Component;var S=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(m.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?w(o.pathname,(0,u.Z)({},e.props,{path:i})):t.match}}),r?a.cloneElement(n,{location:o,computedMatch:r}):null})},t}(a.Component),_=a.useContext;function E(){return _(g)}function C(){return _(m).location}},75251:function(e,t,n){"use strict";var r=n(67294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},72408:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,g(w,y.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,a)&&!_.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;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(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function N(e,t,a){if(null==e)return e;var o=[],i=0;return!function e(t,a,o,i,l){var s,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var p=!1;if(null===t)p=!0;else switch(d){case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case r:p=!0}}if(p){;return l=l(p=t),t=""===i?"."+j(p,0):i,x(l)?(o="",null!=t&&(o=t.replace(T,"$&/")+"/"),e(l,a,o,"",function(e){return e})):null!=l&&(C(l)&&(s=l,u=o+(!l.key||p&&p.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+t,l={$$typeof:n,type:s.type,key:u,ref:s.ref,props:s.props,_owner:s._owner}),a.push(l)),1}if(p=0,i=""===i?".":i+":",x(t))for(var h=0;h<t.length;h++){var g=i+j(d=t[h],h);p+=e(d,a,o,g,l)}else{;if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=f&&c[f]||c["@@iterator"])?c:null))for(t=g.call(t),h=0;!(d=t.next()).done;)g=i+j(d=d.value,h++),p+=e(d,a,o,g,l);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return p}(e,o,"","",function(e){return t.call(a,e,i++)}),o}function O(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},A={transition:null};function L(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:A,ReactCurrentOwner:S},t.act=L,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=g({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)k.call(t,u)&&!_.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},t.unstable_act=L,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},67294:function(e,t,n){"use strict";e.exports=n(72408)},85893:function(e,t,n){"use strict";e.exports=n(75251)},60053:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],p=1,f=null,h=3,g=!1,m=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function k(e){if(y=!1,x(e),!m){if(null!==r(c))m=!0,L(S);else{var t=r(d);null!==t&&R(k,t.startTime-e)}}}function S(e,n){m=!1,y&&(y=!1,v(C),C=-1),g=!0;var o=h;try{for(x(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!N());){var i=f.callback;if("function"==typeof i){f.callback=null,h=f.priorityLevel;var l=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?f.callback=l:f===r(c)&&a(c),x(n)}else a(c);f=r(c)}if(null!==f)var s=!0;else{var u=r(d);null!==u&&R(k,u.startTime-n),s=!1}return s}finally{f=null,h=o,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _=!1,E=null,C=-1,T=5,j=-1;function N(){return!(t.unstable_now()-j<T)}function O(){if(null!==E){var e=t.unstable_now();j=e;var n=!0;try{n=E(!0,e)}finally{n?i():(_=!1,E=null)}}else _=!1}if("function"==typeof w)i=function(){w(O)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,A=P.port2;P.port1.onmessage=O,i=function(){A.postMessage(null)}}else i=function(){b(O,0)};function L(e){E=e,_||(_=!0,i())}function R(e,n){C=b(function(){e(t.unstable_now())},n)}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(){m||g||(m=!0,L(S))},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"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch(o="object"==typeof o&&null!==o?"number"==typeof(o=o.delay)&&0<o?i+o:i:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:p++,callback:a,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>i?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(y?(v(C),C=-1):y=!0,R(k,o-i))):(e.sortIndex=l,n(c,e),m||g||(m=!0,L(S))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},96774:function(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}},94143:function(e,t,n){"use strict";n.d(t,{Z:()=>p}),n("67294");var r=n("85893"),a=n("68356"),o=n.n(a),i=n("37138");let l={"087ec2b2":[()=>n.e("9173").then(n.t.bind(n,88518,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-tags-developer-755.json",88518],"0e9114d6":[()=>n.e("4828").then(n.t.bind(n,79017,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-category-data-types-91a.json",79017],0xdf1d46:[()=>n.e("2751").then(n.bind(n,12777)),"@site/docs/docusaurus/tutorial_basics/markdown_features.mdx",12777],"14eb3368":[()=>Promise.all([n.e("6212"),n.e("1983")]).then(n.bind(n,39140)),"@theme/DocCategoryGeneratedIndexPage",39140],0x11113f9:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("2247"),n.e("7048")]).then(n.bind(n,25628)),"@theme/DocItem",25628],"1ba952d0":[()=>n.e("6410").then(n.t.bind(n,38937,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-tags-business-ced.json",38937],"1df93b7f":[()=>Promise.all([n.e("6212"),n.e("8706")]).then(n.bind(n,12408)),"@site/src/pages/index.tsx",12408],"1ebab83f":[()=>n.e("1950").then(n.t.bind(n,42903,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-tags-executive-614.json",42903],"1f391b9e":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("2247"),n.e("2493")]).then(n.bind(n,8402)),"@theme/MDXPage",8402],"21038ea1":[()=>n.e("9597").then(n.bind(n,11958)),"@site/docs/docusaurus/intro.md",11958],"21cb2624":[()=>n.e("287").then(n.bind(n,35244)),"@site/docs/intro/getting_started.md",35244],"24726f2a":[()=>n.e("1558").then(n.t.bind(n,21941,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-category-resource-types-965.json",21941],"34829b29":[()=>n.e("4494").then(n.bind(n,76687)),"@site/docs/docusaurus/tutorial_basics/create_a_page.md",76687],"3720c009":[()=>Promise.all([n.e("6212"),n.e("2898")]).then(n.bind(n,94190)),"@theme/DocTagsListPage",94190],"393be207":[()=>n.e("9969").then(n.bind(n,89958)),"@site/src/pages/markdown-page.md",89958],"40a9f62a":[()=>n.e("3657").then(n.bind(n,43422)),"@site/docs/docusaurus/tutorial_basics/congratulations.md",43422],"455d01c6":[()=>n.e("5706").then(n.bind(n,29240)),"@site/docs/docusaurus/tutorial_basics/create_a_blog_post.md",29240],"49f850f6":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("4645")]).then(n.bind(n,85664)),"@site/docs/spec/data/process.mdx",85664],"5187c925":[()=>n.e("2556").then(n.bind(n,40162)),"@site/docs/spec/formatting.md",40162],0x33d0175:[()=>n.e("1858").then(n.bind(n,74088)),"@site/docs/docusaurus/tutorial_basics/create_a_document.md",74088],"5e95c892":[()=>n.e("3432").then(n.bind(n,71359)),"@theme/DocsRoot",71359],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,75150)),"@generated/docusaurus.config",75150],"6cca1acc":[()=>n.e("1460").then(n.bind(n,19991)),"@site/docs/spec/primitive_types.md",19991],"72af4c84":[()=>n.e("8652").then(n.bind(n,20021)),"@site/docs/docusaurus/tutorial_basics/deploy_your_site.md",20021],"7e2539cd":[()=>n.e("8954").then(n.t.bind(n,5604,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-category-tutorial-extras-05e.json",5604],"864e058a":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("7825")]).then(n.bind(n,54982)),"@site/docs/spec/data/event.mdx",54982],"8d79b6b2":[()=>n.e("5953").then(n.t.bind(n,54967,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-category-concept-maps-f8d.json",54967],"9604fc81":[()=>n.e("8788").then(n.bind(n,11871)),"@site/docs/docusaurus/tutorial_extras/manage_docs_versions.md",11871],"992aa281":[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("9277")]).then(n.bind(n,45067)),"@site/docs/spec/data/parcel_id.mdx",45067],a7456010:[()=>n.e("7365").then(n.t.bind(n,62050,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",62050],a7bd4aaa:[()=>n.e("5211").then(n.bind(n,58688)),"@theme/DocVersionRoot",58688],a94703ab:[()=>Promise.all([n.e("6212"),n.e("9914")]).then(n.bind(n,32001)),"@theme/DocRoot",32001],aba21aa0:[()=>n.e("5112").then(n.t.bind(n,42418,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",42418],b06371b7:[()=>n.e("3811").then(n.bind(n,4809)),"@site/docs/intro/terminology.md",4809],bb64f159:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("707")]).then(n.bind(n,59437)),"@site/docs/spec/data/code.mdx",59437],c465dbe4:[()=>n.e("9201").then(n.bind(n,51324)),"@site/docs/spec/concept/process_tracking.md",51324],c8a3c648:[()=>n.e("252").then(n.t.bind(n,39143,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-58c.json",39143],cac7846a:[()=>n.e("7455").then(n.t.bind(n,52153,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-category-tutorial-basics-8b8.json",52153],d24490ca:[()=>n.e("6125").then(n.t.bind(n,88406,19)),"@generated/docusaurus-plugin-content-docs/default/p/nr-pies-pr-preview-pr-5-docs-tags-ed5.json",88406],d74d58d6:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("9417")]).then(n.bind(n,15956)),"@site/docs/spec/resource/process_event.mdx",15956],df203c0f:[()=>Promise.all([n.e("6212"),n.e("815")]).then(n.bind(n,58223)),"@theme/DocTagDocListPage",58223],fa6dc6d9:[()=>Promise.all([n.e("6212"),n.e("879"),n.e("7717"),n.e("7376")]).then(n.bind(n,9905)),"@site/docs/spec/data/project_bundle.mdx",9905],fe557f77:[()=>n.e("249").then(n.bind(n,15775)),"@site/docs/docusaurus/tutorial_extras/translate_your_site.md",15775]};function s(e){let{error:t,retry:n,pastDelay:a}=e;return t?(0,r.jsxs)("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%"},children:[(0,r.jsx)("p",{children:String(t)}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):a?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,r.jsx)("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",children:(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,r.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n("96464"),c=n("54879");function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e("9196").then(n.bind(n,95672)),modules:["@theme/NotFound"],webpack:()=>[95672],render(e,t){let n=e.default;return(0,r.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,r.jsx)(n,{...t})})}});let a=i[`${e}-${t}`],d={},p=[],f=[];return Object.entries((0,u.Z)(a)).forEach(e=>{let[t,n]=e,r=l[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))}),o().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){let o=JSON.parse(JSON.stringify(a));Object.entries(t).forEach(t=>{let[n,r]=t,a=r.default;if(!a)throw 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 i=o,l=n.split(".");l.slice(0,-1).forEach(e=>{i=i[e]}),i[l[l.length-1]]=a});let i=o.__comp;delete o.__comp;let l=o.__context;delete o.__context;let s=o.__props;return delete o.__props,(0,r.jsx)(c.z,{value:l,children:(0,r.jsx)(i,{...o,...s,...n})})}})}let p=[{path:"/nr-pies/pr-preview/pr-5/markdown-page",component:d("/nr-pies/pr-preview/pr-5/markdown-page","3f1"),exact:!0},{path:"/nr-pies/pr-preview/pr-5/docs",component:d("/nr-pies/pr-preview/pr-5/docs","e22"),routes:[{path:"/nr-pies/pr-preview/pr-5/docs",component:d("/nr-pies/pr-preview/pr-5/docs","54a"),routes:[{path:"/nr-pies/pr-preview/pr-5/docs/tags",component:d("/nr-pies/pr-preview/pr-5/docs/tags","144"),exact:!0},{path:"/nr-pies/pr-preview/pr-5/docs/tags/business",component:d("/nr-pies/pr-preview/pr-5/docs/tags/business","81d"),exact:!0},{path:"/nr-pies/pr-preview/pr-5/docs/tags/developer",component:d("/nr-pies/pr-preview/pr-5/docs/tags/developer","660"),exact:!0},{path:"/nr-pies/pr-preview/pr-5/docs/tags/executive",component:d("/nr-pies/pr-preview/pr-5/docs/tags/executive","b7d"),exact:!0},{path:"/nr-pies/pr-preview/pr-5/docs",component:d("/nr-pies/pr-preview/pr-5/docs","6c4"),routes:[{path:"/nr-pies/pr-preview/pr-5/docs/category/concept-maps",component:d("/nr-pies/pr-preview/pr-5/docs/category/concept-maps","a74"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/category/data-types",component:d("/nr-pies/pr-preview/pr-5/docs/category/data-types","967"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/category/resource-types",component:d("/nr-pies/pr-preview/pr-5/docs/category/resource-types","cfb"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/category/tutorial---basics",component:d("/nr-pies/pr-preview/pr-5/docs/category/tutorial---basics","6ee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/category/tutorial---extras",component:d("/nr-pies/pr-preview/pr-5/docs/category/tutorial---extras","ed8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro",component:d("/nr-pies/pr-preview/pr-5/docs/docusaurus/intro","cc6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations",component:d("/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations","7dd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post",component:d("/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post","007"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document",component:d("/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document","a3c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page",component:d("/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page","d31"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site",component:d("/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site","a88"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features",component:d("/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features","138"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions",component:d("/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions","656"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site",component:d("/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site","26d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/intro/getting_started",component:d("/nr-pies/pr-preview/pr-5/docs/intro/getting_started","dfe"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/intro/terminology",component:d("/nr-pies/pr-preview/pr-5/docs/intro/terminology","480"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking",component:d("/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking","757"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/spec/data/code",component:d("/nr-pies/pr-preview/pr-5/docs/spec/data/code","ae7"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/spec/data/event",component:d("/nr-pies/pr-preview/pr-5/docs/spec/data/event","444"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id",component:d("/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id","b1f"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/spec/data/process",component:d("/nr-pies/pr-preview/pr-5/docs/spec/data/process","181"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle",component:d("/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle","f79"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/spec/formatting",component:d("/nr-pies/pr-preview/pr-5/docs/spec/formatting","bef"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types",component:d("/nr-pies/pr-preview/pr-5/docs/spec/primitive_types","9ba"),exact:!0,sidebar:"docSidebar"},{path:"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event",component:d("/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event","e32"),exact:!0,sidebar:"docSidebar"}]}]}]},{path:"/nr-pies/pr-preview/pr-5/",component:d("/nr-pies/pr-preview/pr-5/","189"),exact:!0},{path:"*",component:d("*")}]},50258:function(e,t,n){"use strict";n.d(t,{_:function(){return o},t:function(){return i}});var r=n(85893),a=n(67294);let o=a.createContext(!1);function i(e){let{children:t}=e,[n,i]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{i(!0)},[]),(0,r.jsx)(o.Provider,{value:n,children:t})}},52465:function(e,t,n){"use strict";var r=n("85893"),a=n("67294"),o=n("20745"),i=n("70405"),l=n("73727"),s=n("75150"),u=n("57565");let c=[n(3601),n(21569),n(21987),n(17686)];var d=n("94143"),p=n("16550"),f=n("18790");function h(e){let{children:t}=e;return(0,r.jsx)(r.Fragment,{children:t})}var g=n("94819"),m=n("2933"),y=n("4757"),b=n("30140"),v=n("14713"),w=n("28910"),x=n("16959"),k=n("8365"),S=n("84315");function _(){let{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),a=(0,w.l)(),o=n[e].htmlLang,i=e=>e.replace("-","_");return(0,r.jsxs)(g.Z,{children:[Object.entries(n).map(e=>{let[t,{htmlLang:n}]=e;return(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)}),(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,r.jsx)("meta",{property:"og:locale",content:i(o)}),Object.values(n).filter(e=>o!==e.htmlLang).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:i(e.htmlLang)},`meta-og-${e.htmlLang}`))]})}function E(e){let{permalink:t}=e,{siteConfig:{url:n}}=(0,m.Z)(),a=function(){let{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:r}=(0,p.TH)();return e+(0,k.applyTrailingSlash)((0,y.ZP)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:a;return(0,r.jsxs)(g.Z,{children:[(0,r.jsx)("meta",{property:"og:url",content:o}),(0,r.jsx)("link",{rel:"canonical",href:o})]})}function C(){let{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(g.Z,{children:[(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("body",{className:x.h})]}),n&&(0,r.jsx)(v.d,{image:n}),(0,r.jsx)(E,{}),(0,r.jsx)(_,{}),(0,r.jsx)(S.Z,{tag:"default",locale:e}),(0,r.jsx)(g.Z,{children:t.map((e,t)=>(0,r.jsx)("meta",{...e},t))})]})}let T=new Map;var j=n("50258"),N=n("31716"),O=n("32000");function P(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let a=c.map(t=>{let r=t.default?.[e]??t[e];return r?.(...n)});return()=>a.forEach(e=>e?.())}let A=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,O.Z)(()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;let r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;let{hash:i}=t;if(i){let e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),P("onRouteDidUpdate",{previousLocation:r,location:n}))},[r,n]),t};function L(e){return Promise.all(Array.from(new Set([e,decodeURI(e)])).map(e=>(0,f.f)(d.Z,e)).flat().map(e=>e.route.component.preload?.()))}class R extends a.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.Z.canUseDOM?P("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;let n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=P("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),L(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){let{children:e,location:t}=this.props;return(0,r.jsx)(A,{previousLocation:this.previousLocation,location:t,children:(0,r.jsx)(p.AW,{location:t,render:()=>e})})}}let I="__docusaurus-base-url-issue-banner-suggestion-container";function F(){var e,t;let{siteConfig:{baseUrl:n}}=(0,m.Z)();return(0,r.jsx)(r.Fragment,{children:!u.Z.canUseDOM&&(0,r.jsx)(g.Z,{children:(0,r.jsx)("script",{children:(e=n,` +document.addEventListener('DOMContentLoaded', function maybeInsertBanner() { + var shouldInsert = typeof window['docusaurus'] === 'undefined'; + shouldInsert && insertBanner(); +}); + +function insertBanner() { + var bannerContainer = document.createElement('div'); + bannerContainer.id = '__docusaurus-base-url-issue-banner-container'; + var bannerHtml = ${JSON.stringify((t=e,` +<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;"> + <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p> + <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> + <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${t}</span> ${"/"===t?" (default value)":""}</p> + <p>We suggest trying baseUrl = <span id="${I}" style="font-weight: bold; color: green;"></span></p> +</div> +`)).replace(/</g,"\\<")}; + bannerContainer.innerHTML = bannerHtml; + document.body.prepend(bannerContainer); + var suggestionContainer = document.getElementById('${I}'); + var actualHomePagePath = window.location.pathname; + var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/' + ? actualHomePagePath + : actualHomePagePath + '/'; + suggestionContainer.innerHTML = suggestedBaseUrl; +} +`)})})})}function M(){let{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.Z)(),{pathname:n}=(0,p.TH)();return t&&n===e?(0,r.jsx)(F,{}):null}function D(){let{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,m.Z)(),i=(0,y.ZP)(e),{htmlLang:l,direction:s}=o[a];return(0,r.jsxs)(g.Z,{children:[(0,r.jsx)("html",{lang:l,dir:s}),(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,r.jsx)("link",{rel:"icon",href:i})]})}var z=n("16893"),$=n("7227");function B(){let e=(0,$.Z)();return(0,r.jsx)(g.Z,{children:(0,r.jsx)("html",{"data-has-hydrated":e})})}let U=(0,f.H)(d.Z);function Z(){let e=function(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,f.f)(d.Z,e.pathname).some(e=>{let{route:t}=e;return!0===t.exact}))return T.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}((0,p.TH)());return(0,r.jsx)(R,{location:e,children:U})}var H=n("37138");let W=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("undefined"==typeof document){n();return}let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var V=n("96464");let q=new Set,G=new Set,Y=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,Q=e=>!Y()&&!G.has(e)&&!q.has(e),K=e=>!Y()&&!G.has(e),X=e=>Object.entries(H).filter(t=>{let[n]=t;return n.replace(/-[^-]+$/,"")===e}).flatMap(e=>{let[,t]=e;return Object.values((0,V.Z)(t))}),J=Object.freeze({prefetch:e=>!!Q(e)&&(q.add(e),Promise.all((0,f.f)(d.Z,e).flatMap(e=>X(e.route.path)).map(e=>{let t=n.gca(e);if(t&&!t.includes("undefined"))return W(t).catch(()=>{});return Promise.resolve()}))),preload:e=>!!K(e)&&(G.add(e),L(e))});e=n.hmd(e);if(u.Z.canUseDOM){window.docusaurus=J;let t=document.getElementById("__docusaurus"),n=(0,r.jsx)(i.B6,{children:(0,r.jsx)(function(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,r.jsx)(l.UT,{children:t}):(0,r.jsx)(l.VK,{children:t})},{children:(0,r.jsx)(function(){return(0,r.jsx)(z.Z,{children:(0,r.jsx)(N.M,{children:(0,r.jsxs)(j.t,{children:[(0,r.jsxs)(h,{children:[(0,r.jsx)(D,{}),(0,r.jsx)(C,{}),(0,r.jsx)(M,{}),(0,r.jsx)(Z,{})]}),(0,r.jsx)(B,{})]})})})},{})})}),u=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},c=()=>{if(window.docusaurusRoot){window.docusaurusRoot.render(n);return}window.docusaurusRoot=o.hydrateRoot(t,n,{onRecoverableError:u})};L(window.location.pathname).then(()=>{(0,a.startTransition)(c)}),e.hot&&e.hot.accept()}},31716:function(e,t,n){"use strict";n.d(t,{_:()=>d,M:()=>p});var r=n("85893"),a=n("67294"),o=n("75150"),i=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/nr-pies/pr-preview/pr-5/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/nr-pies/pr-preview/pr-5/docs","mainDocId":"intro/getting_started","docs":[{"id":"docusaurus/intro","path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/congratulations","path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_blog_post","path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_document","path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/create_a_page","path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/deploy_your_site","path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_basics/markdown_features","path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_extras/manage_docs_versions","path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions","sidebar":"tutorialSidebar"},{"id":"docusaurus/tutorial_extras/translate_your_site","path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site","sidebar":"tutorialSidebar"},{"id":"intro/getting_started","path":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started","sidebar":"docSidebar"},{"id":"intro/terminology","path":"/nr-pies/pr-preview/pr-5/docs/intro/terminology","sidebar":"docSidebar"},{"id":"spec/concept/process_tracking","path":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking","sidebar":"docSidebar"},{"id":"spec/data/code","path":"/nr-pies/pr-preview/pr-5/docs/spec/data/code","sidebar":"docSidebar"},{"id":"spec/data/event","path":"/nr-pies/pr-preview/pr-5/docs/spec/data/event","sidebar":"docSidebar"},{"id":"spec/data/parcel_id","path":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id","sidebar":"docSidebar"},{"id":"spec/data/process","path":"/nr-pies/pr-preview/pr-5/docs/spec/data/process","sidebar":"docSidebar"},{"id":"spec/data/project_bundle","path":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle","sidebar":"docSidebar"},{"id":"spec/formatting","path":"/nr-pies/pr-preview/pr-5/docs/spec/formatting","sidebar":"docSidebar"},{"id":"spec/primitive_types","path":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types","sidebar":"docSidebar"},{"id":"spec/resource/process_event","path":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event","sidebar":"docSidebar"},{"id":"/category/concept-maps","path":"/nr-pies/pr-preview/pr-5/docs/category/concept-maps","sidebar":"docSidebar"},{"id":"/category/data-types","path":"/nr-pies/pr-preview/pr-5/docs/category/data-types","sidebar":"docSidebar"},{"id":"/category/resource-types","path":"/nr-pies/pr-preview/pr-5/docs/category/resource-types","sidebar":"docSidebar"},{"id":"/category/tutorial---basics","path":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---basics","sidebar":"tutorialSidebar"},{"id":"/category/tutorial---extras","path":"/nr-pies/pr-preview/pr-5/docs/category/tutorial---extras","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"docSidebar":{"link":{"path":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started","label":"intro/getting_started"}},"tutorialSidebar":{"link":{"path":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro","label":"docusaurus/intro"}}}}],"breadcrumbs":true}},"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1733170719906.json","lunrIndex":"lunr-index-1733170719906.json"}}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}'),s=n("62627"),u=JSON.parse('{"docusaurusVersion":"3.6.3","siteVersion":"0.1.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.3"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.3"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.3"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.3"},"docusaurus-lunr-search":{"type":"package","name":"docusaurus-lunr-search","version":"3.5.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"3.6.3"},"docusaurus-json-schema-plugin":{"type":"package","name":"docusaurus-json-schema-plugin","version":"1.12.2"}}}');let c={siteConfig:o.default,siteMetadata:u,globalData:i,i18n:l,codeTranslations:s},d=a.createContext(c);function p(e){let{children:t}=e;return(0,r.jsx)(d.Provider,{value:c,children:t})}},16893:function(e,t,n){"use strict";n.d(t,{Z:()=>g});var r=n("85893"),a=n("67294"),o=n("57565"),i=n("94819"),l=n("8365"),s=n("37647"),u=n("54879");function c(e){let{error:t,tryAgain:n}=e;return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,r.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,r.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,r.jsx)(d,{error:t})]})}function d(e){let{error:t}=e,n=(0,l.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,r.jsx)(u.z,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)(p,{children:(0,r.jsxs)(g,{fallback:()=>(0,r.jsx)(c,{error:t,tryAgain:n}),children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("title",{children:"Page Error"})}),(0,r.jsx)(s.Z,{children:(0,r.jsx)(c,{error:t,tryAgain:n})})]})})}let h=e=>(0,r.jsx)(f,{...e});class g extends a.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){let{children:e}=this.props,{error:t}=this.state;return t?(this.props.fallback??h)({error:t,tryAgain:()=>this.setState({error:null})}):e??null}}},57565:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let 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}},94819:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893);n(67294);var a=n(70405);function o(e){return(0,r.jsx)(a.ql,{...e})}},83012:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(85893),a=n(67294),o=n(73727),i=n(8365),l=n(2933),s=n(63150),u=n(57565),c=n(41065),d=n(4757);let p=e=>e.startsWith("/"),f=a.forwardRef(function(e,t){var n;let{isNavLink:f,to:h,href:g,activeClassName:m,isActive:y,"data-noBrokenLinkCheck":b,autoAddBaseUrl:v=!0,...w}=e,{siteConfig:x}=(0,l.Z)(),{trailingSlash:k,baseUrl:S}=x,_=x.future.experimental_router,{withBaseUrl:E}=(0,d.Cg)(),C=(0,c.Z)(),T=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,()=>T.current);let j=h||g,N=(0,s.Z)(j),O=j?.replace("pathname://","");let P=void 0!==O?(n=O,v&&p(n)?E(n):n):void 0;"hash"===_&&P?.startsWith("./")&&(P=P?.slice(1)),P&&N&&(P=(0,i.applyTrailingSlash)(P,{trailingSlash:k,baseUrl:S}));let A=(0,a.useRef)(!1),L=f?o.OL:o.rU,R=u.Z.canUseIntersectionObserver,I=(0,a.useRef)(),F=()=>{!A.current&&null!=P&&(window.docusaurus.preload(P),A.current=!0)};(0,a.useEffect)(()=>(!R&&N&&u.Z.canUseDOM&&null!=P&&window.docusaurus.prefetch(P),()=>{R&&I.current&&I.current.disconnect()}),[I,P,R,N]);let M=P?.startsWith("#")??!1,D=!w.target||"_self"===w.target,z=!P||!N||!D||M&&"hash"!==_;!b&&(M||!z)&&C.collectLink(P),w.id&&C.collectAnchor(w.id);let $={};return z?(0,r.jsx)("a",{ref:T,href:P,...j&&!N&&{target:"_blank",rel:"noopener noreferrer"},...w,...$}):(0,r.jsx)(L,{...w,onMouseEnter:F,onTouchStart:F,innerRef:e=>{T.current=e,R&&e&&N&&(I.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(I.current.unobserve(e),I.current.disconnect(),null!=P&&window.docusaurus.prefetch(P))})}),I.current.observe(e))},to:P,...f&&{isActive:y,activeClassName:m},...$})})},96025:function(e,t,n){"use strict";n.r(t),n.d(t,{translate:()=>s,default:()=>u});var r=n("85893"),a=n("67294");function o(e,t){let n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){let n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,a.isValidElement)(e))?n.map((e,t)=>(0,a.isValidElement)(e)?a.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n("62627");function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:a}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),Error("The Docusaurus <Translate> component only accept simple string values");let i=l({message:t,id:n});return(0,r.jsx)(r.Fragment,{children:o(i,a)})}},57710:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});let r="default"},63150:function(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:function(){return a},b:function(){return r}})},4757:function(e,t,n){"use strict";n.d(t,{Cg:function(){return i},ZP:function(){return l}});var r=n(67294),a=n(2933),o=n(63150);function i(){let{siteConfig:e}=(0,a.Z)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router;return{withBaseUrl:(0,r.useCallback)((e,r)=>(function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:l}=e;if(!r||r.startsWith("#")||(0,o.b)(r))return r;if("hash"===l)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;let s=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+s:s})({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i])}}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{withBaseUrl:n}=i();return n(e,t)}},41065:function(e,t,n){"use strict";n.d(t,{Z:()=>i}),n("85893");var r=n("67294");let a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2933:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(31716);function o(){return(0,r.useContext)(a._)}},51672:function(e,t,n){"use strict";n.d(t,{OD:function(){return o},eZ:function(){return i}});var r=n(2933),a=n(57710);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){let{globalData:e}=(0,r.Z)();return e}()[e];if(!n&&t.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.m,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=o(e),i=r?.[t];if(!i&&n.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},7227:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),a=n(50258);function o(){return(0,r.useContext)(a._)}},32e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67294);let a=n(57565).Z.canUseDOM?r.useLayoutEffect:r.useEffect},96464:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){let t={};return!function e(n,a){Object.entries(n).forEach(n=>{let[o,i]=n,l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i})}(e),t}},54879:function(e,t,n){"use strict";n.d(t,{_:function(){return o},z:function(){return i}});var r=n(85893),a=n(67294);let o=a.createContext(null);function i(e){let{children:t,value:n}=e,i=a.useContext(o),l=(0,a.useMemo)(()=>(function(e){let{parent:t,value:n}=e;if(!t){if(n){if(!("plugin"in n))throw Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute")}else throw Error("Unexpected: no Docusaurus route context found");return n}let r={...t.data,...n?.data};return{plugin:t.plugin,data:r}})({parent:i,value:n}),[i,n]);return(0,r.jsx)(o.Provider,{value:l,children:t})}},93896:function(e,t,n){"use strict";n.d(t,{J:function(){return b},L5:function(){return y}});var r=n(85893),a=n(67294),o=n(81723),i=n(57710),l=n(30140),s=n(76009),u=n(85346);let c=e=>`docs-preferred-version-${e}`,d=(e,t,n)=>{(0,s.WA)(c(e),{persistence:t}).set(n)},p=(e,t)=>(0,s.WA)(c(e),{persistence:t}).get(),f=(e,t)=>{(0,s.WA)(c(e),{persistence:t}).del()},h=e=>Object.fromEntries(e.map(e=>[e,{preferredVersionName:null}])),g=a.createContext(null);function m(e){let{children:t}=e,n=function(){let e=(0,o._r)(),t=(0,l.L)().docs.versionPersistence,n=(0,a.useMemo)(()=>Object.keys(e),[e]),[r,i]=(0,a.useState)(()=>h(n));return(0,a.useEffect)(()=>{i(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;return Object.fromEntries(t.map(e=>[e,function(e){let t=p(e,n);return r[e].versions.some(e=>e.name===t)?{preferredVersionName:t}:(f(e,n),{preferredVersionName:null})}(e)]))}({allDocsData:e,versionPersistence:t,pluginIds:n}))},[e,t,n]),[r,(0,a.useMemo)(()=>({savePreferredVersion:function(e,n){d(e,t,n),i(t=>({...t,[e]:{preferredVersionName:n}}))}}),[t])]}();return(0,r.jsx)(g.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return(0,r.jsx)(m,{children:t})}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.m,t=(0,o.zh)(e),[n,r]=function(){let e=(0,a.useContext)(g);if(!e)throw new u.i6("DocsPreferredVersionContextProvider");return e}(),{preferredVersionName:l}=n[e],s=t.versions.find(e=>e.name===l)??null;return{preferredVersion:s,savePreferredVersionName:(0,a.useCallback)(t=>{r.savePreferredVersion(e,t)},[r,e])}}},85609:function(e,t,n){"use strict";n.d(t,{V:function(){return u},b:function(){return s}});var r=n(85893),a=n(67294),o=n(85346);let i=Symbol("EmptyContext"),l=a.createContext(i);function s(e){let{children:t,name:n,items:o}=e,i=(0,a.useMemo)(()=>n&&o?{name:n,items:o}:null,[n,o]);return(0,r.jsx)(l.Provider,{value:i,children:t})}function u(){let e=(0,a.useContext)(l);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},69369:function(e,t,n){"use strict";n.d(t,{LM:function(){return f},MN:function(){return E},SN:function(){return _},_F:function(){return y},f:function(){return b},jA:function(){return h},lO:function(){return x},oz:function(){return k},s1:function(){return w},vY:function(){return S},xz:function(){return p}});var r=n(67294),a=n(16550),o=n(18790),i=n(81723),l=n(79246),s=n(38341),u=n(93896),c=n(68529),d=n(85609);function p(e){let t=(0,c.E)();if(!e)return;let n=t.docs[e];if(!n)throw Error(`no version doc found by id=${e}`);return n}function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(let t of e.items){let e=f(t);if(e)return e}}(e):void 0:e.href}function h(){let{pathname:e}=(0,a.TH)(),t=(0,d.V)();if(!t)throw Error("Unexpected: cant find current sidebar in context");let n=v({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}let g=(e,t)=>void 0!==e&&(0,l.Mg)(e,t),m=(e,t)=>e.some(e=>y(e,t));function y(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||m(e.items,t))}function b(e,t){return(0,r.useMemo)(()=>e.filter(e=>(function e(t,n){switch(t.type){case"category":return y(t,n)||t.items.some(t=>e(t,n));case"link":return!t.unlisted||y(t,n);default:return!0}})(e,t)),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e,a=[];return!function e(t){for(let o of t)if("category"===o.type&&((0,l.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,l.Mg)(o.href,n))return!(r&&"category"!==o.type)&&a.unshift(o),!0;return!1}(t),a}function w(){let e=(0,d.V)(),{pathname:t}=(0,a.TH)();return!1!==i.gA()?.pluginData.breadcrumbs&&e?v({sidebarItems:e.items,pathname:t}):null}function x(e){let{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,u.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)(()=>(0,s.jj)([t,n,a].filter(Boolean)),[t,n,a])}function k(e,t){let n=x(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}". +Available sidebar ids are: +- ${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}function S(e,t){let n=x(t);return(0,r.useMemo)(()=>{let 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 Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map(e=>e.name).join(", ")}". +Available doc ids are: +- ${(0,s.jj)(t.map(e=>e.id)).join("\n- ")}`)}return r},[e,n])}function _(e){let{route:t}=e,n=(0,a.TH)(),r=(0,c.E)(),i=t.routes,l=i.find(e=>(0,a.LX)(n.pathname,e));if(!l)return null;let s=l.sidebar,u=s?r.docsSidebars[s]:void 0;return{docElement:(0,o.H)(i),sidebarName:s,sidebarItems:u}}function E(e){return e.filter(e=>"category"!==e.type&&"link"!==e.type||!!f(e))}},68529:function(e,t,n){"use strict";n.d(t,{E:function(){return s},q:function(){return l}});var r=n(85893),a=n(67294),o=n(85346);let i=a.createContext(null);function l(e){let{children:t,version:n}=e;return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},81723:function(e,t,n){"use strict";n.d(t,{Jo:()=>h,zh:()=>u,yW:()=>p,gB:()=>d,Iw:()=>f,gA:()=>c,_r:()=>s});var r=n("16550"),a=n("51672");let o=e=>e.versions.find(e=>e.isLast);function i(e,t){var n,a;let o=(n=e,a=t,[...n.versions].sort((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0).find(e=>!!(0,r.LX)(a,{path:e.path,exact:!1,strict:!1}))),i=o?.docs.find(e=>!!r.LX(t,{path:e.path,exact:!0,strict:!1})),l=i?function(t){let n={};return e.versions.forEach(e=>{e.docs.forEach(r=>{r.id===t&&(n[e.name]=r)})}),n}(i.id):{};return{activeVersion:o,activeDoc:i,alternateDocVersions:l}}let l={},s=()=>(0,a.OD)("docusaurus-plugin-content-docs")??l,u=e=>{try{return(0,a.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw Error(`You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled${"Default"===e?"":` (pluginId=${e}`}`,{cause:t})}};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=s(),{pathname:n}=(0,r.TH)();return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},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 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 d(e){return u(e).versions}function p(e){return o(u(e))}function f(e){let t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}function h(e){let t=u(e),{pathname:n}=(0,r.TH)();return function(e,t){let n=o(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},21987:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(74865),a=n.n(r);a().configure({showSpinner:!1});let o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){let e=window.setTimeout(()=>{a().start()},200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},21569:function(e,t,n){"use strict";var r=n("83229"),a=n("75150");!function(e){let{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t,o=globalThis.Prism;globalThis.Prism=e,r.forEach(e=>{"php"===e&&n(96854),n(70037)(`./prism-${e}`)}),delete globalThis.Prism,void 0!==o&&(globalThis.Prism=e)}(r.p1)},34403:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("85893");n("67294");var a=n("67026"),o=n("96025"),i=n("30140"),l=n("83012"),s=n("41065");let u={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};function c(e){let{as:t,id:n,...c}=e,d=(0,s.Z)(),{navbar:{hideOnScroll:p}}=(0,i.L)();if("h1"===t||!n)return(0,r.jsx)(t,{...c,id:void 0});d.collectAnchor(n);let f=(0,o.translate)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,r.jsxs)(t,{...c,className:(0,a.Z)("anchor",p?u.anchorWithHideOnScrollNavbar:u.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,r.jsx)(l.Z,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200B"})]})}},62425:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n("85893");n("67294");let a="iconExternalLink_nPIU";function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,r.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a,children:(0,r.jsx)("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"})})}},37647:function(e,t,n){"use strict";n.d(t,{Z:()=>e7});var r=n("85893"),a=n("67294"),o=n("67026"),i=n("16893"),l=n("14713"),s=n("16550"),u=n("96025"),c=n("10346");let d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}let f=(0,u.translate)({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 h(e){let t=e.children??f,{containerRef:n,onClick:o}=function(){let e=(0,a.useRef)(null),{action:t}=(0,s.k6)(),n=(0,a.useCallback)(e=>{e.preventDefault();let t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)},[]);return(0,c.S)(n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)}),{containerRef:e,onClick:n}}();return(0,r.jsx)("div",{ref:n,role:"region","aria-label":f,children:(0,r.jsx)("a",{...e,href:`#${d}`,onClick:o,children:t})})}var g=n("84681"),m=n("16959");let y="skipToContent_fXgn";function b(){return(0,r.jsx)(h,{className:y})}var v=n("30140"),w=n("22093");function x(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...l}=e;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...l,children:(0,r.jsx)("g",{stroke:a,strokeWidth:o,children:(0,r.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}let k="closeButton_CVFx";function S(e){return(0,r.jsx)("button",{type:"button","aria-label":(0,u.translate)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",k,e.className),children:(0,r.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}let _="content_knG7";function E(e){let{announcementBar:t}=(0,v.L)(),{content:n}=t;return(0,r.jsx)("div",{...e,className:(0,o.Z)(_,e.className),dangerouslySetInnerHTML:{__html:n}})}let C={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){let{announcementBar:e}=(0,v.L)(),{isActive:t,close:n}=(0,w.n)();if(!t)return null;let{backgroundColor:a,textColor:o,isCloseable:i}=e;return(0,r.jsxs)("div",{className:C.announcementBar,style:{backgroundColor:a,color:o},role:"banner",children:[i&&(0,r.jsx)("div",{className:C.announcementBarPlaceholder}),(0,r.jsx)(E,{className:C.announcementBarContent}),i&&(0,r.jsx)(S,{onClick:n,className:C.announcementBarClose})]})}var j=n("71915"),N=n("69599"),O=n("85346"),P=n("11179");let A=a.createContext(null);function L(e){let{children:t}=e,n=function(){let e=(0,j.e)(),t=(0,P.HY)(),[n,r]=(0,a.useState)(!1),o=null!==t.component,i=(0,O.D9)(o);return(0,a.useEffect)(()=>{o&&!i&&r(!0)},[o,i]),(0,a.useEffect)(()=>{if(!o){r(!1);return}!e.shown&&r(!0)},[e.shown,o]),(0,a.useMemo)(()=>[n,r],[n])}();return(0,r.jsx)(A.Provider,{value:n,children:t})}function R(){let e=(0,a.useContext)(A);if(!e)throw new O.i6("NavbarSecondaryMenuDisplayProvider");let[t,n]=e,o=(0,a.useCallback)(()=>n(!1),[n]),i=(0,P.HY)();return(0,a.useMemo)(()=>({shown:t,hide:o,content:function(e){if(e.component){let t=e.component;return(0,r.jsx)(t,{...e.props})}}(i)}),[o,i,t])}function I(e){let{header:t,primaryMenu:n,secondaryMenu:a}=e,{shown:i}=R();return(0,r.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,r.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i}),children:[(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:a})]})]})}var F=n("84239"),M=n("7227");function D(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("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 z(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("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"})})}let $={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"},B=a.memo(function(e){let{className:t,buttonClassName:n,value:a,onChange:i}=e,l=(0,M.Z)(),s=(0,u.translate)({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"===a?(0,u.translate)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,u.translate)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,r.jsx)("div",{className:(0,o.Z)($.toggle,t),children:(0,r.jsxs)("button",{className:(0,o.Z)("clean-btn",$.toggleButton,!l&&$.toggleButtonDisabled,n),type:"button",onClick:()=>i("dark"===a?"light":"dark"),disabled:!l,title:s,"aria-label":s,"aria-live":"polite","aria-pressed":"dark"===a?"true":"false",children:[(0,r.jsx)(D,{className:(0,o.Z)($.toggleIcon,$.lightToggleIcon)}),(0,r.jsx)(z,{className:(0,o.Z)($.toggleIcon,$.darkToggleIcon)})]})})}),U={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function Z(e){let{className:t}=e,n=(0,v.L)().navbar.style,a=(0,v.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:i}=(0,F.I)();return a?null:(0,r.jsx)(B,{className:t,buttonClassName:"dark"===n?U.darkNavbarColorModeToggle:void 0,value:o,onChange:i})}var H=n("44987");function W(){return(0,r.jsx)(H.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function V(){let e=(0,j.e)();return(0,r.jsx)("button",{type:"button","aria-label":(0,u.translate)({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(),children:(0,r.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function q(){return(0,r.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,r.jsx)(W,{}),(0,r.jsx)(Z,{className:"margin-right--md"}),(0,r.jsx)(V,{})]})}var G=n("83012"),Y=n("4757"),Q=n("63150");function K(e,t){return void 0!==e&&void 0!==t&&RegExp(e,"gi").test(t)}var X=n("62425");function J(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:l,isDropdownLink:s,prependBaseUrlToHref:u,...c}=e,d=(0,Y.ZP)(a),p=(0,Y.ZP)(t),f=(0,Y.ZP)(o,{forcePrependBaseUrl:!0}),h=i&&o&&!(0,Q.Z)(o),g=l?{dangerouslySetInnerHTML:{__html:l}}:{children:(0,r.jsxs)(r.Fragment,{children:[i,h&&(0,r.jsx)(X.Z,{...s&&{width:12,height:12}})]})};return o?(0,r.jsx)(G.Z,{href:u?f:o,...c,...g}):(0,r.jsx)(G.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?K(n,t.pathname):t.pathname.startsWith(p)},...c,...g})}function ee(e){let{className:t,isDropdownItem:n=!1,...a}=e,i=(0,r.jsx)(J,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...a});return n?(0,r.jsx)("li",{children:i}):i}function et(e){let{className:t,isDropdownItem:n,...a}=e;return(0,r.jsx)("li",{className:"menu__list-item",children:(0,r.jsx)(J,{className:(0,o.Z)("menu__link",t),...a})})}function en(e){let{mobile:t=!1,position:n,...a}=e;return(0,r.jsx)(t?et:ee,{...a,activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var er=n("57455"),ea=n("79246"),eo=n("2933");let ei="dropdownNavbarItemMobile_S0Fm";function el(e){let{items:t,position:n,className:i,onClick:l,...s}=e,u=(0,a.useRef)(null),[c,d]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=e=>{if(!(!u.current||u.current.contains(e.target)))d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}},[u]),(0,r.jsxs)("div",{ref:u,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,r.jsx)(J,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.Z)("navbar__link",i),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,r.jsx)("ul",{className:"dropdown__menu",children:t.map((e,t)=>(0,a.createElement)(eT,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t}))})]})}function es(e){var t,n;let{items:i,className:l,position:u,onClick:c,...d}=e,p=function(){let{siteConfig:{baseUrl:e}}=(0,eo.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}();let f=(t=i,n=p,t.some(e=>{var t,r;return t=e,r=n,!!((0,ea.Mg)(t.to,r)||K(t.activeBaseRegex,r)||t.activeBasePath&&r.startsWith(t.activeBasePath))||!1})),{collapsed:h,toggleCollapsed:g,setCollapsed:m}=(0,er.u)({initialState:()=>!f});return(0,a.useEffect)(()=>{f&&m(!f)},[p,f,m]),(0,r.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":h}),children:[(0,r.jsx)(J,{role:"button",className:(0,o.Z)(ei,"menu__link menu__link--sublist menu__link--sublist-caret",l),...d,onClick:e=>{e.preventDefault(),g()},children:d.children??d.label}),(0,r.jsx)(er.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:h,children:i.map((e,t)=>(0,a.createElement)(eT,{mobile:!0,isDropdownItem:!0,onClick:c,activeClassName:"menu__link--active",...e,key:t}))})]})}function eu(e){let{mobile:t=!1,...n}=e;return(0,r.jsx)(t?es:el,{...n})}var ec=n("28910");function ed(e){let{width:t=20,height:n=20,...a}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...a,children:(0,r.jsx)("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"})})}let ep="iconLanguage_nlXk",ef=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r);else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(r&&(r+=" "),r+=t);return r};var eh=n("51672"),eg=n("813"),em=n.n(eg);function ey(){let e=(0,s.TH)(),t=(0,s.k6)(),{siteConfig:{baseUrl:n}}=(0,eo.Z)(),[r,o]=(0,a.useState)({wordToHighlight:"",isTitleSuggestion:!1,titleText:""});return(0,a.useEffect)(()=>{if(!e.state?.highlightState||0===e.state.highlightState.wordToHighlight.length)return;o(e.state.highlightState);let{highlightState:n,...r}=e.state;t.replace({...e,state:r})},[e.state?.highlightState,t,e]),(0,a.useEffect)(()=>{if(0===r.wordToHighlight.length)return;let e=document.getElementsByTagName("article")[0]??document.getElementsByTagName("main")[0];if(!e)return;let t=new(em())(e),n={ignoreJoiners:!0};return t.mark(r.wordToHighlight,n),()=>t.unmark(n)},[r,n]),null}let eb=e=>{let t;let o=(0,a.useRef)(!1),i=(0,a.useRef)(null),[l,u]=(0,a.useState)(!1),c=(0,s.k6)(),{siteConfig:d={}}=(0,eo.Z)(),p=(d.plugins||[]).find(e=>Array.isArray(e)&&"string"==typeof e[0]&&e[0].includes("docusaurus-lunr-search")),f=(0,M.Z)(),{baseUrl:h}=d,g=p&&p[1]?.assetUrl||h,m=(e,t,n,r)=>{new n({searchDocs:e,searchIndex:t,baseUrl:h,inputSelector:"#search_input_react",handleSelected:(e,t,n)=>{let a=n.url||"/";document.createElement("a").href=a,e.setVal(""),t.target.blur();let o="";if(r.highlightResult)try{let e=(n.text||n.subcategory||n.title).match(RegExp("<span.+span>\\w*","g"));if(e&&e.length>0){let t=document.createElement("div");t.innerHTML=e[0],o=t.textContent}}catch(e){console.log(e)}c.push(a,{highlightState:{wordToHighlight:o}})},maxHits:r.maxHits})},y=(0,eh.eZ)("docusaurus-lunr-search"),b=()=>fetch(`${g}${y.fileNames.searchDoc}`).then(e=>e.json()),v=()=>fetch(`${g}${y.fileNames.lunrIndex}`).then(e=>e.json()),w=()=>{!o.current&&(Promise.all([b(),v(),Promise.all([n.e("4294"),n.e("9990")]).then(n.bind(n,75322)),Promise.all([n.e("6212"),n.e("2061")]).then(n.bind(n,68544))]).then(e=>{let[t,n,{default:r}]=e,{searchDocs:a,options:o}=t;if(!!a&&0!==a.length)m(a,n,r,o),u(!0)}),o.current=!0)},x=(0,a.useCallback)(t=>{!i.current.contains(t.target)&&i.current.focus(),e.handleSearchBarToggle&&e.handleSearchBarToggle(!e.isSearchBarExpanded)},[e.isSearchBarExpanded]);return f&&(w(),t=window.navigator.platform.startsWith("Mac")?"Search \u2318+K":"Search Ctrl+K"),(0,a.useEffect)(()=>{e.autoFocus&&l&&i.current.focus()},[l]),(0,r.jsxs)("div",{className:"navbar__search",children:[(0,r.jsx)("span",{"aria-label":"expand searchbar",role:"button",className:ef("search-icon",{"search-icon-hidden":e.isSearchBarExpanded}),onClick:x,onKeyDown:x,tabIndex:0}),(0,r.jsx)("input",{id:"search_input_react",type:"search",placeholder:l?t:"Loading...","aria-label":"Search",className:ef("navbar__search-input",{"search-bar-expanded":e.isSearchBarExpanded},{"search-bar":!e.isSearchBarExpanded}),onClick:w,onMouseOver:w,onFocus:x,onBlur:x,ref:i,disabled:!l}),(0,r.jsx)(ey,{})]},"search-box")},ev="navbarSearchContainer_Bca1";function ew(e){let{children:t,className:n}=e;return(0,r.jsx)("div",{className:(0,o.Z)(n,ev),children:t})}var ex=n("81723"),ek=n("69369");let eS=e=>e.docs.find(t=>t.id===e.mainDocId);var e_=n("93896");function eE(e,t){var n;return t.alternateDocVersions[e.name]??(n=e).docs.find(e=>e.id===n.mainDocId)}let eC={default:en,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,queryString:o="",...i}=e,{i18n:{currentLocale:l,locales:c,localeConfigs:d}}=(0,eo.Z)(),p=(0,ec.l)(),{search:f,hash:h}=(0,s.TH)(),g=[...n,...c.map(e=>{let n=`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`,r=`${n}${f}${h}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:r,target:"_self",autoAddBaseUrl:!1,className:e===l?t?"menu__link--active":"dropdown__link--active":""}}),...a],m=t?(0,u.translate)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[l].label;return(0,r.jsx)(eu,{...i,mobile:t,label:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ed,{className:ep}),m]}),items:g})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,r.jsx)(ew,{className:n,children:(0,r.jsx)(eb,{})})},dropdown:eu,html:function(e){let{value:t,className:n,mobile:a=!1,isDropdownItem:i=!1}=e;return(0,r.jsx)(i?"li":"div",{className:(0,o.Z)({navbar__item:!a&&!i,"menu__list-item":a},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e,{activeDoc:i}=(0,ex.Iw)(a),l=(0,ek.vY)(t,a),s=i?.path===l?.path;return null===l||l.unlisted&&!s?null:(0,r.jsx)(en,{exact:!0,...o,isActive:()=>s||!!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,{activeDoc:i}=(0,ex.Iw)(a),l=(0,ek.oz)(t,a).link;if(!l)throw Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,r.jsx)(en,{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,i=(0,ek.lO)(a)[0],l=t??i.label,s=n??eS(i).path;return(0,r.jsx)(en,{...o,label:l,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...l}=e,{search:c,hash:d}=(0,s.TH)(),p=(0,ex.Iw)(n),f=(0,ex.gB)(n),{savePreferredVersionName:h}=(0,e_.J)(n),g=[...o,...f.map(function(e){let t=eE(e,p);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>h(e.name)}}),...i],m=(0,ek.lO)(n)[0],y=t&&g.length>1?(0,u.translate)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):m.label,b=t&&g.length>1?void 0:eE(m,p).path;return g.length<=1?(0,r.jsx)(en,{...l,mobile:t,label:y,to:b,isActive:a?()=>!1:void 0}):(0,r.jsx)(eu,{...l,mobile:t,label:y,to:b,items:g,isActive:a?()=>!1:void 0})}};function eT(e){var t,n;let{type:a,...o}=e;let i=eC[t=a,n=o,t&&"default"!==t?t:"items"in n?"dropdown":"default"];if(!i)throw Error(`No NavbarItem component found for type "${a}".`);return(0,r.jsx)(i,{...o})}function ej(){let e=(0,j.e)(),t=(0,v.L)().navbar.items;return(0,r.jsx)("ul",{className:"menu__list",children:t.map((t,n)=>(0,a.createElement)(eT,{mobile:!0,...t,onClick:()=>e.toggle(),key:n}))})}function eN(e){return(0,r.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,r.jsx)(u.default,{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)",children:"\u2190 Back to main menu"})})}function eO(){let e=0===(0,v.L)().navbar.items.length,t=R();return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(eN,{onClick:()=>t.hide()}),t.content]})}function eP(){let e=(0,j.e)();return(!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(0,a.useEffect)(()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[e])}(e.shown),e.shouldRender)?(0,r.jsx)(I,{header:(0,r.jsx)(q,{}),primaryMenu:(0,r.jsx)(ej,{}),secondaryMenu:(0,r.jsx)(eO,{})}):null}let eA={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function eL(e){return(0,r.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function eR(e){let{children:t}=e,{navbar:{hideOnScroll:n,style:i}}=(0,v.L)(),l=(0,j.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){let[t,n]=(0,a.useState)(e),r=(0,a.useRef)(!1),o=(0,a.useRef)(0),i=(0,a.useCallback)(e=>{null!==e&&(o.current=e.getBoundingClientRect().height)},[]);return(0,N.RF)((t,a)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current){n(!0);return}if(r.current){r.current=!1;return}let l=a?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)}),(0,c.S)(t=>{if(!e)return;let a=t.location.hash;if(a?document.getElementById(a.substring(1)):void 0){r.current=!0,n(!1);return}n(!0)}),{navbarRef:i,isNavbarVisible:t}}(n);return(0,r.jsxs)("nav",{ref:s,"aria-label":(0,u.translate)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[eA.navbarHideable,!d&&eA.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":l.shown}),children:[t,(0,r.jsx)(eL,{onClick:l.toggle}),(0,r.jsx)(eP,{})]})}var eI=n("78720");function eF(e){let{width:t=30,height:n=30,className:a,...o}=e;return(0,r.jsx)("svg",{className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,r.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function eM(){let{toggle:e,shown:t}=(0,j.e)();return(0,r.jsx)("button",{onClick:e,"aria-label":(0,u.translate)({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",children:(0,r.jsx)(eF,{})})}let eD="colorModeToggle_DEke";function ez(e){let{items:t}=e;return(0,r.jsx)(r.Fragment,{children:t.map((e,t)=>(0,r.jsx)(eI.QW,{onError:t=>Error(`A theme navbar item failed to render. +Please double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config: +${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,r.jsx)(eT,{...e})},t))})}function e$(e){let{left:t,right:n}=e;return(0,r.jsxs)("div",{className:"navbar__inner",children:[(0,r.jsx)("div",{className:"navbar__items",children:t}),(0,r.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function eB(){let e=(0,j.e)(),t=(0,v.L)().navbar.items,[n,a]=function(e){function t(e){return(e.position??"right")==="left"}let n=e.filter(t);return[n,e.filter(e=>!t(e))]}(t),o=t.find(e=>"search"===e.type);return(0,r.jsx)(e$,{left:(0,r.jsxs)(r.Fragment,{children:[!e.disabled&&(0,r.jsx)(eM,{}),(0,r.jsx)(W,{}),(0,r.jsx)(ez,{items:n})]}),right:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ez,{items:a}),(0,r.jsx)(Z,{className:eD}),!o&&(0,r.jsx)(ew,{children:(0,r.jsx)(eb,{})})]})})}function eU(){return(0,r.jsx)(eR,{children:(0,r.jsx)(eB,{})})}function eZ(e){let{item:t}=e,{to:n,href:a,label:o,prependBaseUrlToHref:i,...l}=t,s=(0,Y.ZP)(n),u=(0,Y.ZP)(a,{forcePrependBaseUrl:!0});return(0,r.jsxs)(G.Z,{className:"footer__link-item",...a?{href:i?u:a}:{to:s},...l,children:[o,a&&!(0,Q.Z)(a)&&(0,r.jsx)(X.Z,{})]})}function eH(e){let{item:t}=e;return t.html?(0,r.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)("li",{className:"footer__item",children:(0,r.jsx)(eZ,{item:t})},t.href??t.to)}function eW(e){let{column:t}=e;return(0,r.jsxs)("div",{className:"col footer__col",children:[(0,r.jsx)("div",{className:"footer__title",children:t.title}),(0,r.jsx)("ul",{className:"footer__items clean-list",children:t.items.map((e,t)=>(0,r.jsx)(eH,{item:e},t))})]})}function eV(e){let{columns:t}=e;return(0,r.jsx)("div",{className:"row footer__links",children:t.map((e,t)=>(0,r.jsx)(eW,{column:e},t))})}function eq(){return(0,r.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function eG(e){let{item:t}=e;return t.html?(0,r.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)(eZ,{item:t})}function eY(e){let{links:t}=e;return(0,r.jsx)("div",{className:"footer__links text--center",children:(0,r.jsx)("div",{className:"footer__links",children:t.map((e,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(eG,{item:e}),t.length!==n+1&&(0,r.jsx)(eq,{})]},n))})})}function eQ(e){let{links:t}=e;return"title"in t[0]?(0,r.jsx)(eV,{columns:t}):(0,r.jsx)(eY,{links:t})}var eK=n("16561");let eX={footerLogoLink:"footerLogoLink_BH7S"};function eJ(e){let{logo:t}=e,{withBaseUrl:n}=(0,Y.Cg)(),a={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,r.jsx)(eK.Z,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:a,width:t.width,height:t.height,style:t.style})}function e0(e){let{logo:t}=e;return t.href?(0,r.jsx)(G.Z,{href:t.href,className:eX.footerLogoLink,target:t.target,children:(0,r.jsx)(eJ,{logo:t})}):(0,r.jsx)(eJ,{logo:t})}function e1(e){let{copyright:t}=e;return(0,r.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function e2(e){let{style:t,links:n,logo:a,copyright:i}=e;return(0,r.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,r.jsxs)("div",{className:"container container-fluid",children:[n,(a||i)&&(0,r.jsxs)("div",{className:"footer__bottom text--center",children:[a&&(0,r.jsx)("div",{className:"margin-bottom--sm",children:a}),i]})]})})}let e5=a.memo(function(){let{footer:e}=(0,v.L)();if(!e)return null;let{copyright:t,links:n,logo:a,style:o}=e;return(0,r.jsx)(e2,{style:o,links:n&&n.length>0&&(0,r.jsx)(eQ,{links:n}),logo:a&&(0,r.jsx)(e0,{logo:a}),copyright:t&&(0,r.jsx)(e1,{copyright:t})})}),e3=(0,O.Qc)([F.S,w.p,N.OC,e_.L5,l.VC,function(e){let{children:t}=e;return(0,r.jsx)(P.n2,{children:(0,r.jsx)(j.M,{children:(0,r.jsx)(L,{children:t})})})}]);function e4(e){let{children:t}=e;return(0,r.jsx)(e3,{children:t})}var e9=n("34403");function e6(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)("main",{className:"container margin-vert--xl",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(e9.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(u.default,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,r.jsx)("div",{className:"margin-vert--lg",children:(0,r.jsx)(eI.Cw,{onClick:n,className:"button button--primary shadow--lw"})}),(0,r.jsx)("hr",{}),(0,r.jsx)("div",{className:"margin-vert--md",children:(0,r.jsx)(eI.aG,{error:t})})]})})})}let e8="mainWrapper_z2l0";function e7(e){let{children:t,noFooter:n,wrapperClassName:a,title:s,description:u}=e;return(0,m.t)(),(0,r.jsxs)(e4,{children:[(0,r.jsx)(l.d,{title:s,description:u}),(0,r.jsx)(b,{}),(0,r.jsx)(T,{}),(0,r.jsx)(eU,{}),(0,r.jsx)("div",{id:d,className:(0,o.Z)(g.k.wrapper.main,e8,a),children:(0,r.jsx)(i.Z,{fallback:e=>(0,r.jsx)(e6,{...e}),children:t})}),!n&&(0,r.jsx)(e5,{})]})}},44987:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(85893);n(67294);var a=n(83012),o=n(4757),i=n(2933),l=n(30140),s=n(16561);function u(e){let{logo:t,alt:n,imageClassName:a}=e,i={light:(0,o.ZP)(t.src),dark:(0,o.ZP)(t.srcDark||t.src)},l=(0,r.jsx)(s.Z,{className:t.className,sources:i,height:t.height,width:t.width,alt:n,style:t.style});return a?(0,r.jsx)("div",{className:a,children:l}):l}function c(e){let{siteConfig:{title:t}}=(0,i.Z)(),{navbar:{title:n,logo:s}}=(0,l.L)(),{imageClassName:c,titleClassName:d,...p}=e,f=(0,o.ZP)(s?.href||"/"),h=s?.alt??(n?"":t);return(0,r.jsxs)(a.Z,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,r.jsx)(u,{logo:s,alt:h,imageClassName:c}),null!=n&&(0,r.jsx)("b",{className:d,children:n})]})}},84315:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893);n(67294);var a=n(94819);function o(e){let{locale:t,version:n,tag:o}=e;return(0,r.jsxs)(a.Z,{children:[t&&(0,r.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,r.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,r.jsx)("meta",{name:"docusaurus_tag",content:o}),t&&(0,r.jsx)("meta",{name:"docsearch:language",content:t}),n&&(0,r.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,r.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},16561:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("85893"),a=n("67294"),o=n("67026"),i=n("7227"),l=n("84239");let s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};function u(e){let{className:t,children:n}=e,u=(0,i.Z)(),{colorMode:c}=(0,l.I)();return(0,r.jsx)(r.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map(e=>{let i=n({theme:e,className:(0,o.Z)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,r.jsx)(a.Fragment,{children:i},e)})})}function c(e){let{sources:t,className:n,alt:a,...o}=e;return(0,r.jsx)(u,{className:n,children:e=>{let{theme:n,className:i}=e;return(0,r.jsx)("img",{src:t[n],alt:a,className:i,...o})}})}},57455:function(e,t,n){"use strict";n.d(t,{u:function(){return s},z:function(){return h}});var r=n(85893),a=n(67294),o=n(57565),i=n(32e3),l=n(17504);function s(e){let{initialState:t}=e,[n,r]=(0,a.useState)(t??!1),o=(0,a.useCallback)(()=>{r(e=>!e)},[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}let u={display:"none",overflow:"hidden",height:"0px"},c={display:"block",overflow:"visible",height:"auto"};function d(e,t){let n=t?u:c;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{as:t="div",collapsed:n,children:i,animation:s,onCollapseTransitionEnd:p,className:f,disableSSRStyle:h}=e,g=(0,a.useRef)(null);return!function(e){let{collapsibleRef:t,collapsed:n,animation:r}=e,o=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t.current;function a(){let t=function(){let t=e.scrollHeight,n=r?.duration??function(e){if((0,l.n)())return 1;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}(t),a=r?.easing??"ease-in-out";return{transition:`height ${n}ms ${a}`,height:`${t}px`}}();e.style.transition=t.transition,e.style.height=t.height}if(!o.current){d(e,n),o.current=!0;return}return e.style.willChange="height",function(){let t=requestAnimationFrame(()=>{n?(a(),requestAnimationFrame(()=>{e.style.height=u.height,e.style.overflow=u.overflow})):(e.style.display="block",requestAnimationFrame(()=>{a()}))});return()=>cancelAnimationFrame(t)}()},[t,n,r])}({collapsibleRef:g,collapsed:n,animation:s}),(0,r.jsx)(t,{ref:g,style:h?void 0:function(e){if(!o.Z.canUseDOM)return e?u:c}(n),onTransitionEnd:e=>{if("height"===e.propertyName)d(g.current,n),p?.(n)},className:f,children:i})}function f(e){let{collapsed:t,...n}=e,[o,l]=(0,a.useState)(!t),[s,u]=(0,a.useState)(t);return(0,i.Z)(()=>{!t&&l(!0)},[t]),(0,i.Z)(()=>{o&&u(t)},[o,t]),o?(0,r.jsx)(p,{...n,collapsed:s}):null}function h(e){let{lazy:t,...n}=e;return(0,r.jsx)(t?f:p,{...n})}},22093:function(e,t,n){"use strict";n.d(t,{n:function(){return g},p:function(){return h}});var r=n(85893),a=n(67294),o=n(7227),i=n(76009),l=n(85346),s=n(30140);let u=(0,i.WA)("docusaurus.announcement.dismiss"),c=(0,i.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),p=e=>u.set(String(e)),f=a.createContext(null);function h(e){let{children:t}=e,n=function(){let{announcementBar:e}=(0,s.L)(),t=(0,o.Z)(),[n,r]=(0,a.useState)(()=>!!t&&d());(0,a.useEffect)(()=>{r(d())},[]);let i=(0,a.useCallback)(()=>{p(!0),r(!0)},[]);return(0,a.useEffect)(()=>{if(!e)return;let{id:t}=e,n=c.get();"annoucement-bar"===n&&(n="announcement-bar");let a=t!==n;c.set(t),a&&p(!1),(a||!d())&&r(!1)},[e]),(0,a.useMemo)(()=>({isActive:!!e&&!n,close:i}),[e,n,i])}();return(0,r.jsx)(f.Provider,{value:n,children:t})}function g(){let e=(0,a.useContext)(f);if(!e)throw new l.i6("AnnouncementBarProvider");return e}},84239:function(e,t,n){"use strict";n.d(t,{I:function(){return y},S:function(){return m}});var r=n(85893),a=n(67294),o=n(57565),i=n(85346),l=n(76009),s=n(30140);let u=a.createContext(void 0),c="theme",d=(0,l.WA)(c),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,h=e=>o.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),g=e=>{d.set(f(e))};function m(e){let{children:t}=e,n=function(){let{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[r,o]=(0,a.useState)(h(e));(0,a.useEffect)(()=>{t&&d.del()},[t]);let i=(0,a.useCallback)(function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{persist:a=!0}=r;t?(o(t),a&&g(t)):(n?o(window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light):o(e),d.del())},[n,e]);(0,a.useEffect)(()=>{document.documentElement.setAttribute("data-theme",f(r))},[r]),(0,a.useEffect)(()=>{if(t)return;let e=e=>{if(e.key!==c)return;let t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[t,i]);let l=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(t&&!n)return;let e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{if(window.matchMedia("print").matches||l.current){l.current=window.matchMedia("print").matches;return}i(null)};return e.addListener(r),()=>e.removeListener(r)},[i,t,n]),(0,a.useMemo)(()=>({colorMode:r,setColorMode:i,get isDarkTheme(){return r===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}}),[r,i])}();return(0,r.jsx)(u.Provider,{value:n,children:t})}function y(){let e=(0,a.useContext)(u);if(null==e)throw new i.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},71915:function(e,t,n){"use strict";n.d(t,{M:function(){return d},e:function(){return p}});var r=n(85893),a=n(67294),o=n(11179),i=n(54704),l=n(4520),s=n(30140),u=n(85346);let c=a.createContext(void 0);function d(e){let{children:t}=e,n=function(){let e=function(){let e=(0,o.HY)(),{items:t}=(0,s.L)().navbar;return 0===t.length&&!e.component}(),t=(0,i.i)(),n=!e&&"mobile"===t,[r,u]=(0,a.useState)(!1);(0,l.Rb)(()=>{if(r)return u(!1),!1});let c=(0,a.useCallback)(()=>{u(e=>!e)},[]);return(0,a.useEffect)(()=>{"desktop"===t&&u(!1)},[t]),(0,a.useMemo)(()=>({disabled:e,shouldRender:n,toggle:c,shown:r}),[e,n,c,r])}();return(0,r.jsx)(c.Provider,{value:n,children:t})}function p(){let e=a.useContext(c);if(void 0===e)throw new u.i6("NavbarMobileSidebarProvider");return e}},11179:function(e,t,n){"use strict";n.d(t,{HY:function(){return s},Zo:function(){return u},n2:function(){return l}});var r=n(85893),a=n(67294),o=n(85346);let i=a.createContext(null);function l(e){let{children:t}=e,n=(0,a.useState)({component:null,props:null});return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e,r=(0,a.useContext)(i);if(!r)throw new o.i6("NavbarSecondaryMenuContentProvider");let[,l]=r,s=(0,o.Ql)(n);return(0,a.useEffect)(()=>{l({component:t,props:s})},[l,t,s]),(0,a.useEffect)(()=>()=>l({component:null,props:null}),[l]),null}},16959:function(e,t,n){"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n("67294");let 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)}},[])}},54704:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(67294),a=n(57565);let o={desktop:"desktop",mobile:"mobile"};function i(){let{desktopBreakpoint:e=996}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,r.useState)(()=>"ssr");return(0,r.useEffect)(()=>{function t(){n(function(e){if(!a.Z.canUseDOM)throw Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(e))}return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),t}},84681:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});let r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-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",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",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:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},17504:function(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:function(){return r}})},78720:function(e,t,n){"use strict";n.d(t,{QW:()=>p,aG:()=>d,Ac:()=>c,Cw:()=>u});var r=n("85893"),a=n("67294"),o=n("96025"),i=n("8365");let l="errorBoundaryError_a6uf",s="errorBoundaryFallback_VBag";function u(e){return(0,r.jsx)("button",{type:"button",...e,children:(0,r.jsx)(o.default,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function c(e){let{error:t,tryAgain:n}=e;return(0,r.jsxs)("div",{className:s,children:[(0,r.jsx)("p",{children:t.message}),(0,r.jsx)(u,{onClick:n})]})}function d(e){let{error:t}=e,n=(0,i.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{className:l,children:n})}class p extends a.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}},4520:function(e,t,n){"use strict";n.d(t,{Rb:function(){return i},_X:function(){return l}});var r=n(67294),a=n(16550),o=n(85346);function i(e){!function(e){let t=(0,a.k6)(),n=(0,o.zX)(e);(0,r.useEffect)(()=>t.block((e,t)=>n(e,t)),[t,n])}((t,n)=>{if("POP"===n)return e(t,n)})}function l(e){return function(e){let t=(0,a.k6)();return(0,r.useSyncExternalStore)(t.listen,()=>e(t),()=>e(t))}(t=>null===e?null:new URLSearchParams(t.location.search).get(e))}},38341:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e,t)=>e===t;return e.filter((n,r)=>e.findIndex(e=>t(e,n))!==r)}function a(e){return Array.from(new Set(e))}n.d(t,{jj:function(){return a},lx:function(){return r}})},14713:function(e,t,n){"use strict";n.d(t,{FG:()=>p,d:()=>c,VC:()=>f});var r=n("85893"),a=n("67294"),o=n("67026"),i=n("94819"),l=n("54879"),s=n("4757"),u=n("2933");function c(e){let{title:t,description:n,keywords:a,image:o,children:l}=e,c=function(e){let{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.Cg)(),p=o?d(o,{absolute:!0}):void 0;return(0,r.jsxs)(i.Z,{children:[t&&(0,r.jsx)("title",{children:c}),t&&(0,r.jsx)("meta",{property:"og:title",content:c}),n&&(0,r.jsx)("meta",{name:"description",content:n}),n&&(0,r.jsx)("meta",{property:"og:description",content:n}),a&&(0,r.jsx)("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),p&&(0,r.jsx)("meta",{property:"og:image",content:p}),p&&(0,r.jsx)("meta",{name:"twitter:image",content:p}),l]})}let d=a.createContext(void 0);function p(e){let{className:t,children:n}=e,l=a.useContext(d),s=(0,o.Z)(l,t);return(0,r.jsxs)(d.Provider,{value:s,children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("html",{className:s})}),n]})}function f(e){var t;let{children:n}=e,i=function(){let e=a.useContext(l._);if(!e)throw Error("Unexpected: no Docusaurus route context found");return e}();let s=(t=i.plugin.name,`plugin-${t.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`),u=`plugin-id-${i.plugin.id}`;return(0,r.jsx)(p,{className:(0,o.Z)(s,u),children:n})}},85346:function(e,t,n){"use strict";n.d(t,{D9:function(){return l},Qc:function(){return c},Ql:function(){return u},i6:function(){return s},zX:function(){return i}});var r=n(85893),a=n(67294),o=n(32e3);function i(e){let t=(0,a.useRef)(e);return(0,o.Z)(()=>{t.current=e},[e]),(0,a.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[])}function l(e){let t=(0,a.useRef)();return(0,o.Z)(()=>{t.current=e}),t.current}class s 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 u(e){let t=Object.entries(e);return t.sort((e,t)=>e[0].localeCompare(t[0])),(0,a.useMemo)(()=>e,t.flat())}function c(e){return t=>{let{children:n}=t;return(0,r.jsx)(r.Fragment,{children:e.reduceRight((e,t)=>(0,r.jsx)(t,{children:e}),n)})}}},79246:function(e,t,n){"use strict";n.d(t,{Mg:function(){return i},Ns:function(){return l}});var r=n(67294),a=n(94143),o=n(2933);function i(e,t){let n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){let{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;let n=t.find(r);return n?n:e(t.filter(a).flatMap(e=>e.routes??[]))}(n)})({routes:a.Z,baseUrl:e}),[e])}},69599:function(e,t,n){"use strict";n.d(t,{Ct:function(){return g},OC:function(){return c},RF:function(){return f},o5:function(){return h}});var r=n(85893),a=n(67294),o=n(57565),i=n(7227),l=n(32e3),s=n(85346);let u=a.createContext(void 0);function c(e){let{children:t}=e,n=function(){let e=(0,a.useRef)(!0);return(0,a.useMemo)(()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}}),[])}();return(0,r.jsx)(u.Provider,{value:n,children:t})}function d(){let e=(0,a.useContext)(u);if(null==e)throw new s.i6("ScrollControllerProvider");return e}let p=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{scrollEventsEnabledRef:n}=d(),r=(0,a.useRef)(p()),o=(0,s.zX)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=p();o(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)},[o,n,...t])}function h(){let e=d(),t=function(){let e=(0,a.useRef)({elem:null,top:0}),t=(0,a.useCallback)(t=>{e.current={elem:t,top:t.getBoundingClientRect().top}},[]),n=(0,a.useCallback)(()=>{let{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};let r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}},[]);return(0,a.useMemo)(()=>({save:t,restore:n}),[n,t])}(),n=(0,a.useRef)(void 0),r=(0,a.useCallback)(r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{let{restored:r}=t.restore();if(n.current=void 0,r){let t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}},[e,t]);return(0,l.Z)(()=>{queueMicrotask(()=>n.current?.())}),{blockElementScrollPositionUntilNextRender:r}}function g(){let e=(0,a.useRef)(null),t=(0,i.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{var r;e.current=t?(r=n,window.scrollTo({top:r,behavior:"smooth"}),()=>{}):function(e){let t=null,n=document.documentElement.scrollTop>e;return!function r(){let a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor((a-e)*.85)+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},76009:function(e,t,n){"use strict";n.d(t,{WA:()=>u,Nk:()=>c});var r=n("67294"),a=JSON.parse('{"d":"localStorage","u":""}');let o=a.d;function i(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;let o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}let l=!1,s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){var n;let r=(n=e,`${n}${a.u}`);if("undefined"==typeof window)return function(e){function t(){throw Error(`Illegal storage API usage for storage key "${e}". +Docusaurus storage APIs are not supposed to be called on the server-rendering process. +Please only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(r);let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;if("undefined"==typeof window)throw Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(e){return function(e){!l&&(console.warn(`Docusaurus browser storage is not available. +Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,e),l=!0)}(e),null}}(t?.persistence);return null===u?s:{get:()=>{try{return u.getItem(r)}catch(e){return console.error(`Docusaurus storage error, can't get key=${r}`,e),null}},set:e=>{try{let t=u.getItem(r);u.setItem(r,e),i({key:r,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${r}=${e}`,t)}},del:()=>{try{let e=u.getItem(r);u.removeItem(r),i({key:r,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${r}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===r&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${r}`,e),()=>{}}}}}function c(e,t){let n=(0,r.useRef)(()=>null===e?s:u(e,t)).current(),a=(0,r.useCallback)(e=>"undefined"==typeof window?()=>{}:n.listen(e),[n]);return[(0,r.useSyncExternalStore)(a,()=>"undefined"==typeof window?null:n.get(),()=>null),n]}},28910:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2933),a=n(16550),o=n(8365);function i(){let{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){var n;let{locale:r,fullyQualified:a}=e;return`${a?t:""}${(n=r)===i?`${c}`:`${c}${n}/`}${d}`}}}},10346:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(67294),a=n(16550),o=n(85346);function i(e){let t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)(()=>{if(!!n)t!==n&&i({location:t,previousLocation:n})},[i,t,n])}},30140:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(2933);function a(){return(0,r.Z)().siteConfig.themeConfig}},84994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){var n;let{trailingSlash:r,baseUrl:i}=t;if(e.startsWith("#"))return e;if(void 0===r)return e;let[l]=e.split(/[#?]/);let s="/"===l||l===i?l:(n=l,r?a(n):o(n));return e.replace(l,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(18411);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},64202:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8365:function(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=void 0;let r=n(28395);var a,o=n(84994);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(o).default}}),n(18411);var i=n(64202);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},18411:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},75150:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});let r={title:"Permitting Interoperability Exchange Specification",tagline:"An easy as pie way to exchange standardized permitting information. \uD83E\uDD67",favicon:"img/favicon.ico",url:"https://bcgov.github.io",baseUrl:"/nr-pies/pr-preview/pr-5/",organizationName:"bcgov",projectName:"nr-pies",deploymentBranch:"gh-pages",trailingSlash:!1,onBrokenLinks:"throw",onBrokenMarkdownLinks:"throw",future:{experimental_faster:{swcJsLoader:!0,swcJsMinimizer:!0,swcHtmlMinimizer:!0,lightningCssMinimizer:!0,mdxCrossCompilerCache:!0,rspackBundler:!0},experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},plugins:[["/home/runner/work/nr-pies/nr-pies/node_modules/docusaurus-lunr-search/src/index.js",{enableHighlight:!0}],"@docusaurus/theme-mermaid"],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/bcgov/nr-pies/tree/main/",showLastUpdateAuthor:!0,showLastUpdateTime:!0,tags:"tags.yaml",onInlineTags:"throw"},blog:!1,theme:{customCss:"./src/css/custom.css"}}]],markdown:{mermaid:!0,format:"mdx",mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}},themeConfig:{image:"img/BCID_H_rgb_pos.png",announcementBar:{id:"announcement",content:"The PIES specification is still baking... \uD83E\uDD67",backgroundColor:"#FEF1D8",textColor:"#000000",isCloseable:!0},docs:{sidebar:{autoCollapseCategories:!1,hideable:!0},versionPersistence:"localStorage"},navbar:{hideOnScroll:!1,title:"NR-PIES",logo:{alt:"Government of B.C.",src:"img/BCID_H_rgb_pos.png",srcDark:"img/BCID_H_rgb_rev.png"},items:[{type:"docSidebar",sidebarId:"docSidebar",position:"right",label:"Docs"},{href:"https://github.com/bcgov/nr-pies",position:"right",className:"header-github-logo","aria-label":"GitHub Repo"}]},footer:{logo:{alt:"Creative Commons Attribution 4.0 International License",src:"img/cc-by.png",href:"https://creativecommons.org/licenses/by/4.0/",target:"_blank",width:80,height:15,className:"footer-logo-license"},links:[{label:"Home",href:"https://www2.gov.bc.ca/gov/content/home"},{label:"About gov.bc.ca",href:"https://www2.gov.bc.ca/gov/content/about-gov-bc-ca"},{label:"Disclaimer",href:"https://www2.gov.bc.ca/gov/content/home/disclaimer"},{label:"Privacy",href:"https://www2.gov.bc.ca/gov/content/home/privacy"},{label:"Accessibility",href:"https://www2.gov.bc.ca/gov/content/home/accessible-government"},{label:"Copyright",href:"https://www2.gov.bc.ca/gov/content/home/copyright"},{label:"Contact us",href:"https://www2.gov.bc.ca/gov/content/home/get-help-with-government-services"},{label:"Docusaurus",to:"docs/docusaurus/intro"}],copyright:"Copyright \xa9 2024 Government of British Columbia. Built with Docusaurus.",style:"light"},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:["mermaid"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:4},mermaid:{theme:{light:"default",dark:"dark"},options:{}},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},blog:{sidebar:{groupByYear:!0}},metadata:[]},themes:["docusaurus-json-schema-plugin"],baseUrlIssueBanner:!0,onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1}},16019:function(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}).apply(null,arguments)}n.d(t,{Z:function(){return r}})},35091:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},70443:function(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,{Z:function(){return r}})},67026:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r)}return a}(e))&&(r&&(r+=" "),r+=t);return r}},83229:function(e,t,n){"use strict";let r,a,o,i,l;n.d(t,{p1:function(){return K},y$:function(){return eD}});var s,u,c,d,p,f,h,g,m,y,b,v,w,x,k,S,_,E,C,T,j,N,O,P,A,L,R=n(67294),I=n(67026),F=Object.create,M=Object.defineProperty,D=Object.defineProperties,z=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyDescriptors,B=Object.getOwnPropertyNames,U=Object.getOwnPropertySymbols,Z=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,V=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||(t={}))H.call(t,n)&&V(e,n,t[n]);if(U)for(var n of U(t))W.call(t,n)&&V(e,n,t[n]);return e},G=(e,t)=>D(e,$(t)),Y=(e,t)=>{var n={};for(var r in e)H.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&U)for(var r of U(e))0>t.indexOf(r)&&W.call(e,r)&&(n[r]=e[r]);return n},Q=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of B(t))!H.call(e,a)&&a!==n&&M(e,a,{get:()=>t[a],enumerable:!(r=z(t,a))||r.enumerable});return e};var K=(l=null!=(o=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=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(n[o=r.util.objId(t)])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":if(n[o=r.util.objId(t)])return n[o];return 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};if(r.hooks.run("before-tokenize",o),!o.grammar)throw Error('The language "'+o.language+'" has no grammar.');return 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 s in n)t[s]=n[s];delete t.rest}var u=new i;return l(u,u.head,e),function e(t,n,i,s,u,c){for(var d in i){if(!!i.hasOwnProperty(d)&&!!i[d]){var p=i[d];p=Array.isArray(p)?p:[p];for(var f=0;f<p.length;++f){if(c&&c.cause==d+","+f)return;var h=p[f],g=h.inside,m=!!h.lookbehind,y=!!h.greedy,b=h.alias;if(y&&!h.pattern.global){var v=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,v+"g")}for(var w=h.pattern||h,x=s.next,k=u;x!==n.tail&&(!c||!(k>=c.reach));k+=x.value.length,x=x.next){;var S,_=x.value;if(n.length>t.length)return;if(!(_ instanceof a)){var E=1;if(y){if(!(S=o(w,k,t,m))||S.index>=t.length)break;var C=S.index,T=S.index+S[0].length,j=k;for(j+=x.value.length;C>=j;)j+=(x=x.next).value.length;if(j-=x.value.length,k=j,x.value instanceof a)continue;for(var N=x;N!==n.tail&&(j<T||"string"==typeof N.value);N=N.next)E++,j+=N.value.length;E--,_=t.slice(k,j),S.index-=k}else if(!(S=o(w,0,_,m)))continue;var C=S.index,O=S[0],P=_.slice(0,C),A=_.slice(C+O.length),L=k+_.length;c&&L>c.reach&&(c.reach=L);var R=x.prev;if(P&&(R=l(n,R,P),k+=P.length),function(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}(n,R,E),x=l(n,R,new a(d,g?r.tokenize(O,g):O,b,O)),A&&l(n,x,A),E>1){var I={cause:d+","+f,reach:L};e(t,n,i,x.prev,k,I),c&&I.reach>c.reach&&(c.reach=I.reach)}}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},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(){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 l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,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}();t.exports=n,n.default=n}},function(){return a||(0,r[B(r)[0]])((a={exports:{}}).exports,a),a.exports})())?F(Z(o)):{},Q(!i&&o&&o.__esModule?l:M(l,"default",{value:o,enumerable:!0}),o));K.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},K.languages.markup.tag.inside["attr-value"].inside.entity=K.languages.markup.entity,K.languages.markup.doctype.inside["internal-subset"].inside=K.languages.markup,K.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(K.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:K.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:K.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},K.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(K.languages.markup.tag,"addAttribute",{value:function(e,t){K.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:K.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),K.languages.html=K.languages.markup,K.languages.mathml=K.languages.markup,K.languages.svg=K.languages.markup,K.languages.xml=K.languages.extend("markup",{}),K.languages.ssml=K.languages.xml,K.languages.atom=K.languages.xml,K.languages.rss=K.languages.xml,s=K,u={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},d=RegExp((d="(?:[^\\\\-]|"+(c=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+d),p={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},s.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:d,inside:{escape:c,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":u,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:c}},"special-escape":u,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":p}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:c,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":p}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},K.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:/[{}[\];(),.:]/},K.languages.javascript=K.languages.extend("clike",{"class-name":[K.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}|\?\?=?|\?\.?|[~:]/}),K.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,K.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:K.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:K.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:K.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:K.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:K.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),K.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:K.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"}}),K.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),K.languages.markup&&(K.languages.markup.tag.addInlined("script","javascript"),K.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")),K.languages.js=K.languages.javascript,K.languages.actionscript=K.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),K.languages.actionscript["class-name"].alias="function",delete K.languages.actionscript.parameter,delete K.languages.actionscript["literal-property"],K.languages.markup&&K.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:K.languages.markup}}),h=/#(?!\{).+/,g={pattern:/#\{[^}]+\}/,alias:"variable"},(f=K).languages.coffeescript=f.languages.extend("javascript",{comment:h,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:g}}],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"}}),f.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:h,interpolation:g}}}),f.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:f.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:g}}]}),f.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete f.languages.coffeescript["template-string"],f.languages.coffee=f.languages.coffeescript,Object.defineProperty(y=(m=K).languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=m.languages[e]){var a,o=a[r];if((o=o||(a=m.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var i=0,l=o.length;i<l;i++)o[i]instanceof RegExp&&(o[i]={pattern:o[i]}),n(o[i]);else n(o)}})}}),y.addSupport(["java","javascript","php"],y),v=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(v=((b=K).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+v.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+v.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+v.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+v.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:v,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:/[(){};:,]/},b.languages.css.atrule.inside.rest=b.languages.css,b.languages.markup))&&(v.tag.addInlined("style","css"),v.tag.addAttribute("style","css")),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(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("\\[(?:[^[\\]\"']|"+t.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":[t,{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}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={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|RebeccaPurple|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:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(K),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+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){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e}),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}(K),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,i=(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,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",a=0,o=t.classes.length;a<o;a++){var u=t.classes[a],u=/language-(.+)/.exec(u);if(u){r=u[1];break}}var c,d=e.languages[r];d?t.content=e.highlight(n=(n=(n=t.content).replace(i,"")).replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):l[t]||e}),d,r):r&&"none"!==r&&e.plugins.autoloader&&(c="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(K),K.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:K.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+/},K.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"])&&"("===function(e){return t[n+e]}(1).content){n+=2;var o=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=function(e){return t[n+e]}(0);"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===function(e){return t[n+e]}(0).content&&(n++,f(function(e){return t[n+e]}(0),"property-mutation"),0<a.length)){var l=p(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,r){r=r||0;for(var a=0;a<e.length;a++){var o=t[n+(a+r)];if(!o||o.type!==e[a])return}return 1}function p(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 f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}}),K.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(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}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 s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in s&&function t(n){for(var i=0,s=n.length;i<s;i++){var u,c,d,p=n[i];"string"!=typeof p&&(Array.isArray(u=p.content)?"template-string"===p.type?(p=u[1],3===u.length&&"string"!=typeof p&&"embedded-code"===p.type&&(c=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(p),p=Array.isArray(p=p.alias)?p[0]:p,d=e.languages[p])&&(u[1]=function(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},s=l(s.map(function(e){if("string"==typeof e)return e;for(var n,r,e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n}).join(""),n,i),d=Object.keys(c);return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,p,f,h,g,m,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(m=(g="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=g.substring(0,m),h=c[i],p=void 0,(f={})["interpolation-punctuation"]=a,3===(f=e.tokenize(h,f)).length&&((p=[1,1]).push.apply(p,l(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,h),f=g.substring(m+i.length),h=[],s&&h.push(s),h.push(p),f&&(t(g=[f]),h.push.apply(h,g)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(h)),o+=h.length-1):y.content=h)):Array.isArray(m=y.content)?t(m):t([m])}}(s),new e.Token(i,s,"language-"+i,t)}(c,d,p))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(K),(w=K).languages.typescript=w.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/}),w.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 w.languages.typescript.parameter,delete w.languages.typescript["literal-property"],x=w.languages.extend("typescript",{}),delete x["class-name"],w.languages.typescript["class-name"].inside=x,w.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:x}}}}),w.languages.ts=w.languages.typescript,S=(k=K).languages.javascript,E="(@(?:arg|argument|param|property)\\s+(?:"+(_=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",k.languages.jsdoc=k.languages.extend("javadoclike",{parameter:{pattern:RegExp(E+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),k.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(E+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:S,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return _})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+_),lookbehind:!0,inside:{string:S.string,number:S.number,boolean:S.boolean,keyword:k.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:S,alias:"language-javascript"}}}}),k.languages.javadoclike.addSupport("javascript",k.languages.jsdoc),(C=K).languages.flow=C.languages.extend("javascript",{}),C.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),C.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete C.languages.flow.parameter,C.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(C.languages.flow.keyword)||(C.languages.flow.keyword=[C.languages.flow.keyword]),C.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),K.languages.n4js=K.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),K.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),K.languages.n4jsd=K.languages.n4js,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],a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(K),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 RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return a}),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(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],a=0;a<n.length;a++){var o=n[a],l=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<r.length&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"!==o.content[o.content.length-1].content&&r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):0<r.length&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:0<r.length&&0<r[r.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:l=!0),(l||"string"==typeof o)&&0<r.length&&0===r[r.length-1].openedBraces&&(l=i(o),a<n.length-1&&("string"==typeof n[a+1]||"plain-text"===n[a+1].type)&&(l+=i(n[a+1]),n.splice(a+1,1)),0<a&&("string"==typeof n[a-1]||"plain-text"===n[a-1].type)&&(l=i(n[a-1])+l,n.splice(a-1,1),a--),n[a]=new e.Token("plain-text",l,null,l)),o.content&&"string"!=typeof o.content&&t(o.content)}}(t.tokens)})}(K),j=(T=K).util.clone(T.languages.typescript),(j=(T.languages.tsx=T.languages.extend("jsx",j),delete T.languages.tsx.parameter,delete T.languages.tsx["literal-property"],T.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+j.pattern.source+")",j.pattern.flags),j.lookbehind=!0,K.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},K.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=K.languages.swift}),(N=K).languages.kotlin=N.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete N.languages.kotlin["class-name"],O={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:N.languages.kotlin}},N.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:O},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:O},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete N.languages.kotlin.string,N.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),N.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),N.languages.kt=N.languages.kotlin,N.languages.kts=N.languages.kotlin,K.languages.c=K.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|[?:~]|[-+*/%&|^!=<>]=?/}),K.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),K.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},K.languages.c.string],char:K.languages.c.char,comment:K.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:K.languages.c}}}}),K.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 K.languages.c.boolean,K.languages.objectivec=K.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 K.languages.objectivec["class-name"],K.languages.objc=K.languages.objectivec,K.languages.reason=K.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/}),K.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 K.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(K),K.languages.go=K.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/}),K.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete K.languages.go["class-name"],P=K,A=/\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/,L=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return A.source}),P.languages.cpp=P.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return A.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:A,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/}),P.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 L})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),P.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:P.languages.cpp}}}}),P.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),P.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:P.languages.extend("cpp",{})}}),P.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},P.languages.cpp["base-clause"]),K.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:/[{}[\];(),.:]/},K.languages.python["string-interpolation"].inside.interpolation.inside.rest=K.languages.python,K.languages.py=K.languages.python,K.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"}},K.languages.webmanifest=K.languages.json;((e,t)=>{for(var n in t)M(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>X,duotoneDark:()=>J,duotoneLight:()=>ee,github:()=>et,gruvboxMaterialDark:()=>eC,gruvboxMaterialLight:()=>eT,jettwaveDark:()=>ek,jettwaveLight:()=>eS,nightOwl:()=>en,nightOwlLight:()=>er,oceanicNext:()=>eh,okaidia:()=>eg,oneDark:()=>e_,oneLight:()=>eE,palenight:()=>em,shadesOfPurple:()=>ey,synthwave84:()=>eb,ultramin:()=>ev,vsDark:()=>ew,vsLight:()=>ex});var X={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)"}}]},J={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"}}]},ee={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{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:"#896724"}}]},et={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"}}]},en={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},er={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},ea="#D8DEE9",eo="#999999",ei="#c5a5c5",el="#5a9bcf",es="#8dc891",eu="#d7deea",ec="#ff8b50",ed="#fc929e",ep="#79b6f2",ef="#FAC863",eh={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:ei}},{types:["attr-value"],style:{color:es}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:eo}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:el}},{types:["boolean"],style:{color:ec}},{types:["tag"],style:{color:ed}},{types:["string"],style:{color:es}},{types:["punctuation"],style:{color:es}},{types:["selector","char","builtin","inserted"],style:{color:ea}},{types:["function"],style:{color:ep}},{types:["operator","entity","url","variable"],style:{color:eu}},{types:["keyword"],style:{color:ei}},{types:["atrule","class-name"],style:{color:ef}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},eg={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},em={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},ey={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},eb={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ev={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},ew={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ex={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},ek={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},eS={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},e_={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{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:"hsl(220, 14%, 71%)"}}]},eE={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{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:"hsl(230, 8%, 24%)"}}]},eC={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},eT={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},ej=(e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:a}=n;return r&&!r.includes(t)?e:(n.types.forEach(t=>{let n=q(q({},e[t]),a);e[t]=n}),e)},{});return r.root=n,r.plain=G(q({},n),{backgroundColor:void 0}),r},eN=(e,t)=>{let[n,r]=(0,R.useState)(ej(t,e)),a=(0,R.useRef)(),o=(0,R.useRef)();return(0,R.useEffect)(()=>{(t!==a.current||e!==o.current)&&(a.current=t,o.current=e,r(ej(t,e)))},[e,t]),n},eO=e=>(0,R.useCallback)(t=>{var{className:n,style:r,line:a}=t;let o=G(q({},Y(t,["className","style","line"])),{className:(0,I.Z)("token-line",n)});return"object"==typeof e&&"plain"in e&&(o.style=e.plain),"object"==typeof r&&(o.style=q(q({},o.style||{}),r)),o},[e]),eP=e=>{let t=(0,R.useCallback)(({types:t,empty:n})=>{if(null!=e){if(1===t.length&&"plain"===t[0])return null!=n?{display:"inline-block"}:void 0;if(1===t.length&&null!=n)return e[t[0]];return Object.assign(null!=n?{display:"inline-block"}:{},...t.map(t=>e[t]))}},[e]);return(0,R.useCallback)(e=>{var{token:n,className:r,style:a}=e;let o=G(q({},Y(e,["token","className","style"])),{className:(0,I.Z)("token",...n.types,r),children:n.content,style:t(n)});return null!=a&&(o.style=q(q({},o.style||{}),a)),o},[t])},eA=/\r\n|\r|\n/,eL=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eR=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eI=e=>{let t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,l=[],s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e;let u=t[i],c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=eR(u,c.type),c.alias&&(u=eR(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}let d=e.split(eA),p=d.length;l.push({types:u,content:d[0]});for(let e=1;e<p;e++)eL(l),s.push(l=[]),l.push({types:u,content:d[e]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return eL(l),s},eF=({prism:e,code:t,grammar:n,language:r})=>{let a=(0,R.useRef)(e);return(0,R.useMemo)(()=>{if(null==n)return eI([t]);let e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),eI(e.tokens)},[t,n,r])},eM=({children:e,language:t,code:n,theme:r,prism:a})=>{let o=t.toLowerCase(),i=eN(o,r),l=eO(i),s=eP(i),u=a.languages[o];return e({tokens:eF({prism:a,language:o,code:n,grammar:u}),className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},eD=e=>(0,R.createElement)(eM,G(q({},e),{prism:e.prism||K,theme:e.theme||ew,code:e.code,language:e.language}))},21835:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r="Invariant failed";function a(e,t){var n;if(!e)throw Error(r)}},28395:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return I},__assign:function(){return o},__asyncDelegator:function(){return E},__asyncGenerator:function(){return _},__asyncValues:function(){return C},__await:function(){return S},__awaiter:function(){return h},__classPrivateFieldGet:function(){return A},__classPrivateFieldIn:function(){return R},__classPrivateFieldSet:function(){return L},__createBinding:function(){return m},__decorate:function(){return l},__disposeResources:function(){return M},__esDecorate:function(){return u},__exportStar:function(){return y},__extends:function(){return a},__generator:function(){return g},__importDefault:function(){return P},__importStar:function(){return O},__makeTemplateObject:function(){return T},__metadata:function(){return f},__param:function(){return s},__propKey:function(){return d},__read:function(){return v},__rest:function(){return i},__rewriteRelativeImportExtension:function(){return D},__runInitializers:function(){return c},__setFunctionName:function(){return p},__spread:function(){return w},__spreadArray:function(){return k},__spreadArrays:function(){return x},__values:function(){return b},default:function(){return z}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function l(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var l=r.kind,s="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,c=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),d,p=!1,f=n.length-1;f>=0;f--){var h={};for(var g in r)h[g]="access"===g?{}:r[g];for(var g in r.access)h.access[g]=r.access[g];h.addInitializer=function(e){if(p)throw TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var m=(0,n[f])("accessor"===l?{get:c.get,set:c.set}:c[s],h);if("accessor"===l){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(d=i(m.get))&&(c.get=d),(d=i(m.set))&&(c.set=d),(d=i(m.init))&&a.unshift(d)}else(d=i(m))&&("field"===l?a.unshift(d):c[s]=d)}u&&Object.defineProperty(u,r.name,c),p=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,l)}s((r=r.apply(e,t||[])).next())})}function g(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}var m=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(t,n)&&m(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function x(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),a=0,t=0;t<n;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)r[a]=o[i];return r}function k(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)(r||!(a in t))&&(!r&&(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||l(e,t)})},t&&(r[e]=t(r[e])))}function l(e,t){try{(function(e){e.value instanceof S?Promise.resolve(e.value.v).then(s,u):c(o[0][2],e)})(a[e](t))}catch(e){c(o[0][3],e)}}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}function E(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function C(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,a){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,a,(t=e[n](t)).done,t.value)})}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var j=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},N=function(e){return(N=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=N(e),r=0;r<n.length;r++)"default"!==n[r]&&m(t,e,n[r]);return j(t,e),t}function P(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,a){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function R(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){var r,a;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var F="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new F(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,function(e){return t(e),a()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function D(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,a,o){return n?t?".jsx":".js":!r||a&&o?r+a+"."+o.toLowerCase()+"js":e}):e}let z={__extends:a,__assign:o,__rest:i,__decorate:l,__param:s,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:p,__metadata:f,__awaiter:h,__generator:g,__createBinding:m,__exportStar:y,__values:b,__read:v,__spread:w,__spreadArrays:x,__spreadArray:k,__await:S,__asyncGenerator:_,__asyncDelegator:E,__asyncValues:C,__makeTemplateObject:T,__importStar:O,__importDefault:P,__classPrivateFieldGet:A,__classPrivateFieldSet:L,__classPrivateFieldIn:R,__addDisposableResource:I,__disposeResources:M,__rewriteRelativeImportExtension:D}},62627:function(e){"use strict";e.exports={}},37138:function(e){"use strict";e.exports=JSON.parse('{"/nr-pies/pr-preview/pr-5/markdown-page-3f1":{"__comp":"1f391b9e","__context":{"plugin":"a7456010"},"content":"393be207"},"/nr-pies/pr-preview/pr-5/docs-e22":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/nr-pies/pr-preview/pr-5/docs-54a":{"__comp":"a7bd4aaa","__props":"c8a3c648"},"/nr-pies/pr-preview/pr-5/docs/tags-144":{"__comp":"3720c009","__props":"d24490ca"},"/nr-pies/pr-preview/pr-5/docs/tags/business-81d":{"__comp":"df203c0f","__props":"1ba952d0"},"/nr-pies/pr-preview/pr-5/docs/tags/developer-660":{"__comp":"df203c0f","__props":"087ec2b2"},"/nr-pies/pr-preview/pr-5/docs/tags/executive-b7d":{"__comp":"df203c0f","__props":"1ebab83f"},"/nr-pies/pr-preview/pr-5/docs-6c4":{"__comp":"a94703ab"},"/nr-pies/pr-preview/pr-5/docs/category/concept-maps-a74":{"__comp":"14eb3368","__props":"8d79b6b2"},"/nr-pies/pr-preview/pr-5/docs/category/data-types-967":{"__comp":"14eb3368","__props":"0e9114d6"},"/nr-pies/pr-preview/pr-5/docs/category/resource-types-cfb":{"__comp":"14eb3368","__props":"24726f2a"},"/nr-pies/pr-preview/pr-5/docs/category/tutorial---basics-6ee":{"__comp":"14eb3368","__props":"cac7846a"},"/nr-pies/pr-preview/pr-5/docs/category/tutorial---extras-ed8":{"__comp":"14eb3368","__props":"7e2539cd"},"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro-cc6":{"__comp":"17896441","content":"21038ea1"},"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations-7dd":{"__comp":"17896441","content":"40a9f62a"},"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post-007":{"__comp":"17896441","content":"455d01c6"},"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document-a3c":{"__comp":"17896441","content":"54329717"},"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page-d31":{"__comp":"17896441","content":"34829b29"},"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site-a88":{"__comp":"17896441","content":"72af4c84"},"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features-138":{"__comp":"17896441","content":"14622022"},"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions-656":{"__comp":"17896441","content":"9604fc81"},"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site-26d":{"__comp":"17896441","content":"fe557f77"},"/nr-pies/pr-preview/pr-5/docs/intro/getting_started-dfe":{"__comp":"17896441","content":"21cb2624"},"/nr-pies/pr-preview/pr-5/docs/intro/terminology-480":{"__comp":"17896441","content":"b06371b7"},"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking-757":{"__comp":"17896441","content":"c465dbe4"},"/nr-pies/pr-preview/pr-5/docs/spec/data/code-ae7":{"__comp":"17896441","content":"bb64f159"},"/nr-pies/pr-preview/pr-5/docs/spec/data/event-444":{"__comp":"17896441","content":"864e058a"},"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id-b1f":{"__comp":"17896441","content":"992aa281"},"/nr-pies/pr-preview/pr-5/docs/spec/data/process-181":{"__comp":"17896441","content":"49f850f6"},"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle-f79":{"__comp":"17896441","content":"fa6dc6d9"},"/nr-pies/pr-preview/pr-5/docs/spec/formatting-bef":{"__comp":"17896441","content":"5187c925"},"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types-9ba":{"__comp":"17896441","content":"6cca1acc"},"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event-e32":{"__comp":"17896441","content":"d74d58d6"},"/nr-pies/pr-preview/pr-5/-189":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,["6212"],function(){return e(e.s="52465")}),e.O()}]); \ No newline at end of file diff --git a/pr-preview/pr-5/assets/js/runtime~main.fce11943.js b/pr-preview/pr-5/assets/js/runtime~main.fce11943.js new file mode 100644 index 0000000..3650bae --- /dev/null +++ b/pr-preview/pr-5/assets/js/runtime~main.fce11943.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,t,r,n,c,a,f,o,d={},u={};function i(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={id:e,loaded:!1,exports:{}};return d[e].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=d,i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var c=Object.create(null);i.r(c);var a={};e=e||[null,t({}),t([]),t(t)];for(var f=2&n&&r;"object"==typeof f&&!~e.indexOf(f);f=t(f))Object.getOwnPropertyNames(f).forEach(function(e){a[e]=function(){return r[e]}});return a.default=function(){return r},i.d(c,a),c},i.d=function(e,t){for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce(function(t,r){return i.f[r](e,t),t},[]))},i.hmd=function(e){return!(e=Object.create(e)).children&&(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},i.u=function(e){return"assets/js/"+(({1460:"6cca1acc",1558:"24726f2a",1858:"54329717",1950:"1ebab83f",1983:"14eb3368",249:"fe557f77",2493:"1f391b9e",252:"c8a3c648",2556:"5187c925",2751:"14622022",287:"21cb2624",2898:"3720c009",3432:"5e95c892",3657:"40a9f62a",3811:"b06371b7",4494:"34829b29",4645:"49f850f6",4828:"0e9114d6",5112:"aba21aa0",5211:"a7bd4aaa",5706:"455d01c6",5953:"8d79b6b2",6125:"d24490ca",6410:"1ba952d0",7048:"17896441",707:"bb64f159",7365:"a7456010",7376:"fa6dc6d9",7455:"cac7846a",7825:"864e058a",815:"df203c0f",8652:"72af4c84",8706:"1df93b7f",8788:"9604fc81",8954:"7e2539cd",9173:"087ec2b2",9201:"c465dbe4",9277:"992aa281",9417:"d74d58d6",9597:"21038ea1",9914:"a94703ab",9969:"393be207"})[e]||e)+"."+({1173:"5f14408a",1460:"853c4032",1558:"03b4df9b",161:"d05026b2",1773:"1a0bf1ab",1824:"d9e8ca59",1858:"cb4de419",1950:"63312ebc",1983:"9c7921b4",1996:"9a0f09ed",2036:"b404ef9a",2061:"4824b421",2247:"26eff447",2260:"bcfdf19b",249:"1db3ccd8",2493:"046a0919",252:"ae8589ed",2556:"d606ddc9",2751:"fb0caf23",2866:"3f086b27",287:"a10bfedf",2898:"a7cce29b",3085:"8f380f56",3361:"71b6c106",3389:"7ade8f65",3432:"ab8a9d20",3657:"5c637254",367:"ca369069",3811:"b3819fe1",3917:"bffdcefe",4013:"8822434d",4294:"327c1ce5",447:"c6aeb1bf",4494:"806f422a",4645:"359eb6e1",4828:"0c9e50b4",4842:"6de26794",495:"8bd643d2",5112:"5546b266",5146:"0f8244c6",5155:"57bccbae",5211:"8577d8fc",5516:"22baa0ea",555:"22a9c9df",5696:"c0b87015",5706:"ebb4fcd7",5823:"0f393977",5953:"f2685650",6059:"ef52e876",6125:"78a0e545",6211:"d8de6fc9",6410:"e723501e",6788:"2916c3d6",7048:"72a0dee3",707:"888be9fe",709:"4491edf1",7365:"aa2fcbf9",7376:"1c0b085d",7408:"c4a276ca",7455:"bf24fdab",7554:"0efa1e71",7614:"6338e782",7717:"62fafe66",7825:"91fc067a",7960:"1b235a33",815:"f29e98af",8588:"ceccfba1",8652:"a229eb6e",8706:"a81e42d3",8751:"5372316c",8788:"d6113aef",879:"1c63c3a0",8954:"00aaaeef",9090:"faf0ba39",9173:"b64c99d9",9196:"fbd1abba",9201:"0dab84a3",9220:"eca32452",9277:"01a6bb4d",9417:"e0ef76e8",9597:"126239d6",9870:"76e4cafc",9914:"f3460f41",9969:"12c496be",9990:"85fe3b52"})[e]+".js"},i.miniCssF=function(e){return""+e+".css"},i.h=function(){return"25c2e4eedc5c4a4a"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},n="nr-pies:",i.l=function(e,t,c,a){if(r[e]){r[e].push(t);return}if(void 0!==c){for(var f,o,d=document.getElementsByTagName("script"),u=0;u<d.length;u++){var b=d[u];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==n+c){f=b;break}}}!f&&(o=!0,(f=document.createElement("script")).charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.setAttribute("data-webpack",n+c),f.src=e),r[e]=[t];var s=function(t,n){f.onerror=f.onload=null,clearTimeout(l);var c=r[e];if(delete r[e],f.parentNode&&f.parentNode.removeChild(f),c&&c.forEach(function(e){return e(n)}),t)return t(n)},l=setTimeout(s.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=s.bind(null,f.onerror),f.onload=s.bind(null,f.onload),o&&document.head.appendChild(f)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},c=[],i.O=function(e,t,r,n){if(t){n=n||0;for(var a=c.length;a>0&&c[a-1][2]>n;a--)c[a]=c[a-1];c[a]=[t,r,n];return}for(var f=1/0,a=0;a<c.length;a++){for(var t=c[a][0],r=c[a][1],n=c[a][2],o=!0,d=0;d<t.length;d++)(!1&n||f>=n)&&Object.keys(i.O).every(function(e){return i.O[e](t[d])})?t.splice(d--,1):(o=!1,n<f&&(f=n));if(o){c.splice(a--,1);var u=r();void 0!==u&&(e=u)}}return e},i.p="/nr-pies/pr-preview/pr-5/",i.rv=function(){return"1.1.4"},i.gca=function(e){return e=({0xdf1d46:"2751",0x11113f9:"7048",0x33d0175:"1858",fe557f77:"249",c8a3c648:"252","21cb2624":"287",bb64f159:"707",df203c0f:"815","6cca1acc":"1460","24726f2a":"1558","1ebab83f":"1950","14eb3368":"1983","1f391b9e":"2493","5187c925":"2556","3720c009":"2898","5e95c892":"3432","40a9f62a":"3657",b06371b7:"3811","34829b29":"4494","49f850f6":"4645","0e9114d6":"4828",aba21aa0:"5112",a7bd4aaa:"5211","455d01c6":"5706","8d79b6b2":"5953",d24490ca:"6125","1ba952d0":"6410",a7456010:"7365",fa6dc6d9:"7376",cac7846a:"7455","864e058a":"7825","72af4c84":"8652","1df93b7f":"8706","9604fc81":"8788","7e2539cd":"8954","087ec2b2":"9173",c465dbe4:"9201","992aa281":"9277",d74d58d6:"9417","21038ea1":"9597",a94703ab:"9914","393be207":"9969"})[e]||e,i.p+i.u(e)},a={2580:0,6212:0},i.f.j=function(e,t){var r=i.o(a,e)?a[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(/^(2580|6212)$/.test(e))a[e]=0;else{var n=new Promise(function(t,n){r=a[e]=[t,n]});t.push(r[2]=n);var c=i.p+i.u(e),f=Error();i.l(c,function(t){if(i.o(a,e)&&(0!==(r=a[e])&&(a[e]=void 0),r)){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",f.name="ChunkLoadError",f.type=n,f.request=c,r[1](f)}},"chunk-"+e,e)}}},i.O.j=function(e){return 0===a[e]},f=function(e,t){var r=t[0],n=t[1],c=t[2],f,o,d=0;if(r.some(function(e){return 0!==a[e]})){for(f in n)i.o(n,f)&&(i.m[f]=n[f]);if(c)var u=c(i)}for(e&&e(t);d<r.length;d++)o=r[d],i.o(a,o)&&a[o]&&a[o][0](),a[o]=0;return i.O(u)},(o=self.webpackChunknr_pies=self.webpackChunknr_pies||[]).forEach(f.bind(null,0)),o.push=f.bind(null,o.push.bind(o))})(); \ No newline at end of file diff --git a/pr-preview/pr-5/docs/category/concept-maps.html b/pr-preview/pr-5/docs/category/concept-maps.html new file mode 100644 index 0000000..d87d70a --- /dev/null +++ b/pr-preview/pr-5/docs/category/concept-maps.html @@ -0,0 +1 @@ +<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page" data-has-hydrated=false><meta charset=UTF-8><meta name=generator content="Docusaurus v3.6.3"><title data-rh=true>Concept Maps | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/pr-preview/pr-5/docs/category/data-types.html b/pr-preview/pr-5/docs/category/data-types.html new file mode 100644 index 0000000..4321d8f --- /dev/null +++ b/pr-preview/pr-5/docs/category/data-types.html @@ -0,0 +1 @@ +Data Types | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/pr-preview/pr-5/docs/category/resource-types.html b/pr-preview/pr-5/docs/category/resource-types.html new file mode 100644 index 0000000..9347ae9 --- /dev/null +++ b/pr-preview/pr-5/docs/category/resource-types.html @@ -0,0 +1 @@ +Resource Types | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/pr-preview/pr-5/docs/category/tutorial---basics.html b/pr-preview/pr-5/docs/category/tutorial---basics.html new file mode 100644 index 0000000..dd038a1 --- /dev/null +++ b/pr-preview/pr-5/docs/category/tutorial---basics.html @@ -0,0 +1 @@ +Tutorial - Basics | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/pr-preview/pr-5/docs/category/tutorial---extras.html b/pr-preview/pr-5/docs/category/tutorial---extras.html new file mode 100644 index 0000000..e141a9c --- /dev/null +++ b/pr-preview/pr-5/docs/category/tutorial---extras.html @@ -0,0 +1 @@ +Tutorial - Extras | Permitting Interoperability Exchange Specification \ No newline at end of file diff --git a/pr-preview/pr-5/docs/docusaurus/intro.html b/pr-preview/pr-5/docs/docusaurus/intro.html new file mode 100644 index 0000000..ec8416e --- /dev/null +++ b/pr-preview/pr-5/docs/docusaurus/intro.html @@ -0,0 +1,33 @@ +Tutorial Intro | Permitting Interoperability Exchange Specification

    Tutorial Intro

    +

    Welcome to Docusaurus! If you are here, you are probably looking at how to quickly add and update content here. To get +started, please review the following:

    + +

    Everything else below this line includes the original tutorial documentation for setting up and using Docusaurus.

    +
    +

    Let's discover Docusaurus in less than 5 minutes.

    +

    Getting Started

    +

    Get started by creating a new site.

    +

    Or try Docusaurus immediately with docusaurus.new.

    +

    What you'll need

    +
      +
    • Node.js version 18.0 or above: +
        +
      • When installing Node.js, you are recommended to check all checkboxes related to dependencies.
      • +
      +
    • +
    +

    Generate a new site

    +

    Generate a new Docusaurus site using the classic template.

    +

    The classic template will automatically be added to your project after you run the command:

    +
    npm init docusaurus@latest my-website classic
    +

    You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

    +

    The command also installs all necessary dependencies you need to run Docusaurus.

    +

    Start your site

    +

    Run the development server:

    +
    cd my-website
    npm run start
    +

    The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

    +

    The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.

    +

    Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations.html b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations.html new file mode 100644 index 0000000..a879a5c --- /dev/null +++ b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations.html @@ -0,0 +1,15 @@ +Congratulations! | Permitting Interoperability Exchange Specification

    Congratulations!

    +

    You have just learned the basics of Docusaurus and made some changes to the initial template.

    +

    Docusaurus has much more to offer!

    +

    Have 5 more minutes? Take a look at versioning and i18n.

    +

    Anything unclear or buggy in this tutorial? Please report it!

    +

    What's next?

    +
    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post.html b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post.html new file mode 100644 index 0000000..a722e23 --- /dev/null +++ b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post.html @@ -0,0 +1,6 @@ +Create a Blog Post | Permitting Interoperability Exchange Specification

    Create a Blog Post

    +

    Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...

    +

    Create your first Post

    +

    Create a file at blog/2021-02-28-greetings.md:

    +
    blog/2021-02-28-greetings.md
    ---
    slug: greetings
    title: Greetings!
    authors:
    - name: Joel Marcey
    title: Co-creator of Docusaurus 1
    url: https://github.com/JoelMarcey
    image_url: https://github.com/JoelMarcey.png
    - name: Sébastien Lorber
    title: Docusaurus maintainer
    url: https://sebastienlorber.com
    image_url: https://github.com/slorber.png
    tags: [greetings]
    ---

    Congratulations, you have made your first post!

    Feel free to play around and edit this post as much as you like.
    +

    A new blog post is now available at http://localhost:3000/blog/greetings.

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document.html b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document.html new file mode 100644 index 0000000..fcfa3e3 --- /dev/null +++ b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document.html @@ -0,0 +1,17 @@ +Create a Document | Permitting Interoperability Exchange Specification

    Create a Document

    +

    Documents are groups of pages connected through:

    +
      +
    • a sidebar
    • +
    • previous/next navigation
    • +
    • versioning
    • +
    +

    Create your first Doc

    +

    Create a Markdown file at docs/hello.md:

    +
    docs/hello.md
    # Hello

    This is my **first Docusaurus document**!
    +

    A new document is now available at http://localhost:3000/docs/hello.

    +

    Configure the Sidebar

    +

    Docusaurus automatically creates a sidebar from the docs folder.

    +

    Add metadata to customize the sidebar label and position:

    +
    docs/hello.md
    ---
    sidebar_label: 'Hi!'
    sidebar_position: 3
    ---

    # Hello

    This is my **first Docusaurus document**!
    +

    It is also possible to create your sidebar explicitly in sidebars.js:

    +
    sidebars.js
    export default {
    tutorialSidebar: [
    'intro',
    'hello',
    {
    type: 'category',
    label: 'Tutorial',
    items: ['tutorial_basics/create-a-document']
    }
    ]
    };
    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page.html b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page.html new file mode 100644 index 0000000..c66d889 --- /dev/null +++ b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page.html @@ -0,0 +1,22 @@ +Create a Page | Permitting Interoperability Exchange Specification

    Create a Page

    +

    Add Markdown or React files to src/pages to create a standalone page:

    +
      +
    • src/pages/index.jslocalhost:3000/
    • +
    • src/pages/foo.mdlocalhost:3000/foo
    • +
    • src/pages/foo/bar.jslocalhost:3000/foo/bar
    • +
    +
    +
      +
    • Please use snake_case when naming files with multiple subjects in order to be consistent with the rest of the +repository.
    • +
    • When you create a new .md or .mdx file, please make sure to add in the appropriate +Front Matter so that your content is properly categorized.
    • +
    +

    Create your first React Page

    +

    Create a file at src/pages/my-react-page.js:

    +
    src/pages/my-react-page.js
    import React from 'react';
    import Layout from '@theme/Layout';

    export default function MyReactPage() {
    return (
    <Layout>
    <h1>My React page</h1>
    <p>This is a React page</p>
    </Layout>
    );
    }
    +

    A new page is now available at http://localhost:3000/my-react-page.

    +

    Create your first Markdown Page

    +

    Create a file at src/pages/my-markdown-page.md:

    +
    src/pages/my-markdown-page.md
    # My Markdown page

    This is a Markdown page
    +

    A new page is now available at http://localhost:3000/my-markdown-page.

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site.html b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site.html new file mode 100644 index 0000000..660de0a --- /dev/null +++ b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site.html @@ -0,0 +1,12 @@ +Deploy your site | Permitting Interoperability Exchange Specification

    Deploy your site

    +

    Docusaurus is a static-site-generator (also called Jamstack).

    +

    It builds your site as simple static HTML, JavaScript and CSS files.

    +

    Build your site

    +

    Build your site for production:

    +
    npm run build
    +

    The static files are generated in the build folder.

    +

    Deploy your site

    +

    Test your production build locally:

    +
    npm run serve
    +

    The build folder is now served at http://localhost:3000/.

    +

    You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features.html b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features.html new file mode 100644 index 0000000..bdcfd45 --- /dev/null +++ b/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features.html @@ -0,0 +1,49 @@ +Markdown Features | Permitting Interoperability Exchange Specification

    Markdown Features

    +

    Docusaurus supports Markdown and a few additional +features.

    +

    Front Matter

    +

    Markdown documents have metadata at the top called Front Matter:

    +
    my-doc.md
    ---
    id: my_doc_id
    title: My document title
    description: My document description
    slug: /my-custom-url
    tags:
    - developer
    ---

    ## Markdown heading

    Markdown text with [links](./hello.md)
    +

    We recommend that all markdown pages should have at minimum a title, description and tags array defined. An id +may be specified, but can be derived off of the filename when omitted.

    +
    info

    A complete listing of Docusaurus supported front matter fields can be found here.

    + +

    Regular Markdown links are supported, using url paths or relative file paths.

    +
    Let's see how to [Create a page](/create_a_page).
    +
    Let's see how to [Create a page](./create_a_page.md).
    +

    Result: Let's see how to Create a page.

    +

    Images

    +

    Regular Markdown images are supported.

    +

    You can use absolute paths to reference images in the static directory (static/img/docusaurus.png):

    +
    ![Docusaurus logo](/img/docusaurus.png)
    +

    Docusaurus logo

    +

    You can reference images relative to the current file as well. This is particularly useful to colocate images close to +the Markdown files using them:

    +
    ![Docusaurus logo](./img/docusaurus.png)
    +

    Code Blocks

    +

    Markdown code blocks are supported with Syntax highlighting.

    +
    ```jsx title="src/components/HelloDocusaurus.js"
    function HelloDocusaurus() {
    return <h1>Hello, Docusaurus!</h1>;
    }
    ```
    +
    src/components/HelloDocusaurus.js
    function HelloDocusaurus() {
    return <h1>Hello, Docusaurus!</h1>;
    }
    +

    Admonitions

    +

    Docusaurus has a special syntax to create admonitions and callouts:

    +
    :::tip[My tip]

    Use this awesome feature option

    :::

    :::danger[Take care]

    This action is dangerous

    :::
    +
    My tip

    Use this awesome feature option

    +
    Take care

    This action is dangerous

    +

    Mermaid Graphs

    +

    Our Docusaurus instance supports diagramming and charting through Mermaid. The following +are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, +visit their documentation for more details under the Diagram Syntax section on the +sidebar.

    +

    State Machine

    +
    ```mermaid
    graph TD
    A-->B
    A-->C
    B-->D
    C-->D
    ```
    + +

    Flowchart

    +
    ```mermaid
    graph LR
    A[PIES] -->|Get spec| B(Stakeholder approval)
    B --> C{Purpose}
    B --> G[/Further Analysis/]
    C ==>|One| D[Document Exchange]
    C -->|Two| E[Event Alerts]
    C -->|Three| F[Aggregation]
    subgraph identification
    A
    B
    end
    subgraph execution
    C
    D
    E
    F
    G
    end
    ```
    + +

    MDX and React Components

    +

    MDX can make your documentation more interactive and allows using any React components +inside Markdown:

    +
    export const Highlight = ({children, color}) => (
    <span
    style={{
    backgroundColor: color,
    borderRadius: '20px',
    color: '#fff',
    padding: '10px',
    cursor: 'pointer',
    }}
    onClick={() => {
    alert(`You clicked the color ${color} with label ${children}`)
    }}>
    {children}
    </span>
    );

    This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !

    This is <Highlight color="#1877F2">Facebook blue</Highlight> !
    + +

    This is Docusaurus green !

    +

    This is Facebook blue !

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions.html b/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions.html new file mode 100644 index 0000000..5fe44f3 --- /dev/null +++ b/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions.html @@ -0,0 +1,23 @@ +Manage Docs Versions | Permitting Interoperability Exchange Specification

    Manage Docs Versions

    +

    Docusaurus can manage multiple versions of your docs.

    +

    Create a docs version

    +

    Release a version 1.0 of your project:

    +
    npm run docusaurus docs:version 1.0
    +

    The docs folder is copied into versioned_docs/version-1.0 and versions.json is created.

    +

    Your docs now have 2 versions:

    +
      +
    • 1.0 at http://localhost:3000/docs/ for the version 1.0 docs
    • +
    • current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs
    • +
    +

    Add a Version Dropdown

    +

    To navigate seamlessly across versions, add a version dropdown.

    +

    Modify the docusaurus.config.js file:

    +
    docusaurus.config.js
    export default {
    themeConfig: {
    navbar: {
    items: [
    {
    type: "docsVersionDropdown",
    },
    ],
    },
    },
    };
    +

    The docs version dropdown appears in your navbar:

    +

    Docs Version Dropdown

    +

    Update an existing version

    +

    It is possible to edit versioned docs in their respective folder:

    +
      +
    • versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello
    • +
    • docs/hello.md updates http://localhost:3000/docs/next/hello
    • +
    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site.html b/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site.html new file mode 100644 index 0000000..68ee8d1 --- /dev/null +++ b/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site.html @@ -0,0 +1,25 @@ +Translate your site | Permitting Interoperability Exchange Specification

    Translate your site

    +

    Let's translate docs/intro.md to French.

    +

    Configure i18n

    +

    Modify docusaurus.config.js to add support for the fr locale:

    +
    docusaurus.config.js
    export default {
    i18n: {
    defaultLocale: 'en',
    locales: ['en', 'fr'],
    },
    };
    +

    Translate a doc

    +

    Copy the docs/intro.md file to the i18n/fr folder:

    +
    mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/

    cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md
    +

    Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.

    +

    Start your localized site

    +

    Start your site on the French locale:

    +
    npm run start -- --locale fr
    +

    Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated.

    +
    caution

    In development, you can only use one locale at a time.

    +

    Add a Locale Dropdown

    +

    To navigate seamlessly across languages, add a locale dropdown.

    +

    Modify the docusaurus.config.js file:

    +
    docusaurus.config.js
    export default {
    themeConfig: {
    navbar: {
    items: [
    {
    type: 'localeDropdown',
    },
    ],
    },
    },
    };
    +

    The locale dropdown now appears in your navbar:

    +

    Locale Dropdown

    +

    Build your localized site

    +

    Build your site for a specific locale:

    +
    npm run build -- --locale fr
    +

    Or build your site to include all the locales at once:

    +
    npm run build
    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/intro/getting_started.html b/pr-preview/pr-5/docs/intro/getting_started.html new file mode 100644 index 0000000..2c05ef6 --- /dev/null +++ b/pr-preview/pr-5/docs/intro/getting_started.html @@ -0,0 +1,72 @@ +Getting Started | Permitting Interoperability Exchange Specification

    Getting Started

    Welcome! This site repository contains common schemas related to permitting in the Natural Resources Sector for the +Province of British Columbia. The intent of these are to standardize the way permitting in the Natural Resource Sector +is described as data to enable quality and interoperability.

    +

    Hosting this specification in the open will encourage collaboration, adoption and enable versioning.

    +

    These will be reviewed and updated with relevant partners, data custodians, stewards and sector permitting teams.

    +

    Purpose

    +

    Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as +many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting +reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems +can't integrate without a common language.

    +

    This standard specifies the foundational set of core descriptive data types and elements required to enable the +compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the +purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for +policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on +permitting.

    +

    Objectives

    +

    The main objective of PIES is to deliver a published specification to enable better data quality and system +interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or +usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes +across the sector.

    +
      +
    • Make it easier to connect and work with the information in different permitting systems. +
        +
      • Reduce the effort and cost of systems integrations and automation.
      • +
      • Unlock the ability to provide consistent progress tracking to proponents.
      • +
      +
    • +
    • Create technical guidelines that help various systems communicate smoothly and consistently.
    • +
    • Support different ways for systems to communicate with each other.
    • +
    • Unlock potential for evidence-based policy and transformative potential of AI.
    • +
    +

    Getting Everyone on the Same Page

    +
      +
    • Set up a working group for people interested to contribute and adopt PIES. See MS Teams.
    • +
    • Create clear rules for data governance.
    • +
    • Develop a common language so everyone understands the same terms.
    • +
    • Gather feedback to ensure data is represented accurately and clearly.
    • +
    +

    Documentation

    +
      +
    • Share best practices for documenting government data standards.
    • +
    • Identify and list common permitting concepts and data types.
    • +
    • Create a plan for implementing solutions using transformations and microservices.
    • +
    +

    And of course, PIES are delicious! 😄

    +

    Goals

    +
      +
    • Enable a cross sector view +
        +
      • Through appropriate data access
      • +
      • Creates a single point of validated reporting
      • +
      +
    • +
    • Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement +
        +
      • Data quality
      • +
      • Data and information consistency
      • +
      • Identify processing times
      • +
      • Data harmonization cross sector level reporting
      • +
      • Activity bundling and linking
      • +
      • Coordinated First Nations Consultation
      • +
      +
    • +
    +

    Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to +achieve interoperability (the ability for the systems to understand the key elements of information they need to share +and talk to each other in a common language).

    +

    An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will +focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems +into the data standards.

    +

    Schemas

    +

    TBD

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/intro/terminology.html b/pr-preview/pr-5/docs/intro/terminology.html new file mode 100644 index 0000000..11de4bb --- /dev/null +++ b/pr-preview/pr-5/docs/intro/terminology.html @@ -0,0 +1,26 @@ +Terminology | Permitting Interoperability Exchange Specification

    Terminology

    This page provides an overview and guide to the PIES resources, operations and concepts used for representing and +communicating coded, structured data within this specification. Collectively, these concepts are used to provide a +common definition and framework for traversing the coded concepts within PIES.

    +

    Acronyms

    +
    TermDefinition
    LOBLine of Business
    +

    Concepts

    +

    The following terms outline the main concepts used within this specification and aim to provide a common lexicon for +understanding and terminology usage.

    +

    Actors

    +

    This section discusses the various roles that a person, group or an organization may act as within the context of PIES.

    +
    TermDefinition
    ApplicantA person, group or organization seeking an authorization to perform a set of activities.
    Decision MakerA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions.
    FacilitatorAn established role which focuses on delivering dedicated support to applicants on application submissions.
    Interested PartyA person, or group which may be impacted by an authorization decision.
    Local GovernmentA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction.
    NavigatorA synonym for a facilitator.
    ProponentA synonym for an applicant.
    Referral AgencyA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application.
    Subject Matter ExpertA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy.
    +

    Definitions

    +

    This section outlines the definitions and common vocabulary used for representing specific concepts within PIES.

    +
    TermDefinition???
    ActivityA specific singular defined intent of action within an area of intent as defined by a referral agency. An activity may require one or more authorizations, e.g., a housing development project. An activity may be associated with a project.
    Activity BundlingThe act of identifying the set of permits required for a certain activity.This should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship
    ApplicationA submitted form(s) with the intent to obtain or amend an authorization.This might be getting muddled with the concept of a project.
    Area of IntentA set of one or more parcels which define the location(s) an activity is to be performed.
    AuthorizationThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.We might need to expand this definition over time as this is the formal umbrella term for many things.
    CaseloadWork happening with the LOB to facilitate, capture and maintain a permit.
    DispositionThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.First attempt at defining - needs review
    ParcelA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.Rephrased from LTSA page
    PermitAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization.
    ProjectAn optional set of one or more activities as defined by an applicant.
    SubmissionThe completed output of a single form as answered by an applicant.Add a note like "Submissions require an adjective declaring their application context"?
    WorkloadA quantifiable measurement of the number of client-driven applications in the queue.
    +

    The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they +interact with specific parts of the process.

    + +

    Process Tracking

    +

    This section outlines the definitions and common vocabulary used for representing specific concepts within a process.

    +
    TermDefinition???
    LifecycleRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.Highest level concept; answers the "why"
    PhaseA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.Defines an ordering of related stages.
    StageA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.Provides an ordering of higher level states within a phase of work
    StateA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.Larger general "where is this at" concept
    StatusA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.Detailed "what is happening now" concept
    +

    The following diagram outlines a high level categorization map between all of the process terms and how they relate to +each other.

    + +

    Structure

    +

    The following terms describe the structural definitions of the specification ordered from specific to general.

    +
    TermDefinition
    Data TypeA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date.
    IdentifiersIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations.
    VocabularyA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher."
    SchemaA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema.
    FormatThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML.
    APIAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web.
    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/spec/concept/process_tracking.html b/pr-preview/pr-5/docs/spec/concept/process_tracking.html new file mode 100644 index 0000000..d0ec070 --- /dev/null +++ b/pr-preview/pr-5/docs/spec/concept/process_tracking.html @@ -0,0 +1,11 @@ +Process Tracking | Permitting Interoperability Exchange Specification

    Process Tracking

    This page outlines the conceptual hierarchy and terminology embeddings which can describe the tracking of a process.

    +

    Classifications

    +

    Refer to the Process Tracking Terminology to understand the definitions +behind each classification level.

    +

    Concept Map

    + +

    Code Sets

    +

    Each classification within the context of a specific kind of lifecycle will have a codified and enumerated concept. TBD.

    +

    Type Descriptors

    +

    Each kind of lifecycle may be described by a type descriptor. For example, an application may be an amendment type, or +it may be a transfer type. TBD

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/spec/data/code.html b/pr-preview/pr-5/docs/spec/data/code.html new file mode 100644 index 0000000..41c4aaa --- /dev/null +++ b/pr-preview/pr-5/docs/spec/data/code.html @@ -0,0 +1,13 @@ +Code | Permitting Interoperability Exchange Specification

    Code

    Indicates that the value is taken from a set of controlled strings defined elsewhere. Technically, a code is restricted +to a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace +other than single spaces in the contents.

    +

    This data type is intended to represent a finite set of controlled strings which represents a specific, discrete +concept, element or idea.

    +

    Structure

    +

    Type: string

    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/spec/data/event.html b/pr-preview/pr-5/docs/spec/data/event.html new file mode 100644 index 0000000..d265c4f --- /dev/null +++ b/pr-preview/pr-5/docs/spec/data/event.html @@ -0,0 +1,12 @@ +Event | Permitting Interoperability Exchange Specification

    Event

    Represents a process concept.

    +

    Scope

    +

    This data type is intended to represent the core concept of a temporal event. It may contain a set of timestamps.

    +

    Loosely taking inspiration from HL7 Timing.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    TBD1..1stringTBD
    +

    Specification

    +
    [
    {
    "start": "2017-01-01T00:00:00.000Z",
    "end": "2017-01-02T00:00:00.000Z"
    },
    {
    "start": "2017-01-03T00:00:00.000Z"
    }
    ]
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/spec/data/parcel_id.html b/pr-preview/pr-5/docs/spec/data/parcel_id.html new file mode 100644 index 0000000..e0d7972 --- /dev/null +++ b/pr-preview/pr-5/docs/spec/data/parcel_id.html @@ -0,0 +1,30 @@ +Parcel Identifier | Permitting Interoperability Exchange Specification

    Parcel Identifier

    An identifier for a specific area with clear boundaries.

    +

    There a multiple ways to identify a parcel. Most common are the Parcel ID (PID) or Parcel Identification Number (PIN).

    +

    Scope

    +

    Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the +land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being +entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.

    +

    The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.

    +

    Structure

    +
      +
    • A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.
    • +
    • A Parcel Identifier may contain a legal_description and/or a parcel_name.
    • +
    +
    NameCardinalityTypeDescription & Constraints
    legal_description0..1stringThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.
    parcel_name0..1stringThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK.
    pid0..*integerParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.
    pin0..1integerThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier.
    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    Parcel ID (PID)

    +

    Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During +the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes +padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes:

    +
      +
    • parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.
    • +
    • parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes.
    • +
    +

    Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type.

    +

    References

    +
    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/spec/data/process.html b/pr-preview/pr-5/docs/spec/data/process.html new file mode 100644 index 0000000..7483b3e --- /dev/null +++ b/pr-preview/pr-5/docs/spec/data/process.html @@ -0,0 +1,12 @@ +Process | Permitting Interoperability Exchange Specification

    Process

    Represents a process concept.

    +

    Scope

    +

    This data type is intended to represent the core concept of a defined process.

    +

    Loosely taking inspiration from HL7 Timing.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    TBD1..1stringTBD
    +

    Specification

    +
    {
    "class": "status",
    "description": "The authorization request is under review by subject matter expert.",
    "parent_class": "stage",
    "parent_concept": "underreview",
    "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking",
    "value": "pending review"
    }
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/spec/data/project_bundle.html b/pr-preview/pr-5/docs/spec/data/project_bundle.html new file mode 100644 index 0000000..dc55884 --- /dev/null +++ b/pr-preview/pr-5/docs/spec/data/project_bundle.html @@ -0,0 +1,12 @@ +Project Bundle | Permitting Interoperability Exchange Specification

    Project Bundle

    A set of one or more permits related to an activity.

    +

    A project is defined by an activity with one or more permits. Grouping of a primary authorization with secondary or associated authorizations that are triggered or required by the primary authorization. For example: major mine permit (primary) and associated auxiliary (secondary) permits such as License to Cut, Water Use, and or Road Use.

    +

    Scope

    +

    This data type is intended to represent a grouping of related permits that are related to a specific activity.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    project_id1..1uuidA unique key to track all permits related to a project or activity across all permitting systems.
    project_name1..1stringShort name of the project.
    project_description0..1stringFull description of the project. This may contain information to better understand a project.
    +

    Specification

    +
    Loading ....
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/spec/formatting.html b/pr-preview/pr-5/docs/spec/formatting.html new file mode 100644 index 0000000..cc20893 --- /dev/null +++ b/pr-preview/pr-5/docs/spec/formatting.html @@ -0,0 +1,31 @@ +Formatting | Permitting Interoperability Exchange Specification

    Formatting

    Every data standard must have a core set of fundamental data types that content will be transmitted in. Since the +Permitting Interoperability Exchange Specification is built on top of the JSON Schema +standard, it will leverage the conventions specified in that standard, including +RFC 8259 which defines JSON. The PIES specification will be compliant +to the draft 07 specification of the JSON Schema standard. While there exists more recent draft versions, notably the +draft 2020-12 standard, features that were introduced after draft 07 will not be defined and used at this time in +order to maximize compatibility with implementor systems.

    +

    JSON Schema Primer

    +

    A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way +to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for +describing expected structures, describing conceptual relationships between related topics and domains

    +

    A JSON Schema will typically contain the following attributes:

    +
      +
    • $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.
    • +
    • $id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.
    • +
    • $comment - A free text field for conveying out of band information about the schema. Comments are useful for +specification readers and editors to understand further nuances for certain properties and structures, but should not +be relied upon for implementation as they may be skipped over or stripped when parsed by machines.
    • +
    • title - The intent of the schema. This should be brief and concise.
    • +
    • description - A brief description about the schema. This should provide a quick overview for the context of usage.
    • +
    • properties - A set of attributes that are expected to show up in this document type.
    • +
    • required - An array defining the set of properties that must be present for the document to be considered valid. +Anything defined that is not in this array is implied to be optional.
    • +
    • type - The type primitive constraint for the property.
    • +
    +

    References

    +
    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/spec/primitive_types.html b/pr-preview/pr-5/docs/spec/primitive_types.html new file mode 100644 index 0000000..1f3a6ab --- /dev/null +++ b/pr-preview/pr-5/docs/spec/primitive_types.html @@ -0,0 +1,143 @@ +Primitive Types | Permitting Interoperability Exchange Specification

    Primitive Types

    The JSON Schema specifies fundamental +data types +that can be used and defined within a schema.

    + +

    These types are consistent with what can be expected within the standardized JavaScript Object Notation (JSON) format +(RFC 8259). Most implementation languages support these constructs, but +may represent them with different names. We recommend referring to the +JSON schema data types documentation as a primary +source for standards representation guidance, followed by the government standards guidance and +ensuring that the content represent meets both.

    +

    String

    +

    Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as +specified in RFC 3629, which is an extension of the ISO 10646-1 +standard.

    +

    Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expression +pattern. In addition, there are common +built-in format types that a +string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation +for more detail on the available built-in format types.

    +

    Date and Time

    +

    Date and/or time formats shall be represented in +RFC 3339, section 5.6 format, also commonly known as +ISO 8601. Unless otherwise specified, date-time shall be +internally stored and represented in a format compatible with unix/epoch +time.

    +

    If the time is specified, such as when either the time or date-time formats are used, the time representations +shall be encoded in UTC time. Reference the +JSON Schema documentation for more +specific examples.

    +
    warning

    Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard.

    +

    Email

    +

    Email addresses with format email shall be represented in +RFC 5321, section 4.1.2 format. Emails may also be +conveyed in internationalized format idn-email which will be compliant to +RFC 6531. Reference the +JSON Schema documentation for more +details.

    +

    Hostname

    +

    Hostnames with format hostname shall be represented in +RFC 1123, section 2.1 format. Hostnames may also be conveyed +in internationalized format idn-hostname which will be compliant to +RFC 5890, section 2.3.2.3. Reference the +JSON Schema documentation for more +details.

    +

    IP Address

    +

    IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply with +RFC 2673, section 3.2. If IPv6 is used, it shall comply +with RFC 2373, section 2.2. Reference the +JSON Schema documentation for more +details.

    +

    Resource Identifier

    +

    Universal resource identifiers will use format uri and comply with +RFC 3986. There are other less commonly used formats described in the +JSON Schema documentation.

    +
    warning

    Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. +Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most +cases, uuid v4 will be used. When a uuid is used, it shall comply with +RFC 4122. The regular expression to be used when specifying uuids will +be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize +compatibility.

    info

    While there is RFC 9562 which extends RFC 4122 by adding in uuid +versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when +these newer uuid versions are used.

    +

    URI Template

    +

    URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters +that must be substituted in before the URI may be resolved. This should comply with +RFC 6570. Check the +JSON Schema documentation for +more details.

    +

    Regular Expression

    +

    Regular expressions with format regex should comply with the +ECMA 262 dialect. Check the +JSON Schema documentation for +more details.

    +

    Numeric

    +

    Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to +differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an +integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a number +type in lieu of the integer type for most scenarios that do not require integer level precision.

    +

    Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum, +exclusiveMinimum and exclusiveMaximum. Reference the +JSON Schema documentation for more specific +examples.

    +

    Object

    +

    Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a +key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and +structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required +and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition.

    +

    More specific details on what can be done can be found in the +JSON Schema documentation.

    +

    Array

    +

    Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, +array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to +provide a looser expectation of what kinds of elements are expected.

    +

    Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used +to describe the boundaries of the array. Reference the +JSON Schema documentation for more specific examples.

    +

    Boolean

    +

    Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other +values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first +prior to encoding. Reference the +JSON Schema documentation for more details.

    +

    Null

    +

    Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate +to the absence of a value, or undefined. Reference the +JSON Schema documentation for more details.

    +

    References

    +

    Government Standards

    + +

    Technical Standards

    + +

    Errata

    +
    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/spec/resource/process_event.html b/pr-preview/pr-5/docs/spec/resource/process_event.html new file mode 100644 index 0000000..1bbd6b7 --- /dev/null +++ b/pr-preview/pr-5/docs/spec/resource/process_event.html @@ -0,0 +1,12 @@ +Process Event | Permitting Interoperability Exchange Specification

    Process Event

    Represents a process concept at a specific moment in time.

    +

    Scope

    +

    This data type is intended to represent an instance of a temporal event within a defined process.

    +

    Loosely taking inspiration from HL7 Timing.

    +

    Structure

    +
    NameCardinalityTypeDescription & Constraints
    TBD1..1stringTBD
    +

    Specification

    +
    {
    "event": [
    {
    "start": "2017-01-01T00:00:00.000Z",
    "end": "2017-01-02T00:00:00.000Z"
    },
    {
    "start": "2017-01-03T00:00:00.000Z"
    }
    ],
    "process": {
    "class": "status",
    "description": "The authorization request is under review by subject matter expert.",
    "parent_class": "stage",
    "parent_concept": "underreview",
    "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking",
    "value": "pending review"
    }
    }
    +

    Implementation Notes

    +

    TBD

    +

    References

    +

    TBD

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/tags.html b/pr-preview/pr-5/docs/tags.html new file mode 100644 index 0000000..d9aa808 --- /dev/null +++ b/pr-preview/pr-5/docs/tags.html @@ -0,0 +1 @@ +Tags | Permitting Interoperability Exchange Specification
    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/tags/business.html b/pr-preview/pr-5/docs/tags/business.html new file mode 100644 index 0000000..5cc5228 --- /dev/null +++ b/pr-preview/pr-5/docs/tags/business.html @@ -0,0 +1 @@ +3 docs tagged with "Business" | Permitting Interoperability Exchange Specification

    3 docs tagged with "Business"

    Content related to business cases and rationale

    View all tags

    Terminology

    The definitions of specific technical terms and concepts used in PIES

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/tags/developer.html b/pr-preview/pr-5/docs/tags/developer.html new file mode 100644 index 0000000..191f169 --- /dev/null +++ b/pr-preview/pr-5/docs/tags/developer.html @@ -0,0 +1 @@ +10 docs tagged with "Developer" | Permitting Interoperability Exchange Specification

    10 docs tagged with "Developer"

    Content related to technical structure and implementation

    View all tags

    Event

    Represents an event concept.

    Formatting

    The syntax, encoding and file format used by PIES

    Process

    Represents a process concept.

    Process Event

    Represents a process concept at a specific moment in time.

    Terminology

    The definitions of specific technical terms and concepts used in PIES

    \ No newline at end of file diff --git a/pr-preview/pr-5/docs/tags/executive.html b/pr-preview/pr-5/docs/tags/executive.html new file mode 100644 index 0000000..db0c5ec --- /dev/null +++ b/pr-preview/pr-5/docs/tags/executive.html @@ -0,0 +1 @@ +One doc tagged with "Executive" | Permitting Interoperability Exchange Specification

    One doc tagged with "Executive"

    Content related to policies and strategic alignment

    View all tags
    \ No newline at end of file diff --git a/pr-preview/pr-5/editor.worker.js b/pr-preview/pr-5/editor.worker.js new file mode 100644 index 0000000..aaa3918 --- /dev/null +++ b/pr-preview/pr-5/editor.worker.js @@ -0,0 +1 @@ +(()=>{"use strict";let e,t,i,n,r,s,o;var a,l,u,h,d,c,g,m,f,p,b,_,v,y,C,L,w,N,E,S,R,A,x,M,k,O,T,I,P,D,K,F,q,V,B,U,W,H,z,$,j,G,Q,Y,X,J,Z,ee,et,ei,en,er,es,eo,ea,el,eu,eh,ed,ec,eg,em,ef,ep,eb,e_,ev,ey,eC,eL,ew,eN,eE,eS,eR,eA,ex,eM,ek,eO,eT,eI,eP,eD,eK,eF,eq,eV,eB,eU,eW,eH,ez,e$,ej,eG,eQ,eY,eX,eJ,eZ,e1,e0,e2,e4,e5,e7,e9,e6,e8,e3,te,tt,ti,tn,tr,ts,to,ta,tl={};tl.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();let tu=new class e{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(tm.isErrorNoTelemetry(e))throw new tm(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function th(e){!function(e){return e instanceof tg||e instanceof Error&&e.name===tc&&e.message===tc}(e)&&tu.onUnexpectedError(e)}function td(e){if(e instanceof Error){let{name:t,message:i}=e;return{$isError:!0,name:t,message:i,stack:e.stacktrace||e.stack,noTelemetry:tm.isErrorNoTelemetry(e)}}return e}let tc="Canceled";class tg extends Error{constructor(){super(tc),this.name=this.message}}class tm extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof tm)return e;let t=new tm;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class tf extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,tf.prototype)}}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let i=Object.freeze([]);function*n(e){yield e}e.empty=function(){return i},e.single=n;e.wrap=function(e){return t(e)?e:n(e)};e.from=function(e){return e||i};e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]};e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done};e.first=function(e){return e[Symbol.iterator]().next().value};e.some=function(e,t){for(let i of e)if(t(i))return!0;return!1};e.find=function(e,t){for(let i of e)if(t(i))return i};e.filter=function*(e,t){for(let i of e)t(i)&&(yield i)};e.map=function*(e,t){let i=0;for(let n of e)yield t(n,i++)};e.concat=function*(...e){for(let t of e)for(let e of t)yield e};e.reduce=function(e,t,i){let n=i;for(let i of e)n=t(n,i);return n};e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);tr}]}}(eg||(eg={}));let tp=null;function tb(e){return null==tp||tp.trackDisposable(e),e}function t_(e){null==tp||tp.markAsDisposed(e)}function tv(e,t){null==tp||tp.setParent(e,t)}function ty(e){if(eg.is(e)){let t=[];for(let i of e)if(i)try{i.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function tC(e){let t=tb({dispose:function(e){let t;let i=this,n=!1;return function(){return n?t:(n=!0,t=e.apply(i,arguments),t)}}(()=>{t_(t),e()})});return t}class tL{constructor(){this._toDispose=new Set,this._isDisposed=!1,tb(this)}dispose(){if(!this._isDisposed)t_(this),this._isDisposed=!0,this.clear()}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{ty(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return tv(e,this),this._isDisposed?!tL.DISABLE_DISPOSED_WARNING&&console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){if(!!e)this._toDispose.has(e)&&(this._toDispose.delete(e),tv(e,null))}}tL.DISABLE_DISPOSED_WARNING=!1;class tw{constructor(){this._store=new tL,tb(this),tv(this._store,this)}dispose(){t_(this),this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}tw.None=Object.freeze({dispose(){}}),Symbol.iterator;class tN{constructor(e){this.element=e,this.next=tN.Undefined,this.prev=tN.Undefined}}tN.Undefined=new tN(void 0);class tE{constructor(){this._first=tN.Undefined,this._last=tN.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===tN.Undefined}clear(){let e=this._first;for(;e!==tN.Undefined;){let t=e.next;e.prev=tN.Undefined,e.next=tN.Undefined,e=t}this._first=tN.Undefined,this._last=tN.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let i=new tN(e);if(this._first===tN.Undefined)this._first=i,this._last=i;else if(t){let e=this._last;this._last=i,i.prev=e,e.next=i}else{let e=this._first;this._first=i,i.next=e,e.prev=i}this._size+=1;let n=!1;return()=>{!n&&(n=!0,this._remove(i))}}shift(){if(this._first!==tN.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==tN.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==tN.Undefined&&e.next!==tN.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===tN.Undefined&&e.next===tN.Undefined?(this._first=tN.Undefined,this._last=tN.Undefined):e.next===tN.Undefined?(this._last=this._last.prev,this._last.next=tN.Undefined):e.prev===tN.Undefined&&(this._first=this._first.next,this._first.prev=tN.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==tN.Undefined;)yield e.element,e=e.next}}let tS=globalThis.performance&&"function"==typeof globalThis.performance.now;class tR{static create(e){return new tR(e)}constructor(e){this._now=tS&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}!function(e){function t(e){}e.None=()=>tw.None;function i(e){return(t,i=null,n)=>{let r,s=!1;return r=e(e=>s?void 0:(r?r.dispose():s=!0,t.call(i,e)),null,n),s&&r.dispose(),r}}function n(e,t,i){return s((i,n=null,r)=>e(e=>i.call(n,t(e)),null,r),i)}e.defer=function(e,t){return o(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=i,e.map=n;function r(e,t,i){return s((i,n=null,r)=>e(e=>t(e)&&i.call(n,e),null,r),i)}e.forEach=function(e,t,i){return s((i,n=null,r)=>e(e=>{t(e),i.call(n,e)},null,r),i)},e.filter=r;e.signal=function(e){return e};e.any=function(...e){return(t,i=null,n)=>(function(e,t){return t instanceof Array?t.push(e):t&&t.add(e),e})(function(...e){let t=tC(()=>ty(e));return!function(e,t){if(!!tp)for(let i of e)tp.setParent(i,t)}(e,t),t}(...e.map(e=>e(e=>t.call(i,e)))),n)};function s(e,i){let n;let r={onWillAddFirstListener(){n=e(s.fire,s)},onDidRemoveLastListener(){null==n||n.dispose()}};!i&&t(r);let s=new tT(r);return null==i||i.add(s),s.event}e.reduce=function(e,t,i,r){let s=i;return n(e,e=>s=t(s,e),r)};function o(e,i,n=100,r=!1,s=!1,a,l){let u,h,d,c;let g=0,m={leakWarningThreshold:a,onWillAddFirstListener(){u=e(e=>{g++,d=i(d,e),r&&!c&&(f.fire(d),d=void 0),h=()=>{let e=d;d=void 0,c=void 0,(!r||g>1)&&f.fire(e),g=0},"number"==typeof n?(clearTimeout(c),c=setTimeout(h,n)):void 0===c&&(c=0,queueMicrotask(h))})},onWillRemoveListener(){s&&g>0&&(null==h||h())},onDidRemoveLastListener(){h=void 0,u.dispose()}};!l&&t(m);let f=new tT(m);return null==l||l.add(f),f.event}e.debounce=o;e.accumulate=function(t,i=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],i,void 0,!0,void 0,n)};e.latch=function(e,t=(e,t)=>e===t,i){let n,s=!0;return r(e,e=>{let i=s||!t(e,n);return s=!1,n=e,i},i)};e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]};e.buffer=function(e,t=!1,i=[],n){let r=i.slice(),s=e(e=>{r?r.push(e):a.fire(e)});n&&n.add(s);let o=()=>{null==r||r.forEach(e=>a.fire(e)),r=null},a=new tT({onWillAddFirstListener(){!s&&(s=e(e=>a.fire(e)),n&&n.add(s))},onDidAddFirstListener(){r&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return n&&n.add(a),a.event};e.chain=function(e,t){return(i,n,r)=>{let s=t(new l);return e(function(e){let t=s.evaluate(e);t!==a&&i.call(n,t)},void 0,r)}};let a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:a),this}reduce(e,t){let i=t;return this.steps.push(t=>i=e(i,t)),this}latch(e=(e,t)=>e===t){let t,i=!0;return this.steps.push(n=>{let r=i||!e(n,t);return i=!1,t=n,r?n:a}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new tT({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return r.event};e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new tT({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return r.event};e.toPromise=function(e){return new Promise(t=>i(e)(t))};e.fromPromise=function(e){let t=new tT;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event};e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))};e.runAndSubscribeWithStore=function(e,t){let i=null;function n(e){null==i||i.dispose(),t(e,i=new tL)}n(void 0);let r=e(e=>n(e));return tC(()=>{r.dispose(),null==i||i.dispose()})};class u{constructor(e,i){this._observable=e,this._counter=0,this._hasChanged=!1;let n={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};!i&&t(n),this.emitter=new tT(n),i&&i.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new u(e,t).emitter.event};e.fromObservableLight=function(e){return t=>{let i=0,n=!1,r={beginUpdate(){i++},endUpdate(){0==--i&&(e.reportChanges(),n&&(n=!1,t()))},handlePossibleChange(){},handleChange(){n=!0}};return e.addObserver(r),e.reportChanges(),{dispose(){e.removeObserver(r)}}}}}(em||(em={}));class tA{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${tA._idPool++}`,tA.all.add(this)}start(e){this._stopWatch=new tR,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}tA.all=new Set,tA._idPool=0;class tx{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let i=this.threshold;if(i<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class tM{static create(){var e;return new tM(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class tk{constructor(e){this.value=e}}let tO=(e,t)=>{if(e instanceof tk)t(e);else for(let i=0;i{var n,r,s,o,a;let l,u;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),tw.None;if(this._disposed)return tw.None;t&&(e=e.bind(t));let h=new tk(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(h.stack=tM.create(),l=this._leakageMon.check(h.stack,this._size+1)),this._listeners?this._listeners instanceof tk?(null!==(a=this._deliveryQueue)&&void 0!==a||(this._deliveryQueue=new tI),this._listeners=[this._listeners,h]):this._listeners.push(h):(null===(r=null===(n=this._options)||void 0===n?void 0:n.onWillAddFirstListener)||void 0===r||r.call(n,this),this._listeners=h,null===(o=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===o||o.call(s,this)),this._size++;let d=tC(()=>{null==l||l(),this._removeListener(h)});return i instanceof tL?i.add(d):Array.isArray(i)&&i.push(d),d}),this._event}_removeListener(e){var t,i,n,r;if(null===(i=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===i||i.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(r=null===(n=this._options)||void 0===n?void 0:n.onDidRemoveLastListener)||void 0===r||r.call(n,this),this._size=0;return}let s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;let a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}class tI{constructor(){this.i=-1,this.end=0}enqueue(e,t,i){this.i=0,this.end=i,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}Object.prototype.hasOwnProperty;function tP(e){let t=[];for(let i of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[i]&&t.push(i);return t}let tD="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function tK(e,t,...i){var n,r;let s;return n=t,s=0===(r=i).length?n:n.replace(/\{(\d+)\}/g,(e,t)=>{let i=r[t[0]],n=e;return"string"==typeof i?n=i:("number"==typeof i||"boolean"==typeof i||null==i)&&(n=String(i)),n}),tD&&(s="\uFF3B"+s.replace(/[aouei]/g,"$&$&")+"\uFF3D"),s}let tF=!1,tq=!1,tV=!1,tB=!1,tU=!1,tW=!1,tH=!1,tz=!1;let t$="en";let tj="object"==typeof self?self:"object"==typeof tl.g?tl.g:{};void 0!==tj.vscode&&void 0!==tj.vscode.process?r=tj.vscode.process:"undefined"!=typeof process&&(r=process);let tG="string"==typeof(null===(ef=null==r?void 0:r.versions)||void 0===ef?void 0:ef.electron)&&(null==r?void 0:r.type)==="renderer";if("object"!=typeof navigator||tG){if("object"==typeof r){tF="win32"===r.platform,tq="darwin"===r.platform,!(tV="linux"===r.platform)||!r.env.SNAP||r.env.SNAP_REVISION,!r.env.CI&&r.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=r.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),i=t.availableLanguages["*"];t.locale,t.osLocale;t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else{;tF=(n=navigator.userAgent).indexOf("Windows")>=0,tq=n.indexOf("Macintosh")>=0,(n.indexOf("Macintosh")>=0||n.indexOf("iPad")>=0||n.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,tV=n.indexOf("Linux")>=0,null==n||n.indexOf("Mobi"),tU=!0;let e=void(m=tK({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));navigator.language}tq||tF;let tQ=tF,tY=tq;tU&&tj.importScripts;let tX=n,tJ="function"==typeof tj.postMessage&&!tj.importScripts;(()=>{if(tJ){let e=[];tj.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{let n=++t;e.push({id:n,callback:i}),tj.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})();let tZ=!!(tX&&tX.indexOf("Chrome")>=0);tX&&tX.indexOf("Firefox"),!tZ&&tX&&tX.indexOf("Safari"),tX&&tX.indexOf("Edg/"),tX&&tX.indexOf("Android");class t1{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function t0(e){return e>=65&&e<=90}function t2(e){return 55296<=e&&e<=56319}function t4(e){return 56320<=e&&e<=57343}function t5(e,t){return(e-55296<<10)+(t-56320)+65536}let t7=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class t9{static getInstance(){return!t9._INSTANCE&&(t9._INSTANCE=new t9),t9._INSTANCE}constructor(){this._data=function(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}()}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,i=t.length/3,n=1;for(;n<=i;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}t9._INSTANCE=null;class t6{static getInstance(e){return ep.cache.get(Array.from(e))}static getLocales(){return ep._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}ep=t6,t6.ambiguousCharacterData=new t1(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),t6.cache=new class e{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function i(e){let t=new Map;for(let i=0;i!e.startsWith("_")&&e in n);0===r.length&&(r=["_default"]);for(let e of r)t=function(e,t){if(!e)return t;let i=new Map;for(let[n,r]of e)t.has(n)&&i.set(n,r);return i}(t,i(n[e]));let s=function(e,t){let i=new Map(e);for(let[e,n]of t)i.set(e,n);return i}(i(n._common),t);return new ep(s)}),t6._locales=new t1(()=>Object.keys(ep.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class t8{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return!this._data&&(this._data=new Set(t8.getRawData())),this._data}static isInvisibleCharacter(e){return t8.getData().has(e)}static get codePoints(){return t8.getData()}}t8._data=void 0;class t3{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.method=i,this.args=n,this.type=0}}class ie{constructor(e,t,i,n){this.vsWorker=e,this.seq=t,this.res=i,this.err=n,this.type=1}}class it{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.eventName=i,this.arg=n,this.type=2}}class ii{constructor(e,t,i){this.vsWorker=e,this.req=t,this.event=i,this.type=3}}class ir{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class is{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,r)=>{this._pendingReplies[i]={resolve:n,reject:r},this._send(new t3(this._workerId,i,e,t))})}listen(e,t){let i=null,n=new tT({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,n),this._send(new it(this._workerId,i,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new ir(this._workerId,i)),i=null}});return n.event}handleMessage(e){if(!!e&&!!e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId))this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;e.err.$isError&&((i=Error()).name=e.err.name,i.message=e.err.message,i.stack=e.err.stack),t.reject(i);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send(new ie(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=td(e.detail)),this._send(new ie(this._workerId,t,void 0,td(e)))})}_handleSubscribeEventMessage(e){let t=e.req,i=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new ii(this._workerId,t,e))});this._pendingEvents.set(t,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let i=0;i{e(t,i)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(ia(e)){let i=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof i)throw Error(`Missing dynamic event ${e} on request handler.`);return i}if(io(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,i,n){this._protocol.setWorkerId(e);let r=function(e,t,i){let n=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},r=e=>function(t){return i(e,t)},s={};for(let t of e){if(ia(t)){s[t]=r(t);continue}if(io(t)){s[t]=i(t,void 0);continue}s[t]=n(t)}return s}(n,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(tP(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{(0,globalThis.require)([i],i=>{if(this._requestHandler=i.create(r),!this._requestHandler){t(Error("No RequestHandler!"));return}e(tP(this._requestHandler))},t)}))}}class iu{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function ih(e,t){return(t<<5)-t+e|0}function id(e,t,i=32){let n=i-t;return(e<>>n)>>>0}function ic(e,t=0,i=e.byteLength,n=0){for(let r=0;re.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class im{constructor(){this._h0=0x67452301,this._h1=0xefcdab89,this._h2=0x98badcfe,this._h3=0x10325476,this._h4=0xc3d2e1f0,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,i;let n=e.length;if(0===n)return;let r=this._buff,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,i=-1,o=0):(t=e.charCodeAt(0),i=0);;){let a=t;if(t2(t)){if(i+1>>6:(i<65536?e[t++]=224|(61440&i)>>>12:(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12),e[t++]=128|(4032&i)>>>6),e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return!this._finished&&(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),ig(this._h0)+ig(this._h1)+ig(this._h2)+ig(this._h3)+ig(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,ic(this._buff,this._buffLen),this._buffLen>56&&(this._step(),ic(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/0x100000000),!1),this._buffDV.setUint32(60,e%0x100000000,!1),this._step()}_step(){let e,t,i;let n=im._bigBlock32,r=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,r.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,id(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let r=0;r<80;r++)r<20?(e=o&a|~o&l,t=0x5a827999):r<40?(e=o^a^l,t=0x6ed9eba1):r<60?(e=o&a|o&l|a&l,t=0x8f1bbcdc):(e=o^a^l,t=0xca62c1d6),i=id(s,5)+e+u+t+n.getUint32(4*r,!1)&0xffffffff,u=l,l=a,a=id(o,30),o=s,s=i;this._h0=this._h0+s&0xffffffff,this._h1=this._h1+o&0xffffffff,this._h2=this._h2+a&0xffffffff,this._h3=this._h3+l&0xffffffff,this._h4=this._h4+u&0xffffffff}}im._bigBlock32=new DataView(new ArrayBuffer(320));class ip{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new iu(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=0x40000000,this.m_modifiedStart=0x40000000}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class iy{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;let[n,r,s]=iy._getElements(e),[o,a,l]=iy._getElements(t);this._hasStrings=s&&l,this._originalStringElements=n,this._originalElementsOrHash=r,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(iy._isStringArray(t)){let e=new Int32Array(t.length);for(let i=0,n=t.length;i=e&&n>=i&&this.ElementsAreEqual(t,n);)t--,n--;if(e>t||i>n){let r;return i<=n?(ib.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new iu(e,0,i,n-i+1)]):e<=t?(ib.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),r=[new iu(e,t-e+1,i,0)]):(ib.Assert(e===t+1,"originalStart should only be one more than originalEnd"),ib.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}let s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,i,n,s,o,r),l=s[0],u=o[0];if(null!==a)return a;if(!r[0]){let s=this.ComputeDiffRecursive(e,l,i,u,r),o=[];return o=r[0]?[new iu(l+1,t-(l+1)+1,u+1,n-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,n,r),this.ConcatenateChanges(s,o)}return[new iu(e,t-e+1,i,n-i+1)]}WALKTRACE(e,t,i,n,r,s,o,a,l,u,h,d,c,g,m,f,p,b){let _=null,v=null,y=new iv,C=t,L=i,w=c[0]-f[0]-n,N=-0x40000000,E=this.m_forwardHistory.length-1;do{let t=w+e;t===C||t=0&&(e=(l=this.m_forwardHistory[E])[0],C=1,L=l.length-1)}while(--E>=-1);if(_=y.getReverseChanges(),b[0]){let e=c[0]+1,t=f[0]+1;if(null!==_&&_.length>0){let i=_[_.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}v=[new iu(e,d-e+1,t,m-t+1)]}else{y=new iv,C=s,L=o,w=c[0]-f[0]-a,N=0x40000000,E=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+r;e===C||e=u[e+1]?(g=(h=u[e+1]-1)-w-a,h>N&&y.MarkNextChange(),N=h+1,y.AddOriginalElement(h+1,g+1),w=e+1-r):(g=(h=u[e-1])-w-a,h>N&&y.MarkNextChange(),N=h,y.AddModifiedElement(h+1,g+1),w=e-1-r),E>=0&&(r=(u=this.m_reverseHistory[E])[0],C=1,L=u.length-1)}while(--E>=-1);v=y.getChanges()}return this.ConcatenateChanges(_,v)}ComputeRecursionPoint(e,t,i,n,r,s,o){let a=0,l=0,u=0,h=0,d=0,c=0;e--,i--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let g=t-e+(n-i),m=g+1,f=new Int32Array(m),p=new Int32Array(m),b=n-i,_=t-e,v=e-i,y=t-n,C=(_-b)%2==0;f[b]=e,p[_]=t,o[0]=!1;for(let L=1;L<=g/2+1;L++){let g=0,w=0;u=this.ClipDiagonalBound(b-L,L,b,m),h=this.ClipDiagonalBound(b+L,L,b,m);for(let e=u;e<=h;e+=2){l=(a=e===u||eg+w&&(g=a,w=l),!C&&Math.abs(e-_)<=L-1&&a>=p[e]){if(r[0]=a,s[0]=l,i<=p[e]&&L<=1448)return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,C,o);return null}}let N=(g-e+(w-i)-L)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,N)){if(o[0]=!0,r[0]=g,s[0]=w,!(N>0)||!(L<=1448))return e++,i++,[new iu(e,t-e+1,i,n-i+1)];break}d=this.ClipDiagonalBound(_-L,L,_,m),c=this.ClipDiagonalBound(_+L,L,_,m);for(let g=d;g<=c;g+=2){l=(a=g===d||g=p[g+1]?p[g+1]-1:p[g-1])-(g-_)-y;let m=a;for(;a>e&&l>i&&this.ElementsAreEqual(a,l);)a--,l--;if(p[g]=a,C&&Math.abs(g-b)<=L&&a<=f[g]){if(r[0]=a,s[0]=l,m>=f[g]&&L<=1448)return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,C,o);return null}}if(L<=1447){let e=new Int32Array(h-u+2);e[0]=b-u+1,i_.Copy2(f,u,e,1,h-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(c-d+2))[0]=_-d+1,i_.Copy2(p,d,e,1,c-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,C,o)}PrettifyChanges(e){for(let t=0;t0,o=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;t--){let i=e[t],n=0,r=0;if(t>0){let i=e[t-1];n=i.originalStart+i.originalLength,r=i.modifiedStart+i.modifiedLength}let s=i.originalLength>0,o=i.modifiedLength>0,a=0,l=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){let t=i.originalStart-e,u=i.modifiedStart-e;if(tl&&(l=h,a=e)}i.originalStart-=a,i.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t0&&i>a&&(a=i,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let r=0;r=this._originalElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return!!(e<=0)||!!(e>=this._modifiedElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){let r=this._OriginalRegionIsBoundary(e,t)?1:0;return r+(this._ModifiedRegionIsBoundary(i,n)?1:0)}ConcatenateChanges(e,t){let i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){let n=Array(e.length+t.length-1);return i_.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],i_.Copy(t,1,n,e.length,t.length-1),n}{let i=Array(e.length+t.length);return i_.Copy(e,0,i,0,e.length),i_.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,i){if(ib.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),ib.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return i[0]=null,!1;{let n=e.originalStart,r=e.originalLength,s=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new iu(n,r,s,o),!0}}ClipDiagonalBound(e,t,i,n){if(e>=0&&et.cwd()}}else"undefined"!=typeof process?e={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:e={get platform(){return tQ?"win32":tY?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let iC=e.cwd,iL=e.env,iw=e.platform;class iN extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let r=-1!==e.indexOf(".")?"property":"argument",s=`The "${e}" ${r} ${n} of type ${t}`;super(s+=`. Received type ${typeof i}`),this.code="ERR_INVALID_ARG_TYPE"}}function iE(e,t){if("string"!=typeof e)throw new iN(t,"string",e)}let iS="win32"===iw;function iR(e){return 47===e||92===e}function iA(e){return 47===e}function ix(e){return e>=65&&e<=90||e>=97&&e<=122}function iM(e,t,i,n){let r="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=r.lastIndexOf(i);-1===e?(r="",s=0):s=(r=r.slice(0,e)).length-1-r.lastIndexOf(i),o=u,a=0;continue}if(0!==r.length){r="",s=0,o=u,a=0;continue}}t&&(r+=r.length>0?`${i}..`:"..",s=2)}else r.length>0?r+=`${i}${e.slice(o+1,u)}`:r=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return r}function ik(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new iN(t,"Object",e)}(t,"pathObject");let i=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${n}`:`${i}${e}${n}`:n}let iO={resolve(...e){let t="",i="",n=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(iE(s=e[r],"path"),0===s.length)continue}else 0===t.length?s=iC():(void 0===(s=iL[`=${t}`]||iC())||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===s.charCodeAt(2))&&(s=`${t}\\`);let o=s.length,a=0,l="",u=!1,h=s.charCodeAt(0);if(1===o)iR(h)&&(a=1,u=!0);else if(iR(h)){if(u=!0,iR(s.charCodeAt(1))){let e=2,t=2;for(;e2&&iR(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(n){if(t.length>0)break}else if(i=`${s.slice(a)}\\${i}`,n=u,u&&t.length>0)break}return i=iM(i,!n,"\\",iR),n?`${t}\\${i}`:`${t}${i}`||"."},normalize(e){let t;iE(e,"path");let i=e.length;if(0===i)return".";let n=0,r=!1,s=e.charCodeAt(0);if(1===i)return iA(s)?"\\":e;if(iR(s)){if(r=!0,iR(e.charCodeAt(1))){let r=2,s=2;for(;r2&&iR(e.charCodeAt(2))&&(r=!0,n=3));let o=n0&&iR(e.charCodeAt(i-1))&&(o+="\\"),void 0===t)?r?`\\${o}`:o:r?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){iE(e,"path");let t=e.length;if(0===t)return!1;let i=e.charCodeAt(0);return iR(i)||t>2&&ix(i)&&58===e.charCodeAt(1)&&iR(e.charCodeAt(2))},join(...e){let t,i;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i=r:t+=`\\${r}`)}if(void 0===t)return".";let n=!0,r=0;if("string"==typeof i&&iR(i.charCodeAt(0))){++r;let e=i.length;e>1&&iR(i.charCodeAt(1))&&(++r,e>2&&(iR(i.charCodeAt(2))?++r:n=!1))}if(n){for(;r=2&&(t=`\\${t.slice(r)}`)}return iO.normalize(t)},relative(e,t){if(iE(e,"from"),iE(t,"to"),e===t)return"";let i=iO.resolve(e),n=iO.resolve(t);if(i===n)return"";if(e=i.toLowerCase(),t=n.toLowerCase(),e===t)return"";let r=0;for(;rr&&92===e.charCodeAt(s-1);)s--;let o=s-r,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,h=oh){if(92===t.charCodeAt(a+c))return n.slice(a+c+1);if(2===c)return n.slice(a+c)}o>h&&(92===e.charCodeAt(r+c)?d=c:2===c&&(d=3)),-1===d&&(d=0)}let g="";for(c=r+d+1;c<=s;++c)(c===s||92===e.charCodeAt(c))&&(g+=0===g.length?"..":"\\..");return(a+=d,g.length>0)?`${g}${n.slice(a,l)}`:(92===n.charCodeAt(a)&&++a,n.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=iO.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(ix(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){iE(e,"path");let t=e.length;if(0===t)return".";let i=-1,n=0,r=e.charCodeAt(0);if(1===t)return iR(r)?e:".";if(iR(r)){if(i=n=1,iR(e.charCodeAt(1))){let r=2,s=2;for(;r2&&iR(e.charCodeAt(2))?3:2);let s=-1,o=!0;for(let i=t-1;i>=n;--i)if(iR(e.charCodeAt(i))){if(!o){s=i;break}}else o=!1;if(-1===s){if(-1===i)return".";s=i}return e.slice(0,s)},basename(e,t){let i;void 0!==t&&iE(t,"ext"),iE(e,"path");let n=0,r=-1,s=!0;if(e.length>=2&&ix(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=n;--i){let l=e.charCodeAt(i);if(iR(l)){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=i):(o=-1,r=a))}return n===r?r=a:-1===r&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=n;--i)if(iR(e.charCodeAt(i))){if(!s){n=i+1;break}}else -1===r&&(s=!1,r=i+1);return -1===r?"":e.slice(n,r)},extname(e){iE(e,"path");let t=0,i=-1,n=0,r=-1,s=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&ix(e.charCodeAt(0))&&(t=n=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(iR(t)){if(!s){n=a+1;break}continue}-1===r&&(s=!1,r=a+1),46===t?-1===i?i=a:1!==o&&(o=1):-1!==i&&(o=-1)}return -1===i||-1===r||0===o||1===o&&i===r-1&&i===n+1?"":e.slice(i,r)},format:ik.bind(null,"\\"),parse(e){iE(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let i=e.length,n=0,r=e.charCodeAt(0);if(1===i)return iR(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(iR(r)){if(n=1,iR(e.charCodeAt(1))){let t=2,r=2;for(;t0&&(t.root=e.slice(0,n));let s=-1,o=n,a=-1,l=!0,u=e.length-1,h=0;for(;u>=n;--u){if(iR(r=e.charCodeAt(u))){if(!l){o=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===r?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1)}return -1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),o>0&&o!==n?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},iT=(()=>{if(iS){let e=/\\/g;return()=>{let t=iC().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>iC()})(),iI={resolve(...e){let t="",i=!1;for(let n=e.length-1;n>=-1&&!i;n--){let r=n>=0?e[n]:iT();if(iE(r,"path"),0!==r.length)t=`${r}/${t}`,i=47===r.charCodeAt(0)}return(t=iM(t,!i,"/",iA),i)?`/${t}`:t.length>0?t:"."},normalize(e){if(iE(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);if(0===(e=iM(e,!t,"/",iA)).length)return t?"/":i?"./":".";return i&&(e+="/"),t?`/${e}`:e},isAbsolute:e=>(iE(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":iI.normalize(t)},relative(e,t){if(iE(e,"from"),iE(t,"to"),e===t)return"";if(e=iI.resolve(e),t=iI.resolve(t),e===t)return"";let i=e.length,n=i-1,r=t.length-1,s=ns){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else n>s&&(47===e.charCodeAt(1+a)?o=a:0===a&&(o=0))}let l="";for(a=1+o+1;a<=i;++a)(a===i||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(iE(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){i=t;break}}else n=!1;return -1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){let i;void 0!==t&&iE(t,"ext"),iE(e,"path");let n=0,r=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){let l=e.charCodeAt(i);if(47===l){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=i):(o=-1,r=a))}return n===r?r=a:-1===r&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){n=i+1;break}}else -1===r&&(s=!1,r=i+1);return -1===r?"":e.slice(n,r)},extname(e){iE(e,"path");let t=-1,i=0,n=-1,r=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!r){i=o+1;break}continue}-1===n&&(r=!1,n=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===n||0===s||1===s&&t===n-1&&t===i+1?"":e.slice(t,n)},format:ik.bind(null,"/"),parse(e){let t;iE(e,"path");let i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;let n=47===e.charCodeAt(0);n?(i.root="/",t=1):t=0;let r=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){s=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===t?-1===r?r=l:1!==u&&(u=1):-1!==r&&(u=-1)}if(-1!==o){let t=0===s&&n?1:s;-1===r||0===u||1===u&&r===o-1&&r===s+1?i.base=i.name=e.slice(t,o):(i.name=e.slice(t,r),i.base=e.slice(t,o),i.ext=e.slice(r,o))}return s>0?i.dir=e.slice(0,s-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};iI.win32=iO.win32=iO,iI.posix=iO.posix=iI,iS?iO.normalize:iI.normalize,iS?iO.resolve:iI.resolve,iS?iO.relative:iI.relative,iS?iO.dirname:iI.dirname,iS?iO.basename:iI.basename,iS?iO.extname:iI.extname,iS?iO.sep:iI.sep;let iP=/^\w[\w\d+.-]*$/,iD=/^\//,iK=/^\/\//,iF="/",iq=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class iV{static isUri(e){return e instanceof iV||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,i,n,r,s=!1){if("object"==typeof e)this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||"";else{var o,a;this.scheme=(o=e,a=s,o||a?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==iF&&(t=iF+t):t=iF}return t}(this.scheme,i||""),this.query=n||"",this.fragment=r||"",!function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!iP.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!iD.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(iK.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,s)}}get fsPath(){return i$(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:r,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===r?r=this.query:null===r&&(r=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&i===this.authority&&n===this.path&&r===this.query&&s===this.fragment)?this:new iU(t,i,n,r,s)}static parse(e,t=!1){let i=iq.exec(e);return i?new iU(i[2]||"",iQ(i[4]||""),iQ(i[5]||""),iQ(i[7]||""),iQ(i[9]||""),t):new iU("","","","","")}static file(e){let t="";if(tQ&&(e=e.replace(/\\/g,iF)),e[0]===iF&&e[1]===iF){let i=e.indexOf(iF,2);-1===i?(t=e.substring(2),e=iF):(t=e.substring(2,i),e=e.substring(i)||iF)}return new iU("file",t,e,"","")}static from(e,t){return new iU(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){let i;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return i=tQ&&"file"===e.scheme?iV.file(iO.join(i$(e,!0),...t)).path:iI.join(e.path,...t),e.with({path:i})}toString(e=!1){return ij(this,e)}toJSON(){return this}static revive(e){var t,i;if(!e)return e;if(e instanceof iV)return e;{let n=new iU(e);return n._formatted=null!==(t=e.external)&&void 0!==t?t:null,n._fsPath=e._sep===iB&&null!==(i=e.fsPath)&&void 0!==i?i:null,n}}}let iB=tQ?1:void 0;class iU extends iV{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return!this._fsPath&&(this._fsPath=i$(this,!1)),this._fsPath}toString(e=!1){return e?ij(this,!0):(!this._formatted&&(this._formatted=ij(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=iB),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let iW={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function iH(e,t,i){let n;let r=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||i&&91===o||i&&93===o||i&&58===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,s)),r=-1),void 0!==n&&(n+=e.charAt(s));else{void 0===n&&(n=e.substr(0,s));let t=iW[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,s)),r=-1),n+=t):-1===r&&(r=s)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function iz(e){let t;for(let i=0;i1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,tQ&&(i=i.replace(/\//g,"\\")),i}function ij(e,t){let i=t?iz:iH,n="",{scheme:r,authority:s,path:o,query:a,fragment:l}=e;if(r&&(n+=r,n+=":"),(s||"file"===r)&&(n+=iF,n+=iF),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=i(t,!1,!1):(n+=i(t.substr(0,e),!1,!1),n+=":",n+=i(t.substr(e+1),!1,!0)),n+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?n+=i(s,!1,!0):(n+=i(s.substr(0,e),!1,!0),n+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}n+=i(o,!0,!1)}return a&&(n+="?",n+=i(a,!1,!1)),l&&(n+="#",n+=t?l:iH(l,!1,!1)),n}let iG=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function iQ(e){return e.match(iG)?e.replace(iG,e=>(function e(t){try{return decodeURIComponent(t)}catch(i){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class iY{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new iY(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return iY.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return iY.isBefore(this,e)}static isBefore(e,t){return!!(e.lineNumberi||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return iX.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return iX.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))&&!0}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))&&!0}containsRange(e){return iX.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))&&!0}strictContainsRange(e){return iX.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))&&!0}plusRange(e){return iX.plusRange(this,e)}static plusRange(e,t){let i,n,r,s;return t.startLineNumbere.endLineNumber?(r=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,s=e.endColumn),new iX(i,n,r,s)}intersectRanges(e){return iX.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,r=e.endLineNumber,s=e.endColumn,o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(il?(r=l,s=u):r===l&&(s=Math.min(s,u)),i>r||i===r&&n>s)?null:new iX(i,n,r,s)}equalsRange(e){return iX.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return iX.getEndPosition(this)}static getEndPosition(e){return new iY(e.endLineNumber,e.endColumn)}getStartPosition(){return iX.getStartPosition(this)}static getStartPosition(e){return new iY(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new iX(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new iX(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return iX.collapseToStart(this)}static collapseToStart(e){return new iX(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return iX.collapseToEnd(this)}static collapseToEnd(e){return new iX(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new iX(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new iX(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new iX(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}function iJ(e,t){return(i,n)=>t(e(i),e(n))}(f=eb||(eb={})).isLessThan=function(e){return e<0},f.isLessThanOrEqual=function(e){return e<=0},f.isGreaterThan=function(e){return e>0},f.isNeitherLessOrGreaterThan=function(e){return 0===e},f.greaterThan=1,f.lessThan=-1,f.neitherLessOrGreaterThan=0;let iZ=(e,t)=>e-t;class i1{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new i1(t=>this.iterate(i=>!e(i)||t(i)))}map(e){return new i1(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t;let i=!0;return this.iterate(n=>((i||eb.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}function i0(e){return e<0?0:e>255?255:0|e}function i2(e){return e<0?0:e>0xffffffff?0xffffffff:0|e}i1.empty=new i1(e=>{});class i4{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=i2(e);let i=this.values,n=this.prefixSum,r=t.length;return 0!==r&&(this.values=new Uint32Array(i.length+r),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e),e+r),this.values.set(t,e),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=i2(e),t=i2(t),this.values[e]!==t&&(this.values[e]=t,e-1=i.length)return!1;let r=i.length-e;return t>=r&&(t=r),0!==t&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=i2(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,r=0,s=0;for(;t<=i;)if(n=t+(i-t)/2|0,s=(r=this.prefixSum[n])-this.values[n],e=r)t=n+1;else break;return new i5(n,e-s)}}class i5{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class i7{constructor(e,t,i,n){this._uri=e,this._lines=t,this._eol=i,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){for(let t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new iY(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,i=new Uint32Array(t);for(let n=0;n/?"){if(!(e.indexOf(i)>=0))t+="\\"+i}return RegExp(t+="\\s]+)","g")}(),i6=new tE;function i8(e,t,i,n,r){if(!r&&(r=eg.first(i6)),i.length>r.maxLen){let s=e-r.maxLen/2;return s<0?s=0:n+=s,i=i.substring(s,e+r.maxLen/2),i8(e,t,i,n,r)}let s=Date.now(),o=e-1-n,a=-1,l=null;for(let e=1;!(Date.now()-s>=r.timeBudget);e++){;let n=o-r.windowSize*e;t.lastIndex=Math.max(0,n);let s=function(e,t,i,n){let r;for(;r=e.exec(t);){let t=r.index||0;if(t<=i&&e.lastIndex>=i)return r;if(n>0&&t>n)break}return null}(t,i,o,a);if(!s&&l)break;if(l=s,n<=0)break;a=n}if(l){let e={word:l[0],startColumn:n+1+l.index,endColumn:n+1+l.index+l[0].length};return t.lastIndex=0,e}return null}i6.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class i3{constructor(e){let t=i0(e);this._defaultValue=t,this._asciiMap=i3._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let i=i0(t);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class ne{constructor(e,t,i){let n=new Uint8Array(e*t);for(let r=0,s=e*t;rt&&(t=s),r>i&&(i=r),o>i&&(i=o)}t++;let n=new ne(++i,t,0);for(let t=0,i=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let ni=null;function nn(){return null===ni&&(ni=new nt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),ni}let nr=null;class ns{static _createLink(e,t,i,n,r){let s=r-1;do{let i=t.charCodeAt(s);if(2!==e.get(i))break;s--}while(s>n);if(n>0){let e=t.charCodeAt(n-1),i=t.charCodeAt(s);(40===e&&41===i||91===e&&93===i||123===e&&125===i)&&s--}return{range:{startLineNumber:i,startColumn:n+1,endLineNumber:i,endColumn:s+2},url:t.substring(n,s+1)}}static computeLinks(e,t=nn()){let i=function(){if(null===nr){nr=new i3(0);let e=" <>'\"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026";for(let t=0;t=0?((n+=i?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}no.INSTANCE=new no;let na=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(p=e_||(e_={})).isCancellationToken=function(e){return e===p.None||e===p.Cancelled||e instanceof nl||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},p.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:em.None}),p.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:na});class nl{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?na:(!this._emitter&&(this._emitter=new tT),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class nu{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return!this._token&&(this._token=new nl),this._token}cancel(){this._token?this._token instanceof nl&&this._token.cancel():this._token=e_.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof nl&&this._token.dispose():this._token=e_.None}}class nh{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let nd=new nh,nc=new nh,ng=new nh,nm=Array(230),nf={},np=[],nb=Object.create(null),n_=Object.create(null),nv=[],ny=[];for(let e=0;e<=193;e++)nv[e]=-1;for(let e=0;e<=132;e++)ny[e]=-1;!function(){let e=[],t=[];for(let i of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,r,s,o,a,l,u,h,d]=i;if(!t[r]&&(t[r]=!0,np[r]=s,nb[s]=r,n_[s.toLowerCase()]=r,n&&(nv[r]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(ny[o]=r))),!e[o]){if(e[o]=!0,!a)throw Error(`String representation missing for key code ${o} around scan code ${s}`);nd.define(o,a),nc.define(o,h||a),ng.define(o,d||h||a)}l&&(nm[l]=o),u&&(nf[u]=o)}ny[3]=46}(),(b=ev||(ev={})).toString=function(e){return nd.keyCodeToStr(e)},b.fromString=function(e){return nd.strToKeyCode(e)},b.toUserSettingsUS=function(e){return nc.keyCodeToStr(e)},b.toUserSettingsGeneral=function(e){return ng.keyCodeToStr(e)},b.fromUserSettings=function(e){return nc.strToKeyCode(e)||ng.strToKeyCode(e)},b.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return nd.keyCodeToStr(e)};class nC extends iX{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return nC.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new nC(this.startLineNumber,this.startColumn,e,t):new nC(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new iY(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new iY(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new nC(e,t,this.endLineNumber,this.endColumn):new nC(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new nC(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new nC(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new nC(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new nC(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;i{if(this._tokenizationSupports.get(e)===t)this._tokenizationSupports.delete(e),this.handleChange([e])})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let n=new nS(this,e,t);return this._factories.set(e,n),tC(()=>{let t=this._factories.get(e);if(!!t&&t===n)this._factories.delete(e),t.dispose()})}getOrCreate(e){return nE(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(yield i.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved||!1}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},(L=eR||(eR={}))[L.Unknown=0]="Unknown",L[L.Disabled=1]="Disabled",L[L.Enabled=2]="Enabled",(w=eA||(eA={}))[w.Invoke=1]="Invoke",w[w.Auto=2]="Auto",(N=ex||(ex={}))[N.None=0]="None",N[N.KeepWhitespace=1]="KeepWhitespace",N[N.InsertAsSnippet=4]="InsertAsSnippet",(E=eM||(eM={}))[E.Method=0]="Method",E[E.Function=1]="Function",E[E.Constructor=2]="Constructor",E[E.Field=3]="Field",E[E.Variable=4]="Variable",E[E.Class=5]="Class",E[E.Struct=6]="Struct",E[E.Interface=7]="Interface",E[E.Module=8]="Module",E[E.Property=9]="Property",E[E.Event=10]="Event",E[E.Operator=11]="Operator",E[E.Unit=12]="Unit",E[E.Value=13]="Value",E[E.Constant=14]="Constant",E[E.Enum=15]="Enum",E[E.EnumMember=16]="EnumMember",E[E.Keyword=17]="Keyword",E[E.Text=18]="Text",E[E.Color=19]="Color",E[E.File=20]="File",E[E.Reference=21]="Reference",E[E.Customcolor=22]="Customcolor",E[E.Folder=23]="Folder",E[E.TypeParameter=24]="TypeParameter",E[E.User=25]="User",E[E.Issue=26]="Issue",E[E.Snippet=27]="Snippet",(S=ek||(ek={}))[S.Deprecated=1]="Deprecated",(R=eO||(eO={}))[R.Invoke=0]="Invoke",R[R.TriggerCharacter=1]="TriggerCharacter",R[R.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(A=eT||(eT={}))[A.EXACT=0]="EXACT",A[A.ABOVE=1]="ABOVE",A[A.BELOW=2]="BELOW",(x=eI||(eI={}))[x.NotSet=0]="NotSet",x[x.ContentFlush=1]="ContentFlush",x[x.RecoverFromMarkers=2]="RecoverFromMarkers",x[x.Explicit=3]="Explicit",x[x.Paste=4]="Paste",x[x.Undo=5]="Undo",x[x.Redo=6]="Redo",(M=eP||(eP={}))[M.LF=1]="LF",M[M.CRLF=2]="CRLF",(k=eD||(eD={}))[k.Text=0]="Text",k[k.Read=1]="Read",k[k.Write=2]="Write",(O=eK||(eK={}))[O.None=0]="None",O[O.Keep=1]="Keep",O[O.Brackets=2]="Brackets",O[O.Advanced=3]="Advanced",O[O.Full=4]="Full",(T=eF||(eF={}))[T.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",T[T.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",T[T.accessibilitySupport=2]="accessibilitySupport",T[T.accessibilityPageSize=3]="accessibilityPageSize",T[T.ariaLabel=4]="ariaLabel",T[T.ariaRequired=5]="ariaRequired",T[T.autoClosingBrackets=6]="autoClosingBrackets",T[T.autoClosingComments=7]="autoClosingComments",T[T.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",T[T.autoClosingDelete=9]="autoClosingDelete",T[T.autoClosingOvertype=10]="autoClosingOvertype",T[T.autoClosingQuotes=11]="autoClosingQuotes",T[T.autoIndent=12]="autoIndent",T[T.automaticLayout=13]="automaticLayout",T[T.autoSurround=14]="autoSurround",T[T.bracketPairColorization=15]="bracketPairColorization",T[T.guides=16]="guides",T[T.codeLens=17]="codeLens",T[T.codeLensFontFamily=18]="codeLensFontFamily",T[T.codeLensFontSize=19]="codeLensFontSize",T[T.colorDecorators=20]="colorDecorators",T[T.colorDecoratorsLimit=21]="colorDecoratorsLimit",T[T.columnSelection=22]="columnSelection",T[T.comments=23]="comments",T[T.contextmenu=24]="contextmenu",T[T.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",T[T.cursorBlinking=26]="cursorBlinking",T[T.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",T[T.cursorStyle=28]="cursorStyle",T[T.cursorSurroundingLines=29]="cursorSurroundingLines",T[T.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",T[T.cursorWidth=31]="cursorWidth",T[T.disableLayerHinting=32]="disableLayerHinting",T[T.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",T[T.domReadOnly=34]="domReadOnly",T[T.dragAndDrop=35]="dragAndDrop",T[T.dropIntoEditor=36]="dropIntoEditor",T[T.emptySelectionClipboard=37]="emptySelectionClipboard",T[T.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",T[T.extraEditorClassName=39]="extraEditorClassName",T[T.fastScrollSensitivity=40]="fastScrollSensitivity",T[T.find=41]="find",T[T.fixedOverflowWidgets=42]="fixedOverflowWidgets",T[T.folding=43]="folding",T[T.foldingStrategy=44]="foldingStrategy",T[T.foldingHighlight=45]="foldingHighlight",T[T.foldingImportsByDefault=46]="foldingImportsByDefault",T[T.foldingMaximumRegions=47]="foldingMaximumRegions",T[T.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",T[T.fontFamily=49]="fontFamily",T[T.fontInfo=50]="fontInfo",T[T.fontLigatures=51]="fontLigatures",T[T.fontSize=52]="fontSize",T[T.fontWeight=53]="fontWeight",T[T.fontVariations=54]="fontVariations",T[T.formatOnPaste=55]="formatOnPaste",T[T.formatOnType=56]="formatOnType",T[T.glyphMargin=57]="glyphMargin",T[T.gotoLocation=58]="gotoLocation",T[T.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",T[T.hover=60]="hover",T[T.inDiffEditor=61]="inDiffEditor",T[T.inlineSuggest=62]="inlineSuggest",T[T.letterSpacing=63]="letterSpacing",T[T.lightbulb=64]="lightbulb",T[T.lineDecorationsWidth=65]="lineDecorationsWidth",T[T.lineHeight=66]="lineHeight",T[T.lineNumbers=67]="lineNumbers",T[T.lineNumbersMinChars=68]="lineNumbersMinChars",T[T.linkedEditing=69]="linkedEditing",T[T.links=70]="links",T[T.matchBrackets=71]="matchBrackets",T[T.minimap=72]="minimap",T[T.mouseStyle=73]="mouseStyle",T[T.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",T[T.mouseWheelZoom=75]="mouseWheelZoom",T[T.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",T[T.multiCursorModifier=77]="multiCursorModifier",T[T.multiCursorPaste=78]="multiCursorPaste",T[T.multiCursorLimit=79]="multiCursorLimit",T[T.occurrencesHighlight=80]="occurrencesHighlight",T[T.overviewRulerBorder=81]="overviewRulerBorder",T[T.overviewRulerLanes=82]="overviewRulerLanes",T[T.padding=83]="padding",T[T.pasteAs=84]="pasteAs",T[T.parameterHints=85]="parameterHints",T[T.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",T[T.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",T[T.quickSuggestions=88]="quickSuggestions",T[T.quickSuggestionsDelay=89]="quickSuggestionsDelay",T[T.readOnly=90]="readOnly",T[T.readOnlyMessage=91]="readOnlyMessage",T[T.renameOnType=92]="renameOnType",T[T.renderControlCharacters=93]="renderControlCharacters",T[T.renderFinalNewline=94]="renderFinalNewline",T[T.renderLineHighlight=95]="renderLineHighlight",T[T.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",T[T.renderValidationDecorations=97]="renderValidationDecorations",T[T.renderWhitespace=98]="renderWhitespace",T[T.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",T[T.roundedSelection=100]="roundedSelection",T[T.rulers=101]="rulers",T[T.scrollbar=102]="scrollbar",T[T.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",T[T.scrollBeyondLastLine=104]="scrollBeyondLastLine",T[T.scrollPredominantAxis=105]="scrollPredominantAxis",T[T.selectionClipboard=106]="selectionClipboard",T[T.selectionHighlight=107]="selectionHighlight",T[T.selectOnLineNumbers=108]="selectOnLineNumbers",T[T.showFoldingControls=109]="showFoldingControls",T[T.showUnused=110]="showUnused",T[T.snippetSuggestions=111]="snippetSuggestions",T[T.smartSelect=112]="smartSelect",T[T.smoothScrolling=113]="smoothScrolling",T[T.stickyScroll=114]="stickyScroll",T[T.stickyTabStops=115]="stickyTabStops",T[T.stopRenderingLineAfter=116]="stopRenderingLineAfter",T[T.suggest=117]="suggest",T[T.suggestFontSize=118]="suggestFontSize",T[T.suggestLineHeight=119]="suggestLineHeight",T[T.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",T[T.suggestSelection=121]="suggestSelection",T[T.tabCompletion=122]="tabCompletion",T[T.tabIndex=123]="tabIndex",T[T.unicodeHighlighting=124]="unicodeHighlighting",T[T.unusualLineTerminators=125]="unusualLineTerminators",T[T.useShadowDOM=126]="useShadowDOM",T[T.useTabStops=127]="useTabStops",T[T.wordBreak=128]="wordBreak",T[T.wordSeparators=129]="wordSeparators",T[T.wordWrap=130]="wordWrap",T[T.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",T[T.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",T[T.wordWrapColumn=133]="wordWrapColumn",T[T.wordWrapOverride1=134]="wordWrapOverride1",T[T.wordWrapOverride2=135]="wordWrapOverride2",T[T.wrappingIndent=136]="wrappingIndent",T[T.wrappingStrategy=137]="wrappingStrategy",T[T.showDeprecated=138]="showDeprecated",T[T.inlayHints=139]="inlayHints",T[T.editorClassName=140]="editorClassName",T[T.pixelRatio=141]="pixelRatio",T[T.tabFocusMode=142]="tabFocusMode",T[T.layoutInfo=143]="layoutInfo",T[T.wrappingInfo=144]="wrappingInfo",T[T.defaultColorDecorators=145]="defaultColorDecorators",T[T.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",T[T.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose",(I=eq||(eq={}))[I.TextDefined=0]="TextDefined",I[I.LF=1]="LF",I[I.CRLF=2]="CRLF",(P=eV||(eV={}))[P.LF=0]="LF",P[P.CRLF=1]="CRLF",(D=eB||(eB={}))[D.Left=1]="Left",D[D.Right=2]="Right",(K=eU||(eU={}))[K.None=0]="None",K[K.Indent=1]="Indent",K[K.IndentOutdent=2]="IndentOutdent",K[K.Outdent=3]="Outdent",(F=eW||(eW={}))[F.Both=0]="Both",F[F.Right=1]="Right",F[F.Left=2]="Left",F[F.None=3]="None",(q=eH||(eH={}))[q.Type=1]="Type",q[q.Parameter=2]="Parameter",(V=ez||(ez={}))[V.Automatic=0]="Automatic",V[V.Explicit=1]="Explicit",(B=e$||(e$={}))[B.DependsOnKbLayout=-1]="DependsOnKbLayout",B[B.Unknown=0]="Unknown",B[B.Backspace=1]="Backspace",B[B.Tab=2]="Tab",B[B.Enter=3]="Enter",B[B.Shift=4]="Shift",B[B.Ctrl=5]="Ctrl",B[B.Alt=6]="Alt",B[B.PauseBreak=7]="PauseBreak",B[B.CapsLock=8]="CapsLock",B[B.Escape=9]="Escape",B[B.Space=10]="Space",B[B.PageUp=11]="PageUp",B[B.PageDown=12]="PageDown",B[B.End=13]="End",B[B.Home=14]="Home",B[B.LeftArrow=15]="LeftArrow",B[B.UpArrow=16]="UpArrow",B[B.RightArrow=17]="RightArrow",B[B.DownArrow=18]="DownArrow",B[B.Insert=19]="Insert",B[B.Delete=20]="Delete",B[B.Digit0=21]="Digit0",B[B.Digit1=22]="Digit1",B[B.Digit2=23]="Digit2",B[B.Digit3=24]="Digit3",B[B.Digit4=25]="Digit4",B[B.Digit5=26]="Digit5",B[B.Digit6=27]="Digit6",B[B.Digit7=28]="Digit7",B[B.Digit8=29]="Digit8",B[B.Digit9=30]="Digit9",B[B.KeyA=31]="KeyA",B[B.KeyB=32]="KeyB",B[B.KeyC=33]="KeyC",B[B.KeyD=34]="KeyD",B[B.KeyE=35]="KeyE",B[B.KeyF=36]="KeyF",B[B.KeyG=37]="KeyG",B[B.KeyH=38]="KeyH",B[B.KeyI=39]="KeyI",B[B.KeyJ=40]="KeyJ",B[B.KeyK=41]="KeyK",B[B.KeyL=42]="KeyL",B[B.KeyM=43]="KeyM",B[B.KeyN=44]="KeyN",B[B.KeyO=45]="KeyO",B[B.KeyP=46]="KeyP",B[B.KeyQ=47]="KeyQ",B[B.KeyR=48]="KeyR",B[B.KeyS=49]="KeyS",B[B.KeyT=50]="KeyT",B[B.KeyU=51]="KeyU",B[B.KeyV=52]="KeyV",B[B.KeyW=53]="KeyW",B[B.KeyX=54]="KeyX",B[B.KeyY=55]="KeyY",B[B.KeyZ=56]="KeyZ",B[B.Meta=57]="Meta",B[B.ContextMenu=58]="ContextMenu",B[B.F1=59]="F1",B[B.F2=60]="F2",B[B.F3=61]="F3",B[B.F4=62]="F4",B[B.F5=63]="F5",B[B.F6=64]="F6",B[B.F7=65]="F7",B[B.F8=66]="F8",B[B.F9=67]="F9",B[B.F10=68]="F10",B[B.F11=69]="F11",B[B.F12=70]="F12",B[B.F13=71]="F13",B[B.F14=72]="F14",B[B.F15=73]="F15",B[B.F16=74]="F16",B[B.F17=75]="F17",B[B.F18=76]="F18",B[B.F19=77]="F19",B[B.F20=78]="F20",B[B.F21=79]="F21",B[B.F22=80]="F22",B[B.F23=81]="F23",B[B.F24=82]="F24",B[B.NumLock=83]="NumLock",B[B.ScrollLock=84]="ScrollLock",B[B.Semicolon=85]="Semicolon",B[B.Equal=86]="Equal",B[B.Comma=87]="Comma",B[B.Minus=88]="Minus",B[B.Period=89]="Period",B[B.Slash=90]="Slash",B[B.Backquote=91]="Backquote",B[B.BracketLeft=92]="BracketLeft",B[B.Backslash=93]="Backslash",B[B.BracketRight=94]="BracketRight",B[B.Quote=95]="Quote",B[B.OEM_8=96]="OEM_8",B[B.IntlBackslash=97]="IntlBackslash",B[B.Numpad0=98]="Numpad0",B[B.Numpad1=99]="Numpad1",B[B.Numpad2=100]="Numpad2",B[B.Numpad3=101]="Numpad3",B[B.Numpad4=102]="Numpad4",B[B.Numpad5=103]="Numpad5",B[B.Numpad6=104]="Numpad6",B[B.Numpad7=105]="Numpad7",B[B.Numpad8=106]="Numpad8",B[B.Numpad9=107]="Numpad9",B[B.NumpadMultiply=108]="NumpadMultiply",B[B.NumpadAdd=109]="NumpadAdd",B[B.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",B[B.NumpadSubtract=111]="NumpadSubtract",B[B.NumpadDecimal=112]="NumpadDecimal",B[B.NumpadDivide=113]="NumpadDivide",B[B.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",B[B.ABNT_C1=115]="ABNT_C1",B[B.ABNT_C2=116]="ABNT_C2",B[B.AudioVolumeMute=117]="AudioVolumeMute",B[B.AudioVolumeUp=118]="AudioVolumeUp",B[B.AudioVolumeDown=119]="AudioVolumeDown",B[B.BrowserSearch=120]="BrowserSearch",B[B.BrowserHome=121]="BrowserHome",B[B.BrowserBack=122]="BrowserBack",B[B.BrowserForward=123]="BrowserForward",B[B.MediaTrackNext=124]="MediaTrackNext",B[B.MediaTrackPrevious=125]="MediaTrackPrevious",B[B.MediaStop=126]="MediaStop",B[B.MediaPlayPause=127]="MediaPlayPause",B[B.LaunchMediaPlayer=128]="LaunchMediaPlayer",B[B.LaunchMail=129]="LaunchMail",B[B.LaunchApp2=130]="LaunchApp2",B[B.Clear=131]="Clear",B[B.MAX_VALUE=132]="MAX_VALUE",(U=ej||(ej={}))[U.Hint=1]="Hint",U[U.Info=2]="Info",U[U.Warning=4]="Warning",U[U.Error=8]="Error",(W=eG||(eG={}))[W.Unnecessary=1]="Unnecessary",W[W.Deprecated=2]="Deprecated",(H=eQ||(eQ={}))[H.Inline=1]="Inline",H[H.Gutter=2]="Gutter",(z=eY||(eY={}))[z.UNKNOWN=0]="UNKNOWN",z[z.TEXTAREA=1]="TEXTAREA",z[z.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",z[z.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",z[z.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",z[z.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",z[z.CONTENT_TEXT=6]="CONTENT_TEXT",z[z.CONTENT_EMPTY=7]="CONTENT_EMPTY",z[z.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",z[z.CONTENT_WIDGET=9]="CONTENT_WIDGET",z[z.OVERVIEW_RULER=10]="OVERVIEW_RULER",z[z.SCROLLBAR=11]="SCROLLBAR",z[z.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",z[z.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",($=eX||(eX={}))[$.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",$[$.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",$[$.TOP_CENTER=2]="TOP_CENTER",(j=eJ||(eJ={}))[j.Left=1]="Left",j[j.Center=2]="Center",j[j.Right=4]="Right",j[j.Full=7]="Full",(G=eZ||(eZ={}))[G.Left=0]="Left",G[G.Right=1]="Right",G[G.None=2]="None",G[G.LeftOfInjectedText=3]="LeftOfInjectedText",G[G.RightOfInjectedText=4]="RightOfInjectedText",(Q=e1||(e1={}))[Q.Off=0]="Off",Q[Q.On=1]="On",Q[Q.Relative=2]="Relative",Q[Q.Interval=3]="Interval",Q[Q.Custom=4]="Custom",(Y=e0||(e0={}))[Y.None=0]="None",Y[Y.Text=1]="Text",Y[Y.Blocks=2]="Blocks",(X=e2||(e2={}))[X.Smooth=0]="Smooth",X[X.Immediate=1]="Immediate",(J=e4||(e4={}))[J.Auto=1]="Auto",J[J.Hidden=2]="Hidden",J[J.Visible=3]="Visible",(Z=e5||(e5={}))[Z.LTR=0]="LTR",Z[Z.RTL=1]="RTL",(ee=e7||(e7={}))[ee.Invoke=1]="Invoke",ee[ee.TriggerCharacter=2]="TriggerCharacter",ee[ee.ContentChange=3]="ContentChange",(et=e9||(e9={}))[et.File=0]="File",et[et.Module=1]="Module",et[et.Namespace=2]="Namespace",et[et.Package=3]="Package",et[et.Class=4]="Class",et[et.Method=5]="Method",et[et.Property=6]="Property",et[et.Field=7]="Field",et[et.Constructor=8]="Constructor",et[et.Enum=9]="Enum",et[et.Interface=10]="Interface",et[et.Function=11]="Function",et[et.Variable=12]="Variable",et[et.Constant=13]="Constant",et[et.String=14]="String",et[et.Number=15]="Number",et[et.Boolean=16]="Boolean",et[et.Array=17]="Array",et[et.Object=18]="Object",et[et.Key=19]="Key",et[et.Null=20]="Null",et[et.EnumMember=21]="EnumMember",et[et.Struct=22]="Struct",et[et.Event=23]="Event",et[et.Operator=24]="Operator",et[et.TypeParameter=25]="TypeParameter",(ei=e6||(e6={}))[ei.Deprecated=1]="Deprecated",(en=e8||(e8={}))[en.Hidden=0]="Hidden",en[en.Blink=1]="Blink",en[en.Smooth=2]="Smooth",en[en.Phase=3]="Phase",en[en.Expand=4]="Expand",en[en.Solid=5]="Solid",(er=e3||(e3={}))[er.Line=1]="Line",er[er.Block=2]="Block",er[er.Underline=3]="Underline",er[er.LineThin=4]="LineThin",er[er.BlockOutline=5]="BlockOutline",er[er.UnderlineThin=6]="UnderlineThin",(es=te||(te={}))[es.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",es[es.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",es[es.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",es[es.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eo=tt||(tt={}))[eo.None=0]="None",eo[eo.Same=1]="Same",eo[eo.Indent=2]="Indent",eo[eo.DeepIndent=3]="DeepIndent";class nx{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}nx.CtrlCmd=2048,nx.Shift=1024,nx.Alt=512,nx.WinCtrl=256;class nM extends i3{constructor(e){super(0);for(let t=0,i=e.length;t(!t.hasOwnProperty(i)&&(t[i]=e(i)),t[i])}(e=>new nM(e)),(ea=ti||(ti={}))[ea.Left=1]="Left",ea[ea.Center=2]="Center",ea[ea.Right=4]="Right",ea[ea.Full=7]="Full",(el=tn||(tn={}))[el.Left=1]="Left",el[el.Right=2]="Right",(eu=tr||(tr={}))[eu.Inline=1]="Inline",eu[eu.Gutter=2]="Gutter",(eh=ts||(ts={}))[eh.Both=0]="Both",eh[eh.Right=1]="Right",eh[eh.Left=2]="Left",eh[eh.None=3]="None";class nk{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let i=e.length;do{var n,r,s,o,a;if(this._prevMatchStartIndex+this._prevMatchLength===i||!(t=this._searchRegex.exec(e)))break;let l=t.index,u=t[0].length;if(l===this._prevMatchStartIndex&&u===this._prevMatchLength){if(0===u){(function(e,t,i){let n=e.charCodeAt(i);if(t2(n)&&i+165535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=l,this._prevMatchLength=u,!this._wordSeparators||(n=this._wordSeparators,r=e,s=i,function(e,t,i,n,r){if(0===n)return!0;let s=t.charCodeAt(n-1);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let i=t.charCodeAt(n);if(0!==e.get(i))return!0}return!1}(n,r,0,o=l,a=u)&&function(e,t,i,n,r){if(n+r===i)return!0;let s=t.charCodeAt(n+r);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let i=t.charCodeAt(n+r-1);if(0!==e.get(i))return!0}return!1}(n,r,s,o,a)))return t}while(t);return null}}function nO(e){!e()&&(e(),th(new tf("Assertion Failed")))}function nT(e,t){let i=0;for(;iString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`}(Array.from(l))}`,"g")),h=[],d=!1,c=0,g=0,m=0;e:for(let t=s;t<=o;t++){let i=e.getLineContent(t),n=i.length;u.reset(0);do if(r=u.next(i)){let e=r.index,s=r.index+r[0].length;e>0&&t2(i.charCodeAt(e-1))&&e--,s+1=1e3){d=!0;break e}h.push(new iX(t,e+1,t,s+1))}}while(r)}return{ranges:h,hasMore:d,ambiguousCharacterCount:c,invisibleCharacterCount:g,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let i=new nP(t);switch(i.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),r=i.ambiguousCharacters.getPrimaryConfusable(n),s=t6.getLocales().filter(e=>!t6.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(r),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class nP{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=t6.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of t8.codePoints)!nD(String.fromCodePoint(t))&&e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,r=!1;if(t)for(let e of t){var s;let t=e.codePointAt(0);let i=(s=e,t7.test(s));n=n||i,!i&&!this.ambiguousCharacters.isAmbiguous(t)&&!t8.isInvisibleCharacter(t)&&(r=!0)}return!n&&r?0:this.options.invisibleCharacters&&!nD(e)&&t8.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function nD(e){return" "===e||"\n"===e||" "===e}class nK{constructor(e,t,i){this.changes=e,this.moves=t,this.hitTimeout=i}}class nF{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class nq{static addRange(e,t){let i=0;for(;it))return new nq(e,t)}static ofLength(e){return new nq(0,e)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new tf(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new nq(this.start+e,this.endExclusive+e)}deltaStart(e){return new nq(this.start+e,this.endExclusive)}deltaEnd(e){return new nq(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tt)throw new tf(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),i=nB(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){let i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{let n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){let t=nV(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],i=0,n=0,r=null;for(;i=s.startLineNumber?r=new nH(r.startLineNumber,Math.max(r.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(r),r=s)}return null!==r&&t.push(r),new nz(t)}subtractFrom(e){let t=nU(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=nB(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new nz([e]);let n=[],r=e.startLineNumber;for(let e=t;er&&n.push(new nH(r,t.startLineNumber)),r=t.endLineNumberExclusive}return re.toString()).join(", ")}getIntersection(e){let t=[],i=0,n=0;for(;it.delta(e)))}}class n${static inverse(e,t,i){let n=[],r=1,s=1;for(let t of e){let e=new nj(new nH(r,t.original.startLineNumber),new nH(s,t.modified.startLineNumber),void 0);!e.modified.isEmpty&&n.push(e),r=t.original.endLineNumberExclusive,s=t.modified.endLineNumberExclusive}let o=new nj(new nH(r,t+1),new nH(s,i+1),void 0);return!o.modified.isEmpty&&n.push(o),n}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new n$(this.modified,this.original)}join(e){return new n$(this.original.join(e.original),this.modified.join(e.modified))}}class nj extends n${constructor(e,t,i){super(e,t),this.innerChanges=i}flip(){var e;return new nj(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}}class nG{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new nG(this.modifiedRange,this.originalRange)}}class nQ{computeDiff(e,t,i){var n;let r=new n0(e,t,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),s=[],o=null;for(let e of r.changes){let t,i;t=0===e.originalEndLineNumber?new nH(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new nH(e.originalStartLineNumber,e.originalEndLineNumber+1);let r=new nj(t,i=0===e.modifiedEndLineNumber?new nH(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new nH(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1),null===(n=e.charChanges)||void 0===n?void 0:n.map(e=>new nG(new iX(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new iX(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));o&&(o.modified.endLineNumberExclusive===r.modified.startLineNumber||o.original.endLineNumberExclusive===r.original.startLineNumber)&&(r=new nj(o.original.join(r.original),o.modified.join(r.modified),o.innerChanges&&r.innerChanges?o.innerChanges.concat(r.innerChanges):void 0),s.pop()),s.push(r),o=r}return nO(()=>nT(s,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class nZ{constructor(e,t,i,n,r,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=i,this.originalEndColumn=n,this.modifiedStartLineNumber=r,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,i){let n=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=i.getStartLineNumber(e.modifiedStart),l=i.getStartColumn(e.modifiedStart),u=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1);return new nZ(n,r,s,o,a,l,u,i.getEndColumn(e.modifiedStart+e.modifiedLength-1))}}class n1{constructor(e,t,i,n,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=n,this.charChanges=r}static createFromDiffResult(e,t,i,n,r,s,o){let a,l,u,h,d;if(0===t.originalLength?(a=i.getStartLineNumber(t.originalStart)-1,l=0):(a=i.getStartLineNumber(t.originalStart),l=i.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=n.getStartLineNumber(t.modifiedStart)-1,h=0):(u=n.getStartLineNumber(t.modifiedStart),h=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){let s=i.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=nY(s,a,r,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],i=t[0];for(let n=1,r=e.length;nMath.min(s,r.modifiedStart-(i.modifiedStart+i.modifiedLength))?(i.originalLength=r.originalStart+r.originalLength-i.originalStart,i.modifiedLength=r.modifiedStart+r.modifiedLength-i.modifiedStart):(t.push(r),i=r)}return t}(e)),d=[];for(let t=0,i=e.length;t1&&o>1;){let n=e.charCodeAt(i-2);if(n!==t.charCodeAt(o-2))break;i--,o--}(i>1||o>1)&&this._pushTrimWhitespaceCharChange(n,r+1,1,i,s+1,1,o)}{let i=n4(e,1),o=n4(t,1),a=e.length+1,l=t.length+1;for(;i=0;i--){let t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return -1}(e);return -1===i?t:i+2}function n5(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-t{i.push(n9.fromOffsetPairs(e?e.getEndExclusives():n6.zero,n?n.getStarts():new n6(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),i}static fromOffsetPairs(e,t){return new n9(new nq(e.offset1,t.offset1),new nq(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new n9(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new n9(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new n9(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new n9(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new n9(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(!!t&&!!i)return new n9(t,i)}getStarts(){return new n6(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new n6(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class n6{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}}n6.zero=new n6(0,0),n6.max=new n6(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class n8{isValid(){return!0}}n8.instance=new n8;class n3{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new tf("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&l>0&&3===s.get(a-1,l-1)&&(u+=o.get(a-1,l-1)),u+=n?n(a,l):1):u=-1;let c=Math.max(h,d,u);if(c===u){let e=a>0&&l>0?o.get(a-1,l-1):0;o.set(a,l,e+1),s.set(a,l,3)}else c===h?(o.set(a,l,0),s.set(a,l,1)):c===d&&(o.set(a,l,0),s.set(a,l,2));r.set(a,l,c)}let a=[],l=e.length,u=t.length;function h(e,t){(e+1!==l||t+1!==u)&&a.push(new n9(new nq(e+1,l),new nq(t+1,u))),l=e,u=t}let d=e.length-1,c=t.length-1;for(;d>=0&&c>=0;)3===s.get(d,c)?(h(d,c),d--,c--):1===s.get(d,c)?d--:c--;return h(-1,-1),a.reverse(),new n7(a,!1)}}class rr{compute(e,t,i=n8.instance){if(0===e.length||0===t.length)return n7.trivial(e,t);function n(i,n){for(;ie.length||c>t.length)continue;let g=n(d,c);s.set(a,g);let m=d===r?o.get(a+1):o.get(a-1);if(o.set(a,g!==d?new rs(m,d,c,g-d):m),s.get(a)===e.length&&s.get(a)-a===t.length)break t}}let l=o.get(a),u=[],h=e.length,d=t.length;for(;;){let e=l?l.x+l.length:0,t=l?l.y+l.length:0;if((e!==h||t!==d)&&u.push(new n9(new nq(e,h),new nq(t,d))),!l)break;h=l.x,d=l.y,l=l.prev}return u.reverse(),new n7(u,!1)}}class rs{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class ro{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class ra{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class rl{constructor(e,t){this.uri=e,this.value=t}}class ru{constructor(e,t){if(this[to]="ResourceMap",e instanceof ru)this.map=new Map(e.map),this.toKey=null!=t?t:ru.defaultToKey;else{if(Array.isArray(e))for(let[i,n]of(this.map=new Map,this.toKey=null!=t?t:ru.defaultToKey,e))this.set(i,n);else this.map=new Map,this.toKey=null!=e?e:ru.defaultToKey}}set(e,t){return this.map.set(this.toKey(e),new rl(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[i,n]of(void 0!==t&&(e=e.bind(t)),this.map))e(n.value,n.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(to=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}ru.defaultToKey=e=>e.toString(),ta=Symbol.toStringTag,Symbol.iterator;class rh{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);!i&&(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){let i=this.map.get(e);if(!!i)i.delete(t),0===i.size&&this.map.delete(e)}forEach(e,t){let i=this.map.get(e);if(!!i)i.forEach(t)}get(e){let t=this.map.get(e);return t?t:new Set}}class rd{constructor(e,t,i){this.lines=e,this.considerWhitespaceChanges=i,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let n=!1;t.start>0&&t.endExclusive>=e.length&&(t=new nq(t.start-1,t.endExclusive),n=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=rf(e>0?this.elements[e-1]:-1),i=rf(et<=e);return new iY(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return iX.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!rc(this.elements[e]))return;let t=e;for(;t>0&&rc(this.elements[t-1]);)t--;let i=e;for(;it<=e.start))&&void 0!==t?t:0;return new nq(n,null!==(i=function(e,t){let i=nU(e,t);return i===e.length?void 0:e[i]}(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==i?i:this.elements.length)}}function rc(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let rg={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function rm(e){return rg[e]}function rf(e){if(10===e)return 7;if(13===e)return 6;if(rt(e))return 5;else if(e>=97&&e<=122)return 0;else if(e>=65&&e<=90)return 1;else if(e>=48&&e<=57)return 2;else if(-1===e)return 3;else return 4}function rp(e,t,i){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let n=new rr().compute(new rd([e],new nq(0,1),!1),new rd([t],new nq(0,1),!1),i),r=0;for(let t of n9.invert(n.diffs,e.length))t.seq1Range.forEach(t=>{!rt(e.charCodeAt(t))&&r++});let s=function(t){let i=0;for(let n=0;nt.length?e:t);return r/s>.6&&s>10}function rb(e,t,i){let n=i;return n=function(e,t,i){if(0===i.length)return i;let n=[];n.push(i[0]);for(let r=1;r0&&(o=o.delta(r))}r.push(o)}return n.length>0&&r.push(n[n.length-1]),r}(e,t,n),n=function(e,t,i){if(!e.getBoundaryScore||!t.getBoundaryScore)return i;for(let n=0;n0?i[n-1]:void 0,s=i[n],o=n+1=n.start&&e.seq2Range.start-s>=r.start&&i.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=u,a=n)}return e.delta(a)}class rv{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:ry(this.lines[e-1]);return 1e3-(t+(e===this.lines.length?0:ry(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function ry(e){let t=0;for(;te===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,r=e.length;ne===t))return new nK([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new nK([new nj(new nH(1,e.length+1),new nH(1,t.length+1),[new nG(new iX(1,1,e.length,e[0].length+1),new iX(1,1,t.length,t[0].length+1))])],[],!1);let n=0===i.maxComputationTimeMs?n8.instance:new n3(i.maxComputationTimeMs),r=!i.ignoreTrimWhitespace,s=new Map;function o(e){let t=s.get(e);return void 0===t&&(t=s.size,s.set(e,t)),t}let a=e.map(e=>o(e.trim())),l=t.map(e=>o(e.trim())),u=new rv(a,e),h=new rv(l,t),d=(()=>u.length+h.length<1700?this.dynamicProgrammingDiffing.compute(u,h,n,(i,n)=>e[i]===t[n]?0===t[n].length?.1:1+Math.log(1+t[n].length):.99):this.myersDiffingAlgorithm.compute(u,h))(),c=d.diffs,g=d.hitTimeout;c=rb(u,h,c),c=function(e,t,i){let n,r=i;if(0===r.length)return r;let s=0;do{n=!1;let t=[r[0]];for(let i=1;i5)||!!(i.seq1Range.length+i.seq2Range.length>5))||!1})(o,s)?(n=!0,t[t.length-1]=t[t.length-1].join(s)):t.push(s)}r=t}while(s++<10&&n);return r}(u,0,c);let m=[],f=i=>{if(!!r)for(let s=0;si.seq1Range.start-p==i.seq2Range.start-b),f(i.seq1Range.start-p),p=i.seq1Range.endExclusive,b=i.seq2Range.endExclusive;let s=this.refineDiff(e,t,i,n,r);for(let e of(s.hitTimeout&&(g=!0),s.mappings))m.push(e)}f(e.length-p);let _=rL(m,e,t),v=[];return i.computeMoves&&(v=this.computeMoves(_,e,t,a,l,n,r)),nO(()=>{function i(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let i=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>i.length+1)&&!0}function n(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)&&!0}for(let r of _){if(!r.innerChanges)return!1;for(let n of r.innerChanges)if(!(i(n.modifiedRange.getStartPosition(),t)&&i(n.modifiedRange.getEndPosition(),t)&&i(n.originalRange.getStartPosition(),e)&&i(n.originalRange.getEndPosition(),e)))return!1;if(!n(r.modified,t)||!n(r.original,e))return!1}return!0}),new nK(_,v,g)}computeMoves(e,t,i,n,r,s,o){return(function(e,t,i,n,r,s){let{moves:o,excludedChanges:a}=function(e,t,i,n){let r=[],s=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new ri(e.original,t,e)),o=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new ri(e.modified,i,e))),a=new Set;for(let e of s){let t,i=-1;for(let n of o){let r=e.computeSimilarity(n);r>i&&(i=r,t=n)}if(i>.9&&t&&(o.delete(t),r.push(new n$(e.range,t.range)),a.add(e.source),a.add(t.source)),!n.isValid())break}return{moves:r,excludedChanges:a}}(e,t,i,s);return s.isValid()?(!function(e,t){for(let i of t)e.push(i)}(o,function(e,t,i,n,r,s){var o;let a=[],l=new rh;for(let i of e)for(let e=i.original.startLineNumber;ee.modified.startLineNumber,iZ)),e)){let e=[];for(let n=t.modified.startLineNumber;n{for(let i of e)if(i.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&i.modifiedLineRange.endLineNumberExclusive+1===r.endLineNumberExclusive){i.originalLineRange=new nH(i.originalLineRange.startLineNumber,t.endLineNumberExclusive),i.modifiedLineRange=new nH(i.modifiedLineRange.startLineNumber,r.endLineNumberExclusive),s.push(i);return}let i={modifiedLineRange:r,originalLineRange:t};u.push(i),s.push(i)}),e=s}if(!s.isValid())return[]}u.sort((o=iJ(e=>e.modifiedLineRange.length,iZ),(e,t)=>-o(e,t)));let h=new nz,d=new nz;for(let e of u){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,i=h.subtractFrom(e.modifiedLineRange),n=d.subtractFrom(e.originalLineRange).getWithDelta(t);for(let e of i.getIntersection(n).ranges){if(e.length<3)continue;let i=e.delta(-t);a.push(new n$(i,e)),h.addRange(e),d.addRange(i)}}a.sort(iJ(e=>e.original.startLineNumber,iZ));let c=new nW(e);for(let t=0;te.original.startLineNumber<=l.original.startLineNumber),g=nV(e,e=>e.modified.startLineNumber<=l.modified.startLineNumber),m=Math.max(l.original.startLineNumber-u.original.startLineNumber,l.modified.startLineNumber-g.modified.startLineNumber),f=c.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumbern.length||t>r.length||h.contains(t)||d.contains(e)||!rp(n[e-1],r[t-1],s))break}for(i>0&&(d.addRange(new nH(l.original.startLineNumber-i,l.original.startLineNumber)),h.addRange(new nH(l.modified.startLineNumber-i,l.modified.startLineNumber))),o=0;on.length||t>r.length||h.contains(t)||d.contains(e)||!rp(n[e-1],r[t-1],s))break}o>0&&(d.addRange(new nH(l.original.endLineNumberExclusive,l.original.endLineNumberExclusive+o)),h.addRange(new nH(l.modified.endLineNumberExclusive,l.modified.endLineNumberExclusive+o))),(i>0||o>0)&&(a[t]=new n$(new nH(l.original.startLineNumber-i,l.original.endLineNumberExclusive+o),new nH(l.modified.startLineNumber-i,l.modified.endLineNumberExclusive+o)))}return a}(e.filter(e=>!a.has(e)),n,r,t,i,s)),o=function(e,t){let i=new nW(e);return t=t.filter(t=>{let n=i.findLastMonotonous(e=>e.original.endLineNumberExclusivee.modified.endLineNumberExclusivee.original.startLineNumber,iZ));let t=[e[0]];for(let i=1;i=0&&o>=0&&s+o<=2){t[t.length-1]=n.join(r);continue}t.push(r)}return t}(o)).filter(e=>e.original.toOffsetRange().slice(t).map(e=>e.trim()).join("\n").length>=10))):[]})(e,t,i,n,r,s).map(e=>{let n=rL(this.refineDiff(t,i,new n9(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o).mappings,t,i,!0);return new nF(e,n)})}refineDiff(e,t,i,n,r){let s=new rd(e,i.seq1Range,r),o=new rd(t,i.seq2Range,r),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,n):this.myersDiffingAlgorithm.compute(s,o,n),l=a.diffs;return l=rb(s,o,l),l=function(e,t,i){let n=[];for(let e of i){let t=n[n.length-1];if(!t){n.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?n[n.length-1]=new n9(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):n.push(e)}return n}(0,0,l=function(e,t,i){let n,r=[];function s(){if(!n)return;let e=n.s1Range.length-n.deleted;n.s2Range.length,n.added,Math.max(n.deleted,n.added)+(n.count-1)>e&&r.push(new n9(n.s1Range,n.s2Range)),n=void 0}for(let r of i){function o(e,t){var i,o,a,l;if(!n||!n.s1Range.containsRange(e)||!n.s2Range.containsRange(t)){if(n&&!(n.s1Range.endExclusive0||t.length>0;){let n;let r=e[0],s=t[0];n=r&&(!s||r.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=n.seq1Range.start?i[i.length-1]=i[i.length-1].join(n):i.push(n)}return i}(i,r)}(s,o,l)),{mappings:(l=function(e,t,i){let n,r=i;if(0===r.length)return r;let s=0;do{n=!1;let i=[r[0]];for(let s=1;s5||r.length>500)return!1;let s=e.getText(r).trim();if(s.length>20||s.split(/\r\n|\r|\n/).length>1)return!1;let l=e.countLinesIn(i.seq1Range),u=i.seq1Range.length,h=t.countLinesIn(i.seq2Range),d=i.seq2Range.length,c=e.countLinesIn(n.seq1Range),g=n.seq1Range.length,m=t.countLinesIn(n.seq2Range),f=n.seq2Range.length;function p(e){return Math.min(e,130)}return!!(Math.pow(Math.pow(p(40*l+u),1.5)+Math.pow(p(40*h+d),1.5),1.5)+Math.pow(Math.pow(p(40*c+g),1.5)+Math.pow(p(40*m+f),1.5),1.5)>74184.96480721243)||!1})(a,o)?(n=!0,i[i.length-1]=i[i.length-1].join(o)):i.push(o)}r=i}while(s++<10&&n);let o=[];return!function(e,t){for(let i=0;i{let r=i;function s(e){return e.length>0&&e.trim().length<=3&&i.seq1Range.length+i.seq2Range.length>100}let a=e.extendToFullLines(i.seq1Range),l=e.getText(new nq(a.start,i.seq1Range.start));s(l)&&(r=r.deltaStart(-l.length));let u=e.getText(new nq(i.seq1Range.endExclusive,a.endExclusive));s(u)&&(r=r.deltaEnd(u.length));let h=n9.fromOffsetPairs(t?t.getEndExclusives():n6.zero,n?n.getStarts():n6.max),d=r.intersect(h);o.push(d)}),o}(s,o,l)).map(e=>new nG(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range))),hitTimeout:a.hitTimeout}}}function rL(e,t,i,n=!1){let r=[];for(let n of function*(e,t){let i,n;for(let r of e)void 0!==n&&t(n,r)?i.push(r):(i&&(yield i),i=[r]),n=r;i&&(yield i)}(e.map(e=>(function(e,t,i){let n=0,r=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+n<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+n<=e.modifiedRange.endLineNumber&&(r=-1),e.modifiedRange.startColumn-1>=i[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(n=1);let s=new nH(e.originalRange.startLineNumber+n,e.originalRange.endLineNumber+1+r);return new nj(s,new nH(e.modifiedRange.startLineNumber+n,e.modifiedRange.endLineNumber+1+r),[e])})(e,t,i)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=n[0],t=n[n.length-1];r.push(new nj(e.original.join(t.original),e.modified.join(t.modified),n.map(e=>e.innerChanges[0])))}return nO(()=>(!!n||!(r.length>0)||r[0].original.startLineNumber===r[0].modified.startLineNumber)&&nT(r,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivenew nQ,getDefault:()=>new rC};function rN(e,t){let i=Math.pow(10,t);return Math.round(e*i)/i}class rE{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=rN(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class rS{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rN(Math.max(Math.min(1,t),0),3),this.l=rN(Math.max(Math.min(1,i),0),3),this.a=rN(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,n=e.b/255,r=e.a,s=Math.max(t,i,n),o=Math.min(t,i,n),a=0,l=0,u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(i-n)/h+(i1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t,i,n;let r=e.h/360,{s,l:o,a}=e;if(0===s)t=i=n=o;else{let e=o<.5?o*(1+s):o+s-o*s,a=2*o-e;t=rS._hue2rgb(a,e,r+1/3),i=rS._hue2rgb(a,e,r),n=rS._hue2rgb(a,e,r-1/3)}return new rE(Math.round(255*t),Math.round(255*i),Math.round(255*n),a)}}class rR{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rN(Math.max(Math.min(1,t),0),3),this.v=rN(Math.max(Math.min(1,i),0),3),this.a=rN(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let i=e.r/255,n=e.g/255,r=e.b/255,s=Math.max(i,n,r),o=s-Math.min(i,n,r);return new rR(Math.round(60*(t=0===o?0:s===i?((n-r)/o%6+6)%6:s===n?(r-i)/o+2:(i-n)/o+4)),0===s?0:o/s,s,e.a)}static toRGBA(e){let{h:t,s:i,v:n,a:r}=e,s=n*i,o=s*(1-Math.abs(t/60%2-1)),a=n-s,[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),new rE(l=Math.round((l+a)*255),u=Math.round((u+a)*255),h=Math.round((h+a)*255),r)}}class rA{static fromHex(e){return rA.Format.CSS.parseHex(e)||rA.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:rS.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:rR.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof rE)this.rgba=e;else if(e instanceof rS)this._hsla=e,this.rgba=rS.toRGBA(e);else if(e instanceof rR)this._hsva=e,this.rgba=rR.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&rE.equals(this.rgba,e.rgba)&&rS.equals(this.hsla,e.hsla)&&rR.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=rA._relativeLuminanceForComponent(this.rgba.r),t=rA._relativeLuminanceForComponent(this.rgba.g),i=rA._relativeLuminanceForComponent(this.rgba.b);return rN(.2126*e+.7152*t+.0722*i,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){let t=this.getRelativeLuminance();return t>e.getRelativeLuminance()}isDarkerThan(e){let t=this.getRelativeLuminance();return tthis._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;i<1?(i=1,n=!0):i>e&&(i=e,n=!0)}return n?{lineNumber:t,column:i}:e}}class rK{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new rD(iV.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!!this._models[e])this._models[e].onEvents(t)}acceptRemovedModel(e){if(!!this._models[e])delete this._models[e]}computeUnicodeHighlights(e,t,i){return rP(this,void 0,void 0,function*(){let n=this._getModel(e);return n?nI.computeUnicodeHighlights(n,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,i,n){return rP(this,void 0,void 0,function*(){let r=this._getModel(e),s=this._getModel(t);return r&&s?rK.computeDiff(r,s,i,n):null})}static computeDiff(e,t,i,n){let r="advanced"===n?rw.getDefault():rw.getLegacy(),s=e.getLinesContent(),o=t.getLinesContent(),a=r.computeDiff(s,o,i);function l(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:l(a.changes),moves:a.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,l(e.changes)])}}static _modelsAreIdentical(e,t){let i=e.getLineCount();if(i!==t.getLineCount())return!1;for(let n=1;n<=i;n++){let i=e.getLineContent(n);if(i!==t.getLineContent(n))return!1}return!0}computeMoreMinimalEdits(e,t,i){return rP(this,void 0,void 0,function*(){let n,r=this._getModel(e);if(!r)return t;let s=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return iX.compareRangesUsingStarts(e.range,t.range);let i=e.range?0:1;return i-(t.range?0:1)});let o=0;for(let e=1;erK._diffLimit){s.push({range:e,text:h});continue}let o=(a=t,l=h,u=i,new iy(new ip(a),new ip(l)).ComputeDiff(u).changes),c=r.offsetAt(iX.lift(e).getStartPosition());for(let e of o){let t=r.positionAt(c+e.originalStart),i=r.positionAt(c+e.originalStart+e.originalLength),n={text:h.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};r.getValueInRange(n.range)!==n.text&&s.push(n)}}return"number"==typeof n&&s.push({eol:n,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(e){return rP(this,void 0,void 0,function*(){var t;let i=this._getModel(e);if(!i)return null;return(t=i)&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?ns.computeLinks(t):[]})}computeDefaultDocumentColors(e){return rP(this,void 0,void 0,function*(){var t;let i=this._getModel(e);if(!i)return null;return(t=i)&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],i=rI(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let n of i){let i;let r=n.filter(e=>void 0!==e),s=r[1],o=r[2];if(!!o){if("rgb"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;i=rO(rk(e,n),rI(o,t),!1)}else if("rgba"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=rO(rk(e,n),rI(o,t),!0)}else if("hsl"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;i=rT(rk(e,n),rI(o,t),!1)}else if("hsla"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=rT(rk(e,n),rI(o,t),!0)}else"#"===s&&(i=function(e,t){if(!e)return;let i=rA.Format.CSS.parseHex(t);if(!!i)return{range:e,color:rM(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}(rk(e,n),s+o));i&&t.push(i)}}return t}(t):[]})}textualSuggest(e,t,i,n){return rP(this,void 0,void 0,function*(){let r=new tR,s=new RegExp(i,n),o=new Set;i:for(let i of e){let e=this._getModel(i);if(!!e)for(let i of e.words(s)){if(i!==t&&!!isNaN(Number(i))){if(o.add(i),o.size>rK._suggestionsLimit)break i}}}return{words:Array.from(o),duration:r.elapsed()}})}computeWordRanges(e,t,i,n){return rP(this,void 0,void 0,function*(){let r=this._getModel(e);if(!r)return Object.create(null);let s=new RegExp(i,n),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},n={};for(let t of e)n[t]=i(t);return n}(i,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve(tP(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}rK._diffLimit=1e5,rK._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:nu,Emitter:tT,KeyCode:e$,KeyMod:nx,Position:iY,Range:iX,Selection:nC,SelectionDirection:e5,MarkerSeverity:ej,MarkerTag:eG,Uri:iV,Token:nR});let rF=!1;globalThis.onmessage=e=>{!rF&&!function(e){if(rF)return;rF=!0;let t=new il(e=>{globalThis.postMessage(e)},e=>new rK(e,null));globalThis.onmessage=e=>{t.onmessage(e.data)}}(null)}})(); \ No newline at end of file diff --git a/pr-preview/pr-5/img/BCID_H_rgb_pos.png b/pr-preview/pr-5/img/BCID_H_rgb_pos.png new file mode 100644 index 0000000..07e4176 Binary files /dev/null and b/pr-preview/pr-5/img/BCID_H_rgb_pos.png differ diff --git a/pr-preview/pr-5/img/BCID_H_rgb_rev.png b/pr-preview/pr-5/img/BCID_H_rgb_rev.png new file mode 100644 index 0000000..d4b812e Binary files /dev/null and b/pr-preview/pr-5/img/BCID_H_rgb_rev.png differ diff --git a/pr-preview/pr-5/img/cc-by.png b/pr-preview/pr-5/img/cc-by.png new file mode 100644 index 0000000..fbc6ccf Binary files /dev/null and b/pr-preview/pr-5/img/cc-by.png differ diff --git a/pr-preview/pr-5/img/docusaurus.png b/pr-preview/pr-5/img/docusaurus.png new file mode 100644 index 0000000..f458149 Binary files /dev/null and b/pr-preview/pr-5/img/docusaurus.png differ diff --git a/pr-preview/pr-5/img/favicon.ico b/pr-preview/pr-5/img/favicon.ico new file mode 100644 index 0000000..1841396 Binary files /dev/null and b/pr-preview/pr-5/img/favicon.ico differ diff --git a/pr-preview/pr-5/img/favicon.png b/pr-preview/pr-5/img/favicon.png new file mode 100644 index 0000000..20742f9 Binary files /dev/null and b/pr-preview/pr-5/img/favicon.png differ diff --git a/pr-preview/pr-5/img/gear-tools.svg b/pr-preview/pr-5/img/gear-tools.svg new file mode 100644 index 0000000..179298d --- /dev/null +++ b/pr-preview/pr-5/img/gear-tools.svg @@ -0,0 +1,100 @@ + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + + + + + + + + + diff --git a/pr-preview/pr-5/img/logo.svg b/pr-preview/pr-5/img/logo.svg new file mode 100644 index 0000000..9db6d0d --- /dev/null +++ b/pr-preview/pr-5/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-5/img/opensource-icon.svg b/pr-preview/pr-5/img/opensource-icon.svg new file mode 100644 index 0000000..f80e731 --- /dev/null +++ b/pr-preview/pr-5/img/opensource-icon.svg @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/pr-preview/pr-5/img/undraw-code-review.svg b/pr-preview/pr-5/img/undraw-code-review.svg new file mode 100644 index 0000000..d55fc31 --- /dev/null +++ b/pr-preview/pr-5/img/undraw-code-review.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-5/index.html b/pr-preview/pr-5/index.html new file mode 100644 index 0000000..8cd41b6 --- /dev/null +++ b/pr-preview/pr-5/index.html @@ -0,0 +1 @@ +Welcome to Permitting Interoperability Exchange Specification | Permitting Interoperability Exchange Specification

    Permitting Interoperability Exchange Specification

    An easy as pie way to exchange standardized permitting information. 🥧

    Easy to Use

    PIES was designed from the ground up to be easily understood and installed in your application quickly.

    Interoperable

    PIES lets you focus on your data. Let your systems communicate to each other with ease.

    Open Source

    Want to improve PIES? We welcome your contributions!

    \ No newline at end of file diff --git a/pr-preview/pr-5/json.worker.js b/pr-preview/pr-5/json.worker.js new file mode 100644 index 0000000..31501ca --- /dev/null +++ b/pr-preview/pr-5/json.worker.js @@ -0,0 +1 @@ +(()=>{"use strict";let e,t,n,r,i,s,o;var a,l,u,h,c,d,f,m,g,p,v,b,y,_,C,S,w,L,x,E,N,A,k,R,T,M,O,I,P,F,V,D,q,K,j,U,B,$,W,H,z,G,J,X,Q,Z,Y,ee,et,en,er,ei,es,eo,ea,el,eu,eh,ec,ed,ef,em,eg,ep,ev,eb,ey,e_,eC,eS,ew,eL,ex,eE,eN,eA,ek,eR,eT,eM,eO,eI,eP,eF,eV,eD,eq,eK,ej,eU,eB,e$,eW,eH,ez,eG,eJ,eX,eQ,eZ,eY,e1,e0,e2,e4,e5,e7,e9,e6,e8,e3,te,tt,tn,tr,ti,ts,to,ta,tl,tu,th,tc,td,tf,tm,tg,tp,tv,tb,ty,t_,tC,tS,tw,tL,tx,tE,tN,tA,tk,tR,tT,tM,tO,tI,tP,tF,tV,tD,tq,tK,tj,tU,tB,t$,tW,tH,tz,tG,tJ,tX,tQ,tZ,tY,t1,t0,t2,t4,t5,t7,t9,t6,t8,t3,ne,nt,nn,nr,ni,ns,no,na,nl,nu,nh,nc,nd,nf,nm,ng,np,nv,nb,ny,n_,nC,nS,nw,nL,nx,nE,nN,nA,nk,nR,nT,nM,nO,nI,nP,nF,nV,nD,nq,nK,nj,nU,nB,n$,nW,nH,nz,nG,nJ,nX,nQ,nZ,nY,n1,n0,n2,n4,n5,n7,n9,n6,n8,n3,re,rt,rn,rr,ri,rs={};rs.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}();let ro=new class e{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(rc.isErrorNoTelemetry(e))throw new rc(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function ra(e){!function(e){return e instanceof rh||e instanceof Error&&e.name===ru&&e.message===ru}(e)&&ro.onUnexpectedError(e)}function rl(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:rc.isErrorNoTelemetry(e)}}return e}let ru="Canceled";class rh extends Error{constructor(){super(ru),this.name=this.message}}class rc extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof rc)return e;let t=new rc;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class rd extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,rd.prototype)}}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let n=Object.freeze([]);function*r(e){yield e}e.empty=function(){return n},e.single=r;e.wrap=function(e){return t(e)?e:r(e)};e.from=function(e){return e||n};e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]};e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done};e.first=function(e){return e[Symbol.iterator]().next().value};e.some=function(e,t){for(let n of e)if(t(n))return!0;return!1};e.find=function(e,t){for(let n of e)if(t(n))return n};e.filter=function*(e,t){for(let n of e)t(n)&&(yield n)};e.map=function*(e,t){let n=0;for(let r of e)yield t(r,n++)};e.concat=function*(...e){for(let t of e)for(let e of t)yield e};e.reduce=function(e,t,n){let r=n;for(let n of e)r=t(r,n);return r};e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);ti}]}}(ts||(ts={}));let rf=null;function rm(e){return null==rf||rf.trackDisposable(e),e}function rg(e){null==rf||rf.markAsDisposed(e)}function rp(e,t){null==rf||rf.setParent(e,t)}function rv(e){if(ts.is(e)){let t=[];for(let n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function rb(e){let t=rm({dispose:function(e){let t;let n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments),t)}}(()=>{rg(t),e()})});return t}class ry{constructor(){this._toDispose=new Set,this._isDisposed=!1,rm(this)}dispose(){if(!this._isDisposed)rg(this),this._isDisposed=!0,this.clear()}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{rv(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return rp(e,this),this._isDisposed?!ry.DISABLE_DISPOSED_WARNING&&console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){if(!!e)this._toDispose.has(e)&&(this._toDispose.delete(e),rp(e,null))}}ry.DISABLE_DISPOSED_WARNING=!1;class r_{constructor(){this._store=new ry,rm(this),rp(this._store,this)}dispose(){rg(this),this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}r_.None=Object.freeze({dispose(){}}),Symbol.iterator;class rC{constructor(e){this.element=e,this.next=rC.Undefined,this.prev=rC.Undefined}}rC.Undefined=new rC(void 0);class rS{constructor(){this._first=rC.Undefined,this._last=rC.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===rC.Undefined}clear(){let e=this._first;for(;e!==rC.Undefined;){let t=e.next;e.prev=rC.Undefined,e.next=rC.Undefined,e=t}this._first=rC.Undefined,this._last=rC.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new rC(e);if(this._first===rC.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{!r&&(r=!0,this._remove(n))}}shift(){if(this._first!==rC.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==rC.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==rC.Undefined&&e.next!==rC.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===rC.Undefined&&e.next===rC.Undefined?(this._first=rC.Undefined,this._last=rC.Undefined):e.next===rC.Undefined?(this._last=this._last.prev,this._last.next=rC.Undefined):e.prev===rC.Undefined&&(this._first=this._first.next,this._first.prev=rC.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==rC.Undefined;)yield e.element,e=e.next}}let rw=globalThis.performance&&"function"==typeof globalThis.performance.now;class rL{static create(e){return new rL(e)}constructor(e){this._now=rw&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}!function(e){function t(e){}e.None=()=>r_.None;function n(e){return(t,n=null,r)=>{let i,s=!1;return i=e(e=>s?void 0:(i?i.dispose():s=!0,t.call(n,e)),null,r),s&&i.dispose(),i}}function r(e,t,n){return s((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i),n)}e.defer=function(e,t){return o(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=n,e.map=r;function i(e,t,n){return s((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i),n)}e.forEach=function(e,t,n){return s((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i),n)},e.filter=i;e.signal=function(e){return e};e.any=function(...e){return(t,n=null,r)=>(function(e,t){return t instanceof Array?t.push(e):t&&t.add(e),e})(function(...e){let t=rb(()=>rv(e));return!function(e,t){if(!!rf)for(let n of e)rf.setParent(n,t)}(e,t),t}(...e.map(e=>e(e=>t.call(n,e)))),r)};function s(e,n){let r;let i={onWillAddFirstListener(){r=e(s.fire,s)},onDidRemoveLastListener(){null==r||r.dispose()}};!n&&t(i);let s=new rR(i);return null==n||n.add(s),s.event}e.reduce=function(e,t,n,i){let s=n;return r(e,e=>s=t(s,e),i)};function o(e,n,r=100,i=!1,s=!1,a,l){let u,h,c,d;let f=0,m={leakWarningThreshold:a,onWillAddFirstListener(){u=e(e=>{f++,c=n(c,e),i&&!d&&(g.fire(c),c=void 0),h=()=>{let e=c;c=void 0,d=void 0,(!i||f>1)&&g.fire(e),f=0},"number"==typeof r?(clearTimeout(d),d=setTimeout(h,r)):void 0===d&&(d=0,queueMicrotask(h))})},onWillRemoveListener(){s&&f>0&&(null==h||h())},onDidRemoveLastListener(){h=void 0,u.dispose()}};!l&&t(m);let g=new rR(m);return null==l||l.add(g),g.event}e.debounce=o;e.accumulate=function(t,n=0,r){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],n,void 0,!0,void 0,r)};e.latch=function(e,t=(e,t)=>e===t,n){let r,s=!0;return i(e,e=>{let n=s||!t(e,r);return s=!1,r=e,n},n)};e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,e=>!n(e),r)]};e.buffer=function(e,t=!1,n=[],r){let i=n.slice(),s=e(e=>{i?i.push(e):a.fire(e)});r&&r.add(s);let o=()=>{null==i||i.forEach(e=>a.fire(e)),i=null},a=new rR({onWillAddFirstListener(){!s&&(s=e(e=>a.fire(e)),r&&r.add(s))},onDidAddFirstListener(){i&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return r&&r.add(a),a.event};e.chain=function(e,t){return(n,r,i)=>{let s=t(new l);return e(function(e){let t=s.evaluate(e);t!==a&&n.call(r,t)},void 0,i)}};let a=Symbol("HaltChainable");class l{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:a),this}reduce(e,t){let n=t;return this.steps.push(t=>n=e(n,t)),this}latch(e=(e,t)=>e===t){let t,n=!0;return this.steps.push(r=>{let i=n||!e(r,t);return n=!1,t=r,i?r:a}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new rR({onWillAddFirstListener:()=>e.on(t,r),onDidRemoveLastListener:()=>e.removeListener(t,r)});return i.event};e.fromDOMEventEmitter=function(e,t,n=e=>e){let r=(...e)=>i.fire(n(...e)),i=new rR({onWillAddFirstListener:()=>e.addEventListener(t,r),onDidRemoveLastListener:()=>e.removeEventListener(t,r)});return i.event};e.toPromise=function(e){return new Promise(t=>n(e)(t))};e.fromPromise=function(e){let t=new rR;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event};e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))};e.runAndSubscribeWithStore=function(e,t){let n=null;function r(e){null==n||n.dispose(),t(e,n=new ry)}r(void 0);let i=e(e=>r(e));return rb(()=>{i.dispose(),null==n||n.dispose()})};class u{constructor(e,n){this._observable=e,this._counter=0,this._hasChanged=!1;let r={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};!n&&t(r),this.emitter=new rR(r),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new u(e,t).emitter.event};e.fromObservableLight=function(e){return t=>{let n=0,r=!1,i={beginUpdate(){n++},endUpdate(){0==--n&&(e.reportChanges(),r&&(r=!1,t()))},handlePossibleChange(){},handleChange(){r=!0}};return e.addObserver(i),e.reportChanges(),{dispose(){e.removeObserver(i)}}}}}(to||(to={}));class rx{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${rx._idPool++}`,rx.all.add(this)}start(e){this._stopWatch=new rL,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}rx.all=new Set,rx._idPool=0;class rE{constructor(e,t=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let n=this.threshold;if(n<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class rN{static create(){var e;return new rN(null!==(e=Error().stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class rA{constructor(e){this.value=e}}let rk=(e,t)=>{if(e instanceof rA)t(e);else for(let n=0;n{var r,i,s,o,a;let l,u;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),r_.None;if(this._disposed)return r_.None;t&&(e=e.bind(t));let h=new rA(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(h.stack=rN.create(),l=this._leakageMon.check(h.stack,this._size+1)),this._listeners?this._listeners instanceof rA?(null!==(a=this._deliveryQueue)&&void 0!==a||(this._deliveryQueue=new rT),this._listeners=[this._listeners,h]):this._listeners.push(h):(null===(i=null===(r=this._options)||void 0===r?void 0:r.onWillAddFirstListener)||void 0===i||i.call(r,this),this._listeners=h,null===(o=null===(s=this._options)||void 0===s?void 0:s.onDidAddFirstListener)||void 0===o||o.call(s,this)),this._size++;let c=rb(()=>{null==l||l(),this._removeListener(h)});return n instanceof ry?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}_removeListener(e){var t,n,r,i;if(null===(n=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===n||n.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(i=null===(r=this._options)||void 0===r?void 0:r.onDidRemoveLastListener)||void 0===i||i.call(r,this),this._size=0;return}let s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;let a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}class rT{constructor(){this.i=-1,this.end=0}enqueue(e,t,n){this.i=0,this.end=n,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}Object.prototype.hasOwnProperty;function rM(e){let t=[];for(let n of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[n]&&t.push(n);return t}let rO="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function rI(e,t,...n){var r,i;let s;return r=t,s=0===(i=n).length?r:r.replace(/\{(\d+)\}/g,(e,t)=>{let n=i[t[0]],r=e;return"string"==typeof n?r=n:("number"==typeof n||"boolean"==typeof n||null==n)&&(r=String(n)),r}),rO&&(s="\uFF3B"+s.replace(/[aouei]/g,"$&$&")+"\uFF3D"),s}let rP=!1,rF=!1,rV=!1,rD=!1,rq=!1,rK=!1,rj=!1,rU=!1;let rB="en";let r$="object"==typeof self?self:"object"==typeof rs.g?rs.g:{};void 0!==r$.vscode&&void 0!==r$.vscode.process?i=r$.vscode.process:"undefined"!=typeof process&&(i=process);let rW="string"==typeof(null===(ta=null==i?void 0:i.versions)||void 0===ta?void 0:ta.electron)&&(null==i?void 0:i.type)==="renderer";if("object"!=typeof navigator||rW){if("object"==typeof i){rP="win32"===i.platform,rF="darwin"===i.platform,!(rV="linux"===i.platform)||!i.env.SNAP||i.env.SNAP_REVISION,!i.env.CI&&i.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=i.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),n=t.availableLanguages["*"];t.locale,t.osLocale;t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else{;rP=(r=navigator.userAgent).indexOf("Windows")>=0,rF=r.indexOf("Macintosh")>=0,(r.indexOf("Macintosh")>=0||r.indexOf("iPad")>=0||r.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,rV=r.indexOf("Linux")>=0,null==r||r.indexOf("Mobi"),rq=!0;let e=void(m=rI({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));navigator.language}rF||rP;let rH=rP,rz=rF;rq&&r$.importScripts;let rG=r,rJ="function"==typeof r$.postMessage&&!r$.importScripts;(()=>{if(rJ){let e=[];r$.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n{let r=++t;e.push({id:r,callback:n}),r$.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();let rX=!!(rG&&rG.indexOf("Chrome")>=0);rG&&rG.indexOf("Firefox"),!rX&&rG&&rG.indexOf("Safari"),rG&&rG.indexOf("Edg/"),rG&&rG.indexOf("Android");class rQ{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function rZ(e){return e>=65&&e<=90}function rY(e){return 55296<=e&&e<=56319}function r1(e){return 56320<=e&&e<=57343}function r0(e,t){return(e-55296<<10)+(t-56320)+65536}let r2=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class r4{static getInstance(){return!r4._INSTANCE&&(r4._INSTANCE=new r4),r4._INSTANCE}constructor(){this._data=function(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}()}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,n=t.length/3,r=1;for(;r<=n;)if(et[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}r4._INSTANCE=null;class r5{static getInstance(e){return tl.cache.get(Array.from(e))}static getLocales(){return tl._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}tl=r5,r5.ambiguousCharacterData=new rQ(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),r5.cache=new class e{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function n(e){let t=new Map;for(let n=0;n!e.startsWith("_")&&e in r);0===i.length&&(i=["_default"]);for(let e of i)t=function(e,t){if(!e)return t;let n=new Map;for(let[r,i]of e)t.has(r)&&n.set(r,i);return n}(t,n(r[e]));let s=function(e,t){let n=new Map(e);for(let[e,r]of t)n.set(e,r);return n}(n(r._common),t);return new tl(s)}),r5._locales=new rQ(()=>Object.keys(tl.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class r7{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return!this._data&&(this._data=new Set(r7.getRawData())),this._data}static isInvisibleCharacter(e){return r7.getData().has(e)}static get codePoints(){return r7.getData()}}r7._data=void 0;class r9{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class r6{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class r8{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class r3{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class ie{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class it{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new r9(this._workerId,n,e,t))})}listen(e,t){let n=null,r=new rR({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new r8(this._workerId,n,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new ie(this._workerId,n)),n=null}});return r.event}handleMessage(e){if(!!e&&!!e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId))this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&((n=Error()).name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),t.reject(n);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send(new r6(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=rl(e.detail)),this._send(new r6(this._workerId,t,void 0,rl(e)))})}_handleSubscribeEventMessage(e){let t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new r3(this._workerId,t,e))});this._pendingEvents.set(t,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let n=0;n{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(ii(e)){let n=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on request handler.`);return n}if(ir(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,n,r){this._protocol.setWorkerId(e);let i=function(e,t,n){let r=e=>function(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)},s={};for(let t of e){if(ii(t)){s[t]=i(t);continue}if(ir(t)){s[t]=n(t,void 0);continue}s[t]=r(t)}return s}(r,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(rM(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{(0,globalThis.require)([n],n=>{if(this._requestHandler=n.create(i),!this._requestHandler){t(Error("No RequestHandler!"));return}e(rM(this._requestHandler))},t)}))}}class io{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function ia(e,t){return(t<<5)-t+e|0}function il(e,t,n=32){let r=n-t;return(e<>>r)>>>0}function iu(e,t=0,n=e.byteLength,r=0){for(let i=0;ie.toString(16).padStart(2,"0")).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class ic{constructor(){this._h0=0x67452301,this._h1=0xefcdab89,this._h2=0x98badcfe,this._h3=0x10325476,this._h4=0xc3d2e1f0,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,n;let r=e.length;if(0===r)return;let i=this._buff,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,n=-1,o=0):(t=e.charCodeAt(0),n=0);;){let a=t;if(rY(t)){if(n+1>>6:(n<65536?e[t++]=224|(61440&n)>>>12:(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12),e[t++]=128|(4032&n)>>>6),e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return!this._finished&&(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),ih(this._h0)+ih(this._h1)+ih(this._h2)+ih(this._h3)+ih(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,iu(this._buff,this._buffLen),this._buffLen>56&&(this._step(),iu(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/0x100000000),!1),this._buffDV.setUint32(60,e%0x100000000,!1),this._step()}_step(){let e,t,n;let r=ic._bigBlock32,i=this._buffDV;for(let e=0;e<64;e+=4)r.setUint32(e,i.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)r.setUint32(e,il(r.getUint32(e-12,!1)^r.getUint32(e-32,!1)^r.getUint32(e-56,!1)^r.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let i=0;i<80;i++)i<20?(e=o&a|~o&l,t=0x5a827999):i<40?(e=o^a^l,t=0x6ed9eba1):i<60?(e=o&a|o&l|a&l,t=0x8f1bbcdc):(e=o^a^l,t=0xca62c1d6),n=il(s,5)+e+u+t+r.getUint32(4*i,!1)&0xffffffff,u=l,l=a,a=il(o,30),o=s,s=n;this._h0=this._h0+s&0xffffffff,this._h1=this._h1+o&0xffffffff,this._h2=this._h2+a&0xffffffff,this._h3=this._h3+l&0xffffffff,this._h4=this._h4+u&0xffffffff}}ic._bigBlock32=new DataView(new ArrayBuffer(320));class id{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new io(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=0x40000000,this.m_modifiedStart=0x40000000}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class iv{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;let[r,i,s]=iv._getElements(e),[o,a,l]=iv._getElements(t);this._hasStrings=s&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(iv._isStringArray(t)){let e=new Int32Array(t.length);for(let n=0,r=t.length;n=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let i;return n<=r?(im.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new io(e,0,n,r-n+1)]):e<=t?(im.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new io(e,t-e+1,n,0)]):(im.Assert(e===t+1,"originalStart should only be one more than originalEnd"),im.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}let s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,n,r,s,o,i),l=s[0],u=o[0];if(null!==a)return a;if(!i[0]){let s=this.ComputeDiffRecursive(e,l,n,u,i),o=[];return o=i[0]?[new io(l+1,t-(l+1)+1,u+1,r-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,r,i),this.ConcatenateChanges(s,o)}return[new io(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,s,o,a,l,u,h,c,d,f,m,g,p,v){let b=null,y=null,_=new ip,C=t,S=n,w=d[0]-g[0]-r,L=-0x40000000,x=this.m_forwardHistory.length-1;do{let t=w+e;t===C||t=0&&(e=(l=this.m_forwardHistory[x])[0],C=1,S=l.length-1)}while(--x>=-1);if(b=_.getReverseChanges(),v[0]){let e=d[0]+1,t=g[0]+1;if(null!==b&&b.length>0){let n=b[b.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new io(e,c-e+1,t,m-t+1)]}else{_=new ip,C=s,S=o,w=d[0]-g[0]-a,L=0x40000000,x=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+i;e===C||e=u[e+1]?(f=(h=u[e+1]-1)-w-a,h>L&&_.MarkNextChange(),L=h+1,_.AddOriginalElement(h+1,f+1),w=e+1-i):(f=(h=u[e-1])-w-a,h>L&&_.MarkNextChange(),L=h,_.AddModifiedElement(h+1,f+1),w=e-1-i),x>=0&&(i=(u=this.m_reverseHistory[x])[0],C=1,S=u.length-1)}while(--x>=-1);y=_.getChanges()}return this.ConcatenateChanges(b,y)}ComputeRecursionPoint(e,t,n,r,i,s,o){let a=0,l=0,u=0,h=0,c=0,d=0;e--,n--,i[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let f=t-e+(r-n),m=f+1,g=new Int32Array(m),p=new Int32Array(m),v=r-n,b=t-e,y=e-n,_=t-r,C=(b-v)%2==0;g[v]=e,p[b]=t,o[0]=!1;for(let S=1;S<=f/2+1;S++){let f=0,w=0;u=this.ClipDiagonalBound(v-S,S,v,m),h=this.ClipDiagonalBound(v+S,S,v,m);for(let e=u;e<=h;e+=2){l=(a=e===u||ef+w&&(f=a,w=l),!C&&Math.abs(e-b)<=S-1&&a>=p[e]){if(i[0]=a,s[0]=l,n<=p[e]&&S<=1448)return this.WALKTRACE(v,u,h,y,b,c,d,_,g,p,a,t,i,l,r,s,C,o);return null}}let L=(f-e+(w-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,L)){if(o[0]=!0,i[0]=f,s[0]=w,!(L>0)||!(S<=1448))return e++,n++,[new io(e,t-e+1,n,r-n+1)];break}c=this.ClipDiagonalBound(b-S,S,b,m),d=this.ClipDiagonalBound(b+S,S,b,m);for(let f=c;f<=d;f+=2){l=(a=f===c||f=p[f+1]?p[f+1]-1:p[f-1])-(f-b)-_;let m=a;for(;a>e&&l>n&&this.ElementsAreEqual(a,l);)a--,l--;if(p[f]=a,C&&Math.abs(f-v)<=S&&a<=g[f]){if(i[0]=a,s[0]=l,m>=g[f]&&S<=1448)return this.WALKTRACE(v,u,h,y,b,c,d,_,g,p,a,t,i,l,r,s,C,o);return null}}if(S<=1447){let e=new Int32Array(h-u+2);e[0]=v-u+1,ig.Copy2(g,u,e,1,h-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(d-c+2))[0]=b-c+1,ig.Copy2(p,c,e,1,d-c+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,u,h,y,b,c,d,_,g,p,a,t,i,l,r,s,C,o)}PrettifyChanges(e){for(let t=0;t0,o=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){let n=e[t],r=0,i=0;if(t>0){let n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}let s=n.originalLength>0,o=n.modifiedLength>0,a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){let t=n.originalStart-e,u=n.modifiedStart-e;if(tl&&(l=h,a=e)}n.originalStart-=a,n.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,n=e.length;t0&&n>a&&(a=n,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return!!(e<=0)||!!(e>=this._modifiedElementsOrHash.length-1)||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){let i=this._OriginalRegionIsBoundary(e,t)?1:0;return i+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){let r=Array(e.length+t.length-1);return ig.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],ig.Copy(t,1,r,e.length,t.length-1),r}{let n=Array(e.length+t.length);return ig.Copy(e,0,n,0,e.length),ig.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(im.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),im.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return n[0]=null,!1;{let r=e.originalStart,i=e.originalLength,s=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new io(r,i,s,o),!0}}ClipDiagonalBound(e,t,n,r){if(e>=0&&et.cwd()}}else"undefined"!=typeof process?e={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:e={get platform(){return rH?"win32":rz?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let ib=e.cwd,iy=e.env,i_=e.platform;class iC extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";let i=-1!==e.indexOf(".")?"property":"argument",s=`The "${e}" ${i} ${r} of type ${t}`;super(s+=`. Received type ${typeof n}`),this.code="ERR_INVALID_ARG_TYPE"}}function iS(e,t){if("string"!=typeof e)throw new iC(t,"string",e)}let iw="win32"===i_;function iL(e){return 47===e||92===e}function ix(e){return 47===e}function iE(e){return e>=65&&e<=90||e>=97&&e<=122}function iN(e,t,n,r){let i="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=i.lastIndexOf(n);-1===e?(i="",s=0):s=(i=i.slice(0,e)).length-1-i.lastIndexOf(n),o=u,a=0;continue}if(0!==i.length){i="",s=0,o=u,a=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",s=2)}else i.length>0?i+=`${n}${e.slice(o+1,u)}`:i=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return i}function iA(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new iC(t,"Object",e)}(t,"pathObject");let n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}let ik={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(iS(s=e[i],"path"),0===s.length)continue}else 0===t.length?s=ib():(void 0===(s=iy[`=${t}`]||ib())||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===s.charCodeAt(2))&&(s=`${t}\\`);let o=s.length,a=0,l="",u=!1,h=s.charCodeAt(0);if(1===o)iL(h)&&(a=1,u=!0);else if(iL(h)){if(u=!0,iL(s.charCodeAt(1))){let e=2,t=2;for(;e2&&iL(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(r){if(t.length>0)break}else if(n=`${s.slice(a)}\\${n}`,r=u,u&&t.length>0)break}return n=iN(n,!r,"\\",iL),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){let t;iS(e,"path");let n=e.length;if(0===n)return".";let r=0,i=!1,s=e.charCodeAt(0);if(1===n)return ix(s)?"\\":e;if(iL(s)){if(i=!0,iL(e.charCodeAt(1))){let i=2,s=2;for(;i2&&iL(e.charCodeAt(2))&&(i=!0,r=3));let o=r0&&iL(e.charCodeAt(n-1))&&(o+="\\"),void 0===t)?i?`\\${o}`:o:i?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){iS(e,"path");let t=e.length;if(0===t)return!1;let n=e.charCodeAt(0);return iL(n)||t>2&&iE(n)&&58===e.charCodeAt(1)&&iL(e.charCodeAt(2))},join(...e){let t,n;if(0===e.length)return".";for(let r=0;r0&&(void 0===t?t=n=i:t+=`\\${i}`)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&iL(n.charCodeAt(0))){++i;let e=n.length;e>1&&iL(n.charCodeAt(1))&&(++i,e>2&&(iL(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i=2&&(t=`\\${t.slice(i)}`)}return ik.normalize(t)},relative(e,t){if(iS(e,"from"),iS(t,"to"),e===t)return"";let n=ik.resolve(e),r=ik.resolve(t);if(n===r)return"";if(e=n.toLowerCase(),t=r.toLowerCase(),e===t)return"";let i=0;for(;ii&&92===e.charCodeAt(s-1);)s--;let o=s-i,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,h=oh){if(92===t.charCodeAt(a+d))return r.slice(a+d+1);if(2===d)return r.slice(a+d)}o>h&&(92===e.charCodeAt(i+d)?c=d:2===d&&(c=3)),-1===c&&(c=0)}let f="";for(d=i+c+1;d<=s;++d)(d===s||92===e.charCodeAt(d))&&(f+=0===f.length?"..":"\\..");return(a+=c,f.length>0)?`${f}${r.slice(a,l)}`:(92===r.charCodeAt(a)&&++a,r.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=ik.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(iE(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){iS(e,"path");let t=e.length;if(0===t)return".";let n=-1,r=0,i=e.charCodeAt(0);if(1===t)return iL(i)?e:".";if(iL(i)){if(n=r=1,iL(e.charCodeAt(1))){let i=2,s=2;for(;i2&&iL(e.charCodeAt(2))?3:2);let s=-1,o=!0;for(let n=t-1;n>=r;--n)if(iL(e.charCodeAt(n))){if(!o){s=n;break}}else o=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){let n;void 0!==t&&iS(t,"ext"),iS(e,"path");let r=0,i=-1,s=!0;if(e.length>=2&&iE(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){let l=e.charCodeAt(n);if(iL(l)){if(!s){r=n+1;break}}else -1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(iL(e.charCodeAt(n))){if(!s){r=n+1;break}}else -1===i&&(s=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){iS(e,"path");let t=0,n=-1,r=0,i=-1,s=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&iE(e.charCodeAt(0))&&(t=r=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(iL(t)){if(!s){r=a+1;break}continue}-1===i&&(s=!1,i=a+1),46===t?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1)}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:iA.bind(null,"\\"),parse(e){iS(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let n=e.length,r=0,i=e.charCodeAt(0);if(1===n)return iL(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(iL(i)){if(r=1,iL(e.charCodeAt(1))){let t=2,i=2;for(;t0&&(t.root=e.slice(0,r));let s=-1,o=r,a=-1,l=!0,u=e.length-1,h=0;for(;u>=r;--u){if(iL(i=e.charCodeAt(u))){if(!l){o=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===i?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1)}return -1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),o>0&&o!==r?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},iR=(()=>{if(iw){let e=/\\/g;return()=>{let t=ib().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>ib()})(),iT={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:iR();if(iS(i,"path"),0!==i.length)t=`${i}/${t}`,n=47===i.charCodeAt(0)}return(t=iN(t,!n,"/",ix),n)?`/${t}`:t.length>0?t:"."},normalize(e){if(iS(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);if(0===(e=iN(e,!t,"/",ix)).length)return t?"/":n?"./":".";return n&&(e+="/"),t?`/${e}`:e},isAbsolute:e=>(iS(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=r:t+=`/${r}`)}return void 0===t?".":iT.normalize(t)},relative(e,t){if(iS(e,"from"),iS(t,"to"),e===t)return"";if(e=iT.resolve(e),t=iT.resolve(t),e===t)return"";let n=e.length,r=n-1,i=t.length-1,s=rs){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else r>s&&(47===e.charCodeAt(1+a)?o=a:0===a&&(o=0))}let l="";for(a=1+o+1;a<=n;++a)(a===n||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(iS(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return -1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){let n;void 0!==t&&iS(t,"ext"),iS(e,"path");let r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){let l=e.charCodeAt(n);if(47===l){if(!s){r=n+1;break}}else -1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else -1===i&&(s=!1,i=n+1);return -1===i?"":e.slice(r,i)},extname(e){iS(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!i){n=o+1;break}continue}-1===r&&(i=!1,r=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:iA.bind(null,"/"),parse(e){let t;iS(e,"path");let n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;let r=47===e.charCodeAt(0);r?(n.root="/",t=1):t=0;let i=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){s=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===t?-1===i?i=l:1!==u&&(u=1):-1!==i&&(u=-1)}if(-1!==o){let t=0===s&&r?1:s;-1===i||0===u||1===u&&i===o-1&&i===s+1?n.base=n.name=e.slice(t,o):(n.name=e.slice(t,i),n.base=e.slice(t,o),n.ext=e.slice(i,o))}return s>0?n.dir=e.slice(0,s-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};iT.win32=ik.win32=ik,iT.posix=ik.posix=iT,iw?ik.normalize:iT.normalize,iw?ik.resolve:iT.resolve,iw?ik.relative:iT.relative,iw?ik.dirname:iT.dirname,iw?ik.basename:iT.basename,iw?ik.extname:iT.extname,iw?ik.sep:iT.sep;let iM=/^\w[\w\d+.-]*$/,iO=/^\//,iI=/^\/\//,iP="/",iF=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class iV{static isUri(e){return e instanceof iV||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,n,r,i,s=!1){if("object"==typeof e)this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||"";else{var o,a;this.scheme=(o=e,a=s,o||a?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==iP&&(t=iP+t):t=iP}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",!function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!iM.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!iO.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(iI.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,s)}}get fsPath(){return iB(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment)?this:new iq(t,n,r,i,s)}static parse(e,t=!1){let n=iF.exec(e);return n?new iq(n[2]||"",iH(n[4]||""),iH(n[5]||""),iH(n[7]||""),iH(n[9]||""),t):new iq("","","","","")}static file(e){let t="";if(rH&&(e=e.replace(/\\/g,iP)),e[0]===iP&&e[1]===iP){let n=e.indexOf(iP,2);-1===n?(t=e.substring(2),e=iP):(t=e.substring(2,n),e=e.substring(n)||iP)}return new iq("file",t,e,"","")}static from(e,t){return new iq(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){let n;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return n=rH&&"file"===e.scheme?iV.file(ik.join(iB(e,!0),...t)).path:iT.join(e.path,...t),e.with({path:n})}toString(e=!1){return i$(this,e)}toJSON(){return this}static revive(e){var t,n;if(!e)return e;if(e instanceof iV)return e;{let r=new iq(e);return r._formatted=null!==(t=e.external)&&void 0!==t?t:null,r._fsPath=e._sep===iD&&null!==(n=e.fsPath)&&void 0!==n?n:null,r}}}let iD=rH?1:void 0;class iq extends iV{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return!this._fsPath&&(this._fsPath=iB(this,!1)),this._fsPath}toString(e=!1){return e?i$(this,!0):(!this._formatted&&(this._formatted=i$(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=iD),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let iK={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function ij(e,t,n){let r;let i=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),void 0!==r&&(r+=e.charAt(s));else{void 0===r&&(r=e.substr(0,s));let t=iK[o];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=t):-1===i&&(i=s)}}return -1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function iU(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,rH&&(n=n.replace(/\//g,"\\")),n}function i$(e,t){let n=t?iU:ij,r="",{scheme:i,authority:s,path:o,query:a,fragment:l}=e;if(i&&(r+=i,r+=":"),(s||"file"===i)&&(r+=iP,r+=iP),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=":",r+=n(t.substr(e+1),!1,!0)),r+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?r+=n(s,!1,!0):(r+=n(s.substr(0,e),!1,!0),r+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=n(o,!0,!1)}return a&&(r+="?",r+=n(a,!1,!1)),l&&(r+="#",r+=t?l:ij(l,!1,!1)),r}let iW=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function iH(e){return e.match(iW)?e.replace(iW,e=>(function e(t){try{return decodeURIComponent(t)}catch(n){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class iz{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new iz(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return iz.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return iz.isBefore(this,e)}static isBefore(e,t){return!!(e.lineNumbern||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return iG.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return iG.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))&&!0}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))&&!0}containsRange(e){return iG.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))&&!0}strictContainsRange(e){return iG.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))&&!0}plusRange(e){return iG.plusRange(this,e)}static plusRange(e,t){let n,r,i,s;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,s=e.endColumn),new iG(n,r,i,s)}intersectRanges(e){return iG.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,s=e.endColumn,o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(nl?(i=l,s=u):i===l&&(s=Math.min(s,u)),n>i||n===i&&r>s)?null:new iG(n,r,i,s)}equalsRange(e){return iG.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return iG.getEndPosition(this)}static getEndPosition(e){return new iz(e.endLineNumber,e.endColumn)}getStartPosition(){return iG.getStartPosition(this)}static getStartPosition(e){return new iz(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new iG(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new iG(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return iG.collapseToStart(this)}static collapseToStart(e){return new iG(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return iG.collapseToEnd(this)}static collapseToEnd(e){return new iG(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new iG(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new iG(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new iG(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}function iJ(e,t){return(n,r)=>t(e(n),e(r))}(g=tu||(tu={})).isLessThan=function(e){return e<0},g.isLessThanOrEqual=function(e){return e<=0},g.isGreaterThan=function(e){return e>0},g.isNeitherLessOrGreaterThan=function(e){return 0===e},g.greaterThan=1,g.lessThan=-1,g.neitherLessOrGreaterThan=0;let iX=(e,t)=>e-t;class iQ{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new iQ(t=>this.iterate(n=>!e(n)||t(n)))}map(e){return new iQ(t=>this.iterate(n=>t(e(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t;let n=!0;return this.iterate(r=>((n||tu.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}}function iZ(e){return e<0?0:e>255?255:0|e}function iY(e){return e<0?0:e>0xffffffff?0xffffffff:0|e}iQ.empty=new iQ(e=>{});class i1{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=iY(e);let n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=iY(e),t=iY(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;let i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=iY(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,s=(i=this.prefixSum[r])-this.values[r],e=i)t=r+1;else break;return new i0(r,e-s)}}class i0{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class i2{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){for(let t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new iz(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r/?"){if(!(e.indexOf(n)>=0))t+="\\"+n}return RegExp(t+="\\s]+)","g")}(),i5=new rS;function i7(e,t,n,r,i){if(!i&&(i=ts.first(i5)),n.length>i.maxLen){let s=e-i.maxLen/2;return s<0?s=0:r+=s,n=n.substring(s,e+i.maxLen/2),i7(e,t,n,r,i)}let s=Date.now(),o=e-1-r,a=-1,l=null;for(let e=1;!(Date.now()-s>=i.timeBudget);e++){;let r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);let s=function(e,t,n,r){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)break}return null}(t,n,o,a);if(!s&&l)break;if(l=s,r<=0)break;a=r}if(l){let e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}i5.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class i9{constructor(e){let t=iZ(e);this._defaultValue=t,this._asciiMap=i9._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let n=iZ(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class i6{constructor(e,t,n){let r=new Uint8Array(e*t);for(let i=0,s=e*t;it&&(t=s),i>n&&(n=i),o>n&&(n=o)}t++;let r=new i6(++n,t,0);for(let t=0,n=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let i3=null;function se(){return null===i3&&(i3=new i8([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),i3}let st=null;class sn{static _createLink(e,t,n,r,i){let s=i-1;do{let n=t.charCodeAt(s);if(2!==e.get(n))break;s--}while(s>r);if(r>0){let e=t.charCodeAt(r-1),n=t.charCodeAt(s);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&s--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:s+2},url:t.substring(r,s+1)}}static computeLinks(e,t=se()){let n=function(){if(null===st){st=new i9(0);let e=" <>'\"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026";for(let t=0;t=0?((r+=n?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null}}sr.INSTANCE=new sr;let si=Object.freeze(function(e,t){let n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});(p=th||(th={})).isCancellationToken=function(e){return e===p.None||e===p.Cancelled||e instanceof ss||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},p.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:to.None}),p.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:si});class ss{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?si:(!this._emitter&&(this._emitter=new rR),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class so{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return!this._token&&(this._token=new ss),this._token}cancel(){this._token?this._token instanceof ss&&this._token.cancel():this._token=th.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof ss&&this._token.dispose():this._token=th.None}}class sa{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let sl=new sa,su=new sa,sh=new sa,sc=Array(230),sd={},sf=[],sm=Object.create(null),sg=Object.create(null),sp=[],sv=[];for(let e=0;e<=193;e++)sp[e]=-1;for(let e=0;e<=132;e++)sv[e]=-1;!function(){let e=[],t=[];for(let n of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[r,i,s,o,a,l,u,h,c]=n;if(!t[i]&&(t[i]=!0,sf[i]=s,sm[s]=i,sg[s.toLowerCase()]=i,r&&(sp[i]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(sv[o]=i))),!e[o]){if(e[o]=!0,!a)throw Error(`String representation missing for key code ${o} around scan code ${s}`);sl.define(o,a),su.define(o,h||a),sh.define(o,c||h||a)}l&&(sc[l]=o),u&&(sd[u]=o)}sv[3]=46}(),(v=tc||(tc={})).toString=function(e){return sl.keyCodeToStr(e)},v.fromString=function(e){return sl.strToKeyCode(e)},v.toUserSettingsUS=function(e){return su.keyCodeToStr(e)},v.toUserSettingsGeneral=function(e){return sh.keyCodeToStr(e)},v.fromUserSettings=function(e){return su.strToKeyCode(e)||sh.strToKeyCode(e)},v.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return sl.keyCodeToStr(e)};class sb extends iG{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return sb.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new sb(this.startLineNumber,this.startColumn,e,t):new sb(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new iz(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new iz(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new sb(e,t,this.endLineNumber,this.endColumn):new sb(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new sb(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new sb(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new sb(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new sb(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{if(this._tokenizationSupports.get(e)===t)this._tokenizationSupports.delete(e),this.handleChange([e])})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();let r=new sw(this,e,t);return this._factories.set(e,r),rb(()=>{let t=this._factories.get(e);if(!!t&&t===r)this._factories.delete(e),t.dispose()})}getOrCreate(e){return sS(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved||!1}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},(S=ty||(ty={}))[S.Unknown=0]="Unknown",S[S.Disabled=1]="Disabled",S[S.Enabled=2]="Enabled",(w=t_||(t_={}))[w.Invoke=1]="Invoke",w[w.Auto=2]="Auto",(L=tC||(tC={}))[L.None=0]="None",L[L.KeepWhitespace=1]="KeepWhitespace",L[L.InsertAsSnippet=4]="InsertAsSnippet",(x=tS||(tS={}))[x.Method=0]="Method",x[x.Function=1]="Function",x[x.Constructor=2]="Constructor",x[x.Field=3]="Field",x[x.Variable=4]="Variable",x[x.Class=5]="Class",x[x.Struct=6]="Struct",x[x.Interface=7]="Interface",x[x.Module=8]="Module",x[x.Property=9]="Property",x[x.Event=10]="Event",x[x.Operator=11]="Operator",x[x.Unit=12]="Unit",x[x.Value=13]="Value",x[x.Constant=14]="Constant",x[x.Enum=15]="Enum",x[x.EnumMember=16]="EnumMember",x[x.Keyword=17]="Keyword",x[x.Text=18]="Text",x[x.Color=19]="Color",x[x.File=20]="File",x[x.Reference=21]="Reference",x[x.Customcolor=22]="Customcolor",x[x.Folder=23]="Folder",x[x.TypeParameter=24]="TypeParameter",x[x.User=25]="User",x[x.Issue=26]="Issue",x[x.Snippet=27]="Snippet",(E=tw||(tw={}))[E.Deprecated=1]="Deprecated",(N=tL||(tL={}))[N.Invoke=0]="Invoke",N[N.TriggerCharacter=1]="TriggerCharacter",N[N.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(A=tx||(tx={}))[A.EXACT=0]="EXACT",A[A.ABOVE=1]="ABOVE",A[A.BELOW=2]="BELOW",(k=tE||(tE={}))[k.NotSet=0]="NotSet",k[k.ContentFlush=1]="ContentFlush",k[k.RecoverFromMarkers=2]="RecoverFromMarkers",k[k.Explicit=3]="Explicit",k[k.Paste=4]="Paste",k[k.Undo=5]="Undo",k[k.Redo=6]="Redo",(R=tN||(tN={}))[R.LF=1]="LF",R[R.CRLF=2]="CRLF",(T=tA||(tA={}))[T.Text=0]="Text",T[T.Read=1]="Read",T[T.Write=2]="Write",(M=tk||(tk={}))[M.None=0]="None",M[M.Keep=1]="Keep",M[M.Brackets=2]="Brackets",M[M.Advanced=3]="Advanced",M[M.Full=4]="Full",(O=tR||(tR={}))[O.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",O[O.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",O[O.accessibilitySupport=2]="accessibilitySupport",O[O.accessibilityPageSize=3]="accessibilityPageSize",O[O.ariaLabel=4]="ariaLabel",O[O.ariaRequired=5]="ariaRequired",O[O.autoClosingBrackets=6]="autoClosingBrackets",O[O.autoClosingComments=7]="autoClosingComments",O[O.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",O[O.autoClosingDelete=9]="autoClosingDelete",O[O.autoClosingOvertype=10]="autoClosingOvertype",O[O.autoClosingQuotes=11]="autoClosingQuotes",O[O.autoIndent=12]="autoIndent",O[O.automaticLayout=13]="automaticLayout",O[O.autoSurround=14]="autoSurround",O[O.bracketPairColorization=15]="bracketPairColorization",O[O.guides=16]="guides",O[O.codeLens=17]="codeLens",O[O.codeLensFontFamily=18]="codeLensFontFamily",O[O.codeLensFontSize=19]="codeLensFontSize",O[O.colorDecorators=20]="colorDecorators",O[O.colorDecoratorsLimit=21]="colorDecoratorsLimit",O[O.columnSelection=22]="columnSelection",O[O.comments=23]="comments",O[O.contextmenu=24]="contextmenu",O[O.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",O[O.cursorBlinking=26]="cursorBlinking",O[O.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",O[O.cursorStyle=28]="cursorStyle",O[O.cursorSurroundingLines=29]="cursorSurroundingLines",O[O.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",O[O.cursorWidth=31]="cursorWidth",O[O.disableLayerHinting=32]="disableLayerHinting",O[O.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",O[O.domReadOnly=34]="domReadOnly",O[O.dragAndDrop=35]="dragAndDrop",O[O.dropIntoEditor=36]="dropIntoEditor",O[O.emptySelectionClipboard=37]="emptySelectionClipboard",O[O.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",O[O.extraEditorClassName=39]="extraEditorClassName",O[O.fastScrollSensitivity=40]="fastScrollSensitivity",O[O.find=41]="find",O[O.fixedOverflowWidgets=42]="fixedOverflowWidgets",O[O.folding=43]="folding",O[O.foldingStrategy=44]="foldingStrategy",O[O.foldingHighlight=45]="foldingHighlight",O[O.foldingImportsByDefault=46]="foldingImportsByDefault",O[O.foldingMaximumRegions=47]="foldingMaximumRegions",O[O.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",O[O.fontFamily=49]="fontFamily",O[O.fontInfo=50]="fontInfo",O[O.fontLigatures=51]="fontLigatures",O[O.fontSize=52]="fontSize",O[O.fontWeight=53]="fontWeight",O[O.fontVariations=54]="fontVariations",O[O.formatOnPaste=55]="formatOnPaste",O[O.formatOnType=56]="formatOnType",O[O.glyphMargin=57]="glyphMargin",O[O.gotoLocation=58]="gotoLocation",O[O.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",O[O.hover=60]="hover",O[O.inDiffEditor=61]="inDiffEditor",O[O.inlineSuggest=62]="inlineSuggest",O[O.letterSpacing=63]="letterSpacing",O[O.lightbulb=64]="lightbulb",O[O.lineDecorationsWidth=65]="lineDecorationsWidth",O[O.lineHeight=66]="lineHeight",O[O.lineNumbers=67]="lineNumbers",O[O.lineNumbersMinChars=68]="lineNumbersMinChars",O[O.linkedEditing=69]="linkedEditing",O[O.links=70]="links",O[O.matchBrackets=71]="matchBrackets",O[O.minimap=72]="minimap",O[O.mouseStyle=73]="mouseStyle",O[O.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",O[O.mouseWheelZoom=75]="mouseWheelZoom",O[O.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",O[O.multiCursorModifier=77]="multiCursorModifier",O[O.multiCursorPaste=78]="multiCursorPaste",O[O.multiCursorLimit=79]="multiCursorLimit",O[O.occurrencesHighlight=80]="occurrencesHighlight",O[O.overviewRulerBorder=81]="overviewRulerBorder",O[O.overviewRulerLanes=82]="overviewRulerLanes",O[O.padding=83]="padding",O[O.pasteAs=84]="pasteAs",O[O.parameterHints=85]="parameterHints",O[O.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",O[O.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",O[O.quickSuggestions=88]="quickSuggestions",O[O.quickSuggestionsDelay=89]="quickSuggestionsDelay",O[O.readOnly=90]="readOnly",O[O.readOnlyMessage=91]="readOnlyMessage",O[O.renameOnType=92]="renameOnType",O[O.renderControlCharacters=93]="renderControlCharacters",O[O.renderFinalNewline=94]="renderFinalNewline",O[O.renderLineHighlight=95]="renderLineHighlight",O[O.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",O[O.renderValidationDecorations=97]="renderValidationDecorations",O[O.renderWhitespace=98]="renderWhitespace",O[O.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",O[O.roundedSelection=100]="roundedSelection",O[O.rulers=101]="rulers",O[O.scrollbar=102]="scrollbar",O[O.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",O[O.scrollBeyondLastLine=104]="scrollBeyondLastLine",O[O.scrollPredominantAxis=105]="scrollPredominantAxis",O[O.selectionClipboard=106]="selectionClipboard",O[O.selectionHighlight=107]="selectionHighlight",O[O.selectOnLineNumbers=108]="selectOnLineNumbers",O[O.showFoldingControls=109]="showFoldingControls",O[O.showUnused=110]="showUnused",O[O.snippetSuggestions=111]="snippetSuggestions",O[O.smartSelect=112]="smartSelect",O[O.smoothScrolling=113]="smoothScrolling",O[O.stickyScroll=114]="stickyScroll",O[O.stickyTabStops=115]="stickyTabStops",O[O.stopRenderingLineAfter=116]="stopRenderingLineAfter",O[O.suggest=117]="suggest",O[O.suggestFontSize=118]="suggestFontSize",O[O.suggestLineHeight=119]="suggestLineHeight",O[O.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",O[O.suggestSelection=121]="suggestSelection",O[O.tabCompletion=122]="tabCompletion",O[O.tabIndex=123]="tabIndex",O[O.unicodeHighlighting=124]="unicodeHighlighting",O[O.unusualLineTerminators=125]="unusualLineTerminators",O[O.useShadowDOM=126]="useShadowDOM",O[O.useTabStops=127]="useTabStops",O[O.wordBreak=128]="wordBreak",O[O.wordSeparators=129]="wordSeparators",O[O.wordWrap=130]="wordWrap",O[O.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",O[O.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",O[O.wordWrapColumn=133]="wordWrapColumn",O[O.wordWrapOverride1=134]="wordWrapOverride1",O[O.wordWrapOverride2=135]="wordWrapOverride2",O[O.wrappingIndent=136]="wrappingIndent",O[O.wrappingStrategy=137]="wrappingStrategy",O[O.showDeprecated=138]="showDeprecated",O[O.inlayHints=139]="inlayHints",O[O.editorClassName=140]="editorClassName",O[O.pixelRatio=141]="pixelRatio",O[O.tabFocusMode=142]="tabFocusMode",O[O.layoutInfo=143]="layoutInfo",O[O.wrappingInfo=144]="wrappingInfo",O[O.defaultColorDecorators=145]="defaultColorDecorators",O[O.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",O[O.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose",(I=tT||(tT={}))[I.TextDefined=0]="TextDefined",I[I.LF=1]="LF",I[I.CRLF=2]="CRLF",(P=tM||(tM={}))[P.LF=0]="LF",P[P.CRLF=1]="CRLF",(F=tO||(tO={}))[F.Left=1]="Left",F[F.Right=2]="Right",(V=tI||(tI={}))[V.None=0]="None",V[V.Indent=1]="Indent",V[V.IndentOutdent=2]="IndentOutdent",V[V.Outdent=3]="Outdent",(D=tP||(tP={}))[D.Both=0]="Both",D[D.Right=1]="Right",D[D.Left=2]="Left",D[D.None=3]="None",(q=tF||(tF={}))[q.Type=1]="Type",q[q.Parameter=2]="Parameter",(K=tV||(tV={}))[K.Automatic=0]="Automatic",K[K.Explicit=1]="Explicit",(j=tD||(tD={}))[j.DependsOnKbLayout=-1]="DependsOnKbLayout",j[j.Unknown=0]="Unknown",j[j.Backspace=1]="Backspace",j[j.Tab=2]="Tab",j[j.Enter=3]="Enter",j[j.Shift=4]="Shift",j[j.Ctrl=5]="Ctrl",j[j.Alt=6]="Alt",j[j.PauseBreak=7]="PauseBreak",j[j.CapsLock=8]="CapsLock",j[j.Escape=9]="Escape",j[j.Space=10]="Space",j[j.PageUp=11]="PageUp",j[j.PageDown=12]="PageDown",j[j.End=13]="End",j[j.Home=14]="Home",j[j.LeftArrow=15]="LeftArrow",j[j.UpArrow=16]="UpArrow",j[j.RightArrow=17]="RightArrow",j[j.DownArrow=18]="DownArrow",j[j.Insert=19]="Insert",j[j.Delete=20]="Delete",j[j.Digit0=21]="Digit0",j[j.Digit1=22]="Digit1",j[j.Digit2=23]="Digit2",j[j.Digit3=24]="Digit3",j[j.Digit4=25]="Digit4",j[j.Digit5=26]="Digit5",j[j.Digit6=27]="Digit6",j[j.Digit7=28]="Digit7",j[j.Digit8=29]="Digit8",j[j.Digit9=30]="Digit9",j[j.KeyA=31]="KeyA",j[j.KeyB=32]="KeyB",j[j.KeyC=33]="KeyC",j[j.KeyD=34]="KeyD",j[j.KeyE=35]="KeyE",j[j.KeyF=36]="KeyF",j[j.KeyG=37]="KeyG",j[j.KeyH=38]="KeyH",j[j.KeyI=39]="KeyI",j[j.KeyJ=40]="KeyJ",j[j.KeyK=41]="KeyK",j[j.KeyL=42]="KeyL",j[j.KeyM=43]="KeyM",j[j.KeyN=44]="KeyN",j[j.KeyO=45]="KeyO",j[j.KeyP=46]="KeyP",j[j.KeyQ=47]="KeyQ",j[j.KeyR=48]="KeyR",j[j.KeyS=49]="KeyS",j[j.KeyT=50]="KeyT",j[j.KeyU=51]="KeyU",j[j.KeyV=52]="KeyV",j[j.KeyW=53]="KeyW",j[j.KeyX=54]="KeyX",j[j.KeyY=55]="KeyY",j[j.KeyZ=56]="KeyZ",j[j.Meta=57]="Meta",j[j.ContextMenu=58]="ContextMenu",j[j.F1=59]="F1",j[j.F2=60]="F2",j[j.F3=61]="F3",j[j.F4=62]="F4",j[j.F5=63]="F5",j[j.F6=64]="F6",j[j.F7=65]="F7",j[j.F8=66]="F8",j[j.F9=67]="F9",j[j.F10=68]="F10",j[j.F11=69]="F11",j[j.F12=70]="F12",j[j.F13=71]="F13",j[j.F14=72]="F14",j[j.F15=73]="F15",j[j.F16=74]="F16",j[j.F17=75]="F17",j[j.F18=76]="F18",j[j.F19=77]="F19",j[j.F20=78]="F20",j[j.F21=79]="F21",j[j.F22=80]="F22",j[j.F23=81]="F23",j[j.F24=82]="F24",j[j.NumLock=83]="NumLock",j[j.ScrollLock=84]="ScrollLock",j[j.Semicolon=85]="Semicolon",j[j.Equal=86]="Equal",j[j.Comma=87]="Comma",j[j.Minus=88]="Minus",j[j.Period=89]="Period",j[j.Slash=90]="Slash",j[j.Backquote=91]="Backquote",j[j.BracketLeft=92]="BracketLeft",j[j.Backslash=93]="Backslash",j[j.BracketRight=94]="BracketRight",j[j.Quote=95]="Quote",j[j.OEM_8=96]="OEM_8",j[j.IntlBackslash=97]="IntlBackslash",j[j.Numpad0=98]="Numpad0",j[j.Numpad1=99]="Numpad1",j[j.Numpad2=100]="Numpad2",j[j.Numpad3=101]="Numpad3",j[j.Numpad4=102]="Numpad4",j[j.Numpad5=103]="Numpad5",j[j.Numpad6=104]="Numpad6",j[j.Numpad7=105]="Numpad7",j[j.Numpad8=106]="Numpad8",j[j.Numpad9=107]="Numpad9",j[j.NumpadMultiply=108]="NumpadMultiply",j[j.NumpadAdd=109]="NumpadAdd",j[j.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",j[j.NumpadSubtract=111]="NumpadSubtract",j[j.NumpadDecimal=112]="NumpadDecimal",j[j.NumpadDivide=113]="NumpadDivide",j[j.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",j[j.ABNT_C1=115]="ABNT_C1",j[j.ABNT_C2=116]="ABNT_C2",j[j.AudioVolumeMute=117]="AudioVolumeMute",j[j.AudioVolumeUp=118]="AudioVolumeUp",j[j.AudioVolumeDown=119]="AudioVolumeDown",j[j.BrowserSearch=120]="BrowserSearch",j[j.BrowserHome=121]="BrowserHome",j[j.BrowserBack=122]="BrowserBack",j[j.BrowserForward=123]="BrowserForward",j[j.MediaTrackNext=124]="MediaTrackNext",j[j.MediaTrackPrevious=125]="MediaTrackPrevious",j[j.MediaStop=126]="MediaStop",j[j.MediaPlayPause=127]="MediaPlayPause",j[j.LaunchMediaPlayer=128]="LaunchMediaPlayer",j[j.LaunchMail=129]="LaunchMail",j[j.LaunchApp2=130]="LaunchApp2",j[j.Clear=131]="Clear",j[j.MAX_VALUE=132]="MAX_VALUE",(U=tq||(tq={}))[U.Hint=1]="Hint",U[U.Info=2]="Info",U[U.Warning=4]="Warning",U[U.Error=8]="Error",(B=tK||(tK={}))[B.Unnecessary=1]="Unnecessary",B[B.Deprecated=2]="Deprecated",($=tj||(tj={}))[$.Inline=1]="Inline",$[$.Gutter=2]="Gutter",(W=tU||(tU={}))[W.UNKNOWN=0]="UNKNOWN",W[W.TEXTAREA=1]="TEXTAREA",W[W.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",W[W.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",W[W.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",W[W.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",W[W.CONTENT_TEXT=6]="CONTENT_TEXT",W[W.CONTENT_EMPTY=7]="CONTENT_EMPTY",W[W.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",W[W.CONTENT_WIDGET=9]="CONTENT_WIDGET",W[W.OVERVIEW_RULER=10]="OVERVIEW_RULER",W[W.SCROLLBAR=11]="SCROLLBAR",W[W.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",W[W.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(H=tB||(tB={}))[H.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",H[H.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",H[H.TOP_CENTER=2]="TOP_CENTER",(z=t$||(t$={}))[z.Left=1]="Left",z[z.Center=2]="Center",z[z.Right=4]="Right",z[z.Full=7]="Full",(G=tW||(tW={}))[G.Left=0]="Left",G[G.Right=1]="Right",G[G.None=2]="None",G[G.LeftOfInjectedText=3]="LeftOfInjectedText",G[G.RightOfInjectedText=4]="RightOfInjectedText",(J=tH||(tH={}))[J.Off=0]="Off",J[J.On=1]="On",J[J.Relative=2]="Relative",J[J.Interval=3]="Interval",J[J.Custom=4]="Custom",(X=tz||(tz={}))[X.None=0]="None",X[X.Text=1]="Text",X[X.Blocks=2]="Blocks",(Q=tG||(tG={}))[Q.Smooth=0]="Smooth",Q[Q.Immediate=1]="Immediate",(Z=tJ||(tJ={}))[Z.Auto=1]="Auto",Z[Z.Hidden=2]="Hidden",Z[Z.Visible=3]="Visible",(Y=tX||(tX={}))[Y.LTR=0]="LTR",Y[Y.RTL=1]="RTL",(ee=tQ||(tQ={}))[ee.Invoke=1]="Invoke",ee[ee.TriggerCharacter=2]="TriggerCharacter",ee[ee.ContentChange=3]="ContentChange",(et=tZ||(tZ={}))[et.File=0]="File",et[et.Module=1]="Module",et[et.Namespace=2]="Namespace",et[et.Package=3]="Package",et[et.Class=4]="Class",et[et.Method=5]="Method",et[et.Property=6]="Property",et[et.Field=7]="Field",et[et.Constructor=8]="Constructor",et[et.Enum=9]="Enum",et[et.Interface=10]="Interface",et[et.Function=11]="Function",et[et.Variable=12]="Variable",et[et.Constant=13]="Constant",et[et.String=14]="String",et[et.Number=15]="Number",et[et.Boolean=16]="Boolean",et[et.Array=17]="Array",et[et.Object=18]="Object",et[et.Key=19]="Key",et[et.Null=20]="Null",et[et.EnumMember=21]="EnumMember",et[et.Struct=22]="Struct",et[et.Event=23]="Event",et[et.Operator=24]="Operator",et[et.TypeParameter=25]="TypeParameter",(en=tY||(tY={}))[en.Deprecated=1]="Deprecated",(er=t1||(t1={}))[er.Hidden=0]="Hidden",er[er.Blink=1]="Blink",er[er.Smooth=2]="Smooth",er[er.Phase=3]="Phase",er[er.Expand=4]="Expand",er[er.Solid=5]="Solid",(ei=t0||(t0={}))[ei.Line=1]="Line",ei[ei.Block=2]="Block",ei[ei.Underline=3]="Underline",ei[ei.LineThin=4]="LineThin",ei[ei.BlockOutline=5]="BlockOutline",ei[ei.UnderlineThin=6]="UnderlineThin",(es=t2||(t2={}))[es.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",es[es.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",es[es.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",es[es.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eo=t4||(t4={}))[eo.None=0]="None",eo[eo.Same=1]="Same",eo[eo.Indent=2]="Indent",eo[eo.DeepIndent=3]="DeepIndent";class sE{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}sE.CtrlCmd=2048,sE.Shift=1024,sE.Alt=512,sE.WinCtrl=256;class sN extends i9{constructor(e){super(0);for(let t=0,n=e.length;t(!t.hasOwnProperty(n)&&(t[n]=e(n)),t[n])}(e=>new sN(e)),(ea=t5||(t5={}))[ea.Left=1]="Left",ea[ea.Center=2]="Center",ea[ea.Right=4]="Right",ea[ea.Full=7]="Full",(el=t7||(t7={}))[el.Left=1]="Left",el[el.Right=2]="Right",(eu=t9||(t9={}))[eu.Inline=1]="Inline",eu[eu.Gutter=2]="Gutter",(eh=t6||(t6={}))[eh.Both=0]="Both",eh[eh.Right=1]="Right",eh[eh.Left=2]="Left",eh[eh.None=3]="None";class sA{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let n=e.length;do{var r,i,s,o,a;if(this._prevMatchStartIndex+this._prevMatchLength===n||!(t=this._searchRegex.exec(e)))break;let l=t.index,u=t[0].length;if(l===this._prevMatchStartIndex&&u===this._prevMatchLength){if(0===u){(function(e,t,n){let r=e.charCodeAt(n);if(rY(r)&&n+165535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=l,this._prevMatchLength=u,!this._wordSeparators||(r=this._wordSeparators,i=e,s=n,function(e,t,n,r,i){if(0===r)return!0;let s=t.charCodeAt(r-1);if(0!==e.get(s)||13===s||10===s)return!0;if(i>0){let n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}(r,i,0,o=l,a=u)&&function(e,t,n,r,i){if(r+i===n)return!0;let s=t.charCodeAt(r+i);if(0!==e.get(s)||13===s||10===s)return!0;if(i>0){let n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}(r,i,s,o,a)))return t}while(t);return null}}function sk(e){!e()&&(e(),ra(new rd("Assertion Failed")))}function sR(e,t){let n=0;for(;nString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`}(Array.from(l))}`,"g")),h=[],c=!1,d=0,f=0,m=0;e:for(let t=s;t<=o;t++){let n=e.getLineContent(t),r=n.length;u.reset(0);do if(i=u.next(n)){let e=i.index,s=i.index+i[0].length;e>0&&rY(n.charCodeAt(e-1))&&e--,s+1=1e3){c=!0;break e}h.push(new iG(t,e+1,t,s+1))}}while(i)}return{ranges:h,hasMore:c,ambiguousCharacterCount:d,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let n=new sM(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),s=r5.getLocales().filter(e=>!r5.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class sM{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=r5.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of r7.codePoints)!sO(String.fromCodePoint(t))&&e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(let e of t){var s;let t=e.codePointAt(0);let n=(s=e,r2.test(s));r=r||n,!n&&!this.ambiguousCharacters.isAmbiguous(t)&&!r7.isInvisibleCharacter(t)&&(i=!0)}return!r&&i?0:this.options.invisibleCharacters&&!sO(e)&&r7.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function sO(e){return" "===e||"\n"===e||" "===e}class sI{constructor(e,t,n){this.changes=e,this.moves=t,this.hitTimeout=n}}class sP{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class sF{static addRange(e,t){let n=0;for(;nt))return new sF(e,t)}static ofLength(e){return new sF(0,e)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new rd(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new sF(this.start+e,this.endExclusive+e)}deltaStart(e){return new sF(this.start+e,this.endExclusive)}deltaEnd(e){return new sF(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tt)throw new rd(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),n=sD(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===n)this._normalizedRanges.splice(t,0,e);else if(t===n-1){let n=this._normalizedRanges[t];this._normalizedRanges[t]=n.join(e)}else{let r=this._normalizedRanges[t].join(this._normalizedRanges[n-1]).join(e);this._normalizedRanges.splice(t,n-t,r)}}contains(e){let t=sV(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],n=0,r=0,i=null;for(;n=s.startLineNumber?i=new sj(i.startLineNumber,Math.max(i.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(i),i=s)}return null!==i&&t.push(i),new sU(t)}subtractFrom(e){let t=sq(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),n=sD(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===n)return new sU([e]);let r=[],i=e.startLineNumber;for(let e=t;ei&&r.push(new sj(i,t.startLineNumber)),i=t.endLineNumberExclusive}return ie.toString()).join(", ")}getIntersection(e){let t=[],n=0,r=0;for(;nt.delta(e)))}}class sB{static inverse(e,t,n){let r=[],i=1,s=1;for(let t of e){let e=new s$(new sj(i,t.original.startLineNumber),new sj(s,t.modified.startLineNumber),void 0);!e.modified.isEmpty&&r.push(e),i=t.original.endLineNumberExclusive,s=t.modified.endLineNumberExclusive}let o=new s$(new sj(i,t+1),new sj(s,n+1),void 0);return!o.modified.isEmpty&&r.push(o),r}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new sB(this.modified,this.original)}join(e){return new sB(this.original.join(e.original),this.modified.join(e.modified))}}class s$ extends sB{constructor(e,t,n){super(e,t),this.innerChanges=n}flip(){var e;return new s$(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}}class sW{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new sW(this.modifiedRange,this.originalRange)}}class sH{computeDiff(e,t,n){var r;let i=new sZ(e,t,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),s=[],o=null;for(let e of i.changes){let t,n;t=0===e.originalEndLineNumber?new sj(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new sj(e.originalStartLineNumber,e.originalEndLineNumber+1);let i=new s$(t,n=0===e.modifiedEndLineNumber?new sj(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new sj(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1),null===(r=e.charChanges)||void 0===r?void 0:r.map(e=>new sW(new iG(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new iG(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));o&&(o.modified.endLineNumberExclusive===i.modified.startLineNumber||o.original.endLineNumberExclusive===i.original.startLineNumber)&&(i=new s$(o.original.join(i.original),o.modified.join(i.modified),o.innerChanges&&i.innerChanges?o.innerChanges.concat(i.innerChanges):void 0),s.pop()),s.push(i),o=i}return sk(()=>sR(s,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class sX{constructor(e,t,n,r,i,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),u=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1);return new sX(r,i,s,o,a,l,u,n.getEndColumn(e.modifiedStart+e.modifiedLength-1))}}class sQ{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,s,o){let a,l,u,h,c;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=r.getStartLineNumber(t.modifiedStart)-1,h=0):(u=r.getStartLineNumber(t.modifiedStart),h=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){let s=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=sz(s,a,i,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],n=t[0];for(let r=1,i=e.length;rMath.min(s,i.modifiedStart-(n.modifiedStart+n.modifiedLength))?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(e)),c=[];for(let t=0,n=e.length;t1&&o>1;){let r=e.charCodeAt(n-2);if(r!==t.charCodeAt(o-2))break;n--,o--}(n>1||o>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,s+1,1,o)}{let n=s1(e,1),o=s1(t,1),a=e.length+1,l=t.length+1;for(;n=0;n--){let t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return -1}(e);return -1===n?t:n+2}function s0(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-t{n.push(s4.fromOffsetPairs(e?e.getEndExclusives():s5.zero,r?r.getStarts():new s5(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),n}static fromOffsetPairs(e,t){return new s4(new sF(e.offset1,t.offset1),new sF(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new s4(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new s4(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new s4(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new s4(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new s4(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),n=this.seq2Range.intersect(e.seq2Range);if(!!t&&!!n)return new s4(t,n)}getStarts(){return new s5(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new s5(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class s5{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}}s5.zero=new s5(0,0),s5.max=new s5(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class s7{isValid(){return!0}}s7.instance=new s7;class s9{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new rd("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&l>0&&3===s.get(a-1,l-1)&&(u+=o.get(a-1,l-1)),u+=r?r(a,l):1):u=-1;let d=Math.max(h,c,u);if(d===u){let e=a>0&&l>0?o.get(a-1,l-1):0;o.set(a,l,e+1),s.set(a,l,3)}else d===h?(o.set(a,l,0),s.set(a,l,1)):d===c&&(o.set(a,l,0),s.set(a,l,2));i.set(a,l,d)}let a=[],l=e.length,u=t.length;function h(e,t){(e+1!==l||t+1!==u)&&a.push(new s4(new sF(e+1,l),new sF(t+1,u))),l=e,u=t}let c=e.length-1,d=t.length-1;for(;c>=0&&d>=0;)3===s.get(c,d)?(h(c,d),c--,d--):1===s.get(c,d)?c--:d--;return h(-1,-1),a.reverse(),new s2(a,!1)}}class ot{compute(e,t,n=s7.instance){if(0===e.length||0===t.length)return s2.trivial(e,t);function r(n,r){for(;ne.length||d>t.length)continue;let f=r(c,d);s.set(a,f);let m=c===i?o.get(a+1):o.get(a-1);if(o.set(a,f!==c?new on(m,c,d,f-c):m),s.get(a)===e.length&&s.get(a)-a===t.length)break t}}let l=o.get(a),u=[],h=e.length,c=t.length;for(;;){let e=l?l.x+l.length:0,t=l?l.y+l.length:0;if((e!==h||t!==c)&&u.push(new s4(new sF(e,h),new sF(t,c))),!l)break;h=l.x,c=l.y,l=l.prev}return u.reverse(),new s2(u,!1)}}class on{constructor(e,t,n,r){this.prev=e,this.x=t,this.y=n,this.length=r}}class or{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class oi{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class os{constructor(e,t){this.uri=e,this.value=t}}class oo{constructor(e,t){if(this[t8]="ResourceMap",e instanceof oo)this.map=new Map(e.map),this.toKey=null!=t?t:oo.defaultToKey;else{if(Array.isArray(e))for(let[n,r]of(this.map=new Map,this.toKey=null!=t?t:oo.defaultToKey,e))this.set(n,r);else this.map=new Map,this.toKey=null!=e?e:oo.defaultToKey}}set(e,t){return this.map.set(this.toKey(e),new os(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[n,r]of(void 0!==t&&(e=e.bind(t)),this.map))e(r.value,r.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(t8=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}oo.defaultToKey=e=>e.toString(),t3=Symbol.toStringTag,Symbol.iterator;class oa{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);!n&&(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){let n=this.map.get(e);if(!!n)n.delete(t),0===n.size&&this.map.delete(e)}forEach(e,t){let n=this.map.get(e);if(!!n)n.forEach(t)}get(e){let t=this.map.get(e);return t?t:new Set}}class ol{constructor(e,t,n){this.lines=e,this.considerWhitespaceChanges=n,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let r=!1;t.start>0&&t.endExclusive>=e.length&&(t=new sF(t.start-1,t.endExclusive),r=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=od(e>0?this.elements[e-1]:-1),n=od(et<=e);return new iz(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return iG.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!ou(this.elements[e]))return;let t=e;for(;t>0&&ou(this.elements[t-1]);)t--;let n=e;for(;nt<=e.start))&&void 0!==t?t:0;return new sF(r,null!==(n=function(e,t){let n=sq(e,t);return n===e.length?void 0:e[n]}(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==n?n:this.elements.length)}}function ou(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let oh={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function oc(e){return oh[e]}function od(e){if(10===e)return 7;if(13===e)return 6;if(s8(e))return 5;else if(e>=97&&e<=122)return 0;else if(e>=65&&e<=90)return 1;else if(e>=48&&e<=57)return 2;else if(-1===e)return 3;else return 4}function of(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let r=new ot().compute(new ol([e],new sF(0,1),!1),new ol([t],new sF(0,1),!1),n),i=0;for(let t of s4.invert(r.diffs,e.length))t.seq1Range.forEach(t=>{!s8(e.charCodeAt(t))&&i++});let s=function(t){let n=0;for(let r=0;rt.length?e:t);return i/s>.6&&s>10}function om(e,t,n){let r=n;return r=function(e,t,n){if(0===n.length)return n;let r=[];r.push(n[0]);for(let i=1;i0&&(o=o.delta(i))}i.push(o)}return r.length>0&&i.push(r[r.length-1]),i}(e,t,r),r=function(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r0?n[r-1]:void 0,s=n[r],o=r+1=r.start&&e.seq2Range.start-s>=i.start&&n.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=u,a=r)}return e.delta(a)}class op{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:ov(this.lines[e-1]);return 1e3-(t+(e===this.lines.length?0:ov(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function ov(e){let t=0;for(;te===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;re===t))return new sI([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new sI([new s$(new sj(1,e.length+1),new sj(1,t.length+1),[new sW(new iG(1,1,e.length,e[0].length+1),new iG(1,1,t.length,t[0].length+1))])],[],!1);let r=0===n.maxComputationTimeMs?s7.instance:new s9(n.maxComputationTimeMs),i=!n.ignoreTrimWhitespace,s=new Map;function o(e){let t=s.get(e);return void 0===t&&(t=s.size,s.set(e,t)),t}let a=e.map(e=>o(e.trim())),l=t.map(e=>o(e.trim())),u=new op(a,e),h=new op(l,t),c=(()=>u.length+h.length<1700?this.dynamicProgrammingDiffing.compute(u,h,r,(n,r)=>e[n]===t[r]?0===t[r].length?.1:1+Math.log(1+t[r].length):.99):this.myersDiffingAlgorithm.compute(u,h))(),d=c.diffs,f=c.hitTimeout;d=om(u,h,d),d=function(e,t,n){let r,i=n;if(0===i.length)return i;let s=0;do{r=!1;let t=[i[0]];for(let n=1;n5)||!!(n.seq1Range.length+n.seq2Range.length>5))||!1})(o,s)?(r=!0,t[t.length-1]=t[t.length-1].join(s)):t.push(s)}i=t}while(s++<10&&r);return i}(u,0,d);let m=[],g=n=>{if(!!i)for(let s=0;sn.seq1Range.start-p==n.seq2Range.start-v),g(n.seq1Range.start-p),p=n.seq1Range.endExclusive,v=n.seq2Range.endExclusive;let s=this.refineDiff(e,t,n,r,i);for(let e of(s.hitTimeout&&(f=!0),s.mappings))m.push(e)}g(e.length-p);let b=oy(m,e,t),y=[];return n.computeMoves&&(y=this.computeMoves(b,e,t,a,l,r,i)),sk(()=>{function n(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let n=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>n.length+1)&&!0}function r(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)&&!0}for(let i of b){if(!i.innerChanges)return!1;for(let r of i.innerChanges)if(!(n(r.modifiedRange.getStartPosition(),t)&&n(r.modifiedRange.getEndPosition(),t)&&n(r.originalRange.getStartPosition(),e)&&n(r.originalRange.getEndPosition(),e)))return!1;if(!r(i.modified,t)||!r(i.original,e))return!1}return!0}),new sI(b,y,f)}computeMoves(e,t,n,r,i,s,o){return(function(e,t,n,r,i,s){let{moves:o,excludedChanges:a}=function(e,t,n,r){let i=[],s=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new s3(e.original,t,e)),o=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new s3(e.modified,n,e))),a=new Set;for(let e of s){let t,n=-1;for(let r of o){let i=e.computeSimilarity(r);i>n&&(n=i,t=r)}if(n>.9&&t&&(o.delete(t),i.push(new sB(e.range,t.range)),a.add(e.source),a.add(t.source)),!r.isValid())break}return{moves:i,excludedChanges:a}}(e,t,n,s);return s.isValid()?(!function(e,t){for(let n of t)e.push(n)}(o,function(e,t,n,r,i,s){var o;let a=[],l=new oa;for(let n of e)for(let e=n.original.startLineNumber;ee.modified.startLineNumber,iX)),e)){let e=[];for(let r=t.modified.startLineNumber;r{for(let n of e)if(n.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&n.modifiedLineRange.endLineNumberExclusive+1===i.endLineNumberExclusive){n.originalLineRange=new sj(n.originalLineRange.startLineNumber,t.endLineNumberExclusive),n.modifiedLineRange=new sj(n.modifiedLineRange.startLineNumber,i.endLineNumberExclusive),s.push(n);return}let n={modifiedLineRange:i,originalLineRange:t};u.push(n),s.push(n)}),e=s}if(!s.isValid())return[]}u.sort((o=iJ(e=>e.modifiedLineRange.length,iX),(e,t)=>-o(e,t)));let h=new sU,c=new sU;for(let e of u){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,n=h.subtractFrom(e.modifiedLineRange),r=c.subtractFrom(e.originalLineRange).getWithDelta(t);for(let e of n.getIntersection(r).ranges){if(e.length<3)continue;let n=e.delta(-t);a.push(new sB(n,e)),h.addRange(e),c.addRange(n)}}a.sort(iJ(e=>e.original.startLineNumber,iX));let d=new sK(e);for(let t=0;te.original.startLineNumber<=l.original.startLineNumber),f=sV(e,e=>e.modified.startLineNumber<=l.modified.startLineNumber),m=Math.max(l.original.startLineNumber-u.original.startLineNumber,l.modified.startLineNumber-f.modified.startLineNumber),g=d.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumberr.length||t>i.length||h.contains(t)||c.contains(e)||!of(r[e-1],i[t-1],s))break}for(n>0&&(c.addRange(new sj(l.original.startLineNumber-n,l.original.startLineNumber)),h.addRange(new sj(l.modified.startLineNumber-n,l.modified.startLineNumber))),o=0;or.length||t>i.length||h.contains(t)||c.contains(e)||!of(r[e-1],i[t-1],s))break}o>0&&(c.addRange(new sj(l.original.endLineNumberExclusive,l.original.endLineNumberExclusive+o)),h.addRange(new sj(l.modified.endLineNumberExclusive,l.modified.endLineNumberExclusive+o))),(n>0||o>0)&&(a[t]=new sB(new sj(l.original.startLineNumber-n,l.original.endLineNumberExclusive+o),new sj(l.modified.startLineNumber-n,l.modified.endLineNumberExclusive+o)))}return a}(e.filter(e=>!a.has(e)),r,i,t,n,s)),o=function(e,t){let n=new sK(e);return t=t.filter(t=>{let r=n.findLastMonotonous(e=>e.original.endLineNumberExclusivee.modified.endLineNumberExclusivee.original.startLineNumber,iX));let t=[e[0]];for(let n=1;n=0&&o>=0&&s+o<=2){t[t.length-1]=r.join(i);continue}t.push(i)}return t}(o)).filter(e=>e.original.toOffsetRange().slice(t).map(e=>e.trim()).join("\n").length>=10))):[]})(e,t,n,r,i,s).map(e=>{let r=oy(this.refineDiff(t,n,new s4(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o).mappings,t,n,!0);return new sP(e,r)})}refineDiff(e,t,n,r,i){let s=new ol(e,n.seq1Range,i),o=new ol(t,n.seq2Range,i),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,r):this.myersDiffingAlgorithm.compute(s,o,r),l=a.diffs;return l=om(s,o,l),l=function(e,t,n){let r=[];for(let e of n){let t=r[r.length-1];if(!t){r.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?r[r.length-1]=new s4(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):r.push(e)}return r}(0,0,l=function(e,t,n){let r,i=[];function s(){if(!r)return;let e=r.s1Range.length-r.deleted;r.s2Range.length,r.added,Math.max(r.deleted,r.added)+(r.count-1)>e&&i.push(new s4(r.s1Range,r.s2Range)),r=void 0}for(let i of n){function o(e,t){var n,o,a,l;if(!r||!r.s1Range.containsRange(e)||!r.s2Range.containsRange(t)){if(r&&!(r.s1Range.endExclusive0||t.length>0;){let r;let i=e[0],s=t[0];r=i&&(!s||i.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=r.seq1Range.start?n[n.length-1]=n[n.length-1].join(r):n.push(r)}return n}(n,i)}(s,o,l)),{mappings:(l=function(e,t,n){let r,i=n;if(0===i.length)return i;let s=0;do{r=!1;let n=[i[0]];for(let s=1;s5||i.length>500)return!1;let s=e.getText(i).trim();if(s.length>20||s.split(/\r\n|\r|\n/).length>1)return!1;let l=e.countLinesIn(n.seq1Range),u=n.seq1Range.length,h=t.countLinesIn(n.seq2Range),c=n.seq2Range.length,d=e.countLinesIn(r.seq1Range),f=r.seq1Range.length,m=t.countLinesIn(r.seq2Range),g=r.seq2Range.length;function p(e){return Math.min(e,130)}return!!(Math.pow(Math.pow(p(40*l+u),1.5)+Math.pow(p(40*h+c),1.5),1.5)+Math.pow(Math.pow(p(40*d+f),1.5)+Math.pow(p(40*m+g),1.5),1.5)>74184.96480721243)||!1})(a,o)?(r=!0,n[n.length-1]=n[n.length-1].join(o)):n.push(o)}i=n}while(s++<10&&r);let o=[];return!function(e,t){for(let n=0;n{let i=n;function s(e){return e.length>0&&e.trim().length<=3&&n.seq1Range.length+n.seq2Range.length>100}let a=e.extendToFullLines(n.seq1Range),l=e.getText(new sF(a.start,n.seq1Range.start));s(l)&&(i=i.deltaStart(-l.length));let u=e.getText(new sF(n.seq1Range.endExclusive,a.endExclusive));s(u)&&(i=i.deltaEnd(u.length));let h=s4.fromOffsetPairs(t?t.getEndExclusives():s5.zero,r?r.getStarts():s5.max),c=i.intersect(h);o.push(c)}),o}(s,o,l)).map(e=>new sW(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range))),hitTimeout:a.hitTimeout}}}function oy(e,t,n,r=!1){let i=[];for(let r of function*(e,t){let n,r;for(let i of e)void 0!==r&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}(e.map(e=>(function(e,t,n){let r=0,i=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1),e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);let s=new sj(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i);return new s$(s,new sj(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i),[e])})(e,t,n)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=r[0],t=r[r.length-1];i.push(new s$(e.original.join(t.original),e.modified.join(t.modified),r.map(e=>e.innerChanges[0])))}return sk(()=>(!!r||!(i.length>0)||i[0].original.startLineNumber===i[0].modified.startLineNumber)&&sR(i,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivenew sH,getDefault:()=>new ob};function oC(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}class oS{constructor(e,t,n,r=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=oC(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class ow{constructor(e,t,n,r){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=oC(Math.max(Math.min(1,t),0),3),this.l=oC(Math.max(Math.min(1,n),0),3),this.a=oC(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=e.a,s=Math.max(t,n,r),o=Math.min(t,n,r),a=0,l=0,u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(n-r)/h+(n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){let t,n,r;let i=e.h/360,{s,l:o,a}=e;if(0===s)t=n=r=o;else{let e=o<.5?o*(1+s):o+s-o*s,a=2*o-e;t=ow._hue2rgb(a,e,i+1/3),n=ow._hue2rgb(a,e,i),r=ow._hue2rgb(a,e,i-1/3)}return new oS(Math.round(255*t),Math.round(255*n),Math.round(255*r),a)}}class oL{constructor(e,t,n,r){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=oC(Math.max(Math.min(1,t),0),3),this.v=oC(Math.max(Math.min(1,n),0),3),this.a=oC(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let n=e.r/255,r=e.g/255,i=e.b/255,s=Math.max(n,r,i),o=s-Math.min(n,r,i);return new oL(Math.round(60*(t=0===o?0:s===n?((r-i)/o%6+6)%6:s===r?(i-n)/o+2:(n-r)/o+4)),0===s?0:o/s,s,e.a)}static toRGBA(e){let{h:t,s:n,v:r,a:i}=e,s=r*n,o=s*(1-Math.abs(t/60%2-1)),a=r-s,[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),new oS(l=Math.round((l+a)*255),u=Math.round((u+a)*255),h=Math.round((h+a)*255),i)}}class ox{static fromHex(e){return ox.Format.CSS.parseHex(e)||ox.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:ow.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:oL.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof oS)this.rgba=e;else if(e instanceof ow)this._hsla=e,this.rgba=ow.toRGBA(e);else if(e instanceof oL)this._hsva=e,this.rgba=oL.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&oS.equals(this.rgba,e.rgba)&&ow.equals(this.hsla,e.hsla)&&oL.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=ox._relativeLuminanceForComponent(this.rgba.r),t=ox._relativeLuminanceForComponent(this.rgba.g),n=ox._relativeLuminanceForComponent(this.rgba.b);return oC(.2126*e+.7152*t+.0722*n,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){let t=this.getRelativeLuminance();return t>e.getRelativeLuminance()}isDarkerThan(e){let t=this.getRelativeLuminance();return tthis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class oI{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new oO(iV.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!!this._models[e])this._models[e].onEvents(t)}acceptRemovedModel(e){if(!!this._models[e])delete this._models[e]}computeUnicodeHighlights(e,t,n){return oM(this,void 0,void 0,function*(){let r=this._getModel(e);return r?sT.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,n,r){return oM(this,void 0,void 0,function*(){let i=this._getModel(e),s=this._getModel(t);return i&&s?oI.computeDiff(i,s,n,r):null})}static computeDiff(e,t,n,r){let i="advanced"===r?o_.getDefault():o_.getLegacy(),s=e.getLinesContent(),o=t.getLinesContent(),a=i.computeDiff(s,o,n);function l(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:l(a.changes),moves:a.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,l(e.changes)])}}static _modelsAreIdentical(e,t){let n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){let n=e.getLineContent(r);if(n!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t,n){return oM(this,void 0,void 0,function*(){let r,i=this._getModel(e);if(!i)return t;let s=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return iG.compareRangesUsingStarts(e.range,t.range);let n=e.range?0:1;return n-(t.range?0:1)});let o=0;for(let e=1;eoI._diffLimit){s.push({range:e,text:h});continue}let o=(a=t,l=h,u=n,new iv(new id(a),new id(l)).ComputeDiff(u).changes),d=i.offsetAt(iG.lift(e).getStartPosition());for(let e of o){let t=i.positionAt(d+e.originalStart),n=i.positionAt(d+e.originalStart+e.originalLength),r={text:h.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}};i.getValueInRange(r.range)!==r.text&&s.push(r)}}return"number"==typeof r&&s.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(e){return oM(this,void 0,void 0,function*(){var t;let n=this._getModel(e);if(!n)return null;return(t=n)&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?sn.computeLinks(t):[]})}computeDefaultDocumentColors(e){return oM(this,void 0,void 0,function*(){var t;let n=this._getModel(e);if(!n)return null;return(t=n)&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],n=oT(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(let r of n){let n;let i=r.filter(e=>void 0!==e),s=i[1],o=i[2];if(!!o){if("rgb"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;n=ok(oA(e,r),oT(o,t),!1)}else if("rgba"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=ok(oA(e,r),oT(o,t),!0)}else if("hsl"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;n=oR(oA(e,r),oT(o,t),!1)}else if("hsla"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;n=oR(oA(e,r),oT(o,t),!0)}else"#"===s&&(n=function(e,t){if(!e)return;let n=ox.Format.CSS.parseHex(t);if(!!n)return{range:e,color:oN(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}(oA(e,r),s+o));n&&t.push(n)}}return t}(t):[]})}textualSuggest(e,t,n,r){return oM(this,void 0,void 0,function*(){let i=new rL,s=new RegExp(n,r),o=new Set;n:for(let n of e){let e=this._getModel(n);if(!!e)for(let n of e.words(s)){if(n!==t&&!!isNaN(Number(n))){if(o.add(n),o.size>oI._suggestionsLimit)break n}}}return{words:Array.from(o),duration:i.elapsed()}})}computeWordRanges(e,t,n,r){return oM(this,void 0,void 0,function*(){let i=this._getModel(e);if(!i)return Object.create(null);let s=new RegExp(n,r),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(let t of e)r[t]=n(t);return r}(n,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:r,getMirrorModels:()=>this._getModels()},t),Promise.resolve(rM(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}oI._diffLimit=1e5,oI._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:so,Emitter:rR,KeyCode:tD,KeyMod:sE,Position:iz,Range:iG,Selection:sb,SelectionDirection:tX,MarkerSeverity:tq,MarkerTag:tK,Uri:iV,Token:sL});let oP=!1;function oF(e){if(oP)return;oP=!0;let t=new is(e=>{globalThis.postMessage(e)},t=>new oI(t,e));globalThis.onmessage=e=>{t.onmessage(e.data)}}function oV(e,t){void 0===t&&(t=!1);var n=e.length,r=0,i="",s=0,o=16,a=0,l=0,u=0,h=0,c=0;function d(){if(i="",c=0,s=r,l=a,h=u,r>=n)return s=n,o=17;var t=e.charCodeAt(r);if(oD(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(oD(t));return o=15}if(oq(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),a++,u=r,o=14;switch(t){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,i=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),c=2;break}var s=e.charCodeAt(r);if(34===s){t+=e.substring(i,r),r++;break}if(92===s){if(t+=e.substring(i,r),++r>=n){c=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:var o=function(t,n){for(var i=0,s=0;i<4||!n;){var o=e.charCodeAt(r);if(o>=48&&o<=57)s=16*s+o-48;else if(o>=65&&o<=70)s=16*s+o-65+10;else if(o>=97&&o<=102)s=16*s+o-97+10;else break;r++,i++}return i=0?t+=String.fromCharCode(o):c=4;break;default:c=5}i=r;continue}if(s>=0&&s<=31){if(oq(s)){t+=e.substring(i,r),c=2;break}c=6}r++}return t}(),o=10;case 47:var d=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r=12&&e<=15);return e}:d,getToken:function(){return o},getTokenValue:function(){return i},getTokenOffset:function(){return s},getTokenLength:function(){return r-s},getTokenStartLine:function(){return l},getTokenStartCharacter:function(){return s-h},getTokenError:function(){return c}}}function oD(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function oq(e){return 10===e||13===e||8232===e||8233===e}function oK(e){return e>=48&&e<=57}globalThis.onmessage=e=>{!oP&&oF(null)};function oj(e,t){for(var n="",r=0;r0){for(var i=r.getToken();17!==i;){if(-1!==t.indexOf(i)){v();break}if(-1!==n.indexOf(i))break;i=v()}}}function y(e){var t=r.getTokenValue();return e?c(t):a(t),v(),!0}function _(){switch(r.getToken()){case 3:return function(){u(),v();for(var e=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(!e&&b(4,[],[]),d(","),v(),4===r.getToken()&&p)break}else e&&b(6,[],[]);!_()&&b(4,[],[4,5]),e=!0}return h(),4!==r.getToken()?b(8,[4],[]):v(),!0}();case 1:return function(){o(),v();for(var e=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(!e&&b(4,[],[]),d(","),v(),2===r.getToken()&&p)break}else e&&b(6,[],[]);!(10!==r.getToken()?(b(3,[],[2,5]),!1):(y(!1),6===r.getToken()?(d(":"),v(),!_()&&b(4,[],[2,5])):b(5,[],[2,5]),!0))&&b(4,[],[2,5]),e=!0}return l(),2!==r.getToken()?b(7,[2],[]):v(),!0}();case 10:return y(!0);default:return function(){switch(r.getToken()){case 11:var e=Number(r.getTokenValue());isNaN(e)&&(b(2),e=0),c(e);break;case 7:c(null);break;case 8:c(!0);break;case 9:c(!1);break;default:return!1}return v(),!0}()}}if(v(),17===r.getToken())return n.allowEmptyContent||(b(4,[],[]),0);_()?(17!==r.getToken()&&b(9,[],[]),!0):(b(4,[],[]),!1)}(e,{onObjectBegin:function(){var e={};o(e),s.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=s.pop()},onArrayBegin:function(){var e=[];o(e),s.push(i),i=e,r=null},onArrayEnd:function(){i=s.pop()},onLiteralValue:o,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},o$=function e(t,n,r){var i,s,o;if(void 0===r&&(r=!1),i=t,s=n,void 0===(o=r)&&(o=!1),s>=i.offset&&s0?e.lastIndexOf(t)===n:0===n&&e===t}function oZ(e){var t="";(function(e,t){if(e.length0&&(i.arguments=n),i},eA.is=function(e){return n5.defined(e)&&n5.string(e.title)&&n5.string(e.command)},(ek=nb||(nb={})).replace=function(e,t){return{range:e,newText:t}},ek.insert=function(e,t){return{range:{start:e,end:e},newText:t}},ek.del=function(e){return{range:e,newText:""}},ek.is=function(e){return n5.objectLiteral(e)&&n5.string(e.newText)&&ni.is(e.range)},(eR=ny||(ny={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},eR.is=function(e){return void 0!==e&&n5.objectLiteral(e)&&n5.string(e.label)&&(n5.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(n5.string(e.description)||void 0===e.description)},(n_||(n_={})).is=function(e){return"string"==typeof e},(eT=nC||(nC={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},eT.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},eT.del=function(e,t){return{range:e,newText:"",annotationId:t}},eT.is=function(e){return nb.is(e)&&(ny.is(e.annotationId)||n_.is(e.annotationId))},(eM=nS||(nS={})).create=function(e,t){return{textDocument:e,edits:t}},eM.is=function(e){return n5.defined(e)&&nk.is(e.textDocument)&&Array.isArray(e.edits)},(eO=nw||(nw={})).create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},eO.is=function(e){return e&&"create"===e.kind&&n5.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||n5.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||n5.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||n_.is(e.annotationId))},(eI=nL||(nL={})).create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},eI.is=function(e){return e&&"rename"===e.kind&&n5.string(e.oldUri)&&n5.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||n5.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||n5.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||n_.is(e.annotationId))},(eP=nx||(nx={})).create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},eP.is=function(e){return e&&"delete"===e.kind&&n5.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||n5.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||n5.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||n_.is(e.annotationId))},(nE||(nE={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return n5.string(e.kind)?nw.is(e)||nL.is(e)||nx.is(e):nS.is(e)}))};var oY=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=nb.insert(e,t):n_.is(n)?(i=n,r=nC.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=nC.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=nb.replace(e,t):n_.is(n)?(i=n,r=nC.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=nC.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=nb.del(e):n_.is(t)?(r=t,n=nC.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=nC.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),o1=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(n_.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id "+n+" is already in use.");if(void 0===t)throw Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new o1(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(nS.is(e)){var n=new oY(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new oY(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(nk.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new oY(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new oY(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new o1,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,s;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ny.is(t)||n_.is(t)?r=t:n=t,void 0===r?i=nw.create(e,n):(s=n_.is(r)?r:this._changeAnnotations.manage(r),i=nw.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s},e.prototype.renameFile=function(e,t,n,r){var i,s,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ny.is(n)||n_.is(n)?i=n:r=n,void 0===i?s=nL.create(e,t,r):(o=n_.is(i)?i:this._changeAnnotations.manage(i),s=nL.create(e,t,r,o)),this._workspaceEdit.documentChanges.push(s),void 0!==o)return o},e.prototype.deleteFile=function(e,t,n){var r,i,s;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ny.is(t)||n_.is(t)?r=t:n=t,void 0===r?i=nx.create(e,n):(s=n_.is(r)?r:this._changeAnnotations.manage(r),i=nx.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s}}(),(eF=nN||(nN={})).create=function(e){return{uri:e}},eF.is=function(e){return n5.defined(e)&&n5.string(e.uri)},(eV=nA||(nA={})).create=function(e,t){return{uri:e,version:t}},eV.is=function(e){return n5.defined(e)&&n5.string(e.uri)&&n5.integer(e.version)},(eD=nk||(nk={})).create=function(e,t){return{uri:e,version:t}},eD.is=function(e){return n5.defined(e)&&n5.string(e.uri)&&(null===e.version||n5.integer(e.version))},(eq=nR||(nR={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},eq.is=function(e){return n5.defined(e)&&n5.string(e.uri)&&n5.string(e.languageId)&&n5.integer(e.version)&&n5.string(e.text)},(eK=nT||(nT={})).PlainText="plaintext",eK.Markdown="markdown",(ej=nT||(nT={})).is=function(e){return e===ej.PlainText||e===ej.Markdown},(nM||(nM={})).is=function(e){return n5.objectLiteral(e)&&nT.is(e.kind)&&n5.string(e.value)},(eU=nO||(nO={})).Text=1,eU.Method=2,eU.Function=3,eU.Constructor=4,eU.Field=5,eU.Variable=6,eU.Class=7,eU.Interface=8,eU.Module=9,eU.Property=10,eU.Unit=11,eU.Value=12,eU.Enum=13,eU.Keyword=14,eU.Snippet=15,eU.Color=16,eU.File=17,eU.Reference=18,eU.Folder=19,eU.EnumMember=20,eU.Constant=21,eU.Struct=22,eU.Event=23,eU.Operator=24,eU.TypeParameter=25,(eB=nI||(nI={})).PlainText=1,eB.Snippet=2,(nP||(nP={})).Deprecated=1,(e$=nF||(nF={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},e$.is=function(e){return e&&n5.string(e.newText)&&ni.is(e.insert)&&ni.is(e.replace)},(eW=nV||(nV={})).asIs=1,eW.adjustIndentation=2,(nD||(nD={})).create=function(e){return{label:e}},(nq||(nq={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(eH=nK||(nK={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},eH.is=function(e){return n5.string(e)||n5.objectLiteral(e)&&n5.string(e.language)&&n5.string(e.value)},(nj||(nj={})).is=function(e){return!!e&&n5.objectLiteral(e)&&(nM.is(e.contents)||nK.is(e.contents)||n5.typedArray(e.contents,nK.is))&&(void 0===e.range||ni.is(e.range))},(nU||(nU={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(nB||(nB={})).create=function(e,t){for(var n=[],r=2;r=n(i[o],s[a])?t[l++]=i[o++]:t[l++]=s[a++];for(;o=0;s--){var o=r[s],a=e.offsetAt(o.range.start),l=e.offsetAt(o.range.end);if(l<=i)n=n.substring(0,a)+o.newText+n.substring(l,n.length);else throw Error("Overlapping edit");i=a}return n};var o0=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return nr.create(0,e);for(;ne?r=i:n=i+1}var s=n-1;return nr.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1e?r=i:n=i+1}let i=n-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1=n(i[o],s[a])?t[l++]=i[o++]:t[l++]=s[a++];for(;o{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),i=0,s=[];for(let t of r){let r=e.offsetAt(t.range.start);if(ri&&s.push(n.substring(i,r));t.newText.length&&s.push(t.newText),i=e.offsetAt(t.range.end)}return s.push(n.substr(i)),s.join("")};function o4(e,t,n=0){let r=t?[n]:[];for(let t=0;tn.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function o7(e){let t=o5(e.range);return t!==e.range?{newText:e.newText,range:t}:e}(e6=n9||(n9={}))[e6.Undefined=0]="Undefined",e6[e6.EnumValueMismatch=1]="EnumValueMismatch",e6[e6.Deprecated=2]="Deprecated",e6[e6.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e6[e6.UnexpectedEndOfString=258]="UnexpectedEndOfString",e6[e6.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e6[e6.InvalidUnicode=260]="InvalidUnicode",e6[e6.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e6[e6.InvalidCharacter=262]="InvalidCharacter",e6[e6.PropertyExpected=513]="PropertyExpected",e6[e6.CommaExpected=514]="CommaExpected",e6[e6.ColonExpected=515]="ColonExpected",e6[e6.ValueExpected=516]="ValueExpected",e6[e6.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e6[e6.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e6[e6.TrailingComma=519]="TrailingComma",e6[e6.DuplicateKey=520]="DuplicateKey",e6[e6.CommentNotPermitted=521]="CommentNotPermitted",e6[e6.SchemaResolveError=768]="SchemaResolveError",(n6||(n6={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[nT.Markdown,nT.PlainText],commitCharactersSupport:!0}}}};function o9(e,t,...n){var r,i;let s;return r=t,s=0===(i=n).length?r:r.replace(/\{(\d+)\}/g,(e,t)=>{let n=t[0];return void 0!==i[n]?i[n]:e})}function o6(e){return o9}var o8=(e8=function(e,t){return(e8=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}e8(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});var o3={"color-hex":{errorMessage:o9("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:o9("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:o9("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:o9("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:o9("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}))$/},hostname:{errorMessage:o9("hostnameFormatWarning","String is not a hostname."),pattern:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i},ipv4:{errorMessage:o9("ipv4FormatWarning","String is not an IPv4 address."),pattern:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/},ipv6:{errorMessage:o9("ipv6FormatWarning","String is not an IPv6 address."),pattern:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i}},ae=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),at=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return o8(t,e),t}(ae),an=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return o8(t,e),t}(ae),ar=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return o8(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(ae),ai=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return o8(t,e),t}(ae),as=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return o8(t,e),t}(ae),ao=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.type="property",i.colonOffset=-1,i.keyNode=r,i}return o8(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(ae),aa=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return o8(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(ae);function al(e){return oX(e)?e?{}:{not:{}}:e}(te=n8||(n8={}))[te.Key=0]="Key",te[te.Enum=1]="Enum";var au=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||am(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),ah=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),ac=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0;t=e.offset&&t=0;)s.splice(t,1),t=s.indexOf(e)};if(t.properties)for(var p=0,v=Object.keys(t.properties);p0)for(var A=0;At.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)}),oG(t.minProperties)&&e.properties.length=i.length&&n.propertiesValueMatches++}if(e.items.length>i.length){if("object"==typeof t.additionalItems)for(var u=i.length;ut.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)}),!0===t.uniqueItems){var m=oH(e);m.some(function(e,t){return t!==m.lastIndexOf(e)})&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("uniqueItemsWarning","Array has duplicate items.")})}})(e,t,n,r);break;case"string":(function(e,t,n,r){if(oG(t.minLength)&&e.value.lengtht.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)}),"string"==typeof t.pattern){var i=oZ(t.pattern);!(null==i?void 0:i.test(e.value))&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||o9("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}if(t.format)switch(t.format){case"uri":case"uri-reference":var s=void 0;if(e.value){var o=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);o?!o[2]&&"uri"===t.format&&(s=o9("uriSchemeMissing","URI with a scheme is expected.")):s=o9("uriMissing","URI is expected.")}else s=o9("uriEmpty","URI expected.");s&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||o9("uriFormatWarning","String is not a URI: {0}",s)});break;case"color-hex":case"date-time":case"date":case"time":case"email":case"hostname":case"ipv4":case"ipv6":var a=o3[t.format];(!e.value||!a.pattern.exec(e.value))&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||a.errorMessage})}})(e,t,n,r);break;case"number":(function(e,t,n,r){var i=e.value;function s(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(oG(t.multipleOf)){var o=-1;if(Number.isInteger(t.multipleOf))o=i%t.multipleOf;else{var a=s(t.multipleOf),l=s(i);if(a&&l){var u=Math.pow(10,Math.abs(l.multiplier-a.multiplier));l.multiplier=f&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",f)});var m=c(t.minimum,t.exclusiveMinimum);oG(m)&&ig&&n.problems.push({location:{offset:e.offset,length:e.length},message:o9("maximumWarning","Value is above the maximum of {0}.",g)})})(e,t,n,r);break;case"property":return ap(e.valueNode,t,n,r)}(function(){function i(t){return e.type===t||"integer"===t&&"number"===e.type&&e.isInteger}if(Array.isArray(t.type)?!t.type.some(i)&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||o9("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&!i(t.type)&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||o9("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}),Array.isArray(t.allOf))for(var s,o,a,l,u,h,c=0,d=t.allOf;c0?o={schema:l,validationResult:u,matchingSchemas:h}:0===c&&(o.matchingSchemas.merge(h),o.validationResult.mergeEnumValues(u))}else o.matchingSchemas.merge(h),o.validationResult.propertiesMatches+=u.propertiesMatches,o.validationResult.propertiesValueMatches+=u.propertiesValueMatches}else o={schema:l,validationResult:u,matchingSchemas:h}}return s.length>1&&i&&n.problems.push({location:{offset:e.offset,length:1},message:o9("oneOfWarning","Matches multiple schemas when only one must validate.")}),o&&(n.merge(o.validationResult),n.propertiesMatches+=o.validationResult.propertiesMatches,n.propertiesValueMatches+=o.validationResult.propertiesValueMatches,r.merge(o.matchingSchemas)),s.length};Array.isArray(t.anyOf)&&y(t.anyOf,!1),Array.isArray(t.oneOf)&&y(t.oneOf,!0);var _=function(t){var i=new ac,s=r.newSub();ap(e,al(t),i,s),n.merge(i),n.propertiesMatches+=i.propertiesMatches,n.propertiesValueMatches+=i.propertiesValueMatches,r.merge(s)},C=al(t.if);if(C){;s=C,o=al(t.then),a=al(t.else),l=al(s),u=new ac,ap(e,l,u,h=r.newSub()),r.merge(h),u.hasProblems()?a&&_(a):o&&_(o)}if(Array.isArray(t.enum)){for(var S=oH(e),w=!1,L=0,x=t.enum;L=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var r=n(e);if(r)return r}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var r,i=this,s={items:[],isIncomplete:!1},o=e.getText(),a=e.offsetAt(t),l=n.getNodeFromOffset(a,!0);if(this.isInComment(e,l?l.offset:0,a))return Promise.resolve(s);if(l&&a===l.offset+l.length&&a>0){var u=o[a-1];("object"===l.type&&"}"===u||"array"===l.type&&"]"===u)&&(l=l.parent)}var h=this.getCurrentWord(e,a);if(l&&("string"===l.type||"number"===l.type||"boolean"===l.type||"null"===l.type))r=ni.create(e.positionAt(l.offset),e.positionAt(l.offset+l.length));else{var c=a-h.length;c>0&&'"'===o[c-1]&&c--,r=ni.create(e.positionAt(c),t)}var d={},f={add:function(e){var t=e.label,n=d[t];if(n)!n.documentation&&(n.documentation=e.documentation),!n.detail&&(n.detail=e.detail);else{if((t=t.replace(/[\n]/g,"\u21B5")).length>60){var i=t.substr(0,57).trim()+"...";!d[i]&&(t=i)}r&&void 0!==e.insertText&&(e.textEdit=nb.replace(r,e.insertText)),e.label=t,d[t]=e,s.items.push(e)}},setAsIncomplete:function(){s.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return s.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then(function(t){var u=[],c=!0,m="",g=void 0;if(l&&"string"===l.type){var p=l.parent;p&&"property"===p.type&&p.keyNode===l&&(c=!p.valueNode,g=p,m=o.substr(l.offset+1,l.length-2),p&&(l=p.parent))}if(l&&"object"===l.type){if(l.offset===a)return s;l.properties.forEach(function(e){(!g||g!==e)&&(d[e.keyNode.value]=nD.create("__"))});var v="";c&&(v=i.evaluateSeparatorAfter(e,e.offsetAt(r.end))),t?i.getPropertyCompletions(t,n,l,c,v,f):i.getSchemaLessPropertyCompletions(n,l,m,f);var b=oW(l);i.contributions.forEach(function(t){var n=t.collectPropertyCompletions(e.uri,b,h,c,""===v,f);n&&u.push(n)}),!t&&h.length>0&&'"'!==o.charAt(a-h.length-1)&&(f.add({kind:nO.Property,label:i.getLabelForValue(h),insertText:i.getInsertTextForProperty(h,void 0,!1,v),insertTextFormat:nI.Snippet,documentation:""}),f.setAsIncomplete())}var y={};return t?i.getValueCompletions(t,n,l,a,e,f,y):i.getSchemaLessValueCompletions(n,l,a,e,f),i.contributions.length>0&&i.getContributedValueCompletions(n,l,a,e,f,u),i.promiseConstructor.all(u).then(function(){if(0===f.getNumberOfProposals()){var t=a;l&&("string"===l.type||"number"===l.type||"boolean"===l.type||"null"===l.type)&&(t=l.offset+l.length);var n=i.evaluateSeparatorAfter(e,t);i.addFillerValueCompletions(y,n,f)}return s})})},e.prototype.getPropertyCompletions=function(e,t,n,r,i,s){var o=this;t.getMatchingSchemas(e.schema,n.offset).forEach(function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach(function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:nO.Property,label:e,insertText:o.getInsertTextForProperty(e,n,r,i),insertTextFormat:nI.Snippet,filterText:o.getFilterTextForValue(e),documentation:o.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&oQ(a.insertText,"$1".concat(i))&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),s.add(a)}});var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var l=function(e,t){void 0===t&&(t=void 0);var n={kind:nO.Property,label:e,insertText:o.getInsertTextForProperty(e,void 0,r,i),insertTextFormat:nI.Snippet,filterText:o.getFilterTextForValue(e),documentation:t||o.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&oQ(n.insertText,"$1".concat(i))&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),s.add(n)};if(a.enum)for(var u=0;u(t.colonOffset||0)){var u=t.valueNode;if(u&&(n>u.offset+u.length||"object"===u.type||"array"===u.type))return;var h=t.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&l(e.valueNode),!0}),"$schema"===h&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,i)}if("array"===t.type){if(t.parent&&"property"===t.parent.type){var c=t.parent.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===c&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(l),!0})}else t.items.forEach(l)}},e.prototype.getValueCompletions=function(e,t,n,r,i,s,o){var a=r,l=void 0,u=void 0;if(n&&("string"===n.type||"number"===n.type||"boolean"===n.type||"null"===n.type)&&(a=n.offset+n.length,u=n,n=n.parent),!n){this.addSchemaValueCompletions(e.schema,"",s,o);return}if("property"===n.type&&r>(n.colonOffset||0)){var h=n.valueNode;if(h&&r>h.offset+h.length)return;l=n.keyNode.value,n=n.parent}if(n&&(void 0!==l||"array"===n.type)){for(var c=this.evaluateSeparatorAfter(i,a),d=t.getMatchingSchemas(e.schema,n.offset,u),f=0;f(t.colonOffset||0)){var o=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var l=oW(t.parent);this.contributions.forEach(function(e){var t=e.collectValueCompletions(r.uri,l,o,i);t&&s.push(t)})}}}else this.contributions.forEach(function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&s.push(t)})},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.anyOf)&&e.anyOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.oneOf)&&e.oneOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var s=!1;if(oJ(e.default)){for(var o=e.type,a=e.default,l=r;l>0;l--)a=[a],o="array";n.add({kind:this.getSuggestionKind(o),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:nI.Snippet,detail:o9("json.suggest.default","Default value")}),s=!0}Array.isArray(e.examples)&&e.examples.forEach(function(o){for(var a=e.type,l=o,u=r;u>0;u--)l=[l],a="array";n.add({kind:i.getSuggestionKind(a),label:i.getLabelForValue(l),insertText:i.getInsertTextForValue(l,t),insertTextFormat:nI.Snippet}),s=!0}),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach(function(o){var a,l,u=e.type,h=o.body,c=o.label;if(oJ(h)){e.type;for(var d=r;d>0;d--)h=[h];a=i.getInsertTextForSnippetValue(h,t),l=i.getFilterTextForSnippetValue(h),c=c||i.getLabelForSnippetValue(h)}else{if("string"!=typeof o.bodyText)return;for(var f="",m="",g="",d=r;d>0;d--)f=f+g+"[\n",m=m+"\n"+g+"]",g+=" ",u="array";a=f+g+o.bodyText.split("\n").join("\n"+g)+m+t,c=c||a,l=a.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(u),label:c,documentation:i.fromMarkup(o.markdownDescription)||o.description,insertText:a,insertTextFormat:nI.Snippet,filterText:l}),s=!0}),!s&&"object"==typeof e.items&&!Array.isArray(e.items)&&r<5&&this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(oJ(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:nI.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r0?t[0]:void 0}if(!e)return nO.Value;switch(e){case"string":default:return nO.Value;case"object":return nO.Module;case"property":return nO.Property}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i,s=this.getInsertTextForValue(e,"");if(!n)return s;var o=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var a=t.defaultSnippets[0].body;oJ(a)&&(i=this.getInsertTextForSnippetValue(a,""))}o+=t.defaultSnippets.length}if(t.enum&&(!i&&1===t.enum.length&&(i=this.getInsertTextForGuessedValue(t.enum[0],"")),o+=t.enum.length),oJ(t.default)&&(!i&&(i=this.getInsertTextForGuessedValue(t.default,"")),o++),Array.isArray(t.examples)&&t.examples.length&&(!i&&(i=this.getInsertTextForGuessedValue(t.examples[0],"")),o+=t.examples.length),0===o){var l=Array.isArray(t.type)?t.type[0]:t.type;switch(!l&&(t.properties?l="object":t.items&&(l="array")),l){case"boolean":i="$1";break;case"string":i='"$1"';break;case"object":i="{$1}";break;case"array":i="[$1]";break;case"number":case"integer":i="${1:0}";break;case"null":i="${1:null}";break;default:return s}}}return(!i||o>1)&&(i="$1"),s+": "+i+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=oV(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=oV(t.getText(),!0),i=e.items,s=i.length-1;s>=0;s--){var o=i[s];if(n>o.offset+o.length){if(r.setPosition(o.offset+o.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength())return s+1;return s}if(n>=o.offset)return s}return 0},e.prototype.isInComment=function(e,t,n){var r=oV(e.getText(),!1);r.setPosition(t);for(var i=r.scan();17!==i&&r.getTokenOffset()+r.getTokenLength()i.offset+1&&r=0;h--){var c=this.contributions[h].getInfoContribution(e.uri,u);if(c)return c.then(function(e){return l(e)})}return this.schemaService.getSchemaForResource(e.uri,n).then(function(e){if(e&&i){var t=n.getMatchingSchemas(e.schema,i.offset),r=void 0,s=void 0,o=void 0,a=void 0;t.every(function(e){if(e.node===i&&!e.inverted&&e.schema&&(r=r||e.schema.title,s=s||e.schema.markdownDescription||aC(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(oH(i));e.schema.markdownEnumDescriptions?o=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(o=aC(e.schema.enumDescriptions[t])),o&&"string"!=typeof(a=e.schema.enum[t])&&(a=JSON.stringify(a))}return!0});var u="";return r&&(u=aC(r)),s&&(u.length>0&&(u+="\n\n"),u+=s),o&&(u.length>0&&(u+="\n\n"),u+="`".concat(function(e){return -1!==e.indexOf("`")?"`` "+e+" ``":e}(a),"`: ").concat(o)),l([u])}return null})},e}();function aC(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var aS=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=!1!==e.validate,this.commentSeverity=e.allowComments?void 0:nf.Error)},e.prototype.doValidation=function(e,t,n,r){var i=this;if(!this.validationEnabled)return this.promise.resolve([]);var s=[],o={},a=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;!o[t]&&(o[t]=!0,s.push(e))},l=function(r){var o=(null==n?void 0:n.trailingCommas)?aL(n.trailingCommas):nf.Error,l=(null==n?void 0:n.comments)?aL(n.comments):i.commentSeverity,u=(null==n?void 0:n.schemaValidation)?aL(n.schemaValidation):nf.Warning,h=(null==n?void 0:n.schemaRequest)?aL(n.schemaRequest):nf.Warning;if(r){if(r.errors.length&&t.root&&h){var c=t.root,d="object"===c.type?c.properties[0]:void 0;if(d&&"$schema"===d.keyNode.value){var f=d.valueNode||d,m=ni.create(e.positionAt(f.offset),e.positionAt(f.offset+f.length));a(np.create(m,r.errors[0],h,n9.SchemaResolveError))}else{var m=ni.create(e.positionAt(c.offset),e.positionAt(c.offset+1));a(np.create(m,r.errors[0],h,n9.SchemaResolveError))}}else if(u){var g=t.validate(e,r.schema,u);g&&g.forEach(a)}(function e(t){if(t&&"object"==typeof t){if(oX(t.allowComments))return t.allowComments;if(t.allOf)for(var n=0,r=t.allOf;n=97&&e<=102)?e-97+10:0}var aE=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var s=n.resultLimit||Number.MAX_VALUE,o=e.uri;if(("vscode://defaultsettings/keybindings.json"===o||oQ(o.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var a=[],l=0,u=i.items;l0){s--;var o=ns.create(e.uri,aN(e,t)),a=n?n+"."+t.keyNode.value:t.keyNode.value;b.push({name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),location:o,containerName:n}),g.push({node:i,containerName:a})}else v=!0}})};p0){s--;var o=aN(e,t),a={name:String(i),kind:r.getSymbolKind(t.type),range:o,selectionRange:o,children:[]};n.push(a),v.push({result:a.children,node:t})}else y=!0}}):"object"===t.type&&t.properties.forEach(function(t){var i=t.valueNode;if(i){if(s>0){s--;var o=aN(e,t),a=aN(e,t.keyNode),l=[],u={name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),range:o,selectionRange:a,children:l,detail:r.getDetail(i)};n.push(u),v.push({result:l,node:i})}else y=!0}})};b{var e={470:e=>{function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,s=-1,o=0,a=0;a<=e.length;++a){if(a2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),s=a,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,s=a,o=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(s+1,a):r=e.slice(s+1,a),i=a-s-1;s=a,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r,i="",s=!1,o=arguments.length-1;o>=-1&&!s;o--)o>=0?e=arguments[o]:(void 0===r&&(r=process.cwd()),e=r),t(e),0!==e.length&&(i=e+"/"+i,s=47===e.charCodeAt(0));return i=n(i,!s),s?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(a+c))return n.slice(a+c+1);if(0===c)return n.slice(a+c)}else o>u&&(47===e.charCodeAt(i+c)?h=c:0===c&&(h=0));break}var d=e.charCodeAt(i+c);if(d!==n.charCodeAt(a+c))break;47===d&&(h=c)}var f="";for(c=i+h+1;c<=s;++c)c!==s&&47!==e.charCodeAt(c)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(a+h):(a+=h,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,s=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!s){i=o;break}}else s=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,s=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else -1===l&&(o=!1,l=r+1),a>=0&&(u===n.charCodeAt(a)?-1==--a&&(s=r):(a=-1,s=l))}return i===s?s=l:-1===s&&(s=e.length),e.slice(i,s)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else -1===s&&(o=!1,s=r+1);return -1===s?"":e.slice(i,s)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,s=!0,o=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(s=!1,i=a+1),46===l?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1);else if(!s){r=a+1;break}}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){var t,n,r,i;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=0,r=(n=e).dir||n.root,i=n.base||(n.name||"")+(n.ext||""),r?r===n.root?r+i:r+"/"+i:i},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),s=47===i;s?(n.root="/",r=1):r=0;for(var o=-1,a=0,l=-1,u=!0,h=e.length-1,c=0;h>=r;--h)if(47!==(i=e.charCodeAt(h)))-1===l&&(u=!1,l=h+1),46===i?-1===o?o=h:1!==c&&(c=1):-1!==o&&(c=-1);else if(!u){a=h+1;break}return -1===o||-1===l||0===c||1===c&&o===l-1&&o===a+1?-1!==l&&(n.base=n.name=0===a&&s?e.slice(1,l):e.slice(a,l)):(0===a&&s?(n.name=e.slice(1,o),n.base=e.slice(1,l)):(n.name=e.slice(a,o),n.base=e.slice(a,l)),n.ext=e.slice(o,l)),a>0?n.dir=e.slice(0,a-1):s&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},447:(e,t,n)=>{(n.r(t),n.d(t,{URI:()=>f,Utils:()=>w}),"object"==typeof process)?i="win32"===process.platform:"object"==typeof navigator&&(i=navigator.userAgent.indexOf("Windows")>=0);var r,i,s,o,a=(s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=/^\w[\w\d+.-]*$/,u=/^\//,h=/^\/\//;function c(e,t){if(!e.scheme&&t)throw Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(e.authority,'", path: "').concat(e.path,'", query: "').concat(e.query,'", fragment: "').concat(e.fragment,'"}'));if(e.scheme&&!l.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!u.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(h.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,f=function(){function e(e,t,n,r,i,s){var o,a;void 0===s&&(s=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(o=e,a=s,o||a?o:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",c(this,s))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"string"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return y(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,s=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment?this:new g(t,n,r,i,s)},e.parse=function(e,t){void 0===t&&(t=!1);var n=d.exec(e);return n?new g(n[2]||"",S(n[4]||""),S(n[5]||""),S(n[7]||""),S(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(i&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){var n=e.indexOf("/",2);-1===n?(t=e.substring(2),e="/"):(t=e.substring(2,n),e=e.substring(n)||"/")}return new g("file",t,e,"","")},e.from=function(e){var t=new g(e.scheme,e.authority,e.path,e.query,e.fragment);return c(t,!0),t},e.prototype.toString=function(e){return void 0===e&&(e=!1),_(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=i?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=y(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(f),p=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function v(e,t){for(var n=void 0,r=-1,i=0;i=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var o=p[s];void 0!==o?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=o):-1===r&&(r=i)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function b(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//".concat(e.authority).concat(e.path):47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i&&(n=n.replace(/\//g,"\\")),n}function _(e,t){var n,r=t?b:v,i="",s=e.scheme,o=e.authority,a=e.path,l=e.query,u=e.fragment;if(s&&(i+=s,i+=":"),(o||"file"===s)&&(i+="/",i+="/"),o){var h=o.indexOf("@");if(-1!==h){var c=o.substr(0,h);o=o.substr(h+1),-1===(h=c.indexOf(":"))?i+=r(c,!1):(i+=r(c.substr(0,h),!1),i+=":",i+=r(c.substr(h+1),!1)),i+="@"}-1===(h=(o=o.toLowerCase()).indexOf(":"))?i+=r(o,!1):(i+=r(o.substr(0,h),!1),i+=o.substr(h))}return a&&(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)?(n=a.charCodeAt(1))>=65&&n<=90&&(a="/".concat(String.fromCharCode(n+32),":").concat(a.substr(3))):a.length>=2&&58===a.charCodeAt(1)&&(n=a.charCodeAt(0))>=65&&n<=90&&(a="".concat(String.fromCharCode(n+32),":").concat(a.substr(2))),i+=r(a,!0)),l&&(i+="?",i+=r(l,!1)),u&&(i+="#",i+=t?u:v(u,!1)),i}var C=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(C)?e.replace(C,function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)}):e}var w,L=n(470),x=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,s=t.length;i{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)})();var aM=function(){function e(e,t){this.globWrappers=[];try{for(var n=0;n0&&("/"===r[0]&&(r=r.substring(1)),this.globWrappers.push({regexp:function(e,t){if("string"!=typeof e)throw TypeError("Expected a string");for(var n,r=String(e),i="",s=!!t&&!!t.extended,o=!!t&&!!t.globstar,a=!1,l=t&&"string"==typeof t.flags?t.flags:"",u=0,h=r.length;u1&&("/"===c||void 0===c||"{"===c||","===c)&&("/"===f||void 0===f||","===f||"}"===f)?("/"===f?u++:"/"===c&&i.endsWith("\\/")&&(i=i.substr(0,i.length-2)),i+="((?:[^/]*(?:/|$))*)"):i+="([^/]*)":i+=".*";break;default:i+=n}return(!l||!~l.indexOf("g"))&&(i="^"+i+"$"),new RegExp(i,l)}("**/"+r,{extended:!0,globstar:!0}),include:i}))}this.uris=t}catch(e){this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0,r=this.globWrappers;n0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){var t=this;this.cachedSchemaForResource=void 0;for(var n=!1,r=[e=aD(e)],i=Object.keys(this.schemasById).map(function(e){return t.schemasById[e]});r.length;){for(var s=r.pop(),o=0;o1&&(n=r[1]),oQ(n,".")&&(n=n.substr(0,n.length-1)),new aI({},[o9("json.schema.nocontent","Unable to load schema from '{0}': {1}.",aq(e),n)])})},e.prototype.resolveSchemaContent=function(e,t){var n=this,r=e.errors.slice(0),i=e.schema;if(i.$schema){var s=aD(i.$schema);if("http://json-schema.org/draft-03/schema"===s)return this.promise.resolve(new aP({},[o9("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===s?r.push(o9("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported.")):"https://json-schema.org/draft/2020-12/schema"===s&&r.push(o9("json.schema.draft202012.notsupported","Draft 2020-12 schemas are not yet fully supported."))}var o=this.contextService,a=function(e,t){t=decodeURIComponent(t);var n=e;return"/"===t[0]&&(t=t.substring(1)),t.split("/").some(function(e){return!(n=n[e=e.replace(/~1/g,"/").replace(/~0/g,"~")])}),n},l=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&"id"!==n&&"$id"!==n&&(e[n]=t[n])},u=function(e,t,n,i){var s,o,u,h;if(void 0===i||0===i.length)s=t;else if("/"===i.charAt(0))s=a(t,i);else{;o=t,u=n,h=i,u.anchors||(u.anchors=d(o)),s=u.anchors.get(h)}s?l(e,s):r.push(o9("json.schema.invalidid","$ref '{0}' in '{1}' can not be resolved.",i,n.uri))},h=function(e,t,i,s){o&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(t)&&(t=o.resolveRelativePath(t,s.uri)),t=aD(t);var a=n.getOrAddSchemaHandle(t);return a.getUnresolvedSchema().then(function(n){if(s.dependencies.add(t),n.errors.length){var o=i?t+"#"+i:t;r.push(o9("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,n.errors[0]))}return u(e,n.schema,a,i),c(e,n.schema,a)})},c=function(e,t,r){var i=[];return n.traverseNodes(e,function(e){for(var n=new Set;e.$ref;){var s=e.$ref,o=s.split("#",2);if(delete e.$ref,o[0].length>0){i.push(h(e,o[0],o[1],r));return}!n.has(s)&&(u(e,t,r,o[1]),n.add(s))}}),n.promise.all(i)},d=function(e){var t=new Map;return n.traverseNodes(e,function(e){var n=e.$id||e.id;if("string"==typeof n&&"#"===n.charAt(0)){var i=n.substring(1);t.has(i)?r.push(o9("json.schema.duplicateid","Duplicate id declaration: '{0}'",n)):t.set(i,e)}}),t};return c(i,i,t).then(function(e){return new aP(i,r)})},e.prototype.traverseNodes=function(e,t){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var n=new Set,r=[e],i=r.pop();i;)!n.has(i)&&(n.add(i),t(i),!function(){for(var e=[],t=0;t0?this.createCombinedSchema(e,i).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:s},s},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map(function(e){return{$ref:e}})};return this.addSchemaHandle(n,r)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var r=n.id||"schemaservice://untitled/matchingSchemas/"+aV++;return this.addSchemaHandle(r,n).getResolvedSchema().then(function(e){return t.getMatchingSchemas(e.schema).filter(function(e){return!e.inverted})})}return this.getSchemaForResource(e.uri,t).then(function(e){return e?t.getMatchingSchemas(e.schema).filter(function(e){return!e.inverted}):[]})},e}(),aV=0;function aD(e){try{return aR.parse(e).toString(!0)}catch(t){return e}}function aq(e){try{var t=aR.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}function aK(e,t){var n=[],r=[],i=[],s=-1,o=oV(e.getText(),!1),a=o.scan();function l(e){n.push(e),r.push(i.length)}for(;17!==a;){switch(a){case 1:case 3:var u=e.positionAt(o.getTokenOffset()).line,h={startLine:u,endLine:u,kind:1===a?"object":"array"};i.push(h);break;case 2:case 4:var c=2===a?"object":"array";if(i.length>0&&i[i.length-1].kind===c){var h=i.pop(),d=e.positionAt(o.getTokenOffset()).line;h&&d>h.startLine+1&&s!==h.startLine&&(h.endLine=d-1,l(h),s=h.startLine)}break;case 13:var u=e.positionAt(o.getTokenOffset()).line,f=e.positionAt(o.getTokenOffset()+o.getTokenLength()).line;1===o.getTokenError()&&u+1=0&&i[g].kind!==nh.Region;)g--;if(g>=0){var h=i[g];i.length=g,d>h.startLine&&s!==h.startLine&&(h.endLine=d,l(h),s=h.startLine)}}}}a=o.scan()}var p=t&&t.rangeLimit;if("number"!=typeof p||n.length<=p)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var v=[],b=0;bp){C=g;break}_+=S}}for(var w=[],g=0;g=l&&s<=u&&a.push(r(l,u)),a.push(r(o.offset,o.offset+o.length));break;case"number":case"boolean":case"null":case"property":a.push(r(o.offset,o.offset+o.length))}if("property"===o.type||o.parent&&"array"===o.parent.type){var h=function(e,t){return(i.setPosition(e),i.scan()===t)?i.getTokenOffset()+i.getTokenLength():-1}(o.offset+o.length,5);-1!==h&&a.push(r(o.offset,h))}o=o.parent}for(var c=void 0,d=a.length-1;d>=0;d--)c=n2.create(a[d],c);return!c&&(c=n2.create(ni.create(t,t))),c})}function aU(e,t){var n=[];return t.visit(function(r){var i;if("property"===r.type&&"$ref"===r.keyNode.value&&(null===(i=r.valueNode)||void 0===i?void 0:i.type)==="string"){var s=function(e,t){var n=function(e){return"#"===e?[]:"#"!==e[0]||"/"!==e[1]?null:e.substring(2).split(/\//).map(aB)}(t);return n?function e(t,n){if(!n)return null;if(0===t.length)return n;var r=t.shift();if(n&&"object"===n.type){var i=n.properties.find(function(e){return e.keyNode.value===r});return i?e(t,i.valueNode):null}if(n&&"array"===n.type&&r.match(/^(0|[1-9][0-9]*)$/)){var s=Number.parseInt(r),o=n.items[s];return o?e(t,o):null}return null}(n,e.root):null}(t,r.valueNode.value);if(s){var o=e.positionAt(s.offset);n.push({target:"".concat(e.uri,"#").concat(o.line+1,",").concat(o.character+1),range:function(e,t){return ni.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}(e,r.valueNode)})}}return!0}),Promise.resolve(n)}function aB(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}"undefined"!=typeof fetch&&(ri=function(e){return fetch(e).then(e=>e.text())});var a$=class{_ctx;_languageService;_languageSettings;_languageId;constructor(e,t){var n,r,i,s,o,a,l;this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=(r=(n={workspaceContext:{resolveRelativePath:(e,t)=>(function(e,t){if(47===t.charCodeAt(0)){let n=aR.parse(e),r=t.split("/");return n.with({path:aW(r)}).toString()}return function(e,...t){let n=aR.parse(e),r=n.path.split("/");for(let e of t)r.push(...e.split("/"));return n.with({path:aW(r)}).toString()}(e,t)})(t.substr(0,t.lastIndexOf("/")+1),e)},schemaRequestService:t.enableSchemaRequest?ri:void 0}).promiseConstructor||Promise,(i=new aF(n.schemaRequestService,n.workspaceContext,r)).setSchemaContributions(aA),s=new ay(i,n.contributions,r,n.clientCapabilities),o=new a_(i,n.contributions,r),a=new aE(i),{configure:function(e){i.clearExternalSchemas(),e.schemas&&e.schemas.forEach(function(e){i.registerExternalSchema(e.uri,e.fileMatch,e.schema)}),l.configure(e)},resetSchema:function(e){return i.onResourceChange(e)},doValidation:(l=new aS(i,r)).doValidation.bind(l),getLanguageStatus:l.getLanguageStatus.bind(l),parseJSONDocument:function(e){return function(e,t){var n=[],r=-1,i=e.getText(),s=oV(i,!1),o=t&&t.collectComments?[]:void 0;function a(){for(;;){var t=s.scan();switch(function(){switch(s.getTokenError()){case 4:return u(o9("InvalidUnicode","Invalid unicode sequence in string."),n9.InvalidUnicode);case 5:return u(o9("InvalidEscapeCharacter","Invalid escape character in string."),n9.InvalidEscapeCharacter);case 3:return u(o9("UnexpectedEndOfNumber","Unexpected end of number."),n9.UnexpectedEndOfNumber);case 1:return u(o9("UnexpectedEndOfComment","Unexpected end of comment."),n9.UnexpectedEndOfComment);case 2:return u(o9("UnexpectedEndOfString","Unexpected end of string."),n9.UnexpectedEndOfString);case 6:return u(o9("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),n9.InvalidCharacter)};}(),t){case 12:case 13:Array.isArray(o)&&o.push(ni.create(e.positionAt(s.getTokenOffset()),e.positionAt(s.getTokenOffset()+s.getTokenLength())));break;case 15:case 14:break;default:return t}}}function l(t,i,s,o,a){if(void 0===a&&(a=nf.Error),0===n.length||s!==r){var l=ni.create(e.positionAt(s),e.positionAt(o));n.push(np.create(l,t,a,i,e.languageId)),r=s}}function u(e,t,n,r,o){void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===o&&(o=[]);var u=s.getTokenOffset(),c=s.getTokenOffset()+s.getTokenLength();if(u===c&&u>0){for(u--;u>0&&/\s/.test(i.charAt(u));)u--;c=u+1}if(l(e,t,u,c),n&&h(n,!1),r.length+o.length>0){for(var d=s.getToken();17!==d;){if(-1!==r.indexOf(d)){a();break}if(-1!==o.indexOf(d))break;d=a()}}return n}function h(e,t){return e.length=s.getTokenOffset()+s.getTokenLength()-e.offset,t&&a(),e}var c=new as(void 0,0,0);function d(e){if(10===s.getToken()){var t=new as(e,s.getTokenOffset());return t.value=s.getTokenValue(),h(t,!0)}}function f(t){return function(e){if(3===s.getToken()){var t=new ar(e,s.getTokenOffset());a();for(var n=!1;4!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){!n&&u(o9("ValueExpected","Value expected"),n9.ValueExpected);var r=s.getTokenOffset();if(a(),4===s.getToken()){n&&l(o9("TrailingComma","Trailing comma"),n9.TrailingComma,r,r+1);continue}}else n&&u(o9("ExpectedComma","Expected comma"),n9.CommaExpected);var i=f(t);i?t.items.push(i):u(o9("PropertyExpected","Value expected"),n9.ValueExpected,void 0,[],[4,5]),n=!0}return 4!==s.getToken()?u(o9("ExpectedCloseBracket","Expected comma or closing bracket"),n9.CommaOrCloseBacketExpected,t):h(t,!0)}}(t)||function(t){if(1===s.getToken()){var n=new aa(t,s.getTokenOffset()),r=Object.create(null);a();for(var i=!1;2!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){!i&&u(o9("PropertyExpected","Property expected"),n9.PropertyExpected);var o=s.getTokenOffset();if(a(),2===s.getToken()){i&&l(o9("TrailingComma","Trailing comma"),n9.TrailingComma,o,o+1);continue}}else i&&u(o9("ExpectedComma","Expected comma"),n9.CommaExpected);var m=function(t,n){var r=new ao(t,s.getTokenOffset(),c),i=d(r);if(!i){if(16!==s.getToken())return;u(o9("DoubleQuotesExpected","Property keys must be doublequoted"),n9.Undefined);var o=new as(r,s.getTokenOffset(),s.getTokenLength());o.value=s.getTokenValue(),i=o,a()}r.keyNode=i;var h=n[i.value];if(h?(l(o9("DuplicateKeyWarning","Duplicate object key"),n9.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,nf.Warning),"object"==typeof h&&l(o9("DuplicateKeyWarning","Duplicate object key"),n9.DuplicateKey,h.keyNode.offset,h.keyNode.offset+h.keyNode.length,nf.Warning),n[i.value]=!0):n[i.value]=r,6===s.getToken())r.colonOffset=s.getTokenOffset(),a();else if(u(o9("ColonExpected","Colon expected"),n9.ColonExpected),10===s.getToken()&&e.positionAt(i.offset+i.length).line0&&!oU(e,s-1);)s--;for(var r,i,s,o,a,l,u=a;uo)&&e.substring(r,i)!==n&&v.push({offset:r,length:i-r,content:n})}var y=p();if(17!==y){var _=f.getTokenOffset()+s;b(oj(l,r),s,_)}for(;17!==y;){for(var C=f.getTokenOffset()+f.getTokenLength()+s,S=p(),w="",L=!1;!c&&(12===S||13===S);)b(" ",C,f.getTokenOffset()+s),C=f.getTokenOffset()+f.getTokenLength()+s,w=(L=12===S)?g():"",S=p();if(2===S)1!==y&&(d--,w=g());else if(4===S)3!==y&&(d--,w=g());else{switch(y){case 3:case 1:d++,w=g();break;case 5:case 12:w=g();break;case 13:c?w=g():!L&&(w=" ");break;case 6:!L&&(w=" ");break;case 10:if(6===S){!L&&(w="");break}case 7:case 8:case 9:case 11:case 2:case 4:12===S||13===S?!L&&(w=" "):5!==S&&17!==S&&(m=!0);break;case 16:m=!0}c&&(12===S||13===S)&&(w=g())}17===S&&(w=n.insertFinalNewline?h:""),b(w,C,f.getTokenOffset()+s),y=S}return v}(r,i,a)).map(function(t){return nb.replace(ni.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)})}}),this._languageService.configure(this._languageSettings)}async doValidation(e){let t=this._getTextDocument(e);if(t){let e=this._languageService.parseJSONDocument(t);return this._languageService.doValidation(t,e,this._languageSettings)}return Promise.resolve([])}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doComplete(n,t,r)}async doResolve(e){return this._languageService.doResolve(e)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doHover(n,t,r)}async format(e,t,n){let r=this._getTextDocument(e);return r?Promise.resolve(this._languageService.format(r,t,n)):[]}async resetSchema(e){return Promise.resolve(this._languageService.resetSchema(e))}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t);return Promise.resolve(this._languageService.findDocumentSymbols(t,n))}async findDocumentColors(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t);return Promise.resolve(this._languageService.findDocumentColors(t,n))}async getColorPresentations(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.parseJSONDocument(r);return Promise.resolve(this._languageService.getColorPresentations(r,i,t,n))}async getFoldingRanges(e,t){let n=this._getTextDocument(e);return n?Promise.resolve(this._languageService.getFoldingRanges(n,t)):[]}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseJSONDocument(n);return Promise.resolve(this._languageService.getSelectionRanges(n,t,r))}_getTextDocument(e){for(let t of this._ctx.getMirrorModels())if(t.uri.toString()===e)return n7.create(e,this._languageId,t.version,t.getValue());return null}};function aW(e){let t=[];for(let n of e)0===n.length||1===n.length&&46===n.charCodeAt(0)||(2===n.length&&46===n.charCodeAt(0)&&46===n.charCodeAt(1)?t.pop():t.push(n));e.length>1&&0===e[e.length-1].length&&t.push("");let n=t.join("/");return 0===e[0].length&&(n="/"+n),n}self.onmessage=()=>{oF((e,t)=>new a$(e,t))}})(); \ No newline at end of file diff --git a/pr-preview/pr-5/lunr-index-1733170719906.json b/pr-preview/pr-5/lunr-index-1733170719906.json new file mode 100644 index 0000000..2333f95 --- /dev/null +++ b/pr-preview/pr-5/lunr-index-1733170719906.json @@ -0,0 +1 @@ +{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,919.74]],["content/0",[]],["keywords/0",[]],["title/1",[1,807.953,2,807.953]],["content/1",[3,7.678,4,8.417,5,9.54,6,4.406,7,7.678,8,9.54,9,7.678,10,9.54,11,6.684,12,9.54,13,7.678,14,7.678,15,9.54,16,9.54,17,9.54,18,7.125,19,6.281,20,9.54,21,8.417,22,8.417]],["keywords/1",[]],["title/2",[23,330.393,24,428.712]],["content/2",[]],["keywords/2",[]],["title/3",[23,227.872,24,295.684,25,307.366,26,416.17]],["content/3",[23,3.039,24,5.677,26,11.649,27,3.943,28,9.44,29,10.699,30,10.699,31,7.432,32,7.432,33,4.921,34,5.207,35,6.557,36,7.432,37,5.45,38,6.557,39,7.432,40,7.432,41,7.432,42,7.432,43,7.432,44,7.432,45,4.676,46,4.676,47,4.921,48,6.557]],["keywords/3",[]],["title/4",[23,227.872,24,295.684,25,307.366,49,320.218]],["content/4",[23,3.967,24,8.157,27,5.148,28,11.352,37,3.856,45,6.104,46,6.104,47,6.424,48,8.56,49,9.192,50,12.866]],["keywords/4",[]],["title/5",[51,712.844,52,712.844]],["content/5",[]],["keywords/5",[]],["title/6",[53,566.043,54,508.297]],["content/6",[6,5.627,19,6.015,23,4.982,45,7.665,54,7.665,55,12.183,56,12.183,57,12.183]],["keywords/6",[]],["title/7",[58,712.844,59,566.043]],["content/7",[60,14.316,61,5.856,62,11.451,63,11.451,64,10.103,65,9.215,66,9.215,67,11.451,68,7.582,69,10.103]],["keywords/7",[]],["title/8",[6,304.613,45,414.953,70,462.095]],["content/8",[6,3.524,19,5.383,45,4.8,59,5.346,64,6.732,69,6.732,70,5.346,71,2.792,72,12.722,73,8.774,74,6.14,75,6.732,76,5.346,77,6.859,78,12.246,79,4.8,80,7.63,81,7.63,82,6.732,83,2.649,84,7.63,85,7.63,86,9.62,87,6.14,88,5.052,89,6.732,90,7.63]],["keywords/8",[]],["title/9",[6,373.136,54,508.297]],["content/9",[6,4.518,19,3.247,23,2.689,24,3.49,54,6.155,58,5.803,59,4.608,74,5.293,77,7.35,78,8.632,79,6.155,82,8.632,86,5.803,91,6.478,92,9.784,93,9.784,94,9.784,95,5.803,96,6.577,97,6.854,98,4.608,99,6.577,100,4.912,101,3.948,102,3.49,103,4.912,104,4.912,105,6.577,106,5.803,107,5.803,108,6.577,109,5.803,110,5.293,111,5.803,112,6.577,113,6.577]],["keywords/9",[]],["title/10",[6,373.136,114,650.197]],["content/10",[]],["keywords/10",[]],["title/11",[6,373.136,101,484.993]],["content/11",[6,5.289,27,6.076,70,8.023,77,7.204,79,7.204,101,9.376,115,10.103,116,10.103,117,7.582]],["keywords/11",[]],["title/12",[6,373.136,114,650.197]],["content/12",[3,7.197,46,7.663,77,5.626,79,5.626,101,8.315,102,4.745,103,9.097,107,7.891,114,9.803,115,7.891,117,8.065,118,8.943,119,8.943,120,8.943,121,7.197,122,8.943,123,8.943,124,7.891,125,8.943]],["keywords/12",[]],["title/13",[23,269.719,126,581.937,127,530.795]],["content/13",[]],["keywords/13",[]],["title/14",[23,269.719,25,363.81,127,530.795]],["content/14",[0,5.314,19,4.52,23,2.463,25,3.322,27,3.196,45,3.789,46,3.789,47,3.988,110,4.847,121,4.847,126,5.314,127,8.916,128,9.157,129,9.157,130,9.157,131,9.157,132,5.314,133,11.079,134,7.762,135,3.789,136,5.761,137,6.023,138,6.023,139,6.023,140,6.023,141,5.314,142,7.369,143,6.023,144,9.157,145,6.023,146,6.023,147,6.023,148,4.498,149,6.023,150,6.023,151,5.314,152,5.314,153,6.023,154,6.023,155,6.023,156,6.023,157,6.023]],["keywords/14",[]],["title/15",[23,330.393,158,295.653]],["content/15",[]],["keywords/15",[]],["title/16",[23,269.719,25,363.81,159,395.928]],["content/16",[19,5.234,23,4.335,25,5.848,27,5.625,37,4.213,45,6.67,46,6.67,47,7.019,49,6.092,158,4.989,160,12.029,161,9.354,162,10.602]],["keywords/16",[]],["title/17",[7,650.197,163,650.197]],["content/17",[11,4.716,13,5.417,19,4.914,23,4.07,25,3.713,33,4.457,34,4.716,37,6.011,51,5.939,52,5.939,74,5.417,83,2.337,117,4.457,158,3.642,159,4.041,160,5.939,161,8.782,163,9.531,164,4.235,165,5.417,166,8.011,167,6.732,168,6.732,169,6.732,170,6.732,171,6.732,172,5.028,173,5.939,174,9.954,175,6.732,176,6.732,177,6.732]],["keywords/17",[]],["title/18",[53,566.043,54,508.297]],["content/18",[]],["keywords/18",[]],["title/19",[178,919.74]],["content/19",[83,2.631,87,3.805,135,2.974,178,4.171,179,8.306,180,4.728,181,4.171,182,4.728,183,7.579,184,5.66,185,3.805,186,4.728,187,4.728,188,5.66,189,3.805,190,4.728,191,6.687,192,3.13,193,6.687,194,3.741,195,3.531,196,2.838,197,4.728,198,3.805,199,4.171,200,4.171,201,4.728,202,4.728,203,4.728,204,3.13,205,3.741,206,4.171,207,4.728,208,3.312,209,4.728,210,4.171,211,2.608,212,3.312,213,2.608,214,3.13,215,4.728,216,2.838,217,3.531,218,2.608,219,3.531,220,3.13,221,7.634,222,3.805,223,3.805,224,4.728,225,2.717,226,4.728,227,3.805,228,3.805,229,4.728,230,4.728,231,2.608,232,4.171,233,3.805,234,7.579,235,3.805,236,4.728,237,4.728,238,4.728]],["keywords/19",[]],["title/20",[239,730.332]],["content/20",[21,4.389,22,6.964,23,2.034,87,4.003,97,3.485,124,6.964,179,4.738,185,4.003,192,3.294,194,2.456,196,2.986,204,3.294,205,4.843,206,4.389,208,9.081,213,2.744,220,3.294,221,4.003,223,6.352,227,4.003,231,2.744,232,4.389,233,4.003,235,4.003,239,3.485,240,4.389,241,3.13,242,4.389,243,4.975,244,1.977,245,3.13,246,2.744,247,7.893,248,4.975,249,4.975,250,4.975,251,4.975,252,5.895,253,4.975,254,4.003,255,4.975,256,4.975,257,6.352,258,4.975,259,4.975,260,4.003,261,4.975,262,3.485,263,4.389,264,4.389,265,4.975,266,4.975,267,3.485,268,4.975,269,4.975,270,3.13,271,4.975,272,7.893,273,4.389,274,3.715,275,4.975]],["keywords/20",[]],["title/21",[24,295.684,53,390.401,276,491.65,277,448.442]],["content/21",[97,5.985,205,5.827,211,4.712,212,5.985,216,5.128,241,5.374,245,5.374,276,7.537,277,6.874,278,7.537,279,5.985,280,8.542,281,6.874,282,8.542,283,7.537,284,6.874,285,8.542,286,8.542,287,8.542,288,8.542,289,8.542,290,8.542,291,8.542,292,7.537,293,3.945,294,8.542,295,8.542]],["keywords/21",[]],["title/22",[158,381.463]],["content/22",[37,3.669,71,3.378,158,3.378,179,5.542,205,6.144,211,5.092,241,5.808,274,6.895,296,8.145,297,9.232,298,9.232,299,6.895,300,9.232,301,7.43,302,5.305,303,9.232,304,9.232,305,5.542,306,9.232,307,9.232,308,9.232,309,9.232]],["keywords/22",[]],["title/23",[310,919.74]],["content/23",[25,2.524,59,3.206,91,3.03,104,3.418,106,6.514,148,3.418,179,2.747,185,5.942,194,2.259,196,4.432,199,4.038,200,6.514,205,6.166,208,6.502,211,2.524,212,3.206,213,4.072,219,3.418,221,3.683,223,5.942,231,2.524,235,3.683,241,2.879,245,2.879,252,3.418,260,5.942,267,3.206,270,2.879,274,3.418,296,4.038,310,4.038,311,7.383,312,4.576,313,4.576,314,3.683,315,4.038,316,3.683,317,7.383,318,3.683,319,4.038,320,2.63,321,4.576,322,4.576,323,4.576,324,4.576,325,4.038,326,4.576,327,4.576,328,4.576,329,3.03,330,4.576,331,3.683,332,4.576,333,4.576,334,4.576,335,4.576,336,6.514,337,3.683,338,4.576,339,7.383,340,4.576,341,4.576,342,4.576,343,4.576,344,4.576,345,4.576,346,4.576,347,4.038]],["keywords/23",[]],["title/24",[348,414.272]],["content/24",[349,6.407]],["keywords/24",[]],["title/25",[6,373.136,350,603.406]],["content/25",[]],["keywords/25",[]],["title/26",[7,650.197,351,712.844]],["content/26",[33,6.535,34,6.915,37,6.151,102,6.905,164,6.209,351,8.708,352,7.943,353,10.472,354,5.672,355,10.472,356,9.87,357,13.013]],["keywords/26",[]],["title/27",[159,484.993,350,603.406]],["content/27",[27,4.899,109,10.981,117,6.113,350,6.895,358,8.145,359,9.232,360,9.232,361,9.232,362,14.08,363,14.08,364,12.423,365,9.232,366,9.232,367,12.446,368,8.145]],["keywords/27",[]],["title/28",[6,304.613,54,414.953,102,349.983]],["content/28",[6,5.748,24,4.899,53,6.468,54,8.858,71,3.378,77,5.808,79,5.808,91,6.113,102,7.996,246,5.092,350,6.895,355,7.43,368,8.145,369,9.232,370,9.232,371,9.232,372,6.895]],["keywords/28",[]],["title/29",[102,349.983,164,414.953,373,492.596]],["content/29",[9,9.122,11,5.647,27,4.277,33,5.337,34,5.647,37,6.674,46,5.071,83,2.798,100,6.02,102,6.015,164,5.071,212,5.647,352,6.487,353,9.122,373,8.466,374,7.112,375,7.112,376,8.061,377,7.112]],["keywords/29",[]],["title/30",[6,304.613,101,395.928,102,349.983]],["content/30",[6,6.15,77,8.377,79,8.377,101,9.418,102,7.858,204,6.768,244,4.063,355,8.227,378,10.223]],["keywords/30",[]],["title/31",[61,337.309,159,395.928,379,659.58]],["content/31",[]],["keywords/31",[]],["title/32",[23,269.719,61,337.309,159,395.928]],["content/32",[19,4.155,23,3.442,46,5.295,61,6.863,76,5.897,77,5.295,79,5.295,117,5.573,159,8.055,358,7.426,380,8.417,381,15.23,382,8.417,383,7.426,384,8.417,385,7.426,386,8.417,387,8.417,388,8.417,389,8.417,390,8.417]],["keywords/32",[]],["title/33",[61,337.309,164,414.953,373,492.596]],["content/33",[9,9.122,11,5.647,27,4.277,33,5.337,34,5.647,37,6.674,61,6.705,83,2.798,100,6.02,159,4.839,164,5.071,352,6.487,353,9.122,373,8.466,374,7.112,375,7.112,377,7.112,391,8.061]],["keywords/33",[]],["title/34",[61,337.309,392,530.795,393,659.58]],["content/34",[61,5.741,110,9.034,117,7.433,159,6.739,172,8.384,383,9.905,392,11.379,394,9.034,395,11.226,396,11.226,397,11.226]],["keywords/34",[]],["title/35",[194,398.858,262,566.043]],["content/35",[]],["keywords/35",[]],["title/36",[398,778.539]],["content/36",[194,5.769,245,7.351,262,8.187,270,7.351,329,7.737,398,8.727,399,4.393,400,9.404,401,7.351,402,11.685]],["keywords/36",[]],["title/37",[302,464.284,403,603.406]],["content/37",[]],["keywords/37",[]],["title/38",[88,534.94,216,484.993]],["content/38",[244,4.551,270,7.204,302,6.58,349,5.124,398,8.552,404,7.204,405,8.023,406,9.215,407,9.215,408,11.451,409,11.451]],["keywords/38",[]],["title/39",[83,280.445,410,712.844]],["content/39",[83,5.324,270,6.927,349,4.926,406,8.86,407,8.86,410,9.714,411,6.927,412,6.327,413,7.714,414,9.714,415,11.01]],["keywords/39",[]],["title/40",[88,690.201]],["content/40",[]],["keywords/40",[]],["title/41",[416,574.995]],["content/41",[83,4.849,417,7.144]],["keywords/41",[]],["title/42",[244,414.272]],["content/42",[37,5.419,418,13.636,419,10.974]],["keywords/42",[]],["title/43",[305,484.993,420,428.712]],["content/43",[349,6.407]],["keywords/43",[]],["title/44",[399,391.909]],["content/44",[349,6.407]],["keywords/44",[]],["title/45",[421,778.539]],["content/45",[]],["keywords/45",[]],["title/46",[422,690.201]],["content/46",[18,7.774,83,3.613,205,5.138,216,6.248,217,7.774,246,5.741,293,4.807,302,5.981,421,7.774,423,7.292,424,9.184,425,6.892,426,10.409,427,8.376,428,7.292,429,8.376]],["keywords/46",[]],["title/47",[416,574.995]],["content/47",[83,4.141,136,7.505,218,6.58,349,5.337,417,6.101,430,8.357,431,8.357,432,9.6,433,8.909]],["keywords/47",[]],["title/48",[244,414.272]],["content/48",[37,6.565,412,5.672,434,11.481,435,12.845,436,12.845,437,8.708,438,8.708,439,8.708,440,8.708]],["keywords/48",[]],["title/49",[305,484.993,420,428.712]],["content/49",[349,6.407]],["keywords/49",[]],["title/50",[399,391.909]],["content/50",[349,6.407]],["keywords/50",[]],["title/51",[400,838.911]],["content/51",[]],["keywords/51",[]],["title/52",[441,1042.454]],["content/52",[111,11.751,228,10.718,442,8.818,443,13.319]],["keywords/52",[]],["title/53",[302,599.038]],["content/53",[71,3.88,211,5.848,231,5.848,240,9.354,244,4.213,245,6.67,302,6.092,400,8.532,404,6.67,442,7.019,444,6.67,445,7.428,446,10.602,447,10.602,448,10.602]],["keywords/53",[]],["title/54",[449,919.74]],["content/54",[14,3.11,71,1.414,91,2.559,100,2.886,101,2.32,102,3.411,135,6.718,194,1.908,198,7.74,216,2.32,231,3.546,233,3.11,241,2.431,242,3.41,244,1.536,263,3.41,267,2.708,279,5.782,281,3.11,299,6.164,318,3.11,325,3.41,354,2.221,394,3.11,404,5.192,405,2.708,413,7.481,442,2.559,450,2.32,451,3.865,452,6.428,453,9.618,454,6.428,455,2.886,456,3.865,457,3.865,458,2.886,459,5.672,460,3.41,461,3.865,462,6.428,463,3.865,464,3.865,465,5.672,466,3.865,467,5.672,468,3.41,469,3.865,470,3.865,471,3.41,472,3.865,473,3.865,474,3.865,475,3.865,476,3.865,477,3.41,478,3.865,479,2.32,480,3.41,481,6.428,482,3.41,483,5.672,484,3.41,485,3.865,486,3.865,487,3.865,488,3.865,489,3.41,490,5.173,491,4.504,492,6.428,493,3.865,494,3.865,495,2.886,496,2.559,497,3.865]],["keywords/54",[]],["title/55",[401,655.825]],["content/55",[4,1.862,14,1.698,24,1.12,25,1.164,53,1.478,59,2.662,68,1.397,71,1.897,76,4.441,83,0.732,91,1.397,97,1.478,134,1.478,135,4.603,148,1.576,152,1.862,158,0.772,164,1.328,179,4.392,189,1.698,191,1.862,192,1.397,194,1.876,198,3.058,204,1.397,211,1.164,216,3.112,218,1.164,220,3.433,225,4.204,241,1.328,244,2.908,246,1.164,267,1.478,281,1.698,293,1.755,302,2.184,314,1.698,318,3.058,320,1.213,329,1.397,331,1.698,347,1.862,372,3.872,394,1.698,401,3.262,403,1.576,404,3.988,405,1.478,413,6.222,414,1.862,420,1.12,428,1.478,442,3.433,444,1.328,445,2.662,449,1.862,450,1.267,455,2.838,458,7.528,459,1.862,460,3.353,467,1.862,471,3.353,477,3.353,479,4.392,480,1.862,482,1.862,483,1.862,496,1.397,498,1.698,499,2.11,500,5.593,501,3.353,502,4.574,503,2.394,504,1.698,505,2.11,506,1.862,507,1.698,508,2.11,509,2.11,510,2.11,511,1.698,512,2.11,513,3.8,514,1.576,515,2.11,516,2.11,517,2.11,518,2.11,519,2.11,520,5.185,521,3.8,522,3.058,523,3.8,524,2.11,525,2.11,526,2.11,527,3.8,528,2.11,529,2.11,530,2.11,531,2.11,532,2.11,533,1.862,534,2.11,535,2.11,536,2.11,537,1.862,538,2.11,539,2.11,540,2.11,541,2.11,542,1.698,543,2.11,544,1.576,545,2.11,546,1.862,547,2.11,548,2.11,549,2.11,550,2.11,551,1.862,552,2.11,553,2.11,554,2.11,555,2.11,556,1.862,557,1.698,558,2.11,559,1.698,560,1.576,561,1.698,562,2.11,563,1.862,564,2.11,565,2.11,566,2.11,567,2.11,568,2.11,569,2.11,570,2.11,571,1.478,572,2.11,573,2.11,574,2.11,575,1.698,576,1.862,577,1.397,578,2.11,579,2.11,580,1.862,581,2.11]],["keywords/55",[]],["title/56",[194,398.858,262,566.043]],["content/56",[68,3.382,70,2.065,71,1.079,97,2.065,98,6.384,104,3.814,135,4.251,193,2.601,194,4.498,211,1.626,216,3.066,218,2.817,225,5.236,231,1.626,239,2.065,244,2.685,270,1.855,293,3.121,302,4.631,329,4.474,392,2.372,401,5.07,403,5.047,404,5.07,407,6.486,411,1.855,413,4.734,422,1.952,442,3.382,444,1.855,445,3.578,450,1.77,498,2.372,504,4.11,533,2.601,537,2.601,542,8.621,551,2.601,561,2.372,563,2.601,575,2.372,576,2.601,577,1.952,582,2.948,583,9.982,584,2.948,585,2.948,586,2.948,587,2.948,588,2.601,589,2.948,590,2.948,591,2.948,592,2.948,593,2.948,594,6.757,595,9.982,596,2.948,597,4.631,598,5.107,599,2.948,600,2.948,601,2.601,602,2.948,603,5.962,604,5.107,605,5.107,606,2.948,607,2.948,608,2.948,609,2.948,610,2.948,611,2.948,612,2.601,613,2.71,614,2.372,615,2.202,616,2.372,617,2.372,618,2.948,619,2.948,620,2.948,621,2.948,622,2.948,623,2.948]],["keywords/56",[]],["title/57",[416,574.995]],["content/57",[3,1.863,27,1.229,70,1.622,71,2.485,83,3.256,88,3.701,98,1.622,102,1.229,103,1.729,141,2.043,165,3.323,166,1.863,188,1.729,192,1.533,195,1.729,196,2.479,204,3.701,205,6.052,208,1.622,211,3.746,213,3.083,217,1.729,219,4.175,225,2.373,231,1.277,244,2.222,252,1.729,257,1.863,279,1.622,301,1.863,320,3.902,348,3.098,372,1.729,385,2.043,398,4.175,399,0.87,401,4.272,404,1.457,405,1.622,411,2.598,412,2.373,413,1.622,416,1.277,417,1.184,423,2.893,442,5.161,444,1.457,468,3.644,495,1.729,498,3.323,506,2.043,514,1.729,577,1.533,614,3.323,624,2.315,625,1.729,626,2.315,627,2.315,628,4.13,629,1.863,630,1.729,631,1.622,632,2.315,633,2.315,634,2.315,635,2.315,636,4.13,637,1.457,638,2.315,639,2.315,640,3.084,641,2.315,642,2.043,643,1.729,644,2.315,645,2.043,646,2.315,647,2.315,648,2.315,649,2.315,650,2.315,651,2.315,652,2.315,653,2.315,654,2.315,655,2.315,656,2.315,657,2.315,658,1.533,659,2.315,660,2.315,661,2.043,662,2.315,663,2.315,664,2.315,665,2.315,666,2.043,667,2.315,668,2.315,669,2.315,670,2.315,671,2.315,672,2.315,673,2.315,674,2.315,675,2.315,676,5.59,677,4.13,678,2.315,679,2.315,680,2.112,681,4.136,682,2.315,683,2.315,684,1.729,685,1.863,686,4.13,687,2.315,688,4.13,689,2.315,690,2.315,691,2.315,692,6.791,693,2.315,694,2.315,695,2.315,696,2.315,697,1.622,698,2.315,699,2.315,700,2.315,701,2.315,702,2.315]],["keywords/57",[]],["title/58",[49,464.284,703,712.844]],["content/58",[]],["keywords/58",[]],["title/59",[491,566.043,704,712.844]],["content/59",[13,5.116,19,3.138,24,3.373,37,2.526,49,7.311,65,5.116,91,4.209,132,5.609,134,8.021,142,5.116,151,8.416,158,4.189,165,5.116,214,4.209,218,6.315,225,3.653,301,5.116,354,3.653,491,6.683,511,5.116,561,5.116,666,5.609,704,8.416,705,6.358,706,5.609,707,6.358,708,4.454,709,6.358,710,5.609,711,6.358,712,5.116,713,4.748,714,6.358,715,6.358,716,6.358,717,6.358,718,5.609,719,5.609,720,5.609]],["keywords/59",[]],["title/60",[721,919.74]],["content/60",[23,5.758,24,4.899,27,4.899,49,5.305,71,3.378,142,7.43,284,11.331,354,5.305,721,8.145,722,6.113,723,10.016,724,8.145,725,14.08,726,9.232,727,9.232,728,9.232]],["keywords/60",[]],["title/61",[729,919.74]],["content/61",[19,5.709,27,6.137,49,6.646,71,4.872,95,7.318,116,7.318,188,6.195,354,4.766,399,4.348,603,7.318,722,5.492,723,6.675,724,7.318,729,12.709,730,8.295,731,8.295,732,8.295,733,8.295,734,8.295,735,8.295,736,8.295]],["keywords/61",[]],["title/62",[88,534.94,737,712.844]],["content/62",[35,10.863,37,6.218,38,10.863,49,5.221,88,6.015,354,5.221,684,6.785,737,8.016,738,8.016,739,9.085,740,9.085,741,12.312,742,12.312,743,12.312,744,9.085]],["keywords/62",[]],["title/63",[745,919.74]],["content/63",[19,4.281,23,3.546,37,4.74,71,4.364,428,6.076,501,10.523,560,8.907,684,6.477,703,10.523,745,7.651,746,8.672,747,8.672,748,8.672,749,11.927,750,11.927,751,8.672,752,11.927,753,11.927]],["keywords/63",[]],["title/64",[754,603.406,755,650.197]],["content/64",[19,4.217,71,3.126,104,6.38,158,3.126,163,6.874,336,7.537,354,6.783,412,4.909,444,5.374,450,5.128,503,5.451,575,9.499,613,6.263,642,7.537,684,6.38,754,8.816,756,7.537,757,11.804,758,7.537,759,8.542,760,8.542,761,6.874]],["keywords/64",[]],["title/65",[542,650.197,661,712.844]],["content/65",[37,4.644,754,8.727,755,9.404,762,11.685,763,11.685,764,11.685,765,10.31,766,14.498,767,10.31]],["keywords/65",[]],["title/66",[768,1042.454]],["content/66",[37,2.916,319,6.473,465,6.473,588,9.352,754,5.479,755,5.904,765,10.98,767,12.027,769,7.337,770,7.337,771,7.337,772,7.337,773,7.337,774,9.352,775,7.337,776,7.337,777,7.337,778,7.337,779,7.337,780,7.337,781,7.337,782,7.337,783,7.337,784,7.337,785,10.6,786,5.904,787,7.337,788,7.337,789,7.337,790,7.337,791,7.337]],["keywords/66",[]],["title/67",[26,492.596,792,581.937,793,581.937]],["content/67",[19,2.882,26,4.36,33,3.865,37,6.059,49,3.355,71,2.136,158,2.136,166,4.698,254,4.698,503,2.696,580,5.151,738,5.151,774,9.589,792,5.151,793,5.151,794,5.838,795,5.838,796,5.838,797,10.868,798,13.131,799,5.838,800,5.838,801,5.838,802,5.838,803,5.838,804,5.838,805,5.151,806,5.838,807,5.838,808,5.838,809,5.838,810,5.838,811,5.838,812,5.838,813,8.942,814,5.838,815,5.838,816,5.838,817,5.838,818,5.838,819,5.838,820,5.838]],["keywords/67",[]],["title/68",[320,464.284,479,484.993]],["content/68",[]],["keywords/68",[]],["title/69",[422,690.201]],["content/69",[134,9.784,320,7.52,399,2.531,455,5.028,479,9.08,557,10.531,559,5.417,571,8.298,637,4.235,708,4.716,786,5.417,821,10.45,822,5.417,823,5.417,824,6.732,825,5.939,826,5.939,827,5.939,828,5.939,829,7.434,830,5.939,831,5.939,832,5.939,833,5.939,834,5.939]],["keywords/69",[]],["title/70",[416,574.995]],["content/70",[83,1.233,101,2.133,134,7.736,136,3.769,148,2.653,181,3.134,211,1.96,218,3.304,277,2.859,316,2.859,320,6.346,372,4.474,399,1.336,417,3.064,425,3.966,430,2.489,431,2.489,455,2.653,479,8.399,504,2.859,557,8.886,559,2.859,571,5.442,597,2.041,601,3.134,630,4.474,637,2.235,697,2.489,708,2.489,712,2.859,786,2.859,821,8.046,822,2.859,823,2.859,825,3.134,826,3.134,827,3.134,828,3.134,829,8.247,830,3.134,831,3.134,832,9.743,833,5.285,834,5.285,835,3.553,836,3.553,837,5.991,838,3.553,839,6.853,840,3.134,841,3.553,842,3.553,843,5.991,844,3.134,845,3.553,846,3.553,847,3.553,848,3.553,849,3.134,850,3.134,851,3.553,852,3.553,853,2.352,854,3.553,855,3.553,856,3.553,857,3.553,858,3.553,859,3.134]],["keywords/70",[]],["title/71",[244,414.272]],["content/71",[37,5.419,419,10.974,860,12.031]],["keywords/71",[]],["title/72",[305,484.993,420,428.712]],["content/72",[]],["keywords/72",[]],["title/73",[479,395.928,708,462.095,829,492.596]],["content/73",[47,3.054,83,1.601,195,5.55,204,4.92,205,4.606,210,4.07,213,2.545,228,3.712,254,3.712,270,2.902,274,3.445,279,3.232,283,4.07,284,3.712,299,5.55,417,2.359,444,2.902,479,6.422,484,4.07,502,4.07,522,7.509,571,5.206,577,3.054,625,3.445,630,3.445,680,2.359,681,5.677,697,5.206,708,7.495,805,8.232,822,3.712,823,3.712,829,3.445,849,8.232,850,4.07,853,3.054,861,5.98,862,4.613,863,4.613,864,4.07,865,10.698,866,9.331,867,4.613,868,4.613,869,4.613,870,4.613,871,4.613,872,7.431,873,4.613,874,4.613,875,4.613,876,4.613,877,4.613,878,4.613,879,4.613,880,4.613]],["keywords/73",[]],["title/74",[399,391.909]],["content/74",[205,6.425,479,7.813,522,12.457,881,13.016]],["keywords/74",[]],["title/75",[194,514.623]],["content/75",[]],["keywords/75",[]],["title/76",[422,690.201]],["content/76",[18,8.223,83,3.822,194,5.435,205,5.435,217,8.223,225,6.327,246,6.073,293,5.085,302,6.327,423,7.714,427,8.86,428,7.714,429,8.86]],["keywords/76",[]],["title/77",[416,574.995]],["content/77",[83,4.141,136,7.505,218,6.58,349,5.337,417,6.101,430,8.357,431,8.357,432,9.6,433,8.909]],["keywords/77",[]],["title/78",[244,414.272]],["content/78",[37,4.893,135,5.716,412,5.221,490,7.311,491,6.365,544,6.785,616,7.311,617,7.311,761,7.311,882,8.016,883,8.016,884,8.016,885,8.016,886,8.016,887,8.016,888,8.016,889,8.016,890,8.016,891,8.016,892,8.016,893,8.016,894,8.016,895,8.016]],["keywords/78",[]],["title/79",[305,484.993,420,428.712]],["content/79",[349,6.407]],["keywords/79",[]],["title/80",[399,391.909]],["content/80",[349,6.407]],["keywords/80",[]],["title/81",[681,553.142]],["content/81",[]],["keywords/81",[]],["title/82",[348,262.118,680,337.309,896,659.58]],["content/82",[61,1.794,68,2.323,71,2.169,83,2.058,89,3.096,103,2.621,121,2.824,158,3.311,173,3.096,189,2.824,192,2.323,196,2.106,216,3.559,218,1.935,225,5.199,231,1.935,241,2.208,244,2.356,245,2.208,278,3.096,305,2.106,316,2.824,329,2.323,348,5.081,364,3.096,405,2.458,411,4.843,416,4.99,425,3.925,444,2.208,489,3.096,495,2.621,500,3.096,507,2.824,514,2.621,556,3.096,577,2.323,614,2.824,615,2.621,625,2.621,637,2.208,643,2.621,680,5.171,710,3.096,713,4.428,719,3.096,723,2.824,758,3.096,844,5.231,864,3.096,897,3.509,898,3.509,899,6.195,900,3.509,901,3.509,902,3.509,903,2.621,904,2.458,905,6.757,906,3.509,907,3.509,908,3.509,909,3.509,910,2.458,911,3.509,912,3.509,913,3.509,914,3.509,915,3.509,916,3.096,917,3.509,918,3.509,919,3.509,920,3.509,921,3.509,922,3.509,923,3.509,924,5.928,925,3.509,926,3.509,927,3.509,928,3.509,929,3.509,930,3.509,931,3.509,932,3.509,933,3.509,934,3.096]],["keywords/82",[]],["title/83",[399,391.909]],["content/83",[61,6.366,348,4.947,903,9.297,935,12.449,936,10.983,937,12.449,938,10.983]],["keywords/83",[]],["title/84",[194,398.858,421,603.406]],["content/84",[]],["keywords/84",[]],["title/85",[422,690.201]],["content/85",[18,7.918,83,3.68,194,5.234,205,5.234,225,6.092,246,5.848,293,4.896,404,6.67,421,7.918,423,7.428,424,9.354,427,8.532,428,7.428,429,8.532,756,9.354]],["keywords/85",[]],["title/86",[416,574.995]],["content/86",[83,4.141,136,7.505,218,6.58,349,5.337,417,6.101,430,8.357,431,8.357,432,9.6,433,8.909]],["keywords/86",[]],["title/87",[244,414.272]],["content/87",[37,6.411,135,4.235,412,3.868,434,8.782,435,10.45,436,10.45,437,5.939,438,5.939,439,5.939,440,5.939,490,5.417,491,4.716,544,5.028,616,5.417,617,5.417,761,5.417,882,5.939,883,5.939,884,5.939,885,5.939,886,5.939,887,5.939,888,5.939,889,5.939,890,5.939,891,5.939,892,5.939,893,5.939,894,5.939,895,5.939,939,6.732,940,6.732]],["keywords/87",[]],["title/88",[305,484.993,420,428.712]],["content/88",[349,6.407]],["keywords/88",[]],["title/89",[399,391.909]],["content/89",[349,6.407]],["keywords/89",[]],["title/90",[83,280.445,625,603.406]],["content/90",[]],["keywords/90",[]],["title/91",[417,533.111]],["content/91",[47,4.305,71,2.379,83,3.367,158,2.379,196,3.903,211,3.586,214,4.305,293,5.359,348,2.584,399,2.444,417,6.579,445,4.555,496,4.305,503,3.003,511,5.233,560,4.856,597,3.736,612,5.737,613,3.45,645,5.737,658,4.305,680,3.325,681,6.826,722,4.305,905,4.856,941,6.502,942,5.737,943,5.737,944,5.233,945,5.233,946,5.737,947,5.737,948,6.502,949,6.502,950,6.502,951,6.502,952,6.502,953,6.502,954,6.502,955,6.502]],["keywords/91",[]],["title/92",[246,445.65,631,566.043]],["content/92",[71,2.115,158,2.115,195,4.316,213,3.188,214,5.875,222,4.651,244,2.297,246,8.177,293,4.098,348,3.526,354,3.321,399,2.173,412,3.321,420,3.066,450,3.469,496,3.826,503,2.669,546,5.099,597,6.206,631,7.566,643,4.316,680,2.955,681,6.936,685,4.651,697,4.049,903,4.316,956,4.651,957,5.099,958,5.779,959,5.779,960,5.779,961,5.779,962,5.779,963,5.779,964,5.779,965,5.779,966,5.779,967,2.955,968,5.099,969,5.779,970,4.316,971,5.099]],["keywords/92",[]],["title/93",[972,919.74]],["content/93",[158,3.222,293,4.067,348,3.499,399,3.31,450,5.286,503,4.067,597,5.06,613,4.672,615,6.576,681,7.292,956,7.086,967,4.503,970,6.576,972,13.038,973,6.576,974,7.769,975,8.806,976,7.086,977,7.769,978,7.769,979,7.769]],["keywords/93",[]],["title/94",[980,919.74]],["content/94",[158,3.173,293,4.005,348,3.446,399,3.26,450,7.159,503,4.005,597,4.983,613,4.601,615,6.477,681,7.234,956,6.979,967,4.435,970,6.477,976,6.979,977,7.651,978,7.651,980,12.954,981,7.651,982,8.672,983,7.651,984,8.672]],["keywords/94",[]],["title/95",[973,603.406,985,712.844]],["content/95",[71,4.319,158,3.126,348,3.395,399,3.212,450,7.086,503,3.945,597,6.783,613,4.533,681,6.263,904,8.27,945,6.874,967,4.369,973,6.38,985,7.537,986,11.804,987,11.804,988,6.874,989,7.537,990,8.542,991,7.537,992,8.542]],["keywords/95",[]],["title/96",[184,603.406,320,464.284]],["content/96",[61,5.18,71,4.394,75,3.711,98,2.947,158,1.539,184,3.141,213,2.32,214,2.785,220,2.785,222,3.385,246,2.32,320,2.417,348,2.739,354,3.961,411,2.646,417,2.151,420,2.232,544,3.141,597,3.961,640,10.235,643,3.141,658,2.785,680,2.151,681,5.375,718,3.711,722,4.564,859,9.863,903,3.141,904,4.829,910,2.947,916,3.711,944,3.385,945,5.547,967,2.151,968,3.711,970,3.141,971,3.711,988,5.547,993,4.206,994,3.711,995,4.206,996,4.206,997,4.206,998,5.547,999,4.206,1000,4.206,1001,4.206,1002,6.082,1003,11.179,1004,4.206,1005,8.759,1006,4.206,1007,4.206,1008,4.206,1009,4.206,1010,3.711,1011,4.206,1012,4.206,1013,4.206]],["keywords/96",[]],["title/97",[73,650.197,910,566.043]],["content/97",[66,7.086,73,9.699,158,3.222,184,6.576,192,5.83,214,5.83,231,4.857,320,5.06,348,3.499,425,5.83,503,4.067,613,4.672,637,5.54,681,4.672,904,6.169,910,9.627,967,4.503,988,7.086,1014,8.806,1015,8.806,1016,8.806,1017,8.806,1018,7.769]],["keywords/97",[]],["title/98",[722,534.94,998,650.197]],["content/98",[66,8.693,158,3.953,348,4.293,503,4.989,613,5.732,681,5.732,722,7.152,904,7.568,967,5.524,998,8.693,1019,10.802,1020,10.802,1021,10.802,1022,10.802]],["keywords/98",[]],["title/99",[861,838.911]],["content/99",[65,4.651,71,2.115,83,3.08,158,2.115,172,4.316,220,3.826,244,2.297,260,4.651,273,5.099,293,2.669,315,10.689,329,3.826,348,2.297,399,2.173,412,3.321,420,3.066,496,5.875,503,2.669,560,4.316,571,6.216,577,3.826,630,9.762,658,3.826,680,2.955,712,4.651,853,8.022,861,4.651,905,4.316,942,5.099,967,2.955,1023,8.873,1024,10.8,1025,5.779,1026,5.779,1027,5.779,1028,5.779,1029,5.779,1030,5.779,1031,5.779,1032,5.779,1033,5.779,1034,5.779,1035,5.779,1036,5.779]],["keywords/99",[]],["title/100",[239,730.332]],["content/100",[71,2.407,136,4.138,158,3.58,188,4.912,220,6.478,225,5.622,239,8.185,244,2.614,267,4.608,337,10.412,348,3.888,401,4.138,403,4.912,416,3.628,417,3.363,445,4.608,503,3.037,514,4.912,597,3.779,613,3.49,658,4.355,680,3.363,697,4.608,706,5.803,720,5.803,853,6.478,899,5.293,905,4.912,947,5.803,967,3.363,1037,6.577,1038,6.577,1039,6.577,1040,6.577,1041,6.577,1042,6.577,1043,6.577,1044,6.577]],["keywords/100",[]],["title/101",[713,778.539]],["content/101",[11,4.608,71,4.275,83,3.396,98,4.608,158,2.407,179,3.948,219,9.663,231,3.628,244,2.614,252,4.912,257,5.293,293,3.037,348,2.614,399,2.473,401,4.138,406,5.293,411,4.138,412,3.779,425,4.355,496,6.478,503,3.037,637,4.138,658,4.355,680,3.363,713,10.328,899,7.873,934,5.803,967,3.363,1045,9.784,1046,6.577,1047,6.577,1048,6.577,1049,6.577,1050,6.577,1051,6.577]],["keywords/101",[]],["title/102",[629,838.911]],["content/102",[25,4.575,71,3.035,158,3.035,172,6.195,212,5.811,292,7.318,293,3.831,348,4.596,399,3.118,503,3.831,507,6.675,613,4.401,629,9.307,680,4.242,685,6.675,853,7.657,967,4.242,1052,8.295,1053,11.565,1054,11.565,1055,11.565,1056,7.318,1057,8.295,1058,8.295]],["keywords/102",[]],["title/103",[1059,919.74]],["content/103",[71,3.55,158,3.55,293,4.481,314,7.808,348,3.856,399,3.648,420,5.148,503,4.481,613,5.148,853,9.558,967,4.962,1056,8.56,1059,12.737,1060,9.702,1061,9.702,1062,9.702]],["keywords/103",[]],["title/104",[399,391.909]],["content/104",[]],["keywords/104",[]],["title/105",[213,445.65,299,603.406]],["content/105",[196,6.484,205,5.333,213,7.611,246,5.958,411,6.796,631,7.568,973,8.067,1063,10.802,1064,10.802,1065,10.802,1066,10.802,1067,10.802,1068,10.802]],["keywords/105",[]],["title/106",[213,445.65,264,712.844]],["content/106",[348,2.843,495,5.342,631,5.011,640,7.772,910,5.011,936,6.311,943,6.311,944,5.756,946,6.311,957,6.311,974,6.311,976,8.375,979,6.311,981,6.311,983,6.311,989,6.311,991,6.311,994,6.311,1002,6.311,1010,6.311,1018,6.311,1069,7.153,1070,7.153,1071,7.153,1072,7.153,1073,7.153,1074,7.153,1075,7.153,1076,7.153,1077,7.153,1078,7.153,1079,7.153,1080,7.153,1081,7.153,1082,7.153,1083,7.153,1084,7.153,1085,7.153,1086,7.153]],["keywords/106",[]],["title/107",[1087,1042.454]],["content/107",[61,6.811,348,5.293,680,6.811,938,11.751]],["keywords/107",[]],["title/108",[76,566.043,331,650.197]],["content/108",[]],["keywords/108",[]],["title/109",[422,690.201]],["content/109",[68,9.599,83,4.056,179,7.014,205,5.769,244,4.644,279,8.187,293,5.397,423,8.187,458,8.727]],["keywords/109",[]],["title/110",[416,574.995]],["content/110",[68,5.191,76,9.844,83,2.721,136,6.993,179,6.672,196,4.706,208,5.492,218,6.131,227,6.309,245,4.932,262,5.492,337,6.309,417,5.684,425,5.191,430,5.492,431,5.492,433,8.301,458,5.855,637,4.932,640,5.855,839,6.917,840,6.917,1088,7.84,1089,7.84,1090,7.84,1091,7.84]],["keywords/110",[]],["title/111",[244,414.272]],["content/111",[37,5.419,419,10.974,860,12.031]],["keywords/111",[]],["title/112",[305,484.993,420,428.712]],["content/112",[349,6.407]],["keywords/112",[]],["title/113",[399,391.909]],["content/113",[349,6.407]],["keywords/113",[]]],"invertedIndex":[["",{"_index":37,"title":{},"content":{"3":{"position":[[175,1],[184,1],[292,2],[295,1]]},"4":{"position":[[80,1]]},"16":{"position":[[57,1]]},"17":{"position":[[189,1],[339,1],[358,1],[378,1],[462,1],[464,1],[466,2]]},"22":{"position":[[242,2]]},"26":{"position":[[100,1],[108,1],[154,2],[157,2]]},"29":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[203,2],[206,2],[209,2],[212,2],[215,2]]},"33":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[218,2],[221,2],[224,2],[227,2],[230,2]]},"42":{"position":[[22,4]]},"48":{"position":[[9,1],[11,1],[124,2],[127,1],[185,1],[187,1]]},"59":{"position":[[200,2]]},"62":{"position":[[149,1],[199,1],[201,3],[268,1],[318,1]]},"63":{"position":[[117,3],[167,3]]},"65":{"position":[[57,3]]},"66":{"position":[[282,3]]},"67":{"position":[[129,1],[157,1],[274,2],[295,1],[392,2],[481,1],[566,1],[597,1],[622,1]]},"71":{"position":[[29,4]]},"78":{"position":[[9,1],[394,1]]},"87":{"position":[[9,1],[30,1],[32,1],[145,2],[148,1],[206,1],[208,2],[232,1],[617,1],[619,1]]},"111":{"position":[[29,4]]}},"keywords":{}}],["0",{"_index":859,"title":{},"content":{"70":{"position":[[765,4]]},"96":{"position":[[550,4],[564,2],[576,2],[588,2],[600,2]]}},"keywords":{}}],["0..1",{"_index":839,"title":{},"content":{"70":{"position":[[229,4],[525,4],[1119,4]]},"110":{"position":[[243,4]]}},"keywords":{}}],["01",{"_index":436,"title":{},"content":{"48":{"position":[[43,2],[98,2],[159,2]]},"87":{"position":[[64,2],[119,2],[180,2]]}},"keywords":{}}],["01t00:00:00.000z"",{"_index":437,"title":{},"content":{"48":{"position":[[46,23]]},"87":{"position":[[67,23]]}},"keywords":{}}],["02",{"_index":129,"title":{},"content":{"14":{"position":[[28,2],[59,2]]}},"keywords":{}}],["02t00:00:00.000z"",{"_index":439,"title":{},"content":{"48":{"position":[[101,22]]},"87":{"position":[[122,22]]}},"keywords":{}}],["03t00:00:00.000z"",{"_index":440,"title":{},"content":{"48":{"position":[[162,22]]},"87":{"position":[[183,22]]}},"keywords":{}}],["07",{"_index":971,"title":{},"content":{"92":{"position":[[545,2]]},"96":{"position":[[259,2]]}},"keywords":{}}],["07/schema.$id",{"_index":909,"title":{},"content":{"82":{"position":[[543,13]]}},"keywords":{}}],["07rfc",{"_index":935,"title":{},"content":{"83":{"position":[[7,5]]}},"keywords":{}}],["1",{"_index":141,"title":{},"content":{"14":{"position":[[177,1]]},"57":{"position":[[744,1]]}},"keywords":{}}],["1..1",{"_index":433,"title":{},"content":{"47":{"position":[[56,4]]},"77":{"position":[[56,4]]},"86":{"position":[[56,4]]},"110":{"position":[[63,4],[184,4]]}},"keywords":{}}],["1.0",{"_index":381,"title":{},"content":{"32":{"position":[[19,3],[73,3],[133,3],[200,3],[251,3]]}},"keywords":{}}],["1.0/hello.md",{"_index":395,"title":{},"content":{"34":{"position":[[91,12]]}},"keywords":{}}],["10",{"_index":878,"title":{},"content":{"73":{"position":[[646,4]]}},"keywords":{}}],["10646",{"_index":948,"title":{},"content":{"91":{"position":[[177,5]]}},"keywords":{}}],["10px",{"_index":806,"title":{},"content":{"67":{"position":[[247,7]]}},"keywords":{}}],["1123",{"_index":981,"title":{},"content":{"94":{"position":[[59,5]]},"106":{"position":[[30,4]]}},"keywords":{}}],["12",{"_index":874,"title":{},"content":{"73":{"position":[[502,4]]}},"keywords":{}}],["18.0",{"_index":62,"title":{},"content":{"7":{"position":[[17,4]]}},"keywords":{}}],["1standard",{"_index":949,"title":{},"content":{"91":{"position":[[183,10]]}},"keywords":{}}],["2",{"_index":385,"title":{},"content":{"32":{"position":[[187,1]]},"57":{"position":[[752,1]]}},"keywords":{}}],["2.1",{"_index":982,"title":{},"content":{"94":{"position":[[73,3]]}},"keywords":{}}],["2.2",{"_index":992,"title":{},"content":{"95":{"position":[[179,4]]}},"keywords":{}}],["2.3.2.3",{"_index":984,"title":{},"content":{"94":{"position":[[201,8]]}},"keywords":{}}],["20px",{"_index":803,"title":{},"content":{"67":{"position":[[215,7]]}},"keywords":{}}],["2373",{"_index":991,"title":{},"content":{"95":{"position":[[165,5]]},"106":{"position":[[55,4]]}},"keywords":{}}],["262",{"_index":1021,"title":{},"content":{"98":{"position":[[66,3]]}},"keywords":{}}],["262json",{"_index":1070,"title":{},"content":{"106":{"position":[[6,7]]}},"keywords":{}}],["2673",{"_index":989,"title":{},"content":{"95":{"position":[[104,5]]},"106":{"position":[[70,4]]}},"keywords":{}}],["28",{"_index":130,"title":{},"content":{"14":{"position":[[31,2],[62,2]]}},"keywords":{}}],["3",{"_index":171,"title":{},"content":{"17":{"position":[[183,1]]}},"keywords":{}}],["3.2",{"_index":990,"title":{},"content":{"95":{"position":[[118,4]]}},"keywords":{}}],["3166",{"_index":646,"title":{},"content":{"57":{"position":[[739,4]]}},"keywords":{}}],["3339",{"_index":957,"title":{},"content":{"92":{"position":[[53,5]]},"106":{"position":[[85,4]]}},"keywords":{}}],["3629",{"_index":946,"title":{},"content":{"91":{"position":[[138,5]]},"106":{"position":[[109,4]]}},"keywords":{}}],["3986",{"_index":994,"title":{},"content":{"96":{"position":[[71,5]]},"106":{"position":[[125,4]]}},"keywords":{}}],["4.1.2",{"_index":975,"title":{},"content":{"93":{"position":[[76,5]]}},"keywords":{}}],["4122",{"_index":1002,"title":{},"content":{"96":{"position":[[480,5],[727,4]]},"106":{"position":[[139,4]]}},"keywords":{}}],["5)rfc",{"_index":1080,"title":{},"content":{"106":{"position":[[153,5]]}},"keywords":{}}],["5.6",{"_index":958,"title":{},"content":{"92":{"position":[[67,3]]}},"keywords":{}}],["515112",{"_index":649,"title":{},"content":{"57":{"position":[[776,6]]}},"keywords":{}}],["5321",{"_index":974,"title":{},"content":{"93":{"position":[[62,5]]},"106":{"position":[[159,4]]}},"keywords":{}}],["5890",{"_index":983,"title":{},"content":{"94":{"position":[[187,5]]},"106":{"position":[[180,4]]}},"keywords":{}}],["6",{"_index":1012,"title":{},"content":{"96":{"position":[[759,1]]}},"keywords":{}}],["600",{"_index":190,"title":{},"content":{"19":{"position":[[89,3]]}},"keywords":{}}],["6531",{"_index":979,"title":{},"content":{"93":{"position":[[186,5]]},"106":{"position":[[221,4]]}},"keywords":{}}],["6570",{"_index":1018,"title":{},"content":{"97":{"position":[[206,5]]},"106":{"position":[[255,4]]}},"keywords":{}}],["8",{"_index":944,"title":{},"content":{"91":{"position":[[108,1]]},"96":{"position":[[761,2]]},"106":{"position":[[307,2]]}},"keywords":{}}],["8)rfc",{"_index":1077,"title":{},"content":{"106":{"position":[[119,5]]}},"keywords":{}}],["8259",{"_index":936,"title":{},"content":{"83":{"position":[[13,4]]},"106":{"position":[[278,4]]}},"keywords":{}}],["8601",{"_index":961,"title":{},"content":{"92":{"position":[[105,5]]}},"keywords":{}}],["9562",{"_index":1010,"title":{},"content":{"96":{"position":[[704,4]]},"106":{"position":[[293,4]]}},"keywords":{}}],["9a",{"_index":1003,"title":{},"content":{"96":{"position":[[555,2],[567,2],[579,2],[591,2],[603,2]]}},"keywords":{}}],["a[pi",{"_index":770,"title":{},"content":{"66":{"position":[[21,7]]}},"keywords":{}}],["abil",{"_index":260,"title":{},"content":{"20":{"position":[[529,7]]},"23":{"position":[[555,7],[884,7]]},"99":{"position":[[108,7]]}},"keywords":{}}],["abov",{"_index":63,"title":{},"content":{"7":{"position":[[25,6]]}},"keywords":{}}],["absenc",{"_index":1061,"title":{},"content":{"103":{"position":[[125,7]]}},"keywords":{}}],["absolut",{"_index":730,"title":{},"content":{"61":{"position":[[53,8]]}},"keywords":{}}],["accept",{"_index":1056,"title":{},"content":{"102":{"position":[[154,8]]},"103":{"position":[[64,10]]}},"keywords":{}}],["access",{"_index":369,"title":{},"content":{"28":{"position":[[94,10]]}},"keywords":{}}],["accesscr",{"_index":313,"title":{},"content":{"23":{"position":[[53,13]]}},"keywords":{}}],["accommod",{"_index":871,"title":{},"content":{"73":{"position":[[370,11]]}},"keywords":{}}],["accur",{"_index":294,"title":{},"content":{"21":{"position":[[239,10]]}},"keywords":{}}],["accuraci",{"_index":550,"title":{},"content":{"55":{"position":[[1682,8]]}},"keywords":{}}],["achiev",{"_index":336,"title":{},"content":{"23":{"position":[[437,7],[525,7]]},"64":{"position":[[126,8]]}},"keywords":{}}],["acronym",{"_index":441,"title":{"52":{"position":[[0,9]]}},"content":{},"keywords":{}}],["act",{"_index":455,"title":{},"content":{"54":{"position":[[86,3]]},"55":{"position":[[403,3],[868,3]]},"69":{"position":[[284,3]]},"70":{"position":[[1057,3]]}},"keywords":{}}],["action",{"_index":501,"title":{},"content":{"55":{"position":[[181,6],[1435,6]]},"63":{"position":[[147,6],[228,6]]}},"keywords":{}}],["activ",{"_index":458,"title":{},"content":{"54":{"position":[[224,11]]},"55":{"position":[[131,11],[249,8],[338,8],[381,8],[464,9],[821,8],[917,8],[1845,9],[2053,10]]},"109":{"position":[[102,9]]},"110":{"position":[[131,8]]}},"keywords":{}}],["actor",{"_index":449,"title":{"54":{"position":[[0,7]]}},"content":{"55":{"position":[[2439,6]]}},"keywords":{}}],["ad",{"_index":75,"title":{},"content":{"8":{"position":[[104,5]]},"96":{"position":[[735,6]]}},"keywords":{}}],["adapt",{"_index":237,"title":{},"content":{"19":{"position":[[821,5]]}},"keywords":{}}],["add",{"_index":164,"title":{"29":{"position":[[0,3]]},"33":{"position":[[0,3]]}},"content":{"17":{"position":[[67,3]]},"26":{"position":[[32,3]]},"29":{"position":[[42,3]]},"33":{"position":[[41,3]]},"55":{"position":[[2170,3]]}},"keywords":{}}],["addit",{"_index":612,"title":{},"content":{"56":{"position":[[1277,10]]},"91":{"position":[[313,9]]}},"keywords":{}}],["address",{"_index":973,"title":{"95":{"position":[[3,8]]}},"content":{"93":{"position":[[7,9]]},"95":{"position":[[4,9]]},"105":{"position":[[1,7]]}},"keywords":{}}],["adject",{"_index":565,"title":{},"content":{"55":{"position":[[2215,9]]}},"keywords":{}}],["admonit",{"_index":745,"title":{"63":{"position":[[0,12]]}},"content":{"63":{"position":[[43,11]]}},"keywords":{}}],["adopt",{"_index":283,"title":{},"content":{"21":{"position":[[64,5]]},"73":{"position":[[83,8]]}},"keywords":{}}],["agenc",{"_index":483,"title":{},"content":{"54":{"position":[[902,6],[964,6]]},"55":{"position":[[238,7]]}},"keywords":{}}],["agnost",{"_index":1008,"title":{},"content":{"96":{"position":[[643,8]]}},"keywords":{}}],["agreement",{"_index":528,"title":{},"content":{"55":{"position":[[1062,10]]}},"keywords":{}}],["ai",{"_index":275,"title":{},"content":{"20":{"position":[[825,3]]}},"keywords":{}}],["aim",{"_index":446,"title":{},"content":{"53":{"position":[[82,3]]}},"keywords":{}}],["air",{"_index":856,"title":{},"content":{"70":{"position":[[738,3]]}},"keywords":{}}],["alert",{"_index":782,"title":{},"content":{"66":{"position":[[178,7]]}},"keywords":{}}],["alert(`y",{"_index":810,"title":{},"content":{"67":{"position":[[297,10]]}},"keywords":{}}],["allow",{"_index":794,"title":{},"content":{"67":{"position":[[54,6]]}},"keywords":{}}],["alon",{"_index":187,"title":{},"content":{"19":{"position":[[69,5]]}},"keywords":{}}],["along",{"_index":669,"title":{},"content":{"57":{"position":[[1213,5]]}},"keywords":{}}],["alpha",{"_index":647,"title":{},"content":{"57":{"position":[[746,5]]}},"keywords":{}}],["altern",{"_index":880,"title":{},"content":{"73":{"position":[[716,12]]}},"keywords":{}}],["alway",{"_index":1038,"title":{},"content":{"100":{"position":[[75,6]]}},"keywords":{}}],["amend",{"_index":414,"title":{},"content":{"39":{"position":[[101,9]]},"55":{"position":[[660,5]]}},"keywords":{}}],["american",{"_index":651,"title":{},"content":{"57":{"position":[[796,8]]}},"keywords":{}}],["amp",{"_index":431,"title":{},"content":{"47":{"position":[[35,5]]},"70":{"position":[[194,5]]},"77":{"position":[[35,5]]},"86":{"position":[[35,5]]},"110":{"position":[[35,5]]}},"keywords":{}}],["analysi",{"_index":319,"title":{},"content":{"23":{"position":[[142,8]]},"66":{"position":[[110,10]]}},"keywords":{}}],["analyt",{"_index":199,"title":{},"content":{"19":{"position":[[196,9]]},"23":{"position":[[474,9]]}},"keywords":{}}],["and/or",{"_index":697,"title":{},"content":{"57":{"position":[[1978,6]]},"70":{"position":[[137,6]]},"73":{"position":[[204,6],[457,6]]},"92":{"position":[[6,6]]},"100":{"position":[[340,6]]}},"keywords":{}}],["annot",{"_index":897,"title":{},"content":{"82":{"position":[[43,8]]}},"keywords":{}}],["answer",{"_index":563,"title":{},"content":{"55":{"position":[[2144,8]]},"56":{"position":[[381,7]]}},"keywords":{}}],["anyth",{"_index":931,"title":{},"content":{"82":{"position":[[1361,8]]}},"keywords":{}}],["anywher",{"_index":119,"title":{},"content":{"12":{"position":[[156,8]]}},"keywords":{}}],["api",{"_index":692,"title":{},"content":{"57":{"position":[[1894,3],[1935,5],[2072,4],[2121,4]]}},"keywords":{}}],["appear",{"_index":377,"title":{},"content":{"29":{"position":[[244,7]]},"33":{"position":[[261,7]]}},"keywords":{}}],["applic",{"_index":413,"title":{},"content":{"39":{"position":[[79,11]]},"54":{"position":[[507,10],[521,11],[882,10],[1000,12],[1083,12]]},"55":{"position":[[599,11],[1392,12],[1477,12],[2081,10],[2159,10],[2241,11],[2335,12]]},"56":{"position":[[210,11],[964,11],[1247,11]]},"57":{"position":[[1901,11]]}},"keywords":{}}],["application/json",{"_index":689,"title":{},"content":{"57":{"position":[[1828,17]]}},"keywords":{}}],["appropri",{"_index":312,"title":{},"content":{"23":{"position":[[36,11]]}},"keywords":{}}],["approv",{"_index":465,"title":{},"content":{"54":{"position":[[392,10],[768,8]]},"66":{"position":[[60,9]]}},"keywords":{}}],["area",{"_index":502,"title":{},"content":{"55":{"position":[[198,4],[745,4],[1614,5]]},"73":{"position":[[116,5]]}},"keywords":{}}],["around",{"_index":155,"title":{},"content":{"14":{"position":[[476,6]]}},"keywords":{}}],["array",{"_index":713,"title":{"101":{"position":[[0,6]]}},"content":{"59":{"position":[[351,5]]},"82":{"position":[[1262,5],[1398,5]]},"101":{"position":[[1,6],[61,5],[116,5],[307,5],[444,6]]}},"keywords":{}}],["asiso",{"_index":960,"title":{},"content":{"92":{"position":[[99,5]]}},"keywords":{}}],["assign",{"_index":828,"title":{},"content":{"69":{"position":[[180,7]]},"70":{"position":[[953,7]]}},"keywords":{}}],["associ",{"_index":506,"title":{},"content":{"55":{"position":[[354,10]]},"57":{"position":[[1770,10]]}},"keywords":{}}],["at"",{"_index":610,"title":{},"content":{"56":{"position":[[1168,8]]}},"keywords":{}}],["attempt",{"_index":543,"title":{},"content":{"55":{"position":[[1531,7]]}},"keywords":{}}],["attribut",{"_index":844,"title":{},"content":{"70":{"position":[[391,9]]},"82":{"position":[[388,11],[1186,10]]}},"keywords":{}}],["author",{"_index":135,"title":{},"content":{"14":{"position":[[116,8]]},"19":{"position":[[577,13]]},"54":{"position":[[190,13],[316,9],[376,15],[610,13],[1194,13]]},"55":{"position":[[282,15],[669,14],[850,13],[965,14],[1999,14]]},"56":{"position":[[229,13],[979,13],[1262,14]]},"78":{"position":[[85,13]]},"87":{"position":[[308,13]]}},"keywords":{}}],["autom",{"_index":253,"title":{},"content":{"20":{"position":[[324,8]]}},"keywords":{}}],["automat",{"_index":74,"title":{},"content":{"8":{"position":[[87,13]]},"9":{"position":[[438,13]]},"17":{"position":[[12,13]]}},"keywords":{}}],["automation.unlock",{"_index":259,"title":{},"content":{"20":{"position":[[507,17]]}},"keywords":{}}],["avail",{"_index":47,"title":{},"content":{"3":{"position":[[317,9]]},"4":{"position":[[143,9]]},"14":{"position":[[548,9]]},"16":{"position":[[131,9]]},"73":{"position":[[357,9]]},"91":{"position":[[509,9]]}},"keywords":{}}],["awesom",{"_index":750,"title":{},"content":{"63":{"position":[[94,7],[189,7]]}},"keywords":{}}],["b",{"_index":765,"title":{},"content":{"65":{"position":[[39,1]]},"66":{"position":[[70,1],[90,1],[243,1]]}},"keywords":{}}],["b(stakehold",{"_index":773,"title":{},"content":{"66":{"position":[[46,13]]}},"keywords":{}}],["b.c.'",{"_index":182,"title":{},"content":{"19":{"position":[[32,6]]}},"keywords":{}}],["backgroundcolor",{"_index":801,"title":{},"content":{"67":{"position":[[177,16]]}},"keywords":{}}],["band",{"_index":914,"title":{},"content":{"82":{"position":[[708,4]]}},"keywords":{}}],["barfind",{"_index":17,"title":{},"content":{"1":{"position":[[175,7]]}},"keywords":{}}],["base",{"_index":273,"title":{},"content":{"20":{"position":[[780,5]]},"99":{"position":[[272,5]]}},"keywords":{}}],["bc",{"_index":522,"title":{},"content":{"55":{"position":[[961,3],[1908,3]]},"73":{"position":[[56,2],[223,2],[305,2]]},"74":{"position":[[1,2],[28,2]]}},"keywords":{}}],["be",{"_index":559,"title":{},"content":{"55":{"position":[[1962,5]]},"69":{"position":[[232,5]]},"70":{"position":[[1005,5]]}},"keywords":{}}],["befor",{"_index":1016,"title":{},"content":{"97":{"position":[[147,6]]}},"keywords":{}}],["begin",{"_index":587,"title":{},"content":{"56":{"position":[[340,9]]}},"keywords":{}}],["behalf",{"_index":869,"title":{},"content":{"73":{"position":[[264,6]]}},"keywords":{}}],["behind",{"_index":402,"title":{},"content":{"36":{"position":[[73,6]]}},"keywords":{}}],["belong",{"_index":510,"title":{},"content":{"55":{"position":[[522,6]]}},"keywords":{}}],["best",{"_index":297,"title":{},"content":{"22":{"position":[[7,4]]}},"keywords":{}}],["better",{"_index":227,"title":{},"content":{"19":{"position":[[683,6]]},"20":{"position":[[78,6]]},"110":{"position":[[320,6]]}},"keywords":{}}],["between",{"_index":577,"title":{},"content":{"55":{"position":[[2423,7]]},"56":{"position":[[1597,7]]},"57":{"position":[[1495,7]]},"73":{"position":[[584,7]]},"82":{"position":[[301,7]]},"99":{"position":[[133,7]]}},"keywords":{}}],["block",{"_index":737,"title":{"62":{"position":[[5,7]]}},"content":{"62":{"position":[[15,6]]}},"keywords":{}}],["blog",{"_index":126,"title":{"13":{"position":[[9,4]]}},"content":{"14":{"position":[[531,4]]}},"keywords":{}}],["blog/2021",{"_index":128,"title":{},"content":{"14":{"position":[[18,9],[49,9]]}},"keywords":{}}],["blue",{"_index":820,"title":{},"content":{"67":{"position":[[617,4]]}},"keywords":{}}],["blue</highlight>",{"_index":817,"title":{},"content":{"67":{"position":[[543,22]]}},"keywords":{}}],["boolean",{"_index":629,"title":{"102":{"position":[[0,8]]}},"content":{"57":{"position":[[283,8]]},"102":{"position":[[1,8],[191,8]]}},"keywords":{}}],["border",{"_index":579,"title":{},"content":{"55":{"position":[[2460,8]]}},"keywords":{}}],["borderradiu",{"_index":802,"title":{},"content":{"67":{"position":[[201,13]]}},"keywords":{}}],["both",{"_index":641,"title":{},"content":{"57":{"position":[[572,4]]}},"keywords":{}}],["boundari",{"_index":1051,"title":{},"content":{"101":{"position":[[426,10]]}},"keywords":{}}],["brief",{"_index":924,"title":{},"content":{"82":{"position":[[1032,5],[1066,5]]}},"keywords":{}}],["british",{"_index":825,"title":{},"content":{"69":{"position":[[148,7]]},"70":{"position":[[921,7]]}},"keywords":{}}],["broader",{"_index":594,"title":{},"content":{"56":{"position":[[490,7],[1107,7],[1456,7]]}},"keywords":{}}],["build",{"_index":101,"title":{"11":{"position":[[0,5]]},"30":{"position":[[0,5]]}},"content":{"9":{"position":[[247,6]]},"11":{"position":[[1,5],[42,5],[88,5]]},"12":{"position":[[22,5],[58,5],[136,5]]},"30":{"position":[[1,5],[49,5],[75,5],[136,5]]},"54":{"position":[[759,8]]},"70":{"position":[[721,8]]}},"keywords":{}}],["built",{"_index":955,"title":{},"content":{"91":{"position":[[519,5]]}},"keywords":{}}],["bundl",{"_index":331,"title":{"108":{"position":[[8,6]]}},"content":{"23":{"position":[[350,8]]},"55":{"position":[[390,8]]}},"keywords":{}}],["busi",{"_index":228,"title":{},"content":{"19":{"position":[[690,8]]},"52":{"position":[[28,8]]},"73":{"position":[[107,8]]}},"keywords":{}}],["c",{"_index":767,"title":{},"content":{"65":{"position":[[48,1]]},"66":{"position":[[121,1],[156,1],[186,1],[268,1]]}},"keywords":{}}],["call",{"_index":706,"title":{},"content":{"59":{"position":[[45,6]]},"100":{"position":[[134,6]]}},"keywords":{}}],["callout",{"_index":747,"title":{},"content":{"63":{"position":[[59,9]]}},"keywords":{}}],["can't",{"_index":209,"title":{},"content":{"19":{"position":[[351,5]]}},"keywords":{}}],["canada",{"_index":648,"title":{},"content":{"57":{"position":[[763,6]]}},"keywords":{}}],["captur",{"_index":534,"title":{},"content":{"55":{"position":[[1271,7]]}},"keywords":{}}],["cardin",{"_index":430,"title":{},"content":{"47":{"position":[[6,11]]},"70":{"position":[[165,11]]},"77":{"position":[[6,11]]},"86":{"position":[[6,11]]},"110":{"position":[[6,11]]}},"keywords":{}}],["care",{"_index":752,"title":{},"content":{"63":{"position":[[136,5],[218,4]]}},"keywords":{}}],["carri",{"_index":555,"title":{},"content":{"55":{"position":[[1824,5]]}},"keywords":{}}],["case",{"_index":1000,"title":{},"content":{"96":{"position":[[406,6]]}},"keywords":{}}],["caseload",{"_index":532,"title":{},"content":{"55":{"position":[[1219,8]]}},"keywords":{}}],["cast",{"_index":1057,"title":{},"content":{"102":{"position":[[218,6]]}},"keywords":{}}],["catalogu",{"_index":870,"title":{},"content":{"73":{"position":[[313,10]]}},"keywords":{}}],["catalogueparcelmap",{"_index":881,"title":{},"content":{"74":{"position":[[9,18]]}},"keywords":{}}],["categor",{"_index":623,"title":{},"content":{"56":{"position":[[1578,14]]}},"keywords":{}}],["categori",{"_index":176,"title":{},"content":{"17":{"position":[[386,11]]}},"keywords":{}}],["caution",{"_index":371,"title":{},"content":{"28":{"position":[[179,7]]}},"keywords":{}}],["cd",{"_index":93,"title":{},"content":{"9":{"position":[[30,2],[64,2]]}},"keywords":{}}],["certain",{"_index":507,"title":{},"content":{"55":{"position":[[456,7]]},"82":{"position":[[835,7]]},"102":{"position":[[79,7]]}},"keywords":{}}],["chang",{"_index":94,"title":{},"content":{"9":{"position":[[75,7],[470,8]]}},"keywords":{}}],["characterist",{"_index":226,"title":{},"content":{"19":{"position":[[637,15]]}},"keywords":{}}],["chart",{"_index":757,"title":{},"content":{"64":{"position":[[50,8],[188,6]]}},"keywords":{}}],["check",{"_index":66,"title":{},"content":{"7":{"position":[[80,5]]},"97":{"position":[[212,5]]},"98":{"position":[[79,5]]}},"keywords":{}}],["checkbox",{"_index":67,"title":{},"content":{"7":{"position":[[90,10]]}},"keywords":{}}],["children",{"_index":797,"title":{},"content":{"67":{"position":[[131,11],[346,13],[367,10]]}},"keywords":{}}],["class",{"_index":852,"title":{},"content":{"70":{"position":[[684,5]]}},"keywords":{}}],["classic",{"_index":72,"title":{},"content":{"8":{"position":[[42,7],[65,7],[192,7]]}},"keywords":{}}],["classif",{"_index":398,"title":{"36":{"position":[[0,16]]}},"content":{"36":{"position":[[85,14]]},"38":{"position":[[6,14]]},"57":{"position":[[432,14],[676,14],[814,14]]}},"keywords":{}}],["clear",{"_index":287,"title":{},"content":{"21":{"position":[[96,5]]}},"keywords":{}}],["clearli",{"_index":295,"title":{},"content":{"21":{"position":[[254,8]]}},"keywords":{}}],["click",{"_index":811,"title":{},"content":{"67":{"position":[[308,7]]}},"keywords":{}}],["client",{"_index":572,"title":{},"content":{"55":{"position":[[2321,6]]}},"keywords":{}}],["close",{"_index":735,"title":{},"content":{"61":{"position":[[296,5]]}},"keywords":{}}],["co",{"_index":139,"title":{},"content":{"14":{"position":[[152,2]]}},"keywords":{}}],["code",{"_index":88,"title":{"38":{"position":[[0,4]]},"40":{"position":[[0,4]]},"62":{"position":[[0,4]]}},"content":{"8":{"position":[[312,4]]},"57":{"position":[[661,4],[754,4],[844,4]]},"62":{"position":[[10,4]]}},"keywords":{}}],["codelist",{"_index":635,"title":{},"content":{"57":{"position":[[420,8]]}},"keywords":{}}],["codifi",{"_index":408,"title":{},"content":{"38":{"position":[[84,8]]}},"keywords":{}}],["collect",{"_index":193,"title":{},"content":{"19":{"position":[[132,8],[320,11]]},"56":{"position":[[699,10]]}},"keywords":{}}],["coloc",{"_index":734,"title":{},"content":{"61":{"position":[[280,8]]}},"keywords":{}}],["color",{"_index":798,"title":{},"content":{"67":{"position":[[143,7],[194,6],[223,6],[320,5],[326,8]]}},"keywords":{}}],["color="#1877f2">facebook",{"_index":816,"title":{},"content":{"67":{"position":[[505,37]]}},"keywords":{}}],["color="#25c2a0">docusauru",{"_index":814,"title":{},"content":{"67":{"position":[[417,39]]}},"keywords":{}}],["columbia",{"_index":826,"title":{},"content":{"69":{"position":[[156,9]]},"70":{"position":[[929,9]]}},"keywords":{}}],["column",{"_index":665,"title":{},"content":{"57":{"position":[[1164,6]]}},"keywords":{}}],["come",{"_index":551,"title":{},"content":{"55":{"position":[[1712,4]]},"56":{"position":[[524,5]]}},"keywords":{}}],["command",{"_index":78,"title":{},"content":{"8":{"position":[[144,8],[220,7],[233,7],[330,7]]},"9":{"position":[[67,7],[239,7]]}},"keywords":{}}],["comment",{"_index":489,"title":{},"content":{"54":{"position":[[1068,8]]},"82":{"position":[[743,8]]}},"keywords":{}}],["common",{"_index":211,"title":{},"content":{"19":{"position":[[377,6]]},"21":{"position":[[138,6]]},"22":{"position":[[82,6]]},"23":{"position":[[672,6]]},"53":{"position":[[99,6]]},"55":{"position":[[43,6]]},"56":{"position":[[43,6]]},"57":{"position":[[260,6],[1364,6],[1846,6],[2051,6]]},"70":{"position":[[703,6]]},"91":{"position":[[419,6]]}},"keywords":{}}],["commonbuilt",{"_index":953,"title":{},"content":{"91":{"position":[[333,11]]}},"keywords":{}}],["commonli",{"_index":643,"title":{},"content":{"57":{"position":[[647,8]]},"82":{"position":[[18,8]]},"92":{"position":[[84,8]]},"96":{"position":[[98,8]]}},"keywords":{}}],["commun",{"_index":22,"title":{},"content":{"1":{"position":[[253,9]]},"20":{"position":[[646,11],[722,11]]}},"keywords":{}}],["comparison",{"_index":938,"title":{},"content":{"83":{"position":[[44,10]]},"107":{"position":[[21,10]]}},"keywords":{}}],["compat",{"_index":222,"title":{},"content":{"19":{"position":[[507,13]]},"92":{"position":[[204,10]]},"96":{"position":[[665,14]]}},"keywords":{}}],["compil",{"_index":848,"title":{},"content":{"70":{"position":[[449,12]]}},"keywords":{}}],["complet",{"_index":561,"title":{},"content":{"55":{"position":[[2107,9]]},"56":{"position":[[164,8]]},"59":{"position":[[450,8]]}},"keywords":{}}],["complex",{"_index":180,"title":{},"content":{"19":{"position":[[17,7]]}},"keywords":{}}],["compli",{"_index":904,"title":{},"content":{"82":{"position":[[459,8]]},"95":{"position":[[89,6],[149,6]]},"96":{"position":[[56,6],[465,6]]},"97":{"position":[[191,6]]},"98":{"position":[[46,6]]}},"keywords":{}}],["compliant",{"_index":970,"title":{},"content":{"92":{"position":[[524,9]]},"93":{"position":[[170,9]]},"94":{"position":[[171,9]]},"96":{"position":[[238,9]]}},"keywords":{}}],["compon",{"_index":793,"title":{"67":{"position":[[14,11]]}},"content":{"67":{"position":[[77,10]]}},"keywords":{}}],["concept",{"_index":302,"title":{"37":{"position":[[0,7]]},"53":{"position":[[0,9]]}},"content":{"22":{"position":[[100,8]]},"38":{"position":[[108,8]]},"46":{"position":[[50,7]]},"53":{"position":[[38,8]]},"55":{"position":[[92,8],[723,7]]},"56":{"position":[[92,8],[372,8],[1177,7],[1525,7]]},"76":{"position":[[50,7]]}},"keywords":{}}],["conceptu",{"_index":901,"title":{},"content":{"82":{"position":[[276,10]]}},"keywords":{}}],["concise.descript",{"_index":925,"title":{},"content":{"82":{"position":[[1042,19]]}},"keywords":{}}],["condit",{"_index":604,"title":{},"content":{"56":{"position":[[948,9],[1221,9]]}},"keywords":{}}],["configur",{"_index":7,"title":{"17":{"position":[[0,9]]},"26":{"position":[[0,9]]}},"content":{"1":{"position":[[49,13]]}},"keywords":{}}],["congratul",{"_index":0,"title":{"0":{"position":[[0,16]]}},"content":{"14":{"position":[[410,16]]}},"keywords":{}}],["connect",{"_index":256,"title":{},"content":{"20":{"position":[[381,7]]}},"keywords":{}}],["consid",{"_index":930,"title":{},"content":{"82":{"position":[[1343,10]]}},"keywords":{}}],["consist",{"_index":252,"title":{},"content":{"20":{"position":[[281,12],[548,10]]},"23":{"position":[[445,11]]},"57":{"position":[[932,10]]},"101":{"position":[[79,7]]}},"keywords":{}}],["consistencyidentifi",{"_index":327,"title":{},"content":{"23":{"position":[[258,19]]}},"keywords":{}}],["consistently.support",{"_index":269,"title":{},"content":{"20":{"position":[[671,20]]}},"keywords":{}}],["const",{"_index":796,"title":{},"content":{"67":{"position":[[113,5]]}},"keywords":{}}],["constrain",{"_index":658,"title":{},"content":{"57":{"position":[[985,11]]},"91":{"position":[[221,11]]},"96":{"position":[[322,11]]},"99":{"position":[[487,11]]},"100":{"position":[[293,9]]},"101":{"position":[[145,9]]}},"keywords":{}}],["constraint",{"_index":934,"title":{},"content":{"82":{"position":[[1456,10]]},"101":{"position":[[313,11]]}},"keywords":{}}],["constraintslegal_descript",{"_index":838,"title":{},"content":{"70":{"position":[[200,28]]}},"keywords":{}}],["constraintsproject_id",{"_index":1088,"title":{},"content":{"110":{"position":[[41,21]]}},"keywords":{}}],["constraintstbd",{"_index":432,"title":{},"content":{"47":{"position":[[41,14]]},"77":{"position":[[41,14]]},"86":{"position":[[41,14]]}},"keywords":{}}],["consult",{"_index":334,"title":{},"content":{"23":{"position":[[396,12]]}},"keywords":{}}],["contain",{"_index":425,"title":{},"content":{"46":{"position":[[86,7]]},"70":{"position":[[44,7],[109,7]]},"82":{"position":[[366,7],[615,7]]},"97":{"position":[[99,8]]},"101":{"position":[[211,8]]},"110":{"position":[[297,7]]}},"keywords":{}}],["content",{"_index":364,"title":{},"content":{"27":{"position":[[88,7],[153,7],[221,7]]},"82":{"position":[[93,8]]}},"keywords":{}}],["context",{"_index":405,"title":{},"content":{"38":{"position":[[32,7]]},"54":{"position":[[104,7]]},"55":{"position":[[1919,7]]},"57":{"position":[[528,7]]},"82":{"position":[[1147,7]]}},"keywords":{}}],["context"",{"_index":567,"title":{},"content":{"55":{"position":[[2253,14]]}},"keywords":{}}],["contribut",{"_index":282,"title":{},"content":{"21":{"position":[[49,10]]}},"keywords":{}}],["convention",{"_index":1040,"title":{},"content":{"100":{"position":[[119,14]]}},"keywords":{}}],["convey",{"_index":615,"title":{},"content":{"56":{"position":[[1334,8]]},"82":{"position":[[691,9]]},"93":{"position":[[109,8]]},"94":{"position":[[107,8]]}},"keywords":{}}],["copi",{"_index":358,"title":{},"content":{"27":{"position":[[1,4]]},"32":{"position":[[98,6]]}},"keywords":{}}],["core",{"_index":217,"title":{},"content":{"19":{"position":[[443,4]]},"46":{"position":[[45,4]]},"57":{"position":[[1288,4]]},"76":{"position":[[45,4]]}},"keywords":{}}],["cost",{"_index":124,"title":{},"content":{"12":{"position":[[196,4]]},"20":{"position":[[148,5],[474,4]]}},"keywords":{}}],["cours",{"_index":308,"title":{},"content":{"22":{"position":[[214,7]]}},"keywords":{}}],["cp",{"_index":366,"title":{},"content":{"27":{"position":[[110,2]]}},"keywords":{}}],["creat",{"_index":23,"title":{"2":{"position":[[0,6]]},"3":{"position":[[0,6]]},"4":{"position":[[0,6]]},"13":{"position":[[0,6]]},"14":{"position":[[0,6]]},"15":{"position":[[0,6]]},"16":{"position":[[0,6]]},"32":{"position":[[0,6]]}},"content":{"3":{"position":[[1,6]]},"4":{"position":[[1,6]]},"6":{"position":[[16,8]]},"9":{"position":[[151,7]]},"14":{"position":[[1,6]]},"16":{"position":[[1,6]]},"17":{"position":[[26,7],[264,6]]},"20":{"position":[[592,6]]},"32":{"position":[[158,8]]},"60":{"position":[[97,7],[149,7],[213,6]]},"63":{"position":[[36,6]]}},"keywords":{}}],["creator",{"_index":140,"title":{},"content":{"14":{"position":[[155,7]]}},"keywords":{}}],["cross",{"_index":311,"title":{},"content":{"23":{"position":[[10,5],[313,5]]}},"keywords":{}}],["crown",{"_index":833,"title":{},"content":{"69":{"position":[[389,5]]},"70":{"position":[[365,5],[1178,5]]}},"keywords":{}}],["csv",{"_index":690,"title":{},"content":{"57":{"position":[[1880,4]]}},"keywords":{}}],["current",{"_index":603,"title":{},"content":{"56":{"position":[[940,7],[1213,7],[1306,7]]},"61":{"position":[[227,7]]}},"keywords":{}}],["cursor",{"_index":807,"title":{},"content":{"67":{"position":[[255,7]]}},"keywords":{}}],["custom",{"_index":13,"title":{},"content":{"1":{"position":[[138,6]]},"17":{"position":[[83,9]]},"59":{"position":[[167,6]]}},"keywords":{}}],["c{purpos",{"_index":775,"title":{},"content":{"66":{"position":[[79,10]]}},"keywords":{}}],["d",{"_index":788,"title":{},"content":{"66":{"position":[[270,1]]}},"keywords":{}}],["d[document",{"_index":778,"title":{},"content":{"66":{"position":[[135,10]]}},"keywords":{}}],["danger",{"_index":753,"title":{},"content":{"63":{"position":[[157,9],[238,9]]}},"keywords":{}}],["danger[tak",{"_index":751,"title":{},"content":{"63":{"position":[[121,14]]}},"keywords":{}}],["dash",{"_index":866,"title":{},"content":{"73":{"position":[[211,7],[464,7],[577,6]]}},"keywords":{}}],["data",{"_index":205,"title":{},"content":{"19":{"position":[[282,4],[460,4]]},"20":{"position":[[85,4],[199,4],[276,4]]},"21":{"position":[[112,4],[219,4]]},"22":{"position":[[49,4],[113,4]]},"23":{"position":[[48,4],[225,4],[773,4],[862,4],[905,4],[936,4]]},"46":{"position":[[6,4]]},"57":{"position":[[150,4],[251,4],[267,4],[390,4],[1091,4],[1119,4],[1208,4],[1247,4],[1442,4],[1740,5],[1853,4],[1993,4],[2067,4]]},"73":{"position":[[226,4],[256,4],[308,4]]},"74":{"position":[[4,4]]},"76":{"position":[[6,4]]},"85":{"position":[[6,4]]},"105":{"position":[[9,4]]},"109":{"position":[[6,4]]}},"keywords":{}}],["databas",{"_index":676,"title":{},"content":{"57":{"position":[[1456,8],[2020,9],[2102,9]]}},"keywords":{}}],["date",{"_index":631,"title":{"92":{"position":[[0,4]]}},"content":{"57":{"position":[[313,5]]},"92":{"position":[[1,4],[139,4],[295,4]]},"105":{"position":[[118,4]]},"106":{"position":[[90,5]]}},"keywords":{}}],["decim",{"_index":1023,"title":{},"content":{"99":{"position":[[1,8],[299,7]]}},"keywords":{}}],["decis",{"_index":198,"title":{},"content":{"19":{"position":[[186,9]]},"54":{"position":[[236,8],[263,8],[415,10],[624,9]]},"55":{"position":[[1324,8],[1364,8]]}},"keywords":{}}],["declar",{"_index":566,"title":{},"content":{"55":{"position":[[2225,9]]}},"keywords":{}}],["dedic",{"_index":470,"title":{},"content":{"54":{"position":[[486,9]]}},"keywords":{}}],["default",{"_index":34,"title":{},"content":{"3":{"position":[[144,7]]},"17":{"position":[[331,7]]},"26":{"position":[[92,7]]},"29":{"position":[[133,7]]},"33":{"position":[[133,7]]}},"keywords":{}}],["defaultlocal",{"_index":356,"title":{},"content":{"26":{"position":[[110,14]]}},"keywords":{}}],["defin",{"_index":225,"title":{},"content":{"19":{"position":[[614,6]]},"55":{"position":[[163,7],[216,7],[795,6],[1542,8],[2067,7]]},"56":{"position":[[587,7],[627,7],[729,7],[819,7],[1413,7]]},"57":{"position":[[206,8],[1472,8]]},"59":{"position":[[357,8]]},"76":{"position":[[63,7]]},"82":{"position":[[35,7],[135,6],[1268,8],[1370,7]]},"85":{"position":[[82,7]]},"100":{"position":[[320,6],[379,6]]}},"keywords":{}}],["definit",{"_index":401,"title":{"55":{"position":[[0,12]]}},"content":{"36":{"position":[[61,11]]},"55":{"position":[[27,11],[120,10],[1145,10]]},"56":{"position":[[27,11],[125,10],[1121,11],[1470,11]]},"57":{"position":[[45,11],[952,12],[1230,11],[1336,10]]},"100":{"position":[[444,11]]},"101":{"position":[[122,11]]}},"keywords":{}}],["definitionapplic",{"_index":456,"title":{},"content":{"54":{"position":[[127,19]]}},"keywords":{}}],["definitiondata",{"_index":624,"title":{},"content":{"57":{"position":[[118,14]]}},"keywords":{}}],["definitionlob",{"_index":443,"title":{},"content":{"52":{"position":[[6,13]]}},"keywords":{}}],["degre",{"_index":549,"title":{},"content":{"55":{"position":[[1671,7]]}},"keywords":{}}],["delici",{"_index":309,"title":{},"content":{"22":{"position":[[231,10]]}},"keywords":{}}],["deliv",{"_index":242,"title":{},"content":{"20":{"position":[[34,7]]},"54":{"position":[[475,10]]}},"keywords":{}}],["deliveri",{"_index":1064,"title":{},"content":{"105":{"position":[[34,8]]}},"keywords":{}}],["depend",{"_index":69,"title":{},"content":{"7":{"position":[[112,13]]},"8":{"position":[[366,12]]}},"keywords":{}}],["deploy",{"_index":114,"title":{"10":{"position":[[0,6]]},"12":{"position":[[0,6]]}},"content":{"12":{"position":[[125,6],[211,10]]}},"keywords":{}}],["deriv",{"_index":715,"title":{},"content":{"59":{"position":[[400,7]]}},"keywords":{}}],["describ",{"_index":411,"title":{},"content":{"39":{"position":[[31,9]]},"56":{"position":[[280,8]]},"57":{"position":[[21,8],[1551,9]]},"82":{"position":[[233,10],[265,10],[416,9]]},"96":{"position":[[120,9]]},"101":{"position":[[413,8]]},"105":{"position":[[142,10]]}},"keywords":{}}],["descript",{"_index":218,"title":{},"content":{"19":{"position":[[448,11]]},"47":{"position":[[23,11]]},"55":{"position":[[569,11]]},"56":{"position":[[921,11],[1194,11]]},"59":{"position":[[120,12],[145,11],[330,11]]},"70":{"position":[[182,11],[256,11]]},"77":{"position":[[23,11]]},"82":{"position":[[1072,11]]},"86":{"position":[[23,11]]},"110":{"position":[[23,11],[260,11]]}},"keywords":{}}],["descriptor",{"_index":410,"title":{"39":{"position":[[5,12]]}},"content":{"39":{"position":[[51,11]]}},"keywords":{}}],["design",{"_index":14,"title":{},"content":{"1":{"position":[[145,6]]},"54":{"position":[[305,10]]},"55":{"position":[[1603,10]]}},"keywords":{}}],["detail",{"_index":613,"title":{},"content":{"56":{"position":[[1288,7],[1482,8]]},"64":{"position":[[159,7],[241,7]]},"91":{"position":[[495,6]]},"93":{"position":[[240,8]]},"94":{"position":[[258,8]]},"95":{"position":[[232,8]]},"97":{"position":[[256,8]]},"98":{"position":[[123,8]]},"100":{"position":[[471,7]]},"102":{"position":[[298,8]]},"103":{"position":[[207,8]]}},"keywords":{}}],["develop",{"_index":91,"title":{},"content":{"9":{"position":[[9,11],[299,11]]},"23":{"position":[[743,9]]},"28":{"position":[[190,12]]},"54":{"position":[[738,12]]},"55":{"position":[[314,11]]},"59":{"position":[[186,9]]}},"keywords":{}}],["diagram",{"_index":575,"title":{},"content":{"55":{"position":[[2378,7]]},"56":{"position":[[1548,7]]},"64":{"position":[[34,11],[259,7]]}},"keywords":{}}],["dialect",{"_index":1022,"title":{},"content":{"98":{"position":[[70,8]]}},"keywords":{}}],["dictionari",{"_index":670,"title":{},"content":{"57":{"position":[[1252,11]]}},"keywords":{}}],["differ",{"_index":257,"title":{},"content":{"20":{"position":[[422,9],[692,9]]},"57":{"position":[[1503,9]]},"101":{"position":[[90,9]]}},"keywords":{}}],["differenti",{"_index":1026,"title":{},"content":{"99":{"position":[[119,13]]}},"keywords":{}}],["difficult",{"_index":202,"title":{},"content":{"19":{"position":[[245,9]]}},"keywords":{}}],["digit",{"_index":823,"title":{},"content":{"69":{"position":[[64,5]]},"70":{"position":[[841,5]]},"73":{"position":[[558,5]]}},"keywords":{}}],["digits.parcel_id_numb",{"_index":877,"title":{},"content":{"73":{"position":[[612,23]]}},"keywords":{}}],["direct",{"_index":238,"title":{},"content":{"19":{"position":[[840,9]]}},"keywords":{}}],["directori",{"_index":95,"title":{},"content":{"9":{"position":[[87,9]]},"61":{"position":[[102,9]]}},"keywords":{}}],["discret",{"_index":599,"title":{},"content":{"56":{"position":[[674,9]]}},"keywords":{}}],["discuss",{"_index":451,"title":{},"content":{"54":{"position":[[14,9]]}},"keywords":{}}],["display",{"_index":113,"title":{},"content":{"9":{"position":[[456,8]]}},"keywords":{}}],["disposit",{"_index":535,"title":{},"content":{"55":{"position":[[1302,11]]}},"keywords":{}}],["distinct",{"_index":591,"title":{},"content":{"56":{"position":[[417,8]]}},"keywords":{}}],["distribut",{"_index":868,"title":{},"content":{"73":{"position":[[239,11]]}},"keywords":{}}],["district",{"_index":476,"title":{},"content":{"54":{"position":[[678,8]]}},"keywords":{}}],["divis",{"_index":593,"title":{},"content":{"56":{"position":[[436,8]]}},"keywords":{}}],["doc",{"_index":159,"title":{"16":{"position":[[18,4]]},"27":{"position":[[12,4]]},"31":{"position":[[7,4]]},"32":{"position":[[9,4]]}},"content":{"17":{"position":[[53,4]]},"32":{"position":[[83,4],[173,4],[332,4]]},"33":{"position":[[239,4]]},"34":{"position":[[34,4]]}},"keywords":{}}],["doc.md",{"_index":707,"title":{},"content":{"59":{"position":[[70,6]]}},"keywords":{}}],["docs/curr",{"_index":365,"title":{},"content":{"27":{"position":[[96,13]]}},"keywords":{}}],["docs/current/intro.md",{"_index":367,"title":{},"content":{"27":{"position":[[161,21],[229,21]]}},"keywords":{}}],["docs/hello.md",{"_index":160,"title":{},"content":{"16":{"position":[[27,14],[43,13]]},"17":{"position":[[126,13]]}},"keywords":{}}],["docs/intro.md",{"_index":109,"title":{},"content":{"9":{"position":[[374,13]]},"27":{"position":[[10,13],[113,13]]}},"keywords":{}}],["docs:vers",{"_index":382,"title":{},"content":{"32":{"position":[[60,12]]}},"keywords":{}}],["docscurr",{"_index":387,"title":{},"content":{"32":{"position":[[255,11]]}},"keywords":{}}],["document",{"_index":158,"title":{"15":{"position":[[9,8]]},"22":{"position":[[0,14]]}},"content":{"16":{"position":[[95,11],[115,8]]},"17":{"position":[[227,11],[451,10]]},"22":{"position":[[26,11]]},"55":{"position":[[1788,8]]},"59":{"position":[[10,9],[105,8],[136,8]]},"64":{"position":[[218,13]]},"67":{"position":[[19,13]]},"82":{"position":[[79,9],[193,9],[1234,8],[1328,8]]},"91":{"position":[[472,13]]},"92":{"position":[[403,13]]},"93":{"position":[[217,13]]},"94":{"position":[[235,13]]},"95":{"position":[[209,13]]},"96":{"position":[[148,14]]},"97":{"position":[[233,13]]},"98":{"position":[[100,13]]},"99":{"position":[[614,13]]},"100":{"position":[[253,13],[530,14]]},"101":{"position":[[476,13]]},"102":{"position":[[275,13]]},"103":{"position":[[184,13]]}},"keywords":{}}],["documentationmodifi",{"_index":5,"title":{},"content":{"1":{"position":[[19,19]]}},"keywords":{}}],["docusauru",{"_index":19,"title":{},"content":{"1":{"position":[[203,10],[242,10]]},"6":{"position":[[45,10]]},"8":{"position":[[16,10],[395,11]]},"9":{"position":[[159,10]]},"14":{"position":[[166,10],[291,10]]},"16":{"position":[[84,10]]},"17":{"position":[[1,10],[216,10]]},"32":{"position":[[49,10]]},"59":{"position":[[470,10]]},"61":{"position":[[142,12],[337,12]]},"63":{"position":[[1,10]]},"64":{"position":[[5,10]]},"67":{"position":[[580,10]]}},"keywords":{}}],["docusaurus!</h1>",{"_index":743,"title":{},"content":{"62":{"position":[[175,23],[294,23]]}},"keywords":{}}],["docusaurus.config.j",{"_index":353,"title":{},"content":{"26":{"position":[[8,20],[64,20]]},"29":{"position":[[77,20],[105,20]]},"33":{"position":[[77,20],[105,20]]}},"keywords":{}}],["docusaurus.config.jsadd",{"_index":8,"title":{},"content":{"1":{"position":[[68,23]]}},"keywords":{}}],["docusaurus.new",{"_index":57,"title":{},"content":{"6":{"position":[[73,15]]}},"keywords":{}}],["docusaurus@latest",{"_index":81,"title":{},"content":{"8":{"position":[[163,17]]}},"keywords":{}}],["domain",{"_index":495,"title":{},"content":{"54":{"position":[[1178,7]]},"57":{"position":[[1026,7]]},"82":{"position":[[328,7]]},"106":{"position":[[204,6]]}},"keywords":{}}],["done",{"_index":1044,"title":{},"content":{"100":{"position":[[494,4]]}},"keywords":{}}],["draft",{"_index":903,"title":{},"content":{"82":{"position":[[430,5]]},"83":{"position":[[1,5]]},"92":{"position":[[539,5]]},"96":{"position":[[253,5]]}},"keywords":{}}],["driven",{"_index":573,"title":{},"content":{"55":{"position":[[2328,6]]}},"keywords":{}}],["dropdown",{"_index":373,"title":{"29":{"position":[[13,9]]},"33":{"position":[[14,9]]}},"content":{"29":{"position":[[55,9],[231,8]]},"33":{"position":[[55,9],[252,8]]}},"keywords":{}}],["dublin",{"_index":671,"title":{},"content":{"57":{"position":[[1281,6]]}},"keywords":{}}],["durat",{"_index":969,"title":{},"content":{"92":{"position":[[468,8]]}},"keywords":{}}],["dure",{"_index":850,"title":{},"content":{"70":{"position":[[485,6]]},"73":{"position":[[67,6]]}},"keywords":{}}],["e",{"_index":789,"title":{},"content":{"66":{"position":[[272,1]]}},"keywords":{}}],["e.g",{"_index":504,"title":{},"content":{"55":{"position":[[298,5]]},"56":{"position":[[1031,6],[1343,6]]},"70":{"position":[[697,5]]}},"keywords":{}}],["e[ev",{"_index":781,"title":{},"content":{"66":{"position":[[170,7]]}},"keywords":{}}],["each",{"_index":270,"title":{},"content":{"20":{"position":[[739,4]]},"23":{"position":[[656,4]]},"36":{"position":[[80,4]]},"38":{"position":[[1,4]]},"39":{"position":[[1,4]]},"56":{"position":[[1653,4]]},"73":{"position":[[592,4]]}},"keywords":{}}],["easier",{"_index":255,"title":{},"content":{"20":{"position":[[371,6]]}},"keywords":{}}],["easili",{"_index":120,"title":{},"content":{"12":{"position":[[165,7]]}},"keywords":{}}],["ecma",{"_index":1069,"title":{},"content":{"106":{"position":[[1,4]]}},"keywords":{}}],["ecosystem",{"_index":224,"title":{},"content":{"19":{"position":[[591,11]]}},"keywords":{}}],["edit",{"_index":110,"title":{},"content":{"9":{"position":[[404,4]]},"14":{"position":[[487,4]]},"34":{"position":[[19,4]]}},"keywords":{}}],["editor",{"_index":89,"title":{},"content":{"8":{"position":[[317,7]]},"82":{"position":[[793,7]]}},"keywords":{}}],["effort",{"_index":247,"title":{},"content":{"20":{"position":[[158,6],[463,6]]}},"keywords":{}}],["element",{"_index":219,"title":{},"content":{"19":{"position":[[475,8]]},"23":{"position":[[601,8]]},"57":{"position":[[1096,8],[1124,9],[1380,8]]},"101":{"position":[[38,9],[67,8],[167,8],[277,8]]}},"keywords":{}}],["email",{"_index":972,"title":{"93":{"position":[[0,6]]}},"content":{"93":{"position":[[1,5],[29,5],[90,6],[150,5]]}},"keywords":{}}],["email)rfc",{"_index":1083,"title":{},"content":{"106":{"position":[[245,9]]}},"keywords":{}}],["email/smtp)rfc",{"_index":1081,"title":{},"content":{"106":{"position":[[164,15]]}},"keywords":{}}],["en",{"_index":357,"title":{},"content":{"26":{"position":[[125,5],[140,6]]}},"keywords":{}}],["enabl",{"_index":221,"title":{},"content":{"19":{"position":[[496,6],[676,6],[797,8]]},"20":{"position":[[71,6]]},"23":{"position":[[1,6]]}},"keywords":{}}],["encod",{"_index":685,"title":{},"content":{"57":{"position":[[1667,9]]},"92":{"position":[[357,7]]},"102":{"position":[[240,9]]}},"keywords":{}}],["encount",{"_index":872,"title":{},"content":{"73":{"position":[[417,11],[732,12]]}},"keywords":{}}],["end",{"_index":588,"title":{},"content":{"56":{"position":[[353,4]]},"66":{"position":[[245,3],[278,3]]}},"keywords":{}}],["enhanc",{"_index":251,"title":{},"content":{"20":{"position":[[268,7]]}},"keywords":{}}],["ensur",{"_index":292,"title":{},"content":{"21":{"position":[[212,6]]},"102":{"position":[[179,6]]}},"keywords":{}}],["enter",{"_index":830,"title":{},"content":{"69":{"position":[[238,7]]},"70":{"position":[[1011,7]]}},"keywords":{}}],["entir",{"_index":585,"title":{},"content":{"56":{"position":[[293,6]]}},"keywords":{}}],["entiti",{"_index":478,"title":{},"content":{"54":{"position":[[721,6]]}},"keywords":{}}],["entri",{"_index":634,"title":{},"content":{"57":{"position":[[409,5]]}},"keywords":{}}],["enumer",{"_index":409,"title":{},"content":{"38":{"position":[[97,10]]}},"keywords":{}}],["equat",{"_index":1060,"title":{},"content":{"103":{"position":[[111,6]]}},"keywords":{}}],["equival",{"_index":997,"title":{},"content":{"96":{"position":[[343,10]]}},"keywords":{}}],["errata",{"_index":1087,"title":{"107":{"position":[[0,7]]}},"content":{},"keywords":{}}],["essenti",{"_index":539,"title":{},"content":{"55":{"position":[[1408,11]]}},"keywords":{}}],["establish",{"_index":468,"title":{},"content":{"54":{"position":[[441,11]]},"57":{"position":[[896,11],[1313,11]]}},"keywords":{}}],["evalu",{"_index":1055,"title":{},"content":{"102":{"position":[[101,8],[204,9]]}},"keywords":{}}],["event",{"_index":421,"title":{"45":{"position":[[0,5]]},"84":{"position":[[8,5]]}},"content":{"46":{"position":[[72,6]]},"85":{"position":[[67,5]]}},"keywords":{}}],["everyon",{"_index":276,"title":{"21":{"position":[[8,8]]}},"content":{"21":{"position":[[157,8]]}},"keywords":{}}],["evid",{"_index":232,"title":{},"content":{"19":{"position":[[727,8]]},"20":{"position":[[771,8]]}},"keywords":{}}],["exampl",{"_index":412,"title":{},"content":{"39":{"position":[[67,8]]},"48":{"position":[[1,7]]},"57":{"position":[[704,8],[1268,8]]},"64":{"position":[[105,8]]},"78":{"position":[[1,7]]},"87":{"position":[[1,7]]},"92":{"position":[[435,9]]},"99":{"position":[[646,9]]},"101":{"position":[[508,9]]}},"keywords":{}}],["exchang",{"_index":779,"title":{},"content":{"66":{"position":[[146,9]]}},"keywords":{}}],["exclusivemaximum",{"_index":1036,"title":{},"content":{"99":{"position":[[571,17]]}},"keywords":{}}],["execut",{"_index":787,"title":{},"content":{"66":{"position":[[258,9]]}},"keywords":{}}],["exist",{"_index":393,"title":{"34":{"position":[[10,8]]}},"content":{},"keywords":{}}],["expand",{"_index":529,"title":{},"content":{"55":{"position":[[1133,6]]}},"keywords":{}}],["expect",{"_index":899,"title":{},"content":{"82":{"position":[[157,12],[244,8],[1206,8]]},"100":{"position":[[347,8]]},"101":{"position":[[248,11],[290,9]]}},"keywords":{}}],["expert",{"_index":492,"title":{},"content":{"54":{"position":[[1111,6],[1135,6]]}},"keywords":{}}],["expert."",{"_index":887,"title":{},"content":{"78":{"position":[[141,14]]},"87":{"position":[[364,14]]}},"keywords":{}}],["explicitli",{"_index":173,"title":{},"content":{"17":{"position":[[284,10]]},"82":{"position":[[124,10]]}},"keywords":{}}],["export",{"_index":33,"title":{},"content":{"3":{"position":[[137,6]]},"17":{"position":[[324,6]]},"26":{"position":[[85,6]]},"29":{"position":[[126,6]]},"33":{"position":[[126,6]]},"67":{"position":[[106,6]]}},"keywords":{}}],["express",{"_index":998,"title":{"98":{"position":[[8,11]]}},"content":{"96":{"position":[[377,10],[498,10]]},"98":{"position":[[9,11]]}},"keywords":{}}],["expressionpattern",{"_index":952,"title":{},"content":{"91":{"position":[[291,18]]}},"keywords":{}}],["extend",{"_index":1011,"title":{},"content":{"96":{"position":[[715,7]]}},"keywords":{}}],["extens",{"_index":947,"title":{},"content":{"91":{"position":[[156,9]]},"100":{"position":[[243,9]]}},"keywords":{}}],["f",{"_index":790,"title":{},"content":{"66":{"position":[[274,1]]}},"keywords":{}}],["f[aggreg",{"_index":784,"title":{},"content":{"66":{"position":[[202,14]]}},"keywords":{}}],["f]{12}$/i",{"_index":1006,"title":{},"content":{"96":{"position":[[606,9]]}},"keywords":{}}],["f]{4",{"_index":1005,"title":{},"content":{"96":{"position":[[570,5],[582,5],[594,5]]}},"keywords":{}}],["f]{8",{"_index":1004,"title":{},"content":{"96":{"position":[[558,5]]}},"keywords":{}}],["fabric",{"_index":847,"title":{},"content":{"70":{"position":[[442,6]]}},"keywords":{}}],["facebook",{"_index":819,"title":{},"content":{"67":{"position":[[608,8]]}},"keywords":{}}],["facilit",{"_index":467,"title":{},"content":{"54":{"position":[[426,11],[842,12]]},"55":{"position":[[1259,11]]}},"keywords":{}}],["fals",{"_index":1054,"title":{},"content":{"102":{"position":[[66,6],[134,6]]}},"keywords":{}}],["featur",{"_index":703,"title":{"58":{"position":[[9,8]]}},"content":{"63":{"position":[[102,7],[197,7]]}},"keywords":{}}],["feedback",{"_index":291,"title":{},"content":{"21":{"position":[[200,8]]}},"keywords":{}}],["feel",{"_index":153,"title":{},"content":{"14":{"position":[[458,4]]}},"keywords":{}}],["fff",{"_index":804,"title":{},"content":{"67":{"position":[[230,7]]}},"keywords":{}}],["field",{"_index":719,"title":{},"content":{"59":{"position":[[504,6]]},"82":{"position":[[681,5]]}},"keywords":{}}],["file",{"_index":27,"title":{},"content":{"3":{"position":[[10,4]]},"4":{"position":[[10,4]]},"11":{"position":[[61,5]]},"14":{"position":[[10,4]]},"16":{"position":[[19,4]]},"27":{"position":[[24,4]]},"29":{"position":[[98,5]]},"33":{"position":[[98,5]]},"57":{"position":[[1681,4]]},"60":{"position":[[67,4]]},"61":{"position":[[235,4],[318,5]]}},"keywords":{}}],["filenam",{"_index":716,"title":{},"content":{"59":{"position":[[419,8]]}},"keywords":{}}],["filesystem",{"_index":699,"title":{},"content":{"57":{"position":[[2006,11]]}},"keywords":{}}],["final",{"_index":536,"title":{},"content":{"55":{"position":[[1318,5]]}},"keywords":{}}],["first",{"_index":25,"title":{"3":{"position":[[12,5]]},"4":{"position":[[12,5]]},"14":{"position":[[12,5]]},"16":{"position":[[12,5]]}},"content":{"14":{"position":[[446,5]]},"16":{"position":[[76,7]]},"17":{"position":[[208,7]]},"23":{"position":[[382,5]]},"55":{"position":[[1525,5]]},"102":{"position":[[225,5]]}},"keywords":{}}],["flexibl",{"_index":236,"title":{},"content":{"19":{"position":[[806,11]]}},"keywords":{}}],["float",{"_index":1024,"title":{},"content":{"99":{"position":[[13,8],[154,8],[244,8]]}},"keywords":{}}],["flowchart",{"_index":768,"title":{"66":{"position":[[0,10]]}},"content":{},"keywords":{}}],["fm",{"_index":654,"title":{},"content":{"57":{"position":[[853,2]]}},"keywords":{}}],["focu",{"_index":342,"title":{},"content":{"23":{"position":[[807,5]]}},"keywords":{}}],["focus",{"_index":469,"title":{},"content":{"54":{"position":[[464,7]]}},"keywords":{}}],["folder",{"_index":117,"title":{},"content":{"11":{"position":[[94,7]]},"12":{"position":[[64,6],[142,6]]},"17":{"position":[[58,7]]},"27":{"position":[[44,7]]},"32":{"position":[[88,6]]},"34":{"position":[[59,7]]}},"keywords":{}}],["follow",{"_index":444,"title":{},"content":{"53":{"position":[[5,9]]},"55":{"position":[[2368,9]]},"56":{"position":[[1538,9]]},"57":{"position":[[5,9]]},"64":{"position":[[80,9]]},"73":{"position":[[392,9]]},"82":{"position":[[378,9]]}},"keywords":{}}],["footer",{"_index":10,"title":{},"content":{"1":{"position":[[103,6]]}},"keywords":{}}],["form",{"_index":523,"title":{},"content":{"55":{"position":[[997,6],[2136,4]]}},"keywords":{}}],["form(",{"_index":516,"title":{},"content":{"55":{"position":[[623,7]]}},"keywords":{}}],["formal",{"_index":513,"title":{},"content":{"55":{"position":[[548,6],[1181,6]]}},"keywords":{}}],["format",{"_index":681,"title":{"81":{"position":[[0,10]]}},"content":{"57":{"position":[[1598,6],[1609,6],[1686,6],[1758,7],[1858,7]]},"73":{"position":[[169,6],[349,7],[402,7],[521,9]]},"91":{"position":[[110,7],[348,6],[426,7],[528,6]]},"92":{"position":[[18,7],[71,7],[197,6],[305,7],[477,6]]},"93":{"position":[[22,6],[82,7],[139,6]]},"94":{"position":[[16,6],[77,7],[137,6]]},"95":{"position":[[28,9],[54,8]]},"96":{"position":[[41,6],[112,7],[191,6],[811,6]]},"97":{"position":[[20,6]]},"98":{"position":[[26,6]]}},"keywords":{}}],["format"",{"_index":683,"title":{},"content":{"57":{"position":[[1639,12]]}},"keywords":{}}],["found",{"_index":720,"title":{},"content":{"59":{"position":[[518,5]]},"100":{"position":[[506,5]]}},"keywords":{}}],["foundat",{"_index":215,"title":{},"content":{"19":{"position":[[423,12]]}},"keywords":{}}],["fr",{"_index":355,"title":{},"content":{"26":{"position":[[52,2],[147,6]]},"28":{"position":[[66,2]]},"30":{"position":[[67,2]]}},"keywords":{}}],["free",{"_index":121,"title":{},"content":{"12":{"position":[[177,4]]},"14":{"position":[[463,4]]},"82":{"position":[[671,4]]}},"keywords":{}}],["french",{"_index":368,"title":{},"content":{"27":{"position":[[254,7]]},"28":{"position":[[24,6]]}},"keywords":{}}],["front",{"_index":704,"title":{"59":{"position":[[0,5]]}},"content":{"59":{"position":[[52,5],[491,5]]}},"keywords":{}}],["full",{"_index":840,"title":{},"content":{"70":{"position":[[245,4]]},"110":{"position":[[255,4]]}},"keywords":{}}],["function",{"_index":35,"title":{},"content":{"3":{"position":[[152,8]]},"62":{"position":[[122,8],[241,8]]}},"keywords":{}}],["fundament",{"_index":626,"title":{},"content":{"57":{"position":[[179,11]]}},"keywords":{}}],["further",{"_index":916,"title":{},"content":{"82":{"position":[[815,7]]},"96":{"position":[[839,7]]}},"keywords":{}}],["g",{"_index":791,"title":{},"content":{"66":{"position":[[276,1]]}},"keywords":{}}],["g[/further",{"_index":776,"title":{},"content":{"66":{"position":[[99,10]]}},"keywords":{}}],["gain",{"_index":322,"title":{},"content":{"23":{"position":[[169,4]]}},"keywords":{}}],["gap",{"_index":321,"title":{},"content":{"23":{"position":[[163,5]]}},"keywords":{}}],["gener",{"_index":70,"title":{"8":{"position":[[0,8]]}},"content":{"8":{"position":[[1,8]]},"11":{"position":[[71,9]]},"56":{"position":[[1140,7]]},"57":{"position":[[103,8]]}},"keywords":{}}],["get",{"_index":53,"title":{"6":{"position":[[0,7]]},"18":{"position":[[0,7]]},"21":{"position":[[0,7]]}},"content":{"28":{"position":[[142,7]]},"55":{"position":[[698,7]]}},"keywords":{}}],["given",{"_index":487,"title":{},"content":{"54":{"position":[[1025,5]]}},"keywords":{}}],["global",{"_index":638,"title":{},"content":{"57":{"position":[[521,6]]}},"keywords":{}}],["go",{"_index":601,"title":{},"content":{"56":{"position":[[788,2]]},"70":{"position":[[495,5]]}},"keywords":{}}],["goal",{"_index":310,"title":{"23":{"position":[[0,6]]}},"content":{"23":{"position":[[426,4]]}},"keywords":{}}],["good",{"_index":900,"title":{},"content":{"82":{"position":[[224,4]]}},"keywords":{}}],["govern",{"_index":299,"title":{"105":{"position":[[0,10]]}},"content":{"22":{"position":[[38,10]]},"54":{"position":[[640,10],[938,11],[953,10]]},"73":{"position":[[95,11],[289,10]]}},"keywords":{}}],["governance.develop",{"_index":289,"title":{},"content":{"21":{"position":[[117,18]]}},"keywords":{}}],["grant",{"_index":520,"title":{},"content":{"55":{"position":[[875,8],[1073,6],[1803,6]]}},"keywords":{}}],["graph",{"_index":755,"title":{"64":{"position":[[8,7]]}},"content":{"65":{"position":[[12,5]]},"66":{"position":[[12,5]]}},"keywords":{}}],["green",{"_index":818,"title":{},"content":{"67":{"position":[[591,5]]}},"keywords":{}}],["green</highlight>",{"_index":815,"title":{},"content":{"67":{"position":[[457,23]]}},"keywords":{}}],["greet",{"_index":133,"title":{},"content":{"14":{"position":[[88,9],[105,10],[394,11]]}},"keywords":{}}],["greetings.md",{"_index":131,"title":{},"content":{"14":{"position":[[34,13],[65,12]]}},"keywords":{}}],["group",{"_index":279,"title":{},"content":{"21":{"position":[[18,5]]},"54":{"position":[[57,5],[157,5],[576,5]]},"57":{"position":[[1110,5]]},"73":{"position":[[597,5]]},"109":{"position":[[43,8]]}},"keywords":{}}],["gt",{"_index":774,"title":{},"content":{"66":{"position":[[74,4],[94,4]]},"67":{"position":[[151,5],[289,5],[360,6]]}},"keywords":{}}],["gt;b",{"_index":763,"title":{},"content":{"65":{"position":[[24,5]]}},"keywords":{}}],["gt;c",{"_index":764,"title":{},"content":{"65":{"position":[[33,5]]}},"keywords":{}}],["gt;d",{"_index":766,"title":{},"content":{"65":{"position":[[42,5],[51,5]]}},"keywords":{}}],["gt;|get",{"_index":771,"title":{},"content":{"66":{"position":[[31,8]]}},"keywords":{}}],["gt;|one",{"_index":777,"title":{},"content":{"66":{"position":[[123,11]]}},"keywords":{}}],["gt;|three",{"_index":783,"title":{},"content":{"66":{"position":[[190,11]]}},"keywords":{}}],["gt;|two",{"_index":780,"title":{},"content":{"66":{"position":[[160,9]]}},"keywords":{}}],["guid",{"_index":125,"title":{},"content":{"12":{"position":[[222,7]]}},"keywords":{}}],["guidelin",{"_index":265,"title":{},"content":{"20":{"position":[[609,10]]}},"keywords":{}}],["happen",{"_index":533,"title":{},"content":{"55":{"position":[[1233,9]]},"56":{"position":[[1505,9]]}},"keywords":{}}],["harmon",{"_index":317,"title":{},"content":{"23":{"position":[[115,10],[299,13]]}},"keywords":{}}],["head",{"_index":666,"title":{},"content":{"57":{"position":[[1171,8]]},"59":{"position":[[212,7]]}},"keywords":{}}],["health",{"_index":1067,"title":{},"content":{"105":{"position":[[85,6]]}},"keywords":{}}],["hello",{"_index":161,"title":{},"content":{"16":{"position":[[59,5]]},"17":{"position":[[191,5],[369,8]]}},"keywords":{}}],["hellodocusauru",{"_index":741,"title":{},"content":{"62":{"position":[[131,17],[250,17]]}},"keywords":{}}],["help",{"_index":266,"title":{},"content":{"20":{"position":[[625,4]]}},"keywords":{}}],["here",{"_index":511,"title":{},"content":{"55":{"position":[[529,4]]},"59":{"position":[[524,5]]},"91":{"position":[[434,5]]}},"keywords":{}}],["hi",{"_index":169,"title":{},"content":{"17":{"position":[[159,5]]}},"keywords":{}}],["high",{"_index":576,"title":{},"content":{"55":{"position":[[2397,4]]},"56":{"position":[[1567,4]]}},"keywords":{}}],["higher",{"_index":602,"title":{},"content":{"56":{"position":[[870,6]]}},"keywords":{}}],["highest",{"_index":589,"title":{},"content":{"56":{"position":[[358,7]]}},"keywords":{}}],["highlight",{"_index":738,"title":{},"content":{"62":{"position":[[48,13]]},"67":{"position":[[119,9]]}},"keywords":{}}],["hl7",{"_index":429,"title":{},"content":{"46":{"position":[[148,3]]},"76":{"position":[[113,3]]},"85":{"position":[[132,3]]}},"keywords":{}}],["hostnam",{"_index":980,"title":{"94":{"position":[[0,9]]}},"content":{"94":{"position":[[1,9],[23,8],[85,9],[148,8]]}},"keywords":{}}],["hosts)rfc",{"_index":1073,"title":{},"content":{"106":{"position":[[45,9]]}},"keywords":{}}],["hous",{"_index":505,"title":{},"content":{"55":{"position":[[306,7]]}},"keywords":{}}],["http://localhost:3000",{"_index":107,"title":{},"content":{"9":{"position":[[344,23]]},"12":{"position":[[88,23]]}},"keywords":{}}],["http://localhost:3000/blog/greet",{"_index":157,"title":{},"content":{"14":{"position":[[561,37]]}},"keywords":{}}],["http://localhost:3000/doc",{"_index":386,"title":{},"content":{"32":{"position":[[207,27]]}},"keywords":{}}],["http://localhost:3000/docs/hello",{"_index":162,"title":{},"content":{"16":{"position":[[144,33]]}},"keywords":{}}],["http://localhost:3000/docs/hellodocs/hello.md",{"_index":396,"title":{},"content":{"34":{"position":[[112,45]]}},"keywords":{}}],["http://localhost:3000/docs/next",{"_index":388,"title":{},"content":{"32":{"position":[[270,32]]}},"keywords":{}}],["http://localhost:3000/docs/next/hello",{"_index":397,"title":{},"content":{"34":{"position":[[166,37]]}},"keywords":{}}],["http://localhost:3000/fr",{"_index":370,"title":{},"content":{"28":{"position":[[108,25]]}},"keywords":{}}],["http://localhost:3000/mi",{"_index":48,"title":{},"content":{"3":{"position":[[330,24]]},"4":{"position":[[156,24]]}},"keywords":{}}],["https://github.com/joelmarcey",{"_index":143,"title":{},"content":{"14":{"position":[[184,29]]}},"keywords":{}}],["https://github.com/joelmarcey.png",{"_index":145,"title":{},"content":{"14":{"position":[[225,33]]}},"keywords":{}}],["https://github.com/slorber.png",{"_index":150,"title":{},"content":{"14":{"position":[[357,30]]}},"keywords":{}}],["https://json",{"_index":907,"title":{},"content":{"82":{"position":[[513,12]]}},"keywords":{}}],["https://sebastienlorber.com",{"_index":149,"title":{},"content":{"14":{"position":[[318,27]]}},"keywords":{}}],["i18n",{"_index":351,"title":{"26":{"position":[[10,5]]}},"content":{"26":{"position":[[102,5]]}},"keywords":{}}],["i18n/fr",{"_index":359,"title":{},"content":{"27":{"position":[[36,7]]}},"keywords":{}}],["i18n/fr/docusauru",{"_index":362,"title":{},"content":{"27":{"position":[[62,18],[127,18],[195,18]]}},"keywords":{}}],["id",{"_index":708,"title":{"73":{"position":[[7,2]]}},"content":{"59":{"position":[[81,3]]},"69":{"position":[[8,2]]},"70":{"position":[[785,2]]},"73":{"position":[[8,3],[345,3],[518,2],[662,2]]}},"keywords":{}}],["ideal",{"_index":911,"title":{},"content":{"82":{"position":[[607,7]]}},"keywords":{}}],["identif",{"_index":786,"title":{},"content":{"66":{"position":[[226,14]]},"69":{"position":[[354,14]]},"70":{"position":[[1143,14]]}},"keywords":{}}],["identifi",{"_index":320,"title":{"68":{"position":[[7,10]]},"96":{"position":[[9,11]]}},"content":{"23":{"position":[[154,8]]},"55":{"position":[[410,11]]},"57":{"position":[[319,11],[331,11],[465,11],[1810,12]]},"69":{"position":[[45,11],[95,10],[330,11],[416,11]]},"70":{"position":[[16,10],[94,10],[822,11],[868,10],[1103,11],[1205,11]]},"96":{"position":[[20,11]]},"97":{"position":[[83,10]]}},"keywords":{}}],["idmay",{"_index":714,"title":{},"content":{"59":{"position":[[369,5]]}},"keywords":{}}],["idn",{"_index":977,"title":{},"content":{"93":{"position":[[146,3]]},"94":{"position":[[144,3]]}},"keywords":{}}],["ie",{"_index":230,"title":{},"content":{"19":{"position":[[712,4]]}},"keywords":{}}],["imag",{"_index":729,"title":{"61":{"position":[[0,7]]}},"content":{"61":{"position":[[18,6],[81,6],[204,6],[289,6]]}},"keywords":{}}],["image_url",{"_index":144,"title":{},"content":{"14":{"position":[[214,10],[346,10]]}},"keywords":{}}],["immedi",{"_index":56,"title":{},"content":{"6":{"position":[[56,11]]}},"keywords":{}}],["impact",{"_index":473,"title":{},"content":{"54":{"position":[[595,8]]}},"keywords":{}}],["implement",{"_index":305,"title":{"43":{"position":[[0,14]]},"49":{"position":[[0,14]]},"72":{"position":[[0,14]]},"79":{"position":[[0,14]]},"88":{"position":[[0,14]]},"112":{"position":[[0,14]]}},"content":{"22":{"position":[[142,12]]},"82":{"position":[[904,14]]}},"keywords":{}}],["impli",{"_index":932,"title":{},"content":{"82":{"position":[[1407,7]]}},"keywords":{}}],["import",{"_index":30,"title":{},"content":{"3":{"position":[[74,6],[101,6]]}},"keywords":{}}],["improv",{"_index":235,"title":{},"content":{"19":{"position":[[778,12]]},"20":{"position":[[294,7]]},"23":{"position":[[213,11]]}},"keywords":{}}],["includ",{"_index":204,"title":{},"content":{"19":{"position":[[272,9]]},"20":{"position":[[216,8]]},"30":{"position":[[94,7]]},"55":{"position":[[1004,9]]},"57":{"position":[[564,7],[1866,7],[2077,7]]},"73":{"position":[[182,8],[435,8]]}},"keywords":{}}],["inclus",{"_index":1043,"title":{},"content":{"100":{"position":[[404,9]]}},"keywords":{}}],["inconsist",{"_index":207,"title":{},"content":{"19":{"position":[[299,15]]}},"keywords":{}}],["indic",{"_index":540,"title":{},"content":{"55":{"position":[[1420,9]]}},"keywords":{}}],["individu",{"_index":663,"title":{},"content":{"57":{"position":[[1080,10]]}},"keywords":{}}],["industri",{"_index":652,"title":{},"content":{"57":{"position":[[805,8]]}},"keywords":{}}],["infer",{"_index":1028,"title":{},"content":{"99":{"position":[[208,5]]}},"keywords":{}}],["info",{"_index":718,"title":{},"content":{"59":{"position":[[443,4]]},"96":{"position":[[680,4]]}},"keywords":{}}],["inform",{"_index":196,"title":{},"content":{"19":{"position":[[159,11]]},"20":{"position":[[407,11]]},"23":{"position":[[246,11],[613,11]]},"57":{"position":[[228,11],[1523,12]]},"82":{"position":[[713,11]]},"91":{"position":[[39,12]]},"105":{"position":[[92,11]]},"110":{"position":[[305,11]]}},"keywords":{}}],["init",{"_index":80,"title":{},"content":{"8":{"position":[[158,4]]}},"keywords":{}}],["initi",{"_index":672,"title":{},"content":{"57":{"position":[[1302,10]]}},"keywords":{}}],["input",{"_index":488,"title":{},"content":{"54":{"position":[[1058,5]]}},"keywords":{}}],["inrfc",{"_index":956,"title":{},"content":{"92":{"position":[[47,5]]},"93":{"position":[[56,5]]},"94":{"position":[[53,5]]}},"keywords":{}}],["insid",{"_index":795,"title":{},"content":{"67":{"position":[[88,6]]}},"keywords":{}}],["insight",{"_index":323,"title":{},"content":{"23":{"position":[[174,8]]}},"keywords":{}}],["inspection"",{"_index":619,"title":{},"content":{"56":{"position":[[1390,18]]}},"keywords":{}}],["inspir",{"_index":18,"title":{},"content":{"1":{"position":[[183,12]]},"46":{"position":[[131,11]]},"76":{"position":[[96,11]]},"85":{"position":[[115,11]]}},"keywords":{}}],["instal",{"_index":64,"title":{},"content":{"7":{"position":[[37,10]]},"8":{"position":[[343,8]]}},"keywords":{}}],["instanc",{"_index":756,"title":{},"content":{"64":{"position":[[16,8]]},"85":{"position":[[44,8]]}},"keywords":{}}],["instead",{"_index":996,"title":{},"content":{"96":{"position":[[291,8]]}},"keywords":{}}],["intak",{"_index":197,"title":{},"content":{"19":{"position":[[176,6]]}},"keywords":{}}],["integ",{"_index":630,"title":{},"content":{"57":{"position":[[292,8]]},"70":{"position":[[770,7],[1124,7]]},"73":{"position":[[791,7]]},"99":{"position":[[141,8],[233,7],[370,7],[422,7],[460,8]]}},"keywords":{}}],["integr",{"_index":87,"title":{},"content":{"8":{"position":[[284,10]]},"19":{"position":[[357,9]]},"20":{"position":[[490,12]]}},"keywords":{}}],["intellig",{"_index":229,"title":{},"content":{"19":{"position":[[699,12]]}},"keywords":{}}],["intend",{"_index":423,"title":{},"content":{"46":{"position":[[19,8]]},"57":{"position":[[481,8],[583,8]]},"76":{"position":[[19,8]]},"85":{"position":[[19,8]]},"109":{"position":[[19,8]]}},"keywords":{}}],["intent",{"_index":500,"title":{},"content":{"55":{"position":[[171,6],[206,6],[640,6],[753,6]]},"82":{"position":[[995,6]]}},"keywords":{}}],["interact",{"_index":580,"title":{},"content":{"55":{"position":[[2482,8]]},"67":{"position":[[38,11]]}},"keywords":{}}],["interchang",{"_index":346,"title":{},"content":{"23":{"position":[[867,11]]}},"keywords":{}}],["interest",{"_index":281,"title":{},"content":{"21":{"position":[[35,10]]},"54":{"position":[[546,10]]},"55":{"position":[[1097,8]]}},"keywords":{}}],["interfac",{"_index":694,"title":{},"content":{"57":{"position":[[1925,9]]}},"keywords":{}}],["intern",{"_index":964,"title":{},"content":{"92":{"position":[[158,10]]}},"keywords":{}}],["internation",{"_index":976,"title":{},"content":{"93":{"position":[[121,17]]},"94":{"position":[[119,17]]},"106":{"position":[[185,18],[226,18]]}},"keywords":{}}],["internet",{"_index":1072,"title":{},"content":{"106":{"position":[[35,9]]}},"keywords":{}}],["interoper",{"_index":223,"title":{},"content":{"19":{"position":[[525,16]]},"20":{"position":[[109,17],[302,17]]},"23":{"position":[[533,16],[694,16]]}},"keywords":{}}],["intro",{"_index":52,"title":{"5":{"position":[[9,5]]}},"content":{"17":{"position":[[360,8]]}},"keywords":{}}],["involv",{"_index":21,"title":{},"content":{"1":{"position":[[226,8]]},"20":{"position":[[165,8]]}},"keywords":{}}],["ip",{"_index":985,"title":{"95":{"position":[[0,2]]}},"content":{"95":{"position":[[1,2]]}},"keywords":{}}],["ipv4",{"_index":986,"title":{},"content":{"95":{"position":[[41,4],[66,4]]}},"keywords":{}}],["ipv4)rfc",{"_index":1075,"title":{},"content":{"106":{"position":[[75,9]]}},"keywords":{}}],["ipv6",{"_index":987,"title":{},"content":{"95":{"position":[[49,4],[126,4]]}},"keywords":{}}],["ipv6)rfc",{"_index":1074,"title":{},"content":{"106":{"position":[[60,9]]}},"keywords":{}}],["iso",{"_index":645,"title":{},"content":{"57":{"position":[[735,3]]},"91":{"position":[[173,3]]}},"keywords":{}}],["issu",{"_index":464,"title":{},"content":{"54":{"position":[[370,5]]}},"keywords":{}}],["it'",{"_index":512,"title":{},"content":{"55":{"position":[[537,4]]}},"keywords":{}}],["item",{"_index":11,"title":{},"content":{"1":{"position":[[110,5]]},"17":{"position":[[417,6]]},"29":{"position":[[168,6]]},"33":{"position":[[168,6]]},"101":{"position":[[185,5]]}},"keywords":{}}],["joel",{"_index":137,"title":{},"content":{"14":{"position":[[133,4]]}},"keywords":{}}],["json",{"_index":680,"title":{"82":{"position":[[0,4]]}},"content":{"57":{"position":[[1585,4],[1874,5]]},"73":{"position":[[786,4]]},"82":{"position":[[3,4],[63,4],[209,4],[339,4],[447,4]]},"91":{"position":[[460,4]]},"92":{"position":[[555,4]]},"96":{"position":[[269,4]]},"99":{"position":[[93,4]]},"100":{"position":[[55,5]]},"101":{"position":[[48,4]]},"102":{"position":[[166,4]]},"107":{"position":[[1,4]]}},"keywords":{}}],["json)json",{"_index":937,"title":{},"content":{"83":{"position":[[18,10]]}},"keywords":{}}],["json)rfc",{"_index":1085,"title":{},"content":{"106":{"position":[[283,9]]}},"keywords":{}}],["jsx",{"_index":739,"title":{},"content":{"62":{"position":[[63,6]]}},"keywords":{}}],["jurisdict",{"_index":480,"title":{},"content":{"54":{"position":[[802,13]]},"55":{"position":[[1632,13]]}},"keywords":{}}],["key",{"_index":337,"title":{},"content":{"23":{"position":[[597,3]]},"100":{"position":[[32,3],[65,3],[101,3],[307,3]]},"110":{"position":[[82,3]]}},"keywords":{}}],["keyword",{"_index":1045,"title":{},"content":{"101":{"position":[[191,8],[220,7]]}},"keywords":{}}],["kind",{"_index":406,"title":{},"content":{"38":{"position":[[54,4]]},"39":{"position":[[6,4]]},"101":{"position":[[268,5]]}},"keywords":{}}],["known",{"_index":959,"title":{},"content":{"92":{"position":[[93,5]]}},"keywords":{}}],["label",{"_index":166,"title":{},"content":{"17":{"position":[[105,5],[398,6]]},"57":{"position":[[1069,6]]},"67":{"position":[[340,5]]}},"keywords":{}}],["lack",{"_index":1025,"title":{},"content":{"99":{"position":[[98,5]]}},"keywords":{}}],["land",{"_index":557,"title":{},"content":{"55":{"position":[[1863,4]]},"69":{"position":[[18,4],[122,4],[273,4],[395,4]]},"70":{"position":[[317,4],[371,4],[795,4],[895,4],[1046,4],[1184,4]]}},"keywords":{}}],["languag",{"_index":212,"title":{},"content":{"19":{"position":[[384,9]]},"21":{"position":[[145,8]]},"23":{"position":[[679,10]]},"29":{"position":[[31,10]]},"102":{"position":[[87,9]]}},"keywords":{}}],["larger",{"_index":605,"title":{},"content":{"56":{"position":[[1004,6],[1133,6]]}},"keywords":{}}],["layout",{"_index":31,"title":{},"content":{"3":{"position":[[108,6]]}},"keywords":{}}],["layoutadd",{"_index":15,"title":{},"content":{"1":{"position":[[156,9]]}},"keywords":{}}],["lead",{"_index":879,"title":{},"content":{"73":{"position":[[686,7]]}},"keywords":{}}],["leas",{"_index":526,"title":{},"content":{"55":{"position":[[1041,6]]}},"keywords":{}}],["left",{"_index":875,"title":{},"content":{"73":{"position":[[536,4]]}},"keywords":{}}],["legal",{"_index":841,"title":{},"content":{"70":{"position":[[250,5]]}},"keywords":{}}],["legal_descript",{"_index":836,"title":{},"content":{"70":{"position":[[119,17]]}},"keywords":{}}],["legisl",{"_index":463,"title":{},"content":{"54":{"position":[[355,11]]}},"keywords":{}}],["less",{"_index":995,"title":{},"content":{"96":{"position":[[93,4]]}},"keywords":{}}],["let'",{"_index":725,"title":{},"content":{"60":{"position":[[80,5],[132,5],[196,5]]}},"keywords":{}}],["level",{"_index":329,"title":{},"content":{"23":{"position":[[326,5]]},"36":{"position":[[100,6]]},"55":{"position":[[2402,5]]},"56":{"position":[[366,5],[877,5],[1572,5]]},"82":{"position":[[436,5]]},"99":{"position":[[430,5]]}},"keywords":{}}],["lexicon",{"_index":447,"title":{},"content":{"53":{"position":[[106,7]]}},"keywords":{}}],["licens",{"_index":524,"title":{},"content":{"55":{"position":[[1024,8]]}},"keywords":{}}],["lieu",{"_index":1032,"title":{},"content":{"99":{"position":[[358,4]]}},"keywords":{}}],["lifecycl",{"_index":407,"title":{},"content":{"38":{"position":[[62,9]]},"39":{"position":[[14,9]]},"56":{"position":[[136,12],[263,9],[454,10],[616,10]]}},"keywords":{}}],["line",{"_index":111,"title":{},"content":{"9":{"position":[[414,6]]},"52":{"position":[[20,4]]}},"keywords":{}}],["link",{"_index":721,"title":{"60":{"position":[[0,6]]}},"content":{"60":{"position":[[18,5]]}},"keywords":{}}],["linkingcoordin",{"_index":332,"title":{},"content":{"23":{"position":[[363,18]]}},"keywords":{}}],["links](./hello.md",{"_index":711,"title":{},"content":{"59":{"position":[[239,19]]}},"keywords":{}}],["list",{"_index":301,"title":{},"content":{"22":{"position":[[77,4]]},"57":{"position":[[666,5]]},"59":{"position":[[459,7]]}},"keywords":{}}],["load",{"_index":419,"title":{},"content":{"42":{"position":[[14,7]]},"71":{"position":[[21,7]]},"111":{"position":[[21,7]]}},"keywords":{}}],["lob",{"_index":347,"title":{},"content":{"23":{"position":[[915,3]]},"55":{"position":[[1252,3]]}},"keywords":{}}],["local",{"_index":102,"title":{"28":{"position":[[11,9]]},"29":{"position":[[6,6]]},"30":{"position":[[11,9]]}},"content":{"9":{"position":[[267,7]]},"12":{"position":[[28,8]]},"26":{"position":[[55,7],[131,8]]},"28":{"position":[[31,7],[59,6],[76,9],[224,6]]},"29":{"position":[[48,6],[224,6]]},"30":{"position":[[32,7],[60,6],[110,7]]},"54":{"position":[[634,5],[932,5]]},"57":{"position":[[512,5]]}},"keywords":{}}],["localedropdown",{"_index":376,"title":{},"content":{"29":{"position":[[185,17]]}},"keywords":{}}],["locat",{"_index":547,"title":{},"content":{"55":{"position":[[1620,8]]}},"keywords":{}}],["location(",{"_index":519,"title":{},"content":{"55":{"position":[[806,11]]}},"keywords":{}}],["logo](./img/docusaurus.png",{"_index":736,"title":{},"content":{"61":{"position":[[350,27]]}},"keywords":{}}],["logo](/img/docusaurus.png",{"_index":732,"title":{},"content":{"61":{"position":[[155,26]]}},"keywords":{}}],["loos",{"_index":427,"title":{},"content":{"46":{"position":[[116,7]]},"76":{"position":[[81,7]]},"85":{"position":[[100,7]]}},"keywords":{}}],["looser",{"_index":1046,"title":{},"content":{"101":{"position":[[241,6]]}},"keywords":{}}],["lorber",{"_index":147,"title":{},"content":{"14":{"position":[[277,6]]}},"keywords":{}}],["lr",{"_index":769,"title":{},"content":{"66":{"position":[[18,2]]}},"keywords":{}}],["lt;/layout>",{"_index":44,"title":{},"content":{"3":{"position":[[276,15]]}},"keywords":{}}],["lt;/span>",{"_index":812,"title":{},"content":{"67":{"position":[[378,13]]}},"keywords":{}}],["lt;h1>hello",{"_index":742,"title":{},"content":{"62":{"position":[[158,16],[277,16]]}},"keywords":{}}],["lt;h1>mi",{"_index":40,"title":{},"content":{"3":{"position":[[201,12]]}},"keywords":{}}],["lt;highlight",{"_index":813,"title":{},"content":{"67":{"position":[[403,13],[491,13]]}},"keywords":{}}],["lt;layout>",{"_index":39,"title":{},"content":{"3":{"position":[[186,14]]}},"keywords":{}}],["lt;p>thi",{"_index":42,"title":{},"content":{"3":{"position":[[236,13]]}},"keywords":{}}],["lt;span",{"_index":799,"title":{},"content":{"67":{"position":[[159,8]]}},"keywords":{}}],["ltsa",{"_index":554,"title":{},"content":{"55":{"position":[[1759,4]]}},"keywords":{}}],["machin",{"_index":661,"title":{"65":{"position":[[6,8]]}},"content":{"57":{"position":[[1052,7]]}},"keywords":{}}],["machines.titl",{"_index":923,"title":{},"content":{"82":{"position":[[974,14]]}},"keywords":{}}],["made",{"_index":152,"title":{},"content":{"14":{"position":[[436,4]]},"55":{"position":[[1344,4]]}},"keywords":{}}],["mail",{"_index":1063,"title":{},"content":{"105":{"position":[[25,8]]}},"keywords":{}}],["main",{"_index":240,"title":{},"content":{"20":{"position":[[5,4]]},"53":{"position":[[33,4]]}},"keywords":{}}],["maintain",{"_index":148,"title":{},"content":{"14":{"position":[[302,10]]},"23":{"position":[[826,13]]},"55":{"position":[[1283,8]]},"70":{"position":[[466,10]]}},"keywords":{}}],["make",{"_index":254,"title":{},"content":{"20":{"position":[[363,4]]},"67":{"position":[[9,4]]},"73":{"position":[[328,5]]}},"keywords":{}}],["maker",{"_index":459,"title":{},"content":{"54":{"position":[[245,5],[272,5]]},"55":{"position":[[1373,5]]}},"keywords":{}}],["manag",{"_index":379,"title":{"31":{"position":[[0,6]]}},"content":{},"keywords":{}}],["mandatori",{"_index":248,"title":{},"content":{"20":{"position":[[189,9]]}},"keywords":{}}],["mani",{"_index":191,"title":{},"content":{"19":{"position":[[119,4],[259,4]]},"55":{"position":[[1206,4]]}},"keywords":{}}],["map",{"_index":403,"title":{"37":{"position":[[8,4]]}},"content":{"55":{"position":[[2419,3]]},"56":{"position":[[1098,3],[1443,7],[1593,3]]},"100":{"position":[[42,9]]}},"keywords":{}}],["marcey",{"_index":138,"title":{},"content":{"14":{"position":[[138,6]]}},"keywords":{}}],["markdown",{"_index":49,"title":{"4":{"position":[[18,8]]},"58":{"position":[[0,8]]}},"content":{"4":{"position":[[31,8],[63,8],[85,8],[109,8],[181,8]]},"16":{"position":[[10,8]]},"59":{"position":[[1,8],[203,8],[220,8],[283,8]]},"60":{"position":[[9,8]]},"61":{"position":[[9,8],[309,8]]},"62":{"position":[[1,8]]},"67":{"position":[[95,9]]}},"keywords":{}}],["matter",{"_index":491,"title":{"59":{"position":[[6,7]]}},"content":{"54":{"position":[[1104,6],[1128,6]]},"59":{"position":[[58,7],[497,6]]},"78":{"position":[[134,6]]},"87":{"position":[[357,6]]}},"keywords":{}}],["max",{"_index":824,"title":{},"content":{"69":{"position":[[70,3]]}},"keywords":{}}],["maxcontain",{"_index":1048,"title":{},"content":{"101":{"position":[[358,12]]}},"keywords":{}}],["maxim",{"_index":1009,"title":{},"content":{"96":{"position":[[656,8]]}},"keywords":{}}],["maximum,exclusiveminimum",{"_index":1035,"title":{},"content":{"99":{"position":[[542,24]]}},"keywords":{}}],["maxitem",{"_index":1050,"title":{},"content":{"101":{"position":[[384,8]]}},"keywords":{}}],["maxlength",{"_index":951,"title":{},"content":{"91":{"position":[[266,9]]}},"keywords":{}}],["mdx",{"_index":792,"title":{"67":{"position":[[0,3]]}},"content":{"67":{"position":[[1,3]]}},"keywords":{}}],["measur",{"_index":570,"title":{},"content":{"55":{"position":[[2292,11]]}},"keywords":{}}],["media",{"_index":686,"title":{},"content":{"57":{"position":[[1696,5],[1799,5]]}},"keywords":{}}],["member",{"_index":598,"title":{},"content":{"56":{"position":[[595,6],[827,6]]}},"keywords":{}}],["mermaid",{"_index":754,"title":{"64":{"position":[[0,7]]}},"content":{"64":{"position":[[67,8],[141,8]]},"65":{"position":[[1,10]]},"66":{"position":[[1,10]]}},"keywords":{}}],["metadata",{"_index":165,"title":{},"content":{"17":{"position":[[71,8]]},"57":{"position":[[1293,8],[1371,8]]},"59":{"position":[[25,8]]}},"keywords":{}}],["microservic",{"_index":307,"title":{},"content":{"22":{"position":[[191,14]]}},"keywords":{}}],["mincontain",{"_index":1047,"title":{},"content":{"101":{"position":[[345,12]]}},"keywords":{}}],["minimum",{"_index":712,"title":{},"content":{"59":{"position":[[313,7]]},"70":{"position":[[36,7]]},"99":{"position":[[533,8]]}},"keywords":{}}],["ministri",{"_index":462,"title":{},"content":{"54":{"position":[[346,8],[922,9]]}},"keywords":{}}],["minitem",{"_index":1049,"title":{},"content":{"101":{"position":[[371,8]]}},"keywords":{}}],["minlength",{"_index":950,"title":{},"content":{"91":{"position":[[255,10]]}},"keywords":{}}],["mkdir",{"_index":360,"title":{},"content":{"27":{"position":[[53,5]]}},"keywords":{}}],["model",{"_index":675,"title":{},"content":{"57":{"position":[[1447,5]]}},"keywords":{}}],["modern",{"_index":558,"title":{},"content":{"55":{"position":[[1941,14]]}},"keywords":{}}],["modifi",{"_index":352,"title":{},"content":{"26":{"position":[[1,6]]},"29":{"position":[[66,6]]},"33":{"position":[[66,6]]}},"keywords":{}}],["more",{"_index":503,"title":{},"content":{"55":{"position":[[277,4],[776,4],[2048,4]]},"64":{"position":[[154,4],[236,4]]},"67":{"position":[[33,4]]},"91":{"position":[[490,4]]},"92":{"position":[[421,4]]},"93":{"position":[[235,4]]},"94":{"position":[[253,4]]},"95":{"position":[[227,4]]},"97":{"position":[[251,4]]},"98":{"position":[[118,4]]},"99":{"position":[[632,4]]},"100":{"position":[[457,4]]},"101":{"position":[[494,4]]},"102":{"position":[[293,4]]},"103":{"position":[[202,4]]}},"keywords":{}}],["ms",{"_index":285,"title":{},"content":{"21":{"position":[[80,2]]}},"keywords":{}}],["much",{"_index":156,"title":{},"content":{"14":{"position":[[505,4]]}},"keywords":{}}],["muddl",{"_index":518,"title":{},"content":{"55":{"position":[[706,7]]}},"keywords":{}}],["multipleof",{"_index":1034,"title":{},"content":{"99":{"position":[[521,11]]}},"keywords":{}}],["municip",{"_index":474,"title":{},"content":{"54":{"position":[[653,12]]}},"keywords":{}}],["my_doc_id",{"_index":709,"title":{},"content":{"59":{"position":[[85,9]]}},"keywords":{}}],["myreactpag",{"_index":36,"title":{},"content":{"3":{"position":[[161,13]]}},"keywords":{}}],["naic",{"_index":653,"title":{},"content":{"57":{"position":[[836,7]]}},"keywords":{}}],["name",{"_index":136,"title":{},"content":{"14":{"position":[[127,5],[261,5]]},"47":{"position":[[1,4]]},"70":{"position":[[160,4],[617,4]]},"77":{"position":[[1,4]]},"86":{"position":[[1,4]]},"100":{"position":[[311,8]]},"110":{"position":[[1,4],[202,4]]}},"keywords":{}}],["names)rfc",{"_index":1082,"title":{},"content":{"106":{"position":[[211,9]]}},"keywords":{}}],["namespac",{"_index":660,"title":{},"content":{"57":{"position":[[1013,9]]}},"keywords":{}}],["nation",{"_index":333,"title":{},"content":{"23":{"position":[[388,7]]}},"keywords":{}}],["natur",{"_index":183,"title":{},"content":{"19":{"position":[[39,7],[545,7]]}},"keywords":{}}],["navbar",{"_index":9,"title":{},"content":{"1":{"position":[[92,6]]},"29":{"position":[[158,7],[260,7]]},"33":{"position":[[158,7],[277,7]]}},"keywords":{}}],["navig",{"_index":100,"title":{},"content":{"9":{"position":[[191,8]]},"29":{"position":[[4,8]]},"33":{"position":[[4,8]]},"54":{"position":[[816,9]]}},"keywords":{}}],["necessari",{"_index":90,"title":{},"content":{"8":{"position":[[356,9]]}},"keywords":{}}],["need",{"_index":59,"title":{"7":{"position":[[12,5]]}},"content":{"8":{"position":[[383,4]]},"9":{"position":[[183,4]]},"23":{"position":[[630,4]]},"55":{"position":[[1125,4],[1553,5]]}},"keywords":{}}],["nest",{"_index":1042,"title":{},"content":{"100":{"position":[[207,9]]}},"keywords":{}}],["network",{"_index":700,"title":{},"content":{"57":{"position":[[2042,8]]}},"keywords":{}}],["new",{"_index":45,"title":{"8":{"position":[[11,3]]}},"content":{"3":{"position":[[301,3]]},"4":{"position":[[127,3]]},"6":{"position":[[27,3]]},"8":{"position":[[12,3]]},"14":{"position":[[527,3]]},"16":{"position":[[111,3]]}},"keywords":{}}],["newer",{"_index":1013,"title":{},"content":{"96":{"position":[[872,5]]}},"keywords":{}}],["newli",{"_index":99,"title":{},"content":{"9":{"position":[[145,5]]}},"keywords":{}}],["next",{"_index":2,"title":{"1":{"position":[[7,6]]}},"content":{},"keywords":{}}],["nine",{"_index":822,"title":{},"content":{"69":{"position":[[59,4]]},"70":{"position":[[836,4]]},"73":{"position":[[553,4]]}},"keywords":{}}],["node.j",{"_index":60,"title":{},"content":{"7":{"position":[[1,7],[48,8]]}},"keywords":{}}],["nomenclature.$com",{"_index":913,"title":{},"content":{"82":{"position":[[645,21]]}},"keywords":{}}],["normal",{"_index":906,"title":{},"content":{"82":{"position":[[501,8]]}},"keywords":{}}],["north",{"_index":650,"title":{},"content":{"57":{"position":[[790,5]]}},"keywords":{}}],["note",{"_index":420,"title":{"43":{"position":[[15,6]]},"49":{"position":[[15,6]]},"72":{"position":[[15,6]]},"79":{"position":[[15,6]]},"88":{"position":[[15,6]]},"112":{"position":[[15,6]]}},"content":{"55":{"position":[[2176,4]]},"92":{"position":[[454,4]]},"96":{"position":[[172,4]]},"99":{"position":[[83,4]]},"103":{"position":[[87,4]]}},"keywords":{}}],["notic",{"_index":486,"title":{},"content":{"54":{"position":[[985,7]]}},"keywords":{}}],["now",{"_index":46,"title":{},"content":{"3":{"position":[[313,3]]},"4":{"position":[[139,3]]},"12":{"position":[[74,3],[121,3]]},"14":{"position":[[544,3]]},"16":{"position":[[127,3]]},"29":{"position":[[240,3]]},"32":{"position":[[178,3]]}},"keywords":{}}],["now"",{"_index":622,"title":{},"content":{"56":{"position":[[1515,9]]}},"keywords":{}}],["npm",{"_index":79,"title":{},"content":{"8":{"position":[[154,3]]},"9":{"position":[[44,3],[225,3]]},"11":{"position":[[34,3]]},"12":{"position":[[38,3]]},"28":{"position":[[40,3]]},"30":{"position":[[41,3],[128,3]]},"32":{"position":[[41,3]]}},"keywords":{}}],["nr",{"_index":186,"title":{},"content":{"19":{"position":[[63,5]]}},"keywords":{}}],["nrm",{"_index":250,"title":{},"content":{"20":{"position":[[242,3]]}},"keywords":{}}],["nuanc",{"_index":917,"title":{},"content":{"82":{"position":[[823,7]]}},"keywords":{}}],["null",{"_index":1059,"title":{"103":{"position":[[0,5]]}},"content":{"103":{"position":[[1,4],[81,5],[97,4]]}},"keywords":{}}],["number",{"_index":571,"title":{},"content":{"55":{"position":[[2311,6]]},"69":{"position":[[74,6],[192,7],[369,6]]},"70":{"position":[[847,6],[965,7],[1158,6]]},"73":{"position":[[564,7],[670,7]]},"99":{"position":[[28,7],[448,7]]}},"keywords":{}}],["numbertyp",{"_index":1031,"title":{},"content":{"99":{"position":[[344,10]]}},"keywords":{}}],["numer",{"_index":861,"title":{"99":{"position":[[0,8]]}},"content":{"73":{"position":[[26,7],[636,9]]},"99":{"position":[[68,7]]}},"keywords":{}}],["obdc",{"_index":701,"title":{},"content":{"57":{"position":[[2085,4]]}},"keywords":{}}],["object",{"_index":239,"title":{"20":{"position":[[0,11]]},"100":{"position":[[0,7]]}},"content":{"20":{"position":[[10,9]]},"56":{"position":[[544,10]]},"100":{"position":[[1,7],[168,7],[281,7]]}},"keywords":{}}],["obtain",{"_index":517,"title":{},"content":{"55":{"position":[[650,6]]}},"keywords":{}}],["obviou",{"_index":912,"title":{},"content":{"82":{"position":[[626,7]]}},"keywords":{}}],["occur",{"_index":586,"title":{},"content":{"56":{"position":[[329,5]]}},"keywords":{}}],["offici",{"_index":4,"title":{},"content":{"1":{"position":[[10,8]]},"55":{"position":[[1779,8]]}},"keywords":{}}],["omit",{"_index":717,"title":{},"content":{"59":{"position":[[433,8]]}},"keywords":{}}],["on",{"_index":372,"title":{},"content":{"28":{"position":[[220,3]]},"55":{"position":[[270,3],[769,3],[2041,3]]},"57":{"position":[[163,3]]},"70":{"position":[[77,3],[570,4]]}},"keywords":{}}],["onc",{"_index":378,"title":{},"content":{"30":{"position":[[121,5]]}},"keywords":{}}],["onclick",{"_index":809,"title":{},"content":{"67":{"position":[[277,11]]}},"keywords":{}}],["open",{"_index":108,"title":{},"content":{"9":{"position":[[369,4]]}},"keywords":{}}],["oper",{"_index":851,"title":{},"content":{"70":{"position":[[501,11]]}},"keywords":{}}],["opportun",{"_index":325,"title":{},"content":{"23":{"position":[[195,13]]},"54":{"position":[[1035,11]]}},"keywords":{}}],["option",{"_index":560,"title":{},"content":{"55":{"position":[[2025,8]]},"63":{"position":[[110,6],[205,6]]},"91":{"position":[[210,10]]},"99":{"position":[[476,10]]}},"keywords":{}}],["optional.typ",{"_index":933,"title":{},"content":{"82":{"position":[[1421,13]]}},"keywords":{}}],["order",{"_index":98,"title":{},"content":{"9":{"position":[[121,5]]},"56":{"position":[[173,7],[638,8],[684,7],[750,5],[858,8]]},"57":{"position":[[78,7]]},"96":{"position":[[619,5]]},"101":{"position":[[30,7]]}},"keywords":{}}],["organ",{"_index":454,"title":{},"content":{"54":{"position":[[69,12],[166,12]]}},"keywords":{}}],["other.unlock",{"_index":271,"title":{},"content":{"20":{"position":[[744,12]]}},"keywords":{}}],["otherwis",{"_index":963,"title":{},"content":{"92":{"position":[[118,9]]}},"keywords":{}}],["out",{"_index":556,"title":{},"content":{"55":{"position":[[1830,3]]},"82":{"position":[[701,3]]}},"keywords":{}}],["outcom",{"_index":537,"title":{},"content":{"55":{"position":[[1336,7]]},"56":{"position":[[558,9]]}},"keywords":{}}],["outlin",{"_index":445,"title":{},"content":{"53":{"position":[[21,7]]},"55":{"position":[[14,8],[2386,8]]},"56":{"position":[[14,8],[1556,8]]},"91":{"position":[[399,7]]},"100":{"position":[[267,9]]}},"keywords":{}}],["output",{"_index":562,"title":{},"content":{"55":{"position":[[2117,6]]}},"keywords":{}}],["over",{"_index":189,"title":{},"content":{"19":{"position":[[84,4]]},"55":{"position":[[1156,4]]},"82":{"position":[[942,4]]}},"keywords":{}}],["overview",{"_index":926,"title":{},"content":{"82":{"position":[[1130,8]]}},"keywords":{}}],["ownership",{"_index":854,"title":{},"content":{"70":{"position":[[710,10]]}},"keywords":{}}],["p",{"_index":361,"title":{},"content":{"27":{"position":[[60,1]]}},"keywords":{}}],["pad",{"_index":805,"title":{},"content":{"67":{"position":[[238,8]]},"73":{"position":[[191,6],[444,6],[546,6]]}},"keywords":{}}],["page",{"_index":24,"title":{"2":{"position":[[9,4]]},"3":{"position":[[24,5]]},"4":{"position":[[27,5]]},"21":{"position":[[29,5]]}},"content":{"3":{"position":[[305,4],[361,5]]},"4":{"position":[[94,4],[118,4],[131,4],[190,5]]},"9":{"position":[[394,5]]},"28":{"position":[[158,4]]},"55":{"position":[[1764,4]]},"59":{"position":[[292,5]]},"60":{"position":[[222,5]]}},"keywords":{}}],["page</h1>",{"_index":41,"title":{},"content":{"3":{"position":[[220,15]]}},"keywords":{}}],["page</p>",{"_index":43,"title":{},"content":{"3":{"position":[[261,14]]}},"keywords":{}}],["page.j",{"_index":29,"title":{},"content":{"3":{"position":[[37,8],[66,7]]}},"keywords":{}}],["page.md",{"_index":50,"title":{},"content":{"4":{"position":[[40,8],[72,7]]}},"keywords":{}}],["page](./create_a_page.md",{"_index":727,"title":{},"content":{"60":{"position":[[159,26]]}},"keywords":{}}],["page](/create_a_pag",{"_index":726,"title":{},"content":{"60":{"position":[[107,22]]}},"keywords":{}}],["pair",{"_index":1039,"title":{},"content":{"100":{"position":[[111,4]]}},"keywords":{}}],["paramet",{"_index":1014,"title":{},"content":{"97":{"position":[[108,10]]}},"keywords":{}}],["parcel",{"_index":479,"title":{"68":{"position":[[0,6]]},"73":{"position":[[0,6]]}},"content":{"54":{"position":[[782,6]]},"55":{"position":[[781,7],[931,6],[1566,6],[1646,7],[1878,6]]},"69":{"position":[[1,6],[38,6],[108,6],[203,7],[323,6],[347,6],[409,6]]},"70":{"position":[[9,6],[87,6],[275,6],[610,6],[677,6],[778,6],[815,6],[881,6],[976,7],[1096,6],[1136,6],[1198,6]]},"73":{"position":[[1,6],[338,6],[511,6],[655,6]]},"74":{"position":[[33,7]]}},"keywords":{}}],["parcel_id_format",{"_index":873,"title":{},"content":{"73":{"position":[[473,19]]}},"keywords":{}}],["parcel_nam",{"_index":837,"title":{},"content":{"70":{"position":[[146,12],[513,11]]}},"keywords":{}}],["parcelmap",{"_index":862,"title":{},"content":{"73":{"position":[[46,9]]}},"keywords":{}}],["park",{"_index":858,"title":{},"content":{"70":{"position":[[755,5]]}},"keywords":{}}],["pars",{"_index":922,"title":{},"content":{"82":{"position":[[964,6]]}},"keywords":{}}],["part",{"_index":581,"title":{},"content":{"55":{"position":[[2505,5]]}},"keywords":{}}],["parti",{"_index":472,"title":{},"content":{"54":{"position":[[557,5]]}},"keywords":{}}],["particular",{"_index":659,"title":{},"content":{"57":{"position":[[1002,10]]}},"keywords":{}}],["particularli",{"_index":733,"title":{},"content":{"61":{"position":[[257,12]]}},"keywords":{}}],["pass",{"_index":584,"title":{},"content":{"56":{"position":[[247,4]]}},"keywords":{}}],["path",{"_index":723,"title":{},"content":{"60":{"position":[[49,5],[72,6]]},"61":{"position":[[62,5]]},"82":{"position":[[595,4]]}},"keywords":{}}],["pattern",{"_index":999,"title":{},"content":{"96":{"position":[[388,8]]}},"keywords":{}}],["peopl",{"_index":280,"title":{},"content":{"21":{"position":[[28,6]]}},"keywords":{}}],["perform",{"_index":318,"title":{},"content":{"23":{"position":[[134,7]]},"54":{"position":[[207,7]]},"55":{"position":[[839,10],[898,7]]}},"keywords":{}}],["period",{"_index":592,"title":{},"content":{"56":{"position":[[426,6]]}},"keywords":{}}],["perman",{"_index":831,"title":{},"content":{"69":{"position":[[313,9]]},"70":{"position":[[1086,9]]}},"keywords":{}}],["permiss",{"_index":521,"title":{},"content":{"55":{"position":[[884,10],[1810,10]]}},"keywords":{}}],["permit",{"_index":179,"title":{},"content":{"19":{"position":[[1,10],[93,6],[224,10],[332,10],[562,10],[656,11],[759,10],[853,11]]},"20":{"position":[[246,10],[432,10]]},"22":{"position":[[89,10]]},"23":{"position":[[499,10]]},"55":{"position":[[433,7],[1016,7],[1294,7],[1769,6],[1930,10]]},"101":{"position":[[53,7]]},"109":{"position":[[63,7]]},"110":{"position":[[99,7],[151,10]]}},"keywords":{}}],["person",{"_index":453,"title":{},"content":{"54":{"position":[[49,7],[149,7],[292,7],[565,7]]}},"keywords":{}}],["phase",{"_index":583,"title":{},"content":{"56":{"position":[[195,6],[409,5],[467,5],[570,5],[839,6],[899,5]]}},"keywords":{}}],["pi",{"_index":241,"title":{},"content":{"20":{"position":[[23,4]]},"21":{"position":[[70,5]]},"22":{"position":[[222,4]]},"23":{"position":[[421,4]]},"54":{"position":[[115,5]]},"55":{"position":[[108,5]]},"82":{"position":[[476,5]]}},"keywords":{}}],["pid",{"_index":829,"title":{"73":{"position":[[10,6]]}},"content":{"69":{"position":[[188,3],[302,3]]},"70":{"position":[[553,4],[600,4],[649,3],[761,3],[961,3],[1075,3]]},"73":{"position":[[134,4]]}},"keywords":{}}],["pid.a",{"_index":835,"title":{},"content":{"70":{"position":[[81,5]]}},"keywords":{}}],["piec",{"_index":628,"title":{},"content":{"57":{"position":[[242,5],[1513,6]]}},"keywords":{}}],["pies/docs/concept/process_tracking"",{"_index":894,"title":{},"content":{"78":{"position":[[306,41]]},"87":{"position":[[529,41]]}},"keywords":{}}],["pin",{"_index":832,"title":{},"content":{"69":{"position":[[376,5]]},"70":{"position":[[61,3],[589,3],[629,4],[657,4],[1115,3],[1165,5]]}},"keywords":{}}],["plan",{"_index":304,"title":{},"content":{"22":{"position":[[133,4]]}},"keywords":{}}],["platform",{"_index":345,"title":{},"content":{"23":{"position":[[849,8]]}},"keywords":{}}],["play",{"_index":154,"title":{},"content":{"14":{"position":[[471,4]]}},"keywords":{}}],["pleas",{"_index":954,"title":{},"content":{"91":{"position":[[440,6]]}},"keywords":{}}],["plugin",{"_index":363,"title":{},"content":{"27":{"position":[[81,6],[146,6],[214,6]]}},"keywords":{}}],["pmbc",{"_index":849,"title":{},"content":{"70":{"position":[[480,4]]},"73":{"position":[[59,7],[78,4],[251,4]]}},"keywords":{}}],["point",{"_index":315,"title":{},"content":{"23":{"position":[[76,5]]},"99":{"position":[[22,5],[163,5],[253,5],[307,6]]}},"keywords":{}}],["pointer",{"_index":808,"title":{},"content":{"67":{"position":[[263,10]]}},"keywords":{}}],["polici",{"_index":233,"title":{},"content":{"19":{"position":[[740,6]]},"20":{"position":[[786,6]]},"54":{"position":[[1233,7]]}},"keywords":{}}],["polygon",{"_index":545,"title":{},"content":{"55":{"position":[[1575,7]]}},"keywords":{}}],["popul",{"_index":845,"title":{},"content":{"70":{"position":[[410,9]]}},"keywords":{}}],["posit",{"_index":167,"title":{},"content":{"17":{"position":[[115,9]]}},"keywords":{}}],["possibl",{"_index":172,"title":{},"content":{"17":{"position":[[252,8]]},"34":{"position":[[7,8]]},"99":{"position":[[187,8]]},"102":{"position":[[41,8]]}},"keywords":{}}],["post",{"_index":127,"title":{"13":{"position":[[14,4]]},"14":{"position":[[18,5]]}},"content":{"14":{"position":[[452,5],[497,4],[536,4]]}},"keywords":{}}],["potenti",{"_index":272,"title":{},"content":{"20":{"position":[[757,9],[812,9]]}},"keywords":{}}],["powershel",{"_index":85,"title":{},"content":{"8":{"position":[[249,11]]}},"keywords":{}}],["practic",{"_index":298,"title":{},"content":{"22":{"position":[[12,9]]}},"keywords":{}}],["precis",{"_index":1033,"title":{},"content":{"99":{"position":[[436,10]]}},"keywords":{}}],["predefin",{"_index":695,"title":{},"content":{"57":{"position":[[1946,10]]}},"keywords":{}}],["presenc",{"_index":1030,"title":{},"content":{"99":{"position":[[285,8]]}},"keywords":{}}],["present",{"_index":864,"title":{},"content":{"73":{"position":[[156,12]]},"82":{"position":[[1312,7]]}},"keywords":{}}],["primarili",{"_index":842,"title":{},"content":{"70":{"position":[[289,9]]}},"keywords":{}}],["primer",{"_index":896,"title":{"82":{"position":[[12,7]]}},"content":{},"keywords":{}}],["primit",{"_index":625,"title":{"90":{"position":[[0,9]]}},"content":{"57":{"position":[[140,9]]},"73":{"position":[[799,9]]},"82":{"position":[[1446,9]]}},"keywords":{}}],["principl",{"_index":627,"title":{},"content":{"57":{"position":[[191,10]]}},"keywords":{}}],["prior",{"_index":1058,"title":{},"content":{"102":{"position":[[231,5]]}},"keywords":{}}],["process",{"_index":194,"title":{"35":{"position":[[0,7]]},"56":{"position":[[0,7]]},"75":{"position":[[0,7]]},"84":{"position":[[0,7]]}},"content":{"19":{"position":[[141,7],[770,7]]},"20":{"position":[[333,9]]},"23":{"position":[[278,10]]},"36":{"position":[[14,7]]},"54":{"position":[[1208,10]]},"55":{"position":[[555,7],[2518,8]]},"56":{"position":[[110,8],[309,10],[775,7],[1011,7],[1616,7]]},"76":{"position":[[71,8]]},"85":{"position":[[90,8]]}},"keywords":{}}],["product",{"_index":115,"title":{},"content":{"11":{"position":[[21,11]]},"12":{"position":[[11,10]]}},"keywords":{}}],["program",{"_index":693,"title":{},"content":{"57":{"position":[[1913,11]]}},"keywords":{}}],["progress",{"_index":261,"title":{},"content":{"20":{"position":[[559,8]]}},"keywords":{}}],["project",{"_index":76,"title":{"108":{"position":[[0,7]]}},"content":{"8":{"position":[[118,7]]},"32":{"position":[[31,8]]},"55":{"position":[[326,8],[372,8],[736,8],[2014,7]]},"110":{"position":[[120,7],[214,8],[279,8],[340,8]]}},"keywords":{}}],["project_descript",{"_index":1091,"title":{},"content":{"110":{"position":[[223,19]]}},"keywords":{}}],["project_nam",{"_index":1089,"title":{},"content":{"110":{"position":[[171,12]]}},"keywords":{}}],["prompt",{"_index":84,"title":{},"content":{"8":{"position":[[241,7]]}},"keywords":{}}],["properti",{"_index":905,"title":{},"content":{"82":{"position":[[487,8],[843,10],[1288,10],[1475,9]]},"91":{"position":[[236,10]]},"99":{"position":[[502,10]]},"100":{"position":[[356,11]]}},"keywords":{}}],["propon",{"_index":263,"title":{},"content":{"20":{"position":[[580,11]]},"54":{"position":[[855,9]]}},"keywords":{}}],["protocol",{"_index":696,"title":{},"content":{"57":{"position":[[1957,8]]}},"keywords":{}}],["provid",{"_index":231,"title":{},"content":{"19":{"position":[[717,9]]},"20":{"position":[[540,7]]},"23":{"position":[[105,7]]},"53":{"position":[[89,7]]},"54":{"position":[[728,9],[1050,7]]},"56":{"position":[[846,8]]},"57":{"position":[[343,7]]},"82":{"position":[[1114,7]]},"97":{"position":[[40,7]]},"101":{"position":[[231,7]]}},"keywords":{}}],["provinc",{"_index":477,"title":{},"content":{"54":{"position":[[698,9]]},"55":{"position":[[949,8],[1896,8]]}},"keywords":{}}],["provinci",{"_index":484,"title":{},"content":{"54":{"position":[[911,10]]},"73":{"position":[[278,10]]}},"keywords":{}}],["publish",{"_index":243,"title":{},"content":{"20":{"position":[[44,9]]}},"keywords":{}}],["purpos",{"_index":178,"title":{"19":{"position":[[0,8]]}},"content":{"19":{"position":[[625,7]]}},"keywords":{}}],["qualiti",{"_index":206,"title":{},"content":{"19":{"position":[[287,7]]},"20":{"position":[[90,7]]}},"keywords":{}}],["qualitydata",{"_index":326,"title":{},"content":{"23":{"position":[[230,11]]}},"keywords":{}}],["quantifi",{"_index":569,"title":{},"content":{"55":{"position":[[2279,12]]}},"keywords":{}}],["queue",{"_index":574,"title":{},"content":{"55":{"position":[[2355,6]]}},"keywords":{}}],["quick",{"_index":758,"title":{},"content":{"64":{"position":[[99,5]]},"82":{"position":[[1124,5]]}},"keywords":{}}],["quot;2017",{"_index":435,"title":{},"content":{"48":{"position":[[32,10],[87,10],[148,10]]},"87":{"position":[[53,10],[108,10],[169,10]]}},"keywords":{}}],["quot;approved"",{"_index":608,"title":{},"content":{"56":{"position":[[1061,22]]}},"keywords":{}}],["quot;ca"",{"_index":644,"title":{},"content":{"57":{"position":[[713,14]]}},"keywords":{}}],["quot;class"",{"_index":882,"title":{},"content":{"78":{"position":[[11,18]]},"87":{"position":[[234,18]]}},"keywords":{}}],["quot;description"",{"_index":884,"title":{},"content":{"78":{"position":[[50,24]]},"87":{"position":[[273,24]]}},"keywords":{}}],["quot;docsversiondropdown"",{"_index":391,"title":{},"content":{"33":{"position":[[185,32]]}},"keywords":{}}],["quot;end"",{"_index":438,"title":{},"content":{"48":{"position":[[70,16]]},"87":{"position":[[91,16]]}},"keywords":{}}],["quot;event"",{"_index":939,"title":{},"content":{"87":{"position":[[11,18]]}},"keywords":{}}],["quot;http://bcgov.github.io/nr",{"_index":893,"title":{},"content":{"78":{"position":[[274,31]]},"87":{"position":[[497,31]]}},"keywords":{}}],["quot;parent_class"",{"_index":888,"title":{},"content":{"78":{"position":[[156,25]]},"87":{"position":[[379,25]]}},"keywords":{}}],["quot;parent_concept"",{"_index":890,"title":{},"content":{"78":{"position":[[201,27]]},"87":{"position":[[424,27]]}},"keywords":{}}],["quot;pend",{"_index":616,"title":{},"content":{"56":{"position":[[1350,13]]},"78":{"position":[[367,13]]},"87":{"position":[[590,13]]}},"keywords":{}}],["quot;process"",{"_index":940,"title":{},"content":{"87":{"position":[[211,20]]}},"keywords":{}}],["quot;property"",{"_index":1041,"title":{},"content":{"100":{"position":[[143,21]]}},"keywords":{}}],["quot;publisher."",{"_index":674,"title":{},"content":{"57":{"position":[[1394,22]]}},"keywords":{}}],["quot;seri",{"_index":682,"title":{},"content":{"57":{"position":[[1619,19]]}},"keywords":{}}],["quot;stage"",{"_index":889,"title":{},"content":{"78":{"position":[[182,18]]},"87":{"position":[[405,18]]}},"keywords":{}}],["quot;start"",{"_index":434,"title":{},"content":{"48":{"position":[[13,18],[129,18]]},"87":{"position":[[34,18],[150,18]]}},"keywords":{}}],["quot;status"",{"_index":883,"title":{},"content":{"78":{"position":[[30,19]]},"87":{"position":[[253,19]]}},"keywords":{}}],["quot;submiss",{"_index":564,"title":{},"content":{"55":{"position":[[2186,17]]}},"keywords":{}}],["quot;submitted"",{"_index":607,"title":{},"content":{"56":{"position":[[1038,22]]}},"keywords":{}}],["quot;system"",{"_index":892,"title":{},"content":{"78":{"position":[[254,19]]},"87":{"position":[[477,19]]}},"keywords":{}}],["quot;th",{"_index":885,"title":{},"content":{"78":{"position":[[75,9]]},"87":{"position":[[298,9]]}},"keywords":{}}],["quot;und",{"_index":618,"title":{},"content":{"56":{"position":[[1378,11]]}},"keywords":{}}],["quot;underreview"",{"_index":891,"title":{},"content":{"78":{"position":[[229,24]]},"87":{"position":[[452,24]]}},"keywords":{}}],["quot;value"",{"_index":895,"title":{},"content":{"78":{"position":[[348,18]]},"87":{"position":[[571,18]]}},"keywords":{}}],["quot;what",{"_index":621,"title":{},"content":{"56":{"position":[[1491,10]]}},"keywords":{}}],["quot;wher",{"_index":609,"title":{},"content":{"56":{"position":[[1148,11]]}},"keywords":{}}],["quot;why"",{"_index":590,"title":{},"content":{"56":{"position":[[393,15]]}},"keywords":{}}],["radio",{"_index":655,"title":{},"content":{"57":{"position":[[856,5]]}},"keywords":{}}],["rang",{"_index":759,"title":{},"content":{"64":{"position":[[179,5]]}},"keywords":{}}],["react",{"_index":26,"title":{"3":{"position":[[18,5]]},"67":{"position":[[8,5]]}},"content":{"3":{"position":[[31,5],[60,5],[81,5],[92,8],[214,5],[255,5],[355,5]]},"67":{"position":[[71,5]]}},"keywords":{}}],["read",{"_index":3,"title":{},"content":{"1":{"position":[[1,4]]},"12":{"position":[[201,5]]},"57":{"position":[[1970,7]]}},"keywords":{}}],["readabl",{"_index":662,"title":{},"content":{"57":{"position":[[1060,8]]}},"keywords":{}}],["reader",{"_index":915,"title":{},"content":{"82":{"position":[[781,7]]}},"keywords":{}}],["readi",{"_index":105,"title":{},"content":{"9":{"position":[[319,5]]}},"keywords":{}}],["reason",{"_index":203,"title":{},"content":{"19":{"position":[[264,7]]}},"keywords":{}}],["receiv",{"_index":485,"title":{},"content":{"54":{"position":[[976,8]]}},"keywords":{}}],["recommend",{"_index":65,"title":{},"content":{"7":{"position":[[65,11]]},"59":{"position":[[264,9]]},"99":{"position":[[326,9]]}},"keywords":{}}],["record",{"_index":843,"title":{},"content":{"70":{"position":[[299,8],[344,8]]}},"keywords":{}}],["reduc",{"_index":258,"title":{},"content":{"20":{"position":[[452,6]]}},"keywords":{}}],["refer",{"_index":399,"title":{"44":{"position":[[0,11]]},"50":{"position":[[0,11]]},"74":{"position":[[0,11]]},"80":{"position":[[0,11]]},"83":{"position":[[0,11]]},"89":{"position":[[0,11]]},"104":{"position":[[0,11]]},"113":{"position":[[0,11]]}},"content":{"36":{"position":[[1,5]]},"57":{"position":[[370,9]]},"61":{"position":[[71,9],[194,9]]},"69":{"position":[[288,6]]},"70":{"position":[[1061,6]]},"91":{"position":[[447,5]]},"92":{"position":[[378,9]]},"93":{"position":[[192,9]]},"94":{"position":[[210,9]]},"95":{"position":[[184,9]]},"99":{"position":[[589,9]]},"101":{"position":[[451,9]]},"102":{"position":[[250,9]]},"103":{"position":[[159,9]]}},"keywords":{}}],["referr",{"_index":482,"title":{},"content":{"54":{"position":[[893,8]]},"55":{"position":[[229,8]]}},"keywords":{}}],["refin",{"_index":508,"title":{},"content":{"55":{"position":[[489,8]]}},"keywords":{}}],["reform",{"_index":201,"title":{},"content":{"19":{"position":[[235,6]]}},"keywords":{}}],["regard",{"_index":538,"title":{},"content":{"55":{"position":[[1379,9]]}},"keywords":{}}],["regex",{"_index":1019,"title":{},"content":{"98":{"position":[[33,5]]}},"keywords":{}}],["region",{"_index":475,"title":{},"content":{"54":{"position":[[669,8]]}},"keywords":{}}],["regist",{"_index":821,"title":{},"content":{"69":{"position":[[29,8],[133,8],[251,10]]},"70":{"position":[[328,9],[806,8],[906,8],[1024,10]]}},"keywords":{}}],["registrar",{"_index":827,"title":{},"content":{"69":{"position":[[170,9]]},"70":{"position":[[943,9]]}},"keywords":{}}],["registri",{"_index":834,"title":{},"content":{"69":{"position":[[400,8]]},"70":{"position":[[376,9],[1189,8]]}},"keywords":{}}],["regular",{"_index":722,"title":{"98":{"position":[[0,7]]}},"content":{"60":{"position":[[1,7]]},"61":{"position":[[1,7]]},"91":{"position":[[283,7]]},"96":{"position":[[369,7],[490,7]]},"98":{"position":[[1,7]]}},"keywords":{}}],["rel",{"_index":724,"title":{},"content":{"60":{"position":[[58,8]]},"61":{"position":[[211,8]]}},"keywords":{}}],["relat",{"_index":68,"title":{},"content":{"7":{"position":[[101,7]]},"55":{"position":[[2408,10]]},"56":{"position":[[650,7],[1643,6]]},"82":{"position":[[309,7]]},"109":{"position":[[55,7],[80,7]]},"110":{"position":[[107,7]]}},"keywords":{}}],["relationship",{"_index":514,"title":{},"content":{"55":{"position":[[586,12]]},"57":{"position":[[1481,13]]},"82":{"position":[[287,13]]},"100":{"position":[[386,13]]}},"keywords":{}}],["releas",{"_index":380,"title":{},"content":{"32":{"position":[[1,7]]}},"keywords":{}}],["reli",{"_index":918,"title":{},"content":{"82":{"position":[[888,6]]}},"keywords":{}}],["reliabl",{"_index":1027,"title":{},"content":{"99":{"position":[[199,8]]}},"keywords":{}}],["reload",{"_index":112,"title":{},"content":{"9":{"position":[[430,7]]}},"keywords":{}}],["remain",{"_index":1007,"title":{},"content":{"96":{"position":[[628,6]]}},"keywords":{}}],["rephras",{"_index":553,"title":{},"content":{"55":{"position":[[1744,9]]}},"keywords":{}}],["report",{"_index":200,"title":{},"content":{"19":{"position":[[210,9]]},"23":{"position":[[95,9],[460,9]]}},"keywords":{}}],["reportingact",{"_index":330,"title":{},"content":{"23":{"position":[[332,17]]}},"keywords":{}}],["repres",{"_index":293,"title":{},"content":{"21":{"position":[[227,11]]},"46":{"position":[[31,9]]},"55":{"position":[[70,12],[1501,11]]},"56":{"position":[[70,12],[149,10],[478,9]]},"76":{"position":[[31,9]]},"85":{"position":[[31,9]]},"91":{"position":[[21,9],[89,11],[379,10]]},"92":{"position":[[35,11],[180,11]]},"93":{"position":[[44,11]]},"94":{"position":[[41,11]]},"99":{"position":[[43,11]]},"101":{"position":[[20,9]]},"102":{"position":[[22,9]]},"103":{"position":[[17,9]]},"109":{"position":[[31,9]]}},"keywords":{}}],["represent",{"_index":546,"title":{},"content":{"55":{"position":[[1583,14]]},"92":{"position":[[332,15]]}},"keywords":{}}],["request",{"_index":886,"title":{},"content":{"78":{"position":[[99,7]]},"87":{"position":[[322,7]]}},"keywords":{}}],["requir",{"_index":220,"title":{},"content":{"19":{"position":[[484,8]]},"20":{"position":[[177,9]]},"55":{"position":[[262,7],[441,8],[2204,7]]},"96":{"position":[[831,7]]},"99":{"position":[[414,7]]},"100":{"position":[[193,13],[331,8]]}},"keywords":{}}],["residentiald",{"_index":1065,"title":{},"content":{"105":{"position":[[47,15]]}},"keywords":{}}],["resolv",{"_index":1017,"title":{},"content":{"97":{"position":[[169,9]]}},"keywords":{}}],["resourc",{"_index":184,"title":{"96":{"position":[[0,8]]}},"content":{"19":{"position":[[47,8],[553,8]]},"96":{"position":[[11,8]]},"97":{"position":[[74,8]]}},"keywords":{}}],["respect",{"_index":394,"title":{},"content":{"34":{"position":[[48,10]]},"54":{"position":[[335,10]]},"55":{"position":[[1462,7]]}},"keywords":{}}],["rest",{"_index":702,"title":{},"content":{"57":{"position":[[2116,4]]}},"keywords":{}}],["result",{"_index":728,"title":{},"content":{"60":{"position":[[188,7]]}},"keywords":{}}],["return",{"_index":38,"title":{},"content":{"3":{"position":[[177,6]]},"62":{"position":[[151,6],[270,6]]}},"keywords":{}}],["review",{"_index":544,"title":{},"content":{"55":{"position":[[1559,6]]},"78":{"position":[[116,6]]},"87":{"position":[[339,6]]},"96":{"position":[[847,6]]}},"keywords":{}}],["review"",{"_index":617,"title":{},"content":{"56":{"position":[[1364,13]]},"78":{"position":[[381,12]]},"87":{"position":[[604,12]]}},"keywords":{}}],["rfc",{"_index":945,"title":{},"content":{"91":{"position":[[134,3]]},"95":{"position":[[161,3]]},"96":{"position":[[700,3],[723,3]]}},"keywords":{}}],["right",{"_index":527,"title":{},"content":{"55":{"position":[[1048,5],[1090,6]]}},"keywords":{}}],["road",{"_index":857,"title":{},"content":{"70":{"position":[[749,5]]}},"keywords":{}}],["role",{"_index":452,"title":{},"content":{"54":{"position":[[36,5],[453,4]]}},"keywords":{}}],["round",{"_index":578,"title":{},"content":{"55":{"position":[[2452,7]]}},"keywords":{}}],["rule",{"_index":288,"title":{},"content":{"21":{"position":[[102,5]]}},"keywords":{}}],["run",{"_index":77,"title":{},"content":{"8":{"position":[[136,3],[391,3]]},"9":{"position":[[1,3],[48,3],[229,3]]},"11":{"position":[[38,3]]},"12":{"position":[[42,3]]},"28":{"position":[[44,3]]},"30":{"position":[[45,3],[132,3]]},"32":{"position":[[45,3]]}},"keywords":{}}],["same",{"_index":277,"title":{"21":{"position":[[24,4]]}},"content":{"21":{"position":[[182,4]]},"70":{"position":[[541,4]]}},"keywords":{}}],["scalabl",{"_index":344,"title":{},"content":{"23":{"position":[[840,8]]}},"keywords":{}}],["scenario",{"_index":942,"title":{},"content":{"91":{"position":[[61,10]]},"99":{"position":[[392,9]]}},"keywords":{}}],["schema",{"_index":348,"title":{"24":{"position":[[0,8]]},"82":{"position":[[5,6]]}},"content":{"57":{"position":[[1417,6],[1426,6],[1465,6],[1536,7],[1590,7]]},"82":{"position":[[8,6],[214,6],[344,6],[401,7],[452,6],[583,7],[735,7],[1009,7],[1094,7]]},"83":{"position":[[29,6]]},"91":{"position":[[465,6]]},"92":{"position":[[396,6],[560,6]]},"93":{"position":[[210,6]]},"94":{"position":[[228,6]]},"95":{"position":[[202,6]]},"96":{"position":[[141,6],[274,6]]},"97":{"position":[[226,6]]},"98":{"position":[[93,6]]},"99":{"position":[[607,6]]},"100":{"position":[[423,7],[523,6]]},"101":{"position":[[469,6]]},"102":{"position":[[171,7],[268,6]]},"103":{"position":[[177,6]]},"106":{"position":[[14,6]]},"107":{"position":[[6,6]]}},"keywords":{}}],["schema.org/draft",{"_index":908,"title":{},"content":{"82":{"position":[[526,16]]}},"keywords":{}}],["schemasourc",{"_index":418,"title":{},"content":{"42":{"position":[[1,12]]}},"keywords":{}}],["schemasourceexampl",{"_index":860,"title":{},"content":{"71":{"position":[[1,19]]},"111":{"position":[[1,19]]}},"keywords":{}}],["scheme",{"_index":636,"title":{},"content":{"57":{"position":[[447,7],[691,8]]}},"keywords":{}}],["scope",{"_index":422,"title":{"46":{"position":[[0,6]]},"69":{"position":[[0,6]]},"76":{"position":[[0,6]]},"85":{"position":[[0,6]]},"109":{"position":[[0,6]]}},"content":{"56":{"position":[[300,5]]}},"keywords":{}}],["sdm",{"_index":461,"title":{},"content":{"54":{"position":[[278,5]]}},"keywords":{}}],["seamlessli",{"_index":374,"title":{},"content":{"29":{"position":[[13,10]]},"33":{"position":[[13,10]]}},"keywords":{}}],["search",{"_index":16,"title":{},"content":{"1":{"position":[[168,6]]}},"keywords":{}}],["section",{"_index":450,"title":{},"content":{"54":{"position":[[6,7]]},"55":{"position":[[6,7]]},"56":{"position":[[6,7]]},"64":{"position":[[274,7]]},"92":{"position":[[59,7]]},"93":{"position":[[68,7]]},"94":{"position":[[65,7],[193,7]]},"95":{"position":[[110,7],[171,7]]}},"keywords":{}}],["sector",{"_index":185,"title":{},"content":{"19":{"position":[[56,6]]},"20":{"position":[[354,7]]},"23":{"position":[[16,6],[319,6]]}},"keywords":{}}],["see",{"_index":284,"title":{},"content":{"21":{"position":[[76,3]]},"60":{"position":[[86,3],[138,3],[202,3]]},"73":{"position":[[300,4]]}},"keywords":{}}],["seek",{"_index":457,"title":{},"content":{"54":{"position":[[179,7]]}},"keywords":{}}],["semant",{"_index":657,"title":{},"content":{"57":{"position":[[943,8]]}},"keywords":{}}],["separ",{"_index":341,"title":{},"content":{"23":{"position":[[753,10]]}},"keywords":{}}],["sequenc",{"_index":582,"title":{},"content":{"56":{"position":[[181,10]]}},"keywords":{}}],["sequenti",{"_index":600,"title":{},"content":{"56":{"position":[[739,10]]}},"keywords":{}}],["serv",{"_index":103,"title":{},"content":{"9":{"position":[[279,6]]},"12":{"position":[[46,5],[78,6]]},"57":{"position":[[595,5]]},"82":{"position":[[105,6]]}},"keywords":{}}],["server",{"_index":92,"title":{},"content":{"9":{"position":[[21,7],[311,7]]}},"keywords":{}}],["servic",{"_index":867,"title":{},"content":{"73":{"position":[[231,7]]}},"keywords":{}}],["set",{"_index":216,"title":{"38":{"position":[[5,5]]}},"content":{"19":{"position":[[436,3]]},"21":{"position":[[1,3]]},"46":{"position":[[96,3]]},"54":{"position":[[217,3]]},"55":{"position":[[426,3],[762,3],[2034,3]]},"56":{"position":[[498,3],[692,3]]},"82":{"position":[[1179,3],[1281,3]]}},"keywords":{}}],["shall",{"_index":597,"title":{},"content":{"56":{"position":[[576,5],[808,5],[1092,5],[1430,5]]},"70":{"position":[[27,5]]},"91":{"position":[[80,5]]},"92":{"position":[[26,5],[149,5],[348,5]]},"93":{"position":[[35,5]]},"94":{"position":[[32,5]]},"95":{"position":[[83,5],[143,5]]},"96":{"position":[[313,5],[459,5]]},"100":{"position":[[69,5]]}},"keywords":{}}],["share",{"_index":296,"title":{},"content":{"22":{"position":[[1,5]]},"23":{"position":[[638,5]]}},"keywords":{}}],["shift",{"_index":234,"title":{},"content":{"19":{"position":[[747,7],[830,6]]}},"keywords":{}}],["short",{"_index":1090,"title":{},"content":{"110":{"position":[[196,5]]}},"keywords":{}}],["shorthand",{"_index":632,"title":{},"content":{"57":{"position":[[353,9]]}},"keywords":{}}],["show",{"_index":928,"title":{},"content":{"82":{"position":[[1218,4]]}},"keywords":{}}],["showcaseget",{"_index":20,"title":{},"content":{"1":{"position":[[214,11]]}},"keywords":{}}],["sidebar",{"_index":163,"title":{"17":{"position":[[14,8]]}},"content":{"17":{"position":[[36,7],[97,7],[276,7]]},"64":{"position":[[289,8]]}},"keywords":{}}],["sidebar_label",{"_index":168,"title":{},"content":{"17":{"position":[[144,14]]}},"keywords":{}}],["sidebar_posit",{"_index":170,"title":{},"content":{"17":{"position":[[165,17]]}},"keywords":{}}],["sidebars.j",{"_index":174,"title":{},"content":{"17":{"position":[[298,12],[312,11]]}},"keywords":{}}],["similar",{"_index":466,"title":{},"content":{"54":{"position":[[407,7]]}},"keywords":{}}],["singl",{"_index":314,"title":{},"content":{"23":{"position":[[69,6]]},"55":{"position":[[2129,6]]},"103":{"position":[[57,6]]}},"keywords":{}}],["singular",{"_index":499,"title":{},"content":{"55":{"position":[[154,8]]}},"keywords":{}}],["site",{"_index":6,"title":{"8":{"position":[[15,5]]},"9":{"position":[[11,5]]},"10":{"position":[[12,4]]},"11":{"position":[[11,5]]},"12":{"position":[[12,5]]},"25":{"position":[[15,4]]},"28":{"position":[[21,5]]},"30":{"position":[[21,5]]}},"content":{"1":{"position":[[44,4]]},"6":{"position":[[31,5]]},"8":{"position":[[27,4]]},"9":{"position":[[170,5],[425,4]]},"11":{"position":[[12,4]]},"28":{"position":[[12,4],[86,4]]},"30":{"position":[[12,4],[86,4]]}},"keywords":{}}],["skip",{"_index":920,"title":{},"content":{"82":{"position":[[934,7]]}},"keywords":{}}],["slug",{"_index":132,"title":{},"content":{"14":{"position":[[82,5]]},"59":{"position":[[157,5]]}},"keywords":{}}],["small",{"_index":123,"title":{},"content":{"12":{"position":[[190,5]]}},"keywords":{}}],["sme",{"_index":493,"title":{},"content":{"54":{"position":[[1142,5]]}},"keywords":{}}],["smoothli",{"_index":268,"title":{},"content":{"20":{"position":[[658,8]]}},"keywords":{}}],["softwar",{"_index":497,"title":{},"content":{"54":{"position":[[1219,9]]}},"keywords":{}}],["sole",{"_index":1029,"title":{},"content":{"99":{"position":[[265,6]]}},"keywords":{}}],["solut",{"_index":306,"title":{},"content":{"22":{"position":[[155,9]]}},"keywords":{}}],["space",{"_index":181,"title":{},"content":{"19":{"position":[[25,6]]},"70":{"position":[[742,6]]}},"keywords":{}}],["spec",{"_index":772,"title":{},"content":{"66":{"position":[[40,5]]}},"keywords":{}}],["special",{"_index":746,"title":{},"content":{"63":{"position":[[18,7]]}},"keywords":{}}],["specialist",{"_index":494,"title":{},"content":{"54":{"position":[[1153,10]]}},"keywords":{}}],["specif",{"_index":244,"title":{"42":{"position":[[0,14]]},"48":{"position":[[0,14]]},"71":{"position":[[0,14]]},"78":{"position":[[0,14]]},"87":{"position":[[0,14]]},"111":{"position":[[0,14]]}},"content":{"20":{"position":[[54,13]]},"30":{"position":[[23,8]]},"38":{"position":[[45,8]]},"53":{"position":[[64,13]]},"54":{"position":[[1169,8]]},"55":{"position":[[83,8],[145,8],[908,8],[1836,8],[2496,8]]},"56":{"position":[[83,8],[535,8],[607,8]]},"57":{"position":[[64,13],[91,8],[400,8]]},"82":{"position":[[176,8],[767,13]]},"92":{"position":[[426,8]]},"99":{"position":[[637,8]]},"100":{"position":[[462,8]]},"101":{"position":[[499,8]]},"109":{"position":[[93,8]]}},"keywords":{}}],["specifi",{"_index":214,"title":{},"content":{"19":{"position":[[409,9]]},"59":{"position":[[378,10]]},"91":{"position":[[121,9]]},"92":{"position":[[128,10],[252,10]]},"96":{"position":[[525,10]]},"97":{"position":[[57,7]]}},"keywords":{}}],["spot",{"_index":324,"title":{},"content":{"23":{"position":[[190,4]]}},"keywords":{}}],["spreadsheet",{"_index":667,"title":{},"content":{"57":{"position":[[1185,11]]}},"keywords":{}}],["sql",{"_index":677,"title":{},"content":{"57":{"position":[[1567,4],[2094,3]]}},"keywords":{}}],["src/components/hellodocusaurus.j",{"_index":744,"title":{},"content":{"62":{"position":[[207,33]]}},"keywords":{}}],["src/pages/mi",{"_index":28,"title":{},"content":{"3":{"position":[[18,12],[47,12]]},"4":{"position":[[18,12],[50,12]]}},"keywords":{}}],["stabl",{"_index":343,"title":{},"content":{"23":{"position":[[818,7]]}},"keywords":{}}],["stage",{"_index":595,"title":{},"content":{"56":{"position":[[505,6],[658,7],[666,5],[723,5],[802,5],[1115,5]]}},"keywords":{}}],["standard",{"_index":213,"title":{"105":{"position":[[11,10]]},"106":{"position":[[10,10]]}},"content":{"19":{"position":[[400,8]]},"20":{"position":[[204,8]]},"23":{"position":[[778,10],[941,10]]},"57":{"position":[[626,9],[908,12],[1786,12]]},"73":{"position":[[777,8]]},"92":{"position":[[567,9]]},"96":{"position":[[281,9]]},"105":{"position":[[14,10],[104,9]]}},"keywords":{}}],["standardb.c",{"_index":1066,"title":{},"content":{"105":{"position":[[72,12]]}},"keywords":{}}],["standards.identifi",{"_index":300,"title":{},"content":{"22":{"position":[[54,18]]}},"keywords":{}}],["start",{"_index":54,"title":{"6":{"position":[[8,8]]},"9":{"position":[[0,5]]},"18":{"position":[[8,7]]},"28":{"position":[[0,5]]}},"content":{"6":{"position":[[5,7]]},"9":{"position":[[52,5],[233,5]]},"28":{"position":[[1,5],[48,5],[150,7]]}},"keywords":{}}],["state",{"_index":542,"title":{"65":{"position":[[0,5]]}},"content":{"55":{"position":[[1518,6]]},"56":{"position":[[713,7],[759,6],[883,6],[913,5],[1086,5],[1314,5],[1464,5]]}},"keywords":{}}],["static",{"_index":116,"title":{},"content":{"11":{"position":[[54,6]]},"61":{"position":[[95,6]]}},"keywords":{}}],["static/img/docusaurus.png",{"_index":731,"title":{},"content":{"61":{"position":[[112,28]]}},"keywords":{}}],["station",{"_index":656,"title":{},"content":{"57":{"position":[[862,9]]}},"keywords":{}}],["statu",{"_index":611,"title":{},"content":{"56":{"position":[[1185,6]]}},"keywords":{}}],["status",{"_index":620,"title":{},"content":{"56":{"position":[[1421,8]]}},"keywords":{}}],["statutori",{"_index":460,"title":{},"content":{"54":{"position":[[253,9]]},"55":{"position":[[1080,9],[1354,9]]}},"keywords":{}}],["store",{"_index":195,"title":{},"content":{"19":{"position":[[153,5]]},"57":{"position":[[1711,7]]},"73":{"position":[[16,6],[146,5]]},"92":{"position":[[169,6]]}},"keywords":{}}],["strata",{"_index":855,"title":{},"content":{"70":{"position":[[730,7]]}},"keywords":{}}],["strategi",{"_index":339,"title":{},"content":{"23":{"position":[[711,8],[793,8]]}},"keywords":{}}],["string",{"_index":417,"title":{"91":{"position":[[0,7]]}},"content":{"41":{"position":[[7,6]]},"47":{"position":[[61,6]]},"57":{"position":[[301,7]]},"70":{"position":[[234,6],[530,6]]},"73":{"position":[[493,8]]},"77":{"position":[[61,6]]},"86":{"position":[[61,6]]},"91":{"position":[[1,7],[72,7],[195,7],[368,6]]},"96":{"position":[[305,7]]},"100":{"position":[[87,7]]},"110":{"position":[[189,6],[248,6]]}},"keywords":{}}],["strip",{"_index":921,"title":{},"content":{"82":{"position":[[950,8]]}},"keywords":{}}],["structur",{"_index":416,"title":{"41":{"position":[[0,10]]},"47":{"position":[[0,10]]},"57":{"position":[[0,10]]},"70":{"position":[[0,10]]},"77":{"position":[[0,10]]},"86":{"position":[[0,10]]},"110":{"position":[[0,10]]}},"content":{"57":{"position":[[34,10]]},"82":{"position":[[68,10],[146,10],[253,11],[858,11]]},"100":{"position":[[221,12]]}},"keywords":{}}],["style",{"_index":800,"title":{},"content":{"67":{"position":[[168,8]]}},"keywords":{}}],["subgraph",{"_index":785,"title":{},"content":{"66":{"position":[[217,8],[249,8]]}},"keywords":{}}],["subject",{"_index":490,"title":{},"content":{"54":{"position":[[1096,7],[1120,7]]},"78":{"position":[[126,7]]},"87":{"position":[[349,7]]}},"keywords":{}}],["submiss",{"_index":471,"title":{},"content":{"54":{"position":[[533,12]]},"55":{"position":[[1731,12],[2092,10]]}},"keywords":{}}],["submit",{"_index":515,"title":{},"content":{"55":{"position":[[613,9]]}},"keywords":{}}],["substitut",{"_index":1015,"title":{},"content":{"97":{"position":[[132,11]]}},"keywords":{}}],["such",{"_index":496,"title":{},"content":{"54":{"position":[[1186,4]]},"55":{"position":[[1855,4]]},"91":{"position":[[247,4]]},"92":{"position":[[263,4]]},"99":{"position":[[317,5],[513,4]]},"101":{"position":[[110,5],[325,4]]}},"keywords":{}}],["support",{"_index":354,"title":{},"content":{"26":{"position":[[36,7]]},"54":{"position":[[496,7]]},"59":{"position":[[481,9]]},"60":{"position":[[28,10]]},"61":{"position":[[29,10]]},"62":{"position":[[26,9]]},"64":{"position":[[25,8],[195,10]]},"92":{"position":[[491,9]]},"96":{"position":[[205,9],[785,11]]}},"keywords":{}}],["sure",{"_index":509,"title":{},"content":{"55":{"position":[[502,4]]}},"keywords":{}}],["surveyor",{"_index":552,"title":{},"content":{"55":{"position":[[1722,8]]}},"keywords":{}}],["synonym",{"_index":481,"title":{},"content":{"54":{"position":[[828,7],[867,7]]}},"keywords":{}}],["syntax",{"_index":684,"title":{},"content":{"57":{"position":[[1659,7]]},"62":{"position":[[41,6]]},"63":{"position":[[26,6]]},"64":{"position":[[267,6]]}},"keywords":{}}],["system",{"_index":208,"title":{},"content":{"19":{"position":[[343,7]]},"20":{"position":[[102,6],[257,7],[443,8],[482,7],[638,7],[711,7]]},"23":{"position":[[510,7],[571,7],[919,7]]},"57":{"position":[[829,6]]},"110":{"position":[[162,8]]}},"keywords":{}}],["sébastien",{"_index":146,"title":{},"content":{"14":{"position":[[267,9]]}},"keywords":{}}],["tabular",{"_index":668,"title":{},"content":{"57":{"position":[[1200,7]]}},"keywords":{}}],["tag",{"_index":151,"title":{},"content":{"14":{"position":[[388,5]]},"59":{"position":[[178,5],[346,4]]}},"keywords":{}}],["take",{"_index":428,"title":{},"content":{"46":{"position":[[124,6]]},"55":{"position":[[984,4]]},"63":{"position":[[213,4]]},"76":{"position":[[89,6]]},"85":{"position":[[108,6]]}},"keywords":{}}],["taken",{"_index":541,"title":{},"content":{"55":{"position":[[1451,5]]}},"keywords":{}}],["talk",{"_index":338,"title":{},"content":{"23":{"position":[[648,4]]}},"keywords":{}}],["tantali",{"_index":846,"title":{},"content":{"70":{"position":[[425,8]]}},"keywords":{}}],["tbd",{"_index":349,"title":{},"content":{"24":{"position":[[1,3]]},"38":{"position":[[117,4]]},"39":{"position":[[147,3]]},"43":{"position":[[1,3]]},"44":{"position":[[1,3]]},"47":{"position":[[68,3]]},"49":{"position":[[1,3]]},"50":{"position":[[1,3]]},"77":{"position":[[68,3]]},"79":{"position":[[1,3]]},"80":{"position":[[1,3]]},"86":{"position":[[68,3]]},"88":{"position":[[1,3]]},"89":{"position":[[1,3]]},"112":{"position":[[1,3]]},"113":{"position":[[1,3]]}},"keywords":{}}],["td",{"_index":762,"title":{},"content":{"65":{"position":[[18,2]]}},"keywords":{}}],["teams.creat",{"_index":286,"title":{},"content":{"21":{"position":[[83,12]]}},"keywords":{}}],["technic",{"_index":264,"title":{"106":{"position":[[0,9]]}},"content":{"20":{"position":[[599,9]]}},"keywords":{}}],["technolog",{"_index":340,"title":{},"content":{"23":{"position":[[724,10]]}},"keywords":{}}],["templat",{"_index":73,"title":{"97":{"position":[[4,9]]}},"content":{"8":{"position":[[50,9],[73,8]]},"97":{"position":[[5,9],[31,8]]}},"keywords":{}}],["template)rfc",{"_index":1084,"title":{},"content":{"106":{"position":[[265,12]]}},"keywords":{}}],["tempor",{"_index":424,"title":{},"content":{"46":{"position":[[63,8]]},"85":{"position":[[58,8]]}},"keywords":{}}],["tenur",{"_index":525,"title":{},"content":{"55":{"position":[[1033,7]]}},"keywords":{}}],["term",{"_index":442,"title":{},"content":{"52":{"position":[[1,4]]},"53":{"position":[[15,5]]},"54":{"position":[[122,4]]},"55":{"position":[[115,4],[1197,4],[1978,4]]},"56":{"position":[[120,4],[1624,5]]},"57":{"position":[[15,5],[113,4],[921,5],[1038,5],[1327,4]]}},"keywords":{}}],["termin",{"_index":86,"title":{},"content":{"8":{"position":[[261,9],[295,8]]},"9":{"position":[[204,8]]}},"keywords":{}}],["terminolog",{"_index":400,"title":{"51":{"position":[[0,11]]}},"content":{"36":{"position":[[31,11]]},"53":{"position":[[136,11]]}},"keywords":{}}],["terms.gath",{"_index":290,"title":{},"content":{"21":{"position":[[187,12]]}},"keywords":{}}],["test",{"_index":118,"title":{},"content":{"12":{"position":[[1,4]]}},"keywords":{}}],["text",{"_index":710,"title":{},"content":{"59":{"position":[[229,4]]},"82":{"position":[[676,4]]}},"keywords":{}}],["textual",{"_index":941,"title":{},"content":{"91":{"position":[[31,7]]}},"keywords":{}}],["theecma",{"_index":1020,"title":{},"content":{"98":{"position":[[58,7]]}},"keywords":{}}],["thejson",{"_index":967,"title":{},"content":{"92":{"position":[[388,7]]},"93":{"position":[[202,7]]},"94":{"position":[[220,7]]},"95":{"position":[[194,7]]},"96":{"position":[[133,7]]},"97":{"position":[[218,7]]},"98":{"position":[[85,7]]},"99":{"position":[[599,7]]},"100":{"position":[[515,7]]},"101":{"position":[[461,7]]},"102":{"position":[[260,7]]},"103":{"position":[[169,7]]}},"keywords":{}}],["theme/layout",{"_index":32,"title":{},"content":{"3":{"position":[[120,16]]}},"keywords":{}}],["themeconfig",{"_index":375,"title":{},"content":{"29":{"position":[[143,12]]},"33":{"position":[[143,12]]}},"keywords":{}}],["themeconfigadd",{"_index":12,"title":{},"content":{"1":{"position":[[121,14]]}},"keywords":{}}],["thing",{"_index":531,"title":{},"content":{"55":{"position":[[1211,7]]}},"keywords":{}}],["thought",{"_index":664,"title":{},"content":{"57":{"position":[[1146,7]]}},"keywords":{}}],["three",{"_index":876,"title":{},"content":{"73":{"position":[[606,5]]}},"keywords":{}}],["through",{"_index":104,"title":{},"content":{"9":{"position":[[289,7]]},"23":{"position":[[28,7]]},"56":{"position":[[252,8],[791,8]]},"64":{"position":[[59,7]]}},"keywords":{}}],["time",{"_index":246,"title":{"92":{"position":[[9,5]]}},"content":{"20":{"position":[[142,5]]},"28":{"position":[[236,5]]},"46":{"position":[[152,7]]},"55":{"position":[[1161,4]]},"76":{"position":[[117,7]]},"85":{"position":[[136,7]]},"92":{"position":[[13,4],[144,4],[244,4],[287,4],[300,4],[327,4],[372,5],[509,4]]},"96":{"position":[[223,4]]},"105":{"position":[[67,4]]}},"keywords":{}}],["time)rfc",{"_index":1076,"title":{},"content":{"106":{"position":[[100,8]]}},"keywords":{}}],["timenam",{"_index":1068,"title":{},"content":{"105":{"position":[[127,10]]}},"keywords":{}}],["timesdata",{"_index":328,"title":{},"content":{"23":{"position":[[289,9]]}},"keywords":{}}],["timestamp",{"_index":426,"title":{},"content":{"46":{"position":[[103,11]]}},"keywords":{}}],["tip",{"_index":749,"title":{},"content":{"63":{"position":[[80,4],[176,3]]}},"keywords":{}}],["tip[mi",{"_index":748,"title":{},"content":{"63":{"position":[[70,9]]}},"keywords":{}}],["titl",{"_index":134,"title":{},"content":{"14":{"position":[[98,6],[145,6],[284,6]]},"55":{"position":[[1109,6]]},"59":{"position":[[95,6],[114,5],[323,6]]},"69":{"position":[[23,5],[127,5],[223,5],[262,6],[278,5]]},"70":{"position":[[322,5],[800,5],[900,5],[996,5],[1035,6],[1051,5]]}},"keywords":{}}],["title="src/components/hellodocusaurus.js"",{"_index":740,"title":{},"content":{"62":{"position":[[70,51]]}},"keywords":{}}],["top",{"_index":705,"title":{},"content":{"59":{"position":[[41,3]]}},"keywords":{}}],["topic",{"_index":902,"title":{},"content":{"82":{"position":[[317,6]]}},"keywords":{}}],["torfc",{"_index":978,"title":{},"content":{"93":{"position":[[180,5]]},"94":{"position":[[181,5]]}},"keywords":{}}],["track",{"_index":262,"title":{"35":{"position":[[8,8]]},"56":{"position":[[8,9]]}},"content":{"20":{"position":[[568,8]]},"36":{"position":[[22,8]]},"110":{"position":[[89,5]]}},"keywords":{}}],["transfer",{"_index":415,"title":{},"content":{"39":{"position":[[132,8]]}},"keywords":{}}],["transform",{"_index":274,"title":{},"content":{"20":{"position":[[797,14]]},"22":{"position":[[171,15]]},"23":{"position":[[895,9]]},"73":{"position":[[758,11]]}},"keywords":{}}],["translat",{"_index":350,"title":{"25":{"position":[[0,9]]},"27":{"position":[[0,9]]}},"content":{"27":{"position":[[185,9]]},"28":{"position":[[166,11]]}},"keywords":{}}],["transmit",{"_index":687,"title":{},"content":{"57":{"position":[[1722,12]]}},"keywords":{}}],["tri",{"_index":55,"title":{},"content":{"6":{"position":[[41,3]]}},"keywords":{}}],["true",{"_index":1053,"title":{},"content":{"102":{"position":[[58,4],[126,4]]}},"keywords":{}}],["tutori",{"_index":51,"title":{"5":{"position":[[0,8]]}},"content":{"17":{"position":[[405,11]]}},"keywords":{}}],["tutorial_basics/cr",{"_index":177,"title":{},"content":{"17":{"position":[[424,24]]}},"keywords":{}}],["tutorialsidebar",{"_index":175,"title":{},"content":{"17":{"position":[[341,16]]}},"keywords":{}}],["two",{"_index":1052,"title":{},"content":{"102":{"position":[[37,3]]}},"keywords":{}}],["type",{"_index":83,"title":{"39":{"position":[[0,4]]},"90":{"position":[[10,5]]}},"content":{"8":{"position":[[210,4]]},"17":{"position":[[380,5]]},"19":{"position":[[100,5],[465,5]]},"29":{"position":[[179,5]]},"33":{"position":[[179,5]]},"39":{"position":[[46,4],[111,5],[141,5]]},"41":{"position":[[1,5]]},"46":{"position":[[11,4]]},"47":{"position":[[18,4]]},"55":{"position":[[1991,4]]},"57":{"position":[[133,4],[155,4],[220,4],[272,5],[1702,4],[1805,4],[2058,5]]},"70":{"position":[[177,4]]},"73":{"position":[[809,5]]},"76":{"position":[[11,4]]},"77":{"position":[[18,4]]},"82":{"position":[[185,4],[1441,4]]},"85":{"position":[[11,4]]},"86":{"position":[[18,4]]},"91":{"position":[[355,5],[535,6]]},"99":{"position":[[60,4],[378,4]]},"101":{"position":[[100,6],[159,4]]},"109":{"position":[[11,4]]},"110":{"position":[[18,4]]}},"keywords":{}}],["type.requir",{"_index":929,"title":{},"content":{"82":{"position":[[1243,13]]}},"keywords":{}}],["types.cr",{"_index":303,"title":{},"content":{"22":{"position":[[118,12]]}},"keywords":{}}],["typesrfc",{"_index":1071,"title":{},"content":{"106":{"position":[[21,8]]}},"keywords":{}}],["typic",{"_index":614,"title":{},"content":{"56":{"position":[[1324,9]]},"57":{"position":[[455,9],[975,9]]},"82":{"position":[[356,9]]}},"keywords":{}}],["uid",{"_index":639,"title":{},"content":{"57":{"position":[[536,6]]}},"keywords":{}}],["ultim",{"_index":335,"title":{},"content":{"23":{"position":[[410,10]]}},"keywords":{}}],["umbrella",{"_index":530,"title":{},"content":{"55":{"position":[[1188,8]]}},"keywords":{}}],["uml",{"_index":678,"title":{},"content":{"57":{"position":[[1572,4]]}},"keywords":{}}],["undefin",{"_index":1062,"title":{},"content":{"103":{"position":[[148,10]]}},"keywords":{}}],["under",{"_index":761,"title":{},"content":{"64":{"position":[[249,5]]},"78":{"position":[[110,5]]},"87":{"position":[[333,5]]}},"keywords":{}}],["understand",{"_index":245,"title":{},"content":{"20":{"position":[[127,10]]},"21":{"position":[[166,11]]},"23":{"position":[[582,10]]},"36":{"position":[[46,10]]},"53":{"position":[[118,13]]},"82":{"position":[[804,10]]},"110":{"position":[[327,10]]}},"keywords":{}}],["uniqu",{"_index":637,"title":{},"content":{"57":{"position":[[496,6]]},"69":{"position":[[86,8]]},"70":{"position":[[859,8]]},"82":{"position":[[563,6]]},"97":{"position":[[67,6]]},"101":{"position":[[333,11]]},"110":{"position":[[75,6]]}},"keywords":{}}],["unit",{"_index":633,"title":{},"content":{"57":{"position":[[382,4]]}},"keywords":{}}],["univers",{"_index":993,"title":{},"content":{"96":{"position":[[1,9]]}},"keywords":{}}],["unix/epochtim",{"_index":965,"title":{},"content":{"92":{"position":[[220,15]]}},"keywords":{}}],["unless",{"_index":962,"title":{},"content":{"92":{"position":[[111,6]]}},"keywords":{}}],["unord",{"_index":1037,"title":{},"content":{"100":{"position":[[22,9]]}},"keywords":{}}],["unreleas",{"_index":390,"title":{},"content":{"32":{"position":[[321,10]]}},"keywords":{}}],["up",{"_index":278,"title":{},"content":{"21":{"position":[[5,2]]},"82":{"position":[[1223,2]]}},"keywords":{}}],["upcom",{"_index":389,"title":{},"content":{"32":{"position":[[311,9]]}},"keywords":{}}],["updat",{"_index":392,"title":{"34":{"position":[[0,6]]}},"content":{"34":{"position":[[104,7],[158,7]]},"56":{"position":[[1234,6]]}},"keywords":{}}],["upon",{"_index":919,"title":{},"content":{"82":{"position":[[895,4]]}},"keywords":{}}],["uri",{"_index":910,"title":{"97":{"position":[[0,3]]}},"content":{"82":{"position":[[570,3]]},"96":{"position":[[48,3]]},"97":{"position":[[1,3],[27,3],[158,3]]},"106":{"position":[[260,4]]}},"keywords":{}}],["uri)rfc",{"_index":1078,"title":{},"content":{"106":{"position":[[130,8]]}},"keywords":{}}],["url",{"_index":142,"title":{},"content":{"14":{"position":[[179,4],[313,4]]},"59":{"position":[[174,3]]},"60":{"position":[[45,3]]}},"keywords":{}}],["us",{"_index":71,"title":{},"content":{"8":{"position":[[32,5]]},"22":{"position":[[165,5]]},"28":{"position":[[216,3]]},"53":{"position":[[47,4]]},"54":{"position":[[751,3]]},"55":{"position":[[61,4],[1868,4],[1968,4]]},"56":{"position":[[61,4]]},"57":{"position":[[621,4],[656,4],[1561,5],[1998,5]]},"60":{"position":[[39,5]]},"61":{"position":[[49,3],[270,6],[324,5]]},"63":{"position":[[85,3],[180,3]]},"64":{"position":[[135,5]]},"67":{"position":[[61,5]]},"82":{"position":[[27,4],[756,6]]},"91":{"position":[[13,4]]},"92":{"position":[[317,5]]},"95":{"position":[[74,5],[134,5]]},"96":{"position":[[37,3],[107,4],[429,5],[450,5],[515,4],[896,5]]},"99":{"position":[[336,5]]},"100":{"position":[[13,4]]},"101":{"position":[[12,4],[203,3],[405,4]]},"102":{"position":[[14,4]]},"103":{"position":[[9,4]]}},"keywords":{}}],["usabl",{"_index":249,"title":{},"content":{"20":{"position":[[228,6]]}},"keywords":{}}],["usag",{"_index":448,"title":{},"content":{"53":{"position":[[148,6]]}},"keywords":{}}],["usage.properti",{"_index":927,"title":{},"content":{"82":{"position":[[1158,16]]}},"keywords":{}}],["usual",{"_index":596,"title":{},"content":{"56":{"position":[[516,7]]}},"keywords":{}}],["utc",{"_index":966,"title":{},"content":{"92":{"position":[[368,3]]}},"keywords":{}}],["utf",{"_index":943,"title":{},"content":{"91":{"position":[[104,3]]},"106":{"position":[[114,4]]}},"keywords":{}}],["uuid",{"_index":640,"title":{},"content":{"57":{"position":[[547,7],[577,5]]},"96":{"position":[[186,4],[300,4],[354,4],[413,4],[442,4],[536,5],[745,4],[806,4],[878,4]]},"106":{"position":[[144,5],[298,5]]},"110":{"position":[[68,4]]}},"keywords":{}}],["v1",{"_index":1079,"title":{},"content":{"106":{"position":[[150,2]]}},"keywords":{}}],["v4",{"_index":1001,"title":{},"content":{"96":{"position":[[418,2]]}},"keywords":{}}],["v6",{"_index":1086,"title":{},"content":{"106":{"position":[[304,2]]}},"keywords":{}}],["valid",{"_index":316,"title":{},"content":{"23":{"position":[[85,9]]},"70":{"position":[[3,5]]},"82":{"position":[[1354,6]]}},"keywords":{}}],["valu",{"_index":853,"title":{},"content":{"70":{"position":[[690,6]]},"73":{"position":[[34,6]]},"99":{"position":[[76,6],[169,7],[221,5],[259,5]]},"100":{"position":[[36,5],[105,5]]},"102":{"position":[[50,7],[116,6]]},"103":{"position":[[30,6],[75,5],[138,6]]}},"keywords":{}}],["vari",{"_index":548,"title":{},"content":{"55":{"position":[[1663,7]]}},"keywords":{}}],["varieti",{"_index":673,"title":{},"content":{"57":{"position":[[1353,7]]}},"keywords":{}}],["variou",{"_index":267,"title":{},"content":{"20":{"position":[[630,7]]},"23":{"position":[[491,7]]},"54":{"position":[[28,7]]},"55":{"position":[[989,7]]},"100":{"position":[[185,7]]}},"keywords":{}}],["veri",{"_index":122,"title":{},"content":{"12":{"position":[[185,4]]}},"keywords":{}}],["verifi",{"_index":898,"title":{},"content":{"82":{"position":[[56,6]]}},"keywords":{}}],["version",{"_index":61,"title":{"31":{"position":[[12,8]]},"32":{"position":[[14,8]]},"33":{"position":[[6,7]]},"34":{"position":[[19,8]]}},"content":{"7":{"position":[[9,7]]},"32":{"position":[[11,7],[189,9],[243,7]]},"33":{"position":[[31,9],[47,7],[244,7]]},"34":{"position":[[24,9]]},"82":{"position":[[634,10]]},"83":{"position":[[36,7]]},"96":{"position":[[359,9],[635,7],[750,8],[883,8]]},"107":{"position":[[13,7]]}},"keywords":{}}],["versioned_docs/vers",{"_index":383,"title":{},"content":{"32":{"position":[[110,22]]},"34":{"position":[[68,22]]}},"keywords":{}}],["versions.json",{"_index":384,"title":{},"content":{"32":{"position":[[141,13]]}},"keywords":{}}],["view",{"_index":106,"title":{},"content":{"9":{"position":[[336,4]]},"23":{"position":[[23,4],[126,4]]}},"keywords":{}}],["visit",{"_index":760,"title":{},"content":{"64":{"position":[[206,5]]}},"keywords":{}}],["vocabulari",{"_index":498,"title":{},"content":{"55":{"position":[[50,10]]},"56":{"position":[[50,10]]},"57":{"position":[[872,10],[885,10]]}},"keywords":{}}],["voic",{"_index":863,"title":{},"content":{"73":{"position":[[122,6]]}},"keywords":{}}],["warn",{"_index":968,"title":{},"content":{"92":{"position":[[446,7]]},"96":{"position":[[164,7]]}},"keywords":{}}],["way",{"_index":192,"title":{},"content":{"19":{"position":[[124,4]]},"20":{"position":[[702,4]]},"55":{"position":[[1057,4]]},"57":{"position":[[363,3]]},"82":{"position":[[117,3]]},"97":{"position":[[50,3]]}},"keywords":{}}],["web",{"_index":688,"title":{},"content":{"57":{"position":[[1753,4],[2134,4]]}},"keywords":{}}],["websit",{"_index":82,"title":{},"content":{"8":{"position":[[184,7]]},"9":{"position":[[36,7],[259,7]]}},"keywords":{}}],["well",{"_index":188,"title":{},"content":{"19":{"position":[[79,4],[606,4]]},"57":{"position":[[639,4]]},"61":{"position":[[243,5]]},"100":{"position":[[371,4]]}},"keywords":{}}],["what'",{"_index":1,"title":{"1":{"position":[[0,6]]}},"content":{},"keywords":{}}],["wide",{"_index":642,"title":{},"content":{"57":{"position":[[614,6]]},"64":{"position":[[174,4]]}},"keywords":{}}],["within",{"_index":404,"title":{},"content":{"38":{"position":[[21,6]]},"53":{"position":[[52,6]]},"54":{"position":[[93,6],[687,6],[789,6]]},"55":{"position":[[101,6],[188,6],[938,6],[1885,6]]},"56":{"position":[[101,6],[445,6],[890,6],[993,6]]},"57":{"position":[[503,6]]},"85":{"position":[[73,6]]}},"keywords":{}}],["without",{"_index":210,"title":{},"content":{"19":{"position":[[367,7]]},"73":{"position":[[678,7]]}},"keywords":{}}],["withrfc",{"_index":988,"title":{},"content":{"95":{"position":[[96,7]]},"96":{"position":[[63,7],[472,7]]},"97":{"position":[[198,7]]}},"keywords":{}}],["work",{"_index":97,"title":{},"content":{"9":{"position":[[104,7],[130,4]]},"20":{"position":[[393,4]]},"21":{"position":[[10,7]]},"55":{"position":[[1228,4]]},"56":{"position":[[908,4]]}},"keywords":{}}],["workflow",{"_index":606,"title":{},"content":{"56":{"position":[[1022,8]]}},"keywords":{}}],["workload",{"_index":568,"title":{},"content":{"55":{"position":[[2268,8]]}},"keywords":{}}],["write",{"_index":698,"title":{},"content":{"57":{"position":[[1985,7]]}},"keywords":{}}],["xml",{"_index":691,"title":{},"content":{"57":{"position":[[1889,4]]}},"keywords":{}}],["xsd",{"_index":679,"title":{},"content":{"57":{"position":[[1577,4]]}},"keywords":{}}],["you'll",{"_index":58,"title":{"7":{"position":[[5,6]]}},"content":{"9":{"position":[[176,6]]}},"keywords":{}}],["you'r",{"_index":96,"title":{},"content":{"9":{"position":[[97,6]]}},"keywords":{}}],["zero",{"_index":865,"title":{},"content":{"73":{"position":[[198,5],[451,5],[541,4],[694,7]]}},"keywords":{}}]],"pipeline":["stemmer"]} \ No newline at end of file diff --git a/pr-preview/pr-5/lunr-index.json b/pr-preview/pr-5/lunr-index.json new file mode 100644 index 0000000..2333f95 --- /dev/null +++ b/pr-preview/pr-5/lunr-index.json @@ -0,0 +1 @@ +{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,919.74]],["content/0",[]],["keywords/0",[]],["title/1",[1,807.953,2,807.953]],["content/1",[3,7.678,4,8.417,5,9.54,6,4.406,7,7.678,8,9.54,9,7.678,10,9.54,11,6.684,12,9.54,13,7.678,14,7.678,15,9.54,16,9.54,17,9.54,18,7.125,19,6.281,20,9.54,21,8.417,22,8.417]],["keywords/1",[]],["title/2",[23,330.393,24,428.712]],["content/2",[]],["keywords/2",[]],["title/3",[23,227.872,24,295.684,25,307.366,26,416.17]],["content/3",[23,3.039,24,5.677,26,11.649,27,3.943,28,9.44,29,10.699,30,10.699,31,7.432,32,7.432,33,4.921,34,5.207,35,6.557,36,7.432,37,5.45,38,6.557,39,7.432,40,7.432,41,7.432,42,7.432,43,7.432,44,7.432,45,4.676,46,4.676,47,4.921,48,6.557]],["keywords/3",[]],["title/4",[23,227.872,24,295.684,25,307.366,49,320.218]],["content/4",[23,3.967,24,8.157,27,5.148,28,11.352,37,3.856,45,6.104,46,6.104,47,6.424,48,8.56,49,9.192,50,12.866]],["keywords/4",[]],["title/5",[51,712.844,52,712.844]],["content/5",[]],["keywords/5",[]],["title/6",[53,566.043,54,508.297]],["content/6",[6,5.627,19,6.015,23,4.982,45,7.665,54,7.665,55,12.183,56,12.183,57,12.183]],["keywords/6",[]],["title/7",[58,712.844,59,566.043]],["content/7",[60,14.316,61,5.856,62,11.451,63,11.451,64,10.103,65,9.215,66,9.215,67,11.451,68,7.582,69,10.103]],["keywords/7",[]],["title/8",[6,304.613,45,414.953,70,462.095]],["content/8",[6,3.524,19,5.383,45,4.8,59,5.346,64,6.732,69,6.732,70,5.346,71,2.792,72,12.722,73,8.774,74,6.14,75,6.732,76,5.346,77,6.859,78,12.246,79,4.8,80,7.63,81,7.63,82,6.732,83,2.649,84,7.63,85,7.63,86,9.62,87,6.14,88,5.052,89,6.732,90,7.63]],["keywords/8",[]],["title/9",[6,373.136,54,508.297]],["content/9",[6,4.518,19,3.247,23,2.689,24,3.49,54,6.155,58,5.803,59,4.608,74,5.293,77,7.35,78,8.632,79,6.155,82,8.632,86,5.803,91,6.478,92,9.784,93,9.784,94,9.784,95,5.803,96,6.577,97,6.854,98,4.608,99,6.577,100,4.912,101,3.948,102,3.49,103,4.912,104,4.912,105,6.577,106,5.803,107,5.803,108,6.577,109,5.803,110,5.293,111,5.803,112,6.577,113,6.577]],["keywords/9",[]],["title/10",[6,373.136,114,650.197]],["content/10",[]],["keywords/10",[]],["title/11",[6,373.136,101,484.993]],["content/11",[6,5.289,27,6.076,70,8.023,77,7.204,79,7.204,101,9.376,115,10.103,116,10.103,117,7.582]],["keywords/11",[]],["title/12",[6,373.136,114,650.197]],["content/12",[3,7.197,46,7.663,77,5.626,79,5.626,101,8.315,102,4.745,103,9.097,107,7.891,114,9.803,115,7.891,117,8.065,118,8.943,119,8.943,120,8.943,121,7.197,122,8.943,123,8.943,124,7.891,125,8.943]],["keywords/12",[]],["title/13",[23,269.719,126,581.937,127,530.795]],["content/13",[]],["keywords/13",[]],["title/14",[23,269.719,25,363.81,127,530.795]],["content/14",[0,5.314,19,4.52,23,2.463,25,3.322,27,3.196,45,3.789,46,3.789,47,3.988,110,4.847,121,4.847,126,5.314,127,8.916,128,9.157,129,9.157,130,9.157,131,9.157,132,5.314,133,11.079,134,7.762,135,3.789,136,5.761,137,6.023,138,6.023,139,6.023,140,6.023,141,5.314,142,7.369,143,6.023,144,9.157,145,6.023,146,6.023,147,6.023,148,4.498,149,6.023,150,6.023,151,5.314,152,5.314,153,6.023,154,6.023,155,6.023,156,6.023,157,6.023]],["keywords/14",[]],["title/15",[23,330.393,158,295.653]],["content/15",[]],["keywords/15",[]],["title/16",[23,269.719,25,363.81,159,395.928]],["content/16",[19,5.234,23,4.335,25,5.848,27,5.625,37,4.213,45,6.67,46,6.67,47,7.019,49,6.092,158,4.989,160,12.029,161,9.354,162,10.602]],["keywords/16",[]],["title/17",[7,650.197,163,650.197]],["content/17",[11,4.716,13,5.417,19,4.914,23,4.07,25,3.713,33,4.457,34,4.716,37,6.011,51,5.939,52,5.939,74,5.417,83,2.337,117,4.457,158,3.642,159,4.041,160,5.939,161,8.782,163,9.531,164,4.235,165,5.417,166,8.011,167,6.732,168,6.732,169,6.732,170,6.732,171,6.732,172,5.028,173,5.939,174,9.954,175,6.732,176,6.732,177,6.732]],["keywords/17",[]],["title/18",[53,566.043,54,508.297]],["content/18",[]],["keywords/18",[]],["title/19",[178,919.74]],["content/19",[83,2.631,87,3.805,135,2.974,178,4.171,179,8.306,180,4.728,181,4.171,182,4.728,183,7.579,184,5.66,185,3.805,186,4.728,187,4.728,188,5.66,189,3.805,190,4.728,191,6.687,192,3.13,193,6.687,194,3.741,195,3.531,196,2.838,197,4.728,198,3.805,199,4.171,200,4.171,201,4.728,202,4.728,203,4.728,204,3.13,205,3.741,206,4.171,207,4.728,208,3.312,209,4.728,210,4.171,211,2.608,212,3.312,213,2.608,214,3.13,215,4.728,216,2.838,217,3.531,218,2.608,219,3.531,220,3.13,221,7.634,222,3.805,223,3.805,224,4.728,225,2.717,226,4.728,227,3.805,228,3.805,229,4.728,230,4.728,231,2.608,232,4.171,233,3.805,234,7.579,235,3.805,236,4.728,237,4.728,238,4.728]],["keywords/19",[]],["title/20",[239,730.332]],["content/20",[21,4.389,22,6.964,23,2.034,87,4.003,97,3.485,124,6.964,179,4.738,185,4.003,192,3.294,194,2.456,196,2.986,204,3.294,205,4.843,206,4.389,208,9.081,213,2.744,220,3.294,221,4.003,223,6.352,227,4.003,231,2.744,232,4.389,233,4.003,235,4.003,239,3.485,240,4.389,241,3.13,242,4.389,243,4.975,244,1.977,245,3.13,246,2.744,247,7.893,248,4.975,249,4.975,250,4.975,251,4.975,252,5.895,253,4.975,254,4.003,255,4.975,256,4.975,257,6.352,258,4.975,259,4.975,260,4.003,261,4.975,262,3.485,263,4.389,264,4.389,265,4.975,266,4.975,267,3.485,268,4.975,269,4.975,270,3.13,271,4.975,272,7.893,273,4.389,274,3.715,275,4.975]],["keywords/20",[]],["title/21",[24,295.684,53,390.401,276,491.65,277,448.442]],["content/21",[97,5.985,205,5.827,211,4.712,212,5.985,216,5.128,241,5.374,245,5.374,276,7.537,277,6.874,278,7.537,279,5.985,280,8.542,281,6.874,282,8.542,283,7.537,284,6.874,285,8.542,286,8.542,287,8.542,288,8.542,289,8.542,290,8.542,291,8.542,292,7.537,293,3.945,294,8.542,295,8.542]],["keywords/21",[]],["title/22",[158,381.463]],["content/22",[37,3.669,71,3.378,158,3.378,179,5.542,205,6.144,211,5.092,241,5.808,274,6.895,296,8.145,297,9.232,298,9.232,299,6.895,300,9.232,301,7.43,302,5.305,303,9.232,304,9.232,305,5.542,306,9.232,307,9.232,308,9.232,309,9.232]],["keywords/22",[]],["title/23",[310,919.74]],["content/23",[25,2.524,59,3.206,91,3.03,104,3.418,106,6.514,148,3.418,179,2.747,185,5.942,194,2.259,196,4.432,199,4.038,200,6.514,205,6.166,208,6.502,211,2.524,212,3.206,213,4.072,219,3.418,221,3.683,223,5.942,231,2.524,235,3.683,241,2.879,245,2.879,252,3.418,260,5.942,267,3.206,270,2.879,274,3.418,296,4.038,310,4.038,311,7.383,312,4.576,313,4.576,314,3.683,315,4.038,316,3.683,317,7.383,318,3.683,319,4.038,320,2.63,321,4.576,322,4.576,323,4.576,324,4.576,325,4.038,326,4.576,327,4.576,328,4.576,329,3.03,330,4.576,331,3.683,332,4.576,333,4.576,334,4.576,335,4.576,336,6.514,337,3.683,338,4.576,339,7.383,340,4.576,341,4.576,342,4.576,343,4.576,344,4.576,345,4.576,346,4.576,347,4.038]],["keywords/23",[]],["title/24",[348,414.272]],["content/24",[349,6.407]],["keywords/24",[]],["title/25",[6,373.136,350,603.406]],["content/25",[]],["keywords/25",[]],["title/26",[7,650.197,351,712.844]],["content/26",[33,6.535,34,6.915,37,6.151,102,6.905,164,6.209,351,8.708,352,7.943,353,10.472,354,5.672,355,10.472,356,9.87,357,13.013]],["keywords/26",[]],["title/27",[159,484.993,350,603.406]],["content/27",[27,4.899,109,10.981,117,6.113,350,6.895,358,8.145,359,9.232,360,9.232,361,9.232,362,14.08,363,14.08,364,12.423,365,9.232,366,9.232,367,12.446,368,8.145]],["keywords/27",[]],["title/28",[6,304.613,54,414.953,102,349.983]],["content/28",[6,5.748,24,4.899,53,6.468,54,8.858,71,3.378,77,5.808,79,5.808,91,6.113,102,7.996,246,5.092,350,6.895,355,7.43,368,8.145,369,9.232,370,9.232,371,9.232,372,6.895]],["keywords/28",[]],["title/29",[102,349.983,164,414.953,373,492.596]],["content/29",[9,9.122,11,5.647,27,4.277,33,5.337,34,5.647,37,6.674,46,5.071,83,2.798,100,6.02,102,6.015,164,5.071,212,5.647,352,6.487,353,9.122,373,8.466,374,7.112,375,7.112,376,8.061,377,7.112]],["keywords/29",[]],["title/30",[6,304.613,101,395.928,102,349.983]],["content/30",[6,6.15,77,8.377,79,8.377,101,9.418,102,7.858,204,6.768,244,4.063,355,8.227,378,10.223]],["keywords/30",[]],["title/31",[61,337.309,159,395.928,379,659.58]],["content/31",[]],["keywords/31",[]],["title/32",[23,269.719,61,337.309,159,395.928]],["content/32",[19,4.155,23,3.442,46,5.295,61,6.863,76,5.897,77,5.295,79,5.295,117,5.573,159,8.055,358,7.426,380,8.417,381,15.23,382,8.417,383,7.426,384,8.417,385,7.426,386,8.417,387,8.417,388,8.417,389,8.417,390,8.417]],["keywords/32",[]],["title/33",[61,337.309,164,414.953,373,492.596]],["content/33",[9,9.122,11,5.647,27,4.277,33,5.337,34,5.647,37,6.674,61,6.705,83,2.798,100,6.02,159,4.839,164,5.071,352,6.487,353,9.122,373,8.466,374,7.112,375,7.112,377,7.112,391,8.061]],["keywords/33",[]],["title/34",[61,337.309,392,530.795,393,659.58]],["content/34",[61,5.741,110,9.034,117,7.433,159,6.739,172,8.384,383,9.905,392,11.379,394,9.034,395,11.226,396,11.226,397,11.226]],["keywords/34",[]],["title/35",[194,398.858,262,566.043]],["content/35",[]],["keywords/35",[]],["title/36",[398,778.539]],["content/36",[194,5.769,245,7.351,262,8.187,270,7.351,329,7.737,398,8.727,399,4.393,400,9.404,401,7.351,402,11.685]],["keywords/36",[]],["title/37",[302,464.284,403,603.406]],["content/37",[]],["keywords/37",[]],["title/38",[88,534.94,216,484.993]],["content/38",[244,4.551,270,7.204,302,6.58,349,5.124,398,8.552,404,7.204,405,8.023,406,9.215,407,9.215,408,11.451,409,11.451]],["keywords/38",[]],["title/39",[83,280.445,410,712.844]],["content/39",[83,5.324,270,6.927,349,4.926,406,8.86,407,8.86,410,9.714,411,6.927,412,6.327,413,7.714,414,9.714,415,11.01]],["keywords/39",[]],["title/40",[88,690.201]],["content/40",[]],["keywords/40",[]],["title/41",[416,574.995]],["content/41",[83,4.849,417,7.144]],["keywords/41",[]],["title/42",[244,414.272]],["content/42",[37,5.419,418,13.636,419,10.974]],["keywords/42",[]],["title/43",[305,484.993,420,428.712]],["content/43",[349,6.407]],["keywords/43",[]],["title/44",[399,391.909]],["content/44",[349,6.407]],["keywords/44",[]],["title/45",[421,778.539]],["content/45",[]],["keywords/45",[]],["title/46",[422,690.201]],["content/46",[18,7.774,83,3.613,205,5.138,216,6.248,217,7.774,246,5.741,293,4.807,302,5.981,421,7.774,423,7.292,424,9.184,425,6.892,426,10.409,427,8.376,428,7.292,429,8.376]],["keywords/46",[]],["title/47",[416,574.995]],["content/47",[83,4.141,136,7.505,218,6.58,349,5.337,417,6.101,430,8.357,431,8.357,432,9.6,433,8.909]],["keywords/47",[]],["title/48",[244,414.272]],["content/48",[37,6.565,412,5.672,434,11.481,435,12.845,436,12.845,437,8.708,438,8.708,439,8.708,440,8.708]],["keywords/48",[]],["title/49",[305,484.993,420,428.712]],["content/49",[349,6.407]],["keywords/49",[]],["title/50",[399,391.909]],["content/50",[349,6.407]],["keywords/50",[]],["title/51",[400,838.911]],["content/51",[]],["keywords/51",[]],["title/52",[441,1042.454]],["content/52",[111,11.751,228,10.718,442,8.818,443,13.319]],["keywords/52",[]],["title/53",[302,599.038]],["content/53",[71,3.88,211,5.848,231,5.848,240,9.354,244,4.213,245,6.67,302,6.092,400,8.532,404,6.67,442,7.019,444,6.67,445,7.428,446,10.602,447,10.602,448,10.602]],["keywords/53",[]],["title/54",[449,919.74]],["content/54",[14,3.11,71,1.414,91,2.559,100,2.886,101,2.32,102,3.411,135,6.718,194,1.908,198,7.74,216,2.32,231,3.546,233,3.11,241,2.431,242,3.41,244,1.536,263,3.41,267,2.708,279,5.782,281,3.11,299,6.164,318,3.11,325,3.41,354,2.221,394,3.11,404,5.192,405,2.708,413,7.481,442,2.559,450,2.32,451,3.865,452,6.428,453,9.618,454,6.428,455,2.886,456,3.865,457,3.865,458,2.886,459,5.672,460,3.41,461,3.865,462,6.428,463,3.865,464,3.865,465,5.672,466,3.865,467,5.672,468,3.41,469,3.865,470,3.865,471,3.41,472,3.865,473,3.865,474,3.865,475,3.865,476,3.865,477,3.41,478,3.865,479,2.32,480,3.41,481,6.428,482,3.41,483,5.672,484,3.41,485,3.865,486,3.865,487,3.865,488,3.865,489,3.41,490,5.173,491,4.504,492,6.428,493,3.865,494,3.865,495,2.886,496,2.559,497,3.865]],["keywords/54",[]],["title/55",[401,655.825]],["content/55",[4,1.862,14,1.698,24,1.12,25,1.164,53,1.478,59,2.662,68,1.397,71,1.897,76,4.441,83,0.732,91,1.397,97,1.478,134,1.478,135,4.603,148,1.576,152,1.862,158,0.772,164,1.328,179,4.392,189,1.698,191,1.862,192,1.397,194,1.876,198,3.058,204,1.397,211,1.164,216,3.112,218,1.164,220,3.433,225,4.204,241,1.328,244,2.908,246,1.164,267,1.478,281,1.698,293,1.755,302,2.184,314,1.698,318,3.058,320,1.213,329,1.397,331,1.698,347,1.862,372,3.872,394,1.698,401,3.262,403,1.576,404,3.988,405,1.478,413,6.222,414,1.862,420,1.12,428,1.478,442,3.433,444,1.328,445,2.662,449,1.862,450,1.267,455,2.838,458,7.528,459,1.862,460,3.353,467,1.862,471,3.353,477,3.353,479,4.392,480,1.862,482,1.862,483,1.862,496,1.397,498,1.698,499,2.11,500,5.593,501,3.353,502,4.574,503,2.394,504,1.698,505,2.11,506,1.862,507,1.698,508,2.11,509,2.11,510,2.11,511,1.698,512,2.11,513,3.8,514,1.576,515,2.11,516,2.11,517,2.11,518,2.11,519,2.11,520,5.185,521,3.8,522,3.058,523,3.8,524,2.11,525,2.11,526,2.11,527,3.8,528,2.11,529,2.11,530,2.11,531,2.11,532,2.11,533,1.862,534,2.11,535,2.11,536,2.11,537,1.862,538,2.11,539,2.11,540,2.11,541,2.11,542,1.698,543,2.11,544,1.576,545,2.11,546,1.862,547,2.11,548,2.11,549,2.11,550,2.11,551,1.862,552,2.11,553,2.11,554,2.11,555,2.11,556,1.862,557,1.698,558,2.11,559,1.698,560,1.576,561,1.698,562,2.11,563,1.862,564,2.11,565,2.11,566,2.11,567,2.11,568,2.11,569,2.11,570,2.11,571,1.478,572,2.11,573,2.11,574,2.11,575,1.698,576,1.862,577,1.397,578,2.11,579,2.11,580,1.862,581,2.11]],["keywords/55",[]],["title/56",[194,398.858,262,566.043]],["content/56",[68,3.382,70,2.065,71,1.079,97,2.065,98,6.384,104,3.814,135,4.251,193,2.601,194,4.498,211,1.626,216,3.066,218,2.817,225,5.236,231,1.626,239,2.065,244,2.685,270,1.855,293,3.121,302,4.631,329,4.474,392,2.372,401,5.07,403,5.047,404,5.07,407,6.486,411,1.855,413,4.734,422,1.952,442,3.382,444,1.855,445,3.578,450,1.77,498,2.372,504,4.11,533,2.601,537,2.601,542,8.621,551,2.601,561,2.372,563,2.601,575,2.372,576,2.601,577,1.952,582,2.948,583,9.982,584,2.948,585,2.948,586,2.948,587,2.948,588,2.601,589,2.948,590,2.948,591,2.948,592,2.948,593,2.948,594,6.757,595,9.982,596,2.948,597,4.631,598,5.107,599,2.948,600,2.948,601,2.601,602,2.948,603,5.962,604,5.107,605,5.107,606,2.948,607,2.948,608,2.948,609,2.948,610,2.948,611,2.948,612,2.601,613,2.71,614,2.372,615,2.202,616,2.372,617,2.372,618,2.948,619,2.948,620,2.948,621,2.948,622,2.948,623,2.948]],["keywords/56",[]],["title/57",[416,574.995]],["content/57",[3,1.863,27,1.229,70,1.622,71,2.485,83,3.256,88,3.701,98,1.622,102,1.229,103,1.729,141,2.043,165,3.323,166,1.863,188,1.729,192,1.533,195,1.729,196,2.479,204,3.701,205,6.052,208,1.622,211,3.746,213,3.083,217,1.729,219,4.175,225,2.373,231,1.277,244,2.222,252,1.729,257,1.863,279,1.622,301,1.863,320,3.902,348,3.098,372,1.729,385,2.043,398,4.175,399,0.87,401,4.272,404,1.457,405,1.622,411,2.598,412,2.373,413,1.622,416,1.277,417,1.184,423,2.893,442,5.161,444,1.457,468,3.644,495,1.729,498,3.323,506,2.043,514,1.729,577,1.533,614,3.323,624,2.315,625,1.729,626,2.315,627,2.315,628,4.13,629,1.863,630,1.729,631,1.622,632,2.315,633,2.315,634,2.315,635,2.315,636,4.13,637,1.457,638,2.315,639,2.315,640,3.084,641,2.315,642,2.043,643,1.729,644,2.315,645,2.043,646,2.315,647,2.315,648,2.315,649,2.315,650,2.315,651,2.315,652,2.315,653,2.315,654,2.315,655,2.315,656,2.315,657,2.315,658,1.533,659,2.315,660,2.315,661,2.043,662,2.315,663,2.315,664,2.315,665,2.315,666,2.043,667,2.315,668,2.315,669,2.315,670,2.315,671,2.315,672,2.315,673,2.315,674,2.315,675,2.315,676,5.59,677,4.13,678,2.315,679,2.315,680,2.112,681,4.136,682,2.315,683,2.315,684,1.729,685,1.863,686,4.13,687,2.315,688,4.13,689,2.315,690,2.315,691,2.315,692,6.791,693,2.315,694,2.315,695,2.315,696,2.315,697,1.622,698,2.315,699,2.315,700,2.315,701,2.315,702,2.315]],["keywords/57",[]],["title/58",[49,464.284,703,712.844]],["content/58",[]],["keywords/58",[]],["title/59",[491,566.043,704,712.844]],["content/59",[13,5.116,19,3.138,24,3.373,37,2.526,49,7.311,65,5.116,91,4.209,132,5.609,134,8.021,142,5.116,151,8.416,158,4.189,165,5.116,214,4.209,218,6.315,225,3.653,301,5.116,354,3.653,491,6.683,511,5.116,561,5.116,666,5.609,704,8.416,705,6.358,706,5.609,707,6.358,708,4.454,709,6.358,710,5.609,711,6.358,712,5.116,713,4.748,714,6.358,715,6.358,716,6.358,717,6.358,718,5.609,719,5.609,720,5.609]],["keywords/59",[]],["title/60",[721,919.74]],["content/60",[23,5.758,24,4.899,27,4.899,49,5.305,71,3.378,142,7.43,284,11.331,354,5.305,721,8.145,722,6.113,723,10.016,724,8.145,725,14.08,726,9.232,727,9.232,728,9.232]],["keywords/60",[]],["title/61",[729,919.74]],["content/61",[19,5.709,27,6.137,49,6.646,71,4.872,95,7.318,116,7.318,188,6.195,354,4.766,399,4.348,603,7.318,722,5.492,723,6.675,724,7.318,729,12.709,730,8.295,731,8.295,732,8.295,733,8.295,734,8.295,735,8.295,736,8.295]],["keywords/61",[]],["title/62",[88,534.94,737,712.844]],["content/62",[35,10.863,37,6.218,38,10.863,49,5.221,88,6.015,354,5.221,684,6.785,737,8.016,738,8.016,739,9.085,740,9.085,741,12.312,742,12.312,743,12.312,744,9.085]],["keywords/62",[]],["title/63",[745,919.74]],["content/63",[19,4.281,23,3.546,37,4.74,71,4.364,428,6.076,501,10.523,560,8.907,684,6.477,703,10.523,745,7.651,746,8.672,747,8.672,748,8.672,749,11.927,750,11.927,751,8.672,752,11.927,753,11.927]],["keywords/63",[]],["title/64",[754,603.406,755,650.197]],["content/64",[19,4.217,71,3.126,104,6.38,158,3.126,163,6.874,336,7.537,354,6.783,412,4.909,444,5.374,450,5.128,503,5.451,575,9.499,613,6.263,642,7.537,684,6.38,754,8.816,756,7.537,757,11.804,758,7.537,759,8.542,760,8.542,761,6.874]],["keywords/64",[]],["title/65",[542,650.197,661,712.844]],["content/65",[37,4.644,754,8.727,755,9.404,762,11.685,763,11.685,764,11.685,765,10.31,766,14.498,767,10.31]],["keywords/65",[]],["title/66",[768,1042.454]],["content/66",[37,2.916,319,6.473,465,6.473,588,9.352,754,5.479,755,5.904,765,10.98,767,12.027,769,7.337,770,7.337,771,7.337,772,7.337,773,7.337,774,9.352,775,7.337,776,7.337,777,7.337,778,7.337,779,7.337,780,7.337,781,7.337,782,7.337,783,7.337,784,7.337,785,10.6,786,5.904,787,7.337,788,7.337,789,7.337,790,7.337,791,7.337]],["keywords/66",[]],["title/67",[26,492.596,792,581.937,793,581.937]],["content/67",[19,2.882,26,4.36,33,3.865,37,6.059,49,3.355,71,2.136,158,2.136,166,4.698,254,4.698,503,2.696,580,5.151,738,5.151,774,9.589,792,5.151,793,5.151,794,5.838,795,5.838,796,5.838,797,10.868,798,13.131,799,5.838,800,5.838,801,5.838,802,5.838,803,5.838,804,5.838,805,5.151,806,5.838,807,5.838,808,5.838,809,5.838,810,5.838,811,5.838,812,5.838,813,8.942,814,5.838,815,5.838,816,5.838,817,5.838,818,5.838,819,5.838,820,5.838]],["keywords/67",[]],["title/68",[320,464.284,479,484.993]],["content/68",[]],["keywords/68",[]],["title/69",[422,690.201]],["content/69",[134,9.784,320,7.52,399,2.531,455,5.028,479,9.08,557,10.531,559,5.417,571,8.298,637,4.235,708,4.716,786,5.417,821,10.45,822,5.417,823,5.417,824,6.732,825,5.939,826,5.939,827,5.939,828,5.939,829,7.434,830,5.939,831,5.939,832,5.939,833,5.939,834,5.939]],["keywords/69",[]],["title/70",[416,574.995]],["content/70",[83,1.233,101,2.133,134,7.736,136,3.769,148,2.653,181,3.134,211,1.96,218,3.304,277,2.859,316,2.859,320,6.346,372,4.474,399,1.336,417,3.064,425,3.966,430,2.489,431,2.489,455,2.653,479,8.399,504,2.859,557,8.886,559,2.859,571,5.442,597,2.041,601,3.134,630,4.474,637,2.235,697,2.489,708,2.489,712,2.859,786,2.859,821,8.046,822,2.859,823,2.859,825,3.134,826,3.134,827,3.134,828,3.134,829,8.247,830,3.134,831,3.134,832,9.743,833,5.285,834,5.285,835,3.553,836,3.553,837,5.991,838,3.553,839,6.853,840,3.134,841,3.553,842,3.553,843,5.991,844,3.134,845,3.553,846,3.553,847,3.553,848,3.553,849,3.134,850,3.134,851,3.553,852,3.553,853,2.352,854,3.553,855,3.553,856,3.553,857,3.553,858,3.553,859,3.134]],["keywords/70",[]],["title/71",[244,414.272]],["content/71",[37,5.419,419,10.974,860,12.031]],["keywords/71",[]],["title/72",[305,484.993,420,428.712]],["content/72",[]],["keywords/72",[]],["title/73",[479,395.928,708,462.095,829,492.596]],["content/73",[47,3.054,83,1.601,195,5.55,204,4.92,205,4.606,210,4.07,213,2.545,228,3.712,254,3.712,270,2.902,274,3.445,279,3.232,283,4.07,284,3.712,299,5.55,417,2.359,444,2.902,479,6.422,484,4.07,502,4.07,522,7.509,571,5.206,577,3.054,625,3.445,630,3.445,680,2.359,681,5.677,697,5.206,708,7.495,805,8.232,822,3.712,823,3.712,829,3.445,849,8.232,850,4.07,853,3.054,861,5.98,862,4.613,863,4.613,864,4.07,865,10.698,866,9.331,867,4.613,868,4.613,869,4.613,870,4.613,871,4.613,872,7.431,873,4.613,874,4.613,875,4.613,876,4.613,877,4.613,878,4.613,879,4.613,880,4.613]],["keywords/73",[]],["title/74",[399,391.909]],["content/74",[205,6.425,479,7.813,522,12.457,881,13.016]],["keywords/74",[]],["title/75",[194,514.623]],["content/75",[]],["keywords/75",[]],["title/76",[422,690.201]],["content/76",[18,8.223,83,3.822,194,5.435,205,5.435,217,8.223,225,6.327,246,6.073,293,5.085,302,6.327,423,7.714,427,8.86,428,7.714,429,8.86]],["keywords/76",[]],["title/77",[416,574.995]],["content/77",[83,4.141,136,7.505,218,6.58,349,5.337,417,6.101,430,8.357,431,8.357,432,9.6,433,8.909]],["keywords/77",[]],["title/78",[244,414.272]],["content/78",[37,4.893,135,5.716,412,5.221,490,7.311,491,6.365,544,6.785,616,7.311,617,7.311,761,7.311,882,8.016,883,8.016,884,8.016,885,8.016,886,8.016,887,8.016,888,8.016,889,8.016,890,8.016,891,8.016,892,8.016,893,8.016,894,8.016,895,8.016]],["keywords/78",[]],["title/79",[305,484.993,420,428.712]],["content/79",[349,6.407]],["keywords/79",[]],["title/80",[399,391.909]],["content/80",[349,6.407]],["keywords/80",[]],["title/81",[681,553.142]],["content/81",[]],["keywords/81",[]],["title/82",[348,262.118,680,337.309,896,659.58]],["content/82",[61,1.794,68,2.323,71,2.169,83,2.058,89,3.096,103,2.621,121,2.824,158,3.311,173,3.096,189,2.824,192,2.323,196,2.106,216,3.559,218,1.935,225,5.199,231,1.935,241,2.208,244,2.356,245,2.208,278,3.096,305,2.106,316,2.824,329,2.323,348,5.081,364,3.096,405,2.458,411,4.843,416,4.99,425,3.925,444,2.208,489,3.096,495,2.621,500,3.096,507,2.824,514,2.621,556,3.096,577,2.323,614,2.824,615,2.621,625,2.621,637,2.208,643,2.621,680,5.171,710,3.096,713,4.428,719,3.096,723,2.824,758,3.096,844,5.231,864,3.096,897,3.509,898,3.509,899,6.195,900,3.509,901,3.509,902,3.509,903,2.621,904,2.458,905,6.757,906,3.509,907,3.509,908,3.509,909,3.509,910,2.458,911,3.509,912,3.509,913,3.509,914,3.509,915,3.509,916,3.096,917,3.509,918,3.509,919,3.509,920,3.509,921,3.509,922,3.509,923,3.509,924,5.928,925,3.509,926,3.509,927,3.509,928,3.509,929,3.509,930,3.509,931,3.509,932,3.509,933,3.509,934,3.096]],["keywords/82",[]],["title/83",[399,391.909]],["content/83",[61,6.366,348,4.947,903,9.297,935,12.449,936,10.983,937,12.449,938,10.983]],["keywords/83",[]],["title/84",[194,398.858,421,603.406]],["content/84",[]],["keywords/84",[]],["title/85",[422,690.201]],["content/85",[18,7.918,83,3.68,194,5.234,205,5.234,225,6.092,246,5.848,293,4.896,404,6.67,421,7.918,423,7.428,424,9.354,427,8.532,428,7.428,429,8.532,756,9.354]],["keywords/85",[]],["title/86",[416,574.995]],["content/86",[83,4.141,136,7.505,218,6.58,349,5.337,417,6.101,430,8.357,431,8.357,432,9.6,433,8.909]],["keywords/86",[]],["title/87",[244,414.272]],["content/87",[37,6.411,135,4.235,412,3.868,434,8.782,435,10.45,436,10.45,437,5.939,438,5.939,439,5.939,440,5.939,490,5.417,491,4.716,544,5.028,616,5.417,617,5.417,761,5.417,882,5.939,883,5.939,884,5.939,885,5.939,886,5.939,887,5.939,888,5.939,889,5.939,890,5.939,891,5.939,892,5.939,893,5.939,894,5.939,895,5.939,939,6.732,940,6.732]],["keywords/87",[]],["title/88",[305,484.993,420,428.712]],["content/88",[349,6.407]],["keywords/88",[]],["title/89",[399,391.909]],["content/89",[349,6.407]],["keywords/89",[]],["title/90",[83,280.445,625,603.406]],["content/90",[]],["keywords/90",[]],["title/91",[417,533.111]],["content/91",[47,4.305,71,2.379,83,3.367,158,2.379,196,3.903,211,3.586,214,4.305,293,5.359,348,2.584,399,2.444,417,6.579,445,4.555,496,4.305,503,3.003,511,5.233,560,4.856,597,3.736,612,5.737,613,3.45,645,5.737,658,4.305,680,3.325,681,6.826,722,4.305,905,4.856,941,6.502,942,5.737,943,5.737,944,5.233,945,5.233,946,5.737,947,5.737,948,6.502,949,6.502,950,6.502,951,6.502,952,6.502,953,6.502,954,6.502,955,6.502]],["keywords/91",[]],["title/92",[246,445.65,631,566.043]],["content/92",[71,2.115,158,2.115,195,4.316,213,3.188,214,5.875,222,4.651,244,2.297,246,8.177,293,4.098,348,3.526,354,3.321,399,2.173,412,3.321,420,3.066,450,3.469,496,3.826,503,2.669,546,5.099,597,6.206,631,7.566,643,4.316,680,2.955,681,6.936,685,4.651,697,4.049,903,4.316,956,4.651,957,5.099,958,5.779,959,5.779,960,5.779,961,5.779,962,5.779,963,5.779,964,5.779,965,5.779,966,5.779,967,2.955,968,5.099,969,5.779,970,4.316,971,5.099]],["keywords/92",[]],["title/93",[972,919.74]],["content/93",[158,3.222,293,4.067,348,3.499,399,3.31,450,5.286,503,4.067,597,5.06,613,4.672,615,6.576,681,7.292,956,7.086,967,4.503,970,6.576,972,13.038,973,6.576,974,7.769,975,8.806,976,7.086,977,7.769,978,7.769,979,7.769]],["keywords/93",[]],["title/94",[980,919.74]],["content/94",[158,3.173,293,4.005,348,3.446,399,3.26,450,7.159,503,4.005,597,4.983,613,4.601,615,6.477,681,7.234,956,6.979,967,4.435,970,6.477,976,6.979,977,7.651,978,7.651,980,12.954,981,7.651,982,8.672,983,7.651,984,8.672]],["keywords/94",[]],["title/95",[973,603.406,985,712.844]],["content/95",[71,4.319,158,3.126,348,3.395,399,3.212,450,7.086,503,3.945,597,6.783,613,4.533,681,6.263,904,8.27,945,6.874,967,4.369,973,6.38,985,7.537,986,11.804,987,11.804,988,6.874,989,7.537,990,8.542,991,7.537,992,8.542]],["keywords/95",[]],["title/96",[184,603.406,320,464.284]],["content/96",[61,5.18,71,4.394,75,3.711,98,2.947,158,1.539,184,3.141,213,2.32,214,2.785,220,2.785,222,3.385,246,2.32,320,2.417,348,2.739,354,3.961,411,2.646,417,2.151,420,2.232,544,3.141,597,3.961,640,10.235,643,3.141,658,2.785,680,2.151,681,5.375,718,3.711,722,4.564,859,9.863,903,3.141,904,4.829,910,2.947,916,3.711,944,3.385,945,5.547,967,2.151,968,3.711,970,3.141,971,3.711,988,5.547,993,4.206,994,3.711,995,4.206,996,4.206,997,4.206,998,5.547,999,4.206,1000,4.206,1001,4.206,1002,6.082,1003,11.179,1004,4.206,1005,8.759,1006,4.206,1007,4.206,1008,4.206,1009,4.206,1010,3.711,1011,4.206,1012,4.206,1013,4.206]],["keywords/96",[]],["title/97",[73,650.197,910,566.043]],["content/97",[66,7.086,73,9.699,158,3.222,184,6.576,192,5.83,214,5.83,231,4.857,320,5.06,348,3.499,425,5.83,503,4.067,613,4.672,637,5.54,681,4.672,904,6.169,910,9.627,967,4.503,988,7.086,1014,8.806,1015,8.806,1016,8.806,1017,8.806,1018,7.769]],["keywords/97",[]],["title/98",[722,534.94,998,650.197]],["content/98",[66,8.693,158,3.953,348,4.293,503,4.989,613,5.732,681,5.732,722,7.152,904,7.568,967,5.524,998,8.693,1019,10.802,1020,10.802,1021,10.802,1022,10.802]],["keywords/98",[]],["title/99",[861,838.911]],["content/99",[65,4.651,71,2.115,83,3.08,158,2.115,172,4.316,220,3.826,244,2.297,260,4.651,273,5.099,293,2.669,315,10.689,329,3.826,348,2.297,399,2.173,412,3.321,420,3.066,496,5.875,503,2.669,560,4.316,571,6.216,577,3.826,630,9.762,658,3.826,680,2.955,712,4.651,853,8.022,861,4.651,905,4.316,942,5.099,967,2.955,1023,8.873,1024,10.8,1025,5.779,1026,5.779,1027,5.779,1028,5.779,1029,5.779,1030,5.779,1031,5.779,1032,5.779,1033,5.779,1034,5.779,1035,5.779,1036,5.779]],["keywords/99",[]],["title/100",[239,730.332]],["content/100",[71,2.407,136,4.138,158,3.58,188,4.912,220,6.478,225,5.622,239,8.185,244,2.614,267,4.608,337,10.412,348,3.888,401,4.138,403,4.912,416,3.628,417,3.363,445,4.608,503,3.037,514,4.912,597,3.779,613,3.49,658,4.355,680,3.363,697,4.608,706,5.803,720,5.803,853,6.478,899,5.293,905,4.912,947,5.803,967,3.363,1037,6.577,1038,6.577,1039,6.577,1040,6.577,1041,6.577,1042,6.577,1043,6.577,1044,6.577]],["keywords/100",[]],["title/101",[713,778.539]],["content/101",[11,4.608,71,4.275,83,3.396,98,4.608,158,2.407,179,3.948,219,9.663,231,3.628,244,2.614,252,4.912,257,5.293,293,3.037,348,2.614,399,2.473,401,4.138,406,5.293,411,4.138,412,3.779,425,4.355,496,6.478,503,3.037,637,4.138,658,4.355,680,3.363,713,10.328,899,7.873,934,5.803,967,3.363,1045,9.784,1046,6.577,1047,6.577,1048,6.577,1049,6.577,1050,6.577,1051,6.577]],["keywords/101",[]],["title/102",[629,838.911]],["content/102",[25,4.575,71,3.035,158,3.035,172,6.195,212,5.811,292,7.318,293,3.831,348,4.596,399,3.118,503,3.831,507,6.675,613,4.401,629,9.307,680,4.242,685,6.675,853,7.657,967,4.242,1052,8.295,1053,11.565,1054,11.565,1055,11.565,1056,7.318,1057,8.295,1058,8.295]],["keywords/102",[]],["title/103",[1059,919.74]],["content/103",[71,3.55,158,3.55,293,4.481,314,7.808,348,3.856,399,3.648,420,5.148,503,4.481,613,5.148,853,9.558,967,4.962,1056,8.56,1059,12.737,1060,9.702,1061,9.702,1062,9.702]],["keywords/103",[]],["title/104",[399,391.909]],["content/104",[]],["keywords/104",[]],["title/105",[213,445.65,299,603.406]],["content/105",[196,6.484,205,5.333,213,7.611,246,5.958,411,6.796,631,7.568,973,8.067,1063,10.802,1064,10.802,1065,10.802,1066,10.802,1067,10.802,1068,10.802]],["keywords/105",[]],["title/106",[213,445.65,264,712.844]],["content/106",[348,2.843,495,5.342,631,5.011,640,7.772,910,5.011,936,6.311,943,6.311,944,5.756,946,6.311,957,6.311,974,6.311,976,8.375,979,6.311,981,6.311,983,6.311,989,6.311,991,6.311,994,6.311,1002,6.311,1010,6.311,1018,6.311,1069,7.153,1070,7.153,1071,7.153,1072,7.153,1073,7.153,1074,7.153,1075,7.153,1076,7.153,1077,7.153,1078,7.153,1079,7.153,1080,7.153,1081,7.153,1082,7.153,1083,7.153,1084,7.153,1085,7.153,1086,7.153]],["keywords/106",[]],["title/107",[1087,1042.454]],["content/107",[61,6.811,348,5.293,680,6.811,938,11.751]],["keywords/107",[]],["title/108",[76,566.043,331,650.197]],["content/108",[]],["keywords/108",[]],["title/109",[422,690.201]],["content/109",[68,9.599,83,4.056,179,7.014,205,5.769,244,4.644,279,8.187,293,5.397,423,8.187,458,8.727]],["keywords/109",[]],["title/110",[416,574.995]],["content/110",[68,5.191,76,9.844,83,2.721,136,6.993,179,6.672,196,4.706,208,5.492,218,6.131,227,6.309,245,4.932,262,5.492,337,6.309,417,5.684,425,5.191,430,5.492,431,5.492,433,8.301,458,5.855,637,4.932,640,5.855,839,6.917,840,6.917,1088,7.84,1089,7.84,1090,7.84,1091,7.84]],["keywords/110",[]],["title/111",[244,414.272]],["content/111",[37,5.419,419,10.974,860,12.031]],["keywords/111",[]],["title/112",[305,484.993,420,428.712]],["content/112",[349,6.407]],["keywords/112",[]],["title/113",[399,391.909]],["content/113",[349,6.407]],["keywords/113",[]]],"invertedIndex":[["",{"_index":37,"title":{},"content":{"3":{"position":[[175,1],[184,1],[292,2],[295,1]]},"4":{"position":[[80,1]]},"16":{"position":[[57,1]]},"17":{"position":[[189,1],[339,1],[358,1],[378,1],[462,1],[464,1],[466,2]]},"22":{"position":[[242,2]]},"26":{"position":[[100,1],[108,1],[154,2],[157,2]]},"29":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[203,2],[206,2],[209,2],[212,2],[215,2]]},"33":{"position":[[141,1],[156,1],[166,1],[175,1],[177,1],[218,2],[221,2],[224,2],[227,2],[230,2]]},"42":{"position":[[22,4]]},"48":{"position":[[9,1],[11,1],[124,2],[127,1],[185,1],[187,1]]},"59":{"position":[[200,2]]},"62":{"position":[[149,1],[199,1],[201,3],[268,1],[318,1]]},"63":{"position":[[117,3],[167,3]]},"65":{"position":[[57,3]]},"66":{"position":[[282,3]]},"67":{"position":[[129,1],[157,1],[274,2],[295,1],[392,2],[481,1],[566,1],[597,1],[622,1]]},"71":{"position":[[29,4]]},"78":{"position":[[9,1],[394,1]]},"87":{"position":[[9,1],[30,1],[32,1],[145,2],[148,1],[206,1],[208,2],[232,1],[617,1],[619,1]]},"111":{"position":[[29,4]]}},"keywords":{}}],["0",{"_index":859,"title":{},"content":{"70":{"position":[[765,4]]},"96":{"position":[[550,4],[564,2],[576,2],[588,2],[600,2]]}},"keywords":{}}],["0..1",{"_index":839,"title":{},"content":{"70":{"position":[[229,4],[525,4],[1119,4]]},"110":{"position":[[243,4]]}},"keywords":{}}],["01",{"_index":436,"title":{},"content":{"48":{"position":[[43,2],[98,2],[159,2]]},"87":{"position":[[64,2],[119,2],[180,2]]}},"keywords":{}}],["01t00:00:00.000z"",{"_index":437,"title":{},"content":{"48":{"position":[[46,23]]},"87":{"position":[[67,23]]}},"keywords":{}}],["02",{"_index":129,"title":{},"content":{"14":{"position":[[28,2],[59,2]]}},"keywords":{}}],["02t00:00:00.000z"",{"_index":439,"title":{},"content":{"48":{"position":[[101,22]]},"87":{"position":[[122,22]]}},"keywords":{}}],["03t00:00:00.000z"",{"_index":440,"title":{},"content":{"48":{"position":[[162,22]]},"87":{"position":[[183,22]]}},"keywords":{}}],["07",{"_index":971,"title":{},"content":{"92":{"position":[[545,2]]},"96":{"position":[[259,2]]}},"keywords":{}}],["07/schema.$id",{"_index":909,"title":{},"content":{"82":{"position":[[543,13]]}},"keywords":{}}],["07rfc",{"_index":935,"title":{},"content":{"83":{"position":[[7,5]]}},"keywords":{}}],["1",{"_index":141,"title":{},"content":{"14":{"position":[[177,1]]},"57":{"position":[[744,1]]}},"keywords":{}}],["1..1",{"_index":433,"title":{},"content":{"47":{"position":[[56,4]]},"77":{"position":[[56,4]]},"86":{"position":[[56,4]]},"110":{"position":[[63,4],[184,4]]}},"keywords":{}}],["1.0",{"_index":381,"title":{},"content":{"32":{"position":[[19,3],[73,3],[133,3],[200,3],[251,3]]}},"keywords":{}}],["1.0/hello.md",{"_index":395,"title":{},"content":{"34":{"position":[[91,12]]}},"keywords":{}}],["10",{"_index":878,"title":{},"content":{"73":{"position":[[646,4]]}},"keywords":{}}],["10646",{"_index":948,"title":{},"content":{"91":{"position":[[177,5]]}},"keywords":{}}],["10px",{"_index":806,"title":{},"content":{"67":{"position":[[247,7]]}},"keywords":{}}],["1123",{"_index":981,"title":{},"content":{"94":{"position":[[59,5]]},"106":{"position":[[30,4]]}},"keywords":{}}],["12",{"_index":874,"title":{},"content":{"73":{"position":[[502,4]]}},"keywords":{}}],["18.0",{"_index":62,"title":{},"content":{"7":{"position":[[17,4]]}},"keywords":{}}],["1standard",{"_index":949,"title":{},"content":{"91":{"position":[[183,10]]}},"keywords":{}}],["2",{"_index":385,"title":{},"content":{"32":{"position":[[187,1]]},"57":{"position":[[752,1]]}},"keywords":{}}],["2.1",{"_index":982,"title":{},"content":{"94":{"position":[[73,3]]}},"keywords":{}}],["2.2",{"_index":992,"title":{},"content":{"95":{"position":[[179,4]]}},"keywords":{}}],["2.3.2.3",{"_index":984,"title":{},"content":{"94":{"position":[[201,8]]}},"keywords":{}}],["20px",{"_index":803,"title":{},"content":{"67":{"position":[[215,7]]}},"keywords":{}}],["2373",{"_index":991,"title":{},"content":{"95":{"position":[[165,5]]},"106":{"position":[[55,4]]}},"keywords":{}}],["262",{"_index":1021,"title":{},"content":{"98":{"position":[[66,3]]}},"keywords":{}}],["262json",{"_index":1070,"title":{},"content":{"106":{"position":[[6,7]]}},"keywords":{}}],["2673",{"_index":989,"title":{},"content":{"95":{"position":[[104,5]]},"106":{"position":[[70,4]]}},"keywords":{}}],["28",{"_index":130,"title":{},"content":{"14":{"position":[[31,2],[62,2]]}},"keywords":{}}],["3",{"_index":171,"title":{},"content":{"17":{"position":[[183,1]]}},"keywords":{}}],["3.2",{"_index":990,"title":{},"content":{"95":{"position":[[118,4]]}},"keywords":{}}],["3166",{"_index":646,"title":{},"content":{"57":{"position":[[739,4]]}},"keywords":{}}],["3339",{"_index":957,"title":{},"content":{"92":{"position":[[53,5]]},"106":{"position":[[85,4]]}},"keywords":{}}],["3629",{"_index":946,"title":{},"content":{"91":{"position":[[138,5]]},"106":{"position":[[109,4]]}},"keywords":{}}],["3986",{"_index":994,"title":{},"content":{"96":{"position":[[71,5]]},"106":{"position":[[125,4]]}},"keywords":{}}],["4.1.2",{"_index":975,"title":{},"content":{"93":{"position":[[76,5]]}},"keywords":{}}],["4122",{"_index":1002,"title":{},"content":{"96":{"position":[[480,5],[727,4]]},"106":{"position":[[139,4]]}},"keywords":{}}],["5)rfc",{"_index":1080,"title":{},"content":{"106":{"position":[[153,5]]}},"keywords":{}}],["5.6",{"_index":958,"title":{},"content":{"92":{"position":[[67,3]]}},"keywords":{}}],["515112",{"_index":649,"title":{},"content":{"57":{"position":[[776,6]]}},"keywords":{}}],["5321",{"_index":974,"title":{},"content":{"93":{"position":[[62,5]]},"106":{"position":[[159,4]]}},"keywords":{}}],["5890",{"_index":983,"title":{},"content":{"94":{"position":[[187,5]]},"106":{"position":[[180,4]]}},"keywords":{}}],["6",{"_index":1012,"title":{},"content":{"96":{"position":[[759,1]]}},"keywords":{}}],["600",{"_index":190,"title":{},"content":{"19":{"position":[[89,3]]}},"keywords":{}}],["6531",{"_index":979,"title":{},"content":{"93":{"position":[[186,5]]},"106":{"position":[[221,4]]}},"keywords":{}}],["6570",{"_index":1018,"title":{},"content":{"97":{"position":[[206,5]]},"106":{"position":[[255,4]]}},"keywords":{}}],["8",{"_index":944,"title":{},"content":{"91":{"position":[[108,1]]},"96":{"position":[[761,2]]},"106":{"position":[[307,2]]}},"keywords":{}}],["8)rfc",{"_index":1077,"title":{},"content":{"106":{"position":[[119,5]]}},"keywords":{}}],["8259",{"_index":936,"title":{},"content":{"83":{"position":[[13,4]]},"106":{"position":[[278,4]]}},"keywords":{}}],["8601",{"_index":961,"title":{},"content":{"92":{"position":[[105,5]]}},"keywords":{}}],["9562",{"_index":1010,"title":{},"content":{"96":{"position":[[704,4]]},"106":{"position":[[293,4]]}},"keywords":{}}],["9a",{"_index":1003,"title":{},"content":{"96":{"position":[[555,2],[567,2],[579,2],[591,2],[603,2]]}},"keywords":{}}],["a[pi",{"_index":770,"title":{},"content":{"66":{"position":[[21,7]]}},"keywords":{}}],["abil",{"_index":260,"title":{},"content":{"20":{"position":[[529,7]]},"23":{"position":[[555,7],[884,7]]},"99":{"position":[[108,7]]}},"keywords":{}}],["abov",{"_index":63,"title":{},"content":{"7":{"position":[[25,6]]}},"keywords":{}}],["absenc",{"_index":1061,"title":{},"content":{"103":{"position":[[125,7]]}},"keywords":{}}],["absolut",{"_index":730,"title":{},"content":{"61":{"position":[[53,8]]}},"keywords":{}}],["accept",{"_index":1056,"title":{},"content":{"102":{"position":[[154,8]]},"103":{"position":[[64,10]]}},"keywords":{}}],["access",{"_index":369,"title":{},"content":{"28":{"position":[[94,10]]}},"keywords":{}}],["accesscr",{"_index":313,"title":{},"content":{"23":{"position":[[53,13]]}},"keywords":{}}],["accommod",{"_index":871,"title":{},"content":{"73":{"position":[[370,11]]}},"keywords":{}}],["accur",{"_index":294,"title":{},"content":{"21":{"position":[[239,10]]}},"keywords":{}}],["accuraci",{"_index":550,"title":{},"content":{"55":{"position":[[1682,8]]}},"keywords":{}}],["achiev",{"_index":336,"title":{},"content":{"23":{"position":[[437,7],[525,7]]},"64":{"position":[[126,8]]}},"keywords":{}}],["acronym",{"_index":441,"title":{"52":{"position":[[0,9]]}},"content":{},"keywords":{}}],["act",{"_index":455,"title":{},"content":{"54":{"position":[[86,3]]},"55":{"position":[[403,3],[868,3]]},"69":{"position":[[284,3]]},"70":{"position":[[1057,3]]}},"keywords":{}}],["action",{"_index":501,"title":{},"content":{"55":{"position":[[181,6],[1435,6]]},"63":{"position":[[147,6],[228,6]]}},"keywords":{}}],["activ",{"_index":458,"title":{},"content":{"54":{"position":[[224,11]]},"55":{"position":[[131,11],[249,8],[338,8],[381,8],[464,9],[821,8],[917,8],[1845,9],[2053,10]]},"109":{"position":[[102,9]]},"110":{"position":[[131,8]]}},"keywords":{}}],["actor",{"_index":449,"title":{"54":{"position":[[0,7]]}},"content":{"55":{"position":[[2439,6]]}},"keywords":{}}],["ad",{"_index":75,"title":{},"content":{"8":{"position":[[104,5]]},"96":{"position":[[735,6]]}},"keywords":{}}],["adapt",{"_index":237,"title":{},"content":{"19":{"position":[[821,5]]}},"keywords":{}}],["add",{"_index":164,"title":{"29":{"position":[[0,3]]},"33":{"position":[[0,3]]}},"content":{"17":{"position":[[67,3]]},"26":{"position":[[32,3]]},"29":{"position":[[42,3]]},"33":{"position":[[41,3]]},"55":{"position":[[2170,3]]}},"keywords":{}}],["addit",{"_index":612,"title":{},"content":{"56":{"position":[[1277,10]]},"91":{"position":[[313,9]]}},"keywords":{}}],["address",{"_index":973,"title":{"95":{"position":[[3,8]]}},"content":{"93":{"position":[[7,9]]},"95":{"position":[[4,9]]},"105":{"position":[[1,7]]}},"keywords":{}}],["adject",{"_index":565,"title":{},"content":{"55":{"position":[[2215,9]]}},"keywords":{}}],["admonit",{"_index":745,"title":{"63":{"position":[[0,12]]}},"content":{"63":{"position":[[43,11]]}},"keywords":{}}],["adopt",{"_index":283,"title":{},"content":{"21":{"position":[[64,5]]},"73":{"position":[[83,8]]}},"keywords":{}}],["agenc",{"_index":483,"title":{},"content":{"54":{"position":[[902,6],[964,6]]},"55":{"position":[[238,7]]}},"keywords":{}}],["agnost",{"_index":1008,"title":{},"content":{"96":{"position":[[643,8]]}},"keywords":{}}],["agreement",{"_index":528,"title":{},"content":{"55":{"position":[[1062,10]]}},"keywords":{}}],["ai",{"_index":275,"title":{},"content":{"20":{"position":[[825,3]]}},"keywords":{}}],["aim",{"_index":446,"title":{},"content":{"53":{"position":[[82,3]]}},"keywords":{}}],["air",{"_index":856,"title":{},"content":{"70":{"position":[[738,3]]}},"keywords":{}}],["alert",{"_index":782,"title":{},"content":{"66":{"position":[[178,7]]}},"keywords":{}}],["alert(`y",{"_index":810,"title":{},"content":{"67":{"position":[[297,10]]}},"keywords":{}}],["allow",{"_index":794,"title":{},"content":{"67":{"position":[[54,6]]}},"keywords":{}}],["alon",{"_index":187,"title":{},"content":{"19":{"position":[[69,5]]}},"keywords":{}}],["along",{"_index":669,"title":{},"content":{"57":{"position":[[1213,5]]}},"keywords":{}}],["alpha",{"_index":647,"title":{},"content":{"57":{"position":[[746,5]]}},"keywords":{}}],["altern",{"_index":880,"title":{},"content":{"73":{"position":[[716,12]]}},"keywords":{}}],["alway",{"_index":1038,"title":{},"content":{"100":{"position":[[75,6]]}},"keywords":{}}],["amend",{"_index":414,"title":{},"content":{"39":{"position":[[101,9]]},"55":{"position":[[660,5]]}},"keywords":{}}],["american",{"_index":651,"title":{},"content":{"57":{"position":[[796,8]]}},"keywords":{}}],["amp",{"_index":431,"title":{},"content":{"47":{"position":[[35,5]]},"70":{"position":[[194,5]]},"77":{"position":[[35,5]]},"86":{"position":[[35,5]]},"110":{"position":[[35,5]]}},"keywords":{}}],["analysi",{"_index":319,"title":{},"content":{"23":{"position":[[142,8]]},"66":{"position":[[110,10]]}},"keywords":{}}],["analyt",{"_index":199,"title":{},"content":{"19":{"position":[[196,9]]},"23":{"position":[[474,9]]}},"keywords":{}}],["and/or",{"_index":697,"title":{},"content":{"57":{"position":[[1978,6]]},"70":{"position":[[137,6]]},"73":{"position":[[204,6],[457,6]]},"92":{"position":[[6,6]]},"100":{"position":[[340,6]]}},"keywords":{}}],["annot",{"_index":897,"title":{},"content":{"82":{"position":[[43,8]]}},"keywords":{}}],["answer",{"_index":563,"title":{},"content":{"55":{"position":[[2144,8]]},"56":{"position":[[381,7]]}},"keywords":{}}],["anyth",{"_index":931,"title":{},"content":{"82":{"position":[[1361,8]]}},"keywords":{}}],["anywher",{"_index":119,"title":{},"content":{"12":{"position":[[156,8]]}},"keywords":{}}],["api",{"_index":692,"title":{},"content":{"57":{"position":[[1894,3],[1935,5],[2072,4],[2121,4]]}},"keywords":{}}],["appear",{"_index":377,"title":{},"content":{"29":{"position":[[244,7]]},"33":{"position":[[261,7]]}},"keywords":{}}],["applic",{"_index":413,"title":{},"content":{"39":{"position":[[79,11]]},"54":{"position":[[507,10],[521,11],[882,10],[1000,12],[1083,12]]},"55":{"position":[[599,11],[1392,12],[1477,12],[2081,10],[2159,10],[2241,11],[2335,12]]},"56":{"position":[[210,11],[964,11],[1247,11]]},"57":{"position":[[1901,11]]}},"keywords":{}}],["application/json",{"_index":689,"title":{},"content":{"57":{"position":[[1828,17]]}},"keywords":{}}],["appropri",{"_index":312,"title":{},"content":{"23":{"position":[[36,11]]}},"keywords":{}}],["approv",{"_index":465,"title":{},"content":{"54":{"position":[[392,10],[768,8]]},"66":{"position":[[60,9]]}},"keywords":{}}],["area",{"_index":502,"title":{},"content":{"55":{"position":[[198,4],[745,4],[1614,5]]},"73":{"position":[[116,5]]}},"keywords":{}}],["around",{"_index":155,"title":{},"content":{"14":{"position":[[476,6]]}},"keywords":{}}],["array",{"_index":713,"title":{"101":{"position":[[0,6]]}},"content":{"59":{"position":[[351,5]]},"82":{"position":[[1262,5],[1398,5]]},"101":{"position":[[1,6],[61,5],[116,5],[307,5],[444,6]]}},"keywords":{}}],["asiso",{"_index":960,"title":{},"content":{"92":{"position":[[99,5]]}},"keywords":{}}],["assign",{"_index":828,"title":{},"content":{"69":{"position":[[180,7]]},"70":{"position":[[953,7]]}},"keywords":{}}],["associ",{"_index":506,"title":{},"content":{"55":{"position":[[354,10]]},"57":{"position":[[1770,10]]}},"keywords":{}}],["at"",{"_index":610,"title":{},"content":{"56":{"position":[[1168,8]]}},"keywords":{}}],["attempt",{"_index":543,"title":{},"content":{"55":{"position":[[1531,7]]}},"keywords":{}}],["attribut",{"_index":844,"title":{},"content":{"70":{"position":[[391,9]]},"82":{"position":[[388,11],[1186,10]]}},"keywords":{}}],["author",{"_index":135,"title":{},"content":{"14":{"position":[[116,8]]},"19":{"position":[[577,13]]},"54":{"position":[[190,13],[316,9],[376,15],[610,13],[1194,13]]},"55":{"position":[[282,15],[669,14],[850,13],[965,14],[1999,14]]},"56":{"position":[[229,13],[979,13],[1262,14]]},"78":{"position":[[85,13]]},"87":{"position":[[308,13]]}},"keywords":{}}],["autom",{"_index":253,"title":{},"content":{"20":{"position":[[324,8]]}},"keywords":{}}],["automat",{"_index":74,"title":{},"content":{"8":{"position":[[87,13]]},"9":{"position":[[438,13]]},"17":{"position":[[12,13]]}},"keywords":{}}],["automation.unlock",{"_index":259,"title":{},"content":{"20":{"position":[[507,17]]}},"keywords":{}}],["avail",{"_index":47,"title":{},"content":{"3":{"position":[[317,9]]},"4":{"position":[[143,9]]},"14":{"position":[[548,9]]},"16":{"position":[[131,9]]},"73":{"position":[[357,9]]},"91":{"position":[[509,9]]}},"keywords":{}}],["awesom",{"_index":750,"title":{},"content":{"63":{"position":[[94,7],[189,7]]}},"keywords":{}}],["b",{"_index":765,"title":{},"content":{"65":{"position":[[39,1]]},"66":{"position":[[70,1],[90,1],[243,1]]}},"keywords":{}}],["b(stakehold",{"_index":773,"title":{},"content":{"66":{"position":[[46,13]]}},"keywords":{}}],["b.c.'",{"_index":182,"title":{},"content":{"19":{"position":[[32,6]]}},"keywords":{}}],["backgroundcolor",{"_index":801,"title":{},"content":{"67":{"position":[[177,16]]}},"keywords":{}}],["band",{"_index":914,"title":{},"content":{"82":{"position":[[708,4]]}},"keywords":{}}],["barfind",{"_index":17,"title":{},"content":{"1":{"position":[[175,7]]}},"keywords":{}}],["base",{"_index":273,"title":{},"content":{"20":{"position":[[780,5]]},"99":{"position":[[272,5]]}},"keywords":{}}],["bc",{"_index":522,"title":{},"content":{"55":{"position":[[961,3],[1908,3]]},"73":{"position":[[56,2],[223,2],[305,2]]},"74":{"position":[[1,2],[28,2]]}},"keywords":{}}],["be",{"_index":559,"title":{},"content":{"55":{"position":[[1962,5]]},"69":{"position":[[232,5]]},"70":{"position":[[1005,5]]}},"keywords":{}}],["befor",{"_index":1016,"title":{},"content":{"97":{"position":[[147,6]]}},"keywords":{}}],["begin",{"_index":587,"title":{},"content":{"56":{"position":[[340,9]]}},"keywords":{}}],["behalf",{"_index":869,"title":{},"content":{"73":{"position":[[264,6]]}},"keywords":{}}],["behind",{"_index":402,"title":{},"content":{"36":{"position":[[73,6]]}},"keywords":{}}],["belong",{"_index":510,"title":{},"content":{"55":{"position":[[522,6]]}},"keywords":{}}],["best",{"_index":297,"title":{},"content":{"22":{"position":[[7,4]]}},"keywords":{}}],["better",{"_index":227,"title":{},"content":{"19":{"position":[[683,6]]},"20":{"position":[[78,6]]},"110":{"position":[[320,6]]}},"keywords":{}}],["between",{"_index":577,"title":{},"content":{"55":{"position":[[2423,7]]},"56":{"position":[[1597,7]]},"57":{"position":[[1495,7]]},"73":{"position":[[584,7]]},"82":{"position":[[301,7]]},"99":{"position":[[133,7]]}},"keywords":{}}],["block",{"_index":737,"title":{"62":{"position":[[5,7]]}},"content":{"62":{"position":[[15,6]]}},"keywords":{}}],["blog",{"_index":126,"title":{"13":{"position":[[9,4]]}},"content":{"14":{"position":[[531,4]]}},"keywords":{}}],["blog/2021",{"_index":128,"title":{},"content":{"14":{"position":[[18,9],[49,9]]}},"keywords":{}}],["blue",{"_index":820,"title":{},"content":{"67":{"position":[[617,4]]}},"keywords":{}}],["blue</highlight>",{"_index":817,"title":{},"content":{"67":{"position":[[543,22]]}},"keywords":{}}],["boolean",{"_index":629,"title":{"102":{"position":[[0,8]]}},"content":{"57":{"position":[[283,8]]},"102":{"position":[[1,8],[191,8]]}},"keywords":{}}],["border",{"_index":579,"title":{},"content":{"55":{"position":[[2460,8]]}},"keywords":{}}],["borderradiu",{"_index":802,"title":{},"content":{"67":{"position":[[201,13]]}},"keywords":{}}],["both",{"_index":641,"title":{},"content":{"57":{"position":[[572,4]]}},"keywords":{}}],["boundari",{"_index":1051,"title":{},"content":{"101":{"position":[[426,10]]}},"keywords":{}}],["brief",{"_index":924,"title":{},"content":{"82":{"position":[[1032,5],[1066,5]]}},"keywords":{}}],["british",{"_index":825,"title":{},"content":{"69":{"position":[[148,7]]},"70":{"position":[[921,7]]}},"keywords":{}}],["broader",{"_index":594,"title":{},"content":{"56":{"position":[[490,7],[1107,7],[1456,7]]}},"keywords":{}}],["build",{"_index":101,"title":{"11":{"position":[[0,5]]},"30":{"position":[[0,5]]}},"content":{"9":{"position":[[247,6]]},"11":{"position":[[1,5],[42,5],[88,5]]},"12":{"position":[[22,5],[58,5],[136,5]]},"30":{"position":[[1,5],[49,5],[75,5],[136,5]]},"54":{"position":[[759,8]]},"70":{"position":[[721,8]]}},"keywords":{}}],["built",{"_index":955,"title":{},"content":{"91":{"position":[[519,5]]}},"keywords":{}}],["bundl",{"_index":331,"title":{"108":{"position":[[8,6]]}},"content":{"23":{"position":[[350,8]]},"55":{"position":[[390,8]]}},"keywords":{}}],["busi",{"_index":228,"title":{},"content":{"19":{"position":[[690,8]]},"52":{"position":[[28,8]]},"73":{"position":[[107,8]]}},"keywords":{}}],["c",{"_index":767,"title":{},"content":{"65":{"position":[[48,1]]},"66":{"position":[[121,1],[156,1],[186,1],[268,1]]}},"keywords":{}}],["call",{"_index":706,"title":{},"content":{"59":{"position":[[45,6]]},"100":{"position":[[134,6]]}},"keywords":{}}],["callout",{"_index":747,"title":{},"content":{"63":{"position":[[59,9]]}},"keywords":{}}],["can't",{"_index":209,"title":{},"content":{"19":{"position":[[351,5]]}},"keywords":{}}],["canada",{"_index":648,"title":{},"content":{"57":{"position":[[763,6]]}},"keywords":{}}],["captur",{"_index":534,"title":{},"content":{"55":{"position":[[1271,7]]}},"keywords":{}}],["cardin",{"_index":430,"title":{},"content":{"47":{"position":[[6,11]]},"70":{"position":[[165,11]]},"77":{"position":[[6,11]]},"86":{"position":[[6,11]]},"110":{"position":[[6,11]]}},"keywords":{}}],["care",{"_index":752,"title":{},"content":{"63":{"position":[[136,5],[218,4]]}},"keywords":{}}],["carri",{"_index":555,"title":{},"content":{"55":{"position":[[1824,5]]}},"keywords":{}}],["case",{"_index":1000,"title":{},"content":{"96":{"position":[[406,6]]}},"keywords":{}}],["caseload",{"_index":532,"title":{},"content":{"55":{"position":[[1219,8]]}},"keywords":{}}],["cast",{"_index":1057,"title":{},"content":{"102":{"position":[[218,6]]}},"keywords":{}}],["catalogu",{"_index":870,"title":{},"content":{"73":{"position":[[313,10]]}},"keywords":{}}],["catalogueparcelmap",{"_index":881,"title":{},"content":{"74":{"position":[[9,18]]}},"keywords":{}}],["categor",{"_index":623,"title":{},"content":{"56":{"position":[[1578,14]]}},"keywords":{}}],["categori",{"_index":176,"title":{},"content":{"17":{"position":[[386,11]]}},"keywords":{}}],["caution",{"_index":371,"title":{},"content":{"28":{"position":[[179,7]]}},"keywords":{}}],["cd",{"_index":93,"title":{},"content":{"9":{"position":[[30,2],[64,2]]}},"keywords":{}}],["certain",{"_index":507,"title":{},"content":{"55":{"position":[[456,7]]},"82":{"position":[[835,7]]},"102":{"position":[[79,7]]}},"keywords":{}}],["chang",{"_index":94,"title":{},"content":{"9":{"position":[[75,7],[470,8]]}},"keywords":{}}],["characterist",{"_index":226,"title":{},"content":{"19":{"position":[[637,15]]}},"keywords":{}}],["chart",{"_index":757,"title":{},"content":{"64":{"position":[[50,8],[188,6]]}},"keywords":{}}],["check",{"_index":66,"title":{},"content":{"7":{"position":[[80,5]]},"97":{"position":[[212,5]]},"98":{"position":[[79,5]]}},"keywords":{}}],["checkbox",{"_index":67,"title":{},"content":{"7":{"position":[[90,10]]}},"keywords":{}}],["children",{"_index":797,"title":{},"content":{"67":{"position":[[131,11],[346,13],[367,10]]}},"keywords":{}}],["class",{"_index":852,"title":{},"content":{"70":{"position":[[684,5]]}},"keywords":{}}],["classic",{"_index":72,"title":{},"content":{"8":{"position":[[42,7],[65,7],[192,7]]}},"keywords":{}}],["classif",{"_index":398,"title":{"36":{"position":[[0,16]]}},"content":{"36":{"position":[[85,14]]},"38":{"position":[[6,14]]},"57":{"position":[[432,14],[676,14],[814,14]]}},"keywords":{}}],["clear",{"_index":287,"title":{},"content":{"21":{"position":[[96,5]]}},"keywords":{}}],["clearli",{"_index":295,"title":{},"content":{"21":{"position":[[254,8]]}},"keywords":{}}],["click",{"_index":811,"title":{},"content":{"67":{"position":[[308,7]]}},"keywords":{}}],["client",{"_index":572,"title":{},"content":{"55":{"position":[[2321,6]]}},"keywords":{}}],["close",{"_index":735,"title":{},"content":{"61":{"position":[[296,5]]}},"keywords":{}}],["co",{"_index":139,"title":{},"content":{"14":{"position":[[152,2]]}},"keywords":{}}],["code",{"_index":88,"title":{"38":{"position":[[0,4]]},"40":{"position":[[0,4]]},"62":{"position":[[0,4]]}},"content":{"8":{"position":[[312,4]]},"57":{"position":[[661,4],[754,4],[844,4]]},"62":{"position":[[10,4]]}},"keywords":{}}],["codelist",{"_index":635,"title":{},"content":{"57":{"position":[[420,8]]}},"keywords":{}}],["codifi",{"_index":408,"title":{},"content":{"38":{"position":[[84,8]]}},"keywords":{}}],["collect",{"_index":193,"title":{},"content":{"19":{"position":[[132,8],[320,11]]},"56":{"position":[[699,10]]}},"keywords":{}}],["coloc",{"_index":734,"title":{},"content":{"61":{"position":[[280,8]]}},"keywords":{}}],["color",{"_index":798,"title":{},"content":{"67":{"position":[[143,7],[194,6],[223,6],[320,5],[326,8]]}},"keywords":{}}],["color="#1877f2">facebook",{"_index":816,"title":{},"content":{"67":{"position":[[505,37]]}},"keywords":{}}],["color="#25c2a0">docusauru",{"_index":814,"title":{},"content":{"67":{"position":[[417,39]]}},"keywords":{}}],["columbia",{"_index":826,"title":{},"content":{"69":{"position":[[156,9]]},"70":{"position":[[929,9]]}},"keywords":{}}],["column",{"_index":665,"title":{},"content":{"57":{"position":[[1164,6]]}},"keywords":{}}],["come",{"_index":551,"title":{},"content":{"55":{"position":[[1712,4]]},"56":{"position":[[524,5]]}},"keywords":{}}],["command",{"_index":78,"title":{},"content":{"8":{"position":[[144,8],[220,7],[233,7],[330,7]]},"9":{"position":[[67,7],[239,7]]}},"keywords":{}}],["comment",{"_index":489,"title":{},"content":{"54":{"position":[[1068,8]]},"82":{"position":[[743,8]]}},"keywords":{}}],["common",{"_index":211,"title":{},"content":{"19":{"position":[[377,6]]},"21":{"position":[[138,6]]},"22":{"position":[[82,6]]},"23":{"position":[[672,6]]},"53":{"position":[[99,6]]},"55":{"position":[[43,6]]},"56":{"position":[[43,6]]},"57":{"position":[[260,6],[1364,6],[1846,6],[2051,6]]},"70":{"position":[[703,6]]},"91":{"position":[[419,6]]}},"keywords":{}}],["commonbuilt",{"_index":953,"title":{},"content":{"91":{"position":[[333,11]]}},"keywords":{}}],["commonli",{"_index":643,"title":{},"content":{"57":{"position":[[647,8]]},"82":{"position":[[18,8]]},"92":{"position":[[84,8]]},"96":{"position":[[98,8]]}},"keywords":{}}],["commun",{"_index":22,"title":{},"content":{"1":{"position":[[253,9]]},"20":{"position":[[646,11],[722,11]]}},"keywords":{}}],["comparison",{"_index":938,"title":{},"content":{"83":{"position":[[44,10]]},"107":{"position":[[21,10]]}},"keywords":{}}],["compat",{"_index":222,"title":{},"content":{"19":{"position":[[507,13]]},"92":{"position":[[204,10]]},"96":{"position":[[665,14]]}},"keywords":{}}],["compil",{"_index":848,"title":{},"content":{"70":{"position":[[449,12]]}},"keywords":{}}],["complet",{"_index":561,"title":{},"content":{"55":{"position":[[2107,9]]},"56":{"position":[[164,8]]},"59":{"position":[[450,8]]}},"keywords":{}}],["complex",{"_index":180,"title":{},"content":{"19":{"position":[[17,7]]}},"keywords":{}}],["compli",{"_index":904,"title":{},"content":{"82":{"position":[[459,8]]},"95":{"position":[[89,6],[149,6]]},"96":{"position":[[56,6],[465,6]]},"97":{"position":[[191,6]]},"98":{"position":[[46,6]]}},"keywords":{}}],["compliant",{"_index":970,"title":{},"content":{"92":{"position":[[524,9]]},"93":{"position":[[170,9]]},"94":{"position":[[171,9]]},"96":{"position":[[238,9]]}},"keywords":{}}],["compon",{"_index":793,"title":{"67":{"position":[[14,11]]}},"content":{"67":{"position":[[77,10]]}},"keywords":{}}],["concept",{"_index":302,"title":{"37":{"position":[[0,7]]},"53":{"position":[[0,9]]}},"content":{"22":{"position":[[100,8]]},"38":{"position":[[108,8]]},"46":{"position":[[50,7]]},"53":{"position":[[38,8]]},"55":{"position":[[92,8],[723,7]]},"56":{"position":[[92,8],[372,8],[1177,7],[1525,7]]},"76":{"position":[[50,7]]}},"keywords":{}}],["conceptu",{"_index":901,"title":{},"content":{"82":{"position":[[276,10]]}},"keywords":{}}],["concise.descript",{"_index":925,"title":{},"content":{"82":{"position":[[1042,19]]}},"keywords":{}}],["condit",{"_index":604,"title":{},"content":{"56":{"position":[[948,9],[1221,9]]}},"keywords":{}}],["configur",{"_index":7,"title":{"17":{"position":[[0,9]]},"26":{"position":[[0,9]]}},"content":{"1":{"position":[[49,13]]}},"keywords":{}}],["congratul",{"_index":0,"title":{"0":{"position":[[0,16]]}},"content":{"14":{"position":[[410,16]]}},"keywords":{}}],["connect",{"_index":256,"title":{},"content":{"20":{"position":[[381,7]]}},"keywords":{}}],["consid",{"_index":930,"title":{},"content":{"82":{"position":[[1343,10]]}},"keywords":{}}],["consist",{"_index":252,"title":{},"content":{"20":{"position":[[281,12],[548,10]]},"23":{"position":[[445,11]]},"57":{"position":[[932,10]]},"101":{"position":[[79,7]]}},"keywords":{}}],["consistencyidentifi",{"_index":327,"title":{},"content":{"23":{"position":[[258,19]]}},"keywords":{}}],["consistently.support",{"_index":269,"title":{},"content":{"20":{"position":[[671,20]]}},"keywords":{}}],["const",{"_index":796,"title":{},"content":{"67":{"position":[[113,5]]}},"keywords":{}}],["constrain",{"_index":658,"title":{},"content":{"57":{"position":[[985,11]]},"91":{"position":[[221,11]]},"96":{"position":[[322,11]]},"99":{"position":[[487,11]]},"100":{"position":[[293,9]]},"101":{"position":[[145,9]]}},"keywords":{}}],["constraint",{"_index":934,"title":{},"content":{"82":{"position":[[1456,10]]},"101":{"position":[[313,11]]}},"keywords":{}}],["constraintslegal_descript",{"_index":838,"title":{},"content":{"70":{"position":[[200,28]]}},"keywords":{}}],["constraintsproject_id",{"_index":1088,"title":{},"content":{"110":{"position":[[41,21]]}},"keywords":{}}],["constraintstbd",{"_index":432,"title":{},"content":{"47":{"position":[[41,14]]},"77":{"position":[[41,14]]},"86":{"position":[[41,14]]}},"keywords":{}}],["consult",{"_index":334,"title":{},"content":{"23":{"position":[[396,12]]}},"keywords":{}}],["contain",{"_index":425,"title":{},"content":{"46":{"position":[[86,7]]},"70":{"position":[[44,7],[109,7]]},"82":{"position":[[366,7],[615,7]]},"97":{"position":[[99,8]]},"101":{"position":[[211,8]]},"110":{"position":[[297,7]]}},"keywords":{}}],["content",{"_index":364,"title":{},"content":{"27":{"position":[[88,7],[153,7],[221,7]]},"82":{"position":[[93,8]]}},"keywords":{}}],["context",{"_index":405,"title":{},"content":{"38":{"position":[[32,7]]},"54":{"position":[[104,7]]},"55":{"position":[[1919,7]]},"57":{"position":[[528,7]]},"82":{"position":[[1147,7]]}},"keywords":{}}],["context"",{"_index":567,"title":{},"content":{"55":{"position":[[2253,14]]}},"keywords":{}}],["contribut",{"_index":282,"title":{},"content":{"21":{"position":[[49,10]]}},"keywords":{}}],["convention",{"_index":1040,"title":{},"content":{"100":{"position":[[119,14]]}},"keywords":{}}],["convey",{"_index":615,"title":{},"content":{"56":{"position":[[1334,8]]},"82":{"position":[[691,9]]},"93":{"position":[[109,8]]},"94":{"position":[[107,8]]}},"keywords":{}}],["copi",{"_index":358,"title":{},"content":{"27":{"position":[[1,4]]},"32":{"position":[[98,6]]}},"keywords":{}}],["core",{"_index":217,"title":{},"content":{"19":{"position":[[443,4]]},"46":{"position":[[45,4]]},"57":{"position":[[1288,4]]},"76":{"position":[[45,4]]}},"keywords":{}}],["cost",{"_index":124,"title":{},"content":{"12":{"position":[[196,4]]},"20":{"position":[[148,5],[474,4]]}},"keywords":{}}],["cours",{"_index":308,"title":{},"content":{"22":{"position":[[214,7]]}},"keywords":{}}],["cp",{"_index":366,"title":{},"content":{"27":{"position":[[110,2]]}},"keywords":{}}],["creat",{"_index":23,"title":{"2":{"position":[[0,6]]},"3":{"position":[[0,6]]},"4":{"position":[[0,6]]},"13":{"position":[[0,6]]},"14":{"position":[[0,6]]},"15":{"position":[[0,6]]},"16":{"position":[[0,6]]},"32":{"position":[[0,6]]}},"content":{"3":{"position":[[1,6]]},"4":{"position":[[1,6]]},"6":{"position":[[16,8]]},"9":{"position":[[151,7]]},"14":{"position":[[1,6]]},"16":{"position":[[1,6]]},"17":{"position":[[26,7],[264,6]]},"20":{"position":[[592,6]]},"32":{"position":[[158,8]]},"60":{"position":[[97,7],[149,7],[213,6]]},"63":{"position":[[36,6]]}},"keywords":{}}],["creator",{"_index":140,"title":{},"content":{"14":{"position":[[155,7]]}},"keywords":{}}],["cross",{"_index":311,"title":{},"content":{"23":{"position":[[10,5],[313,5]]}},"keywords":{}}],["crown",{"_index":833,"title":{},"content":{"69":{"position":[[389,5]]},"70":{"position":[[365,5],[1178,5]]}},"keywords":{}}],["csv",{"_index":690,"title":{},"content":{"57":{"position":[[1880,4]]}},"keywords":{}}],["current",{"_index":603,"title":{},"content":{"56":{"position":[[940,7],[1213,7],[1306,7]]},"61":{"position":[[227,7]]}},"keywords":{}}],["cursor",{"_index":807,"title":{},"content":{"67":{"position":[[255,7]]}},"keywords":{}}],["custom",{"_index":13,"title":{},"content":{"1":{"position":[[138,6]]},"17":{"position":[[83,9]]},"59":{"position":[[167,6]]}},"keywords":{}}],["c{purpos",{"_index":775,"title":{},"content":{"66":{"position":[[79,10]]}},"keywords":{}}],["d",{"_index":788,"title":{},"content":{"66":{"position":[[270,1]]}},"keywords":{}}],["d[document",{"_index":778,"title":{},"content":{"66":{"position":[[135,10]]}},"keywords":{}}],["danger",{"_index":753,"title":{},"content":{"63":{"position":[[157,9],[238,9]]}},"keywords":{}}],["danger[tak",{"_index":751,"title":{},"content":{"63":{"position":[[121,14]]}},"keywords":{}}],["dash",{"_index":866,"title":{},"content":{"73":{"position":[[211,7],[464,7],[577,6]]}},"keywords":{}}],["data",{"_index":205,"title":{},"content":{"19":{"position":[[282,4],[460,4]]},"20":{"position":[[85,4],[199,4],[276,4]]},"21":{"position":[[112,4],[219,4]]},"22":{"position":[[49,4],[113,4]]},"23":{"position":[[48,4],[225,4],[773,4],[862,4],[905,4],[936,4]]},"46":{"position":[[6,4]]},"57":{"position":[[150,4],[251,4],[267,4],[390,4],[1091,4],[1119,4],[1208,4],[1247,4],[1442,4],[1740,5],[1853,4],[1993,4],[2067,4]]},"73":{"position":[[226,4],[256,4],[308,4]]},"74":{"position":[[4,4]]},"76":{"position":[[6,4]]},"85":{"position":[[6,4]]},"105":{"position":[[9,4]]},"109":{"position":[[6,4]]}},"keywords":{}}],["databas",{"_index":676,"title":{},"content":{"57":{"position":[[1456,8],[2020,9],[2102,9]]}},"keywords":{}}],["date",{"_index":631,"title":{"92":{"position":[[0,4]]}},"content":{"57":{"position":[[313,5]]},"92":{"position":[[1,4],[139,4],[295,4]]},"105":{"position":[[118,4]]},"106":{"position":[[90,5]]}},"keywords":{}}],["decim",{"_index":1023,"title":{},"content":{"99":{"position":[[1,8],[299,7]]}},"keywords":{}}],["decis",{"_index":198,"title":{},"content":{"19":{"position":[[186,9]]},"54":{"position":[[236,8],[263,8],[415,10],[624,9]]},"55":{"position":[[1324,8],[1364,8]]}},"keywords":{}}],["declar",{"_index":566,"title":{},"content":{"55":{"position":[[2225,9]]}},"keywords":{}}],["dedic",{"_index":470,"title":{},"content":{"54":{"position":[[486,9]]}},"keywords":{}}],["default",{"_index":34,"title":{},"content":{"3":{"position":[[144,7]]},"17":{"position":[[331,7]]},"26":{"position":[[92,7]]},"29":{"position":[[133,7]]},"33":{"position":[[133,7]]}},"keywords":{}}],["defaultlocal",{"_index":356,"title":{},"content":{"26":{"position":[[110,14]]}},"keywords":{}}],["defin",{"_index":225,"title":{},"content":{"19":{"position":[[614,6]]},"55":{"position":[[163,7],[216,7],[795,6],[1542,8],[2067,7]]},"56":{"position":[[587,7],[627,7],[729,7],[819,7],[1413,7]]},"57":{"position":[[206,8],[1472,8]]},"59":{"position":[[357,8]]},"76":{"position":[[63,7]]},"82":{"position":[[35,7],[135,6],[1268,8],[1370,7]]},"85":{"position":[[82,7]]},"100":{"position":[[320,6],[379,6]]}},"keywords":{}}],["definit",{"_index":401,"title":{"55":{"position":[[0,12]]}},"content":{"36":{"position":[[61,11]]},"55":{"position":[[27,11],[120,10],[1145,10]]},"56":{"position":[[27,11],[125,10],[1121,11],[1470,11]]},"57":{"position":[[45,11],[952,12],[1230,11],[1336,10]]},"100":{"position":[[444,11]]},"101":{"position":[[122,11]]}},"keywords":{}}],["definitionapplic",{"_index":456,"title":{},"content":{"54":{"position":[[127,19]]}},"keywords":{}}],["definitiondata",{"_index":624,"title":{},"content":{"57":{"position":[[118,14]]}},"keywords":{}}],["definitionlob",{"_index":443,"title":{},"content":{"52":{"position":[[6,13]]}},"keywords":{}}],["degre",{"_index":549,"title":{},"content":{"55":{"position":[[1671,7]]}},"keywords":{}}],["delici",{"_index":309,"title":{},"content":{"22":{"position":[[231,10]]}},"keywords":{}}],["deliv",{"_index":242,"title":{},"content":{"20":{"position":[[34,7]]},"54":{"position":[[475,10]]}},"keywords":{}}],["deliveri",{"_index":1064,"title":{},"content":{"105":{"position":[[34,8]]}},"keywords":{}}],["depend",{"_index":69,"title":{},"content":{"7":{"position":[[112,13]]},"8":{"position":[[366,12]]}},"keywords":{}}],["deploy",{"_index":114,"title":{"10":{"position":[[0,6]]},"12":{"position":[[0,6]]}},"content":{"12":{"position":[[125,6],[211,10]]}},"keywords":{}}],["deriv",{"_index":715,"title":{},"content":{"59":{"position":[[400,7]]}},"keywords":{}}],["describ",{"_index":411,"title":{},"content":{"39":{"position":[[31,9]]},"56":{"position":[[280,8]]},"57":{"position":[[21,8],[1551,9]]},"82":{"position":[[233,10],[265,10],[416,9]]},"96":{"position":[[120,9]]},"101":{"position":[[413,8]]},"105":{"position":[[142,10]]}},"keywords":{}}],["descript",{"_index":218,"title":{},"content":{"19":{"position":[[448,11]]},"47":{"position":[[23,11]]},"55":{"position":[[569,11]]},"56":{"position":[[921,11],[1194,11]]},"59":{"position":[[120,12],[145,11],[330,11]]},"70":{"position":[[182,11],[256,11]]},"77":{"position":[[23,11]]},"82":{"position":[[1072,11]]},"86":{"position":[[23,11]]},"110":{"position":[[23,11],[260,11]]}},"keywords":{}}],["descriptor",{"_index":410,"title":{"39":{"position":[[5,12]]}},"content":{"39":{"position":[[51,11]]}},"keywords":{}}],["design",{"_index":14,"title":{},"content":{"1":{"position":[[145,6]]},"54":{"position":[[305,10]]},"55":{"position":[[1603,10]]}},"keywords":{}}],["detail",{"_index":613,"title":{},"content":{"56":{"position":[[1288,7],[1482,8]]},"64":{"position":[[159,7],[241,7]]},"91":{"position":[[495,6]]},"93":{"position":[[240,8]]},"94":{"position":[[258,8]]},"95":{"position":[[232,8]]},"97":{"position":[[256,8]]},"98":{"position":[[123,8]]},"100":{"position":[[471,7]]},"102":{"position":[[298,8]]},"103":{"position":[[207,8]]}},"keywords":{}}],["develop",{"_index":91,"title":{},"content":{"9":{"position":[[9,11],[299,11]]},"23":{"position":[[743,9]]},"28":{"position":[[190,12]]},"54":{"position":[[738,12]]},"55":{"position":[[314,11]]},"59":{"position":[[186,9]]}},"keywords":{}}],["diagram",{"_index":575,"title":{},"content":{"55":{"position":[[2378,7]]},"56":{"position":[[1548,7]]},"64":{"position":[[34,11],[259,7]]}},"keywords":{}}],["dialect",{"_index":1022,"title":{},"content":{"98":{"position":[[70,8]]}},"keywords":{}}],["dictionari",{"_index":670,"title":{},"content":{"57":{"position":[[1252,11]]}},"keywords":{}}],["differ",{"_index":257,"title":{},"content":{"20":{"position":[[422,9],[692,9]]},"57":{"position":[[1503,9]]},"101":{"position":[[90,9]]}},"keywords":{}}],["differenti",{"_index":1026,"title":{},"content":{"99":{"position":[[119,13]]}},"keywords":{}}],["difficult",{"_index":202,"title":{},"content":{"19":{"position":[[245,9]]}},"keywords":{}}],["digit",{"_index":823,"title":{},"content":{"69":{"position":[[64,5]]},"70":{"position":[[841,5]]},"73":{"position":[[558,5]]}},"keywords":{}}],["digits.parcel_id_numb",{"_index":877,"title":{},"content":{"73":{"position":[[612,23]]}},"keywords":{}}],["direct",{"_index":238,"title":{},"content":{"19":{"position":[[840,9]]}},"keywords":{}}],["directori",{"_index":95,"title":{},"content":{"9":{"position":[[87,9]]},"61":{"position":[[102,9]]}},"keywords":{}}],["discret",{"_index":599,"title":{},"content":{"56":{"position":[[674,9]]}},"keywords":{}}],["discuss",{"_index":451,"title":{},"content":{"54":{"position":[[14,9]]}},"keywords":{}}],["display",{"_index":113,"title":{},"content":{"9":{"position":[[456,8]]}},"keywords":{}}],["disposit",{"_index":535,"title":{},"content":{"55":{"position":[[1302,11]]}},"keywords":{}}],["distinct",{"_index":591,"title":{},"content":{"56":{"position":[[417,8]]}},"keywords":{}}],["distribut",{"_index":868,"title":{},"content":{"73":{"position":[[239,11]]}},"keywords":{}}],["district",{"_index":476,"title":{},"content":{"54":{"position":[[678,8]]}},"keywords":{}}],["divis",{"_index":593,"title":{},"content":{"56":{"position":[[436,8]]}},"keywords":{}}],["doc",{"_index":159,"title":{"16":{"position":[[18,4]]},"27":{"position":[[12,4]]},"31":{"position":[[7,4]]},"32":{"position":[[9,4]]}},"content":{"17":{"position":[[53,4]]},"32":{"position":[[83,4],[173,4],[332,4]]},"33":{"position":[[239,4]]},"34":{"position":[[34,4]]}},"keywords":{}}],["doc.md",{"_index":707,"title":{},"content":{"59":{"position":[[70,6]]}},"keywords":{}}],["docs/curr",{"_index":365,"title":{},"content":{"27":{"position":[[96,13]]}},"keywords":{}}],["docs/current/intro.md",{"_index":367,"title":{},"content":{"27":{"position":[[161,21],[229,21]]}},"keywords":{}}],["docs/hello.md",{"_index":160,"title":{},"content":{"16":{"position":[[27,14],[43,13]]},"17":{"position":[[126,13]]}},"keywords":{}}],["docs/intro.md",{"_index":109,"title":{},"content":{"9":{"position":[[374,13]]},"27":{"position":[[10,13],[113,13]]}},"keywords":{}}],["docs:vers",{"_index":382,"title":{},"content":{"32":{"position":[[60,12]]}},"keywords":{}}],["docscurr",{"_index":387,"title":{},"content":{"32":{"position":[[255,11]]}},"keywords":{}}],["document",{"_index":158,"title":{"15":{"position":[[9,8]]},"22":{"position":[[0,14]]}},"content":{"16":{"position":[[95,11],[115,8]]},"17":{"position":[[227,11],[451,10]]},"22":{"position":[[26,11]]},"55":{"position":[[1788,8]]},"59":{"position":[[10,9],[105,8],[136,8]]},"64":{"position":[[218,13]]},"67":{"position":[[19,13]]},"82":{"position":[[79,9],[193,9],[1234,8],[1328,8]]},"91":{"position":[[472,13]]},"92":{"position":[[403,13]]},"93":{"position":[[217,13]]},"94":{"position":[[235,13]]},"95":{"position":[[209,13]]},"96":{"position":[[148,14]]},"97":{"position":[[233,13]]},"98":{"position":[[100,13]]},"99":{"position":[[614,13]]},"100":{"position":[[253,13],[530,14]]},"101":{"position":[[476,13]]},"102":{"position":[[275,13]]},"103":{"position":[[184,13]]}},"keywords":{}}],["documentationmodifi",{"_index":5,"title":{},"content":{"1":{"position":[[19,19]]}},"keywords":{}}],["docusauru",{"_index":19,"title":{},"content":{"1":{"position":[[203,10],[242,10]]},"6":{"position":[[45,10]]},"8":{"position":[[16,10],[395,11]]},"9":{"position":[[159,10]]},"14":{"position":[[166,10],[291,10]]},"16":{"position":[[84,10]]},"17":{"position":[[1,10],[216,10]]},"32":{"position":[[49,10]]},"59":{"position":[[470,10]]},"61":{"position":[[142,12],[337,12]]},"63":{"position":[[1,10]]},"64":{"position":[[5,10]]},"67":{"position":[[580,10]]}},"keywords":{}}],["docusaurus!</h1>",{"_index":743,"title":{},"content":{"62":{"position":[[175,23],[294,23]]}},"keywords":{}}],["docusaurus.config.j",{"_index":353,"title":{},"content":{"26":{"position":[[8,20],[64,20]]},"29":{"position":[[77,20],[105,20]]},"33":{"position":[[77,20],[105,20]]}},"keywords":{}}],["docusaurus.config.jsadd",{"_index":8,"title":{},"content":{"1":{"position":[[68,23]]}},"keywords":{}}],["docusaurus.new",{"_index":57,"title":{},"content":{"6":{"position":[[73,15]]}},"keywords":{}}],["docusaurus@latest",{"_index":81,"title":{},"content":{"8":{"position":[[163,17]]}},"keywords":{}}],["domain",{"_index":495,"title":{},"content":{"54":{"position":[[1178,7]]},"57":{"position":[[1026,7]]},"82":{"position":[[328,7]]},"106":{"position":[[204,6]]}},"keywords":{}}],["done",{"_index":1044,"title":{},"content":{"100":{"position":[[494,4]]}},"keywords":{}}],["draft",{"_index":903,"title":{},"content":{"82":{"position":[[430,5]]},"83":{"position":[[1,5]]},"92":{"position":[[539,5]]},"96":{"position":[[253,5]]}},"keywords":{}}],["driven",{"_index":573,"title":{},"content":{"55":{"position":[[2328,6]]}},"keywords":{}}],["dropdown",{"_index":373,"title":{"29":{"position":[[13,9]]},"33":{"position":[[14,9]]}},"content":{"29":{"position":[[55,9],[231,8]]},"33":{"position":[[55,9],[252,8]]}},"keywords":{}}],["dublin",{"_index":671,"title":{},"content":{"57":{"position":[[1281,6]]}},"keywords":{}}],["durat",{"_index":969,"title":{},"content":{"92":{"position":[[468,8]]}},"keywords":{}}],["dure",{"_index":850,"title":{},"content":{"70":{"position":[[485,6]]},"73":{"position":[[67,6]]}},"keywords":{}}],["e",{"_index":789,"title":{},"content":{"66":{"position":[[272,1]]}},"keywords":{}}],["e.g",{"_index":504,"title":{},"content":{"55":{"position":[[298,5]]},"56":{"position":[[1031,6],[1343,6]]},"70":{"position":[[697,5]]}},"keywords":{}}],["e[ev",{"_index":781,"title":{},"content":{"66":{"position":[[170,7]]}},"keywords":{}}],["each",{"_index":270,"title":{},"content":{"20":{"position":[[739,4]]},"23":{"position":[[656,4]]},"36":{"position":[[80,4]]},"38":{"position":[[1,4]]},"39":{"position":[[1,4]]},"56":{"position":[[1653,4]]},"73":{"position":[[592,4]]}},"keywords":{}}],["easier",{"_index":255,"title":{},"content":{"20":{"position":[[371,6]]}},"keywords":{}}],["easili",{"_index":120,"title":{},"content":{"12":{"position":[[165,7]]}},"keywords":{}}],["ecma",{"_index":1069,"title":{},"content":{"106":{"position":[[1,4]]}},"keywords":{}}],["ecosystem",{"_index":224,"title":{},"content":{"19":{"position":[[591,11]]}},"keywords":{}}],["edit",{"_index":110,"title":{},"content":{"9":{"position":[[404,4]]},"14":{"position":[[487,4]]},"34":{"position":[[19,4]]}},"keywords":{}}],["editor",{"_index":89,"title":{},"content":{"8":{"position":[[317,7]]},"82":{"position":[[793,7]]}},"keywords":{}}],["effort",{"_index":247,"title":{},"content":{"20":{"position":[[158,6],[463,6]]}},"keywords":{}}],["element",{"_index":219,"title":{},"content":{"19":{"position":[[475,8]]},"23":{"position":[[601,8]]},"57":{"position":[[1096,8],[1124,9],[1380,8]]},"101":{"position":[[38,9],[67,8],[167,8],[277,8]]}},"keywords":{}}],["email",{"_index":972,"title":{"93":{"position":[[0,6]]}},"content":{"93":{"position":[[1,5],[29,5],[90,6],[150,5]]}},"keywords":{}}],["email)rfc",{"_index":1083,"title":{},"content":{"106":{"position":[[245,9]]}},"keywords":{}}],["email/smtp)rfc",{"_index":1081,"title":{},"content":{"106":{"position":[[164,15]]}},"keywords":{}}],["en",{"_index":357,"title":{},"content":{"26":{"position":[[125,5],[140,6]]}},"keywords":{}}],["enabl",{"_index":221,"title":{},"content":{"19":{"position":[[496,6],[676,6],[797,8]]},"20":{"position":[[71,6]]},"23":{"position":[[1,6]]}},"keywords":{}}],["encod",{"_index":685,"title":{},"content":{"57":{"position":[[1667,9]]},"92":{"position":[[357,7]]},"102":{"position":[[240,9]]}},"keywords":{}}],["encount",{"_index":872,"title":{},"content":{"73":{"position":[[417,11],[732,12]]}},"keywords":{}}],["end",{"_index":588,"title":{},"content":{"56":{"position":[[353,4]]},"66":{"position":[[245,3],[278,3]]}},"keywords":{}}],["enhanc",{"_index":251,"title":{},"content":{"20":{"position":[[268,7]]}},"keywords":{}}],["ensur",{"_index":292,"title":{},"content":{"21":{"position":[[212,6]]},"102":{"position":[[179,6]]}},"keywords":{}}],["enter",{"_index":830,"title":{},"content":{"69":{"position":[[238,7]]},"70":{"position":[[1011,7]]}},"keywords":{}}],["entir",{"_index":585,"title":{},"content":{"56":{"position":[[293,6]]}},"keywords":{}}],["entiti",{"_index":478,"title":{},"content":{"54":{"position":[[721,6]]}},"keywords":{}}],["entri",{"_index":634,"title":{},"content":{"57":{"position":[[409,5]]}},"keywords":{}}],["enumer",{"_index":409,"title":{},"content":{"38":{"position":[[97,10]]}},"keywords":{}}],["equat",{"_index":1060,"title":{},"content":{"103":{"position":[[111,6]]}},"keywords":{}}],["equival",{"_index":997,"title":{},"content":{"96":{"position":[[343,10]]}},"keywords":{}}],["errata",{"_index":1087,"title":{"107":{"position":[[0,7]]}},"content":{},"keywords":{}}],["essenti",{"_index":539,"title":{},"content":{"55":{"position":[[1408,11]]}},"keywords":{}}],["establish",{"_index":468,"title":{},"content":{"54":{"position":[[441,11]]},"57":{"position":[[896,11],[1313,11]]}},"keywords":{}}],["evalu",{"_index":1055,"title":{},"content":{"102":{"position":[[101,8],[204,9]]}},"keywords":{}}],["event",{"_index":421,"title":{"45":{"position":[[0,5]]},"84":{"position":[[8,5]]}},"content":{"46":{"position":[[72,6]]},"85":{"position":[[67,5]]}},"keywords":{}}],["everyon",{"_index":276,"title":{"21":{"position":[[8,8]]}},"content":{"21":{"position":[[157,8]]}},"keywords":{}}],["evid",{"_index":232,"title":{},"content":{"19":{"position":[[727,8]]},"20":{"position":[[771,8]]}},"keywords":{}}],["exampl",{"_index":412,"title":{},"content":{"39":{"position":[[67,8]]},"48":{"position":[[1,7]]},"57":{"position":[[704,8],[1268,8]]},"64":{"position":[[105,8]]},"78":{"position":[[1,7]]},"87":{"position":[[1,7]]},"92":{"position":[[435,9]]},"99":{"position":[[646,9]]},"101":{"position":[[508,9]]}},"keywords":{}}],["exchang",{"_index":779,"title":{},"content":{"66":{"position":[[146,9]]}},"keywords":{}}],["exclusivemaximum",{"_index":1036,"title":{},"content":{"99":{"position":[[571,17]]}},"keywords":{}}],["execut",{"_index":787,"title":{},"content":{"66":{"position":[[258,9]]}},"keywords":{}}],["exist",{"_index":393,"title":{"34":{"position":[[10,8]]}},"content":{},"keywords":{}}],["expand",{"_index":529,"title":{},"content":{"55":{"position":[[1133,6]]}},"keywords":{}}],["expect",{"_index":899,"title":{},"content":{"82":{"position":[[157,12],[244,8],[1206,8]]},"100":{"position":[[347,8]]},"101":{"position":[[248,11],[290,9]]}},"keywords":{}}],["expert",{"_index":492,"title":{},"content":{"54":{"position":[[1111,6],[1135,6]]}},"keywords":{}}],["expert."",{"_index":887,"title":{},"content":{"78":{"position":[[141,14]]},"87":{"position":[[364,14]]}},"keywords":{}}],["explicitli",{"_index":173,"title":{},"content":{"17":{"position":[[284,10]]},"82":{"position":[[124,10]]}},"keywords":{}}],["export",{"_index":33,"title":{},"content":{"3":{"position":[[137,6]]},"17":{"position":[[324,6]]},"26":{"position":[[85,6]]},"29":{"position":[[126,6]]},"33":{"position":[[126,6]]},"67":{"position":[[106,6]]}},"keywords":{}}],["express",{"_index":998,"title":{"98":{"position":[[8,11]]}},"content":{"96":{"position":[[377,10],[498,10]]},"98":{"position":[[9,11]]}},"keywords":{}}],["expressionpattern",{"_index":952,"title":{},"content":{"91":{"position":[[291,18]]}},"keywords":{}}],["extend",{"_index":1011,"title":{},"content":{"96":{"position":[[715,7]]}},"keywords":{}}],["extens",{"_index":947,"title":{},"content":{"91":{"position":[[156,9]]},"100":{"position":[[243,9]]}},"keywords":{}}],["f",{"_index":790,"title":{},"content":{"66":{"position":[[274,1]]}},"keywords":{}}],["f[aggreg",{"_index":784,"title":{},"content":{"66":{"position":[[202,14]]}},"keywords":{}}],["f]{12}$/i",{"_index":1006,"title":{},"content":{"96":{"position":[[606,9]]}},"keywords":{}}],["f]{4",{"_index":1005,"title":{},"content":{"96":{"position":[[570,5],[582,5],[594,5]]}},"keywords":{}}],["f]{8",{"_index":1004,"title":{},"content":{"96":{"position":[[558,5]]}},"keywords":{}}],["fabric",{"_index":847,"title":{},"content":{"70":{"position":[[442,6]]}},"keywords":{}}],["facebook",{"_index":819,"title":{},"content":{"67":{"position":[[608,8]]}},"keywords":{}}],["facilit",{"_index":467,"title":{},"content":{"54":{"position":[[426,11],[842,12]]},"55":{"position":[[1259,11]]}},"keywords":{}}],["fals",{"_index":1054,"title":{},"content":{"102":{"position":[[66,6],[134,6]]}},"keywords":{}}],["featur",{"_index":703,"title":{"58":{"position":[[9,8]]}},"content":{"63":{"position":[[102,7],[197,7]]}},"keywords":{}}],["feedback",{"_index":291,"title":{},"content":{"21":{"position":[[200,8]]}},"keywords":{}}],["feel",{"_index":153,"title":{},"content":{"14":{"position":[[458,4]]}},"keywords":{}}],["fff",{"_index":804,"title":{},"content":{"67":{"position":[[230,7]]}},"keywords":{}}],["field",{"_index":719,"title":{},"content":{"59":{"position":[[504,6]]},"82":{"position":[[681,5]]}},"keywords":{}}],["file",{"_index":27,"title":{},"content":{"3":{"position":[[10,4]]},"4":{"position":[[10,4]]},"11":{"position":[[61,5]]},"14":{"position":[[10,4]]},"16":{"position":[[19,4]]},"27":{"position":[[24,4]]},"29":{"position":[[98,5]]},"33":{"position":[[98,5]]},"57":{"position":[[1681,4]]},"60":{"position":[[67,4]]},"61":{"position":[[235,4],[318,5]]}},"keywords":{}}],["filenam",{"_index":716,"title":{},"content":{"59":{"position":[[419,8]]}},"keywords":{}}],["filesystem",{"_index":699,"title":{},"content":{"57":{"position":[[2006,11]]}},"keywords":{}}],["final",{"_index":536,"title":{},"content":{"55":{"position":[[1318,5]]}},"keywords":{}}],["first",{"_index":25,"title":{"3":{"position":[[12,5]]},"4":{"position":[[12,5]]},"14":{"position":[[12,5]]},"16":{"position":[[12,5]]}},"content":{"14":{"position":[[446,5]]},"16":{"position":[[76,7]]},"17":{"position":[[208,7]]},"23":{"position":[[382,5]]},"55":{"position":[[1525,5]]},"102":{"position":[[225,5]]}},"keywords":{}}],["flexibl",{"_index":236,"title":{},"content":{"19":{"position":[[806,11]]}},"keywords":{}}],["float",{"_index":1024,"title":{},"content":{"99":{"position":[[13,8],[154,8],[244,8]]}},"keywords":{}}],["flowchart",{"_index":768,"title":{"66":{"position":[[0,10]]}},"content":{},"keywords":{}}],["fm",{"_index":654,"title":{},"content":{"57":{"position":[[853,2]]}},"keywords":{}}],["focu",{"_index":342,"title":{},"content":{"23":{"position":[[807,5]]}},"keywords":{}}],["focus",{"_index":469,"title":{},"content":{"54":{"position":[[464,7]]}},"keywords":{}}],["folder",{"_index":117,"title":{},"content":{"11":{"position":[[94,7]]},"12":{"position":[[64,6],[142,6]]},"17":{"position":[[58,7]]},"27":{"position":[[44,7]]},"32":{"position":[[88,6]]},"34":{"position":[[59,7]]}},"keywords":{}}],["follow",{"_index":444,"title":{},"content":{"53":{"position":[[5,9]]},"55":{"position":[[2368,9]]},"56":{"position":[[1538,9]]},"57":{"position":[[5,9]]},"64":{"position":[[80,9]]},"73":{"position":[[392,9]]},"82":{"position":[[378,9]]}},"keywords":{}}],["footer",{"_index":10,"title":{},"content":{"1":{"position":[[103,6]]}},"keywords":{}}],["form",{"_index":523,"title":{},"content":{"55":{"position":[[997,6],[2136,4]]}},"keywords":{}}],["form(",{"_index":516,"title":{},"content":{"55":{"position":[[623,7]]}},"keywords":{}}],["formal",{"_index":513,"title":{},"content":{"55":{"position":[[548,6],[1181,6]]}},"keywords":{}}],["format",{"_index":681,"title":{"81":{"position":[[0,10]]}},"content":{"57":{"position":[[1598,6],[1609,6],[1686,6],[1758,7],[1858,7]]},"73":{"position":[[169,6],[349,7],[402,7],[521,9]]},"91":{"position":[[110,7],[348,6],[426,7],[528,6]]},"92":{"position":[[18,7],[71,7],[197,6],[305,7],[477,6]]},"93":{"position":[[22,6],[82,7],[139,6]]},"94":{"position":[[16,6],[77,7],[137,6]]},"95":{"position":[[28,9],[54,8]]},"96":{"position":[[41,6],[112,7],[191,6],[811,6]]},"97":{"position":[[20,6]]},"98":{"position":[[26,6]]}},"keywords":{}}],["format"",{"_index":683,"title":{},"content":{"57":{"position":[[1639,12]]}},"keywords":{}}],["found",{"_index":720,"title":{},"content":{"59":{"position":[[518,5]]},"100":{"position":[[506,5]]}},"keywords":{}}],["foundat",{"_index":215,"title":{},"content":{"19":{"position":[[423,12]]}},"keywords":{}}],["fr",{"_index":355,"title":{},"content":{"26":{"position":[[52,2],[147,6]]},"28":{"position":[[66,2]]},"30":{"position":[[67,2]]}},"keywords":{}}],["free",{"_index":121,"title":{},"content":{"12":{"position":[[177,4]]},"14":{"position":[[463,4]]},"82":{"position":[[671,4]]}},"keywords":{}}],["french",{"_index":368,"title":{},"content":{"27":{"position":[[254,7]]},"28":{"position":[[24,6]]}},"keywords":{}}],["front",{"_index":704,"title":{"59":{"position":[[0,5]]}},"content":{"59":{"position":[[52,5],[491,5]]}},"keywords":{}}],["full",{"_index":840,"title":{},"content":{"70":{"position":[[245,4]]},"110":{"position":[[255,4]]}},"keywords":{}}],["function",{"_index":35,"title":{},"content":{"3":{"position":[[152,8]]},"62":{"position":[[122,8],[241,8]]}},"keywords":{}}],["fundament",{"_index":626,"title":{},"content":{"57":{"position":[[179,11]]}},"keywords":{}}],["further",{"_index":916,"title":{},"content":{"82":{"position":[[815,7]]},"96":{"position":[[839,7]]}},"keywords":{}}],["g",{"_index":791,"title":{},"content":{"66":{"position":[[276,1]]}},"keywords":{}}],["g[/further",{"_index":776,"title":{},"content":{"66":{"position":[[99,10]]}},"keywords":{}}],["gain",{"_index":322,"title":{},"content":{"23":{"position":[[169,4]]}},"keywords":{}}],["gap",{"_index":321,"title":{},"content":{"23":{"position":[[163,5]]}},"keywords":{}}],["gener",{"_index":70,"title":{"8":{"position":[[0,8]]}},"content":{"8":{"position":[[1,8]]},"11":{"position":[[71,9]]},"56":{"position":[[1140,7]]},"57":{"position":[[103,8]]}},"keywords":{}}],["get",{"_index":53,"title":{"6":{"position":[[0,7]]},"18":{"position":[[0,7]]},"21":{"position":[[0,7]]}},"content":{"28":{"position":[[142,7]]},"55":{"position":[[698,7]]}},"keywords":{}}],["given",{"_index":487,"title":{},"content":{"54":{"position":[[1025,5]]}},"keywords":{}}],["global",{"_index":638,"title":{},"content":{"57":{"position":[[521,6]]}},"keywords":{}}],["go",{"_index":601,"title":{},"content":{"56":{"position":[[788,2]]},"70":{"position":[[495,5]]}},"keywords":{}}],["goal",{"_index":310,"title":{"23":{"position":[[0,6]]}},"content":{"23":{"position":[[426,4]]}},"keywords":{}}],["good",{"_index":900,"title":{},"content":{"82":{"position":[[224,4]]}},"keywords":{}}],["govern",{"_index":299,"title":{"105":{"position":[[0,10]]}},"content":{"22":{"position":[[38,10]]},"54":{"position":[[640,10],[938,11],[953,10]]},"73":{"position":[[95,11],[289,10]]}},"keywords":{}}],["governance.develop",{"_index":289,"title":{},"content":{"21":{"position":[[117,18]]}},"keywords":{}}],["grant",{"_index":520,"title":{},"content":{"55":{"position":[[875,8],[1073,6],[1803,6]]}},"keywords":{}}],["graph",{"_index":755,"title":{"64":{"position":[[8,7]]}},"content":{"65":{"position":[[12,5]]},"66":{"position":[[12,5]]}},"keywords":{}}],["green",{"_index":818,"title":{},"content":{"67":{"position":[[591,5]]}},"keywords":{}}],["green</highlight>",{"_index":815,"title":{},"content":{"67":{"position":[[457,23]]}},"keywords":{}}],["greet",{"_index":133,"title":{},"content":{"14":{"position":[[88,9],[105,10],[394,11]]}},"keywords":{}}],["greetings.md",{"_index":131,"title":{},"content":{"14":{"position":[[34,13],[65,12]]}},"keywords":{}}],["group",{"_index":279,"title":{},"content":{"21":{"position":[[18,5]]},"54":{"position":[[57,5],[157,5],[576,5]]},"57":{"position":[[1110,5]]},"73":{"position":[[597,5]]},"109":{"position":[[43,8]]}},"keywords":{}}],["gt",{"_index":774,"title":{},"content":{"66":{"position":[[74,4],[94,4]]},"67":{"position":[[151,5],[289,5],[360,6]]}},"keywords":{}}],["gt;b",{"_index":763,"title":{},"content":{"65":{"position":[[24,5]]}},"keywords":{}}],["gt;c",{"_index":764,"title":{},"content":{"65":{"position":[[33,5]]}},"keywords":{}}],["gt;d",{"_index":766,"title":{},"content":{"65":{"position":[[42,5],[51,5]]}},"keywords":{}}],["gt;|get",{"_index":771,"title":{},"content":{"66":{"position":[[31,8]]}},"keywords":{}}],["gt;|one",{"_index":777,"title":{},"content":{"66":{"position":[[123,11]]}},"keywords":{}}],["gt;|three",{"_index":783,"title":{},"content":{"66":{"position":[[190,11]]}},"keywords":{}}],["gt;|two",{"_index":780,"title":{},"content":{"66":{"position":[[160,9]]}},"keywords":{}}],["guid",{"_index":125,"title":{},"content":{"12":{"position":[[222,7]]}},"keywords":{}}],["guidelin",{"_index":265,"title":{},"content":{"20":{"position":[[609,10]]}},"keywords":{}}],["happen",{"_index":533,"title":{},"content":{"55":{"position":[[1233,9]]},"56":{"position":[[1505,9]]}},"keywords":{}}],["harmon",{"_index":317,"title":{},"content":{"23":{"position":[[115,10],[299,13]]}},"keywords":{}}],["head",{"_index":666,"title":{},"content":{"57":{"position":[[1171,8]]},"59":{"position":[[212,7]]}},"keywords":{}}],["health",{"_index":1067,"title":{},"content":{"105":{"position":[[85,6]]}},"keywords":{}}],["hello",{"_index":161,"title":{},"content":{"16":{"position":[[59,5]]},"17":{"position":[[191,5],[369,8]]}},"keywords":{}}],["hellodocusauru",{"_index":741,"title":{},"content":{"62":{"position":[[131,17],[250,17]]}},"keywords":{}}],["help",{"_index":266,"title":{},"content":{"20":{"position":[[625,4]]}},"keywords":{}}],["here",{"_index":511,"title":{},"content":{"55":{"position":[[529,4]]},"59":{"position":[[524,5]]},"91":{"position":[[434,5]]}},"keywords":{}}],["hi",{"_index":169,"title":{},"content":{"17":{"position":[[159,5]]}},"keywords":{}}],["high",{"_index":576,"title":{},"content":{"55":{"position":[[2397,4]]},"56":{"position":[[1567,4]]}},"keywords":{}}],["higher",{"_index":602,"title":{},"content":{"56":{"position":[[870,6]]}},"keywords":{}}],["highest",{"_index":589,"title":{},"content":{"56":{"position":[[358,7]]}},"keywords":{}}],["highlight",{"_index":738,"title":{},"content":{"62":{"position":[[48,13]]},"67":{"position":[[119,9]]}},"keywords":{}}],["hl7",{"_index":429,"title":{},"content":{"46":{"position":[[148,3]]},"76":{"position":[[113,3]]},"85":{"position":[[132,3]]}},"keywords":{}}],["hostnam",{"_index":980,"title":{"94":{"position":[[0,9]]}},"content":{"94":{"position":[[1,9],[23,8],[85,9],[148,8]]}},"keywords":{}}],["hosts)rfc",{"_index":1073,"title":{},"content":{"106":{"position":[[45,9]]}},"keywords":{}}],["hous",{"_index":505,"title":{},"content":{"55":{"position":[[306,7]]}},"keywords":{}}],["http://localhost:3000",{"_index":107,"title":{},"content":{"9":{"position":[[344,23]]},"12":{"position":[[88,23]]}},"keywords":{}}],["http://localhost:3000/blog/greet",{"_index":157,"title":{},"content":{"14":{"position":[[561,37]]}},"keywords":{}}],["http://localhost:3000/doc",{"_index":386,"title":{},"content":{"32":{"position":[[207,27]]}},"keywords":{}}],["http://localhost:3000/docs/hello",{"_index":162,"title":{},"content":{"16":{"position":[[144,33]]}},"keywords":{}}],["http://localhost:3000/docs/hellodocs/hello.md",{"_index":396,"title":{},"content":{"34":{"position":[[112,45]]}},"keywords":{}}],["http://localhost:3000/docs/next",{"_index":388,"title":{},"content":{"32":{"position":[[270,32]]}},"keywords":{}}],["http://localhost:3000/docs/next/hello",{"_index":397,"title":{},"content":{"34":{"position":[[166,37]]}},"keywords":{}}],["http://localhost:3000/fr",{"_index":370,"title":{},"content":{"28":{"position":[[108,25]]}},"keywords":{}}],["http://localhost:3000/mi",{"_index":48,"title":{},"content":{"3":{"position":[[330,24]]},"4":{"position":[[156,24]]}},"keywords":{}}],["https://github.com/joelmarcey",{"_index":143,"title":{},"content":{"14":{"position":[[184,29]]}},"keywords":{}}],["https://github.com/joelmarcey.png",{"_index":145,"title":{},"content":{"14":{"position":[[225,33]]}},"keywords":{}}],["https://github.com/slorber.png",{"_index":150,"title":{},"content":{"14":{"position":[[357,30]]}},"keywords":{}}],["https://json",{"_index":907,"title":{},"content":{"82":{"position":[[513,12]]}},"keywords":{}}],["https://sebastienlorber.com",{"_index":149,"title":{},"content":{"14":{"position":[[318,27]]}},"keywords":{}}],["i18n",{"_index":351,"title":{"26":{"position":[[10,5]]}},"content":{"26":{"position":[[102,5]]}},"keywords":{}}],["i18n/fr",{"_index":359,"title":{},"content":{"27":{"position":[[36,7]]}},"keywords":{}}],["i18n/fr/docusauru",{"_index":362,"title":{},"content":{"27":{"position":[[62,18],[127,18],[195,18]]}},"keywords":{}}],["id",{"_index":708,"title":{"73":{"position":[[7,2]]}},"content":{"59":{"position":[[81,3]]},"69":{"position":[[8,2]]},"70":{"position":[[785,2]]},"73":{"position":[[8,3],[345,3],[518,2],[662,2]]}},"keywords":{}}],["ideal",{"_index":911,"title":{},"content":{"82":{"position":[[607,7]]}},"keywords":{}}],["identif",{"_index":786,"title":{},"content":{"66":{"position":[[226,14]]},"69":{"position":[[354,14]]},"70":{"position":[[1143,14]]}},"keywords":{}}],["identifi",{"_index":320,"title":{"68":{"position":[[7,10]]},"96":{"position":[[9,11]]}},"content":{"23":{"position":[[154,8]]},"55":{"position":[[410,11]]},"57":{"position":[[319,11],[331,11],[465,11],[1810,12]]},"69":{"position":[[45,11],[95,10],[330,11],[416,11]]},"70":{"position":[[16,10],[94,10],[822,11],[868,10],[1103,11],[1205,11]]},"96":{"position":[[20,11]]},"97":{"position":[[83,10]]}},"keywords":{}}],["idmay",{"_index":714,"title":{},"content":{"59":{"position":[[369,5]]}},"keywords":{}}],["idn",{"_index":977,"title":{},"content":{"93":{"position":[[146,3]]},"94":{"position":[[144,3]]}},"keywords":{}}],["ie",{"_index":230,"title":{},"content":{"19":{"position":[[712,4]]}},"keywords":{}}],["imag",{"_index":729,"title":{"61":{"position":[[0,7]]}},"content":{"61":{"position":[[18,6],[81,6],[204,6],[289,6]]}},"keywords":{}}],["image_url",{"_index":144,"title":{},"content":{"14":{"position":[[214,10],[346,10]]}},"keywords":{}}],["immedi",{"_index":56,"title":{},"content":{"6":{"position":[[56,11]]}},"keywords":{}}],["impact",{"_index":473,"title":{},"content":{"54":{"position":[[595,8]]}},"keywords":{}}],["implement",{"_index":305,"title":{"43":{"position":[[0,14]]},"49":{"position":[[0,14]]},"72":{"position":[[0,14]]},"79":{"position":[[0,14]]},"88":{"position":[[0,14]]},"112":{"position":[[0,14]]}},"content":{"22":{"position":[[142,12]]},"82":{"position":[[904,14]]}},"keywords":{}}],["impli",{"_index":932,"title":{},"content":{"82":{"position":[[1407,7]]}},"keywords":{}}],["import",{"_index":30,"title":{},"content":{"3":{"position":[[74,6],[101,6]]}},"keywords":{}}],["improv",{"_index":235,"title":{},"content":{"19":{"position":[[778,12]]},"20":{"position":[[294,7]]},"23":{"position":[[213,11]]}},"keywords":{}}],["includ",{"_index":204,"title":{},"content":{"19":{"position":[[272,9]]},"20":{"position":[[216,8]]},"30":{"position":[[94,7]]},"55":{"position":[[1004,9]]},"57":{"position":[[564,7],[1866,7],[2077,7]]},"73":{"position":[[182,8],[435,8]]}},"keywords":{}}],["inclus",{"_index":1043,"title":{},"content":{"100":{"position":[[404,9]]}},"keywords":{}}],["inconsist",{"_index":207,"title":{},"content":{"19":{"position":[[299,15]]}},"keywords":{}}],["indic",{"_index":540,"title":{},"content":{"55":{"position":[[1420,9]]}},"keywords":{}}],["individu",{"_index":663,"title":{},"content":{"57":{"position":[[1080,10]]}},"keywords":{}}],["industri",{"_index":652,"title":{},"content":{"57":{"position":[[805,8]]}},"keywords":{}}],["infer",{"_index":1028,"title":{},"content":{"99":{"position":[[208,5]]}},"keywords":{}}],["info",{"_index":718,"title":{},"content":{"59":{"position":[[443,4]]},"96":{"position":[[680,4]]}},"keywords":{}}],["inform",{"_index":196,"title":{},"content":{"19":{"position":[[159,11]]},"20":{"position":[[407,11]]},"23":{"position":[[246,11],[613,11]]},"57":{"position":[[228,11],[1523,12]]},"82":{"position":[[713,11]]},"91":{"position":[[39,12]]},"105":{"position":[[92,11]]},"110":{"position":[[305,11]]}},"keywords":{}}],["init",{"_index":80,"title":{},"content":{"8":{"position":[[158,4]]}},"keywords":{}}],["initi",{"_index":672,"title":{},"content":{"57":{"position":[[1302,10]]}},"keywords":{}}],["input",{"_index":488,"title":{},"content":{"54":{"position":[[1058,5]]}},"keywords":{}}],["inrfc",{"_index":956,"title":{},"content":{"92":{"position":[[47,5]]},"93":{"position":[[56,5]]},"94":{"position":[[53,5]]}},"keywords":{}}],["insid",{"_index":795,"title":{},"content":{"67":{"position":[[88,6]]}},"keywords":{}}],["insight",{"_index":323,"title":{},"content":{"23":{"position":[[174,8]]}},"keywords":{}}],["inspection"",{"_index":619,"title":{},"content":{"56":{"position":[[1390,18]]}},"keywords":{}}],["inspir",{"_index":18,"title":{},"content":{"1":{"position":[[183,12]]},"46":{"position":[[131,11]]},"76":{"position":[[96,11]]},"85":{"position":[[115,11]]}},"keywords":{}}],["instal",{"_index":64,"title":{},"content":{"7":{"position":[[37,10]]},"8":{"position":[[343,8]]}},"keywords":{}}],["instanc",{"_index":756,"title":{},"content":{"64":{"position":[[16,8]]},"85":{"position":[[44,8]]}},"keywords":{}}],["instead",{"_index":996,"title":{},"content":{"96":{"position":[[291,8]]}},"keywords":{}}],["intak",{"_index":197,"title":{},"content":{"19":{"position":[[176,6]]}},"keywords":{}}],["integ",{"_index":630,"title":{},"content":{"57":{"position":[[292,8]]},"70":{"position":[[770,7],[1124,7]]},"73":{"position":[[791,7]]},"99":{"position":[[141,8],[233,7],[370,7],[422,7],[460,8]]}},"keywords":{}}],["integr",{"_index":87,"title":{},"content":{"8":{"position":[[284,10]]},"19":{"position":[[357,9]]},"20":{"position":[[490,12]]}},"keywords":{}}],["intellig",{"_index":229,"title":{},"content":{"19":{"position":[[699,12]]}},"keywords":{}}],["intend",{"_index":423,"title":{},"content":{"46":{"position":[[19,8]]},"57":{"position":[[481,8],[583,8]]},"76":{"position":[[19,8]]},"85":{"position":[[19,8]]},"109":{"position":[[19,8]]}},"keywords":{}}],["intent",{"_index":500,"title":{},"content":{"55":{"position":[[171,6],[206,6],[640,6],[753,6]]},"82":{"position":[[995,6]]}},"keywords":{}}],["interact",{"_index":580,"title":{},"content":{"55":{"position":[[2482,8]]},"67":{"position":[[38,11]]}},"keywords":{}}],["interchang",{"_index":346,"title":{},"content":{"23":{"position":[[867,11]]}},"keywords":{}}],["interest",{"_index":281,"title":{},"content":{"21":{"position":[[35,10]]},"54":{"position":[[546,10]]},"55":{"position":[[1097,8]]}},"keywords":{}}],["interfac",{"_index":694,"title":{},"content":{"57":{"position":[[1925,9]]}},"keywords":{}}],["intern",{"_index":964,"title":{},"content":{"92":{"position":[[158,10]]}},"keywords":{}}],["internation",{"_index":976,"title":{},"content":{"93":{"position":[[121,17]]},"94":{"position":[[119,17]]},"106":{"position":[[185,18],[226,18]]}},"keywords":{}}],["internet",{"_index":1072,"title":{},"content":{"106":{"position":[[35,9]]}},"keywords":{}}],["interoper",{"_index":223,"title":{},"content":{"19":{"position":[[525,16]]},"20":{"position":[[109,17],[302,17]]},"23":{"position":[[533,16],[694,16]]}},"keywords":{}}],["intro",{"_index":52,"title":{"5":{"position":[[9,5]]}},"content":{"17":{"position":[[360,8]]}},"keywords":{}}],["involv",{"_index":21,"title":{},"content":{"1":{"position":[[226,8]]},"20":{"position":[[165,8]]}},"keywords":{}}],["ip",{"_index":985,"title":{"95":{"position":[[0,2]]}},"content":{"95":{"position":[[1,2]]}},"keywords":{}}],["ipv4",{"_index":986,"title":{},"content":{"95":{"position":[[41,4],[66,4]]}},"keywords":{}}],["ipv4)rfc",{"_index":1075,"title":{},"content":{"106":{"position":[[75,9]]}},"keywords":{}}],["ipv6",{"_index":987,"title":{},"content":{"95":{"position":[[49,4],[126,4]]}},"keywords":{}}],["ipv6)rfc",{"_index":1074,"title":{},"content":{"106":{"position":[[60,9]]}},"keywords":{}}],["iso",{"_index":645,"title":{},"content":{"57":{"position":[[735,3]]},"91":{"position":[[173,3]]}},"keywords":{}}],["issu",{"_index":464,"title":{},"content":{"54":{"position":[[370,5]]}},"keywords":{}}],["it'",{"_index":512,"title":{},"content":{"55":{"position":[[537,4]]}},"keywords":{}}],["item",{"_index":11,"title":{},"content":{"1":{"position":[[110,5]]},"17":{"position":[[417,6]]},"29":{"position":[[168,6]]},"33":{"position":[[168,6]]},"101":{"position":[[185,5]]}},"keywords":{}}],["joel",{"_index":137,"title":{},"content":{"14":{"position":[[133,4]]}},"keywords":{}}],["json",{"_index":680,"title":{"82":{"position":[[0,4]]}},"content":{"57":{"position":[[1585,4],[1874,5]]},"73":{"position":[[786,4]]},"82":{"position":[[3,4],[63,4],[209,4],[339,4],[447,4]]},"91":{"position":[[460,4]]},"92":{"position":[[555,4]]},"96":{"position":[[269,4]]},"99":{"position":[[93,4]]},"100":{"position":[[55,5]]},"101":{"position":[[48,4]]},"102":{"position":[[166,4]]},"107":{"position":[[1,4]]}},"keywords":{}}],["json)json",{"_index":937,"title":{},"content":{"83":{"position":[[18,10]]}},"keywords":{}}],["json)rfc",{"_index":1085,"title":{},"content":{"106":{"position":[[283,9]]}},"keywords":{}}],["jsx",{"_index":739,"title":{},"content":{"62":{"position":[[63,6]]}},"keywords":{}}],["jurisdict",{"_index":480,"title":{},"content":{"54":{"position":[[802,13]]},"55":{"position":[[1632,13]]}},"keywords":{}}],["key",{"_index":337,"title":{},"content":{"23":{"position":[[597,3]]},"100":{"position":[[32,3],[65,3],[101,3],[307,3]]},"110":{"position":[[82,3]]}},"keywords":{}}],["keyword",{"_index":1045,"title":{},"content":{"101":{"position":[[191,8],[220,7]]}},"keywords":{}}],["kind",{"_index":406,"title":{},"content":{"38":{"position":[[54,4]]},"39":{"position":[[6,4]]},"101":{"position":[[268,5]]}},"keywords":{}}],["known",{"_index":959,"title":{},"content":{"92":{"position":[[93,5]]}},"keywords":{}}],["label",{"_index":166,"title":{},"content":{"17":{"position":[[105,5],[398,6]]},"57":{"position":[[1069,6]]},"67":{"position":[[340,5]]}},"keywords":{}}],["lack",{"_index":1025,"title":{},"content":{"99":{"position":[[98,5]]}},"keywords":{}}],["land",{"_index":557,"title":{},"content":{"55":{"position":[[1863,4]]},"69":{"position":[[18,4],[122,4],[273,4],[395,4]]},"70":{"position":[[317,4],[371,4],[795,4],[895,4],[1046,4],[1184,4]]}},"keywords":{}}],["languag",{"_index":212,"title":{},"content":{"19":{"position":[[384,9]]},"21":{"position":[[145,8]]},"23":{"position":[[679,10]]},"29":{"position":[[31,10]]},"102":{"position":[[87,9]]}},"keywords":{}}],["larger",{"_index":605,"title":{},"content":{"56":{"position":[[1004,6],[1133,6]]}},"keywords":{}}],["layout",{"_index":31,"title":{},"content":{"3":{"position":[[108,6]]}},"keywords":{}}],["layoutadd",{"_index":15,"title":{},"content":{"1":{"position":[[156,9]]}},"keywords":{}}],["lead",{"_index":879,"title":{},"content":{"73":{"position":[[686,7]]}},"keywords":{}}],["leas",{"_index":526,"title":{},"content":{"55":{"position":[[1041,6]]}},"keywords":{}}],["left",{"_index":875,"title":{},"content":{"73":{"position":[[536,4]]}},"keywords":{}}],["legal",{"_index":841,"title":{},"content":{"70":{"position":[[250,5]]}},"keywords":{}}],["legal_descript",{"_index":836,"title":{},"content":{"70":{"position":[[119,17]]}},"keywords":{}}],["legisl",{"_index":463,"title":{},"content":{"54":{"position":[[355,11]]}},"keywords":{}}],["less",{"_index":995,"title":{},"content":{"96":{"position":[[93,4]]}},"keywords":{}}],["let'",{"_index":725,"title":{},"content":{"60":{"position":[[80,5],[132,5],[196,5]]}},"keywords":{}}],["level",{"_index":329,"title":{},"content":{"23":{"position":[[326,5]]},"36":{"position":[[100,6]]},"55":{"position":[[2402,5]]},"56":{"position":[[366,5],[877,5],[1572,5]]},"82":{"position":[[436,5]]},"99":{"position":[[430,5]]}},"keywords":{}}],["lexicon",{"_index":447,"title":{},"content":{"53":{"position":[[106,7]]}},"keywords":{}}],["licens",{"_index":524,"title":{},"content":{"55":{"position":[[1024,8]]}},"keywords":{}}],["lieu",{"_index":1032,"title":{},"content":{"99":{"position":[[358,4]]}},"keywords":{}}],["lifecycl",{"_index":407,"title":{},"content":{"38":{"position":[[62,9]]},"39":{"position":[[14,9]]},"56":{"position":[[136,12],[263,9],[454,10],[616,10]]}},"keywords":{}}],["line",{"_index":111,"title":{},"content":{"9":{"position":[[414,6]]},"52":{"position":[[20,4]]}},"keywords":{}}],["link",{"_index":721,"title":{"60":{"position":[[0,6]]}},"content":{"60":{"position":[[18,5]]}},"keywords":{}}],["linkingcoordin",{"_index":332,"title":{},"content":{"23":{"position":[[363,18]]}},"keywords":{}}],["links](./hello.md",{"_index":711,"title":{},"content":{"59":{"position":[[239,19]]}},"keywords":{}}],["list",{"_index":301,"title":{},"content":{"22":{"position":[[77,4]]},"57":{"position":[[666,5]]},"59":{"position":[[459,7]]}},"keywords":{}}],["load",{"_index":419,"title":{},"content":{"42":{"position":[[14,7]]},"71":{"position":[[21,7]]},"111":{"position":[[21,7]]}},"keywords":{}}],["lob",{"_index":347,"title":{},"content":{"23":{"position":[[915,3]]},"55":{"position":[[1252,3]]}},"keywords":{}}],["local",{"_index":102,"title":{"28":{"position":[[11,9]]},"29":{"position":[[6,6]]},"30":{"position":[[11,9]]}},"content":{"9":{"position":[[267,7]]},"12":{"position":[[28,8]]},"26":{"position":[[55,7],[131,8]]},"28":{"position":[[31,7],[59,6],[76,9],[224,6]]},"29":{"position":[[48,6],[224,6]]},"30":{"position":[[32,7],[60,6],[110,7]]},"54":{"position":[[634,5],[932,5]]},"57":{"position":[[512,5]]}},"keywords":{}}],["localedropdown",{"_index":376,"title":{},"content":{"29":{"position":[[185,17]]}},"keywords":{}}],["locat",{"_index":547,"title":{},"content":{"55":{"position":[[1620,8]]}},"keywords":{}}],["location(",{"_index":519,"title":{},"content":{"55":{"position":[[806,11]]}},"keywords":{}}],["logo](./img/docusaurus.png",{"_index":736,"title":{},"content":{"61":{"position":[[350,27]]}},"keywords":{}}],["logo](/img/docusaurus.png",{"_index":732,"title":{},"content":{"61":{"position":[[155,26]]}},"keywords":{}}],["loos",{"_index":427,"title":{},"content":{"46":{"position":[[116,7]]},"76":{"position":[[81,7]]},"85":{"position":[[100,7]]}},"keywords":{}}],["looser",{"_index":1046,"title":{},"content":{"101":{"position":[[241,6]]}},"keywords":{}}],["lorber",{"_index":147,"title":{},"content":{"14":{"position":[[277,6]]}},"keywords":{}}],["lr",{"_index":769,"title":{},"content":{"66":{"position":[[18,2]]}},"keywords":{}}],["lt;/layout>",{"_index":44,"title":{},"content":{"3":{"position":[[276,15]]}},"keywords":{}}],["lt;/span>",{"_index":812,"title":{},"content":{"67":{"position":[[378,13]]}},"keywords":{}}],["lt;h1>hello",{"_index":742,"title":{},"content":{"62":{"position":[[158,16],[277,16]]}},"keywords":{}}],["lt;h1>mi",{"_index":40,"title":{},"content":{"3":{"position":[[201,12]]}},"keywords":{}}],["lt;highlight",{"_index":813,"title":{},"content":{"67":{"position":[[403,13],[491,13]]}},"keywords":{}}],["lt;layout>",{"_index":39,"title":{},"content":{"3":{"position":[[186,14]]}},"keywords":{}}],["lt;p>thi",{"_index":42,"title":{},"content":{"3":{"position":[[236,13]]}},"keywords":{}}],["lt;span",{"_index":799,"title":{},"content":{"67":{"position":[[159,8]]}},"keywords":{}}],["ltsa",{"_index":554,"title":{},"content":{"55":{"position":[[1759,4]]}},"keywords":{}}],["machin",{"_index":661,"title":{"65":{"position":[[6,8]]}},"content":{"57":{"position":[[1052,7]]}},"keywords":{}}],["machines.titl",{"_index":923,"title":{},"content":{"82":{"position":[[974,14]]}},"keywords":{}}],["made",{"_index":152,"title":{},"content":{"14":{"position":[[436,4]]},"55":{"position":[[1344,4]]}},"keywords":{}}],["mail",{"_index":1063,"title":{},"content":{"105":{"position":[[25,8]]}},"keywords":{}}],["main",{"_index":240,"title":{},"content":{"20":{"position":[[5,4]]},"53":{"position":[[33,4]]}},"keywords":{}}],["maintain",{"_index":148,"title":{},"content":{"14":{"position":[[302,10]]},"23":{"position":[[826,13]]},"55":{"position":[[1283,8]]},"70":{"position":[[466,10]]}},"keywords":{}}],["make",{"_index":254,"title":{},"content":{"20":{"position":[[363,4]]},"67":{"position":[[9,4]]},"73":{"position":[[328,5]]}},"keywords":{}}],["maker",{"_index":459,"title":{},"content":{"54":{"position":[[245,5],[272,5]]},"55":{"position":[[1373,5]]}},"keywords":{}}],["manag",{"_index":379,"title":{"31":{"position":[[0,6]]}},"content":{},"keywords":{}}],["mandatori",{"_index":248,"title":{},"content":{"20":{"position":[[189,9]]}},"keywords":{}}],["mani",{"_index":191,"title":{},"content":{"19":{"position":[[119,4],[259,4]]},"55":{"position":[[1206,4]]}},"keywords":{}}],["map",{"_index":403,"title":{"37":{"position":[[8,4]]}},"content":{"55":{"position":[[2419,3]]},"56":{"position":[[1098,3],[1443,7],[1593,3]]},"100":{"position":[[42,9]]}},"keywords":{}}],["marcey",{"_index":138,"title":{},"content":{"14":{"position":[[138,6]]}},"keywords":{}}],["markdown",{"_index":49,"title":{"4":{"position":[[18,8]]},"58":{"position":[[0,8]]}},"content":{"4":{"position":[[31,8],[63,8],[85,8],[109,8],[181,8]]},"16":{"position":[[10,8]]},"59":{"position":[[1,8],[203,8],[220,8],[283,8]]},"60":{"position":[[9,8]]},"61":{"position":[[9,8],[309,8]]},"62":{"position":[[1,8]]},"67":{"position":[[95,9]]}},"keywords":{}}],["matter",{"_index":491,"title":{"59":{"position":[[6,7]]}},"content":{"54":{"position":[[1104,6],[1128,6]]},"59":{"position":[[58,7],[497,6]]},"78":{"position":[[134,6]]},"87":{"position":[[357,6]]}},"keywords":{}}],["max",{"_index":824,"title":{},"content":{"69":{"position":[[70,3]]}},"keywords":{}}],["maxcontain",{"_index":1048,"title":{},"content":{"101":{"position":[[358,12]]}},"keywords":{}}],["maxim",{"_index":1009,"title":{},"content":{"96":{"position":[[656,8]]}},"keywords":{}}],["maximum,exclusiveminimum",{"_index":1035,"title":{},"content":{"99":{"position":[[542,24]]}},"keywords":{}}],["maxitem",{"_index":1050,"title":{},"content":{"101":{"position":[[384,8]]}},"keywords":{}}],["maxlength",{"_index":951,"title":{},"content":{"91":{"position":[[266,9]]}},"keywords":{}}],["mdx",{"_index":792,"title":{"67":{"position":[[0,3]]}},"content":{"67":{"position":[[1,3]]}},"keywords":{}}],["measur",{"_index":570,"title":{},"content":{"55":{"position":[[2292,11]]}},"keywords":{}}],["media",{"_index":686,"title":{},"content":{"57":{"position":[[1696,5],[1799,5]]}},"keywords":{}}],["member",{"_index":598,"title":{},"content":{"56":{"position":[[595,6],[827,6]]}},"keywords":{}}],["mermaid",{"_index":754,"title":{"64":{"position":[[0,7]]}},"content":{"64":{"position":[[67,8],[141,8]]},"65":{"position":[[1,10]]},"66":{"position":[[1,10]]}},"keywords":{}}],["metadata",{"_index":165,"title":{},"content":{"17":{"position":[[71,8]]},"57":{"position":[[1293,8],[1371,8]]},"59":{"position":[[25,8]]}},"keywords":{}}],["microservic",{"_index":307,"title":{},"content":{"22":{"position":[[191,14]]}},"keywords":{}}],["mincontain",{"_index":1047,"title":{},"content":{"101":{"position":[[345,12]]}},"keywords":{}}],["minimum",{"_index":712,"title":{},"content":{"59":{"position":[[313,7]]},"70":{"position":[[36,7]]},"99":{"position":[[533,8]]}},"keywords":{}}],["ministri",{"_index":462,"title":{},"content":{"54":{"position":[[346,8],[922,9]]}},"keywords":{}}],["minitem",{"_index":1049,"title":{},"content":{"101":{"position":[[371,8]]}},"keywords":{}}],["minlength",{"_index":950,"title":{},"content":{"91":{"position":[[255,10]]}},"keywords":{}}],["mkdir",{"_index":360,"title":{},"content":{"27":{"position":[[53,5]]}},"keywords":{}}],["model",{"_index":675,"title":{},"content":{"57":{"position":[[1447,5]]}},"keywords":{}}],["modern",{"_index":558,"title":{},"content":{"55":{"position":[[1941,14]]}},"keywords":{}}],["modifi",{"_index":352,"title":{},"content":{"26":{"position":[[1,6]]},"29":{"position":[[66,6]]},"33":{"position":[[66,6]]}},"keywords":{}}],["more",{"_index":503,"title":{},"content":{"55":{"position":[[277,4],[776,4],[2048,4]]},"64":{"position":[[154,4],[236,4]]},"67":{"position":[[33,4]]},"91":{"position":[[490,4]]},"92":{"position":[[421,4]]},"93":{"position":[[235,4]]},"94":{"position":[[253,4]]},"95":{"position":[[227,4]]},"97":{"position":[[251,4]]},"98":{"position":[[118,4]]},"99":{"position":[[632,4]]},"100":{"position":[[457,4]]},"101":{"position":[[494,4]]},"102":{"position":[[293,4]]},"103":{"position":[[202,4]]}},"keywords":{}}],["ms",{"_index":285,"title":{},"content":{"21":{"position":[[80,2]]}},"keywords":{}}],["much",{"_index":156,"title":{},"content":{"14":{"position":[[505,4]]}},"keywords":{}}],["muddl",{"_index":518,"title":{},"content":{"55":{"position":[[706,7]]}},"keywords":{}}],["multipleof",{"_index":1034,"title":{},"content":{"99":{"position":[[521,11]]}},"keywords":{}}],["municip",{"_index":474,"title":{},"content":{"54":{"position":[[653,12]]}},"keywords":{}}],["my_doc_id",{"_index":709,"title":{},"content":{"59":{"position":[[85,9]]}},"keywords":{}}],["myreactpag",{"_index":36,"title":{},"content":{"3":{"position":[[161,13]]}},"keywords":{}}],["naic",{"_index":653,"title":{},"content":{"57":{"position":[[836,7]]}},"keywords":{}}],["name",{"_index":136,"title":{},"content":{"14":{"position":[[127,5],[261,5]]},"47":{"position":[[1,4]]},"70":{"position":[[160,4],[617,4]]},"77":{"position":[[1,4]]},"86":{"position":[[1,4]]},"100":{"position":[[311,8]]},"110":{"position":[[1,4],[202,4]]}},"keywords":{}}],["names)rfc",{"_index":1082,"title":{},"content":{"106":{"position":[[211,9]]}},"keywords":{}}],["namespac",{"_index":660,"title":{},"content":{"57":{"position":[[1013,9]]}},"keywords":{}}],["nation",{"_index":333,"title":{},"content":{"23":{"position":[[388,7]]}},"keywords":{}}],["natur",{"_index":183,"title":{},"content":{"19":{"position":[[39,7],[545,7]]}},"keywords":{}}],["navbar",{"_index":9,"title":{},"content":{"1":{"position":[[92,6]]},"29":{"position":[[158,7],[260,7]]},"33":{"position":[[158,7],[277,7]]}},"keywords":{}}],["navig",{"_index":100,"title":{},"content":{"9":{"position":[[191,8]]},"29":{"position":[[4,8]]},"33":{"position":[[4,8]]},"54":{"position":[[816,9]]}},"keywords":{}}],["necessari",{"_index":90,"title":{},"content":{"8":{"position":[[356,9]]}},"keywords":{}}],["need",{"_index":59,"title":{"7":{"position":[[12,5]]}},"content":{"8":{"position":[[383,4]]},"9":{"position":[[183,4]]},"23":{"position":[[630,4]]},"55":{"position":[[1125,4],[1553,5]]}},"keywords":{}}],["nest",{"_index":1042,"title":{},"content":{"100":{"position":[[207,9]]}},"keywords":{}}],["network",{"_index":700,"title":{},"content":{"57":{"position":[[2042,8]]}},"keywords":{}}],["new",{"_index":45,"title":{"8":{"position":[[11,3]]}},"content":{"3":{"position":[[301,3]]},"4":{"position":[[127,3]]},"6":{"position":[[27,3]]},"8":{"position":[[12,3]]},"14":{"position":[[527,3]]},"16":{"position":[[111,3]]}},"keywords":{}}],["newer",{"_index":1013,"title":{},"content":{"96":{"position":[[872,5]]}},"keywords":{}}],["newli",{"_index":99,"title":{},"content":{"9":{"position":[[145,5]]}},"keywords":{}}],["next",{"_index":2,"title":{"1":{"position":[[7,6]]}},"content":{},"keywords":{}}],["nine",{"_index":822,"title":{},"content":{"69":{"position":[[59,4]]},"70":{"position":[[836,4]]},"73":{"position":[[553,4]]}},"keywords":{}}],["node.j",{"_index":60,"title":{},"content":{"7":{"position":[[1,7],[48,8]]}},"keywords":{}}],["nomenclature.$com",{"_index":913,"title":{},"content":{"82":{"position":[[645,21]]}},"keywords":{}}],["normal",{"_index":906,"title":{},"content":{"82":{"position":[[501,8]]}},"keywords":{}}],["north",{"_index":650,"title":{},"content":{"57":{"position":[[790,5]]}},"keywords":{}}],["note",{"_index":420,"title":{"43":{"position":[[15,6]]},"49":{"position":[[15,6]]},"72":{"position":[[15,6]]},"79":{"position":[[15,6]]},"88":{"position":[[15,6]]},"112":{"position":[[15,6]]}},"content":{"55":{"position":[[2176,4]]},"92":{"position":[[454,4]]},"96":{"position":[[172,4]]},"99":{"position":[[83,4]]},"103":{"position":[[87,4]]}},"keywords":{}}],["notic",{"_index":486,"title":{},"content":{"54":{"position":[[985,7]]}},"keywords":{}}],["now",{"_index":46,"title":{},"content":{"3":{"position":[[313,3]]},"4":{"position":[[139,3]]},"12":{"position":[[74,3],[121,3]]},"14":{"position":[[544,3]]},"16":{"position":[[127,3]]},"29":{"position":[[240,3]]},"32":{"position":[[178,3]]}},"keywords":{}}],["now"",{"_index":622,"title":{},"content":{"56":{"position":[[1515,9]]}},"keywords":{}}],["npm",{"_index":79,"title":{},"content":{"8":{"position":[[154,3]]},"9":{"position":[[44,3],[225,3]]},"11":{"position":[[34,3]]},"12":{"position":[[38,3]]},"28":{"position":[[40,3]]},"30":{"position":[[41,3],[128,3]]},"32":{"position":[[41,3]]}},"keywords":{}}],["nr",{"_index":186,"title":{},"content":{"19":{"position":[[63,5]]}},"keywords":{}}],["nrm",{"_index":250,"title":{},"content":{"20":{"position":[[242,3]]}},"keywords":{}}],["nuanc",{"_index":917,"title":{},"content":{"82":{"position":[[823,7]]}},"keywords":{}}],["null",{"_index":1059,"title":{"103":{"position":[[0,5]]}},"content":{"103":{"position":[[1,4],[81,5],[97,4]]}},"keywords":{}}],["number",{"_index":571,"title":{},"content":{"55":{"position":[[2311,6]]},"69":{"position":[[74,6],[192,7],[369,6]]},"70":{"position":[[847,6],[965,7],[1158,6]]},"73":{"position":[[564,7],[670,7]]},"99":{"position":[[28,7],[448,7]]}},"keywords":{}}],["numbertyp",{"_index":1031,"title":{},"content":{"99":{"position":[[344,10]]}},"keywords":{}}],["numer",{"_index":861,"title":{"99":{"position":[[0,8]]}},"content":{"73":{"position":[[26,7],[636,9]]},"99":{"position":[[68,7]]}},"keywords":{}}],["obdc",{"_index":701,"title":{},"content":{"57":{"position":[[2085,4]]}},"keywords":{}}],["object",{"_index":239,"title":{"20":{"position":[[0,11]]},"100":{"position":[[0,7]]}},"content":{"20":{"position":[[10,9]]},"56":{"position":[[544,10]]},"100":{"position":[[1,7],[168,7],[281,7]]}},"keywords":{}}],["obtain",{"_index":517,"title":{},"content":{"55":{"position":[[650,6]]}},"keywords":{}}],["obviou",{"_index":912,"title":{},"content":{"82":{"position":[[626,7]]}},"keywords":{}}],["occur",{"_index":586,"title":{},"content":{"56":{"position":[[329,5]]}},"keywords":{}}],["offici",{"_index":4,"title":{},"content":{"1":{"position":[[10,8]]},"55":{"position":[[1779,8]]}},"keywords":{}}],["omit",{"_index":717,"title":{},"content":{"59":{"position":[[433,8]]}},"keywords":{}}],["on",{"_index":372,"title":{},"content":{"28":{"position":[[220,3]]},"55":{"position":[[270,3],[769,3],[2041,3]]},"57":{"position":[[163,3]]},"70":{"position":[[77,3],[570,4]]}},"keywords":{}}],["onc",{"_index":378,"title":{},"content":{"30":{"position":[[121,5]]}},"keywords":{}}],["onclick",{"_index":809,"title":{},"content":{"67":{"position":[[277,11]]}},"keywords":{}}],["open",{"_index":108,"title":{},"content":{"9":{"position":[[369,4]]}},"keywords":{}}],["oper",{"_index":851,"title":{},"content":{"70":{"position":[[501,11]]}},"keywords":{}}],["opportun",{"_index":325,"title":{},"content":{"23":{"position":[[195,13]]},"54":{"position":[[1035,11]]}},"keywords":{}}],["option",{"_index":560,"title":{},"content":{"55":{"position":[[2025,8]]},"63":{"position":[[110,6],[205,6]]},"91":{"position":[[210,10]]},"99":{"position":[[476,10]]}},"keywords":{}}],["optional.typ",{"_index":933,"title":{},"content":{"82":{"position":[[1421,13]]}},"keywords":{}}],["order",{"_index":98,"title":{},"content":{"9":{"position":[[121,5]]},"56":{"position":[[173,7],[638,8],[684,7],[750,5],[858,8]]},"57":{"position":[[78,7]]},"96":{"position":[[619,5]]},"101":{"position":[[30,7]]}},"keywords":{}}],["organ",{"_index":454,"title":{},"content":{"54":{"position":[[69,12],[166,12]]}},"keywords":{}}],["other.unlock",{"_index":271,"title":{},"content":{"20":{"position":[[744,12]]}},"keywords":{}}],["otherwis",{"_index":963,"title":{},"content":{"92":{"position":[[118,9]]}},"keywords":{}}],["out",{"_index":556,"title":{},"content":{"55":{"position":[[1830,3]]},"82":{"position":[[701,3]]}},"keywords":{}}],["outcom",{"_index":537,"title":{},"content":{"55":{"position":[[1336,7]]},"56":{"position":[[558,9]]}},"keywords":{}}],["outlin",{"_index":445,"title":{},"content":{"53":{"position":[[21,7]]},"55":{"position":[[14,8],[2386,8]]},"56":{"position":[[14,8],[1556,8]]},"91":{"position":[[399,7]]},"100":{"position":[[267,9]]}},"keywords":{}}],["output",{"_index":562,"title":{},"content":{"55":{"position":[[2117,6]]}},"keywords":{}}],["over",{"_index":189,"title":{},"content":{"19":{"position":[[84,4]]},"55":{"position":[[1156,4]]},"82":{"position":[[942,4]]}},"keywords":{}}],["overview",{"_index":926,"title":{},"content":{"82":{"position":[[1130,8]]}},"keywords":{}}],["ownership",{"_index":854,"title":{},"content":{"70":{"position":[[710,10]]}},"keywords":{}}],["p",{"_index":361,"title":{},"content":{"27":{"position":[[60,1]]}},"keywords":{}}],["pad",{"_index":805,"title":{},"content":{"67":{"position":[[238,8]]},"73":{"position":[[191,6],[444,6],[546,6]]}},"keywords":{}}],["page",{"_index":24,"title":{"2":{"position":[[9,4]]},"3":{"position":[[24,5]]},"4":{"position":[[27,5]]},"21":{"position":[[29,5]]}},"content":{"3":{"position":[[305,4],[361,5]]},"4":{"position":[[94,4],[118,4],[131,4],[190,5]]},"9":{"position":[[394,5]]},"28":{"position":[[158,4]]},"55":{"position":[[1764,4]]},"59":{"position":[[292,5]]},"60":{"position":[[222,5]]}},"keywords":{}}],["page</h1>",{"_index":41,"title":{},"content":{"3":{"position":[[220,15]]}},"keywords":{}}],["page</p>",{"_index":43,"title":{},"content":{"3":{"position":[[261,14]]}},"keywords":{}}],["page.j",{"_index":29,"title":{},"content":{"3":{"position":[[37,8],[66,7]]}},"keywords":{}}],["page.md",{"_index":50,"title":{},"content":{"4":{"position":[[40,8],[72,7]]}},"keywords":{}}],["page](./create_a_page.md",{"_index":727,"title":{},"content":{"60":{"position":[[159,26]]}},"keywords":{}}],["page](/create_a_pag",{"_index":726,"title":{},"content":{"60":{"position":[[107,22]]}},"keywords":{}}],["pair",{"_index":1039,"title":{},"content":{"100":{"position":[[111,4]]}},"keywords":{}}],["paramet",{"_index":1014,"title":{},"content":{"97":{"position":[[108,10]]}},"keywords":{}}],["parcel",{"_index":479,"title":{"68":{"position":[[0,6]]},"73":{"position":[[0,6]]}},"content":{"54":{"position":[[782,6]]},"55":{"position":[[781,7],[931,6],[1566,6],[1646,7],[1878,6]]},"69":{"position":[[1,6],[38,6],[108,6],[203,7],[323,6],[347,6],[409,6]]},"70":{"position":[[9,6],[87,6],[275,6],[610,6],[677,6],[778,6],[815,6],[881,6],[976,7],[1096,6],[1136,6],[1198,6]]},"73":{"position":[[1,6],[338,6],[511,6],[655,6]]},"74":{"position":[[33,7]]}},"keywords":{}}],["parcel_id_format",{"_index":873,"title":{},"content":{"73":{"position":[[473,19]]}},"keywords":{}}],["parcel_nam",{"_index":837,"title":{},"content":{"70":{"position":[[146,12],[513,11]]}},"keywords":{}}],["parcelmap",{"_index":862,"title":{},"content":{"73":{"position":[[46,9]]}},"keywords":{}}],["park",{"_index":858,"title":{},"content":{"70":{"position":[[755,5]]}},"keywords":{}}],["pars",{"_index":922,"title":{},"content":{"82":{"position":[[964,6]]}},"keywords":{}}],["part",{"_index":581,"title":{},"content":{"55":{"position":[[2505,5]]}},"keywords":{}}],["parti",{"_index":472,"title":{},"content":{"54":{"position":[[557,5]]}},"keywords":{}}],["particular",{"_index":659,"title":{},"content":{"57":{"position":[[1002,10]]}},"keywords":{}}],["particularli",{"_index":733,"title":{},"content":{"61":{"position":[[257,12]]}},"keywords":{}}],["pass",{"_index":584,"title":{},"content":{"56":{"position":[[247,4]]}},"keywords":{}}],["path",{"_index":723,"title":{},"content":{"60":{"position":[[49,5],[72,6]]},"61":{"position":[[62,5]]},"82":{"position":[[595,4]]}},"keywords":{}}],["pattern",{"_index":999,"title":{},"content":{"96":{"position":[[388,8]]}},"keywords":{}}],["peopl",{"_index":280,"title":{},"content":{"21":{"position":[[28,6]]}},"keywords":{}}],["perform",{"_index":318,"title":{},"content":{"23":{"position":[[134,7]]},"54":{"position":[[207,7]]},"55":{"position":[[839,10],[898,7]]}},"keywords":{}}],["period",{"_index":592,"title":{},"content":{"56":{"position":[[426,6]]}},"keywords":{}}],["perman",{"_index":831,"title":{},"content":{"69":{"position":[[313,9]]},"70":{"position":[[1086,9]]}},"keywords":{}}],["permiss",{"_index":521,"title":{},"content":{"55":{"position":[[884,10],[1810,10]]}},"keywords":{}}],["permit",{"_index":179,"title":{},"content":{"19":{"position":[[1,10],[93,6],[224,10],[332,10],[562,10],[656,11],[759,10],[853,11]]},"20":{"position":[[246,10],[432,10]]},"22":{"position":[[89,10]]},"23":{"position":[[499,10]]},"55":{"position":[[433,7],[1016,7],[1294,7],[1769,6],[1930,10]]},"101":{"position":[[53,7]]},"109":{"position":[[63,7]]},"110":{"position":[[99,7],[151,10]]}},"keywords":{}}],["person",{"_index":453,"title":{},"content":{"54":{"position":[[49,7],[149,7],[292,7],[565,7]]}},"keywords":{}}],["phase",{"_index":583,"title":{},"content":{"56":{"position":[[195,6],[409,5],[467,5],[570,5],[839,6],[899,5]]}},"keywords":{}}],["pi",{"_index":241,"title":{},"content":{"20":{"position":[[23,4]]},"21":{"position":[[70,5]]},"22":{"position":[[222,4]]},"23":{"position":[[421,4]]},"54":{"position":[[115,5]]},"55":{"position":[[108,5]]},"82":{"position":[[476,5]]}},"keywords":{}}],["pid",{"_index":829,"title":{"73":{"position":[[10,6]]}},"content":{"69":{"position":[[188,3],[302,3]]},"70":{"position":[[553,4],[600,4],[649,3],[761,3],[961,3],[1075,3]]},"73":{"position":[[134,4]]}},"keywords":{}}],["pid.a",{"_index":835,"title":{},"content":{"70":{"position":[[81,5]]}},"keywords":{}}],["piec",{"_index":628,"title":{},"content":{"57":{"position":[[242,5],[1513,6]]}},"keywords":{}}],["pies/docs/concept/process_tracking"",{"_index":894,"title":{},"content":{"78":{"position":[[306,41]]},"87":{"position":[[529,41]]}},"keywords":{}}],["pin",{"_index":832,"title":{},"content":{"69":{"position":[[376,5]]},"70":{"position":[[61,3],[589,3],[629,4],[657,4],[1115,3],[1165,5]]}},"keywords":{}}],["plan",{"_index":304,"title":{},"content":{"22":{"position":[[133,4]]}},"keywords":{}}],["platform",{"_index":345,"title":{},"content":{"23":{"position":[[849,8]]}},"keywords":{}}],["play",{"_index":154,"title":{},"content":{"14":{"position":[[471,4]]}},"keywords":{}}],["pleas",{"_index":954,"title":{},"content":{"91":{"position":[[440,6]]}},"keywords":{}}],["plugin",{"_index":363,"title":{},"content":{"27":{"position":[[81,6],[146,6],[214,6]]}},"keywords":{}}],["pmbc",{"_index":849,"title":{},"content":{"70":{"position":[[480,4]]},"73":{"position":[[59,7],[78,4],[251,4]]}},"keywords":{}}],["point",{"_index":315,"title":{},"content":{"23":{"position":[[76,5]]},"99":{"position":[[22,5],[163,5],[253,5],[307,6]]}},"keywords":{}}],["pointer",{"_index":808,"title":{},"content":{"67":{"position":[[263,10]]}},"keywords":{}}],["polici",{"_index":233,"title":{},"content":{"19":{"position":[[740,6]]},"20":{"position":[[786,6]]},"54":{"position":[[1233,7]]}},"keywords":{}}],["polygon",{"_index":545,"title":{},"content":{"55":{"position":[[1575,7]]}},"keywords":{}}],["popul",{"_index":845,"title":{},"content":{"70":{"position":[[410,9]]}},"keywords":{}}],["posit",{"_index":167,"title":{},"content":{"17":{"position":[[115,9]]}},"keywords":{}}],["possibl",{"_index":172,"title":{},"content":{"17":{"position":[[252,8]]},"34":{"position":[[7,8]]},"99":{"position":[[187,8]]},"102":{"position":[[41,8]]}},"keywords":{}}],["post",{"_index":127,"title":{"13":{"position":[[14,4]]},"14":{"position":[[18,5]]}},"content":{"14":{"position":[[452,5],[497,4],[536,4]]}},"keywords":{}}],["potenti",{"_index":272,"title":{},"content":{"20":{"position":[[757,9],[812,9]]}},"keywords":{}}],["powershel",{"_index":85,"title":{},"content":{"8":{"position":[[249,11]]}},"keywords":{}}],["practic",{"_index":298,"title":{},"content":{"22":{"position":[[12,9]]}},"keywords":{}}],["precis",{"_index":1033,"title":{},"content":{"99":{"position":[[436,10]]}},"keywords":{}}],["predefin",{"_index":695,"title":{},"content":{"57":{"position":[[1946,10]]}},"keywords":{}}],["presenc",{"_index":1030,"title":{},"content":{"99":{"position":[[285,8]]}},"keywords":{}}],["present",{"_index":864,"title":{},"content":{"73":{"position":[[156,12]]},"82":{"position":[[1312,7]]}},"keywords":{}}],["primarili",{"_index":842,"title":{},"content":{"70":{"position":[[289,9]]}},"keywords":{}}],["primer",{"_index":896,"title":{"82":{"position":[[12,7]]}},"content":{},"keywords":{}}],["primit",{"_index":625,"title":{"90":{"position":[[0,9]]}},"content":{"57":{"position":[[140,9]]},"73":{"position":[[799,9]]},"82":{"position":[[1446,9]]}},"keywords":{}}],["principl",{"_index":627,"title":{},"content":{"57":{"position":[[191,10]]}},"keywords":{}}],["prior",{"_index":1058,"title":{},"content":{"102":{"position":[[231,5]]}},"keywords":{}}],["process",{"_index":194,"title":{"35":{"position":[[0,7]]},"56":{"position":[[0,7]]},"75":{"position":[[0,7]]},"84":{"position":[[0,7]]}},"content":{"19":{"position":[[141,7],[770,7]]},"20":{"position":[[333,9]]},"23":{"position":[[278,10]]},"36":{"position":[[14,7]]},"54":{"position":[[1208,10]]},"55":{"position":[[555,7],[2518,8]]},"56":{"position":[[110,8],[309,10],[775,7],[1011,7],[1616,7]]},"76":{"position":[[71,8]]},"85":{"position":[[90,8]]}},"keywords":{}}],["product",{"_index":115,"title":{},"content":{"11":{"position":[[21,11]]},"12":{"position":[[11,10]]}},"keywords":{}}],["program",{"_index":693,"title":{},"content":{"57":{"position":[[1913,11]]}},"keywords":{}}],["progress",{"_index":261,"title":{},"content":{"20":{"position":[[559,8]]}},"keywords":{}}],["project",{"_index":76,"title":{"108":{"position":[[0,7]]}},"content":{"8":{"position":[[118,7]]},"32":{"position":[[31,8]]},"55":{"position":[[326,8],[372,8],[736,8],[2014,7]]},"110":{"position":[[120,7],[214,8],[279,8],[340,8]]}},"keywords":{}}],["project_descript",{"_index":1091,"title":{},"content":{"110":{"position":[[223,19]]}},"keywords":{}}],["project_nam",{"_index":1089,"title":{},"content":{"110":{"position":[[171,12]]}},"keywords":{}}],["prompt",{"_index":84,"title":{},"content":{"8":{"position":[[241,7]]}},"keywords":{}}],["properti",{"_index":905,"title":{},"content":{"82":{"position":[[487,8],[843,10],[1288,10],[1475,9]]},"91":{"position":[[236,10]]},"99":{"position":[[502,10]]},"100":{"position":[[356,11]]}},"keywords":{}}],["propon",{"_index":263,"title":{},"content":{"20":{"position":[[580,11]]},"54":{"position":[[855,9]]}},"keywords":{}}],["protocol",{"_index":696,"title":{},"content":{"57":{"position":[[1957,8]]}},"keywords":{}}],["provid",{"_index":231,"title":{},"content":{"19":{"position":[[717,9]]},"20":{"position":[[540,7]]},"23":{"position":[[105,7]]},"53":{"position":[[89,7]]},"54":{"position":[[728,9],[1050,7]]},"56":{"position":[[846,8]]},"57":{"position":[[343,7]]},"82":{"position":[[1114,7]]},"97":{"position":[[40,7]]},"101":{"position":[[231,7]]}},"keywords":{}}],["provinc",{"_index":477,"title":{},"content":{"54":{"position":[[698,9]]},"55":{"position":[[949,8],[1896,8]]}},"keywords":{}}],["provinci",{"_index":484,"title":{},"content":{"54":{"position":[[911,10]]},"73":{"position":[[278,10]]}},"keywords":{}}],["publish",{"_index":243,"title":{},"content":{"20":{"position":[[44,9]]}},"keywords":{}}],["purpos",{"_index":178,"title":{"19":{"position":[[0,8]]}},"content":{"19":{"position":[[625,7]]}},"keywords":{}}],["qualiti",{"_index":206,"title":{},"content":{"19":{"position":[[287,7]]},"20":{"position":[[90,7]]}},"keywords":{}}],["qualitydata",{"_index":326,"title":{},"content":{"23":{"position":[[230,11]]}},"keywords":{}}],["quantifi",{"_index":569,"title":{},"content":{"55":{"position":[[2279,12]]}},"keywords":{}}],["queue",{"_index":574,"title":{},"content":{"55":{"position":[[2355,6]]}},"keywords":{}}],["quick",{"_index":758,"title":{},"content":{"64":{"position":[[99,5]]},"82":{"position":[[1124,5]]}},"keywords":{}}],["quot;2017",{"_index":435,"title":{},"content":{"48":{"position":[[32,10],[87,10],[148,10]]},"87":{"position":[[53,10],[108,10],[169,10]]}},"keywords":{}}],["quot;approved"",{"_index":608,"title":{},"content":{"56":{"position":[[1061,22]]}},"keywords":{}}],["quot;ca"",{"_index":644,"title":{},"content":{"57":{"position":[[713,14]]}},"keywords":{}}],["quot;class"",{"_index":882,"title":{},"content":{"78":{"position":[[11,18]]},"87":{"position":[[234,18]]}},"keywords":{}}],["quot;description"",{"_index":884,"title":{},"content":{"78":{"position":[[50,24]]},"87":{"position":[[273,24]]}},"keywords":{}}],["quot;docsversiondropdown"",{"_index":391,"title":{},"content":{"33":{"position":[[185,32]]}},"keywords":{}}],["quot;end"",{"_index":438,"title":{},"content":{"48":{"position":[[70,16]]},"87":{"position":[[91,16]]}},"keywords":{}}],["quot;event"",{"_index":939,"title":{},"content":{"87":{"position":[[11,18]]}},"keywords":{}}],["quot;http://bcgov.github.io/nr",{"_index":893,"title":{},"content":{"78":{"position":[[274,31]]},"87":{"position":[[497,31]]}},"keywords":{}}],["quot;parent_class"",{"_index":888,"title":{},"content":{"78":{"position":[[156,25]]},"87":{"position":[[379,25]]}},"keywords":{}}],["quot;parent_concept"",{"_index":890,"title":{},"content":{"78":{"position":[[201,27]]},"87":{"position":[[424,27]]}},"keywords":{}}],["quot;pend",{"_index":616,"title":{},"content":{"56":{"position":[[1350,13]]},"78":{"position":[[367,13]]},"87":{"position":[[590,13]]}},"keywords":{}}],["quot;process"",{"_index":940,"title":{},"content":{"87":{"position":[[211,20]]}},"keywords":{}}],["quot;property"",{"_index":1041,"title":{},"content":{"100":{"position":[[143,21]]}},"keywords":{}}],["quot;publisher."",{"_index":674,"title":{},"content":{"57":{"position":[[1394,22]]}},"keywords":{}}],["quot;seri",{"_index":682,"title":{},"content":{"57":{"position":[[1619,19]]}},"keywords":{}}],["quot;stage"",{"_index":889,"title":{},"content":{"78":{"position":[[182,18]]},"87":{"position":[[405,18]]}},"keywords":{}}],["quot;start"",{"_index":434,"title":{},"content":{"48":{"position":[[13,18],[129,18]]},"87":{"position":[[34,18],[150,18]]}},"keywords":{}}],["quot;status"",{"_index":883,"title":{},"content":{"78":{"position":[[30,19]]},"87":{"position":[[253,19]]}},"keywords":{}}],["quot;submiss",{"_index":564,"title":{},"content":{"55":{"position":[[2186,17]]}},"keywords":{}}],["quot;submitted"",{"_index":607,"title":{},"content":{"56":{"position":[[1038,22]]}},"keywords":{}}],["quot;system"",{"_index":892,"title":{},"content":{"78":{"position":[[254,19]]},"87":{"position":[[477,19]]}},"keywords":{}}],["quot;th",{"_index":885,"title":{},"content":{"78":{"position":[[75,9]]},"87":{"position":[[298,9]]}},"keywords":{}}],["quot;und",{"_index":618,"title":{},"content":{"56":{"position":[[1378,11]]}},"keywords":{}}],["quot;underreview"",{"_index":891,"title":{},"content":{"78":{"position":[[229,24]]},"87":{"position":[[452,24]]}},"keywords":{}}],["quot;value"",{"_index":895,"title":{},"content":{"78":{"position":[[348,18]]},"87":{"position":[[571,18]]}},"keywords":{}}],["quot;what",{"_index":621,"title":{},"content":{"56":{"position":[[1491,10]]}},"keywords":{}}],["quot;wher",{"_index":609,"title":{},"content":{"56":{"position":[[1148,11]]}},"keywords":{}}],["quot;why"",{"_index":590,"title":{},"content":{"56":{"position":[[393,15]]}},"keywords":{}}],["radio",{"_index":655,"title":{},"content":{"57":{"position":[[856,5]]}},"keywords":{}}],["rang",{"_index":759,"title":{},"content":{"64":{"position":[[179,5]]}},"keywords":{}}],["react",{"_index":26,"title":{"3":{"position":[[18,5]]},"67":{"position":[[8,5]]}},"content":{"3":{"position":[[31,5],[60,5],[81,5],[92,8],[214,5],[255,5],[355,5]]},"67":{"position":[[71,5]]}},"keywords":{}}],["read",{"_index":3,"title":{},"content":{"1":{"position":[[1,4]]},"12":{"position":[[201,5]]},"57":{"position":[[1970,7]]}},"keywords":{}}],["readabl",{"_index":662,"title":{},"content":{"57":{"position":[[1060,8]]}},"keywords":{}}],["reader",{"_index":915,"title":{},"content":{"82":{"position":[[781,7]]}},"keywords":{}}],["readi",{"_index":105,"title":{},"content":{"9":{"position":[[319,5]]}},"keywords":{}}],["reason",{"_index":203,"title":{},"content":{"19":{"position":[[264,7]]}},"keywords":{}}],["receiv",{"_index":485,"title":{},"content":{"54":{"position":[[976,8]]}},"keywords":{}}],["recommend",{"_index":65,"title":{},"content":{"7":{"position":[[65,11]]},"59":{"position":[[264,9]]},"99":{"position":[[326,9]]}},"keywords":{}}],["record",{"_index":843,"title":{},"content":{"70":{"position":[[299,8],[344,8]]}},"keywords":{}}],["reduc",{"_index":258,"title":{},"content":{"20":{"position":[[452,6]]}},"keywords":{}}],["refer",{"_index":399,"title":{"44":{"position":[[0,11]]},"50":{"position":[[0,11]]},"74":{"position":[[0,11]]},"80":{"position":[[0,11]]},"83":{"position":[[0,11]]},"89":{"position":[[0,11]]},"104":{"position":[[0,11]]},"113":{"position":[[0,11]]}},"content":{"36":{"position":[[1,5]]},"57":{"position":[[370,9]]},"61":{"position":[[71,9],[194,9]]},"69":{"position":[[288,6]]},"70":{"position":[[1061,6]]},"91":{"position":[[447,5]]},"92":{"position":[[378,9]]},"93":{"position":[[192,9]]},"94":{"position":[[210,9]]},"95":{"position":[[184,9]]},"99":{"position":[[589,9]]},"101":{"position":[[451,9]]},"102":{"position":[[250,9]]},"103":{"position":[[159,9]]}},"keywords":{}}],["referr",{"_index":482,"title":{},"content":{"54":{"position":[[893,8]]},"55":{"position":[[229,8]]}},"keywords":{}}],["refin",{"_index":508,"title":{},"content":{"55":{"position":[[489,8]]}},"keywords":{}}],["reform",{"_index":201,"title":{},"content":{"19":{"position":[[235,6]]}},"keywords":{}}],["regard",{"_index":538,"title":{},"content":{"55":{"position":[[1379,9]]}},"keywords":{}}],["regex",{"_index":1019,"title":{},"content":{"98":{"position":[[33,5]]}},"keywords":{}}],["region",{"_index":475,"title":{},"content":{"54":{"position":[[669,8]]}},"keywords":{}}],["regist",{"_index":821,"title":{},"content":{"69":{"position":[[29,8],[133,8],[251,10]]},"70":{"position":[[328,9],[806,8],[906,8],[1024,10]]}},"keywords":{}}],["registrar",{"_index":827,"title":{},"content":{"69":{"position":[[170,9]]},"70":{"position":[[943,9]]}},"keywords":{}}],["registri",{"_index":834,"title":{},"content":{"69":{"position":[[400,8]]},"70":{"position":[[376,9],[1189,8]]}},"keywords":{}}],["regular",{"_index":722,"title":{"98":{"position":[[0,7]]}},"content":{"60":{"position":[[1,7]]},"61":{"position":[[1,7]]},"91":{"position":[[283,7]]},"96":{"position":[[369,7],[490,7]]},"98":{"position":[[1,7]]}},"keywords":{}}],["rel",{"_index":724,"title":{},"content":{"60":{"position":[[58,8]]},"61":{"position":[[211,8]]}},"keywords":{}}],["relat",{"_index":68,"title":{},"content":{"7":{"position":[[101,7]]},"55":{"position":[[2408,10]]},"56":{"position":[[650,7],[1643,6]]},"82":{"position":[[309,7]]},"109":{"position":[[55,7],[80,7]]},"110":{"position":[[107,7]]}},"keywords":{}}],["relationship",{"_index":514,"title":{},"content":{"55":{"position":[[586,12]]},"57":{"position":[[1481,13]]},"82":{"position":[[287,13]]},"100":{"position":[[386,13]]}},"keywords":{}}],["releas",{"_index":380,"title":{},"content":{"32":{"position":[[1,7]]}},"keywords":{}}],["reli",{"_index":918,"title":{},"content":{"82":{"position":[[888,6]]}},"keywords":{}}],["reliabl",{"_index":1027,"title":{},"content":{"99":{"position":[[199,8]]}},"keywords":{}}],["reload",{"_index":112,"title":{},"content":{"9":{"position":[[430,7]]}},"keywords":{}}],["remain",{"_index":1007,"title":{},"content":{"96":{"position":[[628,6]]}},"keywords":{}}],["rephras",{"_index":553,"title":{},"content":{"55":{"position":[[1744,9]]}},"keywords":{}}],["report",{"_index":200,"title":{},"content":{"19":{"position":[[210,9]]},"23":{"position":[[95,9],[460,9]]}},"keywords":{}}],["reportingact",{"_index":330,"title":{},"content":{"23":{"position":[[332,17]]}},"keywords":{}}],["repres",{"_index":293,"title":{},"content":{"21":{"position":[[227,11]]},"46":{"position":[[31,9]]},"55":{"position":[[70,12],[1501,11]]},"56":{"position":[[70,12],[149,10],[478,9]]},"76":{"position":[[31,9]]},"85":{"position":[[31,9]]},"91":{"position":[[21,9],[89,11],[379,10]]},"92":{"position":[[35,11],[180,11]]},"93":{"position":[[44,11]]},"94":{"position":[[41,11]]},"99":{"position":[[43,11]]},"101":{"position":[[20,9]]},"102":{"position":[[22,9]]},"103":{"position":[[17,9]]},"109":{"position":[[31,9]]}},"keywords":{}}],["represent",{"_index":546,"title":{},"content":{"55":{"position":[[1583,14]]},"92":{"position":[[332,15]]}},"keywords":{}}],["request",{"_index":886,"title":{},"content":{"78":{"position":[[99,7]]},"87":{"position":[[322,7]]}},"keywords":{}}],["requir",{"_index":220,"title":{},"content":{"19":{"position":[[484,8]]},"20":{"position":[[177,9]]},"55":{"position":[[262,7],[441,8],[2204,7]]},"96":{"position":[[831,7]]},"99":{"position":[[414,7]]},"100":{"position":[[193,13],[331,8]]}},"keywords":{}}],["residentiald",{"_index":1065,"title":{},"content":{"105":{"position":[[47,15]]}},"keywords":{}}],["resolv",{"_index":1017,"title":{},"content":{"97":{"position":[[169,9]]}},"keywords":{}}],["resourc",{"_index":184,"title":{"96":{"position":[[0,8]]}},"content":{"19":{"position":[[47,8],[553,8]]},"96":{"position":[[11,8]]},"97":{"position":[[74,8]]}},"keywords":{}}],["respect",{"_index":394,"title":{},"content":{"34":{"position":[[48,10]]},"54":{"position":[[335,10]]},"55":{"position":[[1462,7]]}},"keywords":{}}],["rest",{"_index":702,"title":{},"content":{"57":{"position":[[2116,4]]}},"keywords":{}}],["result",{"_index":728,"title":{},"content":{"60":{"position":[[188,7]]}},"keywords":{}}],["return",{"_index":38,"title":{},"content":{"3":{"position":[[177,6]]},"62":{"position":[[151,6],[270,6]]}},"keywords":{}}],["review",{"_index":544,"title":{},"content":{"55":{"position":[[1559,6]]},"78":{"position":[[116,6]]},"87":{"position":[[339,6]]},"96":{"position":[[847,6]]}},"keywords":{}}],["review"",{"_index":617,"title":{},"content":{"56":{"position":[[1364,13]]},"78":{"position":[[381,12]]},"87":{"position":[[604,12]]}},"keywords":{}}],["rfc",{"_index":945,"title":{},"content":{"91":{"position":[[134,3]]},"95":{"position":[[161,3]]},"96":{"position":[[700,3],[723,3]]}},"keywords":{}}],["right",{"_index":527,"title":{},"content":{"55":{"position":[[1048,5],[1090,6]]}},"keywords":{}}],["road",{"_index":857,"title":{},"content":{"70":{"position":[[749,5]]}},"keywords":{}}],["role",{"_index":452,"title":{},"content":{"54":{"position":[[36,5],[453,4]]}},"keywords":{}}],["round",{"_index":578,"title":{},"content":{"55":{"position":[[2452,7]]}},"keywords":{}}],["rule",{"_index":288,"title":{},"content":{"21":{"position":[[102,5]]}},"keywords":{}}],["run",{"_index":77,"title":{},"content":{"8":{"position":[[136,3],[391,3]]},"9":{"position":[[1,3],[48,3],[229,3]]},"11":{"position":[[38,3]]},"12":{"position":[[42,3]]},"28":{"position":[[44,3]]},"30":{"position":[[45,3],[132,3]]},"32":{"position":[[45,3]]}},"keywords":{}}],["same",{"_index":277,"title":{"21":{"position":[[24,4]]}},"content":{"21":{"position":[[182,4]]},"70":{"position":[[541,4]]}},"keywords":{}}],["scalabl",{"_index":344,"title":{},"content":{"23":{"position":[[840,8]]}},"keywords":{}}],["scenario",{"_index":942,"title":{},"content":{"91":{"position":[[61,10]]},"99":{"position":[[392,9]]}},"keywords":{}}],["schema",{"_index":348,"title":{"24":{"position":[[0,8]]},"82":{"position":[[5,6]]}},"content":{"57":{"position":[[1417,6],[1426,6],[1465,6],[1536,7],[1590,7]]},"82":{"position":[[8,6],[214,6],[344,6],[401,7],[452,6],[583,7],[735,7],[1009,7],[1094,7]]},"83":{"position":[[29,6]]},"91":{"position":[[465,6]]},"92":{"position":[[396,6],[560,6]]},"93":{"position":[[210,6]]},"94":{"position":[[228,6]]},"95":{"position":[[202,6]]},"96":{"position":[[141,6],[274,6]]},"97":{"position":[[226,6]]},"98":{"position":[[93,6]]},"99":{"position":[[607,6]]},"100":{"position":[[423,7],[523,6]]},"101":{"position":[[469,6]]},"102":{"position":[[171,7],[268,6]]},"103":{"position":[[177,6]]},"106":{"position":[[14,6]]},"107":{"position":[[6,6]]}},"keywords":{}}],["schema.org/draft",{"_index":908,"title":{},"content":{"82":{"position":[[526,16]]}},"keywords":{}}],["schemasourc",{"_index":418,"title":{},"content":{"42":{"position":[[1,12]]}},"keywords":{}}],["schemasourceexampl",{"_index":860,"title":{},"content":{"71":{"position":[[1,19]]},"111":{"position":[[1,19]]}},"keywords":{}}],["scheme",{"_index":636,"title":{},"content":{"57":{"position":[[447,7],[691,8]]}},"keywords":{}}],["scope",{"_index":422,"title":{"46":{"position":[[0,6]]},"69":{"position":[[0,6]]},"76":{"position":[[0,6]]},"85":{"position":[[0,6]]},"109":{"position":[[0,6]]}},"content":{"56":{"position":[[300,5]]}},"keywords":{}}],["sdm",{"_index":461,"title":{},"content":{"54":{"position":[[278,5]]}},"keywords":{}}],["seamlessli",{"_index":374,"title":{},"content":{"29":{"position":[[13,10]]},"33":{"position":[[13,10]]}},"keywords":{}}],["search",{"_index":16,"title":{},"content":{"1":{"position":[[168,6]]}},"keywords":{}}],["section",{"_index":450,"title":{},"content":{"54":{"position":[[6,7]]},"55":{"position":[[6,7]]},"56":{"position":[[6,7]]},"64":{"position":[[274,7]]},"92":{"position":[[59,7]]},"93":{"position":[[68,7]]},"94":{"position":[[65,7],[193,7]]},"95":{"position":[[110,7],[171,7]]}},"keywords":{}}],["sector",{"_index":185,"title":{},"content":{"19":{"position":[[56,6]]},"20":{"position":[[354,7]]},"23":{"position":[[16,6],[319,6]]}},"keywords":{}}],["see",{"_index":284,"title":{},"content":{"21":{"position":[[76,3]]},"60":{"position":[[86,3],[138,3],[202,3]]},"73":{"position":[[300,4]]}},"keywords":{}}],["seek",{"_index":457,"title":{},"content":{"54":{"position":[[179,7]]}},"keywords":{}}],["semant",{"_index":657,"title":{},"content":{"57":{"position":[[943,8]]}},"keywords":{}}],["separ",{"_index":341,"title":{},"content":{"23":{"position":[[753,10]]}},"keywords":{}}],["sequenc",{"_index":582,"title":{},"content":{"56":{"position":[[181,10]]}},"keywords":{}}],["sequenti",{"_index":600,"title":{},"content":{"56":{"position":[[739,10]]}},"keywords":{}}],["serv",{"_index":103,"title":{},"content":{"9":{"position":[[279,6]]},"12":{"position":[[46,5],[78,6]]},"57":{"position":[[595,5]]},"82":{"position":[[105,6]]}},"keywords":{}}],["server",{"_index":92,"title":{},"content":{"9":{"position":[[21,7],[311,7]]}},"keywords":{}}],["servic",{"_index":867,"title":{},"content":{"73":{"position":[[231,7]]}},"keywords":{}}],["set",{"_index":216,"title":{"38":{"position":[[5,5]]}},"content":{"19":{"position":[[436,3]]},"21":{"position":[[1,3]]},"46":{"position":[[96,3]]},"54":{"position":[[217,3]]},"55":{"position":[[426,3],[762,3],[2034,3]]},"56":{"position":[[498,3],[692,3]]},"82":{"position":[[1179,3],[1281,3]]}},"keywords":{}}],["shall",{"_index":597,"title":{},"content":{"56":{"position":[[576,5],[808,5],[1092,5],[1430,5]]},"70":{"position":[[27,5]]},"91":{"position":[[80,5]]},"92":{"position":[[26,5],[149,5],[348,5]]},"93":{"position":[[35,5]]},"94":{"position":[[32,5]]},"95":{"position":[[83,5],[143,5]]},"96":{"position":[[313,5],[459,5]]},"100":{"position":[[69,5]]}},"keywords":{}}],["share",{"_index":296,"title":{},"content":{"22":{"position":[[1,5]]},"23":{"position":[[638,5]]}},"keywords":{}}],["shift",{"_index":234,"title":{},"content":{"19":{"position":[[747,7],[830,6]]}},"keywords":{}}],["short",{"_index":1090,"title":{},"content":{"110":{"position":[[196,5]]}},"keywords":{}}],["shorthand",{"_index":632,"title":{},"content":{"57":{"position":[[353,9]]}},"keywords":{}}],["show",{"_index":928,"title":{},"content":{"82":{"position":[[1218,4]]}},"keywords":{}}],["showcaseget",{"_index":20,"title":{},"content":{"1":{"position":[[214,11]]}},"keywords":{}}],["sidebar",{"_index":163,"title":{"17":{"position":[[14,8]]}},"content":{"17":{"position":[[36,7],[97,7],[276,7]]},"64":{"position":[[289,8]]}},"keywords":{}}],["sidebar_label",{"_index":168,"title":{},"content":{"17":{"position":[[144,14]]}},"keywords":{}}],["sidebar_posit",{"_index":170,"title":{},"content":{"17":{"position":[[165,17]]}},"keywords":{}}],["sidebars.j",{"_index":174,"title":{},"content":{"17":{"position":[[298,12],[312,11]]}},"keywords":{}}],["similar",{"_index":466,"title":{},"content":{"54":{"position":[[407,7]]}},"keywords":{}}],["singl",{"_index":314,"title":{},"content":{"23":{"position":[[69,6]]},"55":{"position":[[2129,6]]},"103":{"position":[[57,6]]}},"keywords":{}}],["singular",{"_index":499,"title":{},"content":{"55":{"position":[[154,8]]}},"keywords":{}}],["site",{"_index":6,"title":{"8":{"position":[[15,5]]},"9":{"position":[[11,5]]},"10":{"position":[[12,4]]},"11":{"position":[[11,5]]},"12":{"position":[[12,5]]},"25":{"position":[[15,4]]},"28":{"position":[[21,5]]},"30":{"position":[[21,5]]}},"content":{"1":{"position":[[44,4]]},"6":{"position":[[31,5]]},"8":{"position":[[27,4]]},"9":{"position":[[170,5],[425,4]]},"11":{"position":[[12,4]]},"28":{"position":[[12,4],[86,4]]},"30":{"position":[[12,4],[86,4]]}},"keywords":{}}],["skip",{"_index":920,"title":{},"content":{"82":{"position":[[934,7]]}},"keywords":{}}],["slug",{"_index":132,"title":{},"content":{"14":{"position":[[82,5]]},"59":{"position":[[157,5]]}},"keywords":{}}],["small",{"_index":123,"title":{},"content":{"12":{"position":[[190,5]]}},"keywords":{}}],["sme",{"_index":493,"title":{},"content":{"54":{"position":[[1142,5]]}},"keywords":{}}],["smoothli",{"_index":268,"title":{},"content":{"20":{"position":[[658,8]]}},"keywords":{}}],["softwar",{"_index":497,"title":{},"content":{"54":{"position":[[1219,9]]}},"keywords":{}}],["sole",{"_index":1029,"title":{},"content":{"99":{"position":[[265,6]]}},"keywords":{}}],["solut",{"_index":306,"title":{},"content":{"22":{"position":[[155,9]]}},"keywords":{}}],["space",{"_index":181,"title":{},"content":{"19":{"position":[[25,6]]},"70":{"position":[[742,6]]}},"keywords":{}}],["spec",{"_index":772,"title":{},"content":{"66":{"position":[[40,5]]}},"keywords":{}}],["special",{"_index":746,"title":{},"content":{"63":{"position":[[18,7]]}},"keywords":{}}],["specialist",{"_index":494,"title":{},"content":{"54":{"position":[[1153,10]]}},"keywords":{}}],["specif",{"_index":244,"title":{"42":{"position":[[0,14]]},"48":{"position":[[0,14]]},"71":{"position":[[0,14]]},"78":{"position":[[0,14]]},"87":{"position":[[0,14]]},"111":{"position":[[0,14]]}},"content":{"20":{"position":[[54,13]]},"30":{"position":[[23,8]]},"38":{"position":[[45,8]]},"53":{"position":[[64,13]]},"54":{"position":[[1169,8]]},"55":{"position":[[83,8],[145,8],[908,8],[1836,8],[2496,8]]},"56":{"position":[[83,8],[535,8],[607,8]]},"57":{"position":[[64,13],[91,8],[400,8]]},"82":{"position":[[176,8],[767,13]]},"92":{"position":[[426,8]]},"99":{"position":[[637,8]]},"100":{"position":[[462,8]]},"101":{"position":[[499,8]]},"109":{"position":[[93,8]]}},"keywords":{}}],["specifi",{"_index":214,"title":{},"content":{"19":{"position":[[409,9]]},"59":{"position":[[378,10]]},"91":{"position":[[121,9]]},"92":{"position":[[128,10],[252,10]]},"96":{"position":[[525,10]]},"97":{"position":[[57,7]]}},"keywords":{}}],["spot",{"_index":324,"title":{},"content":{"23":{"position":[[190,4]]}},"keywords":{}}],["spreadsheet",{"_index":667,"title":{},"content":{"57":{"position":[[1185,11]]}},"keywords":{}}],["sql",{"_index":677,"title":{},"content":{"57":{"position":[[1567,4],[2094,3]]}},"keywords":{}}],["src/components/hellodocusaurus.j",{"_index":744,"title":{},"content":{"62":{"position":[[207,33]]}},"keywords":{}}],["src/pages/mi",{"_index":28,"title":{},"content":{"3":{"position":[[18,12],[47,12]]},"4":{"position":[[18,12],[50,12]]}},"keywords":{}}],["stabl",{"_index":343,"title":{},"content":{"23":{"position":[[818,7]]}},"keywords":{}}],["stage",{"_index":595,"title":{},"content":{"56":{"position":[[505,6],[658,7],[666,5],[723,5],[802,5],[1115,5]]}},"keywords":{}}],["standard",{"_index":213,"title":{"105":{"position":[[11,10]]},"106":{"position":[[10,10]]}},"content":{"19":{"position":[[400,8]]},"20":{"position":[[204,8]]},"23":{"position":[[778,10],[941,10]]},"57":{"position":[[626,9],[908,12],[1786,12]]},"73":{"position":[[777,8]]},"92":{"position":[[567,9]]},"96":{"position":[[281,9]]},"105":{"position":[[14,10],[104,9]]}},"keywords":{}}],["standardb.c",{"_index":1066,"title":{},"content":{"105":{"position":[[72,12]]}},"keywords":{}}],["standards.identifi",{"_index":300,"title":{},"content":{"22":{"position":[[54,18]]}},"keywords":{}}],["start",{"_index":54,"title":{"6":{"position":[[8,8]]},"9":{"position":[[0,5]]},"18":{"position":[[8,7]]},"28":{"position":[[0,5]]}},"content":{"6":{"position":[[5,7]]},"9":{"position":[[52,5],[233,5]]},"28":{"position":[[1,5],[48,5],[150,7]]}},"keywords":{}}],["state",{"_index":542,"title":{"65":{"position":[[0,5]]}},"content":{"55":{"position":[[1518,6]]},"56":{"position":[[713,7],[759,6],[883,6],[913,5],[1086,5],[1314,5],[1464,5]]}},"keywords":{}}],["static",{"_index":116,"title":{},"content":{"11":{"position":[[54,6]]},"61":{"position":[[95,6]]}},"keywords":{}}],["static/img/docusaurus.png",{"_index":731,"title":{},"content":{"61":{"position":[[112,28]]}},"keywords":{}}],["station",{"_index":656,"title":{},"content":{"57":{"position":[[862,9]]}},"keywords":{}}],["statu",{"_index":611,"title":{},"content":{"56":{"position":[[1185,6]]}},"keywords":{}}],["status",{"_index":620,"title":{},"content":{"56":{"position":[[1421,8]]}},"keywords":{}}],["statutori",{"_index":460,"title":{},"content":{"54":{"position":[[253,9]]},"55":{"position":[[1080,9],[1354,9]]}},"keywords":{}}],["store",{"_index":195,"title":{},"content":{"19":{"position":[[153,5]]},"57":{"position":[[1711,7]]},"73":{"position":[[16,6],[146,5]]},"92":{"position":[[169,6]]}},"keywords":{}}],["strata",{"_index":855,"title":{},"content":{"70":{"position":[[730,7]]}},"keywords":{}}],["strategi",{"_index":339,"title":{},"content":{"23":{"position":[[711,8],[793,8]]}},"keywords":{}}],["string",{"_index":417,"title":{"91":{"position":[[0,7]]}},"content":{"41":{"position":[[7,6]]},"47":{"position":[[61,6]]},"57":{"position":[[301,7]]},"70":{"position":[[234,6],[530,6]]},"73":{"position":[[493,8]]},"77":{"position":[[61,6]]},"86":{"position":[[61,6]]},"91":{"position":[[1,7],[72,7],[195,7],[368,6]]},"96":{"position":[[305,7]]},"100":{"position":[[87,7]]},"110":{"position":[[189,6],[248,6]]}},"keywords":{}}],["strip",{"_index":921,"title":{},"content":{"82":{"position":[[950,8]]}},"keywords":{}}],["structur",{"_index":416,"title":{"41":{"position":[[0,10]]},"47":{"position":[[0,10]]},"57":{"position":[[0,10]]},"70":{"position":[[0,10]]},"77":{"position":[[0,10]]},"86":{"position":[[0,10]]},"110":{"position":[[0,10]]}},"content":{"57":{"position":[[34,10]]},"82":{"position":[[68,10],[146,10],[253,11],[858,11]]},"100":{"position":[[221,12]]}},"keywords":{}}],["style",{"_index":800,"title":{},"content":{"67":{"position":[[168,8]]}},"keywords":{}}],["subgraph",{"_index":785,"title":{},"content":{"66":{"position":[[217,8],[249,8]]}},"keywords":{}}],["subject",{"_index":490,"title":{},"content":{"54":{"position":[[1096,7],[1120,7]]},"78":{"position":[[126,7]]},"87":{"position":[[349,7]]}},"keywords":{}}],["submiss",{"_index":471,"title":{},"content":{"54":{"position":[[533,12]]},"55":{"position":[[1731,12],[2092,10]]}},"keywords":{}}],["submit",{"_index":515,"title":{},"content":{"55":{"position":[[613,9]]}},"keywords":{}}],["substitut",{"_index":1015,"title":{},"content":{"97":{"position":[[132,11]]}},"keywords":{}}],["such",{"_index":496,"title":{},"content":{"54":{"position":[[1186,4]]},"55":{"position":[[1855,4]]},"91":{"position":[[247,4]]},"92":{"position":[[263,4]]},"99":{"position":[[317,5],[513,4]]},"101":{"position":[[110,5],[325,4]]}},"keywords":{}}],["support",{"_index":354,"title":{},"content":{"26":{"position":[[36,7]]},"54":{"position":[[496,7]]},"59":{"position":[[481,9]]},"60":{"position":[[28,10]]},"61":{"position":[[29,10]]},"62":{"position":[[26,9]]},"64":{"position":[[25,8],[195,10]]},"92":{"position":[[491,9]]},"96":{"position":[[205,9],[785,11]]}},"keywords":{}}],["sure",{"_index":509,"title":{},"content":{"55":{"position":[[502,4]]}},"keywords":{}}],["surveyor",{"_index":552,"title":{},"content":{"55":{"position":[[1722,8]]}},"keywords":{}}],["synonym",{"_index":481,"title":{},"content":{"54":{"position":[[828,7],[867,7]]}},"keywords":{}}],["syntax",{"_index":684,"title":{},"content":{"57":{"position":[[1659,7]]},"62":{"position":[[41,6]]},"63":{"position":[[26,6]]},"64":{"position":[[267,6]]}},"keywords":{}}],["system",{"_index":208,"title":{},"content":{"19":{"position":[[343,7]]},"20":{"position":[[102,6],[257,7],[443,8],[482,7],[638,7],[711,7]]},"23":{"position":[[510,7],[571,7],[919,7]]},"57":{"position":[[829,6]]},"110":{"position":[[162,8]]}},"keywords":{}}],["sébastien",{"_index":146,"title":{},"content":{"14":{"position":[[267,9]]}},"keywords":{}}],["tabular",{"_index":668,"title":{},"content":{"57":{"position":[[1200,7]]}},"keywords":{}}],["tag",{"_index":151,"title":{},"content":{"14":{"position":[[388,5]]},"59":{"position":[[178,5],[346,4]]}},"keywords":{}}],["take",{"_index":428,"title":{},"content":{"46":{"position":[[124,6]]},"55":{"position":[[984,4]]},"63":{"position":[[213,4]]},"76":{"position":[[89,6]]},"85":{"position":[[108,6]]}},"keywords":{}}],["taken",{"_index":541,"title":{},"content":{"55":{"position":[[1451,5]]}},"keywords":{}}],["talk",{"_index":338,"title":{},"content":{"23":{"position":[[648,4]]}},"keywords":{}}],["tantali",{"_index":846,"title":{},"content":{"70":{"position":[[425,8]]}},"keywords":{}}],["tbd",{"_index":349,"title":{},"content":{"24":{"position":[[1,3]]},"38":{"position":[[117,4]]},"39":{"position":[[147,3]]},"43":{"position":[[1,3]]},"44":{"position":[[1,3]]},"47":{"position":[[68,3]]},"49":{"position":[[1,3]]},"50":{"position":[[1,3]]},"77":{"position":[[68,3]]},"79":{"position":[[1,3]]},"80":{"position":[[1,3]]},"86":{"position":[[68,3]]},"88":{"position":[[1,3]]},"89":{"position":[[1,3]]},"112":{"position":[[1,3]]},"113":{"position":[[1,3]]}},"keywords":{}}],["td",{"_index":762,"title":{},"content":{"65":{"position":[[18,2]]}},"keywords":{}}],["teams.creat",{"_index":286,"title":{},"content":{"21":{"position":[[83,12]]}},"keywords":{}}],["technic",{"_index":264,"title":{"106":{"position":[[0,9]]}},"content":{"20":{"position":[[599,9]]}},"keywords":{}}],["technolog",{"_index":340,"title":{},"content":{"23":{"position":[[724,10]]}},"keywords":{}}],["templat",{"_index":73,"title":{"97":{"position":[[4,9]]}},"content":{"8":{"position":[[50,9],[73,8]]},"97":{"position":[[5,9],[31,8]]}},"keywords":{}}],["template)rfc",{"_index":1084,"title":{},"content":{"106":{"position":[[265,12]]}},"keywords":{}}],["tempor",{"_index":424,"title":{},"content":{"46":{"position":[[63,8]]},"85":{"position":[[58,8]]}},"keywords":{}}],["tenur",{"_index":525,"title":{},"content":{"55":{"position":[[1033,7]]}},"keywords":{}}],["term",{"_index":442,"title":{},"content":{"52":{"position":[[1,4]]},"53":{"position":[[15,5]]},"54":{"position":[[122,4]]},"55":{"position":[[115,4],[1197,4],[1978,4]]},"56":{"position":[[120,4],[1624,5]]},"57":{"position":[[15,5],[113,4],[921,5],[1038,5],[1327,4]]}},"keywords":{}}],["termin",{"_index":86,"title":{},"content":{"8":{"position":[[261,9],[295,8]]},"9":{"position":[[204,8]]}},"keywords":{}}],["terminolog",{"_index":400,"title":{"51":{"position":[[0,11]]}},"content":{"36":{"position":[[31,11]]},"53":{"position":[[136,11]]}},"keywords":{}}],["terms.gath",{"_index":290,"title":{},"content":{"21":{"position":[[187,12]]}},"keywords":{}}],["test",{"_index":118,"title":{},"content":{"12":{"position":[[1,4]]}},"keywords":{}}],["text",{"_index":710,"title":{},"content":{"59":{"position":[[229,4]]},"82":{"position":[[676,4]]}},"keywords":{}}],["textual",{"_index":941,"title":{},"content":{"91":{"position":[[31,7]]}},"keywords":{}}],["theecma",{"_index":1020,"title":{},"content":{"98":{"position":[[58,7]]}},"keywords":{}}],["thejson",{"_index":967,"title":{},"content":{"92":{"position":[[388,7]]},"93":{"position":[[202,7]]},"94":{"position":[[220,7]]},"95":{"position":[[194,7]]},"96":{"position":[[133,7]]},"97":{"position":[[218,7]]},"98":{"position":[[85,7]]},"99":{"position":[[599,7]]},"100":{"position":[[515,7]]},"101":{"position":[[461,7]]},"102":{"position":[[260,7]]},"103":{"position":[[169,7]]}},"keywords":{}}],["theme/layout",{"_index":32,"title":{},"content":{"3":{"position":[[120,16]]}},"keywords":{}}],["themeconfig",{"_index":375,"title":{},"content":{"29":{"position":[[143,12]]},"33":{"position":[[143,12]]}},"keywords":{}}],["themeconfigadd",{"_index":12,"title":{},"content":{"1":{"position":[[121,14]]}},"keywords":{}}],["thing",{"_index":531,"title":{},"content":{"55":{"position":[[1211,7]]}},"keywords":{}}],["thought",{"_index":664,"title":{},"content":{"57":{"position":[[1146,7]]}},"keywords":{}}],["three",{"_index":876,"title":{},"content":{"73":{"position":[[606,5]]}},"keywords":{}}],["through",{"_index":104,"title":{},"content":{"9":{"position":[[289,7]]},"23":{"position":[[28,7]]},"56":{"position":[[252,8],[791,8]]},"64":{"position":[[59,7]]}},"keywords":{}}],["time",{"_index":246,"title":{"92":{"position":[[9,5]]}},"content":{"20":{"position":[[142,5]]},"28":{"position":[[236,5]]},"46":{"position":[[152,7]]},"55":{"position":[[1161,4]]},"76":{"position":[[117,7]]},"85":{"position":[[136,7]]},"92":{"position":[[13,4],[144,4],[244,4],[287,4],[300,4],[327,4],[372,5],[509,4]]},"96":{"position":[[223,4]]},"105":{"position":[[67,4]]}},"keywords":{}}],["time)rfc",{"_index":1076,"title":{},"content":{"106":{"position":[[100,8]]}},"keywords":{}}],["timenam",{"_index":1068,"title":{},"content":{"105":{"position":[[127,10]]}},"keywords":{}}],["timesdata",{"_index":328,"title":{},"content":{"23":{"position":[[289,9]]}},"keywords":{}}],["timestamp",{"_index":426,"title":{},"content":{"46":{"position":[[103,11]]}},"keywords":{}}],["tip",{"_index":749,"title":{},"content":{"63":{"position":[[80,4],[176,3]]}},"keywords":{}}],["tip[mi",{"_index":748,"title":{},"content":{"63":{"position":[[70,9]]}},"keywords":{}}],["titl",{"_index":134,"title":{},"content":{"14":{"position":[[98,6],[145,6],[284,6]]},"55":{"position":[[1109,6]]},"59":{"position":[[95,6],[114,5],[323,6]]},"69":{"position":[[23,5],[127,5],[223,5],[262,6],[278,5]]},"70":{"position":[[322,5],[800,5],[900,5],[996,5],[1035,6],[1051,5]]}},"keywords":{}}],["title="src/components/hellodocusaurus.js"",{"_index":740,"title":{},"content":{"62":{"position":[[70,51]]}},"keywords":{}}],["top",{"_index":705,"title":{},"content":{"59":{"position":[[41,3]]}},"keywords":{}}],["topic",{"_index":902,"title":{},"content":{"82":{"position":[[317,6]]}},"keywords":{}}],["torfc",{"_index":978,"title":{},"content":{"93":{"position":[[180,5]]},"94":{"position":[[181,5]]}},"keywords":{}}],["track",{"_index":262,"title":{"35":{"position":[[8,8]]},"56":{"position":[[8,9]]}},"content":{"20":{"position":[[568,8]]},"36":{"position":[[22,8]]},"110":{"position":[[89,5]]}},"keywords":{}}],["transfer",{"_index":415,"title":{},"content":{"39":{"position":[[132,8]]}},"keywords":{}}],["transform",{"_index":274,"title":{},"content":{"20":{"position":[[797,14]]},"22":{"position":[[171,15]]},"23":{"position":[[895,9]]},"73":{"position":[[758,11]]}},"keywords":{}}],["translat",{"_index":350,"title":{"25":{"position":[[0,9]]},"27":{"position":[[0,9]]}},"content":{"27":{"position":[[185,9]]},"28":{"position":[[166,11]]}},"keywords":{}}],["transmit",{"_index":687,"title":{},"content":{"57":{"position":[[1722,12]]}},"keywords":{}}],["tri",{"_index":55,"title":{},"content":{"6":{"position":[[41,3]]}},"keywords":{}}],["true",{"_index":1053,"title":{},"content":{"102":{"position":[[58,4],[126,4]]}},"keywords":{}}],["tutori",{"_index":51,"title":{"5":{"position":[[0,8]]}},"content":{"17":{"position":[[405,11]]}},"keywords":{}}],["tutorial_basics/cr",{"_index":177,"title":{},"content":{"17":{"position":[[424,24]]}},"keywords":{}}],["tutorialsidebar",{"_index":175,"title":{},"content":{"17":{"position":[[341,16]]}},"keywords":{}}],["two",{"_index":1052,"title":{},"content":{"102":{"position":[[37,3]]}},"keywords":{}}],["type",{"_index":83,"title":{"39":{"position":[[0,4]]},"90":{"position":[[10,5]]}},"content":{"8":{"position":[[210,4]]},"17":{"position":[[380,5]]},"19":{"position":[[100,5],[465,5]]},"29":{"position":[[179,5]]},"33":{"position":[[179,5]]},"39":{"position":[[46,4],[111,5],[141,5]]},"41":{"position":[[1,5]]},"46":{"position":[[11,4]]},"47":{"position":[[18,4]]},"55":{"position":[[1991,4]]},"57":{"position":[[133,4],[155,4],[220,4],[272,5],[1702,4],[1805,4],[2058,5]]},"70":{"position":[[177,4]]},"73":{"position":[[809,5]]},"76":{"position":[[11,4]]},"77":{"position":[[18,4]]},"82":{"position":[[185,4],[1441,4]]},"85":{"position":[[11,4]]},"86":{"position":[[18,4]]},"91":{"position":[[355,5],[535,6]]},"99":{"position":[[60,4],[378,4]]},"101":{"position":[[100,6],[159,4]]},"109":{"position":[[11,4]]},"110":{"position":[[18,4]]}},"keywords":{}}],["type.requir",{"_index":929,"title":{},"content":{"82":{"position":[[1243,13]]}},"keywords":{}}],["types.cr",{"_index":303,"title":{},"content":{"22":{"position":[[118,12]]}},"keywords":{}}],["typesrfc",{"_index":1071,"title":{},"content":{"106":{"position":[[21,8]]}},"keywords":{}}],["typic",{"_index":614,"title":{},"content":{"56":{"position":[[1324,9]]},"57":{"position":[[455,9],[975,9]]},"82":{"position":[[356,9]]}},"keywords":{}}],["uid",{"_index":639,"title":{},"content":{"57":{"position":[[536,6]]}},"keywords":{}}],["ultim",{"_index":335,"title":{},"content":{"23":{"position":[[410,10]]}},"keywords":{}}],["umbrella",{"_index":530,"title":{},"content":{"55":{"position":[[1188,8]]}},"keywords":{}}],["uml",{"_index":678,"title":{},"content":{"57":{"position":[[1572,4]]}},"keywords":{}}],["undefin",{"_index":1062,"title":{},"content":{"103":{"position":[[148,10]]}},"keywords":{}}],["under",{"_index":761,"title":{},"content":{"64":{"position":[[249,5]]},"78":{"position":[[110,5]]},"87":{"position":[[333,5]]}},"keywords":{}}],["understand",{"_index":245,"title":{},"content":{"20":{"position":[[127,10]]},"21":{"position":[[166,11]]},"23":{"position":[[582,10]]},"36":{"position":[[46,10]]},"53":{"position":[[118,13]]},"82":{"position":[[804,10]]},"110":{"position":[[327,10]]}},"keywords":{}}],["uniqu",{"_index":637,"title":{},"content":{"57":{"position":[[496,6]]},"69":{"position":[[86,8]]},"70":{"position":[[859,8]]},"82":{"position":[[563,6]]},"97":{"position":[[67,6]]},"101":{"position":[[333,11]]},"110":{"position":[[75,6]]}},"keywords":{}}],["unit",{"_index":633,"title":{},"content":{"57":{"position":[[382,4]]}},"keywords":{}}],["univers",{"_index":993,"title":{},"content":{"96":{"position":[[1,9]]}},"keywords":{}}],["unix/epochtim",{"_index":965,"title":{},"content":{"92":{"position":[[220,15]]}},"keywords":{}}],["unless",{"_index":962,"title":{},"content":{"92":{"position":[[111,6]]}},"keywords":{}}],["unord",{"_index":1037,"title":{},"content":{"100":{"position":[[22,9]]}},"keywords":{}}],["unreleas",{"_index":390,"title":{},"content":{"32":{"position":[[321,10]]}},"keywords":{}}],["up",{"_index":278,"title":{},"content":{"21":{"position":[[5,2]]},"82":{"position":[[1223,2]]}},"keywords":{}}],["upcom",{"_index":389,"title":{},"content":{"32":{"position":[[311,9]]}},"keywords":{}}],["updat",{"_index":392,"title":{"34":{"position":[[0,6]]}},"content":{"34":{"position":[[104,7],[158,7]]},"56":{"position":[[1234,6]]}},"keywords":{}}],["upon",{"_index":919,"title":{},"content":{"82":{"position":[[895,4]]}},"keywords":{}}],["uri",{"_index":910,"title":{"97":{"position":[[0,3]]}},"content":{"82":{"position":[[570,3]]},"96":{"position":[[48,3]]},"97":{"position":[[1,3],[27,3],[158,3]]},"106":{"position":[[260,4]]}},"keywords":{}}],["uri)rfc",{"_index":1078,"title":{},"content":{"106":{"position":[[130,8]]}},"keywords":{}}],["url",{"_index":142,"title":{},"content":{"14":{"position":[[179,4],[313,4]]},"59":{"position":[[174,3]]},"60":{"position":[[45,3]]}},"keywords":{}}],["us",{"_index":71,"title":{},"content":{"8":{"position":[[32,5]]},"22":{"position":[[165,5]]},"28":{"position":[[216,3]]},"53":{"position":[[47,4]]},"54":{"position":[[751,3]]},"55":{"position":[[61,4],[1868,4],[1968,4]]},"56":{"position":[[61,4]]},"57":{"position":[[621,4],[656,4],[1561,5],[1998,5]]},"60":{"position":[[39,5]]},"61":{"position":[[49,3],[270,6],[324,5]]},"63":{"position":[[85,3],[180,3]]},"64":{"position":[[135,5]]},"67":{"position":[[61,5]]},"82":{"position":[[27,4],[756,6]]},"91":{"position":[[13,4]]},"92":{"position":[[317,5]]},"95":{"position":[[74,5],[134,5]]},"96":{"position":[[37,3],[107,4],[429,5],[450,5],[515,4],[896,5]]},"99":{"position":[[336,5]]},"100":{"position":[[13,4]]},"101":{"position":[[12,4],[203,3],[405,4]]},"102":{"position":[[14,4]]},"103":{"position":[[9,4]]}},"keywords":{}}],["usabl",{"_index":249,"title":{},"content":{"20":{"position":[[228,6]]}},"keywords":{}}],["usag",{"_index":448,"title":{},"content":{"53":{"position":[[148,6]]}},"keywords":{}}],["usage.properti",{"_index":927,"title":{},"content":{"82":{"position":[[1158,16]]}},"keywords":{}}],["usual",{"_index":596,"title":{},"content":{"56":{"position":[[516,7]]}},"keywords":{}}],["utc",{"_index":966,"title":{},"content":{"92":{"position":[[368,3]]}},"keywords":{}}],["utf",{"_index":943,"title":{},"content":{"91":{"position":[[104,3]]},"106":{"position":[[114,4]]}},"keywords":{}}],["uuid",{"_index":640,"title":{},"content":{"57":{"position":[[547,7],[577,5]]},"96":{"position":[[186,4],[300,4],[354,4],[413,4],[442,4],[536,5],[745,4],[806,4],[878,4]]},"106":{"position":[[144,5],[298,5]]},"110":{"position":[[68,4]]}},"keywords":{}}],["v1",{"_index":1079,"title":{},"content":{"106":{"position":[[150,2]]}},"keywords":{}}],["v4",{"_index":1001,"title":{},"content":{"96":{"position":[[418,2]]}},"keywords":{}}],["v6",{"_index":1086,"title":{},"content":{"106":{"position":[[304,2]]}},"keywords":{}}],["valid",{"_index":316,"title":{},"content":{"23":{"position":[[85,9]]},"70":{"position":[[3,5]]},"82":{"position":[[1354,6]]}},"keywords":{}}],["valu",{"_index":853,"title":{},"content":{"70":{"position":[[690,6]]},"73":{"position":[[34,6]]},"99":{"position":[[76,6],[169,7],[221,5],[259,5]]},"100":{"position":[[36,5],[105,5]]},"102":{"position":[[50,7],[116,6]]},"103":{"position":[[30,6],[75,5],[138,6]]}},"keywords":{}}],["vari",{"_index":548,"title":{},"content":{"55":{"position":[[1663,7]]}},"keywords":{}}],["varieti",{"_index":673,"title":{},"content":{"57":{"position":[[1353,7]]}},"keywords":{}}],["variou",{"_index":267,"title":{},"content":{"20":{"position":[[630,7]]},"23":{"position":[[491,7]]},"54":{"position":[[28,7]]},"55":{"position":[[989,7]]},"100":{"position":[[185,7]]}},"keywords":{}}],["veri",{"_index":122,"title":{},"content":{"12":{"position":[[185,4]]}},"keywords":{}}],["verifi",{"_index":898,"title":{},"content":{"82":{"position":[[56,6]]}},"keywords":{}}],["version",{"_index":61,"title":{"31":{"position":[[12,8]]},"32":{"position":[[14,8]]},"33":{"position":[[6,7]]},"34":{"position":[[19,8]]}},"content":{"7":{"position":[[9,7]]},"32":{"position":[[11,7],[189,9],[243,7]]},"33":{"position":[[31,9],[47,7],[244,7]]},"34":{"position":[[24,9]]},"82":{"position":[[634,10]]},"83":{"position":[[36,7]]},"96":{"position":[[359,9],[635,7],[750,8],[883,8]]},"107":{"position":[[13,7]]}},"keywords":{}}],["versioned_docs/vers",{"_index":383,"title":{},"content":{"32":{"position":[[110,22]]},"34":{"position":[[68,22]]}},"keywords":{}}],["versions.json",{"_index":384,"title":{},"content":{"32":{"position":[[141,13]]}},"keywords":{}}],["view",{"_index":106,"title":{},"content":{"9":{"position":[[336,4]]},"23":{"position":[[23,4],[126,4]]}},"keywords":{}}],["visit",{"_index":760,"title":{},"content":{"64":{"position":[[206,5]]}},"keywords":{}}],["vocabulari",{"_index":498,"title":{},"content":{"55":{"position":[[50,10]]},"56":{"position":[[50,10]]},"57":{"position":[[872,10],[885,10]]}},"keywords":{}}],["voic",{"_index":863,"title":{},"content":{"73":{"position":[[122,6]]}},"keywords":{}}],["warn",{"_index":968,"title":{},"content":{"92":{"position":[[446,7]]},"96":{"position":[[164,7]]}},"keywords":{}}],["way",{"_index":192,"title":{},"content":{"19":{"position":[[124,4]]},"20":{"position":[[702,4]]},"55":{"position":[[1057,4]]},"57":{"position":[[363,3]]},"82":{"position":[[117,3]]},"97":{"position":[[50,3]]}},"keywords":{}}],["web",{"_index":688,"title":{},"content":{"57":{"position":[[1753,4],[2134,4]]}},"keywords":{}}],["websit",{"_index":82,"title":{},"content":{"8":{"position":[[184,7]]},"9":{"position":[[36,7],[259,7]]}},"keywords":{}}],["well",{"_index":188,"title":{},"content":{"19":{"position":[[79,4],[606,4]]},"57":{"position":[[639,4]]},"61":{"position":[[243,5]]},"100":{"position":[[371,4]]}},"keywords":{}}],["what'",{"_index":1,"title":{"1":{"position":[[0,6]]}},"content":{},"keywords":{}}],["wide",{"_index":642,"title":{},"content":{"57":{"position":[[614,6]]},"64":{"position":[[174,4]]}},"keywords":{}}],["within",{"_index":404,"title":{},"content":{"38":{"position":[[21,6]]},"53":{"position":[[52,6]]},"54":{"position":[[93,6],[687,6],[789,6]]},"55":{"position":[[101,6],[188,6],[938,6],[1885,6]]},"56":{"position":[[101,6],[445,6],[890,6],[993,6]]},"57":{"position":[[503,6]]},"85":{"position":[[73,6]]}},"keywords":{}}],["without",{"_index":210,"title":{},"content":{"19":{"position":[[367,7]]},"73":{"position":[[678,7]]}},"keywords":{}}],["withrfc",{"_index":988,"title":{},"content":{"95":{"position":[[96,7]]},"96":{"position":[[63,7],[472,7]]},"97":{"position":[[198,7]]}},"keywords":{}}],["work",{"_index":97,"title":{},"content":{"9":{"position":[[104,7],[130,4]]},"20":{"position":[[393,4]]},"21":{"position":[[10,7]]},"55":{"position":[[1228,4]]},"56":{"position":[[908,4]]}},"keywords":{}}],["workflow",{"_index":606,"title":{},"content":{"56":{"position":[[1022,8]]}},"keywords":{}}],["workload",{"_index":568,"title":{},"content":{"55":{"position":[[2268,8]]}},"keywords":{}}],["write",{"_index":698,"title":{},"content":{"57":{"position":[[1985,7]]}},"keywords":{}}],["xml",{"_index":691,"title":{},"content":{"57":{"position":[[1889,4]]}},"keywords":{}}],["xsd",{"_index":679,"title":{},"content":{"57":{"position":[[1577,4]]}},"keywords":{}}],["you'll",{"_index":58,"title":{"7":{"position":[[5,6]]}},"content":{"9":{"position":[[176,6]]}},"keywords":{}}],["you'r",{"_index":96,"title":{},"content":{"9":{"position":[[97,6]]}},"keywords":{}}],["zero",{"_index":865,"title":{},"content":{"73":{"position":[[198,5],[451,5],[541,4],[694,7]]}},"keywords":{}}]],"pipeline":["stemmer"]} \ No newline at end of file diff --git a/pr-preview/pr-5/markdown-page.html b/pr-preview/pr-5/markdown-page.html new file mode 100644 index 0000000..112e263 --- /dev/null +++ b/pr-preview/pr-5/markdown-page.html @@ -0,0 +1,2 @@ +Markdown page example | Permitting Interoperability Exchange Specification

    Markdown page example

    +

    You don't need React to write simple standalone pages.

    \ No newline at end of file diff --git a/pr-preview/pr-5/search-doc-1733170719906.json b/pr-preview/pr-5/search-doc-1733170719906.json new file mode 100644 index 0000000..076278d --- /dev/null +++ b/pr-preview/pr-5/search-doc-1733170719906.json @@ -0,0 +1 @@ +{"searchDocs":[{"title":"Congratulations!","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations","content":"","keywords":"","version":"Next"},{"title":"What's next?​","type":1,"pageTitle":"Congratulations!","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations#whats-next","content":" Read the official documentationModify your site configuration with docusaurus.config.jsAdd navbar and footer items with themeConfigAdd a custom Design and LayoutAdd a search barFind inspirations in the Docusaurus showcaseGet involved in the Docusaurus Community ","version":"Next","tagName":"h2"},{"title":"Create a Page","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page","content":"","keywords":"","version":"Next"},{"title":"Create your first React Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-react-page","content":" Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return ( <Layout> <h1>My React page</h1> <p>This is a React page</p> </Layout> ); } A new page is now available at http://localhost:3000/my-react-page. ","version":"Next","tagName":"h2"},{"title":"Create your first Markdown Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-markdown-page","content":" Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page. ","version":"Next","tagName":"h2"},{"title":"Tutorial Intro","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro","content":"","keywords":"","version":"Next"},{"title":"Getting Started​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro#getting-started","content":" Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new. ","version":"Next","tagName":"h2"},{"title":"What you'll need​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro#what-youll-need","content":" Node.js version 18.0 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies. ","version":"Next","tagName":"h3"},{"title":"Generate a new site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro#generate-a-new-site","content":" Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus. ","version":"Next","tagName":"h2"},{"title":"Start your site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro#start-your-site","content":" Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes. ","version":"Next","tagName":"h2"},{"title":"Deploy your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site","content":"","keywords":"","version":"Next"},{"title":"Build your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site#build-your-site","content":" Build your site for production: npm run build The static files are generated in the build folder. ","version":"Next","tagName":"h2"},{"title":"Deploy your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site#deploy-your-site-1","content":" Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide). ","version":"Next","tagName":"h2"},{"title":"Create a Blog Post","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post","content":"","keywords":"","version":"Next"},{"title":"Create your first Post​","type":1,"pageTitle":"Create a Blog Post","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post#create-your-first-post","content":" Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much as you like. A new blog post is now available at http://localhost:3000/blog/greetings. ","version":"Next","tagName":"h2"},{"title":"Create a Document","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document","content":"","keywords":"","version":"Next"},{"title":"Create your first Doc​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document#create-your-first-doc","content":" Create a Markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello. ","version":"Next","tagName":"h2"},{"title":"Configure the Sidebar​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document#configure-the-sidebar","content":" Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js export default { tutorialSidebar: [ 'intro', 'hello', { type: 'category', label: 'Tutorial', items: ['tutorial_basics/create-a-document'] } ] }; ","version":"Next","tagName":"h2"},{"title":"Getting Started","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started","content":"","keywords":"","version":"Next"},{"title":"Purpose​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#purpose","content":" Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems can't integrate without a common language. This standard specifies the foundational set of core descriptive data types and elements required to enable the compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on permitting. ","version":"Next","tagName":"h2"},{"title":"Objectives​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#objectives","content":" The main objective of PIES is to deliver a published specification to enable better data quality and system interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes across the sector. Make it easier to connect and work with the information in different permitting systems. Reduce the effort and cost of systems integrations and automation.Unlock the ability to provide consistent progress tracking to proponents. Create technical guidelines that help various systems communicate smoothly and consistently.Support different ways for systems to communicate with each other.Unlock potential for evidence-based policy and transformative potential of AI. ","version":"Next","tagName":"h2"},{"title":"Getting Everyone on the Same Page​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#getting-everyone-on-the-same-page","content":" Set up a working group for people interested to contribute and adopt PIES. See MS Teams.Create clear rules for data governance.Develop a common language so everyone understands the same terms.Gather feedback to ensure data is represented accurately and clearly. ","version":"Next","tagName":"h3"},{"title":"Documentation​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#documentation","content":" Share best practices for documenting government data standards.Identify and list common permitting concepts and data types.Create a plan for implementing solutions using transformations and microservices. And of course, PIES are delicious! 😄 ","version":"Next","tagName":"h3"},{"title":"Goals​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#goals","content":" Enable a cross sector view Through appropriate data accessCreates a single point of validated reporting Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement Data qualityData and information consistencyIdentify processing timesData harmonization cross sector level reportingActivity bundling and linkingCoordinated First Nations Consultation Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to achieve interoperability (the ability for the systems to understand the key elements of information they need to share and talk to each other in a common language). An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems into the data standards. ","version":"Next","tagName":"h2"},{"title":"Schemas​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#schemas","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Translate your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site","content":"","keywords":"","version":"Next"},{"title":"Configure i18n​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#configure-i18n","content":" Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js export default { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, }; ","version":"Next","tagName":"h2"},{"title":"Translate a doc​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#translate-a-doc","content":" Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French. ","version":"Next","tagName":"h2"},{"title":"Start your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#start-your-localized-site","content":" Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. caution In development, you can only use one locale at a time. ","version":"Next","tagName":"h2"},{"title":"Add a Locale Dropdown​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#add-a-locale-dropdown","content":" To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Build your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#build-your-localized-site","content":" Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build ","version":"Next","tagName":"h2"},{"title":"Manage Docs Versions","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions","content":"","keywords":"","version":"Next"},{"title":"Create a docs version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions#create-a-docs-version","content":" Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docscurrent at http://localhost:3000/docs/next/ for the upcoming, unreleased docs ","version":"Next","tagName":"h2"},{"title":"Add a Version Dropdown​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions#add-a-version-dropdown","content":" To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: "docsVersionDropdown", }, ], }, }, }; The docs version dropdown appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Update an existing version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions#update-an-existing-version","content":" It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hellodocs/hello.md updates http://localhost:3000/docs/next/hello ","version":"Next","tagName":"h2"},{"title":"Process Tracking","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking","content":"","keywords":"","version":"Next"},{"title":"Classifications​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking#classifications","content":" Refer to the Process Tracking Terminology to understand the definitions behind each classification level. ","version":"Next","tagName":"h2"},{"title":"Concept Map​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking#concept-map","content":" ","version":"Next","tagName":"h2"},{"title":"Code Sets​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking#code-sets","content":" Each classification within the context of a specific kind of lifecycle will have a codified and enumerated concept. TBD. ","version":"Next","tagName":"h2"},{"title":"Type Descriptors​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking#type-descriptors","content":" Each kind of lifecycle may be described by a type descriptor. For example, an application may be an amendment type, or it may be a transfer type. TBD ","version":"Next","tagName":"h2"},{"title":"Code","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code","content":"","keywords":"","version":"Next"},{"title":"Structure​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code#structure","content":" Type: string ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code#specification","content":" SchemaSource Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Event","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#scope","content":" This data type is intended to represent the core concept of a temporal event. It may contain a set of timestamps. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#specification","content":" Example [ { "start": "2017-01-01T00:00:00.000Z", "end": "2017-01-02T00:00:00.000Z" }, { "start": "2017-01-03T00:00:00.000Z" } ] ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Terminology","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology","content":"","keywords":"","version":"Next"},{"title":"Acronyms​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#acronyms","content":" Term\tDefinitionLOB\tLine of Business ","version":"Next","tagName":"h2"},{"title":"Concepts​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#concepts","content":" The following terms outline the main concepts used within this specification and aim to provide a common lexicon for understanding and terminology usage. ","version":"Next","tagName":"h2"},{"title":"Actors​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#actors","content":" This section discusses the various roles that a person, group or an organization may act as within the context of PIES. Term\tDefinitionApplicant\tA person, group or organization seeking an authorization to perform a set of activities. Decision Maker\tA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions. Facilitator\tAn established role which focuses on delivering dedicated support to applicants on application submissions. Interested Party\tA person, or group which may be impacted by an authorization decision. Local Government\tA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction. Navigator\tA synonym for a facilitator. Proponent\tA synonym for an applicant. Referral Agency\tA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application. Subject Matter Expert\tA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy. ","version":"Next","tagName":"h3"},{"title":"Definitions​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#definitions","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within PIES. Term\tDefinition\t???Activity\tA specific singular defined intent of action within an area of intent as defined by a referral agency. An activity may require one or more authorizations, e.g., a housing development project. An activity may be associated with a project. Activity Bundling\tThe act of identifying the set of permits required for a certain activity.\tThis should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship Application\tA submitted form(s) with the intent to obtain or amend an authorization.\tThis might be getting muddled with the concept of a project. Area of Intent\tA set of one or more parcels which define the location(s) an activity is to be performed. Authorization\tThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.\tWe might need to expand this definition over time as this is the formal umbrella term for many things. Caseload\tWork happening with the LOB to facilitate, capture and maintain a permit. Disposition\tThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.\tFirst attempt at defining - needs review Parcel\tA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.\tRephrased from LTSA page Permit\tAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization. Project\tAn optional set of one or more activities as defined by an applicant. Submission\tThe completed output of a single form as answered by an applicant.\tAdd a note like "Submissions require an adjective declaring their application context"? Workload\tA quantifiable measurement of the number of client-driven applications in the queue.\t The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they interact with specific parts of the process. ","version":"Next","tagName":"h3"},{"title":"Process Tracking​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#process-tracking","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within a process. Term\tDefinition\t???Lifecycle\tRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.\tHighest level concept; answers the "why" Phase\tA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.\tDefines an ordering of related stages. Stage\tA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.\tProvides an ordering of higher level states within a phase of work State\tA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.\tLarger general "where is this at" concept Status\tA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.\tDetailed "what is happening now" concept The following diagram outlines a high level categorization map between all of the process terms and how they relate to each other. ","version":"Next","tagName":"h3"},{"title":"Structure​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#structure","content":" The following terms describe the structural definitions of the specification ordered from specific to general. Term\tDefinitionData Type\tA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date. Identifiers\tIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations. Vocabulary\tA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher." Schema\tA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema. Format\tThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML. API\tAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web. ","version":"Next","tagName":"h2"},{"title":"Markdown Features","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features","content":"","keywords":"","version":"Next"},{"title":"Front Matter​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#front-matter","content":" Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my_doc_id title: My document title description: My document description slug: /my-custom-url tags: - developer --- ## Markdown heading Markdown text with [links](./hello.md) We recommend that all markdown pages should have at minimum a title, description and tags array defined. An idmay be specified, but can be derived off of the filename when omitted. info A complete listing of Docusaurus supported front matter fields can be found here. ","version":"Next","tagName":"h2"},{"title":"Links​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#links","content":" Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create_a_page). Let's see how to [Create a page](./create_a_page.md). Result: Let's see how to Create a page. ","version":"Next","tagName":"h2"},{"title":"Images​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#images","content":" Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them: ![Docusaurus logo](./img/docusaurus.png) ","version":"Next","tagName":"h2"},{"title":"Code Blocks​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#code-blocks","content":" Markdown code blocks are supported with Syntax highlighting. ```jsx title="src/components/HelloDocusaurus.js" function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ``` src/components/HelloDocusaurus.js function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ","version":"Next","tagName":"h2"},{"title":"Admonitions​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#admonitions","content":" Docusaurus has a special syntax to create admonitions and callouts: :::tip[My tip] Use this awesome feature option ::: :::danger[Take care] This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous ","version":"Next","tagName":"h2"},{"title":"Mermaid Graphs​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#mermaid-graphs","content":" Our Docusaurus instance supports diagramming and charting through Mermaid. The following are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, visit their documentation for more details under the Diagram Syntax section on the sidebar. ","version":"Next","tagName":"h2"},{"title":"State Machine​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#state-machine","content":" ```mermaid graph TD A-->B A-->C B-->D C-->D ``` ","version":"Next","tagName":"h3"},{"title":"Flowchart​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#flowchart","content":" ```mermaid graph LR A[PIES] -->|Get spec| B(Stakeholder approval) B --> C{Purpose} B --> G[/Further Analysis/] C ==>|One| D[Document Exchange] C -->|Two| E[Event Alerts] C -->|Three| F[Aggregation] subgraph identification A B end subgraph execution C D E F G end ``` ","version":"Next","tagName":"h3"},{"title":"MDX and React Components​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#mdx-and-react-components","content":" MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( <span style={{ backgroundColor: color, borderRadius: '20px', color: '#fff', padding: '10px', cursor: 'pointer', }} onClick={() => { alert(`You clicked the color ${color} with label ${children}`) }}> {children} </span> ); This is <Highlight color="#25c2a0">Docusaurus green</Highlight> ! This is <Highlight color="#1877F2">Facebook blue</Highlight> ! This is Docusaurus green ! This is Facebook blue ! ","version":"Next","tagName":"h2"},{"title":"Parcel Identifier","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#scope","content":" Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#structure","content":" A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.A Parcel Identifier may contain a legal_description and/or a parcel_name. Name\tCardinality\tType\tDescription & Constraintslegal_description\t0..1\tstring\tThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations. parcel_name\t0..1\tstring\tThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK. pid\t0..*\tinteger\tParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. pin\t0..1\tinteger\tThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#implementation-notes","content":" ","version":"Next","tagName":"h2"},{"title":"Parcel ID (PID)​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#parcel-id-pid","content":" Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes: parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes. Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type. ","version":"Next","tagName":"h3"},{"title":"References​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#references","content":" BC Data CatalogueParcelMap BC - Parcels ","version":"Next","tagName":"h2"},{"title":"Process","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#scope","content":" This data type is intended to represent the core concept of a defined process. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#specification","content":" Example { "class": "status", "description": "The authorization request is under review by subject matter expert.", "parent_class": "stage", "parent_concept": "underreview", "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking", "value": "pending review" } ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Formatting","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/formatting","content":"","keywords":"","version":"Next"},{"title":"JSON Schema Primer​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-5/docs/spec/formatting#json-schema-primer","content":" A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for describing expected structures, describing conceptual relationships between related topics and domains A JSON Schema will typically contain the following attributes: $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.$id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.$comment - A free text field for conveying out of band information about the schema. Comments are useful for specification readers and editors to understand further nuances for certain properties and structures, but should not be relied upon for implementation as they may be skipped over or stripped when parsed by machines.title - The intent of the schema. This should be brief and concise.description - A brief description about the schema. This should provide a quick overview for the context of usage.properties - A set of attributes that are expected to show up in this document type.required - An array defining the set of properties that must be present for the document to be considered valid. Anything defined that is not in this array is implied to be optional.type - The type primitive constraint for the property. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-5/docs/spec/formatting#references","content":" Draft 07RFC 8259 (JSON)JSON Schema Version Comparison ","version":"Next","tagName":"h2"},{"title":"Process Event","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#scope","content":" This data type is intended to represent an instance of a temporal event within a defined process. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#specification","content":" Example { "event": [ { "start": "2017-01-01T00:00:00.000Z", "end": "2017-01-02T00:00:00.000Z" }, { "start": "2017-01-03T00:00:00.000Z" } ], "process": { "class": "status", "description": "The authorization request is under review by subject matter expert.", "parent_class": "stage", "parent_concept": "underreview", "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking", "value": "pending review" } } ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Primitive Types","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types","content":"","keywords":"","version":"Next"},{"title":"String​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#string","content":" Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as specified in RFC 3629, which is an extension of the ISO 10646-1standard. Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expressionpattern. In addition, there are commonbuilt-in format types that a string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation for more detail on the available built-in format types. ","version":"Next","tagName":"h2"},{"title":"Date and Time​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#date-and-time","content":" Date and/or time formats shall be represented inRFC 3339, section 5.6 format, also commonly known asISO 8601. Unless otherwise specified, date-time shall be internally stored and represented in a format compatible with unix/epochtime. If the time is specified, such as when either the time or date-time formats are used, the time representations shall be encoded in UTC time. Reference theJSON Schema documentation for more specific examples. warning Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. ","version":"Next","tagName":"h3"},{"title":"Email​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#email","content":" Email addresses with format email shall be represented inRFC 5321, section 4.1.2 format. Emails may also be conveyed in internationalized format idn-email which will be compliant toRFC 6531. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Hostname​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#hostname","content":" Hostnames with format hostname shall be represented inRFC 1123, section 2.1 format. Hostnames may also be conveyed in internationalized format idn-hostname which will be compliant toRFC 5890, section 2.3.2.3. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"IP Address​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#ip-address","content":" IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply withRFC 2673, section 3.2. If IPv6 is used, it shall comply with RFC 2373, section 2.2. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Resource Identifier​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#resource-identifier","content":" Universal resource identifiers will use format uri and comply withRFC 3986. There are other less commonly used formats described in theJSON Schema documentation. warning Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most cases, uuid v4 will be used. When a uuid is used, it shall comply withRFC 4122. The regular expression to be used when specifying uuids will be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize compatibility. info While there is RFC 9562 which extends RFC 4122 by adding in uuid versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when these newer uuid versions are used. ","version":"Next","tagName":"h3"},{"title":"URI Template​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#uri-template","content":" URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters that must be substituted in before the URI may be resolved. This should comply withRFC 6570. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Regular Expression​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#regular-expression","content":" Regular expressions with format regex should comply with theECMA 262 dialect. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Numeric​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#numeric","content":" Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a numbertype in lieu of the integer type for most scenarios that do not require integer level precision. Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum,exclusiveMinimum and exclusiveMaximum. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Object​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#object","content":" Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition. More specific details on what can be done can be found in theJSON Schema documentation. ","version":"Next","tagName":"h2"},{"title":"Array​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#array","content":" Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to provide a looser expectation of what kinds of elements are expected. Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used to describe the boundaries of the array. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Boolean​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#boolean","content":" Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first prior to encoding. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"Null​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#null","content":" Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate to the absence of a value, or undefined. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#references","content":" ","version":"Next","tagName":"h2"},{"title":"Government Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#government-standards","content":" Address Data Standards: Mailing, Delivery and ResidentialDate and Time StandardB.C. Health Information Standards for Date and TimeNaming and Describing ","version":"Next","tagName":"h3"},{"title":"Technical Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#technical-standards","content":" ECMA 262JSON Schema TypesRFC 1123 (Internet Hosts)RFC 2373 (IPv6)RFC 2673 (IPv4)RFC 3339 (Date and Time)RFC 3629 (UTF-8)RFC 3986 (URI)RFC 4122 (UUID v1-5)RFC 5321 (Email/SMTP)RFC 5890 (Internationalized Domain Names)RFC 6531 (Internationalized Email)RFC 6570 (URI Template)RFC 8259 (JSON)RFC 9562 (UUID v6-8) ","version":"Next","tagName":"h3"},{"title":"Errata​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#errata","content":" JSON Schema Version Comparison ","version":"Next","tagName":"h3"},{"title":"Project Bundle","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#scope","content":" This data type is intended to represent a grouping of related permits that are related to a specific activity. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#structure","content":" Name\tCardinality\tType\tDescription & Constraintsproject_id\t1..1\tuuid\tA unique key to track all permits related to a project or activity across all permitting systems. project_name\t1..1\tstring\tShort name of the project. project_description\t0..1\tstring\tFull description of the project. This may contain information to better understand a project. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#references","content":" TBD ","version":"Next","tagName":"h2"}],"options":{"enableHighlight":true,"id":"default"}} \ No newline at end of file diff --git a/pr-preview/pr-5/search-doc.json b/pr-preview/pr-5/search-doc.json new file mode 100644 index 0000000..076278d --- /dev/null +++ b/pr-preview/pr-5/search-doc.json @@ -0,0 +1 @@ +{"searchDocs":[{"title":"Congratulations!","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations","content":"","keywords":"","version":"Next"},{"title":"What's next?​","type":1,"pageTitle":"Congratulations!","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulations#whats-next","content":" Read the official documentationModify your site configuration with docusaurus.config.jsAdd navbar and footer items with themeConfigAdd a custom Design and LayoutAdd a search barFind inspirations in the Docusaurus showcaseGet involved in the Docusaurus Community ","version":"Next","tagName":"h2"},{"title":"Create a Page","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page","content":"","keywords":"","version":"Next"},{"title":"Create your first React Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-react-page","content":" Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return ( <Layout> <h1>My React page</h1> <p>This is a React page</p> </Layout> ); } A new page is now available at http://localhost:3000/my-react-page. ","version":"Next","tagName":"h2"},{"title":"Create your first Markdown Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-markdown-page","content":" Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page. ","version":"Next","tagName":"h2"},{"title":"Tutorial Intro","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro","content":"","keywords":"","version":"Next"},{"title":"Getting Started​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro#getting-started","content":" Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new. ","version":"Next","tagName":"h2"},{"title":"What you'll need​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro#what-youll-need","content":" Node.js version 18.0 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies. ","version":"Next","tagName":"h3"},{"title":"Generate a new site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro#generate-a-new-site","content":" Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus. ","version":"Next","tagName":"h2"},{"title":"Start your site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/intro#start-your-site","content":" Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes. ","version":"Next","tagName":"h2"},{"title":"Deploy your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site","content":"","keywords":"","version":"Next"},{"title":"Build your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site#build-your-site","content":" Build your site for production: npm run build The static files are generated in the build folder. ","version":"Next","tagName":"h2"},{"title":"Deploy your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_site#deploy-your-site-1","content":" Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide). ","version":"Next","tagName":"h2"},{"title":"Create a Blog Post","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post","content":"","keywords":"","version":"Next"},{"title":"Create your first Post​","type":1,"pageTitle":"Create a Blog Post","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_post#create-your-first-post","content":" Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much as you like. A new blog post is now available at http://localhost:3000/blog/greetings. ","version":"Next","tagName":"h2"},{"title":"Create a Document","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document","content":"","keywords":"","version":"Next"},{"title":"Create your first Doc​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document#create-your-first-doc","content":" Create a Markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello. ","version":"Next","tagName":"h2"},{"title":"Configure the Sidebar​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_document#configure-the-sidebar","content":" Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js export default { tutorialSidebar: [ 'intro', 'hello', { type: 'category', label: 'Tutorial', items: ['tutorial_basics/create-a-document'] } ] }; ","version":"Next","tagName":"h2"},{"title":"Getting Started","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started","content":"","keywords":"","version":"Next"},{"title":"Purpose​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#purpose","content":" Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems can't integrate without a common language. This standard specifies the foundational set of core descriptive data types and elements required to enable the compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on permitting. ","version":"Next","tagName":"h2"},{"title":"Objectives​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#objectives","content":" The main objective of PIES is to deliver a published specification to enable better data quality and system interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes across the sector. Make it easier to connect and work with the information in different permitting systems. Reduce the effort and cost of systems integrations and automation.Unlock the ability to provide consistent progress tracking to proponents. Create technical guidelines that help various systems communicate smoothly and consistently.Support different ways for systems to communicate with each other.Unlock potential for evidence-based policy and transformative potential of AI. ","version":"Next","tagName":"h2"},{"title":"Getting Everyone on the Same Page​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#getting-everyone-on-the-same-page","content":" Set up a working group for people interested to contribute and adopt PIES. See MS Teams.Create clear rules for data governance.Develop a common language so everyone understands the same terms.Gather feedback to ensure data is represented accurately and clearly. ","version":"Next","tagName":"h3"},{"title":"Documentation​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#documentation","content":" Share best practices for documenting government data standards.Identify and list common permitting concepts and data types.Create a plan for implementing solutions using transformations and microservices. And of course, PIES are delicious! 😄 ","version":"Next","tagName":"h3"},{"title":"Goals​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#goals","content":" Enable a cross sector view Through appropriate data accessCreates a single point of validated reporting Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement Data qualityData and information consistencyIdentify processing timesData harmonization cross sector level reportingActivity bundling and linkingCoordinated First Nations Consultation Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to achieve interoperability (the ability for the systems to understand the key elements of information they need to share and talk to each other in a common language). An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems into the data standards. ","version":"Next","tagName":"h2"},{"title":"Schemas​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/pr-preview/pr-5/docs/intro/getting_started#schemas","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Translate your site","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site","content":"","keywords":"","version":"Next"},{"title":"Configure i18n​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#configure-i18n","content":" Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js export default { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, }; ","version":"Next","tagName":"h2"},{"title":"Translate a doc​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#translate-a-doc","content":" Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French. ","version":"Next","tagName":"h2"},{"title":"Start your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#start-your-localized-site","content":" Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. caution In development, you can only use one locale at a time. ","version":"Next","tagName":"h2"},{"title":"Add a Locale Dropdown​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#add-a-locale-dropdown","content":" To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Build your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_site#build-your-localized-site","content":" Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build ","version":"Next","tagName":"h2"},{"title":"Manage Docs Versions","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions","content":"","keywords":"","version":"Next"},{"title":"Create a docs version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions#create-a-docs-version","content":" Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docscurrent at http://localhost:3000/docs/next/ for the upcoming, unreleased docs ","version":"Next","tagName":"h2"},{"title":"Add a Version Dropdown​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions#add-a-version-dropdown","content":" To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: "docsVersionDropdown", }, ], }, }, }; The docs version dropdown appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Update an existing version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versions#update-an-existing-version","content":" It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hellodocs/hello.md updates http://localhost:3000/docs/next/hello ","version":"Next","tagName":"h2"},{"title":"Process Tracking","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking","content":"","keywords":"","version":"Next"},{"title":"Classifications​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking#classifications","content":" Refer to the Process Tracking Terminology to understand the definitions behind each classification level. ","version":"Next","tagName":"h2"},{"title":"Concept Map​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking#concept-map","content":" ","version":"Next","tagName":"h2"},{"title":"Code Sets​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking#code-sets","content":" Each classification within the context of a specific kind of lifecycle will have a codified and enumerated concept. TBD. ","version":"Next","tagName":"h2"},{"title":"Type Descriptors​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/pr-preview/pr-5/docs/spec/concept/process_tracking#type-descriptors","content":" Each kind of lifecycle may be described by a type descriptor. For example, an application may be an amendment type, or it may be a transfer type. TBD ","version":"Next","tagName":"h2"},{"title":"Code","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code","content":"","keywords":"","version":"Next"},{"title":"Structure​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code#structure","content":" Type: string ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code#specification","content":" SchemaSource Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Code","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/code#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Event","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#scope","content":" This data type is intended to represent the core concept of a temporal event. It may contain a set of timestamps. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#specification","content":" Example [ { "start": "2017-01-01T00:00:00.000Z", "end": "2017-01-02T00:00:00.000Z" }, { "start": "2017-01-03T00:00:00.000Z" } ] ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/event#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Terminology","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology","content":"","keywords":"","version":"Next"},{"title":"Acronyms​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#acronyms","content":" Term\tDefinitionLOB\tLine of Business ","version":"Next","tagName":"h2"},{"title":"Concepts​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#concepts","content":" The following terms outline the main concepts used within this specification and aim to provide a common lexicon for understanding and terminology usage. ","version":"Next","tagName":"h2"},{"title":"Actors​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#actors","content":" This section discusses the various roles that a person, group or an organization may act as within the context of PIES. Term\tDefinitionApplicant\tA person, group or organization seeking an authorization to perform a set of activities. Decision Maker\tA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions. Facilitator\tAn established role which focuses on delivering dedicated support to applicants on application submissions. Interested Party\tA person, or group which may be impacted by an authorization decision. Local Government\tA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction. Navigator\tA synonym for a facilitator. Proponent\tA synonym for an applicant. Referral Agency\tA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application. Subject Matter Expert\tA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy. ","version":"Next","tagName":"h3"},{"title":"Definitions​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#definitions","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within PIES. Term\tDefinition\t???Activity\tA specific singular defined intent of action within an area of intent as defined by a referral agency. An activity may require one or more authorizations, e.g., a housing development project. An activity may be associated with a project. Activity Bundling\tThe act of identifying the set of permits required for a certain activity.\tThis should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship Application\tA submitted form(s) with the intent to obtain or amend an authorization.\tThis might be getting muddled with the concept of a project. Area of Intent\tA set of one or more parcels which define the location(s) an activity is to be performed. Authorization\tThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.\tWe might need to expand this definition over time as this is the formal umbrella term for many things. Caseload\tWork happening with the LOB to facilitate, capture and maintain a permit. Disposition\tThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.\tFirst attempt at defining - needs review Parcel\tA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.\tRephrased from LTSA page Permit\tAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization. Project\tAn optional set of one or more activities as defined by an applicant. Submission\tThe completed output of a single form as answered by an applicant.\tAdd a note like "Submissions require an adjective declaring their application context"? Workload\tA quantifiable measurement of the number of client-driven applications in the queue.\t The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they interact with specific parts of the process. ","version":"Next","tagName":"h3"},{"title":"Process Tracking​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#process-tracking","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within a process. Term\tDefinition\t???Lifecycle\tRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.\tHighest level concept; answers the "why" Phase\tA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.\tDefines an ordering of related stages. Stage\tA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.\tProvides an ordering of higher level states within a phase of work State\tA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.\tLarger general "where is this at" concept Status\tA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.\tDetailed "what is happening now" concept The following diagram outlines a high level categorization map between all of the process terms and how they relate to each other. ","version":"Next","tagName":"h3"},{"title":"Structure​","type":1,"pageTitle":"Terminology","url":"/nr-pies/pr-preview/pr-5/docs/intro/terminology#structure","content":" The following terms describe the structural definitions of the specification ordered from specific to general. Term\tDefinitionData Type\tA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date. Identifiers\tIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations. Vocabulary\tA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher." Schema\tA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema. Format\tThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML. API\tAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web. ","version":"Next","tagName":"h2"},{"title":"Markdown Features","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features","content":"","keywords":"","version":"Next"},{"title":"Front Matter​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#front-matter","content":" Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my_doc_id title: My document title description: My document description slug: /my-custom-url tags: - developer --- ## Markdown heading Markdown text with [links](./hello.md) We recommend that all markdown pages should have at minimum a title, description and tags array defined. An idmay be specified, but can be derived off of the filename when omitted. info A complete listing of Docusaurus supported front matter fields can be found here. ","version":"Next","tagName":"h2"},{"title":"Links​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#links","content":" Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create_a_page). Let's see how to [Create a page](./create_a_page.md). Result: Let's see how to Create a page. ","version":"Next","tagName":"h2"},{"title":"Images​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#images","content":" Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them: ![Docusaurus logo](./img/docusaurus.png) ","version":"Next","tagName":"h2"},{"title":"Code Blocks​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#code-blocks","content":" Markdown code blocks are supported with Syntax highlighting. ```jsx title="src/components/HelloDocusaurus.js" function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ``` src/components/HelloDocusaurus.js function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ","version":"Next","tagName":"h2"},{"title":"Admonitions​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#admonitions","content":" Docusaurus has a special syntax to create admonitions and callouts: :::tip[My tip] Use this awesome feature option ::: :::danger[Take care] This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous ","version":"Next","tagName":"h2"},{"title":"Mermaid Graphs​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#mermaid-graphs","content":" Our Docusaurus instance supports diagramming and charting through Mermaid. The following are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, visit their documentation for more details under the Diagram Syntax section on the sidebar. ","version":"Next","tagName":"h2"},{"title":"State Machine​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#state-machine","content":" ```mermaid graph TD A-->B A-->C B-->D C-->D ``` ","version":"Next","tagName":"h3"},{"title":"Flowchart​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#flowchart","content":" ```mermaid graph LR A[PIES] -->|Get spec| B(Stakeholder approval) B --> C{Purpose} B --> G[/Further Analysis/] C ==>|One| D[Document Exchange] C -->|Two| E[Event Alerts] C -->|Three| F[Aggregation] subgraph identification A B end subgraph execution C D E F G end ``` ","version":"Next","tagName":"h3"},{"title":"MDX and React Components​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_features#mdx-and-react-components","content":" MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( <span style={{ backgroundColor: color, borderRadius: '20px', color: '#fff', padding: '10px', cursor: 'pointer', }} onClick={() => { alert(`You clicked the color ${color} with label ${children}`) }}> {children} </span> ); This is <Highlight color="#25c2a0">Docusaurus green</Highlight> ! This is <Highlight color="#1877F2">Facebook blue</Highlight> ! This is Docusaurus green ! This is Facebook blue ! ","version":"Next","tagName":"h2"},{"title":"Parcel Identifier","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#scope","content":" Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#structure","content":" A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.A Parcel Identifier may contain a legal_description and/or a parcel_name. Name\tCardinality\tType\tDescription & Constraintslegal_description\t0..1\tstring\tThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations. parcel_name\t0..1\tstring\tThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK. pid\t0..*\tinteger\tParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. pin\t0..1\tinteger\tThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#implementation-notes","content":" ","version":"Next","tagName":"h2"},{"title":"Parcel ID (PID)​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#parcel-id-pid","content":" Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes: parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes. Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type. ","version":"Next","tagName":"h3"},{"title":"References​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_id#references","content":" BC Data CatalogueParcelMap BC - Parcels ","version":"Next","tagName":"h2"},{"title":"Process","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#scope","content":" This data type is intended to represent the core concept of a defined process. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#specification","content":" Example { "class": "status", "description": "The authorization request is under review by subject matter expert.", "parent_class": "stage", "parent_concept": "underreview", "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking", "value": "pending review" } ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Process","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/process#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Formatting","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/formatting","content":"","keywords":"","version":"Next"},{"title":"JSON Schema Primer​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-5/docs/spec/formatting#json-schema-primer","content":" A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for describing expected structures, describing conceptual relationships between related topics and domains A JSON Schema will typically contain the following attributes: $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.$id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.$comment - A free text field for conveying out of band information about the schema. Comments are useful for specification readers and editors to understand further nuances for certain properties and structures, but should not be relied upon for implementation as they may be skipped over or stripped when parsed by machines.title - The intent of the schema. This should be brief and concise.description - A brief description about the schema. This should provide a quick overview for the context of usage.properties - A set of attributes that are expected to show up in this document type.required - An array defining the set of properties that must be present for the document to be considered valid. Anything defined that is not in this array is implied to be optional.type - The type primitive constraint for the property. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Formatting","url":"/nr-pies/pr-preview/pr-5/docs/spec/formatting#references","content":" Draft 07RFC 8259 (JSON)JSON Schema Version Comparison ","version":"Next","tagName":"h2"},{"title":"Process Event","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#scope","content":" This data type is intended to represent an instance of a temporal event within a defined process. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#specification","content":" Example { "event": [ { "start": "2017-01-01T00:00:00.000Z", "end": "2017-01-02T00:00:00.000Z" }, { "start": "2017-01-03T00:00:00.000Z" } ], "process": { "class": "status", "description": "The authorization request is under review by subject matter expert.", "parent_class": "stage", "parent_concept": "underreview", "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking", "value": "pending review" } } ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Process Event","url":"/nr-pies/pr-preview/pr-5/docs/spec/resource/process_event#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Primitive Types","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types","content":"","keywords":"","version":"Next"},{"title":"String​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#string","content":" Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as specified in RFC 3629, which is an extension of the ISO 10646-1standard. Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expressionpattern. In addition, there are commonbuilt-in format types that a string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation for more detail on the available built-in format types. ","version":"Next","tagName":"h2"},{"title":"Date and Time​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#date-and-time","content":" Date and/or time formats shall be represented inRFC 3339, section 5.6 format, also commonly known asISO 8601. Unless otherwise specified, date-time shall be internally stored and represented in a format compatible with unix/epochtime. If the time is specified, such as when either the time or date-time formats are used, the time representations shall be encoded in UTC time. Reference theJSON Schema documentation for more specific examples. warning Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. ","version":"Next","tagName":"h3"},{"title":"Email​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#email","content":" Email addresses with format email shall be represented inRFC 5321, section 4.1.2 format. Emails may also be conveyed in internationalized format idn-email which will be compliant toRFC 6531. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Hostname​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#hostname","content":" Hostnames with format hostname shall be represented inRFC 1123, section 2.1 format. Hostnames may also be conveyed in internationalized format idn-hostname which will be compliant toRFC 5890, section 2.3.2.3. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"IP Address​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#ip-address","content":" IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply withRFC 2673, section 3.2. If IPv6 is used, it shall comply with RFC 2373, section 2.2. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Resource Identifier​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#resource-identifier","content":" Universal resource identifiers will use format uri and comply withRFC 3986. There are other less commonly used formats described in theJSON Schema documentation. warning Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most cases, uuid v4 will be used. When a uuid is used, it shall comply withRFC 4122. The regular expression to be used when specifying uuids will be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize compatibility. info While there is RFC 9562 which extends RFC 4122 by adding in uuid versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when these newer uuid versions are used. ","version":"Next","tagName":"h3"},{"title":"URI Template​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#uri-template","content":" URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters that must be substituted in before the URI may be resolved. This should comply withRFC 6570. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Regular Expression​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#regular-expression","content":" Regular expressions with format regex should comply with theECMA 262 dialect. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Numeric​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#numeric","content":" Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a numbertype in lieu of the integer type for most scenarios that do not require integer level precision. Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum,exclusiveMinimum and exclusiveMaximum. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Object​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#object","content":" Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition. More specific details on what can be done can be found in theJSON Schema documentation. ","version":"Next","tagName":"h2"},{"title":"Array​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#array","content":" Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to provide a looser expectation of what kinds of elements are expected. Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used to describe the boundaries of the array. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Boolean​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#boolean","content":" Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first prior to encoding. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"Null​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#null","content":" Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate to the absence of a value, or undefined. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#references","content":" ","version":"Next","tagName":"h2"},{"title":"Government Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#government-standards","content":" Address Data Standards: Mailing, Delivery and ResidentialDate and Time StandardB.C. Health Information Standards for Date and TimeNaming and Describing ","version":"Next","tagName":"h3"},{"title":"Technical Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#technical-standards","content":" ECMA 262JSON Schema TypesRFC 1123 (Internet Hosts)RFC 2373 (IPv6)RFC 2673 (IPv4)RFC 3339 (Date and Time)RFC 3629 (UTF-8)RFC 3986 (URI)RFC 4122 (UUID v1-5)RFC 5321 (Email/SMTP)RFC 5890 (Internationalized Domain Names)RFC 6531 (Internationalized Email)RFC 6570 (URI Template)RFC 8259 (JSON)RFC 9562 (UUID v6-8) ","version":"Next","tagName":"h3"},{"title":"Errata​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/pr-preview/pr-5/docs/spec/primitive_types#errata","content":" JSON Schema Version Comparison ","version":"Next","tagName":"h3"},{"title":"Project Bundle","type":0,"sectionRef":"#","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#scope","content":" This data type is intended to represent a grouping of related permits that are related to a specific activity. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#structure","content":" Name\tCardinality\tType\tDescription & Constraintsproject_id\t1..1\tuuid\tA unique key to track all permits related to a project or activity across all permitting systems. project_name\t1..1\tstring\tShort name of the project. project_description\t0..1\tstring\tFull description of the project. This may contain information to better understand a project. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundle#references","content":" TBD ","version":"Next","tagName":"h2"}],"options":{"enableHighlight":true,"id":"default"}} \ No newline at end of file diff --git a/pr-preview/pr-5/sitemap.xml b/pr-preview/pr-5/sitemap.xml new file mode 100644 index 0000000..48c9c7b --- /dev/null +++ b/pr-preview/pr-5/sitemap.xml @@ -0,0 +1 @@ +https://bcgov.github.io/nr-pies/pr-preview/pr-5/markdown-pageweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/tagsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/tags/businessweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/tags/developerweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/tags/executiveweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/category/concept-mapsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/category/data-typesweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/category/resource-typesweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/category/tutorial---basicsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/category/tutorial---extrasweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/docusaurus/introweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/congratulationsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_blog_postweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_documentweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/create_a_pageweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/deploy_your_siteweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_basics/markdown_featuresweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/manage_docs_versionsweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/docusaurus/tutorial_extras/translate_your_siteweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/intro/getting_startedweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/intro/terminologyweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/spec/concept/process_trackingweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/spec/data/codeweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/spec/data/eventweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/spec/data/parcel_idweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/spec/data/processweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/spec/data/project_bundleweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/spec/formattingweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/spec/primitive_typesweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/docs/spec/resource/process_eventweekly0.5https://bcgov.github.io/nr-pies/pr-preview/pr-5/weekly0.5 \ No newline at end of file diff --git a/pr-preview/pr-6/.nojekyll b/pr-preview/pr-6/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/pr-preview/pr-7/.nojekyll b/pr-preview/pr-7/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/pr-preview/pr-8/.nojekyll b/pr-preview/pr-8/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/pr-preview/pr-9/.nojekyll b/pr-preview/pr-9/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/search-doc-1733362523219.json b/search-doc-1733362523219.json new file mode 100644 index 0000000..f82f15e --- /dev/null +++ b/search-doc-1733362523219.json @@ -0,0 +1 @@ +{"searchDocs":[{"title":"Congratulations!","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/congratulations","content":"","keywords":"","version":"Next"},{"title":"What's next?​","type":1,"pageTitle":"Congratulations!","url":"/nr-pies/docs/docusaurus/tutorial_basics/congratulations#whats-next","content":" Read the official documentationModify your site configuration with docusaurus.config.jsAdd navbar and footer items with themeConfigAdd a custom Design and LayoutAdd a search barFind inspirations in the Docusaurus showcaseGet involved in the Docusaurus Community ","version":"Next","tagName":"h2"},{"title":"Tutorial Intro","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/intro","content":"","keywords":"","version":"Next"},{"title":"Getting Started​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/docs/docusaurus/intro#getting-started","content":" Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new. ","version":"Next","tagName":"h2"},{"title":"What you'll need​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/docs/docusaurus/intro#what-youll-need","content":" Node.js version 18.0 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies. ","version":"Next","tagName":"h3"},{"title":"Generate a new site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/docs/docusaurus/intro#generate-a-new-site","content":" Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus. ","version":"Next","tagName":"h2"},{"title":"Start your site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/docs/docusaurus/intro#start-your-site","content":" Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes. ","version":"Next","tagName":"h2"},{"title":"Create a Blog Post","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post","content":"","keywords":"","version":"Next"},{"title":"Create your first Post​","type":1,"pageTitle":"Create a Blog Post","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post#create-your-first-post","content":" Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much as you like. A new blog post is now available at http://localhost:3000/blog/greetings. ","version":"Next","tagName":"h2"},{"title":"Deploy your site","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site","content":"","keywords":"","version":"Next"},{"title":"Build your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site#build-your-site","content":" Build your site for production: npm run build The static files are generated in the build folder. ","version":"Next","tagName":"h2"},{"title":"Deploy your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site#deploy-your-site-1","content":" Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide). ","version":"Next","tagName":"h2"},{"title":"Create a Page","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page","content":"","keywords":"","version":"Next"},{"title":"Create your first React Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-react-page","content":" Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return ( <Layout> <h1>My React page</h1> <p>This is a React page</p> </Layout> ); } A new page is now available at http://localhost:3000/my-react-page. ","version":"Next","tagName":"h2"},{"title":"Create your first Markdown Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-markdown-page","content":" Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page. ","version":"Next","tagName":"h2"},{"title":"Translate your site","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site","content":"","keywords":"","version":"Next"},{"title":"Configure i18n​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#configure-i18n","content":" Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js export default { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, }; ","version":"Next","tagName":"h2"},{"title":"Translate a doc​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#translate-a-doc","content":" Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French. ","version":"Next","tagName":"h2"},{"title":"Start your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#start-your-localized-site","content":" Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. caution In development, you can only use one locale at a time. ","version":"Next","tagName":"h2"},{"title":"Add a Locale Dropdown​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#add-a-locale-dropdown","content":" To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Build your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#build-your-localized-site","content":" Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build ","version":"Next","tagName":"h2"},{"title":"Manage Docs Versions","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions","content":"","keywords":"","version":"Next"},{"title":"Create a docs version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions#create-a-docs-version","content":" Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docscurrent at http://localhost:3000/docs/next/ for the upcoming, unreleased docs ","version":"Next","tagName":"h2"},{"title":"Add a Version Dropdown​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions#add-a-version-dropdown","content":" To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: "docsVersionDropdown", }, ], }, }, }; The docs version dropdown appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Update an existing version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions#update-an-existing-version","content":" It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hellodocs/hello.md updates http://localhost:3000/docs/next/hello ","version":"Next","tagName":"h2"},{"title":"Create a Document","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document","content":"","keywords":"","version":"Next"},{"title":"Create your first Doc​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document#create-your-first-doc","content":" Create a Markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello. ","version":"Next","tagName":"h2"},{"title":"Configure the Sidebar​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document#configure-the-sidebar","content":" Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js export default { tutorialSidebar: [ 'intro', 'hello', { type: 'category', label: 'Tutorial', items: ['tutorial_basics/create-a-document'] } ] }; ","version":"Next","tagName":"h2"},{"title":"Getting Started","type":0,"sectionRef":"#","url":"/nr-pies/docs/intro/getting_started","content":"","keywords":"","version":"Next"},{"title":"Purpose​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#purpose","content":" Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems can't integrate without a common language. This standard specifies the foundational set of core descriptive data types and elements required to enable the compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on permitting. ","version":"Next","tagName":"h2"},{"title":"Objectives​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#objectives","content":" The main objective of PIES is to deliver a published specification to enable better data quality and system interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes across the sector. Make it easier to connect and work with the information in different permitting systems. Reduce the effort and cost of systems integrations and automation.Unlock the ability to provide consistent progress tracking to proponents. Create technical guidelines that help various systems communicate smoothly and consistently.Support different ways for systems to communicate with each other.Unlock potential for evidence-based policy and transformative potential of AI. ","version":"Next","tagName":"h2"},{"title":"Getting Everyone on the Same Page​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#getting-everyone-on-the-same-page","content":" Set up a working group for people interested to contribute and adopt PIES. See MS Teams.Create clear rules for data governance.Develop a common language so everyone understands the same terms.Gather feedback to ensure data is represented accurately and clearly. ","version":"Next","tagName":"h3"},{"title":"Documentation​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#documentation","content":" Share best practices for documenting government data standards.Identify and list common permitting concepts and data types.Create a plan for implementing solutions using transformations and microservices. And of course, PIES are delicious! 😄 ","version":"Next","tagName":"h3"},{"title":"Goals​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#goals","content":" Enable a cross sector view Through appropriate data accessCreates a single point of validated reporting Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement Data qualityData and information consistencyIdentify processing timesData harmonization cross sector level reportingActivity bundling and linkingCoordinated First Nations Consultation Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to achieve interoperability (the ability for the systems to understand the key elements of information they need to share and talk to each other in a common language). An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems into the data standards. ","version":"Next","tagName":"h2"},{"title":"Schemas​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#schemas","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Markdown Features","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features","content":"","keywords":"","version":"Next"},{"title":"Front Matter​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#front-matter","content":" Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my_doc_id title: My document title description: My document description slug: /my-custom-url tags: - developer --- ## Markdown heading Markdown text with [links](./hello.md) We recommend that all markdown pages should have at minimum a title, description and tags array defined. An idmay be specified, but can be derived off of the filename when omitted. info A complete listing of Docusaurus supported front matter fields can be found here. ","version":"Next","tagName":"h2"},{"title":"Links​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#links","content":" Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create_a_page). Let's see how to [Create a page](./create_a_page.md). Result: Let's see how to Create a page. ","version":"Next","tagName":"h2"},{"title":"Images​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#images","content":" Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them: ![Docusaurus logo](./img/docusaurus.png) ","version":"Next","tagName":"h2"},{"title":"Code Blocks​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#code-blocks","content":" Markdown code blocks are supported with Syntax highlighting. ```jsx title="src/components/HelloDocusaurus.js" function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ``` src/components/HelloDocusaurus.js function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ","version":"Next","tagName":"h2"},{"title":"Admonitions​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#admonitions","content":" Docusaurus has a special syntax to create admonitions and callouts: :::tip[My tip] Use this awesome feature option ::: :::danger[Take care] This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous ","version":"Next","tagName":"h2"},{"title":"Mermaid Graphs​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#mermaid-graphs","content":" Our Docusaurus instance supports diagramming and charting through Mermaid. The following are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, visit their documentation for more details under the Diagram Syntax section on the sidebar. ","version":"Next","tagName":"h2"},{"title":"State Machine​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#state-machine","content":" ```mermaid graph TD A-->B A-->C B-->D C-->D ``` ","version":"Next","tagName":"h3"},{"title":"Flowchart​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#flowchart","content":" ```mermaid graph LR A[PIES] -->|Get spec| B(Stakeholder approval) B --> C{Purpose} B --> G[/Further Analysis/] C ==>|One| D[Document Exchange] C -->|Two| E[Event Alerts] C -->|Three| F[Aggregation] subgraph identification A B end subgraph execution C D E F G end ``` ","version":"Next","tagName":"h3"},{"title":"MDX and React Components​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#mdx-and-react-components","content":" MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( <span style={{ backgroundColor: color, borderRadius: '20px', color: '#fff', padding: '10px', cursor: 'pointer', }} onClick={() => { alert(`You clicked the color ${color} with label ${children}`) }}> {children} </span> ); This is <Highlight color="#25c2a0">Docusaurus green</Highlight> ! This is <Highlight color="#1877F2">Facebook blue</Highlight> ! This is Docusaurus green ! This is Facebook blue ! ","version":"Next","tagName":"h2"},{"title":"Terminology","type":0,"sectionRef":"#","url":"/nr-pies/docs/intro/terminology","content":"","keywords":"","version":"Next"},{"title":"Acronyms​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#acronyms","content":" Term\tDefinitionLOB\tLine of Business ","version":"Next","tagName":"h2"},{"title":"Concepts​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#concepts","content":" The following terms outline the main concepts used within this specification and aim to provide a common lexicon for understanding and terminology usage. ","version":"Next","tagName":"h2"},{"title":"Actors​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#actors","content":" This section discusses the various roles that a person, group or an organization may act as within the context of PIES. Term\tDefinitionApplicant\tA person, group or organization seeking an authorization to perform a set of activities. Decision Maker\tA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions. Facilitator\tAn established role which focuses on delivering dedicated support to applicants on application submissions. Interested Party\tA person, or group which may be impacted by an authorization decision. Local Government\tA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction. Navigator\tA synonym for a facilitator. Proponent\tA synonym for an applicant. Referral Agency\tA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application. Subject Matter Expert\tA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy. ","version":"Next","tagName":"h3"},{"title":"Definitions​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#definitions","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within PIES. Term\tDefinition\t???Activity\tA specific singular defined intent of action within an area of intent as defined by a referral agency. An activity may require one or more authorizations, e.g., a housing development project. An activity may be associated with a project. Activity Bundling\tThe act of identifying the set of permits required for a certain activity.\tThis should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship Application\tA submitted form(s) with the intent to obtain or amend an authorization.\tThis might be getting muddled with the concept of a project. Area of Intent\tA set of one or more parcels which define the location(s) an activity is to be performed. Authorization\tThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.\tWe might need to expand this definition over time as this is the formal umbrella term for many things. Caseload\tWork happening with the LOB to facilitate, capture and maintain a permit. Disposition\tThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.\tFirst attempt at defining - needs review Parcel\tA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.\tRephrased from LTSA page Permit\tAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization. Project\tAn optional set of one or more activities as defined by an applicant. Submission\tThe completed output of a single form as answered by an applicant.\tAdd a note like "Submissions require an adjective declaring their application context"? Workload\tA quantifiable measurement of the number of client-driven applications in the queue.\t The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they interact with specific parts of the process. ","version":"Next","tagName":"h3"},{"title":"Process Tracking​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#process-tracking","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within a process. Term\tDefinition\t???Lifecycle\tRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.\tHighest level concept; answers the "why" Phase\tA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.\tDefines an ordering of related stages. Stage\tA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.\tProvides an ordering of higher level states within a phase of work State\tA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.\tLarger general "where is this at" concept Status\tA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.\tDetailed "what is happening now" concept The following diagram outlines a high level categorization map between all of the process terms and how they relate to each other. ","version":"Next","tagName":"h3"},{"title":"Structure​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#structure","content":" The following terms describe the structural definitions of the specification ordered from specific to general. Term\tDefinitionData Type\tA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date. Identifiers\tIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations. Vocabulary\tA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher." Schema\tA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema. Format\tThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML. API\tAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web. ","version":"Next","tagName":"h2"},{"title":"Process Tracking","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/concept/process_tracking","content":"","keywords":"","version":"Next"},{"title":"Classifications​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/docs/spec/concept/process_tracking#classifications","content":" Refer to the Process Tracking Terminology to understand the definitions behind each classification level. ","version":"Next","tagName":"h2"},{"title":"Concept Map​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/docs/spec/concept/process_tracking#concept-map","content":" ","version":"Next","tagName":"h2"},{"title":"Code Sets​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/docs/spec/concept/process_tracking#code-sets","content":" Each classification within the context of a specific kind of lifecycle will have a codified and enumerated concept. TBD. ","version":"Next","tagName":"h2"},{"title":"Type Descriptors​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/docs/spec/concept/process_tracking#type-descriptors","content":" Each kind of lifecycle may be described by a type descriptor. For example, an application may be an amendment type, or it may be a transfer type. TBD ","version":"Next","tagName":"h2"},{"title":"Code","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/code","content":"","keywords":"","version":"Next"},{"title":"Structure​","type":1,"pageTitle":"Code","url":"/nr-pies/docs/spec/data/code#structure","content":" Type: string ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Code","url":"/nr-pies/docs/spec/data/code#specification","content":" SchemaSource Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Code","url":"/nr-pies/docs/spec/data/code#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Code","url":"/nr-pies/docs/spec/data/code#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Parcel Identifier","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/parcel_id","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#scope","content":" Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#structure","content":" A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.A Parcel Identifier may contain a legal_description and/or a parcel_name. Name\tCardinality\tType\tDescription & Constraintslegal_description\t0..1\tstring\tThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations. parcel_name\t0..1\tstring\tThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK. pid\t0..*\tinteger\tParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. pin\t0..1\tinteger\tThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Process","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/process","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#scope","content":" This data type is intended to represent the core concept of a defined process. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#specification","content":" Example { "class": "status", "description": "The authorization request is under review by subject matter expert.", "parent_class": "stage", "parent_concept": "underreview", "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking", "value": "pending review" } ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#implementation-notes","content":" ","version":"Next","tagName":"h2"},{"title":"Parcel ID (PID)​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#parcel-id-pid","content":" Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes: parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes. Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type. ","version":"Next","tagName":"h3"},{"title":"References​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#references","content":" BC Data CatalogueParcelMap BC - Parcels ","version":"Next","tagName":"h2"},{"title":"Event","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/event","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#scope","content":" This data type is intended to represent the core concept of a temporal event. It may contain a set of timestamps. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#specification","content":" Example [ { "start": "2017-01-01T00:00:00.000Z", "end": "2017-01-02T00:00:00.000Z" }, { "start": "2017-01-03T00:00:00.000Z" } ] ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Formatting","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/formatting","content":"","keywords":"","version":"Next"},{"title":"JSON Schema Primer​","type":1,"pageTitle":"Formatting","url":"/nr-pies/docs/spec/formatting#json-schema-primer","content":" A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for describing expected structures, describing conceptual relationships between related topics and domains A JSON Schema will typically contain the following attributes: $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.$id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.$comment - A free text field for conveying out of band information about the schema. Comments are useful for specification readers and editors to understand further nuances for certain properties and structures, but should not be relied upon for implementation as they may be skipped over or stripped when parsed by machines.title - The intent of the schema. This should be brief and concise.description - A brief description about the schema. This should provide a quick overview for the context of usage.properties - A set of attributes that are expected to show up in this document type.required - An array defining the set of properties that must be present for the document to be considered valid. Anything defined that is not in this array is implied to be optional.type - The type primitive constraint for the property. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Formatting","url":"/nr-pies/docs/spec/formatting#references","content":" Draft 07RFC 8259 (JSON)JSON Schema Version Comparison ","version":"Next","tagName":"h2"},{"title":"Project Bundle","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/project_bundle","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#scope","content":" This data type is intended to represent a grouping of related permits that are related to a specific activity. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#structure","content":" Name\tCardinality\tType\tDescription & Constraintsproject_id\t1..1\tuuid\tA unique key to track all permits related to a project or activity across all permitting systems. project_name\t1..1\tstring\tShort name of the project. project_description\t0..1\tstring\tFull description of the project. This may contain information to better understand a project. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Primitive Types","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/primitive_types","content":"","keywords":"","version":"Next"},{"title":"String​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#string","content":" Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as specified in RFC 3629, which is an extension of the ISO 10646-1standard. Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expressionpattern. In addition, there are commonbuilt-in format types that a string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation for more detail on the available built-in format types. ","version":"Next","tagName":"h2"},{"title":"Date and Time​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#date-and-time","content":" Date and/or time formats shall be represented inRFC 3339, section 5.6 format, also commonly known asISO 8601. Unless otherwise specified, date-time shall be internally stored and represented in a format compatible with unix/epochtime. If the time is specified, such as when either the time or date-time formats are used, the time representations shall be encoded in UTC time. Reference theJSON Schema documentation for more specific examples. warning Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. ","version":"Next","tagName":"h3"},{"title":"Email​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#email","content":" Email addresses with format email shall be represented inRFC 5321, section 4.1.2 format. Emails may also be conveyed in internationalized format idn-email which will be compliant toRFC 6531. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Hostname​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#hostname","content":" Hostnames with format hostname shall be represented inRFC 1123, section 2.1 format. Hostnames may also be conveyed in internationalized format idn-hostname which will be compliant toRFC 5890, section 2.3.2.3. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"IP Address​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#ip-address","content":" IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply withRFC 2673, section 3.2. If IPv6 is used, it shall comply with RFC 2373, section 2.2. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Resource Identifier​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#resource-identifier","content":" Universal resource identifiers will use format uri and comply withRFC 3986. There are other less commonly used formats described in theJSON Schema documentation. warning Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most cases, uuid v4 will be used. When a uuid is used, it shall comply withRFC 4122. The regular expression to be used when specifying uuids will be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize compatibility. info While there is RFC 9562 which extends RFC 4122 by adding in uuid versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when these newer uuid versions are used. ","version":"Next","tagName":"h3"},{"title":"URI Template​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#uri-template","content":" URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters that must be substituted in before the URI may be resolved. This should comply withRFC 6570. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Regular Expression​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#regular-expression","content":" Regular expressions with format regex should comply with theECMA 262 dialect. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Numeric​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#numeric","content":" Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a numbertype in lieu of the integer type for most scenarios that do not require integer level precision. Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum,exclusiveMinimum and exclusiveMaximum. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Object​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#object","content":" Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition. More specific details on what can be done can be found in theJSON Schema documentation. ","version":"Next","tagName":"h2"},{"title":"Array​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#array","content":" Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to provide a looser expectation of what kinds of elements are expected. Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used to describe the boundaries of the array. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Boolean​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#boolean","content":" Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first prior to encoding. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"Null​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#null","content":" Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate to the absence of a value, or undefined. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#references","content":" ","version":"Next","tagName":"h2"},{"title":"Government Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#government-standards","content":" Address Data Standards: Mailing, Delivery and ResidentialDate and Time StandardB.C. Health Information Standards for Date and TimeNaming and Describing ","version":"Next","tagName":"h3"},{"title":"Technical Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#technical-standards","content":" ECMA 262JSON Schema TypesRFC 1123 (Internet Hosts)RFC 2373 (IPv6)RFC 2673 (IPv4)RFC 3339 (Date and Time)RFC 3629 (UTF-8)RFC 3986 (URI)RFC 4122 (UUID v1-5)RFC 5321 (Email/SMTP)RFC 5890 (Internationalized Domain Names)RFC 6531 (Internationalized Email)RFC 6570 (URI Template)RFC 8259 (JSON)RFC 9562 (UUID v6-8) ","version":"Next","tagName":"h3"},{"title":"Errata​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#errata","content":" JSON Schema Version Comparison ","version":"Next","tagName":"h3"},{"title":"Process Event","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/resource/process_event","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#scope","content":" This data type is intended to represent an instance of a temporal event within a defined process. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#specification","content":" Example { "event": [ { "start": "2017-01-01T00:00:00.000Z", "end": "2017-01-02T00:00:00.000Z" }, { "start": "2017-01-03T00:00:00.000Z" } ], "process": { "class": "status", "description": "The authorization request is under review by subject matter expert.", "parent_class": "stage", "parent_concept": "underreview", "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking", "value": "pending review" } } ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#references","content":" TBD ","version":"Next","tagName":"h2"}],"options":{"enableHighlight":true,"id":"default"}} \ No newline at end of file diff --git a/search-doc.json b/search-doc.json new file mode 100644 index 0000000..f82f15e --- /dev/null +++ b/search-doc.json @@ -0,0 +1 @@ +{"searchDocs":[{"title":"Congratulations!","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/congratulations","content":"","keywords":"","version":"Next"},{"title":"What's next?​","type":1,"pageTitle":"Congratulations!","url":"/nr-pies/docs/docusaurus/tutorial_basics/congratulations#whats-next","content":" Read the official documentationModify your site configuration with docusaurus.config.jsAdd navbar and footer items with themeConfigAdd a custom Design and LayoutAdd a search barFind inspirations in the Docusaurus showcaseGet involved in the Docusaurus Community ","version":"Next","tagName":"h2"},{"title":"Tutorial Intro","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/intro","content":"","keywords":"","version":"Next"},{"title":"Getting Started​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/docs/docusaurus/intro#getting-started","content":" Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new. ","version":"Next","tagName":"h2"},{"title":"What you'll need​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/docs/docusaurus/intro#what-youll-need","content":" Node.js version 18.0 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies. ","version":"Next","tagName":"h3"},{"title":"Generate a new site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/docs/docusaurus/intro#generate-a-new-site","content":" Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus. ","version":"Next","tagName":"h2"},{"title":"Start your site​","type":1,"pageTitle":"Tutorial Intro","url":"/nr-pies/docs/docusaurus/intro#start-your-site","content":" Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes. ","version":"Next","tagName":"h2"},{"title":"Create a Blog Post","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post","content":"","keywords":"","version":"Next"},{"title":"Create your first Post​","type":1,"pageTitle":"Create a Blog Post","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_post#create-your-first-post","content":" Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much as you like. A new blog post is now available at http://localhost:3000/blog/greetings. ","version":"Next","tagName":"h2"},{"title":"Deploy your site","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site","content":"","keywords":"","version":"Next"},{"title":"Build your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site#build-your-site","content":" Build your site for production: npm run build The static files are generated in the build folder. ","version":"Next","tagName":"h2"},{"title":"Deploy your site​","type":1,"pageTitle":"Deploy your site","url":"/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_site#deploy-your-site-1","content":" Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide). ","version":"Next","tagName":"h2"},{"title":"Create a Page","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page","content":"","keywords":"","version":"Next"},{"title":"Create your first React Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-react-page","content":" Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return ( <Layout> <h1>My React page</h1> <p>This is a React page</p> </Layout> ); } A new page is now available at http://localhost:3000/my-react-page. ","version":"Next","tagName":"h2"},{"title":"Create your first Markdown Page​","type":1,"pageTitle":"Create a Page","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_page#create-your-first-markdown-page","content":" Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page. ","version":"Next","tagName":"h2"},{"title":"Translate your site","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site","content":"","keywords":"","version":"Next"},{"title":"Configure i18n​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#configure-i18n","content":" Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js export default { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, }; ","version":"Next","tagName":"h2"},{"title":"Translate a doc​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#translate-a-doc","content":" Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French. ","version":"Next","tagName":"h2"},{"title":"Start your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#start-your-localized-site","content":" Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. caution In development, you can only use one locale at a time. ","version":"Next","tagName":"h2"},{"title":"Add a Locale Dropdown​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#add-a-locale-dropdown","content":" To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Build your localized site​","type":1,"pageTitle":"Translate your site","url":"/nr-pies/docs/docusaurus/tutorial_extras/translate_your_site#build-your-localized-site","content":" Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build ","version":"Next","tagName":"h2"},{"title":"Manage Docs Versions","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions","content":"","keywords":"","version":"Next"},{"title":"Create a docs version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions#create-a-docs-version","content":" Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docscurrent at http://localhost:3000/docs/next/ for the upcoming, unreleased docs ","version":"Next","tagName":"h2"},{"title":"Add a Version Dropdown​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions#add-a-version-dropdown","content":" To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js export default { themeConfig: { navbar: { items: [ { type: "docsVersionDropdown", }, ], }, }, }; The docs version dropdown appears in your navbar: ","version":"Next","tagName":"h2"},{"title":"Update an existing version​","type":1,"pageTitle":"Manage Docs Versions","url":"/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versions#update-an-existing-version","content":" It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hellodocs/hello.md updates http://localhost:3000/docs/next/hello ","version":"Next","tagName":"h2"},{"title":"Create a Document","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document","content":"","keywords":"","version":"Next"},{"title":"Create your first Doc​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document#create-your-first-doc","content":" Create a Markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello. ","version":"Next","tagName":"h2"},{"title":"Configure the Sidebar​","type":1,"pageTitle":"Create a Document","url":"/nr-pies/docs/docusaurus/tutorial_basics/create_a_document#configure-the-sidebar","content":" Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js export default { tutorialSidebar: [ 'intro', 'hello', { type: 'category', label: 'Tutorial', items: ['tutorial_basics/create-a-document'] } ] }; ","version":"Next","tagName":"h2"},{"title":"Getting Started","type":0,"sectionRef":"#","url":"/nr-pies/docs/intro/getting_started","content":"","keywords":"","version":"Next"},{"title":"Purpose​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#purpose","content":" Permitting is a complex space. B.C.'s Natural Resource Sector (NRS) alone has well over 600 permit types with just as many ways to collect, process and store information from intake to decision. Analytics and reporting and permitting reform is difficult for many reasons including data quality and inconsistencies with collection. Permitting systems can't integrate without a common language. This standard specifies the foundational set of core descriptive data types and elements required to enable the compatibility and interoperability of Natural Resource permitting and authorization ecosystems, as well as define the purpose and characteristics of permitting. It will enable better business intelligence (ie. providing evidence for policy shifts) and permitting process improvements while enabling flexibility to adapt to shifts in direction on permitting. ","version":"Next","tagName":"h2"},{"title":"Objectives​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#objectives","content":" The main objective of PIES is to deliver a published specification to enable better data quality and system interoperability. Understand the time, cost, and effort involved in requiring a mandatory data standard be included or usable in all NRM permitting systems to enhance data consistency, improve interoperability, and automate processes across the sector. Make it easier to connect and work with the information in different permitting systems. Reduce the effort and cost of systems integrations and automation.Unlock the ability to provide consistent progress tracking to proponents. Create technical guidelines that help various systems communicate smoothly and consistently.Support different ways for systems to communicate with each other.Unlock potential for evidence-based policy and transformative potential of AI. ","version":"Next","tagName":"h2"},{"title":"Getting Everyone on the Same Page​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#getting-everyone-on-the-same-page","content":" Set up a working group for people interested to contribute and adopt PIES. See MS Teams.Create clear rules for data governance.Develop a common language so everyone understands the same terms.Gather feedback to ensure data is represented accurately and clearly. ","version":"Next","tagName":"h3"},{"title":"Documentation​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#documentation","content":" Share best practices for documenting government data standards.Identify and list common permitting concepts and data types.Create a plan for implementing solutions using transformations and microservices. And of course, PIES are delicious! 😄 ","version":"Next","tagName":"h3"},{"title":"Goals​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#goals","content":" Enable a cross sector view Through appropriate data accessCreates a single point of validated reporting Provide a harmonized view to perform analysis to identify gaps, gain insights and to spot opportunities for improvement Data qualityData and information consistencyIdentify processing timesData harmonization cross sector level reportingActivity bundling and linkingCoordinated First Nations Consultation Ultimately PIES goal is to achieve consistency in reporting and analytics across various permitting systems AND to achieve interoperability (the ability for the systems to understand the key elements of information they need to share and talk to each other in a common language). An Interoperability strategy and technology will be developed separately from the Data Standards. The strategy will focus on a stable, maintainable, scalable platform for data interchange with ability to transform data from LOB systems into the data standards. ","version":"Next","tagName":"h2"},{"title":"Schemas​","type":1,"pageTitle":"Getting Started","url":"/nr-pies/docs/intro/getting_started#schemas","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Markdown Features","type":0,"sectionRef":"#","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features","content":"","keywords":"","version":"Next"},{"title":"Front Matter​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#front-matter","content":" Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my_doc_id title: My document title description: My document description slug: /my-custom-url tags: - developer --- ## Markdown heading Markdown text with [links](./hello.md) We recommend that all markdown pages should have at minimum a title, description and tags array defined. An idmay be specified, but can be derived off of the filename when omitted. info A complete listing of Docusaurus supported front matter fields can be found here. ","version":"Next","tagName":"h2"},{"title":"Links​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#links","content":" Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create_a_page). Let's see how to [Create a page](./create_a_page.md). Result: Let's see how to Create a page. ","version":"Next","tagName":"h2"},{"title":"Images​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#images","content":" Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them: ![Docusaurus logo](./img/docusaurus.png) ","version":"Next","tagName":"h2"},{"title":"Code Blocks​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#code-blocks","content":" Markdown code blocks are supported with Syntax highlighting. ```jsx title="src/components/HelloDocusaurus.js" function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ``` src/components/HelloDocusaurus.js function HelloDocusaurus() { return <h1>Hello, Docusaurus!</h1>; } ","version":"Next","tagName":"h2"},{"title":"Admonitions​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#admonitions","content":" Docusaurus has a special syntax to create admonitions and callouts: :::tip[My tip] Use this awesome feature option ::: :::danger[Take care] This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous ","version":"Next","tagName":"h2"},{"title":"Mermaid Graphs​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#mermaid-graphs","content":" Our Docusaurus instance supports diagramming and charting through Mermaid. The following are some quick examples that can be achieved using Mermaid. For more details on the wide range of charts supported, visit their documentation for more details under the Diagram Syntax section on the sidebar. ","version":"Next","tagName":"h2"},{"title":"State Machine​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#state-machine","content":" ```mermaid graph TD A-->B A-->C B-->D C-->D ``` ","version":"Next","tagName":"h3"},{"title":"Flowchart​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#flowchart","content":" ```mermaid graph LR A[PIES] -->|Get spec| B(Stakeholder approval) B --> C{Purpose} B --> G[/Further Analysis/] C ==>|One| D[Document Exchange] C -->|Two| E[Event Alerts] C -->|Three| F[Aggregation] subgraph identification A B end subgraph execution C D E F G end ``` ","version":"Next","tagName":"h3"},{"title":"MDX and React Components​","type":1,"pageTitle":"Markdown Features","url":"/nr-pies/docs/docusaurus/tutorial_basics/markdown_features#mdx-and-react-components","content":" MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( <span style={{ backgroundColor: color, borderRadius: '20px', color: '#fff', padding: '10px', cursor: 'pointer', }} onClick={() => { alert(`You clicked the color ${color} with label ${children}`) }}> {children} </span> ); This is <Highlight color="#25c2a0">Docusaurus green</Highlight> ! This is <Highlight color="#1877F2">Facebook blue</Highlight> ! This is Docusaurus green ! This is Facebook blue ! ","version":"Next","tagName":"h2"},{"title":"Terminology","type":0,"sectionRef":"#","url":"/nr-pies/docs/intro/terminology","content":"","keywords":"","version":"Next"},{"title":"Acronyms​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#acronyms","content":" Term\tDefinitionLOB\tLine of Business ","version":"Next","tagName":"h2"},{"title":"Concepts​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#concepts","content":" The following terms outline the main concepts used within this specification and aim to provide a common lexicon for understanding and terminology usage. ","version":"Next","tagName":"h2"},{"title":"Actors​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#actors","content":" This section discusses the various roles that a person, group or an organization may act as within the context of PIES. Term\tDefinitionApplicant\tA person, group or organization seeking an authorization to perform a set of activities. Decision Maker\tA statutory decision maker (SDM) are the persons with designated authority by their respective Ministry legislation to issue authorizations, approvals, and similar decisions. Facilitator\tAn established role which focuses on delivering dedicated support to applicants on application submissions. Interested Party\tA person, or group which may be impacted by an authorization decision. Local Government\tA Municipality or Regional District within the Province. They are the entity providing development, use and building approval on a parcel within their jurisdiction. Navigator\tA synonym for a facilitator. Proponent\tA synonym for an applicant. Referral Agency\tA provincial Ministry, local government, or government agency that receives notices for an application. They may be given the opportunity to provide input and comments on an application. Subject Matter Expert\tA subject matter expert (SME) is a specialist of a specific domain, such as authorization processes, software, and policy. ","version":"Next","tagName":"h3"},{"title":"Definitions​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#definitions","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within PIES. Term\tDefinition\t???Activity\tA specific singular defined intent of action within an area of intent as defined by a referral agency. An activity may require one or more authorizations, e.g., a housing development project. An activity may be associated with a project. Activity Bundling\tThe act of identifying the set of permits required for a certain activity.\tThis should be refined, not sure if this should belong here as it's not a formal process but a description of a relationship Application\tA submitted form(s) with the intent to obtain or amend an authorization.\tThis might be getting muddled with the concept of a project. Area of Intent\tA set of one or more parcels which define the location(s) an activity is to be performed. Authorization\tThe act of granting permission to perform a specific activity in a parcel within the Province of BC. Authorizations may take various forms, including a permit, license, tenure, lease, right-of-way, agreement, grant, statutory right, interest or title.\tWe might need to expand this definition over time as this is the formal umbrella term for many things. Caseload\tWork happening with the LOB to facilitate, capture and maintain a permit. Disposition\tThe final decision or outcome made by a statutory decision maker regarding an application. It essentially indicates what action has been taken with respect to the application, and can be represented by a state.\tFirst attempt at defining - needs review Parcel\tA polygon representation of a designated area, location or jurisdiction. Parcels may have varying degrees of accuracy which may or may not come from surveyor submissions.\tRephrased from LTSA page Permit\tAn official document which grants permission to carry out a specific activity, such as land use, in a parcel within the Province of BC. In the context of permitting modernization, it is being used as a term for any type of authorization. Project\tAn optional set of one or more activities as defined by an applicant. Submission\tThe completed output of a single form as answered by an applicant.\tAdd a note like "Submissions require an adjective declaring their application context"? Workload\tA quantifiable measurement of the number of client-driven applications in the queue.\t The following diagram outlines a high level relational map between all the actors (with rounded borders) and how they interact with specific parts of the process. ","version":"Next","tagName":"h3"},{"title":"Process Tracking​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#process-tracking","content":" This section outlines the definitions and common vocabulary used for representing specific concepts within a process. Term\tDefinition\t???Lifecycle\tRepresents the complete ordered sequencing of phases that an application and an authorization may pass through. A lifecycle should describe the entire scope of processing that can occur from beginning to end.\tHighest level concept; answers the "why" Phase\tA distinct period or division within a lifecycle. A phase will represent a broader set of stages and usually comes with specific objectives or outcomes. A phase shall be a defined member of a specific lifecycle.\tDefines an ordering of related stages. Stage\tA discrete, ordered set or collection of states. A stage defines a sequential order of states that the process must go through. A stage shall be a defined member of a phase.\tProvides an ordering of higher level states within a phase of work State\tA description of the current condition of an application or authorization within the larger process or workflow (e.g., "Submitted", "Approved"). A state shall map to a broader stage definition.\tLarger general "where is this at" concept Status\tA description of the current condition or update of an application or authorization. Additional details about the current state are typically conveyed (e.g., "Pending Review", "Under Inspection"). All defined statuses shall have a mapping to a broader state definition.\tDetailed "what is happening now" concept The following diagram outlines a high level categorization map between all of the process terms and how they relate to each other. ","version":"Next","tagName":"h3"},{"title":"Structure​","type":1,"pageTitle":"Terminology","url":"/nr-pies/docs/intro/terminology#structure","content":" The following terms describe the structural definitions of the specification ordered from specific to general. Term\tDefinitionData Type\tA primitive data type is one of the most fundamental principles for defining what type of information a piece of data is. Common data types are: boolean, integer, string, and date. Identifiers\tIdentifiers provide a shorthand way to reference a unit of data or a specific entry in a codelist or classification scheme. Typically identifiers are intended to be unique within a local or global context (UIDs, and UUIDs). This can include both UUIDs intended to serve as their own widely used standards as well as commonly used code lists and classification schemes. For example, "CA" is the ISO 3166-1 alpha-2 code for Canada while 515112 is the North American Industry Classification System (NAICS) code for FM radio stations. Vocabulary\tA vocabulary establishes standardized terms with consistent semantic definitions. These are typically constrained to a particular namespace or domain. The terms are the machine readable labels for individual data elements or a group of data elements. They can be thought of as the column headings in a spreadsheet of tabular data along with their definitions in a data dictionary. For example, the Dublin Core Metadata Initiative establishes a term and definition for a variety of common metadata elements like "publisher." Schema\tA schema can be a data model or database schema defining relationships between different pieces of information. Schemas can be described using SQL, UML, XSD, or JSON Schema. Format\tThe format or "serialization format" is the syntax, encoding, and file format or media type for storing or transmitting your data. On the web, formats are associated with standardized media type identifiers, like application/json. Common data formats include JSON, CSV, and XML. API\tAn application programming interface (API) is a predefined protocol for reading and/or writing data using a filesystem, a database, or across a network. Common types of data APIs include OBDC and SQL for databases and REST APIs for the web. ","version":"Next","tagName":"h2"},{"title":"Process Tracking","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/concept/process_tracking","content":"","keywords":"","version":"Next"},{"title":"Classifications​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/docs/spec/concept/process_tracking#classifications","content":" Refer to the Process Tracking Terminology to understand the definitions behind each classification level. ","version":"Next","tagName":"h2"},{"title":"Concept Map​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/docs/spec/concept/process_tracking#concept-map","content":" ","version":"Next","tagName":"h2"},{"title":"Code Sets​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/docs/spec/concept/process_tracking#code-sets","content":" Each classification within the context of a specific kind of lifecycle will have a codified and enumerated concept. TBD. ","version":"Next","tagName":"h2"},{"title":"Type Descriptors​","type":1,"pageTitle":"Process Tracking","url":"/nr-pies/docs/spec/concept/process_tracking#type-descriptors","content":" Each kind of lifecycle may be described by a type descriptor. For example, an application may be an amendment type, or it may be a transfer type. TBD ","version":"Next","tagName":"h2"},{"title":"Code","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/code","content":"","keywords":"","version":"Next"},{"title":"Structure​","type":1,"pageTitle":"Code","url":"/nr-pies/docs/spec/data/code#structure","content":" Type: string ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Code","url":"/nr-pies/docs/spec/data/code#specification","content":" SchemaSource Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Code","url":"/nr-pies/docs/spec/data/code#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Code","url":"/nr-pies/docs/spec/data/code#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Parcel Identifier","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/parcel_id","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#scope","content":" Parcel ID is the Land Title Register parcel identifier, a nine-digit max number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. The parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#structure","content":" A valid Parcel Identifier shall at minimum contain either a pin or at least one pid.A Parcel Identifier may contain a legal_description and/or a parcel_name. Name\tCardinality\tType\tDescription & Constraintslegal_description\t0..1\tstring\tThe full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations. parcel_name\t0..1\tstring\tThe same as the PID, if there is one. If there is a PIN but no PID, then parcel name is the PIN. If there is no PID nor PIN, then it is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK. pid\t0..*\tinteger\tParcel ID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier. pin\t0..1\tinteger\tThe parcel identification number (PIN) is the Crown Land Registry Parcel Identifier. ","version":"Next","tagName":"h2"},{"title":"Process","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/process","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#scope","content":" This data type is intended to represent the core concept of a defined process. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#specification","content":" Example { "class": "status", "description": "The authorization request is under review by subject matter expert.", "parent_class": "stage", "parent_concept": "underreview", "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking", "value": "pending review" } ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Process","url":"/nr-pies/docs/spec/data/process#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#implementation-notes","content":" ","version":"Next","tagName":"h2"},{"title":"Parcel ID (PID)​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#parcel-id-pid","content":" Parcel IDs are stored as numeric values from ParcelMap BC (PMBC). During the PMBC adoption in government, business areas voiced that PIDs may be store the presentation format which includes padded zeros and/or dashes. The BC Data Service distributes PMBC data on behalf of the provincial government (see BC Data Catalogue) and makes the Parcel IDs formats available to accommodate this. The following formats may be encountered which includes padded zeros and/or dashes: parcel_id_formatted (string, 12): The parcel ID formatted as a left-zero-padded nine-digit number, with dashes between each group of three digits.parcel_id_number (numeric, 10): The Parcel ID as a number, without leading zeroes. Should these alternatives be encountered, they must be transformed into a standard JSON integer primitive type. ","version":"Next","tagName":"h3"},{"title":"References​","type":1,"pageTitle":"Parcel Identifier","url":"/nr-pies/docs/spec/data/parcel_id#references","content":" BC Data CatalogueParcelMap BC - Parcels ","version":"Next","tagName":"h2"},{"title":"Event","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/event","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#scope","content":" This data type is intended to represent the core concept of a temporal event. It may contain a set of timestamps. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#specification","content":" Example [ { "start": "2017-01-01T00:00:00.000Z", "end": "2017-01-02T00:00:00.000Z" }, { "start": "2017-01-03T00:00:00.000Z" } ] ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Event","url":"/nr-pies/docs/spec/data/event#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Formatting","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/formatting","content":"","keywords":"","version":"Next"},{"title":"JSON Schema Primer​","type":1,"pageTitle":"Formatting","url":"/nr-pies/docs/spec/formatting#json-schema-primer","content":" A JSON Schema is commonly used to define, annotate and verify JSON structured documents and content. It serves as a way to explicitly define the structural expectations for a specific type of document. While JSON Schema is good for describing expected structures, describing conceptual relationships between related topics and domains A JSON Schema will typically contain the following attributes: $schema - This describes the draft level this JSON Schema complies to. For PIES, this property will normally be https://json-schema.org/draft-07/schema.$id - The unique URI for this schema. The path should ideally contain an obvious versioning nomenclature.$comment - A free text field for conveying out of band information about the schema. Comments are useful for specification readers and editors to understand further nuances for certain properties and structures, but should not be relied upon for implementation as they may be skipped over or stripped when parsed by machines.title - The intent of the schema. This should be brief and concise.description - A brief description about the schema. This should provide a quick overview for the context of usage.properties - A set of attributes that are expected to show up in this document type.required - An array defining the set of properties that must be present for the document to be considered valid. Anything defined that is not in this array is implied to be optional.type - The type primitive constraint for the property. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Formatting","url":"/nr-pies/docs/spec/formatting#references","content":" Draft 07RFC 8259 (JSON)JSON Schema Version Comparison ","version":"Next","tagName":"h2"},{"title":"Project Bundle","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/data/project_bundle","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#scope","content":" This data type is intended to represent a grouping of related permits that are related to a specific activity. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#structure","content":" Name\tCardinality\tType\tDescription & Constraintsproject_id\t1..1\tuuid\tA unique key to track all permits related to a project or activity across all permitting systems. project_name\t1..1\tstring\tShort name of the project. project_description\t0..1\tstring\tFull description of the project. This may contain information to better understand a project. ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#specification","content":" SchemaSourceExample Loading .... ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Project Bundle","url":"/nr-pies/docs/spec/data/project_bundle#references","content":" TBD ","version":"Next","tagName":"h2"},{"title":"Primitive Types","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/primitive_types","content":"","keywords":"","version":"Next"},{"title":"String​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#string","content":" Strings are used to represent textual information. For most scenarios, strings shall be represented in UTF-8 format, as specified in RFC 3629, which is an extension of the ISO 10646-1standard. Strings may be optionally constrained by properties such as minLength, maxLength and by Regular Expressionpattern. In addition, there are commonbuilt-in format types that a string may represent. While we outline some of the common formats here, please refer to the JSON Schema documentation for more detail on the available built-in format types. ","version":"Next","tagName":"h2"},{"title":"Date and Time​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#date-and-time","content":" Date and/or time formats shall be represented inRFC 3339, section 5.6 format, also commonly known asISO 8601. Unless otherwise specified, date-time shall be internally stored and represented in a format compatible with unix/epochtime. If the time is specified, such as when either the time or date-time formats are used, the time representations shall be encoded in UTC time. Reference theJSON Schema documentation for more specific examples. warning Note that the duration format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. ","version":"Next","tagName":"h3"},{"title":"Email​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#email","content":" Email addresses with format email shall be represented inRFC 5321, section 4.1.2 format. Emails may also be conveyed in internationalized format idn-email which will be compliant toRFC 6531. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Hostname​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#hostname","content":" Hostnames with format hostname shall be represented inRFC 1123, section 2.1 format. Hostnames may also be conveyed in internationalized format idn-hostname which will be compliant toRFC 5890, section 2.3.2.3. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"IP Address​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#ip-address","content":" IP Addresses may either be formatted in ipv4 or ipv6 formats. If IPv4 is used, it shall comply withRFC 2673, section 3.2. If IPv6 is used, it shall comply with RFC 2373, section 2.2. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Resource Identifier​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#resource-identifier","content":" Universal resource identifiers will use format uri and comply withRFC 3986. There are other less commonly used formats described in theJSON Schema documentation. warning Note that the uuid format is not supported at this time as we are compliant with draft 07 of the JSON Schema standard. Instead, uuid strings shall be constrained with the equivalent uuid versioned regular expression pattern. For most cases, uuid v4 will be used. When a uuid is used, it shall comply withRFC 4122. The regular expression to be used when specifying uuids will be /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i in order to remain version agnostic and maximize compatibility. info While there is RFC 9562 which extends RFC 4122 by adding in uuid versions 6-8, these are likely not supportable with the uuid format yet and will require further review if and when these newer uuid versions are used. ","version":"Next","tagName":"h3"},{"title":"URI Template​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#uri-template","content":" URI Templates with format uri-template provide a way to specify a Unique Resource Identifier that contains parameters that must be substituted in before the URI may be resolved. This should comply withRFC 6570. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Regular Expression​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#regular-expression","content":" Regular expressions with format regex should comply with theECMA 262 dialect. Check theJSON Schema documentation for more details. ","version":"Next","tagName":"h3"},{"title":"Numeric​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#numeric","content":" Decimals or floating-point numbers may be represented as a type of numeric value. Note that JSON lacks the ability to differentiate between integers and floating-point values. It is not possible to reliably infer if the value is an integer or floating-point value solely based on the presence of a decimal point. As such, we recommend using a numbertype in lieu of the integer type for most scenarios that do not require integer level precision. Numbers and integers may be optionally constrained by properties such as multipleOf, minimum, maximum,exclusiveMinimum and exclusiveMaximum. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Object​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#object","content":" Objects are used for unordered key-value mappings. In JSON, the key shall always be a string, and a key-value pair is conventionally called a "property". As objects can have various requirements, nestings, and structuring, there is extensive documentation outlining how objects can constrain the key namings, define the required and/or expected properties, as well as define relationships and inclusion of other schemas into its own definition. More specific details on what can be done can be found in theJSON Schema documentation. ","version":"Next","tagName":"h2"},{"title":"Array​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#array","content":" Arrays are used to represent ordered elements. JSON permits array elements to consist of different types. As such, array definitions may either constrain the type of elements with the items keyword, or use the contains keyword to provide a looser expectation of what kinds of elements are expected. Other array constraints such as uniqueness, minContains, maxContains, minItems and maxItems may also be used to describe the boundaries of the array. Reference theJSON Schema documentation for more specific examples. ","version":"Next","tagName":"h2"},{"title":"Boolean​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#boolean","content":" Booleans are used to represent only two possible values: true or false. While certain languages may evaluate other values to true or false, they are not accepted by JSON Schema. Ensure that booleans are evaluated and casted first prior to encoding. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"Null​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#null","content":" Null is used to represent no value, and can only have a single acceptable value null. Note that null does not equate to the absence of a value, or undefined. Reference theJSON Schema documentation for more details. ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#references","content":" ","version":"Next","tagName":"h2"},{"title":"Government Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#government-standards","content":" Address Data Standards: Mailing, Delivery and ResidentialDate and Time StandardB.C. Health Information Standards for Date and TimeNaming and Describing ","version":"Next","tagName":"h3"},{"title":"Technical Standards​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#technical-standards","content":" ECMA 262JSON Schema TypesRFC 1123 (Internet Hosts)RFC 2373 (IPv6)RFC 2673 (IPv4)RFC 3339 (Date and Time)RFC 3629 (UTF-8)RFC 3986 (URI)RFC 4122 (UUID v1-5)RFC 5321 (Email/SMTP)RFC 5890 (Internationalized Domain Names)RFC 6531 (Internationalized Email)RFC 6570 (URI Template)RFC 8259 (JSON)RFC 9562 (UUID v6-8) ","version":"Next","tagName":"h3"},{"title":"Errata​","type":1,"pageTitle":"Primitive Types","url":"/nr-pies/docs/spec/primitive_types#errata","content":" JSON Schema Version Comparison ","version":"Next","tagName":"h3"},{"title":"Process Event","type":0,"sectionRef":"#","url":"/nr-pies/docs/spec/resource/process_event","content":"","keywords":"","version":"Next"},{"title":"Scope​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#scope","content":" This data type is intended to represent an instance of a temporal event within a defined process. Loosely taking inspiration from HL7 Timing. ","version":"Next","tagName":"h2"},{"title":"Structure​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#structure","content":" Name\tCardinality\tType\tDescription & ConstraintsTBD\t1..1\tstring\tTBD ","version":"Next","tagName":"h2"},{"title":"Specification​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#specification","content":" Example { "event": [ { "start": "2017-01-01T00:00:00.000Z", "end": "2017-01-02T00:00:00.000Z" }, { "start": "2017-01-03T00:00:00.000Z" } ], "process": { "class": "status", "description": "The authorization request is under review by subject matter expert.", "parent_class": "stage", "parent_concept": "underreview", "system": "http://bcgov.github.io/nr-pies/docs/concept/process_tracking", "value": "pending review" } } ","version":"Next","tagName":"h2"},{"title":"Implementation Notes​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#implementation-notes","content":" TBD ","version":"Next","tagName":"h2"},{"title":"References​","type":1,"pageTitle":"Process Event","url":"/nr-pies/docs/spec/resource/process_event#references","content":" TBD ","version":"Next","tagName":"h2"}],"options":{"enableHighlight":true,"id":"default"}} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..224550c --- /dev/null +++ b/sitemap.xml @@ -0,0 +1 @@ +https://bcgov.github.io/nr-pies/markdown-pageweekly0.5https://bcgov.github.io/nr-pies/docs/tagsweekly0.5https://bcgov.github.io/nr-pies/docs/tags/businessweekly0.5https://bcgov.github.io/nr-pies/docs/tags/developerweekly0.5https://bcgov.github.io/nr-pies/docs/tags/executiveweekly0.5https://bcgov.github.io/nr-pies/docs/category/concept-mapsweekly0.5https://bcgov.github.io/nr-pies/docs/category/data-typesweekly0.5https://bcgov.github.io/nr-pies/docs/category/resource-typesweekly0.5https://bcgov.github.io/nr-pies/docs/category/tutorial---basicsweekly0.5https://bcgov.github.io/nr-pies/docs/category/tutorial---extrasweekly0.5https://bcgov.github.io/nr-pies/docs/docusaurus/introweekly0.5https://bcgov.github.io/nr-pies/docs/docusaurus/tutorial_basics/congratulationsweekly0.5https://bcgov.github.io/nr-pies/docs/docusaurus/tutorial_basics/create_a_blog_postweekly0.5https://bcgov.github.io/nr-pies/docs/docusaurus/tutorial_basics/create_a_documentweekly0.5https://bcgov.github.io/nr-pies/docs/docusaurus/tutorial_basics/create_a_pageweekly0.5https://bcgov.github.io/nr-pies/docs/docusaurus/tutorial_basics/deploy_your_siteweekly0.5https://bcgov.github.io/nr-pies/docs/docusaurus/tutorial_basics/markdown_featuresweekly0.5https://bcgov.github.io/nr-pies/docs/docusaurus/tutorial_extras/manage_docs_versionsweekly0.5https://bcgov.github.io/nr-pies/docs/docusaurus/tutorial_extras/translate_your_siteweekly0.5https://bcgov.github.io/nr-pies/docs/intro/getting_startedweekly0.5https://bcgov.github.io/nr-pies/docs/intro/terminologyweekly0.5https://bcgov.github.io/nr-pies/docs/spec/concept/process_trackingweekly0.5https://bcgov.github.io/nr-pies/docs/spec/data/codeweekly0.5https://bcgov.github.io/nr-pies/docs/spec/data/eventweekly0.5https://bcgov.github.io/nr-pies/docs/spec/data/parcel_idweekly0.5https://bcgov.github.io/nr-pies/docs/spec/data/processweekly0.5https://bcgov.github.io/nr-pies/docs/spec/data/project_bundleweekly0.5https://bcgov.github.io/nr-pies/docs/spec/formattingweekly0.5https://bcgov.github.io/nr-pies/docs/spec/primitive_typesweekly0.5https://bcgov.github.io/nr-pies/docs/spec/resource/process_eventweekly0.5https://bcgov.github.io/nr-pies/weekly0.5 \ No newline at end of file